diff --git a/.gitmodules b/.gitmodules index f4ea3197..6d8b4f7f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,9 +10,12 @@ [submodule "opensbi"] path = opensbi url = https://github.com/riscv/opensbi -[submodule "linux"] - path = linux - url = git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git [submodule "mprv/micropython"] path = mprv/micropython url = https://github.com/micropython/micropython +[submodule "riscv32_beluga"] + path = riscv32_beluga + url = https://github.com/michg/riscv32_beluga.git +[submodule "linux"] + path = linux + url = git@github.com:PiMaker/linux-rvc.git diff --git a/buildroot-2021.05/.gitlab-ci.yml b/buildroot-2021.05/.gitlab-ci.yml deleted file mode 100644 index e85ac320..00000000 --- a/buildroot-2021.05/.gitlab-ci.yml +++ /dev/null @@ -1,23 +0,0 @@ -# Configuration for Gitlab-CI. -# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines - -image: buildroot/base:20200814.2228 - -stages: - - generate-gitlab-ci - - build - -generate-gitlab-ci-yml: - stage: generate-gitlab-ci - script: ./support/scripts/generate-gitlab-ci-yml support/misc/gitlab-ci.yml.in > generated-gitlab-ci.yml - artifacts: - paths: - - generated-gitlab-ci.yml - -buildroot-pipeline: - stage: build - trigger: - include: - - artifact: generated-gitlab-ci.yml - job: generate-gitlab-ci-yml - strategy: depend diff --git a/buildroot-2021.05/CHANGES b/buildroot-2021.05/CHANGES deleted file mode 100644 index c7ae5fbf..00000000 --- a/buildroot-2021.05/CHANGES +++ /dev/null @@ -1,10693 +0,0 @@ -2021.05, released June 6th, 2021 - - Various fixes. - - Disable PIC/PIE support for Nios2 because of glibc issues - - Defconfigs: Minnowboard max: Fix X11 and mesa3d configuration - - Updated/fixed packages: apache, beaglev-ddrinit, - beaglev-secondboot, capnproto, dc3dd, directfb, efibootmgr, - ffmpeg, gptfdisk, go, gupnp, hostapd, iftop, - intel-mediadriver, libcamera, libcutl, libesmtp, libkcapi, - libraw, lttng-tools, lvm2, mimic, mono-gtksharp3, mpv, - netperf, odb, qt5base, uclibc, uftrace, unscd, vlc, - xdriver_xf86-video-fbturbo - - New packages: python3-cffi, python3-cryptography, python3-pip, - python3-pycparser, python3-six - -2021.05-rc3, released May 31th, 2021 - - Fixes all over the tree. - - meson: Explicitly disable PIE support (b_pie) as it is handled - by the toolchain wrapper. - - Updated/fixed packages: boost, dhcp, expat, gdb, hwloc, imagemagick, - libcurl, libopenh264, llvm, lz4, mpv, nginx, paho-mqtt-c, pifmrds, - pipewire, python-bluezero, python-pillow, qemu, strace, uhd, vlc, - webkitgtk - - Issues resolved (http://bugs.uclibc.org): - - #13821: Wrong url for libnfsidmap package - -2021.05-rc2, released May 22th, 2021 - - Fixes all over the tree. - - support/scripts/gen-missing-cpe: A script to query the list of - CPE IDs for the packages enabled in the current configuration and: - - - for CPE IDs that do not have any matching entry in the CPE - database, it emits a warning - - - for CPE IDs that do have a matching entry, but not with the same - version, it generates a snippet of XML that can be used to propose - an updated version to NIST. - - CPE meta data has been added for a large number of packages - - Updated/fixed packages: assimp, binutils, bitcoin, bullet, - cutelyst, dhcp, dmalloc, docker-engine, ebtables, - environment-setup, flatcc, gcc, gd, gerbera, hostapd, - imx-gpu-viv, intel-microcode, jquery-validation, libdrm, - libgeos, libraw, libtirpc, libxml2, libxslt, live555, lmbench, - localedef, lvm2, mender, mender-grubenv, modem-manager, mutt, - opensbi, openssh, opentyrian, pipewire, postgis, postgresql, - prosody, python-bluezero, python-falcon, redis, rocksdb, - rt-tests, runc, vlc, waylandpp, webkitgtk, wireshark, - wpa_supplicant, wpewebkit, xlib_libX11, xterm - - New packages: jh71xx-tools - - Issues resolved (http://bugs.uclibc.org): - - #13781: isc dhcp-server package don't create file /usr/bin/dhcpd - #13801: toolchainfile.cmake CMAKE_BUILD_TYPE - #13806: Building host-localedef fails on fedora 34/gcc 11 - -2021.05-rc1, released May 12th, 2021 - - Fixes all over the tree and new features. - - FORTIFY_SOURCE, PIC/PIE, RELRO and SSP security hardening - options are now enabled by default. - - Dependencies: Explicitly detect and bail out if PATH contains - spaces or tabs. A number of packages fail to build in such - setups, so explicitly inform about this. - - Infrastructure: Expose CONFIG_DIR to post-build/post-image - scripts, so they can call the Buildroot Makefile in the - correct directory for both in-tree / out-of-tree builds. - - CMake infrastructure: Use CMAKE_EXE_LINKER_FLAGS rather than - CMAKE_CXX_FLAGS to link with libatomic to fix an compatibility - issue with poppler. Bump minimal host cmake version to 3.16 - (from 3.15) to fix a compatibility issue with domoticz. - - Meson: Use correct C++ host compiler (rather than C compiler) - - utils/scanpypi: Explicitly use python3 for compatibility with - packages using python3 syntax in setup.py - - support/download: Fix tarball generation (from git/svn repos) - including symlinks pointing to ./. Fix svn download - for <1.9 clients or repos using CVS-style keywords. - - support/scripts/cve.py: Use the (significantly) faster yajl2 - ijson backend for older (< 2.5) ijson versions rather than the - slow python default, speeding up pkg-stats by ~2x. - - Toolchain: Add logic to work around binutils bug 21464 - (affecting OpenRISC), bug 27597 (affecting Nios II) and drop - the now longer applicable bug 19615 / 20006 handling. - - Python{,3}: Fix byte compiling python files with short (single - character before .py) file names. - - CPE meta data has been added for a large number of packages - - New defconfigs: Acme Systems Acqua A5 (256/512MB), Beagleboard - BeagleV, Boundary devices Nitrogen8M Plus SOM, NXP i.MX 8M - Plus EVK, QEMU PPC e500mc - - New packages: beaglev-ddrinit, beaglev-secondboot, janet, - kodi-inputstream-ffmpegdirect, kodi-vfs-libarchive, - kodi-visualisation-matrix, libxcrypt, libqrtr-glib, log4qt, - mawk, perl-parse-yapp, postgis, protozero, python-flask-wtf, - python-iwlib, python-semantic-version, python-setuptools-rust, - python-toml, riscv64-elf-toolchain, siproxyd, uftrace, zfs - - Removed packages: iostat, kodi-platform, - kodi-screensaver-crystalmorph, monkey - - Issues resolved (http://bugs.uclibc.org): - - #13271: systemd-resolved: /etc/resolv.conf link broken on per-pa.. - #13516: utils/scanpypi: Failure when parsing diffoscope - #13551: 2021.02.rc2: Unicode not work on qt 5.15.2 - #13576: Issues compiling buildroot for 5x86 - #13601: Gen image :Iappropriate ioctl error - #13616: tar file from git repository generation issue - #13631: Commit 54d3d94b6e breaks packages with git download method - #13641: glibc on raspberrypi - #13646: Gen image version 14 error : no sub -section title/.. - #13651: pkg-golang cannot build when main.go is in the root - #13661: host-python2 build fails on aarch64 - #13671: openSSH server closes connection before authentication.. - #13721: c-stack.c:55:26: error: missing binary operator before .. - #13731: Readline Patch is missing Author Information - #13741: genext2fs does not allow to set perms of root node - #13751: libopenssl (static): huge drop in performance in newer .. - #13771: package htop has undeclared dependency on host python - -2021.02.2, released May 12th, 2021 - - Important / security related fixes. - - Toolchain: Add logic to mark toolchains affected by binutils - bug 27597 (Nios II). - - support/scripts/cve.py: Use the (significantly) faster yajl2 - ijson backend for older (< 2.5) ijson versions rather than the - slow python default, speeding up pkg-stats by ~2x. - - CMake infrastructure: Use CMAKE_EXE_LINKER_FLAGS rather than - CMAKE_CXX_FLAGS to link with libatomic to fix an compatibility - issue with poppler. - - Infrastructure: Expose CONFIG_DIR to post-build/post-image - scripts, so they can call the Buildroot Makefile in the - correct directory for both in-tree / out-of-tree builds. - - Updated/fixed packages: at91bootstrap, avahi, bash, bind, - bridge-utils, boost, cegui, cifs-utils, clamav, cmake, - coremark-pro, coreutils, cryptsetup, dmalloc, dnsmasq, - docker-cli, docker-engine, domoticz, efl, exim, ffmpeg, flex, - gcc, genext2fs, go, gst1-interpipe, haproxy, hostapd, - i2c-tools, imx-vpu, kexec, kf5-kcoreaddons, kismet, libcamera, - libcurl, libdrm, libfreefare, libfuse3, libgeos, libgpiod, - libnpupnp, libopenssl, libp11, librsync, libtomcrypt, libupnp, - localedef, lvm2, lxc, m4, makedevs, mender, mesa3d, - mesa3d-headers, mkpasswd, mkpimage, modem-manager, monkey, - mpd, ncurses, nettle, network-manager, nginx, numactl, - openjdk, openjdk-bin, openldap, openvpn, php, pipewire, - python-aioconsole, python-asgiref, python-botocore, - python-django, python-dnspython, python-flup, python-httplib2, - python-markdown2, python-mbrstrdecoder, python3, quickjs, - readline, rsyslog, ruby, rust, samba4, sconeserver, snort, - sox, systemd, tar, timescaledb, tio, tor, usb_modeswitch, - wpa_supplicant, xdriver_xf86-video-ati, xen, xlib_libXaw, - xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #13271: systemd-resolved: /etc/resolv.conf link broken on per-pa.. - #13551: 2021.02.rc2: Unicode not work on qt 5.15.2 - #13651: pkg-golang cannot build when main.go is in the root - #13661: host-python2 build fails on aarch64 - #13721: c-stack.c:55:26: error: missing binary operator before .. - #13731: Readline Patch is missing Author Information - #13741: genext2fs does not allow to set perms of root node - #13751: libopenssl (static): huge drop in performance in newer .. - #13771: package htop has undeclared dependency on host python - -2021.02.1, released April 7, 2021 - - Important / security related fixes. - - Dependencies: Explicitly detect and bail out if PATH contains - spaces or tabs. A number of packages fail to build in such - setups, so explicitly inform about this. - - utils/scanpypi: Explicitly use python3 for compatibility with - packages using python3 syntax in setup.py - - support/download: Fix tarball generation (from git/svn repos) - including symlinks pointing to ./. Fix svn download - for <1.9 clients or repos using CVS-style keywords. - - Meson: Use correct C++ host compiler (rather than C compiler) - - Toolchain: Add logic to work around binutils bug 21464, - affecting OpenRISC, and drop the now longer applicable bug - 19615 / 20006 handling. - - Python{,3}: Fix byte compiling python files with short (single - character before .py) file names. - - CPE meta data has been added for a large number of packages - - Defconfigs: Correct Beaglebone QT file system overlay - - Updated/fixed packages: alsa-utils, at91bootstrap3, - batman-adv, binutils, botan, bridge-utils, busybox, - ca-certificates, cog, coreutils, diffutils, dmidecode, - docker-cli, docker-containerd, docker-engine, efivar, - fetchmail, frr, genimage, git, gnutls, go, grub2, gst-omx, - gst1-devtools, gst1-libav, gst1-plugins-bad, - gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, - gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, - gstreamer1-editing-services, haproxy, haserl, hwloc, - irqbalance, jasper, kexec, kexec-lite, kismet, kodi, libcurl, - libfreeglut, libgcrypt, libgeos, libglib2, libopenssl, libqmi, - libressl, libupnp, libvips, libvpx, libwebsockets, linux, - lldpd, logrotate, lttng-libust, lttng-tools, mariadb, mbedtls, - mcelog, mender, micropython, mongoose, mosquitto, mpd, - netsnmp, nodejs, openmpi, openssh, openvpn, opkg-utils, - optee-client, optee-test, perl, php, proftpd, protobuf, - python-django, python-jinja2, python-lxml, python-paramiko, - python-py, python-pygments, python-rpi-ws281x, python-urllib3, - python3, qt5webkit, qwt, rpm, samba4, sconeserver, sdl2, shim, - sqlcipher, squid, sysklogd, syslinux, sysvinit, tor, - transmission, tzdata, uboot, uclibc, upx, webkitgtk, - wireshark, wpebackend-fdo, wpewebkit, xen, zstd - - New packages: perl-parse-yapp - - Issues resolved (http://bugs.uclibc.org): - - #13516: utils/scanpypi: Failure when parsing diffoscope - #13576: Issues compiling buildroot for 5x86 - #13601: Gen image :Iappropriate ioctl error - #13616: tar file from git repository generation issue - #13641: glibc on raspberrypi - #13646: Gen image version 14 error : no sub -section title/.. - #13671: openSSH server closes connection before authentication.. - -2021.02, released March 6th, 2021 - - Various fixes. - - Toolchain: Correct Bootlin xtensa-lx60 dependencies - - Updated/fixed packages: asterisk, belle-sip, bustle, dhcpcd, - dovecot, dovecot-pigeonhole, gnuchess, gnuradio, - gst1-plugins-bad, haproxy, jasper, kismet, libebml, - libeXosip2, libgeos, libhtp, libjpeg, libopenssl, libshout, - libstrophe, mosquitto, openblas, openssh, perl, privoxy, - prosody, python-pyyaml, python3-pyyaml, quagga, redis, - rust-bin, sox, suricata, tpm2-pkcs11, uclibc-ng-test, ushare, - util-linux, wolfssl, wpa_supplicant - - Issues resolved (http://bugs.uclibc.org): - - #13501: 2021.02.rc2: Unicode not work on qt 5.15.2 - #13581: jpegsrc.v9d.tar.gz has changed hash - -2021.02-rc3, released February 27th, 2021 - - Fixes all over the tree. - - utils/scanpypi: Explicitly use python3 to ensure compatiblity - with packages having python3-only code in setup.py - - support/download: Ensure sub-second timestamp precision is - dropped when creating a tarball from a (subversion) repo, as - that is not representable in the PAX tar format - - Updated/fixed packages: babeltrace2, bind, botan, brltty, - cegui, elfutils, fakeroot, imagemagick, intel-mediasdk, - irqbalance, libglib2, libselinux, libusb, libuwsc, nodejs, - open62541, openldap, ply, python-aiohttp, python-django, - python3, qemu, readline, rust, screen, taglib, unbound, xterm - - Issues resolved (http://bugs.uclibc.org): - - #13516: utils/scanpypi: Failure when parsing diffoscope - #13541: 2021.02.rc2: irqbalance: Daemon couldn't be bound to... - #13561: Create a new user defining users-table.txt not working.. - -2021.02-rc2, released February 16th, 2021 - - Fixes all over the tree. - - Vulnerability scanning: cpedb.py: Drop CPE XML database - caching, as it did not speed up processing much and uses a lot - of additional memory. - pkg-stats: include information about ignored CVEs in JSON - output - - Fakeroot: Fix compatibility issue with glibc 2.33 - - Updated/fixed packages: can-utils, collectd, dnsmaqs, - docker-cli, docker-engine, ebtables, fakeroot, flashrom, - gdk-pixbuf, go, gst1-python, jasper, kodi, - kodi-inputstream-adaptive, lcms2, libgeos, libgpg-error, - libopenssl, mongoose, mpd, ne10, netopeer2, openblas, orc, - perl-gd, ply, postgresql, protobuf, subversion, tcpdump, - tzdate, uboot-tools, wireshark, webkitgtk, wpewebkit, xterm - - New packages: perl-extutils-pkgconfig - - Issues resolved (http://bugs.uclibc.org): - - #11706: binman (U-boot tool) cannot find libfdt "binman: No mod.. - -2021.02-rc1, released February 9th, 2021 - - Fixes all over the tree and new features. - - Toolchain: Default to binutils 2.35.2, add 2.36.1, drop - 2.33.x. Fix GCC 10.x ARC adc/sbc pattern handling, Update ARM - toolchains to 10.2-2020.11 release. - - Architectures: ARC: add support for generic HS48 processor, - PPC: drop PPC601 support, which was removed from Linux 5.10. - - Vulnerability scanning: The CVE checking logic has been - extended to match packages based on CPE (Common Platform - Enumeration) IDs for more accurate matching, and CPE - identifiers have been added for a large amount of packages. - - Download: Rework the tarball creation logic (E.G. when a - package is fetched from a git/svn repo) to no longer require a - host-tar <= 1.29. To differ between the old and the new - format, the new tarballs have gained a -br1 suffix - (--br1.tar.gz). - - SELinux support: A significant number of packages now pull in - the relevant refpolicy modules when enabled. - - New defconfigs: arrow avenger96, bananapi M1+, microchip - sam9x60ek, pine64 rock64 - - Removed defconfigs: QEMU ppc virtex-ml507 - - New packages: balena-engine, casync, coremark, coremark-pro, - datatables, datatables-buttons, datatables-fixedcolumns, - datatables-responsive, delve, frotz, gkrellm, inih, jszip, - libgeos, libiec61850, libmdbx, lualdap, neofetch, - nvidia-modprobe, open62541, perl-devel-cycle, perl-devel-size, - perl-math-int64, ply, popperjs, python-bleak, - python-defusedxml, python-pycups, python-pytest-asyncio, - python-typing-extensions, qcom-db410c-firmware, qt5coap, - qt5knx, qt5mqtt, quickjs, rcw-smarc-sal28, screenfetch, - ssdp-responder, tpm2-pkcs11, wqy-zenhei, xorcurses - - Removed packages: audiofile, boa, ipsec-tools, libupnp18, - ti-sgx-libgdbm - - Renamed rcw package to qoriq-rcw - - Issues resolved (http://bugs.uclibc.org): - - #13316: beaglebone_qt5_defconfig: PowerVR fails to start - #13416: dhcpcd start warning message: no such user dhcpcd - #13456: ccache prevents build - #13471: package/mpd/mpd.conf make use of path not created - #13506: BR2_PACKAGE_DHCPCD missing directory creation - -2020.11.4, released April 5th, 2021 - - Important / security related fixes. - - Dependencies: Explicitly detect and bail out if PATH contains - spaces or tabs. A number of packages fail to build in such - setups, so explicitly inform about this. - - utils/scanpypi: Explicitly use python3 for compatibility with - packages using python3 syntax in setup.py - - support/download: Fix tarball generation (from git/svn repos) - including symlinks pointing to ./ - - Meson: Use correct C++ host compiler (rather than C compiler) - - Updated/fixed packages: asterisk, at91bootstrap3, babeltrace2, - batman-adv, bind, ca-certificates, cegui, cog, diffutils, - docker-containerd, dovecot, dovecot-pigeonhole, efivar, - elfutils, fakeroot, git, gnuchess, gnuradio, gnutls, go, - grub2, haserl, i7z, imagemagick, intel-mediasdk, irqbalance, - jasper, kodi, libcurl, libebml, libeXosip2, libglib2, libhtp, - libjpeg, libopenssl, libqmi, libressl, libupnp, libuwsc, - libvips, lldpd, mariadb, mbedtls, mender, micropython, - mosquitto, netsnmp, nodejs, openblas, openldap, openmpi, - openssh, opkg-utils, optee-client, optee-test, perl, php, - privoxy, proftpd, prosody, protobuf, python-aiohttp, - python-django, python-lxml, python-pyyaml, python-rpi-ws281x, - python-typing-extensions, python3, quagga, qwt, redis, rpm, - sconeserver, screen, sox, sqlcipher, squid, suricata, - syslinux, sysvinit, tor, transmission, tzdata, uboot, unbound, - upx, util-linux, webkitgtk, wireshark, wolfssl, - wpebackend-fdo, wpewebkit, wpa_supplicant, zstd - - Issues resolved (http://bugs.uclibc.org): - - #13516: utils/scanpypi: Failure when parsing diffoscope - #13541: 2021.02.rc2: irqbalance: Daemon couldn't be bound to.. - #13576: Issues compiling buildroot for 5x86 - #13581: jpegsrc.v9d.tar.gz has changed hash - #13616: tar file from git repository generation issue - -2020.11.3, released February 17th, 2021 - - meson: Fix ccache detection handling when per-package builds - are used. - - Fakeroot: Fix compatibility issue with glibc 2.33 - - Updated/fixed packages: atftp, binutils, busybox, cereal, - chartjs, connman, dhcpcd, dnsmasq, docker-cli, docker-engine, - ebtables, fakeroot, flashrom, go, gst1-python, guile, - intel-mediadriver, intel-microcode, jasper, - kodi-inputstream-adaptive, lcms2, libbsd, libopenssl, - makedumpfile, memtester, mosquitto, ne10, openblas, orc, php, - postgresql, privoxy, pugixml, python-bottle, python-django, - python3, rauc, sox, stress-ng, subversion, tzdata, - uboot-tools, uclibc, webkitgtk, wireguard-linux-compat, - wireshark, wpa_supplicant, wpewebkit, xenomai, - xserver_xorg-server, xterm - - Issues resolved (http://bugs.uclibc.org): - - #11706: binman (U-boot tool) cannot find libfdt "binman: No mod.. - #13506: BR2_PACKAGE_DHCPCD missing directory creation - -2020.11.2, released January 31st, 2021 - - Important / security related fixes. - - Download: Ensure git submodules are correctly fetched if - enabled for a package with _GIT_SUBMODULES = YES and the - host variant is downloaded first. - - Toolchain: Mark CodeSourcery Aarch64 2014.11 toolchain as not - having libatomic. Bootlin PowerPC-440 FP toolchain updated for - SecurePLT fix. - - pkg-stats: Fix python 3.8+ deprecation warning. - - meson: Ensure ccache is not detected and used, as it may - conflict with the ccache handling in Buildroot. - - Updated/fixed packages: barebox, boost, brltty, dbus, - docker-containerd, dovecot, dovecot-pigeonhole, - environment-setup, firmware-imx, gcc, gerbera, glibc, - gmrender-resurrect, igd2-for-linux, kodi-pvr-zattoo, libclc, - libfuse3, libllcp, libodb-mysql, libtorrent-rasterbar, - libupnp, lpc32xxcdl, luarocks, mpd, multipath-tools, mutt, - nfs-utils, nodejs, openjpeg, openldap, opentracing-cpp, - openvpn, p11-kit, paho-mqtt-c, php, poppler, postgresql, - python3, redis, resiprocate, rpm, runc, socat, sslh, sudo, - sunxi-mali-mainline-driver, syslog-ng, systemd, tini, - tpm2-tss, trace-cmd, tzdata, uboot-tools, uhd, ushare, - util-linux, vlc, wavpack, wireguard-linux-compat, wolfssl, - xapp_xload, xorriso, zic - - Removed packages: libupnp18 - - Issues resolved (http://bugs.uclibc.org): - - #13471: package/mpd/mpd.conf make use of path not created - -2020.11.1, released December 27th, 2020 - - Important / security related fixes. - - Infrastructure: - - cmake: fix host ccache handling for CMake 3.19 - - meson: Forcibly disable binary stripping for - target builds, enable for host builds - - golang: Fix HOST / TARGET directories for per-package builds - - Defconfigs: Beaglebone Qt5: Fix ti-sgx related issues - - Updated/fixed packages: apitrace, arm-trusted-firmware, - ca-certificates, cryptopp, dhcpcd, dtv-scan-tables, - flare-engine, ghostscript, go, haproxy, imagemagick, - imx-gpu-viv, jasper, kismet, libcurl, libglib2, libhtp, - libopenssl, libressl, libuv, libuvw, lua, mbedtls, mongodb, - mutt, ncurses, netsnmp, nodejs, opencv3, openldap, opkg-utils, - paho-mqtt-c, python-crc16, python-lxml, python-pyparsing, - python-pyqt5, qt5base, rauc, shadowsocks-libev, sqlcipher, - suricata, ti-sgx-demos, tinycbor, uclibc-ng-test, unbound, - webkitgtk, wpewebkit, wireshark, x11vnc, xen, - xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #13316: beaglebone_qt5_defconfig: PowerVR fails to start - #13416: dhcpcd start warning message: no such user dhcpcd - -2020.11, released December 2nd, 2020 - - Various fixes. - - Updated/fixed packages: bustle, docker-containerd, gnuplot, - gst1-plugins-good, jemalloc, kmsxx, libcap, libplist, - libuhttpd, libxkbcommon, lynx, mariadb, netsurf, privoxy, - s390-tools, setserial, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #13276: libcap builds libcap.pc incorrectly - -2020.11-rc3, released November 28th, 2020 - - Fixes all over the tree. - - Updated/fixed packages: c-ares, cage, cdrkit, - dovecot-pigeonhole, efl, gvfs, harfbuzz, jpeg-turbo, - libcamera, libkrb5, libpam-tacplus, libxkbcommon, minidlna, - modem-manager, monkey, musl, ncurses, numactl, openntpd, - openrc, postgresql, proftpd, python-flask-cors, python-pip, - qemu, raptor, redis, slirp, spandsp, thermald, uhd, vsftpd, - webkitgtk, wireless-regdb, wlroots, wpewebkit, xen, xinetd, - xorriso - - Issues resolved (http://bugs.uclibc.org): - - #13296: host-libcap failed to build - #13331: openrc-0.42.1 compilation failure on gcc-10 - #13336: thermald-1.9.1 compilation failure with musl 1.2.1 - #13341: Mistake in /etc/init.d/S70vsftpd - -2020.11-rc2, released November 14th, 2020 - - Fixes all over the tree. - - cve-checker script dropped. Instead the pkg-stats logic has - been extended to be able to only generate stats for the - configured packages using 'make pkg-stats' - - Removed defconfigs: rock64 - - Updated/fixed packages: apparmor, asterisk, bitcoin, busybox, - cups-filters, cryptsetup, davfs2, domoticz, elf2flt, freetype, - ghostscript, glmark2, go, gst1-plugins-bad, guile, jsoncpp, - libcap, libexif, libnetfilter_conntrack, libpam-tacplus, - libsigrokdecode, linux-backports, linux-firmware, mesa3d, - modem-manager, mp4v2, oniguruma, openntpd, python3, - python-lmdb, python-m2crypto, rauc, s390-tools, slirp, - stress-ng, suricata, systemd, tcpdump, tmux, tor, webkitgtk, - wireguard-linux-compat, wpewebkit, xen - - Issues resolved (http://bugs.uclibc.org): - - #13281: Raspberry Pi 2: overlays folder missing in genimage-ra.. - #13291: BR2_DL_DIR is ignored when creating defconfig - #13306: wpewebkit build problem in 2020-11-rc1 - -2020.11-rc1, released November 4th, 2020 - - Fixes all over the tree and new features. - - Architectures: Support for IBM s390x - - Toolchain: use Secure-PLT rather than BSS-PLT for PowerPC - 32. Binutils 2.35.1 added, now defaulting to 2.34. ARC - 2020.09-release toolchain. GCC 7.x dropped. RISC-V support for - uclibc-ng. Support for Bootlin external toolchains. - - SELinux support improvements: File security contexts are now - set when the file systems are created, so there is no need to - run restorecon on first boot / read only rootfs is supported. - An optimized / stripped refpolicy SELinux policy is now - used. Packages can enable additional refpolicy modules using - _SELINUX_MODULES. - - support/scripts/cve-checker: Utility script to check for known - CVEs in just the packages enabled in a Buildroot configuration - rather than all packages, by passing the output of 'make - show-info' to it. - - Go: Modules handling. The module name must be specified using - _GOMOD. - - BR2_EXTERNAL: Support for defining skeleton and init system - packages in external trees. - - meson: Correct SDK cross-compilation.conf file when - per-package builds were used to build SDK. - - systemd: Use /run rather than /var/run for PID files in units. - - Fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) are now run - after all finalization hooks (including pre-rootfs) to ensure - they can override any late configuration done by packages. - - support/script/pycompile: Rework logic to ensure .pyc files - contain absolute target paths, fixing code inspection at - runtime when executed with cwd != '/'. - - support/scripts/setlocalversion: Correct Mercurial output to - match behaviour with Git. - - support/scripts/apply-patches.sh: Use patch - --no-backup-if-mismatch, so we no longer blindly have to - remove *.orig files after patching, fixing issues with - packages containing such files. - - New defconfigs: Acer chromebook elm, Friendlyarm nanopc-t4 and - nanopi-m4, Hardkernel odroid-c2, Kontron SMARC-sAL28, NXP - imx8mqevk, Orangepi RK3399 and zero+, PCengines APU2, Pine64 - rockpro64, QEMU s390x, Raxda rockpi-n8, - - New packages: altera-stapl, asn1c, babeltrace2, cukinia, - easyframes, environment-setup, frr, graphicsmagick, htpdate, - ipcalc, libbacktrace, libblockdev, libbytesize, librelp, - libuev, makedumpfile, meson-tools, mg, mrp, multipath-tools, - netcalc, odroidc2-firmware, php-xdebug, python-aiofiles, - python-ansicolors, python-boto3, python-botocore, - python-bsdiff4, python-crayons, python-iniconfig, - python-intelhex, python-ipdb, python-jmespath, - python-m2crypto, python-opcua-asyncio, python-packaging, - python-piexif, python-pluggy, python-pytest, - python-s3transfer, python-xmodem, qprint, qt5lottie, - qt5remoteobjects, re2, redir, s390-tools, sentry-cli, - sentry-native, timescaledb, tinyhttpd, uhd, uredir, watchdog, - wayland-utils, weston-imx - - Removed packages: amd-catalyst, bellagio, gqview, libcroco, - nvidia-tegra23, opencv - - Issues resolved (http://bugs.uclibc.org): - - #11811: lsblk (util-linux) should depend on libudev if available - #11931: Bugs in support/scripts/apply-patches.sh - #12301: systemd-journal-gatewayd: config options broken - #12911: usb_modeswitch installation race condition - #13236: Can't compile linux 5.4.8 (with gcc 10 on host) - #13286: The system hangs in vmware workstation on the line.. - -2020.08.3, released December 27th, 2020 - - Important / security related fixes. - - Infrastructure: - - cmake: fix host ccache handling for CMake 3.19 - - meson: Forcibly disable binary stripping for - target builds, enable for host builds - - golang: Fix HOST / TARGET directories for per-package builds - - Defconfigs: Beaglebone Qt5: Fix ti-sgx related issues - - Updated/fixed packages: apitrace, arm-trusted-firmware, - bustle, c-ares, ca-certificates, cage, cdrkit, cryptopp, - dhcpcd, docker-containerd, dtv-scan-tables, flare-engine, - ghostscript, gvfs, haproxy, imagemagick, imx-gpu-viv, jasper, - jemalloc, jpeg-turbo, libcamera, libcap, libcurl, libglib2, - libgpiod, libkrb5, libopenssl, libplist, libressl, libuv, - libuvw, lynx, mariadb, mbedtls, minidlna, mongodb, monkey, - musl, mutt, ncurses, netsnmp, netsurf, nodejs, opencv3, - openldap, openrc, opkg-utils, paho-mqtt-c, php, privoxy, - proftpd, python-crc16, python-flask-cors, python-lxml, - python-pip, python-pyparsing, python-pyqt5, qemu, qt5base, - raptor, rauc, ruby, setserial, shadowsocks-libev, slirp, - sqlcipher, thermald, ti-sgx-demos, tinycbor, unbound, vsftpd, - wireless-regdb, wireshark, wlroots, x11vnc, xen, xinetd, - xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #13276: libcap builds libcap.pc incorrectly - #13316: beaglebone_qt5_defconfig: PowerVR fails to start - #13336: thermald-1.9.1 compilation failure with musl 1.2.1 - #13341: Mistake in /etc/init.d/S70vsftpd - #13416: dhcpcd start warning message: no such user dhcpcd - -2020.08.2, released November 16th, 2020 - - Important / security related fixes. - - Toolchain-wrapper: Pass -fno-tree-loop-distribute-patterns to - fix kernel build on microblaze with gcc 10.x when - optimizations are enabled. - - Updated/fixed packages: apparmor, argp-standalone, asterisk, - bandwidthd, binutils, bitcoin, busybox, collectd, cryptsetup, - cups-filters, darkhttpd, davfs2, docker-cli, - docker-containerd, docker-engine, dovecot-pigeonhole, - dvb-apps, elf2flt, fastd, fbset, fbtft, freetype, gcc, - ghostscript, grpc, gst1-plugins-bad, jsoncpp, - kernel-module-imx-gpu-viv, keepalived, kmscube, libass, - libexif, libiqrf, libnetfilter_conntrack, libpam-tacplus, - libraw, linux-backports, linux-firmware, lzlib, mp4v2, - netsnmp, nginx, numactl, oniguruma, opencv3, openntpd, - patchelf, php, pistache, postgresql, python-pyqt5, qemu, - qt5base, rauc, redis, samba4, slirp, systemd, tcpdump, - tinyproxy, tmux, tor, waf, webkitgtk, wine, - wireguard-linux-compat, wireshark, wpewebkit, xen, xorriso, - xvisor, zeromq, zxing-cpp - - Issues resolved (http://bugs.uclibc.org): - - #11931: Bugs in support/scripts/apply-patches.sh - -2020.08.1, released October 12th, 2020 - - Important / security related fixes. - - Fixes for various compilation issues with GCC 10.x. - - meson: Correct SDK cross-compilation.conf file when - per-package builds were used to build SDK. - - systemd: Use /run rather than /var/run for PID files in units. - - Toolchain: use Secure-PLT rather than BSS-PLT for PowerPC 32. - - Fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) are now run - after all finalization hooks (including pre-rootfs) to ensure - they can override any late configuration done by packages. - - support/script/pycompile: Rework logic to ensure .pyc files - contain absolute target paths, fixing code inspection at - runtime when executed with cwd != '/'. - - support/scripts/setlocalversion: Correct Mercurial output to - match behaviour with Git. - - support/scripts/apply-patches.sh: Use patch - --no-backup-if-mismatch, so we no longer blindly have to - remove *.orig files after patching, fixing issues with - packages containing such files. - - fs/jffs2: Now correctly handles xattrs - - Updated/fixed packages: acpica, afboot-stm32, alsa-utils, - apparmor, bandwidthd, barebox, bash, bison, brotli, - cifs-utils, cups, dhcpcd, dhcpdump, docker-cli, docker-engine, - ecryptfs-utils, efl, fail2ban, fbterm, ffmpeg, fontconfig, - freetype, gcc, gdb, ghostscript, gnupg2, gnutls, go, gqview, - gst1-plugins-base, gst1-plugins-ugly, ipmitool, jbig2dec, - kexec, lcdproc, libcamera, libhtp, libnetconf2, libraw, - libssh, libxml2, libxml-parser-perl, libzip, linux-headers, - live555, localedef, ltp-testsuite, lua, matchbox, memcached, - memtester, mesa3d, meson, minidlna, mongodb, mongrel2, motion, - mraa, mtd, musepack, neardal, netatalk, netperf, netsniff-ng, - nginx, nodejs, nss-pam-ldapd, open-plc-utils, openswan, - opentyrian, openvmtools, php, postgresql, python, - python-aenum, python-cycler, python-engineio, python-fire, - python-pymodbus, python-scapy, python-semver, - python-sentry-sdk, python-socketio, python-texttable, - python-tinyrpc, python-txtorcon, python3, qt5base, quagga, - read-edid, redis, rsh-redone, runc, samba4, socketcand, - strace, supertux, suricata, systemd, ti-utils, trinity, - uclibc, usb_modeswitch, vlc, vsftpd, wampcc, - wayland-protocols, wireguard-linux-compat, wireshark, wlroots, - wolfssl, w_scan, xerces, xfsprogs, xdriver-xf86-video-ati, - xserver_xorg-server, ympd, zeromq, zlib-ng, zstd - - Issues resolved (http://bugs.uclibc.org): - - #12911: usb_modeswitch installation race condition - #13236: Can't compile linux 5.4.8 (with gcc 10 on host) - -2020.08, released September 1st, 2020 - - Various fixes. - - Updated/fixed packages: am33x-cm3, avahi, bluez-tools, - busybox, chocolate-doom, collectd, dhcp, docker-cli, domoticz, - gobject-introspection, graphite2, haproxy, ibm-sw-tpm2, - imagemagick, libeXosip2, libressl, lxc, mbedtls, menu-cache, - mongodb, mosquitto, nvidia-driver, paho-mqtt-c, pixz, - postgresql, python-django, rtty, squid, stress-ng, systemd, - trousers, uclibc, wireshark, wolfssl, zbar - -2020.08-rc3, released August 28th, 2020 - - Fixes all over the tree. - - Infrastructure: Ensure RPATH entries that may be needed for - dlopen() are not dropped by patchelf. - - Toolchain: Drop old GCC 6 based external Sourcery AMD64 - toolchain. - - Updated/fixed packages: assimp, davfs2, dillo, glibc, - gnuradio, hostapd, ibm-sw-tpm2, ipmitool, json-c, libroxml, - linux, mender, netopeer2, openal, openjpeg, python-matplotlib, - ripgrep, shadowsocks-libev, trousers, xlib_libX11, - xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #13141: Target-finalize fail with "depmod: ERROR: Bad version passed" - -2020.08-rc2, released August 24th, 2020 - - Fixes all over the tree, including a number of fixes for - compilation with GCC-10. - - Toolchain: Disallow building uClibc-ng for RISC-V 64-bit, - because of issues with a missing __riscv_flush_icache() - implementation. - - Defconfigs: CI20: Use mainline Linux and U-boot. Update - Microchip sama5d27_wlsom1_ek_mmc_dev to use bluez5-utils - instead of (the removed) legacy bluez-utils - - Updated/fixed packages: 18xx-ti-utils, aircrack-ng, apache, - atest, bandwidthd, bellagio, bind, bird, bluez-alsa, boost, - c-periphery, capnproto, chrony, collectd, cpio, cvs, - dieharder, domoticz, dovecot, dovecot-pigeonhole, drbd-utils, - dump1090, efl, elixir, f2fs-tools, feh, fluidsynth, fping, - gdbm, gdk-pixbuf, ghostscript, gst1-plugins-bad, - gstreamer1-editing-services, htop, ibm-sw-tpm2, ifplugd, - iftop, igd2-for-linux, ima-evm-utils, iprutils, iputils, - keepalived, kmsxx, libabseil-cpp, libcamera, libcurl, - libfuse3, libnss, librtlsdr, libubox, libunwind, live555, - lttng-tools, luabitop, mender-artifact, minizip, - mjpg-streamer, mpd, mpv, mtd, ncftp, open-lldp, openal, - opencv, opencv3, openfpgaloader, optee-os, owfs, php, - pistache, prosody, pulseview, python-decorator, - python-gunicorn, python-rpi-gpio, python-spidev, - python3-decorator, python3-mako, python3-pyselftools, qt5, - qt5webengine, rauc, redis, ripgrep, rtl8188eu, rtl8821au, - setools, smstools3, supertux, tftpd, tpm2-abrmd, - wpa_supplicant, xen, xlib_libX11, xserver_xorg-server - - New packages: python3-cython, python3-pycryptodomex - - Issues resolved (http://bugs.uclibc.org): - - #12876: nodejs fails to build when host-icu has been built before - #13111: python-gunicorn: missing dependency on python-setuptools - #13121: wpa_supplicant fails to build without libopenssl enabled - #13146: raspberrypi3_defconfig: "Inappropriate ioctl for device".. - #13156: package live555 new license - #13166: python-rpi-gpio: does not work against aarch64, unint.. - -2020.08-rc1, released August 6th, 2020 - - Toolchain: - - - GCC 10.x added, GCC 9.x is the default - - binutils 2.34 added, binutils 2.33 is the default, binutils - 2.31 removed - - glibc updated to 2.31 - - ARC toolchain components updated to 2020.03-release. - - Enable uClibc-ng usage for RISC-V 64-bit - - Infrastructure: - - - qmake-package was fixed to be compatible with - BR2_PER_PACKAGE_DIRECTORIES - - complete rewrite of the Gitlab CI Yaml configuration file, - now generated directly by the Gitlab CI pipeline itselfs - - Misc: - - - cargo and cargo-bin packages removed, as cargo is now part - of Rust itself - - Filesystem: ubinize configuration files can now use - BINARIES_DIR to refer to the $(O)/images directory. - - New packages: bitwise, earlyoom, fuse-overlayfs, gloox, - kodi-pvr-octonet, kodi-pvr-zattoo, libabseil-cpp, libcutl, - libnids, libnpupnp, libodb, libodb-boost, libodb-mysql, - libodb-pgsql, mbpfan, netopeer2, odb, parprouted, - python-colorzero, python-gpiozero, python-pybind, python-yatl, - python3-decorator, qt5quicktimeline, resiprocate, ttyd, - unclutter-xfixes, urandom-scripts, - - New defconfigs: bananapi_m2_zero, freescale_imx8mnevk, - globalscale_espressobin, imx6ullevk, - microchip_sama5d27_wlsom1_ek, rock_pi_4, rock_pi_n10 - - Removed packages: cargo, cargo-bin, - kodi-peripheral-steamcontroller - - Issues resolved (http://bugs.uclibc.org): - - #12941: Python GObject fails to build when using BR2_PER_PACKAGE_DIRECTORIES - #12946: Grub: Decompressor is too big. - #12986: Mtools: Error converting to codepage 850 - #13001: openjdk-bin replaces libfreetype.so from host-freetype - #13011: Incorrect selection of gcc version - #13021: Minor code error when building granite-0.4.1 - #13026: rpi-firmware: must not rename start files - #13046: Optimize for fast -Ofast is not compliant - #13081: host-e2fsprogs attempts to create udev rules.d on build host if not exists - #13101: BR audit2allow support - -2020.05.3, released October 12th, 2020 - - Important / security related fixes. - - meson: Correct SDK cross-compilation.conf file when - per-package builds were used to build SDK. - - systemd: Use /run rather than /var/run for PID files in units. - - Toolchain: use Secure-PLT rather than BSS-PLT for PowerPC 32. - - Fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) are now run - after all finalization hooks (including pre-rootfs) to ensure - they can override any late configuration done by packages. - - support/script/pycompile: Rework logic to ensure .pyc files - contain absolute target paths, fixing code inspection at - runtime when executed with cwd != '/'. - - support/scripts/setlocalversion: Correct Mercurial output to - match behaviour with Git. - - support/scripts/apply-patches.sh: Use patch - --no-backup-if-mismatch, so we no longer blindly have to - remove *.orig files after patching, fixing issues with - packages containing such files. - - Updated/fixed packages: alsa-utils, apparmor, avahi, - bandwidthd, barebox, bash, bison, brotli, busybox, cifs-utils, - cryptsetup, cups, dhcpcd, dhcpdump, docker-cli, docker-engine, - ecryptfs-utils, efl, fail2ban, freetype, gcc, gdb, - ghostscript, gnutls, go, graphite2, gst1-plugins-base, - gst1-plugins-ugly, imagemagick, ipmitool, jbig2dec, libhtp, - libraw, libssh, libxml2, libxml-parser-perl, linux-headers, - localedef, lua, mbedtls, memcached, mesa3d, meson, minidlna, - mongodb, nginx, nodejs, nss-pam-ldapd, openvmtools, - paho-mqtt-c, php, postgresql, python, python-aenum, - python-django, python-engineio, python-fire, python-pymodbus, - python-scapy, python-semver, python-sentry-sdk, - python-socketio, python-texttable, python-tinyrpc, - python-txtorcon, python3, qt5base, rsh-redone, runc, samba4, - strace, supertux, suricata, systemd, uclibc, usb_modeswitch, - vlc, vsftpd, wayland-protocols, wireguard-linux-compat, - wireshark, wlroots, wolfssl, xserver_xorg-server, ympd, - zeromq, zstd - - Issues resolved (http://bugs.uclibc.org): - - #12911: usb_modeswitch installation race condition - #13251: cryptsetup does not work on branch 2020.02 following.. - -2020.05.2, released August 29th, 2020 - - Important / security related fixes. - - Infrastructure: Ensure RPATH entries that may be needed for - dlopen() are not dropped by patchelf. - - BR_VERSION_FULL/setlocalversion (used by make print-version - and /etc/os-release): Properly handle local git tags - - Updated/fixed packages: apache, assimp, at91bootstrap3, bind, - boost, busybox, capnproto, cegui, chrony, collectd, cpio, - cryptsetup, cups, cvs, dbus, docker-engine, domoticz, dovecot, - dovecot-pigeonhole, dropbear, efl, elixir, f2fs-tools, ffmpeg, - gd, gdk-pixbuf, ghostscript, glibc, gnuradio, grub2, - gst1-plugins-bad, gstreamer1-editing-services, hostapd, - ibm-sw-tpm2, iputils, jasper, json-c, libcurl, libressl, - libwebsockets, linux, live555, mesa3d, mongodb, mosquitto, - mpv, nodejs, opencv, opencv3, openfpgaloader, openjpeg, - patchelf, perl, php, postgresql, prosody, python-django, - python-gunicorn, python-matplotlib, ripgrep, rtl8188eu, - rtl8821au, ruby, shadowsocks-libev, squid, systemd, - tpm2-abrmd, tpm2-tools, trousers, uboot, webkitgtk, wireshark, - wolfssl, wpa_supplicant, wpewebkit, xen, xlib_libX11, - xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #12876: nodejs fails to build when host-icu has been built before - #13111: python-gunicorn: missing dependency on python-setuptools - #13121: wpa_supplicant fails to build without libopenssl enabled - #13141: Target-finalize fail with "depmod: ERROR: Bad version passed" - #13156: package live555 new license - -2020.05.1, released July 25th, 2020 - - Important / security related fixes. - - Toolchain: - - Make external toolchain version check also work for - toolchains configured with --with-gcc-major-version-only - - - Do not handle SOURCE_DATE_EPOCH in toolchain wrapper if the - compiler supports it, fixing an issue with precompiled - headers - - - Ensure debug libs from external toolchains are not installed - into target if debugging is disabled - - Download: - - Correct reproducibility issue in handling of git submodules - for older git versions. - - - Fix file locking over NFS - - fs: Ensure cpio archive element order is reproducible - - Br2-external: Fix error reporting for invalid br2-external trees - - Per-package: - - Fix an issue with python3 sysconfig data not getting - correctly expanded - - - Fix per-package building for packages using the qmake - infrastructure - - Updated/fixed packages: a10disp, asterisk, bind, brltty, - cdrkit, clamav, cryptodev-linux, dbus, docker-cli, - docker-engine, dvb-apps, e2fsprogs, exim, exiv2, freerdp, gdb, - gdk-pixbuf, gerbera, gnutls, go, granite, grub2, gssdp, - gst1-plugins-good, gst1-plugins-ugly, gupnp, intel-microcode, - iproute2, irrlicht, iwd, jq, kodi, libcamera, libcec, - libconfuse, libcurl, libevdev, libhttpserver, libmicrohttpd, - libnss, libressl, libvncserver, libxml2, libxmlrpc, lxc, - mbedtls, mediastreamer, mesa3d, meson, minizip, mongodb, - mtools, mutt, nano, network-manager, nghttp2, ngircd, nodejs, - ntp, open-plc-utils, open2300, openjdk-bin, openssh, - oracle-mysql, paho-mqtt-c, pango, php, poco, prosody, putty, - python-greenlet, python-urllib3, python-validators, python3, - readline, redis, rpi-firmware, rtl8821au, samba4, sdl2, - sqlite, squid, strace, sunxi-mali-mainline-driver, syslog-ng, - systemd, tcpreplay, tinydtls, upmpdcli, upx, vlc, webkitgtk, - wireguard-linux-compat, wireshark, wpebackend-fdo, wpewebkit, - x11vnc, znc, zstd - - Issues resolved (http://bugs.uclibc.org): - - #12941: Python GObject fails to build when using BR2_PER_PACKAGE_.. - #12946: Grub: Decompressor is too big. - #12986: Mtools: Error converting to codepage 850 - #13001: openjdk-bin replaces libfreetype.so from host-freetype - #13011: Incorrect selection of gcc version - #13021: Minor code error when building granite-0.4.1 - #13026: rpi-firmware: must not rename start files - #13031: nodejs: RangeError at new ArrayBuffer() - #13046: Optimize for fast -Ofast is not compliant - -2020.05, released June 1st, 2020 - - Various fixes. - - Updated/fixed packages: arm-trusted-firmware, gcc, mp4v2, fmc, - fmlib, glib-networking, libusb-compat, linux, qt5webengine, - sysrepo, wampcc, xen - -2020.05-rc3, released May 29th, 2020 - - Fixes all over the tree. - - Infrastructure: Support checking download hashes for packages - coming from Subversion. - - Defconfigs: Increase boot partition size to 64MB for Freescale - boards to allow space for bigger kernels. - - Updated/fixed packages: audit, bind, dovecot, efl, erlang, - ffmpeg, fio, gerbera, gnupg, leveldb, lrzip, ltrace, matio, - mesa3d, mp4v2, prosody, qemu, qt5declarative, speexdsp, - systemd, tremor, uboot-tools, unbound, wireshark - - Removed packages: wiringpi - - Issues resolved (http://bugs.uclibc.org): - - #12361: Init system (systemd) kills login on Raspberry Pi Zero - #12686: recipe for target 'install_dev' failed (libcrypto.so..) - -2020.05-rc2, released May 22nd 2020 - - Fixes all over the tree. - - U-Boot: Support building with Python 3.x instead of Python - 2.x. Since U-Boot 2020.01, various U-Boot build scripts use - Python 3.x instead of Python 2.x, so add an option to pull in - host-python3 rather than host-python. Also fix a number of - defconfigs to use this new option. - - Updated/fixed packages: apparmor, binutils, bison, brltty, - c-icap, cegui, checkpolicy, clamav, crda, cvs, docker-cli, - docker-engine, domoticz, elf2flt, exfatprogs, fakeroot, - ffmpeg, freerdp, gcc, glibc, gnuconfig, irrlicht, kmod, - libexif, libpam-tacplus, libssh2, libv4l, libvncserver, - localedef, lrzip, mariadb, matchbox, mbuffer, mesa3d, - mesa3d-headers, meson, netsniff-ng, openldap, openocd, - optee-os, p7zip, paho-mqtt-c, php, piglit, pigz, - python-argon2-cffi, python-attrs, python-future, - python-markdown, python-pycryptodomex, python-pyqt5, qt5base, - rpi-firmware, rustc, squashfs, squid, stella, suricata, - systemd, uacme, uclibc, util-linux, vboot-utils - - New packages: python3-pyelftools - - Removed packages: ezxml, mtdev2tuio, python-pycrypto - - Issues resolved (http://bugs.uclibc.org): - - #10551: PowerPC SPE and Musl - #12256: package tar is outdated (1.29 is 3 years old) - #12271: python-iptables runtime dependencies - #12321: host-generic-package: PKG_DL_OPTS not used for host package - #12391: CMake-based host package fails to include output/host/include - #12431: ethernet no detected on nanopi neo 2 - #12521: RISCV RV32IA selected, RV64GC output - #12586: avahi failure - #12596: host-e2fsprogs: tune2fs incompatibility on older glibc.. - #12611: ntp hash is not matching with upstream 4.2.8p13 - #12626: PHP missing header files within 2020.02 - #12631: glibc support Power-PC SPE - #12656: bison fails to relocate with relocate-sdk.sh - #12661: cups problems in buildroot - #12686: recipe for target 'install_dev' failed (libcrypto.so:.. - #12691: host-rust build fails - #12761: Buildroot fails when building GCNano binaries for the STM.. - #12786: Systemd spawns two getty processes when the getty port.. - #12806: There are multiple issues in buildroot that faults cups.. - #12826: nodejs-12.16.1: error: 'uv_sleep' was not declared in.. - #12831: RPI-firmware package: DTB-overlay dependency - #12836: libunwind: package does not show up in menuconfig for.. - #12841: util-linux/sfdisk 2.35.1 fails on sector-size header - #12866: should we be disabling bash executable path caching? - #12886: GMP built in wrong order (?) - #12891: QEMU, libvirt-bin, qemu-kvm Package Support required - #12901: GStreamer doesn't build on 2020-05 rc1 with GObject.. - #12906: qt PrefixPath is wrong on 2020.05-rc1 - #12921: nodejs-12.16.1: error: overriding 'virtual icu_65::.. - -2020.05-rc1, released May 7th 2020 - - Addition of support for gobject-introspection: both the - gobject-introspection package itself, but also introspection - support was enabled in a number of other packages. - - Support for Qt 5.6 was dropped as its support was dropped - upstream, only one version of Qt is supported at the moment: - Qt 5.14.2. - - Addition of support for the apparmor Linux security module, by - adding the necessary user-space packages. - - Addition of a qmake package infrastructure, now used by most - Qt-related packages. - - The Luarocks package infrastructure has been extended to - support build host packages. - - The package infrastructure was improved to allow each package - to indicate the Linux kernel configuration options it needs. - - Addition of support for generating filesystem images using the - EROFS filesystem. - - The logic that calculates the list of files installed by each - package was reworked to be compatible with the top-level - parallel build functionality. - - Addition of a package for a pre-compiled ARM32 bare-metal - toolchain, which can be used to build ARM32 code in ARM64 - configurations, such as firmware/bootloader code. - - The Qemu defconfigs are now boot-tested in Qemu as part of the - Gitlab continuous integration. - - Toolchain: gcc 9.x bumped to 9.3.0, gcc 8.x bumped to 8.4.0, - gdb bumped to 8.3.1. - - New packages: apcupsd, apparmor, arm-gnu-a-toolchain, bearssl, - belle-sip, belr, cage, chartjs, erofs-utils, exfatprogs, - gobject-introspection, ibm-sw-tpm2, imx-seco, jbig2dec, - libapparmor, libiberty, libfuse3, libtextstyle, libudfread, - libuhttpd, libuwsc, lua-lyaml, matio, mbuffer, netdata, - openfpgaloader, perl-i18n, perl-locale-maketext-lexicon, - perl-lwp-protocol-https, - perl-mojolicious-plugin-authorization, - perl-mojolicious-plugin-cspheader, - perl-mojolicious-plugin-i18n, - perl-mojolicious-plugin-securityheader, perl-mozilla-ca, - perl-path-class, pistache, pkcs11-helper, prelink-cross, - python-argon2-cffi, python-canopen, python-cbor2, - python-filelock, python-flatbuffers, python-greenlet, - python-modbus-tk, python-pyalsa, python-pysftp, python-regex, - python-snappy, rtty, tinyproxy, udev-gentoo-scripts, unbound, - vuejs, wlroots. - - New defconfigs: freescale_imx6ullevk, freescale_imx8qmmek, - nanopi_neo4, nanopi_r1, nitrogen8mm, nitrogen8mn, olpc_xo1, - olpc_xo175, roc_rk3399_pc, stm32mp157a_dk1, zynq_qmtech - - Issues resolved (http://bugs.uclibc.org): - - #10386: Add an option to put all compiled executables that - show up on target/ in staging/ as well - #11866: iniramfs file system fails to boot using Grub on EFI x86_64 - #12666: Doesn't pick up a custom bash profile - #12696: Uboot 2020.01 Problem loading Linux kernel on Nano PI NEO - #12701: [patch] wpa_supplicant must depend on openssl - #12711: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1) - #12716: bio.h not found - #12726: systemctl preset-all failed for ctrl-alt-del.target - #12731: rtl8188eu not buildung for banana pi M1 (glib, systemd, 4.18.12) - #12746: "sysdig" package description points to - http://sysdig.org, which bounces to malware site - #12751: OpenJdk package installation issues on target - #12796: Update OpenSSL to Version 1.1.1g to patch CVE-2020-1967 - #12811: bootstrap stuck and no login prompt - -2020.02.12, released April 5, 2021 - - Important / security related fixes. - - Dependencies: Explicitly detect and bail out if PATH contains - spaces or tabs. A number of packages fail to build in such - setups, so explicitly inform about this. - - utils/scanpypi: Explicitly use python3 for compatibility with - packages using python3 syntax in setup.py - - support/download: Fix tarball generation (from git/svn repos) - including symlinks pointing to ./ - - Meson: Use correct C++ host compiler (rather than C compiler) - - Updated/fixed packages: asterisk, batman-adv, bind, - ca-certificates, docker-containerd, dovecot, - dovecot-pigeonhole, diffutils, efivar, git, gnuchess, gnutls, - grub2, fakeroot, haserl, imagemagick, irqbalance, jasper, - kodi, libcurl, libebml, libglib2, libjpeg, libopenssl, - libupnp, libvips, lldpd, mariadb, mbedtls, mosquitto, nodejs, - netsnmp, nettle, openldap, openmpi, openssh, opkg-utils, perl, - php, privoxy, prosody, protobuf, python-aiohttp, - python-django, python-lxml, python-pyyaml, python-rpi-ws281x, - python3, redis, rpm, sconeserver, screen, sox, sqlcipher, - squid, sysvinit, tor, transmission, tzdata, uboot, upx, - util-linux, wireshark, wolfssl, wpa_supplicant, zstd - - Issues resolved (http://bugs.uclibc.org): - - #13516: utils/scanpypi: Failure when parsing diffoscope - #13541: 2021.02.rc2: irqbalance: Daemon couldn't be bound to.. - #13576: Issues compiling buildroot for 5x86 - #13581: jpegsrc.v9d.tar.gz has changed hash - #13616: tar file from git repository generation issue - -2020.02.11, released February 17, 2021 - - Important / security related fixes. - - meson: Fix ccache detection handling when per-package builds - are used. - - Fakeroot: Fix compatibility issue with glibc 2.33 - - Updated/fixed packages: atftp, busybox, cereal, connman, - dhcpcd, dnsmasq, docker-cli, docker-engine, fakeroot, - intel-mediadriver, intel-microcode, jasper, - kodi-inputstream-adaptive, libbsd, libopenssl, linux-headers, - mosquitto, orc, php, postgresql, privoxy, pugixml, - python-bottle, python-django, python3, rauc, sox, subversion, - tzdata, wireguard-linux-compat, wpa_supplicant, xenomai, xterm - - Issues resolved (http://bugs.uclibc.org): - - #13506: BR2_PACKAGE_DHCPCD missing directory creation - -2020.02.10, released January 31st, 2021 - - Important / security related fixes. - - Download: Ensure git submodules are correctly fetched if - enabled for a package with _GIT_SUBMODULES = YES and the - host variant is downloaded first. - - Toolchain: Mark CodeSourcery Aarch64 2014.11 toolchain as not - having libatomic. - - pkg-stats: Fix python 3.8+ deprecation warning. - - meson: Ensure ccache is not detected and used, as it may - conflict with the ccache handling in Buildroot. - - New packages: libnpupnp - - Updated/fixed packages: bctoolbox, brltty, dbus, dovecot, - dovecot-pigeonhole, gcc, gerbera, gmrender-resurrect, gst-omx, - gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, - gst1-plugins-ugly, gst1-rtsp-server, gst1-vaapi, - gst1-validate, gstreamer1, gstreamer1-editing-services, - igd2-for-linux, libclc, libllcp, libtorrent-rasterbar, - libupnp, libupnpp, lpc32xxcdl, luarocks, mpd, nfs-utils, - nodejs, openjpeg, openldap, opentracing-cpp, openvpn, p11-kit, - paho-mqtt-c, php, poppler, postgresql, python3, runc, sudo, - syslog-ng, systemd, tini, trace-cmd, tzdata, ushare, vlc, - wavpack, wireguard-linux-compat, wolfssl, xapp_xload, xorriso, - zic - - Removed packages: libupnp18 - - Issues resolved (http://bugs.uclibc.org): - - #13471: package/mpd/mpd.conf make use of path not created - -2020.02.9, released December 27th, 2020 - - Important / security related fixes. - - Infrastructure: - - cmake: fix host ccache handling for CMake 3.19 - - meson: Forcibly disable binary stripping for - target builds, enable for host builds - - golang: Fix HOST / TARGET directories for per-package builds - - Defconfigs: Beaglebone Qt5: Fix ti-sgx related issues - - Updated/fixed packages: apitrace, arm-trusted-firmware, - bustle, c-ares, ca-certificates, cdrkit, cryptopp, dhcpcd, - docker-containerd, dtv-scan-tables, flare-engine, ghostscript, - haproxy, imagemagick, imx-gpu-viv, jasper, jemalloc, - jpeg-turbo, libcap, libcurl, libglib2, libgpiod, libkrb5, - libopenssl, libplist, libressl, libuv, libuvw, lynx, mariadb, - mbedtls, minidlna, monkey, musl, mutt, ncurses, netsnmp, - nodejs, opencv3, openldap, openrc, opkg-utils, paho-mqtt-c, - php, privoxy, proftpd, python-crc16, python-flask-cors, - python-lxml, python-pip, python-pyparsing, python-pyqt5, qemu, - qt5base, raptor, rauc, ruby, setserial, shadowsocks-libev, - slirp, sqlcipher, ti-sgx-demos, tinycbor, vsftpd, - wireless-regdb, wireshark, x11vnc, xen, xinetd, - xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #13276: libcap builds libcap.pc incorrectly - #13316: beaglebone_qt5_defconfig: PowerVR fails to start - #13341: Mistake in /etc/init.d/S70vsftpd - -2020.02.8, released November 16th, 2020 - - Important / security related fixes. - - Updated/fixed packages: angularjs, argp-standalone, asterisk, - bandwidthd, bitcoin, busybox, cryptsetup, darkhttpd, davfs2, - docker-cli, docker-containerd, docker-engine, - dovecot-pigeonhole, fastd, fbset, fbtft, freetype, gcc, - ghostscript, gnuradio, grpc, gst1-plugins-bad, jsoncpp, - keepalived, libass, libexif, libiqrf, libpam-tacplus, libraw, - linux-backports, linux-firmware, lzlib, netsnmp, nginx, - oniguruma, opencv3, openntpd, patchelf, php, postgresql, - python-pyqt5, qt5base, rauc, redis, samba4, slirp, systemd, - tcpdump, tmux, tor, webkitgtk, wireguard-linux-compat, - wireshark, wpewebkit, xen, xorriso, zeromq, zxing-cpp - - Issues resolved (http://bugs.uclibc.org): - - #11931: Bugs in support/scripts/apply-patches.sh - -2020.02.7, released October 12th, 2020 - - Important / security related fixes. - - meson: Correct SDK cross-compilation.conf file when - per-package builds were used to build SDK. - - systemd: Use /run rather than /var/run for PID files in units. - - Toolchain: use Secure-PLT rather than BSS-PLT for PowerPC 32. - - support/script/pycompile: Rework logic to ensure .pyc files - contain absolute target paths, fixing code inspection at - runtime when executed with cwd != '/'. - - support/scripts/setlocalversion: Correct Mercurial output to - match behaviour with Git. - - support/scripts/apply-patches.sh: Use patch - --no-backup-if-mismatch, so we no longer blindly have to - remove *.orig files after patching, fixing issues with - packages containing such files. - - Updated/fixed packages: bandwidthd, barebox, bash, bison, - brotli, cifs-utils, cryptsetup, dhcpcd, dhcpdump, docker-cli, - docker-engine, ecryptfs-utils, efl, fail2ban, freetype, gcc, - gdb, ghostscript, gnutls, go, gst1-plugins-base, - gst1-plugins-ugly, ipmitool, libhtp, libraw, libssh, libxml2, - libxml-parser-perl, localedef, lua, memcached, mesa3d, meson, - minidlna, nginx, nodejs, nss-pam-ldapd, openvmtools, php, - postgresql, python, python-aenum, python-autobahn, - python-engineio, python-fire, python-pymodbus, python-scapy, - python-semver, python-sentry-sdk, python-socketio, - python-texttable, python-tinyrpc, python-txtorcon, python3, - qt5base, runc, samba4, strace, supertux, suricata, systemd, - vlc, wayland-protocols, wireguard-linux-compat, wireshark, - xserver_xorg-server, zeromq, zstd - - Issues resolved (http://bugs.uclibc.org): - - #12911: usb_modeswitch installation race condition - #13251: cryptsetup does not work on branch 2020.02 following.. - -2020.02.6, released September 5th, 2020 - - Important / security related fixes. - - Fix a 2020.02.5 build regression in busybox when systemd (and - not less) are enabled because of missing infrastructure. - - Updated/fixed packages: alsa-utils, avahi, busybox, cups, - docker-cli, graphite2, imagemagick, libeXosip2, mbedtls, - nvidia-driver, paho-mqtt-c, python-django, systemd, uclibc, - usb_modeswitch, wolfssl - - Issues resolved (http://bugs.uclibc.org): - - #12911: usb_modeswitch installation race condition - -2020.02.5, released August 29th, 2020 - - Important / security related fixes. - - Infrastructure: Ensure RPATH entries that may be needed for - dlopen() are not dropped by patchelf. - - BR_VERSION_FULL/setlocalversion (used by make print-version - and /etc/os-release): Properly handle local git tags - - Updated/fixed packages: apache, at91bootstrap3, bind, boost, - busybox, capnproto, chrony, collectd, cpio, cryptsetup, cups, - cvs, dbus, docker-engine, domoticz, dovecot, - dovecot-pigeonhole, dropbear, efl, elixir, f2fs-tools, ffmpeg, - gd, gdk-pixbuf, ghostscript, glibc, grub2, gst1-plugins-bad, - hostapd, iputils, jasper, json-c, libcurl, libwebsockets, - linux, live555, mesa3d, mosquitto, mpv, nodejs, opencv, - opencv3, openjpeg, patchelf, perl, php, postgresql, - python-django, python-gunicorn, python-matplotlib, ripgrep, - rtl8188eu, rtl8821au, ruby, shadowsocks-libev, squid, - tpm2-abrmd, tpm2-tools, trousers, uacme, webkitgtk, wireshark, - wolfssl, wpa_supplicant, wpewebkit, xen, xlib_libX11, - xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #12876: nodejs fails to build when host-icu has been built before - #13111: python-gunicorn: missing dependency on python-setuptools - #13121: wpa_supplicant fails to build without libopenssl enabled - #13141: Target-finalize fail with "depmod: ERROR: Bad version passed" - #13156: package live555 new license - -2020.02.4, released July 26th, 2020 - - Important / security related fixes. - - Toolchain: - - Make external toolchain version check also work for - toolchains configured with --with-gcc-major-version-only - - - Do not handle SOURCE_DATE_EPOCH in toolchain wrapper if the - compiler supports it, fixing an issue with precompiled - headers - - - Ensure debug libs from external toolchains are not installed - into target if debugging is disabled - - Download: - - Correct reproducibility issue in handling of git submodules - for older git versions. - - - Fix file locking over NFS - - fs: Ensure cpio archive element order is reproducible - - Br2-external: Fix error reporting for invalid br2-external trees - - Per-package: - - Fix an issue with python3 sysconfig data not getting - correctly expanded - - - Fix per-package building for packages using the qmake - infrastructure - - Updated/fixed packages: a10disp, asterisk, bind, cdrkit, - checkpolicy, clamav, dbus, docker-cli, docker-engine, - dvb-apps, e2fsprogs, exim, exiv2, freerdp, gnutls, go, grub2, - gssdp, gst1-plugins-good, gst1-plugins-ugly, gupnp, - intel-microcode, iproute2, irrlicht, iwd, jq, kodi, libcamera, - libconfuse, libcurl, libglib2, libhttpserver, libmicrohttpd, - libopenssl, libvncserver, libxml2, libxmlrpc, lxc, mbedtls, - mesa3d, meson, mongodb, mtools, mutt, nghttp2, ngircd, nodejs, - ntp, open-plc-utils, open2300, openjdk-bin, openssh, - oracle-mysql, paho-mqtt-c, pcre, php, poco, prosody, putty, - python-twisted, python-urllib3, python-validators, python3, - qt5xmlpatterns, redis, rpi-firmware, rtl8821au, samba4, sdl2, - sqlite, squid, syslog-ng, systemd, tcpreplay, tinydtls, - upmpdcli, upx, vlc, webkitgtk, wireguard-linux-compat, - wireshark, wpebackend-fdo, wpewebkit, zstd - - Issues resolved (http://bugs.uclibc.org): - - #12941: Python GObject fails to build when using BR2_PER_PACKAGE_.. - #12946: Grub: Decompressor is too big. - #12986: Mtools: Error converting to codepage 850 - #13001: openjdk-bin replaces libfreetype.so from host-freetype - #13011: Incorrect selection of gcc version - #13026: rpi-firmware: must not rename start files - #13031: nodejs: RangeError at new ArrayBuffer() - #13046: Optimize for fast -Ofast is not compliant - -2020.02.3, released June 3rd, 2020 - - Important / security related fixes. - - Fix various build issues of host packages on hosts using GCC - 10. - - Updated/fixed packages: arm-trusted-firmware, audit, bind, - binutils, bison, clamav, crda, dovecot, dtc, efl, elf2flt, - erlang, fakeroot, ffmpeg, fmc, fmlib, freerdp, gcc, git, - glib-networking, gnupg, leveldb, libexif, libssh2, - libusb-compat, linux-headers, lrzip, ltrace, mariadb, mesa3d, - mp4v2, openldap, openocd, perl, php, prosody, - python-pycryptodomex, python-pyqt5, qemu, rpi-firmware, rustc, - speexdsp, sysrepo, systemd, tremor, vboot-utils, wireshark, - xen - - Removed packages: python-pycrypto - - Issues resolved (http://bugs.uclibc.org): - - #12361: Init system (systemd) kills login on Raspberry Pi Zero - #12656: bison fails to relocate with relocate-sdk.sh - #12671: leveldb won't detect that snappy is present (static.. - #12691: host-rust build fails - #12831: RPI-firmware package: DTB-overlay dependency - -2020.02.2, released May 12th, 2020 - - Important / security related fixes. - - Musl: Disallow on PPC64 cores without AltiVec support - (E.G. e5500). - - fs/cpio: Correctly handle booting with 'console=' - - release: Ensure temporary .br2-external.* files are not - included in the release tarball - - Defconfigs: Fix various mistyped config options, or config - options where the dependencies were no longer met. - - Updated/fixed packages: apache, azure-iot-sdk-c, binutils, - boinc, c-ares, cvs, docker-cli, docker-containerd, - docker-engine, domoticz, e2fsprogs, efl, evtest, exim, ffmpeg, - freerdp, gcc, gflags, glibc, gnuconfig, haproxy, imx-gpu-2d, - irrlicht, jpeg kodi-pvr-vuplus, libarchive, libcoap, - libfpm-extra, libglib2, libhtp, libid3tag, libinput, libmad, - libopenssl, libsepol, libssh, libv4l, libvncserver, libwpe, - localedef, mariadb, matchbox, mbedtls, mc, mesa3d-headers, - meson, midori, msgpack, netsnmp, nginx, ogre, openjdk, - openldap, openvpn, p7zip, paho-mqtt-c, php, polkit, python, - python-attrs, python-crossbar, python-dpkt, python-flask, - python-future, python-iptables, python-jedi, python-markdown2, - python3, qemu, qpdf, qt5, samba4, squashfs, squid, strongswan, - suricata, tzdata, util-linux, vlc, wget, webkitgtk, - wireguard-linux-compat, wireshark, wpebackend-fdo, wpewebkit, - zic - - Issues resolved (http://bugs.uclibc.org): - - #11866: initramfs file system fails to boot using Grub on EFI x86_64 - #12271: python-iptables runtime dependencies - #12726: systemctl preset-all failed for ctrl-alt-del.target - #12751: OpenJdk package installation issues on target - #12796: Update OpenSSL to Version 1.1.1g to patch CVE-2020-1967 - #12811: bootstrap stuck and no login prompt - #12841: util-linux/sfdisk 2.35.1 fails on sector-size header - -2020.02.1, released April 10th, 2020 - - Important / security related fixes. - - core: Also fixup /lib references in libtool .la files, similar - to how it is done for /usr/*. - - Various fixes for builds with per-package target/host - directories. - - toolchain: Fix kernel headers validation check for external - toolchains. Fix make 4.3+ compatibility in external toolchain - logic. - - fs/initramfs: fix show-info so it also shows the usual - rootfs-related variables. - - Updated/fixed packages: arm-trusted-firmware, barebox-aux, - bluez5_utils, bubblewrap, busybox, civetweb, cog, collectd, - ffmpeg, gcc, gnutls, gssdp, gvfs, haproxy, hiredis, hostapd, - kmscube, kodi-screensaver-rsxs, libical, libinput, libexif, - libopenssl, libsndfile, linux, linux-tools, llvm, localedef, - mcrypt, mesa3d, meson, monit, nftables, ntp, opencv3, - oprofile, php, pinentry, polkit, pure-ftpd, python-pyyaml, - qt5, quagga, radvd, rcw, redis, rocksdb, samba4, screen, - sdbusplus, swupdate, sysdig, sysklogd, syslinux, syslog-ng, - tor, tslib, uacme, util-linux, vala, vlc, - wireguard-linux-compat, wireguard-tools, wireshark, - wpa_supplicant, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #12711: host-localedef 2.30-20 fails to compile on fedora 32 - #12746: "sysdig" package description points to http://sysdig.org, .. - -2020.02, released March 8th, 2020 - - Various fixes. - - br2-external: Fix compatibility with make 4.3+ - - Updated/fixed packages: bash, bcm2835, binutils, cups, - erlang-p1-acme, fbgrab, gr-osmosdr, gst1-plugins-base, - gst1-validate, gstreamer1, guile, jhead, libdrm, libevdev, - libinput, libnss, libsndfile, libvncserver, linux-firmware, - mesa3d, nodejs, openjdk-bin, openvmtools, optee-test, patch, - php, piglit, pppd, python-django, qemu, qt5base, ruby, - ser2net, swupdate, thrift, zziplib - - Removed packages: classpath, jamvm - - Issues resolved (http://bugs.uclibc.org): - - #12606: fbgrab location has changed - -2020.02-rc3, released March 2nd, 2020 - - Fixes all over the tree. - - Infrastructure: Rework file list handling to fix race - conditions when building with per-package target and host - directories and top-level parallel builds. - - Updated/fixed packages: aufs, binutils, blktrace, brltty, - cairo, dnsmasq, docker-compose, elf2flt, exim, exiv2, git, - kodi-inputstream-adaptive, libarchive, libcgroup, libgdiplus, - libssh2, libvncserver, libvorbis, linknx, linux-firmware, lxc, - lz4, mosquitto, openjpeg, openrc, poco, proftpd, pure-ftpd, - python3, python-multidict, python-setuptools-scm-git-archive, - qpdf, qt5tools, rdesktop, rocksdb, shellinabox, squid, - suricata, swig, systemd, taglib, util-linux, wireshark, zsh - - Issues resolved (http://bugs.uclibc.org): - - #12571: ltp-testsuite : Build failure - #12576: 2020.02-RC1: error while loading shared libraries: ... - #12581: 2020.02-rc1 glibc failing to build on fedora 31 - -2020.02-rc2, released February 26th, 2020 - - Fixes all over the tree. - - Toolchain: Ensure strong SSP can only be enabled if the - (external) toolchain supports it. - - Fix a race condition related to creating the output/staging - symlink on systems with coreutils < 8.27. - - Drop support for the (end of life) Qt 5.6 variant. - - Updated/fixed packages: at, armadillo, audiofile, bash, - busybox, erlang, fail2ban, fluidsynth, ipsec-tools, jpeg-turbo, - kvm-unit-tests, libftdi1, libinput, libsvgtiny, libtomcrypt, - libupnpp, libxml2, linux-tools, luv, mbedtls, mesa3d, minicom, - openvmtools, php, qt5, qt5webengine, qwt, radvd, rcw, - sdbusplus, systemd, tpm2-tss, vorbis-tools - - Issues resolved (http://bugs.uclibc.org): - - #12581: 2020.02-rc1 glibc failing to build on fedora 31 - -2020.02-rc1, released February 18th, 2020 - - Fixes all over the tree and new features. - - Add experimental support for building with a per-package - target and host directory. This still has some rough edges, - but brings a number of advantages: - - - Packages will only be able to access the explicitly listed - dependencies and not any other packages that happen to be - built before, ensuring correct dependency information in - Buildroot. - - - Possibility for top-level parallel builds, speeding up - builds on multicore machines. - - Core: Ensure package-file-lists data is correct after - incremental builds as well. - - Architecture: Add support for ARC-HS38 with 64bit multiplier - variant, allow building glibc for big endian ARC, handle 16KB - MMU page size for ARC in toolchain wrapper. - - Toolchain: Add binutils 2.33.1, GCC 7.5.0, Arm 9.2-2019.12 - toolchains, ARC 2019.09 toolchain. Allow using custom kernel - headers newer than what is known by Buildroot. - - pkg-stats: Support for CVE vulnerability reporting by - comparing to NVD database. - - Reproducible builds: The go -trimpath option is now used to - get rid of absolute build paths, __FILE__ and __BASE_FILE__ - defines are now handled in the toolchain wrapper. - - Systemd: Build host variant and use systemctl to automatically - enable unit files rather than manually managing symlinks. - - Util-linux: Ensure that hwclock is built without GPLv3 - code. Notice that builds with hwclock has contained - GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+) - - New defconfigs: Beelink GS1, Raspberrypi4 64bit - - New packages: alura, avro-c, bubblewrap, cctz, cereal, - cpuburn-arm, elixir, erlang-base64url, erlang-idna, - erlang-jose, erlang-p1-acme, erlang-p1-mqtree, - erlang-p1-yconf, fluid-soundfont, fluidsynth, gcnano-binaries, - gensio, glslsandbox-player, libargon2, libmodsecurity, - libpam-nfc, libtelnet, lua-codegen, lua-livr, lua-livr-extra, - lua-rotas, lua-silva, mfoc, network-manager-openvpn, - nginx-modsecurity, perl-crypt-openssl-aes, - perl-math-prime-util, pipewire, ptm2human, python-aenum, - python-aiohttp-debugtoolbar, python-aiohttp-mako, - python-aiologstash, python-aiosignal, python-aiozipkin, - python-async-lru, python-avro, python-bunch, python-crontab, - python-dnspython, python-entrypoints, python-esptool, - python-frozenlist, python-future, python-gitdb, python-janus, - python-lockfile, python-logstash, python-nested-dict, - python-pbr, python-pyaes, python-pydantic, python-smmap2, - python-sockjs, python-zc-lockfile, raspi-gpio, rocksdb, - sdbusplus, spidermonkey, thermald, ti-sgx-libgbm, tinyssh, - tio, umtprd, weston-imx, wireguard-linux-compat, - wireguard-tools, xdg-dbus-proxy - - Removed packages: bluez_utils, celt051, erlang-p1-iconv, fis, - gadgetfs-test, libplayer, gstreamer, gst-ffmpeg, - gst-fsl-plugins, gst-omapfb, gst-plugins-bad, - gst-plugins-base, gst-plugins-good, gst-plugins-ugly, - perl-digest-md5, perl-mime-base64, perl-net-ping, - python-scapy3k, wireguard - - Issues resolved (http://bugs.uclibc.org): - - #11906: the new version of mesa3d cannot support etnaviv when.. - #11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16 - #12121: PyQt5.QtSerialPort and other modules not being built - #12256: package tar is outdated (1.29 is 3 years old - #12286: Can't import gobject in python 3.8 - #12376: python-scapy3k is deprecated - #12386: carriage return issue when "make menuconfig" - #12441: qt5webengine build error: asm/errno.h: No such file or.. - #12446: Buildroot fails to finish installing packages - #12456: qtvirtualkeyboard: No such file or directory - #12461: libglib2 build files with deep directory structure - #12481: minicom fails when output directory path contains "m4" - #12501: libnss-3.49.1: ld error: multiple definition of `gcm_.. - #12526: host-nodejs 12.14.1: configure fail: AttributeError: .. - #12536: Linux-Headers extracting failure - #12546: Ninja 1.10 build Error - -2019.11.3, released April 10th, 2020 - - Important / security related fixes. - - core: Fix compatibility with make 4.3+. Also fixup /lib - references in libtool .la files, similar to how it is done for - /usr/*. - - toolchain: Fix kernel headers validation check for external - toolchains. - - fs/initramfs: fix show-info so it also shows the usual - rootfs-related variables. - - Updated/fixed packages: barebox-aux, bluez5_utils, busybox, - civetweb, cog, collectd, ffmpeg, gcc, gnutls, gssdp, gvfs, haproxy, - hiredis, hostapd, kmscube, libical, libopenssl, libsndfile, - linux-tools, llvm, monit, ntp, php, pure-ftpd, radvd, redis, - samba4, screen, sysdig, syslinux, syslog-ng, tor, uacme, - util-linux, vala, vlc, wpa_supplicant, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #12746: "sysdig" package description points to http://sysdig.org, .. - -2019.11.2, released March 16th, 2020 - - Important / security related fixes. - - Core: Ensure package-file-lists data is correct after - incremental builds as well. - - Fix a race condition related to creating the output/staging - symlink on systems with coreutils < 8.27. - - Toolchain: ARC tools bumped to arc-2019.09. - - Br2-external: Fix patch handling when external linux-extension - packages are used. Fix compatibility with make 4.3+ - - Util-linux: Ensure that hwclock is built without GPLv3 - code. Notice that builds with hwclock has contained - GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+) - - Updated/fixed packages: armadillo, at, bcm2835, binutils, - blktrace, bluez-alsa, bootstrap, brltty, busybox, cairo, - clamav, cog, cups, czmq, dnsmasq, docker-containerd, dovecot, - dovecot-pigeonhole, e2fsprogs, elf2flt, eudev, exim, exiv2, - fbgrab, gettext-tiny, glibc, go, grep, gst1-validate, guile, - imagemagick, jhead, jpeg-turbo, kvm-unit-tests, lapack, - libarchive, libcgroup, libdrm, libevent, libexif, libftdi1, - libgdiplus, libjpeg, libsigrok, libsndfile, libssh2, - libsvgtiny, libvncserver, libvorbis, libxml2, libxslt, linknx, - lxc, lz4, mariadb, mbedtls, meson, mongoose, mosquitto, musl, - ncurses, nodejs, ntfs-3g, ogre, opencv3, openjdk, openjpeg, - openrc, openswan, openvmtools, optee-test, patch, php, piglet, - postgresql, pppd, proftpd, pure-ftpd, python-django, - python-pyqt5, python-setuptools-scm-git-archive, python3, - qemu, qt5base, qt5tools, qt5virtualkeyboard, qt5webengine, - qwt, rdesktop, ruby, runc, samba4, shellinabox, - skeleton-init-openrc, smartmontools, spdlog, sqlcipher, squid, - suricata, swig, swupdate, sysklogd, taglib, thrift, - ti-cgt-pru, uclibc, util-linux, vorbis-tools, webkitgtk, - wireshark, wpebackend-fdo, wpewebkit, xen, - xserver_xorg-server, zeromq, zsh, zziplib - - Issues resolved (http://bugs.uclibc.org): - - #11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16 - #12331: meson issue - #12456: qtvirtualkeyboard: No such file or directory - #12461: libglib2 build files with deep directory structure - #12481: minicom fails when output directory path contains "m4" - #12606: fbgrab location has changed - -2019.11.1, released January 12th, 2020 - - Important / security related fixes. - - Infrastructure: kconfig: Fix reconfigure logic, python: Ensure - correct compiler and linker flags are used for compiled code - - utils/scanpypi: Remind users to update DEVELOPERS - - Defconfigs: imx6-sabresd: Fix the Qt5 display names, - imx8: Drop extra copy of U-Boot DTB - - Updated/fixed packages: acsccid, bitcoin, boost, busybox, - cc-tool, cmocka, cpio, cups, dante, dialog, dillo, docker-cli, - docker-containerd, docker-engine, easy-rsa, ebtables, - ecryptfs-utils, efl, ffmpeg, gdb, git, glibc, gnupg2, go, - gpsd, grpc, gst1-plugins-bad, iputils, jasper, - kf5-kcoreaddons, leveldb, libarchive, libfribi, libgit2, - libkrb5, libp11, librsvg, libssh, libtomcrypt, libuio, libv4l, - lirc-tools, log4cplus, lrzip, lvm2, mali-t76x, - matchbox-desktop, mender-grubenv, mmc-utils, mosquitto, - nodejs, ntp, openipmi, opencv3, openpowerlink, openrc, pango, - perl-sys-cpu, pimd, postgresql, pulseaudio, python-brotli, - python-coherence, python-crc16, python-django, python-dpkt, - python-gobject, python-pyasn-modules, python-pypcap, - python-pyqt5, python-subprocess32, python3, qpdf, - qt-webkit-kiosk, qt5virtualkeyboard, qt5webengine, quota, - rabbitmq-c, rauc, rpcbind, rtl8821au, runc, rygel, samba4, - sdl2, setserial, snort, spidev_test, - sunxi-mali-mainline-driver, syslog-ng, sysrepo, tcllib, tftpd, - usbmount, w_scan, wavpack, wsapi, wsapi-fcgi, wsapi-xavante, - x265, xserver_xorg-server, ytree, zip - - Issues resolved (http://bugs.uclibc.org): - - #12121: PyQt5.QtSerialPort and other modules not being built - #12286: Can't import gobject in python 3.8 - -2019.11, released December 1st, 2019 - - Various fixes. - - Infrastructure: Make HOST__DL_OPTS inherit from - _DL_OPTS by default, just like it is done for a number of - other package variables. - - Add _KEEP_PY_FILES to exclude specific python .py files - from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for - the (rare) case where the .py files are needed at runtime - rather than .pyc. - - Updated/fixed packages: am33x-cm3, bind, collectd, go, gob2, - gst1-plugins-bad, haproxy, jasper, jpeg-turbo, libdrm, - libftdi, libftdi1, libnss, libselinux, libstrophe, lzma, - minicom, network-manager, nodejs, oniguruma, opencv3, - openvmtools, perl-gdgraph, perl-gdtextutil, prosody, - python-cchardet, systemd, tiff, wolfssl, - - Issues resolved (http://bugs.uclibc.org): - - #11416: check-uniq-files staging issue - #12146: Oprofile runtime issue - #12166: Compiling nodejs for SAMA5D3 always crash with illegal inst.. - #12171: Python-opencv needs config.py and config-3.7.py to run.. - #12196: duma package - #12211: host-nodejs 10.15.3 package fail to build - #12316: tzdata fails to install with empty "default local time" - #12326: network-manager build fails with missing glib error - #12366: Gstreamer1 gst1-plugins-bad do not compile with RPI-Userland - -2019.11-rc3, released November 24th, 2019 - - Fixes all over the tree. - - Updated/fixed packages: asterisk, clamav, domoticz, faifa, - gerbera, kmod, kvm-unit-tests, libupnp18, linux-serial-test, - lsof, ltp-testsuite, lxc, mesa3d, mesa3d-headers, perl, php, - postgresql, qemu, rauc, redis, rpcbind, spice, spice-protocol, - systemd, tftpd, waylandpp, webkitgtk, zip - -2019.11-rc2, released November 16th, 2019 - - Fixes all over the tree. - - Toolchain: ARC tools bumped to arc-2019.09-rc1, ensure - external toolchain kernel headers version check correctly stop - the build on mismatch - - Meson: Fix generation of global cross-compilation.conf - - Download: Also use the package download method for extra - downloads from the same site, so it does not get confused by - URLs containing '+' - - Defconfigs: Fix boot issue for beaglebone - - Updated/fixed packages: bird, chrony, connman, dhcp, domoticz, - dropwatch, dtc, elf2flt, gettext-tiny, glog, intel-microcode, - ipsec-tools, jailhouse, kodi, libfribi, libmbim, libressl, - libsigrokdecode, libsvgtiny, linux-serial-test, ltp-testsuite, - lvm2, lxc, mariadb, mesa3d, minizip, ndisc6, neardal, ninja, - ofono, openvmtools, oracle-mysql, qt5wayland, safeclib, socat, - sudo, systemd, wpewebkit, xserver_xorg-server - -2019.11-rc1, released November 5th, 2019 - - Fixes all over the tree and new features. - - Dependencies: Gcc/g++ 4.8 or newer is now required on the - build host. - Ensure host has JSON::PP perl module installed if - webkitgtk/wpewebkit packages are enabled as it is needed - during their build process. - - Toolchain: Add support for the D programming language (GCC - 9.x, Glibc). - GCC 9.x updated to 9.2.0, Glibc updated to 2.30, Musl updated - to 1.1.24, uClibc-ng updated to 1.0.32, ARC toolchain updated - to arc-2019.09-eng002. - Musl: Add a patch to add support for - sched_{get,set}scheduler() and sched_{get,set}param() for - compatibility. - Generate check-headers program under BUILD_DIR rather than - /tmp to fix issues with distributions mounting /tmp noexec. - Also copy libssp.so for external toolchains if SSP - to handle toolchains providing SSP support in libssp rather - than in the C library - - New defconfigs: Beaglebone AI, FriendlyARM Nanopi NEO Plus2, - Libre Computer "La Frite", QEMU Armv7-A with trustzone/OP-TEE, - STM32MP157 Discovery Kit - - Arch: RISC-V: Default to a sensible floating point ABI based - on the selected ISA extensions rather than always defaulting - to ILP32/64 - - Graph-size: Package sizes are now shown in human readable form - (Kib/Mib/Gib) rather than always in Kib. Binary (KB/MB/GB) - format can be selected using the --binary option. The cut-off - limit for classifying packages as "other" is now configurable - using the --size-limit option. - - Br2-external: Linux kernel extensions can now also be provided - in an external tree by adding packages under - linux/linux-ext-*.mk. See the manual for details. - - Fakeroot now works correctly under Microsoft Windows 10 - Services for Linux, which does not provide SYSV IPC support - - The check-uniq-files logic which would complain if multiple - packages would touch the same files has been removed as it - causes issues in certain situations (when packages are - rebuilt) and the issue is no longer considered a problem for - toplevel parallel builds as those will use a per-package - staging/target directory. - With this removed, Python is no longer required for a basic - build (only for optional scripts). - - support/scripts/genimage.sh will no longer make a copy of - TARGET_DIR, speeding up post-build/image scripts. - - The runtime test logic now uses Python 3.x. - - A 'v' prefix has been dropped from the _SOURCE variable - for a number of packages to match the version numbers used by - https://release-monitoring.org - - New packages: caps, collectl, dav1d, fstrcmp, ima-evm-utils, - jitterentropy-library, kodi-vfs-rar, kodi-vfs-sftp, libavl, - libhttpserver, libmspack, libnetconf2, libolm, libyang, - linux-serial-test, lrzip, mdevd, minimodem, musl-fts, netifrc, - ogre, openlayers, python-aioredis, python-asgiref, - python-backports-functools-lru-cache, python-bluezero, - python-brotli, python-channels, python-channels-redis, - python-colorlog, python-daphne, python-django-enumfields, - python-jaraco-functools, python-kiwisolver, python-msgfy, - python-rpi-ws281x, python-setuptools-scm-git-archive, - python-simplelogging, python-soupsieve, python-sqliteschema, - python-sqlparse, python-tqdm, python-webencodings, qt5webview, - restclient-cpp, ripgrep, snmpclitools, sunwait, sysrepo, - uacme, utf8proc, uvw, ytree - - Removed packages: alljoyn, alljoyn-base, alljoyn-tcl-base, - devmem2, eventlog, kodi-audiodecoder-opus, - kodi-screensaver-planestate, kodi-visualisation-waveforhue, - python-pysnmp-apps, riscv-pk, ustr - - Issues resolved (http://bugs.uclibc.org): - - #9881: systemd-resolved not setting resolv.conf link - #10171: devmem2 w (word) is 8 bytes in x86 64 systems - #10586: musl gcc has ifunc enabled when musl doesn't support it - #10806: Allow nfs-utils to use ipv6 - #11366: [2018.08] SysV IPC not available for fakeroot on WSL - #11411: check-uniq-files target issue - #11766: Console (getty) issues with systemd - #11781: mariadb build error - #12031: Build of cups-filters fails while linking, apparently due.. - #12116: console prompt does not appear after login - #12141: eudev package is missing "render" and "kvm" groups - #12181: dropbear: norootlogin (-w) no longer works when PAM is enabled - #12186: Raspberry Pi Zero-W build fails on newer kernel versions - #12191: cmake BUILDDIR - #12241: Permission denied while running "make" - #12261: sudo versions prior to 1.8.28 are affected. - #12276: make clean/distclean does not remove BR2_DL_DIR and BR2_HOST_DIR - #12281: Custom configuration fails to build (based on raspberrypi3_.. - -2019.08.3, released December 7th, 2019 - - Important / security related fixes. - - Infrastructure: Make HOST__DL_OPTS inherit from - _DL_OPTS by default, just like it is done for a number of - other package variables - - Add _KEEP_PY_FILES to exclude specific python .py files - from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for - the (rare) case where the .py files are needed at runtime - rather than .pyc. - - Fix -reconfigure handling for packages using the kconfig - infrastructure. - - Toolchain: ensure external toolchain kernel headers version - check correctly stop the build on mismatch - - Deconfigs: beaglebone: fix boot issue - - Updated/fixed packages: am33x-cm3, asterisk, bind, chrony, - clamav, cmocka, collectd, connman, dhcp, dropwatch, faifa, - gettext-tiny, gob2, haproxy, intel-microcode, ipsec-tools, - jailhouse, jasper, jpeg-turbo, kodi, kvm-unit-tests, libftdi, - libftdi1, libnss, libressl, libstrophe, libsvgtiny, lvm2, - lzma, mariadb, minicom, mosquitto, neardal, ninja, nodejs, - oniguruma, openvmtools, oracle-mysql, perl-gdgraph, - perl-gdtextutil, php, postgresql, prosody, python-cchardet, - python-django, qt5wayland, rabbitmq, rauc, redis, rpcbind, - socat, spice, spice-protocol, tftpd, tiff, webkitgtk - - New packages: libmspack - - Issues resolved (http://bugs.uclibc.org): - - #12166: Compiling nodejs for SAMA5D3 always crash with illegal inst.. - #12171: Python-opencv needs config.py and config-3.7.py to run.. - #12211: host-nodejs 10.15.3 package fail to build - #12316: tzdata fails to install with empty "default local time" - -2019.08.2, released November 9th, 2019 - - Important / security related fixes. - - Toolchain: Also copy libssp.so for external toolchains if SSP - to handle toolchains providing SSP support in libssp rather - than in the C library - - Download: Also use the package download method for extra - downloads from the same site, so it does not get confused by - URLs containing '+' - - Fakeroot now works correctly under Microsoft Windows 10 - Services for Linux, which does not provide SYSV IPC support - - utils/test-pkg: ensure to exit with an error upon failure - - Updated/fixed packages: asterisk, azmq, binutils, - cups-filters, domoticz, dtc, duma, elf2flt, eudev, exfat, - exfat-utils, fakeroot, fdk-aac, file, freerdp, gcc, gd, - ghostscript, go, gpsd, grpc, gst1-plugins-base, gvfs, icu, - intel-microcode, kvm-unit-tests, libfribidi, libnspr, libnss, - libopenssl, libpcap, libpciaccess, librsvg, libseccomp, - libsigrok, libtorrent, libunwind, libva, linux-tools, - lua-sdl2, lxc, minizip, mjpegtools, mongoose, mono, nbd, - nfs-utils, php, piglit, python, python-autobahn, - python-pysnmp-apps, python-tornado, python3, qemu, qt5base, - ruby, safeclib, samba4, sdl_mixer, sox, sudo, suricata, - systemd, tcpdump, unscd, util-linux, vdr-plugin-vnsiserver, - vtun, wireshark, xvisor, yaffs2utils - - Issues resolved (http://bugs.uclibc.org): - - #11366: [2018.08] SysV IPC not available for fakeroot on WSL - #12261: sudo versions prior to 1.8.28 are affected - -2019.08.1, released October 3rd, 2019 - - Important / security related fixes. - - Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone: - Use default console settings - - Dependencies: Ensure host has JSON::PP perl module installed - if webkitgtk/wpewebkit packages are enabled as it is needed - during their build process. - - Toolchain: Generate check-headers program under BUILD_DIR - rather than /tmp to fix issues with distributions mounting - /tmp noexec. - - Updated/fixed packages: asterisk, augeas, axel, bind, bwm-ng, - cups, cups-filters, docker-cli, docker-engine, docker-proxy, - e2fsprogs, eudev, exim, expat, gcc, go, haveged, ifplugd, joe, - kf5-extra-cmake-modules, kf5-modemmanager-qt, - kf5-networkmanager-qt, libcamera, libcurl, libgcrypt, - libglib2, libgpg-error, libnspr, libnss, libopenssl, - logrotate, luksmeta, mariadb, mbedtls, mongodb, mosquitto, - ncurses, nfs-utils, nghttp2, nodejs, openvmtools, php, - protobuf, putty, qemu, samba4, snort, swupdate, - systemd-bootchart, thttpd, uclibc, unzip, util-linux, - wireshark - - Issues resolved (http://bugs.uclibc.org): - - #10806: Allow nfs-utils to use ipv6 - #11781: mariadb build error - #12031: Build of cups-filters fails while linking, apparently due.. - #12141: eudev package is missing "render" and "kvm" groups - #12241: Permission denied while running "make" - -2019.08, released September 1st, 2019 - - Various fixes. - - Defconfigs: Removed nanopc t4, nanopi m4 and neo4, pine64 - rockpro64 and raxda rock pi4 as they rely on a ARM32 toolchain - on the build host to build ATF. These defconfigs will be added - back once a package providing such toolchain is - available. Also dropped ts4800 defconfig as it does not build - with GCC >= 8.x. - - Updated/fixed packages: libxcb, php, python-numpy, webkitgtk, - wpewebkit, xfont_font-util - - Issues resolved (http://bugs.uclibc.org): - - #12156: buildroot-2019.08-rc3 does not build for Pi Zero W - -2019.08-rc3, released August 28th, 2019 - - Fixes all over the tree. - - Updated/fixed packages: clamav, dovecot, dovecot-pigeonhole, - gcc, intel-microcode, libmicrohttpd, libmodplug, mpg123, - nginx, openldap, python, qemu, samba4, squid, strace, vlc - - Issues resolved (http://bugs.uclibc.org): - - #11686: fbdev_drv.so: undefined symbol: shadowUpdatePackedWeak,.. - -2019.08-rc2, released August 20th, 2019 - - Fixes all over the tree. - - Compile fixes for a number of defconfigs. - - Updated/fixed packages: apache, autofs, batctl, batman-adv, - bind, collectd, cwiid, dahdi-linux, dahdi-tools, daq, - dehydrated, dhcp, dtc, efl, enlightenment, evtest, giflib, - gnutls, go, gst-plugins-bad, gst-plugins-base, - gst1-plugins-bad, gst1-plugins-base, gst1-rtsp-server, gtkmm3, - gupnp, harfbuzz, imagemagick, lftp, libbsd, libcpprestsdk, - libdnet, libfm, libgit2, libgtk2, libgtk3, libpri, librsvg, - libss7, libssh2, libwpe, lua-cqueues, metacity, micropython, - mpd, mpg123, musl, mpv, openblas, openbox, opencv, pango, - pcmanfm, piglit, pigpio, pinentry, postgresql, qemu, qt5base, - qt5enginio, qt5multimedia, qt5serialbus, quagga, quazip, - rrdtool, rygel, samba4, stellarium, tcpreplay, ti-gfx, vte, - wampcc, wilink-bt-firmware, wireless-regdb, wpebackend-fdo, - xscreensaver - - Removed packages: libamcodec, odroid-mali, odroid-scripts - - Issues resolved (http://bugs.uclibc.org): - - #9481: NetworkManager/Ping unable to resolve domains - #10566: php.mk is missing option --with-pgsql - #10861: Package batman_adv Makefile is missing include header direct.. - #11641: linux kernel .config timestamp always out of date fixed with.. - #11671: russian locale ru_RU:145: LC_TIME: syntax error - #11701: recuuring of usr and in bin shortcuts are created - #11741: pigpio does not build host-pigpio - #11876: automount using host mount/umount - #11881: Build breaks with lftp package enabled and libexpat1-dev inst.. - #11921: dahdi fails to build - #11936: libcpprestsdk should install to staging - #11946: wilink-bt-firmware: moved from github to http://git.ti.com/ti-bt - #11961: libpri build failure - #12086: dhcp shared libraries not installed to target - #12096: tcpreplay: build fails if libdumbnet-dev is installed in the.. - #12106: daq: build fails if libdumbnet-dev is installed in the host - #12126: vc4 has neon as hard dependency - -2019.08-rc1, released August 9th, 2019 - - Fixes all over the tree and new features. - - toolchain: ARC toolchain updated to 2019.03 (binutils 2.32.51 - / GCC 8.3.1 / glibc 2.29), ARM AAarch64/ARM toolchains updated - to 2019.03. Add GCC 9.1.0, remove GCC 4.9 and 6.5, add GDB - 8.3, remove GDB 7.12 and 8.0.1, default to GDB 8.2, GCC - 8.3.0. Musl updated to 1.1.23, bringing support for RISC-V 64. - - Architectures: Internal toolchain support for C-SKY, support - for ARC HS48 v3.1 and HS38 with Quad MAC & FPU, support for - ARM A76, A76/A55 big.LITTLE, emag, neoverse-N1, phecda and - tsv110. - - Filesystems: Pass extra pax options to tar for binary - reproducibility. Build host-cpio for the --reproducible option - support when BR2_REPRODUCIBLE is enabled. Genimage updated to - version 11, bringing GPT support. - - Br2-external: Add support for injecting additional options to - the list of preconfigured external toolchains and libjpeg and - openssl providers using files under provides/. See the manual - for details. - - Ensure custom _OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS are - passed before the standard exclusions so they are not ignored - by rsync when using override-srcdir. - - Gnuconfig updated to 2019-05-28, adding C-SKY support. - - test-pkg: Correct long option handling and clean output dir - after a successful build to save disk space. - - support/testing: Emulate a machine with 256MB RAM to fix - issues with certain tests running out of memory, use - virtio-rng to provide needed entrophy. - - pkg-stats: support outputting in JSON format with --json for - easier post processing. The classic HTML output is still - available with --html. Parallelize access to - release-monitoring.org to speed up runtime. - - Drop non-conventional version prefix/suffix/separators for - packages for better compatibility with release-monitoring.org - - Packages: - Init systems: Add basic openrc support and - _INSTALL_INIT_OPENRC variable in the infrastructure to - install openrc service scripts if enabled. - - busybox: Build each applet as a separate binary when SELinux - is enabled for more finegrained policy control. Use daemon - mode for mdev rather than legacy hotplug. - - linux: Workaround -Werror related build failure on powerpc, - by forcing CONFIG_PPC_DISABLE_WERROR on. - - Defconfigs: QEMU: use 'rootwait' kernel option to ensure root - partition is available before mounting. - - New defconfigs: HiFive Unleashed, I.MX8MM EVK and Pico, Nanopi - m4 and neo4, Nanopc t4, Olimex A33 olinuxino, Pine64 - Rockpro64, PowerPC mac99, QEMU C-SKY 610/807/810/860 virt, - Raspberry Pi 4, Raxda rock pi4, Solidrun Clearfog GT-8K - - Removed defconfigs: Odroid C2 - - New packages: bitcoin, c-capnproto, fatcat, ifmetric, jack1, - jailhouse, libubootenv, luasyslog, mender-grubenv, - murata-cyw-fw, openrc, piglit, python-colorama, python-cycler, - python-hiredis, python-ifaddr, python-inflection, - python-iptables, python-matplotlib, python-periphery, - python-pycairo, python-redis, python-termcolor, - python-tinyrpc, python-txdbus, skeleton-init-openrc, spdlog, - sshguard, stellarium, zziplib - - Removed packages: xapp_mkfontdir - - Issues resolved (http://bugs.uclibc.org): - - #11096: Upgrade from glibc 2.26 to 2.27 broke some locales... - #11271: utils/check-package fails with exception depending on.. - #11991: [numpy] segfault when compiling for RPi3 64bits - #12016: Grub fails to boot bzImage after upgrade to 2019.05 - #12046: Can’t login as root user after upgrading to buildroot.. - #12051: package/dhcp installs libtool wrapper scripts on tar... - #12076: Patchelf can link against an incompatible libc++ ver... - -2019.05.3, Released October 3rd, 2019 - - Important / security related fixes. - - Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone: - Use default console settings - - Dependencies: Ensure host has JSON::PP perl module installed - if webkitgtk/wpewebkit packages are enabled as it is needed - during their build process. - - Toolchain: Generate check-headers program under BUILD_DIR - rather than /tmp to fix issues with distributions mounting - /tmp noexec. - - Updated/fixed packages: asterisk, augeas, bind, bwm-ng, cups, - cups-filters, docker-cli, docker-engine, docker-proxy, - e2fsprogs, eudev, exim, expat, gcc, go, haveged, ifplugd, - iptables, joe, kf5-extra-cmake-modules, kf5-modemmanager-qt, - kf5-networkmanager-qtlibcamera, libcurl, libgcrypt, - libgpg-error, libnftl, libnspr, libnss, libopenssl, - libtorrent-rasterbar, luksmeta, mariadb, mbedtls, mongodb, - mosquitto, ncurses, nfs-utils, nghttp2, nodejs, openvmtools, - php, protobuf, putty, qemu, samba4, swupdate, - systemd-bootchart, thttpd, uclibc, unzip, util-linux, - wireshark - - Issues resolved (http://bugs.uclibc.org): - - #10806: Allow nfs-utils to use ipv6 - #11781: mariadb build error - #12031: Build of cups-filters fails while linking, apparently due.. - #12141: eudev package is missing "render" and "kvm" groups - #12241: Permission denied while running "make" - -2019.05.2, Released September 3rd, 2019 - - Important / security related fixes. - - Filesystems: Pass extra pax options to tar for binary - reproducibility. - - Updated/fixed packages: apache, arm-trusted-firmware, - asterisk, atk, autofs, batctl, batman-adv, berkeleydb, - busybox, bzip2, clamav, cloop, cmake, collectd, connman-gtk, - dahdi-linux, dahdi-tools, daq, dehydrated, dhcp, dovecot, - dovecot-pigeonhole,, elfutils, evtest, exim, expect, giflib, - git, glib-networking, glibc, gnupg2, gnutls, go, - gst1-rtsp-server, gtkperf, gupnp-tools, gvfs, imagemagick, - imx-uuc, intel-microcode, json-glib, lftp, libbsd, libcurl, - libgit2, libgtk2, libgtk3, libmodplug, libnss, libpri, - libshout, libss7, libssh2, libvips, libxcb, linux-headers, - mdadm, mesa3d, metacity, mpg123, mosquitto, musl, nginx, - oniguruma, openblas, opencv3, openjdk, openjdk-bin, openldap, - openvmtools, pcmanfm, php, pigpio, postgresql, prboom, - proftpd, proj, python, python-django, python-idna, - python-numpy, python-urllib3, python3, qemu, qt5, qt5base, - qt5enginio, quagga, rygel, squid, subversion, tcpreplay, - unzip, vlc, vte, webkitgtk, wireless-regdb, xen, - xfont_font-util, xlib_libICE, xlib_libXfont, xlib_libXfont2, - yad, zeromq - - Issues resolved (http://bugs.uclibc.org): - - #11741: pigpio does not build host-pigpio - #11876: automount using host mount/umount - #11881: Build breaks with lftp package enabled and libexpat1-dev inst.. - #11921: dahdi fails to build - #11961: libpri build failure - #12086: (dhcpd-missing-libs) - dhcp shared libraries not installed to.. - #12096: tcpreplay: build fails if libdumbnet-dev is installed in the.. - #12106: daq: build fails if libdumbnet-dev is installed in the host - #12126: vc4 has neon as hard dependency - -2019.05.1, Released July 7th, 2019 - - Important / security related fixes. - - arch: x86: Fix typo breaking 'core-avx2' variant - - linux: Workaround -Werror related build failure on powerpc, - by forcing CONFIG_PPC_DISABLE_WERROR on. - - support/testing: Emulate a machine with 256MB RAM to fix - issues with certain tests running out of memory. - - test-pkg: Correct long option handling and clean output dir - after a successful build to save disk space. - - Defconfigs: QEMU: use 'rootwait' kernel option to ensure root - partition is available before mounting. - - Updated/fixed packages: barebox, busybox, bzip2, davfs2, - dialog, docker-cli, docker-engine, exim, expat, faad2, - haveged, irssi, libcamera, libcdaudio, libcurl, libglib2, - libressl, libsecret, lmbench, meson, monit, php, postgresql, - psplash, python-django, qt5base, tvheadend, webkitgtk, - xserver_xorg-server, znc - -2019.05, released June 2nd, 2019 - - Various fixes. - - Toolchain: Ensure pre-built Andes toolchains can only be - selected when x86 32bit support is available on the host. - Disallow PowerPC SPE ABI for GCC >= 8.x, as it is no longer - supported. - - Infra: pkg-config: Use a dedicated timestamp file rather than - .config as that gets touched by linux-4.19+, causing repeated - builds. - - Add C-SKY support to our config.sub (gnuconfig) - - Updated/fixed packages: dosfstools, botan, brotli, dropbear, - flare-engine, gst1-plugins-bad, libhtp, libnss, libopenssl, - linuxptp, matchbox-panel, mender, mutt, netsurf, - network-manager, opencv3, openjdk, openmpi, php, - python-cython, qt5multimedia, qtwayland, qt5webkit-examples, - supertux, suricata, tpm2-totp, v4l2loopback, wireshark, - wpewebkit - -2019.05-rc3, released May 25th, 2019 - - Fixes all over the tree. - - check-bin-arch: Ignore /usr/lib/grub, similar to how /lib/grub - is ignored. - - check-package: Warn about utf-8 characters in .mk files - - Linux: Default to 5.1.x series - - Updated/fixed packages: assimp, atop, chocolate-doom, cjson, - ddrescue, dhcp, ffmpeg, gerbera, glibmm, gpsd, gst-ffmpeg, - intel-microcode, jasper, keepalived, kismet, libcpprestsdk, - libcurl, libssh2, libupnp18, luarocks, mono-gtksharp3, opus, - postgresql, pcsc-lite, python, tslib, webkitgtk, - wpebackend-fdo, wpewebkit - -2019.05-rc2, released May 15th, 2019 - - Fixes all over the tree. - - Updated/fixed packages: bind, bullet, ca-certificates, - collectd, cracklib, dhcp, gdb, libinput, libtorrent-rasterbar, - linknx, lynx, mono, netsurf, optee-os, postgresql, qt5enginio, - qt5multimedia, rpm, samba4, sqlite, strace, uclibc, woff2 - - Issues resolved (http://bugs.uclibc.org): - - #11841: grub-efi.cfg not used when building EFI disk image - -2019.05-rc1, Released May 8th, 2019 - - Fixes all over the tree and new features. - - Architecture: Andes 32-bit (nds32) support added. - - Only build host-lzip / host-xz when really needed by packages, - not just when not available on the build host. - - Toolchain: Glibc bumped to 2.29, musl bumped to 1.1.22, - binutils 2.32 added, 2.28/2.29 removed, default changed to - 2.31.1. - - fs: Set FAKEROOTDONTTRYCHOWN environment variable to not - forward {f,l,}chown calls to libc when running under fakeroot - to fix issues when building in restricted environments - (E.G. user namespace with bubblewrap). - - Linux: Also build default make target to ensure extra files - like the gdb scripts enabled by CONFIG_GDB_SCRIPTS are also - built. Notice: This may mean that extra host utilities like - uboot-mkimage are needed. - - Infrastructure: show-info and -show-info make targets - added to output package metadata in JSON format for external - use. - - pkg-generic: Only tweak .la files needing it to ensure they - are not included in subsequent package file lists. - - test-pkg: Generate a basic package config if none is - specified. - - Gettext-tiny package added as an lightweight replacement for - GNU gettext for situations where NLS support is not needed. - - New defconfigs: Andes AE3XX, Freescale imx8mpico / imx8qxpmek - / T2080 QDS RDB, Licheepi zero, Orangepi R1 - - Removed defconfigs: Olimx A20 Olinuxino Lime legacy - - New packages: bats-core, bayer2rgb-neon, brickd, cog, dacapo, - enet, gettext-tiny, gli, gst1-plugins-bayer2rgb-neon, - imx-sc-firmware, intel-mediadriver, intel-mediasdk, libcamera, - libhtp, libp11, libwpe, lua-binaryheap, lua-gd, lua-lunitx, - mender-artifact, most, oniguruma, openjdk, openjdk-bin, - opensbi, optee-benchmark, optee-client, optee-examples, - optee-os, optee-test, paho-mqtt-cpp, python-aioblescan, - python-aioconsole, python-aiohttp-cors, python-aiomonitor, - python-backcall, python-jedi, python-parso, python-pyjwt, - python-terminaltables, suricata, tpm2-totp, uftp, - wpebackend-fdo, wpewebkit - - Removed packages: libump, lunit, sunxi-mali - - Issues resolved (http://bugs.uclibc.org): - - #11716: Typo on website, saying latest release is 2018.2.11 - #11756: package/syslinux: MBR's don't fit because of binutils.. - #11761: Building custom kernel 5.1-rc3 or later breaks on objtool - #11816: Only selected coreutils binaries are installed - -2019.02.11, released April 9th, 2020 - - Important / security related fixes. - - core: Fix compatibility with make 4.3+. Also fixup /lib - references in libtool .la files, similar to how it is done for - /usr/*. - - toolchain: Fix kernel headers validation check for external - toolchains. - - Updated/fixed packages: barebox-aux, bluez5_utils, busybox, - civetweb, collectd, ffmpeg, gcc, gnutls, gvfs, haproxy, - hiredis, kmscube, libical, libopenssl, libsndfile, - linux-tools, ntp, php, pure-ftpd, screen, sysdig, tor, - util-linux, vala, vlc, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #12746: "sysdig" package description points to http://sysdig.org, .. - -2019.02.10, released March 16th, 2020 - - Important / security related fixes. - - Core: Ensure package-file-lists data is correct after - incremental builds as well. - - Fix a race condition related to creating the output/staging - symlink on systems with coreutils < 8.27. - - Br2-external: Fix compatibility with make 4.3+ - - Util-linux: Ensure that hwclock is built without GPLv3 - code. Notice that builds with hwclock has contained - GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+) - - Updated/fixed packages: armadillo, at, binutils, blktrace, - bootstrap, busybox, cairo, cups, czmq, dnsmasq, - docker-containerd, dovecot, dovecot-pigeonhole, e2fsprogs, - eudev, exim, exiv2, fbgrab, grep, gst1-validate, guile, - imagemagick, jhead, kvm-unit-tests, lapack, libcgroup, - libftdi1, libjpeg, libsigrok, libsndfile, libssh2, libsvgtiny, - libvncserver, libvorbis, libxml2, libxslt, linux, lz4, - mariadb, mbedtls, meson, mfgtools, mongoose, ncurses, ntfs-3g, - opencv3, openjpeg, openswan, openvmtools, patch, php, - postgresql, pppd, proftpd, pure-ftpd, python-django, - python-pyqt5, python3, qemu, qt5base, qt5webengine, qwt, - rdesktop, ruby, runc, samba4, shellinabox, smartmontools, - sqlcipher, squid, swupdate, sysklogd, taglib, thrift, - ti-cgt-pru, uboot, util-linux, vorbis-tools, webkitgtk, - wireshark, xen, xserver_xorg-server, zeromq, zsh - - Issues resolved (http://bugs.uclibc.org): - - #11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16 - #12331: meson issue - #12461: libglib2 build files with deep directory structure - #12606: fbgrab location has changed - -2019.02.9, released January 12th, 2020 - - Important / security related fixes. - - pkg-python infrastructure: Ensure correct compiler and linker - flags are used for compiled code - - utils/scanpypi: Remind users to update DEVELOPERS - - Updated/fixed packages: busybox, cc-tool, cpio, cups, dante, - dillo, docker-cli, docker-containerd, docker-engine, easy-rsa, - ecryptfs-utils, efl, git, glibc, gnupg2, gst1-plugins-bad, - kf5-kcoreaddons, libarchive, libgit2, libkrb5, librsvg, - libssh, libtomcrypt, libuio, lirc-tools, lvm2, - matchbox-desktop, nodejs, ntp, opencv3, openpowerlink, - python-django, python-ecdsa, python-pyasn-modules, - python-pyqt5, python-subprocess32, python3, qpdf, runc, rygel, - samba4, sdl2, wavpack, xserver_xorg-server, zip - - Issues resolved (http://bugs.uclibc.org): - - #12121: PyQt5.QtSerialPort and other modules not being built - -2019.02.8, released December 7th, 2019 - - Important / security related fixes. - - Infrastructure: Make HOST__DL_OPTS inherit from - _DL_OPTS by default, just like it is done for a number of - other package variables - - Add _KEEP_PY_FILES to exclude specific python .py files - from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for - the (rare) case where the .py files are needed at runtime - rather than .pyc. - - Fix -reconfigure handling for packages using the kconfig - infrastructure. - - Toolchain: ensure external toolchain kernel headers version - check correctly stop the build on mismatch - - Deconfigs: beaglebone: fix boot issue - - Updated/fixed packages: am33x-cm3, asterisk, bind, chrony, - clamav, collectd, connman, faifa, gob2, haproxy, - intel-microcode, ipsec-tools, jasper, jpeg-turbo, kodi, - kvm-unit-tests, libftdi, libftdi1, libnss, libstrophe, - libsvgtiny, lvm2, lzma, mariadb, minicom, neardal, nodejs, - opencv3, openvmtools, oracle-mysql, perl-gdgraph, - perl-gdtextutil, php, postgresql, prosody, python-django, - rabbitmq-c, rauc, redis, rpcbind, socat, spice, - spice-protocol, tftpd, tiff, webkitgtk - - New packages: libmspack - - Issues resolved (http://bugs.uclibc.org): - - #12166: Compiling nodejs for SAMA5D3 always crash with illegal inst.. - #12171: Python-opencv needs config.py and config-3.7.py to run.. - #12211: host-nodejs 10.15.3 package fail to build - #12316: tzdata fails to install with empty "default local time" - -2019.02.7, Released November 10th, 2019 - - Important / security related fixes. - - support/testing: use a kernel with HW_RANDOM_VIRTIO to work - around issues with lack of entrophy - - Toolchain: Also copy libssp.so for external toolchains if SSP - is enabled to handle toolchains providing SSP support in - libssp rather than in the C library - - Download: Also use the package download method for extra - downloads from the same site, so it does not get confused by - URLs containing '+' - - Fakeroot now works correctly under Microsoft Windows 10 - Services for Linux, which does not provide SYSV IPC support - - utils/test-pkg: ensure to exit with an error upon failure - - Updated/fixed packages: asterisk, azmq, cups-filters, - domoticz, duma, elf2flt, eudev, exfat, exfat-utils, fakeroot, - file, freerdp, gd, ghostscript, go, gvfs, intel-microcode, - kvm-unit-tests, libarchive, libnspr, libnss, libopenssl, - libpcap, libpciaccess, librsvg, libseccomp, libsigrok, - libtorrent, libunwind, linux-tools, lua-sdl2, lxc, minizip, - mjpegtools, mongoose, php, python, python-pysnmp-apps, - python3, qemu, qt5base, ruby, safeclib, samba4, sdl_mixer, - sox, sudo, systemd, tcpdump, unscd, util-lkinux, vtun, xvisor, - yaffs2utils - - Issues resolved (http://bugs.uclibc.org): - - #11366: [2018.08] SysV IPC not available for fakeroot on WSL - #12261: sudo versions prior to 1.8.28 are affected - -2019.02.6, Released October 3rd, 2019 - - Important / security related fixes. - - Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone: - Use default console settings - - Dependencies: Ensure host has JSON::PP perl module installed - if webkitgtk/wpewebkit packages are enabled as it is needed - during their build process. - - Toolchain: Generate check-headers program under BUILD_DIR - rather than /tmp to fix issues with distributions mounting - /tmp noexec. - - Updated/fixed packages: asterisk, augeas, bind, bwm-ng, cups, - cups-filters, docker-cli, docker-engine, docker-proxy, - dropbear, e2fsprogs, eudev, exim, expat, gcc, go, ifplugd, - haveged, iptables, joe, kf5-extra-cmake-modules, - kf5-modemmanager-qt, kf5-networkmanager-qt, libcurl, - libgcrypt, libgpg-error, libnftl, libnspr, libnss, libopenssl, - luksmeta, mariadb, mbedtls, mongodb, mosquitto, ncurses, - nfs-utils, nghttp2, nodejs, openvmtools, php, protobuf, putty, - qemu, qt5base, samba4, swupdate, systemd-bootchart, thttpd, - uclibc, unzip, util-linux, wireshark - - Issues resolved (http://bugs.uclibc.org): - - #10806: Allow nfs-utils to use ipv6 - #11781: mariadb build error - #12031: Build of cups-filters fails while linking, apparently due.. - #12141: eudev package is missing "render" and "kvm" groups - #12181: dropbear: norootlogin (-w) no longer works when PAM is enabled - #12241: Permission denied while running "make" - -2019.02.5, Released September 2nd, 2019 - - Important / security related fixes. - - Filesystems: Pass extra pax options to tar for binary - reproducibility. - - Updated/fixed packages: apache, arm-trusted-firmware, - asterisk, atk, autofs, batctl, batman-adv, berkeleydb, brotli, - busybox, bzip2, clamav, cloop, cmake, collectd, connman-gtk, - cryptopp, dahdi-linux, dahdi-tools, daq, dehydrated, dovecot, - dovecot-pigeonhole,, elfutils, evtest, exim, expect, giflib, - git, glib-networking, glibc, gnupg2, gnutls, go, - gst1-rtsp-server, gtkperf, gupnp-tools, gvfs, imagemagick, - imx-uuc, intel-microcode, json-glib, lftp, libbsd, libcurl, - libgit2, libgtk3, libmodplug, libnss, libpri, libshout, - libss7, libssh2, libvips, libxcb, linux-headers, mdadm, - mesa3d, metacity, mpg123, mosquitto, musl, nginx, openblas, - opencv3, openldap, openvmtools, pcmanfm, php, pigpio, - postgresql, prboom, proftpd, proj, python, python-django, - python-idna, python-numpy, python-urllib3, python3, qemu, qt5, - qt5base, qt5enginio, quagga, rygel, squid, subversion, - tcpreplay, unzip, vlc, vte, webkitgtk, weston, wireless-regdb, - xen, xfont_font-util, xlib_libICE, xlib_libXfont, - xlib_libXfont2, yad, zeromq - - Issues resolved (http://bugs.uclibc.org): - - #11741: pigpio does not build host-pigpio - #11876: automount using host mount/umount - #11881: Build breaks with lftp package enabled and libexpat1-dev inst.. - #11921: dahdi fails to build - #11961: libpri build failure - #12096: tcpreplay: build fails if libdumbnet-dev is installed in the.. - #12106: daq: build fails if libdumbnet-dev is installed in the host - #12126: vc4 has neon as hard dependency - -2019.02.4, Released July 10th, 2019 - - Important / security related fixes. - - arch: x86: Fix typo breaking 'core-avx2' variant, add Westmere - variant. - - linux: Workaround -Werror related build failure on powerpc, - by forcing CONFIG_PPC_DISABLE_WERROR on. - - support/testing: Emulate a machine with 256MB RAM to fix - issues with certain tests running out of memory. - - test-pkg: Correct long option handling and clean output dir - after a successful build to save disk space. - - Ensure custom _OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS are - passed before the standard exclusions so they are not ignored - by rsync when using override-srcdir. - - Defconfigs: QEMU: use 'rootwait' kernel option to ensure root - partition is available before mounting. - - Updated/fixed packages: barebox, bzip2, davfs2, dbus, dialog, - docker-cli, docker-engine, expat, faad2, ffmpeg, freeswitch, - gerbera, haveged, irssi, libcdadio, libgit2, libglib2, - libsecret, libvncserver, lmbench, logrotate, mariadb, meson, - mongoose, monit, mpd, openblas, php, postgresql, psplash, - python, python-django, python3, qt5base, samba4, taglib, - tvheadend, vlc, webkitgtk, xserver_xorg-server, znc - -2019.02.3, Released June 7th, 2019 - - Important / security related fixes. - - Infra: pkg-config: Use a dedicated timestamp file rather than - .config as that gets touched by linux-4.19+, causing repeated - builds. - - check-bin-arch: Also ignore /usr/lib/grub to support merged - /usr setups, similar to how /lib/grub is ignored. - - gnuconfig/config.sub: Add C-SKY architecture support. - - Updated/fixed packages: assimp, atftp, atop, botan, busybox, - ca-certificates, chocolate-doom, cjson, coreutils, cracklib, - ddrescue, dhcp, docker-cli, docker-containerd, docker-engine, - dosfstools, dovecot, dovecot-pigeonhole, dropbear, exim, - ffmpeg, flare-engine, gcc, gdb, gerbera, glibmm, go, gpsd, - gst-ffmpeg, gst1-plugins-bad, gst1-plugins-base, imagemagick, - intel-microcode, jasper, kf5-kcoreaddons, kismet, libcurl, - libglib2, libnss, libopenssl, libsigrok, libssh2, libupnp18, - linuxptp, luajit, lynx, matchbox-panel, mender, - netcat-openbsd, netsurf, nfs-utils, opus, orc, owfs, - pcsc-lite, php, popt, postgresql, python, python-cython, - python-django, python-ply, qt5enginio, rpm, runc, samba4, - sqlite, subversion, supertux, systemd, tslib, uclibc, - v4l2loopback, webkitgtk, woff2 - - Issues resolved (http://bugs.uclibc.org): - - #11816: Only selected coreutils binaries are installed - #11841: grub-efi.cfg not used when building EFI disk image - #11911: systemd v240 memory leak in systemd-journald - -2019.02.2, Released April 29th, 2019 - - Important / security related fixes. - - Only build host-lzip / host-xz when really needed by packages, - not just when not available on the build host. - - fs: Set FAKEROOTDONTTRYCHOWN environment variable to not - forward {f,l,}chown calls to libc when running under fakeroot - to fix issues when building in restricted environments - (E.G. user namespace with bubblewrap). - - Linux: Also build default make target to ensure extra files - like the gdb scripts enabled by CONFIG_GDB_SCRIPTS are also - built. Notice: This may mean that extra host utilities like - uboot-mkimage are needed. - - Defconfigs: ASUS tinker and Amarula vyasa rk3822: Support - larger kernel images, Atmel SAM5D27, SAM5D2,3,4 xplained: - Increase rootfs size to fit utilities, Raspberry Pi 64bit: - Include overlays in sdcard image - - Updated/fixed packages: android-tools, apache, bind, binutils, - busybox, civetweb, cjson, copas, davfs2, docker-cli, - docker-containerd, docker-engine, dovecot, dovecot-pigeonhole, - freerdp, gerbera, ghostscript, git, gnutls, go, gst-omx, - gst1-plugins-base, gst1-plugins-ugly, haproxy, hostapd, - ipsec-tools, libfreefare, libfuse, libkrb5, libpng, libxml2, - libxslt, linknx, linux, linux-firmware, linux-tools, live555, - lldp, lrzsz, lynx, madplay, make, minicom, mongodb, msmtp, - musl, mutt, neon, netsnmp, numactl, opus, perl, php, - postgresql, pure-ftpd, python-urllib3, python3, qt5base, - rapidxml, rpm, rsyslog, ruby, runc, samba4, sane-backends, - softether, stunnel, sysklogd, syslinux, syslog-ng, - systemd-bootchart, thttpd, thrift, tiff, tor, tpm2-tools, - tpm2-tss, webkitgtk, yaffs2utils, wget, wpa_supplicant, wsapi, - xapp_xfd, xapp_xload, xlib_libXpm, xserver_xorg-server, xz, - znc - - Issues resolved (http://bugs.uclibc.org): - - #11756: package/syslinux: MBR's don't fit because of binutils.. - #11761: Building custom kernel 5.1-rc3 or later breaks on objtool - -2019.02.1, Released March 29th, 2019 - - Important / security related fixes. - - pkg-generic: Only tweak .la files needing it to ensure they - are not included in subsequent package file lists. - - test-pkg: Generate a basic package config if none is - specified. - - Updated/fixed packages: asterisk, avahi, bash, beecrypt, - binutils, busybox, clamav, cups, efl, eigen, fetchmail, file, - flashrom, fltk, gerbera, git, glibc, gnuradio, go, - gst-plugins-bad, intel-gmmlib, jq, kexec, kf5-modemmanager-qt, - leveldb, libcurl, libdrm, libftdi1, libglib2, libiio, libpcap, - libseccomp, libssh2, log4cplus, lvm2, mariadb, mender, - mongodb, mosquitto, musl, nodejs, ntp, openjpeg, owfs, php, - pure-ftpd, putty, python-aiojobs, qt5webkit, rdesktop, samba4, - sunxi-tools, supertux, swupdate, tpm2-abrmd, tpm2-tss, - wavemon, wireshark, vsftpd, xapp_xdm, xen, - xdriver_xf86-video-fbdev, xlib_libXdmcp - - Issues resolved (http://bugs.uclibc.org): - - #11716: Typo on website, saying latest release is 2018.2.11 - -2019.02, released March 4th, 2019 - - Minor fixes. - - Libressl support added for Qt 5.6 as a replacement for - openssl, as 5.6 is not compatible with openssl 1.1.x. - - Updated/fixed packages: cutelyst, devmem2, gqrx, - gst-plugins-bad, libraw, libsoxr, qt5base, runc, systemd, tor - -2019.02-rc3, released March 1st, 2019 - - Fixes all over the tree. - - Openssl support dropped from Qt 5.6, as it isn't compatible - with openssl 1.1.x. - - Toolchain: GCC 8.x updated to 8.3.0, fixing a number of - issues. - - Dependencies: Require CMake 3.8 or newer to fix compilation - issue with certain packages. If not available, host-cmake will - instead be built. - - Printvars: Fix performance regression since 2018.02 - - Scanypi: Correctly handle underscores in python package names. - - Updated/fixed packages: botan, clamav, cryptopp, i2pd, - ibrcommon, iproute2, libcpprestsdk, libssh, lua-curl, - luaexpat, qt5base, runc, stress-ng, syslinux, systemd, - upmpdcli, zbar - - Issues resolved (http://bugs.uclibc.org): - - #9966: util-linux-2.30/.stamp_built' failed - #11696: possible typo in board/pc/post-build.sh - -2019.02-rc2, released February 23th, 2019 - - Fixes all over the tree. - - Removed zynq_zybo defconfig, as it hasn't seen any update - since it was added in 2016, and uses a U-Boot version not - compatible with openssl-1.1.x. - - Linux: Ignore user supplied downloadable hashes, as no hash - checksums are available for those. - - Updated/fixed packages: bind, cryptopp, docker-containerd, - dtc, efivar, gdb, imagemagick, ipmiutil, libcpprestsdk, - libcurl, libgpiod, libid3tag, libv4l, log4cplus, luvi, - madplay, mender, mosquitto, poco, postgresql, proftpd, - pulseaudio, python-django, qemu, qt5base, qwt, rabbitmq-c, - reaver, safeclip, stress-ng, swupdate, syslog-ng, systemd, - tor, unzip, xenomai - - Issues resolved (http://bugs.uclibc.org): - - #11501: compile sdl2 with enable wayland - #11681: .. unable to initialize decompress status for section.. - -2019.02-rc1, released February 13th, 2019 - - Fixes all over the tree and new features. - - - Dependencies: - - Require Python >= 2.7 as it is needed for E.G. building - libglib2. - - Ensure GNU gzip is used for reproducible tarballs (instead of - pigz) - - - Infrastucture: - - Ensure the PLATFORM and OS environment variables are not set, - as they cause build issues for some packages. - - The package list infrastructure now correctly handles packages - installing files with old mtime. - - Add a config option to force all optional host utilities to be - built, even if suitable versions are available on the build - machine. - - graph-build-time: Also show time spent downloading - - Download: fixes for SSH/SCP support - - Ensure user provided permissions override permissions from - packages. - - SDK: Fix handling of relative symlinks (targets starting with - '.' or '..') - - BR2_SYSTEM_DEFAULT_PATH setting to customize the default path - for processes. - - The custom skeleton logic will now populate the needed /bin, - /lib, /sbin directories/symlinks if not present. Merged /usr - can now be used with a custom skeleton. - - Rootfs overlays can now override symbolic links from - packages. This was disabled to ensure the correct symbolic - links are present when merged /usr is used. Instead validate - that the rootfs overlays do not include invalid /bin, /sbin - and /lib entries. - - The waf infrastructure now support the _SUBDIR variable, - similar to the other package types. - - cmake: Also set CMAKE_SYSTEM_VERSION in toolchainfile.cmake - - Various improvements to the meson infrastructure. - - Luarocks: A Buildroot addon has been added to automate - creating a Buildroot package from luarocks, similar to - scancpan and scanpypi. - - scanpypi: protect against zip-slip vulnerability in zip/tar - handling - - check-package: fix Python 3 support - - get-developers: Fix behaviour when called from elsewhere than - the toplevel directory. - - pkg-stats: Show latest upstream version of each package, based - on data from release-monitoring.org - - kconfig: Fix for make linux-menuconfig / uboot-menuconfig from - a clean tree when ccache is enabled. - - Default to sha256 password encoding, drop md5 support. - - - Architecture: - - Support for RISC-V 32bit architecture, ARM A55, 75 and Saphira - variants, MIPS support for mips32r3, mips64r3 and Marvell - Octeon II/III variants. - - - Toolchain: - - ARC toolchain 2018.09, ARM 8.2-2018.11, Codescape IMG/MTI MIPS - 2018.09-02, MUSL 1.1.21, GCC 6.5.0 / 7.4.0, GDB 8.2.1 - - - Packages: - - openssl: Bump to 1.1.1x series, bringing TLSv1.3 support and - long term support. - - fftw: Split into fftw-{single,double,long-double,quad} - packages for the different data precision options. - - libcurl: Now has explicit TLS backend selection options. - - linux: Support building device tree blobs with the -@ option - for device tree overlays. - - weston: The weston-imx i.MX variant is now used when - imx-gpu-viv is enabled - - pkgconf: Update to 1.5.3, which brings support for - --define-prefix (used by GStreamer) - - Add host-python3-setuptools package to handle host python - packages needing python3 with setuptools support. - - - New defconfigs: Aarch64 EFI, Orangepi one plus, Orangepi lite - 2, QEMU RISC-V 32bit virt, Rock64 - - - New packages: brcm-patchram-plus, clinfo, cunit, docker-cli, - erlang-p1-eimp, exempi, fail2ban, fftw-double, - fftw-double-long, fftw-quad, fftw-single, gerbera, grpc, - gst1-shark, intel-gmmlib, iwd, kf5-kcoreaddons, libeastl, - libpackagekite, libtorrent-rasterbar, lua-std-debug, - lua-std-normalize, mini-snmpd, netsurf, pamtester, pcm-tools, - python-aiodns, python-aiohttp, python-aiohttp-jinja2, - python-aiohttp-remotes, python-aiohttp-security, - python-aiohttp-session, python-aiohttpd-sse, python-aiojobs, - python-cchardet, python-pycares, python-sentry-sdk, - python-wtforms, python3-setuptools, rcw, rtc-tools, shim, - utp_com, vmtouch, websocketpp - - Removed packages: fftw, lua 5.2.x, luacrypto, perl-time-hires, - python-pyqt, qt, qtuio, tn5250 - - Issues resolved (http://bugs.uclibc.org): - - #10851: Patch to handle numpad Enter key properly - #11066: x11r7 X11 S40xorg leads to a black screen on QEMU x86.. - #11126: Bash Shell Programming using Buildroot - #11426: pps-tools bash dependency - #11476: stdio2.h error invalid use of __builtin_va_arg_pack - #11536: dt-utils building fails with glibc 2.28 - #11546: open-vm-tools with glibc 2.28 - #11566: Fix init script - #11576: Unable to start apache with event MPM on raspberry pi 3 - #11591: [pkgconf 1.5.3] xserver OpenGL support is missing - #11606: libjpeg has no Config.in - #11616: 2018.02.09 fails to build libzlib with full RELRO.. - #11656: Custom device tree and u-boot boot.scr not integrated.. - #11666: Touchscreen with (Py)Qt5 should use tslib instead of evdev - -2018.11.4, Released March 28th, 2019 - - Important / security related fixes. - - Updated/fixed packages: avahi, beecrypt, binutils, botan, - busybox, clamav, cups, devmem2, efl, fetchmail, file, fltk, - gcc, gdb, git, go, gst-plugins-bad, iproute2, jq, - kf5-modemmanager-qt, leveldb, libopenssl, libraw, libseccomp, - libsoxr, libssh2, mariadb, mosquitto, nodejs, ntp, openjpeg, - perl, php, putty, qt5webkit, rdesktop, runc, samba4, swupdate, - systemd, tor, vsftpd, wireshark, xapp_xdm, xen, xlib_libXdmcp - -2018.11.3, Released February 23th, 2019 - - Important / security related fixes. - - Ensure the PLATFORM and OS environment variables are not set, - as they cause build issues for some packages. - - The package list infrastructure now correctly handles packages - installing files with old mtime. - - Linux: Skip hash checks for user supplied downloadable - patches, as no hash checksums are available for those. - - scanpypi: protect against zip-slip vulnerability in zip/tar - handling - - Download: fixes for SSH/SCP support - - SDK: Fix handling of relative symlinks (targets starting with - '.' or '..') - - Updated/fixed packages: bind, dhcpcd, docker-compose, - docker-containerd, docker-engine, dovecot, dovecot-pigeonhole, - dtc, efivar, ghostscript, gnuradio, imagemagick, jpeg-turbo, - libarchive, libb64, libcurl, libgeotiff, libgpiod, libid3tag, - libupnp18, log4cplus, madplay, meson, mosquitto, openssh, php, - poco, postgresql, proftpd, pulseaudio, python, python-django, - python3, qt5base, reaver, runc, sg3_utils, sqlcipher, - swupdate, systemd, unzip, webkitgtk, xenomai - -2018.11.2, Released January 30th, 2019 - - Important / security related fixes. - - Defconfigs: Fixes for imx6slevk, imx7dsabresd, imx8mqevk, Lego - EV3, QEMU AArch64-virt - - Download: Fix scp download handling - - check-package: fix Python 3 support - - get-developers: Fix behaviour when called from elsewhere than - the toplevel directory. - - kconfig: Fix for make linux-menuconfig / uboot-menuconfig from - a clean tree when ccache is enabled. - - cmake: Also set CMAKE_SYSTEM_VERSION in toolchainfile.cmake - - Updated/fixed packages: acpica, apache, apr, avrdude, cargo, - cc-tool, dash, dhcpdump, dmalloc, docker-containerd, efivar, - fwts, glibc, gnuchess, gnupg2, go, leveldb, libarchive, - libassuan, libftdi1, libgpg-error, libhttpparser, libkcapi, - libmad, libsndfile, libsquish, liburiparser, libwebsock, - libxml2, lighttpd, llvm, lm-sensors, lua-msgpack-native, lxc, - mariadb, mbedtls, meson, mosquitto, netatalk, nodejs, odhcp6c, - openresolv, openssh, pango, patchelf, php, python-django, - python-numpy, python-pyyaml, rauc, rp-pppoe, s6-networking, - samba4, sdl_sound, shairport-sync, sqlite, subversion, - sunxi-cedarx, swupdate, systemd, tcpreplay, tekui, tmp2-abrmd, - tpm2-tools, tpm2-tss, udisks, unixodbc, usb_modeswitch, - webkitgtk, wireshark, wolfssl, xapp_rgb, xenomai, xerces - - Issues resolved (http://bugs.uclibc.org): - - #11576: Unable to start apache with event MPM on raspberry pi 3 - -2018.11.1, Released December 20th, 2018 - - Important / security related fixes. - - defconfigs: Fixes for bananapi m2 ultra, ci20 - - Download wrapper: Fix for urlencode handling - - Updated/fixed packages: asterisk, docker-compose, - docker-engine, dt-utils, gnutls, go, grub, libbsd, libcurl, - libpgpme, libiscsi, liblo, libmpd, libopenssl, liboping, - libpam-tacplus, libpjsip, linux-firmware, liquid-dsp, - lua-cqueue, luvi, lxc, lynx, nginx, nodejs, openzwave, php, - pps-tools, proftpd, prosody, sdl2_net, squashfs, swupdate, - uclibc, vtu, webkitgtk, wine, xen - - New packages: docker-cli - - Issues resolved (http://bugs.uclibc.org): - - #11426: pps-tools bash dependency - #11536: dt-utils building fails with glibc 2.28 - -2018.11, Released December 1st, 2018 - - Minor fixes. - - Updated/fixed packages: c-ares, quagga, squid - -2018.11-rc3, released November 30th, 2018 - - Fixes all over the tree. - - Defconfigs: Fixes for Armadeus APF27, imx6sabre, Olimex A20 - olinuxino lime legacy, Orangepi zero plus 2, PC, Riotboard. - - graph-depends: Fix for package names starting with a non-alpha - character. - - Updated/fixed packages: alsa-utils, botan, dante, domoticz, - dtc, freetype, gauche, gcc, gdb, ghostscript, glibc, - imx-usb-loader, libbsd, libid3tag, libkrb5, libmicrohttpd, - libopenssl, libsoxr, linux, motion, msgpack, mtd, - perl-net-ssleay, php, popt, python-numpy, qt5declarative, - samba4, shadowsocks-libev, stress-ng, systemd, usb_modeswitch, - webkitgtk, valgrind, weston, xfsprogs - -2018.11-rc2, released November 21th, 2018 - - Fixes all over the tree. - - fs: Drop intermediate tarball from the filesystem handling to - fix an issue with xattrs handling related to fakeroot. Ensure - tarball target includes xattrs. - - download: Fix confusion in git submodule handling if dl/ is a - symlink. - - genrandconfig: Fix missing newline in BR2_WGET handling, - causing the following line to be ignored. This would affect - BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX, BR2_INIT_SYSTEMD, - BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, BR2_STATIC_LIBS or - BR2_PACKAGE_PYTHON_PY_ONLY depending on the randomization. - - show-build-order: Also include the dependencies of - rootfs-common. - - Fix a number of build issues in packages for the recently - merged RISC-V architecture support. - - Updated/fixed packages: dt-utils, easydbus, elfutils, - flare-engine, flatcc, glibc, gstreamer, gstreamer1, imx-uuc, - libassuan, libcorrect, libiscsi, libkrb5, libmicrohttpd, - libnftnl, libnspr, libnss, libsemanage, libsigsegv, libv4l, - ltp-testsuite, luv, luvi, make, ncmpc, netplug, openocd, - prosody, qemu, rpm, sconeserver, shadowsocks-libev, - supertuxcart, syslinux, systemd, trace-cmd, uclibc, - uclibc-ng-test, vtun, webkitgtk, weston, wireshark, xen, - xlib_libfontenc - - Issues resolved (http://bugs.uclibc.org): - - #11086: download/git submodule breaks on symlinked dl folder - #11216: Capabilities not applied to filesystem - -2018.11-rc1, released November 9th, 2018 - - Fixes all over the tree and new features. - - Architecture: RISC-V support (64bit) added. - - Toolchain: Glibc bumped to 2.28. Fortran support for external - toolchains. ARM (Linaro) toolchains updated to 8.2-2018.08. - - Hardening flags (RELRO) are now handled by the toolchain - wrapper instead of explicitly through CFLAGS/LDFLAGS, fixing a - number of issues. - - Filesystems: Support for creating btrfs and f2fs filesystems - added. - - Add a number of patches to fix build errors for host utilities - on modern distributions using glibc-2.28. - - mkusers: Ensure existing group members are preserved when a - group is reprocessed. - - printvars: Fix issue with exceeding shell command line length - limits for certain setups. - - Workaround added for incompatibility issues between host-dtc - and older U-Boot and Linux kernel versions. - - Detect and reject build paths containing '@', as this confuses - a number of packages, including GCC. - - utils/diffconfig: Make it work for (non-Buildroot) config - files not using the BR2_ prefix. - - New defconfigs: Amarula a64-relic, Bananapi m2 ultra, Embest - riotboard, Hardkernel Odroid XU-4, QEMU riscv64-virt. - olimex_a20_olinuxion_lime_mali is renamed to _legacy. - - OpenCL infrastructure support added, similar to how OpenGL is - handled. - - Linux-headers: Support for kernel headers from a custom - tarball / git repo added. - - New packages: bird, bluez5_utils-headers, btrfs-progs, - checksec, davici, duktape, ell, haproxy, libclc, libcorrect, - libopencl, libopenresolv, nss-myhostname, - perl-apache-logformat-compiler, perl-appconfig, - perl-astro-suntime, perl-class-inspector, perl-class-load, - perl-class-method-modifiers, perl-class-std, - perl-class-std-fast, perl-cookie-baker, perl-data-dump, - perl-data-optlist, perl-data-uuid, perl-data-manip, - perl-dbd-mysql, perl-dbi, perl-devel-globaldestruction, - perl-devel-stacktrace, perl-devel-stacktrace-ashtml, - perl-device-serialport, perl-dist-checkconflicts, - perl-exporter-tiny, perl-file-sharedir, perl-file-slurp, - perl-filesys-notify-simple, perl-hash-multivalue, - perl-http-entity-parser, perl-http-headers-fast, - perl-http-multipartparser, perl-io-interface, - perl-io-socket-multicast, perl-json-maybexs, perl-mime-tools, - perl-module-implementation, perl-module-runtime, perl-moo, - perl-number-bytes-human, perl-package-stash, perl-params-util, - perl-plack, perl-posix-strftime-compiler, perl-role-tiny, - perl-streams-buffered, perl-sub-exporter-progressive, - perl-sub-install, perl-sub-quote, perl-sys-cpu, - perl-sys-meminfo, perl-sys-mmap, perl-time-parsedate, - perl-type-tiny, perl-www-form-urlencoded, perl-x10, pigpio, - python-async-timeout, python-falcon, python-fire, - python-mimeparse, python-multidict, python-passlib, - python-pigpio, python-pip, python-ply, python-py, - python-pyasn1, python-pyasn1-modules, python-pycryptodomex, - python-pyhamcrest, python-pysmi, python-scapy, python-semver, - python-serial-asyncio, python-typing, python-uvloop, - pythonwrapt, python-yarl, python-zeroconf, riscv-pk, sedutil, - spandsp, tini, waffle, xapian - - Removed packages: bootutils, dsp-tools, expedite, gst-dsp, - xloader - - Issues resolved (http://bugs.uclibc.org): - - #11116: Buildroot should set PYTHON_EGG_CACHE instead of writing .. - #11156: In python3 module 'socket' has no attribute 'AF_BLUETOOTH' - #11166: Erlang bad argument on valid uint64 when crosscompiled on.. - #11206: zlib: fails to build with Linaro toolchain, BR2_RELRO_FULL.. - #11241: ACPID shouldn't depend on BR2_x86_64 || BR2_i386 - #11251: Util scanpypi failes when package change - to _ in tar file - #11266: qt5base-5.11.1 does not compile with musl, complains about.. - #11286: python-rpi-gpio only should depend on BR2_arm || BR2_aarch64 - #11321: Latest master fails to build readline with RELRO FULL - #11326: sysvinit fails to build in latest GIT master - #11331: Internal application no longer builds with latest GIT master - #11336: nfs-utils fails to build in latest GIT master - #11351: build root-2018-08, linaro aarch64 compile error - #11376: mdmon binary missing - #11391: Valgind availability on ARM - #11396: uboot environment image checksum invalid if target is big endian - #11421: GCC error message for ARM Cortex-A9/ARM.V7 - #11451: Can't find libmpfr.so.4 when using external toolchain on ubuntu.. - #11481: Docs: Is external.desc required? - -2018.08.4, Released December 20th, 2018 - - Important / security related fixes. - - Defconfigs: Fixes for ci20, orangepi zero plus 2 - - Download wrapper: Fix for urlencode handling - - Updated/fixed packages: c-ares, dante, docker-compose, - domoticz, freetype, ghostscript, gnutls, libcurl, libgpgme, - libid3tag, libiscsi, libmpd, libopenssl, liboping, libpjsip, - linux-firmware, liquid-dsp, luvi, lynx, msgpack, nginx, - nodejs, php, popt, pps-tools, prosody, python-numpy, - python-requests, samba4, sdl2_net, squashfs, swupdate, - systemd, uclibc, vte, webkitgtk, wine, xfsprogs - - Issues resolved (http://bugs.uclibc.org): - - #11426: pps-tools bash dependency - -2018.08.3, Released November 26th, 2018 - - Important / security related fixes. - - fs: Drop intermediate tarball from the filesystem handling to - fix an issue with xattrs handling related to fakeroot. Ensure - tarball target includes xattrs. - - download: Fix confusion in git submodule handling if dl/ is a - symlink. - - toolchain: Only allow enabling stack protection on - architectures with control flow integrity (CFI) support. Only - allow FORTIFY_SOURCE support on gcc >= 6. - - genrandconfig: Fix missing newline in BR2_WGET handling, - causing the following line to be ignored. This would affect - BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX, BR2_INIT_SYSTEMD, - BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, BR2_STATIC_LIBS or - BR2_PACKAGE_PYTHON_PY_ONLY depending on the randomization. - - show-build-order: Also include the dependencies of - rootfs-common. - - Defconfigs: Fixes for Armadeus APF27, imx6sabre, Olimex A20 - olinuxino lime legacy, Orangepi zero plus 2. - - graph-depends: Fix for package names starting with a non-alpha - character. - - Updated/fixed packages: attr, audit, bind, brotli, busybox, - dtc, easydbus, elfutils, flare-engine, flatcc, gauche, gcc, - giflib, gpsd, lcdproc, libcurl, libiscsi, libkcapi, libnfs, - libnspr, libnss, libsemanage, liburiparser, lighttpd, - lua-curl, mariadb, mmc, mosquitto, mysql, ncmpc, neardal, - netplug, network-manager, nfs-utils, nginx, openocd, openswan, - p11-kit, postgresql, prosody, qemu, qt, rpm, ruby, samba4, - squid, supertuxkart, systemd, tar, trace-cmd, traceroute, - twolame, uclibc, usb_modeswitch, vtun, webkitgtk, weston, - xdriver_xf86-video-geode, xlib_libfontenc, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #11086: download/git submodule breaks on symlinked dl folder - #11481: Docs: Is external.desc required? - -2018.08.2, Released October 25th, 2018 - - Important / security related fixes. - - Workaround added for incompatibility issues between host-dtc - and older U-Boot and Linux kernel versions. - - Detect and reject build paths containing '@', as this confuses - a number of packages, including GCC. - - utils/get-developers: Add -e option for use with git - send-email. - - utils/diffconfig: Make it work for (non-Buildroot) config - files not using the BR2_ prefix. - - u-boot: Fix for environment image handling on big endian - systems. - - Updated/fixed packages: binutils, ca-certificates, - cups-filters, dtc, erlang, file, freetype, gcc, git, gvfs, - jasper, leveldb, libarchive, libssh, live555, ljlinenoise, - mariadb, mongoose, netsnmp, nmap, nodejs, ntp, open-plc-utils, - poco, psmisc, ptpd2, python-enum34, qemu, qt, qt5base, - setools, spice, spice-protocol, tinc, ustr, wireshark, - - Issues resolved (http://bugs.uclibc.org): - - #11396: uboot environment image checksum invalid if target is big endian - -2018.08.1, Released October 7th, 2018 - - Important / security related fixes. - - Add a number of patches to fix build errors for host utilities - on modern distributions using glibc-2.28. - - mkusers: Ensure existing group members are preserved when a - group is reprocessed. - - printvars: Fix issue with exceeding shell command line length - limits for certain setups. - - Updated/fixed packages: acpid, android-tools, apache, - arp-scan, bandwidthd, bind, brltty, clamav, connman, cppcms, - domoticz, dtc, fio, gcc, gdb, ghostscript, gnupg, httpping, - igmpproxy, imlib2, ipsec-tools, libesmtp, libnfs, libxslt, - links, lua, mosquitto, nilfs-utils, ocrad, parted, php, - python-django, screen, shairport-sync, strongswan, - vboot-utils, webkitgtk, wireguard, x265 xen, xlib_libXdmcp, - xlib_libXfont, xlib_libXft, xlib_libxshmfence, - xutil_makedepend, zeromq - -2018.08, Released September 6th, 2018 - - Minor fixes. - - Known issues: - - - Glibc 2.28 on the build host breaks compilation of a number - of host packages. 2018.08 contains fixes for some of these - packages, but not all. Consider building on hosts (or in - containers) using older Glibc versions. - - - host-dtc 1.4.7 breaks compilation of older U-Boot and Linux - kernel configurations using FDT/DTC. Consider updating the - Linux kernel to >= 4.17 and U-Boot to >= 2018.07 or - backporting commit 9130ba8846 (scripts/dtc: Update to - upstream version v1.4.6-9-gaadd0b65c987) for the Linux - kernel / commit db405d1980 for U-Boot. - Alternatively revert commit 7b929ddcf0 (dtc: bump version to - 1.4.7) and ensure your build host does not have the libfdt - development headers installed. - - Updated/fixed packages: busybox, chipmunk, cutelyst, - domoticz, gcc, imagemagick, lcms2, libcurl, mediastreamer, - moarvm, php, qt, qt5virtualkeyboard, qt5webengine, screen, - sdl2, squashfs, uboot, xen - - Issues resolved (http://bugs.uclibc.org): - - #11261: ccache using wrong cached objects - #11276: Understanding the patch for kernel-4.9 and other.. - -2018.08-rc3, Released August 31th, 2018 - - Fixes all over the tree. - - linux: additional improvements to the flex / bison dependency - handling, use system provided variant if available. Ensure - toolchain is available when configuring for 4.18+ support. - - Download: Fix handling of primary sites using file:// - - Toolchain: Correct external toolchain musl detection for - static toolchains. - - Updated/fixed packages: aircrack-ng, bison, brltty, busybox, - cutelyst, dropbear, gr-osmosdr, i2c-tools, json-c, libconfuse, - libkcapi, libsoup, libssh, liburiparser, mbedtls, mender, - mesa3d, minicom, mjpegtools, mutt, openpowerlink, openssh, - oracle-mysql, php, postgresql, pv, qt5base, qt5quickcontrols, - rauc, shairport-sync, systemd, xlib_libX11, zeromq, - - Issues resolved (http://bugs.uclibc.org): - - #11091: BR2_PRIMARY_SITE doesn't work (wget is selected... - #11141: WF111 package no longer available - #11211: Internal compiler error: Killed (program cc1plus).. - #11236: util-linux fails to build on Travis CI when python.. - #11246: Glibc 2.28 - fails to build host-bison and host-m4 - #11256: Add python-falcon and python-mimeparse packages - -2018.08-rc2, Released August 20th, 2018 - - Fixes all over the tree. - - pkg-kconfig: Support dependencies needed to run the - configurator, E.G. recent Linux kernel versions needing flex - and bison. - - Defconfigs: ARM Juno: Bump ATF to fix a build - issue. Raspberrypi2: Bump rootfs size. Snps_archs38_vdk: - Correct /etc/inittab. Technologic ts7680: Correct genimage - configuration. Orange PI PC / Zero, Sheevaplug: Bump U-boot to - 2018.07 to fix build issue. Ensure host-openssl is pulled in - for kernel builds where needed. - - Updated/fixed packages: aircrack-ng, bind, boost, - boot-wrapper-aarch64, bzip2, busybox, chrony, cryptsetup, - dahdi-tools, dbus, domoticz, eigen, ipsec-tools, libarchive, - libfuse, libgit2, libopenssl, libselinux, lighttpd, lvm2, m4, - makedevs, mariadb, mesa3d-headers, mono, ncmpc, ncurses, - nodejs, php, python-django, python-pyqt5, qt5base, - qt5serialbus, ruby, samba4, uboot-tools, uclibc, vlc, - waylandpp, wireless_tools, wireshark, wpa_supplicant, mtd, - xdriver_xf86-video-ati, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #10781: cryptsetup luksOpen container_file container causes.. - #10996: bogus musl ARM toolchain - #11191: xattr and check-package issue - -2018.08-rc1, Released August 5th, 2018 - - Toolchain: - - - add support for gcc 8.x, switch to gcc 7.x as the default - version - - add support for gdb 8.1, switch to gdb 8.0 as the default - and remove gdb 7.10/7.11 - - add support for binutils 2.31 - - NIOSII CodeSourcery toolchain updated - - Linaro AArch64 BE toolchain added, and other Linaro - toolchains updated - - Synopsys ARC pre-built toolchain updated - - Architecture: add support for ARM Cortex-M7 - - Major updates: - - - systemd bumped to 239 - - Qt5 bumped to 5.11.1 - - Rust bumped to 1.27 - - GStreamer stack bumped to 1.14.2 - - X.org server bumped to 1.20, and all X.org proto packages - replaced by the single xorgproto package - - i.MX6 support packages bumped to 6.2.4 - - i.MX Vivante graphics version bumped to 6.2.4.p1.2, - adding support for Wayland and i.MX8MQ platforms - - Linux: bumped to 4.17 by default. - - Infrastructure: new package infrastructure added for packages - using the Meson build system - - New packages: at-spi2-atk, at-spi2-core, capnproto, cmocka, - corkscrew, cutelyst, davfs2, flatcc, libidn2, libgit2, - libopusenc, mender, nghttp2, perl-convert-asn1, perl-crypt-blowfish, - perl-crypt-cbc, perl-digest-md5, perl-mime-base64-urlsafe, - perl-mojolicious-plugin-authentication, perl-net-ping, - perl-net-snmp, perl-net-ssh2, perl-net-telnet, pigz, - python-reentry, python-request-id, python-validators, - python-webob, shadowsocks-libev, speexdsp, xorgproto, wampcc - - New defconfigs: NXP i.MX7D SDB, Boundary Devices Nitrogen 8M, - Olimex A10 OLinuxino, ZynqMP ZCU106 - - Removed packages: all xproto_* have been removed and replaced - by xorgproto - - Issues resolved (http://bugs.uclibc.org): - - #9411: MUSL build with RT Error relocating /lib/libgcc_s.so.1: - __cpu_indicator_init: symbol not found - #9921: lockfile module within python-daemon not available - #10341: gdb install of py files when using buildroot toolchain - includes build path - #10661: /etc/init.d/S29netplug starts multiple instances of netplugd - #10751: Missing dependency in pulseaudio package - #10811: kodi-17.6-Krypton does not compile for freescale_* devices - #10856: openblas on qemu_x86_64_defconfig fails with - "sgemm_kernel.o: No such file or directory" - #11056: Compiling a file that uses libdrm headers fails with: - fatal error: drm.h: No such file or directory - #11061: support/download: git version=master broken - #11071: Building postgresql package on Debian 9.4 x64 for armel target fails - #11076: Docker containerd installed to incorrect path - #11101: host-patchelf Endian Issue with relative RPATH - #11111: raspberry pi 3 b+: missing BSP for 64-bit kernel - #11121: statfs call corrupts memory struct statfs too small - #11181: Switching toolchain does not work - -2018.05.3, Released October 6th, 2018 - - Important / security related fixes. - - Add a number of patches to fix build errors for host utilities - on modern distributions using glibc-2.28. - - mkusers: Ensure existing group members are preserved when a - group is reprocessed. - - printvars: Fix issue with exceeding shell command line length - limits for certain setups. - - Updated/fixed packages: acpid, android-tools, apache, - arp-scan, bandwidthd, bind, bison, brltty, chipmunk, connman, - cppcms, fio, gcc, ghostscript, gnupg, httping, igmpproxy, - imagemagick, imlib2, ipsec-tools, lcm2, libcurl, libesmtp, - libnfs, libssh, libxslt, links, mediastreamer, minicom, - moarvm, nilfs-utils, ocrad, parted, php, postgresql, pv, - python-django, qt, qt5quickcontrols, qt5webengine, screen, - sdl2, shairport-sync, squashfs, strongswan, vboot-utils, - webkitgtk, wireguard, x265, xen, xlib_libXfont, xlib_libXft, - xlib_libxshmfence, zeromq - -2018.05.2, Released August 28th, 2018 - - Important / security related fixes. - - Defconfigs: Raspberrypi2: Bump rootfs size, T7680: Fix - genimage.cfg issue, ARM Juno: Bump ATF to v1.3 to fix build - issue. - - Updated/fixed packages: acl, attr, apache, bind, - boot-wrapper-aarch64, brltty, bzip2, chrony, crda, cryptsetup, - dahdi-tools, dmidecode, dropbear, eigen, ffmpeg, gawk, gcc, - ghostscript, gnutls, imx-gpu-viv, ipsec-tools, libarchive, - libfuse, libglib2, libopenssl, libselinux, libsoup, lighttpd, - linuxptp, lttng-modules, lttng-tools, lua-flu, lvm2, m4, - makedevs, mariadb, mbedtls, mesa3d-heders, mtd, ncurses, - nodejs, openssh, php, python-django, rauc, ruby, samba4, - stress-ng, ti-utils, uboot-tools, uclibc, vim, waylandpp, - wireless_tools, wireless-regdb, wireshark, wpa_supplicant, - xorriso, znc - - Issues resolved (http://bugs.uclibc.org): - - #10781: cryptsetup luksOpen container_file container causes.. - #10986: Installing package attr when already supplied by.. - #11191: xattr and check-package issue - -2018.05.1, Released July 20th, 2018 - - Important / security related fixes. - - U-Boot: Ensure host version of ncurses is picked up and not - host-ncurses built by buildroot, as that otherwise causes - widechar/non-widechar conflicts and corrupted menuconfig - menus. - - Linux: Enable CONFIG_PERF_EVENTS when perf is enabled. - - Toolchain: ARC tools updated to arc-2018.03. - - pkg-stats: Fix python 3.x compatibility. - - dl-wrapper: Fix support for URIs containing '+', fix - no-check-hash for inferred site method. - - Defconfigs: Raspberrypi3: Bump rootfs size, Minnowboard-max: - Support ethernet on Turbot variant. - - Updated/fixed packages: audit, bind, btrfs-progs, cifs-utils, - clamav, collectd, coreutils, docker-containerd, dos2unix, - edid-decode, file, gcc, gdb, gnupg, gnupg2, heimdal, hidapi, - imagemagick, libcurl, libgcrypt, libglib2, liblogging, - libostree, libressl, libsoup, libv4l, libvncserver, libvorbis, - libwebsockets, libxslt, lm-sensors, mariadb, mpg123, ncurses, - network-manager, nodejs, patchelf, perl, php-amqp, pinentry, - pixiewps, qpdf, qt53d, qt5base, qt5charts, qt5script, redis, - systemd, triggerhappy, uboot, wireguard, wireless-regdb, - wireshark - -2018.05, Released June 1st, 2018 - - Minor fixes. - - Download: Work around for hanging connections for packages - from CVS, by adding a 10 minute max timeout. - - Updated/fixed packages: binutils, clang, dash, expect, git, - glibc, jpeg-turbo, libjpeg, log4cplus, openvmtools, xen, - - Issues resolved (http://bugs.uclibc.org): - - #11051: runtime issue on STM32 with usage of binutils 2.29.x - -2018.05-rc3, Released May 28th, 2018 - - Fixes all over the tree. - - Toolchain: ARC tools updated to arc-2018.03-rc2. - - Fs: Ensure hard links in TARGET_DIR are correctly copied for - filesystem input. With the recent changes to the file system - generation logic, hard links were "expanded" in file system - images leading to bloated rootfs images for setups with hard - links. - - Infrastructure: Error out for packages using the 'local' - method but forgetting to specify _SITE. - - Build rpcgen for the host when needed to support distributions - no longer shipping rpcgen with glibc (E.G. recent Fedora). - - Updated/fixed packages: autofs, bash-completion, binutils, - busybox, cjson, elf2flt, libcoap, libcurl, libtirpc, lrzsz, - poppler, procps-ng, qt-webkit-kiosk, quota, samba4, xfsprogs - - Issues resolved (http://bugs.uclibc.org): - - #11031: ld-elf2flt: host/bin/ld.real': execvp: No such file.. - #11036: C compiler cannot create executables - #11046: Git package binaries are ~180MB (compared to ~20MB in.. - -2018.05-rc2, Released May 22nd, 2018 - - Fixes all over the tree. - - Dependencies: Check that the current working directory (.) - isn't listed in PATH as that causes various build issues. - - Manual: Clarify that git branch names may not be used as - version identifiers. This has never been supported, but was - kind of working (with some limitations) before the git - download rework - Now it does not work at all. - - Linux: Ensure host version of ncurses is picked up and not - host-ncurses built by buildroot, as that otherwise causes - widechar/non-widechar conflicts and corrupted menuconfig - menus. - - Packages: Renamed a number of package options not prefixed - with BR2_PACKAGE_ for consstency. - - Download infrastructure: Fix file:// protocol handling after - download rework. - - Updated/fixed packages: acl, apr-util, asterisk, attr, - bluez5_utils, cifs-utils, clamav, clang, cups-filters, - dahdi-linux, exim, faketime, gdb, go, gst1-plugins-bad, - imx-mkimage, ipsec-tools, jamvm, janus-gateway, - jquery-ui-themes, libcap, libcurl, libftdi, libkcapi, libkrb5, - libmediaart, libmodbus, libmodplug, libmpd, - libnetfilter_cthelper, libnetfilter_cttimeout, libnfc, - libnfnetlink, libnss, liboauth, libogg, libosip2, - libpam-radius-auth, libpcap, libpciaccess, llvm, log4cplus, - ltrace, lynx, mbedtls, modem-manager, nfs-utils, - python-cython, python-websockets, qt5cinex, qt5wayland, rauc, - snort, strace, ti-sgx-km, transmission, wavpack, wget, woff2, - xen, zmqpp, znc, zstd - - Issues resolved (http://bugs.uclibc.org): - - #10986: Installing package attr when already supplied by... - #11011: BUildroot for Raspberry Pi 2 - #11016: Wrong compiler used for external user host packages - -2018.05-rc1, Released May 9th, 2018 - - Toolchain: glibc bumped to 2.27, musl bumped to 1.1.19, - uClibc-ng 1.0.30, Linux kernel headers bumped to 4.16.x. - - Architecture: support for the Blackfin architecture has been - removed, as it was removed from Linux upstream, poorly - maintained in binutils/gdb, and abandoned by Analog Devices. - - Numerous packages updated to have hashes for their license - files. - - Systemd can now be built with uClibc toolchains. - - Linux: addition of BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF and - BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL to support building Linux - kernel configurations that need libelf on the host or openssl - on the host. - - Coding style: - - all Python scripts are now verified with flake8 - - check-package extended to check all Config.in and .mk files - in tree, not only the ones in package/ - - Infrastructure: - - - The download infrastructure has seen a major overhaul, with - the main visible new feature being Git caching: a package - fetched from Git no longer needs to be re-cloned entirely - everytime its version is changed. Anoter visible change is - that the download folder now has subfolders per package. See - http://lists.busybox.net/pipermail/buildroot/2018-April/217923.html - for more details about those changes. - - - The logic that generates the root filesystem images has been - reworked, with the main goal of allowing several filesystem - images to be produced in parallel, also a requirement for - top-level parallel build. Now, a .tar filesystem image is - always created, and re-extracted in a private directory to - create each format-specific filesystem image. - - - A new package infrastructure was introduced for Go-based - packages: golang-package. - - - Dependencies on extraction tools are now handled as proper - per-package dependencies, using - _EXTRACT_DEPENDENCIES. Beyond a cleanup, this is also a - preparation step for top-level parallel build support. - - - When a file being downloaded is part of a package with a - .hash file, but there is no hash listed for this file, the - file is now preserved in the download directory rather than - removed. This helps when updating a package, as it gives the - ability to easily calculate the hash of the file. - - - Addition of '-show-recursive-depends' and - '-show-recursive-rdepends' make targets, to - respectively display the recursive list of dependencies and - the recursive list of reverse dependencies of a given - package. - - - The /etc/shells file is now automatically generated with the - list of shell programs installed on the system. - - - Addition of -Ofast optimization level as an available - option. - - Major updates: Go updated to 1.10, Erlang bumped to 20.3, Qt5 - bumped to 5.10.1. - - New packages: 18xx-ti-utils, abootimg, bluez-alsa, brotli, - chipmunk, clang, docker-compose, docker-proxy, flare-engine, - flare-game, gst1-interpipe, gstreamer1-editing-services, - hackrf, i2pd, imx-alsa-plugins, imx-mkimage, libcdio-paranoia, - libkrb5, llvm, pixiewps, python-backports-ssl-match-hostname, - python-cached-property, python-cython, python-docker, - python-dockerpty, python-docker-pycreds, - python-flask-sqlalchemy, python-functools32, python-influxdb, - python-json-models, python-libusb1, python-networkx, - python-psycopg2, python-pymodbus, python-sqlalchemy, - python-subprocess32, python-texttable, - python-websocket-client, python-yieldfrom, quotatool, reaver, - snort, sunxi-mali-mainline, sunxi-mali-mainline-driver, tk, - tpm2-abrmd, tpm2-tools, tpm2-tss, udftools, vte, woff2. - - New defconfigs: ARC HS Development Kit, Arcturus ucls1012a, - Freescale i.MX6UL EVK (with vendor kernel), Freescale i.MX6 - SoloLite EVK (with vendor kernel), Freescale i.MX31 3Stack, - Freescale i.MX8Q EVK Freescale p1025twr, Freescale t1040d4rdb, - Qemu PPC64 E5500, SolidRun ClearFog Base, Tinker RK3288, Vyasa - RK3288, - - Removed packages: iqvlinux, kodi-adsp-*, mplayer - - Removed defconfigs: ci40, firefly_rk3288, - freescale_p1010rdb_pa, freescale_mpc8315erdb, riotboard, - teliv_evk_pro3 - - Issues resolved (http://bugs.uclibc.org): - - #10151: toolchain eclipse register : fails with a custom - BR2_HOST_DIR - #10511: Packages get downloaded uncompressed with wget - #10531: QtWebengine doesn't build if the host hasn't a 32 bits - C++ compiler working - #10846: error in compiling gnutls - #10886: openssl-1.0.2n fails to build - #10896: /bin/sh not in /etc/shells - #10961: Grub2 fails to build for x86_64 when BR2_SSP_ALL is - enabled - -2018.02.12, Released March 29th, 2019 - - Important / security related fixes. - - Updated/fixed packages: avahi, beecrypt, busybox, clamav, - cups, devmem2, fetchmail, file, fltk, gcc, gdb, git, jq, - leveldb, libopenssl, libraw, libseccomp, libssh2, - libunistring, mariadb, mosquitto, nodejs, ntp, openjpeg, perl, - php, putty, qt5webkit, rdesktop, systemd, wireshark, vsftpd, - xapp_xdm, xlib_libXdmcp - -2018.02.11, Released February 23th, 2019 - - Important / security related fixes. - - Ensure the PLATFORM and OS environment variables are not set, - as they cause build issues for some packages. - - The package list infrastructure now correctly handles packages - installing files with old mtime. - - Linux: Skip hash checks for user supplied downloadable - patches, as no hash checksums are available for those. - - scanpypi: protect against zip-slip vulnerability in zip/tar - handling - - Updated/fixed packages: bind, dhcpcd, dovecot, ghostscript, - gnuradio, imagemagick, jpeg-turbo, libarchive, libb64, - libcurl, libid3tag, madplay, mosquitto, openssh, php, - postgresql, proftpd, python, python-django, python3, qt5base, - sqlcipher, swupdate, systemd, unzip, webkitgtk - -2018.02.10, Released January 31th, 2019 - - Important / security related fixes. - - Defconfigs: Fixes for Lego EV3, QEMU AArch64-virt - - check-package: fix Python 3 support - - get-developers: Fix behaviour when called from elsewhere than - the toplevel directory. - - cmake: Also set CMAKE_SYSTEM_VERSION in toolchainfile.cmake - - Updated/fixed packages: acpica, apache, apr, asterisk, - avrdude, cargo, cc-tool, dash, dhcpdump, dmalloc, gnuchess, - gnupg2, leveldb, libarchive, libassuan, libftdi1, - libgpg-error, libhttpparser, libmad, libsndfile, libsquish, - liburiparser, libwebsock, libxml2, lighttpd, lm-sensors, - lua-msgpack-native, mbedtls, mosquitto, netatalk, nodejs, - openssh, pango, patchelf, php, python-django, python-pyyaml, - rauc, rp-pppoe, s6-networking, samba4, sdl_sound, - shairport-sync, sqlite, subversion, sunxi-cedarx, tcpreplay, - tekui, usb_modeswitch, webkitgtk, wireshark, wolfssl, - xapp_rgb, xenomai, xerces - - Issues resolved (http://bugs.uclibc.org): - - #11576: Unable to start apache with event MPM on raspberry pi 3 - -2018.02.9, Released December 20th, 2018 - - Important / security related fixes. - - defconfigs: Fixes for ci20 - - Updated/fixed packages: c-ares, dante, freetype, ghostscript, - glibc, gnutls, go, libcurl, libgpgme, libid3tag, libiscsi, - libmpd, libopenssl, libpjsip, linux, liquid-dsp, luvi, lynx, - msgpack, nginx, nodejs, php, popt, pps-tools, python-numpy, - python-requests, samba4, sdl2_net, squashfs, swupdate, uclibc, - wine, webkitgtk, xfsprogs - - Issues resolved (http://bugs.uclibc.org): - - #11426: pps-tools bash dependency - -2018.02.8, Released November 26th, 2018 - - Important / security related fixes. - - fs: Drop intermediate tarball from the filesystem handling to - fix an issue with xattrs handling related to fakeroot. Ensure - tarball target includes xattrs. - - download: Fix confusion in git submodule handling if dl/ is a - symlink. - - toolchain: Only allow enabling stack protection on - architectures with control flow integrity (CFI) support. Only - allow FORTIFY_SOURCE support on gcc >= 6. - - genrandconfig: Fix missing newline in BR2_WGET handling, - causing the following line to be ignored. This would affect - BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX, BR2_INIT_SYSTEMD, - BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, BR2_STATIC_LIBS or - BR2_PACKAGE_PYTHON_PY_ONLY depending on the randomization. - - show-build-order: Also include the dependencies of - rootfs-common. - - Defconfigs: Fixes for Armadeus APF27, imx6sabre. - - graph-depends: Fix for package names starting with a non-alpha - character. - - Updated/fixed packages: attr, audit, bind, brotli, easydbus, - elfutils, gauche, gcc, giflib, gpsd, lcdproc, libcurl, - libiscsi, libnfs, libnspr, libnss, libkcapi, libsemanage, - liburiparser, lighttpd, linux, lua-curl, mariadb, mmc-utils, - mosquitto, mysql, neardal, netplug, network-manager, - nfs-utils, nginx, openocd, openswan, p11-kit, postgresql, - prosody, qemu, qt, rpm, ruby, samba4, squid, supertuxkart, - systemd, tar, trace-cmd, traceroute, twolame, uclibc, - usb_modeswitch, vtun, webkitgtk, xdriver_xf86-video-geode, - xlib_libfontenc, xproto_inputproto, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #11086: download/git submodule breaks on symlinked dl folder - #11251: Util scanpypi failes when package change - to _ in.. - #11476: stdio2.h error invalid use of __builtin_va_arg_pack - #11481: Docs: Is external.desc required? - -2018.02.7, Released October 25th, 2018 - - Important / security related fixes. - - Detect and reject build paths containing '@', as this confuses - a number of packages, including GCC. - - utils/get-developers: Add -e option for use with git - send-email. - - utils/diffconfig: Make it work for (non-Buildroot) config - files not using the BR2_ prefix. - - u-boot: Fix for environment image handling on big endian - systems. - - Updated/fixed packages: binutils, ca-certificates, - cups-filters, erlang, file, freetype, gcc, git, gvfs, leveldb, - libarchive, libcurl, libssh, live555, ljlinenoise, mariadb, - mongoose, netsnmp, nmap, nodejs, ntp, open-plc-utils, poco, - psmisc, ptpd2, python-enum34, qemu, qt, qt5base, setools, - spice, spice-protocol, tinc, ustr, wireshark - - Issues resolved (http://bugs.uclibc.org): - - #11396: uboot environment image checksum invalid if target is big endian - -2018.02.6, Released October 7th, 2018 - - Important / security related fixes. - - Add a number of patches to fix build errors for host utilities - on modern distributions using glibc-2.28. - - mkusers: Ensure existing group members are preserved when a - group is reprocessed. - - printvars: Fix issue with exceeding shell command line length - limits for certain setups. - - Updated/fixes packages: acpid, android-tools, apache, - arp-scan, bandwidthd, bind, bison, clamav, connman, cppcms, - cramfs, fio, gcc, ghostscript, glibc, gnupg, httping, - igmpproxy, imagemagick, imlib2, ipsec-tools, lcms2, libcurl, - libesmtp, libnfs, libssh, libxslt, links, linuxptp, - mediastreamer, minicom, moarvm, nilfs-utils, ocrad, parted, - php, pv, python-django, qt, qt5quickcontrols, qt5webengine, - screen, sdl2, shairport-sync, squashfs, strongswan, - vboot-utils, webkitgtk, wireguard, x265, xen, xlib_libXfont, - xlib_libXft - - New packages: brotli, woff2 - -2018.02.5, Released August 29th, 2018 - - Important / security related fixes. - - Defconfigs: Raspberrypi2: Bump rootfs size, T7680: Fix - genimage.cfg issue, ARM Juno: Bump ATF to v1.3 to fix build - issue. - - Updated/fixed packages: acl, apache, attr, bind, - boot-wrapper-aarch64, brltty, bzip2, chrony, crda, cryptsetup, - dahdi-tools, dmidecode, dropbear, eigen, erlang, ffmpeg, gawk, - gcc, ghostscript, gnutls, ipsec-tools, libarchive, libfuse, - libopenssl, libselinux, libsoup, lighttpd, linuxptp, - lttng-modules, lttng-tools, lua-flu, lvm2, m4, makedevs, - mariadb, mbedtls, mesa3d-headers, mtd, ncurses, nodejs, - openssh, php, postgresql, python-django, qt5xmlpatterns, ruby, - samba4, shairport-sync, stress-ng, ti-utils, uboot-tools, vim, - waylandpp, wireless_tools, wireshark, wpa_supplicant, xorriso, - znc - - Issues resolved (http://bugs.uclibc.org): - - #10781: cryptsetup luksOpen container_file container causes.. - #10986: Installing package attr when already supplied by.. - #11191: xattr and check-package issue - -2018.02.4, Released July 21th, 2018 - - Important / security related fixes. - - U-Boot: Ensure host version of ncurses is picked up and not - host-ncurses built by buildroot, as that otherwise causes - widechar/non-widechar conflicts and corrupted menuconfig - menus. - - Linux: Enable CONFIG_PERF_EVENTS when perf is enabled. - - Defconfigs: Raspberrypi3: Bump rootfs size, Minnowboard-max: - Support ethernet on Turbot variant. - - Updated/fixed packages: bind, clamav, collectd, dos2unix, - edid-decode, gcc, gdb, heimdal, hidapi, imx-gpu-viv, libcurl, - libglib2, liblogging, libostree, libsoup, libv4l, lm-sensors, - ncurses, network-manager, patchelf, pinentry, procps-ng, qpdf, - qt5, qt53d, qt5base, qt5charts, qt5script, qt5serialport, - systemd, wireguard, wireless-regdb - - Issues resolved (http://bugs.uclibc.org): - - #11101: host-patchelf Endian Issue with relative RPATH - -2018.02.3, Released June 18th, 2018 - - Important / security related fixes. - - Various fixes for building on modern distributions (GCC 8.x, - no rpcgen utility). - - ARM: Default to binutils 2.28 and warn about newer binutils - versions, which are known to cause boot failures for Linux - kernels built in thumb mode. - - Busybox/mdev: Fix module autoloading. - - Busybox/sysvinit: inittab: Add /dev/{stdin,stdout,stderr} - symlinks, call swapon -a to activate any configured swap - devices. - - Dependencies: Check that PATH does not contain current working - directory, which triggers a number of build failures. - - Infrastructure: Error out for packages erroneously using the - 'local' site method but not defining a _SITE. - - Linux: Fix cuImage. / simpleImage. handling. Ensure - kconfig uses ncurses from the host to fix a ncurses/ncursesw - mixup, causing menuconfig display corruption. - - Toolchain: Workarounds for fix-rpath issues with binutils and - elf2flt. - - Util-linux: Fix blocking on getrandom() issue with recent - kernels. - - Remove broken freescale_imx31_3stack, - freescale_imx6sololiteevk and freescale_imx6ulevk defconfigs. - - Updated/fixed packages: apr-util, asterisk, attr, audit, - autofs, binutils, busybox, cifs-utils, cups-filters, dash, - ebtables, exim, expect, f2fs-tools, faketime, file, gdb, git, - glibc, gnupg, gnupg2, gst1-plugins-bad, imagemagick, jamvm, - jpeg-turbo, libcap, libcoap, libcurl, libgcrypt, libjpeg, - libnss, libressl, libtirpc, libvncserver, libvorbis, libxslt, - log4cplus, lrzsz, ltrace, lynx, mariadb, mbedtls, mpg123, - nasm, netplug, network-manager, nfs-utils, nodejs, - openvmtools, patch, perl, php-amqp, poppler, procps-ng, - python, python-websockets, quota, redis, samba4, sysvinit, - transmission, triggerhappy, util-linux, wavpack, wget, - wireshark, xen, zmqpp - - Issues resolved (http://bugs.uclibc.org): - - #10986: Installing package attr when already supplied by busybox.. - #11031: ld-elf2flt: host/bin/ld.real': execvp: No such file or.. - -2018.02.2, Released May 4th, 2018 - - Important / security related fixes. - - Tweak package size/file instrumentation to better handle - package rebuilds. - - Revert /etc/shells creation when bash is enabled. - - Exclude /lib/firmware from the rpath fixup logic, as it may - contain non-native ELF files. - - Scanpypi: Support the new PyPi infrastructure. - - Handle GCC 8.x on the host. - - Ensure timestamp of /usr is updated to support the systemd - ConditionNeedsUpdate option. - - Updated/fixed packages: bluez5_utils, flann, gdb, gnupg2, - grub2, libcec, libcgi, libglib2, libgpg-error, libgpgme, - libtomcrypt, mbedtls, mkpasswd, php, python, python-requests, - python-watchdog, qt53d, qt5websockets, sdl2, sdl2_image, - syslog-ng, systemd, tcl, tcllib, uclibc, usb_modeswitch, - wireguard, wmctrl - - Issues resolved (http://bugs.uclibc.org): - - #10896: /bin/sh not in /etc/shells - #10961: Grub2 fails to build for x86_64 when BR2_SSP_ALL is enabled - -2018.02.1, Released April 9th, 2018 - - Important / security related fixes. - - Removed unmaintained defconfigs: Creator Ci40, Firefly rk3288, - Freescale mpc8315erdb / p1010rdb_pa, Riotboard, Teliv EVK - Pro3. - - Infrastructure: Speed up instrumentation for package size by - comparing timestamps instead of md5 checksums, as doing - checksums could lead to up to 25% longer build time for big - configurations. - - Rename the internal _BASE_NAME variable to _NASENAME - to avoid name clashes with packages ending on '-base'. - - Add a better fix for build issues for autotools based packages - checking for C++ support on toolchains without C++ support. - - Build host-tar if tar is older than 1.27 on the build machine - to work around reproducibility issues with git archives - containing long paths. - - check-unique-files: Fix for filenames not representable in the - users' locale. - - Check-bin-arch: Add support for per-package ignore paths - (_BIN_ARCH_EXCLUDE). - - Toolchain: Fix SSP support detection for external toolchains. - - linux: Add _NEEDS_HOST_OPENSSL / LIBELF options to ensure - these dependencies are available for Linux configurations - needed these dependencies, similar to how it is done for - U-Boot. - - Support custom (not in tree) device tree files in addition to - in-tree ones. - - U-Boot / uboot-tools: Fix header conflict with libfdt-devel - installed on host. - - Updated/fixed packages: apache, busybox, c-ares, cmake, - docker-engine, enlightenment, eudev, fbgrab, freescale-imx, - gtest, imagemagick, intel-microcode, irssi, jimtcl, kmod, - kodi, ktap, libcoap, libcurl, libfcgi, libhttpparser, - libminiupnpc, libopenssl, libpjsip, libss7, libssh2, libupnp - libupnpp, libuv, libvorbis, memcached, motion, musl, nodejs, - ntp, openblas, opencv3, openocd, opus-tools, patch, php, - pkgconf, postgresql, powerpc-utils, python-jsonschema, - python-webpy, qemu, qt5bsae, qt5script, qt5webkit, rapidjson, - rauc, sam-ba, samba4, sngrep, systemd, tremor, uboot-tools, - uclibc-ng-test, upmpdcli, wireshark, xerces, xterm, zstd - - New packages: docker-proxy, python-functools32 - - Issues resolved (http://bugs.uclibc.org): - - #10766: upmpdcli: Segmentation fault - #10776: ktap fails to build - #10846: error in compiling gnutls - #10856: openblas on qemu_x86_64_defconfig fails with "sgemm_.. - -2018.02, Released March 4th, 2018 - - Fixes all over the tree. - - Issues with systemd with a readonly rootfs and DBus fixed. - - Instructure: - - check-uniq-files: fix Python 2.6 compatibility. - - dependencies.sh: check for external argparse module for - Python 2.6. - - Add infrastructure to detect and use a UTF-8 locale on the - host, needed by systemd. - - Update/fixed packages: clamav, dash, dhcp, dovecot, efl, - ffmpeg, libv4l, mono, mosquitto, php, postgresql, qt, - scanpypi, sdl2, systemd, tor, tvheadend, uboot, wavpack - - Issues resolved (http://bugs.uclibc.org): - - #10831: qemu_x86_64_defconfig build fails on linux-headers.. - -2018.02-rc3, Released February 27th, 2018 - - Fixes all over the tree. - - check-bin-arch: skip /lib/modules to allow 32-bit userland - with 64bit kernel. - - dependencies: Blacklist tar 1.30+ and build our own host-tar - if needed as tar 1.30+ changed the --numeric-owner output for - long path names. Build host-tar before other host-dependencies - as they need it to extract their source tarballs. - - Update/fixed packages: asterisk, azmq, bluez5_utils, domoticz, - e2fsprogs, erlang, exim, glibc, gpsd, jq, libglib2, libvorbis, - mariadb, mbedtls, mesa3d, mesa3d-headers, mpv, patch, pcre2, - php, qt5, qt5multimedia, qt5wayland, qt5webengine, qt5webkit, - systemd, quagga, rustc, uboot, wireguard, zic, zlib-ng - - Issues resolved (http://bugs.uclibc.org): - - #10726: Current libglib2.mk creates broken libglib2 binary... - #10786: Linux fails to build unless make linux-menuconfig... - #10796: Cannot generate cpio image without selecting CON... - -2018.02-rc2, Released February 15th, 2018 - - Fixes all over the tree. - - Dependencies: Ensure C++ support is available like for C - support for packages needing 32bit host support. - - utils/genrandconfig: Check host dependencies for config. - - Updated/fixed packages: busybox, dnsmasq, dropbear, ffmpeg, - glibc, keepalived, libcpprestsdk, libgpiod, libmaxminddb, - librsvg, libtasn1, libv4l, libxml2, lightning, ltp-testsuite, - mesa3d, mesa3d-demos, mesa3d-headers, nftables, open-lldp, - php, postgresql, python-crossbar, qt5, qt53d, qt5enginio, - qt5tools, qt5webengine, qt5webkit, rsync, rust-bin, rustc, - systemd - - Issues resolved (http://bugs.uclibc.org): - - #9781: ti-sgx-km build on kernel >4.1 - #10141: Squashfs extended attribute failures - -2018.02-rc1, Released February 5th, 2018 - - The global source-check and per-package -source-check - targets have been removed. - - Architecture: Add x86 Silvermont variant. Add several new ARM - variants, rework MIPS NaN logic. Support mainline binutils/gcc - for ARC. - - Toolchains: Linaro toolchains upgraded to 2017.11 release, ARC - external toolchains upgraded to arc-2017.09. Libatomic is now - also copied for external musl based toolchains. - Add binutils 2.30.x and switch to binutils 2.29.x by default. - - Added hardening options to build with RELRO and FORTITY. - - New defconfigs: Bananapi M64, FriendlyARM Nanopi A64 & NEO2, - imx6slevk, imx6sx-sdb, imx6ulevk, Olimex A64-OLinuXino, - Orangepi lite / pc plus / pc / prime / win / win plus / zero - plus2, Pine64, Solidrun MacchiatoBin. Sopine. - - Add utils/diffconfig, a simple utility for comparing - configuration files - Adapted from the version in the - Linux kernel. - - Infrastructure: Check that the same file is not touched by - multiple packages, as a preparation for toplevel parallel - builds. - - Hashes for the license files for a large number of packages - have been added, ensuring that license changes will not be - missed when packages are bumped. - - Fix build issue for autotools based packages checking for C++ - support on toolchains without C++ support and on a distro - lacking /lib/cpp (E.G. Arch Linux). - - Support for the meson build system. - - Pie charts generated by 'graph-build' or 'graph-size' are now - sorted according to the size of each piece. - - System: Only show getty options when busybox init or sysvinit - are used. - - ARM-trusted-firmware: Support ATF bundled in U-Boot as - well as U-Boot bundled in ATF. - - Zlib is now a virtual package, provided by either libzlib or - zlib-ng, similar to openssl. - - Support for the Rust programming language. - - New packages: aoetools, armbian-firmware, binaries-marvell, - brltty, cargo, cargo-bin, cups-filters, curlpp, daq, - flatbuffers, gconf, glorytun, gstreamer1-mm, imx-m4fwloader, - imx-gpu-g2d, json-for-modern-cpp, libcpprestsdk, libgta, - libostree, libupnp18, luadbi, luadbi-sqlite3, lua-utf8, lynx, - meson, mv-ddr-marvell, nilfs-utils, opentracing-cpp, - open-lldp, pimd, proj, python-flask-cors, - python-jaraco-classes, python-more-itertools, python-oauthlib, - python-raven, python-remi, python-requests-oauthlib, - python-schedule, python-secretstorage, python-see, - python-tabledata, python-txtorcon, python-xlib, qt5charts, - rtl8189fs, rtl8723bu, rust, rustc, rust-bin, rygel, safeclib, - solatus, tcf-agent, traceroute, waylandpp, wolfssl, - zisofs-tools, zlib-ng - - Removed packages: eeprog - -2017.11.2, Released January 21st, 2018 - - Important / security related fixes. - - External toolchain: libatomic is now also copied for musl - based toolchains. - - nconfig: Fix for ncurses/ncursesw linking issue causing crashes. - - System: Only show getty options when busybox init or sysvinit - are used. - - Infrastructure: Fix build issue for autotools based packages - checking for C++ support on toolchains without C++ support and - on a distro lacking /lib/cpp (E.G. Arch Linux). - - Pie charts generated by 'graph-build' or 'graph-size' are now - sorted according to the size of each piece. - - Updated/fixed packages: asterisk, avahi, bind, busybox, - coreutils, eeprog, intel-microcode, iputils, irssi, kmsxx, - libiio, linux-firmware, lz4, mariadb, matchbox-lib, mcookie, - ntp, php, pound, rpcbind, tar, ti-cgt-pru, webkitgtk, xen, - xlib_libXpm - - Issues resolved (http://bugs.buildroot.org): - - #9996: lz4 package does not install lz4 binaries in target - #10176: Rsyslog's S01logging is deleted by Busybox.mk from... - #10216: package/x11r7/mcookie/mcookie.c:207: bad size ? - #10301: systemd/getty unused options - #10331: kmsxx, host installation fails with BR2_SHARED_... - #10556: Building ntp package with SSL library libressl... - #10641: avahi-autoipd not starting when using systemd-tmpfiles - -2017.11.1, Released December 31th, 2017 - - Important / security related fixes. - - Updated/fixed packages: asterisk, checkpolicy, dhcp, flann, - gdb, glibc, heimdal, kodi-pvr-mediaportal-tvserver, - kodi-pvr-stalker, libcue, libopenssl, libpqxx, libsoxr, - linknx, linux-tools, lldpd, ltp-testsuite, mariadb, mfgtools, - nodejs, nut, pulseaudio, python-cffi, qemu, rsync, tor, uboot, - uboot-tools, vlc, webkitgtk, weston, wireguard, wireshark, - xenomai, xfsprogs - -2017.11, Released November 30, 2017 - - Fixes all over the tree. - - Toolchain: Use github mirror for Glibc. - - Defconfigs: Correct boot.cmd for bananapi-m1. - - Makefiles: Workaround include order issues for certain make - versions by explicitly sorting the result of wildcard where it - matters. - - Download: Ensure subversion runs in non-interactive mode. - - Updated/fixed packages: asterisk, boost, chrony, dovecot, - dvb-apps, exim, feh, freerdp, fwup, google-breakpad, jose, - kvm-unit-test, lftp, libcurl, libevent, libfastjson, libpjsip, - libupnp, linphone, localedef, lttng-tools, mp4v2, mtools, - ndisc6, oracle-mysql, parted, pdbg, qt, qt5connectivity, - qt5declarative, qt5webkit, rauc, runc, samba4, shairport-sync, - systemd-bootchart, webkitgtk, wireguard, xlib_libXcursor, - xlib_libXfont, xlib_libXfont2, - - Issues resolved (http://bugs.buildroot.org): - - 10501: host-localedef fails to compile on Ubuntu 17.10 - 10506: Changed kernel image type (e.g. zImage to uImage)... - -2017.11-rc2, Released November 13th, 2017 - - Fixes all over the tree. - - Updated/fixed packages: collectd, ffmpeg, freerdp, - go-bootstrap, imagemagick, jimtcl, libpjsip, libplist, libuv, - mesa3d, nodejs, ntp, openjpeg, postgresql, python-numpy, ruby, - snmp++, usb_modeswitch, util-linux, vboot-utils, webkitgtk, - wireshark, wpa_supplicant, xapp_xdriinfo - - Issues resolved (http://bugs.buildroot.org): - - #10326: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y - #10491: Cannot output security warning when compiled with buildroot.. - -2017.11-rc1, Released November 6th, 2017 - - Fixes all over the tree and new features. - - Openssl is now a virtual package, which may be provided by - OpenSSL (now renamed to libopenssl) or LibreSSL. - - libssh2: there is now an explicit choice of the backend to use - (mbedtls, gnutls or openssl). Previously, the choice was implicit - based on the TLS library that was selected. Now, it is possible to - choose the backend, which is important if several TLS libraries are - selected. - - netsnmp: all MIB files are now installed, making the target filesystem a - bit bigger than before. To remove unneeded MIBS, you should use a - post-build script. - - Toolchain: Linaro toolchains updated to 2017.08, ARC toolchain - updated to 2017.09, Glibc updated to 2.26, Glibc support for - ARCv2. The toolchain wrapper now handles SOURCE_DATE_EPOCH for - older (pre-gcc7.x) toolchains for BR2_REPRODUCIBLE. - - New defconfigs: Atmel SAM45D27, Bananapi M1 and M2 Plus, - Engicam i.CoreM6 Qt5 configuration, i.MX6 sabreauto (mainline - kernel/u-boot), i.MX6Q sabresd Qt5 configuration, i.MX7d-pico, - QEMU ppc64le, Raspberry pi3 Qt5 webengine configuration, - Technologic TS-7680. - - New packages: asterisk, azmq, bcg729, boinc, dahdi-linux, - dahdi-tools, freeswitch-mod-bcg729, fscryptctl, libb64, - libpri, libss7, lua-basexx, lua-compat53, lua-cqueues, - lua-curl, lua-datafile, lua-fifo, lua-httpd, - lua-lpeg-patterns, lua-markdown, lua-sailor, lua-value, - luksmeta, minetest, minetest-game, pdmenu, prosody, - python-aiocoap, python-automat, python-ibmiotf, - python-iso8601, python-m2r, python-simplesqlite, - python-websockets, python-xmltodict, qt5wayland, qt5webengine, - restorecond, selinux-python, semodule-utils, uhubctl, - wireguard, wsapi-fcgi, wsapi-xavante - - Removed packages: aiccu, rfkill, sepolgen - - Issues resolved (http://bugs.buildroot.org): - - #10281: lsblk does not compile for util-linux - #10336: lttng compilation fails : linking error - #10351: glibc missing in rootfs - #10356: nfs-utils missing header - #10361: python3 python-config script generates invalid includes - #10366: dropbear download url has changed - #10391: WiringPi retrieves wrong (old) version - #10406: Beaglebone black: Buggy SGX driver version, swapped... - #10426: uboot-tools' fw_setenv does not update the redundant... - #10451: libpcap 1.8.x and 1.7x does not compile on PPC - -2017.08.2, Released November 28th, 2017 - - Important / security related fixes. - - Qt: 5.6 version updated to 5.6.3. - - Reproducible: Do not override SOURCE_DATE_EPOCH if already set - in the environment. - - Makefiles: Workaround include order issues for certain make - versions by explicitly sorting the result of wildcard where it - matters. - - Updated/fixed packages: apr, apr-util, arqp-standalone, - azure-iot-sdk-c, collectd, dvb-apps, ffmpeg, go-bootstrap, - google-breakpad, gstreamer, imagemagick, irssi, jimtcl, - kvm-unit-test, libcurl, libfastjson, libglib2, libidn, - libpjsip, libplist, localedef, lttng-tools, luajit, mesa3d, - moarvm, mp4v2, openssh, openssl, oracle-mysql, postgresql, - python3, python-pyqt5, qt, qt5base, qt5canvas3d, - qt5connectivity, qt5declarative, qt5engineio, - qt5graphicaleffects, qt5imageformats, qt5location, - qt5multimedia, qt5quickcontrols, qt5quickcontrols2, qt5script, - qt5sensors, qt5serialbus, qt5serialport, qt5svg, qt5tools, - qt5webchannel, qt5webkit, qt5websockets, qt5x11extras, - qt5xmlpatterns, quagga, redis, ruby, samba4, sdl2, snmppp, - swupdate, ti-gfx, uboot-tools, usb_modeswitch, vboot-utils, - webkitgtk, wget, wireshark, xapp_xdriinfo. - - Issues resolved (http://bugs.buildroot.org): - - 10326: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y - 10361: python3 python-config script generates invalid includes - 10501: host-localedef fails to compile on Ubuntu 17.10 - -2017.08.1, Released October 23rd, 2017 - - Important / security related fixes. - - Webkitgtk bumped to the 2.18.x series, fixing a large number - of security issues. - - Defconfigs: galileo: fix ext4 related kernel config, bump - kernel for gcc 6.x compatibility, enable wchar support for - grub2. wandboard: correct rootfs offset - - support: Ensure gzip compression level 6 is used for git - tarballs. check-bin-arch: Correctly handle (ignore) symbolic - links. check-rpath: Also handle PIE binaries - - External toolchain: Correctly handle glibc Buildroot - toolchains built with merged /usr - - musl: fix ARMv4 build with binutils 2.27.51+, fix for - CVE-2017-15650 - - Updated/fixed packages: apache, augeas, bind, bluez5_utils, - busybox, bzip2, cmake, dnsmasq, ejabberd, gcc, git, go, ffmpeg, file, - flashrom, gd, gdk-pixbug, gnupg2, hostapd, ifupdown-scripts, - imagemagick, iucode-tool, kernel-module-imx-gpu-viv, lame, - libarchive, libcurl, libffi, libidn, libmbim, libnspr, libnss, - libressl, librsync, libsoup, libxml2, libzip, mbedtls, musl, - netplug, nginx, openvpn, pkgconf, poppler, proxychains-ng, - qemu, qt, rpi-userland, syslog, ruby, samba4, softether, - sqlite, strongswan, subversion, supertuxkart, supervisor, tcpdump, - tor, unrar, urq, vboot-utils, webkitgtk, wpa_supplicant, xen, - xmlstarlet, xlib_libXfont, xlib_libXfont2, - xserver_xorg-server, zsh - -2017.08, Released September 1st, 2017 - - Minor fixes. - - Toolchain: Don't allow internal toolchain builds for MIPS - M6201/P6600, as support for these are not yet in mainline GCC. - - Updated/fixed packages: bcusdk, connman, dialog, dnsmasq, - gnupg, grub2, iostat, iucode-tool, libgcrypt, libkcapi, - libphidget, libv4l, linux-tools, mediastreamer, minidlna, - nss-pam-ldapd, nvidia-driver, qt-webkit-kiosk, rpcbind, squid, - transmission, vde2, vim - - Updated/fixed defconfigs: - - Removed packages: simicfs. - - Issues resolved (http://bugs.buildroot.org): - - #10261: Grub2 fails to build for x86_64 - -2017.08-rc3, Released August 23rd, 2017 - - Fixes all over the tree. - - Updated/fixed packages: alsa-lib, alsa-utils, cc-tool, - dbus-cpp, e2fsprogs, elf2flt, faad2, fakeroot, gcc, git, gpsd, - gst1-validate, kvmtool, libconfuse, libepoxy, librsync, - libspatialindex, libunwind, linux, linux-headers, lua, - mariadb, mesa3d, mtd, openocd, python3, syslinux, sysvinit, - whois, xen, zmqpp. - - Updated/fixed defconfigs: ci20, socrates_cyclone5, - toradex_apalis_imx6. - - Removed defconfig: Armadeus APF9328. - - skeleton-* packages introduced in -rc1 have been renamed to - skeleton-init-* instead. - - Issues resolved (http://bugs.buildroot.org): - - #10141: Squashfs extended attribute failures - -2017.08-rc2, Released August 11th, 2017 - - Fixes all over the tree. - - Updated/fixed packages: bind, dbus, erlang-p1-xml, faad2, - ficl, gcc, gdb, glibc, jack2, libcurl, linux, linux-headers, - lua, mutt, nvme, qt5base, skeleton-common, snappy, stella, - swupdate, uclibc, valgrind, webkitgtk. - - Updated/fixed defconfigs: beaglebone_qt5, minnowboard_max, - nanopi_m1{, _plus}, olimex_a20_olinuxino_lime, qemu_sparc, - qemu_sparc64. - - The cmake-package infrastructure for host packages has been - fixed to not incorrectly detect target packages through - pkg-config. - - Issues resolved (http://bugs.buildroot.org): - - #9926: systemd-resolved.service: Failed at step NAMESPACE (systemd 233) - #10021: libqeglfs-viv-integration.so file is missing for qt5 on armv7 - #10026: lua-5.3.4: fix lua linker error in swupdate - #10146: package/skeleton-common fix recursive variable - #10156: glibc compilation fails for X86 32bits (i386) - #10201: toolchain-wrapper.c:192: (error) Memory leak: - #10221: Buildroot Support - -2017.08-rc1, Released August 2nd, 2017 - - Infrastructure: - - - The skeleton package has been split into multiple packages: - skeleton-sysv (when Busybox or SysV init are used), - skeleton-systemd (when systemd is used), skeleton-none (when - no init system is used) and skeleton-custom (when a custom - skeleton is used). Those packages, except skeleton-custom, - share common logic and data in a new package called - skeleton-common. The skeleton package becomes a virtual - package. This change allows to generate a filesystem that is - compliant with systemd expectations. - - - Support for using a read-only filesystem with systemd has - been fixed. - - - Major revamp of the gettext handling, with user-visible - effect: - - - prior to this revamp, when BR2_ENABLE_LOCALE=y, each - package could decide to enable or not NLS support. When - BR2_ENABLE_LOCALE was disabled, NLS support was forced off - by passing --disable-nls to packages. - - - after this revamp, a new BR2_SYSTEM_ENABLE_NLS option - controls whether NLS support should be enabled or not in - packages. This option defaults to disabled, which means - that now, NLS support is by default disabled in all - packages. - - Therefore, if you need NLS support in packages, you must now - explicitly enable the BR2_SYSTEM_ENABLE_NLS option. - - - The host directory no longer has a usr/ component. This - makes it much more natural to use that directory as an - externally used toolchain. For compatibility with existing - scripts, a usr -> . link is still added. - - - Hashes are now checked on tarballs by Buildroot when a - package is sourced from a Git repository. - - - Patches are no longer being downloaded from Github, since - auto-generated patches could change over time, and break - hashes. All patches that were downloaded from Github are now - stored in their respective package directories. - - - Hash files in packages can now contain hashes for the - license files contained in the package source code. This - allows to detect changes in such license files. - - - Binaries in $(TARGET_DIR) are now cleaned up from invalid - RPATHs at the end of the build. - - - A new "make sdk" target prepares $(HOST_DIR) to be - relocatable: turns RPATHs in host binaries into relocatable - ones, removes bogus RPATHs from staging binaries/libraries, - and provides a relocate-sdk script that can be executed to - relocate the SDK after installation. - - - Addition of utils/genrandconfig which generates a random - configuration based on a set of pre-defined toolchain - configurations (support/config-fragments/autobuild/) and a - random selection of packages. It is now used by the - autobuilders to generate the random configurations. - - Filesystems: - - - ext2/3/4 filesystems are now generated using mkfs.ext from - e2fsprogs instead of using genext2fs. - - Architecture: - - - Addition of support for ARM big.LITTLE variants - - Improved MIPS support, with options to select NaN encoding - and FP32 mode. - - Toolchain: - - - Switch to gcc 6.x as the default gcc version, add support - for gcc 7.x, remove support for gcc 4.8 - - Switch to binutils 2.28 as the default binutils version, add - support for binutils 2.29, remove support for binutils 2.26 - - Support added for gdb 8.0 - - uClibc-ng bumped to 1.0.26 - - CodeSourcery toolchains for x86 and SuperH have been - removed, they were using a too old glibc version - (2.17). External toolchains with glibc 2.17 or earlier are - no longer supported. - - The version selection in the glibc package has been - removed. Like musl and uClibc-ng, we now use the latest - glibc version. - - Improved support for Xtensa toolchain overlays, which can - now be downloaded. - - Tools: - - - Numerous improvements to the runtime test infrastructure - - Tests are now executed by Gitlab CI on a regular basis - - Tools that are directly useful to the user have been moved - from support/scripts/ to utils/: brmake, check-package, - get-developers, scancpan, scanpipy, size-stats-compare, - test-pkg. - - New defconfigs: A13 Olinuxino, Engicam platforms (i.CoreM6 - Solo/Dual/DualLite/Quad, RQS SOM, GEAM6UL SOM, Is.IoT MX6UL - SOM), Nano Pi M1 (Plus), OrangePi Zero and Plus. - - New packages: azure-iot-sdk-c, cracklib, dt-utils, easy-rsa, - erlang-jiffy, erlang-p1-oauth2, erlang-p1-xmpp, - ifupdown-scripts, irrlicht, kodi-inputstream-adaptive, - kodi-inputstream-rtmp, kvazaar, let-me-create, libloki, - libpwquality, libressl, libspatialindex, libva-utils, - linuxconsoletools, linuxptp, luaossl, lua-sdl2, lua-stdlib, - lsscsi, paxtest, pcre2, pixz, python-asn1crypto, - python-backports-shutil-get-terminal-size, python-bcrypt, - python-cheroot, python-h2, python-hpack, python-hyperframe, - python-hyperlink, python-ipython-genutils, python-pathlib2, - python-pickleshare, python-priority, python-portend, - python-scandir, python-systemd, python-tempora, - python-traitlets, python-typepy, qt5virtualkeyboard, - ratpoison, rauc, refpolicy, rhash, sdl2_mixer, sdl2_net, - xr819-xradio, zstd - - Removed packages: cloog, input-tools, mke2img - - Issues resolved (http://bugs.buildroot.org): - - #7892: systemd-journald is broken - #9341: avahi-utils does not compile with uClibc + libglib2 - #9441: Link BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY to - BR2_ENABLE_DEBUG - #9746: ext4 image generated by Buildroot is not working - properly with U-Boot - #9886: Build fails with "unexpected EOF while looking for - matching `"'" if PATH contains a newline - #9891: parted 3.1 => 3.2? - #9911: qt5 does not build on sparc - #9916: qt5 does not build on - arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores - #9936: Host QEMU does not build with SDL support because of - pkg-config - #9941: nodejs option disappears for arm - #9951: SCANCPAN failure - #9966: util-linux-2.30/.stamp_built' failed - #9976: License file for package 'rtl8821au' incorrect - #9991: SGX Error implicit declaration of function - ‘dmac_map_area’ - #10011: wget does not work from Buildroot - #10036: Buildroot builds Raspbian Jessie headless image - presenting incorrect prompt - #10051: make: *** No rule to make target - 'raspberrpi3_defconfig'. Stop reported with Buildroot - v2017.05.1 - #10056: No .config file was produced in /buildroot folder - #10061: gcc5.4 buildroot toolchain for powerpc libsanitizer - failure - #10071: fakeroot: replace hard-coded paths in post install - #10076: Makefile:4113: recipe for target 'all-gcc' failed - #10091: gcc7.1 does not build with graphite support due to old - isl - #10121: webkit without the multimedia option causes build - error - -2017.05.2, Released July 27th, 2017 - - Important / security related fixes. - - Webkitgtk bumped to the 2.16.x series, fixing a large number - of security issues. - - host-aespipe compile fix for Debian/Gentoo/Ubuntu toolchains - which default to PIE mode. - - Updated/fixed packages: aespipe, apache, bind, binutils, - busybox, ccache, collectd, dieharder, efibootmgr, efivar, - expat, ffmpeg, gcc, heimdal, iproute2, irssi, libglib2, - libmemcached, libosip2, libtirpc, libxml-parser-perl, - linux-fusion, linux-zigbee, mpg123, orc, pcre, php, protobuf, - pulseaudio, python-setproctitle, qt5base, rpi-firmware, - samba4, syslinux, systemd, spice, tcpdump, tiff, uboot-tools, - webkitgtk, x265, xserver_xorg-server, xvisor - - Issues resolved (http://bugs.buildroot.org): - - #10061: gcc5.4 buildroot toolchain for powerpc libsanitizer... - -2017.05.1, Released July 4th, 2017 - - Important / security related fixes. - - Update support/scripts/scancpan to use METACPAN v1 API as v0 - has been shutdown. - - Update support/scripts/mkusers to handle setups where - /etc/shadow is a symlink. - - External toolchain: Don't create musl dynamic loader symlink - for static builds. - - Setlocalversion: Correct detection of mercurial revisions for - non-tagged versions. - - Defconfigs: at91sam9x5ek_mmc: workaround boot rom issue. - - Updated/fixed packages: apache, automake, bind, botan, c-ares, - dhcp, expat, fcgiwrap, gcc, gdb, gesftpserver, glibc, glmark2, - gnutls, gst1-plugins-bad, imagemagick, imx-uuc, intltool, - iperf, ipsec-tools, irssi, kmod, libcurl, libgcrypt, libmad, - libnl, lugaro, mosquitto, mpg123, ncurses, nodejs, ntp, - openssh, openvpn, pngquant, python-simplegeneric, qt5base, - qt5multimedia, rtl8821au, socat, spice, systemd, tor, trinity, - tslib, vlc, x264, xen, xlib_libxshmfenc, xserver_xorg-server - - Issues resolved (http://bugs.buildroot.org): - - #9976: License file for package 'rtl8821au' incorrect - -2017.05, Released May 31st, 2017 - - Minor fixes. - - External toolchain: musl dynamic linker symlink for mips-sf - corrected. - - Updated/fixed packages: agentpp, bash, exim, hans, madplay, - qpid-proton, rtl8188eu, snmppp, stm32flash, strongswan, sudo, - xen - - Issues resolved (http://bugs.buildroot.org): - - #9906: genimage: Disk full - -2017.05-rc3, Released May 30th, 2017 - - Fixes all over the tree. - - ARC toolchain bumped to 2017.03 - - Runtime testing improvements and cleanups. - - Updated/fixed packages: acpica, armadillo, audiofile, c-icap, - cppcms, dhcp, docker-engine, dropbear, elfutils, erlang, - fbgrab, ffmpeg, flashrom, ftop, gnutls, google-breakpad, - keepalived, kodi, libcdio, libepoxy, libev, libminiupnpc, - libqmi, libtasn1, libv4l, mariadb, mono, mosh, mosquitto, - mxml, ntp, opencv, openpowerlink, oracle-mysql, popt, - pulseview, python-enum34, rabbitmq-c, redis, samba4, stella, - xen - - Removed packages: firejail, ola - - Issues resolved (http://bugs.buildroot.org): - - #9871: fbgrab 1.3 won't build with BR2_REPRODUCIBLE set - #9876: aarch64 support with gcc 4.8 toolchain - #9896: host-gcc-initial error downloading because incorrect URL - -2017.05-rc2, Released May 17th, 2017 - - Fixes all over the tree. - - ARC toolchain bumped to 2017.03-rc2 - - Updated/fixed packages: bluez_utils, boost, clamav, daemon, - efibootmgr, efl, espeak, expedite, faketime, ffmpeg, fxload, - git, gpsd, kvm-unit-tests, libcdio, libv4l, lua, mke2img, - mpir, mpv, odroid-scripts, openblas, opencv3, openvpn, php, - postgresql, protobuf, qt5declarative, qwt, radvd, rpcbind, - rtmpdump, strongswan, sudo, ltp-testsuite, uclibc-ng-test, - vlc, x11vnc, xfsprogs - - Issues resolved (http://bugs.buildroot.org): - - #9796: source-check broken for Git downloads - #9866: BASE_DIR usage - -2017.05-rc1, Released May 8th, 2017 - - Fixes all over the tree and new features. - - Infrastructure: - - - Installed binaries are now checked for correct architecture - to catch natively built binaries or binaries built for other - architecture variants. - - - Luarocks infrastructure improvements to extraction handling, - support for upstream name != Buildroot package name. - - - 'make printvars' output format has changed to make it easier - to use in scripts. It now has options to quote the variables - and to show the expanded/unexpanded values. - - - Automatic ext2 rootfs size calculation has been removed. The - logic was not working working reliable in all setups as it - depends on the host filesystem behaviour, so instead now the - size has to be specified explicitly (defaults to 60MB). - - - The git download infrastructure now ensures that GNU format - tar files are created. - - - Fixed a variable clashing issue in the mkusers script with - internal bash variables. - - - Fakeroot now links against libacl to fix issues on - distributions using acls. - - - Correct permissions for /dev/pts/ptmx when systemd is used - with recent glibc versions. - - - br2-external: Improve error reporting. - - - A wrapper script for genimage has been added in - support/scripts/genimage.sh for easy use of genimage from - post-image scripts. - - - A script to check for common style issues in new packages - before submitting has been added in support/scripts/check-package - - - Defconfigs are now tested by gitlab-CI instead of Travis: - https://gitlab.com/buildroot.org/buildroot - - - Infrastructure for runtime testing has been added to - support/testing - - Toolchain: - - - External linaro toolchains updated to 2017.02, ARC toolchain - updated to 2017.03-rc1, NIOSII CodeSourcery to 2017.05 - - - A number of fixes and improvements to the external toolchain - handling, including C library detection, multilib and ld.so - handling - - - Glibc 2.25 and uClibc-ng 1.0.24 added, wordexp support enabled - for uClibc-ng - - - Binutils 2.28 added and default changed to 2.27 - - - Architectures: - - - Support for the C-SKY architecture has been added. - - - License handling: - - - The package license markings for legal info now uses the - SPDX short identifiers for the license string where possible. - - - License info has been improved / added for a number of packages. - - - Misc: - - - Cmake 3.7.x installed on the host is no longer ignored as a - workaround for the RPATH issues has been implemented. - - - Docker-engine can now be built statically on an otherwise - dynamic linked build for docker-in-docker setups. - - - U-Boot now supports out-of-tree device trees, similar to - Linux - - - Nodejs 0.10.x support (and with it, support for -source-check fixed for packages from git. - - External toolchain: musl dynamic linker symlink for mips-sf - corrected. - - Updated/fixed packages: armadillo, audiofile, bash, - bluez_utils, cppcms, dbus, dhcp, dropbear, efibootmgr, efl, - elfutils, faketime, fbgrab, flashrom, ftop, gdb, git, - google-breakpad, gpsd, hans, kvm-unit-tests, kyua, libev, - libmicrohttpd, libminiupnpc, libtasn1, libubox, ltp-testsuite, - lua, madplay, mariadb, mono, mosquitto, mxml, ntp, - nvidia-driver, openblas, openvpn, oracle-mysql, picocom, popt, - postgresql, pulseview, qt5base, qwt, rabbitmq-c, redis, - rpcbind, rtmpdump, samba4, strongswan, sudo, vlc - - Issues resolved (http://bugs.buildroot.org): - - #9796: source-check broken for Git downloads - #9871: fbgrab 1.3 won't build with BR2_REPRODUCIBLE set - -2017.02.2, Released May 1st, 2017 - - Important / security related fixes. - - Use HTTPS for the Codesourcery external toolchains as the HTTP - URLs no longer work. - - Updated/fixed packages: bind, busybox, dovecot, freetype, - ghostscript, glibc, granite, hiredis, icu, imagemagick, - gst-plugins-base, gst1-plugins-base, libcroco, libcurl, libnl, - libnspr, libnss, libsamplerate, libsndfile, libunwind, - minicom, mplayer, mpv, nodejs, python-django, python-pyyaml, - python-web2py, samba4, syslinux, systemd, tiff, trinity, - uboot, wireshark, xen - - Issues resolved (http://bugs.buildroot.org): - - #9791: Python searches for packages in the user site directory - -2017.02.1, Released April 4th, 2017 - - Important / security related fixes. - - Fix a variable clashing issue in the mkusers script with - internal bash variables. - - Improve external toolchain version detection. - - Correct permissions for /dev/pts/ptmx when systemd is used - with recent glibc versions. - - Fix python module name clash for graph-depends. - - Fakeroot now links against libacl to fix issues on - distributions using acls. - - Ensure that the git download infrastructure creates GNU format - tar files. - - br2-external: Improve error reporting. - - Updated/fixed packages: acl, apr, audiofile, busybox, cairo, - dbus-cpp, dbus-glib, dbus-triggerd, domoticz, elfutils, - fakeroot, filemq, fmc, gdb, git, gnutls, gst-ffmpeg, - gst1-plygins-bad, harfbuzz, htop, imagemagick, jasper, libcec, - libiio, libplatform, librsvg, libselinux, libsidplay2, libsoc, - libwebsockets, libxkbcommon, linux-firmware, logrotate, - lpt-testsuite, lttng-libust, mariadb, mbedtls, memcached, - mesa3d, mpd, mplayer, nbd, ncftp, ntp, openssh, opentyrian, - pcre, perl-gd, python, qt5base, rpi-userland, rpm, samba4, - skalibs, slang, sngrep, squashfs, syslog-ng, taglib, - tcpreplay, tor, upmpdcli, wget, wireshark, - xdriver_xf86-video-vmware, xlib_libXv, zmqpp - - Issues resolved (http://bugs.buildroot.org): - - #9456: mkusers script bash errors - -2017.02, Released February 28th, 2017 - - Minor fixes, mainly fixing autobuilder issues. - - Don't use cmake 3.7.x from the build host as it is also - affected by the RPATH handling issues, and instead build our - own if needed. - - Updated/fixed packages: assimp, classpath, genimage, mplayer, - mpv, openocd, python-libconfig, qt5base, qt5quickcontrols, - vlc, xterm - -2017.02-rc3, Released February 26th, 2017 - - Fixes all over the tree. - - Cmake reverted to version 3.6.3 to workaround regressions - related to RPATH handling. - - Updated/fixed packages: bctoolbox, berkeleydb, binutils, - btrfs-progs, classpath, directfb, glibc, gstreamer1, - gst1-plugins-{base,good,bad,ugly}, gst1-libav, - gst1-rtsp-server, gst1-validate, gst-omx, htop, libcurl, - libepoxy, libimxvpuapi, libpcap, libuv, ncurses, openssh, - oracle-mysql, poco, python, qt5base, qt5webkit, sslh, synergy, - trousers, uclibc-ng-test, util-linux, vlc, xfsprogs - - Issues resolved (http://bugs.buildroot.org): - - #9251: Shared C++ libraries for Microblaze results in Segmentation... - #9456: mkusers script bash errors - #9506: Collectd 5.7.0 fails to build with libcrypt - #9581: VagrantFile provisioning step fails due to issue with grub-pc - #9586: usbmount: usbmount slows down the system... to a state of... - #9616: CMake host packages cannot provide CONF_ENV - #9641: Need raptor package installed in staging - #9671: stunnel build error - -2017.02-rc2, Released February 20th, 2017 - - Fixes all over the tree. - - Support for SOURCE_DATE_EPOCH in the toolchain wrapper for - older gcc versions for reproducible builds has been - (temporarily) reverted because of licensing compatiblity - concerns. - - Defconfigs: SD card generation fix for the Udoo Neo board - - Infrastructure to handle .lz compressed tarballs added, and - affected packages updated to use it. - - Updated/fixed packages: bctoolbox, bind, canelloni, - cbootimage, ccache, classpath, cups, dbus, ddrescue, directfb, - ed, erlang, gcc, gdb, glmark2, gstreamer, gstreamer1, hiredis, - kmod, kmsxx, lcdapi, libasplib, libgpiod, libnss, libraw, - libv4l, mesa3d-headers, mosquitto, mpd, mpv, musl, ntfs-3g, - ocrad, openswan, postgresql, qt5base, qt5quickcontrols, redis, - riemann-c-client, samba4, sunxi-mali, tcping, trousers, - uclibc, util-linux, vim, wavpack, wget, wiringpi, xfsprogs, - xserver_xorg-server - - Issues resolved (http://bugs.buildroot.org): - - #8941: Valgrind fails to build with stack protection turned on - #9291: perl: SysV message queues not configured, even if available - #9651: libxcb-1.12 built Error - #9656: util-linux: schedutils doesn't build on target w/o enabl... - #9666: qt5quickcontrols install fails - -2017.02-rc1, Released February 11th, 2017 - - Fixes all over the tree and new features. - - Infrastructure: - - - numerous improvements to support reproducible builds - - - new waf-package package infrastructure to support packages - that use the Waf build system. 6 packages converted to - this infrastructure. - - - add option _PREFER_INSTALLER to the perl package - infrastructure - - Architecture: - - - add support for the OpenRISC CPU architecture - - - merge description of the ARM and ARM64 options, and add - support for selecting a specific ARM64 core - - Toolchain: - - - major rework of the external toolchain support. It is now - split into several packages, one per external toolchain, - and a common infrastructure. - - - important fix for musl to prevent a conflict between musl - and kernel headers (fixes the build of numerous packages - with musl) - - - uClibc-ng bumped to 1.0.22, and therefore enable uClibc - for ARM64, mips32r6 and mips64r6 - - - add gdb 7.12.1, and switch to gdb 7.11 as the default - - - Linaro toolchains updated to 2016.11, ARC toolchain - components updated to arc-2016.09, MIPS Codescape - toolchains bumped to 2016.05-06, CodeSourcery AMD64 and - NIOS2 toolchains bumped - - - remove Analog Devices toolchain for the Blackfin - architecture, remove pre-built musl toolchains from - musl.codu.org - - New defconfigs: Freescale i.MX23EVK, Qemu OpenRISC emulation, - Qemu NIOS2 emulation, Grinn chiliBoard, Freescale i.MX6Q - SabreSD, BeagleBoard X15, OrangePi One, ARC HS38 HAPS - - New packages: angular-websocket, aubio, bctoolbox, darkhttpd, - ddrescue, easydbus, fakedate, git-crypt, hiredis, ifenslave, - jsmn, libgpiod, libgsm, linux-syscall-support, mariadb, mimic, - nginx-dav-ext, nmon, opkg-utils, policycoreutils, - pru-software-support, python-arrow, python-attrs, - python-babel, python-bitstring, python-chardet, - python-constantly, python-flask-babel, python-gunicorn, - python-incremental, python-jsonschema, python-logbook, - python-markdown2, python-mbstrdecoder, python-mutagen, - python-pathpy, python-pudb, python-pyqrcode, - python-pytablereader, python-setuptools-scm, python-sh, - python-toml, python-vcversioner, python-whoosh, - raspberrypi-usbboot, riemann-c-client, rtl8723bs, skalibs, - sslh, sngrep, ti-cgt-pru, uclibc-ng-test, udpxy, uhttpd, - upower, ustream-ssl, waf, xlib_libXfont2 - - Removed packages: perl-db-file, snowball-hdmiservice, - snowball-init - - Tooling: addition of a test-pkg script to help contributors - build test their package. - - Issues resolved (http://bugs.buildroot.org): - - #8946: Valgrind fails to build with stack protection turned on - #9461: odroidc2 - toolchain Linaro AArch64 2016.11 compile error - #9466: VIM_REMOVE_DOCS removes rgb.txt - #9486: xorg-server 1.19 fails to compile for glibc with systemd init (x86_64) - #9501: eudev fails to build with older kernel headers - #9526: Embedded NPM fails to start with "no such file or directory" error - #9541: Platform drivers autoloading from info in device tree does not work - #9546: seems BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS do nothing - #9551: Coreutils fails to build target src/src_libsinglebin_pinky_a-pinky.o - #9566: [kmod] Compilation fails with uclibc - #9571: buildroot fails while building opencv for arm64 platform - #9576: External tree with BR 2016.11 does not work anymore - #9606: xorg-server cannot build for ARM target - -2016.11.3, Released March 9th, 2017 - - Important / security related fixes. - - Updated/fixed packages: bind, dbus, gnutls, imagemagick, - lcms2, libcurl, ntfs-3g, ntp, openssl, php, quagga, redis, - squid, stunnel, tcpdump, vim, wavpack, wireshark, xlib_libXpm - -2016.11.2, Released January 25th, 2017 - - Important / security related fixes. - - A fix for BR2_EXTERNAL trees referenced using relative paths, - which broke in 2016.11. - - Updated/fixed packages: bind, docker-engine, gd, gnutls, go, - imagemagick, irssi, libpng, libvncserver, musl, opus, php, - php-imagick, rabbitmq-server, runc, wireshark, - - Issues resolved (http://bugs.buildroot.org): - - #9576: External tree with BR 2016.11 does not work anymore - -2016.11.1, Released December 29th, 2016 - - Important / security related fixes. - - Updated/fixed packages: apache, cryptopp, docker-engine, - dovecot, exim, gdk-pixbuf, libcurl, libupnp, links, monit, - nodejs, openssh, php, python, python-bottle, samba4, squid, - uboot, vim, wireshark, xorg-server uboot - - Issues resolved (http://bugs.buildroot.org): - - #9466: VIM_REMOVE_DOCS removes rgb.txt - -2016.11, Released November 30th, 2016 - - Minor fixes. - - Updated/fixed packages: bzip2, gcc, jasper, sane-backends, - uboot, uclibc - - Issues resolved (http://bugs.buildroot.org): - - #9451: packages/postgresql/postgresql.mk contains wrong POST... - -2016.11-rc3, Released November 28th, 2016 - - Fixes all over the tree, including a number of security fixes. - - The move from fakeroot to pseudo unfortunately brought a - number of issues. The SELinux issue described in #9386 which - triggered the move to pseudo has been investigated further and - a workaround implemented and the pseudo changes reverted. - - Linux kernel: update default to 4.8.11. - - Defconfigs: Updates/fixes for imx28ek, mx6udoo, imx6ulpico, - olimex a20 olinuxino lime mali, roseapplepi, synopsis aarch64 - vdk, axs101, axs103 and hs38 smd vdk. - - Updated/fixed packages: autossh, chrony, dosfstools, - dtv-scan-tables, e2fsprogs, gcc, gdb, gnuchess, gnuradio, - gpsd, gst1-plugins-bad, gst1-plugins-good, imagemagick, - kvm-unit-tests, libfribi, libuv, mesa3d, mpfr, mplayer, mpv, - ntp, ola, olsr, openblas, openjpeg, openssh, postgresql, - ptpd2python3, qemu, qextserialport, qt5base, quagga, xqwt, - taskd, tiff, tremor, trousers, udisks, uclibc, wireshark, - xapp_xload, xenomai, xmlstarlet - - Issues resolved (http://bugs.buildroot.org): - - #9386: ubinize fails with or without custom config - #9431: A misspelling - #9446: make raspberrypi3_defconfig compilation failure - -2016.11-rc2, Released November 13th, 2016 - - Fixes all over the tree. - - Architecture: add support for MIPS XBurst cores; remove MIPS - support for M5100 cores. - - Updated/fixed packages: mesa3d, lttng-babeltrace, tinyalsa, pseudo, - czmq, libxml2, makedevs, binutils, kvm-unit-tests, libnss, privoxy, - qemu, ser2net, net-tools, ffmpeg, assimp, libmpeg2, ccache, mpv, - libxslt, python, python3, php, valgrind, guile, domoticz, efl, - jasper, kvmtool, go, wget, sane-backends, weston, tinymembench, - strace, openjpeg, lcms2, quota. - - Linux kernel: update default to 4.8.7. - - CMake support: fix cmake wrapper to properly pass NDEBUG flag. - - Filesystems: use a wrapper to pseudo, to better mimick the behaviour - of fakeroot; makedevs no longer breaks of the destination already - exists and is of the correct type/major/minor. - - Defconfigs: a few legacy and broken defconfigs have been removed - because they now fail to build: kb9202_defconfig, mini2440_defconfig, - freescale_p2020ds, qmx6, calao*, atmel_sama5d4ek. Other defconfigs - have been updated: nanopi-neo, olimex_a20_olinuxino_lime_mali, - armadeus_apf51, armadeus_apf28, freescale_imx31_3stack, ci20, - olimex_a20_olinuxino_lime2, atmel_at91sam9260eknf, - atmel_at91sam9rlek, atmel_at91sam9g20dfc, atmel_at91sam9g45m10ek, - atmel_sama5d3xek. - -2016.11-rc1, Released November 3rd, 2016 - - Fixes all over the tree and new features. - - It is now possible to specify multiple BR2_EXTERNAL - directories. The required files in a BR2_EXTERNAL directory - have changed to accomodate this feature. Refer to the - documentation for details of how to update them. External - trees now have a name and a description. Also, it is possible - to override a defconfig in the external tree. - - The default skeleton now uses UID 65534 for the "nobody" - user instead of UID 99, like most distros do. See - https://lwn.net/Articles/695478/ for a complete discussion. - Programs and configuration files that explicitly refer to UID - 99 will have to be updated. - - When the build environment already has a suitable cmake version - (3.1 or later), that one will be used instead of building - host-cmake. This can speed up the build significantly. - - The ExtUtils::MakeMaker perl module is now required in the - build environment. - - An additional check is done during the build that files are - not installed in the output directory within the output - directory. This happens e.g. when the target directory is - contained both in --prefix and in DESTDIR. The build will - terminate with an error message that specifies which package - and which file caused the failure. - - The concept of "deprecated packages" and the BR2_DEPRECATED - option have been removed. Instead, packages are removed - immediately. Packages are only removed when they don't work - for some reason. If you still need a removed package and - you have a solution for the problem(s) that caused the - removal, please contribute it. - - Architecture: support for sh64 removed, improved support for - MIPS core selection. - - Toolchain: support for musl powerpc64le, mips64 and mipsr6 - toolchains, ARC toolchain components updates, gcc 6.x series - bumped to 6.2.0, default binutils version switched to 2.26, - default gcc version switched to gcc 5.x, Linaro toolchains - updated, uclibc-ng bumped to 1.0.19. GCC is now always built - with TLS support. Checking of unsafe compiler options (that - point to host directories) has been extended with -isystem, - -idirafter and -iquote. - - Package infrastructure: new variable $(PKG)_DL_OPTS, addition - of -show-rdepends to list reverse dependencies, and - -graph-rdepends to graph reverse dependencies. Linux tools - are now in a separate linux-tools package instead of in the - kernel build. Fakeroot has been replaced by pseudo. - - CMake support: the toolchainfile.cmake file now provides a - definition of the CMAKE_BUILD_TYPE variable. The - toolchainfile.cmake also no longer forces the compiler/linker - flags defined by Buildroot. - - New defconfigs: WaRP7, Solidrun's MX6 Cubox/Hummingboard, - TS-4900, Grinn's liteBoard, Udoo MX6Q/DL, Qemu ARM noMMU, - BeagleBone Qt5 demo, Digilent Zybo, FriendlyARM Nanopi NEO. - - New packages: arm-trusted-firmware, amd-catalyst, atop, aufs, - aufs-util, fwts, gst1-rtsp-server, libglob, libite, mfgtools, - mksh, motion, paho-mqtt-c, php-amqp, pseudo, python-couchdb, - python-crcmod, python-cssutils, python-docutils, - python-futures, python-mwclient, python-mwscrape, - python-mwscrape2slob, python-pyelftools, python-pyicu, - python-pylru, python-pyqt5, python-requests-toolbelt, - python-simpleaudio, python-slob, rabbitmq-server, shapelib, - vdr, vdr-plugin-vnsiserver, vexpress-firmware, xvisor, iio and - gpio linux tools. - - Removed packages: binutils 2.24, fakeroot, gcc 4.7, ipkg, - kodi-addon-xvdr, libgail, sstrip, torsmo, webkit, webkitgtk24, - wvdial, wvstreams. - - Documentation: the list of packages that was present in the - Buildroot manual has been removed. - - Legal info: the "licenses.txt" file that concatenates all - license texts is no longer generated - it was not considered - useful. The manifest.csv contains an empty cell instead of - "not saved" when no license file is available. - - Other: addition of a DEVELOPERS file listing developers taking - care of packages or architectures. - - Issues resolved (http://bugs.buildroot.org): - - #7802: host-python build hangs compiling getbuildinfo.o - #8206: mplayer uses host xorg development files - #8516: mkcubiecard.sh uses outdated sfdisk switch -D - #8536: Building sudo with PAM results in unusable sudo - #8646: check-host-rpath script returns false positives when rpath - contains symlink - #8696: xdriver_xf86-input-mouse install header files in target - directory - #8811: rp-pppoe - generated scripts commands use HOST pathnames, - not necessarily TARGET - #8846: Orphaned/missing toolchain borks eclipse plugin - #8856: python tornado runtime wasn't met on buildroot 2016.02 - #8901: gcc failes to build if fortran is enabled - #8916: LDFLAGS pass to openssh - #8941: "ls" of an NFSv4 share only works when pumped through strace - #8946: Valgrind fails to build with stack protection turned on - #9021: Kodi - Broken: Illegal instruction (core dumped) - #9096: rootfs.ubi not created - #9111: glibc 2.23: libmvec.so not copied - #9176: minnowboard : USB not mounted - #9196: raspberry pi 3 default build seem broken - #9201: Permission denied make: *** [core-dependencies] Error 126 in - Buildroot-2015.08.1 - #9216: log4cpp package build fails to build within install - #9221: Kodi needs "Python .py and .pyc support" otherwise it crashes when - pressing buttons. - #9229: Firefly boot fails with: "failed to find part:boot" - #9256: [Config file] New device: Odroid-U2/U3 - #9296: Buildroot Fails on applying patches - #9301: U-boot fails to build with default zynq_zed_defconfig configuration - #9316: U-boot fails to build if libssl-dev is not installed - #9321: Vanilla libcrypt++ v5.6.3 doesn't allow to work Nvidia Tegra's - flash utility (tegrarcm) - #9326: Odroid-C2 build results in non-bootable image - #9336: Improve iconv support for external toolchain based builds - #9356: gdb package - #9366: no link rootfs.ext4 -> rootfs.ext2 - #9371: openssl: download failes with "Only allow downloads from primary - download site" + local server - #9381: check-host-rpath issues - #9386: ubinize fails with or without custom config - -2016.08, Released September 1st, 2016 - - Minor fixes. - - Toolchain: ARC tools updated to arc-2016.09-eng010. - - Updated/fixed packages: libshout, luajit, mpd, mplayer - - Issues resolved (http://bugs.buildroot.org): - - #7520: CodeSourcery toolchain ARM: C++11 std::exception_ptr.. - #8341: Getting EGL Error: Could not create the egl surface:.. - #9121: gst1-imx for i.MX6 compile failed, cannot find PXP, .. - -2016.08-rc3, Released August 29th, 2016 - - Fixes all over the tree. - - Toolchain: C++ support for the internal blackfin toolchain - re-enabled. - - Architecture: Default to bf532 CPU variant for blackfin, - Fix flat one memory region support for m68k and disable flat - seperate data support because of compatibility issues. - - Defconfigs: Minnowboard and Raspberrypi: Fix errors with - post-build scripts when systemd is used. - Zynq microzed/zc706/zed: Fix u-booot configuration. - - netbsd-queue package extended and renamed to - musl-compat-headers. With this, a number of musl compatibility - patches are no longer needed. - - Updated/fixed packages: aircrack-ng, android-tools, babeld, - bcusdk, binutils, boa, busybox, connman, cpupower, - docker-engine, domoticz, elf2flt, ffmpeg, fwup, gcc, - glib-networking, gnupg, hplip, igd2-for-linux, imagemagick, - imx-uuc, iputils, jack2, kismet, kmsxx, libaio, libamcodec, - libconfuse, libffi, libfreeimage, libgcrypt, libgpg-error, - libiio, libraw, libsepol, libserialport, libxmlrpc, linknx, - linux-pam, lirc-tools, lldpd, logrotate, lshw, musl, ncurses, - neon, nettle, norm, ntfs-3g, openblas, openmpi, openswan, - pinentry, pixman, protobuf, python-meld3, qlibc, qt, qt5base, - quagga, rpcbind, rt-tests, runc, sane-backends, sconeserver, - squeezelite, stella, tftpd, tinycbor, tinydtls, trace-cmd, - trousers, tstools, uboot-tools, uclibc, ulogd, ustr, vlc, - webkitgtk, wireshark, xdriver_xf86-video-intel - - Issues resolved (http://bugs.buildroot.org): - - #9101: Error on support/download/git with system git older than 1.8.4 - #9181: Compiling linux kernel fails if BR2_LINUX_KERNEL_TOOL_CPU.. - -2016.08-rc2, Released August 17th, 2016 - - Fixes all over the tree. - - Toolchain: disable broken C++ support for internal blackfin - toolchains, ARC toolchain bumped to arc-2016.09-eng008 (GCC 6) - to fix various issues. - - System: Zoneinfo is available for the musl C library as well. - - Updated/fixed packages: am33x-cm3, axel, barebox, bdwgc, - blktrace, cairo, dante, enlightenment, fbterm, ffmpeg, flex, - fontconfig, gcc, gmp, gnuplot, gnuradio, gst1-imx, hidapi, - inotify_tools, iproute2, kmsxx, lftp, libaio, libcofi, - libical, libpjsip, libsidplay2, libunwindow, libxml2, - linux-zigbee, lttng-libust, mpv, mtd, ncdu, netplug, ntp, - openblas, openipmi, owfs, php, poco, procps, qt, quota, - sg3_utils, spidev_test, systemd-bootchart, thrift, - uboot-tools, uclibc, webrtc-audio-processing, wayland, weston, - xdriver_xf86-video-savage, xserver_xorg-server, xen - - Issues resolved (http://bugs.buildroot.org): - - #9136: make graph-size fails with "ValueError: too many values to.. - #9151: qt: fix build with ALSA >= 1.1.x - #9156: qt: Fix missing runtime Qt3Support dependency - #9161: modsetting patch not applied to xserver 1.18.4 - #9166: Missing overlays directory in VFAT image for raspberry pi 3 - -2016.08-rc1, Released August 6th, 2016 - - Fixes all over the tree and new features. - - Toolchain: Fortran support added. eglibc support removed, musl - support no longer experimental. Blackfin and Microblaze - support for internal uClibc-ng toolchain, m68k/coldfire - improvements. The check for unsafe (build host) directories - access (/usr/include and /usr/lib) is now enabled by default. - Unused locales are now purged by default to save space (and - the default list of locales shrunk). The option to control - this has now moved from the toolchain menu to system - configuration. - - Legal info improvements: sources are now hardlinked instead of - copied if possible to save space. Patches and extra downloads - are also saved. - - An experimental configuration knob (BR2_REPRODUCIBLE) has been - added to make the builds more reproducible (E.G. less - differences in the binary output between builds of the same - configuration). This is still work in progress. - - An option to execute a custom script inside the fakeroot - environment used to the generate the filesystem (E.G. to tweak - permissions or similar) has been added. - - Git support now supports git submodules if - _GIT_SUBMODULES is enabled. - - Hash files for integritry validation have been added for all - packages. - - Scanpypi utility to help creating packages from the Python - package index (pypi) has been added. - - The makedevs utility now has support for adding file - capabilities using extended attributes. - - New defconfigs: Arcturus uCP1020, Atmel sama5d{2,3,4} xplained - development configs, Blackfin GDB simulator, Linksprite - pcDuino, Minnow Board Max graphical demo, NXP i.MX25 PDK, - i.MX51 EVK, i.MX6UL Pico, i.MX7 sabresd, QEMU MIPS32r6{,el} and - MIPS64r6{,el} malta, Roseapple Pi, Samsung Snow chromebook, - Toradex Apalis i.MX6 COM, TS-4800, x86-64 PC BIOS and EFI - demos. A number of defconfigs have been updated and extended - to generate SD card images. Synopsys HS38 VDK defconfig removed. - - New packages: 4th, acpica, acpitool, alljoyn, alljoyn-base, - alljoyn-tcl, alljoyn-tcl-base, argparse, babeld, batman-adv, - circus, dante, docker-containerd, docker-engine, domoticz, - efibootmgr, efivar, ficl, fwup, gsettings-desktop-schemas, - gtksourceview, gupnp-dlna, gupnp-tools, igd2-for-linux, - jemalloc, kmsxx, lapack, lft, libaacs, libamcodec, libbdplus, - libcoap, libdvdcss, libebur128, libfastjson, libminiupnpc, - libnatpmp, libpqxx, libuio, libvdpau, log4cpp, minissdpd, - mxsldr, nginx-nasxi, nginx-upload, ninja, nodm, odroid-mali, - odroid-scripts, omxplayer, openblas, openmpi, openzwave, - p7zip, pdbg, python-argh, python-dataproperty, - python-dateutil, python-dialog3, python-dicttoxml, - python-dominate, python-engineio, python-flask-jsonrpc, - python-flask-login, python-humanize, python-pathtools, - python-pathvalidate, python-pillow, python-prompt-toolkit, - python-pytablewriter, python-pytz, python-scapy3k, - python-sdnotify, python-socketio, python-tomako, - python-ubjson, python-u-msgpack, python-watchdog, - python-wcwidth, python-xlrd, python-xlsxwriter, - python-xlutils, python-xlwt, rs485conf, runc, sdl2_gfx, - sdl2_image, sdl2_ttf, shellinabox, sphinxbase, stella, - supertuxkart, systemd-bootchart, tekui, terminology, tinycbor, - tinydtls, ti-sgx-demos, ti-sgx-km, ti-sgx-um, tunctl, wavemon, - wiringpi, xen - - Deprecated packages: ipkg, sstrip - - Removed packages: sunxi-mali-prop - - Issues resolved (http://bugs.buildroot.org): - - #8931: segment fault when compile argp-help.c using aarch64-bu... - #8966: eglfs error. buildroot don't compile the library libeglfs.so - #8971: build for beaglebone fails - #8986: qt5imageformats fails to build on AArch64 - #8991: grub2 fails to compile - #9001: Nodejs option not available - #9006: gcc with c++ support v4 and v5 fail to compile on fedora 24 - #9016: arceb-buildroot-linux-uclibc ld uses incorrect default format - #9066: 8139TOO - faulty behaviour - #9086: Syntax Error (missing ")" in boot/uboot/uboot.mk on line 203) - #9091: U-Boot fails to boot with large ramdisk - -2016.05, Released May 31st, 2016 - - Minor fixes. - - External toolchain: Fix for symlink handling when copying - links to target. - - Updated/fixed packages: gcc, grantlee, gst-ffmpeg, - ipsec-tools, iptraf-ng, libcurl, libdrm, libsigsegv, ltris, - lttng-babeltrace, mbedtls, mesa3d, moarvm, mplayer, mtools, - net-tools, openpowerlink, pulseview, rpm, tinyalsa, - xdriver_xf86-video-fbturbo, xserver_xorg-server - -2016.05-rc3, Released May 26th, 2016 - - Fixes all over the tree. - - Tweaks for SSP handling for external toolchains. - - Updated/fixed packages: aircrack-ng, bluez5_utils, connman, - cups, erlang-p1-stringprep, expat, ffmpeg, flann, flannel, go, - gst1-libav, hidapi, hplip, iptraf-ng, jamvm, kodi, - kodi-screensaver-matrixtrails, libcurl, libepoxy, libgpgme, - libsemanage, libxslt, liquid-dsp, ltris, lxc, mesa3d, midori, - mpg123, mtr, openpgm, openpowerlink, oprofile, php, - postgresql, putty, python-service-identity, python-treq, - qlibc, qt5serialbus, ruby, stress-ng, strongswan, time, tinc, - ustr, valgrind, webkitgtk, libxml2, xorriso, - xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #8936: Aircrack-ng - Alot of missing dependencies - -2016.05-rc2, Released May 17th, 2016 - - Fixes all over the tree. - - Rootfs overlay handling now refuses to overwrite - /{usr,bin,sbin,lib} symlinks from BR2_ROOTFS_MERGED_USR option - even if these directories are present in the overlay. - - External toolchain: Unbreak user provided libraries deployment - (BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS) handling after refactoring. - - QEMU coldfire: Fix for signal handling kernel issue, enable - networking support. - - Updated/fixed packages: android-tools, assimp, boost, gcc, - glibc, glmark2, gmrender-resurrect, go, go-bootstrap, iputils, - jack2, kodi-screensaver-asterwave, kodi-screensaver-rsxs, - kodi-visualisation-shadertoy, libarchive, libinput, libpjsip, - mali-t76x, mtr, nginx, opencv, openvpn, python-coherence, - qt5multimeda, quagga, samba4, sg3-utils, stress-ng, turbolua - -2016.05-rc1, Released May 10th, 2016 - - Fixes all over the tree and new features. - - Architectures: new ARM variants: Cortex A17 and M4, improved - nonmmu (cortex-M) support, m68k has been re-enabled with - support for ColdFire. For x86, support for the i386 variant - has been dropped. - - Toolchain: Add GCC 6 support, remove GCC 4.5, mark GCC 4.7 as - deprecated. Go programming language support, Add Binutils 2.26 - support. Old Sourcery PowerPC external toolchains removed, - Sourcery MIPS 2016.06-8, AMD64 2015.11-139, NiosII 2015.11-130 - added, Linaro ARM/ARMeb/Aarch64 toolchains updated. - - New defconfigs: Firefly RK3288, Boundary Devices i.MX7 Nitrogen7, - STM32F429 and STM32F469 Discovery boards, Hardkernel ODROID-C2, - Raspberry Pi Zero and Raspberry Pi 3. Some Qemu defconfigs were - added for m68k, eXtensa-nommu and ColdFire. - - Linux: use zImage by default on ARM, subversion repository - support (for u-boot as well). - - New packages: aer-inject, android-tools, cannelloni, - cbootimage, cgroupfs-mount, connman-gtk, crudini, dt, - gmrender-resurrect, flannel, font-awesome, freeswitch, go, - go-bootstrap, gr-osmosdr, granite, i7z, imx-uuc, - kodi-adsp-basic, kodi-adsp-freesurround, - kodi-audiodecoder-opus, kodi-pvr-hdhomerun, - kodi-screensaver-asterwave, kodi-screensaver-cpblobs, - kodi-screensaver-matrixtrails, kodi-screensaver-planestate, - kodi-screensaver-rsxs, kodi-visualisation-fishbmc, - kodi-visualisation-fountain, kodi-visualisation-goom, libgee, - libimxvpuapi, libpjsip, libtomcrypt, libtommath, libusbgx, - lksctp-tools, mali-t76x, mkpimage, mpv, msr-tools, nload, - norm, nvme, owfs, pound, privoxy, procrank_linux, putty, - python-autobahn, python-characteristic, python-crossbar, - python-cryptography, python-iniparse, python-iowait, - python-lmdb, python-pexpect, python-ptyprocess, - python-pyasn-modules, python-pygments, python-pymysql, - python-pynacl, python-pyopenssl, python-pysocks, - python-pytrie, python-rpi-gpio, python-service-identity, - python-setproctitle, python-shutilwhich, python-treq, - python-txaio, python-ujson, python-wsaccel, qt5canvas3d, - qt5location, qt5quickcontrols2, qt5serialbus, qt5tools, - raptor, scrub, taskd, tegrarcm, turbolua, valijson, - wayland-protocols, webkitgtk, wilc1000-firmware, wpan-tools, - xdriver_xf86-video-amdgpu - - Removed packages: foomatic-filters, python-m2crypto, - qt5quick1, qt5webkit-examples, samba, xdriver_xf86-input-void - - Issues resolved (http://bugs.buildroot.org): - - #6830: Qt5: no fonts are installed - #7562: musl buildroot-toolchain and BR2_MIPS_SOFT_FLOAT break - #7580: Invalid filesystem in Pandaboard defconfig - #8346: wf111 package removes all kernel module dependencies - #8436: xserver_xorg-server Segmentation fault - #8736: IPV6 forced on in busybox - #8746: At startup system stops with 'cannot set terminal proces.. - #8751: make fail [fio does not build on sh] - #8766: Compiling host-gcc-final-4.9.3 broken on i386 - #8771: make savedefconfig modifies sources - #8781: Unable to build uboot for imx28evk - #8786: gdb fails to build with xz and expat support at the same - #8801: Compilation of Buildroot 2016.2 for Raspberry Pi with... - #8806: Buildroot 2016.2 for Raspberry Pi requires that ext4... - #8836: Can't select Vim in menuconfig - #8851: Make sure fio can compile with libaio support if it... - #8861: With buildroot 2016.02 trying to build for corei7-avx - fails while trying to build host-binutils - #8866: Making an USB flash bootable with extlinux build with - buildroot does not work - -2016.02, Released March 1st, 2016 - - Minor fixes, mostly security related. - - Circular dependency issue with same-as-kernel linux-headers - option fixed. - - Updated/fixed packages: bluez5_utils, heirloom-mailx, - imx-gpu-viv, kodi-pvr-argustv, kodi-pvr-mediaportal-tvserver, - kodi-pvr-nextpvr, libfcgi, openssl, pifmrds, powerpc-utils, - python-m2crypto, slang, sox, squid, tn5250, xerces, zsh - -2016.02-rc3, Released February 27th, 2016 - - Fixes all over the tree. - - Defconfigs: Ensure EABIhf is correctly enabled for ARM cores - where VFP is optional (but present on the specific hw). Fix - ARM variant selection for freescale_imx31_3stack_defconfig. - - Ensure tarballs of downloaded git trees do not contain a - timestamp. - - Clarify license of patches in COPYING. - - Updated/fixed package: avahi, binutils, cairo, can-festival, - chrony, cifs-utils, dnsmasq, dvdauthor, e2fsprogs, efl, - erlang-rebar, eudev, fbterm, gawk, gnupg2, gnuradio, gpm, - gst1-plugins-good, hostapd, imagemagick, iproute2, iputils, - jack2, kexec, kismet, lftp, libarchive, libeXosip2, libfm, - libglib2, libsoil, libssh, libssh2, libuci, links, lshw, lxc, - mediastreamer, mono, mraa, mutt, nfs-utils, numactl, ofono, - omniorb, openipmi, openobex, patch, pax-utils, perf, - pulseaudio, pure-ftp, qhull, qt, quagga, quota, sdl_sound, - shairport-sync, spice, sysklogd, syslog-ng, trace-cmd, - trousers, tvheadend, util-linux, vim, webkitgtk24, wireshark, - wpa_supplicant, xerces, zsh - - Issues resolved (http://bugs.uclibc.org): - - #8651: libMonoPosixHelper.so wrong link reference in buildroot.. - -2016.02-rc2, Released February 18th, 2016 - - Fixes all over the tree. - - Toolchain: PR19405 backport to binutils 2.25.1 to fix NIOS ld - crash, backport of Xtensa .init/.fini literals handling. - glibc security patches for CVE-2014-8121, CVE-2015-1781 - and CVE-2015-7547. - - Defconfigs for Acmesystems Arietta g25 added. - - Updated/fixed packages: binutils, boost, chrony, dovecot, - e2fsprogs, fio, gdb, glibc, graphite2, icu, kbd, libbsd, - libcue, libgcrypt, libraw, links, mc, mosquitto, nodejs, - postgresql, pptp-linux, pulseaudio, samba4, spice, squid, - sysklogd, systemd, tiff, uclibc, ulogd, util-linux, valgrind. - - Issues resolved (http://bugs.uclibc.org): - - #8576: Building embedded Linux for Atmel SAMA5D4_Xplained... - #8606: Problem compiling on Arch Linux - #8681: kbd 2.0.3 does not build on rpi - -2016.02-rc1, Released February 10th, 2016 - - Fixes all over the tree and new features. - - Toolchain: Support for GCC 5.3.x. ARC toolchain updated to - arc-2015.12. Support for legacy uClibc dropped, default to - uClibc-ng instead. Added sys/queue.h implementation for MUSL - for compatibility. Updated versions of Code sourcery and - Linaro toolchains. MIPS Codescape toolchains added. Version - selection for preconfigured external toolchains removed. - - New Defconfigs: ARM Juno r0/r1 development boards, Freescale - i.MX6UL Evaluation Kit, Intel Galileo Gen 2, Orange Pi PC. - A number of defconfigs have been extended to generate complete - system images using genimage. - - Linux: Automatically patch timeconst.pl for <3.9 kernels, - which isn't compatible with modern perl versions, breaking the - build when building on recent (Fedora 23, Debian - Testing/Unstable, ..) distributions. - - Makedevs utility now accepts textual (non-numerical) user and - group names. - - Vagrant file to easily setup a working development environment - in a VM has been added. - - Size-stats-compare script to compare rootfs sizes between - builds has been added. - - Infozip package renamed to zip. EFL packages restructured. - - Updated/fixed packages: aespipe, aiccu, alsa-lib, alsa-utils, - angularjs, apache, apr, argp-standalone, armadillo, arptables, - at, atk, audiofile, aumix, autoconf-archive, avahi, bash, bc, - bcache-tools, bdwgc, beecrypt, bind, binutils, bluez5_utils, - bluez_utils, bonnie, boost, busybox, cairo, cdrkit, chrony, - clamav, cmake, collectd, connman, coreutils, cppcms, crda, - cryptodev-linux, cryptsetup, cups, cwiid, cxxtest, dbus, - dbus-cpp, dbus-glib, debianutils, dhcp, dhcpcd, dhrystone, - dillo, directfb, directfb-examples, dmraid, dnsmasq, doom-wad, - dovecot, dovecot-pigeonhole, dropbear, dtv-scan-tables, - dvb-apps, dvbsnoop, ecryptfs-utils, eigen, ejabberd, - elementary, elfutils, enlightenment, erlang, espeak, eudev, - eventlog, exfat, exfat-utils, exiv2, expedite, faifa, - fakeroot, fastd, fbgrab, fetchmail, ffmpeg, findutils, fio, - firmware-imx, flann, flashrom, flite, flot, fmlib, freerdp, - freescale-imx, freetype, gauche, gawk, gcc, gcc-final, gcr, - gdb, gdk-pixbuf, geoip, gesftpserver, gettext, giflib, git, - glibc, glibmm, glog, gmp, gnupg, gnupg2, gnutls, gob2, gpsd, - gptfdisk, grep, gst1-libav, gst1-plugins-{bad,base,good,ugly}, - gst-ffmpeg, gst-plugins-{bad,base,good,ugly}, gstreamer, - gstreamer1, guile, gvfs, gzip, harfbuzz, haserl, hiawatha, - hostapd, hplip, icu, ifupdown, imagemagick, imx-gpu-viv, - imx-kobs, imx-lib, input-tools, intel-microcode, iperf3, - ipmitool, iproute2, iprutils, ipsec-tools, ipset, iptables, - iputils, irda-utils, irssi, iucode-tool, jack2, janus-gateway, - jpeg-turbo, jquery-datetimepicker, jquery-keyboard, - jquery-sparkline, jquery-ui, jquery-ui-themes, - jquery-validation, json-c, kbd, kernel-module-imx-gpu-viv, - keyutils, kmod, knock, kodi, lcdproc, lcms2, leafnode2, - leafpad, libass, libatomic_ops, libbroadvoice, libbsd, - libcap-ng, libcdaudio, libcue, libcurl, libdrm, libecore, - libedbus, libedit, libedje, libeet, libefreet, libeina, - libeio, libelementary, libembryo, libepoxy, libethumb, libev, - libevas, libevas-generic-loaders, libevdev, libevent, libffi, - libfm, libfribidi, libfslcodec, libfslparser, libfslvpuwrap, - libftdi, libfuse, libgail, libglew, libglib2, libgtk2, - libgtk3, libgudev, libhttpparser, libidn, libinput, libiscsi, - libjpeg, liblinear, libmbim, libmicrohttpd, libndp, libnspr, - libnss, liboauth, liboping, libpciaccess, libplist, libpng, - libraw, libraw1394, librsvg, libseccomp, libsecret, - libserialport, libsigc, libsigrok, libsigrokdecode, - libsndfile, libsoc, libsodium, libsoup, libssh2, libsvg, - libsvg-cairo, libtasn1, libtirpc, libtorrent, libungif, - libunwind, libupnpp, liburcu, libuv, libv4l, libva, - libva-intel-driver, libvips, libvncserver, libxml2, libxmlpp, - lightning, lighttpd, linknx, linux-firmware, linux-fusion, - linux-headers, liquid-dsp, lirc-tools, live555, lm-sensors, - lockdev, lshw, ltp-testsuite, ltrace, lttng-babeltrace, - lttng-libust, lttng-modules, lttng-tools, lua, luabitop, - luarocks, luv, lvm2, lxc, makedevs, mc, memcached, memtest86, - mesa3d, mesa3d-demos, mesa3d-headers, micropython, - micropython-lib, minicom, minidlna, mjpg-streamer, mke2img, - moarvm, modem-manager, mongoose, mongrel2, monkey, mono, - monolite, mosh, mosquitto, mpd, mplayer, msgpack, mtdev2tuio, - musepack, musl, mysql, nano, nasm, nbd, neard, netatalk, - netsnmp, nettle, net-tools, network-manager, nfs-utils, nginx, - nmap, nodejs, ntfs-3g, ntp, numactl, nut, nvidia-driver, - odhcp6c, ofono, ola, olsr, omniorb, opencv, opencv3, openipmi, - openldap, openntpd, openobex, openocd, openpgm, - open-plc-utils, openpowerlink, openssh, openssl, openswan, - openvpn, opkg, oprofile, opus, opusfile, p11-kit, package, - pango, pax-utils, pciutils, pcmanfm, perl, perl-db-file, - perl-io-socket-ssl, perl-libwww-perl, perl-net-dns, perl-uri, - perl-xml-libxml, php, php-ssh2, picocom, pinentry, pixman, - polarssl, popt, portaudio, pppd, procps-ng, proftpd, protobuf, - psmisc, ptpd2, pulseaudio, pulseview, pv, python, python3, - python-alsaaudio, python-can, python-cffi, python-cherrypy, - python-httplib2, python-jinja2, python-lxml, python-m2crypto, - python-mako, python-msgpack, python-psutil, python-pyasn, - python-pycparser, python-pydal, python-pyftpdlib, - python-pyroute2, python-pyxml, python-pyzmq, python-requests, - python-serial, python-setuptools, python-six, python-spidev, - python-tornado, python-twisted, python-web2py, python-webpy, - python-werkzeug, python-zope-interface, qemu, qhull, qpdf, qt, - qt5, qt5base, qt5connectivity, qt5declarative, qt5enginio, - qt5graphicaleffects, qt5imageformats, qt5multimedia, - qt5quick1, qt5quickcontrols, qt5script, qt5sensors, - qt5serialport, qt5svg, qt5webchannel, qt5webkit, - qt5webkit-examples, qt5websockets, qt5x11extras, - qt5xmlpatterns, qt-webkit-kiosk, racehound, radvd, read-edid, - readline, redis, rpcbind, rpi-firmware, rpi-userland, rrdtool, - rsync, rsyslog, rtai, rtorrent, rt-tests, rubix, ruby, samba4, - sconeserver, setools, shairport-sync, sigrok-cli, skeleton, - smack, snowball-init, socat, sp-oops-extract, sqlite, - squashfs, squeezelite, squid, sredird, sshfs, - start-stop-daemon, strace, strongswan, stunnel, subversion, - sunxi-tools, swig, sysdig, syslog-ng, sysstat, systemd, - sysvinit, taglib, tcl, tcpreplay, thrift, ti-gfx, tinyalsa, - tor, torsmo, trace-cmd, transmission, tremor, triggerhappy, - trinity, tvheadend, tzdata, uboot-tools, uclibc, udisks, - udpcast, unionfs, upmpdcli, usb_modeswitch, - usb_modeswitch_data, ustr, util-linux, vala, valgrind, - vboot-utils, vde2, vlc, vnstat, webkit, webkitgtk24, weston, - wget, whetstone, whois, wine, wipe, wireless-regdb, wireshark, - wpa_supplicant, w_scan, x11r7, xapp_xbacklight, xapp_xcompmgr, - xapp_xinput, xapp_xkbcomp, xdriver_xf86-input-evdev, - xdriver_xf86-input-libinput, xdriver_xf86-input-synaptics, - xdriver_xf86-video-ati, xdriver_xf86-video-fbturbo, - xdriver_xf86-video-imx-viv, xdriver_xf86-video-intel, - xfont_encodings, xfont_font-adobe-100dpi, - xfont_font-adobe-75dpi, xfont_font-adobe-utopia-100dpi, - xfont_font-adobe-utopia-75dpi, xfont_font-adobe-utopia-type1, - xfont_font-alias, xfont_font-arabic-misc, - xfont_font-bh-100dpi, xfont_font-bh-75dpi, - xfont_font-bh-lucidatypewriter-100dpi, - xfont_font-bh-lucidatypewriter-75dpi, xfont_font-bh-ttf, - xfont_font-bh-type1, xfont_font-bitstream-100dpi, - xfont_font-bitstream-75dpi, xfont_font-bitstream-type1, - xfont_font-cronyx-cyrillic, xfont_font-cursor-misc, - xfont_font-daewoo-misc, xfont_font-dec-misc, - xfont_font-ibm-type1, xfont_font-isas-misc, - xfont_font-jis-misc, xfont_font-micro-misc, - xfont_font-misc-cyrillic, xfont_font-misc-ethiopic, - xfont_font-misc-meltho, xfont_font-misc-misc, - xfont_font-mutt-misc, xfont_font-schumacher-misc, - xfont_font-screen-cyrillic, xfont_font-sony-misc, - xfont_font-sun-misc, xfont_font-winitzki-cyrillic, - xfont_font-xfree86-type1, xfsprogs, xkeyboard-config, xl2tp, - xlib_libfontenc, xlib_libXi, xmlstarlet, xscreensaver, - xserver_xorg-server, xtables-addons, xvkbd, xz, yad, yasm, - ympd, zeromq, zic, znc, zsh, - - New packages: acsccid, assimp, atkmm, autofs, bcm2835, - cairomm, cantarell, chocolate-doom, comix-cursors, cxxtest, - edid-decode, emlog, gcr, gtkmm3, hidapi, jquery-sidebar, - kernel-module-imx-gpu-viv, libasplib, libcroco, libdvbpsi, - libfreeglut, libgdiplus, libglfw, libhdhomerun, libnet, - libsoil, lldpd, luvi, mbedtls, minizip, miraclecast, mongodb, - mraa, netbsd-queue, netsniff-ng, nss-pam-ldapd, - obsidian-cursors, openal, openbox, pangomm, - python-backports-abc, python-beautifulsoup4, python-cbor, - python-click, python-cssselect, python-ecdsa, python-html5lib, - python-idna, python-ipaddress, python-mistune, python-netaddr, - python-paho-mqtt, python-paramiko, python-pyparted, - python-pysmb, python-pyudev, python-singledispatch, - python-smbus-cffi, python-urllib3, qt53d, rabbitmq-c, rfkill, - sbc, spi-tools, tpm-tools, trousers, ubus, unrar, unscd, - unzip, v4l2grab, xdriver_xf86-video-nouveau, xdotool, zbar - - Removed packages: libungif, python-pyxml, - - Issues resolved (http://bugs.uclibc.org): - - #7886: gettext: link failure with locally-installed libxml2 - #7892: systemd-journald is broken - #8066: nodejs crashes when built with gcc 4.9 - #8296: nodejs 0.12.7 - npm crashes (seg core dump) - #8501: gunzip fails to uncompress files - #8541: fail to build host-fakeroot-1.20.2 - #8546: build instructions for raspberry pi don't work - #8571: strace for ARC compile error - #8581: pciutils.mk PCIUTILS_MAKE_OPTS typo - #8616: Fail to build for raspberrypi_defconfig with big endian - #8621: sqlite package, properly enable readline - -2015.11, Released November 30th, 2015 - - Minor fixes. - - Merged/seperate /usr handling is now also performed for - staging so cross-gdb / gdbserver can find the libraries. - - Updated/fixed packages: autossh, conntrack-tools, dcron, - espeak, gcc, glmark2, gpsd, gstreamer1, libglib2, libsigsegv, - libsoc, libv4l, minidlna, mongrel2, opencv, polarssl, - rpi-userland, rubix, skeleton, tovid, uemacs, valgrind, yad, - zmqpp - - Issues resolved (http://bugs.uclibc.org): - - #8441: Invalid directory for X11 fonts in target (RPi2) - #8491: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3 - -2015.11-rc3, Released November 26th, 2015 - - Fixes all over the tree. - - We have a new modern website! - - Updated/fixed packages: apitrace, audiofile, autossh, bullet, - c-ares, collectd, conntrack-tools, cryptodev-linux, dropbear, - fastd, gmp, gpsd, gst-plugins-bad, gst-plugins-base, - gst-plugins-good, gst-plugins-ugly, gstreamer, gstreamer1, - guile, iodine, iproute2, jimtcl, kompexsqlite, libethumb, - libfreeimage, libgsasl, libgtk3, libxml2, localedef, - lttng-tools, macchanger, mongrel2, mpd, openntpd, openssl, - oprofile, pcre, qt5base, quagga, rpi-userland, sconeserver, - sdl, spidev_test, sqlite, strongswan, ustr, xapp_sessreg, - yajl, zmqpp - - Issues resolved (http://bugs.uclibc.org): - - #6872: gpsd: disabled on microblaze - #8321: invalid opcode error with minidlna and ffmpeg - #8336: Default systemd configuration fails to boot correctly in 2015-08 - #8446: rpi-userland failed to build with glibc 2.22 - -2015.11-rc2, Released November 19th, 2015 - - Fixes all over the tree. - - LD_LIBRARY_PATH is no longer used to ensure host binaries find - their libraries, fixing issues on recent Fedora. - - Toolchain fixes for powerpc e5500 / e6500. Fix for an issue - with ${TARGET}-cc after the move to use a toolchain wrapper - for the internal toolchain. - - Appy-patches.sh now correctly applies all files listed in - series files. - - Fixes for merged /usr handling when a custom skeleton is used. - - Updated/fixed packages: axfsutils, boost, busybox, dhcp, - directfb, dropbear, ebtables, fastd, ffmpeg, gauche, gcc, - gettext, gst1-plugins-bad, hostapd, ibrdtnd, libcurl, - libecore, libgudev, libnss, libpng, libserial, libssh2, - libuecc, libxml2, linux-headers, liquid-dsp, ltris, - lua-periphery, minidlna, mongrel2, mpd, mpg123, mplayer, - mysql, opencv, opencv3, package, perl-file-util, php-ssh2, - polarssl, pulseaudio, python-protobuf, qemu, qt5base, ranger, - ruby, skeleton, slang, squeezelite, strongswan, tovid, uclibc, - ushare, wine, wpa_supplicant, x265, - xdriver_xf86-video-siliconmotion, zxing-cpp - - Issues resolved (http://bugs.uclibc.org): - - #4790: Running udhcpc on a system with NFS root kills NFS - #8456: Building host-pkgconf on Fedora 23 fails due to.. - -2015.11-rc1, Released November, 7th 2015 - - Fixes all over the tree and new features. - - Architectures: - - - Support for sparc64 added (internal toolchain with glibc - only). - - - Support for mips32r6 and mips64r6 added. - - - Support for Intel Quark X1000 CPU. - - - Switch to EABIhf by default on ARM when a VFP is available. - - Toolchains: - - - glibc 2.22, gdb 7.10, use gdb 7.9 by default, musl 1.1.12, - uclibc-ng 1.0.8, host-gdb enabled on AArch64. - - - The toolchain wrapper which was used only for external - toolchains is now also used for Buildroot internal - toolchains. This allowed to fix the ccache support, prepare - the way for top-level parallel build support and remove gcc - patches used to detect header/library path poisoning. - - - Remove Analog Devices Blackfin toolchain 2012R2. - - - Fix several Xtensa build failures by switching from - text-section-literals to auto-litpools. - - - Enable MIPS64 support in uClibc-ng, use uClibc on ARC - rather than a specific fork. - - - Linaro toolchains for ARM, ARMeb and AArch64 updated to - 2015.08. 2014.09 version is kept since 2015.08 only runs on - x86_64 hosts. - - Bootloaders: - - - Fix ARM64 support in U-Boot. - - Defconfigs: - - - Added: ARC HS38 VDK virtual boards, Avnet Microzed, Boundary - Devices Nitrogen SoloX, Freescale i.MX6 SoloX Sabre SD, - OLinuxino A20 Lime2, Qemu Sparc64, Qemu SuperH 4 big endian, - Synopsys AArch64 VDK virtual platform. - - - Updated: calao_qil_a9260, calao_usb_a9g20_lpw, ci20, - cubieboad, freescale_imx6_*, imx53loco, imx6_vab820, - mpc8315erdb, qmx6, p1010rdb, qemu, raspberrypi, - raspberrypi2, riotboard, snps_axs10*, wandboard. - - - Removed: at91rm9200df, at91sam9260dfc, at91sam9263ek, - calao_snowball_defconfig, gnublin, integrator926_defconfig. - - Infrastructure: - - - Support for fetching from Mercurial tags fixed. - - - Introduce LINUX_NEEDS_MODULES, which allows to enforce - module support to be enabled in the kernel when a package - builds out-of-tree kernel modules (through the - pkg-kernel-module infrastructure or on its own). - - - Improve the perl package infrastructure to automatically add - the dependency to the perl interpreter to target perl module - packages. - - - Remove trailing slashes in _SITE and addition of a - check to ensure such trailing slashes are no longer added. - - - Extend the legal infrastructure to allow packages to declare - their actual source code. This is useful for packages for - which _SOURCE points to pre-built binaries (as is the - case for external toolchains). The new _ACTUAL_SOURCE - variable allows to point to the source code in such cases. - - - Improved ccache support, thanks to the usage of a toolchain - wrapper for internal toolchain. Now a single cache directory - can be shared between different Buildroot builds. - - - Addition of a 'graph-size' make targets, which generates a - PDF graph of per-package size of the root filesystem. - - - Addition of _EXCLUDES so that packages can request - certain parts of the source code tarball to not be - extracted. This feature is currently used by gcc and - toolchain-external. - - - Packages can now use the _PKGDIR variable, provided by - the package infrastructure, to reference their package - directory, instead of explicitly using package//. - - Filesystems: - - - Add high lz4 compression to squashfs. - - - Simplification of shell profile files in the default - skeleton. - - - Remove ftp user and /home/ftp from the skeleton, and let ftp - server packages create these when needed. - - - Add support for /bin, /sbin and /lib to be symlinks to their - corresponding directories in /usr. This is enforced for - systemd configurations, and optional for other - configurations. - - - Support for AXFS filesystem image generation added. - - - New options to add extra space/inodes to ext2/3/4 images. - - Updated/fixed packages: - - adwaita-icon-theme, apache, apitrace, atk, audit, avahi, - barebox, bash, batctl, bind, binutils, bluez_utils, boost, - bridge-utils, cairo, ccache, chrony, clapack, cloog, cmake, - collectd, connman, conntrack-tools, coreutils, cpio, - cryptsetup, dbus, dbus-cpp, devmem2, dhcp, dhcpcd, dhcpdump, - dhrystone, dillo, directfb, directfb-examples, dmraid, - dos2unix, dovecot, dovecot-pigeonhole, drbd-utils, dropbear, - dropwatch, dtc, e2fsprogs, ebtables, efl, eigen, ejabberd, - elf2flt, elfutils, erlang, ethtool, eudev, evemu, exfat, - exfat-utils, expat, faifa, fbterm, fdk-aac, feh, ffmpeg, file, - flashrom, fping, freerdp, freescale-imx, freetype, gdk-pixbuf, - genimage, gettext, git, glib-networking, glmark2, gnupg2, - gnuradio, gnutls, gpsd, grep, grub2, gst1-imx, gst1-libav, - gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, - gst1-plugins-ugly, gst1-validate, gst-fsl-plugins, - gst-plugins-bad, gstreamer1, guile, gvfs, harfbuzz, haveged, - hostapd, icu, imagemagick, impiutil, imx-gpu-viv, imx-vpu, - inadyn, intltool, iostat, iperf3, ipmiutil, iproute2, - iptables, iw, jpeg-turbo, jq, jsoncpp, kexec-lite, kmod, kodi, - kodi-audioencoder-flac, kodi-pvr-argustv, kodi-pvr-filmon, - kodi-pvr-hts, kodi-pvr-mythtv, kodi-pvr-pctv, - kodi-pvr-stalker, kodi-pvr-vbox, - kodi-visualisation-waveforhue, less, lftp, libbluray, - libcgroup, libconfuse, libcurl, libdcadec, libdrm, libevdev, - libffi, libfribidi, libfslcodec, libfslparser, libfslvpuwrap, - libgcrypt, libglew, libglib2, libgtk3, libidn, liblinear, - liblockfile, libmicrohttpd, libnetfilter_conntrack, libnfs, - libnftnl, libnl, libnspr, libnss, libpcap, libpfm4, libpng, - libselinux, libserial, libsoup, libsoxr, libstrophe, libtasn1, - libtirpc, libtorrent, libupnpp, liburcu, libusb-compat, libuv, - libv4l, libva, libva-intel-driver, libxcb, lighttpd, links, - linux, linux-firmware, linux-fusion, linux-headers, - lirc-tools, localedef, lpeg, lsof, ltp-testsuite, - lttng-libust, lttng-tools, lua-periphery, luaposix, lvm2, lxc, - lz4, mdadm, mesa3d, mesa3d-headers, minicom, minidlna, moarvm, - modem-manager, mosquitto, mpd, mpdecimal, mpg123, mplayer, - mrouted, msmtp, mtd, mutt, nettle, network-manager, nfs-utils, - nftables, nginx, nodejs, noip, ntp, ofono, opencv3, openpgm, - openssl, openswan, openvpn, pango, parted, perl, perl-cross, - perl-crypt-openssl-random, perl-http-message, - perl-io-socket-ssl, perl-module-build, perl-mojolicious, - perl-netaddr-ip, perl-net-dns, perl-net-http, perl-net-ssleay, - perl-uri, perl-xml-libxml, php, picocom, pixman, pkgconf, - poco, polarssl, portaudio, portmap, postgresql, proftpd, - protobuf, protobuf-c, pulseaudio, python-configshell-fb, - python-networkmanager, python-numpy, python-pyparsing, - python-pypcap, python-rtslib-fb, python-spidev, python-urwid, - python-web2py, qemu, qt5base, redis, rngtools, rng-tools, - rpi-firmware, rpi-userland, rtmpdump, rtorrent, ruby, samba, - samba4, sane-backends, sconeserver, sdl, sed, setools, - shairport-sync, shared-mime-info, sland, smartmontools, - softether, spice-protocol, sqlcipher, sqlite, squid, - strongswan, stunnel, subversion, sudo, sunxi-tools, - supervisor, systemd, tar, targetcli-fb, tcpdump, tiff, tor, - tvheadend, tzdata, uboot-tools, udisks, unionfs, upmpdcli, - util-linux, vala, valgrind, vim, vlc, vorbis-tools, vsftpd, - vtun, wavpack, webkitgtk24, weston, whois, wireless-regdb, - wireshark, wpa_supplicant, xdriver_xf86-input-vmmouse, - xdriver_xf86-video-imx-viv, xdriver_xf86-video-intel, - xdriver_xf86-video-sis, xlib_libXi, xorg-server, - xtables-addons, xterm, xz, zic, znc, zsh - - New packages: - - axfsutils, bitstream, check, dvblast, eventlog, fastd, gauche, - gmock, graphite2, gssdp, gupnp, gupnp-av, ibrcommon, ibrdtn, - ibrdtnd, ibrdtn-tools, imx-kobs, iqvlinux, irssi, - kompexsqlite, libbroadvoice, libcddb, libcodec2, libcrossguid, - libg7221, libhttpparser, libilbc, libldns, libmng, - libopenh264, libpam-radius-auth, libpam-tacplus, libsilk, - libsoundtouch, libssh, libuecc, libyuv, liquid-dsp, luv, - micropython, micropython-libs, python-pyratemp, - python-pyroute2, python-ranger, rapidxml, scrypt, sdl2, - sp-oops-extract, squeezelite, stress-ng, swupdate, syslog-ng, - x265, xdriver_xf86-video-fbturbo, xxhash, yad, zxing-cpp - - Removed packages: - - blackbox (was deprecated), divine (merged in directfb), - kobs-ng (replaced by imx-kobs), mediactl (merged in libv4l), - sawman (merged in directfb), schifra (marked broken since a - long time), texinfo (host variant only, no longer used), zxing - (replaced by zxing-cpp), - - Issues resolved (http://bugs.uclibc.org): - - #4099: cut utility from GNU coreutils works incorrect - #7772: libxml-parser-perl build failure: missing dependency - ExtUtils/MakeMaker - #7931: Default configuration for Cubieboard v1 is outdated - #8116: 2015.05-rc2 raspberrypi2_defconfig network interface - not coming up - #8246: X.org DRI2 build issue - #8256: pointing to /usr/bin/objcopy old version (x86) instead - of the generated one - #8266: mplayer build issue - #8281: pyrexc fails to run when path is too long - #8316: lttng-tools and lttng-babeltrace executables contain - bad RPATH pointing to host machine - #8331: kexec wants shutdown in /sbin, but systemd installs it - in /usr/sbin - #8361: Buildroot 2015.08.1 skeleton inittab overwritten by - busybox's version - #8366: libevent does not build - #8386: build failed with external toolchain - #8391: Node.js 0.12.7 fails to build on raspberry_pi defconfig - #8396: CCACHE initialization - #8401: gpsd 3.15 NMEA support - #8416: cups depends on BR2_DEPRECATED_SINCE_2015_05 - #8421: util-linux installs systemd files in output/target/home/ - -2015.08, Released August 31st, 2015 - - Minor fixes. - - OpenCV 3.x package renamed to opencv3. OpenCV 2.4.x - reintroduced as opencv. - - Updated/fixed packages: bootutils, canfestival, cppcms, - curlftpfs, dhcpdump, dropbear, erlang-p1-tls, exfat, gnuradio, - ipkg, libgudev, libmbim, libwebsock, linux-pam, lm-sensors, - ltrace, midori, network-manager, openssh, perl-file-listing, - perl-http-cookies, perl-http-daemon, perl-http-negotiate, - perl-www-robotrules, python-can, qt5base, qt5multimedia, - setools, sysvinit, tinyalsa, tn5250, tvheadend, uboot, vlc, - x264, xserver_xorg-server, zyre - -2015.08-rc2, Released August, 24th 2015 - - Fixes all over the tree. - - Toolchain: fix gcc build on NIOS-II. - - Infrastructure: add _POST_GEN_HOOKS mechanism to fix - hybrid ISO image generation. - - Architectures: add arm1136j-s variant. - - Updated/fixed packages: apitrace, audit, bcusdk, bdwgc, - beecrypt, boost, bwm-ng, cdrkit, c-icap, cifs-utils, clapack, - c-periphery, cpio, cramfs, czmq, dawgdic, dnsmasq, dosfstools, - dropbear, elfutils, empty, eudev, fan-ctrl, filemq, gnutls, - guile, haveged, imlib2, libcec, libepoxy, libev, libgpgme, - libiio, libnetfilter_queue, libnfnetlink, libpfm4, libpthsem, - librtas, libselinux, libsigsegv, libsodium, libv4l, lightning, - linux, lirc-tools, lrzsz, mono, mosh, mpd, msmtp, nbd, - netatalk, nodejs, ola, opencv, oprofile, php, poco, - postgresql, powertop, protobuf, protobuf-c, qt5base, - qt5quickcontrols, rapidjson, rng-tools, squid, sysdig, - sysstat, tftpd, tinc, tz, util-linux, webkitgtk24, weston, - wireshark, wvstreams, xdriver_xf86-input-synaptics, zyre. - - Issues resolved (http://bugs.uclibc.org): - - #8276: package/dropbear: symlink resolution incorrect - #8286: Error with buildroot - #8301: ldconfig parameter in Makefile - -2015.08-rc1, Released August, 5th 2015 - - Fixes all over the tree and new features. - - Architectures: - - - Refactor how the availability of an MMU is described. - - Minimal support for Cortex-M3 - - Minimal support for AArch64 big-endian - - Toolchains: - - - Add CodeSourcery MIPS 2015.05, remove MIPS 2013.11 - - Use uClibc-ng as the default uClibc version, instead of the - official uClibc, which hasn't done any release since 3+ - years - - eglibc is now marked as deprecated - - GCC: gcc 4.9.x is now the default and was updated to 4.9.3, - support for gcc 5.x added. - - Binutils: use Binutils 2.24 as the default, 2.25.x series - bumped to 2.25.1, remove old Binutils 2.22. - - Update ARC toolchain components to 2015.06 - - Add support for Fortran when building gcc - - Bootloaders: - - - Support for using the kconfig configuration system in - U-Boot - - New Defconfigs: - - - VIA VAB-820/AMOS-820 - - OLimex OLinuxino A20 Lime - - Many new defconfigs for Atmel evaluation boards: - at91sam9rlek, at91sam9x5ek, sama5d3xek, sama5d4ek, sama5d4 - Xplained Ultra, sama5d3 Xplained. - - ACME Systems Aria G25 - - WarPboard - - Altera Cyclone 5 Development Board - - Xilinx zc706 - - ARC AXS101 and AXS103 Software Development Platforms - - Significant updates to Raspberry Pi / Raspberry Pi 2 - - Infrastructure: - - - Buildroot takes better care now of generating predictable - permissions in the target filesystem. However, existing - permissions on a custom skeleton or rootfs overlay will no - longer be preserved. Therefore, it is necessary to add a - permission table (BR2_ROOTFS_DEVICE_TABLE) to set the - required permissions. - - Add support for kconfig fragments. - - No longer pass --{enable,disable}-debug to autotools - packages depending on the value of - BR2_ENABLE_DEBUG. BR2_ENABLE_DEBUG now only controls - whether we build with -g or not. - - Support for extracting archives in .lzma in the generic - package infrastructure. - - Remove random-seed file from the default skeleton, since - seeding the entropy pool with a known seed makes more harm - than good. - - In the CVS download helper, add support to use a date as - the version. - - Add support for a per-package _STRIP_COMPONENTS - variable, which packages can use to specify how many path - components should be stripped when extracting the tarball. - - Addition of a 'kernel-module' package infrastructure, which - simplifies the packaging of external kernel modules. Many - existing packages are converted to use it. - - Allow bootloaders to be implemented in $(BR2_EXTERNAL) - - Remove /etc/securetty from the default skeleton. - - Migration of sysV initscripts from the default skeleton to - a package called 'initscripts', installed only when Busbox - init or sysvinit are used. - - Migration of the skeleton logic to a proper 'skeleton' - package. - - Addition of a 'linux-tools' infrastructure in the 'linux' - package, to support building user-space tools bundled - within the Linux kernel sources, such as perf and cpupower. - - Usage of backticks instead of make $(shell ...) to execute - shell commands. This allows to delay the evaluation of such - commands when actually needed, and not when expanding the - variables. It is useful to make 'make printvars' less - noisy, and as a preparation to support top-level parallel - build. - - Libtool .la files are not mungled for all package types, - instead of being handled only for packages using the - autotools-package infrastructure. - - Add mechanism to allow packages to express a dependency on - gcc versions. This is needed for packages that use C++11 or - C11 support for example. - - Important package updates: - - - Complete rework of the matchbox packaging - - Lots of fixes in packages for compatibility with musl and - gcc 5. - - Hash files added to a large number of packages. - - Update a significant number of packages to use a new - hosting, after the announcement of Google Code and - Gitorious closing. - - Major packages needed for SELinux support have been merged, - but the support is not complete yet. - - Significant update of OpenCV to version 3.0, and addition - of lots of eatures. - - Significant update of all packages supporting the GPU and - VPU of i.MX ARM processors. - - Addition of systemd support in a significant number of - packages. - - Qt5 updated to 5.5.0 - - Use modular X.org server by default instead of KDrive - - Filesystems: - - - Complete overhaul of the iso9660 support. Now allows to use - directly IS9660 as the root filesystem format and not only - an initrd, and supports Grub 2 and isolinux in addition to - Grub. - - Updated packages: a10disp, agentpp, apache, at91bootstrap3, - audit, barebox, bc, bind, bmon, boost, btrfs-progs, - ca-certificates, can-utils, ccache, cloog, collectd, connman, - coreutils, c-periphery, cryptsetup, dado, dbus, dejavu, - dhcpcd, dnsmasq, dosfstools, dovecot, dovecot-pigeonhole, - e2fsprogs, ejabberd, erlang-p1-cache-tab, erlang-p1-sip, - erlang-p1-stringprep, erlang-p1-stun, erlang-p1-tls, - erlang-p1-utils, erlang-p1-xml, erlang-p1-yaml, ethtool, - eudev, evtest, exim, expect, explorercanvas, feh, ffmpeg, - file, flashrom, freescale-imx, freetype, gawk, gcc, gdb, - gettext, git, glib-networking, gnupg2, gnutls, gpsd, gptfdisk, - gpu-viv-bin-mx6q, gst-fsl-plugins, harfbuzz, hdparm, heimdal, - i2c-tools, imagemagick, imx-vpu, iproute2, ipset, isl, iw, - kodi, kodi-addon-xvdr, kodi-audioencoder-flac, - kodi-audioencoder-lame, kodi-audioencoder-vorbis, - kodi-audioencoder-wav, lftp, libass, libassuan, libcec, - libconfi, libcurl, libdrm, libevdev, libfreefare, libfslcodec, - libfslparser, libfslvpuwrap, libfuse, libglib2, libgpgme, - libgtk2, libgtk3, libical, libidn, libiio, libinput, libiscsi, - libllcp, libmicrohttpd, libnfc, libnss, libpcap, libpciaccess, - libpng, libserialport, libsigrok, libsoc, libtirpc, libubox, - libunistring, libupnp, libuv, libv4l, libva, - libva-intel-driver, libXrandr, lighttpd, linenoise, linux, - linux-firmware, linux-headers, live555, ltrace, lua, - lua-csnappy, lua-ev, luajit, lua-messagepack, luaperiphery, - lvm2, lxc, lzo, mesa3d, mesa3d-headers, midori, mmc-utils, - modem-manager, mono, mosquitto, mpd, mpd-mpc, mpfr, mpg123, - mtd, musl, nano, netperf, network-manager, nfs-utils, nginx, - nodejs, ntp, ola, opencv, openldap, openssh, openssl, - openswan, openvmtools, openvpn, opkg, orbit, orc, pcmanfm, - perl-cross, perl-encode-locale, perl-io-socket-ssl, - perl-mojolicious, perl-net-ssleay, perl-path-tiny, perl-uri, - perl-xml-libxml, php, pinentry, polarssl, postgresql, - pulseview, pure-ftpd, python, python-dpkt, python-lxml, - python-networkmanager, python-pyinotify, python-pypcap, - python-tornado, qextserialport, qt, qt5, rapidjson, redis, - rpcbind, rpi-firmware, rpi-userland, samba4, shairport-sync, - snmpp, sqlite, squid, strongswan, stunnel, sudo, sunxi-boards, - sunxi-mali, sysdig, sysstat, systemd, tcpdump, tiff, tmux, - tor, txheadend, tzdata, uboot, uclibc, ulogd, upmpdcli, - usb_modeswitch, usb_modeswitch_data, vala, vsftpd, wayland, - weston, whois, wireless-regdb, wireshark, x264, xapp_xvinfo, - xdriver_xf86-input-libinput, xdriver_xf86-input-vmmouse, - xdriver_xf86-video-cirrus, xdriver_xf86-video-geode, - xdriver_xf86-video-imx-viv, xdriver_xf86-video-mach64, - xdriver_xf86-video-neomagic, xdriver_xf86-video-r128, - xdriver_xf86-video-savage, xdriver_xf86-video-siliconmotion, - xdriver_xf86-video-vesa, xkeyboard-config, xlib_libfontenc, - xlib_libFS, xlib_libXaw, xlib_libxkbfile, xlib_libXrender, - xlib_libXt, xproto_kbproto, xproto_xproto, xproto_xrandrproto, - xscreensaver, xserver_xorg-server, xtables-addons, yaml-cpp, - zic. - - New packages: angularjs, atf, audit, c-icap, c-icap-modules, - cpio, dawgdic, faketime, fcgiwrap, gflags, glog, initscripts, - jquery-datetimepicker, kodi-audioencoder-modplug, - kodi-audioencoder-nosefar, kodi-audioencoder-sidplay, - kodi-audioencoder-snesapu, kodi-audioencoder-stsound, - kodi-audioencoder-timidity, kodi-audioencoder-vgmstream, - kodi-platform, kodi-pvr-argustv, kodi-pvr-dvblink, - kodi-pvr-dvbviewer, kodi-pvr-filmon, kodi-pvr-hts, - kodi-pvr-iptvsimple, kodi-pvr-mediaportal-tvserver, - kodi-pvr-mythtv, kodi-pvr-nextpvr, kodi-pvr-njoy, - kodi-pvr-pctv, kodi-pvr-stalker, kodi-pvr-vbox, - kodi-pvr-vdr-vnsi, kodi-pvr-vuplus, kodi-pvr-wmc, - kodi-screensaver-asteroids, kodi-screensaver-biogenesis, - kodi-screensaver-crystalmorph, kodi-screensaver-greynetic, - kodi-screensaver-pingpong, kodi-screensaver-pyro, - kodi-screensaver-stars, kodi-visualisation-shadertoy, - kodi-visualisation-spectrum, kodi-visualisation-waveforhue, - kodi-visualisation-waveform, kvmtool, kyua, libfm, - libfm-extra, libplatform, librtas, libsodium, libsquish, - libucl, libump, linux-backports, lua-iconv, lutok, menu-cache, - moarvm, monkey, mono-gtksharp3, mosh, openipmi, python-can, - python-pycli, python-pydal, python-pyyaml, python-web2py, - qpid-proton, qt5webchannel, quazip, racehound, rtl8188eu, - rtl8821au, sepolgen, setools, skeleton, stm32flash, - webkitgtk24, xdriver_xf86-video-qxl, zynq-boot-bin. - - Deprecated packages: webkitgtk, libgail, eglibc support in - glibc package. - - Issues resolved (http://bugs.uclibc.org): - - #4291: Segmentation fault with all binaries that use threads - when compiled with gcc 4.6 - #6944: building toolchain for sh4 fails - #7592: Buildroot GCC: -lto requires plugin support in ranlib - #7628: Python SSL does not get built for Raspberry Pi - #7682: Missing dependencies for NFS - #7742: dhcp lacks important features when BR2_ENABLE_DEBUG - #7754: make: *** [/..../buildroot-2014.11/output/build/host-gcc-initial-4.8.3/.stamp_built] Error 2 - #7946: libglib2-2.42.2 fails to build for sparc-buildroot-linux-gnu - #7956: glibc 2.20 and 2.21 fail to build for sh64-buildroot-linux-gnu - #7971: python-flask, python-werkzeug. No module named zlib - #7981: Target file system skeleton permissions hazard - #8006: rpcdebug in nfs-utils built for the host - #8036: alsa-lib headers problem that prevents to compile alsa - dependent projects - #8081: systemd init system: /tmp is not mode 1777 - #8121: php opcache extension doesn't get installed - #8151: x86-64 make fails with ncurses 5.9 - #8156: pkg-kconfig infra broken for *-update-{config, defconfig} - #8161: default /bin/sh symlink to busybox is full path and not relative - #8171: glamor missing - #8191: Request update support for the cubieboard series - #8201: Important security upgrades for node.js - -2015.05, Released May 31st, 2015 - - Minor fixes. - - Updated/fixed packages: conntrack-tools, directfb, fio, flite, - gptfdisk, ipmiutil, iproute2, janus-gateway, keyutils, knock, - libelementary, libgcrypt, libgsasl, libjpeg, libstrophe, - lttng-libust, nbd, ncurses, nmap, php, postgresql, python, - python3, sconeserver, udpcast, upmpdcli - -2015.05-rc3, Released May 22nd, 2015 - - Several fixes, mainly related to static linking. - - Updated/fixed packages: acl, alsa-utils, apr, armadillo, attr, - autoconf-archive, binutils, boost, czmq, dhcpcd, duma, - enlightenment, exim, fbterm, freerdp, gcc, gdk-pixbuf, - google-breakpad, gpsd, heirloom-mailx, hwloc, ipmiutil, - iproute2, jack2, jasper, kmod, lcdproc, leafnode2, libcap-ng, - libftdi1, libmatroska, libmemcached, libmodbus, libnftnl, - libsigrok, libupnpp, libuv, libxml-parser-perl, linux, - linux-headers, lirc-tools, lua-periphery, lxc, mongoose, mono, - mpg123, mosquitto, neardal, newt, ntp, ola, openldap, opencv, - php, postgresql, protobuf, pulseaudio, python-pyqt, qemu, qt, - qt5base, rpi-userland, rsyslog, snmppp, sqlite, tiff, - tinyxml2, uboot-tools, unionfs, ux5000-firmware, usbredir, - ushare, vpnc, vsftpd, wavpack, wireless_tools, wsapi, - wvstreams, xmlstarlet, zeromq, zmqpp - - New packages: c-periphery - - Issues resolved (http://bugs.uclibc.org): - - #8106: mkfs.jffs2 uses the --pagesize parameter incorrectly - #8111: 2015.05.rc2 LIBFOO_CONF_OPTS not working - #8126: exim lacks plaintext and cram-md5 auth - -2015.05-rc2, Released May 11th, 2015 - - Minor fixes. - - Toolchain: PR56780 backport to GCC 4.8.4 to fix GDB linking - issues. Context functions enabled for uClibc snapshot / - uClibc-NG. - - Architectures: Endian handling symbol for Xtensa, binutils - fixes. - - Infrastructure: Fix for kernel module stripping when - localversion contains spaces. - - Updated/fixed packages: at, autoconf-archive, binutils, - cc-tool, cryptsetup, dstat, expedite, freerdp, giflib, - gnuchess, guile, ipmiutil, iproute2, mono, monolite, neard, - ola, poppler, postgresql, python-qt, qt, sqlite, valgrind, - xlib_libXfont - - Issues resolved (http://bugs.uclibc.org): - - #8086: Cannot select systemd as init with Linaro 2014.09... - -2015.05-rc1, Released May 4th, 2015 - - Fixes all over the tree and new features. - - Architectures: Removed AVR32 support, deprecate SH64, added - support for steamroller, corei7-avx and core-avx2 x86 - variants. - - Toolchains: IPv6 and Largefile support now enforced for - uClibc. Corresponding Kconfig symbols removed. - - External CodeSourcery AMD64 2014.05, MUSL-cross 1.1.6 added, - CS sh2, Xilinx microblaze v2/14.3 removed. Distro-class - external toolchains are now detected and blacklisted. - - Internal toolchain support for Nios2 added, Blackfin - removed. Aarch64 and sh musl support. uClibc-ng support added. - - Libatomic is now handled for internal and external - toolchains. Link time optimization (LTO) support. - - New Defconfigs: Freescale i.MX28 EVK, i.MX31 PDK and SABRE - Auto, Raspberry Pi 2, RIoTboard, - - Infrastructure: Hashes for a large number of packages have - been added. Missing hashes now stop the build unless - explicitly disabled. - - Spaces and colons (:) are now supported in package - versions. Dependencies can now be listed for the patch step - (_PATCH_DEPENDENCIES). Kconfig and Linux kernel - extensions infrastructure has been added. - - Makedevs now has a recursive (r) option. - - The variable containing the list of packages to build has been - renamed from TARGETS to PACKAGES. - - Make external-deps / legal-info / source / source-check have - been reimplemented using the package infrastructure, so their - output/behaviour may differ from earlier (some packages were - not included in the past). - - The old insecure DES password encoding is no longer supported. - - U-Boot patch option now support direct references to patch - files and URLs in addition to directories of patches. The - i.MX28 SD format (u-boot.sd) is now supported. - - Updated/fixed packages: agentpp, aircrack-ng, alsa-lib, - alsa-utils, apr-util, apr, atk, autossh, avahi, avrdude, - bcusdk, bdwgc, bind, binutils, bmon, boost, botan, - btrfs-progs, busybox, ca-certificates, cairo, can-utils, - canfestival, ccache, chrony, civetweb, clamav, cmake, - collectd, connman, copas, crda, cryptodev-linux, cryptsetup, - cups, czmq, dbus-cpp, dbus-glib, dbus-python, dbus, dfu-util, - dhcp, dhcpcd, dialog, dillo, dmraid, dnsmasq, dos2unix, - dosfstools, dovecot-pigeonhole, dovecot, dropbear, dropwatch, - dtv-scan-tables, dvdauthor, e2fsprogs, ecryptfs-utils, - libevas, elfutils, enscript, erlang, espeak, eudev, evemu, - exfat-utils, exim, f2fs-tools, feh, ffmpeg, fftw, flickcurl, - fltk, fluxbox, fmlib, fmtools, freeradius-client, freerdp, - gamin, gawk, gcc-final, gcc, gd, gdb, gengetopt, geoip, git, - glib-networking, gnu-efi, gnuchess, gnutls, gpsd, gptfdisk, - gpu-viv-bin-mx6q, gst-plugin-bad, gstreamer, gstreamer1, - gtest, gvfs, harfbuzz, haserl, haveged, hiawatha, - hicolor-icon-theme, hostapd, hplip, httping, i2c-tools, icu, - ifplugd, imagemagick, imlib2, iozone, iproute2, iptables, - iputils, irqbalance, iw, jack2, jhead, jimtcl, json-c, kexec, - kismet, kmod, kodi-audioencoder-flac, - kodi-audioencoder-vorbis, kodi-pvr-addons, kodi, ktap, lcms2, - libass, libatomic_ops, libbluray, libcap, libcgroup, libcurl, - libdrm, libdvbsi, libebml, libecore, libedit, liberation, - libev, libevas, libevdev, libftdi, libgcrypt, libglib2, - libgpgme, libgtk2, libgtk3, libiconv, libidn, libiio, - libinput, libiscsi, libksba, liblinear, libmatroska, - libmicrohttpd, libmodbus, libmpdclient, libnice, libnl, - libnspr, libnss, libpcap, libpciaccess, libphidget, libplayer, - libpthsem, libqmi, librsvg, libseccomp, libsigrok, libsoup, - libsrtp, libssh2, libtasn1, libtool, libunistring, liburcu, - libusb, libuv, libva-intel-driver, libva, libvncserver, - libvorbis, libvpx, libwebsockets, libxml2, libzip, lightning, - lighttpd, linknx, linphone, linux-firmware, linux-headers, - linux-pam, live555, ljsyscall, lmbench, lockdev, logrotate, - lpc3250loader, lpeg, lsof, lttng-libust, lttng-modules, - lttng-tools, lua, luacrypto, luafilesystem, luajit, luaposix, - luarocks, lvm2, lxc, make, - matchbox-{common,desktop,fakekey,keyboard,lib,startup-monitor,vm}, - matchbox, mcelog, memcached, memstat, memtest86, mesa3d, - minidlna, mjpegtools, mjpg-streamer, modem-manager, mongoose, - monit, mono, monolite, mp4v2, mpc, mpd, mpdecimal, mpg123, - mplayer, musl, nano, nbd, ncftp, ncmpc, ncurses, ne10, neard, - neardal, net-tools, netatalk, netsnmp, network-manager, nginx, - nodejs, ntfs-3g, ntp, numactl, odhcp6c, ofono, open2300, - opencv, openldap, openntpd, openocd, openssh, openssl, - openswan, opentyrian, openvmtools, openvpn, oprofile, p11-kit, - pango, patch, patchelf, pciutils, pcre, perf, perl-gdgraph, - perl-io-socket-ssl, perl-json-tiny, perl-module-build, - perl-mojolicious, perl-net-ssleay, perl-path-tiny, - perl-xml-libxml, perl, phidgetwebservice, php-gnupg, php, - pkgconf, polarssl, poppler, popt, postgresql, powerpc-utils, - pppd, prboom, procps-ng, proftpd, psplash, ptpd2, - python-{cheetah,coherence,django,markdown,netifaces,pam,six}, - python-tornado, python-twisted, python-zope-interface, python, - python3, qemu, qt, qt5, qt5base, qt5multimedia, - qt5xmlpatterns, qt5cinex, quagga, qwt, radvd, readline, - rng-tools, rpcbind, rpi-firmware, rpi-userland, rsync, - rsyslog, rtai, rtmpdump, ruby, sam-ba, samba, samba4, - sane-backends, sconeserver, shairport-sync, sigrok-cli, slang, - smcroute, snmppp, socat, socketcand, sofia-sip, sox, - spawn-fcgi, speex, sqlcipher, sqlite, squid, strace, - strongswan, stunnel, sudo, sunxi-boards, swig, sysstat, - systemd, tcpdump, tftpd, thrift, thttpd, ti-gfx, ti-utils, - tiff, tinyalsa, tn5250, transmission, trinity, tslib, - tvheadend, tzdata, uboot-tools, uclibc, ulogd, usb_modeswitch, - usbutils, ustr, util-linux, vala, valgrind, vlc, wayland, - webp, weston, wget, which, whois, wireless-regdb, - wireless_tools, wireshark, wpa_supplicant, wvstreams, - xapp_{bdftopcf,bitmap,fonttosfnt,fslsfonts}, - xapp_{fstobdf,iceauth,mkfontscale,oclock,rgb,sessreg,setxkbmap}, - xapp_{showfont,smproxy,twm,x11perf,xcalc,xclipboard,xcmsdb}, - xapp_{xdbedizzy,xditview,xdpyinfo,xdriinfo,xedit,xev,xeyes}, - xapp_{xf86dga,xfsinfo,xgamma,xgc,xhost,xinit,xinput,xkbcomp}, - xapp_{xkbevd,xkbprint,xlsatoms,xlsfonts,xmag,xman,xmh,xmodmap}, - xapp_xmore, xcb-util-image, xcb-util-keysyms, - xdata_xcursor-themes, - xdriver_xf86-input-{evdev,keyboard,synaptics,void}, - xdriver_xf86-video-{ati,cirrus,geode,mach64,mga,neomagic}, - xdriver_xf86-video-{r128,savage,siliconmotion,sis,tdfx}, - xdriver_xf86-video-{trident,vmware,voodoo}, xenomai, - xfont_font-util, xkeyboard-config, - xlib_lib{ICE,X11,Xdmcp,Xfont,Xpm,XvMC}, - xlib_lib{Xxf86vm,xshmfence,xtrans}, xproto_randrproto, - xproto_xproto, xserver_xorg-server, x11vnc, x264, xerces, - xorriso, xterm, xz, yaml-cpp, zeromq, zic, zmqpp - - New packages: apache, autoconf-archive, batctl, - bitstream-vera, bullet, cc-tool, doxygen, drbd-utils, - dvdrw-tools, gnuradio, gst1-imx, hans, hwloc, ijs, - imx-usb-loader, inconsolata, iodine, iotop, ipmiutil, jsoncpp, - leveldb, libdcadec, libdri2, libfreeimage, libftdi1, - libsidplay2, lirc-tools, lua-periphery, mc, mesa3d-headers, - mosquitto, nvidia-driver, nvidia-tegra23{,-binaries,-codecs}, - openjpeg, opusfile, perl-crypt-openssl-{random,rsa}, - perl-db-file, perl-digest-{hmac,sha1}, - perl-encode-{detect,locale}, perl-file-{listing,util}, - perl-html-{parser,tagset}, perl-http-cookies, - perl-http-{daemon,date,message,negotiate}, perl-io-html, - perl-libwww-perl, perl-lwp-mediatypes, perl-mail-dkim, - perl-mailtools, perl-mime-base64, perl-net-{dns,http}, - perl-netaddr-ip, perl-time-hires, perl-timedate, perl-uri, - perl-www-robotrules, powertop, pulseview, - python-{cherrypy,lxml,mako,pyqt,pyxml,sip,spidev,ws4py}, qpdf, - qt-webkit-kiosk, sl, softether, sysdig, tinyxml2, tor, tovid, - unixodbc, wf111, wine, libepoxy, xapp_xcompmgr, - xapp_xfindproxy, xcb-util-cursor, xcb-util-renderutil, - xdriver_xf86-input-libinput, xdriver_xf86-video-imx{,-viv}, - xproto_xproxymanagementprotocol - - Removed packages: gtk2-theme-hicolor - - Deprecated packages: samba - - Issues resolved (http://bugs.uclibc.org): - - #7478: Multiple chosen python modules are not built due to... - #7508: Use of BR2_EXTERNAL and dependencies to existing packages - #7676: Package procps-ng installs binaries to nonsensical folder - #7724: Startx is not installed in the target - #7760: botan: wrong prefix in botan-1.10.pc - #7826: Building of cdparanoia - #7844: Lua with hard-float on MIPS by buildroot doesn't work - #7874: X.org configure error - #7941: glibc-2.20 fails to build for sparc-buildroot-linux-gnu - #7951: gcc 4.9.2 fails to build for sparc-buildroot-linux-gnu - #7961: Qt5 fails to build for xtensa-buildroot-linux-uclibc - #7976: mkuser script fails with: user already exists with... - #8011: When building only busybox and strace, strace fails... - #8016: collectd fails to build, network.c:171:19: error:... - #8041: error on building libcurl7.42.0 - -2015.02, Released March 1st, 2015 - - Minor fixes. - - Updated/fixed packages: civetweb, ding-libs, - directfb-examples, glibc, gnupg, gnupg2, gpm, - gst-plugins-good, gst1-plugins-good, freetype, libao, libevas, - libevent, libfribidi, libgcrypt, libgtk2, libshout, libsrtp, - libtheora, libupnpp, libxmlrpc, linux, make, opus, pinentry, - rpi-firmware, shared-mime-info, vlc, vorbis-tools, - xcb-util-keysyms - - Removed packages: libgc - -2015.02-rc3, Released February 24th, 2015 - - Minor fixes. - - Cmake and rebar (erlang) infrastructure fixes. - - Updated/fixed packages: bind, btrfs-progs, busybox, e2fsprogs, - evtest, ffmpeg, fltk, gnutls, i2c-tools, imagemagick, libxcb, - make, mjpg-streamer, netsnmp, opentyrian, php, polarssl, - qt5base, samba, samba4, sudo, util-linux, xserver_xorg-server - -2015.02-rc2, Released February 15th, 2015 - - Minor fixes. - - raspberrypi: fix kernel sha1 for DT variant. - - Updated/fixed packages: dbus, dvdauthor, git, libsemanage, - libsepol, libssh2, mplayer, ntp, openvmtools, python3, - qt5base, qt5connectivity, xserver_xorg-server - -2015.02-rc1, Released February 8th, 2015 - - Fixes all over the tree and new features. - - Static/shared library handling reworked. This is now a - tristate (shared only / shared and static / static - only). Default is now shared only to speed up the - build. BR2_PREFER_STATIC_LIB is now called BR2_STATIC_LIBS. - - The toolchain (internal and external) will now warn when an - unsafe library or header path is used (such as /usr/include or - /usr/lib). If BR2_COMPILER_PARANOID_UNSAFE_PATH is enabled - under build options this instead becomes an error. - - A installation path issue with the internal musl toolchain - support has been fixed so it is now possible to reuse it as an - external toolchain. - - Architectures: Freescale E5500 and E6500 PowerPC support - added, deprecated MIPS 1/2/3/4 support removed. - - New defconfigs: Freescale p2020ds, MIPS creator CI20, - Raspberrypi with DT, UDOO Quad. - - 'make _defconfig' now saves the path to the defconfig in - the .config, so a 'make savedefconfig' automatically updates - it. - - Infrastructure for packages using the Erland rebar tool has - been added. - - Hashes for a large number of packages have been added. Hashes - are now checked for both target and host packages. - - The system menu now has an option to automatically configure a - network interface through DHCP at bootup. - - The default filesystem skeleton now uses a separate tmpfs for - /run instead of a symlink to /tmp/ for security reasons / to - protect against conflicts with user generated temporary files. - - BR2_EXTERNAL is now exported to post-build and post-image - scripts. - - New packages: bdwgc, benejson, blktrace, bootstrap, cgic, - ding-libs, dvdauthor, ejabberd, erlang-goldrush, erlang-lager, - erlang-p1-cache-tab, erlang-p1-iconv, erlang-p1-sip, - erlang-p1-stringprep, erlang-p1-stun, erlang-p1-tls, - erlang-p1-utils, erlang-p1-xml, erlang-p1-yaml, - erlang-p1-zlib, exiv2, freeradius-client, gengetopt, glmark2, - gpu-amd-bin-mx51, guile, host-qemu, ifupdown, iperf3, - janus-gateway, kodi, kodi-audioencoder-flac, - kodi-audioencoder-lame, kodi-audioencoder-vorbis, - kodi-audioencoder-wav, libcli, libiio, liblinear, libnice, - libselinux, libsemanage, libserialport, libsigro, - libsigrokdecode, libsrtp, liburiparser, libvips, libwebsock, - libz160, libzip, lightning, mcelog, memtest86, mjpegtools, - mjpg-streamer, mke2img, mpd-mpc, netsurf-buildsystem, odhcp6c, - openldap, python-alsaaudio, python-certifi, python-cheetah, - python-coherence, python-django, python-docopt, python-enum, - python-enum34, python-flask, python-gobject, python-httplib2, - python-ipaddr, python-itsdangerous, python-jinja, - python-markdown, python-markupsafe, python-networkmanager, - python-pam, python-psutil, python-pyftpdlib, python-pyinotify, - python-pysendfile, python-pyxb, python-requests, python-six, - python-twisted, python-webpy, python-werkzeug, - python-zope-interface, qt5cinex, sigrok-cli, sofia-sip, - start-stop-daemon, szip, triggerhappy, ustr, vnstat, xorriso, - xtables-addons - - Removed packages (target): bison, distcc, gob2, m4 - - Issues resolved (http://bugs.uclibc.org): - - #7556: make interactive CLI optional for nftables - #7730: Error while connecting Qt Cretaor to device - #7766: logrotate default gzip path is usually wrong - #7790: Invalid ext4 image generated by Buildroot - -2014.11, Released December 1st, 2014 - - Minor fixes. - - Infrastructure: LD_LIBRARY_PATH handling tweak to ensure - current working directory isn't searched. - - Updated/fixed packages: gd, gdb, libwebsockets, luajit, mono, - parted, shairport-sync, util-linux, xapp_bdftopcf, - xserver_xorg-server - -2014.11-rc3, Released November 28th, 2014 - - Fixes all over the tree. - - System: File permissions of /etc/random-seed made more - restrictive. - - Toolchain: Various fixes related to locale handling, a fix for - building the toolchain wrapper on MIPS. - - Updated/fixed packages: bind, binutils. botan, btrfsprogs, - clamav, czmq, dhcp, dillo, dovecot, erlang, flac, gd, glibc, - gptfdisk, gst1-validate, heirloom-mailx, lame, libksba, - libllcp, libnspr, libpng, libshairplay, libtirpc, linux, - linux-headers, mpdecimal, mpg123, network-manager, nfstables, - nfs-utils, openssl, pcituils, qt, radvd, rtai, sqlcipher, - sstrip, tcpdump, uclibc, uemacs, ushare, wayland, weston, - xl2tp, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #7670: Fails to build mpc-1.0.2 on latest Cygwin - -2014.11-rc2, Released November 21st, 2014 - - Fixes all over the tree. - - Inittab tweaks for shutdown handling (busybox and sysvinit). - - Updated/fixed packages: aircrack-ng, botan, canfestival, - clamav, coreutils, czmq, dbus, dovecot, duma, e2fsprogs, - erlang, gcc, iputils, libcap, libgcrypt, libmemcached, - libssh2, libunwind, libv4l, linux-headers, mesa3d-demos, mutt, - mysql, ndisc6, nodejs, omniorb, perl-cross, php, - python-tornado, python3, qemu, qt5base, qt5webkit, rpm, - rt-tests, ruby, schifra, sdl_sound, shairport-sync, sysvinit, - tstools, tzdata, wireshark, x264 - - Issues resolved (http://bugs.uclibc.org): - - #7646: strftime on datetime not works on python3 - -2014.11-rc1, Released November 12th, 2014 - - Fixes all over the tree and new features. - - Toolchains: Use -mcpu / -march instead of -mtune. Support - additional ARC and sparc variants. Updated Code sourcery - and Linaro external toolchains. - - Defconfigs: Freescale iMX6DL SabreSD, Minnowboard MAX, QEMU - powerpc64 pseries added and a number of updates to the - existing configurations. - - Infrastructure: Buildroot is now less noisy when built with - the silent option (make -s). - A number of package infrastructure variables have been renamed - from *_OPT to *_OPTS for constency. Buildroot will complain if - the old names are used to assist in updating out of tree - packages. - Fixes for host systems where bash isn't located in /bin, and - older systems not supporting mktemp --tmpdir. - Various cleanups of users/groups in the default skeleton. - There is now an option to choose what shell /bin/sh points to. - - Documentation: Various updates to the user manual. The - asciidoc documentation handling has now been extended so it - can be used by (BR2_EXTERNAL) packages. - - Updated/fixed packages: acl, acpid, agentpp, aircrack-ng, - alsa-lib, alsamixergui, alsa-utils, apitrace, apr, apr-util, - argus, arptables, at, atftp, atk, attr, audiofile, aumix, - automake, autossh, avahi, avrdude, axel, bandwidthd, bash, - bcusdk, beecrypt, bind, binutils, blackbox, bluez5_utils, - bluez_utils, bmon, boost, bootutils, bridge-utils, - btrfs-progs, busybox, bwm-ng, bzip2, ca-certificates, cairo, - ccache, ccid, ccrypt, cdrkit, cegui06, celt051, chrony, - cifs-utils, civetweb, cjson, clapack, classpath, cloog, cmake, - collectd, connman, copas, coreutils, coxpcall, cppcms, cppdb, - cppzmq, cramfs, crda, cryptsetup, ctorrent, cups, cvs, cwiid, - czmq, dash, dbus, dbus-cpp, dbus-glib, dbus-python, dejavu, - dhcp, dhcpcd, dhcpdump, dialog, dillo, directfb, distcc, - dmalloc, dmidecode, dmraid, dnsmasq, doc-asciidoc.mk, - dosfstools, dropbear, dropwatch, dstat, dtach, dtc, dvbsnoop, - e2fsprogs, ecryptfs-utils, ed, efl, eigen, elf2flt, elfutils, - enlightenment, enscript, erlang, espeak, ethtool, eudev, - evemu, evtest, exfat, exfat-utils, exim, expat, expect, - explorercanvas, faifa, fakeroot, fan-ctrl, fbdump, - fb-test-app, fetchmail, ffmpeg, file, filemq, findutils, flac, - flann, flickcurl, flite, fltk, fluxbox, fmc, fmlib, - fontconfig, foomatic-filters, freerdp, freescale-imx, - freetype, ftop, fxload, gamin, gcc, gd, gdb, gdk-pixbuf, - genimage, genpart, genromfs, geoip, gettext, giblib, git, - glibc, glib-networking, gmp, gmpc, gnu-efi, gnupg, gnupg2, - gnuplot, gnutls, google-breakpad, gpm, gpsd, gptfdisk, - gpu-viv-bin-mx6q, grantlee, grep, gsl, gst1-libav, - gst1-plugins-{bad,base,good,ugly}, gst-ffmpeg, - gst-fsl-plugins, gst-omx, gst-plugins-{bad,base,good,ugly}, - gst-plugin-x170, gstreamer, gstreamer1, gtest, gtk2-engines, - gutenprint, gvfs, harfbuzz, haserl, haveged, hdparm, heimdal, - heirloom-mailx, hiawatha, hostapd, hplip, htop, httping, - hwdata, i2c-tools, icu, ifplugd, igh-ethercat, imagemagick, - imlib2, imx-lib, imx-vpu, inadyn, inotify-tools, input-tools, - intltool, iperf, iproute2, iprutils, ipsec-tools, ipset, - iptables, iputils, iw, jamvm, jansson, jasper, jimtcl, joe, - jpeg-turbo, jq, jquery-keyboard, jquery-mobile, jquery-ui, - jquery-ui-themes, jquery-validation, jsmin, json-c, - json-javascript, kbd, kexec, kexec-lite, keyutils, kismet, - kmod, knock, ktap, lame, lbase64, lbreakout2, lcdproc, lcms2, - lesstif, lftp, libaio, libao, libarchive, libargtable2, - libass, libassuan, libatasmart, libbluray, libbsd, libcap, - libcap-ng, libcdio, libcec, libcgicc, libcgroup, libcofi, - libconfig, libconfuse, libcurl, libdaemon, libdnet, libdrm, - libdvdnav, libecore, libedbus, libedit, libedje, libeet, - libelementary, libelf, libenca, libethumb, libevas, - libevas-generic-loaders, libevent, libexif, libeXosip2, - libffi, libftdi, libfuse, libgail, libgcrypt, libgeotiff, - libglade, libglib2, libgpgme, libgtk2, libhid, libidn, - libinput, libiscsi, libjson, libksba, liblockfile, - liblog4c-localtime, liblogging, libmad, libmatroska, libmbim, - libmemcached, libmicrohttpd, libmpdclient, libmpeg2, libndp, - libnfc, libnfs, libnftnl, libnl, libnspr, libnss, liboauth, - libogg, liboping, libosip2, libpcap, libpciaccess, libpfm4, - libplayer, libplist, libpng, libpthsem, libqmi, libqrencode, - libraw, libreplaygain, libroxml, librsvg, librtlsdr, - libsamplerate, libseccomp, libsecret, libshairplay, libsoc, - libsoup, libsoxr, libssh2, libstrophe, libsvg, libsvg-cairo, - libtasn1, libtheora, libtirpc, libtorrent, libubox, libuci, - libungif, liburcu, libusb, libuv, libv4l, libva, - libva-intel-driver, libvncserver, libvorbis, libvpx, - libwebsockets, libxcb, libxml2, libxml-parser-perl, libxmlrpc, - libxslt, lighttpd, linenoise, linknx, links, linphone, - linux-firmware, linux-fusion, linux-headers, linux-pam, - linux-zigbee, lite, live555, ljlinenoise, lmbench, lm-sensors, - localedef, lockdev, lockfile-progs, log4cxx, lpty, lrandom, - lrzsz, lshw, lsof, lsqlite3, ltp-testsuite, ltrace, ltris, - lttng-babeltrace, lttng-libust, lttng-modules, lttng-tools, - lua, luabitop, lua-coat, lua-coatpersistent, lua-csnappy, - lua-ev, luajit, luajson, lualogging, lua-messagepack, - lua-msgpack-native, luaposix, luarocks, luasec, luasocket, - luasql-sqlite3, lua-testmore, lunit, lvm2, lxc, lz4, lzlib, - lzma, m4, madplay, make, makedevs, Makefile.in, - matchbox-common, matchbox-desktop, matchbox-fakekey, - matchbox-keyboard, matchbox-lib, matchbox-panel, - matchbox-startup-monitor, matchbox-wm, mcrypt, mdadm, - media-ctl, mediastreamer, memcached, memstat, memtester, - mesa3d, metacity, midori, mii-diag, minidlna, mmc-utils, - modem-manager, mongoose, mongrel2, monit, mpc, mpd, mpdecimal, - mpfr, mpg123, mplayer, mrouted, msmtp, mtd, mtools, mtr, - musepack, musl, mutt, mxml, mysql, nano, nanocom, nbd, ncftp, - ncurses, ndisc6, ne10, neard, neon, netatalk, netperf, - netsnmp, nettle, net-tools, network-manager, newt, nfs-utils, - ngrep, nmap, nodejs, nss-mdns, ntfs-3g, ntp, numactl, nut, - nuttcp, ofono, ola, omap-u-boot-utils, omniorb, - on2-8170-modules, opencore-amr, opencv, openntpd, openobex, - openocd, openpowerlink, openssh, openssl, openswan, - opentyrian, opentyrian-data, openvpn, opkg, oprofile, opus, - opus-tools, orbit, orc, ortp, p11-kit, pango, parted, - pciutils, pcmanfm, pcre, pcsc-lite, perf, perl, perl-gd, - perl-gdgraph, perl-io-socket-ssl, perl-json-tiny, - perl-module-build, perl-mojolicious, perl-net-ssleay, - perl-path-tiny, perl-xml-libxml, perl-xml-parser, php, - php-geoip, php-gnupg, php-imagick, php-memcached, php-ssh2, - php-yaml, php-zmq, picocom, pifmrds, pinentry, pixman, - pkg-autotools.mk, pkg-cmake.mk, pkg-download.mk, - pkg-generic.mk, pkg-kconfig.mk, pkg-luarocks.mk, pkg-perl.mk, - pkg-python.mk, pkg-utils.mk, poco, polarssl, polkit, poppler, - popt, portaudio, portmap, postgresql, powerpc-utils, pppd, - pptp-linux, prboom, procps-ng, proftpd, protobuf, protobuf-c, - psmisc, ptpd2, pulseaudio, pv, pwgen, python, python3, - python-dialog, python-ipy, python-keyring, python-mad, - python-netifaces, python-numpy, python-protobuf, python-pyasn, - python-pyparsing, python-pyro, python-pyusb, python-serial, - python-setuptools, qdecoder, qemu, qextserialport, qjson, qt, - qt5, qt5base, qt5connectivity, qt5declarative, qt5enginio, - qt5graphicaleffects, qt5imageformats, qt5multimedia, - qt5quick1, qt5quickcontrols, qt5script, qt5sensors, - qt5serialport, qt5svg, qt5webkit, qt5webkit-examples, - qt5websockets, qt5x11extras, qt5xmlpatterns, qtuio, quagga, - quota, qwt, radvd, rapidjson, rdesktop, redis, rings, rpcbind, - rpi-firmware, rpi-userland, rpm, rp-pppoe, rrdtool, - rsh-redone, rsync, rsyslog, rtai, rtmpdump, rt-tests, rubix, - ruby, samba, sam-ba, samba4, sane-backends, schifra, - sconeserver, scons, screen, sdl, sdl_gfx, sdl_image, - sdl_mixer, sdl_net, sdl_sound, sdl_ttf, sed, ser2net, - setserial, sg3_utils, shared-mime-info, simicsfs, sispmctl, - slang, slirp, smcroute, smstools3, snmppp, - snowball-hdmiservice, socat, socketcand, sox, spawn-fcgi, - speex, spice, spice-protocol, sqlcipher, sqlite, squashfs, - squid, sredird, startup-notification, strace, stress, - strongswan, stunnel, subversion, sudo, sunxi-boards, - sunxi-cedarx, swig, sylpheed, synergy, sysklogd, sysstat, - systemd, sysvinit, taglib, tar, tcl, tcllib, tcpdump, - tcpreplay, texinfo, tftpd, thrift, thttpd, tiff, ti-utils, - tn5250, torsmo, trace-cmd, transmission, tslib, tstools, - tvheadend, twolame, tz, uboot-tools, uclibc, udisks, ulogd, - upmpdcli, upx, urg, usb_modeswitch, usbmount, usbredir, - usbutils, util-linux, valgrind, vde2, vim, vlc, vo-aacenc, - vorbis-tools, vpnc, vsftpd, vtun, wayland, webkit, webp, - webrtc-audio-processing, weston, wget, whois, wireless-regdb, - wireshark, wpa_supplicant, wvstreams, x11r7, x11vnc, - xapp_xcalc, xapp_xdm, xapp_xdpyinfo, xapp_xf86dga, xapp_xfs, - xapp_xinit, xapp_xkbevd, xapp_xmh, xapp_xrandr, xapp_xsm, - xbmc, xbmc-pvr-addons, xcb-proto, xcursor-transparent-theme, - xdriver_xf86-input-mouse, xdriver_xf86-video-{ast,intel}, - xdriver_xf86-video-vmware, xenomai, xerces, - xfont_font-adobe-{100,75}dpi, - xfont_font-adobe-utopia-{100dpi,75dpi,type1}, - xfont_font-alias, xfont_font-arabic-misc, - xfont_font-bh-100dpi, xfont_font-bh-75dpi, - xfont_font-bh-lucidatypewriter-100dpi, - xfont_font-bh-lucidatypewriter-75dpi, xfont_font-bh-ttf, - xfont_font-bh-type1, xfont_font-bitstream-100dpi, - xfont_font-bitstream-75dpi, xfont_font-bitstream-type1, - xfont_font-cronyx-cyrillic, xfont_font-cursor-misc, - xfont_font-daewoo-misc, xfont_font-dec-misc, - xfont_font-ibm-type1, xfont_font-isas-misc, - xfont_font-jis-misc, xfont_font-micro-misc, - xfont_font-misc-cyrillic, xfont_font-misc-ethiopic, - xfont_font-misc-meltho, xfont_font-misc-misc, - xfont_font-mutt-misc, xfont_font-schumacher-misc, - xfont_font-screen-cyrillic, xfont_font-sony-misc, - xfont_font-sun-misc, xfont_font-winitzki-cyrillic, - xfont_font-xfree86-type1, xfsprogs, xinetd, xkeyboard-config, - xlib_libdmx, xlib_libFS, xlib_libpciaccess, xlib_libSM, - xlib_libX11, xlib_libXaw, xlib_libXext, xlib_libXfont, - xlib_libXi, xlib_libXinerama, xlib_libXrandr, xlib_libXrender, - xlib_libXres, xlib_libXScrnSaver, xlib_libXt, xlib_libXv, - xlib_libXvMC, xlib_libXxf86dga, xlib_libXxf86vm, xmlstarlet, - xproto_xcmiscproto, xproto_xextproto, xscreensaver, - xserver_xorg-server, xterm, xz, zeromq, zlib, zlog, zmqpp, - znc, zsh, zxing - - New packages: adwaita-icon-theme, am335x-pru-package, - bcache-tools, biosdevname, botan, canfestival, clamav, - cppunit, dos2unix, dovecot, dovecot-pigeonhole, getent, glm, - gst1-validate, hicolor-icon-theme, ipmitool, leafnode2, - libdvbcsa, libgtk3, libphidget, libshout, libunistring, - libupnpp, mesa3d-demos, modplugtools, mono, monolite, mp4v2, - netcat-openbsd, nginx, odhcploc, openvmtools, - phidgetwebservice, pps-tools, pure-ftpd, - python-configshell-fb, python-rtslib-fb, python-urwid, qlibc, - qt5location, shairport-sync, spidev_test, targetcli-fb, - tinyalsa, trinity, x264, yaml-cpp, ympd - - Removed packages: libelf - - Issues resolved (http://bugs.uclibc.org): - - #261: New package: wxWidgets - #325: New package: ratpoison - #405: New package: OpenVZ tools - #1309: New package: rdiff-backup - #3427: New package: nginx - #3655: New package: libav - #3991: New Package: open-vm-tools (Vmware Tools) - #6878: dmraid: disabled on ARC - #6950: Full unicode support in ncurses - #7010: jamvm builds and runs fine under mips (be) - #7088: elfutils on Blackfin doesn't build - #7142: ecryptfs needs getent to run - #7280: CMake toolchain file uses the FORCE attribute on CMAKE_CXX_FLAGS - #7346: [2014.08rc3] vim-8ae50e3ef8bf.tar.gz can not be downloaded, ... - #7352: [2014.08-rc3] diffutils-3.3 failed on building - #7358: rpi-userland: linking with bcm_host doesn't give vc_dispmanx_* - #7364: monit builds a static application, even though BR2_PREFER_... - #7370: ngrep - requires --with-pcap-includes fully defined to find... - #7442: rootfs remount does not work as expected with sysvinit - #7448: Having export MACHINE="something" breaks glibc build on IMX6... - #7568: musl buildroot-toolchain does not put libgcc_s.so.1 into place - #7574: quota-4.01 fails to build statically - -2014.08, Released September 1st, 2014 - - Minor manual fixes/additions. - - Updated/fixed packages: btrfs-progs, cmake, cppcms, exim, - lftp, libdaemon, libev, libgpgme, libiqrf, libnl, libplist, - libroxml, libwebsockets, mesa3d, mpd, mtdev2tuio, musepack, - perl-gd, php-geoip, php-gnupg, php-imagick, php-memcached, - php-ssh2, php-yaml, php-zmq, polarssl, ruby, systemd, taglib, - uboot-tools, upmpdcli, webkit, xapp_xfs, xapp_luit, - xscreensaver, yajl - - Issues resolved (http://bugs.uclibc.org): - - #7346: vim-8ae50e3ef8bf.tar.gz can not be downloaded, 404 not found - -2014.08-rc3, Released August 26th, 2014 - - Minor fixes. - - User manual update / restructuring. - - Updated/fixed packages: cairo, ecryptfs-utils, gettext, - gstreamer, gstreamer1, gutenprint, icu, imagemagick, jack2, - lbreakout2, libevas-generic-loaders, libftdi, libinput, - libtorrent, ltris, msgpack, ntp, php, procps-ng, pulseaudio, - thrift, tvheadend, usb_modeswitch, xmlstarlet, - - Issues resolved (http://bugs.uclibc.org): - - #7136: ecryptfs-utils needs gettext to run when glibc/eglibc... - #7322: libgomp dependency issue with imagemagick - #7328: Git dl of versions in x/y broken - -2014.08-rc2, Released August 18th, 2014 - - Fixes all over the tree. - - User manual restructured / reworked. - - Toolchain: Fix for C++ exceptions / pthread_exit() on - uClibc/glibc, C++-11 features with uClibc. - - Updated/fixed packages: bandwidthd, bluez5_utils, empty, - espeak, fbv, ffmpeg, gd, gnupg2, gst1-plugin-good, iftop, - infozip, libcuefile, libeml, libnftl, localedef, ltrace, - matchbox, mpd, network-manager, nftables, ngrep, nut, openssl, - oprofile, perl, perl-net-ssleay, postgresql, pppd, procps-ng, - qt, subversion, synergy, systemd, tar, tftpd, webkit, - xapp_rstart, xbmc, xbmc-pvr-addons - - Issues resolved (http://bugs.uclibc.org): - - #7124: Use BR toolchain externally results a non-bootable... - #7208: Glibc C++ aplications crash if they use exceptions - #7250: Cannot build with -std=c++11 - #7262: Generating locale en_US.UTF-8 fails on 64bit fedora.. - #7286: systemd 215 doesn't build - -2014.08-rc1, Released August 8th, 2014 - - Fixes all over the tree and new features. - - Architecture: Powerpc64 BE/LE added, AVR32 deprecated. - Improved altivec / SPE /atomic instructions - handling. Additional PowerPC CPU variants added. - - Defconfigs: Atmel SAMA5D3, Congatec QMX6, Lego ev3, TS-5x00, - qemu-system-xtensa, qemu-aarch64-virt added. A number of - tweaks to existing ones. lpc32xx defconfigs removed. - - Toolchain: Microblaze support for internal musl toolchain. - Default to GCC 4.8 for internal toolchain, remove deprecated - 4.3 and 4.6 versions. - External CodeSourcery / Linaro toolchain updates, option to - copy gconv libraries for external toolchains. - - Infrastructure: graph-depends: misc fixes, transitive - dependencies are not drawn by default. Download handling is - now done using helper scripts. Integrity of downloads can now - be verified using sha* hashes. Subversion download now uses - peg revisions for robustness. - Legal-info: License info of local or overridden packages are - saved as well. Toolchain packages are also taken into account. - autotools: Static linking with libtool / v1.5 improvements. - Gettextize support, similar to autoreconf. - kconfig package infrastructure added. - - Misc: Version selection for busybox dropped. - - Updated/fixed packages: aespipe, aiccu, alsa-lib, alsa-utils, - alsamixergui, argus, armadillo, at, atftp, atk, avahi, - avrdude, axel, b43-firmware, b43-fwcutter, bandwidthd, bc, - bcusdk, beecrypt, bind, binutils, blackbox, bluez5_utils, - bmon, boa, bonnie, bootutils, bsdiff, btrfs-progs, bustle, - busybox, bwm-ng, bzip2, ca-certificates, cairo, can-utils, - ccache, ccrypt, chrony, cifs-utils, classpath, cloog, cmake, - collectd, connman, coreutils, cosmo, cppcms, cramfs, crda, - cryptodev-linux, cryptodev, ctorrent, cvs, dbus-cpp, - dbus-glib, dbus-python, dbus, dcron, dejavu, devmem2, - dfu-util, dhcp, dhcpcd, dhcpdump, dhrystone, dialog, dillo, - distcc, dmidecode, dmraid, dnsmasq, doom-wad, dropbear, - dropwatch, dsp-tools, dtv-scan-tables, dvb-apps, e2fsprogs, - e2tools, eeprog, eigen, elf2flt, elftosb, enlightenment, - enscript, espeak, ethtool, eudev, evemu, exim, expedite, - explorercanvas, ezxml, faifa, fan-ctrl, fconfig, feh, - fetchmail, ffmpeg, fftw, file, fio, fis, flann, flashrom, - flex, flot, fltk, fontconfig, freerdp, freescale-imx, - freetype, ftop, gcc, gd, gdb, genimage, genromfs, gettext, - giblib, glib-networking, glibc, gmp, gnupg, gnutls, gpm, gpsd, - gptfdisk, gpu-viv-bin-imx6q, gqview, grantlee, gst-ffmpeg, - gst-fsl-plugins, gst1-libav, gst1-plugins-bad, - gst1-plugins-ugly, gtk2-engines, gtk2-theme-hicolor, gtkperf, - gvfs, haserl, hdparm, hostapd, httping, i2c-tools, icu, - imagemagick, imx-lib, inadyn, inotify-tools, input-tools, - ipkg, iproute2, iputils, irda-utils, iw, jack2, jpeg, jquery, - jquery-keyboard, jquery-mobile, jquery-validation, jsmin, kbd, - kexec, kmod, knock, latencytop, lcdapi, leafpad, lesstif, - lftp, libaio, libarchive, libargtable2, libart, libatasmart, - libatomic_ops, libbsd, libcap-ng, libcec, libcgicc, libcgroup, - libconfuse, libcurl, libdrm, libdvdnav, libdvdread, - libeXosip2, libedit, liberation, libesmtp, libev, libevas, - libevdev, libevent, libfcgi, libffi, libfreefare, libfslcodec, - libfslparser, libfslvpuwrap, libgail, libgcrypt, libglade, - libglib2, libgpgme, libgtk2, libhid, libical, libiconv, - libiqrf, libjpeg, liblog4c-localtime, libmbus, libmicrohttpd, - libmms, libndp, libnftnl, libnl, libnspr, libnss, liboauth, - libpcap, libpng, libpthsem, libqmi, libraw, libraw1394, - librsvg, libsoc, libsoup, libsvgtiny, libsysfs, libtasn1, - libtirpc, libtorrent, libusb, libv4l, libwebsockets, libxcb, - libxml2, libyaml, links, linux-firmware, linux-fusion, - linux-headers, linux-pam, lite, live555, lm-sensors, - lockfile-progs, lpc3250loader, lshw, lsof, lsuio, ltrace, - ltris, lua-messagepack, luainterpreter, luajit, luaposix, - luarocks, lvm2, lxc, lz4, lzo, make, makedevs, mdadm, - mediastreamer, mesa3d, metacity, minidlna, mkpasswd, - modem-manager, mongoose, mpd, mpg123, msgpack, mtd, mtools, - mtr, musepack, musl, mysql, nano, nasm, nbd, ncurses, ndisc6, - netatalk, netplug, network-manager, nftables, ngircd, nodejs, - nss-mdns, ntp, nut, olsr, open2300, opencv, openntpd, openocd, - openpgm, openpowerlink, openssh, openssl, openswan, openvpn, - opkg, oprofile, opus-tools, orc, p910nd, pango, parted, - pax-utils, pcmanfm, perf, perl, perl-module-build, php, - pixman, pkgconf, poco, polarssl, popt, portmap, postgresql, - prboom, protobuf-c, proxychains-ng, psmisc, psplash, ptpd2, - python, - python-{bottle,dpkt,id3,mad,msgpack,nfc,pygame,pyzmq,simplejson}, - python3, qhull, qt, qt5base, qt5connectivity, qt5declarative, - qt5graphicaleffects, qt5multimedia, qt5quickcontrols, - qt5sensors, qt5svg, qt5webkit, quagga, quota, radvd, rdesktop, - read-edid, rpcbind, rpi-firmware, rpi-userland, rpm, - rsh-redone, rsync, rt-tests, rtmpdump, rtorrent, rubix, ruby, - samba, samba4, sane-backends, sawman, sconeserver, setserial, - sg3_utils, shared-mime-info, smartmontools, smcroute, snappy, - socketcand, spawn-fcgi, sqlite, squashfs, squid, sredird, - startup-notification, statserial, strongswan, stunnel, - sunxi-mali, supervisor, synergy, sysklogd, sysprof, sysstat, - systemd, tcpdump, tcpreplay, texinfo, thrift, thttpd, ti-gfx, - ti-utils, tinyhttpd, torsmo, trace-cmd, transmission, tslib, - tstools, tvheadend, tzdata, uboot-tools, uclibc, udev, - udpcast, usb_modeswitch, usbmount, util-linux, valgrind, vim, - vlc, w_scan, wayland, webrtc-audio-processing, weston, wget, - wireless-regdb, wireless_tools, wireshark, wpa_supplicant, - xapp_{twm,xconsole,xcursorgen,xedit,xfs,xinit,xrandr}, - xdriver_xf86-video-intel, xlib_lib{FS,ICE,Xext,Xfont,Xft,Xi}, - xproto_fontsproto, xproto_inputproto, xserver_xorg-server, - x11vnc, xbmc, xbmc-addon-xvdr, xbmc-pvr-addons, xterm, xvkbd, - xz - - New packages: flickcurl, fmc, fmlib, geoip, gnupg2, - google-breakpad, imx-vpu, isl, kexec-lite, libglew, libglu, - libinput, libksba, libmemcached, libmpdclient, librtlsdr, - libuv, libva, libva-intel-driver, linux-zigbee, memcached, - mpdecimal, ncmpc, opencore-amr, patchelf, perl-datetime-tiny, - perl-gd, perl-gdgraph, perl-gdtextutil, perl-io-socket-ssl, - perl-json-tiny, perl-mojolicious, perl-net-ssleay, - perl-path-tiny, perl-try-tiny, perl-xml-libxml, - perl-xml-namespacesupport, perl-xml-sax, perl-xml-sax-base, - php-geoip, php-memcached, pifmrds, pinentry, powerpc-utils, - procps-ng, pwgen, python-cffi, python-daemon, python-flup, - python-ipython, python-numpy, qt5enginio, qt5webkit-examples, - qt5websockets, simicsfs, sispmctl, sox, sshpass, tclap, - twolame, upmpdcli, whois, xlib_libxshmfence, xproto_dri3proto - - Removed packages: procps - - Issues resolved (http://bugs.uclibc.org): - - #5750: Doing a Buildroot build from /usr doesn't work - #5900: config flags to the Xenomai build system - #6230: Cannot compile gcc without threads (uClibc-based) - #6626: procps Unknown HZ value! (XX) Assume 100 - #7118: Package "thrift" requires atomic operations - #7154: Local uClibc config file gets overwritten using ... - #7160: host-xz not built - #7166: hostapd: segfault when using RT5370 - #7172: Name collision of rpath token expansion and internal.. - #7178: NTPd package cannot sync time without a proper ntp.conf - #7184: supervisord depends on libxml2 implicitly - #7196: Unable to build on UBUNTU13.10 - #7268: python 2.7 compilation issue on a Debian/Ubuntu ... - -2014.05, Released May 31st, 2014 - - Minor fixes. - - Minor manual fixes. U-Boot now defaults to spl/u-boot-spl.bin - for the spl file. - - Updated/fixed packages: exim, glibc, gnutls, libfribidi, - qt5base, qt5webkit, sysklogd, thrift, u-boot - -2014.05-rc3, Released May 28th, 2014 - - Minor fixes. - - Updated/fixed packages: acl, attr, connman, dosfstools, - dropbear, dvb-apps, exim, flite, gdb, httping, hwdata, - lesstif, libnss, libv4l, lttng-babeltrace, midori, monit, - mplayer, php, python2, rdesktop, rpi-userland, ruby, samba, - samba4, slang, xbmc - - Issues resolved (http://bugs.uclibc.org): - - #7100: license info for package 'acl' missing - #7106: license info for package 'attr' missing - #7112: license info for package 'hwdata' - -2014.05-rc2, Released May 21st, 2014 - - Fixes all over the tree. - - Stripping using sstrip has been deprecated. - - BR2_EXTERNAL can now also be used to implement custom - filesystem types. - - The newly added BR2_GRAPH_DEPTH variable to limit the depth of - the generated dependency graph has been renamed to - BR2_GRAPH_DEPS_OPTS, so additional options can be supported in - the future. - - The virtual package infrastructure will now error out early - if multiple packages providing the same virtual package has - been enabled (E.G. opengl). This change requires that the - packages explicitly declare what virtual package(s) they - provide. - - Updated/fixed packages: acpid, armadillo, avahi, bellagio, - btrfs-progs, cairo, clapack, directfb, duma, ecryptfs-utils, - elfutils, eudev, fbgrab, fio, flann, fluxbox, gdb, gpm, - gpu-viv-bin-mx6q, gst1-plugins-good, gst-plugins-good, - imagemagick, iprutils, ipsec-tools, jack2, libdvdnav, - libdvdread, libnss, libunwind, linux-headers, lsof, lua, - luajit, matchbox-keyboard, mesa3d, mpd, mplayer, mtr, mysql, - netsnmp, nodejs, openpowerlink, openvpn, pciutils, - php-imagick, postgresql, pulseaudio, qt5quick1, rpi-userland, - rsyslog, samba, samba4, sane-backends, sunxi-mali, systemd, - ti-gfx, tstools, udev, webkit, wpa_supplicant, xbmc, - xlib_libXpm, xserver_xorg-server, zyre - - Issues resolved (http://bugs.uclibc.org): - - #5396: Boot hangs when starting samba if BR2_ENABLE_LOCALE... - #7016: Git issues in resulting buildroot tar - #7094: pciutils doesn't build on Blackfin - -2014.05-rc1, Released May 13th, 2014 - - Fixes all over the tree and new features. - - Architectures: Support for MIPS o32 ABI on MIPS-64 targets has - been removed. Building o32 ELF files for MIPS64 is an exotic - configuration that nobody should be using. If o32 is required, - then is better if it's built for MIPS 32-bit cores so only - 32-bit instructions will be used leading to a more efficient - o32 usage. - Support for the ARM A12 variant and Intel corei7. - - Configs: Minnowboard and Altera SoCkit added, QEMU updates. - - Bootloaders: Grub2 and gummiboot support, syslinux support - extended. - - Toolchains: GCC 4.9. Glibc 2.19. Support for the musl C - library for internal and external toolchains. 4.8-R3 support - for ARC, Internal toolchain support for Aarch64 and - Microblaze. Environment variable to control debug output of - toolchain wrapper renamed to BR2_DEBUG_WRAPPER to match the - other variables. Toolchain tuple vendor name can now be - customized. Updated external Linaro ARM/Aarch64 - toolchains. Added external Linaro ARMEB toolchain. - A GDB gdbinit file is now generated for external toolchains to - automatically set the correct sysroot. - - Kconfig handling for minimum kernel headers version required - for packages. Now packages needing specific kernel header - features can specify these requirements in Kconfig. - - Infrastructure: Support for (but disabled as it leads to - unreproducible builds) toplevel parallel builds. See the - comment at the top of Makefile for details about how to enable - it and what the problems are if you want to test it. - Python package infrastructure extended to support Python 3.x - Perl and virtual package infrastructure support added. - PRE_*_HOOKS support for all build steps. - - Updated/fixed packages: acpid, agentpp, aiccu, apr, avahi, - barebox, bash, beecrypt, bellagio, binutils, boost, - boot-wrapper-aarch64, bustle, busybox, ca-certificates, cairo, - ccache, ccid, cgilua, chrony, cifs-utils, civetweb, cmake, - collectd, connman, coreutils, coxpcall, cppcms, cppzmq, crda, - cryptodev, cryptsetup, cups, czmq, dbus, dhcpdump, directfb, - dmalloc, dmraid, dnsmasq, dosfstools, dsp-tools, dtc, - dvb-apps, ebtables, ecryptfs-utils, eigen, erlang, ethtool, - evemu, evtest, f2fs-tools, fdk-aac, feh, ffmpeg, file, filemq, - flac, flot, fmtools, fping, freetype, fswebcam, gcc, gd, gdb, - gettext, giblib, git, glibc, glibmm, glib-networking, gmp, - gnutls, gpm, gpsd, gpu-viv-bin-mx6q, grep, gst1-libav, - gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, - gst1-plugins-ugly, gst-ffmpeg, gst-fsl-plugins, gst-omx, - gst-plugins-good, gstreamer1, gvfs, harfbuzz, haveged, - hostapd, htop, httping, ifplugd, iftop, igmpproxy, - imagemagick, imlib2, imx-lib, infozip, intltool, iproute2, - ipsec-tools, ipset, jansson, jpeg, jpeg-turbo, jquery, - jquery-keyboard, jquery-ui, jquery-ui-themes, json-glib, - json-javascript, kexec, kmod, lame, lbase64, lbreakout2, - lcdproc, lftp, libao, libatasmart, libatomic_ops, libcap, - libcdio, libcec, libcgicc, libcgroup, libcurl, libdrm, - libdvdnav, libdvdread, libegl, libeio, libenca, libesmtp, - libevas, libevdev, libfribidi, libfslcodec, libfslparser, - libfslvpuwrap, libgail, libgles, libglib2, libgtk2, libhid, - libjpeg, libmbim, libmicrohttpd, libmodplug, libnftnl, - libnspr, libogg, libopenmax, libopenvg, libpcap, libplayer, - libpng, libpthread-stubs, librsvg, libsigsegv, libsocketcan, - libsoup, libtasn1, libtool, libtpl, libunwind, liburcu, - libusb, libwebsockets, libxcb, libxml2, libxmlpp, libyaml, - lighttpd, linphone, linux-firmware, linux-headers, ljsyscall, - lmbench, lsof, ltp-testsuite, ltris, lttng-babeltrace, - lttng-libust, lttng-modules, lttng-tools, lua, lua-cjson, - luacrypto, lua-ev, luaexpat, luaexpatutils, luafilesystem, - luainterpreter, luajit, lua-msgpack-native, luaposix, - luarocks, luasec, luasocket, luasql-sqlite3, lvm2, macchanger, - memstat, mesa3d, metacity, minidlna, mmc-utils, - mobile-broadband-provider-info, modem-manager, mongrel2, - monit, mpd, mplayer, msmtp, mtd, mtools, mutt, mysql, nasm, - ncurses, ne10, netatalk, netsnmp, nettle, network-manager, - newt, nfs-utils, nmap, nodejs, ntfs-3g, ntp, nut, ofono, ola, - olsr, omniorb, opencv, opengl, openpgm, openssh, openssl, - openswan, openvpn, orbit, orc, p11-kit, pango, parted, - pciutils, pcre, pcsc-lite, perf, perl, perl-xml-parser, php, - picocom, pixman, pkgconf, poppler, popt, portmap, powervr, - pppd, pptp-linux, proftpd, protobuf, protobuf-c, ptpd2, - pulseaudio, python, python3, python-bottle, python-m2crypto, - python-netifaces, python-pyasn, python-pycrypto, - python-pygame, python-pysnmp, python-pysnmp-apps, - python-pysnmp-mibs, python-serial, python-setuptools, - qextserialport, qt, qt5, qt5base, qt5connectivity, - qt5declarative, qt5graphicaleffects, qt5imageformats, - qt5multimedia, qt5quick1, qt5quickcontrols, qt5script, - qt5sensors, qt5serialport, qt5svg, qt5webkit, qt5x11extras, - qt5xmlpatterns, qtuio, qwt, radvd, readline, rings, - rpi-firmware, rpi-userland, rsh-redone, rsync, rsyslog, rtai, - rtmpdump, rt-tests, ruby, samba, sconeserver, scons, sdl, - sdl_image, sdl_mixer, sg3_utils, slang, smstools3, snmppp, - socat, speex, sqlcipher, sqlite, squashfs, squid, strongswan, - stunnel, sunxi-boards, sunxi-mali, sunxi-tools, sylpheed, - syslinux, sysstat, systemd, taglib, tcl, tcllib, tcpreplay, - tidsp-binaries, ti-gfx, tmux, tvheadend, tzdata, uboot, - uboot-tools, uclibc, udev, udisks, ulogd, usb_modeswitch, - usb_modeswitch_data, usbmount, util-linux, valgrind, vlc, - webkit, weston, wget, wireshark, wpa_supplicant, wsapi, - w_scan, xapp_appres, xapp_bdftopcf, xapp_beforelight, - xapp_bitmap, xapp_editres, xapp_fslsfonts, xapp_fstobdf, - xapp_iceauth, xapp_ico, xapp_mkfontscale, xapp_rgb, - xapp_rstart, xapp_sessreg, xapp_showfont, xapp_twm, - xapp_viewres, xapp_xauth, xapp_xbacklight, xapp_xcalc, - xapp_xclock, xapp_xditview, xapp_xdpyinfo, xapp_xdriinfo, - xapp_xev, xapp_xfd, xapp_xfontsel, xapp_xfs, xapp_xfsinfo, - xapp_xgc, xapp_xhost, xapp_xinit, xapp_xkbutils, xapp_xkill, - xapp_xload, xapp_xlsclients, xapp_xlsfonts, xapp_xmag, - xapp_xman, xapp_xmessage, xapp_xmodmap, xapp_xprop, - xapp_xrandr, xapp_xrdb, xapp_xrefresh, xapp_xset, - xapp_xsetroot, xapp_xsm, xapp_xstdcmap, xapp_xvidtune, - xapp_xvinfo, xapp_xwd, xapp_xwininfo, xcb-util-wm, - xdriver_xf86-input-evdev, xdriver_xf86-input-joystick, - xdriver_xf86-input-keyboard, xdriver_xf86-input-mouse, - xdriver_xf86-input-synaptics, xdriver_xf86-input-vmmouse, - xdriver_xf86-video-ark, xdriver_xf86-video-ast, - xdriver_xf86-video-ati, xdriver_xf86-video-cirrus, - xdriver_xf86-video-dummy, xdriver_xf86-video-fbdev, - xdriver_xf86-video-geode, xdriver_xf86-video-glide, - xdriver_xf86-video-glint, xdriver_xf86-video-i128, - xdriver_xf86-video-intel, xdriver_xf86-video-mach64, - xdriver_xf86-video-mga, xdriver_xf86-video-neomagic, - xdriver_xf86-video-newport, xdriver_xf86-video-nv, - xdriver_xf86-video-openchrome, xdriver_xf86-video-r128, - xdriver_xf86-video-savage, xdriver_xf86-video-siliconmotion, - xdriver_xf86-video-sis, xdriver_xf86-video-tdfx, - xdriver_xf86-video-tga, xdriver_xf86-video-trident, - xdriver_xf86-video-vesa, xdriver_xf86-video-vmware, - xdriver_xf86-video-voodoo, xenomai, xerces, xl2tp, xlib_libFS, - xlib_xtrans, xproto_xproto, xserver_xorg-server, - xutil_util-macros, zeromq, zic, zmqpp, zyre - - New packages: armadillo, btrfs-progs, clapack, cosmo, dado, - dbus-triggerd, dtv-scan-tables, e2tools, eudev, exim, expect, - fetchmail, flann, flite, gnu-efi, grub2, gummiboot, heimdal, - iprutils, iptraf-ng, jack2, jquery-mobile, libee, libestr, - libgc, libgl, liblogging, libndp, libsoxr, libstrophe, - libubox, libuci, libxmlrpc, ljlinenoise, lpeg, lpty, lrandom, - lsqlite3, lua-coat, lua-coatpersistent, lua-csnappy, luajson, - lualogging, lua-messagepack, lua-testmore, lunit, lzip, lzlib, - musl, nftables, opentyrian, opentyrian-data, - perl-module-build, php-gnupg, php-imagick, php-ssh2, php-yaml, - php-zmq, postgresql, python-libconfig, python-pypcap, - python-pyrex, qdecoder, qhull, samba4, smack, tz, tzdump, ucl, - upx, vo-aacenc, xbmc, xbmc-addon-xvdr, xbmc-pvr-addons, - yaffs2utils, zlog, znc - - Removed packages: crosstool-ng, python-distutilscross, vala - - Issues resolved (http://bugs.uclibc.org): - - #6842: Checking external toolchain for eabihf - #6956: Packaging libsoxr - #6986: Make legal-info fails on uboot versions before 2014.01 - #6992: Incorrect installation rights on external kernel module.. - -2014.02, Released February 27th, 2014 - - Minor fixes. - - Updated/fixed packages: cegui06, cppdb, e2fsprogs, gcc, gdb, - gst1-plugins-bad, gstreamer, gstreamer1, haserl, imagemagick, - libpng, libxml2, lua, luajit, luarock, ncftp, openswan, - pcsc-lite, qt5connectivity, ramsmp, strongswan, vlc - - Issues resolved (http://bugs.uclibc.org): - - #6938: mkuser script generates wrong password for new user in.. - -2014.02-rc3, Released February 25th, 2014 - - Minor fixes. - - Updated/fixed packages: aiccu, ala-lib, alsa-utils, binutils, - cairo, coreutils, dhcpcd, distcc, efl, evas, iputils, gdb, - gpsd, gst-fsl-plugins, icu, libcec, libcgi, libplayer, - libsecret, libsepol, libsigsegv, libtool, libv4l, - linux-headers, matchbox-lib, mpg123, ncftp, opencv, pcmanfm, - pixman, pv, qt, rt-tests, sawman, sconeserver, sdl, thrift, - tvheadend, util-linux, webkit, xscreensaver - - Issues resolved (http://bugs.uclibc.org): - - #4706: Removing .stamp_target_installed does not trigger... - #5030: busybox built fails if we use an override src dir... - #5420: Dbus and /var/run management - #5768: Not able to build ALSA-Lib for static build - #5774: Not able to build ALSA-Utils for static build - #6542: external python modules fail to compile to pyc if... - #6764: Support for kernel signed modules - #6794: Busybox compiled from buildroot hangs on pass from... - -2014.02-rc2, Released February 20th, 2014 - - Fixes all over the tree. Static linking / nommu fixes and - annotations for several packages. - - Updated/fixed packages: boost, busybox, collectd, coreutils, - dropbear, elfutils, feh, gcc, gst1-libav, imagemagick, iozone, - jimtcl, kexec, libvncserver, lvm2, lxc, mplayer, netsnmp, nut, - opencv, python, python3, qtuio, systemd, thrift, transmission, - uclibc, vlc, webkit - - Issues resolved (http://bugs.uclibc.org): - - #5450: AT91SAM9260 Bootstrap compilation problem - #5582: libiconv 1.14 failed to build - #5624: When building directfb, BR2_TARGET_LDFLAGS not used by.. - #5852: [2012.11] usb_modeswitch should depends of "BR2_PACK.. - #6218: binutils-2.23.2/gas fails with undefined reference to.. - #6236: binutils-2.23.2/bfd fails with undefined reference to.. - #6470: If the build directory is a child of /usr, the build.. - #6776: systemd error: static declaration of 'execvpe' follows.. - #6818: toolchainfile.cmake has absolut path references - -2014.02-rc1, Released February 11th, 2014 - - Fixes all over the tree and new features. - - Support for external packages/defconfigs (BR2_EXTERNAL). See - user manual for details. - - Cleanup of environment variable names for consistency. The - download directory location override (BUILDROOT_DL_DIR) is now - called BR2_DL_DIR. Likewise the name of the current .config is - renamed from BUILDROOT_CONFIG to BR2_CONFIG. Please update - your post build scripts if you use this! BUILD_DIR is now also - exported to the post build/image scripts. - - Toolchain: GCC 4.8 fix for ARM stack corruption, reverted - uClibc pread/pwrite backport as they cause issues on certain - architectures, new Linaro and Sourcery Codebench toolchains. - x86: Support for AMD Jaguar cores, SSE4.x, SH: SH2/SH3/SH3EB - variants removed, Microblaze: Internal toolchain support - - Legal infrastructure: Info is now split between host and - target packages, large number of license annotations. - - Lua: selection between lua 5.1 / 5.2, luarocks support - - Python: package infrastructure, many new packages. - - Defconfigs: Armadeus APF51 + Zedboard added, apf27, apf28, - beaglebone, microblaze, pandaboard, qemu, raspberry pi - updated. - - Updated/fixed packages: aiccu, alsa-lib, alsa-utils, - am33x-cm3, aumix, autoconf, automake, barebox, bellagio, - berkeleydb, binutils, bison, blackbox, bluez_utils, boost, - bustle, busybox, cairo, can-utils, ccache, ccid, cgilua, - cifs-utils, civetweb, cmake, collectd, connman, copas, - coreutils, coxpcall, cppzmq, cramfs, crda, cryptodev-linux, - cryptsetup, cups, czmq, dhcpcd, dhcpdump, dhrystone, dialog, - dmraid, dnsmasq, dosfstools, dropbear, dropwatch, dtc, duma, - dvb-apps, e2fsprogs, eglibc, eigen, elf2flt, erlang, ethtool, - f2fs-tools, ffmpeg, file, filemq, fio, flashrom, flex, - fluxbox, fontconfig freerdp, freetype, gadgetfs-test, gawk, - gcc, gdb, gdbm, gettext, git, glibc, gnupg, gnutls, gob2, - gpsd, grep, grub, gst-ffmpeg, gst-plugins-good, - gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, - gst1-plugins-ugly, gstreamer, gstreamer1, gtest, icu, iftop, - imagemagick, inadyn, infozip, iozone, iproute2, iptables, iw, - jpeg, jpeg-turbo, jq, kexec, kmod, knock, lbase64, lcdapi, - lftp, libcdaudio, libcgi, libcgicc, libcuefile, libcurl, - libdmtx, libdrm, libdvdnav, libdvdread, libegl, libevent, - libexif, libfcgi, libfreefare, libgles, libglib2, libllcp, - libmicrohttpd, libmpd, libnfc, libnl, libnss, libopenmax, - libopenvg, libpcap, libpfm4, libplayer, libpng, libqmi, - libreplaygain, libroxml, libsamplerate, libsexy, libsigsegv, - libsndfile, libsoc, libtasn1, libtorrent, libtpl, libupnp, - libusb, libusb-compat, libvorbis, libxcb, libxml2, libxmlpp, - libyaml, lighttpd, linknx, linux-firmware, linux-pam, live555, - lm_sensors, lmbench, lockdev, logrotate, lrzsz, ltrace, lua, - lua-ev, lua-msgpack-native, luabitop, luaexpat, luaexpatutils, - luafilesystem, luajit, luaposix, luasec, luasocket, - luasql-sqlite3, m4, matchbox, mdadm, minicom, mongrel2, mpc, - mpd, mpg123, mplayer, mtd, mysql, lvm2, mxml, ncurses, ne10, - neard, neardal, netsnmp, netstat-nat, network-manager, nodejs, - numactl, ofone, ola, olsr, omniorb, open2300, opencv, - openpowerlink, openssh, openssl, openvpn, oprofile, opus, - opus-tools, orbit, p11-kit, parted, pcre, pcsc-lite, perl, - php, poco, poppler, powervr, protobuf-c, psplash, python, - python-bottle, - python-{crc16,distutilscross,dpkt,id3,ipy,m2crypto,mad,meld}, - python-{netifaces,nfc,protobuf,pygame,pyparsing,pyro,pyzmq}, - python-{serial,setuptools}, qt, qt5base, qt5connectivity, - qt5declarative, qt5graphicaleffects, qt5jsbackend, - qt5multimedia, qt5quick1, qt5quickcontrols, qt5script, - qt5webkit, radvd, redis, rings, rng-tools, rpcbind, - rpi-firmware, rpi-userland, rt-tests, sam-ba, samba, sawman, - sconeserver, scons, sdl, sg3_utils, snappy, snmppp, - socketcand, spice, spice-protocol, sqlcipher, sqlite, squid, - sshfs, strace, subversion, sunxi-mali, supervisor, sysklogd, - sysprof, sysstat, systemd, sysvinit, taglib, tar, tcpdump, - ti-gfx, ti-utils, tinymembench, tn5250, trace-cmd, - transmission, tvheadend, tzdata, zxing, uboot, uboot-tools, - uclibc, udev, udpcast, ulogd, urg, usb_modeswitch_data, - util-linux, vala, valgrind, vorbis-tools, wavpack, wayland, - weston, wget, wireless-regdb, wireshark, wpa_supplicant, - wsapi, xavante, xapp_xdpyinfo, xapp_xrandr, xcb-proto, - xdriver_xf86-video-intel, xenomai, xkeyboard-config, xl2tp, - xlib_lib{FS,SM,X11}, - xlib_libX{au,aw,composite,cursor,damage,ext,fixes,font,i}, - xlib_libX{inerama,mu,pm,randr,render,res,t,tst,v,xf86dga}, - xlib_libXxf86vm, xlib_libdmx, xlib_libfontenc, - xlib_libpciaccess, xlib_xtrans, xproto_dri2proto, - xproto_{glproto,inputproto,presentproto,randrproto,videoproto}, - xproto_xextproto, xproto_xproto, xutil_util-macros, - xutil_makedepend, zic, zmqpp, zxing, zsh, zyre - - New packages: apitrace, avrdude, c-ares, ca-certificates, - cwiid, dbus-cpp, evemu, fping, fswebcam, gpm, gst1-libav, - haveged, intel-microcode, iucode-tools, jasper, joe, ktap, - lbreakout2, libass, libbluray, libcdio, libenca, libevdev, - libmbim, libmodplug, libnfs, libnftnl, libplist, libshairplay, - libsocketcan, ljsyscall, log4cplus, ltris, luainterpreter, - luarocks, minidlna, mmc-utils, modemmanager, mtr, net-tools, - python-configobj, python-dialog, python-json-schema-validator, - python-keyring, python-msgpack, python-posix-ipc, - python-pyasn, python-pycrypto, python-pysnmp, - python-pysnmp-apps, python-pysnmp-mibs, python-pyusb, - python-simplejson, python-tornado, python-versiontools, - rtmpdump, rtptools, smcroute, smstools3, tcpreplay, thrift, - ti-uim, tinyxml, tmux, vlc, wmctrl, xconsole - - Removed packages: autoconf, automake, ccache, cpanminus, lzma, - netkitbase, netkittelnet, pkg-config, squashfs3, ttcp, xstroke - - Issues resolved (http://bugs.uclibc.org): - - #65: new package: dbus c++ language bindings - #769: Update configuration menu for MIPS target - #2419: Add a bundle of Lua modules - #2629: Segmentation faults and division by zero in Grub on ext2 - #3811: Added auto-mount for USB and SD Card (mdev) (for 2011.05) - #4339: Allow override of DL_DIR in extract step - #4363: Make sure that copied linux and busybox defconfig are... - #4454: There should be simple way to update image, when chang... - #5024: grub fails to build for x86_64 target architecture - #5066: New-Package: net-tools - #5072: ncurses: add ncurses-progs to target - #5294: uclibc build ignores target CFLAGS and LDFLAGS - #5366: Login doesn't work with util-linux versions of login/agetty - #5378: dropbear Makefile broken - #5390: System banner - change to empty doesn't remove /etc/issue - #5780: spurious build failure because it cannot remove ubinize.cfg - #5798: ncurses-5.9 fails to compile statically - #5810: Buildroot 2012.11: Additional GCC option "-msoft-float" ... - #6080: Git fetch caching - #6092: Bootable ISO image creation seems to have stopped working.. - #6272: coreutils build fails - #6434: apply-patches.sh does not work recursively - #6446: eglibc doesn't install ldconfig to target - #6484: Add c-ares - #6596: Slow bootup if mdev is chosen - #6656: Build Qt5 with ccache - #6662: internal compiler error: Segmentation fault during making.. - #6722: Usage of $($(PKG)_DIR_PREFIX) is an issue with linux package - #6752: genext2fs: e2fsck must run before tunefs -U random - #6770: openssl 1.0.1f fails with ccache - #6830: Qt5: no fonts are installed - #6848: Qt5: no text shown in simple QWidget / frame-buffer setup - #6854: Update to Qt 5.2.1 - -2013.11, Released November 30th, 2013: - - Minor fixes. - - Updated/fixed packages: apr, binutils, dbus-python, dropwatch, - ecryptfs-utils, eglibc, gdb, gpsd, grantlee, hostapd, - iptables, qlibiscsi, libnspr, libnss, libpfm4, libtool, - lua-ev, lvm2, mplayer, qt, qt5, quagga, ruby, tinymembench, - tvheadend, util-linux, wpa_supplicant - - Issues resolved (http://bugs.uclibc.org): - - #1279: Buildroot compiled Busybox and Coreutils LFS issues - #2995: -fstack-protector-all causes ssh to SIGSEGV - #5570: Cannot compile software on the target machine - #6428: util-linux libmount segfaults with patch from buildroot - #6500: php fails to build for armel - #6554: gdb needs to dependents on host texinfo - #6692: GNU nano fails to compile for x86_64 - #6704: wpa_supplicant: fix wrong path to executable file in D-Bus - -2013.11-rc3, Released November 26th, 2013 - - Fixes all over the tree. - - Architecture: Mark MIPS I, II, III and IV as deprecated. - - Updated/fixed packages: beecrypt, dbus, e2fsprogs, libcap-ng, - libglib2, libroxml, libsigsegv, libvncserver, lxc, mdadm, - mongoose, nut, ola, omniorb, openssl, pcre, php, poco, - protobuf-c, pv, qt5base, ruby, schifra, squid, sunxi-mail, - swig, ti-gfx, tinymembench, uclibc, udisks, vim - -2013.11-rc2, Released November 18th, 2013 - - Fixes all over the tree. - - Defconfigs: qemu_arm_versatile, qemu_arm_nuri, sheevaplug: - Adjust kernel versions. - - Toolchain: avr32: fix for modern kernel headers - - Bootloader: Barebox updated to 2013.10.1 - - Updated/fixed packages: dhcp, e2fsprogs, gst1-plugins-bad, - libcurl, libvncserver, nano, pc, qt5base, squashfs, ttcp, - wayland, wvstreams - - Issues resolved (http://bugs.uclibc.org): - - #3601: DHCPD S80dhcp-server startup script issues - #6320: Fix kernel compile issue if BR2_LINUX_KERNEL_CUSTOM_GIT_VERS.. - #6416: Xenomai package, patch alternative - #6590: directfb-examples build failed whit linaro toolchain - -2013.11-rc1, Released November 12th, 2013 - - Architectures: Nios-II support, MIPS arch handling fixes - - Defconfigs: cubieboard2, freescale i.MX 6sololite evk, - sabre-sd, wandboard added, rpi renamed to raspberrypi_defconfig - - Toolchain: glibc support, upstream uClibc fixes, uClibc 0.9.31 - for avr32, crosstool-ng backend removed, external musl - toolchain support, gcc 4.8.2, updated Linaro external - toolchains. Fortran and objective-C support deprecated, - mudflap support - - Bootloaders: U-Boot: u-boot.imx support, version bumps - - Linux: use kmod instead of module-init-tools - - System: default to devtmpfs for /dev - - Infrastructure: Make 3.82 fixes, locales generation fixes, CVS - download support, post-rsync hooks - - Fs: u-boot image support for cpio - - Updated/fixed packages: aircrack-ng, alsamixergui, apr, - apr-util, atk, automake, bellagio, berkeleydb, bind, binutils, - bison, boost, busybox, can-utils, ccache, ccid, cgilua, - chrony, cifs-utils, cjson, collectd, connman, conntrack-tools, - copas, cppcms, cppzmq, czmq, dash, dbus, dhcpcd, diffutils, - directfb, dmidecode, dnsmaqs, docker, dosfstools, dropbear, - dropwatch, ebtables, eglibc, elf2flt, empty, enchant, erlang, - ethtool, fbgrab, fbv, fdk-aac, feh, ffmpeg, file, findutils, - fltk, fmtools, freetype, gdk-pixbuf, gettext, git, - glib-networking, gmp, gnupg, gnutls, gpu-viv-bin-mx6q, gsl, - gstreamer, gstreamer1, gst1-plugins-{bad,base,good,ugly}, - gtest, gutenprint, hplip, i2c-tools, icu, ifplugd, - imagemagick, iozone, iproute2, ipset, iptables, iw, jamvm, - jansson, jpeg-turbo, kismet, kmod, lcms2, libassuan, libcap, - libcap-ng, libcdaudio, libcec, libcue, libcurl, libdrm, - libedit, libevas, libevent, libfreefare, libfuse, - libgpg-error, libiconv, liblog4c-localtime, libmicrohttpd, - libmnl, libmodbus, - libnetfilter_{acct,conntrack,cthelper,cttimeout,log,queue}, - libnfnetlink, libnl, libpng, libqmi, libqrencode, libroxml, - libsecret, libsigsegv, libsoup, libtirpc, libunwind, libusb, - libvpx, lighttpd, linphone, linux-pam, lmbench, - lockfile-progs, log4cxx, logrotate, logsurfer, ltp-testsuite, - ltrace, luacrypto, luaposix, lvm2, m4, matchbox-lib, - media-ctl, mediastreamer, minicom, minidlna, mongoose, monit, - mpc, mpd, mpg123, mplayer, mrouted, mtdev, mutt, mysql_client, - nano, ncftp, ndisc6, neard, neardal, neon, net-snmp, netatalk, - netcat, netkitbase, netperf, netplug, nettle, nfacct, - nfs-utils, ngircd, ngrep, noip, nuttcp, olsr, openssh, opkg, - oprofile, opus-tools, orc, ortp, pciutils, pcre, pcsc-lite, - perf, perl, perl-cross, php, picocom, pkgconf, polarssl, - poppler, pppd, proftpd, protobuf, proxychains-ng, pulseaudio, - pv, qemu, qt, qt5base, qt5webkit, quagga, radvd, redis, - rpi-{firmware,userland}, rrdtool, rsync, rtorrent, ruby, - samba, scons, screen, sdl_sound, ser2net, setserial, - smartmontools, socat, socketcand, sqlcipher, sqlite, squid, - stress, strongswan, stunnel, sudo, syslinux, systemd, - sysvinit, tcl, ti-gfx, time, transmission, tremor, tslib, - tstools, tvheadend, tzdata, uboot-tools, uclibc, udpcast, - uemacs, ulogd, usb_modeswitch{,_data}, util-linux, vala, - valgrind, vde2, vorbus-tools, vpnc, vsftpd, vtun, wayland, - webkit, webp, webrtc-audio-processing, weston, wget, - wireshark, wsapi, xavante, xdriver_xf86-video-geode, xenomai, - xinetd, xlib_libpthread-stubs, xl2tp, xmlstarlet, - xserver_xorg-server, xz, zeromq, zic, zmqpp - - New packages: aiccu, autossh, bc, civetweb, cppdb, cryptsetup, - duma, eigen, harfbuzz, igmpproxy, iputils, jq, knock, kobs-ng, - lesstif, libcgroup, libsepol, libsoc, libssh2, luasec, luasql, - lxc, nut, ola, omniorb, openpowerlink, orbit, p910nd, psplash, - python-crc16, python-ipy, python-pyzmq, qt5sensors, - qt5serialport, qt5x11extras, snmppp, subversion, tcping, - trace-cmd, xscreensaver, zsh - - Removed packages: module-init-tools - - Issues resolved (http://bugs.uclibc.org): - - #1138: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y - #5408: qt build failure with Sourcery CodeBench ARM 2010.09 - #5630: makefile error with toolchain helpers.mk - #5672: htop: remove X11 stuff - #5678: linux.mk: linux-menuconfig fails - #5696: python3 installation is too large, patches from python2 needed - #5978: Erlang does not build for arm in 2013.02-rc3 - #6392: Extended ARM uImage kernel options - #6404: Buildroot's coreutils 'uname -p' reports 'Unknown' on recent.. - #6428: util-linux libmount segfaults with patch from buildroot - #6452: eglibc from Linaro 2013.07 not copied to target correctly - #6566: PHP segfault when crosscompiled to mips64 - patch included - #6572: [PowerPC] Buildroot uses wrong external toolchain libraries.. - #6578: udisks package broken - #6602: ebtables 64 bit kernel + 32 bit userland alignment error.. - #6608: ebtables missing ethertypes - fix included - #6620: Sysvinit package missing killall5 and symlinks - patch included - #6632: CMake use host pkg-config - #6638: pkgconf doesn't download - #6644: "all" target doesn't work in out-of-tree builds - #6650: Segmentation fault when trying to build latest buildroot - #6668: iptables limit module alignment problem on mips64 - -2013.08, Released August 31th, 2013: - - Minor fixes. - - Documentation build fixed. - - Updated/fixed packages: ltrace, strongswan - -2013.08-rc3, Released August 29th, 2013: - - Fixes all over the tree. - - External toolchain lib32/lib64 handling, ABI name for EABIhf, - misc fixes for generatelocales, apply-patches and module - stripping. - - Top level menu names reordered and renamed for clarity. - - Updated/fixed packages: acl, attr, bash, dbus, directfb, - dvb-apps, kexec, kmod, libbsd, linux-fusion, mesa3d, minidlna, - openssh, openssl, pulseaudio, python-setuptools, qt5, - qt5webkit, redis, strongswan, sunxi-mali - - Issues resolved (http://bugs.uclibc.org): - - #6464: dbus-daemon-launch-helper needs setuid - -2013.08-rc2, Released August 16th 2013: - - Documentation improvements. - - External toolchains fixes. - - Updated/fixed packages: aircrack-ng, bash, boost, cairo, - cppcms, eglibc, ffmpeg, gcc, git, gnupg, imagemagick, libcec, - libffi, libgcrypt, linux, linux-headers, ltrace, netatalk, - opencv, opengl, readline, samba, strongswan, sunxi-cedarx, - uclibc, udev, wayland, webkit, zeromq. - - Issues resolved (http://bugs.uclibc.org): - - #6440: typo in ffmpeg makefile - -2013.08-rc1, Released August 5th, 2013: - - Architectures: - - improved support for floating point on ARM and Thumb/Thumb2 - - support for ARM OABI removed - - Toolchains: - - support added for Sourcery CodeBench ARM and MIPS 2013.05 - - Linaro ARM and Aarch64 toolchains updated - - support added for the Arago ARMv5 and ARMv7 toolchains - - gcc 4.8.x version bumped - - support for installing both FDPIC and FLAT libraries on - Blackfin - - support for uClibc 0.9.31 removed, - - convert the internal toolchain backend to use the package - infrastructure - - support added for eglibc in the internal toolchain backend - - toolchain components for the ARC architecture updated and - gdb for ARC added. - - support for Blackfin in the internal toolchain fixed - - Defconfigs: beaglebone_defconfig updated, new defconfig for - CubieBoard, for Olimex mx233 Olinuxino, for Calao Systems - TNY-A9G20-LPW. - - A number of packages have been fixed to use the - _CONFIG_SCRIPTS mechanism to get their -config shell - script installed and modified properly. Licensing informations - has been added to a number of packages. - - Use XZ tarballs for a number of packages. - - Noticeable package changes/additions: - - The glib2/libgtk2/webkit stack has been updated to recent - versions. - - Support for Gstreamer 1.x has been added. - - OpenGL support for TI OMAP platforms has been added. - - OpenGL support for Allwinner platforms has been added. - - OpenMAX support for RasberryPi has been added. - - Updated/fixed packages: acl, attr, autoconf, avahi, barebox, - bind, binutils, busybox, bwm-ng, bzip2, cifs-utils, colletctd, - cpanminus, cups, curl, dash, dbus, dhcp, directfb, - directfb-examples, dnsmasq, dosfstools, dropbear, dtc, - e2fsprogs, ed, efl, enlightenment, erlang, ethtool, fbgrab, - fftw, firmware-imx, flot, fltk, freetype, gawk, gdk-pixbuf, - gettext, gmp, gnutls, gsl, gutenprint, gvfs, gzip, haserl, - hiawatha, httping, icu, imagemagick, imlib2, imx-lib, - intltool, iozone, ipset, iptables, jquery, jquery-keyboard, - jquery-sparkline, kmod, less, libart, libcdaudio, libcgicc, - libesmtp, libftdi, libfuse, libglib2, libgtk, libgtk2, libidn, - libiqrf, liblog4c-localtime, libnspr, libnss, libpcap, - libroxml, libserial, libsigsev, libsoup, libtool, libtpl, - libvncserver, libxml2, linphone, lm_sensors, logrotate, - ltrace, lttng, luafilesystem, luajit, minicom, monit, mpg123, - mtd, mutt, mxml, neard, netatask, netsnmp, nettle, - network-manager, nodejs, nss-mdns, openssh, openswan, openvpn, - opkg, opus, pcre, perl-cross, php, pixman, poco, polarssl, - pulseaudio, pv, python, python3, qt, qt5, qt5declarative, - qt5jsbackend, qt5quick1, readline, rpi-firmware, ruby, samba, - sane-backends, sconeserver, sdl_image, sdparm, ser2net, - socketcand, sqlite, squid, strace, tcl, tcpdump, tinyhttpd, - tvheadend, tzdata, uboot, udpcast, usb_modeswitch, - usb_modeswitch_data, usbutils, webkit, wireshark, wvstreams, - xapp_luit, xapp_xmodmap, xenomai, xfsprogs, xlib_libX11, zic, - zlib. - - New packages: a10disp, aespipe, am33x-cm3, cppcms, dhcpcd, - dropwatch, dtc, ecryptfs-utils, eglibc, elf2flt, fdk-aac, - gcc-final, gcc-initial, gcc-intermediate, git, - gpu-viv-bin-mx6q, gst1-plugins-bad, gst1-plugins-base, - gst1-plugins-good, gst1-plugins-ugly, gst-omx, - gst-plugin-x170, gstreamer1, jimtcl, lbase64, libassuan, - libbsd, libcec, libdvbsi, libedit, libgpgme, libqmi, - libqrencode, libsvg, libsvg-cairo, libunwind, libvpx, - linux-headers, lockdev, luabitop, luacrypto, lua-ev, - luaexpatutils, msgpack, ocrad, on2-8170-libs, - on2-8170-modules, p11-kit, pax-utils, ptpd, ptpd2, - python-pyro, ramspeed/smp, snappy, strongswan, sunxi-boards, - sunxi-cedarx, sunxi-mali, sunxi-tools, ti-gfx, tinymembench, - tree, tstools, uclibc, w_scan. - - Issues resolved (http://bugs.uclibc.org): - - #4718: python (built for powerpc) distutils has paths to host - compiler toolchain - #5516: appended device tree blobs on uImage fails - #6302: Versions of packages retrieved from github.com are wrong - #6308: dosfstools download link is wrong - #6326: Dropbear: Add options to allow better config for - different target devices (e.g. routers) - #6338: Wrong download link for minicom package - #6344: Wrong handling of license text files with same name and - different directory - #6374: gnutls package broken if linux cryptodev module - selected - #6410: omap3_beagle has uimage error load address error - -2013.05, Released May 31th, 2013: - - Minor fixes. - - External toolchain wrapper fix for if host/usr/bin is placed - in the patch. - - Updated/fixed packages: acpid, at91bootstrap, czmq, elf2flt, - flex, jamvm, kmod, libplayer, libtirpc, libv4, - lttng-babeltrace, opengl, qt5jsbackend, udpcast, wvstreams - - Issues resolved (http://bugs.uclibc.org): - - #4868: Buildroot compile failure for toolchain/gdb-7.4/intl/reloc... - #4988: flex and m4 problems - #5912: obsolete CVS files - -2013.05-rc3, Released May 25th, 2013: - - Minor fixes. - - Updated/fixed packages: aircrack-ng, bellagio, boost, crda, - dvb-apps, flot, libatomic_ops, libeXosip2, libosip2, libxml2, - mongrel2, poco, portaudio, pptp-linux, tvheadend, urg, weston, - wireshark - -2013.05-rc2, Released May 15th, 2013: - - Fixes all over the tree. - - Default number of parallel jobs is now number of CPUs + 1. - - Defconfigs: Add Telit EVK-PRO3, AT91SAM9260-EK Nand flash. - - Updated/fixed packages: aircrack-ng, busybox, cairo, - classpath, curlftpfs, czmq, dbus, f2fs-tools, fan-ctrl, - filemq, gst-plugin-bad, gutenprint, hplip, json-c, - libatomic_ops, libcurl, libdrm, libglib2, libnspr, libnss, - libsha1, libsigsegv, libxcb, linknx, linux-pam, lttng-modules, - lttng-tools, matchbox-lib, mcookie, mesa3d, neon, pixman, - pulseaudio, python-nfc, qt5imageformats, quota, openssl, - sconeserver, strace, sylpheed, wvstreams, - xapp_{appres,bdftopcf,beforelight,bitmap,edires,fonttosfnt}, - xapp_{fslsfonts,fstobdf,iceauth,ico,listres,luit,mkfontdir}, - xapp_{mkfontscale,oclock,rgb,rstart,scripts,sessreg,setxkbmap}, - xapp_{showfont,smproxy,twm,viewres,x11perf,xauth,xbacklight}, - xapp_x{biff,calc,clipboard,clock,cmsdb,cursorgen,dbedizzy,ditview}, - xapp_x{dm,dpyinfo,driinfo,edit,ev,eyes,f86dga,fd,fontsel,fs,fsinfo}, - xapp_x{gamma,gc,host,input-calibrator,input,kbcomp,kbevd,kbprint}, - xapp_x{kbutils,kill,load,logo,lsatoms,lsclients,lsfonts,mag,man}, - xapp_x{message,mh,modmap,more,pr,prop,randr,rdb,refresh,set,setmode}, - xapp_x{setpointer,setroot,sm,stdcmap,vidtune,vinfo,wd,wininfo,wud}, - xcb-util, xcursor-transparent-theme, xdata_xbitmaps, - xdata_xcursor-themes, - xdriver_xf86-input-{evdev,joystick,keyboard,mouse,synaptics}, - xdriver_xf86-input-{tslib,vmmouse,void}, - xdriver_xf86-video-{ark,ast,ati,cirrus,dummy,fbdev,geode,glide}, - xdriver_xf86-video-{glint,i128,intel,mach64,mga,neomagic,newport}, - xdriver_xf86-video-{nv,openchrome,r128,savage,siliconmotion,sis}, - xdriver_xf86-video-{tdfx,tga,trident,v4l,vesa,vmware,voodoo,wsfb}, - xfont_encodings, xfont_font-adobe-{100,75}dpi, - xfont_font-utopia-{100dpi,75dpi,type1}, - xfont_font-{alias,arabic-misc,bh-100dpi,bh-75dpi}, - xfont_font-bh-lucidatypewriter-{100,75}dpi, xfont_font-bh-{ttf,type1}, - xfont_font-bitstream-{100dpi,75dpi,type1}, xfont_font-cronyx-cyrillic, - xfont_font-{cursor,daewoo,dec,isas,jis,micro}-misc, - xfont_font-ibm-type1, xfont_font-misc-{cyrillic,ethiopic,meltho,misc}, - xfont_font-{mutt,schumacher}-misc, - xfont_font-{screen-cyrillic,sony-misc,sun-misc,util}, - xfont_font-winitzki-cyrillic, xfont_font-xfree86-type1, - xlib_lib{FS,ICE,SM,X11,XScrnSaver,Xau,Xaw,Xcomposite,Xcursor}, - xlib_libX{damage,dmcp,ext,fixes,font,ft,i,inerama,mu,pm,randr}, - xlib_libX{render,res,t,tst,v,vMC,xf86dga,xf86vm}, - xlib_lib{dmx,fontenc,pciaccess,pthread-stubs,xkbfile}, xlib_xtrans, - xproto_{applewm,bigreqs,composite,damage,dmx,dri2,fixes}proto, - xproto_{fontcache,font,gl,input,kb,randr,record,render}proto, - xproto_{resource,scrnsaver,video,windowswm,xcmisc,xext}proto, - xproto_{xf86bigfont,xf86dga,xf86dri,xf86vidmode,xinerama,x}proto, - xserver_xorg-server, xutil_{makedepend,util-macros} - - Readded Packages: xapp_xinit - - Issues resolved (http://bugs.uclibc.org): - - #5054: amd64: cannot find init - due to missing /lib64 folder - -2013.05-rc1, Released May 8th, 2013: - - Architectures: ARC support, Blackfin support, FLAT binary - format, ARM: Drop old CPU variants, add fa526/626, Marvell PJ4 - - Toolchains: Add new Microblaze external toolchains, Linaro - ARM/Aarch64 updates, GCC 4.6.4 / 4.7.3 / 4.8.0 added to - internal toolchain, default to GCC 4.7.x. Internal - Crosstool-ng backend deprecated. - - Defconfigs: Add Atmel at91sam9g45m10ek, freescale mpc8315erdb - & p1010rdb, Armadeus apf27 / apf28, Openblocks A6, Raspberry - pi, gnublin board. - - FS: LZO and XZ compression methods, extra ubifs options, - ext2 rev 0/1 and ext3/4 support. - - Patch handling: apply-patches now has .patch.xz support, - Patch logic reworked as discussed during Febrary dev days: - http://elinux.org/Buildroot:DeveloperDaysFOSDEM2013 - - -rsync now excludes version control files. - - linux: uImage load address for ARM multiplatform kernels - - Infrastructure for multiple OpenGL / ES / EGL / OpenVG - providers, similar to how libjpeg / libjpeg-turbo is handled. - - Infrastructure for packages to add system users. - - kconfig: updated to 3.9-rc2, support make olddefconfig - - Updated/fixed packages: alsa-lib, alsa-utils, apr, apr-util, - argp-standalone, at, at91bootstrap, audiofile, aumix, avahi, - bash, blackbox, bind, binutils, bison, boost, bridge-utils, - busybox, ccache, cifs-utils, cmake, collectd, connman, - conntrack-tools, cpanminus, crosstool-ng, diffutils, directfb, - directfb-examples, divine, dmalloc, dnsmasq, dosfstools, - dropbear, e2fsprogs, ebtables, eeprog, erlang, ethtool, - fb-test-app, fbset, feh, ffmpeg, file, flex, flot, foomatic, - fxload, gd, gdb, gdisk, genimage, gettext, gmp, gnuchess, - gnutls, gob2, gperf, gpsd, gstreamer, haserl, hiawatha, htop, - httping, icu, inotify-tools, intltool, iproute2, ipset, - iptables, iw, jpeg, jquery, jquery-{sparkline,validation}, - json-c, kbd, kexec, kismet, kmod, lcdproc, libarchive, - libatasmart, libcap, libconfig, libconfuse, libcurl, libdrm, - libeet, libev, libevas, libeXosip2, libffi, libfribi, libfuse, - libgcrypt, libglib2, libgtk2, libid3tag, libmicrohttpd, - libnetfilter_acct, libnetfilter_conntrack, libnl, libpcap, - libplayer, libsigc, libv4l, libxcb, linenoise, linux-pam, - lm_sensors, ltp-testsuite, luajit, lzop, madplay, make, mdadm, - mediastreamer, memtester, mesa3d, - mobile-broadband-provider-info, monit, mpd, mpfr, mpg123, - mrouted, msmtp, nbd, ncurses, ndisc6, neard, neardal, neon, - netperf, netsnmp, nettle, nfacct, ntfs-3g, ofono, olsr, - omap-u-boot-utils, openssh, openssl, openswan, openvpn, - oprofile, orc, patch, pciutils, pcre, perl, php, poco, - polarssl, proftpd, psmisc, pulseaudio, python, - python-{bottle,netifaces,serial,setuptools}, qt, quagga, - quota, radvd, rpi-firmware, rpi-userland, rt-tests, sam-ba, - samba, sawman, sdl, ser2net, smartmontools, socat, socketcand, - speex, squid, stress, stunnel, sudo, syslinux, sysstat, - sysvinit, tcl, tcprelay, tinyhttpd, tslib, tvheadend, - uboot-tools, udev, ulogd, util-linux, vala, vtun, webkit, - xapp_{iceauth,luit,makefontscale,sessreg,setxkbmap,smproxy}, - xapp_{xauth,xcmsdb,xdpyinfo,xev,xgamma,xhost,xinput,xkbcomp}, - xapp_{xkbevd,xlsatoms,xlsclients,xmodmap,xpr,xprop,xrandr,xrdb}, - xapp_{xset,xwd,xwininfo}, xcb-{proto,util}, - xdriver_xf86-input-{evdev,joystick,keyboard,mouse,synptics}, - xdriver_xf86-input-{tslib,vmmouse,void}, - xdriver_xf86-video-{ark,ast,ati,cirrus,dummy,geode,glide,glint}, - xdriver_xf86-video-{i128,intel,mach64,mga,neomagic,newport}, - xdriver_xf86-video-{openchrome,r128,savage,siliconmotion,sis}, - xdriver_xf86-video-{tdfx,trident,vesa,vmware,wsfb}, xenomai, - xfont, xinetd, xkeyboard-config, xlib_lib{FS,ICE,SM,X11}, - xlib_libX{scrnSaver,au,aw,cursor,dmcp,ext,fixes,font,ft,i}, - xlib_libX{inerama,mu,pm,randr,res,tst,v,vMC,xf86dga,xf86vm}, - xlib_lib{dmx,fontenc,pciaccess,xkbfile}, xlib_xtrans, - xproto_{applevm,bigreqs,dri2,fonts,gl,input,kbd,record}proto, - xproto_{resource,scrnsaver,xcmisc,xext,x}proto, - xserver_xorg-server, xutil_makedepend, xz, zeromq - - New packages: aircrack-ng, bcusdk, chrony, crda, - cryptodev-linux, cppzmq, czmq, dtach, enscript, exfat, - exfat-utils, f2fs-tools, fan-ctrl, filemq, foomatic-filters, - genimage, genpart, glibmm, gnuplot, gtest, gutenprint, hplip, - iozone, jansson, jhead, jquery-keyboard, jquery-ui, - jquery-ui-themes, json-glib, json-javascript, lcms2, libpfm4, - libpthsem, libserial, libsigsegv, libtasn1, libwebsockets, - libxkbcommon, libxml++, linknx, log4cxx, mongoose, mongrel2, - mtools, ne10, nmap, nodejs, openobex, openpgm, poppler, - protobuf-c, python-m2crypto, python-thrift, qjson, qt5base, - qt5declarative, qt5graphicaleffects, qt5imageformats, - qt5jsbackend, qt5multimedia, qt5quick1, qt5script, qt5svg, - qt5webkit qt5xmlpatterns, rapidjson, redis, swig, texinfo, - tzdata, urg, ussp-push, wayland, webp, weston, wireless-regdb, - wireshark, wvdial, wvstreams, xcb-util-image, xcb-util-wm, - xcursor-transparent-theme, zic, zmqpp, zyre - - Removed packages: microperl, ocf-linux, xapp_xinit, - xapp_xplsprinters, xapp_xprehashprinterlist, - xfont_font-bitstream-speedo, - xlib_lib{Xfontcache,XprintAppUtil,XprintUtil,Xp,oldX,xkbui}, - xproto_{print,xf86rush}proto - - Deprecated packages: vala - - Issues resolved (http://bugs.uclibc.org): - - #1291: Add support for Faraday 526 arm processor (fa526) - #2683: cups does not install correctly to target - #3313: mesa3d fails to build - #5186: initramfs/cpio should support lzo compression - #5636: agetty - cannot get controlling tty error - need updated... - #5906: collectd client headers not exported - #5966: bison unnecessarily required as build dependency - #6140: --enable-fileinfo not applied for php package - #6164: openvpn usage of ip tool from Busybox - -2013.02, Released February 28th, 2013: - - Misc manual updates. - - Updated/fixed packages: busybox, collectd, flashbench, - libgtk2, libupnp, mii-diag, quota - -2013.02-rc3, Released February 26th, 2013 - - Minor fixes. - - Updated/fixed packages: conntrack-tools, dialog, - enlightenment, haserl, keyutils, libfif, libmad, - linux-firmware, linux-fusion, matchbox-desktop, matchbox-wm, - ruby, spawn-fcgi, vtun - - Issues resolved (http://bugs.uclibc.org): - - #5960: fusion.ko driver does not install to target rootfs - -2013.02-rc2, Released February 19th, 2013 - - Fixes all over the tree. - - Various manual updates and fixes. - - Updated/fixed packages: busybox, collectd, gesftpserver, - glib-networking, gnutls, inotify-tools, libcurl, libffi, - libglib2, libtorrent, libvorbis, neard, network-manager, - ntfs-3g, openssl, qt, rpi-userland, rtorrent, thttpd, vim. - - Issues resolved (http://bugs.uclibc.org): - - #5906: collectd client headers not exported - -2013.02-rc1, Released February 10th, 2013 - - Toolchain: Crosstool-ng 1.17.0, default to GCC 4.6.3, target - libraries install fixed. Add Linaro ARM - 2012.11/2012.12/2013.01, AArch64 12.11/12.12/13.01. Sourcery - CodeBench MIPS 2012.03/09. Infrastructure to warn about - missing 32bit support for binary toolchains. Toolchain wrapper - is now relocatable. Add GDB 7.5.1 / Remove 6.8 / 7.0 / - 7.1. Deprecate uClibc 0.9.31. - - Architecture: Xtensa fixes, add missing powerpc variants, arm - 1136jf-s rev1, add A5/A15, neon support toggle, OABI - deprecated. Sparc: drop old unused variants - - Bootloaders: At91bootstap: fix upstream URL, Barebox: add - 2012.12/2013.01/2013.02, remove 2012.08/09/10, lzop fixes, - environment image support, U-Boot: add 2013.01.01 - - Linux: fix appended dtb handling for v3.8+ kernels, support - multiple device trees - - Defconfigs: calao USB-A9260, snowball, QEMU PPC440 on ML507 - board, QEMU ARM Exynos4210, Kernel version in QEMU defconfigs - updated, at91rm9200df: misc fixes. Lock kernel headers to - match kernel. - - Infrastructure: Git download fixes. Toolchain make target - renamed from 'cross' to 'toolchain'. Eclipse integration - support. Option to set root password, post image scripts, - config scripts handling. - - Updated/fixed packages: alsa-lib, argp-standalone, argus, - arptables, atk, audiofile, axel, beecrypt, bind, bison, - bluez_utils, boost, cairo, can-utils, bmon, boa, busybox, - cairo, ccache, cdrkit, cifs-utils, cjson, cmake, collectd, - connman, coreutils, cpanminus, cups, dbus, dhcp, dialog, - diffutils, directfb, distcc, divine, dnsmasq, docker, - dosfstools, dstat, e2fsprogs, ebtables, ed, empty, ethtool, - expedite, fbset, fbv, ffmpeg, flex, fltk, fluxbox, freetype, - gadget-test, gawk, gdb, genext2fs, gettext, giblib, - glib-networking, gmp, gmpc, gnupg, gnutls, gpsd, - gst-plugins-{bad,base,good}, gstreamer, gzip, haserl, hdparm, - heirloom-mailx, hiawanta, hostapd, icu, imagemagick, imlib2, - inadyn, infozip, iproute2, ipset, iptables, iw, jpeg, jquery, - jquery-sparklines, jqeury-validation, kismet, kmod, lame, - libao, libcap, libcurl, libdvdnav, libdvdread, libecore, - libedbus, libedje, libeet, libefreet, libeina, libeio, - liberation, libelementary, libembryo, libethumb, libev, - libevas, libffi, libfribidi, libfuse, libgcrypt, libglib2, - libgpg-error, libgtk2, libhid, libidn, libmicrohttpd, libmpd, - libnl, libnspr, libnss, libogg, libpcap, libplayer, libpng, - libroxml, librsvg, libseccomp, libsigc, libsndfile, libungif, - libupnp, liburcu, libusb-compat, libvncserver, libvorbis, - libxml2, libxslt, lighttpd, links, linux-firmware, - linux-fusion, ltp-testsuite, ltrace, - lttng-{babel,libust,modules,tools}, lvm2, lua, luajit, lzop, - matchbox-{desktop,lib}, mdadm, metacity, midori, minicom, mpd, - mpfr, mplayer, mtd, mysql_client, ncurses, neon, netatalk, - networkmanager, nspr, ntfs-3g, nuttcp, ofone, olsr, openssl, - openvpn, opkg, oprofile, opus, opus-tools, orc, ortp, pango, - pciutils, pcmanfm, pcre, pcsc-lite, perl, php, pixman, - pkgconf, polarssl, pptp-linux, proxychains, pulseaudio, - python, python3, qemu, qextserialport, qt, quagga, radvd, - readline, rng-tools, rt-tests, rubix, ruby, sam-ba, samba, - sane-backends, sconeserver, scons, screen, sdl, sdl_gfx, - sdl_mixer, sdl_ttf, sdparm, sed, ser2net, smartmontools, - speex, sqlite, squid, sshfs, strace, sudo, sylpheed, tn5250, - taglib, tar, torsmo, transmission, tslib, uboot-tools, ulogd, - usb_modeswitch, util-linux, valgrind, vim, vsftpd, wavpack, - webkit, wipe, wireless_tools, wpa_supplicant, xapp_xinit, - xapp_xinput-calibrator, xapp_xman, xapp_xmh, xlib_libX11, - xlib_libXdmcp, xlib_libXft, xlib_libpthread-stubs, - xlib_xtrans, xproto_xcmiscproto, xproto_xextproto, - xserver_xorg-server, xstroke, xvkbd, xz - - New packages: b43-firmware, b43-fwcutter, bustle, - cache-calibrator, cegui06, celt051, classpath, curlftpfs, - dvb-apps, dvbsnoop, elfutils, enlightenment, firmware-imx, - flashbench, gd, gesftpserver, gst-fsl-plugins, httping, iftop, - imx-lib, jamvm, jpeg-turbo, keyutils, libatasmart, libcofi, - libebml, libevas-generic-loaders, libfslcodec, libfslparser, - libfslvpuwrap, libgsasl, libiscsi, libmatroska, libmcrypt, - libmhash, libqwt, libseccomp, libsha1, linenoise, mcrypt, - media-ctl, ncdu, neard, neardal, nettle, perf, polkit, - proxychains, python-bottle, python-pyparsing, rpi-firmware, - rpi-userland, sg3_utils, slirp, snowball-hdmiservice, spice, - spice-protocol, tcllib, tvheadend, udisks, usbredir - ux500-firmware, vde2, xcb-utils-keysyms, yavta, - zd1211-firmware - - Removed packages: customize, xdriver_xf86-input-{acecad,aiptek}, - xdriver_xf86-video-{apm,chips,i740,rendition,s3,s3virge,sisusb}, - xdriver_xf86-video-sun{cg14,cg3,cg6,ffb,leo,tcx}, - xdriver_xf86-video-{tsend,xgi,xgixp} - - Deprecated packages: xstroke - - Issues resolved (http://bugs.uclibc.org): - - #4237: building shared openssl w/-Os fails due to gcc bug - #5690: python3 does not obey to BR2_PACKAGE_PYTHON3_PYC_ONLY=y - #5602: python3 should install a "python" symbolic link - #5846: Extra slash added to last slash in URL - -2012.11.1, Released January 3rd, 2013: - - Toolchain: Fixed non-largefile builds on recent Ubuntu - versions. - - Arch: fix missing x86/generic handling, Build for Xtensa with - longcalls option. - - Updated/fixed packages: dosfstools, qt - -2012.11, Released December 2nd, 2012: - - Git shallow clone fix for older git version. - - Updated/fixed packages: ctuio, libtool - - Issues resolved (http://bugs.uclibc.org): - - #5726: List all the available hook points - -2012.11-rc2, Released November 30th, 2012: - - Minor fixes around the tree. - - Various manual updates and fixes. - - Add checks for legacy features. - - Updated/fixed packages: acpid, alsa-lib, arptables, binutils, - busybox, ccache, cjson, cramfs, directfb, flex, fluxbox, gdb, - hiawatha, igh-ethercat, imagemagick, imlib2, lcdproc, - libdaemon, libecore, libhid, libmad, libpcap, libsigc, libusb, - linux-fusion, matchbox, ocf-linux, owl-linux, python, rrdtool, - scons, strace, sylpheed - - Issues resolved (http://bugs.uclibc.org): - - #5732: Error : package/alsa-lib/alsa-lib.mk - -2012.11-rc1, Released November 17th, 2012 - - Fixes all over the tree and new features. - - Defconfigs: use u-boot 2012.10 on at91 and beaglebone, - sheevaplug + qemu: bump kernel version, add qemu-mips64-malta - + nitrogen6x defconfigs. - - Bootloaders: add u-boot 2012.07/10, ais target format, add - barebox 2012.08/09/10/11, linker overlap issue fix for - at91bootstrap, mxs-bootlets updated for new Barebox versions. - - Toolchains: binutils 2.23.1, gcc 4.7.2, default to gcc 4.6.x, - Codebench arm/sh/x86 2012.03/09, Linaro 2012.08/09/10. - Libtirpc support for modern glibc variants. Toolchain on - target has been deprecated. - - Initial Aarch64 support, Xtensa support re-added. - - Infrastructure: Use shallow git clone when possible, use - tarballs rather than git URLs for github. Moved to pkgconf - rather than pkg-config. System directory added, default - skeleton/device tables moved. More than 1 post-build script - can now be used. output/target now contains a - THIS_IS_NOT_YOUR_ROOT_FILESYSTEM warning, to help people - understand how to (not) use it. - - Manual has been reworked and extended. - - Legal-info: Lots of package annotations, CSV file fixes, - _LICENSE / _REDISTRIBUTE splitup, per-package hooks. - - Updated/fixed packages: acpid, alsa-lib, alsa-utils, - alsamixergui, attr, autoconf, automake, bash, bind, binutils, - bison, blackbox, bluez-utils, busybox, cairo, can-utils, - cifs-utils, cjson, cmake, collectd, connman, conntrack-tools, - coreutils, cups, cvs, dbus, dhcp, directfb, dmalloc, dnsmasq, - dropbear, e2fsprogs, ethtool, fbdump, feh, fftw, file, - flashrom, fluxbox, gdb, gdisk, gdk-pixbuf, genext2fs, gettext, - gnutls, gpsd, gqview, grep, gsl, gst-plugins-{bad,good}, - hdparm, hiawatha, hostapd, input-tools, iproute2, ipset, - iptables, iw, json-c, kexec, kmod, lcdproc, leafpad, less, - libcurl, libdrm, libdvdnav, libdvdread, libffi, libfuse, - libglib2, libhid, liblockfile, libmad, libmbus, libmnl, - libnetfilter_{acct,conntrack,cthelper,cttimeout,queue}, - libnfc, libnfc-llcp, libnfnetlink, libnl, libnspr, libnss, - libpcap, libplayer, libtool, libtorrent, liburcu, libv4l, - libxcb, libxml2, libxslt, links, linux-firmware, lm-sensors, - lmbench, lockfile-progs, logrotate, lshw, lsof, - lttng-babeltrace, lttng-tools, lua, luajit, mesa3d, microperl, - mii-diag, module-init-tools, mpc, mpd, mpg123, mplayer, - mtd-utils, mysql_client, nbd, ncurses, netatalk, netkitbase, - netkittelnet, netsnmp, newt, nfs-utils, openntpd, openssh, - openssl, opkg, patch, pciutils, pcre, php, poco, polarssl, - popt, portmap, pppd, procps, pulseaudio, python, python-nfc, - python-protobuf, qt, quota, rp-pppoe, rtorrent, sam-ba, samba, - scons, sdl_gfx, smartmontools, sqlite, squid, strace, sudo, - sylpheed, tcpdump, tremor, ttcp, tiff, unionfs, - usb_modeswitch, usbutils, util-linux, vala, valgrind, vpnc, - vsftpd, webkit, wget, which, wpa_supplicant, x11vnc, xapp_*, - xdriver_*, xenomai, xfont_*, xinetd, xl2tp, xlib_*, xlsclient, - xproto_*, xserver_xorg-server, xutil_util-macros, xz, zeromq - - New packages: arptables, at91bootstrap3, boot-wrapper-aarch64, - ccid, cpanminus, cpuload, erlang, evtest, fb-test-apps, - fxload, gdbm, gnupg, googlefontdirectory, grantlee, gsl, - lcdapi, liblo, liblog4c-localtime, libtirpc, linux-pam, - lua-msgpack-native, macchanger, mtdev, mtdev2tuio, nfacct, - opus, opus-tools, pcsc-lite, perl, pkgconf, python-meld3, - python3, qemu, qextserialport, qtuio, rpcbind, schifra, - sconeserver, supervisor, time, ulogd, usb_modeswitch_data, - yasm - - Deprecated packages: netkitbase, netkittelnet - - Issues resolved (http://bugs.uclibc.org): - - #807: [PATCH] samba - make iconv and smbd optional - #3049: binutils have a sysroot bug in ld - #5330: update vsftpd to 3.0.0 - #5486: libglib2 build fails on: libs/libglib-2.0.so: undefined... - #5666: Fails to build python 2.7.2 for 2440 arm - -2012.08, Release August 31th, 2012 - - Updated/fixed packages: microperl, cups, luajit, rrdtool, - prboom, oprofile. - - Added license information for: sqlite. - - Changed the source URLs of all packages located on Sourceforge - in order to use the automatic mirror selection URL - downloads.sourceforge.net, and get rid of the - BR2_SOURCEFORGE_MIRROR option. - -2012.08-rc3, Released August 25th, 2012 - - Updated/fixed packages: libglib2, netsnmp, freetype, libfuse, - libpng, x11vnc, zlib, gpsd, ifplugd, bash, distcc. - - Added license informations for: barebox, grub, syslinux, - uboot, xloader, yajl, zlib, zxing, alsa-lib, alsa-utils, - faad2, nano, fbdump, rsync, librsync, fontconfig, - inotify-tools, - -2012.08-rc2, Released August 15th, 2012 - - Updated/fixed packages: imagemagick, sudo, crosstool-ng. - - Added license informations for: mxml, nanocom, empty, expat, - lua, lucjson, xinetd, cjson, luaexpat, lmbench, bwm-ng, - input-event-daemon, luajit, cgilua, copas, coxpcall, - luafilesystem, luasocket, rings, wsapi, xavante, libtpl, - avahi, busybox, libfcgi, ifplugd, libcgicc, libcurl, - libdaemon, libdnet, libgpg-error, libpcap, libpng, lighttpd, - mtd, openssl, psmisc, socat, spawn-fcgi. - - Fixes to Microblaze external toolchains - configuration. Improvements of the pkg-stats - script. Out-of-tree fix for the graph-depends script. - - Kernel headers version bump. - -2012.08-rc1, Released August 1st, 2012 - - Fixes all over the tree and new features. - - Integration of a legal information reporting infrastructure, - which allows to generate detailed informations about the - licenses and source code of all components of a system - generated by Buildroot. License information will progressively - be added on packages. - - Default configuration files added for Calao-systems USB-A9263 - and Calao-systems USB-A9G20-LPW. - - External toolchains update: allow download of a custom - toolchain, add Linaro 2012.05 and 2012.06 for ARM, add - Blackfin toolchain 2012R1-BETA1, add Sourcery CodeBench MIPS - 2011.09. - - Allow the restriction of downloads to the primary site only. - This is useful for project developers who want to ensure that - the project can be built even if the upstream tarball - locations disappear. - - Add a 'System configuration' choice to select between 3 - different init systems: Busybox init, SysV init and Systemd - init. - - Cleanups to the package infrastructure. The visible change to - developers is that $(eval $(call AUTOTARGETS)) is now $(eval - $(autotools-package)), and similarly for other package - infrastructures and host packages. Refer to the documentation - for details. - - By default, automatic detection of the number of compilation - jobs to use, depending on the number of CPUs available. - - Improvements to generate systems with static libraries only - (infrastructure and package fixes). - - Add proper support in the Linux kernel package to generate - Device Tree Blobs or combined Device Tree / Kernel - images. This will be useful on Microblaze, PowerPC and ARM, - which are architectures making extensive use of the Device - Tree. - - Updated/fixed packages: audiofile, autoconf, automake, axel, - barebox, bash, beecrypt, berkeleydb, bind, bison, bluez_utils, - bonnie, boost, busybox, bsdiff, bwm-ng, bzip2, cifs-utils, - cgilua, cmake, connman, conntrack-tools, crosstool-ng, cups, - dbus, dhcp, dnsmasq, e2fsprogs, eeprog, ethtool, faad2, fbv, - ffmpeg, freetype, gmp, gnutls, gob2, gpsd, grep, - gst-plugins-base, gst-plugins-good, gzip, hiawatha, hostapd, - htop, icu, igh-ethercat, imagemagick, input-tools, iostat, - iproute2, ipset, iptables, iw, kmod, less, libcap, libgci, - libconfig, libcurl, libelf, libevas, libeXosip2, libexif, - libfuse, libidn, libmad, libmbus, libmnl, - libnetfilter-conntrack, libnl, libnspr, libnss, libogg, - libosip2, libpcap, libpng, libroxml, liburcu, libusb, libxml2, - libxslt, lighttpd, linux, ltrace, lttng-libust, lttng-modules, - lttng-tools, lua, m4, memtester, midori, mii-diag, - module-init-tools, mpfr, mpg123, mrouted, msmtp, mtd, mxml, - mysql_client, nasm, nbd, ncurses, nfs-utils, opencv, openocd, - openssl, pciutils, php, polarssl, portaudio, pppd, - pthread-stubs, pulseaudio, qt, quagga, quota, radvd, rpm, - rrdtool, samba, sam-ba, scons, sdl_gfx, sdl_sound, speex, - sqlite, squashfs, squid, sudo, synergy, syslinux, systemd, - tar, tcpdump, tcpreplay, udev, usbutils, valgrind, wget, - wpa_supplicant, wsapi, xavante, xserver_xorg-server, zlib - - New packages: cjson, collectd, dfu-util, dmidecode, elftosb, - fbterm, flashrom, freerdp, inadyn, libfreefare, - libnetfilter_cttimeout, libnfc, libnfc-llcp, liboping, - libtorrent, linphone, logsurfer, lshw, luacjson, luaexpat, - luajit, mediastreamer, mobile-broadband-provider-info, monit, - mxs-bootlets, nanocom, nss-mdns, ofone, omap-u-boot-utils, - opkg, ortp, owl-linux, python-id3, python-nfc, quota, - ramspeed, rtorrent, sound-theme-borealis, - sound-theme-freedesktop, sysprof, webrtc-audio-processing, - xinetd, zxing - - Issues resolved (http://bugs.uclibc.org): - - #1315: Allow use of older external toolchains without sysroot - support [won't fix] - #5276: Hiawatha needs to manage IPV6 if so [fixed] - #5360: buildroot fails when building "host-libglib2 2.30.2 - Building" [won't fix, upstream problem] - #5384: Can't build packages relying on gets on newer glibc - [fixed] - -2012.05, Released May 30th, 2012: - - Updated/fixed packages: busybox, netsnmp, pptp-linux - -2012.05-rc3, Released May 25th, 2012: - - Minor fixes around the tree. - - Infra: Fix for DOWNLOAD macro when using primary mirrors with - scp targets. - - Toolchain: Kernel headers 3.2.18 / 3.3.7. - - Updated/fixed packages: binutils, bison, busybox, cifs-utils, - gnuchess, gpsd, iperf, libmpeg2, mtd, ntfs-3g, oprofile, - xserver-xorg - -2012.05-rc2, Released May 18th, 2012: - - Fixes all over the tree. - - Toolchain: uClibc: Use 0.9.33.2, Crosstool-ng: fix gperf - dependency, disable decimal floats support, Linux 3.2.17 / - 3.3.6 kernel headers. Fix sysroot copy handling for toolchains - without C++ support. - - Updated/fixed packages: apr, apr-util, ccache, dnsmasq, - heirloom-mailx, gdb, ndisc6, opencv, openssl, socat, vala - -2012.05-rc1, Released May 10th, 2012: - - Fixes all over the tree and new features. - - Use /etc/os-release for version info rather than - /etc/br-version. - - CMake toolchain file moved to $HOST_DIR/usr/share/buildroot. - - Apply-patches.sh: cleanups, archived patches handling fixes, - support series files. - - Defconfigs: beaglebone, mx53qsb, pandaboard, qemu configs for - arm-vexpress/microblaze/ppc-mpc88544ds, use 3.2.x for - atngw100, use 3.3.x for qemu configs. - - Menu structure: Libraries moved out of multimedia section - - Atom processor support. Prescott fix, blackfin ABI fix, - Microblaze architecture support (using ext toolchain). Cleanup - architecture names, deprecate Xtensa support. - - Toolchain: Add GCC 4.4.7, 4.6.3, 4.7.0. uClibc 0.9.33.1, - default to uClibc 0.9.33.x, enable - UCLIBC_SUPPORT_AI_ADDRCONFIG by default, static and 64bit - fixes for external toolchains, linaro ext toolchains, new - sourcery codebench ext toolchains, GDB 7.4.1, crosstool-ng - 1.15.2. - - Bootloaders: U-Boot: add 2012.04.01, SPL and u-boot.img - support. Barebox: add 2012.04, remove 2011.12. - - Updated/fixed packages: alsa-lib, alsa-utils, at, atk, avahi, - barebox, berkeleydb, bind, bluez_utils, boost, busybox, - can-utils, ccache, cifs-utils, coreutils, cups, dbus, dhcp, - directfb, dnsmasq, doom-wad, dosfstools, e2fsprogs, expat, - fakeroot, feh, ffmpeg, file, fis, freetype, gamin, gawk, - gdk-pixbuf, gettext, giblib, glib-networking, gmp, gnutls, - gpsd, grep, gstreamer, gst-plugins-{bad,base,good,ugly}, - haserl, hdparm, imagemagick, iproute2, iptable, iw, kexec, - kmod, lame, libaio, libarchive, libatomic_ops, libconfig, - libcurl, libdvdnav, libdvdread, libedbus, libethumb, libffi, - libfuse, libglib2, libgtk2, libhid, libmad, libmbus, libmpeg2, - libnl, libplayer, libpng, libsigc, libsoup, libupnp, liburcu, - libusb, libusb-compat, libxml2, libxml-parser-perl, libxslt, - lighttpd, linux-firmware, linux-fusion, lite, lsof, ltrace, - lttng-libust, lua, m4, makedevs, microperl, mpd, mpfr, mpg123, - mrouted, mtd, mysql_client, nbd, ncftp, ncurses, neon, - netsnmp, network-manager, nfs-utils, ngrep, ntfs-3g, openntpd, - openssh, openssl, parted, pango, pcre, php, pixman, poco, - psmisc, pulseaudio, python, qt, quagga, radvd, rpm, rsync, - ruby, samba, sam-ba, sane-backends, sawman, screen, sdl_net, - smartmontools, speex, sqlite, squashfs3, squid, sshfs, sudo, - syslinux, sysstat, taglib, tcpdump, tftp-hpa, transmission, - tiff, tinyhttpd, uboot-tools, udev, uemacs, unionfs, usbutils, - util-linux, vala, valgrind, vim, vsftpd, wget, wipe, - wpa_supplicant, xdriver_xf86-{input-vmmouse,video-fbdev}, - xfsprogs, zlib - - New packages: apr, apr-util, audiofile, bellagio, - conntrack-tools, empty, fmtools, glib-networking, - heirloom-mailx, hiawatha, latencytop, lcdproc, libcap-ng, - libdmtx, libfcgi, libnetfilter_conntrack, libnfnetlink, - libtpl, localedef, minicom, msmtp, ndisc6, netatalk, - ocf-linux, openswan, parted, polarssl, protobuf, read-edid, - socketcand, stress, systemd, ushare, zeromq - - Deprecated packages: ttcp - - Removed packages: ntfsprogs - - Issues resolved (http://bugs.uclibc.org): - - #2353: [lua] fix build with 2010.08-rc1 - #2503: Microperl fails build on MIPSel or with Fedora13.x86_64 - #2557: [PATCH] mkfs.xfs complains about missing libxfs.so.0 - #2881: Can't build project statically with external toolchain - #3751: MIPS: fix BR2_GCC_TARGET_ABI for MIPS n64 - #4808: ccache may build against wrong zlib - #4880: New package lcdproc - #4886: New package protobuf - #4892: build fails on ltp-testsuite-20101031/testcases/kernel/fs/... - #4898: * make: [target-finalize] Error 1 (ignored)* - #4985: Qt 4.7.4 build crashes with Linux 2.6.29 - #4970: udev 181 fails to build if kernel version 3.3 is selected - #5018: dialog broken: exits with assert in uClibc - #5102: qt package moc, uic, rcc read from wrong place - #5144: Patch to fix ixon bug in uemacs - #5198: Line graphics output is broken in GNU Screen - #5204: Missing terminfo file(s) for GNU screen terminal type - -2012.02, Released February 29th, 2012: - - Updated/fixed packages: libecore - -2012.02-rc3, Released February 27th, 2012: - - Fixes all over the tree. - - Automatic host dependencies handling for cmake packages - fixed. Customize package deprecated as using a post-build - script is nowadays the preferred way of adding extra stuff to - the rootfs. - - Linux-headers 3.0.x / 3.2.x stable version bumped. - - QEMU defconfigs updated to 3.2.x kernels and readme fixed. - - Updated/fixed packages: dropbear, ffmpeg, libpng - -2012.02-rc2, Released February 19th, 2012: - - Fixes all over the tree. - - Toolchain: uClibc: Added upstream post-0.9.33 fixes, Bump - linux-headers 3.0.x / 3.2.x stable versions. - - Documentation: Added makedev / _DEVICES / - _PERMISSIONS documentation. - - Updated/fixed packages: busybox, ffmpeg, gst-dsp, libecore, - libvncserver, mxml, python. - -2012.02-rc1, Released February 12th, 2012: - - Fixes all over the tree and new features. - - Toolchain: Default to GCC 4.5.x, add binutils 2.22. Java - support removed, Powerpc SPE ABI support. GDB ELF support fix, - GDB 7.4, crosstool-NG 1.13.4. - - Gentargets: scp and mercurial support. - Autotools: derive host dependencies from target by default. - Packages can now declare device table snippets. - - Host utilities menu with commonly used host tools. - - defconfigs: qemu configs for x86-64, mips and sparc, at91 - defconfigs now use modern U-Boot / mainline Linux, added - lpc3250 defconfigs. - - uClibc: remove 0.9.30, backport unshare() support, add - 0.9.32.1 / 0.9.33, use same config for ctng. - - Bootloaders: U-Boot: add 2011.12, remove 2010.xx versions, - Barebox: add 2012.01/02, remove 2011.10/11, LPC32xx - bootloaders added. - - Various manual updates. Release tarballs now contain generated - manual in text/html/pdf formats. - - Buildroot now calls the stop function of scripts in - /etc/init.d at shutdown. - - Updated/fixed packages: atk, avahi, barebox, bash, beecrypt, - bind, binutils, bison, bluez_utils, bzip2, busybox, cairo, - ccache, cdrkit, coreutils, cramfs, dbus, dbus-glib, dialog, - diffutils, dmalloc, dropbear, e2fsprogs, ebtables, ed, - ethtool, expat, ffmpeg, file, fis, flex, fluxbox, fontconfig, - freetype, gawk, grep, gst-dsp, gst-ffmpeg, gst-plugins-base, - hdparm, hostapd, htop, i2c-tools, icu, iproute2, ipsec-tools, - ipset, iptables, iw, jpeg, kismet, lame, libcap, libcgi, - libev, libeXosip2, libffi, libftdi, libgpg-error, libgtk2, - libidn, libmms, libmnl, libmodbus, libnl, libogg, libosip, - libpcap, libpng, libraw1394, libroxml, libusb, libusb-compat, - libv4l, libvorbis, libxcb, libxml-parser-perl, libxslt, - lighttpd, links, lm-sensors, lua, m4, module-init-tools, mpc, - mesa3d, mpd, mpfr, mplayer, mtd-utils, nano, nbd, ncurses, - netperf, netsnmp, ntp, opencv, openocd, openssl, openvpn, orc, - pciutils, pcre, pixman, pkg-config, poco, popt, proftpd, - python, python-serial, qt, ruby, samba, sdl, sdparm, - squashfs3, sshfs, sqlite, squid, sudo, syslinux, tcl, tcpdump, - ti-utils, tiff, tremor, uboot, uboot-tools, udev, usbmount, - util-linux, vala, valgrind, vsftpd, wpa_supplicant, - xapp_{bdftopcf,mkfontdir,mkfontscale,xkbcomp,xcursorgen,xinit}, - xapp_xinput, xapp_xman, xcb-util, xdm, xenomai, - xf86-video-sis, xfont_{encodings,font-util}, - xlib_lib{fontenc,X11,Xau,Xcursor,Xdmcp,Xfixes,Xfont,Xrender}, - xlib_libxkbfile, xterm, xutil_makedepend, yajl - - New packages: boost, connman, dstat, expedite, explorercanvas, - feh, flot, giblib, igh-ethercat, imlib2, jquery, - jquery-sparklines, jquery-validation, jsmin, kmod, libecore, - libedbus, libedje, libeet, libeina, libelementary, libesmtp, - libethumb, libevas, libical, libmbus, liboauth, liburcu, - libvncserver, linux-firmware, - lttng-{babeltrace,libust,modules,tools}, NetworkManager, - open2300, python-distutilscross, python-dpkt, - python-netifaces, python-pygame, python-setuptools, rt-tests, - sam-ba, sane-backends, sqlcipher, transmission, unionfs, - xf86-input-tslib, xinput-calibrator - - Issues resolved (http://bugs.uclibc.org): - - #743: Add Transmission bit torrent option to buildroot - #755: Add Boost libraries as a package - #2299: Add crypto support to libsoup - #2617: Pixman 0.19.2 & Cairo 1.10.0 - #3403: libgpg-error: bump to version 1.10 - #3409: libgpg-error: download from gnupg.org - #3421: nano: make tiny flag optional - #3691: New EFL packages - #4664: Cannot patch AT91Bootstrap - #4700: setlocalversion not working for combination svn/ubuntu 11.10... - #4760: Qt: add host-pkg-config to dependency-list - -2011.11, Released November 30th, 2011: - - Fixes all over the tree. - - Bump kernel headers / default Linux version to 3.1.4. - - Updated/fixed packages: ruby - -2011.11-rc3, Released November 26th, 2011: - - Fixes all over the tree. - - Toolchain: Fix gdb dependencies for external toolchains, - adjust uClibc patches so they don't confuse modern versions of - patch, bump crosstool-ng, kernel headers and linux versions. - - Updated/fixed packages: busybox, freetype, mplayer, opencv, - php, rsyslog, ruby, thttpd, xapp_xf86dga - - Issues resolved (http://bugs.uclibc.org): - - #4357: Prevent patch commands from accessing source control - #4369: Fix permissions on untared lsof archive - -2011.11-rc2, Released November 18th, 2011: - - Fixes all over the tree and new features. - - Updated asciidoc documentation - - Toolchain: Bumped 3.x stable kernel headers, use wget in - crosstool-ng as well, bump crosstool-ng version, gdb fixes, - uClibc sparc fix. - - Updated/fixed packages: distcc, file, gst-plugins-bad, libxcb, - mplayer, newt, qt, rpm, rrdtool, tar, tftpd - - Issues resolved (http://bugs.uclibc.org): - - #3355: mplayer fails to build - #4021: uClibc: undefined reference to `__GI___errno_location' - #4297: Qt's qmake uses wrong pkg-config - -2011.11-rc1, Released November 11th, 2011: - - Fixes all over the tree and new features. - - Moved misc scripts and support stuff to support/. Renamed - patch-kernel.sh to support/scripts/apply-patches.sh. - - Documentation: Moved to asciidoc format, make targets to - generate text/html/pdf/epub output added. - - Defconfigs: Qemu configs updated to 3.1 kernel and readmes - added. - - Bootloaders: Add support for custom git tree / tarballs for - barebox, similar to how it's handled for u-boot. Clean up - menuconfig options. - - Toolchain: Update external codesourcery toolchain download - URLs after Codesourcery got bought by Mentor, add x86 - toolchain, update toolchain versions and optimize toolchain - sysroot copying. Fix uClibc 0.9.32 builds for e500 PPC, - updated GDB versions / download URLs. Binutils - libbfd/libopcodes static/dynamic linking fix. GCC 4.6.2 added, - use ctng-1.13.0. - - Package infrastructure: Support for local packages / - overrides, package dir / name arguments dropped from - {GEN,AUTO,CMAKE}TARGETS. - - Linux: Kernel extensions infrastructure support, Xenomai + - RTAI support. - - Updated/fixed packages: acpid, bind, busybox, dash, dbus, - dbus-glib, directfb, dnsmasq, drystone, e2fsprogs, ethtool, - fakeroot, fbdump, file, freetype, fuse, gamin, gmp, gmpc, - gnutls, gob2, gst-plugins-{base,bad,good,ugly}, gstreamer, - hostapd, ifplugd, imagemagick, intltool, ipsec-tools, ipset, - iptables, iw, jpeg, kexec, leafpad, less, libargtable2, libao, - libconfuse, libcuefile, libcurl, libdaemon, libevent, - libglib2, libiconv, libmpd, libreplaygain, libroxml, - libsamplerate, libsndfile, libsoup, libsvgtiny, libtool, - libxcb, lighttpd, links, linux-fusion, lite, lrzsz, lsof, lzo, - lzop, makedevs, mcookie, mpg123, mpd, mpfr, mtd, musepack, - mutt, mysql_client, ncftp, ncurses, neon, netcat, netsnmp, - ntfs-3g, ntfsprogs, ntp, openntpd, openssh, openssl, oprofile, - orc, pciutils, psmisc, python, qt, quagga, radvd, rpm, rsync, - samba, sawman, sdl_sound, smartmontools, sqlite, squid, - stunnel, sudo, sylpheed, sysstat, taglib, tar, tcpreplay, - tslib, usbutils, util-linux, valgrind, wget, whetstone, which, - wpa-supplicant, xdata_xcursor-themes, xmlstarlet, xterm - - New packages: bluez-utils, cifs-utils, fftw, fluxbox, json-c, - libev, libftdi, libgeotiff, libmodbus, libplayer, live555, - ngrep, noip, opencv, openocd, picocom, poco, portaudio, - pulseaudio, pv, rtai, vala, xenomai. - - Removed packages: liboil, sfdisk, swfdec, webif - - Issues resolved (http://bugs.uclibc.org): - - #505: live555: new package - #507: Enable live and tv options in MPlayer-1.0rc2 - #531: let e2fsprogs package to export headers to staging dir if needed - #1171: Linuxthreads new cannot find sysdep.h - #1357: Add bluez to buildroot system - #2107: New package: input-event-daemon - #2599: New package: orc (Oil Runtime Compiler) - #2605: gstreamer: Update to 0.10.30 - #2677: introducing util-linux-ng as replacement for util-linux - #2917: Qt: Add declarative module - #3145: jffs2 image generation fails - #3271: netperf-2.4.5 fails to compile - #3331: xdata_xcursor-themes depends on xcursorgen - #3343: Add file:// download SITE_METHOD - #3391: Add support for specifying an external kernel tree - #3631: Error while compiling with Xorg - #3709: oprofile doesn't build for mipsel - #3925: midori not getting compile - #4045: Add support for downloading i386 toolchains from codesourcery - #4165: lrzsz-fix-symlink-at-rebuild.patch - #4171: makedevs-unused-but-set-variable.patch - #4183: Codesourcery toolchain download site has changed - #4231: libneon.so: undefined reference to `SSL_SESSION_cmp' - #4381: Add option to lighttpd to enable Lua support - #4387: Make sure that dest dir exists before installing mtd files - -2011.08, Released August 31th, 2011: - - Fixes all over the tree. - - Toolchain: Fix codesourcery 2009q3 ARM download, Linux 3.0.4 - kernel headers. - - Updated/fixed packages: ipset, python - -2011.08-rc2, Released August 29th, 2011: - - Fixes all over the tree. - - Toolchain: crosstool-NG 1.12.1, use binutils 2.21 on - mips/sh/older uClibc, disallow uClibc 0.9.32 on avr32/sh - (broken). - - Defconfigs: kernel updates, fix mini2440 serial port config, - remove old arm toolchain configs. - - Bootloaders: Fix grub patching, add barebox-{n,x,menuconfig} - targets similar to linux/busybox. - - Updated/fixed packages: barebox, directfb, libsoup, - libxml-parser-perl, mtd, ncurses, python, ti-utils, udev, - usbmount, util-linux, xfont_font-misc-misc - - Issues resolved (http://bugs.uclibc.org): - - #3685: ncurses installation hangs due to old version of tic - #4093: Grub fails to install bz2 patch after conversion to... - -2011.08-rc1, Released August 4th, 2011: - - Fixes all over the tree and new features. - - Toolchain: uClibc 0.9.32 / NPTL support, 0.9.29 removed, - ext-toolchain-wrapper improvements, improved non-MMU - support. GCC 4.3.6 / 4.6.1. - - GENTARGETS infrastructure extended to cover bootloaders and - Linux kernel as well. Options to retrive Linux/U-Boot from a - custom git repo instead of upstream tarballs. - Support for Linux 3.x and release candidate tarballs. - X-Loader bootloader for omap added. - - Make source/external-deps now also works for external - toolchains / crosstool-ng backend. - - Updated/fixed packages: autoconf, berkeleydb, bind, binutils, - bmon, bridge-utils, busybox, cmake, dbus, dbus-glib, - e2fsprogs, ethtool, ffmpeg, gst-plugins-{bad,base,good,ugly}, - gvfs, hostapd, iproute2, iptables, iw, jpeg, lame, libarchive, - libdnet, libdrm, libgcrypt, libgtk2, libmpeg2, libpng, - libsoup, lighttpd, linux-fusion, lzo, midori, mtd-utils, - nfs-utils, openvpn, oprofile, orc, pkg-config, proftpd, qt, - ruby, samba, sdl, shared-mime-info, sudo, sqlite, squid, - synergy, udev, usbmount, usbutils, util-linux, valgrind, - webkit, xorg-xserver, xz, zlib - - New packages: acl, attr, ebtables, gnutls, inotify-tools, - ipset, libargtable2, libiqrf, libmnl, libnspr, libnss, - libroxml, libyaml, live555, mxml, orc, rsyslog, sredird, - statserial, stunnel, ti-utils, uboot-tools, yajl - - Deprecated packages: liboil, swfdec - - Removed packages: hal - - Issues resolved (http://bugs.uclibc.org): - - #3559: libnspr: Add new package - #3595: patch to add libroxml - #3565: libnss: Add new package - #3583: xfonts_font-adobe-100dpi fails due to missing map file - #3649: [PATCH] Add mapdir to existing pkg-config patch - #3907: 2011.05 - Qt 4.7.3 not building on ARM - #3961: Nfs-utils: Remove SUSv3-function index - #3985: "help" target's defconfig list needs sort - #3997: bump libroxml to v2.1.0 - -2011.05, Released May 27th, 2011: - - Updated/fixed packages: makedevs - -2011.05-rc2, Released May 24th, 2011: - - Fixes all over the tree. - - Toolchain: Code sourcery ARM 2009q1 download URL fixed / - 2009q3 external toolchains added. Crosstool-NG bumped to - 1.11.3, eglic/glibc configuration fixes. Linux kernel 2.6.38.x - bumped to 2.6.38.7. - - Updated/fixed packages: bind, fakeroot, kbd, psmisc, qt - -2011.05-rc1, Released May 18th, 2011: - - Fixes all over the tree and new features. - - External toolchain improvements: We now build a binary - toolchain wrapper and install it into HOST_DIR/usr/bin, which - enforces the correct compiler arguments, making an external - toolchain as easy to use outside of Buildroot as the internal - ones are. This also brought a cleanup of CFLAGS, making the - Buildroot build output easier to read. - - Rootfs device handling improvements: Choice between static - /dev, devtmpfs and devtmpfs with either mdev or udev. - - Toolchain: More preconfigured codesourcery external - toolchains, improved Crosstool-NG support, fix for GCC - snapshot versions, GCC 4.4.6 / 4.5.3, experimental GCC 4.6.0 - support, target-GCC fixes, uClibc fixes, 0.9.32-rc3 support. - - Bootloaders: U-boot 2011.03, Barebox 2011.05.0 - - Linux: support for custom kernel image targets, E.G. for - powerpc builds with embedded device trees. - - Misc fixes for qemu defconfigs, ensuring correct serial - terminal setup out of the box. - - Misc gentarget / autotools handling fixes. - - Updated/fixed packages: alsa-lib, alsa-utils, alsamixergui, - atk, avahi, bind, bison, busybox, copas, dbus-glib, dhcp, - dhcpdump, dnsmasq, dropbear, ethtool, fakeroot, ffmpeg, file, - gamin, gnuconfig, gst-ffmpeg, gst-plugins-good, gtk2-engines, - haserl, hostapd, icu, imagemagick, iproute2, iw, kismet, less, - libcap, libdnet, libglade, libglib2, libgtk2, libnl, libpng, - libxml2, libxml2, libxslt, lighttpd, lockfile-progs, makedevs, - midori, mpg123, mpc, mpd, mpfr, mplayer, mtd-utils, ncurses, - netsnmp, openssh, openssl, openvpn, pango, pkg-config, popt, - procps, proftpd, qt, quagga, readline, rsync, samba, sdl, - socat, squashfs, squid, sudo, tslib, udev, usbutils, webkit, - wpa_supplicant, xerces, xfont_font-misc-misc, xlib_libX11, - xlib_libXfont, xlib_xtrans, xorg-server, xterm, xz - - New packages: bonnie++, can-utils, gdisk, htop, - input-event-daemon, libexif, libraw, libv4l, ngircd - - Removed packages: festival - - Issues resolved (http://bugs.uclibc.org): - - #2131: Add OpenMP support to the toolchain - #3379: New Package: bonnie++ - #3445: Not working openssl-10.0.0d on 386sx - #3451: fakeroot package: wrong FAKEROOT_SITE variable - #3457: alsamixergui: broken URL - #3475: Calling sync on large filesystems when not always necessary - #3511: make busybox-menuconfig does not download busybox package - #3541: Quotes in the top Makefile:217 break buildroot/kernel config... - #3571: u-boot: fw_printenv does not build - #3643: popt source url is not responding - #3733: dropbear: make zlib optional - #3757: Buildroot can't build mplayer with libmad - -2011.02, Released February 28th, 2011: - - Fixes all over the tree. - - Updated/fixed packages: alsamixergui, avahi, ffmpeg, icu, mpd, - nuttcp, qt, slang, squashfs, sylpheed, synergy, xerces - - Deprecated packages: devmem2, webif - - Issues resolved (http://bugs.uclibc.org): - - #2911: Qt: Disable qt3support-option, if gui-module isn't selected - #3259: Unable to build webkit (on arm) - #3295: slang fails to build on mipsel - #3325: ffmpeg fails to build - -2011.02-rc2, Released February 24th, 2011: - - Fixes all over the tree. - - Festival packages marked as broken. Unless someone steps up - to support them, they will be removed during the 2011.05 - development cycle. - - Updated/fixed packages: atk, avahi, bind, cairo, dbus, - enchant, fakeroot, gmpc, gpsd, gvfs, iperf, jpeg, libarchive, - libcgicc, libdaemon, libdrm, libevent, libgail, libglib2, - libgpg-error, libmicrohttpd, librsvg, libsoup, libxcp, - makedevs, matchbox-fakekey, matchbox-startup-monitor, mdadm, - metacity, mpd, nasm, nfs-utils, olsr, openssl, popt, - pthread-stubs, quagga, rpm, samba, sdl, sdl_gfx, sdl_image, - sdl_mixer, sdl_sound, sdl_ttf, squashfs, synergy, taglib, - tcpreplay, tiff, wpa_supplicant, xcb-util, - xdriver_xf86-input-{acepad,aiptek,evdev,joystick,keyboard}, - xdriver_xf86-input-{mouse,synaptics,void}, - xdriver_xf86-video-{chips,dummy,geode,glide,intel,nv,wsfb}, - xlib_lib{ICE,SM,XScrnSaver,Xau,Xcursor,Xdmcp,Xi,Xinerama}, - xlib_lib{Xrandr,Xt,Xtst,Xxf86dga,Xxf86vm,dmx,fontenc,pciaccess}, - xserver_xorg-server, xz - - Removed packages: ace_of_penguins, vlc - - Issues resolved (http://bugs.uclibc.org): - - #3205: Failing chmod when running "make" in buildroot (openssl)... - #3277: quagga fails to build with SNMP support - #3283: See why nfs-utils needs fakeroot, and convert to autotools - #3307: synergy fails to build due to missing XTest library - -2011.02-rc1, Released February 14th, 2011: - - Fixes all over the tree and new features. - - External toolchain improvements: clarification of the options, - and introduction of the toolchain profile concept, for - well-known toolchains. Buildroot is now capable of - automatically downloading and extracting well-known toolchains - (for the moment, CodeSourcery ARM, PowerPC, MIPS and SuperH - toolchains are supported). Crosstool-NG backend updated and - improved. - - Complete rework of how hardware boards are supported. - Each board now only has a single defconfig file, and all - board-specific options have been removed. See - docs/buildroot.html#board_support for details. - - Added support for the following boards: Mini2440, Qemu ARM - Versatile, Qemu MIPSel Malta, Qemu PowerPC G3beige, Qemu SH4 - r2d and Qemu x86. The Qemu boards support allows to easily - build systems that are known to work under Qemu. - - Initial support for Blackfin processors. - - Staging directory moved into $(O)/host/usr//sysroot, in - preparation for support of SDK. For the same reason, the - toolchain binaries (cross-compiler and other related tools) - are now installed in $(O)/host/usr/bin/. The cross pkg-config - now also automatically returns correct values for cross - compilation, without needing any environment variables to be - set. - - Ccache support reworked. Now used for both host and target - compilation, and cache is stored in ~/.buildroot-ccache. - - Toolchain: uClibc 0.9.32-rc2, several components moved to - normal AUTOTARGET packages. - - Generic cmake infrastructure, similar to the existing - GENTARGETS/AUTOTARGETS. - - Support for bzr downloads, next to the existing git/svn support. - - Kconfig infrastructure rebased against 2.6.38-rc3, bringing - misc fixes. 'xconfig' now uses Qt4 rather than Qt3. - - EXT2 file system size handling improved, UBI image support, fs - configuration options cleanup, U-Boot/Barebox version bumps. - - Updated/fixed packages: alsa-utils, at, autoconf, automake, - bash, binutils, bison, busybox, bzip2, cdrkit, cloop, cmake, - coreutils, cups, dbus, dbus-python, dhcp, directfb, - direcfb-examples, dmalloc, dnsmasq, dosfstools, e2fsprogs, ed, - fbset, ffmpeg, findutils, flac, freetype, gdk-pixbuf, gmp, - grep, gperf, gst-ffmpeg, gst-plugins-bad, gst-plugins-base, - gst-plugins-good, gst-plugins-ugly, gstreamer, gvfs, hdparm, - hostapd, i2c-tools, icu, imagemagick, input-tools, iproute2, - iptables, iw, jpeg, kexec, libaio, libart, libcap, libconfig, - libfuse, libglib2, libidn, libmad, libogg, libpcap, libpng, - libsndfile, libtheora, libtool, libusb-compat, libvorbis, - libxcb, libxml2, libxslt, links, linux-fusion, lm-sensors, - lsof, ltp-testsuite, ltrace, lvm2, lzo, m4, makedevs, - memtester, mesa3d, mii-diag, mpc, mpfr, mpg123, mplayer, - mrouted, mtd-utils, nano, netperf, netplug, ntfs-3g, ntp, - openssh, openssl, openvpn, oprofile, pango, patch, pciutils, - php, pkgconfig, portmap, psmisc, python, qt, rsync, ruby, - sawman, screen, sdl_gfx, sdl_sound, smartmontools, socat, - sqlite, squid, sshfs, sstrip, sysklogd, sysstat, sysvinit, - tar, tcpdump, tslib, udev, usbutils, vim, vtun, webkit, wipe, - x11vnc, xapp_xlogo, xcb-proto, xfont_font-util, - xkeyboard-config, xlib_libX11, xz, zlib - - New packages: dhrystone, dsp-tools, faad2, fbgrab, gst-dsp, - gst-omapfb, irda-utils, lame, libao, libcue, libcuefile, - libffi, libhid, libreplaygain, libsamplerate, libsigc++, - lsuio, mpd, musepack, python-mad, python-serial, rsh-redone, - sdparm, tidsp-binaries, vorbis-tools, wavpack, whetstone, - xl2tp, xmlstarlet - - Removed packages: hotplug, l2tp, libfloat, microcom, - ng-spice-rework - - Issues resolved (http://bugs.uclibc.org): - - #267: The make target: cross fails because toolchain_build_... - #415: Berkeley DB: mut_pthread.o: relocation R_X86_64_32 against... - #561: ltp-testsuite failed to install - #1447: Installing gfortran on PowerPC - #1651: Build fail caused by ccache in module-init-tools - #1681: Cross-compiled binaries shouldn't be installed into staging - #1723: [PATCH] axel: convert to generic package infrastructure and... - #1735: [PATCH] mplayer: convert to autotools infrastructure - #2551: [PATCH] native toolchain in the target filesystem fails - #2623: buildroot-snapshot-20100922 fails when compiling development... - #2647: makedevs package lacks support for 16-bit major/minor numbers - #2371: QT MYSQL Module does not build when MySQL installed on the host - #2839: compile fails in various packages with a odd message "error:... - #2887: tar "buffer overflow detected" error - #2893: Broken "make source" with external toolchain - #2905: Qt: Speed up compilation, if gui-module isn't selected - #2929: genext2fs: couldn't allocate a block (no free space) - #2935: Ntpdate isn't installed - #2965: Broken linkage to xkbcomp (blocking X server startup) - #2983: xlib_libX11 build failed - #3007: kexec doesn't build: Missing regdef.h file - #3085: Init scripts are not compatible with sysVinit (when busybox... - #3103: make external-deps wants to download gcc-.tar.bz2 when... - #3109: abnormal `make busybox-menuconfig` - #3115: How about board specific makefiles? - #3169: python patch has typo, aborts build in scenario - #3181: dhcp.mk copies S80dhcp-server to etc/init.d, not etc/init.d/ - -2010.11, Released November 30th, 2010: - - Fixes all over the tree. - - Updated/fixed packages: libgcrypt, qt, squid, sysstat, tcpdump, - xserver-xorg - - Issues resolved (http://bugs.uclibc.org): - - #2773: squid with openssl support needs openssl on the host - #2857: OBJDUMP definition is missing from TARGET_CONFIGURE_OPTS - -2010.11-rc2, Released November 25th, 2010: - - Fixes all over the tree. - - Add support for LEON Sparc architecture variants. Fix make - source/external-deps for host packages. - - Updated/fixed packages: bash, bind, busybox, dialog, gpsd, - libglib2, libcurl, libmad, lrzsz, midori, module-init-tools, - mtd-utils, openssh, openssl, pciutils, php, qt, sqlite, - sysstat, webkit, zlib - - Issues resolved (http://bugs.uclibc.org): - - #759: Sysstat build broken without libintl - #2479: host-module-init-tools 3.11 fails to build - #2725: Buildroot overrides kernel config - #2785: mtd-utils build fails due to missing libmtd - #2791: Added PHP-Process Control to the PHP-Package - #2797: pciutils dependencies on zlib not taken into account - #2809: failed to compile libglib2 - #2821: [PATCH] Patch for JavaScriptCore in QtWebKit module - #2827: qt-4.7.0-pthread_getattr_np.patch invalid for qt 4.6... - #2833: Failed to compile webkit without X11 - -2010.11-rc1, Released November 8th, 2010: - - Fixes all over the tree and new features. - - Kconfig infrastructure rebased against 2.6.36-rc1, bringing - misc fixes + nconfig and savedefconfig targets. - - Toolchain: ARM cortex A9 support, experimental crosstool-ng - backend, GCC 4.5.x. - - Fs: Squashfs 4.1 with lzo support - - Old-style package hooks (*_HOOK_POST_*) removed. Use the more - generic new-style ones instead. - - Download handling reworked and support for git/svn downloads - added. - - Removed experimental shared config.cache support, as it is - too unreliable. - - A convenience Makefile wrapper is created when using - out-of-tree building, similar to how it is done for the kernel. - - Alpha, Cris, IA64 and Sparc64 architecture support removed. - - New packages: argp-standalone, gdk-pixbuf, gpsd, gst-ffmpeg, - libmpeg2, kbd, librsvg, nuttcp, rng-tools, rrdtool, xz - - Updated/fixed packages: acpid, alsa-lib, argus, at, autoconf, - automake, avahi, axel, beecrypt, berkeleydb, bind, bmon, boa, - bootutils, bridge-utils, bsdiff, busybox, cvs, dbus, directfb, - dmraid, docker, dosfstools, dropbear, e2fsprogs, ethtool, - expat, ezxml, fbset, fconfig, ffmpeg, freetype, gadgetfs-test, - gamin, gawk, genext2fs, gperf, gst-plugins-base, - gst-plugins-ugly, gtk2-themes, gtkperf, gvfs, haserl, hdparm, - hostapd, hwdata, ifplugd, imagemagick, iperf, ipsec-tools, - iproute2, iptables, iw, jpeg, kexec, kismet, less, libcgi, - libcurl, libdaemon, libdnet, liberation, libevent, libeXosip2, - libglade, libgtk2, libiconv, libidn, libintl, libmms, libmpd, - libnl, liboil, libosip2, libpcap, libpng, libtool, libungif, - libxml2, libxslt, lighttpd, lite, lm-sensors, lockfile-progs, - logrotate, m4, matchbox, mdadm, mesa3d, metacity, mplayer, - mtd-utils, mysql_client, nano, nbd, ncftp, neon, netperf, - netsnmp, ng-spice-rework, ntfsprogs, ntp, openntpd, openssh, - openssl, openvpn, oprofile, pango, patch, pcre, php, - pkg-config, portmap, pppd, pptp-linux, prboom, proftpd, radvd, - rdesktop, readline, rp-pppoe, ruby, qt, quagga, samba, sawman, - sdl_mixer, sdl_sound, sed, setserial, shared-mime-info, slang, - speex, sqlite, squashfs, startup-notification, strace, - sylpheed, sysstat, taglib, tcpdump, thttpd, tiff, tn5250, - torsmo, tslib, udev, udpcast, usbmount, usbutils, vsftpd, - vtun, which, wireless-tools, wpa_supplicant, xapp_twm, - xapp_xbacklight, xapp_xcursorgen, xapp_xinit, xapp_xinput, - xapp_xmore, - xdriver_xf86-input-{acecad,aiptek,evdev,joystick,keyboard}, - xdriver-xf86-input-{mouse,synaptics,vmmouse,void}, - xdriver-xf86-video-{apm,ark,ast,ati,chips,cirrus,dummy,fbdev}, - xdriver-xf86-video-{geode,glide,glint,i128,i740,intel,mach64}, - xdriver-xf86-video-{mga,neomagic,newport,nv,openchrome,r128}, - xdriver-xf86-video-{rendition,s3,s3virge,savage,siliconmotion}, - xdriver-xf86-video-{sis,sisusb,suncg3,suncg6,suncg14,sunffb}, - xdriver-xf86-video-{sunleo,suntcx,tdfx,tga,trident,v4l,vesa}, - xdriver-xf86-video-{vmware,voodeo,wsfb,xgi,xgixp}, - xkeyboard-config, xlib_libX11, xserver_xorg-server, xstroke, - xterm, xvkbd, zlib - - Deprecated packages: hotplug, lzma, ng-spice-rework, sfdisk - - Removed packages: dillo, libglib12, libgtk12, microwin, - pcmcia - - Issues resolved (http://bugs.uclibc.org): - - #901: new package: gpsd - #2389: Generate a Makefile wrapper in $(O) - #2461: wireless_tools: install shared library if needed - #2521: Can't compile sdl_mixer, mikmod.h can't be found - #2533: xserver_xorg-server: Enable glx, if mesa3d is built - #2563: [PATCH] cairo: Expose the configure option to disable some... - #2581: libmms: Update to 0.6, and patch to work on architectures... - #2707: Can't compile linux kernel using buildroot + crosstool-ng - #2731: Build order - #2737: buildroot configuration tool crashing when the path exceeds... - #2767: Build for lsof broken in buildroot-2010.08 - -2010.08: Released August 31th, 2010: - - Fixes all over the tree. - - Updated/fixed packages: atk, xstroke - - Removed packages: lxdoom - -2010.08-rc2, Released August 30th, 2010: - - Fixes all over the tree. - - Mark the combination of uClibc 0.9.31, gcc 4.2.x, C++ and - locale support as broken. Remove deprecated GCC 4.2.[1-3] - versions. - - Mark CRIS architecture as deprecated, as it is discontinued - upstream. - - Marked shared config.cache as experimental and disabled by - default as it is known to break with certain package - combinations. - - Toolchain: fixed gcc 4.2.x build after uClibc NPTL support got - added. - - fs: old-style squashfs for big endian archs fixed. - - Updated/fixed packages: busybox, gst-plugins-base, - imagemagick, kismet, libgail, libglib2, libgtk2, lua, - luafilesystem, lzo, ncurses, netcat, pango, php, pppd, - proftpd, qt, samba, startup-notification, swfdec, sysvinit, - util-linux - - Removed packages: stunnel - - Issues resolved (http://bugs.uclibc.org): - - #635: util-linux fails to build in 2009.08 - #2239: netcat package installs its binary to target as avr32-linux... - #2395: libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because... - #2443: Initramfs: Don't overwrite $(TARGET_DIR)/init if it exists - #2449: Minor fixes for squashfs makefile and correct PowerPC e500 ... - -2010.08-rc1, Released July 30th, 2010: - - Fixes all over the tree and new features. - - Toolchain: GCC 4.3.5, older 4.3.x versions removed. GCC 4.1.2 - and non-sysroot support removed. Added support for (snapshot) - NPTL in uClibc, 0.9.28.3 removed, - - Bootloaders: Various cleanups, moved to boot/, added Barebox, - removed yaboot. Support building u-boot from custom tarball, - u-boot 2010.06. - - New GTK-based configurator, usable using 'make gconfig'. - - Java packages marked as broken. Unless someone steps up to - support this, they will be removed during the 2010.11 - development cycle. - - Alpha, IA64 and Sparc64 architectures marked as deprecated. - GTK+ on DirectFB has also been marked as deprecated, as it is - not supported in recent GTK+ versions, and more and more - packages depends on the new versions. - Unless someone steps up to support them, they will be removed - during the 2010.11 development cycle. - - New packages: cgilua, copas, coxpcall, ffmpeg, libsvgtiny, - libgail, luafilesystem, luasocket, rings, wsapi, xavante, xterm - - Updated/fixed packages: alsa-lib, alsamixergui, at, atk, - avahi, berkeleydb, bash, blackbox, busybox, bzip2, cairo, - cdrkit, cmake, dash, dhcp, dialog, diffutils, distcc, dmalloc, - dnsmasq, dropbear, e2fsprogs, fbv, file, flex, fontconfig, - gawk, gmpc, gnuchess, gst-plugins-base, gst-plugins-good, - gstreamer, gzip, icu, intltool, iostat, ipsec-tools, iptables, - iw, libart, libcgi, libcurl, libdrm, libeXosip, libfuse, - libglib2, libgpg-error, libiconv, libidn, liblockfile, libpng, - libsoup, lighttpd, links, linux-fusion, lmbench, lrzsz, - ltrace, make, midori, module-init-tools, mplayer, - mysql_client, nbd, ncurses, neon, netcat, netperf, netsnmp, - ntfsprogs, openssl, oprofile, pango, php, qt, quagga, samba, - setserial, sdl, sdl_mixer, sdl_sound, sdl_ttf, speech-tools, - sqlite, squashfs, swfdec, tftpd, thttpd, tn5250, tremor, - usbutils, webif, webkit, wireless_tools, xerces, - xkeyboard-config, xserver_xorg-server, xvkbd, zlib - - Removed packages: modutils, portage, rxvt - - Deprecated packages: dillo, libglib12, libgtk12, microwin, pcmcia - - Issues resolved (http://bugs.uclibc.org): - - #321: alsa-lib uses host include files for python which breaks ... - #361: linux kernel configuration choice works incorrectly - #387: Tremor not installed to toolchain - #401: new package: ffmpeg - #475: uImage target for U-boot failed generating - #543: ATK requires X11 on DirectFB target - #575: webkit: Buildroot Libtool Patch Fails - #583: build fails with external x86_64 toolchain - #729: sstrip creates corrupted headers - #829: Webkit r44552 needs libXt - #835: Package Dataflashboot-1.05 does not compile with buildroot... - #847: Compiling target-gcc v4.4 fails with "libc.so.0: cannot open... - #859: Add (head of) nptl branch to list of uClibc versions - #949: compile with debug info - #955: Grub fails to build with External Toolchain - #1051: Webkit doesn't compile (Linuxthreads new, x86) - #1213: Move .config into output directory - #1225: Buildroot fails to account for "nof" subdirectory (no float... - #1231: (sparc) Linux kernel fails to build - #1261: The getline() in output/build/linux-2.6.28/scripts/unifdef.c... - #1339: Busybox needs -fno-strict-aliasing to compile cleanly - #1393: neon config fails libxml/parser.h: libxml2 requires, but not ... - #1405: WebKit fails to build because pthread_getattr_np is not impl... - #1675: GMP Error during buildroot make process - #1741: external toolchain linking error - #1753: lmbench: convert to generic package infrastructure - #1771: Fakeroot and the target/generic/device_table.txt create bad... - #1807: LZMA 4.32.7, Required header file(s) are missing - #1813: xkeyboard-config fails to build because of intltool problem - #1879: Bump iptables to 1.4.8 - #1885: Add a bunch of lua modules - #1897: Bump libusb to 1.0.7 - #1903: Bump tn5250 to 0.17.4 and migrate to autotargets - #1909: netperf-2.4.5 fails to build because of undeclared SOCK_DCCP - #1927: Bump file to 5.03 and migrate to autotargets - #1933: Bump gawk to 3.1.8 and migrate to autotargets - #1945: PHP: add sqlite3 dependency when using external lib - #1951: Bump openssl to 0.9.8o - #1957: Bump sqlite to 3.6.23.1 - #1975: Package removal/deprecation - #1981: zlib: bump to 1.2.5 - #1987: intltool: Fix spelling mistake - #1993: Bump bash to 4.1.7(1) and migrate to autotargets - #1999: Typo in path checking - #2005: Bump dnsmasq to 2.55 and migrate to gentargets - #2035: ipsec-tools-0.7.2 fails to build with gcc-4.4.x - #2038: Bump ncurses to 5.7 - #2095: make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' - #2101: blackbox depends on locale support - #2119: Tries to build kernel, although disabled in config - #2125: libXfont build fail - #2143: buildroot compiler generates segfaulting statically linked exe.. - #2149: xterm build failure - #2155: Compression lzo don't set for ubifs - #2161: [SECURITY] Update libpng to 1.2.44 - #2167: Bump busybox to 1.17.0, convert to gentargets, drop 1.12, ... - #2181: pixman can't apply pixman-0.10.0-no-tests.patch - #2191: linux-fusion build fail - #2221: Qt does not compile (dependencies not taken into account?) - #2233: Atmel atstk target skeletons have /etc/mtab as a file, not ... - #2245: Netcat does not work due to incorrect assumptions about signed.. - #2251: directory output/build after make *_defconfig not found - #2257: Convert netsnmp package to autotargets - #2263: Bump samba to 3.3.13 - #2269: setserial causes make error - -2010.05, Released May 30th, 2010: - - Fixes all over the tree. - - Updated/fixed packages: coreutils, hal, libcap, - lockfile-progs, ncftp, xserver_xorg-server - - Issues resolved (http://bugs.uclibc.org): - - #1789: binutils fails to build for i386 - #1843: Fix libcap build failure - #1855: XORG Keyboard driver fails to compile - -2010.05-rc3, Released May 27th, 2010: - - Fixes all over the tree. - - Updated/fixed packages: aumix, atk, avahi, bmon, busybox, cairo, - cdrkit, dbus-glib, dbus-python, docker, enchant, fltk, gamin, - gettext, gmpc, gob2, grep, gstreamer, gst-plugins-bad, - gst-plugins-base, gvfs, hal, iconv, icu, iperf, libcgicc, - libdvdnav, libdvdread, libglade, libglib2, libgtk2, libidn, - libmms, libmpd, libpcap, libsoup, lmbench, lsof, ltrace, lvm2, - make, metacity, microperl, mtd-utils, mutt, nbd, netsnmp, - ntfsprogs, ntp, olsr, pango, pciutils, pcmanfm, php, - pkg-config, psmisc, qt, samba, shared-mime-info, squashfs, - squashfs3, sshfs, startup-notification, swfdec, sylpheed, - uemacs, util-linux, valgrind, vpnc, vsftpd, webkit, xstroke - - Issues resolved (http://bugs.uclibc.org): - - #75: arm buildroot "unrecognized option" error - #699: Buildroot fails to copy libstdc++ to target when using external... - #1693: NTP trys IPV6 even if not configured error: 'IPV6_MULTICAST... - #1729: alsamixergui fails to build - #1801: Avahi-autoipd doesn't create TARGET_DIR/var/lib - #1819: pciutils small bugs - #2065: Internal toolchain: bump gcc 4.3.x series to 4.3.5 - -2010.05-rc2, Released May 11th, 2010: - - Fixes all over the tree. - - Updated/fixed packages: busybox, customize, gawk, gnuchess, - hal, hostapd, less, libgcrypt, libnl, libxcb, linux-fusion, - ltp-testsuite, mplayer, netplug, pciutils, php, sed, - shared-mime-info usb_modeswitch, usbutils, vlc wpa_supplicant, - xapp_bdftopcf, xapp_mkfontdir, xdriver_xf86-video-openchrome, - xfont_encodings, xlib_libX11, xlib_libXfont, xlib_xtrans, - xproto_fontcacheproto, xproto_fontsproto, xvkbd - - Removed packages: vice - - Issues resolved (http://bugs.uclibc.org): - - #849: "customize" package copies files to wrong place in target tree - #985: Bump usb_modeswitch package to 1.1.0 - #1135: Package customize. Wrong copying - #1525: Package hal deletes a whole /etc/rc.d directory - #1531: libxcb 1.5 build fails, due to missing xcbgen Python module - #1669: Busybox failed to compile when using an external toolchain - #1699: Fix usbutils dependencies and bump - #1705: Fix pciutils broken cross compiling - #1717: External toolchain fixes for hostapd & wpa_supplicant - -2010.05-rc1, Released May 3rd, 2010: - - Cleaned up / restructured package menu. - - Toolchain: uClibc 0.9.30.3 / 0.9.31, older 0.9.30.x removed. - 2.6.33 kernel headers, binutils 2.20.1, GCC 4.4.4, - removed broken nios2 support, ppc e300cX/e500mc support, - improved external toolchain support, GDB 7.x support. - - X.org updated to 7.5. - - New packages: cdrkit, cramfs, genext2fs, genromfs, - libatomic_ops, librsync, libusb-compat, lmbench, netperf, - squashfs, squashfs3, squid - - Updated/fixed packages: alsa-utils, argus, autoconf, bison, - busybox, bzip2, directfb, dnsmasq, dosfstools, e2fsprogs, - eeprog, fakeroot, fbv, findutils, freetype, haserl, hostapd, - iperf, iptables, iw, less, libaio, libcgi, libcgicc, libdrm, - libgcrypt, libglib2, libid3tag, libmad, liboil, libosip2, - libpng, libraw1394, libsysfs, libxml2, libxslt, linux-fusion, - ltrace, lua, lzma, madplay, makedevs, matchbox, mdadm, - memstat, mesa3d, mtd-utils, nano, ncurses, openssl, patch, - pciutils, php, pixman, portage, pppd, pthread-stubs, python, - qt, radvd, samba, setserial, smartmontools, tar, tslib, - udpcast, usb_modeswith, vtun, wget, xdata_xcursor-themes, - xdriver_xf86-video-intel, xkeyboard-config, xlib_libX11, - xlib_libXaw, xlib_libXfont, xlib_libXfontcache, - xlib_libXxf86misc, xlib_libXtst, xlib_libpciaccess, - xproto_dri2proto, xproto_eviext, xproto_fontcacheproto, - xproto_xf86miscproto, xserver_xorg-server - - Removed packages: xapp_xtrap, xlib_libXTrap, xlib_libXevie, - xlib_libXxf86misc, xxproto_evieext, proto_trapproto, - xproto_xf86miscproto - - Issues resolved (http://bugs.uclibc.org): - - #513: Add new squid package - #661: lmbench: new package - #719: Add lua option to haserl - #800: [PATCH] iperf update to 2.0.4 - #803: [PATCH] lua - add shared library patch and config option for... - #805: [PATCH] mdadm - version update - #817: integrator926_defconfig uses unsupported uboot board name - #851: Add option to specify --sysroot value for external toolchain - #1093: Upgrade libusb to v1.0.3 and add new libusb-compat - package for compatibility with old packages that expect - the pre-1.0 API. - #1105: Add new netperf package - #1111: Bump wget to 1.12 and migrate to Makefile.autotools.in - #1117: Bump nano to 2.2.3 and migrate to Makefile.autotools.in - #1123: Bump less to 436 and migrate to Makefile.autotools.in - #1129: Bump memstat to 0.8 and migrate to Makefile.package.in - #1189: Wrong u-boot configuration name for integrator926 target - #1219: kernel headers not correctly installed into toolchain/staging - #1267: Wrong BR2_EXTRA_VERSION - #1273: BR2_INET_IPV6 does not enable IPv6 in pppd - #1303: Add librsync package - #1321: Busybox link fails due to lack of --sysroot option - #1327: mtd-utils compile failure due to lack of --sysroot in CFLAGS - #1345: Bump pppd to 2.4.5 and convert to Makefile.autotools.in - #1369: cannot build radvd (flex problem) - #1387: xlib_libX11-1.3.2 can't find libjpeg - #1411: [SECURITY] Update openssl package to 0.9.8n - #1417: Bump iptables to 1.4.7 - #1423: Bump e2fsprogs to 1.41.11 - #1429: [SECURITY] Update php to 5.2.13 - #1441: Add binutils 2.20.1 - #1447: Package installation on target with debug symbols is broken - #1459: Misc QA fixes - #1489: radvd update to 1.6 - #1513: Enable powerpc e300c2, e300c3 and e500mc optimization - #1537: dev entries not created anymore - #1555: Fix default uclibc-0.9.31 configuration - #1561: [SECURITY] Update samba to 3.3.12 - #1567: openssl0.9.8n fails to compile - #1573: Alsa-utils alsactl/init/* not installed to target - #1591: portmap fails to compile - #1615: Convert eeprog package to gentargets - #1645: Bump hostapd package to 0.7.2 - -2010.02, Release February 26th, 2010: - - Fixes all over the tree. - - Updated/fixed packages: avahi, busybox, cramfs, ipsec-tools, libcgicc, - libgtk2, libraw1394, madplay, netsnmp, pango, squashfs, sylpheed, qt, - xfont_font-util - - Removed packages: hostap, openmotif, xpdf - - Issues resolved (http://bugs.uclibc.org): - - #165: openmotif does not build - #1147: Remove obsolete hostap package - #1183: make source fails to download gmp, mpfr and patches - -2010.02-rc2, Released February 23th, 2010: - - Fixes all over the tree and new features. - - New packages: intltool - - Updated/fixed packages: ace_of_penguins, alsa-lib, alsa-utils, argus, - at, automake, ccache, dosfstools, e2fsprogs, flex, gob2, gmpc, - gst-plugins-good, imagemagick, iw, kexec, libeXosip, libgtk2, - libpcap, libpng, libsoup, libxcb, libxml-parser-perl, libxml2, - libxslt, lvm2, matchbox, mplayer, rsync, rubix, shared-mime-info, - tcl, webkit, xapp_mkfontscale, xfont_encodings, xfont_font-util, - xlib_libfontenc, xproto_trapproto, zlib - - Removed package: xboard - - Issues resolved (http://bugs.uclibc.org): - - #335: atk looks for the path to the gnome library on the host - #355: Please update WebKit - it doesn't compile! - #453: libglib2 autoreconf - #457: e2fsprogs link problem - #459: libgtk2 autoreconf - #469: build of libgtk2 for host incorrectly assumes that X.org ... - #671: Bash fails to build when building buildront on Ubuntu 9.04 - #711: WebKit host dependencies problems - #821: cp: illegal operation - #1039: Not compiled on ubuntu karmic - #1069: [PATCH] The AT91BOOTSTRAP makefile contains a typo - -2010.02-rc1, Released February 9th, 2010: - - Fixes all over the tree and new features. - - Generalized autotools infrastructure to be usable for - non-autotools packages, see package/Makefile.package.in for - details. - - Cleaned up avr32 toolchain config, external source-based - toolchain support is gone. - - Dependency checks: Also check for makeinfo, only print output - on errors. - - Toolchain: uClibc 0.9.30.2, gcc 4.4.3 - - New packages: libcdaudio, libdvdnav, libdvdread, hostapd, ser2net, - tcpreplay - - Updated/fixed packages: alsa-lib, alsa-utils, at, autoconf, bash, - bind, binutils, bootutils, busybox, dbus, directfb, dnsmasq, - e2fsprogs, gstreamer, gperf, gst-plugins-bad, gvfs, fbdump, flex, - hal, iptables, iw, jpeg, kismet, libfuse, libglib2, liboil, libpcap, - libungif, libxml2, libxslt, lighttpd, mesa, mpg123, mtd-utils, nbd, - neon, netstat-nat, newt, openvpn, pcre, php, qt, rdesktop, readline, - rpm, sawman, sdl, sdl_ttf, sqlite, sshfs, tremor, u-boot, - usb_modeswitch, usbutils, webkit, wpa_supplicant, xfsprogs, zlib - - Removed package: asterisk, openswan - - Issues resolved (http://bugs.uclibc.org): - - #515: tcpreplay: new package - #553: Wrong DirectFB ps2mouse limitation - #559: mesa3d build fails - #679: Autoconf cannot find M4 - #739: New/updated hostapd package - #749: Bump usbutils package to version 0.86 - #751: Kernel 2.6 snapshot fetch fail - #753: Bump lighttpd package to 1.4.25 - #757: U-Boot: mkimage cannot be installed using external toolchain - #761: Add binutils 2.20 to toolchain options - #763: [SECURITY] Update pcre to 7.9 - #765: Add buildroot branding to gcc - #767: Bump iw package to 0.9.18 - #773: [SECURITY] Update bind to 9.5.2-P1 - #795: Minor edits to fix typos, grammar, spelling, usage in documen... - #813: Drop not very useful generic package selection options ... - #823: Editor backup files (~) is copied from the target_skeleton - #827: Bump mtd-utils package to version 1.2.0 - #841: Build error - #913: Bump iptables to 1.4.6 - #919: Bump usb_modeswitch package to 1.0.7 - #925: Bump wpa_supplicant package to 0.6.10 - #931: Bump kismet package to 2010-01-R1 - #937: Bump openvpn package to 2.1.1 - #943: Bump sqlite package to 3.6.22 - #961: Bump dnsmasq to 2.52 - #967: Bump netstat-nat to 1.4.10 - #973: Bump iw to 0.9.19 - #1003: DHCP options disabled with busybox-1.16.0 - #1009: [SECURITY] Bump php to 5.2.12 - #1015: [SECURITY] Bump bind to 9.5.1-P2 - #1027: Busybox flash commands conflict with those from mtd-utils - #1063: [SECURITY] Update lighttpd to 1.4.26 - -2009.11, Released December 1st, 2009: - - Additional fixes and cleanups. - - Updated/fixed packages: alsamixergui, autoconf, coreutils, fltk, - microperl, ncurses, vim - - Issues resolved (http://bugs.uclibc.org): - - #707: Cant configure fltk-1.1.7. configure: error: Configure could ... - -2009.11-rc2, Released November 29th, 2009: - - Additional fixes and cleanups. - - Updated/fixed packages: busybox, dbus, fltk, gvfs, ltrace - -2009.11-rc1, Released November 23rd, 2009: - - Fixes all over the tree and new features. - - Cleaned up / Simplified build directory layout. Refer to - docs/buildroot.html#using for details. - - Target defconfig files moved to configs/ and listed in 'make help' - output. - - Fixed *clean targets. Now clean removes everything generated, - so you can do a fresh rebuild. Distclean furthermore removes - kbuild tools and .config, bringing the source tree back in a - pristine state. - - Toolchain: ARM cortex A8 support, GCC 4.4.2, sensible default - soft / hardfloat setting for architecture, ensure target-ldd - gets installed. - - New packages: divine, gvfs, libarchive, libmicrohttpd, - sdl_sound, swfdec, sysstat - - Updated/fixed packages: alsa-lib, alsamixergui, autoconf, bootutils, - busybox, gcc, directfb, dnsmasq, e2fsprogs, festival, gamin, gperf, - gqview, gstreamer, gst-plugins-bad, gst-plugins-base, gst-plugins-good, - imagemagick, ipkg, iptables, iw, kernel-headers, kismet, leafpad, - libelf, libevent, libglib2, libidn, liblockfile, libmad, libpcap, - libupnp, libuuid, libxml2, lighttpd, ltrace, lua, lzma, magiccube4d, - matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp, - ng-spice-rework, ntfs-3g, openntp, openssl, pcmanfm, php, psmisc, - python, quagga, radvd, rpm, rsync, rubix, samba, sawman, sdl, sdl_image, - shared-mime-info, sfdisk, spawn-fcgi, speech-tools, sqlite, squashfs, - synergy, syslinux, sysklogd, target-binutils, tcpdump, torsmo, u-boot, - udpcast, util-linux, valgrind, vsftpd, wipe, wpa-supplicant, x11vnc, - xdata_xcursor-themes, xboard, xfsprogs, xstroke, zlib[5~ - - Removed package: mdnsresponder, mpatrol, gcc 3.4.6 + 4.0.4, vice - - Issues resolved (http://bugs.uclibc.org): - - #301: allow to install libsmbclient - #303: add gvfs package - #477: Add sdl_sound package - #487: Make kismet package sexier - #511: New package usb_modeswitch - #527: misc fixes for dnsmasq package - #565: libevent: Bump version and clean up makefile - #587: Use iptables multipurpose binaries and bump to 1.4.4 - #593: Missing early check for patch(1) - #597: (REOP) Selecting busybox in buildroot's config clobbers ar ... - #609: libmicrohttpd: New package - #615: python: Don't delete .py files unless asked - #617: netkit/inetd requires RPC and fails to build if RPC is disabled - #619: netkittelnet requires netkitbase to install, but there's no ... - #645: allow to build nbd-server with NBD package - #653: [SECURITY] Update php package to version 5.2.11 - #655: Update sqlite package to version 3.6.18 - #657: Bug in imagemagick-clean target - #663: Add option for NAND flash with 512B Page and 16 kB erasesize ... - #665: [PATCH] Samba package - #667: [PATCH] e2fsprogs - #683: SDL-dfb does not select directfb - #701: make install problem with unstripped binaries - #703: [SECURITY] Update openssl package to 0.9.8l - #705: Bump spawn-fcgi package to 1.6.3 - #709: Bump lighttpd package to 1.4.24 - #713: Migrate openntpd package to Makefile.autotools.in - #715: Bump libidn package to 1.15 and other fixes - #717: Bump dnsmasq to 2.51 and introduce new IDN option - #731: Bump iw package to 0.9.17 - -2009.08, Released August 31th, 2009: - - Additional fixes and cleanups. - - Updated/fixed packages: ctorrent, saveconfig/getconfig, - sdl_net, util-linux. - - Issues resolved (http://bugs.uclibc.org): - - #529: util-linux doesn't find headers and include libs correctly - #557: Build ctorrent with SSL support if available - -2009.08-rc3, Released August 26th, 2009: - - Additional fixes and cleanups. - - Updated/fixed packages: alsa-utils, berkeleydb, busybox, dbus, - directfb, enchant, kernel headers. - - Issues resolved (http://bugs.uclibc.org): - - #471: Allow directfb compilation with debug - #541: Removal of CVS directories in target filesystem broken - #547: berkeleydb: Update config.{sub, guess} - #549: enchant: Fix dependencies. - #569: Fix alsa-utils build for x86 on x86-64 - -2009.08-rc2, Released August 6th, 2009: - - Additional fixes and new features. - - New packages: libuuid, gcc 4.3.4. - - Updated/fixed packages: busybox, classpath, gzip, ipsec-tools, - jamvm, libusb, microperl, neon, popt, sed, webkit. - - Fixed issue with 'make oldconfig' - - Issues resolved (http://bugs.uclibc.org): - - #525: sed broken with external toolchain - #537: Fix gzip build with recent glibc - -2009.08-rc1, Released August 2nd, 2009: - - Fixes all over the tree and new features. - - Improvement of external toolchain support: - - Support for glibc toolchains. - - The toolchain configuration announced to Buildroot is - verified against the real toolchain configuration. - - Fixes, documentation. - - Cleanup X.org support: clarified configuration options, and - removed mandatory dependency on useless libraries such as - libXt or libXaw. - - New QT-based configurator, usable using 'make xconfig'. - - Support for the Xtensa architecture. - - Toolchain: GCC 4.4.1, 2.6.30 kernel headers, removed < 2.6.26 - headers. - - New packages: bmon, ctorrent, dosfstools, enchant, - gst-plugins-bad, iw, libmms, libnl, netstat-nat, ntfsprogs, - sdl_gfx, spawn-fcgi. - - Updated packages: bind, busybox, coreutils, sqlite, directfb, - expat, gamin, gnuconfig, haserl, ipsec-tools, classpath, - libcurl, libglib2, liblockfile, libpng, libsoup, libxml2, - lighttpd, ltp-testsuite, lvm2, matchbox, memstat, - gst-plugins-good, gstreamer, libogg, libvorbis, mplayer, - neon, openssl, pciutils, php, qt, ruby, sawman, webkit, - wpa-supplicant, xdriver_xf86-input-synaptics, - xdriver_xf86-video-intel, xlib_libXfont, xlib_libXft, - xlib_libXt, xproto_xproto, xserver-xorg, xutil_makedepend, - xutil_util-macros. - - Issues resolved (http://bugs.uclibc.org): - - #83: liblockfile fails to compile due to eaccess redefinition - #163: Xtensa architecture port - #171: xorg-server / kernel headers 2.6.26 - vm86.c compilation issue - #241: device mapper + lvm2: build together - #243: ctorrent: new package - #247: ntfsprogs: new package - #271: Library 'libgcc_s.so.1' not installed in search path - #287: New package libnl - #289: New package iw - #331: Update MPlayer to version 1.0rc2 - #333: Bump sqlite package to 3.6.15 - #349: update libsoup to version 2.26.2 - #357: New package netstat-nat - #359,#413: Upgrade openvpn to Makefile.autotools.in - #367: linux kernel compile error for arm926t - #369: Add SDL_gfx package - #373: Support for building gstreamer without libxml - #379: update DirectFB to version 1.4.0 - #383: gst-plugins-good: Allow soup plugin to be configured - #385: neon: Fix pkgconfig dependency - #387: Tremor not installed to toolchain - #389: New package bmon - #391: gstreamer: Bump version to 0.10.23 - #393: gst-plugins-base: Bump version to 0.10.23 - #395: gst-plugins-bad: New package - #403: Error while building iso9660 image - #409: Bump php package to 5.2.10 - #411: ipsec-tools: Bump version to 0.7.2 - #417: New package spawn-fcgi - #419: Bump lighttpd package to 1.4.23 - #421: toolchain: Clean up toolchain locale support menu - #427: webkit: Update to WebKit svn r44552 - #437: ltp-testsuite: Bump version to 20090630 - #451: Upgrade from unmaintained dosfstools-2.11 to dosfstools-3.0.3 - #467: DirectFB 1.4.1 - #473: memstat_0.5.tar.gz has install with -D and that fails "make" - #491: libxml2: Bump version to 0.7.3 - #495: Bump bind package to 9.5.1-P3 (security) - #497: OpenSSL RSA key generation hangs on x86_64 - #509: Bump sqlite package to 3.6.16 - #523: pciutils broken with external toolchain - #533: Update gamin to 0.1.10 to fix compilation - -2009.05, Released June 1st, 2009: - - Fixes for dropbear & diffutils, bump linux-advanced 2.6.29.x - version and marked ubifsroot as broken. - -2009.05-rc3, Released May 27th, 2009: - - Fixes for toolchain (gcc arm pr37436), stable kernel versions, - busybox, curl, libusb, readline, python and strace. - - Issues resolved (http://bugs.uclibc.org): - - #345: libcurl package needs a urandom fix - -2009.05-rc2, Released May 19th, 2009: - - Fixes for toolchain (gcc w/softfloat on ppc, 3.4.6 buildfix - for newer hosts), stable kernel versions, busybox, cups, - dmraid, docker, mesa3d, rsync and updated defconfigs. - - xserver marked as broken on AVR32 and atngw100-expanded - config removed. - - Issues resolved (http://bugs.uclibc.org): - - #167: metacity does not build - #295: gamin installs python support even if python is disabled - #323: gen_matypes fails to execute during build of Mesa when us... - -2009.05-rc1, Released May 5th, 2009: - - Fixes all over the tree, further conversion of packages to - Makefile.autotools.in and we now build host versions of - packages where needed for build time dependencies instead of - relying on the correct versions being available on the build - host. Ancient toolchain / busybox versions have furthermore - been removed as announced in the 2009.02 release notes. - - New packages: flac, gob2, lzop, taglib, wpa_supplicant - - Updated packages: avahi, bind, binutils, busybox, dbus, dbus-glib, - directfb, dnsmasq, freetype, gcc, gmp, gstreamer, iptables, kernel - headers, kexec, libglib2, libpng, libsndfile, lua, mpfr, ntfs-3g, - openssl, php, qtopia4, rsync, samba, sqlite, tar, uboot, uclibc, - util-linux, xorg7, xerces - - Issues resolved (http://bugs.uclibc.org): - - #5,#77,#141,#143: Convert php package to Makefile.autotools.in - and a ton of other improvements - #19: page.h missing by util-linux - #37: update libglib2 to version 2.18.4 - #61: tslib puts staging_dir into pkgconfig file - #69: tar refuses to build - #71,#175: ./wchar.h:41:12: error: empty filename in #include - #73: Bump openssl package to the latest version - #81: New package wpa_supplicant - #99: new package: flac - #101: update gstreamer packages - #105,#313: menuconfig segfaults on tinyx if wchar is not - selected - #107: convert libvorbis to Makefile.autotools.in - #109: Make pppd package avoid bsd err - #111: binutils 2.17 fails to build when texinfo >= 4.10 - #133: Modify ncurses5-config to get correct include path - #137: Bump php to version 5.2.9 - #139: Bump sqlite to 3.6.11 and convert to - Makefile.autotools.in - #145: Bump bind package to 9.5.1-P1 (security) - #147: buildroot toolchain fails to build w/binutils-2.19.1 - #151: openssl package trivial fixes - #161: vim fails on patching with errors in configure.patch - #169: blackbox-0.70.1 does not build - #177: xdriver_xf86-input-keyboard does not build - #179: Upgrade dropbear to Makefile.autotools.in - #181: Update to Xorg 7.4 - #187: ntfs-3g: could not build cross - #191: alsa-lib ARM binaries always built with EABI - #213: Bump wpa_supplicant package to version 0.6.9 - #217: Bump openssl package to 0.9.8k (security) - #219: Toolchain build fails on m4 - #225: m4 macros are out of place - #233: make ipv6 optional in iptables - #237: ncftp: convert to Makefile.autotools.in - #239: ntfs-3g: convert to Makefile.autotools.in - #245: lzop: new package - #271: Bump bind package to 9.5.1-P2 (security) - #277: Bump sqlite package to 3.6.16 - #279: update libglib2 to version 2.20.1 - #281: update DirectFB to version 1.2.8 - #283: add taglib - #285: compilation of samba fails if IPV6 support is missing - #293: update samba to version 3.3.3 - #299: add shared-mime-info package - #307: make openssl package respect build flags diff --git a/buildroot-2021.05/Config.in b/buildroot-2021.05/Config.in deleted file mode 100644 index d9be677c..00000000 --- a/buildroot-2021.05/Config.in +++ /dev/null @@ -1,899 +0,0 @@ -# - -mainmenu "Buildroot $BR2_VERSION Configuration" - -config BR2_HAVE_DOT_CONFIG - bool - default y - -config BR2_VERSION - string - option env="BR2_VERSION_FULL" - -config BR2_HOSTARCH - string - option env="HOSTARCH" - -config BR2_BASE_DIR - string - option env="BASE_DIR" - -# br2-external paths definitions -source "$BR2_BASE_DIR/.br2-external.in.paths" - -# Hidden config symbols for packages to check system gcc version -config BR2_HOST_GCC_VERSION - string - option env="HOST_GCC_VERSION" - -config BR2_HOST_GCC_AT_LEAST_4_9 - bool - default y if BR2_HOST_GCC_VERSION = "4 9" - -config BR2_HOST_GCC_AT_LEAST_5 - bool - default y if BR2_HOST_GCC_VERSION = "5" - select BR2_HOST_GCC_AT_LEAST_4_9 - -config BR2_HOST_GCC_AT_LEAST_6 - bool - default y if BR2_HOST_GCC_VERSION = "6" - select BR2_HOST_GCC_AT_LEAST_5 - -config BR2_HOST_GCC_AT_LEAST_7 - bool - default y if BR2_HOST_GCC_VERSION = "7" - select BR2_HOST_GCC_AT_LEAST_6 - -config BR2_HOST_GCC_AT_LEAST_8 - bool - default y if BR2_HOST_GCC_VERSION = "8" - select BR2_HOST_GCC_AT_LEAST_7 - -config BR2_HOST_GCC_AT_LEAST_9 - bool - default y if BR2_HOST_GCC_VERSION = "9" - select BR2_HOST_GCC_AT_LEAST_8 - -# When adding new entries above, be sure to update -# the HOSTCC_MAX_VERSION variable in the Makefile. - -# Hidden boolean selected by packages in need of Java in order to build -# (example: kodi) -config BR2_NEEDS_HOST_JAVA - bool - -# Hidden boolean selected by pre-built packages for x86, when they -# need to run on x86-64 machines (example: pre-built external -# toolchains, binary tools like SAM-BA, etc.). -config BR2_HOSTARCH_NEEDS_IA32_LIBS - bool - -# Hidden boolean selected by packages that need to build 32 bits -# binaries with the host compiler, even on 64 bits build machines (e.g -# bootloaders). -config BR2_HOSTARCH_NEEDS_IA32_COMPILER - bool - -# Hidden boolean selected by packages that need the host to have an -# UTF8 locale. -config BR2_NEEDS_HOST_UTF8_LOCALE - bool - -# Hidden boolean selected by packages that need the host to have -# support for building gcc plugins -config BR2_NEEDS_HOST_GCC_PLUGIN_SUPPORT - bool - -source "arch/Config.in" - -menu "Build options" - -menu "Commands" - -config BR2_WGET - string "Wget command" - default "wget --passive-ftp -nd -t 3" - -config BR2_SVN - string "Subversion (svn) command" - default "svn --non-interactive" - -config BR2_BZR - string "Bazaar (bzr) command" - default "bzr" - -config BR2_GIT - string "Git command" - default "git" - -config BR2_CVS - string "CVS command" - default "cvs" - -config BR2_LOCALFILES - string "Local files retrieval command" - default "cp" - -config BR2_SCP - string "Secure copy (scp) command" - default "scp" - -config BR2_HG - string "Mercurial (hg) command" - default "hg" - -config BR2_ZCAT - string "zcat command" - default "gzip -d -c" - help - Command to be used to extract a gzip'ed file to stdout. zcat - is identical to gunzip -c except that the former may not be - available on your system. - Default is "gzip -d -c" - Other possible values include "gunzip -c" or "zcat". - -config BR2_BZCAT - string "bzcat command" - default "bzcat" - help - Command to be used to extract a bzip2'ed file to stdout. - bzcat is identical to bunzip2 -c except that the former may - not be available on your system. - Default is "bzcat" - Other possible values include "bunzip2 -c" or "bzip2 -d -c". - -config BR2_XZCAT - string "xzcat command" - default "xzcat" - help - Command to be used to extract a xz'ed file to stdout. - Default is "xzcat" - -config BR2_LZCAT - string "lzcat command" - default "lzip -d -c" - help - Command to be used to extract a lzip'ed file to stdout. - Default is "lzip -d -c" - -config BR2_TAR_OPTIONS - string "Tar options" - default "" - help - Options to pass to tar when extracting the sources. - E.g. " -v --exclude='*.svn*'" to exclude all .svn internal - files and to be verbose. - -endmenu - -config BR2_DEFCONFIG_FROM_ENV - string - option env="BR2_DEFCONFIG" - -config BR2_DEFCONFIG - string "Location to save buildroot config" - default BR2_DEFCONFIG_FROM_ENV if BR2_DEFCONFIG_FROM_ENV != "" - default "$(CONFIG_DIR)/defconfig" - help - When running 'make savedefconfig', the defconfig file will be - saved in this location. - -config BR2_DL_DIR - string "Download dir" - default "$(TOPDIR)/dl" - help - Directory to store all the source files that we need to fetch. - If the Linux shell environment has defined the BR2_DL_DIR - environment variable, then this overrides this configuration - item. - The directory is organized with a subdirectory for each - package. Each package has its own $(LIBFOO_DL_DIR) variable - that can be used to find the correct path. - - The default is $(TOPDIR)/dl - -config BR2_HOST_DIR - string "Host dir" - default "$(BASE_DIR)/host" - help - Directory to store all the binary files that are built for the - host. This includes the cross compilation toolchain when - building the internal buildroot toolchain. - - The default is $(BASE_DIR)/host - -menu "Mirrors and Download locations" - -config BR2_PRIMARY_SITE - string "Primary download site" - default "" - help - Primary site to download from. If this option is set then - buildroot will try to download package source first from this - site and try the default if the file is not found. - Valid URIs are: - - URIs recognized by $(WGET) - - local URIs of the form file://absolutepath - - scp URIs of the form scp://[user@]host:path. - -config BR2_PRIMARY_SITE_ONLY - bool "Only allow downloads from primary download site" - depends on BR2_PRIMARY_SITE != "" - help - If this option is enabled, downloads will only be attempted - from the primary download site. Other locations, like the - package's official download location or the backup download - site, will not be considered. Therefore, if the package is not - present on the primary site, the download fails. - - This is useful for project developers who want to ensure that - the project can be built even if the upstream tarball - locations disappear. - -if !BR2_PRIMARY_SITE_ONLY - -config BR2_BACKUP_SITE - string "Backup download site" - default "http://sources.buildroot.net" - help - Backup site to download from. If this option is set then - buildroot will fall back to download package sources from here - if the normal location fails. - -config BR2_KERNEL_MIRROR - string "Kernel.org mirror" - default "https://cdn.kernel.org/pub" - help - kernel.org is mirrored on a number of servers around the - world. The following allows you to select your preferred - mirror. By default, a CDN is used, which automatically - redirects to a mirror geographically close to you. - - Have a look on the kernel.org site for a list of mirrors, then - enter the URL to the base directory. Examples: - - http://www.XX.kernel.org/pub (XX = country code) - http://mirror.aarnet.edu.au/pub/ftp.kernel.org - -config BR2_GNU_MIRROR - string "GNU Software mirror" - default "http://ftpmirror.gnu.org" - help - GNU has multiple software mirrors scattered around the - world. The following allows you to select your preferred - mirror. By default, a generic address is used, which - automatically selects an up-to-date and local mirror. - - Have a look on the gnu.org site for a list of mirrors, then - enter the URL to the base directory. Examples: - - http://ftp.gnu.org/pub/gnu - http://mirror.aarnet.edu.au/pub/gnu - -config BR2_LUAROCKS_MIRROR - string "LuaRocks mirror" - default "http://rocks.moonscript.org" - help - LuaRocks repository. - - See http://luarocks.org - -config BR2_CPAN_MIRROR - string "CPAN mirror (Perl packages)" - default "http://cpan.metacpan.org" - help - CPAN (Comprehensive Perl Archive Network) is a repository of - Perl packages. It has multiple software mirrors scattered - around the world. This option allows you to select a mirror. - - The list of mirrors is available at: - http://search.cpan.org/mirror - -endif - -endmenu - -config BR2_JLEVEL - int "Number of jobs to run simultaneously (0 for auto)" - default "0" - help - Number of jobs to run simultaneously. If 0, determine - automatically according to number of CPUs on the host system. - -config BR2_CCACHE - bool "Enable compiler cache" - help - This option will enable the use of ccache, a compiler cache. - It will cache the result of previous builds to speed up future - builds. By default, the cache is stored in - $HOME/.buildroot-ccache. - - Note that Buildroot does not try to invalidate the cache - contents when the compiler changes in an incompatible way. - Therefore, if you make a change to the compiler version and/or - configuration, you are responsible for purging the ccache - cache by removing the $HOME/.buildroot-ccache directory. - -if BR2_CCACHE - -config BR2_CCACHE_DIR - string "Compiler cache location" - default "$(HOME)/.buildroot-ccache" - help - Where ccache should store cached files. - If the Linux shell environment has defined the BR2_CCACHE_DIR - environment variable, then this overrides this configuration - item. - -config BR2_CCACHE_INITIAL_SETUP - string "Compiler cache initial setup" - help - Initial ccache settings to apply, such as --max-files or - --max-size. - - For example, if your project is known to require more space - than the default max cache size, then you might want to - increase the cache size to a suitable amount using the -M - (--max-size) option. - - The string you specify here is passed verbatim to ccache. - Refer to ccache documentation for more details. - - These initial settings are applied after ccache has been - compiled. - -config BR2_CCACHE_USE_BASEDIR - bool "Use relative paths" - default y - help - Allow ccache to convert absolute paths within the output - directory into relative paths. - - During the build, many -I include directives are given with an - absolute path. These absolute paths end up in the hashes that - are computed by ccache. Therefore, when you build from a - different directory, the hash will be different and the cached - object will not be used. - - To improve cache performance, set this option to y. This - allows ccache to rewrite absolute paths within the output - directory into relative paths. Note that only paths within the - output directory will be rewritten; therefore, if you change - BR2_HOST_DIR to point outside the output directory and - subsequently move it to a different location, this will lead - to cache misses. - - This option has as a result that the debug information in the - object files also has only relative paths. Therefore, make - sure you cd to the build directory before starting gdb. See - the section "COMPILING IN DIFFERENT DIRECTORIES" in the ccache - manual for more information. - -endif - -config BR2_ENABLE_DEBUG - bool "build packages with debugging symbols" - help - Build packages with debugging symbols enabled. All libraries - and binaries in the 'staging' directory will have debugging - symbols, which allows remote debugging even if libraries and - binaries are stripped on the target. Whether libraries and - binaries are stripped on the target is controlled by the - BR2_STRIP_* options below. - -if BR2_ENABLE_DEBUG -choice - prompt "gcc debug level" - default BR2_DEBUG_2 - help - Set the debug level for gcc - -config BR2_DEBUG_1 - bool "debug level 1" - help - Debug level 1 produces minimal information, enough for making - backtraces in parts of the program that you don't plan to - debug. This includes descriptions of functions and external - variables, but no information about local variables and no - line numbers. - -config BR2_DEBUG_2 - bool "debug level 2" - help - The default gcc debug level is 2 - -config BR2_DEBUG_3 - bool "debug level 3" - help - Level 3 includes extra information, such as all the macro - definitions present in the program. Some debuggers support - macro expansion when you use -g3. -endchoice -endif - -config BR2_STRIP_strip - bool "strip target binaries" - default y - depends on !BR2_PACKAGE_HOST_ELF2FLT - help - Binaries and libraries in the target filesystem will be - stripped using the normal 'strip' command. This allows to save - space, mainly by removing debugging symbols. Debugging symbols - on the target are needed for native debugging, but not when - remote debugging is used. - -config BR2_STRIP_EXCLUDE_FILES - string "executables that should not be stripped" - default "" - depends on BR2_STRIP_strip - help - You may specify a space-separated list of binaries and - libraries here that should not be stripped on the target. - -config BR2_STRIP_EXCLUDE_DIRS - string "directories that should be skipped when stripping" - default "" - depends on BR2_STRIP_strip - help - You may specify a space-separated list of directories that - should be skipped when stripping. Binaries and libraries in - these directories will not be touched. The directories should - be specified relative to the target directory, without leading - slash. - -choice - prompt "gcc optimization level" - default BR2_OPTIMIZE_S - help - Set the optimization level for gcc - -config BR2_OPTIMIZE_0 - bool "optimization level 0" - help - Do not optimize. - -config BR2_OPTIMIZE_1 - bool "optimization level 1" - help - Optimize. Optimizing compilation takes somewhat more time, and - a lot more memory for a large function. With -O, the compiler - tries to reduce code size and execution time, without - performing any optimizations that take a great deal of - compilation time. -O turns on the following optimization - flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability - -fcprop-registers -floop-optimize -fif-conversion - -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts - -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename - -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants. -O - also turns on -fomit-frame-pointer on machines where doing so - does not interfere with debugging. - -config BR2_OPTIMIZE_2 - bool "optimization level 2" - help - Optimize even more. GCC performs nearly all supported - optimizations that do not involve a space-speed tradeoff. The - compiler does not perform loop unrolling or function inlining - when you specify -O2. As compared to -O, this option increases - both compilation time and the performance of the generated - code. -O2 turns on all optimization flags specified by -O. It - also turns on the following optimization flags: - -fthread-jumps -fcrossjumping -foptimize-sibling-calls - -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm - -fexpensive-optimizations -fstrength-reduce - -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves - -fpeephole2 -fschedule-insns -fschedule-insns2 - -fsched-interblock -fsched-spec -fregmove -fstrict-aliasing - -fdelete-null-pointer-checks -freorder-blocks - -freorder-functions -falign-functions -falign-jumps - -falign-loops -falign-labels -ftree-vrp -ftree-pre. Please - note the warning under -fgcse about invoking -O2 on programs - that use computed gotos. - -config BR2_OPTIMIZE_3 - bool "optimization level 3" - help - Optimize yet more. -O3 turns on all optimizations specified by - -O2 and also turns on the -finline-functions, -funswitch-loops - and -fgcse-after-reload options. - -config BR2_OPTIMIZE_G - bool "optimize for debugging" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - help - Optimize for debugging. This enables optimizations that do not - interfere with debugging. It should be the optimization level - of choice for the standard edit-compile-debug cycle, offering - a reasonable level of optimization while maintaining fast - compilation and a good debugging experience. - -config BR2_OPTIMIZE_S - bool "optimize for size" - help - Optimize for size. -Os enables all -O2 optimizations that do - not typically increase code size. It also performs further - optimizations designed to reduce code size. -Os disables the - following optimization flags: -falign-functions -falign-jumps - -falign-loops -falign-labels -freorder-blocks - -freorder-blocks-and-partition -fprefetch-loop-arrays - -ftree-vect-loop-version - This is the default. - -config BR2_OPTIMIZE_FAST - bool "optimize for fast (may break packages!)" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 - help - Optimize for fast. Disregard strict standards - compliance. -Ofast enables all -O3 optimizations. It also - enables optimizations that are not valid for all - standard-compliant programs, so be careful, as it may break - some packages. It turns on -ffast-math and the - Fortran-specific -fstack-arrays, unless -fmax-stack-var-size - is specified, and -fno-protect-parens. - -endchoice - -config BR2_GOOGLE_BREAKPAD_ENABLE - bool "Enable google-breakpad support" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) - depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS - select BR2_PACKAGE_GOOGLE_BREAKPAD - help - This option will enable the use of google breakpad, a library - and tool suite that allows you to distribute an application to - users with compiler-provided debugging information removed, - record crashes in compact "minidump" files, send them back to - your server and produce C and C++ stack traces from these - minidumps. Breakpad can also write minidumps on request for - programs that have not crashed. - -if BR2_GOOGLE_BREAKPAD_ENABLE - -config BR2_GOOGLE_BREAKPAD_INCLUDE_FILES - string "List of executables and libraries to extract symbols from" - default "" - help - You may specify a space-separated list of binaries and - libraries with full paths relative to $(TARGET_DIR) of which - debug symbols will be dumped for further use with google - breakpad. - - A directory structure that can be used by minidump-stackwalk - will be created at: - - $(STAGING_DIR)/usr/share/google-breakpad-symbols - -endif - -choice - bool "libraries" - default BR2_SHARED_LIBS if BR2_BINFMT_SUPPORTS_SHARED - default BR2_STATIC_LIBS if !BR2_BINFMT_SUPPORTS_SHARED - help - Select the type of libraries you want to use on the target. - - The default is to build dynamic libraries and use those on the - target filesystem, except when the architecture and/or the - selected binary format does not support shared libraries. - -config BR2_STATIC_LIBS - bool "static only" - help - Build and use only static libraries. No shared libraries will - be installed on the target. This potentially increases your - code size and should only be used if you know what you are - doing. Note that some packages may not be available when this - option is enabled, due to their need for dynamic library - support. - -config BR2_SHARED_LIBS - bool "shared only" - depends on BR2_BINFMT_SUPPORTS_SHARED - help - Build and use only shared libraries. This is the recommended - solution as it saves space and build time. - -config BR2_SHARED_STATIC_LIBS - bool "both static and shared" - depends on BR2_BINFMT_SUPPORTS_SHARED - help - Build both shared and static libraries, but link executables - dynamically. While building both shared and static libraries - take more time and more disk space, having static libraries - may be useful to link some of the applications statically. - -endchoice - -config BR2_PACKAGE_OVERRIDE_FILE - string "location of a package override file" - default "$(CONFIG_DIR)/local.mk" - help - A package override file is a short makefile that contains - variable definitions of the form _OVERRIDE_SRCDIR, which - allows to tell Buildroot to use an existing directory as the - source directory for a particular package. See the Buildroot - documentation for more details on this feature. - -config BR2_GLOBAL_PATCH_DIR - string "global patch directories" - help - You may specify a space separated list of one or more - directories containing global package patches. For a specific - version of a specific package , - patches are applied as follows: - - First, the default Buildroot patch set for the package is - applied from the package's directory in Buildroot. - - Then for every directory - - that exists in - BR2_GLOBAL_PATCH_DIR, if the directory - /// exists, - then all *.patch files in this directory will be applied. - - Otherwise, if the directory / - exists, then all *.patch files in the directory will be - applied. - -menu "Advanced" - -config BR2_COMPILER_PARANOID_UNSAFE_PATH - bool "paranoid check of library/header paths" - default y - help - By default, when this option is disabled, when the Buildroot - cross-compiler will encounter an unsafe library or header path - (such as /usr/include, or /usr/lib), the compiler will display - a warning. - - By enabling this option, this warning is turned into an error, - which will completely abort the build when such unsafe paths - are encountered. - - Note that this mechanism is available for both the internal - toolchain (through the toolchain wrapper and binutils patches) - and external toolchain backends (through the toolchain - wrapper). - -config BR2_FORCE_HOST_BUILD - bool "Force the building of host dependencies" - help - Build all available host dependencies, even if they are - already installed on the system. - - This option can be used to ensure that the download cache of - source archives for packages remain consistent between - different build hosts. - - This option will increase build time. - -config BR2_REPRODUCIBLE - bool "Make the build reproducible (experimental)" - # SOURCE_DATE_EPOCH support in toolchain-wrapper requires GCC 4.4 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 - help - This option will remove all sources of non-reproducibility - from the build process. For a given Buildroot configuration, - this allows to generate exactly identical binaries from one - build to the other, including on different machines. - - The current implementation is restricted to builds with the - same output directory. Many (absolute) paths are recorded in - intermediary files, and it is very likely that some of these - paths leak into the target rootfs. If you build with the - same O=... path, however, the result is identical. - - This is labeled as an experimental feature, as not all - packages behave properly to ensure reproducibility. - -config BR2_PER_PACKAGE_DIRECTORIES - bool "Use per-package directories (experimental)" - help - This option will change the build process of Buildroot - package to use per-package target and host directories. - - This is useful for two related purposes: - - - Cleanly isolate the build of each package, so that a - given package only "sees" the dependencies it has - explicitly expressed, and not other packages that may - have by chance been built before. - - - Enable top-level parallel build. - - This is labeled as an experimental feature, as not all - packages behave properly with per-package directories. - -endmenu - -comment "Security Hardening Options" - -config BR2_PIC_PIE - bool "Build code with PIC/PIE" - default y - # Nios2 toolchains produce non working binaries with -fPIC - depends on !BR2_nios2 - depends on BR2_SHARED_LIBS - depends on BR2_TOOLCHAIN_SUPPORTS_PIE - help - Generate Position-Independent Code (PIC) and link - Position-Independent Executables (PIE). - -comment "PIC/PIE needs a toolchain w/ PIE" - depends on !BR2_nios2 - depends on BR2_SHARED_LIBS - depends on !BR2_TOOLCHAIN_SUPPORTS_PIE - -choice - bool "Stack Smashing Protection" - default BR2_SSP_ALL if BR2_ENABLE_SSP # legacy - default BR2_SSP_STRONG if BR2_TOOLCHAIN_HAS_SSP_STRONG - default BR2_SSP_REGULAR - depends on BR2_TOOLCHAIN_HAS_SSP - help - Enable stack smashing protection support using GCC's - -fstack-protector option family. - - See - http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt - for details. - - Note that this requires the toolchain to have SSP support. - This is always the case for glibc and eglibc toolchain, but is - optional in uClibc toolchains. - -config BR2_SSP_NONE - bool "None" - help - Disable stack-smashing protection. - -config BR2_SSP_REGULAR - bool "-fstack-protector" - help - Emit extra code to check for buffer overflows, such as stack - smashing attacks. This is done by adding a guard variable to - functions with vulnerable objects. This includes functions - that call alloca, and functions with buffers larger than 8 - bytes. The guards are initialized when a function is entered - and then checked when the function exits. If a guard check - fails, an error message is printed and the program exits. - -config BR2_SSP_STRONG - bool "-fstack-protector-strong" - depends on BR2_TOOLCHAIN_HAS_SSP_STRONG - help - Like -fstack-protector but includes additional functions to be - protected - those that have local array definitions, or have - references to local frame addresses. - - -fstack-protector-strong officially appeared in gcc 4.9, but - some vendors have backported -fstack-protector-strong to older - versions of gcc. - -config BR2_SSP_ALL - bool "-fstack-protector-all" - help - Like -fstack-protector except that all functions are - protected. This option might have a significant performance - impact on the compiled binaries. - -endchoice - -config BR2_SSP_OPTION - string - default "-fstack-protector" if BR2_SSP_REGULAR - default "-fstack-protector-strong" if BR2_SSP_STRONG - default "-fstack-protector-all" if BR2_SSP_ALL - -comment "Stack Smashing Protection needs a toolchain w/ SSP" - depends on !BR2_TOOLCHAIN_HAS_SSP - -choice - bool "RELRO Protection" - default BR2_RELRO_FULL if BR2_TOOLCHAIN_SUPPORTS_PIE - default BR2_RELRO_PARTIAL - depends on BR2_SHARED_LIBS - help - Enable a link-time protection know as RELRO (RELocation Read - Only) which helps to protect from certain type of exploitation - techniques altering the content of some ELF sections. - -config BR2_RELRO_NONE - bool "None" - help - Disables Relocation link-time protections. - -config BR2_RELRO_PARTIAL - bool "Partial" - help - This option makes the dynamic section not writeable after - initialization (with almost no performance penalty). - -config BR2_RELRO_FULL - bool "Full" - depends on !BR2_nios2 # BR2_PIC_PIE - depends on BR2_TOOLCHAIN_SUPPORTS_PIE - select BR2_PIC_PIE - help - This option includes the partial configuration, but also marks - the GOT as read-only at the cost of initialization time during - program loading, i.e every time an executable is started. - -comment "RELRO Full needs a toolchain w/ PIE" - depends on !BR2_nios2 - depends on !BR2_TOOLCHAIN_SUPPORTS_PIE - -endchoice - -comment "RELocation Read Only (RELRO) needs shared libraries" - depends on !BR2_SHARED_LIBS - -choice - bool "Buffer-overflow Detection (FORTIFY_SOURCE)" - default BR2_FORTIFY_SOURCE_1 - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on !BR2_OPTIMIZE_0 - help - Enable the _FORTIFY_SOURCE macro which introduces additional - checks to detect buffer-overflows in the following standard - library functions: memcpy, mempcpy, memmove, memset, strcpy, - stpcpy, strncpy, strcat, strncat, sprintf, vsprintf, snprintf, - vsnprintf, gets. - - NOTE: This feature requires an optimization level of s/1/2/3/g - - Support for this feature has been present since GCC 4.x. - -config BR2_FORTIFY_SOURCE_NONE - bool "None" - help - Disables additional checks to detect buffer-overflows. - -config BR2_FORTIFY_SOURCE_1 - bool "Conservative" - # gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 - depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6 - help - This option sets _FORTIFY_SOURCE to 1 and only introduces - checks that shouldn't change the behavior of conforming - programs. Adds checks at compile-time only. - -config BR2_FORTIFY_SOURCE_2 - bool "Aggressive" - # gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 - depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6 - help - This option sets _FORTIFY_SOURCES to 2 and some more - checking is added, but some conforming programs might fail. - Also adds checks at run-time (detected buffer overflow - terminates the program) - -endchoice - -comment "Fortify Source needs a glibc toolchain and optimization" - depends on (!BR2_TOOLCHAIN_USES_GLIBC || BR2_OPTIMIZE_0) -endmenu - -source "toolchain/Config.in" - -source "system/Config.in" - -source "linux/Config.in" - -source "package/Config.in" - -source "fs/Config.in" - -source "boot/Config.in" - -source "package/Config.in.host" - -source "Config.in.legacy" - -# br2-external menus definitions -source "$BR2_BASE_DIR/.br2-external.in.menus" diff --git a/buildroot-2021.05/Config.in.legacy b/buildroot-2021.05/Config.in.legacy deleted file mode 100644 index a0c1a689..00000000 --- a/buildroot-2021.05/Config.in.legacy +++ /dev/null @@ -1,4143 +0,0 @@ -# -# Config.in.legacy - support for backward compatibility -# -# When an existing Config.in symbol is removed, it should be added again in -# this file, and take appropriate action to approximate backward compatibility. -# This will make the transition for the user more convenient. -# -# When adding legacy symbols to this file, add them to the front. The oldest -# symbols will be removed again after about two years. -# -# The symbol should be copied as-is from the place where it was previously -# defined, but the help text should be removed or replaced with something that -# explains how to fix it. -# -# For bool options, the old symbol should select BR2_LEGACY, so that the user -# is informed at build-time about selected legacy options. -# If there is an equivalent (set of) new symbols, these should be select'ed by -# the old symbol for backwards compatibility. -# It is not possible to select an option that is part of a choice. In that -# case, the new option should use the old symbol as default. This requires a -# change outside of Config.in.legacy, and this should be clearly marked as such -# in a comment, so that removal of legacy options also include the removal of -# these external references. -# -# [Example: renaming a bool option that is part of a choice from FOO to BAR] -# original choice: -# choice -# prompt "Choose foobar" -# config BR2_FOO_1 -# bool "foobar 1" -# config BR2_FOO_2 -# bool "foobar 2" -# endchoice -# -# becomes: -# choice -# prompt "Choose foobar" -# default BR2_BAR_1 if BR2_FOO_1 # legacy -# default BR2_BAR_2 if BR2_FOO_2 # legacy -# config BR2_BAR_1 -# bool "foobar 1" -# config BR2_BAR_2 -# bool "foobar 2" -# endchoice -# -# and in Config.in.legacy: -# config BR2_FOO_1 -# bool "foobar 1 has been renamed" -# help -# -# # Note: BR2_FOO_1 is still referenced from package/foo/Config.in -# config BR2_FOO_2 -# bool "foobar 2 has been renamed" -# help -# -# # Note: BR2_FOO_2 is still referenced from package/foo/Config.in -# -# [End of example] -# -# For string options, it is not possible to directly select another symbol. In -# this case, a hidden wrap bool option has to be added, that defaults to y if -# the old string is not set at its default value. The wrap symbol should select -# BR2_LEGACY. -# If the original symbol has been renamed, the new symbol should use the value -# of the old symbol as default. Like for choice options, a comment should be -# added to flag that the symbol is still used in another file. -# -# [Example: renaming a string option from FOO to BAR] -# original symbol: -# config BR2_FOO_STRING -# string "Some foo string" -# -# becomes: -# config BR2_BAR_STRING -# string "Some bar string" -# default BR2_FOO_STRING if BR2_FOO_STRING != "" # legacy -# -# and in Config.in.legacy: -# config BR2_FOO_STRING -# string "The foo string has been renamed" -# help -# -# -# config BR2_FOO_STRING_WRAP -# bool -# default y if BR2_FOO_STRING != "" -# select BR2_LEGACY -# -# # Note: BR2_FOO_STRING is still referenced from package/foo/Config.in -# -# [End of example] - -config BR2_SKIP_LEGACY - bool - option env="SKIP_LEGACY" - -if !BR2_SKIP_LEGACY - -config BR2_LEGACY - bool - help - This option is selected automatically when your old .config - uses an option that no longer exists in current buildroot. In - that case, the build will fail. Look for config options which - are selected in the menu below: they no longer exist and - should be replaced by something else. - -# This comment fits exactly in a 80-column display -comment "Legacy detected: check the content of the menu below" - depends on BR2_LEGACY - -menu "Legacy config options" - -if BR2_LEGACY -comment "----------------------------------------------------" -comment "Your old configuration uses legacy options that no " -comment "longer exist in buildroot, as indicated in the menu " -comment "below. As long as these options stay selected, or in" -comment "case of string options are non-empty, the build " -comment "will fail. " -comment "* " -comment "Where possible, an automatic conversion from old to " -comment "new symbols has been performed. Before making any " -comment "change in this legacy menu, make sure to exit the " -comment "configuration editor a first time and save the " -comment "configuration. Otherwise, the automatic conversion " -comment "of symbols will be lost. " -comment "* " -comment "After this initial save, reopen the configuration " -comment "editor, inspect the options selected below, read " -comment "their help texts, and verify/update the new " -comment "configuration in the corresponding configuration " -comment "menus. When everything is ok, you can disable the " -comment "legacy options in the menu below. Once you have " -comment "disabled all legacy options, this text will " -comment "disappear and you will be able to start the build. " -comment "* " -comment "Note: legacy options older than 5 years have been " -comment "removed, and configuration files that still have " -comment "those options set, will fail to build, or run in " -comment "unpredictable ways. " -comment "----------------------------------------------------" -endif - -############################################################################### - -comment "Legacy options removed in 2021.05" - -config BR2_PACKAGE_UDISKS_LVM2 - bool "udisks lvm2 support removed" - select BR2_LEGACY - help - The lvm2 support was removed because udisks < 2.7.0 still - depends on lvm2 application library, which was removed - in lvm2. - -config BR2_PACKAGE_LVM2_APP_LIBRARY - bool "lvm2 application library removed" - select BR2_LEGACY - help - The lvm2 application library was removed upstream. - -config BR2_PACKAGE_LVM2_LVMETAD - bool "lvm2 lvmetad removed" - select BR2_LEGACY - help - The lvm2 lvmetad was removed upstream. - -config BR2_PACKAGE_MONKEY - bool "monkey package removed" - select BR2_LEGACY - help - This package has been removed as it has not seen any release - since 2016 and because TLS is broken on master. - -config BR2_PACKAGE_DOCKER_CONTAINERD - bool "docker-containerd package was renamed to containerd" - select BR2_LEGACY - select BR2_PACKAGE_CONTAINERD - help - The containerd project is now independent from Docker. - The package was renamed to containerd accordingly. - -config BR2_PACKAGE_IOSTAT - bool "iostat package removed" - select BR2_LEGACY - help - This package has been removed, use sysstat instead. - -config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE - bool "sconeserver http::sconesite::image removed" - select BR2_LEGACY - help - Sconeserver cannot be built with ImageMagick - it uses the - "transofrm" function which is removed from public API. - -config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV - bool "KDrive/TinyX evdev input driver removed" - select BR2_LEGACY - help - The evdev input driver in KDrive was removed. - -config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD - bool "KDrive/TinyX kbd input driver removed" - select BR2_LEGACY - help - The kbd input driver in KDrive was removed. - -config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE - bool "KDrive/TinyX mouse input driver removed" - select BR2_LEGACY - help - The mouse input driver in KDrive was removed. - -config BR2_PACKAGE_MESA3D_OSMESA_CLASSIC - bool "mesa OSMesa (classic) option removed" - select BR2_LEGACY - select BR2_PACKAGE_MESA3D_OSMESA_GALLIUM - help - The OSMesa "classic" library option was removed upstream. - Only the Gallium-based implementation remains. - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST - bool "mesa DRI swrast driver removed" - select BR2_LEGACY - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST - help - The DRI swrast driver was removed upstream. - Only the Gallium-based implementation remains. - -config BR2_PACKAGE_KODI_SCREENSAVER_CRYSTALMORPH - bool "kodi-screensaver-crystalmorph removed" - select BR2_LEGACY - help - The package received its last updates in 2017, is not part - of the official Kodi github repo and its build is broken - with Kodi 19.x, so it was removed. - -comment "Legacy options removed in 2021.02" - -config BR2_PACKAGE_MPD_AUDIOFILE - bool "mpd audiofile support removed" - select BR2_LEGACY - help - The audiofile support was removed from mpd as audiofile is - affected by multiple CVEs and is not maintained anymore (no - release since 2013). - -config BR2_PACKAGE_AUDIOFILE - bool "audiofile package removed" - select BR2_LEGACY - help - The audiofile package was removed as it is affected by - multiple CVEs and is not maintained anymore (no release since - 2013). - -config BR2_BINUTILS_VERSION_2_33_X - bool "binutils 2.33.x has been removed" - select BR2_LEGACY - help - binutils 2.33.x has been removed, use a newer version. - -config BR2_PACKAGE_LIBUPNP18 - bool "libupnp18 package removed" - select BR2_LEGACY - select BR2_PACKAGE_LIBUPNP - help - Version 1.8.x of libupnp (i.e. libupnp18) has been removed - because it will never be fixed against CallStranger a.k.a. - CVE-2020-12695. The libupnp package (which has been updated to - version 1.14.x) has been selected instead. - -config BR2_PACKAGE_BOA - bool "boa package removed" - select BR2_LEGACY - help - The boa package was removed as it is affected by multiple - CVEs and is not maintained anymore (no release since 2005). - -config BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA - bool "imx sdma firmware is provided by firmware-imx" - select BR2_LEGACY - select BR2_PACKAGE_FREESCALE_IMX - select BR2_PACKAGE_FIRMWARE_IMX - help - linux-firmware provide the same firmware as firmware-imx. - We prefer using firmware-imx as the only provider. - -config BR2_GDB_VERSION_8_2 - bool "gdb 8.2.x has been removed" - select BR2_LEGACY - help - gdb 8.2 support has been removed, you can use a newer - version such as 8.3 or more recent. - -config BR2_PACKAGE_HOST_RCW - bool "rcw package was renamed to qoriq-rcw" - select BR2_PACKAGE_HOST_QORIQ_RCW - select BR2_LEGACY - help - The rcw package was specific to the QorIQ platform, so it has - been renamed to qoriq-rcw, to leave room for other *-rcw - packages for other platforms. - -config BR2_KERNEL_HEADERS_5_9 - bool "kernel headers version 5.9.x are no longer supported" - select BR2_LEGACY - help - Version 5.9.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_5_8 - bool "kernel headers version 5.8.x are no longer supported" - select BR2_LEGACY - help - Version 5.8.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_powerpc_601 - bool "PowerPC 601 support removed" - select BR2_LEGACY - help - The support for the PowerPC 601 processors has been removed. - -config BR2_PACKAGE_TI_SGX_LIBGBM - bool "ti-sgx-libgbm support removed" - select BR2_LEGACY - help - TI has merged the ti-sgx-libgbm package with the ti-sgx-um - package - -config BR2_PACKAGE_IPSEC_TOOLS - bool "ipsec-tools package was removed" - select BR2_LEGACY - help - This package has been removed as it has security issues and - has been abandoned since 2014. - -comment "Legacy options removed in 2020.11" - -config BR2_PACKAGE_OPENCV - bool "opencv package was removed" - select BR2_LEGACY - help - This package has been removed, use opencv3 instead. - -config BR2_PACKAGE_LIBCROCO - bool "libcroco package was removed" - select BR2_LEGACY - help - This package has been removed as it is affected by several - security issues such as CVE-2020-12825 which will never be - fixed as libcroco has been archived. - -config BR2_PACKAGE_BELLAGIO - bool "bellagio package was removed" - select BR2_LEGACY - help - This package has been removed as it is not maintained anymore - (no release since 2011). - -config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY - bool "systemd-journal-gatewayd now in systemd-journal-remote" - select BR2_LEGACY - select BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE - help - All system journal remote programs are now enabled using - BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE. - -config BR2_TARGET_UBOOT_BOOT_SCRIPT - bool "u-boot script generation was moved" - select BR2_LEGACY - select BR2_PACKAGE_HOST_UBOOT_TOOLS - select BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT - help - Migrated U-Boot script generation to uboot-tools - -# Note: BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE is still referenced from -# package/uboot-tools/Config.in -config BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE - string "The uboot script source string has been renamed" - depends on BR2_TARGET_UBOOT_BOOT_SCRIPT - help - Migrated U-Boot script generation to uboot-tools. - New option is named - BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE - -config BR2_TARGET_UBOOT_ENVIMAGE - bool "u-boot env generation was moved" - select BR2_LEGACY - select BR2_PACKAGE_HOST_UBOOT_TOOLS - select BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE - help - Migrated U-Boot env generation to uboot-tools - -# Note: BR2_TARGET_UBOOT_ENVIMAGE_SOURCE is still referenced from -# package/uboot-tools/Config.in -config BR2_TARGET_UBOOT_ENVIMAGE_SOURCE - string "The uboot env image source string has been renamed" - depends on BR2_TARGET_UBOOT_ENVIMAGE - help - Migrated U-Boot env generation to uboot-tools. - New option is named - BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE - -# Note: BR2_TARGET_UBOOT_ENVIMAGE_SIZE is still referenced from -# package/uboot-tools/Config.in -config BR2_TARGET_UBOOT_ENVIMAGE_SIZE - string "The uboot env image size string has been renamed" - depends on BR2_TARGET_UBOOT_ENVIMAGE - help - Migrated U-Boot env generation to uboot-tools. - New option is named BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE - -config BR2_TARGET_UBOOT_ENVIMAGE_REDUNDANT - bool "u-boot env generation was moved" - depends on BR2_TARGET_UBOOT_ENVIMAGE - select BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_REDUNDANT - help - Migrated U-Boot env generation to uboot-tools - -config BR2_PACKAGE_KISMET_CLIENT - bool "kismet client support was removed" - select BR2_LEGACY - help - Kismet client support was removed since version 2019-04-R1. - -config BR2_PACKAGE_KISMET_DRONE - bool "kismet drone support was removed" - select BR2_LEGACY - help - Kismet drone support was removed since version 2019-04-R1. - -config BR2_GCC_VERSION_7_X - bool "gcc 7.x support removed" - select BR2_LEGACY - help - Support for gcc version 7.x has been removed. The current - default version (9.x or later) has been selected instead. - -config BR2_PACKAGE_GST1_VALIDATE - bool "gst1-validate was moved to gst1-devtools" - select BR2_PACKAGE_GST1_DEVTOOLS - select BR2_LEGACY - help - This package has been removed, use gst1-devtools instead. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_YADIF - bool "gst1-plugins-bad yadif plugin was removed" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE - help - This plugin was removed with gst1-plugins-bad-1.18.0, the - same functionality has moved to gst1-plugins-good - deinterlace plugin (method=yadif). - -config BR2_PACKAGE_GQVIEW - bool "gqview package was removed" - select BR2_LEGACY - help - This package has been removed as it is not maintained anymore - (no release since 2006). - -config BR2_PACKAGE_WESTON_IMX - bool "weston-imx package was removed" - select BR2_LEGACY - help - This package has been removed, use weston instead. - -config BR2_KERNEL_HEADERS_5_7 - bool "kernel headers version 5.7.x are no longer supported" - select BR2_LEGACY - help - Version 5.7.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_PACKAGE_TINYHTTPD - bool "tinyhttpd package removed" - select BR2_LEGACY - help - The tinyhttpd package was removed as it is affected by - CVE-2002-1819 and is not maintained anymore (no release since - 2001). - -config BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX - bool "X.org Enable AIGLX Extension" - select BR2_LEGACY - help - AIGLX Extension was removed in X.org X server version 1.19.0 - -config BR2_PACKAGE_AMD_CATALYST - bool "amd-catalyst" - select BR2_LEGACY - help - Current X.org server is incompatible with this driver. - -config BR2_PACKAGE_NVIDIA_TEGRA23 - bool "nvidia-tegra23 package removed" - select BR2_LEGACY - help - Current X.org server is incompatible with this driver. - -config BR2_GDB_VERSION_8_1 - bool "gdb 8.1.x has been removed" - select BR2_LEGACY - help - The 8.1.x version of gdb has been removed. Use a newer - version instead. - -comment "Legacy options removed in 2020.08" - -config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64 - bool "toolchain-external-codesourcery-amd64 removed" - select BR2_LEGACY - help - The CodeSourcery toolchain for AMD64, in version 2016.11 was - dropped, due to it using a too old gcc 6.2.0 compiler which - caused issues compiling a number of recent packages - (e.g. Boost). CodeSourcery has stopped making newer versions - of this toolchain publicly available, so it was not possible - to update it. - -config BR2_KERNEL_HEADERS_5_6 - bool "kernel headers version 5.6.x are no longer supported" - select BR2_LEGACY - help - Version 5.6.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_5_5 - bool "kernel headers version 5.5.x are no longer supported" - select BR2_LEGACY - help - Version 5.5.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_BINUTILS_VERSION_2_31_X - bool "binutils version 2.31.1 support removed" - select BR2_LEGACY - help - Support for binutils version 2.31.1 has been removed. The - current default version (2.33.1 or later) has been selected - instead. - -config BR2_PACKAGE_KODI_PERIPHERAL_STEAMCONTROLLER - bool "kodi-peripheral-steamcontroller package was removed" - select BR2_LEGACY - help - This package is broken. - -comment "Legacy options removed in 2020.05" - -config BR2_PACKAGE_WIRINGPI - bool "wiringpi package removed" - select BR2_LEGACY - help - The author of wiringpi has deprecated the package, and - completely removed the git tree that was serving the - sources, with this message: - Please look for alternatives for wiringPi - -config BR2_PACKAGE_PYTHON_PYCRYPTO - bool "python-pycrypto package removed" - select BR2_LEGACY - help - This package has been removed, use python-pycryptodomex - instead. - -config BR2_PACKAGE_MTDEV2TUIO - bool "mtdev2tuio package removed" - select BR2_LEGACY - help - The mtdev2tuio package was removed as it breaks the builds - every now and then and is not maintained upstream. - -config BR2_PACKAGE_EZXML - bool "ezxml package removed" - select BR2_LEGACY - help - The ezXML package was removed as it is affected by several - CVEs and is not maintained anymore (no release since 2006). - -config BR2_PACKAGE_COLLECTD_LVM - bool "lvm support in collectd was removed" - select BR2_LEGACY - help - collectd removed LVM plugin, liblvm2app has been deprecated - -config BR2_PACKAGE_PYTHON_PYASN - bool "duplicate python-pyasn1 package removed" - select BR2_LEGACY - select BR2_PACKAGE_PYTHON_PYASN1 - help - This package was a duplicate of python-pyasn1. - -config BR2_PACKAGE_PYTHON_PYASN_MODULES - bool "duplicate python-pyasn1-modules package removed" - select BR2_LEGACY - select BR2_PACKAGE_PYTHON_PYASN1_MODULES - help - This package was a duplicate of python-pyasn1-modules. - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA6174 - bool "duplicate QCA6174 firmware symbol removed" - select BR2_LEGACY - select BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174 - help - This config symbol duplicates existing symbol for QCA6174 - firmware. - -config BR2_PACKAGE_QT5CANVAS3D - bool "qt5canvas3d was removed" - select BR2_LEGACY - help - This Qt5 module was removed by the upstream Qt project since - Qt 5.13, so the corresponding Buildroot package was removed - as well. - -config BR2_PACKAGE_KODI_LIBTHEORA - bool "libtheora support in Kodi was removed" - select BR2_LEGACY - help - Kodi does not need libtheora - -config BR2_PACKAGE_CEGUI06 - bool "BR2_PACKAGE_CEGUI06 was renamed" - select BR2_PACKAGE_CEGUI - select BR2_LEGACY - help - The BR2_PACKAGE_CEGUI06 config symbol was renamed to - BR2_PACKAGE_CEGUI. - -config BR2_GCC_VERSION_5_X - bool "gcc 5.x support removed" - select BR2_LEGACY - help - Support for gcc version 5.x has been removed. The current - default version (8.x or later) has been selected instead. - -comment "Legacy options removed in 2020.02" - -config BR2_PACKAGE_JAMVM - bool "jamvm removed" - select BR2_LEGACY - help - JamVM has not had a release since 2014 and is unmaintained. - -config BR2_PACKAGE_CLASSPATH - bool "classpath removed" - select BR2_LEGACY - help - GNU Classpath package was removed. The last upstream - release was in 2012 and there hasn't been a commit - since 2016. - -config BR2_PACKAGE_QT5_VERSION_5_6 - bool "qt 5.6 support removed" - select BR2_LEGACY - help - Support for Qt 5.6 is EOL and has been removed. The current - version (5.12 or later) has been selected instead. - -config BR2_PACKAGE_CURL - bool "BR2_PACKAGE_CURL was renamed" - select BR2_PACKAGE_LIBCURL_CURL - select BR2_LEGACY - help - The BR2_PACKAGE_CURL config symbol was renamed to - BR2_PACKAGE_LIBCURL_CURL. - -config BR2_PACKAGE_GSTREAMER - bool "gstreamer-0.10 removed" - select BR2_LEGACY - help - Gstreamer-0.10 package was removed. It has been deprecated - upstream since 2012, and is missing a lot of features and - fixes compared to gstreamer-1.x. - -config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS - bool "nvidia-tegra23 binaries gstreamer 0.10.x support removed" - select BR2_LEGACY - help - Gstreamer 0.10.x is no longer available in Buildroot, so - neither is the support in nvidia-tegra23 binaries. - -config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_NV_SAMPLE_APPS - bool "nvidia-tegra23 binaries sample apps removed" - select BR2_LEGACY - help - Gstreamer 0.10.x is no longer available in Buildroot, so - neither is the support in nvidia-tegra23 binaries. - -config BR2_PACKAGE_FREERDP_GSTREAMER - bool "freerdp gstreamer 0.10.x support removed" - select BR2_LEGACY - help - Gstreamer 0.10.x is no longer available in Buildroot, so - neither is the support in freerdp. - -config BR2_PACKAGE_OPENCV3_WITH_GSTREAMER - bool "opencv3 gstreamer 0.10.x support removed" - select BR2_LEGACY - help - Gstreamer 0.10.x is no longer available in Buildroot, so - neither is the support in opencv3. - -config BR2_PACKAGE_OPENCV_WITH_GSTREAMER - bool "opencv gstreamer 0.10.x support removed" - select BR2_LEGACY - help - Gstreamer 0.10.x is no longer available in Buildroot, so - neither is the support in opencv. - -config BR2_PACKAGE_LIBPLAYER - bool "libplayer package was removed" - select BR2_LEGACY - help - The libplayer package was removed. The latest release is - from 2010 and none of the backends are available in - Buildroot any more. - -config BR2_GCC_VERSION_OR1K - bool "gcc 5.x fork for or1k has been removed" - select BR2_LEGACY - help - Support for gcc 5.x for or1k has been removed. The current - default version (9.x or later) has been selected instead. - -config BR2_PACKAGE_BLUEZ_UTILS - bool "bluez-utils was removed" - select BR2_LEGACY - select BR2_PACKAGE_BLUEZ5_UTILS if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 \ - && BR2_TOOLCHAIN_HAS_SYNC_4 - help - The bluez-utils (BlueZ 4.x) package was removed as it is - deprecated since a long time. As an alternative, the - bluez5-utils (BlueZ 5.x) has been automatically selected in - your configuration. - -config BR2_PACKAGE_GADGETFS_TEST - bool "gadgetfs-test was removed" - select BR2_LEGACY - help - The gadgetfs-test package was removed. Gadgetfs has been - deprecated in favour of functionfs. Consider using - gadget-tool (gt) instead. - -config BR2_PACKAGE_FIS - bool "fis was removed" - select BR2_LEGACY - help - The fis package was removed. - -config BR2_PACKAGE_REFPOLICY_POLICY_VERSION - string "refpolicy policy version" - help - The refpolicy policy version option has been moved to the - libsepol package. - -config BR2_PACKAGE_REFPOLICY_POLICY_VERSION_WRAP - bool - default y if BR2_PACKAGE_REFPOLICY_POLICY_VERSION != "" - select BR2_LEGACY - -config BR2_PACKAGE_CELT051 - bool "celt051 package was removed" - select BR2_LEGACY - select BR2_PACKAGE_OPUS - help - The celt051 package was removed as it is now obsolete since - the CELT codec has been merged into the IETF Opus codec. As - a result, the opus package has been automatically selected - in your configuration. - -config BR2_PACKAGE_WIREGUARD - bool "wireguard package renamed" - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - select BR2_LEGACY - select BR2_PACKAGE_WIREGUARD_LINUX_COMPAT if BR2_LINUX_KERNEL - select BR2_PACKAGE_WIREGUARD_TOOLS - help - The wireguard package has been renamed to wireguard-tools - for the userspace tooling and wireguard-linux-compat for the - kernel side for legacy (<5.6) kernels to match upstream. - -config BR2_PACKAGE_PERL_NET_PING - bool "perl-net-ping was removed" - select BR2_LEGACY - help - Net::Ping is a Perl core module (ie. bundled with perl). - -config BR2_PACKAGE_PERL_MIME_BASE64 - bool "perl-mime-base64 was removed" - select BR2_LEGACY - help - MIME::Base64 is a Perl core module (ie. bundled with perl). - -config BR2_PACKAGE_PERL_DIGEST_MD5 - bool "perl-digest-md5 was removed" - select BR2_LEGACY - help - Digest::MD5 is a Perl core module (ie. bundled with perl). - -config BR2_PACKAGE_ERLANG_P1_ICONV - bool "erlang-p1-iconv has been removed" - select BR2_LEGACY - help - The erlang-p1-iconv package was no longer used by ejabberd, - and was no longer maintained upstream, so it was removed. - -config BR2_KERNEL_HEADERS_5_3 - bool "kernel headers version 5.3.x are no longer supported" - select BR2_LEGACY - help - Version 5.3.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_PACKAGE_PYTHON_SCAPY3K - bool "python-scapy3k is replaced by python-scapy" - select BR2_LEGACY - select BR2_PACKAGE_PYTHON_SCAPY - help - python-scapy3k has been deprecated, since python-scapy has - gained Python 3 support. Use BR2_PACKAGE_PYTHON_SCAPY - instead. - -config BR2_BINUTILS_VERSION_2_30_X - bool "binutils version 2.30 support removed" - select BR2_LEGACY - help - Support for binutils version 2.30 has been removed. The - current default version (2.31 or later) has been selected - instead. - -config BR2_PACKAGE_RPI_USERLAND_START_VCFILED - bool "rpi-userland start vcfiled was removed" - select BR2_LEGACY - help - The vcfiled support was removed upstream. - -comment "Legacy options removed in 2019.11" - -config BR2_PACKAGE_OPENVMTOOLS_PROCPS - bool "openvmtools' procps support was removed" - select BR2_LEGACY - help - Upstream stopped supporting this option a while ago. - -config BR2_PACKAGE_ALLJOYN - bool "alljoyn was removed" - select BR2_LEGACY - help - The alljoyn framework is dead - -config BR2_PACKAGE_ALLJOYN_BASE - bool "alljoyn-base was removed" - select BR2_LEGACY - help - The alljoyn framework is dead - -config BR2_PACKAGE_ALLJOYN_BASE_CONTROLPANEL - bool "alljoyn-base control panel was removed" - select BR2_LEGACY - help - The alljoyn framework is dead - -config BR2_PACKAGE_ALLJOYN_BASE_NOTIFICATION - bool "alljoyn-base notification was removed" - select BR2_LEGACY - help - The alljoyn framework is dead - -config BR2_PACKAGE_ALLJOYN_BASE_ONBOARDING - bool "alljoyn-base onboarding was removed" - select BR2_LEGACY - help - The alljoyn framework is dead - -config BR2_PACKAGE_ALLJOYN_TCL_BASE - bool "alljoyn-tcl-base was removed" - select BR2_LEGACY - help - The alljoyn framework is dead - -config BR2_PACKAGE_ALLJOYN_TCL - bool "alljoyn-tcl was removed" - select BR2_LEGACY - help - The alljoyn framework is dead - -config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS - string "toolchain-external extra libs option has been renamed" - help - The option BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS has - been renamed to BR2_TOOLCHAIN_EXTRA_LIBS. - -config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS_WRAP - bool - default y if BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS != "" - select BR2_LEGACY - -config BR2_PACKAGE_PYTHON_PYSNMP_APPS - bool "python-pysnmp-apps was removed" - select BR2_LEGACY - select BR2_PACKAGE_SNMPCLITOOLS - help - Following upstream changes, the python-pysnmp-apps package - has been removed, and snmpclitools should be used as a - replacement. - -config BR2_KERNEL_HEADERS_5_2 - bool "kernel headers version 5.2.x are no longer supported" - select BR2_LEGACY - help - Version 5.2.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_TARGET_RISCV_PK - bool "riscv-pk was removed" - select BR2_LEGACY - help - The RISC-V Proxy Kernel (pk) and Berkley Boot Loader (BBL) - have been replaced with OpenSBI. - -config BR2_PACKAGE_SQLITE_STAT3 - bool "sqlite stat3 support was removed" - select BR2_LEGACY - help - Upstream removed the support for stat3. - -config BR2_KERNEL_HEADERS_5_1 - bool "kernel headers version 5.1.x are no longer supported" - select BR2_LEGACY - help - Version 5.1.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_PACKAGE_DEVMEM2 - bool "devmem2 package was removed" - select BR2_LEGACY - help - Use the the Busybox devmem utility, instead, which provides - the same functionality. - -config BR2_PACKAGE_USTR - bool "ustr package removed" - select BR2_LEGACY - help - The 'ustr' package was only used by SELinux libsemanage, but - since SELinux 2.7, ustr is no longer used. Therefore, we - removed this package from Buildroot. - -config BR2_PACKAGE_KODI_SCREENSAVER_PLANESTATE - bool "kodi-screensaver-planestate package was removed" - select BR2_LEGACY - help - This package is incompatible with Kodi 18.x. - -config BR2_PACKAGE_KODI_VISUALISATION_WAVEFORHUE - bool "kodi-visualisation-waveforhue package was removed" - select BR2_LEGACY - help - This package is incompatible with Kodi 18.x. - -config BR2_PACKAGE_KODI_AUDIODECODER_OPUS - bool "kodi-audiodecoder-opus package was removed" - select BR2_LEGACY - help - This package is incompatible with Kodi 18.x. - -config BR2_PACKAGE_MESA3D_OSMESA - bool "mesa OSMesa option renamed" - select BR2_PACKAGE_MESA3D_OSMESA_CLASSIC if BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST - select BR2_LEGACY - help - The option was renamed in order to match the naming used - by the meson buildsystem. - -config BR2_PACKAGE_HOSTAPD_DRIVER_RTW - bool "hostapd rtl871xdrv driver removed" - select BR2_LEGACY - help - Since the update of hostapd to 2.9, the patch provided for - the rtl871xdrv no longer works, although it - applies. Moreover, AP support for Realtek chips is broken - anyway in kernels > 4.9. Therefore, this option has been - removed. - -config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_NEW - bool "new dbus support option in wpa_supplicant was renamed" - select BR2_PACKAGE_WPA_SUPPLICANT_DBUS if BR2_TOOLCHAIN_HAS_THREADS - select BR2_LEGACY - help - The new dbus support option was renamed. - -config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_OLD - bool "old dbus support in wpa_supplicant was removed" - select BR2_LEGACY - help - The old dbus support was removed. - -comment "Legacy options removed in 2019.08" - -config BR2_TARGET_TS4800_MBRBOOT - bool "ts4800-mbrboot package was removed" - select BR2_LEGACY - help - The defconfig for the TS4800 platform has been removed, so - the ts4800-mbrboot package, containing the boot code for - this specific platform has been removed as welL. - -config BR2_PACKAGE_LIBAMCODEC - bool "liamcodec package was removed" - select BR2_LEGACY - help - Support for odroidc2 based systems was removed, making the - libamcodec package useless. - -config BR2_PACKAGE_ODROID_SCRIPTS - bool "odroid-scripts package was removed" - select BR2_LEGACY - help - Support for odroidc2 based systems was removed, making the - odroid-scripts package useless. - -config BR2_PACKAGE_ODROID_MALI - bool "odroid-mali package was removed" - select BR2_LEGACY - help - Support for odroidc2 based systems was removed, making the - odroid-mali package useless. - -config BR2_PACKAGE_KODI_PLATFORM_AML - bool "Kodi AMLogic support was removed" - select BR2_LEGACY - help - Support for AMLogic was removed due to the removal of the - odroidc2 defconfig. - -config BR2_GCC_VERSION_6_X - bool "gcc 6.x support removed" - select BR2_LEGACY - help - Support for gcc version 6.x has been removed. The current - default version (8.x or later) has been selected instead. - -config BR2_GCC_VERSION_4_9_X - bool "gcc 4.9.x support removed" - select BR2_LEGACY - help - Support for gcc version 4.9.x has been removed. The current - default version (8.x or later) has been selected instead. - -config BR2_GDB_VERSION_7_12 - bool "gdb 7.12.x has been removed" - select BR2_LEGACY - help - The 7.12.x version of gdb has been removed. Use a newer - version instead. - -config BR2_PACKAGE_XAPP_MKFONTDIR - bool "mkfontdir is now included in xapp_mkfontscale" - select BR2_PACKAGE_XAPP_MKFONTSCALE - select BR2_LEGACY - help - xapp_mkfontscale now includes the mkfontdir script previously - distributed separately for compatibility with older X11 - versions. - -config BR2_GDB_VERSION_8_0 - bool "gdb 8.0.x has been removed" - select BR2_LEGACY - help - The 8.0.x version of gdb has been removed. Use a newer - version instead. - -config BR2_KERNEL_HEADERS_4_20 - bool "kernel headers version 4.20.x are no longer supported" - select BR2_LEGACY - help - Version 4.20.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_5_0 - bool "kernel headers version 5.0.x are no longer supported" - select BR2_LEGACY - help - Version 5.0.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -comment "Legacy options removed in 2019.05" - -config BR2_CSKY_DSP - bool "C-SKY DSP support removed" - select BR2_LEGACY - help - C-SKY DSP instruction support for ck810 / ck807 was removed, - as it was no longer supported in C-SKY gcc. Perhaps the VDSP - instructions should be used instead, using the BR2_CSKY_VDSP - option. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COMPOSITOR - bool "compositor moved to gst1-plugins-base" - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR - select BR2_LEGACY - help - The gst1-plugins-bad compositor plugin has moved - to gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IQA - bool "gst-plugins-bad IQA option was removed" - select BR2_LEGACY - help - The gst1-plugins-bad IQA option was removed. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV - bool "gst-plugins-bad opencv option was removed" - select BR2_LEGACY - help - The gst1-plugins-bad opencv option was removed because - buildroot does not have the opencv_contrib package which - is required for the bgsegm module which gst1-plugins-bad - now requires along with opencv3. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_STEREO - bool "stereo was merged into audiofx in gst1-plugins-good" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX - help - The gst1-plugins-bad stereo plugin has merged with the - gst1-plugins-base audiofx plugin. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD - bool "gst-plugins-bad vcd plugin was removed." - select BR2_LEGACY - help - The gst1-plugins-bad vcd plugin was removed. - -config BR2_PACKAGE_LUNIT - bool "lunit package removed" - select BR2_LEGACY - select BR2_PACKAGE_LUA_LUNITX - help - The lunit package was removed in favor of its fork lunitx, - which supports all versions of Lua. - -config BR2_PACKAGE_FFMPEG_FFSERVER - bool "ffmpeg ffserver removed" - select BR2_LEGACY - help - On July 10th, 2016, ffserver program has been dropped. - -config BR2_PACKAGE_LIBUMP - bool "libump package removed" - select BR2_LEGACY - help - The libump package was removed, it was only used as a - dependency of sunxi-mali, which itself was removed. - -config BR2_PACKAGE_SUNXI_MALI - bool "sunxi-mali package removed" - select BR2_LEGACY - select BR2_PACKAGE_SUNXI_MALI_MAINLINE - help - The sunxi-mali package was removed, as the - sunxi-mali-mainline package replaces it for mainline - kernels on Allwinner platforms. - -config BR2_BINUTILS_VERSION_2_29_X - bool "binutils version 2.29 support removed" - select BR2_LEGACY - help - Support for binutils version 2.29 has been removed. The - current default version (2.31 or later) has been selected - instead. - -config BR2_BINUTILS_VERSION_2_28_X - bool "binutils version 2.28 support removed" - select BR2_LEGACY - help - Support for binutils version 2.28 has been removed. The - current default version (2.31 or later) has been selected - instead. - -config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_APEXSINK - bool "gst-plugins-bad apexsink option removed" - select BR2_LEGACY - help - The gst-plugins-bad apexsink option was removed. - -comment "Legacy options removed in 2019.02" - -config BR2_PACKAGE_QT - bool "qt package removed" - select BR2_LEGACY - help - The qt package was removed. - -config BR2_PACKAGE_QTUIO - bool "qtuio package removed" - select BR2_LEGACY - help - The qtuio package was removed. - -config BR2_PACKAGE_PINENTRY_QT4 - bool "pinentry-qt4 option removed" - select BR2_LEGACY - help - The pinentry-qt4 option was removed. - -config BR2_PACKAGE_POPPLER_QT - bool "poppler qt option removed" - select BR2_LEGACY - help - The poppler qt option was removed. - -config BR2_PACKAGE_OPENCV3_WITH_QT - bool "opencv3 qt backend option removed" - select BR2_LEGACY - help - The opencv3 qt backend option was removed. - -config BR2_PACKAGE_OPENCV_WITH_QT - bool "opencv qt backend option removed" - select BR2_LEGACY - help - The opencv qt backend option was removed. - -config BR2_PACKAGE_AMD_CATALYST_CCCLE - bool "catalyst control center option removed" - select BR2_LEGACY - help - The AMD Catalyst Control Center option was removed. - -config BR2_PACKAGE_SDL_QTOPIA - bool "sdl qtopia video driver option removed" - select BR2_LEGACY - help - The SDL QTopia video driver option was removed. - -config BR2_PACKAGE_PYTHON_PYQT - bool "python-pyqt package removed" - select BR2_LEGACY - help - The python-pyqt package was removed. Consider python-pyqt5 - instead. - -config BR2_PACKAGE_LUACRYPTO - bool "luacrypto package removed" - select BR2_LEGACY - help - The luacrypto package was removed. Consider luaossl instead. - -config BR2_PACKAGE_TN5250 - bool "tn5250 package removed" - select BR2_LEGACY - help - The tn5250 package was removed. - -config BR2_PACKAGE_BOOST_SIGNALS - bool "Boost signals removed" - select BR2_LEGACY - help - Its removal was announced in boost 1.68 and its deprecation - was announced in 1.54. Users are encouraged to use Signals2 - instead. - -config BR2_PACKAGE_FFTW_PRECISION_SINGLE - bool "single" - select BR2_LEGACY - select BR2_PACKAGE_FFTW_SINGLE - help - This option has been removed in favor of - BR2_PACKAGE_FFTW_SINGLE. - -config BR2_PACKAGE_FFTW_PRECISION_DOUBLE - bool "double" - select BR2_LEGACY - select BR2_PACKAGE_FFTW_DOUBLE - help - This option has been removed in favor of - BR2_PACKAGE_FFTW_DOUBLE. - -config BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE - bool "long double" - depends on !(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && \ - (BR2_arm || BR2_mips || BR2_mipsel)) - select BR2_LEGACY - select BR2_PACKAGE_FFTW_LONG_DOUBLE - help - This option has been removed in favor of - BR2_PACKAGE_FFTW_LONG_DOUBLE. - -config BR2_PACKAGE_FFTW_PRECISION_QUAD - bool "quad" - depends on (BR2_i386 || BR2_x86_64) && BR2_USE_WCHAR - select BR2_LEGACY - select BR2_PACKAGE_FFTW_QUAD - help - This option has been removed in favor of - BR2_PACKAGE_FFTW_QUAD. - -config BR2_PACKAGE_LUA_5_2 - bool "Lua 5.2.x version removed" - select BR2_LEGACY - select BR2_PACKAGE_LUA_5_3 - help - The Lua 5.2.x version was removed. - -config BR2_TARGET_GENERIC_PASSWD_MD5 - bool "target passwd md5 format support has been removed" - select BR2_LEGACY - help - The default has been moved to SHA256 and all C libraries - now support that method by default - -comment "Legacy options removed in 2018.11" - -config BR2_TARGET_XLOADER - bool "xloader has been removed" - select BR2_LEGACY - help - The package has been removed as u-boot SPL provides - similar functionality - -config BR2_PACKAGE_TIDSP_BINARIES - bool "tidsp-binaries package removed" - select BR2_LEGACY - help - The tidsp-binaries package was removed. - -config BR2_PACKAGE_DSP_TOOLS - bool "dsp-tools package removed" - select BR2_LEGACY - help - The dsp-tools package was removed. - -config BR2_PACKAGE_GST_DSP - bool "gst-dsp package removed" - select BR2_LEGACY - help - The gst-dsp package was removed. - -config BR2_PACKAGE_BOOTUTILS - bool "bootutils package removed" - select BR2_LEGACY - help - The bootutils package was removed. - -config BR2_PACKAGE_EXPEDITE - bool "expedite package has been removed" - select BR2_LEGACY - help - expedite is not actively maintained anymore. - https://sourceforge.net/p/enlightenment/mailman/message/36428571 - -config BR2_PACKAGE_MESA3D_OPENGL_TEXTURE_FLOAT - bool "mesa3d opengl texture float option removed" - select BR2_LEGACY - help - mesa3d now unconditionally enables floating-point textures, - as the corresponding patent has expired. - -config BR2_KERNEL_HEADERS_4_10 - bool "kernel headers version 4.10.x are no longer supported" - select BR2_LEGACY - help - Version 4.10.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_11 - bool "kernel headers version 4.11.x are no longer supported" - select BR2_LEGACY - help - Version 4.11.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_12 - bool "kernel headers version 4.12.x are no longer supported" - select BR2_LEGACY - help - Version 4.12.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_13 - bool "kernel headers version 4.13.x are no longer supported" - select BR2_LEGACY - help - Version 4.13.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_15 - bool "kernel headers version 4.15.x are no longer supported" - select BR2_LEGACY - help - Version 4.15.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_17 - bool "kernel headers version 4.17.x are no longer supported" - select BR2_LEGACY - help - Version 4.17.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_PACKAGE_LIBNFTNL_XML - bool "libnftl no longer supports XML output" - select BR2_LEGACY - help - libnftnl removed integration with libmxml. - -config BR2_KERNEL_HEADERS_3_2 - bool "kernel headers version 3.2.x are no longer supported" - select BR2_LEGACY - help - Version 3.2.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_1 - bool "kernel headers version 4.1.x are no longer supported" - select BR2_LEGACY - help - Version 4.1.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_16 - bool "kernel headers version 4.16.x are no longer supported" - select BR2_LEGACY - help - Version 4.16.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_18 - bool "kernel headers version 4.18.x are no longer supported" - select BR2_LEGACY - help - Version 4.18.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -############################################################################### -comment "Legacy options removed in 2018.08" - -config BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT - bool "docker-engine static client option renamed" - select BR2_LEGACY - select BR2_PACKAGE_DOCKER_CLI_STATIC - help - BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT has been renamed to - BR2_PACKAGE_DOCKER_CLI_STATIC, following the package split of - docker-engine and docker-cli. - -config BR2_PACKAGE_XPROTO_APPLEWMPROTO - bool "xproto-applewmproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-applewmproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_BIGREQSPROTO - bool "xproto-bigreqsproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-bigreqsproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_COMPOSITEPROTO - bool "xproto-compositeproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-compositeproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_DAMAGEPROTO - bool "xproto-dameproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-dameproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_DMXPROTO - bool "xproto-dmxproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-dmxproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_DRI2PROTO - bool "xproto-dri2proto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-dri2proto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_DRI3PROTO - bool "xproto-dri3proto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-dri3proto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_FIXESPROTO - bool "xproto-fixesproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-fixesproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_FONTCACHEPROTO - bool "xproto-fontcacheproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-fontcacheproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_FONTSPROTO - bool "xproto-fontsproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-fontsproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_GLPROTO - bool "xproto-glproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-glproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_INPUTPROTO - bool "xproto-inputproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-inputproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_KBPROTO - bool "xproto-kbproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-kbproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_PRESENTPROTO - bool "xproto-presentproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-presentproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_RANDRPROTO - bool "xproto-randrproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-randrproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_RECORDPROTO - bool "xproto-recordproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-recordproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_RENDERPROTO - bool "xproto-renderproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-renderproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_RESOURCEPROTO - bool "xproto-resourceproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-resourceproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_SCRNSAVERPROTO - bool "xproto-scrnsaverprot package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-scrnsaverprot package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_VIDEOPROTO - bool "xproto-videoproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-videoproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_WINDOWSWMPROTO - bool "xproto-windowswmproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-windowswmproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XCMISCPROTO - bool "xproto-xcmiscproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xcmiscproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XEXTPROTO - bool "xproto-xextproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xextproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XF86BIGFONTPROTO - bool "xproto-xf86bigfontproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xf86bigfontproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XF86DGAPROTO - bool "xproto-xf86dgaproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xf86dgaproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XF86DRIPROTO - bool "xproto-xf86driproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xf86driproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO - bool "xproto-xf86vidmodeproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xf86vidmodeproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XINERAMAPROTO - bool "xproto-xineramaproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xineramaproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XPROTO - bool "xproto-xproto package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xproto package has been replaced by the - xorgproto package, which combines all xproto_* packages. - -config BR2_PACKAGE_XPROTO_XPROXYMANAGEMENTPROTOCOL - bool "xproto-xproxymanagementprotocol package replaced by xorgproto" - select BR2_LEGACY - select BR2_PACKAGE_XORGPROTO - help - The xproto-xproxymanagementprotocol package has been - replaced by the xorgproto package, which combines all - xproto_* packages. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_OPENGL - bool "gst1-plugins-bad opengl option moved to gst1-plugins-base" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL - help - The opengl option has been moved from gst1-plugins-bad to - gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_GLES2 - bool "gst1-plugins-bad gles2 option moved to gst1-plugins-base" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2 - help - The gles2 option has been moved from gst1-plugins-bad to - gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_GLX - bool "gst1-plugins-bad glx option moved to gst1-plugins-base" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX - help - The glx option has been moved from gst1-plugins-bad to - gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_EGL - bool "gst1-plugins-bad egl option moved to gst1-plugins-base" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL - help - The egl option has been moved from gst1-plugins-bad to - gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_X11 - bool "gst1-plugins-bad x11 option moved to gst1-plugins-base" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11 - help - The x11 option has been moved from gst1-plugins-bad to - gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_WAYLAND - bool "gst1-plugins-bad wayland option moved to gst1-plugins-base" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND - help - The wayland option has been moved from gst1-plugins-bad to - gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_DISPMANX - bool "gst1-plugins-bad dispmanx option moved to gst1-plugins-base" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX - help - The dispmanx option has been moved from gst1-plugins-mad to - gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER - bool "gst1-plugins-bad audiomixer option moved to gst1-plugins-base" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER - help - The audiomixer option has been moved from gst1-plugins-bad to - gst1-plugins-base. - -config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_LAME - bool "gst1-plugins-ugly lame option moved to gst1-plugins-good" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME - help - The lame option has been moved from gst1-plugins-ugly to - gst1-plugins-good. - -config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPG123 - bool "gst1-plugins-ugly mpg123 option moved to gst1-plugins-good" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MPG123 - help - The mpg123 option has been moved from gst1-plugins-ugly to - gst1-plugins-good. - -config BR2_GDB_VERSION_7_11 - bool "gdb 7.11 has been removed" - select BR2_LEGACY - help - The 7.11 version of gdb has been removed. Use a newer version - instead. - -config BR2_GDB_VERSION_7_10 - bool "gdb 7.10 has been removed" - select BR2_LEGACY - help - The 7.10 version of gdb has been removed. Use a newer version - instead. - -############################################################################### -comment "Legacy options removed in 2018.05" - -config BR2_PACKAGE_MEDIAART_BACKEND_NONE - bool "libmediaart none backend option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_MEDIAART_BACKEND_NONE has been renamed to - BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE - -config BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF - bool "libmediaart gdk-pixbuf backend option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF has been renamed to - BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF - -config BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF - bool "libmediaart qt backend option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_MEDIAART_BACKEND_QT has been renamed to - BR2_PACKAGE_LIBMEDIAART_BACKEND_QT - -# Note: BR2_PACKAGE_TI_SGX_AM335X is still referenced from -# package/ti-sgx-km/Config.in -config BR2_PACKAGE_TI_SGX_AM335X - bool "ti-sgx-km AM335X option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_TI_SGX_AM335X has been renamed to - BR2_PACKAGE_TI_SGX_KM_AM335X. - -# Note: BR2_PACKAGE_TI_SGX_AM437X is still referenced from -# package/ti-sgx-km/Config.in -config BR2_PACKAGE_TI_SGX_AM437X - bool "ti-sgx-km AM437X option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_TI_SGX_AM437X has been renamed to - BR2_PACKAGE_TI_SGX_KM_AM437X. - -# Note: BR2_PACKAGE_TI_SGX_AM4430 is still referenced from -# package/ti-sgx-km/Config.in -config BR2_PACKAGE_TI_SGX_AM4430 - bool "ti-sgx-km AM4430 option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_TI_SGX_AM4430 has been renamed to - BR2_PACKAGE_TI_SGX_KM_AM4430. - -# Note: BR2_PACKAGE_TI_SGX_AM5430 is still referenced from -# package/ti-sgx-km/Config.in -config BR2_PACKAGE_TI_SGX_AM5430 - bool "ti-sgx-km AM5430 option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_TI_SGX_AM5430 has been renamed to - BR2_PACKAGE_TI_SGX_KM_AM5430. - -config BR2_PACKAGE_JANUS_AUDIO_BRIDGE - bool "janus-gateway audio-bridge option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_AUDIO_BRIDGE - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_AUDIO_BRIDGE has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_AUDIO_BRIDGE. - -config BR2_PACKAGE_JANUS_ECHO_TEST - bool "janus-gateway echo-test option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_ECHO_TEST - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_ECHO_TEST has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_ECHO_TEST. - -config BR2_PACKAGE_JANUS_RECORDPLAY - bool "janus-gateway recordplay option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_RECORDPLAY - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_RECORDPLAY has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_RECORDPLAY. - -config BR2_PACKAGE_JANUS_SIP_GATEWAY - bool "janus-gateway sip-gateway option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_SIP_GATEWAY - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_SIP_GATEWAY has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_SIP_GATEWAY. - -config BR2_PACKAGE_JANUS_STREAMING - bool "janus-gateway streaming option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_STREAMING - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_STREAMING has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_STREAMING. - -config BR2_PACKAGE_JANUS_TEXT_ROOM - bool "janus-gateway text-room option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_TEXT_ROOM - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_TEXT_ROOM has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_TEXT_ROOM. - -config BR2_PACKAGE_JANUS_VIDEO_CALL - bool "janus-gateway video-call option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_VIDEO_CALL - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_VIDEO_CALL has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_VIDEO_CALL. - -config BR2_PACKAGE_JANUS_VIDEO_ROOM - bool "janus-gateway video-room option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_VIDEO_ROOM - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_VIDEO_ROOM has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_VIDEO_ROOM. - -config BR2_PACKAGE_JANUS_MQTT - bool "janus-gateway mqtt option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_MQTT - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_MQTT has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_MQTT. - -config BR2_PACKAGE_JANUS_RABBITMQ - bool "janus-gateway rabbitmq option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_RABBITMQ - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_RABBITMQ has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_RABBITMQ. - -config BR2_PACKAGE_JANUS_REST - bool "janus-gateway rest option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_REST - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_REST has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_REST. - -config BR2_PACKAGE_JANUS_UNIX_SOCKETS - bool "janus-gateway unix-sockets option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_UNIX_SOCKETS - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_UNIX_SOCKETS has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_UNIX_SOCKETS. - -config BR2_PACKAGE_JANUS_WEBSOCKETS - bool "janus-gateway websockets option renamed" - select BR2_LEGACY - select BR2_PACKAGE_JANUS_GATEWAY_WEBSOCKETS - help - For consistency reasons, the janus-gateway option - BR2_PACKAGE_JANUS_WEBSOCKETS has been renamed to - BR2_PACKAGE_JANUS_GATEWAY_WEBSOCKETS. - -config BR2_PACKAGE_IPSEC_SECCTX_DISABLE - bool "ipsec-tools security context disable option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_IPSEC_SECCTX_DISABLE was renamed to - BR2_PACKAGE_IPSEC_TOOLS_SECCTX_DISABLE. - -config BR2_PACKAGE_IPSEC_SECCTX_ENABLE - bool "ipsec-tools SELinux security context enable option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_IPSEC_SECCTX_ENABLE was renamed to - BR2_PACKAGE_IPSEC_TOOLS_SECCTX_ENABLE. - -config BR2_PACKAGE_IPSEC_SECCTX_KERNEL - bool "ipsec-tools kernel security context enable option renamed" - select BR2_LEGACY - help - For consistency reasons, the option - BR2_PACKAGE_IPSEC_SECCTX_KERNEL was renamed to - BR2_PACKAGE_IPSEC_TOOLS_SECCTX_KERNEL. - -config BR2_PACKAGE_LIBTFDI_CPP - bool "libftdi C++ bindings option renamed" - select BR2_LEGACY - select BR2_PACKAGE_LIBFTDI_CPP - help - The option BR2_PACKAGE_LIBTFDI_CPP was renamed to - BR2_PACKAGE_LIBFTDI_CPP in order to fix a typo in the option - name. - -config BR2_PACKAGE_JQUERY_UI_THEME_BLACK_TIE - bool "jquery-ui-themes option black-tie renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - black-tie theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_BLACK_TIE to - BR2_PACKAGE_JQUERY_UI_THEMES_BLACK_TIE. - -config BR2_PACKAGE_JQUERY_UI_THEME_BLITZER - bool "jquery-ui-themes option blitzer renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - blitzer theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_BLITZER to - BR2_PACKAGE_JQUERY_UI_THEMES_BLITZER. - -config BR2_PACKAGE_JQUERY_UI_THEME_CUPERTINO - bool "jquery-ui-themes option cupertino renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - cupertino theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_CUPERTINO to - BR2_PACKAGE_JQUERY_UI_THEMES_CUPERTINO. - -config BR2_PACKAGE_JQUERY_UI_THEME_DARK_HIVE - bool "jquery-ui-themes option dark-hive renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - dark-hive theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_DARK_HIVE to - BR2_PACKAGE_JQUERY_UI_THEMES_DARK_HIVE. - -config BR2_PACKAGE_JQUERY_UI_THEME_DOT_LUV - bool "jquery-ui-themes option dot-luv renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - dot-luv theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_DOT_LUV to - BR2_PACKAGE_JQUERY_UI_THEMES_DOT_LUV. - -config BR2_PACKAGE_JQUERY_UI_THEME_EGGPLANT - bool "jquery-ui-themes option eggplant renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - eggplant theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_EGGPLANT to - BR2_PACKAGE_JQUERY_UI_THEMES_EGGPLANT. - -config BR2_PACKAGE_JQUERY_UI_THEME_EXCITE_BIKE - bool "jquery-ui-themes option excite-bike renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - excite-bike theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_EXCITE_BIKE to - BR2_PACKAGE_JQUERY_UI_THEMES_EXCITE_BIKE. - -config BR2_PACKAGE_JQUERY_UI_THEME_FLICK - bool "jquery-ui-themes option flick renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - flick theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_FLICK to - BR2_PACKAGE_JQUERY_UI_THEMES_FLICK. - -config BR2_PACKAGE_JQUERY_UI_THEME_HOT_SNEAKS - bool "jquery-ui-themes option hot-sneaks renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - hot-sneaks theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_HOT_SNEAKS to - BR2_PACKAGE_JQUERY_UI_THEMES_HOT_SNEAKS. - -config BR2_PACKAGE_JQUERY_UI_THEME_HUMANITY - bool "jquery-ui-themes option humanity renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - humanity theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_HUMANITY to - BR2_PACKAGE_JQUERY_UI_THEMES_HUMANITY. - -config BR2_PACKAGE_JQUERY_UI_THEME_LE_FROG - bool "jquery-ui-themes option le-frog renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - le-frog theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_LE_FROG to - BR2_PACKAGE_JQUERY_UI_THEMES_LE_FROG. - -config BR2_PACKAGE_JQUERY_UI_THEME_MINT_CHOC - bool "jquery-ui-themes option mint-choc renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - mint-choc theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_MINT_CHOC to - BR2_PACKAGE_JQUERY_UI_THEMES_MINT_CHOC. - -config BR2_PACKAGE_JQUERY_UI_THEME_OVERCAST - bool "jquery-ui-themes option overcast renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - overcast theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_OVERCAST to - BR2_PACKAGE_JQUERY_UI_THEMES_OVERCAST. - -config BR2_PACKAGE_JQUERY_UI_THEME_PEPPER_GRINDER - bool "jquery-ui-themes option pepper-grinder renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - pepper-grinder theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_PEPPER_GRINDER to - BR2_PACKAGE_JQUERY_UI_THEMES_PEPPER_GRINDER. - -config BR2_PACKAGE_JQUERY_UI_THEME_REDMOND - bool "jquery-ui-themes option redmond renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - redmond theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_REDMOND to - BR2_PACKAGE_JQUERY_UI_THEMES_REDMOND. - -config BR2_PACKAGE_JQUERY_UI_THEME_SMOOTHNESS - bool "jquery-ui-themes option smoothness renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - smoothness theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_SMOOTHNESS to - BR2_PACKAGE_JQUERY_UI_THEMES_SMOOTHNESS. - -config BR2_PACKAGE_JQUERY_UI_THEME_SOUTH_STREET - bool "jquery-ui-themes option south-street renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - south-street theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_SOUTH_STREET to - BR2_PACKAGE_JQUERY_UI_THEMES_SOUTH_STREET. - -config BR2_PACKAGE_JQUERY_UI_THEME_START - bool "jquery-ui-themes option start renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - start theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_START to - BR2_PACKAGE_JQUERY_UI_THEMES_START. - -config BR2_PACKAGE_JQUERY_UI_THEME_SUNNY - bool "jquery-ui-themes option sunny renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - sunny theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_SUNNY to - BR2_PACKAGE_JQUERY_UI_THEMES_SUNNY. - -config BR2_PACKAGE_JQUERY_UI_THEME_SWANKY_PURSE - bool "jquery-ui-themes option swanky-purse renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - swanky-purse theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_SWANKY_PURSE to - BR2_PACKAGE_JQUERY_UI_THEMES_SWANKY_PURSE. - -config BR2_PACKAGE_JQUERY_UI_THEME_TRONTASTIC - bool "jquery-ui-themes option trontastic renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - trontastic theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_TRONTASTIC to - BR2_PACKAGE_JQUERY_UI_THEMES_TRONTASTIC. - -config BR2_PACKAGE_JQUERY_UI_THEME_UI_DARKNESS - bool "jquery-ui-themes option ui-darkness renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - ui-darkness theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_UI_DARKNESS to - BR2_PACKAGE_JQUERY_UI_THEMES_UI_DARKNESS. - -config BR2_PACKAGE_JQUERY_UI_THEME_UI_LIGHTNESS - bool "jquery-ui-themes option ui-lightness renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - ui-lightness theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_UI_LIGHTNESS to - BR2_PACKAGE_JQUERY_UI_THEMES_UI_LIGHTNESS. - -config BR2_PACKAGE_JQUERY_UI_THEME_VADER - bool "jquery-ui-themes option vader renamed" - select BR2_LEGACY - help - For consistency reasons, the jquery-ui-themes option for the - vader theme has been renamed from - BR2_PACKAGE_JQUERY_UI_THEME_VADER to - BR2_PACKAGE_JQUERY_UI_THEMES_VADER. - -config BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH - bool "bluez5-utils health plugin option renamed" - select BR2_LEGACY - select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH - help - For consistency reasons, the option - BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH has been renamed to - BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH. - -config BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI - bool "bluez5-utils midi plugin option renamed" - select BR2_LEGACY - select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI - help - For consistency reasons, the option - BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI has been renamed to - BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI. - -config BR2_PACKAGE_BLUEZ5_PLUGINS_NFC - bool "bluez5-utils nfc plugin option renamed" - select BR2_LEGACY - select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC - help - For consistency reasons, the option - BR2_PACKAGE_BLUEZ5_PLUGINS_NFC has been renamed to - BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC. - -config BR2_PACKAGE_BLUEZ5_PLUGINS_SAP - bool "bluez5-utils sap plugin option renamed" - select BR2_LEGACY - select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP - help - For consistency reasons, the option - BR2_PACKAGE_BLUEZ5_PLUGINS_SAP has been renamed to - BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP. - -config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS - bool "bluez5-utils sixaxis plugin option renamed" - select BR2_LEGACY - select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS - help - For consistency reasons, the option - BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS has been renamed to - BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS. - -config BR2_PACKAGE_TRANSMISSION_REMOTE - bool "transmission remote tool option removed" - select BR2_LEGACY - select BR2_PACKAGE_TRANSMISSION_DAEMON - help - Upstream does not provide a separate configure option for - the tool transmission-remote, it is built when the - transmission daemon has been enabled. Therefore, Buildroot - has automatically enabled BR2_PACKAGE_TRANSMISSION_DAEMON - for you. - -config BR2_PACKAGE_LIBKCAPI_APPS - bool "libkcapi test applications removed" - select BR2_LEGACY - select BR2_PACKAGE_LIBKCAPI_HASHER if !BR2_STATIC_LIBS - select BR2_PACKAGE_LIBKCAPI_RNGAPP - select BR2_PACKAGE_LIBKCAPI_SPEED - select BR2_PACKAGE_LIBKCAPI_TEST - help - Test applications (hasher, rng read, speed-test, test) now - have their own configuration options in the libkcapi menu. - -config BR2_PACKAGE_MPLAYER - bool "mplayer package removed" - select BR2_LEGACY - help - The mplayer package was removed. - -config BR2_PACKAGE_MPLAYER_MPLAYER - bool "mplayer package removed" - select BR2_LEGACY - help - The mplayer package was removed. - -config BR2_PACKAGE_MPLAYER_MENCODER - bool "mplayer package removed" - select BR2_LEGACY - help - The mplayer package was removed. - -config BR2_PACKAGE_LIBPLAYER_MPLAYER - bool "mplayer support in libplayer removed" - select BR2_LEGACY - help - The mplayer package was removed. - -config BR2_PACKAGE_IQVLINUX - bool "iqvlinux package removed" - select BR2_LEGACY - help - This package contained a kernel module from Intel, which - could only be used together with Intel userspace tools - provided under NDA, which also come with the same kernel - module. The copy of the kernel module available on - SourceForge is provided only to comply with the GPLv2 - requirement. Intel engineers were even surprised it even - built and were not willing to make any effort to fix their - tarball naming to contain a version number. Therefore, it - does not make sense for Buildroot to provide such a package. - - See https://sourceforge.net/p/e1000/bugs/589/ for the - discussion. - -config BR2_BINFMT_FLAT_SEP_DATA - bool "binfmt FLAT with separate code and data removed" - select BR2_LEGACY - help - This FLAT binary format was only used on Blackfin, which has - been removed. - -config BR2_bfin - bool "Blackfin architecture support removed" - select BR2_LEGACY - help - Following the removal of Blackfin support for the upstream - Linux kernel, Buildroot has removed support for this CPU - architecture. - -config BR2_PACKAGE_KODI_ADSP_BASIC - bool "kodi-adsp-basic package removed" - select BR2_LEGACY - help - kodi-adsp-basic is unmaintained - -config BR2_PACKAGE_KODI_ADSP_FREESURROUND - bool "kodi-adsp-freesurround package removed" - select BR2_LEGACY - help - kodi-adsp-freesurround is unmaintained - -############################################################################### -comment "Legacy options removed in 2018.02" - -config BR2_KERNEL_HEADERS_3_4 - bool "kernel headers version 3.4.x are no longer supported" - select BR2_LEGACY - help - Version 3.4.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_3_10 - bool "kernel headers version 3.10.x are no longer supported" - select BR2_LEGACY - help - Version 3.10.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_3_12 - bool "kernel headers version 3.12.x are no longer supported" - select BR2_LEGACY - help - Version 3.12.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_BINUTILS_VERSION_2_27_X - bool "binutils version 2.27 support removed" - select BR2_LEGACY - help - Support for binutils version 2.27 has been removed. The - current default version (2.29 or later) has been selected - instead. - -config BR2_PACKAGE_EEPROG - bool "eeprog package removed" - select BR2_LEGACY - select BR2_PACKAGE_I2C_TOOLS - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - help - The eeprog program is now provided by the i2c-tools package. - -config BR2_PACKAGE_GNUPG2_GPGV2 - bool "gnupg2 gpgv2 option removed" - select BR2_LEGACY - select BR2_PACKAGE_GNUPG2_GPGV - help - The gpgv2 executable is now named gpgv. The config option - has been renamed accordingly. - -config BR2_PACKAGE_IMX_GPU_VIV_APITRACE - bool "Vivante apitrace tool option removed" - select BR2_LEGACY - help - The apitrace tool for Vivante is not provided by the - imx-gpu-viv package any longer. - -config BR2_PACKAGE_IMX_GPU_VIV_G2D - bool "Vivante G2D libraries from imx-gpu-viv removed" - select BR2_LEGACY - select BR2_PACKAGE_IMX_GPU_G2D - help - The G2D libraries are now provided by the imx-gpu-g2d package. - -############################################################################### -comment "Legacy options removed in 2017.11" - -config BR2_PACKAGE_RFKILL - bool "rfkill package removed" - select BR2_LEGACY - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_RFKILL - help - The rfkill program is now provided by the util-linux package. - -config BR2_PACKAGE_UTIL_LINUX_RESET - bool "util-linux reset option removed" - select BR2_LEGACY - help - The util-linux package no longer offers a "reset" command. Use - either the reset command provided by BusyBox or select ncurses - programs, which will install a symlink from "tset" to reset. - -config BR2_PACKAGE_POLICYCOREUTILS_AUDIT2ALLOW - bool "policycoreutils audit2allow option removed" - select BR2_LEGACY - select BR2_PACKAGE_SELINUX_PYTHON - select BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW - help - The policycoreutils package no longer offers audit2allow - as a option. This package has been moved into the - selinux-python package by the SELinux maintainers. - -config BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND - bool "policycoreutils restorecond option removed" - select BR2_LEGACY - select BR2_PACKAGE_RESTORECOND - help - The policycoreutils package no longer offers restorecond - as a option. This package has been moved into a seperate - package maintained by the SELinux maintainers. - -config BR2_PACKAGE_SEPOLGEN - bool "sepolgen package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_SELINUX_PYTHON - select BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN - help - Sepolgen is no longer a individual package, but instead has - been moved into the selinux-python package by the SELinux - maintainers. - -config BR2_PACKAGE_OPENOBEX_BLUEZ - bool "openobex bluez option removed" - select BR2_LEGACY - select BR2_PACKAGE_BLUEZ_UTILS - help - The OpenOBEX package no longer offers an option to enable or - disable BlueZ support. Instead, BlueZ support is always - included when the bluez5_utils or bluez_utils package is - selected. - -config BR2_PACKAGE_OPENOBEX_LIBUSB - bool "openobex libusb option removed" - select BR2_LEGACY - select BR2_PACKAGE_LIBUSB - help - The OpenOBEX package no longer offers an option to enable or - disable libusb support. Instead, USB support is always - included when the libusb package is selected. - -config BR2_PACKAGE_OPENOBEX_APPS - bool "openobex apps option removed" - select BR2_LEGACY - help - The OpenOBEX package no longer offers an option to enable or - disable apps support. - -config BR2_PACKAGE_OPENOBEX_SYSLOG - bool "openobex syslog option removed" - select BR2_LEGACY - help - The OpenOBEX package no longer offers an option to enable or - disable syslog support. - -config BR2_PACKAGE_OPENOBEX_DUMP - bool "openobex dump option removed" - select BR2_LEGACY - help - The OpenOBEX package no longer offers an option to enable or - disable dump support. - -config BR2_PACKAGE_AICCU - bool "aiccu utility removed" - select BR2_LEGACY - help - As the SixXS project has ceased its operation on 2017-06-06, - the AICCU utility has no use anymore and has been removed. - - https://www.sixxs.net/sunset/ - -config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS - bool "util-linux login utilities option removed" - select BR2_LEGACY - select BR2_PACKAGE_UTIL_LINUX_LAST - select BR2_PACKAGE_UTIL_LINUX_LOGIN - select BR2_PACKAGE_UTIL_LINUX_RUNUSER - select BR2_PACKAGE_UTIL_LINUX_SU - select BR2_PACKAGE_UTIL_LINUX_SULOGIN - help - Login utilities (last, login, runuser, su, sulogin) now have - their own configuration options in the util-linux menu. - -############################################################################### -comment "Legacy options removed in 2017.08" - -config BR2_TARGET_GRUB - bool "grub (aka grub-legacy) has been removed" - select BR2_LEGACY - help - grub-legacy is no longer maintained, and no longer builds with - recent binutils versions. - - Use grub2 or syslinux instead. - -config BR2_PACKAGE_SIMICSFS - bool "simicsfs support removed" - select BR2_LEGACY - help - Support for simicsfs kernel driver that provides access to a - host computer's local filesystem when the target is - executing within a SIMICS simulation has been removed. - - Simics is now moving away from the simicsfs kernel module, - as the kernel module has required too much maintenance - work. Users should move to the user mode Simics agent - instead. - -config BR2_BINUTILS_VERSION_2_26_X - bool "binutils version 2.26 support removed" - select BR2_LEGACY - help - Support for binutils version 2.26 has been removed. The - current default version (2.28 or later) has been selected - instead. - -config BR2_XTENSA_OVERLAY_DIR - string "The BR2_XTENSA_OVERLAY_DIR option has been removed" - help - The BR2_XTENSA_OVERLAY_DIR has been removed in favour of - BR2_XTENSA_OVERLAY_FILE. You must now pass the complete - path to the overlay file, not to the directory containing - it. - -config BR2_XTENSA_OVERLAY_DIR_WRAP - bool - default y if BR2_XTENSA_OVERLAY_DIR != "" - select BR2_LEGACY - -config BR2_XTENSA_CUSTOM_NAME - string "The BR2_XTENSA_CUSTOM_NAME option has been removed" - help - The BR2_XTENSA_CUSTOM_NAME option has been removed. - -config BR2_XTENSA_CUSTOM_NAME_WRAP - bool - default y if BR2_XTENSA_CUSTOM_NAME != "" - select BR2_LEGACY - -config BR2_PACKAGE_HOST_MKE2IMG - bool "host mke2img has been removed" - select BR2_LEGACY - help - We now call mkfs directly to generate ext2/3/4 filesystem - image, so mke2img is no longer necessary. - -config BR2_TARGET_ROOTFS_EXT2_BLOCKS - int "exact size in blocks has been removed" - default 0 - help - This option has been removed in favor of - BR2_TARGET_ROOTFS_EXT2_SIZE. It has been set automatically - to the value you had before. Set to 0 here to remove the - warning. - -config BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP - bool - default y if BR2_TARGET_ROOTFS_EXT2_BLOCKS != 0 && \ - BR2_TARGET_ROOTFS_EXT2_BLOCKS != 61440 # deprecated default value - select BR2_LEGACY - -# Note: BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP still referenced in fs/ext2/Config.in - -config BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES - int "ext2 extra inodes has been removed" if BR2_TARGET_ROOTFS_EXT2_INODES = 0 - default 0 - help - Buildroot now uses mkfs.ext2/3/4 to generate ext2/3/4 - images. It now automatically selects the number of inodes - based on the image size. The extra number of inodes can no - longer be provided; instead, provide the total number of - inodes needed in BR2_TARGET_ROOTFS_EXT2_INODES. - -config BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES_WRAP - bool - default y if BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES != 0 - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDXAPARSE - bool "cdxaparse removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DATAURISRC - bool "dataurisrc moved to gstreamer1" - select BR2_LEGACY - help - Dataurisrc has moved to gstreamer core and is always built. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DCCP - bool "dccp removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HDVPARSE - bool "hdvparse removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MVE - bool "mve removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NUVDEMUX - bool "nuvdemux removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PATCHDETECT - bool "patchdetect removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI - bool "sdi removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTA - bool "tta removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOMEASURE - bool "videomeasure removed" - select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IQA - select BR2_LEGACY - help - videomeasure plugin has been removed and has been replaced by - iqa, which has automatically been enabled. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK - bool "apexsink removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL - bool "sdl removed" - select BR2_LEGACY - -config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MAD - bool "mad (*.mp3 audio) removed" - select BR2_LEGACY - -config BR2_STRIP_none - bool "Strip command 'none' has been removed" - select BR2_LEGACY - help - The strip command choice has been changed into a single - boolean option. Please check that the new setting is - correct (in the "Build options" sub-menu) - -config BR2_PACKAGE_BEECRYPT_CPP - bool "C++ support removed in beecrypt" - select BR2_LEGACY - help - Support for C++ depends on icu. The beecrypt package is - incompatible with icu 59+. - -config BR2_PACKAGE_SPICE_CLIENT - bool "spice client support removed" - select BR2_LEGACY - help - Spice client support has been removed upstream. The - functionality now lives in the spice-gtk widget and - virt-viewer. - -config BR2_PACKAGE_SPICE_GUI - bool "spice gui support removed" - select BR2_LEGACY - help - Spice gui support has been removed upstream. The - functionality now lives in the spice-gtk widget and - virt-viewer. - -config BR2_PACKAGE_SPICE_TUNNEL - bool "spice network redirection removed" - select BR2_LEGACY - help - Spice network redirection, aka tunnelling has been removed - upstream. - -config BR2_PACKAGE_INPUT_TOOLS - bool "input-tools removed" - select BR2_LEGACY - select BR2_PACKAGE_LINUXCONSOLETOOLS - help - input-tools has been removed, it is replaced by - linuxconsoletools, which has automatically been enabled. - -config BR2_PACKAGE_INPUT_TOOLS_INPUTATTACH - bool "inputattach moved to linuxconsoletools" - select BR2_LEGACY - select BR2_PACKAGE_LINUXCONSOLETOOLS - select BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH - help - input-tools has been removed, inputattach is now part - of linuxconsoletools, which has automatically been - enabled. - -config BR2_PACKAGE_INPUT_TOOLS_JSCAL - bool "jscal moved to linuxconsoletools" - select BR2_LEGACY - select BR2_PACKAGE_LINUXCONSOLETOOLS - select BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK - help - input-tools has been removed, jscal is now part - of linuxconsoletools, which has automatically been - enabled. - -config BR2_PACKAGE_INPUT_TOOLS_JSTEST - bool "jstest moved to linuxconsoletools" - select BR2_LEGACY - select BR2_PACKAGE_LINUXCONSOLETOOLS - select BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK - help - input-tools has been removed, jstest is now part - of linuxconsoletools, which has automatically been - enabled. - -config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH - bool "SH Sourcery toolchain has been removed" - select BR2_LEGACY - help - The Sourcery CodeBench toolchain for the sh architecture has - been removed, since it uses glibc older than 2.17 that - requires -lrt to link executables using clock_* system calls. - This makes this toolchain difficult to maintain over time. - -config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86 - bool "x86 Sourcery toolchain has been removed" - select BR2_LEGACY - help - The Sourcery CodeBench toolchain for the x86 architecture has - been removed, since it uses glibc older than 2.17 that - requires -lrt to link executables using clock_* system calls. - This makes this toolchain difficult to maintain over time. - -config BR2_GCC_VERSION_4_8_X - bool "gcc 4.8.x support removed" - select BR2_LEGACY - help - Support for gcc version 4.8.x has been removed. The current - default version (5.x or later) has been selected instead. - -############################################################################### -comment "Legacy options removed in 2017.05" - -config BR2_PACKAGE_SUNXI_MALI_R2P4 - bool "sunxi-mali r2p4 removed" - select BR2_LEGACY - help - sunxi-mali libMali for r2p4 Mali kernel module has been - removed since the libump package only provides libUMP.so.3. - libMali for r2p4 Mali kernel module requires libUMP.so.2. - -config BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT - bool "CoffeeScript option has been removed" - select BR2_LEGACY - help - The option to enable NodeJS CoffeeScript has been removed. - To continue using it, add "coffee-script" to - BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL. - -config BR2_PACKAGE_NODEJS_MODULES_EXPRESS - bool "Express web application framework option has been removed" - select BR2_LEGACY - help - The option to enable the NodeJS Express web application - framework has been removed. To continue using it, add - "express" to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL. - -config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL - bool "bluez5_utils gatttool install option removed" - select BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED - help - The option to install gatttool specifically has been removed. - Since version 5.44 gatttool is in the list of deprecated - tools. The option to build and install deprecated tools has - been automatically enabled. - -config BR2_PACKAGE_OPENOCD_FT2XXX - bool "openocd ft2232 support has been removed" - select BR2_PACKAGE_OPENOCD_FTDI - select BR2_LEGACY - help - FT2232 support in OpenOCD has been removed, it's replaced by - FDTI support, which has automatically been enabled. - -config BR2_PACKAGE_KODI_RTMPDUMP - bool "kodi rtmp has been removed" - select BR2_LEGACY - select BR2_PACKAGE_KODI_INPUTSTREAM_RTMP - help - Internal rtmp support was removed from Kodi. - -config BR2_PACKAGE_KODI_VISUALISATION_FOUNTAIN - bool "kodi-visualisation-fountain has been removed" - select BR2_LEGACY - help - According to upstream 'the visualization is not currently - in a working shape.' - -config BR2_PACKAGE_PORTMAP - bool "portmap has been removed" - select BR2_LEGACY - select BR2_PACKAGE_RPCBIND - help - The portmap upstream tarball is removed, no releases since - ten years and latest change in upstream git in 2014. - You should better use rpcbind as a RPC portmapper. - -config BR2_BINUTILS_VERSION_2_25_X - bool "binutils version 2.25 support removed" - select BR2_LEGACY - help - Support for binutils version 2.25 has been removed. The - current default version (2.27 or later) has been selected - instead. - -config BR2_TOOLCHAIN_BUILDROOT_INET_RPC - bool "uclibc RPC support has been removed" - select BR2_LEGACY - help - uClibc-ng removed internal RPC implementation in 1.0.23. You - should use libtirpc instead. - -config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS - int "extra size in blocks has been removed" - default 0 - help - Since the support for auto calculation of the filesystem size - has been removed, this option is now useless and must be 0. - You may want to check that BR2_TARGET_ROOTFS_EXT2_BLOCKS - matchs your needs. - -config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS_WRAP - bool - default y if BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS != 0 - select BR2_LEGACY - -config BR2_PACKAGE_SYSTEMD_KDBUS - bool "systemd-kdbus has been removed" - select BR2_LEGACY - help - --enable/disable-kdbus configure option has been removed since - systemd-231. - -config BR2_PACKAGE_POLARSSL - bool "polarssl has been removed" - select BR2_LEGACY - help - The polarssl crypto library has been removed since the 1.2.x - release branch is no longer maintained. Newer upstream - branches/releases (mbedtls) have API changes so they're not - drop-in replacements. - -config BR2_NBD_CLIENT - bool "nbd client option was renamed" - select BR2_LEGACY - select BR2_PACKAGE_NBD_CLIENT - help - The nbd client option has been renamed to - BR2_PACKAGE_NBD_CLIENT. - -config BR2_NBD_SERVER - bool "nbd server option was renamed" - select BR2_LEGACY - select BR2_PACKAGE_NBD_SERVER - help - The nbd server option has been renamed to - BR2_PACKAGE_NBD_SERVER. - -config BR2_PACKAGE_GMOCK - bool "gmock merged into gtest package" - select BR2_LEGACY - select BR2_PACKAGE_GTEST - select BR2_PACKAGE_GTEST_GMOCK - help - GMock is now a suboption of the GTest package. - -config BR2_KERNEL_HEADERS_4_8 - bool "kernel headers version 4.8.x are no longer supported" - select BR2_LEGACY - help - Version 4.8.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_3_18 - bool "kernel headers version 3.18.x are no longer supported" - select BR2_LEGACY - help - Version 3.18.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_GLIBC_VERSION_2_22 - bool "glibc 2.22 removed" - select BR2_LEGACY - help - Support for glibc version 2.22 has been removed. The current - default version has been selected instead. - -############################################################################### -comment "Legacy options removed in 2017.02" - -config BR2_PACKAGE_PERL_DB_FILE - bool "perl-db-file removed" - select BR2_LEGACY - select BR2_PACKAGE_BERKELEYDB - select BR2_PACKAGE_PERL - help - DB_File can be built as a core Perl module, so the separate - perl-db-file package has been removed. - -config BR2_KERNEL_HEADERS_4_7 - bool "kernel headers version 4.7.x are no longer supported" - select BR2_LEGACY - help - Version 4.7.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_6 - bool "kernel headers version 4.6.x are no longer supported" - select BR2_LEGACY - help - Version 4.6.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_5 - bool "kernel headers version 4.5.x are no longer supported" - select BR2_LEGACY - help - Version 4.5.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_3_14 - bool "kernel headers version 3.14.x are no longer supported" - select BR2_LEGACY - help - Version 3.14.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS - bool "musl-cross 1.1.12 toolchain removed" - select BR2_LEGACY - help - The support for the prebuilt toolchain based on the Musl C - library provided by the musl-cross project has been removed. - Upstream doesn't provide any prebuilt toolchain anymore, use - the Buildroot toolchain instead. - -config BR2_UCLIBC_INSTALL_TEST_SUITE - bool "uClibc tests now in uclibc-ng-test" - select BR2_LEGACY - select BR2_PACKAGE_UCLIBC_NG_TEST - help - The test suite of the uClibc C library has been moved into a - separate package, uclibc-ng-test. - -config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX - bool "Blackfin.uclinux.org 2014R1 toolchain removed" - select BR2_LEGACY - help - The ADI Blackfin toolchain has many bugs which are fixed in - more recent gcc and uClibc-ng releases. Use the Buildroot - toolchain instead. - -config BR2_PACKAGE_MAKEDEVS - bool "makedevs removed" - select BR2_LEGACY - help - The makedevs tool is part of busybox. The Buildroot fork - should not be used outside of the Buildroot infrastructure. - -config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A - bool "Arago ARMv7 2011.09 removed" - select BR2_LEGACY - help - The Arago toolchains are every old and not updated anymore. - -config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE - bool "Arago ARMv5 2011.09 removed" - select BR2_LEGACY - help - The Arago toolchains are every old and not updated anymore. - -config BR2_PACKAGE_SNOWBALL_HDMISERVICE - bool "snowball-hdmiservice removed" - select BR2_LEGACY - help - We no longer have support for the Snowball platform in - Buildroot, so this package was no longer useful. - -config BR2_PACKAGE_SNOWBALL_INIT - bool "snowball-init removed" - select BR2_LEGACY - help - We no longer have support for the Snowball platform in - Buildroot, so this package was no longer useful. - -config BR2_GDB_VERSION_7_9 - bool "gdb 7.9 has been removed" - select BR2_LEGACY - help - The 7.9 version of gdb has been removed. Use a newer version - instead. - -############################################################################### -comment "Legacy options removed in 2016.11" - -config BR2_PACKAGE_PHP_SAPI_CLI_CGI - bool "PHP CGI and CLI options are now seperate" - select BR2_PACKAGE_PHP_SAPI_CLI - select BR2_PACKAGE_PHP_SAPI_CGI - select BR2_LEGACY - help - The PHP Interface options have been split up into a - separate option for each interface. - -config BR2_PACKAGE_PHP_SAPI_CLI_FPM - bool "PHP CLI and FPM options are now separate" - select BR2_PACKAGE_PHP_SAPI_CLI - select BR2_PACKAGE_PHP_SAPI_FPM - select BR2_LEGACY - help - The PHP Interface options have been split up into a - separate option for each interface. - -config BR2_PACKAGE_WVSTREAMS - bool "wvstreams removed" - select BR2_LEGACY - help - wvstreams is not maintained anymore since about 2009. It also - doesn't build anymore with recent compilers (GCC 5+). - -config BR2_PACKAGE_WVDIAL - bool "wvdial removed" - select BR2_LEGACY - help - wvdial is not maintained anymore since about 2009. It also - doesn't build anymore with recent compilers (GCC 5+). - -config BR2_PACKAGE_WEBKITGTK24 - bool "webkitgtk 2.4.x removed" - select BR2_LEGACY - help - This legacy package only existed because some other packages - depended on that specific version of webkitgtk. However, the - other packages have been fixed. webkitgtk 2.4 is full of - security issues so it needs to be removed. - -config BR2_PACKAGE_TORSMO - bool "torsmo removed" - select BR2_LEGACY - help - torsmo has been unmaintained for a long time, and nobody - seems to be interested in it. - -config BR2_PACKAGE_SSTRIP - bool "sstrip removed" - select BR2_LEGACY - help - sstrip is unmaintained and potentially harmful. It doesn't - save so much compared to normal binutils strip, and there is - a big risk of binaries that don't work. Use normal strip - instead. - -config BR2_KERNEL_HEADERS_4_3 - bool "kernel headers version 4.3.x are no longer supported" - select BR2_LEGACY - help - Version 4.3.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_KERNEL_HEADERS_4_2 - bool "kernel headers version 4.2.x are no longer supported" - select BR2_LEGACY - help - Version 4.2.x of the Linux kernel headers are no longer - maintained upstream and are now removed. - -config BR2_PACKAGE_KODI_ADDON_XVDR - bool "kodi-addon-xvdr removed" - select BR2_LEGACY - help - According to the github project page: - https://github.com/pipelka/xbmc-addon-xvdr - this package is discontinued. - -config BR2_PACKAGE_IPKG - bool "ipkg removed" - select BR2_LEGACY - help - ipkg dates back to the early 2000s when Compaq started the - handhelds.org project and it hasn't seen development since - 2006. Use opkg as a replacement. - -config BR2_GCC_VERSION_4_7_X - bool "gcc 4.7.x support removed" - select BR2_LEGACY - help - Support for gcc version 4.7.x has been removed. The current - default version (4.9.x or later) has been selected instead. - -config BR2_BINUTILS_VERSION_2_24_X - bool "binutils version 2.24 support removed" - select BR2_LEGACY - help - Support for binutils version 2.24 has been removed. The - current default version (2.26 or later) has been selected - instead. - -config BR2_PACKAGE_WESTON_RPI - bool "Weston propietary RPI support is gone" - select BR2_LEGACY - help - Upstream decided the propietary (rpi-userland) weston composer - support wasn't worth the effort so it was removed. Switch to - the open VC4 support. - -config BR2_LINUX_KERNEL_TOOL_CPUPOWER - bool "linux-tool cpupower" - depends on BR2_LINUX_KERNEL - select BR2_LEGACY - select BR2_PACKAGE_LINUX_TOOLS_CPUPOWER - help - Linux tool cpupower option was renamed. - -config BR2_LINUX_KERNEL_TOOL_PERF - bool "linux-tool perf" - depends on BR2_LINUX_KERNEL - select BR2_LEGACY - select BR2_PACKAGE_LINUX_TOOLS_PERF - help - Linux tool perf option was renamed. - -config BR2_LINUX_KERNEL_TOOL_SELFTESTS - bool "linux-tool selftests" - depends on BR2_LINUX_KERNEL - select BR2_LEGACY - select BR2_PACKAGE_LINUX_TOOLS_SELFTESTS - help - Linux tool selftests option was renamed. - -config BR2_GCC_VERSION_4_8_ARC - bool "gcc arc option renamed" - select BR2_LEGACY - select BR2_GCC_VERSION_ARC - help - The option that selects the gcc version for the ARC - architecture has been renamed to BR2_GCC_VERSION_ARC. - -config BR2_KERNEL_HEADERS_4_0 - bool "kernel headers version 4.0.x are no longer supported" - select BR2_LEGACY - help - Version 4.0.x of the Linux kernel headers have been deprecated - for more than four buildroot releases and are now removed. - -config BR2_KERNEL_HEADERS_3_19 - bool "kernel headers version 3.19.x are no longer supported" - select BR2_LEGACY - help - Version 3.19.x of the Linux kernel headers have been - deprecated for more than four buildroot releases and are now - removed. - -config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS - bool "libevas-generic-loaders package removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.18, libevas-generic-loaders is now provided by the - efl package. - -config BR2_PACKAGE_ELEMENTARY - bool "elementary package removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.18, elementary is now provided by the efl package. - -config BR2_LINUX_KERNEL_CUSTOM_LOCAL - bool "Linux kernel local directory option removed" - help - The option to select a local directory as the source of the - Linux kernel has been removed. It hurts reproducibility of - builds. - - In case you were using this option during development of your - Linux kernel, use the override mechanism instead. - -############################################################################### -comment "Legacy options removed in 2016.08" - -config BR2_PACKAGE_EFL_JP2K - bool "libevas jp2k loader has been removed" - select BR2_LEGACY - help - JP2K support in EFL requires openjpeg 1.x (libopenjpeg1.pc) - while Buildroot only packages openjpeg 2.x. Therefore, the - JP2K loader has been removed from EFL. - -config BR2_PACKAGE_SYSTEMD_COMPAT - bool "systemd compatibility libraries have been removed" - select BR2_LEGACY - help - The systemd option to enable the compatibility libraries has - been removed. Theses libraries have been useless since a few - version, and have been fully dropped from the source since - v230. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIVEADDER - bool "gst1-plugins-bad liveadder plugin removed" - select BR2_LEGACY - select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER - help - The functionality of the liveadder plugin of the - gst1-plugins-bad package has been merged into audiomixer. - -config BR2_PACKAGE_LIBFSLVPUWRAP - bool "libfslvpuwrap has been renamed to imx-vpuwrap" - select BR2_LEGACY - select BR2_PACKAGE_IMX_VPUWRAP - help - The libfslvpuwrap has been renamed to match the renamed - package. - -config BR2_PACKAGE_LIBFSLPARSER - bool "libfslparser has been renamed to imx-parser" - select BR2_LEGACY - select BR2_PACKAGE_IMX_PARSER - help - The libfslparser has been renamed to match the renamed - package. - -config BR2_PACKAGE_LIBFSLCODEC - bool "libfslcodec has been renamed to imx-codec" - select BR2_LEGACY - select BR2_PACKAGE_IMX_CODEC - help - The libfslcodec has been renamed to match the renamed package. - -config BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE_FIT_SIGNATURE_SUPPORT - bool "FIT support in uboot-tools has been refactored" - select BR2_LEGACY - select BR2_PACKAGE_DTC - select BR2_PACKAGE_DTC_PROGRAMS - select BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT - select BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT - select BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE - help - This option has been removed in favor of a more fine-grained - configuration, which is recommended. Selecting this option - enables FIT and FIT signature support for the target packages. - It will also select the dtc and openssl packages. - -config BR2_PTHREADS_OLD - bool "linuxthreads (stable/old)" - select BR2_LEGACY - help - Linuxthreads have been reworked, BR2_PTHREADS_OLD is now - BR2_PTHREADS and the old BR2_PTHREADS - LT.new got removed. - -config BR2_BINUTILS_VERSION_2_23_X - bool "binutils 2.23 removed" - select BR2_LEGACY - help - Binutils 2.23 has been removed, using a newer version is - recommended. - -config BR2_TOOLCHAIN_BUILDROOT_EGLIBC - bool "eglibc support has been removed" - select BR2_LEGACY - help - The eglibc project no longer exists, as it has been merged - back into the glibc project. Therefore, support for eglibc - has been removed, and glibc should be used instead. - -config BR2_GDB_VERSION_7_8 - bool "gdb 7.8 has been removed" - select BR2_LEGACY - help - The 7.8 version of gdb has been removed. Use a newer version - instead. - -############################################################################### -comment "Legacy options removed in 2016.05" - -config BR2_PACKAGE_OPENVPN_CRYPTO_POLARSSL - bool "openvpn polarssl crypto backend removed" - select BR2_LEGACY - help - The OpenVPN polarssl crypto backend option has been removed. - Version from 2.3.10 onwards need polarssl >= 1.3.8 but aren't - compatible with mbedtls (polarssl) series 2.x which is the - version provided in buildroot. And both can't coexist. - It now uses OpenSSL as the only option. - -config BR2_PACKAGE_NGINX_HTTP_SPDY_MODULE - bool "nginx http spdy module removed" - select BR2_LEGACY - select BR2_PACKAGE_NGINX_HTTP_V2_MODULE - help - The ngx_http_spdy_module has been superseded by the - ngx_http_v2_module since nginx v1.9.5. The - ngx_http_v2_module modules has been automatically selected - in your configuration. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP - bool "gst1-plugins-bad rtp plugin moved to good" - select BR2_LEGACY - help - The rtp plugin has been moved from gst1-plugins-base to - gst1-plugins-good. - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPG123 - bool "gst1-plugins-bad mpg123 plugin moved to ugly" - select BR2_LEGACY - help - The mpg123 plugin has been moved from gst1-plugins-bad to - gst1-plugins-ugly. - -config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC - bool "PowerPC Sourcery toolchain has been removed" - select BR2_LEGACY - help - The Sourcery CodeBench toolchain for the PowerPC - architecture has been removed, as it was very old, not - maintained, and causing numerous build failures with modern - userspace packages. - -config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC_E500V2 - bool "PowerPC Sourcery E500v2 toolchain has been removed" - select BR2_LEGACY - help - The Sourcery CodeBench toolchain for the PowerPC E500v2 - architecture has been removed, as it was very old, not - maintained, and causing numerous build failures with modern - userspace packages. - -config BR2_x86_i386 - bool "x86 i386 support removed" - select BR2_LEGACY - help - The support for the i386 processors of the x86 architecture - has been removed. - -config BR2_PACKAGE_QT5QUICK1 - bool "qt5quick1 package removed" - select BR2_LEGACY - help - The qt5quick1 package has been removed, since it was removed - from upstream starting from Qt 5.6. - -config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR - string "uboot custom patch dir has been removed" - help - The uboot custom patch directory option has been removed. Use - the improved BR2_TARGET_UBOOT_PATCH option instead. - -config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR_WRAP - bool - default y if BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR != "" - select BR2_LEGACY - -# Note: BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR is still referenced from -# boot/uboot/Config.in - -config BR2_PACKAGE_XDRIVER_XF86_INPUT_VOID - bool "xf86-input-void removed" - select BR2_LEGACY - help - The xf86-input-void package has been removed, there's no need - for it in any modern (post-2007) xorg server. - -config BR2_KERNEL_HEADERS_3_17 - bool "kernel headers version 3.17.x are no longer supported" - select BR2_LEGACY - help - Version 3.17.x of the Linux kernel headers have been - deprecated for more than four buildroot releases and are now - removed. - -config BR2_GDB_VERSION_7_7 - bool "gdb 7.7 has been removed" - select BR2_LEGACY - help - The 7.7 version of gdb has been removed. Use a newer version - instead. - -config BR2_PACKAGE_FOOMATIC_FILTERS - bool "foomatic-filters" - select BR2_LEGACY - help - The foomatic-filters package was removed. - -config BR2_PACKAGE_SAMBA - bool "samba" - select BR2_LEGACY - help - The samba package was removed in favour of samba4 since the - 3.x series isn't supported by upstream any longer. - -config BR2_PACKAGE_KODI_WAVPACK - bool "wavpack" - select BR2_LEGACY - help - wavpack support was removed in favour of ffmpeg: - https://github.com/xbmc/xbmc/commit/7916902c9e6f7a523265594f3ad7f921f93f1cd4 - -config BR2_PACKAGE_KODI_RSXS - bool "rsxs support in Kodi was moved to an addon" - select BR2_LEGACY - select BR2_PACKAGE_KODI_SCREENSAVER_RSXS - help - rsxs support in Kodi was moved to an addon - -config BR2_PACKAGE_KODI_GOOM - bool "Goom support in Kodi was moved to an addon" - select BR2_LEGACY - select BR2_PACKAGE_KODI_VISUALISATION_GOOM - help - Goom support in Kodi was moved to an addon - -config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS - bool "systemd all extras option has been removed" - select BR2_LEGACY - select BR2_PACKAGE_XZ - select BR2_PACKAGE_LIBGCRYPT - help - The systemd option to enable "all extras" has been - removed. To get the same features, the libgcrypt and xz - package should now be enabled. - -config BR2_GCC_VERSION_4_5_X - bool "gcc 4.5.x has been removed" - select BR2_LEGACY - help - The 4.5.x version of gcc has been removed. Use a newer - version instead. - -config BR2_PACKAGE_SQLITE_READLINE - bool "sqlite command-line editing support was updated" - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_READLINE - select BR2_LEGACY - help - This option was removed in favour of the sqlite package - deciding itself depending on the enabled packages whether - command-line editing should be enabled, it also also takes - libedit into account. - -############################################################################### -comment "Legacy options removed in 2016.02" - -config BR2_PACKAGE_DOVECOT_BZIP2 - bool "bzip2 support option has been removed" - select BR2_LEGACY - select BR2_PACKAGE_BZIP2 - help - Bzip2 support is built if the bzip2 package is selected. - -config BR2_PACKAGE_DOVECOT_ZLIB - bool "zlib support option has been removed" - select BR2_LEGACY - select BR2_PACKAGE_ZLIB - help - Zlib support is built if the zlib package is selected. - -config BR2_PACKAGE_E2FSPROGS_FINDFS - bool "e2fsprogs findfs option has been removed" - select BR2_LEGACY - help - This option attempted to enable findfs capabilities from - e2fsprogs but has not worked since July 2015 (due to - packaging changes). One can use BusyBox's findfs support or - enable the BR2_PACKAGE_UTIL_LINUX_BINARIES option. - -config BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL - bool "openpowerlink debug option has been removed" - select BR2_LEGACY - help - This option depends on BR2_ENABLE_DEBUG which should not be - used by packages anymore. - -config BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE - bool "openpowerlink package has been updated" - select BR2_LEGACY - select BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB - help - openpowerlink kernel modules are built if the - kernel stack library is selected. - -config BR2_PACKAGE_OPENPOWERLINK_LIBPCAP - bool "openpowerlink package has been updated" - select BR2_LEGACY - select BR2_PACKAGE_OPENPOWERLINK_STACK_USERSPACE_DAEMON_LIB - help - The user space support has been split in two part: - - a monolitic user space library - - a user spae deamon driver - -config BR2_LINUX_KERNEL_SAME_AS_HEADERS - bool "using the linux headers version for the kernel has been removed" - select BR2_LEGACY - help - The option to use the version of the kernel headers for the - kernel to build has been removed. - - There is now the converse, better-suited and more versatile - option to use the kernel version for the linux headers. - -config BR2_PACKAGE_CUPS_PDFTOPS - bool "Pdftops support has been removed from Cups" - select BR2_PACKAGE_CUPS_FILTERS - select BR2_LEGACY - help - Pdftops support has been removed from the cups package - It is now part of the cups-filters package. - -config BR2_KERNEL_HEADERS_3_16 - bool "kernel headers version 3.16.x are no longer supported" - select BR2_LEGACY - help - Version 3.16.x of the Linux kernel headers have been - deprecated for more than four buildroot releases and are now - removed. - -config BR2_PACKAGE_PYTHON_PYXML - bool "python-pyxml package has been removed" - select BR2_LEGACY - help - PyXML is obsolete and its functionality is covered either via - native Python XML support or python-lxml package. - -# BR2_ENABLE_SSP is still referenced in Config.in (default in choice) -config BR2_ENABLE_SSP - bool "Stack Smashing protection now has different levels" - help - The protection offered by SSP can now be selected from - different protection levels. Be sure to review the SSP level - in the build options menu. - -config BR2_PACKAGE_DIRECTFB_CLE266 - bool "cle266 driver for directfb removed" - select BR2_LEGACY - help - The cle266 directfb driver support has been removed. - It doesn't build in the latest version and it's unlikely - anyone has any use for it. - -config BR2_PACKAGE_DIRECTFB_UNICHROME - bool "unichrome driver for directfb removed" - select BR2_LEGACY - help - The unichrome directfb driver support has been removed. - It doesn't build in the latest version and it's unlikely - anyone has any use for it. - -config BR2_PACKAGE_LIBELEMENTARY - bool "libelementary has been renamed to elementary" - select BR2_LEGACY - select BR2_PACKAGE_ELEMENTARY - help - The libelementary package has been renamed to match the - upstream name. - -config BR2_PACKAGE_LIBEINA - bool "libeina package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libeina is now provided by the efl package. - -config BR2_PACKAGE_LIBEET - bool "libeet package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libeet is now provided by the efl package. - -config BR2_PACKAGE_LIBEVAS - bool "libevas package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libevas is now provided by the efl package. - -config BR2_PACKAGE_LIBECORE - bool "libecore package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libecore is now provided by the efl package. - -config BR2_PACKAGE_LIBEDBUS - bool "libedbus package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libedbus is now provided by the efl package. - -config BR2_PACKAGE_LIBEFREET - bool "libefreet package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libefreet is now provided by the efl package. - -config BR2_PACKAGE_LIBEIO - bool "libeio package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libeio is now provided by the efl package. - -config BR2_PACKAGE_LIBEMBRYO - bool "libembryo package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libembryo is now provided by the efl package. - -config BR2_PACKAGE_LIBEDJE - bool "libedje package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libedje is now provided by the efl package. - -config BR2_PACKAGE_LIBETHUMB - bool "libethumb package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_EFL - help - With EFL 1.15, libethumb is now provided by the efl package. - -config BR2_PACKAGE_INFOZIP - bool "infozip option has been renamed to zip" - select BR2_LEGACY - select BR2_PACKAGE_ZIP - help - Info-Zip's Zip package has been renamed from infozip to zip, - to avoid ambiguities with Info-Zip's UnZip which has been - added in the unzip package. - -config BR2_BR2_PACKAGE_NODEJS_0_10_X - bool "nodejs 0.10.x option removed" - select BR2_LEGACY - select BR2_PACKAGE_NODEJS - help - nodejs 0.10.x option has been removed. 0.10.x is now - automatically chosen for ARMv5 architectures only and the - latest nodejs for all other supported architectures. The - correct nodejs version has been automatically selected in your - configuration. - -config BR2_BR2_PACKAGE_NODEJS_0_12_X - bool "nodejs version 0.12.x has been removed" - select BR2_LEGACY - select BR2_PACKAGE_NODEJS - help - nodejs version 0.12.x has been removed. As an alternative, - the latest nodejs version has been automatically selected in - your configuration. - -config BR2_BR2_PACKAGE_NODEJS_4_X - bool "nodejs version 4.x has been removed" - select BR2_LEGACY - select BR2_PACKAGE_NODEJS - help - nodejs version 4.x has been removed. As an alternative, - the latest nodejs version has been automatically selected in - your configuration. - -############################################################################### -comment "Legacy options removed in 2015.11" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REAL - bool "gst1-plugins-bad real plugin has been removed" - select BR2_LEGACY - help - The real plugin from GStreamer 1 bad plugins has been - removed. - -config BR2_PACKAGE_MEDIA_CTL - bool "media-ctl package has been removed" - select BR2_LEGACY - select BR2_PACKAGE_LIBV4L - select BR2_PACKAGE_LIBV4L_UTILS - help - media-ctl source and developement have been moved to v4l-utils - since June 2014. For an up-to-date media-ctl version select - BR2_PACKAGE_LIBV4L and BR2_PACKAGE_LIBV4L_UTILS. - -config BR2_PACKAGE_SCHIFRA - bool "schifra package has been removed" - select BR2_LEGACY - help - Schifra package has been maked broken since 2014.11 release - and haven't been fixed since then. - -config BR2_PACKAGE_ZXING - bool "zxing option has been renamed" - select BR2_LEGACY - select BR2_PACKAGE_ZXING_CPP - help - ZXing no longer provides the cpp bindings, it has been renamed - to BR2_PACKAGE_ZXING_CPP which uses a new upstream. - -# Since FreeRDP has new dependencies, protect this legacy to avoid the -# infamous "unmet direct dependencies" kconfig error. -config BR2_PACKAGE_FREERDP_CLIENT - bool "freerdp client option renamed" - depends on BR2_PACKAGE_FREERDP - select BR2_LEGACY - select BR2_PACKAGE_FREERDP_CLIENT_X11 - -config BR2_PACKAGE_BLACKBOX - bool "blackbox package has been removed" - select BR2_LEGACY - help - Upstream is dead and the package has been deprecated for - some time. There are other alternative maintained WMs. - -config BR2_KERNEL_HEADERS_3_0 - bool "kernel headers version 3.0.x are no longer supported" - select BR2_LEGACY - help - Version 3.0.x of the Linux kernel headers have been deprecated - for more than four buildroot releases and are now removed. - -config BR2_KERNEL_HEADERS_3_11 - bool "kernel headers version 3.11.x are no longer supported" - select BR2_LEGACY - help - Version 3.11.x of the Linux kernel headers have been - deprecated for more than four buildroot releases and are now - removed. - -config BR2_KERNEL_HEADERS_3_13 - bool "kernel headers version 3.13.x are no longer supported" - select BR2_LEGACY - help - Version 3.13.x of the Linux kernel headers have been - deprecated for more than four buildroot releases and are now - removed. - -config BR2_KERNEL_HEADERS_3_15 - bool "kernel headers version 3.15.x are no longer supported" - select BR2_LEGACY - help - Version 3.15.x of the Linux kernel headers have been - deprecated for more than four buildroot releases and are now - removed. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_ANDI - bool "DirectFB example df_andi has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_BLTLOAD - bool "DirectFB example df_bltload has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_CPULOAD - bool "DirectFB example df_cpuload has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_DATABUFFER - bool "DirectFB example df_databuffer has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_DIOLOAD - bool "DirectFB example df_dioload has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK - bool "DirectFB example df_dok has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_DRIVERTEST - bool "DirectFB example df_drivertest has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_FIRE - bool "DirectFB example df_fire has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_FLIP - bool "DirectFB example df_flip has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_FONTS - bool "DirectFB example df_fonts has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_INPUT - bool "DirectFB example df_input has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_JOYSTICK - bool "DirectFB example df_joystick has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_KNUCKLES - bool "DirectFB example df_knuckles has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_LAYER - bool "DirectFB example df_layer has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX - bool "DirectFB example df_matrix has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX_WATER - bool "DirectFB example df_matrix_water has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_NEO - bool "DirectFB example df_neo has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_NETLOAD - bool "DirectFB example df_netload has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_PALETTE - bool "DirectFB example df_palette has been removed" - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_PARTICLE - bool "DirectFB example df_particle has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_PORTER - bool "DirectFB example df_porter has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_STRESS - bool "DirectFB example df_stress has been removed" - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_TEXTURE - bool "DirectFB example df_texture has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO - bool "DirectFB example df_video has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO_PARTICLE - bool "DirectFB example df_video_particle has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_DIRECTFB_EXAMPLES_WINDOW - bool "DirectFB example df_window has been removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_EXAMPLES - help - The per-DirectFB example options have been removed. The - BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all - examples. - -config BR2_PACKAGE_KOBS_NG - bool "kobs-ng was replaced by imx-kobs" - select BR2_LEGACY - select BR2_PACKAGE_IMX_KOBS - help - The outdated kobs-ng has been replaced by the Freescale- - maintained imx-kobs package. - -config BR2_PACKAGE_SAWMAN - bool "sawman package removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_SAWMAN - help - This option has been removed because the sawman package no - longer exists: it was merged inside DirectFB itself. This - feature can now be enabled using the - BR2_PACKAGE_DIRECTFB_SAWMAN option. - -config BR2_PACKAGE_DIVINE - bool "divine package removed" - select BR2_LEGACY - select BR2_PACKAGE_DIRECTFB_DIVINE - help - This option has been removed because the divine package no - longer exists: it was merged inside DirectFB itself. This - feature can now be enabled using the - BR2_PACKAGE_DIRECTFB_DIVINE option. - -############################################################################### -comment "Legacy options removed in 2015.08" - -config BR2_PACKAGE_KODI_PVR_ADDONS - bool "Kodi PVR addon was split" - select BR2_LEGACY - select BR2_PACKAGE_KODI_PVR_ARGUSTV - select BR2_PACKAGE_KODI_PVR_DVBLINK - select BR2_PACKAGE_KODI_PVR_DVBVIEWER - select BR2_PACKAGE_KODI_PVR_FILMON - select BR2_PACKAGE_KODI_PVR_HTS - select BR2_PACKAGE_KODI_PVR_IPTVSIMPLE - select BR2_PACKAGE_KODI_PVR_MEDIAPORTAL_TVSERVER - select BR2_PACKAGE_KODI_PVR_MYTHTV - select BR2_PACKAGE_KODI_PVR_NEXTPVR - select BR2_PACKAGE_KODI_PVR_NJOY - select BR2_PACKAGE_KODI_PVR_PCTV - select BR2_PACKAGE_KODI_PVR_STALKER - select BR2_PACKAGE_KODI_PVR_VBOX - select BR2_PACKAGE_KODI_PVR_VDR_VNSI - select BR2_PACKAGE_KODI_PVR_VUPLUS - select BR2_PACKAGE_KODI_PVR_WMC - help - Kodi PVR addon was split into seperate modules - -config BR2_BINUTILS_VERSION_2_23_2 - bool "binutils 2.23 option renamed" - select BR2_LEGACY - help - Binutils 2.23.2 has been removed, using a newer version is - recommended. - -config BR2_BINUTILS_VERSION_2_24 - bool "binutils 2.24 option renamed" - select BR2_LEGACY - select BR2_BINUTILS_VERSION_2_24_X - help - The binutils version option has been renamed to match the - same patchlevel logic used by gcc. The new option is now - BR2_BINUTILS_VERSION_2_24_X. - -config BR2_BINUTILS_VERSION_2_25 - bool "binutils 2.25 option renamed" - select BR2_LEGACY - select BR2_BINUTILS_VERSION_2_25_X - help - The binutils version option has been renamed to match the - same patchlevel logic used by gcc. The new option is now - BR2_BINUTILS_VERSION_2_25_X. - -config BR2_PACKAGE_PERF - bool "perf option has been renamed" - select BR2_LEGACY - select BR2_LINUX_KERNEL_TOOL_PERF - help - The perf package has been moved as a Linux tools package, - and the option to enable it is now - BR2_LINUX_KERNEL_TOOL_PERF. - -config BR2_BINUTILS_VERSION_2_22 - bool "binutils 2.22 removed" - select BR2_LEGACY - help - Binutils 2.22 has been removed, using a newer version is - recommended. - -config BR2_PACKAGE_GPU_VIV_BIN_MX6Q - bool "gpu-viv-bin-mx6q" - select BR2_LEGACY - select BR2_PACKAGE_IMX_GPU_VIV - help - Vivante graphics libraries have been renamed to - BR2_PACKAGE_IMX_GPU_VIV to be aligned with upstream package - name. - -config BR2_PACKAGE_LIBSEMANAGE_PYTHON_BINDINGS - bool "libsemanage python bindings removed" - depends on BR2_PACKAGE_PYTHON - select BR2_LEGACY - help - This option has been removed, since the libsemanage Python - bindings on the target were not useful. - -config BR2_TARGET_UBOOT_NETWORK - bool "U-Boot custom network settings removed" - select BR2_LEGACY - help - U-Boot's custom network settings options have been removed. - -endmenu - -endif # !SKIP_LEGACY diff --git a/buildroot-2021.05/DEVELOPERS b/buildroot-2021.05/DEVELOPERS deleted file mode 100644 index a7f9cdeb..00000000 --- a/buildroot-2021.05/DEVELOPERS +++ /dev/null @@ -1,2868 +0,0 @@ -# Syntax: -# -# N: Firstname Lastname -# F: file pattern or directory -# F: file pattern or directory -# -# The "F" entries can be: -# -# - A directory, in which case all patches touching any file in this -# directory or its subdirectories will be CC'ed to the developer. -# - A pattern, in which case the pattern will be expanded, and then -# all files/directories (and their subdirectories) will be -# considered when matching against a patch -# -# Notes: -# -# - When a developer adds an "arch/Config.in." file to its list -# of files, he is considered a developer of this architecture. He -# will receive e-mail notifications about build failures occuring on -# this architecture. Not more than one e-mail per day is sent. -# - When a developer adds a directory that contains one or several -# packages, this developer will be notified when build failures -# occur. Not more than one e-mail per day is sent. -# - When a developer adds an "package/pkg-.mk" file to its list -# of files, he is considered interested by this package -# infrastructure, and will be CC'ed on all patches that add or -# modify packages that use this infrastructure. - -N: Adam Heinrich -F: package/jack1/ - -N: Adrian Perez de Castro -F: package/brotli/ -F: package/bubblewrap/ -F: package/cage/ -F: package/cog/ -F: package/libepoxy/ -F: package/libwpe/ -F: package/webkitgtk/ -F: package/wlroots/ -F: package/woff2/ -F: package/wpebackend-fdo/ -F: package/wpewebkit/ -F: package/xdg-dbus-proxy/ - -N: Adrien Gallouët -F: package/bird/ -F: package/glorytun/ - -N: Alejandro González -F: package/qprint/ -F: package/watchdog/ - -N: Aleksander Morgado -F: package/libmbim/ -F: package/libqmi/ -F: package/modem-manager/ - -N: Alex Michel -F: package/network-manager-openvpn/ - -N: Alex Suykov -F: board/chromebook/snow/ -F: configs/chromebook_snow_defconfig -F: package/vboot-utils/ - -N: Alexander Clouter -F: package/odhcp6c/ - -N: Alexander Dahl -F: package/fastd/ -F: package/libuecc/ -F: package/siproxd/ -F: package/putty/ - -N: Alexander Egorenkov -F: package/makedumpfile/ -F: package/multipath-tools/ - -N: Alexander Egorenkov -F: arch/Config.in.s390x -F: board/qemu/s390x/ -F: configs/qemu_s390x_defconfig -F: package/s390-tools/ - -N: Alexander Kurz -F: package/minimodem/ - -N: Alexander Lukichev -F: package/openpgm/ - -N: Alexander Mukhin -F: package/tinyproxy/ - -N: Alexander Sverdlin -F: package/mini-snmpd/ - -N: Alexander Varnin -F: package/liblog4c-localtime/ - -N: Alexandre Belloni -F: package/tz/ - -N: Alexandre Esse -F: package/kvazaar/ -F: package/v4l2loopback/ - -N: Alexey Brodkin -F: board/cubietech/cubieboard2/ -F: configs/cubieboard2_defconfig - -N: Alistair Francis -F: board/sifive/ -F: boot/opensbi/ -F: configs/hifive_unleashed_defconfig -F: package/xen/ - -N: Alvaro G. M -F: package/dcron/ -F: package/libxmlrpc/ -F: package/python-docopt/ - -N: Anders Darander -F: package/ktap/ - -N: André Hentschel -F: board/freescale/imx8qxpmek/ -F: configs/freescale_imx8qxpmek_defconfig -F: package/freescale-imx/imx-sc-firmware/ -F: package/libkrb5/ -F: package/openal/ -F: package/p7zip/ -F: package/wine/ - -N: Andreas Klinger -F: package/ply/ - -N: Andrey Smirnov -F: package/python-backports-shutil-get-terminal-size/ -F: package/python-decorator/ -F: package/python-ipython-genutils/ -F: package/python-pathlib2/ -F: package/python-pickleshare/ -F: package/python-scandir/ -F: package/python-simplegeneric/ -F: package/python-systemd/ -F: package/python-traitlets/ -F: package/zstd/ - -N: Andrey Yurovsky -F: package/rauc/ - -N: Angelo Compagnucci -F: package/apparmor/ -F: package/corkscrew/ -F: package/cups/ -F: package/cups-filters/ -F: package/fail2ban/ -F: package/grep/ -F: package/htpdate/ -F: package/i2c-tools/ -F: package/jq/ -F: package/libapparmor/ -F: package/libb64/ -F: package/mender/ -F: package/mender-artifact/ -F: package/mono/ -F: package/mono-gtksharp3/ -F: package/monolite/ -F: package/openjpeg/ -F: package/python-can/ -F: package/python-pillow/ -F: package/python-pydal/ -F: package/python-spidev/ -F: package/python-web2py/ -F: package/qt5/qt5coap/ -F: package/qt5/qt5knx/ -F: package/qt5/qt5mqtt/ -F: package/sam-ba/ -F: package/sshguard/ -F: package/sunwait/ -F: package/sysdig/ - -N: Anisse Astier -F: package/go/ -F: package/nghttp2/ -F: package/pkg-golang.mk - -N: Anthony Viallard -F: package/gnuplot/ - -N: Antoine Tenart -F: package/libselinux/ -F: package/refpolicy/ -F: support/testing/tests/core/test_selinux/ -F: support/testing/tests/core/test_selinux.py -F: support/testing/tests/init/test_systemd_selinux/ -F: support/testing/tests/init/test_systemd_selinux.py - -N: Antony Pavlov -F: package/lsscsi/ - -N: ARC Maintainers -F: arch/Config.in.arc -F: board/synopsys/ -F: configs/snps_arc700_axs101_defconfig -F: configs/snps_archs38_axs103_defconfig -F: configs/snps_archs38_haps_defconfig -F: configs/snps_archs38_hsdk_defconfig -F: configs/snps_archs38_vdk_defconfig - -N: Ariel D'Alessandro -F: package/axfsutils/ -F: package/mali-t76x/ - -N: Arnaud Aujon -F: package/espeak/ - -N: Arnout Vandecappelle -F: package/arp-scan/ -F: package/dehydrated/ -F: package/freescale-imx/firmware-imx/ -F: package/freescale-imx/imx-lib/ -F: package/libpagekite/ -F: package/lua-bit32/ -F: package/owfs/ -F: package/python-bottle/ -F: package/sqlcipher/ -F: package/stress/ - -N: Arthur Courtel -F: board/raspberrypi/genimage-raspberrypi4-64.cfg -F: configs/raspberrypi4_64_defconfig - -N: Asaf Kahlon -F: package/collectd/ -F: package/libfuse3/ -F: package/libuv/ -F: package/python* -F: package/snmpclitools/ -F: package/spdlog/ -F: package/uftp/ -F: package/uftrace/ -F: package/uvw/ -F: package/zeromq/ - -N: Ash Charles -F: package/pru-software-support/ -F: package/ti-cgt-pru/ - -N: Assaf Inbal -F: package/lbase64/ -F: package/luabitop/ -F: package/luaexpatutils/ -F: package/luaposix/ -F: package/luasec/ -F: package/lua-ev/ -F: package/orbit/ - -N: Attila Wagner -F: package/python-canopen/ - -N: Bartosz Bilas -F: board/stmicroelectronics/stm32mp157a-dk1/ -F: configs/stm32mp157a_dk1_defconfig -F: package/log4qt/ -F: package/python-esptool/ -F: package/python-pyaes/ -F: package/ttyd/ -F: package/qt5/qt5scxml/ -F: package/qt5/qt5webview/ - -N: Bartosz Golaszewski -F: package/autoconf-archive/ -F: package/doxygen/ -F: package/libgpiod/ -F: package/libserialport/ -F: package/libsigrok/ -F: package/libsigrokdecode/ -F: package/libzip/ -F: package/pulseview/ -F: package/sigrok-cli/ - -N: Baruch Siach -F: board/solidrun/clearfog_gt_8k/ -F: configs/solidrun_clearfog_gt_8k_defconfig -F: package/18xx-ti-utils/ -F: package/cpuburn-arm/ -F: package/daemon/ -F: package/dropbear/ -F: package/ebtables/ -F: package/i2c-tools/ -F: package/libcurl/ -F: package/libpcap/ -F: package/openipmi/ -F: package/socat/ -F: package/strace/ -F: package/tcpdump/ -F: package/ti-uim/ -F: package/uhubctl/ - -N: Ben Boeckel -F: package/taskd/ - -N: Benjamin Kamath -F: package/lapack/ - -N: Bernd Kuhls -F: package/alsa-lib/ -F: package/alsa-utils/ -F: package/apache/ -F: package/apr/ -F: package/apr-util/ -F: package/bcg729/ -F: package/bitcoin/ -F: package/bluez-tools/ -F: package/boinc/ -F: package/clamav/ -F: package/dav1d/ -F: package/dovecot/ -F: package/dovecot-pigeonhole/ -F: package/dtv-scan-tables/ -F: package/eudev/ -F: package/exim/ -F: package/fetchmail/ -F: package/ffmpeg/ -F: package/flac/ -F: package/freeswitch/ -F: package/freeswitch-mod-bcg729/ -F: package/freetype/ -F: package/fstrcmp/ -F: package/ghostscript/ -F: package/giflib/ -F: package/gkrellm/ -F: package/gli/ -F: package/glmark2/ -F: package/gpsd/ -F: package/gptfdisk/ -F: package/hdparm/ -F: package/inih/ -F: package/intel-gmmlib/ -F: package/intel-mediadriver/ -F: package/intel-mediasdk/ -F: package/jsoncpp/ -F: package/kodi* -F: package/lame/ -F: package/leafnode2/ -F: package/libaacs/ -F: package/libasplib/ -F: package/libass/ -F: package/libbdplus/ -F: package/libbluray/ -F: package/libbroadvoice/ -F: package/libcdio/ -F: package/libcec/ -F: package/libcodec2/ -F: package/libcrossguid/ -F: package/libdcadec/ -F: package/libdrm/ -F: package/libdvbcsa/ -F: package/libdvdcss/ -F: package/libdvdnav/ -F: package/libdvdread/ -F: package/libebur128/ -F: package/libfreeglut/ -F: package/libg7221/ -F: package/libglew/ -F: package/libglfw/ -F: package/libglu/ -F: package/libhdhomerun/ -F: package/libilbc/ -F: package/libldns/ -F: package/libmicrohttpd/ -F: package/libminiupnpc/ -F: package/libmspack/ -F: package/libnatpmp/ -F: package/libnpth/ -F: package/libogg/ -F: package/libopenh264/ -F: package/libpciaccess/ -F: package/libplatform/ -F: package/libpng/ -F: package/libsidplay2/ -F: package/libsilk/ -F: package/libsndfile/ -F: package/libsoil/ -F: package/libsoundtouch/ -F: package/libsquish/ -F: package/libudfread/ -F: package/liburiparser/ -F: package/libva/ -F: package/libva-intel-driver/ -F: package/libva-utils/ -F: package/libvorbis/ -F: package/libvpx/ -F: package/libyuv/ -F: package/mesa3d/ -F: package/minidlna/ -F: package/mjpg-streamer/ -F: package/perl-crypt-openssl-guess/ -F: package/perl-crypt-openssl-random/ -F: package/perl-crypt-openssl-rsa/ -F: package/perl-digest-sha1/ -F: package/perl-encode-detect/ -F: package/perl-encode-locale/ -F: package/perl-file-listing/ -F: package/perl-html-parser/ -F: package/perl-html-tagset/ -F: package/perl-http-cookies/ -F: package/perl-http-daemon/ -F: package/perl-http-date/ -F: package/perl-http-message/ -F: package/perl-http-negotiate/ -F: package/perl-io-html/ -F: package/perl-lwp-mediatypes/ -F: package/perl-mail-dkim/ -F: package/perl-mailtools/ -F: package/perl-net-dns/ -F: package/perl-net-http/ -F: package/perl-netaddr-ip/ -F: package/perl-timedate/ -F: package/perl-uri/ -F: package/perl-www-robotrules/ -F: package/php/ -F: package/pixman/ -F: package/pngquant/ -F: package/pound/ -F: package/pulseaudio/ -F: package/pure-ftpd/ -F: package/python-couchdb/ -F: package/python-cssutils/ -F: package/python-futures/ -F: package/python-mwclient/ -F: package/python-mwscrape/ -F: package/python-mwscrape2slob/ -F: package/python-mako/ -F: package/python-oauthlib/ -F: package/python-pyicu/ -F: package/python-pylru/ -F: package/python-requests-oauthlib/ -F: package/python-slob/ -F: package/rtmpdump/ -F: package/samba4/ -F: package/softether/ -F: package/spandsp/ -F: package/sqlite/ -F: package/stellarium/ -F: package/taglib/ -F: package/tinyxml2/ -F: package/tor/ -F: package/transmission/ -F: package/tvheadend/ -F: package/unixodbc/ -F: package/utf8proc/ -F: package/vdr/ -F: package/vdr-plugin-vnsiserver/ -F: package/vlc/ -F: package/vnstat/ -F: package/waylandpp/ -F: package/x11r7/ -F: package/x264/ -F: package/x265/ -F: package/ytree/ -F: package/znc/ -F: support/testing/tests/package/test_perl_html_parser.py - -N: Biagio Montaruli -F: board/acmesystems/ -F: configs/acmesystems_* - -N: Bilal Wasim -F: board/chromebook/elm/ -F: configs/chromebook_elm_defconfig - -N: Bogdan Radulescu -F: package/iftop/ -F: package/ncdu/ - -N: Brandon Maier -F: package/vmtouch/ - -N: Brock Williams -F: package/pdmenu/ - -N: Carlo Caione -F: package/jailhouse/ -F: package/sunxi-boards/ - -N: Carsten Schoenert -F: package/dvbsnoop/ -F: package/libdvbsi/ -F: package/libsvg/ -F: package/libsvg-cairo/ - -N: Cédric Chépied -F: package/znc/ - -N: Chris Packham -F: package/coremark/ -F: package/coremark-pro/ -F: package/gstreamer1/gst1-shark/ -F: package/micropython/ -F: package/micropython-lib/ -F: package/syslog-ng/ - -N: Christian Kellermann -F: package/python-pylibftdi/ - -N: Christian Stewart -F: package/batman-adv/ -F: package/containerd/ -F: package/delve/ -F: package/docker-cli/ -F: package/docker-engine/ -F: package/docker-proxy/ -F: package/fuse-overlayfs/ -F: package/go/ -F: package/mbpfan/ -F: package/mosh/ -F: package/pkg-golang.mk -F: package/rtl8821au/ -F: package/runc/ -F: package/tini/ - -N: Christophe Priouzeau -F: board/stmicroelectronics/stm32f429-disco/ -F: board/stmicroelectronics/stm32f469-disco/ -F: configs/stm32f429_disco_defconfig -F: configs/stm32f469_disco_defconfig - -N: Christophe Vu-Brugier -F: package/drbd-utils/ -F: package/iotop/ -F: package/python-configshell-fb/ -F: package/python-rtslib-fb/ -F: package/python-urwid/ -F: package/targetcli-fb/ - -N: Christopher McCrory -F: package/perl-appconfig/ -F: package/perl-astro-suntime/ -F: package/perl-class-load/ -F: package/perl-class-std/ -F: package/perl-class-std-fast/ -F: package/perl-data-dump/ -F: package/perl-data-optlist/ -F: package/perl-data-uuid/ -F: package/perl-date-manip/ -F: package/perl-dbd-mysql/ -F: package/perl-dbi/ -F: package/perl-device-serialport/ -F: package/perl-dist-checkconflicts/ -F: package/perl-file-slurp/ -F: package/perl-io-interface/ -F: package/perl-io-socket-multicast/ -F: package/perl-json-maybexs/ -F: package/perl-mime-tools/ -F: package/perl-module-implementation/ -F: package/perl-module-runtime/ -F: package/perl-number-bytes-human/ -F: package/perl-package-stash/ -F: package/perl-params-util/ -F: package/perl-sub-install/ -F: package/perl-sys-cpu/ -F: package/perl-sys-meminfo/ -F: package/perl-sys-mmap/ -F: package/perl-time-parsedate/ -F: package/perl-x10/ - -N: Clayton Shotwell -F: package/audit/ -F: package/checkpolicy/ -F: package/cpio/ -F: package/libcgroup/ -F: package/libee/ -F: package/libestr/ -F: package/liblogging/ -F: package/libselinux/ -F: package/libsemanage/ -F: package/libsepol/ -F: package/policycoreutils/ - -N: Clément Péron -F: board/beelink/gs1/ -F: configs/beelink_gs1_defconfig - -N: Corentin Guillevic -F: package/libloki/ - -N: Cyril Bur -F: arch/Config.in.powerpc -F: package/kvm-unit-tests - -N: Dagg Stompler -F: board/hardkernel/odroidc2/ -F: configs/odroidc2_defconfig -F: package/meson-tools/ -F: package/odroidc2-firmware/ - -N: Daniel J. Leach -F: package/dacapo/ - -N: Damien Lanson -F: package/libvdpau/ -F: package/log4cpp/ - -N: Daniel Nicoletti -F: package/cutelyst/ - -N: Daniel Price -F: package/nodejs/ -F: package/redis/ - -N: Daniel Sangue -F: package/libftdi1/ - -N: Danilo Bargen -F: board/pcengines/apu2/ -F: configs/pcengines_apu2_defconfig - -N: Danomi Manchego -F: package/cjson/ -F: package/jq/ -F: package/libwebsockets/ -F: package/ljsyscall/ -F: package/lua-cjson/ -F: package/luaexpat/ -F: package/xinetd/ - -N: David Bachelart -F: package/ccrypt/ -F: package/dos2unix/ -F: package/ipmiutil/ -F: package/jsmn/ -F: package/python-daemon/ -F: package/sslh/ -F: package/udpxy/ - -N: David Bender -F: package/benejson/ -F: package/cgic/ -F: package/freeradius-client/ -F: package/openldap/ - -N: David du Colombier <0intro@gmail.com> -F: package/x264/ - -N: David GOUARIN -F: package/librelp/ - -N: David Lechner -F: board/lego/ev3/ -F: configs/lego_ev3_defconfig -F: linux/linux-ext-ev3dev-linux-drivers.mk -F: package/brickd/ -F: package/ev3dev-linux-drivers/ - -N: Davide Viti -F: board/friendlyarm/nanopi-r1/ -F: configs/friendlyarm_nanopi_r1_defconfig -F: package/flann/ -F: package/python-paho-mqtt/ -F: package/qhull/ -F: package/tcllib/ - -N: Denis Bodor -F: package/libstrophe/ - -N: Derrick Lyndon Pallas -F: package/ipcalc/ - -N: Dick Olsson -F: package/bearssl/ -F: package/bitcoin/ -F: package/execline/ -F: package/mdevd/ -F: package/s6-dns/ -F: package/s6-linux-init/ -F: package/s6-linux-utils/ -F: package/s6-networking/ -F: package/s6-portable-utils/ -F: package/s6-rc/ -F: package/s6/ -F: package/skalibs/ - -N: Dimitrios Siganos -F: package/wireless-regdb/ - -N: Dominik Faessler -F: package/logsurfer/ -F: package/python-id3/ - -N: Doug Kehn -F: package/nss-pam-ldapd/ -F: package/sp-oops-extract/ -F: package/unscd/ - -N: Dushara Jayasinghe -F: package/prosody/ - -N: Edgar Bonet -F: board/acmesystems/acqua-a5/ -F: configs/acmesystems_acqua_a5_256mb_defconfig -F: configs/acmesystems_acqua_a5_512mb_defconfig - -N: Eloi Bail -F: package/bayer2rgb-neon/ -F: package/gstreamer1/gst1-plugins-bayer2rgb-neon/ - -N: Eric Le Bihan -F: docs/manual/adding-packages-meson.txt -F: package/adwaita-icon-theme/ -F: package/darkhttpd/ -F: package/eudev/ -F: package/execline/ -F: package/hicolor-icon-theme/ -F: package/jemalloc/ -F: package/mdevd/ -F: package/meson/ -F: package/ninja/ -F: package/pkg-meson.mk -F: package/rust-bin/ -F: package/rust/ -F: package/s6/ -F: package/s6-dns/ -F: package/s6-linux-init/ -F: package/s6-linux-utils/ -F: package/s6-networking/ -F: package/s6-portable-utils/ -F: package/s6-rc/ -F: package/skalibs/ -F: package/smack/ -F: package/xvisor/ - -N: Eric Limpens -F: package/pifmrds/ -F: package/ympd/ - -N: Erico Nunes -F: board/aarch64-efi/ -F: configs/aarch64_efi_defconfig -F: package/acpica/ -F: package/acpitool/ -F: package/efibootmgr/ -F: package/efivar/ -F: package/fwts/ -F: package/spi-tools/ -F: package/xdotool/ -F: configs/pc_x86_64_* - -N: Erik Larsson -F: package/imx-mkimage/ - -N: Erik Stromdahl -F: package/mxsldr/ - -N: Ernesto L. Williams Jr -F: package/szip/ - -N: Esben Haabendal -F: boot/gummiboot/ -F: package/python-kiwisolver/ - -N: Etienne Carriere -F: boot/optee-os/ -F: package/optee-benchmark/ -F: package/optee-client/ -F: package/optee-examples/ -F: package/optee-test/ - -N: Eugene Tarassov -F: package/tcf-agent/ - -N: Evan Zelkowitz -F: package/sdl_gfx/ - -N: Ezequiel Garcia -F: board/ci20/ -F: configs/ci20_defconfig -F: arch/Config.in.nios2 -F: package/fio/ -F: package/iptraf-ng/ -F: package/jimtcl/ -F: package/mimic/ -F: package/nodm/ -F: package/openbox/ -F: package/rtl8723bs/ -F: package/supertuxkart/ - -N: Fabio Estevam -F: board/freescale/warpboard/ -F: board/warp7/ -F: configs/freescale_imx* -F: configs/imx23evk_defconfig -F: configs/imx6-sabre* -F: configs/imx6slevk_defconfig -F: configs/imx6sx-sdb_defconfig -F: configs/imx6ulevk_defconfig -F: configs/imx6ullevk_defconfig -F: configs/imx6ulpico_defconfig -F: configs/imx7d-sdb_defconfig -F: configs/imx7dpico_defconfig -F: configs/imx8mqevk_defconfig -F: configs/mx25pdk_defconfig -F: configs/mx51evk_defconfig -F: configs/mx53loco_defconfig -F: configs/mx6cubox_defconfig -F: configs/mx6sx_udoo_neo_defconfig -F: configs/mx6udoo_defconfig -F: configs/wandboard_defconfig -F: configs/warp7_defconfig -F: configs/warpboard_defconfig -F: package/atest/ -F: package/kmscube/ - -N: Fabio Porcedda -F: package/netsurf-buildsystem/ - -N: Fabio Urquiza -F: package/bitcoin/ - -N: Fabrice Fontaine -F: package/domoticz/ -F: package/libmediaart/ -F: package/libmaxminddb/ -F: package/openzwave/ - -N: Fabrice Fontaine -F: package/bearssl/ -F: package/belle-sip/ -F: package/belr/ -F: package/boinc/ -F: package/cairo/ -F: package/duktape/ -F: package/expat/ -F: package/flatbuffers/ -F: package/gerbera/ -F: package/gtksourceview/ -F: package/gssdp/ -F: package/gupnp/ -F: package/gupnp-dlna/ -F: package/gupnp-tools/ -F: package/haproxy/ -F: package/hiredis/ -F: package/i2pd/ -F: package/igd2-for-linux/ -F: package/json-c/ -F: package/lcms2/ -F: package/lftp/ -F: package/libcap-ng/ -F: package/libcdio-paranoia/ -F: package/libcgicc/ -F: package/libconfig/ -F: package/libcue/ -F: package/libebml/ -F: package/libgee/ -F: package/libglib2/ -F: package/libgtk2/ -F: package/libgtk3/ -F: package/libhtp/ -F: package/libidn/ -F: package/libidn2/ -F: package/libjpeg/ -F: package/liblockfile/ -F: package/libmatroska/ -F: package/libmpdclient/ -F: package/libnetfilter_conntrack/ -F: package/libnetfilter_queue/ -F: package/libnpupnp/ -F: package/liboping/ -F: package/libpfm4/ -F: package/libraw/ -F: package/libraw1394/ -F: package/libroxml/ -F: package/librsvg/ -F: package/librsync/ -F: package/libsoup/ -F: package/libsoxr/ -F: package/libupnp/ -F: package/libv4l/ -F: package/libxslt/ -F: package/mbedtls/ -F: package/minissdpd/ -F: package/minizip/ -F: package/mongodb/ -F: package/motion/ -F: package/mutt/ -F: package/ncmpc/ -F: package/oniguruma/ -F: package/oprofile/ -F: package/pcmanfm/ -F: package/perl-extutils-pkgconfig/ -F: package/python-backcall/ -F: package/python-jedi/ -F: package/python-parso/ -F: package/python-yatl/ -F: package/rocksdb/ -F: package/rygel/ -F: package/safeclib/ -F: package/suricata/ -F: package/tinycbor/ -F: package/tinydtls/ -F: package/tinymembench/ -F: package/whois/ - -N: Fabrice Goucem -F: board/freescale/imx6ullevk/ -F: configs/freescale_imx6ullevk_defconfig - -N: Falco Hyfing -F: package/python-pymodbus/ - -N: Filip Skoneczny -F: board/sinovoip/m1-plus -F: configs/bananapi_m1_plus_defconfig - -N: Floris Bos -F: package/ipmitool/ -F: package/odhcploc/ - -N: Francisco Gonzalez -F: package/ser2net/ - -N: Francois Perrad -F: board/olimex/a20_olinuxino -F: board/olimex/imx233_olinuxino/ -F: configs/olimex_a20_olinuxino_* -F: configs/olimex_imx233_olinuxino_defconfig -F: package/4th/ -F: package/cgilua/ -F: package/chipmunk/ -F: package/cog/ -F: package/collectl/ -F: package/copas/ -F: package/coxpcall/ -F: package/dado/ -F: package/ficl/ -F: package/janet/ -F: package/libtomcrypt/ -F: package/libtommath/ -F: package/libwpe/ -F: package/linenoise/ -F: package/ljlinenoise/ -F: package/lpeg/ -F: package/lpty/ -F: package/lrandom/ -F: package/lsqlite3/ -F: package/lua* -F: package/lzlib/ -F: package/moarvm/ -F: package/netsurf/ -F: package/perl* -F: package/pkg-perl.mk -F: package/pkg-luarocks.mk -F: package/quickjs/ -F: package/rings/ -F: package/tekui/ -F: package/wpebackend-fdo/ -F: package/wpewebkit/ -F: package/wsapi/ -F: package/wsapi-fcgi/ -F: package/wsapi-xavante/ -F: package/xavante/ -F: support/testing/tests/package/test_lua* -F: utils/scancpan - -N: Frank Hunleth -F: package/am335x-pru-package/ -F: package/libconfuse/ -F: package/libdmtx/ -F: package/libsodium/ -F: package/php-amqp/ -F: package/python-cherrypy/ -F: package/rabbitmq-server/ -F: package/sane-backends/ -F: package/ucl/ -F: package/upx/ -F: package/zxing-cpp/ - -N: Frank Vanbever -F: package/elixir/ -F: package/libmodsecurity/ -F: package/nginx-modsecurity/ - -N: Gaël Portay -F: package/qt5/qt5virtualkeyboard/ -F: package/qt5/qt5webengine/ -F: package/qt5/qt5webkit/ -F: package/qt5/qt5webkit-examples/ - -N: Gao Xiang -F: package/erofs-utils/ - -N: Gary Bisson -F: board/boundarydevices/ -F: configs/nitrogen* -F: package/freescale-imx/ -F: package/gstreamer1/gst1-imx/ -F: package/libimxvpuapi/ -F: package/mfgtools/ -F: package/sshpass/ -F: package/x11r7/xdriver_xf86-video-imx-viv/ - -N: Geoff Levand -F: package/flannel/ - -N: Geoffrey Ragot -F: package/python-pycli/ -F: package/python-pyyaml/ - -N: Gerome Burlats -F: board/qemu/ -F: configs/qemu_* - -N: Gilles Talis -F: board/freescale/imx8mmevk/ -F: configs/freescale_imx8mmevk_defconfig -F: package/cctz/ -F: package/faad2/ -F: package/fdk-aac/ -F: package/httping/ -F: package/iozone/ -F: package/leptonica/ -F: package/libeXosip2/ -F: package/libolm/ -F: package/libosip2/ -F: package/ocrad/ -F: package/opusfile/ -F: package/restclient-cpp/ -F: package/tesseract-ocr/ -F: package/webp/ -F: package/xapian/ - -N: Giulio Benetti -F: package/at/ -F: package/libnspr/ -F: package/libnss/ -F: package/minicom/ -F: package/nfs-utils/ -F: package/sunxi-mali-mainline/ -F: package/sunxi-mali-mainline-driver/ - -N: Gregory Dymarek -F: package/ding-libs/ -F: package/gengetopt/ -F: package/janus-gateway/ -F: package/libnice/ -F: package/libsrtp/ -F: package/libwebsock/ -F: package/sofia-sip/ - -N: Grzegorz Blach -F: fs/f2fs/ -F: package/bluez5_utils-headers/ -F: package/f2fs-tools/ -F: package/graphicsmagick/ -F: package/pigpio/ -F: package/python-aioblescan/ -F: package/python-bluezero/ -F: package/python-crontab/ -F: package/python-falcon/ -F: package/python-ifaddr/ -F: package/python-hiredis/ -F: package/python-mimeparse/ -F: package/python-pigpio/ -F: package/python-pyjwt/ -F: package/python-redis/ -F: package/python-rpi-ws281x/ -F: package/python-wtforms/ - -N: Guillaume William Brs -F: package/libnids/ -F: package/libxcrypt/ -F: package/liquid-dsp/ -F: package/pixiewps/ -F: package/python-pybind/ -F: package/reaver/ - -N: Guo Ren -F: arch/Config.in.csky -F: board/csky/ -F: board/qemu/csky -F: configs/csky_* -F: configs/qemu_csky* - -N: Gustavo Heinz -F: package/python-m2crypto/ - -N: Gustavo Pimentel -F: configs/arm_juno_defconfig -F: board/arm/juno/ - -N: Gwenhael Goavec-Merou -F: package/gnuradio/ -F: package/gqrx/ -F: package/gr-osmosdr/ -F: package/librtlsdr/ -F: package/libusbgx/ -F: package/matio/ -F: package/python-cheetah/ -F: package/python-markdown/ -F: package/python-remi/ -F: package/python-sip/ -F: package/uhd/ - -N: Heiko Thiery -F: package/altera-stapl/ -F: package/ipmitool/ -F: package/libnetconf2/ -F: package/libyang/ -F: package/linuxptp/ -F: package/netopeer2/ -F: package/sysrepo/ - -N: Henrique Camargo -F: package/json-glib/ - -N: Hiroshi Kawashima -F: package/gauche/ -F: package/gmrender-resurrect/ -F: package/squeezelite/ - -N: Horatiu Vultur -F: package/easyframes/ -F: package/mrp/ - -N: Ian Haylock -F: package/python-rpi-gpio/ - -N: Ignacy Gawędzki -F: package/angularjs/ - -N: Ilias Apalodimas -F: package/keepalived/ - -N: Ilya Averyanov -F: package/exempi/ - -N: Ismael Luceno -F: package/axel/ -F: package/mawk/ - -N: Jagan Teki -F: board/amarula/ -F: board/asus/ -F: board/bananapi/ -F: board/engicam/ -F: board/friendlyarm/nanopi-a64/ -F: board/friendlyarm/nanopi-neo2/ -F: board/olimex/a33_olinuxino/ -F: board/olimex/a64-olinuxino/ -F: board/orangepi/orangepi-lite2/ -F: board/orangepi/orangepi-one-plus -F: board/orangepi/orangepi-pc2/ -F: board/orangepi/orangepi-prime/ -F: board/orangepi/orangepi-win/ -F: board/orangepi/orangepi-zero-plus2/ -F: board/pine64/ -F: configs/amarula_a64_relic_defconfig -F: configs/amarula_vyasa_rk3288_defconfig -F: configs/asus_tinker_rk3288_defconfig -F: configs/bananapi_m1_defconfig -F: configs/bananapi_m64_defconfig -F: configs/engicam_imx6qdl_icore_defconfig -F: configs/engicam_imx6qdl_icore_qt5_defconfig -F: configs/engicam_imx6qdl_icore_rqs_defconfig -F: configs/engicam_imx6ul_geam_defconfig -F: configs/engicam_imx6ul_isiot_defconfig -F: configs/friendlyarm_nanopi_a64_defconfig -F: configs/friendlyarm_nanopi_neo2_defconfig -F: configs/olimex_a33_olinuxino_defconfig -F: configs/olimex_a64_olinuxino_defconfig -F: configs/orangepi_lite2_defconfig -F: configs/orangepi_one_plus_defconfig -F: configs/orangepi_pc2_defconfig -F: configs/orangepi_prime_defconfig -F: configs/orangepi_win_defconfig -F: configs/orangepi_zero_plus2_defconfig -F: configs/pine64_defconfig -F: configs/pine64_sopine_defconfig - -N: James Hilliard -F: package/apcupsd/ -F: package/exfatprogs/ -F: package/gensio/ -F: package/lua-std-debug/ -F: package/lua-std-normalize/ -F: package/pipewire/ -F: package/python-aioconsole/ -F: package/python-aiodns/ -F: package/python-aiohttp/ -F: package/python-aiohttp-cors/ -F: package/python-aiohttp-debugtoolbar/ -F: package/python-aiohttp-jinja2/ -F: package/python-aiohttp-mako/ -F: package/python-aiohttp-remotes/ -F: package/python-aiohttp-security/ -F: package/python-aiohttp-session/ -F: package/python-aiohttp-sse/ -F: package/python-aiologstash/ -F: package/python-aiomonitor/ -F: package/python-aiojobs/ -F: package/python-aiorwlock/ -F: package/python-aiosignal/ -F: package/python-aiozipkin/ -F: package/python-argon2-cffi/ -F: package/python-async-lru/ -F: package/python-async-timeout/ -F: package/python-brotli/ -F: package/python-cbor2/ -F: package/python-cchardet/ -F: package/python-flatbuffers/ -F: package/python-frozenlist/ -F: package/python-greenlet/ -F: package/python-janus/ -F: package/python-logstash/ -F: package/python-multidict/ -F: package/python-pycares/ -F: package/python-snappy/ -F: package/python-sockjs/ -F: package/python-terminaltables/ -F: package/python-yarl/ - -N: James Knight -F: package/atkmm/ -F: package/cairomm/ -F: package/google-material-design-icons/ -F: package/glibmm/ -F: package/gtkmm3/ -F: package/libpqxx/ -F: package/pangomm/ -F: package/rpm/ -F: package/yad/ - -N: Jan Heylen -F: package/opentracing-cpp/ - -N: Jan Kraval -F: board/orangepi/orangepi-lite -F: configs/orangepi_lite_defconfig - -N: Jan Kundrát -F: configs/solidrun_clearfog_defconfig -F: board/solidrun/clearfog/ -F: package/libnetconf2/ -F: package/libyang/ -F: package/sysrepo/ - -N: Jan Pedersen -F: package/zip/ - -N: Jan Viktorin -F: package/python-pexpect/ -F: package/python-ptyprocess/ -F: package/zynq-boot-bin/ - -N: Jarkko Sakkinen -F: package/quota/ - -N: Jason Pruitt -F: package/librtlsdr/ - -N: Jean Burgat -F: package/openfpgaloader/ - -N: Jens Kleintje -F: package/gcnano-binaries/ - -N: Jens Rosenboom -F: package/sl/ - -N: Jens Zettelmeyer -F: package/batctl/ - -N: Jeremy Rosen -F: package/fxload/ - -N: Jérôme Oufella -F: package/libdri2/ -F: package/qt-webkit-kiosk/ - -N: Jérôme Pouiller -F: package/apitrace/ -F: package/freescale-imx/gpu-amd-bin-mx51/ -F: package/freescale-imx/libz160/ -F: package/lxc/ -F: package/strongswan/ -F: package/wmctrl/ -F: package/x11r7/xdriver_xf86-video-imx/ -F: package/x11r7/xdriver_xf86-video-imx-viv/ - -N: Jianhui Zhao -F: package/libuhttpd/ -F: package/libuwsc/ -F: package/rtty/ - -N: Joachim Wiberg -F: configs/globalscale_espressobin_defconfig -F: board/globalscale/espressobin/ -F: package/mg/ -F: package/netcalc/ -F: package/ssdp-responder/ -F: package/sysklogd/ - -N: Joao Pinto -F: board/synopsys/vdk/ -F: configs/snps_aarch64_vdk_defconfig - -N: Jochen Baltes -F: package/altera-stapl - -N: Joel Carlson -F: package/c-capnproto/ -F: package/capnproto/ -F: package/cmocka/ -F: package/flatcc/ -F: package/libcorrect/ - -N: Joel Stanley -F: package/pdbg/ -F: board/qemu/ppc64le-pseries/ -F: configs/qemu_ppc64le_pseries_defconfig -F: board/qemu/ppc-mac99/ -F: configs/qemu_ppc_mac99_defconfig - -N: Johan Derycke -F: package/python-libconfig/ - -N: Johan Oudinet -F: package/ejabberd/ -F: package/erlang-base64url/ -F: package/erlang-eimp/ -F: package/erlang-goldrush/ -F: package/erlang-idna/ -F: package/erlang-jiffy/ -F: package/erlang-jose/ -F: package/erlang-lager/ -F: package/erlang-p1-acme/ -F: package/erlang-p1-cache-tab/ -F: package/erlang-p1-mqtree/ -F: package/erlang-p1-oauth2/ -F: package/erlang-p1-pkix/ -F: package/erlang-p1-sip/ -F: package/erlang-p1-stringprep/ -F: package/erlang-p1-stun/ -F: package/erlang-p1-tls/ -F: package/erlang-p1-utils/ -F: package/erlang-p1-xml/ -F: package/erlang-p1-xmpp/ -F: package/erlang-p1-yaml/ -F: package/erlang-p1-yconf/ -F: package/erlang-p1-zlib/ -F: package/nginx-dav-ext/ -F: package/vuejs/ - -N: John Stile -F: package/dhcpcd/ - -N: John Faith -F: package/python-inflection/ -F: package/sdbusplus/ - -N: Jonathan Ben Avraham -F: arch/Config.in.xtensa -F: package/autofs/ -F: package/dawgdic/ -F: package/libphidget/ -F: package/phidgetwebservice/ -F: package/rapidxml/ -F: package/sphinxbase/ - -N: Joris Offouga -F: package/python-colorlog/ -F: package/python-simplelogging/ - -N: Jörg Krause -F: board/lemaker/bananapro/ -F: configs/bananapro_defconfig -F: package/augeas/ -F: package/bluez-alsa/ -F: package/caps/ -F: package/freescale-imx/imx-alsa-plugins/ -F: package/libopusenc/ -F: package/libupnpp/ -F: package/luv/ -F: package/luvi/ -F: package/mpd/ -F: package/shairport-sync/ -F: package/swupdate/ -F: package/upmpdcli/ -F: package/wavemon/ - -N: Joris Lijssens -F: package/emlog/ -F: package/libcoap/ -F: package/libnet/ -F: package/libuio/ -F: package/netsniff-ng/ -F: package/rabbitmq-c/ - -N: José Luis Salvador Rufo -F: package/zfs/ -F: support/testing/tests/package/test_zfs.py - -N: Joseph Kogut -F: package/at-spi2-atk/ -F: package/at-spi2-core/ -F: package/clang/ -F: package/earlyoom/ -F: package/gconf/ -F: package/libnss/ -F: package/lld/ -F: package/llvm/ -F: package/python-cython/ -F: package/python-pycups/ -F: package/python-raven/ -F: package/python-schedule/ -F: package/python-sentry-sdk/ -F: package/python-websockets/ -F: package/python-xlib/ -F: package/sentry-cli/ -F: package/sentry-native/ -F: package/unclutter-xfixes/ - -N: Joshua Henderson -F: package/qt5/qt5wayland/ - -N: Jugurtha BELKALEM -F: package/python-aiofiles/ -F: package/python-crayons/ -F: package/python-cycler/ -F: package/python-matplotlib/ -F: package/python-opcua-asyncio/ -F: package/python-piexif/ - -N: Juha Rantanen -F: package/acsccid/ - -N: Julian Scheel -F: package/bitstream/ -F: package/cbootimage/ -F: package/cryptopp/ -F: package/dvblast/ -F: package/tegrarcm/ - -N: Julien Boibessot -F: board/armadeus/ -F: configs/armadeus* -F: package/abootimg/ -F: package/gpm/ -F: package/lbreakout2/ -F: package/libcddb/ -F: package/libmodbus/ -F: package/ltris/ -F: package/opentyrian/ -F: package/python-pygame/ - -N: Julien Corjon -F: package/qt5/ - -N: Julien Grossholtz -F: board/technologic/ts7680/ -F: configs/ts7680_defconfig -F: package/paho-mqtt-c - -N: Julien Olivain -F: board/qmtech/zynq/ -F: board/technexion/imx8mmpico/ -F: board/technexion/imx8mpico/ -F: configs/imx8mmpico_defconfig -F: configs/imx8mpico_defconfig -F: configs/zynq_qmtech_defconfig -F: package/fluid-soundfont/ -F: package/fluidsynth/ -F: package/glslsandbox-player/ -F: package/ptm2human/ -F: package/python-pyalsa/ - -N: Julien Viard de Galbert -F: package/dieharder/ -F: package/easy-rsa/ - -N: Justin Maggard -F: package/dtach/ - -N: Kamel Bouhara -F: package/libodb-boost/ -F: package/libodb-mysql/ - -N: Karoly Kasza -F: package/irqbalance/ -F: package/openvmtools/ - -N: Kelvin Cheung -F: package/cpuload/ -F: package/bwm-ng/ -F: package/ramsmp/ - -N: Kieran Bingham -F: package/libcamera/ - -N: Klaus Heinrich Kiwi -F: package/wqy-zenhei/ - -N: Koen Martens -F: package/capnproto/ -F: package/linuxconsoletools/ - -N: Kurt Van Dijck -F: package/bcusdk/ -F: package/libpthsem/ -F: package/nilfs-utils/ - -N: Laurent Cans -F: package/aircrack-ng/ - -N: Laurent Charpentier -F: package/open-lldp/ - -N: Lee Jones -F: boot/afboot-stm32/ - -N: Leon Anavi -F: board/olimex/a10_olinuxino -F: configs/olimex_a10_olinuxino_lime_defconfig - -N: Leonid Yuriev -F: package/libmdbx/ - -N: Lionel Flandrin -F: package/python-babel/ -F: package/python-daemonize/ -F: package/python-flask/ -F: package/python-flask-babel/ -F: package/python-gunicorn/ - -N: Lionel Orry -F: package/mongrel2/ - -N: Lothar Felten -F: board/bananapi/bananapi-m2-ultra/ -F: board/beaglebone/ -F: configs/bananapi_m2_ultra_defconfig -F: configs/beaglebone_defconfig -F: configs/beaglebone_qt5_defconfig -F: package/ti-sgx-demos/ -F: package/ti-sgx-km/ -F: package/ti-sgx-um/ - -N: Louis Aussedat -F: board/friendlyarm/nanopi-neo-plus2/ -F: configs/friendlyarm_nanopi_neo_plus2_defconfig -F: package/mfoc -F: package/libpam-nfc -F: package/python-dnspython/ -F: package/python-future/ -F: package/python-huepy/ -F: package/python-tqdm/ - -N: Louis-Paul Cordier -F: package/intel-gmmlib/ -F: package/intel-mediadriver/ -F: package/intel-mediasdk/ - -N: Luca Ceresoli -F: board/olimex/a20_olinuxino/ -F: board/zynq/ -F: board/zynqmp/ -F: configs/olimex_a20_olinuxino_* -F: configs/zynq_microzed_defconfig -F: configs/zynq_zed_defconfig -F: configs/zynq_zc706_defconfig -F: configs/zynqmp_zcu106_defconfig -F: package/agentpp/ -F: package/exim/ -F: package/libpjsip/ -F: package/qpid-proton/ -F: package/rtl8188eu/ -F: package/snmppp/ -F: package/stm32flash/ -F: package/unzip/ -F: support/legal-info/ - -N: Lucas De Marchi -F: package/fswebcam/ - -N: Lubomir Rintel -F: board/olpc/ -F: configs/olpc_xo1_defconfig -F: configs/olpc_xo175_defconfig - -N: Ludovic Desroches -F: board/atmel/ -F: board/microchip/ -F: configs/at91* -F: configs/atmel_* -F: configs/microchip_* -F: package/fb-test-app/ -F: package/python-json-schema-validator/ -F: package/python-keyring/ -F: package/python-simplejson/ -F: package/python-versiontools/ -F: package/wilc1000-firmware/ - -N: Maeva Manuel -F: board/freescale/imx8qmmek/ -F: configs/freescale_imx8qmmek_defconfig -F: package/freescale-imx/imx-seco/ - -N: Mahyar Koshkouei -F: package/ffmpeg/ -F: package/mpv/ -F: package/rpi-firmware/ -F: package/rpi-userland/ - -N: Manuel Vögele -F: package/python-pyqt5/ -F: package/python-requests-toolbelt/ - -N: Marcin Bis -F: package/bluez5_utils/ -F: package/cc-tool/ -F: package/ecryptfs-utils/ - -N: Marcin Niestroj -F: board/grinn/ -F: board/orangepi/orangepi-zero-plus/ -F: configs/grinn_* -F: configs/orangepi_zero_plus_defconfig -F: package/argparse/ -F: package/dt-utils/ -F: package/easydbus/ -F: package/lua-flu/ -F: package/lua-stdlib/ -F: package/luaossl/ -F: package/murata-cyw-fw/ -F: package/netdata/ -F: package/python-ansicolors/ -F: package/python-bleak/ -F: package/python-iniconfig/ -F: package/python-intelhex/ -F: package/python-packaging/ -F: package/python-pluggy/ -F: package/python-pytest/ -F: package/python-pytest-asyncio/ -F: package/python-typing-extensions/ -F: package/python-xmodem/ -F: package/rs485conf/ -F: package/turbolua/ -F: support/testing/tests/package/sample_python_pytest.py -F: support/testing/tests/package/sample_python_pytest_asyncio.py -F: support/testing/tests/package/test_netdata.py -F: support/testing/tests/package/test_python_pytest.py -F: support/testing/tests/package/test_python_pytest_asyncio.py - -N: Marcus Folkesson -F: package/libostree/ -F: package/libselinux/ -F: package/libsemanage/ -F: package/libsepol/ -F: package/selinux-python/ -F: utils/config -F: utils/diffconfig - -N: Marek Belisko -F: board/friendlyarm/nanopi-neo4/ -F: configs/friendlyarm_nanopi_neo4_defconfig -F: package/libatasmart/ -F: package/polkit/ -F: package/sg3_utils/ -F: package/udisks/ - -N: Mario Lang -F: package/brltty/ -F: package/lynx/ - -N: Mario Rugiero -F: package/ratpoison/ - -N: Mark Corbin -F: arch/arch.mk.riscv -F: arch/Config.in.riscv -F: board/qemu/riscv32-virt/ -F: board/qemu/riscv64-virt/ -F: configs/qemu_riscv32_virt_defconfig -F: configs/qemu_riscv64_virt_defconfig - -N: Martin Bark -F: board/raspberrypi/ -F: configs/raspberrypi3_defconfig -F: package/ca-certificates/ -F: package/connman/ -F: package/nodejs/ -F: package/rpi-bt-firmware/ -F: package/rpi-firmware/ -F: package/rpi-wifi-firmware/ -F: package/tzdata/ -F: package/zic/ - -N: Martin Hicks -F: package/cryptsetup/ - -N: Martin Kepplinger -F: package/tslib/ -F: package/x11r7/xdriver_xf86-input-tslib/ -F: package/x11vnc/ - -N: Masahiro Yamada -F: board/arm/foundation-v8/ -F: configs/arm_foundationv8_defconfig - -N: Mathieu Audat -F: board/technologic/ts4900/ -F: configs/ts4900_defconfig -F: package/ts4900-fpga/ - -N: Matt Weber -F: board/freescale/p* -F: board/freescale/t* -F: board/qemu/ppc64-e5500/ -F: configs/freescale_p* -F: configs/freescale_t* -F: configs/qemu_ppc64_e5500_defconfig -F: package/argp-standalone/ -F: package/aufs/ -F: package/aufs-util/ -F: package/bc/ -F: package/bridge-utils/ -F: package/checkpolicy/ -F: package/checksec/ -F: package/cgroupfs-mount/ -F: package/crda/ -F: package/cunit/ -F: package/dacapo/ -F: package/davici/ -F: package/dnsmasq/ -F: package/dosfstools/ -F: package/eigen/ -F: package/ethtool/ -F: package/flashbench/ -F: package/fmc/ -F: package/fmlib/ -F: package/git/ -F: package/gnutls/ -F: package/hostapd/ -F: package/i2c-tools/ -F: package/ifplugd/ -F: package/igmpproxy/ -F: package/iperf/ -F: package/iperf3/ -F: package/iputils/ -F: package/iw/ -F: package/jitterentropy-library/ -F: package/kvm-unit-tests/ -F: package/kvmtool/ -F: package/libcsv/ -F: package/libcurl/ -F: package/libeastl/ -F: package/libfcgi/ -F: package/libopenssl/ -F: package/libselinux/ -F: package/libsemanage/ -F: package/libsepol/ -F: package/libssh2/ -F: package/libqmi/ -F: package/lighttpd/ -F: package/logrotate/ -F: package/makedevs/ -F: package/memtester/ -F: package/mii-diag/ -F: package/mrouted/ -F: package/mtd/ -F: package/mtools/ -F: package/nginx-upload/ -F: package/omniorb/ -F: package/openresolv/ -F: package/paxtest/ -F: package/picocom/ -F: package/policycoreutils/ -F: package/proftpd/ -F: package/protobuf-c/ -F: package/protobuf/ -F: package/python-bunch/ -F: package/python-colorama/ -F: package/python-filelock/ -F: package/python-flask-cors/ -F: package/python-iptables/ -F: package/python-ipy/ -F: package/python-iwlib/ -F: package/python-posix-ipc/ -F: package/python-pycairo/ -F: package/python-pypcap/ -F: package/python-pyrex/ -F: package/python-pysftp/ -F: package/python-tinyrpc/ -F: package/python-txdbus/ -F: package/qoriq-rcw/ -F: package/raptor/ -F: package/rng-tools/ -F: package/rsyslog/ -F: package/setools/ -F: package/smcroute/ -F: package/tclap/ -F: package/tini/ -F: package/uboot-tools/ -F: package/unionfs/ -F: package/valijson/ -F: package/wpa_supplicant/ -F: package/wireless_tools/ -F: package/xen/ -F: support/testing/tests/package/br2-external/openjdk/ -F: support/testing/tests/package/test_openjdk.py -F: support/testing/tests/package/test_opkg/ -F: support/testing/tests/package/test_opkg.py - -N: Mauro Condarelli -F: package/mc/ -F: package/python-autobahn/ -F: package/python-cbor/ -F: package/python-characteristic/ -F: package/python-click/ -F: package/python-crossbar/ -F: package/python-lmdb/ -F: package/python-mistune/ -F: package/python-netaddr/ -F: package/python-pygments/ -F: package/python-pynacl/ -F: package/python-pytrie/ -F: package/python-service-identity/ -F: package/python-setproctitle/ -F: package/python-shutilwhich/ -F: package/python-treq/ -F: package/python-txaio/ -F: package/python-ujson/ -F: package/python-wsaccel/ - -N: Max Filippov -F: arch/Config.in.xtensa - -N: Maxim Kochetkov -F: package/postgis/ -F: package/protozero/ -F: package/timescaledb/ - -N: Maxime Hadjinlian -F: package/babeld/ -F: package/dante/ -F: package/faifa/ -F: package/initscripts/ -F: package/intel-microcode/ -F: package/iucode-tool/ -F: package/jasper/ -F: package/kodi/ -F: package/libass/ -F: package/libbluray/ -F: package/libcdio/ -F: package/libcofi/ -F: package/libenca/ -F: package/libmodplug/ -F: package/libnfs/ -F: package/libplist/ -F: package/libshairplay/ -F: package/linux-zigbee/ -F: package/netcat-openbsd/ -F: package/open-plc-utils/ -F: package/rpi-firmware/ -F: package/rpi-userland/ -F: package/rtmpdump/ -F: package/skeleton/ -F: package/systemd/ -F: package/systemd-bootchart/ -F: package/tinyalsa/ -F: package/tinyxml/ - -N: Michael Durrant -F: board/arcturus/ -F: configs/arcturus_ucp1020_defconfig -F: configs/arcturus_ucls1012a_defconfig - -N: Michael Fischer -F: package/gnuplot/ -F: package/sdl2/ - -N: Michael Nosthoff -F: package/grpc/ -F: package/gtest/ -F: package/libabseil-cpp/ -F: package/protobuf/ -F: package/re2/ - -N: Michael Rommel -F: package/knock/ -F: package/python-crc16/ -F: package/python-pyzmq/ - -N: Michael Trimarchi -F: package/python-spidev/ - -N: Michael Vetter -F: package/jasper/ -F: package/libstrophe/ - -N: Michael Walle -F: board/kontron/smarc-sal28/ -F: configs/kontron_smarc_sal28_defconfig -F: package/libavl/ -F: package/rcw-smarc-sal28/ - -N: Michał Łyszczek -F: board/altera/socrates_cyclone5/ -F: board/pine64/rock64 -F: configs/rock64_defconfig -F: configs/socrates_cyclone5_defconfig -F: package/netifrc/ -F: package/openrc/ -F: package/skeleton-init-openrc/ - -N: Michel Stempin -F: board/licheepi/ -F: configs/licheepi_zero_defconfig - -N: Mike Frampton -F: package/qcom-db410c-firmware/ - -N: Mike Harmony -F: board/sinovoip/m2-plus/ -F: configs/bananapi_m2_plus_defconfig - -N: Mikhail Boiko -F: package/libfribidi/ - -N: Min Xu -F: package/shadowsocks-libev/ - -N: Mircea Gliga -F: package/mbuffer/ - -N: Mirza Krak -F: package/mender/ -F: package/mender-artifact/ - -N: Murat Demirten -F: package/jpeg-turbo/ -F: package/libgeotiff/ - -N: Mylène Josserand -F: package/rtl8723bu/ - -N: Nathaniel Roach -F: package/bandwidthd/ -F: package/libgudev/ - -N: Naumann Andreas -F: package/evemu/ -F: package/libevdev/ -F: package/pkg-qmake.mk - -N: Nicola Di Lieto -F: package/uacme/ - -N: Nicholas Sielicki -F: board/intel/galileo/ -F: configs/galileo_defconfig - -N: Nicolas Carrier -F: package/php-xdebug/ - -N: Nicolas Cavallari -F: package/libgit2/ - -N: Nicolas Serafini -F: package/exiv2/ -F: package/ofono/ - -N: Nikolay Dimitrov -F: board/embest/riotboard/ -F: configs/riotboard_defconfig - -N: Nimai Mahajan -F: package/libucl/ - -N: Noé Rubinstein -F: package/tpm-tools/ -F: package/trousers/ - -N: Norbert Lange -F: package/systemd/ -F: package/tcf-agent/ - -N: Nylon Chen -F: arch/Config.in.nds32 -F: board/andes -F: configs/andes_ae3xx_defconfig -F: toolchain/toolchain-external/toolchain-external-andes-nds32/ - -N: Olaf Rempel -F: package/ctorrent/ - -N: Oleksandr Zhadan -F: board/arcturus/ -F: configs/arcturus_ucp1020_defconfig -F: configs/arcturus_ucls1012a_defconfig - -N: Oli Vogt -F: package/python-django/ -F: package/python-flup/ - -N: Olivier Matz -F: package/python-pyelftools/ - -N: Olivier Schonken -F: package/cups/ -F: package/cups-filters/ -F: package/ijs/ -F: package/poppler/ -F: package/qpdf/ -F: package/openjpeg/ - -N: Olivier Singla -F: package/shellinabox/ - -N: Parnell Springmeyer -F: package/scrypt/ - -N: Pascal de Bruijn -F: package/libargon2/ -F: package/linux-tools/S10hyperv -F: package/linux-tools/hyperv*.service -F: package/linux-tools/linux-tool-hv.mk.in - -N: Pascal Huerst -F: package/google-breakpad/ - -N: Patrick Gerber -F: package/yavta/ - -N: Patrick Havelange -F: support/testing/tests/package/test_lxc.py -F: support/testing/tests/package/test_lxc/ - -N: Paul Cercueil -F: package/libiio/ -F: package/lightning/ -F: package/umtprd/ - -N: Pedro Aguilar -F: package/libunistring/ - -N: Peter Korsgaard -F: board/arrow/avenger96/ -F: board/beagleboneai/ -F: board/minnowboard/ -F: board/librecomputer/lafrite/ -F: board/nexbox/a95x/ -F: board/openblocks/a6/ -F: board/orangepi/ -F: board/pandaboard/ -F: board/roseapplepi/ -F: boot/shim/ -F: configs/avenger96_defconfig -F: configs/beagleboneai_defconfig -F: configs/lafrite_defconfig -F: configs/minnowboard_max-graphical_defconfig -F: configs/minnowboard_max_defconfig -F: configs/nexbox_a95x_defconfig -F: configs/openblocks_a6_defconfig -F: configs/orangepi_pc_defconfig -F: configs/orangepi_r1_defconfig -F: configs/pandaboard_defconfig -F: configs/roseapplepi_defconfig -F: configs/sheevaplug_defconfig -F: package/bats-core/ -F: package/docker-compose/ -F: package/dump1090/ -F: package/fatcat/ -F: package/flickcurl/ -F: package/fscryptctl/ -F: package/ifmetric/ -F: package/jo/ -F: package/jose/ -F: package/libfastjson/ -F: package/luksmeta/ -F: package/lzop/ -F: package/memtool/ -F: package/mosquitto/ -F: package/python-alsaaudio/ -F: package/python-backports-ssl-match-hostname/ -F: package/python-cached-property/ -F: package/python-docker/ -F: package/python-dockerpty/ -F: package/python-docker-pycreds/ -F: package/python-enum/ -F: package/python-enum34/ -F: package/python-functools32/ -F: package/python-ipaddr/ -F: package/python-pam/ -F: package/python-psutil/ -F: package/python-request-id/ -F: package/python-semver/ -F: package/python-texttable/ -F: package/python-validators/ -F: package/python-webob/ -F: package/python-websocket-client/ -F: package/sedutil/ -F: package/tpm2-totp/ -F: package/triggerhappy/ -F: package/wireguard-linux-compat/ -F: package/wireguard-tools/ -F: support/testing/tests/package/test_docker_compose.py - -N: Peter Seiderer -F: board/raspberrypi/ -F: configs/raspberrypi*_defconfig -F: package/assimp/ -F: package/bcm2835/ -F: package/ddrescue/ -F: package/dejavu/ -F: package/dillo/ -F: package/edid-decode/ -F: package/ell/ -F: package/ghostscript-fonts/ -F: package/gstreamer1/gst1-devtools/ -F: package/gstreamer1/gst1-interpipe/ -F: package/gstreamer1/gstreamer1-editing-services/ -F: package/iwd/ -F: package/libevdev/ -F: package/libuev/ -F: package/log4cplus/ -F: package/postgresql/ -F: package/python-colorzero/ -F: package/python-flask-wtf/ -F: package/python-gpiozero/ -F: package/qt5/ -F: package/quotatool/ -F: package/racehound/ -F: package/redir/ -F: package/uredir/ -F: package/wayland-utils/ - -N: Peter Thompson -F: package/sdl2_gfx/ -F: package/sdl2_image/ -F: package/sdl2_ttf/ - -N: Petr Kulhavy -F: package/linuxptp/ - -N: Petr Vorel -F: package/ima-evm-utils/ -F: package/iproute2/ -F: package/iputils/ -F: package/libqrtr-glib/ -F: package/libtirpc/ -F: package/linux-backports/ -F: package/ltp-testsuite/ -F: package/nfs-utils/ -F: support/kconfig/ - -N: Phil Eichinger -F: package/libqrencode/ -F: package/psplash/ -F: package/sispmctl/ -F: package/zsh/ - -N: Philipp Richter -F: package/libtorrent-rasterbar/ - -N: Philippe Proulx -F: package/babeltrace2/ -F: package/lttng-babeltrace/ -F: package/lttng-libust/ -F: package/lttng-modules/ -F: package/lttng-tools/ -F: package/python-ipython/ -F: package/liburcu/ - -N: Philippe Reynes -F: package/ibm-sw-tpm2/ - -N: Pierre Crokaert -F: board/hardkernel/odroidxu4/ -F: configs/odroidxu4_defconfig - -N: Pierre Ducroquet -F: package/kf5/ - -N: Pierre Floury -F: package/trace-cmd/ - -N: Pierre-Jean Texier -F: package/fping/ -F: package/genimage/ -F: package/haveged/ -F: package/ipset/ -F: package/libarchive/ -F: package/libevent/ -F: package/libubootenv/ -F: package/libxml2/ -F: package/mongoose/ -F: package/mxml/ -F: package/numactl/ -F: package/python-modbus-tk/ -F: package/python-periphery/ -F: package/raspi-gpio/ -F: package/sbc/ -F: package/stunnel/ -F: package/tree/ - -N: Pieter De Gendt -F: package/libvips/ - -N: Pieterjan Camerlynck -F: package/libdvbpsi/ -F: package/mraa/ -F: package/synergy/ - -N: Rafal Susz -F: board/avnet/s6lx9_microboard/ -F: configs/s6lx9_microboard_defconfig - -N: Rahul Bedarkar -F: package/cxxtest/ -F: package/gflags/ -F: package/glog/ -F: package/gssdp/ -F: package/gupnp/ -F: package/gupnp-av/ -F: package/let-me-create/ -F: package/nanomsg/ - -N: Ramon Fried -F: package/bitwise/ - -N: Raphaël Mélotte -F: package/jbig2dec/ -F: package/python-boto3/ -F: package/python-botocore/ -F: package/python-jmespath/ -F: package/python-s3transfer/ - -N: Refik Tuzakli -F: package/freescale-imx/ -F: package/paho-mqtt-cpp/ - -N: Rémi Rérolle -F: package/libfreeimage/ - -N: Renaud Aubin -F: package/libhttpparser/ - -N: Ricardo Martincoski -F: package/atop/ -F: package/thermald/ - -N: Ricardo Martincoski -F: support/testing/infra/ -F: support/testing/run-tests -F: support/testing/tests/core/test_file_capabilities.py -F: support/testing/tests/download/ -F: support/testing/tests/package/*_python*.py -F: support/testing/tests/package/test_atop.py -F: support/testing/tests/package/test_syslog_ng.py -F: support/testing/tests/package/test_tmux.py -F: support/testing/tests/utils/test_check_package.py -F: utils/check-package -F: utils/checkpackagelib/ - -N: Richard Braun -F: package/curlftpfs/ -F: package/tzdata/ - -N: RJ Ascani -F: package/azmq/ - -N: Robert Rose -F: package/grpc/ - -N: Rodrigo Rebello -F: package/chocolate-doom/ -F: package/irssi/ -F: package/vnstat/ - -N: Romain Naour -F: board/qemu/ -F: configs/qemu_* -F: package/alure/ -F: package/aubio/ -F: package/binutils/ -F: package/bullet/ -F: package/clang/ -F: package/clinfo/ -F: package/efl/ -F: package/enet/ -F: package/enlightenment/ -F: package/flare-engine/ -F: package/flare-game/ -F: package/gcc/ -F: package/glibc/ -F: package/irrlicht/ -F: package/liblinear/ -F: package/lensfun/ -F: package/libclc/ -F: package/libgta/ -F: package/libiec61850/ -F: package/libspatialindex/ -F: package/linux-syscall-support/ -F: package/llvm/ -F: package/lugaru/ -F: package/mcelog/ -F: package/mesa3d/ -F: package/minetest/ -F: package/minetest-game/ -F: package/ogre/ -F: package/openpowerlink/ -F: package/physfs/ -F: package/piglit/ -F: package/qemu/ -F: package/solarus/ -F: package/stress-ng/ -F: package/supertux/ -F: package/supertuxkart/ -F: package/terminology/ -F: package/tk/ -F: package/upower/ -F: package/waffle/ -F: package/xenomai/ -F: package/zziplib/ -F: support/testing/tests/package/test_glxinfo.py -F: support/testing/tests/package/test_openssh.py -F: toolchain/ - -N: Roman Gorbenkov -F: package/davfs2/ - -N: Ryan Barnett -F: package/atftp/ -F: package/c-periphery/ -F: package/miraclecast/ -F: package/opkg/ -F: package/opkg-utils/ -F: package/python-pysnmp/ -F: package/python-pysnmp-mibs/ -F: package/python-tornado/ -F: package/resiprocate/ -F: package/websocketpp/ - -N: Ryan Wilkins -F: package/biosdevname/ - -N: Sam Lancia -F: package/lrzip/ - -N: Samuel Martin -F: package/armadillo/ -F: package/canfestival/ -F: package/clapack/ -F: package/cwiid/ -F: package/flite/ -F: package/nginx/ -F: package/opencv3/ -F: package/openobex/ -F: package/pkg-cmake.mk -F: package/python-numpy/ -F: package/scrub/ -F: package/urg/ -F: package/ussp-push/ -F: support/misc/toolchainfile.cmake.in - -N: Sam Voss -F: package/ripgrep/ - -N: Santosh Multhalli -F: package/valijson/ - -N: Sébastien Szymanski -F: package/mmc-utils/ -F: package/python-flask-jsonrpc/ -F: package/python-flask-login/ -F: package/qt5/qt5charts/ - -N: Semyon Kolganov -F: package/fmt/ -F: package/libbson/ -F: package/lua-resty-http/ -F: package/mpir/ - -N: Sergey Matyukevich -F: boot/arm-trusted-firmware/ -F: board/linksprite/pcduino -F: board/orangepi/orangepi-zero -F: board/orangepi/orangepi-one -F: board/orangepi/orangepi-pc-plus/ -F: configs/linksprite_pcduino_defconfig -F: configs/orangepi_one_defconfig -F: configs/orangepi_pc_plus_defconfig -F: configs/orangepi_zero_defconfig -F: package/armbian-firmware/ -F: package/hostapd/ -F: package/rtl8189fs/ -F: package/wpa_supplicant/ -F: package/xr819-xradio/ - -N: Sergio Prado -F: board/toradex/apalis-imx6/ -F: configs/toradex_apalis_imx6_defconfig -F: package/aoetools/ -F: package/asn1c/ -F: package/azure-iot-sdk-c/ -F: package/curlpp/ -F: package/daq/ -F: package/libgdiplus/ -F: package/pimd/ -F: package/snort/ -F: package/stella/ -F: package/tio/ -F: package/traceroute/ -F: package/tunctl/ -F: package/ubus/ -F: package/wolfssl/ - -N: Shyam Saini -F: package/cukinia/ - -N: Simon Dawson -F: boot/at91bootstrap3/ -F: package/cppzmq/ -F: package/czmq/ -F: package/filemq/ -F: package/googlefontdirectory/ -F: package/jansson/ -F: package/jquery-ui/ -F: package/jquery-ui-themes/ -F: package/json-javascript/ -F: package/lcdapi/ -F: package/libfreefare/ -F: package/libjson/ -F: package/libnfc/ -F: package/libnfc/ -F: package/libserial/ -F: package/libsigsegv/ -F: package/macchanger/ -F: package/minicom/ -F: package/minidlna/ -F: package/msgpack/ -F: package/nanocom/ -F: package/neard/ -F: package/neardal/ -F: package/owl-linux/ -F: package/python-nfc/ -F: package/rapidjson/ -F: package/sconeserver/ -F: package/sound-theme-borealis/ -F: package/sound-theme-freedesktop/ -F: package/vlc/ -F: package/xscreensaver/ -F: package/zmqpp/ -F: package/zyre/ - -N: Spenser Gilliland -F: arch/Config.in.microblaze -F: package/a10disp/ -F: package/glmark2/ -F: package/libvpx/ -F: package/mesa3d-demos/ -F: package/ti-gfx/ - -N: Stefan Ott -F: package/unbound/ - -N: Stefan Sørensen -F: package/cracklib/ -F: package/libpwquality/ -F: package/libscrypt/ - -N: Stephan Hoffmann -F: package/cache-calibrator/ -F: package/gtest/ -F: package/libhttpserver/ -F: package/mtdev/ - -N: Stephane Viau -F: board/freescale/imx8mnevk/ -F: board/freescale/imx8mpevk/ -F: configs/freescale_imx8mnevk_defconfig -F: configs/freescale_imx8mpevk_defconfig - -N: Steve Calfee -F: package/python-pymysql/ -F: package/python-pyratemp/ - -N: Steve James -F: package/leveldb/ -F: package/libcli/ - -N: Steve Kenton -F: package/dvdauthor/ -F: package/dvdrw-tools/ -F: package/memtest86/ -F: package/mjpegtools/ -F: package/tovid/ -F: package/udftools/ -F: package/xorriso/ - -N: Steven Noonan -F: package/hwloc/ -F: package/powertop/ - -N: Suniel Mahesh -F: board/firefly/ -F: board/friendlyarm/nanopc-t4 -F: board/friendlyarm/nanopi-m4 -F: board/orangepi/orangepi-rk3399 -F: board/pine64/rockpro64 -F: board/radxa/rockpi-4 -F: board/radxa/rockpi-n8 -F: board/radxa/rockpi-n10 -F: configs/friendlyarm_nanopc_t4_defconfig -F: configs/friendlyarm_nanopi_m4_defconfig -F: configs/orangepi_rk3399_defconfig -F: configs/roc_pc_rk3399_defconfig -F: configs/rock_pi_4_defconfig -F: configs/rock_pi_n8_defconfig -F: configs/rock_pi_n10_defconfig -F: configs/rockpro64_defconfig -F: package/arm-gnu-a-toolchain/ - -N: Sven Fischer -F: package/qt5/qt5remoteobjects/ - -N: Sven Haardiek -F: package/lcdproc/ -F: package/python-influxdb/ - -N: Sven Oliver Moll -F: package/most/ - -N: Theo Debrouwere -F: board/beagleboardx15/ -F: configs/beagleboardx15_defconfig -F: package/pugixml/ - -N: Thierry Bultel -F: package/mpd-mpc/ - -N: Thijs Vermeir -F: package/ranger/ -F: package/x265/ - -N: Thomas Claveirole -F: package/fcgiwrap/ -F: package/openlayers/ - -N: Thomas De Schampheleire -F: docs/manual/ -F: package/cereal/ -F: package/chartjs/ -F: package/datatables/ -F: package/datatables-buttons/ -F: package/datatables-fixedcolumns/ -F: package/datatables-responsive/ -F: package/jszip/ -F: package/libtelnet/ -F: package/opkg-utils/ -F: package/perl-convert-asn1/ -F: package/perl-crypt-blowfish/ -F: package/perl-crypt-cbc/ -F: package/perl-crypt-openssl-aes/ -F: package/perl-devel-cycle/ -F: package/perl-devel-size/ -F: package/perl-i18n/ -F: package/perl-locale-maketext-lexicon/ -F: package/perl-lwp-protocol-https/ -F: package/perl-math-int64/ -F: package/perl-math-prime-util/ -F: package/perl-mime-base64-urlsafe/ -F: package/perl-mojolicious-plugin-authentication/ -F: package/perl-mojolicious-plugin-authorization/ -F: package/perl-mojolicious-plugin-cspheader/ -F: package/perl-mojolicious-plugin-i18n/ -F: package/perl-mojolicious-plugin-securityheader/ -F: package/perl-mozilla-ca/ -F: package/perl-net-snmp/ -F: package/perl-net-ssh2/ -F: package/perl-net-telnet/ -F: package/perl-path-class/ -F: package/pigz/ -F: package/popperjs/ -F: package/xenomai/ -F: support/scripts/size-stats -F: support/testing/tests/package/test_perl_lwp_protocol_https.py -F: utils/size-stats-compare -F: toolchain/ - -N: Thomas Huth -F: package/ascii-invaders/ -F: package/frotz/ -F: package/xorcurses/ - -N: Thomas Petazzoni -F: arch/Config.in.arm -F: board/beaglev/ -F: board/stmicroelectronics/stm32mp157c-dk2/ -F: boot/beaglev-ddrinit/ -F: boot/beaglev-secondboot/ -F: boot/boot-wrapper-aarch64/ -F: boot/grub2/ -F: boot/gummiboot/ -F: configs/beaglev_defconfig -F: configs/stm32mp157c_dk2_defconfig -F: package/android-tools/ -F: package/b43-firmware/ -F: package/b43-fwcutter/ -F: package/c-periphery/ -F: package/cdrkit/ -F: package/cifs-utils/ -F: package/cloop/ -F: package/cmake/ -F: package/cramfs/ -F: package/dmidecode/ -F: package/flashrom/ -F: package/gcc/ -F: package/genext2fs/ -F: package/genromfs/ -F: package/getent/ -F: package/gnu-efi/ -F: package/heirloom-mailx/ -F: package/hiawatha/ -F: package/igh-ethercat/ -F: package/intltool/ -F: package/jh71xx-tools/ -F: package/libcap/ -F: package/libffi/ -F: package/libsha1/ -F: package/libtirpc/ -F: package/libxkbcommon/ -F: package/libxml-parser-perl/ -F: package/localedef/ -F: package/log4cxx/ -F: package/monit/ -F: package/mpdecimal/ -F: package/msmtp/ -F: package/musl/ -F: package/musl-fts/ -F: package/ne10/ -F: package/pkg-python.mk -F: package/pkg-autotools.mk -F: package/pkg-generic.mk -F: package/python/ -F: package/python3/ -F: package/python-mad/ -F: package/python-serial/ -F: package/qextserialport/ -F: package/riscv64-elf-toolchain/ -F: package/rpcbind/ -F: package/rt-tests/ -F: package/rtc-tools/ -F: package/sam-ba/ -F: package/scons/ -F: package/squashfs/ -F: package/wayland/ -F: package/weston/ -F: support/testing/tests/boot/test_syslinux.py -F: toolchain/ - -N: Timo Ketola -F: package/fbgrab/ - -N: Titouan Christophe -F: package/avro-c/ -F: package/mosquitto/ -F: package/python-avro/ -F: package/redis/ -F: package/waf/ -F: support/testing/tests/package/test_crudini.py -F: support/testing/tests/package/test_redis.py - -N: Tudor Holton -F: package/openjdk/ - -N: Tzu-Jung Lee -F: package/dropwatch/ -F: package/tstools/ - -N: Vadim Kochan -F: package/brcm-patchram-plus/ -F: package/frr/ -F: package/gettext-tiny/ -F: package/tinyssh/ - -N: Valentin Korenblit -F: package/clang/ -F: package/clinfo/ -F: package/libclc/ -F: package/llvm/ - -N: Vanya Sergeev -F: package/lua-periphery/ - -N: Victor Huesca -F: support/testing/tests/core/test_root_password.py - -N: Vincent Prince -F: package/nss-myhostname/ -F: package/utp_com/ - -N: Vincent Stehlé -F: board/bananapi/bananapi-m2-zero/ -F: configs/bananapi_m2_zero_defconfig -F: package/i7z/ -F: package/msr-tools/ -F: package/pixz/ - -N: Vinicius Tinti -F: package/python-thrift/ - -N: Vivien Didelot -F: board/technologic/ts5500/ -F: configs/ts5500_defconfig - -N: Volkov Viacheslav -F: package/v4l2grab/ -F: package/zbar/ - -N: Wade Berrier -F: package/ngrep/ - -N: Waldemar Brodkorb -F: package/mksh/ -F: package/ruby/ -F: package/uclibc/ -F: package/uclibc-ng-test/ - -N: Will Newton -F: package/enchant/ -F: package/erlang/ -F: package/libmicrohttpd/ -F: package/sysprof/ -F: package/time/ - -N: Will Wagner -F: package/yaffs2utils/ - -N: Wojciech M. Zabolotny -F: package/avrdude/ -F: package/jack2/ -F: package/python-msgpack/ -F: package/python-pyusb/ - -N: Wojciech Niziński -F: package/fwup/ - -N: Yair Ben Avraham -F: package/casync/ -F: package/gloox/ -F: package/tpm2-pkcs11/ - -N: Yann CARDAILLAC -F: package/open62541/ - -N: Yann E. MORIN -F: board/friendlyarm/nanopi-neo/ -F: configs/friendlyarm_nanopi_neo_defconfig -F: fs/squashfs/ -F: package/asterisk/ -F: package/cegui/ -F: package/dahdi-linux/ -F: package/dahdi-tools/ -F: package/dtc/ -F: package/dtv-scan-tables/ -F: package/dvb-apps/ -F: package/freerdp/ -F: package/keyutils/ -F: package/libbsd/ -F: package/libedit/ -F: package/libgsm/ -F: package/libiberty/ -F: package/libinput/ -F: package/libiscsi/ -F: package/libpri/ -F: package/libseccomp/ -F: package/libss7/ -F: package/linux-firmware/ -F: package/linux-tools/ -F: package/matchbox* -F: package/mesa3d-headers/ -F: package/nbd/ -F: package/nut/ -F: package/nvidia-driver/ -F: package/omxplayer/ -F: package/python-pyparsing/ -F: package/pkg-download.mk -F: package/pkg-waf.mk -F: package/slirp/ -F: package/snappy/ -F: package/spice/ -F: package/spice-protocol/ -F: package/systemd/ -F: package/systemd-bootchart/ -F: package/tmux/ -F: package/tvheadend/ -F: package/usbredir/ -F: package/vde2/ -F: package/w_scan/ -F: package/wayland/ -F: package/weston/ -F: package/zisofs-tools/ -F: support/download/ - -N: Yegor Yefremov -F: configs/beaglebone_defconfig -F: configs/beaglebone_qt5_defconfig -F: package/acl/ -F: package/attr/ -F: package/boost/ -F: package/bootstrap/ -F: package/cannelloni/ -F: package/can-utils/ -F: package/circus/ -F: package/dhcpcd/ -F: package/feh/ -F: package/giblib/ -F: package/imlib2/ -F: package/jquery-datetimepicker/ -F: package/jquery-sidebar/ -F: package/kmod/ -F: package/libftdi1/ -F: package/libical/ -F: package/libmbim/ -F: package/libndp/ -F: package/libnftnl/ -F: package/libsoc/ -F: package/libsocketcan/ -F: package/libubox/ -F: package/libuci/ -F: package/linux-firmware/ -F: package/linux-serial-test/ -F: package/modem-manager/ -F: package/nftables/ -F: package/nuttcp/ -F: package/parted/ -F: package/phytool/ -F: package/poco/ -F: package/python* -F: package/ser2net/ -F: package/socketcand/ -F: package/swig/ -F: package/qt5/qt5serialbus/ -F: package/sdparm/ -F: package/ti-utils/ -F: package/x11r7/xapp_xconsole/ -F: package/x11r7/xapp_xinput-calibrator/ -F: package/zlog/ -F: support/testing/tests/package/test_libftdi1.py -F: support/testing/tests/package/test_python_can.py -F: utils/scanpypi - -N: Zoltan Gyarmati -F: package/crudini/ -F: package/grantlee/ -F: package/libusb/ -F: package/libusb-compat/ -F: package/proj/ -F: package/python-configobj/ -F: package/python-iniparse/ -F: package/qjson/ -F: package/quazip/ -F: package/shapelib/ -F: package/tinc/ diff --git a/buildroot-2021.05/Makefile b/buildroot-2021.05/Makefile deleted file mode 100644 index 08e4a410..00000000 --- a/buildroot-2021.05/Makefile +++ /dev/null @@ -1,1249 +0,0 @@ -# Makefile for buildroot -# -# Copyright (C) 1999-2005 by Erik Andersen -# Copyright (C) 2006-2014 by the Buildroot developers -# Copyright (C) 2014-2020 by the Buildroot developers -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# - -#-------------------------------------------------------------- -# Just run 'make menuconfig', configure stuff, then run 'make'. -# You shouldn't need to mess with anything beyond this point... -#-------------------------------------------------------------- - -# Delete default rules. We don't use them. This saves a bit of time. -.SUFFIXES: - -# we want bash as shell -SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ - else if [ -x /bin/bash ]; then echo /bin/bash; \ - else echo sh; fi; fi) - -# Set O variable if not already done on the command line; -# or avoid confusing packages that can use the O= syntax for out-of-tree -# build by preventing it from being forwarded to sub-make calls. -ifneq ("$(origin O)", "command line") -O := $(CURDIR)/output -endif - -# Check if the current Buildroot execution meets all the pre-requisites. -# If they are not met, Buildroot will actually do its job in a sub-make meeting -# its pre-requisites, which are: -# 1- Permissive enough umask: -# Wrong or too restrictive umask will prevent Buildroot and packages from -# creating files and directories. -# 2- Absolute canonical CWD (i.e. $(CURDIR)): -# Otherwise, some packages will use CWD as-is, others will compute its -# absolute canonical path. This makes harder tracking and fixing host -# machine path leaks. -# 3- Absolute canonical output location (i.e. $(O)): -# For the same reason as the one for CWD. - -# Remove the trailing '/.' from $(O) as it can be added by the makefile wrapper -# installed in the $(O) directory. -# Also remove the trailing '/' the user can set when on the command line. -override O := $(patsubst %/,%,$(patsubst %.,%,$(O))) -# Make sure $(O) actually exists before calling realpath on it; this is to -# avoid empty CANONICAL_O in case on non-existing entry. -CANONICAL_O := $(shell mkdir -p $(O) >/dev/null 2>&1)$(realpath $(O)) - -# gcc fails to build when the srcdir contains a '@' -ifneq ($(findstring @,$(CANONICAL_O)),) -$(error The build directory can not contain a '@') -endif - -CANONICAL_CURDIR = $(realpath $(CURDIR)) - -REQ_UMASK = 0022 - -# Make sure O= is passed (with its absolute canonical path) everywhere the -# toplevel makefile is called back. -EXTRAMAKEARGS := O=$(CANONICAL_O) - -# Check Buildroot execution pre-requisites here. -ifneq ($(shell umask):$(CURDIR):$(O),$(REQ_UMASK):$(CANONICAL_CURDIR):$(CANONICAL_O)) -.PHONY: _all $(MAKECMDGOALS) - -$(MAKECMDGOALS): _all - @: - -_all: - @umask $(REQ_UMASK) && \ - $(MAKE) -C $(CANONICAL_CURDIR) --no-print-directory \ - $(MAKECMDGOALS) $(EXTRAMAKEARGS) - -else # umask / $(CURDIR) / $(O) - -# This is our default rule, so must come first -all: -.PHONY: all - -# Set and export the version string -export BR2_VERSION := 2021.05 -# Actual time the release is cut (for reproducible builds) -BR2_VERSION_EPOCH = 1623014000 - -# Save running make version since it's clobbered by the make package -RUNNING_MAKE_VERSION := $(MAKE_VERSION) - -# Check for minimal make version (note: this check will break at make 10.x) -MIN_MAKE_VERSION = 3.81 -ifneq ($(firstword $(sort $(RUNNING_MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION)) -$(error You have make '$(RUNNING_MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required) -endif - -# absolute path -TOPDIR := $(CURDIR) -CONFIG_CONFIG_IN = Config.in -CONFIG = support/kconfig -DATE := $(shell date +%Y%m%d) - -# Compute the full local version string so packages can use it as-is -# Need to export it, so it can be got from environment in children (eg. mconf) - -BR2_LOCALVERSION := $(shell $(TOPDIR)/support/scripts/setlocalversion) -ifeq ($(BR2_LOCALVERSION),) -export BR2_VERSION_FULL := $(BR2_VERSION) -else -export BR2_VERSION_FULL := $(BR2_LOCALVERSION) -endif - -# List of targets and target patterns for which .config doesn't need to be read in -noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \ - defconfig %_defconfig allyesconfig allnoconfig alldefconfig syncconfig release \ - randpackageconfig allyespackageconfig allnopackageconfig \ - print-version olddefconfig distclean manual manual-% check-package check-flake8 - -# Some global targets do not trigger a build, but are used to collect -# metadata, or do various checks. When such targets are triggered, -# some packages should not do their configuration sanity -# checks. Provide them a BR_BUILDING variable set to 'y' when we're -# actually building and they should do their sanity checks. -# -# We're building in two situations: when MAKECMDGOALS is empty -# (default target is to build), or when MAKECMDGOALS contains -# something else than one of the nobuild_targets. -nobuild_targets := source %-source \ - legal-info %-legal-info external-deps _external-deps \ - clean distclean help show-targets graph-depends \ - %-graph-depends %-show-depends %-show-version \ - graph-build graph-size list-defconfigs \ - savedefconfig update-defconfig printvars -ifeq ($(MAKECMDGOALS),) -BR_BUILDING = y -else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),) -BR_BUILDING = y -endif - -# We call make recursively to build packages. The command-line overrides that -# are passed to Buildroot don't apply to those package build systems. In -# particular, we don't want to pass down the O= option for out-of-tree -# builds, because the value specified on the command line will not be correct -# for packages. -MAKEOVERRIDES := - -# Include some helper macros and variables -include support/misc/utils.mk - -# Set variables related to in-tree or out-of-tree build. -# Here, both $(O) and $(CURDIR) are absolute canonical paths. -ifeq ($(O),$(CURDIR)/output) -CONFIG_DIR := $(CURDIR) -NEED_WRAPPER = -else -CONFIG_DIR := $(O) -NEED_WRAPPER = y -endif - -# bash prints the name of the directory on 'cd ' if CDPATH is -# set, so unset it here to not cause problems. Notice that the export -# line doesn't affect the environment of $(shell ..) calls. -export CDPATH := - -BASE_DIR := $(CANONICAL_O) -$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist)) - - -# Handling of BR2_EXTERNAL. -# -# The value of BR2_EXTERNAL is stored in .br-external in the output directory. -# The location of the external.mk makefile fragments is computed in that file. -# On subsequent invocations of make, this file is read in. BR2_EXTERNAL can -# still be overridden on the command line, therefore the file is re-created -# every time make is run. - -BR2_EXTERNAL_FILE = $(BASE_DIR)/.br2-external.mk --include $(BR2_EXTERNAL_FILE) -$(shell support/scripts/br2-external -d '$(BASE_DIR)' $(BR2_EXTERNAL)) -BR2_EXTERNAL_ERROR = -include $(BR2_EXTERNAL_FILE) -ifneq ($(BR2_EXTERNAL_ERROR),) -$(error $(BR2_EXTERNAL_ERROR)) -endif - -# Workaround bug in make-4.3: https://savannah.gnu.org/bugs/?57676 -$(BASE_DIR)/.br2-external.mk:; - -# To make sure that the environment variable overrides the .config option, -# set this before including .config. -ifneq ($(BR2_DL_DIR),) -DL_DIR := $(BR2_DL_DIR) -endif -ifneq ($(BR2_CCACHE_DIR),) -BR_CACHE_DIR := $(BR2_CCACHE_DIR) -endif - -# Need that early, before we scan packages -# Avoids doing the $(or...) everytime -BR_GRAPH_OUT := $(or $(BR2_GRAPH_OUT),pdf) - -BUILD_DIR := $(BASE_DIR)/build -BINARIES_DIR := $(BASE_DIR)/images -BASE_TARGET_DIR := $(BASE_DIR)/target -PER_PACKAGE_DIR := $(BASE_DIR)/per-package -# initial definition so that 'make clean' works for most users, even without -# .config. HOST_DIR will be overwritten later when .config is included. -HOST_DIR := $(BASE_DIR)/host -GRAPHS_DIR := $(BASE_DIR)/graphs - -LEGAL_INFO_DIR = $(BASE_DIR)/legal-info -REDIST_SOURCES_DIR_TARGET = $(LEGAL_INFO_DIR)/sources -REDIST_SOURCES_DIR_HOST = $(LEGAL_INFO_DIR)/host-sources -LICENSE_FILES_DIR_TARGET = $(LEGAL_INFO_DIR)/licenses -LICENSE_FILES_DIR_HOST = $(LEGAL_INFO_DIR)/host-licenses -LEGAL_MANIFEST_CSV_TARGET = $(LEGAL_INFO_DIR)/manifest.csv -LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv -LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings -LEGAL_REPORT = $(LEGAL_INFO_DIR)/README - -CPE_UPDATES_DIR = $(BASE_DIR)/cpe-updates - -BR2_CONFIG = $(CONFIG_DIR)/.config - -# Pull in the user's configuration file -ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) --include $(BR2_CONFIG) -endif - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),) -# Disable top-level parallel build if per-package directories is not -# used. Indeed, per-package directories is necessary to guarantee -# determinism and reproducibility with top-level parallel build. -.NOTPARALLEL: -endif - -# timezone and locale may affect build output -ifeq ($(BR2_REPRODUCIBLE),y) -export TZ = UTC -export LANG = C -export LC_ALL = C -endif - -# To put more focus on warnings, be less verbose as default -# Use 'make V=1' to see the full commands -ifeq ("$(origin V)", "command line") - KBUILD_VERBOSE = $(V) -endif -ifndef KBUILD_VERBOSE - KBUILD_VERBOSE = 0 -endif - -ifeq ($(KBUILD_VERBOSE),1) - Q = -ifndef VERBOSE - VERBOSE = 1 -endif -export VERBOSE -else - Q = @ -endif - -# kconfig uses CONFIG_SHELL -CONFIG_SHELL := $(SHELL) - -export SHELL CONFIG_SHELL Q KBUILD_VERBOSE - -ifndef HOSTAR -HOSTAR := ar -endif -ifndef HOSTAS -HOSTAS := as -endif -ifndef HOSTCC -HOSTCC := gcc -HOSTCC := $(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc) -endif -HOSTCC_NOCCACHE := $(HOSTCC) -ifndef HOSTCXX -HOSTCXX := g++ -HOSTCXX := $(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++) -endif -HOSTCXX_NOCCACHE := $(HOSTCXX) -ifndef HOSTCPP -HOSTCPP := cpp -endif -ifndef HOSTLD -HOSTLD := ld -endif -ifndef HOSTLN -HOSTLN := ln -endif -ifndef HOSTNM -HOSTNM := nm -endif -ifndef HOSTOBJCOPY -HOSTOBJCOPY := objcopy -endif -ifndef HOSTRANLIB -HOSTRANLIB := ranlib -endif -HOSTAR := $(shell which $(HOSTAR) || type -p $(HOSTAR) || echo ar) -HOSTAS := $(shell which $(HOSTAS) || type -p $(HOSTAS) || echo as) -HOSTCPP := $(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp) -HOSTLD := $(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld) -HOSTLN := $(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln) -HOSTNM := $(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm) -HOSTOBJCOPY := $(shell which $(HOSTOBJCOPY) || type -p $(HOSTOBJCOPY) || echo objcopy) -HOSTRANLIB := $(shell which $(HOSTRANLIB) || type -p $(HOSTRANLIB) || echo ranlib) -SED := $(shell which sed || type -p sed) -i -e - -export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTLD -export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE - -# Determine the userland we are running on. -# -# Note that, despite its name, we are not interested in the actual -# architecture name. This is mostly used to determine whether some -# of the binary tools (e.g. pre-built external toolchains) can run -# on the current host. So we need to know if the userland we're -# running on can actually run those toolchains. -# -# For example, a 64-bit prebuilt toolchain will not run on a 64-bit -# kernel if the userland is 32-bit (e.g. in a chroot for example). -# -# So, we extract the first part of the tuple the host gcc was -# configured to generate code for; we assume this is our userland. -# -export HOSTARCH := $(shell LC_ALL=C $(HOSTCC_NOCCACHE) -v 2>&1 | \ - sed -e '/^Target: \([^-]*\).*/!d' \ - -e 's//\1/' \ - -e 's/i.86/x86/' \ - -e 's/sun4u/sparc64/' \ - -e 's/arm.*/arm/' \ - -e 's/sa110/arm/' \ - -e 's/ppc64/powerpc64/' \ - -e 's/ppc/powerpc/' \ - -e 's/macppc/powerpc/' \ - -e 's/sh.*/sh/' ) - -# When adding a new host gcc version in Config.in, -# update the HOSTCC_MAX_VERSION variable: -HOSTCC_MAX_VERSION := 9 - -HOSTCC_VERSION := $(shell V=$$($(HOSTCC_NOCCACHE) --version | \ - sed -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p'); \ - [ "$${V%% *}" -le $(HOSTCC_MAX_VERSION) ] || V=$(HOSTCC_MAX_VERSION); \ - printf "%s" "$${V}") - -# For gcc >= 5.x, we only need the major version. -ifneq ($(firstword $(HOSTCC_VERSION)),4) -HOSTCC_VERSION := $(firstword $(HOSTCC_VERSION)) -endif - -ifeq ($(BR2_NEEDS_HOST_UTF8_LOCALE),y) -# First, we try to use the user's configured locale (as that's the -# language they'd expect messages to be displayed), then we favour -# a non language-specific locale like C.UTF-8 if one is available, -# so we sort with the C locale to get it at the top. -# This is guaranteed to not be empty, because of the check in -# support/dependencies/dependencies.sh -HOST_UTF8_LOCALE := $(shell \ - ( echo $${LC_ALL:-$${LC_MESSAGES:-$${LANG}}}; \ - locale -a 2>/dev/null | LC_ALL=C sort \ - ) \ - | grep -i -E 'utf-?8$$' \ - | head -n 1) -HOST_UTF8_LOCALE_ENV := LC_ALL=$(HOST_UTF8_LOCALE) -endif - -# Make sure pkg-config doesn't look outside the buildroot tree -HOST_PKG_CONFIG_PATH := $(PKG_CONFIG_PATH) -unexport PKG_CONFIG_PATH -unexport PKG_CONFIG_SYSROOT_DIR -unexport PKG_CONFIG_LIBDIR - -# Having DESTDIR set in the environment confuses the installation -# steps of some packages. -unexport DESTDIR - -# Causes breakage with packages that needs host-ruby -unexport RUBYOPT - -include package/pkg-utils.mk -include package/doc-asciidoc.mk - -ifeq ($(BR2_HAVE_DOT_CONFIG),y) - -################################################################################ -# -# Hide troublesome environment variables from sub processes -# -################################################################################ -unexport CROSS_COMPILE -unexport ARCH -unexport CC -unexport LD -unexport AR -unexport CXX -unexport CPP -unexport RANLIB -unexport CFLAGS -unexport CXXFLAGS -unexport GREP_OPTIONS -unexport TAR_OPTIONS -unexport CONFIG_SITE -unexport QMAKESPEC -unexport TERMINFO -unexport MACHINE -unexport O -unexport GCC_COLORS -unexport PLATFORM -unexport OS - -GNU_HOST_NAME := $(shell support/gnuconfig/config.guess) - -PACKAGES := -PACKAGES_ALL := - -# silent mode requested? -QUIET := $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),-q) - -# Strip off the annoying quoting -ARCH := $(call qstrip,$(BR2_ARCH)) - -KERNEL_ARCH := $(shell echo "$(ARCH)" | sed -e "s/-.*//" \ - -e s/i.86/i386/ -e s/sun4u/sparc64/ \ - -e s/arcle/arc/ \ - -e s/arceb/arc/ \ - -e s/arm.*/arm/ -e s/sa110/arm/ \ - -e s/aarch64.*/arm64/ \ - -e s/nds32.*/nds32/ \ - -e s/or1k/openrisc/ \ - -e s/parisc64/parisc/ \ - -e s/powerpc64.*/powerpc/ \ - -e s/ppc.*/powerpc/ -e s/mips.*/mips/ \ - -e s/riscv.*/riscv/ \ - -e s/sh.*/sh/ \ - -e s/s390x/s390/ \ - -e s/microblazeel/microblaze/) - -ZCAT := $(call qstrip,$(BR2_ZCAT)) -BZCAT := $(call qstrip,$(BR2_BZCAT)) -XZCAT := $(call qstrip,$(BR2_XZCAT)) -LZCAT := $(call qstrip,$(BR2_LZCAT)) -TAR_OPTIONS = $(call qstrip,$(BR2_TAR_OPTIONS)) -xf - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -HOST_DIR = $(if $(PKG),$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/host,$(call qstrip,$(BR2_HOST_DIR))) -TARGET_DIR = $(if $(ROOTFS),$(ROOTFS_$(ROOTFS)_TARGET_DIR),$(if $(PKG),$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/target,$(BASE_TARGET_DIR))) -else -HOST_DIR := $(call qstrip,$(BR2_HOST_DIR)) -TARGET_DIR = $(if $(ROOTFS),$(ROOTFS_$(ROOTFS)_TARGET_DIR),$(BASE_TARGET_DIR)) -endif - -ifneq ($(HOST_DIR),$(BASE_DIR)/host) -HOST_DIR_SYMLINK = $(BASE_DIR)/host -$(HOST_DIR_SYMLINK): | $(BASE_DIR) - ln -snf $(HOST_DIR) $(HOST_DIR_SYMLINK) -endif - -STAGING_DIR_SYMLINK = $(BASE_DIR)/staging -$(STAGING_DIR_SYMLINK): | $(BASE_DIR) - ln -snf $(STAGING_DIR) $(STAGING_DIR_SYMLINK) - -# Quotes are needed for spaces and all in the original PATH content. -BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(PATH)" - -# Location of a file giving a big fat warning that output/target -# should not be used as the root filesystem. -TARGET_DIR_WARNING_FILE = $(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM - -ifeq ($(BR2_CCACHE),y) -CCACHE = $(HOST_DIR)/bin/ccache -BR_CACHE_DIR ?= $(call qstrip,$(BR2_CCACHE_DIR)) -export BR_CACHE_DIR -HOSTCC = $(CCACHE) $(HOSTCC_NOCCACHE) -HOSTCXX = $(CCACHE) $(HOSTCXX_NOCCACHE) -else -export BR_NO_CCACHE -endif - -# Scripts in support/ or post-build scripts may need to reference -# these locations, so export them so it is easier to use -export BR2_CONFIG -export BR2_REPRODUCIBLE -export TARGET_DIR -export STAGING_DIR -export HOST_DIR -export BINARIES_DIR -export BASE_DIR - -################################################################################ -# -# You should probably leave this stuff alone unless you know -# what you are doing. -# -################################################################################ - -all: world - -# Include legacy before the other things, because package .mk files -# may rely on it. -include Makefile.legacy - -include system/system.mk -include package/Makefile.in -# arch/arch.mk must be after package/Makefile.in because it may need to -# complement variables defined therein, like BR_NO_CHECK_HASH_FOR. -include arch/arch.mk -include support/dependencies/dependencies.mk - -include $(sort $(wildcard toolchain/*.mk)) -include $(sort $(wildcard toolchain/*/*.mk)) - -ifeq ($(BR2_REPRODUCIBLE),y) -# If SOURCE_DATE_EPOCH has not been set then use the commit date, or the last -# release date if the source tree is not within a Git repository. -# See: https://reproducible-builds.org/specs/source-date-epoch/ -BR2_VERSION_GIT_EPOCH := $(shell $(GIT) log -1 --format=%at 2> /dev/null) -export SOURCE_DATE_EPOCH ?= $(or $(BR2_VERSION_GIT_EPOCH),$(BR2_VERSION_EPOCH)) -endif - -# Include the package override file if one has been provided in the -# configuration. -PACKAGE_OVERRIDE_FILE = $(call qstrip,$(BR2_PACKAGE_OVERRIDE_FILE)) -ifneq ($(PACKAGE_OVERRIDE_FILE),) --include $(PACKAGE_OVERRIDE_FILE) -endif - -include $(sort $(wildcard package/*/*.mk)) - -include boot/common.mk -include linux/linux.mk -include fs/common.mk - -# If using a br2-external tree, the BR2_EXTERNAL_$(NAME)_PATH variables -# are also present in the .config file. Since .config is included after -# we defined them in the Makefile, the values for those variables are -# quoted. We just include the generated Makefile fragment .br2-external.mk -# a third time, which will set those variables to the un-quoted values. -include $(BR2_EXTERNAL_FILE) - -# Nothing to include if no BR2_EXTERNAL tree in use -include $(BR2_EXTERNAL_MKS) - -# Now we are sure we have all the packages scanned and defined. We now -# check for each package in the list of enabled packages, that all its -# dependencies are indeed enabled. -# -# Only trigger the check for default builds. If the user forces building -# a package, even if not enabled in the configuration, we want to accept -# it. However; we also want to be able to force checking the dependencies -# if the user so desires. Forcing a dependency check is useful in the case -# of test-pkg, as we want to make sure during testing, that a package has -# all the dependencies selected in the config file. -# -ifeq ($(MAKECMDGOALS),) -BR_FORCE_CHECK_DEPENDENCIES = YES -endif - -ifeq ($(BR_FORCE_CHECK_DEPENDENCIES),YES) - -define CHECK_ONE_DEPENDENCY -ifeq ($$($(2)_TYPE),target) -ifeq ($$($(2)_IS_VIRTUAL),) -ifneq ($$($$($(2)_KCONFIG_VAR)),y) -$$(error $$($(2)_NAME) is in the dependency chain of $$($(1)_NAME) that \ -has added it to its _DEPENDENCIES variable without selecting it or \ -depending on it from Config.in) -endif -endif -endif -endef - -$(foreach pkg,$(call UPPERCASE,$(PACKAGES)),\ - $(foreach dep,$(call UPPERCASE,$($(pkg)_FINAL_ALL_DEPENDENCIES)),\ - $(eval $(call CHECK_ONE_DEPENDENCY,$(pkg),$(dep))$(sep)))) - -endif - -$(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG) - $(MAKE1) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" syncconfig - -.PHONY: prepare -prepare: $(BUILD_DIR)/buildroot-config/auto.conf - -.PHONY: world -world: target-post-image - -.PHONY: prepare-sdk -prepare-sdk: world - @$(call MESSAGE,"Rendering the SDK relocatable") - PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath host - PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath staging - $(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh - mkdir -p $(HOST_DIR)/share/buildroot - echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location - -BR2_SDK_PREFIX ?= $(GNU_TARGET_NAME)_sdk-buildroot -.PHONY: sdk -sdk: prepare-sdk $(BR2_TAR_HOST_DEPENDENCY) - @$(call MESSAGE,"Generating SDK tarball") - $(if $(BR2_SDK_PREFIX),,$(error BR2_SDK_PREFIX can not be empty)) - $(Q)mkdir -p $(BINARIES_DIR) - $(TAR) czf "$(BINARIES_DIR)/$(BR2_SDK_PREFIX).tar.gz" \ - --owner=0 --group=0 --numeric-owner \ - --transform='s#^$(patsubst /%,%,$(HOST_DIR))#$(BR2_SDK_PREFIX)#' \ - -C / $(patsubst /%,%,$(HOST_DIR)) - -RSYNC_VCS_EXCLUSIONS = \ - --exclude .svn --exclude .git --exclude .hg --exclude .bzr \ - --exclude CVS - -# When stripping, obey to BR2_STRIP_EXCLUDE_DIRS and -# BR2_STRIP_EXCLUDE_FILES -STRIP_FIND_COMMON_CMD = \ - find $(TARGET_DIR) \ - $(if $(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS)), \ - \( $(call finddirclauses,$(TARGET_DIR),$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS))) \) \ - -prune -o \ - ) \ - $(if $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES)), \ - -not \( $(call findfileclauses,$(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) ) - -# Regular stripping for everything, except libpthread, ld-*.so and -# kernel modules: -# - libpthread.so: a non-stripped libpthread shared library is needed for -# proper debugging of pthread programs using gdb. -# - ld.so: a non-stripped dynamic linker library is needed for valgrind -# - kernel modules (*.ko): do not function properly when stripped like normal -# applications and libraries. Normally kernel modules are already excluded -# by the executable permission check, so the explicit exclusion is only -# done for kernel modules with incorrect permissions. -STRIP_FIND_CMD = \ - $(STRIP_FIND_COMMON_CMD) \ - -type f \( -perm /111 -o -name '*.so*' \) \ - -not \( $(call findfileclauses,libpthread*.so* ld-*.so* *.ko) \) \ - -print0 - -# Special stripping (only debugging symbols) for libpthread and ld-*.so. -STRIP_FIND_SPECIAL_LIBS_CMD = \ - $(STRIP_FIND_COMMON_CMD) \ - \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) \ - -print0 - -ifeq ($(BR2_ECLIPSE_REGISTER),y) -define TOOLCHAIN_ECLIPSE_REGISTER - ./support/scripts/eclipse-register-toolchain `readlink -f $(O)` \ - $(notdir $(TARGET_CROSS)) $(BR2_ARCH) -endef -TARGET_FINALIZE_HOOKS += TOOLCHAIN_ECLIPSE_REGISTER -endif - -# Generate locale data. Basically, we call the localedef program -# (built by the host-localedef package) for each locale. The input -# data comes preferably from the toolchain, or if the toolchain does -# not have them (Linaro toolchains), we use the ones available on the -# host machine. -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) -GLIBC_GENERATE_LOCALES = $(call qstrip,$(BR2_GENERATE_LOCALE)) -ifneq ($(GLIBC_GENERATE_LOCALES),) -PACKAGES += host-localedef - -define GENERATE_GLIBC_LOCALES - $(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/ - $(Q)for locale in $(GLIBC_GENERATE_LOCALES) ; do \ - inputfile=`echo $${locale} | cut -f1 -d'.'` ; \ - charmap=`echo $${locale} | cut -f2 -d'.' -s` ; \ - if test -z "$${charmap}" ; then \ - charmap="UTF-8" ; \ - fi ; \ - echo "Generating locale $${inputfile}.$${charmap}" ; \ - I18NPATH=$(STAGING_DIR)/usr/share/i18n:/usr/share/i18n \ - $(HOST_DIR)/bin/localedef \ - --prefix=$(TARGET_DIR) \ - --$(call LOWERCASE,$(BR2_ENDIAN))-endian \ - -i $${inputfile} -f $${charmap} \ - $${locale} ; \ - done -endef -TARGET_FINALIZE_HOOKS += GENERATE_GLIBC_LOCALES -endif -endif - -ifeq ($(BR2_ENABLE_LOCALE_PURGE),y) -LOCALE_WHITELIST = $(BUILD_DIR)/locales.nopurge -LOCALE_NOPURGE = $(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST)) - -# This piece of junk does the following: -# First collect the whitelist in a file. -# Then go over all the locale dirs and for each subdir, check if it exists -# in the whitelist file. If it doesn't, kill it. -# Finally, specifically for X11, regenerate locale.dir from the whitelist. -define PURGE_LOCALES - printf '%s\n' $(LOCALE_NOPURGE) locale-archive > $(LOCALE_WHITELIST) - - for dir in $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/lib/locale); \ - do \ - if [ ! -d $$dir ]; then continue; fi; \ - for langdir in $$dir/*; \ - do \ - if [ -e "$${langdir}" ]; \ - then \ - grep -qx "$${langdir##*/}" $(LOCALE_WHITELIST) || rm -rf $$langdir; \ - fi \ - done; \ - done - if [ -d $(TARGET_DIR)/usr/share/X11/locale ]; \ - then \ - for lang in $(LOCALE_NOPURGE); \ - do \ - if [ -f $(TARGET_DIR)/usr/share/X11/locale/$$lang/XLC_LOCALE ]; \ - then \ - echo "$$lang/XLC_LOCALE: $$lang"; \ - fi \ - done > $(TARGET_DIR)/usr/share/X11/locale/locale.dir; \ - fi -endef -TARGET_FINALIZE_HOOKS += PURGE_LOCALES -endif - -$(TARGETS_ROOTFS): target-finalize - -# Avoid the rootfs name leaking down the dependency chain -target-finalize: ROOTFS= - -TARGET_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list.txt)) -HOST_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list-host.txt)) -STAGING_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list-staging.txt)) - -.PHONY: host-finalize -host-finalize: $(PACKAGES) $(HOST_DIR) $(HOST_DIR_SYMLINK) - @$(call MESSAGE,"Finalizing host directory") - $(call per-package-rsync,$(sort $(PACKAGES)),host,$(HOST_DIR)) - -.PHONY: staging-finalize -staging-finalize: $(STAGING_DIR_SYMLINK) - -.PHONY: target-finalize -target-finalize: $(PACKAGES) $(TARGET_DIR) host-finalize - @$(call MESSAGE,"Finalizing target directory") - $(call per-package-rsync,$(sort $(PACKAGES)),target,$(TARGET_DIR)) - $(foreach hook,$(TARGET_FINALIZE_HOOKS),$($(hook))$(sep)) - rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \ - $(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \ - $(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake \ - $(TARGET_DIR)/usr/doc - find $(TARGET_DIR)/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f - find $(TARGET_DIR)/lib/ $(TARGET_DIR)/usr/lib/ $(TARGET_DIR)/usr/libexec/ \ - \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f -ifneq ($(BR2_PACKAGE_GDB),y) - rm -rf $(TARGET_DIR)/usr/share/gdb -endif -ifneq ($(BR2_PACKAGE_BASH),y) - rm -rf $(TARGET_DIR)/usr/share/bash-completion - rm -rf $(TARGET_DIR)/etc/bash_completion.d -endif -ifneq ($(BR2_PACKAGE_ZSH),y) - rm -rf $(TARGET_DIR)/usr/share/zsh -endif - rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man - rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info - rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc - rm -rf $(TARGET_DIR)/usr/share/gtk-doc - rmdir $(TARGET_DIR)/usr/share 2>/dev/null || true -ifneq ($(BR2_ENABLE_DEBUG):$(BR2_STRIP_strip),y:) - rm -rf $(TARGET_DIR)/lib/debug $(TARGET_DIR)/usr/lib/debug -endif - $(STRIP_FIND_CMD) | xargs -0 $(STRIPCMD) 2>/dev/null || true - $(STRIP_FIND_SPECIAL_LIBS_CMD) | xargs -0 -r $(STRIPCMD) $(STRIP_STRIP_DEBUG) 2>/dev/null || true - - test -f $(TARGET_DIR)/etc/ld.so.conf && \ - { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true - test -d $(TARGET_DIR)/etc/ld.so.conf.d && \ - { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true - mkdir -p $(TARGET_DIR)/etc - ( \ - echo "NAME=Buildroot"; \ - echo "VERSION=$(BR2_VERSION_FULL)"; \ - echo "ID=buildroot"; \ - echo "VERSION_ID=$(BR2_VERSION)"; \ - echo "PRETTY_NAME=\"Buildroot $(BR2_VERSION)\"" \ - ) > $(TARGET_DIR)/usr/lib/os-release - ln -sf ../usr/lib/os-release $(TARGET_DIR)/etc - - @$(call MESSAGE,"Sanitizing RPATH in target tree") - PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath target - -# For a merged /usr, ensure that /lib, /bin and /sbin and their /usr -# counterparts are appropriately setup as symlinks ones to the others. -ifeq ($(BR2_ROOTFS_MERGED_USR),y) - - $(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \ - @$(call MESSAGE,"Sanity check in overlay $(d)")$(sep) \ - $(Q)not_merged_dirs="$$(support/scripts/check-merged-usr.sh $(d))"; \ - test -n "$$not_merged_dirs" && { \ - echo "ERROR: The overlay in $(d) is not" \ - "using a merged /usr for the following directories:" \ - $$not_merged_dirs; \ - exit 1; \ - } || true$(sep)) - -endif # merged /usr - - $(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \ - @$(call MESSAGE,"Copying overlay $(d)")$(sep) \ - $(Q)$(call SYSTEM_RSYNC,$(d),$(TARGET_DIR))$(sep)) - - $(Q)$(if $(TARGET_DIR_FILES_LISTS), \ - cat $(TARGET_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list.txt - $(Q)$(if $(HOST_DIR_FILES_LISTS), \ - cat $(HOST_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list-host.txt - $(Q)$(if $(STAGING_DIR_FILES_LISTS), \ - cat $(STAGING_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list-staging.txt - - $(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_BUILD_SCRIPT)), \ - @$(call MESSAGE,"Executing post-build script $(s)")$(sep) \ - $(Q)$(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep)) - - touch $(TARGET_DIR)/usr - -.PHONY: target-post-image -target-post-image: $(TARGETS_ROOTFS) target-finalize staging-finalize - @rm -f $(ROOTFS_COMMON_TAR) - $(Q)mkdir -p $(BINARIES_DIR) - @$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \ - $(call MESSAGE,"Executing post-image script $(s)"); \ - $(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep)) - -.PHONY: source -source: $(foreach p,$(PACKAGES),$(p)-all-source) - -.PHONY: _external-deps external-deps -_external-deps: $(foreach p,$(PACKAGES),$(p)-all-external-deps) -external-deps: - @$(MAKE1) -Bs $(EXTRAMAKEARGS) _external-deps | sort -u - -.PHONY: legal-info-clean -legal-info-clean: - @rm -fr $(LEGAL_INFO_DIR) - -.PHONY: legal-info-prepare -legal-info-prepare: $(LEGAL_INFO_DIR) - @$(call MESSAGE,"Buildroot $(BR2_VERSION_FULL) Collecting legal info") - @$(call legal-license-file,buildroot,buildroot,support/legal-info/buildroot.hash,COPYING,COPYING,HOST) - @$(call legal-manifest,TARGET,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,DEPENDENCIES WITH LICENSES) - @$(call legal-manifest,HOST,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,DEPENDENCIES WITH LICENSES) - @$(call legal-manifest,HOST,buildroot,$(BR2_VERSION_FULL),GPL-2.0+,COPYING,not saved,not saved) - @$(call legal-warning,the Buildroot source code has not been saved) - @cp $(BR2_CONFIG) $(LEGAL_INFO_DIR)/buildroot.config - -.PHONY: legal-info -legal-info: legal-info-clean legal-info-prepare $(foreach p,$(PACKAGES),$(p)-all-legal-info) \ - $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST) - @cat support/legal-info/README.header >>$(LEGAL_REPORT) - @if [ -r $(LEGAL_WARNINGS) ]; then \ - cat support/legal-info/README.warnings-header \ - $(LEGAL_WARNINGS) >>$(LEGAL_REPORT); \ - cat $(LEGAL_WARNINGS); fi - @rm -f $(LEGAL_WARNINGS) - @(cd $(LEGAL_INFO_DIR); \ - find * -type f -exec sha256sum {} + | LC_ALL=C sort -k2 \ - >.legal-info.sha256; \ - mv .legal-info.sha256 legal-info.sha256) - @echo "Legal info produced in $(LEGAL_INFO_DIR)" - -.PHONY: show-targets -show-targets: - @echo $(sort $(PACKAGES)) $(sort $(TARGETS_ROOTFS)) - -.PHONY: show-build-order -show-build-order: $(patsubst %,%-show-build-order,$(PACKAGES)) - -.PHONY: graph-build -graph-build: $(O)/build/build-time.log - @install -d $(GRAPHS_DIR) - $(foreach o,name build duration,./support/scripts/graph-build-time \ - --type=histogram --order=$(o) --input=$(<) \ - --output=$(GRAPHS_DIR)/build.hist-$(o).$(BR_GRAPH_OUT) \ - $(if $(BR2_GRAPH_ALT),--alternate-colors)$(sep)) - $(foreach t,packages steps,./support/scripts/graph-build-time \ - --type=pie-$(t) --input=$(<) \ - --output=$(GRAPHS_DIR)/build.pie-$(t).$(BR_GRAPH_OUT) \ - $(if $(BR2_GRAPH_ALT),--alternate-colors)$(sep)) - -.PHONY: graph-depends-requirements -graph-depends-requirements: - @dot -? >/dev/null 2>&1 || \ - { echo "ERROR: The 'dot' program from Graphviz is needed for graph-depends" >&2; exit 1; } - -.PHONY: graph-depends -graph-depends: graph-depends-requirements - @$(INSTALL) -d $(GRAPHS_DIR) - @cd "$(CONFIG_DIR)"; \ - $(TOPDIR)/support/scripts/graph-depends $(BR2_GRAPH_DEPS_OPTS) \ - --direct -o $(GRAPHS_DIR)/$(@).dot - dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) \ - -o $(GRAPHS_DIR)/$(@).$(BR_GRAPH_OUT) \ - $(GRAPHS_DIR)/$(@).dot - -.PHONY: graph-size -graph-size: - $(Q)mkdir -p $(GRAPHS_DIR) - $(Q)$(TOPDIR)/support/scripts/size-stats --builddir $(BASE_DIR) \ - --graph $(GRAPHS_DIR)/graph-size.$(BR_GRAPH_OUT) \ - --file-size-csv $(GRAPHS_DIR)/file-size-stats.csv \ - --package-size-csv $(GRAPHS_DIR)/package-size-stats.csv \ - $(BR2_GRAPH_SIZE_OPTS) - -.PHONY: check-dependencies -check-dependencies: - @cd "$(CONFIG_DIR)"; \ - $(TOPDIR)/support/scripts/graph-depends -C - -.PHONY: show-info -show-info: - @: - $(info $(call clean-json, \ - { $(foreach p, \ - $(sort $(foreach i,$(PACKAGES) $(TARGETS_ROOTFS), \ - $(i) \ - $($(call UPPERCASE,$(i))_FINAL_RECURSIVE_DEPENDENCIES) \ - ) \ - ), \ - $(call json-info,$(call UPPERCASE,$(p)))$(comma) \ - ) } \ - ) \ - ) - -.PHONY: pkg-stats -pkg-stats: - @cd "$(CONFIG_DIR)" ; \ - $(TOPDIR)/support/scripts/pkg-stats -c \ - --json $(O)/pkg-stats.json \ - --html $(O)/pkg-stats.html \ - --nvd-path $(DL_DIR)/buildroot-nvd - -.PHONY: missing-cpe -missing-cpe: - $(Q)mkdir -p $(CPE_UPDATES_DIR) - $(Q)cd "$(CONFIG_DIR)" ; \ - $(TOPDIR)/support/scripts/gen-missing-cpe \ - --nvd-path $(DL_DIR)/buildroot-nvd \ - --output $(CPE_UPDATES_DIR) - -else # ifeq ($(BR2_HAVE_DOT_CONFIG),y) - -# Some subdirectories are also package names. To avoid that "make linux" -# on an unconfigured tree produces "Nothing to be done", add an explicit -# rule for it. -# Also for 'all' we error out and ask the user to configure first. -.PHONY: linux toolchain -linux toolchain all: outputmakefile - $(error Please configure Buildroot first (e.g. "make menuconfig")) - @exit 1 - -endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y) - -# configuration -# --------------------------------------------------------------------------- - -HOSTCFLAGS = $(CFLAGS_FOR_BUILD) -export HOSTCFLAGS - -$(BUILD_DIR)/buildroot-config/%onf: - mkdir -p $(@D)/lxdialog - PKG_CONFIG_PATH="$(HOST_PKG_CONFIG_PATH)" $(MAKE) CC="$(HOSTCC_NOCCACHE)" HOSTCC="$(HOSTCC_NOCCACHE)" \ - obj=$(@D) -C $(CONFIG) -f Makefile.br $(@F) - -DEFCONFIG = $(call qstrip,$(BR2_DEFCONFIG)) - -# We don't want to fully expand BR2_DEFCONFIG here, so Kconfig will -# recognize that if it's still at its default $(CONFIG_DIR)/defconfig -COMMON_CONFIG_ENV = \ - BR2_DEFCONFIG='$(call qstrip,$(value BR2_DEFCONFIG))' \ - KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \ - KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \ - KCONFIG_TRISTATE=$(BUILD_DIR)/buildroot-config/tristate.config \ - BR2_CONFIG=$(BR2_CONFIG) \ - HOST_GCC_VERSION="$(HOSTCC_VERSION)" \ - BASE_DIR=$(BASE_DIR) \ - SKIP_LEGACY= - -xconfig: $(BUILD_DIR)/buildroot-config/qconf outputmakefile - @$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN) - -gconfig: $(BUILD_DIR)/buildroot-config/gconf outputmakefile - @$(COMMON_CONFIG_ENV) srctree=$(TOPDIR) $< $(CONFIG_CONFIG_IN) - -menuconfig: $(BUILD_DIR)/buildroot-config/mconf outputmakefile - @$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN) - -nconfig: $(BUILD_DIR)/buildroot-config/nconf outputmakefile - @$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN) - -config: $(BUILD_DIR)/buildroot-config/conf outputmakefile - @$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN) - -# For the config targets that automatically select options, we pass -# SKIP_LEGACY=y to disable the legacy options. However, in that case -# no values are set for the legacy options so a subsequent oldconfig -# will query them. Therefore, run an additional olddefconfig. - -randconfig allyesconfig alldefconfig allnoconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile - @$(COMMON_CONFIG_ENV) SKIP_LEGACY=y $< --$@ $(CONFIG_CONFIG_IN) - @$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null - -randpackageconfig allyespackageconfig allnopackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile - @grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg - @$(COMMON_CONFIG_ENV) SKIP_LEGACY=y \ - KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \ - $< --$(subst package,,$@) $(CONFIG_CONFIG_IN) - @rm -f $(CONFIG_DIR)/.config.nopkg - @$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null - -oldconfig syncconfig olddefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile - @$(COMMON_CONFIG_ENV) $< --$@ $(CONFIG_CONFIG_IN) - -defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile - @$(COMMON_CONFIG_ENV) $< --defconfig$(if $(DEFCONFIG),=$(DEFCONFIG)) $(CONFIG_CONFIG_IN) - -define percent_defconfig -# Override the BR2_DEFCONFIG from COMMON_CONFIG_ENV with the new defconfig -%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(1)/configs/%_defconfig outputmakefile - @$$(COMMON_CONFIG_ENV) BR2_DEFCONFIG=$(1)/configs/$$@ \ - $$< --defconfig=$(1)/configs/$$@ $$(CONFIG_CONFIG_IN) -endef -$(eval $(foreach d,$(call reverse,$(TOPDIR) $(BR2_EXTERNAL_DIRS)),$(call percent_defconfig,$(d))$(sep))) - -update-defconfig: savedefconfig - -savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile - @$(COMMON_CONFIG_ENV) $< \ - --savedefconfig=$(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig) \ - $(CONFIG_CONFIG_IN) - @$(SED) '/^BR2_DEFCONFIG=/d' $(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig) - -.PHONY: defconfig savedefconfig update-defconfig - -################################################################################ -# -# Cleanup and misc junk -# -################################################################################ - -# staging and target directories do NOT list these as -# dependencies anywhere else -$(BUILD_DIR) $(BASE_TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST) $(PER_PACKAGE_DIR): - @mkdir -p $@ - -# outputmakefile generates a Makefile in the output directory, if using a -# separate output directory. This allows convenient use of make in the -# output directory. -.PHONY: outputmakefile -outputmakefile: -ifeq ($(NEED_WRAPPER),y) - $(Q)$(TOPDIR)/support/scripts/mkmakefile $(TOPDIR) $(O) -endif - -# printvars prints all the variables currently defined in our -# Makefiles. Alternatively, if a non-empty VARS variable is passed, -# only the variables matching the make pattern passed in VARS are -# displayed. -.PHONY: printvars -printvars: - @: - $(foreach V, \ - $(sort $(filter $(VARS),$(.VARIABLES))), \ - $(if $(filter-out environment% default automatic, \ - $(origin $V)), \ - $(if $(QUOTED_VARS),\ - $(info $V='$(subst ','\'',$(if $(RAW_VARS),$(value $V),$($V)))'), \ - $(info $V=$(if $(RAW_VARS),$(value $V),$($V)))))) -# ' Syntax colouring... - -.PHONY: clean -clean: - rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \ - $(BUILD_DIR) $(BASE_DIR)/staging \ - $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \ - $(O)/pkg-stats.* - -.PHONY: distclean -distclean: clean -ifeq ($(O),$(CURDIR)/output) - rm -rf $(O) -endif - rm -rf $(TOPDIR)/dl $(BR2_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/..config.tmp \ - $(CONFIG_DIR)/.auto.deps $(BASE_DIR)/.br2-external.* - -.PHONY: help -help: - @echo 'Cleaning:' - @echo ' clean - delete all files created by build' - @echo ' distclean - delete all non-source files (including .config)' - @echo - @echo 'Build:' - @echo ' all - make world' - @echo ' toolchain - build toolchain' - @echo ' sdk - build relocatable SDK' - @echo - @echo 'Configuration:' - @echo ' menuconfig - interactive curses-based configurator' - @echo ' nconfig - interactive ncurses-based configurator' - @echo ' xconfig - interactive Qt-based configurator' - @echo ' gconfig - interactive GTK-based configurator' - @echo ' oldconfig - resolve any unresolved symbols in .config' - @echo ' syncconfig - Same as oldconfig, but quietly, additionally update deps' - @echo ' olddefconfig - Same as syncconfig but sets new symbols to their default value' - @echo ' randconfig - New config with random answer to all options' - @echo ' defconfig - New config with default answer to all options;' - @echo ' BR2_DEFCONFIG, if set on the command line, is used as input' - @echo ' savedefconfig - Save current config to BR2_DEFCONFIG (minimal config)' - @echo ' update-defconfig - Same as savedefconfig' - @echo ' allyesconfig - New config where all options are accepted with yes' - @echo ' allnoconfig - New config where all options are answered with no' - @echo ' alldefconfig - New config where all options are set to default' - @echo ' randpackageconfig - New config with random answer to package options' - @echo ' allyespackageconfig - New config where pkg options are accepted with yes' - @echo ' allnopackageconfig - New config where package options are answered with no' - @echo - @echo 'Package-specific:' - @echo ' - Build and install and all its dependencies' - @echo ' -source - Only download the source files for ' - @echo ' -extract - Extract sources' - @echo ' -patch - Apply patches to ' - @echo ' -depends - Build '\''s dependencies' - @echo ' -configure - Build up to the configure step' - @echo ' -build - Build up to the build step' - @echo ' -show-info - generate info about , as a JSON blurb' - @echo ' -show-depends - List packages on which depends' - @echo ' -show-rdepends - List packages which have as a dependency' - @echo ' -show-recursive-depends' - @echo ' - Recursively list packages on which depends' - @echo ' -show-recursive-rdepends' - @echo ' - Recursively list packages which have as a dependency' - @echo ' -graph-depends - Generate a graph of '\''s dependencies' - @echo ' -graph-rdepends - Generate a graph of '\''s reverse dependencies' - @echo ' -dirclean - Remove build directory' - @echo ' -reconfigure - Restart the build from the configure step' - @echo ' -rebuild - Restart the build from the build step' - $(foreach p,$(HELP_PACKAGES), \ - @echo $(sep) \ - @echo '$($(p)_NAME):' $(sep) \ - $($(p)_HELP_CMDS)$(sep)) - @echo - @echo 'Documentation:' - @echo ' manual - build manual in all formats' - @echo ' manual-html - build manual in HTML' - @echo ' manual-split-html - build manual in split HTML' - @echo ' manual-pdf - build manual in PDF' - @echo ' manual-text - build manual in text' - @echo ' manual-epub - build manual in ePub' - @echo ' graph-build - generate graphs of the build times' - @echo ' graph-depends - generate graph of the dependency tree' - @echo ' graph-size - generate stats of the filesystem size' - @echo ' list-defconfigs - list all defconfigs (pre-configured minimal systems)' - @echo - @echo 'Miscellaneous:' - @echo ' source - download all sources needed for offline-build' - @echo ' external-deps - list external packages used' - @echo ' legal-info - generate info about license compliance' - @echo ' show-info - generate info about packages, as a JSON blurb' - @echo ' pkg-stats - generate info about packages as JSON and HTML' - @echo ' missing-cpe - generate XML snippets for missing CPE identifiers' - @echo ' printvars - dump internal variables selected with VARS=...' - @echo - @echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build' - @echo ' make O=dir - Locate all output files in "dir", including .config' - @echo - @echo 'For further details, see README, generate the Buildroot manual, or consult' - @echo 'it on-line at http://buildroot.org/docs.html' - @echo - -# List the defconfig files -# $(1): base directory -# $(2): br2-external name, empty for bundled -define list-defconfigs - @first=true; \ - for defconfig in $(1)/configs/*_defconfig; do \ - [ -f "$${defconfig}" ] || continue; \ - if $${first}; then \ - if [ "$(2)" ]; then \ - printf 'External configs in "$(call qstrip,$(2))":\n'; \ - else \ - printf "Built-in configs:\n"; \ - fi; \ - first=false; \ - fi; \ - defconfig="$${defconfig##*/}"; \ - printf " %-35s - Build for %s\n" "$${defconfig}" "$${defconfig%_defconfig}"; \ - done; \ - $${first} || printf "\n" -endef - -# We iterate over BR2_EXTERNAL_NAMES rather than BR2_EXTERNAL_DIRS, -# because we want to display the name of the br2-external tree. -.PHONY: list-defconfigs -list-defconfigs: - $(call list-defconfigs,$(TOPDIR)) - $(foreach name,$(BR2_EXTERNAL_NAMES),\ - $(call list-defconfigs,$(BR2_EXTERNAL_$(name)_PATH),\ - $(BR2_EXTERNAL_$(name)_DESC))$(sep)) - -release: OUT = buildroot-$(BR2_VERSION) - -# Create release tarballs. We need to fiddle a bit to add the generated -# documentation to the git output -release: - git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar - $(MAKE) O=$(OUT) manual-html manual-text manual-pdf - $(MAKE) O=$(OUT) distclean - tar rf $(OUT).tar $(OUT) - gzip -9 -c < $(OUT).tar > $(OUT).tar.gz - bzip2 -9 -c < $(OUT).tar > $(OUT).tar.bz2 - rm -rf $(OUT) $(OUT).tar - -print-version: - @echo $(BR2_VERSION_FULL) - -check-flake8: - $(Q)git ls-tree -r --name-only HEAD \ - | xargs file \ - | grep 'Python script' \ - | cut -d':' -f1 \ - | xargs -- python3 -m flake8 --statistics - -check-package: - find $(TOPDIR) -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' \) \ - -exec ./utils/check-package {} + - -include docs/manual/manual.mk --include $(foreach dir,$(BR2_EXTERNAL_DIRS),$(sort $(wildcard $(dir)/docs/*/*.mk))) - -.PHONY: $(noconfig_targets) - -endif #umask / $(CURDIR) / $(O) diff --git a/buildroot-2021.05/arch/Config.in b/buildroot-2021.05/arch/Config.in deleted file mode 100644 index 155403c3..00000000 --- a/buildroot-2021.05/arch/Config.in +++ /dev/null @@ -1,489 +0,0 @@ -menu "Target options" - -config BR2_ARCH_IS_64 - bool - -config BR2_KERNEL_64_USERLAND_32 - bool - -config BR2_SOFT_FLOAT - bool - -config BR2_ARCH_HAS_MMU_MANDATORY - bool - -config BR2_ARCH_HAS_MMU_OPTIONAL - bool - -choice - prompt "Target Architecture" - default BR2_i386 - help - Select the target architecture family to build for. - -config BR2_arcle - bool "ARC (little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY - help - Synopsys' DesignWare ARC Processor Cores are a family of - 32-bit CPUs that can be used from deeply embedded to high - performance host applications. Little endian. - -config BR2_arceb - bool "ARC (big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY - help - Synopsys' DesignWare ARC Processor Cores are a family of - 32-bit CPUs that can be used from deeply embedded to high - performance host applications. Big endian. - -config BR2_arm - bool "ARM (little endian)" - # MMU support is set by the subarchitecture file, arch/Config.in.arm - help - ARM is a 32-bit reduced instruction set computer (RISC) - instruction set architecture (ISA) developed by ARM Holdings. - Little endian. - http://www.arm.com/ - http://en.wikipedia.org/wiki/ARM - -config BR2_armeb - bool "ARM (big endian)" - # MMU support is set by the subarchitecture file, arch/Config.in.arm - help - ARM is a 32-bit reduced instruction set computer (RISC) - instruction set architecture (ISA) developed by ARM Holdings. - Big endian. - http://www.arm.com/ - http://en.wikipedia.org/wiki/ARM - -config BR2_aarch64 - bool "AArch64 (little endian)" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - Aarch64 is a 64-bit architecture developed by ARM Holdings. - http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php - http://en.wikipedia.org/wiki/ARM - -config BR2_aarch64_be - bool "AArch64 (big endian)" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - Aarch64 is a 64-bit architecture developed by ARM Holdings. - http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php - http://en.wikipedia.org/wiki/ARM - -config BR2_csky - bool "csky" - select BR2_ARCH_HAS_MMU_MANDATORY - # Most variants are supported by gcc-9+, except one that is - # handled as a special exception in package/gcc/Config.in.host - select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 - help - csky is processor IP from china. - http://www.c-sky.com/ - http://www.github.com/c-sky - -config BR2_i386 - bool "i386" - select BR2_ARCH_HAS_MMU_MANDATORY - help - Intel i386 architecture compatible microprocessor - http://en.wikipedia.org/wiki/I386 - -config BR2_m68k - bool "m68k" - # MMU support is set by the subarchitecture file, arch/Config.in.m68k - help - Motorola 68000 family microprocessor - http://en.wikipedia.org/wiki/M68k - -config BR2_microblazeel - bool "Microblaze AXI (little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY - help - Soft processor core designed for Xilinx FPGAs from Xilinx. AXI - bus based architecture (little endian) - http://www.xilinx.com - http://en.wikipedia.org/wiki/Microblaze - -config BR2_microblazebe - bool "Microblaze non-AXI (big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY - help - Soft processor core designed for Xilinx FPGAs from Xilinx. PLB - bus based architecture (non-AXI, big endian) - http://www.xilinx.com - http://en.wikipedia.org/wiki/Microblaze - -config BR2_mips - bool "MIPS (big endian)" - select BR2_ARCH_HAS_MMU_MANDATORY - help - MIPS is a RISC microprocessor from MIPS Technologies. Big - endian. - http://www.mips.com/ - http://en.wikipedia.org/wiki/MIPS_Technologies - -config BR2_mipsel - bool "MIPS (little endian)" - select BR2_ARCH_HAS_MMU_MANDATORY - help - MIPS is a RISC microprocessor from MIPS Technologies. Little - endian. - http://www.mips.com/ - http://en.wikipedia.org/wiki/MIPS_Technologies - -config BR2_mips64 - bool "MIPS64 (big endian)" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - MIPS is a RISC microprocessor from MIPS Technologies. Big - endian. - http://www.mips.com/ - http://en.wikipedia.org/wiki/MIPS_Technologies - -config BR2_mips64el - bool "MIPS64 (little endian)" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - MIPS is a RISC microprocessor from MIPS Technologies. Little - endian. - http://www.mips.com/ - http://en.wikipedia.org/wiki/MIPS_Technologies - -config BR2_nds32 - bool "nds32" - select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT - select BR2_ARCH_HAS_MMU_MANDATORY - help - nds32 is a 32-bit architecture developed by Andes Technology. - https://en.wikipedia.org/wiki/Andes_Technology - -config BR2_nios2 - bool "Nios II" - select BR2_ARCH_HAS_MMU_MANDATORY - help - Nios II is a soft core processor from Altera Corporation. - http://www.altera.com/ - http://en.wikipedia.org/wiki/Nios_II - -config BR2_or1k - bool "OpenRISC" - select BR2_ARCH_HAS_MMU_MANDATORY - help - OpenRISC is a free and open processor for embedded system. - http://openrisc.io - -config BR2_powerpc - bool "PowerPC" - select BR2_ARCH_HAS_MMU_MANDATORY - help - PowerPC is a RISC architecture created by Apple-IBM-Motorola - alliance. Big endian. - http://www.power.org/ - http://en.wikipedia.org/wiki/Powerpc - -config BR2_powerpc64 - bool "PowerPC64 (big endian)" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - PowerPC is a RISC architecture created by Apple-IBM-Motorola - alliance. Big endian. - http://www.power.org/ - http://en.wikipedia.org/wiki/Powerpc - -config BR2_powerpc64le - bool "PowerPC64 (little endian)" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - PowerPC is a RISC architecture created by Apple-IBM-Motorola - alliance. Little endian. - http://www.power.org/ - http://en.wikipedia.org/wiki/Powerpc - -config BR2_riscv - bool "RISCV" - select BR2_ARCH_HAS_MMU_MANDATORY - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 - help - RISC-V is an open, free Instruction Set Architecture created - by the UC Berkeley Architecture Research group and supported - and promoted by RISC-V Foundation. - https://riscv.org/ - https://en.wikipedia.org/wiki/RISC-V - -config BR2_s390x - bool "s390x" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - s390x is a big-endian architecture made by IBM. - http://www.ibm.com/ - http://en.wikipedia.org/wiki/IBM_System/390 - -config BR2_sh - bool "SuperH" - select BR2_ARCH_HAS_MMU_OPTIONAL - help - SuperH (or SH) is a 32-bit reduced instruction set computer - (RISC) instruction set architecture (ISA) developed by - Hitachi. - http://www.hitachi.com/ - http://en.wikipedia.org/wiki/SuperH - -config BR2_sparc - bool "SPARC" - select BR2_ARCH_HAS_MMU_MANDATORY - help - SPARC (from Scalable Processor Architecture) is a RISC - instruction set architecture (ISA) developed by Sun - Microsystems. - http://www.oracle.com/sun - http://en.wikipedia.org/wiki/Sparc - -config BR2_sparc64 - bool "SPARC64" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - SPARC (from Scalable Processor Architecture) is a RISC - instruction set architecture (ISA) developed by Sun - Microsystems. - http://www.oracle.com/sun - http://en.wikipedia.org/wiki/Sparc - -config BR2_x86_64 - bool "x86_64" - select BR2_ARCH_IS_64 - select BR2_ARCH_HAS_MMU_MANDATORY - help - x86-64 is an extension of the x86 instruction set (Intel i386 - architecture compatible microprocessor). - http://en.wikipedia.org/wiki/X86_64 - -config BR2_xtensa - bool "Xtensa" - # MMU support is set by the subarchitecture file, arch/Config.in.xtensa - help - Xtensa is a Tensilica processor IP architecture. - http://en.wikipedia.org/wiki/Xtensa - http://www.tensilica.com/ - -endchoice - -# For some architectures or specific cores, our internal toolchain -# backend is not suitable (like, missing support in upstream gcc, or -# no ChipCo fork exists...) -config BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT - bool - -config BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT - bool - default y if !BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT - -# The following symbols are selected by the individual -# Config.in.$ARCH files -config BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8 - bool - -config BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8 - -config BR2_ARCH_NEEDS_GCC_AT_LEAST_5 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 - -config BR2_ARCH_NEEDS_GCC_AT_LEAST_6 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 - -config BR2_ARCH_NEEDS_GCC_AT_LEAST_7 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 - -config BR2_ARCH_NEEDS_GCC_AT_LEAST_8 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 - -config BR2_ARCH_NEEDS_GCC_AT_LEAST_9 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 - -config BR2_ARCH_NEEDS_GCC_AT_LEAST_10 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 - -# The following string values are defined by the individual -# Config.in.$ARCH files -config BR2_ARCH - string - -config BR2_ENDIAN - string - -config BR2_GCC_TARGET_ARCH - string - -config BR2_GCC_TARGET_ABI - string - -config BR2_GCC_TARGET_NAN - string - -config BR2_GCC_TARGET_FP32_MODE - string - -config BR2_GCC_TARGET_CPU - string - -# The value of this option will be passed as --with-fpu= when -# building gcc (internal backend) or -mfpu= in the toolchain -# wrapper (external toolchain) -config BR2_GCC_TARGET_FPU - string - -# The value of this option will be passed as --with-float= when -# building gcc (internal backend) or -mfloat-abi= in the toolchain -# wrapper (external toolchain) -config BR2_GCC_TARGET_FLOAT_ABI - string - -# The value of this option will be passed as --with-mode= when -# building gcc (internal backend) or -m in the toolchain -# wrapper (external toolchain) -config BR2_GCC_TARGET_MODE - string - -# Must be selected by binary formats that support shared libraries. -config BR2_BINFMT_SUPPORTS_SHARED - bool - -# Must match the name of the architecture from readelf point of view, -# i.e the "Machine:" field of readelf output. See get_machine_name() -# in binutils/readelf.c for the list of possible values. -config BR2_READELF_ARCH_NAME - string - -# Set up target binary format -choice - prompt "Target Binary Format" - default BR2_BINFMT_ELF if BR2_USE_MMU - default BR2_BINFMT_FLAT - -config BR2_BINFMT_ELF - bool "ELF" - depends on BR2_USE_MMU - select BR2_BINFMT_SUPPORTS_SHARED - help - ELF (Executable and Linkable Format) is a format for libraries - and executables used across different architectures and - operating systems. - -config BR2_BINFMT_FLAT - bool "FLAT" - depends on !BR2_USE_MMU - help - FLAT binary is a relatively simple and lightweight executable - format based on the original a.out format. It is widely used - in environment where no MMU is available. - -endchoice - -# Set up flat binary type -choice - prompt "FLAT Binary type" - default BR2_BINFMT_FLAT_ONE - depends on BR2_BINFMT_FLAT - -config BR2_BINFMT_FLAT_ONE - bool "One memory region" - help - All segments are linked into one memory region. - -config BR2_BINFMT_FLAT_SHARED - bool "Shared binary" - depends on BR2_m68k - # Even though this really generates shared binaries, there is no libdl - # and dlopen() cannot be used. So packages that require shared - # libraries cannot be built. Therefore, we don't select - # BR2_BINFMT_SUPPORTS_SHARED and therefore force BR2_STATIC_LIBS. - # Although this adds -static to the compilation, that's not a problem - # because the -mid-shared-library option overrides it. - help - Allow to load and link indiviual FLAT binaries at run time. - -endchoice - -if BR2_arcle || BR2_arceb -source "arch/Config.in.arc" -endif - -if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be -source "arch/Config.in.arm" -endif - -if BR2_csky -source "arch/Config.in.csky" -endif - -if BR2_m68k -source "arch/Config.in.m68k" -endif - -if BR2_microblazeel || BR2_microblazebe -source "arch/Config.in.microblaze" -endif - -if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el -source "arch/Config.in.mips" -endif - -if BR2_nds32 -source "arch/Config.in.nds32" -endif - -if BR2_nios2 -source "arch/Config.in.nios2" -endif - -if BR2_or1k -source "arch/Config.in.or1k" -endif - -if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le -source "arch/Config.in.powerpc" -endif - -if BR2_riscv -source "arch/Config.in.riscv" -endif - -if BR2_s390x -source "arch/Config.in.s390x" -endif - -if BR2_sh -source "arch/Config.in.sh" -endif - -if BR2_sparc || BR2_sparc64 -source "arch/Config.in.sparc" -endif - -if BR2_i386 || BR2_x86_64 -source "arch/Config.in.x86" -endif - -if BR2_xtensa -source "arch/Config.in.xtensa" -endif - -endmenu # Target options diff --git a/buildroot-2021.05/arch/Config.in.arc b/buildroot-2021.05/arch/Config.in.arc deleted file mode 100644 index f7a6d920..00000000 --- a/buildroot-2021.05/arch/Config.in.arc +++ /dev/null @@ -1,126 +0,0 @@ -choice - prompt "Target CPU" - default BR2_arc770d - depends on BR2_arc - help - Specific CPU to use - -config BR2_arc750d - bool "ARC 750D" - -config BR2_arc770d - bool "ARC 770D" - -config BR2_archs38 - bool "ARC HS38" - help - Generic ARC HS capable of running Linux, i.e. with MMU, - caches and 32-bit multiplier. Also it corresponds to the - default configuration in older GNU toolchain versions. - -config BR2_archs38_64mpy - bool "ARC HS38 with 64-bit mpy" - help - Fully featured ARC HS capable of running Linux, i.e. with - MMU, caches and 64-bit multiplier. - - If you're not sure which version of ARC HS core you build - for use this one. - -config BR2_archs38_full - bool "ARC HS38 with Quad MAC & FPU" - help - Fully featured ARC HS with additional support for - - Dual- and quad multiply and MC oprations - - Double-precision FPU - - It corresponds to "hs38_slc_full" ARC HS template in - ARChitect. - -config BR2_archs4x_rel31 - bool "ARC HS48 rel 31" - help - Build for HS48 release 3.1 - -config BR2_archs4x - bool "ARC HS48" - help - Latest release of HS48 processor - - Dual and Quad multiply and MAC operations - - Double-precision FPU - -endchoice - -# Choice of atomic instructions presence -config BR2_ARC_ATOMIC_EXT - bool "Atomic extension (LLOCK/SCOND instructions)" - default y if BR2_arc770d - default y if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full - default y if BR2_archs4x_rel31 || BR2_archs4x - -config BR2_ARCH - default "arc" if BR2_arcle - default "arceb" if BR2_arceb - -config BR2_arc - bool - default y if BR2_arcle || BR2_arceb - -config BR2_ENDIAN - default "LITTLE" if BR2_arcle - default "BIG" if BR2_arceb - -config BR2_GCC_TARGET_CPU - default "arc700" if BR2_arc750d - default "arc700" if BR2_arc770d - default "archs" if BR2_archs38 - default "hs38" if BR2_archs38_64mpy - default "hs38_linux" if BR2_archs38_full - default "hs4x_rel31" if BR2_archs4x_rel31 - default "hs4x" if BR2_archs4x - -config BR2_READELF_ARCH_NAME - default "ARCompact" if BR2_arc750d || BR2_arc770d - default "ARCv2" if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full - default "ARCv2" if BR2_archs4x_rel31 || BR2_archs4x - -choice - prompt "MMU Page Size" - default BR2_ARC_PAGE_SIZE_8K - help - MMU starting from version 3 (found in ARC 770) and now - version 4 (found in ARC HS38) allows the selection of the - page size during ASIC design creation. - - The following options are available for MMU v3 and v4: 4kB, - 8kB and 16 kB. - - The default is 8 kB (that really matches the only page size - in MMU v2). It is important to build a toolchain with page - size matching the hardware configuration. Otherwise - user-space applications will fail at runtime. - -config BR2_ARC_PAGE_SIZE_4K - bool "4KB" - depends on !BR2_arc750d - -config BR2_ARC_PAGE_SIZE_8K - bool "8KB" - help - This is the one and only option available for MMUv2 and - default value for MMU v3 and v4. - -config BR2_ARC_PAGE_SIZE_16K - bool "16KB" - depends on !BR2_arc750d - -endchoice - -config BR2_ARC_PAGE_SIZE - string - default "4K" if BR2_ARC_PAGE_SIZE_4K - default "8K" if BR2_ARC_PAGE_SIZE_8K - default "16K" if BR2_ARC_PAGE_SIZE_16K - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.arm b/buildroot-2021.05/arch/Config.in.arm deleted file mode 100644 index 4c0910e4..00000000 --- a/buildroot-2021.05/arch/Config.in.arm +++ /dev/null @@ -1,934 +0,0 @@ -# arm cpu features -config BR2_ARM_CPU_HAS_NEON - bool - -# for some cores, NEON support is optional -config BR2_ARM_CPU_MAYBE_HAS_NEON - bool - -# For some cores, the FPU is optional -config BR2_ARM_CPU_MAYBE_HAS_FPU - bool - -config BR2_ARM_CPU_HAS_FPU - bool - -# for some cores, VFPv2 is optional -config BR2_ARM_CPU_MAYBE_HAS_VFPV2 - bool - select BR2_ARM_CPU_MAYBE_HAS_FPU - -config BR2_ARM_CPU_HAS_VFPV2 - bool - select BR2_ARM_CPU_HAS_FPU - -# for some cores, VFPv3 is optional -config BR2_ARM_CPU_MAYBE_HAS_VFPV3 - bool - select BR2_ARM_CPU_MAYBE_HAS_VFPV2 - -config BR2_ARM_CPU_HAS_VFPV3 - bool - select BR2_ARM_CPU_HAS_VFPV2 - -# for some cores, VFPv4 is optional -config BR2_ARM_CPU_MAYBE_HAS_VFPV4 - bool - select BR2_ARM_CPU_MAYBE_HAS_VFPV3 - -config BR2_ARM_CPU_HAS_VFPV4 - bool - select BR2_ARM_CPU_HAS_VFPV3 - -# FPv4 is always optional -config BR2_ARM_CPU_MAYBE_HAS_FPV4 - bool - select BR2_ARM_CPU_MAYBE_HAS_FPU - -config BR2_ARM_CPU_HAS_FPV4 - bool - select BR2_ARM_CPU_HAS_FPU - -# FPv5 is always optional -config BR2_ARM_CPU_MAYBE_HAS_FPV5 - bool - select BR2_ARM_CPU_MAYBE_HAS_FPV4 - -config BR2_ARM_CPU_HAS_FPV5 - bool - select BR2_ARM_CPU_HAS_FPV4 - -config BR2_ARM_CPU_HAS_FP_ARMV8 - bool - select BR2_ARM_CPU_HAS_VFPV4 - -config BR2_ARM_CPU_HAS_ARM - bool - -config BR2_ARM_CPU_HAS_THUMB - bool - -config BR2_ARM_CPU_HAS_THUMB2 - bool - -config BR2_ARM_CPU_ARMV4 - bool - -config BR2_ARM_CPU_ARMV5 - bool - -config BR2_ARM_CPU_ARMV6 - bool - -config BR2_ARM_CPU_ARMV7A - bool - -config BR2_ARM_CPU_ARMV7M - bool - -config BR2_ARM_CPU_ARMV8A - bool - -choice - prompt "Target Architecture Variant" - default BR2_cortex_a53 if BR2_ARCH_IS_64 - default BR2_arm926t - help - Specific CPU variant to use - -if !BR2_ARCH_IS_64 -comment "armv4 cores" -config BR2_arm920t - bool "arm920t" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_arm922t - bool "arm922t" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_fa526 - bool "fa526/626" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_strongarm - bool "strongarm sa110/sa1100" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_ARMV4 - select BR2_ARCH_HAS_MMU_OPTIONAL - -comment "armv5 cores" -config BR2_arm926t - bool "arm926t" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_MAYBE_HAS_VFPV2 - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_iwmmxt - bool "iwmmxt" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_xscale - bool "xscale" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV5 - select BR2_ARCH_HAS_MMU_OPTIONAL - -comment "armv6 cores" -config BR2_arm1136j_s - bool "arm1136j-s" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_arm1136jf_s - bool "arm1136jf-s" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_VFPV2 - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_arm1176jz_s - bool "arm1176jz-s" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_arm1176jzf_s - bool "arm1176jzf-s" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_VFPV2 - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_arm11mpcore - bool "mpcore" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_MAYBE_HAS_VFPV2 - select BR2_ARM_CPU_HAS_THUMB - select BR2_ARM_CPU_ARMV6 - select BR2_ARCH_HAS_MMU_OPTIONAL - -comment "armv7a cores" -config BR2_cortex_a5 - bool "cortex-A5" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_MAYBE_HAS_NEON - select BR2_ARM_CPU_MAYBE_HAS_VFPV4 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_cortex_a7 - bool "cortex-A7" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_NEON - select BR2_ARM_CPU_HAS_VFPV4 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_cortex_a8 - bool "cortex-A8" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_NEON - select BR2_ARM_CPU_HAS_VFPV3 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_cortex_a9 - bool "cortex-A9" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_MAYBE_HAS_NEON - select BR2_ARM_CPU_MAYBE_HAS_VFPV3 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_cortex_a12 - bool "cortex-A12" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_NEON - select BR2_ARM_CPU_HAS_VFPV4 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_cortex_a15 - bool "cortex-A15" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_NEON - select BR2_ARM_CPU_HAS_VFPV4 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_cortex_a15_a7 - bool "cortex-A15/A7 big.LITTLE" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_NEON - select BR2_ARM_CPU_HAS_VFPV4 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 -config BR2_cortex_a17 - bool "cortex-A17" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_NEON - select BR2_ARM_CPU_HAS_VFPV4 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -config BR2_cortex_a17_a7 - bool "cortex-A17/A7 big.LITTLE" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_NEON - select BR2_ARM_CPU_HAS_VFPV4 - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -config BR2_pj4 - bool "pj4" - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_VFPV3 - select BR2_ARM_CPU_ARMV7A - select BR2_ARCH_HAS_MMU_OPTIONAL - -comment "armv7m cores" -config BR2_cortex_m3 - bool "cortex-M3" - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_ARMV7M -config BR2_cortex_m4 - bool "cortex-M4" - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_MAYBE_HAS_FPV4 - select BR2_ARM_CPU_ARMV7M -config BR2_cortex_m7 - bool "cortex-M7" - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_MAYBE_HAS_FPV5 - select BR2_ARM_CPU_ARMV7M - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -endif # !BR2_ARCH_IS_64 - -comment "armv8 cores" -config BR2_cortex_a32 - bool "cortex-A32" - depends on !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_ARM - select BR2_ARM_CPU_HAS_NEON - select BR2_ARM_CPU_HAS_THUMB2 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 -config BR2_cortex_a35 - bool "cortex-A35" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 -config BR2_cortex_a53 - bool "cortex-A53" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_cortex_a57 - bool "cortex-A57" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL -config BR2_cortex_a57_a53 - bool "cortex-A57/A53 big.LITTLE" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 -config BR2_cortex_a72 - bool "cortex-A72" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -config BR2_cortex_a72_a53 - bool "cortex-A72/A53 big.LITTLE" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 -config BR2_cortex_a73 - bool "cortex-A73" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_cortex_a73_a35 - bool "cortex-A73/A35 big.LITTLE" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_cortex_a73_a53 - bool "cortex-A73/A53 big.LITTLE" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_emag - bool "emag" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 -config BR2_exynos_m1 - bool "exynos-m1" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -config BR2_falkor - bool "falkor" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_phecda - bool "phecda" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 -config BR2_qdf24xx - bool "qdf24xx" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 -config BR2_thunderx - bool "thunderx (aka octeontx)" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -config BR2_thunderxt81 - bool "thunderxt81 (aka octeontx81)" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_thunderxt83 - bool "thunderxt83 (aka octeontx83)" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_thunderxt88 - bool "thunderxt88" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_thunderxt88p1 - bool "thunderxt88p1" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_xgene1 - bool "xgene1" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 - -comment "armv8.1a cores" -config BR2_thunderx2t99 - bool "thunderx2t99" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_thunderx2t99p1 - bool "thunderx2t99p1" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 -config BR2_vulcan - bool "vulcan" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 - -comment "armv8.2a cores" -config BR2_cortex_a55 - bool "cortex-A55" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 -config BR2_cortex_a75 - bool "cortex-A75" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 -config BR2_cortex_a75_a55 - bool "cortex-A75/A55 big.LITTLE" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 -config BR2_cortex_a76 - bool "cortex-A76" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 -config BR2_cortex_a76_a55 - bool "cortex-A76/A55 big.LITTLE" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 -config BR2_neoverse_n1 - bool "neoverse-N1 (aka ares)" - select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 -config BR2_tsv110 - bool "tsv110" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 - -comment "armv8.4a cores" -config BR2_saphira - bool "saphira" - depends on BR2_ARCH_IS_64 - select BR2_ARM_CPU_HAS_FP_ARMV8 - select BR2_ARM_CPU_ARMV8A - select BR2_ARCH_HAS_MMU_OPTIONAL - select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 -endchoice - -config BR2_ARM_ENABLE_NEON - bool "Enable NEON SIMD extension support" - depends on BR2_ARM_CPU_MAYBE_HAS_NEON - select BR2_ARM_CPU_HAS_NEON - help - For some CPU cores, the NEON SIMD extension is optional. - Select this option if you are certain your particular - implementation has NEON support and you want to use it. - -config BR2_ARM_ENABLE_VFP - bool "Enable VFP extension support" - depends on BR2_ARM_CPU_MAYBE_HAS_FPU - select BR2_ARM_CPU_HAS_FPV5 if BR2_ARM_CPU_MAYBE_HAS_FPV5 - select BR2_ARM_CPU_HAS_FPV4 if BR2_ARM_CPU_MAYBE_HAS_FPV4 - select BR2_ARM_CPU_HAS_VFPV4 if BR2_ARM_CPU_MAYBE_HAS_VFPV4 - select BR2_ARM_CPU_HAS_VFPV3 if BR2_ARM_CPU_MAYBE_HAS_VFPV3 - select BR2_ARM_CPU_HAS_VFPV2 if BR2_ARM_CPU_MAYBE_HAS_VFPV2 - help - For some CPU cores, the VFP extension is optional. Select - this option if you are certain your particular - implementation has VFP support and you want to use it. - -choice - prompt "Target ABI" - default BR2_ARM_EABIHF if BR2_ARM_CPU_HAS_FPU - default BR2_ARM_EABI - depends on BR2_arm || BR2_armeb - help - Application Binary Interface to use. The Application Binary - Interface describes the calling conventions (how arguments - are passed to functions, how the return value is passed, how - system calls are made, etc.). - -config BR2_ARM_EABI - bool "EABI" - help - The EABI is currently the standard ARM ABI, which is used in - most projects. It supports both the 'soft' floating point - model (in which floating point instructions are emulated in - software) and the 'softfp' floating point model (in which - floating point instructions are executed using an hardware - floating point unit, but floating point arguments to - functions are passed in integer registers). - - The 'softfp' floating point model is link-compatible with - the 'soft' floating point model, i.e you can link a library - built 'soft' with some other code built 'softfp'. - - However, passing the floating point arguments in integer - registers is a bit inefficient, so if your ARM processor has - a floating point unit, and you don't have pre-compiled - 'soft' or 'softfp' code, using the EABIhf ABI will provide - better floating point performances. - - If your processor does not have a floating point unit, then - you must use this ABI. - -config BR2_ARM_EABIHF - bool "EABIhf" - depends on BR2_ARM_CPU_HAS_FPU - help - The EABIhf is an extension of EABI which supports the 'hard' - floating point model. This model uses the floating point - unit to execute floating point instructions, and passes - floating point arguments in floating point registers. - - It is more efficient than EABI for floating point related - workload. However, it does not allow to link against code - that has been pre-built for the 'soft' or 'softfp' floating - point models. - - If your processor has a floating point unit, and you don't - depend on existing pre-compiled code, this option is most - likely the best choice. - -endchoice - -choice - prompt "Floating point strategy" - default BR2_ARM_FPU_FP_ARMV8 if BR2_ARM_CPU_HAS_FP_ARMV8 - default BR2_ARM_FPU_FPV5D16 if BR2_ARM_CPU_HAS_FPV5 - default BR2_ARM_FPU_FPV4D16 if BR2_ARM_CPU_HAS_FPV4 - default BR2_ARM_FPU_VFPV4D16 if BR2_ARM_CPU_HAS_VFPV4 - default BR2_ARM_FPU_VFPV3D16 if BR2_ARM_CPU_HAS_VFPV3 - default BR2_ARM_FPU_VFPV2 if BR2_ARM_CPU_HAS_VFPV2 - default BR2_ARM_SOFT_FLOAT if !BR2_ARM_CPU_HAS_FPU - -config BR2_ARM_SOFT_FLOAT - bool "Soft float" - depends on BR2_ARM_EABI - select BR2_SOFT_FLOAT - help - This option allows to use software emulated floating - point. It should be used for ARM cores that do not include a - Vector Floating Point unit, such as ARMv5 cores (ARM926 for - example) or certain ARMv6 cores. - -config BR2_ARM_FPU_VFPV2 - bool "VFPv2" - depends on BR2_ARM_CPU_HAS_VFPV2 - help - This option allows to use the VFPv2 floating point unit, as - available in some ARMv5 processors (ARM926EJ-S) and some - ARMv6 processors (ARM1136JF-S, ARM1176JZF-S and ARM11 - MPCore). - - Note that this option is also safe to use for newer cores - such as Cortex-A, because the VFPv3 and VFPv4 units are - backward compatible with VFPv2. - -config BR2_ARM_FPU_VFPV3 - bool "VFPv3" - depends on BR2_ARM_CPU_HAS_VFPV3 - help - This option allows to use the VFPv3 floating point unit, as - available in some ARMv7 processors (Cortex-A{8, 9}). This - option requires a VFPv3 unit that has 32 double-precision - registers, which is not necessarily the case in all SOCs - based on Cortex-A{8, 9}. If you're unsure, use VFPv3-D16 - instead, which is guaranteed to work on all Cortex-A{8, 9}. - - Note that this option is also safe to use for newer cores - that have a VFPv4 unit, because VFPv4 is backward compatible - with VFPv3. They must of course also have 32 - double-precision registers. - -config BR2_ARM_FPU_VFPV3D16 - bool "VFPv3-D16" - depends on BR2_ARM_CPU_HAS_VFPV3 - help - This option allows to use the VFPv3 floating point unit, as - available in some ARMv7 processors (Cortex-A{8, 9}). This - option requires a VFPv3 unit that has 16 double-precision - registers, which is generally the case in all SOCs based on - Cortex-A{8, 9}, even though VFPv3 is technically optional on - Cortex-A9. This is the safest option for those cores. - - Note that this option is also safe to use for newer cores - such that have a VFPv4 unit, because the VFPv4 is backward - compatible with VFPv3. - -config BR2_ARM_FPU_VFPV4 - bool "VFPv4" - depends on BR2_ARM_CPU_HAS_VFPV4 - help - This option allows to use the VFPv4 floating point unit, as - available in some ARMv7 processors (Cortex-A{5, 7, 12, - 15}). This option requires a VFPv4 unit that has 32 - double-precision registers, which is not necessarily the - case in all SOCs based on Cortex-A{5, 7, 12, 15}. If you're - unsure, you should probably use VFPv4-D16 instead. - - Note that if you want binary code that works on all ARMv7 - cores, including the earlier Cortex-A{8, 9}, you should - instead select VFPv3. - -config BR2_ARM_FPU_VFPV4D16 - bool "VFPv4-D16" - depends on BR2_ARM_CPU_HAS_VFPV4 - help - This option allows to use the VFPv4 floating point unit, as - available in some ARMv7 processors (Cortex-A{5, 7, 12, - 15}). This option requires a VFPv4 unit that has 16 - double-precision registers, which is always available on - Cortex-A12 and Cortex-A15, but optional on Cortex-A5 and - Cortex-A7. - - Note that if you want binary code that works on all ARMv7 - cores, including the earlier Cortex-A{8, 9}, you should - instead select VFPv3-D16. - -config BR2_ARM_FPU_NEON - bool "NEON" - depends on BR2_ARM_CPU_HAS_NEON - help - This option allows to use the NEON SIMD unit, as available - in some ARMv7 processors, as a floating-point unit. It - should however be noted that using NEON for floating point - operations doesn't provide a complete compatibility with the - IEEE 754. - -config BR2_ARM_FPU_NEON_VFPV4 - bool "NEON/VFPv4" - depends on BR2_ARM_CPU_HAS_VFPV4 - depends on BR2_ARM_CPU_HAS_NEON - help - This option allows to use both the VFPv4 and the NEON SIMD - units for floating point operations. Note that some ARMv7 - cores do not necessarily have VFPv4 and/or NEON support, for - example on Cortex-A5 and Cortex-A7, support for VFPv4 and - NEON is optional. - -config BR2_ARM_FPU_FPV4D16 - bool "FPv4-D16" - depends on BR2_ARM_CPU_HAS_FPV4 - help - This option allows to use the FPv4-SP (single precision) - floating point unit, as available in some ARMv7m processors - (Cortex-M4). - -config BR2_ARM_FPU_FPV5D16 - bool "FPv5-D16" - depends on BR2_ARM_CPU_HAS_FPV5 - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 - help - This option allows to use the FPv5-SP (single precision) - floating point unit, as available in some ARMv7m processors - (Cortex-M7). - - Note that if you want binary code that works on the earlier - Cortex-M4, you should instead select FPv4-D16. - -config BR2_ARM_FPU_FPV5DPD16 - bool "FPv5-DP-D16" - depends on BR2_ARM_CPU_HAS_FPV5 - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 - help - This option allows to use the FPv5-DP (double precision) - floating point unit, as available in some ARMv7m processors - (Cortex-M7). - - Note that if you want binary code that works on the earlier - Cortex-M4, you should instead select FPv4-D16. - -config BR2_ARM_FPU_FP_ARMV8 - bool "FP-ARMv8" - depends on BR2_ARM_CPU_HAS_FP_ARMV8 - help - This option allows to use the ARMv8 floating point unit. - -config BR2_ARM_FPU_NEON_FP_ARMV8 - bool "NEON/FP-ARMv8" - depends on BR2_ARM_CPU_HAS_FP_ARMV8 - depends on BR2_ARM_CPU_HAS_NEON - help - This option allows to use both the ARMv8 floating point unit - and the NEON SIMD unit for floating point operations. - -endchoice - -choice - prompt "ARM instruction set" - depends on BR2_arm || BR2_armeb - -config BR2_ARM_INSTRUCTIONS_ARM - bool "ARM" - depends on BR2_ARM_CPU_HAS_ARM - help - This option instructs the compiler to generate regular ARM - instructions, that are all 32 bits wide. - -config BR2_ARM_INSTRUCTIONS_THUMB - bool "Thumb" - depends on BR2_ARM_CPU_HAS_THUMB - # Thumb-1 and VFP are not compatible - depends on BR2_ARM_SOFT_FLOAT - help - This option instructions the compiler to generate Thumb - instructions, which allows to mix 16 bits instructions and - 32 bits instructions. This generally provides a much smaller - compiled binary size. - -comment "Thumb1 is not compatible with VFP" - depends on BR2_ARM_CPU_HAS_THUMB - depends on !BR2_ARM_SOFT_FLOAT - -config BR2_ARM_INSTRUCTIONS_THUMB2 - bool "Thumb2" - depends on BR2_ARM_CPU_HAS_THUMB2 - help - This option instructions the compiler to generate Thumb2 - instructions, which allows to mix 16 bits instructions and - 32 bits instructions. This generally provides a much smaller - compiled binary size. - -endchoice - -config BR2_ARCH - default "arm" if BR2_arm - default "armeb" if BR2_armeb - default "aarch64" if BR2_aarch64 - default "aarch64_be" if BR2_aarch64_be - -config BR2_ENDIAN - default "LITTLE" if (BR2_arm || BR2_aarch64) - default "BIG" if (BR2_armeb || BR2_aarch64_be) - -config BR2_GCC_TARGET_CPU - # armv4 - default "arm920t" if BR2_arm920t - default "arm922t" if BR2_arm922t - default "fa526" if BR2_fa526 - default "strongarm" if BR2_strongarm - # armv5 - default "arm926ej-s" if BR2_arm926t - default "iwmmxt" if BR2_iwmmxt - default "xscale" if BR2_xscale - # armv6 - default "arm1136j-s" if BR2_arm1136j_s - default "arm1136jf-s" if BR2_arm1136jf_s - default "arm1176jz-s" if BR2_arm1176jz_s - default "arm1176jzf-s" if BR2_arm1176jzf_s - default "mpcore" if BR2_arm11mpcore && BR2_ARM_CPU_HAS_VFPV2 - default "mpcorenovfp" if BR2_arm11mpcore - # armv7a - default "cortex-a5" if BR2_cortex_a5 - default "cortex-a7" if BR2_cortex_a7 - default "cortex-a8" if BR2_cortex_a8 - default "cortex-a9" if BR2_cortex_a9 - default "cortex-a12" if BR2_cortex_a12 - default "cortex-a15" if BR2_cortex_a15 - default "cortex-a15.cortex-a7" if BR2_cortex_a15_a7 - default "cortex-a17" if BR2_cortex_a17 - default "cortex-a17.cortex-a7" if BR2_cortex_a17_a7 - default "marvell-pj4" if BR2_pj4 - # armv7m - default "cortex-m3" if BR2_cortex_m3 - default "cortex-m4" if BR2_cortex_m4 - default "cortex-m7" if BR2_cortex_m7 - # armv8a - default "cortex-a32" if BR2_cortex_a32 - default "cortex-a35" if BR2_cortex_a35 - default "cortex-a53" if BR2_cortex_a53 - default "cortex-a57" if BR2_cortex_a57 - default "cortex-a57.cortex-a53" if BR2_cortex_a57_a53 - default "cortex-a72" if BR2_cortex_a72 - default "cortex-a72.cortex-a53" if BR2_cortex_a72_a53 - default "cortex-a73" if BR2_cortex_a73 - default "cortex-a73.cortex-a35" if BR2_cortex_a73_a35 - default "cortex-a73.cortex-a53" if BR2_cortex_a73_a53 - default "emag" if BR2_emag - default "exynos-m1" if BR2_exynos_m1 - default "falkor" if BR2_falkor - default "phecda" if BR2_phecda - default "qdf24xx" if BR2_qdf24xx - default "thunderx" if BR2_thunderx && !BR2_TOOLCHAIN_GCC_AT_LEAST_9 - default "octeontx" if BR2_thunderx && BR2_TOOLCHAIN_GCC_AT_LEAST_9 - default "thunderxt81" if BR2_thunderxt81 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9 - default "octeontx81" if BR2_thunderxt81 && BR2_TOOLCHAIN_GCC_AT_LEAST_9 - default "thunderxt83" if BR2_thunderxt83 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9 - default "octeontx83" if BR2_thunderxt83 && BR2_TOOLCHAIN_GCC_AT_LEAST_9 - default "thunderxt88" if BR2_thunderxt88 - default "thunderxt88p1" if BR2_thunderxt88p1 - default "xgene1" if BR2_xgene1 - # armv8.1a - default "thunderx2t99" if BR2_thunderx2t99 - default "thunderx2t99p1" if BR2_thunderx2t99p1 - default "vulcan" if BR2_vulcan - # armv8.2a - default "cortex-a55" if BR2_cortex_a55 - default "cortex-a75" if BR2_cortex_a75 - default "cortex-a75.cortex-a55" if BR2_cortex_a75_a55 - default "cortex-a76" if BR2_cortex_a76 - default "cortex-a76.cortex-a55" if BR2_cortex_a76_a55 - default "neoverse-n1" if BR2_neoverse_n1 - default "tsv110" if BR2_tsv110 - # armv8.4a - default "saphira" if BR2_saphira - -config BR2_GCC_TARGET_ABI - default "aapcs-linux" if BR2_arm || BR2_armeb - default "lp64" if BR2_aarch64 || BR2_aarch64_be - -config BR2_GCC_TARGET_FPU - default "vfp" if BR2_ARM_FPU_VFPV2 - default "vfpv3" if BR2_ARM_FPU_VFPV3 - default "vfpv3-d16" if BR2_ARM_FPU_VFPV3D16 - default "vfpv4" if BR2_ARM_FPU_VFPV4 - default "vfpv4-d16" if BR2_ARM_FPU_VFPV4D16 - default "neon" if BR2_ARM_FPU_NEON - default "neon-vfpv4" if BR2_ARM_FPU_NEON_VFPV4 - default "fpv4-sp-d16" if BR2_ARM_FPU_FPV4D16 - default "fpv5-sp-d16" if BR2_ARM_FPU_FPV5D16 - default "fpv5-d16" if BR2_ARM_FPU_FPV5DPD16 - default "fp-armv8" if BR2_ARM_FPU_FP_ARMV8 - default "neon-fp-armv8" if BR2_ARM_FPU_NEON_FP_ARMV8 - depends on BR2_arm || BR2_armeb - -config BR2_GCC_TARGET_FLOAT_ABI - default "soft" if BR2_ARM_SOFT_FLOAT - default "softfp" if !BR2_ARM_SOFT_FLOAT && BR2_ARM_EABI - default "hard" if !BR2_ARM_SOFT_FLOAT && BR2_ARM_EABIHF - -config BR2_GCC_TARGET_MODE - default "arm" if BR2_ARM_INSTRUCTIONS_ARM - default "thumb" if BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2 - -config BR2_READELF_ARCH_NAME - default "ARM" if BR2_arm || BR2_armeb - default "AArch64" if BR2_aarch64 || BR2_aarch64_be - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.csky b/buildroot-2021.05/arch/Config.in.csky deleted file mode 100644 index 7e2029f7..00000000 --- a/buildroot-2021.05/arch/Config.in.csky +++ /dev/null @@ -1,49 +0,0 @@ -choice - prompt "Target Architecture Variant" - default BR2_ck610 - help - Specific CPU variant to use - -config BR2_ck610 - # Not supported by upstream gcc <= 9, and handled as a special - # exception in package/gcc/Config.in.host - bool "ck610" - -config BR2_ck807 - bool "ck807" - -config BR2_ck810 - bool "ck810" - -config BR2_ck860 - bool "ck860" - -endchoice - -config BR2_CSKY_FPU - bool "Enable FPU coprocessor" - depends on BR2_ck810 || BR2_ck807 || BR2_ck860 - help - You can say N here if your C-SKY CPU doesn't have a - Floating-Point Coprocessor or if you don't need FPU support - for your user-space programs. - -config BR2_CSKY_VDSP - bool "Enable VDSP enhanced instructions Co-processor" - depends on BR2_CSKY_FPU - -config BR2_GCC_TARGET_FLOAT_ABI - default "soft" if !BR2_CSKY_FPU - default "hard" if BR2_CSKY_FPU - -config BR2_ARCH - default "csky" - -config BR2_ENDIAN - default "LITTLE" - -config BR2_READELF_ARCH_NAME - default "CSKY" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.m68k b/buildroot-2021.05/arch/Config.in.m68k deleted file mode 100644 index 275f47f1..00000000 --- a/buildroot-2021.05/arch/Config.in.m68k +++ /dev/null @@ -1,43 +0,0 @@ -config BR2_ARCH - default "m68k" if BR2_m68k - -config BR2_ENDIAN - default "BIG" - -# symbols used to distinguish between m68k and coldfire -# for gcc multilib -config BR2_m68k_m68k - bool - -config BR2_m68k_cf - bool - -# coldfire variants will be added later -choice - prompt "Target CPU" - default BR2_m68k_68040 - depends on BR2_m68k - help - Specific CPU variant to use - -config BR2_m68k_68040 - bool "68040" - select BR2_m68k_m68k - select BR2_ARCH_HAS_MMU_MANDATORY - -config BR2_m68k_cf5208 - bool "5208" - select BR2_m68k_cf - select BR2_SOFT_FLOAT - -endchoice - -config BR2_GCC_TARGET_CPU - default "68040" if BR2_m68k_68040 - default "5208" if BR2_m68k_cf5208 - -config BR2_READELF_ARCH_NAME - default "MC68000" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.microblaze b/buildroot-2021.05/arch/Config.in.microblaze deleted file mode 100644 index 5fe2906d..00000000 --- a/buildroot-2021.05/arch/Config.in.microblaze +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_ARCH - default "microblazeel" if BR2_microblazeel - default "microblaze" if BR2_microblazebe - -config BR2_ENDIAN - default "LITTLE" if BR2_microblazeel - default "BIG" if BR2_microblazebe - -config BR2_READELF_ARCH_NAME - default "Xilinx MicroBlaze" - -config BR2_microblaze - bool - default y if BR2_microblazeel || BR2_microblazebe - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.mips b/buildroot-2021.05/arch/Config.in.mips deleted file mode 100644 index 619456c2..00000000 --- a/buildroot-2021.05/arch/Config.in.mips +++ /dev/null @@ -1,276 +0,0 @@ -# mips default CPU ISAs -config BR2_MIPS_CPU_MIPS32 - bool - select BR2_MIPS_NAN_LEGACY -config BR2_MIPS_CPU_MIPS32R2 - bool - select BR2_MIPS_NAN_LEGACY -config BR2_MIPS_CPU_MIPS32R3 - bool - select BR2_MIPS_NAN_LEGACY -config BR2_MIPS_CPU_MIPS32R5 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -config BR2_MIPS_CPU_MIPS32R6 - bool - select BR2_MIPS_NAN_2008 - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -config BR2_MIPS_CPU_MIPS64 - bool - select BR2_MIPS_NAN_LEGACY -config BR2_MIPS_CPU_MIPS64R2 - bool - select BR2_MIPS_NAN_LEGACY -config BR2_MIPS_CPU_MIPS64R3 - bool - select BR2_MIPS_NAN_LEGACY -config BR2_MIPS_CPU_MIPS64R5 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 -config BR2_MIPS_CPU_MIPS64R6 - bool - select BR2_MIPS_NAN_2008 - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 - -choice - prompt "Target Architecture Variant" - default BR2_mips_32 if BR2_mips || BR2_mipsel - default BR2_mips_64 if BR2_mips64 || BR2_mips64el - depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - help - Specific CPU variant to use - - 64bit capable: 64, 64r2, 64r3, 64r5, 64r6 - non-64bit capable: 32, 32r2, 32r3, 32r5, 32r6 - -config BR2_mips_32 - bool "Generic MIPS32" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32 -config BR2_mips_32r2 - bool "Generic MIPS32R2" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32R2 -config BR2_mips_32r3 - bool "Generic MIPS32R3" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32R3 -config BR2_mips_32r5 - bool "Generic MIPS32R5" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32R5 -config BR2_mips_32r6 - bool "Generic MIPS32R6" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32R6 -config BR2_mips_interaptiv - bool "interAptiv" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32R2 - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 -config BR2_mips_m5150 - bool "M5150" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32R5 - select BR2_MIPS_NAN_2008 - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 -config BR2_mips_m6250 - bool "M6250" - depends on !BR2_ARCH_IS_64 - select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT - select BR2_MIPS_CPU_MIPS32R6 -config BR2_mips_p5600 - bool "P5600" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32R5 - select BR2_MIPS_NAN_2008 -config BR2_mips_xburst - bool "XBurst" - depends on !BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS32R2 - help - The Ingenic XBurst is a MIPS32R2 microprocessor. It has a - bug in the FPU that can generate incorrect results in - certain cases. The problem shows up when you have several - fused madd instructions in sequence with dependant - operands. This requires the -mno-fused-madd compiler option - to be used in order to prevent emitting these instructions. - - See http://www.ingenic.com/en/?xburst.html -config BR2_mips_64 - bool "Generic MIPS64" - depends on BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS64 -config BR2_mips_64r2 - bool "Generic MIPS64R2" - depends on BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS64R2 -config BR2_mips_64r3 - bool "Generic MIPS64R3" - depends on BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS64R3 -config BR2_mips_64r5 - bool "Generic MIPS64R5" - depends on BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS64R5 -config BR2_mips_64r6 - bool "Generic MIPS64R6" - depends on BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS64R6 -config BR2_mips_i6400 - bool "I6400" - depends on BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS64R6 - select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 -config BR2_mips_octeon2 - bool "Octeon II" - depends on BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS64R2 - help - Marvell (formerly Cavium Networks) Octeon II CN60XX - processors. -config BR2_mips_octeon3 - bool "Octeon III" - depends on BR2_ARCH_IS_64 - select BR2_MIPS_CPU_MIPS64R3 - help - Marvell (formerly Cavium Networks) Octeon III CN7XXX - processors. -config BR2_mips_p6600 - bool "P6600" - depends on BR2_ARCH_IS_64 - select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT - select BR2_MIPS_CPU_MIPS64R6 -endchoice - -choice - prompt "Target ABI" - default BR2_MIPS_NABI32 - depends on BR2_mips64 || BR2_mips64el - - help - Application Binary Interface to use - -config BR2_MIPS_NABI32 - bool "n32" - depends on BR2_ARCH_IS_64 - select BR2_KERNEL_64_USERLAND_32 -config BR2_MIPS_NABI64 - bool "n64" - depends on BR2_ARCH_IS_64 -endchoice - -config BR2_MIPS_SOFT_FLOAT - bool "Use soft-float" - default y - depends on !BR2_mips_octeon3 # hard-float only - select BR2_SOFT_FLOAT - help - If your target CPU does not have a Floating Point Unit (FPU) - or a kernel FPU emulator, but you still wish to support - floating point functions, then everything will need to be - compiled with soft floating point support (-msoft-float). - -choice - prompt "FP mode" - default BR2_MIPS_FP32_MODE_XX - depends on !BR2_ARCH_IS_64 && !BR2_MIPS_SOFT_FLOAT - help - MIPS32 supports different FP modes (32,xx,64). Information - about FP modes can be found here: - https://sourceware.org/binutils/docs/as/MIPS-Options.html - https://dmz-portal.imgtec.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking#5._Generating_modeless_code - -config BR2_MIPS_FP32_MODE_32 - bool "32" - depends on !BR2_MIPS_CPU_MIPS32R6 - -config BR2_MIPS_FP32_MODE_XX - bool "xx" - select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 - -config BR2_MIPS_FP32_MODE_64 - bool "64" - depends on !BR2_MIPS_CPU_MIPS32 -endchoice - -config BR2_GCC_TARGET_FP32_MODE - default "32" if BR2_MIPS_FP32_MODE_32 - default "xx" if BR2_MIPS_FP32_MODE_XX - default "64" if BR2_MIPS_FP32_MODE_64 - -config BR2_MIPS_NAN_LEGACY - bool - -config BR2_MIPS_NAN_2008 - bool - select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 - -choice - prompt "Target NaN" - default BR2_MIPS_ENABLE_NAN_2008 - depends on BR2_mips_32r5 || BR2_mips_64r5 - help - MIPS supports two different NaN encodings, legacy and 2008. - Information about MIPS NaN encodings can be found here: - https://sourceware.org/binutils/docs/as/MIPS-NaN-Encodings.html - -config BR2_MIPS_ENABLE_NAN_LEGACY - bool "legacy" - select BR2_MIPS_NAN_LEGACY - -config BR2_MIPS_ENABLE_NAN_2008 - bool "2008" - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_MIPS_NAN_2008 -endchoice - -config BR2_GCC_TARGET_NAN - default "legacy" if BR2_MIPS_NAN_LEGACY - default "2008" if BR2_MIPS_NAN_2008 - -config BR2_ARCH - default "mips" if BR2_mips - default "mipsel" if BR2_mipsel - default "mips64" if BR2_mips64 - default "mips64el" if BR2_mips64el - -config BR2_ENDIAN - default "LITTLE" if BR2_mipsel || BR2_mips64el - default "BIG" if BR2_mips || BR2_mips64 - -config BR2_GCC_TARGET_ARCH - default "mips32" if BR2_mips_32 - default "mips32r2" if BR2_mips_32r2 - default "mips32r3" if BR2_mips_32r3 - default "mips32r5" if BR2_mips_32r5 - default "mips32r6" if BR2_mips_32r6 - default "interaptiv" if BR2_mips_interaptiv - default "m5101" if BR2_mips_m5150 - default "m6201" if BR2_mips_m6250 - default "p5600" if BR2_mips_p5600 - default "mips32r2" if BR2_mips_xburst - default "mips64" if BR2_mips_64 - default "mips64r2" if BR2_mips_64r2 - default "mips64r3" if BR2_mips_64r3 - default "mips64r5" if BR2_mips_64r5 - default "mips64r6" if BR2_mips_64r6 - default "i6400" if BR2_mips_i6400 - default "octeon2" if BR2_mips_octeon2 - default "octeon3" if BR2_mips_octeon3 - default "p6600" if BR2_mips_p6600 - -config BR2_MIPS_OABI32 - bool - default y if BR2_mips || BR2_mipsel - -config BR2_GCC_TARGET_ABI - default "32" if BR2_MIPS_OABI32 - default "n32" if BR2_MIPS_NABI32 - default "64" if BR2_MIPS_NABI64 - -config BR2_READELF_ARCH_NAME - default "MIPS R3000" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.nds32 b/buildroot-2021.05/arch/Config.in.nds32 deleted file mode 100644 index 322ff49f..00000000 --- a/buildroot-2021.05/arch/Config.in.nds32 +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_ARCH - default "nds32le" - -config BR2_GCC_TARGET_ARCH - default "v3" - -config BR2_ENDIAN - default "LITTLE" - -config BR2_READELF_ARCH_NAME - default "Andes Technology compact code size embedded RISC processor family" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.nios2 b/buildroot-2021.05/arch/Config.in.nios2 deleted file mode 100644 index aae435fa..00000000 --- a/buildroot-2021.05/arch/Config.in.nios2 +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_ARCH - default "nios2" - -config BR2_ENDIAN - default "LITTLE" - -config BR2_READELF_ARCH_NAME - default "Altera Nios II" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.or1k b/buildroot-2021.05/arch/Config.in.or1k deleted file mode 100644 index abdf498f..00000000 --- a/buildroot-2021.05/arch/Config.in.or1k +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_ARCH - default "or1k" - -config BR2_ENDIAN - default "BIG" - -config BR2_READELF_ARCH_NAME - default "OpenRISC 1000" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.powerpc b/buildroot-2021.05/arch/Config.in.powerpc deleted file mode 100644 index ba56c9c7..00000000 --- a/buildroot-2021.05/arch/Config.in.powerpc +++ /dev/null @@ -1,209 +0,0 @@ -config BR2_POWERPC_CPU_HAS_ALTIVEC - bool - -config BR2_POWERPC_CPU_HAS_SPE - bool - -choice - prompt "Target Architecture Variant" - default BR2_generic_powerpc - help - Specific CPU variant to use -config BR2_generic_powerpc - bool "generic" -config BR2_powerpc_401 - bool "401" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_403 - bool "403" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_405 - bool "405" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_405fp - bool "405 with FPU" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_440 - bool "440" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_440fp - bool "440 with FPU" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_464 - bool "464" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_464fp - bool "464 with FPU" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_476 - bool "476" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_476fp - bool "476 with FPU" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_505 - bool "505" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_602 - bool "602" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_603 - bool "603" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_603e - bool "603e" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_604 - bool "604" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_604e - bool "604e" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_620 - bool "620" -config BR2_powerpc_630 - bool "630" -config BR2_powerpc_740 - bool "740" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_7400 - bool "7400" - depends on !BR2_ARCH_IS_64 - select BR2_POWERPC_CPU_HAS_ALTIVEC -config BR2_powerpc_7450 - bool "7450" - depends on !BR2_ARCH_IS_64 - select BR2_POWERPC_CPU_HAS_ALTIVEC -config BR2_powerpc_750 - bool "750" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_821 - bool "821" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_823 - bool "823" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_860 - bool "860" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_970 - bool "970" - select BR2_POWERPC_CPU_HAS_ALTIVEC -config BR2_powerpc_8540 - bool "8540 / e500v1" - depends on !BR2_ARCH_IS_64 - select BR2_POWERPC_CPU_HAS_SPE -config BR2_powerpc_8548 - bool "8548 / e500v2" - depends on !BR2_ARCH_IS_64 - select BR2_POWERPC_CPU_HAS_SPE -config BR2_powerpc_e300c2 - bool "e300c2" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_e300c3 - bool "e300c3" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_e500mc - bool "e500mc" - depends on !BR2_ARCH_IS_64 -config BR2_powerpc_e5500 - bool "e5500" - depends on !BR2_powerpc64le -config BR2_powerpc_e6500 - bool "e6500" - depends on !BR2_powerpc64le - select BR2_POWERPC_CPU_HAS_ALTIVEC -config BR2_powerpc_power4 - bool "power4" -config BR2_powerpc_power5 - bool "power5" -config BR2_powerpc_power6 - bool "power6" - select BR2_POWERPC_CPU_HAS_ALTIVEC -config BR2_powerpc_power7 - bool "power7" - select BR2_POWERPC_CPU_HAS_ALTIVEC -config BR2_powerpc_power8 - bool "power8" - select BR2_POWERPC_CPU_HAS_ALTIVEC -endchoice - -choice - prompt "Target ABI" - default BR2_powerpc_SPE if BR2_POWERPC_CPU_HAS_SPE - default BR2_powerpc_CLASSIC - help - Application Binary Interface to use - -config BR2_powerpc_CLASSIC - bool "Classic" - depends on !BR2_POWERPC_CPU_HAS_SPE -config BR2_powerpc_SPE - bool "SPE" - depends on BR2_POWERPC_CPU_HAS_SPE -endchoice - -config BR2_POWERPC_SOFT_FLOAT - bool "Use soft-float" - select BR2_SOFT_FLOAT - help - If your target CPU does not have a Floating Point Unit (FPU) - or a kernel FPU emulator, but you still wish to support - floating point functions, then everything will need to be - compiled with soft floating point support (-msoft-float). - -config BR2_ARCH - default "powerpc" if BR2_powerpc - default "powerpc64" if BR2_powerpc64 - default "powerpc64le" if BR2_powerpc64le - -config BR2_ENDIAN - default "BIG" if BR2_powerpc || BR2_powerpc64 - default "LITTLE" if BR2_powerpc64le - -config BR2_GCC_TARGET_CPU - default "401" if BR2_powerpc_401 - default "403" if BR2_powerpc_403 - default "405" if BR2_powerpc_405 - default "405fp" if BR2_powerpc_405fp - default "440" if BR2_powerpc_440 - default "440fp" if BR2_powerpc_440fp - default "464" if BR2_powerpc_464 - default "464fp" if BR2_powerpc_464fp - default "476" if BR2_powerpc_476 - default "476fp" if BR2_powerpc_476fp - default "505" if BR2_powerpc_505 - default "602" if BR2_powerpc_602 - default "603" if BR2_powerpc_603 - default "603e" if BR2_powerpc_603e - default "604" if BR2_powerpc_604 - default "604e" if BR2_powerpc_604e - default "620" if BR2_powerpc_620 - default "630" if BR2_powerpc_630 - default "740" if BR2_powerpc_740 - default "7400" if BR2_powerpc_7400 - default "7450" if BR2_powerpc_7450 - default "750" if BR2_powerpc_750 - default "821" if BR2_powerpc_821 - default "823" if BR2_powerpc_823 - default "860" if BR2_powerpc_860 - default "970" if BR2_powerpc_970 - default "8540" if BR2_powerpc_8540 - default "8548" if BR2_powerpc_8548 - default "e300c2" if BR2_powerpc_e300c2 - default "e300c3" if BR2_powerpc_e300c3 - default "e500mc" if BR2_powerpc_e500mc - default "e5500" if BR2_powerpc_e5500 - default "e6500" if BR2_powerpc_e6500 - default "power4" if BR2_powerpc_power4 - default "power5" if BR2_powerpc_power5 - default "power6" if BR2_powerpc_power6 - default "power7" if BR2_powerpc_power7 - default "power8" if BR2_powerpc_power8 - -config BR2_READELF_ARCH_NAME - default "PowerPC" if BR2_powerpc - default "PowerPC64" if BR2_powerpc64 || BR2_powerpc64le - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.riscv b/buildroot-2021.05/arch/Config.in.riscv deleted file mode 100644 index 1fc20e5d..00000000 --- a/buildroot-2021.05/arch/Config.in.riscv +++ /dev/null @@ -1,134 +0,0 @@ -# RISC-V CPU ISA extensions. - -config BR2_RISCV_ISA_RVI - bool - -config BR2_RISCV_ISA_RVM - bool - -config BR2_RISCV_ISA_RVA - bool - -config BR2_RISCV_ISA_RVF - bool - -config BR2_RISCV_ISA_RVD - bool - -config BR2_RISCV_ISA_RVC - bool - -choice - prompt "Target Architecture Variant" - default BR2_riscv_g - -config BR2_riscv_g - bool "General purpose (G)" - select BR2_RISCV_ISA_RVI - select BR2_RISCV_ISA_RVM - select BR2_RISCV_ISA_RVA - select BR2_RISCV_ISA_RVF - select BR2_RISCV_ISA_RVD - help - General purpose (G) is equivalent to IMAFD. - -config BR2_riscv_custom - bool "Custom architecture" - select BR2_RISCV_ISA_RVI - select BR2_RISCV_ISA_CUSTOM_RVA - -endchoice - -if BR2_riscv_custom - -comment "Instruction Set Extensions" - -config BR2_RISCV_ISA_CUSTOM_RVM - bool "Integer Multiplication and Division (M)" - select BR2_RISCV_ISA_RVM - -config BR2_RISCV_ISA_CUSTOM_RVA - bool "Atomic Instructions (A)" - select BR2_RISCV_ISA_RVA - -config BR2_RISCV_ISA_CUSTOM_RVF - bool "Single-precision Floating-point (F)" - select BR2_RISCV_ISA_RVF - -config BR2_RISCV_ISA_CUSTOM_RVD - bool "Double-precision Floating-point (D)" - depends on BR2_RISCV_ISA_RVF - select BR2_RISCV_ISA_RVD - -config BR2_RISCV_ISA_CUSTOM_RVC - bool "Compressed Instructions (C)" - select BR2_RISCV_ISA_RVC -endif - -choice - prompt "Target Architecture Size" - default BR2_RISCV_64 - -config BR2_RISCV_32 - bool "32-bit" - -config BR2_RISCV_64 - bool "64-bit" - select BR2_ARCH_IS_64 - -endchoice - -choice - prompt "Target ABI" - default BR2_RISCV_ABI_ILP32D if !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD - default BR2_RISCV_ABI_ILP32F if !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF - default BR2_RISCV_ABI_ILP32 if !BR2_ARCH_IS_64 - default BR2_RISCV_ABI_LP64D if BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD - default BR2_RISCV_ABI_LP64F if BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF - default BR2_RISCV_ABI_LP64 if BR2_ARCH_IS_64 - -config BR2_RISCV_ABI_ILP32 - bool "ilp32" - depends on !BR2_ARCH_IS_64 - -config BR2_RISCV_ABI_ILP32F - bool "ilp32f" - depends on !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF - -config BR2_RISCV_ABI_ILP32D - bool "ilp32d" - depends on !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD - -config BR2_RISCV_ABI_LP64 - bool "lp64" - depends on BR2_ARCH_IS_64 - -config BR2_RISCV_ABI_LP64F - bool "lp64f" - depends on BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF - -config BR2_RISCV_ABI_LP64D - bool "lp64d" - depends on BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD -endchoice - -config BR2_ARCH - default "riscv32" if !BR2_ARCH_IS_64 - default "riscv64" if BR2_ARCH_IS_64 - -config BR2_ENDIAN - default "LITTLE" - -config BR2_GCC_TARGET_ABI - default "ilp32" if BR2_RISCV_ABI_ILP32 - default "ilp32f" if BR2_RISCV_ABI_ILP32F - default "ilp32d" if BR2_RISCV_ABI_ILP32D - default "lp64" if BR2_RISCV_ABI_LP64 - default "lp64f" if BR2_RISCV_ABI_LP64F - default "lp64d" if BR2_RISCV_ABI_LP64D - -config BR2_READELF_ARCH_NAME - default "RISC-V" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.s390x b/buildroot-2021.05/arch/Config.in.s390x deleted file mode 100644 index ad866b42..00000000 --- a/buildroot-2021.05/arch/Config.in.s390x +++ /dev/null @@ -1,29 +0,0 @@ -choice - prompt "Target Architecture Variant" - help - Specific CPU variant to use - -config BR2_s390x_z13 - bool "z13" - -config BR2_s390x_z14 - bool "z14" - -config BR2_s390x_z15 - bool "z15" - -endchoice - -config BR2_ARCH - default "s390x" if BR2_s390x - -config BR2_ENDIAN - default "BIG" - -config BR2_GCC_TARGET_ARCH - default "arch11" if BR2_s390x_z13 - default "arch12" if BR2_s390x_z14 - default "arch13" if BR2_s390x_z15 - -config BR2_READELF_ARCH_NAME - default "IBM S/390" if BR2_s390x diff --git a/buildroot-2021.05/arch/Config.in.sh b/buildroot-2021.05/arch/Config.in.sh deleted file mode 100644 index b5cce18e..00000000 --- a/buildroot-2021.05/arch/Config.in.sh +++ /dev/null @@ -1,35 +0,0 @@ -choice - prompt "Target Architecture Variant" - default BR2_sh4 - depends on BR2_sh - help - Specific CPU variant to use - -config BR2_sh2a - bool "sh2a (SH2A big endian)" -config BR2_sh4 - bool "sh4 (SH4 little endian)" -config BR2_sh4eb - bool "sh4eb (SH4 big endian)" -config BR2_sh4a - bool "sh4a (SH4A little endian)" -config BR2_sh4aeb - bool "sh4aeb (SH4A big endian)" -endchoice - -config BR2_ARCH - default "sh2a" if BR2_sh2a - default "sh4" if BR2_sh4 - default "sh4eb" if BR2_sh4eb - default "sh4a" if BR2_sh4a - default "sh4aeb" if BR2_sh4aeb - -config BR2_ENDIAN - default "LITTLE" if BR2_sh4 || BR2_sh4a - default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb - -config BR2_READELF_ARCH_NAME - default "Renesas / SuperH SH" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.sparc b/buildroot-2021.05/arch/Config.in.sparc deleted file mode 100644 index 4c4dc617..00000000 --- a/buildroot-2021.05/arch/Config.in.sparc +++ /dev/null @@ -1,37 +0,0 @@ -choice - prompt "Target Architecture Variant" - default BR2_sparc_v8 if BR2_sparc - default BR2_sparc_v9 if BR2_sparc64 - depends on BR2_sparc || BR2_sparc64 - help - Specific CPU variant to use - -config BR2_sparc_v8 - bool "v8" - depends on BR2_sparc -config BR2_sparc_leon3 - bool "leon3" - depends on BR2_sparc -config BR2_sparc_v9 - bool "v9" - depends on BR2_sparc64 -endchoice - -config BR2_ARCH - default "sparc" if BR2_sparc - default "sparc64" if BR2_sparc64 - -config BR2_ENDIAN - default "BIG" - -config BR2_GCC_TARGET_CPU - default "leon3" if BR2_sparc_leon3 - default "v8" if BR2_sparc_v8 - default "ultrasparc" if BR2_sparc_v9 - -config BR2_READELF_ARCH_NAME - default "Sparc" if BR2_sparc - default "Sparc v9" if BR2_sparc64 - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.x86 b/buildroot-2021.05/arch/Config.in.x86 deleted file mode 100644 index 7aae3caf..00000000 --- a/buildroot-2021.05/arch/Config.in.x86 +++ /dev/null @@ -1,312 +0,0 @@ -# i386/x86_64 cpu features -config BR2_X86_CPU_HAS_MMX - bool -config BR2_X86_CPU_HAS_3DNOW - bool -config BR2_X86_CPU_HAS_SSE - bool -config BR2_X86_CPU_HAS_SSE2 - bool -config BR2_X86_CPU_HAS_SSE3 - bool -config BR2_X86_CPU_HAS_SSSE3 - bool -config BR2_X86_CPU_HAS_SSE4 - bool -config BR2_X86_CPU_HAS_SSE42 - bool -config BR2_X86_CPU_HAS_AVX - bool -config BR2_X86_CPU_HAS_AVX2 - bool - -choice - prompt "Target Architecture Variant" - default BR2_x86_i586 if BR2_i386 - depends on BR2_i386 || BR2_x86_64 - help - Specific CPU variant to use - -config BR2_x86_i486 - bool "i486" - depends on !BR2_x86_64 -config BR2_x86_i586 - bool "i586" - depends on !BR2_x86_64 -config BR2_x86_x1000 - bool "x1000" - depends on !BR2_x86_64 - help - The Intel X1000 is a Pentium class microprocessor in the - Quark (sub-Atom) Product Line. The X1000 has a bug on the - lock prefix requiring that prefix must be stripped at build - time. - - See https://en.wikipedia.org/wiki/Intel_Quark - -config BR2_x86_i686 - bool "i686" - depends on !BR2_x86_64 -config BR2_x86_pentiumpro - bool "pentium pro" - depends on !BR2_x86_64 -config BR2_x86_pentium_mmx - bool "pentium MMX" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX -config BR2_x86_pentium_m - bool "pentium mobile" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE -config BR2_x86_pentium2 - bool "pentium2" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX -config BR2_x86_pentium3 - bool "pentium3" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE -config BR2_x86_pentium4 - bool "pentium4" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 -config BR2_x86_prescott - bool "prescott" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 -config BR2_x86_nocona - bool "nocona" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 -config BR2_x86_core2 - bool "core2" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 -config BR2_x86_corei7 - bool "corei7" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 - select BR2_X86_CPU_HAS_SSE4 - select BR2_X86_CPU_HAS_SSE42 -config BR2_x86_westmere - bool "westmere" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 - select BR2_X86_CPU_HAS_SSE4 - select BR2_X86_CPU_HAS_SSE42 -config BR2_x86_corei7_avx - bool "corei7-avx" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 - select BR2_X86_CPU_HAS_SSE4 - select BR2_X86_CPU_HAS_SSE42 - select BR2_X86_CPU_HAS_AVX -config BR2_x86_core_avx2 - bool "core-avx2" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 - select BR2_X86_CPU_HAS_SSE4 - select BR2_X86_CPU_HAS_SSE42 - select BR2_X86_CPU_HAS_AVX - select BR2_X86_CPU_HAS_AVX2 -config BR2_x86_atom - bool "atom" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 -config BR2_x86_silvermont - bool "silvermont" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 - select BR2_X86_CPU_HAS_SSE4 - select BR2_X86_CPU_HAS_SSE42 -config BR2_x86_k6 - bool "k6" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX -config BR2_x86_k6_2 - bool "k6-2" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_3DNOW -config BR2_x86_athlon - bool "athlon" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_3DNOW -config BR2_x86_athlon_4 - bool "athlon-4" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_3DNOW -config BR2_x86_opteron - bool "opteron" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 -config BR2_x86_opteron_sse3 - bool "opteron w/ SSE3" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 -config BR2_x86_barcelona - bool "barcelona" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 -config BR2_x86_jaguar - bool "jaguar" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 - select BR2_X86_CPU_HAS_SSE4 - select BR2_X86_CPU_HAS_SSE42 -config BR2_x86_steamroller - bool "steamroller" - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE - select BR2_X86_CPU_HAS_SSE2 - select BR2_X86_CPU_HAS_SSE3 - select BR2_X86_CPU_HAS_SSSE3 - select BR2_X86_CPU_HAS_SSE4 - select BR2_X86_CPU_HAS_SSE42 -config BR2_x86_geode - bool "geode" - # Don't include MMX support because there several variant of geode - # processor, some with MMX support, some without. - # See: http://en.wikipedia.org/wiki/Geode_%28processor%29 - depends on !BR2_x86_64 -config BR2_x86_c3 - bool "Via/Cyrix C3 (Samuel/Ezra cores)" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_3DNOW -config BR2_x86_c32 - bool "Via C3-2 (Nehemiah cores)" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX - select BR2_X86_CPU_HAS_SSE -config BR2_x86_winchip_c6 - bool "IDT Winchip C6" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX -config BR2_x86_winchip2 - bool "IDT Winchip 2" - depends on !BR2_x86_64 - select BR2_X86_CPU_HAS_MMX -endchoice - -config BR2_ARCH - default "i486" if BR2_x86_i486 - default "i586" if BR2_x86_i586 - default "i586" if BR2_x86_x1000 - default "i586" if BR2_x86_pentium_mmx - default "i586" if BR2_x86_geode - default "i586" if BR2_x86_c3 - default "i686" if BR2_x86_c32 - default "i586" if BR2_x86_winchip_c6 - default "i586" if BR2_x86_winchip2 - default "i686" if BR2_x86_i686 - default "i686" if BR2_x86_pentium2 - default "i686" if BR2_x86_pentium3 - default "i686" if BR2_x86_pentium4 - default "i686" if BR2_x86_pentium_m - default "i686" if BR2_x86_pentiumpro - default "i686" if BR2_x86_prescott - default "i686" if BR2_x86_nocona && BR2_i386 - default "i686" if BR2_x86_core2 && BR2_i386 - default "i686" if BR2_x86_corei7 && BR2_i386 - default "i686" if BR2_x86_westmere && BR2_i386 - default "i686" if BR2_x86_corei7_avx && BR2_i386 - default "i686" if BR2_x86_core_avx2 && BR2_i386 - default "i686" if BR2_x86_atom && BR2_i386 - default "i686" if BR2_x86_silvermont && BR2_i386 - default "i686" if BR2_x86_opteron && BR2_i386 - default "i686" if BR2_x86_opteron_sse3 && BR2_i386 - default "i686" if BR2_x86_barcelona && BR2_i386 - default "i686" if BR2_x86_jaguar && BR2_i386 - default "i686" if BR2_x86_steamroller && BR2_i386 - default "i686" if BR2_x86_k6 - default "i686" if BR2_x86_k6_2 - default "i686" if BR2_x86_athlon - default "i686" if BR2_x86_athlon_4 - default "x86_64" if BR2_x86_64 - -config BR2_ENDIAN - default "LITTLE" - -config BR2_GCC_TARGET_ARCH - default "i486" if BR2_x86_i486 - default "i586" if BR2_x86_i586 - default "i586" if BR2_x86_x1000 - default "pentium-mmx" if BR2_x86_pentium_mmx - default "i686" if BR2_x86_i686 - default "pentiumpro" if BR2_x86_pentiumpro - default "pentium-m" if BR2_x86_pentium_m - default "pentium2" if BR2_x86_pentium2 - default "pentium3" if BR2_x86_pentium3 - default "pentium4" if BR2_x86_pentium4 - default "prescott" if BR2_x86_prescott - default "nocona" if BR2_x86_nocona - default "core2" if BR2_x86_core2 - default "corei7" if BR2_x86_corei7 - default "corei7-avx" if BR2_x86_corei7_avx - default "core-avx2" if BR2_x86_core_avx2 - default "atom" if BR2_x86_atom - default "westmere" if BR2_x86_westmere - default "silvermont" if BR2_x86_silvermont - default "k8" if BR2_x86_opteron - default "k8-sse3" if BR2_x86_opteron_sse3 - default "barcelona" if BR2_x86_barcelona - default "btver2" if BR2_x86_jaguar - default "bdver3" if BR2_x86_steamroller - default "k6" if BR2_x86_k6 - default "k6-2" if BR2_x86_k6_2 - default "athlon" if BR2_x86_athlon - default "athlon-4" if BR2_x86_athlon_4 - default "winchip-c6" if BR2_x86_winchip_c6 - default "winchip2" if BR2_x86_winchip2 - default "c3" if BR2_x86_c3 - default "c3-2" if BR2_x86_c32 - default "geode" if BR2_x86_geode - -config BR2_READELF_ARCH_NAME - default "Intel 80386" if BR2_i386 - default "Advanced Micro Devices X86-64" if BR2_x86_64 - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/Config.in.xtensa b/buildroot-2021.05/arch/Config.in.xtensa deleted file mode 100644 index a79d9069..00000000 --- a/buildroot-2021.05/arch/Config.in.xtensa +++ /dev/null @@ -1,55 +0,0 @@ -choice - prompt "Target Architecture Variant" - default BR2_xtensa_fsf - depends on BR2_xtensa - -config BR2_XTENSA_CUSTOM - bool "Custom Xtensa processor configuration" - select BR2_ARCH_HAS_MMU_OPTIONAL - -config BR2_xtensa_fsf - bool "fsf - Default configuration" - select BR2_ARCH_HAS_MMU_MANDATORY - -endchoice - -config BR2_XTENSA_OVERLAY_FILE - string "Overlay file for custom configuration" - depends on BR2_XTENSA_CUSTOM - help - Enter the path to the overlay tarball for a custom processor - configuration. - - These overlay files are tar packages with updated - configuration files for various toolchain packages and Xtensa - processor configurations. They are provided by the processor - vendor or directly from Tensilica. - - The path can be either absolute, or relative to the top - directory of buildroot. - -choice - prompt "Target Architecture Endianness" - default BR2_XTENSA_LITTLE_ENDIAN - depends on BR2_XTENSA_CUSTOM - -config BR2_XTENSA_LITTLE_ENDIAN - bool "Little endian" - -config BR2_XTENSA_BIG_ENDIAN - bool "Big endian" - -endchoice - -config BR2_ENDIAN - default "LITTLE" if BR2_XTENSA_LITTLE_ENDIAN - default "BIG" if BR2_xtensa_fsf || BR2_XTENSA_BIG_ENDIAN - -config BR2_ARCH - default "xtensa" if BR2_xtensa - -config BR2_READELF_ARCH_NAME - default "Tensilica Xtensa Processor" - -# vim: ft=kconfig -# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/board/aarch64-efi/genimage-efi.cfg b/buildroot-2021.05/board/aarch64-efi/genimage-efi.cfg deleted file mode 100644 index 34cca1d6..00000000 --- a/buildroot-2021.05/board/aarch64-efi/genimage-efi.cfg +++ /dev/null @@ -1,32 +0,0 @@ -image efi-part.vfat { - vfat { - file startup.nsh { - image = "efi-part/startup.nsh" - } - file EFI { - image = "efi-part/EFI" - } - file Image { - image = "Image" - } - } - size = 32M -} - -image disk.img { - hdimage { - gpt = true - } - - partition boot { - image = "efi-part.vfat" - partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b - offset = 32768 - bootable = true - } - - partition root { - partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae - image = "rootfs.ext2" - } -} diff --git a/buildroot-2021.05/board/aarch64-efi/readme.txt b/buildroot-2021.05/board/aarch64-efi/readme.txt deleted file mode 100644 index 164993ee..00000000 --- a/buildroot-2021.05/board/aarch64-efi/readme.txt +++ /dev/null @@ -1,53 +0,0 @@ - -The aarch64_efi_defconfig allows to build a minimal Linux system that -can boot on all AArch64 servers providing an EFI firmware. - -This includes all Arm EBBR[1] compliant systems, and all Arm SystemReady[2] -compliant systems for example. - - -Building and booting -==================== - -$ make aarch64_efi_defconfig -$ make - -The file output/images/disk.img is a complete disk image that can be -booted, it includes the grub2 bootloader, Linux kernel and root -filesystem. - -Testing under Qemu -================== - -This image can also be tested using Qemu: - -qemu-system-aarch64 \ - -M virt \ - -cpu cortex-a57 \ - -m 512 \ - -nographic \ - -bios \ - -drive file=output/images/disk.img,if=none,format=raw,id=hd0 \ - -device virtio-blk-device,drive=hd0 \ - -netdev user,id=eth0 \ - -device virtio-net-device,netdev=eth0 - -Note that needs to point to a valid aarch64 UEFI -firmware image for qemu. -It may be provided by your distribution as a edk2-aarch64 or AAVMF -package, in path such as /usr/share/edk2/aarch64/QEMU_EFI.fd . - -U-Boot based qemu firmware -========================== - -A qemu firmware with support for UEFI based on U-Boot can be built following -the instructions in [3], with qemu_arm64_defconfig. - -This should give you a nor_flash.bin, which you can use with qemu as an -alternative to QEMU_EFI.fd. You will also need to change the machine -specification to "-M virt,secure" on qemu command line, to enable TrustZone -support, and you will need to increase the memory with "-m 1024". - -[1]: https://github.com/ARM-software/ebbr -[2]: https://developer.arm.com/architectures/system-architectures/arm-systemready -[3]: https://github.com/glikely/u-boot-tfa-build diff --git a/buildroot-2021.05/board/acmesystems/acqua-a5/genimage.cfg b/buildroot-2021.05/board/acmesystems/acqua-a5/genimage.cfg deleted file mode 100644 index 63b003f3..00000000 --- a/buildroot-2021.05/board/acmesystems/acqua-a5/genimage.cfg +++ /dev/null @@ -1,28 +0,0 @@ -# Minimal SD card image for the Acme Systems Acqua A5 - -image boot.vfat { - vfat { - files = { - "boot.bin", - "zImage", - "at91-sama5d3_acqua.dtb" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/acmesystems/aria-g25/genimage.cfg b/buildroot-2021.05/board/acmesystems/aria-g25/genimage.cfg deleted file mode 100644 index b40ad9ed..00000000 --- a/buildroot-2021.05/board/acmesystems/aria-g25/genimage.cfg +++ /dev/null @@ -1,35 +0,0 @@ -# Minimal SD card image for the Acmesystems Aria G25 - -image boot.vfat { - vfat { - file zImage { - image = "zImage" - } - - file at91-ariag25.dtb { - image = "at91-ariag25.dtb" - } - - file boot.bin { - image = "at91sam9x5_aria-sdcardboot-linux-zimage-dt-3.8.13.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/acmesystems/arietta-g25/genimage.cfg b/buildroot-2021.05/board/acmesystems/arietta-g25/genimage.cfg deleted file mode 100644 index 7c3112dd..00000000 --- a/buildroot-2021.05/board/acmesystems/arietta-g25/genimage.cfg +++ /dev/null @@ -1,35 +0,0 @@ -# Minimal SD card image for the Acmesystems Arietta G25 - -image boot.vfat { - vfat { - file zImage { - image = "zImage" - } - - file acme-arietta.dtb { - image = "at91-ariettag25.dtb" - } - - file boot.bin { - image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.8.13.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/altera/socrates_cyclone5/genimage.cfg b/buildroot-2021.05/board/altera/socrates_cyclone5/genimage.cfg deleted file mode 100644 index 63fef8ba..00000000 --- a/buildroot-2021.05/board/altera/socrates_cyclone5/genimage.cfg +++ /dev/null @@ -1,58 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "socfpga_cyclone5_socrates.dtb" - } - } - size = 8M -} - -image uboot.img { - hdimage { - partition-table = "no" - } - - partition spl { - in-partition-table = "no" - image = "u-boot-spl.bin.crc" - offset = 0 - size = 64k - } - - partition uboot-full { - in-partition-table = "no" - image = "u-boot.img" - offset = 256k - } - - size = 1M -} - -image sdcard.img { - hdimage { - } - - partition uboot-env { - in-partition-table = "no" - image = "uboot-env.bin" - offset = 17408 # 512 * 34 -> just after gpt - } - - partition boot { - partition-type = 0xc - bootable = "true" - image = "boot.vfat" - } - - partition uboot { - partition-type = 0xa2 - image = "uboot.img" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 500M - } -} diff --git a/buildroot-2021.05/board/amarula/a64-relic/genimage.cfg b/buildroot-2021.05/board/amarula/a64-relic/genimage.cfg deleted file mode 100644 index 002b6bb4..00000000 --- a/buildroot-2021.05/board/amarula/a64-relic/genimage.cfg +++ /dev/null @@ -1,10 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-amarula-relic.dtb", - "extlinux" - } - } - size = 64M -} diff --git a/buildroot-2021.05/board/amarula/vyasa/patches/uboot/0001-include-configs-Increase-CONFIG_SYS_BOOTM_LEN-to-16M.patch b/buildroot-2021.05/board/amarula/vyasa/patches/uboot/0001-include-configs-Increase-CONFIG_SYS_BOOTM_LEN-to-16M.patch deleted file mode 100644 index 64a147c0..00000000 --- a/buildroot-2021.05/board/amarula/vyasa/patches/uboot/0001-include-configs-Increase-CONFIG_SYS_BOOTM_LEN-to-16M.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 8ee2b03039cccf64402a72dea2185d7fe1972729 Mon Sep 17 00:00:00 2001 -From: Shyam Saini -Date: Mon, 15 Apr 2019 16:16:16 +0530 -Subject: [PATCH] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB - -The default value of CONFIG_SYS_BOOTM_LEN is 0x800000 i.e, 8MB which -causes board reset because of larger uImage size. - -Error log snippet: - Booting using the fdt blob at 0x1f00000 - Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN -Must RESET board to recover -resetting ... - -Signed-off-by: Shyam Saini ---- - include/configs/rk3288_common.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h -index 72a54bc0ab..eab7cf4d86 100644 ---- a/include/configs/rk3288_common.h -+++ b/include/configs/rk3288_common.h -@@ -9,6 +9,8 @@ - #include - #include "rockchip-common.h" - -+#define CONFIG_SYS_BOOTM_LEN (16 << 20) /* 16MB */ -+ - #define CONFIG_SKIP_LOWLEVEL_INIT_ONLY - #define CONFIG_SYS_MALLOC_LEN (32 << 20) - #define CONFIG_SYS_CBSIZE 1024 --- -2.11.0 - diff --git a/buildroot-2021.05/board/asus/tinker/patches/uboot/0001-include-configs-Increase-CONFIG_SYS_BOOTM_LEN-to-16M.patch b/buildroot-2021.05/board/asus/tinker/patches/uboot/0001-include-configs-Increase-CONFIG_SYS_BOOTM_LEN-to-16M.patch deleted file mode 100644 index 64a147c0..00000000 --- a/buildroot-2021.05/board/asus/tinker/patches/uboot/0001-include-configs-Increase-CONFIG_SYS_BOOTM_LEN-to-16M.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 8ee2b03039cccf64402a72dea2185d7fe1972729 Mon Sep 17 00:00:00 2001 -From: Shyam Saini -Date: Mon, 15 Apr 2019 16:16:16 +0530 -Subject: [PATCH] include: configs: Increase CONFIG_SYS_BOOTM_LEN to 16MB - -The default value of CONFIG_SYS_BOOTM_LEN is 0x800000 i.e, 8MB which -causes board reset because of larger uImage size. - -Error log snippet: - Booting using the fdt blob at 0x1f00000 - Loading Kernel Image ... Image too large: increase CONFIG_SYS_BOOTM_LEN -Must RESET board to recover -resetting ... - -Signed-off-by: Shyam Saini ---- - include/configs/rk3288_common.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h -index 72a54bc0ab..eab7cf4d86 100644 ---- a/include/configs/rk3288_common.h -+++ b/include/configs/rk3288_common.h -@@ -9,6 +9,8 @@ - #include - #include "rockchip-common.h" - -+#define CONFIG_SYS_BOOTM_LEN (16 << 20) /* 16MB */ -+ - #define CONFIG_SKIP_LOWLEVEL_INIT_ONLY - #define CONFIG_SYS_MALLOC_LEN (32 << 20) - #define CONFIG_SYS_CBSIZE 1024 --- -2.11.0 - diff --git a/buildroot-2021.05/board/atmel/at91sam9x5ek_mmc/genimage.cfg b/buildroot-2021.05/board/atmel/at91sam9x5ek_mmc/genimage.cfg deleted file mode 100644 index 7a552665..00000000 --- a/buildroot-2021.05/board/atmel/at91sam9x5ek_mmc/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -# Image for SD card boot on Atmel at91sam9x5ek boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91sam9g15ek.dtb", - "at91sam9g25ek.dtb", - "at91sam9g35ek.dtb", - "at91sam9x25ek.dtb", - "at91sam9x35ek.dtb", - "boot.bin", - "u-boot.bin" - } - - file uboot.env { - image = "uboot-env.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/atmel/readme.txt b/buildroot-2021.05/board/atmel/readme.txt deleted file mode 100644 index 1f21dd15..00000000 --- a/buildroot-2021.05/board/atmel/readme.txt +++ /dev/null @@ -1,177 +0,0 @@ -This document explains how to set up a basic Buildroot system on -various Atmel/Microchip boards. Additional details can also be found -on the Linux4SAM website: http://www.linux4sam.org - -This guide covers the following configurations: - - at91sam9g45m10ek_defconfig - - at91sam9rlek_defconfig - - at91sam9x5ek_defconfig (at91sam9g15, at91sam9g25, at91sam9x25, - at91sam9g35 and at91sam9x35) - - atmel_sama5d3xek_defconfig (sama5d31, sama5d33, sama5d34, sama5d35, - sama5d36) - - atmel_sama5d3_xplained_defconfig - - atmel_sama5d3_xplained_dev_defconfig - - atmel_sama5d3_xplained_mmc_defconfig - - atmel_sama5d3_xplained_mmc_dev_defconfig - - atmel_sama5d4_xplained_defconfig - - atmel_sama5d4_xplained_dev_defconfig - - atmel_sama5d4_xplained_mmc_defconfig - - atmel_sama5d4_xplained_mmc_dev_defconfig - - atmel_sama5d2_xplained_mmc_defconfig - - atmel_sama5d2_xplained_mmc_dev_defconfig - - microchip_sama5d27_wlsom1_ek_mmc_defconfig - - microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig - - microchip_sam9x60ek_mmc_defconfig - - microchip_sam9x60ek_mmc_dev_defconfig - -These configurations will use AT91Bootstrap, u-boot and a linux kernel from -the git trees maintained by Atmel. - -The configurations labeled as 'dev' provide a development rootfs with tools to -tests the features of the SoC: -- ALSA tools to test audio -- FFMPEG to record video from the ISI/ISC -- I2C, SPI, CAN, etc. tools -- modetest for LCD screens, HDMI -- Wilc1000/Wilc3000 firmware for the Atmel Wireless sdio module -- SSH for convenience -- GDB/GDB server for debug - -Configuring and building Buildroot -================================== - -For the Xplained/Evaluation Kit boards, the Buildroot configuration is -provided to boot from an SD card. Those configurations are labeled as -'mmc'. In this case, after building Buildroot, follow the instructions -in the "Preparing the SD card" section. - -For the other configurations listed above, the Buildroot configuration -assumes the system will be flashed on NAND. In this case, after -building Buildroot, follow the instructions in the "Flashing the NAND -using SAM-BA" section below. - -To configure and build Buildroot, run: - - make _defconfig - make - -Flashing the NAND using SAM-BA -============================== - -Flashing the board ------------------- - -Connect the board: - o at91sam9g45m10ek: DBGU: J10, USB sam-ba: J14 - o at91sam9rlek: DBGU: J19, USB sam-ba: J21 - o at91sam9x5ek: DBGU: J11, USB sam-ba: J20 - o sama5d3xek: DBGU: J14, USB sam-ba: J20 - o sama5d3 Xplained: DBGU: J23, USB sam-ba: J6 - o sama5d4ek: DBGU: J22 or J24, USB sam-ba: J1 - o sama5d4 Xplained: DBGU: J1, USB sam-ba: J11 - -Start the board in RomBOOT: - o at91sam9g45m10ek: - 1. open JP8, JP10 and JP12 - 2. start the board - 3. close JP8, JP10 and JP12 - - o at91sam9rlek: - 1. J11 on 1-2 (BMS=1), open J12 and J13 - 2. start the board - 3. close J12 and J13 - - o at91sam9x5ek: - 1. open JP9 and: - - Cogent: open *NCS jumper - - Embest: open SW1 - - Ronetix: open J1 and J2 - 2. start the board - 3. close JP9 and: - - Cogent: close *NCS jumper - - Embest: close SW1 (ON position) - - Ronetix: close J1 and J2 - - o sama5d3xek: - 1. start the board - 2. push BP4 and BP1 - 3. release BP1 - 4. release BP4 - - o sama5d3 Xplained: - 1. open JP5 (NANDCS) and JP6 (SPICS) - 2. start the board - 3. close JP5 ans JP6 - - o sama5d4ek: - 1. start the board - 2. push BP3 and BP4 - 3. release BP4 - 4. release BP3 - - o sama5d4 Xplained: - 1. close JP7 (BOOT_DIS) - 2. start the board - 3. open JP7 - -"RomBOOT" should appear on your console (this should be ttyUSBx or ttyACMx) - -Now locate the USB sam-ba interface it should be ttyACMx, usually ttyACM0 -dmesg on your machine should give: -usb 1-2.1.4: New USB device found, idVendor=03eb, idProduct=6124 -usb 1-2.1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 -cdc_acm 1-2.1.4:1.0: ttyACM0: USB ACM device - -Look for idVendor=03eb, idProduct=6124, this is the interface you want to use. - -You can then flash the board using the provided flasher.sh script in board/atmel: - -board/atmel/flasher.sh - -For example, for an out of tree build made in -/tmp/atmel_sama5d3_xplained/ for the sama5d3 Xplained, you would use: -board/atmel/flasher.sh /tmp/atmel_sama5d3_xplained/ /dev/ttyACM0 sama5d3_xplained - -Reboot, the system should boot up to the buildroot login invite. - -Preparing the SD card -===================== - -An image named sdcard.img is automatically generated. With this image, -you no longer have to care about the creation of the partition and -copying files to the SD card. - -You need at least a 1GB SD card. All the data on the SD card will be -lost. To copy the image on the SD card: - -/!\ Caution be sure to do it on the right mmcblk device /!\ - -dd if=output/images/sdcard.img of=/dev/mmcblk0 - -Insert your SD card in your Xplained/Evaluation Kit board, and -enjoy. The default U-Boot environment will load properly the kernel -and Device Tree blob from the first partition of the SD card, so -everything works automatically. - -By default a 16MB FAT partition is created. It contains at91bootstrap, -u-boot, the kernel image and all dtb variants for your board. The dtb -used is the basic one: - -U-Boot> print -[...] -bootcmd=fatload mmc 1:1 0x21000000 at91-sama5d2_xplained.dtb; fatload mmc 1:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000 -[...] - -If you want to use a variant such as the _pda7 one, you will have to -update your u-boot environment: - -U-Boot> setenv bootcmd 'fatload mmc 1:1 0x21000000 at91-sama5d2_xplained_pda7.dtb; fatload mmc 1:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000' -U-Boot> save -Saving Environment to FAT... -writing uboot.env -done - -A 512MB ext4 partition is also created to store the rootfs generated. - -If you want to customize the size of the partitions and their content, -take a look at the the genimage.cfg file in the board directory. diff --git a/buildroot-2021.05/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg b/buildroot-2021.05/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg deleted file mode 100644 index eaa3896f..00000000 --- a/buildroot-2021.05/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Image for SD card boot on Atmel SAMA5D2 Xplained boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d27_som1_ek.dtb", - "boot.bin", - "u-boot.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg b/buildroot-2021.05/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg deleted file mode 100644 index dce32524..00000000 --- a/buildroot-2021.05/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Image for SD card boot on Microchip SAMA5D27 WLSOM1 EK -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d27_wlsom1_ek.dtb", - "boot.bin", - "u-boot.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/atmel/sama5d2_xplained_mmc/genimage.cfg b/buildroot-2021.05/board/atmel/sama5d2_xplained_mmc/genimage.cfg deleted file mode 100644 index 3cc8ae2f..00000000 --- a/buildroot-2021.05/board/atmel/sama5d2_xplained_mmc/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Image for SD card boot on Atmel SAMA5D2 Xplained boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d2_xplained.dtb", - "boot.bin", - "u-boot.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/atmel/sama5d3_xplained_mmc/genimage.cfg b/buildroot-2021.05/board/atmel/sama5d3_xplained_mmc/genimage.cfg deleted file mode 100644 index 1b464951..00000000 --- a/buildroot-2021.05/board/atmel/sama5d3_xplained_mmc/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Image for SD card boot on Atmel SAMA5D3 Xplained boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d3_xplained.dtb", - "boot.bin", - "u-boot.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/atmel/sama5d4_xplained_mmc/genimage.cfg b/buildroot-2021.05/board/atmel/sama5d4_xplained_mmc/genimage.cfg deleted file mode 100644 index 004f2fdd..00000000 --- a/buildroot-2021.05/board/atmel/sama5d4_xplained_mmc/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Image for SD card boot on Atmel SAMA5D4 Xplained boards -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sama5d4_xplained.dtb", - "boot.bin", - "u-boot.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/bananapi/bananapi-m1/genimage.cfg b/buildroot-2021.05/board/bananapi/bananapi-m1/genimage.cfg deleted file mode 100644 index e2e13116..00000000 --- a/buildroot-2021.05/board/bananapi/bananapi-m1/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun7i-a20-bananapi.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/bananapi/bananapi-m2-ultra/genimage.cfg b/buildroot-2021.05/board/bananapi/bananapi-m2-ultra/genimage.cfg deleted file mode 100644 index 675253af..00000000 --- a/buildroot-2021.05/board/bananapi/bananapi-m2-ultra/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-r40-bananapi-m2-ultra.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/bananapi/bananapi-m2-zero/genimage.cfg b/buildroot-2021.05/board/bananapi/bananapi-m2-zero/genimage.cfg deleted file mode 100644 index e41f1f93..00000000 --- a/buildroot-2021.05/board/bananapi/bananapi-m2-zero/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h2-plus-bananapi-m2-zero.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/bananapi/bananapi-m64/genimage.cfg b/buildroot-2021.05/board/bananapi/bananapi-m64/genimage.cfg deleted file mode 100644 index 9730d8fa..00000000 --- a/buildroot-2021.05/board/bananapi/bananapi-m64/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-bananapi-m64.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/beagleboardx15/genimage.cfg b/buildroot-2021.05/board/beagleboardx15/genimage.cfg deleted file mode 100644 index d27eff60..00000000 --- a/buildroot-2021.05/board/beagleboardx15/genimage.cfg +++ /dev/null @@ -1,26 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img" - } - } - size = 4M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/beaglebone/genimage.cfg b/buildroot-2021.05/board/beaglebone/genimage.cfg deleted file mode 100644 index cfc1039e..00000000 --- a/buildroot-2021.05/board/beaglebone/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img", - "zImage", - "uEnv.txt", - "am335x-evm.dtb", - "am335x-evmsk.dtb", - "am335x-bone.dtb", - "am335x-boneblack.dtb", - "am335x-bonegreen.dtb", - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/beagleboneai/genimage.cfg b/buildroot-2021.05/board/beagleboneai/genimage.cfg deleted file mode 100644 index 0bdfa64d..00000000 --- a/buildroot-2021.05/board/beagleboneai/genimage.cfg +++ /dev/null @@ -1,29 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img", - "zImage", - "am5729-beagleboneai.dtb", - "uEnv.txt" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/beagleboneai/patches/uboot/0001-BeagleBone-AI-support.patch b/buildroot-2021.05/board/beagleboneai/patches/uboot/0001-BeagleBone-AI-support.patch deleted file mode 100644 index 2d9accf9..00000000 --- a/buildroot-2021.05/board/beagleboneai/patches/uboot/0001-BeagleBone-AI-support.patch +++ /dev/null @@ -1,1783 +0,0 @@ -From 989c27c791a453550ff6c1440b41c55c6e70615d Mon Sep 17 00:00:00 2001 -From: Jason Kridner -Date: Wed, 27 Mar 2019 14:06:24 -0400 -Subject: [PATCH] BeagleBone AI support - -Patch from: -https://github.com/beagleboard/beaglebone-ai/blob/master/SW/buildroot/local/patches/uboot/0001-BeagleBone-AI-support.patch - -Signed-off-by: Peter Korsgaard ---- - arch/arm/dts/Makefile | 1 + - arch/arm/dts/am5729-beagleboneai.dts | 494 +++++++++++++++++++++++++++ - arch/arm/mach-omap2/omap5/hw_data.c | 3 +- - board/ti/am57xx/board.c | 134 +++++++- - board/ti/am57xx/mux_data.h | 390 +++++++++++++++++++++ - configs/am57xx_evm_defconfig | 10 +- - include/configs/am57xx_evm.h | 2 +- - include/configs/ti_armv7_common.h | 357 +++++++++++++++++++ - include/configs/ti_omap5_common.h | 5 + - include/environment/ti/boot.h | 49 +-- - include/environment/ti/mmc.h | 45 ++- - 11 files changed, 1447 insertions(+), 43 deletions(-) - create mode 100644 arch/arm/dts/am5729-beagleboneai.dts - -diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile -index 2a040b20a5..6771d457a4 100644 ---- a/arch/arm/dts/Makefile -+++ b/arch/arm/dts/Makefile -@@ -232,6 +232,7 @@ dtb-$(CONFIG_TARGET_DRA7XX_EVM) += dra72-evm.dtb dra7-evm.dtb \ - dtb-$(CONFIG_TARGET_AM57XX_EVM) += am57xx-beagle-x15.dtb \ - am57xx-beagle-x15-revb1.dtb \ - am57xx-beagle-x15-revc.dtb \ -+ am5729-beagleboneai.dtb \ - am574x-idk.dtb \ - am572x-idk.dtb \ - am571x-idk.dtb -diff --git a/arch/arm/dts/am5729-beagleboneai.dts b/arch/arm/dts/am5729-beagleboneai.dts -new file mode 100644 -index 0000000000..d1afe55751 ---- /dev/null -+++ b/arch/arm/dts/am5729-beagleboneai.dts -@@ -0,0 +1,494 @@ -+/* -+ * Copyright (C) 2014-2018 Texas Instruments Incorporated - http://www.ti.com/ -+ * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the GNU General Public License version 2 as -+ * published by the Free Software Foundation. -+ */ -+/dts-v1/; -+ -+#include "dra74x.dtsi" -+#include "am57xx-commercial-grade.dtsi" -+#include "dra74x-mmc-iodelay.dtsi" -+#include -+#include -+#include -+ -+/ { -+ model = "BeagleBoard.org BeagleBone AI"; -+ compatible = "beagleboard.org,am57xx-beagleboneai", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; -+ -+ chosen { -+ stdout-path = &uart1; -+ }; -+ -+ memory@0 { -+ device_type = "memory"; -+ reg = <0x0 0x80000000 0x0 0x40000000>; -+ }; -+ -+ vdd_5v: fixedregulator-vdd_5v { -+ compatible = "regulator-fixed"; -+ regulator-name = "vdd_5v"; -+ regulator-min-microvolt = <5000000>; -+ regulator-max-microvolt = <5000000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vtt_fixed: fixedregulator-vtt { -+ /* TPS51200 */ -+ compatible = "regulator-fixed"; -+ regulator-name = "vtt_fixed"; -+ vin-supply = <&vdd_3v3>; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ src_clk_x1: src_clk_x1 { -+ #clock-cells = <0>; -+ compatible = "fixed-clock"; -+ clock-frequency = <20000000>; -+ }; -+ -+ src_clk_osc1: src_clk_osc1 { -+ #clock-cells = <0>; -+ compatible = "fixed-clock"; -+ clock-frequency = <24000000>; -+ }; -+ -+ src_clk_osc4: src_clk_osc4 { -+ #clock-cells = <0>; -+ compatible = "fixed-clock"; -+ clock-frequency = <24000000>; -+ }; -+ -+ leds { -+ compatible = "gpio-leds"; -+ -+ led0 { -+ label = "beaglebone:green:usr0"; -+ gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>; -+ linux,default-trigger = "heartbeat"; -+ default-state = "off"; -+ }; -+ -+ led1 { -+ label = "beaglebone:green:usr1"; -+ gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>; -+ linux,default-trigger = "mmc0"; -+ default-state = "off"; -+ }; -+ -+ led2 { -+ label = "beaglebone:green:usr2"; -+ gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>; -+ linux,default-trigger = "cpu"; -+ default-state = "off"; -+ }; -+ -+ led3 { -+ label = "beaglebone:green:usr3"; -+ gpios = <&gpio3 17 GPIO_ACTIVE_HIGH>; -+ linux,default-trigger = "mmc1"; -+ default-state = "off"; -+ }; -+ }; -+}; -+ -+&i2c1 { -+ status = "okay"; -+ clock-frequency = <400000>; -+ -+ tps659038: tps659038@58 { -+ compatible = "ti,tps659038"; -+ reg = <0x58>; -+ interrupts-extended = <&gpio6 16 IRQ_TYPE_LEVEL_HIGH -+ &dra7_pmx_core 0x418>; -+ -+ #interrupt-cells = <2>; -+ interrupt-controller; -+ -+ ti,system-power-controller; -+ ti,palmas-override-powerhold; -+ -+ tps659038_pmic { -+ compatible = "ti,tps659038-pmic"; -+ -+ smps12-in-supply = <&vdd_5v>; -+ smps3-in-supply = <&vdd_5v>; -+ smps45-in-supply = <&vdd_5v>; -+ smps6-in-supply = <&vdd_5v>; -+ smps7-in-supply = <&vdd_5v>; -+ mps3-in-supply = <&vdd_5v>; -+ smps8-in-supply = <&vdd_5v>; -+ smps9-in-supply = <&vdd_5v>; -+ ldo1-in-supply = <&vdd_5v>; -+ ldo2-in-supply = <&vdd_5v>; -+ ldo3-in-supply = <&vdd_5v>; -+ ldo4-in-supply = <&vdd_5v>; -+ ldo9-in-supply = <&vdd_5v>; -+ ldoln-in-supply = <&vdd_5v>; -+ ldousb-in-supply = <&vdd_5v>; -+ ldortc-in-supply = <&vdd_5v>; -+ -+ regulators { -+ vdd_mpu: smps12 { -+ /* VDD_MPU */ -+ regulator-name = "smps12"; -+ regulator-min-microvolt = <850000>; -+ regulator-max-microvolt = <1250000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_ddr: smps3 { -+ /* VDD_DDR EMIF1 EMIF2 */ -+ regulator-name = "smps3"; -+ regulator-min-microvolt = <1350000>; -+ regulator-max-microvolt = <1350000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_dspeve: smps45 { -+ /* VDD_DSPEVE on AM572 */ -+ /* VDD_IVA + VDD_DSP on AM571 */ -+ regulator-name = "smps45"; -+ regulator-min-microvolt = <850000>; -+ regulator-max-microvolt = <1250000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_gpu: smps6 { -+ /* VDD_GPU */ -+ regulator-name = "smps6"; -+ regulator-min-microvolt = <850000>; -+ regulator-max-microvolt = <1250000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_core: smps7 { -+ /* VDD_CORE */ -+ regulator-name = "smps7"; -+ regulator-min-microvolt = <850000>; /*** 1.15V */ -+ regulator-max-microvolt = <1150000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_iva: smps8 { -+ /* 5728 - VDD_IVAHD */ /*** 1.06V */ -+ /* 5718 - N.C. test point */ -+ regulator-name = "smps8"; -+ }; -+ -+ vdd_3v3: smps9 { -+ /* VDD_3V3 */ -+ regulator-name = "smps9"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_sd: ldo1 { -+ /* VDDSHV8 - VSDMMC */ -+ regulator-name = "ldo1"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-boot-on; -+ regulator-always-on; -+ }; -+ -+ vdd_1v8: ldo2 { -+ /* VDDSH18V */ -+ regulator-name = "ldo2"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_1v8_phy_ldo3: ldo3 { -+ /* R1.3a 572x V1_8PHY_LDO3: USB, SATA */ -+ regulator-name = "ldo3"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_1v8_phy_ldo4: ldo4 { -+ /* R1.3a 572x V1_8PHY_LDO4: PCIE, HDMI*/ -+ regulator-name = "ldo4"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ /* LDO5-8 unused */ -+ -+ vdd_rtc: ldo9 { -+ /* VDD_RTC */ -+ regulator-name = "ldo9"; -+ regulator-min-microvolt = <840000>; -+ regulator-max-microvolt = <1160000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ vdd_1v8_pll: ldoln { -+ /* VDDA_1V8_PLL */ -+ regulator-name = "ldoln"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ ldousb_reg: ldousb { -+ /* VDDA_3V_USB: VDDA_USBHS33 */ -+ regulator-name = "ldousb"; -+ regulator-min-microvolt = <3300000>; -+ regulator-max-microvolt = <3300000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ ldortc_reg: ldortc { -+ /* VDDA_RTC */ -+ regulator-name = "ldortc"; -+ regulator-min-microvolt = <1800000>; -+ regulator-max-microvolt = <1800000>; -+ regulator-always-on; -+ regulator-boot-on; -+ }; -+ -+ regen1: regen1 { -+ /* VDD_3V3_ON */ -+ regulator-name = "regen1"; -+ regulator-boot-on; -+ regulator-always-on; -+ }; -+ -+ regen2: regen2 { -+ /* Needed for PMIC internal resource */ -+ regulator-name = "regen2"; -+ regulator-boot-on; -+ regulator-always-on; -+ }; -+ }; -+ }; -+ -+ tps659038_rtc: tps659038_rtc { -+ compatible = "ti,palmas-rtc"; -+ interrupt-parent = <&tps659038>; -+ interrupts = <8 IRQ_TYPE_EDGE_FALLING>; -+ wakeup-source; -+ }; -+ -+ tps659038_pwr_button: tps659038_pwr_button { -+ compatible = "ti,palmas-pwrbutton"; -+ interrupt-parent = <&tps659038>; -+ interrupts = <1 IRQ_TYPE_EDGE_FALLING>; -+ wakeup-source; -+ ti,palmas-long-press-seconds = <12>; -+ }; -+ -+ tps659038_gpio: tps659038_gpio { -+ compatible = "ti,palmas-gpio"; -+ gpio-controller; -+ #gpio-cells = <2>; -+ }; -+ -+ extcon_usb2: tps659038_usb { -+ compatible = "ti,palmas-usb-vid"; -+ }; -+ -+ }; -+ -+ eeprom: eeprom@50 { -+ compatible = "atmel,24c32"; -+ reg = <0x50>; -+ }; -+}; -+ -+&i2c2 { -+ status = "okay"; -+ clock-frequency = <400000>; -+}; -+ -+&i2c3 { -+ status = "okay"; -+ clock-frequency = <400000>; -+}; -+ -+&i2c4 { -+ status = "okay"; -+ clock-frequency = <100000>; -+}; -+ -+&i2c5 { -+ status = "okay"; -+ clock-frequency = <100000>; -+}; -+ -+&cpu0 { -+ vdd-supply = <&vdd_mpu>; -+ voltage-tolerance = <1>; -+}; -+ -+&uart1 { -+ status = "okay"; -+ interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, -+ <&dra7_pmx_core 0x3e0>; -+}; -+ -+&uart3 { -+ status = "okay"; -+ interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, -+ <&dra7_pmx_core 0x3f8>; -+}; -+ -+&davinci_mdio { -+ reset-gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; -+ reset-delay-us = <2>; -+ -+ phy0: ethernet-phy@1 { -+ reg = <4>; -+ }; -+}; -+ -+&mac { -+ slaves = <1>; -+ status = "okay"; -+ //dual_emac; -+}; -+ -+&cpsw_emac0 { -+ phy-handle = <&phy0>; -+ phy-mode = "rgmii"; -+ //dual_emac_res_vlan = <1>; -+}; -+ -+&mmc1 { -+ status = "okay"; -+ vmmc-supply = <&vdd_3v3>; -+ vmmc_aux-supply = <&vdd_sd>; -+ vqmmc-supply = <&vdd_sd>; /* IO Line Power */ -+ bus-width = <4>; -+ max-frequency = <24000000>; -+ cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ -+ -+ pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104"; -+ pinctrl-0 = <&mmc1_pins_default>; -+ pinctrl-1 = <&mmc1_pins_hs>; -+ pinctrl-2 = <&mmc1_pins_sdr12>; -+ pinctrl-3 = <&mmc1_pins_sdr25>; -+ pinctrl-4 = <&mmc1_pins_sdr50>; -+ pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>; -+ pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>; -+}; -+ -+&mmc2 { -+ status = "okay"; -+ vmmc-supply = <&vdd_3v3>; -+ //FUTURE: vqmmc-supply = <&vdd_3v3>; /* IO Line Power */ -+ bus-width = <8>; -+ ti,non-removable; -+ non-removable; -+ max-frequency = <96000000>; -+ no-1-8-v; -+ /delete-property/ mmc-hs200-1_8v; -+ -+ pinctrl-names = "default", "hs"; -+ pinctrl-0 = <&mmc2_pins_default>; -+ pinctrl-1 = <&mmc2_pins_hs>; -+}; -+ -+&usb2_phy1 { -+ phy-supply = <&ldousb_reg>; -+}; -+ -+&usb2_phy2 { -+ phy-supply = <&ldousb_reg>; -+}; -+ -+&usb1 { -+ dr_mode = "host"; -+}; -+ -+&omap_dwc3_2 { -+ extcon = <&extcon_usb2>; -+}; -+ -+&usb2 { -+ dr_mode = "peripheral"; -+}; -+ -+&cpu_trips { -+ cpu_alert1: cpu_alert1 { -+ temperature = <50000>; /* millicelsius */ -+ hysteresis = <2000>; /* millicelsius */ -+ type = "active"; -+ }; -+}; -+ -+&cpu_cooling_maps { -+ map1 { -+ trip = <&cpu_alert1>; -+ }; -+}; -+ -+&thermal_zones { -+ board_thermal: board_thermal { -+ polling-delay-passive = <1250>; /* milliseconds */ -+ polling-delay = <1500>; /* milliseconds */ -+ -+ board_trips: trips { -+ board_alert0: board_alert { -+ temperature = <40000>; /* millicelsius */ -+ hysteresis = <2000>; /* millicelsius */ -+ type = "active"; -+ }; -+ -+ board_crit: board_crit { -+ temperature = <105000>; /* millicelsius */ -+ hysteresis = <0>; /* millicelsius */ -+ type = "critical"; -+ }; -+ }; -+ -+ board_cooling_maps: cooling-maps { -+ map0 { -+ trip = <&board_alert0>; -+ }; -+ }; -+ }; -+}; -+ -+&mailbox5 { -+ status = "okay"; -+ mbox_ipu1_ipc3x: mbox_ipu1_ipc3x { -+ status = "okay"; -+ }; -+ mbox_dsp1_ipc3x: mbox_dsp1_ipc3x { -+ status = "okay"; -+ }; -+}; -+ -+&mailbox6 { -+ status = "okay"; -+ mbox_ipu2_ipc3x: mbox_ipu2_ipc3x { -+ status = "okay"; -+ }; -+ mbox_dsp2_ipc3x: mbox_dsp2_ipc3x { -+ status = "okay"; -+ }; -+}; -diff --git a/arch/arm/mach-omap2/omap5/hw_data.c b/arch/arm/mach-omap2/omap5/hw_data.c -index c4a41db92a..57b23b93b5 100644 ---- a/arch/arm/mach-omap2/omap5/hw_data.c -+++ b/arch/arm/mach-omap2/omap5/hw_data.c -@@ -418,8 +418,10 @@ void enable_basic_clocks(void) - (*prcm)->cm_l3init_hsmmc2_clkctrl, - (*prcm)->cm_l4per_gptimer2_clkctrl, - (*prcm)->cm_wkup_wdtimer2_clkctrl, -+ (*prcm)->cm_l4per_uart1_clkctrl, - (*prcm)->cm_l4per_uart3_clkctrl, - (*prcm)->cm_l4per_i2c1_clkctrl, -+ (*prcm)->cm_l4per_i2c4_clkctrl, - #ifdef CONFIG_DRIVER_TI_CPSW - (*prcm)->cm_gmac_gmac_clkctrl, - #endif -@@ -493,7 +495,6 @@ void enable_basic_uboot_clocks(void) - (*prcm)->cm_l4per_mcspi1_clkctrl, - (*prcm)->cm_l4per_i2c2_clkctrl, - (*prcm)->cm_l4per_i2c3_clkctrl, -- (*prcm)->cm_l4per_i2c4_clkctrl, - #if defined(CONFIG_DRA7XX) - (*prcm)->cm_ipu_i2c5_clkctrl, - #else -diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c -index 7063345dcc..47a8391de8 100644 ---- a/board/ti/am57xx/board.c -+++ b/board/ti/am57xx/board.c -@@ -30,6 +30,8 @@ - #include - #include - #include -+#include -+#include - - #include "../common/board_detect.h" - #include "mux_data.h" -@@ -46,6 +48,7 @@ - #define board_is_am574x_idk() board_ti_is("AM574IDK") - #define board_is_am572x_idk() board_ti_is("AM572IDK") - #define board_is_am571x_idk() board_ti_is("AM571IDK") -+#define board_is_bbai() board_ti_is("BBBBAI__") //no EEPROM... - - #ifdef CONFIG_DRIVER_TI_CPSW - #include -@@ -75,6 +78,12 @@ DECLARE_GLOBAL_DATA_PTR; - #define TPS65903X_PRIMARY_SECONDARY_PAD2 0xFB - #define TPS65903X_PAD2_POWERHOLD_MASK 0x20 - -+#define CAPE_EEPROM_BUS_NUM 3 -+#define CAPE_EEPROM_ADDR0 0x54 -+#define CAPE_EEPROM_ADDR3 0x57 -+ -+#define CAPE_EEPROM_ADDR_LEN 0x10 -+ - const struct omap_sysinfo sysinfo = { - "Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN\n" - }; -@@ -84,6 +93,12 @@ static const struct dmm_lisa_map_regs beagle_x15_lisa_regs = { - .is_ma_present = 0x1 - }; - -+static const struct dmm_lisa_map_regs bbai_lisa_regs = { -+ ///FIXME: Document, where this magic number come from? -+ .dmm_lisa_map_3 = 0x80640100, -+ .is_ma_present = 0x1 -+}; -+ - static const struct dmm_lisa_map_regs am571x_idk_lisa_regs = { - .dmm_lisa_map_3 = 0x80640100, - .is_ma_present = 0x1 -@@ -101,6 +116,8 @@ void emif_get_dmm_regs(const struct dmm_lisa_map_regs **dmm_lisa_regs) - *dmm_lisa_regs = &am571x_idk_lisa_regs; - else if (board_is_am574x_idk()) - *dmm_lisa_regs = &am574x_idk_lisa_regs; -+ else if (board_is_bbai()) -+ *dmm_lisa_regs = &bbai_lisa_regs; - else - *dmm_lisa_regs = &beagle_x15_lisa_regs; - } -@@ -502,8 +519,30 @@ void do_board_detect(void) - - rc = ti_i2c_eeprom_am_get(CONFIG_EEPROM_BUS_ADDRESS, - CONFIG_EEPROM_CHIP_ADDRESS); -- if (rc) -+ if (rc) { - printf("ti_i2c_eeprom_init failed %d\n", rc); -+ ti_i2c_eeprom_am_set("BBBBAI__", "A"); -+ }; -+ -+ puts("in do_board_detect\n"); -+ printf("do_board_detect\n"); -+} -+ -+void write_hex (unsigned char i) -+{ -+ char cc; -+ -+ cc = i >> 4; -+ cc &= 0xf; -+ if (cc > 9) -+ serial_putc (cc + 55); -+ else -+ serial_putc (cc + 48); -+ cc = i & 0xf; -+ if (cc > 9) -+ serial_putc (cc + 55); -+ else -+ serial_putc (cc + 48); - } - - #else /* CONFIG_SPL_BUILD */ -@@ -521,6 +560,8 @@ void do_board_detect(void) - - if (board_is_x15()) - bname = "BeagleBoard X15"; -+ else if (board_is_bbai()) -+ bname = "BeagleBone AI"; - else if (board_is_am572x_evm()) - bname = "AM572x EVM"; - else if (board_is_am574x_idk()) -@@ -535,6 +576,23 @@ void do_board_detect(void) - "Board: %s REV %s\n", bname, board_ti_get_rev()); - } - -+void write_hex (unsigned char i) -+{ -+ char cc; -+ -+ cc = i >> 4; -+ cc &= 0xf; -+ if (cc > 9) -+ serial_putc (cc + 55); -+ else -+ serial_putc (cc + 48); -+ cc = i & 0xf; -+ if (cc > 9) -+ serial_putc (cc + 55); -+ else -+ serial_putc (cc + 48); -+} -+ - static void setup_board_eeprom_env(void) - { - char *name = "beagle_x15"; -@@ -557,6 +615,8 @@ static void setup_board_eeprom_env(void) - name = "am57xx_evm_reva3"; - else - name = "am57xx_evm"; -+ } else if (board_is_bbai()) { -+ name = "am5729_beagleboneai"; - } else if (board_is_am574x_idk()) { - name = "am574x_idk"; - } else if (board_is_am572x_idk()) { -@@ -626,7 +686,7 @@ void am57x_idk_lcd_detect(void) - struct udevice *dev; - - /* Only valid for IDKs */ -- if (board_is_x15() || board_is_am572x_evm()) -+ if (board_is_x15() || board_is_am572x_evm() || board_is_bbai()) - return; - - /* Only AM571x IDK has gpio control detect.. so check that */ -@@ -720,6 +780,28 @@ int board_late_init(void) - - am57x_idk_lcd_detect(); - -+ ///FIXME, too late!! But useful for testing function... -+ unsigned char addr; -+ struct udevice *dev; -+ int rc; -+ -+ for ( addr = CAPE_EEPROM_ADDR0; addr <= CAPE_EEPROM_ADDR3; addr++ ) { -+ puts("BeagleBone: cape eeprom: i2c_probe: 0x"); write_hex(addr); puts(":\n"); -+ rc = i2c_get_chip_for_busnum(CAPE_EEPROM_BUS_NUM, addr, 1, &dev); -+ if (rc) { -+ printf("failed to get device for EEPROM at address 0x%x\n", -+ addr); -+// goto out; -+ } -+// out: -+ } -+ -+ if (board_is_bbai()) { -+ env_set("console", "ttyS0,115200n8"); -+ } else { -+ env_set("console", "ttyO2,115200n8"); -+ } -+ - #if !defined(CONFIG_SPL_BUILD) - board_ti_set_ethaddr(2); - #endif -@@ -762,6 +844,13 @@ void recalibrate_iodelay(void) - pconf_sz = ARRAY_SIZE(core_padconf_array_essential_am571x_idk); - iod = iodelay_cfg_array_am571x_idk; - iod_sz = ARRAY_SIZE(iodelay_cfg_array_am571x_idk); -+ } else if (board_is_bbai()) { -+ /* Common for X15/GPEVM */ -+ pconf = core_padconf_array_essential_bbai; -+ pconf_sz = ARRAY_SIZE(core_padconf_array_essential_bbai); -+ /* Since full production should switch to SR2.0 */ -+ iod = iodelay_cfg_array_bbai; -+ iod_sz = ARRAY_SIZE(iodelay_cfg_array_bbai); - } else { - /* Common for X15/GPEVM */ - pconf = core_padconf_array_essential_x15; -@@ -863,12 +952,50 @@ const struct mmc_platform_fixups *platform_fixups_mmc(uint32_t addr) - #endif - - #if defined(CONFIG_SPL_BUILD) && defined(CONFIG_SPL_OS_BOOT) -+ -+//static int eeprom_has_been_read; -+//static struct id_eeprom eeprom; -+ -+struct am335x_cape_eeprom_id { -+ unsigned int header; -+ char eeprom_rev[2]; -+ char board_name[32]; -+ char version[4]; -+ char manufacture[16]; -+ char part_number[16]; -+ char number_of_pins[2]; -+ char serial_number[12]; -+ char pin_usage[140]; -+ char vdd_3v3exp[ 2]; -+ char vdd_5v[ 2]; -+ char sys_5v[2]; -+ char dc_supplied[2]; -+}; -+ - int spl_start_uboot(void) - { - /* break into full u-boot on 'c' */ - if (serial_tstc() && serial_getc() == 'c') - return 1; - -+ //FIXME, i2c doesn't see to be up.. -+ puts("spl_start_uboot\n"); -+ unsigned char addr; -+ struct udevice *dev; -+ int rc; -+ -+ for ( addr = CAPE_EEPROM_ADDR0; addr <= CAPE_EEPROM_ADDR3; addr++ ) { -+ puts("BeagleBone: cape eeprom: i2c_probe: 0x"); write_hex(addr); puts(":\n"); -+ rc = i2c_get_chip_for_busnum(CAPE_EEPROM_BUS_NUM, addr, 1, &dev); -+ if (rc) { -+ printf("failed to get device for EEPROM at address 0x%x\n", -+ addr); -+// goto out; -+ } -+// out: -+ } -+ -+ - #ifdef CONFIG_SPL_ENV_SUPPORT - env_init(); - env_load(); -@@ -1084,6 +1211,9 @@ int board_fit_config_name_match(const char *name) - } else if (board_is_am572x_evm() && - !strcmp(name, "am57xx-beagle-x15")) { - return 0; -+ } else if (board_is_bbai() && -+ !strcmp(name, "am5729-beagleboneai")) { -+ return 0; - } else if (board_is_am572x_idk() && !strcmp(name, "am572x-idk")) { - return 0; - } else if (board_is_am574x_idk() && !strcmp(name, "am574x-idk")) { -diff --git a/board/ti/am57xx/mux_data.h b/board/ti/am57xx/mux_data.h -index d4a15ae93d..9b8ee944f8 100644 ---- a/board/ti/am57xx/mux_data.h -+++ b/board/ti/am57xx/mux_data.h -@@ -233,6 +233,272 @@ const struct pad_conf_entry core_padconf_array_essential_x15[] = { - {RSTOUTN, (M0 | PIN_OUTPUT)}, /* rstoutn.rstoutn */ - }; - -+const struct pad_conf_entry core_padconf_array_essential_bbai[] = { -+ {GPMC_AD0, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad0.vin3a_d0 */ -+ {GPMC_AD1, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad1.vin3a_d1 */ -+ {GPMC_AD2, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad2.vin3a_d2 */ -+ {GPMC_AD3, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad3.vin3a_d3 */ -+ {GPMC_AD4, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad4.vin3a_d4 */ -+ {GPMC_AD5, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad5.vin3a_d5 */ -+ {GPMC_AD6, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad6.vin3a_d6 */ -+ {GPMC_AD7, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad7.vin3a_d7 */ -+ {GPMC_AD8, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad8.vin3a_d8 */ -+ {GPMC_AD9, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad9.vin3a_d9 */ -+ {GPMC_AD10, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad10.vin3a_d10 */ -+ {GPMC_AD11, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad11.vin3a_d11 */ -+ {GPMC_AD12, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad12.vin3a_d12 */ -+ {GPMC_AD13, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad13.vin3a_d13 */ -+ {GPMC_AD14, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad14.vin3a_d14 */ -+ {GPMC_AD15, (M2 | PIN_INPUT | MANUAL_MODE)}, /* gpmc_ad15.vin3a_d15 */ -+ -+ /* Cape Bus i2c */ -+ {GPMC_A0, (M7 | PIN_INPUT_PULLUP)}, /* R6_GPIO7_3: gpmc_a0.i2c4_scl (Shared with F4_UART10_RTSN) */ -+ {GPMC_A1, (M7 | PIN_INPUT_PULLUP)}, /* T9_GPIO7_4: gpmc_a1.i2c4_sda (Shared with D2_UART10_CTSN) */ -+ -+ {GPMC_A2, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a2.vin3a_d18 */ -+ {GPMC_A3, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a3.vin3a_d19 */ -+ {GPMC_A4, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a4.vin3a_d20 */ -+ {GPMC_A5, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a5.vin3a_d21 */ -+ {GPMC_A6, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a6.vin3a_d22 */ -+ {GPMC_A7, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a7.vin3a_d23 */ -+ {GPMC_A8, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a8.vin3a_hsync0 */ -+ {GPMC_A9, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a9.vin3a_vsync0 */ -+ {GPMC_A10, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a10.vin3a_de0 */ -+ {GPMC_A11, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_a11.vin3a_fld0 */ -+ {GPMC_A12, (M14 | PIN_INPUT_PULLUP)}, /* gpmc_a12.gpio2_2 */ -+ {GPMC_A13, (M14 | PIN_INPUT_PULLDOWN)}, /* gpmc_a13.gpio2_3 */ -+ {GPMC_A14, (M14 | PIN_INPUT_PULLUP)}, /* gpmc_a14.gpio2_4 */ -+ {GPMC_A15, (M14 | PIN_INPUT_PULLDOWN)}, /* gpmc_a15.gpio2_5 */ -+ {GPMC_A16, (M14 | PIN_INPUT_PULLDOWN)}, /* gpmc_a16.gpio2_6 */ -+ {GPMC_A17, (M14 | PIN_INPUT_PULLDOWN)}, /* gpmc_a17.gpio2_7 */ -+ {GPMC_A18, (M14 | PIN_INPUT_PULLUP)}, /* gpmc_a18.gpio2_8 */ -+ -+ /* eMMC */ -+ {GPMC_A19, (M1 | PIN_INPUT_PULLUP)}, /* K7: gpmc_a19.mmc2_dat4 */ -+ {GPMC_A20, (M1 | PIN_INPUT_PULLUP)}, /* M7: gpmc_a20.mmc2_dat5 */ -+ {GPMC_A21, (M1 | PIN_INPUT_PULLUP)}, /* J5: gpmc_a21.mmc2_dat6 */ -+ {GPMC_A22, (M1 | PIN_INPUT_PULLUP)}, /* K6: gpmc_a22.mmc2_dat7 */ -+ {GPMC_A23, (M1 | PIN_INPUT_PULLUP)}, /* J7: gpmc_a23.mmc2_clk */ -+ {GPMC_A24, (M1 | PIN_INPUT_PULLUP)}, /* J4: gpmc_a24.mmc2_dat0 */ -+ {GPMC_A25, (M1 | PIN_INPUT_PULLUP)}, /* J6: gpmc_a25.mmc2_dat1 */ -+ {GPMC_A26, (M1 | PIN_INPUT_PULLUP)}, /* H4: gpmc_a26.mmc2_dat2 */ -+ {GPMC_A27, (M1 | PIN_INPUT_PULLUP)}, /* H5: gpmc_a27.mmc2_dat3 */ -+ {GPMC_CS1, (M1 | PIN_INPUT_PULLUP)}, /* H6: gpmc_cs1.mmc2_cmd */ -+ -+ {GPMC_CS0, (M14 | PIN_INPUT_PULLDOWN)}, /* gpmc_cs0.gpio2_19 */ -+ {GPMC_CS2, (M14 | PIN_INPUT_PULLUP)}, /* gpmc_cs2.gpio2_20 */ -+ {GPMC_CS3, (M2 | PIN_INPUT_PULLDOWN | MANUAL_MODE)}, /* gpmc_cs3.vin3a_clk0 */ -+ {GPMC_CLK, (M9 | PIN_INPUT_PULLDOWN)}, /* gpmc_clk.dma_evt1 */ -+ {GPMC_ADVN_ALE, (M14 | PIN_INPUT_PULLUP)}, /* gpmc_advn_ale.gpio2_23 */ -+ {GPMC_OEN_REN, (M14 | PIN_INPUT_PULLUP)}, /* gpmc_oen_ren.gpio2_24 */ -+ {GPMC_WEN, (M14 | PIN_INPUT_PULLUP)}, /* gpmc_wen.gpio2_25 */ -+ {GPMC_BEN0, (M9 | PIN_INPUT_PULLDOWN)}, /* gpmc_ben0.dma_evt3 */ -+ {GPMC_BEN1, (M9 | PIN_INPUT_PULLDOWN)}, /* gpmc_ben1.dma_evt4 */ -+ {GPMC_WAIT0, (M14 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* gpmc_wait0.gpio2_28 */ -+ {VIN1A_CLK0, (M14 | PIN_INPUT)}, /* vin1a_clk0.gpio2_30 */ -+ {VIN1B_CLK1, (M14 | PIN_INPUT_SLEW)}, /* vin1b_clk1.gpio2_31 */ -+ {VIN1A_D2, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d2.gpio3_6 */ -+ {VIN1A_D3, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d3.gpio3_7 */ -+ {VIN1A_D4, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d4.gpio3_8 */ -+ {VIN1A_D5, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d5.gpio3_9 */ -+ {VIN1A_D6, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d6.gpio3_10 */ -+ {VIN1A_D7, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d7.gpio3_11 */ -+ {VIN1A_D8, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d8.gpio3_12 */ -+ {VIN1A_D10, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d10.gpio3_14 */ -+ {VIN1A_D11, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d11.gpio3_15 */ -+ {VIN1A_D12, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d12.gpio3_16 */ -+ {VIN1A_D14, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d14.gpio3_18 */ -+ {VIN1A_D16, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d16.gpio3_20 */ -+ {VIN1A_D19, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d19.gpio3_23 */ -+ {VIN1A_D20, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d20.gpio3_24 */ -+ {VIN1A_D22, (M14 | PIN_INPUT_PULLDOWN)}, /* vin1a_d22.gpio3_26 */ -+ {VIN2A_CLK0, (M14 | PIN_INPUT_PULLDOWN)}, /* vin2a_clk0.gpio3_28 */ -+ {VIN2A_DE0, (M14 | PIN_INPUT_PULLDOWN)}, /* vin2a_de0.gpio3_29 */ -+ {VIN2A_FLD0, (M14 | PIN_INPUT_PULLDOWN)}, /* vin2a_fld0.gpio3_30 */ -+ {VIN2A_HSYNC0, (M11 | PIN_INPUT_PULLUP)}, /* vin2a_hsync0.pr1_uart0_cts_n */ -+ {VIN2A_VSYNC0, (M11 | PIN_OUTPUT_PULLUP)}, /* vin2a_vsync0.pr1_uart0_rts_n */ -+ {VIN2A_D0, (M11 | PIN_INPUT_PULLUP)}, /* vin2a_d0.pr1_uart0_rxd */ -+ {VIN2A_D1, (M11 | PIN_OUTPUT)}, /* vin2a_d1.pr1_uart0_txd */ -+ {VIN2A_D2, (M8 | PIN_INPUT_PULLUP)}, /* vin2a_d2.uart10_rxd */ -+ {VIN2A_D3, (M8 | PIN_OUTPUT)}, /* vin2a_d3.uart10_txd */ -+ -+ /* Cape Bus i2c (gpio shared) */ -+ {VIN2A_D4, (M15 | PIN_INPUT)}, /* D2_UART10_CTSN: vin2a_d4.uart10_ctsn (Shared with T9_GPIO7_4) */ -+ {VIN2A_D5, (M15 | PIN_INPUT)}, /* F4_UART10_RTSN: vin2a_d5.uart10_rtsn (Shared with R6_GPIO7_3) */ -+ -+ {VIN2A_D6, (M14 | PIN_INPUT_PULLDOWN)}, /* vin2a_d6.gpio4_7 */ -+ {VIN2A_D7, (M14 | PIN_INPUT_PULLDOWN)}, /* vin2a_d7.gpio4_8 */ -+ {VIN2A_D8, (M14 | PIN_INPUT_PULLDOWN)}, /* vin2a_d8.gpio4_9 */ -+ {VIN2A_D9, (M14 | PIN_INPUT_PULLDOWN)}, /* vin2a_d9.gpio4_10 */ -+ {VIN2A_D10, (M10 | PIN_OUTPUT_PULLDOWN)}, /* vin2a_d10.ehrpwm2B */ -+ {VIN2A_D11, (M10 | PIN_INPUT_PULLDOWN)}, /* vin2a_d11.ehrpwm2_tripzone_input */ -+ {VIN2A_D12, (M3 | PIN_OUTPUT | MANUAL_MODE)}, /* vin2a_d12.rgmii1_txc */ -+ {VIN2A_D13, (M3 | PIN_OUTPUT | MANUAL_MODE)}, /* vin2a_d13.rgmii1_txctl */ -+ {VIN2A_D14, (M3 | PIN_OUTPUT | MANUAL_MODE)}, /* vin2a_d14.rgmii1_txd3 */ -+ {VIN2A_D15, (M3 | PIN_OUTPUT | MANUAL_MODE)}, /* vin2a_d15.rgmii1_txd2 */ -+ {VIN2A_D16, (M3 | PIN_OUTPUT | MANUAL_MODE)}, /* vin2a_d16.rgmii1_txd1 */ -+ {VIN2A_D17, (M3 | PIN_OUTPUT | MANUAL_MODE)}, /* vin2a_d17.rgmii1_txd0 */ -+ {VIN2A_D18, (M3 | PIN_INPUT | MANUAL_MODE)}, /* vin2a_d18.rgmii1_rxc */ -+ {VIN2A_D19, (M3 | PIN_INPUT | MANUAL_MODE)}, /* vin2a_d19.rgmii1_rxctl */ -+ {VIN2A_D20, (M3 | PIN_INPUT | MANUAL_MODE)}, /* vin2a_d20.rgmii1_rxd3 */ -+ {VIN2A_D21, (M3 | PIN_INPUT | MANUAL_MODE)}, /* vin2a_d21.rgmii1_rxd2 */ -+ {VIN2A_D22, (M3 | PIN_INPUT | MANUAL_MODE)}, /* vin2a_d22.rgmii1_rxd1 */ -+ {VIN2A_D23, (M3 | PIN_INPUT | MANUAL_MODE)}, /* vin2a_d23.rgmii1_rxd0 */ -+ {VOUT1_CLK, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_clk.vout1_clk */ -+ {VOUT1_DE, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_de.vout1_de */ -+ {VOUT1_FLD, (M14 | PIN_INPUT)}, /* vout1_fld.gpio4_21 */ -+ {VOUT1_HSYNC, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_hsync.vout1_hsync */ -+ {VOUT1_VSYNC, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_vsync.vout1_vsync */ -+ {VOUT1_D0, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d0.vout1_d0 */ -+ {VOUT1_D1, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d1.vout1_d1 */ -+ {VOUT1_D2, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d2.vout1_d2 */ -+ {VOUT1_D3, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d3.vout1_d3 */ -+ {VOUT1_D4, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d4.vout1_d4 */ -+ {VOUT1_D5, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d5.vout1_d5 */ -+ {VOUT1_D6, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d6.vout1_d6 */ -+ {VOUT1_D7, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d7.vout1_d7 */ -+ {VOUT1_D8, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d8.vout1_d8 */ -+ {VOUT1_D9, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d9.vout1_d9 */ -+ {VOUT1_D10, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d10.vout1_d10 */ -+ {VOUT1_D11, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d11.vout1_d11 */ -+ {VOUT1_D12, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d12.vout1_d12 */ -+ {VOUT1_D13, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d13.vout1_d13 */ -+ {VOUT1_D14, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d14.vout1_d14 */ -+ {VOUT1_D15, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d15.vout1_d15 */ -+ {VOUT1_D16, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d16.vout1_d16 */ -+ {VOUT1_D17, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d17.vout1_d17 */ -+ {VOUT1_D18, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d18.vout1_d18 */ -+ {VOUT1_D19, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d19.vout1_d19 */ -+ {VOUT1_D20, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d20.vout1_d20 */ -+ {VOUT1_D21, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d21.vout1_d21 */ -+ {VOUT1_D22, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d22.vout1_d22 */ -+ {VOUT1_D23, (M0 | PIN_OUTPUT | SLEWCONTROL | MANUAL_MODE)}, /* vout1_d23.vout1_d23 */ -+ {MDIO_MCLK, (M0 | PIN_OUTPUT | SLEWCONTROL)}, /* mdio_mclk.mdio_mclk */ -+ {MDIO_D, (M0 | PIN_INPUT | SLEWCONTROL)}, /* mdio_d.mdio_d */ -+ {RMII_MHZ_50_CLK, (M14 | PIN_INPUT_PULLUP)}, /* RMII_MHZ_50_CLK.gpio5_17 */ -+ {UART3_RXD, (M14 | PIN_INPUT_SLEW)}, /* uart3_rxd.gpio5_18 */ -+ {UART3_TXD, (M14 | PIN_INPUT_SLEW)}, /* uart3_txd.gpio5_19 */ -+ {RGMII0_TXC, (M0 | PIN_OUTPUT | MANUAL_MODE)}, /* rgmii0_txc.rgmii0_txc */ -+ {RGMII0_TXCTL, (M0 | PIN_OUTPUT | MANUAL_MODE)}, /* rgmii0_txctl.rgmii0_txctl */ -+ {RGMII0_TXD3, (M0 | PIN_OUTPUT | MANUAL_MODE)}, /* rgmii0_txd3.rgmii0_txd3 */ -+ {RGMII0_TXD2, (M0 | PIN_OUTPUT | MANUAL_MODE)}, /* rgmii0_txd2.rgmii0_txd2 */ -+ {RGMII0_TXD1, (M0 | PIN_OUTPUT | MANUAL_MODE)}, /* rgmii0_txd1.rgmii0_txd1 */ -+ {RGMII0_TXD0, (M0 | PIN_OUTPUT | MANUAL_MODE)}, /* rgmii0_txd0.rgmii0_txd0 */ -+ {RGMII0_RXC, (M0 | PIN_INPUT | MANUAL_MODE)}, /* rgmii0_rxc.rgmii0_rxc */ -+ {RGMII0_RXCTL, (M0 | PIN_INPUT | MANUAL_MODE)}, /* rgmii0_rxctl.rgmii0_rxctl */ -+ {RGMII0_RXD3, (M0 | PIN_INPUT | MANUAL_MODE)}, /* rgmii0_rxd3.rgmii0_rxd3 */ -+ {RGMII0_RXD2, (M0 | PIN_INPUT | MANUAL_MODE)}, /* rgmii0_rxd2.rgmii0_rxd2 */ -+ {RGMII0_RXD1, (M0 | PIN_INPUT | MANUAL_MODE)}, /* rgmii0_rxd1.rgmii0_rxd1 */ -+ {RGMII0_RXD0, (M0 | PIN_INPUT | MANUAL_MODE)}, /* rgmii0_rxd0.rgmii0_rxd0 */ -+ {USB1_DRVVBUS, (M0 | PIN_OUTPUT | SLEWCONTROL)}, /* usb1_drvvbus.usb1_drvvbus */ -+ {USB2_DRVVBUS, (M0 | PIN_OUTPUT_PULLDOWN | SLEWCONTROL)}, /* usb2_drvvbus.usb2_drvvbus */ -+ {GPIO6_14, (M10 | PIN_INPUT_PULLUP)}, /* gpio6_14.timer1 */ -+ {GPIO6_15, (M10 | PIN_INPUT_PULLUP)}, /* gpio6_15.timer2 */ -+ {GPIO6_16, (M10 | PIN_INPUT_PULLUP)}, /* gpio6_16.timer3 */ -+ {XREF_CLK0, (M9 | PIN_OUTPUT_PULLDOWN)}, /* xref_clk0.clkout2 */ -+ {XREF_CLK1, (M14 | PIN_INPUT_PULLDOWN)}, /* xref_clk1.gpio6_18 */ -+ {XREF_CLK2, (M14 | PIN_INPUT_PULLDOWN)}, /* xref_clk2.gpio6_19 */ -+ {XREF_CLK3, (M9 | PIN_OUTPUT_PULLDOWN)}, /* xref_clk3.clkout3 */ -+ {MCASP1_ACLKX, (M10 | PIN_INPUT_PULLUP)}, /* mcasp1_aclkx.i2c3_sda */ -+ {MCASP1_FSX, (M10 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* mcasp1_fsx.i2c3_scl */ -+ {MCASP1_ACLKR, (M10 | PIN_INPUT_PULLUP)}, /* mcasp1_aclkr.i2c4_sda */ -+ {MCASP1_FSR, (M10 | PIN_INPUT_PULLUP)}, /* mcasp1_fsr.i2c4_scl */ -+ {MCASP1_AXR0, (M10 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* mcasp1_axr0.i2c5_sda */ -+ {MCASP1_AXR1, (M10 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* mcasp1_axr1.i2c5_scl */ -+ {MCASP1_AXR2, (M14 | PIN_INPUT_PULLDOWN)}, /* mcasp1_axr2.gpio5_4 */ -+ {MCASP1_AXR3, (M14 | PIN_INPUT_PULLDOWN)}, /* mcasp1_axr3.gpio5_5 */ -+ {MCASP1_AXR4, (M14 | PIN_INPUT_PULLDOWN)}, /* mcasp1_axr4.gpio5_6 */ -+ {MCASP1_AXR5, (M14 | PIN_INPUT_PULLDOWN)}, /* mcasp1_axr5.gpio5_7 */ -+ {MCASP1_AXR6, (M14 | PIN_INPUT_PULLDOWN)}, /* mcasp1_axr6.gpio5_8 */ -+ {MCASP1_AXR7, (M14 | PIN_INPUT_PULLDOWN)}, /* mcasp1_axr7.gpio5_9 */ -+ {MCASP1_AXR8, (M14 | PIN_INPUT | SLEWCONTROL)}, /* mcasp1_axr8.gpio5_10 */ -+ {MCASP1_AXR9, (M14 | PIN_INPUT | SLEWCONTROL)}, /* mcasp1_axr9.gpio5_11 */ -+ {MCASP1_AXR10, (M14 | PIN_INPUT | SLEWCONTROL)}, /* mcasp1_axr10.gpio5_12 */ -+ {MCASP1_AXR11, (M14 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* mcasp1_axr11.gpio4_17 */ -+ {MCASP1_AXR12, (M1 | PIN_INPUT_SLEW | VIRTUAL_MODE10)}, /* mcasp1_axr12.mcasp7_axr0 */ -+ {MCASP1_AXR13, (M1 | PIN_INPUT_SLEW | VIRTUAL_MODE10)}, /* mcasp1_axr13.mcasp7_axr1 */ -+ {MCASP1_AXR14, (M1 | PIN_INPUT_SLEW | VIRTUAL_MODE10)}, /* mcasp1_axr14.mcasp7_aclkx */ -+ {MCASP1_AXR15, (M1 | PIN_INPUT_SLEW | VIRTUAL_MODE10)}, /* mcasp1_axr15.mcasp7_fsx */ -+ {MCASP3_ACLKX, (M0 | PIN_INPUT_PULLDOWN)}, /* mcasp3_aclkx.mcasp3_aclkx */ -+ {MCASP3_FSX, (M0 | PIN_INPUT_SLEW)}, /* mcasp3_fsx.mcasp3_fsx */ -+ {MCASP3_AXR0, (M0 | PIN_INPUT_SLEW)}, /* mcasp3_axr0.mcasp3_axr0 */ -+ {MCASP3_AXR1, (M0 | PIN_INPUT_SLEW)}, /* mcasp3_axr1.mcasp3_axr1 */ -+ {MCASP4_ACLKX, (M3 | PIN_INPUT_PULLUP)}, /* mcasp4_aclkx.uart8_rxd */ -+ {MCASP4_FSX, (M3 | PIN_OUTPUT)}, /* mcasp4_fsx.uart8_txd */ -+ {MCASP4_AXR0, (M3 | PIN_INPUT_PULLUP)}, /* mcasp4_axr0.uart8_ctsn */ -+ {MCASP4_AXR1, (M3 | PIN_OUTPUT_PULLUP)}, /* mcasp4_axr1.uart8_rtsn */ -+ {MCASP5_ACLKX, (M3 | PIN_INPUT_PULLUP)}, /* mcasp5_aclkx.uart9_rxd */ -+ {MCASP5_FSX, (M3 | PIN_OUTPUT)}, /* mcasp5_fsx.uart9_txd */ -+ {MCASP5_AXR0, (M3 | PIN_INPUT_PULLUP)}, /* mcasp5_axr0.uart9_ctsn */ -+ {MCASP5_AXR1, (M3 | PIN_OUTPUT_PULLUP)}, /* mcasp5_axr1.uart9_rtsn */ -+ -+ /* microSD Socket */ -+ {MMC1_CLK, (M0 | PIN_INPUT_PULLUP)}, /* W6: mmc1_clk.mmc1_clk */ -+ {MMC1_CMD, (M0 | PIN_INPUT_PULLUP)}, /* Y6: mmc1_cmd.mmc1_cmd */ -+ {MMC1_DAT0, (M0 | PIN_INPUT_PULLUP)}, /* AA6: mmc1_dat0.mmc1_dat0 */ -+ {MMC1_DAT1, (M0 | PIN_INPUT_PULLUP)}, /* Y4: mmc1_dat1.mmc1_dat1 */ -+ {MMC1_DAT2, (M0 | PIN_INPUT_PULLUP)}, /* AA5: mmc1_dat2.mmc1_dat2 */ -+ {MMC1_DAT3, (M0 | PIN_INPUT_PULLUP)}, /* Y3: mmc1_dat3.mmc1_dat3 */ -+ {MMC1_SDCD, (M14 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* W7: mmc1_sdcd.gpio6_27 */ -+ -+ {GPIO6_10, (M10 | PIN_OUTPUT_PULLDOWN)}, /* gpio6_10.ehrpwm2A */ -+ {GPIO6_11, (M0 | PIN_INPUT_PULLUP)}, /* gpio6_11.gpio6_11 */ -+ {MMC3_CLK, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_clk.mmc3_clk */ -+ {MMC3_CMD, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_cmd.mmc3_cmd */ -+ {MMC3_DAT0, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_dat0.mmc3_dat0 */ -+ {MMC3_DAT1, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_dat1.mmc3_dat1 */ -+ {MMC3_DAT2, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_dat2.mmc3_dat2 */ -+ {MMC3_DAT3, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_dat3.mmc3_dat3 */ -+ {MMC3_DAT4, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_dat4.mmc3_dat4 */ -+ {MMC3_DAT5, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_dat5.mmc3_dat5 */ -+ {MMC3_DAT6, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_dat6.mmc3_dat6 */ -+ {MMC3_DAT7, (M0 | PIN_INPUT_PULLUP | MANUAL_MODE)}, /* mmc3_dat7.mmc3_dat7 */ -+ {SPI1_SCLK, (M14 | PIN_INPUT_PULLDOWN)}, /* spi1_sclk.gpio7_7 */ -+ {SPI1_D1, (M14 | PIN_INPUT_PULLDOWN)}, /* spi1_d1.gpio7_8 */ -+ {SPI1_D0, (M14 | PIN_INPUT_PULLDOWN)}, /* spi1_d0.gpio7_9 */ -+ {SPI1_CS0, (M14 | PIN_INPUT)}, /* spi1_cs0.gpio7_10 */ -+ {SPI1_CS1, (M14 | PIN_INPUT)}, /* spi1_cs1.gpio7_11 */ -+ {SPI1_CS2, (M14 | PIN_INPUT_SLEW)}, /* spi1_cs2.gpio7_12 */ -+ {SPI1_CS3, (M6 | PIN_INPUT | SLEWCONTROL)}, /* spi1_cs3.hdmi1_cec */ -+ {SPI2_SCLK, (M14 | PIN_INPUT_PULLDOWN)}, /* spi2_sclk.gpio7_14 */ -+ {SPI2_D1, (M14 | PIN_INPUT_SLEW)}, /* spi2_d1.gpio7_15 */ -+ {SPI2_D0, (M14 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* spi2_d0.gpio7_16 */ -+ {SPI2_CS0, (M14 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* spi2_cs0.gpio7_17 */ -+ {DCAN1_TX, (M0 | PIN_OUTPUT | SLEWCONTROL)}, /* dcan1_tx.dcan1_tx */ -+ {DCAN1_RX, (M0 | PIN_INPUT | SLEWCONTROL)}, /* dcan1_rx.dcan1_rx */ -+ -+ /* BeagleBone AI: Debug UART */ -+ {UART1_RXD, (M0 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* uart1_rxd.uart1_rxd */ -+ {UART1_TXD, (M0 | PIN_OUTPUT | SLEWCONTROL)}, /* uart1_txd.uart1_txd */ -+ -+ {UART1_CTSN, (M14 | PIN_INPUT_PULLDOWN)}, /* uart1_ctsn.gpio7_24 */ -+ {UART1_RTSN, (M14 | PIN_INPUT)}, /* uart1_rtsn.gpio7_25 */ -+ {UART2_RXD, (M14 | PIN_INPUT_PULLDOWN)}, /* uart2_rxd.gpio7_26 */ -+ {UART2_TXD, (M14 | PIN_INPUT_PULLDOWN)}, /* uart2_txd.gpio7_27 */ -+ {UART2_CTSN, (M2 | PIN_INPUT_PULLUP)}, /* uart2_ctsn.uart3_rxd */ -+ {UART2_RTSN, (M1 | PIN_OUTPUT)}, /* uart2_rtsn.uart3_txd */ -+ {I2C1_SDA, (M0 | PIN_INPUT_PULLUP)}, /* i2c1_sda.i2c1_sda */ -+ {I2C1_SCL, (M0 | PIN_INPUT_PULLUP)}, /* i2c1_scl.i2c1_scl */ -+ {I2C2_SDA, (M1 | PIN_INPUT_PULLUP)}, /* i2c2_sda.hdmi1_ddc_scl */ -+ {I2C2_SCL, (M1 | PIN_INPUT_PULLUP)}, /* i2c2_scl.hdmi1_ddc_sda */ -+ {WAKEUP0, (M0 | PIN_INPUT)}, /* Wakeup0.Wakeup0 */ -+ {WAKEUP1, (M0 | PIN_INPUT)}, /* Wakeup1.Wakeup1 */ -+ {WAKEUP2, (M0 | PIN_INPUT)}, /* Wakeup2.Wakeup2 */ -+ {WAKEUP3, (M0 | PIN_INPUT)}, /* Wakeup3.Wakeup3 */ -+ {ON_OFF, (M0 | PIN_OUTPUT)}, /* on_off.on_off */ -+ {RTC_PORZ, (M0 | PIN_INPUT)}, /* rtc_porz.rtc_porz */ -+ {TMS, (M0 | PIN_INPUT_PULLUP)}, /* tms.tms */ -+ {TDI, (M0 | PIN_INPUT_PULLUP | SLEWCONTROL)}, /* tdi.tdi */ -+ {TDO, (M0 | PIN_OUTPUT)}, /* tdo.tdo */ -+ {TCLK, (M0 | PIN_INPUT_PULLDOWN)}, /* tclk.tclk */ -+ {TRSTN, (M0 | PIN_INPUT)}, /* trstn.trstn */ -+ {RTCK, (M0 | PIN_OUTPUT)}, /* rtck.rtck */ -+ {EMU0, (M0 | PIN_INPUT)}, /* emu0.emu0 */ -+ {EMU1, (M0 | PIN_INPUT)}, /* emu1.emu1 */ -+ {NMIN_DSP, (M0 | PIN_INPUT)}, /* nmin_dsp.nmin_dsp */ -+ {RSTOUTN, (M0 | PIN_OUTPUT)}, /* rstoutn.rstoutn */ -+}; -+ - const struct pad_conf_entry core_padconf_array_delta_x15_sr1_1[] = { - {MMC1_SDWP, (M14 | PIN_INPUT | SLEWCONTROL)}, /* mmc1_sdwp.gpio6_28 */ - {VOUT1_CLK, (M0 | PIN_OUTPUT | SLEWCONTROL)}, /* vout1_clk.vout1_clk */ -@@ -998,6 +1264,17 @@ const struct pad_conf_entry early_padconf[] = { - {UART2_RTSN, (M1 | PIN_INPUT_SLEW)}, /* uart2_rtsn.uart3_txd */ - {I2C1_SDA, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SDA */ - {I2C1_SCL, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SCL */ -+ -+ /* BeagleBone AI: Debug UART */ -+ {UART1_RXD, (M0 | PIN_INPUT_SLEW)}, /* UART1_RXD */ -+ {UART1_TXD, (M0 | PIN_INPUT_SLEW)}, /* UART1_TXD */ -+ -+ /* Cape Bus i2c */ -+ {GPMC_A0, (M7 | PIN_INPUT_PULLUP)}, /* R6_GPIO7_3: gpmc_a0.i2c4_scl (Shared with F4_UART10_RTSN) */ -+ {GPMC_A1, (M7 | PIN_INPUT_PULLUP)}, /* T9_GPIO7_4: gpmc_a1.i2c4_sda (Shared with D2_UART10_CTSN) */ -+ /* Cape Bus i2c (gpio shared) */ -+ {VIN2A_D4, (M14 | PIN_INPUT_PULLUP)}, /* D2_UART10_CTSN: vin2a_d4.uart10_ctsn (Shared with T9_GPIO7_4) */ -+ {VIN2A_D5, (M14 | PIN_INPUT_PULLUP)}, /* F4_UART10_RTSN: vin2a_d5.uart10_rtsn (Shared with R6_GPIO7_3) */ - }; - - #ifdef CONFIG_IODELAY_RECALIBRATION -@@ -1199,6 +1476,119 @@ const struct iodelay_cfg_entry iodelay_cfg_array_x15_sr2_0[] = { - {0x0CEC, 2739, 0}, /* CFG_VOUT1_VSYNC_OUT */ - }; - -+const struct iodelay_cfg_entry iodelay_cfg_array_bbai[] = { -+ {0x0114, 2519, 702}, /* CFG_GPMC_A0_IN */ -+ {0x0120, 2435, 411}, /* CFG_GPMC_A10_IN */ -+ {0x012C, 2379, 755}, /* CFG_GPMC_A11_IN */ -+ {0x0198, 2384, 778}, /* CFG_GPMC_A1_IN */ -+ {0x0204, 2499, 1127}, /* CFG_GPMC_A2_IN */ -+ {0x0210, 2455, 1181}, /* CFG_GPMC_A3_IN */ -+ {0x021C, 2486, 1039}, /* CFG_GPMC_A4_IN */ -+ {0x0228, 2456, 938}, /* CFG_GPMC_A5_IN */ -+ {0x0234, 2463, 573}, /* CFG_GPMC_A6_IN */ -+ {0x0240, 2608, 783}, /* CFG_GPMC_A7_IN */ -+ {0x024C, 2430, 656}, /* CFG_GPMC_A8_IN */ -+ {0x0258, 2465, 850}, /* CFG_GPMC_A9_IN */ -+ {0x0264, 2316, 301}, /* CFG_GPMC_AD0_IN */ -+ {0x0270, 2324, 406}, /* CFG_GPMC_AD10_IN */ -+ {0x027C, 2278, 352}, /* CFG_GPMC_AD11_IN */ -+ {0x0288, 2297, 160}, /* CFG_GPMC_AD12_IN */ -+ {0x0294, 2278, 108}, /* CFG_GPMC_AD13_IN */ -+ {0x02A0, 2035, 0}, /* CFG_GPMC_AD14_IN */ -+ {0x02AC, 2279, 378}, /* CFG_GPMC_AD15_IN */ -+ {0x02B8, 2440, 70}, /* CFG_GPMC_AD1_IN */ -+ {0x02C4, 2404, 446}, /* CFG_GPMC_AD2_IN */ -+ {0x02D0, 2343, 212}, /* CFG_GPMC_AD3_IN */ -+ {0x02DC, 2355, 322}, /* CFG_GPMC_AD4_IN */ -+ {0x02E8, 2337, 192}, /* CFG_GPMC_AD5_IN */ -+ {0x02F4, 2270, 314}, /* CFG_GPMC_AD6_IN */ -+ {0x0300, 2339, 259}, /* CFG_GPMC_AD7_IN */ -+ {0x030C, 2308, 577}, /* CFG_GPMC_AD8_IN */ -+ {0x0318, 2334, 166}, /* CFG_GPMC_AD9_IN */ -+ {0x0378, 0, 0}, /* CFG_GPMC_CS3_IN */ -+ {0x0678, 0, 386}, /* CFG_MMC3_CLK_IN */ -+ {0x0680, 605, 0}, /* CFG_MMC3_CLK_OUT */ -+ {0x0684, 0, 0}, /* CFG_MMC3_CMD_IN */ -+ {0x0688, 0, 0}, /* CFG_MMC3_CMD_OEN */ -+ {0x068C, 0, 0}, /* CFG_MMC3_CMD_OUT */ -+ {0x0690, 171, 0}, /* CFG_MMC3_DAT0_IN */ -+ {0x0694, 0, 0}, /* CFG_MMC3_DAT0_OEN */ -+ {0x0698, 0, 0}, /* CFG_MMC3_DAT0_OUT */ -+ {0x069C, 221, 0}, /* CFG_MMC3_DAT1_IN */ -+ {0x06A0, 0, 0}, /* CFG_MMC3_DAT1_OEN */ -+ {0x06A4, 0, 0}, /* CFG_MMC3_DAT1_OUT */ -+ {0x06A8, 0, 0}, /* CFG_MMC3_DAT2_IN */ -+ {0x06AC, 0, 0}, /* CFG_MMC3_DAT2_OEN */ -+ {0x06B0, 0, 0}, /* CFG_MMC3_DAT2_OUT */ -+ {0x06B4, 474, 0}, /* CFG_MMC3_DAT3_IN */ -+ {0x06B8, 0, 0}, /* CFG_MMC3_DAT3_OEN */ -+ {0x06BC, 0, 0}, /* CFG_MMC3_DAT3_OUT */ -+ {0x06C0, 792, 0}, /* CFG_MMC3_DAT4_IN */ -+ {0x06C4, 0, 0}, /* CFG_MMC3_DAT4_OEN */ -+ {0x06C8, 0, 0}, /* CFG_MMC3_DAT4_OUT */ -+ {0x06CC, 782, 0}, /* CFG_MMC3_DAT5_IN */ -+ {0x06D0, 0, 0}, /* CFG_MMC3_DAT5_OEN */ -+ {0x06D4, 0, 0}, /* CFG_MMC3_DAT5_OUT */ -+ {0x06D8, 942, 0}, /* CFG_MMC3_DAT6_IN */ -+ {0x06DC, 0, 0}, /* CFG_MMC3_DAT6_OEN */ -+ {0x06E0, 0, 0}, /* CFG_MMC3_DAT6_OUT */ -+ {0x06E4, 636, 0}, /* CFG_MMC3_DAT7_IN */ -+ {0x06E8, 0, 0}, /* CFG_MMC3_DAT7_OEN */ -+ {0x06EC, 0, 0}, /* CFG_MMC3_DAT7_OUT */ -+ {0x06F0, 260, 0}, /* CFG_RGMII0_RXC_IN */ -+ {0x06FC, 0, 1412}, /* CFG_RGMII0_RXCTL_IN */ -+ {0x0708, 123, 1047}, /* CFG_RGMII0_RXD0_IN */ -+ {0x0714, 139, 1081}, /* CFG_RGMII0_RXD1_IN */ -+ {0x0720, 195, 1100}, /* CFG_RGMII0_RXD2_IN */ -+ {0x072C, 239, 1216}, /* CFG_RGMII0_RXD3_IN */ -+ {0x0740, 89, 0}, /* CFG_RGMII0_TXC_OUT */ -+ {0x074C, 15, 125}, /* CFG_RGMII0_TXCTL_OUT */ -+ {0x0758, 339, 162}, /* CFG_RGMII0_TXD0_OUT */ -+ {0x0764, 146, 94}, /* CFG_RGMII0_TXD1_OUT */ -+ {0x0770, 0, 27}, /* CFG_RGMII0_TXD2_OUT */ -+ {0x077C, 291, 205}, /* CFG_RGMII0_TXD3_OUT */ -+ {0x0A70, 0, 0}, /* CFG_VIN2A_D12_OUT */ -+ {0x0A7C, 219, 101}, /* CFG_VIN2A_D13_OUT */ -+ {0x0A88, 92, 58}, /* CFG_VIN2A_D14_OUT */ -+ {0x0A94, 135, 100}, /* CFG_VIN2A_D15_OUT */ -+ {0x0AA0, 154, 101}, /* CFG_VIN2A_D16_OUT */ -+ {0x0AAC, 78, 27}, /* CFG_VIN2A_D17_OUT */ -+ {0x0AB0, 411, 0}, /* CFG_VIN2A_D18_IN */ -+ {0x0ABC, 0, 382}, /* CFG_VIN2A_D19_IN */ -+ {0x0AD4, 320, 750}, /* CFG_VIN2A_D20_IN */ -+ {0x0AE0, 192, 836}, /* CFG_VIN2A_D21_IN */ -+ {0x0AEC, 294, 669}, /* CFG_VIN2A_D22_IN */ -+ {0x0AF8, 50, 700}, /* CFG_VIN2A_D23_IN */ -+ {0x0B9C, 0, 706}, /* CFG_VOUT1_CLK_OUT */ -+ {0x0BA8, 2313, 0}, /* CFG_VOUT1_D0_OUT */ -+ {0x0BB4, 2199, 0}, /* CFG_VOUT1_D10_OUT */ -+ {0x0BC0, 2266, 0}, /* CFG_VOUT1_D11_OUT */ -+ {0x0BCC, 3159, 0}, /* CFG_VOUT1_D12_OUT */ -+ {0x0BD8, 2100, 0}, /* CFG_VOUT1_D13_OUT */ -+ {0x0BE4, 2229, 0}, /* CFG_VOUT1_D14_OUT */ -+ {0x0BF0, 2202, 0}, /* CFG_VOUT1_D15_OUT */ -+ {0x0BFC, 2084, 0}, /* CFG_VOUT1_D16_OUT */ -+ {0x0C08, 2195, 0}, /* CFG_VOUT1_D17_OUT */ -+ {0x0C14, 2342, 0}, /* CFG_VOUT1_D18_OUT */ -+ {0x0C20, 2463, 0}, /* CFG_VOUT1_D19_OUT */ -+ {0x0C2C, 2439, 0}, /* CFG_VOUT1_D1_OUT */ -+ {0x0C38, 2304, 0}, /* CFG_VOUT1_D20_OUT */ -+ {0x0C44, 2103, 0}, /* CFG_VOUT1_D21_OUT */ -+ {0x0C50, 2145, 0}, /* CFG_VOUT1_D22_OUT */ -+ {0x0C5C, 1932, 0}, /* CFG_VOUT1_D23_OUT */ -+ {0x0C68, 2200, 0}, /* CFG_VOUT1_D2_OUT */ -+ {0x0C74, 2355, 0}, /* CFG_VOUT1_D3_OUT */ -+ {0x0C80, 3215, 0}, /* CFG_VOUT1_D4_OUT */ -+ {0x0C8C, 2314, 0}, /* CFG_VOUT1_D5_OUT */ -+ {0x0C98, 2238, 0}, /* CFG_VOUT1_D6_OUT */ -+ {0x0CA4, 2381, 0}, /* CFG_VOUT1_D7_OUT */ -+ {0x0CB0, 2138, 0}, /* CFG_VOUT1_D8_OUT */ -+ {0x0CBC, 2383, 0}, /* CFG_VOUT1_D9_OUT */ -+ {0x0CC8, 1984, 0}, /* CFG_VOUT1_DE_OUT */ -+ {0x0CE0, 1947, 0}, /* CFG_VOUT1_HSYNC_OUT */ -+ {0x0CEC, 2739, 0}, /* CFG_VOUT1_VSYNC_OUT */ -+}; -+ - const struct iodelay_cfg_entry iodelay_cfg_array_am574x_idk[] = { - {0x0114, 2199, 621}, /* CFG_GPMC_A0_IN */ - {0x0120, 0, 0}, /* CFG_GPMC_A10_IN */ -diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig -index 3e2c166e0d..b1e2960a9f 100644 ---- a/configs/am57xx_evm_defconfig -+++ b/configs/am57xx_evm_defconfig -@@ -27,14 +27,20 @@ CONFIG_SPL_DMA_SUPPORT=y - CONFIG_SPL_OS_BOOT=y - CONFIG_SPL_SPI_LOAD=y - CONFIG_SPL_YMODEM_SUPPORT=y -+CONFIG_AUTOBOOT_KEYED=y -+CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n" -+CONFIG_AUTOBOOT_DELAY_STR="d" -+CONFIG_AUTOBOOT_STOP_STR=" " - CONFIG_CMD_SPL=y - # CONFIG_CMD_FLASH is not set - # CONFIG_CMD_SETEXPR is not set - # CONFIG_CMD_PMIC is not set -+CONFIG_CMD_BTRFS=y - CONFIG_OF_CONTROL=y - CONFIG_SPL_OF_CONTROL=y --CONFIG_DEFAULT_DEVICE_TREE="am572x-idk" --CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am572x-idk am571x-idk am574x-idk" -+CONFIG_DEFAULT_DEVICE_TREE="am5729-beagleboneai" -+CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am5729-beagleboneai am572x-idk am571x-idk am574x-idk" -+# CONFIG_ENV_IS_IN_FAT is not set - CONFIG_ENV_IS_IN_MMC=y - CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y - CONFIG_DM=y -diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h -index 70aa425060..fcc6ac7f8f 100644 ---- a/include/configs/am57xx_evm.h -+++ b/include/configs/am57xx_evm.h -@@ -24,7 +24,7 @@ - #define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE) - #define CONFIG_SYS_REDUNDAND_ENVIRONMENT - --#define CONSOLEDEV "ttyO2" -+//#define CONSOLEDEV "ttyO2" - #define CONFIG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */ - #define CONFIG_SYS_NS16550_COM2 UART2_BASE /* UART2 */ - #define CONFIG_SYS_NS16550_COM3 UART3_BASE /* UART3 */ -diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h -index 1e2a62dd6f..47f641165d 100644 ---- a/include/configs/ti_armv7_common.h -+++ b/include/configs/ti_armv7_common.h -@@ -80,6 +80,363 @@ - #define CONFIG_SYS_I2C - #endif - -+#define EEPROM_PROGRAMMING \ -+ "eeprom_dump=i2c dev 0; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "\0" \ -+ "eeprom_blank=i2c dev 0; " \ -+ "i2c mw 0x50 0x00.2 ff; " \ -+ "i2c mw 0x50 0x01.2 ff; " \ -+ "i2c mw 0x50 0x02.2 ff; " \ -+ "i2c mw 0x50 0x03.2 ff; " \ -+ "i2c mw 0x50 0x04.2 ff; " \ -+ "i2c mw 0x50 0x05.2 ff; " \ -+ "i2c mw 0x50 0x06.2 ff; " \ -+ "i2c mw 0x50 0x07.2 ff; " \ -+ "i2c mw 0x50 0x08.2 ff; " \ -+ "i2c mw 0x50 0x09.2 ff; " \ -+ "i2c mw 0x50 0x0a.2 ff; " \ -+ "i2c mw 0x50 0x0b.2 ff; " \ -+ "i2c mw 0x50 0x0c.2 ff; " \ -+ "i2c mw 0x50 0x0d.2 ff; " \ -+ "i2c mw 0x50 0x0e.2 ff; " \ -+ "i2c mw 0x50 0x0f.2 ff; " \ -+ "i2c mw 0x50 0x10.2 ff; " \ -+ "i2c mw 0x50 0x11.2 ff; " \ -+ "i2c mw 0x50 0x12.2 ff; " \ -+ "i2c mw 0x50 0x13.2 ff; " \ -+ "i2c mw 0x50 0x14.2 ff; " \ -+ "i2c mw 0x50 0x15.2 ff; " \ -+ "i2c mw 0x50 0x16.2 ff; " \ -+ "i2c mw 0x50 0x17.2 ff; " \ -+ "i2c mw 0x50 0x18.2 ff; " \ -+ "i2c mw 0x50 0x19.2 ff; " \ -+ "i2c mw 0x50 0x1a.2 ff; " \ -+ "i2c mw 0x50 0x1b.2 ff; " \ -+ "i2c mw 0x50 0x1c.2 ff; " \ -+ "i2c mw 0x50 0x1d.2 ff; " \ -+ "i2c mw 0x50 0x1e.2 ff; " \ -+ "i2c mw 0x50 0x1f.2 ff; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "\0" \ -+ "eeprom_x15_b1=i2c dev 0; " \ -+ "i2c mw 0x50 0x00.2 aa; " \ -+ "i2c mw 0x50 0x01.2 55; " \ -+ "i2c mw 0x50 0x02.2 33; " \ -+ "i2c mw 0x50 0x03.2 ee; " \ -+ "i2c mw 0x50 0x04.2 42; " \ -+ "i2c mw 0x50 0x05.2 42; " \ -+ "i2c mw 0x50 0x06.2 52; " \ -+ "i2c mw 0x50 0x07.2 44; " \ -+ "i2c mw 0x50 0x08.2 58; " \ -+ "i2c mw 0x50 0x09.2 31; " \ -+ "i2c mw 0x50 0x0a.2 35; " \ -+ "i2c mw 0x50 0x0b.2 5f; " \ -+ "i2c mw 0x50 0x0c.2 42; " \ -+ "i2c mw 0x50 0x0d.2 2e; " \ -+ "i2c mw 0x50 0x0e.2 31; " \ -+ "i2c mw 0x50 0x0f.2 30; " \ -+ "i2c mw 0x50 0x10.2 57; " \ -+ "i2c mw 0x50 0x11.2 57; " \ -+ "i2c mw 0x50 0x12.2 59; " \ -+ "i2c mw 0x50 0x13.2 59; " \ -+ "i2c mw 0x50 0x14.2 34; " \ -+ "i2c mw 0x50 0x15.2 50; " \ -+ "i2c mw 0x50 0x16.2 35; " \ -+ "i2c mw 0x50 0x17.2 35; " \ -+ "i2c mw 0x50 0x18.2 30; " \ -+ "i2c mw 0x50 0x19.2 30; " \ -+ "i2c mw 0x50 0x1a.2 30; " \ -+ "i2c mw 0x50 0x1b.2 30; " \ -+ "i2c mw 0x50 0x1c.2 ff; " \ -+ "i2c mw 0x50 0x1d.2 ff; " \ -+ "i2c mw 0x50 0x1e.2 ff; " \ -+ "i2c mw 0x50 0x1f.2 ff; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "\0" \ -+ "eeprom_x15_c=i2c dev 0; " \ -+ "i2c mw 0x50 0x00.2 aa; " \ -+ "i2c mw 0x50 0x01.2 55; " \ -+ "i2c mw 0x50 0x02.2 33; " \ -+ "i2c mw 0x50 0x03.2 ee; " \ -+ "i2c mw 0x50 0x04.2 42; " \ -+ "i2c mw 0x50 0x05.2 42; " \ -+ "i2c mw 0x50 0x06.2 52; " \ -+ "i2c mw 0x50 0x07.2 44; " \ -+ "i2c mw 0x50 0x08.2 58; " \ -+ "i2c mw 0x50 0x09.2 31; " \ -+ "i2c mw 0x50 0x0a.2 35; " \ -+ "i2c mw 0x50 0x0b.2 5f; " \ -+ "i2c mw 0x50 0x0c.2 43; " \ -+ "i2c mw 0x50 0x0d.2 2e; " \ -+ "i2c mw 0x50 0x0e.2 30; " \ -+ "i2c mw 0x50 0x0f.2 30; " \ -+ "i2c mw 0x50 0x10.2 79; " \ -+ "i2c mw 0x50 0x11.2 79; " \ -+ "i2c mw 0x50 0x12.2 77; " \ -+ "i2c mw 0x50 0x13.2 77; " \ -+ "i2c mw 0x50 0x14.2 50; " \ -+ "i2c mw 0x50 0x15.2 58; " \ -+ "i2c mw 0x50 0x16.2 31; " \ -+ "i2c mw 0x50 0x17.2 35; " \ -+ "i2c mw 0x50 0x18.2 6e; " \ -+ "i2c mw 0x50 0x19.2 6e; " \ -+ "i2c mw 0x50 0x1a.2 6e; " \ -+ "i2c mw 0x50 0x1b.2 6e; " \ -+ "i2c mw 0x50 0x1c.2 ff; " \ -+ "i2c mw 0x50 0x1d.2 ff; " \ -+ "i2c mw 0x50 0x1e.2 ff; " \ -+ "i2c mw 0x50 0x1f.2 ff; " \ -+ "i2c md 0x50 0x00.2 20; " \ -+ "\0" \ -+ -+#define EEWIKI_MMC_BOOT \ -+ "mmc_boot=${devtype} dev ${mmcdev}; ${devtype} part; " \ -+ "if ${devtype} rescan; then " \ -+ "echo Scanning ${devtype} device ${mmcdev};" \ -+ "setenv bootpart ${mmcdev}:1; " \ -+ "echo Checking for: /uEnv.txt ...;" \ -+ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /uEnv.txt;" \ -+ "echo Checking if uenvcmd is set ...;" \ -+ "if test -n ${uenvcmd}; then " \ -+ "echo Running uenvcmd ...;" \ -+ "run uenvcmd;" \ -+ "fi;" \ -+ "fi; " \ -+ "echo Checking for: /boot/uEnv.txt ...;" \ -+ "for i in 1 2 3 4 5 6 7 ; do " \ -+ "setenv mmcpart ${i};" \ -+ "setenv bootpart ${mmcdev}:${mmcpart};" \ -+ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /boot/uEnv.txt;" \ -+ "if test -n ${dtb}; then " \ -+ "setenv fdtfile ${dtb};" \ -+ "echo debug: [dtb=${fdtfile}] ...;" \ -+ "fi;" \ -+ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ -+ "if test -n ${uname_r}; then " \ -+ "echo debug: [uname_r=${uname_r}] ...;" \ -+ "setenv oldroot /dev/mmcblk${mmcdev}p${mmcpart};" \ -+ "run uname_boot;" \ -+ "fi;" \ -+ "fi;" \ -+ "done;" \ -+ "fi;\0" \ -+ -+#define EEWIKI_SCSI_BOOT \ -+ "scsi_boot=${devtype} reset ; " \ -+ "if ${devtype} dev ${mmcdev}; then " \ -+ "echo Scanning ${devtype} device ${mmcdev};" \ -+ "setenv bootpart ${mmcdev}:1; " \ -+ "echo Checking for: /uEnv.txt ...;" \ -+ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /uEnv.txt;" \ -+ "echo Checking if uenvcmd is set ...;" \ -+ "if test -n ${uenvcmd}; then " \ -+ "echo Running uenvcmd ...;" \ -+ "run uenvcmd;" \ -+ "fi;" \ -+ "fi; " \ -+ "echo Checking for: /boot/uEnv.txt ...;" \ -+ "for i in 1 2 3 4 ; do " \ -+ "setenv mmcpart ${i};" \ -+ "setenv bootpart ${mmcdev}:${mmcpart};" \ -+ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /boot/uEnv.txt;" \ -+ "if test -n ${dtb}; then " \ -+ "setenv fdtfile ${dtb};" \ -+ "echo debug: [dtb=${fdtfile}] ...;" \ -+ "fi;" \ -+ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ -+ "if test -n ${uname_r}; then " \ -+ "echo debug: [uname_r=${uname_r}] ...;" \ -+ "setenv oldroot /dev/sda${mmcpart};" \ -+ "run uname_boot;" \ -+ "fi;" \ -+ "fi;" \ -+ "done;" \ -+ "fi;\0" \ -+ -+#define EEWIKI_USB_BOOT \ -+ "usb_boot=${devtype} reset ; " \ -+ "if ${devtype} dev ${mmcdev}; then " \ -+ "echo Scanning ${devtype} device ${mmcdev};" \ -+ "setenv bootpart ${mmcdev}:1; " \ -+ "echo Checking for: /uEnv.txt ...;" \ -+ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /uEnv.txt;" \ -+ "echo Checking if uenvcmd is set in /uEnv.txt ...;" \ -+ "if test -n ${uenvcmd}; then " \ -+ "echo Running uenvcmd ...;" \ -+ "run uenvcmd;" \ -+ "fi;" \ -+ "fi; " \ -+ "echo Checking for: /boot/uEnv.txt ...;" \ -+ "for i in 1 2 3 4 ; do " \ -+ "setenv mmcpart ${i};" \ -+ "setenv bootpart ${mmcdev}:${mmcpart};" \ -+ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ -+ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ -+ "env import -t ${loadaddr} ${filesize};" \ -+ "echo Loaded environment from /boot/uEnv.txt;" \ -+ "if test -n ${dtb}; then " \ -+ "setenv fdtfile ${dtb};" \ -+ "echo debug: [dtb=${fdtfile}] ...;" \ -+ "fi;" \ -+ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ -+ "if test -n ${uname_r}; then " \ -+ "echo debug: [uname_r=${uname_r}] ...;" \ -+ "setenv oldroot /dev/sda${mmcpart};" \ -+ "run uname_boot;" \ -+ "fi;" \ -+ "fi;" \ -+ "done;" \ -+ "fi;\0" \ -+ -+#define EEWIKI_UNAME_BOOT \ -+ "uname_boot="\ -+ "setenv bootdir /boot; " \ -+ "setenv bootfile vmlinuz-${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${bootdir}/${bootfile}; then " \ -+ "echo loading ${bootdir}/${bootfile} ...; "\ -+ "run loadimage;" \ -+ "setenv fdtdir /boot/dtbs/${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /usr/lib/linux-image-${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /lib/firmware/${uname_r}/device-tree; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /boot/dtb-${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /boot/dtbs; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /boot/dtb; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "setenv fdtdir /boot; " \ -+ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ -+ "run loadfdt;" \ -+ "else " \ -+ "echo; echo unable to find ${fdtfile} ...; echo booting legacy ...;"\ -+ "run args_mmc;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr}] ... ;" \ -+ "bootz ${loadaddr}; " \ -+ "fi;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi;" \ -+ "fi; " \ -+ "if test -n ${enable_uboot_overlays}; then " \ -+ "setenv fdt_buffer 0x60000;" \ -+ "if test -n ${uboot_fdt_buffer}; then " \ -+ "setenv fdt_buffer ${uboot_fdt_buffer};" \ -+ "fi;" \ -+ "echo uboot_overlays: [fdt_buffer=${fdt_buffer}] ... ;" \ -+ "if test -n ${uboot_overlay_addr0}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr0}; " \ -+ "run capeloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr1}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr1}; " \ -+ "run capeloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr2}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr2}; " \ -+ "run capeloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr3}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr3}; " \ -+ "run capeloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr4}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr4}; " \ -+ "run capeloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr5}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr5}; " \ -+ "run capeloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr6}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr6}; " \ -+ "run capeloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_addr7}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_addr7}; " \ -+ "run capeloadoverlay;" \ -+ "fi;" \ -+ "if test -n ${uboot_overlay_pru}; then " \ -+ "setenv uboot_overlay ${uboot_overlay_pru}; " \ -+ "run virtualloadoverlay;" \ -+ "fi;" \ -+ "else " \ -+ "echo uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...;" \ -+ "fi;" \ -+ "setenv rdfile initrd.img-${uname_r}; " \ -+ "if test -e ${devtype} ${bootpart} ${bootdir}/${rdfile}; then " \ -+ "echo loading ${bootdir}/${rdfile} ...; "\ -+ "run loadrd;" \ -+ "if test -n ${netinstall_enable}; then " \ -+ "run args_netinstall; run message;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ -+ "fi;" \ -+ "if test -n ${uenv_root}; then " \ -+ "run args_uenv_root;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ -+ "fi;" \ -+ "if test -n ${uuid}; then " \ -+ "run args_mmc_uuid;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ -+ "else " \ -+ "run args_mmc_old;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ -+ "fi;" \ -+ "else " \ -+ "if test -n ${uenv_root}; then " \ -+ "run args_uenv_root;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} - ${fdtaddr}; " \ -+ "fi;" \ -+ "run args_mmc_old;" \ -+ "echo debug: [${bootargs}] ... ;" \ -+ "echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;" \ -+ "bootz ${loadaddr} - ${fdtaddr}; " \ -+ "fi;" \ -+ "fi;\0" \ -+ - /* - * The following are general good-enough settings for U-Boot. We set a - * large malloc pool as we generally have a lot of DDR, and we opt for -diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h -index ba57c40182..93368cdc51 100644 ---- a/include/configs/ti_omap5_common.h -+++ b/include/configs/ti_omap5_common.h -@@ -63,6 +63,11 @@ - DEFAULT_FIT_TI_ARGS \ - DEFAULT_COMMON_BOOT_TI_ARGS \ - DEFAULT_FDT_TI_ARGS \ -+ EEWIKI_USB_BOOT \ -+ EEWIKI_SCSI_BOOT \ -+ EEWIKI_MMC_BOOT \ -+ EEWIKI_UNAME_BOOT \ -+ EEPROM_PROGRAMMING \ - DFUARGS \ - NETARGS \ - -diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h -index 05bdbbc23e..b0254b064a 100644 ---- a/include/environment/ti/boot.h -+++ b/include/environment/ti/boot.h -@@ -64,32 +64,18 @@ - "bootpart=0:2\0" \ - "bootdir=/boot\0" \ - "bootfile=zImage\0" \ -+ "board_eeprom_header=undefined\0" \ - "usbtty=cdc_acm\0" \ - "vram=16M\0" \ - AVB_VERIFY_CMD \ - "partitions=" PARTS_DEFAULT "\0" \ - "optargs=\0" \ - "dofastboot=0\0" \ -- "emmc_linux_boot=" \ -- "echo Trying to boot Linux from eMMC ...; " \ -- "setenv mmcdev 1; " \ -- "setenv bootpart 1:2; " \ -- "setenv mmcroot /dev/mmcblk0p2 rw; " \ -- "run mmcboot;\0" \ -- "emmc_android_boot=" \ -- "echo Trying to boot Android from eMMC ...; " \ -- "run update_to_fit; " \ -- "setenv eval_bootargs setenv bootargs $bootargs; " \ -- "run eval_bootargs; " \ -- "setenv mmcdev 1; " \ -- "setenv machid fe6; " \ -- "mmc dev $mmcdev; " \ -- "mmc rescan; " \ -- AVB_VERIFY_CHECK \ -- "part start mmc ${mmcdev} boot boot_start; " \ -- "part size mmc ${mmcdev} boot boot_size; " \ -- "mmc read ${loadaddr} ${boot_start} ${boot_size}; " \ -- "bootm ${loadaddr}#${fdtfile};\0 " -+ "read_board_eeprom="\ -+ "if test $board_eeprom_header = beagle_x15_revb1_blank; then " \ -+ "run eeprom_dump; run eeprom_x15_b1; reset; fi; " \ -+ "if test $board_eeprom_header = beagle_x15_revc_blank; then " \ -+ "run eeprom_dump; run eeprom_x15_c; reset; fi; \0 " - - #ifdef CONFIG_OMAP54XX - -@@ -127,20 +113,17 @@ - "echo WARNING: Could not determine device tree to use; fi; \0" - - #define CONFIG_BOOTCOMMAND \ -- "if test ${dofastboot} -eq 1; then " \ -- "echo Boot fastboot requested, resetting dofastboot ...;" \ -- "setenv dofastboot 0; saveenv;" \ -- "echo Booting into fastboot ...; " \ -- "fastboot " __stringify(CONFIG_FASTBOOT_USB_DEV) "; " \ -- "fi;" \ -- "if test ${boot_fit} -eq 1; then " \ -- "run update_to_fit;" \ -- "fi;" \ -+ "run read_board_eeprom; " \ - "run findfdt; " \ -- "run envboot; " \ -- "run mmcboot;" \ -- "run emmc_linux_boot; " \ -- "run emmc_android_boot; " \ -+ "setenv mmcdev 0; " \ -+ "setenv devtype usb; " \ -+ "echo usb_boot is currently disabled;" \ -+ "setenv devtype scsi; " \ -+ "echo scsi_boot is currently disabled;" \ -+ "setenv devtype mmc; " \ -+ "run mmc_boot;" \ -+ "setenv mmcdev 1; " \ -+ "run mmc_boot;" \ - "" - - #endif /* CONFIG_OMAP54XX */ -diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h -index 785fc15345..6481682fc7 100644 ---- a/include/environment/ti/mmc.h -+++ b/include/environment/ti/mmc.h -@@ -11,11 +11,33 @@ - #define DEFAULT_MMC_TI_ARGS \ - "mmcdev=0\0" \ - "mmcrootfstype=ext4 rootwait\0" \ -- "finduuid=part uuid mmc ${bootpart} uuid\0" \ -+ "finduuid=part uuid ${devtype} ${bootpart} uuid\0" \ - "args_mmc=run finduuid;setenv bootargs console=${console} " \ - "${optargs} " \ -- "root=PARTUUID=${uuid} rw " \ -- "rootfstype=${mmcrootfstype}\0" \ -+ "root=PARTUUID=${uuid} ro " \ -+ "rootfstype=${mmcrootfstype} " \ -+ "${cmdline}\0" \ -+ "args_mmc_old=setenv bootargs console=${console} " \ -+ "${optargs} " \ -+ "root=${oldroot} ro " \ -+ "rootfstype=${mmcrootfstype} " \ -+ "${cmdline}\0" \ -+ "args_mmc_uuid=setenv bootargs console=${console} " \ -+ "${optargs} " \ -+ "root=UUID=${uuid} ro " \ -+ "rootfstype=${mmcrootfstype} " \ -+ "${cmdline}\0" \ -+ "args_uenv_root=setenv bootargs console=${console} " \ -+ "${optargs} " \ -+ "root=${uenv_root} ro " \ -+ "rootfstype=${mmcrootfstype} " \ -+ "${musb} ${cmdline}\0" \ -+ "args_netinstall=setenv bootargs ${netinstall_bootargs} " \ -+ "${optargs} " \ -+ "${cape_disable} " \ -+ "${cape_enable} " \ -+ "root=/dev/ram rw " \ -+ "${cmdline}\0" \ - "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \ - "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ - "source ${loadaddr}\0" \ -@@ -24,7 +46,22 @@ - "env import -t ${loadaddr} ${filesize}\0" \ - "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}\0" \ - "loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \ -- "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ -+ "loadrd=load ${devtype} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}; setenv rdsize ${filesize}\0" \ -+ "loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${devtype} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}\0" \ -+ "loadoverlay=echo uboot_overlays: loading ${uboot_overlay} ...; " \ -+ "load ${devtype} ${bootpart} ${rdaddr} ${uboot_overlay}; " \ -+ "fdt addr ${fdtaddr}; fdt resize ${fdt_buffer}; " \ -+ "fdt apply ${rdaddr}; fdt resize ${fdt_buffer};\0" \ -+ "virtualloadoverlay=if test -e ${devtype} ${bootpart} ${uboot_overlay}; then " \ -+ "run loadoverlay;" \ -+ "else " \ -+ "echo uboot_overlays: unable to find [${devtype} ${bootpart} ${uboot_overlay}]...;" \ -+ "fi;\0" \ -+ "capeloadoverlay=if test -e ${devtype} ${bootpart} ${uboot_overlay}; then " \ -+ "run loadoverlay;" \ -+ "else " \ -+ "echo uboot_overlays: unable to find [${devtype} ${bootpart} ${uboot_overlay}]...;" \ -+ "fi;\0" \ - "envboot=mmc dev ${mmcdev}; " \ - "if mmc rescan; then " \ - "echo SD/MMC found on device ${mmcdev};" \ --- -2.17.1 - diff --git a/buildroot-2021.05/board/beaglev/extlinux.conf b/buildroot-2021.05/board/beaglev/extlinux.conf deleted file mode 100644 index c5444d09..00000000 --- a/buildroot-2021.05/board/beaglev/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label linux - kernel /boot/Image - devicetree /boot/starfive_vic7100_beagle_v.dtb - append console=ttyS0,115200 earlyprintk root=PARTUUID=0fef845a-c6e1-45bc-82f7-002fa720f958 rootwait diff --git a/buildroot-2021.05/board/beaglev/genimage.cfg b/buildroot-2021.05/board/beaglev/genimage.cfg deleted file mode 100644 index f38bb7f8..00000000 --- a/buildroot-2021.05/board/beaglev/genimage.cfg +++ /dev/null @@ -1,12 +0,0 @@ -image sdcard.img { - hdimage { - gpt = true - } - - partition rootfs { - partition-type-uuid = 72ec70a6-cf74-40e6-bd49-4bda08e8f224 - partition-uuid = 0fef845a-c6e1-45bc-82f7-002fa720f958 - bootable = "true" - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch b/buildroot-2021.05/board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch deleted file mode 100644 index 74d70f27..00000000 --- a/buildroot-2021.05/board/beaglev/patches/uboot/0001-include-configs-starfive-vic7100-adjust-fdt_addr_r.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 2c4c813940c577590f3352cef0c49a8def17905d Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 28 Apr 2021 22:58:45 +0200 -Subject: [PATCH] include/configs/starfive-vic7100: adjust fdt_addr_r - -The default fdt_addr_r of 0x88000000 doesn't work, the kernel never -boots. Using 0x90000000 works fine. - -Since it would overlap with the kernel_comp_addr_r area, this one is -moved 16 MB further, at 0x91000000. - -Signed-off-by: Thomas Petazzoni ---- - include/configs/starfive-vic7100.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/configs/starfive-vic7100.h b/include/configs/starfive-vic7100.h -index 8c5915a73c..7150a23873 100644 ---- a/include/configs/starfive-vic7100.h -+++ b/include/configs/starfive-vic7100.h -@@ -111,13 +111,13 @@ - "fdt_high=0xffffffffffffffff\0" \ - "initrd_high=0xffffffffffffffff\0" \ - "kernel_addr_r=0x84000000\0" \ -- "fdt_addr_r=0x88000000\0" \ -+ "fdt_addr_r=0x90000000\0" \ - "scriptaddr=0x88100000\0" \ - "script_offset_f=0x1fff000\0" \ - "script_size_f=0x1000\0" \ - "pxefile_addr_r=0x88200000\0" \ - "ramdisk_addr_r=0x88300000\0" \ -- "kernel_comp_addr_r=0x90000000\0" \ -+ "kernel_comp_addr_r=0x91000000\0" \ - "kernel_comp_size=0x10000000\0" \ - "type_guid_gpt_loader1=" TYPE_GUID_LOADER1 "\0" \ - "type_guid_gpt_loader2=" TYPE_GUID_LOADER2 "\0" \ --- -2.30.2 - diff --git a/buildroot-2021.05/board/beaglev/post-build.sh b/buildroot-2021.05/board/beaglev/post-build.sh deleted file mode 100755 index b19b9bf6..00000000 --- a/buildroot-2021.05/board/beaglev/post-build.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -BOARD_DIR=$(dirname $0) - -# The DTB to use is provided within the U-Boot source tree, so we grab -# it from there, and install it to TARGET_DIR/boot/. -eval $(make -C ${CONFIG_DIR} --no-print-directory QUOTED_VARS=YES VARS=UBOOT_DIR printvars) -install -D -m0644 ${UBOOT_DIR}/arch/riscv/dts/starfive_vic7100_beagle_v.dtb \ - ${TARGET_DIR}/boot/starfive_vic7100_beagle_v.dtb - -# Bring the extlinux.conf file in. -install -D -m 0644 ${BOARD_DIR}/extlinux.conf \ - ${TARGET_DIR}/boot/extlinux/extlinux.conf - -# To be reflashed through Xmodem, the bootloader needs to be prepended -# with a 4-byte header that contains the total size of the file. -perl -e 'print pack("l", (stat @ARGV[0])[7])' ${BINARIES_DIR}/fw_payload.bin > ${BINARIES_DIR}/fw_payload.bin.out -cat ${BINARIES_DIR}/fw_payload.bin >> ${BINARIES_DIR}/fw_payload.bin.out diff --git a/buildroot-2021.05/board/beelink/gs1/genimage.cfg b/buildroot-2021.05/board/beelink/gs1/genimage.cfg deleted file mode 100644 index 88bbd265..00000000 --- a/buildroot-2021.05/board/beelink/gs1/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h6-beelink-gs1.dtb", - "extlinux" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/chromebook/elm/linux.config b/buildroot-2021.05/board/chromebook/elm/linux.config deleted file mode 100644 index 50402eae..00000000 --- a/buildroot-2021.05/board/chromebook/elm/linux.config +++ /dev/null @@ -1,453 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_IRQ_TIME_ACCOUNTING=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_BSD_PROCESS_ACCT_V3=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_NUMA_BALANCING=y -CONFIG_MEMCG=y -CONFIG_BLK_CGROUP=y -CONFIG_CGROUP_PIDS=y -CONFIG_CGROUP_HUGETLB=y -CONFIG_CPUSETS=y -CONFIG_CGROUP_DEVICE=y -CONFIG_CGROUP_CPUACCT=y -CONFIG_CGROUP_PERF=y -CONFIG_USER_NS=y -CONFIG_SCHED_AUTOGROUP=y -CONFIG_RELAY=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_KALLSYMS_ALL=y -# CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y -CONFIG_PROFILING=y -CONFIG_ARCH_MEDIATEK=y -CONFIG_ARM64_VA_BITS_48=y -CONFIG_SCHED_MC=y -CONFIG_SCHED_SMT=y -CONFIG_NR_CPUS=4 -CONFIG_NUMA=y -CONFIG_SECCOMP=y -CONFIG_PARAVIRT=y -CONFIG_CRASH_DUMP=y -CONFIG_COMPAT=y -CONFIG_RANDOMIZE_BASE=y -# CONFIG_EFI is not set -# CONFIG_SUSPEND is not set -CONFIG_PM=y -CONFIG_PM_DEBUG=y -CONFIG_PM_ADVANCED_DEBUG=y -CONFIG_CPU_IDLE=y -CONFIG_CPU_IDLE_GOV_LADDER=y -CONFIG_ARM_CPUIDLE=y -CONFIG_ARM_PSCI_CPUIDLE=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_STAT=y -CONFIG_CPU_FREQ_GOV_POWERSAVE=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y -CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y -CONFIG_CPUFREQ_DT=y -CONFIG_ARM_SCPI_CPUFREQ=y -CONFIG_ARM_MEDIATEK_CPUFREQ=y -CONFIG_ARM_SCPI_PROTOCOL=y -CONFIG_JUMP_LABEL=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_BLK_DEBUG_FS is not set -# CONFIG_MQ_IOSCHED_KYBER is not set -# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set -CONFIG_KSM=y -CONFIG_MEMORY_FAILURE=y -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_CMA=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_UNIX_DIAG=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_INET_UDP_DIAG=y -# CONFIG_IPV6 is not set -CONFIG_CFG80211=y -# CONFIG_CFG80211_DEFAULT_PS is not set -CONFIG_MAC80211=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_FW_LOADER_USER_HELPER=y -CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y -CONFIG_BRCMSTB_GISB_ARB=y -CONFIG_VEXPRESS_CONFIG=y -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_CFI_ADV_OPTIONS=y -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_CFI_STAA=y -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_OF=y -CONFIG_MTD_DATAFLASH=y -CONFIG_MTD_SST25L=y -CONFIG_MTD_RAW_NAND=y -CONFIG_MTD_NAND_DENALI_DT=y -CONFIG_MTD_SPI_NOR=y -CONFIG_SPI_CADENCE_QUADSPI=y -CONFIG_OF_OVERLAY=y -# CONFIG_BLK_DEV is not set -CONFIG_SRAM=y -CONFIG_EEPROM_AT24=m -CONFIG_EEPROM_AT25=m -CONFIG_RAID_ATTRS=m -CONFIG_SCSI=y -# CONFIG_SCSI_PROC_FS is not set -CONFIG_BLK_DEV_SD=y -CONFIG_SCSI_SAS_LIBSAS=y -CONFIG_SCSI_UFSHCD=y -CONFIG_SCSI_UFSHCD_PLATFORM=y -CONFIG_MD=y -CONFIG_BLK_DEV_MD=m -CONFIG_BLK_DEV_DM=m -CONFIG_DM_MIRROR=m -CONFIG_DM_ZERO=m -CONFIG_NETDEVICES=y -# CONFIG_ETHERNET is not set -CONFIG_USB_RTL8152=y -CONFIG_USB_USBNET=y -# CONFIG_USB_NET_AX88179_178A is not set -# CONFIG_USB_NET_NET1080 is not set -# CONFIG_USB_NET_CDC_SUBSET is not set -# CONFIG_USB_NET_ZAURUS is not set -# CONFIG_WLAN_VENDOR_ADMTEK is not set -# CONFIG_WLAN_VENDOR_ATH is not set -# CONFIG_WLAN_VENDOR_ATMEL is not set -# CONFIG_WLAN_VENDOR_BROADCOM is not set -# CONFIG_WLAN_VENDOR_CISCO is not set -# CONFIG_WLAN_VENDOR_INTEL is not set -# CONFIG_WLAN_VENDOR_INTERSIL is not set -CONFIG_MWIFIEX=m -CONFIG_MWIFIEX_SDIO=m -# CONFIG_WLAN_VENDOR_MEDIATEK is not set -# CONFIG_WLAN_VENDOR_RALINK is not set -# CONFIG_WLAN_VENDOR_REALTEK is not set -# CONFIG_WLAN_VENDOR_RSI is not set -# CONFIG_WLAN_VENDOR_ST is not set -# CONFIG_WLAN_VENDOR_TI is not set -# CONFIG_WLAN_VENDOR_ZYDAS is not set -# CONFIG_WLAN_VENDOR_QUANTENNA is not set -CONFIG_INPUT_POLLDEV=m -CONFIG_INPUT_EVDEV=y -CONFIG_KEYBOARD_ADC=m -CONFIG_KEYBOARD_GPIO=y -CONFIG_KEYBOARD_CROS_EC=y -CONFIG_MOUSE_ELAN_I2C=y -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_TOUCHSCREEN_ATMEL_MXT=m -CONFIG_TOUCHSCREEN_ELAN=y -CONFIG_INPUT_MISC=y -# CONFIG_SERIO_SERPORT is not set -CONFIG_SERIO_AMBAKMI=y -CONFIG_LEGACY_PTY_COUNT=16 -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_EXTENDED=y -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_8250_DW=y -CONFIG_SERIAL_8250_MT6577=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_SERIAL_XILINX_PS_UART=y -CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y -CONFIG_SERIAL_FSL_LPUART=y -CONFIG_SERIAL_FSL_LPUART_CONSOLE=y -CONFIG_SERIAL_FSL_LINFLEXUART=y -CONFIG_SERIAL_FSL_LINFLEXUART_CONSOLE=y -CONFIG_SERIAL_DEV_BUS=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_IPMI_HANDLER=m -CONFIG_IPMI_DEVICE_INTERFACE=m -CONFIG_IPMI_SI=m -CONFIG_TCG_TPM=y -CONFIG_TCG_TIS_I2C_INFINEON=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MUX_PCA954x=y -CONFIG_I2C_DESIGNWARE_PLATFORM=y -CONFIG_I2C_GPIO=m -CONFIG_I2C_MT65XX=y -CONFIG_I2C_RK3X=y -CONFIG_I2C_CROS_EC_TUNNEL=y -CONFIG_I2C_SLAVE=y -CONFIG_SPI=y -CONFIG_SPI_NXP_FLEXSPI=y -CONFIG_SPI_GPIO=y -CONFIG_SPI_MT65XX=y -CONFIG_SPI_PL022=y -CONFIG_SPI_ROCKCHIP=y -CONFIG_SPI_SPIDEV=y -CONFIG_PINCTRL_SINGLE=y -CONFIG_PINCTRL_MAX77620=y -CONFIG_GPIO_ALTERA=m -CONFIG_GPIO_DWAPB=y -CONFIG_GPIO_MB86S7X=y -CONFIG_GPIO_PL061=y -CONFIG_GPIO_XGENE=y -CONFIG_GPIO_MAX732X=y -CONFIG_GPIO_PCA953X=y -CONFIG_GPIO_PCA953X_IRQ=y -CONFIG_GPIO_BD9571MWV=m -CONFIG_GPIO_MAX77620=y -CONFIG_POWER_AVS=y -CONFIG_POWER_RESET_BRCMSTB=y -CONFIG_POWER_RESET_XGENE=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_SYSCON_REBOOT_MODE=y -CONFIG_BATTERY_SBS=m -CONFIG_BATTERY_BQ27XXX=y -CONFIG_SENSORS_ARM_SCPI=y -CONFIG_SENSORS_LM90=m -CONFIG_SENSORS_PWM_FAN=m -CONFIG_SENSORS_INA2XX=m -CONFIG_SENSORS_INA3221=m -CONFIG_THERMAL=y -CONFIG_CPU_THERMAL=y -CONFIG_DEVFREQ_THERMAL=y -CONFIG_THERMAL_EMULATION=y -CONFIG_WATCHDOG=y -CONFIG_MEDIATEK_WATCHDOG=y -CONFIG_MFD_BD9571MWV=y -CONFIG_MFD_AXP20X_I2C=y -CONFIG_MFD_HI6421_PMIC=y -CONFIG_MFD_MAX77620=y -CONFIG_MFD_MT6397=y -CONFIG_MFD_RK808=y -CONFIG_MFD_SEC_CORE=y -CONFIG_MFD_ROHM_BD718XX=y -CONFIG_REGULATOR_DEBUG=y -CONFIG_REGULATOR_FIXED_VOLTAGE=y -CONFIG_REGULATOR_AXP20X=y -CONFIG_REGULATOR_BD718XX=y -CONFIG_REGULATOR_BD9571MWV=y -CONFIG_REGULATOR_DA9211=y -CONFIG_REGULATOR_FAN53555=y -CONFIG_REGULATOR_GPIO=y -CONFIG_REGULATOR_HI6421V530=y -CONFIG_REGULATOR_MAX77620=y -CONFIG_REGULATOR_MAX8973=y -CONFIG_REGULATOR_MT6397=y -CONFIG_REGULATOR_PFUZE100=y -CONFIG_REGULATOR_PWM=y -CONFIG_REGULATOR_RK808=y -CONFIG_REGULATOR_S2MPS11=y -CONFIG_REGULATOR_VCTRL=m -CONFIG_MEDIA_SUPPORT=y -CONFIG_MEDIA_CAMERA_SUPPORT=y -CONFIG_MEDIA_ANALOG_TV_SUPPORT=y -CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y -CONFIG_MEDIA_SDR_SUPPORT=y -CONFIG_VIDEO_V4L2_SUBDEV_API=y -CONFIG_MEDIA_USB_SUPPORT=y -CONFIG_USB_VIDEO_CLASS=m -CONFIG_DRM=y -CONFIG_DRM_I2C_CH7006=m -CONFIG_DRM_I2C_SIL164=m -CONFIG_DRM_I2C_NXP_TDA998X=m -CONFIG_DRM_MALI_DISPLAY=m -CONFIG_DRM_PANEL_LVDS=m -CONFIG_DRM_PANEL_SIMPLE=y -CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m -CONFIG_DRM_DISPLAY_CONNECTOR=y -CONFIG_DRM_PARADE_PS8640=y -CONFIG_DRM_SII902X=m -CONFIG_DRM_THINE_THC63LVD1024=m -CONFIG_DRM_TI_SN65DSI86=m -CONFIG_DRM_ANALOGIX_ANX78XX=y -CONFIG_DRM_I2C_ADV7511=m -CONFIG_DRM_MEDIATEK=y -CONFIG_DRM_MEDIATEK_HDMI=y -CONFIG_FB_MODE_HELPERS=y -CONFIG_FB_SIMPLE=y -CONFIG_BACKLIGHT_CLASS_DEVICE=y -CONFIG_BACKLIGHT_PWM=y -CONFIG_BACKLIGHT_LP855X=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_SOC=y -CONFIG_SND_SOC_MT8173=y -CONFIG_SND_SOC_MT8173_RT5650_RT5676=y -CONFIG_I2C_HID=m -CONFIG_USB_CONN_GPIO=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_HCD_PLATFORM=y -CONFIG_USB_OHCI_HCD=y -CONFIG_USB_OHCI_HCD_PLATFORM=y -CONFIG_USB_STORAGE=y -CONFIG_USB_MTU3=y -CONFIG_USB_MUSB_HDRC=y -CONFIG_USB_DWC3=y -CONFIG_USB_DWC2=y -CONFIG_USB_CHIPIDEA=y -CONFIG_USB_CHIPIDEA_UDC=y -CONFIG_USB_CHIPIDEA_HOST=y -CONFIG_USB_ISP1760=y -CONFIG_USB_SERIAL=y -CONFIG_USB_SERIAL_CONSOLE=y -CONFIG_USB_SERIAL_PL2303=y -CONFIG_USB_HSIC_USB3503=y -CONFIG_NOP_USB_XCEIV=y -CONFIG_USB_ULPI=y -CONFIG_USB_GADGET=y -CONFIG_USB_SNP_UDC_PLAT=y -CONFIG_USB_BDC_UDC=y -CONFIG_USB_ETH=m -CONFIG_USB_ETH_EEM=y -CONFIG_TYPEC=m -CONFIG_TYPEC_TCPM=m -CONFIG_TYPEC_FUSB302=m -CONFIG_MMC=y -CONFIG_MMC_BLOCK_MINORS=32 -CONFIG_MMC_ARMMMCI=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_SDHCI_OF_ARASAN=y -CONFIG_MMC_SDHCI_CADENCE=y -CONFIG_MMC_SDHCI_F_SDH30=y -CONFIG_MMC_SPI=y -CONFIG_MMC_DW=y -CONFIG_MMC_DW_EXYNOS=y -CONFIG_MMC_DW_HI3798CV200=y -CONFIG_MMC_DW_K3=y -CONFIG_MMC_MTK=y -CONFIG_MMC_SDHCI_XENON=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_PWM=y -CONFIG_LEDS_SYSCON=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_CPU=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -CONFIG_LEDS_TRIGGER_PANIC=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_DS1307=m -CONFIG_RTC_DRV_MAX77686=y -CONFIG_RTC_DRV_RK808=m -CONFIG_RTC_DRV_PCF85363=m -CONFIG_RTC_DRV_RX8581=m -CONFIG_RTC_DRV_S5M=y -CONFIG_RTC_DRV_DS3232=y -CONFIG_RTC_DRV_PCF2127=m -CONFIG_RTC_DRV_CROS_EC=y -CONFIG_RTC_DRV_PL031=y -CONFIG_DMADEVICES=y -CONFIG_FSL_EDMA=y -CONFIG_MV_XOR_V2=y -CONFIG_PL330_DMA=y -CONFIG_MTK_CQDMA=y -CONFIG_QCOM_HIDMA_MGMT=y -CONFIG_QCOM_HIDMA=y -# CONFIG_VIRTIO_MENU is not set -CONFIG_MFD_CROS_EC=y -CONFIG_CROS_EC_I2C=y -CONFIG_CROS_EC_SPI=y -CONFIG_COMMON_CLK_RK808=y -CONFIG_COMMON_CLK_SCPI=y -CONFIG_COMMON_CLK_CS2000_CP=y -CONFIG_COMMON_CLK_S2MPS11=y -CONFIG_CLK_QORIQ=y -CONFIG_COMMON_CLK_XGENE=y -CONFIG_COMMON_CLK_PWM=y -CONFIG_COMMON_CLK_VC5=y -CONFIG_COMMON_CLK_MT6797_MMSYS=y -CONFIG_COMMON_CLK_MT6797_IMGSYS=y -CONFIG_COMMON_CLK_MT6797_VDECSYS=y -CONFIG_COMMON_CLK_MT6797_VENCSYS=y -CONFIG_HWSPINLOCK=y -CONFIG_ARM_MHU=y -CONFIG_PLATFORM_MHU=y -CONFIG_ARM_SMMU=y -CONFIG_ARM_SMMU_V3=y -CONFIG_MTK_IOMMU=y -CONFIG_REMOTEPROC=y -CONFIG_MTK_CMDQ=y -CONFIG_MTK_PMIC_WRAP=y -CONFIG_EXTCON_USB_GPIO=y -CONFIG_EXTCON_USBC_CROS_EC=y -CONFIG_IIO=y -CONFIG_MAX9611=m -CONFIG_IIO_CROS_EC_SENSORS_CORE=m -CONFIG_IIO_CROS_EC_SENSORS=m -CONFIG_IIO_CROS_EC_LIGHT_PROX=m -CONFIG_SENSORS_ISL29018=m -CONFIG_IIO_CROS_EC_BARO=m -CONFIG_MPL3115=m -CONFIG_PWM=y -CONFIG_PWM_CROS_EC=m -CONFIG_PWM_MTK_DISP=y -CONFIG_PWM_MEDIATEK=y -CONFIG_PHY_XGENE=y -CONFIG_PHY_FSL_IMX8MQ_USB=y -CONFIG_PHY_MTK_TPHY=y -CONFIG_PHY_QCOM_USB_HS=y -CONFIG_PHY_SAMSUNG_USB2=y -CONFIG_EXT2_FS=y -CONFIG_EXT3_FS=y -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_FANOTIFY=y -CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y -CONFIG_QUOTA=y -CONFIG_AUTOFS4_FS=y -CONFIG_FUSE_FS=m -CONFIG_CUSE=m -CONFIG_OVERLAY_FS=y -CONFIG_OVERLAY_FS_INDEX=y -CONFIG_OVERLAY_FS_XINO_AUTO=y -CONFIG_OVERLAY_FS_METACOPY=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_HUGETLBFS=y -CONFIG_CONFIGFS_FS=y -CONFIG_PSTORE=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -CONFIG_SECURITY=y -CONFIG_CRYPTO_CRYPTD=y -CONFIG_CRYPTO_DH=m -CONFIG_CRYPTO_ECDH=m -CONFIG_CRYPTO_SEQIV=y -CONFIG_CRYPTO_ECHAINIV=y -CONFIG_CRYPTO_CBC=y -CONFIG_CRYPTO_ECB=y -CONFIG_CRYPTO_XXHASH=m -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA3=m -CONFIG_CRYPTO_DES=m -CONFIG_CRYPTO_ANSI_CPRNG=y -CONFIG_CRYPTO_DEV_CCREE=m -CONFIG_PACKING=y -CONFIG_INDIRECT_PIO=y -CONFIG_CRC_CCITT=m -CONFIG_CRC_T10DIF=y -CONFIG_LIBCRC32C=m -CONFIG_DMA_CMA=y -CONFIG_CMA_SIZE_MBYTES=32 -CONFIG_IRQ_POLL=y -CONFIG_PRINTK_TIME=y -CONFIG_DEBUG_INFO=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_DEBUG_FS=y -CONFIG_DEBUG_KERNEL=y -# CONFIG_SCHED_DEBUG is not set -# CONFIG_DEBUG_PREEMPT is not set -CONFIG_STACKTRACE=y -# CONFIG_FTRACE is not set -# CONFIG_STRICT_DEVMEM is not set \ No newline at end of file diff --git a/buildroot-2021.05/board/chromebook/elm/patches/linux/0001-drm-bridge_connector-Set-default-status-connected-fo.patch b/buildroot-2021.05/board/chromebook/elm/patches/linux/0001-drm-bridge_connector-Set-default-status-connected-fo.patch deleted file mode 100644 index f0373918..00000000 --- a/buildroot-2021.05/board/chromebook/elm/patches/linux/0001-drm-bridge_connector-Set-default-status-connected-fo.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 510d0ad0ce1b51c072309ba12dfb024fc2c3dbac Mon Sep 17 00:00:00 2001 -From: Enric Balletbo i Serra -Date: Wed, 26 Aug 2020 10:15:22 +0200 -Subject: [PATCH 1/5] drm/bridge_connector: Set default status connected for - eDP connectors - -In an eDP application, HPD is not required and on most bridge chips -useless. If HPD is not used, we need to set initial status as connected, -otherwise the connector created by the drm_bridge_connector API remains -in an unknown state. - -Reviewed-by: Laurent Pinchart -Acked-by: Sam Ravnborg -Signed-off-by: Enric Balletbo i Serra -Reviewed-by: Bilal Wasim -Tested-by: Bilal Wasim ---- - drivers/gpu/drm/drm_bridge_connector.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/drivers/gpu/drm/drm_bridge_connector.c b/drivers/gpu/drm/drm_bridge_connector.c -index c6994fe673f3..a58cbde59c34 100644 ---- a/drivers/gpu/drm/drm_bridge_connector.c -+++ b/drivers/gpu/drm/drm_bridge_connector.c -@@ -187,6 +187,7 @@ drm_bridge_connector_detect(struct drm_connector *connector, bool force) - case DRM_MODE_CONNECTOR_DPI: - case DRM_MODE_CONNECTOR_LVDS: - case DRM_MODE_CONNECTOR_DSI: -+ case DRM_MODE_CONNECTOR_eDP: - status = connector_status_connected; - break; - default: --- -2.25.1 - diff --git a/buildroot-2021.05/board/chromebook/elm/patches/linux/0002-drm-bridge-ps8640-Get-the-EDID-from-eDP-control.patch b/buildroot-2021.05/board/chromebook/elm/patches/linux/0002-drm-bridge-ps8640-Get-the-EDID-from-eDP-control.patch deleted file mode 100644 index 5f7517c7..00000000 --- a/buildroot-2021.05/board/chromebook/elm/patches/linux/0002-drm-bridge-ps8640-Get-the-EDID-from-eDP-control.patch +++ /dev/null @@ -1,50 +0,0 @@ -From cc0f2fea61fb34ca84e4812a615e0035d812aa8b Mon Sep 17 00:00:00 2001 -From: Enric Balletbo i Serra -Date: Wed, 26 Aug 2020 10:15:23 +0200 -Subject: [PATCH 2/5] drm/bridge: ps8640: Get the EDID from eDP control - -The PS8640 DSI-to-eDP bridge can retrieve the EDID, so implement the -.get_edid callback and set the flag to indicate the core to use it. - -Reviewed-by: Laurent Pinchart -Acked-by: Sam Ravnborg -Signed-off-by: Enric Balletbo i Serra ---- - drivers/gpu/drm/bridge/parade-ps8640.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c b/drivers/gpu/drm/bridge/parade-ps8640.c -index 4b099196afeb..13755d278db6 100644 ---- a/drivers/gpu/drm/bridge/parade-ps8640.c -+++ b/drivers/gpu/drm/bridge/parade-ps8640.c -@@ -242,8 +242,18 @@ static int ps8640_bridge_attach(struct drm_bridge *bridge, - return ret; - } - -+static struct edid *ps8640_bridge_get_edid(struct drm_bridge *bridge, -+ struct drm_connector *connector) -+{ -+ struct ps8640 *ps_bridge = bridge_to_ps8640(bridge); -+ -+ return drm_get_edid(connector, -+ ps_bridge->page[PAGE0_DP_CNTL]->adapter); -+} -+ - static const struct drm_bridge_funcs ps8640_bridge_funcs = { - .attach = ps8640_bridge_attach, -+ .get_edid = ps8640_bridge_get_edid, - .post_disable = ps8640_post_disable, - .pre_enable = ps8640_pre_enable, - }; -@@ -294,6 +304,8 @@ static int ps8640_probe(struct i2c_client *client) - - ps_bridge->bridge.funcs = &ps8640_bridge_funcs; - ps_bridge->bridge.of_node = dev->of_node; -+ ps_bridge->bridge.ops = DRM_BRIDGE_OP_EDID; -+ ps_bridge->bridge.type = DRM_MODE_CONNECTOR_eDP; - - ps_bridge->page[PAGE0_DP_CNTL] = client; - --- -2.25.1 - diff --git a/buildroot-2021.05/board/chromebook/elm/patches/linux/0003-drm-bridge-ps8640-Return-an-error-for-incorrect-atta.patch b/buildroot-2021.05/board/chromebook/elm/patches/linux/0003-drm-bridge-ps8640-Return-an-error-for-incorrect-atta.patch deleted file mode 100644 index 5f52c454..00000000 --- a/buildroot-2021.05/board/chromebook/elm/patches/linux/0003-drm-bridge-ps8640-Return-an-error-for-incorrect-atta.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 62afc499fc46c8018f40733c31a675b28f0717d8 Mon Sep 17 00:00:00 2001 -From: Enric Balletbo i Serra -Date: Wed, 26 Aug 2020 10:15:24 +0200 -Subject: [PATCH 3/5] drm/bridge: ps8640: Return an error for incorrect attach - flags - -Bridge drivers that implement the new model only shall return an error -from their attach() handler when the DRM_BRIDGE_ATTACH_NO_CONNECTOR flag -is not set. So make sure we return an error because only the new -drm_bridge model is supported. - -Reviewed-by: Sam Ravnborg -Signed-off-by: Enric Balletbo i Serra ---- - drivers/gpu/drm/bridge/parade-ps8640.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c b/drivers/gpu/drm/bridge/parade-ps8640.c -index 13755d278db6..ce3e8b2da8c9 100644 ---- a/drivers/gpu/drm/bridge/parade-ps8640.c -+++ b/drivers/gpu/drm/bridge/parade-ps8640.c -@@ -200,6 +200,10 @@ static int ps8640_bridge_attach(struct drm_bridge *bridge, - .channel = 0, - .node = NULL, - }; -+ -+ if (!(flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR)) -+ return -EINVAL; -+ - /* port@0 is ps8640 dsi input port */ - in_ep = of_graph_get_endpoint_by_regs(dev->of_node, 0, -1); - if (!in_ep) --- -2.25.1 - diff --git a/buildroot-2021.05/board/chromebook/elm/patches/linux/0004-drm-bridge-ps8640-Print-an-error-if-VDO-control-fail.patch b/buildroot-2021.05/board/chromebook/elm/patches/linux/0004-drm-bridge-ps8640-Print-an-error-if-VDO-control-fail.patch deleted file mode 100644 index 4ef074a6..00000000 --- a/buildroot-2021.05/board/chromebook/elm/patches/linux/0004-drm-bridge-ps8640-Print-an-error-if-VDO-control-fail.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 4897262a71cbf55d726d9174f5f646897dc13704 Mon Sep 17 00:00:00 2001 -From: Enric Balletbo i Serra -Date: Wed, 26 Aug 2020 10:15:25 +0200 -Subject: [PATCH 4/5] drm/bridge: ps8640: Print an error if VDO control fails - -Print an error message inside ps8640_bridge_vdo_control() function when -it fails so we can simplify a bit the callers, they will only need to -check the error code. - -Reviewed-by: Sam Ravnborg -Signed-off-by: Enric Balletbo i Serra ---- - drivers/gpu/drm/bridge/parade-ps8640.c | 13 ++++++------- - 1 file changed, 6 insertions(+), 7 deletions(-) - -diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c b/drivers/gpu/drm/bridge/parade-ps8640.c -index ce3e8b2da8c9..9f7b7a9c53c5 100644 ---- a/drivers/gpu/drm/bridge/parade-ps8640.c -+++ b/drivers/gpu/drm/bridge/parade-ps8640.c -@@ -82,8 +82,11 @@ static int ps8640_bridge_vdo_control(struct ps8640 *ps_bridge, - ret = i2c_smbus_write_i2c_block_data(client, PAGE3_SET_ADD, - sizeof(vdo_ctrl_buf), - vdo_ctrl_buf); -- if (ret < 0) -+ if (ret < 0) { -+ DRM_ERROR("failed to %sable VDO: %d\n", -+ ctrl == ENABLE ? "en" : "dis", ret); - return ret; -+ } - - return 0; - } -@@ -150,10 +153,8 @@ static void ps8640_pre_enable(struct drm_bridge *bridge) - } - - ret = ps8640_bridge_vdo_control(ps_bridge, ENABLE); -- if (ret) { -- DRM_ERROR("failed to enable VDO: %d\n", ret); -+ if (ret) - goto err_regulators_disable; -- } - - /* Switch access edp panel's edid through i2c */ - ret = i2c_smbus_write_byte_data(client, PAGE2_I2C_BYPASS, -@@ -175,9 +176,7 @@ static void ps8640_post_disable(struct drm_bridge *bridge) - struct ps8640 *ps_bridge = bridge_to_ps8640(bridge); - int ret; - -- ret = ps8640_bridge_vdo_control(ps_bridge, DISABLE); -- if (ret < 0) -- DRM_ERROR("failed to disable VDO: %d\n", ret); -+ ps8640_bridge_vdo_control(ps_bridge, DISABLE); - - gpiod_set_value(ps_bridge->gpio_reset, 1); - gpiod_set_value(ps_bridge->gpio_powerdown, 1); --- -2.25.1 - diff --git a/buildroot-2021.05/board/chromebook/elm/patches/linux/0005-drm-bridge-ps8640-Rework-power-state-handling.patch b/buildroot-2021.05/board/chromebook/elm/patches/linux/0005-drm-bridge-ps8640-Rework-power-state-handling.patch deleted file mode 100644 index f682600d..00000000 --- a/buildroot-2021.05/board/chromebook/elm/patches/linux/0005-drm-bridge-ps8640-Rework-power-state-handling.patch +++ /dev/null @@ -1,162 +0,0 @@ -From 5bb60fe7c748a0aae2bdbab10e73b2dc48c09dda Mon Sep 17 00:00:00 2001 -From: Enric Balletbo i Serra -Date: Wed, 26 Aug 2020 10:15:26 +0200 -Subject: [PATCH 5/5] drm/bridge: ps8640: Rework power state handling - -The get_edid() callback can be triggered anytime by an ioctl, i.e - - drm_mode_getconnector (ioctl) - -> drm_helper_probe_single_connector_modes - -> drm_bridge_connector_get_modes - -> ps8640_bridge_get_edid - -Actually if the bridge pre_enable() function was not called before -get_edid(), the driver will not be able to get the EDID properly and -display will not work until a second get_edid() call is issued and if -pre_enable() is called before. The side effect of this, for example, is -that you see anything when `Frecon` starts, neither the splash screen, -until the graphical session manager starts. - -To fix this we need to make sure that all we need is enabled before -reading the EDID. This means the following: - -1. If get_edid() is called before having the device powered we need to - power on the device. In such case, the driver will power off again the - device. - -2. If get_edid() is called after having the device powered, all should - just work. We added a powered flag in order to avoid recurrent calls - to ps8640_bridge_poweron() and unneeded delays. - -3. This seems to be specific for this device, but we need to make sure - the panel is powered on before do a power on cycle on this device. - Otherwise the device fails to retrieve the EDID. - -Signed-off-by: Enric Balletbo i Serra ---- - drivers/gpu/drm/bridge/parade-ps8640.c | 64 +++++++++++++++++++++++--- - 1 file changed, 58 insertions(+), 6 deletions(-) - -diff --git a/drivers/gpu/drm/bridge/parade-ps8640.c b/drivers/gpu/drm/bridge/parade-ps8640.c -index 9f7b7a9c53c5..c5d76e209bda 100644 ---- a/drivers/gpu/drm/bridge/parade-ps8640.c -+++ b/drivers/gpu/drm/bridge/parade-ps8640.c -@@ -65,6 +65,7 @@ struct ps8640 { - struct regulator_bulk_data supplies[2]; - struct gpio_desc *gpio_reset; - struct gpio_desc *gpio_powerdown; -+ bool powered; - }; - - static inline struct ps8640 *bridge_to_ps8640(struct drm_bridge *e) -@@ -91,13 +92,15 @@ static int ps8640_bridge_vdo_control(struct ps8640 *ps_bridge, - return 0; - } - --static void ps8640_pre_enable(struct drm_bridge *bridge) -+static void ps8640_bridge_poweron(struct ps8640 *ps_bridge) - { -- struct ps8640 *ps_bridge = bridge_to_ps8640(bridge); - struct i2c_client *client = ps_bridge->page[PAGE2_TOP_CNTL]; - unsigned long timeout; - int ret, status; - -+ if (ps_bridge->powered) -+ return; -+ - ret = regulator_bulk_enable(ARRAY_SIZE(ps_bridge->supplies), - ps_bridge->supplies); - if (ret < 0) { -@@ -164,6 +167,8 @@ static void ps8640_pre_enable(struct drm_bridge *bridge) - goto err_regulators_disable; - } - -+ ps_bridge->powered = true; -+ - return; - - err_regulators_disable: -@@ -171,12 +176,12 @@ static void ps8640_pre_enable(struct drm_bridge *bridge) - ps_bridge->supplies); - } - --static void ps8640_post_disable(struct drm_bridge *bridge) -+static void ps8640_bridge_poweroff(struct ps8640 *ps_bridge) - { -- struct ps8640 *ps_bridge = bridge_to_ps8640(bridge); - int ret; - -- ps8640_bridge_vdo_control(ps_bridge, DISABLE); -+ if (!ps_bridge->powered) -+ return; - - gpiod_set_value(ps_bridge->gpio_reset, 1); - gpiod_set_value(ps_bridge->gpio_powerdown, 1); -@@ -184,6 +189,28 @@ static void ps8640_post_disable(struct drm_bridge *bridge) - ps_bridge->supplies); - if (ret < 0) - DRM_ERROR("cannot disable regulators %d\n", ret); -+ -+ ps_bridge->powered = false; -+} -+ -+static void ps8640_pre_enable(struct drm_bridge *bridge) -+{ -+ struct ps8640 *ps_bridge = bridge_to_ps8640(bridge); -+ int ret; -+ -+ ps8640_bridge_poweron(ps_bridge); -+ -+ ret = ps8640_bridge_vdo_control(ps_bridge, DISABLE); -+ if (ret < 0) -+ ps8640_bridge_poweroff(ps_bridge); -+} -+ -+static void ps8640_post_disable(struct drm_bridge *bridge) -+{ -+ struct ps8640 *ps_bridge = bridge_to_ps8640(bridge); -+ -+ ps8640_bridge_vdo_control(ps_bridge, DISABLE); -+ ps8640_bridge_poweroff(ps_bridge); - } - - static int ps8640_bridge_attach(struct drm_bridge *bridge, -@@ -249,9 +276,34 @@ static struct edid *ps8640_bridge_get_edid(struct drm_bridge *bridge, - struct drm_connector *connector) - { - struct ps8640 *ps_bridge = bridge_to_ps8640(bridge); -+ bool poweroff = !ps_bridge->powered; -+ struct edid *edid; -+ -+ /* -+ * When we end calling get_edid() triggered by an ioctl, i.e -+ * -+ * drm_mode_getconnector (ioctl) -+ * -> drm_helper_probe_single_connector_modes -+ * -> drm_bridge_connector_get_modes -+ * -> ps8640_bridge_get_edid -+ * -+ * We need to make sure that what we need is enabled before reading -+ * EDID, for this chip, we need to do a full poweron, otherwise it will -+ * fail. -+ */ -+ drm_bridge_chain_pre_enable(bridge); - -- return drm_get_edid(connector, -+ edid = drm_get_edid(connector, - ps_bridge->page[PAGE0_DP_CNTL]->adapter); -+ -+ /* -+ * If we call the get_edid() function without having enabled the chip -+ * before, return the chip to its original power state. -+ */ -+ if (poweroff) -+ drm_bridge_chain_post_disable(bridge); -+ -+ return edid; - } - - static const struct drm_bridge_funcs ps8640_bridge_funcs = { --- -2.25.1 - diff --git a/buildroot-2021.05/board/chromebook/elm/patches/linux/0006-Revert-drm-mediatek-dsi-Fix-scrolling-of-panel-with-.patch b/buildroot-2021.05/board/chromebook/elm/patches/linux/0006-Revert-drm-mediatek-dsi-Fix-scrolling-of-panel-with-.patch deleted file mode 100644 index 43bffe52..00000000 --- a/buildroot-2021.05/board/chromebook/elm/patches/linux/0006-Revert-drm-mediatek-dsi-Fix-scrolling-of-panel-with-.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 51109530891c981b681816152bd205724deabcca Mon Sep 17 00:00:00 2001 -From: Jitao Shi -Date: Sat, 10 Oct 2020 15:09:09 +0800 -Subject: [PATCH] Revert "drm/mediatek: dsi: Fix scrolling of panel with small - hfp or hbp" - -This reverts commit 35bf948f1edbf507f6e57e0879fa6ea36d2d2930. - -Signed-off-by: Jitao Shi -Reviewed-by: Bilal Wasim -Tested-by: Bilal Wasim ---- - drivers/gpu/drm/mediatek/mtk_dsi.c | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/drivers/gpu/drm/mediatek/mtk_dsi.c b/drivers/gpu/drm/mediatek/mtk_dsi.c -index 80b7a082e874..16fd99dcdacf 100644 ---- a/drivers/gpu/drm/mediatek/mtk_dsi.c -+++ b/drivers/gpu/drm/mediatek/mtk_dsi.c -@@ -466,13 +466,14 @@ static void mtk_dsi_config_vdo_timing(struct mtk_dsi *dsi) - horizontal_sync_active_byte = (vm->hsync_len * dsi_tmp_buf_bpp - 10); - - if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) -- horizontal_backporch_byte = vm->hback_porch * dsi_tmp_buf_bpp; -+ horizontal_backporch_byte = -+ (vm->hback_porch * dsi_tmp_buf_bpp - 10); - else -- horizontal_backporch_byte = (vm->hback_porch + vm->hsync_len) * -- dsi_tmp_buf_bpp; -+ horizontal_backporch_byte = ((vm->hback_porch + vm->hsync_len) * -+ dsi_tmp_buf_bpp - 10); - - data_phy_cycles = timing->lpx + timing->da_hs_prepare + -- timing->da_hs_zero + timing->da_hs_exit; -+ timing->da_hs_zero + timing->da_hs_exit + 3; - - if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { - if ((vm->hfront_porch + vm->hback_porch) * dsi_tmp_buf_bpp > --- -2.25.1 - diff --git a/buildroot-2021.05/board/ci20/genimage.cfg b/buildroot-2021.05/board/ci20/genimage.cfg deleted file mode 100644 index 5f8a16c6..00000000 --- a/buildroot-2021.05/board/ci20/genimage.cfg +++ /dev/null @@ -1,28 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition uboot-spl { - in-partition-table = "no" - image = "u-boot-spl.bin" - offset = 512 - } - - partition uboot { - in-partition-table = "no" - image = "u-boot.img" - offset = 14k - } - - partition uboot-env { - in-partition-table = "no" - image = "uboot-env.bin" - offset = 526k - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - offset = 2M - } -} diff --git a/buildroot-2021.05/board/cubietech/cubieboard2/genimage.cfg b/buildroot-2021.05/board/cubietech/cubieboard2/genimage.cfg deleted file mode 100644 index b082ab0d..00000000 --- a/buildroot-2021.05/board/cubietech/cubieboard2/genimage.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Minimal SD card image for the Cubieboard2 -# Based in the Orange Pi genimage.cfg - -image boot.vfat { - vfat { - files = { - "zImage", - "sun7i-a20-cubieboard2.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/embest/riotboard/genimage.cfg b/buildroot-2021.05/board/embest/riotboard/genimage.cfg deleted file mode 100644 index 1221c83b..00000000 --- a/buildroot-2021.05/board/embest/riotboard/genimage.cfg +++ /dev/null @@ -1,17 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.imx" - offset = 1024 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - offset = 1M - size = 60M - } -} diff --git a/buildroot-2021.05/board/engicam/geam6ul/genimage.cfg b/buildroot-2021.05/board/engicam/geam6ul/genimage.cfg deleted file mode 100644 index fcca6e17..00000000 --- a/buildroot-2021.05/board/engicam/geam6ul/genimage.cfg +++ /dev/null @@ -1,38 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "imx6ul-geam-kit.dtb" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1024 - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/buildroot-2021.05/board/engicam/icorem6/genimage.cfg b/buildroot-2021.05/board/engicam/icorem6/genimage.cfg deleted file mode 100644 index 835d9058..00000000 --- a/buildroot-2021.05/board/engicam/icorem6/genimage.cfg +++ /dev/null @@ -1,41 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "imx6dl-icore.dtb", - "imx6q-icore.dtb", - "imx6q-icore-ofcap10.dtb", - "imx6q-icore-ofcap12.dtb" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1024 - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/buildroot-2021.05/board/engicam/icorem6_rqs/genimage.cfg b/buildroot-2021.05/board/engicam/icorem6_rqs/genimage.cfg deleted file mode 100644 index 967d10b1..00000000 --- a/buildroot-2021.05/board/engicam/icorem6_rqs/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "imx6dl-icore-rqs.dtb", - "imx6q-icore-rqs.dtb" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1024 - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/buildroot-2021.05/board/engicam/isiot/genimage.cfg b/buildroot-2021.05/board/engicam/isiot/genimage.cfg deleted file mode 100644 index dc8c20db..00000000 --- a/buildroot-2021.05/board/engicam/isiot/genimage.cfg +++ /dev/null @@ -1,38 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "imx6ul-isiot-emmc.dtb" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1024 - } - - partition u-boot-dtb { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl b/buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl deleted file mode 100644 index c2903257..00000000 --- a/buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl +++ /dev/null @@ -1,30 +0,0 @@ -# Minimal SD card image for the Freescale boards Template for SPL Boot -# -# We mimic the .sdcard Freescale's image format: -# * the SD card must have 1 kB free space at the beginning, -# * SPL is at the offset expected by ROM, -# * U-Boot is at the offset expected by SPL, -# * The first partition is expected to be an ext2 and have a /boot directory. -# - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "SPL" - offset = 1024 - } - - partition u-boot { - in-partition-table = "no" - image = "%UBOOTBIN%" - offset = 69K - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/buildroot-2021.05/board/freescale/common/imx/post-image.sh b/buildroot-2021.05/board/freescale/common/imx/post-image.sh deleted file mode 100755 index 0c2ef53d..00000000 --- a/buildroot-2021.05/board/freescale/common/imx/post-image.sh +++ /dev/null @@ -1,109 +0,0 @@ -#!/usr/bin/env bash - -# -# dtb_list extracts the list of DTB files from BR2_LINUX_KERNEL_INTREE_DTS_NAME -# in ${BR_CONFIG}, then prints the corresponding list of file names for the -# genimage configuration file -# -dtb_list() -{ - local DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([\/a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})" - - for dt in $DTB_LIST; do - echo -n "\"`basename $dt`.dtb\", " - done -} - -# -# linux_image extracts the Linux image format from BR2_LINUX_KERNEL_UIMAGE in -# ${BR_CONFIG}, then prints the corresponding file name for the genimage -# configuration file -# -linux_image() -{ - if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then - echo "\"uImage\"" - elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then - echo "\"Image\"" - else - echo "\"zImage\"" - fi -} - -genimage_type() -{ - if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" ${BR2_CONFIG}; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" ${BR2_CONFIG}; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y$" ${BR2_CONFIG}; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y$" ${BR2_CONFIG}; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X=y$" ${BR2_CONFIG}; then - echo "genimage.cfg.template_imx8" - elif grep -Eq "^BR2_LINUX_KERNEL_INSTALL_TARGET=y$" ${BR2_CONFIG}; then - if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then - echo "genimage.cfg.template_no_boot_part_spl" - fi - elif grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then - echo "genimage.cfg.template_spl" - else - echo "genimage.cfg.template" - fi -} - -imx_offset() -{ - if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then - echo "33K" - elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" ${BR2_CONFIG}; then - echo "33K" - else - echo "32K" - fi -} - -uboot_image() -{ - if grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y$" ${BR2_CONFIG}; then - echo "u-boot-dtb.imx" - elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMX=y$" ${BR2_CONFIG}; then - echo "u-boot.imx" - elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y$" ${BR2_CONFIG}; then - echo "u-boot-dtb.img" - elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMG=y$" ${BR2_CONFIG}; then - echo "u-boot.img" - fi -} - -main() -{ - local FILES="$(dtb_list) $(linux_image)" - local IMXOFFSET="$(imx_offset)" - local UBOOTBIN="$(uboot_image)" - local GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)" - local GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - - sed -e "s/%FILES%/${FILES}/" \ - -e "s/%IMXOFFSET%/${IMXOFFSET}/" \ - -e "s/%UBOOTBIN%/${UBOOTBIN}/" \ - board/freescale/common/imx/$(genimage_type) > ${GENIMAGE_CFG} - - rm -rf "${GENIMAGE_TMP}" - - genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - - rm -f ${GENIMAGE_CFG} - - exit $? -} - -main $@ diff --git a/buildroot-2021.05/board/friendlyarm/nanopc-t4/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopc-t4/genimage.cfg deleted file mode 100644 index b3202f75..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopc-t4/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "rk3399-nanopc-t4.dtb", - "extlinux" - } - } - size = 64M -} - -image sdcard.img { - - hdimage { - gpt = true - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot.itb" - offset = 8M - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-a64/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopi-a64/genimage.cfg deleted file mode 100644 index 66b6c5f4..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopi-a64/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-nanopi-a64.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m1-plus/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopi-m1-plus/genimage.cfg deleted file mode 100644 index fdb3b906..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopi-m1-plus/genimage.cfg +++ /dev/null @@ -1,35 +0,0 @@ -# Minimal SD card image for the NanoPi M1 Plus -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-nanopi-m1-plus.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m1/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopi-m1/genimage.cfg deleted file mode 100644 index 23c9c7dc..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopi-m1/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the NanoPi M1 -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-nanopi-m1.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m4/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopi-m4/genimage.cfg deleted file mode 100644 index f14d493a..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopi-m4/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "rk3399-nanopi-m4.dtb", - "extlinux" - } - } - size = 64M -} - -image sdcard.img { - - hdimage { - gpt = true - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot.itb" - offset = 8M - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/genimage.cfg deleted file mode 100644 index fb871abd..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h5-nanopi-neo-plus2.dtb", - "extlinux" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopi-neo/genimage.cfg deleted file mode 100644 index f6adc4af..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopi-neo/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-nanopi-neo.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo2/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopi-neo2/genimage.cfg deleted file mode 100644 index ebe123b7..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopi-neo2/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h5-nanopi-neo2.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-r1/genimage.cfg b/buildroot-2021.05/board/friendlyarm/nanopi-r1/genimage.cfg deleted file mode 100644 index 6f5f35dc..00000000 --- a/buildroot-2021.05/board/friendlyarm/nanopi-r1/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the NanoPi M1 -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-nanopi-r1.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/grinn/chiliboard/genimage.cfg b/buildroot-2021.05/board/grinn/chiliboard/genimage.cfg deleted file mode 100644 index ffe027e7..00000000 --- a/buildroot-2021.05/board/grinn/chiliboard/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Minimal microSD card image for Grinn's chiliBoard -# - -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img", - "am335x-chiliboard.dtb", - "zImage" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/grinn/liteboard/genimage.cfg b/buildroot-2021.05/board/grinn/liteboard/genimage.cfg deleted file mode 100644 index cbce2db5..00000000 --- a/buildroot-2021.05/board/grinn/liteboard/genimage.cfg +++ /dev/null @@ -1,48 +0,0 @@ -# Minimal microSD card image for Grinn's liteBoard -# -# We mimic the .sdcard Freescale's image format for i.MX6UL: -# * the microSD card must have 1 kB free space at the beginning, -# * SPL is dumped as is, -# * U-Boot is dumped at 69K offset, as configured in SPL -# * a FAT partition at offset 8 MB is containing zImage and dtbs, -# * a single root filesystem partition is required (Ext4 in this case). -# - -image boot.vfat { - vfat { - files = { - "imx6ul-liteboard.dtb", - "zImage" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition SPL { - in-partition-table = "no" - image = "SPL" - offset = 1K - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.img" - offset = 69K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 8M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/hardkernel/odroidc2/genimage.cfg b/buildroot-2021.05/board/hardkernel/odroidc2/genimage.cfg deleted file mode 100644 index f49c1dea..00000000 --- a/buildroot-2021.05/board/hardkernel/odroidc2/genimage.cfg +++ /dev/null @@ -1,38 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "meson-gxbb-odroidc2.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition bl1 { - in-partition-table = "no" - image = "bl1.bin.hardkernel" - offset = 0 - } - - partition u-boot { - in-partition-table = "no" - image = "uboot-odc2.img" - offset = 49664 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/hardkernel/odroidxu4/genimage.cfg b/buildroot-2021.05/board/hardkernel/odroidxu4/genimage.cfg deleted file mode 100644 index e6b85cf2..00000000 --- a/buildroot-2021.05/board/hardkernel/odroidxu4/genimage.cfg +++ /dev/null @@ -1,54 +0,0 @@ -image boot.vfat { - vfat { - files = { - "boot.ini", - "zImage", - "exynos5422-odroidxu4.dtb" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition bl1 { - in-partition-table = "no" - image = "bl1.bin.hardkernel" - offset = 512 - size = 15360 - } - - partition bl2 { - in-partition-table = "no" - image = "bl2.bin.hardkernel.720k_uboot" - offset = 15872 - size = 16384 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-dtb.bin" - offset = 32256 - size = 720k - } - - partition tzsw { - in-partition-table = "no" - image = "tzsw.bin.hardkernel" - offset = 769536 - size = 256k - } - - partition vfat { - partition-type = 0xC - image = "boot.vfat" - offset = 2097152 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/intel/galileo/genimage.cfg b/buildroot-2021.05/board/intel/galileo/genimage.cfg deleted file mode 100644 index 31add21e..00000000 --- a/buildroot-2021.05/board/intel/galileo/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Create an image of the efi partition -image efi-part.vfat { - vfat { - file startup.nsh { - image = "efi-part/startup.nsh" - } - file EFI { - image = "efi-part/EFI" - } - } - size=512K -} - -# Create the sdcard image, pulling in -# * the image created by buildroot -# * the efi-partition created above -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - image = "efi-part.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 512M - } -} diff --git a/buildroot-2021.05/board/kontron/smarc-sal28/genimage.cfg b/buildroot-2021.05/board/kontron/smarc-sal28/genimage.cfg deleted file mode 100644 index f3fb77e0..00000000 --- a/buildroot-2021.05/board/kontron/smarc-sal28/genimage.cfg +++ /dev/null @@ -1,23 +0,0 @@ -image sdcard-emmc.img { - hdimage { - gpt = true - } - - partition rcw { - offset = 4k - in-partition-table = "no" - image = "rcw.bin" - } - - partition u-boot { - offset = 1M - in-partition-table = "no" - image = "u-boot.rom" - } - - partition rootfs { - offset = 2M - image = rootfs.ext4 - partition-uuid = %PARTUUID% - } -} diff --git a/buildroot-2021.05/board/lego/ev3/genimage.cfg b/buildroot-2021.05/board/lego/ev3/genimage.cfg deleted file mode 100644 index 14880e8f..00000000 --- a/buildroot-2021.05/board/lego/ev3/genimage.cfg +++ /dev/null @@ -1,65 +0,0 @@ -# LEGO MINDSTORMS EV3 can boot from a 16MB flash or from a microSD card. -# The U-Boot bootloader from the flash is always used, even when booting -# from a microSD card. - -# The Flash image - -flash nor-16M-256 { - pebsize = 4096 - numpebs = 4096 - minimum-io-unit-size = 256 -} - -image flash.bin { - flash { - } - flashtype = "nor-16M-256" - partition uboot { - image = "u-boot.bin" - size = 256K - } - partition dtb { - image = "da850-lego-ev3.dtb" - size = 64K - offset = 0x40000 - } - partition uimage { - image = "uImage" - size = 4M - offset = 0x50000 - } - partition rootfs { - image = "rootfs.squashfs" - size = 10M - offset = 0x450000 - } -} - -# The SD card image - -image boot.vfat { - vfat { - file uImage { - image = "uImage" - } - file da850-lego-ev3.dtb { - image = "da850-lego-ev3.dtb" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 4M - } - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - } -} diff --git a/buildroot-2021.05/board/lemaker/bananapro/genimage.cfg b/buildroot-2021.05/board/lemaker/bananapro/genimage.cfg deleted file mode 100644 index 190a4b1f..00000000 --- a/buildroot-2021.05/board/lemaker/bananapro/genimage.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Minimal SD card image for the Banana Pro -# Based in the Orange Pi genimage.cfg - -image boot.vfat { - vfat { - files = { - "zImage", - "sun7i-a20-bananapro.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/licheepi/genimage.cfg b/buildroot-2021.05/board/licheepi/genimage.cfg deleted file mode 100644 index 0d8540f2..00000000 --- a/buildroot-2021.05/board/licheepi/genimage.cfg +++ /dev/null @@ -1,35 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-v3s-licheepi-zero-dock.dtb", - "sun8i-v3s-licheepi-zero.dtb", - "boot.scr" - } - } - size = 8M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 516096 # 512KB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 0 - } -} diff --git a/buildroot-2021.05/board/linksprite/pcduino/genimage.cfg b/buildroot-2021.05/board/linksprite/pcduino/genimage.cfg deleted file mode 100644 index 9cbc383d..00000000 --- a/buildroot-2021.05/board/linksprite/pcduino/genimage.cfg +++ /dev/null @@ -1,42 +0,0 @@ -# -# Minimal SD card image for the pcDuino -# - -image boot.vfat { - vfat { - files = { - "zImage", - "sun4i-a10-pcduino.dtb", - "boot.scr" - } - } - size = 16M -} - -# -# Note: u-boot environment is stored between u-boot and boot partitions -# - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/microchip/sam9x60ek_mmc/genimage.cfg b/buildroot-2021.05/board/microchip/sam9x60ek_mmc/genimage.cfg deleted file mode 100644 index c4158109..00000000 --- a/buildroot-2021.05/board/microchip/sam9x60ek_mmc/genimage.cfg +++ /dev/null @@ -1,31 +0,0 @@ -# Image for SD card boot on Microchip SAM9X60-EK -# -image boot.vfat { - vfat { - files = { - "zImage", - "at91-sam9x60ek.dtb", - "boot.bin", - "u-boot.bin" - } - } - size = 16M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 1M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/minnowboard/genimage.cfg b/buildroot-2021.05/board/minnowboard/genimage.cfg deleted file mode 100644 index c5b07179..00000000 --- a/buildroot-2021.05/board/minnowboard/genimage.cfg +++ /dev/null @@ -1,35 +0,0 @@ -# Create an image of the efi partition -image efi-part.vfat { - vfat { - file startup.nsh { - image = "efi-part/startup.nsh" - } - file EFI { - image = "efi-part/EFI" - } - file bzImage { - image = "bzImage" - } - } - size=10M -} - -# Create the sdcard image, pulling in -# * the image created by buildroot -# * the efi-partition created above -image sdcard.img { - hdimage { - gpt = true - } - - partition boot { - partition-type-uuid = U - image = "efi-part.vfat" - } - - partition rootfs { - partition-type-uuid = L - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/nexbox/a95x/genimage.cfg b/buildroot-2021.05/board/nexbox/a95x/genimage.cfg deleted file mode 100644 index 63b96107..00000000 --- a/buildroot-2021.05/board/nexbox/a95x/genimage.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage", - "meson-gxbb-nexbox-a95x.dtb", - "meson-gxl-s905x-nexbox-a95x.dtb", - "boot.scr" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - # for root=PARTUUID support - disk-signature = 0xfeedc0de - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/olimex/a13_olinuxino/genimage.cfg b/buildroot-2021.05/board/olimex/a13_olinuxino/genimage.cfg deleted file mode 100644 index 6f6b0b0b..00000000 --- a/buildroot-2021.05/board/olimex/a13_olinuxino/genimage.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun5i-a13-olinuxino.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/olimex/a20_olinuxino/genimage.cfg b/buildroot-2021.05/board/olimex/a20_olinuxino/genimage.cfg deleted file mode 100644 index fc2f7f8d..00000000 --- a/buildroot-2021.05/board/olimex/a20_olinuxino/genimage.cfg +++ /dev/null @@ -1,17 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/olimex/a33_olinuxino/genimage.cfg b/buildroot-2021.05/board/olimex/a33_olinuxino/genimage.cfg deleted file mode 100644 index fc2f7f8d..00000000 --- a/buildroot-2021.05/board/olimex/a33_olinuxino/genimage.cfg +++ /dev/null @@ -1,17 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/olimex/a64-olinuxino/genimage.cfg b/buildroot-2021.05/board/olimex/a64-olinuxino/genimage.cfg deleted file mode 100644 index 328b68be..00000000 --- a/buildroot-2021.05/board/olimex/a64-olinuxino/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-olinuxino.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-lite/genimage.cfg deleted file mode 100644 index cd81f986..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-lite/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the OrangePi Lite -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-orangepi-lite.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite2/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-lite2/genimage.cfg deleted file mode 100644 index 97251b48..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-lite2/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h6-orangepi-lite2.dtb", - "extlinux" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-one-plus/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-one-plus/genimage.cfg deleted file mode 100644 index ebb07e8b..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-one-plus/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h6-orangepi-one-plus.dtb", - "extlinux" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-one/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-one/genimage.cfg deleted file mode 100644 index 4640ff2b..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-one/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the OrangePi PC -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-orangepi-one.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc-plus/boot.cmd b/buildroot-2021.05/board/orangepi/orangepi-pc-plus/boot.cmd deleted file mode 100644 index 0c75c862..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-pc-plus/boot.cmd +++ /dev/null @@ -1,8 +0,0 @@ -setenv fdt_high ffffffff - -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-h3-orangepi-pc-plus.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc-plus/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-pc-plus/genimage.cfg deleted file mode 100644 index 9ffa1a21..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-pc-plus/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the OrangePi PC Plus -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-orangepi-pc-plus.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-pc/genimage.cfg deleted file mode 100644 index 932d81cf..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-pc/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the OrangePi PC -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-orangepi-pc.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc2/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-pc2/genimage.cfg deleted file mode 100644 index e10c67ff..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-pc2/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h5-orangepi-pc2.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-plus/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-plus/genimage.cfg deleted file mode 100644 index 391678b7..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-plus/genimage.cfg +++ /dev/null @@ -1,35 +0,0 @@ -# Minimal SD card image for the OrangePi Plus\Plus2 -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-orangepi-plus.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-prime/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-prime/genimage.cfg deleted file mode 100644 index bb01ed9f..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-prime/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h5-orangepi-prime.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-r1/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-r1/genimage.cfg deleted file mode 100644 index edda03b3..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-r1/genimage.cfg +++ /dev/null @@ -1,42 +0,0 @@ -# Minimal SD card image for the OrangePi R1 -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h2-plus-orangepi-r1.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - # for root=PARTLABEL support - gpt = true - # default GPT location conflicts with spl, move it after - gpt-location = 1M - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1056768 # 1MB - 8192 + 16384 (GPT) - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - # 'rootfs' will be used as the partition label, used - # with root=PARTLABEL=rootfs kernel command line - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-rk3399/extlinux.conf b/buildroot-2021.05/board/orangepi/orangepi-rk3399/extlinux.conf deleted file mode 100644 index 51096251..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-rk3399/extlinux.conf +++ /dev/null @@ -1,4 +0,0 @@ -label RK3399_ROCKPRO64 linux - kernel /Image - devicetree /rk3399-orangepi.dtb - append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p4 rw rootwait diff --git a/buildroot-2021.05/board/orangepi/orangepi-rk3399/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-rk3399/genimage.cfg deleted file mode 100644 index 21272c28..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-rk3399/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "rk3399-orangepi.dtb", - "extlinux" - } - } - size = 64M -} - -image sdcard.img { - - hdimage { - gpt = true - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot.itb" - offset = 8M - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-win/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-win/genimage.cfg deleted file mode 100644 index db025d55..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-win/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-orangepi-win.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero-plus/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-zero-plus/genimage.cfg deleted file mode 100644 index ec15898d..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-zero-plus/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h5-orangepi-zero-plus.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero-plus2/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-zero-plus2/genimage.cfg deleted file mode 100644 index 98ebf5b4..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-zero-plus2/genimage.cfg +++ /dev/null @@ -1,46 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-h5-orangepi-zero-plus2.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - # for root=PARTLABEL support - gpt = true - # default GPT location conflicts with bootloaders, move it after - gpt-location = 1M - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1024000 # 1MB - 40K + 16K(GPT) - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - # 'rootfs' will be used as the partition label, used - # with root=PARTLABEL=rootfs kernel command line - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 256M - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero/boot.cmd b/buildroot-2021.05/board/orangepi/orangepi-zero/boot.cmd deleted file mode 100644 index 44f0885f..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-zero/boot.cmd +++ /dev/null @@ -1,8 +0,0 @@ -setenv fdt_high ffffffff - -setenv bootargs console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait - -fatload mmc 0 $kernel_addr_r zImage -fatload mmc 0 $fdt_addr_r sun8i-h2-plus-orangepi-zero.dtb - -bootz $kernel_addr_r - $fdt_addr_r diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero/genimage.cfg b/buildroot-2021.05/board/orangepi/orangepi-zero/genimage.cfg deleted file mode 100644 index 017435f2..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-zero/genimage.cfg +++ /dev/null @@ -1,36 +0,0 @@ -# Minimal SD card image for the OrangePi Zero -# -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h2-plus-orangepi-zero.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch b/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch deleted file mode 100644 index 146d23d1..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 321faaf4b78d46a0c77782c1798856746f0619e9 Mon Sep 17 00:00:00 2001 -From: Sergey Matyukevich -Date: Fri, 19 May 2017 23:39:48 +0300 -Subject: [PATCH 1/3] ARM: dts: orange-pi-zero: specify XR819 WiFi chip - interrupts - -The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board -dts file provides a node enabling mmc1 controller. Together with an -out-of-tree driver https://github.com/fifteenhex/xradio this node -enables using the wifi chip. - -This commit specifies XR819 interrupt configuration for the driver. - -Signed-off-by: Sergey Matyukevich ---- - arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -index b7ca916d871d..4e1a9050c6b4 100644 ---- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -@@ -125,6 +125,9 @@ - */ - xr819: sdio_wifi@1 { - reg = <1>; -+ compatible = "xradio,xr819"; -+ interrupt-parent = <&pio>; -+ interrupts = <6 10 IRQ_TYPE_EDGE_RISING>; - }; - }; - --- -2.11.0 - diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch b/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch deleted file mode 100644 index fc24e7b8..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 068c3baff3048a3db4ef2518ff917ce749cd8169 Mon Sep 17 00:00:00 2001 -From: Sergey Matyukevich -Date: Sat, 20 May 2017 11:24:26 +0300 -Subject: [PATCH 2/3] ARM: dts: orange-pi-zero: enable SPI NOR - -Enable SPI NOR on orange-pi-zero board. - -For more information see: -- http://linux-sunxi.org/Orange_Pi_Zero#SPI_NOR_flash - -Signed-off-by: Sergey Matyukevich ---- - arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -index 4e1a9050c6b4..cdf19821b1f3 100644 ---- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -@@ -161,3 +161,19 @@ - /* USB VBUS is always on */ - status = "okay"; - }; -+ -+&spi0 { -+ status = "okay"; -+ -+ flash@0 { -+ #address-cells = <1>; -+ #size-cells = <1>; -+ compatible = "mxicy,mx25l1606e", "winbond,w25q128"; -+ reg = <0>; -+ spi-max-frequency = <40000000>; -+ -+ partition@00000000 { -+ reg = <0x00000000 0x200000>; /* 2Mb */ -+ }; -+ }; -+}; --- -2.11.0 - diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch b/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch deleted file mode 100644 index 553155ce..00000000 --- a/buildroot-2021.05/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 8dd1b2a696bb7e9914abd11cc6f5c0f54c33d626 Mon Sep 17 00:00:00 2001 -From: Sergey Matyukevich -Date: Sat, 20 May 2017 15:36:51 +0300 -Subject: [PATCH 3/3] ARM: dts: orange-pi-zero: enable spidev - -On orange-pi-zero board SPI1 pins are accessible via GPIO expansion port. -This patch enables spidev driver for SPI1. - -Signed-off-by: Sergey Matyukevich ---- - arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -index cdf19821b1f3..7242aaecb14f 100644 ---- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -+++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts -@@ -59,6 +59,7 @@ - serial0 = &uart0; - /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ - ethernet1 = &xr819; -+ spi1 = &spi1; - }; - - chosen { -@@ -177,3 +178,13 @@ - }; - }; - }; -+ -+&spi1 { -+ status = "okay"; -+ -+ spidev@0 { -+ compatible = "rohm,dh2228fv"; -+ reg = <0>; -+ spi-max-frequency = <10000000>; -+ }; -+}; --- -2.11.0 - diff --git a/buildroot-2021.05/board/pandaboard/genimage.cfg b/buildroot-2021.05/board/pandaboard/genimage.cfg deleted file mode 100644 index f30033f0..00000000 --- a/buildroot-2021.05/board/pandaboard/genimage.cfg +++ /dev/null @@ -1,26 +0,0 @@ -image boot.vfat { - vfat { - files = { - "MLO", - "u-boot.img" - } - } - size = 8M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/pc/genimage-bios.cfg b/buildroot-2021.05/board/pc/genimage-bios.cfg deleted file mode 100644 index c6694999..00000000 --- a/buildroot-2021.05/board/pc/genimage-bios.cfg +++ /dev/null @@ -1,24 +0,0 @@ -image disk.img { - - hdimage { - } - - partition boot { - in-partition-table = "no" - image = "boot.img" - offset = 0 - size = 512 - } - - partition grub { - in-partition-table = "no" - image = "grub.img" - offset = 512 - } - - partition root { - partition-type = 0x83 - image = "rootfs.ext2" - } - -} diff --git a/buildroot-2021.05/board/pc/genimage-efi.cfg b/buildroot-2021.05/board/pc/genimage-efi.cfg deleted file mode 100644 index ec7e85b0..00000000 --- a/buildroot-2021.05/board/pc/genimage-efi.cfg +++ /dev/null @@ -1,34 +0,0 @@ -image efi-part.vfat { - vfat { - file startup.nsh { - image = "efi-part/startup.nsh" - } - file EFI { - image = "efi-part/EFI" - } - file bzImage { - image = "bzImage" - } - } - # 16MB - 32KB - size = 16744448 -} - -image disk.img { - hdimage { - gpt = true - } - - partition boot { - image = "efi-part.vfat" - partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b - offset = 32768 - bootable = true - } - - partition root { - partition-type-uuid = 44479540-f297-41b2-9af7-d131d5f0458a - partition-uuid = UUID_TMP - image = "rootfs.ext2" - } -} diff --git a/buildroot-2021.05/board/pc/post-build.sh b/buildroot-2021.05/board/pc/post-build.sh deleted file mode 100755 index ed37b3b8..00000000 --- a/buildroot-2021.05/board/pc/post-build.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -set -e - -BOARD_DIR=$(dirname "$0") - -# Detect boot strategy, EFI or BIOS -if [ -f "$BINARIES_DIR/efi-part/startup.nsh" ]; then - cp -f "$BOARD_DIR/grub-efi.cfg" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg" -else - cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg" - - # Copy grub 1st stage to binaries, required for genimage - cp -f "$HOST_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR" -fi diff --git a/buildroot-2021.05/board/pine64/pine64/genimage.cfg b/buildroot-2021.05/board/pine64/pine64/genimage.cfg deleted file mode 100644 index 2ff38d54..00000000 --- a/buildroot-2021.05/board/pine64/pine64/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-pine64.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/pine64/rock64/genimage.cfg b/buildroot-2021.05/board/pine64/rock64/genimage.cfg deleted file mode 100644 index 0b5a0d88..00000000 --- a/buildroot-2021.05/board/pine64/rock64/genimage.cfg +++ /dev/null @@ -1,23 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition uboot-spl { - in-partition-table = "no" - image = "u-boot-tpl-spl.img" - offset = 32768 # 512 * 0x40 from start of sd card - } - - partition uboot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 262144 # 512 * 0x200 from start of sd card - } - - partition rootfs { - partition-type = 0x83 - bootable = "yes" - image = "rootfs.ext2" - size = 500M - } -} diff --git a/buildroot-2021.05/board/pine64/rockpro64/genimage.cfg b/buildroot-2021.05/board/pine64/rockpro64/genimage.cfg deleted file mode 100644 index 0ba25c0e..00000000 --- a/buildroot-2021.05/board/pine64/rockpro64/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "rk3399-rockpro64.dtb", - "extlinux" - } - } - size = 64M -} - -image sdcard.img { - - hdimage { - gpt = true - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot.itb" - offset = 8M - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/pine64/sopine/genimage.cfg b/buildroot-2021.05/board/pine64/sopine/genimage.cfg deleted file mode 100644 index 02ebe7ab..00000000 --- a/buildroot-2021.05/board/pine64/sopine/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "sun50i-a64-sopine-baseboard.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "sunxi-spl.bin" - offset = 8192 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.itb" - offset = 40K - size = 1M # 1MB - 40K - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/qemu/aarch64-virt/linux.config b/buildroot-2021.05/board/qemu/aarch64-virt/linux.config deleted file mode 100644 index 02e0812f..00000000 --- a/buildroot-2021.05/board/qemu/aarch64-virt/linux.config +++ /dev/null @@ -1,66 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_TASKSTATS=y -CONFIG_SCHED_AUTOGROUP=y -CONFIG_PROFILING=y -CONFIG_ARCH_VEXPRESS=y -CONFIG_COMPAT=y -CONFIG_FW_CFG_SYSFS=y -CONFIG_FW_CFG_SYSFS_CMDLINE=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_BLK_DEV_BSGLIB=y -CONFIG_BINFMT_MISC=y -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_PACKET_DIAG=y -CONFIG_UNIX=y -CONFIG_NET_KEY=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_ADVANCED_ROUTER=y -CONFIG_BRIDGE=m -CONFIG_NET_SCHED=y -CONFIG_VSOCKETS=y -CONFIG_PCI=y -CONFIG_PCI_HOST_GENERIC=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_VIRTIO_BLK=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_SCSI_CONSTANTS=y -CONFIG_SCSI_LOGGING=y -CONFIG_SCSI_SCAN_ASYNC=y -CONFIG_SCSI_VIRTIO=y -CONFIG_ATA=y -CONFIG_NETDEVICES=y -CONFIG_DUMMY=y -CONFIG_MACVLAN=y -CONFIG_VIRTIO_NET=y -CONFIG_NLMON=y -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_HW_RANDOM=y -CONFIG_HW_RANDOM_VIRTIO=y -CONFIG_TCG_TPM=y -CONFIG_TCG_TIS=y -CONFIG_DRM=y -CONFIG_DRM_VIRTIO_GPU=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_PL031=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_MAILBOX=y -CONFIG_PL320_MBOX=y -CONFIG_ARM_SMMU_V3=y -CONFIG_EXT4_FS=y -CONFIG_FUSE_FS=y -CONFIG_VIRTIO_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/arm-versatile/linux-nommu.config b/buildroot-2021.05/board/qemu/arm-versatile/linux-nommu.config deleted file mode 100644 index 1d91d51a..00000000 --- a/buildroot-2021.05/board/qemu/arm-versatile/linux-nommu.config +++ /dev/null @@ -1,47 +0,0 @@ -# CONFIG_MMU is not set -CONFIG_ARCH_VERSATILE=y -CONFIG_ARM_SINGLE_ARCH_VERSATILE=y -CONFIG_SET_MEM_PARAM=y -CONFIG_DRAM_BASE=0x00000000 -CONFIG_DRAM_SIZE=0x08000000 -CONFIG_ARCH_VERSATILE_PB=y -CONFIG_MACH_VERSATILE_AB=y -CONFIG_MACH_VERSATILE_DT=y -CONFIG_BINFMT_FLAT=y -CONFIG_SYSVIPC=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_ARCH_MULTI_V7 is not set -CONFIG_AEABI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_NETDEVICES=y -CONFIG_SMC91X=y -CONFIG_PHYLIB=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIO_AMBAKMI=y -CONFIG_LEGACY_PTY_COUNT=16 -CONFIG_SERIAL_8250=m -CONFIG_SERIAL_8250_EXTENDED=y -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=m -CONFIG_FB=y -CONFIG_FB_ARMCLCD=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_SOUND=y -CONFIG_SND=m -CONFIG_SND_MIXER_OSS=m -CONFIG_SND_PCM_OSS=m -CONFIG_SND_ARMAACI=m -CONFIG_EXT4_FS=y -CONFIG_VFAT_FS=m -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_MAGIC_SYSRQ=y diff --git a/buildroot-2021.05/board/qemu/arm-versatile/linux.config b/buildroot-2021.05/board/qemu/arm-versatile/linux.config deleted file mode 100644 index b1001d84..00000000 --- a/buildroot-2021.05/board/qemu/arm-versatile/linux.config +++ /dev/null @@ -1,43 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_ARCH_MULTI_V7 is not set -CONFIG_ARCH_VERSATILE=y -CONFIG_PCI=y -CONFIG_PCI_VERSATILE=y -CONFIG_AEABI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y -CONFIG_SCSI_SYM53C8XX_2=y -CONFIG_NETDEVICES=y -CONFIG_8139CP=y -CONFIG_PHYLIB=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIO_AMBAKMI=y -CONFIG_LEGACY_PTY_COUNT=16 -CONFIG_SERIAL_8250=m -CONFIG_SERIAL_8250_EXTENDED=y -CONFIG_SERIAL_8250_MANY_PORTS=y -CONFIG_SERIAL_8250_SHARE_IRQ=y -CONFIG_SERIAL_8250_RSA=y -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=m -CONFIG_FB=y -CONFIG_FB_ARMCLCD=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_SOUND=y -CONFIG_SND=m -CONFIG_SND_MIXER_OSS=m -CONFIG_SND_PCM_OSS=m -CONFIG_SND_ARMAACI=m -CONFIG_EXT4_FS=y -CONFIG_VFAT_FS=m -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_MAGIC_SYSRQ=y diff --git a/buildroot-2021.05/board/qemu/arm-versatile/patches/linux/versatile-nommu.patch b/buildroot-2021.05/board/qemu/arm-versatile/patches/linux/versatile-nommu.patch deleted file mode 100644 index 956ae5f5..00000000 --- a/buildroot-2021.05/board/qemu/arm-versatile/patches/linux/versatile-nommu.patch +++ /dev/null @@ -1,113 +0,0 @@ -From 525dd2f3cf4a94837ce6b71d793acb90c25a5654 Mon Sep 17 00:00:00 2001 -From: Waldemar Brodkorb -Date: Fri, 1 Feb 2019 11:36:20 +0100 -Subject: [PATCH] arm-versatile-nommu: Linux patch - -Originally made by Waldemar Brodkorb from LKML. - -Signed-Off-by: Waldemar Brodkorb -[Gerome: reformated as a Git patch] -Signed-off-by: Gerome Burlats -[Romain: fix Waldemar's authorship in Git patch] -Signed-off-by: Romain Naour ---- - arch/arm/Kconfig | 11 +++++++++++ - arch/arm/Kconfig.debug | 3 ++- - arch/arm/include/asm/mach/map.h | 1 + - arch/arm/mach-versatile/Kconfig | 5 +++-- - arch/arm/mach-versatile/Makefile.boot | 3 +++ - arch/arm/mach-versatile/versatile_dt.c | 4 ++++ - 6 files changed, 24 insertions(+), 3 deletions(-) - create mode 100644 arch/arm/mach-versatile/Makefile.boot - -diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig -index 002e0cf025f5..c71299b6f91f 100644 ---- a/arch/arm/Kconfig -+++ b/arch/arm/Kconfig -@@ -343,6 +343,17 @@ config ARM_SINGLE_ARMV7M - select SPARSE_IRQ - select USE_OF - -+config ARM_SINGLE_ARCH_VERSATILE -+ bool "ARM Ltd. Versatile family" -+ depends on !MMU -+ select AUTO_ZRELADDR -+ select CLKSRC_OF -+ select COMMON_CLK -+ select GENERIC_CLOCKEVENTS -+ select GPIOLIB -+ select SPARSE_IRQ -+ select USE_OF -+ - config ARCH_EBSA110 - bool "EBSA-110" - select ARCH_USES_GETTIMEOFFSET -diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug -index 8986a91a6f31..69cb6404e8ce 100644 ---- a/arch/arm/Kconfig.debug -+++ b/arch/arm/Kconfig.debug -@@ -1943,7 +1943,8 @@ config DEBUG_UNCOMPRESS - config UNCOMPRESS_INCLUDE - string - default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \ -- PLAT_SAMSUNG || ARM_SINGLE_ARMV7M -+ PLAT_SAMSUNG || ARM_SINGLE_ARMV7M || \ -+ ARM_SINGLE_ARCH_VERSATILE - default "mach/uncompress.h" - - config EARLY_PRINTK -diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h -index 92282558caf7..90bd9c069ffc 100644 ---- a/arch/arm/include/asm/mach/map.h -+++ b/arch/arm/include/asm/mach/map.h -@@ -59,6 +59,7 @@ extern int ioremap_page(unsigned long virt, unsigned long phys, - #else - #define iotable_init(map,num) do { } while (0) - #define vm_reserve_area_early(a,s,c) do { } while (0) -+#define debug_ll_io_init() do { } while (0) - #endif - - #endif -diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig -index d88e7725bf99..d38b90157f13 100644 ---- a/arch/arm/mach-versatile/Kconfig -+++ b/arch/arm/mach-versatile/Kconfig -@@ -1,7 +1,8 @@ - # SPDX-License-Identifier: GPL-2.0 - config ARCH_VERSATILE -- bool "ARM Ltd. Versatile family" -- depends on ARCH_MULTI_V5 -+ bool "ARM Ltd. Versatile family" if ARCH_MULTI_V5 -+ depends on ARCH_MULTI_V5 || ARM_SINGLE_ARCH_VERSATILE -+ default y if ARM_SINGLE_ARCH_VERSATILE - select ARM_AMBA - select ARM_TIMER_SP804 - select ARM_VIC -diff --git a/arch/arm/mach-versatile/Makefile.boot b/arch/arm/mach-versatile/Makefile.boot -new file mode 100644 -index 000000000000..eacfc3f5c33e ---- /dev/null -+++ b/arch/arm/mach-versatile/Makefile.boot -@@ -0,0 +1,3 @@ -+# Empty file waiting for deletion once Makefile.boot isn't needed any more. -+# Patch waits for application at -+# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . -diff --git a/arch/arm/mach-versatile/versatile_dt.c b/arch/arm/mach-versatile/versatile_dt.c -index 02ba68abe533..835b51bc597b 100644 ---- a/arch/arm/mach-versatile/versatile_dt.c -+++ b/arch/arm/mach-versatile/versatile_dt.c -@@ -22,7 +22,11 @@ - #include - - /* macro to get at MMIO space when running virtually */ -+#ifdef CONFIG_MMU - #define IO_ADDRESS(x) (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000) -+#else -+#define IO_ADDRESS(x) (x) -+#endif - #define __io_address(n) ((void __iomem __force *)IO_ADDRESS(n)) - - /* --- -2.17.1 - diff --git a/buildroot-2021.05/board/qemu/arm-vexpress-tz/readme.txt b/buildroot-2021.05/board/qemu/arm-vexpress-tz/readme.txt deleted file mode 100644 index 7e62e943..00000000 --- a/buildroot-2021.05/board/qemu/arm-vexpress-tz/readme.txt +++ /dev/null @@ -1,135 +0,0 @@ -Board qemu_arm_vexpress_tz builds a QEMU ARMv7-A target system with -OP-TEE running in the TrustZone secure world and a Linux based -OS running in the non-secure world. The board configuration enables -builds of the QEMU host ARM target emulator. - - make qemu_arm_vexpress_tz_defconfig - make - -The BIOS used in the QEMU host is the ARM Trusted Firmware-A (TF-A). -In our configuration, U-Boot uses QEMU semihosting file access to load the -kernel and rootfs image files. For this reason the emulation needs to be run -from the image directory: - - cd output/images && ../host/bin/qemu-system-arm \ - -machine virt -machine secure=on -cpu cortex-a15 \ - -smp 1 -s -m 1024 -d unimp \ - -serial stdio \ - -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable,target=native \ - -bios flash.bin # qemu_arm_vexpress_tz_defconfig - -The boot stage traces (if any) followed by the login prompt will appear -in the terminal that started QEMU. - -If you want to emulate more cores, use "-smp {1|2|3|4}" to select the -number of cores. - -Note: "-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic" -brings network support that is used i.e. in OP-TEE regression tests. - - --- Boot Details -- - -TF-A is used as QEMU BIOS. Its BL1 image boots and load its BL2 image. In turn, -this image loads the OP-TEE secure world (ARMv7-A BL32 stage) and the U-boot as -non-secure bootloader (BL33 stage). - -QEMU natively hosts and loads in RAM the QEMU ARM target device tree. OP-TEE -reads and modifies its content according to OP-TEE configuration. - -Enable TF-A traces from LOG_LEVEL (I.e LOG_LEVEL=40) from -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES. - - --- OP-TEE Traces -- - -Secure boot stages and/or secure runtime services may use a serial link for -their traces. - -The ARM Trusted Firmware outputs its traces on the QEMU standard (first) -serial interface. - -The OP-TEE OS uses the QEMU second serial interface. - -To get the OP-TEE OS traces, append a second -serial argument after --serial stdio in the QEMU command line. I.e, the following enables 2 serial -consoles over telnet connections: - - cd output/images && ../host/bin/qemu-system-arm \ - -machine virt -machine secure=on -cpu cortex-a15 \ - -smp 1 -s -m 1024 -d unimp \ - -serial telnet:127.0.0.1:1235,server \ - -serial telnet:127.0.0.1:1236,server \ - -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable,target=native \ - -bios flash.bin - -QEMU is now waiting for the telnet connection. From another shell, open a -telnet connection on the port for the U-boot and Linux consoles: - - telnet 127.0.0.1 1235 - -and again for the secure console - - telnet 127.0.0.1 1236 - - --- Using gdb -- - -One can debug the OP-TEE secure world using GDB through the QEMU host. -To do so, simply run the qemu-system-arm emulation, then run a GDB client -and connect the QEMU internal GDB server. - -The example below assumes we run QEMU and the GDB client from the same -host computer. We use option -S of qemu-system-arm to make QEMU -waiting for the GDB continue instruction before booting the images. - -From a first shell: - cd output/images && ../host/bin/qemu-system-arm \ - -machine virt -machine secure=on -cpu cortex-a15 \ - -smp 1 -s -m 1024 -d unimp \ - -serial stdio \ - -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ - -semihosting-config enable,target=native \ - -bios flash.bin \ - -S - -From a second shell: - ./output/host/bin/arm-linux-gdb - GNU gdb (GNU Toolchain for the A-profile Architecture 8.2-2018-08 (arm-rel-8.23)) 8.1.1.20180704-git - Copyright (C) 2018 Free Software Foundation, Inc. - ... - For help, type "help". - Type "apropos word" to search for commands related to "word". - (gdb) - -From this GDB console, connect to the target, load the OP-TEE core symbols, -set a breakpoint to its entry point (__text_start) and start emulation: - - (gdb) target remote 127.0.0.1:1234 - (gdb) symbol-file ./output/build/optee-os-/out/core/tee.elf - (gdb) hbreak __text_start - Hardware assisted breakpoint 1 at 0xe100000: file core/arch/arm/kernel/generic_entry_a32.S, line 246. - (gdb) cont - Continuing. - - Thread 1 hit Breakpoint 1, _start () at core/arch/arm/kernel/generic_entry_a32.S:246 - 246 bootargs_entry - (gdb) - - -Emulation has started, TF-A has loaded OP-TEE and U-boot images in memory and -has booted OP-TEE. Emulation stopped at OP-TEE core entry. - -Note: QEMU hosts a GDB service listening to TCP port 1234, as set through -qemu-system-arm command line option -s. - -Note: To build the GDB server, the following extra options have to be added to -the Buildroot configuration: - - BR2_ENABLE_DEBUG=y - BR2_PACKAGE_GDB=y - BR2_PACKAGE_HOST_GDB=y - BR2_TOOLCHAIN_BUILDROOT_CXX=y - BR2_TOOLCHAIN_BUILDROOT_GLIBC=y diff --git a/buildroot-2021.05/board/qemu/csky/linux-ck610.config.fragment b/buildroot-2021.05/board/qemu/csky/linux-ck610.config.fragment deleted file mode 100644 index b690c7d6..00000000 --- a/buildroot-2021.05/board/qemu/csky/linux-ck610.config.fragment +++ /dev/null @@ -1,6 +0,0 @@ -CONFIG_COMPILE_TEST=y -CONFIG_CPU_CK610=y -CONFIG_CPU_PM_WAIT=y -CONFIG_RAM_BASE=0x10000000 -CONFIG_CSKY_APB_INTC=y -CONFIG_GX6605S_TIMER=y diff --git a/buildroot-2021.05/board/qemu/csky/linux-ck807.config.fragment b/buildroot-2021.05/board/qemu/csky/linux-ck807.config.fragment deleted file mode 100644 index b6974f01..00000000 --- a/buildroot-2021.05/board/qemu/csky/linux-ck807.config.fragment +++ /dev/null @@ -1,5 +0,0 @@ -CONFIG_COMPILE_TEST=y -CONFIG_CPU_CK807=y -# CONFIG_CPU_HAS_FPU is not set -CONFIG_CPU_PM_WAIT=y -CONFIG_CSKY_APB_INTC=y diff --git a/buildroot-2021.05/board/qemu/csky/linux-ck810.config.fragment b/buildroot-2021.05/board/qemu/csky/linux-ck810.config.fragment deleted file mode 100644 index 50fa1f4f..00000000 --- a/buildroot-2021.05/board/qemu/csky/linux-ck810.config.fragment +++ /dev/null @@ -1,5 +0,0 @@ -CONFIG_COMPILE_TEST=y -CONFIG_CPU_CK810=y -# CONFIG_CPU_HAS_FPU is not set -CONFIG_CPU_PM_WAIT=y -CONFIG_CSKY_APB_INTC=y diff --git a/buildroot-2021.05/board/qemu/csky/linux-ck860.config.fragment b/buildroot-2021.05/board/qemu/csky/linux-ck860.config.fragment deleted file mode 100644 index e8f6af10..00000000 --- a/buildroot-2021.05/board/qemu/csky/linux-ck860.config.fragment +++ /dev/null @@ -1,9 +0,0 @@ -CONFIG_COMPILE_TEST=y -CONFIG_CPU_CK860=y -# CONFIG_CPU_HAS_FPU is not set -CONFIG_CPU_PM_WAIT=y -CONFIG_SMP=y -CONFIG_HOTPLUG_CPU=y -CONFIG_CSKY_APB_INTC=y -CONFIG_CSKY_MPINTC=y -CONFIG_CSKY_MP_TIMER=y diff --git a/buildroot-2021.05/board/qemu/csky/readme.txt b/buildroot-2021.05/board/qemu/csky/readme.txt deleted file mode 100644 index 5e4cb187..00000000 --- a/buildroot-2021.05/board/qemu/csky/readme.txt +++ /dev/null @@ -1,15 +0,0 @@ -Run with qemu: - -For ck860 smp: - qemu-system-cskyv2 -M virt -cpu ck860 -smp 2 -nographic -kernel vmlinux # qemu_csky860_virt_defconfig - -For ck807: - qemu-system-cskyv2 -M virt -nographic -kernel vmlinux # qemu_csky807_virt_defconfig - -For ck810: - qemu-system-cskyv2 -M virt -nographic -kernel vmlinux # qemu_csky810_virt_defconfig - -For ck610: - qemu-system-cskyv1 -M virt -nographic -kernel vmlinux # qemu_csky610_virt_defconfig - -The login prompt will appear in the terminal that started Qemu. Username is root and no password. diff --git a/buildroot-2021.05/board/qemu/mips32r2-malta/linux.config b/buildroot-2021.05/board/qemu/mips32r2-malta/linux.config deleted file mode 100644 index 3a26ac83..00000000 --- a/buildroot-2021.05/board/qemu/mips32r2-malta/linux.config +++ /dev/null @@ -1,30 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS32_R2=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_IDE_GENERIC=y -CONFIG_BLK_DEV_GENERIC=y -CONFIG_BLK_DEV_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/mips32r2-malta/readme.txt b/buildroot-2021.05/board/qemu/mips32r2-malta/readme.txt deleted file mode 100644 index db1db65b..00000000 --- a/buildroot-2021.05/board/qemu/mips32r2-malta/readme.txt +++ /dev/null @@ -1,7 +0,0 @@ -Run the emulation with: - - qemu-system-mips -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user # qemu_mips32r2_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. No keyboard support has been -enabled. diff --git a/buildroot-2021.05/board/qemu/mips32r2el-malta/linux.config b/buildroot-2021.05/board/qemu/mips32r2el-malta/linux.config deleted file mode 100644 index 79d73524..00000000 --- a/buildroot-2021.05/board/qemu/mips32r2el-malta/linux.config +++ /dev/null @@ -1,31 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_LITTLE_ENDIAN=y -CONFIG_CPU_MIPS32_R2=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_IDE_GENERIC=y -CONFIG_BLK_DEV_GENERIC=y -CONFIG_BLK_DEV_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/mips32r2el-malta/readme.txt b/buildroot-2021.05/board/qemu/mips32r2el-malta/readme.txt deleted file mode 100644 index 4dc0e64e..00000000 --- a/buildroot-2021.05/board/qemu/mips32r2el-malta/readme.txt +++ /dev/null @@ -1,7 +0,0 @@ -Run the emulation with: - - qemu-system-mipsel -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user # qemu_mips32r2el_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. No keyboard support has been -enabled. diff --git a/buildroot-2021.05/board/qemu/mips32r6-malta/linux.config b/buildroot-2021.05/board/qemu/mips32r6-malta/linux.config deleted file mode 100644 index d5596766..00000000 --- a/buildroot-2021.05/board/qemu/mips32r6-malta/linux.config +++ /dev/null @@ -1,30 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS32_R6=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_IDE_GENERIC=y -CONFIG_BLK_DEV_GENERIC=y -CONFIG_BLK_DEV_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/mips32r6-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch b/buildroot-2021.05/board/qemu/mips32r6-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch deleted file mode 100644 index 01d78f6f..00000000 --- a/buildroot-2021.05/board/qemu/mips32r6-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch +++ /dev/null @@ -1,149 +0,0 @@ -From b9af6f34e43bf5264d75933f2080f16b8741048d Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sat, 25 Jul 2020 11:46:01 +0200 -Subject: [PATCH] mips: Do not include hi and lo in clobber list for R6 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From [1] -"GCC 10 (PR 91233) won't silently allow registers that are not architecturally -available to be present in the clobber list anymore, resulting in build failure -for mips*r6 targets in form of: -... -.../sysdep.h:146:2: error: the register ‘lo’ cannot be clobbered in ‘asm’ for the current target - 146 | __asm__ volatile ( \ - | ^~~~~~~ - -This is because base R6 ISA doesn't define hi and lo registers w/o DSP extension. -This patch provides the alternative clobber list for r6 targets that won't include -those registers." - -Since kernel 5.4 and mips support for generic vDSO [2], the kernel fail to build -for mips r6 cpus with gcc 10 for the same reason as glibc. - -[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=020b2a97bb15f807c0482f0faee2184ed05bcad8 -[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=24640f233b466051ad3a5d2786d2951e43026c9d - -Signed-off-by: Romain Naour ---- - arch/mips/include/asm/vdso/gettimeofday.h | 45 +++++++++++++++++++++++ - 1 file changed, 45 insertions(+) - -diff --git a/arch/mips/include/asm/vdso/gettimeofday.h b/arch/mips/include/asm/vdso/gettimeofday.h -index 2203e2d0ae2a..e28096faecf6 100644 ---- a/arch/mips/include/asm/vdso/gettimeofday.h -+++ b/arch/mips/include/asm/vdso/gettimeofday.h -@@ -30,12 +30,21 @@ static __always_inline long gettimeofday_fallback( - register long nr asm("v0") = __NR_gettimeofday; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (tv), "r" (tz), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (tv), "r" (tz), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -54,12 +63,21 @@ static __always_inline long clock_gettime_fallback( - #endif - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -78,12 +96,21 @@ static __always_inline int clock_getres_fallback( - #endif - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -100,12 +127,21 @@ static __always_inline long clock_gettime32_fallback( - register long nr asm("v0") = __NR_clock_gettime; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -120,12 +156,21 @@ static __always_inline int clock_getres32_fallback( - register long nr asm("v0") = __NR_clock_getres; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } --- -2.17.1 - diff --git a/buildroot-2021.05/board/qemu/mips32r6-malta/readme.txt b/buildroot-2021.05/board/qemu/mips32r6-malta/readme.txt deleted file mode 100644 index 9ad4959f..00000000 --- a/buildroot-2021.05/board/qemu/mips32r6-malta/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-mips -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic # qemu_mips32r6_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/mips32r6el-malta/linux.config b/buildroot-2021.05/board/qemu/mips32r6el-malta/linux.config deleted file mode 100644 index d5596766..00000000 --- a/buildroot-2021.05/board/qemu/mips32r6el-malta/linux.config +++ /dev/null @@ -1,30 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS32_R6=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_IDE_GENERIC=y -CONFIG_BLK_DEV_GENERIC=y -CONFIG_BLK_DEV_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/mips32r6el-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch b/buildroot-2021.05/board/qemu/mips32r6el-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch deleted file mode 100644 index 01d78f6f..00000000 --- a/buildroot-2021.05/board/qemu/mips32r6el-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch +++ /dev/null @@ -1,149 +0,0 @@ -From b9af6f34e43bf5264d75933f2080f16b8741048d Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sat, 25 Jul 2020 11:46:01 +0200 -Subject: [PATCH] mips: Do not include hi and lo in clobber list for R6 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From [1] -"GCC 10 (PR 91233) won't silently allow registers that are not architecturally -available to be present in the clobber list anymore, resulting in build failure -for mips*r6 targets in form of: -... -.../sysdep.h:146:2: error: the register ‘lo’ cannot be clobbered in ‘asm’ for the current target - 146 | __asm__ volatile ( \ - | ^~~~~~~ - -This is because base R6 ISA doesn't define hi and lo registers w/o DSP extension. -This patch provides the alternative clobber list for r6 targets that won't include -those registers." - -Since kernel 5.4 and mips support for generic vDSO [2], the kernel fail to build -for mips r6 cpus with gcc 10 for the same reason as glibc. - -[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=020b2a97bb15f807c0482f0faee2184ed05bcad8 -[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=24640f233b466051ad3a5d2786d2951e43026c9d - -Signed-off-by: Romain Naour ---- - arch/mips/include/asm/vdso/gettimeofday.h | 45 +++++++++++++++++++++++ - 1 file changed, 45 insertions(+) - -diff --git a/arch/mips/include/asm/vdso/gettimeofday.h b/arch/mips/include/asm/vdso/gettimeofday.h -index 2203e2d0ae2a..e28096faecf6 100644 ---- a/arch/mips/include/asm/vdso/gettimeofday.h -+++ b/arch/mips/include/asm/vdso/gettimeofday.h -@@ -30,12 +30,21 @@ static __always_inline long gettimeofday_fallback( - register long nr asm("v0") = __NR_gettimeofday; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (tv), "r" (tz), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (tv), "r" (tz), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -54,12 +63,21 @@ static __always_inline long clock_gettime_fallback( - #endif - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -78,12 +96,21 @@ static __always_inline int clock_getres_fallback( - #endif - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -100,12 +127,21 @@ static __always_inline long clock_gettime32_fallback( - register long nr asm("v0") = __NR_clock_gettime; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -120,12 +156,21 @@ static __always_inline int clock_getres32_fallback( - register long nr asm("v0") = __NR_clock_getres; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } --- -2.17.1 - diff --git a/buildroot-2021.05/board/qemu/mips32r6el-malta/readme.txt b/buildroot-2021.05/board/qemu/mips32r6el-malta/readme.txt deleted file mode 100644 index 96c9dc88..00000000 --- a/buildroot-2021.05/board/qemu/mips32r6el-malta/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user -nographic # qemu_mips32r6el_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/mips64-malta/linux.config b/buildroot-2021.05/board/qemu/mips64-malta/linux.config deleted file mode 100644 index cd0b5606..00000000 --- a/buildroot-2021.05/board/qemu/mips64-malta/linux.config +++ /dev/null @@ -1,34 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS64_R1=y -CONFIG_64BIT=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_IDE_GENERIC=y -CONFIG_BLK_DEV_GENERIC=y -CONFIG_BLK_DEV_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/mips64-malta/readme.txt b/buildroot-2021.05/board/qemu/mips64-malta/readme.txt deleted file mode 100644 index 7432dac1..00000000 --- a/buildroot-2021.05/board/qemu/mips64-malta/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" # qemu_mips64_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. diff --git a/buildroot-2021.05/board/qemu/mips64el-malta/linux.config b/buildroot-2021.05/board/qemu/mips64el-malta/linux.config deleted file mode 100644 index c6b46d4d..00000000 --- a/buildroot-2021.05/board/qemu/mips64el-malta/linux.config +++ /dev/null @@ -1,35 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_LITTLE_ENDIAN=y -CONFIG_CPU_MIPS64_R1=y -CONFIG_64BIT=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_IDE_GENERIC=y -CONFIG_BLK_DEV_GENERIC=y -CONFIG_BLK_DEV_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/mips64el-malta/readme.txt b/buildroot-2021.05/board/qemu/mips64el-malta/readme.txt deleted file mode 100644 index f67ac91a..00000000 --- a/buildroot-2021.05/board/qemu/mips64el-malta/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-mips64el -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" # qemu_mips64el_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. diff --git a/buildroot-2021.05/board/qemu/mips64r6-malta/linux.config b/buildroot-2021.05/board/qemu/mips64r6-malta/linux.config deleted file mode 100644 index 0ebfdbdb..00000000 --- a/buildroot-2021.05/board/qemu/mips64r6-malta/linux.config +++ /dev/null @@ -1,34 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS64_R6=y -CONFIG_64BIT=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_IDE_GENERIC=y -CONFIG_BLK_DEV_GENERIC=y -CONFIG_BLK_DEV_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/mips64r6-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch b/buildroot-2021.05/board/qemu/mips64r6-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch deleted file mode 100644 index 01d78f6f..00000000 --- a/buildroot-2021.05/board/qemu/mips64r6-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch +++ /dev/null @@ -1,149 +0,0 @@ -From b9af6f34e43bf5264d75933f2080f16b8741048d Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sat, 25 Jul 2020 11:46:01 +0200 -Subject: [PATCH] mips: Do not include hi and lo in clobber list for R6 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From [1] -"GCC 10 (PR 91233) won't silently allow registers that are not architecturally -available to be present in the clobber list anymore, resulting in build failure -for mips*r6 targets in form of: -... -.../sysdep.h:146:2: error: the register ‘lo’ cannot be clobbered in ‘asm’ for the current target - 146 | __asm__ volatile ( \ - | ^~~~~~~ - -This is because base R6 ISA doesn't define hi and lo registers w/o DSP extension. -This patch provides the alternative clobber list for r6 targets that won't include -those registers." - -Since kernel 5.4 and mips support for generic vDSO [2], the kernel fail to build -for mips r6 cpus with gcc 10 for the same reason as glibc. - -[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=020b2a97bb15f807c0482f0faee2184ed05bcad8 -[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=24640f233b466051ad3a5d2786d2951e43026c9d - -Signed-off-by: Romain Naour ---- - arch/mips/include/asm/vdso/gettimeofday.h | 45 +++++++++++++++++++++++ - 1 file changed, 45 insertions(+) - -diff --git a/arch/mips/include/asm/vdso/gettimeofday.h b/arch/mips/include/asm/vdso/gettimeofday.h -index 2203e2d0ae2a..e28096faecf6 100644 ---- a/arch/mips/include/asm/vdso/gettimeofday.h -+++ b/arch/mips/include/asm/vdso/gettimeofday.h -@@ -30,12 +30,21 @@ static __always_inline long gettimeofday_fallback( - register long nr asm("v0") = __NR_gettimeofday; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (tv), "r" (tz), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (tv), "r" (tz), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -54,12 +63,21 @@ static __always_inline long clock_gettime_fallback( - #endif - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -78,12 +96,21 @@ static __always_inline int clock_getres_fallback( - #endif - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -100,12 +127,21 @@ static __always_inline long clock_gettime32_fallback( - register long nr asm("v0") = __NR_clock_gettime; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -120,12 +156,21 @@ static __always_inline int clock_getres32_fallback( - register long nr asm("v0") = __NR_clock_getres; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } --- -2.17.1 - diff --git a/buildroot-2021.05/board/qemu/mips64r6-malta/readme.txt b/buildroot-2021.05/board/qemu/mips64r6-malta/readme.txt deleted file mode 100644 index 252a5431..00000000 --- a/buildroot-2021.05/board/qemu/mips64r6-malta/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-mips64 -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic # qemu_mips64r6_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/mips64r6el-malta/linux.config b/buildroot-2021.05/board/qemu/mips64r6el-malta/linux.config deleted file mode 100644 index 0ebfdbdb..00000000 --- a/buildroot-2021.05/board/qemu/mips64r6el-malta/linux.config +++ /dev/null @@ -1,34 +0,0 @@ -CONFIG_MIPS_MALTA=y -CONFIG_CPU_MIPS64_R6=y -CONFIG_64BIT=y -CONFIG_MIPS_MT_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_SYSVIPC=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PCI=y -CONFIG_MIPS32_COMPAT=y -CONFIG_MIPS32_O32=y -CONFIG_MIPS32_N32=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_IDE_GENERIC=y -CONFIG_BLK_DEV_GENERIC=y -CONFIG_BLK_DEV_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_FB=y -CONFIG_FB_CIRRUS=y -CONFIG_USB=y -CONFIG_USB_UHCI_HCD=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/mips64r6el-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch b/buildroot-2021.05/board/qemu/mips64r6el-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch deleted file mode 100644 index 01d78f6f..00000000 --- a/buildroot-2021.05/board/qemu/mips64r6el-malta/patches/linux/0001-mips-Do-not-include-hi-and-lo-in-clobber-list-for-R6.patch +++ /dev/null @@ -1,149 +0,0 @@ -From b9af6f34e43bf5264d75933f2080f16b8741048d Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sat, 25 Jul 2020 11:46:01 +0200 -Subject: [PATCH] mips: Do not include hi and lo in clobber list for R6 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -From [1] -"GCC 10 (PR 91233) won't silently allow registers that are not architecturally -available to be present in the clobber list anymore, resulting in build failure -for mips*r6 targets in form of: -... -.../sysdep.h:146:2: error: the register ‘lo’ cannot be clobbered in ‘asm’ for the current target - 146 | __asm__ volatile ( \ - | ^~~~~~~ - -This is because base R6 ISA doesn't define hi and lo registers w/o DSP extension. -This patch provides the alternative clobber list for r6 targets that won't include -those registers." - -Since kernel 5.4 and mips support for generic vDSO [2], the kernel fail to build -for mips r6 cpus with gcc 10 for the same reason as glibc. - -[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=020b2a97bb15f807c0482f0faee2184ed05bcad8 -[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=24640f233b466051ad3a5d2786d2951e43026c9d - -Signed-off-by: Romain Naour ---- - arch/mips/include/asm/vdso/gettimeofday.h | 45 +++++++++++++++++++++++ - 1 file changed, 45 insertions(+) - -diff --git a/arch/mips/include/asm/vdso/gettimeofday.h b/arch/mips/include/asm/vdso/gettimeofday.h -index 2203e2d0ae2a..e28096faecf6 100644 ---- a/arch/mips/include/asm/vdso/gettimeofday.h -+++ b/arch/mips/include/asm/vdso/gettimeofday.h -@@ -30,12 +30,21 @@ static __always_inline long gettimeofday_fallback( - register long nr asm("v0") = __NR_gettimeofday; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (tv), "r" (tz), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (tv), "r" (tz), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -54,12 +63,21 @@ static __always_inline long clock_gettime_fallback( - #endif - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -78,12 +96,21 @@ static __always_inline int clock_getres_fallback( - #endif - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -100,12 +127,21 @@ static __always_inline long clock_gettime32_fallback( - register long nr asm("v0") = __NR_clock_gettime; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } -@@ -120,12 +156,21 @@ static __always_inline int clock_getres32_fallback( - register long nr asm("v0") = __NR_clock_getres; - register long error asm("a3"); - -+#if MIPS_ISA_REV >= 6 -+ asm volatile( -+ " syscall\n" -+ : "=r" (ret), "=r" (error) -+ : "r" (clkid), "r" (ts), "r" (nr) -+ : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", -+ "$14", "$15", "$24", "$25", "memory"); -+#else - asm volatile( - " syscall\n" - : "=r" (ret), "=r" (error) - : "r" (clkid), "r" (ts), "r" (nr) - : "$1", "$3", "$8", "$9", "$10", "$11", "$12", "$13", - "$14", "$15", "$24", "$25", "hi", "lo", "memory"); -+#endif - - return error ? -ret : ret; - } --- -2.17.1 - diff --git a/buildroot-2021.05/board/qemu/mips64r6el-malta/readme.txt b/buildroot-2021.05/board/qemu/mips64r6el-malta/readme.txt deleted file mode 100644 index e9d02e77..00000000 --- a/buildroot-2021.05/board/qemu/mips64r6el-malta/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-mips64el -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic # qemu_mips64r6el_malta_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/ppc-e500mc/readme.txt b/buildroot-2021.05/board/qemu/ppc-e500mc/readme.txt deleted file mode 100644 index 77a864ed..00000000 --- a/buildroot-2021.05/board/qemu/ppc-e500mc/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-ppc -M ppce500 -cpu e500mc -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc_e500mc_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/ppc-g3beige/linux.config b/buildroot-2021.05/board/qemu/ppc-g3beige/linux.config deleted file mode 100644 index 79945535..00000000 --- a/buildroot-2021.05/board/qemu/ppc-g3beige/linux.config +++ /dev/null @@ -1,25 +0,0 @@ -CONFIG_ALTIVEC=y -CONFIG_SYSVIPC=y -CONFIG_HIGHMEM=y -CONFIG_YENTA=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IDE=y -CONFIG_BLK_DEV_IDECD=y -CONFIG_BLK_DEV_CMD64X=y -CONFIG_BLK_DEV_IDE_PMAC=y -CONFIG_ADB=y -CONFIG_ADB_CUDA=y -CONFIG_ADB_PMU=y -CONFIG_NETDEVICES=y -CONFIG_PCNET32=y -CONFIG_8139CP=y -CONFIG_SERIAL_PMACZILOG=y -CONFIG_SERIAL_PMACZILOG_TTYS=y -CONFIG_SERIAL_PMACZILOG_CONSOLE=y -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_BOOTX_TEXT=y diff --git a/buildroot-2021.05/board/qemu/ppc-g3beige/readme.txt b/buildroot-2021.05/board/qemu/ppc-g3beige/readme.txt deleted file mode 100644 index e6c9c201..00000000 --- a/buildroot-2021.05/board/qemu/ppc-g3beige/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -Run the emulation with: - - qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 rootwait root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user # qemu_ppc_g3beige_defconfig - -The login prompt will appear in the terminal that started Qemu. The -graphical window is the framebuffer. diff --git a/buildroot-2021.05/board/qemu/ppc64-e5500/readme.txt b/buildroot-2021.05/board/qemu/ppc64-e5500/readme.txt deleted file mode 100644 index 61d51f7f..00000000 --- a/buildroot-2021.05/board/qemu/ppc64-e5500/readme.txt +++ /dev/null @@ -1,5 +0,0 @@ -Run the emulation with: - - qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc64_e5500_defconfig - -The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/s390x/patches/linux/0001-arch-s390-disable-SSP-when-needed.patch b/buildroot-2021.05/board/qemu/s390x/patches/linux/0001-arch-s390-disable-SSP-when-needed.patch deleted file mode 100644 index c8199d4f..00000000 --- a/buildroot-2021.05/board/qemu/s390x/patches/linux/0001-arch-s390-disable-SSP-when-needed.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 8a054081678ed0b0e56f829bac0a4656e3a198b9 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 8 May 2021 22:03:11 +0200 -Subject: [PATCH] arch/s390: disable SSP when needed - -Though -nostdlib is passed in PURGATORY_LDFLAGS and -ffreestanding in -KBUILD_CFLAGS_DECOMPRESSOR, -fno-stack-protector must also be passed to -avoid linking errors related to undefined references to -'__stack_chk_guard' and '__stack_chk_fail' if toolchain enforces --fstack-protector. - -Fixes: - - https://gitlab.com/kubu93/buildroot/-/jobs/1247043361 - -Signed-off-by: Fabrice Fontaine ---- - arch/s390/Makefile | 1 + - arch/s390/purgatory/Makefile | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/arch/s390/Makefile b/arch/s390/Makefile -index e443ed9947bd..098abe3a56f3 100644 ---- a/arch/s390/Makefile -+++ b/arch/s390/Makefile -@@ -28,6 +28,7 @@ KBUILD_CFLAGS_DECOMPRESSOR += -DDISABLE_BRANCH_PROFILING -D__NO_FORTIFY - KBUILD_CFLAGS_DECOMPRESSOR += -fno-delete-null-pointer-checks -msoft-float -mbackchain - KBUILD_CFLAGS_DECOMPRESSOR += -fno-asynchronous-unwind-tables - KBUILD_CFLAGS_DECOMPRESSOR += -ffreestanding -+KBUILD_CFLAGS_DECOMPRESSOR += -fno-stack-protector - KBUILD_CFLAGS_DECOMPRESSOR += $(call cc-disable-warning, address-of-packed-member) - KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO),-g) - KBUILD_CFLAGS_DECOMPRESSOR += $(if $(CONFIG_DEBUG_INFO_DWARF4), $(call cc-option, -gdwarf-4,)) -diff --git a/arch/s390/purgatory/Makefile b/arch/s390/purgatory/Makefile -index c57f8c40e992..21c4ebe29b9a 100644 ---- a/arch/s390/purgatory/Makefile -+++ b/arch/s390/purgatory/Makefile -@@ -24,6 +24,7 @@ KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes - KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare - KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding - KBUILD_CFLAGS += -c -MD -Os -m64 -msoft-float -fno-common -+KBUILD_CFLAGS += -fno-stack-protector - KBUILD_CFLAGS += $(CLANG_FLAGS) - KBUILD_CFLAGS += $(call cc-option,-fno-PIE) - KBUILD_AFLAGS := $(filter-out -DCC_USING_EXPOLINE,$(KBUILD_AFLAGS)) --- -2.30.2 - diff --git a/buildroot-2021.05/board/radxa/rockpi-4/genimage.cfg b/buildroot-2021.05/board/radxa/rockpi-4/genimage.cfg deleted file mode 100644 index 88986df3..00000000 --- a/buildroot-2021.05/board/radxa/rockpi-4/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "rk3399-rock-pi-4.dtb", - "extlinux" - } - } - size = 112M -} - -image sdcard.img { - - hdimage { - gpt = true - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot.itb" - offset = 8M - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/radxa/rockpi-n10/genimage.cfg b/buildroot-2021.05/board/radxa/rockpi-n10/genimage.cfg deleted file mode 100644 index 8fbf562f..00000000 --- a/buildroot-2021.05/board/radxa/rockpi-n10/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "Image", - "rk3399pro-rock-pi-n10.dtb", - "extlinux" - } - } - size = 112M -} - -image sdcard.img { - - hdimage { - gpt = true - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot.itb" - offset = 8M - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/radxa/rockpi-n8/genimage.cfg b/buildroot-2021.05/board/radxa/rockpi-n8/genimage.cfg deleted file mode 100644 index 88b55de3..00000000 --- a/buildroot-2021.05/board/radxa/rockpi-n8/genimage.cfg +++ /dev/null @@ -1,39 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "rk3288-rock-pi-n8.dtb", - "extlinux" - } - } - size = 16M -} - -image sdcard.img { - - hdimage { - gpt = true - } - - partition loader1 { - image = "idbloader.img" - offset = 32K - } - - partition loader2 { - image = "u-boot-dtb.img" - offset = 8M - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - offset = 16M - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi.cfg b/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi.cfg deleted file mode 100644 index bd5166a0..00000000 --- a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi.cfg +++ /dev/null @@ -1,32 +0,0 @@ -image boot.vfat { - vfat { - files = { - "bcm2708-rpi-b.dtb", - "bcm2708-rpi-b-plus.dtb", - "bcm2708-rpi-cm.dtb", - "rpi-firmware/bootcode.bin", - "rpi-firmware/cmdline.txt", - "rpi-firmware/config.txt", - "rpi-firmware/fixup.dat", - "rpi-firmware/start.elf", - "zImage" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi0.cfg b/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi0.cfg deleted file mode 100644 index f21a52f3..00000000 --- a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi0.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - files = { - "bcm2708-rpi-zero.dtb", - "rpi-firmware/bootcode.bin", - "rpi-firmware/cmdline.txt", - "rpi-firmware/config.txt", - "rpi-firmware/fixup.dat", - "rpi-firmware/start.elf", - "zImage" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi0w.cfg b/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi0w.cfg deleted file mode 100644 index f76256ef..00000000 --- a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi0w.cfg +++ /dev/null @@ -1,31 +0,0 @@ -image boot.vfat { - vfat { - files = { - "bcm2708-rpi-zero-w.dtb", - "rpi-firmware/bootcode.bin", - "rpi-firmware/cmdline.txt", - "rpi-firmware/config.txt", - "rpi-firmware/fixup.dat", - "rpi-firmware/start.elf", - "rpi-firmware/overlays", - "zImage" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi2.cfg b/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi2.cfg deleted file mode 100644 index a3be2a34..00000000 --- a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi2.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - files = { - "bcm2709-rpi-2-b.dtb", - "rpi-firmware/bootcode.bin", - "rpi-firmware/cmdline.txt", - "rpi-firmware/config.txt", - "rpi-firmware/fixup.dat", - "rpi-firmware/start.elf", - "zImage" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi3-64.cfg b/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi3-64.cfg deleted file mode 100644 index af1d17cd..00000000 --- a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi3-64.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "bcm2710-rpi-3-b.dtb", - "bcm2710-rpi-3-b-plus.dtb", - "bcm2837-rpi-3-b.dtb", - "rpi-firmware/bootcode.bin", - "rpi-firmware/cmdline.txt", - "rpi-firmware/config.txt", - "rpi-firmware/fixup.dat", - "rpi-firmware/start.elf", - "rpi-firmware/overlays", - "Image" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi3.cfg b/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi3.cfg deleted file mode 100644 index 0a547241..00000000 --- a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi3.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "bcm2710-rpi-3-b.dtb", - "bcm2710-rpi-3-b-plus.dtb", - "bcm2710-rpi-cm3.dtb", - "rpi-firmware/bootcode.bin", - "rpi-firmware/cmdline.txt", - "rpi-firmware/config.txt", - "rpi-firmware/fixup.dat", - "rpi-firmware/start.elf", - "rpi-firmware/overlays", - "zImage" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi4-64.cfg b/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi4-64.cfg deleted file mode 100644 index 854e0c7e..00000000 --- a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi4-64.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - files = { - "bcm2711-rpi-4-b.dtb", - "rpi-firmware/cmdline.txt", - "rpi-firmware/config.txt", - "rpi-firmware/fixup.dat", - "rpi-firmware/start.elf", - "rpi-firmware/overlays", - "Image" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi4.cfg b/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi4.cfg deleted file mode 100644 index 60e1f23b..00000000 --- a/buildroot-2021.05/board/raspberrypi/genimage-raspberrypi4.cfg +++ /dev/null @@ -1,30 +0,0 @@ -image boot.vfat { - vfat { - files = { - "bcm2711-rpi-4-b.dtb", - "rpi-firmware/cmdline.txt", - "rpi-firmware/config.txt", - "rpi-firmware/fixup.dat", - "rpi-firmware/start.elf", - "rpi-firmware/overlays", - "zImage" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/raspberrypi/post-image.sh b/buildroot-2021.05/board/raspberrypi/post-image.sh deleted file mode 100755 index 9dbd98ef..00000000 --- a/buildroot-2021.05/board/raspberrypi/post-image.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -set -e - -BOARD_DIR="$(dirname $0)" -BOARD_NAME="$(basename ${BOARD_DIR})" -GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -for arg in "$@" -do - case "${arg}" in - --add-miniuart-bt-overlay) - if ! grep -qE '^dtoverlay=' "${BINARIES_DIR}/rpi-firmware/config.txt"; then - echo "Adding 'dtoverlay=miniuart-bt' to config.txt (fixes ttyAMA0 serial console)." - cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt" - -# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console -dtoverlay=miniuart-bt -__EOF__ - fi - ;; - --aarch64) - # Run a 64bits kernel (armv8) - sed -e '/^kernel=/s,=.*,=Image,' -i "${BINARIES_DIR}/rpi-firmware/config.txt" - if ! grep -qE '^arm_64bit=1' "${BINARIES_DIR}/rpi-firmware/config.txt"; then - cat << __EOF__ >> "${BINARIES_DIR}/rpi-firmware/config.txt" - -# enable 64bits support -arm_64bit=1 -__EOF__ - fi - ;; - --gpu_mem_256=*|--gpu_mem_512=*|--gpu_mem_1024=*) - # Set GPU memory - gpu_mem="${arg:2}" - sed -e "/^${gpu_mem%=*}=/s,=.*,=${gpu_mem##*=}," -i "${BINARIES_DIR}/rpi-firmware/config.txt" - ;; - esac - -done - -# Pass an empty rootpath. genimage makes a full copy of the given rootpath to -# ${GENIMAGE_TMP}/root so passing TARGET_DIR would be a waste of time and disk -# space. We don't rely on genimage to build the rootfs image, just to insert a -# pre-built one in the disk image. - -trap 'rm -rf "${ROOTPATH_TMP}"' EXIT -ROOTPATH_TMP="$(mktemp -d)" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${ROOTPATH_TMP}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" - -exit $? diff --git a/buildroot-2021.05/board/raspberrypi/readme.txt b/buildroot-2021.05/board/raspberrypi/readme.txt deleted file mode 100644 index 8b3de6d2..00000000 --- a/buildroot-2021.05/board/raspberrypi/readme.txt +++ /dev/null @@ -1,99 +0,0 @@ -Raspberry Pi - -Intro -===== - -These instructions apply to all models of the Raspberry Pi: - - the original models A and B, - - the "enhanced" models A+ and B+, - - the model B2 (aka Raspberry Pi 2) - - the model B3 (aka Raspberry Pi 3). - - the model B4 (aka Raspberry Pi 4). - -How to build it -=============== - -Configure Buildroot -------------------- - -There are two RaspberryPi defconfig files in Buildroot, one for each -major variant, which you should base your work on: - -For models A, B, A+ or B+: - - $ make raspberrypi_defconfig - -For model Zero (model A+ in smaller form factor): - - $ make raspberrypi0_defconfig - -For model 2 B: - - $ make raspberrypi2_defconfig - -For model 3 B and B+: - - $ make raspberrypi3_defconfig - -For model 4 B: - - $ make raspberrypi4_defconfig - -Build the rootfs ----------------- - -Note: you will need to have access to the network, since Buildroot will -download the packages' sources. - -You may now build your rootfs with: - - $ make - -(This may take a while, consider getting yourself a coffee ;-) ) - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - +-- bcm2708-rpi-b.dtb [1] - +-- bcm2708-rpi-b-plus.dtb [1] - +-- bcm2709-rpi-2-b.dtb [1] - +-- bcm2710-rpi-3-b.dtb [1] - +-- bcm2710-rpi-3-b-plus.dtb [1] - +-- bcm2711-rpi-4-b.dtb [1] - +-- boot.vfat - +-- rootfs.ext4 - +-- rpi-firmware/ - | +-- bootcode.bin - | +-- cmdline.txt - | +-- config.txt - | +-- fixup.dat - | +-- start.elf - | `-- overlays/ [2] - +-- sdcard.img - `-- zImage - -[1] Not all of them will be present, depending on the RaspberryPi - model you are using. - -[2] Only for the Raspberry Pi 3/4 Models (overlay miniuart-bt is needed - to enable the RPi3 serial console otherwise occupied by the bluetooth - chip). Alternative would be to disable the serial console in cmdline.txt - and /etc/inittab. - -How to write the SD card -======================== - -Once the build process is finished you will have an image called "sdcard.img" -in the output/images/ directory. - -Copy the bootable "sdcard.img" onto an SD card with "dd": - - $ sudo dd if=output/images/sdcard.img of=/dev/sdX - -Insert the SDcard into your Raspberry Pi, and power it up. Your new system -should come up now and start two consoles: one on the serial port on -the P1 header, one on the HDMI output where you can login using a USB -keyboard. diff --git a/buildroot-2021.05/board/roseapplepi/genimage.cfg b/buildroot-2021.05/board/roseapplepi/genimage.cfg deleted file mode 100644 index f4a353e8..00000000 --- a/buildroot-2021.05/board/roseapplepi/genimage.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Minimal SD card image for the Roseapple Pi -# -image boot.vfat { - vfat { - files = { - "uEnv.txt", - "uImage" - } - file kernel.dtb { - image = "owl-s500-roseapplepi.dtb" - } - } - size = 128M -} - -image sdcard.img { - hdimage { - } - - partition s500-bootloader { - in-partition-table = "no" - image = "s500-bootloader.bin" - offset = 0x200200 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-dtb.img" - offset = 0x300000 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } -} diff --git a/buildroot-2021.05/board/roseapplepi/linux.config b/buildroot-2021.05/board/roseapplepi/linux.config deleted file mode 100644 index aea48b77..00000000 --- a/buildroot-2021.05/board/roseapplepi/linux.config +++ /dev/null @@ -1,45 +0,0 @@ -# CONFIG_SWAP is not set -# CONFIG_CROSS_MEMORY_ATTACH is not set -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -# CONFIG_CPU_ISOLATION is not set -# CONFIG_KALLSYMS is not set -# CONFIG_RSEQ is not set -CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set -# CONFIG_COMPAT_BRK is not set -CONFIG_ARCH_ACTIONS=y -CONFIG_SMP=y -CONFIG_ARM_PSCI=y -CONFIG_HIGHMEM=y -CONFIG_VFP=y -CONFIG_NEON=y -# CONFIG_SUSPEND is not set -# CONFIG_STACKPROTECTOR is not set -# CONFIG_MQ_IOSCHED_KYBER is not set -# CONFIG_COREDUMP is not set -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_INET_DIAG is not set -# CONFIG_IPV6 is not set -# CONFIG_WIRELESS is not set -# CONFIG_ETHTOOL_NETLINK is not set -# CONFIG_VT is not set -CONFIG_SERIAL_OWL=y -# CONFIG_HW_RANDOM is not set -# CONFIG_HID is not set -# CONFIG_USB_SUPPORT is not set -# CONFIG_VIRTIO_MENU is not set -# CONFIG_VHOST_MENU is not set -# CONFIG_IOMMU_SUPPORT is not set -CONFIG_EXT4_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -# CONFIG_MISC_FILESYSTEMS is not set -# CONFIG_NETWORK_FILESYSTEMS is not set -# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set -# CONFIG_CRYPTO_HW is not set -# CONFIG_FTRACE is not set -# CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/buildroot-2021.05/board/roseapplepi/uEnv.txt b/buildroot-2021.05/board/roseapplepi/uEnv.txt deleted file mode 100644 index 2b9de727..00000000 --- a/buildroot-2021.05/board/roseapplepi/uEnv.txt +++ /dev/null @@ -1,3 +0,0 @@ -# no ramdisk -ramdisk_addr_r=- -bootargs=console=ttyOWL2,115200 diff --git a/buildroot-2021.05/board/sifive/hifive-unleashed/genimage_sdcard.cfg b/buildroot-2021.05/board/sifive/hifive-unleashed/genimage_sdcard.cfg deleted file mode 100644 index e7f98a47..00000000 --- a/buildroot-2021.05/board/sifive/hifive-unleashed/genimage_sdcard.cfg +++ /dev/null @@ -1,23 +0,0 @@ -image sdcard.img { - hdimage { - gpt = true - } - - partition u-boot-spl { - image = "u-boot-spl.bin" - offset = 17K - partition-type-uuid = 5B193300-FC78-40CD-8002-E86C45580B47 - } - - partition u-boot { - image = "u-boot.itb" - offset = 1041K - partition-type-uuid = 2E54B353-1271-4842-806F-E436D6AF6985 - } - - partition rootfs { - image = "rootfs.ext4" - partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4 - bootable = true - } -} diff --git a/buildroot-2021.05/board/sifive/hifive-unleashed/genimage_spi-nor.cfg b/buildroot-2021.05/board/sifive/hifive-unleashed/genimage_spi-nor.cfg deleted file mode 100644 index 2e5d89bf..00000000 --- a/buildroot-2021.05/board/sifive/hifive-unleashed/genimage_spi-nor.cfg +++ /dev/null @@ -1,19 +0,0 @@ -image spi-nor.img { - size = 32M - - hdimage { - gpt = true - } - - partition u-boot-spl { - image = "u-boot-spl.bin" - offset = 20K - partition-type-uuid = 5B193300-FC78-40CD-8002-E86C45580B47 - } - - partition u-boot { - image = "u-boot.itb" - offset = 1044K - partition-type-uuid = 2E54B353-1271-4842-806F-E436D6AF6985 - } -} diff --git a/buildroot-2021.05/board/sinovoip/m1-plus/genimage.cfg b/buildroot-2021.05/board/sinovoip/m1-plus/genimage.cfg deleted file mode 100644 index 3cba774c..00000000 --- a/buildroot-2021.05/board/sinovoip/m1-plus/genimage.cfg +++ /dev/null @@ -1,37 +0,0 @@ -# Minimal SD card image for the Banana Pi M1+ -# Based on the Banana Pro genimage.cfg - -image boot.vfat { - vfat { - files = { - "zImage", - "sun7i-a20-bananapi-m1-plus.dtb", - "boot.scr" - } - } - size = 10M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 512M - } -} diff --git a/buildroot-2021.05/board/sinovoip/m2-plus/genimage.cfg b/buildroot-2021.05/board/sinovoip/m2-plus/genimage.cfg deleted file mode 100644 index cde0669e..00000000 --- a/buildroot-2021.05/board/sinovoip/m2-plus/genimage.cfg +++ /dev/null @@ -1,33 +0,0 @@ -image boot.vfat { - vfat { - files = { - "zImage", - "sun8i-h3-bananapi-m2-plus.dtb", - "boot.scr" - } - } - size = 64M -} - -image sdcard.img { - hdimage { - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot-sunxi-with-spl.bin" - offset = 8192 - size = 1040384 # 1MB - 8192 - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/solidrun/macchiatobin/genimage.cfg b/buildroot-2021.05/board/solidrun/macchiatobin/genimage.cfg deleted file mode 100644 index fdcda368..00000000 --- a/buildroot-2021.05/board/solidrun/macchiatobin/genimage.cfg +++ /dev/null @@ -1,16 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition uboot { - in-partition-table = "no" - image = "flash-image.bin" - offset = 0x200000 - } - - partition rootfs { - partition-type = 0x83 - offset = 0x2200000 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/solidrun/mx6cubox/boot.scr.txt b/buildroot-2021.05/board/solidrun/mx6cubox/boot.scr.txt deleted file mode 100644 index e4cf8147..00000000 --- a/buildroot-2021.05/board/solidrun/mx6cubox/boot.scr.txt +++ /dev/null @@ -1,7 +0,0 @@ -setenv finduuid "part uuid mmc 1:1 uuid" -run finduuid -run findfdt -setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4" -load mmc 1:1 ${fdt_addr} boot/${fdtfile} -load mmc 1:1 ${loadaddr} boot/zImage -bootz ${loadaddr} - ${fdt_addr} diff --git a/buildroot-2021.05/board/solidrun/mx6cubox/genimage.cfg b/buildroot-2021.05/board/solidrun/mx6cubox/genimage.cfg deleted file mode 100644 index 490986ac..00000000 --- a/buildroot-2021.05/board/solidrun/mx6cubox/genimage.cfg +++ /dev/null @@ -1,29 +0,0 @@ -# Minimal SD card image for the MX6 Cubox/Hummingboard -# -# U-Boot SPL and u-boot.img are flashed in the first 1MB raw partition. -# A single root filesystem partition is used (Ext4 in this case). -# - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "SPL" - offset = 1K - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.img" - offset = 69K - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - offset = 1M - size = 512M - } -} diff --git a/buildroot-2021.05/board/solidrun/mx6cubox/post-build.sh b/buildroot-2021.05/board/solidrun/mx6cubox/post-build.sh deleted file mode 100755 index 6ddc1137..00000000 --- a/buildroot-2021.05/board/solidrun/mx6cubox/post-build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -install -d -m 755 $TARGET_DIR/boot - -$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \ - -n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr diff --git a/buildroot-2021.05/board/solidrun/mx6cubox/post-image.sh b/buildroot-2021.05/board/solidrun/mx6cubox/post-image.sh deleted file mode 100755 index b4ac4608..00000000 --- a/buildroot-2021.05/board/solidrun/mx6cubox/post-image.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -BOARD_DIR="$(dirname $0)" -GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" -GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" - -rm -rf "${GENIMAGE_TMP}" - -genimage \ - --rootpath "${TARGET_DIR}" \ - --tmppath "${GENIMAGE_TMP}" \ - --inputpath "${BINARIES_DIR}" \ - --outputpath "${BINARIES_DIR}" \ - --config "${GENIMAGE_CFG}" diff --git a/buildroot-2021.05/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template b/buildroot-2021.05/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template deleted file mode 100644 index f341c19f..00000000 --- a/buildroot-2021.05/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template +++ /dev/null @@ -1,22 +0,0 @@ -image sdcard.img { - hdimage { - gpt = "true" - } - - partition fsbl1 { - image = "%ATFBIN%" - } - - partition fsbl2 { - image = "%ATFBIN%" - } - - partition ssbl { - image = "u-boot.stm32" - } - - partition rootfs { - image = "rootfs.ext4" - bootable = "yes" - } -} diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32f429-disco/flash.sh b/buildroot-2021.05/board/stmicroelectronics/stm32f429-disco/flash.sh deleted file mode 100755 index b19e0a60..00000000 --- a/buildroot-2021.05/board/stmicroelectronics/stm32f429-disco/flash.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -OUTPUT_DIR=$1 -BOARD_NAME=${2:-stm32f429discovery} - -if ! test -d "${OUTPUT_DIR}" ; then - echo "ERROR: no output directory specified." - echo "Usage: $0 OUTPUT_DIR BOARD_NAME" - echo "" - echo "Arguments:" - echo " OUTPUT_DIR The Buildroot output directory." - echo " BOARD_NAME One of the available boards among:" - echo " stm32f429discovery, stm32f429disc1" - exit 1 -fi - -${OUTPUT_DIR}/host/bin/openocd -f board/${BOARD_NAME}.cfg \ - -c "init" \ - -c "reset init" \ - -c "flash probe 0" \ - -c "flash info 0" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f429i-disco.bin 0x08000000" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f429-disco.dtb 0x08004000" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x08008000" \ - -c "reset run" \ - -c "shutdown" diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32f429-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch b/buildroot-2021.05/board/stmicroelectronics/stm32f429-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch deleted file mode 100644 index d6d5c61a..00000000 --- a/buildroot-2021.05/board/stmicroelectronics/stm32f429-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ded9afa688184b3240a92c2b8f114c545a09bc3f Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 12 Mar 2016 23:14:41 +0100 -Subject: [PATCH] ARM: stm32f249-disco: don't force init= in /chosen/bootargs - -There is no reason to override the kernel's default init= value, as -this breaks userspace that assumes the kernel default of /init is -used. Since stm32 is often used with a minimal bootloader -(afboot-stm32) that doesn't provide any mechanism to override the DTB, -we need to adjust the kernel command line in the Device Tree source. - -Signed-off-by: Thomas Petazzoni ---- - arch/arm/boot/dts/stm32f429-disco.dts | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts -index f0b731d..2bae81c 100644 ---- a/arch/arm/boot/dts/stm32f429-disco.dts -+++ b/arch/arm/boot/dts/stm32f429-disco.dts -@@ -53,7 +53,7 @@ - compatible = "st,stm32f429i-disco", "st,stm32f429"; - - chosen { -- bootargs = "root=/dev/ram rdinit=/linuxrc"; -+ bootargs = "root=/dev/ram"; - stdout-path = "serial0:115200n8"; - }; - --- -2.6.4 - diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/flash.sh b/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/flash.sh deleted file mode 100755 index 0ec0beb2..00000000 --- a/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/flash.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -OUTPUT_DIR=$1 - -if ! test -d "${OUTPUT_DIR}" ; then - echo "ERROR: no output directory specified." - echo "Usage: $0 OUTPUT_DIR" - exit 1 -fi - -${OUTPUT_DIR}/host/bin/openocd -f board/stm32f469discovery.cfg \ - -c "init" \ - -c "reset init" \ - -c "flash probe 0" \ - -c "flash info 0" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469i-disco.bin 0x08000000" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469-disco.dtb 0x08004000" \ - -c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x08008000" \ - -c "reset run" \ - -c "shutdown" diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch b/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch deleted file mode 100644 index 750e477d..00000000 --- a/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/patches/linux/0001-ARM-stm32f249-disco-don-t-force-init-in-chosen-boota.patch +++ /dev/null @@ -1,33 +0,0 @@ -From c8f8f33c2f0460a34c9545b01a7972a7ed2df0e9 Mon Sep 17 00:00:00 2001 -From: Christophe Priouzeau -Date: Mon, 29 May 2017 13:38:16 +0200 -Subject: [PATCH] ARM: stm32f249-disco: don't force init= in /chosen/bootargs - -There is no reason to override the kernel's default init= value, as -this breaks userspace that assumes the kernel default of /init is -used. Since stm32 is often used with a minimal bootloader -(afboot-stm32) that doesn't provide any mechanism to override the DTB, -we need to adjust the kernel command line in the Device Tree source. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Christophe Priouzeau ---- - arch/arm/boot/dts/stm32f469-disco.dts | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts -index 0dd56ef..93ee1b2 100644 ---- a/arch/arm/boot/dts/stm32f469-disco.dts -+++ b/arch/arm/boot/dts/stm32f469-disco.dts -@@ -53,7 +53,7 @@ - compatible = "st,stm32f469i-disco", "st,stm32f469"; - - chosen { -- bootargs = "root=/dev/ram rdinit=/linuxrc"; -+ bootargs = "root=/dev/ram"; - stdout-path = "serial0:115200n8"; - }; - --- -2.7.4 - diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/readme.txt b/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/readme.txt deleted file mode 100644 index 888bff08..00000000 --- a/buildroot-2021.05/board/stmicroelectronics/stm32f469-disco/readme.txt +++ /dev/null @@ -1,19 +0,0 @@ -STM32F469 Discovery -=================== - -This tutorial describes how to use the predefined Buildroot -configuration for the STM32F469 Discovery evaluation platform. - -Building --------- - - make stm32f469_disco_defconfig - make - -Flashing --------- - - ./board/stmicroelectronics/stm32f469-disco/flash.sh output/ - -It will flash the minimal bootloader, the Device Tree Blob, and the -kernel image which includes the root filesystem as initramfs. diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config b/buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config deleted file mode 100644 index a278ce9e..00000000 --- a/buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_STM32MP_WATCHDOG is not set diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config b/buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config deleted file mode 100644 index a278ce9e..00000000 --- a/buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_STM32MP_WATCHDOG is not set diff --git a/buildroot-2021.05/board/synopsys/hsdk/genimage.cfg b/buildroot-2021.05/board/synopsys/hsdk/genimage.cfg deleted file mode 100644 index 9103b202..00000000 --- a/buildroot-2021.05/board/synopsys/hsdk/genimage.cfg +++ /dev/null @@ -1,27 +0,0 @@ -image boot.vfat { - vfat { - files = { - "uImage" - } - file uboot.env { - image = "uboot-env.bin" - } - } - size = 20M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/synopsys/vdk/linux-vdk-aarch64-defconfig b/buildroot-2021.05/board/synopsys/vdk/linux-vdk-aarch64-defconfig deleted file mode 100644 index 8109e169..00000000 --- a/buildroot-2021.05/board/synopsys/vdk/linux-vdk-aarch64-defconfig +++ /dev/null @@ -1,143 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_POSIX_MQUEUE=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_BSD_PROCESS_ACCT=y -CONFIG_IKCONFIG=y -CONFIG_IKCONFIG_PROC=y -CONFIG_LOG_BUF_SHIFT=16 -CONFIG_CGROUPS=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_EMBEDDED=y -CONFIG_SLAB=y -CONFIG_PROFILING=y -CONFIG_CC_STACKPROTECTOR_REGULAR=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_SMP=y -CONFIG_SCHED_MC=y -CONFIG_SCHED_SMT=y -CONFIG_NR_CPUS=8 -CONFIG_PREEMPT=y -CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 -CONFIG_TRANSPARENT_HUGEPAGE=y -CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y -CONFIG_CMDLINE="console=ttyAMA0 earlyprintk=pl011,0x1c090000 debug user_debug=31 loglevel=9 root=/dev/vda" -CONFIG_CMDLINE_FORCE=y -CONFIG_BINFMT_MISC=y -CONFIG_CPU_IDLE=y -CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_ONDEMAND=y -CONFIG_ARM_BIG_LITTLE_CPUFREQ=y -CONFIG_ARM_DT_BL_CPUFREQ=y -CONFIG_ARM_SPCI_CPUFREQ=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_XFRM_USER=y -CONFIG_NET_KEY=y -CONFIG_NET_KEY_MIGRATE=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -CONFIG_IP_PNP_BOOTP=y -CONFIG_IP_PNP_RARP=y -CONFIG_SYN_COOKIES=y -CONFIG_NETWORK_PHY_TIMESTAMPING=y -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_VEXPRESS_CONFIG=y -CONFIG_CONNECTOR=m -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_NBD=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=65536 -CONFIG_VIRTIO_BLK=y -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y -CONFIG_BLK_DEV_DM=y -CONFIG_NETDEVICES=y -CONFIG_STMMAC_ETH=m -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_MISC=y -CONFIG_INPUT_UINPUT=y -CONFIG_SERIO_AMBAKMI=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_AMBA_PL011=y -CONFIG_SERIAL_AMBA_PL011_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_DESIGNWARE_PLATFORM=y -CONFIG_GPIOLIB=y -CONFIG_GPIO_SYSFS=y -CONFIG_POWER_RESET_VEXPRESS=y -CONFIG_FB=y -CONFIG_FB_ARMCLCD=y -CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_LOGO=y -CONFIG_USB_HIDDEV=y -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_HCD_SYNOPSYS=y -CONFIG_USB_OHCI_HCD=y -CONFIG_NOP_USB_XCEIV=y -CONFIG_USB_ULPI=y -CONFIG_USB_DUMMY_HCD=m -CONFIG_USB_G_SERIAL=m -CONFIG_MMC=y -CONFIG_MMC_ARMMMCI=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_ONESHOT=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_BACKLIGHT=y -CONFIG_LEDS_TRIGGER_CPU=y -CONFIG_LEDS_TRIGGER_GPIO=y -CONFIG_SWITCH=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_PL031=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_COMMON_CLK_VERSATILE=y -CONFIG_CLK_SP810=y -CONFIG_CLK_VEXPRESS_OSC=y -CONFIG_COMMON_CLK_SCPI=y -CONFIG_MAILBOX=y -CONFIG_ARM_SCPI_PROTOCOL=y -CONFIG_EXT4_FS=y -CONFIG_EXT4_FS_SECURITY=y -CONFIG_BTRFS_FS=m -CONFIG_QFMT_V2=y -CONFIG_AUTOFS4_FS=m -CONFIG_MSDOS_FS=m -CONFIG_VFAT_FS=m -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_HUGETLBFS=m -CONFIG_ECRYPT_FS=m -CONFIG_CRAMFS=m -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ISO8859_1=y -CONFIG_VIRTUALIZATION=y -CONFIG_KVM=y -CONFIG_DYNAMIC_DEBUG=y -CONFIG_DEBUG_INFO=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_SCHEDSTATS=y -CONFIG_TIMER_STATS=y -CONFIG_FUNCTION_TRACER=y -CONFIG_STRICT_DEVMEM=y -CONFIG_SECURITY=y -CONFIG_SECURITY_NETWORK_XFRM=y -CONFIG_LSM_MMAP_MIN_ADDR=0 - diff --git a/buildroot-2021.05/board/synopsys/vdk/readme.txt b/buildroot-2021.05/board/synopsys/vdk/readme.txt deleted file mode 100644 index 98046473..00000000 --- a/buildroot-2021.05/board/synopsys/vdk/readme.txt +++ /dev/null @@ -1,65 +0,0 @@ -Synopsys VDK Software Development Platform - -Intro -===== - -The Virtualizer Development Kit (VDK) Family for ARM Cortex Products -consists of a set of virtual prototypes that provide a virtualizer for -the ARM core variants. The VDK is a standalone package that runs on an -host computer. - -Buildroot will generate the kernel image and a minimal root filesystem. - -How to build it -=============== - -Configure Buildroot -------------------- - -Configuring Buildroot is pretty simple, just execute: - - $ make snps_aarch64_vdk_defconfig - -Build the rootfs and kernel ---------------------------- - -Note: you will need to have access to the network, since Buildroot will -download the packages' sources. - -You may now build your rootfs with: - - $ make - -(This may take a while) - -Result of the build -------------------- - -After building, you should obtain this tree: - - output/images/ - -- rootfs.ext2 - -- Image - -Installing your rootfs and Image -================================ - -Now copy the content of the output/images folder to the VDK' skins -folder: - - $ cp rootfs.ext2 Image /skins/Vanilla-Cortex/ARMv8 - - -Starting the VDK -================================ - -Go the VDK' installation root and execute the 'start' script: - - $ cd - $ ./start.sh - -The VP Explorer application will be executed, starting the simulation -automatically. - -For more information about Synopsys' VDK please check: -http://www.synopsys.com/Prototyping/VirtualPrototyping/Pages/default.aspx diff --git a/buildroot-2021.05/board/technologic/ts4900/readme.txt b/buildroot-2021.05/board/technologic/ts4900/readme.txt deleted file mode 100644 index 679454fd..00000000 --- a/buildroot-2021.05/board/technologic/ts4900/readme.txt +++ /dev/null @@ -1,52 +0,0 @@ -Technologic Systems TS-4900 -=========================== - -This document explains how to set up a basic Buildroot system for the -Technologic Systems TS-4900 System on Module. - -The TS-4900 is a TS-SOCKET macrocontroller board based on the -Freescale i.MX6 Single or Quad Core ARM Cortex-A9 CPU clocked at -1GHz. The TS-4900 features Gigabit Ethernet, SATA II Port, PCI Express -Bus, high speed USB host and device (OTG), and microSD card. -More details on the board here: - http://wiki.embeddedarm.com/wiki/TS-4900 - -The TS-4900 is not currently supported by mainline Linux, so a -Technologic Systems Linux is used based on Linux 4.1. -The default U-boot configuration flashed scans the SD card to find the -0x83 partition type, corresponding to the rootfs. Then it will load -both uImage and dts from the /boot directory. -To build the default configuration you only have to: - - $ make ts4900_defconfig - $ make - -The output looks like: -output/images/ -├── imx6q-ts4900.dtb -├── rootfs.ext2 -├── rootfs.tar -├── sdcard.img -└── uImage - -Since both the uImage and the dts are contained in the /boot -directory, the provided post-image script generates an image file -containing only one partition for the rootfs: - - $ fdisk output/images/sdcard.img - Device Boot Start End Blocks Id System -output/images/sdcard.img1 1 524288 262144 83 Linux - -This image can be directly written to an SD card. - - $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 - -In order to test the image on TS-4900 board, a TS baseboard, such as -the TS-9xxx series, is needed to provide power, console header, RJ45 -connector etc. - -The bootloader comes pre-flashed on the board on an SPI flash. Since -updating the bootloader is risky and not trivial, it is not included -in the Buildroot defconfig. Refer to -http://wiki.embeddedarm.com/wiki/TS-4900#U-Boot for details on which -U-Boot config to use and how to flash it. diff --git a/buildroot-2021.05/board/technologic/ts5500/readme.txt b/buildroot-2021.05/board/technologic/ts5500/readme.txt deleted file mode 100644 index 1e73ab3e..00000000 --- a/buildroot-2021.05/board/technologic/ts5500/readme.txt +++ /dev/null @@ -1,52 +0,0 @@ -Technologic Systems TS-5x00 SBCs -================================ - -This document explains how to set up a basic Buildroot system for the -Technologic Systems TS-5x00 serie of x86-based Single Board Computers. - -TS-5x00 Single Board Computers are based on the AMD Elan520 processor. For more -information please have a look at http://wiki.embeddedarm.com/wiki/#AMD - -The kernel configuration works for any AMD Elan520-based SBCs, but the support -is enhanced for the TS-5500 and TS-5400 models (on-board devices registration -and additional sysfs attributes under /sys/devices/platform/). - -To build the default configuration you only have to: - - $ make ts5500_defconfig - $ make - -You will need a Compact Flash card of sufficient size and the first or only -partition configured as Linux type, with the bootable flag. - -You can transfer the system on the partition then optionally resize it with: - - # dd if=output/images/rootfs.ext4 of=/dev/sdX1 - # resize2fs /dev/sdX1 - -Or you can just extract the root filesystem to the partition with: - - # mount /dev/sdX1 /mnt - # tar -pxf output/images/rootfs.tar -C /mnt - # umount /mnt - -To install the bootloader, you will need to copy the MBR: - - # cat output/images/syslinux/mbr.bin > /dev/sdX - -Then install SYSLINUX in the mounted partition: - - # mount /dev/sdX1 /mnt - # output/host/sbin/extlinux --install /mnt/boot/syslinux - # umount /mnt - -IMPORTANT: In order for the board to boot the Compact Flash with a recent -config, the BIOS must use Logical Block Addressing (LBA). You can do it by -choosing "Ide 0: AUTOCONFIG, LBA" under "IDE DRIVE GEOMETRY" in the "Basic CMOS -Configuration" screen. Also, don't forget to set the 'active' (or 'bootable') -flag on partition 1. For details about the CMOS setup, please see: -http://wiki.embeddedarm.com/wiki/TS-5500#System_BIOS_Setup_Screens - -Connect a terminal program to the rs232 connector marked "COM2" -with baudrate set to 115200, insert the Compact Flash card into the socket, -power up the board, and enjoy. diff --git a/buildroot-2021.05/board/technologic/ts7680/genimage.cfg b/buildroot-2021.05/board/technologic/ts7680/genimage.cfg deleted file mode 100644 index 70b1dac6..00000000 --- a/buildroot-2021.05/board/technologic/ts7680/genimage.cfg +++ /dev/null @@ -1,14 +0,0 @@ -image sdcard.img { - hdimage { - } - - partition unused { - size = 512 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - size = 256M - } -} diff --git a/buildroot-2021.05/board/technologic/ts7680/readme.txt b/buildroot-2021.05/board/technologic/ts7680/readme.txt deleted file mode 100644 index 43d5d135..00000000 --- a/buildroot-2021.05/board/technologic/ts7680/readme.txt +++ /dev/null @@ -1,50 +0,0 @@ -Technologic Systems TS-7680 SBC -=============================== - -This document explains how to set up a basic Buildroot system for -the Technologic Systems TS-7680 Single Board Computer. - -The TS-7680 SBC is based on the Freescale i.MX286 ARM ARM926EJ-S -running at 454MHz. The TS-7680 features are 10/100 Ethernet ports, -Wi-Fi, microSD card, eMMC, NOR Flash, USB host port, CAN ports, -relays and ADC/DAC. More details on the board here: -https://wiki.embeddedarm.com/wiki/TS-7680 - -The TS-7680 uses a 4.9 Linux kernel provided by Technologic Systems. - -To build the default configuration you only have to run: - - $ make ts7680_defconfig - $ make - -The output looks like: -output/images -├── imx28-ts7680.dtb -├── rootfs.ext2 -├── rootfs.ext4 -> rootfs.ext2 -├── rootfs.tar -├── sdcard.img -└── uImage - -The provided genimage configuration generates an image file containing -two partitions. The first one is unused, but mandatory as the -TS-7680 built-in bootloader loads the Linux uImage from the /boot -directory in the second partition. The second partition contains the -rootfs with the Linux uImage into the /boot directory. - - $ fdisk output/images/sdcard.img - output/images/sdcard.img1 1 1 1 512B 0 Empty - output/images/sdcard.img2 2 524289 524288 256M 83 Linux - -This image can be directly written to an SD card. - - $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 - -To boot with Buildroot, insert this SD card on the board, make sure -the SD jumper is present and the U-Boot jumper is not. - -The bootloader comes pre-flashed on the board on an SPI flash. Since -updating the bootloader is risky and not trivial, it is not included -in the Buildroot defconfig. Refer to -https://wiki.embeddedarm.com/wiki/TS-7680#U-Boot for details on -which U-Boot config to use and how to flash it. diff --git a/buildroot-2021.05/board/toradex/apalis-imx6/genimage.cfg b/buildroot-2021.05/board/toradex/apalis-imx6/genimage.cfg deleted file mode 100644 index fe359bd9..00000000 --- a/buildroot-2021.05/board/toradex/apalis-imx6/genimage.cfg +++ /dev/null @@ -1,15 +0,0 @@ -# Minimal SD card image for the Toradex Apalis i.MX6 COM -# -# It does not need a boot section for a bootloader since it is booted -# from its internal flash memory (eMMC). - -image sdcard.img { - hdimage { - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext2" - size = 512M - } -} diff --git a/buildroot-2021.05/board/udoo/common/boot.scr.txt b/buildroot-2021.05/board/udoo/common/boot.scr.txt deleted file mode 100644 index 7acceed0..00000000 --- a/buildroot-2021.05/board/udoo/common/boot.scr.txt +++ /dev/null @@ -1,7 +0,0 @@ -setenv finduuid "part uuid mmc 0:1 uuid" -run finduuid -run findfdt -setenv bootargs "console=${console} root=PARTUUID=${uuid} rootwait rootfstype=ext4" -load mmc 0:1 ${fdt_addr} boot/${fdtfile} -load mmc 0:1 ${loadaddr} boot/zImage -bootz ${loadaddr} - ${fdt_addr} diff --git a/buildroot-2021.05/board/wandboard/boot.scr.txt b/buildroot-2021.05/board/wandboard/boot.scr.txt deleted file mode 100644 index 7a8aa4bd..00000000 --- a/buildroot-2021.05/board/wandboard/boot.scr.txt +++ /dev/null @@ -1,7 +0,0 @@ -setenv finduuid "part uuid mmc 0:1 uuid" -run finduuid -run findfdt -setenv bootargs "console=ttymxc0,115200 root=PARTUUID=${uuid} rootwait rootfstype=ext4" -load mmc 0:1 ${fdt_addr} boot/${fdtfile} -load mmc 0:1 ${loadaddr} boot/zImage -bootz ${loadaddr} - ${fdt_addr} diff --git a/buildroot-2021.05/board/wandboard/genimage.cfg b/buildroot-2021.05/board/wandboard/genimage.cfg deleted file mode 100644 index ad4a6a55..00000000 --- a/buildroot-2021.05/board/wandboard/genimage.cfg +++ /dev/null @@ -1,32 +0,0 @@ -# Minimal SD card image for the Wandboard -# -# The SD card must have at least 1 MB free at the beginning. -# U-Boot and its environment are dumped as is. -# A single root filesystem partition is required (Ext4 in this case). -# -# For details about the layout, see: -# http://wiki.wandboard.org/index.php/Boot-process - -image sdcard.img { - hdimage { - } - - partition spl { - in-partition-table = "no" - image = "SPL" - offset = 1024 - } - - partition u-boot { - in-partition-table = "no" - image = "u-boot.img" - offset = 70656 - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - offset = 1M - size = 512M - } -} diff --git a/buildroot-2021.05/board/wandboard/post-build.sh b/buildroot-2021.05/board/wandboard/post-build.sh deleted file mode 100755 index 6ddc1137..00000000 --- a/buildroot-2021.05/board/wandboard/post-build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -BOARD_DIR="$(dirname $0)" - -install -d -m 755 $TARGET_DIR/boot - -$HOST_DIR/bin/mkimage -A arm -O linux -T script -C none \ - -n "boot script" -d $BOARD_DIR/boot.scr.txt $TARGET_DIR/boot/boot.scr diff --git a/buildroot-2021.05/board/zynq/genimage.cfg b/buildroot-2021.05/board/zynq/genimage.cfg deleted file mode 100644 index 76e61c3a..00000000 --- a/buildroot-2021.05/board/zynq/genimage.cfg +++ /dev/null @@ -1,25 +0,0 @@ -image boot.vfat { - vfat { - files = { - "boot.bin", - "u-boot.img", - "devicetree.dtb", - "uImage" - } - file uramdisk.image.gz { - image = "rootfs.cpio.uboot" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } -} diff --git a/buildroot-2021.05/board/zynqmp/genimage.cfg b/buildroot-2021.05/board/zynqmp/genimage.cfg deleted file mode 100644 index 30be086d..00000000 --- a/buildroot-2021.05/board/zynqmp/genimage.cfg +++ /dev/null @@ -1,28 +0,0 @@ -image boot.vfat { - vfat { - files = { - "boot.bin", - "u-boot.bin", - "atf-uboot.ub", - "system.dtb", - "Image" - } - } - size = 32M -} - -image sdcard.img { - hdimage { - } - - partition boot { - partition-type = 0xC - bootable = "true" - image = "boot.vfat" - } - - partition rootfs { - partition-type = 0x83 - image = "rootfs.ext4" - } -} diff --git a/buildroot-2021.05/board/zynqmp/patches/uboot/0001-arm64-zynqmp-zcu106-fix-SPL-MMC-booting.patch b/buildroot-2021.05/board/zynqmp/patches/uboot/0001-arm64-zynqmp-zcu106-fix-SPL-MMC-booting.patch deleted file mode 100644 index 4d85e1bb..00000000 --- a/buildroot-2021.05/board/zynqmp/patches/uboot/0001-arm64-zynqmp-zcu106-fix-SPL-MMC-booting.patch +++ /dev/null @@ -1,52 +0,0 @@ -From e5d72ed8339eb05285448aad3c89d21e4d18fd29 Mon Sep 17 00:00:00 2001 -From: Luca Ceresoli -Date: Mon, 26 Feb 2018 09:40:34 +0100 -Subject: [PATCH] arm64: zynqmp: zcu106: fix SPL MMC booting - -The U-Boot SPL generated with the current zcu106 defconfig cannot boot -from MMC: - - [...] - U-Boot SPL 2018.01 (Feb 21 2018 - 17:47:14) - EL Level: EL3 - Trying to boot from MMC1 - sdhci_transfer_data: Error detected in status(0x408020)! - spl_load_image_fat_os: error reading image u-boot.bin, err - -2 - spl_load_image_fat: error reading image u-boot.img, err - -6 - SPL: failed to boot from all boot devices - ### ERROR ### Please RESET the board ### - -Fix by lowering the rpll value. The new value for the RPLL_CTRL -register comes from the current psu_init_gpl.c from the HDF file at -https://github.com/xilinx/hdf-examples/tree/01ad8ea5fd1989abf4ea5a072d019a16cb2bc546/zcu106-zynqmp -(generated by Vivado v2017.4). - -RPLL and sdio1_ref clocks before and after this change: - - - Old values: RPLL 1.36 GHz, sdio1_ref 272 MHz - - New values: RPLL 1.16 GHz, sdio1_ref 233 MHz - -Signed-off-by: Luca Ceresoli -Cc: Michal Simek -Upstream-status: accepted upstream in a different form ---- - - board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c b/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c -index 4d18abe000ca..e6fa477e53e7 100644 ---- a/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c -+++ b/board/xilinx/zynqmp/zynqmp-zcu106-revA/psu_init_gpl.c -@@ -10,7 +10,7 @@ - static unsigned long psu_pll_init_data(void) - { - psu_mask_write(0xFF5E0034, 0xFE7FEDEFU, 0x7E4E2C62U); -- psu_mask_write(0xFF5E0030, 0x00717F00U, 0x00013C00U); -+ psu_mask_write(0xFF5E0030, 0x00717F00U, 0x00014600U); - psu_mask_write(0xFF5E0030, 0x00000008U, 0x00000008U); - psu_mask_write(0xFF5E0030, 0x00000001U, 0x00000001U); - psu_mask_write(0xFF5E0030, 0x00000001U, 0x00000000U); --- -2.7.4 - diff --git a/buildroot-2021.05/board/zynqmp/patches/uboot/0002-arm64-zynqmp-Enable-booting-to-ATF.patch b/buildroot-2021.05/board/zynqmp/patches/uboot/0002-arm64-zynqmp-Enable-booting-to-ATF.patch deleted file mode 100644 index 487fff68..00000000 --- a/buildroot-2021.05/board/zynqmp/patches/uboot/0002-arm64-zynqmp-Enable-booting-to-ATF.patch +++ /dev/null @@ -1,114 +0,0 @@ -From 5e3cac50cc981e01d9072241035a8d4162560c71 Mon Sep 17 00:00:00 2001 -From: Luca Ceresoli -Date: Mon, 12 Mar 2018 17:18:38 +0100 -Subject: [PATCH] arm64: zynqmp: Enable booting to ATF - -U-Boot is now able to boot to ARM Trusted Firmware (ATF). The boot -flow is SPL(EL3) loads ATF and full u-boot and jump to ATF(EL3) which -pass control to full u-boot(EL2). This has been tested on zcu106, so -enable it in this defconfig. - -To generate an image that triggers this booting flow, you need to pass -'-O arm-trusted-firmware' to mkimage. - -Signed-off-by: Luca Ceresoli -Signed-off-by: Michal Simek -Backported from upstream: http://git.denx.de/?p=u-boot.git;a=commit;h=5e3cac50cc981e01d9072241035a8d4162560c71 ---- - - configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + - configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 1 + - configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 + - configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 1 + - configs/xilinx_zynqmp_zcu102_rev1_0_defconfig | 1 + - configs/xilinx_zynqmp_zcu102_revA_defconfig | 1 + - configs/xilinx_zynqmp_zcu102_revB_defconfig | 1 + - 7 files changed, 7 insertions(+) - -diff --git a/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig b/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig -index c5bfa2b12638..488c72258b0e 100644 ---- a/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig -+++ b/configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig -@@ -19,6 +19,7 @@ CONFIG_BOARD_EARLY_INIT_R=y - CONFIG_SPL_OS_BOOT=y - CONFIG_SPL_RAM_SUPPORT=y - CONFIG_SPL_RAM_DEVICE=y -+CONFIG_SPL_ATF=y - CONFIG_SYS_PROMPT="ZynqMP> " - CONFIG_FASTBOOT=y - CONFIG_FASTBOOT_FLASH=y -diff --git a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig -index f86dce403a42..5d501eec0edd 100644 ---- a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig -+++ b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig -@@ -20,6 +20,7 @@ CONFIG_BOARD_EARLY_INIT_R=y - CONFIG_SPL_OS_BOOT=y - CONFIG_SPL_RAM_SUPPORT=y - CONFIG_SPL_RAM_DEVICE=y -+CONFIG_SPL_ATF=y - CONFIG_SYS_PROMPT="ZynqMP> " - CONFIG_FASTBOOT=y - CONFIG_FASTBOOT_FLASH=y -diff --git a/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig b/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig -index 6e947cf56827..6f7eaebd7676 100644 ---- a/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig -+++ b/configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig -@@ -16,6 +16,7 @@ CONFIG_BOARD_EARLY_INIT_R=y - CONFIG_SPL_OS_BOOT=y - CONFIG_SPL_RAM_SUPPORT=y - CONFIG_SPL_RAM_DEVICE=y -+CONFIG_SPL_ATF=y - CONFIG_SYS_PROMPT="ZynqMP> " - CONFIG_CMD_MEMTEST=y - CONFIG_SYS_ALT_MEMTEST=y -diff --git a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig -index 1c934858c61c..7a3806cba4b5 100644 ---- a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig -+++ b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig -@@ -17,6 +17,7 @@ CONFIG_BOARD_EARLY_INIT_R=y - CONFIG_SPL_OS_BOOT=y - CONFIG_SPL_RAM_SUPPORT=y - CONFIG_SPL_RAM_DEVICE=y -+CONFIG_SPL_ATF=y - CONFIG_SYS_PROMPT="ZynqMP> " - CONFIG_CMD_MEMTEST=y - CONFIG_SYS_ALT_MEMTEST=y -diff --git a/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig b/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig -index e13c7c56f310..e4408f182ca0 100644 ---- a/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig -+++ b/configs/xilinx_zynqmp_zcu102_rev1_0_defconfig -@@ -19,6 +19,7 @@ CONFIG_BOARD_EARLY_INIT_R=y - CONFIG_SPL_OS_BOOT=y - CONFIG_SPL_RAM_SUPPORT=y - CONFIG_SPL_RAM_DEVICE=y -+CONFIG_SPL_ATF=y - CONFIG_SYS_PROMPT="ZynqMP> " - CONFIG_FASTBOOT=y - CONFIG_FASTBOOT_FLASH=y -diff --git a/configs/xilinx_zynqmp_zcu102_revA_defconfig b/configs/xilinx_zynqmp_zcu102_revA_defconfig -index 5b2cd495ee85..b52f6789fd4b 100644 ---- a/configs/xilinx_zynqmp_zcu102_revA_defconfig -+++ b/configs/xilinx_zynqmp_zcu102_revA_defconfig -@@ -19,6 +19,7 @@ CONFIG_BOARD_EARLY_INIT_R=y - CONFIG_SPL_OS_BOOT=y - CONFIG_SPL_RAM_SUPPORT=y - CONFIG_SPL_RAM_DEVICE=y -+CONFIG_SPL_ATF=y - CONFIG_SYS_PROMPT="ZynqMP> " - CONFIG_FASTBOOT=y - CONFIG_FASTBOOT_FLASH=y -diff --git a/configs/xilinx_zynqmp_zcu102_revB_defconfig b/configs/xilinx_zynqmp_zcu102_revB_defconfig -index e6530fbfe7ff..80592554f682 100644 ---- a/configs/xilinx_zynqmp_zcu102_revB_defconfig -+++ b/configs/xilinx_zynqmp_zcu102_revB_defconfig -@@ -19,6 +19,7 @@ CONFIG_BOARD_EARLY_INIT_R=y - CONFIG_SPL_OS_BOOT=y - CONFIG_SPL_RAM_SUPPORT=y - CONFIG_SPL_RAM_DEVICE=y -+CONFIG_SPL_ATF=y - CONFIG_SYS_PROMPT="ZynqMP> " - CONFIG_FASTBOOT=y - CONFIG_FASTBOOT_FLASH=y --- -2.7.4 - diff --git a/buildroot-2021.05/board/zynqmp/patches/uboot/0003-arm64-zynqmp-accept-an-absolute-path-for-PMUFW_INIT_.patch b/buildroot-2021.05/board/zynqmp/patches/uboot/0003-arm64-zynqmp-accept-an-absolute-path-for-PMUFW_INIT_.patch deleted file mode 100644 index 95ab7b3b..00000000 --- a/buildroot-2021.05/board/zynqmp/patches/uboot/0003-arm64-zynqmp-accept-an-absolute-path-for-PMUFW_INIT_.patch +++ /dev/null @@ -1,68 +0,0 @@ -From c7df098a71e05dc81cee818747759e8060b59626 Mon Sep 17 00:00:00 2001 -From: Luca Ceresoli -Date: Mon, 4 Jun 2018 12:21:01 +0200 -Subject: [PATCH] arm64: zynqmp: accept an absolute path for PMUFW_INIT_FILE - -The value of PMUFW_INIT_FILE is prefixed with "$(srctree)/", thus -forcing it to be a relative path inside the U-Boot source tree. Since -the PMUFW is a binary file generated outside of U-Boot, the PMUFW -binary must be copied inside the U-Boot source tree before the -build. - -This generates a few problems: - - * if the source tree is shared among different out-of-tree builds, - they will pollute (and potentially corrupt) each other - * the source tree cannot be read-only - * any buildsystem must add a command to copy the PMUFW binary - * putting an externally-generated binary in the source tree is ugly - as hell - -Avoid these problems by accepting an absolute path for -PMUFW_INIT_FILE. This would be as simple as removing the "$(srctree)/" -prefix, but in order to keep backward compatibility we rather use the -shell and readlink to get the absolute path even when starting from a -relative path. - -Since 'readlink -f' produces an empty string if the file does not -exist, we also add a check to ensure the file configured in -PMUFW_INIT_FILE exists. Otherwise the build would exit successfully, -but produce a boot.bin without PMUFW as if PMUFW_INIT_FILE were empty. - -Tested in the 12 possible combinations of: - - PMUFW_INIT_FILE empty, relative, absolute, non-existing - - building in-tree, in subdir, in other directory - -Signed-off-by: Luca Ceresoli -Cc: Michal Simek -Cc: Simon Glass -Cc: Emmanuel Vadot -Signed-off-by: Michal Simek -Backported from upstream: https://git.denx.de/?p=u-boot.git;a=commit;h=c7df098a71e05dc81cee818747759e8060b59626 ---- - scripts/Makefile.spl | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl -index ef018b5b4056..252f13826d4c 100644 ---- a/scripts/Makefile.spl -+++ b/scripts/Makefile.spl -@@ -167,8 +167,14 @@ ifdef CONFIG_ARCH_ZYNQ - MKIMAGEFLAGS_boot.bin = -T zynqimage -R $(srctree)/$(CONFIG_BOOT_INIT_FILE) - endif - ifdef CONFIG_ARCH_ZYNQMP -+ifneq ($(CONFIG_PMUFW_INIT_FILE),"") -+spl/boot.bin: zynqmp-check-pmufw -+zynqmp-check-pmufw: FORCE -+ ( cd $(srctree) && test -r $(CONFIG_PMUFW_INIT_FILE) ) \ -+ || ( echo "Cannot read $(CONFIG_PMUFW_INIT_FILE)" && false ) -+endif - MKIMAGEFLAGS_boot.bin = -T zynqmpimage -R $(srctree)/$(CONFIG_BOOT_INIT_FILE) \ -- -n $(srctree)/$(CONFIG_PMUFW_INIT_FILE) -+ -n "$(shell cd $(srctree); readlink -f $(CONFIG_PMUFW_INIT_FILE))" - endif - - spl/boot.bin: $(obj)/u-boot-spl.bin FORCE --- -2.7.4 - diff --git a/buildroot-2021.05/board/zynqmp/patches/uboot/0004-arm-arm64-zynq-zynqmp-pass-the-PS-init-file-as-a-kco.patch b/buildroot-2021.05/board/zynqmp/patches/uboot/0004-arm-arm64-zynq-zynqmp-pass-the-PS-init-file-as-a-kco.patch deleted file mode 100644 index b32e1627..00000000 --- a/buildroot-2021.05/board/zynqmp/patches/uboot/0004-arm-arm64-zynq-zynqmp-pass-the-PS-init-file-as-a-kco.patch +++ /dev/null @@ -1,175 +0,0 @@ -From 4c9d54ab5a41d65000c8d249b6fb1b76056f1812 Mon Sep 17 00:00:00 2001 -From: Luca Ceresoli -Date: Wed, 20 Jun 2018 12:11:50 +0200 -Subject: [PATCH] arm/arm64: zynq/zynqmp: pass the PS init file as a kconfig - variable - -U-Boot needs to link ps7_init_gpl.c on Zynq or psu_init_gpl.c on -ZynqMP (PS init for short). The current logic to locate this file for -both platforms is: - - 1. if a board-specific file exists in - board/xilinx/zynq[mp]/$(CONFIG_DEFAULT_DEVICE_TREE)/ps?_init_gpl.c - then use it - 2. otherwise use board/xilinx/zynq/ps?_init_gpl.c - -In the latter case the file does not exist in the U-Boot sources and -must be copied in the source tree from the outside before starting the -build. This is typical when it is generated from Xilinx tools while -developing a custom hardware. However making sure that a -board-specific file is _not_ found (and used) requires some trickery -such as removing or overwriting all PS init files (e.g.: the current -meta-xilinx yocto layer [0]). - -This generates a few problems: - - * if the source tree is shared among different out-of-tree builds, - they will pollute (and potentially corrupt) each other - * the source tree cannot be read-only - * any buildsystem must add a command to copy the PS init file binary - * overwriting or deleting files in the source tree is ugly as hell - -Simplify usage by allowing to pass the path to the desired PS init -file in kconfig variable XILINX_PS_INIT_FILE. It can be an absolute -path or relative to $(srctree). If the variable is set, the -user-specified file will always be used without being copied -around. If the the variable is left empty, for backward compatibility -fall back to the old behaviour. - -Since the issue is the same for Zynq and ZynqMP, add one kconfig -variable in a common place and use it for both. - -Also use the new kconfig help text to document all the ways to give -U-Boot the PS init file. - -Build-tested with all combinations of: - - platform: zynq or zynqmp - - PS init file: from XILINX_PS_INIT_FILE (absolute, relative path, - non-existing), in-tree board-specific, in board/xilinx/zynq[mp]/ - - building in-tree, in subdir, in other directory - -[0] https://github.com/Xilinx/meta-xilinx/blob/b2f74cc7fe5c4881589d5e440a17cb51fc66a7ab/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc#L9 - -Signed-off-by: Luca Ceresoli -Cc: Albert Aribaud -Cc: Michal Simek -Cc: Nathan Rossi -Backported from upstream: https://git.denx.de/?p=u-boot.git;a=commit;h=6da4f67ad09cd8b311d77b2b04e557b7ef65b56c ---- - arch/arm/Kconfig | 1 + - board/xilinx/Kconfig | 41 +++++++++++++++++++++++++++++++++++++++++ - board/xilinx/zynq/Makefile | 10 +++++++++- - board/xilinx/zynqmp/Makefile | 10 +++++++++- - 4 files changed, 60 insertions(+), 2 deletions(-) - create mode 100644 board/xilinx/Kconfig - -diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig -index 22234cde2ab6..e04979d0ef7e 100644 ---- a/arch/arm/Kconfig -+++ b/arch/arm/Kconfig -@@ -1293,4 +1293,5 @@ source "board/technologic/ts4600/Kconfig" - source "board/vscom/baltos/Kconfig" - source "board/woodburn/Kconfig" - source "board/work-microwave/work_92105/Kconfig" -+source "board/xilinx/Kconfig" - source "board/zipitz2/Kconfig" - - source "arch/arm/Kconfig.debug" -diff --git a/board/xilinx/Kconfig b/board/xilinx/Kconfig -new file mode 100644 -index 000000000000..aa3fa061edef ---- /dev/null -+++ b/board/xilinx/Kconfig -@@ -0,0 +1,41 @@ -+# Copyright (c) 2018, Luca Ceresoli -+# -+# SPDX-License-Identifier: GPL-2.0 -+ -+if ARCH_ZYNQ || ARCH_ZYNQMP -+ -+config XILINX_PS_INIT_FILE -+ string "Zynq/ZynqMP PS init file(s) location" -+ help -+ On Zynq and ZynqMP U-Boot SPL (or U-Boot proper if -+ ZYNQMP_PSU_INIT_ENABLED is set) is responsible for some -+ basic initializations, such as enabling peripherals and -+ configuring pinmuxes. The PS init file (called -+ psu_init_gpl.c on ZynqMP, ps7_init_gpl.c for Zynq-7000) -+ contains the code for such initializations. -+ -+ U-Boot contains PS init files for some boards, but each of -+ them describes only one specific configuration. Users of a -+ different board, or needing a different configuration, can -+ generate custom files using the Xilinx development tools. -+ -+ There are three ways to give a PS init file to U-Boot: -+ -+ 1. Set this variable to the path, either relative to the -+ source tree or absolute, where the psu_init_gpl.c or -+ ps7_init_gpl.c file is located. U-Boot will build this -+ file. -+ -+ 2. If you leave an empty string here, U-Boot will use -+ board/xilinx/zynq/$(CONFIG_DEFAULT_DEVICE_TREE)/ps7_init_gpl.c -+ for Zynq-7000, or -+ board/xilinx/zynqmp/$(CONFIG_DEFAULT_DEVICE_TREE)/psu_init_gpl.c -+ for ZynqMP. -+ -+ 3. If the above file does not exist, U-Boot will use -+ board/xilinx/zynq/ps7_init_gpl.c for Zynq-7000, or -+ board/xilinx/zynqmp/psu_init_gpl.c for ZynqMP. This file -+ is not provided by U-Boot, you have to copy it there -+ before the build. -+ -+endif -diff --git a/board/xilinx/zynq/Makefile b/board/xilinx/zynq/Makefile -index 5a76a26720cd..03ad5f0532ee 100644 ---- a/board/xilinx/zynq/Makefile -+++ b/board/xilinx/zynq/Makefile -@@ -5,10 +5,18 @@ - - obj-y := board.o - --hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)) -+ifneq ($(CONFIG_XILINX_PS_INIT_FILE),"") -+PS_INIT_FILE := $(shell cd $(srctree); readlink -f $(CONFIG_XILINX_PS_INIT_FILE)) -+init-objs := ps_init_gpl.o -+spl/board/xilinx/zynq/ps_init_gpl.o board/xilinx/zynq/ps_init_gpl.o: $(PS_INIT_FILE) -+ $(CC) $(c_flags) -I $(srctree)/$(src) -c -o $@ $^ -+endif - -+ifeq ($(init-objs),) -+hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)) - init-objs := $(if $(wildcard $(srctree)/$(src)/$(hw-platform-y)/ps7_init_gpl.c),\ - $(hw-platform-y)/ps7_init_gpl.o) -+endif - - ifeq ($(init-objs),) - ifneq ($(wildcard $(srctree)/$(src)/ps7_init_gpl.c),) -diff --git a/board/xilinx/zynqmp/Makefile b/board/xilinx/zynqmp/Makefile -index 05ccd25dcef3..960b81fc5853 100644 ---- a/board/xilinx/zynqmp/Makefile -+++ b/board/xilinx/zynqmp/Makefile -@@ -5,10 +5,18 @@ - - obj-y := zynqmp.o - --hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)) -+ifneq ($(CONFIG_XILINX_PS_INIT_FILE),"") -+PS_INIT_FILE := $(shell cd $(srctree); readlink -f $(CONFIG_XILINX_PS_INIT_FILE)) -+init-objs := ps_init_gpl.o -+spl/board/xilinx/zynqmp/ps_init_gpl.o board/xilinx/zynqmp/ps_init_gpl.o: $(PS_INIT_FILE) -+ $(CC) $(c_flags) -I $(srctree)/$(src) -c -o $@ $^ -+endif - -+ifeq ($(init-objs),) -+hw-platform-y :=$(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)) - init-objs := $(if $(wildcard $(srctree)/$(src)/$(hw-platform-y)/psu_init_gpl.c),\ - $(hw-platform-y)/psu_init_gpl.o) -+endif - - ifeq ($(init-objs),) - ifneq ($(wildcard $(srctree)/$(src)/psu_init_gpl.c),) --- -2.7.4 - diff --git a/buildroot-2021.05/board/zynqmp/post-image.sh b/buildroot-2021.05/board/zynqmp/post-image.sh deleted file mode 100755 index b2b99fed..00000000 --- a/buildroot-2021.05/board/zynqmp/post-image.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# By default U-Boot loads DTB from a file named "system.dtb", so -# let's use a symlink with that name that points to the *first* -# devicetree listed in the config. - -FIRST_DT=$(sed -nr \ - -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/([-_/[:alnum:]\\.]*).*"$|\1|p' \ - ${BR2_CONFIG}) - -[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/system.dtb - -support/scripts/genimage.sh -c board/zynqmp/genimage.cfg diff --git a/buildroot-2021.05/board/zynqmp/readme.txt b/buildroot-2021.05/board/zynqmp/readme.txt deleted file mode 100644 index da37f4cc..00000000 --- a/buildroot-2021.05/board/zynqmp/readme.txt +++ /dev/null @@ -1,51 +0,0 @@ -******************************** -Xilinx ZCU106 board - ZynqMP SoC -******************************** - -This document describes the Buildroot support for the ZCU106 board by -Xilinx, based on the Zynq UltraScale+ MPSoC (aka ZynqMP). It has been -tested with the EK-U1-ZCU106-ES2 pre-production board. - -How to build it -=============== - -Configure Buildroot: - - $ make zynqmp_zcu106_defconfig - -Compile everything and build the rootfs image: - - $ make - -Result of the build -------------------- - -After building, you should get a tree like this: - - output/images/ - +-- atf-uboot.ub - +-- bl31.bin - +-- boot.bin - +-- boot.vfat - +-- Image - +-- rootfs.ext2 - +-- rootfs.ext4 -> rootfs.ext2 - +-- sdcard.img - +-- system.dtb -> zynqmp-zcu106-revA.dtb - +-- u-boot.bin - `-- zynqmp-zcu106-revA.dtb - -How to write the SD card -======================== - -WARNING! This will destroy all the card content. Use with care! - -The sdcard.img file is a complete bootable image ready to be written -on the boot medium. To install it, simply copy the image to an SD -card: - - # dd if=output/images/sdcard.img of=/dev/sdX - -Where 'sdX' is the device node of the SD. - -Eject the SD card, insert it in the board, and power it up. diff --git a/buildroot-2021.05/boot/Config.in b/buildroot-2021.05/boot/Config.in deleted file mode 100644 index 08d9ac06..00000000 --- a/buildroot-2021.05/boot/Config.in +++ /dev/null @@ -1,26 +0,0 @@ -menu "Bootloaders" - -source "boot/afboot-stm32/Config.in" -source "boot/at91bootstrap/Config.in" -source "boot/at91bootstrap3/Config.in" -source "boot/at91dataflashboot/Config.in" -source "boot/arm-trusted-firmware/Config.in" -source "boot/barebox/Config.in" -source "boot/beaglev-ddrinit/Config.in" -source "boot/beaglev-secondboot/Config.in" -source "boot/binaries-marvell/Config.in" -source "boot/boot-wrapper-aarch64/Config.in" -source "boot/grub2/Config.in" -source "boot/gummiboot/Config.in" -source "boot/lpc32xxcdl/Config.in" -source "boot/mv-ddr-marvell/Config.in" -source "boot/mxs-bootlets/Config.in" -source "boot/optee-os/Config.in" -source "boot/opensbi/Config.in" -source "boot/s500-bootloader/Config.in" -source "boot/shim/Config.in" -source "boot/syslinux/Config.in" -source "boot/uboot/Config.in" -source "boot/vexpress-firmware/Config.in" - -endmenu diff --git a/buildroot-2021.05/boot/afboot-stm32/Config.in b/buildroot-2021.05/boot/afboot-stm32/Config.in deleted file mode 100644 index 309b9e04..00000000 --- a/buildroot-2021.05/boot/afboot-stm32/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_TARGET_AFBOOT_STM32 - bool "afboot-stm32" - depends on BR2_arm - help - afboot-stm32 is a very small bootloader for STM32 platforms - - https://github.com/mcoquelin-stm32/afboot-stm32 diff --git a/buildroot-2021.05/boot/afboot-stm32/afboot-stm32.hash b/buildroot-2021.05/boot/afboot-stm32/afboot-stm32.hash deleted file mode 100644 index 75f47295..00000000 --- a/buildroot-2021.05/boot/afboot-stm32/afboot-stm32.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 9b37b661bd3091ceb5d8dc5a56a2dfc02ae9ebc0c63dad3c4289c9d6b3d3ec89 afboot-stm32-0.2.tar.gz diff --git a/buildroot-2021.05/boot/afboot-stm32/afboot-stm32.mk b/buildroot-2021.05/boot/afboot-stm32/afboot-stm32.mk deleted file mode 100644 index 0fb47352..00000000 --- a/buildroot-2021.05/boot/afboot-stm32/afboot-stm32.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# afboot-stm32 -# -################################################################################ - -AFBOOT_STM32_VERSION = 0.2 -AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,v$(AFBOOT_STM32_VERSION)) -AFBOOT_STM32_INSTALL_IMAGES = YES -AFBOOT_STM32_INSTALL_TARGET = NO - -define AFBOOT_STM32_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CROSS_COMPILE=$(TARGET_CROSS) all -endef - -define AFBOOT_STM32_INSTALL_IMAGES_CMDS - $(INSTALL) -m 0755 -t $(BINARIES_DIR) -D $(@D)/stm32*.bin -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/arm-trusted-firmware/Config.in b/buildroot-2021.05/boot/arm-trusted-firmware/Config.in deleted file mode 100644 index c0629404..00000000 --- a/buildroot-2021.05/boot/arm-trusted-firmware/Config.in +++ /dev/null @@ -1,178 +0,0 @@ -config BR2_TARGET_ARM_TRUSTED_FIRMWARE - bool "ARM Trusted Firmware (ATF)" - depends on (BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A) && \ - BR2_TARGET_UBOOT - help - Enable this option if you want to build the ATF for your ARM - based embedded device. - - https://github.com/ARM-software/arm-trusted-firmware - -if BR2_TARGET_ARM_TRUSTED_FIRMWARE -choice - prompt "ATF Version" - help - Select the specific ATF version you want to use - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION - bool "v2.4" - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION - bool "Custom version" - help - This option allows to use a specific official versions - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL - bool "Custom tarball" - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT - bool "Custom Git repository" - -endchoice - -if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION - string "URL of custom ATF tarball" - -endif - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE - string "ATF version" - depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION - string - default "v2.4" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION - default "custom" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL - default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION \ - if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT - default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE \ - if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION - -if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL - string "URL of custom repository" - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION - string "Custom repository version" - help - Revision to use in the typical format used by Git - E.G. a sha id, a tag, .. - -endif - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM - string "ATF platform" - help - Target plaform to build for. - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP - bool "Build FIP image" - help - This option enables building the FIP image (Firmware Image - Package). This is typically the image format used by - platforms were ATF encapsulates the second stage bootloader - (such as U-Boot). - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 - bool "Build BL31 image" - help - This option enables building the BL31 image. This is - typically used on platforms where another bootloader (e.g - U-Boot) encapsulates ATF BL31. - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT - bool "Build BL31 U-Boot image" - select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 - help - Generates a U-Boot image named atf-uboot.ub containing - bl31.bin. This is used for example by the Xilinx version of - U-Boot SPL to load ATF on the ZynqMP SoC. - -choice - prompt "BL32" - default BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_DEFAULT - help - Select BL32 stage for the trusted firmware - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_DEFAULT - bool "Default" - help - With this option selected, ATF will not use any BL32 stage, - unless if one is explicitly chosen using the SPD (for - AArch64) or AARCH32_SP (for AArch32) variables, which can be - passed through - BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES. - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE - bool "OP-TEE OS" - depends on BR2_TARGET_OPTEE_OS - help - This option allows to embed OP-TEE OS as the BL32 part of - the ARM Trusted Firmware boot sequence. - -endchoice - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 - bool "Use U-Boot as BL33" - depends on BR2_TARGET_UBOOT - help - This option allows to embed u-boot.bin as the BL33 part of - the ARM Trusted Firmware. It ensures that the u-boot package - gets built before ATF, and that the appropriate BL33 - variable pointing to u-boot.bin is passed when building ATF. - -if BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE - string "U-Boot BL33 image name" - default "u-boot.bin" - help - Name of the U-Boot BL33 image to include in ATF, it must - have been installed to BINARIES_DIR by the U-Boot package. - -endif - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS - string "Additional ATF make targets" - help - Additional targets for the ATF build - E.G. When using the QorIQ custom ATF repository from NXP, - the target 'pbl' can be used to build the pbl binary. - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES - string "Additional ATF build variables" - help - Additional parameters for the ATF build - E.G. 'DEBUG=1 LOG_LEVEL=20' - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_DEBUG - bool "Build in debug mode" - help - Enable this option to build ATF with DEBUG=1. - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES - string "Binary boot images" - default "*.bin" - help - Names of generated image files that are installed in the - output images/ directory. - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC - bool "Needs dtc" - select BR2_PACKAGE_HOST_DTC - help - Select this option if your ATF board configuration - requires the Device Tree compiler to be available. - -config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN - bool "Needs arm-none-eabi toolchain" - depends on BR2_aarch64 - depends on BR2_HOSTARCH = "x86_64" - help - Select this option if your ATF board configuration requires - an ARM32 bare metal toolchain to be available. - -endif diff --git a/buildroot-2021.05/boot/arm-trusted-firmware/arm-trusted-firmware.hash b/buildroot-2021.05/boot/arm-trusted-firmware/arm-trusted-firmware.hash deleted file mode 100644 index 970613f3..00000000 --- a/buildroot-2021.05/boot/arm-trusted-firmware/arm-trusted-firmware.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 4bfda9fdbe5022f2e88ad3344165f7d38a8ae4a0e2d91d44d9a1603425cc642d arm-trusted-firmware-v2.4.tar.gz -sha256 487795b8023df866259fa159bab94706b747fb0d623b7913f1c4955c0ab5f164 license.rst diff --git a/buildroot-2021.05/boot/arm-trusted-firmware/arm-trusted-firmware.mk b/buildroot-2021.05/boot/arm-trusted-firmware/arm-trusted-firmware.mk deleted file mode 100644 index 0597cecf..00000000 --- a/buildroot-2021.05/boot/arm-trusted-firmware/arm-trusted-firmware.mk +++ /dev/null @@ -1,195 +0,0 @@ -################################################################################ -# -# arm-trusted-firmware -# -################################################################################ - -ARM_TRUSTED_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION)) - -ifeq ($(ARM_TRUSTED_FIRMWARE_VERSION),custom) -# Handle custom ATF tarballs as specified by the configuration -ARM_TRUSTED_FIRMWARE_TARBALL = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION)) -ARM_TRUSTED_FIRMWARE_SITE = $(patsubst %/,%,$(dir $(ARM_TRUSTED_FIRMWARE_TARBALL))) -ARM_TRUSTED_FIRMWARE_SOURCE = $(notdir $(ARM_TRUSTED_FIRMWARE_TARBALL)) -else ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT),y) -ARM_TRUSTED_FIRMWARE_SITE = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL)) -ARM_TRUSTED_FIRMWARE_SITE_METHOD = git -else -# Handle stable official ATF versions -ARM_TRUSTED_FIRMWARE_SITE = $(call github,ARM-software,arm-trusted-firmware,$(ARM_TRUSTED_FIRMWARE_VERSION)) -# The licensing of custom or from-git versions is unknown. -# This is valid only for the official v1.4. -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION),y) -ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3-Clause -ARM_TRUSTED_FIRMWARE_LICENSE_FILES = license.rst -endif -endif - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE)$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION),y) -BR_NO_CHECK_HASH_FOR += $(ARM_TRUSTED_FIRMWARE_SOURCE) -endif - -ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES = YES - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC),y) -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-dtc -endif - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN),y) -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-arm-gnu-a-toolchain -endif - -ARM_TRUSTED_FIRMWARE_PLATFORM = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM)) - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_DEBUG),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += DEBUG=1 -ARM_TRUSTED_FIRMWARE_IMG_DIR = $(@D)/build/$(ARM_TRUSTED_FIRMWARE_PLATFORM)/debug -else -ARM_TRUSTED_FIRMWARE_IMG_DIR = $(@D)/build/$(ARM_TRUSTED_FIRMWARE_PLATFORM)/release -endif - -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES)) \ - PLAT=$(ARM_TRUSTED_FIRMWARE_PLATFORM) - -ifeq ($(BR2_ARM_CPU_ARMV7A),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARM_ARCH_MAJOR=7 -else ifeq ($(BR2_ARM_CPU_ARMV8A),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARM_ARCH_MAJOR=8 -endif - -ifeq ($(BR2_arm),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARCH=aarch32 -else ifeq ($(BR2_aarch64),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARCH=aarch64 -endif - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE),y) -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += optee-os -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \ - BL32=$(BINARIES_DIR)/tee-header_v2.bin \ - BL32_EXTRA1=$(BINARIES_DIR)/tee-pager_v2.bin \ - BL32_EXTRA2=$(BINARIES_DIR)/tee-pageable_v2.bin -ifeq ($(BR2_aarch64),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SPD=opteed -endif -ifeq ($(BR2_arm),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += AARCH32_SP=optee -endif -endif # BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33),y) -ARM_TRUSTED_FIRMWARE_UBOOT_BIN = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE)) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += BL33=$(BINARIES_DIR)/$(ARM_TRUSTED_FIRMWARE_UBOOT_BIN) -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += uboot -endif - -ifeq ($(BR2_TARGET_VEXPRESS_FIRMWARE),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += vexpress-firmware -endif - -ifeq ($(BR2_TARGET_BINARIES_MARVELL),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += binaries-marvell -endif - -ifeq ($(BR2_TARGET_MV_DDR_MARVELL),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += MV_DDR_PATH=$(MV_DDR_MARVELL_DIR) -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += mv-ddr-marvell -endif - -ifeq ($(BR2_SSP_REGULAR),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=default -else ifeq ($(BR2_SSP_STRONG),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=strong -else ifeq ($(BR2_SSP_ALL),y) -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ENABLE_STACK_PROTECTOR=all -endif - -ARM_TRUSTED_FIRMWARE_MAKE_TARGETS = all - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP),y) -ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += fip -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-openssl -# fiptool only exists in newer (>= 1.3) versions of ATF, so we build -# it conditionally. We need to explicitly build it as it requires -# OpenSSL, and therefore needs to be passed proper variables to find -# the host OpenSSL. -define ARM_TRUSTED_FIRMWARE_BUILD_FIPTOOL - if test -d $(@D)/tools/fiptool; then \ - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/tools/fiptool \ - $(ARM_TRUSTED_FIRMWARE_MAKE_OPTS) \ - CPPFLAGS="$(HOST_CPPFLAGS)" \ - LDLIBS="$(HOST_LDFLAGS) -lcrypto" ; \ - fi -endef -endif - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31),y) -ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += bl31 -endif - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT),y) -define ARM_TRUSTED_FIRMWARE_BL31_UBOOT_BUILD -# Get the entry point address from the elf. - BASE_ADDR=$$($(TARGET_READELF) -h $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31/bl31.elf | \ - sed -r '/^ Entry point address:\s*(.*)/!d; s//\1/') && \ - $(MKIMAGE) \ - -A $(MKIMAGE_ARCH) -O arm-trusted-firmware -C none \ - -a $${BASE_ADDR} -e $${BASE_ADDR} \ - -d $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31.bin \ - $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/atf-uboot.ub -endef -define ARM_TRUSTED_FIRMWARE_BL31_UBOOT_INSTALL - $(INSTALL) -m 0644 $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/atf-uboot.ub \ - $(BINARIES_DIR)/atf-uboot.ub -endef -ARM_TRUSTED_FIRMWARE_MAKE_OPTS += RESET_TO_BL31=1 -ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-uboot-tools -endif - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF),y) -define ARM_TRUSTED_FIRMWARE_BL31_UBOOT_INSTALL_ELF - $(INSTALL) -D -m 0644 $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31/bl31.elf \ - $(BINARIES_DIR)/bl31.elf -endef -endif - -ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += \ - $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS)) - -define ARM_TRUSTED_FIRMWARE_BUILD_CMDS - $(ARM_TRUSTED_FIRMWARE_BUILD_FIPTOOL) - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(ARM_TRUSTED_FIRMWARE_MAKE_OPTS) \ - $(ARM_TRUSTED_FIRMWARE_MAKE_TARGETS) - $(ARM_TRUSTED_FIRMWARE_BL31_UBOOT_BUILD) -endef - -define ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES_CMDS - $(foreach f,$(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES)), \ - cp -dpf $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/$(f) $(BINARIES_DIR)/ - ) - $(ARM_TRUSTED_FIRMWARE_BL31_UBOOT_INSTALL) - $(ARM_TRUSTED_FIRMWARE_BL31_UBOOT_INSTALL_ELF) -endef - -# Configuration check -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE)$(BR_BUILDING),yy) - -ifeq ($(ARM_TRUSTED_FIRMWARE_VERSION),custom) -ifeq ($(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION))),) -$(error No tarball location specified. Please check BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION)) -endif -endif - -ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT),y) -ifeq ($(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL)),) -$(error No repository specified. Please check BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL) -endif -endif - -endif - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/at91bootstrap3/Config.in b/buildroot-2021.05/boot/at91bootstrap3/Config.in deleted file mode 100644 index 25ab3048..00000000 --- a/buildroot-2021.05/boot/at91bootstrap3/Config.in +++ /dev/null @@ -1,99 +0,0 @@ -config BR2_TARGET_AT91BOOTSTRAP3 - bool "AT91 Bootstrap 3" - depends on BR2_arm926t || BR2_cortex_a5 || BR2_cortex_a7 - help - AT91Bootstrap is a first level bootloader for the Atmel AT91 - devices. It integrates algorithms for: - - Device initialization such as clock configuration, PIO - settings... - - Peripheral drivers such as PIO, PMC or SDRAMC... - - Physical media algorithm such as DataFlash, NandFlash, NOR - Flash... - - https://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap - -if BR2_TARGET_AT91BOOTSTRAP3 - -choice - - prompt "AT91 Bootstrap 3 version" - -config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION - bool "3.9.3" - -config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT - bool "Custom Git repository" - help - This option allows Buildroot to get the AT91 Bootstrap 3 - source code from a Git repository. - -config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL - bool "Custom tarball" - -endchoice - -config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION - string "URL of custom AT91Bootstrap tarball" - depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL - -if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT - -config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL - string "URL of custom repository" - -config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION - string "Custom repository version" - help - Revision to use in the typical format used by Git - E.G. a sha id, a tag, branch, .. - -endif - -config BR2_TARGET_AT91BOOTSTRAP3_VERSION - string - default "v3.9.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION - default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \ - if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT - default "custom" if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL - -config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR - string "custom patch dir" - help - If your board requires custom patches, add the path to the - directory containing the patches here. The patches must be - named at91bootstrap3-.patch. - - Most users may leave this empty - -# -# Configuration selection -# - -choice - prompt "AT91 Bootstrap 3 configuration" - default BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG - -config BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG - bool "Using a defconfig" - -config BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG - bool "Using a custom config file" - -endchoice - -config BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG - string "Defconfig name" - depends on BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG - help - Name of the at91bootstrap3 defconfig file to use, without the - trailing _defconfig. The defconfig is located at - board//_defconfig in the at91bootstrap3 - tree. - -config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE - string "Configuration file path" - depends on BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG - help - Path to the at91bootstrap3 configuration file - -endif # BR2_TARGET_AT91BOOTSTRAP3 diff --git a/buildroot-2021.05/boot/at91bootstrap3/at91bootstrap3.hash b/buildroot-2021.05/boot/at91bootstrap3/at91bootstrap3.hash deleted file mode 100644 index 6b6257b0..00000000 --- a/buildroot-2021.05/boot/at91bootstrap3/at91bootstrap3.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 dd6a3c57c1c84fc3b18187bee3d139146a0e032dd1d8edea7b242730e0bc4fe1 at91bootstrap3-v3.9.3.tar.gz -sha256 fd7a1ce5719bb7abf5e289da2e0ea8c933af3ba0f6ad03dbdbd2b7f54a77498a main.c diff --git a/buildroot-2021.05/boot/at91bootstrap3/at91bootstrap3.mk b/buildroot-2021.05/boot/at91bootstrap3/at91bootstrap3.mk deleted file mode 100644 index a942afcd..00000000 --- a/buildroot-2021.05/boot/at91bootstrap3/at91bootstrap3.mk +++ /dev/null @@ -1,99 +0,0 @@ -################################################################################ -# -# at91bootstrap3 -# -################################################################################ - -AT91BOOTSTRAP3_VERSION = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_VERSION)) - -ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL),y) -AT91BOOTSTRAP3_TARBALL = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION)) -AT91BOOTSTRAP3_SITE = $(patsubst %/,%,$(dir $(AT91BOOTSTRAP3_TARBALL))) -AT91BOOTSTRAP3_SOURCE = $(notdir $(AT91BOOTSTRAP3_TARBALL)) -BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE) -else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y) -AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL)) -AT91BOOTSTRAP3_SITE_METHOD = git -BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE) -else -AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION)) -endif - -AT91BOOTSTRAP3_LICENSE = Atmel License -ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION),y) -AT91BOOTSTRAP3_LICENSE_FILES = main.c -endif - -AT91BOOTSTRAP3_CPE_ID_VENDOR = linux4sam -AT91BOOTSTRAP3_CPE_ID_PRODUCT = at91bootstrap - -AT91BOOTSTRAP3_INSTALL_IMAGES = YES -AT91BOOTSTRAP3_INSTALL_TARGET = NO - -AT91BOOTSTRAP3_CUSTOM_PATCH_DIR = \ - $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR)) - -AT91BOOTSTRAP3_MAKE_OPTS = CROSS_COMPILE=$(TARGET_CROSS) DESTDIR=$(BINARIES_DIR) - -ifneq ($(AT91BOOTSTRAP3_CUSTOM_PATCH_DIR),) -define AT91BOOTSTRAP3_APPLY_CUSTOM_PATCHES - $(APPLY_PATCHES) $(@D) $(AT91BOOTSTRAP3_CUSTOM_PATCH_DIR) \*.patch -endef - -AT91BOOTSTRAP3_POST_PATCH_HOOKS += AT91BOOTSTRAP3_APPLY_CUSTOM_PATCHES -endif - -define AT91BOOTSTRAP3_BUILD_CMDS - $(MAKE) $(AT91BOOTSTRAP3_MAKE_OPTS) -C $(@D) -endef - -define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS - cp $(@D)/binaries/*.bin $(BINARIES_DIR) -endef - -ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y) -AT91BOOTSTRAP3_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG))_defconfig -else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y) -AT91BOOTSTRAP3_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE)) -endif - -AT91BOOTSTRAP3_KCONFIG_EDITORS = menuconfig xconfig gconfig -AT91BOOTSTRAP3_KCONFIG_OPTS = $(AT91BOOTSTRAP3_MAKE_OPTS) - -# Checks to give errors that the user can understand -# Must be before we call to kconfig-package -ifeq ($(BR_BUILDING),y) - -ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y) -# We must use the user-supplied kconfig value, because -# AT91BOOTSTRAP3_KCONFIG_DEFCONFIG will at least contain -# the trailing _defconfig -ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG)),) -$(error No at91bootstrap3 defconfig name specified, check your BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG setting) -endif -endif - -ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y) -ifeq ($(AT91BOOTSTRAP3_KCONFIG_FILE),) -$(error No at91bootstrap3 configuration file specified, check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE setting) -endif -endif - -ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y) -ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL)),) -$(error No custom at91bootstrap3 repository URL specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL setting) -endif -ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION)),) -$(error No custom at91bootstrap3 repository version specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION setting) -endif -endif - -ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL),y) -ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION)),) -$(error No custom AT91Bootstrap3 tarball specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION setting) -endif # qstrip BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION -endif # BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL - -endif # BR_BUILDING - -$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/boot/barebox/Config.in b/buildroot-2021.05/boot/barebox/Config.in deleted file mode 100644 index 03d9a272..00000000 --- a/buildroot-2021.05/boot/barebox/Config.in +++ /dev/null @@ -1,85 +0,0 @@ -config BR2_TARGET_BAREBOX - bool "Barebox" - help - The Barebox bootloader, formerly known as U-Boot v2. - - http://www.barebox.org - -if BR2_TARGET_BAREBOX -choice - prompt "version" - help - Select the specific Barebox version you want to use - -config BR2_TARGET_BAREBOX_LATEST_VERSION - bool "2021.01.0" - -config BR2_TARGET_BAREBOX_CUSTOM_VERSION - bool "Custom version" - help - This option allows to use a specific official versions - -config BR2_TARGET_BAREBOX_CUSTOM_TARBALL - bool "Custom tarball" - -config BR2_TARGET_BAREBOX_CUSTOM_GIT - bool "Custom Git repository" - -endchoice - -config BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE - string "Barebox version" - depends on BR2_TARGET_BAREBOX_CUSTOM_VERSION - -if BR2_TARGET_BAREBOX_CUSTOM_TARBALL - -config BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION - string "URL of custom Barebox tarball" - -endif - -config BR2_TARGET_BAREBOX_VERSION - string - default "2021.01.0" if BR2_TARGET_BAREBOX_LATEST_VERSION - default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION - default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL - default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT - -config BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR - string "custom patch dir" - help - If your board requires custom patches, add the path to the - directory containing the patches here. The patches must be - named barebox--.patch. - - Most users may leave this empty - -if BR2_TARGET_BAREBOX_CUSTOM_GIT - -config BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL - string "URL of custom Git repository" - -config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION - string "Custom Git version" - -endif - -source boot/barebox/barebox/Config.in - -menuconfig BR2_TARGET_BAREBOX_AUX - bool "Build barebox with an auxiliary config" - help - Build barebox with an auxiliary configuration. - - Useful for building an SPL (Secondary Program Loader) in - addition to the traditional TPL (Tertiary Program Loader), - such as the X-Loader or MLO for Texas Instruments - processors. - -if BR2_TARGET_BAREBOX_AUX - -source boot/barebox/barebox-aux/Config.in - -endif - -endif diff --git a/buildroot-2021.05/boot/barebox/barebox.hash b/buildroot-2021.05/boot/barebox/barebox.hash deleted file mode 100644 index e6f8234a..00000000 --- a/buildroot-2021.05/boot/barebox/barebox.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://www.barebox.org/download/barebox-2021.01.0.tar.bz2.md5 -md5 e81e7cd6bc2629e7fcdeaddf59c324c3 barebox-2021.01.0.tar.bz2 - -# Locally calculated -sha256 b39501db1c701b05f862973d8aed628cab0e611421cbaadae8b5262311551ff9 barebox-2021.01.0.tar.bz2 - -# License files, locally computed -sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING diff --git a/buildroot-2021.05/boot/barebox/barebox.mk b/buildroot-2021.05/boot/barebox/barebox.mk deleted file mode 100644 index 8f02f9f9..00000000 --- a/buildroot-2021.05/boot/barebox/barebox.mk +++ /dev/null @@ -1,178 +0,0 @@ -################################################################################ -# -# barebox -# -################################################################################ - -################################################################################ -# inner-barebox-package -- generates the KConfig logic and make targets needed -# to support a barebox package. All barebox packages are built from the same -# source (origin, version and patches). The remainder of the package -# configuration is unique to each barebox package. -# -# argument 1 is the uppercase package name (used for variable name-space) -################################################################################ - -define inner-barebox-package - -$(1)_VERSION = $$(call qstrip,$$(BR2_TARGET_BAREBOX_VERSION)) - -ifeq ($$($(1)_VERSION),custom) -# Handle custom Barebox tarballs as specified by the configuration -$(1)_TARBALL = $$(call qstrip,$$(BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION)) -$(1)_SITE = $$(patsubst %/,%,$$(dir $$($(1)_TARBALL))) -$(1)_SOURCE = $$(notdir $$($(1)_TARBALL)) -else ifeq ($$(BR2_TARGET_BAREBOX_CUSTOM_GIT),y) -$(1)_SITE = $$(call qstrip,$$(BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL)) -$(1)_SITE_METHOD = git -# Override the default value of _SOURCE to 'barebox-*' so that it is not -# downloaded a second time for barebox-aux; also alows avoiding the hash -# check: -$(1)_SOURCE = barebox-$$($(1)_VERSION)$$(BR_FMT_VERSION_git).tar.gz -else -# Handle stable official Barebox versions -$(1)_SOURCE = barebox-$$($(1)_VERSION).tar.bz2 -$(1)_SITE = https://www.barebox.org/download -endif - -$(1)_DL_SUBDIR = barebox - -$(1)_DEPENDENCIES = host-lzop -$(1)_LICENSE = GPL-2.0 with exceptions -ifeq ($(BR2_TARGET_BAREBOX_LATEST_VERSION),y) -$(1)_LICENSE_FILES = COPYING -endif - -$(1)_CUSTOM_EMBEDDED_ENV_PATH = $$(call qstrip,$$(BR2_TARGET_$(1)_CUSTOM_EMBEDDED_ENV_PATH)) - -ifneq ($$(call qstrip,$$(BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR)),) -define $(1)_APPLY_CUSTOM_PATCHES - $$(APPLY_PATCHES) $$(@D) \ - $$(BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR) \*.patch -endef - -$(1)_POST_PATCH_HOOKS += $(1)_APPLY_CUSTOM_PATCHES -endif - -$(1)_INSTALL_IMAGES = YES -ifneq ($$(BR2_TARGET_$(1)_BAREBOXENV),y) -$(1)_INSTALL_TARGET = NO -endif - -ifeq ($$(KERNEL_ARCH),i386) -$(1)_ARCH = x86 -else ifeq ($$(KERNEL_ARCH),x86_64) -$(1)_ARCH = x86 -else ifeq ($$(KERNEL_ARCH),powerpc) -$(1)_ARCH = ppc -else ifeq ($$(KERNEL_ARCH),arm64) -$(1)_ARCH = arm -else -$(1)_ARCH = $$(KERNEL_ARCH) -endif - -$(1)_MAKE_FLAGS = ARCH=$$($(1)_ARCH) CROSS_COMPILE="$$(TARGET_CROSS)" -$(1)_MAKE_ENV = $$(TARGET_MAKE_ENV) - -ifeq ($$(BR2_TARGET_$(1)_USE_DEFCONFIG),y) -$(1)_KCONFIG_DEFCONFIG = $$(call qstrip,$$(BR2_TARGET_$(1)_BOARD_DEFCONFIG))_defconfig -else ifeq ($$(BR2_TARGET_$(1)_USE_CUSTOM_CONFIG),y) -$(1)_KCONFIG_FILE = $$(call qstrip,$$(BR2_TARGET_$(1)_CUSTOM_CONFIG_FILE)) -endif - -$(1)_KCONFIG_FRAGMENT_FILES = $$(call qstrip,$$(BR2_TARGET_$(1)_CONFIG_FRAGMENT_FILES)) -$(1)_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig -$(1)_KCONFIG_OPTS = $$($(1)_MAKE_FLAGS) - -$(1)_KCONFIG_DEPENDENCIES = \ - $(BR2_BISON_HOST_DEPENDENCY) \ - $(BR2_FLEX_HOST_DEPENDENCY) - -ifeq ($$(BR2_TARGET_$(1)_CUSTOM_ENV),y) -$(1)_ENV_NAME = $$(notdir $$(call qstrip,\ - $$(BR2_TARGET_$(1)_CUSTOM_ENV_PATH))) -define $(1)_BUILD_CUSTOM_ENV - $$(@D)/scripts/bareboxenv -s \ - $$(call qstrip, $$(BR2_TARGET_$(1)_CUSTOM_ENV_PATH)) \ - $$(@D)/$$($(1)_ENV_NAME) -endef -define $(1)_INSTALL_CUSTOM_ENV - cp $$(@D)/$$($(1)_ENV_NAME) $$(BINARIES_DIR) -endef -endif - -ifneq ($$($(1)_CUSTOM_EMBEDDED_ENV_PATH),) -define $(1)_KCONFIG_FIXUP_CUSTOM_EMBEDDED_ENV_PATH - $$(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_ENVIRONMENT) - $$(call KCONFIG_SET_OPT,CONFIG_DEFAULT_ENVIRONMENT_PATH,"$$($(1)_CUSTOM_EMBEDDED_ENV_PATH)") -endef -endif - -define $(1)_KCONFIG_FIXUP_BAREBOXENV - $$(if $$(BR2_TARGET_$(1)_BAREBOXENV),\ - $$(call KCONFIG_ENABLE_OPT,CONFIG_BAREBOXENV_TARGET),\ - $$(call KCONFIG_DISABLE_OPT,CONFIG_BAREBOXENV_TARGET)) -endef - -define $(1)_KCONFIG_FIXUP_CMDS - $$($(1)_KCONFIG_FIXUP_CUSTOM_EMBEDDED_ENV_PATH) - $$($(1)_KCONFIG_FIXUP_BAREBOXENV) -endef - -define $(1)_BUILD_CMDS - $$($(1)_BUILD_BAREBOXENV_CMDS) - $$(TARGET_MAKE_ENV) $$(MAKE) $$($(1)_MAKE_FLAGS) -C $$(@D) - $$($(1)_BUILD_CUSTOM_ENV) -endef - -$(1)_IMAGE_FILES = $$(call qstrip,$$(BR2_TARGET_$(1)_IMAGE_FILE)) - -define $(1)_INSTALL_IMAGES_CMDS - if test -n "$$($(1)_IMAGE_FILES)"; then \ - cp -L $$(foreach image,$$($(1)_IMAGE_FILES),$$(@D)/$$(image)) $$(BINARIES_DIR) ; \ - elif test -h $$(@D)/barebox-flash-image ; then \ - cp -L $$(@D)/barebox-flash-image $$(BINARIES_DIR)/barebox.bin ; \ - else \ - cp $$(@D)/barebox.bin $$(BINARIES_DIR);\ - fi - $$($(1)_INSTALL_CUSTOM_ENV) -endef - -# Starting with barebox v2020.09.0, the kconfig used calls the -# cross-compiler to check its capabilities. So we need the -# toolchain before we can call the configurators. -$(1)_KCONFIG_DEPENDENCIES += toolchain - -ifeq ($$(BR2_TARGET_$(1)_BAREBOXENV),y) -define $(1)_INSTALL_TARGET_CMDS - cp $$(@D)/scripts/bareboxenv-target $$(TARGET_DIR)/usr/bin/bareboxenv -endef -endif - -# Checks to give errors that the user can understand -# Must be before we call to kconfig-package -ifeq ($$(BR2_TARGET_$(1))$$(BR_BUILDING),yy) -# We must use the user-supplied kconfig value, because -# $(1)_KCONFIG_DEFCONFIG will at least contain the -# trailing _defconfig -ifeq ($$(or $$($(1)_KCONFIG_FILE),$$(call qstrip,$$(BR2_TARGET_$(1)_BOARD_DEFCONFIG))),) -$$(error No Barebox config. Check your BR2_TARGET_$(1)_BOARD_DEFCONFIG or BR2_TARGET_$(1)_CUSTOM_CONFIG_FILE settings) -endif -endif - -$$(eval $$(kconfig-package)) - -endef - -################################################################################ -# barebox-package -- the target generator macro for barebox packages -################################################################################ - -barebox-package=$(call inner-barebox-package,$(call UPPERCASE,$(pkgname))) - -include boot/barebox/barebox/barebox.mk -include boot/barebox/barebox-aux/barebox-aux.mk - -ifeq ($(BR2_TARGET_BAREBOX)$(BR2_TARGET_BAREBOX_LATEST_VERSION),y) -BR_NO_CHECK_HASH_FOR += $(BAREBOX_SOURCE) -endif diff --git a/buildroot-2021.05/boot/barebox/barebox/barebox.mk b/buildroot-2021.05/boot/barebox/barebox/barebox.mk deleted file mode 100644 index 39afb0fc..00000000 --- a/buildroot-2021.05/boot/barebox/barebox/barebox.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# barebox -# -################################################################################ - -define BAREBOX_HELP_CMDS - @echo ' barebox-menuconfig - Run barebox menuconfig' - @echo ' barebox-savedefconfig - Run barebox savedefconfig' -endef - -# Instantiate the barebox package -$(eval $(barebox-package)) diff --git a/buildroot-2021.05/boot/beaglev-ddrinit/beaglev-ddrinit.hash b/buildroot-2021.05/boot/beaglev-ddrinit/beaglev-ddrinit.hash deleted file mode 100644 index 7f433466..00000000 --- a/buildroot-2021.05/boot/beaglev-ddrinit/beaglev-ddrinit.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed -sha256 df58c3da7a6f429095f4d56e7f1f5b7c855a0cbe82a2569586ce0c5fdd1bf256 beaglev-ddrinit-2e2f6faaf1059b61bb06ea00404199d1de55f201.tar.gz diff --git a/buildroot-2021.05/boot/beaglev-ddrinit/beaglev-ddrinit.mk b/buildroot-2021.05/boot/beaglev-ddrinit/beaglev-ddrinit.mk deleted file mode 100644 index 2f1ce3ee..00000000 --- a/buildroot-2021.05/boot/beaglev-ddrinit/beaglev-ddrinit.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# beaglev-ddrinit -# -################################################################################ - -# Commit on the 'starfive' branch -BEAGLEV_DDRINIT_VERSION = 2e2f6faaf1059b61bb06ea00404199d1de55f201 -BEAGLEV_DDRINIT_SITE = $(call github,starfive-tech,beagle_ddrinit,$(BEAGLEV_DDRINIT_VERSION)) -BEAGLEV_DDRINIT_INSTALL_TARGET = NO -BEAGLEV_DDRINIT_INSTALL_IMAGES = YES -BEAGLEV_DDRINIT_DEPENDENCIES = host-riscv64-elf-toolchain -# unfortunately, no real license file, but several sources files are -# under GPL-2.0+, making the whole work GPL-2.0+ -BEAGLEV_DDRINIT_LICENSE = GPL-2.0+ - -define BEAGLEV_DDRINIT_BUILD_CMDS - $(MAKE) -C $(@D)/build \ - CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \ - SUFFIX=buildroot \ - GIT_VERSION=$(BEAGLEV_DDRINIT_VERSION) -endef - -define BEAGLEV_DDRINIT_INSTALL_IMAGES_CMDS - $(INSTALL) -D -m 0644 $(@D)/build/ddrinit-2133-buildroot.bin.out \ - $(BINARIES_DIR)/ddrinit-2133-buildroot.bin.out -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/beaglev-secondboot/beaglev-secondboot.hash b/buildroot-2021.05/boot/beaglev-secondboot/beaglev-secondboot.hash deleted file mode 100644 index e0ca0e14..00000000 --- a/buildroot-2021.05/boot/beaglev-secondboot/beaglev-secondboot.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed -sha256 56519b20a8ac2b68770cacd5158190dfcb2b3762a759b1c44582ca25ffbccc5d beaglev-secondboot-e976d186e69a1a84884265b0689626fa254a950d.tar.gz diff --git a/buildroot-2021.05/boot/beaglev-secondboot/beaglev-secondboot.mk b/buildroot-2021.05/boot/beaglev-secondboot/beaglev-secondboot.mk deleted file mode 100644 index 6d904b02..00000000 --- a/buildroot-2021.05/boot/beaglev-secondboot/beaglev-secondboot.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# beaglev-secondboot -# -################################################################################ - -# Commit on the 'starfive' branch -BEAGLEV_SECONDBOOT_VERSION = e976d186e69a1a84884265b0689626fa254a950d -BEAGLEV_SECONDBOOT_SITE = $(call github,starfive-tech,beagle_secondBoot,$(BEAGLEV_SECONDBOOT_VERSION)) -BEAGLEV_SECONDBOOT_INSTALL_TARGET = NO -BEAGLEV_SECONDBOOT_INSTALL_IMAGES = YES -BEAGLEV_SECONDBOOT_DEPENDENCIES = host-riscv64-elf-toolchain -# unfortunately, no real license file, but several sources files are -# under GPL-2.0+, making the whole work GPL-2.0+ -BEAGLEV_SECONDBOOT_LICENSE = GPL-2.0+ - -define BEAGLEV_SECONDBOOT_BUILD_CMDS - $(MAKE) -C $(@D)/build \ - CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \ - SUFFIX=buildroot \ - GIT_VERSION=$(BEAGLEV_SECONDBOOT_VERSION) -endef - -define BEAGLEV_SECONDBOOT_INSTALL_IMAGES_CMDS - $(INSTALL) -D -m 0644 $(@D)/build/bootloader-BEAGLEV-buildroot.bin.out \ - $(BINARIES_DIR)/bootloader-BEAGLEV-buildroot.bin.out -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/buildroot-2021.05/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk deleted file mode 100644 index 3a1af9b0..00000000 --- a/buildroot-2021.05/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# boot-wrapper-aarch64 -# -################################################################################ - -BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a -BOOT_WRAPPER_AARCH64_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git -BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause -BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt -BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux -BOOT_WRAPPER_AARCH64_INSTALL_IMAGES = YES - -# The Git repository does not have the generated configure script and -# Makefile. -BOOT_WRAPPER_AARCH64_AUTORECONF = YES - -BOOT_WRAPPER_AARCH64_DTB = $(LINUX_DIR)/arch/arm64/boot/dts/$(basename $(call qstrip,$(BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS))).dtb - -BOOT_WRAPPER_AARCH64_CONF_OPTS = \ - --with-kernel-dir=$(LINUX_DIR) \ - --with-dtb=$(BOOT_WRAPPER_AARCH64_DTB) \ - --with-cmdline=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS) - -ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI),y) -BOOT_WRAPPER_AARCH64_CONF_OPTS += --enable-psci -else -BOOT_WRAPPER_AARCH64_CONF_OPTS += --disable-psci -endif - -ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_GICV3),y) -BOOT_WRAPPER_AARCH64_CONF_OPTS += --enable-gicv3 -endif - -# We need to convince the configure script that the Linux kernel tree -# exists, as well as the DTB and the kernel Image. Even though those -# are available on the build machine, the configure script uses -# AC_CHECK_FILE tests, which are always disabled in cross-compilation -# situations. -BOOT_WRAPPER_AARCH64_CONF_ENV = \ - $(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR))=yes \ - $(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR)$(BOOT_WRAPPER_AARCH64_DTB))=yes \ - $(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR)/arch/arm64/boot/Image)=yes - -define BOOT_WRAPPER_AARCH64_INSTALL_IMAGES_CMDS - cp $(@D)/linux-system.axf $(BINARIES_DIR) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/boot/grub2/Config.in b/buildroot-2021.05/boot/grub2/Config.in deleted file mode 100644 index e4513399..00000000 --- a/buildroot-2021.05/boot/grub2/Config.in +++ /dev/null @@ -1,123 +0,0 @@ -config BR2_TARGET_GRUB2_ARCH_SUPPORTS - bool - default y if BR2_i386 - default y if BR2_x86_64 - default y if BR2_arm - default y if BR2_aarch64 - depends on BR2_USE_MMU - -config BR2_TARGET_GRUB2 - bool "grub2" - depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS - depends on BR2_USE_WCHAR - help - GNU GRUB is a Multiboot boot loader. It was derived from - GRUB, the GRand Unified Bootloader, which was originally - designed and implemented by Erich Stefan Boleyn. GRUB 2 has - replaced what was formerly known as GRUB (i.e. version - 0.9x), which has, in turn, become GRUB Legacy. - - Amongst others, GRUB2 offers EFI support, which GRUB Legacy - doesn't provide. - - For additional notes on using Grub 2 with Buildroot, see - boot/grub2/readme.txt - - http://www.gnu.org/software/grub/ - -if BR2_TARGET_GRUB2 - -choice - prompt "Platform" - -config BR2_TARGET_GRUB2_I386_PC - bool "i386-pc" - depends on BR2_i386 || BR2_x86_64 - help - Select this option if the platform you're targetting is a - x86 or x86-64 legacy BIOS based platform. - -config BR2_TARGET_GRUB2_I386_EFI - bool "i386-efi" - depends on BR2_i386 || BR2_x86_64 - help - Select this option if the platform you're targetting has a - 32 bits EFI BIOS. Note that some x86-64 platforms use a 32 - bits EFI BIOS, and this option should be used in this case. - -config BR2_TARGET_GRUB2_X86_64_EFI - bool "x86-64-efi" - depends on BR2_x86_64 - help - Select this option if the platform you're targetting has a - 64 bits EFI BIOS. - -config BR2_TARGET_GRUB2_ARM_UBOOT - bool "arm-uboot" - depends on BR2_arm - help - Select this option if the platform you're targetting is an - ARM u-boot platform, and you want to boot Grub 2 as an u-boot - compatible image. - -config BR2_TARGET_GRUB2_ARM_EFI - bool "arm-efi" - depends on BR2_arm - help - Select this option if the platform you're targetting is an - ARM platform and you want to boot Grub 2 as an EFI - application. - -config BR2_TARGET_GRUB2_ARM64_EFI - bool "arm64-efi" - depends on BR2_aarch64 - help - Select this option if the platform you're targetting is an - Aarch64 platform and you want to boot Grub 2 as an EFI - application. - -endchoice - -if BR2_TARGET_GRUB2_I386_PC || BR2_TARGET_GRUB2_ARM_UBOOT - -config BR2_TARGET_GRUB2_BOOT_PARTITION - string "boot partition" - default "hd0,msdos1" - help - Specify the partition where the /boot/grub/grub.cfg file is - located. Use 'hd0,msdos1' for the first partition of the - first disk if using a legacy partition table, or 'hd0,gpt1' - if using GPT partition table. - -endif # BR2_TARGET_GRUB2_I386_PC || BR2_TARGET_GRUB2_ARM_UBOOT - -config BR2_TARGET_GRUB2_BUILTIN_MODULES - string "builtin modules" - default "boot linux ext2 fat squash4 part_msdos part_gpt normal biosdisk" if BR2_TARGET_GRUB2_I386_PC - default "boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop" \ - if BR2_TARGET_GRUB2_I386_EFI || BR2_TARGET_GRUB2_X86_64_EFI || \ - BR2_TARGET_GRUB2_ARM_EFI || BR2_TARGET_GRUB2_ARM64_EFI - default "linux ext2 fat part_msdos normal" if BR2_TARGET_GRUB2_ARM_UBOOT - -config BR2_TARGET_GRUB2_BUILTIN_CONFIG - string "builtin config" - help - Path to a Grub 2 configuration file that will be embedded - into the Grub image itself. This allows to set the root - device and other configuration parameters, but however menu - entries cannot be described in this embedded configuration. - -config BR2_TARGET_GRUB2_INSTALL_TOOLS - bool "install tools" - help - Install support tools to interact with GNU GRUB Multiboot - boot loader. - - This will also install the Grub 2 loadable modules to the - target. - -endif # BR2_TARGET_GRUB2 - -comment "grub2 needs a toolchain w/ wchar" - depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS - depends on !BR2_USE_WCHAR diff --git a/buildroot-2021.05/boot/grub2/grub2.mk b/buildroot-2021.05/boot/grub2/grub2.mk deleted file mode 100644 index af16ee91..00000000 --- a/buildroot-2021.05/boot/grub2/grub2.mk +++ /dev/null @@ -1,178 +0,0 @@ -################################################################################ -# -# grub2 -# -################################################################################ - -GRUB2_VERSION = 2.04 -GRUB2_SITE = http://ftp.gnu.org/gnu/grub -GRUB2_SOURCE = grub-$(GRUB2_VERSION).tar.xz -GRUB2_LICENSE = GPL-3.0+ -GRUB2_LICENSE_FILES = COPYING -GRUB2_DEPENDENCIES = host-bison host-flex host-grub2 -HOST_GRUB2_DEPENDENCIES = host-bison host-flex -GRUB2_INSTALL_IMAGES = YES - -# 0001-build-Fix-GRUB-i386-pc-build-with-Ubuntu-gcc.patch and 2021/03/02 -# security fixes (patches 0029-0149) -define GRUB2_AVOID_AUTORECONF - $(Q)touch $(@D)/Makefile.util.am - $(Q)touch $(@D)/aclocal.m4 - $(Q)touch $(@D)/Makefile.in - $(Q)touch $(@D)/configure -endef -GRUB2_POST_PATCH_HOOKS += GRUB2_AVOID_AUTORECONF -HOST_GRUB2_POST_PATCH_HOOKS += GRUB2_AVOID_AUTORECONF - -# 0002-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch -GRUB2_IGNORE_CVES += CVE-2020-10713 -# 0005-calloc-Use-calloc-at-most-places.patch -GRUB2_IGNORE_CVES += CVE-2020-14308 -# 0006-malloc-Use-overflow-checking-primitives-where-we-do-.patch -GRUB2_IGNORE_CVES += CVE-2020-14309 CVE-2020-14310 CVE-2020-14311 -# 0019-script-Avoid-a-use-after-free-when-redefining-a-func.patch -GRUB2_IGNORE_CVES += CVE-2020-15706 -# 0028-linux-Fix-integer-overflows-in-initrd-size-handling.patch -GRUB2_IGNORE_CVES += CVE-2020-15707 -# 2021/03/02 security fixes - patches 0029-0149 -GRUB2_IGNORE_CVES += CVE-2020-25632 CVE-2020-25647 CVE-2020-27749 \ - CVE-2020-27779 CVE-2021-3418 CVE-2021-20225 CVE-2021-20233 -# 0039-acpi-Don-t-register-the-acpi-command-when-locked-dow.patch -GRUB2_IGNORE_CVES += CVE-2020-14372 -# CVE-2019-14865 is about a flaw in the grub2-set-bootflag tool, which -# doesn't exist upstream, but is added by the Redhat/Fedora -# packaging. Not applicable to Buildroot. -GRUB2_IGNORE_CVES += CVE-2019-14865 -# CVE-2020-15705 is related to a flaw in the use of the -# grub_linuxefi_secure_validate(), which was added by Debian/Ubuntu -# patches. The issue doesn't affect upstream Grub, and -# grub_linuxefi_secure_validate() is not implemented in the grub2 -# version available in Buildroot. -GRUB2_IGNORE_CVES += CVE-2020-15705 - -ifeq ($(BR2_TARGET_GRUB2_INSTALL_TOOLS),y) -GRUB2_INSTALL_TARGET = YES -else -GRUB2_INSTALL_TARGET = NO -endif -GRUB2_CPE_ID_VENDOR = gnu - -GRUB2_BUILTIN_MODULES = $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_MODULES)) -GRUB2_BUILTIN_CONFIG = $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_CONFIG)) -GRUB2_BOOT_PARTITION = $(call qstrip,$(BR2_TARGET_GRUB2_BOOT_PARTITION)) - -ifeq ($(BR2_TARGET_GRUB2_I386_PC),y) -GRUB2_IMAGE = $(BINARIES_DIR)/grub.img -GRUB2_CFG = $(TARGET_DIR)/boot/grub/grub.cfg -GRUB2_PREFIX = ($(GRUB2_BOOT_PARTITION))/boot/grub -GRUB2_TUPLE = i386-pc -GRUB2_TARGET = i386 -GRUB2_PLATFORM = pc -else ifeq ($(BR2_TARGET_GRUB2_I386_EFI),y) -GRUB2_IMAGE = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootia32.efi -GRUB2_CFG = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg -GRUB2_PREFIX = /EFI/BOOT -GRUB2_TUPLE = i386-efi -GRUB2_TARGET = i386 -GRUB2_PLATFORM = efi -else ifeq ($(BR2_TARGET_GRUB2_X86_64_EFI),y) -GRUB2_IMAGE = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootx64.efi -GRUB2_CFG = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg -GRUB2_PREFIX = /EFI/BOOT -GRUB2_TUPLE = x86_64-efi -GRUB2_TARGET = x86_64 -GRUB2_PLATFORM = efi -else ifeq ($(BR2_TARGET_GRUB2_ARM_UBOOT),y) -GRUB2_IMAGE = $(BINARIES_DIR)/boot-part/grub/grub.img -GRUB2_CFG = $(BINARIES_DIR)/boot-part/grub/grub.cfg -GRUB2_PREFIX = ($(GRUB2_BOOT_PARTITION))/boot/grub -GRUB2_TUPLE = arm-uboot -GRUB2_TARGET = arm -GRUB2_PLATFORM = uboot -else ifeq ($(BR2_TARGET_GRUB2_ARM_EFI),y) -GRUB2_IMAGE = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootarm.efi -GRUB2_CFG = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg -GRUB2_PREFIX = /EFI/BOOT -GRUB2_TUPLE = arm-efi -GRUB2_TARGET = arm -GRUB2_PLATFORM = efi -else ifeq ($(BR2_TARGET_GRUB2_ARM64_EFI),y) -GRUB2_IMAGE = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootaa64.efi -GRUB2_CFG = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg -GRUB2_PREFIX = /EFI/BOOT -GRUB2_TUPLE = arm64-efi -GRUB2_TARGET = aarch64 -GRUB2_PLATFORM = efi -endif - -# Grub2 is kind of special: it considers CC, LD and so on to be the -# tools to build the host programs and uses TARGET_CC, TARGET_CFLAGS, -# TARGET_CPPFLAGS, TARGET_LDFLAGS to build the bootloader itself. -# -# NOTE: TARGET_STRIP is overridden by !BR2_STRIP_strip, so always -# use the cross compile variant to ensure grub2 builds - -HOST_GRUB2_CONF_ENV = \ - CPP="$(HOSTCC) -E" - -GRUB2_CONF_ENV = \ - CPP="$(TARGET_CC) -E" \ - TARGET_CC="$(TARGET_CC)" \ - TARGET_CFLAGS="$(TARGET_CFLAGS)" \ - TARGET_CPPFLAGS="$(TARGET_CPPFLAGS) -fno-stack-protector" \ - TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \ - TARGET_NM="$(TARGET_NM)" \ - TARGET_OBJCOPY="$(TARGET_OBJCOPY)" \ - TARGET_STRIP="$(TARGET_CROSS)strip" - -GRUB2_CONF_OPTS = \ - --target=$(GRUB2_TARGET) \ - --with-platform=$(GRUB2_PLATFORM) \ - --prefix=/ \ - --exec-prefix=/ \ - --disable-grub-mkfont \ - --enable-efiemu=no \ - ac_cv_lib_lzma_lzma_code=no \ - --enable-device-mapper=no \ - --enable-libzfs=no \ - --disable-werror - -HOST_GRUB2_CONF_OPTS = \ - --disable-grub-mkfont \ - --enable-efiemu=no \ - ac_cv_lib_lzma_lzma_code=no \ - --enable-device-mapper=no \ - --enable-libzfs=no \ - --disable-werror - -ifeq ($(BR2_TARGET_GRUB2_I386_PC),y) -define GRUB2_IMAGE_INSTALL_ELTORITO - cat $(HOST_DIR)/lib/grub/$(GRUB2_TUPLE)/cdboot.img $(GRUB2_IMAGE) > \ - $(BINARIES_DIR)/grub-eltorito.img -endef -endif - -define GRUB2_INSTALL_IMAGES_CMDS - mkdir -p $(dir $(GRUB2_IMAGE)) - $(HOST_DIR)/usr/bin/grub-mkimage \ - -d $(@D)/grub-core/ \ - -O $(GRUB2_TUPLE) \ - -o $(GRUB2_IMAGE) \ - -p "$(GRUB2_PREFIX)" \ - $(if $(GRUB2_BUILTIN_CONFIG),-c $(GRUB2_BUILTIN_CONFIG)) \ - $(GRUB2_BUILTIN_MODULES) - mkdir -p $(dir $(GRUB2_CFG)) - $(INSTALL) -D -m 0644 boot/grub2/grub.cfg $(GRUB2_CFG) - $(GRUB2_IMAGE_INSTALL_ELTORITO) -endef - -ifeq ($(GRUB2_PLATFORM),efi) -define GRUB2_EFI_STARTUP_NSH - echo $(notdir $(GRUB2_IMAGE)) > \ - $(BINARIES_DIR)/efi-part/startup.nsh -endef -GRUB2_POST_INSTALL_IMAGES_HOOKS += GRUB2_EFI_STARTUP_NSH -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/boot/gummiboot/gummiboot.mk b/buildroot-2021.05/boot/gummiboot/gummiboot.mk deleted file mode 100644 index 748e8703..00000000 --- a/buildroot-2021.05/boot/gummiboot/gummiboot.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# gummiboot -# -################################################################################ - -GUMMIBOOT_SITE = https://gitlab.freedesktop.org/archived-projects/gummiboot.git -GUMMIBOOT_SITE_METHOD = git -GUMMIBOOT_VERSION = 2bcd919c681c952eb867ef1bdb458f1bc49c2d55 -GUMMIBOOT_LICENSE = LGPL-2.1+ -GUMMIBOOT_LICENSE_FILES = LICENSE - -# The git archive does not have the autoconf/automake stuff generated. -GUMMIBOOT_AUTORECONF = YES -GUMMIBOOT_DEPENDENCIES = gnu-efi host-pkgconf util-linux -GUMMIBOOT_INSTALL_TARGET = NO -GUMMIBOOT_INSTALL_IMAGES = YES - -ifeq ($(BR2_i386),y) -GUMMIBOOT_IMGARCH = ia32 -else ifeq ($(BR2_x86_64),y) -GUMMIBOOT_IMGARCH = x64 -endif - -GUMMIBOOT_CONF_OPTS = \ - --host=$(BR2_ARCH) \ - --with-efi-libdir=$(STAGING_DIR)/usr/lib \ - --with-efi-ldsdir=$(STAGING_DIR)/usr/lib \ - --with-efi-includedir=$(STAGING_DIR)/usr/include \ - --disable-manpages - -define GUMMIBOOT_INSTALL_IMAGES_CMDS - $(INSTALL) -D -m 0644 $(@D)/gummiboot$(GUMMIBOOT_IMGARCH).efi \ - $(BINARIES_DIR)/efi-part/EFI/BOOT/boot$(GUMMIBOOT_IMGARCH).efi - echo "boot$(GUMMIBOOT_IMGARCH).efi" > \ - $(BINARIES_DIR)/efi-part/startup.nsh - $(INSTALL) -D -m 0644 boot/gummiboot/loader.conf \ - $(BINARIES_DIR)/efi-part/loader/loader.conf - $(INSTALL) -D -m 0644 boot/gummiboot/buildroot.conf \ - $(BINARIES_DIR)/efi-part/loader/entries/buildroot.conf -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/boot/mv-ddr-marvell/mv-ddr-marvell.hash b/buildroot-2021.05/boot/mv-ddr-marvell/mv-ddr-marvell.hash deleted file mode 100644 index e1a86008..00000000 --- a/buildroot-2021.05/boot/mv-ddr-marvell/mv-ddr-marvell.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 bfab74a625d65238c569b9df282b55c0fc9a1e2d3decedcf194d44774df2ede4 mv-ddr-marvell-305d923e6bc4236cd3b902f6679b0aef9e5fa52d.tar.gz -sha256 69208236fc322026920b92d1d839ebdc521ca65379bfdb3368a24945e794fc78 ddr3_init.c diff --git a/buildroot-2021.05/boot/opensbi/Config.in b/buildroot-2021.05/boot/opensbi/Config.in deleted file mode 100644 index 632eeec8..00000000 --- a/buildroot-2021.05/boot/opensbi/Config.in +++ /dev/null @@ -1,112 +0,0 @@ -config BR2_TARGET_OPENSBI - bool "opensbi" - depends on BR2_riscv - help - OpenSBI aims to provide an open-source and extensible - implementation of the RISC-V SBI specification for a platform - specific firmware (M-mode) and a general purpose OS, - hypervisor or bootloader (S-mode or HS-mode). OpenSBI - implementation can be easily extended by RISC-V platform or - System-on-Chip vendors to fit a particular hadware - configuration. - - https://github.com/riscv/opensbi.git - -if BR2_TARGET_OPENSBI -choice - prompt "OpenSBI Version" - help - Select the specific OpenSBI version you want to use - -config BR2_TARGET_OPENSBI_LATEST_VERSION - bool "0.9" - -config BR2_TARGET_OPENSBI_CUSTOM_VERSION - bool "Custom version" - help - This option allows to use a specific official versions - -config BR2_TARGET_OPENSBI_CUSTOM_TARBALL - bool "Custom tarball" - -config BR2_TARGET_OPENSBI_CUSTOM_GIT - bool "Custom Git repository" - -endchoice - -config BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE - string "OpenSBI version" - depends on BR2_TARGET_OPENSBI_CUSTOM_VERSION - -config BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION - string "URL of custom OpenSBI tarball" - depends on BR2_TARGET_OPENSBI_CUSTOM_TARBALL - -if BR2_TARGET_OPENSBI_CUSTOM_GIT - -config BR2_TARGET_OPENSBI_CUSTOM_REPO_URL - string "URL of custom repository" - -config BR2_TARGET_OPENSBI_CUSTOM_REPO_VERSION - string "Custom repository version" - help - Revision to use in the typical format used by Git. E.G. a - sha id, a tag, branch, .. - -endif - -config BR2_TARGET_OPENSBI_VERSION - string - default "0.9" if BR2_TARGET_OPENSBI_LATEST_VERSION - default BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE \ - if BR2_TARGET_OPENSBI_CUSTOM_VERSION - default "custom" if BR2_TARGET_OPENSBI_CUSTOM_TARBALL - default BR2_TARGET_OPENSBI_CUSTOM_REPO_VERSION \ - if BR2_TARGET_OPENSBI_CUSTOM_GIT - -config BR2_TARGET_OPENSBI_PLAT - string "OpenSBI Platform" - default "" - help - Specifies the OpenSBI platform to build. If no platform is - specified only the OpenSBI platform independent static - library libsbi.a is built. If a platform is specified then - the platform specific static library libplatsbi.a and firmware - examples are built. - -config BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG - bool "Install fw_dynamic image" - default y if BR2_TARGET_OPENSBI_PLAT != "" - help - This installs the fw_dynamic image. - -config BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG - bool "Install fw_jump image" - default y if BR2_TARGET_OPENSBI_PLAT != "" - help - This installs the fw_jump image. - -config BR2_TARGET_OPENSBI_INSTALL_PAYLOAD_IMG - bool "Install fw_payload image" - help - This option enables the installation of the fw_paylaod - image. - -config BR2_TARGET_OPENSBI_LINUX_PAYLOAD - bool "Include Linux as OpenSBI Payload" - depends on BR2_TARGET_OPENSBI_PLAT != "" - depends on BR2_LINUX_KERNEL - depends on BR2_LINUX_KERNEL_IMAGE - select BR2_TARGET_OPENSBI_INSTALL_PAYLOAD_IMG - help - Build OpenSBI with the Linux kernel as a Payload. - -config BR2_TARGET_OPENSBI_UBOOT_PAYLOAD - bool "Include U-Boot as OpenSBI Payload" - depends on BR2_TARGET_OPENSBI_PLAT != "" - depends on BR2_TARGET_UBOOT - select BR2_TARGET_OPENSBI_INSTALL_PAYLOAD_IMG - help - Build OpenSBI with the U-Boot as a Payload. - -endif diff --git a/buildroot-2021.05/boot/opensbi/opensbi.mk b/buildroot-2021.05/boot/opensbi/opensbi.mk deleted file mode 100644 index a525b8ae..00000000 --- a/buildroot-2021.05/boot/opensbi/opensbi.mk +++ /dev/null @@ -1,86 +0,0 @@ -################################################################################ -# -# opensbi -# -################################################################################ - -OPENSBI_VERSION = $(call qstrip,$(BR2_TARGET_OPENSBI_VERSION)) - -ifeq ($(OPENSBI_VERSION),custom) -# Handle custom OpenSBI tarballs as specified by the configuration -OPENSBI_TARBALL = $(call qstrip,$(BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION)) -OPENSBI_SITE = $(patsubst %/,%,$(dir $(OPENSBI_TARBALL))) -OPENSBI_SOURCE = $(notdir $(OPENSBI_TARBALL)) -else ifeq ($(BR2_TARGET_OPENSBI_CUSTOM_GIT),y) -OPENSBI_SITE = $(call qstrip,$(BR2_TARGET_OPENSBI_CUSTOM_REPO_URL)) -OPENSBI_SITE_METHOD = git -else -# Handle official OpenSBI versions -OPENSBI_SITE = $(call github,riscv,opensbi,v$(OPENSBI_VERSION)) -endif - -OPENSBI_LICENSE = BSD-2-Clause -ifeq ($(BR2_TARGET_OPENSBI_LATEST_VERSION),y) -OPENSBI_LICENSE_FILES = COPYING.BSD -endif -OPENSBI_INSTALL_TARGET = NO -OPENSBI_INSTALL_STAGING = YES - -ifeq ($(BR2_TARGET_OPENSBI)$(BR2_TARGET_OPENSBI_LATEST_VERSION),y) -BR_NO_CHECK_HASH_FOR += $(OPENSBI_SOURCE) -endif - -OPENSBI_MAKE_ENV = \ - CROSS_COMPILE=$(TARGET_CROSS) - -OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT)) -ifneq ($(OPENSBI_PLAT),) -OPENSBI_MAKE_ENV += PLATFORM=$(OPENSBI_PLAT) -endif - -ifeq ($(BR2_TARGET_OPENSBI_LINUX_PAYLOAD),y) -OPENSBI_DEPENDENCIES += linux -OPENSBI_MAKE_ENV += FW_PAYLOAD_PATH="$(BINARIES_DIR)/Image" -endif - -ifeq ($(BR2_TARGET_OPENSBI_UBOOT_PAYLOAD),y) -OPENSBI_DEPENDENCIES += uboot -OPENSBI_MAKE_ENV += FW_PAYLOAD_PATH="$(BINARIES_DIR)/u-boot.bin" -endif - -define OPENSBI_BUILD_CMDS - $(TARGET_MAKE_ENV) $(OPENSBI_MAKE_ENV) $(MAKE) -C $(@D) -endef - -ifeq ($(BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG),y) -OPENSBI_INSTALL_IMAGES = YES -OPENSBI_FW_IMAGES += dynamic -endif - -ifeq ($(BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG),y) -OPENSBI_INSTALL_IMAGES = YES -OPENSBI_FW_IMAGES += jump -endif - -ifeq ($(BR2_TARGET_OPENSBI_INSTALL_PAYLOAD_IMG),y) -OPENSBI_INSTALL_IMAGES = YES -OPENSBI_FW_IMAGES += payload -endif - -define OPENSBI_INSTALL_IMAGES_CMDS - $(foreach f,$(OPENSBI_FW_IMAGES),\ - $(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_$(f).bin \ - $(BINARIES_DIR)/fw_$(f).bin - $(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_$(f).elf \ - $(BINARIES_DIR)/fw_$(f).elf - ) -endef - -# libsbi.a is not a library meant to be linked in user-space code, but -# with bare metal code, which is why we don't install it in -# $(STAGING_DIR)/usr/lib -define OPENSBI_INSTALL_STAGING_CMDS - $(INSTALL) -m 0644 -D $(@D)/build/lib/libsbi.a $(STAGING_DIR)/usr/share/opensbi/libsbi.a -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/optee-os/Config.in b/buildroot-2021.05/boot/optee-os/Config.in deleted file mode 100644 index 8e833ecd..00000000 --- a/buildroot-2021.05/boot/optee-os/Config.in +++ /dev/null @@ -1,109 +0,0 @@ -config BR2_TARGET_OPTEE_OS - bool "optee_os" - depends on BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A - help - OP-TEE OS provides the secure world boot image and the trust - application development kit of the OP-TEE project. OP-TEE OS - also provides generic trusted application one can embedded - into its system. - - http://github.com/OP-TEE/optee_os - -if BR2_TARGET_OPTEE_OS - -choice - prompt "OP-TEE OS version" - default BR2_TARGET_OPTEE_OS_LATEST - help - Select the version of OP-TEE OS you want to use - -config BR2_TARGET_OPTEE_OS_LATEST - bool "3.12.0" - help - Use the latest release tag from the OP-TEE OS official Git - repository. - -config BR2_TARGET_OPTEE_OS_CUSTOM_GIT - bool "Custom Git repository" - help - Use a custom version fetched from a Git repository. - -endchoice - -if BR2_TARGET_OPTEE_OS_CUSTOM_GIT - -config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL - string "URL of custom repository" - depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT - help - Specific location of the reference source tree Git - repository. - -config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION - string "Custom repository version" - depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT - help - Revision to use in the typical format used by Git, i.e a - SHA1 or a tag. - -endif - -config BR2_TARGET_OPTEE_OS_VERSION - string - default "3.12.0" if BR2_TARGET_OPTEE_OS_LATEST - default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ - if BR2_TARGET_OPTEE_OS_CUSTOM_GIT - -config BR2_TARGET_OPTEE_OS_CORE - bool "Build core" - default y - help - This option will build and install the OP-TEE core - boot images. - -config BR2_TARGET_OPTEE_OS_SDK - bool "Build TA devkit" - default y - help - This option will build and install the OP-TEE development - kit for building OP-TEE trusted application images. It is - installed in the staging directory /lib/optee. - -config BR2_TARGET_OPTEE_OS_SERVICES - bool "Build service TAs and libs" - default y - select BR2_TARGET_OPTEE_OS_CORE - help - This option installs the service trusted applications and - trusted shared libraries built from OP-TEE OS source tree. - These are installed in target /lib/optee_armtz directory - as other trusted applications. At runtime OP-TEE OS can - load these from this non-secure filesystem/directory into - the secure world for execution. - -config BR2_TARGET_OPTEE_OS_PLATFORM - string "Target platform (mandatory)" - help - Value for the mandated PLATFORM build directive provided to - OP-TEE OS. - -config BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR - string "Target platform flavor (optional)" - help - Value for the optional PLATFORM_FLAVOR build directive - provided to OP-TEE OS. - -config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES - string "Additional build variables" - help - Additional parameters for the OP-TEE OS build - E.g. 'CFG_TEE_CORE_LOG_LEVEL=3 CFG_UNWIND=y' - -config BR2_TARGET_OPTEE_OS_CORE_IMAGES - string "Binary boot images" - default "tee.bin tee-*_v2.bin" - help - Names of generated image files that are installed in the - output images/ directory. - -endif # BR2_TARGET_OPTEE_OS diff --git a/buildroot-2021.05/boot/optee-os/optee-os.hash b/buildroot-2021.05/boot/optee-os/optee-os.hash deleted file mode 100644 index 36bc1d95..00000000 --- a/buildroot-2021.05/boot/optee-os/optee-os.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/OP-TEE/optee_os/archive/3.12.0/optee-os-3.12.0.tar.gz -sha256 b13991099f25d00dac479db93b55034cb93d206e296f2c7aa9c42b92bca2c783 optee-os-3.12.0.tar.gz -# Locally computed -sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE diff --git a/buildroot-2021.05/boot/optee-os/optee-os.mk b/buildroot-2021.05/boot/optee-os/optee-os.mk deleted file mode 100644 index 03ce08ff..00000000 --- a/buildroot-2021.05/boot/optee-os/optee-os.mk +++ /dev/null @@ -1,121 +0,0 @@ -################################################################################ -# -# optee-os -# -################################################################################ - -OPTEE_OS_VERSION = $(call qstrip,$(BR2_TARGET_OPTEE_OS_VERSION)) -OPTEE_OS_LICENSE = BSD-2-Clause -ifeq ($(BR2_TARGET_OPTEE_OS_LATEST),y) -OPTEE_OS_LICENSE_FILES = LICENSE -endif - -OPTEE_OS_INSTALL_STAGING = YES -OPTEE_OS_INSTALL_IMAGES = YES - -ifeq ($(BR2_TARGET_OPTEE_OS_CUSTOM_GIT),y) -OPTEE_OS_SITE = $(call qstrip,$(BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL)) -OPTEE_OS_SITE_METHOD = git -BR_NO_CHECK_HASH_FOR += $(OPTEE_OS_SOURCE) -else -OPTEE_OS_SITE = $(call github,OP-TEE,optee_os,$(OPTEE_OS_VERSION)) -endif - -OPTEE_OS_DEPENDENCIES = host-openssl host-python3 host-python3-pycryptodomex host-python3-pyelftools - -# On 64bit targets, OP-TEE OS can be built in 32bit mode, or -# can be built in 64bit mode and support 32bit and 64bit -# trusted applications. Since buildroot currently references -# a single cross compiler, build exclusively in 32bit -# or 64bit mode. -OPTEE_OS_MAKE_OPTS = \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - CROSS_COMPILE_core="$(TARGET_CROSS)" \ - CROSS_COMPILE_ta_arm64="$(TARGET_CROSS)" \ - CROSS_COMPILE_ta_arm32="$(TARGET_CROSS)" \ - PYTHON3="$(HOST_DIR)/bin/python3" - -ifeq ($(BR2_aarch64),y) -OPTEE_OS_MAKE_OPTS += \ - CFG_ARM64_core=y \ - CFG_USER_TA_TARGETS=ta_arm64 -else -OPTEE_OS_MAKE_OPTS += \ - CFG_ARM32_core=y -endif - -# Get mandatory PLAFORM and optional PLATFORM_FLAVOR and additional -# variables -OPTEE_OS_MAKE_OPTS += PLATFORM=$(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM)) -ifneq ($(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR)),) -OPTEE_OS_MAKE_OPTS += PLATFORM_FLAVOR=$(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR)) -endif -OPTEE_OS_MAKE_OPTS += $(call qstrip,$(BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES)) - -# Requests OP-TEE OS to build from subdirectory out/ of its sourcetree -# root path otherwise the output directory path depends on the target -# platform name. -OPTEE_OS_BUILDDIR_OUT = out -ifeq ($(BR2_aarch64),y) -OPTEE_OS_LOCAL_SDK = $(OPTEE_OS_BUILDDIR_OUT)/export-ta_arm64 -OPTEE_OS_SDK = $(STAGING_DIR)/lib/optee/export-ta_arm64 -endif -ifeq ($(BR2_arm),y) -OPTEE_OS_LOCAL_SDK = $(OPTEE_OS_BUILDDIR_OUT)/export-ta_arm32 -OPTEE_OS_SDK = $(STAGING_DIR)/lib/optee/export-ta_arm32 -endif - -OPTEE_OS_IMAGE_FILES = $(call qstrip,$(BR2_TARGET_OPTEE_OS_CORE_IMAGES)) - -ifeq ($(BR2_TARGET_OPTEE_OS_CORE),y) -define OPTEE_OS_BUILD_CORE - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) O=$(OPTEE_OS_BUILDDIR_OUT) \ - $(TARGET_CONFIGURE_OPTS) $(OPTEE_OS_MAKE_OPTS) all -endef -define OPTEE_OS_INSTALL_IMAGES_CORE - mkdir -p $(BINARIES_DIR) - $(foreach f,$(OPTEE_OS_IMAGE_FILES), \ - cp -dpf $(wildcard $(@D)/$(OPTEE_OS_BUILDDIR_OUT)/core/$(f)) $(BINARIES_DIR)/ - ) -endef -endif # BR2_TARGET_OPTEE_OS_CORE - -ifeq ($(BR2_TARGET_OPTEE_OS_SERVICES),y) -define OPTEE_OS_INSTALL_TARGET_CMDS - $(if $(wildcard $(@D)/$(OPTEE_OS_BUILDDIR_OUT)/ta/*/*.ta), - $(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz \ - $(@D)/$(OPTEE_OS_BUILDDIR_OUT)/ta/*/*.ta) - $(if $(wildcard $(@D)/$(OPTEE_OS_LOCAL_SDK)/lib/*.ta), - $(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz \ - $(@D)/$(OPTEE_OS_LOCAL_SDK)/lib/*.ta) -endef -endif # BR2_TARGET_OPTEE_OS_SERVICES - -ifeq ($(BR2_TARGET_OPTEE_OS_SDK),y) -define OPTEE_OS_BUILD_SDK - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) O=$(OPTEE_OS_BUILDDIR_OUT) \ - $(TARGET_CONFIGURE_OPTS) $(OPTEE_OS_MAKE_OPTS) ta_dev_kit -endef -define OPTEE_OS_INSTALL_STAGING_CMDS - mkdir -p $(OPTEE_OS_SDK) - cp -ardpf $(@D)/$(OPTEE_OS_LOCAL_SDK)/* $(OPTEE_OS_SDK) -endef -endif # BR2_TARGET_OPTEE_OS_SDK - -define OPTEE_OS_BUILD_CMDS - $(OPTEE_OS_BUILD_CORE) - $(OPTEE_OS_BUILD_SDK) -endef - -define OPTEE_OS_INSTALL_IMAGES_CMDS - $(OPTEE_OS_INSTALL_IMAGES_CORE) - $(OPTEE_OS_INSTALL_IMAGES_SERVICES) -endef - -ifeq ($(BR2_TARGET_OPTEE_OS)$(BR_BUILDING),yy) -ifeq ($(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM)),) -$(error No OP-TEE OS platform set. Check your BR2_TARGET_OPTEE_OS_PLATFORM setting) -endif -endif # BR2_TARGET_OPTEE_OS && BR2_BUILDING - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/syslinux/syslinux.mk b/buildroot-2021.05/boot/syslinux/syslinux.mk deleted file mode 100644 index 67bc6925..00000000 --- a/buildroot-2021.05/boot/syslinux/syslinux.mk +++ /dev/null @@ -1,105 +0,0 @@ -################################################################################ -# -# syslinux to make target msdos/iso9660 filesystems bootable -# -################################################################################ - -SYSLINUX_VERSION = 6.03 -SYSLINUX_SOURCE = syslinux-$(SYSLINUX_VERSION).tar.xz -SYSLINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux - -SYSLINUX_LICENSE = GPL-2.0+ -SYSLINUX_LICENSE_FILES = COPYING - -SYSLINUX_INSTALL_IMAGES = YES - -# host-util-linux needed to provide libuuid when building host tools -SYSLINUX_DEPENDENCIES = host-nasm host-upx util-linux host-util-linux - -ifeq ($(BR2_TARGET_SYSLINUX_LEGACY_BIOS),y) -SYSLINUX_TARGET += bios -endif - -# The syslinux build system must be forced to use Buildroot's gnu-efi -# package by setting EFIINC, LIBDIR and LIBEFI. Otherwise, it uses its -# own copy of gnu-efi included in syslinux's sources since 6.03 -# release. -ifeq ($(BR2_TARGET_SYSLINUX_EFI),y) -ifeq ($(BR2_ARCH_IS_64),y) -SYSLINUX_EFI_BITS = efi64 -else -SYSLINUX_EFI_BITS = efi32 -endif # 64-bit -SYSLINUX_DEPENDENCIES += gnu-efi -SYSLINUX_TARGET += $(SYSLINUX_EFI_BITS) -SYSLINUX_EFI_ARGS = \ - EFIINC=$(STAGING_DIR)/usr/include/efi \ - LIBDIR=$(STAGING_DIR)/usr/lib \ - LIBEFI=$(STAGING_DIR)/usr/lib/libefi.a -endif # EFI - -# The syslinux tarball comes with pre-compiled binaries. -# Since timestamps might not be in the correct order, a rebuild is -# not always triggered for all the different images. -# Cleanup the mess even before we attempt a build, so we indeed -# build everything from source. -define SYSLINUX_CLEANUP - rm -rf $(@D)/bios $(@D)/efi32 $(@D)/efi64 -endef -SYSLINUX_POST_PATCH_HOOKS += SYSLINUX_CLEANUP - -# syslinux build system has no convenient way to pass CFLAGS, -# and the internal zlib should take precedence so -I shouldn't -# be used. -define SYSLINUX_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) \ - CC="$(TARGET_CC)" \ - LD="$(TARGET_LD)" \ - NASM="$(HOST_DIR)/bin/nasm" \ - CC_FOR_BUILD="$(HOSTCC)" \ - CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ - LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \ - $(SYSLINUX_EFI_ARGS) -C $(@D) $(SYSLINUX_TARGET) -endef - -# While the actual bootloader is compiled for the target, several -# utilities for installing the bootloader are meant for the host. -# Repeat the target, otherwise syslinux will try to build everything -# Repeat LD (and CC) as it happens that some binaries are linked at -# install-time. -define SYSLINUX_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) $(SYSLINUX_EFI_ARGS) INSTALLROOT=$(HOST_DIR) \ - CC="$(TARGET_CC)" \ - LD="$(TARGET_LD)" \ - -C $(@D) $(SYSLINUX_TARGET) install -endef - -# That 'syslinux' binary is an installer actually built for the target. -# However, buildroot makes no usage of it, so better delete it than have it -# installed at the wrong place -define SYSLINUX_POST_INSTALL_CLEANUP - rm -rf $(HOST_DIR)/bin/syslinux -endef -SYSLINUX_POST_INSTALL_TARGET_HOOKS += SYSLINUX_POST_INSTALL_CLEANUP - -SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_ISOLINUX) += bios/core/isolinux.bin -SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_PXELINUX) += bios/core/pxelinux.bin -SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_MBR) += bios/mbr/mbr.bin -SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_EFI) += $(SYSLINUX_EFI_BITS)/efi/syslinux.efi - -SYSLINUX_C32 = $(call qstrip,$(BR2_TARGET_SYSLINUX_C32)) - -# We install the c32 modules from the host-installed tree, where they -# are all neatly installed in a single location, while they are -# scattered around everywhere in the build tree. -define SYSLINUX_INSTALL_IMAGES_CMDS - for i in $(SYSLINUX_IMAGES-y); do \ - $(INSTALL) -D -m 0755 $(@D)/$$i $(BINARIES_DIR)/syslinux/$${i##*/}; \ - done - for i in $(SYSLINUX_C32); do \ - $(INSTALL) -D -m 0755 $(HOST_DIR)/share/syslinux/$${i} \ - $(BINARIES_DIR)/syslinux/$${i}; \ - done -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/uboot/Config.in b/buildroot-2021.05/boot/uboot/Config.in deleted file mode 100644 index 00c66741..00000000 --- a/buildroot-2021.05/boot/uboot/Config.in +++ /dev/null @@ -1,570 +0,0 @@ -config BR2_TARGET_UBOOT - bool "U-Boot" - help - Build "Das U-Boot" Boot Monitor - - https://www.denx.de/wiki/U-Boot - -if BR2_TARGET_UBOOT -choice - prompt "Build system" - default BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG if BR2_TARGET_UBOOT_LATEST_VERSION - default BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY - -config BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG - bool "Kconfig" - help - Select this option if you use a recent U-Boot version (2015.04 - or newer), so that we use the Kconfig build system. - -config BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY - bool "Legacy" - help - Select this option if you use an old U-Boot (older than - 2015.04), so that we use the old build system. - -endchoice - -if BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY -config BR2_TARGET_UBOOT_BOARDNAME - string "U-Boot board name" - help - One of U-Boot supported boards to be built. - This will be suffixed with _config to meet U-Boot standard - naming. See boards.cfg in U-Boot source code for the list of - available configurations. -endif - -choice - prompt "U-Boot Version" - help - Select the specific U-Boot version you want to use - -config BR2_TARGET_UBOOT_LATEST_VERSION - bool "2021.04" - -config BR2_TARGET_UBOOT_CUSTOM_VERSION - bool "Custom version" - help - This option allows to use a specific official versions - -config BR2_TARGET_UBOOT_CUSTOM_TARBALL - bool "Custom tarball" - -config BR2_TARGET_UBOOT_CUSTOM_GIT - bool "Custom Git repository" - -config BR2_TARGET_UBOOT_CUSTOM_HG - bool "Custom Mercurial repository" - -config BR2_TARGET_UBOOT_CUSTOM_SVN - bool "Custom Subversion repository" - -endchoice - -config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE - string "U-Boot version" - depends on BR2_TARGET_UBOOT_CUSTOM_VERSION - -config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION - string "URL of custom U-Boot tarball" - depends on BR2_TARGET_UBOOT_CUSTOM_TARBALL - -if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN - -config BR2_TARGET_UBOOT_CUSTOM_REPO_URL - string "URL of custom repository" - -config BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION - string "Custom repository version" - help - Revision to use in the typical format used by - Git/Mercurial/Subversion E.G. a sha id, a tag, branch, .. - -endif - -config BR2_TARGET_UBOOT_VERSION - string - default "2021.04" if BR2_TARGET_UBOOT_LATEST_VERSION - default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \ - if BR2_TARGET_UBOOT_CUSTOM_VERSION - default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL - default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \ - if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN - -config BR2_TARGET_UBOOT_PATCH - string "Custom U-Boot patches" - default BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR if BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR != "" # legacy - help - A space-separated list of patches to apply to U-Boot. - Each patch can be described as an URL, a local file path, - or a directory. In the case of a directory, all files - matching *.patch in the directory will be applied. - - Most users may leave this empty - -if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG -choice - prompt "U-Boot configuration" - default BR2_TARGET_UBOOT_USE_DEFCONFIG - -config BR2_TARGET_UBOOT_USE_DEFCONFIG - bool "Using an in-tree board defconfig file" - -config BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG - bool "Using a custom board (def)config file" - -endchoice - -config BR2_TARGET_UBOOT_BOARD_DEFCONFIG - string "Board defconfig" - depends on BR2_TARGET_UBOOT_USE_DEFCONFIG - help - Name of the board for which U-Boot should be built, without - the _defconfig suffix. - -config BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE - string "Configuration file path" - depends on BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG - help - Path to the U-Boot configuration file. - -config BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES - string "Additional configuration fragment files" - help - A space-separated list of configuration fragment files, - that will be merged to the main U-Boot configuration file. -endif - -config BR2_TARGET_UBOOT_NEEDS_DTC - bool "U-Boot needs dtc" - select BR2_PACKAGE_HOST_DTC - help - Select this option if your U-Boot board configuration - requires the Device Tree compiler to be available. - -config BR2_TARGET_UBOOT_NEEDS_PYTHON - bool - -choice - bool "U-Boot needs host Python" - -config BR2_TARGET_UBOOT_NEEDS_PYTHON_NONE - bool "no" - depends on !BR2_TARGET_UBOOT_NEEDS_PYTHON - help - Select this option if U-Boot does not need any - host python to build. - -config BR2_TARGET_UBOOT_NEEDS_PYTHON2 - bool "python 2.x" - help - Select this option if U-Boot needs a host Python 2.x - interpreter. This is the case for some U-Boot - configurations, prior to U-Boot 2020.01. - -config BR2_TARGET_UBOOT_NEEDS_PYTHON3 - bool "python 3.x" - help - Select this option if U-Boot needs a host Python 3.x - interpreter. This is the case for some U-Boot - configurations, after U-Boot 2020.01. - -endchoice - -config BR2_TARGET_UBOOT_NEEDS_PYLIBFDT - bool "U-Boot needs pylibfdt" - select BR2_TARGET_UBOOT_NEEDS_PYTHON - help - Select this option if your U-Boot board configuration - requires the Python libfdt library to be available. - -config BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS - bool "U-Boot needs pyelftools" - select BR2_TARGET_UBOOT_NEEDS_PYTHON - help - Select this option if your U-Boot board configuration - requires the Python pyelftools library to be available. - This is used by some rockchip SOCs for elf parsing. - For example: rk3399 soc boards. - -config BR2_TARGET_UBOOT_NEEDS_OPENSSL - bool "U-Boot needs OpenSSL" - help - Select this option if your U-Boot board configuration - requires OpenSSL to be available on the host. This is - typically the case when the board configuration has - CONFIG_FIT_SIGNATURE enabled. - -config BR2_TARGET_UBOOT_NEEDS_LZOP - bool "U-Boot needs lzop" - help - Select this option if your U-Boot board configuration - requires lzop to be available on the host. This is typically - the case when the board configuration has CONFIG_SPL_LZO - enabled. - -config BR2_TARGET_UBOOT_NEEDS_ATF_BL31 - bool "U-Boot needs ATF BL31" - depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE - depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 - select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 - help - Some specific platforms (such as Allwinner A64/H5) - encapsulate the BL31 part of ATF inside U-Boot. This option - makes sure ATF gets built prior to U-Boot, and that the BL31 - variable pointing to ATF's BL31 binary, is passed during the - Buildroot build. - -choice - prompt "U-Boot ATF BL31 format" - default BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN - depends on BR2_TARGET_UBOOT_NEEDS_ATF_BL31 - -config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN - bool "bl31.bin" - -config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF - bool "bl31.elf" - -endchoice - -config BR2_TARGET_UBOOT_NEEDS_OPENSBI - bool "U-Boot needs OpenSBI" - depends on BR2_TARGET_OPENSBI - help - Some RISC-V platforms (such as SiFive HiFive Unleashed) - encapsulate the OpenSBI firmware image inside U-Boot. - This option makes sure OpenSBI gets built prior to U-Boot, - and that the OpenSBI variable pointing to OpenSBI binary, - is passed during the Buildroot build. - -menu "U-Boot binary format" - -config BR2_TARGET_UBOOT_FORMAT_AIS - bool "u-boot.ais" - help - AIS (Application Image Script) is a format defined by TI. - It is required to load code/data on OMAP-L1 processors. - u-boot.ais contains U-Boot with the SPL support. - -config BR2_TARGET_UBOOT_FORMAT_BIN - bool "u-boot.bin" - default y - -config BR2_TARGET_UBOOT_FORMAT_DTB_BIN - bool "u-boot-dtb.bin" - -config BR2_TARGET_UBOOT_FORMAT_NAND_BIN - bool "u-boot-nand.bin" - -config BR2_TARGET_UBOOT_FORMAT_ELF - bool "u-boot.elf" - -config BR2_TARGET_UBOOT_FORMAT_IMG - bool "u-boot.img" - -config BR2_TARGET_UBOOT_FORMAT_DTB_IMG - bool "u-boot-dtb.img" - -config BR2_TARGET_UBOOT_FORMAT_IMX - bool "u-boot.imx" - -config BR2_TARGET_UBOOT_FORMAT_DTB_IMX - bool "u-boot-dtb.imx" - -config BR2_TARGET_UBOOT_FORMAT_ITB - bool "u-boot.itb" - -config BR2_TARGET_UBOOT_FORMAT_KWB - bool "u-boot.kwb (Marvell)" - depends on BR2_arm - -config BR2_TARGET_UBOOT_FORMAT_NAND - bool "u-boot.nand (Freescale i.MX28)" - depends on BR2_arm - help - This is Freescale i.MX28 BootStream format (.sb), with a - header for booting from a NAND flash. - - U-Boot includes an mxsboot tool to generate this format, - starting from 2011.12. - - There are two possibilities when preparing an image writable - to NAND flash: - 1) The NAND was not written at all yet or the BCB (Boot - Control Blocks) is broken. In this case, the NAND image - 'u-boot.nand' needs to written. - 2) The NAND flash was already written with a good BCB. This - applies after 'u-boot.nand' was correctly written. There is no - need to write the BCB again. In this case, the bootloader can - be upgraded by writing 'u-boot.sb'. - - To satisfy both cases, the 'u-boot.nand' image obtained from - mxsboot as well as the U-Boot make target 'u-boot.sb' are - copied to the binaries directory. - - See doc/README.mxs (or doc/README.mx28_common before 2013.07) - -if BR2_TARGET_UBOOT_FORMAT_NAND - -config BR2_TARGET_UBOOT_FORMAT_NAND_PAGE_SIZE - int "NAND page size" - default 2048 - help - The NAND page size of the targets NAND flash in bytes as a - decimal integer value. - - The value provided here is passed to the -w option of mxsboot. - -config BR2_TARGET_UBOOT_FORMAT_NAND_OOB_SIZE - int "NAND OOB size" - default 64 - help - The NAND OOB size of the targets NAND flash in bytes as a - decimal integer value. - - The value provided here is passed to the -o option of mxsboot. - -config BR2_TARGET_UBOOT_FORMAT_NAND_ERASE_SIZE - int "NAND erase size" - default 131072 - help - The NAND eraseblock size of the targets NAND flash in bytes as - a decimal integer value. - - The value provided here is passed to the -e option of mxsboot. - -endif - -config BR2_TARGET_UBOOT_FORMAT_SB - bool "u-boot.sb (Freescale i.MX28)" - depends on BR2_arm - -config BR2_TARGET_UBOOT_FORMAT_SD - bool "u-boot.sd (Freescale i.MX28)" - depends on BR2_arm - help - This is Freescale i.MX28 SB format, with a header for booting - from an SD card. - - U-Boot includes an mxsboot tool to generate this format, - starting from 2011.12. - - See doc/README.mxs (or doc/README.mx28_common before 2013.07) - -config BR2_TARGET_UBOOT_FORMAT_STM32 - bool "u-boot.stm32" - depends on BR2_arm - -config BR2_TARGET_UBOOT_FORMAT_CUSTOM - bool "Custom (specify below)" - help - On some platforms, the standard U-Boot binary is not called - u-boot.bin, but u-boot.bin. If this is your case, - you should select this option and specify the correct name(s) - in BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME. - -config BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME - string "U-Boot binary format: custom names" - depends on BR2_TARGET_UBOOT_FORMAT_CUSTOM - help - In case the U-Boot binary for the target platform is not among - the default names, one or more custom names can be listed - here. - Use space to separate multiple names. - Example: - u-boot_magic.bin - -endmenu - -config BR2_TARGET_UBOOT_OMAP_IFT - bool "produce a .ift signed image (OMAP)" - depends on BR2_TARGET_UBOOT_FORMAT_BIN - depends on BR2_arm || BR2_armeb - select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS - help - Use gpsign to produce an image of u-boot.bin signed with - a Configuration Header for booting on OMAP processors. - This allows U-Boot to boot without the need for an - intermediate bootloader (e.g. x-loader) if it is written - on the first sector of the boot medium. - This only works for some media, such as NAND. Check your - chip documentation for details. You might also want to - read the documentation of gpsign, the tool that generates - the .ift image, at: - https://github.com/nmenon/omap-u-boot-utils/blob/master/README - -if BR2_TARGET_UBOOT_OMAP_IFT - -config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG - string "gpsign Configuration Header config file" - help - The Configuration Header (CH) config file defines the - desired content of the CH for the signed image. - It usually contains external RAM settings and - possibly other external devices initialization. - The omap-u-boot-utils software contains example - configuration files for some boards: - https://github.com/nmenon/omap-u-boot-utils/tree/master/configs - -endif - -config BR2_TARGET_UBOOT_SPL - bool "Install U-Boot SPL binary image" - depends on !BR2_TARGET_XLOADER - help - Install the U-Boot SPL binary image to the images - directory. - SPL is a first stage bootloader loaded into internal - memory in charge of enabling and configuring the - external memory (DDR), and load the u-boot program - into DDR. - -config BR2_TARGET_UBOOT_SPL_NAME - string "U-Boot SPL/TPL binary image name(s)" - default "spl/u-boot-spl.bin" - depends on BR2_TARGET_UBOOT_SPL - help - A space-separated list of SPL/TPL binaries, generated during - u-boot build. For most platform SPL name is spl/u-boot-spl.bin - and TPL name is tpl/u-boot-tpl.bin but not always. SPL name is - MLO on OMAP and SPL on i.MX6 for example. - -config BR2_TARGET_UBOOT_ZYNQ_IMAGE - bool "Generate image for Xilinx Zynq" - depends on BR2_arm - depends on BR2_TARGET_UBOOT_SPL - depends on BR2_TARGET_UBOOT_FORMAT_DTB_IMG - help - Generate the BOOT.BIN file from U-Boot's SPL. The image - boots the Xilinx Zynq chip without any FPGA bitstream. - A bitstream can be loaded by the U-Boot. The SPL searchs - for u-boot-dtb.img file so this U-Boot format is required - to be set. - -config BR2_TARGET_UBOOT_ZYNQMP - bool "Boot on the Xilinx ZynqMP SoCs" - depends on BR2_aarch64 - help - Enable options specific to the Xilinx ZynqMP family of SoCs. - -if BR2_TARGET_UBOOT_ZYNQMP - -config BR2_TARGET_UBOOT_ZYNQMP_PMUFW - string "PMU firmware location" - depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG - help - Location of a PMU firmware binary. - - If not empty, instructs the U-Boot build process to generate - a boot.bin (to be loaded by the ZynqMP boot ROM) containing - both the U-Boot SPL and the PMU firmware in the - Xilinx-specific boot format. - - The value can be an absolute or relative path, and will be - used directly from where it is located, or an URI - (e.g. http://...), and it will be downloaded and used from - the download directory. - - If empty, the generated boot.bin will not contain a PMU - firmware. - - This feature requires U-Boot >= 2018.07. - -config BR2_TARGET_UBOOT_ZYNQMP_PM_CFG - string "PMU configuration location" - depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG - help - Location of a PMU configuration file. - - If not empty, Buildroot will convert the PMU configuration - file into a loadable blob and pass it to U-Boot. The blob gets - embedded into the U-Boot SPL and is used to configure the PMU - during board initialization. - - Unlike the PMU firmware, the PMU configuration file is unique - to each board configuration. A PMU configuration file can be - generated by building your Xilinx SDK BSP. It can be found in - the BSP source, for example at - ./psu_cortexa53_0/libsrc/xilpm_v2_4/src/pm_cfg_obj.c - - Leave this option empty if your PMU firmware has a hard-coded - configuration object or you are loading it by any other means. - - This feature requires U-Boot >= v2019.10. - -config BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE - string "Custom psu_init_gpl file" - depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG - help - On ZynqMP the booloader is responsible for some basic - initializations, such as enabling peripherals and - configuring pinmuxes. The psu_init_gpl.c file (and, - optionally, psu_init_gpl.h) contains the code for such - initializations. - - Although U-Boot contains psu_init_gpl.c files for some - boards, each of them describes only one specific - configuration. Users of a different board, or needing a - different configuration, can generate custom files using the - Xilinx development tools. - - Set this variable to the path to your psu_init_gpl.c file - (e.g. "board/myboard/psu_init_gpl.c"). psu_init_gpl.h, if - needed, should be in the same directory. U-Boot will build - and link the user-provided file instead of the built-in one. - - Leave empty to use the files provided by U-Boot. - - This feature requires commit - 6da4f67ad09cd8b311d77b2b04e557b7ef65b56c from upstream - U-Boot, available from versions after 2018.07. - -endif - -config BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC - bool "CRC image for Altera SoC FPGA (mkpimage)" - depends on BR2_arm - depends on BR2_TARGET_UBOOT_SPL || BR2_TARGET_UBOOT_FORMAT_DTB_BIN - help - Pass the U-Boot image through the mkpimage tool to enable - booting on the Altera SoC FPGA based platforms. - - On some platforms, it's the SPL that needs to be passed - through mkpimage. On some other platforms there is no SPL - because the internal SRAM is big enough to store the full - U-Boot. In this case, it's directly the full U-Boot image - that is passed through mkpimage. - - If BR2_TARGET_UBOOT_SPL is enabled then - BR2_TARGET_UBOOT_SPL_NAME is converted by mkpimage using - header version 0. - - Otherwise the full u-boot-dtb.bin is converted using - mkpimage header version 1. - - In either case the resulting file will be given a .crc - extension. - -if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG - -config BR2_TARGET_UBOOT_CUSTOM_DTS_PATH - string "Device Tree Source file paths" - help - Space-separated list of paths to device tree source files - that will be copied to arch/ARCH/dts/ before starting the - build. - - To use this device tree source file, the U-Boot configuration - file must refer to it. - -endif - -config BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS - string "Custom make options" - help - List of custom make options passed at build time. Can be - used for example to pass a DEVICE_TREE= value. - -endif # BR2_TARGET_UBOOT diff --git a/buildroot-2021.05/boot/uboot/uboot.hash b/buildroot-2021.05/boot/uboot/uboot.hash deleted file mode 100644 index 9a0b0cb6..00000000 --- a/buildroot-2021.05/boot/uboot/uboot.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a u-boot-2021.04.tar.bz2 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt diff --git a/buildroot-2021.05/boot/uboot/uboot.mk b/buildroot-2021.05/boot/uboot/uboot.mk deleted file mode 100644 index dbe82e65..00000000 --- a/buildroot-2021.05/boot/uboot/uboot.mk +++ /dev/null @@ -1,505 +0,0 @@ -################################################################################ -# -# uboot -# -################################################################################ - -UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION)) -UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME)) - -UBOOT_LICENSE = GPL-2.0+ -ifeq ($(BR2_TARGET_UBOOT_LATEST_VERSION),y) -UBOOT_LICENSE_FILES = Licenses/gpl-2.0.txt -endif -UBOOT_CPE_ID_VENDOR = denx -UBOOT_CPE_ID_PRODUCT = u-boot - -UBOOT_INSTALL_IMAGES = YES - -# u-boot 2020.01+ needs make 4.0+ -UBOOT_DEPENDENCIES = $(BR2_MAKE_HOST_DEPENDENCY) -UBOOT_MAKE = $(BR2_MAKE) - -ifeq ($(UBOOT_VERSION),custom) -# Handle custom U-Boot tarballs as specified by the configuration -UBOOT_TARBALL = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION)) -UBOOT_SITE = $(patsubst %/,%,$(dir $(UBOOT_TARBALL))) -UBOOT_SOURCE = $(notdir $(UBOOT_TARBALL)) -else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT),y) -UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) -UBOOT_SITE_METHOD = git -else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_HG),y) -UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) -UBOOT_SITE_METHOD = hg -else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_SVN),y) -UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) -UBOOT_SITE_METHOD = svn -else -# Handle stable official U-Boot versions -UBOOT_SITE = https://ftp.denx.de/pub/u-boot -UBOOT_SOURCE = u-boot-$(UBOOT_VERSION).tar.bz2 -endif - -ifeq ($(BR2_TARGET_UBOOT)$(BR2_TARGET_UBOOT_LATEST_VERSION),y) -BR_NO_CHECK_HASH_FOR += $(UBOOT_SOURCE) -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_BIN),y) -UBOOT_BINS += u-boot.bin -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_ELF),y) -UBOOT_BINS += u-boot -# To make elf usable for debuging on ARC use special target -ifeq ($(BR2_arc),y) -UBOOT_MAKE_TARGET += mdbtrick -endif -endif - -# Call 'make all' unconditionally -UBOOT_MAKE_TARGET += all - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_KWB),y) -UBOOT_BINS += u-boot.kwb -UBOOT_MAKE_TARGET += u-boot.kwb -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_AIS),y) -UBOOT_BINS += u-boot.ais -UBOOT_MAKE_TARGET += u-boot.ais -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y) -UBOOT_BINS += u-boot-nand.bin -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_IMG),y) -UBOOT_BINS += u-boot-dtb.img -UBOOT_MAKE_TARGET += u-boot-dtb.img -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_IMX),y) -UBOOT_BINS += u-boot-dtb.imx -UBOOT_MAKE_TARGET += u-boot-dtb.imx -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_BIN),y) -UBOOT_BINS += u-boot-dtb.bin -UBOOT_MAKE_TARGET += u-boot-dtb.bin -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y) -UBOOT_BINS += u-boot.img -UBOOT_MAKE_TARGET += u-boot.img -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_ITB),y) -UBOOT_BINS += u-boot.itb -UBOOT_MAKE_TARGET += u-boot.itb -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMX),y) -UBOOT_BINS += u-boot.imx -UBOOT_MAKE_TARGET += u-boot.imx -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_SB),y) -UBOOT_BINS += u-boot.sb -UBOOT_MAKE_TARGET += u-boot.sb -# mxsimage needs OpenSSL -UBOOT_DEPENDENCIES += host-elftosb host-openssl -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_SD),y) -# BootStream (.sb) is generated by U-Boot, we convert it to SD format -UBOOT_BINS += u-boot.sd -UBOOT_MAKE_TARGET += u-boot.sb -UBOOT_DEPENDENCIES += host-elftosb host-openssl -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND),y) -UBOOT_BINS += u-boot.nand -UBOOT_MAKE_TARGET += u-boot.sb -UBOOT_DEPENDENCIES += host-elftosb host-openssl -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_STM32),y) -UBOOT_BINS += u-boot.stm32 -UBOOT_MAKE_TARGET += u-boot.stm32 -endif - -ifeq ($(BR2_TARGET_UBOOT_FORMAT_CUSTOM),y) -UBOOT_BINS += $(call qstrip,$(BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME)) -endif - -ifeq ($(BR2_TARGET_UBOOT_OMAP_IFT),y) -UBOOT_BINS += u-boot.bin -UBOOT_BIN_IFT = u-boot.bin.ift -endif - -# The kernel calls AArch64 'arm64', but U-Boot calls it just 'arm', so -# we have to special case it. Similar for i386/x86_64 -> x86 -ifeq ($(KERNEL_ARCH),arm64) -UBOOT_ARCH = arm -else ifneq ($(filter $(KERNEL_ARCH),i386 x86_64),) -UBOOT_ARCH = x86 -else -UBOOT_ARCH = $(KERNEL_ARCH) -endif - -UBOOT_MAKE_OPTS += \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - ARCH=$(UBOOT_ARCH) \ - HOSTCC="$(HOSTCC) $(subst -I/,-isystem /,$(subst -I /,-isystem /,$(HOST_CFLAGS)))" \ - HOSTLDFLAGS="$(HOST_LDFLAGS)" \ - $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS)) - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF_BL31),y) -UBOOT_DEPENDENCIES += arm-trusted-firmware -ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF),y) -UBOOT_MAKE_OPTS += BL31=$(BINARIES_DIR)/bl31.elf -else -UBOOT_MAKE_OPTS += BL31=$(BINARIES_DIR)/bl31.bin -endif -endif - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSBI),y) -UBOOT_DEPENDENCIES += opensbi -UBOOT_MAKE_OPTS += OPENSBI=$(BINARIES_DIR)/fw_dynamic.bin -endif - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y) -UBOOT_DEPENDENCIES += host-dtc -endif - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON2),y) -UBOOT_DEPENDENCIES += host-python host-python-setuptools -else ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON3),y) -UBOOT_DEPENDENCIES += host-python3 host-python3-setuptools -endif - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y) -UBOOT_DEPENDENCIES += host-swig -endif - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS),y) -ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON2),y) -UBOOT_DEPENDENCIES += host-python-pyelftools -else ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON3),y) -UBOOT_DEPENDENCIES += host-python3-pyelftools -endif -endif - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSSL),y) -UBOOT_DEPENDENCIES += host-openssl -endif - -ifeq ($(BR2_TARGET_UBOOT_NEEDS_LZOP),y) -UBOOT_DEPENDENCIES += host-lzop -endif - -# prior to u-boot 2013.10 the license info was in COPYING. Copy it so -# legal-info finds it -define UBOOT_COPY_OLD_LICENSE_FILE - if [ -f $(@D)/COPYING ]; then \ - $(INSTALL) -m 0644 -D $(@D)/COPYING $(@D)/Licenses/gpl-2.0.txt; \ - fi -endef - -UBOOT_POST_EXTRACT_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE -UBOOT_POST_RSYNC_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE - -ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) -define UBOOT_XTENSA_OVERLAY_EXTRACT - $(call arch-xtensa-overlay-extract,$(@D),u-boot) -endef -UBOOT_POST_EXTRACT_HOOKS += UBOOT_XTENSA_OVERLAY_EXTRACT -UBOOT_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) -endif - -# Analogous code exists in linux/linux.mk. Basically, the generic -# package infrastructure handles downloading and applying remote -# patches. Local patches are handled depending on whether they are -# directories or files. -UBOOT_PATCHES = $(call qstrip,$(BR2_TARGET_UBOOT_PATCH)) -UBOOT_PATCH = $(filter ftp://% http://% https://%,$(UBOOT_PATCHES)) - -define UBOOT_APPLY_LOCAL_PATCHES - for p in $(filter-out ftp://% http://% https://%,$(UBOOT_PATCHES)) ; do \ - if test -d $$p ; then \ - $(APPLY_PATCHES) $(@D) $$p \*.patch || exit 1 ; \ - else \ - $(APPLY_PATCHES) $(@D) `dirname $$p` `basename $$p` || exit 1; \ - fi \ - done -endef -UBOOT_POST_PATCH_HOOKS += UBOOT_APPLY_LOCAL_PATCHES - -# Fixup inclusion of libfdt headers, which can fail in older u-boot versions -# when libfdt-devel is installed system-wide. -# The core change is equivalent to upstream commit -# e0d20dc1521e74b82dbd69be53a048847798a90a (first in v2018.03). However, the fixup -# is complicated by the fact that the underlying u-boot code changed multiple -# times in history: -# - The directory scripts/dtc/libfdt only exists since upstream commit -# c0e032e0090d6541549b19cc47e06ccd1f302893 (first in v2017.11). For earlier -# versions, create a dummy scripts/dtc/libfdt directory with symlinks for the -# fdt-related files. This allows to use the same -I option for both -# cases. -# - The variable 'srctree' used to be called 'SRCTREE' before upstream commit -# 01286329b27b27eaeda045b469d41b1d9fce545a (first in v2014.04). -# - The original location for libfdt, 'lib/libfdt/', used to be simply -# 'libfdt' before upstream commit 0de71d507157c4bd4fddcd3a419140d2b986eed2 -# (first in v2010.06). Make the 'lib' part optional in the substitution to -# handle this. -define UBOOT_FIXUP_LIBFDT_INCLUDE - $(Q)if [ ! -d $(@D)/scripts/dtc/libfdt ]; then \ - mkdir -p $(@D)/scripts/dtc/libfdt; \ - cd $(@D)/scripts/dtc/libfdt; \ - ln -s ../../../include/fdt.h .; \ - ln -s ../../../include/libfdt*.h .; \ - ln -s ../../../lib/libfdt/libfdt_internal.h .; \ - fi - $(Q)$(SED) \ - 's%-I\ *\$$(srctree)/lib/libfdt%-I$$(srctree)/scripts/dtc/libfdt%; \ - s%-I\ *\$$(SRCTREE)\(/lib\)\?/libfdt%-I$$(SRCTREE)/scripts/dtc/libfdt%' \ - $(@D)/tools/Makefile -endef -UBOOT_POST_PATCH_HOOKS += UBOOT_FIXUP_LIBFDT_INCLUDE - -ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y) -define UBOOT_CONFIGURE_CMDS - $(TARGET_CONFIGURE_OPTS) \ - $(UBOOT_MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \ - $(UBOOT_BOARD_NAME)_config -endef -else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y) -ifeq ($(BR2_TARGET_UBOOT_USE_DEFCONFIG),y) -UBOOT_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_UBOOT_BOARD_DEFCONFIG))_defconfig -else ifeq ($(BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG),y) -UBOOT_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE)) -endif # BR2_TARGET_UBOOT_USE_DEFCONFIG - -UBOOT_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES)) -UBOOT_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig - -# UBOOT_MAKE_OPTS overrides HOSTCC / HOSTLDFLAGS to allow the build to -# find our host-openssl. However, this triggers a bug in the kconfig -# build script that causes it to build with /usr/include/ncurses.h -# (which is typically wchar) but link with -# $(HOST_DIR)/lib/libncurses.so (which is not). We don't actually -# need any host-package for kconfig, so remove the HOSTCC/HOSTLDFLAGS -# override again. In addition, host-ccache is not ready at kconfig -# time, so use HOSTCC_NOCCACHE. -UBOOT_KCONFIG_OPTS = $(UBOOT_MAKE_OPTS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTLDFLAGS="" -define UBOOT_HELP_CMDS - @echo ' uboot-menuconfig - Run U-Boot menuconfig' - @echo ' uboot-savedefconfig - Run U-Boot savedefconfig' - @echo ' uboot-update-defconfig - Save the U-Boot configuration to the path specified' - @echo ' by BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE' -endef -endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY - -UBOOT_CUSTOM_DTS_PATH = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH)) - -define UBOOT_BUILD_CMDS - $(if $(UBOOT_CUSTOM_DTS_PATH), - cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/ - ) - $(TARGET_CONFIGURE_OPTS) \ - $(UBOOT_MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \ - $(UBOOT_MAKE_TARGET) - $(if $(BR2_TARGET_UBOOT_FORMAT_SD), - $(@D)/tools/mxsboot sd $(@D)/u-boot.sb $(@D)/u-boot.sd) - $(if $(BR2_TARGET_UBOOT_FORMAT_NAND), - $(@D)/tools/mxsboot \ - -w $(BR2_TARGET_UBOOT_FORMAT_NAND_PAGE_SIZE) \ - -o $(BR2_TARGET_UBOOT_FORMAT_NAND_OOB_SIZE) \ - -e $(BR2_TARGET_UBOOT_FORMAT_NAND_ERASE_SIZE) \ - nand $(@D)/u-boot.sb $(@D)/u-boot.nand) -endef - -define UBOOT_BUILD_OMAP_IFT - $(HOST_DIR)/bin/gpsign -f $(@D)/u-boot.bin \ - -c $(call qstrip,$(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG)) -endef - -define UBOOT_INSTALL_IMAGES_CMDS - $(foreach f,$(UBOOT_BINS), \ - cp -dpf $(@D)/$(f) $(BINARIES_DIR)/ - ) - $(if $(BR2_TARGET_UBOOT_FORMAT_NAND), - cp -dpf $(@D)/u-boot.sb $(BINARIES_DIR)) - $(if $(BR2_TARGET_UBOOT_SPL), - $(foreach f,$(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME)), \ - cp -dpf $(@D)/$(f) $(BINARIES_DIR)/ - ) - ) -endef - -ifeq ($(BR2_TARGET_UBOOT_ZYNQMP),y) - -UBOOT_ZYNQMP_PMUFW = $(call qstrip,$(BR2_TARGET_UBOOT_ZYNQMP_PMUFW)) - -ifneq ($(findstring ://,$(UBOOT_ZYNQMP_PMUFW)),) -UBOOT_EXTRA_DOWNLOADS += $(UBOOT_ZYNQMP_PMUFW) -BR_NO_CHECK_HASH_FOR += $(notdir $(UBOOT_ZYNQMP_PMUFW)) -UBOOT_ZYNQMP_PMUFW_PATH = $(UBOOT_DL_DIR)/$(notdir $(UBOOT_ZYNQMP_PMUFW)) -else ifneq ($(UBOOT_ZYNQMP_PMUFW),) -UBOOT_ZYNQMP_PMUFW_PATH = $(shell readlink -f $(UBOOT_ZYNQMP_PMUFW)) -endif - -define UBOOT_ZYNQMP_KCONFIG_PMUFW - $(call KCONFIG_SET_OPT,CONFIG_PMUFW_INIT_FILE,"$(UBOOT_ZYNQMP_PMUFW_PATH)") -endef - -UBOOT_ZYNQMP_PM_CFG = $(call qstrip,$(BR2_TARGET_UBOOT_ZYNQMP_PM_CFG)) -ifneq ($(UBOOT_ZYNQMP_PM_CFG),) -UBOOT_ZYNQMP_PM_CFG_BIN = $(UBOOT_DIR)/pm_cfg_obj.bin -define UBOOT_ZYNQMP_KCONFIG_PM_CFG - $(call KCONFIG_SET_OPT,CONFIG_ZYNQMP_SPL_PM_CFG_OBJ_FILE,"$(UBOOT_ZYNQMP_PM_CFG_BIN)", \ - $(@D)/.config) -endef - -define UBOOT_ZYNQMP_PM_CFG_CONVERT - $(UBOOT_DIR)/tools/zynqmp_pm_cfg_obj_convert.py \ - "$(UBOOT_ZYNQMP_PM_CFG)" \ - "$(UBOOT_ZYNQMP_PM_CFG_BIN)" -endef -UBOOT_PRE_BUILD_HOOKS += UBOOT_ZYNQMP_PM_CFG_CONVERT -endif - -UBOOT_ZYNQMP_PSU_INIT = $(call qstrip,$(BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE)) -UBOOT_ZYNQMP_PSU_INIT_PATH = $(shell readlink -f $(UBOOT_ZYNQMP_PSU_INIT)) - -ifneq ($(UBOOT_ZYNQMP_PSU_INIT),) -define UBOOT_ZYNQMP_KCONFIG_PSU_INIT - $(call KCONFIG_SET_OPT,CONFIG_XILINX_PS_INIT_FILE,"$(UBOOT_ZYNQMP_PSU_INIT_PATH)") -endef -endif - -endif # BR2_TARGET_UBOOT_ZYNQMP - -define UBOOT_INSTALL_OMAP_IFT_IMAGE - cp -dpf $(@D)/$(UBOOT_BIN_IFT) $(BINARIES_DIR)/ -endef - -ifeq ($(BR2_TARGET_UBOOT_OMAP_IFT),y) -ifeq ($(BR_BUILDING),y) -ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG)),) -$(error No gpsign config file. Check your BR2_TARGET_UBOOT_OMAP_IFT_CONFIG setting) -endif -ifeq ($(wildcard $(call qstrip,$(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG))),) -$(error gpsign config file $(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG) not found. Check your BR2_TARGET_UBOOT_OMAP_IFT_CONFIG setting) -endif -endif -UBOOT_DEPENDENCIES += host-omap-u-boot-utils -UBOOT_POST_BUILD_HOOKS += UBOOT_BUILD_OMAP_IFT -UBOOT_POST_INSTALL_IMAGES_HOOKS += UBOOT_INSTALL_OMAP_IFT_IMAGE -endif - -ifeq ($(BR2_TARGET_UBOOT_ZYNQ_IMAGE),y) -define UBOOT_GENERATE_ZYNQ_IMAGE - $(HOST_DIR)/bin/python2 \ - $(HOST_DIR)/bin/zynq-boot-bin.py \ - -u $(@D)/$(firstword $(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME))) \ - -o $(BINARIES_DIR)/BOOT.BIN -endef -UBOOT_DEPENDENCIES += host-zynq-boot-bin -UBOOT_POST_INSTALL_IMAGES_HOOKS += UBOOT_GENERATE_ZYNQ_IMAGE -endif - -ifeq ($(BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC),y) -ifeq ($(BR2_TARGET_UBOOT_SPL),y) -UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES = $(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME)) -UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 0 -else -UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES = u-boot-dtb.bin -UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 1 -endif -define UBOOT_CRC_ALTERA_SOCFPGA_IMAGE - $(foreach f,$(UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES), \ - $(HOST_DIR)/bin/mkpimage \ - -v $(UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION) \ - -o $(BINARIES_DIR)/$(notdir $(call qstrip,$(f))).crc \ - $(@D)/$(call qstrip,$(f)) - ) -endef -UBOOT_DEPENDENCIES += host-mkpimage -UBOOT_POST_INSTALL_IMAGES_HOOKS += UBOOT_CRC_ALTERA_SOCFPGA_IMAGE -endif - -define UBOOT_KCONFIG_FIXUP_CMDS - $(UBOOT_ZYNQMP_KCONFIG_PMUFW) - $(UBOOT_ZYNQMP_KCONFIG_PM_CFG) - $(UBOOT_ZYNQMP_KCONFIG_PSU_INIT) -endef - -ifeq ($(BR2_TARGET_UBOOT)$(BR_BUILDING),yy) - -# -# Check U-Boot board name (for legacy) or the defconfig/custom config -# file options (for kconfig) -# -ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y) -ifeq ($(UBOOT_BOARD_NAME),) -$(error No U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting) -endif # UBOOT_BOARD_NAME -else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y) -ifeq ($(BR2_TARGET_UBOOT_USE_DEFCONFIG),y) -ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_BOARD_DEFCONFIG)),) -$(error No board defconfig name specified, check your BR2_TARGET_UBOOT_BOARD_DEFCONFIG setting) -endif # qstrip BR2_TARGET_UBOOT_BOARD_DEFCONFIG -endif # BR2_TARGET_UBOOT_USE_DEFCONFIG -ifeq ($(BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG),y) -ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE)),) -$(error No board configuration file specified, check your BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE setting) -endif # qstrip BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE -endif # BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG -endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY - -# -# Check custom version option -# -ifeq ($(BR2_TARGET_UBOOT_CUSTOM_VERSION),y) -ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE)),) -$(error No custom U-Boot version specified. Check your BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE setting) -endif # qstrip BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE -endif # BR2_TARGET_UBOOT_CUSTOM_VERSION - -# -# Check custom tarball option -# -ifeq ($(BR2_TARGET_UBOOT_CUSTOM_TARBALL),y) -ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION)),) -$(error No custom U-Boot tarball specified. Check your BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION setting) -endif # qstrip BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION -endif # BR2_TARGET_UBOOT_CUSTOM_TARBALL - -# -# Check Git/Mercurial repo options -# -ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT)$(BR2_TARGET_UBOOT_CUSTOM_HG),y) -ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)),) -$(error No custom U-Boot repository URL specified. Check your BR2_TARGET_UBOOT_CUSTOM_REPO_URL setting) -endif # qstrip BR2_TARGET_UBOOT_CUSTOM_CUSTOM_REPO_URL -ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION)),) -$(error No custom U-Boot repository version specified. Check your BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION setting) -endif # qstrip BR2_TARGET_UBOOT_CUSTOM_CUSTOM_REPO_VERSION -endif # BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG - -endif # BR2_TARGET_UBOOT && BR_BUILDING - -ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y) -UBOOT_DEPENDENCIES += \ - $(BR2_BISON_HOST_DEPENDENCY) \ - $(BR2_FLEX_HOST_DEPENDENCY) -$(eval $(generic-package)) -else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y) -UBOOT_MAKE_ENV = $(TARGET_MAKE_ENV) -UBOOT_KCONFIG_DEPENDENCIES = \ - $(BR2_MAKE_HOST_DEPENDENCY) \ - $(BR2_BISON_HOST_DEPENDENCY) \ - $(BR2_FLEX_HOST_DEPENDENCY) -$(eval $(kconfig-package)) -endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY diff --git a/buildroot-2021.05/configs/aarch64_efi_defconfig b/buildroot-2021.05/configs/aarch64_efi_defconfig deleted file mode 100644 index 6cb8d1fa..00000000 --- a/buildroot-2021.05/configs/aarch64_efi_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -# Architecture -BR2_aarch64=y - -# Toolchain, required for eudev and grub -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y - -# System -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -## Required tools to create bootable media -BR2_PACKAGE_HOST_GENIMAGE=y - -# Bootloader -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_ARM64_EFI=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="200M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/aarch64-efi/post-image.sh support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/aarch64-efi/genimage-efi.cfg" - -# Linux headers same as kernel, a 5.11 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.11.16" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Host tools for genimage -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/acmesystems_acqua_a5_256mb_defconfig b/buildroot-2021.05/configs/acmesystems_acqua_a5_256mb_defconfig deleted file mode 100644 index 810c3c97..00000000 --- a/buildroot-2021.05/configs/acmesystems_acqua_a5_256mb_defconfig +++ /dev/null @@ -1,23 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/acqua-a5/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.107" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="acqua-256m" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/acmesystems_acqua_a5_512mb_defconfig b/buildroot-2021.05/configs/acmesystems_acqua_a5_512mb_defconfig deleted file mode 100644 index 11a7e795..00000000 --- a/buildroot-2021.05/configs/acmesystems_acqua_a5_512mb_defconfig +++ /dev/null @@ -1,23 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/acqua-a5/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.107" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="acqua-512m" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/acmesystems_aria_g25_128mb_defconfig b/buildroot-2021.05/configs/acmesystems_aria_g25_128mb_defconfig deleted file mode 100644 index cf62b5b7..00000000 --- a/buildroot-2021.05/configs/acmesystems_aria_g25_128mb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Kernel headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# System configuration -BR2_TARGET_GENERIC_ISSUE="Welcome to Aria-G25 Buildroot" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/aria-g25/genimage.cfg" - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Root filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# AT91bootstrap bootloader -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="aria-128m" - -# Tools to build sdcard.img -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/acmesystems_aria_g25_256mb_defconfig b/buildroot-2021.05/configs/acmesystems_aria_g25_256mb_defconfig deleted file mode 100644 index 496ccd68..00000000 --- a/buildroot-2021.05/configs/acmesystems_aria_g25_256mb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Kernel headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# System configuration -BR2_TARGET_GENERIC_ISSUE="Welcome to Aria-G25 Buildroot" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/aria-g25/genimage.cfg" - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Root filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# AT91bootstrap bootloader -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="aria-256m" - -# Tools to build sdcard.img -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/acmesystems_arietta_g25_128mb_defconfig b/buildroot-2021.05/configs/acmesystems_arietta_g25_128mb_defconfig deleted file mode 100644 index 17ef7e75..00000000 --- a/buildroot-2021.05/configs/acmesystems_arietta_g25_128mb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Kernel headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# System configuration -BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/arietta-g25/genimage.cfg" - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Root filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# AT91bootstrap bootloader -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" - -# Tools to build sdcard.img -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/acmesystems_arietta_g25_256mb_defconfig b/buildroot-2021.05/configs/acmesystems_arietta_g25_256mb_defconfig deleted file mode 100644 index aa0236bb..00000000 --- a/buildroot-2021.05/configs/acmesystems_arietta_g25_256mb_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Kernel headers -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# System configuration -BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/arietta-g25/genimage.cfg" - -# Kernel configuration -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Root filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# AT91bootstrap bootloader -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" - -# Tools to build sdcard.img -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/amarula_vyasa_rk3288_defconfig b/buildroot-2021.05/configs/amarula_vyasa_rk3288_defconfig deleted file mode 100644 index 3b12da07..00000000 --- a/buildroot-2021.05/configs/amarula_vyasa_rk3288_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a17=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.11 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="vyasa-rk3288" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.11" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-vyasa" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/amarula/vyasa/linux_gmac.fragment" - -# Filesystem -BR2_TARGET_GENERIC_HOSTNAME="vyasa-rk3288" -BR2_TARGET_GENERIC_ISSUE="Welcome to VYASA RK3288!" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="512M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/amarula/vyasa/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/amarula/vyasa/post-build.sh" -BR2_GLOBAL_PATCH_DIR="board/amarula/vyasa/patches/" diff --git a/buildroot-2021.05/configs/armadeus_apf28_defconfig b/buildroot-2021.05/configs/armadeus_apf28_defconfig deleted file mode 100644 index 56351ebd..00000000 --- a/buildroot-2021.05/configs/armadeus_apf28_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.9 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="apf28" -BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.172" -BR2_LINUX_KERNEL_DEFCONFIG="mxs" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-apf28dev" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=4227 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 diff --git a/buildroot-2021.05/configs/armadeus_apf51_defconfig b/buildroot-2021.05/configs/armadeus_apf51_defconfig deleted file mode 100644 index 26b6a447..00000000 --- a/buildroot-2021.05/configs/armadeus_apf51_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# Linux headers same as kernel, a 3.12 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="apf51" -BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !" -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.186" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf51/linux-4.4.config" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x90008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx51-apf51dev" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=135301 -BR2_TARGET_ROOTFS_UBI=y diff --git a/buildroot-2021.05/configs/asus_tinker_rk3288_defconfig b/buildroot-2021.05/configs/asus_tinker_rk3288_defconfig deleted file mode 100644 index e95a19a7..00000000 --- a/buildroot-2021.05/configs/asus_tinker_rk3288_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a17=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="tinker-rk3288" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_FORMAT_DTB_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" -BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-tinker" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_GENERIC_HOSTNAME="tinker-rk3288" -BR2_TARGET_GENERIC_ISSUE="Welcome to TINKER RK3288!" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="512M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/asus/tinker/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/asus/tinker/post-build.sh" -BR2_GLOBAL_PATCH_DIR="board/asus/tinker/patches/" diff --git a/buildroot-2021.05/configs/at91sam9260eknf_defconfig b/buildroot-2021.05/configs/at91sam9260eknf_defconfig deleted file mode 100644 index 807d0294..00000000 --- a/buildroot-2021.05/configs/at91sam9260eknf_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9260ek" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBI=y - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9260eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9260ek_nandflash" - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/at91sam9g20dfc_defconfig b/buildroot-2021.05/configs/at91sam9g20dfc_defconfig deleted file mode 100644 index 7511c96f..00000000 --- a/buildroot-2021.05/configs/at91sam9g20dfc_defconfig +++ /dev/null @@ -1,39 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g20ek" - -# Filesystem -BR2_TARGET_ROOTFS_TAR=y -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x20000 -BR2_TARGET_ROOTFS_UBI_SUBSIZE=512 -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f800 -BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800 -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9g20eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9g20ek_nandflash" - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/at91sam9g45m10ek_defconfig b/buildroot-2021.05/configs/at91sam9g45m10ek_defconfig deleted file mode 100644 index c598527f..00000000 --- a/buildroot-2021.05/configs/at91sam9g45m10ek_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9m10g45ek" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 -BR2_TARGET_ROOTFS_UBI=y - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9m10g45eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9m10g45ek_nandflash" - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/at91sam9rlek_defconfig b/buildroot-2021.05/configs/at91sam9rlek_defconfig deleted file mode 100644 index ba3a94c0..00000000 --- a/buildroot-2021.05/configs/at91sam9rlek_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9rlek" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 -BR2_TARGET_ROOTFS_UBI=y - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.10" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9rleknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9rlek_nandflash" - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/at91sam9x5ek_defconfig b/buildroot-2021.05/configs/at91sam9x5ek_defconfig deleted file mode 100644 index d544e277..00000000 --- a/buildroot-2021.05/configs/at91sam9x5ek_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -BR2_arm=y -BR2_arm926t=y -# Linux headers same as kernel, a 4.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/at91sam9x5ek_dev_defconfig b/buildroot-2021.05/configs/at91sam9x5ek_dev_defconfig deleted file mode 100644 index 5f777fbc..00000000 --- a/buildroot-2021.05/configs/at91sam9x5ek_dev_defconfig +++ /dev/null @@ -1,98 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -# Needed for gdb -BR2_PTHREAD_DEBUG=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/at91sam9x5ek_mmc_defconfig b/buildroot-2021.05/configs/at91sam9x5ek_mmc_defconfig deleted file mode 100644 index 63a537bd..00000000 --- a/buildroot-2021.05/configs/at91sam9x5ek_mmc_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/at91sam9x5ek_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/atmel/at91sam9x5ek_mmc/uboot-env.txt" -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/at91sam9x5ek_mmc_dev_defconfig b/buildroot-2021.05/configs/at91sam9x5ek_mmc_dev_defconfig deleted file mode 100644 index 698cb923..00000000 --- a/buildroot-2021.05/configs/at91sam9x5ek_mmc_dev_defconfig +++ /dev/null @@ -1,107 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -# Needed for gdb -BR2_PTHREAD_DEBUG=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/at91sam9x5ek_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.8.13" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/atmel/at91sam9x5ek_mmc/uboot-env.txt" -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/buildroot-2021.05/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig deleted file mode 100644 index b608bac0..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig +++ /dev/null @@ -1,84 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -BR2_PTHREAD_DEBUG=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_som1_ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam-2020.04)/linux-at91-linux4sam-2020.04.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_som1_ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_RNG_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.2)/at91bootstrap3-v3.9.2.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_som1_eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_som1_ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/atmel_sama5d2_xplained_mmc_defconfig b/buildroot-2021.05/configs/atmel_sama5d2_xplained_mmc_defconfig deleted file mode 100644 index 2c73cc4c..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d2_xplained_mmc_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d2_xplained_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_xplainedsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/buildroot-2021.05/configs/atmel_sama5d2_xplained_mmc_dev_defconfig deleted file mode 100644 index 6f641280..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d2_xplained_mmc_dev_defconfig +++ /dev/null @@ -1,104 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -# Needed for gdb -BR2_PTHREAD_DEBUG=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d2_xplained_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_xplainedsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/atmel_sama5d3_xplained_defconfig b/buildroot-2021.05/configs/atmel_sama5d3_xplained_defconfig deleted file mode 100644 index 65304a2e..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d3_xplained_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainednf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/atmel_sama5d3_xplained_dev_defconfig b/buildroot-2021.05/configs/atmel_sama5d3_xplained_dev_defconfig deleted file mode 100644 index 28efe4cc..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d3_xplained_dev_defconfig +++ /dev/null @@ -1,98 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -# Needed for gdb -BR2_PTHREAD_DEBUG=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainednf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/atmel_sama5d3_xplained_mmc_defconfig b/buildroot-2021.05/configs/atmel_sama5d3_xplained_mmc_defconfig deleted file mode 100644 index 3fd5f1dd..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d3_xplained_mmc_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d3_xplained_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainedsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/buildroot-2021.05/configs/atmel_sama5d3_xplained_mmc_dev_defconfig deleted file mode 100644 index 1f1881f8..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d3_xplained_mmc_dev_defconfig +++ /dev/null @@ -1,103 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -# Needed for gdb -BR2_PTHREAD_DEBUG=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d3_xplained_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainedsd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/atmel_sama5d3xek_defconfig b/buildroot-2021.05/configs/atmel_sama5d3xek_defconfig deleted file mode 100644 index 63417eae..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d3xek_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_5.8)/linux-linux4sam_5.8.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sama5d31ek sama5d33ek sama5d34ek sama5d35ek sama5d36ek" - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.8.10)/at91bootstrap3-v3.8.10.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3xeknf_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_5.8)/u-boot-at91-linux4sam_5.8.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3xek_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_SPL=y - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/atmel_sama5d4_xplained_defconfig b/buildroot-2021.05/configs/atmel_sama5d4_xplained_defconfig deleted file mode 100644 index 319f3195..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d4_xplained_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x3e000 -BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x1000 -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2082 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x40000 -BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainednf_uboot_secure" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/atmel_sama5d4_xplained_dev_defconfig b/buildroot-2021.05/configs/atmel_sama5d4_xplained_dev_defconfig deleted file mode 100644 index 71568f74..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d4_xplained_dev_defconfig +++ /dev/null @@ -1,102 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -# Needed for gdb -BR2_PTHREAD_DEBUG=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_UBIFS=y -BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x3e000 -BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x1000 -BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2082 -BR2_TARGET_ROOTFS_UBI=y -BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x40000 -BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainednf_uboot_secure" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_nandflash" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2021.05/configs/atmel_sama5d4_xplained_mmc_defconfig b/buildroot-2021.05/configs/atmel_sama5d4_xplained_mmc_defconfig deleted file mode 100644 index ed294c35..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d4_xplained_mmc_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d4_xplained_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainedsd_uboot_secure" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/buildroot-2021.05/configs/atmel_sama5d4_xplained_mmc_dev_defconfig deleted file mode 100644 index 93a5bd92..00000000 --- a/buildroot-2021.05/configs/atmel_sama5d4_xplained_mmc_dev_defconfig +++ /dev/null @@ -1,104 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y - -# Toolchain -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -# Needed for gdb -BR2_PTHREAD_DEBUG=y -# Needed for some packages -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System Configuration -# Needed for usb-utils -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -# Creation of the SD card image -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d4_xplained_mmc/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Packages -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" - -# Bootloaders -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap3-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainedsd_uboot_secure" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# Host packages -# Needed to generate the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/bananapi_m1_defconfig b/buildroot-2021.05/configs/bananapi_m1_defconfig deleted file mode 100644 index 23da3633..00000000 --- a/buildroot-2021.05/configs/bananapi_m1_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y -BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M1" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m1/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.18.12" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-bananapi" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Bananapi" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m1/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/bananapi_m2_ultra_defconfig b/buildroot-2021.05/configs/bananapi_m2_ultra_defconfig deleted file mode 100644 index 22f7974b..00000000 --- a/buildroot-2021.05/configs/bananapi_m2_ultra_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y -BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Ultra" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-ultra/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.18.12" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-r40-bananapi-m2-ultra" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m2-ultra/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/beaglebone_defconfig b/buildroot-2021.05/configs/beaglebone_defconfig deleted file mode 100644 index 9a4be13e..00000000 --- a/buildroot-2021.05/configs/beaglebone_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -BR2_arm=y -BR2_cortex_a8=y -BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,4.19.79-ti-r30)/linux-4.19.79-ti-r30.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/buildroot-2021.05/configs/beaglebone_qt5_defconfig b/buildroot-2021.05/configs/beaglebone_qt5_defconfig deleted file mode 100644 index 5f084b77..00000000 --- a/buildroot-2021.05/configs/beaglebone_qt5_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -BR2_arm=y -BR2_cortex_a8=y -BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches" -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_OVERLAY="board/beaglebone/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,4.19.79-ti-r30)/linux-4.19.79-ti-r30.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/beaglebone/linux-sgx.fragment" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_FBV=y -BR2_PACKAGE_QT5=y -BR2_PACKAGE_QT5BASE_EXAMPLES=y -BR2_PACKAGE_QT5BASE_EGLFS=y -BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs" -BR2_PACKAGE_QT5QUICKCONTROLS=y -BR2_PACKAGE_TI_SGX_DEMOS=y -BR2_PACKAGE_TI_SGX_KM=y -BR2_PACKAGE_TI_SGX_UM=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="250M" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="spl/u-boot-spl.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/buildroot-2021.05/configs/beagleboneai_defconfig b/buildroot-2021.05/configs/beagleboneai_defconfig deleted file mode 100644 index eb23cdf6..00000000 --- a/buildroot-2021.05/configs/beagleboneai_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -BR2_arm=y -BR2_cortex_a15=y -BR2_GLOBAL_PATCH_DIR="board/beagleboneai/patches" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beagleboneai/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beagleboneai/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,4.14.108-ti-r117)/linux-4.14.108-ti-r117.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bb.org" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am5729-beagleboneai" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm" -BR2_TARGET_UBOOT_NEEDS_DTC=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/beaglev_defconfig b/buildroot-2021.05/configs/beaglev_defconfig deleted file mode 100644 index bbb69ca2..00000000 --- a/buildroot-2021.05/configs/beaglev_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -BR2_riscv=y -BR2_riscv_custom=y -BR2_RISCV_ISA_CUSTOM_RVM=y -BR2_RISCV_ISA_CUSTOM_RVF=y -BR2_RISCV_ISA_CUSTOM_RVD=y -BR2_RISCV_ISA_CUSTOM_RVC=y -BR2_GLOBAL_PATCH_DIR="board/beaglev/patches/" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglev/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglev/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# HEAD of the Fedora branch -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,710cf052d6abda73584481d920b4b6befc7240ea)/linux-710cf052d6abda73584481d920b4b6befc7240ea.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="starfive_vic7100_evb_sd_net" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_BEAGLEV_DDRINIT=y -BR2_TARGET_BEAGLEV_SECONDBOOT=y -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y -# HEAD of the Fedora branch -BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,opensbi,2524b0ecd8684b42bc7a4c69794f40f11cbbe2a5)/opensbi-2524b0ecd8684b42bc7a4c69794f40f11cbbe2a5.tar.gz" -BR2_TARGET_OPENSBI_PLAT="starfive/vic7100" -# BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG is not set -# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set -BR2_TARGET_OPENSBI_UBOOT_PAYLOAD=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# HEAD of the Fedora branch -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,3f3ac01a29ad1cd5fa519d86f81daead2447f1d4)/uboot-3f3ac01a29ad1cd5fa519d86f81daead2447f1d4.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="starfive_vic7100_beagle_v_smode" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_JH71XX_TOOLS=y diff --git a/buildroot-2021.05/configs/beelink_gs1_defconfig b/buildroot-2021.05/configs/beelink_gs1_defconfig deleted file mode 100644 index b461574a..00000000 --- a/buildroot-2021.05/configs/beelink_gs1_defconfig +++ /dev/null @@ -1,44 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_ARM_FPU_VFPV4=y -BR2_TARGET_GENERIC_ISSUE="Welcome to Beelink GS1" -# MDEV is required to autoload the ethernet driver module -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/beelink/gs1/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beelink/gs1/genimage.cfg" - -# Kernel Linux headers same as kernel, a 5.5 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.5.4" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-beelink-gs1" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="beelink_gs1" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/chromebook_elm_defconfig b/buildroot-2021.05/configs/chromebook_elm_defconfig deleted file mode 100644 index 4f82370f..00000000 --- a/buildroot-2021.05/configs/chromebook_elm_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a72_a53=y - -# Patches -BR2_GLOBAL_PATCH_DIR="board/chromebook/elm/patches/" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel (5.9 series) -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.9" - -# Build Kernel with a Custom config. -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/chromebook/elm/linux.config" - -# DTS support -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="mediatek/mt8173-elm" - -# Package Firmware for WiFi chip. -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797=y - -# Scripts to generate final images. -BR2_ROOTFS_POST_BUILD_SCRIPT="board/chromebook/elm/sign.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/chromebook/mksd.sh" - -# Supporting host tools to build / sign FIT Image. -BR2_PACKAGE_HOST_PARTED=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y -BR2_PACKAGE_HOST_VBOOT_UTILS=y diff --git a/buildroot-2021.05/configs/cubieboard2_defconfig b/buildroot-2021.05/configs/cubieboard2_defconfig deleted file mode 100644 index 8924c88c..00000000 --- a/buildroot-2021.05/configs/cubieboard2_defconfig +++ /dev/null @@ -1,32 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y -# Linux headers same as kernel, a 4.18 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y -BR2_TARGET_GENERIC_HOSTNAME="Cubieboard2" -BR2_TARGET_GENERIC_ISSUE="Welcome to Cubieboard2!" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/cubietech/cubieboard2/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.18.14" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-cubieboard2" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.09" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Cubieboard2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/cubietech/cubieboard2/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/engicam_imx6qdl_icore_qt5_defconfig b/buildroot-2021.05/configs/engicam_imx6qdl_icore_qt5_defconfig deleted file mode 100644 index b893c6ae..00000000 --- a/buildroot-2021.05/configs/engicam_imx6qdl_icore_qt5_defconfig +++ /dev/null @@ -1,82 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 4.13 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore imx6q-icore-ofcap10 imx6q-icore-ofcap12" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/engicam/icorem6/linux_qt5.fragment" - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6/genimage.cfg" -BR2_ROOTFS_OVERLAY="board/engicam/icorem6/rootfs_overlay" - -# qt5 dependencies -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# qt5 -BR2_PACKAGE_QT5=y -BR2_PACKAGE_QT5BASE_OPENGL_LIB=y -BR2_PACKAGE_QT5BASE_LINUXFB=y -BR2_PACKAGE_QT5BASE_FONTCONFIG=y -BR2_PACKAGE_QT5BASE_GIF=y -BR2_PACKAGE_QT5BASE_JPEG=y - -# mesa3d -BR2_PACKAGE_MESA3D=y -BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y -BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO=y -BR2_PACKAGE_MESA3D_OPENGL_ES=y -BR2_PACKAGE_MESA3D_OPENGL_EGL=y - -# qt5 demo packages -BR2_PACKAGE_GLMARK2=y -BR2_PACKAGE_MESA3D_DEMOS=y -BR2_PACKAGE_KMSCUBE=y -BR2_PACKAGE_QT5CINEX=y -BR2_PACKAGE_QT5CINEX_HD=y - -# fonts -BR2_PACKAGE_BITSTREAM_VERA=y -BR2_PACKAGE_CANTARELL=y -BR2_PACKAGE_DEJAVU=y -BR2_PACKAGE_FONT_AWESOME=y -BR2_PACKAGE_GHOSTSCRIPT_FONTS=y -BR2_PACKAGE_INCONSOLATA=y -BR2_PACKAGE_LIBERATION=y diff --git a/buildroot-2021.05/configs/galileo_defconfig b/buildroot-2021.05/configs/galileo_defconfig deleted file mode 100644 index 03ca23f4..00000000 --- a/buildroot-2021.05/configs/galileo_defconfig +++ /dev/null @@ -1,24 +0,0 @@ -BR2_x86_x1000=y -# Needed for TARGET_GRUB2 -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -# Linux headers same as kernel, a 3.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS1" -BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y -BR2_ROOTFS_OVERLAY="board/intel/galileo/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/intel/galileo/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/intel/galileo/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,mdr78,Linux-x1000,8b3c9d8ce1656a26b1097d9091d53bfb39fef640)/linux-8b3c9d8ce1656a26b1097d9091d53bfb39fef640.tar.gz" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/intel/galileo/linux-3.14.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_I386_EFI=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/globalscale_espressobin_defconfig b/buildroot-2021.05/configs/globalscale_espressobin_defconfig deleted file mode 100644 index 50cfc6b5..00000000 --- a/buildroot-2021.05/configs/globalscale_espressobin_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -# Linux headers same as kernel, a 5.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.11" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/globalscale/espressobin/linux-extras.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="marvell/armada-3720-espressobin marvell/armada-3720-espressobin-emmc marvell/armada-3720-espressobin-v7 marvell/armada-3720-espressobin-v7-emmc" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Marvell ESPRESSObin" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_ROOTFS_TAR_GZIP=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/globalscale/espressobin/genimage.cfg" diff --git a/buildroot-2021.05/configs/grinn_chiliboard_defconfig b/buildroot-2021.05/configs/grinn_chiliboard_defconfig deleted file mode 100644 index 5b05ed44..00000000 --- a/buildroot-2021.05/configs/grinn_chiliboard_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -BR2_arm=y -BR2_cortex_a8=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/grinn/chiliboard/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.26" -BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-chiliboard" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="chiliboard" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="spl/u-boot-spl.bin" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="MLO" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/grinn_liteboard_defconfig b/buildroot-2021.05/configs/grinn_liteboard_defconfig deleted file mode 100644 index 8bec2e1d..00000000 --- a/buildroot-2021.05/configs/grinn_liteboard_defconfig +++ /dev/null @@ -1,26 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/grinn/liteboard/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.2" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-liteboard" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="liteboard" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/imx23evk_defconfig b/buildroot-2021.05/configs/imx23evk_defconfig deleted file mode 100644 index b5bfc849..00000000 --- a/buildroot-2021.05/configs/imx23evk_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# architecture -BR2_arm=y -BR2_arm926t=y - -# Linux headers same as kernel, a 4.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" -BR2_LINUX_KERNEL_DEFCONFIG="mxs" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx23-evk" - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx23evk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" -BR2_TARGET_UBOOT_FORMAT_SD=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# To generate SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/mxs/post-image.sh" diff --git a/buildroot-2021.05/configs/imx6-sabreauto_defconfig b/buildroot-2021.05/configs/imx6-sabreauto_defconfig deleted file mode 100644 index a77b57e4..00000000 --- a/buildroot-2021.05/configs/imx6-sabreauto_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.3 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sabreauto" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" -BR2_TARGET_UBOOT_NEEDS_LZOP=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.4" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabreauto imx6dl-sabreauto imx6qp-sabreauto" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/imx6-sabresd_defconfig b/buildroot-2021.05/configs/imx6-sabresd_defconfig deleted file mode 100644 index 5a39f333..00000000 --- a/buildroot-2021.05/configs/imx6-sabresd_defconfig +++ /dev/null @@ -1,39 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sabresd" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.25" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/imx6-sabresd_qt5_defconfig b/buildroot-2021.05/configs/imx6-sabresd_qt5_defconfig deleted file mode 100644 index 8cdc0e25..00000000 --- a/buildroot-2021.05/configs/imx6-sabresd_qt5_defconfig +++ /dev/null @@ -1,100 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Additional features needed for packages -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="320M" -BR2_ROOTFS_OVERLAY="board/freescale/imx6-sabresd/rootfs_overlay" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sabresd" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.25" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/freescale/imx6-sabresd/linux_qt5.fragment" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# GL driver -BR2_PACKAGE_MESA3D=y -BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y -BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO=y -BR2_PACKAGE_MESA3D_OPENGL_ES=y -BR2_PACKAGE_MESA3D_OPENGL_EGL=y - -# Fonts -BR2_PACKAGE_BITSTREAM_VERA=y -BR2_PACKAGE_CANTARELL=y -BR2_PACKAGE_DEJAVU=y -BR2_PACKAGE_FONT_AWESOME=y -BR2_PACKAGE_GHOSTSCRIPT_FONTS=y -BR2_PACKAGE_INCONSOLATA=y -BR2_PACKAGE_LIBERATION=y - -# GL demos -BR2_PACKAGE_GLMARK2=y -BR2_PACKAGE_KMSCUBE=y -BR2_PACKAGE_LIBV4L=y -BR2_PACKAGE_LIBV4L_UTILS=y -BR2_PACKAGE_MESA3D_DEMOS=y - -# Qt5 -BR2_PACKAGE_QT5=y -BR2_PACKAGE_QT5BASE_OPENGL_LIB=y -BR2_PACKAGE_QT5BASE_LINUXFB=y -BR2_PACKAGE_QT5BASE_FONTCONFIG=y -BR2_PACKAGE_QT5BASE_GIF=y -BR2_PACKAGE_QT5BASE_JPEG=y -BR2_PACKAGE_QT5CINEX=y -BR2_PACKAGE_QT5CINEX_HD=y - -# NXP firmware package -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# libdrm tests -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y - -# gstreamer-1.0 -BR2_PACKAGE_GSTREAMER1=y -BR2_PACKAGE_GST1_PLUGINS_GOOD=y -BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2=y -BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE=y -BR2_PACKAGE_GST1_PLUGINS_BAD=y -BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS=y -BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS=y -BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC=y - -# For automatic kernel module loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y diff --git a/buildroot-2021.05/configs/imx6slevk_defconfig b/buildroot-2021.05/configs/imx6slevk_defconfig deleted file mode 100644 index 90a02964..00000000 --- a/buildroot-2021.05/configs/imx6slevk_defconfig +++ /dev/null @@ -1,26 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6slevk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.11" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/imx6sx-sdb_defconfig b/buildroot-2021.05/configs/imx6sx-sdb_defconfig deleted file mode 100644 index a87bdf84..00000000 --- a/buildroot-2021.05/configs/imx6sx-sdb_defconfig +++ /dev/null @@ -1,26 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6sxsabresd" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.01" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.14" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-sdb imx6sx-sdb-reva" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/imx6ulevk_defconfig b/buildroot-2021.05/configs/imx6ulevk_defconfig deleted file mode 100644 index 53381d71..00000000 --- a/buildroot-2021.05/configs/imx6ulevk_defconfig +++ /dev/null @@ -1,39 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.8" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-14x14-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6ul_14x14_evk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# filesystem / image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/buildroot-2021.05/configs/imx6ullevk_defconfig b/buildroot-2021.05/configs/imx6ullevk_defconfig deleted file mode 100644 index 81db6626..00000000 --- a/buildroot-2021.05/configs/imx6ullevk_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.7 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.8" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ull-14x14-evk" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx6ull_14x14_evk" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y -BR2_TARGET_UBOOT_NEEDS_DTC=y - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# filesystem / image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/buildroot-2021.05/configs/imx6ulpico_defconfig b/buildroot-2021.05/configs/imx6ulpico_defconfig deleted file mode 100644 index 56ae5887..00000000 --- a/buildroot-2021.05/configs/imx6ulpico_defconfig +++ /dev/null @@ -1,51 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 4.17 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc5" - -# rootfs overlay -BR2_ROOTFS_OVERLAY="board/technexion/imx6ulpico/rootfs_overlay" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.17" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-pico-hobbit" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# wifi firmware for brcm4339 -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX=y - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# wireless packages -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="pico-imx6ul" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.05" -BR2_TARGET_UBOOT_FORMAT_IMX=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# filesystem / image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/buildroot-2021.05/configs/imx7d-sdb_defconfig b/buildroot-2021.05/configs/imx7d-sdb_defconfig deleted file mode 100644 index 1a3494b4..00000000 --- a/buildroot-2021.05/configs/imx7d-sdb_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.8" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-sdb" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="mx7dsabresd" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01" -BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/imx7dpico_defconfig b/buildroot-2021.05/configs/imx7dpico_defconfig deleted file mode 100644 index a3c2af16..00000000 --- a/buildroot-2021.05/configs/imx7dpico_defconfig +++ /dev/null @@ -1,50 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.7 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc4" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.7.1" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-pico-pi" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_TARGET_UBOOT_BOARDNAME="pico-pi-imx7d" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.04" -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y - -# wifi firmware for brcm43439 -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX=y - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# wireless packages -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_GENIMAGE=y - -# filesystem / image -BR2_ROOTFS_OVERLAY="board/technexion/imx7dpico/rootfs_overlay" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/buildroot-2021.05/configs/kontron_smarc_sal28_defconfig b/buildroot-2021.05/configs/kontron_smarc_sal28_defconfig deleted file mode 100644 index 853c7c30..00000000 --- a/buildroot-2021.05/configs/kontron_smarc_sal28_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a72=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_OVERLAY="board/kontron/smarc-sal28/rootfs_overlay" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/smarc-sal28/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-kontron-sl28 freescale/fsl-ls1028a-kontron-sl28-var2 freescale/fsl-ls1028a-kontron-sl28-var3-ads2 freescale/fsl-ls1028a-kontron-sl28-var4 freescale/fsl-ls1028a-kontron-kbox-a-230-ls" -BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_RCW_SMARC_SAL28=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron_sl28" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.rom" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2021.05/configs/lego_ev3_defconfig b/buildroot-2021.05/configs/lego_ev3_defconfig deleted file mode 100644 index b4a10000..00000000 --- a/buildroot-2021.05/configs/lego_ev3_defconfig +++ /dev/null @@ -1,52 +0,0 @@ -# architecture -BR2_arm=y -BR2_arm926t=y - -# Toolchain -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS1" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/lego/ev3/post-image.sh" -# Linux headers same as kernel, a 4.19 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19" -BR2_LINUX_KERNEL_DEFCONFIG="davinci_all" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/lego/ev3/linux.fragment" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xc0008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="da850-lego-ev3" - -# Target packages -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/lego/ev3/busybox.fragment" -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y -BR2_PACKAGE_BRICKD=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560=y - -# filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_SQUASHFS=y -BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y -# BR2_TARGET_ROOTFS_TAR is not set - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.11" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3" - -# host -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/microchip_sam9x60ek_mmc_defconfig b/buildroot-2021.05/configs/microchip_sam9x60ek_mmc_defconfig deleted file mode 100644 index b389320e..00000000 --- a/buildroot-2021.05/configs/microchip_sam9x60ek_mmc_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -BR2_arm=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y -BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam-2020.04)/linux-linux4sam-2020.04.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sam9x60ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.10.0)/at91bootstrap-v3.10.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sam9x60eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sam9x60ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/microchip_sam9x60ek_mmc_dev_defconfig b/buildroot-2021.05/configs/microchip_sam9x60ek_mmc_dev_defconfig deleted file mode 100644 index 6c3fcc6b..00000000 --- a/buildroot-2021.05/configs/microchip_sam9x60ek_mmc_dev_defconfig +++ /dev/null @@ -1,77 +0,0 @@ -BR2_arm=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y -BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam-2020.04)/linux-linux4sam-2020.04.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sam9x60ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBSYSFS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_ARGP_STANDALONE=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.10.0)/at91bootstrap-v3.10.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sam9x60eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sam9x60ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig b/buildroot-2021.05/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig deleted file mode 100644 index 3bba4f6e..00000000 --- a/buildroot-2021.05/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_wlsom1_ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_wlsom1_eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_wlsom1_ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/buildroot-2021.05/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig deleted file mode 100644 index 031a533b..00000000 --- a/buildroot-2021.05/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig +++ /dev/null @@ -1,85 +0,0 @@ -BR2_arm=y -BR2_cortex_a5=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_INSTRUCTIONS_THUMB2=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y -BR2_PTHREAD_DEBUG=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.2)/linux-linux4sam_6.2.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="sama5" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_wlsom1_ek" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_ALSA_UTILS=y -BR2_PACKAGE_ALSA_UTILS_ALSACONF=y -BR2_PACKAGE_ALSA_UTILS_APLAY=y -BR2_PACKAGE_FFMPEG=y -BR2_PACKAGE_FFMPEG_GPL=y -BR2_PACKAGE_FFMPEG_SWSCALE=y -BR2_PACKAGE_MPG123=y -BR2_PACKAGE_BZIP2=y -BR2_PACKAGE_GZIP=y -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_XZ=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_GDB=y -BR2_PACKAGE_LMBENCH=y -BR2_PACKAGE_DOSFSTOOLS=y -BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y -BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y -BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y -BR2_PACKAGE_MMC_UTILS=y -BR2_PACKAGE_MTD=y -BR2_PACKAGE_WILC1000_FIRMWARE=y -BR2_PACKAGE_EVTEST=y -BR2_PACKAGE_I2C_TOOLS=y -BR2_PACKAGE_SETSERIAL=y -BR2_PACKAGE_SPI_TOOLS=y -BR2_PACKAGE_USBUTILS=y -BR2_PACKAGE_LIBSYSFS=y -BR2_PACKAGE_LIBDRM=y -BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y -BR2_PACKAGE_DTC=y -BR2_PACKAGE_DTC_PROGRAMS=y -BR2_PACKAGE_ARGP_STANDALONE=y -BR2_PACKAGE_BLUEZ5_UTILS=y -BR2_PACKAGE_BRIDGE_UTILS=y -BR2_PACKAGE_CAN_UTILS=y -BR2_PACKAGE_ETHTOOL=y -BR2_PACKAGE_IPERF=y -BR2_PACKAGE_IPROUTE2=y -BR2_PACKAGE_IPTABLES=y -BR2_PACKAGE_IW=y -BR2_PACKAGE_LRZSZ=y -BR2_PACKAGE_MII_DIAG=y -BR2_PACKAGE_OPENSSH=y -BR2_PACKAGE_WGET=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_BASH=y -BR2_PACKAGE_HTOP=y -BR2_PACKAGE_VIM=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -BR2_TARGET_AT91BOOTSTRAP3=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.9.0)/at91bootstrap-v3.9.0.tar.gz" -BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_wlsom1_eksd_uboot" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_wlsom1_ek_mmc" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/mx6cubox_defconfig b/buildroot-2021.05/configs/mx6cubox_defconfig deleted file mode 100644 index ae235358..00000000 --- a/buildroot-2021.05/configs/mx6cubox_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Toolchain -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# System configuration -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/solidrun/mx6cubox/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/solidrun/mx6cubox/post-image.sh" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.27" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem images -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2021.05/configs/mx6sx_udoo_neo_defconfig b/buildroot-2021.05/configs/mx6sx_udoo_neo_defconfig deleted file mode 100644 index 2bdcade2..00000000 --- a/buildroot-2021.05/configs/mx6sx_udoo_neo_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y -# Linux headers same as kernel, a 5.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/udoo/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="udoo_neo" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-udoo-neo-basic imx6sx-udoo-neo-full imx6sx-udoo-neo-extended" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/udoo/common/boot.scr.txt" diff --git a/buildroot-2021.05/configs/mx6udoo_defconfig b/buildroot-2021.05/configs/mx6udoo_defconfig deleted file mode 100644 index 60436e86..00000000 --- a/buildroot-2021.05/configs/mx6udoo_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y -BR2_GLOBAL_PATCH_DIR="board/udoo/mx6qdl/patches" -# Linux headers same as kernel, a 5.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/udoo/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="udoo" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-udoo imx6dl-udoo" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -# required tools to create the SD card image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/udoo/common/boot.scr.txt" diff --git a/buildroot-2021.05/configs/nitrogen6sx_defconfig b/buildroot-2021.05/configs/nitrogen6sx_defconfig deleted file mode 100644 index 73dfe2ca..00000000 --- a/buildroot-2021.05/configs/nitrogen6sx_defconfig +++ /dev/null @@ -1,44 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Last version of branch boundary-v2020.10 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/e05b6d68.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen6sx" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Last version of branch boundary-imx_5.4.x_2.3.0 -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/8961f5c1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-nitrogen6sx imx6sx-nitrogen6sx-m4" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/nitrogen6x_defconfig b/buildroot-2021.05/configs/nitrogen6x_defconfig deleted file mode 100644 index 8e4b2683..00000000 --- a/buildroot-2021.05/configs/nitrogen6x_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_PACKAGE_HOST_GENIMAGE=y - -# filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Last version of branch boundary-v2020.10 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/e05b6d68.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen6q" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Last version of branch boundary-imx_5.4.x_2.3.0 -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/8961f5c1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-nit6xlite imx6dl-nitrogen6_vm imx6dl-nitrogen6x imx6q-nitrogen6x imx6dl-nitrogen6_som2 imx6q-nitrogen6_som2 imx6qp-nitrogen6_som2 imx6q-nitrogen6_max imx6qp-nitrogen6_max imx6q-sabrelite" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/nitrogen7_defconfig b/buildroot-2021.05/configs/nitrogen7_defconfig deleted file mode 100644 index 8b152d93..00000000 --- a/buildroot-2021.05/configs/nitrogen7_defconfig +++ /dev/null @@ -1,43 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Last version of branch boundary-v2020.10 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/e05b6d68.tar.gz" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen7" -BR2_TARGET_UBOOT_FORMAT_IMX=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Last version of branch boundary-imx_5.4.x_2.3.0 -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/8961f5c1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-nitrogen7 imx7d-nitrogen7-m4" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/nitrogen8m_defconfig b/buildroot-2021.05/configs/nitrogen8m_defconfig deleted file mode 100644 index 438a0bc2..00000000 --- a/buildroot-2021.05/configs/nitrogen8m_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mq-nitrogen8m.dtb" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# DDR training binaries -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_5.4.70_2.3.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/9f6114fd.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8m" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_v2020.10 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/e05b6d68.tar.gz" -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_5.4.x_2.3.0 -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/8961f5c1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-nitrogen8m freescale/imx8mq-nitrogen8m-m4 freescale/imx8mq-nitrogen8m_som freescale/imx8mq-nitrogen8m_som-m4" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/nitrogen8mm_defconfig b/buildroot-2021.05/configs/nitrogen8mm_defconfig deleted file mode 100644 index 567636ee..00000000 --- a/buildroot-2021.05/configs/nitrogen8mm_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mm-nitrogen8mm.dtb" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# DDR training binaries -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_5.4.70_2.3.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/9f6114fd.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mm_2g" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_v2020.10 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/e05b6d68.tar.gz" -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_5.4.x_2.3.0 -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/8961f5c1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-nitrogen8mm freescale/imx8mm-nitrogen8mm-m4 freescale/imx8mm-nitrogen8mm_rev2 freescale/imx8mm-nitrogen8mm_rev2-m4 freescale/imx8mm-nitrogen8mm_som freescale/imx8mm-nitrogen8mm_som-m4" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/nitrogen8mn_defconfig b/buildroot-2021.05/configs/nitrogen8mn_defconfig deleted file mode 100644 index 71fb0e79..00000000 --- a/buildroot-2021.05/configs/nitrogen8mn_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mn-nitrogen8_nano.dtb" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# DDR training binaries -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_5.4.70_2.3.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/9f6114fd.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8_nano_8mn1gr0" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_v2020.10 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/e05b6d68.tar.gz" -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_5.4.x_2.3.0 -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/8961f5c1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-nitrogen8_nano freescale/imx8mn-nitrogen8mn freescale/imx8mn-nitrogen8mn_som" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/nitrogen8mp_defconfig b/buildroot-2021.05/configs/nitrogen8mp_defconfig deleted file mode 100644 index 14bd2672..00000000 --- a/buildroot-2021.05/configs/nitrogen8mp_defconfig +++ /dev/null @@ -1,58 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mp-nitrogen8mp.dtb" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_IMX_MKIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# DDR training binaries -BR2_PACKAGE_FREESCALE_IMX=y -BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y -BR2_PACKAGE_FIRMWARE_IMX=y - -# ARM Trusted Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_5.4.70_2.3.0 -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/9f6114fd.tar.gz" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mp_2gr0" -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_v2020.10 -BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/e05b6d68.tar.gz" -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_OPENSSL=y -BR2_TARGET_UBOOT_SPL=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -# Latest revision of branch boundary-imx_5.4.x_2.3.0 -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/8961f5c1.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="boundary" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mp-nitrogen8mp freescale/imx8mp-a0-nitrogen8mp" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/olimex_a10_olinuxino_lime_defconfig b/buildroot-2021.05/configs/olimex_a10_olinuxino_lime_defconfig deleted file mode 100644 index 0896a66d..00000000 --- a/buildroot-2021.05/configs/olimex_a10_olinuxino_lime_defconfig +++ /dev/null @@ -1,48 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a10-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a10_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a10_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.26" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun4i-a10-olinuxino-lime" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.03" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A10-OLinuXino-Lime" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a10_olinuxino/boot.cmd" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2021.05/configs/olimex_a13_olinuxino_defconfig b/buildroot-2021.05/configs/olimex_a13_olinuxino_defconfig deleted file mode 100644 index df2a7223..00000000 --- a/buildroot-2021.05/configs/olimex_a13_olinuxino_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a8=y - -# Linux headers same as kernel, a 4.11 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a13-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.05" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A13-OLinuXino" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.5" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun5i-a13-olinuxino" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a13_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a13_olinuxino/genimage.cfg" - -# Additional tools -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/olimex_a20_olinuxino_lime2_defconfig b/buildroot-2021.05/configs/olimex_a20_olinuxino_lime2_defconfig deleted file mode 100644 index 150e0a14..00000000 --- a/buildroot-2021.05/configs/olimex_a20_olinuxino_lime2_defconfig +++ /dev/null @@ -1,59 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Toolchain -# glibc is needed for sunxi-mali-mainline-package. -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.27" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-olinuxino-lime2" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# sunxi packages -BR2_PACKAGE_SUNXI_TOOLS=y -BR2_PACKAGE_SUNXI_MALI_MAINLINE=y -BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a20_olinuxino/boot.cmd" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2021.05/configs/olimex_a20_olinuxino_lime_defconfig b/buildroot-2021.05/configs/olimex_a20_olinuxino_lime_defconfig deleted file mode 100644 index 4f4a6b1f..00000000 --- a/buildroot-2021.05/configs/olimex_a20_olinuxino_lime_defconfig +++ /dev/null @@ -1,59 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Toolchain -# glibc is needed for sunxi-mali-mainline-package. -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.27" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-olinuxino-lime" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# sunxi packages -BR2_PACKAGE_SUNXI_TOOLS=y -BR2_PACKAGE_SUNXI_MALI_MAINLINE=y -BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a20_olinuxino/boot.cmd" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2021.05/configs/olimex_a20_olinuxino_micro_defconfig b/buildroot-2021.05/configs/olimex_a20_olinuxino_micro_defconfig deleted file mode 100644 index 4a2a8a4b..00000000 --- a/buildroot-2021.05/configs/olimex_a20_olinuxino_micro_defconfig +++ /dev/null @@ -1,46 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 4.12 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.12" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-olinuxino-micro" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.05" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino_MICRO" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a20_olinuxino/boot.cmd" - -# Additional tools -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2021.05/configs/olimex_a33_olinuxino_defconfig b/buildroot-2021.05/configs/olimex_a33_olinuxino_defconfig deleted file mode 100644 index 7c691ab2..00000000 --- a/buildroot-2021.05/configs/olimex_a33_olinuxino_defconfig +++ /dev/null @@ -1,50 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a7=y - -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# System configuration -BR2_TARGET_GENERIC_HOSTNAME="A33-olinuxino" -BR2_TARGET_GENERIC_ISSUE="Welcome to A33 OLinuXino!" -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Bootloaders -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A33-OLinuXino" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_BIN=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a33_olinuxino/boot.cmd" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" -BR2_LINUX_KERNEL_USE_DEFCONFIG=y -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-a33-olinuxino" -BR2_LINUX_KERNEL_INSTALL_TARGET=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a33_olinuxino/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a33_olinuxino/genimage.cfg" - -# Additional tools -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/olimex_a64_olinuxino_defconfig b/buildroot-2021.05/configs/olimex_a64_olinuxino_defconfig deleted file mode 100644 index e35c6014..00000000 --- a/buildroot-2021.05/configs/olimex_a64_olinuxino_defconfig +++ /dev/null @@ -1,50 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -# Linux headers same as kernel, a 5.0 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="a64-olinuxino" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a64-olinuxino/boot.cmd" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-olinuxino" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Olimex A64-OLinuXino" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a64-olinuxino/genimage.cfg" diff --git a/buildroot-2021.05/configs/openblocks_a6_defconfig b/buildroot-2021.05/configs/openblocks_a6_defconfig deleted file mode 100644 index c805ae9c..00000000 --- a/buildroot-2021.05/configs/openblocks_a6_defconfig +++ /dev/null @@ -1,24 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# system -BR2_TARGET_GENERIC_HOSTNAME="openblocks-a6" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" - -# filesystem -BR2_TARGET_ROOTFS_JFFS2=y -BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K=y - -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y - -# kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.13" -BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" -BR2_LINUX_KERNEL_APPENDED_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_INTREE_DTS_NAME="kirkwood-openblocks_a6" diff --git a/buildroot-2021.05/configs/orangepi_lite_defconfig b/buildroot-2021.05/configs/orangepi_lite_defconfig deleted file mode 100644 index e75943c9..00000000 --- a/buildroot-2021.05/configs/orangepi_lite_defconfig +++ /dev/null @@ -1,39 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Lite" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Lite" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.8" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-lite/linux-extras.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-lite" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_PACKAGE_RTL8189FS=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_lite" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-lite/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-lite/genimage.cfg" diff --git a/buildroot-2021.05/configs/orangepi_one_defconfig b/buildroot-2021.05/configs/orangepi_one_defconfig deleted file mode 100644 index 20b78fe7..00000000 --- a/buildroot-2021.05/configs/orangepi_one_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_One" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi One" -BR2_SYSTEM_DHCP="eth0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.8" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-one" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-one/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-one/genimage.cfg" diff --git a/buildroot-2021.05/configs/orangepi_pc_plus_defconfig b/buildroot-2021.05/configs/orangepi_pc_plus_defconfig deleted file mode 100644 index a42b380f..00000000 --- a/buildroot-2021.05/configs/orangepi_pc_plus_defconfig +++ /dev/null @@ -1,49 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC_Plus" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC Plus" -BR2_SYSTEM_DHCP="eth0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.3.8" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-pc-plus" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-pc-plus/linux-extras.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc_plus" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-pc-plus/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-pc-plus/genimage.cfg" - -# wireless driver and firmware -BR2_PACKAGE_RTL8189FS=y -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y - -# wireless tools -BR2_PACKAGE_IW=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WIRELESS_TOOLS_LIB=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y diff --git a/buildroot-2021.05/configs/orangepi_zero_defconfig b/buildroot-2021.05/configs/orangepi_zero_defconfig deleted file mode 100644 index b008523c..00000000 --- a/buildroot-2021.05/configs/orangepi_zero_defconfig +++ /dev/null @@ -1,55 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_VFPV4=y -BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero/patches" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Zero" -BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Zero" -BR2_SYSTEM_DHCP="eth0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.10" -BR2_LINUX_KERNEL_DEFCONFIG="sunxi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h2-plus-orangepi-zero" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero/linux-extras.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero/boot.cmd" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-zero/genimage.cfg" - -# wireless driver and firmware -BR2_PACKAGE_XR819_XRADIO=y -BR2_PACKAGE_ARMBIAN_FIRMWARE=y -BR2_PACKAGE_ARMBIAN_FIRMWARE_XR819=y - -# wireless support -BR2_PACKAGE_IW=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WIRELESS_TOOLS_LIB=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y - -# spi flash support -BR2_PACKAGE_MTD=y diff --git a/buildroot-2021.05/configs/orangepi_zero_plus2_defconfig b/buildroot-2021.05/configs/orangepi_zero_plus2_defconfig deleted file mode 100644 index aa4c5c94..00000000 --- a/buildroot-2021.05/configs/orangepi_zero_plus2_defconfig +++ /dev/null @@ -1,65 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y -BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-zero-plus2/rootfs_overlay" - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero_plus2" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero-plus2/boot.cmd" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.10" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-zero-plus2" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero-plus2/linux-extras.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# wireless firmware -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y - -# wireless tools -BR2_PACKAGE_IW=y -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WIRELESS_TOOLS_LIB=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y -BR2_PACKAGE_WPA_SUPPLICANT_CLI=y - -# Filesystem -BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero Plus2" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-zero-plus2/genimage.cfg" diff --git a/buildroot-2021.05/configs/pc_x86_64_bios_defconfig b/buildroot-2021.05/configs/pc_x86_64_bios_defconfig deleted file mode 100644 index 1c1f7a36..00000000 --- a/buildroot-2021.05/configs/pc_x86_64_bios_defconfig +++ /dev/null @@ -1,65 +0,0 @@ -# Architecture -BR2_x86_64=y - -# Toolchain, required for eudev (to autoload drivers) -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="tty1" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Required tools to create bootable media -BR2_PACKAGE_HOST_GENIMAGE=y - -# Bootloader -BR2_TARGET_GRUB2=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pc/genimage-bios.cfg" - -# Linux headers same as kernel, a 4.18 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.18.10" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Firmware -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y - -# Packages -# -# Use connman so that networking setup is simpler, via connmanctl tool -# acpid is for seamless power button support -BR2_PACKAGE_ACPID=y -BR2_PACKAGE_CONNMAN=y -BR2_PACKAGE_CONNMAN_CLIENT=y -BR2_PACKAGE_CONNMAN_WIFI=y diff --git a/buildroot-2021.05/configs/pc_x86_64_efi_defconfig b/buildroot-2021.05/configs/pc_x86_64_efi_defconfig deleted file mode 100644 index 984fc8f9..00000000 --- a/buildroot-2021.05/configs/pc_x86_64_efi_defconfig +++ /dev/null @@ -1,67 +0,0 @@ -# Architecture -BR2_x86_64=y - -# Toolchain, required for eudev (to autoload drivers) -BR2_TOOLCHAIN_BUILDROOT_WCHAR=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="tty1" -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - -# Required tools to create bootable media -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Bootloader -BR2_TARGET_GRUB2=y -BR2_TARGET_GRUB2_X86_64_EFI=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image-efi.sh" - -# Linux headers same as kernel, a 4.18 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.18.10" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Firmware -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y -BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y -BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y -BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y -BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y - -# Packages -# -# Use connman so that networking setup is simpler, via connmanctl tool -# acpid is for seamless power button support -BR2_PACKAGE_ACPID=y -BR2_PACKAGE_CONNMAN=y -BR2_PACKAGE_CONNMAN_CLIENT=y -BR2_PACKAGE_CONNMAN_WIFI=y diff --git a/buildroot-2021.05/configs/pcengines_apu2_defconfig b/buildroot-2021.05/configs/pcengines_apu2_defconfig deleted file mode 100644 index 68cebb8f..00000000 --- a/buildroot-2021.05/configs/pcengines_apu2_defconfig +++ /dev/null @@ -1,16 +0,0 @@ -BR2_x86_64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_TARGET_GENERIC_HOSTNAME="apu2" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.16" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pcengines/apu2/linux.config" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_ISO9660=y -BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="board/pcengines/apu2/isolinux.cfg" -BR2_TARGET_ROOTFS_ISO9660_HYBRID=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_SYSLINUX=y diff --git a/buildroot-2021.05/configs/qemu_aarch64_virt_defconfig b/buildroot-2021.05/configs/qemu_aarch64_virt_defconfig deleted file mode 100644 index aa00ddf8..00000000 --- a/buildroot-2021.05/configs/qemu_aarch64_virt_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a53=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_arm_versatile_defconfig b/buildroot-2021.05/configs/qemu_arm_versatile_defconfig deleted file mode 100644 index 10dd9e52..00000000 --- a/buildroot-2021.05/configs/qemu_arm_versatile_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="versatile-pb" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_arm_versatile_nommu_defconfig b/buildroot-2021.05/configs/qemu_arm_versatile_nommu_defconfig deleted file mode 100644 index fa783f92..00000000 --- a/buildroot-2021.05/configs/qemu_arm_versatile_nommu_defconfig +++ /dev/null @@ -1,42 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# Toolchain -BR2_PACKAGE_HOST_ELF2FLT=y -# BR2_USE_MMU is not set - -# Patches -BR2_GLOBAL_PATCH_DIR="board/qemu/arm-versatile/patches" - -# Busybox with hush -BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Filesystem -# BR2_TARGET_ROOTFS_EXT2 is not set -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arm-versatile/linux-nommu.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="versatile-pb" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_arm_vexpress_defconfig b/buildroot-2021.05/configs/qemu_arm_vexpress_defconfig deleted file mode 100644 index 20fdbb40..00000000 --- a/buildroot-2021.05/configs/qemu_arm_vexpress_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3D16=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" -# Qemu >= 5.1 requires an SD card size to be a power of 2, e.g. 64 MiB. -BR2_TARGET_ROOTFS_EXT2_SIZE="64M" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_DEFCONFIG="vexpress" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_arm_vexpress_tz_defconfig b/buildroot-2021.05/configs/qemu_arm_vexpress_tz_defconfig deleted file mode 100644 index 2f5189b8..00000000 --- a/buildroot-2021.05/configs/qemu_arm_vexpress_tz_defconfig +++ /dev/null @@ -1,64 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a15=y -BR2_ARM_FPU_VFPV3D16=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/arm-vexpress-tz/post-build.sh" - -# optee-test needs toolchain C++ -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_CPIO_GZIP=y -BR2_TARGET_ROOTFS_CPIO_UIMAGE=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Linux headers same as kernel, a 5.11 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.11.3" -BR2_LINUX_KERNEL_DEFCONFIG="vexpress" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/linux.fragment" - -# TF-A for booting OP-TEE secure and uboot/linux non secure -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BL32_RAM_LOCATION=tdram" - -# OP-TEE components -BR2_TARGET_OPTEE_OS=y -BR2_TARGET_OPTEE_OS_PLATFORM="vexpress-qemu_virt" -BR2_PACKAGE_OPTEE_BENCHMARK=y -BR2_PACKAGE_OPTEE_EXAMPLES=y -BR2_PACKAGE_OPTEE_TEST=y - -# Enable OpenSSL library for some optee-test tests -BR2_PACKAGE_OPENSSL=y -BR2_PACKAGE_LIBOPENSSL=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# U-boot for booting the dear Linux kernel -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="qemu_arm" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/u-boot.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_csky610_virt_defconfig b/buildroot-2021.05/configs/qemu_csky610_virt_defconfig deleted file mode 100644 index e7d75f5f..00000000 --- a/buildroot-2021.05/configs/qemu_csky610_virt_defconfig +++ /dev/null @@ -1,20 +0,0 @@ -# Architecture -BR2_csky=y -BR2_ck610=y - -# System -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# linux kernel header, the same version with linux kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0.12" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/csky/linux-ck610.config.fragment" diff --git a/buildroot-2021.05/configs/qemu_csky807_virt_defconfig b/buildroot-2021.05/configs/qemu_csky807_virt_defconfig deleted file mode 100644 index df12450a..00000000 --- a/buildroot-2021.05/configs/qemu_csky807_virt_defconfig +++ /dev/null @@ -1,20 +0,0 @@ -# Architecture -BR2_csky=y -BR2_ck807=y - -# System -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# linux kernel header, the same version with linux kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0.12" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/csky/linux-ck807.config.fragment" diff --git a/buildroot-2021.05/configs/qemu_csky810_virt_defconfig b/buildroot-2021.05/configs/qemu_csky810_virt_defconfig deleted file mode 100644 index dd1fd329..00000000 --- a/buildroot-2021.05/configs/qemu_csky810_virt_defconfig +++ /dev/null @@ -1,20 +0,0 @@ -# Architecture -BR2_csky=y -BR2_ck810=y - -# System -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# linux kernel header, the same version with linux kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0.12" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/csky/linux-ck810.config.fragment" diff --git a/buildroot-2021.05/configs/qemu_csky860_virt_defconfig b/buildroot-2021.05/configs/qemu_csky860_virt_defconfig deleted file mode 100644 index 6edfba4e..00000000 --- a/buildroot-2021.05/configs/qemu_csky860_virt_defconfig +++ /dev/null @@ -1,20 +0,0 @@ -# Architecture -BR2_csky=y -BR2_ck860=y - -# System -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# linux kernel header, the same version with linux kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.0.12" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/csky/linux-ck860.config.fragment" diff --git a/buildroot-2021.05/configs/qemu_m68k_mcf5208_defconfig b/buildroot-2021.05/configs/qemu_m68k_mcf5208_defconfig deleted file mode 100644 index c45a7755..00000000 --- a/buildroot-2021.05/configs/qemu_m68k_mcf5208_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# Architecture -BR2_m68k=y -BR2_m68k_cf5208=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/m68k-mcf5208/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# use minimal busybox with hush and networking tools -BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_m68k_q800_defconfig b/buildroot-2021.05/configs/qemu_m68k_q800_defconfig deleted file mode 100644 index abd0560c..00000000 --- a/buildroot-2021.05/configs/qemu_m68k_q800_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_m68k=y -BR2_m68k_68040=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/m68k-q800/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_microblazebe_mmu_defconfig b/buildroot-2021.05/configs/qemu_microblazebe_mmu_defconfig deleted file mode 100644 index 638c6629..00000000 --- a/buildroot-2021.05/configs/qemu_microblazebe_mmu_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_microblaze=y -BR2_microblazebe=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazebe-mmu/linux.config" -BR2_LINUX_KERNEL_LINUX_BIN=y -BR2_LINUX_KERNEL_PATCH="board/qemu/microblazebe-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_microblazeel_mmu_defconfig b/buildroot-2021.05/configs/qemu_microblazeel_mmu_defconfig deleted file mode 100644 index 6e62cc33..00000000 --- a/buildroot-2021.05/configs/qemu_microblazeel_mmu_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_microblaze=y -BR2_microblazeel=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazeel-mmu/linux.config" -BR2_LINUX_KERNEL_LINUX_BIN=y -BR2_LINUX_KERNEL_PATCH="board/qemu/microblazeel-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_mips32r2_malta_defconfig b/buildroot-2021.05/configs/qemu_mips32r2_malta_defconfig deleted file mode 100644 index 434e3d95..00000000 --- a/buildroot-2021.05/configs/qemu_mips32r2_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mips=y -BR2_mips_32r2=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r2-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_mips32r2el_malta_defconfig b/buildroot-2021.05/configs/qemu_mips32r2el_malta_defconfig deleted file mode 100644 index 2b8b2e8d..00000000 --- a/buildroot-2021.05/configs/qemu_mips32r2el_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mipsel=y -BR2_mips_32r2=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r2el-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_mips32r6_malta_defconfig b/buildroot-2021.05/configs/qemu_mips32r6_malta_defconfig deleted file mode 100644 index bf1306a2..00000000 --- a/buildroot-2021.05/configs/qemu_mips32r6_malta_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_mips=y -BR2_mips_32r6=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r6-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y -BR2_GLOBAL_PATCH_DIR="board/qemu/mips32r6-malta/patches" - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_mips32r6el_malta_defconfig b/buildroot-2021.05/configs/qemu_mips32r6el_malta_defconfig deleted file mode 100644 index 5edf591b..00000000 --- a/buildroot-2021.05/configs/qemu_mips32r6el_malta_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_mipsel=y -BR2_mips_32r6=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r6el-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y -BR2_GLOBAL_PATCH_DIR="board/qemu/mips32r6el-malta/patches" - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_mips64_malta_defconfig b/buildroot-2021.05/configs/qemu_mips64_malta_defconfig deleted file mode 100644 index ec841b5a..00000000 --- a/buildroot-2021.05/configs/qemu_mips64_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mips64=y -BR2_MIPS_NABI64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_mips64el_malta_defconfig b/buildroot-2021.05/configs/qemu_mips64el_malta_defconfig deleted file mode 100644 index 680ccbbd..00000000 --- a/buildroot-2021.05/configs/qemu_mips64el_malta_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_mips64el=y -BR2_MIPS_NABI64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64el-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_mips64r6_malta_defconfig b/buildroot-2021.05/configs/qemu_mips64r6_malta_defconfig deleted file mode 100644 index 53c5c097..00000000 --- a/buildroot-2021.05/configs/qemu_mips64r6_malta_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -# Architecture -BR2_mips64=y -BR2_mips_64r6=y -BR2_MIPS_NABI64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y -BR2_GLOBAL_PATCH_DIR="board/qemu/mips64r6-malta/patches" - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_mips64r6el_malta_defconfig b/buildroot-2021.05/configs/qemu_mips64r6el_malta_defconfig deleted file mode 100644 index 8230b1a9..00000000 --- a/buildroot-2021.05/configs/qemu_mips64r6el_malta_defconfig +++ /dev/null @@ -1,35 +0,0 @@ -# Architecture -BR2_mips64el=y -BR2_mips_64r6=y -BR2_MIPS_NABI64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6el-malta/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y -BR2_GLOBAL_PATCH_DIR="board/qemu/mips64r6el-malta/patches" - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_nios2_10m50_defconfig b/buildroot-2021.05/configs/qemu_nios2_10m50_defconfig deleted file mode 100644 index d562e941..00000000 --- a/buildroot-2021.05/configs/qemu_nios2_10m50_defconfig +++ /dev/null @@ -1,21 +0,0 @@ -BR2_nios2=y -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_DEFCONFIG="10m50" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/nios2-10m50/linux.fragment" -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_or1k_defconfig b/buildroot-2021.05/configs/qemu_or1k_defconfig deleted file mode 100644 index 21d86e22..00000000 --- a/buildroot-2021.05/configs/qemu_or1k_defconfig +++ /dev/null @@ -1,24 +0,0 @@ -# Architecture -BR2_or1k=y - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/or1k/linux.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_ppc64_e5500_defconfig b/buildroot-2021.05/configs/qemu_ppc64_e5500_defconfig deleted file mode 100644 index dace0af8..00000000 --- a/buildroot-2021.05/configs/qemu_ppc64_e5500_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_powerpc64=y -BR2_powerpc_e5500=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as the kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_DEFCONFIG="corenet64_smp" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc64-e5500/linux.fragment" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_ppc64_pseries_defconfig b/buildroot-2021.05/configs/qemu_ppc64_pseries_defconfig deleted file mode 100644 index 4ce116e2..00000000 --- a/buildroot-2021.05/configs/qemu_ppc64_pseries_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_powerpc64=y -BR2_powerpc_power7=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="hvc0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_DEFCONFIG="pseries" -BR2_LINUX_KERNEL_VMLINUX=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_ppc64le_pseries_defconfig b/buildroot-2021.05/configs/qemu_ppc64le_pseries_defconfig deleted file mode 100644 index 3be9de74..00000000 --- a/buildroot-2021.05/configs/qemu_ppc64le_pseries_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_powerpc64le=y -BR2_powerpc_power8=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="hvc0" -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_DEFCONFIG="pseries_le" -BR2_LINUX_KERNEL_VMLINUX=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_ppc_e500mc_defconfig b/buildroot-2021.05/configs/qemu_ppc_e500mc_defconfig deleted file mode 100644 index 69fc8dbc..00000000 --- a/buildroot-2021.05/configs/qemu_ppc_e500mc_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_e500mc=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as the kernel -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_DEFCONFIG="corenet32_smp" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-e500mc/linux.fragment" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_ppc_g3beige_defconfig b/buildroot-2021.05/configs/qemu_ppc_g3beige_defconfig deleted file mode 100644 index 6e41afe8..00000000 --- a/buildroot-2021.05/configs/qemu_ppc_g3beige_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_750=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/ppc-g3beige/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_ppc_mac99_defconfig b/buildroot-2021.05/configs/qemu_ppc_mac99_defconfig deleted file mode 100644 index a1e9c1a5..00000000 --- a/buildroot-2021.05/configs/qemu_ppc_mac99_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_7400=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_DEFCONFIG="pmac32" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-mac99/linux.fragment" -BR2_LINUX_KERNEL_VMLINUX=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Filesystem -BR2_TARGET_ROOTFS_CPIO=y -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_ppc_mpc8544ds_defconfig b/buildroot-2021.05/configs/qemu_ppc_mpc8544ds_defconfig deleted file mode 100644 index 55e6db5a..00000000 --- a/buildroot-2021.05/configs/qemu_ppc_mpc8544ds_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -# Architecture -BR2_powerpc=y -BR2_powerpc_8548=y - -# System -BR2_GLOBAL_PATCH_DIR="board/qemu/ppc-mpc8544ds/patches" -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/ppc-mpc8544ds/linux.config" -BR2_LINUX_KERNEL_VMLINUX=y - -# Serial port config -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_riscv32_virt_defconfig b/buildroot-2021.05/configs/qemu_riscv32_virt_defconfig deleted file mode 100644 index 10420889..00000000 --- a/buildroot-2021.05/configs/qemu_riscv32_virt_defconfig +++ /dev/null @@ -1,32 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_32=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_DEFCONFIG="rv32" -BR2_LINUX_KERNEL_IMAGE=y - -# Bootloader -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_PLAT="generic" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_riscv64_virt_defconfig b/buildroot-2021.05/configs/qemu_riscv64_virt_defconfig deleted file mode 100644 index 93d38b1e..00000000 --- a/buildroot-2021.05/configs/qemu_riscv64_virt_defconfig +++ /dev/null @@ -1,32 +0,0 @@ -# Architecture -BR2_riscv=y -BR2_RISCV_64=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY=y - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_IMAGE=y - -# Bootloader -BR2_TARGET_OPENSBI=y -BR2_TARGET_OPENSBI_PLAT="generic" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_s390x_defconfig b/buildroot-2021.05/configs/qemu_s390x_defconfig deleted file mode 100644 index 4aed9d9a..00000000 --- a/buildroot-2021.05/configs/qemu_s390x_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -# Architecture -BR2_s390x=y - -# System -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_GLOBAL_PATCH_DIR="board/qemu/s390x/patches" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_sh4_r2d_defconfig b/buildroot-2021.05/configs/qemu_sh4_r2d_defconfig deleted file mode 100644 index a14277dd..00000000 --- a/buildroot-2021.05/configs/qemu_sh4_r2d_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_sh=y -BR2_sh4=y - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttySC1" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Linux kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux.config" -BR2_LINUX_KERNEL_ZIMAGE=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_sh4eb_r2d_defconfig b/buildroot-2021.05/configs/qemu_sh4eb_r2d_defconfig deleted file mode 100644 index 4911ba03..00000000 --- a/buildroot-2021.05/configs/qemu_sh4eb_r2d_defconfig +++ /dev/null @@ -1,29 +0,0 @@ -# Architecture -BR2_sh=y -BR2_sh4eb=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttySC1" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Linux kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4eb-r2d/linux.config" -BR2_LINUX_KERNEL_ZIMAGE=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_sparc64_sun4u_defconfig b/buildroot-2021.05/configs/qemu_sparc64_sun4u_defconfig deleted file mode 100644 index cff0c296..00000000 --- a/buildroot-2021.05/configs/qemu_sparc64_sun4u_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -# Architecture -BR2_sparc64=y -BR2_sparc_v9=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Linux kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc64-sun4u/linux.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_sparc_ss10_defconfig b/buildroot-2021.05/configs/qemu_sparc_ss10_defconfig deleted file mode 100644 index 0181f168..00000000 --- a/buildroot-2021.05/configs/qemu_sparc_ss10_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -# Architecture -BR2_sparc=y -BR2_sparc_v8=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Linux kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc-ss10/linux.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_x86_64_defconfig b/buildroot-2021.05/configs/qemu_x86_64_defconfig deleted file mode 100644 index 25e0d43f..00000000 --- a/buildroot-2021.05/configs/qemu_x86_64_defconfig +++ /dev/null @@ -1,30 +0,0 @@ -# Architecture -BR2_x86_64=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/x86_64/post-build.sh" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_x86_defconfig b/buildroot-2021.05/configs/qemu_x86_defconfig deleted file mode 100644 index bcd325b7..00000000 --- a/buildroot-2021.05/configs/qemu_x86_defconfig +++ /dev/null @@ -1,31 +0,0 @@ -# Architecture -BR2_i386=y -BR2_x86_pentiumpro=y - -# System -BR2_SYSTEM_DHCP="eth0" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/x86/post-build.sh" - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux.config" - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_xtensa_lx60_defconfig b/buildroot-2021.05/configs/qemu_xtensa_lx60_defconfig deleted file mode 100644 index 50c1c4cc..00000000 --- a/buildroot-2021.05/configs/qemu_xtensa_lx60_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -# Architecture -BR2_xtensa=y -BR2_XTENSA_CUSTOM=y -BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/95291b7c39e6f790d0b2f062c945a630290f2c81/overlays/xtensa_dc233c.tar.gz" - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf" -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/qemu_xtensa_lx60_nommu_defconfig b/buildroot-2021.05/configs/qemu_xtensa_lx60_nommu_defconfig deleted file mode 100644 index baf72da9..00000000 --- a/buildroot-2021.05/configs/qemu_xtensa_lx60_nommu_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -# Architecture -BR2_xtensa=y -BR2_XTENSA_CUSTOM=y -BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/95291b7c39e6f790d0b2f062c945a630290f2c81/overlays/xtensa_dc233c.tar.gz" - -# Toolchain -BR2_PACKAGE_HOST_ELF2FLT=y -# BR2_USE_MMU is not set - -# System -BR2_SYSTEM_DHCP="eth0" -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - -# Filesystem -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Image -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-nommu.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf" -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" - -# Kernel needs mkimage -BR2_PACKAGE_HOST_UBOOT_TOOLS=y - -# host-qemu for gitlab testing -BR2_PACKAGE_HOST_QEMU=y -BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2021.05/configs/raspberrypi0_defconfig b/buildroot-2021.05/configs/raspberrypi0_defconfig deleted file mode 100644 index 5ca003cb..00000000 --- a/buildroot-2021.05/configs/raspberrypi0_defconfig +++ /dev/null @@ -1,36 +0,0 @@ -BR2_arm=y -BR2_arm1176jzf_s=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" - -# Build the DTBs for A/B from the kernel sources: the zero is the same -# as the A+ model, just in a different form-factor -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0/post-image.sh" diff --git a/buildroot-2021.05/configs/raspberrypi0w_defconfig b/buildroot-2021.05/configs/raspberrypi0w_defconfig deleted file mode 100644 index bced6c5d..00000000 --- a/buildroot-2021.05/configs/raspberrypi0w_defconfig +++ /dev/null @@ -1,32 +0,0 @@ -BR2_arm=y -BR2_arm1176jzf_s=y -BR2_ARM_EABIHF=y - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0w/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0w/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay" diff --git a/buildroot-2021.05/configs/raspberrypi2_defconfig b/buildroot-2021.05/configs/raspberrypi2_defconfig deleted file mode 100644 index 47807688..00000000 --- a/buildroot-2021.05/configs/raspberrypi2_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_EABIHF=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2709-rpi-2-b" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi2/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi2/post-image.sh" diff --git a/buildroot-2021.05/configs/raspberrypi3_64_defconfig b/buildroot-2021.05/configs/raspberrypi3_64_defconfig deleted file mode 100644 index 3be53b6c..00000000 --- a/buildroot-2021.05/configs/raspberrypi3_64_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a53=y -BR2_ARM_FPU_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2837-rpi-3-b" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="--aarch64 --add-miniuart-bt-overlay" diff --git a/buildroot-2021.05/configs/raspberrypi3_defconfig b/buildroot-2021.05/configs/raspberrypi3_defconfig deleted file mode 100644 index 74f5a236..00000000 --- a/buildroot-2021.05/configs/raspberrypi3_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -BR2_arm=y -BR2_cortex_a53=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay" diff --git a/buildroot-2021.05/configs/raspberrypi3_qt5we_defconfig b/buildroot-2021.05/configs/raspberrypi3_qt5we_defconfig deleted file mode 100644 index 1e906143..00000000 --- a/buildroot-2021.05/configs/raspberrypi3_qt5we_defconfig +++ /dev/null @@ -1,51 +0,0 @@ -BR2_arm=y -BR2_cortex_a53=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Build Qt5 WebEngine -BR2_PACKAGE_LIBERATION=y -BR2_PACKAGE_QT5=y -BR2_PACKAGE_QT5BASE_EXAMPLES=y -BR2_PACKAGE_QT5BASE_GIF=y -BR2_PACKAGE_QT5BASE_JPEG=y -BR2_PACKAGE_QT5BASE_PNG=y -BR2_PACKAGE_QT5WEBENGINE=y -BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS=y -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_USERLAND=y -BR2_PACKAGE_CA_CERTIFICATES=y -BR2_PACKAGE_NTP=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="400M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay --gpu_mem_1024=200" diff --git a/buildroot-2021.05/configs/raspberrypi4_64_defconfig b/buildroot-2021.05/configs/raspberrypi4_64_defconfig deleted file mode 100644 index 16777bce..00000000 --- a/buildroot-2021.05/configs/raspberrypi4_64_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -BR2_aarch64=y -BR2_cortex_a72=y -BR2_ARM_FPU_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay --aarch64" diff --git a/buildroot-2021.05/configs/raspberrypi4_defconfig b/buildroot-2021.05/configs/raspberrypi4_defconfig deleted file mode 100644 index 139bed0c..00000000 --- a/buildroot-2021.05/configs/raspberrypi4_defconfig +++ /dev/null @@ -1,38 +0,0 @@ -BR2_arm=y -BR2_cortex_a72=y -BR2_ARM_FPU_NEON_VFPV4=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" - -# Build the DTB from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2711-rpi-4-b" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4/post-image.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="--add-miniuart-bt-overlay" diff --git a/buildroot-2021.05/configs/raspberrypi_defconfig b/buildroot-2021.05/configs/raspberrypi_defconfig deleted file mode 100644 index de1248f3..00000000 --- a/buildroot-2021.05/configs/raspberrypi_defconfig +++ /dev/null @@ -1,37 +0,0 @@ -BR2_arm=y -BR2_arm1176jzf_s=y -BR2_ARM_EABIHF=y - -BR2_SYSTEM_DHCP="eth0" - -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y - -BR2_TOOLCHAIN_BUILDROOT_CXX=y - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,b657cd2f27d9171b75c846f21e7b4bb581b3ed29)/linux-b657cd2f27d9171b75c846f21e7b4bb581b3ed29.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" - -# Build the DTBs for A/B, A+/B+ and compute module from the kernel sources -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm" - -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -BR2_PACKAGE_RPI_FIRMWARE=y -# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y - -# Filesystem / image -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi/post-image.sh" diff --git a/buildroot-2021.05/configs/roc_pc_rk3399_defconfig b/buildroot-2021.05/configs/roc_pc_rk3399_defconfig deleted file mode 100644 index dfbc5e4f..00000000 --- a/buildroot-2021.05/configs/roc_pc_rk3399_defconfig +++ /dev/null @@ -1,55 +0,0 @@ -# Architecture -BR2_aarch64=y -BR2_cortex_a72_a53=y - -# Linux headers same as kernel, a 5.4 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y - -# Firmware -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="11a0a46a899fcc3b1fdb214b382f3d7495d88eca" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="" - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="roc-pc-rk3399" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.18" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-roc-pc" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Filesystem -BR2_TARGET_GENERIC_HOSTNAME="roc-rk3399-pc" -BR2_TARGET_GENERIC_ISSUE="Welcome to ROC-RK3399-PC!" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="64M" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/firefly/roc-rk3399-pc/genimage.cfg" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/firefly/roc-rk3399-pc/post-build.sh" diff --git a/buildroot-2021.05/configs/rock64_defconfig b/buildroot-2021.05/configs/rock64_defconfig deleted file mode 100644 index a9d29a42..00000000 --- a/buildroot-2021.05/configs/rock64_defconfig +++ /dev/null @@ -1,40 +0,0 @@ -BR2_aarch64=y -BR2_GLOBAL_PATCH_DIR="board/pine64/rock64/patches" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/pine64/rock64/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/rock64/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.19" -BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3328-rock64" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="128M" -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3328" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="bl31/*.elf" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/ayufan-rock64/linux-mainline-u-boot.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="release-2020-07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rock64-rk3328" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_NEEDS_PYTHON3=y -BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y -BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM=y -BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin tpl/u-boot-tpl.bin" -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2021.05/configs/roseapplepi_defconfig b/buildroot-2021.05/configs/roseapplepi_defconfig deleted file mode 100644 index 2af94d01..00000000 --- a/buildroot-2021.05/configs/roseapplepi_defconfig +++ /dev/null @@ -1,41 +0,0 @@ -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_GLOBAL_PATCH_DIR="board/roseapplepi/patches" -# Linux headers same as kernel, a 5.10 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/roseapplepi/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/roseapplepi/genimage.cfg" - -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.1" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/roseapplepi/linux.config" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="owl-s500-roseapplepi" - -# Filesystem / image -BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set - -# Bootloaders -BR2_TARGET_S500_BOOTLOADER=y -BR2_TARGET_S500_BOOTLOADER_BOARD="linux/bubble_gum_sd" -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/xapp-le/u-boot.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="a035d2673a90143a1a74557503b2e137b1447ae6" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="actduino_bubble_gum_v10" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/sheevaplug_defconfig b/buildroot-2021.05/configs/sheevaplug_defconfig deleted file mode 100644 index 052e3939..00000000 --- a/buildroot-2021.05/configs/sheevaplug_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -# Architecture -BR2_arm=y -BR2_arm926t=y - -# system -BR2_TARGET_GENERIC_GETTY=y -BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" -BR2_SYSTEM_DHCP="eth0" - -# filesystem -BR2_TARGET_ROOTFS_JFFS2=y -BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y - -# Linux headers same as kernel, a 4.14 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y - -# bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sheevaplug" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07" -BR2_TARGET_UBOOT_FORMAT_KWB=y -# BR2_TARGET_UBOOT_NETWORK is not set - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.63" -BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" -BR2_LINUX_KERNEL_APPENDED_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" -BR2_LINUX_KERNEL_INTREE_DTS_NAME="kirkwood-sheevaplug" diff --git a/buildroot-2021.05/configs/snps_aarch64_vdk_defconfig b/buildroot-2021.05/configs/snps_aarch64_vdk_defconfig deleted file mode 100644 index b55dce1a..00000000 --- a/buildroot-2021.05/configs/snps_aarch64_vdk_defconfig +++ /dev/null @@ -1,12 +0,0 @@ -BR2_aarch64=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6=y -BR2_TARGET_GENERIC_HOSTNAME="vdk-buildroot" -BR2_TARGET_GENERIC_ISSUE="Welcome to SNPS VDK by Buildroot" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.6" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/synopsys/vdk/linux-vdk-aarch64-defconfig" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set diff --git a/buildroot-2021.05/configs/snps_arc700_axs101_defconfig b/buildroot-2021.05/configs/snps_arc700_axs101_defconfig deleted file mode 100644 index 080250e9..00000000 --- a/buildroot-2021.05/configs/snps_arc700_axs101_defconfig +++ /dev/null @@ -1,27 +0,0 @@ -# Architecture -BR2_arcle=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="axs101" -BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform" -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh" - -# Linux headers same as kernel, a 5.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="axs101" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.05" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="axs101" -BR2_TARGET_UBOOT_NEEDS_DTC=y diff --git a/buildroot-2021.05/configs/snps_archs38_axs103_defconfig b/buildroot-2021.05/configs/snps_archs38_axs103_defconfig deleted file mode 100644 index c5847809..00000000 --- a/buildroot-2021.05/configs/snps_archs38_axs103_defconfig +++ /dev/null @@ -1,28 +0,0 @@ -# Architecture -BR2_arcle=y -BR2_archs38=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="axs103" -BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform" -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh" - -# Linux headers same as kernel, a 5.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="axs103_smp" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.05" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="axs103" -BR2_TARGET_UBOOT_NEEDS_DTC=y diff --git a/buildroot-2021.05/configs/snps_archs38_haps_defconfig b/buildroot-2021.05/configs/snps_archs38_haps_defconfig deleted file mode 100644 index a95d760d..00000000 --- a/buildroot-2021.05/configs/snps_archs38_haps_defconfig +++ /dev/null @@ -1,18 +0,0 @@ -# Architecture -BR2_arcle=y -BR2_archs38=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="zebu_hs" -BR2_TARGET_GENERIC_ISSUE="Welcome to the HAPS Development Platform" -BR2_TARGET_ROOTFS_INITRAMFS=y - -# Linux headers same as kernel, a 5.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="haps_hs_smp" -BR2_LINUX_KERNEL_VMLINUX=y diff --git a/buildroot-2021.05/configs/snps_archs38_hsdk_defconfig b/buildroot-2021.05/configs/snps_archs38_hsdk_defconfig deleted file mode 100644 index 4a1ac3fc..00000000 --- a/buildroot-2021.05/configs/snps_archs38_hsdk_defconfig +++ /dev/null @@ -1,33 +0,0 @@ -BR2_arcle=y -BR2_archs38_full=y -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y -BR2_PACKAGE_GLIBC_UTILS=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all" -BR2_TARGET_GENERIC_HOSTNAME="hsdk" -BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform" -BR2_SYSTEM_DHCP="eth0" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/synopsys/hsdk/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="hsdk" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/synopsys/hsdk/linux.fragment" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.05" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="hsdk" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_FORMAT_ELF=y -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/synopsys/hsdk/uboot.env.txt" -BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" diff --git a/buildroot-2021.05/configs/snps_archs38_vdk_defconfig b/buildroot-2021.05/configs/snps_archs38_vdk_defconfig deleted file mode 100644 index 8d8e9f75..00000000 --- a/buildroot-2021.05/configs/snps_archs38_vdk_defconfig +++ /dev/null @@ -1,20 +0,0 @@ -# Architecture -BR2_arcle=y -BR2_archs38=y - -# System -BR2_TARGET_GENERIC_HOSTNAME="archs38_vdk" -BR2_TARGET_GENERIC_ISSUE="Welcome to the HS38 VDK Software Development Platform" -BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh" -BR2_TARGET_ROOTFS_EXT2=y - -# Linux headers same as kernel, a 5.6 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6=y - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.6.3" -BR2_LINUX_KERNEL_DEFCONFIG="vdk_hs38_smp" -BR2_LINUX_KERNEL_VMLINUX=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/stm32f429_disco_defconfig b/buildroot-2021.05/configs/stm32f429_disco_defconfig deleted file mode 100644 index 2c0641a6..00000000 --- a/buildroot-2021.05/configs/stm32f429_disco_defconfig +++ /dev/null @@ -1,18 +0,0 @@ -BR2_arm=y -BR2_cortex_m4=y -BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f429-disco/patches" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11" -BR2_LINUX_KERNEL_DEFCONFIG="stm32" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="xipImage" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f429-disco" -BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" -BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_AFBOOT_STM32=y -BR2_PACKAGE_HOST_OPENOCD=y diff --git a/buildroot-2021.05/configs/stm32f469_disco_defconfig b/buildroot-2021.05/configs/stm32f469_disco_defconfig deleted file mode 100644 index 9760d518..00000000 --- a/buildroot-2021.05/configs/stm32f469_disco_defconfig +++ /dev/null @@ -1,19 +0,0 @@ -BR2_arm=y -BR2_cortex_m4=y -BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f469-disco/patches" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11=y -BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11" -BR2_LINUX_KERNEL_DEFCONFIG="stm32" -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/dram_0x00000000.config" -BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y -BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="xipImage" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f469-disco" -BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" -BR2_TARGET_ROOTFS_INITRAMFS=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_AFBOOT_STM32=y -BR2_PACKAGE_HOST_OPENOCD=y diff --git a/buildroot-2021.05/configs/stm32mp157a_dk1_defconfig b/buildroot-2021.05/configs/stm32mp157a_dk1_defconfig deleted file mode 100644 index 6883aaba..00000000 --- a/buildroot-2021.05/configs/stm32mp157a_dk1_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y -BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157a-dk1/linux.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157a-dk1" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-dk1.dtb" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/stm32mp157a-dk1/uboot-fragment.config" -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_STM32=y -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157a-dk1" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2021.05/configs/stm32mp157c_dk2_defconfig b/buildroot-2021.05/configs/stm32mp157c_dk2_defconfig deleted file mode 100644 index 50d87574..00000000 --- a/buildroot-2021.05/configs/stm32mp157c_dk2_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -BR2_arm=y -BR2_cortex_a7=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y -BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/" -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13" -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-dk2" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_TARGET_ROOTFS_EXT2_SIZE="120M" -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-dk2.dtb" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" -BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/stmicroelectronics/stm32mp157c-dk2/uboot-fragment.config" -# BR2_TARGET_UBOOT_FORMAT_BIN is not set -BR2_TARGET_UBOOT_FORMAT_STM32=y -BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-dk2" -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2021.05/configs/ts7680_defconfig b/buildroot-2021.05/configs/ts7680_defconfig deleted file mode 100644 index 7eb57ab1..00000000 --- a/buildroot-2021.05/configs/ts7680_defconfig +++ /dev/null @@ -1,16 +0,0 @@ -BR2_arm=y -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/technologic/ts7680/genimage.cfg" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL=y -BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,embeddedarm,linux-4.9.y,d03d426e6abd95a973bc669315206295713c17e8)/linux-d03d426e6abd95a973bc669315206295713c17e8.tar.gz" -BR2_LINUX_KERNEL_DEFCONFIG="ts_imx28" -BR2_LINUX_KERNEL_UIMAGE=y -BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-ts7680" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2021.05/configs/wandboard_defconfig b/buildroot-2021.05/configs/wandboard_defconfig deleted file mode 100644 index 7915248c..00000000 --- a/buildroot-2021.05/configs/wandboard_defconfig +++ /dev/null @@ -1,47 +0,0 @@ -# Architecture -BR2_arm=y -BR2_cortex_a9=y -BR2_ARM_ENABLE_NEON=y -BR2_ARM_ENABLE_VFP=y -BR2_ARM_FPU_VFPV3=y - -# Linux headers same as kernel, a 5.12 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y - -# System -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# Image -BR2_ROOTFS_POST_BUILD_SCRIPT="board/wandboard/post-build.sh" -BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" -BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/wandboard/genimage.cfg" - -# Filesystem -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# Bootloader -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="wandboard" -BR2_TARGET_UBOOT_FORMAT_IMG=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="SPL" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-wandboard imx6dl-wandboard imx6q-wandboard-revb1 imx6dl-wandboard-revb1 imx6q-wandboard-revd1 imx6dl-wandboard-revd1 imx6qp-wandboard-revd1" -BR2_LINUX_KERNEL_INSTALL_TARGET=y -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# Required tools to create the SD image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y -BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2021.05/configs/warp7_defconfig b/buildroot-2021.05/configs/warp7_defconfig deleted file mode 100644 index 5f9d9736..00000000 --- a/buildroot-2021.05/configs/warp7_defconfig +++ /dev/null @@ -1,51 +0,0 @@ -# architecture -BR2_arm=y -BR2_cortex_a7=y -BR2_ARM_FPU_NEON_VFPV4=y - -# Linux headers same as kernel, a 5.8 series -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8=y - -# system -BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" - -# rootfs overlay -BR2_ROOTFS_OVERLAY="board/warp7/rootfs_overlay" - -# Kernel -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_VERSION=y -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.8.13" -BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7s-warp" -BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y - -# U-Boot -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BOARDNAME="warp7" -BR2_TARGET_UBOOT_CUSTOM_VERSION=y -BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" -BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y - -# wifi firmware for brcm43430 -BR2_PACKAGE_LINUX_FIRMWARE=y -BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y - -# For automatic firmware loading -BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y - -# wireless packages -BR2_PACKAGE_WIRELESS_TOOLS=y -BR2_PACKAGE_WPA_SUPPLICANT=y -BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y - -# Filesystem -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y - -# required tools to create the eMMC image -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/zynqmp_zcu106_defconfig b/buildroot-2021.05/configs/zynqmp_zcu106_defconfig deleted file mode 100644 index bee7c1da..00000000 --- a/buildroot-2021.05/configs/zynqmp_zcu106_defconfig +++ /dev/null @@ -1,34 +0,0 @@ -BR2_aarch64=y -BR2_GLOBAL_PATCH_DIR="board/zynqmp/patches/" -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y -BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" -BR2_LINUX_KERNEL=y -BR2_LINUX_KERNEL_CUSTOM_GIT=y -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git" -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2017.4" -BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynqmp" -BR2_LINUX_KERNEL_DTS_SUPPORT=y -BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-zcu106-revA" -BR2_TARGET_ROOTFS_EXT2=y -BR2_TARGET_ROOTFS_EXT2_4=y -# BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_ARM_TRUSTED_FIRMWARE=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v1.5" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" -BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y -BR2_TARGET_UBOOT=y -BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y -BR2_TARGET_UBOOT_CUSTOM_GIT=y -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/xilinx/u-boot-xlnx.git" -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="228801a215909365ae1dcdd799034195ad7264f7" -BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_zcu106_revA" -BR2_TARGET_UBOOT_NEEDS_DTC=y -BR2_TARGET_UBOOT_SPL=y -BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" -BR2_TARGET_UBOOT_ZYNQMP=y -BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/lucaceresoli/zynqmp-pmufw-binaries/raw/53fdb7b6c92860ceb0ec5fd14deee302f4a84269/bin/pmufw-zcu106-default-v2017.4.bin" -BR2_PACKAGE_HOST_DOSFSTOOLS=y -BR2_PACKAGE_HOST_GENIMAGE=y -BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/docs/conf/asciidoc-text.conf b/buildroot-2021.05/docs/conf/asciidoc-text.conf deleted file mode 100644 index 470bdecf..00000000 --- a/buildroot-2021.05/docs/conf/asciidoc-text.conf +++ /dev/null @@ -1,23 +0,0 @@ -# Refer to following asciidoc documentation: -# http://www.methods.co.nz/asciidoc/userguide.html -# In particular sections "Macros" and "Attribute References" -# -# For hyperlinks, show 'link text [URL]' (if link text provided) or 'URL' -[http-inlinemacro] -{0=}{0? [}{name}:{target}{0?]} -[https-inlinemacro] -{0=}{0? [}{name}:{target}{0?]} -[ftp-inlinemacro] -{0=}{0? [}{name}:{target}{0?]} -[file-inlinemacro] -{0=}{0? [}{name}:{target}{0?]} -[irc-inlinemacro] -{0=}{0? [}{name}:{target}{0?]} -[mailto-inlinemacro] -{0=}{0? [}{name}:{target}{0?]} - -# Hide image representation from text manual -[image-inlinemacro] -{empty} -[image-blockmacro] -{empty} diff --git a/buildroot-2021.05/docs/manual/adding-board-support.txt b/buildroot-2021.05/docs/manual/adding-board-support.txt deleted file mode 100644 index 33ed7095..00000000 --- a/buildroot-2021.05/docs/manual/adding-board-support.txt +++ /dev/null @@ -1,48 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -[[adding-board-support]] -== Adding support for a particular board - -Buildroot contains basic configurations for several publicly available -hardware boards, so that users of such a board can easily build a system -that is known to work. You are welcome to add support for other boards -to Buildroot too. - -To do so, you need to create a normal Buildroot configuration that -builds a basic system for the hardware: (internal) toolchain, kernel, -bootloader, filesystem and a simple BusyBox-only userspace. No specific -package should be selected: the configuration should be as minimal as -possible, and should only build a working basic BusyBox system for the -target platform. You can of course use more complicated configurations -for your internal projects, but the Buildroot project will only -integrate basic board configurations. This is because package -selections are highly application-specific. - -Once you have a known working configuration, run +make -savedefconfig+. This will generate a minimal +defconfig+ file at the -root of the Buildroot source tree. Move this file into the +configs/+ -directory, and rename it +_defconfig+. If the configuration -is a bit more complicated, it is nice to manually reformat it and -separate it into sections, with a comment before each section. Typical -sections are _Architecture_, _Toolchain options_ (typically just linux -headers version), _Firmware_, _Bootloader_, _Kernel_, and _Filesystem_. - -Always use fixed versions or commit hashes for the different -components, not the "latest" version. For example, set -+BR2_LINUX_KERNEL_CUSTOM_VERSION=y+ and -+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE+ to the kernel version you tested -with. - -It is recommended to use as much as possible upstream versions of the -Linux kernel and bootloaders, and to use as much as possible default -kernel and bootloader configurations. If they are incorrect for your -board, or no default exists, we encourage you to send fixes to the -corresponding upstream projects. - -However, in the mean time, you may want to store kernel or bootloader -configuration or patches specific to your target platform. To do so, -create a directory +board/+ and a subdirectory -+board//+. You can then store your patches -and configurations in these directories, and reference them from the main -Buildroot configuration. Refer to xref:customize[] for more details. diff --git a/buildroot-2021.05/docs/manual/adding-packages-asciidoc.txt b/buildroot-2021.05/docs/manual/adding-packages-asciidoc.txt deleted file mode 100644 index f9688b36..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-asciidoc.txt +++ /dev/null @@ -1,122 +0,0 @@ -// -*- mode:doc; -*- -// vim: syntax=asciidoc - -=== Infrastructure for asciidoc documents - -[[asciidoc-documents-tutorial]] - -The Buildroot manual, which you are currently reading, is entirely written -using the http://asciidoc.org/[AsciiDoc] mark-up syntax. The manual is then -rendered to many formats: - -* html -* split-html -* pdf -* epub -* text - -Although Buildroot only contains one document written in AsciiDoc, there -is, as for packages, an infrastructure for rendering documents using the -AsciiDoc syntax. - -Also as for packages, the AsciiDoc infrastructure is available from a -xref:outside-br-custom[br2-external tree]. This allows documentation for -a br2-external tree to match the Buildroot documentation, as it will be -rendered to the same formats and use the same layout and theme. - -==== +asciidoc-document+ tutorial - -Whereas package infrastructures are suffixed with +-package+, the document -infrastructures are suffixed with +-document+. So, the AsciiDoc infrastructure -is named +asciidoc-document+. - -Here is an example to render a simple AsciiDoc document. - ----- -01: ################################################################################ -02: # -03: # foo-document -04: # -05: ################################################################################ -06: -07: FOO_SOURCES = $(sort $(wildcard $(pkgdir)/*)) -08: $(eval $(call asciidoc-document)) ----- - -On line 7, the Makefile declares what the sources of the document are. -Currently, it is expected that the document's sources are only local; -Buildroot will not attempt to download anything to render a document. -Thus, you must indicate where the sources are. Usually, the string -above is sufficient for a document with no sub-directory structure. - -On line 8, we call the +asciidoc-document+ function, which generates all -the Makefile code necessary to render the document. - -==== +asciidoc-document+ reference - -The list of variables that can be set in a +.mk+ file to give metadata -information is (assuming the document name is +foo+) : - -* +FOO_SOURCES+, mandatory, defines the source files for the document. - -* +FOO_RESOURCES+, optional, may contain a space-separated list of paths - to one or more directories containing so-called resources (like CSS or - images). By default, empty. - -* +FOO_DEPENDENCIES+, optional, the list of packages (most probably, - host-packages) that must be built before building this document. - -There are also additional hooks (see xref:hooks[] for general information -on hooks), that a document may set to define extra actions to be done at -various steps: - -* +FOO_POST_RSYNC_HOOKS+ to run additional commands after the sources - have been copied by Buildroot. This can for example be used to - generate part of the manual with information extracted from the - tree. As an example, Buildroot uses this hook to generate the tables - in the appendices. - -* +FOO_CHECK_DEPENDENCIES_HOOKS+ to run additional tests on required - components to generate the document. In AsciiDoc, it is possible to - call filters, that is, programs that will parse an AsciiDoc block and - render it appropriately (e.g. http://ditaa.sourceforge.net/[ditaa] or - https://pythonhosted.org/aafigure/[aafigure]). - -* +FOO_CHECK_DEPENDENCIES__HOOKS+, to run additional tests for - the specified format ++ (see the list of rendered formats, above). - -Here is a complete example that uses all variables and all hooks: - ----- -01: ################################################################################ -02: # -03: # foo-document -04: # -05: ################################################################################ -06: -07: FOO_SOURCES = $(sort $(wildcard $(pkgdir)/*)) -08: FOO_RESOURCES = $(sort $(wildcard $(pkgdir)/ressources)) -09: -10: define FOO_GEN_EXTRA_DOC -11: /path/to/generate-script --outdir=$(@D) -12: endef -13: FOO_POST_RSYNC_HOOKS += FOO_GEN_EXTRA_DOC -14: -15: define FOO_CHECK_MY_PROG -16: if ! which my-prog >/dev/null 2>&1; then \ -17: echo "You need my-prog to generate the foo document"; \ -18: exit 1; \ -19: fi -20: endef -21: FOO_CHECK_DEPENDENCIES_HOOKS += FOO_CHECK_MY_PROG -22: -23: define FOO_CHECK_MY_OTHER_PROG -24: if ! which my-other-prog >/dev/null 2>&1; then \ -25: echo "You need my-other-prog to generate the foo document as PDF"; \ -26: exit 1; \ -27: fi -28: endef -29: FOO_CHECK_DEPENDENCIES_PDF_HOOKS += FOO_CHECK_MY_OTHER_PROG -30: -31: $(eval $(call asciidoc-document)) ----- diff --git a/buildroot-2021.05/docs/manual/adding-packages-cargo.txt b/buildroot-2021.05/docs/manual/adding-packages-cargo.txt deleted file mode 100644 index 8fcc80bc..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-cargo.txt +++ /dev/null @@ -1,109 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Integration of Cargo-based packages - -Cargo is the package manager for the Rust programming language. It allows the -user to build programs or libraries written in Rust, but it also downloads and -manages their dependencies, to ensure repeatable builds. Cargo packages are -called "crates". - -[[cargo-package-tutorial]] - -==== Cargo-based package's +Config.in+ file - -The +Config.in+ file of Cargo-based package 'foo' should contain: - ---------------------------- -01: config BR2_PACKAGE_FOO -02: bool "foo" -03: depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS -04: select BR2_PACKAGE_HOST_RUSTC -05: help -06: This is a comment that explains what foo is. -07: -08: http://foosoftware.org/foo/ ---------------------------- - -==== Cargo-based package's +.mk+ file - -Buildroot does not (yet) provide a dedicated package infrastructure for -Cargo-based packages. So, we will explain how to write a +.mk+ file for such a -package. Let's start with an example: - ------------------------------- -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.0 -08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz -09: FOO_SITE = http://www.foosoftware.org/download -10: FOO_LICENSE = GPL-3.0+ -11: FOO_LICENSE_FILES = COPYING -12: -13: FOO_DEPENDENCIES = host-rustc -14: -15: FOO_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo -16: -17: FOO_BIN_DIR = target/$(RUSTC_TARGET_NAME)/$(FOO_CARGO_MODE) -18: -19: FOO_CARGO_OPTS = \ -20: $(if $(BR2_ENABLE_DEBUG),,--release) \ -21: --target=$(RUSTC_TARGET_NAME) \ -22: --manifest-path=$(@D)/Cargo.toml -23: -24: define FOO_BUILD_CMDS -25: $(TARGET_MAKE_ENV) $(FOO_CARGO_ENV) \ -26: cargo build $(FOO_CARGO_OPTS) -27: endef -28: -29: define FOO_INSTALL_TARGET_CMDS -30: $(INSTALL) -D -m 0755 $(@D)/$(FOO_BIN_DIR)/foo \ -31: $(TARGET_DIR)/usr/bin/foo -32: endef -33: -34: $(eval $(generic-package)) --------------------------------- - -The Makefile starts with the definition of the standard variables for package -declaration (lines 7 to 11). - -As seen in line 34, it is based on the -xref:generic-package-tutorial[+generic-package+ infrastructure]. So, it defines -the variables required by this particular infrastructure, where Cargo is -invoked: - -* +FOO_BUILD_CMDS+: Cargo is invoked to perform the build. The options required - to configure the cross-compilation of the package are passed via - +FOO_CONF_OPTS+. - -* +FOO_INSTALL_TARGET_CMDS+: The binary executable generated is installed on - the target. - -In order to have Cargo available for the build, +FOO_DEPENDENCIES+ needs to -contain +host-cargo+. - -To sum it up, to add a new Cargo-based package, the Makefile example can be -copied verbatim then edited to replace all occurences of +FOO+ with the -uppercase name of the new package and update the values of the standard -variables. - -==== About Dependencies Management - -A crate can depend on other libraries from crates.io or git repositories, listed -in its Cargo.toml file. Before starting a build, Cargo usually downloads -automatically them. This step can also be performed independently, via the -+cargo fetch+ command. - -Cargo maintains a local cache of the registry index and of git checkouts of the -crates, whose location is given by +$CARGO_HOME+. As seen in the package -Makefile example at line 15, this environment variable is set to -+$(HOST_DIR)/share/cargo+. - -This dependency download mechanism is not convenient when performing an offline -build, as Cargo will fail to fetch the dependencies. In that case, it is advised -to generate a tarball of the dependencies using the +cargo vendor+ and add it to -+FOO_EXTRA_DOWNLOADS+. diff --git a/buildroot-2021.05/docs/manual/adding-packages-cmake.txt b/buildroot-2021.05/docs/manual/adding-packages-cmake.txt deleted file mode 100644 index 73f09430..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-cmake.txt +++ /dev/null @@ -1,157 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Infrastructure for CMake-based packages - -[[cmake-package-tutorial]] - -==== +cmake-package+ tutorial - -First, let's see how to write a +.mk+ file for a CMake-based package, -with an example : - ------------------------- -01: ################################################################################ -02: # -03: # libfoo -04: # -05: ################################################################################ -06: -07: LIBFOO_VERSION = 1.0 -08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz -09: LIBFOO_SITE = http://www.foosoftware.org/download -10: LIBFOO_INSTALL_STAGING = YES -11: LIBFOO_INSTALL_TARGET = NO -12: LIBFOO_CONF_OPTS = -DBUILD_DEMOS=ON -13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf -14: -15: $(eval $(cmake-package)) ------------------------- - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball recommended) -and the location of the tarball on the Web. Buildroot will automatically -download the tarball from this location. - -On line 10, we tell Buildroot to install the package to the staging -directory. The staging directory, located in +output/staging/+ -is the directory where all the packages are installed, including their -development files, etc. By default, packages are not installed to the -staging directory, since usually, only libraries need to be installed in -the staging directory: their development files are needed to compile -other libraries or applications depending on them. Also by default, when -staging installation is enabled, packages are installed in this location -using the +make install+ command. - -On line 11, we tell Buildroot to not install the package to the -target directory. This directory contains what will become the root -filesystem running on the target. For purely static libraries, it is -not necessary to install them in the target directory because they will -not be used at runtime. By default, target installation is enabled; setting -this variable to NO is almost never needed. Also by default, packages are -installed in this location using the +make install+ command. - -On line 12, we tell Buildroot to pass custom options to CMake when it is -configuring the package. - -On line 13, we declare our dependencies, so that they are built -before the build process of our package starts. - -Finally, on line line 15, we invoke the +cmake-package+ -macro that generates all the Makefile rules that actually allows the -package to be built. - -[[cmake-package-reference]] - -==== +cmake-package+ reference - -The main macro of the CMake package infrastructure is -+cmake-package+. It is similar to the +generic-package+ macro. The ability to -have target and host packages is also available, with the -+host-cmake-package+ macro. - -Just like the generic infrastructure, the CMake infrastructure works -by defining a number of variables before calling the +cmake-package+ -macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the CMake infrastructure: -+LIBFOO_VERSION+, +LIBFOO_SOURCE+, +LIBFOO_PATCH+, +LIBFOO_SITE+, -+LIBFOO_SUBDIR+, +LIBFOO_DEPENDENCIES+, +LIBFOO_INSTALL_STAGING+, -+LIBFOO_INSTALL_TARGET+. - -A few additional variables, specific to the CMake infrastructure, can -also be defined. Many of them are only useful in very specific cases, -typical packages will therefore only use a few of them. - -* +LIBFOO_SUBDIR+ may contain the name of a subdirectory inside the - package that contains the main CMakeLists.txt file. This is useful, - if for example, the main CMakeLists.txt file is not at the root of - the tree extracted by the tarball. If +HOST_LIBFOO_SUBDIR+ is not - specified, it defaults to +LIBFOO_SUBDIR+. - -* +LIBFOO_CONF_ENV+, to specify additional environment variables to - pass to CMake. By default, empty. - -* +LIBFOO_CONF_OPTS+, to specify additional configure options to pass - to CMake. By default, empty. A number of common CMake options are - set by the +cmake-package+ infrastructure; so it is normally not - necessary to set them in the package's +*.mk+ file unless you want - to override them: - -** +CMAKE_BUILD_TYPE+ is driven by +BR2_ENABLE_DEBUG+; -** +CMAKE_INSTALL_PREFIX+; -** +BUILD_SHARED_LIBS+ is driven by +BR2_STATIC_LIBS+; -** +BUILD_DOC+, +BUILD_DOCS+ are disabled; -** +BUILD_EXAMPLE+, +BUILD_EXAMPLES+ are disabled; -** +BUILD_TEST+, +BUILD_TESTS+, +BUILD_TESTING+ are disabled. - -* +LIBFOO_SUPPORTS_IN_SOURCE_BUILD = NO+ should be set when the package - cannot be built inside the source tree but needs a separate build - directory. - -* +LIBFOO_MAKE+, to specify an alternate +make+ command. This is - typically useful when parallel make is enabled in the configuration - (using +BR2_JLEVEL+) but that this feature should be disabled for - the given package, for one reason or another. By default, set to - +$(MAKE)+. If parallel building is not supported by the package, - then it should be set to +LIBFOO_MAKE=$(MAKE1)+. - -* +LIBFOO_MAKE_ENV+, to specify additional environment variables to - pass to make in the build step. These are passed before the +make+ - command. By default, empty. - -* +LIBFOO_MAKE_OPTS+, to specify additional variables to pass to make - in the build step. These are passed after the +make+ command. By - default, empty. - -* +LIBFOO_INSTALL_OPTS+ contains the make options used to - install the package to the host directory. By default, the value - is +install+, which is correct for most CMake packages. It is still - possible to override it. - -* +LIBFOO_INSTALL_STAGING_OPTS+ contains the make options used to - install the package to the staging directory. By default, the value - is +DESTDIR=$(STAGING_DIR) install/fast+, which is correct for most - CMake packages. It is still possible to override it. - -* +LIBFOO_INSTALL_TARGET_OPTS+ contains the make options used to - install the package to the target directory. By default, the value - is +DESTDIR=$(TARGET_DIR) install/fast+. The default value is correct - for most CMake packages, but it is still possible to override it if - needed. - -With the CMake infrastructure, all the steps required to build and -install the packages are already defined, and they generally work well -for most CMake-based packages. However, when required, it is still -possible to customize what is done in any particular step: - -* By adding a post-operation hook (after extract, patch, configure, - build or install). See xref:hooks[] for details. - -* By overriding one of the steps. For example, even if the CMake - infrastructure is used, if the package +.mk+ file defines its own - +LIBFOO_CONFIGURE_CMDS+ variable, it will be used instead of the - default CMake one. However, using this method should be restricted - to very specific cases. Do not use it in the general case. diff --git a/buildroot-2021.05/docs/manual/adding-packages-directory.txt b/buildroot-2021.05/docs/manual/adding-packages-directory.txt deleted file mode 100644 index 4ceb3fd7..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-directory.txt +++ /dev/null @@ -1,556 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Package directory - -First of all, create a directory under the +package+ directory for -your software, for example +libfoo+. - -Some packages have been grouped by topic in a sub-directory: -+x11r7+, +qt5+ and +gstreamer+. If your package fits in -one of these categories, then create your package directory in these. -New subdirectories are discouraged, however. - -=== Config files - -For the package to be displayed in the configuration tool, you need to -create a Config file in your package directory. There are two types: -+Config.in+ and +Config.in.host+. - -==== +Config.in+ file - -For packages used on the target, create a file named +Config.in+. This -file will contain the option descriptions related to our +libfoo+ software -that will be used and displayed in the configuration tool. It should basically -contain: - ---------------------------- -config BR2_PACKAGE_LIBFOO - bool "libfoo" - help - This is a comment that explains what libfoo is. The help text - should be wrapped. - - http://foosoftware.org/libfoo/ ---------------------------- - -The +bool+ line, +help+ line and other metadata information about the -configuration option must be indented with one tab. The help text -itself should be indented with one tab and two spaces, lines should -be wrapped to fit 72 columns, where tab counts for 8, so 62 characters -in the text itself. The help text must mention the upstream URL of the -project after an empty line. - -As a convention specific to Buildroot, the ordering of the attributes -is as follows: - -1. The type of option: +bool+, +string+... with the prompt -2. If needed, the +default+ value(s) -3. Any dependencies on the target in +depends on+ form -4. Any dependencies on the toolchain in +depends on+ form -5. Any dependencies on other packages in +depends on+ form -6. Any dependency of the +select+ form -7. The help keyword and help text. - -You can add other sub-options into a +if BR2_PACKAGE_LIBFOO...endif+ -statement to configure particular things in your software. You can look at -examples in other packages. The syntax of the +Config.in+ file is the same -as the one for the kernel Kconfig file. The documentation for this syntax is -available at http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt[] - -Finally you have to add your new +libfoo/Config.in+ to -+package/Config.in+ (or in a category subdirectory if you decided to -put your package in one of the existing categories). The files -included there are 'sorted alphabetically' per category and are 'NOT' -supposed to contain anything but the 'bare' name of the package. - --------------------------- -source "package/libfoo/Config.in" --------------------------- - - -==== +Config.in.host+ file - -Some packages also need to be built for the host system. There are two -options here: - -* The host package is only required to satisfy build-time - dependencies of one or more target packages. In this case, add - +host-foo+ to the target package's +BAR_DEPENDENCIES+ variable. No - +Config.in.host+ file should be created. - -* The host package should be explicitly selectable by the user from - the configuration menu. In this case, create a +Config.in.host+ file - for that host package: -+ ---------------------------- -config BR2_PACKAGE_HOST_FOO - bool "host foo" - help - This is a comment that explains what foo for the host is. - - http://foosoftware.org/foo/ ---------------------------- -+ -The same coding style and options as for the +Config.in+ file are valid. -+ -Finally you have to add your new +libfoo/Config.in.host+ to -+package/Config.in.host+. The files included there are 'sorted alphabetically' -and are 'NOT' supposed to contain anything but the 'bare' name of the package. -+ --------------------------- -source "package/foo/Config.in.host" --------------------------- -+ -The host package will then be available from the +Host utilities+ menu. - -[[depends-on-vs-select]] -==== Choosing +depends on+ or +select+ - -The +Config.in+ file of your package must also ensure that -dependencies are enabled. Typically, Buildroot uses the following -rules: - -* Use a +select+ type of dependency for dependencies on - libraries. These dependencies are generally not obvious and it - therefore make sense to have the kconfig system ensure that the - dependencies are selected. For example, the _libgtk2_ package uses - +select BR2_PACKAGE_LIBGLIB2+ to make sure this library is also - enabled. - The +select+ keyword expresses the dependency with a backward - semantic. - -* Use a +depends on+ type of dependency when the user really needs to - be aware of the dependency. Typically, Buildroot uses this type of - dependency for dependencies on target architecture, MMU support and - toolchain options (see xref:dependencies-target-toolchain-options[]), - or for dependencies on "big" things, such as the X.org system. - The +depends on+ keyword expresses the dependency with a forward - semantic. - -.Note -The current problem with the _kconfig_ language is that these two -dependency semantics are not internally linked. Therefore, it may be -possible to select a package, whom one of its dependencies/requirement -is not met. - -An example illustrates both the usage of +select+ and +depends on+. - --------------------------- -config BR2_PACKAGE_RRDTOOL - bool "rrdtool" - depends on BR2_USE_WCHAR - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_LIBART - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_ZLIB - help - RRDtool is the OpenSource industry standard, high performance - data logging and graphing system for time series data. - - http://oss.oetiker.ch/rrdtool/ - -comment "rrdtool needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR --------------------------- - - -Note that these two dependency types are only transitive with the -dependencies of the same kind. - -This means, in the following example: - --------------------------- -config BR2_PACKAGE_A - bool "Package A" - -config BR2_PACKAGE_B - bool "Package B" - depends on BR2_PACKAGE_A - -config BR2_PACKAGE_C - bool "Package C" - depends on BR2_PACKAGE_B - -config BR2_PACKAGE_D - bool "Package D" - select BR2_PACKAGE_B - -config BR2_PACKAGE_E - bool "Package E" - select BR2_PACKAGE_D --------------------------- - -* Selecting +Package C+ will be visible if +Package B+ has been - selected, which in turn is only visible if +Package A+ has been - selected. - -* Selecting +Package E+ will select +Package D+, which will select - +Package B+, it will not check for the dependencies of +Package B+, - so it will not select +Package A+. - -* Since +Package B+ is selected but +Package A+ is not, this violates - the dependency of +Package B+ on +Package A+. Therefore, in such a - situation, the transitive dependency has to be added explicitly: - --------------------------- -config BR2_PACKAGE_D - bool "Package D" - select BR2_PACKAGE_B - depends on BR2_PACKAGE_A - -config BR2_PACKAGE_E - bool "Package E" - select BR2_PACKAGE_D - depends on BR2_PACKAGE_A --------------------------- - -Overall, for package library dependencies, +select+ should be -preferred. - -Note that such dependencies will ensure that the dependency option -is also enabled, but not necessarily built before your package. To do -so, the dependency also needs to be expressed in the +.mk+ file of the -package. - -Further formatting details: see xref:writing-rules-config-in[the -coding style]. - -[[dependencies-target-toolchain-options]] -==== Dependencies on target and toolchain options - -Many packages depend on certain options of the toolchain: the choice of -C library, C++ support, thread support, RPC support, wchar support, -or dynamic library support. Some packages can only be built on certain -target architectures, or if an MMU is available in the processor. - -These dependencies have to be expressed with the appropriate 'depends -on' statements in the Config.in file. Additionally, for dependencies on -toolchain options, a +comment+ should be displayed when the option is -not enabled, so that the user knows why the package is not available. -Dependencies on target architecture or MMU support should not be -made visible in a comment: since it is unlikely that the user can -freely choose another target, it makes little sense to show these -dependencies explicitly. - -The +comment+ should only be visible if the +config+ option itself would -be visible when the toolchain option dependencies are met. This means -that all other dependencies of the package (including dependencies on -target architecture and MMU support) have to be repeated on the -+comment+ definition. To keep it clear, the +depends on+ statement for -these non-toolchain option should be kept separate from the +depends on+ -statement for the toolchain options. -If there is a dependency on a config option in that same file (typically -the main package) it is preferable to have a global +if ... endif+ -construct rather than repeating the +depends on+ statement on the -comment and other config options. - -The general format of a dependency +comment+ for package foo is: - --------------------------- -foo needs a toolchain w/ featA, featB, featC --------------------------- - -for example: - --------------------------- -mpd needs a toolchain w/ C++, threads, wchar --------------------------- - -or - --------------------------- -crda needs a toolchain w/ threads --------------------------- - -Note that this text is kept brief on purpose, so that it will fit on a -80-character terminal. - -The rest of this section enumerates the different target and toolchain -options, the corresponding config symbols to depend on, and the text to -use in the comment. - -* Target architecture -** Dependency symbol: +BR2_powerpc+, +BR2_mips+, ... (see +arch/Config.in+) -** Comment string: no comment to be added - -* MMU support -** Dependency symbol: +BR2_USE_MMU+ -** Comment string: no comment to be added - -* Gcc +__sync_*+ built-ins used for atomic operations. They are - available in variants operating on 1 byte, 2 bytes, 4 bytes and 8 - bytes. Since different architectures support atomic operations on - different sizes, one dependency symbol is available for each size: -** Dependency symbol: +BR2_TOOLCHAIN_HAS_SYNC_1+ for 1 byte, - +BR2_TOOLCHAIN_HAS_SYNC_2+ for 2 bytes, - +BR2_TOOLCHAIN_HAS_SYNC_4+ for 4 bytes, +BR2_TOOLCHAIN_HAS_SYNC_8+ - for 8 bytes. -** Comment string: no comment to be added - -* Gcc +__atomic_*+ built-ins used for atomic operations. -** Dependency symbol: +BR2_TOOLCHAIN_HAS_ATOMIC+. -** Comment string: no comment to be added - -* Kernel headers -** Dependency symbol: +BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y+, (replace - +X_Y+ with the proper version, see +toolchain/Config.in+) -** Comment string: +headers >= X.Y+ and/or `headers <= X.Y` (replace - +X.Y+ with the proper version) - -* GCC version -** Dependency symbol: +BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y+, (replace - +X_Y+ with the proper version, see +toolchain/Config.in+) -** Comment string: +gcc >= X.Y+ and/or `gcc <= X.Y` (replace - +X.Y+ with the proper version) - -* Host GCC version -** Dependency symbol: +BR2_HOST_GCC_AT_LEAST_X_Y+, (replace - +X_Y+ with the proper version, see +Config.in+) -** Comment string: no comment to be added -** Note that it is usually not the package itself that has a minimum - host GCC version, but rather a host-package on which it depends. - -* C library -** Dependency symbol: +BR2_TOOLCHAIN_USES_GLIBC+, - +BR2_TOOLCHAIN_USES_MUSL+, +BR2_TOOLCHAIN_USES_UCLIBC+ -** Comment string: for the C library, a slightly different comment text - is used: +foo needs a glibc toolchain+, or `foo needs a glibc - toolchain w/ C++` - -* C++ support -** Dependency symbol: +BR2_INSTALL_LIBSTDCPP+ -** Comment string: `C++` - -* D support -** Dependency symbol: +BR2_TOOLCHAIN_HAS_DLANG+ -** Comment string: `Dlang` - -* Fortran support -** Dependency symbol: +BR2_TOOLCHAIN_HAS_FORTRAN+ -** Comment string: `fortran` - -* thread support -** Dependency symbol: +BR2_TOOLCHAIN_HAS_THREADS+ -** Comment string: +threads+ (unless +BR2_TOOLCHAIN_HAS_THREADS_NPTL+ - is also needed, in which case, specifying only +NPTL+ is sufficient) - -* NPTL thread support -** Dependency symbol: +BR2_TOOLCHAIN_HAS_THREADS_NPTL+ -** Comment string: +NPTL+ - -* RPC support -** Dependency symbol: +BR2_TOOLCHAIN_HAS_NATIVE_RPC+ -** Comment string: +RPC+ - -* wchar support -** Dependency symbol: +BR2_USE_WCHAR+ -** Comment string: +wchar+ - -* dynamic library -** Dependency symbol: +!BR2_STATIC_LIBS+ -** Comment string: +dynamic library+ - -==== Dependencies on a Linux kernel built by buildroot - -Some packages need a Linux kernel to be built by buildroot. These are -typically kernel modules or firmware. A comment should be added in the -Config.in file to express this dependency, similar to dependencies on -toolchain options. The general format is: - --------------------------- -foo needs a Linux kernel to be built --------------------------- - -If there is a dependency on both toolchain options and the Linux -kernel, use this format: - --------------------------- -foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built --------------------------- - -==== Dependencies on udev /dev management - -If a package needs udev /dev management, it should depend on symbol -+BR2_PACKAGE_HAS_UDEV+, and the following comment should be added: - --------------------------- -foo needs udev /dev management --------------------------- - -If there is a dependency on both toolchain options and udev /dev -management, use this format: - --------------------------- -foo needs udev /dev management and a toolchain w/ featA, featB, featC --------------------------- - -==== Dependencies on features provided by virtual packages - -Some features can be provided by more than one package, such as the -openGL libraries. - -See xref:virtual-package-tutorial[] for more on the virtual packages. - -=== The +.mk+ file - -[[adding-packages-mk]] - -Finally, here's the hardest part. Create a file named +libfoo.mk+. It -describes how the package should be downloaded, configured, built, -installed, etc. - -Depending on the package type, the +.mk+ file must be written in a -different way, using different infrastructures: - -* *Makefiles for generic packages* (not using autotools or CMake): - These are based on an infrastructure similar to the one used for - autotools-based packages, but require a little more work from the - developer. They specify what should be done for the configuration, - compilation and installation of the package. This - infrastructure must be used for all packages that do not use the - autotools as their build system. In the future, other specialized - infrastructures might be written for other build systems. We cover - them through in a xref:generic-package-tutorial[tutorial] and a - xref:generic-package-reference[reference]. - -* *Makefiles for autotools-based software* (autoconf, automake, etc.): - We provide a dedicated infrastructure for such packages, since - autotools is a very common build system. This infrastructure 'must' - be used for new packages that rely on the autotools as their build - system. We cover them through a xref:autotools-package-tutorial[tutorial] - and xref:autotools-package-reference[reference]. - -* *Makefiles for cmake-based software*: We provide a dedicated - infrastructure for such packages, as CMake is a more and more - commonly used build system and has a standardized behaviour. This - infrastructure 'must' be used for new packages that rely on - CMake. We cover them through a xref:cmake-package-tutorial[tutorial] - and xref:cmake-package-reference[reference]. - -* *Makefiles for Python modules*: We have a dedicated infrastructure - for Python modules that use either the +distutils+ or the - +setuptools+ mechanism. We cover them through a - xref:python-package-tutorial[tutorial] and a - xref:python-package-reference[reference]. - -* *Makefiles for Lua modules*: We have a dedicated infrastructure for - Lua modules available through the LuaRocks web site. We cover them - through a xref:luarocks-package-tutorial[tutorial] and a - xref:luarocks-package-reference[reference]. - -Further formatting details: see xref:writing-rules-mk[the writing -rules]. - -[[adding-packages-hash]] -=== The +.hash+ file - -When possible, you must add a third file, named +libfoo.hash+, that -contains the hashes of the downloaded files for the +libfoo+ -package. The only reason for not adding a +.hash+ file is when hash -checking is not possible due to how the package is downloaded. - -When a package has a version selection choice, then the hash file may be -stored in a subdirectory named after the version, e.g. -+package/libfoo/1.2.3/libfoo.hash+. This is especially important if the -different versions have different licensing terms, but they are stored -in the same file. Otherwise, the hash file should stay in the package's -directory. - -The hashes stored in that file are used to validate the integrity of the -downloaded files and of the license files. - -The format of this file is one line for each file for which to check the -hash, each line with the following three fields separated by two spaces: - -* the type of hash, one of: -** +md5+, +sha1+, +sha224+, +sha256+, +sha384+, +sha512+, +none+ -* the hash of the file: -** for +none+, one or more non-space chars, usually just the string +xxx+ -** for +md5+, 32 hexadecimal characters -** for +sha1+, 40 hexadecimal characters -** for +sha224+, 56 hexadecimal characters -** for +sha256+, 64 hexadecimal characters -** for +sha384+, 96 hexadecimal characters -** for +sha512+, 128 hexadecimal characters -* the name of the file: -** for a source archive: the basename of the file, without any directory - component, -** for a license file: the path as it appears in +FOO_LICENSE_FILES+. - -Lines starting with a +#+ sign are considered comments, and ignored. Empty -lines are ignored. - -There can be more than one hash for a single file, each on its own line. In -this case, all hashes must match. - -.Note -Ideally, the hashes stored in this file should match the hashes published by -upstream, e.g. on their website, in the e-mail announcement... If upstream -provides more than one type of hash (e.g. +sha1+ and +sha512+), then it is -best to add all those hashes in the +.hash+ file. If upstream does not -provide any hash, or only provides an +md5+ hash, then compute at least one -strong hash yourself (preferably +sha256+, but not +md5+), and mention -this in a comment line above the hashes. - -.Note -The hashes for license files are used to detect a license change when a -package version is bumped. The hashes are checked during the make legal-info -target run. For a package with multiple versions (like Qt5), -create the hash file in a subdirectory ++ of that package -(see also xref:patch-apply-order[]). - -The +none+ hash type is reserved to those archives downloaded from a -repository, like a 'git clone', a 'subversion checkout'... - -The example below defines a +sha1+ and a +sha256+ published by upstream for -the main +libfoo-1.2.3.tar.bz2+ tarball, an +md5+ from upstream and a -locally-computed +sha256+ hashes for a binary blob, a +sha256+ for a -downloaded patch, and an archive with no hash: - ----- -# Hashes from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.{sha1,sha256}: -sha1 486fb55c3efa71148fe07895fd713ea3a5ae343a libfoo-1.2.3.tar.bz2 -sha256 efc8103cc3bcb06bda6a781532d12701eb081ad83e8f90004b39ab81b65d4369 libfoo-1.2.3.tar.bz2 - -# md5 from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.md5, sha256 locally computed: -md5 2d608f3c318c6b7557d551a5a09314f03452f1a1 libfoo-data.bin -sha256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b libfoo-data.bin - -# Locally computed: -sha256 ff52101fb90bbfc3fe9475e425688c660f46216d7e751c4bbdb1dc85cdccacb9 libfoo-fix-blabla.patch - -# No hash for 1234: -none xxx libfoo-1234.tar.gz - -# Hash for license files: -sha256 a45a845012742796534f7e91fe623262ccfb99460a2bd04015bd28d66fba95b8 COPYING -sha256 01b1f9f2c8ee648a7a596a1abe8aa4ed7899b1c9e5551bda06da6e422b04aa55 doc/COPYING.LGPL ----- - -If the +.hash+ file is present, and it contains one or more hashes for a -downloaded file, the hash(es) computed by Buildroot (after download) must -match the hash(es) stored in the +.hash+ file. If one or more hashes do -not match, Buildroot considers this an error, deletes the downloaded file, -and aborts. - -If the +.hash+ file is present, but it does not contain a hash for a -downloaded file, Buildroot considers this an error and aborts. However, -the downloaded file is left in the download directory since this -typically indicates that the +.hash+ file is wrong but the downloaded -file is probably OK. - -Hashes are currently checked for files fetched from http/ftp servers, -Git repositories, files copied using scp and local files. Hashes are -not checked for other version control systems (such as Subversion, -CVS, etc.) because Buildroot currently does not generate reproducible -tarballs when source code is fetched from such version control -systems. - -Hashes should only be added in +.hash+ files for files that are -guaranteed to be stable. For example, patches auto-generated by Github -are not guaranteed to be stable, and therefore their hashes can change -over time. Such patches should not be downloaded, and instead be added -locally to the package folder. - -If the +.hash+ file is missing, then no check is done at all. diff --git a/buildroot-2021.05/docs/manual/adding-packages-generic.txt b/buildroot-2021.05/docs/manual/adding-packages-generic.txt deleted file mode 100644 index 2201d438..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-generic.txt +++ /dev/null @@ -1,659 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Infrastructure for packages with specific build systems - -By 'packages with specific build systems' we mean all the packages -whose build system is not one of the standard ones, such as -'autotools' or 'CMake'. This typically includes packages whose build -system is based on hand-written Makefiles or shell scripts. - -[[generic-package-tutorial]] - -==== +generic-package+ tutorial - ------------------------------- -01: ################################################################################ -02: # -03: # libfoo -04: # -05: ################################################################################ -06: -07: LIBFOO_VERSION = 1.0 -08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz -09: LIBFOO_SITE = http://www.foosoftware.org/download -10: LIBFOO_LICENSE = GPL-3.0+ -11: LIBFOO_LICENSE_FILES = COPYING -12: LIBFOO_INSTALL_STAGING = YES -13: LIBFOO_CONFIG_SCRIPTS = libfoo-config -14: LIBFOO_DEPENDENCIES = host-libaaa libbbb -15: -16: define LIBFOO_BUILD_CMDS -17: $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all -18: endef -19: -20: define LIBFOO_INSTALL_STAGING_CMDS -21: $(INSTALL) -D -m 0755 $(@D)/libfoo.a $(STAGING_DIR)/usr/lib/libfoo.a -22: $(INSTALL) -D -m 0644 $(@D)/foo.h $(STAGING_DIR)/usr/include/foo.h -23: $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(STAGING_DIR)/usr/lib -24: endef -25: -26: define LIBFOO_INSTALL_TARGET_CMDS -27: $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(TARGET_DIR)/usr/lib -28: $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d -29: endef -30: -31: define LIBFOO_USERS -32: foo -1 libfoo -1 * - - - LibFoo daemon -33: endef -34: -35: define LIBFOO_DEVICES -36: /dev/foo c 666 0 0 42 0 - - - -37: endef -38: -39: define LIBFOO_PERMISSIONS -40: /bin/foo f 4755 foo libfoo - - - - - -41: endef -42: -43: $(eval $(generic-package)) --------------------------------- - -The Makefile begins on line 7 to 11 with metadata information: the -version of the package (+LIBFOO_VERSION+), the name of the -tarball containing the package (+LIBFOO_SOURCE+) (xz-ed tarball recommended) -the Internet location at which the tarball can be downloaded from -(+LIBFOO_SITE+), the license (+LIBFOO_LICENSE+) and file with the -license text (+LIBFOO_LICENSE_FILES+). All variables must start with -the same prefix, +LIBFOO_+ in this case. This prefix is always the -uppercased version of the package name (see below to understand where -the package name is defined). - -On line 12, we specify that this package wants to install something to -the staging space. This is often needed for libraries, since they must -install header files and other development files in the staging space. -This will ensure that the commands listed in the -+LIBFOO_INSTALL_STAGING_CMDS+ variable will be executed. - -On line 13, we specify that there is some fixing to be done to some -of the 'libfoo-config' files that were installed during -+LIBFOO_INSTALL_STAGING_CMDS+ phase. -These *-config files are executable shell script files that are -located in '$(STAGING_DIR)/usr/bin' directory and are executed -by other 3rd party packages to find out the location and the linking -flags of this particular package. - -The problem is that all these *-config files by default give wrong, -host system linking flags that are unsuitable for cross-compiling. - -For example: '-I/usr/include' instead of '-I$(STAGING_DIR)/usr/include' -or: '-L/usr/lib' instead of '-L$(STAGING_DIR)/usr/lib' - -So some sed magic is done to these scripts to make them give correct -flags. -The argument to be given to +LIBFOO_CONFIG_SCRIPTS+ is the file name(s) -of the shell script(s) needing fixing. All these names are relative to -'$(STAGING_DIR)/usr/bin' and if needed multiple names can be given. - -In addition, the scripts listed in +LIBFOO_CONFIG_SCRIPTS+ are removed -from +$(TARGET_DIR)/usr/bin+, since they are not needed on the target. - -.Config script: 'divine' package -================================ -Package divine installs shell script '$(STAGING_DIR)/usr/bin/divine-config'. - -So its fixup would be: - --------------------------------- -DIVINE_CONFIG_SCRIPTS = divine-config --------------------------------- -================================ - -.Config script: 'imagemagick' package: -================================ -Package imagemagick installs the following scripts: -'$(STAGING_DIR)/usr/bin/{Magick,Magick++,MagickCore,MagickWand,Wand}-config' - -So it's fixup would be: - --------------------------------- -IMAGEMAGICK_CONFIG_SCRIPTS = \ - Magick-config Magick++-config \ - MagickCore-config MagickWand-config Wand-config --------------------------------- -================================ - -On line 14, we specify the list of dependencies this package relies -on. These dependencies are listed in terms of lower-case package names, -which can be packages for the target (without the +host-+ -prefix) or packages for the host (with the +host-+) prefix). -Buildroot will ensure that all these packages are built and installed -'before' the current package starts its configuration. - -The rest of the Makefile, lines 16..29, defines what should be done -at the different steps of the package configuration, compilation and -installation. -+LIBFOO_BUILD_CMDS+ tells what steps should be performed to -build the package. +LIBFOO_INSTALL_STAGING_CMDS+ tells what -steps should be performed to install the package in the staging space. -+LIBFOO_INSTALL_TARGET_CMDS+ tells what steps should be -performed to install the package in the target space. - -All these steps rely on the +$(@D)+ variable, which -contains the directory where the source code of the package has been -extracted. - -On lines 31..33, we define a user that is used by this package (e.g. -to run a daemon as non-root) (+LIBFOO_USERS+). - -On line 35..37, we define a device-node file used by this package -(+LIBFOO_DEVICES+). - -On line 39..41, we define the permissions to set to specific files -installed by this package (+LIBFOO_PERMISSIONS+). - -Finally, on line 43, we call the +generic-package+ function, which -generates, according to the variables defined previously, all the -Makefile code necessary to make your package working. - -[[generic-package-reference]] - -==== +generic-package+ reference - -There are two variants of the generic target. The +generic-package+ macro is -used for packages to be cross-compiled for the target. The -+host-generic-package+ macro is used for host packages, natively compiled -for the host. It is possible to call both of them in a single +.mk+ -file: once to create the rules to generate a target -package and once to create the rules to generate a host package: - ----------------------- -$(eval $(generic-package)) -$(eval $(host-generic-package)) ----------------------- - -This might be useful if the compilation of the target package requires -some tools to be installed on the host. If the package name is -+libfoo+, then the name of the package for the target is also -+libfoo+, while the name of the package for the host is -+host-libfoo+. These names should be used in the DEPENDENCIES -variables of other packages, if they depend on +libfoo+ or -+host-libfoo+. - -The call to the +generic-package+ and/or +host-generic-package+ macro -*must* be at the end of the +.mk+ file, after all variable definitions. -The call to +host-generic-package+ *must* be after the call to -+generic-package+, if any. - -For the target package, the +generic-package+ uses the variables defined by -the .mk file and prefixed by the uppercased package name: -+LIBFOO_*+. +host-generic-package+ uses the +HOST_LIBFOO_*+ variables. For -'some' variables, if the +HOST_LIBFOO_+ prefixed variable doesn't -exist, the package infrastructure uses the corresponding variable -prefixed by +LIBFOO_+. This is done for variables that are likely to -have the same value for both the target and host packages. See below -for details. - -The list of variables that can be set in a +.mk+ file to give metadata -information is (assuming the package name is +libfoo+) : - -* +LIBFOO_VERSION+, mandatory, must contain the version of the - package. Note that if +HOST_LIBFOO_VERSION+ doesn't exist, it is - assumed to be the same as +LIBFOO_VERSION+. It can also be a - revision number or a tag for packages that are fetched directly - from their version control system. Examples: - ** a version for a release tarball: +LIBFOO_VERSION = 0.1.2+ - ** a sha1 for a git tree: +LIBFOO_VERSION = cb9d6aa9429e838f0e54faa3d455bcbab5eef057+ - ** a tag for a git tree +LIBFOO_VERSION = v0.1.2+ -+ -.Note: -Using a branch name as +FOO_VERSION+ is not supported, because it does -not and can not work as people would expect it should: -+ - 1. due to local caching, Buildroot will not re-fetch the repository, - so people who expect to be able to follow the remote repository - would be quite surprised and disappointed; - 2. because two builds can never be perfectly simultaneous, and because - the remote repository may get new commits on the branch anytime, - two users, using the same Buildroot tree and building the same - configuration, may get different source, thus rendering the build - non reproducible, and people would be quite surprised and - disappointed. - -* +LIBFOO_SOURCE+ may contain the name of the tarball of the package, - which Buildroot will use to download the tarball from - +LIBFOO_SITE+. If +HOST_LIBFOO_SOURCE+ is not specified, it defaults - to +LIBFOO_SOURCE+. If none are specified, then the value is assumed - to be +libfoo-$(LIBFOO_VERSION).tar.gz+. + - Example: +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ - -* +LIBFOO_PATCH+ may contain a space-separated list of patch file - names, that Buildroot will download and apply to the package source - code. If an entry contains +://+, then Buildroot will assume it is a - full URL and download the patch from this location. Otherwise, - Buildroot will assume that the patch should be downloaded from - +LIBFOO_SITE+. If +HOST_LIBFOO_PATCH+ is not specified, it defaults - to +LIBFOO_PATCH+. Note that patches that are included in Buildroot - itself use a different mechanism: all files of the form - +*.patch+ present in the package directory inside - Buildroot will be applied to the package after extraction (see - xref:patch-policy[patching a package]). Finally, patches listed in - the +LIBFOO_PATCH+ variable are applied _before_ the patches stored - in the Buildroot package directory. - -* +LIBFOO_SITE+ provides the location of the package, which can be a - URL or a local filesystem path. HTTP, FTP and SCP are supported URL - types for retrieving package tarballs. In these cases don't include a - trailing slash: it will be added by Buildroot between the directory - and the filename as appropriate. Git, Subversion, Mercurial, - and Bazaar are supported URL types for retrieving packages directly - from source code management systems. There is a helper function to make - it easier to download source tarballs from GitHub (refer to - xref:github-download-url[] for details). A filesystem path may be used - to specify either a tarball or a directory containing the package - source code. See +LIBFOO_SITE_METHOD+ below for more details on how - retrieval works. + - Note that SCP URLs should be of the form - +scp://[user@]host:filepath+, and that filepath is relative to the - user's home directory, so you may want to prepend the path with a - slash for absolute paths: - +scp://[user@]host:/absolutepath+. + - If +HOST_LIBFOO_SITE+ is not specified, it defaults to - +LIBFOO_SITE+. - Examples: + - +LIBFOO_SITE=http://www.libfoosoftware.org/libfoo+ + - +LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor+ + - +LIBFOO_SITE=/opt/software/libfoo.tar.gz+ + - +LIBFOO_SITE=$(TOPDIR)/../src/libfoo+ - -* +LIBFOO_DL_OPTS+ is a space-separated list of additional options to - pass to the downloader. Useful for retrieving documents with - server-side checking for user logins and passwords, or to use a proxy. - All download methods valid for +LIBFOO_SITE_METHOD+ are supported; - valid options depend on the download method (consult the man page - for the respective download utilities). - -* +LIBFOO_EXTRA_DOWNLOADS+ is a space-separated list of additional - files that Buildroot should download. If an entry contains +://+ - then Buildroot will assume it is a complete URL and will download - the file using this URL. Otherwise, Buildroot will assume the file - to be downloaded is located at +LIBFOO_SITE+. Buildroot will not do - anything with those additional files, except download them: it will - be up to the package recipe to use them from +$(LIBFOO_DL_DIR)+. - -* +LIBFOO_SITE_METHOD+ determines the method used to fetch or copy the - package source code. In many cases, Buildroot guesses the method - from the contents of +LIBFOO_SITE+ and setting +LIBFOO_SITE_METHOD+ - is unnecessary. When +HOST_LIBFOO_SITE_METHOD+ is not specified, it - defaults to the value of +LIBFOO_SITE_METHOD+. + - The possible values of +LIBFOO_SITE_METHOD+ are: - ** +wget+ for normal FTP/HTTP downloads of tarballs. Used by - default when +LIBFOO_SITE+ begins with +http://+, +https://+ or - +ftp://+. - ** +scp+ for downloads of tarballs over SSH with scp. Used by - default when +LIBFOO_SITE+ begins with +scp://+. - ** +svn+ for retrieving source code from a Subversion repository. - Used by default when +LIBFOO_SITE+ begins with +svn://+. When a - +http://+ Subversion repository URL is specified in - +LIBFOO_SITE+, one 'must' specify +LIBFOO_SITE_METHOD=svn+. - Buildroot performs a checkout which is preserved as a tarball in - the download cache; subsequent builds use the tarball instead of - performing another checkout. - ** +cvs+ for retrieving source code from a CVS repository. - Used by default when +LIBFOO_SITE+ begins with +cvs://+. - The downloaded source code is cached as with the +svn+ method. - Anonymous pserver mode is assumed otherwise explicitly defined - on +LIBFOO_SITE+. Both - +LIBFOO_SITE=cvs://libfoo.net:/cvsroot/libfoo+ and - +LIBFOO_SITE=cvs://:ext:libfoo.net:/cvsroot/libfoo+ - are accepted, on the former anonymous pserver access mode is - assumed. - +LIBFOO_SITE+ 'must' contain the source URL as well as the remote - repository directory. The module is the package name. - +LIBFOO_VERSION+ is 'mandatory' and 'must' be a tag, a branch, or - a date (e.g. "2014-10-20", "2014-10-20 13:45", "2014-10-20 - 13:45+01" see "man cvs" for further details). - ** +git+ for retrieving source code from a Git repository. Used by - default when +LIBFOO_SITE+ begins with +git://+. The downloaded - source code is cached as with the +svn+ - method. - ** +hg+ for retrieving source code from a Mercurial repository. One - 'must' specify +LIBFOO_SITE_METHOD=hg+ when +LIBFOO_SITE+ - contains a Mercurial repository URL. The downloaded source code - is cached as with the +svn+ method. - ** +bzr+ for retrieving source code from a Bazaar repository. Used - by default when +LIBFOO_SITE+ begins with +bzr://+. The - downloaded source code is cached as with the +svn+ method. - ** +file+ for a local tarball. One should use this when - +LIBFOO_SITE+ specifies a package tarball as a local filename. - Useful for software that isn't available publicly or in version - control. - ** +local+ for a local source code directory. One should use this - when +LIBFOO_SITE+ specifies a local directory path containing - the package source code. Buildroot copies the contents of the - source directory into the package's build directory. Note that - for +local+ packages, no patches are applied. If you need to - still patch the source code, use +LIBFOO_POST_RSYNC_HOOKS+, see - xref:hooks-rsync[]. - -* +LIBFOO_GIT_SUBMODULES+ can be set to +YES+ to create an archive - with the git submodules in the repository. This is only available - for packages downloaded with git (i.e. when - +LIBFOO_SITE_METHOD=git+). Note that we try not to use such git - submodules when they contain bundled libraries, in which case we - prefer to use those libraries from their own package. - -* +LIBFOO_STRIP_COMPONENTS+ is the number of leading components - (directories) that tar must strip from file names on extraction. - The tarball for most packages has one leading component named - "-", thus Buildroot passes - --strip-components=1 to tar to remove it. - For non-standard packages that don't have this component, or - that have more than one leading component to strip, set this - variable with the value to be passed to tar. Default: 1. - -* +LIBFOO_EXCLUDES+ is a space-separated list of patterns to exclude - when extracting the archive. Each item from that list is passed as - a tar's +--exclude+ option. By default, empty. - -* +LIBFOO_DEPENDENCIES+ lists the dependencies (in terms of package - name) that are required for the current target package to - compile. These dependencies are guaranteed to be compiled and - installed before the configuration of the current package starts. - However, modifications to configuration of these dependencies will - not force a rebuild of the current package. In a similar way, - +HOST_LIBFOO_DEPENDENCIES+ lists the dependencies for the current - host package. - -* +LIBFOO_EXTRACT_DEPENDENCIES+ lists the dependencies (in terms of - package name) that are required for the current target package to be - extracted. These dependencies are guaranteed to be compiled and - installed before the extract step of the current package - starts. This is only used internally by the package infrastructure, - and should typically not be used directly by packages. - -* +LIBFOO_PATCH_DEPENDENCIES+ lists the dependencies (in terms of - package name) that are required for the current package to be - patched. These dependencies are guaranteed to be extracted and - patched (but not necessarily built) before the current package is - patched. In a similar way, +HOST_LIBFOO_PATCH_DEPENDENCIES+ lists - the dependencies for the current host package. - This is seldom used; usually, +LIBFOO_DEPENDENCIES+ is what you - really want to use. - -* +LIBFOO_PROVIDES+ lists all the virtual packages +libfoo+ is an - implementation of. See xref:virtual-package-tutorial[]. - -* +LIBFOO_INSTALL_STAGING+ can be set to +YES+ or +NO+ (default). If - set to +YES+, then the commands in the +LIBFOO_INSTALL_STAGING_CMDS+ - variables are executed to install the package into the staging - directory. - -* +LIBFOO_INSTALL_TARGET+ can be set to +YES+ (default) or +NO+. If - set to +YES+, then the commands in the +LIBFOO_INSTALL_TARGET_CMDS+ - variables are executed to install the package into the target - directory. - -* +LIBFOO_INSTALL_IMAGES+ can be set to +YES+ or +NO+ (default). If - set to +YES+, then the commands in the +LIBFOO_INSTALL_IMAGES_CMDS+ - variable are executed to install the package into the images - directory. - -* +LIBFOO_CONFIG_SCRIPTS+ lists the names of the files in - '$(STAGING_DIR)/usr/bin' that need some special fixing to make them - cross-compiling friendly. Multiple file names separated by space can - be given and all are relative to '$(STAGING_DIR)/usr/bin'. The files - listed in +LIBFOO_CONFIG_SCRIPTS+ are also removed from - +$(TARGET_DIR)/usr/bin+ since they are not needed on the target. - -* +LIBFOO_DEVICES+ lists the device files to be created by Buildroot - when using the static device table. The syntax to use is the - makedevs one. You can find some documentation for this syntax in the - xref:makedev-syntax[]. This variable is optional. - -* +LIBFOO_PERMISSIONS+ lists the changes of permissions to be done at - the end of the build process. The syntax is once again the makedevs one. - You can find some documentation for this syntax in the xref:makedev-syntax[]. - This variable is optional. - -* +LIBFOO_USERS+ lists the users to create for this package, if it installs - a program you want to run as a specific user (e.g. as a daemon, or as a - cron-job). The syntax is similar in spirit to the makedevs one, and is - described in the xref:makeuser-syntax[]. This variable is optional. - -* +LIBFOO_LICENSE+ defines the license (or licenses) under which the package - is released. - This name will appear in the manifest file produced by +make legal-info+. - If the license appears in https://spdx.org/licenses/[the SPDX License List], - use the SPDX short identifier to make the manifest file uniform. - Otherwise, describe the license in a precise and concise way, avoiding - ambiguous names such as +BSD+ which actually name a family of licenses. - This variable is optional. If it is not defined, +unknown+ will appear in - the +license+ field of the manifest file for this package. + - The expected format for this variable must comply with the following rules: - ** If different parts of the package are released under different - licenses, then +comma+ separate licenses (e.g. +`LIBFOO_LICENSE = - GPL-2.0+, LGPL-2.1+`+). If there is clear distinction between which - component is licensed under what license, then annotate the license - with that component, between parenthesis (e.g. +`LIBFOO_LICENSE = - GPL-2.0+ (programs), LGPL-2.1+ (libraries)`+). - ** If some licenses are conditioned on a sub-option being enabled, append - the conditional licenses with a comma (e.g.: `FOO_LICENSE += , GPL-2.0+ - (programs)`); the infrastructure will internally remove the space before - the comma. - ** If the package is dual licensed, then separate licenses with the - +or+ keyword (e.g. +`LIBFOO_LICENSE = AFL-2.1 or GPL-2.0+`+). - -* +LIBFOO_LICENSE_FILES+ is a space-separated list of files in the package - tarball that contain the license(s) under which the package is released. - +make legal-info+ copies all of these files in the +legal-info+ directory. - See xref:legal-info[] for more information. - This variable is optional. If it is not defined, a warning will be produced - to let you know, and +not saved+ will appear in the +license files+ field - of the manifest file for this package. - -* +LIBFOO_ACTUAL_SOURCE_TARBALL+ only applies to packages whose - +LIBFOO_SITE+ / +LIBFOO_SOURCE+ pair points to an archive that does - not actually contain source code, but binary code. This a very - uncommon case, only known to apply to external toolchains which come - already compiled, although theoretically it might apply to other - packages. In such cases a separate tarball is usually available with - the actual source code. Set +LIBFOO_ACTUAL_SOURCE_TARBALL+ to the - name of the actual source code archive and Buildroot will download - it and use it when you run +make legal-info+ to collect - legally-relevant material. Note this file will not be downloaded - during regular builds nor by +make source+. - -* +LIBFOO_ACTUAL_SOURCE_SITE+ provides the location of the actual - source tarball. The default value is +LIBFOO_SITE+, so you don't - need to set this variable if the binary and source archives are - hosted on the same directory. If +LIBFOO_ACTUAL_SOURCE_TARBALL+ is - not set, it doesn't make sense to define - +LIBFOO_ACTUAL_SOURCE_SITE+. - -* +LIBFOO_REDISTRIBUTE+ can be set to +YES+ (default) or +NO+ to indicate if - the package source code is allowed to be redistributed. Set it to +NO+ for - non-opensource packages: Buildroot will not save the source code for this - package when collecting the +legal-info+. - -* +LIBFOO_FLAT_STACKSIZE+ defines the stack size of an application built into - the FLAT binary format. The application stack size on the NOMMU architecture - processors can't be enlarged at run time. The default stack size for the - FLAT binary format is only 4k bytes. If the application consumes more stack, - append the required number here. - -* +LIBFOO_BIN_ARCH_EXCLUDE+ is a space-separated list of paths (relative - to the target directory) to ignore when checking that the package - installs correctly cross-compiled binaries. You seldom need to set this - variable, unless the package installs binary blobs outside the default - locations, `/lib/firmware`, `/usr/lib/firmware`, `/lib/modules`, - `/usr/lib/modules`, and `/usr/share`, which are automatically excluded. - -* +LIBFOO_IGNORE_CVES+ is a space-separated list of CVEs that tells - Buildroot CVE tracking tools which CVEs should be ignored for this - package. This is typically used when the CVE is fixed by a patch in - the package, or when the CVE for some reason does not affect the - Buildroot package. A Makefile comment must always precede the - addition of a CVE to this variable. Example: - ----------------------- -# 0001-fix-cve-2020-12345.patch -LIBFOO_IGNORE_CVES += CVE-2020-12345 -# only when built with libbaz, which Buildroot doesn't support -LIBFOO_IGNORE_CVES += CVE-2020-54321 ----------------------- - -* +LIBFOO_CPE_ID_*+ variables is a set of variables that allows the - package to define its https://nvd.nist.gov/products/cpe[CPE - identifier]. The available variables are: -+ --- -** +LIBFOO_CPE_ID_PREFIX+, specifies the prefix of the CPE identifier, - i.e the first three fields. When not defined, the default value is - +cpe:2.3:a+. - -** +LIBFOO_CPE_ID_VENDOR+, specifies the vendor part of the CPE - identifier. When not defined, the default value is - +_project+. - -** +LIBFOO_CPE_ID_PRODUCT+, specifies the product part of the CPE - identifier. When not defined, the default value is ++. - -** +LIBFOO_CPE_ID_VERSION+, specifies the version part of the CPE - identifier. When not defined the default value is - +$(LIBFOO_VERSION)+. - -** +LIBFOO_CPE_ID_UPDATE+ specifies the _update_ part of the CPE - identifier. When not defined the default value is +*+. --- -+ -If any of those variables is defined, then the generic package -infrastructure assumes the package provides valid CPE information. In -this case, the generic package infrastructure will define -+LIBFOO_CPE_ID+. -+ -For a host package, if its +LIBFOO_CPE_ID_*+ variables are not -defined, it inherits the value of those variables from the -corresponding target package. - -The recommended way to define these variables is to use the following -syntax: - ----------------------- -LIBFOO_VERSION = 2.32 ----------------------- - -Now, the variables that define what should be performed at the -different steps of the build process. - -* +LIBFOO_EXTRACT_CMDS+ lists the actions to be performed to extract - the package. This is generally not needed as tarballs are - automatically handled by Buildroot. However, if the package uses a - non-standard archive format, such as a ZIP or RAR file, or has a - tarball with a non-standard organization, this variable allows to - override the package infrastructure default behavior. - -* +LIBFOO_CONFIGURE_CMDS+ lists the actions to be performed to - configure the package before its compilation. - -* +LIBFOO_BUILD_CMDS+ lists the actions to be performed to - compile the package. - -* +HOST_LIBFOO_INSTALL_CMDS+ lists the actions to be performed - to install the package, when the package is a host package. The - package must install its files to the directory given by - +$(HOST_DIR)+. All files, including development files such as - headers should be installed, since other packages might be compiled - on top of this package. - -* +LIBFOO_INSTALL_TARGET_CMDS+ lists the actions to be - performed to install the package to the target directory, when the - package is a target package. The package must install its files to - the directory given by +$(TARGET_DIR)+. Only the files required for - 'execution' of the package have to be - installed. Header files, static libraries and documentation will be - removed again when the target filesystem is finalized. - -* +LIBFOO_INSTALL_STAGING_CMDS+ lists the actions to be - performed to install the package to the staging directory, when the - package is a target package. The package must install its files to - the directory given by +$(STAGING_DIR)+. All development files - should be installed, since they might be needed to compile other - packages. - -* +LIBFOO_INSTALL_IMAGES_CMDS+ lists the actions to be performed to - install the package to the images directory, when the package is a - target package. The package must install its files to the directory - given by +$(BINARIES_DIR)+. Only files that are binary images (aka - images) that do not belong in the +TARGET_DIR+ but are necessary - for booting the board should be placed here. For example, a package - should utilize this step if it has binaries which would be similar - to the kernel image, bootloader or root filesystem images. - -* +LIBFOO_INSTALL_INIT_SYSV+, +LIBFOO_INSTALL_INIT_OPENRC+ and - +LIBFOO_INSTALL_INIT_SYSTEMD+ list the actions to install init - scripts either for the systemV-like init systems (busybox, - sysvinit, etc.), openrc or for the systemd units. These commands - will be run only when the relevant init system is installed (i.e. - if systemd is selected as the init system in the configuration, - only +LIBFOO_INSTALL_INIT_SYSTEMD+ will be run). The only exception - is when openrc is chosen as init system and +LIBFOO_INSTALL_INIT_OPENRC+ - has not been set, in such situation +LIBFOO_INSTALL_INIT_SYSV+ will - be called, since openrc supports sysv init scripts. - When systemd is used as the init system, buildroot will automatically enable - all services using the +systemctl preset-all+ command in the final phase of - image building. You can add preset files to prevent a particular unit from - being automatically enabled by buildroot. - -* +LIBFOO_HELP_CMDS+ lists the actions to print the package help, which - is included to the main +make help+ output. These commands can print - anything in any format. - This is seldom used, as packages rarely have custom rules. *Do not use - this variable*, unless you really know that you need to print help. - -* +LIBFOO_LINUX_CONFIG_FIXUPS+ lists the Linux kernel configuration - options that are needed to build and use this package, and without - which the package is fundamentally broken. This shall be a set of - calls to one of the kconfig tweaking option: `KCONFIG_ENABLE_OPT`, - `KCONFIG_DISABLE_OPT`, or `KCONFIG_SET_OPT`. - This is seldom used, as package usually have no strict requirements on - the kernel options. - -The preferred way to define these variables is: - ----------------------- -define LIBFOO_CONFIGURE_CMDS - action 1 - action 2 - action 3 -endef ----------------------- - -In the action definitions, you can use the following variables: - -* +$(LIBFOO_PKGDIR)+ contains the path to the directory containing the - +libfoo.mk+ and +Config.in+ files. This variable is useful when it is - necessary to install a file bundled in Buildroot, like a runtime - configuration file, a splashscreen image... - -* +$(@D)+, which contains the directory in which the package source - code has been uncompressed. - -* +$(LIBFOO_DL_DIR)+ contains the path to the directory where all the downloads - made by Buildroot for +libfoo+ are stored in. - -* +$(TARGET_CC)+, +$(TARGET_LD)+, etc. to get the target - cross-compilation utilities - -* +$(TARGET_CROSS)+ to get the cross-compilation toolchain prefix - -* Of course the +$(HOST_DIR)+, +$(STAGING_DIR)+ and +$(TARGET_DIR)+ - variables to install the packages properly. Those variables point to - the global _host_, _staging_ and _target_ directories, unless - _per-package directory_ support is used, in which case they point to - the current package _host_, _staging_ and _target_ directories. In - both cases, it doesn't make any difference from the package point of - view: it should simply use +HOST_DIR+, +STAGING_DIR+ and - +TARGET_DIR+. See xref:top-level-parallel-build[] for more details - about _per-package directory_ support. - -Finally, you can also use hooks. See xref:hooks[] for more information. diff --git a/buildroot-2021.05/docs/manual/adding-packages-golang.txt b/buildroot-2021.05/docs/manual/adding-packages-golang.txt deleted file mode 100644 index 3b345792..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-golang.txt +++ /dev/null @@ -1,122 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Infrastructure for Go packages - -This infrastructure applies to Go packages that use the standard -build system and use bundled dependencies. - -[[golang-package-tutorial]] - -==== +golang-package+ tutorial - -First, let's see how to write a +.mk+ file for a go package, -with an example : - ------------------------- -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.0 -08: FOO_SITE = $(call github,bar,foo,$(FOO_VERSION)) -09: FOO_LICENSE = BSD-3-Clause -10: FOO_LICENSE_FILES = LICENSE -11: -12: $(eval $(golang-package)) ------------------------- - -On line 7, we declare the version of the package. - -On line 8, we declare the upstream location of the package, here -fetched from Github, since a large number of Go packages are hosted on -Github. - -On line 9 and 10, we give licensing details about the package. - -Finally, on line 12, we invoke the +golang-package+ macro that -generates all the Makefile rules that actually allow the package to be -built. - -[[golang-package-reference]] - -==== +golang-package+ reference - -In their +Config.in+ file, packages using the +golang-package+ -infrastructure should depend on +BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS+ -because Buildroot will automatically add a dependency on +host-go+ -to such packages. -If you need CGO support in your package, you must add a dependency on -+BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS+. - -The main macro of the Go package infrastructure is -+golang-package+. It is similar to the +generic-package+ macro. The -ability to build host packages is also available, with the -+host-golang-package+ macro. -Host packages built by +host-golang-package+ macro should depend on -BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS. - -Just like the generic infrastructure, the Go infrastructure works -by defining a number of variables before calling the +golang-package+. - -All the package metadata information variables that exist in the -xref:generic-package-reference[generic package infrastructure] also -exist in the Go infrastructure: +FOO_VERSION+, +FOO_SOURCE+, -+FOO_PATCH+, +FOO_SITE+, +FOO_SUBDIR+, +FOO_DEPENDENCIES+, -+FOO_LICENSE+, +FOO_LICENSE_FILES+, +FOO_INSTALL_STAGING+, etc. - -Note that it is not necessary to add +host-go+ in the -+FOO_DEPENDENCIES+ variable of a package, since this basic dependency -is automatically added as needed by the Go package infrastructure. - -A few additional variables, specific to the Go infrastructure, can -optionally be defined, depending on the package's needs. Many of them -are only useful in very specific cases, typical packages will -therefore only use a few of them, or none. - -* The package must specify its Go module name in the +FOO_GOMOD+ - variable. If not specified, it defaults to - +URL-domain/1st-part-of-URL/2nd-part-of-URL+, e.g +FOO_GOMOD+ will - take the value +github.com/bar/foo+ for a package that specifies - +FOO_SITE = $(call github,bar,foo,$(FOO_VERSION))+. The Go package - infrastructure will automatically generate a minimal +go.mod+ file - in the package source tree if it doesn't exist. - -* +FOO_LDFLAGS+ and +FOO_TAGS+ can be used to pass respectively the - +LDFLAGS+ or the +TAGS+ to the +go+ build command. - -* +FOO_BUILD_TARGETS+ can be used to pass the list of targets that - should be built. If +FOO_BUILD_TARGETS+ is not specified, it - defaults to +.+. We then have two cases: - -** +FOO_BUILD_TARGETS+ is +.+. In this case, we assume only one binary - will be produced, and that by default we name it after the package - name. If that is not appropriate, the name of the produced binary - can be overridden using +FOO_BIN_NAME+. - -** +FOO_BUILD_TARGETS+ is not +.+. In this case, we iterate over the - values to build each target, and for each produced a binary that is - the non-directory component of the target. For example if - +FOO_BUILD_TARGETS = cmd/docker cmd/dockerd+ the binaries produced - are +docker+ and +dockerd+. - -* +FOO_INSTALL_BINS+ can be used to pass the list of binaries that - should be installed in +/usr/bin+ on the target. If - +FOO_INSTALL_BINS+ is not specified, it defaults to the lower-case - name of package. - -With the Go infrastructure, all the steps required to build and -install the packages are already defined, and they generally work well -for most Go-based packages. However, when required, it is still -possible to customize what is done in any particular step: - -* By adding a post-operation hook (after extract, patch, configure, - build or install). See xref:hooks[] for details. - -* By overriding one of the steps. For example, even if the Go - infrastructure is used, if the package +.mk+ file defines its own - +FOO_BUILD_CMDS+ variable, it will be used instead of the default Go - one. However, using this method should be restricted to very - specific cases. Do not use it in the general case. diff --git a/buildroot-2021.05/docs/manual/adding-packages-kconfig.txt b/buildroot-2021.05/docs/manual/adding-packages-kconfig.txt deleted file mode 100644 index 8f40ea60..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-kconfig.txt +++ /dev/null @@ -1,93 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Infrastructure for packages using kconfig for configuration files - -A popular way for a software package to handle user-specified -configuration is +kconfig+. Among others, it is used by the Linux -kernel, Busybox, and Buildroot itself. The presence of a .config file -and a +menuconfig+ target are two well-known symptoms of kconfig being -used. - -Buildroot features an infrastructure for packages that use kconfig for -their configuration. This infrastructure provides the necessary logic to -expose the package's +menuconfig+ target as +foo-menuconfig+ in -Buildroot, and to handle the copying back and forth of the configuration -file in a correct way. - -The +kconfig-package+ infrastructure is based on the +generic-package+ -infrastructure. All variables supported by +generic-package+ are -available in +kconfig-package+ as well. See -xref:generic-package-reference[] for more details. - -In order to use the +kconfig-package+ infrastructure for a Buildroot -package, the minimally required lines in the +.mk+ file, in addition to -the variables required by the +generic-package+ infrastructure, are: - ------------------------------- -FOO_KCONFIG_FILE = reference-to-source-configuration-file - -$(eval $(kconfig-package)) ------------------------------- - -This snippet creates the following make targets: - -* +foo-menuconfig+, which calls the package's +menuconfig+ target - -* +foo-update-config+, which copies the configuration back to the - source configuration file. It is not possible to use this target - when fragment files are set. - -* +foo-update-defconfig+, which copies the configuration back to the - source configuration file. The configuration file will only list the - options that differ from the default values. It is not possible to - use this target when fragment files are set. - -* +foo-diff-config+, which outputs the differences between the current - configuration and the one defined in the Buildroot configuration for - this kconfig package. The output is useful to identify the - configuration changes that may have to be propagated to - configuration fragments for example. - -and ensures that the source configuration file is copied to the build -directory at the right moment. - -There are two options to specify a configuration file to use, either -+FOO_KCONFIG_FILE+ (as in the example, above) or +FOO_KCONFIG_DEFCONFIG+. -It is mandatory to provide either, but not both: - -* +FOO_KCONFIG_FILE+ specifies the path to a defconfig or full-config file - to be used to configure the package. - -* +FOO_KCONFIG_DEFCONFIG+ specifies the defconfig 'make' rule to call to - configure the package. - -In addition to these minimally required lines, several optional variables can -be set to suit the needs of the package under consideration: - -* +FOO_KCONFIG_EDITORS+: a space-separated list of kconfig editors to - support, for example 'menuconfig xconfig'. By default, 'menuconfig'. - -* +FOO_KCONFIG_FRAGMENT_FILES+: a space-separated list of configuration - fragment files that are merged to the main configuration file. - Fragment files are typically used when there is a desire to stay in sync - with an upstream (def)config file, with some minor modifications. - -* +FOO_KCONFIG_OPTS+: extra options to pass when calling the kconfig - editors. This may need to include '$(FOO_MAKE_OPTS)', for example. By - default, empty. - -* +FOO_KCONFIG_FIXUP_CMDS+: a list of shell commands needed to fixup the - configuration file after copying it or running a kconfig editor. Such - commands may be needed to ensure a configuration consistent with other - configuration of Buildroot, for example. By default, empty. - -* +FOO_KCONFIG_DOTCONFIG+: path (with filename) of the +.config+ file, - relative to the package source tree. The default, +.config+, should - be well suited for all packages that use the standard kconfig - infrastructure as inherited from the Linux kernel; some packages use - a derivative of kconfig that use a different location. - -* +FOO_KCONFIG_DEPENDENCIES+: the list of packages (most probably, host - packages) that need to be built before this package's kconfig is - interpreted. Seldom used. By default, empty. diff --git a/buildroot-2021.05/docs/manual/adding-packages-kernel-module.txt b/buildroot-2021.05/docs/manual/adding-packages-kernel-module.txt deleted file mode 100644 index b609ecc9..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-kernel-module.txt +++ /dev/null @@ -1,143 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Infrastructure for packages building kernel modules - -Buildroot offers a helper infrastructure to make it easy to write packages that -build and install Linux kernel modules. Some packages only contain a kernel -module, other packages contain programs and libraries in addition to kernel -modules. Buildroot's helper infrastructure supports either case. - -[[kernel-module-tutorial]] -==== +kernel-module+ tutorial - -Let's start with an example on how to prepare a simple package that only -builds a kernel module, and no other component: - ----- -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.2.3 -08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz -09: FOO_SITE = http://www.foosoftware.org/download -10: FOO_LICENSE = GPL-2.0 -11: FOO_LICENSE_FILES = COPYING -12: -13: $(eval $(kernel-module)) -14: $(eval $(generic-package)) ----- - -Lines 7-11 define the usual meta-data to specify the version, archive name, -remote URI where to find the package source, licensing information. - -On line 13, we invoke the +kernel-module+ helper infrastructure, that -generates all the appropriate Makefile rules and variables to build -that kernel module. - -Finally, on line 14, we invoke the -xref:generic-package-tutorial[+generic-package+ infrastructure]. - -The dependency on +linux+ is automatically added, so it is not needed to -specify it in +FOO_DEPENDENCIES+. - -What you may have noticed is that, unlike other package infrastructures, -we explicitly invoke a second infrastructure. This allows a package to -build a kernel module, but also, if needed, use any one of other package -infrastructures to build normal userland components (libraries, -executables...). Using the +kernel-module+ infrastructure on its own is -not sufficient; another package infrastructure *must* be used. - -Let's look at a more complex example: - ----- -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.2.3 -08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz -09: FOO_SITE = http://www.foosoftware.org/download -10: FOO_LICENSE = GPL-2.0 -11: FOO_LICENSE_FILES = COPYING -12: -13: FOO_MODULE_SUBDIRS = driver/base -14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED) -15: -16: ifeq ($(BR2_PACKAGE_LIBBAR),y) -17: FOO_DEPENDENCIES = libbar -18: FOO_CONF_OPTS = --enable-bar -19: FOO_MODULE_SUBDIRS += driver/bar -20: else -21: FOO_CONF_OPTS = --disable-bar -22: endif -23: -24: $(eval $(kernel-module)) -26: $(eval $(autotools-package)) ----- - -Here, we see that we have an autotools-based package, that also builds -the kernel module located in sub-directory +driver/base+ and, if libbar -is enabled, the kernel module located in sub-directory +driver/bar+, and -defines the variable +KVERSION+ to be passed to the Linux buildsystem -when building the module(s). - - -[[kernel-module-reference]] -==== +kernel-module+ reference - -The main macro for the kernel module infrastructure is +kernel-module+. -Unlike other package infrastructures, it is not stand-alone, and requires -any of the other +*-package+ macros be called after it. - -The +kernel-module+ macro defines post-build and post-target-install -hooks to build the kernel modules. If the package's +.mk+ needs access -to the built kernel modules, it should do so in a post-build hook, -*registered after* the call to +kernel-module+. Similarly, if the -package's +.mk+ needs access to the kernel module after it has been -installed, it should do so in a post-install hook, *registered after* -the call to +kernel-module+. Here's an example: - ----- -$(eval $(kernel-module)) - -define FOO_DO_STUFF_WITH_KERNEL_MODULE - # Do something with it... -endef -FOO_POST_BUILD_HOOKS += FOO_DO_STUFF_WITH_KERNEL_MODULE - -$(eval $(generic-package)) ----- - -Finally, unlike the other package infrastructures, there is no -+host-kernel-module+ variant to build a host kernel module. - -The following additional variables can optionally be defined to further -configure the build of the kernel module: - -* +FOO_MODULE_SUBDIRS+ may be set to one or more sub-directories (relative - to the package source top-directory) where the kernel module sources are. - If empty or not set, the sources for the kernel module(s) are considered - to be located at the top of the package source tree. - -* +FOO_MODULE_MAKE_OPTS+ may be set to contain extra variable definitions - to pass to the Linux buildsystem. - -[[kernel-variables]] -You may also reference (but you may *not* set!) those variables: - - * +LINUX_DIR+ contains the path to where the Linux kernel has been - extracted and built. - - * +LINUX_VERSION+ contains the version string as configured by the user. - - * +LINUX_VERSION_PROBED+ contains the real version string of the kernel, - retrieved with running `make -C $(LINUX_DIR) kernelrelease` - - * +KERNEL_ARCH+ contains the name of the current architecture, like `arm`, - `mips`... diff --git a/buildroot-2021.05/docs/manual/adding-packages-python.txt b/buildroot-2021.05/docs/manual/adding-packages-python.txt deleted file mode 100644 index 0c100859..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-python.txt +++ /dev/null @@ -1,260 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Infrastructure for Python packages - -This infrastructure applies to Python packages that use the standard -Python setuptools mechanism as their build system, generally -recognizable by the usage of a +setup.py+ script. - -[[python-package-tutorial]] - -==== +python-package+ tutorial - -First, let's see how to write a +.mk+ file for a Python package, -with an example : - ------------------------- -01: ################################################################################ -02: # -03: # python-foo -04: # -05: ################################################################################ -06: -07: PYTHON_FOO_VERSION = 1.0 -08: PYTHON_FOO_SOURCE = python-foo-$(PYTHON_FOO_VERSION).tar.xz -09: PYTHON_FOO_SITE = http://www.foosoftware.org/download -10: PYTHON_FOO_LICENSE = BSD-3-Clause -11: PYTHON_FOO_LICENSE_FILES = LICENSE -12: PYTHON_FOO_ENV = SOME_VAR=1 -13: PYTHON_FOO_DEPENDENCIES = libmad -14: PYTHON_FOO_SETUP_TYPE = distutils -15: -16: $(eval $(python-package)) ------------------------- - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location. - -On line 10 and 11, we give licensing details about the package (its -license on line 10, and the file containing the license text on line -11). - -On line 12, we tell Buildroot to pass custom options to the Python -+setup.py+ script when it is configuring the package. - -On line 13, we declare our dependencies, so that they are built -before the build process of our package starts. - -On line 14, we declare the specific Python build system being used. In -this case the +distutils+ Python build system is used. The two -supported ones are +distutils+ and +setuptools+. - -Finally, on line 16, we invoke the +python-package+ macro that -generates all the Makefile rules that actually allow the package to be -built. - -[[python-package-reference]] - -==== +python-package+ reference - -As a policy, packages that merely provide Python modules should all be -named +python-+ in Buildroot. Other packages that use the -Python build system, but are not Python modules, can freely choose -their name (existing examples in Buildroot are +scons+ and -+supervisor+). - -Packages that are only compatible with one version of Python (as in: -Python 2 or Python 3) should depend on that version explicitely in -their +Config.in+ file (+BR2_PACKAGE_PYTHON+ for Python 2, -+BR2_PACKAGE_PYTHON3+ for Python 3). Packages that are compatible -with both versions should not explicitely depend on them in their -+Config.in+ file, since that condition is already expressed for the -whole "External python modules" menu. - -The main macro of the Python package infrastructure is -+python-package+. It is similar to the +generic-package+ macro. It is -also possible to create Python host packages with the -+host-python-package+ macro. - -Just like the generic infrastructure, the Python infrastructure works -by defining a number of variables before calling the +python-package+ -or +host-python-package+ macros. - -All the package metadata information variables that exist in the -xref:generic-package-reference[generic package infrastructure] also -exist in the Python infrastructure: +PYTHON_FOO_VERSION+, -+PYTHON_FOO_SOURCE+, +PYTHON_FOO_PATCH+, +PYTHON_FOO_SITE+, -+PYTHON_FOO_SUBDIR+, +PYTHON_FOO_DEPENDENCIES+, +PYTHON_FOO_LICENSE+, -+PYTHON_FOO_LICENSE_FILES+, +PYTHON_FOO_INSTALL_STAGING+, etc. - -Note that: - - * It is not necessary to add +python+ or +host-python+ in the - +PYTHON_FOO_DEPENDENCIES+ variable of a package, since these basic - dependencies are automatically added as needed by the Python - package infrastructure. - - * Similarly, it is not needed to add +host-setuptools+ to - +PYTHON_FOO_DEPENDENCIES+ for setuptools-based packages, since it's - automatically added by the Python infrastructure as needed. - -One variable specific to the Python infrastructure is mandatory: - -* +PYTHON_FOO_SETUP_TYPE+, to define which Python build system is used - by the package. The two supported values are +distutils+ and - +setuptools+. If you don't know which one is used in your package, - look at the +setup.py+ file in your package source code, and see - whether it imports things from the +distutils+ module or the - +setuptools+ module. - -A few additional variables, specific to the Python infrastructure, can -optionally be defined, depending on the package's needs. Many of them -are only useful in very specific cases, typical packages will -therefore only use a few of them, or none. - -* +PYTHON_FOO_SUBDIR+ may contain the name of a subdirectory inside the - package that contains the main +setup.py+ file. This is useful, - if for example, the main +setup.py+ file is not at the root of - the tree extracted by the tarball. If +HOST_PYTHON_FOO_SUBDIR+ is not - specified, it defaults to +PYTHON_FOO_SUBDIR+. - -* +PYTHON_FOO_ENV+, to specify additional environment variables to - pass to the Python +setup.py+ script (for both the build and install - steps). Note that the infrastructure is automatically passing - several standard variables, defined in +PKG_PYTHON_DISTUTILS_ENV+ - (for distutils target packages), +HOST_PKG_PYTHON_DISTUTILS_ENV+ - (for distutils host packages), +PKG_PYTHON_SETUPTOOLS_ENV+ (for - setuptools target packages) and +HOST_PKG_PYTHON_SETUPTOOLS_ENV+ - (for setuptools host packages). - -* +PYTHON_FOO_BUILD_OPTS+, to specify additional options to pass to the - Python +setup.py+ script during the build step. For target distutils - packages, the +PKG_PYTHON_DISTUTILS_BUILD_OPTS+ options are already - passed automatically by the infrastructure. - -* +PYTHON_FOO_INSTALL_TARGET_OPTS+, +PYTHON_FOO_INSTALL_STAGING_OPTS+, - +HOST_PYTHON_FOO_INSTALL_OPTS+ to specify additional options to pass - to the Python +setup.py+ script during the target installation step, - the staging installation step or the host installation, - respectively. Note that the infrastructure is automatically passing - some options, defined in +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS+ - or +PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS+ (for target distutils - packages), +HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS+ (for host - distutils packages), +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS+ or - +PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS+ (for target setuptools - packages) and +HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS+ (for host - setuptools packages). - -* +HOST_PYTHON_FOO_NEEDS_HOST_PYTHON+, to define the host python - interpreter. The usage of this variable is limited to host - packages. The two supported value are +python2+ and +python3+. It - will ensure the right host python package is available and will - invoke it for the build. If some build steps are overloaded, the - right python interpreter must be explicitly called in the commands. - -With the Python infrastructure, all the steps required to build and -install the packages are already defined, and they generally work well -for most Python-based packages. However, when required, it is still -possible to customize what is done in any particular step: - -* By adding a post-operation hook (after extract, patch, configure, - build or install). See xref:hooks[] for details. - -* By overriding one of the steps. For example, even if the Python - infrastructure is used, if the package +.mk+ file defines its own - +PYTHON_FOO_BUILD_CMDS+ variable, it will be used instead of the - default Python one. However, using this method should be restricted - to very specific cases. Do not use it in the general case. - -[[scanpypi]] - -==== Generating a +python-package+ from a PyPI repository - -If the Python package for which you would like to create a Buildroot -package is available on PyPI, you may want to use the +scanpypi+ tool -located in +utils/+ to automate the process. - -You can find the list of existing PyPI packages -https://pypi.python.org[here]. - -+scanpypi+ requires Python's +setuptools+ package to be installed on -your host. - -When at the root of your buildroot directory just do : - ------------------------ -utils/scanpypi foo bar -o package ------------------------ - -This will generate packages +python-foo+ and +python-bar+ in the package -folder if they exist on https://pypi.python.org. - -Find the +external python modules+ menu and insert your package inside. -Keep in mind that the items inside a menu should be in alphabetical order. - -Please keep in mind that you'll most likely have to manually check the -package for any mistakes as there are things that cannot be guessed by -the generator (e.g. dependencies on any of the python core modules -such as BR2_PACKAGE_PYTHON_ZLIB). Also, please take note that the -license and license files are guessed and must be checked. You also -need to manually add the package to the +package/Config.in+ file. - -If your Buildroot package is not in the official Buildroot tree but in -a br2-external tree, use the -o flag as follows: - ------------------------ -utils/scanpypi foo bar -o other_package_dir ------------------------ - -This will generate packages +python-foo+ and +python-bar+ in the -+other_package_directory+ instead of +package+. - -Option +-h+ will list the available options: - ------------------------ -utils/scanpypi -h ------------------------ - -[[python-package-cffi-backend]] - -==== +python-package+ CFFI backend - -C Foreign Function Interface for Python (CFFI) provides a convenient -and reliable way to call compiled C code from Python using interface -declarations written in C. Python packages relying on this backend can -be identified by the appearance of a +cffi+ dependency in the -+install_requires+ field of their +setup.py+ file. - -Such a package should: - - * add +python-cffi+ as a runtime dependency in order to install the -compiled C library wrapper on the target. This is achieved by adding -+select BR2_PACKAGE_PYTHON_CFFI+ to the package +Config.in+. - ------------------------- -config BR2_PACKAGE_PYTHON_FOO - bool "python-foo" - select BR2_PACKAGE_PYTHON_CFFI # runtime ------------------------- - - * add +host-python-cffi+ as a build-time dependency in order to -cross-compile the C wrapper. This is achieved by adding -+host-python-cffi+ to the +PYTHON_FOO_DEPENDENCIES+ variable. - ------------------------- -################################################################################ -# -# python-foo -# -################################################################################ - -... - -PYTHON_FOO_DEPENDENCIES = host-python-cffi - -$(eval $(python-package)) ------------------------- diff --git a/buildroot-2021.05/docs/manual/adding-packages-qmake.txt b/buildroot-2021.05/docs/manual/adding-packages-qmake.txt deleted file mode 100644 index c7e6ff35..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-qmake.txt +++ /dev/null @@ -1,85 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Infrastructure for QMake-based packages - -[[qmake-package-tutorial]] - -==== +qmake-package+ tutorial - -First, let's see how to write a +.mk+ file for a QMake-based package, with -an example : - ------------------------- -01: ################################################################################ -02: # -03: # libfoo -04: # -05: ################################################################################ -06: -07: LIBFOO_VERSION = 1.0 -08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz -09: LIBFOO_SITE = http://www.foosoftware.org/download -10: LIBFOO_CONF_OPTS = QT_CONFIG+=bar QT_CONFIG-=baz -11: LIBFOO_DEPENDENCIES = bar -12: -13: $(eval $(qmake-package)) ------------------------- - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location. - -On line 10, we tell Buildroot what options to enable for libfoo. - -On line 11, we tell Buildroot the dependencies of libfoo. - -Finally, on line line 13, we invoke the +qmake-package+ -macro that generates all the Makefile rules that actually allows the -package to be built. - -[[qmake-package-reference]] - -==== +qmake-package+ reference - -The main macro of the QMake package infrastructure is +qmake-package+. -It is similar to the +generic-package+ macro. - -Just like the generic infrastructure, the QMake infrastructure works -by defining a number of variables before calling the +qmake-package+ -macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the QMake infrastructure: -+LIBFOO_VERSION+, +LIBFOO_SOURCE+, +LIBFOO_PATCH+, +LIBFOO_SITE+, -+LIBFOO_SUBDIR+, +LIBFOO_DEPENDENCIES+, +LIBFOO_INSTALL_STAGING+, -+LIBFOO_INSTALL_TARGET+. - -An additional variable, specific to the QMake infrastructure, can -also be defined. - -* +LIBFOO_CONF_ENV+, to specify additional environment variables to - pass to the +qmake+ script for the configuration step. By default, empty. - -* +LIBFOO_CONF_OPTS+, to specify additional options to pass to the - +qmake+ script for the configuration step. By default, empty. - -* +LIBFOO_MAKE_ENV+, to specify additional environment variables to the - +make+ command during the build and install steps. By default, empty. - -* +LIBFOO_MAKE_OPTS+, to specify additional targets to pass to the - +make+ command during the build step. By default, empty. - -* +LIBFOO_INSTALL_STAGING_OPTS+, to specify additional targets to pass - to the +make+ command during the staging installation step. By default, - +install+. - -* +LIBFOO_INSTALL_TARGET_OPTS+, to specify additional targets to pass - to the +make+ command during the target installation step. By default, - +install+. - -* +LIBFOO_SYNC_HEADERS+, to run syncqt.pl before qmake. Some packages - need this to have a properly populated include directory before - running the build. diff --git a/buildroot-2021.05/docs/manual/adding-packages-virtual.txt b/buildroot-2021.05/docs/manual/adding-packages-virtual.txt deleted file mode 100644 index 6326bb54..00000000 --- a/buildroot-2021.05/docs/manual/adding-packages-virtual.txt +++ /dev/null @@ -1,144 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -=== Infrastructure for virtual packages - -[[virtual-package-tutorial]] - -In Buildroot, a virtual package is a package whose functionalities are -provided by one or more packages, referred to as 'providers'. The virtual -package management is an extensible mechanism allowing the user to choose -the provider used in the rootfs. - -For example, 'OpenGL ES' is an API for 2D and 3D graphics on embedded systems. -The implementation of this API is different for the 'Allwinner Tech Sunxi' and -the 'Texas Instruments OMAP35xx' platforms. So +libgles+ will be a virtual -package and +sunxi-mali+ and +ti-gfx+ will be the providers. - -==== +virtual-package+ tutorial - -In the following example, we will explain how to add a new virtual package -('something-virtual') and a provider for it ('some-provider'). - -First, let's create the virtual package. - -==== Virtual package's +Config.in+ file - -The +Config.in+ file of virtual package 'something-virtual' should contain: - ---------------------------- -01: config BR2_PACKAGE_HAS_SOMETHING_VIRTUAL -02: bool -03: -04: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL -05: depends on BR2_PACKAGE_HAS_SOMETHING_VIRTUAL -06: string ---------------------------- - -In this file, we declare two options, +BR2_PACKAGE_HAS_SOMETHING_VIRTUAL+ and -+BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL+, whose values will be used by the -providers. - -==== Virtual package's +.mk+ file - -The +.mk+ for the virtual package should just evaluate the +virtual-package+ macro: - ---------------------------- -01: ################################################################################ -02: # -03: # something-virtual -04: # -05: ################################################################################ -06: -07: $(eval $(virtual-package)) ---------------------------- - -The ability to have target and host packages is also available, with the -+host-virtual-package+ macro. - -==== Provider's +Config.in+ file - -When adding a package as a provider, only the +Config.in+ file requires some -modifications. - -The +Config.in+ file of the package 'some-provider', which provides the -functionalities of 'something-virtual', should contain: - ---------------------------- -01: config BR2_PACKAGE_SOME_PROVIDER -02: bool "some-provider" -03: select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL -04: help -05: This is a comment that explains what some-provider is. -06: -07: http://foosoftware.org/some-provider/ -08: -09: if BR2_PACKAGE_SOME_PROVIDER -10: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL -11: default "some-provider" -12: endif ---------------------------- - -On line 3, we select +BR2_PACKAGE_HAS_SOMETHING_VIRTUAL+, and on line 11, we -set the value of +BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL+ to the name of the -provider, but only if it is selected. - -==== Provider's +.mk+ file - -The +.mk+ file should also declare an additional variable -+SOME_PROVIDER_PROVIDES+ to contain the names of all the virtual -packages it is an implementation of: - ---------------------------- -01: SOME_PROVIDER_PROVIDES = something-virtual ---------------------------- - -Of course, do not forget to add the proper build and runtime dependencies for -this package! - -==== Notes on depending on a virtual package - -When adding a package that requires a certain +FEATURE+ provided by a virtual -package, you have to use +depends on BR2_PACKAGE_HAS_FEATURE+, like so: - ---------------------------- -config BR2_PACKAGE_HAS_FEATURE - bool - -config BR2_PACKAGE_FOO - bool "foo" - depends on BR2_PACKAGE_HAS_FEATURE ---------------------------- - -==== Notes on depending on a specific provider - -If your package really requires a specific provider, then you'll have to -make your package +depends on+ this provider; you can _not_ +select+ a -provider. - -Let's take an example with two providers for a +FEATURE+: - ---------------------------- -config BR2_PACKAGE_HAS_FEATURE - bool - -config BR2_PACKAGE_FOO - bool "foo" - select BR2_PACKAGE_HAS_FEATURE - -config BR2_PACKAGE_BAR - bool "bar" - select BR2_PACKAGE_HAS_FEATURE ---------------------------- - -And you are adding a package that needs +FEATURE+ as provided by +foo+, -but not as provided by +bar+. - -If you were to use +select BR2_PACKAGE_FOO+, then the user would still -be able to select +BR2_PACKAGE_BAR+ in the menuconfig. This would create -a configuration inconsistency, whereby two providers of the same +FEATURE+ -would be enabled at once, one explicitly set by the user, the other -implicitly by your +select+. - -Instead, you have to use +depends on BR2_PACKAGE_FOO+, which avoids any -implicit configuration inconsistency. diff --git a/buildroot-2021.05/docs/manual/configure.txt b/buildroot-2021.05/docs/manual/configure.txt deleted file mode 100644 index c9eef567..00000000 --- a/buildroot-2021.05/docs/manual/configure.txt +++ /dev/null @@ -1,430 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -[[configure]] -== Buildroot configuration - -All the configuration options in +make *config+ have a help text -providing details about the option. - -The +make *config+ commands also offer a search tool. Read the help -message in the different frontend menus to know how to use it: - -* in _menuconfig_, the search tool is called by pressing +/+; -* in _xconfig_, the search tool is called by pressing +Ctrl+ + +f+. - -The result of the search shows the help message of the matching items. -In _menuconfig_, numbers in the left column provide a shortcut to the -corresponding entry. Just type this number to directly jump to the -entry, or to the containing menu in case the entry is not selectable due -to a missing dependency. - -Although the menu structure and the help text of the entries should be -sufficiently self-explanatory, a number of topics require additional -explanation that cannot easily be covered in the help text and are -therefore covered in the following sections. - -=== Cross-compilation toolchain - -A compilation toolchain is the set of tools that allows you to compile -code for your system. It consists of a compiler (in our case, +gcc+), -binary utils like assembler and linker (in our case, +binutils+) and a -C standard library (for example -http://www.gnu.org/software/libc/libc.html[GNU Libc], -http://www.uclibc-ng.org/[uClibc-ng]). - -The system installed on your development station certainly already has -a compilation toolchain that you can use to compile an application -that runs on your system. If you're using a PC, your compilation -toolchain runs on an x86 processor and generates code for an x86 -processor. Under most Linux systems, the compilation toolchain uses -the GNU libc (glibc) as the C standard library. This compilation -toolchain is called the "host compilation toolchain". The machine on -which it is running, and on which you're working, is called the "host -system" footnote:[This terminology differs from what is used by GNU -configure, where the host is the machine on which the application will -run (which is usually the same as target)]. - -The compilation toolchain is provided by your distribution, and -Buildroot has nothing to do with it (other than using it to build a -cross-compilation toolchain and other tools that are run on the -development host). - -As said above, the compilation toolchain that comes with your system -runs on and generates code for the processor in your host system. As -your embedded system has a different processor, you need a -cross-compilation toolchain - a compilation toolchain that runs on -your _host system_ but generates code for your _target system_ (and -target processor). For example, if your host system uses x86 and your -target system uses ARM, the regular compilation toolchain on your host -runs on x86 and generates code for x86, while the cross-compilation -toolchain runs on x86 and generates code for ARM. - -Buildroot provides two solutions for the cross-compilation toolchain: - - * The *internal toolchain backend*, called +Buildroot toolchain+ in - the configuration interface. - - * The *external toolchain backend*, called +External toolchain+ in - the configuration interface. - -The choice between these two solutions is done using the +Toolchain -Type+ option in the +Toolchain+ menu. Once one solution has been -chosen, a number of configuration options appear, they are detailed in -the following sections. - -[[internal-toolchain-backend]] -==== Internal toolchain backend - -The _internal toolchain backend_ is the backend where Buildroot builds -by itself a cross-compilation toolchain, before building the userspace -applications and libraries for your target embedded system. - -This backend supports several C libraries: -http://www.uclibc-ng.org[uClibc-ng], -http://www.gnu.org/software/libc/libc.html[glibc] and -http://www.musl-libc.org[musl]. - -Once you have selected this backend, a number of options appear. The -most important ones allow to: - - * Change the version of the Linux kernel headers used to build the - toolchain. This item deserves a few explanations. In the process of - building a cross-compilation toolchain, the C library is being - built. This library provides the interface between userspace - applications and the Linux kernel. In order to know how to "talk" - to the Linux kernel, the C library needs to have access to the - _Linux kernel headers_ (i.e. the +.h+ files from the kernel), which - define the interface between userspace and the kernel (system - calls, data structures, etc.). Since this interface is backward - compatible, the version of the Linux kernel headers used to build - your toolchain do not need to match _exactly_ the version of the - Linux kernel you intend to run on your embedded system. They only - need to have a version equal or older to the version of the Linux - kernel you intend to run. If you use kernel headers that are more - recent than the Linux kernel you run on your embedded system, then - the C library might be using interfaces that are not provided by - your Linux kernel. - - * Change the version of the GCC compiler, binutils and the C library. - - * Select a number of toolchain options (uClibc only): whether the - toolchain should have RPC support (used mainly for NFS), - wide-char support, locale support (for internationalization), - C++ support or thread support. Depending on which options you choose, - the number of userspace applications and libraries visible in - Buildroot menus will change: many applications and libraries require - certain toolchain options to be enabled. Most packages show a comment - when a certain toolchain option is required to be able to enable - those packages. If needed, you can further refine the uClibc - configuration by running +make uclibc-menuconfig+. Note however that - all packages in Buildroot are tested against the default uClibc - configuration bundled in Buildroot: if you deviate from this - configuration by removing features from uClibc, some packages may no - longer build. - -It is worth noting that whenever one of those options is modified, -then the entire toolchain and system must be rebuilt. See -xref:full-rebuild[]. - -Advantages of this backend: - -* Well integrated with Buildroot -* Fast, only builds what's necessary - -Drawbacks of this backend: - -* Rebuilding the toolchain is needed when doing +make clean+, which - takes time. If you're trying to reduce your build time, consider - using the _External toolchain backend_. - -[[external-toolchain-backend]] -==== External toolchain backend - -The _external toolchain backend_ allows to use existing pre-built -cross-compilation toolchains. Buildroot knows about a number of -well-known cross-compilation toolchains (from -http://www.linaro.org[Linaro] for ARM, -http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/[Sourcery -CodeBench] for ARM, x86-64, PowerPC, and MIPS, and is capable of -downloading them automatically, or it can be pointed to a custom -toolchain, either available for download or installed locally. - -Then, you have three solutions to use an external toolchain: - -* Use a predefined external toolchain profile, and let Buildroot - download, extract and install the toolchain. Buildroot already knows - about a few CodeSourcery and Linaro toolchains. Just select the - toolchain profile in +Toolchain+ from the available ones. This is - definitely the easiest solution. - -* Use a predefined external toolchain profile, but instead of having - Buildroot download and extract the toolchain, you can tell Buildroot - where your toolchain is already installed on your system. Just - select the toolchain profile in +Toolchain+ through the available - ones, unselect +Download toolchain automatically+, and fill the - +Toolchain path+ text entry with the path to your cross-compiling - toolchain. - -* Use a completely custom external toolchain. This is particularly - useful for toolchains generated using crosstool-NG or with Buildroot - itself. To do this, select the +Custom toolchain+ solution in the - +Toolchain+ list. You need to fill the +Toolchain path+, +Toolchain - prefix+ and +External toolchain C library+ options. Then, you have - to tell Buildroot what your external toolchain supports. If your - external toolchain uses the 'glibc' library, you only have to tell - whether your toolchain supports C\++ or not and whether it has - built-in RPC support. If your external toolchain uses the 'uClibc' - library, then you have to tell Buildroot if it supports RPC, - wide-char, locale, program invocation, threads and C++. - At the beginning of the execution, Buildroot will tell you if - the selected options do not match the toolchain configuration. - -Our external toolchain support has been tested with toolchains from -CodeSourcery and Linaro, toolchains generated by -http://crosstool-ng.org[crosstool-NG], and toolchains generated by -Buildroot itself. In general, all toolchains that support the -'sysroot' feature should work. If not, do not hesitate to contact the -developers. - -We do not support toolchains or SDK generated by OpenEmbedded or -Yocto, because these toolchains are not pure toolchains (i.e. just the -compiler, binutils, the C and C++ libraries). Instead these toolchains -come with a very large set of pre-compiled libraries and -programs. Therefore, Buildroot cannot import the 'sysroot' of the -toolchain, as it would contain hundreds of megabytes of pre-compiled -libraries that are normally built by Buildroot. - -We also do not support using the distribution toolchain (i.e. the -gcc/binutils/C library installed by your distribution) as the -toolchain to build software for the target. This is because your -distribution toolchain is not a "pure" toolchain (i.e. only with the -C/C++ library), so we cannot import it properly into the Buildroot -build environment. So even if you are building a system for a x86 or -x86_64 target, you have to generate a cross-compilation toolchain with -Buildroot or crosstool-NG. - -If you want to generate a custom toolchain for your project, that can -be used as an external toolchain in Buildroot, our recommendation is -to build it either with Buildroot itself (see -xref:build-toolchain-with-buildroot[]) or with -http://crosstool-ng.org[crosstool-NG]. - -Advantages of this backend: - -* Allows to use well-known and well-tested cross-compilation - toolchains. - -* Avoids the build time of the cross-compilation toolchain, which is - often very significant in the overall build time of an embedded - Linux system. - -Drawbacks of this backend: - -* If your pre-built external toolchain has a bug, may be hard to get a - fix from the toolchain vendor, unless you build your external - toolchain by yourself using Buildroot or Crosstool-NG. - -[[build-toolchain-with-buildroot]] -==== Build an external toolchain with Buildroot - -The Buildroot internal toolchain option can be used to create an -external toolchain. Here are a series of steps to build an internal -toolchain and package it up for reuse by Buildroot itself (or other -projects). - -Create a new Buildroot configuration, with the following details: - -* Select the appropriate *Target options* for your target CPU - architecture - -* In the *Toolchain* menu, keep the default of *Buildroot toolchain* - for *Toolchain type*, and configure your toolchain as desired - -* In the *System configuration* menu, select *None* as the *Init - system* and *none* as */bin/sh* - -* In the *Target packages* menu, disable *BusyBox* - -* In the *Filesystem images* menu, disable *tar the root filesystem* - -Then, we can trigger the build, and also ask Buildroot to generate a -SDK. This will conveniently generate for us a tarball which contains -our toolchain: - ------ -make sdk ------ - -This produces the SDK tarball in +$(O)/images+, with a name similar to -+arm-buildroot-linux-uclibcgnueabi_sdk-buildroot.tar.gz+. Save this -tarball, as it is now the toolchain that you can re-use as an external -toolchain in other Buildroot projects. - -In those other Buildroot projects, in the *Toolchain* menu: - -* Set *Toolchain type* to *External toolchain* - -* Set *Toolchain* to *Custom toolchain* - -* Set *Toolchain origin* to *Toolchain to be downloaded and installed* - -* Set *Toolchain URL* to +file:///path/to/your/sdk/tarball.tar.gz+ - -===== External toolchain wrapper - -When using an external toolchain, Buildroot generates a wrapper program, -that transparently passes the appropriate options (according to the -configuration) to the external toolchain programs. In case you need to -debug this wrapper to check exactly what arguments are passed, you can -set the environment variable +BR2_DEBUG_WRAPPER+ to either one of: - -* +0+, empty or not set: no debug - -* +1+: trace all arguments on a single line - -* +2+: trace one argument per line - -=== /dev management - -On a Linux system, the +/dev+ directory contains special files, called -_device files_, that allow userspace applications to access the -hardware devices managed by the Linux kernel. Without these _device -files_, your userspace applications would not be able to use the -hardware devices, even if they are properly recognized by the Linux -kernel. - -Under +System configuration+, +/dev management+, Buildroot offers four -different solutions to handle the +/dev+ directory : - - * The first solution is *Static using device table*. This is the old - classical way of handling device files in Linux. With this method, - the device files are persistently stored in the root filesystem - (i.e. they persist across reboots), and there is nothing that will - automatically create and remove those device files when hardware - devices are added or removed from the system. Buildroot therefore - creates a standard set of device files using a _device table_, the - default one being stored in +system/device_table_dev.txt+ in the - Buildroot source code. This file is processed when Buildroot - generates the final root filesystem image, and the _device files_ - are therefore not visible in the +output/target+ directory. The - +BR2_ROOTFS_STATIC_DEVICE_TABLE+ option allows to change the - default device table used by Buildroot, or to add an additional - device table, so that additional _device files_ are created by - Buildroot during the build. So, if you use this method, and a - _device file_ is missing in your system, you can for example create - a +board///device_table_dev.txt+ file - that contains the description of your additional _device files_, - and then you can set +BR2_ROOTFS_STATIC_DEVICE_TABLE+ to - +system/device_table_dev.txt - board///device_table_dev.txt+. For more - details about the format of the device table file, see - xref:makedev-syntax[]. - - * The second solution is *Dynamic using devtmpfs only*. _devtmpfs_ is - a virtual filesystem inside the Linux kernel that has been - introduced in kernel 2.6.32 (if you use an older kernel, it is not - possible to use this option). When mounted in +/dev+, this virtual - filesystem will automatically make _device files_ appear and - disappear as hardware devices are added and removed from the - system. This filesystem is not persistent across reboots: it is - filled dynamically by the kernel. Using _devtmpfs_ requires the - following kernel configuration options to be enabled: - +CONFIG_DEVTMPFS+ and +CONFIG_DEVTMPFS_MOUNT+. When Buildroot is in - charge of building the Linux kernel for your embedded device, it - makes sure that those two options are enabled. However, if you - build your Linux kernel outside of Buildroot, then it is your - responsibility to enable those two options (if you fail to do so, - your Buildroot system will not boot). - - * The third solution is *Dynamic using devtmpfs + mdev*. This method - also relies on the _devtmpfs_ virtual filesystem detailed above (so - the requirement to have +CONFIG_DEVTMPFS+ and - +CONFIG_DEVTMPFS_MOUNT+ enabled in the kernel configuration still - apply), but adds the +mdev+ userspace utility on top of it. +mdev+ - is a program part of BusyBox that the kernel will call every time a - device is added or removed. Thanks to the +/etc/mdev.conf+ - configuration file, +mdev+ can be configured to for example, set - specific permissions or ownership on a device file, call a script - or application whenever a device appears or disappear, - etc. Basically, it allows _userspace_ to react on device addition - and removal events. +mdev+ can for example be used to automatically - load kernel modules when devices appear on the system. +mdev+ is - also important if you have devices that require a firmware, as it - will be responsible for pushing the firmware contents to the - kernel. +mdev+ is a lightweight implementation (with fewer - features) of +udev+. For more details about +mdev+ and the syntax - of its configuration file, see - http://git.busybox.net/busybox/tree/docs/mdev.txt. - - * The fourth solution is *Dynamic using devtmpfs + eudev*. This - method also relies on the _devtmpfs_ virtual filesystem detailed - above, but adds the +eudev+ userspace daemon on top of it. +eudev+ - is a daemon that runs in the background, and gets called by the - kernel when a device gets added or removed from the system. It is a - more heavyweight solution than +mdev+, but provides higher - flexibility. +eudev+ is a standalone version of +udev+, the - original userspace daemon used in most desktop Linux distributions, - which is now part of Systemd. For more details, see - http://en.wikipedia.org/wiki/Udev. - -The Buildroot developers recommendation is to start with the *Dynamic -using devtmpfs only* solution, until you have the need for userspace -to be notified when devices are added/removed, or if firmwares are -needed, in which case *Dynamic using devtmpfs + mdev* is usually a -good solution. - -Note that if +systemd+ is chosen as init system, /dev management will -be performed by the +udev+ program provided by +systemd+. - -=== init system - -The _init_ program is the first userspace program started by the -kernel (it carries the PID number 1), and is responsible for starting -the userspace services and programs (for example: web server, -graphical applications, other network servers, etc.). - -Buildroot allows to use three different types of init systems, which -can be chosen from +System configuration+, +Init system+: - - * The first solution is *BusyBox*. Amongst many programs, BusyBox has - an implementation of a basic +init+ program, which is sufficient - for most embedded systems. Enabling the +BR2_INIT_BUSYBOX+ will - ensure BusyBox will build and install its +init+ program. This is - the default solution in Buildroot. The BusyBox +init+ program will - read the +/etc/inittab+ file at boot to know what to do. The syntax - of this file can be found in - http://git.busybox.net/busybox/tree/examples/inittab (note that - BusyBox +inittab+ syntax is special: do not use a random +inittab+ - documentation from the Internet to learn about BusyBox - +inittab+). The default +inittab+ in Buildroot is stored in - +system/skeleton/etc/inittab+. Apart from mounting a few important - filesystems, the main job the default inittab does is to start the - +/etc/init.d/rcS+ shell script, and start a +getty+ program (which - provides a login prompt). - - * The second solution is *systemV*. This solution uses the old - traditional _sysvinit_ program, packed in Buildroot in - +package/sysvinit+. This was the solution used in most desktop - Linux distributions, until they switched to more recent - alternatives such as Upstart or Systemd. +sysvinit+ also works with - an +inittab+ file (which has a slightly different syntax than the - one from BusyBox). The default +inittab+ installed with this init - solution is located in +package/sysvinit/inittab+. - - * The third solution is *systemd*. +systemd+ is the new generation - init system for Linux. It does far more than traditional _init_ - programs: aggressive parallelization capabilities, uses socket and - D-Bus activation for starting services, offers on-demand starting - of daemons, keeps track of processes using Linux control groups, - supports snapshotting and restoring of the system state, - etc. +systemd+ will be useful on relatively complex embedded - systems, for example the ones requiring D-Bus and services - communicating between each other. It is worth noting that +systemd+ - brings a fairly big number of large dependencies: +dbus+, +udev+ - and more. For more details about +systemd+, see - http://www.freedesktop.org/wiki/Software/systemd. - -The solution recommended by Buildroot developers is to use the -*BusyBox init* as it is sufficient for most embedded -systems. *systemd* can be used for more complex situations. diff --git a/buildroot-2021.05/docs/manual/contribute.txt b/buildroot-2021.05/docs/manual/contribute.txt deleted file mode 100644 index 14ecdbd6..00000000 --- a/buildroot-2021.05/docs/manual/contribute.txt +++ /dev/null @@ -1,685 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -== Contributing to Buildroot - -There are many ways in which you can contribute to Buildroot: analyzing -and fixing bugs, analyzing and fixing package build failures detected by -the autobuilders, testing and reviewing patches sent by other -developers, working on the items in our TODO list and sending your own -improvements to Buildroot or its manual. The following sections give a -little more detail on each of these items. - -If you are interested in contributing to Buildroot, the first thing you -should do is to subscribe to the Buildroot mailing list. This list is -the main way of interacting with other Buildroot developers and to send -contributions to. If you aren't subscribed yet, then refer to -xref:community-resources[] for the subscription link. - -If you are going to touch the code, it is highly recommended to use a -git repository of Buildroot, rather than starting from an extracted -source code tarball. Git is the easiest way to develop from and directly -send your patches to the mailing list. Refer to xref:getting-buildroot[] -for more information on obtaining a Buildroot git tree. - -=== Reproducing, analyzing and fixing bugs - -A first way of contributing is to have a look at the open bug reports in -the https://bugs.buildroot.org/buglist.cgi?product=buildroot[Buildroot bug -tracker]. As we strive to keep the bug count as small as possible, all -help in reproducing, analyzing and fixing reported bugs is more than -welcome. Don't hesitate to add a comment to bug reports reporting your -findings, even if you don't yet see the full picture. - -=== Analyzing and fixing autobuild failures - -The Buildroot autobuilders are a set of build machines that continuously -run Buildroot builds based on random configurations. This is done for -all architectures supported by Buildroot, with various toolchains, and -with a random selection of packages. With the large commit activity on -Buildroot, these autobuilders are a great help in detecting problems -very early after commit. - -All build results are available at http://autobuild.buildroot.org[], -statistics are at http://autobuild.buildroot.org/stats.php[]. Every day, -an overview of all failed packages is sent to the mailing list. - -Detecting problems is great, but obviously these problems have to be -fixed as well. Your contribution is very welcome here! There are -basically two things that can be done: - -- Analyzing the problems. The daily summary mails do not contain details - about the actual failures: in order to see what's going on you have to - open the build log and check the last output. Having someone doing - this for all packages in the mail is very useful for other developers, - as they can make a quick initial analysis based on this output alone. - -- Fixing a problem. When fixing autobuild failures, you should follow - these steps: - . Check if you can reproduce the problem by building with the same - configuration. You can do this manually, or use the - http://git.buildroot.org/buildroot-test/tree/utils/br-reproduce-build[br-reproduce-build] - script that will automatically clone a Buildroot git repository, - checkout the correct revision, download and set the right - configuration, and start the build. - . Analyze the problem and create a fix. - . Verify that the problem is really fixed by starting from a clean - Buildroot tree and only applying your fix. - . Send the fix to the Buildroot mailing list (see - xref:submitting-patches[]). In case you created a patch against the - package sources, you should also send the patch upstream so that the - problem will be fixed in a later release, and the patch in Buildroot - can be removed. - In the commit message of a patch fixing an autobuild failure, add a - reference to the build result directory, as follows: ---------------------- -Fixes: http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069 ---------------------- - -=== Reviewing and testing patches - -With the amount of patches sent to the mailing list each day, the -maintainer has a very hard job to judge which patches are ready to apply -and which ones aren't. Contributors can greatly help here by reviewing -and testing these patches. - -In the review process, do not hesitate to respond to patch submissions -for remarks, suggestions or anything that will help everyone to -understand the patches and make them better. Please use internet -style replies in plain text emails when responding to patch -submissions. - -To indicate approval of a patch, there are three formal tags that keep -track of this approval. To add your tag to a patch, reply to it with the -approval tag below the original author's Signed-off-by line. These tags -will be picked up automatically by patchwork (see -xref:apply-patches-patchwork[]) and will be part of the commit log when -the patch is accepted. - -Tested-by:: Indicates that the patch has been tested successfully. - You are encouraged to specify what kind of testing you performed - (compile-test on architecture X and Y, runtime test on target A, - ...). This additional information helps other testers and the - maintainer. - -Reviewed-by:: Indicates that you code-reviewed the patch and did your - best in spotting problems, but you are not sufficiently familiar with - the area touched to provide an Acked-by tag. This means that there - may be remaining problems in the patch that would be spotted by - someone with more experience in that area. Should such problems be - detected, your Reviewed-by tag remains appropriate and you cannot - be blamed. - -Acked-by:: Indicates that you code-reviewed the patch and you are - familiar enough with the area touched to feel that the patch can be - committed as-is (no additional changes required). In case it later - turns out that something is wrong with the patch, your Acked-by could - be considered inappropriate. The difference between Acked-by and - Reviewed-by is thus mainly that you are prepared to take the blame on - Acked patches, but not on Reviewed ones. - -If you reviewed a patch and have comments on it, you should simply reply -to the patch stating these comments, without providing a Reviewed-by or -Acked-by tag. These tags should only be provided if you judge the patch -to be good as it is. - -It is important to note that neither Reviewed-by nor Acked-by imply -that testing has been performed. To indicate that you both reviewed and -tested the patch, provide two separate tags (Reviewed/Acked-by and -Tested-by). - -Note also that _any developer_ can provide Tested/Reviewed/Acked-by -tags, without exception, and we encourage everyone to do this. Buildroot -does not have a defined group of _core_ developers, it just so happens -that some developers are more active than others. The maintainer will -value tags according to the track record of their submitter. Tags -provided by a regular contributor will naturally be trusted more than -tags provided by a newcomer. As you provide tags more regularly, your -'trustworthiness' (in the eyes of the maintainer) will go up, but _any_ -tag provided is valuable. - -Buildroot's Patchwork website can be used to pull in patches for testing -purposes. Please see xref:apply-patches-patchwork[] for more -information on using Buildroot's Patchwork website to apply patches. - -[[apply-patches-patchwork]] -==== Applying Patches from Patchwork - -The main use of Buildroot's Patchwork website for a developer is for -pulling in patches into their local git repository for testing -purposes. - -When browsing patches in the patchwork management interface, an +mbox+ -link is provided at the top of the page. Copy this link address and -run the following commands: - ---------------------- -$ git checkout -b -$ wget -O - | git am ---------------------- - -Another option for applying patches is to create a bundle. A bundle is -a set of patches that you can group together using the patchwork -interface. Once the bundle is created and the bundle is made public, -you can copy the +mbox+ link for the bundle and apply the bundle -using the above commands. - - -=== Work on items from the TODO list - -If you want to contribute to Buildroot but don't know where to start, -and you don't like any of the above topics, you can always work on items -from the http://elinux.org/Buildroot#Todo_list[Buildroot TODO list]. -Don't hesitate to discuss an item first on the mailing list or on IRC. -Do edit the wiki to indicate when you start working on an item, so we -avoid duplicate efforts. - -[[submitting-patches]] -=== Submitting patches - -[NOTE] -_Please, do not attach patches to bugs, send them to the mailing list -instead_. - -If you made some changes to Buildroot and you would like to contribute -them to the Buildroot project, proceed as follows. - -==== The formatting of a patch - -We expect patches to be formatted in a specific way. This is necessary -to make it easy to review patches, to be able to apply them easily to -the git repository, to make it easy to find back in the history how -and why things have changed, and to make it possible to use +git -bisect+ to locate the origin of a problem. - -First of all, it is essential that the patch has a good commit -message. The commit message should start with a separate line with a -brief summary of the change, prefixed by the area touched by the -patch. A few examples of good commit titles: - -* +package/linuxptp: bump version to 2.0+ - -* +configs/imx23evk: bump Linux version to 4.19+ - -* +package/pkg-generic: postpone evaluation of dependency conditions+ - -* +boot/uboot: needs host-{flex,bison}+ - -* +support/testing: add python-ubjson tests+ - -The description that follows the prefix should start with a lower case -letter (i.e "bump", "needs", "postpone", "add" in the above examples). - -Second, the body of the commit message should describe _why_ this -change is needed, and if necessary also give details about _how_ it -was done. When writing the commit message, think of how the reviewers -will read it, but also think about how you will read it when you look -at this change again a few years down the line. - -Third, the patch itself should do only one change, but do it -completely. Two unrelated or weakly related changes should usually be -done in two separate patches. This usually means that a patch affects -only a single package. If several changes are related, it is often -still possible to split them up in small patches and apply them in a -specific order. Small patches make it easier to review, and often -make it easier to understand afterwards why a change was done. -However, each patch must be complete. It is not allowed that the -build is broken when only the first but not the second patch is -applied. This is necessary to be able to use +git bisect+ afterwards. - -Of course, while you're doing your development, you're probably going -back and forth between packages, and certainly not committing things -immediately in a way that is clean enough for submission. So most -developers rewrite the history of commits to produce a clean set of -commits that is appropriate for submission. To do this, you need to -use _interactive rebasing_. You can learn about it -https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History[in the Pro -Git book]. Sometimes, it is even easier to discard you history with -+git reset --soft origin/master+ and select individual changes with -+git add -i+ or +git add -p+. - -Finally, the patch should be signed off. This is done by adding -+Signed-off-by: Your Real Name + at the end of the -commit message. +git commit -s+ does that for you, if configured -properly. The +Signed-off-by+ tag means that you publish the patch -under the Buildroot license (i.e. GPL-2.0+, except for package patches, -which have the upstream license), and that you are allowed to do so. -See http://developercertificate.org/[the Developer Certificate of -Origin] for details. - -When adding new packages, you should submit every package in a -separate patch. This patch should have the update to -+package/Config.in+, the package +Config.in+ file, the +.mk+ file, the -+.hash+ file, any init script, and all package patches. If the package -has many sub-options, these are sometimes better added as separate -follow-up patches. The summary line should be something like -+: new package+. The body of the commit message can be -empty for simple packages, or it can contain the description of the -package (like the Config.in help text). If anything special has to be -done to build the package, this should also be explained explicitly in -the commit message body. - -When you bump a package to a new version, you should also submit a -separate patch for each package. Don't forget to update the +.hash+ -file, or add it if it doesn't exist yet. Also don't forget to check if -the +_LICENSE+ and +_LICENSE_FILES+ are still valid. The summary line -should be something like +: bump to version +. If the new version only contains security updates compared -to the existing one, the summary should be +: security -bump to version + and the commit message body should show -the CVE numbers that are fixed. If some package patches can be removed -in the new version, it should be explained explicitly why they can be -removed, preferably with the upstream commit ID. Also any other -required changes should be explained explicitly, like configure -options that no longer exist or are no longer needed. - -If you are interested in getting notified of build failures and of -further changes in the packages you added or modified, please add -yourself to the DEVELOPERS file. This should be done in the same patch -creating or modifying the package. See xref:DEVELOPERS[the DEVELOPERS file] -for more information. - -Buildroot provides a handy tool to check for common coding style -mistakes on files you created or modified, called +check-package+ (see -xref:check-package[] for more information). - -==== Preparing a patch series - -Starting from the changes committed in your local git view, _rebase_ -your development branch on top of the upstream tree before generating -a patch set. To do so, run: - ---------------------- -$ git fetch --all --tags -$ git rebase origin/master ---------------------- - -Now, you are ready to generate then submit your patch set. - -To generate it, run: - ---------------------- -$ git format-patch -M -n -s -o outgoing origin/master ---------------------- - -This will generate patch files in the +outgoing+ subdirectory, -automatically adding the +Signed-off-by+ line. - -Once patch files are generated, you can review/edit the commit message -before submitting them, using your favorite text editor. - -Buildroot provides a handy tool to know to whom your patches should be -sent, called +get-developers+ (see xref:DEVELOPERS[] for more -information). This tool reads your patches and outputs the appropriate -+git send-email+ command to use: - ---------------------- -$ ./utils/get-developers outgoing/* ---------------------- - -Use the output of +get-developers+ to send your patches: - ---------------------- -$ git send-email --to buildroot@buildroot.org --cc bob --cc alice outgoing/* ---------------------- - -Alternatively, +get-developers -e+ can be used directly with the -+--cc-cmd+ argument to +git send-email+ to automatically CC the -affected developers: - ---------------------- -$ git send-email --to buildroot@buildroot.org \ - --cc-cmd './utils/get-developers -e' origin/master ---------------------- - -+git+ can be configured to automatically do this out of the box with: - ---------------------- -$ git config sendemail.to buildroot@buildroot.org -$ git config sendemail.ccCmd "$(pwd)/utils/get-developers -e" ---------------------- - -And then just do: - ---------------------- -$ git send-email origin/master ---------------------- - -Note that +git+ should be configured to use your mail account. -To configure +git+, see +man git-send-email+ or google it. - -If you do not use +git send-email+, make sure posted *patches are not -line-wrapped*, otherwise they cannot easily be applied. In such a case, -fix your e-mail client, or better yet, learn to use +git send-email+. - -==== Cover letter - -If you want to present the whole patch set in a separate mail, add -+--cover-letter+ to the +git format-patch+ command (see +man -git-format-patch+ for further information). This will generate a -template for an introduction e-mail to your patch series. - -A 'cover letter' may be useful to introduce the changes you propose -in the following cases: - -* large number of commits in the series; - -* deep impact of the changes in the rest of the project; - -* RFC footnote:[RFC: (Request for comments) change proposal]; - -* whenever you feel it will help presenting your work, your choices, - the review process, etc. - -==== Patches for maintenance branches - -When fixing bugs on a maintenance branch, bugs should be fixed on the -master branch first. The commit log for such a patch may then contain a -post-commit note specifying what branches are affected: - ----- -package/foo: fix stuff - -Signed-off-by: Your Real Name ---- -Backport to: 2020.02.x, 2020.05.x -(2020.08.x not affected as the version was bumped) ----- - -Those changes will then be backported by a maintainer to the affected -branches. - -However, some bugs may apply only to a specific release, for example -because it is using an older version of a package. In that case, patches -should be based off the maintenance branch, and the patch subject prefix -must include the maintenance branch name (for example "[PATCH 2020.02.x]"). -This can be done with the +git format-patch+ flag +--subject-prefix+: - ---------------------- -$ git format-patch --subject-prefix "PATCH 2020.02.x" \ - -M -s -o outgoing origin/2020.02.x ---------------------- - -Then send the patches with +git send-email+, as described above. - -==== Patch revision changelog - -When improvements are requested, the new revision of each commit -should include a changelog of the modifications between each -submission. Note that when your patch series is introduced by a cover -letter, an overall changelog may be added to the cover letter in -addition to the changelog in the individual commits. -The best thing to rework a patch series is by interactive rebasing: -+git rebase -i origin/master+. Consult the git manual for more -information. - -When added to the individual commits, this changelog is added when -editing the commit message. Below the +Signed-off-by+ section, add -+---+ and your changelog. - -Although the changelog will be visible for the reviewers in the mail -thread, as well as in http://patchwork.buildroot.org[patchwork], +git+ -will automatically ignores lines below +---+ when the patch will be -merged. This is the intended behavior: the changelog is not meant to -be preserved forever in the +git+ history of the project. - -Hereafter the recommended layout: - ---------------- -Patch title: short explanation, max 72 chars - -A paragraph that explains the problem, and how it manifests itself. If -the problem is complex, it is OK to add more paragraphs. All paragraphs -should be wrapped at 72 characters. - -A paragraph that explains the root cause of the problem. Again, more -than one paragraph is OK. - -Finally, one or more paragraphs that explain how the problem is solved. -Don't hesitate to explain complex solutions in detail. - -Signed-off-by: John DOE - ---- -Changes v2 -> v3: - - foo bar (suggested by Jane) - - bar buz - -Changes v1 -> v2: - - alpha bravo (suggested by John) - - charly delta ---------------- - -Any patch revision should include the version number. The version number -is simply composed of the letter +v+ followed by an +integer+ greater or -equal to two (i.e. "PATCH v2", "PATCH v3" ...). - -This can be easily handled with +git format-patch+ by using the option -+--subject-prefix+: - ---------------------- -$ git format-patch --subject-prefix "PATCH v4" \ - -M -s -o outgoing origin/master ---------------------- - -Since git version 1.8.1, you can also use +-v + (where is the -version number): - ---------------------- -$ git format-patch -v4 -M -s -o outgoing origin/master ---------------------- - -When you provide a new version of a patch, please mark the old one as -superseded in http://patchwork.buildroot.org[patchwork]. You need to -create an account on http://patchwork.buildroot.org[patchwork] to be -able to modify the status of your patches. Note that you can only change -the status of patches you submitted yourself, which means the email -address you register in http://patchwork.buildroot.org[patchwork] should -match the one you use for sending patches to the mailing list. - -You can also add the +--in-reply-to + option when -submitting a patch to the mailing list. The id of the mail to reply to -can be found under the "Message Id" tag on -http://patchwork.buildroot.org[patchwork]. The advantage of -*in-reply-to* is that patchwork will automatically mark the previous -version of the patch as superseded. - -[[reporting-bugs]] -=== Reporting issues/bugs or getting help - -Before reporting any issue, please check in -xref:community-resources[the mailing list archive] whether someone has -already reported and/or fixed a similar problem. - -However you choose to report bugs or get help, either by -opening a bug in the xref:community-resources[bug tracker] or by -xref:community-resources[sending a mail to the mailing list], there are -a number of details to provide in order to help people reproduce and -find a solution to the issue. - -Try to think as if you were trying to help someone else; in -that case, what would you need? - -Here is a short list of details to provide in such case: - -* host machine (OS/release) -* version of Buildroot -* target for which the build fails -* package(s) for which the build fails -* the command that fails and its output -* any information you think that may be relevant - -Additionally, you should add the +.config+ file (or if you know how, a -+defconfig+; see xref:customize-store-buildroot-config[]). - -If some of these details are too large, do not hesitate to use a -pastebin service. Note that not all available pastebin services will -preserve Unix-style line terminators when downloading raw pastes. -Following pastebin services are known to work correctly: -- https://gist.github.com/ -- http://code.bulix.org/ - -=== Using the run-tests framework - -Buildroot includes a run-time testing framework called run-tests built -upon Python scripting and QEMU runtime execution. There are two types of -test cases within the framework, one for build time tests and another for -run-time tests that have a QEMU dependency. The goals of the framework are -the following: - -* build a well defined configuration -* optionally, verify some properties of the build output -* if it is a run-time test: -** boot it under QEMU -** run some test condition to verify that a given feature is working - -The run-tests tool has a series of options documented in the tool's help '-h' -description. Some common options include setting the download folder, the -output folder, keeping build output, and for multiple test cases, you can set -the JLEVEL for each. - -Here is an example walk through of running a test case. - -* For a first step, let us see what all the test case options are. The test -cases can be listed by executing +support/testing/run-tests -l+. These tests -can all be run individually during test development from the console. Both -one at a time and selectively as a group of a subset of tests. - ---------------------- -$ support/testing/run-tests -l -List of tests -test_run (tests.utils.test_check_package.TestCheckPackage) -Test the various ways the script can be called in a simple top to ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootMusl) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainCCache) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainCtngMusl) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainLinaroArm) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv4) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv5) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv7) ... ok -[snip] -test_run (tests.init.test_systemd.TestInitSystemSystemdRoFull) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRoIfupdown) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRoNetworkd) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRwFull) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRwIfupdown) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRwNetworkd) ... ok -test_run (tests.init.test_busybox.TestInitSystemBusyboxRo) ... ok -test_run (tests.init.test_busybox.TestInitSystemBusyboxRoNet) ... ok -test_run (tests.init.test_busybox.TestInitSystemBusyboxRw) ... ok -test_run (tests.init.test_busybox.TestInitSystemBusyboxRwNet) ... ok - -Ran 157 tests in 0.021s - -OK ---------------------- - -Those runtime tests are regularly executed by Buildroot Gitlab CI -infrastructure, see .gitlab.yml and https://gitlab.com/buildroot.org/buildroot/-/jobs. - -==== Creating a test case - -The best way to get familiar with how to create a test case is to look at a -few of the basic file system +support/testing/tests/fs/+ and init -+support/testing/tests/init/+ test scripts. Those tests give good examples -of a basic build and build with run type of tests. There are other more -advanced cases that use things like nested +br2-external+ folders to provide -skeletons and additional packages. - -The test cases by default use a br-arm-full-* uClibc-ng toolchain and the -prebuild kernel for a armv5/7 cpu. It is recommended to use the default -defconfig test configuration except when Glibc/musl or a newer kernel are -necessary. By using the default it saves build time and the test would -automatically inherit a kernel/std library upgrade when the default is -updated. - -The basic test case definition involves - -* Creation of a new test file -* Defining a unique test class -* Determining if the default defconfig plus test options can be used -* Implementing a +def test_run(self):+ function to optionally startup the -emulator and provide test case conditions. - -After creating the test script, add yourself to the +DEVELOPERS+ file to -be the maintainer of that test case. - -==== Debugging a test case - -Within the Buildroot repository, the testing framework is organized at the -top level in +support/testing/+ by folders of +conf+, +infra+ and +tests+. -All the test cases live under the +test+ folder and are organized in various -folders representing the catagory of test. - -Lets walk through an example. - -* Using the Busybox Init system test case with a read/write rootfs -+tests.init.test_busybox.TestInitSystemBusyboxRw+ -* A minimal set of command line arguments when debugging a test case would -include '-d' which points to your dl folder, '-o' to an output folder, and -'-k' to keep any output on both pass/fail. With those options, the test will -retain logging and build artifacts providing status of the build and -execution of the test case. - ---------------------- -$ support/testing/run-tests -d dl -o output_folder -k tests.init.test_busybox.TestInitSystemBusyboxRw -15:03:26 TestInitSystemBusyboxRw Starting -15:03:28 TestInitSystemBusyboxRw Building -15:08:18 TestInitSystemBusyboxRw Building done -15:08:27 TestInitSystemBusyboxRw Cleaning up -. -Ran 1 test in 301.140s - -OK ---------------------- - -* For the case of a successful build, the +output_folder+ would contain a - folder with the Buildroot build, build log and run-time log. If -the build failed, the console output would show the stage at which it failed -(setup / build / run). Depending on the failure stage, the build/run logs -and/or Buildroot build artifacts can be inspected and instrumented. If the -QEMU instance needs to be launched for additional testing, the first few -lines of the run-time log capture it and it would allow some incremental -testing without re-running +support/testing/run-tests+. - -* You can also make modifications to the current sources inside the -+output_folder+ (e.g. for debug purposes) and rerun the standard -Buildroot make targets (in order to regenerate the complete image with -the new modifications) and then rerun the test. Modifying the sources -directly can speed up debugging compared to adding patch files, wiping the -output directoy, and starting the test again. - ---------------------- -$ ls output_folder/ -TestInitSystemBusyboxRw/ -TestInitSystemBusyboxRw-build.log -TestInitSystemBusyboxRw-run.log ---------------------- - -* The source file used to implement this example test is found under -+support/testing/tests/init/test_busybox.py+. This file outlines the -minimal defconfig that creates the build, QEMU configuration to launch -the built images and the test case assertions. - -To test an existing or new test case within Gitlab CI, there is a method of -invoking a specific test by creating a Buildroot fork in Gitlab under your -account. This can be handy when adding/changing a run-time test or fixing a -bug on a use case tested by a run-time test case. - - -In the examples below, the component of the branch name is a unique -string you choose to identify this specific job being created. - -* to trigger all run-test test case jobs: - ---------------------- - $ git push gitlab HEAD:-runtime-tests ---------------------- - -* to trigger one test case job, a specific branch naming string is used that -includes the full test case name. - ---------------------- - $ git push gitlab HEAD:- ---------------------- diff --git a/buildroot-2021.05/docs/manual/faq-troubleshooting.txt b/buildroot-2021.05/docs/manual/faq-troubleshooting.txt deleted file mode 100644 index 5adf3fa6..00000000 --- a/buildroot-2021.05/docs/manual/faq-troubleshooting.txt +++ /dev/null @@ -1,244 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -== Frequently Asked Questions & Troubleshooting - -[[faq-boot-hang-after-starting]] -=== The boot hangs after 'Starting network...' - -If the boot process seems to hang after the following messages -(messages not necessarily exactly similar, depending on the list of -packages selected): - ------------------------- -Freeing init memory: 3972K -Initializing random number generator... done. -Starting network... -Starting dropbear sshd: generating rsa key... generating dsa key... OK ------------------------- - -then it means that your system is running, but didn't start a shell on -the serial console. In order to have the system start a shell on your -serial console, you have to go into the Buildroot configuration, in -+System configuration+, modify +Run a getty (login prompt) after boot+ -and set the appropriate port and baud rate in the +getty options+ -submenu. This will automatically tune the +/etc/inittab+ file of the -generated system so that a shell starts on the correct serial port. - -[[faq-no-compiler-on-target]] -=== Why is there no compiler on the target? - -It has been decided that support for the _native compiler on the -target_ would be stopped from the Buildroot-2012.11 release because: - -* this feature was neither maintained nor tested, and often broken; -* this feature was only available for Buildroot toolchains; -* Buildroot mostly targets _small_ or _very small_ target hardware - with limited resource onboard (CPU, ram, mass-storage), for which - compiling on the target does not make much sense; -* Buildroot aims at easing the cross-compilation, making native - compilation on the target unnecessary. - -If you need a compiler on your target anyway, then Buildroot is not -suitable for your purpose. In such case, you need a _real -distribution_ and you should opt for something like: - -* http://www.openembedded.org[openembedded] -* https://www.yoctoproject.org[yocto] -* http://www.emdebian.org[emdebian] -* https://fedoraproject.org/wiki/Architectures[Fedora] -* http://en.opensuse.org/Portal:ARM[openSUSE ARM] -* http://archlinuxarm.org[Arch Linux ARM] -* ... - -[[faq-no-dev-files-on-target]] -=== Why are there no development files on the target? - -Since there is no compiler available on the target (see -xref:faq-no-compiler-on-target[]), it does not make sense to waste -space with headers or static libraries. - -Therefore, those files are always removed from the target since the -Buildroot-2012.11 release. - -[[faq-no-doc-on-target]] -=== Why is there no documentation on the target? - -Because Buildroot mostly targets _small_ or _very small_ target -hardware with limited resource onboard (CPU, ram, mass-storage), it -does not make sense to waste space with the documentation data. - -If you need documentation data on your target anyway, then Buildroot -is not suitable for your purpose, and you should look for a _real -distribution_ (see: xref:faq-no-compiler-on-target[]). - -[[faq-why-not-visible-package]] -=== Why are some packages not visible in the Buildroot config menu? - -If a package exists in the Buildroot tree and does not appear in the -config menu, this most likely means that some of the package's -dependencies are not met. - -To know more about the dependencies of a package, search for the -package symbol in the config menu (see xref:make-tips[]). - -Then, you may have to recursively enable several options (which -correspond to the unmet dependencies) to finally be able to select -the package. - -If the package is not visible due to some unmet toolchain options, -then you should certainly run a full rebuild (see xref:make-tips[] for -more explanations). - -[[faq-why-not-use-target-as-chroot]] -=== Why not use the target directory as a chroot directory? - -There are plenty of reasons to *not* use the target directory a chroot -one, among these: - -* file ownerships, modes and permissions are not correctly set in the - target directory; -* device nodes are not created in the target directory. - -For these reasons, commands run through chroot, using the target -directory as the new root, will most likely fail. - -If you want to run the target filesystem inside a chroot, or as an NFS -root, then use the tarball image generated in +images/+ and extract it -as root. - -[[faq-no-binary-packages]] -=== Why doesn't Buildroot generate binary packages (.deb, .ipkg...)? - -One feature that is often discussed on the Buildroot list is the -general topic of "package management". To summarize, the idea -would be to add some tracking of which Buildroot package installs -what files, with the goals of: - - * being able to remove files installed by a package when this package - gets unselected from the menuconfig; - - * being able to generate binary packages (ipk or other format) that - can be installed on the target without re-generating a new root - filesystem image. - -In general, most people think it is easy to do: just track which package -installed what and remove it when the package is unselected. However, it -is much more complicated than that: - - * It is not only about the +target/+ directory, but also the sysroot in - +host//sysroot+ and the +host/+ directory itself. All files - installed in those directories by various packages must be tracked. - - * When a package is unselected from the configuration, it is not - sufficient to remove just the files it installed. One must also - remove all its reverse dependencies (i.e. packages relying on it) - and rebuild all those packages. For example, package A depends - optionally on the OpenSSL library. Both are selected, and Buildroot - is built. Package A is built with crypto support using OpenSSL. - Later on, OpenSSL gets unselected from the configuration, but - package A remains (since OpenSSL is an optional dependency, this - is possible.) If only OpenSSL files are removed, then the files - installed by package A are broken: they use a library that is no - longer present on the target. Although this is technically doable, - it adds a lot of complexity to Buildroot, which goes against the - simplicity we try to stick to. - - * In addition to the previous problem, there is the case where the - optional dependency is not even known to Buildroot. For example, - package A in version 1.0 never used OpenSSL, but in version 2.0 it - automatically uses OpenSSL if available. If the Buildroot .mk file - hasn't been updated to take this into account, then package A will - not be part of the reverse dependencies of OpenSSL and will not be - removed and rebuilt when OpenSSL is removed. For sure, the .mk file - of package A should be fixed to mention this optional dependency, - but in the mean time, you can have non-reproducible behaviors. - - * The request is to also allow changes in the menuconfig to be - applied on the output directory without having to rebuild - everything from scratch. However, this is very difficult to achieve - in a reliable way: what happens when the suboptions of a package - are changed (we would have to detect this, and rebuild the package - from scratch and potentially all its reverse dependencies), what - happens if toolchain options are changed, etc. At the moment, what - Buildroot does is clear and simple so its behaviour is very - reliable and it is easy to support users. If configuration changes - done in menuconfig are applied after the next make, then it has to - work correctly and properly in all situations, and not have some - bizarre corner cases. The risk is to get bug reports like "I have - enabled package A, B and C, then ran make, then disabled package - C and enabled package D and ran make, then re-enabled package C - and enabled package E and then there is a build failure". Or worse - "I did some configuration, then built, then did some changes, - built, some more changes, built, some more changes, built, and now - it fails, but I don't remember all the changes I did and in which - order". This will be impossible to support. - -For all these reasons, the conclusion is that adding tracking of -installed files to remove them when the package is unselected, or to -generate a repository of binary packages, is something that is very -hard to achieve reliably and will add a lot of complexity. - -On this matter, the Buildroot developers make this position statement: - - * Buildroot strives to make it easy to generate a root filesystem (hence - the name, by the way.) That is what we want to make Buildroot good at: - building root filesystems. - - * Buildroot is not meant to be a distribution (or rather, a distribution - generator.) It is the opinion of most Buildroot developers that this - is not a goal we should pursue. We believe that there are other tools - better suited to generate a distro than Buildroot is. For example, - http://openembedded.org/[Open Embedded], or https://openwrt.org/[openWRT], - are such tools. - - * We prefer to push Buildroot in a direction that makes it easy (or even - easier) to generate complete root filesystems. This is what makes - Buildroot stands out in the crowd (among other things, of course!) - - * We believe that for most embedded Linux systems, binary packages are - not necessary, and potentially harmful. When binary packages are - used, it means that the system can be partially upgraded, which - creates an enormous number of possible combinations of package - versions that should be tested before doing the upgrade on the - embedded device. On the other hand, by doing complete system - upgrades by upgrading the entire root filesystem image at once, - the image deployed to the embedded system is guaranteed to really - be the one that has been tested and validated. - -[[faq-speeding-up-build]] -=== How to speed-up the build process? - -Since Buildroot often involves doing full rebuilds of the entire -system that can be quite long, we provide below a number of tips to -help reduce the build time: - - * Use a pre-built external toolchain instead of the default Buildroot - internal toolchain. By using a pre-built Linaro toolchain (on ARM) - or a Sourcery CodeBench toolchain (for ARM, x86, x86-64, MIPS, - etc.), you will save the build time of the toolchain at each - complete rebuild, approximately 15 to 20 minutes. Note that - temporarily using an external toolchain does not prevent you to - switch back to an internal toolchain (that may provide a higher - level of customization) once the rest of your system is working; - - * Use the +ccache+ compiler cache (see: xref:ccache[]); - - * Learn about rebuilding only the few packages you actually care - about (see xref:rebuild-pkg[]), but beware that sometimes full - rebuilds are anyway necessary (see xref:full-rebuild[]); - - * Make sure you are not using a virtual machine for the Linux system - used to run Buildroot. Most of the virtual machine technologies are - known to cause a significant performance impact on I/O, which is - really important for building source code; - - * Make sure that you're using only local files: do not attempt to do - a build over NFS, which significantly slows down the build. Having - the Buildroot download folder available locally also helps a bit. - - * Buy new hardware. SSDs and lots of RAM are key to speeding up the - builds. - - * Experiment with top-level parallel build, see - xref:top-level-parallel-build[]. diff --git a/buildroot-2021.05/docs/manual/known-issues.txt b/buildroot-2021.05/docs/manual/known-issues.txt deleted file mode 100644 index ae29a48b..00000000 --- a/buildroot-2021.05/docs/manual/known-issues.txt +++ /dev/null @@ -1,15 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -== Known issues - -* It is not possible to pass extra linker options via +BR2_TARGET_LDFLAGS+ - if such options contain a +$+ sign. For example, the following is known - to break: +BR2_TARGET_LDFLAGS="-Wl,-rpath=\'$ORIGIN/../lib'"+ - -* The +libffi+ package is not supported on the SuperH 2 and ARC - architectures. - -* The +prboom+ package triggers a compiler failure with the SuperH 4 - compiler from Sourcery CodeBench, version 2012.09. - diff --git a/buildroot-2021.05/docs/manual/make-tips.txt b/buildroot-2021.05/docs/manual/make-tips.txt deleted file mode 100644 index 869b6807..00000000 --- a/buildroot-2021.05/docs/manual/make-tips.txt +++ /dev/null @@ -1,133 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -[[make-tips]] -=== 'make' tips - -This is a collection of tips that help you make the most of Buildroot. - -.Display all commands executed by make: - --------------------- - $ make V=1 --------------------- - -.Display the list of boards with a defconfig: - --------------------- - $ make list-defconfigs --------------------- - -.Display all available targets: - --------------------- - $ make help --------------------- - -Not all targets are always available, -some settings in the +.config+ file may hide some targets: - -* +busybox-menuconfig+ only works when +busybox+ is enabled; -* +linux-menuconfig+ and +linux-savedefconfig+ only work when - +linux+ is enabled; -* +uclibc-menuconfig+ is only available when the uClibc C library is - selected in the internal toolchain backend; -* +barebox-menuconfig+ and +barebox-savedefconfig+ only work when the - +barebox+ bootloader is enabled. -* +uboot-menuconfig+ and +uboot-savedefconfig+ only work when the - +U-Boot+ bootloader is enabled. - -.Cleaning: - -Explicit cleaning is required when any of the architecture or toolchain -configuration options are changed. - -To delete all build products (including build directories, host, staging -and target trees, the images and the toolchain): - --------------------- - $ make clean --------------------- - -.Generating the manual: - -The present manual sources are located in the 'docs/manual' directory. -To generate the manual: - ---------------------------------- - $ make manual-clean - $ make manual ---------------------------------- - -The manual outputs will be generated in 'output/docs/manual'. - -.Notes -- A few tools are required to build the documentation (see: - xref:requirement-optional[]). - -.Resetting Buildroot for a new target: - -To delete all build products as well as the configuration: - --------------------- - $ make distclean --------------------- - -.Notes -If +ccache+ is enabled, running +make clean+ or +distclean+ does -not empty the compiler cache used by Buildroot. To delete it, refer -to xref:ccache[]. - -.Dumping the internal make variables: - -One can dump the variables known to make, along with their values: - ----- - $ make -s printvars VARS='VARIABLE1 VARIABLE2' - VARIABLE1=value_of_variable - VARIABLE2=value_of_variable ----- - -It is possible to tweak the output using some variables: - -- +VARS+ will limit the listing to variables which names match the - specified make-patterns - this must be set else nothing is printed -- +QUOTED_VARS+, if set to +YES+, will single-quote the value -- +RAW_VARS+, if set to +YES+, will print the unexpanded value - -For example: - ----- - $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES - BUSYBOX_DEPENDENCIES=skeleton toolchain - BUSYBOX_FINAL_ALL_DEPENDENCIES=skeleton toolchain - BUSYBOX_FINAL_DEPENDENCIES=skeleton toolchain - BUSYBOX_FINAL_PATCH_DEPENDENCIES= - BUSYBOX_RDEPENDENCIES=ncurses util-linux ----- - ----- - $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES QUOTED_VARS=YES - BUSYBOX_DEPENDENCIES='skeleton toolchain' - BUSYBOX_FINAL_ALL_DEPENDENCIES='skeleton toolchain' - BUSYBOX_FINAL_DEPENDENCIES='skeleton toolchain' - BUSYBOX_FINAL_PATCH_DEPENDENCIES='' - BUSYBOX_RDEPENDENCIES='ncurses util-linux' ----- - ----- - $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES RAW_VARS=YES - BUSYBOX_DEPENDENCIES=skeleton toolchain - BUSYBOX_FINAL_ALL_DEPENDENCIES=$(sort $(BUSYBOX_FINAL_DEPENDENCIES) $(BUSYBOX_FINAL_PATCH_DEPENDENCIES)) - BUSYBOX_FINAL_DEPENDENCIES=$(sort $(BUSYBOX_DEPENDENCIES)) - BUSYBOX_FINAL_PATCH_DEPENDENCIES=$(sort $(BUSYBOX_PATCH_DEPENDENCIES)) - BUSYBOX_RDEPENDENCIES=ncurses util-linux ----- - -The output of quoted variables can be reused in shell scripts, for example: - ----- - $ eval $(make -s printvars VARS=BUSYBOX_DEPENDENCIES QUOTED_VARS=YES) - $ echo $BUSYBOX_DEPENDENCIES - skeleton toolchain ----- diff --git a/buildroot-2021.05/docs/manual/makeusers-syntax.txt b/buildroot-2021.05/docs/manual/makeusers-syntax.txt deleted file mode 100644 index 467e5962..00000000 --- a/buildroot-2021.05/docs/manual/makeusers-syntax.txt +++ /dev/null @@ -1,89 +0,0 @@ -// -*- mode:doc -*- ; -// vim: set syntax=asciidoc: - -[[makeuser-syntax]] -== Makeusers syntax documentation - -The syntax to create users is inspired by the makedev syntax, above, but -is specific to Buildroot. - -The syntax for adding a user is a space-separated list of fields, one -user per line; the fields are: - -|================================================================= -|username |uid |group |gid |password |home |shell |groups |comment -|================================================================= - -Where: - -- +username+ is the desired user name (aka login name) for the user. - It can not be +root+, and must be unique. If set to +-+, then just a - group will be created. -- +uid+ is the desired UID for the user. It must be unique, and not - +0+. If set to +-1+, then a unique UID will be computed by Buildroot - in the range [1000...1999] -- +group+ is the desired name for the user's main group. It can not - be +root+. If the group does not exist, it will be created. -- +gid+ is the desired GID for the user's main group. It must be unique, - and not +0+. If set to +-1+, and the group does not already exist, then - a unique GID will be computed by Buildroot in the range [1000..1999] -- +password+ is the crypt(3)-encoded password. If prefixed with +!+, - then login is disabled. If prefixed with +=+, then it is interpreted - as clear-text, and will be crypt-encoded (using MD5). If prefixed with - +!=+, then the password will be crypt-encoded (using MD5) and login - will be disabled. If set to +*+, then login is not allowed. If set to - +-+, then no password value will be set. -- +home+ is the desired home directory for the user. If set to '-', no - home directory will be created, and the user's home will be +/+. - Explicitly setting +home+ to +/+ is not allowed. -- +shell+ is the desired shell for the user. If set to +-+, then - +/bin/false+ is set as the user's shell. -- +groups+ is the comma-separated list of additional groups the user - should be part of. If set to +-+, then the user will be a member of - no additional group. Missing groups will be created with an arbitrary - +gid+. -- +comment+ (aka https://en.wikipedia.org/wiki/Gecos_field[GECOS] - field) is an almost-free-form text. - -There are a few restrictions on the content of each field: - -* except for +comment+, all fields are mandatory. -* except for +comment+, fields may not contain spaces. -* no field may contain a colon (+:+). - -If +home+ is not +-+, then the home directory, and all files below, -will belong to the user and its main group. - -Examples: - ----- -foo -1 bar -1 !=blabla /home/foo /bin/sh alpha,bravo Foo user ----- - -This will create this user: - -- +username+ (aka login name) is: +foo+ -- +uid+ is computed by Buildroot -- main +group+ is: +bar+ -- main group +gid+ is computed by Buildroot -- clear-text +password+ is: +blabla+, will be crypt(3)-encoded, and login is disabled. -- +home+ is: +/home/foo+ -- +shell+ is: +/bin/sh+ -- +foo+ is also a member of +groups+: +alpha+ and +bravo+ -- +comment+ is: +Foo user+ - ----- -test 8000 wheel -1 = - /bin/sh - Test user ----- - -This will create this user: - -- +username+ (aka login name) is: +test+ -- +uid+ is : +8000+ -- main +group+ is: +wheel+ -- main group +gid+ is computed by Buildroot, and will use the value defined in the rootfs skeleton -- +password+ is empty (aka no password). -- +home+ is +/+ but will not belong to +test+ -- +shell+ is: +/bin/sh+ -- +test+ is not a member of any additional +groups+ -- +comment+ is: +Test user+ diff --git a/buildroot-2021.05/docs/manual/manual.html b/buildroot-2021.05/docs/manual/manual.html deleted file mode 100644 index dd496bcf..00000000 --- a/buildroot-2021.05/docs/manual/manual.html +++ /dev/null @@ -1,5868 +0,0 @@ - -The Buildroot user manual

The Buildroot user manual


Table of Contents

I. Getting started
1. About Buildroot
2. System requirements
2.1. Mandatory packages
2.2. Optional packages
3. Getting Buildroot
4. Buildroot quick start
5. Community resources
II. User guide
6. Buildroot configuration
6.1. Cross-compilation toolchain
6.2. /dev management
6.3. init system
7. Configuration of other components
8. General Buildroot usage
8.1. make tips
8.2. Understanding when a full rebuild is necessary
8.3. Understanding how to rebuild packages
8.4. Offline builds
8.5. Building out-of-tree
8.6. Environment variables
8.7. Dealing efficiently with filesystem images
8.8. Details about packages
8.9. Graphing the dependencies between packages
8.10. Graphing the build duration
8.11. Graphing the filesystem size contribution of packages
8.12. Top-level parallel build
8.13. Integration with Eclipse
8.14. Advanced usage
9. Project-specific customization
9.1. Recommended directory structure
9.2. Keeping customizations outside of Buildroot
9.3. Storing the Buildroot configuration
9.4. Storing the configuration of other components
9.5. Customizing the generated target filesystem
9.6. Adding custom user accounts
9.7. Customization after the images have been created
9.8. Adding project-specific patches
9.9. Adding project-specific packages
9.10. Quick guide to storing your project-specific customizations
10. Using SELinux in Buildroot
10.1. Enabling SELinux support
10.2. SELinux policy tweaking
11. Frequently Asked Questions & Troubleshooting
11.1. The boot hangs after Starting network…
11.2. Why is there no compiler on the target?
11.3. Why are there no development files on the target?
11.4. Why is there no documentation on the target?
11.5. Why are some packages not visible in the Buildroot config menu?
11.6. Why not use the target directory as a chroot directory?
11.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)?
11.8. How to speed-up the build process?
12. Known issues
13. Legal notice and licensing
13.1. Complying with open source licenses
13.2. Complying with the Buildroot license
14. Beyond Buildroot
14.1. Boot the generated images
14.2. Chroot
III. Developer guide
15. How Buildroot works
16. Coding style
16.1. Config.in file
16.2. The .mk file
16.3. The documentation
16.4. Support scripts
17. Adding support for a particular board
18. Adding new packages to Buildroot
18.1. Package directory
18.2. Config files
18.3. The .mk file
18.4. The .hash file
18.5. Infrastructure for packages with specific build systems
18.6. Infrastructure for autotools-based packages
18.7. Infrastructure for CMake-based packages
18.8. Infrastructure for Python packages
18.9. Infrastructure for LuaRocks-based packages
18.10. Infrastructure for Perl/CPAN packages
18.11. Infrastructure for virtual packages
18.12. Infrastructure for packages using kconfig for configuration files
18.13. Infrastructure for rebar-based packages
18.14. Infrastructure for Waf-based packages
18.15. Infrastructure for Meson-based packages
18.16. Integration of Cargo-based packages
18.17. Infrastructure for Go packages
18.18. Infrastructure for QMake-based packages
18.19. Infrastructure for packages building kernel modules
18.20. Infrastructure for asciidoc documents
18.21. Infrastructure specific to the Linux kernel package
18.22. Hooks available in the various build steps
18.23. Gettext integration and interaction with packages
18.24. Tips and tricks
18.25. Conclusion
19. Patching a package
19.1. Providing patches
19.2. How patches are applied
19.3. Format and licensing of the package patches
19.4. Integrating patches found on the Web
20. Download infrastructure
21. Debugging Buildroot
22. Contributing to Buildroot
22.1. Reproducing, analyzing and fixing bugs
22.2. Analyzing and fixing autobuild failures
22.3. Reviewing and testing patches
22.4. Work on items from the TODO list
22.5. Submitting patches
22.6. Reporting issues/bugs or getting help
22.7. Using the run-tests framework
23. DEVELOPERS file and get-developers
24. Release Engineering
24.1. Releases
24.2. Development
IV. Appendix
25. Makedev syntax documentation
26. Makeusers syntax documentation
27. Migrating from older Buildroot versions
27.1. Migrating to 2016.11
27.2. Migrating to 2017.08

Buildroot 2021.05 manual generated on 2021-06-06 -21:24:05 UTC from git revision 69f79f2a2e

The Buildroot manual is written by the Buildroot developers. -It is licensed under the GNU General Public License, version 2. Refer to the -COPYING -file in the Buildroot sources for the full text of this license.

Copyright © 2004-2020 The Buildroot developers

logo.png

Part I. Getting started

Chapter 1. About Buildroot

Buildroot is a tool that simplifies and automates the process of -building a complete Linux system for an embedded system, using -cross-compilation.

In order to achieve this, Buildroot is able to generate a -cross-compilation toolchain, a root filesystem, a Linux kernel image -and a bootloader for your target. Buildroot can be used for any -combination of these options, independently (you can for example use -an existing cross-compilation toolchain, and build only your root -filesystem with Buildroot).

Buildroot is useful mainly for people working with embedded systems. -Embedded systems often use processors that are not the regular x86 -processors everyone is used to having in his PC. They can be PowerPC -processors, MIPS processors, ARM processors, etc.

Buildroot supports numerous processors and their variants; it also -comes with default configurations for several boards available -off-the-shelf. Besides this, a number of third-party projects are based on, -or develop their BSP [1] or -SDK [2] on top of Buildroot.



[1] BSP: Board Support Package

[2] SDK: Software Development Kit

Chapter 2. System requirements

Buildroot is designed to run on Linux systems.

While Buildroot itself will build most host packages it needs for the -compilation, certain standard Linux utilities are expected to be -already installed on the host system. Below you will find an overview of -the mandatory and optional packages (note that package names may vary -between distributions).

2.1. Mandatory packages

  • -Build tools: -

    • -which -
    • -sed -
    • -make (version 3.81 or any later) -
    • -binutils -
    • -build-essential (only for Debian based systems) -
    • -gcc (version 4.8 or any later) -
    • -g++ (version 4.8 or any later) -
    • -bash -
    • -patch -
    • -gzip -
    • -bzip2 -
    • -perl (version 5.8.7 or any later) -
    • -tar -
    • -cpio -
    • -unzip -
    • -rsync -
    • -file (must be in /usr/bin/file) -
    • -bc -
  • -Source fetching tools: -

    • -wget -

2.2. Optional packages

  • -Recommended dependencies: -

    Some features or utilities in Buildroot, like the legal-info, or the -graph generation tools, have additional dependencies. Although they -are not mandatory for a simple build, they are still highly recommended:

    • -python (version 2.7 or any later) -
  • -Configuration interface dependencies: -

    For these libraries, you need to install both runtime and development -data, which in many distributions are packaged separately. The -development packages typically have a -dev or -devel suffix.

    • -ncurses5 to use the menuconfig interface -
    • -qt5 to use the xconfig interface -
    • -glib2, gtk2 and glade2 to use the gconfig interface -
  • -Source fetching tools: -

    In the official tree, most of the package sources are retrieved using -wget from ftp, http or https locations. A few packages are only -available through a version control system. Moreover, Buildroot is -capable of downloading sources via other tools, like rsync or scp -(refer to Chapter 20, Download infrastructure for more details). If you enable -packages using any of these methods, you will need to install the -corresponding tool on the host system:

    • -bazaar -
    • -cvs -
    • -git -
    • -mercurial -
    • -rsync -
    • -scp -
    • -subversion -
  • -Java-related packages, if the Java Classpath needs to be built for - the target system: -

    • -The javac compiler -
    • -The jar tool -
  • -Documentation generation tools: -

    • -asciidoc, version 8.6.3 or higher -
    • -w3m -
    • -python with the argparse module (automatically present in 2.7+ and 3.2+) -
    • -dblatex (required for the pdf manual only) -
  • -Graph generation tools: -

    • -graphviz to use graph-depends and <pkg>-graph-depends -
    • -python-matplotlib to use graph-build -

Chapter 3. Getting Buildroot

Buildroot releases are made every 3 months, in February, May, August and -November. Release numbers are in the format YYYY.MM, so for example -2013.02, 2014.08.

Release tarballs are available at http://buildroot.org/downloads/.

For your convenience, a Vagrantfile is -available in support/misc/Vagrantfile in the Buildroot source tree -to quickly set up a virtual machine with the needed dependencies to -get started.

If you want to setup an isolated buildroot environment on Linux or Mac -Os X, paste this line onto your terminal:

curl -O https://buildroot.org/downloads/Vagrantfile; vagrant up

If you are on Windows, paste this into your powershell:

(new-object System.Net.WebClient).DownloadFile(
-"https://buildroot.org/downloads/Vagrantfile","Vagrantfile");
-vagrant up

If you want to follow development, you can use the daily snapshots or -make a clone of the Git repository. Refer to the -Download page of the Buildroot website -for more details.

Chapter 4. Buildroot quick start

Important: you can and should build everything as a normal user. There -is no need to be root to configure and use Buildroot. By running all -commands as a regular user, you protect your system against packages -behaving badly during compilation and installation.

The first step when using Buildroot is to create a configuration. -Buildroot has a nice configuration tool similar to the one you can -find in the Linux kernel or in -BusyBox.

From the buildroot directory, run

 $ make menuconfig

for the original curses-based configurator, or

 $ make nconfig

for the new curses-based configurator, or

 $ make xconfig

for the Qt-based configurator, or

 $ make gconfig

for the GTK-based configurator.

All of these "make" commands will need to build a configuration -utility (including the interface), so you may need to install -"development" packages for relevant libraries used by the -configuration utilities. Refer to Chapter 2, System requirements for more details, -specifically the optional requirements -to get the dependencies of your favorite interface.

For each menu entry in the configuration tool, you can find associated -help that describes the purpose of the entry. Refer to Chapter 6, Buildroot configuration -for details on some specific configuration aspects.

Once everything is configured, the configuration tool generates a -.config file that contains the entire configuration. This file will be -read by the top-level Makefile.

To start the build process, simply run:

 $ make

By default, Buildroot does not support top-level parallel build, so -running make -jN is not necessary. There is however experimental -support for top-level parallel build, see -Section 8.12, “Top-level parallel build”.

The make command will generally perform the following steps:

  • -download source files (as required); -
  • -configure, build and install the cross-compilation toolchain, or - simply import an external toolchain; -
  • -configure, build and install selected target packages; -
  • -build a kernel image, if selected; -
  • -build a bootloader image, if selected; -
  • -create a root filesystem in selected formats. -

Buildroot output is stored in a single directory, output/. -This directory contains several subdirectories:

  • -images/ where all the images (kernel image, bootloader and root - filesystem images) are stored. These are the files you need to put - on your target system. -
  • -build/ where all the components are built (this includes tools - needed by Buildroot on the host and packages compiled for the - target). This directory contains one subdirectory for each of these - components. -
  • -host/ contains both the tools built for the host, and the sysroot - of the target toolchain. The former is an installation of tools - compiled for the host that are needed for the proper execution of - Buildroot, including the cross-compilation toolchain. The latter - is a hierarchy similar to a root filesystem hierarchy. It contains - the headers and libraries of all user-space packages that provide - and install libraries used by other packages. However, this - directory is not intended to be the root filesystem for the target: - it contains a lot of development files, unstripped binaries and - libraries that make it far too big for an embedded system. These - development files are used to compile libraries and applications for - the target that depend on other libraries. -
  • -staging/ is a symlink to the target toolchain sysroot inside - host/, which exists for backwards compatibility. -
  • -target/ which contains almost the complete root filesystem for - the target: everything needed is present except the device files in - /dev/ (Buildroot can’t create them because Buildroot doesn’t run - as root and doesn’t want to run as root). Also, it doesn’t have the correct - permissions (e.g. setuid for the busybox binary). Therefore, this directory - should not be used on your target. Instead, you should use one of - the images built in the images/ directory. If you need an - extracted image of the root filesystem for booting over NFS, then - use the tarball image generated in images/ and extract it as - root. Compared to staging/, target/ contains only the files and - libraries needed to run the selected target applications: the - development files (headers, etc.) are not present, the binaries are - stripped. -

These commands, make menuconfig|nconfig|gconfig|xconfig and make, are the -basic ones that allow to easily and quickly generate images fitting -your needs, with all the features and applications you enabled.

More details about the "make" command usage are given in -Section 8.1, “make tips”.

Chapter 5. Community resources

Like any open source project, Buildroot has different ways to share -information in its community and outside.

Each of those ways may interest you if you are looking for some help, -want to understand Buildroot or contribute to the project.

-Mailing List -

Buildroot has a mailing list for discussion and development. It is the -main method of interaction for Buildroot users and developers.

Only subscribers to the Buildroot mailing list are allowed to post to -this list. You can subscribe via the -mailing list info -page.

Mails that are sent to the mailing list are also available in the -mailing list archives and -via Gmane, at -gmane.comp.lib.uclibc.buildroot. -Please search the mailing list archives before asking questions, since -there is a good chance someone else has asked the same question before.

-IRC -

The Buildroot IRC channel #buildroot is -hosted on OFTC. It is a useful place to -ask quick questions or discuss on certain topics.

When asking for help on IRC, share relevant logs or pieces of code -using a code sharing website, such as http://code.bulix.org.

Note that for certain questions, posting to the mailing list may be -better as it will reach more people, both developers and users.

-Bug tracker -
Bugs in Buildroot can be reported via the mailing list or alternatively -via the Buildroot -bugtracker. Please refer to Section 22.6, “Reporting issues/bugs or getting help” before creating a bug -report.
-Wiki -
The Buildroot wiki page is hosted on -the eLinux wiki. It contains some useful links, an -overview of past and upcoming events, and a TODO list.
-Patchwork -

Patchwork is a web-based patch tracking system designed to facilitate -the contribution and management of contributions to an open-source -project. Patches that have been sent to a mailing list are 'caught' by -the system, and appear on a web page. Any comments posted that -reference the patch are appended to the patch page too. For more -information on Patchwork see -http://jk.ozlabs.org/projects/patchwork/.

Buildroot’s Patchwork website is mainly for use by Buildroot’s -maintainer to ensure patches aren’t missed. It is also used by Buildroot -patch reviewers (see also Section 22.3.1, “Applying Patches from Patchwork”). -However, since the website exposes patches and their corresponding -review comments in a clean and concise web interface, it can be useful -for all Buildroot developers.

The Buildroot patch management interface is available at -http://patchwork.buildroot.org.

Part II. User guide

Chapter 6. Buildroot configuration

All the configuration options in make *config have a help text -providing details about the option.

The make *config commands also offer a search tool. Read the help -message in the different frontend menus to know how to use it:

  • -in menuconfig, the search tool is called by pressing /; -
  • -in xconfig, the search tool is called by pressing Ctrl + f. -

The result of the search shows the help message of the matching items. -In menuconfig, numbers in the left column provide a shortcut to the -corresponding entry. Just type this number to directly jump to the -entry, or to the containing menu in case the entry is not selectable due -to a missing dependency.

Although the menu structure and the help text of the entries should be -sufficiently self-explanatory, a number of topics require additional -explanation that cannot easily be covered in the help text and are -therefore covered in the following sections.

6.1. Cross-compilation toolchain

A compilation toolchain is the set of tools that allows you to compile -code for your system. It consists of a compiler (in our case, gcc), -binary utils like assembler and linker (in our case, binutils) and a -C standard library (for example -GNU Libc, -uClibc-ng).

The system installed on your development station certainly already has -a compilation toolchain that you can use to compile an application -that runs on your system. If you’re using a PC, your compilation -toolchain runs on an x86 processor and generates code for an x86 -processor. Under most Linux systems, the compilation toolchain uses -the GNU libc (glibc) as the C standard library. This compilation -toolchain is called the "host compilation toolchain". The machine on -which it is running, and on which you’re working, is called the "host -system" [3].

The compilation toolchain is provided by your distribution, and -Buildroot has nothing to do with it (other than using it to build a -cross-compilation toolchain and other tools that are run on the -development host).

As said above, the compilation toolchain that comes with your system -runs on and generates code for the processor in your host system. As -your embedded system has a different processor, you need a -cross-compilation toolchain - a compilation toolchain that runs on -your host system but generates code for your target system (and -target processor). For example, if your host system uses x86 and your -target system uses ARM, the regular compilation toolchain on your host -runs on x86 and generates code for x86, while the cross-compilation -toolchain runs on x86 and generates code for ARM.

Buildroot provides two solutions for the cross-compilation toolchain:

  • -The internal toolchain backend, called Buildroot toolchain in - the configuration interface. -
  • -The external toolchain backend, called External toolchain in - the configuration interface. -

The choice between these two solutions is done using the Toolchain -Type option in the Toolchain menu. Once one solution has been -chosen, a number of configuration options appear, they are detailed in -the following sections.

6.1.1. Internal toolchain backend

The internal toolchain backend is the backend where Buildroot builds -by itself a cross-compilation toolchain, before building the userspace -applications and libraries for your target embedded system.

This backend supports several C libraries: -uClibc-ng, -glibc and -musl.

Once you have selected this backend, a number of options appear. The -most important ones allow to:

  • -Change the version of the Linux kernel headers used to build the - toolchain. This item deserves a few explanations. In the process of - building a cross-compilation toolchain, the C library is being - built. This library provides the interface between userspace - applications and the Linux kernel. In order to know how to "talk" - to the Linux kernel, the C library needs to have access to the - Linux kernel headers (i.e. the .h files from the kernel), which - define the interface between userspace and the kernel (system - calls, data structures, etc.). Since this interface is backward - compatible, the version of the Linux kernel headers used to build - your toolchain do not need to match exactly the version of the - Linux kernel you intend to run on your embedded system. They only - need to have a version equal or older to the version of the Linux - kernel you intend to run. If you use kernel headers that are more - recent than the Linux kernel you run on your embedded system, then - the C library might be using interfaces that are not provided by - your Linux kernel. -
  • -Change the version of the GCC compiler, binutils and the C library. -
  • -Select a number of toolchain options (uClibc only): whether the - toolchain should have RPC support (used mainly for NFS), - wide-char support, locale support (for internationalization), - C++ support or thread support. Depending on which options you choose, - the number of userspace applications and libraries visible in - Buildroot menus will change: many applications and libraries require - certain toolchain options to be enabled. Most packages show a comment - when a certain toolchain option is required to be able to enable - those packages. If needed, you can further refine the uClibc - configuration by running make uclibc-menuconfig. Note however that - all packages in Buildroot are tested against the default uClibc - configuration bundled in Buildroot: if you deviate from this - configuration by removing features from uClibc, some packages may no - longer build. -

It is worth noting that whenever one of those options is modified, -then the entire toolchain and system must be rebuilt. See -Section 8.2, “Understanding when a full rebuild is necessary”.

Advantages of this backend:

  • -Well integrated with Buildroot -
  • -Fast, only builds what’s necessary -

Drawbacks of this backend:

  • -Rebuilding the toolchain is needed when doing make clean, which - takes time. If you’re trying to reduce your build time, consider - using the External toolchain backend. -

6.1.2. External toolchain backend

The external toolchain backend allows to use existing pre-built -cross-compilation toolchains. Buildroot knows about a number of -well-known cross-compilation toolchains (from -Linaro for ARM, -Sourcery -CodeBench for ARM, x86-64, PowerPC, and MIPS, and is capable of -downloading them automatically, or it can be pointed to a custom -toolchain, either available for download or installed locally.

Then, you have three solutions to use an external toolchain:

  • -Use a predefined external toolchain profile, and let Buildroot - download, extract and install the toolchain. Buildroot already knows - about a few CodeSourcery and Linaro toolchains. Just select the - toolchain profile in Toolchain from the available ones. This is - definitely the easiest solution. -
  • -Use a predefined external toolchain profile, but instead of having - Buildroot download and extract the toolchain, you can tell Buildroot - where your toolchain is already installed on your system. Just - select the toolchain profile in Toolchain through the available - ones, unselect Download toolchain automatically, and fill the - Toolchain path text entry with the path to your cross-compiling - toolchain. -
  • -Use a completely custom external toolchain. This is particularly - useful for toolchains generated using crosstool-NG or with Buildroot - itself. To do this, select the Custom toolchain solution in the - Toolchain list. You need to fill the Toolchain path, Toolchain - prefix and External toolchain C library options. Then, you have - to tell Buildroot what your external toolchain supports. If your - external toolchain uses the glibc library, you only have to tell - whether your toolchain supports C++ or not and whether it has - built-in RPC support. If your external toolchain uses the uClibc - library, then you have to tell Buildroot if it supports RPC, - wide-char, locale, program invocation, threads and C++. - At the beginning of the execution, Buildroot will tell you if - the selected options do not match the toolchain configuration. -

Our external toolchain support has been tested with toolchains from -CodeSourcery and Linaro, toolchains generated by -crosstool-NG, and toolchains generated by -Buildroot itself. In general, all toolchains that support the -sysroot feature should work. If not, do not hesitate to contact the -developers.

We do not support toolchains or SDK generated by OpenEmbedded or -Yocto, because these toolchains are not pure toolchains (i.e. just the -compiler, binutils, the C and C++ libraries). Instead these toolchains -come with a very large set of pre-compiled libraries and -programs. Therefore, Buildroot cannot import the sysroot of the -toolchain, as it would contain hundreds of megabytes of pre-compiled -libraries that are normally built by Buildroot.

We also do not support using the distribution toolchain (i.e. the -gcc/binutils/C library installed by your distribution) as the -toolchain to build software for the target. This is because your -distribution toolchain is not a "pure" toolchain (i.e. only with the -C/C++ library), so we cannot import it properly into the Buildroot -build environment. So even if you are building a system for a x86 or -x86_64 target, you have to generate a cross-compilation toolchain with -Buildroot or crosstool-NG.

If you want to generate a custom toolchain for your project, that can -be used as an external toolchain in Buildroot, our recommendation is -to build it either with Buildroot itself (see -Section 6.1.3, “Build an external toolchain with Buildroot”) or with -crosstool-NG.

Advantages of this backend:

  • -Allows to use well-known and well-tested cross-compilation - toolchains. -
  • -Avoids the build time of the cross-compilation toolchain, which is - often very significant in the overall build time of an embedded - Linux system. -

Drawbacks of this backend:

  • -If your pre-built external toolchain has a bug, may be hard to get a - fix from the toolchain vendor, unless you build your external - toolchain by yourself using Buildroot or Crosstool-NG. -

6.1.3. Build an external toolchain with Buildroot

The Buildroot internal toolchain option can be used to create an -external toolchain. Here are a series of steps to build an internal -toolchain and package it up for reuse by Buildroot itself (or other -projects).

Create a new Buildroot configuration, with the following details:

  • -Select the appropriate Target options for your target CPU - architecture -
  • -In the Toolchain menu, keep the default of Buildroot toolchain - for Toolchain type, and configure your toolchain as desired -
  • -In the System configuration menu, select None as the Init - system and none as /bin/sh -
  • -In the Target packages menu, disable BusyBox -
  • -In the Filesystem images menu, disable tar the root filesystem -

Then, we can trigger the build, and also ask Buildroot to generate a -SDK. This will conveniently generate for us a tarball which contains -our toolchain:

make sdk

This produces the SDK tarball in $(O)/images, with a name similar to -arm-buildroot-linux-uclibcgnueabi_sdk-buildroot.tar.gz. Save this -tarball, as it is now the toolchain that you can re-use as an external -toolchain in other Buildroot projects.

In those other Buildroot projects, in the Toolchain menu:

  • -Set Toolchain type to External toolchain -
  • -Set Toolchain to Custom toolchain -
  • -Set Toolchain origin to Toolchain to be downloaded and installed -
  • -Set Toolchain URL to file:///path/to/your/sdk/tarball.tar.gz -

External toolchain wrapper

When using an external toolchain, Buildroot generates a wrapper program, -that transparently passes the appropriate options (according to the -configuration) to the external toolchain programs. In case you need to -debug this wrapper to check exactly what arguments are passed, you can -set the environment variable BR2_DEBUG_WRAPPER to either one of:

  • -0, empty or not set: no debug -
  • -1: trace all arguments on a single line -
  • -2: trace one argument per line -

6.2. /dev management

On a Linux system, the /dev directory contains special files, called -device files, that allow userspace applications to access the -hardware devices managed by the Linux kernel. Without these device -files, your userspace applications would not be able to use the -hardware devices, even if they are properly recognized by the Linux -kernel.

Under System configuration, /dev management, Buildroot offers four -different solutions to handle the /dev directory :

  • -The first solution is Static using device table. This is the old - classical way of handling device files in Linux. With this method, - the device files are persistently stored in the root filesystem - (i.e. they persist across reboots), and there is nothing that will - automatically create and remove those device files when hardware - devices are added or removed from the system. Buildroot therefore - creates a standard set of device files using a device table, the - default one being stored in system/device_table_dev.txt in the - Buildroot source code. This file is processed when Buildroot - generates the final root filesystem image, and the device files - are therefore not visible in the output/target directory. The - BR2_ROOTFS_STATIC_DEVICE_TABLE option allows to change the - default device table used by Buildroot, or to add an additional - device table, so that additional device files are created by - Buildroot during the build. So, if you use this method, and a - device file is missing in your system, you can for example create - a board/<yourcompany>/<yourproject>/device_table_dev.txt file - that contains the description of your additional device files, - and then you can set BR2_ROOTFS_STATIC_DEVICE_TABLE to - system/device_table_dev.txt - board/<yourcompany>/<yourproject>/device_table_dev.txt. For more - details about the format of the device table file, see - Chapter 25, Makedev syntax documentation. -
  • -The second solution is Dynamic using devtmpfs only. devtmpfs is - a virtual filesystem inside the Linux kernel that has been - introduced in kernel 2.6.32 (if you use an older kernel, it is not - possible to use this option). When mounted in /dev, this virtual - filesystem will automatically make device files appear and - disappear as hardware devices are added and removed from the - system. This filesystem is not persistent across reboots: it is - filled dynamically by the kernel. Using devtmpfs requires the - following kernel configuration options to be enabled: - CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT. When Buildroot is in - charge of building the Linux kernel for your embedded device, it - makes sure that those two options are enabled. However, if you - build your Linux kernel outside of Buildroot, then it is your - responsibility to enable those two options (if you fail to do so, - your Buildroot system will not boot). -
  • -The third solution is Dynamic using devtmpfs + mdev. This method - also relies on the devtmpfs virtual filesystem detailed above (so - the requirement to have CONFIG_DEVTMPFS and - CONFIG_DEVTMPFS_MOUNT enabled in the kernel configuration still - apply), but adds the mdev userspace utility on top of it. mdev - is a program part of BusyBox that the kernel will call every time a - device is added or removed. Thanks to the /etc/mdev.conf - configuration file, mdev can be configured to for example, set - specific permissions or ownership on a device file, call a script - or application whenever a device appears or disappear, - etc. Basically, it allows userspace to react on device addition - and removal events. mdev can for example be used to automatically - load kernel modules when devices appear on the system. mdev is - also important if you have devices that require a firmware, as it - will be responsible for pushing the firmware contents to the - kernel. mdev is a lightweight implementation (with fewer - features) of udev. For more details about mdev and the syntax - of its configuration file, see - http://git.busybox.net/busybox/tree/docs/mdev.txt. -
  • -The fourth solution is Dynamic using devtmpfs + eudev. This - method also relies on the devtmpfs virtual filesystem detailed - above, but adds the eudev userspace daemon on top of it. eudev - is a daemon that runs in the background, and gets called by the - kernel when a device gets added or removed from the system. It is a - more heavyweight solution than mdev, but provides higher - flexibility. eudev is a standalone version of udev, the - original userspace daemon used in most desktop Linux distributions, - which is now part of Systemd. For more details, see - http://en.wikipedia.org/wiki/Udev. -

The Buildroot developers recommendation is to start with the Dynamic -using devtmpfs only solution, until you have the need for userspace -to be notified when devices are added/removed, or if firmwares are -needed, in which case Dynamic using devtmpfs + mdev is usually a -good solution.

Note that if systemd is chosen as init system, /dev management will -be performed by the udev program provided by systemd.

6.3. init system

The init program is the first userspace program started by the -kernel (it carries the PID number 1), and is responsible for starting -the userspace services and programs (for example: web server, -graphical applications, other network servers, etc.).

Buildroot allows to use three different types of init systems, which -can be chosen from System configuration, Init system:

  • -The first solution is BusyBox. Amongst many programs, BusyBox has - an implementation of a basic init program, which is sufficient - for most embedded systems. Enabling the BR2_INIT_BUSYBOX will - ensure BusyBox will build and install its init program. This is - the default solution in Buildroot. The BusyBox init program will - read the /etc/inittab file at boot to know what to do. The syntax - of this file can be found in - http://git.busybox.net/busybox/tree/examples/inittab (note that - BusyBox inittab syntax is special: do not use a random inittab - documentation from the Internet to learn about BusyBox - inittab). The default inittab in Buildroot is stored in - system/skeleton/etc/inittab. Apart from mounting a few important - filesystems, the main job the default inittab does is to start the - /etc/init.d/rcS shell script, and start a getty program (which - provides a login prompt). -
  • -The second solution is systemV. This solution uses the old - traditional sysvinit program, packed in Buildroot in - package/sysvinit. This was the solution used in most desktop - Linux distributions, until they switched to more recent - alternatives such as Upstart or Systemd. sysvinit also works with - an inittab file (which has a slightly different syntax than the - one from BusyBox). The default inittab installed with this init - solution is located in package/sysvinit/inittab. -
  • -The third solution is systemd. systemd is the new generation - init system for Linux. It does far more than traditional init - programs: aggressive parallelization capabilities, uses socket and - D-Bus activation for starting services, offers on-demand starting - of daemons, keeps track of processes using Linux control groups, - supports snapshotting and restoring of the system state, - etc. systemd will be useful on relatively complex embedded - systems, for example the ones requiring D-Bus and services - communicating between each other. It is worth noting that systemd - brings a fairly big number of large dependencies: dbus, udev - and more. For more details about systemd, see - http://www.freedesktop.org/wiki/Software/systemd. -

The solution recommended by Buildroot developers is to use the -BusyBox init as it is sufficient for most embedded -systems. systemd can be used for more complex situations.



[3] This terminology differs from what is used by GNU -configure, where the host is the machine on which the application will -run (which is usually the same as target)

Chapter 7. Configuration of other components

Before attempting to modify any of the components below, make sure you -have already configured Buildroot itself, and have enabled the -corresponding package.

-BusyBox -

If you already have a BusyBox configuration file, you can directly -specify this file in the Buildroot configuration, using -BR2_PACKAGE_BUSYBOX_CONFIG. Otherwise, Buildroot will start from a -default BusyBox configuration file.

To make subsequent changes to the configuration, use make -busybox-menuconfig to open the BusyBox configuration editor.

It is also possible to specify a BusyBox configuration file through an -environment variable, although this is not recommended. Refer to -Section 8.6, “Environment variables” for more details.

-uClibc -
Configuration of uClibc is done in the same way as for BusyBox. The -configuration variable to specify an existing configuration file is -BR2_UCLIBC_CONFIG. The command to make subsequent changes is make -uclibc-menuconfig.
-Linux kernel -

If you already have a kernel configuration file, you can directly -specify this file in the Buildroot configuration, using -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG.

If you do not yet have a kernel configuration file, you can either start -by specifying a defconfig in the Buildroot configuration, using -BR2_LINUX_KERNEL_USE_DEFCONFIG, or start by creating an empty file and -specifying it as custom configuration file, using -BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG.

To make subsequent changes to the configuration, use make -linux-menuconfig to open the Linux configuration editor.

-Barebox -
Configuration of Barebox is done in the same way as for the Linux -kernel. The corresponding configuration variables are -BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG and -BR2_TARGET_BAREBOX_USE_DEFCONFIG. To open the configuration editor, -use make barebox-menuconfig.
-U-Boot -
Configuration of U-Boot (version 2015.04 or newer) is done in the same -way as for the Linux kernel. The corresponding configuration variables -are BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG and -BR2_TARGET_UBOOT_USE_DEFCONFIG. To open the configuration editor, -use make uboot-menuconfig.

Chapter 8. General Buildroot usage

8.1. make tips

This is a collection of tips that help you make the most of Buildroot.

Display all commands executed by make:  -

 $ make V=1 <target>

-

Display the list of boards with a defconfig:  -

 $ make list-defconfigs

-

Display all available targets:  -

 $ make help

-

Not all targets are always available, -some settings in the .config file may hide some targets:

  • -busybox-menuconfig only works when busybox is enabled; -
  • -linux-menuconfig and linux-savedefconfig only work when - linux is enabled; -
  • -uclibc-menuconfig is only available when the uClibc C library is - selected in the internal toolchain backend; -
  • -barebox-menuconfig and barebox-savedefconfig only work when the - barebox bootloader is enabled. -
  • -uboot-menuconfig and uboot-savedefconfig only work when the - U-Boot bootloader is enabled. -

Cleaning: Explicit cleaning is required when any of the architecture or toolchain -configuration options are changed.

To delete all build products (including build directories, host, staging -and target trees, the images and the toolchain):

 $ make clean

Generating the manual: The present manual sources are located in the docs/manual directory. -To generate the manual:

 $ make manual-clean
- $ make manual

The manual outputs will be generated in output/docs/manual.

Notes

Resetting Buildroot for a new target: To delete all build products as well as the configuration:

 $ make distclean

Notes. If ccache is enabled, running make clean or distclean does -not empty the compiler cache used by Buildroot. To delete it, refer -to Section 8.14.3, “Using ccache in Buildroot”.

Dumping the internal make variables: One can dump the variables known to make, along with their values:

 $ make -s printvars VARS='VARIABLE1 VARIABLE2'
- VARIABLE1=value_of_variable
- VARIABLE2=value_of_variable

It is possible to tweak the output using some variables:

  • -VARS will limit the listing to variables which names match the - specified make-patterns - this must be set else nothing is printed -
  • -QUOTED_VARS, if set to YES, will single-quote the value -
  • -RAW_VARS, if set to YES, will print the unexpanded value -

For example:

 $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES
- BUSYBOX_DEPENDENCIES=skeleton toolchain
- BUSYBOX_FINAL_ALL_DEPENDENCIES=skeleton toolchain
- BUSYBOX_FINAL_DEPENDENCIES=skeleton toolchain
- BUSYBOX_FINAL_PATCH_DEPENDENCIES=
- BUSYBOX_RDEPENDENCIES=ncurses util-linux
 $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES QUOTED_VARS=YES
- BUSYBOX_DEPENDENCIES='skeleton toolchain'
- BUSYBOX_FINAL_ALL_DEPENDENCIES='skeleton toolchain'
- BUSYBOX_FINAL_DEPENDENCIES='skeleton toolchain'
- BUSYBOX_FINAL_PATCH_DEPENDENCIES=''
- BUSYBOX_RDEPENDENCIES='ncurses util-linux'
 $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES RAW_VARS=YES
- BUSYBOX_DEPENDENCIES=skeleton toolchain
- BUSYBOX_FINAL_ALL_DEPENDENCIES=$(sort $(BUSYBOX_FINAL_DEPENDENCIES) $(BUSYBOX_FINAL_PATCH_DEPENDENCIES))
- BUSYBOX_FINAL_DEPENDENCIES=$(sort $(BUSYBOX_DEPENDENCIES))
- BUSYBOX_FINAL_PATCH_DEPENDENCIES=$(sort $(BUSYBOX_PATCH_DEPENDENCIES))
- BUSYBOX_RDEPENDENCIES=ncurses util-linux

The output of quoted variables can be reused in shell scripts, for example:

 $ eval $(make -s printvars VARS=BUSYBOX_DEPENDENCIES QUOTED_VARS=YES)
- $ echo $BUSYBOX_DEPENDENCIES
- skeleton toolchain

8.2. Understanding when a full rebuild is necessary

Buildroot does not attempt to detect what parts of the system should -be rebuilt when the system configuration is changed through make -menuconfig, make xconfig or one of the other configuration -tools. In some cases, Buildroot should rebuild the entire system, in -some cases, only a specific subset of packages. But detecting this in -a completely reliable manner is very difficult, and therefore the -Buildroot developers have decided to simply not attempt to do this.

Instead, it is the responsibility of the user to know when a full -rebuild is necessary. As a hint, here are a few rules of thumb that -can help you understand how to work with Buildroot:

  • -When the target architecture configuration is changed, a complete - rebuild is needed. Changing the architecture variant, the binary - format or the floating point strategy for example has an impact on - the entire system. -
  • -When the toolchain configuration is changed, a complete rebuild - generally is needed. Changing the toolchain configuration often - involves changing the compiler version, the type of C library or - its configuration, or some other fundamental configuration item, - and these changes have an impact on the entire system. -
  • -When an additional package is added to the configuration, a full - rebuild is not necessarily needed. Buildroot will detect that this - package has never been built, and will build it. However, if this - package is a library that can optionally be used by packages that - have already been built, Buildroot will not automatically rebuild - those. Either you know which packages should be rebuilt, and you - can rebuild them manually, or you should do a full rebuild. For - example, let’s suppose you have built a system with the ctorrent - package, but without openssl. Your system works, but you realize - you would like to have SSL support in ctorrent, so you enable the - openssl package in Buildroot configuration and restart the - build. Buildroot will detect that openssl should be built and - will be build it, but it will not detect that ctorrent should be - rebuilt to benefit from openssl to add OpenSSL support. You will - either have to do a full rebuild, or rebuild ctorrent itself. -
  • -When a package is removed from the configuration, Buildroot does - not do anything special. It does not remove the files installed by - this package from the target root filesystem or from the toolchain - sysroot. A full rebuild is needed to get rid of this - package. However, generally you don’t necessarily need this package - to be removed right now: you can wait for the next lunch break to - restart the build from scratch. -
  • -When the sub-options of a package are changed, the package is not - automatically rebuilt. After making such changes, rebuilding only - this package is often sufficient, unless enabling the package - sub-option adds some features to the package that are useful for - another package which has already been built. Again, Buildroot does - not track when a package should be rebuilt: once a package has been - built, it is never rebuilt unless explicitly told to do so. -
  • -When a change to the root filesystem skeleton is made, a full - rebuild is needed. However, when changes to the root filesystem - overlay, a post-build script or a post-image script are made, - there is no need for a full rebuild: a simple make invocation - will take the changes into account. -
  • -When a package listed in FOO_DEPENDENCIES is rebuilt or removed, - the package foo is not automatically rebuilt. For example, if a - package bar is listed in FOO_DEPENDENCIES with FOO_DEPENDENCIES - = bar and the configuration of the bar package is changed, the - configuration change would not result in a rebuild of package foo - automatically. In this scenario, you may need to either rebuild any - packages in your build which reference bar in their DEPENDENCIES, - or perform a full rebuild to ensure any bar dependent packages are - up to date. -

Generally speaking, when you’re facing a build error and you’re unsure -of the potential consequences of the configuration changes you’ve -made, do a full rebuild. If you get the same build error, then you are -sure that the error is not related to partial rebuilds of packages, -and if this error occurs with packages from the official Buildroot, do -not hesitate to report the problem! As your experience with Buildroot -progresses, you will progressively learn when a full rebuild is really -necessary, and you will save more and more time.

For reference, a full rebuild is achieved by running:

$ make clean all

8.3. Understanding how to rebuild packages

One of the most common questions asked by Buildroot users is how to -rebuild a given package or how to remove a package without rebuilding -everything from scratch.

Removing a package is unsupported by Buildroot without -rebuilding from scratch. This is because Buildroot doesn’t keep track -of which package installs what files in the output/staging and -output/target directories, or which package would be compiled differently -depending on the availability of another package.

The easiest way to rebuild a single package from scratch is to remove -its build directory in output/build. Buildroot will then re-extract, -re-configure, re-compile and re-install this package from scratch. You -can ask buildroot to do this with the make <package>-dirclean command.

On the other hand, if you only want to restart the build process of a -package from its compilation step, you can run make <package>-rebuild. It -will restart the compilation and installation of the package, but not from -scratch: it basically re-executes make and make install inside the package, -so it will only rebuild files that changed.

If you want to restart the build process of a package from its configuration -step, you can run make <package>-reconfigure. It will restart the -configuration, compilation and installation of the package.

While <package>-rebuild implies <package>-reinstall and -<package>-reconfigure implies <package>-rebuild, these targets as well -as <package> only act on the said package, and do not trigger re-creating -the root filesystem image. If re-creating the root filesystem in necessary, -one should in addition run make or make all.

Internally, Buildroot creates so-called stamp files to keep track of -which build steps have been completed for each package. They are -stored in the package build directory, -output/build/<package>-<version>/ and are named -.stamp_<step-name>. The commands detailed above simply manipulate -these stamp files to force Buildroot to restart a specific set of -steps of a package build process.

Further details about package special make targets are explained in -Section 8.14.5, “Package-specific make targets”.

8.4. Offline builds

If you intend to do an offline build and just want to download -all sources that you previously selected in the configurator -(menuconfig, nconfig, xconfig or gconfig), then issue:

 $ make source

You can now disconnect or copy the content of your dl -directory to the build-host.

8.5. Building out-of-tree

As default, everything built by Buildroot is stored in the directory -output in the Buildroot tree.

Buildroot also supports building out of tree with a syntax similar to -the Linux kernel. To use it, add O=<directory> to the make command -line:

 $ make O=/tmp/build

Or:

 $ cd /tmp/build; make O=$PWD -C path/to/buildroot

All the output files will be located under /tmp/build. If the O -path does not exist, Buildroot will create it.

Note: the O path can be either an absolute or a relative path, but if it’s -passed as a relative path, it is important to note that it is interpreted -relative to the main Buildroot source directory, not the current working -directory.

When using out-of-tree builds, the Buildroot .config and temporary -files are also stored in the output directory. This means that you can -safely run multiple builds in parallel using the same source tree as -long as they use unique output directories.

For ease of use, Buildroot generates a Makefile wrapper in the output -directory - so after the first run, you no longer need to pass O=<…> -and -C <…>, simply run (in the output directory):

 $ make <target>

8.6. Environment variables

Buildroot also honors some environment variables, when they are passed -to make or set in the environment:

  • -HOSTCXX, the host C++ compiler to use -
  • -HOSTCC, the host C compiler to use -
  • -UCLIBC_CONFIG_FILE=<path/to/.config>, path to - the uClibc configuration file, used to compile uClibc, if an - internal toolchain is being built. - - Note that the uClibc configuration file can also be set from the - configuration interface, so through the Buildroot .config file; this - is the recommended way of setting it. - -
  • -BUSYBOX_CONFIG_FILE=<path/to/.config>, path to - the BusyBox configuration file. - - Note that the BusyBox configuration file can also be set from the - configuration interface, so through the Buildroot .config file; this - is the recommended way of setting it. - -
  • -BR2_CCACHE_DIR to override the directory where - Buildroot stores the cached files when using ccache. - -
  • -BR2_DL_DIR to override the directory in which - Buildroot stores/retrieves downloaded files. - - Note that the Buildroot download directory can also be set from the - configuration interface, so through the Buildroot .config file. See - Section 8.14.4, “Location of downloaded packages” for more details on how you can set the download - directory. -
  • -BR2_GRAPH_ALT, if set and non-empty, to use an alternate color-scheme in - build-time graphs -
  • -BR2_GRAPH_OUT to set the filetype of generated graphs, either pdf (the - default), or png. -
  • -BR2_GRAPH_DEPS_OPTS to pass extra options to the dependency graph; see - Section 8.9, “Graphing the dependencies between packages” for the accepted options -
  • -BR2_GRAPH_DOT_OPTS is passed verbatim as options to the dot utility to - draw the dependency graph. -
  • -BR2_GRAPH_SIZE_OPTS to pass extra options to the size graph; see - Section 8.11, “Graphing the filesystem size contribution of packages” for the acepted options -

An example that uses config files located in the toplevel directory and -in your $HOME:

 $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config

If you want to use a compiler other than the default gcc -or g++ for building helper-binaries on your host, then do

 $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD

8.7. Dealing efficiently with filesystem images

Filesystem images can get pretty big, depending on the filesystem you choose, -the number of packages, whether you provisioned free space… Yet, some -locations in the filesystems images may just be empty (e.g. a long run of -zeroes); such a file is called a sparse file.

Most tools can handle sparse files efficiently, and will only store or write -those parts of a sparse file that are not empty.

For example:

  • -tar accepts the -S option to tell it to only store non-zero blocks - of sparse files: -

    • -tar cf archive.tar -S [files…] will efficiently store sparse files - in a tarball -
    • -tar xf archive.tar -S will efficiently store sparse files extracted - from a tarball -
  • -cp accepts the --sparse=WHEN option (WHEN is one of auto, - never or always): -

    • -cp --sparse=always source.file dest.file will make dest.file a - sparse file if source.file has long runs of zeroes -

Other tools may have similar options. Please consult their respective man -pages.

You can use sparse files if you need to store the filesystem images (e.g. -to transfer from one machine to another), or if you need to send them (e.g. -to the Q&A team).

Note however that flashing a filesystem image to a device while using the -sparse mode of dd may result in a broken filesystem (e.g. the block bitmap -of an ext2 filesystem may be corrupted; or, if you have sparse files in -your filesystem, those parts may not be all-zeroes when read back). You -should only use sparse files when handling files on the build machine, not -when transferring them to an actual device that will be used on the target.

8.8. Details about packages

Buildroot can produce a JSON blurb that describes the set of enabled -packages in the current configuration, together with their -dependencies, licenses and other metadata. This JSON blurb is produced -by using the show-info make target:

make show-info

Buildroot can also produce details about packages as HTML and JSON -output using the pkg-stats make target. Amongst other things, these -details include whether known CVEs (security vulnerabilities) affect -the packages in your current configuration. It also shows if there is -a newer upstream version for those packages.

make pkg-stats

8.9. Graphing the dependencies between packages

One of Buildroot’s jobs is to know the dependencies between packages, -and make sure they are built in the right order. These dependencies -can sometimes be quite complicated, and for a given system, it is -often not easy to understand why such or such package was brought into -the build by Buildroot.

In order to help understanding the dependencies, and therefore better -understand what is the role of the different components in your -embedded Linux system, Buildroot is capable of generating dependency -graphs.

To generate a dependency graph of the full system you have compiled, -simply run:

make graph-depends

You will find the generated graph in -output/graphs/graph-depends.pdf.

If your system is quite large, the dependency graph may be too complex -and difficult to read. It is therefore possible to generate the -dependency graph just for a given package:

make <pkg>-graph-depends

You will find the generated graph in -output/graph/<pkg>-graph-depends.pdf.

Note that the dependency graphs are generated using the dot tool -from the Graphviz project, which you must have installed on your -system to use this feature. In most distributions, it is available as -the graphviz package.

By default, the dependency graphs are generated in the PDF -format. However, by passing the BR2_GRAPH_OUT environment variable, you -can switch to other output formats, such as PNG, PostScript or -SVG. All formats supported by the -T option of the dot tool are -supported.

BR2_GRAPH_OUT=svg make graph-depends

The graph-depends behaviour can be controlled by setting options in the -BR2_GRAPH_DEPS_OPTS environment variable. The accepted options are:

  • ---depth N, -d N, to limit the dependency depth to N levels. The - default, 0, means no limit. -
  • ---stop-on PKG, -s PKG, to stop the graph on the package PKG. - PKG can be an actual package name, a glob, the keyword virtual - (to stop on virtual packages), or the keyword host (to stop on - host packages). The package is still present on the graph, but its - dependencies are not. -
  • ---exclude PKG, -x PKG, like --stop-on, but also omits PKG from - the graph. -
  • ---transitive, --no-transitive, to draw (or not) the transitive - dependencies. The default is to not draw transitive dependencies. -
  • ---colors R,T,H, the comma-separated list of colors to draw the - root package (R), the target packages (T) and the host packages - (H). Defaults to: lightblue,grey,gainsboro -
BR2_GRAPH_DEPS_OPTS='-d 3 --no-transitive --colors=red,green,blue' make graph-depends

8.10. Graphing the build duration

When the build of a system takes a long time, it is sometimes useful -to be able to understand which packages are the longest to build, to -see if anything can be done to speed up the build. In order to help -such build time analysis, Buildroot collects the build time of each -step of each package, and allows to generate graphs from this data.

To generate the build time graph after a build, run:

make graph-build

This will generate a set of files in output/graphs :

  • -build.hist-build.pdf, a histogram of the build time for each - package, ordered in the build order. -
  • -build.hist-duration.pdf, a histogram of the build time for each - package, ordered by duration (longest first) -
  • -build.hist-name.pdf, a histogram of the build time for each - package, order by package name. -
  • -build.pie-packages.pdf, a pie chart of the build time per package -
  • -build.pie-steps.pdf, a pie chart of the global time spent in each - step of the packages build process. -

This graph-build target requires the Python Matplotlib and Numpy -libraries to be installed (python-matplotlib and python-numpy on -most distributions), and also the argparse module if you’re using a -Python version older than 2.7 (python-argparse on most -distributions).

By default, the output format for the graph is PDF, but a different -format can be selected using the BR2_GRAPH_OUT environment variable. The -only other format supported is PNG:

BR2_GRAPH_OUT=png make graph-build

8.11. Graphing the filesystem size contribution of packages

When your target system grows, it is sometimes useful to understand -how much each Buildroot package is contributing to the overall root -filesystem size. To help with such an analysis, Buildroot collects -data about files installed by each package and using this data, -generates a graph and CSV files detailing the size contribution of -the different packages.

To generate these data after a build, run:

make graph-size

This will generate:

  • -output/graphs/graph-size.pdf, a pie chart of the contribution of - each package to the overall root filesystem size -
  • -output/graphs/package-size-stats.csv, a CSV file giving the size - contribution of each package to the overall root filesystem size -
  • -output/graphs/file-size-stats.csv, a CSV file giving the size - contribution of each installed file to the package it belongs, and - to the overall filesystem size. -

This graph-size target requires the Python Matplotlib library to be -installed (python-matplotlib on most distributions), and also the -argparse module if you’re using a Python version older than 2.7 -(python-argparse on most distributions).

Just like for the duration graph, a BR2_GRAPH_OUT environment variable -is supported to adjust the output file format. See Section 8.9, “Graphing the dependencies between packages” -for details about this environment variable.

Additionally, one may set the environment variable BR2_GRAPH_SIZE_OPTS -to further control the generated graph. Accepted options are:

  • ---size-limit X, -l X, will group all packages which individual - contribution is below X percent, to a single entry labelled Others - in the graph. By default, X=0.01, which means packages each - contributing less than 1% are grouped under Others. Accepted values - are in the range [0.0..1.0]. -
  • ---iec, --binary, --si, --decimal, to use IEC (binary, powers - of 1024) or SI (decimal, powers of 1000; the default) prefixes. -
  • ---biggest-first, to sort packages in decreasing size order, rather - than in increasing size order. -

Note. The collected filesystem size data is only meaningful after a complete -clean rebuild. Be sure to run make clean all before using make -graph-size.

To compare the root filesystem size of two different Buildroot compilations, -for example after adjusting the configuration or when switching to another -Buildroot release, use the size-stats-compare script. It takes two -file-size-stats.csv files (produced by make graph-size) as input. -Refer to the help text of this script for more details:

utils/size-stats-compare -h

8.12. Top-level parallel build

Note. This section deals with a very experimental feature, which is known to -break even in some non-unusual situations. Use at your own risk.

Buildroot has always been capable of using parallel build on a per -package basis: each package is built by Buildroot using make -jN (or -the equivalent invocation for non-make-based build systems). The level -of parallelism is by default number of CPUs + 1, but it can be -adjusted using the BR2_JLEVEL configuration option.

Until 2020.02, Buildroot was however building packages in a serial -fashion: each package was built one after the other, without -parallelization of the build between packages. As of 2020.02, -Buildroot has experimental support for top-level parallel build, -which allows some signicant build time savings by building packages -that have no dependency relationship in parallel. This feature is -however marked as experimental and is known not to work in some cases.

In order to use top-level parallel build, one must:

  1. -Enable the option BR2_PER_PACKAGE_DIRECTORIES in the Buildroot -configuration -
  2. -Use make -jN when starting the Buildroot build -

Internally, the BR2_PER_PACKAGE_DIRECTORIES will enable a mechanism -called per-package directories, which will have the following -effects:

  • -Instead of a global target directory and a global host directory - common to all packages, per-package target and host directories - will be used, in $(O)/per-package/<pkg>/target/ and - $(O)/per-package/<pkg>/host/ respectively. Those folders will be - populated from the corresponding folders of the package dependencies - at the beginning of <pkg> build. The compiler and all other tools - will therefore only be able to see and access files installed by - dependencies explicitly listed by <pkg>. -
  • -At the end of the build, the global target and host directories - will be populated, located in $(O)/target and $(O)/host - respectively. This means that during the build, those folders will - be empty and it’s only at the very end of the build that they will - be populated. -

8.13. Integration with Eclipse

While a part of the embedded Linux developers like classical text -editors like Vim or Emacs, and command-line based interfaces, a number -of other embedded Linux developers like richer graphical interfaces to -do their development work. Eclipse being one of the most popular -Integrated Development Environment, Buildroot integrates with Eclipse -in order to ease the development work of Eclipse users.

Our integration with Eclipse simplifies the compilation, remote -execution and remote debugging of applications and libraries that are -built on top of a Buildroot system. It does not integrate the -Buildroot configuration and build processes themselves with -Eclipse. Therefore, the typical usage model of our Eclipse integration -would be:

  • -Configure your Buildroot system with make menuconfig, make - xconfig or any other configuration interface provided with - Buildroot. -
  • -Build your Buildroot system by running make. -
  • -Start Eclipse to develop, execute and debug your own custom - applications and libraries, that will rely on the libraries built - and installed by Buildroot. -

The Buildroot Eclipse integration installation process and usage is -described in detail at -https://github.com/mbats/eclipse-buildroot-bundle/wiki.

8.14. Advanced usage

8.14.1. Using the generated toolchain outside Buildroot

You may want to compile, for your target, your own programs or other -software that are not packaged in Buildroot. In order to do this you -can use the toolchain that was generated by Buildroot.

The toolchain generated by Buildroot is located by default in -output/host/. The simplest way to use it is to add -output/host/bin/ to your PATH environment variable and then to -use ARCH-linux-gcc, ARCH-linux-objdump, ARCH-linux-ld, etc.

Alternatively, Buildroot can also export the toolchain and the development -files of all selected packages, as an SDK, by running the command -make sdk. This generates a tarball of the content of the host directory -output/host/, named <TARGET-TUPLE>_sdk-buildroot.tar.gz (which can be -overriden by setting the environment variable BR2_SDK_PREFIX) and -located in the output directory output/images/.

This tarball can then be distributed to application developers, when -they want to develop their applications that are not (yet) packaged as -a Buildroot package.

Upon extracting the SDK tarball, the user must run the script -relocate-sdk.sh (located at the top directory of the SDK), to make -sure all paths are updated with the new location.

Alternatively, if you just want to prepare the SDK without generating -the tarball (e.g. because you will just be moving the host directory, -or will be generating the tarball on your own), Buildroot also allows -you to just prepare the SDK with make prepare-sdk without actually -generating a tarball.

For your convenience, by selecting the option -BR2_PACKAGE_HOST_ENVIRONMENT_SETUP, you can get a -environment-setup script installed in output/host/ and therefore -in your SDK. This script can be sourced with -. your/sdk/path/environment-setup to export a number of environment -variables that will help cross-compile your projects using the -Buildroot SDK: the PATH will contain the SDK binaries, standard -autotools variables will be defined with the appropriate values, and -CONFIGURE_FLAGS will contain basic ./configure options to -cross-compile autotools projects. It also provides some useful -commands. Note however that once this script is sourced, the -environment is setup only for cross-compilation, and no longer for -native compilation.

8.14.2. Using gdb in Buildroot

Buildroot allows to do cross-debugging, where the debugger runs on the -build machine and communicates with gdbserver on the target to -control the execution of the program.

To achieve this:

  • -If you are using an internal toolchain (built by Buildroot), you - must enable BR2_PACKAGE_HOST_GDB, BR2_PACKAGE_GDB and - BR2_PACKAGE_GDB_SERVER. This ensures that both the cross gdb and - gdbserver get built, and that gdbserver gets installed to your target. -
  • -If you are using an external toolchain, you should enable - BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY, which will copy the - gdbserver included with the external toolchain to the target. If your - external toolchain does not have a cross gdb or gdbserver, it is also - possible to let Buildroot build them, by enabling the same options as - for the internal toolchain backend. -

Now, to start debugging a program called foo, you should run on the -target:

gdbserver :2345 foo

This will cause gdbserver to listen on TCP port 2345 for a connection -from the cross gdb.

Then, on the host, you should start the cross gdb using the following -command line:

<buildroot>/output/host/bin/<tuple>-gdb -x <buildroot>/output/staging/usr/share/buildroot/gdbinit foo

Of course, foo must be available in the current directory, built -with debugging symbols. Typically you start this command from the -directory where foo is built (and not from output/target/ as the -binaries in that directory are stripped).

The <buildroot>/output/staging/usr/share/buildroot/gdbinit file will tell the -cross gdb where to find the libraries of the target.

Finally, to connect to the target from the cross gdb:

(gdb) target remote <target ip address>:2345

8.14.3. Using ccache in Buildroot

ccache is a compiler cache. It stores the -object files resulting from each compilation process, and is able to -skip future compilation of the same source file (with same compiler -and same arguments) by using the pre-existing object files. When doing -almost identical builds from scratch a number of times, it can nicely -speed up the build process.

ccache support is integrated in Buildroot. You just have to enable -Enable compiler cache in Build options. This will automatically -build ccache and use it for every host and target compilation.

The cache is located in $HOME/.buildroot-ccache. It is stored -outside of Buildroot output directory so that it can be shared by -separate Buildroot builds. If you want to get rid of the cache, simply -remove this directory.

You can get statistics on the cache (its size, number of hits, -misses, etc.) by running make ccache-stats.

The make target ccache-options and the CCACHE_OPTIONS variable -provide more generic access to the ccache. For example

# set cache limit size
-make CCACHE_OPTIONS="--max-size=5G" ccache-options
-
-# zero statistics counters
-make CCACHE_OPTIONS="--zero-stats" ccache-options

ccache makes a hash of the source files and of the compiler options. -If a compiler option is different, the cached object file will not be -used. Many compiler options, however, contain an absolute path to the -staging directory. Because of this, building in a different output -directory would lead to many cache misses.

To avoid this issue, buildroot has the Use relative paths option -(BR2_CCACHE_USE_BASEDIR). This will rewrite all absolute paths that -point inside the output directory into relative paths. Thus, changing -the output directory no longer leads to cache misses.

A disadvantage of the relative paths is that they also end up to be -relative paths in the object file. Therefore, for example, the debugger -will no longer find the file, unless you cd to the output directory -first.

See the -ccache manual’s section on "Compiling in different directories" for -more details about this rewriting of absolute paths.

8.14.4. Location of downloaded packages

The various tarballs that are downloaded by Buildroot are all stored -in BR2_DL_DIR, which by default is the dl directory. If you want -to keep a complete version of Buildroot which is known to be working -with the associated tarballs, you can make a copy of this directory. -This will allow you to regenerate the toolchain and the target -filesystem with exactly the same versions.

If you maintain several Buildroot trees, it might be better to have a -shared download location. This can be achieved by pointing the -BR2_DL_DIR environment variable to a directory. If this is -set, then the value of BR2_DL_DIR in the Buildroot configuration is -overridden. The following line should be added to <~/.bashrc>.

 export BR2_DL_DIR=<shared download location>

The download location can also be set in the .config file, with the -BR2_DL_DIR option. Unlike most options in the .config file, this value -is overridden by the BR2_DL_DIR environment variable.

8.14.5. Package-specific make targets

Running make <package> builds and installs that particular package -and its dependencies.

For packages relying on the Buildroot infrastructure, there are -numerous special make targets that can be called independently like -this:

make <package>-<target>

The package build targets are (in the order they are executed):

command/target Description

source

Fetch the source (download the tarball, clone -the source repository, etc)

depends

Build and install all dependencies required to -build the package

extract

Put the source in the package build directory -(extract the tarball, copy the source, etc)

patch

Apply the patches, if any

configure

Run the configure commands, if any

build

Run the compilation commands

install-staging

target package: Run the installation of the package in the -staging directory, if necessary

install-target

target package: Run the installation of the package in the -target directory, if necessary

install

target package: Run the 2 previous installation commands

-

host package: Run the installation of the package in the host -directory

Additionally, there are some other useful make targets:

command/target Description

show-depends

Displays the first-order dependencies required to build the -package

show-recursive-depends

Recursively displays the dependencies - required to build the package

show-rdepends

Displays the first-order reverse dependencies of - the package (i.e packages that directly depend on it)

show-recursive-rdepends

Recursively displays the reverse - dependencies of the package (i.e the packages that depend on it, - directly or indirectly)

graph-depends

Generate a dependency graph of the package, in the -context of the current Buildroot configuration. See -this section for more details about dependency -graphs.

graph-rdepends

Generate a graph of this package reverse - dependencies (i.e the packages that depend on it, directly or - indirectly)

dirclean

Remove the whole package build directory

reinstall

Re-run the install commands

rebuild

Re-run the compilation commands - this only makes -sense when using the OVERRIDE_SRCDIR feature or when you modified a file -directly in the build directory

reconfigure

Re-run the configure commands, then rebuild - this only -makes sense when using the OVERRIDE_SRCDIR feature or when you modified a -file directly in the build directory

8.14.6. Using Buildroot during development

The normal operation of Buildroot is to download a tarball, extract -it, configure, compile and install the software component found inside -this tarball. The source code is extracted in -output/build/<package>-<version>, which is a temporary directory: -whenever make clean is used, this directory is entirely removed, and -re-created at the next make invocation. Even when a Git or -Subversion repository is used as the input for the package source -code, Buildroot creates a tarball out of it, and then behaves as it -normally does with tarballs.

This behavior is well-suited when Buildroot is used mainly as an -integration tool, to build and integrate all the components of an -embedded Linux system. However, if one uses Buildroot during the -development of certain components of the system, this behavior is not -very convenient: one would instead like to make a small change to the -source code of one package, and be able to quickly rebuild the system -with Buildroot.

Making changes directly in output/build/<package>-<version> is not -an appropriate solution, because this directory is removed on make -clean.

Therefore, Buildroot provides a specific mechanism for this use case: -the <pkg>_OVERRIDE_SRCDIR mechanism. Buildroot reads an override -file, which allows the user to tell Buildroot the location of the -source for certain packages.

The default location of the override file is $(CONFIG_DIR)/local.mk, -as defined by the BR2_PACKAGE_OVERRIDE_FILE configuration option. -$(CONFIG_DIR) is the location of the Buildroot .config file, so -local.mk by default lives side-by-side with the .config file, -which means:

  • -In the top-level Buildroot source directory for in-tree builds - (i.e., when O= is not used) -
  • -In the out-of-tree directory for out-of-tree builds (i.e., when - O= is used) -

If a different location than these defaults is required, it can be -specified through the BR2_PACKAGE_OVERRIDE_FILE configuration -option.

In this override file, Buildroot expects to find lines of the form:

<pkg1>_OVERRIDE_SRCDIR = /path/to/pkg1/sources
-<pkg2>_OVERRIDE_SRCDIR = /path/to/pkg2/sources

For example:

LINUX_OVERRIDE_SRCDIR = /home/bob/linux/
-BUSYBOX_OVERRIDE_SRCDIR = /home/bob/busybox/

When Buildroot finds that for a given package, an -<pkg>_OVERRIDE_SRCDIR has been defined, it will no longer attempt to -download, extract and patch the package. Instead, it will directly use -the source code available in the specified directory and make clean -will not touch this directory. This allows to point Buildroot to your -own directories, that can be managed by Git, Subversion, or any other -version control system. To achieve this, Buildroot will use rsync to -copy the source code of the component from the specified -<pkg>_OVERRIDE_SRCDIR to output/build/<package>-custom/.

This mechanism is best used in conjunction with the make -<pkg>-rebuild and make <pkg>-reconfigure targets. A make -<pkg>-rebuild all sequence will rsync the source code from -<pkg>_OVERRIDE_SRCDIR to output/build/<package>-custom (thanks to -rsync, only the modified files are copied), and restart the build -process of just this package.

In the example of the linux package above, the developer can then -make a source code change in /home/bob/linux and then run:

make linux-rebuild all

and in a matter of seconds gets the updated Linux kernel image in -output/images. Similarly, a change can be made to the BusyBox source -code in /home/bob/busybox, and after:

make busybox-rebuild all

the root filesystem image in output/images contains the updated -BusyBox.

Source trees for big projects often contain hundreds or thousands of -files which are not needed for building, but will slow down the process -of copying the sources with rsync. Optionally, it is possible define -<pkg>_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS to skip syncing certain files -from the source tree. For example, when working on the webkitgtk -package, the following will exclude the tests and in-tree builds from -a local WebKit source tree:

WEBKITGTK_OVERRIDE_SRCDIR = /home/bob/WebKit
-WEBKITGTK_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = \
-        --exclude JSTests --exclude ManualTests --exclude PerformanceTests \
-        --exclude WebDriverTests --exclude WebKitBuild --exclude WebKitLibraries \
-        --exclude WebKit.xcworkspace --exclude Websites --exclude Examples

By default, Buildroot skips syncing of VCS artifacts (e.g., the .git and -.svn directories). Some packages prefer to have these VCS directories -available during build, for example for automatically determining a precise -commit reference for version information. To undo this built-in filtering at a -cost of a slower speed, add these directories back:

LINUX_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = --include .git

Chapter 9. Project-specific customization

Typical actions you may need to perform for a given project are:

  • -configuring Buildroot (including build options and toolchain, - bootloader, kernel, package and filesystem image type selection) -
  • -configuring other components, like the Linux kernel and BusyBox -
  • -customizing the generated target filesystem -

    • -adding or overwriting files on the target filesystem (using - BR2_ROOTFS_OVERLAY) -
    • -modifying or deleting files on the target filesystem (using - BR2_ROOTFS_POST_BUILD_SCRIPT) -
    • -running arbitrary commands prior to generating the filesystem image - (using BR2_ROOTFS_POST_BUILD_SCRIPT) -
    • -setting file permissions and ownership (using - BR2_ROOTFS_DEVICE_TABLE) -
    • -adding custom devices nodes (using - BR2_ROOTFS_STATIC_DEVICE_TABLE) -
  • -adding custom user accounts (using BR2_ROOTFS_USERS_TABLES) -
  • -running arbitrary commands after generating the filesystem image - (using BR2_ROOTFS_POST_IMAGE_SCRIPT) -
  • -adding project-specific patches to some packages (using - BR2_GLOBAL_PATCH_DIR) -
  • -adding project-specific packages -

An important note regarding such project-specific customizations: -please carefully consider which changes are indeed project-specific and -which changes are also useful to developers outside your project. The -Buildroot community highly recommends and encourages the upstreaming of -improvements, packages and board support to the official Buildroot -project. Of course, it is sometimes not possible or desirable to -upstream because the changes are highly specific or proprietary.

This chapter describes how to make such project-specific customizations -in Buildroot and how to store them in a way that you can build the same -image in a reproducible way, even after running make clean. By -following the recommended strategy, you can even use the same Buildroot -tree to build multiple distinct projects!

9.1. Recommended directory structure

When customizing Buildroot for your project, you will be creating one or -more project-specific files that need to be stored somewhere. While most -of these files could be placed in any location as their path is to be -specified in the Buildroot configuration, the Buildroot developers -recommend a specific directory structure which is described in this -section.

Orthogonal to this directory structure, you can choose where you place -this structure itself: either inside the Buildroot tree, or outside of -it using a br2-external tree. Both options are valid, the choice is up -to you.

+-- board/
-|   +-- <company>/
-|       +-- <boardname>/
-|           +-- linux.config
-|           +-- busybox.config
-|           +-- <other configuration files>
-|           +-- post_build.sh
-|           +-- post_image.sh
-|           +-- rootfs_overlay/
-|           |   +-- etc/
-|           |   +-- <some file>
-|           +-- patches/
-|               +-- foo/
-|               |   +-- <some patch>
-|               +-- libbar/
-|                   +-- <some other patches>
-|
-+-- configs/
-|   +-- <boardname>_defconfig
-|
-+-- package/
-|   +-- <company>/
-|       +-- Config.in (if not using a br2-external tree)
-|       +-- <company>.mk (if not using a br2-external tree)
-|       +-- package1/
-|       |    +-- Config.in
-|       |    +-- package1.mk
-|       +-- package2/
-|           +-- Config.in
-|           +-- package2.mk
-|
-+-- Config.in (if using a br2-external tree)
-+-- external.mk (if using a br2-external tree)
-+-- external.desc (if using a br2-external tree)

Details on the files shown above are given further in this chapter.

Note: if you choose to place this structure outside of the Buildroot -tree but in a br2-external tree, the <company> and possibly <boardname> -components may be superfluous and can be left out.

9.1.1. Implementing layered customizations

It is quite common for a user to have several related projects that partly -need the same customizations. Instead of duplicating these -customizations for each project, it is recommended to use a layered -customization approach, as explained in this section.

Almost all of the customization methods available in Buildroot, like -post-build scripts and root filesystem overlays, accept a -space-separated list of items. The specified items are always treated in -order, from left to right. By creating more than one such item, one for -the common customizations and another one for the really -project-specific customizations, you can avoid unnecessary duplication. -Each layer is typically embodied by a separate directory inside -board/<company>/. Depending on your projects, you could even introduce -more than two layers.

An example directory structure for where a user has two customization -layers common and fooboard is:

+-- board/
-    +-- <company>/
-        +-- common/
-        |   +-- post_build.sh
-        |   +-- rootfs_overlay/
-        |   |   +-- ...
-        |   +-- patches/
-        |       +-- ...
-        |
-        +-- fooboard/
-            +-- linux.config
-            +-- busybox.config
-            +-- <other configuration files>
-            +-- post_build.sh
-            +-- rootfs_overlay/
-            |   +-- ...
-            +-- patches/
-                +-- ...

For example, if the user has the BR2_GLOBAL_PATCH_DIR configuration -option set as:

BR2_GLOBAL_PATCH_DIR="board/<company>/common/patches board/<company>/fooboard/patches"

then first the patches from the common layer would be applied, -followed by the patches from the fooboard layer.

9.2. Keeping customizations outside of Buildroot

As already briefly mentioned in Section 9.1, “Recommended directory structure”, you can -place project-specific customizations in two locations:

  • -directly within the Buildroot tree, typically maintaining them using - branches in a version control system so that upgrading to a newer - Buildroot release is easy. -
  • -outside of the Buildroot tree, using the br2-external mechanism. - This mechanism allows to keep package recipes, board support and - configuration files outside of the Buildroot tree, while still - having them nicely integrated in the build logic. We call this - location a br2-external tree. This section explains how to use - the br2-external mechanism and what to provide in a br2-external - tree. -

One can tell Buildroot to use one or more br2-external trees by setting -the BR2_EXTERNAL make variable set to the path(s) of the br2-external -tree(s) to use. It can be passed to any Buildroot make invocation. It -is automatically saved in the hidden .br2-external.mk file in the output -directory. Thanks to this, there is no need to pass BR2_EXTERNAL at -every make invocation. It can however be changed at any time by -passing a new value, and can be removed by passing an empty value.

Note. The path to a br2-external tree can be either absolute or relative. -If it is passed as a relative path, it is important to note that it is -interpreted relative to the main Buildroot source directory, not to -the Buildroot output directory.

Note: If using an br2-external tree from before Buildroot 2016.11, you need to -convert it before you can use it with Buildroot 2016.11 onward. See -Section 27.1, “Migrating to 2016.11” for help on doing so.

Some examples:

buildroot/ $ make BR2_EXTERNAL=/path/to/foo menuconfig

From now on, definitions from the /path/to/foo br2-external tree -will be used:

buildroot/ $ make
-buildroot/ $ make legal-info

We can switch to another br2-external tree at any time:

buildroot/ $ make BR2_EXTERNAL=/where/we/have/bar xconfig

We can also use multiple br2-external trees:

buildroot/ $ make BR2_EXTERNAL=/path/to/foo:/where/we/have/bar menuconfig

Or disable the usage of any br2-external tree:

buildroot/ $ make BR2_EXTERNAL= xconfig

9.2.1. Layout of a br2-external tree

A br2-external tree must contain at least those three files, described -in the following chapters:

  • -external.desc -
  • -external.mk -
  • -Config.in -

Apart from those mandatory files, there may be additional and optional -content that may be present in a br2-external tree, like the configs/ -or provides/ directories. They are described in the following chapters -as well.

A complete example br2-external tree layout is also described later.

The external.desc file

That file describes the br2-external tree: the name and description -for that br2-external tree.

The format for this file is line based, with each line starting by a -keyword, followed by a colon and one or more spaces, followed by the -value assigned to that keyword. There are two keywords currently -recognised:

  • -name, mandatory, defines the name for that br2-external tree. That - name must only use ASCII characters in the set [A-Za-z0-9_]; any - other character is forbidden. Buildroot sets the variable - BR2_EXTERNAL_$(NAME)_PATH to the absolute path of the br2-external - tree, so that you can use it to refer to your br2-external tree. This - variable is available both in Kconfig, so you can use it to source your - Kconfig files (see below) and in the Makefile, so that you can use it - to include other Makefiles (see below) or refer to other files (like - data files) from your br2-external tree. -

    Note: Since it is possible to use multiple br2-external trees at once, this - name is used by Buildroot to generate variables for each of those trees. - That name is used to identify your br2-external tree, so try to come up - with a name that really describes your br2-external tree, in order for - it to be relatively unique, so that it does not clash with another name - from another br2-external tree, especially if you are planning on - somehow sharing your br2-external tree with third parties or using - br2-external trees from third parties.

  • -desc, optional, provides a short description for that br2-external - tree. It shall fit on a single line, is mostly free-form (see below), - and is used when displaying information about a br2-external tree (e.g. - above the list of defconfig files, or as the prompt in the menuconfig); - as such, it should relatively brief (40 chars is probably a good upper - limit). The description is available in the BR2_EXTERNAL_$(NAME)_DESC - variable. -

Examples of names and the corresponding BR2_EXTERNAL_$(NAME)_PATH -variables:

  • -FOOBR2_EXTERNAL_FOO_PATH -
  • -BAR_42BR2_EXTERNAL_BAR_42_PATH -

In the following examples, it is assumed the name to be set to BAR_42.

Note: Both BR2_EXTERNAL_$(NAME)_PATH and BR2_EXTERNAL_$(NAME)_DESC are - available in the Kconfig files and the Makefiles. They are also - exported in the environment so are available in post-build, post-image - and in-fakeroot scripts.

The Config.in and external.mk files

Those files (which may each be empty) can be used to define package -recipes (i.e. foo/Config.in and foo/foo.mk like for packages bundled -in Buildroot itself) or other custom configuration options or make logic.

Buildroot automatically includes the Config.in from each br2-external -tree to make it appear in the top-level configuration menu, and includes -the external.mk from each br2-external tree with the rest of the -makefile logic.

The main usage of this is to store package recipes. The recommended way -to do this is to write a Config.in file that looks like:

source "$BR2_EXTERNAL_BAR_42_PATH/package/package1/Config.in"
-source "$BR2_EXTERNAL_BAR_42_PATH/package/package2/Config.in"

Then, have an external.mk file that looks like:

include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk))

And then in $(BR2_EXTERNAL_BAR_42_PATH)/package/package1 and -$(BR2_EXTERNAL_BAR_42_PATH)/package/package2 create normal -Buildroot package recipes, as explained in Chapter 18, Adding new packages to Buildroot. -If you prefer, you can also group the packages in subdirectories -called <boardname> and adapt the above paths accordingly.

You can also define custom configuration options in Config.in and -custom make logic in external.mk.

The configs/ directory

One can store Buildroot defconfigs in the configs subdirectory of -the br2-external tree. Buildroot will automatically show them in the -output of make list-defconfigs and allow them to be loaded with the -normal make <name>_defconfig command. They will be visible in the -make list-defconfigs output, below an External configs label that -contains the name of the br2-external tree they are defined in.

Note: If a defconfig file is present in more than one br2-external tree, then -the one from the last br2-external tree is used. It is thus possible -to override a defconfig bundled in Buildroot or another br2-external -tree.

The provides/ directory

For some packages, Buildroot provides a choice between two (or more) -implementations of API-compatible such packages. For example, there is -a choice to choose either libjpeg ot jpeg-turbo; there is one between -openssl or libressl; there is one to select one of the known, -pre-configured toolchains…

It is possible for a br2-external to extend those choices, by providing -a set of files that define those alternatives:

  • -provides/toolchains.in defines the pre-configured toolchains, which - will then be listed in the toolchain selection; -
  • -provides/jpeg.in defines the alternative libjpeg implementations; -
  • -provides/openssl.in defines the alternative openssl implementations; -
  • -provides/skeleton.in defines the alternative skeleton implementations; -
  • -provides/init.in defines the alternative init system implementations, this - can be used to select a default skeleton for your init. -

Free-form content

One can store all the board-specific configuration files there, such -as the kernel configuration, the root filesystem overlay, or any other -configuration file for which Buildroot allows to set the location (by -using the BR2_EXTERNAL_$(NAME)_PATH variable). For example, you -could set the paths to a global patch directory, to a rootfs overlay -and to the kernel configuration file as follows (e.g. by running -make menuconfig and filling in these options):

BR2_GLOBAL_PATCH_DIR=$(BR2_EXTERNAL_BAR_42_PATH)/patches/
-BR2_ROOTFS_OVERLAY=$(BR2_EXTERNAL_BAR_42_PATH)/board/<boardname>/overlay/
-BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=$(BR2_EXTERNAL_BAR_42_PATH)/board/<boardname>/kernel.config

Additional Linux kernel extensions

Additional Linux kernel extensions (see Section 18.21.2, “linux-kernel-extensions”) can -be added by storing them in the linux/ directory at the root of a -br2-external tree.

Example layout

Here is an example layout using all features of br2-external (the sample -content is shown for the file above it, when it is relevant to explain -the br2-external tree; this is all entirely made up just for the sake of -illustration, of course):

/path/to/br2-ext-tree/
-  |- external.desc
-  |     |name: BAR_42
-  |     |desc: Example br2-external tree
-  |     `----
-  |
-  |- Config.in
-  |     |source "$BR2_EXTERNAL_BAR_42_PATH/toolchain/toolchain-external-mine/Config.in.options"
-  |     |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-1/Config.in"
-  |     |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-2/Config.in"
-  |     |source "$BR2_EXTERNAL_BAR_42_PATH/package/my-jpeg/Config.in"
-  |     |
-  |     |config BAR_42_FLASH_ADDR
-  |     |    hex "my-board flash address"
-  |     |    default 0x10AD
-  |     `----
-  |
-  |- external.mk
-  |     |include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk))
-  |     |include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/toolchain/*/*.mk))
-  |     |
-  |     |flash-my-board:
-  |     |    $(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/flash-image \
-  |     |        --image $(BINARIES_DIR)/image.bin \
-  |     |        --address $(BAR_42_FLASH_ADDR)
-  |     `----
-  |
-  |- package/pkg-1/Config.in
-  |     |config BR2_PACKAGE_PKG_1
-  |     |    bool "pkg-1"
-  |     |    help
-  |     |      Some help about pkg-1
-  |     `----
-  |- package/pkg-1/pkg-1.hash
-  |- package/pkg-1/pkg-1.mk
-  |     |PKG_1_VERSION = 1.2.3
-  |     |PKG_1_SITE = /some/where/to/get/pkg-1
-  |     |PKG_1_LICENSE = blabla
-  |     |
-  |     |define PKG_1_INSTALL_INIT_SYSV
-  |     |    $(INSTALL) -D -m 0755 $(PKG_1_PKGDIR)/S99my-daemon \
-  |     |                          $(TARGET_DIR)/etc/init.d/S99my-daemon
-  |     |endef
-  |     |
-  |     |$(eval $(autotools-package))
-  |     `----
-  |- package/pkg-1/S99my-daemon
-  |
-  |- package/pkg-2/Config.in
-  |- package/pkg-2/pkg-2.hash
-  |- package/pkg-2/pkg-2.mk
-  |
-  |- provides/jpeg.in
-  |     |config BR2_PACKAGE_MY_JPEG
-  |     |    bool "my-jpeg"
-  |     `----
-  |- package/my-jpeg/Config.in
-  |     |config BR2_PACKAGE_PROVIDES_JPEG
-  |     |    default "my-jpeg" if BR2_PACKAGE_MY_JPEG
-  |     `----
-  |- package/my-jpeg/my-jpeg.mk
-  |     |# This is a normal package .mk file
-  |     |MY_JPEG_VERSION = 1.2.3
-  |     |MY_JPEG_SITE = https://example.net/some/place
-  |     |MY_JPEG_PROVIDES = jpeg
-  |     |$(eval $(autotools-package))
-  |     `----
-  |
-  |- provides/init.in
-  |     |config BR2_INIT_MINE
-  |     |    bool "my custom init"
-  |     |    select BR2_PACKAGE_MY_INIT
-  |     |    select BR2_PACKAGE_SKELETON_INIT_MINE if BR2_ROOTFS_SKELETON_DEFAULT
-  |     `----
-  |
-  |- provides/skeleton.in
-  |     |config BR2_ROOTFS_SKELETON_MINE
-  |     |    bool "my custom skeleton"
-  |     |    select BR2_PACKAGE_SKELETON_MINE
-  |     `----
-  |- package/skeleton-mine/Config.in
-  |     |config BR2_PACKAGE_SKELETON_MINE
-  |     |    bool
-  |     |    select BR2_PACKAGE_HAS_SKELETON
-  |     |
-  |     |config BR2_PACKAGE_PROVIDES_SKELETON
-  |     |    default "skeleton-mine" if BR2_PACKAGE_SKELETON_MINE
-  |     `----
-  |- package/skeleton-mine/skeleton-mine.mk
-  |     |SKELETON_MINE_ADD_TOOLCHAIN_DEPENDENCY = NO
-  |     |SKELETON_MINE_ADD_SKELETON_DEPENDENCY = NO
-  |     |SKELETON_MINE_PROVIDES = skeleton
-  |     |SKELETON_MINE_INSTALL_STAGING = YES
-  |     |$(eval $(generic-package))
-  |     `----
-  |
-  |- provides/toolchains.in
-  |     |config BR2_TOOLCHAIN_EXTERNAL_MINE
-  |     |    bool "my custom toolchain"
-  |     |    depends on BR2_some_arch
-  |     |    select BR2_INSTALL_LIBSTDCPP
-  |     `----
-  |- toolchain/toolchain-external-mine/Config.in.options
-  |     |if BR2_TOOLCHAIN_EXTERNAL_MINE
-  |     |config BR2_TOOLCHAIN_EXTERNAL_PREFIX
-  |     |    default "arch-mine-linux-gnu"
-  |     |config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
-  |     |    default "toolchain-external-mine"
-  |     |endif
-  |     `----
-  |- toolchain/toolchain-external-mine/toolchain-external-mine.mk
-  |     |TOOLCHAIN_EXTERNAL_MINE_SITE = https://example.net/some/place
-  |     |TOOLCHAIN_EXTERNAL_MINE_SOURCE = my-toolchain.tar.gz
-  |     |$(eval $(toolchain-external-package))
-  |     `----
-  |
-  |- linux/Config.ext.in
-  |     |config BR2_LINUX_KERNEL_EXT_EXAMPLE_DRIVER
-  |     |    bool "example-external-driver"
-  |     |    help
-  |     |      Example external driver
-  |     |---
-  |- linux/linux-ext-example-driver.mk
-  |
-  |- configs/my-board_defconfig
-  |     |BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_BAR_42_PATH)/patches/"
-  |     |BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/overlay/"
-  |     |BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/post-image.sh"
-  |     |BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/kernel.config"
-  |     `----
-  |
-  |- patches/linux/0001-some-change.patch
-  |- patches/linux/0002-some-other-change.patch
-  |- patches/busybox/0001-fix-something.patch
-  |
-  |- board/my-board/kernel.config
-  |- board/my-board/overlay/var/www/index.html
-  |- board/my-board/overlay/var/www/my.css
-  |- board/my-board/flash-image
-  `- board/my-board/post-image.sh
-        |#!/bin/sh
-        |generate-my-binary-image \
-        |    --root ${BINARIES_DIR}/rootfs.tar \
-        |    --kernel ${BINARIES_DIR}/zImage \
-        |    --dtb ${BINARIES_DIR}/my-board.dtb \
-        |    --output ${BINARIES_DIR}/image.bin
-        `----

The br2-external tree will then be visible in the menuconfig (with -the layout expanded):

External options  --->
-    *** Example br2-external tree (in /path/to/br2-ext-tree/)
-    [ ] pkg-1
-    [ ] pkg-2
-    (0x10AD) my-board flash address

If you are using more than one br2-external tree, it would look like -(with the layout expanded and the second one with name FOO_27 but no -desc: field in external.desc):

External options  --->
-    Example br2-external tree  --->
-        *** Example br2-external tree (in /path/to/br2-ext-tree)
-        [ ] pkg-1
-        [ ] pkg-2
-        (0x10AD) my-board flash address
-    FOO_27  --->
-        *** FOO_27 (in /path/to/another-br2-ext)
-        [ ] foo
-        [ ] bar

Additionally, the jpeg provider will be visible in the jpeg choice:

Target packages  --->
-    Libraries  --->
-        Graphics  --->
-            [*] jpeg support
-                jpeg variant ()  --->
-                    ( ) jpeg
-                    ( ) jpeg-turbo
-                        *** jpeg from: Example br2-external tree ***
-                    (X) my-jpeg
-                        *** jpeg from: FOO_27 ***
-                    ( ) another-jpeg

And similarly for the toolchains:

Toolchain  --->
-    Toolchain ()  --->
-        ( ) Custom toolchain
-            *** Toolchains from: Example br2-external tree ***
-        (X) my custom toolchain

Note. The toolchain options in toolchain/toolchain-external-mine/Config.in.options -will not appear in the Toolchain menu. They must be explicitly included -from within the br2-external’s top-level Config.in and will thus appear -in the External options menu.

9.3. Storing the Buildroot configuration

The Buildroot configuration can be stored using the command - make savedefconfig.

This strips the Buildroot configuration down by removing configuration -options that are at their default value. The result is stored in a file -called defconfig. If you want to save it in another place, change the -BR2_DEFCONFIG option in the Buildroot configuration itself, or call -make with make savedefconfig BR2_DEFCONFIG=<path-to-defconfig>.

The recommended place to store this defconfig is -configs/<boardname>_defconfig. If you follow this recommendation, the -configuration will be listed in make help and can be set again by -running make <boardname>_defconfig.

Alternatively, you can copy the file to any other place and rebuild with -make defconfig BR2_DEFCONFIG=<path-to-defconfig-file>.

9.4. Storing the configuration of other components

The configuration files for BusyBox, the Linux kernel, Barebox, U-Boot -and uClibc should be stored as well if changed. For each of these -components, a Buildroot configuration option exists to point to an input -configuration file, e.g. BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. To store -their configuration, set these configuration options to a path where you -want to save the configuration files, and then use the helper targets -described below to actually store the configuration.

As explained in Section 9.1, “Recommended directory structure”, the recommended path to -store these configuration files is -board/<company>/<boardname>/foo.config.

Make sure that you create a configuration file before changing -the BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE etc. options. Otherwise, -Buildroot will try to access this config file, which doesn’t exist -yet, and will fail. You can create the configuration file by running -make linux-menuconfig etc.

Buildroot provides a few helper targets to make the saving of -configuration files easier.

  • -make linux-update-defconfig saves the linux configuration to the - path specified by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. It - simplifies the config file by removing default values. However, - this only works with kernels starting from 2.6.33. For earlier - kernels, use make linux-update-config. -
  • -make busybox-update-config saves the busybox configuration to the - path specified by BR2_PACKAGE_BUSYBOX_CONFIG. -
  • -make uclibc-update-config saves the uClibc configuration to the - path specified by BR2_UCLIBC_CONFIG. -
  • -make barebox-update-defconfig saves the barebox configuration to the - path specified by BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE. -
  • -make uboot-update-defconfig saves the U-Boot configuration to the - path specified by BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE. -
  • -For at91bootstrap3, no helper exists so you have to copy the config - file manually to BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE. -

9.5. Customizing the generated target filesystem

Besides changing the configuration through make *config, -there are a few other ways to customize the resulting target filesystem.

The two recommended methods, which can co-exist, are root filesystem -overlay(s) and post build script(s).

-Root filesystem overlays (BR2_ROOTFS_OVERLAY) -

A filesystem overlay is a tree of files that is copied directly - over the target filesystem after it has been built. To enable this - feature, set config option BR2_ROOTFS_OVERLAY (in the System - configuration menu) to the root of the overlay. You can even specify - multiple overlays, space-separated. If you specify a relative path, - it will be relative to the root of the Buildroot tree. Hidden - directories of version control systems, like .git, .svn, .hg, - etc., files called .empty and files ending in ~ are excluded from - the copy.

When BR2_ROOTFS_MERGED_USR is enabled, then the overlay must not - contain the /bin, /lib or /sbin directories, as Buildroot will - create them as symbolic links to the relevant folders in /usr. In - such a situation, should the overlay have any programs or libraries, - they should be placed in /usr/bin, /usr/sbin and /usr/lib.

As shown in Section 9.1, “Recommended directory structure”, the recommended path for - this overlay is board/<company>/<boardname>/rootfs-overlay.

-Post-build scripts (BR2_ROOTFS_POST_BUILD_SCRIPT) -

Post-build scripts are shell scripts called after Buildroot builds - all the selected software, but before the rootfs images are - assembled. To enable this feature, specify a space-separated list of - post-build scripts in config option BR2_ROOTFS_POST_BUILD_SCRIPT (in - the System configuration menu). If you specify a relative path, it - will be relative to the root of the Buildroot tree.

Using post-build scripts, you can remove or modify any file in your - target filesystem. You should, however, use this feature with care. - Whenever you find that a certain package generates wrong or unneeded - files, you should fix that package rather than work around it with some - post-build cleanup scripts.

As shown in Section 9.1, “Recommended directory structure”, the recommended path for - this script is board/<company>/<boardname>/post_build.sh.

The post-build scripts are run with the main Buildroot tree as current - working directory. The path to the target filesystem is passed as the - first argument to each script. If the config option - BR2_ROOTFS_POST_SCRIPT_ARGS is not empty, these arguments will be - passed to the script too. All the scripts will be passed the exact - same set of arguments, it is not possible to pass different sets of - arguments to each script.

In addition, you may also use these environment variables:

  • -BR2_CONFIG: the path to the Buildroot .config file -
  • -CONFIG_DIR: the directory containing the .config file, and - therefore the top-level Buildroot Makefile to use (which is - correct for both in-tree and out-of-tree builds) -
  • -HOST_DIR, STAGING_DIR, TARGET_DIR: see - Section 18.5.2, “generic-package reference” -
  • -BUILD_DIR: the directory where packages are extracted and built -
  • -BINARIES_DIR: the place where all binary files (aka images) are - stored -
  • -BASE_DIR: the base output directory -

Below three more methods of customizing the target filesystem are -described, but they are not recommended.

-Direct modification of the target filesystem -

For temporary modifications, you can modify the target filesystem - directly and rebuild the image. The target filesystem is available - under output/target/. After making your changes, run make to - rebuild the target filesystem image.

This method allows you to do anything to the target filesystem, but if - you need to clean your Buildroot tree using make clean, these - changes will be lost. Such cleaning is necessary in several cases, - refer to Section 8.2, “Understanding when a full rebuild is necessary” for details. This solution is therefore - only useful for quick tests: changes do not survive the make clean - command. Once you have validated your changes, you should make sure - that they will persist after a make clean, using a root filesystem - overlay or a post-build script.

-Custom target skeleton (BR2_ROOTFS_SKELETON_CUSTOM) -

The root filesystem image is created from a target skeleton, on top of - which all packages install their files. The skeleton is copied to the - target directory output/target before any package is built and - installed. The default target skeleton provides the standard Unix - filesystem layout and some basic init scripts and configuration files.

If the default skeleton (available under system/skeleton) does not - match your needs, you would typically use a root filesystem overlay or - post-build script to adapt it. However, if the default skeleton is - entirely different than what you need, using a custom skeleton may be - more suitable.

To enable this feature, enable config option - BR2_ROOTFS_SKELETON_CUSTOM and set BR2_ROOTFS_SKELETON_CUSTOM_PATH - to the path of your custom skeleton. Both options are available in the - System configuration menu. If you specify a relative path, it will - be relative to the root of the Buildroot tree.

Custom skeletons don’t need to contain the /bin, /lib or /sbin - directories, since they are created automatically during the build. - When BR2_ROOTFS_MERGED_USR is enabled, then the custom skeleton must - not contain the /bin, /lib or /sbin directories, as Buildroot - will create them as symbolic links to the relevant folders in /usr. - In such a situation, should the skeleton have any programs or - libraries, they should be placed in /usr/bin, /usr/sbin and - /usr/lib.

This method is not recommended because it duplicates the entire - skeleton, which prevents taking advantage of the fixes or improvements - brought to the default skeleton in later Buildroot releases.

-Post-fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) -

When aggregating the final images, some parts of the process requires - root rights: creating device nodes in /dev, setting permissions or - ownership to files and directories… To avoid requiring actual root - rights, Buildroot uses fakeroot to simulate root rights. This is not - a complete substitute for actually being root, but is enough for what - Buildroot needs.

Post-fakeroot scripts are shell scripts that are called at the end of - the fakeroot phase, right before the filesystem image generator is - called. As such, they are called in the fakeroot context.

Post-fakeroot scripts can be useful in case you need to tweak the - filesystem to do modifications that are usually only available to the - root user.

Note: It is recommended to use the existing mechanisms to set file permissions - or create entries in /dev (see Section 9.5.1, “Setting file permissions and ownership and adding custom devices nodes”) or - to create users (see Section 9.6, “Adding custom user accounts”)

Note: The difference between post-build scripts (above) and fakeroot scripts, - is that post-build scripts are not called in the fakeroot context.

Note: Using fakeroot is not an absolute substitute for actually being root. - fakeroot only ever fakes the file access rights and types (regular, - block-or-char device…) and uid/gid; these are emulated in-memory.

9.5.1. Setting file permissions and ownership and adding custom devices nodes

Sometimes it is needed to set specific permissions or ownership on files -or device nodes. For example, certain files may need to be owned by -root. Since the post-build scripts are not run as root, you cannot do -such changes from there unless you use an explicit fakeroot from the -post-build script.

Instead, Buildroot provides support for so-called permission tables. -To use this feature, set config option BR2_ROOTFS_DEVICE_TABLE to a -space-separated list of permission tables, regular text files following -the makedev syntax.

If you are using a static device table (i.e. not using devtmpfs, -mdev, or (e)udev) then you can add device nodes using the same -syntax, in so-called device tables. To use this feature, set config -option BR2_ROOTFS_STATIC_DEVICE_TABLE to a space-separated list of -device tables.

As shown in Section 9.1, “Recommended directory structure”, the recommended location for -such files is board/<company>/<boardname>/.

It should be noted that if the specific permissions or device nodes are -related to a specific application, you should set variables -FOO_PERMISSIONS and FOO_DEVICES in the package’s .mk file instead -(see Section 18.5.2, “generic-package reference”).

9.6. Adding custom user accounts

Sometimes it is needed to add specific users in the target system. -To cover this requirement, Buildroot provides support for so-called -users tables. To use this feature, set config option -BR2_ROOTFS_USERS_TABLES to a space-separated list of users tables, -regular text files following the makeusers syntax.

As shown in Section 9.1, “Recommended directory structure”, the recommended location for -such files is board/<company>/<boardname>/.

It should be noted that if the custom users are related to a specific -application, you should set variable FOO_USERS in the package’s .mk -file instead (see Section 18.5.2, “generic-package reference”).

9.7. Customization after the images have been created

While post-build scripts (Section 9.5, “Customizing the generated target filesystem”) are run before -building the filesystem image, kernel and bootloader, post-image -scripts can be used to perform some specific actions after all images -have been created.

Post-image scripts can for example be used to automatically extract your -root filesystem tarball in a location exported by your NFS server, or -to create a special firmware image that bundles your root filesystem and -kernel image, or any other custom action required for your project.

To enable this feature, specify a space-separated list of post-image -scripts in config option BR2_ROOTFS_POST_IMAGE_SCRIPT (in the System -configuration menu). If you specify a relative path, it will be -relative to the root of the Buildroot tree.

Just like post-build scripts, post-image scripts are run with the main -Buildroot tree as current working directory. The path to the images -output directory is passed as the first argument to each script. If the -config option BR2_ROOTFS_POST_SCRIPT_ARGS is not empty, these -arguments will be passed to the script too. All the scripts will be -passed the exact same set of arguments, it is not possible to pass -different sets of arguments to each script.

Again just like for the post-build scripts, the scripts have access to -the environment variables BR2_CONFIG, HOST_DIR, STAGING_DIR, -TARGET_DIR, BUILD_DIR, BINARIES_DIR, CONFIG_DIR and -BASE_DIR.

The post-image scripts will be executed as the user that executes -Buildroot, which should normally not be the root user. Therefore, any -action requiring root permissions in one of these scripts will require -special handling (usage of fakeroot or sudo), which is left to the -script developer.

9.8. Adding project-specific patches

It is sometimes useful to apply extra patches to packages - on top of -those provided in Buildroot. This might be used to support custom -features in a project, for example, or when working on a new -architecture.

The BR2_GLOBAL_PATCH_DIR configuration option can be used to specify -a space separated list of one or more directories containing package -patches.

For a specific version <packageversion> of a specific package -<packagename>, patches are applied from BR2_GLOBAL_PATCH_DIR as -follows:

  1. -For every directory - <global-patch-dir> - that exists in - BR2_GLOBAL_PATCH_DIR, a <package-patch-dir> will be determined as - follows: -

    • -<global-patch-dir>/<packagename>/<packageversion>/ if the - directory exists. -
    • -Otherwise, <global-patch-dir>/<packagename> if the directory - exists. -
  2. -Patches will then be applied from a <package-patch-dir> as - follows: -

    • -If a series file exists in the package directory, then patches are - applied according to the series file; -
    • -Otherwise, patch files matching *.patch are applied in - alphabetical order. So, to ensure they are applied in the right - order, it is highly recommended to name the patch files like this: - <number>-<description>.patch, where <number> refers to the - apply order. -

For information about how patches are applied for a package, see -Section 19.2, “How patches are applied”

The BR2_GLOBAL_PATCH_DIR option is the preferred method for -specifying a custom patch directory for packages. It can be used to -specify a patch directory for any package in buildroot. It should also -be used in place of the custom patch directory options that are -available for packages such as U-Boot and Barebox. By doing this, it -will allow a user to manage their patches from one top-level -directory.

The exception to BR2_GLOBAL_PATCH_DIR being the preferred method for -specifying custom patches is BR2_LINUX_KERNEL_PATCH. -BR2_LINUX_KERNEL_PATCH should be used to specify kernel patches that -are available at a URL. Note: BR2_LINUX_KERNEL_PATCH specifies kernel -patches that are applied after patches available in BR2_GLOBAL_PATCH_DIR, -as it is done from a post-patch hook of the Linux package.

9.9. Adding project-specific packages

In general, any new package should be added directly in the package -directory and submitted to the Buildroot upstream project. How to add -packages to Buildroot in general is explained in full detail in -Chapter 18, Adding new packages to Buildroot and will not be repeated here. However, your -project may need some proprietary packages that cannot be upstreamed. -This section will explain how you can keep such project-specific -packages in a project-specific directory.

As shown in Section 9.1, “Recommended directory structure”, the recommended location for -project-specific packages is package/<company>/. If you are using the -br2-external tree feature (see Section 9.2, “Keeping customizations outside of Buildroot”) the recommended -location is to put them in a sub-directory named package/ in your -br2-external tree.

However, Buildroot will not be aware of the packages in this location, -unless we perform some additional steps. As explained in -Chapter 18, Adding new packages to Buildroot, a package in Buildroot basically consists of two -files: a .mk file (describing how to build the package) and a -Config.in file (describing the configuration options for this -package).

Buildroot will automatically include the .mk files in first-level -subdirectories of the package directory (using the pattern -package/*/*.mk). If we want Buildroot to include .mk files from -deeper subdirectories (like package/<company>/package1/) then we -simply have to add a .mk file in a first-level subdirectory that -includes these additional .mk files. Therefore, create a file -package/<company>/<company>.mk with following contents (assuming you -have only one extra directory level below package/<company>/):

include $(sort $(wildcard package/<company>/*/*.mk))

For the Config.in files, create a file package/<company>/Config.in -that includes the Config.in files of all your packages. An exhaustive -list has to be provided since wildcards are not supported in the source command of kconfig. -For example:

source "package/<company>/package1/Config.in"
-source "package/<company>/package2/Config.in"

Include this new file package/<company>/Config.in from -package/Config.in, preferably in a company-specific menu to make -merges with future Buildroot versions easier.

If using a br2-external tree, refer to Section 9.2, “Keeping customizations outside of Buildroot” for how -to fill in those files.

9.10. Quick guide to storing your project-specific customizations

Earlier in this chapter, the different methods for making -project-specific customizations have been described. This section will -now summarize all this by providing step-by-step instructions to storing your -project-specific customizations. Clearly, the steps that are not relevant to -your project can be skipped.

  1. -make menuconfig to configure toolchain, packages and kernel. -
  2. -make linux-menuconfig to update the kernel config, similar for - other configuration like busybox, uclibc, … -
  3. -mkdir -p board/<manufacturer>/<boardname> -
  4. -Set the following options to board/<manufacturer>/<boardname>/<package>.config - (as far as they are relevant): -

    • -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE -
    • -BR2_PACKAGE_BUSYBOX_CONFIG -
    • -BR2_UCLIBC_CONFIG -
    • -BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE -
    • -BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE -
    • -BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE -
  5. -Write the configuration files: -

    • -make linux-update-defconfig -
    • -make busybox-update-config -
    • -make uclibc-update-config -
    • -cp <output>/build/at91bootstrap3-*/.config - board/<manufacturer>/<boardname>/at91bootstrap3.config -
    • -make barebox-update-defconfig -
    • -make uboot-update-defconfig -
  6. -Create board/<manufacturer>/<boardname>/rootfs-overlay/ and fill it - with additional files you need on your rootfs, e.g. - board/<manufacturer>/<boardname>/rootfs-overlay/etc/inittab. - Set BR2_ROOTFS_OVERLAY - to board/<manufacturer>/<boardname>/rootfs-overlay. -
  7. -Create a post-build script - board/<manufacturer>/<boardname>/post_build.sh. Set - BR2_ROOTFS_POST_BUILD_SCRIPT to - board/<manufacturer>/<boardname>/post_build.sh -
  8. -If additional setuid permissions have to be set or device nodes have - to be created, create board/<manufacturer>/<boardname>/device_table.txt - and add that path to BR2_ROOTFS_DEVICE_TABLE. -
  9. -If additional user accounts have to be created, create - board/<manufacturer>/<boardname>/users_table.txt and add that path - to BR2_ROOTFS_USERS_TABLES. -
  10. -To add custom patches to certain packages, set BR2_GLOBAL_PATCH_DIR - to board/<manufacturer>/<boardname>/patches/ and add your patches - for each package in a subdirectory named after the package. Each - patch should be called <packagename>-<num>-<description>.patch. -
  11. -Specifically for the Linux kernel, there also exists the option - BR2_LINUX_KERNEL_PATCH with as main advantage that it can also - download patches from a URL. If you do not need this, - BR2_GLOBAL_PATCH_DIR is preferred. U-Boot, Barebox, at91bootstrap - and at91bootstrap3 also have separate options, but these do not - provide any advantage over BR2_GLOBAL_PATCH_DIR and will likely be - removed in the future. -
  12. -If you need to add project-specific packages, create - package/<manufacturer>/ and place your packages in that - directory. Create an overall <manufacturer>.mk file that - includes the .mk files of all your packages. Create an overall - Config.in file that sources the Config.in files of all your - packages. Include this Config.in file from Buildroot’s - package/Config.in file. -
  13. -make savedefconfig to save the buildroot configuration. -
  14. -cp defconfig configs/<boardname>_defconfig -

Chapter 10. Using SELinux in Buildroot

SELinux is a Linux kernel security module -enforcing access control policies. In addition to the traditional file -permissions and access control lists, SELinux allows to write rules -for users or processes to access specific functions of resources -(files, sockets…).

SELinux has three modes of operation:

  • -Disabled: the policy is not applied -
  • -Permissive: the policy is applied, and non-authorized actions are - simply logged. This mode is often used for troubleshooting SELinux - issues. -
  • -Enforcing: the policy is applied, and non-authorized actions are - denied -

In Buildroot the mode of operation is controlled by the -BR2_PACKAGE_REFPOLICY_POLICY_STATE_* configuration options. The -Linux kernel also has various configuration options that affect how -SELinux is enabled (see security/selinux/Kconfig in the Linux -kernel sources).

By default in Buildroot the SELinux policy is provided by the -upstream refpolicy -project, enabled with BR2_PACKAGE_REFPOLICY.

10.1. Enabling SELinux support

To have proper support for SELinux in a Buildroot generated system, -the following configuration options must be enabled:

  • -BR2_PACKAGE_LIBSELINUX -
  • -BR2_PACKAGE_REFPOLICY -

In addition, your filesystem image format must support extended -attributes.

10.2. SELinux policy tweaking

The SELinux refpolicy contains modules that can be enabled or -disabled when being built. Each module provide a number of SELinux -rules. In Buildroot the non-base modules are disabled by default and -several ways to enable such modules are provided:

  • -Packages can enable a list of SELinux modules within the refpolicy using - the <packagename>_SELINUX_MODULES variable. -
  • -Packages can provide additional SELinux modules by putting them (.fc, .if - and .te files) in package/<packagename>/selinux/. -
  • -Extra SELinux modules can be added in directories pointed by the - BR2_REFPOLICY_EXTRA_MODULES_DIRS configuration option. -
  • -Additional modules in the refpolicy can be enabled if listed in the - BR2_REFPOLICY_EXTRA_MODULES_DEPENDENCIES configuration option. -

Buildroot also allows to completely override the refpolicy. This -allows to provide a full custom policy designed specifically for a -given system. When going this way, all of the above mechanisms are -disabled: no extra SElinux module is added to the policy, and all -the available modules within the custom policy are enabled and built -into the final binary policy. The custom policy must be a fork of the -official refpolicy.

In order to fully override the refpolicy the following configuration -variables have to be set:

  • -BR2_PACKAGE_REFPOLICY_CUSTOM_GIT -
  • -BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL -
  • -BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_VERSION -

Chapter 11. Frequently Asked Questions & Troubleshooting

11.1. The boot hangs after Starting network…

If the boot process seems to hang after the following messages -(messages not necessarily exactly similar, depending on the list of -packages selected):

Freeing init memory: 3972K
-Initializing random number generator... done.
-Starting network...
-Starting dropbear sshd: generating rsa key... generating dsa key... OK

then it means that your system is running, but didn’t start a shell on -the serial console. In order to have the system start a shell on your -serial console, you have to go into the Buildroot configuration, in -System configuration, modify Run a getty (login prompt) after boot -and set the appropriate port and baud rate in the getty options -submenu. This will automatically tune the /etc/inittab file of the -generated system so that a shell starts on the correct serial port.

11.2. Why is there no compiler on the target?

It has been decided that support for the native compiler on the -target would be stopped from the Buildroot-2012.11 release because:

  • -this feature was neither maintained nor tested, and often broken; -
  • -this feature was only available for Buildroot toolchains; -
  • -Buildroot mostly targets small or very small target hardware - with limited resource onboard (CPU, ram, mass-storage), for which - compiling on the target does not make much sense; -
  • -Buildroot aims at easing the cross-compilation, making native - compilation on the target unnecessary. -

If you need a compiler on your target anyway, then Buildroot is not -suitable for your purpose. In such case, you need a real -distribution and you should opt for something like:

11.3. Why are there no development files on the target?

Since there is no compiler available on the target (see -Section 11.2, “Why is there no compiler on the target?”), it does not make sense to waste -space with headers or static libraries.

Therefore, those files are always removed from the target since the -Buildroot-2012.11 release.

11.4. Why is there no documentation on the target?

Because Buildroot mostly targets small or very small target -hardware with limited resource onboard (CPU, ram, mass-storage), it -does not make sense to waste space with the documentation data.

If you need documentation data on your target anyway, then Buildroot -is not suitable for your purpose, and you should look for a real -distribution (see: Section 11.2, “Why is there no compiler on the target?”).

11.5. Why are some packages not visible in the Buildroot config menu?

If a package exists in the Buildroot tree and does not appear in the -config menu, this most likely means that some of the package’s -dependencies are not met.

To know more about the dependencies of a package, search for the -package symbol in the config menu (see Section 8.1, “make tips”).

Then, you may have to recursively enable several options (which -correspond to the unmet dependencies) to finally be able to select -the package.

If the package is not visible due to some unmet toolchain options, -then you should certainly run a full rebuild (see Section 8.1, “make tips” for -more explanations).

11.6. Why not use the target directory as a chroot directory?

There are plenty of reasons to not use the target directory a chroot -one, among these:

  • -file ownerships, modes and permissions are not correctly set in the - target directory; -
  • -device nodes are not created in the target directory. -

For these reasons, commands run through chroot, using the target -directory as the new root, will most likely fail.

If you want to run the target filesystem inside a chroot, or as an NFS -root, then use the tarball image generated in images/ and extract it -as root.

11.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)?

One feature that is often discussed on the Buildroot list is the -general topic of "package management". To summarize, the idea -would be to add some tracking of which Buildroot package installs -what files, with the goals of:

  • -being able to remove files installed by a package when this package - gets unselected from the menuconfig; -
  • -being able to generate binary packages (ipk or other format) that - can be installed on the target without re-generating a new root - filesystem image. -

In general, most people think it is easy to do: just track which package -installed what and remove it when the package is unselected. However, it -is much more complicated than that:

  • -It is not only about the target/ directory, but also the sysroot in - host/<tuple>/sysroot and the host/ directory itself. All files - installed in those directories by various packages must be tracked. -
  • -When a package is unselected from the configuration, it is not - sufficient to remove just the files it installed. One must also - remove all its reverse dependencies (i.e. packages relying on it) - and rebuild all those packages. For example, package A depends - optionally on the OpenSSL library. Both are selected, and Buildroot - is built. Package A is built with crypto support using OpenSSL. - Later on, OpenSSL gets unselected from the configuration, but - package A remains (since OpenSSL is an optional dependency, this - is possible.) If only OpenSSL files are removed, then the files - installed by package A are broken: they use a library that is no - longer present on the target. Although this is technically doable, - it adds a lot of complexity to Buildroot, which goes against the - simplicity we try to stick to. -
  • -In addition to the previous problem, there is the case where the - optional dependency is not even known to Buildroot. For example, - package A in version 1.0 never used OpenSSL, but in version 2.0 it - automatically uses OpenSSL if available. If the Buildroot .mk file - hasn’t been updated to take this into account, then package A will - not be part of the reverse dependencies of OpenSSL and will not be - removed and rebuilt when OpenSSL is removed. For sure, the .mk file - of package A should be fixed to mention this optional dependency, - but in the mean time, you can have non-reproducible behaviors. -
  • -The request is to also allow changes in the menuconfig to be - applied on the output directory without having to rebuild - everything from scratch. However, this is very difficult to achieve - in a reliable way: what happens when the suboptions of a package - are changed (we would have to detect this, and rebuild the package - from scratch and potentially all its reverse dependencies), what - happens if toolchain options are changed, etc. At the moment, what - Buildroot does is clear and simple so its behaviour is very - reliable and it is easy to support users. If configuration changes - done in menuconfig are applied after the next make, then it has to - work correctly and properly in all situations, and not have some - bizarre corner cases. The risk is to get bug reports like "I have - enabled package A, B and C, then ran make, then disabled package - C and enabled package D and ran make, then re-enabled package C - and enabled package E and then there is a build failure". Or worse - "I did some configuration, then built, then did some changes, - built, some more changes, built, some more changes, built, and now - it fails, but I don’t remember all the changes I did and in which - order". This will be impossible to support. -

For all these reasons, the conclusion is that adding tracking of -installed files to remove them when the package is unselected, or to -generate a repository of binary packages, is something that is very -hard to achieve reliably and will add a lot of complexity.

On this matter, the Buildroot developers make this position statement:

  • -Buildroot strives to make it easy to generate a root filesystem (hence - the name, by the way.) That is what we want to make Buildroot good at: - building root filesystems. -
  • -Buildroot is not meant to be a distribution (or rather, a distribution - generator.) It is the opinion of most Buildroot developers that this - is not a goal we should pursue. We believe that there are other tools - better suited to generate a distro than Buildroot is. For example, - Open Embedded, or openWRT, - are such tools. -
  • -We prefer to push Buildroot in a direction that makes it easy (or even - easier) to generate complete root filesystems. This is what makes - Buildroot stands out in the crowd (among other things, of course!) -
  • -We believe that for most embedded Linux systems, binary packages are - not necessary, and potentially harmful. When binary packages are - used, it means that the system can be partially upgraded, which - creates an enormous number of possible combinations of package - versions that should be tested before doing the upgrade on the - embedded device. On the other hand, by doing complete system - upgrades by upgrading the entire root filesystem image at once, - the image deployed to the embedded system is guaranteed to really - be the one that has been tested and validated. -

11.8. How to speed-up the build process?

Since Buildroot often involves doing full rebuilds of the entire -system that can be quite long, we provide below a number of tips to -help reduce the build time:

  • -Use a pre-built external toolchain instead of the default Buildroot - internal toolchain. By using a pre-built Linaro toolchain (on ARM) - or a Sourcery CodeBench toolchain (for ARM, x86, x86-64, MIPS, - etc.), you will save the build time of the toolchain at each - complete rebuild, approximately 15 to 20 minutes. Note that - temporarily using an external toolchain does not prevent you to - switch back to an internal toolchain (that may provide a higher - level of customization) once the rest of your system is working; -
  • -Use the ccache compiler cache (see: Section 8.14.3, “Using ccache in Buildroot”); -
  • -Learn about rebuilding only the few packages you actually care - about (see Section 8.3, “Understanding how to rebuild packages”), but beware that sometimes full - rebuilds are anyway necessary (see Section 8.2, “Understanding when a full rebuild is necessary”); -
  • -Make sure you are not using a virtual machine for the Linux system - used to run Buildroot. Most of the virtual machine technologies are - known to cause a significant performance impact on I/O, which is - really important for building source code; -
  • -Make sure that you’re using only local files: do not attempt to do - a build over NFS, which significantly slows down the build. Having - the Buildroot download folder available locally also helps a bit. -
  • -Buy new hardware. SSDs and lots of RAM are key to speeding up the - builds. -
  • -Experiment with top-level parallel build, see - Section 8.12, “Top-level parallel build”. -

Chapter 12. Known issues

  • -It is not possible to pass extra linker options via BR2_TARGET_LDFLAGS - if such options contain a $ sign. For example, the following is known - to break: BR2_TARGET_LDFLAGS="-Wl,-rpath='$ORIGIN/../lib'" -
  • -The libffi package is not supported on the SuperH 2 and ARC - architectures. -
  • -The prboom package triggers a compiler failure with the SuperH 4 - compiler from Sourcery CodeBench, version 2012.09. -

Chapter 13. Legal notice and licensing

13.1. Complying with open source licenses

All of the end products of Buildroot (toolchain, root filesystem, kernel, -bootloaders) contain open source software, released under various licenses.

Using open source software gives you the freedom to build rich embedded -systems, choosing from a wide range of packages, but also imposes some -obligations that you must know and honour. -Some licenses require you to publish the license text in the documentation of -your product. Others require you to redistribute the source code of the -software to those that receive your product.

The exact requirements of each license are documented in each package, and -it is your responsibility (or that of your legal office) to comply with those -requirements. -To make this easier for you, Buildroot can collect for you some material you -will probably need. To produce this material, after you have configured -Buildroot with make menuconfig, make xconfig or make gconfig, run:

make legal-info

Buildroot will collect legally-relevant material in your output directory, -under the legal-info/ subdirectory. -There you will find:

  • -A README file, that summarizes the produced material and contains warnings - about material that Buildroot could not produce. -
  • -buildroot.config: this is the Buildroot configuration file that is usually - produced with make menuconfig, and which is necessary to reproduce the - build. -
  • -The source code for all packages; this is saved in the sources/ and - host-sources/ subdirectories for target and host packages respectively. - The source code for packages that set <PKG>_REDISTRIBUTE = NO will not be - saved. - Patches that were applied are also saved, along with a file named series - that lists the patches in the order they were applied. Patches are under the - same license as the files that they modify. - Note: Buildroot applies additional patches to Libtool scripts of - autotools-based packages. These patches can be found under - support/libtool in the Buildroot source and, due to technical - limitations, are not saved with the package sources. You may need to - collect them manually. -
  • -A manifest file (one for host and one for target packages) listing the - configured packages, their version, license and related information. - Some of this information might not be defined in Buildroot; such items are - marked as "unknown". -
  • -The license texts of all packages, in the licenses/ and host-licenses/ - subdirectories for target and host packages respectively. - If the license file(s) are not defined in Buildroot, the file is not produced - and a warning in the README indicates this. -

Please note that the aim of the legal-info feature of Buildroot is to -produce all the material that is somehow relevant for legal compliance with the -package licenses. Buildroot does not try to produce the exact material that -you must somehow make public. Certainly, more material is produced than is -needed for a strict legal compliance. For example, it produces the source code -for packages released under BSD-like licenses, that you are not required to -redistribute in source form.

Moreover, due to technical limitations, Buildroot does not produce some -material that you will or may need, such as the toolchain source code for -some of the external toolchains and the Buildroot source code itself. -When you run make legal-info, Buildroot produces warnings in the README -file to inform you of relevant material that could not be saved.

Finally, keep in mind that the output of make legal-info is based on -declarative statements in each of the packages recipes. The Buildroot -developers try to do their best to keep those declarative statements as -accurate as possible, to the best of their knowledge. However, it is very -well possible that those declarative statements are not all fully accurate -nor exhaustive. You (or your legal department) have to check the output -of make legal-info before using it as your own compliance delivery. See -the NO WARRANTY clauses (clauses 11 and 12) in the COPYING file at the -root of the Buildroot distribution.

13.2. Complying with the Buildroot license

Buildroot itself is an open source software, released under the -GNU General -Public License, version 2 or (at your option) any later version, with -the exception of the package patches detailed below. -However, being a build system, it is not normally part of the end product: -if you develop the root filesystem, kernel, bootloader or toolchain for a -device, the code of Buildroot is only present on the development machine, not -in the device storage.

Nevertheless, the general view of the Buildroot developers is that you should -release the Buildroot source code along with the source code of other packages -when releasing a product that contains GPL-licensed software. -This is because the -GNU GPL -defines the "complete source code" for an executable work as "all the -source code for all modules it contains, plus any associated interface -definition files, plus the scripts used to control compilation and installation -of the executable". -Buildroot is part of the scripts used to control compilation and -installation of the executable, and as such it is considered part of the -material that must be redistributed.

Keep in mind that this is only the Buildroot developers' opinion, and you -should consult your legal department or lawyer in case of any doubt.

13.2.1. Patches to packages

Buildroot also bundles patch files, which are applied to the sources -of the various packages. Those patches are not covered by the license -of Buildroot. Instead, they are covered by the license of the software -to which the patches are applied. When said software is available -under multiple licenses, the Buildroot patches are only provided under -the publicly accessible licenses.

See Chapter 19, Patching a package for the technical details.

Chapter 14. Beyond Buildroot

14.1. Boot the generated images

14.1.1. NFS boot

To achieve NFS-boot, enable tar root filesystem in the Filesystem -images menu.

After a complete build, just run the following commands to setup the -NFS-root directory:

sudo tar -xavf /path/to/output_dir/rootfs.tar -C /path/to/nfs_root_dir

Remember to add this path to /etc/exports.

Then, you can execute a NFS-boot from your target.

14.1.2. Live CD

To build a live CD image, enable the iso image option in the -Filesystem images menu. Note that this option is only available on -the x86 and x86-64 architectures, and if you are building your kernel -with Buildroot.

You can build a live CD image with either IsoLinux, Grub or Grub 2 as -a bootloader, but only Isolinux supports making this image usable both -as a live CD and live USB (through the Build hybrid image option).

You can test your live CD image using QEMU:

qemu-system-i386 -cdrom output/images/rootfs.iso9660

Or use it as a hard-drive image if it is a hybrid ISO:

qemu-system-i386 -hda output/images/rootfs.iso9660

It can be easily flashed to a USB drive with dd:

dd if=output/images/rootfs.iso9660 of=/dev/sdb

14.2. Chroot

If you want to chroot in a generated image, then there are few thing -you should be aware of:

  • -you should setup the new root from the tar root filesystem image; -
  • -either the selected target architecture is compatible with your host - machine, or you should use some qemu-* binary and correctly set it - within the binfmt properties to be able to run the binaries built - for the target on your host machine; -
  • -Buildroot does not currently provide host-qemu and binfmt - correctly built and set for that kind of use. -

Part III. Developer guide

Chapter 15. How Buildroot works

As mentioned above, Buildroot is basically a set of Makefiles that -download, configure, and compile software with the correct options. It -also includes patches for various software packages - mainly the ones -involved in the cross-compilation toolchain (gcc, binutils and -uClibc).

There is basically one Makefile per software package, and they are -named with the .mk extension. Makefiles are split into many different -parts.

  • -The toolchain/ directory contains the Makefiles - and associated files for all software related to the - cross-compilation toolchain: binutils, gcc, gdb, - kernel-headers and uClibc. -
  • -The arch/ directory contains the definitions for all the processor - architectures that are supported by Buildroot. -
  • -The package/ directory contains the Makefiles and - associated files for all user-space tools and libraries that Buildroot - can compile and add to the target root filesystem. There is one - sub-directory per package. -
  • -The linux/ directory contains the Makefiles and associated files for - the Linux kernel. -
  • -The boot/ directory contains the Makefiles and associated files for - the bootloaders supported by Buildroot. -
  • -The system/ directory contains support for system integration, e.g. - the target filesystem skeleton and the selection of an init system. -
  • -The fs/ directory contains the Makefiles and - associated files for software related to the generation of the - target root filesystem image. -

Each directory contains at least 2 files:

  • -something.mk is the Makefile that downloads, configures, - compiles and installs the package something. -
  • -Config.in is a part of the configuration tool - description file. It describes the options related to the - package. -

The main Makefile performs the following steps (once the -configuration is done):

  • -Create all the output directories: staging, target, build, - etc. in the output directory (output/ by default, - another value can be specified using O=) -
  • -Generate the toolchain target. When an internal toolchain is used, this - means generating the cross-compilation toolchain. When an external - toolchain is used, this means checking the features of the external - toolchain and importing it into the Buildroot environment. -
  • -Generate all the targets listed in the TARGETS variable. This - variable is filled by all the individual components' - Makefiles. Generating these targets will trigger the compilation of - the userspace packages (libraries, programs), the kernel, the - bootloader and the generation of the root filesystem images, - depending on the configuration. -

Chapter 16. Coding style

Overall, these coding style rules are here to help you to add new files in -Buildroot or refactor existing ones.

If you slightly modify some existing file, the important thing is -to keep the consistency of the whole file, so you can:

  • -either follow the potentially deprecated coding style used in this -file, -
  • -or entirely rework it in order to make it comply with these rules. -

16.1. Config.in file

Config.in files contain entries for almost anything configurable in -Buildroot.

An entry has the following pattern:

config BR2_PACKAGE_LIBFOO
-        bool "libfoo"
-        depends on BR2_PACKAGE_LIBBAZ
-        select BR2_PACKAGE_LIBBAR
-        help
-          This is a comment that explains what libfoo is. The help text
-          should be wrapped.
-
-          http://foosoftware.org/libfoo/
  • -The bool, depends on, select and help lines are indented - with one tab. -
  • -The help text itself should be indented with one tab and two - spaces. -
  • -The help text should be wrapped to fit 72 columns, where tab counts - for 8, so 62 characters in the text itself. -

The Config.in files are the input for the configuration tool -used in Buildroot, which is the regular Kconfig. For further -details about the Kconfig language, refer to -http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt.

16.2. The .mk file

  • -Header: The file starts with a header. It contains the module name, -preferably in lowercase, enclosed between separators made of 80 hashes. A -blank line is mandatory after the header: -

    ################################################################################
    -#
    -# libfoo
    -#
    -################################################################################
  • -Assignment: use = preceded and followed by one space: -

    LIBFOO_VERSION = 1.0
    -LIBFOO_CONF_OPTS += --without-python-support

    Do not align the = signs.

  • -Indentation: use tab only: -

    define LIBFOO_REMOVE_DOC
    -        $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/doc \
    -                $(TARGET_DIR)/usr/share/man/man3/libfoo*
    -endef

    Note that commands inside a define block should always start with a tab, -so make recognizes them as commands.

  • -Optional dependency: -

    • -Prefer multi-line syntax. -

      YES:

      ifeq ($(BR2_PACKAGE_PYTHON),y)
      -LIBFOO_CONF_OPTS += --with-python-support
      -LIBFOO_DEPENDENCIES += python
      -else
      -LIBFOO_CONF_OPTS += --without-python-support
      -endif

      NO:

      LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON),,out)-python-support
      -LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,)
    • -Keep configure options and dependencies close together. -
  • -Optional hooks: keep hook definition and assignment together in one - if block. -

    YES:

    ifneq ($(BR2_LIBFOO_INSTALL_DATA),y)
    -define LIBFOO_REMOVE_DATA
    -        $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data
    -endef
    -LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA
    -endif

    NO:

    define LIBFOO_REMOVE_DATA
    -        $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data
    -endef
    -
    -ifneq ($(BR2_LIBFOO_INSTALL_DATA),y)
    -LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA
    -endif

16.3. The documentation

The documentation uses the -asciidoc format.

For further details about the asciidoc syntax, refer to -http://www.methods.co.nz/asciidoc/userguide.html.

16.4. Support scripts

Some scripts in the support/ and utils/ directories are written in -Python and should follow the -PEP8 Style Guide for Python Code.

Chapter 17. Adding support for a particular board

Buildroot contains basic configurations for several publicly available -hardware boards, so that users of such a board can easily build a system -that is known to work. You are welcome to add support for other boards -to Buildroot too.

To do so, you need to create a normal Buildroot configuration that -builds a basic system for the hardware: (internal) toolchain, kernel, -bootloader, filesystem and a simple BusyBox-only userspace. No specific -package should be selected: the configuration should be as minimal as -possible, and should only build a working basic BusyBox system for the -target platform. You can of course use more complicated configurations -for your internal projects, but the Buildroot project will only -integrate basic board configurations. This is because package -selections are highly application-specific.

Once you have a known working configuration, run make -savedefconfig. This will generate a minimal defconfig file at the -root of the Buildroot source tree. Move this file into the configs/ -directory, and rename it <boardname>_defconfig. If the configuration -is a bit more complicated, it is nice to manually reformat it and -separate it into sections, with a comment before each section. Typical -sections are Architecture, Toolchain options (typically just linux -headers version), Firmware, Bootloader, Kernel, and Filesystem.

Always use fixed versions or commit hashes for the different -components, not the "latest" version. For example, set -BR2_LINUX_KERNEL_CUSTOM_VERSION=y and -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE to the kernel version you tested -with.

It is recommended to use as much as possible upstream versions of the -Linux kernel and bootloaders, and to use as much as possible default -kernel and bootloader configurations. If they are incorrect for your -board, or no default exists, we encourage you to send fixes to the -corresponding upstream projects.

However, in the mean time, you may want to store kernel or bootloader -configuration or patches specific to your target platform. To do so, -create a directory board/<manufacturer> and a subdirectory -board/<manufacturer>/<boardname>. You can then store your patches -and configurations in these directories, and reference them from the main -Buildroot configuration. Refer to Chapter 9, Project-specific customization for more details.

Chapter 18. Adding new packages to Buildroot

This section covers how new packages (userspace libraries or -applications) can be integrated into Buildroot. It also shows how -existing packages are integrated, which is needed for fixing issues or -tuning their configuration.

When you add a new package, be sure to test it in various conditions -(see Section 18.24.3, “How to test your package”) and also check it for coding style (see -Section 18.24.2, “How to check the coding style”).

18.1. Package directory

First of all, create a directory under the package directory for -your software, for example libfoo.

Some packages have been grouped by topic in a sub-directory: -x11r7, qt5 and gstreamer. If your package fits in -one of these categories, then create your package directory in these. -New subdirectories are discouraged, however.

18.2. Config files

For the package to be displayed in the configuration tool, you need to -create a Config file in your package directory. There are two types: -Config.in and Config.in.host.

18.2.1. Config.in file

For packages used on the target, create a file named Config.in. This -file will contain the option descriptions related to our libfoo software -that will be used and displayed in the configuration tool. It should basically -contain:

config BR2_PACKAGE_LIBFOO
-        bool "libfoo"
-        help
-          This is a comment that explains what libfoo is. The help text
-          should be wrapped.
-
-          http://foosoftware.org/libfoo/

The bool line, help line and other metadata information about the -configuration option must be indented with one tab. The help text -itself should be indented with one tab and two spaces, lines should -be wrapped to fit 72 columns, where tab counts for 8, so 62 characters -in the text itself. The help text must mention the upstream URL of the -project after an empty line.

As a convention specific to Buildroot, the ordering of the attributes -is as follows:

  1. -The type of option: bool, string… with the prompt -
  2. -If needed, the default value(s) -
  3. -Any dependencies on the target in depends on form -
  4. -Any dependencies on the toolchain in depends on form -
  5. -Any dependencies on other packages in depends on form -
  6. -Any dependency of the select form -
  7. -The help keyword and help text. -

You can add other sub-options into a if BR2_PACKAGE_LIBFOO…endif -statement to configure particular things in your software. You can look at -examples in other packages. The syntax of the Config.in file is the same -as the one for the kernel Kconfig file. The documentation for this syntax is -available at http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt

Finally you have to add your new libfoo/Config.in to -package/Config.in (or in a category subdirectory if you decided to -put your package in one of the existing categories). The files -included there are sorted alphabetically per category and are NOT -supposed to contain anything but the bare name of the package.

source "package/libfoo/Config.in"

18.2.2. Config.in.host file

Some packages also need to be built for the host system. There are two -options here:

  • -The host package is only required to satisfy build-time - dependencies of one or more target packages. In this case, add - host-foo to the target package’s BAR_DEPENDENCIES variable. No - Config.in.host file should be created. -
  • -The host package should be explicitly selectable by the user from - the configuration menu. In this case, create a Config.in.host file - for that host package: -

    config BR2_PACKAGE_HOST_FOO
    -        bool "host foo"
    -        help
    -          This is a comment that explains what foo for the host is.
    -
    -          http://foosoftware.org/foo/

    The same coding style and options as for the Config.in file are valid.

    Finally you have to add your new libfoo/Config.in.host to -package/Config.in.host. The files included there are sorted alphabetically -and are NOT supposed to contain anything but the bare name of the package.

    source "package/foo/Config.in.host"

    The host package will then be available from the Host utilities menu.

18.2.3. Choosing depends on or select

The Config.in file of your package must also ensure that -dependencies are enabled. Typically, Buildroot uses the following -rules:

  • -Use a select type of dependency for dependencies on - libraries. These dependencies are generally not obvious and it - therefore make sense to have the kconfig system ensure that the - dependencies are selected. For example, the libgtk2 package uses - select BR2_PACKAGE_LIBGLIB2 to make sure this library is also - enabled. - The select keyword expresses the dependency with a backward - semantic. -
  • -Use a depends on type of dependency when the user really needs to - be aware of the dependency. Typically, Buildroot uses this type of - dependency for dependencies on target architecture, MMU support and - toolchain options (see Section 18.2.4, “Dependencies on target and toolchain options”), - or for dependencies on "big" things, such as the X.org system. - The depends on keyword expresses the dependency with a forward - semantic. -

Note. The current problem with the kconfig language is that these two -dependency semantics are not internally linked. Therefore, it may be -possible to select a package, whom one of its dependencies/requirement -is not met.

An example illustrates both the usage of select and depends on.

config BR2_PACKAGE_RRDTOOL
-        bool "rrdtool"
-        depends on BR2_USE_WCHAR
-        select BR2_PACKAGE_FREETYPE
-        select BR2_PACKAGE_LIBART
-        select BR2_PACKAGE_LIBPNG
-        select BR2_PACKAGE_ZLIB
-        help
-          RRDtool is the OpenSource industry standard, high performance
-          data logging and graphing system for time series data.
-
-          http://oss.oetiker.ch/rrdtool/
-
-comment "rrdtool needs a toolchain w/ wchar"
-        depends on !BR2_USE_WCHAR

Note that these two dependency types are only transitive with the -dependencies of the same kind.

This means, in the following example:

config BR2_PACKAGE_A
-        bool "Package A"
-
-config BR2_PACKAGE_B
-        bool "Package B"
-        depends on BR2_PACKAGE_A
-
-config BR2_PACKAGE_C
-        bool "Package C"
-        depends on BR2_PACKAGE_B
-
-config BR2_PACKAGE_D
-        bool "Package D"
-        select BR2_PACKAGE_B
-
-config BR2_PACKAGE_E
-        bool "Package E"
-        select BR2_PACKAGE_D
  • -Selecting Package C will be visible if Package B has been - selected, which in turn is only visible if Package A has been - selected. -
  • -Selecting Package E will select Package D, which will select - Package B, it will not check for the dependencies of Package B, - so it will not select Package A. -
  • -Since Package B is selected but Package A is not, this violates - the dependency of Package B on Package A. Therefore, in such a - situation, the transitive dependency has to be added explicitly: -
config BR2_PACKAGE_D
-        bool "Package D"
-        select BR2_PACKAGE_B
-        depends on BR2_PACKAGE_A
-
-config BR2_PACKAGE_E
-        bool "Package E"
-        select BR2_PACKAGE_D
-        depends on BR2_PACKAGE_A

Overall, for package library dependencies, select should be -preferred.

Note that such dependencies will ensure that the dependency option -is also enabled, but not necessarily built before your package. To do -so, the dependency also needs to be expressed in the .mk file of the -package.

Further formatting details: see the -coding style.

18.2.4. Dependencies on target and toolchain options

Many packages depend on certain options of the toolchain: the choice of -C library, C++ support, thread support, RPC support, wchar support, -or dynamic library support. Some packages can only be built on certain -target architectures, or if an MMU is available in the processor.

These dependencies have to be expressed with the appropriate depends -on statements in the Config.in file. Additionally, for dependencies on -toolchain options, a comment should be displayed when the option is -not enabled, so that the user knows why the package is not available. -Dependencies on target architecture or MMU support should not be -made visible in a comment: since it is unlikely that the user can -freely choose another target, it makes little sense to show these -dependencies explicitly.

The comment should only be visible if the config option itself would -be visible when the toolchain option dependencies are met. This means -that all other dependencies of the package (including dependencies on -target architecture and MMU support) have to be repeated on the -comment definition. To keep it clear, the depends on statement for -these non-toolchain option should be kept separate from the depends on -statement for the toolchain options. -If there is a dependency on a config option in that same file (typically -the main package) it is preferable to have a global if … endif -construct rather than repeating the depends on statement on the -comment and other config options.

The general format of a dependency comment for package foo is:

foo needs a toolchain w/ featA, featB, featC

for example:

mpd needs a toolchain w/ C++, threads, wchar

or

crda needs a toolchain w/ threads

Note that this text is kept brief on purpose, so that it will fit on a -80-character terminal.

The rest of this section enumerates the different target and toolchain -options, the corresponding config symbols to depend on, and the text to -use in the comment.

  • -Target architecture -

    • -Dependency symbol: BR2_powerpc, BR2_mips, … (see arch/Config.in) -
    • -Comment string: no comment to be added -
  • -MMU support -

    • -Dependency symbol: BR2_USE_MMU -
    • -Comment string: no comment to be added -
  • -Gcc _sync* built-ins used for atomic operations. They are - available in variants operating on 1 byte, 2 bytes, 4 bytes and 8 - bytes. Since different architectures support atomic operations on - different sizes, one dependency symbol is available for each size: -

    • -Dependency symbol: BR2_TOOLCHAIN_HAS_SYNC_1 for 1 byte, - BR2_TOOLCHAIN_HAS_SYNC_2 for 2 bytes, - BR2_TOOLCHAIN_HAS_SYNC_4 for 4 bytes, BR2_TOOLCHAIN_HAS_SYNC_8 - for 8 bytes. -
    • -Comment string: no comment to be added -
  • -Gcc _atomic* built-ins used for atomic operations. -

    • -Dependency symbol: BR2_TOOLCHAIN_HAS_ATOMIC. -
    • -Comment string: no comment to be added -
  • -Kernel headers -

    • -Dependency symbol: BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y, (replace - X_Y with the proper version, see toolchain/Config.in) -
    • -Comment string: headers >= X.Y and/or headers <= X.Y (replace - X.Y with the proper version) -
  • -GCC version -

    • -Dependency symbol: BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y, (replace - X_Y with the proper version, see toolchain/Config.in) -
    • -Comment string: gcc >= X.Y and/or gcc <= X.Y (replace - X.Y with the proper version) -
  • -Host GCC version -

    • -Dependency symbol: BR2_HOST_GCC_AT_LEAST_X_Y, (replace - X_Y with the proper version, see Config.in) -
    • -Comment string: no comment to be added -
    • -Note that it is usually not the package itself that has a minimum - host GCC version, but rather a host-package on which it depends. -
  • -C library -

    • -Dependency symbol: BR2_TOOLCHAIN_USES_GLIBC, - BR2_TOOLCHAIN_USES_MUSL, BR2_TOOLCHAIN_USES_UCLIBC -
    • -Comment string: for the C library, a slightly different comment text - is used: foo needs a glibc toolchain, or foo needs a glibc - toolchain w/ C++ -
  • -C++ support -

    • -Dependency symbol: BR2_INSTALL_LIBSTDCPP -
    • -Comment string: C++ -
  • -D support -

    • -Dependency symbol: BR2_TOOLCHAIN_HAS_DLANG -
    • -Comment string: Dlang -
  • -Fortran support -

    • -Dependency symbol: BR2_TOOLCHAIN_HAS_FORTRAN -
    • -Comment string: fortran -
  • -thread support -

    • -Dependency symbol: BR2_TOOLCHAIN_HAS_THREADS -
    • -Comment string: threads (unless BR2_TOOLCHAIN_HAS_THREADS_NPTL - is also needed, in which case, specifying only NPTL is sufficient) -
  • -NPTL thread support -

    • -Dependency symbol: BR2_TOOLCHAIN_HAS_THREADS_NPTL -
    • -Comment string: NPTL -
  • -RPC support -

    • -Dependency symbol: BR2_TOOLCHAIN_HAS_NATIVE_RPC -
    • -Comment string: RPC -
  • -wchar support -

    • -Dependency symbol: BR2_USE_WCHAR -
    • -Comment string: wchar -
  • -dynamic library -

    • -Dependency symbol: !BR2_STATIC_LIBS -
    • -Comment string: dynamic library -

18.2.5. Dependencies on a Linux kernel built by buildroot

Some packages need a Linux kernel to be built by buildroot. These are -typically kernel modules or firmware. A comment should be added in the -Config.in file to express this dependency, similar to dependencies on -toolchain options. The general format is:

foo needs a Linux kernel to be built

If there is a dependency on both toolchain options and the Linux -kernel, use this format:

foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built

18.2.6. Dependencies on udev /dev management

If a package needs udev /dev management, it should depend on symbol -BR2_PACKAGE_HAS_UDEV, and the following comment should be added:

foo needs udev /dev management

If there is a dependency on both toolchain options and udev /dev -management, use this format:

foo needs udev /dev management and a toolchain w/ featA, featB, featC

18.2.7. Dependencies on features provided by virtual packages

Some features can be provided by more than one package, such as the -openGL libraries.

See Section 18.11, “Infrastructure for virtual packages” for more on the virtual packages.

18.3. The .mk file

Finally, here’s the hardest part. Create a file named libfoo.mk. It -describes how the package should be downloaded, configured, built, -installed, etc.

Depending on the package type, the .mk file must be written in a -different way, using different infrastructures:

  • -Makefiles for generic packages (not using autotools or CMake): - These are based on an infrastructure similar to the one used for - autotools-based packages, but require a little more work from the - developer. They specify what should be done for the configuration, - compilation and installation of the package. This - infrastructure must be used for all packages that do not use the - autotools as their build system. In the future, other specialized - infrastructures might be written for other build systems. We cover - them through in a tutorial and a - reference. -
  • -Makefiles for autotools-based software (autoconf, automake, etc.): - We provide a dedicated infrastructure for such packages, since - autotools is a very common build system. This infrastructure must - be used for new packages that rely on the autotools as their build - system. We cover them through a tutorial - and reference. -
  • -Makefiles for cmake-based software: We provide a dedicated - infrastructure for such packages, as CMake is a more and more - commonly used build system and has a standardized behaviour. This - infrastructure must be used for new packages that rely on - CMake. We cover them through a tutorial - and reference. -
  • -Makefiles for Python modules: We have a dedicated infrastructure - for Python modules that use either the distutils or the - setuptools mechanism. We cover them through a - tutorial and a - reference. -
  • -Makefiles for Lua modules: We have a dedicated infrastructure for - Lua modules available through the LuaRocks web site. We cover them - through a tutorial and a - reference. -

Further formatting details: see the writing -rules.

18.4. The .hash file

When possible, you must add a third file, named libfoo.hash, that -contains the hashes of the downloaded files for the libfoo -package. The only reason for not adding a .hash file is when hash -checking is not possible due to how the package is downloaded.

When a package has a version selection choice, then the hash file may be -stored in a subdirectory named after the version, e.g. -package/libfoo/1.2.3/libfoo.hash. This is especially important if the -different versions have different licensing terms, but they are stored -in the same file. Otherwise, the hash file should stay in the package’s -directory.

The hashes stored in that file are used to validate the integrity of the -downloaded files and of the license files.

The format of this file is one line for each file for which to check the -hash, each line with the following three fields separated by two spaces:

  • -the type of hash, one of: -

    • -md5, sha1, sha224, sha256, sha384, sha512, none -
  • -the hash of the file: -

    • -for none, one or more non-space chars, usually just the string xxx -
    • -for md5, 32 hexadecimal characters -
    • -for sha1, 40 hexadecimal characters -
    • -for sha224, 56 hexadecimal characters -
    • -for sha256, 64 hexadecimal characters -
    • -for sha384, 96 hexadecimal characters -
    • -for sha512, 128 hexadecimal characters -
  • -the name of the file: -

    • -for a source archive: the basename of the file, without any directory - component, -
    • -for a license file: the path as it appears in FOO_LICENSE_FILES. -

Lines starting with a # sign are considered comments, and ignored. Empty -lines are ignored.

There can be more than one hash for a single file, each on its own line. In -this case, all hashes must match.

Note. Ideally, the hashes stored in this file should match the hashes published by -upstream, e.g. on their website, in the e-mail announcement… If upstream -provides more than one type of hash (e.g. sha1 and sha512), then it is -best to add all those hashes in the .hash file. If upstream does not -provide any hash, or only provides an md5 hash, then compute at least one -strong hash yourself (preferably sha256, but not md5), and mention -this in a comment line above the hashes.

Note. The hashes for license files are used to detect a license change when a -package version is bumped. The hashes are checked during the make legal-info -target run. For a package with multiple versions (like Qt5), -create the hash file in a subdirectory <packageversion> of that package -(see also Section 19.2, “How patches are applied”).

The none hash type is reserved to those archives downloaded from a -repository, like a git clone, a subversion checkout

The example below defines a sha1 and a sha256 published by upstream for -the main libfoo-1.2.3.tar.bz2 tarball, an md5 from upstream and a -locally-computed sha256 hashes for a binary blob, a sha256 for a -downloaded patch, and an archive with no hash:

# Hashes from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.{sha1,sha256}:
-sha1  486fb55c3efa71148fe07895fd713ea3a5ae343a  libfoo-1.2.3.tar.bz2
-sha256  efc8103cc3bcb06bda6a781532d12701eb081ad83e8f90004b39ab81b65d4369  libfoo-1.2.3.tar.bz2
-
-# md5 from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.md5, sha256 locally computed:
-md5  2d608f3c318c6b7557d551a5a09314f03452f1a1  libfoo-data.bin
-sha256  01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b  libfoo-data.bin
-
-# Locally computed:
-sha256  ff52101fb90bbfc3fe9475e425688c660f46216d7e751c4bbdb1dc85cdccacb9  libfoo-fix-blabla.patch
-
-# No hash for 1234:
-none  xxx  libfoo-1234.tar.gz
-
-# Hash for license files:
-sha256  a45a845012742796534f7e91fe623262ccfb99460a2bd04015bd28d66fba95b8  COPYING
-sha256  01b1f9f2c8ee648a7a596a1abe8aa4ed7899b1c9e5551bda06da6e422b04aa55  doc/COPYING.LGPL

If the .hash file is present, and it contains one or more hashes for a -downloaded file, the hash(es) computed by Buildroot (after download) must -match the hash(es) stored in the .hash file. If one or more hashes do -not match, Buildroot considers this an error, deletes the downloaded file, -and aborts.

If the .hash file is present, but it does not contain a hash for a -downloaded file, Buildroot considers this an error and aborts. However, -the downloaded file is left in the download directory since this -typically indicates that the .hash file is wrong but the downloaded -file is probably OK.

Hashes are currently checked for files fetched from http/ftp servers, -Git repositories, files copied using scp and local files. Hashes are -not checked for other version control systems (such as Subversion, -CVS, etc.) because Buildroot currently does not generate reproducible -tarballs when source code is fetched from such version control -systems.

Hashes should only be added in .hash files for files that are -guaranteed to be stable. For example, patches auto-generated by Github -are not guaranteed to be stable, and therefore their hashes can change -over time. Such patches should not be downloaded, and instead be added -locally to the package folder.

If the .hash file is missing, then no check is done at all.

18.5. Infrastructure for packages with specific build systems

By packages with specific build systems we mean all the packages -whose build system is not one of the standard ones, such as -autotools or CMake. This typically includes packages whose build -system is based on hand-written Makefiles or shell scripts.

18.5.1. generic-package tutorial

01: ################################################################################
-02: #
-03: # libfoo
-04: #
-05: ################################################################################
-06:
-07: LIBFOO_VERSION = 1.0
-08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
-09: LIBFOO_SITE = http://www.foosoftware.org/download
-10: LIBFOO_LICENSE = GPL-3.0+
-11: LIBFOO_LICENSE_FILES = COPYING
-12: LIBFOO_INSTALL_STAGING = YES
-13: LIBFOO_CONFIG_SCRIPTS = libfoo-config
-14: LIBFOO_DEPENDENCIES = host-libaaa libbbb
-15:
-16: define LIBFOO_BUILD_CMDS
-17:     $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
-18: endef
-19:
-20: define LIBFOO_INSTALL_STAGING_CMDS
-21:     $(INSTALL) -D -m 0755 $(@D)/libfoo.a $(STAGING_DIR)/usr/lib/libfoo.a
-22:     $(INSTALL) -D -m 0644 $(@D)/foo.h $(STAGING_DIR)/usr/include/foo.h
-23:     $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(STAGING_DIR)/usr/lib
-24: endef
-25:
-26: define LIBFOO_INSTALL_TARGET_CMDS
-27:     $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(TARGET_DIR)/usr/lib
-28:     $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d
-29: endef
-30:
-31: define LIBFOO_USERS
-32:     foo -1 libfoo -1 * - - - LibFoo daemon
-33: endef
-34:
-35: define LIBFOO_DEVICES
-36:     /dev/foo  c  666  0  0  42  0  -  -  -
-37: endef
-38:
-39: define LIBFOO_PERMISSIONS
-40:     /bin/foo  f  4755  foo  libfoo   -  -  -  -  -
-41: endef
-42:
-43: $(eval $(generic-package))

The Makefile begins on line 7 to 11 with metadata information: the -version of the package (LIBFOO_VERSION), the name of the -tarball containing the package (LIBFOO_SOURCE) (xz-ed tarball recommended) -the Internet location at which the tarball can be downloaded from -(LIBFOO_SITE), the license (LIBFOO_LICENSE) and file with the -license text (LIBFOO_LICENSE_FILES). All variables must start with -the same prefix, LIBFOO_ in this case. This prefix is always the -uppercased version of the package name (see below to understand where -the package name is defined).

On line 12, we specify that this package wants to install something to -the staging space. This is often needed for libraries, since they must -install header files and other development files in the staging space. -This will ensure that the commands listed in the -LIBFOO_INSTALL_STAGING_CMDS variable will be executed.

On line 13, we specify that there is some fixing to be done to some -of the libfoo-config files that were installed during -LIBFOO_INSTALL_STAGING_CMDS phase. -These *-config files are executable shell script files that are -located in $(STAGING_DIR)/usr/bin directory and are executed -by other 3rd party packages to find out the location and the linking -flags of this particular package.

The problem is that all these *-config files by default give wrong, -host system linking flags that are unsuitable for cross-compiling.

For example: -I/usr/include instead of -I$(STAGING_DIR)/usr/include -or: -L/usr/lib instead of -L$(STAGING_DIR)/usr/lib

So some sed magic is done to these scripts to make them give correct -flags. -The argument to be given to LIBFOO_CONFIG_SCRIPTS is the file name(s) -of the shell script(s) needing fixing. All these names are relative to -$(STAGING_DIR)/usr/bin and if needed multiple names can be given.

In addition, the scripts listed in LIBFOO_CONFIG_SCRIPTS are removed -from $(TARGET_DIR)/usr/bin, since they are not needed on the target.

Example 18.1. Config script: divine package

Package divine installs shell script $(STAGING_DIR)/usr/bin/divine-config.

So its fixup would be:

DIVINE_CONFIG_SCRIPTS = divine-config

Example 18.2. Config script: imagemagick package:

Package imagemagick installs the following scripts: -$(STAGING_DIR)/usr/bin/{Magick,Magick++,MagickCore,MagickWand,Wand}-config

So it’s fixup would be:

IMAGEMAGICK_CONFIG_SCRIPTS = \
-   Magick-config Magick++-config \
-   MagickCore-config MagickWand-config Wand-config

On line 14, we specify the list of dependencies this package relies -on. These dependencies are listed in terms of lower-case package names, -which can be packages for the target (without the host- -prefix) or packages for the host (with the host-) prefix). -Buildroot will ensure that all these packages are built and installed -before the current package starts its configuration.

The rest of the Makefile, lines 16..29, defines what should be done -at the different steps of the package configuration, compilation and -installation. -LIBFOO_BUILD_CMDS tells what steps should be performed to -build the package. LIBFOO_INSTALL_STAGING_CMDS tells what -steps should be performed to install the package in the staging space. -LIBFOO_INSTALL_TARGET_CMDS tells what steps should be -performed to install the package in the target space.

All these steps rely on the $(@D) variable, which -contains the directory where the source code of the package has been -extracted.

On lines 31..33, we define a user that is used by this package (e.g. -to run a daemon as non-root) (LIBFOO_USERS).

On line 35..37, we define a device-node file used by this package -(LIBFOO_DEVICES).

On line 39..41, we define the permissions to set to specific files -installed by this package (LIBFOO_PERMISSIONS).

Finally, on line 43, we call the generic-package function, which -generates, according to the variables defined previously, all the -Makefile code necessary to make your package working.

18.5.2. generic-package reference

There are two variants of the generic target. The generic-package macro is -used for packages to be cross-compiled for the target. The -host-generic-package macro is used for host packages, natively compiled -for the host. It is possible to call both of them in a single .mk -file: once to create the rules to generate a target -package and once to create the rules to generate a host package:

$(eval $(generic-package))
-$(eval $(host-generic-package))

This might be useful if the compilation of the target package requires -some tools to be installed on the host. If the package name is -libfoo, then the name of the package for the target is also -libfoo, while the name of the package for the host is -host-libfoo. These names should be used in the DEPENDENCIES -variables of other packages, if they depend on libfoo or -host-libfoo.

The call to the generic-package and/or host-generic-package macro -must be at the end of the .mk file, after all variable definitions. -The call to host-generic-package must be after the call to -generic-package, if any.

For the target package, the generic-package uses the variables defined by -the .mk file and prefixed by the uppercased package name: -LIBFOO_*. host-generic-package uses the HOST_LIBFOO_* variables. For -some variables, if the HOST_LIBFOO_ prefixed variable doesn’t -exist, the package infrastructure uses the corresponding variable -prefixed by LIBFOO_. This is done for variables that are likely to -have the same value for both the target and host packages. See below -for details.

The list of variables that can be set in a .mk file to give metadata -information is (assuming the package name is libfoo) :

  • -LIBFOO_VERSION, mandatory, must contain the version of the - package. Note that if HOST_LIBFOO_VERSION doesn’t exist, it is - assumed to be the same as LIBFOO_VERSION. It can also be a - revision number or a tag for packages that are fetched directly - from their version control system. Examples: -

    • -a version for a release tarball: LIBFOO_VERSION = 0.1.2 -
    • -a sha1 for a git tree: LIBFOO_VERSION = cb9d6aa9429e838f0e54faa3d455bcbab5eef057 -
    • -a tag for a git tree LIBFOO_VERSION = v0.1.2 -

      Note: Using a branch name as FOO_VERSION is not supported, because it does -not and can not work as people would expect it should:

      1. -due to local caching, Buildroot will not re-fetch the repository, - so people who expect to be able to follow the remote repository - would be quite surprised and disappointed; -
      2. -because two builds can never be perfectly simultaneous, and because - the remote repository may get new commits on the branch anytime, - two users, using the same Buildroot tree and building the same - configuration, may get different source, thus rendering the build - non reproducible, and people would be quite surprised and - disappointed. -
  • -LIBFOO_SOURCE may contain the name of the tarball of the package, - which Buildroot will use to download the tarball from - LIBFOO_SITE. If HOST_LIBFOO_SOURCE is not specified, it defaults - to LIBFOO_SOURCE. If none are specified, then the value is assumed - to be libfoo-$(LIBFOO_VERSION).tar.gz. - Example: LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2 -
  • -LIBFOO_PATCH may contain a space-separated list of patch file - names, that Buildroot will download and apply to the package source - code. If an entry contains ://, then Buildroot will assume it is a - full URL and download the patch from this location. Otherwise, - Buildroot will assume that the patch should be downloaded from - LIBFOO_SITE. If HOST_LIBFOO_PATCH is not specified, it defaults - to LIBFOO_PATCH. Note that patches that are included in Buildroot - itself use a different mechanism: all files of the form - *.patch present in the package directory inside - Buildroot will be applied to the package after extraction (see - patching a package). Finally, patches listed in - the LIBFOO_PATCH variable are applied before the patches stored - in the Buildroot package directory. -
  • -LIBFOO_SITE provides the location of the package, which can be a - URL or a local filesystem path. HTTP, FTP and SCP are supported URL - types for retrieving package tarballs. In these cases don’t include a - trailing slash: it will be added by Buildroot between the directory - and the filename as appropriate. Git, Subversion, Mercurial, - and Bazaar are supported URL types for retrieving packages directly - from source code management systems. There is a helper function to make - it easier to download source tarballs from GitHub (refer to - Section 18.24.4, “How to add a package from GitHub” for details). A filesystem path may be used - to specify either a tarball or a directory containing the package - source code. See LIBFOO_SITE_METHOD below for more details on how - retrieval works. - Note that SCP URLs should be of the form - scp://[user@]host:filepath, and that filepath is relative to the - user’s home directory, so you may want to prepend the path with a - slash for absolute paths: - scp://[user@]host:/absolutepath. - If HOST_LIBFOO_SITE is not specified, it defaults to - LIBFOO_SITE. - Examples: - LIBFOO_SITE=http://www.libfoosoftware.org/libfoo - LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor - LIBFOO_SITE=/opt/software/libfoo.tar.gz - LIBFOO_SITE=$(TOPDIR)/../src/libfoo -
  • -LIBFOO_DL_OPTS is a space-separated list of additional options to - pass to the downloader. Useful for retrieving documents with - server-side checking for user logins and passwords, or to use a proxy. - All download methods valid for LIBFOO_SITE_METHOD are supported; - valid options depend on the download method (consult the man page - for the respective download utilities). -
  • -LIBFOO_EXTRA_DOWNLOADS is a space-separated list of additional - files that Buildroot should download. If an entry contains :// - then Buildroot will assume it is a complete URL and will download - the file using this URL. Otherwise, Buildroot will assume the file - to be downloaded is located at LIBFOO_SITE. Buildroot will not do - anything with those additional files, except download them: it will - be up to the package recipe to use them from $(LIBFOO_DL_DIR). -
  • -LIBFOO_SITE_METHOD determines the method used to fetch or copy the - package source code. In many cases, Buildroot guesses the method - from the contents of LIBFOO_SITE and setting LIBFOO_SITE_METHOD - is unnecessary. When HOST_LIBFOO_SITE_METHOD is not specified, it - defaults to the value of LIBFOO_SITE_METHOD. - The possible values of LIBFOO_SITE_METHOD are: -

    • -wget for normal FTP/HTTP downloads of tarballs. Used by - default when LIBFOO_SITE begins with http://, https:// or - ftp://. -
    • -scp for downloads of tarballs over SSH with scp. Used by - default when LIBFOO_SITE begins with scp://. -
    • -svn for retrieving source code from a Subversion repository. - Used by default when LIBFOO_SITE begins with svn://. When a - http:// Subversion repository URL is specified in - LIBFOO_SITE, one must specify LIBFOO_SITE_METHOD=svn. - Buildroot performs a checkout which is preserved as a tarball in - the download cache; subsequent builds use the tarball instead of - performing another checkout. -
    • -cvs for retrieving source code from a CVS repository. - Used by default when LIBFOO_SITE begins with cvs://. - The downloaded source code is cached as with the svn method. - Anonymous pserver mode is assumed otherwise explicitly defined - on LIBFOO_SITE. Both - LIBFOO_SITE=cvs://libfoo.net:/cvsroot/libfoo and - LIBFOO_SITE=cvs://:ext:libfoo.net:/cvsroot/libfoo - are accepted, on the former anonymous pserver access mode is - assumed. - LIBFOO_SITE must contain the source URL as well as the remote - repository directory. The module is the package name. - LIBFOO_VERSION is mandatory and must be a tag, a branch, or - a date (e.g. "2014-10-20", "2014-10-20 13:45", "2014-10-20 - 13:45+01" see "man cvs" for further details). -
    • -git for retrieving source code from a Git repository. Used by - default when LIBFOO_SITE begins with git://. The downloaded - source code is cached as with the svn - method. -
    • -hg for retrieving source code from a Mercurial repository. One - must specify LIBFOO_SITE_METHOD=hg when LIBFOO_SITE - contains a Mercurial repository URL. The downloaded source code - is cached as with the svn method. -
    • -bzr for retrieving source code from a Bazaar repository. Used - by default when LIBFOO_SITE begins with bzr://. The - downloaded source code is cached as with the svn method. -
    • -file for a local tarball. One should use this when - LIBFOO_SITE specifies a package tarball as a local filename. - Useful for software that isn’t available publicly or in version - control. -
    • -local for a local source code directory. One should use this - when LIBFOO_SITE specifies a local directory path containing - the package source code. Buildroot copies the contents of the - source directory into the package’s build directory. Note that - for local packages, no patches are applied. If you need to - still patch the source code, use LIBFOO_POST_RSYNC_HOOKS, see - Section 18.22.1, “Using the POST_RSYNC hook”. -
  • -LIBFOO_GIT_SUBMODULES can be set to YES to create an archive - with the git submodules in the repository. This is only available - for packages downloaded with git (i.e. when - LIBFOO_SITE_METHOD=git). Note that we try not to use such git - submodules when they contain bundled libraries, in which case we - prefer to use those libraries from their own package. -
  • -LIBFOO_STRIP_COMPONENTS is the number of leading components - (directories) that tar must strip from file names on extraction. - The tarball for most packages has one leading component named - "<pkg-name>-<pkg-version>", thus Buildroot passes - --strip-components=1 to tar to remove it. - For non-standard packages that don’t have this component, or - that have more than one leading component to strip, set this - variable with the value to be passed to tar. Default: 1. -
  • -LIBFOO_EXCLUDES is a space-separated list of patterns to exclude - when extracting the archive. Each item from that list is passed as - a tar’s --exclude option. By default, empty. -
  • -LIBFOO_DEPENDENCIES lists the dependencies (in terms of package - name) that are required for the current target package to - compile. These dependencies are guaranteed to be compiled and - installed before the configuration of the current package starts. - However, modifications to configuration of these dependencies will - not force a rebuild of the current package. In a similar way, - HOST_LIBFOO_DEPENDENCIES lists the dependencies for the current - host package. -
  • -LIBFOO_EXTRACT_DEPENDENCIES lists the dependencies (in terms of - package name) that are required for the current target package to be - extracted. These dependencies are guaranteed to be compiled and - installed before the extract step of the current package - starts. This is only used internally by the package infrastructure, - and should typically not be used directly by packages. -
  • -LIBFOO_PATCH_DEPENDENCIES lists the dependencies (in terms of - package name) that are required for the current package to be - patched. These dependencies are guaranteed to be extracted and - patched (but not necessarily built) before the current package is - patched. In a similar way, HOST_LIBFOO_PATCH_DEPENDENCIES lists - the dependencies for the current host package. - This is seldom used; usually, LIBFOO_DEPENDENCIES is what you - really want to use. -
  • -LIBFOO_PROVIDES lists all the virtual packages libfoo is an - implementation of. See Section 18.11, “Infrastructure for virtual packages”. -
  • -LIBFOO_INSTALL_STAGING can be set to YES or NO (default). If - set to YES, then the commands in the LIBFOO_INSTALL_STAGING_CMDS - variables are executed to install the package into the staging - directory. -
  • -LIBFOO_INSTALL_TARGET can be set to YES (default) or NO. If - set to YES, then the commands in the LIBFOO_INSTALL_TARGET_CMDS - variables are executed to install the package into the target - directory. -
  • -LIBFOO_INSTALL_IMAGES can be set to YES or NO (default). If - set to YES, then the commands in the LIBFOO_INSTALL_IMAGES_CMDS - variable are executed to install the package into the images - directory. -
  • -LIBFOO_CONFIG_SCRIPTS lists the names of the files in - $(STAGING_DIR)/usr/bin that need some special fixing to make them - cross-compiling friendly. Multiple file names separated by space can - be given and all are relative to $(STAGING_DIR)/usr/bin. The files - listed in LIBFOO_CONFIG_SCRIPTS are also removed from - $(TARGET_DIR)/usr/bin since they are not needed on the target. -
  • -LIBFOO_DEVICES lists the device files to be created by Buildroot - when using the static device table. The syntax to use is the - makedevs one. You can find some documentation for this syntax in the - Chapter 25, Makedev syntax documentation. This variable is optional. -
  • -LIBFOO_PERMISSIONS lists the changes of permissions to be done at - the end of the build process. The syntax is once again the makedevs one. - You can find some documentation for this syntax in the Chapter 25, Makedev syntax documentation. - This variable is optional. -
  • -LIBFOO_USERS lists the users to create for this package, if it installs - a program you want to run as a specific user (e.g. as a daemon, or as a - cron-job). The syntax is similar in spirit to the makedevs one, and is - described in the Chapter 26, Makeusers syntax documentation. This variable is optional. -
  • -LIBFOO_LICENSE defines the license (or licenses) under which the package - is released. - This name will appear in the manifest file produced by make legal-info. - If the license appears in the SPDX License List, - use the SPDX short identifier to make the manifest file uniform. - Otherwise, describe the license in a precise and concise way, avoiding - ambiguous names such as BSD which actually name a family of licenses. - This variable is optional. If it is not defined, unknown will appear in - the license field of the manifest file for this package. - The expected format for this variable must comply with the following rules: -

    • -If different parts of the package are released under different - licenses, then comma separate licenses (e.g. LIBFOO_LICENSE = - GPL-2.0+, LGPL-2.1+). If there is clear distinction between which - component is licensed under what license, then annotate the license - with that component, between parenthesis (e.g. LIBFOO_LICENSE = - GPL-2.0+ (programs), LGPL-2.1+ (libraries)). -
    • -If some licenses are conditioned on a sub-option being enabled, append - the conditional licenses with a comma (e.g.: FOO_LICENSE += , GPL-2.0+ - (programs)); the infrastructure will internally remove the space before - the comma. -
    • -If the package is dual licensed, then separate licenses with the - or keyword (e.g. LIBFOO_LICENSE = AFL-2.1 or GPL-2.0+). -
  • -LIBFOO_LICENSE_FILES is a space-separated list of files in the package - tarball that contain the license(s) under which the package is released. - make legal-info copies all of these files in the legal-info directory. - See Chapter 13, Legal notice and licensing for more information. - This variable is optional. If it is not defined, a warning will be produced - to let you know, and not saved will appear in the license files field - of the manifest file for this package. -
  • -LIBFOO_ACTUAL_SOURCE_TARBALL only applies to packages whose - LIBFOO_SITE / LIBFOO_SOURCE pair points to an archive that does - not actually contain source code, but binary code. This a very - uncommon case, only known to apply to external toolchains which come - already compiled, although theoretically it might apply to other - packages. In such cases a separate tarball is usually available with - the actual source code. Set LIBFOO_ACTUAL_SOURCE_TARBALL to the - name of the actual source code archive and Buildroot will download - it and use it when you run make legal-info to collect - legally-relevant material. Note this file will not be downloaded - during regular builds nor by make source. -
  • -LIBFOO_ACTUAL_SOURCE_SITE provides the location of the actual - source tarball. The default value is LIBFOO_SITE, so you don’t - need to set this variable if the binary and source archives are - hosted on the same directory. If LIBFOO_ACTUAL_SOURCE_TARBALL is - not set, it doesn’t make sense to define - LIBFOO_ACTUAL_SOURCE_SITE. -
  • -LIBFOO_REDISTRIBUTE can be set to YES (default) or NO to indicate if - the package source code is allowed to be redistributed. Set it to NO for - non-opensource packages: Buildroot will not save the source code for this - package when collecting the legal-info. -
  • -LIBFOO_FLAT_STACKSIZE defines the stack size of an application built into - the FLAT binary format. The application stack size on the NOMMU architecture - processors can’t be enlarged at run time. The default stack size for the - FLAT binary format is only 4k bytes. If the application consumes more stack, - append the required number here. -
  • -LIBFOO_BIN_ARCH_EXCLUDE is a space-separated list of paths (relative - to the target directory) to ignore when checking that the package - installs correctly cross-compiled binaries. You seldom need to set this - variable, unless the package installs binary blobs outside the default - locations, /lib/firmware, /usr/lib/firmware, /lib/modules, - /usr/lib/modules, and /usr/share, which are automatically excluded. -
  • -LIBFOO_IGNORE_CVES is a space-separated list of CVEs that tells - Buildroot CVE tracking tools which CVEs should be ignored for this - package. This is typically used when the CVE is fixed by a patch in - the package, or when the CVE for some reason does not affect the - Buildroot package. A Makefile comment must always precede the - addition of a CVE to this variable. Example: -
# 0001-fix-cve-2020-12345.patch
-LIBFOO_IGNORE_CVES += CVE-2020-12345
-# only when built with libbaz, which Buildroot doesn't support
-LIBFOO_IGNORE_CVES += CVE-2020-54321
  • -LIBFOO_CPE_ID_* variables is a set of variables that allows the - package to define its CPE - identifier. The available variables are: -

    • -LIBFOO_CPE_ID_PREFIX, specifies the prefix of the CPE identifier, - i.e the first three fields. When not defined, the default value is - cpe:2.3:a. -
    • -LIBFOO_CPE_ID_VENDOR, specifies the vendor part of the CPE - identifier. When not defined, the default value is - <pkgname>_project. -
    • -LIBFOO_CPE_ID_PRODUCT, specifies the product part of the CPE - identifier. When not defined, the default value is <pkgname>. -
    • -LIBFOO_CPE_ID_VERSION, specifies the version part of the CPE - identifier. When not defined the default value is - $(LIBFOO_VERSION). -
    • -LIBFOO_CPE_ID_UPDATE specifies the update part of the CPE - identifier. When not defined the default value is *. -

    If any of those variables is defined, then the generic package -infrastructure assumes the package provides valid CPE information. In -this case, the generic package infrastructure will define -LIBFOO_CPE_ID.

    For a host package, if its LIBFOO_CPE_ID_* variables are not -defined, it inherits the value of those variables from the -corresponding target package.

The recommended way to define these variables is to use the following -syntax:

LIBFOO_VERSION = 2.32

Now, the variables that define what should be performed at the -different steps of the build process.

  • -LIBFOO_EXTRACT_CMDS lists the actions to be performed to extract - the package. This is generally not needed as tarballs are - automatically handled by Buildroot. However, if the package uses a - non-standard archive format, such as a ZIP or RAR file, or has a - tarball with a non-standard organization, this variable allows to - override the package infrastructure default behavior. -
  • -LIBFOO_CONFIGURE_CMDS lists the actions to be performed to - configure the package before its compilation. -
  • -LIBFOO_BUILD_CMDS lists the actions to be performed to - compile the package. -
  • -HOST_LIBFOO_INSTALL_CMDS lists the actions to be performed - to install the package, when the package is a host package. The - package must install its files to the directory given by - $(HOST_DIR). All files, including development files such as - headers should be installed, since other packages might be compiled - on top of this package. -
  • -LIBFOO_INSTALL_TARGET_CMDS lists the actions to be - performed to install the package to the target directory, when the - package is a target package. The package must install its files to - the directory given by $(TARGET_DIR). Only the files required for - execution of the package have to be - installed. Header files, static libraries and documentation will be - removed again when the target filesystem is finalized. -
  • -LIBFOO_INSTALL_STAGING_CMDS lists the actions to be - performed to install the package to the staging directory, when the - package is a target package. The package must install its files to - the directory given by $(STAGING_DIR). All development files - should be installed, since they might be needed to compile other - packages. -
  • -LIBFOO_INSTALL_IMAGES_CMDS lists the actions to be performed to - install the package to the images directory, when the package is a - target package. The package must install its files to the directory - given by $(BINARIES_DIR). Only files that are binary images (aka - images) that do not belong in the TARGET_DIR but are necessary - for booting the board should be placed here. For example, a package - should utilize this step if it has binaries which would be similar - to the kernel image, bootloader or root filesystem images. -
  • -LIBFOO_INSTALL_INIT_SYSV, LIBFOO_INSTALL_INIT_OPENRC and - LIBFOO_INSTALL_INIT_SYSTEMD list the actions to install init - scripts either for the systemV-like init systems (busybox, - sysvinit, etc.), openrc or for the systemd units. These commands - will be run only when the relevant init system is installed (i.e. - if systemd is selected as the init system in the configuration, - only LIBFOO_INSTALL_INIT_SYSTEMD will be run). The only exception - is when openrc is chosen as init system and LIBFOO_INSTALL_INIT_OPENRC - has not been set, in such situation LIBFOO_INSTALL_INIT_SYSV will - be called, since openrc supports sysv init scripts. - When systemd is used as the init system, buildroot will automatically enable - all services using the systemctl preset-all command in the final phase of - image building. You can add preset files to prevent a particular unit from - being automatically enabled by buildroot. -
  • -LIBFOO_HELP_CMDS lists the actions to print the package help, which - is included to the main make help output. These commands can print - anything in any format. - This is seldom used, as packages rarely have custom rules. Do not use - this variable, unless you really know that you need to print help. -
  • -LIBFOO_LINUX_CONFIG_FIXUPS lists the Linux kernel configuration - options that are needed to build and use this package, and without - which the package is fundamentally broken. This shall be a set of - calls to one of the kconfig tweaking option: KCONFIG_ENABLE_OPT, - KCONFIG_DISABLE_OPT, or KCONFIG_SET_OPT. - This is seldom used, as package usually have no strict requirements on - the kernel options. -

The preferred way to define these variables is:

define LIBFOO_CONFIGURE_CMDS
-        action 1
-        action 2
-        action 3
-endef

In the action definitions, you can use the following variables:

  • -$(LIBFOO_PKGDIR) contains the path to the directory containing the - libfoo.mk and Config.in files. This variable is useful when it is - necessary to install a file bundled in Buildroot, like a runtime - configuration file, a splashscreen image… -
  • -$(@D), which contains the directory in which the package source - code has been uncompressed. -
  • -$(LIBFOO_DL_DIR) contains the path to the directory where all the downloads - made by Buildroot for libfoo are stored in. -
  • -$(TARGET_CC), $(TARGET_LD), etc. to get the target - cross-compilation utilities -
  • -$(TARGET_CROSS) to get the cross-compilation toolchain prefix -
  • -Of course the $(HOST_DIR), $(STAGING_DIR) and $(TARGET_DIR) - variables to install the packages properly. Those variables point to - the global host, staging and target directories, unless - per-package directory support is used, in which case they point to - the current package host, staging and target directories. In - both cases, it doesn’t make any difference from the package point of - view: it should simply use HOST_DIR, STAGING_DIR and - TARGET_DIR. See Section 8.12, “Top-level parallel build” for more details - about per-package directory support. -

Finally, you can also use hooks. See Section 18.22, “Hooks available in the various build steps” for more information.

18.6. Infrastructure for autotools-based packages

18.6.1. autotools-package tutorial

First, let’s see how to write a .mk file for an autotools-based -package, with an example :

01: ################################################################################
-02: #
-03: # libfoo
-04: #
-05: ################################################################################
-06:
-07: LIBFOO_VERSION = 1.0
-08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
-09: LIBFOO_SITE = http://www.foosoftware.org/download
-10: LIBFOO_INSTALL_STAGING = YES
-11: LIBFOO_INSTALL_TARGET = NO
-12: LIBFOO_CONF_OPTS = --disable-shared
-13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
-14:
-15: $(eval $(autotools-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball recommended) -and the location of the tarball on the Web. Buildroot will automatically -download the tarball from this location.

On line 10, we tell Buildroot to install the package to the staging -directory. The staging directory, located in output/staging/ -is the directory where all the packages are installed, including their -development files, etc. By default, packages are not installed to the -staging directory, since usually, only libraries need to be installed in -the staging directory: their development files are needed to compile -other libraries or applications depending on them. Also by default, when -staging installation is enabled, packages are installed in this location -using the make install command.

On line 11, we tell Buildroot to not install the package to the -target directory. This directory contains what will become the root -filesystem running on the target. For purely static libraries, it is -not necessary to install them in the target directory because they will -not be used at runtime. By default, target installation is enabled; setting -this variable to NO is almost never needed. Also by default, packages are -installed in this location using the make install command.

On line 12, we tell Buildroot to pass a custom configure option, that -will be passed to the ./configure script before configuring -and building the package.

On line 13, we declare our dependencies, so that they are built -before the build process of our package starts.

Finally, on line line 15, we invoke the autotools-package -macro that generates all the Makefile rules that actually allows the -package to be built.

18.6.2. autotools-package reference

The main macro of the autotools package infrastructure is -autotools-package. It is similar to the generic-package macro. The ability to -have target and host packages is also available, with the -host-autotools-package macro.

Just like the generic infrastructure, the autotools infrastructure -works by defining a number of variables before calling the -autotools-package macro.

First, all the package metadata information variables that exist in the -generic infrastructure also exist in the autotools infrastructure: -LIBFOO_VERSION, LIBFOO_SOURCE, -LIBFOO_PATCH, LIBFOO_SITE, -LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, -LIBFOO_INSTALL_STAGING, LIBFOO_INSTALL_TARGET.

A few additional variables, specific to the autotools infrastructure, -can also be defined. Many of them are only useful in very specific -cases, typical packages will therefore only use a few of them.

  • -LIBFOO_SUBDIR may contain the name of a subdirectory - inside the package that contains the configure script. This is useful, - if for example, the main configure script is not at the root of the - tree extracted by the tarball. If HOST_LIBFOO_SUBDIR is - not specified, it defaults to LIBFOO_SUBDIR. -
  • -LIBFOO_CONF_ENV, to specify additional environment - variables to pass to the configure script. By default, empty. -
  • -LIBFOO_CONF_OPTS, to specify additional configure - options to pass to the configure script. By default, empty. -
  • -LIBFOO_MAKE, to specify an alternate make - command. This is typically useful when parallel make is enabled in - the configuration (using BR2_JLEVEL) but that this - feature should be disabled for the given package, for one reason or - another. By default, set to $(MAKE). If parallel building - is not supported by the package, then it should be set to - LIBFOO_MAKE=$(MAKE1). -
  • -LIBFOO_MAKE_ENV, to specify additional environment - variables to pass to make in the build step. These are passed before - the make command. By default, empty. -
  • -LIBFOO_MAKE_OPTS, to specify additional variables to - pass to make in the build step. These are passed after the - make command. By default, empty. -
  • -LIBFOO_AUTORECONF, tells whether the package should - be autoreconfigured or not (i.e. if the configure script and - Makefile.in files should be re-generated by re-running autoconf, - automake, libtool, etc.). Valid values are YES and - NO. By default, the value is NO -
  • -LIBFOO_AUTORECONF_ENV, to specify additional environment - variables to pass to the autoreconf program if - LIBFOO_AUTORECONF=YES. These are passed in the environment of - the autoreconf command. By default, empty. -
  • -LIBFOO_AUTORECONF_OPTS to specify additional options - passed to the autoreconf program if - LIBFOO_AUTORECONF=YES. By default, empty. -
  • -LIBFOO_GETTEXTIZE, tells whether the package should be - gettextized or not (i.e. if the package uses a different gettext - version than Buildroot provides, and it is needed to run - gettextize.) Only valid when LIBFOO_AUTORECONF=YES. Valid - values are YES and NO. The default is NO. -
  • -LIBFOO_GETTEXTIZE_OPTS, to specify additional options passed to - the gettextize program, if LIBFOO_GETTEXTIZE=YES. You may - use that if, for example, the .po files are not located in the - standard place (i.e. in po/ at the root of the package.) By - default, -f. -
  • -LIBFOO_LIBTOOL_PATCH tells whether the Buildroot - patch to fix libtool cross-compilation issues should be applied or - not. Valid values are YES and NO. By - default, the value is YES -
  • -LIBFOO_INSTALL_STAGING_OPTS contains the make options - used to install the package to the staging directory. By default, the - value is DESTDIR=$(STAGING_DIR) install, which is - correct for most autotools packages. It is still possible to override - it. -
  • -LIBFOO_INSTALL_TARGET_OPTS contains the make options - used to install the package to the target directory. By default, the - value is DESTDIR=$(TARGET_DIR) install. The default - value is correct for most autotools packages, but it is still possible - to override it if needed. -

With the autotools infrastructure, all the steps required to build -and install the packages are already defined, and they generally work -well for most autotools-based packages. However, when required, it is -still possible to customize what is done in any particular step:

  • -By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the various build steps” for details. -
  • -By overriding one of the steps. For example, even if the autotools - infrastructure is used, if the package .mk file defines its - own LIBFOO_CONFIGURE_CMDS variable, it will be used - instead of the default autotools one. However, using this method - should be restricted to very specific cases. Do not use it in the - general case. -

18.7. Infrastructure for CMake-based packages

18.7.1. cmake-package tutorial

First, let’s see how to write a .mk file for a CMake-based package, -with an example :

01: ################################################################################
-02: #
-03: # libfoo
-04: #
-05: ################################################################################
-06:
-07: LIBFOO_VERSION = 1.0
-08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
-09: LIBFOO_SITE = http://www.foosoftware.org/download
-10: LIBFOO_INSTALL_STAGING = YES
-11: LIBFOO_INSTALL_TARGET = NO
-12: LIBFOO_CONF_OPTS = -DBUILD_DEMOS=ON
-13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
-14:
-15: $(eval $(cmake-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball recommended) -and the location of the tarball on the Web. Buildroot will automatically -download the tarball from this location.

On line 10, we tell Buildroot to install the package to the staging -directory. The staging directory, located in output/staging/ -is the directory where all the packages are installed, including their -development files, etc. By default, packages are not installed to the -staging directory, since usually, only libraries need to be installed in -the staging directory: their development files are needed to compile -other libraries or applications depending on them. Also by default, when -staging installation is enabled, packages are installed in this location -using the make install command.

On line 11, we tell Buildroot to not install the package to the -target directory. This directory contains what will become the root -filesystem running on the target. For purely static libraries, it is -not necessary to install them in the target directory because they will -not be used at runtime. By default, target installation is enabled; setting -this variable to NO is almost never needed. Also by default, packages are -installed in this location using the make install command.

On line 12, we tell Buildroot to pass custom options to CMake when it is -configuring the package.

On line 13, we declare our dependencies, so that they are built -before the build process of our package starts.

Finally, on line line 15, we invoke the cmake-package -macro that generates all the Makefile rules that actually allows the -package to be built.

18.7.2. cmake-package reference

The main macro of the CMake package infrastructure is -cmake-package. It is similar to the generic-package macro. The ability to -have target and host packages is also available, with the -host-cmake-package macro.

Just like the generic infrastructure, the CMake infrastructure works -by defining a number of variables before calling the cmake-package -macro.

First, all the package metadata information variables that exist in -the generic infrastructure also exist in the CMake infrastructure: -LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, -LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, -LIBFOO_INSTALL_TARGET.

A few additional variables, specific to the CMake infrastructure, can -also be defined. Many of them are only useful in very specific cases, -typical packages will therefore only use a few of them.

  • -LIBFOO_SUBDIR may contain the name of a subdirectory inside the - package that contains the main CMakeLists.txt file. This is useful, - if for example, the main CMakeLists.txt file is not at the root of - the tree extracted by the tarball. If HOST_LIBFOO_SUBDIR is not - specified, it defaults to LIBFOO_SUBDIR. -
  • -LIBFOO_CONF_ENV, to specify additional environment variables to - pass to CMake. By default, empty. -
  • -LIBFOO_CONF_OPTS, to specify additional configure options to pass - to CMake. By default, empty. A number of common CMake options are - set by the cmake-package infrastructure; so it is normally not - necessary to set them in the package’s *.mk file unless you want - to override them: -

    • -CMAKE_BUILD_TYPE is driven by BR2_ENABLE_DEBUG; -
    • -CMAKE_INSTALL_PREFIX; -
    • -BUILD_SHARED_LIBS is driven by BR2_STATIC_LIBS; -
    • -BUILD_DOC, BUILD_DOCS are disabled; -
    • -BUILD_EXAMPLE, BUILD_EXAMPLES are disabled; -
    • -BUILD_TEST, BUILD_TESTS, BUILD_TESTING are disabled. -
  • -LIBFOO_SUPPORTS_IN_SOURCE_BUILD = NO should be set when the package - cannot be built inside the source tree but needs a separate build - directory. -
  • -LIBFOO_MAKE, to specify an alternate make command. This is - typically useful when parallel make is enabled in the configuration - (using BR2_JLEVEL) but that this feature should be disabled for - the given package, for one reason or another. By default, set to - $(MAKE). If parallel building is not supported by the package, - then it should be set to LIBFOO_MAKE=$(MAKE1). -
  • -LIBFOO_MAKE_ENV, to specify additional environment variables to - pass to make in the build step. These are passed before the make - command. By default, empty. -
  • -LIBFOO_MAKE_OPTS, to specify additional variables to pass to make - in the build step. These are passed after the make command. By - default, empty. -
  • -LIBFOO_INSTALL_OPTS contains the make options used to - install the package to the host directory. By default, the value - is install, which is correct for most CMake packages. It is still - possible to override it. -
  • -LIBFOO_INSTALL_STAGING_OPTS contains the make options used to - install the package to the staging directory. By default, the value - is DESTDIR=$(STAGING_DIR) install/fast, which is correct for most - CMake packages. It is still possible to override it. -
  • -LIBFOO_INSTALL_TARGET_OPTS contains the make options used to - install the package to the target directory. By default, the value - is DESTDIR=$(TARGET_DIR) install/fast. The default value is correct - for most CMake packages, but it is still possible to override it if - needed. -

With the CMake infrastructure, all the steps required to build and -install the packages are already defined, and they generally work well -for most CMake-based packages. However, when required, it is still -possible to customize what is done in any particular step:

  • -By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the various build steps” for details. -
  • -By overriding one of the steps. For example, even if the CMake - infrastructure is used, if the package .mk file defines its own - LIBFOO_CONFIGURE_CMDS variable, it will be used instead of the - default CMake one. However, using this method should be restricted - to very specific cases. Do not use it in the general case. -

18.8. Infrastructure for Python packages

This infrastructure applies to Python packages that use the standard -Python setuptools mechanism as their build system, generally -recognizable by the usage of a setup.py script.

18.8.1. python-package tutorial

First, let’s see how to write a .mk file for a Python package, -with an example :

01: ################################################################################
-02: #
-03: # python-foo
-04: #
-05: ################################################################################
-06:
-07: PYTHON_FOO_VERSION = 1.0
-08: PYTHON_FOO_SOURCE = python-foo-$(PYTHON_FOO_VERSION).tar.xz
-09: PYTHON_FOO_SITE = http://www.foosoftware.org/download
-10: PYTHON_FOO_LICENSE = BSD-3-Clause
-11: PYTHON_FOO_LICENSE_FILES = LICENSE
-12: PYTHON_FOO_ENV = SOME_VAR=1
-13: PYTHON_FOO_DEPENDENCIES = libmad
-14: PYTHON_FOO_SETUP_TYPE = distutils
-15:
-16: $(eval $(python-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location.

On line 10 and 11, we give licensing details about the package (its -license on line 10, and the file containing the license text on line -11).

On line 12, we tell Buildroot to pass custom options to the Python -setup.py script when it is configuring the package.

On line 13, we declare our dependencies, so that they are built -before the build process of our package starts.

On line 14, we declare the specific Python build system being used. In -this case the distutils Python build system is used. The two -supported ones are distutils and setuptools.

Finally, on line 16, we invoke the python-package macro that -generates all the Makefile rules that actually allow the package to be -built.

18.8.2. python-package reference

As a policy, packages that merely provide Python modules should all be -named python-<something> in Buildroot. Other packages that use the -Python build system, but are not Python modules, can freely choose -their name (existing examples in Buildroot are scons and -supervisor).

Packages that are only compatible with one version of Python (as in: -Python 2 or Python 3) should depend on that version explicitely in -their Config.in file (BR2_PACKAGE_PYTHON for Python 2, -BR2_PACKAGE_PYTHON3 for Python 3). Packages that are compatible -with both versions should not explicitely depend on them in their -Config.in file, since that condition is already expressed for the -whole "External python modules" menu.

The main macro of the Python package infrastructure is -python-package. It is similar to the generic-package macro. It is -also possible to create Python host packages with the -host-python-package macro.

Just like the generic infrastructure, the Python infrastructure works -by defining a number of variables before calling the python-package -or host-python-package macros.

All the package metadata information variables that exist in the -generic package infrastructure also -exist in the Python infrastructure: PYTHON_FOO_VERSION, -PYTHON_FOO_SOURCE, PYTHON_FOO_PATCH, PYTHON_FOO_SITE, -PYTHON_FOO_SUBDIR, PYTHON_FOO_DEPENDENCIES, PYTHON_FOO_LICENSE, -PYTHON_FOO_LICENSE_FILES, PYTHON_FOO_INSTALL_STAGING, etc.

Note that:

  • -It is not necessary to add python or host-python in the - PYTHON_FOO_DEPENDENCIES variable of a package, since these basic - dependencies are automatically added as needed by the Python - package infrastructure. -
  • -Similarly, it is not needed to add host-setuptools to - PYTHON_FOO_DEPENDENCIES for setuptools-based packages, since it’s - automatically added by the Python infrastructure as needed. -

One variable specific to the Python infrastructure is mandatory:

  • -PYTHON_FOO_SETUP_TYPE, to define which Python build system is used - by the package. The two supported values are distutils and - setuptools. If you don’t know which one is used in your package, - look at the setup.py file in your package source code, and see - whether it imports things from the distutils module or the - setuptools module. -

A few additional variables, specific to the Python infrastructure, can -optionally be defined, depending on the package’s needs. Many of them -are only useful in very specific cases, typical packages will -therefore only use a few of them, or none.

  • -PYTHON_FOO_SUBDIR may contain the name of a subdirectory inside the - package that contains the main setup.py file. This is useful, - if for example, the main setup.py file is not at the root of - the tree extracted by the tarball. If HOST_PYTHON_FOO_SUBDIR is not - specified, it defaults to PYTHON_FOO_SUBDIR. -
  • -PYTHON_FOO_ENV, to specify additional environment variables to - pass to the Python setup.py script (for both the build and install - steps). Note that the infrastructure is automatically passing - several standard variables, defined in PKG_PYTHON_DISTUTILS_ENV - (for distutils target packages), HOST_PKG_PYTHON_DISTUTILS_ENV - (for distutils host packages), PKG_PYTHON_SETUPTOOLS_ENV (for - setuptools target packages) and HOST_PKG_PYTHON_SETUPTOOLS_ENV - (for setuptools host packages). -
  • -PYTHON_FOO_BUILD_OPTS, to specify additional options to pass to the - Python setup.py script during the build step. For target distutils - packages, the PKG_PYTHON_DISTUTILS_BUILD_OPTS options are already - passed automatically by the infrastructure. -
  • -PYTHON_FOO_INSTALL_TARGET_OPTS, PYTHON_FOO_INSTALL_STAGING_OPTS, - HOST_PYTHON_FOO_INSTALL_OPTS to specify additional options to pass - to the Python setup.py script during the target installation step, - the staging installation step or the host installation, - respectively. Note that the infrastructure is automatically passing - some options, defined in PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS - or PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS (for target distutils - packages), HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS (for host - distutils packages), PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS or - PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS (for target setuptools - packages) and HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS (for host - setuptools packages). -
  • -HOST_PYTHON_FOO_NEEDS_HOST_PYTHON, to define the host python - interpreter. The usage of this variable is limited to host - packages. The two supported value are python2 and python3. It - will ensure the right host python package is available and will - invoke it for the build. If some build steps are overloaded, the - right python interpreter must be explicitly called in the commands. -

With the Python infrastructure, all the steps required to build and -install the packages are already defined, and they generally work well -for most Python-based packages. However, when required, it is still -possible to customize what is done in any particular step:

  • -By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the various build steps” for details. -
  • -By overriding one of the steps. For example, even if the Python - infrastructure is used, if the package .mk file defines its own - PYTHON_FOO_BUILD_CMDS variable, it will be used instead of the - default Python one. However, using this method should be restricted - to very specific cases. Do not use it in the general case. -

18.8.3. Generating a python-package from a PyPI repository

If the Python package for which you would like to create a Buildroot -package is available on PyPI, you may want to use the scanpypi tool -located in utils/ to automate the process.

You can find the list of existing PyPI packages -here.

scanpypi requires Python’s setuptools package to be installed on -your host.

When at the root of your buildroot directory just do :

utils/scanpypi foo bar -o package

This will generate packages python-foo and python-bar in the package -folder if they exist on https://pypi.python.org.

Find the external python modules menu and insert your package inside. -Keep in mind that the items inside a menu should be in alphabetical order.

Please keep in mind that you’ll most likely have to manually check the -package for any mistakes as there are things that cannot be guessed by -the generator (e.g. dependencies on any of the python core modules -such as BR2_PACKAGE_PYTHON_ZLIB). Also, please take note that the -license and license files are guessed and must be checked. You also -need to manually add the package to the package/Config.in file.

If your Buildroot package is not in the official Buildroot tree but in -a br2-external tree, use the -o flag as follows:

utils/scanpypi foo bar -o other_package_dir

This will generate packages python-foo and python-bar in the -other_package_directory instead of package.

Option -h will list the available options:

utils/scanpypi -h

18.8.4. python-package CFFI backend

C Foreign Function Interface for Python (CFFI) provides a convenient -and reliable way to call compiled C code from Python using interface -declarations written in C. Python packages relying on this backend can -be identified by the appearance of a cffi dependency in the -install_requires field of their setup.py file.

Such a package should:

  • -add python-cffi as a runtime dependency in order to install the -compiled C library wrapper on the target. This is achieved by adding -select BR2_PACKAGE_PYTHON_CFFI to the package Config.in. -
config BR2_PACKAGE_PYTHON_FOO
-        bool "python-foo"
-        select BR2_PACKAGE_PYTHON_CFFI # runtime
  • -add host-python-cffi as a build-time dependency in order to -cross-compile the C wrapper. This is achieved by adding -host-python-cffi to the PYTHON_FOO_DEPENDENCIES variable. -
################################################################################
-#
-# python-foo
-#
-################################################################################
-
-...
-
-PYTHON_FOO_DEPENDENCIES = host-python-cffi
-
-$(eval $(python-package))

18.9. Infrastructure for LuaRocks-based packages

18.9.1. luarocks-package tutorial

First, let’s see how to write a .mk file for a LuaRocks-based package, -with an example :

01: ################################################################################
-02: #
-03: # lua-foo
-04: #
-05: ################################################################################
-06:
-07: LUA_FOO_VERSION = 1.0.2-1
-08: LUA_FOO_NAME_UPSTREAM = foo
-09: LUA_FOO_DEPENDENCIES = bar
-10:
-11: LUA_FOO_BUILD_OPTS += BAR_INCDIR=$(STAGING_DIR)/usr/include
-12: LUA_FOO_BUILD_OPTS += BAR_LIBDIR=$(STAGING_DIR)/usr/lib
-13: LUA_FOO_LICENSE = luaFoo license
-14: LUA_FOO_LICENSE_FILES = $(LUA_FOO_SUBDIR)/COPYING
-15:
-16: $(eval $(luarocks-package))

On line 7, we declare the version of the package (the same as in the rockspec, -which is the concatenation of the upstream version and the rockspec revision, -separated by a hyphen -).

On line 8, we declare that the package is called "foo" on LuaRocks. In -Buildroot, we give Lua-related packages a name that starts with "lua", so the -Buildroot name is different from the upstream name. LUA_FOO_NAME_UPSTREAM -makes the link between the two names.

On line 9, we declare our dependencies against native libraries, so that they -are built before the build process of our package starts.

On lines 11-12, we tell Buildroot to pass custom options to LuaRocks when it is -building the package.

On lines 13-14, we specify the licensing terms for the package.

Finally, on line 16, we invoke the luarocks-package -macro that generates all the Makefile rules that actually allows the -package to be built.

Most of these details can be retrieved from the rock and rockspec. -So, this file and the Config.in file can be generated by running the -command luarocks buildroot foo lua-foo in the Buildroot -directory. This command runs a specific Buildroot addon of luarocks -that will automatically generate a Buildroot package. The result must -still be manually inspected and possibly modified.

  • -The package/Config.in file has to be updated manually to include the - generated Config.in files. -

18.9.2. luarocks-package reference

LuaRocks is a deployment and management system for Lua modules, and supports -various build.type: builtin, make and cmake. In the context of -Buildroot, the luarocks-package infrastructure only supports the builtin -mode. LuaRocks packages that use the make or cmake build mechanisms -should instead be packaged using the generic-package and cmake-package -infrastructures in Buildroot, respectively.

The main macro of the LuaRocks package infrastructure is luarocks-package: -like generic-package it works by defining a number of variables providing -metadata information about the package, and then calling luarocks-package.

Just like the generic infrastructure, the LuaRocks infrastructure works -by defining a number of variables before calling the luarocks-package -macro.

First, all the package metadata information variables that exist in -the generic infrastructure also exist in the LuaRocks infrastructure: -LUA_FOO_VERSION, LUA_FOO_SOURCE, LUA_FOO_SITE, -LUA_FOO_DEPENDENCIES, LUA_FOO_LICENSE, LUA_FOO_LICENSE_FILES.

Two of them are populated by the LuaRocks infrastructure (for the -download step). If your package is not hosted on the LuaRocks mirror -$(BR2_LUAROCKS_MIRROR), you can override them:

  • -LUA_FOO_SITE, which defaults to $(BR2_LUAROCKS_MIRROR) -
  • -LUA_FOO_SOURCE, which defaults to - $(lowercase LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).src.rock -

A few additional variables, specific to the LuaRocks infrastructure, are -also defined. They can be overridden in specific cases.

  • -LUA_FOO_NAME_UPSTREAM, which defaults to lua-foo, i.e. the Buildroot - package name -
  • -LUA_FOO_ROCKSPEC, which defaults to - $(lowercase LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).rockspec -
  • -LUA_FOO_SUBDIR, which defaults to - $(LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION_WITHOUT_ROCKSPEC_REVISION) -
  • -LUA_FOO_BUILD_OPTS contains additional build options for the - luarocks build call. -

18.10. Infrastructure for Perl/CPAN packages

18.10.1. perl-package tutorial

First, let’s see how to write a .mk file for a Perl/CPAN package, -with an example :

01: ################################################################################
-02: #
-03: # perl-foo-bar
-04: #
-05: ################################################################################
-06:
-07: PERL_FOO_BAR_VERSION = 0.02
-08: PERL_FOO_BAR_SOURCE = Foo-Bar-$(PERL_FOO_BAR_VERSION).tar.gz
-09: PERL_FOO_BAR_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MO/MONGER
-10: PERL_FOO_BAR_DEPENDENCIES = perl-strictures
-11: PERL_FOO_BAR_LICENSE = Artistic or GPL-1.0+
-12: PERL_FOO_BAR_LICENSE_FILES = LICENSE
-13: PERL_FOO_BAR_DISTNAME = Foo-Bar
-14:
-15: $(eval $(perl-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball and the location -of the tarball on a CPAN server. Buildroot will automatically download -the tarball from this location.

On line 10, we declare our dependencies, so that they are built -before the build process of our package starts.

On line 11 and 12, we give licensing details about the package (its -license on line 11, and the file containing the license text on line -12).

On line 13, the name of the distribution as needed by the script -utils/scancpan (in order to regenerate/upgrade these package files).

Finally, on line 15, we invoke the perl-package macro that -generates all the Makefile rules that actually allow the package to be -built.

Most of these data can be retrieved from https://metacpan.org/. -So, this file and the Config.in can be generated by running -the script utils/scancpan Foo-Bar in the Buildroot directory -(or in a br2-external tree). -This script creates a Config.in file and foo-bar.mk file for the -requested package, and also recursively for all dependencies specified by -CPAN. You should still manually edit the result. In particular, the -following things should be checked.

  • -If the perl module links with a shared library that is provided by - another (non-perl) package, this dependency is not added automatically. - It has to be added manually to PERL_FOO_BAR_DEPENDENCIES. -
  • -The package/Config.in file has to be updated manually to include the - generated Config.in files. As a hint, the scancpan script prints out - the required source "…" statements, sorted alphabetically. -

18.10.2. perl-package reference

As a policy, packages that provide Perl/CPAN modules should all be -named perl-<something> in Buildroot.

This infrastructure handles various Perl build systems : -ExtUtils-MakeMaker (EUMM), Module-Build (MB) and Module-Build-Tiny. -Build.PL is preferred by default when a package provides a Makefile.PL -and a Build.PL.

The main macro of the Perl/CPAN package infrastructure is -perl-package. It is similar to the generic-package macro. The ability to -have target and host packages is also available, with the -host-perl-package macro.

Just like the generic infrastructure, the Perl/CPAN infrastructure -works by defining a number of variables before calling the -perl-package macro.

First, all the package metadata information variables that exist in the -generic infrastructure also exist in the Perl/CPAN infrastructure: -PERL_FOO_VERSION, PERL_FOO_SOURCE, -PERL_FOO_PATCH, PERL_FOO_SITE, -PERL_FOO_SUBDIR, PERL_FOO_DEPENDENCIES, -PERL_FOO_INSTALL_TARGET.

Note that setting PERL_FOO_INSTALL_STAGING to YES has no effect -unless a PERL_FOO_INSTALL_STAGING_CMDS variable is defined. The perl -infrastructure doesn’t define these commands since Perl modules generally -don’t need to be installed to the staging directory.

A few additional variables, specific to the Perl/CPAN infrastructure, -can also be defined. Many of them are only useful in very specific -cases, typical packages will therefore only use a few of them.

  • -PERL_FOO_PREFER_INSTALLER/HOST_PERL_FOO_PREFER_INSTALLER, - specifies the preferred installation method. Possible values are - EUMM (for Makefile.PL based installation using - ExtUtils-MakeMaker) and MB (for Build.PL based installation - using Module-Build). This variable is only used when the package - provides both installation methods. -
  • -PERL_FOO_CONF_ENV/HOST_PERL_FOO_CONF_ENV, to specify additional - environment variables to pass to the perl Makefile.PL or perl Build.PL. - By default, empty. -
  • -PERL_FOO_CONF_OPTS/HOST_PERL_FOO_CONF_OPTS, to specify additional - configure options to pass to the perl Makefile.PL or perl Build.PL. - By default, empty. -
  • -PERL_FOO_BUILD_OPTS/HOST_PERL_FOO_BUILD_OPTS, to specify additional - options to pass to make pure_all or perl Build build in the build step. - By default, empty. -
  • -PERL_FOO_INSTALL_TARGET_OPTS, to specify additional options to - pass to make pure_install or perl Build install in the install step. - By default, empty. -
  • -HOST_PERL_FOO_INSTALL_OPTS, to specify additional options to - pass to make pure_install or perl Build install in the install step. - By default, empty. -

18.11. Infrastructure for virtual packages

In Buildroot, a virtual package is a package whose functionalities are -provided by one or more packages, referred to as providers. The virtual -package management is an extensible mechanism allowing the user to choose -the provider used in the rootfs.

For example, OpenGL ES is an API for 2D and 3D graphics on embedded systems. -The implementation of this API is different for the Allwinner Tech Sunxi and -the Texas Instruments OMAP35xx platforms. So libgles will be a virtual -package and sunxi-mali and ti-gfx will be the providers.

18.11.1. virtual-package tutorial

In the following example, we will explain how to add a new virtual package -(something-virtual) and a provider for it (some-provider).

First, let’s create the virtual package.

18.11.2. Virtual package’s Config.in file

The Config.in file of virtual package something-virtual should contain:

01: config BR2_PACKAGE_HAS_SOMETHING_VIRTUAL
-02:     bool
-03:
-04: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL
-05:     depends on BR2_PACKAGE_HAS_SOMETHING_VIRTUAL
-06:     string

In this file, we declare two options, BR2_PACKAGE_HAS_SOMETHING_VIRTUAL and -BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL, whose values will be used by the -providers.

18.11.3. Virtual package’s .mk file

The .mk for the virtual package should just evaluate the virtual-package macro:

01: ################################################################################
-02: #
-03: # something-virtual
-04: #
-05: ################################################################################
-06:
-07: $(eval $(virtual-package))

The ability to have target and host packages is also available, with the -host-virtual-package macro.

18.11.4. Provider’s Config.in file

When adding a package as a provider, only the Config.in file requires some -modifications.

The Config.in file of the package some-provider, which provides the -functionalities of something-virtual, should contain:

01: config BR2_PACKAGE_SOME_PROVIDER
-02:     bool "some-provider"
-03:     select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL
-04:     help
-05:       This is a comment that explains what some-provider is.
-06:
-07:       http://foosoftware.org/some-provider/
-08:
-09: if BR2_PACKAGE_SOME_PROVIDER
-10: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL
-11:     default "some-provider"
-12: endif

On line 3, we select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL, and on line 11, we -set the value of BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL to the name of the -provider, but only if it is selected.

18.11.5. Provider’s .mk file

The .mk file should also declare an additional variable -SOME_PROVIDER_PROVIDES to contain the names of all the virtual -packages it is an implementation of:

01: SOME_PROVIDER_PROVIDES = something-virtual

Of course, do not forget to add the proper build and runtime dependencies for -this package!

18.11.6. Notes on depending on a virtual package

When adding a package that requires a certain FEATURE provided by a virtual -package, you have to use depends on BR2_PACKAGE_HAS_FEATURE, like so:

config BR2_PACKAGE_HAS_FEATURE
-    bool
-
-config BR2_PACKAGE_FOO
-    bool "foo"
-    depends on BR2_PACKAGE_HAS_FEATURE

18.11.7. Notes on depending on a specific provider

If your package really requires a specific provider, then you’ll have to -make your package depends on this provider; you can not select a -provider.

Let’s take an example with two providers for a FEATURE:

config BR2_PACKAGE_HAS_FEATURE
-    bool
-
-config BR2_PACKAGE_FOO
-    bool "foo"
-    select BR2_PACKAGE_HAS_FEATURE
-
-config BR2_PACKAGE_BAR
-    bool "bar"
-    select BR2_PACKAGE_HAS_FEATURE

And you are adding a package that needs FEATURE as provided by foo, -but not as provided by bar.

If you were to use select BR2_PACKAGE_FOO, then the user would still -be able to select BR2_PACKAGE_BAR in the menuconfig. This would create -a configuration inconsistency, whereby two providers of the same FEATURE -would be enabled at once, one explicitly set by the user, the other -implicitly by your select.

Instead, you have to use depends on BR2_PACKAGE_FOO, which avoids any -implicit configuration inconsistency.

18.12. Infrastructure for packages using kconfig for configuration files

A popular way for a software package to handle user-specified -configuration is kconfig. Among others, it is used by the Linux -kernel, Busybox, and Buildroot itself. The presence of a .config file -and a menuconfig target are two well-known symptoms of kconfig being -used.

Buildroot features an infrastructure for packages that use kconfig for -their configuration. This infrastructure provides the necessary logic to -expose the package’s menuconfig target as foo-menuconfig in -Buildroot, and to handle the copying back and forth of the configuration -file in a correct way.

The kconfig-package infrastructure is based on the generic-package -infrastructure. All variables supported by generic-package are -available in kconfig-package as well. See -Section 18.5.2, “generic-package reference” for more details.

In order to use the kconfig-package infrastructure for a Buildroot -package, the minimally required lines in the .mk file, in addition to -the variables required by the generic-package infrastructure, are:

FOO_KCONFIG_FILE = reference-to-source-configuration-file
-
-$(eval $(kconfig-package))

This snippet creates the following make targets:

  • -foo-menuconfig, which calls the package’s menuconfig target -
  • -foo-update-config, which copies the configuration back to the - source configuration file. It is not possible to use this target - when fragment files are set. -
  • -foo-update-defconfig, which copies the configuration back to the - source configuration file. The configuration file will only list the - options that differ from the default values. It is not possible to - use this target when fragment files are set. -
  • -foo-diff-config, which outputs the differences between the current - configuration and the one defined in the Buildroot configuration for - this kconfig package. The output is useful to identify the - configuration changes that may have to be propagated to - configuration fragments for example. -

and ensures that the source configuration file is copied to the build -directory at the right moment.

There are two options to specify a configuration file to use, either -FOO_KCONFIG_FILE (as in the example, above) or FOO_KCONFIG_DEFCONFIG. -It is mandatory to provide either, but not both:

  • -FOO_KCONFIG_FILE specifies the path to a defconfig or full-config file - to be used to configure the package. -
  • -FOO_KCONFIG_DEFCONFIG specifies the defconfig make rule to call to - configure the package. -

In addition to these minimally required lines, several optional variables can -be set to suit the needs of the package under consideration:

  • -FOO_KCONFIG_EDITORS: a space-separated list of kconfig editors to - support, for example menuconfig xconfig. By default, menuconfig. -
  • -FOO_KCONFIG_FRAGMENT_FILES: a space-separated list of configuration - fragment files that are merged to the main configuration file. - Fragment files are typically used when there is a desire to stay in sync - with an upstream (def)config file, with some minor modifications. -
  • -FOO_KCONFIG_OPTS: extra options to pass when calling the kconfig - editors. This may need to include $(FOO_MAKE_OPTS), for example. By - default, empty. -
  • -FOO_KCONFIG_FIXUP_CMDS: a list of shell commands needed to fixup the - configuration file after copying it or running a kconfig editor. Such - commands may be needed to ensure a configuration consistent with other - configuration of Buildroot, for example. By default, empty. -
  • -FOO_KCONFIG_DOTCONFIG: path (with filename) of the .config file, - relative to the package source tree. The default, .config, should - be well suited for all packages that use the standard kconfig - infrastructure as inherited from the Linux kernel; some packages use - a derivative of kconfig that use a different location. -
  • -FOO_KCONFIG_DEPENDENCIES: the list of packages (most probably, host - packages) that need to be built before this package’s kconfig is - interpreted. Seldom used. By default, empty. -

18.13. Infrastructure for rebar-based packages

18.13.1. rebar-package tutorial

First, let’s see how to write a .mk file for a rebar-based package, -with an example :

01: ################################################################################
-02: #
-03: # erlang-foobar
-04: #
-05: ################################################################################
-06:
-07: ERLANG_FOOBAR_VERSION = 1.0
-08: ERLANG_FOOBAR_SOURCE = erlang-foobar-$(ERLANG_FOOBAR_VERSION).tar.xz
-09: ERLANG_FOOBAR_SITE = http://www.foosoftware.org/download
-10: ERLANG_FOOBAR_DEPENDENCIES = host-libaaa libbbb
-11:
-12: $(eval $(rebar-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location.

On line 10, we declare our dependencies, so that they are built -before the build process of our package starts.

Finally, on line 12, we invoke the rebar-package macro that -generates all the Makefile rules that actually allows the package to -be built.

18.13.2. rebar-package reference

The main macro of the rebar package infrastructure is -rebar-package. It is similar to the generic-package macro. The -ability to have host packages is also available, with the -host-rebar-package macro.

Just like the generic infrastructure, the rebar infrastructure works -by defining a number of variables before calling the rebar-package -macro.

First, all the package metadata information variables that exist in -the generic infrastructure also exist in the rebar infrastructure: -ERLANG_FOOBAR_VERSION, ERLANG_FOOBAR_SOURCE, -ERLANG_FOOBAR_PATCH, ERLANG_FOOBAR_SITE, -ERLANG_FOOBAR_SUBDIR, ERLANG_FOOBAR_DEPENDENCIES, -ERLANG_FOOBAR_INSTALL_STAGING, ERLANG_FOOBAR_INSTALL_TARGET, -ERLANG_FOOBAR_LICENSE and ERLANG_FOOBAR_LICENSE_FILES.

A few additional variables, specific to the rebar infrastructure, -can also be defined. Many of them are only useful in very specific -cases, typical packages will therefore only use a few of them.

  • -ERLANG_FOOBAR_USE_AUTOCONF, to specify that the package uses - autoconf at the configuration step. When a package sets this - variable to YES, the autotools infrastructure is used. -

    Note. You can also use some of the variables from the autotools - infrastructure: ERLANG_FOOBAR_CONF_ENV, ERLANG_FOOBAR_CONF_OPTS, - ERLANG_FOOBAR_AUTORECONF, ERLANG_FOOBAR_AUTORECONF_ENV and - ERLANG_FOOBAR_AUTORECONF_OPTS.

  • -ERLANG_FOOBAR_USE_BUNDLED_REBAR, to specify that the package has - a bundled version of rebar and that it shall be used. Valid - values are YES or NO (the default). -

    Note. If the package bundles a rebar utility, but can use the generic - one that Buildroot provides, just say NO (i.e., do not specify - this variable). Only set if it is mandatory to use the rebar - utility bundled in this package.

  • -ERLANG_FOOBAR_REBAR_ENV, to specify additional environment - variables to pass to the rebar utility. -
  • -ERLANG_FOOBAR_KEEP_DEPENDENCIES, to keep the dependencies - described in the rebar.config file. Valid values are YES or NO - (the default). Unless this variable is set to YES, the rebar - infrastructure removes such dependencies in a post-patch hook to - ensure rebar does not download nor compile them. -

With the rebar infrastructure, all the steps required to build -and install the packages are already defined, and they generally work -well for most rebar-based packages. However, when required, it is -still possible to customize what is done in any particular step:

  • -By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the various build steps” for details. -
  • -By overriding one of the steps. For example, even if the rebar - infrastructure is used, if the package .mk file defines its - own ERLANG_FOOBAR_BUILD_CMDS variable, it will be used instead - of the default rebar one. However, using this method should be - restricted to very specific cases. Do not use it in the general - case. -

18.14. Infrastructure for Waf-based packages

18.14.1. waf-package tutorial

First, let’s see how to write a .mk file for a Waf-based package, with -an example :

01: ################################################################################
-02: #
-03: # libfoo
-04: #
-05: ################################################################################
-06:
-07: LIBFOO_VERSION = 1.0
-08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
-09: LIBFOO_SITE = http://www.foosoftware.org/download
-10: LIBFOO_CONF_OPTS = --enable-bar --disable-baz
-11: LIBFOO_DEPENDENCIES = bar
-12:
-13: $(eval $(waf-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location.

On line 10, we tell Buildroot what options to enable for libfoo.

On line 11, we tell Buildroot the dependencies of libfoo.

Finally, on line line 13, we invoke the waf-package -macro that generates all the Makefile rules that actually allows the -package to be built.

18.14.2. waf-package reference

The main macro of the Waf package infrastructure is waf-package. -It is similar to the generic-package macro.

Just like the generic infrastructure, the Waf infrastructure works -by defining a number of variables before calling the waf-package -macro.

First, all the package metadata information variables that exist in -the generic infrastructure also exist in the Waf infrastructure: -LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, -LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, -LIBFOO_INSTALL_TARGET.

An additional variable, specific to the Waf infrastructure, can -also be defined.

  • -LIBFOO_SUBDIR may contain the name of a subdirectory inside the - package that contains the main wscript file. This is useful, - if for example, the main wscript file is not at the root of - the tree extracted by the tarball. If HOST_LIBFOO_SUBDIR is not - specified, it defaults to LIBFOO_SUBDIR. -
  • -LIBFOO_NEEDS_EXTERNAL_WAF can be set to YES or NO to tell - Buildroot to use the bundled waf executable. If set to NO, the - default, then Buildroot will use the waf executable provided in the - package source tree; if set to YES, then Buildroot will download, - install waf as a host tool and use it to build the package. -
  • -LIBFOO_WAF_OPTS, to specify additional options to pass to the - waf script at every step of the package build process: configure, - build and installation. By default, empty. -
  • -LIBFOO_CONF_OPTS, to specify additional options to pass to the - waf script for the configuration step. By default, empty. -
  • -LIBFOO_BUILD_OPTS, to specify additional options to pass to the - waf script during the build step. By default, empty. -
  • -LIBFOO_INSTALL_STAGING_OPTS, to specify additional options to pass - to the waf script during the staging installation step. By default, - empty. -
  • -LIBFOO_INSTALL_TARGET_OPTS, to specify additional options to pass - to the waf script during the target installation step. By default, - empty. -

18.15. Infrastructure for Meson-based packages

18.15.1. meson-package tutorial

Meson is an open source build system meant to be both -extremely fast, and, even more importantly, as user friendly as possible. It -uses Ninja as a companion tool to perform the actual -build operations.

Let’s see how to write a .mk file for a Meson-based package, with an example:

01: ################################################################################
-02: #
-03: # foo
-04: #
-05: ################################################################################
-06:
-07: FOO_VERSION = 1.0
-08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz
-09: FOO_SITE = http://www.foosoftware.org/download
-10: FOO_LICENSE = GPL-3.0+
-11: FOO_LICENSE_FILES = COPYING
-12: FOO_INSTALL_STAGING = YES
-13:
-14: FOO_DEPENDENCIES = host-pkgconf bar
-15:
-16: ifeq ($(BR2_PACKAGE_BAZ),y)
-17: FOO_CONF_OPTS += -Dbaz=true
-18: FOO_DEPENDENCIES += baz
-19: else
-20: FOO_CONF_OPTS += -Dbaz=false
-21: endif
-22:
-23: $(eval $(meson-package))

The Makefile starts with the definition of the standard variables for package -declaration (lines 7 to 11).

On line line 23, we invoke the meson-package macro that generates all the -Makefile rules that actually allows the package to be built.

In the example, host-pkgconf and bar are declared as dependencies in -FOO_DEPENDENCIES at line 14 because the Meson build file of foo uses -pkg-config to determine the compilation flags and libraries of package bar.

Note that it is not necessary to add host-meson in the FOO_DEPENDENCIES -variable of a package, since this basic dependency is automatically added as -needed by the Meson package infrastructure.

If the "baz" package is selected, then support for the "baz" feature in "foo" is -activated by adding -Dbaz=true to FOO_CONF_OPTS at line 17, as specified in -the meson_options.txt file in "foo" source tree. The "baz" package is also -added to FOO_DEPENDENCIES. Note that the support for baz is explicitly -disabled at line 20, if the package is not selected.

To sum it up, to add a new meson-based package, the Makefile example can be -copied verbatim then edited to replace all occurences of FOO with the -uppercase name of the new package and update the values of the standard -variables.

18.15.2. meson-package reference

The main macro of the Meson package infrastructure is meson-package. It is -similar to the generic-package macro. The ability to have target and host -packages is also available, with the host-meson-package macro.

Just like the generic infrastructure, the Meson infrastructure works by defining -a number of variables before calling the meson-package macro.

First, all the package metadata information variables that exist in the generic -infrastructure also exist in the Meson infrastructure: FOO_VERSION, -FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_SUBDIR, FOO_DEPENDENCIES, -FOO_INSTALL_STAGING, FOO_INSTALL_TARGET.

A few additional variables, specific to the Meson infrastructure, can also be -defined. Many of them are only useful in very specific cases, typical packages -will therefore only use a few of them.

  • -FOO_SUBDIR may contain the name of a subdirectory inside the - package that contains the main meson.build file. This is useful, - if for example, the main meson.build file is not at the root of - the tree extracted by the tarball. If HOST_FOO_SUBDIR is not - specified, it defaults to FOO_SUBDIR. -
  • -FOO_CONF_ENV, to specify additional environment variables to pass to - meson for the configuration step. By default, empty. -
  • -FOO_CONF_OPTS, to specify additional options to pass to meson for the - configuration step. By default, empty. -
  • -FOO_CFLAGS, to specify compiler arguments added to the package specific - cross-compile.conf file c_args property. By default, the value of - TARGET_CFLAGS. -
  • -FOO_CXXFLAGS, to specify compiler arguments added to the package specific - cross-compile.conf file cpp_args property. By default, the value of - TARGET_CXXFLAGS. -
  • -FOO_LDFLAGS, to specify compiler arguments added to the package specific - cross-compile.conf file c_link_args and cpp_link_args properties. By - default, the value of TARGET_LDFLAGS. -
  • -FOO_MESON_EXTRA_BINARIES, to specify a space-separated list of programs - to add to the [binaries] section of the meson cross-compilation.conf - configuration file. The format is program-name='/path/to/program', with - no space around the = sign, and with the path of the program between - single quotes. By default, empty. Note that Buildroot already sets the - correct values for c, cpp, ar, strip, and pkgconfig. -
  • -FOO_MESON_EXTRA_PROPERTIES, to specify a space-separated list of - properties to add to the [properties] section of the meson - cross-compilation.conf configuration file. The format is - property-name=<value> with no space around the = sign, and with - single quotes around string values. By default, empty. Note that - Buildroot already sets values for needs_exe_wrapper, c_args, - c_link_args, cpp_args, cpp_link_args, sys_root, and - pkg_config_libdir. -
  • -FOO_NINJA_ENV, to specify additional environment variables to pass to - ninja, meson companion tool in charge of the build operations. By default, - empty. -
  • -FOO_NINJA_OPTS, to specify a space-separated list of targets to build. By - default, empty, to build the default target(s). -

18.16. Integration of Cargo-based packages

Cargo is the package manager for the Rust programming language. It allows the -user to build programs or libraries written in Rust, but it also downloads and -manages their dependencies, to ensure repeatable builds. Cargo packages are -called "crates".

18.16.1. Cargo-based package’s Config.in file

The Config.in file of Cargo-based package foo should contain:

01: config BR2_PACKAGE_FOO
-02:     bool "foo"
-03:     depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
-04:     select BR2_PACKAGE_HOST_RUSTC
-05:     help
-06:       This is a comment that explains what foo is.
-07:
-08:       http://foosoftware.org/foo/

18.16.2. Cargo-based package’s .mk file

Buildroot does not (yet) provide a dedicated package infrastructure for -Cargo-based packages. So, we will explain how to write a .mk file for such a -package. Let’s start with an example:

01: ################################################################################
-02: #
-03: # foo
-04: #
-05: ################################################################################
-06:
-07: FOO_VERSION = 1.0
-08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz
-09: FOO_SITE = http://www.foosoftware.org/download
-10: FOO_LICENSE = GPL-3.0+
-11: FOO_LICENSE_FILES = COPYING
-12:
-13: FOO_DEPENDENCIES = host-rustc
-14:
-15: FOO_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo
-16:
-17: FOO_BIN_DIR = target/$(RUSTC_TARGET_NAME)/$(FOO_CARGO_MODE)
-18:
-19: FOO_CARGO_OPTS = \
-20:     $(if $(BR2_ENABLE_DEBUG),,--release) \
-21:     --target=$(RUSTC_TARGET_NAME) \
-22:     --manifest-path=$(@D)/Cargo.toml
-23:
-24: define FOO_BUILD_CMDS
-25:     $(TARGET_MAKE_ENV) $(FOO_CARGO_ENV) \
-26:             cargo build $(FOO_CARGO_OPTS)
-27: endef
-28:
-29: define FOO_INSTALL_TARGET_CMDS
-30:     $(INSTALL) -D -m 0755 $(@D)/$(FOO_BIN_DIR)/foo \
-31:             $(TARGET_DIR)/usr/bin/foo
-32: endef
-33:
-34: $(eval $(generic-package))

The Makefile starts with the definition of the standard variables for package -declaration (lines 7 to 11).

As seen in line 34, it is based on the -generic-package infrastructure. So, it defines -the variables required by this particular infrastructure, where Cargo is -invoked:

  • -FOO_BUILD_CMDS: Cargo is invoked to perform the build. The options required - to configure the cross-compilation of the package are passed via - FOO_CONF_OPTS. -
  • -FOO_INSTALL_TARGET_CMDS: The binary executable generated is installed on - the target. -

In order to have Cargo available for the build, FOO_DEPENDENCIES needs to -contain host-cargo.

To sum it up, to add a new Cargo-based package, the Makefile example can be -copied verbatim then edited to replace all occurences of FOO with the -uppercase name of the new package and update the values of the standard -variables.

18.16.3. About Dependencies Management

A crate can depend on other libraries from crates.io or git repositories, listed -in its Cargo.toml file. Before starting a build, Cargo usually downloads -automatically them. This step can also be performed independently, via the -cargo fetch command.

Cargo maintains a local cache of the registry index and of git checkouts of the -crates, whose location is given by $CARGO_HOME. As seen in the package -Makefile example at line 15, this environment variable is set to -$(HOST_DIR)/share/cargo.

This dependency download mechanism is not convenient when performing an offline -build, as Cargo will fail to fetch the dependencies. In that case, it is advised -to generate a tarball of the dependencies using the cargo vendor and add it to -FOO_EXTRA_DOWNLOADS.

18.17. Infrastructure for Go packages

This infrastructure applies to Go packages that use the standard -build system and use bundled dependencies.

18.17.1. golang-package tutorial

First, let’s see how to write a .mk file for a go package, -with an example :

01: ################################################################################
-02: #
-03: # foo
-04: #
-05: ################################################################################
-06:
-07: FOO_VERSION = 1.0
-08: FOO_SITE = $(call github,bar,foo,$(FOO_VERSION))
-09: FOO_LICENSE = BSD-3-Clause
-10: FOO_LICENSE_FILES = LICENSE
-11:
-12: $(eval $(golang-package))

On line 7, we declare the version of the package.

On line 8, we declare the upstream location of the package, here -fetched from Github, since a large number of Go packages are hosted on -Github.

On line 9 and 10, we give licensing details about the package.

Finally, on line 12, we invoke the golang-package macro that -generates all the Makefile rules that actually allow the package to be -built.

18.17.2. golang-package reference

In their Config.in file, packages using the golang-package -infrastructure should depend on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS -because Buildroot will automatically add a dependency on host-go -to such packages. -If you need CGO support in your package, you must add a dependency on -BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS.

The main macro of the Go package infrastructure is -golang-package. It is similar to the generic-package macro. The -ability to build host packages is also available, with the -host-golang-package macro. -Host packages built by host-golang-package macro should depend on -BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS.

Just like the generic infrastructure, the Go infrastructure works -by defining a number of variables before calling the golang-package.

All the package metadata information variables that exist in the -generic package infrastructure also -exist in the Go infrastructure: FOO_VERSION, FOO_SOURCE, -FOO_PATCH, FOO_SITE, FOO_SUBDIR, FOO_DEPENDENCIES, -FOO_LICENSE, FOO_LICENSE_FILES, FOO_INSTALL_STAGING, etc.

Note that it is not necessary to add host-go in the -FOO_DEPENDENCIES variable of a package, since this basic dependency -is automatically added as needed by the Go package infrastructure.

A few additional variables, specific to the Go infrastructure, can -optionally be defined, depending on the package’s needs. Many of them -are only useful in very specific cases, typical packages will -therefore only use a few of them, or none.

  • -The package must specify its Go module name in the FOO_GOMOD - variable. If not specified, it defaults to - URL-domain/1st-part-of-URL/2nd-part-of-URL, e.g FOO_GOMOD will - take the value github.com/bar/foo for a package that specifies - FOO_SITE = $(call github,bar,foo,$(FOO_VERSION)). The Go package - infrastructure will automatically generate a minimal go.mod file - in the package source tree if it doesn’t exist. -
  • -FOO_LDFLAGS and FOO_TAGS can be used to pass respectively the - LDFLAGS or the TAGS to the go build command. -
  • -FOO_BUILD_TARGETS can be used to pass the list of targets that - should be built. If FOO_BUILD_TARGETS is not specified, it - defaults to .. We then have two cases: -

    • -FOO_BUILD_TARGETS is .. In this case, we assume only one binary - will be produced, and that by default we name it after the package - name. If that is not appropriate, the name of the produced binary - can be overridden using FOO_BIN_NAME. -
    • -FOO_BUILD_TARGETS is not .. In this case, we iterate over the - values to build each target, and for each produced a binary that is - the non-directory component of the target. For example if - FOO_BUILD_TARGETS = cmd/docker cmd/dockerd the binaries produced - are docker and dockerd. -
  • -FOO_INSTALL_BINS can be used to pass the list of binaries that - should be installed in /usr/bin on the target. If - FOO_INSTALL_BINS is not specified, it defaults to the lower-case - name of package. -

With the Go infrastructure, all the steps required to build and -install the packages are already defined, and they generally work well -for most Go-based packages. However, when required, it is still -possible to customize what is done in any particular step:

  • -By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the various build steps” for details. -
  • -By overriding one of the steps. For example, even if the Go - infrastructure is used, if the package .mk file defines its own - FOO_BUILD_CMDS variable, it will be used instead of the default Go - one. However, using this method should be restricted to very - specific cases. Do not use it in the general case. -

18.18. Infrastructure for QMake-based packages

18.18.1. qmake-package tutorial

First, let’s see how to write a .mk file for a QMake-based package, with -an example :

01: ################################################################################
-02: #
-03: # libfoo
-04: #
-05: ################################################################################
-06:
-07: LIBFOO_VERSION = 1.0
-08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
-09: LIBFOO_SITE = http://www.foosoftware.org/download
-10: LIBFOO_CONF_OPTS = QT_CONFIG+=bar QT_CONFIG-=baz
-11: LIBFOO_DEPENDENCIES = bar
-12:
-13: $(eval $(qmake-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location.

On line 10, we tell Buildroot what options to enable for libfoo.

On line 11, we tell Buildroot the dependencies of libfoo.

Finally, on line line 13, we invoke the qmake-package -macro that generates all the Makefile rules that actually allows the -package to be built.

18.18.2. qmake-package reference

The main macro of the QMake package infrastructure is qmake-package. -It is similar to the generic-package macro.

Just like the generic infrastructure, the QMake infrastructure works -by defining a number of variables before calling the qmake-package -macro.

First, all the package metadata information variables that exist in -the generic infrastructure also exist in the QMake infrastructure: -LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, -LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, -LIBFOO_INSTALL_TARGET.

An additional variable, specific to the QMake infrastructure, can -also be defined.

  • -LIBFOO_CONF_ENV, to specify additional environment variables to - pass to the qmake script for the configuration step. By default, empty. -
  • -LIBFOO_CONF_OPTS, to specify additional options to pass to the - qmake script for the configuration step. By default, empty. -
  • -LIBFOO_MAKE_ENV, to specify additional environment variables to the - make command during the build and install steps. By default, empty. -
  • -LIBFOO_MAKE_OPTS, to specify additional targets to pass to the - make command during the build step. By default, empty. -
  • -LIBFOO_INSTALL_STAGING_OPTS, to specify additional targets to pass - to the make command during the staging installation step. By default, - install. -
  • -LIBFOO_INSTALL_TARGET_OPTS, to specify additional targets to pass - to the make command during the target installation step. By default, - install. -
  • -LIBFOO_SYNC_HEADERS, to run syncqt.pl before qmake. Some packages - need this to have a properly populated include directory before - running the build. -

18.19. Infrastructure for packages building kernel modules

Buildroot offers a helper infrastructure to make it easy to write packages that -build and install Linux kernel modules. Some packages only contain a kernel -module, other packages contain programs and libraries in addition to kernel -modules. Buildroot’s helper infrastructure supports either case.

18.19.1. kernel-module tutorial

Let’s start with an example on how to prepare a simple package that only -builds a kernel module, and no other component:

01: ################################################################################
-02: #
-03: # foo
-04: #
-05: ################################################################################
-06:
-07: FOO_VERSION = 1.2.3
-08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz
-09: FOO_SITE = http://www.foosoftware.org/download
-10: FOO_LICENSE = GPL-2.0
-11: FOO_LICENSE_FILES = COPYING
-12:
-13: $(eval $(kernel-module))
-14: $(eval $(generic-package))

Lines 7-11 define the usual meta-data to specify the version, archive name, -remote URI where to find the package source, licensing information.

On line 13, we invoke the kernel-module helper infrastructure, that -generates all the appropriate Makefile rules and variables to build -that kernel module.

Finally, on line 14, we invoke the -generic-package infrastructure.

The dependency on linux is automatically added, so it is not needed to -specify it in FOO_DEPENDENCIES.

What you may have noticed is that, unlike other package infrastructures, -we explicitly invoke a second infrastructure. This allows a package to -build a kernel module, but also, if needed, use any one of other package -infrastructures to build normal userland components (libraries, -executables…). Using the kernel-module infrastructure on its own is -not sufficient; another package infrastructure must be used.

Let’s look at a more complex example:

01: ################################################################################
-02: #
-03: # foo
-04: #
-05: ################################################################################
-06:
-07: FOO_VERSION = 1.2.3
-08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz
-09: FOO_SITE = http://www.foosoftware.org/download
-10: FOO_LICENSE = GPL-2.0
-11: FOO_LICENSE_FILES = COPYING
-12:
-13: FOO_MODULE_SUBDIRS = driver/base
-14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED)
-15:
-16: ifeq ($(BR2_PACKAGE_LIBBAR),y)
-17: FOO_DEPENDENCIES = libbar
-18: FOO_CONF_OPTS = --enable-bar
-19: FOO_MODULE_SUBDIRS += driver/bar
-20: else
-21: FOO_CONF_OPTS = --disable-bar
-22: endif
-23:
-24: $(eval $(kernel-module))
-26: $(eval $(autotools-package))

Here, we see that we have an autotools-based package, that also builds -the kernel module located in sub-directory driver/base and, if libbar -is enabled, the kernel module located in sub-directory driver/bar, and -defines the variable KVERSION to be passed to the Linux buildsystem -when building the module(s).

18.19.2. kernel-module reference

The main macro for the kernel module infrastructure is kernel-module. -Unlike other package infrastructures, it is not stand-alone, and requires -any of the other *-package macros be called after it.

The kernel-module macro defines post-build and post-target-install -hooks to build the kernel modules. If the package’s .mk needs access -to the built kernel modules, it should do so in a post-build hook, -registered after the call to kernel-module. Similarly, if the -package’s .mk needs access to the kernel module after it has been -installed, it should do so in a post-install hook, registered after -the call to kernel-module. Here’s an example:

$(eval $(kernel-module))
-
-define FOO_DO_STUFF_WITH_KERNEL_MODULE
-    # Do something with it...
-endef
-FOO_POST_BUILD_HOOKS += FOO_DO_STUFF_WITH_KERNEL_MODULE
-
-$(eval $(generic-package))

Finally, unlike the other package infrastructures, there is no -host-kernel-module variant to build a host kernel module.

The following additional variables can optionally be defined to further -configure the build of the kernel module:

  • -FOO_MODULE_SUBDIRS may be set to one or more sub-directories (relative - to the package source top-directory) where the kernel module sources are. - If empty or not set, the sources for the kernel module(s) are considered - to be located at the top of the package source tree. -
  • -FOO_MODULE_MAKE_OPTS may be set to contain extra variable definitions - to pass to the Linux buildsystem. -

You may also reference (but you may not set!) those variables:

  • -LINUX_DIR contains the path to where the Linux kernel has been - extracted and built. -
  • -LINUX_VERSION contains the version string as configured by the user. -
  • -LINUX_VERSION_PROBED contains the real version string of the kernel, - retrieved with running make -C $(LINUX_DIR) kernelrelease -
  • -KERNEL_ARCH contains the name of the current architecture, like arm, - mips… -

18.20. Infrastructure for asciidoc documents

The Buildroot manual, which you are currently reading, is entirely written -using the AsciiDoc mark-up syntax. The manual is then -rendered to many formats:

  • -html -
  • -split-html -
  • -pdf -
  • -epub -
  • -text -

Although Buildroot only contains one document written in AsciiDoc, there -is, as for packages, an infrastructure for rendering documents using the -AsciiDoc syntax.

Also as for packages, the AsciiDoc infrastructure is available from a -br2-external tree. This allows documentation for -a br2-external tree to match the Buildroot documentation, as it will be -rendered to the same formats and use the same layout and theme.

18.20.1. asciidoc-document tutorial

Whereas package infrastructures are suffixed with -package, the document -infrastructures are suffixed with -document. So, the AsciiDoc infrastructure -is named asciidoc-document.

Here is an example to render a simple AsciiDoc document.

01: ################################################################################
-02: #
-03: # foo-document
-04: #
-05: ################################################################################
-06:
-07: FOO_SOURCES = $(sort $(wildcard $(pkgdir)/*))
-08: $(eval $(call asciidoc-document))

On line 7, the Makefile declares what the sources of the document are. -Currently, it is expected that the document’s sources are only local; -Buildroot will not attempt to download anything to render a document. -Thus, you must indicate where the sources are. Usually, the string -above is sufficient for a document with no sub-directory structure.

On line 8, we call the asciidoc-document function, which generates all -the Makefile code necessary to render the document.

18.20.2. asciidoc-document reference

The list of variables that can be set in a .mk file to give metadata -information is (assuming the document name is foo) :

  • -FOO_SOURCES, mandatory, defines the source files for the document. -
  • -FOO_RESOURCES, optional, may contain a space-separated list of paths - to one or more directories containing so-called resources (like CSS or - images). By default, empty. -
  • -FOO_DEPENDENCIES, optional, the list of packages (most probably, - host-packages) that must be built before building this document. -

There are also additional hooks (see Section 18.22, “Hooks available in the various build steps” for general information -on hooks), that a document may set to define extra actions to be done at -various steps:

  • -FOO_POST_RSYNC_HOOKS to run additional commands after the sources - have been copied by Buildroot. This can for example be used to - generate part of the manual with information extracted from the - tree. As an example, Buildroot uses this hook to generate the tables - in the appendices. -
  • -FOO_CHECK_DEPENDENCIES_HOOKS to run additional tests on required - components to generate the document. In AsciiDoc, it is possible to - call filters, that is, programs that will parse an AsciiDoc block and - render it appropriately (e.g. ditaa or - aafigure). -
  • -FOO_CHECK_DEPENDENCIES_<FMT>_HOOKS, to run additional tests for - the specified format <FMT> (see the list of rendered formats, above). -

Here is a complete example that uses all variables and all hooks:

01: ################################################################################
-02: #
-03: # foo-document
-04: #
-05: ################################################################################
-06:
-07: FOO_SOURCES = $(sort $(wildcard $(pkgdir)/*))
-08: FOO_RESOURCES = $(sort $(wildcard $(pkgdir)/ressources))
-09:
-10: define FOO_GEN_EXTRA_DOC
-11:     /path/to/generate-script --outdir=$(@D)
-12: endef
-13: FOO_POST_RSYNC_HOOKS += FOO_GEN_EXTRA_DOC
-14:
-15: define FOO_CHECK_MY_PROG
-16:     if ! which my-prog >/dev/null 2>&1; then \
-17:         echo "You need my-prog to generate the foo document"; \
-18:         exit 1; \
-19:     fi
-20: endef
-21: FOO_CHECK_DEPENDENCIES_HOOKS += FOO_CHECK_MY_PROG
-22:
-23: define FOO_CHECK_MY_OTHER_PROG
-24:     if ! which my-other-prog >/dev/null 2>&1; then \
-25:         echo "You need my-other-prog to generate the foo document as PDF"; \
-26:         exit 1; \
-27:     fi
-28: endef
-29: FOO_CHECK_DEPENDENCIES_PDF_HOOKS += FOO_CHECK_MY_OTHER_PROG
-30:
-31: $(eval $(call asciidoc-document))

18.21. Infrastructure specific to the Linux kernel package

The Linux kernel package can use some specific infrastructures based on package -hooks for building Linux kernel tools or/and building Linux kernel extensions.

18.21.1. linux-kernel-tools

Buildroot offers a helper infrastructure to build some userspace tools -for the target available within the Linux kernel sources. Since their -source code is part of the kernel source code, a special package, -linux-tools, exists and re-uses the sources of the Linux kernel that -runs on the target.

Let’s look at an example of a Linux tool. For a new Linux tool named -foo, create a new menu entry in the existing -package/linux-tools/Config.in. This file will contain the option -descriptions related to each kernel tool that will be used and -displayed in the configuration tool. It would basically look like:

01: config BR2_PACKAGE_LINUX_TOOLS_FOO
-02:     bool "foo"
-03:     select BR2_PACKAGE_LINUX_TOOLS
-04:     help
-05:       This is a comment that explains what foo kernel tool is.
-06:
-07:       http://foosoftware.org/foo/

The name of the option starts with the prefix BR2_PACKAGE_LINUX_TOOLS_, -followed by the uppercase name of the tool (like is done for packages).

Note. Unlike other packages, the linux-tools package options appear in the -linux kernel menu, under the Linux Kernel Tools sub-menu, not under -the Target packages main menu.

Then for each linux tool, add a new .mk.in file named -package/linux-tools/linux-tool-foo.mk.in. It would basically look like:

01: ################################################################################
-02: #
-03: # foo
-04: #
-05: ################################################################################
-06:
-07: LINUX_TOOLS += foo
-08:
-09: FOO_DEPENDENCIES = libbbb
-10:
-11: define FOO_BUILD_CMDS
-12:     $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools foo
-13: endef
-14:
-15: define FOO_INSTALL_STAGING_CMDS
-16:     $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools \
-17:             DESTDIR=$(STAGING_DIR) \
-18:             foo_install
-19: endef
-20:
-21: define FOO_INSTALL_TARGET_CMDS
-22:     $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools \
-23:             DESTDIR=$(TARGET_DIR) \
-24:             foo_install
-25: endef

On line 7, we register the Linux tool foo to the list of available -Linux tools.

On line 9, we specify the list of dependencies this tool relies on. These -dependencies are added to the Linux package dependencies list only when the -foo tool is selected.

The rest of the Makefile, lines 11-25 defines what should be done at the -different steps of the Linux tool build process like for a -generic package. They will actually be -used only when the foo tool is selected. The only supported commands are -_BUILD_CMDS, _INSTALL_STAGING_CMDS and _INSTALL_TARGET_CMDS.

Note. One must not call $(eval $(generic-package)) or any other -package infrastructure! Linux tools are not packages by themselves, -they are part of the linux-tools package.

18.21.2. linux-kernel-extensions

Some packages provide new features that require the Linux kernel tree -to be modified. This can be in the form of patches to be applied on -the kernel tree, or in the form of new files to be added to the -tree. The Buildroot’s Linux kernel extensions infrastructure provides -a simple solution to automatically do this, just after the kernel -sources are extracted and before the kernel patches are -applied. Examples of extensions packaged using this mechanism are the -real-time extensions Xenomai and RTAI, as well as the set of -out-of-tree LCD screens drivers fbtft.

Let’s look at an example on how to add a new Linux extension foo.

First, create the package foo that provides the extension: this -package is a standard package; see the previous chapters on how to -create such a package. This package is in charge of downloading the -sources archive, checking the hash, defining the licence informations -and building user space tools if any.

Then create the Linux extension proper: create a new menu entry in -the existing linux/Config.ext.in. This file contains the option -descriptions related to each kernel extension that will be used and -displayed in the configuration tool. It would basically look like:

01: config BR2_LINUX_KERNEL_EXT_FOO
-02:     bool "foo"
-03:     help
-04:       This is a comment that explains what foo kernel extension is.
-05:
-06:       http://foosoftware.org/foo/

Then for each linux extension, add a new .mk file named -linux/linux-ext-foo.mk. It should basically contain:

01: ################################################################################
-02: #
-03: # foo
-04: #
-05: ################################################################################
-06:
-07: LINUX_EXTENSIONS += foo
-08:
-09: define FOO_PREPARE_KERNEL
-10:     $(FOO_DIR)/prepare-kernel-tree.sh --linux-dir=$(@D)
-11: endef

On line 7, we add the Linux extension foo to the list of available -Linux extensions.

On line 9-11, we define what should be done by the extension to modify -the Linux kernel tree; this is specific to the linux extension and can -use the variables defined by the foo package, like: $(FOO_DIR) or -$(FOO_VERSION)… as well as all the Linux variables, like: -$(LINUX_VERSION) or $(LINUX_VERSION_PROBED), $(KERNEL_ARCH)… -See the definition of those kernel variables.

18.22. Hooks available in the various build steps

The generic infrastructure (and as a result also the derived autotools -and cmake infrastructures) allow packages to specify hooks. -These define further actions to perform after existing steps. -Most hooks aren’t really useful for generic packages, since the .mk -file already has full control over the actions performed in each step -of the package construction.

The following hook points are available:

  • -LIBFOO_PRE_DOWNLOAD_HOOKS -
  • -LIBFOO_POST_DOWNLOAD_HOOKS -
  • -LIBFOO_PRE_EXTRACT_HOOKS -
  • -LIBFOO_POST_EXTRACT_HOOKS -
  • -LIBFOO_PRE_RSYNC_HOOKS -
  • -LIBFOO_POST_RSYNC_HOOKS -
  • -LIBFOO_PRE_PATCH_HOOKS -
  • -LIBFOO_POST_PATCH_HOOKS -
  • -LIBFOO_PRE_CONFIGURE_HOOKS -
  • -LIBFOO_POST_CONFIGURE_HOOKS -
  • -LIBFOO_PRE_BUILD_HOOKS -
  • -LIBFOO_POST_BUILD_HOOKS -
  • -LIBFOO_PRE_INSTALL_HOOKS (for host packages only) -
  • -LIBFOO_POST_INSTALL_HOOKS (for host packages only) -
  • -LIBFOO_PRE_INSTALL_STAGING_HOOKS (for target packages only) -
  • -LIBFOO_POST_INSTALL_STAGING_HOOKS (for target packages only) -
  • -LIBFOO_PRE_INSTALL_TARGET_HOOKS (for target packages only) -
  • -LIBFOO_POST_INSTALL_TARGET_HOOKS (for target packages only) -
  • -LIBFOO_PRE_INSTALL_IMAGES_HOOKS -
  • -LIBFOO_POST_INSTALL_IMAGES_HOOKS -
  • -LIBFOO_PRE_LEGAL_INFO_HOOKS -
  • -LIBFOO_POST_LEGAL_INFO_HOOKS -

These variables are lists of variable names containing actions to be -performed at this hook point. This allows several hooks to be -registered at a given hook point. Here is an example:

define LIBFOO_POST_PATCH_FIXUP
-        action1
-        action2
-endef
-
-LIBFOO_POST_PATCH_HOOKS += LIBFOO_POST_PATCH_FIXUP

18.22.1. Using the POST_RSYNC hook

The POST_RSYNC hook is run only for packages that use a local source, -either through the local site method or the OVERRIDE_SRCDIR -mechanism. In this case, package sources are copied using rsync from -the local location into the buildroot build directory. The rsync -command does not copy all files from the source directory, though. -Files belonging to a version control system, like the directories -.git, .hg, etc. are not copied. For most packages this is -sufficient, but a given package can perform additional actions using -the POST_RSYNC hook.

In principle, the hook can contain any command you want. One specific -use case, though, is the intentional copying of the version control -directory using rsync. The rsync command you use in the hook can, among -others, use the following variables:

  • -$(SRCDIR): the path to the overridden source directory -
  • -$(@D): the path to the build directory -

18.22.2. Target-finalize hook

Packages may also register hooks in LIBFOO_TARGET_FINALIZE_HOOKS. -These hooks are run after all packages are built, but before the -filesystem images are generated. They are seldom used, and your -package probably do not need them.

18.23. Gettext integration and interaction with packages

Many packages that support internationalization use the gettext -library. Dependencies for this library are fairly complicated and -therefore, deserve some explanation.

The glibc C library integrates a full-blown implementation of -gettext, supporting translation. Native Language Support is -therefore built-in in glibc.

On the other hand, the uClibc and musl C libraries only provide a -stub implementation of the gettext functionality, which allows to -compile libraries and programs using gettext functions, but without -providing the translation capabilities of a full-blown gettext -implementation. With such C libraries, if real Native Language Support -is necessary, it can be provided by the libintl library of the -gettext package.

Due to this, and in order to make sure that Native Language Support is -properly handled, packages in Buildroot that can use NLS support -should:

  1. -Ensure NLS support is enabled when BR2_SYSTEM_ENABLE_NLS=y. This - is done automatically for autotools packages and therefore should - only be done for packages using other package infrastructures. -
  2. -Add $(TARGET_NLS_DEPENDENCIES) to the package - <pkg>_DEPENDENCIES variable. This addition should be done - unconditionally: the value of this variable is automatically - adjusted by the core infrastructure to contain the relevant list of - packages. If NLS support is disabled, this variable is empty. If - NLS support is enabled, this variable contains host-gettext so - that tools needed to compile translation files are available on the - host. In addition, if uClibc or musl are used, this variable - also contains gettext in order to get the full-blown gettext - implementation. -
  3. -If needed, add $(TARGET_NLS_LIBS) to the linker flags, so that - the package gets linked with libintl. This is generally not - needed with autotools packages as they usually detect - automatically that they should link with libintl. However, - packages using other build systems, or problematic autotools-based - packages may need this. $(TARGET_NLS_LIBS) should be added - unconditionally to the linker flags, as the core automatically - makes it empty or defined to -lintl depending on the - configuration. -

No changes should be made to the Config.in file to support NLS.

Finally, certain packages need some gettext utilities on the target, -such as the gettext program itself, which allows to retrieve -translated strings, from the command line. In such a case, the package -should:

  • -use select BR2_PACKAGE_GETTEXT in their Config.in file, - indicating in a comment above that it’s a runtime dependency only. -
  • -not add any gettext dependency in the DEPENDENCIES variable of - their .mk file. -

18.24. Tips and tricks

18.24.1. Package name, config entry name and makefile variable relationship

In Buildroot, there is some relationship between:

  • -the package name, which is the package directory name (and the - name of the *.mk file); -
  • -the config entry name that is declared in the Config.in file; -
  • -the makefile variable prefix. -

It is mandatory to maintain consistency between these elements, -using the following rules:

  • -the package directory and the *.mk name are the package name - itself (e.g.: package/foo-bar_boo/foo-bar_boo.mk); -
  • -the make target name is the package name itself (e.g.: - foo-bar_boo); -
  • -the config entry is the upper case package name with . and - - characters substituted with _, prefixed with BR2_PACKAGE_ (e.g.: - BR2_PACKAGE_FOO_BAR_BOO); -
  • -the *.mk file variable prefix is the upper case package name - with . and - characters substituted with _ (e.g.: - FOO_BAR_BOO_VERSION). -

18.24.2. How to check the coding style

Buildroot provides a script in utils/check-package that checks new or -changed files for coding style. It is not a complete language validator, -but it catches many common mistakes. It is meant to run in the actual -files you created or modified, before creating the patch for submission.

This script can be used for packages, filesystem makefiles, Config.in -files, etc. It does not check the files defining the package -infrastructures and some other files containing similar common code.

To use it, run the check-package script, by telling which files you -created or changed:

$ ./utils/check-package package/new-package/*

If you have the utils directory in your path you can also run:

$ cd package/new-package/
-$ check-package *

The tool can also be used for packages in a br2-external:

$ check-package -b /path/to/br2-ext-tree/package/my-package/*

18.24.3. How to test your package

Once you have added your new package, it is important that you test it -under various conditions: does it build for all architectures? Does it -build with the different C libraries? Does it need threads, NPTL? And -so on…

Buildroot runs autobuilders which -continuously test random configurations. However, these only build the -master branch of the git tree, and your new fancy package is not yet -there.

Buildroot provides a script in utils/test-pkg that uses the same base -configurations as used by the autobuilders so you can test your package -in the same conditions.

First, create a config snippet that contains all the necessary options -needed to enable your package, but without any architecture or toolchain -option. For example, let’s create a config snippet that just enables -libcurl, without any TLS backend:

$ cat libcurl.config
-BR2_PACKAGE_LIBCURL=y

If your package needs more configuration options, you can add them to the -config snippet. For example, here’s how you would test libcurl with -openssl as a TLS backend and the curl program:

$ cat libcurl.config
-BR2_PACKAGE_LIBCURL=y
-BR2_PACKAGE_LIBCURL_CURL=y
-BR2_PACKAGE_OPENSSL=y

Then run the test-pkg script, by telling it what config snippet to use -and what package to test:

$ ./utils/test-pkg -c libcurl.config -p libcurl

By default, test-pkg will build your package against a subset of the -toolchains used by the autobuilders, which has been selected by the -Buildroot developers as being the most useful and representative -subset. If you want to test all toolchains, pass the -a option. Note -that in any case, internal toolchains are excluded as they take too -long to build.

The output lists all toolchains that are tested and the corresponding -result (excerpt, results are fake):

$ ./utils/test-pkg -c libcurl.config -p libcurl
-                armv5-ctng-linux-gnueabi [ 1/11]: OK
-              armv7-ctng-linux-gnueabihf [ 2/11]: OK
-                        br-aarch64-glibc [ 3/11]: SKIPPED
-                           br-arcle-hs38 [ 4/11]: SKIPPED
-                            br-arm-basic [ 5/11]: FAILED
-                  br-arm-cortex-a9-glibc [ 6/11]: OK
-                   br-arm-cortex-a9-musl [ 7/11]: FAILED
-                   br-arm-cortex-m4-full [ 8/11]: OK
-                             br-arm-full [ 9/11]: OK
-                    br-arm-full-nothread [10/11]: FAILED
-                      br-arm-full-static [11/11]: OK
-11 builds, 2 skipped, 2 build failed, 1 legal-info failed

The results mean:

  • -OK: the build was successful. -
  • -SKIPPED: one or more configuration options listed in the config - snippet were not present in the final configuration. This is due to - options having dependencies not satisfied by the toolchain, such as - for example a package that depends on BR2_USE_MMU with a noMMU - toolchain. The missing options are reported in missing.config in - the output build directory (~/br-test-pkg/TOOLCHAIN_NAME/ by - default). -
  • -FAILED: the build failed. Inspect the logfile file in the output - build directory to see what went wrong: -

    • -the actual build failed, -
    • -the legal-info failed, -
    • -one of the preliminary steps (downloading the config file, applying - the configuration, running dirclean for the package) failed. -

When there are failures, you can just re-run the script with the same -options (after you fixed your package); the script will attempt to -re-build the package specified with -p for all toolchains, without -the need to re-build all the dependencies of that package.

The test-pkg script accepts a few options, for which you can get some -help by running:

$ ./utils/test-pkg -h

18.24.4. How to add a package from GitHub

Packages on GitHub often don’t have a download area with release tarballs. -However, it is possible to download tarballs directly from the repository -on GitHub. As GitHub is known to have changed download mechanisms in the -past, the github helper function should be used as shown below.

# Use a tag or a full commit ID
-FOO_VERSION = 1.0
-FOO_SITE = $(call github,<user>,<package>,v$(FOO_VERSION))

Notes

  • -The FOO_VERSION can either be a tag or a commit ID. -
  • -The tarball name generated by github matches the default one from - Buildroot (e.g.: foo-f6fb6654af62045239caed5950bc6c7971965e60.tar.gz), - so it is not necessary to specify it in the .mk file. -
  • -When using a commit ID as version, you should use the full 40 hex characters. -
  • -When the tag contains a prefix such as v in v1.0, then the - VERSION variable should contain just 1.0, and the v should be - added directly in the SITE variable, as illustrated above. This - ensures that the VERSION variable value can be used to match - against release-monitoring.org - results. -

If the package you wish to add does have a release section on GitHub, the -maintainer may have uploaded a release tarball, or the release may just point -to the automatically generated tarball from the git tag. If there is a -release tarball uploaded by the maintainer, we prefer to use that since it -may be slightly different (e.g. it contains a configure script so we don’t -need to do AUTORECONF).

You can see on the release page if it’s an uploaded tarball or a git tag:

github_hash_mongrel2.png
  • -If it looks like the image above then it was uploaded by the - maintainer and you should use that link (in that example: - mongrel2-v1.9.2.tar.bz2) to specify FOO_SITE, and not use the - github helper. -
  • -On the other hand, if there’s is only the "Source code" link, then - it’s an automatically generated tarball and you should use the - github helper function. -

18.24.5. How to add a package from Gitlab

In a similar way to the github macro described in -Section 18.24.4, “How to add a package from GitHub”, Buildroot also provides the gitlab macro -to download from Gitlab repositories. It can be used to download -auto-generated tarballs produced by Gitlab, either for specific tags -or commits:

# Use a tag or a full commit ID
-FOO_VERSION = 1.0
-FOO_SITE = $(call gitlab,<user>,<package>,v$(FOO_VERSION))

By default, it will use a .tar.gz tarball, but Gitlab also provides -.tar.bz2 tarballs, so by adding a <pkg>_SOURCE variable, this -.tar.bz2 tarball can be used:

# Use a tag or a full commit ID
-FOO_VERSION = 1.0
-FOO_SITE = $(call gitlab,<user>,<package>,v$(FOO_VERSION))
-FOO_SOURCE = foo-$(FOO_VERSION).tar.bz2

If there is a specific tarball uploaded by the upstream developers in -https://gitlab.com/<project>/releases/, do not use this macro, but -rather use directly the link to the tarball.

18.25. Conclusion

As you can see, adding a software package to Buildroot is simply a -matter of writing a Makefile using an existing example and modifying it -according to the compilation process required by the package.

If you package software that might be useful for other people, don’t -forget to send a patch to the Buildroot mailing list (see -Section 22.5, “Submitting patches”)!

Chapter 19. Patching a package

While integrating a new package or updating an existing one, it may be -necessary to patch the source of the software to get it cross-built within -Buildroot.

Buildroot offers an infrastructure to automatically handle this during -the builds. It supports three ways of applying patch sets: downloaded patches, -patches supplied within buildroot and patches located in a user-defined -global patch directory.

19.1. Providing patches

19.1.1. Downloaded

If it is necessary to apply a patch that is available for download, then add it -to the <packagename>_PATCH variable. If an entry contains ://, -then Buildroot will assume it is a full URL and download the patch -from this location. Otherwise, Buildroot will assume that the patch should be -downloaded from <packagename>_SITE. It can be a single patch, -or a tarball containing a patch series.

Like for all downloads, a hash should be added to the <packagename>.hash -file.

This method is typically used for packages from Debian.

19.1.2. Within Buildroot

Most patches are provided within Buildroot, in the package -directory; these typically aim to fix cross-compilation, libc support, -or other such issues.

These patch files should be named <number>-<description>.patch.

Notes

  • -The patch files coming with Buildroot should not contain any package version - reference in their filename. -
  • -The field <number> in the patch file name refers to the apply order, - and shall start at 1; It is preferred to pad the number with zeros up to 4 - digits, like git-format-patch does. E.g.: 0001-foobar-the-buz.patch -
  • -Previously, it was mandatory for patches to be prefixed with the name of - the package, like <package>-<number>-<description>.patch, but that is - no longer the case. Existing packages will be fixed as time passes. Do - not prefix patches with the package name. -
  • -Previously, a series file, as used by quilt, could also be added in - the package directory. In that case, the series file defines the patch - application order. This is deprecated, and will be removed in the future. - Do not use a series file. -

19.1.3. Global patch directory

The BR2_GLOBAL_PATCH_DIR configuration file option can be -used to specify a space separated list of one or more directories -containing global package patches. See Section 9.8, “Adding project-specific patches” for -details.

19.2. How patches are applied

  1. -Run the <packagename>_PRE_PATCH_HOOKS commands if defined; -
  2. -Cleanup the build directory, removing any existing *.rej files; -
  3. -If <packagename>_PATCH is defined, then patches from these - tarballs are applied; -
  4. -If there are some *.patch files in the package’s Buildroot - directory or in a package subdirectory named <packageversion>, - then: -

    • -If a series file exists in the package directory, then patches are - applied according to the series file; -
    • -Otherwise, patch files matching *.patch are applied in alphabetical - order. - So, to ensure they are applied in the right order, it is highly - recommended to name the patch files like this: - <number>-<description>.patch, where <number> refers to the - apply order. -
  5. -If BR2_GLOBAL_PATCH_DIR is defined, the directories will be - enumerated in the order they are specified. The patches are applied - as described in the previous step. -
  6. -Run the <packagename>_POST_PATCH_HOOKS commands if defined. -

If something goes wrong in the steps 3 or 4, then the build fails.

19.3. Format and licensing of the package patches

Patches are released under the same license as the software they apply -to (see Section 13.2, “Complying with the Buildroot license”).

A message explaining what the patch does, and why it is needed, should -be added in the header commentary of the patch.

You should add a Signed-off-by statement in the header of the each -patch to help with keeping track of the changes and to certify that the -patch is released under the same license as the software that is modified.

If the software is under version control, it is recommended to use the -upstream SCM software to generate the patch set.

Otherwise, concatenate the header with the output of the -diff -purN package-version.orig/ package-version/ command.

If you update an existing patch (e.g. when bumping the package version), -make sure the existing From header and Signed-off-by tags are not -removed, but do update the rest of the patch comment when appropriate.

At the end, the patch should look like:

configure.ac: add C++ support test
-
-Signed-off-by: John Doe <john.doe@noname.org>
-
---- configure.ac.orig
-+++ configure.ac
-@@ -40,2 +40,12 @@
-
-AC_PROG_MAKE_SET
-+
-+AC_CACHE_CHECK([whether the C++ compiler works],
-+               [rw_cv_prog_cxx_works],
-+               [AC_LANG_PUSH([C++])
-+                AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
-+                               [rw_cv_prog_cxx_works=yes],
-+                               [rw_cv_prog_cxx_works=no])
-+                AC_LANG_POP([C++])])
-+
-+AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"])

19.4. Integrating patches found on the Web

When integrating a patch of which you are not the author, you have to -add a few things in the header of the patch itself.

Depending on whether the patch has been obtained from the project -repository itself, or from somewhere on the web, add one of the -following tags:

Backported from: <some commit id>

or

Fetch from: <some url>

It is also sensible to add a few words about any changes to the patch -that may have been necessary.

Chapter 20. Download infrastructure

TODO

Chapter 21. Debugging Buildroot

It is possible to instrument the steps Buildroot does when building -packages. Define the variable BR2_INSTRUMENTATION_SCRIPTS to contain -the path of one or more scripts (or other executables), in a -space-separated list, you want called before and after each step. The -scripts are called in sequence, with three parameters:

  • -start or end to denote the start (resp. the end) of a step; -
  • -the name of the step about to be started, or which just ended; -
  • -the name of the package. -

For example :

make BR2_INSTRUMENTATION_SCRIPTS="/path/to/my/script1 /path/to/my/script2"

The list of steps is:

  • -extract -
  • -patch -
  • -configure -
  • -build -
  • -install-host, when a host-package is installed in $(HOST_DIR) -
  • -install-target, when a target-package is installed in $(TARGET_DIR) -
  • -install-staging, when a target-package is installed in $(STAGING_DIR) -
  • -install-image, when a target-package installs files in $(BINARIES_DIR) -

The script has access to the following variables:

  • -BR2_CONFIG: the path to the Buildroot .config file -
  • -HOST_DIR, STAGING_DIR, TARGET_DIR: see - Section 18.5.2, “generic-package reference” -
  • -BUILD_DIR: the directory where packages are extracted and built -
  • -BINARIES_DIR: the place where all binary files (aka images) are - stored -
  • -BASE_DIR: the base output directory -

Chapter 22. Contributing to Buildroot

There are many ways in which you can contribute to Buildroot: analyzing -and fixing bugs, analyzing and fixing package build failures detected by -the autobuilders, testing and reviewing patches sent by other -developers, working on the items in our TODO list and sending your own -improvements to Buildroot or its manual. The following sections give a -little more detail on each of these items.

If you are interested in contributing to Buildroot, the first thing you -should do is to subscribe to the Buildroot mailing list. This list is -the main way of interacting with other Buildroot developers and to send -contributions to. If you aren’t subscribed yet, then refer to -Chapter 5, Community resources for the subscription link.

If you are going to touch the code, it is highly recommended to use a -git repository of Buildroot, rather than starting from an extracted -source code tarball. Git is the easiest way to develop from and directly -send your patches to the mailing list. Refer to Chapter 3, Getting Buildroot -for more information on obtaining a Buildroot git tree.

22.1. Reproducing, analyzing and fixing bugs

A first way of contributing is to have a look at the open bug reports in -the Buildroot bug -tracker. As we strive to keep the bug count as small as possible, all -help in reproducing, analyzing and fixing reported bugs is more than -welcome. Don’t hesitate to add a comment to bug reports reporting your -findings, even if you don’t yet see the full picture.

22.2. Analyzing and fixing autobuild failures

The Buildroot autobuilders are a set of build machines that continuously -run Buildroot builds based on random configurations. This is done for -all architectures supported by Buildroot, with various toolchains, and -with a random selection of packages. With the large commit activity on -Buildroot, these autobuilders are a great help in detecting problems -very early after commit.

All build results are available at http://autobuild.buildroot.org, -statistics are at http://autobuild.buildroot.org/stats.php. Every day, -an overview of all failed packages is sent to the mailing list.

Detecting problems is great, but obviously these problems have to be -fixed as well. Your contribution is very welcome here! There are -basically two things that can be done:

  • -Analyzing the problems. The daily summary mails do not contain details - about the actual failures: in order to see what’s going on you have to - open the build log and check the last output. Having someone doing - this for all packages in the mail is very useful for other developers, - as they can make a quick initial analysis based on this output alone. -
  • -Fixing a problem. When fixing autobuild failures, you should follow - these steps: -

    1. -Check if you can reproduce the problem by building with the same - configuration. You can do this manually, or use the - br-reproduce-build - script that will automatically clone a Buildroot git repository, - checkout the correct revision, download and set the right - configuration, and start the build. -
    2. -Analyze the problem and create a fix. -
    3. -Verify that the problem is really fixed by starting from a clean - Buildroot tree and only applying your fix. -
    4. -Send the fix to the Buildroot mailing list (see - Section 22.5, “Submitting patches”). In case you created a patch against the - package sources, you should also send the patch upstream so that the - problem will be fixed in a later release, and the patch in Buildroot - can be removed. - In the commit message of a patch fixing an autobuild failure, add a - reference to the build result directory, as follows: -
Fixes: http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069

22.3. Reviewing and testing patches

With the amount of patches sent to the mailing list each day, the -maintainer has a very hard job to judge which patches are ready to apply -and which ones aren’t. Contributors can greatly help here by reviewing -and testing these patches.

In the review process, do not hesitate to respond to patch submissions -for remarks, suggestions or anything that will help everyone to -understand the patches and make them better. Please use internet -style replies in plain text emails when responding to patch -submissions.

To indicate approval of a patch, there are three formal tags that keep -track of this approval. To add your tag to a patch, reply to it with the -approval tag below the original author’s Signed-off-by line. These tags -will be picked up automatically by patchwork (see -Section 22.3.1, “Applying Patches from Patchwork”) and will be part of the commit log when -the patch is accepted.

-Tested-by -
-Indicates that the patch has been tested successfully. - You are encouraged to specify what kind of testing you performed - (compile-test on architecture X and Y, runtime test on target A, - …). This additional information helps other testers and the - maintainer. -
-Reviewed-by -
-Indicates that you code-reviewed the patch and did your - best in spotting problems, but you are not sufficiently familiar with - the area touched to provide an Acked-by tag. This means that there - may be remaining problems in the patch that would be spotted by - someone with more experience in that area. Should such problems be - detected, your Reviewed-by tag remains appropriate and you cannot - be blamed. -
-Acked-by -
-Indicates that you code-reviewed the patch and you are - familiar enough with the area touched to feel that the patch can be - committed as-is (no additional changes required). In case it later - turns out that something is wrong with the patch, your Acked-by could - be considered inappropriate. The difference between Acked-by and - Reviewed-by is thus mainly that you are prepared to take the blame on - Acked patches, but not on Reviewed ones. -

If you reviewed a patch and have comments on it, you should simply reply -to the patch stating these comments, without providing a Reviewed-by or -Acked-by tag. These tags should only be provided if you judge the patch -to be good as it is.

It is important to note that neither Reviewed-by nor Acked-by imply -that testing has been performed. To indicate that you both reviewed and -tested the patch, provide two separate tags (Reviewed/Acked-by and -Tested-by).

Note also that any developer can provide Tested/Reviewed/Acked-by -tags, without exception, and we encourage everyone to do this. Buildroot -does not have a defined group of core developers, it just so happens -that some developers are more active than others. The maintainer will -value tags according to the track record of their submitter. Tags -provided by a regular contributor will naturally be trusted more than -tags provided by a newcomer. As you provide tags more regularly, your -trustworthiness (in the eyes of the maintainer) will go up, but any -tag provided is valuable.

Buildroot’s Patchwork website can be used to pull in patches for testing -purposes. Please see Section 22.3.1, “Applying Patches from Patchwork” for more -information on using Buildroot’s Patchwork website to apply patches.

22.3.1. Applying Patches from Patchwork

The main use of Buildroot’s Patchwork website for a developer is for -pulling in patches into their local git repository for testing -purposes.

When browsing patches in the patchwork management interface, an mbox -link is provided at the top of the page. Copy this link address and -run the following commands:

$ git checkout -b <test-branch-name>
-$ wget -O - <mbox-url> | git am

Another option for applying patches is to create a bundle. A bundle is -a set of patches that you can group together using the patchwork -interface. Once the bundle is created and the bundle is made public, -you can copy the mbox link for the bundle and apply the bundle -using the above commands.

22.4. Work on items from the TODO list

If you want to contribute to Buildroot but don’t know where to start, -and you don’t like any of the above topics, you can always work on items -from the Buildroot TODO list. -Don’t hesitate to discuss an item first on the mailing list or on IRC. -Do edit the wiki to indicate when you start working on an item, so we -avoid duplicate efforts.

22.5. Submitting patches

Note

Please, do not attach patches to bugs, send them to the mailing list -instead.

If you made some changes to Buildroot and you would like to contribute -them to the Buildroot project, proceed as follows.

22.5.1. The formatting of a patch

We expect patches to be formatted in a specific way. This is necessary -to make it easy to review patches, to be able to apply them easily to -the git repository, to make it easy to find back in the history how -and why things have changed, and to make it possible to use git -bisect to locate the origin of a problem.

First of all, it is essential that the patch has a good commit -message. The commit message should start with a separate line with a -brief summary of the change, prefixed by the area touched by the -patch. A few examples of good commit titles:

  • -package/linuxptp: bump version to 2.0 -
  • -configs/imx23evk: bump Linux version to 4.19 -
  • -package/pkg-generic: postpone evaluation of dependency conditions -
  • -boot/uboot: needs host-{flex,bison} -
  • -support/testing: add python-ubjson tests -

The description that follows the prefix should start with a lower case -letter (i.e "bump", "needs", "postpone", "add" in the above examples).

Second, the body of the commit message should describe why this -change is needed, and if necessary also give details about how it -was done. When writing the commit message, think of how the reviewers -will read it, but also think about how you will read it when you look -at this change again a few years down the line.

Third, the patch itself should do only one change, but do it -completely. Two unrelated or weakly related changes should usually be -done in two separate patches. This usually means that a patch affects -only a single package. If several changes are related, it is often -still possible to split them up in small patches and apply them in a -specific order. Small patches make it easier to review, and often -make it easier to understand afterwards why a change was done. -However, each patch must be complete. It is not allowed that the -build is broken when only the first but not the second patch is -applied. This is necessary to be able to use git bisect afterwards.

Of course, while you’re doing your development, you’re probably going -back and forth between packages, and certainly not committing things -immediately in a way that is clean enough for submission. So most -developers rewrite the history of commits to produce a clean set of -commits that is appropriate for submission. To do this, you need to -use interactive rebasing. You can learn about it -in the Pro -Git book. Sometimes, it is even easier to discard you history with -git reset --soft origin/master and select individual changes with -git add -i or git add -p.

Finally, the patch should be signed off. This is done by adding -Signed-off-by: Your Real Name <your@email.address> at the end of the -commit message. git commit -s does that for you, if configured -properly. The Signed-off-by tag means that you publish the patch -under the Buildroot license (i.e. GPL-2.0+, except for package patches, -which have the upstream license), and that you are allowed to do so. -See the Developer Certificate of -Origin for details.

When adding new packages, you should submit every package in a -separate patch. This patch should have the update to -package/Config.in, the package Config.in file, the .mk file, the -.hash file, any init script, and all package patches. If the package -has many sub-options, these are sometimes better added as separate -follow-up patches. The summary line should be something like -<packagename>: new package. The body of the commit message can be -empty for simple packages, or it can contain the description of the -package (like the Config.in help text). If anything special has to be -done to build the package, this should also be explained explicitly in -the commit message body.

When you bump a package to a new version, you should also submit a -separate patch for each package. Don’t forget to update the .hash -file, or add it if it doesn’t exist yet. Also don’t forget to check if -the _LICENSE and _LICENSE_FILES are still valid. The summary line -should be something like <packagename>: bump to version <new -version>. If the new version only contains security updates compared -to the existing one, the summary should be <packagename>: security -bump to version <new version> and the commit message body should show -the CVE numbers that are fixed. If some package patches can be removed -in the new version, it should be explained explicitly why they can be -removed, preferably with the upstream commit ID. Also any other -required changes should be explained explicitly, like configure -options that no longer exist or are no longer needed.

If you are interested in getting notified of build failures and of -further changes in the packages you added or modified, please add -yourself to the DEVELOPERS file. This should be done in the same patch -creating or modifying the package. See the DEVELOPERS file -for more information.

Buildroot provides a handy tool to check for common coding style -mistakes on files you created or modified, called check-package (see -Section 18.24.2, “How to check the coding style” for more information).

22.5.2. Preparing a patch series

Starting from the changes committed in your local git view, rebase -your development branch on top of the upstream tree before generating -a patch set. To do so, run:

$ git fetch --all --tags
-$ git rebase origin/master

Now, you are ready to generate then submit your patch set.

To generate it, run:

$ git format-patch -M -n -s -o outgoing origin/master

This will generate patch files in the outgoing subdirectory, -automatically adding the Signed-off-by line.

Once patch files are generated, you can review/edit the commit message -before submitting them, using your favorite text editor.

Buildroot provides a handy tool to know to whom your patches should be -sent, called get-developers (see Chapter 23, DEVELOPERS file and get-developers for more -information). This tool reads your patches and outputs the appropriate -git send-email command to use:

$ ./utils/get-developers outgoing/*

Use the output of get-developers to send your patches:

$ git send-email --to buildroot@buildroot.org --cc bob --cc alice outgoing/*

Alternatively, get-developers -e can be used directly with the ---cc-cmd argument to git send-email to automatically CC the -affected developers:

$ git send-email --to buildroot@buildroot.org \
-      --cc-cmd './utils/get-developers -e' origin/master

git can be configured to automatically do this out of the box with:

$ git config sendemail.to buildroot@buildroot.org
-$ git config sendemail.ccCmd "$(pwd)/utils/get-developers -e"

And then just do:

$ git send-email origin/master

Note that git should be configured to use your mail account. -To configure git, see man git-send-email or google it.

If you do not use git send-email, make sure posted patches are not -line-wrapped, otherwise they cannot easily be applied. In such a case, -fix your e-mail client, or better yet, learn to use git send-email.

22.5.3. Cover letter

If you want to present the whole patch set in a separate mail, add ---cover-letter to the git format-patch command (see man -git-format-patch for further information). This will generate a -template for an introduction e-mail to your patch series.

A cover letter may be useful to introduce the changes you propose -in the following cases:

  • -large number of commits in the series; -
  • -deep impact of the changes in the rest of the project; -
  • -RFC [4]; -
  • -whenever you feel it will help presenting your work, your choices, - the review process, etc. -

22.5.4. Patches for maintenance branches

When fixing bugs on a maintenance branch, bugs should be fixed on the -master branch first. The commit log for such a patch may then contain a -post-commit note specifying what branches are affected:

package/foo: fix stuff
-
-Signed-off-by: Your Real Name <your@email.address>
----
-Backport to: 2020.02.x, 2020.05.x
-(2020.08.x not affected as the version was bumped)

Those changes will then be backported by a maintainer to the affected -branches.

However, some bugs may apply only to a specific release, for example -because it is using an older version of a package. In that case, patches -should be based off the maintenance branch, and the patch subject prefix -must include the maintenance branch name (for example "[PATCH 2020.02.x]"). -This can be done with the git format-patch flag --subject-prefix:

$ git format-patch --subject-prefix "PATCH 2020.02.x" \
-    -M -s -o outgoing origin/2020.02.x

Then send the patches with git send-email, as described above.

22.5.5. Patch revision changelog

When improvements are requested, the new revision of each commit -should include a changelog of the modifications between each -submission. Note that when your patch series is introduced by a cover -letter, an overall changelog may be added to the cover letter in -addition to the changelog in the individual commits. -The best thing to rework a patch series is by interactive rebasing: -git rebase -i origin/master. Consult the git manual for more -information.

When added to the individual commits, this changelog is added when -editing the commit message. Below the Signed-off-by section, add ---- and your changelog.

Although the changelog will be visible for the reviewers in the mail -thread, as well as in patchwork, git -will automatically ignores lines below --- when the patch will be -merged. This is the intended behavior: the changelog is not meant to -be preserved forever in the git history of the project.

Hereafter the recommended layout:

Patch title: short explanation, max 72 chars
-
-A paragraph that explains the problem, and how it manifests itself. If
-the problem is complex, it is OK to add more paragraphs. All paragraphs
-should be wrapped at 72 characters.
-
-A paragraph that explains the root cause of the problem. Again, more
-than one paragraph is OK.
-
-Finally, one or more paragraphs that explain how the problem is solved.
-Don't hesitate to explain complex solutions in detail.
-
-Signed-off-by: John DOE <john.doe@example.net>
-
----
-Changes v2 -> v3:
-  - foo bar  (suggested by Jane)
-  - bar buz
-
-Changes v1 -> v2:
-  - alpha bravo  (suggested by John)
-  - charly delta

Any patch revision should include the version number. The version number -is simply composed of the letter v followed by an integer greater or -equal to two (i.e. "PATCH v2", "PATCH v3" …).

This can be easily handled with git format-patch by using the option ---subject-prefix:

$ git format-patch --subject-prefix "PATCH v4" \
-    -M -s -o outgoing origin/master

Since git version 1.8.1, you can also use -v <n> (where <n> is the -version number):

$ git format-patch -v4 -M -s -o outgoing origin/master

When you provide a new version of a patch, please mark the old one as -superseded in patchwork. You need to -create an account on patchwork to be -able to modify the status of your patches. Note that you can only change -the status of patches you submitted yourself, which means the email -address you register in patchwork should -match the one you use for sending patches to the mailing list.

You can also add the --in-reply-to <message-id> option when -submitting a patch to the mailing list. The id of the mail to reply to -can be found under the "Message Id" tag on -patchwork. The advantage of -in-reply-to is that patchwork will automatically mark the previous -version of the patch as superseded.

22.6. Reporting issues/bugs or getting help

Before reporting any issue, please check in -the mailing list archive whether someone has -already reported and/or fixed a similar problem.

However you choose to report bugs or get help, either by -opening a bug in the bug tracker or by -sending a mail to the mailing list, there are -a number of details to provide in order to help people reproduce and -find a solution to the issue.

Try to think as if you were trying to help someone else; in -that case, what would you need?

Here is a short list of details to provide in such case:

  • -host machine (OS/release) -
  • -version of Buildroot -
  • -target for which the build fails -
  • -package(s) for which the build fails -
  • -the command that fails and its output -
  • -any information you think that may be relevant -

Additionally, you should add the .config file (or if you know how, a -defconfig; see Section 9.3, “Storing the Buildroot configuration”).

If some of these details are too large, do not hesitate to use a -pastebin service. Note that not all available pastebin services will -preserve Unix-style line terminators when downloading raw pastes. -Following pastebin services are known to work correctly: -- https://gist.github.com/ -- http://code.bulix.org/

22.7. Using the run-tests framework

Buildroot includes a run-time testing framework called run-tests built -upon Python scripting and QEMU runtime execution. There are two types of -test cases within the framework, one for build time tests and another for -run-time tests that have a QEMU dependency. The goals of the framework are -the following:

  • -build a well defined configuration -
  • -optionally, verify some properties of the build output -
  • -if it is a run-time test: -

    • -boot it under QEMU -
    • -run some test condition to verify that a given feature is working -

The run-tests tool has a series of options documented in the tool’s help -h -description. Some common options include setting the download folder, the -output folder, keeping build output, and for multiple test cases, you can set -the JLEVEL for each.

Here is an example walk through of running a test case.

  • -For a first step, let us see what all the test case options are. The test -cases can be listed by executing support/testing/run-tests -l. These tests -can all be run individually during test development from the console. Both -one at a time and selectively as a group of a subset of tests. -
$ support/testing/run-tests -l
-List of tests
-test_run (tests.utils.test_check_package.TestCheckPackage)
-Test the various ways the script can be called in a simple top to ... ok
-test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootMusl) ... ok
-test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc) ... ok
-test_run (tests.toolchain.test_external.TestExternalToolchainCCache) ... ok
-test_run (tests.toolchain.test_external.TestExternalToolchainCtngMusl) ... ok
-test_run (tests.toolchain.test_external.TestExternalToolchainLinaroArm) ... ok
-test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv4) ... ok
-test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv5) ... ok
-test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv7) ... ok
-[snip]
-test_run (tests.init.test_systemd.TestInitSystemSystemdRoFull) ... ok
-test_run (tests.init.test_systemd.TestInitSystemSystemdRoIfupdown) ... ok
-test_run (tests.init.test_systemd.TestInitSystemSystemdRoNetworkd) ... ok
-test_run (tests.init.test_systemd.TestInitSystemSystemdRwFull) ... ok
-test_run (tests.init.test_systemd.TestInitSystemSystemdRwIfupdown) ... ok
-test_run (tests.init.test_systemd.TestInitSystemSystemdRwNetworkd) ... ok
-test_run (tests.init.test_busybox.TestInitSystemBusyboxRo) ... ok
-test_run (tests.init.test_busybox.TestInitSystemBusyboxRoNet) ... ok
-test_run (tests.init.test_busybox.TestInitSystemBusyboxRw) ... ok
-test_run (tests.init.test_busybox.TestInitSystemBusyboxRwNet) ... ok
-
-Ran 157 tests in 0.021s
-
-OK

Those runtime tests are regularly executed by Buildroot Gitlab CI -infrastructure, see .gitlab.yml and https://gitlab.com/buildroot.org/buildroot/-/jobs.

22.7.1. Creating a test case

The best way to get familiar with how to create a test case is to look at a -few of the basic file system support/testing/tests/fs/ and init -support/testing/tests/init/ test scripts. Those tests give good examples -of a basic build and build with run type of tests. There are other more -advanced cases that use things like nested br2-external folders to provide -skeletons and additional packages.

The test cases by default use a br-arm-full-* uClibc-ng toolchain and the -prebuild kernel for a armv5/7 cpu. It is recommended to use the default -defconfig test configuration except when Glibc/musl or a newer kernel are -necessary. By using the default it saves build time and the test would -automatically inherit a kernel/std library upgrade when the default is -updated.

The basic test case definition involves

  • -Creation of a new test file -
  • -Defining a unique test class -
  • -Determining if the default defconfig plus test options can be used -
  • -Implementing a def test_run(self): function to optionally startup the -emulator and provide test case conditions. -

After creating the test script, add yourself to the DEVELOPERS file to -be the maintainer of that test case.

22.7.2. Debugging a test case

Within the Buildroot repository, the testing framework is organized at the -top level in support/testing/ by folders of conf, infra and tests. -All the test cases live under the test folder and are organized in various -folders representing the catagory of test.

Lets walk through an example.

  • -Using the Busybox Init system test case with a read/write rootfs -tests.init.test_busybox.TestInitSystemBusyboxRw -
  • -A minimal set of command line arguments when debugging a test case would -include -d which points to your dl folder, -o to an output folder, and --k to keep any output on both pass/fail. With those options, the test will -retain logging and build artifacts providing status of the build and -execution of the test case. -
$ support/testing/run-tests -d dl -o output_folder -k tests.init.test_busybox.TestInitSystemBusyboxRw
-15:03:26 TestInitSystemBusyboxRw                  Starting
-15:03:28 TestInitSystemBusyboxRw                  Building
-15:08:18 TestInitSystemBusyboxRw                  Building done
-15:08:27 TestInitSystemBusyboxRw                  Cleaning up
-.
-Ran 1 test in 301.140s
-
-OK
  • -For the case of a successful build, the output_folder would contain a -<test name> folder with the Buildroot build, build log and run-time log. If -the build failed, the console output would show the stage at which it failed -(setup / build / run). Depending on the failure stage, the build/run logs -and/or Buildroot build artifacts can be inspected and instrumented. If the -QEMU instance needs to be launched for additional testing, the first few -lines of the run-time log capture it and it would allow some incremental -testing without re-running support/testing/run-tests. -
  • -You can also make modifications to the current sources inside the -output_folder (e.g. for debug purposes) and rerun the standard -Buildroot make targets (in order to regenerate the complete image with -the new modifications) and then rerun the test. Modifying the sources -directly can speed up debugging compared to adding patch files, wiping the -output directoy, and starting the test again. -
$ ls output_folder/
-TestInitSystemBusyboxRw/
-TestInitSystemBusyboxRw-build.log
-TestInitSystemBusyboxRw-run.log
  • -The source file used to implement this example test is found under -support/testing/tests/init/test_busybox.py. This file outlines the -minimal defconfig that creates the build, QEMU configuration to launch -the built images and the test case assertions. -

To test an existing or new test case within Gitlab CI, there is a method of -invoking a specific test by creating a Buildroot fork in Gitlab under your -account. This can be handy when adding/changing a run-time test or fixing a -bug on a use case tested by a run-time test case.

In the examples below, the <name> component of the branch name is a unique -string you choose to identify this specific job being created.

  • -to trigger all run-test test case jobs: -
 $ git push gitlab HEAD:<name>-runtime-tests
  • -to trigger one test case job, a specific branch naming string is used that -includes the full test case name. -
 $ git push gitlab HEAD:<name>-<test case name>


[4] RFC: (Request for comments) change proposal

Chapter 23. DEVELOPERS file and get-developers

The main Buildroot directory contains a file named DEVELOPERS that -lists the developers involved with various areas of Buildroot. Thanks -to this file, the get-developers tool allows to:

  • -Calculate the list of developers to whom patches should be sent, by - parsing the patches and matching the modified files with the - relevant developers. See Section 22.5, “Submitting patches” for details. -
  • -Find which developers are taking care of a given architecture or - package, so that they can be notified when a build failure occurs on - this architecture or package. This is done in interaction with - Buildroot’s autobuild infrastructure. -

We ask developers adding new packages, new boards, or generally new -functionality in Buildroot, to register themselves in the DEVELOPERS -file. As an example, we expect a developer contributing a new package -to include in his patch the appropriate modification to the -DEVELOPERS file.

The DEVELOPERS file format is documented in detail inside the file -itself.

The get-developers tool, located in utils/ allows to use -the DEVELOPERS file for various tasks:

  • -When passing one or several patches as command line argument, - get-developers will return the appropriate git send-email - command. If the -e option is passed, only the email addresses are - printed in a format suitable for git send-email --cc-cmd. -
  • -When using the -a <arch> command line option, get-developers will - return the list of developers in charge of the given architecture. -
  • -When using the -p <package> command line option, get-developers - will return the list of developers in charge of the given package. -
  • -When using the -c command line option, get-developers will look - at all files under version control in the Buildroot repository, and - list the ones that are not handled by any developer. The purpose of - this option is to help completing the DEVELOPERS file. -
  • -When using without any arguments, it validates the integrity of the - DEVELOPERS file and will note WARNINGS for items that don’t match. -

Chapter 24. Release Engineering

24.1. Releases

The Buildroot project makes quarterly releases with monthly bugfix -releases. The first release of each year is a long term support -release, LTS.

  • -Quarterly releases: 2020.02, 2020.05, 2020.08, and 2020.11 -
  • -Bugfix releases: 2020.02.1, 2020.02.2, … -
  • -LTS releases: 2020.02, 2021.02, … -

Releases are supported until the first bugfix release of the next -release, e.g., 2020.05.x is EOL when 2020.08.1 is released.

LTS releases are supported until the first bugfix release of the next -LTS, e.g., 2020.02.x is supported until 2021.02.1 is released.

24.2. Development

Each release cycle consist of two months of development on the master -branch and one month stabilization before the release is made. During -this phase no new features are added to master, only bugfixes.

The stabilization phase starts with tagging -rc1, and every week until -the release, another release candidate is tagged.

To handle new features and version bumps during the stabilization phase, -a next branch may be created for these features. Once the current -release has been made, the next branch is merged into master and -the development cycle for the next release continues there.

Part IV. Appendix

Chapter 25. Makedev syntax documentation

The makedev syntax is used in several places in Buildroot to -define changes to be made for permissions, or which device files to -create and how to create them, in order to avoid calls to mknod.

This syntax is derived from the makedev utility, and more complete -documentation can be found in the package/makedevs/README file.

It takes the form of a space separated list of fields, one file per -line; the fields are:

name

type

mode

uid

gid

major

minor

start

inc

count

There are a few non-trivial blocks:

  • -name is the path to the file you want to create/modify -
  • -type is the type of the file, being one of: -

    • -f: a regular file -
    • -d: a directory -
    • -r: a directory recursively -
    • -c: a character device file -
    • -b: a block device file -
    • -p: a named pipe -
  • -mode are the usual permissions settings (only numerical values - are allowed) -
  • -uid and gid are the UID and GID to set on this file; can be - either numerical values or actual names -
  • -major and minor are here for device files, set to - for other - files -
  • -start, inc and count are for when you want to create a batch - of files, and can be reduced to a loop, beginning at start, - incrementing its counter by inc until it reaches count -

Let’s say you want to change the permissions of a given file; using -this syntax, you will need to write:

/usr/bin/foo f 755 0 0 - - - - -
-/usr/bin/bar f 755 root root - - - - -
-/data/buz f 644 buz-user buz-group - - - - -

Alternatively, if you want to change owner/permission of a directory -recursively, you can write (to set UID to foo, GID to bar and access -rights to rwxr-x--- for the directory /usr/share/myapp and all files -and directories below it):

/usr/share/myapp r 750 foo bar - - - - -

On the other hand, if you want to create the device file /dev/hda -and the corresponding 15 files for the partitions, you will need for -/dev/hda:

/dev/hda b 640 root root 3 0 0 0 -

and then for device files corresponding to the partitions of -/dev/hda, /dev/hdaX, X ranging from 1 to 15:

/dev/hda b 640 root root 3 1 1 1 15

Extended attributes are supported if -BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES is enabled. -This is done by adding a line starting with |xattr after -the line describing the file. Right now, only capability -is supported as extended attribute.

|xattr

capability

  • -|xattr is a "flag" that indicate an extended attribute -
  • -capability is a capability to add to the previous file -

If you want to add the capability cap_sys_admin to the binary foo, -you will write :

/usr/bin/foo f 755 root root - - - - -
-|xattr cap_sys_admin+eip

You can add several capabilities to a file by using several |xattr lines. -If you want to add the capability cap_sys_admin and cap_net_admin to the -binary foo, you will write :

/usr/bin/foo f 755 root root - - - - -
-|xattr cap_sys_admin+eip
-|xattr cap_net_admin+eip

Chapter 26. Makeusers syntax documentation

The syntax to create users is inspired by the makedev syntax, above, but -is specific to Buildroot.

The syntax for adding a user is a space-separated list of fields, one -user per line; the fields are:

username

uid

group

gid

password

home

shell

groups

comment

Where:

  • -username is the desired user name (aka login name) for the user. - It can not be root, and must be unique. If set to -, then just a - group will be created. -
  • -uid is the desired UID for the user. It must be unique, and not - 0. If set to -1, then a unique UID will be computed by Buildroot - in the range [1000…1999] -
  • -group is the desired name for the user’s main group. It can not - be root. If the group does not exist, it will be created. -
  • -gid is the desired GID for the user’s main group. It must be unique, - and not 0. If set to -1, and the group does not already exist, then - a unique GID will be computed by Buildroot in the range [1000..1999] -
  • -password is the crypt(3)-encoded password. If prefixed with !, - then login is disabled. If prefixed with =, then it is interpreted - as clear-text, and will be crypt-encoded (using MD5). If prefixed with - !=, then the password will be crypt-encoded (using MD5) and login - will be disabled. If set to *, then login is not allowed. If set to - -, then no password value will be set. -
  • -home is the desired home directory for the user. If set to -, no - home directory will be created, and the user’s home will be /. - Explicitly setting home to / is not allowed. -
  • -shell is the desired shell for the user. If set to -, then - /bin/false is set as the user’s shell. -
  • -groups is the comma-separated list of additional groups the user - should be part of. If set to -, then the user will be a member of - no additional group. Missing groups will be created with an arbitrary - gid. -
  • -comment (aka GECOS - field) is an almost-free-form text. -

There are a few restrictions on the content of each field:

  • -except for comment, all fields are mandatory. -
  • -except for comment, fields may not contain spaces. -
  • -no field may contain a colon (:). -

If home is not -, then the home directory, and all files below, -will belong to the user and its main group.

Examples:

foo -1 bar -1 !=blabla /home/foo /bin/sh alpha,bravo Foo user

This will create this user:

  • -username (aka login name) is: foo -
  • -uid is computed by Buildroot -
  • -main group is: bar -
  • -main group gid is computed by Buildroot -
  • -clear-text password is: blabla, will be crypt(3)-encoded, and login is disabled. -
  • -home is: /home/foo -
  • -shell is: /bin/sh -
  • -foo is also a member of groups: alpha and bravo -
  • -comment is: Foo user -
test 8000 wheel -1 = - /bin/sh - Test user

This will create this user:

  • -username (aka login name) is: test -
  • -uid is : 8000 -
  • -main group is: wheel -
  • -main group gid is computed by Buildroot, and will use the value defined in the rootfs skeleton -
  • -password is empty (aka no password). -
  • -home is / but will not belong to test -
  • -shell is: /bin/sh -
  • -test is not a member of any additional groups -
  • -comment is: Test user - -

Chapter 27. Migrating from older Buildroot versions

Some versions have introduced backward incompatibilities. This section -explains those incompatibilities, and for each explains what to do to -complete the migration.

27.1. Migrating to 2016.11

Before Buildroot 2016.11, it was possible to use only one br2-external -tree at once. With Buildroot 2016.11 came the possibility to use more -than one simultaneously (for details, see Section 9.2, “Keeping customizations outside of Buildroot”).

This however means that older br2-external trees are not usable as-is. -A minor change has to be made: adding a name to your br2-external tree.

This can be done very easily in just a few steps:

  • -First, create a new file named external.desc, at the root of your - br2-external tree, with a single line defining the name of your - br2-external tree: -

    $ echo 'name: NAME_OF_YOUR_TREE' >external.desc

    Note. Be careful when choosing a name: It has to be unique and be made -with only ASCII characters from the set [A-Za-z0-9_].

  • -Then, change every occurence of BR2_EXTERNAL in your br2-external - tree with the new variable: -

    $ find . -type f | xargs sed -i 's/BR2_EXTERNAL/BR2_EXTERNAL_NAME_OF_YOUR_TREE_PATH/g'

Now, your br2-external tree can be used with Buildroot 2016.11 onward.

Note: This change makes your br2-external tree incompatible with Buildroot -before 2016.11.

27.2. Migrating to 2017.08

Before Buildroot 2017.08, host packages were installed in $(HOST_DIR)/usr -(with e.g. the autotools' --prefix=$(HOST_DIR)/usr). With Buildroot -2017.08, they are now installed directly in $(HOST_DIR).

Whenever a package installs an executable that is linked with a library -in $(HOST_DIR)/lib, it must have an RPATH pointing to that directory.

An RPATH pointing to $(HOST_DIR)/usr/lib is no longer accepted.

\ No newline at end of file diff --git a/buildroot-2021.05/docs/manual/manual.pdf b/buildroot-2021.05/docs/manual/manual.pdf deleted file mode 100644 index 34a4b10f..00000000 Binary files a/buildroot-2021.05/docs/manual/manual.pdf and /dev/null differ diff --git a/buildroot-2021.05/docs/manual/manual.text b/buildroot-2021.05/docs/manual/manual.text deleted file mode 100644 index 6fdace8a..00000000 --- a/buildroot-2021.05/docs/manual/manual.text +++ /dev/null @@ -1,8423 +0,0 @@ - ---------------------------------------------------------------------- - -The Buildroot user manual - ---------------------------------------------------------------------- ---------------------------------------------------------------------- - -Table of Contents - - -I. Getting started - - 1. About Buildroot - 2. System requirements - - 2.1. Mandatory packages - 2.2. Optional packages - - 3. Getting Buildroot - 4. Buildroot quick start - 5. Community resources - -II. User guide - - 6. Buildroot configuration - - 6.1. Cross-compilation toolchain - 6.2. /dev management - 6.3. init system - - 7. Configuration of other components - 8. General Buildroot usage - - 8.1. make tips - 8.2. Understanding when a full rebuild is necessary - 8.3. Understanding how to rebuild packages - 8.4. Offline builds - 8.5. Building out-of-tree - 8.6. Environment variables - 8.7. Dealing efficiently with filesystem images - 8.8. Details about packages - 8.9. Graphing the dependencies between packages - 8.10. Graphing the build duration - 8.11. Graphing the filesystem size contribution of packages - 8.12. Top-level parallel build - 8.13. Integration with Eclipse - 8.14. Advanced usage - - 9. Project-specific customization - - 9.1. Recommended directory structure - 9.2. Keeping customizations outside of Buildroot - 9.3. Storing the Buildroot configuration - 9.4. Storing the configuration of other components - 9.5. Customizing the generated target filesystem - 9.6. Adding custom user accounts - 9.7. Customization after the images have been created - 9.8. Adding project-specific patches - 9.9. Adding project-specific packages - 9.10. Quick guide to storing your project-specific - customizations - - 10. Using SELinux in Buildroot - - 10.1. Enabling SELinux support - 10.2. SELinux policy tweaking - - 11. Frequently Asked Questions & Troubleshooting - - 11.1. The boot hangs after Starting network… - 11.2. Why is there no compiler on the target? - 11.3. Why are there no development files on the target? - 11.4. Why is there no documentation on the target? - 11.5. Why are some packages not visible in the Buildroot - config menu? - 11.6. Why not use the target directory as a chroot directory? - 11.7. Why doesn’t Buildroot generate binary packages (.deb, - .ipkg…)? - 11.8. How to speed-up the build process? - - 12. Known issues - 13. Legal notice and licensing - - 13.1. Complying with open source licenses - 13.2. Complying with the Buildroot license - - 14. Beyond Buildroot - - 14.1. Boot the generated images - 14.2. Chroot - -III. Developer guide - - 15. How Buildroot works - 16. Coding style - - 16.1. Config.in file - 16.2. The .mk file - 16.3. The documentation - 16.4. Support scripts - - 17. Adding support for a particular board - 18. Adding new packages to Buildroot - - 18.1. Package directory - 18.2. Config files - 18.3. The .mk file - 18.4. The .hash file - 18.5. Infrastructure for packages with specific build systems - 18.6. Infrastructure for autotools-based packages - 18.7. Infrastructure for CMake-based packages - 18.8. Infrastructure for Python packages - 18.9. Infrastructure for LuaRocks-based packages - 18.10. Infrastructure for Perl/CPAN packages - 18.11. Infrastructure for virtual packages - 18.12. Infrastructure for packages using kconfig for - configuration files - 18.13. Infrastructure for rebar-based packages - 18.14. Infrastructure for Waf-based packages - 18.15. Infrastructure for Meson-based packages - 18.16. Integration of Cargo-based packages - 18.17. Infrastructure for Go packages - 18.18. Infrastructure for QMake-based packages - 18.19. Infrastructure for packages building kernel modules - 18.20. Infrastructure for asciidoc documents - 18.21. Infrastructure specific to the Linux kernel package - 18.22. Hooks available in the various build steps - 18.23. Gettext integration and interaction with packages - 18.24. Tips and tricks - 18.25. Conclusion - - 19. Patching a package - - 19.1. Providing patches - 19.2. How patches are applied - 19.3. Format and licensing of the package patches - 19.4. Integrating patches found on the Web - - 20. Download infrastructure - 21. Debugging Buildroot - 22. Contributing to Buildroot - - 22.1. Reproducing, analyzing and fixing bugs - 22.2. Analyzing and fixing autobuild failures - 22.3. Reviewing and testing patches - 22.4. Work on items from the TODO list - 22.5. Submitting patches - 22.6. Reporting issues/bugs or getting help - 22.7. Using the run-tests framework - - 23. DEVELOPERS file and get-developers - 24. Release Engineering - - 24.1. Releases - 24.2. Development - -IV. Appendix - - 25. Makedev syntax documentation - 26. Makeusers syntax documentation - 27. Migrating from older Buildroot versions - - 27.1. Migrating to 2016.11 - 27.2. Migrating to 2017.08 - -List of Examples - -18.1. Config script: divine package -18.2. Config script: imagemagick package: - - ---------------------------------------------------------------------- - ---------------------------------------------------------------------- - -Buildroot 2021.05 manual generated on 2021-06-06 21:24:12 UTC from -git revision 69f79f2a2e - -The Buildroot manual is written by the Buildroot developers. It is -licensed under the GNU General Public License, version 2. Refer to -the COPYING [http://git.buildroot.org/buildroot/tree/COPYING?id= -69f79f2a2ee1417e19c1ead2c9226e11753c06cb] file in the Buildroot -sources for the full text of this license. - -Copyright © 2004-2020 The Buildroot developers - -Part I. Getting started - -Table of Contents - -1. About Buildroot -2. System requirements - - 2.1. Mandatory packages - 2.2. Optional packages - -3. Getting Buildroot -4. Buildroot quick start -5. Community resources - -Chapter 1. About Buildroot - -Buildroot is a tool that simplifies and automates the process of -building a complete Linux system for an embedded system, using -cross-compilation. - -In order to achieve this, Buildroot is able to generate a -cross-compilation toolchain, a root filesystem, a Linux kernel image -and a bootloader for your target. Buildroot can be used for any -combination of these options, independently (you can for example use -an existing cross-compilation toolchain, and build only your root -filesystem with Buildroot). - -Buildroot is useful mainly for people working with embedded systems. -Embedded systems often use processors that are not the regular x86 -processors everyone is used to having in his PC. They can be PowerPC -processors, MIPS processors, ARM processors, etc. - -Buildroot supports numerous processors and their variants; it also -comes with default configurations for several boards available -off-the-shelf. Besides this, a number of third-party projects are -based on, or develop their BSP ^[1] or SDK ^[2] on top of Buildroot. - - ---------------------------------------------------------------------- - -^[1] BSP: Board Support Package - -^[2] SDK: Software Development Kit - -Chapter 2. System requirements - -Buildroot is designed to run on Linux systems. - -While Buildroot itself will build most host packages it needs for the -compilation, certain standard Linux utilities are expected to be -already installed on the host system. Below you will find an overview -of the mandatory and optional packages (note that package names may -vary between distributions). - -2.1. Mandatory packages - - * Build tools: - - + which - + sed - + make (version 3.81 or any later) - + binutils - + build-essential (only for Debian based systems) - + gcc (version 4.8 or any later) - + g++ (version 4.8 or any later) - + bash - + patch - + gzip - + bzip2 - + perl (version 5.8.7 or any later) - + tar - + cpio - + unzip - + rsync - + file (must be in /usr/bin/file) - + bc - * Source fetching tools: - - + wget - -2.2. Optional packages - - * Recommended dependencies: - - Some features or utilities in Buildroot, like the legal-info, or - the graph generation tools, have additional dependencies. - Although they are not mandatory for a simple build, they are - still highly recommended: - - + python (version 2.7 or any later) - * Configuration interface dependencies: - - For these libraries, you need to install both runtime and - development data, which in many distributions are packaged - separately. The development packages typically have a -dev or - -devel suffix. - - + ncurses5 to use the menuconfig interface - + qt5 to use the xconfig interface - + glib2, gtk2 and glade2 to use the gconfig interface - * Source fetching tools: - - In the official tree, most of the package sources are retrieved - using wget from ftp, http or https locations. A few packages are - only available through a version control system. Moreover, - Buildroot is capable of downloading sources via other tools, like - rsync or scp (refer to Chapter 20, Download infrastructure for - more details). If you enable packages using any of these methods, - you will need to install the corresponding tool on the host - system: - - + bazaar - + cvs - + git - + mercurial - + rsync - + scp - + subversion - * Java-related packages, if the Java Classpath needs to be built - for the target system: - - + The javac compiler - + The jar tool - * Documentation generation tools: - - + asciidoc, version 8.6.3 or higher - + w3m - + python with the argparse module (automatically present in - 2.7+ and 3.2+) - + dblatex (required for the pdf manual only) - * Graph generation tools: - - + graphviz to use graph-depends and -graph-depends - + python-matplotlib to use graph-build - -Chapter 3. Getting Buildroot - -Buildroot releases are made every 3 months, in February, May, August -and November. Release numbers are in the format YYYY.MM, so for -example 2013.02, 2014.08. - -Release tarballs are available at http://buildroot.org/downloads/. - -For your convenience, a Vagrantfile [https://www.vagrantup.com/] is -available in support/misc/Vagrantfile in the Buildroot source tree to -quickly set up a virtual machine with the needed dependencies to get -started. - -If you want to setup an isolated buildroot environment on Linux or -Mac Os X, paste this line onto your terminal: - -curl -O https://buildroot.org/downloads/Vagrantfile; vagrant up - -If you are on Windows, paste this into your powershell: - -(new-object System.Net.WebClient).DownloadFile( -"https://buildroot.org/downloads/Vagrantfile","Vagrantfile"); -vagrant up - -If you want to follow development, you can use the daily snapshots or -make a clone of the Git repository. Refer to the Download page [http: -//buildroot.org/download] of the Buildroot website for more details. - -Chapter 4. Buildroot quick start - -Important: you can and should build everything as a normal user. -There is no need to be root to configure and use Buildroot. By -running all commands as a regular user, you protect your system -against packages behaving badly during compilation and installation. - -The first step when using Buildroot is to create a configuration. -Buildroot has a nice configuration tool similar to the one you can -find in the Linux kernel [http://www.kernel.org/] or in BusyBox -[http://www.busybox.net/]. - -From the buildroot directory, run - - $ make menuconfig - -for the original curses-based configurator, or - - $ make nconfig - -for the new curses-based configurator, or - - $ make xconfig - -for the Qt-based configurator, or - - $ make gconfig - -for the GTK-based configurator. - -All of these "make" commands will need to build a configuration -utility (including the interface), so you may need to install -"development" packages for relevant libraries used by the -configuration utilities. Refer to Chapter 2, System requirements for -more details, specifically the optional requirements to get the -dependencies of your favorite interface. - -For each menu entry in the configuration tool, you can find -associated help that describes the purpose of the entry. Refer to -Chapter 6, Buildroot configuration for details on some specific -configuration aspects. - -Once everything is configured, the configuration tool generates a -.config file that contains the entire configuration. This file will -be read by the top-level Makefile. - -To start the build process, simply run: - - $ make - -By default, Buildroot does not support top-level parallel build, so -running make -jN is not necessary. There is however experimental -support for top-level parallel build, see Section 8.12, “Top-level -parallel build”. - -The make command will generally perform the following steps: - - * download source files (as required); - * configure, build and install the cross-compilation toolchain, or - simply import an external toolchain; - * configure, build and install selected target packages; - * build a kernel image, if selected; - * build a bootloader image, if selected; - * create a root filesystem in selected formats. - -Buildroot output is stored in a single directory, output/. This -directory contains several subdirectories: - - * images/ where all the images (kernel image, bootloader and root - filesystem images) are stored. These are the files you need to - put on your target system. - * build/ where all the components are built (this includes tools - needed by Buildroot on the host and packages compiled for the - target). This directory contains one subdirectory for each of - these components. - * host/ contains both the tools built for the host, and the sysroot - of the target toolchain. The former is an installation of tools - compiled for the host that are needed for the proper execution of - Buildroot, including the cross-compilation toolchain. The latter - is a hierarchy similar to a root filesystem hierarchy. It - contains the headers and libraries of all user-space packages - that provide and install libraries used by other packages. - However, this directory is not intended to be the root filesystem - for the target: it contains a lot of development files, - unstripped binaries and libraries that make it far too big for an - embedded system. These development files are used to compile - libraries and applications for the target that depend on other - libraries. - * staging/ is a symlink to the target toolchain sysroot inside host - /, which exists for backwards compatibility. - * target/ which contains almost the complete root filesystem for - the target: everything needed is present except the device files - in /dev/ (Buildroot can’t create them because Buildroot doesn’t - run as root and doesn’t want to run as root). Also, it doesn’t - have the correct permissions (e.g. setuid for the busybox - binary). Therefore, this directory should not be used on your - target. Instead, you should use one of the images built in the - images/ directory. If you need an extracted image of the root - filesystem for booting over NFS, then use the tarball image - generated in images/ and extract it as root. Compared to staging - /, target/ contains only the files and libraries needed to run - the selected target applications: the development files (headers, - etc.) are not present, the binaries are stripped. - -These commands, make menuconfig|nconfig|gconfig|xconfig and make, are -the basic ones that allow to easily and quickly generate images -fitting your needs, with all the features and applications you -enabled. - -More details about the "make" command usage are given in Section 8.1, -“make tips”. - -Chapter 5. Community resources - -Like any open source project, Buildroot has different ways to share -information in its community and outside. - -Each of those ways may interest you if you are looking for some help, -want to understand Buildroot or contribute to the project. - -Mailing List - - Buildroot has a mailing list for discussion and development. It - is the main method of interaction for Buildroot users and - developers. - - Only subscribers to the Buildroot mailing list are allowed to - post to this list. You can subscribe via the mailing list info - page [http://lists.buildroot.org/mailman/listinfo/buildroot]. - - Mails that are sent to the mailing list are also available in the - mailing list archives [http://lists.buildroot.org/pipermail/ - buildroot] and via Gmane [http://gmane.org], at - gmane.comp.lib.uclibc.buildroot [http://dir.gmane.org/ - gmane.comp.lib.uclibc.buildroot]. Please search the mailing list - archives before asking questions, since there is a good chance - someone else has asked the same question before. - -IRC - - The Buildroot IRC channel #buildroot [irc://irc.oftc.net/# - buildroot] is hosted on OFTC [https://www.oftc.net/WebChat/]. It - is a useful place to ask quick questions or discuss on certain - topics. - - When asking for help on IRC, share relevant logs or pieces of - code using a code sharing website, such as http://code.bulix.org. - - Note that for certain questions, posting to the mailing list may - be better as it will reach more people, both developers and - users. - -Bug tracker - Bugs in Buildroot can be reported via the mailing list or - alternatively via the Buildroot bugtracker [https:// - bugs.buildroot.org/buglist.cgi?product=buildroot]. Please refer - to Section 22.6, “Reporting issues/bugs or getting help” before - creating a bug report. -Wiki - The Buildroot wiki page [http://elinux.org/Buildroot] is hosted - on the eLinux [http://elinux.org] wiki. It contains some useful - links, an overview of past and upcoming events, and a TODO list. -Patchwork - - Patchwork is a web-based patch tracking system designed to - facilitate the contribution and management of contributions to an - open-source project. Patches that have been sent to a mailing - list are 'caught' by the system, and appear on a web page. Any - comments posted that reference the patch are appended to the - patch page too. For more information on Patchwork see http:// - jk.ozlabs.org/projects/patchwork/. - - Buildroot’s Patchwork website is mainly for use by Buildroot’s - maintainer to ensure patches aren’t missed. It is also used by - Buildroot patch reviewers (see also Section 22.3.1, “Applying - Patches from Patchwork”). However, since the website exposes - patches and their corresponding review comments in a clean and - concise web interface, it can be useful for all Buildroot - developers. - - The Buildroot patch management interface is available at http:// - patchwork.buildroot.org. - -Part II. User guide - -Table of Contents - -6. Buildroot configuration - - 6.1. Cross-compilation toolchain - 6.2. /dev management - 6.3. init system - -7. Configuration of other components -8. General Buildroot usage - - 8.1. make tips - 8.2. Understanding when a full rebuild is necessary - 8.3. Understanding how to rebuild packages - 8.4. Offline builds - 8.5. Building out-of-tree - 8.6. Environment variables - 8.7. Dealing efficiently with filesystem images - 8.8. Details about packages - 8.9. Graphing the dependencies between packages - 8.10. Graphing the build duration - 8.11. Graphing the filesystem size contribution of packages - 8.12. Top-level parallel build - 8.13. Integration with Eclipse - 8.14. Advanced usage - -9. Project-specific customization - - 9.1. Recommended directory structure - 9.2. Keeping customizations outside of Buildroot - 9.3. Storing the Buildroot configuration - 9.4. Storing the configuration of other components - 9.5. Customizing the generated target filesystem - 9.6. Adding custom user accounts - 9.7. Customization after the images have been created - 9.8. Adding project-specific patches - 9.9. Adding project-specific packages - 9.10. Quick guide to storing your project-specific customizations - -10. Using SELinux in Buildroot - - 10.1. Enabling SELinux support - 10.2. SELinux policy tweaking - -11. Frequently Asked Questions & Troubleshooting - - 11.1. The boot hangs after Starting network… - 11.2. Why is there no compiler on the target? - 11.3. Why are there no development files on the target? - 11.4. Why is there no documentation on the target? - 11.5. Why are some packages not visible in the Buildroot config - menu? - 11.6. Why not use the target directory as a chroot directory? - 11.7. Why doesn’t Buildroot generate binary packages (.deb, - .ipkg…)? - 11.8. How to speed-up the build process? - -12. Known issues -13. Legal notice and licensing - - 13.1. Complying with open source licenses - 13.2. Complying with the Buildroot license - -14. Beyond Buildroot - - 14.1. Boot the generated images - 14.2. Chroot - -Chapter 6. Buildroot configuration - -All the configuration options in make *config have a help text -providing details about the option. - -The make *config commands also offer a search tool. Read the help -message in the different frontend menus to know how to use it: - - * in menuconfig, the search tool is called by pressing /; - * in xconfig, the search tool is called by pressing Ctrl + f. - -The result of the search shows the help message of the matching -items. In menuconfig, numbers in the left column provide a shortcut -to the corresponding entry. Just type this number to directly jump to -the entry, or to the containing menu in case the entry is not -selectable due to a missing dependency. - -Although the menu structure and the help text of the entries should -be sufficiently self-explanatory, a number of topics require -additional explanation that cannot easily be covered in the help text -and are therefore covered in the following sections. - -6.1. Cross-compilation toolchain - -A compilation toolchain is the set of tools that allows you to -compile code for your system. It consists of a compiler (in our case, -gcc), binary utils like assembler and linker (in our case, binutils) -and a C standard library (for example GNU Libc [http://www.gnu.org/ -software/libc/libc.html], uClibc-ng [http://www.uclibc-ng.org/]). - -The system installed on your development station certainly already -has a compilation toolchain that you can use to compile an -application that runs on your system. If you’re using a PC, your -compilation toolchain runs on an x86 processor and generates code for -an x86 processor. Under most Linux systems, the compilation toolchain -uses the GNU libc (glibc) as the C standard library. This compilation -toolchain is called the "host compilation toolchain". The machine on -which it is running, and on which you’re working, is called the "host -system" ^[3]. - -The compilation toolchain is provided by your distribution, and -Buildroot has nothing to do with it (other than using it to build a -cross-compilation toolchain and other tools that are run on the -development host). - -As said above, the compilation toolchain that comes with your system -runs on and generates code for the processor in your host system. As -your embedded system has a different processor, you need a -cross-compilation toolchain - a compilation toolchain that runs on -your host system but generates code for your target system (and -target processor). For example, if your host system uses x86 and your -target system uses ARM, the regular compilation toolchain on your -host runs on x86 and generates code for x86, while the -cross-compilation toolchain runs on x86 and generates code for ARM. - -Buildroot provides two solutions for the cross-compilation toolchain: - - * The internal toolchain backend, called Buildroot toolchain in the - configuration interface. - * The external toolchain backend, called External toolchain in the - configuration interface. - -The choice between these two solutions is done using the Toolchain -Type option in the Toolchain menu. Once one solution has been chosen, -a number of configuration options appear, they are detailed in the -following sections. - -6.1.1. Internal toolchain backend - -The internal toolchain backend is the backend where Buildroot builds -by itself a cross-compilation toolchain, before building the -userspace applications and libraries for your target embedded system. - -This backend supports several C libraries: uClibc-ng [http:// -www.uclibc-ng.org], glibc [http://www.gnu.org/software/libc/ -libc.html] and musl [http://www.musl-libc.org]. - -Once you have selected this backend, a number of options appear. The -most important ones allow to: - - * Change the version of the Linux kernel headers used to build the - toolchain. This item deserves a few explanations. In the process - of building a cross-compilation toolchain, the C library is being - built. This library provides the interface between userspace - applications and the Linux kernel. In order to know how to "talk" - to the Linux kernel, the C library needs to have access to the - Linux kernel headers (i.e. the .h files from the kernel), which - define the interface between userspace and the kernel (system - calls, data structures, etc.). Since this interface is backward - compatible, the version of the Linux kernel headers used to build - your toolchain do not need to match exactly the version of the - Linux kernel you intend to run on your embedded system. They only - need to have a version equal or older to the version of the Linux - kernel you intend to run. If you use kernel headers that are more - recent than the Linux kernel you run on your embedded system, - then the C library might be using interfaces that are not - provided by your Linux kernel. - * Change the version of the GCC compiler, binutils and the C - library. - * Select a number of toolchain options (uClibc only): whether the - toolchain should have RPC support (used mainly for NFS), - wide-char support, locale support (for internationalization), C++ - support or thread support. Depending on which options you choose, - the number of userspace applications and libraries visible in - Buildroot menus will change: many applications and libraries - require certain toolchain options to be enabled. Most packages - show a comment when a certain toolchain option is required to be - able to enable those packages. If needed, you can further refine - the uClibc configuration by running make uclibc-menuconfig. Note - however that all packages in Buildroot are tested against the - default uClibc configuration bundled in Buildroot: if you deviate - from this configuration by removing features from uClibc, some - packages may no longer build. - -It is worth noting that whenever one of those options is modified, -then the entire toolchain and system must be rebuilt. See -Section 8.2, “Understanding when a full rebuild is necessary”. - -Advantages of this backend: - - * Well integrated with Buildroot - * Fast, only builds what’s necessary - -Drawbacks of this backend: - - * Rebuilding the toolchain is needed when doing make clean, which - takes time. If you’re trying to reduce your build time, consider - using the External toolchain backend. - -6.1.2. External toolchain backend - -The external toolchain backend allows to use existing pre-built -cross-compilation toolchains. Buildroot knows about a number of -well-known cross-compilation toolchains (from Linaro [http:// -www.linaro.org] for ARM, Sourcery CodeBench [http://www.mentor.com/ -embedded-software/sourcery-tools/sourcery-codebench/editions/ -lite-edition/] for ARM, x86-64, PowerPC, and MIPS, and is capable of -downloading them automatically, or it can be pointed to a custom -toolchain, either available for download or installed locally. - -Then, you have three solutions to use an external toolchain: - - * Use a predefined external toolchain profile, and let Buildroot - download, extract and install the toolchain. Buildroot already - knows about a few CodeSourcery and Linaro toolchains. Just select - the toolchain profile in Toolchain from the available ones. This - is definitely the easiest solution. - * Use a predefined external toolchain profile, but instead of - having Buildroot download and extract the toolchain, you can tell - Buildroot where your toolchain is already installed on your - system. Just select the toolchain profile in Toolchain through - the available ones, unselect Download toolchain automatically, - and fill the Toolchain path text entry with the path to your - cross-compiling toolchain. - * Use a completely custom external toolchain. This is particularly - useful for toolchains generated using crosstool-NG or with - Buildroot itself. To do this, select the Custom toolchain - solution in the Toolchain list. You need to fill the Toolchain - path, Toolchain prefix and External toolchain C library options. - Then, you have to tell Buildroot what your external toolchain - supports. If your external toolchain uses the glibc library, you - only have to tell whether your toolchain supports C++ or not and - whether it has built-in RPC support. If your external toolchain - uses the uClibc library, then you have to tell Buildroot if it - supports RPC, wide-char, locale, program invocation, threads and - C++. At the beginning of the execution, Buildroot will tell you - if the selected options do not match the toolchain configuration. - -Our external toolchain support has been tested with toolchains from -CodeSourcery and Linaro, toolchains generated by crosstool-NG [http:/ -/crosstool-ng.org], and toolchains generated by Buildroot itself. In -general, all toolchains that support the sysroot feature should work. -If not, do not hesitate to contact the developers. - -We do not support toolchains or SDK generated by OpenEmbedded or -Yocto, because these toolchains are not pure toolchains (i.e. just -the compiler, binutils, the C and C++ libraries). Instead these -toolchains come with a very large set of pre-compiled libraries and -programs. Therefore, Buildroot cannot import the sysroot of the -toolchain, as it would contain hundreds of megabytes of pre-compiled -libraries that are normally built by Buildroot. - -We also do not support using the distribution toolchain (i.e. the gcc -/binutils/C library installed by your distribution) as the toolchain -to build software for the target. This is because your distribution -toolchain is not a "pure" toolchain (i.e. only with the C/C++ -library), so we cannot import it properly into the Buildroot build -environment. So even if you are building a system for a x86 or x86_64 -target, you have to generate a cross-compilation toolchain with -Buildroot or crosstool-NG. - -If you want to generate a custom toolchain for your project, that can -be used as an external toolchain in Buildroot, our recommendation is -to build it either with Buildroot itself (see Section 6.1.3, “Build -an external toolchain with Buildroot”) or with crosstool-NG [http:// -crosstool-ng.org]. - -Advantages of this backend: - - * Allows to use well-known and well-tested cross-compilation - toolchains. - * Avoids the build time of the cross-compilation toolchain, which - is often very significant in the overall build time of an - embedded Linux system. - -Drawbacks of this backend: - - * If your pre-built external toolchain has a bug, may be hard to - get a fix from the toolchain vendor, unless you build your - external toolchain by yourself using Buildroot or Crosstool-NG. - -6.1.3. Build an external toolchain with Buildroot - -The Buildroot internal toolchain option can be used to create an -external toolchain. Here are a series of steps to build an internal -toolchain and package it up for reuse by Buildroot itself (or other -projects). - -Create a new Buildroot configuration, with the following details: - - * Select the appropriate Target options for your target CPU - architecture - * In the Toolchain menu, keep the default of Buildroot toolchain - for Toolchain type, and configure your toolchain as desired - * In the System configuration menu, select None as the Init system - and none as /bin/sh - * In the Target packages menu, disable BusyBox - * In the Filesystem images menu, disable tar the root filesystem - -Then, we can trigger the build, and also ask Buildroot to generate a -SDK. This will conveniently generate for us a tarball which contains -our toolchain: - -make sdk - -This produces the SDK tarball in $(O)/images, with a name similar to -arm-buildroot-linux-uclibcgnueabi_sdk-buildroot.tar.gz. Save this -tarball, as it is now the toolchain that you can re-use as an -external toolchain in other Buildroot projects. - -In those other Buildroot projects, in the Toolchain menu: - - * Set Toolchain type to External toolchain - * Set Toolchain to Custom toolchain - * Set Toolchain origin to Toolchain to be downloaded and installed - * Set Toolchain URL to file:///path/to/your/sdk/tarball.tar.gz - -6.1.3.1. External toolchain wrapper - -When using an external toolchain, Buildroot generates a wrapper -program, that transparently passes the appropriate options (according -to the configuration) to the external toolchain programs. In case you -need to debug this wrapper to check exactly what arguments are -passed, you can set the environment variable BR2_DEBUG_WRAPPER to -either one of: - - * 0, empty or not set: no debug - * 1: trace all arguments on a single line - * 2: trace one argument per line - -6.2. /dev management - -On a Linux system, the /dev directory contains special files, called -device files, that allow userspace applications to access the -hardware devices managed by the Linux kernel. Without these device -files, your userspace applications would not be able to use the -hardware devices, even if they are properly recognized by the Linux -kernel. - -Under System configuration, /dev management, Buildroot offers four -different solutions to handle the /dev directory : - - * The first solution is Static using device table. This is the old - classical way of handling device files in Linux. With this - method, the device files are persistently stored in the root - filesystem (i.e. they persist across reboots), and there is - nothing that will automatically create and remove those device - files when hardware devices are added or removed from the system. - Buildroot therefore creates a standard set of device files using - a device table, the default one being stored in system/ - device_table_dev.txt in the Buildroot source code. This file is - processed when Buildroot generates the final root filesystem - image, and the device files are therefore not visible in the - output/target directory. The BR2_ROOTFS_STATIC_DEVICE_TABLE - option allows to change the default device table used by - Buildroot, or to add an additional device table, so that - additional device files are created by Buildroot during the - build. So, if you use this method, and a device file is missing - in your system, you can for example create a board// - /device_table_dev.txt file that contains the - description of your additional device files, and then you can set - BR2_ROOTFS_STATIC_DEVICE_TABLE to system/device_table_dev.txt - board///device_table_dev.txt. For more - details about the format of the device table file, see - Chapter 25, Makedev syntax documentation. - * The second solution is Dynamic using devtmpfs only. devtmpfs is a - virtual filesystem inside the Linux kernel that has been - introduced in kernel 2.6.32 (if you use an older kernel, it is - not possible to use this option). When mounted in /dev, this - virtual filesystem will automatically make device files appear - and disappear as hardware devices are added and removed from the - system. This filesystem is not persistent across reboots: it is - filled dynamically by the kernel. Using devtmpfs requires the - following kernel configuration options to be enabled: - CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT. When Buildroot is in - charge of building the Linux kernel for your embedded device, it - makes sure that those two options are enabled. However, if you - build your Linux kernel outside of Buildroot, then it is your - responsibility to enable those two options (if you fail to do so, - your Buildroot system will not boot). - * The third solution is Dynamic using devtmpfs + mdev. This method - also relies on the devtmpfs virtual filesystem detailed above (so - the requirement to have CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT - enabled in the kernel configuration still apply), but adds the - mdev userspace utility on top of it. mdev is a program part of - BusyBox that the kernel will call every time a device is added or - removed. Thanks to the /etc/mdev.conf configuration file, mdev - can be configured to for example, set specific permissions or - ownership on a device file, call a script or application whenever - a device appears or disappear, etc. Basically, it allows - userspace to react on device addition and removal events. mdev - can for example be used to automatically load kernel modules when - devices appear on the system. mdev is also important if you have - devices that require a firmware, as it will be responsible for - pushing the firmware contents to the kernel. mdev is a - lightweight implementation (with fewer features) of udev. For - more details about mdev and the syntax of its configuration file, - see http://git.busybox.net/busybox/tree/docs/mdev.txt. - * The fourth solution is Dynamic using devtmpfs + eudev. This - method also relies on the devtmpfs virtual filesystem detailed - above, but adds the eudev userspace daemon on top of it. eudev is - a daemon that runs in the background, and gets called by the - kernel when a device gets added or removed from the system. It is - a more heavyweight solution than mdev, but provides higher - flexibility. eudev is a standalone version of udev, the original - userspace daemon used in most desktop Linux distributions, which - is now part of Systemd. For more details, see http:// - en.wikipedia.org/wiki/Udev. - -The Buildroot developers recommendation is to start with the Dynamic -using devtmpfs only solution, until you have the need for userspace -to be notified when devices are added/removed, or if firmwares are -needed, in which case Dynamic using devtmpfs + mdev is usually a good -solution. - -Note that if systemd is chosen as init system, /dev management will -be performed by the udev program provided by systemd. - -6.3. init system - -The init program is the first userspace program started by the kernel -(it carries the PID number 1), and is responsible for starting the -userspace services and programs (for example: web server, graphical -applications, other network servers, etc.). - -Buildroot allows to use three different types of init systems, which -can be chosen from System configuration, Init system: - - * The first solution is BusyBox. Amongst many programs, BusyBox has - an implementation of a basic init program, which is sufficient - for most embedded systems. Enabling the BR2_INIT_BUSYBOX will - ensure BusyBox will build and install its init program. This is - the default solution in Buildroot. The BusyBox init program will - read the /etc/inittab file at boot to know what to do. The syntax - of this file can be found in http://git.busybox.net/busybox/tree/ - examples/inittab (note that BusyBox inittab syntax is special: do - not use a random inittab documentation from the Internet to learn - about BusyBox inittab). The default inittab in Buildroot is - stored in system/skeleton/etc/inittab. Apart from mounting a few - important filesystems, the main job the default inittab does is - to start the /etc/init.d/rcS shell script, and start a getty - program (which provides a login prompt). - * The second solution is systemV. This solution uses the old - traditional sysvinit program, packed in Buildroot in package/ - sysvinit. This was the solution used in most desktop Linux - distributions, until they switched to more recent alternatives - such as Upstart or Systemd. sysvinit also works with an inittab - file (which has a slightly different syntax than the one from - BusyBox). The default inittab installed with this init solution - is located in package/sysvinit/inittab. - * The third solution is systemd. systemd is the new generation init - system for Linux. It does far more than traditional init - programs: aggressive parallelization capabilities, uses socket - and D-Bus activation for starting services, offers on-demand - starting of daemons, keeps track of processes using Linux control - groups, supports snapshotting and restoring of the system state, - etc. systemd will be useful on relatively complex embedded - systems, for example the ones requiring D-Bus and services - communicating between each other. It is worth noting that systemd - brings a fairly big number of large dependencies: dbus, udev and - more. For more details about systemd, see http:// - www.freedesktop.org/wiki/Software/systemd. - -The solution recommended by Buildroot developers is to use the -BusyBox init as it is sufficient for most embedded systems. systemd -can be used for more complex situations. - - ---------------------------------------------------------------------- - -^[3] This terminology differs from what is used by GNU configure, -where the host is the machine on which the application will run -(which is usually the same as target) - -Chapter 7. Configuration of other components - -Before attempting to modify any of the components below, make sure -you have already configured Buildroot itself, and have enabled the -corresponding package. - -BusyBox - - If you already have a BusyBox configuration file, you can - directly specify this file in the Buildroot configuration, using - BR2_PACKAGE_BUSYBOX_CONFIG. Otherwise, Buildroot will start from - a default BusyBox configuration file. - - To make subsequent changes to the configuration, use make - busybox-menuconfig to open the BusyBox configuration editor. - - It is also possible to specify a BusyBox configuration file - through an environment variable, although this is not - recommended. Refer to Section 8.6, “Environment variables” for - more details. - -uClibc - Configuration of uClibc is done in the same way as for BusyBox. - The configuration variable to specify an existing configuration - file is BR2_UCLIBC_CONFIG. The command to make subsequent changes - is make uclibc-menuconfig. -Linux kernel - - If you already have a kernel configuration file, you can directly - specify this file in the Buildroot configuration, using - BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG. - - If you do not yet have a kernel configuration file, you can - either start by specifying a defconfig in the Buildroot - configuration, using BR2_LINUX_KERNEL_USE_DEFCONFIG, or start by - creating an empty file and specifying it as custom configuration - file, using BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG. - - To make subsequent changes to the configuration, use make - linux-menuconfig to open the Linux configuration editor. - -Barebox - Configuration of Barebox is done in the same way as for the Linux - kernel. The corresponding configuration variables are - BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG and - BR2_TARGET_BAREBOX_USE_DEFCONFIG. To open the configuration - editor, use make barebox-menuconfig. -U-Boot - Configuration of U-Boot (version 2015.04 or newer) is done in the - same way as for the Linux kernel. The corresponding configuration - variables are BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG and - BR2_TARGET_UBOOT_USE_DEFCONFIG. To open the configuration editor, - use make uboot-menuconfig. - -Chapter 8. General Buildroot usage - -8.1. make tips - -This is a collection of tips that help you make the most of -Buildroot. - -Display all commands executed by make:  - - $ make V=1 - -Display the list of boards with a defconfig:  - - $ make list-defconfigs - -Display all available targets:  - - $ make help - -Not all targets are always available, some settings in the .config -file may hide some targets: - - * busybox-menuconfig only works when busybox is enabled; - * linux-menuconfig and linux-savedefconfig only work when linux is - enabled; - * uclibc-menuconfig is only available when the uClibc C library is - selected in the internal toolchain backend; - * barebox-menuconfig and barebox-savedefconfig only work when the - barebox bootloader is enabled. - * uboot-menuconfig and uboot-savedefconfig only work when the - U-Boot bootloader is enabled. - -Cleaning: Explicit cleaning is required when any of the architecture -or toolchain configuration options are changed. - -To delete all build products (including build directories, host, -staging and target trees, the images and the toolchain): - - $ make clean - -Generating the manual: The present manual sources are located in the -docs/manual directory. To generate the manual: - - $ make manual-clean - $ make manual - -The manual outputs will be generated in output/docs/manual. - -Notes - - * A few tools are required to build the documentation (see: - Section 2.2, “Optional packages”). - -Resetting Buildroot for a new target: To delete all build products as -well as the configuration: - - $ make distclean - -Notes. If ccache is enabled, running make clean or distclean does not -empty the compiler cache used by Buildroot. To delete it, refer to -Section 8.14.3, “Using ccache in Buildroot”. - -Dumping the internal make variables: One can dump the variables known -to make, along with their values: - - $ make -s printvars VARS='VARIABLE1 VARIABLE2' - VARIABLE1=value_of_variable - VARIABLE2=value_of_variable - -It is possible to tweak the output using some variables: - - * VARS will limit the listing to variables which names match the - specified make-patterns - this must be set else nothing is - printed - * QUOTED_VARS, if set to YES, will single-quote the value - * RAW_VARS, if set to YES, will print the unexpanded value - -For example: - - $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES - BUSYBOX_DEPENDENCIES=skeleton toolchain - BUSYBOX_FINAL_ALL_DEPENDENCIES=skeleton toolchain - BUSYBOX_FINAL_DEPENDENCIES=skeleton toolchain - BUSYBOX_FINAL_PATCH_DEPENDENCIES= - BUSYBOX_RDEPENDENCIES=ncurses util-linux - - $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES QUOTED_VARS=YES - BUSYBOX_DEPENDENCIES='skeleton toolchain' - BUSYBOX_FINAL_ALL_DEPENDENCIES='skeleton toolchain' - BUSYBOX_FINAL_DEPENDENCIES='skeleton toolchain' - BUSYBOX_FINAL_PATCH_DEPENDENCIES='' - BUSYBOX_RDEPENDENCIES='ncurses util-linux' - - $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES RAW_VARS=YES - BUSYBOX_DEPENDENCIES=skeleton toolchain - BUSYBOX_FINAL_ALL_DEPENDENCIES=$(sort $(BUSYBOX_FINAL_DEPENDENCIES) $(BUSYBOX_FINAL_PATCH_DEPENDENCIES)) - BUSYBOX_FINAL_DEPENDENCIES=$(sort $(BUSYBOX_DEPENDENCIES)) - BUSYBOX_FINAL_PATCH_DEPENDENCIES=$(sort $(BUSYBOX_PATCH_DEPENDENCIES)) - BUSYBOX_RDEPENDENCIES=ncurses util-linux - -The output of quoted variables can be reused in shell scripts, for -example: - - $ eval $(make -s printvars VARS=BUSYBOX_DEPENDENCIES QUOTED_VARS=YES) - $ echo $BUSYBOX_DEPENDENCIES - skeleton toolchain - -8.2. Understanding when a full rebuild is necessary - -Buildroot does not attempt to detect what parts of the system should -be rebuilt when the system configuration is changed through make -menuconfig, make xconfig or one of the other configuration tools. In -some cases, Buildroot should rebuild the entire system, in some -cases, only a specific subset of packages. But detecting this in a -completely reliable manner is very difficult, and therefore the -Buildroot developers have decided to simply not attempt to do this. - -Instead, it is the responsibility of the user to know when a full -rebuild is necessary. As a hint, here are a few rules of thumb that -can help you understand how to work with Buildroot: - - * When the target architecture configuration is changed, a complete - rebuild is needed. Changing the architecture variant, the binary - format or the floating point strategy for example has an impact - on the entire system. - * When the toolchain configuration is changed, a complete rebuild - generally is needed. Changing the toolchain configuration often - involves changing the compiler version, the type of C library or - its configuration, or some other fundamental configuration item, - and these changes have an impact on the entire system. - * When an additional package is added to the configuration, a full - rebuild is not necessarily needed. Buildroot will detect that - this package has never been built, and will build it. However, if - this package is a library that can optionally be used by packages - that have already been built, Buildroot will not automatically - rebuild those. Either you know which packages should be rebuilt, - and you can rebuild them manually, or you should do a full - rebuild. For example, let’s suppose you have built a system with - the ctorrent package, but without openssl. Your system works, but - you realize you would like to have SSL support in ctorrent, so - you enable the openssl package in Buildroot configuration and - restart the build. Buildroot will detect that openssl should be - built and will be build it, but it will not detect that ctorrent - should be rebuilt to benefit from openssl to add OpenSSL support. - You will either have to do a full rebuild, or rebuild ctorrent - itself. - * When a package is removed from the configuration, Buildroot does - not do anything special. It does not remove the files installed - by this package from the target root filesystem or from the - toolchain sysroot. A full rebuild is needed to get rid of this - package. However, generally you don’t necessarily need this - package to be removed right now: you can wait for the next lunch - break to restart the build from scratch. - * When the sub-options of a package are changed, the package is not - automatically rebuilt. After making such changes, rebuilding only - this package is often sufficient, unless enabling the package - sub-option adds some features to the package that are useful for - another package which has already been built. Again, Buildroot - does not track when a package should be rebuilt: once a package - has been built, it is never rebuilt unless explicitly told to do - so. - * When a change to the root filesystem skeleton is made, a full - rebuild is needed. However, when changes to the root filesystem - overlay, a post-build script or a post-image script are made, - there is no need for a full rebuild: a simple make invocation - will take the changes into account. - * When a package listed in FOO_DEPENDENCIES is rebuilt or removed, - the package foo is not automatically rebuilt. For example, if a - package bar is listed in FOO_DEPENDENCIES with FOO_DEPENDENCIES = - bar and the configuration of the bar package is changed, the - configuration change would not result in a rebuild of package foo - automatically. In this scenario, you may need to either rebuild - any packages in your build which reference bar in their - DEPENDENCIES, or perform a full rebuild to ensure any bar - dependent packages are up to date. - -Generally speaking, when you’re facing a build error and you’re -unsure of the potential consequences of the configuration changes -you’ve made, do a full rebuild. If you get the same build error, then -you are sure that the error is not related to partial rebuilds of -packages, and if this error occurs with packages from the official -Buildroot, do not hesitate to report the problem! As your experience -with Buildroot progresses, you will progressively learn when a full -rebuild is really necessary, and you will save more and more time. - -For reference, a full rebuild is achieved by running: - -$ make clean all - -8.3. Understanding how to rebuild packages - -One of the most common questions asked by Buildroot users is how to -rebuild a given package or how to remove a package without rebuilding -everything from scratch. - -Removing a package is unsupported by Buildroot without rebuilding -from scratch. This is because Buildroot doesn’t keep track of which -package installs what files in the output/staging and output/target -directories, or which package would be compiled differently depending -on the availability of another package. - -The easiest way to rebuild a single package from scratch is to remove -its build directory in output/build. Buildroot will then re-extract, -re-configure, re-compile and re-install this package from scratch. -You can ask buildroot to do this with the make -dirclean -command. - -On the other hand, if you only want to restart the build process of a -package from its compilation step, you can run make --rebuild. It will restart the compilation and installation of the -package, but not from scratch: it basically re-executes make and make -install inside the package, so it will only rebuild files that -changed. - -If you want to restart the build process of a package from its -configuration step, you can run make -reconfigure. It will -restart the configuration, compilation and installation of the -package. - -While -rebuild implies -reinstall and --reconfigure implies -rebuild, these targets as well as - only act on the said package, and do not trigger -re-creating the root filesystem image. If re-creating the root -filesystem in necessary, one should in addition run make or make all. - -Internally, Buildroot creates so-called stamp files to keep track of -which build steps have been completed for each package. They are -stored in the package build directory, output/build/- -/ and are named .stamp_. The commands detailed -above simply manipulate these stamp files to force Buildroot to -restart a specific set of steps of a package build process. - -Further details about package special make targets are explained in -Section 8.14.5, “Package-specific make targets”. - -8.4. Offline builds - -If you intend to do an offline build and just want to download all -sources that you previously selected in the configurator (menuconfig, -nconfig, xconfig or gconfig), then issue: - - $ make source - -You can now disconnect or copy the content of your dl directory to -the build-host. - -8.5. Building out-of-tree - -As default, everything built by Buildroot is stored in the directory -output in the Buildroot tree. - -Buildroot also supports building out of tree with a syntax similar to -the Linux kernel. To use it, add O= to the make command -line: - - $ make O=/tmp/build - -Or: - - $ cd /tmp/build; make O=$PWD -C path/to/buildroot - -All the output files will be located under /tmp/build. If the O path -does not exist, Buildroot will create it. - -Note: the O path can be either an absolute or a relative path, but if -it’s passed as a relative path, it is important to note that it is -interpreted relative to the main Buildroot source directory, not the -current working directory. - -When using out-of-tree builds, the Buildroot .config and temporary -files are also stored in the output directory. This means that you -can safely run multiple builds in parallel using the same source tree -as long as they use unique output directories. - -For ease of use, Buildroot generates a Makefile wrapper in the output -directory - so after the first run, you no longer need to pass O=<…> -and -C <…>, simply run (in the output directory): - - $ make - -8.6. Environment variables - -Buildroot also honors some environment variables, when they are -passed to make or set in the environment: - - * HOSTCXX, the host C++ compiler to use - * HOSTCC, the host C compiler to use - * UCLIBC_CONFIG_FILE=, path to the uClibc - configuration file, used to compile uClibc, if an internal - toolchain is being built. Note that the uClibc configuration file - can also be set from the configuration interface, so through the - Buildroot .config file; this is the recommended way of setting - it. - * BUSYBOX_CONFIG_FILE=, path to the BusyBox - configuration file. Note that the BusyBox configuration file can - also be set from the configuration interface, so through the - Buildroot .config file; this is the recommended way of setting - it. - * BR2_CCACHE_DIR to override the directory where Buildroot stores - the cached files when using ccache. - * BR2_DL_DIR to override the directory in which Buildroot stores/ - retrieves downloaded files. Note that the Buildroot download - directory can also be set from the configuration interface, so - through the Buildroot .config file. See Section 8.14.4, “Location - of downloaded packages” for more details on how you can set the - download directory. - * BR2_GRAPH_ALT, if set and non-empty, to use an alternate - color-scheme in build-time graphs - * BR2_GRAPH_OUT to set the filetype of generated graphs, either pdf - (the default), or png. - * BR2_GRAPH_DEPS_OPTS to pass extra options to the dependency - graph; see Section 8.9, “Graphing the dependencies between - packages” for the accepted options - * BR2_GRAPH_DOT_OPTS is passed verbatim as options to the dot - utility to draw the dependency graph. - * BR2_GRAPH_SIZE_OPTS to pass extra options to the size graph; see - Section 8.11, “Graphing the filesystem size contribution of - packages” for the acepted options - -An example that uses config files located in the toplevel directory -and in your $HOME: - - $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config - -If you want to use a compiler other than the default gcc or g++ for -building helper-binaries on your host, then do - - $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD - -8.7. Dealing efficiently with filesystem images - -Filesystem images can get pretty big, depending on the filesystem you -choose, the number of packages, whether you provisioned free space… -Yet, some locations in the filesystems images may just be empty (e.g. -a long run of zeroes); such a file is called a sparse file. - -Most tools can handle sparse files efficiently, and will only store -or write those parts of a sparse file that are not empty. - -For example: - - * tar accepts the -S option to tell it to only store non-zero - blocks of sparse files: - - + tar cf archive.tar -S [files…] will efficiently store sparse - files in a tarball - + tar xf archive.tar -S will efficiently store sparse files - extracted from a tarball - * cp accepts the --sparse=WHEN option (WHEN is one of auto, never - or always): - - + cp --sparse=always source.file dest.file will make dest.file - a sparse file if source.file has long runs of zeroes - -Other tools may have similar options. Please consult their respective -man pages. - -You can use sparse files if you need to store the filesystem images -(e.g. to transfer from one machine to another), or if you need to -send them (e.g. to the Q&A team). - -Note however that flashing a filesystem image to a device while using -the sparse mode of dd may result in a broken filesystem (e.g. the -block bitmap of an ext2 filesystem may be corrupted; or, if you have -sparse files in your filesystem, those parts may not be all-zeroes -when read back). You should only use sparse files when handling files -on the build machine, not when transferring them to an actual device -that will be used on the target. - -8.8. Details about packages - -Buildroot can produce a JSON blurb that describes the set of enabled -packages in the current configuration, together with their -dependencies, licenses and other metadata. This JSON blurb is -produced by using the show-info make target: - -make show-info - -Buildroot can also produce details about packages as HTML and JSON -output using the pkg-stats make target. Amongst other things, these -details include whether known CVEs (security vulnerabilities) affect -the packages in your current configuration. It also shows if there is -a newer upstream version for those packages. - -make pkg-stats - -8.9. Graphing the dependencies between packages - -One of Buildroot’s jobs is to know the dependencies between packages, -and make sure they are built in the right order. These dependencies -can sometimes be quite complicated, and for a given system, it is -often not easy to understand why such or such package was brought -into the build by Buildroot. - -In order to help understanding the dependencies, and therefore better -understand what is the role of the different components in your -embedded Linux system, Buildroot is capable of generating dependency -graphs. - -To generate a dependency graph of the full system you have compiled, -simply run: - -make graph-depends - -You will find the generated graph in output/graphs/graph-depends.pdf. - -If your system is quite large, the dependency graph may be too -complex and difficult to read. It is therefore possible to generate -the dependency graph just for a given package: - -make -graph-depends - -You will find the generated graph in output/graph/ --graph-depends.pdf. - -Note that the dependency graphs are generated using the dot tool from -the Graphviz project, which you must have installed on your system to -use this feature. In most distributions, it is available as the -graphviz package. - -By default, the dependency graphs are generated in the PDF format. -However, by passing the BR2_GRAPH_OUT environment variable, you can -switch to other output formats, such as PNG, PostScript or SVG. All -formats supported by the -T option of the dot tool are supported. - -BR2_GRAPH_OUT=svg make graph-depends - -The graph-depends behaviour can be controlled by setting options in -the BR2_GRAPH_DEPS_OPTS environment variable. The accepted options -are: - - * --depth N, -d N, to limit the dependency depth to N levels. The - default, 0, means no limit. - * --stop-on PKG, -s PKG, to stop the graph on the package PKG. PKG - can be an actual package name, a glob, the keyword virtual (to - stop on virtual packages), or the keyword host (to stop on host - packages). The package is still present on the graph, but its - dependencies are not. - * --exclude PKG, -x PKG, like --stop-on, but also omits PKG from - the graph. - * --transitive, --no-transitive, to draw (or not) the transitive - dependencies. The default is to not draw transitive dependencies. - * --colors R,T,H, the comma-separated list of colors to draw the - root package (R), the target packages (T) and the host packages - (H). Defaults to: lightblue,grey,gainsboro - -BR2_GRAPH_DEPS_OPTS='-d 3 --no-transitive --colors=red,green,blue' make graph-depends - -8.10. Graphing the build duration - -When the build of a system takes a long time, it is sometimes useful -to be able to understand which packages are the longest to build, to -see if anything can be done to speed up the build. In order to help -such build time analysis, Buildroot collects the build time of each -step of each package, and allows to generate graphs from this data. - -To generate the build time graph after a build, run: - -make graph-build - -This will generate a set of files in output/graphs : - - * build.hist-build.pdf, a histogram of the build time for each - package, ordered in the build order. - * build.hist-duration.pdf, a histogram of the build time for each - package, ordered by duration (longest first) - * build.hist-name.pdf, a histogram of the build time for each - package, order by package name. - * build.pie-packages.pdf, a pie chart of the build time per package - * build.pie-steps.pdf, a pie chart of the global time spent in each - step of the packages build process. - -This graph-build target requires the Python Matplotlib and Numpy -libraries to be installed (python-matplotlib and python-numpy on most -distributions), and also the argparse module if you’re using a Python -version older than 2.7 (python-argparse on most distributions). - -By default, the output format for the graph is PDF, but a different -format can be selected using the BR2_GRAPH_OUT environment variable. -The only other format supported is PNG: - -BR2_GRAPH_OUT=png make graph-build - -8.11. Graphing the filesystem size contribution of packages - -When your target system grows, it is sometimes useful to understand -how much each Buildroot package is contributing to the overall root -filesystem size. To help with such an analysis, Buildroot collects -data about files installed by each package and using this data, -generates a graph and CSV files detailing the size contribution of -the different packages. - -To generate these data after a build, run: - -make graph-size - -This will generate: - - * output/graphs/graph-size.pdf, a pie chart of the contribution of - each package to the overall root filesystem size - * output/graphs/package-size-stats.csv, a CSV file giving the size - contribution of each package to the overall root filesystem size - * output/graphs/file-size-stats.csv, a CSV file giving the size - contribution of each installed file to the package it belongs, - and to the overall filesystem size. - -This graph-size target requires the Python Matplotlib library to be -installed (python-matplotlib on most distributions), and also the -argparse module if you’re using a Python version older than 2.7 -(python-argparse on most distributions). - -Just like for the duration graph, a BR2_GRAPH_OUT environment -variable is supported to adjust the output file format. See -Section 8.9, “Graphing the dependencies between packages” for details -about this environment variable. - -Additionally, one may set the environment variable -BR2_GRAPH_SIZE_OPTS to further control the generated graph. Accepted -options are: - - * --size-limit X, -l X, will group all packages which individual - contribution is below X percent, to a single entry labelled - Others in the graph. By default, X=0.01, which means packages - each contributing less than 1% are grouped under Others. Accepted - values are in the range [0.0..1.0]. - * --iec, --binary, --si, --decimal, to use IEC (binary, powers of - 1024) or SI (decimal, powers of 1000; the default) prefixes. - * --biggest-first, to sort packages in decreasing size order, - rather than in increasing size order. - -Note. The collected filesystem size data is only meaningful after a -complete clean rebuild. Be sure to run make clean all before using -make graph-size. - -To compare the root filesystem size of two different Buildroot -compilations, for example after adjusting the configuration or when -switching to another Buildroot release, use the size-stats-compare -script. It takes two file-size-stats.csv files (produced by make -graph-size) as input. Refer to the help text of this script for more -details: - -utils/size-stats-compare -h - -8.12. Top-level parallel build - -Note. This section deals with a very experimental feature, which is -known to break even in some non-unusual situations. Use at your own -risk. - -Buildroot has always been capable of using parallel build on a per -package basis: each package is built by Buildroot using make -jN (or -the equivalent invocation for non-make-based build systems). The -level of parallelism is by default number of CPUs + 1, but it can be -adjusted using the BR2_JLEVEL configuration option. - -Until 2020.02, Buildroot was however building packages in a serial -fashion: each package was built one after the other, without -parallelization of the build between packages. As of 2020.02, -Buildroot has experimental support for top-level parallel build, -which allows some signicant build time savings by building packages -that have no dependency relationship in parallel. This feature is -however marked as experimental and is known not to work in some -cases. - -In order to use top-level parallel build, one must: - - 1. Enable the option BR2_PER_PACKAGE_DIRECTORIES in the Buildroot - configuration - 2. Use make -jN when starting the Buildroot build - -Internally, the BR2_PER_PACKAGE_DIRECTORIES will enable a mechanism -called per-package directories, which will have the following -effects: - - * Instead of a global target directory and a global host directory - common to all packages, per-package target and host directories - will be used, in $(O)/per-package//target/ and $(O)/ - per-package//host/ respectively. Those folders will be - populated from the corresponding folders of the package - dependencies at the beginning of build. The compiler and - all other tools will therefore only be able to see and access - files installed by dependencies explicitly listed by . - * At the end of the build, the global target and host directories - will be populated, located in $(O)/target and $(O)/host - respectively. This means that during the build, those folders - will be empty and it’s only at the very end of the build that - they will be populated. - -8.13. Integration with Eclipse - -While a part of the embedded Linux developers like classical text -editors like Vim or Emacs, and command-line based interfaces, a -number of other embedded Linux developers like richer graphical -interfaces to do their development work. Eclipse being one of the -most popular Integrated Development Environment, Buildroot integrates -with Eclipse in order to ease the development work of Eclipse users. - -Our integration with Eclipse simplifies the compilation, remote -execution and remote debugging of applications and libraries that are -built on top of a Buildroot system. It does not integrate the -Buildroot configuration and build processes themselves with Eclipse. -Therefore, the typical usage model of our Eclipse integration would -be: - - * Configure your Buildroot system with make menuconfig, make - xconfig or any other configuration interface provided with - Buildroot. - * Build your Buildroot system by running make. - * Start Eclipse to develop, execute and debug your own custom - applications and libraries, that will rely on the libraries built - and installed by Buildroot. - -The Buildroot Eclipse integration installation process and usage is -described in detail at https://github.com/mbats/ -eclipse-buildroot-bundle/wiki. - -8.14. Advanced usage - -8.14.1. Using the generated toolchain outside Buildroot - -You may want to compile, for your target, your own programs or other -software that are not packaged in Buildroot. In order to do this you -can use the toolchain that was generated by Buildroot. - -The toolchain generated by Buildroot is located by default in output/ -host/. The simplest way to use it is to add output/host/bin/ to your -PATH environment variable and then to use ARCH-linux-gcc, -ARCH-linux-objdump, ARCH-linux-ld, etc. - -Alternatively, Buildroot can also export the toolchain and the -development files of all selected packages, as an SDK, by running the -command make sdk. This generates a tarball of the content of the host -directory output/host/, named _sdk-buildroot.tar.gz -(which can be overriden by setting the environment variable -BR2_SDK_PREFIX) and located in the output directory output/images/. - -This tarball can then be distributed to application developers, when -they want to develop their applications that are not (yet) packaged -as a Buildroot package. - -Upon extracting the SDK tarball, the user must run the script -relocate-sdk.sh (located at the top directory of the SDK), to make -sure all paths are updated with the new location. - -Alternatively, if you just want to prepare the SDK without generating -the tarball (e.g. because you will just be moving the host directory, -or will be generating the tarball on your own), Buildroot also allows -you to just prepare the SDK with make prepare-sdk without actually -generating a tarball. - -For your convenience, by selecting the option -BR2_PACKAGE_HOST_ENVIRONMENT_SETUP, you can get a environment-setup -script installed in output/host/ and therefore in your SDK. This -script can be sourced with . your/sdk/path/environment-setup to -export a number of environment variables that will help cross-compile -your projects using the Buildroot SDK: the PATH will contain the SDK -binaries, standard autotools variables will be defined with the -appropriate values, and CONFIGURE_FLAGS will contain basic ./ -configure options to cross-compile autotools projects. It also -provides some useful commands. Note however that once this script is -sourced, the environment is setup only for cross-compilation, and no -longer for native compilation. - -8.14.2. Using gdb in Buildroot - -Buildroot allows to do cross-debugging, where the debugger runs on -the build machine and communicates with gdbserver on the target to -control the execution of the program. - -To achieve this: - - * If you are using an internal toolchain (built by Buildroot), you - must enable BR2_PACKAGE_HOST_GDB, BR2_PACKAGE_GDB and - BR2_PACKAGE_GDB_SERVER. This ensures that both the cross gdb and - gdbserver get built, and that gdbserver gets installed to your - target. - * If you are using an external toolchain, you should enable - BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY, which will copy the - gdbserver included with the external toolchain to the target. If - your external toolchain does not have a cross gdb or gdbserver, - it is also possible to let Buildroot build them, by enabling the - same options as for the internal toolchain backend. - -Now, to start debugging a program called foo, you should run on the -target: - -gdbserver :2345 foo - -This will cause gdbserver to listen on TCP port 2345 for a connection -from the cross gdb. - -Then, on the host, you should start the cross gdb using the following -command line: - -/output/host/bin/-gdb -x /output/staging/usr/share/buildroot/gdbinit foo - -Of course, foo must be available in the current directory, built with -debugging symbols. Typically you start this command from the -directory where foo is built (and not from output/target/ as the -binaries in that directory are stripped). - -The /output/staging/usr/share/buildroot/gdbinit file will -tell the cross gdb where to find the libraries of the target. - -Finally, to connect to the target from the cross gdb: - -(gdb) target remote :2345 - -8.14.3. Using ccache in Buildroot - -ccache [http://ccache.samba.org] is a compiler cache. It stores the -object files resulting from each compilation process, and is able to -skip future compilation of the same source file (with same compiler -and same arguments) by using the pre-existing object files. When -doing almost identical builds from scratch a number of times, it can -nicely speed up the build process. - -ccache support is integrated in Buildroot. You just have to enable -Enable compiler cache in Build options. This will automatically build -ccache and use it for every host and target compilation. - -The cache is located in $HOME/.buildroot-ccache. It is stored outside -of Buildroot output directory so that it can be shared by separate -Buildroot builds. If you want to get rid of the cache, simply remove -this directory. - -You can get statistics on the cache (its size, number of hits, -misses, etc.) by running make ccache-stats. - -The make target ccache-options and the CCACHE_OPTIONS variable -provide more generic access to the ccache. For example - -# set cache limit size -make CCACHE_OPTIONS="--max-size=5G" ccache-options - -# zero statistics counters -make CCACHE_OPTIONS="--zero-stats" ccache-options - -ccache makes a hash of the source files and of the compiler options. -If a compiler option is different, the cached object file will not be -used. Many compiler options, however, contain an absolute path to the -staging directory. Because of this, building in a different output -directory would lead to many cache misses. - -To avoid this issue, buildroot has the Use relative paths option -(BR2_CCACHE_USE_BASEDIR). This will rewrite all absolute paths that -point inside the output directory into relative paths. Thus, changing -the output directory no longer leads to cache misses. - -A disadvantage of the relative paths is that they also end up to be -relative paths in the object file. Therefore, for example, the -debugger will no longer find the file, unless you cd to the output -directory first. - -See the ccache manual’s section on "Compiling in different -directories" [https://ccache.samba.org/manual.html# -_compiling_in_different_directories] for more details about this -rewriting of absolute paths. - -8.14.4. Location of downloaded packages - -The various tarballs that are downloaded by Buildroot are all stored -in BR2_DL_DIR, which by default is the dl directory. If you want to -keep a complete version of Buildroot which is known to be working -with the associated tarballs, you can make a copy of this directory. -This will allow you to regenerate the toolchain and the target -filesystem with exactly the same versions. - -If you maintain several Buildroot trees, it might be better to have a -shared download location. This can be achieved by pointing the -BR2_DL_DIR environment variable to a directory. If this is set, then -the value of BR2_DL_DIR in the Buildroot configuration is overridden. -The following line should be added to <~/.bashrc>. - - export BR2_DL_DIR= - -The download location can also be set in the .config file, with the -BR2_DL_DIR option. Unlike most options in the .config file, this -value is overridden by the BR2_DL_DIR environment variable. - -8.14.5. Package-specific make targets - -Running make builds and installs that particular package -and its dependencies. - -For packages relying on the Buildroot infrastructure, there are -numerous special make targets that can be called independently like -this: - -make - - -The package build targets are (in the order they are executed): - -+------------------------------------------------------------+ -|command/target |Description | -|---------------+--------------------------------------------| -| source |Fetch the source (download the tarball, | -| |clone the source repository, etc) | -|---------------+--------------------------------------------| -| depends |Build and install all dependencies required | -| |to build the package | -|---------------+--------------------------------------------| -| extract |Put the source in the package build | -| |directory (extract the tarball, copy the | -| |source, etc) | -|---------------+--------------------------------------------| -| patch |Apply the patches, if any | -|---------------+--------------------------------------------| -| configure |Run the configure commands, if any | -|---------------+--------------------------------------------| -| build |Run the compilation commands | -|---------------+--------------------------------------------| -|install-staging|target package: Run the installation of the | -| |package in the staging directory, if | -| |necessary | -|---------------+--------------------------------------------| -|install-target |target package: Run the installation of the | -| |package in the target directory, if | -| |necessary | -|---------------+--------------------------------------------| -| install |target package: Run the 2 previous | -| |installation commands | -| | | -| |host package: Run the installation of the | -| |package in the host directory | -+------------------------------------------------------------+ - -Additionally, there are some other useful make targets: - -+------------------------------------------------------------+ -| command/target |Description | -|-----------------------+------------------------------------| -| show-depends |Displays the first-order | -| |dependencies required to build the | -| |package | -|-----------------------+------------------------------------| -|show-recursive-depends |Recursively displays the | -| |dependencies required to build the | -| |package | -|-----------------------+------------------------------------| -| show-rdepends |Displays the first-order reverse | -| |dependencies of the package (i.e | -| |packages that directly depend on it)| -|-----------------------+------------------------------------| -|show-recursive-rdepends|Recursively displays the reverse | -| |dependencies of the package (i.e the| -| |packages that depend on it, directly| -| |or indirectly) | -|-----------------------+------------------------------------| -| graph-depends |Generate a dependency graph of the | -| |package, in the context of the | -| |current Buildroot configuration. See| -| |this section for more details about | -| |dependency graphs. | -|-----------------------+------------------------------------| -| graph-rdepends |Generate a graph of this package | -| |reverse dependencies (i.e the | -| |packages that depend on it, directly| -| |or indirectly) | -|-----------------------+------------------------------------| -| dirclean |Remove the whole package build | -| |directory | -|-----------------------+------------------------------------| -| reinstall |Re-run the install commands | -|-----------------------+------------------------------------| -| rebuild |Re-run the compilation commands - | -| |this only makes sense when using the| -| |OVERRIDE_SRCDIR feature or when you | -| |modified a file directly in the | -| |build directory | -|-----------------------+------------------------------------| -| reconfigure |Re-run the configure commands, then | -| |rebuild - this only makes sense when| -| |using the OVERRIDE_SRCDIR feature or| -| |when you modified a file directly in| -| |the build directory | -+------------------------------------------------------------+ - -8.14.6. Using Buildroot during development - -The normal operation of Buildroot is to download a tarball, extract -it, configure, compile and install the software component found -inside this tarball. The source code is extracted in output/build/ --, which is a temporary directory: whenever make -clean is used, this directory is entirely removed, and re-created at -the next make invocation. Even when a Git or Subversion repository is -used as the input for the package source code, Buildroot creates a -tarball out of it, and then behaves as it normally does with -tarballs. - -This behavior is well-suited when Buildroot is used mainly as an -integration tool, to build and integrate all the components of an -embedded Linux system. However, if one uses Buildroot during the -development of certain components of the system, this behavior is not -very convenient: one would instead like to make a small change to the -source code of one package, and be able to quickly rebuild the system -with Buildroot. - -Making changes directly in output/build/- is not an -appropriate solution, because this directory is removed on make -clean. - -Therefore, Buildroot provides a specific mechanism for this use case: -the _OVERRIDE_SRCDIR mechanism. Buildroot reads an override -file, which allows the user to tell Buildroot the location of the -source for certain packages. - -The default location of the override file is $(CONFIG_DIR)/local.mk, -as defined by the BR2_PACKAGE_OVERRIDE_FILE configuration option. $ -(CONFIG_DIR) is the location of the Buildroot .config file, so -local.mk by default lives side-by-side with the .config file, which -means: - - * In the top-level Buildroot source directory for in-tree builds - (i.e., when O= is not used) - * In the out-of-tree directory for out-of-tree builds (i.e., when O - = is used) - -If a different location than these defaults is required, it can be -specified through the BR2_PACKAGE_OVERRIDE_FILE configuration option. - -In this override file, Buildroot expects to find lines of the form: - -_OVERRIDE_SRCDIR = /path/to/pkg1/sources -_OVERRIDE_SRCDIR = /path/to/pkg2/sources - -For example: - -LINUX_OVERRIDE_SRCDIR = /home/bob/linux/ -BUSYBOX_OVERRIDE_SRCDIR = /home/bob/busybox/ - -When Buildroot finds that for a given package, an -_OVERRIDE_SRCDIR has been defined, it will no longer attempt to -download, extract and patch the package. Instead, it will directly -use the source code available in the specified directory and make -clean will not touch this directory. This allows to point Buildroot -to your own directories, that can be managed by Git, Subversion, or -any other version control system. To achieve this, Buildroot will use -rsync to copy the source code of the component from the specified -_OVERRIDE_SRCDIR to output/build/-custom/. - -This mechanism is best used in conjunction with the make --rebuild and make -reconfigure targets. A make -rebuild all -sequence will rsync the source code from _OVERRIDE_SRCDIR to -output/build/-custom (thanks to rsync, only the modified -files are copied), and restart the build process of just this -package. - -In the example of the linux package above, the developer can then -make a source code change in /home/bob/linux and then run: - -make linux-rebuild all - -and in a matter of seconds gets the updated Linux kernel image in -output/images. Similarly, a change can be made to the BusyBox source -code in /home/bob/busybox, and after: - -make busybox-rebuild all - -the root filesystem image in output/images contains the updated -BusyBox. - -Source trees for big projects often contain hundreds or thousands of -files which are not needed for building, but will slow down the -process of copying the sources with rsync. Optionally, it is possible -define _OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS to skip syncing certain -files from the source tree. For example, when working on the -webkitgtk package, the following will exclude the tests and in-tree -builds from a local WebKit source tree: - -WEBKITGTK_OVERRIDE_SRCDIR = /home/bob/WebKit -WEBKITGTK_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = \ - --exclude JSTests --exclude ManualTests --exclude PerformanceTests \ - --exclude WebDriverTests --exclude WebKitBuild --exclude WebKitLibraries \ - --exclude WebKit.xcworkspace --exclude Websites --exclude Examples - -By default, Buildroot skips syncing of VCS artifacts (e.g., the .git -and .svn directories). Some packages prefer to have these VCS -directories available during build, for example for automatically -determining a precise commit reference for version information. To -undo this built-in filtering at a cost of a slower speed, add these -directories back: - -LINUX_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = --include .git - -Chapter 9. Project-specific customization - -Typical actions you may need to perform for a given project are: - - * configuring Buildroot (including build options and toolchain, - bootloader, kernel, package and filesystem image type selection) - * configuring other components, like the Linux kernel and BusyBox - * customizing the generated target filesystem - - + adding or overwriting files on the target filesystem (using - BR2_ROOTFS_OVERLAY) - + modifying or deleting files on the target filesystem (using - BR2_ROOTFS_POST_BUILD_SCRIPT) - + running arbitrary commands prior to generating the filesystem - image (using BR2_ROOTFS_POST_BUILD_SCRIPT) - + setting file permissions and ownership (using - BR2_ROOTFS_DEVICE_TABLE) - + adding custom devices nodes (using - BR2_ROOTFS_STATIC_DEVICE_TABLE) - * adding custom user accounts (using BR2_ROOTFS_USERS_TABLES) - * running arbitrary commands after generating the filesystem image - (using BR2_ROOTFS_POST_IMAGE_SCRIPT) - * adding project-specific patches to some packages (using - BR2_GLOBAL_PATCH_DIR) - * adding project-specific packages - -An important note regarding such project-specific customizations: -please carefully consider which changes are indeed project-specific -and which changes are also useful to developers outside your project. -The Buildroot community highly recommends and encourages the -upstreaming of improvements, packages and board support to the -official Buildroot project. Of course, it is sometimes not possible -or desirable to upstream because the changes are highly specific or -proprietary. - -This chapter describes how to make such project-specific -customizations in Buildroot and how to store them in a way that you -can build the same image in a reproducible way, even after running -make clean. By following the recommended strategy, you can even use -the same Buildroot tree to build multiple distinct projects! - -9.1. Recommended directory structure - -When customizing Buildroot for your project, you will be creating one -or more project-specific files that need to be stored somewhere. -While most of these files could be placed in any location as their -path is to be specified in the Buildroot configuration, the Buildroot -developers recommend a specific directory structure which is -described in this section. - -Orthogonal to this directory structure, you can choose where you -place this structure itself: either inside the Buildroot tree, or -outside of it using a br2-external tree. Both options are valid, the -choice is up to you. - -+-- board/ -| +-- / -| +-- / -| +-- linux.config -| +-- busybox.config -| +-- -| +-- post_build.sh -| +-- post_image.sh -| +-- rootfs_overlay/ -| | +-- etc/ -| | +-- -| +-- patches/ -| +-- foo/ -| | +-- -| +-- libbar/ -| +-- -| -+-- configs/ -| +-- _defconfig -| -+-- package/ -| +-- / -| +-- Config.in (if not using a br2-external tree) -| +-- .mk (if not using a br2-external tree) -| +-- package1/ -| | +-- Config.in -| | +-- package1.mk -| +-- package2/ -| +-- Config.in -| +-- package2.mk -| -+-- Config.in (if using a br2-external tree) -+-- external.mk (if using a br2-external tree) -+-- external.desc (if using a br2-external tree) - -Details on the files shown above are given further in this chapter. - -Note: if you choose to place this structure outside of the Buildroot -tree but in a br2-external tree, the and possibly - components may be superfluous and can be left out. - -9.1.1. Implementing layered customizations - -It is quite common for a user to have several related projects that -partly need the same customizations. Instead of duplicating these -customizations for each project, it is recommended to use a layered -customization approach, as explained in this section. - -Almost all of the customization methods available in Buildroot, like -post-build scripts and root filesystem overlays, accept a -space-separated list of items. The specified items are always treated -in order, from left to right. By creating more than one such item, -one for the common customizations and another one for the really -project-specific customizations, you can avoid unnecessary -duplication. Each layer is typically embodied by a separate directory -inside board//. Depending on your projects, you could even -introduce more than two layers. - -An example directory structure for where a user has two customization -layers common and fooboard is: - -+-- board/ - +-- / - +-- common/ - | +-- post_build.sh - | +-- rootfs_overlay/ - | | +-- ... - | +-- patches/ - | +-- ... - | - +-- fooboard/ - +-- linux.config - +-- busybox.config - +-- - +-- post_build.sh - +-- rootfs_overlay/ - | +-- ... - +-- patches/ - +-- ... - -For example, if the user has the BR2_GLOBAL_PATCH_DIR configuration -option set as: - -BR2_GLOBAL_PATCH_DIR="board//common/patches board//fooboard/patches" - -then first the patches from the common layer would be applied, -followed by the patches from the fooboard layer. - -9.2. Keeping customizations outside of Buildroot - -As already briefly mentioned in Section 9.1, “Recommended directory -structure”, you can place project-specific customizations in two -locations: - - * directly within the Buildroot tree, typically maintaining them - using branches in a version control system so that upgrading to a - newer Buildroot release is easy. - * outside of the Buildroot tree, using the br2-external mechanism. - This mechanism allows to keep package recipes, board support and - configuration files outside of the Buildroot tree, while still - having them nicely integrated in the build logic. We call this - location a br2-external tree. This section explains how to use - the br2-external mechanism and what to provide in a br2-external - tree. - -One can tell Buildroot to use one or more br2-external trees by -setting the BR2_EXTERNAL make variable set to the path(s) of the -br2-external tree(s) to use. It can be passed to any Buildroot make -invocation. It is automatically saved in the hidden .br2-external.mk -file in the output directory. Thanks to this, there is no need to -pass BR2_EXTERNAL at every make invocation. It can however be changed -at any time by passing a new value, and can be removed by passing an -empty value. - -Note. The path to a br2-external tree can be either absolute or -relative. If it is passed as a relative path, it is important to note -that it is interpreted relative to the main Buildroot source -directory, not to the Buildroot output directory. - -Note: If using an br2-external tree from before Buildroot 2016.11, -you need to convert it before you can use it with Buildroot 2016.11 -onward. See Section 27.1, “Migrating to 2016.11” for help on doing -so. - -Some examples: - -buildroot/ $ make BR2_EXTERNAL=/path/to/foo menuconfig - -From now on, definitions from the /path/to/foo br2-external tree will -be used: - -buildroot/ $ make -buildroot/ $ make legal-info - -We can switch to another br2-external tree at any time: - -buildroot/ $ make BR2_EXTERNAL=/where/we/have/bar xconfig - -We can also use multiple br2-external trees: - -buildroot/ $ make BR2_EXTERNAL=/path/to/foo:/where/we/have/bar menuconfig - -Or disable the usage of any br2-external tree: - -buildroot/ $ make BR2_EXTERNAL= xconfig - -9.2.1. Layout of a br2-external tree - -A br2-external tree must contain at least those three files, -described in the following chapters: - - * external.desc - * external.mk - * Config.in - -Apart from those mandatory files, there may be additional and -optional content that may be present in a br2-external tree, like the -configs/ or provides/ directories. They are described in the -following chapters as well. - -A complete example br2-external tree layout is also described later. - -9.2.1.1. The external.desc file - -That file describes the br2-external tree: the name and description -for that br2-external tree. - -The format for this file is line based, with each line starting by a -keyword, followed by a colon and one or more spaces, followed by the -value assigned to that keyword. There are two keywords currently -recognised: - - * name, mandatory, defines the name for that br2-external tree. - That name must only use ASCII characters in the set [A-Za-z0-9_]; - any other character is forbidden. Buildroot sets the variable - BR2_EXTERNAL_$(NAME)_PATH to the absolute path of the - br2-external tree, so that you can use it to refer to your - br2-external tree. This variable is available both in Kconfig, so - you can use it to source your Kconfig files (see below) and in - the Makefile, so that you can use it to include other Makefiles - (see below) or refer to other files (like data files) from your - br2-external tree. - - Note: Since it is possible to use multiple br2-external trees at - once, this name is used by Buildroot to generate variables for - each of those trees. That name is used to identify your - br2-external tree, so try to come up with a name that really - describes your br2-external tree, in order for it to be - relatively unique, so that it does not clash with another name - from another br2-external tree, especially if you are planning on - somehow sharing your br2-external tree with third parties or - using br2-external trees from third parties. - - * desc, optional, provides a short description for that - br2-external tree. It shall fit on a single line, is mostly - free-form (see below), and is used when displaying information - about a br2-external tree (e.g. above the list of defconfig - files, or as the prompt in the menuconfig); as such, it should - relatively brief (40 chars is probably a good upper limit). The - description is available in the BR2_EXTERNAL_$(NAME)_DESC - variable. - -Examples of names and the corresponding BR2_EXTERNAL_$(NAME)_PATH -variables: - - * FOO → BR2_EXTERNAL_FOO_PATH - * BAR_42 → BR2_EXTERNAL_BAR_42_PATH - -In the following examples, it is assumed the name to be set to -BAR_42. - -Note: Both BR2_EXTERNAL_$(NAME)_PATH and BR2_EXTERNAL_$(NAME)_DESC -are available in the Kconfig files and the Makefiles. They are also -exported in the environment so are available in post-build, -post-image and in-fakeroot scripts. - -9.2.1.2. The Config.in and external.mk files - -Those files (which may each be empty) can be used to define package -recipes (i.e. foo/Config.in and foo/foo.mk like for packages bundled -in Buildroot itself) or other custom configuration options or make -logic. - -Buildroot automatically includes the Config.in from each br2-external -tree to make it appear in the top-level configuration menu, and -includes the external.mk from each br2-external tree with the rest of -the makefile logic. - -The main usage of this is to store package recipes. The recommended -way to do this is to write a Config.in file that looks like: - -source "$BR2_EXTERNAL_BAR_42_PATH/package/package1/Config.in" -source "$BR2_EXTERNAL_BAR_42_PATH/package/package2/Config.in" - -Then, have an external.mk file that looks like: - -include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk)) - -And then in $(BR2_EXTERNAL_BAR_42_PATH)/package/package1 and $ -(BR2_EXTERNAL_BAR_42_PATH)/package/package2 create normal Buildroot -package recipes, as explained in Chapter 18, Adding new packages to -Buildroot. If you prefer, you can also group the packages in -subdirectories called and adapt the above paths -accordingly. - -You can also define custom configuration options in Config.in and -custom make logic in external.mk. - -9.2.1.3. The configs/ directory - -One can store Buildroot defconfigs in the configs subdirectory of the -br2-external tree. Buildroot will automatically show them in the -output of make list-defconfigs and allow them to be loaded with the -normal make _defconfig command. They will be visible in the -make list-defconfigs output, below an External configs label that -contains the name of the br2-external tree they are defined in. - -Note: If a defconfig file is present in more than one br2-external -tree, then the one from the last br2-external tree is used. It is -thus possible to override a defconfig bundled in Buildroot or another -br2-external tree. - -9.2.1.4. The provides/ directory - -For some packages, Buildroot provides a choice between two (or more) -implementations of API-compatible such packages. For example, there -is a choice to choose either libjpeg ot jpeg-turbo; there is one -between openssl or libressl; there is one to select one of the known, -pre-configured toolchains… - -It is possible for a br2-external to extend those choices, by -providing a set of files that define those alternatives: - - * provides/toolchains.in defines the pre-configured toolchains, - which will then be listed in the toolchain selection; - * provides/jpeg.in defines the alternative libjpeg implementations; - * provides/openssl.in defines the alternative openssl - implementations; - * provides/skeleton.in defines the alternative skeleton - implementations; - * provides/init.in defines the alternative init system - implementations, this can be used to select a default skeleton - for your init. - -9.2.1.5. Free-form content - -One can store all the board-specific configuration files there, such -as the kernel configuration, the root filesystem overlay, or any -other configuration file for which Buildroot allows to set the -location (by using the BR2_EXTERNAL_$(NAME)_PATH variable). For -example, you could set the paths to a global patch directory, to a -rootfs overlay and to the kernel configuration file as follows (e.g. -by running make menuconfig and filling in these options): - -BR2_GLOBAL_PATCH_DIR=$(BR2_EXTERNAL_BAR_42_PATH)/patches/ -BR2_ROOTFS_OVERLAY=$(BR2_EXTERNAL_BAR_42_PATH)/board//overlay/ -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=$(BR2_EXTERNAL_BAR_42_PATH)/board//kernel.config - -9.2.1.6. Additional Linux kernel extensions - -Additional Linux kernel extensions (see Section 18.21.2, -“linux-kernel-extensions”) can be added by storing them in the linux/ -directory at the root of a br2-external tree. - -9.2.1.7. Example layout - -Here is an example layout using all features of br2-external (the -sample content is shown for the file above it, when it is relevant to -explain the br2-external tree; this is all entirely made up just for -the sake of illustration, of course): - -/path/to/br2-ext-tree/ - |- external.desc - | |name: BAR_42 - | |desc: Example br2-external tree - | `---- - | - |- Config.in - | |source "$BR2_EXTERNAL_BAR_42_PATH/toolchain/toolchain-external-mine/Config.in.options" - | |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-1/Config.in" - | |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-2/Config.in" - | |source "$BR2_EXTERNAL_BAR_42_PATH/package/my-jpeg/Config.in" - | | - | |config BAR_42_FLASH_ADDR - | | hex "my-board flash address" - | | default 0x10AD - | `---- - | - |- external.mk - | |include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk)) - | |include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/toolchain/*/*.mk)) - | | - | |flash-my-board: - | | $(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/flash-image \ - | | --image $(BINARIES_DIR)/image.bin \ - | | --address $(BAR_42_FLASH_ADDR) - | `---- - | - |- package/pkg-1/Config.in - | |config BR2_PACKAGE_PKG_1 - | | bool "pkg-1" - | | help - | | Some help about pkg-1 - | `---- - |- package/pkg-1/pkg-1.hash - |- package/pkg-1/pkg-1.mk - | |PKG_1_VERSION = 1.2.3 - | |PKG_1_SITE = /some/where/to/get/pkg-1 - | |PKG_1_LICENSE = blabla - | | - | |define PKG_1_INSTALL_INIT_SYSV - | | $(INSTALL) -D -m 0755 $(PKG_1_PKGDIR)/S99my-daemon \ - | | $(TARGET_DIR)/etc/init.d/S99my-daemon - | |endef - | | - | |$(eval $(autotools-package)) - | `---- - |- package/pkg-1/S99my-daemon - | - |- package/pkg-2/Config.in - |- package/pkg-2/pkg-2.hash - |- package/pkg-2/pkg-2.mk - | - |- provides/jpeg.in - | |config BR2_PACKAGE_MY_JPEG - | | bool "my-jpeg" - | `---- - |- package/my-jpeg/Config.in - | |config BR2_PACKAGE_PROVIDES_JPEG - | | default "my-jpeg" if BR2_PACKAGE_MY_JPEG - | `---- - |- package/my-jpeg/my-jpeg.mk - | |# This is a normal package .mk file - | |MY_JPEG_VERSION = 1.2.3 - | |MY_JPEG_SITE = https://example.net/some/place - | |MY_JPEG_PROVIDES = jpeg - | |$(eval $(autotools-package)) - | `---- - | - |- provides/init.in - | |config BR2_INIT_MINE - | | bool "my custom init" - | | select BR2_PACKAGE_MY_INIT - | | select BR2_PACKAGE_SKELETON_INIT_MINE if BR2_ROOTFS_SKELETON_DEFAULT - | `---- - | - |- provides/skeleton.in - | |config BR2_ROOTFS_SKELETON_MINE - | | bool "my custom skeleton" - | | select BR2_PACKAGE_SKELETON_MINE - | `---- - |- package/skeleton-mine/Config.in - | |config BR2_PACKAGE_SKELETON_MINE - | | bool - | | select BR2_PACKAGE_HAS_SKELETON - | | - | |config BR2_PACKAGE_PROVIDES_SKELETON - | | default "skeleton-mine" if BR2_PACKAGE_SKELETON_MINE - | `---- - |- package/skeleton-mine/skeleton-mine.mk - | |SKELETON_MINE_ADD_TOOLCHAIN_DEPENDENCY = NO - | |SKELETON_MINE_ADD_SKELETON_DEPENDENCY = NO - | |SKELETON_MINE_PROVIDES = skeleton - | |SKELETON_MINE_INSTALL_STAGING = YES - | |$(eval $(generic-package)) - | `---- - | - |- provides/toolchains.in - | |config BR2_TOOLCHAIN_EXTERNAL_MINE - | | bool "my custom toolchain" - | | depends on BR2_some_arch - | | select BR2_INSTALL_LIBSTDCPP - | `---- - |- toolchain/toolchain-external-mine/Config.in.options - | |if BR2_TOOLCHAIN_EXTERNAL_MINE - | |config BR2_TOOLCHAIN_EXTERNAL_PREFIX - | | default "arch-mine-linux-gnu" - | |config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL - | | default "toolchain-external-mine" - | |endif - | `---- - |- toolchain/toolchain-external-mine/toolchain-external-mine.mk - | |TOOLCHAIN_EXTERNAL_MINE_SITE = https://example.net/some/place - | |TOOLCHAIN_EXTERNAL_MINE_SOURCE = my-toolchain.tar.gz - | |$(eval $(toolchain-external-package)) - | `---- - | - |- linux/Config.ext.in - | |config BR2_LINUX_KERNEL_EXT_EXAMPLE_DRIVER - | | bool "example-external-driver" - | | help - | | Example external driver - | |--- - |- linux/linux-ext-example-driver.mk - | - |- configs/my-board_defconfig - | |BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_BAR_42_PATH)/patches/" - | |BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/overlay/" - | |BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/post-image.sh" - | |BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/kernel.config" - | `---- - | - |- patches/linux/0001-some-change.patch - |- patches/linux/0002-some-other-change.patch - |- patches/busybox/0001-fix-something.patch - | - |- board/my-board/kernel.config - |- board/my-board/overlay/var/www/index.html - |- board/my-board/overlay/var/www/my.css - |- board/my-board/flash-image - `- board/my-board/post-image.sh - |#!/bin/sh - |generate-my-binary-image \ - | --root ${BINARIES_DIR}/rootfs.tar \ - | --kernel ${BINARIES_DIR}/zImage \ - | --dtb ${BINARIES_DIR}/my-board.dtb \ - | --output ${BINARIES_DIR}/image.bin - `---- - -The br2-external tree will then be visible in the menuconfig (with -the layout expanded): - -External options ---> - *** Example br2-external tree (in /path/to/br2-ext-tree/) - [ ] pkg-1 - [ ] pkg-2 - (0x10AD) my-board flash address - -If you are using more than one br2-external tree, it would look like -(with the layout expanded and the second one with name FOO_27 but no -desc: field in external.desc): - -External options ---> - Example br2-external tree ---> - *** Example br2-external tree (in /path/to/br2-ext-tree) - [ ] pkg-1 - [ ] pkg-2 - (0x10AD) my-board flash address - FOO_27 ---> - *** FOO_27 (in /path/to/another-br2-ext) - [ ] foo - [ ] bar - -Additionally, the jpeg provider will be visible in the jpeg choice: - -Target packages ---> - Libraries ---> - Graphics ---> - [*] jpeg support - jpeg variant () ---> - ( ) jpeg - ( ) jpeg-turbo - *** jpeg from: Example br2-external tree *** - (X) my-jpeg - *** jpeg from: FOO_27 *** - ( ) another-jpeg - -And similarly for the toolchains: - -Toolchain ---> - Toolchain () ---> - ( ) Custom toolchain - *** Toolchains from: Example br2-external tree *** - (X) my custom toolchain - -Note. The toolchain options in toolchain/toolchain-external-mine/ -Config.in.options will not appear in the Toolchain menu. They must be -explicitly included from within the br2-external’s top-level -Config.in and will thus appear in the External options menu. - -9.3. Storing the Buildroot configuration - -The Buildroot configuration can be stored using the command make -savedefconfig. - -This strips the Buildroot configuration down by removing -configuration options that are at their default value. The result is -stored in a file called defconfig. If you want to save it in another -place, change the BR2_DEFCONFIG option in the Buildroot configuration -itself, or call make with make savedefconfig BR2_DEFCONFIG= -. - -The recommended place to store this defconfig is configs/ -_defconfig. If you follow this recommendation, the configuration will -be listed in make help and can be set again by running make -_defconfig. - -Alternatively, you can copy the file to any other place and rebuild -with make defconfig BR2_DEFCONFIG=. - -9.4. Storing the configuration of other components - -The configuration files for BusyBox, the Linux kernel, Barebox, -U-Boot and uClibc should be stored as well if changed. For each of -these components, a Buildroot configuration option exists to point to -an input configuration file, e.g. -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. To store their configuration, -set these configuration options to a path where you want to save the -configuration files, and then use the helper targets described below -to actually store the configuration. - -As explained in Section 9.1, “Recommended directory structure”, the -recommended path to store these configuration files is board/ -//foo.config. - -Make sure that you create a configuration file before changing the -BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE etc. options. Otherwise, -Buildroot will try to access this config file, which doesn’t exist -yet, and will fail. You can create the configuration file by running -make linux-menuconfig etc. - -Buildroot provides a few helper targets to make the saving of -configuration files easier. - - * make linux-update-defconfig saves the linux configuration to the - path specified by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. It - simplifies the config file by removing default values. However, - this only works with kernels starting from 2.6.33. For earlier - kernels, use make linux-update-config. - * make busybox-update-config saves the busybox configuration to the - path specified by BR2_PACKAGE_BUSYBOX_CONFIG. - * make uclibc-update-config saves the uClibc configuration to the - path specified by BR2_UCLIBC_CONFIG. - * make barebox-update-defconfig saves the barebox configuration to - the path specified by BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE. - * make uboot-update-defconfig saves the U-Boot configuration to the - path specified by BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE. - * For at91bootstrap3, no helper exists so you have to copy the - config file manually to - BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE. - -9.5. Customizing the generated target filesystem - -Besides changing the configuration through make *config, there are a -few other ways to customize the resulting target filesystem. - -The two recommended methods, which can co-exist, are root filesystem -overlay(s) and post build script(s). - -Root filesystem overlays (BR2_ROOTFS_OVERLAY) - - A filesystem overlay is a tree of files that is copied directly - over the target filesystem after it has been built. To enable - this feature, set config option BR2_ROOTFS_OVERLAY (in the System - configuration menu) to the root of the overlay. You can even - specify multiple overlays, space-separated. If you specify a - relative path, it will be relative to the root of the Buildroot - tree. Hidden directories of version control systems, like .git, - .svn, .hg, etc., files called .empty and files ending in ~ are - excluded from the copy. - - When BR2_ROOTFS_MERGED_USR is enabled, then the overlay must not - contain the /bin, /lib or /sbin directories, as Buildroot will - create them as symbolic links to the relevant folders in /usr. In - such a situation, should the overlay have any programs or - libraries, they should be placed in /usr/bin, /usr/sbin and /usr/ - lib. - - As shown in Section 9.1, “Recommended directory structure”, the - recommended path for this overlay is board/// - rootfs-overlay. - -Post-build scripts (BR2_ROOTFS_POST_BUILD_SCRIPT) - - Post-build scripts are shell scripts called after Buildroot - builds all the selected software, but before the rootfs images - are assembled. To enable this feature, specify a space-separated - list of post-build scripts in config option - BR2_ROOTFS_POST_BUILD_SCRIPT (in the System configuration menu). - If you specify a relative path, it will be relative to the root - of the Buildroot tree. - - Using post-build scripts, you can remove or modify any file in - your target filesystem. You should, however, use this feature - with care. Whenever you find that a certain package generates - wrong or unneeded files, you should fix that package rather than - work around it with some post-build cleanup scripts. - - As shown in Section 9.1, “Recommended directory structure”, the - recommended path for this script is board/// - post_build.sh. - - The post-build scripts are run with the main Buildroot tree as - current working directory. The path to the target filesystem is - passed as the first argument to each script. If the config option - BR2_ROOTFS_POST_SCRIPT_ARGS is not empty, these arguments will be - passed to the script too. All the scripts will be passed the - exact same set of arguments, it is not possible to pass different - sets of arguments to each script. - - In addition, you may also use these environment variables: - - + BR2_CONFIG: the path to the Buildroot .config file - + CONFIG_DIR: the directory containing the .config file, and - therefore the top-level Buildroot Makefile to use (which is - correct for both in-tree and out-of-tree builds) - + HOST_DIR, STAGING_DIR, TARGET_DIR: see Section 18.5.2, - “generic-package reference” - + BUILD_DIR: the directory where packages are extracted and - built - + BINARIES_DIR: the place where all binary files (aka images) - are stored - + BASE_DIR: the base output directory - -Below three more methods of customizing the target filesystem are -described, but they are not recommended. - -Direct modification of the target filesystem - - For temporary modifications, you can modify the target filesystem - directly and rebuild the image. The target filesystem is - available under output/target/. After making your changes, run - make to rebuild the target filesystem image. - - This method allows you to do anything to the target filesystem, - but if you need to clean your Buildroot tree using make clean, - these changes will be lost. Such cleaning is necessary in several - cases, refer to Section 8.2, “Understanding when a full rebuild - is necessary” for details. This solution is therefore only useful - for quick tests: changes do not survive the make clean command. - Once you have validated your changes, you should make sure that - they will persist after a make clean, using a root filesystem - overlay or a post-build script. - -Custom target skeleton (BR2_ROOTFS_SKELETON_CUSTOM) - - The root filesystem image is created from a target skeleton, on - top of which all packages install their files. The skeleton is - copied to the target directory output/target before any package - is built and installed. The default target skeleton provides the - standard Unix filesystem layout and some basic init scripts and - configuration files. - - If the default skeleton (available under system/skeleton) does - not match your needs, you would typically use a root filesystem - overlay or post-build script to adapt it. However, if the default - skeleton is entirely different than what you need, using a custom - skeleton may be more suitable. - - To enable this feature, enable config option - BR2_ROOTFS_SKELETON_CUSTOM and set - BR2_ROOTFS_SKELETON_CUSTOM_PATH to the path of your custom - skeleton. Both options are available in the System configuration - menu. If you specify a relative path, it will be relative to the - root of the Buildroot tree. - - Custom skeletons don’t need to contain the /bin, /lib or /sbin - directories, since they are created automatically during the - build. When BR2_ROOTFS_MERGED_USR is enabled, then the custom - skeleton must not contain the /bin, /lib or /sbin directories, as - Buildroot will create them as symbolic links to the relevant - folders in /usr. In such a situation, should the skeleton have - any programs or libraries, they should be placed in /usr/bin, / - usr/sbin and /usr/lib. - - This method is not recommended because it duplicates the entire - skeleton, which prevents taking advantage of the fixes or - improvements brought to the default skeleton in later Buildroot - releases. - -Post-fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) - - When aggregating the final images, some parts of the process - requires root rights: creating device nodes in /dev, setting - permissions or ownership to files and directories… To avoid - requiring actual root rights, Buildroot uses fakeroot to simulate - root rights. This is not a complete substitute for actually being - root, but is enough for what Buildroot needs. - - Post-fakeroot scripts are shell scripts that are called at the - end of the fakeroot phase, right before the filesystem image - generator is called. As such, they are called in the fakeroot - context. - - Post-fakeroot scripts can be useful in case you need to tweak the - filesystem to do modifications that are usually only available to - the root user. - - Note: It is recommended to use the existing mechanisms to set - file permissions or create entries in /dev (see Section 9.5.1, - “Setting file permissions and ownership and adding custom devices - nodes”) or to create users (see Section 9.6, “Adding custom user - accounts”) - - Note: The difference between post-build scripts (above) and - fakeroot scripts, is that post-build scripts are not called in - the fakeroot context. - - Note: Using fakeroot is not an absolute substitute for actually - being root. fakeroot only ever fakes the file access rights and - types (regular, block-or-char device…) and uid/gid; these are - emulated in-memory. - -9.5.1. Setting file permissions and ownership and adding custom -devices nodes - -Sometimes it is needed to set specific permissions or ownership on -files or device nodes. For example, certain files may need to be -owned by root. Since the post-build scripts are not run as root, you -cannot do such changes from there unless you use an explicit fakeroot -from the post-build script. - -Instead, Buildroot provides support for so-called permission tables. -To use this feature, set config option BR2_ROOTFS_DEVICE_TABLE to a -space-separated list of permission tables, regular text files -following the makedev syntax. - -If you are using a static device table (i.e. not using devtmpfs, -mdev, or (e)udev) then you can add device nodes using the same -syntax, in so-called device tables. To use this feature, set config -option BR2_ROOTFS_STATIC_DEVICE_TABLE to a space-separated list of -device tables. - -As shown in Section 9.1, “Recommended directory structure”, the -recommended location for such files is board///. - -It should be noted that if the specific permissions or device nodes -are related to a specific application, you should set variables -FOO_PERMISSIONS and FOO_DEVICES in the package’s .mk file instead -(see Section 18.5.2, “generic-package reference”). - -9.6. Adding custom user accounts - -Sometimes it is needed to add specific users in the target system. To -cover this requirement, Buildroot provides support for so-called -users tables. To use this feature, set config option -BR2_ROOTFS_USERS_TABLES to a space-separated list of users tables, -regular text files following the makeusers syntax. - -As shown in Section 9.1, “Recommended directory structure”, the -recommended location for such files is board///. - -It should be noted that if the custom users are related to a specific -application, you should set variable FOO_USERS in the package’s .mk -file instead (see Section 18.5.2, “generic-package reference”). - -9.7. Customization after the images have been created - -While post-build scripts (Section 9.5, “Customizing the generated -target filesystem”) are run before building the filesystem image, -kernel and bootloader, post-image scripts can be used to perform some -specific actions after all images have been created. - -Post-image scripts can for example be used to automatically extract -your root filesystem tarball in a location exported by your NFS -server, or to create a special firmware image that bundles your root -filesystem and kernel image, or any other custom action required for -your project. - -To enable this feature, specify a space-separated list of post-image -scripts in config option BR2_ROOTFS_POST_IMAGE_SCRIPT (in the System -configuration menu). If you specify a relative path, it will be -relative to the root of the Buildroot tree. - -Just like post-build scripts, post-image scripts are run with the -main Buildroot tree as current working directory. The path to the -images output directory is passed as the first argument to each -script. If the config option BR2_ROOTFS_POST_SCRIPT_ARGS is not -empty, these arguments will be passed to the script too. All the -scripts will be passed the exact same set of arguments, it is not -possible to pass different sets of arguments to each script. - -Again just like for the post-build scripts, the scripts have access -to the environment variables BR2_CONFIG, HOST_DIR, STAGING_DIR, -TARGET_DIR, BUILD_DIR, BINARIES_DIR, CONFIG_DIR and BASE_DIR. - -The post-image scripts will be executed as the user that executes -Buildroot, which should normally not be the root user. Therefore, any -action requiring root permissions in one of these scripts will -require special handling (usage of fakeroot or sudo), which is left -to the script developer. - -9.8. Adding project-specific patches - -It is sometimes useful to apply extra patches to packages - on top of -those provided in Buildroot. This might be used to support custom -features in a project, for example, or when working on a new -architecture. - -The BR2_GLOBAL_PATCH_DIR configuration option can be used to specify -a space separated list of one or more directories containing package -patches. - -For a specific version of a specific package -, patches are applied from BR2_GLOBAL_PATCH_DIR as -follows: - - 1. For every directory - - that exists in - BR2_GLOBAL_PATCH_DIR, a will be determined as - follows: - - + /// if the - directory exists. - + Otherwise, / if the directory - exists. - 2. Patches will then be applied from a as - follows: - - + If a series file exists in the package directory, then - patches are applied according to the series file; - + Otherwise, patch files matching *.patch are applied in - alphabetical order. So, to ensure they are applied in the - right order, it is highly recommended to name the patch files - like this: -.patch, where - refers to the apply order. - -For information about how patches are applied for a package, see -Section 19.2, “How patches are applied” - -The BR2_GLOBAL_PATCH_DIR option is the preferred method for -specifying a custom patch directory for packages. It can be used to -specify a patch directory for any package in buildroot. It should -also be used in place of the custom patch directory options that are -available for packages such as U-Boot and Barebox. By doing this, it -will allow a user to manage their patches from one top-level -directory. - -The exception to BR2_GLOBAL_PATCH_DIR being the preferred method for -specifying custom patches is BR2_LINUX_KERNEL_PATCH. -BR2_LINUX_KERNEL_PATCH should be used to specify kernel patches that -are available at a URL. Note: BR2_LINUX_KERNEL_PATCH specifies kernel -patches that are applied after patches available in -BR2_GLOBAL_PATCH_DIR, as it is done from a post-patch hook of the -Linux package. - -9.9. Adding project-specific packages - -In general, any new package should be added directly in the package -directory and submitted to the Buildroot upstream project. How to add -packages to Buildroot in general is explained in full detail in -Chapter 18, Adding new packages to Buildroot and will not be repeated -here. However, your project may need some proprietary packages that -cannot be upstreamed. This section will explain how you can keep such -project-specific packages in a project-specific directory. - -As shown in Section 9.1, “Recommended directory structure”, the -recommended location for project-specific packages is package/ -/. If you are using the br2-external tree feature (see -Section 9.2, “Keeping customizations outside of Buildroot”) the -recommended location is to put them in a sub-directory named package/ -in your br2-external tree. - -However, Buildroot will not be aware of the packages in this -location, unless we perform some additional steps. As explained in -Chapter 18, Adding new packages to Buildroot, a package in Buildroot -basically consists of two files: a .mk file (describing how to build -the package) and a Config.in file (describing the configuration -options for this package). - -Buildroot will automatically include the .mk files in first-level -subdirectories of the package directory (using the pattern package/*/ -*.mk). If we want Buildroot to include .mk files from deeper -subdirectories (like package//package1/) then we simply have -to add a .mk file in a first-level subdirectory that includes these -additional .mk files. Therefore, create a file package// -.mk with following contents (assuming you have only one -extra directory level below package//): - -include $(sort $(wildcard package//*/*.mk)) - -For the Config.in files, create a file package//Config.in -that includes the Config.in files of all your packages. An exhaustive -list has to be provided since wildcards are not supported in the -source command of kconfig. For example: - -source "package//package1/Config.in" -source "package//package2/Config.in" - -Include this new file package//Config.in from package/ -Config.in, preferably in a company-specific menu to make merges with -future Buildroot versions easier. - -If using a br2-external tree, refer to Section 9.2, “Keeping -customizations outside of Buildroot” for how to fill in those files. - -9.10. Quick guide to storing your project-specific customizations - -Earlier in this chapter, the different methods for making -project-specific customizations have been described. This section -will now summarize all this by providing step-by-step instructions to -storing your project-specific customizations. Clearly, the steps that -are not relevant to your project can be skipped. - - 1. make menuconfig to configure toolchain, packages and kernel. - 2. make linux-menuconfig to update the kernel config, similar for - other configuration like busybox, uclibc, … - 3. mkdir -p board// - 4. Set the following options to board/// - .config (as far as they are relevant): - - + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE - + BR2_PACKAGE_BUSYBOX_CONFIG - + BR2_UCLIBC_CONFIG - + BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE - + BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE - + BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE - 5. Write the configuration files: - - + make linux-update-defconfig - + make busybox-update-config - + make uclibc-update-config - + cp /build/at91bootstrap3-*/.config board/ - //at91bootstrap3.config - + make barebox-update-defconfig - + make uboot-update-defconfig - 6. Create board///rootfs-overlay/ and fill - it with additional files you need on your rootfs, e.g. board/ - //rootfs-overlay/etc/inittab. Set - BR2_ROOTFS_OVERLAY to board/// - rootfs-overlay. - 7. Create a post-build script board/// - post_build.sh. Set BR2_ROOTFS_POST_BUILD_SCRIPT to board/ - //post_build.sh - 8. If additional setuid permissions have to be set or device nodes - have to be created, create board/// - device_table.txt and add that path to BR2_ROOTFS_DEVICE_TABLE. - 9. If additional user accounts have to be created, create board/ - //users_table.txt and add that path to - BR2_ROOTFS_USERS_TABLES. -10. To add custom patches to certain packages, set - BR2_GLOBAL_PATCH_DIR to board///patches/ - and add your patches for each package in a subdirectory named - after the package. Each patch should be called - - -.patch. -11. Specifically for the Linux kernel, there also exists the option - BR2_LINUX_KERNEL_PATCH with as main advantage that it can also - download patches from a URL. If you do not need this, - BR2_GLOBAL_PATCH_DIR is preferred. U-Boot, Barebox, at91bootstrap - and at91bootstrap3 also have separate options, but these do not - provide any advantage over BR2_GLOBAL_PATCH_DIR and will likely - be removed in the future. -12. If you need to add project-specific packages, create package/ - / and place your packages in that directory. Create - an overall .mk file that includes the .mk files of - all your packages. Create an overall Config.in file that sources - the Config.in files of all your packages. Include this Config.in - file from Buildroot’s package/Config.in file. -13. make savedefconfig to save the buildroot configuration. -14. cp defconfig configs/_defconfig - -Chapter 10. Using SELinux in Buildroot - -SELinux [https://selinuxproject.org] is a Linux kernel security -module enforcing access control policies. In addition to the -traditional file permissions and access control lists, SELinux allows -to write rules for users or processes to access specific functions of -resources (files, sockets…). - -SELinux has three modes of operation: - - * Disabled: the policy is not applied - * Permissive: the policy is applied, and non-authorized actions are - simply logged. This mode is often used for troubleshooting - SELinux issues. - * Enforcing: the policy is applied, and non-authorized actions are - denied - -In Buildroot the mode of operation is controlled by the -BR2_PACKAGE_REFPOLICY_POLICY_STATE_* configuration options. The Linux -kernel also has various configuration options that affect how SELinux -is enabled (see security/selinux/Kconfig in the Linux kernel -sources). - -By default in Buildroot the SELinux policy is provided by the -upstream refpolicy [https://github.com/SELinuxProject/refpolicy] -project, enabled with BR2_PACKAGE_REFPOLICY. - -10.1. Enabling SELinux support - -To have proper support for SELinux in a Buildroot generated system, -the following configuration options must be enabled: - - * BR2_PACKAGE_LIBSELINUX - * BR2_PACKAGE_REFPOLICY - -In addition, your filesystem image format must support extended -attributes. - -10.2. SELinux policy tweaking - -The SELinux refpolicy contains modules that can be enabled or -disabled when being built. Each module provide a number of SELinux -rules. In Buildroot the non-base modules are disabled by default and -several ways to enable such modules are provided: - - * Packages can enable a list of SELinux modules within the - refpolicy using the _SELINUX_MODULES variable. - * Packages can provide additional SELinux modules by putting them - (.fc, .if and .te files) in package//selinux/. - * Extra SELinux modules can be added in directories pointed by the - BR2_REFPOLICY_EXTRA_MODULES_DIRS configuration option. - * Additional modules in the refpolicy can be enabled if listed in - the BR2_REFPOLICY_EXTRA_MODULES_DEPENDENCIES configuration - option. - -Buildroot also allows to completely override the refpolicy. This -allows to provide a full custom policy designed specifically for a -given system. When going this way, all of the above mechanisms are -disabled: no extra SElinux module is added to the policy, and all the -available modules within the custom policy are enabled and built into -the final binary policy. The custom policy must be a fork of the -official refpolicy [https://github.com/SELinuxProject/refpolicy]. - -In order to fully override the refpolicy the following configuration -variables have to be set: - - * BR2_PACKAGE_REFPOLICY_CUSTOM_GIT - * BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL - * BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_VERSION - -Chapter 11. Frequently Asked Questions & Troubleshooting - -11.1. The boot hangs after Starting network… - -If the boot process seems to hang after the following messages -(messages not necessarily exactly similar, depending on the list of -packages selected): - -Freeing init memory: 3972K -Initializing random number generator... done. -Starting network... -Starting dropbear sshd: generating rsa key... generating dsa key... OK - -then it means that your system is running, but didn’t start a shell -on the serial console. In order to have the system start a shell on -your serial console, you have to go into the Buildroot configuration, -in System configuration, modify Run a getty (login prompt) after boot -and set the appropriate port and baud rate in the getty options -submenu. This will automatically tune the /etc/inittab file of the -generated system so that a shell starts on the correct serial port. - -11.2. Why is there no compiler on the target? - -It has been decided that support for the native compiler on the -target would be stopped from the Buildroot-2012.11 release because: - - * this feature was neither maintained nor tested, and often broken; - * this feature was only available for Buildroot toolchains; - * Buildroot mostly targets small or very small target hardware with - limited resource onboard (CPU, ram, mass-storage), for which - compiling on the target does not make much sense; - * Buildroot aims at easing the cross-compilation, making native - compilation on the target unnecessary. - -If you need a compiler on your target anyway, then Buildroot is not -suitable for your purpose. In such case, you need a real distribution -and you should opt for something like: - - * openembedded [http://www.openembedded.org] - * yocto [https://www.yoctoproject.org] - * emdebian [http://www.emdebian.org] - * Fedora [https://fedoraproject.org/wiki/Architectures] - * openSUSE ARM [http://en.opensuse.org/Portal:ARM] - * Arch Linux ARM [http://archlinuxarm.org] - * … - -11.3. Why are there no development files on the target? - -Since there is no compiler available on the target (see Section 11.2, -“Why is there no compiler on the target?”), it does not make sense to -waste space with headers or static libraries. - -Therefore, those files are always removed from the target since the -Buildroot-2012.11 release. - -11.4. Why is there no documentation on the target? - -Because Buildroot mostly targets small or very small target hardware -with limited resource onboard (CPU, ram, mass-storage), it does not -make sense to waste space with the documentation data. - -If you need documentation data on your target anyway, then Buildroot -is not suitable for your purpose, and you should look for a real -distribution (see: Section 11.2, “Why is there no compiler on the -target?”). - -11.5. Why are some packages not visible in the Buildroot config menu? - -If a package exists in the Buildroot tree and does not appear in the -config menu, this most likely means that some of the package’s -dependencies are not met. - -To know more about the dependencies of a package, search for the -package symbol in the config menu (see Section 8.1, “make tips”). - -Then, you may have to recursively enable several options (which -correspond to the unmet dependencies) to finally be able to select -the package. - -If the package is not visible due to some unmet toolchain options, -then you should certainly run a full rebuild (see Section 8.1, “make -tips” for more explanations). - -11.6. Why not use the target directory as a chroot directory? - -There are plenty of reasons to not use the target directory a chroot -one, among these: - - * file ownerships, modes and permissions are not correctly set in - the target directory; - * device nodes are not created in the target directory. - -For these reasons, commands run through chroot, using the target -directory as the new root, will most likely fail. - -If you want to run the target filesystem inside a chroot, or as an -NFS root, then use the tarball image generated in images/ and extract -it as root. - -11.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)? - -One feature that is often discussed on the Buildroot list is the -general topic of "package management". To summarize, the idea would -be to add some tracking of which Buildroot package installs what -files, with the goals of: - - * being able to remove files installed by a package when this - package gets unselected from the menuconfig; - * being able to generate binary packages (ipk or other format) that - can be installed on the target without re-generating a new root - filesystem image. - -In general, most people think it is easy to do: just track which -package installed what and remove it when the package is unselected. -However, it is much more complicated than that: - - * It is not only about the target/ directory, but also the sysroot - in host//sysroot and the host/ directory itself. All files - installed in those directories by various packages must be - tracked. - * When a package is unselected from the configuration, it is not - sufficient to remove just the files it installed. One must also - remove all its reverse dependencies (i.e. packages relying on it) - and rebuild all those packages. For example, package A depends - optionally on the OpenSSL library. Both are selected, and - Buildroot is built. Package A is built with crypto support using - OpenSSL. Later on, OpenSSL gets unselected from the - configuration, but package A remains (since OpenSSL is an - optional dependency, this is possible.) If only OpenSSL files are - removed, then the files installed by package A are broken: they - use a library that is no longer present on the target. Although - this is technically doable, it adds a lot of complexity to - Buildroot, which goes against the simplicity we try to stick to. - * In addition to the previous problem, there is the case where the - optional dependency is not even known to Buildroot. For example, - package A in version 1.0 never used OpenSSL, but in version 2.0 - it automatically uses OpenSSL if available. If the Buildroot .mk - file hasn’t been updated to take this into account, then package - A will not be part of the reverse dependencies of OpenSSL and - will not be removed and rebuilt when OpenSSL is removed. For - sure, the .mk file of package A should be fixed to mention this - optional dependency, but in the mean time, you can have - non-reproducible behaviors. - * The request is to also allow changes in the menuconfig to be - applied on the output directory without having to rebuild - everything from scratch. However, this is very difficult to - achieve in a reliable way: what happens when the suboptions of a - package are changed (we would have to detect this, and rebuild - the package from scratch and potentially all its reverse - dependencies), what happens if toolchain options are changed, - etc. At the moment, what Buildroot does is clear and simple so - its behaviour is very reliable and it is easy to support users. - If configuration changes done in menuconfig are applied after the - next make, then it has to work correctly and properly in all - situations, and not have some bizarre corner cases. The risk is - to get bug reports like "I have enabled package A, B and C, then - ran make, then disabled package C and enabled package D and ran - make, then re-enabled package C and enabled package E and then - there is a build failure". Or worse "I did some configuration, - then built, then did some changes, built, some more changes, - built, some more changes, built, and now it fails, but I don’t - remember all the changes I did and in which order". This will be - impossible to support. - -For all these reasons, the conclusion is that adding tracking of -installed files to remove them when the package is unselected, or to -generate a repository of binary packages, is something that is very -hard to achieve reliably and will add a lot of complexity. - -On this matter, the Buildroot developers make this position -statement: - - * Buildroot strives to make it easy to generate a root filesystem - (hence the name, by the way.) That is what we want to make - Buildroot good at: building root filesystems. - * Buildroot is not meant to be a distribution (or rather, a - distribution generator.) It is the opinion of most Buildroot - developers that this is not a goal we should pursue. We believe - that there are other tools better suited to generate a distro - than Buildroot is. For example, Open Embedded [http:// - openembedded.org/], or openWRT [https://openwrt.org/], are such - tools. - * We prefer to push Buildroot in a direction that makes it easy (or - even easier) to generate complete root filesystems. This is what - makes Buildroot stands out in the crowd (among other things, of - course!) - * We believe that for most embedded Linux systems, binary packages - are not necessary, and potentially harmful. When binary packages - are used, it means that the system can be partially upgraded, - which creates an enormous number of possible combinations of - package versions that should be tested before doing the upgrade - on the embedded device. On the other hand, by doing complete - system upgrades by upgrading the entire root filesystem image at - once, the image deployed to the embedded system is guaranteed to - really be the one that has been tested and validated. - -11.8. How to speed-up the build process? - -Since Buildroot often involves doing full rebuilds of the entire -system that can be quite long, we provide below a number of tips to -help reduce the build time: - - * Use a pre-built external toolchain instead of the default - Buildroot internal toolchain. By using a pre-built Linaro - toolchain (on ARM) or a Sourcery CodeBench toolchain (for ARM, - x86, x86-64, MIPS, etc.), you will save the build time of the - toolchain at each complete rebuild, approximately 15 to 20 - minutes. Note that temporarily using an external toolchain does - not prevent you to switch back to an internal toolchain (that may - provide a higher level of customization) once the rest of your - system is working; - * Use the ccache compiler cache (see: Section 8.14.3, “Using ccache - in Buildroot”); - * Learn about rebuilding only the few packages you actually care - about (see Section 8.3, “Understanding how to rebuild packages”), - but beware that sometimes full rebuilds are anyway necessary (see - Section 8.2, “Understanding when a full rebuild is necessary”); - * Make sure you are not using a virtual machine for the Linux - system used to run Buildroot. Most of the virtual machine - technologies are known to cause a significant performance impact - on I/O, which is really important for building source code; - * Make sure that you’re using only local files: do not attempt to - do a build over NFS, which significantly slows down the build. - Having the Buildroot download folder available locally also helps - a bit. - * Buy new hardware. SSDs and lots of RAM are key to speeding up the - builds. - * Experiment with top-level parallel build, see Section 8.12, - “Top-level parallel build”. - -Chapter 12. Known issues - - * It is not possible to pass extra linker options via - BR2_TARGET_LDFLAGS if such options contain a $ sign. For example, - the following is known to break: BR2_TARGET_LDFLAGS="-Wl,-rpath= - '$ORIGIN/../lib'" - * The libffi package is not supported on the SuperH 2 and ARC - architectures. - * The prboom package triggers a compiler failure with the SuperH 4 - compiler from Sourcery CodeBench, version 2012.09. - -Chapter 13. Legal notice and licensing - -13.1. Complying with open source licenses - -All of the end products of Buildroot (toolchain, root filesystem, -kernel, bootloaders) contain open source software, released under -various licenses. - -Using open source software gives you the freedom to build rich -embedded systems, choosing from a wide range of packages, but also -imposes some obligations that you must know and honour. Some licenses -require you to publish the license text in the documentation of your -product. Others require you to redistribute the source code of the -software to those that receive your product. - -The exact requirements of each license are documented in each -package, and it is your responsibility (or that of your legal office) -to comply with those requirements. To make this easier for you, -Buildroot can collect for you some material you will probably need. -To produce this material, after you have configured Buildroot with -make menuconfig, make xconfig or make gconfig, run: - -make legal-info - -Buildroot will collect legally-relevant material in your output -directory, under the legal-info/ subdirectory. There you will find: - - * A README file, that summarizes the produced material and contains - warnings about material that Buildroot could not produce. - * buildroot.config: this is the Buildroot configuration file that - is usually produced with make menuconfig, and which is necessary - to reproduce the build. - * The source code for all packages; this is saved in the sources/ - and host-sources/ subdirectories for target and host packages - respectively. The source code for packages that set - _REDISTRIBUTE = NO will not be saved. Patches that were applied - are also saved, along with a file named series that lists the - patches in the order they were applied. Patches are under the - same license as the files that they modify. Note: Buildroot - applies additional patches to Libtool scripts of autotools-based - packages. These patches can be found under support/libtool in the - Buildroot source and, due to technical limitations, are not saved - with the package sources. You may need to collect them manually. - * A manifest file (one for host and one for target packages) - listing the configured packages, their version, license and - related information. Some of this information might not be - defined in Buildroot; such items are marked as "unknown". - * The license texts of all packages, in the licenses/ and - host-licenses/ subdirectories for target and host packages - respectively. If the license file(s) are not defined in - Buildroot, the file is not produced and a warning in the README - indicates this. - -Please note that the aim of the legal-info feature of Buildroot is to -produce all the material that is somehow relevant for legal -compliance with the package licenses. Buildroot does not try to -produce the exact material that you must somehow make public. -Certainly, more material is produced than is needed for a strict -legal compliance. For example, it produces the source code for -packages released under BSD-like licenses, that you are not required -to redistribute in source form. - -Moreover, due to technical limitations, Buildroot does not produce -some material that you will or may need, such as the toolchain source -code for some of the external toolchains and the Buildroot source -code itself. When you run make legal-info, Buildroot produces -warnings in the README file to inform you of relevant material that -could not be saved. - -Finally, keep in mind that the output of make legal-info is based on -declarative statements in each of the packages recipes. The Buildroot -developers try to do their best to keep those declarative statements -as accurate as possible, to the best of their knowledge. However, it -is very well possible that those declarative statements are not all -fully accurate nor exhaustive. You (or your legal department) have to -check the output of make legal-info before using it as your own -compliance delivery. See the NO WARRANTY clauses (clauses 11 and 12) -in the COPYING file at the root of the Buildroot distribution. - -13.2. Complying with the Buildroot license - -Buildroot itself is an open source software, released under the GNU -General Public License, version 2 [http://www.gnu.org/licenses/ -old-licenses/gpl-2.0.html] or (at your option) any later version, -with the exception of the package patches detailed below. However, -being a build system, it is not normally part of the end product: if -you develop the root filesystem, kernel, bootloader or toolchain for -a device, the code of Buildroot is only present on the development -machine, not in the device storage. - -Nevertheless, the general view of the Buildroot developers is that -you should release the Buildroot source code along with the source -code of other packages when releasing a product that contains -GPL-licensed software. This is because the GNU GPL [http:// -www.gnu.org/licenses/old-licenses/gpl-2.0.html] defines the "complete -source code" for an executable work as "all the source code for all -modules it contains, plus any associated interface definition files, -plus the scripts used to control compilation and installation of the -executable". Buildroot is part of the scripts used to control -compilation and installation of the executable, and as such it is -considered part of the material that must be redistributed. - -Keep in mind that this is only the Buildroot developers' opinion, and -you should consult your legal department or lawyer in case of any -doubt. - -13.2.1. Patches to packages - -Buildroot also bundles patch files, which are applied to the sources -of the various packages. Those patches are not covered by the license -of Buildroot. Instead, they are covered by the license of the -software to which the patches are applied. When said software is -available under multiple licenses, the Buildroot patches are only -provided under the publicly accessible licenses. - -See Chapter 19, Patching a package for the technical details. - -Chapter 14. Beyond Buildroot - -14.1. Boot the generated images - -14.1.1. NFS boot - -To achieve NFS-boot, enable tar root filesystem in the Filesystem -images menu. - -After a complete build, just run the following commands to setup the -NFS-root directory: - -sudo tar -xavf /path/to/output_dir/rootfs.tar -C /path/to/nfs_root_dir - -Remember to add this path to /etc/exports. - -Then, you can execute a NFS-boot from your target. - -14.1.2. Live CD - -To build a live CD image, enable the iso image option in the -Filesystem images menu. Note that this option is only available on -the x86 and x86-64 architectures, and if you are building your kernel -with Buildroot. - -You can build a live CD image with either IsoLinux, Grub or Grub 2 as -a bootloader, but only Isolinux supports making this image usable -both as a live CD and live USB (through the Build hybrid image -option). - -You can test your live CD image using QEMU: - -qemu-system-i386 -cdrom output/images/rootfs.iso9660 - -Or use it as a hard-drive image if it is a hybrid ISO: - -qemu-system-i386 -hda output/images/rootfs.iso9660 - -It can be easily flashed to a USB drive with dd: - -dd if=output/images/rootfs.iso9660 of=/dev/sdb - -14.2. Chroot - -If you want to chroot in a generated image, then there are few thing -you should be aware of: - - * you should setup the new root from the tar root filesystem image; - * either the selected target architecture is compatible with your - host machine, or you should use some qemu-* binary and correctly - set it within the binfmt properties to be able to run the - binaries built for the target on your host machine; - * Buildroot does not currently provide host-qemu and binfmt - correctly built and set for that kind of use. - -Part III. Developer guide - -Table of Contents - -15. How Buildroot works -16. Coding style - - 16.1. Config.in file - 16.2. The .mk file - 16.3. The documentation - 16.4. Support scripts - -17. Adding support for a particular board -18. Adding new packages to Buildroot - - 18.1. Package directory - 18.2. Config files - 18.3. The .mk file - 18.4. The .hash file - 18.5. Infrastructure for packages with specific build systems - 18.6. Infrastructure for autotools-based packages - 18.7. Infrastructure for CMake-based packages - 18.8. Infrastructure for Python packages - 18.9. Infrastructure for LuaRocks-based packages - 18.10. Infrastructure for Perl/CPAN packages - 18.11. Infrastructure for virtual packages - 18.12. Infrastructure for packages using kconfig for - configuration files - 18.13. Infrastructure for rebar-based packages - 18.14. Infrastructure for Waf-based packages - 18.15. Infrastructure for Meson-based packages - 18.16. Integration of Cargo-based packages - 18.17. Infrastructure for Go packages - 18.18. Infrastructure for QMake-based packages - 18.19. Infrastructure for packages building kernel modules - 18.20. Infrastructure for asciidoc documents - 18.21. Infrastructure specific to the Linux kernel package - 18.22. Hooks available in the various build steps - 18.23. Gettext integration and interaction with packages - 18.24. Tips and tricks - 18.25. Conclusion - -19. Patching a package - - 19.1. Providing patches - 19.2. How patches are applied - 19.3. Format and licensing of the package patches - 19.4. Integrating patches found on the Web - -20. Download infrastructure -21. Debugging Buildroot -22. Contributing to Buildroot - - 22.1. Reproducing, analyzing and fixing bugs - 22.2. Analyzing and fixing autobuild failures - 22.3. Reviewing and testing patches - 22.4. Work on items from the TODO list - 22.5. Submitting patches - 22.6. Reporting issues/bugs or getting help - 22.7. Using the run-tests framework - -23. DEVELOPERS file and get-developers -24. Release Engineering - - 24.1. Releases - 24.2. Development - -Chapter 15. How Buildroot works - -As mentioned above, Buildroot is basically a set of Makefiles that -download, configure, and compile software with the correct options. -It also includes patches for various software packages - mainly the -ones involved in the cross-compilation toolchain (gcc, binutils and -uClibc). - -There is basically one Makefile per software package, and they are -named with the .mk extension. Makefiles are split into many different -parts. - - * The toolchain/ directory contains the Makefiles and associated - files for all software related to the cross-compilation - toolchain: binutils, gcc, gdb, kernel-headers and uClibc. - * The arch/ directory contains the definitions for all the - processor architectures that are supported by Buildroot. - * The package/ directory contains the Makefiles and associated - files for all user-space tools and libraries that Buildroot can - compile and add to the target root filesystem. There is one - sub-directory per package. - * The linux/ directory contains the Makefiles and associated files - for the Linux kernel. - * The boot/ directory contains the Makefiles and associated files - for the bootloaders supported by Buildroot. - * The system/ directory contains support for system integration, - e.g. the target filesystem skeleton and the selection of an init - system. - * The fs/ directory contains the Makefiles and associated files for - software related to the generation of the target root filesystem - image. - -Each directory contains at least 2 files: - - * something.mk is the Makefile that downloads, configures, compiles - and installs the package something. - * Config.in is a part of the configuration tool description file. - It describes the options related to the package. - -The main Makefile performs the following steps (once the -configuration is done): - - * Create all the output directories: staging, target, build, etc. - in the output directory (output/ by default, another value can be - specified using O=) - * Generate the toolchain target. When an internal toolchain is - used, this means generating the cross-compilation toolchain. When - an external toolchain is used, this means checking the features - of the external toolchain and importing it into the Buildroot - environment. - * Generate all the targets listed in the TARGETS variable. This - variable is filled by all the individual components' Makefiles. - Generating these targets will trigger the compilation of the - userspace packages (libraries, programs), the kernel, the - bootloader and the generation of the root filesystem images, - depending on the configuration. - -Chapter 16. Coding style - -Overall, these coding style rules are here to help you to add new -files in Buildroot or refactor existing ones. - -If you slightly modify some existing file, the important thing is to -keep the consistency of the whole file, so you can: - - * either follow the potentially deprecated coding style used in - this file, - * or entirely rework it in order to make it comply with these - rules. - -16.1. Config.in file - -Config.in files contain entries for almost anything configurable in -Buildroot. - -An entry has the following pattern: - -config BR2_PACKAGE_LIBFOO - bool "libfoo" - depends on BR2_PACKAGE_LIBBAZ - select BR2_PACKAGE_LIBBAR - help - This is a comment that explains what libfoo is. The help text - should be wrapped. - - http://foosoftware.org/libfoo/ - - * The bool, depends on, select and help lines are indented with one - tab. - * The help text itself should be indented with one tab and two - spaces. - * The help text should be wrapped to fit 72 columns, where tab - counts for 8, so 62 characters in the text itself. - -The Config.in files are the input for the configuration tool used in -Buildroot, which is the regular Kconfig. For further details about -the Kconfig language, refer to http://kernel.org/doc/Documentation/ -kbuild/kconfig-language.txt. - -16.2. The .mk file - - * Header: The file starts with a header. It contains the module - name, preferably in lowercase, enclosed between separators made - of 80 hashes. A blank line is mandatory after the header: - - ################################################################################ - # - # libfoo - # - ################################################################################ - - * Assignment: use = preceded and followed by one space: - - LIBFOO_VERSION = 1.0 - LIBFOO_CONF_OPTS += --without-python-support - - Do not align the = signs. - - * Indentation: use tab only: - - define LIBFOO_REMOVE_DOC - $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/doc \ - $(TARGET_DIR)/usr/share/man/man3/libfoo* - endef - - Note that commands inside a define block should always start with - a tab, so make recognizes them as commands. - - * Optional dependency: - - + Prefer multi-line syntax. - - YES: - - ifeq ($(BR2_PACKAGE_PYTHON),y) - LIBFOO_CONF_OPTS += --with-python-support - LIBFOO_DEPENDENCIES += python - else - LIBFOO_CONF_OPTS += --without-python-support - endif - - NO: - - LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON),,out)-python-support - LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,) - - + Keep configure options and dependencies close together. - * Optional hooks: keep hook definition and assignment together in - one if block. - - YES: - - ifneq ($(BR2_LIBFOO_INSTALL_DATA),y) - define LIBFOO_REMOVE_DATA - $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data - endef - LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA - endif - - NO: - - define LIBFOO_REMOVE_DATA - $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data - endef - - ifneq ($(BR2_LIBFOO_INSTALL_DATA),y) - LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA - endif - -16.3. The documentation - -The documentation uses the asciidoc [http://www.methods.co.nz/ -asciidoc/] format. - -For further details about the asciidoc syntax, refer to http:// -www.methods.co.nz/asciidoc/userguide.html. - -16.4. Support scripts - -Some scripts in the support/ and utils/ directories are written in -Python and should follow the PEP8 Style Guide for Python Code [https: -//www.python.org/dev/peps/pep-0008/]. - -Chapter 17. Adding support for a particular board - -Buildroot contains basic configurations for several publicly -available hardware boards, so that users of such a board can easily -build a system that is known to work. You are welcome to add support -for other boards to Buildroot too. - -To do so, you need to create a normal Buildroot configuration that -builds a basic system for the hardware: (internal) toolchain, kernel, -bootloader, filesystem and a simple BusyBox-only userspace. No -specific package should be selected: the configuration should be as -minimal as possible, and should only build a working basic BusyBox -system for the target platform. You can of course use more -complicated configurations for your internal projects, but the -Buildroot project will only integrate basic board configurations. -This is because package selections are highly application-specific. - -Once you have a known working configuration, run make savedefconfig. -This will generate a minimal defconfig file at the root of the -Buildroot source tree. Move this file into the configs/ directory, -and rename it _defconfig. If the configuration is a bit -more complicated, it is nice to manually reformat it and separate it -into sections, with a comment before each section. Typical sections -are Architecture, Toolchain options (typically just linux headers -version), Firmware, Bootloader, Kernel, and Filesystem. - -Always use fixed versions or commit hashes for the different -components, not the "latest" version. For example, set -BR2_LINUX_KERNEL_CUSTOM_VERSION=y and -BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE to the kernel version you -tested with. - -It is recommended to use as much as possible upstream versions of the -Linux kernel and bootloaders, and to use as much as possible default -kernel and bootloader configurations. If they are incorrect for your -board, or no default exists, we encourage you to send fixes to the -corresponding upstream projects. - -However, in the mean time, you may want to store kernel or bootloader -configuration or patches specific to your target platform. To do so, -create a directory board/ and a subdirectory board/ -/. You can then store your patches and -configurations in these directories, and reference them from the main -Buildroot configuration. Refer to Chapter 9, Project-specific -customization for more details. - -Chapter 18. Adding new packages to Buildroot - -This section covers how new packages (userspace libraries or -applications) can be integrated into Buildroot. It also shows how -existing packages are integrated, which is needed for fixing issues -or tuning their configuration. - -When you add a new package, be sure to test it in various conditions -(see Section 18.24.3, “How to test your package”) and also check it -for coding style (see Section 18.24.2, “How to check the coding -style”). - -18.1. Package directory - -First of all, create a directory under the package directory for your -software, for example libfoo. - -Some packages have been grouped by topic in a sub-directory: x11r7, -qt5 and gstreamer. If your package fits in one of these categories, -then create your package directory in these. New subdirectories are -discouraged, however. - -18.2. Config files - -For the package to be displayed in the configuration tool, you need -to create a Config file in your package directory. There are two -types: Config.in and Config.in.host. - -18.2.1. Config.in file - -For packages used on the target, create a file named Config.in. This -file will contain the option descriptions related to our libfoo -software that will be used and displayed in the configuration tool. -It should basically contain: - -config BR2_PACKAGE_LIBFOO - bool "libfoo" - help - This is a comment that explains what libfoo is. The help text - should be wrapped. - - http://foosoftware.org/libfoo/ - -The bool line, help line and other metadata information about the -configuration option must be indented with one tab. The help text -itself should be indented with one tab and two spaces, lines should -be wrapped to fit 72 columns, where tab counts for 8, so 62 -characters in the text itself. The help text must mention the -upstream URL of the project after an empty line. - -As a convention specific to Buildroot, the ordering of the attributes -is as follows: - - 1. The type of option: bool, string… with the prompt - 2. If needed, the default value(s) - 3. Any dependencies on the target in depends on form - 4. Any dependencies on the toolchain in depends on form - 5. Any dependencies on other packages in depends on form - 6. Any dependency of the select form - 7. The help keyword and help text. - -You can add other sub-options into a if BR2_PACKAGE_LIBFOO…endif -statement to configure particular things in your software. You can -look at examples in other packages. The syntax of the Config.in file -is the same as the one for the kernel Kconfig file. The documentation -for this syntax is available at http://kernel.org/doc/Documentation/ -kbuild/kconfig-language.txt - -Finally you have to add your new libfoo/Config.in to package/ -Config.in (or in a category subdirectory if you decided to put your -package in one of the existing categories). The files included there -are sorted alphabetically per category and are NOT supposed to -contain anything but the bare name of the package. - -source "package/libfoo/Config.in" - -18.2.2. Config.in.host file - -Some packages also need to be built for the host system. There are -two options here: - - * The host package is only required to satisfy build-time - dependencies of one or more target packages. In this case, add - host-foo to the target package’s BAR_DEPENDENCIES variable. No - Config.in.host file should be created. - * The host package should be explicitly selectable by the user from - the configuration menu. In this case, create a Config.in.host - file for that host package: - - config BR2_PACKAGE_HOST_FOO - bool "host foo" - help - This is a comment that explains what foo for the host is. - - http://foosoftware.org/foo/ - - The same coding style and options as for the Config.in file are - valid. - - Finally you have to add your new libfoo/Config.in.host to package - /Config.in.host. The files included there are sorted - alphabetically and are NOT supposed to contain anything but the - bare name of the package. - - source "package/foo/Config.in.host" - - The host package will then be available from the Host utilities - menu. - -18.2.3. Choosing depends on or select - -The Config.in file of your package must also ensure that dependencies -are enabled. Typically, Buildroot uses the following rules: - - * Use a select type of dependency for dependencies on libraries. - These dependencies are generally not obvious and it therefore - make sense to have the kconfig system ensure that the - dependencies are selected. For example, the libgtk2 package uses - select BR2_PACKAGE_LIBGLIB2 to make sure this library is also - enabled. The select keyword expresses the dependency with a - backward semantic. - * Use a depends on type of dependency when the user really needs to - be aware of the dependency. Typically, Buildroot uses this type - of dependency for dependencies on target architecture, MMU - support and toolchain options (see Section 18.2.4, “Dependencies - on target and toolchain options”), or for dependencies on "big" - things, such as the X.org system. The depends on keyword - expresses the dependency with a forward semantic. - -Note. The current problem with the kconfig language is that these two -dependency semantics are not internally linked. Therefore, it may be -possible to select a package, whom one of its dependencies/ -requirement is not met. - -An example illustrates both the usage of select and depends on. - -config BR2_PACKAGE_RRDTOOL - bool "rrdtool" - depends on BR2_USE_WCHAR - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_LIBART - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_ZLIB - help - RRDtool is the OpenSource industry standard, high performance - data logging and graphing system for time series data. - - http://oss.oetiker.ch/rrdtool/ - -comment "rrdtool needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR - -Note that these two dependency types are only transitive with the -dependencies of the same kind. - -This means, in the following example: - -config BR2_PACKAGE_A - bool "Package A" - -config BR2_PACKAGE_B - bool "Package B" - depends on BR2_PACKAGE_A - -config BR2_PACKAGE_C - bool "Package C" - depends on BR2_PACKAGE_B - -config BR2_PACKAGE_D - bool "Package D" - select BR2_PACKAGE_B - -config BR2_PACKAGE_E - bool "Package E" - select BR2_PACKAGE_D - - * Selecting Package C will be visible if Package B has been - selected, which in turn is only visible if Package A has been - selected. - * Selecting Package E will select Package D, which will select - Package B, it will not check for the dependencies of Package B, - so it will not select Package A. - * Since Package B is selected but Package A is not, this violates - the dependency of Package B on Package A. Therefore, in such a - situation, the transitive dependency has to be added explicitly: - -config BR2_PACKAGE_D - bool "Package D" - select BR2_PACKAGE_B - depends on BR2_PACKAGE_A - -config BR2_PACKAGE_E - bool "Package E" - select BR2_PACKAGE_D - depends on BR2_PACKAGE_A - -Overall, for package library dependencies, select should be -preferred. - -Note that such dependencies will ensure that the dependency option is -also enabled, but not necessarily built before your package. To do -so, the dependency also needs to be expressed in the .mk file of the -package. - -Further formatting details: see the coding style. - -18.2.4. Dependencies on target and toolchain options - -Many packages depend on certain options of the toolchain: the choice -of C library, C++ support, thread support, RPC support, wchar -support, or dynamic library support. Some packages can only be built -on certain target architectures, or if an MMU is available in the -processor. - -These dependencies have to be expressed with the appropriate depends -on statements in the Config.in file. Additionally, for dependencies -on toolchain options, a comment should be displayed when the option -is not enabled, so that the user knows why the package is not -available. Dependencies on target architecture or MMU support should -not be made visible in a comment: since it is unlikely that the user -can freely choose another target, it makes little sense to show these -dependencies explicitly. - -The comment should only be visible if the config option itself would -be visible when the toolchain option dependencies are met. This means -that all other dependencies of the package (including dependencies on -target architecture and MMU support) have to be repeated on the -comment definition. To keep it clear, the depends on statement for -these non-toolchain option should be kept separate from the depends -on statement for the toolchain options. If there is a dependency on a -config option in that same file (typically the main package) it is -preferable to have a global if … endif construct rather than -repeating the depends on statement on the comment and other config -options. - -The general format of a dependency comment for package foo is: - -foo needs a toolchain w/ featA, featB, featC - -for example: - -mpd needs a toolchain w/ C++, threads, wchar - -or - -crda needs a toolchain w/ threads - -Note that this text is kept brief on purpose, so that it will fit on -a 80-character terminal. - -The rest of this section enumerates the different target and -toolchain options, the corresponding config symbols to depend on, and -the text to use in the comment. - - * Target architecture - - + Dependency symbol: BR2_powerpc, BR2_mips, … (see arch/ - Config.in) - + Comment string: no comment to be added - * MMU support - - + Dependency symbol: BR2_USE_MMU - + Comment string: no comment to be added - * Gcc _sync* built-ins used for atomic operations. They are - available in variants operating on 1 byte, 2 bytes, 4 bytes and 8 - bytes. Since different architectures support atomic operations on - different sizes, one dependency symbol is available for each - size: - - + Dependency symbol: BR2_TOOLCHAIN_HAS_SYNC_1 for 1 byte, - BR2_TOOLCHAIN_HAS_SYNC_2 for 2 bytes, - BR2_TOOLCHAIN_HAS_SYNC_4 for 4 bytes, - BR2_TOOLCHAIN_HAS_SYNC_8 for 8 bytes. - + Comment string: no comment to be added - * Gcc _atomic* built-ins used for atomic operations. - - + Dependency symbol: BR2_TOOLCHAIN_HAS_ATOMIC. - + Comment string: no comment to be added - * Kernel headers - - + Dependency symbol: BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y, - (replace X_Y with the proper version, see toolchain/ - Config.in) - + Comment string: headers >= X.Y and/or headers <= X.Y (replace - X.Y with the proper version) - * GCC version - - + Dependency symbol: BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y, (replace - X_Y with the proper version, see toolchain/Config.in) - + Comment string: gcc >= X.Y and/or gcc <= X.Y (replace X.Y - with the proper version) - * Host GCC version - - + Dependency symbol: BR2_HOST_GCC_AT_LEAST_X_Y, (replace X_Y - with the proper version, see Config.in) - + Comment string: no comment to be added - + Note that it is usually not the package itself that has a - minimum host GCC version, but rather a host-package on which - it depends. - * C library - - + Dependency symbol: BR2_TOOLCHAIN_USES_GLIBC, - BR2_TOOLCHAIN_USES_MUSL, BR2_TOOLCHAIN_USES_UCLIBC - + Comment string: for the C library, a slightly different - comment text is used: foo needs a glibc toolchain, or foo - needs a glibc toolchain w/ C++ - * C++ support - - + Dependency symbol: BR2_INSTALL_LIBSTDCPP - + Comment string: C++ - * D support - - + Dependency symbol: BR2_TOOLCHAIN_HAS_DLANG - + Comment string: Dlang - * Fortran support - - + Dependency symbol: BR2_TOOLCHAIN_HAS_FORTRAN - + Comment string: fortran - * thread support - - + Dependency symbol: BR2_TOOLCHAIN_HAS_THREADS - + Comment string: threads (unless - BR2_TOOLCHAIN_HAS_THREADS_NPTL is also needed, in which case, - specifying only NPTL is sufficient) - * NPTL thread support - - + Dependency symbol: BR2_TOOLCHAIN_HAS_THREADS_NPTL - + Comment string: NPTL - * RPC support - - + Dependency symbol: BR2_TOOLCHAIN_HAS_NATIVE_RPC - + Comment string: RPC - * wchar support - - + Dependency symbol: BR2_USE_WCHAR - + Comment string: wchar - * dynamic library - - + Dependency symbol: !BR2_STATIC_LIBS - + Comment string: dynamic library - -18.2.5. Dependencies on a Linux kernel built by buildroot - -Some packages need a Linux kernel to be built by buildroot. These are -typically kernel modules or firmware. A comment should be added in -the Config.in file to express this dependency, similar to -dependencies on toolchain options. The general format is: - -foo needs a Linux kernel to be built - -If there is a dependency on both toolchain options and the Linux -kernel, use this format: - -foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built - -18.2.6. Dependencies on udev /dev management - -If a package needs udev /dev management, it should depend on symbol -BR2_PACKAGE_HAS_UDEV, and the following comment should be added: - -foo needs udev /dev management - -If there is a dependency on both toolchain options and udev /dev -management, use this format: - -foo needs udev /dev management and a toolchain w/ featA, featB, featC - -18.2.7. Dependencies on features provided by virtual packages - -Some features can be provided by more than one package, such as the -openGL libraries. - -See Section 18.11, “Infrastructure for virtual packages” for more on -the virtual packages. - -18.3. The .mk file - -Finally, here’s the hardest part. Create a file named libfoo.mk. It -describes how the package should be downloaded, configured, built, -installed, etc. - -Depending on the package type, the .mk file must be written in a -different way, using different infrastructures: - - * Makefiles for generic packages (not using autotools or CMake): - These are based on an infrastructure similar to the one used for - autotools-based packages, but require a little more work from the - developer. They specify what should be done for the - configuration, compilation and installation of the package. This - infrastructure must be used for all packages that do not use the - autotools as their build system. In the future, other specialized - infrastructures might be written for other build systems. We - cover them through in a tutorial and a reference. - * Makefiles for autotools-based software (autoconf, automake, - etc.): We provide a dedicated infrastructure for such packages, - since autotools is a very common build system. This - infrastructure must be used for new packages that rely on the - autotools as their build system. We cover them through a tutorial - and reference. - * Makefiles for cmake-based software: We provide a dedicated - infrastructure for such packages, as CMake is a more and more - commonly used build system and has a standardized behaviour. This - infrastructure must be used for new packages that rely on CMake. - We cover them through a tutorial and reference. - * Makefiles for Python modules: We have a dedicated infrastructure - for Python modules that use either the distutils or the - setuptools mechanism. We cover them through a tutorial and a - reference. - * Makefiles for Lua modules: We have a dedicated infrastructure for - Lua modules available through the LuaRocks web site. We cover - them through a tutorial and a reference. - -Further formatting details: see the writing rules. - -18.4. The .hash file - -When possible, you must add a third file, named libfoo.hash, that -contains the hashes of the downloaded files for the libfoo package. -The only reason for not adding a .hash file is when hash checking is -not possible due to how the package is downloaded. - -When a package has a version selection choice, then the hash file may -be stored in a subdirectory named after the version, e.g. package/ -libfoo/1.2.3/libfoo.hash. This is especially important if the -different versions have different licensing terms, but they are -stored in the same file. Otherwise, the hash file should stay in the -package’s directory. - -The hashes stored in that file are used to validate the integrity of -the downloaded files and of the license files. - -The format of this file is one line for each file for which to check -the hash, each line with the following three fields separated by two -spaces: - - * the type of hash, one of: - - + md5, sha1, sha224, sha256, sha384, sha512, none - * the hash of the file: - - + for none, one or more non-space chars, usually just the - string xxx - + for md5, 32 hexadecimal characters - + for sha1, 40 hexadecimal characters - + for sha224, 56 hexadecimal characters - + for sha256, 64 hexadecimal characters - + for sha384, 96 hexadecimal characters - + for sha512, 128 hexadecimal characters - * the name of the file: - - + for a source archive: the basename of the file, without any - directory component, - + for a license file: the path as it appears in - FOO_LICENSE_FILES. - -Lines starting with a # sign are considered comments, and ignored. -Empty lines are ignored. - -There can be more than one hash for a single file, each on its own -line. In this case, all hashes must match. - -Note. Ideally, the hashes stored in this file should match the hashes -published by upstream, e.g. on their website, in the e-mail -announcement… If upstream provides more than one type of hash (e.g. -sha1 and sha512), then it is best to add all those hashes in the -.hash file. If upstream does not provide any hash, or only provides -an md5 hash, then compute at least one strong hash yourself -(preferably sha256, but not md5), and mention this in a comment line -above the hashes. - -Note. The hashes for license files are used to detect a license -change when a package version is bumped. The hashes are checked -during the make legal-info target run. For a package with multiple -versions (like Qt5), create the hash file in a subdirectory - of that package (see also Section 19.2, “How patches -are applied”). - -The none hash type is reserved to those archives downloaded from a -repository, like a git clone, a subversion checkout… - -The example below defines a sha1 and a sha256 published by upstream -for the main libfoo-1.2.3.tar.bz2 tarball, an md5 from upstream and a -locally-computed sha256 hashes for a binary blob, a sha256 for a -downloaded patch, and an archive with no hash: - -# Hashes from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.{sha1,sha256}: -sha1 486fb55c3efa71148fe07895fd713ea3a5ae343a libfoo-1.2.3.tar.bz2 -sha256 efc8103cc3bcb06bda6a781532d12701eb081ad83e8f90004b39ab81b65d4369 libfoo-1.2.3.tar.bz2 - -# md5 from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.md5, sha256 locally computed: -md5 2d608f3c318c6b7557d551a5a09314f03452f1a1 libfoo-data.bin -sha256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b libfoo-data.bin - -# Locally computed: -sha256 ff52101fb90bbfc3fe9475e425688c660f46216d7e751c4bbdb1dc85cdccacb9 libfoo-fix-blabla.patch - -# No hash for 1234: -none xxx libfoo-1234.tar.gz - -# Hash for license files: -sha256 a45a845012742796534f7e91fe623262ccfb99460a2bd04015bd28d66fba95b8 COPYING -sha256 01b1f9f2c8ee648a7a596a1abe8aa4ed7899b1c9e5551bda06da6e422b04aa55 doc/COPYING.LGPL - -If the .hash file is present, and it contains one or more hashes for -a downloaded file, the hash(es) computed by Buildroot (after -download) must match the hash(es) stored in the .hash file. If one or -more hashes do not match, Buildroot considers this an error, deletes -the downloaded file, and aborts. - -If the .hash file is present, but it does not contain a hash for a -downloaded file, Buildroot considers this an error and aborts. -However, the downloaded file is left in the download directory since -this typically indicates that the .hash file is wrong but the -downloaded file is probably OK. - -Hashes are currently checked for files fetched from http/ftp servers, -Git repositories, files copied using scp and local files. Hashes are -not checked for other version control systems (such as Subversion, -CVS, etc.) because Buildroot currently does not generate reproducible -tarballs when source code is fetched from such version control -systems. - -Hashes should only be added in .hash files for files that are -guaranteed to be stable. For example, patches auto-generated by -Github are not guaranteed to be stable, and therefore their hashes -can change over time. Such patches should not be downloaded, and -instead be added locally to the package folder. - -If the .hash file is missing, then no check is done at all. - -18.5. Infrastructure for packages with specific build systems - -By packages with specific build systems we mean all the packages -whose build system is not one of the standard ones, such as autotools -or CMake. This typically includes packages whose build system is -based on hand-written Makefiles or shell scripts. - -18.5.1. generic-package tutorial - -01: ################################################################################ -02: # -03: # libfoo -04: # -05: ################################################################################ -06: -07: LIBFOO_VERSION = 1.0 -08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz -09: LIBFOO_SITE = http://www.foosoftware.org/download -10: LIBFOO_LICENSE = GPL-3.0+ -11: LIBFOO_LICENSE_FILES = COPYING -12: LIBFOO_INSTALL_STAGING = YES -13: LIBFOO_CONFIG_SCRIPTS = libfoo-config -14: LIBFOO_DEPENDENCIES = host-libaaa libbbb -15: -16: define LIBFOO_BUILD_CMDS -17: $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all -18: endef -19: -20: define LIBFOO_INSTALL_STAGING_CMDS -21: $(INSTALL) -D -m 0755 $(@D)/libfoo.a $(STAGING_DIR)/usr/lib/libfoo.a -22: $(INSTALL) -D -m 0644 $(@D)/foo.h $(STAGING_DIR)/usr/include/foo.h -23: $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(STAGING_DIR)/usr/lib -24: endef -25: -26: define LIBFOO_INSTALL_TARGET_CMDS -27: $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(TARGET_DIR)/usr/lib -28: $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d -29: endef -30: -31: define LIBFOO_USERS -32: foo -1 libfoo -1 * - - - LibFoo daemon -33: endef -34: -35: define LIBFOO_DEVICES -36: /dev/foo c 666 0 0 42 0 - - - -37: endef -38: -39: define LIBFOO_PERMISSIONS -40: /bin/foo f 4755 foo libfoo - - - - - -41: endef -42: -43: $(eval $(generic-package)) - -The Makefile begins on line 7 to 11 with metadata information: the -version of the package (LIBFOO_VERSION), the name of the tarball -containing the package (LIBFOO_SOURCE) (xz-ed tarball recommended) -the Internet location at which the tarball can be downloaded from -(LIBFOO_SITE), the license (LIBFOO_LICENSE) and file with the license -text (LIBFOO_LICENSE_FILES). All variables must start with the same -prefix, LIBFOO_ in this case. This prefix is always the uppercased -version of the package name (see below to understand where the -package name is defined). - -On line 12, we specify that this package wants to install something -to the staging space. This is often needed for libraries, since they -must install header files and other development files in the staging -space. This will ensure that the commands listed in the -LIBFOO_INSTALL_STAGING_CMDS variable will be executed. - -On line 13, we specify that there is some fixing to be done to some -of the libfoo-config files that were installed during -LIBFOO_INSTALL_STAGING_CMDS phase. These *-config files are -executable shell script files that are located in $(STAGING_DIR)/usr/ -bin directory and are executed by other 3rd party packages to find -out the location and the linking flags of this particular package. - -The problem is that all these *-config files by default give wrong, -host system linking flags that are unsuitable for cross-compiling. - -For example: -I/usr/include instead of -I$(STAGING_DIR)/usr/include -or: -L/usr/lib instead of -L$(STAGING_DIR)/usr/lib - -So some sed magic is done to these scripts to make them give correct -flags. The argument to be given to LIBFOO_CONFIG_SCRIPTS is the file -name(s) of the shell script(s) needing fixing. All these names are -relative to $(STAGING_DIR)/usr/bin and if needed multiple names can -be given. - -In addition, the scripts listed in LIBFOO_CONFIG_SCRIPTS are removed -from $(TARGET_DIR)/usr/bin, since they are not needed on the target. - -Example 18.1. Config script: divine package - -Package divine installs shell script $(STAGING_DIR)/usr/bin/ -divine-config. - -So its fixup would be: - -DIVINE_CONFIG_SCRIPTS = divine-config - - -Example 18.2. Config script: imagemagick package: - -Package imagemagick installs the following scripts: $(STAGING_DIR)/ -usr/bin/{Magick,Magick++,MagickCore,MagickWand,Wand}-config - -So it’s fixup would be: - -IMAGEMAGICK_CONFIG_SCRIPTS = \ - Magick-config Magick++-config \ - MagickCore-config MagickWand-config Wand-config - - -On line 14, we specify the list of dependencies this package relies -on. These dependencies are listed in terms of lower-case package -names, which can be packages for the target (without the host- -prefix) or packages for the host (with the host-) prefix). Buildroot -will ensure that all these packages are built and installed before -the current package starts its configuration. - -The rest of the Makefile, lines 16..29, defines what should be done -at the different steps of the package configuration, compilation and -installation. LIBFOO_BUILD_CMDS tells what steps should be performed -to build the package. LIBFOO_INSTALL_STAGING_CMDS tells what steps -should be performed to install the package in the staging space. -LIBFOO_INSTALL_TARGET_CMDS tells what steps should be performed to -install the package in the target space. - -All these steps rely on the $(@D) variable, which contains the -directory where the source code of the package has been extracted. - -On lines 31..33, we define a user that is used by this package (e.g. -to run a daemon as non-root) (LIBFOO_USERS). - -On line 35..37, we define a device-node file used by this package -(LIBFOO_DEVICES). - -On line 39..41, we define the permissions to set to specific files -installed by this package (LIBFOO_PERMISSIONS). - -Finally, on line 43, we call the generic-package function, which -generates, according to the variables defined previously, all the -Makefile code necessary to make your package working. - -18.5.2. generic-package reference - -There are two variants of the generic target. The generic-package -macro is used for packages to be cross-compiled for the target. The -host-generic-package macro is used for host packages, natively -compiled for the host. It is possible to call both of them in a -single .mk file: once to create the rules to generate a target -package and once to create the rules to generate a host package: - -$(eval $(generic-package)) -$(eval $(host-generic-package)) - -This might be useful if the compilation of the target package -requires some tools to be installed on the host. If the package name -is libfoo, then the name of the package for the target is also -libfoo, while the name of the package for the host is host-libfoo. -These names should be used in the DEPENDENCIES variables of other -packages, if they depend on libfoo or host-libfoo. - -The call to the generic-package and/or host-generic-package macro -must be at the end of the .mk file, after all variable definitions. -The call to host-generic-package must be after the call to -generic-package, if any. - -For the target package, the generic-package uses the variables -defined by the .mk file and prefixed by the uppercased package name: -LIBFOO_*. host-generic-package uses the HOST_LIBFOO_* variables. For -some variables, if the HOST_LIBFOO_ prefixed variable doesn’t exist, -the package infrastructure uses the corresponding variable prefixed -by LIBFOO_. This is done for variables that are likely to have the -same value for both the target and host packages. See below for -details. - -The list of variables that can be set in a .mk file to give metadata -information is (assuming the package name is libfoo) : - - * LIBFOO_VERSION, mandatory, must contain the version of the - package. Note that if HOST_LIBFOO_VERSION doesn’t exist, it is - assumed to be the same as LIBFOO_VERSION. It can also be a - revision number or a tag for packages that are fetched directly - from their version control system. Examples: - - + a version for a release tarball: LIBFOO_VERSION = 0.1.2 - + a sha1 for a git tree: LIBFOO_VERSION = - cb9d6aa9429e838f0e54faa3d455bcbab5eef057 - + a tag for a git tree LIBFOO_VERSION = v0.1.2 - - Note: Using a branch name as FOO_VERSION is not supported, - because it does not and can not work as people would expect - it should: - - 1. due to local caching, Buildroot will not re-fetch the - repository, so people who expect to be able to follow the - remote repository would be quite surprised and - disappointed; - 2. because two builds can never be perfectly simultaneous, - and because the remote repository may get new commits on - the branch anytime, two users, using the same Buildroot - tree and building the same configuration, may get - different source, thus rendering the build non - reproducible, and people would be quite surprised and - disappointed. - * LIBFOO_SOURCE may contain the name of the tarball of the package, - which Buildroot will use to download the tarball from - LIBFOO_SITE. If HOST_LIBFOO_SOURCE is not specified, it defaults - to LIBFOO_SOURCE. If none are specified, then the value is - assumed to be libfoo-$(LIBFOO_VERSION).tar.gz. Example: - LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2 - * LIBFOO_PATCH may contain a space-separated list of patch file - names, that Buildroot will download and apply to the package - source code. If an entry contains ://, then Buildroot will assume - it is a full URL and download the patch from this location. - Otherwise, Buildroot will assume that the patch should be - downloaded from LIBFOO_SITE. If HOST_LIBFOO_PATCH is not - specified, it defaults to LIBFOO_PATCH. Note that patches that - are included in Buildroot itself use a different mechanism: all - files of the form *.patch present in the package directory inside - Buildroot will be applied to the package after extraction (see - patching a package). Finally, patches listed in the LIBFOO_PATCH - variable are applied before the patches stored in the Buildroot - package directory. - * LIBFOO_SITE provides the location of the package, which can be a - URL or a local filesystem path. HTTP, FTP and SCP are supported - URL types for retrieving package tarballs. In these cases don’t - include a trailing slash: it will be added by Buildroot between - the directory and the filename as appropriate. Git, Subversion, - Mercurial, and Bazaar are supported URL types for retrieving - packages directly from source code management systems. There is a - helper function to make it easier to download source tarballs - from GitHub (refer to Section 18.24.4, “How to add a package from - GitHub” for details). A filesystem path may be used to specify - either a tarball or a directory containing the package source - code. See LIBFOO_SITE_METHOD below for more details on how - retrieval works. Note that SCP URLs should be of the form scp:// - [user@]host:filepath, and that filepath is relative to the user’s - home directory, so you may want to prepend the path with a slash - for absolute paths: scp://[user@]host:/absolutepath. If - HOST_LIBFOO_SITE is not specified, it defaults to LIBFOO_SITE. - Examples: LIBFOO_SITE=http://www.libfoosoftware.org/libfoo - LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor LIBFOO_SITE=/opt/ - software/libfoo.tar.gz LIBFOO_SITE=$(TOPDIR)/../src/libfoo - * LIBFOO_DL_OPTS is a space-separated list of additional options to - pass to the downloader. Useful for retrieving documents with - server-side checking for user logins and passwords, or to use a - proxy. All download methods valid for LIBFOO_SITE_METHOD are - supported; valid options depend on the download method (consult - the man page for the respective download utilities). - * LIBFOO_EXTRA_DOWNLOADS is a space-separated list of additional - files that Buildroot should download. If an entry contains :// - then Buildroot will assume it is a complete URL and will download - the file using this URL. Otherwise, Buildroot will assume the - file to be downloaded is located at LIBFOO_SITE. Buildroot will - not do anything with those additional files, except download - them: it will be up to the package recipe to use them from $ - (LIBFOO_DL_DIR). - * LIBFOO_SITE_METHOD determines the method used to fetch or copy - the package source code. In many cases, Buildroot guesses the - method from the contents of LIBFOO_SITE and setting - LIBFOO_SITE_METHOD is unnecessary. When HOST_LIBFOO_SITE_METHOD - is not specified, it defaults to the value of LIBFOO_SITE_METHOD. - The possible values of LIBFOO_SITE_METHOD are: - - + wget for normal FTP/HTTP downloads of tarballs. Used by - default when LIBFOO_SITE begins with http://, https:// or - ftp://. - + scp for downloads of tarballs over SSH with scp. Used by - default when LIBFOO_SITE begins with scp://. - + svn for retrieving source code from a Subversion repository. - Used by default when LIBFOO_SITE begins with svn://. When a - http:// Subversion repository URL is specified in - LIBFOO_SITE, one must specify LIBFOO_SITE_METHOD=svn. - Buildroot performs a checkout which is preserved as a tarball - in the download cache; subsequent builds use the tarball - instead of performing another checkout. - + cvs for retrieving source code from a CVS repository. Used by - default when LIBFOO_SITE begins with cvs://. The downloaded - source code is cached as with the svn method. Anonymous - pserver mode is assumed otherwise explicitly defined on - LIBFOO_SITE. Both LIBFOO_SITE=cvs://libfoo.net:/cvsroot/ - libfoo and LIBFOO_SITE=cvs://:ext:libfoo.net:/cvsroot/libfoo - are accepted, on the former anonymous pserver access mode is - assumed. LIBFOO_SITE must contain the source URL as well as - the remote repository directory. The module is the package - name. LIBFOO_VERSION is mandatory and must be a tag, a - branch, or a date (e.g. "2014-10-20", "2014-10-20 13:45", - "2014-10-20 13:45+01" see "man cvs" for further details). - + git for retrieving source code from a Git repository. Used by - default when LIBFOO_SITE begins with git://. The downloaded - source code is cached as with the svn method. - + hg for retrieving source code from a Mercurial repository. - One must specify LIBFOO_SITE_METHOD=hg when LIBFOO_SITE - contains a Mercurial repository URL. The downloaded source - code is cached as with the svn method. - + bzr for retrieving source code from a Bazaar repository. Used - by default when LIBFOO_SITE begins with bzr://. The - downloaded source code is cached as with the svn method. - + file for a local tarball. One should use this when - LIBFOO_SITE specifies a package tarball as a local filename. - Useful for software that isn’t available publicly or in - version control. - + local for a local source code directory. One should use this - when LIBFOO_SITE specifies a local directory path containing - the package source code. Buildroot copies the contents of the - source directory into the package’s build directory. Note - that for local packages, no patches are applied. If you need - to still patch the source code, use LIBFOO_POST_RSYNC_HOOKS, - see Section 18.22.1, “Using the POST_RSYNC hook”. - * LIBFOO_GIT_SUBMODULES can be set to YES to create an archive with - the git submodules in the repository. This is only available for - packages downloaded with git (i.e. when LIBFOO_SITE_METHOD=git). - Note that we try not to use such git submodules when they contain - bundled libraries, in which case we prefer to use those libraries - from their own package. - * LIBFOO_STRIP_COMPONENTS is the number of leading components - (directories) that tar must strip from file names on extraction. - The tarball for most packages has one leading component named " - -", thus Buildroot passes - --strip-components=1 to tar to remove it. For non-standard - packages that don’t have this component, or that have more than - one leading component to strip, set this variable with the value - to be passed to tar. Default: 1. - * LIBFOO_EXCLUDES is a space-separated list of patterns to exclude - when extracting the archive. Each item from that list is passed - as a tar’s --exclude option. By default, empty. - * LIBFOO_DEPENDENCIES lists the dependencies (in terms of package - name) that are required for the current target package to - compile. These dependencies are guaranteed to be compiled and - installed before the configuration of the current package starts. - However, modifications to configuration of these dependencies - will not force a rebuild of the current package. In a similar - way, HOST_LIBFOO_DEPENDENCIES lists the dependencies for the - current host package. - * LIBFOO_EXTRACT_DEPENDENCIES lists the dependencies (in terms of - package name) that are required for the current target package to - be extracted. These dependencies are guaranteed to be compiled - and installed before the extract step of the current package - starts. This is only used internally by the package - infrastructure, and should typically not be used directly by - packages. - * LIBFOO_PATCH_DEPENDENCIES lists the dependencies (in terms of - package name) that are required for the current package to be - patched. These dependencies are guaranteed to be extracted and - patched (but not necessarily built) before the current package is - patched. In a similar way, HOST_LIBFOO_PATCH_DEPENDENCIES lists - the dependencies for the current host package. This is seldom - used; usually, LIBFOO_DEPENDENCIES is what you really want to - use. - * LIBFOO_PROVIDES lists all the virtual packages libfoo is an - implementation of. See Section 18.11, “Infrastructure for virtual - packages”. - * LIBFOO_INSTALL_STAGING can be set to YES or NO (default). If set - to YES, then the commands in the LIBFOO_INSTALL_STAGING_CMDS - variables are executed to install the package into the staging - directory. - * LIBFOO_INSTALL_TARGET can be set to YES (default) or NO. If set - to YES, then the commands in the LIBFOO_INSTALL_TARGET_CMDS - variables are executed to install the package into the target - directory. - * LIBFOO_INSTALL_IMAGES can be set to YES or NO (default). If set - to YES, then the commands in the LIBFOO_INSTALL_IMAGES_CMDS - variable are executed to install the package into the images - directory. - * LIBFOO_CONFIG_SCRIPTS lists the names of the files in $ - (STAGING_DIR)/usr/bin that need some special fixing to make them - cross-compiling friendly. Multiple file names separated by space - can be given and all are relative to $(STAGING_DIR)/usr/bin. The - files listed in LIBFOO_CONFIG_SCRIPTS are also removed from $ - (TARGET_DIR)/usr/bin since they are not needed on the target. - * LIBFOO_DEVICES lists the device files to be created by Buildroot - when using the static device table. The syntax to use is the - makedevs one. You can find some documentation for this syntax in - the Chapter 25, Makedev syntax documentation. This variable is - optional. - * LIBFOO_PERMISSIONS lists the changes of permissions to be done at - the end of the build process. The syntax is once again the - makedevs one. You can find some documentation for this syntax in - the Chapter 25, Makedev syntax documentation. This variable is - optional. - * LIBFOO_USERS lists the users to create for this package, if it - installs a program you want to run as a specific user (e.g. as a - daemon, or as a cron-job). The syntax is similar in spirit to the - makedevs one, and is described in the Chapter 26, Makeusers - syntax documentation. This variable is optional. - * LIBFOO_LICENSE defines the license (or licenses) under which the - package is released. This name will appear in the manifest file - produced by make legal-info. If the license appears in the SPDX - License List [https://spdx.org/licenses/], use the SPDX short - identifier to make the manifest file uniform. Otherwise, describe - the license in a precise and concise way, avoiding ambiguous - names such as BSD which actually name a family of licenses. This - variable is optional. If it is not defined, unknown will appear - in the license field of the manifest file for this package. The - expected format for this variable must comply with the following - rules: - - + If different parts of the package are released under - different licenses, then comma separate licenses (e.g. - LIBFOO_LICENSE = GPL-2.0+, LGPL-2.1+). If there is clear - distinction between which component is licensed under what - license, then annotate the license with that component, - between parenthesis (e.g. LIBFOO_LICENSE = GPL-2.0+ - (programs), LGPL-2.1+ (libraries)). - + If some licenses are conditioned on a sub-option being - enabled, append the conditional licenses with a comma (e.g.: - FOO_LICENSE += , GPL-2.0+ (programs)); the infrastructure - will internally remove the space before the comma. - + If the package is dual licensed, then separate licenses with - the or keyword (e.g. LIBFOO_LICENSE = AFL-2.1 or GPL-2.0+). - * LIBFOO_LICENSE_FILES is a space-separated list of files in the - package tarball that contain the license(s) under which the - package is released. make legal-info copies all of these files in - the legal-info directory. See Chapter 13, Legal notice and - licensing for more information. This variable is optional. If it - is not defined, a warning will be produced to let you know, and - not saved will appear in the license files field of the manifest - file for this package. - * LIBFOO_ACTUAL_SOURCE_TARBALL only applies to packages whose - LIBFOO_SITE / LIBFOO_SOURCE pair points to an archive that does - not actually contain source code, but binary code. This a very - uncommon case, only known to apply to external toolchains which - come already compiled, although theoretically it might apply to - other packages. In such cases a separate tarball is usually - available with the actual source code. Set - LIBFOO_ACTUAL_SOURCE_TARBALL to the name of the actual source - code archive and Buildroot will download it and use it when you - run make legal-info to collect legally-relevant material. Note - this file will not be downloaded during regular builds nor by - make source. - * LIBFOO_ACTUAL_SOURCE_SITE provides the location of the actual - source tarball. The default value is LIBFOO_SITE, so you don’t - need to set this variable if the binary and source archives are - hosted on the same directory. If LIBFOO_ACTUAL_SOURCE_TARBALL is - not set, it doesn’t make sense to define - LIBFOO_ACTUAL_SOURCE_SITE. - * LIBFOO_REDISTRIBUTE can be set to YES (default) or NO to indicate - if the package source code is allowed to be redistributed. Set it - to NO for non-opensource packages: Buildroot will not save the - source code for this package when collecting the legal-info. - * LIBFOO_FLAT_STACKSIZE defines the stack size of an application - built into the FLAT binary format. The application stack size on - the NOMMU architecture processors can’t be enlarged at run time. - The default stack size for the FLAT binary format is only 4k - bytes. If the application consumes more stack, append the - required number here. - * LIBFOO_BIN_ARCH_EXCLUDE is a space-separated list of paths - (relative to the target directory) to ignore when checking that - the package installs correctly cross-compiled binaries. You - seldom need to set this variable, unless the package installs - binary blobs outside the default locations, /lib/firmware, /usr/ - lib/firmware, /lib/modules, /usr/lib/modules, and /usr/share, - which are automatically excluded. - * LIBFOO_IGNORE_CVES is a space-separated list of CVEs that tells - Buildroot CVE tracking tools which CVEs should be ignored for - this package. This is typically used when the CVE is fixed by a - patch in the package, or when the CVE for some reason does not - affect the Buildroot package. A Makefile comment must always - precede the addition of a CVE to this variable. Example: - -# 0001-fix-cve-2020-12345.patch -LIBFOO_IGNORE_CVES += CVE-2020-12345 -# only when built with libbaz, which Buildroot doesn't support -LIBFOO_IGNORE_CVES += CVE-2020-54321 - - * LIBFOO_CPE_ID_* variables is a set of variables that allows the - package to define its CPE identifier [https://nvd.nist.gov/ - products/cpe]. The available variables are: - - + LIBFOO_CPE_ID_PREFIX, specifies the prefix of the CPE - identifier, i.e the first three fields. When not defined, the - default value is cpe:2.3:a. - + LIBFOO_CPE_ID_VENDOR, specifies the vendor part of the CPE - identifier. When not defined, the default value is - _project. - + LIBFOO_CPE_ID_PRODUCT, specifies the product part of the CPE - identifier. When not defined, the default value is . - + LIBFOO_CPE_ID_VERSION, specifies the version part of the CPE - identifier. When not defined the default value is $ - (LIBFOO_VERSION). - + LIBFOO_CPE_ID_UPDATE specifies the update part of the CPE - identifier. When not defined the default value is *. - - If any of those variables is defined, then the generic package - infrastructure assumes the package provides valid CPE - information. In this case, the generic package infrastructure - will define LIBFOO_CPE_ID. - - For a host package, if its LIBFOO_CPE_ID_* variables are not - defined, it inherits the value of those variables from the - corresponding target package. - -The recommended way to define these variables is to use the following -syntax: - -LIBFOO_VERSION = 2.32 - -Now, the variables that define what should be performed at the -different steps of the build process. - - * LIBFOO_EXTRACT_CMDS lists the actions to be performed to extract - the package. This is generally not needed as tarballs are - automatically handled by Buildroot. However, if the package uses - a non-standard archive format, such as a ZIP or RAR file, or has - a tarball with a non-standard organization, this variable allows - to override the package infrastructure default behavior. - * LIBFOO_CONFIGURE_CMDS lists the actions to be performed to - configure the package before its compilation. - * LIBFOO_BUILD_CMDS lists the actions to be performed to compile - the package. - * HOST_LIBFOO_INSTALL_CMDS lists the actions to be performed to - install the package, when the package is a host package. The - package must install its files to the directory given by $ - (HOST_DIR). All files, including development files such as - headers should be installed, since other packages might be - compiled on top of this package. - * LIBFOO_INSTALL_TARGET_CMDS lists the actions to be performed to - install the package to the target directory, when the package is - a target package. The package must install its files to the - directory given by $(TARGET_DIR). Only the files required for - execution of the package have to be installed. Header files, - static libraries and documentation will be removed again when the - target filesystem is finalized. - * LIBFOO_INSTALL_STAGING_CMDS lists the actions to be performed to - install the package to the staging directory, when the package is - a target package. The package must install its files to the - directory given by $(STAGING_DIR). All development files should - be installed, since they might be needed to compile other - packages. - * LIBFOO_INSTALL_IMAGES_CMDS lists the actions to be performed to - install the package to the images directory, when the package is - a target package. The package must install its files to the - directory given by $(BINARIES_DIR). Only files that are binary - images (aka images) that do not belong in the TARGET_DIR but are - necessary for booting the board should be placed here. For - example, a package should utilize this step if it has binaries - which would be similar to the kernel image, bootloader or root - filesystem images. - * LIBFOO_INSTALL_INIT_SYSV, LIBFOO_INSTALL_INIT_OPENRC and - LIBFOO_INSTALL_INIT_SYSTEMD list the actions to install init - scripts either for the systemV-like init systems (busybox, - sysvinit, etc.), openrc or for the systemd units. These commands - will be run only when the relevant init system is installed (i.e. - if systemd is selected as the init system in the configuration, - only LIBFOO_INSTALL_INIT_SYSTEMD will be run). The only exception - is when openrc is chosen as init system and - LIBFOO_INSTALL_INIT_OPENRC has not been set, in such situation - LIBFOO_INSTALL_INIT_SYSV will be called, since openrc supports - sysv init scripts. When systemd is used as the init system, - buildroot will automatically enable all services using the - systemctl preset-all command in the final phase of image - building. You can add preset files to prevent a particular unit - from being automatically enabled by buildroot. - * LIBFOO_HELP_CMDS lists the actions to print the package help, - which is included to the main make help output. These commands - can print anything in any format. This is seldom used, as - packages rarely have custom rules. Do not use this variable, - unless you really know that you need to print help. - * LIBFOO_LINUX_CONFIG_FIXUPS lists the Linux kernel configuration - options that are needed to build and use this package, and - without which the package is fundamentally broken. This shall be - a set of calls to one of the kconfig tweaking option: - KCONFIG_ENABLE_OPT, KCONFIG_DISABLE_OPT, or KCONFIG_SET_OPT. This - is seldom used, as package usually have no strict requirements on - the kernel options. - -The preferred way to define these variables is: - -define LIBFOO_CONFIGURE_CMDS - action 1 - action 2 - action 3 -endef - -In the action definitions, you can use the following variables: - - * $(LIBFOO_PKGDIR) contains the path to the directory containing - the libfoo.mk and Config.in files. This variable is useful when - it is necessary to install a file bundled in Buildroot, like a - runtime configuration file, a splashscreen image… - * $(@D), which contains the directory in which the package source - code has been uncompressed. - * $(LIBFOO_DL_DIR) contains the path to the directory where all the - downloads made by Buildroot for libfoo are stored in. - * $(TARGET_CC), $(TARGET_LD), etc. to get the target - cross-compilation utilities - * $(TARGET_CROSS) to get the cross-compilation toolchain prefix - * Of course the $(HOST_DIR), $(STAGING_DIR) and $(TARGET_DIR) - variables to install the packages properly. Those variables point - to the global host, staging and target directories, unless - per-package directory support is used, in which case they point - to the current package host, staging and target directories. In - both cases, it doesn’t make any difference from the package point - of view: it should simply use HOST_DIR, STAGING_DIR and - TARGET_DIR. See Section 8.12, “Top-level parallel build” for more - details about per-package directory support. - -Finally, you can also use hooks. See Section 18.22, “Hooks available -in the various build steps” for more information. - -18.6. Infrastructure for autotools-based packages - -18.6.1. autotools-package tutorial - -First, let’s see how to write a .mk file for an autotools-based -package, with an example : - -01: ################################################################################ -02: # -03: # libfoo -04: # -05: ################################################################################ -06: -07: LIBFOO_VERSION = 1.0 -08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz -09: LIBFOO_SITE = http://www.foosoftware.org/download -10: LIBFOO_INSTALL_STAGING = YES -11: LIBFOO_INSTALL_TARGET = NO -12: LIBFOO_CONF_OPTS = --disable-shared -13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf -14: -15: $(eval $(autotools-package)) - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location. - -On line 10, we tell Buildroot to install the package to the staging -directory. The staging directory, located in output/staging/ is the -directory where all the packages are installed, including their -development files, etc. By default, packages are not installed to the -staging directory, since usually, only libraries need to be installed -in the staging directory: their development files are needed to -compile other libraries or applications depending on them. Also by -default, when staging installation is enabled, packages are installed -in this location using the make install command. - -On line 11, we tell Buildroot to not install the package to the -target directory. This directory contains what will become the root -filesystem running on the target. For purely static libraries, it is -not necessary to install them in the target directory because they -will not be used at runtime. By default, target installation is -enabled; setting this variable to NO is almost never needed. Also by -default, packages are installed in this location using the make -install command. - -On line 12, we tell Buildroot to pass a custom configure option, that -will be passed to the ./configure script before configuring and -building the package. - -On line 13, we declare our dependencies, so that they are built -before the build process of our package starts. - -Finally, on line line 15, we invoke the autotools-package macro that -generates all the Makefile rules that actually allows the package to -be built. - -18.6.2. autotools-package reference - -The main macro of the autotools package infrastructure is -autotools-package. It is similar to the generic-package macro. The -ability to have target and host packages is also available, with the -host-autotools-package macro. - -Just like the generic infrastructure, the autotools infrastructure -works by defining a number of variables before calling the -autotools-package macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the autotools -infrastructure: LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, -LIBFOO_SITE, LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, -LIBFOO_INSTALL_STAGING, LIBFOO_INSTALL_TARGET. - -A few additional variables, specific to the autotools infrastructure, -can also be defined. Many of them are only useful in very specific -cases, typical packages will therefore only use a few of them. - - * LIBFOO_SUBDIR may contain the name of a subdirectory inside the - package that contains the configure script. This is useful, if - for example, the main configure script is not at the root of the - tree extracted by the tarball. If HOST_LIBFOO_SUBDIR is not - specified, it defaults to LIBFOO_SUBDIR. - * LIBFOO_CONF_ENV, to specify additional environment variables to - pass to the configure script. By default, empty. - * LIBFOO_CONF_OPTS, to specify additional configure options to pass - to the configure script. By default, empty. - * LIBFOO_MAKE, to specify an alternate make command. This is - typically useful when parallel make is enabled in the - configuration (using BR2_JLEVEL) but that this feature should be - disabled for the given package, for one reason or another. By - default, set to $(MAKE). If parallel building is not supported by - the package, then it should be set to LIBFOO_MAKE=$(MAKE1). - * LIBFOO_MAKE_ENV, to specify additional environment variables to - pass to make in the build step. These are passed before the make - command. By default, empty. - * LIBFOO_MAKE_OPTS, to specify additional variables to pass to make - in the build step. These are passed after the make command. By - default, empty. - * LIBFOO_AUTORECONF, tells whether the package should be - autoreconfigured or not (i.e. if the configure script and - Makefile.in files should be re-generated by re-running autoconf, - automake, libtool, etc.). Valid values are YES and NO. By - default, the value is NO - * LIBFOO_AUTORECONF_ENV, to specify additional environment - variables to pass to the autoreconf program if LIBFOO_AUTORECONF= - YES. These are passed in the environment of the autoreconf - command. By default, empty. - * LIBFOO_AUTORECONF_OPTS to specify additional options passed to - the autoreconf program if LIBFOO_AUTORECONF=YES. By default, - empty. - * LIBFOO_GETTEXTIZE, tells whether the package should be - gettextized or not (i.e. if the package uses a different gettext - version than Buildroot provides, and it is needed to run - gettextize.) Only valid when LIBFOO_AUTORECONF=YES. Valid values - are YES and NO. The default is NO. - * LIBFOO_GETTEXTIZE_OPTS, to specify additional options passed to - the gettextize program, if LIBFOO_GETTEXTIZE=YES. You may use - that if, for example, the .po files are not located in the - standard place (i.e. in po/ at the root of the package.) By - default, -f. - * LIBFOO_LIBTOOL_PATCH tells whether the Buildroot patch to fix - libtool cross-compilation issues should be applied or not. Valid - values are YES and NO. By default, the value is YES - * LIBFOO_INSTALL_STAGING_OPTS contains the make options used to - install the package to the staging directory. By default, the - value is DESTDIR=$(STAGING_DIR) install, which is correct for - most autotools packages. It is still possible to override it. - * LIBFOO_INSTALL_TARGET_OPTS contains the make options used to - install the package to the target directory. By default, the - value is DESTDIR=$(TARGET_DIR) install. The default value is - correct for most autotools packages, but it is still possible to - override it if needed. - -With the autotools infrastructure, all the steps required to build -and install the packages are already defined, and they generally work -well for most autotools-based packages. However, when required, it is -still possible to customize what is done in any particular step: - - * By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the - various build steps” for details. - * By overriding one of the steps. For example, even if the - autotools infrastructure is used, if the package .mk file defines - its own LIBFOO_CONFIGURE_CMDS variable, it will be used instead - of the default autotools one. However, using this method should - be restricted to very specific cases. Do not use it in the - general case. - -18.7. Infrastructure for CMake-based packages - -18.7.1. cmake-package tutorial - -First, let’s see how to write a .mk file for a CMake-based package, -with an example : - -01: ################################################################################ -02: # -03: # libfoo -04: # -05: ################################################################################ -06: -07: LIBFOO_VERSION = 1.0 -08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz -09: LIBFOO_SITE = http://www.foosoftware.org/download -10: LIBFOO_INSTALL_STAGING = YES -11: LIBFOO_INSTALL_TARGET = NO -12: LIBFOO_CONF_OPTS = -DBUILD_DEMOS=ON -13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf -14: -15: $(eval $(cmake-package)) - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location. - -On line 10, we tell Buildroot to install the package to the staging -directory. The staging directory, located in output/staging/ is the -directory where all the packages are installed, including their -development files, etc. By default, packages are not installed to the -staging directory, since usually, only libraries need to be installed -in the staging directory: their development files are needed to -compile other libraries or applications depending on them. Also by -default, when staging installation is enabled, packages are installed -in this location using the make install command. - -On line 11, we tell Buildroot to not install the package to the -target directory. This directory contains what will become the root -filesystem running on the target. For purely static libraries, it is -not necessary to install them in the target directory because they -will not be used at runtime. By default, target installation is -enabled; setting this variable to NO is almost never needed. Also by -default, packages are installed in this location using the make -install command. - -On line 12, we tell Buildroot to pass custom options to CMake when it -is configuring the package. - -On line 13, we declare our dependencies, so that they are built -before the build process of our package starts. - -Finally, on line line 15, we invoke the cmake-package macro that -generates all the Makefile rules that actually allows the package to -be built. - -18.7.2. cmake-package reference - -The main macro of the CMake package infrastructure is cmake-package. -It is similar to the generic-package macro. The ability to have -target and host packages is also available, with the -host-cmake-package macro. - -Just like the generic infrastructure, the CMake infrastructure works -by defining a number of variables before calling the cmake-package -macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the CMake infrastructure: -LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, -LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, -LIBFOO_INSTALL_TARGET. - -A few additional variables, specific to the CMake infrastructure, can -also be defined. Many of them are only useful in very specific cases, -typical packages will therefore only use a few of them. - - * LIBFOO_SUBDIR may contain the name of a subdirectory inside the - package that contains the main CMakeLists.txt file. This is - useful, if for example, the main CMakeLists.txt file is not at - the root of the tree extracted by the tarball. If - HOST_LIBFOO_SUBDIR is not specified, it defaults to - LIBFOO_SUBDIR. - * LIBFOO_CONF_ENV, to specify additional environment variables to - pass to CMake. By default, empty. - * LIBFOO_CONF_OPTS, to specify additional configure options to pass - to CMake. By default, empty. A number of common CMake options are - set by the cmake-package infrastructure; so it is normally not - necessary to set them in the package’s *.mk file unless you want - to override them: - - + CMAKE_BUILD_TYPE is driven by BR2_ENABLE_DEBUG; - + CMAKE_INSTALL_PREFIX; - + BUILD_SHARED_LIBS is driven by BR2_STATIC_LIBS; - + BUILD_DOC, BUILD_DOCS are disabled; - + BUILD_EXAMPLE, BUILD_EXAMPLES are disabled; - + BUILD_TEST, BUILD_TESTS, BUILD_TESTING are disabled. - * LIBFOO_SUPPORTS_IN_SOURCE_BUILD = NO should be set when the - package cannot be built inside the source tree but needs a - separate build directory. - * LIBFOO_MAKE, to specify an alternate make command. This is - typically useful when parallel make is enabled in the - configuration (using BR2_JLEVEL) but that this feature should be - disabled for the given package, for one reason or another. By - default, set to $(MAKE). If parallel building is not supported by - the package, then it should be set to LIBFOO_MAKE=$(MAKE1). - * LIBFOO_MAKE_ENV, to specify additional environment variables to - pass to make in the build step. These are passed before the make - command. By default, empty. - * LIBFOO_MAKE_OPTS, to specify additional variables to pass to make - in the build step. These are passed after the make command. By - default, empty. - * LIBFOO_INSTALL_OPTS contains the make options used to install the - package to the host directory. By default, the value is install, - which is correct for most CMake packages. It is still possible to - override it. - * LIBFOO_INSTALL_STAGING_OPTS contains the make options used to - install the package to the staging directory. By default, the - value is DESTDIR=$(STAGING_DIR) install/fast, which is correct - for most CMake packages. It is still possible to override it. - * LIBFOO_INSTALL_TARGET_OPTS contains the make options used to - install the package to the target directory. By default, the - value is DESTDIR=$(TARGET_DIR) install/fast. The default value is - correct for most CMake packages, but it is still possible to - override it if needed. - -With the CMake infrastructure, all the steps required to build and -install the packages are already defined, and they generally work -well for most CMake-based packages. However, when required, it is -still possible to customize what is done in any particular step: - - * By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the - various build steps” for details. - * By overriding one of the steps. For example, even if the CMake - infrastructure is used, if the package .mk file defines its own - LIBFOO_CONFIGURE_CMDS variable, it will be used instead of the - default CMake one. However, using this method should be - restricted to very specific cases. Do not use it in the general - case. - -18.8. Infrastructure for Python packages - -This infrastructure applies to Python packages that use the standard -Python setuptools mechanism as their build system, generally -recognizable by the usage of a setup.py script. - -18.8.1. python-package tutorial - -First, let’s see how to write a .mk file for a Python package, with -an example : - -01: ################################################################################ -02: # -03: # python-foo -04: # -05: ################################################################################ -06: -07: PYTHON_FOO_VERSION = 1.0 -08: PYTHON_FOO_SOURCE = python-foo-$(PYTHON_FOO_VERSION).tar.xz -09: PYTHON_FOO_SITE = http://www.foosoftware.org/download -10: PYTHON_FOO_LICENSE = BSD-3-Clause -11: PYTHON_FOO_LICENSE_FILES = LICENSE -12: PYTHON_FOO_ENV = SOME_VAR=1 -13: PYTHON_FOO_DEPENDENCIES = libmad -14: PYTHON_FOO_SETUP_TYPE = distutils -15: -16: $(eval $(python-package)) - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location. - -On line 10 and 11, we give licensing details about the package (its -license on line 10, and the file containing the license text on line -11). - -On line 12, we tell Buildroot to pass custom options to the Python -setup.py script when it is configuring the package. - -On line 13, we declare our dependencies, so that they are built -before the build process of our package starts. - -On line 14, we declare the specific Python build system being used. -In this case the distutils Python build system is used. The two -supported ones are distutils and setuptools. - -Finally, on line 16, we invoke the python-package macro that -generates all the Makefile rules that actually allow the package to -be built. - -18.8.2. python-package reference - -As a policy, packages that merely provide Python modules should all -be named python- in Buildroot. Other packages that use the -Python build system, but are not Python modules, can freely choose -their name (existing examples in Buildroot are scons and supervisor). - -Packages that are only compatible with one version of Python (as in: -Python 2 or Python 3) should depend on that version explicitely in -their Config.in file (BR2_PACKAGE_PYTHON for Python 2, -BR2_PACKAGE_PYTHON3 for Python 3). Packages that are compatible with -both versions should not explicitely depend on them in their -Config.in file, since that condition is already expressed for the -whole "External python modules" menu. - -The main macro of the Python package infrastructure is -python-package. It is similar to the generic-package macro. It is -also possible to create Python host packages with the -host-python-package macro. - -Just like the generic infrastructure, the Python infrastructure works -by defining a number of variables before calling the python-package -or host-python-package macros. - -All the package metadata information variables that exist in the -generic package infrastructure also exist in the Python -infrastructure: PYTHON_FOO_VERSION, PYTHON_FOO_SOURCE, -PYTHON_FOO_PATCH, PYTHON_FOO_SITE, PYTHON_FOO_SUBDIR, -PYTHON_FOO_DEPENDENCIES, PYTHON_FOO_LICENSE, -PYTHON_FOO_LICENSE_FILES, PYTHON_FOO_INSTALL_STAGING, etc. - -Note that: - - * It is not necessary to add python or host-python in the - PYTHON_FOO_DEPENDENCIES variable of a package, since these basic - dependencies are automatically added as needed by the Python - package infrastructure. - * Similarly, it is not needed to add host-setuptools to - PYTHON_FOO_DEPENDENCIES for setuptools-based packages, since it’s - automatically added by the Python infrastructure as needed. - -One variable specific to the Python infrastructure is mandatory: - - * PYTHON_FOO_SETUP_TYPE, to define which Python build system is - used by the package. The two supported values are distutils and - setuptools. If you don’t know which one is used in your package, - look at the setup.py file in your package source code, and see - whether it imports things from the distutils module or the - setuptools module. - -A few additional variables, specific to the Python infrastructure, -can optionally be defined, depending on the package’s needs. Many of -them are only useful in very specific cases, typical packages will -therefore only use a few of them, or none. - - * PYTHON_FOO_SUBDIR may contain the name of a subdirectory inside - the package that contains the main setup.py file. This is useful, - if for example, the main setup.py file is not at the root of the - tree extracted by the tarball. If HOST_PYTHON_FOO_SUBDIR is not - specified, it defaults to PYTHON_FOO_SUBDIR. - * PYTHON_FOO_ENV, to specify additional environment variables to - pass to the Python setup.py script (for both the build and - install steps). Note that the infrastructure is automatically - passing several standard variables, defined in - PKG_PYTHON_DISTUTILS_ENV (for distutils target packages), - HOST_PKG_PYTHON_DISTUTILS_ENV (for distutils host packages), - PKG_PYTHON_SETUPTOOLS_ENV (for setuptools target packages) and - HOST_PKG_PYTHON_SETUPTOOLS_ENV (for setuptools host packages). - * PYTHON_FOO_BUILD_OPTS, to specify additional options to pass to - the Python setup.py script during the build step. For target - distutils packages, the PKG_PYTHON_DISTUTILS_BUILD_OPTS options - are already passed automatically by the infrastructure. - * PYTHON_FOO_INSTALL_TARGET_OPTS, PYTHON_FOO_INSTALL_STAGING_OPTS, - HOST_PYTHON_FOO_INSTALL_OPTS to specify additional options to - pass to the Python setup.py script during the target installation - step, the staging installation step or the host installation, - respectively. Note that the infrastructure is automatically - passing some options, defined in - PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS or - PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS (for target distutils - packages), HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS (for host - distutils packages), PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS or - PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS (for target setuptools - packages) and HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS (for host - setuptools packages). - * HOST_PYTHON_FOO_NEEDS_HOST_PYTHON, to define the host python - interpreter. The usage of this variable is limited to host - packages. The two supported value are python2 and python3. It - will ensure the right host python package is available and will - invoke it for the build. If some build steps are overloaded, the - right python interpreter must be explicitly called in the - commands. - -With the Python infrastructure, all the steps required to build and -install the packages are already defined, and they generally work -well for most Python-based packages. However, when required, it is -still possible to customize what is done in any particular step: - - * By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the - various build steps” for details. - * By overriding one of the steps. For example, even if the Python - infrastructure is used, if the package .mk file defines its own - PYTHON_FOO_BUILD_CMDS variable, it will be used instead of the - default Python one. However, using this method should be - restricted to very specific cases. Do not use it in the general - case. - -18.8.3. Generating a python-package from a PyPI repository - -If the Python package for which you would like to create a Buildroot -package is available on PyPI, you may want to use the scanpypi tool -located in utils/ to automate the process. - -You can find the list of existing PyPI packages here [https:// -pypi.python.org]. - -scanpypi requires Python’s setuptools package to be installed on your -host. - -When at the root of your buildroot directory just do : - -utils/scanpypi foo bar -o package - -This will generate packages python-foo and python-bar in the package -folder if they exist on https://pypi.python.org. - -Find the external python modules menu and insert your package inside. -Keep in mind that the items inside a menu should be in alphabetical -order. - -Please keep in mind that you’ll most likely have to manually check -the package for any mistakes as there are things that cannot be -guessed by the generator (e.g. dependencies on any of the python core -modules such as BR2_PACKAGE_PYTHON_ZLIB). Also, please take note that -the license and license files are guessed and must be checked. You -also need to manually add the package to the package/Config.in file. - -If your Buildroot package is not in the official Buildroot tree but -in a br2-external tree, use the -o flag as follows: - -utils/scanpypi foo bar -o other_package_dir - -This will generate packages python-foo and python-bar in the -other_package_directory instead of package. - -Option -h will list the available options: - -utils/scanpypi -h - -18.8.4. python-package CFFI backend - -C Foreign Function Interface for Python (CFFI) provides a convenient -and reliable way to call compiled C code from Python using interface -declarations written in C. Python packages relying on this backend -can be identified by the appearance of a cffi dependency in the -install_requires field of their setup.py file. - -Such a package should: - - * add python-cffi as a runtime dependency in order to install the - compiled C library wrapper on the target. This is achieved by - adding select BR2_PACKAGE_PYTHON_CFFI to the package Config.in. - -config BR2_PACKAGE_PYTHON_FOO - bool "python-foo" - select BR2_PACKAGE_PYTHON_CFFI # runtime - - * add host-python-cffi as a build-time dependency in order to - cross-compile the C wrapper. This is achieved by adding - host-python-cffi to the PYTHON_FOO_DEPENDENCIES variable. - -################################################################################ -# -# python-foo -# -################################################################################ - -... - -PYTHON_FOO_DEPENDENCIES = host-python-cffi - -$(eval $(python-package)) - -18.9. Infrastructure for LuaRocks-based packages - -18.9.1. luarocks-package tutorial - -First, let’s see how to write a .mk file for a LuaRocks-based -package, with an example : - -01: ################################################################################ -02: # -03: # lua-foo -04: # -05: ################################################################################ -06: -07: LUA_FOO_VERSION = 1.0.2-1 -08: LUA_FOO_NAME_UPSTREAM = foo -09: LUA_FOO_DEPENDENCIES = bar -10: -11: LUA_FOO_BUILD_OPTS += BAR_INCDIR=$(STAGING_DIR)/usr/include -12: LUA_FOO_BUILD_OPTS += BAR_LIBDIR=$(STAGING_DIR)/usr/lib -13: LUA_FOO_LICENSE = luaFoo license -14: LUA_FOO_LICENSE_FILES = $(LUA_FOO_SUBDIR)/COPYING -15: -16: $(eval $(luarocks-package)) - -On line 7, we declare the version of the package (the same as in the -rockspec, which is the concatenation of the upstream version and the -rockspec revision, separated by a hyphen -). - -On line 8, we declare that the package is called "foo" on LuaRocks. -In Buildroot, we give Lua-related packages a name that starts with -"lua", so the Buildroot name is different from the upstream name. -LUA_FOO_NAME_UPSTREAM makes the link between the two names. - -On line 9, we declare our dependencies against native libraries, so -that they are built before the build process of our package starts. - -On lines 11-12, we tell Buildroot to pass custom options to LuaRocks -when it is building the package. - -On lines 13-14, we specify the licensing terms for the package. - -Finally, on line 16, we invoke the luarocks-package macro that -generates all the Makefile rules that actually allows the package to -be built. - -Most of these details can be retrieved from the rock and rockspec. -So, this file and the Config.in file can be generated by running the -command luarocks buildroot foo lua-foo in the Buildroot directory. -This command runs a specific Buildroot addon of luarocks that will -automatically generate a Buildroot package. The result must still be -manually inspected and possibly modified. - - * The package/Config.in file has to be updated manually to include - the generated Config.in files. - -18.9.2. luarocks-package reference - -LuaRocks is a deployment and management system for Lua modules, and -supports various build.type: builtin, make and cmake. In the context -of Buildroot, the luarocks-package infrastructure only supports the -builtin mode. LuaRocks packages that use the make or cmake build -mechanisms should instead be packaged using the generic-package and -cmake-package infrastructures in Buildroot, respectively. - -The main macro of the LuaRocks package infrastructure is -luarocks-package: like generic-package it works by defining a number -of variables providing metadata information about the package, and -then calling luarocks-package. - -Just like the generic infrastructure, the LuaRocks infrastructure -works by defining a number of variables before calling the -luarocks-package macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the LuaRocks infrastructure: -LUA_FOO_VERSION, LUA_FOO_SOURCE, LUA_FOO_SITE, LUA_FOO_DEPENDENCIES, -LUA_FOO_LICENSE, LUA_FOO_LICENSE_FILES. - -Two of them are populated by the LuaRocks infrastructure (for the -download step). If your package is not hosted on the LuaRocks mirror -$(BR2_LUAROCKS_MIRROR), you can override them: - - * LUA_FOO_SITE, which defaults to $(BR2_LUAROCKS_MIRROR) - * LUA_FOO_SOURCE, which defaults to $(lowercase - LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).src.rock - -A few additional variables, specific to the LuaRocks infrastructure, -are also defined. They can be overridden in specific cases. - - * LUA_FOO_NAME_UPSTREAM, which defaults to lua-foo, i.e. the - Buildroot package name - * LUA_FOO_ROCKSPEC, which defaults to $(lowercase - LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).rockspec - * LUA_FOO_SUBDIR, which defaults to $(LUA_FOO_NAME_UPSTREAM)-$ - (LUA_FOO_VERSION_WITHOUT_ROCKSPEC_REVISION) - * LUA_FOO_BUILD_OPTS contains additional build options for the - luarocks build call. - -18.10. Infrastructure for Perl/CPAN packages - -18.10.1. perl-package tutorial - -First, let’s see how to write a .mk file for a Perl/CPAN package, -with an example : - -01: ################################################################################ -02: # -03: # perl-foo-bar -04: # -05: ################################################################################ -06: -07: PERL_FOO_BAR_VERSION = 0.02 -08: PERL_FOO_BAR_SOURCE = Foo-Bar-$(PERL_FOO_BAR_VERSION).tar.gz -09: PERL_FOO_BAR_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MO/MONGER -10: PERL_FOO_BAR_DEPENDENCIES = perl-strictures -11: PERL_FOO_BAR_LICENSE = Artistic or GPL-1.0+ -12: PERL_FOO_BAR_LICENSE_FILES = LICENSE -13: PERL_FOO_BAR_DISTNAME = Foo-Bar -14: -15: $(eval $(perl-package)) - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball and the location -of the tarball on a CPAN server. Buildroot will automatically -download the tarball from this location. - -On line 10, we declare our dependencies, so that they are built -before the build process of our package starts. - -On line 11 and 12, we give licensing details about the package (its -license on line 11, and the file containing the license text on line -12). - -On line 13, the name of the distribution as needed by the script -utils/scancpan (in order to regenerate/upgrade these package files). - -Finally, on line 15, we invoke the perl-package macro that generates -all the Makefile rules that actually allow the package to be built. - -Most of these data can be retrieved from https://metacpan.org/. So, -this file and the Config.in can be generated by running the script -utils/scancpan Foo-Bar in the Buildroot directory (or in a -br2-external tree). This script creates a Config.in file and -foo-bar.mk file for the requested package, and also recursively for -all dependencies specified by CPAN. You should still manually edit -the result. In particular, the following things should be checked. - - * If the perl module links with a shared library that is provided - by another (non-perl) package, this dependency is not added - automatically. It has to be added manually to - PERL_FOO_BAR_DEPENDENCIES. - * The package/Config.in file has to be updated manually to include - the generated Config.in files. As a hint, the scancpan script - prints out the required source "…" statements, sorted - alphabetically. - -18.10.2. perl-package reference - -As a policy, packages that provide Perl/CPAN modules should all be -named perl- in Buildroot. - -This infrastructure handles various Perl build systems : -ExtUtils-MakeMaker (EUMM), Module-Build (MB) and Module-Build-Tiny. -Build.PL is preferred by default when a package provides a -Makefile.PL and a Build.PL. - -The main macro of the Perl/CPAN package infrastructure is -perl-package. It is similar to the generic-package macro. The ability -to have target and host packages is also available, with the -host-perl-package macro. - -Just like the generic infrastructure, the Perl/CPAN infrastructure -works by defining a number of variables before calling the -perl-package macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the Perl/CPAN -infrastructure: PERL_FOO_VERSION, PERL_FOO_SOURCE, PERL_FOO_PATCH, -PERL_FOO_SITE, PERL_FOO_SUBDIR, PERL_FOO_DEPENDENCIES, -PERL_FOO_INSTALL_TARGET. - -Note that setting PERL_FOO_INSTALL_STAGING to YES has no effect -unless a PERL_FOO_INSTALL_STAGING_CMDS variable is defined. The perl -infrastructure doesn’t define these commands since Perl modules -generally don’t need to be installed to the staging directory. - -A few additional variables, specific to the Perl/CPAN infrastructure, -can also be defined. Many of them are only useful in very specific -cases, typical packages will therefore only use a few of them. - - * PERL_FOO_PREFER_INSTALLER/HOST_PERL_FOO_PREFER_INSTALLER, - specifies the preferred installation method. Possible values are - EUMM (for Makefile.PL based installation using - ExtUtils-MakeMaker) and MB (for Build.PL based installation using - Module-Build). This variable is only used when the package - provides both installation methods. - * PERL_FOO_CONF_ENV/HOST_PERL_FOO_CONF_ENV, to specify additional - environment variables to pass to the perl Makefile.PL or perl - Build.PL. By default, empty. - * PERL_FOO_CONF_OPTS/HOST_PERL_FOO_CONF_OPTS, to specify additional - configure options to pass to the perl Makefile.PL or perl - Build.PL. By default, empty. - * PERL_FOO_BUILD_OPTS/HOST_PERL_FOO_BUILD_OPTS, to specify - additional options to pass to make pure_all or perl Build build - in the build step. By default, empty. - * PERL_FOO_INSTALL_TARGET_OPTS, to specify additional options to - pass to make pure_install or perl Build install in the install - step. By default, empty. - * HOST_PERL_FOO_INSTALL_OPTS, to specify additional options to pass - to make pure_install or perl Build install in the install step. - By default, empty. - -18.11. Infrastructure for virtual packages - -In Buildroot, a virtual package is a package whose functionalities -are provided by one or more packages, referred to as providers. The -virtual package management is an extensible mechanism allowing the -user to choose the provider used in the rootfs. - -For example, OpenGL ES is an API for 2D and 3D graphics on embedded -systems. The implementation of this API is different for the -Allwinner Tech Sunxi and the Texas Instruments OMAP35xx platforms. So -libgles will be a virtual package and sunxi-mali and ti-gfx will be -the providers. - -18.11.1. virtual-package tutorial - -In the following example, we will explain how to add a new virtual -package (something-virtual) and a provider for it (some-provider). - -First, let’s create the virtual package. - -18.11.2. Virtual package’s Config.in file - -The Config.in file of virtual package something-virtual should -contain: - -01: config BR2_PACKAGE_HAS_SOMETHING_VIRTUAL -02: bool -03: -04: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL -05: depends on BR2_PACKAGE_HAS_SOMETHING_VIRTUAL -06: string - -In this file, we declare two options, -BR2_PACKAGE_HAS_SOMETHING_VIRTUAL and -BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL, whose values will be used by -the providers. - -18.11.3. Virtual package’s .mk file - -The .mk for the virtual package should just evaluate the -virtual-package macro: - -01: ################################################################################ -02: # -03: # something-virtual -04: # -05: ################################################################################ -06: -07: $(eval $(virtual-package)) - -The ability to have target and host packages is also available, with -the host-virtual-package macro. - -18.11.4. Provider’s Config.in file - -When adding a package as a provider, only the Config.in file requires -some modifications. - -The Config.in file of the package some-provider, which provides the -functionalities of something-virtual, should contain: - -01: config BR2_PACKAGE_SOME_PROVIDER -02: bool "some-provider" -03: select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL -04: help -05: This is a comment that explains what some-provider is. -06: -07: http://foosoftware.org/some-provider/ -08: -09: if BR2_PACKAGE_SOME_PROVIDER -10: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL -11: default "some-provider" -12: endif - -On line 3, we select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL, and on line -11, we set the value of BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL to the -name of the provider, but only if it is selected. - -18.11.5. Provider’s .mk file - -The .mk file should also declare an additional variable -SOME_PROVIDER_PROVIDES to contain the names of all the virtual -packages it is an implementation of: - -01: SOME_PROVIDER_PROVIDES = something-virtual - -Of course, do not forget to add the proper build and runtime -dependencies for this package! - -18.11.6. Notes on depending on a virtual package - -When adding a package that requires a certain FEATURE provided by a -virtual package, you have to use depends on BR2_PACKAGE_HAS_FEATURE, -like so: - -config BR2_PACKAGE_HAS_FEATURE - bool - -config BR2_PACKAGE_FOO - bool "foo" - depends on BR2_PACKAGE_HAS_FEATURE - -18.11.7. Notes on depending on a specific provider - -If your package really requires a specific provider, then you’ll have -to make your package depends on this provider; you can not select a -provider. - -Let’s take an example with two providers for a FEATURE: - -config BR2_PACKAGE_HAS_FEATURE - bool - -config BR2_PACKAGE_FOO - bool "foo" - select BR2_PACKAGE_HAS_FEATURE - -config BR2_PACKAGE_BAR - bool "bar" - select BR2_PACKAGE_HAS_FEATURE - -And you are adding a package that needs FEATURE as provided by foo, -but not as provided by bar. - -If you were to use select BR2_PACKAGE_FOO, then the user would still -be able to select BR2_PACKAGE_BAR in the menuconfig. This would -create a configuration inconsistency, whereby two providers of the -same FEATURE would be enabled at once, one explicitly set by the -user, the other implicitly by your select. - -Instead, you have to use depends on BR2_PACKAGE_FOO, which avoids any -implicit configuration inconsistency. - -18.12. Infrastructure for packages using kconfig for configuration -files - -A popular way for a software package to handle user-specified -configuration is kconfig. Among others, it is used by the Linux -kernel, Busybox, and Buildroot itself. The presence of a .config file -and a menuconfig target are two well-known symptoms of kconfig being -used. - -Buildroot features an infrastructure for packages that use kconfig -for their configuration. This infrastructure provides the necessary -logic to expose the package’s menuconfig target as foo-menuconfig in -Buildroot, and to handle the copying back and forth of the -configuration file in a correct way. - -The kconfig-package infrastructure is based on the generic-package -infrastructure. All variables supported by generic-package are -available in kconfig-package as well. See Section 18.5.2, -“generic-package reference” for more details. - -In order to use the kconfig-package infrastructure for a Buildroot -package, the minimally required lines in the .mk file, in addition to -the variables required by the generic-package infrastructure, are: - -FOO_KCONFIG_FILE = reference-to-source-configuration-file - -$(eval $(kconfig-package)) - -This snippet creates the following make targets: - - * foo-menuconfig, which calls the package’s menuconfig target - * foo-update-config, which copies the configuration back to the - source configuration file. It is not possible to use this target - when fragment files are set. - * foo-update-defconfig, which copies the configuration back to the - source configuration file. The configuration file will only list - the options that differ from the default values. It is not - possible to use this target when fragment files are set. - * foo-diff-config, which outputs the differences between the - current configuration and the one defined in the Buildroot - configuration for this kconfig package. The output is useful to - identify the configuration changes that may have to be propagated - to configuration fragments for example. - -and ensures that the source configuration file is copied to the build -directory at the right moment. - -There are two options to specify a configuration file to use, either -FOO_KCONFIG_FILE (as in the example, above) or FOO_KCONFIG_DEFCONFIG. -It is mandatory to provide either, but not both: - - * FOO_KCONFIG_FILE specifies the path to a defconfig or full-config - file to be used to configure the package. - * FOO_KCONFIG_DEFCONFIG specifies the defconfig make rule to call - to configure the package. - -In addition to these minimally required lines, several optional -variables can be set to suit the needs of the package under -consideration: - - * FOO_KCONFIG_EDITORS: a space-separated list of kconfig editors to - support, for example menuconfig xconfig. By default, menuconfig. - * FOO_KCONFIG_FRAGMENT_FILES: a space-separated list of - configuration fragment files that are merged to the main - configuration file. Fragment files are typically used when there - is a desire to stay in sync with an upstream (def)config file, - with some minor modifications. - * FOO_KCONFIG_OPTS: extra options to pass when calling the kconfig - editors. This may need to include $(FOO_MAKE_OPTS), for example. - By default, empty. - * FOO_KCONFIG_FIXUP_CMDS: a list of shell commands needed to fixup - the configuration file after copying it or running a kconfig - editor. Such commands may be needed to ensure a configuration - consistent with other configuration of Buildroot, for example. By - default, empty. - * FOO_KCONFIG_DOTCONFIG: path (with filename) of the .config file, - relative to the package source tree. The default, .config, should - be well suited for all packages that use the standard kconfig - infrastructure as inherited from the Linux kernel; some packages - use a derivative of kconfig that use a different location. - * FOO_KCONFIG_DEPENDENCIES: the list of packages (most probably, - host packages) that need to be built before this package’s - kconfig is interpreted. Seldom used. By default, empty. - -18.13. Infrastructure for rebar-based packages - -18.13.1. rebar-package tutorial - -First, let’s see how to write a .mk file for a rebar-based package, -with an example : - -01: ################################################################################ -02: # -03: # erlang-foobar -04: # -05: ################################################################################ -06: -07: ERLANG_FOOBAR_VERSION = 1.0 -08: ERLANG_FOOBAR_SOURCE = erlang-foobar-$(ERLANG_FOOBAR_VERSION).tar.xz -09: ERLANG_FOOBAR_SITE = http://www.foosoftware.org/download -10: ERLANG_FOOBAR_DEPENDENCIES = host-libaaa libbbb -11: -12: $(eval $(rebar-package)) - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location. - -On line 10, we declare our dependencies, so that they are built -before the build process of our package starts. - -Finally, on line 12, we invoke the rebar-package macro that generates -all the Makefile rules that actually allows the package to be built. - -18.13.2. rebar-package reference - -The main macro of the rebar package infrastructure is rebar-package. -It is similar to the generic-package macro. The ability to have host -packages is also available, with the host-rebar-package macro. - -Just like the generic infrastructure, the rebar infrastructure works -by defining a number of variables before calling the rebar-package -macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the rebar infrastructure: -ERLANG_FOOBAR_VERSION, ERLANG_FOOBAR_SOURCE, ERLANG_FOOBAR_PATCH, -ERLANG_FOOBAR_SITE, ERLANG_FOOBAR_SUBDIR, ERLANG_FOOBAR_DEPENDENCIES, -ERLANG_FOOBAR_INSTALL_STAGING, ERLANG_FOOBAR_INSTALL_TARGET, -ERLANG_FOOBAR_LICENSE and ERLANG_FOOBAR_LICENSE_FILES. - -A few additional variables, specific to the rebar infrastructure, can -also be defined. Many of them are only useful in very specific cases, -typical packages will therefore only use a few of them. - - * ERLANG_FOOBAR_USE_AUTOCONF, to specify that the package uses - autoconf at the configuration step. When a package sets this - variable to YES, the autotools infrastructure is used. - - Note. You can also use some of the variables from the autotools - infrastructure: ERLANG_FOOBAR_CONF_ENV, ERLANG_FOOBAR_CONF_OPTS, - ERLANG_FOOBAR_AUTORECONF, ERLANG_FOOBAR_AUTORECONF_ENV and - ERLANG_FOOBAR_AUTORECONF_OPTS. - - * ERLANG_FOOBAR_USE_BUNDLED_REBAR, to specify that the package has - a bundled version of rebar and that it shall be used. Valid - values are YES or NO (the default). - - Note. If the package bundles a rebar utility, but can use the - generic one that Buildroot provides, just say NO (i.e., do not - specify this variable). Only set if it is mandatory to use the - rebar utility bundled in this package. - - * ERLANG_FOOBAR_REBAR_ENV, to specify additional environment - variables to pass to the rebar utility. - * ERLANG_FOOBAR_KEEP_DEPENDENCIES, to keep the dependencies - described in the rebar.config file. Valid values are YES or NO - (the default). Unless this variable is set to YES, the rebar - infrastructure removes such dependencies in a post-patch hook to - ensure rebar does not download nor compile them. - -With the rebar infrastructure, all the steps required to build and -install the packages are already defined, and they generally work -well for most rebar-based packages. However, when required, it is -still possible to customize what is done in any particular step: - - * By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the - various build steps” for details. - * By overriding one of the steps. For example, even if the rebar - infrastructure is used, if the package .mk file defines its own - ERLANG_FOOBAR_BUILD_CMDS variable, it will be used instead of the - default rebar one. However, using this method should be - restricted to very specific cases. Do not use it in the general - case. - -18.14. Infrastructure for Waf-based packages - -18.14.1. waf-package tutorial - -First, let’s see how to write a .mk file for a Waf-based package, -with an example : - -01: ################################################################################ -02: # -03: # libfoo -04: # -05: ################################################################################ -06: -07: LIBFOO_VERSION = 1.0 -08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz -09: LIBFOO_SITE = http://www.foosoftware.org/download -10: LIBFOO_CONF_OPTS = --enable-bar --disable-baz -11: LIBFOO_DEPENDENCIES = bar -12: -13: $(eval $(waf-package)) - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location. - -On line 10, we tell Buildroot what options to enable for libfoo. - -On line 11, we tell Buildroot the dependencies of libfoo. - -Finally, on line line 13, we invoke the waf-package macro that -generates all the Makefile rules that actually allows the package to -be built. - -18.14.2. waf-package reference - -The main macro of the Waf package infrastructure is waf-package. It -is similar to the generic-package macro. - -Just like the generic infrastructure, the Waf infrastructure works by -defining a number of variables before calling the waf-package macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the Waf infrastructure: -LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, -LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, -LIBFOO_INSTALL_TARGET. - -An additional variable, specific to the Waf infrastructure, can also -be defined. - - * LIBFOO_SUBDIR may contain the name of a subdirectory inside the - package that contains the main wscript file. This is useful, if - for example, the main wscript file is not at the root of the tree - extracted by the tarball. If HOST_LIBFOO_SUBDIR is not specified, - it defaults to LIBFOO_SUBDIR. - * LIBFOO_NEEDS_EXTERNAL_WAF can be set to YES or NO to tell - Buildroot to use the bundled waf executable. If set to NO, the - default, then Buildroot will use the waf executable provided in - the package source tree; if set to YES, then Buildroot will - download, install waf as a host tool and use it to build the - package. - * LIBFOO_WAF_OPTS, to specify additional options to pass to the waf - script at every step of the package build process: configure, - build and installation. By default, empty. - * LIBFOO_CONF_OPTS, to specify additional options to pass to the - waf script for the configuration step. By default, empty. - * LIBFOO_BUILD_OPTS, to specify additional options to pass to the - waf script during the build step. By default, empty. - * LIBFOO_INSTALL_STAGING_OPTS, to specify additional options to - pass to the waf script during the staging installation step. By - default, empty. - * LIBFOO_INSTALL_TARGET_OPTS, to specify additional options to pass - to the waf script during the target installation step. By - default, empty. - -18.15. Infrastructure for Meson-based packages - -18.15.1. meson-package tutorial - -Meson [http://mesonbuild.com] is an open source build system meant to -be both extremely fast, and, even more importantly, as user friendly -as possible. It uses Ninja [https://ninja-build.org] as a companion -tool to perform the actual build operations. - -Let’s see how to write a .mk file for a Meson-based package, with an -example: - -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.0 -08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz -09: FOO_SITE = http://www.foosoftware.org/download -10: FOO_LICENSE = GPL-3.0+ -11: FOO_LICENSE_FILES = COPYING -12: FOO_INSTALL_STAGING = YES -13: -14: FOO_DEPENDENCIES = host-pkgconf bar -15: -16: ifeq ($(BR2_PACKAGE_BAZ),y) -17: FOO_CONF_OPTS += -Dbaz=true -18: FOO_DEPENDENCIES += baz -19: else -20: FOO_CONF_OPTS += -Dbaz=false -21: endif -22: -23: $(eval $(meson-package)) - -The Makefile starts with the definition of the standard variables for -package declaration (lines 7 to 11). - -On line line 23, we invoke the meson-package macro that generates all -the Makefile rules that actually allows the package to be built. - -In the example, host-pkgconf and bar are declared as dependencies in -FOO_DEPENDENCIES at line 14 because the Meson build file of foo uses -pkg-config to determine the compilation flags and libraries of -package bar. - -Note that it is not necessary to add host-meson in the -FOO_DEPENDENCIES variable of a package, since this basic dependency -is automatically added as needed by the Meson package infrastructure. - -If the "baz" package is selected, then support for the "baz" feature -in "foo" is activated by adding -Dbaz=true to FOO_CONF_OPTS at line -17, as specified in the meson_options.txt file in "foo" source tree. -The "baz" package is also added to FOO_DEPENDENCIES. Note that the -support for baz is explicitly disabled at line 20, if the package is -not selected. - -To sum it up, to add a new meson-based package, the Makefile example -can be copied verbatim then edited to replace all occurences of FOO -with the uppercase name of the new package and update the values of -the standard variables. - -18.15.2. meson-package reference - -The main macro of the Meson package infrastructure is meson-package. -It is similar to the generic-package macro. The ability to have -target and host packages is also available, with the -host-meson-package macro. - -Just like the generic infrastructure, the Meson infrastructure works -by defining a number of variables before calling the meson-package -macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the Meson infrastructure: -FOO_VERSION, FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_SUBDIR, -FOO_DEPENDENCIES, FOO_INSTALL_STAGING, FOO_INSTALL_TARGET. - -A few additional variables, specific to the Meson infrastructure, can -also be defined. Many of them are only useful in very specific cases, -typical packages will therefore only use a few of them. - - * FOO_SUBDIR may contain the name of a subdirectory inside the - package that contains the main meson.build file. This is useful, - if for example, the main meson.build file is not at the root of - the tree extracted by the tarball. If HOST_FOO_SUBDIR is not - specified, it defaults to FOO_SUBDIR. - * FOO_CONF_ENV, to specify additional environment variables to pass - to meson for the configuration step. By default, empty. - * FOO_CONF_OPTS, to specify additional options to pass to meson for - the configuration step. By default, empty. - * FOO_CFLAGS, to specify compiler arguments added to the package - specific cross-compile.conf file c_args property. By default, the - value of TARGET_CFLAGS. - * FOO_CXXFLAGS, to specify compiler arguments added to the package - specific cross-compile.conf file cpp_args property. By default, - the value of TARGET_CXXFLAGS. - * FOO_LDFLAGS, to specify compiler arguments added to the package - specific cross-compile.conf file c_link_args and cpp_link_args - properties. By default, the value of TARGET_LDFLAGS. - * FOO_MESON_EXTRA_BINARIES, to specify a space-separated list of - programs to add to the [binaries] section of the meson - cross-compilation.conf configuration file. The format is - program-name='/path/to/program', with no space around the = sign, - and with the path of the program between single quotes. By - default, empty. Note that Buildroot already sets the correct - values for c, cpp, ar, strip, and pkgconfig. - * FOO_MESON_EXTRA_PROPERTIES, to specify a space-separated list of - properties to add to the [properties] section of the meson - cross-compilation.conf configuration file. The format is - property-name= with no space around the = sign, and with - single quotes around string values. By default, empty. Note that - Buildroot already sets values for needs_exe_wrapper, c_args, - c_link_args, cpp_args, cpp_link_args, sys_root, and - pkg_config_libdir. - * FOO_NINJA_ENV, to specify additional environment variables to - pass to ninja, meson companion tool in charge of the build - operations. By default, empty. - * FOO_NINJA_OPTS, to specify a space-separated list of targets to - build. By default, empty, to build the default target(s). - -18.16. Integration of Cargo-based packages - -Cargo is the package manager for the Rust programming language. It -allows the user to build programs or libraries written in Rust, but -it also downloads and manages their dependencies, to ensure -repeatable builds. Cargo packages are called "crates". - -18.16.1. Cargo-based package’s Config.in file - -The Config.in file of Cargo-based package foo should contain: - -01: config BR2_PACKAGE_FOO -02: bool "foo" -03: depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS -04: select BR2_PACKAGE_HOST_RUSTC -05: help -06: This is a comment that explains what foo is. -07: -08: http://foosoftware.org/foo/ - -18.16.2. Cargo-based package’s .mk file - -Buildroot does not (yet) provide a dedicated package infrastructure -for Cargo-based packages. So, we will explain how to write a .mk file -for such a package. Let’s start with an example: - -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.0 -08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz -09: FOO_SITE = http://www.foosoftware.org/download -10: FOO_LICENSE = GPL-3.0+ -11: FOO_LICENSE_FILES = COPYING -12: -13: FOO_DEPENDENCIES = host-rustc -14: -15: FOO_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo -16: -17: FOO_BIN_DIR = target/$(RUSTC_TARGET_NAME)/$(FOO_CARGO_MODE) -18: -19: FOO_CARGO_OPTS = \ -20: $(if $(BR2_ENABLE_DEBUG),,--release) \ -21: --target=$(RUSTC_TARGET_NAME) \ -22: --manifest-path=$(@D)/Cargo.toml -23: -24: define FOO_BUILD_CMDS -25: $(TARGET_MAKE_ENV) $(FOO_CARGO_ENV) \ -26: cargo build $(FOO_CARGO_OPTS) -27: endef -28: -29: define FOO_INSTALL_TARGET_CMDS -30: $(INSTALL) -D -m 0755 $(@D)/$(FOO_BIN_DIR)/foo \ -31: $(TARGET_DIR)/usr/bin/foo -32: endef -33: -34: $(eval $(generic-package)) - -The Makefile starts with the definition of the standard variables for -package declaration (lines 7 to 11). - -As seen in line 34, it is based on the generic-package infrastructure -. So, it defines the variables required by this particular -infrastructure, where Cargo is invoked: - - * FOO_BUILD_CMDS: Cargo is invoked to perform the build. The - options required to configure the cross-compilation of the - package are passed via FOO_CONF_OPTS. - * FOO_INSTALL_TARGET_CMDS: The binary executable generated is - installed on the target. - -In order to have Cargo available for the build, FOO_DEPENDENCIES -needs to contain host-cargo. - -To sum it up, to add a new Cargo-based package, the Makefile example -can be copied verbatim then edited to replace all occurences of FOO -with the uppercase name of the new package and update the values of -the standard variables. - -18.16.3. About Dependencies Management - -A crate can depend on other libraries from crates.io or git -repositories, listed in its Cargo.toml file. Before starting a build, -Cargo usually downloads automatically them. This step can also be -performed independently, via the cargo fetch command. - -Cargo maintains a local cache of the registry index and of git -checkouts of the crates, whose location is given by $CARGO_HOME. As -seen in the package Makefile example at line 15, this environment -variable is set to $(HOST_DIR)/share/cargo. - -This dependency download mechanism is not convenient when performing -an offline build, as Cargo will fail to fetch the dependencies. In -that case, it is advised to generate a tarball of the dependencies -using the cargo vendor and add it to FOO_EXTRA_DOWNLOADS. - -18.17. Infrastructure for Go packages - -This infrastructure applies to Go packages that use the standard -build system and use bundled dependencies. - -18.17.1. golang-package tutorial - -First, let’s see how to write a .mk file for a go package, with an -example : - -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.0 -08: FOO_SITE = $(call github,bar,foo,$(FOO_VERSION)) -09: FOO_LICENSE = BSD-3-Clause -10: FOO_LICENSE_FILES = LICENSE -11: -12: $(eval $(golang-package)) - -On line 7, we declare the version of the package. - -On line 8, we declare the upstream location of the package, here -fetched from Github, since a large number of Go packages are hosted -on Github. - -On line 9 and 10, we give licensing details about the package. - -Finally, on line 12, we invoke the golang-package macro that -generates all the Makefile rules that actually allow the package to -be built. - -18.17.2. golang-package reference - -In their Config.in file, packages using the golang-package -infrastructure should depend on -BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS because Buildroot will -automatically add a dependency on host-go to such packages. If you -need CGO support in your package, you must add a dependency on -BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS. - -The main macro of the Go package infrastructure is golang-package. It -is similar to the generic-package macro. The ability to build host -packages is also available, with the host-golang-package macro. Host -packages built by host-golang-package macro should depend on -BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS. - -Just like the generic infrastructure, the Go infrastructure works by -defining a number of variables before calling the golang-package. - -All the package metadata information variables that exist in the -generic package infrastructure also exist in the Go infrastructure: -FOO_VERSION, FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_SUBDIR, -FOO_DEPENDENCIES, FOO_LICENSE, FOO_LICENSE_FILES, -FOO_INSTALL_STAGING, etc. - -Note that it is not necessary to add host-go in the FOO_DEPENDENCIES -variable of a package, since this basic dependency is automatically -added as needed by the Go package infrastructure. - -A few additional variables, specific to the Go infrastructure, can -optionally be defined, depending on the package’s needs. Many of them -are only useful in very specific cases, typical packages will -therefore only use a few of them, or none. - - * The package must specify its Go module name in the FOO_GOMOD - variable. If not specified, it defaults to URL-domain/ - 1st-part-of-URL/2nd-part-of-URL, e.g FOO_GOMOD will take the - value github.com/bar/foo for a package that specifies FOO_SITE = - $(call github,bar,foo,$(FOO_VERSION)). The Go package - infrastructure will automatically generate a minimal go.mod file - in the package source tree if it doesn’t exist. - * FOO_LDFLAGS and FOO_TAGS can be used to pass respectively the - LDFLAGS or the TAGS to the go build command. - * FOO_BUILD_TARGETS can be used to pass the list of targets that - should be built. If FOO_BUILD_TARGETS is not specified, it - defaults to .. We then have two cases: - - + FOO_BUILD_TARGETS is .. In this case, we assume only one - binary will be produced, and that by default we name it after - the package name. If that is not appropriate, the name of the - produced binary can be overridden using FOO_BIN_NAME. - + FOO_BUILD_TARGETS is not .. In this case, we iterate over the - values to build each target, and for each produced a binary - that is the non-directory component of the target. For - example if FOO_BUILD_TARGETS = cmd/docker cmd/dockerd the - binaries produced are docker and dockerd. - * FOO_INSTALL_BINS can be used to pass the list of binaries that - should be installed in /usr/bin on the target. If - FOO_INSTALL_BINS is not specified, it defaults to the lower-case - name of package. - -With the Go infrastructure, all the steps required to build and -install the packages are already defined, and they generally work -well for most Go-based packages. However, when required, it is still -possible to customize what is done in any particular step: - - * By adding a post-operation hook (after extract, patch, configure, - build or install). See Section 18.22, “Hooks available in the - various build steps” for details. - * By overriding one of the steps. For example, even if the Go - infrastructure is used, if the package .mk file defines its own - FOO_BUILD_CMDS variable, it will be used instead of the default - Go one. However, using this method should be restricted to very - specific cases. Do not use it in the general case. - -18.18. Infrastructure for QMake-based packages - -18.18.1. qmake-package tutorial - -First, let’s see how to write a .mk file for a QMake-based package, -with an example : - -01: ################################################################################ -02: # -03: # libfoo -04: # -05: ################################################################################ -06: -07: LIBFOO_VERSION = 1.0 -08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz -09: LIBFOO_SITE = http://www.foosoftware.org/download -10: LIBFOO_CONF_OPTS = QT_CONFIG+=bar QT_CONFIG-=baz -11: LIBFOO_DEPENDENCIES = bar -12: -13: $(eval $(qmake-package)) - -On line 7, we declare the version of the package. - -On line 8 and 9, we declare the name of the tarball (xz-ed tarball -recommended) and the location of the tarball on the Web. Buildroot -will automatically download the tarball from this location. - -On line 10, we tell Buildroot what options to enable for libfoo. - -On line 11, we tell Buildroot the dependencies of libfoo. - -Finally, on line line 13, we invoke the qmake-package macro that -generates all the Makefile rules that actually allows the package to -be built. - -18.18.2. qmake-package reference - -The main macro of the QMake package infrastructure is qmake-package. -It is similar to the generic-package macro. - -Just like the generic infrastructure, the QMake infrastructure works -by defining a number of variables before calling the qmake-package -macro. - -First, all the package metadata information variables that exist in -the generic infrastructure also exist in the QMake infrastructure: -LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, -LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, -LIBFOO_INSTALL_TARGET. - -An additional variable, specific to the QMake infrastructure, can -also be defined. - - * LIBFOO_CONF_ENV, to specify additional environment variables to - pass to the qmake script for the configuration step. By default, - empty. - * LIBFOO_CONF_OPTS, to specify additional options to pass to the - qmake script for the configuration step. By default, empty. - * LIBFOO_MAKE_ENV, to specify additional environment variables to - the make command during the build and install steps. By default, - empty. - * LIBFOO_MAKE_OPTS, to specify additional targets to pass to the - make command during the build step. By default, empty. - * LIBFOO_INSTALL_STAGING_OPTS, to specify additional targets to - pass to the make command during the staging installation step. By - default, install. - * LIBFOO_INSTALL_TARGET_OPTS, to specify additional targets to pass - to the make command during the target installation step. By - default, install. - * LIBFOO_SYNC_HEADERS, to run syncqt.pl before qmake. Some packages - need this to have a properly populated include directory before - running the build. - -18.19. Infrastructure for packages building kernel modules - -Buildroot offers a helper infrastructure to make it easy to write -packages that build and install Linux kernel modules. Some packages -only contain a kernel module, other packages contain programs and -libraries in addition to kernel modules. Buildroot’s helper -infrastructure supports either case. - -18.19.1. kernel-module tutorial - -Let’s start with an example on how to prepare a simple package that -only builds a kernel module, and no other component: - -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.2.3 -08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz -09: FOO_SITE = http://www.foosoftware.org/download -10: FOO_LICENSE = GPL-2.0 -11: FOO_LICENSE_FILES = COPYING -12: -13: $(eval $(kernel-module)) -14: $(eval $(generic-package)) - -Lines 7-11 define the usual meta-data to specify the version, archive -name, remote URI where to find the package source, licensing -information. - -On line 13, we invoke the kernel-module helper infrastructure, that -generates all the appropriate Makefile rules and variables to build -that kernel module. - -Finally, on line 14, we invoke the generic-package infrastructure. - -The dependency on linux is automatically added, so it is not needed -to specify it in FOO_DEPENDENCIES. - -What you may have noticed is that, unlike other package -infrastructures, we explicitly invoke a second infrastructure. This -allows a package to build a kernel module, but also, if needed, use -any one of other package infrastructures to build normal userland -components (libraries, executables…). Using the kernel-module -infrastructure on its own is not sufficient; another package -infrastructure must be used. - -Let’s look at a more complex example: - -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: FOO_VERSION = 1.2.3 -08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz -09: FOO_SITE = http://www.foosoftware.org/download -10: FOO_LICENSE = GPL-2.0 -11: FOO_LICENSE_FILES = COPYING -12: -13: FOO_MODULE_SUBDIRS = driver/base -14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED) -15: -16: ifeq ($(BR2_PACKAGE_LIBBAR),y) -17: FOO_DEPENDENCIES = libbar -18: FOO_CONF_OPTS = --enable-bar -19: FOO_MODULE_SUBDIRS += driver/bar -20: else -21: FOO_CONF_OPTS = --disable-bar -22: endif -23: -24: $(eval $(kernel-module)) -26: $(eval $(autotools-package)) - -Here, we see that we have an autotools-based package, that also -builds the kernel module located in sub-directory driver/base and, if -libbar is enabled, the kernel module located in sub-directory driver/ -bar, and defines the variable KVERSION to be passed to the Linux -buildsystem when building the module(s). - -18.19.2. kernel-module reference - -The main macro for the kernel module infrastructure is kernel-module. -Unlike other package infrastructures, it is not stand-alone, and -requires any of the other *-package macros be called after it. - -The kernel-module macro defines post-build and post-target-install -hooks to build the kernel modules. If the package’s .mk needs access -to the built kernel modules, it should do so in a post-build hook, -registered after the call to kernel-module. Similarly, if the -package’s .mk needs access to the kernel module after it has been -installed, it should do so in a post-install hook, registered after -the call to kernel-module. Here’s an example: - -$(eval $(kernel-module)) - -define FOO_DO_STUFF_WITH_KERNEL_MODULE - # Do something with it... -endef -FOO_POST_BUILD_HOOKS += FOO_DO_STUFF_WITH_KERNEL_MODULE - -$(eval $(generic-package)) - -Finally, unlike the other package infrastructures, there is no -host-kernel-module variant to build a host kernel module. - -The following additional variables can optionally be defined to -further configure the build of the kernel module: - - * FOO_MODULE_SUBDIRS may be set to one or more sub-directories - (relative to the package source top-directory) where the kernel - module sources are. If empty or not set, the sources for the - kernel module(s) are considered to be located at the top of the - package source tree. - * FOO_MODULE_MAKE_OPTS may be set to contain extra variable - definitions to pass to the Linux buildsystem. - -You may also reference (but you may not set!) those variables: - - * LINUX_DIR contains the path to where the Linux kernel has been - extracted and built. - * LINUX_VERSION contains the version string as configured by the - user. - * LINUX_VERSION_PROBED contains the real version string of the - kernel, retrieved with running make -C $(LINUX_DIR) kernelrelease - * KERNEL_ARCH contains the name of the current architecture, like - arm, mips… - -18.20. Infrastructure for asciidoc documents - -The Buildroot manual, which you are currently reading, is entirely -written using the AsciiDoc [http://asciidoc.org/] mark-up syntax. The -manual is then rendered to many formats: - - * html - * split-html - * pdf - * epub - * text - -Although Buildroot only contains one document written in AsciiDoc, -there is, as for packages, an infrastructure for rendering documents -using the AsciiDoc syntax. - -Also as for packages, the AsciiDoc infrastructure is available from a -br2-external tree. This allows documentation for a br2-external tree -to match the Buildroot documentation, as it will be rendered to the -same formats and use the same layout and theme. - -18.20.1. asciidoc-document tutorial - -Whereas package infrastructures are suffixed with -package, the -document infrastructures are suffixed with -document. So, the -AsciiDoc infrastructure is named asciidoc-document. - -Here is an example to render a simple AsciiDoc document. - -01: ################################################################################ -02: # -03: # foo-document -04: # -05: ################################################################################ -06: -07: FOO_SOURCES = $(sort $(wildcard $(pkgdir)/*)) -08: $(eval $(call asciidoc-document)) - -On line 7, the Makefile declares what the sources of the document -are. Currently, it is expected that the document’s sources are only -local; Buildroot will not attempt to download anything to render a -document. Thus, you must indicate where the sources are. Usually, the -string above is sufficient for a document with no sub-directory -structure. - -On line 8, we call the asciidoc-document function, which generates -all the Makefile code necessary to render the document. - -18.20.2. asciidoc-document reference - -The list of variables that can be set in a .mk file to give metadata -information is (assuming the document name is foo) : - - * FOO_SOURCES, mandatory, defines the source files for the - document. - * FOO_RESOURCES, optional, may contain a space-separated list of - paths to one or more directories containing so-called resources - (like CSS or images). By default, empty. - * FOO_DEPENDENCIES, optional, the list of packages (most probably, - host-packages) that must be built before building this document. - -There are also additional hooks (see Section 18.22, “Hooks available -in the various build steps” for general information on hooks), that a -document may set to define extra actions to be done at various steps: - - * FOO_POST_RSYNC_HOOKS to run additional commands after the sources - have been copied by Buildroot. This can for example be used to - generate part of the manual with information extracted from the - tree. As an example, Buildroot uses this hook to generate the - tables in the appendices. - * FOO_CHECK_DEPENDENCIES_HOOKS to run additional tests on required - components to generate the document. In AsciiDoc, it is possible - to call filters, that is, programs that will parse an AsciiDoc - block and render it appropriately (e.g. ditaa [http:// - ditaa.sourceforge.net/] or aafigure [https://pythonhosted.org/ - aafigure/]). - * FOO_CHECK_DEPENDENCIES__HOOKS, to run additional tests for - the specified format (see the list of rendered formats, - above). - -Here is a complete example that uses all variables and all hooks: - -01: ################################################################################ -02: # -03: # foo-document -04: # -05: ################################################################################ -06: -07: FOO_SOURCES = $(sort $(wildcard $(pkgdir)/*)) -08: FOO_RESOURCES = $(sort $(wildcard $(pkgdir)/ressources)) -09: -10: define FOO_GEN_EXTRA_DOC -11: /path/to/generate-script --outdir=$(@D) -12: endef -13: FOO_POST_RSYNC_HOOKS += FOO_GEN_EXTRA_DOC -14: -15: define FOO_CHECK_MY_PROG -16: if ! which my-prog >/dev/null 2>&1; then \ -17: echo "You need my-prog to generate the foo document"; \ -18: exit 1; \ -19: fi -20: endef -21: FOO_CHECK_DEPENDENCIES_HOOKS += FOO_CHECK_MY_PROG -22: -23: define FOO_CHECK_MY_OTHER_PROG -24: if ! which my-other-prog >/dev/null 2>&1; then \ -25: echo "You need my-other-prog to generate the foo document as PDF"; \ -26: exit 1; \ -27: fi -28: endef -29: FOO_CHECK_DEPENDENCIES_PDF_HOOKS += FOO_CHECK_MY_OTHER_PROG -30: -31: $(eval $(call asciidoc-document)) - -18.21. Infrastructure specific to the Linux kernel package - -The Linux kernel package can use some specific infrastructures based -on package hooks for building Linux kernel tools or/and building -Linux kernel extensions. - -18.21.1. linux-kernel-tools - -Buildroot offers a helper infrastructure to build some userspace -tools for the target available within the Linux kernel sources. Since -their source code is part of the kernel source code, a special -package, linux-tools, exists and re-uses the sources of the Linux -kernel that runs on the target. - -Let’s look at an example of a Linux tool. For a new Linux tool named -foo, create a new menu entry in the existing package/linux-tools/ -Config.in. This file will contain the option descriptions related to -each kernel tool that will be used and displayed in the configuration -tool. It would basically look like: - -01: config BR2_PACKAGE_LINUX_TOOLS_FOO -02: bool "foo" -03: select BR2_PACKAGE_LINUX_TOOLS -04: help -05: This is a comment that explains what foo kernel tool is. -06: -07: http://foosoftware.org/foo/ - -The name of the option starts with the prefix -BR2_PACKAGE_LINUX_TOOLS_, followed by the uppercase name of the tool -(like is done for packages). - -Note. Unlike other packages, the linux-tools package options appear -in the linux kernel menu, under the Linux Kernel Tools sub-menu, not -under the Target packages main menu. - -Then for each linux tool, add a new .mk.in file named package/ -linux-tools/linux-tool-foo.mk.in. It would basically look like: - -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: LINUX_TOOLS += foo -08: -09: FOO_DEPENDENCIES = libbbb -10: -11: define FOO_BUILD_CMDS -12: $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools foo -13: endef -14: -15: define FOO_INSTALL_STAGING_CMDS -16: $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools \ -17: DESTDIR=$(STAGING_DIR) \ -18: foo_install -19: endef -20: -21: define FOO_INSTALL_TARGET_CMDS -22: $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools \ -23: DESTDIR=$(TARGET_DIR) \ -24: foo_install -25: endef - -On line 7, we register the Linux tool foo to the list of available -Linux tools. - -On line 9, we specify the list of dependencies this tool relies on. -These dependencies are added to the Linux package dependencies list -only when the foo tool is selected. - -The rest of the Makefile, lines 11-25 defines what should be done at -the different steps of the Linux tool build process like for a -generic package. They will actually be used only when the foo tool is -selected. The only supported commands are _BUILD_CMDS, -_INSTALL_STAGING_CMDS and _INSTALL_TARGET_CMDS. - -Note. One must not call $(eval $(generic-package)) or any other -package infrastructure! Linux tools are not packages by themselves, -they are part of the linux-tools package. - -18.21.2. linux-kernel-extensions - -Some packages provide new features that require the Linux kernel tree -to be modified. This can be in the form of patches to be applied on -the kernel tree, or in the form of new files to be added to the tree. -The Buildroot’s Linux kernel extensions infrastructure provides a -simple solution to automatically do this, just after the kernel -sources are extracted and before the kernel patches are applied. -Examples of extensions packaged using this mechanism are the -real-time extensions Xenomai and RTAI, as well as the set of -out-of-tree LCD screens drivers fbtft. - -Let’s look at an example on how to add a new Linux extension foo. - -First, create the package foo that provides the extension: this -package is a standard package; see the previous chapters on how to -create such a package. This package is in charge of downloading the -sources archive, checking the hash, defining the licence informations -and building user space tools if any. - -Then create the Linux extension proper: create a new menu entry in -the existing linux/Config.ext.in. This file contains the option -descriptions related to each kernel extension that will be used and -displayed in the configuration tool. It would basically look like: - -01: config BR2_LINUX_KERNEL_EXT_FOO -02: bool "foo" -03: help -04: This is a comment that explains what foo kernel extension is. -05: -06: http://foosoftware.org/foo/ - -Then for each linux extension, add a new .mk file named linux/ -linux-ext-foo.mk. It should basically contain: - -01: ################################################################################ -02: # -03: # foo -04: # -05: ################################################################################ -06: -07: LINUX_EXTENSIONS += foo -08: -09: define FOO_PREPARE_KERNEL -10: $(FOO_DIR)/prepare-kernel-tree.sh --linux-dir=$(@D) -11: endef - -On line 7, we add the Linux extension foo to the list of available -Linux extensions. - -On line 9-11, we define what should be done by the extension to -modify the Linux kernel tree; this is specific to the linux extension -and can use the variables defined by the foo package, like: $ -(FOO_DIR) or $(FOO_VERSION)… as well as all the Linux variables, -like: $(LINUX_VERSION) or $(LINUX_VERSION_PROBED), $(KERNEL_ARCH)… -See the definition of those kernel variables. - -18.22. Hooks available in the various build steps - -The generic infrastructure (and as a result also the derived -autotools and cmake infrastructures) allow packages to specify hooks. -These define further actions to perform after existing steps. Most -hooks aren’t really useful for generic packages, since the .mk file -already has full control over the actions performed in each step of -the package construction. - -The following hook points are available: - - * LIBFOO_PRE_DOWNLOAD_HOOKS - * LIBFOO_POST_DOWNLOAD_HOOKS - * LIBFOO_PRE_EXTRACT_HOOKS - * LIBFOO_POST_EXTRACT_HOOKS - * LIBFOO_PRE_RSYNC_HOOKS - * LIBFOO_POST_RSYNC_HOOKS - * LIBFOO_PRE_PATCH_HOOKS - * LIBFOO_POST_PATCH_HOOKS - * LIBFOO_PRE_CONFIGURE_HOOKS - * LIBFOO_POST_CONFIGURE_HOOKS - * LIBFOO_PRE_BUILD_HOOKS - * LIBFOO_POST_BUILD_HOOKS - * LIBFOO_PRE_INSTALL_HOOKS (for host packages only) - * LIBFOO_POST_INSTALL_HOOKS (for host packages only) - * LIBFOO_PRE_INSTALL_STAGING_HOOKS (for target packages only) - * LIBFOO_POST_INSTALL_STAGING_HOOKS (for target packages only) - * LIBFOO_PRE_INSTALL_TARGET_HOOKS (for target packages only) - * LIBFOO_POST_INSTALL_TARGET_HOOKS (for target packages only) - * LIBFOO_PRE_INSTALL_IMAGES_HOOKS - * LIBFOO_POST_INSTALL_IMAGES_HOOKS - * LIBFOO_PRE_LEGAL_INFO_HOOKS - * LIBFOO_POST_LEGAL_INFO_HOOKS - -These variables are lists of variable names containing actions to be -performed at this hook point. This allows several hooks to be -registered at a given hook point. Here is an example: - -define LIBFOO_POST_PATCH_FIXUP - action1 - action2 -endef - -LIBFOO_POST_PATCH_HOOKS += LIBFOO_POST_PATCH_FIXUP - -18.22.1. Using the POST_RSYNC hook - -The POST_RSYNC hook is run only for packages that use a local source, -either through the local site method or the OVERRIDE_SRCDIR -mechanism. In this case, package sources are copied using rsync from -the local location into the buildroot build directory. The rsync -command does not copy all files from the source directory, though. -Files belonging to a version control system, like the directories -.git, .hg, etc. are not copied. For most packages this is sufficient, -but a given package can perform additional actions using the -POST_RSYNC hook. - -In principle, the hook can contain any command you want. One specific -use case, though, is the intentional copying of the version control -directory using rsync. The rsync command you use in the hook can, -among others, use the following variables: - - * $(SRCDIR): the path to the overridden source directory - * $(@D): the path to the build directory - -18.22.2. Target-finalize hook - -Packages may also register hooks in LIBFOO_TARGET_FINALIZE_HOOKS. -These hooks are run after all packages are built, but before the -filesystem images are generated. They are seldom used, and your -package probably do not need them. - -18.23. Gettext integration and interaction with packages - -Many packages that support internationalization use the gettext -library. Dependencies for this library are fairly complicated and -therefore, deserve some explanation. - -The glibc C library integrates a full-blown implementation of gettext -, supporting translation. Native Language Support is therefore -built-in in glibc. - -On the other hand, the uClibc and musl C libraries only provide a -stub implementation of the gettext functionality, which allows to -compile libraries and programs using gettext functions, but without -providing the translation capabilities of a full-blown gettext -implementation. With such C libraries, if real Native Language -Support is necessary, it can be provided by the libintl library of -the gettext package. - -Due to this, and in order to make sure that Native Language Support -is properly handled, packages in Buildroot that can use NLS support -should: - - 1. Ensure NLS support is enabled when BR2_SYSTEM_ENABLE_NLS=y. This - is done automatically for autotools packages and therefore should - only be done for packages using other package infrastructures. - 2. Add $(TARGET_NLS_DEPENDENCIES) to the package _DEPENDENCIES - variable. This addition should be done unconditionally: the value - of this variable is automatically adjusted by the core - infrastructure to contain the relevant list of packages. If NLS - support is disabled, this variable is empty. If NLS support is - enabled, this variable contains host-gettext so that tools needed - to compile translation files are available on the host. In - addition, if uClibc or musl are used, this variable also contains - gettext in order to get the full-blown gettext implementation. - 3. If needed, add $(TARGET_NLS_LIBS) to the linker flags, so that - the package gets linked with libintl. This is generally not - needed with autotools packages as they usually detect - automatically that they should link with libintl. However, - packages using other build systems, or problematic - autotools-based packages may need this. $(TARGET_NLS_LIBS) should - be added unconditionally to the linker flags, as the core - automatically makes it empty or defined to -lintl depending on - the configuration. - -No changes should be made to the Config.in file to support NLS. - -Finally, certain packages need some gettext utilities on the target, -such as the gettext program itself, which allows to retrieve -translated strings, from the command line. In such a case, the -package should: - - * use select BR2_PACKAGE_GETTEXT in their Config.in file, - indicating in a comment above that it’s a runtime dependency - only. - * not add any gettext dependency in the DEPENDENCIES variable of - their .mk file. - -18.24. Tips and tricks - -18.24.1. Package name, config entry name and makefile variable -relationship - -In Buildroot, there is some relationship between: - - * the package name, which is the package directory name (and the - name of the *.mk file); - * the config entry name that is declared in the Config.in file; - * the makefile variable prefix. - -It is mandatory to maintain consistency between these elements, using -the following rules: - - * the package directory and the *.mk name are the package name - itself (e.g.: package/foo-bar_boo/foo-bar_boo.mk); - * the make target name is the package name itself (e.g.: - foo-bar_boo); - * the config entry is the upper case package name with . and - - characters substituted with _, prefixed with BR2_PACKAGE_ (e.g.: - BR2_PACKAGE_FOO_BAR_BOO); - * the *.mk file variable prefix is the upper case package name with - . and - characters substituted with _ (e.g.: - FOO_BAR_BOO_VERSION). - -18.24.2. How to check the coding style - -Buildroot provides a script in utils/check-package that checks new or -changed files for coding style. It is not a complete language -validator, but it catches many common mistakes. It is meant to run in -the actual files you created or modified, before creating the patch -for submission. - -This script can be used for packages, filesystem makefiles, Config.in -files, etc. It does not check the files defining the package -infrastructures and some other files containing similar common code. - -To use it, run the check-package script, by telling which files you -created or changed: - -$ ./utils/check-package package/new-package/* - -If you have the utils directory in your path you can also run: - -$ cd package/new-package/ -$ check-package * - -The tool can also be used for packages in a br2-external: - -$ check-package -b /path/to/br2-ext-tree/package/my-package/* - -18.24.3. How to test your package - -Once you have added your new package, it is important that you test -it under various conditions: does it build for all architectures? -Does it build with the different C libraries? Does it need threads, -NPTL? And so on… - -Buildroot runs autobuilders [http://autobuild.buildroot.org/] which -continuously test random configurations. However, these only build -the master branch of the git tree, and your new fancy package is not -yet there. - -Buildroot provides a script in utils/test-pkg that uses the same base -configurations as used by the autobuilders so you can test your -package in the same conditions. - -First, create a config snippet that contains all the necessary -options needed to enable your package, but without any architecture -or toolchain option. For example, let’s create a config snippet that -just enables libcurl, without any TLS backend: - -$ cat libcurl.config -BR2_PACKAGE_LIBCURL=y - -If your package needs more configuration options, you can add them to -the config snippet. For example, here’s how you would test libcurl -with openssl as a TLS backend and the curl program: - -$ cat libcurl.config -BR2_PACKAGE_LIBCURL=y -BR2_PACKAGE_LIBCURL_CURL=y -BR2_PACKAGE_OPENSSL=y - -Then run the test-pkg script, by telling it what config snippet to -use and what package to test: - -$ ./utils/test-pkg -c libcurl.config -p libcurl - -By default, test-pkg will build your package against a subset of the -toolchains used by the autobuilders, which has been selected by the -Buildroot developers as being the most useful and representative -subset. If you want to test all toolchains, pass the -a option. Note -that in any case, internal toolchains are excluded as they take too -long to build. - -The output lists all toolchains that are tested and the corresponding -result (excerpt, results are fake): - -$ ./utils/test-pkg -c libcurl.config -p libcurl - armv5-ctng-linux-gnueabi [ 1/11]: OK - armv7-ctng-linux-gnueabihf [ 2/11]: OK - br-aarch64-glibc [ 3/11]: SKIPPED - br-arcle-hs38 [ 4/11]: SKIPPED - br-arm-basic [ 5/11]: FAILED - br-arm-cortex-a9-glibc [ 6/11]: OK - br-arm-cortex-a9-musl [ 7/11]: FAILED - br-arm-cortex-m4-full [ 8/11]: OK - br-arm-full [ 9/11]: OK - br-arm-full-nothread [10/11]: FAILED - br-arm-full-static [11/11]: OK -11 builds, 2 skipped, 2 build failed, 1 legal-info failed - -The results mean: - - * OK: the build was successful. - * SKIPPED: one or more configuration options listed in the config - snippet were not present in the final configuration. This is due - to options having dependencies not satisfied by the toolchain, - such as for example a package that depends on BR2_USE_MMU with a - noMMU toolchain. The missing options are reported in - missing.config in the output build directory (~/br-test-pkg/ - TOOLCHAIN_NAME/ by default). - * FAILED: the build failed. Inspect the logfile file in the output - build directory to see what went wrong: - - + the actual build failed, - + the legal-info failed, - + one of the preliminary steps (downloading the config file, - applying the configuration, running dirclean for the package) - failed. - -When there are failures, you can just re-run the script with the same -options (after you fixed your package); the script will attempt to -re-build the package specified with -p for all toolchains, without -the need to re-build all the dependencies of that package. - -The test-pkg script accepts a few options, for which you can get some -help by running: - -$ ./utils/test-pkg -h - -18.24.4. How to add a package from GitHub - -Packages on GitHub often don’t have a download area with release -tarballs. However, it is possible to download tarballs directly from -the repository on GitHub. As GitHub is known to have changed download -mechanisms in the past, the github helper function should be used as -shown below. - -# Use a tag or a full commit ID -FOO_VERSION = 1.0 -FOO_SITE = $(call github,,,v$(FOO_VERSION)) - -Notes - - * The FOO_VERSION can either be a tag or a commit ID. - * The tarball name generated by github matches the default one from - Buildroot (e.g.: - foo-f6fb6654af62045239caed5950bc6c7971965e60.tar.gz), so it is - not necessary to specify it in the .mk file. - * When using a commit ID as version, you should use the full 40 hex - characters. - * When the tag contains a prefix such as v in v1.0, then the - VERSION variable should contain just 1.0, and the v should be - added directly in the SITE variable, as illustrated above. This - ensures that the VERSION variable value can be used to match - against release-monitoring.org [http://www.release-monitoring.org - /] results. - -If the package you wish to add does have a release section on GitHub, -the maintainer may have uploaded a release tarball, or the release -may just point to the automatically generated tarball from the git -tag. If there is a release tarball uploaded by the maintainer, we -prefer to use that since it may be slightly different (e.g. it -contains a configure script so we don’t need to do AUTORECONF). - -You can see on the release page if it’s an uploaded tarball or a git -tag: - - * If it looks like the image above then it was uploaded by the - maintainer and you should use that link (in that example: - mongrel2-v1.9.2.tar.bz2) to specify FOO_SITE, and not use the - github helper. - * On the other hand, if there’s is only the "Source code" link, - then it’s an automatically generated tarball and you should use - the github helper function. - -18.24.5. How to add a package from Gitlab - -In a similar way to the github macro described in Section 18.24.4, -“How to add a package from GitHub”, Buildroot also provides the -gitlab macro to download from Gitlab repositories. It can be used to -download auto-generated tarballs produced by Gitlab, either for -specific tags or commits: - -# Use a tag or a full commit ID -FOO_VERSION = 1.0 -FOO_SITE = $(call gitlab,,,v$(FOO_VERSION)) - -By default, it will use a .tar.gz tarball, but Gitlab also provides -.tar.bz2 tarballs, so by adding a _SOURCE variable, this -.tar.bz2 tarball can be used: - -# Use a tag or a full commit ID -FOO_VERSION = 1.0 -FOO_SITE = $(call gitlab,,,v$(FOO_VERSION)) -FOO_SOURCE = foo-$(FOO_VERSION).tar.bz2 - -If there is a specific tarball uploaded by the upstream developers in -https://gitlab.com//releases/, do not use this macro, but -rather use directly the link to the tarball. - -18.25. Conclusion - -As you can see, adding a software package to Buildroot is simply a -matter of writing a Makefile using an existing example and modifying -it according to the compilation process required by the package. - -If you package software that might be useful for other people, don’t -forget to send a patch to the Buildroot mailing list (see -Section 22.5, “Submitting patches”)! - -Chapter 19. Patching a package - -While integrating a new package or updating an existing one, it may -be necessary to patch the source of the software to get it -cross-built within Buildroot. - -Buildroot offers an infrastructure to automatically handle this -during the builds. It supports three ways of applying patch sets: -downloaded patches, patches supplied within buildroot and patches -located in a user-defined global patch directory. - -19.1. Providing patches - -19.1.1. Downloaded - -If it is necessary to apply a patch that is available for download, -then add it to the _PATCH variable. If an entry contains -://, then Buildroot will assume it is a full URL and download the -patch from this location. Otherwise, Buildroot will assume that the -patch should be downloaded from _SITE. It can be a -single patch, or a tarball containing a patch series. - -Like for all downloads, a hash should be added to the -.hash file. - -This method is typically used for packages from Debian. - -19.1.2. Within Buildroot - -Most patches are provided within Buildroot, in the package directory; -these typically aim to fix cross-compilation, libc support, or other -such issues. - -These patch files should be named -.patch. - -Notes - - * The patch files coming with Buildroot should not contain any - package version reference in their filename. - * The field in the patch file name refers to the apply - order, and shall start at 1; It is preferred to pad the number - with zeros up to 4 digits, like git-format-patch does. E.g.: - 0001-foobar-the-buz.patch - * Previously, it was mandatory for patches to be prefixed with the - name of the package, like --.patch, - but that is no longer the case. Existing packages will be fixed - as time passes. Do not prefix patches with the package name. - * Previously, a series file, as used by quilt, could also be added - in the package directory. In that case, the series file defines - the patch application order. This is deprecated, and will be - removed in the future. Do not use a series file. - -19.1.3. Global patch directory - -The BR2_GLOBAL_PATCH_DIR configuration file option can be used to -specify a space separated list of one or more directories containing -global package patches. See Section 9.8, “Adding project-specific -patches” for details. - -19.2. How patches are applied - - 1. Run the _PRE_PATCH_HOOKS commands if defined; - 2. Cleanup the build directory, removing any existing *.rej files; - 3. If _PATCH is defined, then patches from these - tarballs are applied; - 4. If there are some *.patch files in the package’s Buildroot - directory or in a package subdirectory named , - then: - - + If a series file exists in the package directory, then - patches are applied according to the series file; - + Otherwise, patch files matching *.patch are applied in - alphabetical order. So, to ensure they are applied in the - right order, it is highly recommended to name the patch files - like this: -.patch, where - refers to the apply order. - 5. If BR2_GLOBAL_PATCH_DIR is defined, the directories will be - enumerated in the order they are specified. The patches are - applied as described in the previous step. - 6. Run the _POST_PATCH_HOOKS commands if defined. - -If something goes wrong in the steps 3 or 4, then the build fails. - -19.3. Format and licensing of the package patches - -Patches are released under the same license as the software they -apply to (see Section 13.2, “Complying with the Buildroot license”). - -A message explaining what the patch does, and why it is needed, -should be added in the header commentary of the patch. - -You should add a Signed-off-by statement in the header of the each -patch to help with keeping track of the changes and to certify that -the patch is released under the same license as the software that is -modified. - -If the software is under version control, it is recommended to use -the upstream SCM software to generate the patch set. - -Otherwise, concatenate the header with the output of the diff -purN -package-version.orig/ package-version/ command. - -If you update an existing patch (e.g. when bumping the package -version), make sure the existing From header and Signed-off-by tags -are not removed, but do update the rest of the patch comment when -appropriate. - -At the end, the patch should look like: - -configure.ac: add C++ support test - -Signed-off-by: John Doe - ---- configure.ac.orig -+++ configure.ac -@@ -40,2 +40,12 @@ - -AC_PROG_MAKE_SET -+ -+AC_CACHE_CHECK([whether the C++ compiler works], -+ [rw_cv_prog_cxx_works], -+ [AC_LANG_PUSH([C++]) -+ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], -+ [rw_cv_prog_cxx_works=yes], -+ [rw_cv_prog_cxx_works=no]) -+ AC_LANG_POP([C++])]) -+ -+AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"]) - -19.4. Integrating patches found on the Web - -When integrating a patch of which you are not the author, you have to -add a few things in the header of the patch itself. - -Depending on whether the patch has been obtained from the project -repository itself, or from somewhere on the web, add one of the -following tags: - -Backported from: - -or - -Fetch from: - -It is also sensible to add a few words about any changes to the patch -that may have been necessary. - -Chapter 20. Download infrastructure - -TODO - -Chapter 21. Debugging Buildroot - -It is possible to instrument the steps Buildroot does when building -packages. Define the variable BR2_INSTRUMENTATION_SCRIPTS to contain -the path of one or more scripts (or other executables), in a -space-separated list, you want called before and after each step. The -scripts are called in sequence, with three parameters: - - * start or end to denote the start (resp. the end) of a step; - * the name of the step about to be started, or which just ended; - * the name of the package. - -For example : - -make BR2_INSTRUMENTATION_SCRIPTS="/path/to/my/script1 /path/to/my/script2" - -The list of steps is: - - * extract - * patch - * configure - * build - * install-host, when a host-package is installed in $(HOST_DIR) - * install-target, when a target-package is installed in $ - (TARGET_DIR) - * install-staging, when a target-package is installed in $ - (STAGING_DIR) - * install-image, when a target-package installs files in $ - (BINARIES_DIR) - -The script has access to the following variables: - - * BR2_CONFIG: the path to the Buildroot .config file - * HOST_DIR, STAGING_DIR, TARGET_DIR: see Section 18.5.2, - “generic-package reference” - * BUILD_DIR: the directory where packages are extracted and built - * BINARIES_DIR: the place where all binary files (aka images) are - stored - * BASE_DIR: the base output directory - -Chapter 22. Contributing to Buildroot - -There are many ways in which you can contribute to Buildroot: -analyzing and fixing bugs, analyzing and fixing package build -failures detected by the autobuilders, testing and reviewing patches -sent by other developers, working on the items in our TODO list and -sending your own improvements to Buildroot or its manual. The -following sections give a little more detail on each of these items. - -If you are interested in contributing to Buildroot, the first thing -you should do is to subscribe to the Buildroot mailing list. This -list is the main way of interacting with other Buildroot developers -and to send contributions to. If you aren’t subscribed yet, then -refer to Chapter 5, Community resources for the subscription link. - -If you are going to touch the code, it is highly recommended to use a -git repository of Buildroot, rather than starting from an extracted -source code tarball. Git is the easiest way to develop from and -directly send your patches to the mailing list. Refer to Chapter 3, -Getting Buildroot for more information on obtaining a Buildroot git -tree. - -22.1. Reproducing, analyzing and fixing bugs - -A first way of contributing is to have a look at the open bug reports -in the Buildroot bug tracker [https://bugs.buildroot.org/buglist.cgi? -product=buildroot]. As we strive to keep the bug count as small as -possible, all help in reproducing, analyzing and fixing reported bugs -is more than welcome. Don’t hesitate to add a comment to bug reports -reporting your findings, even if you don’t yet see the full picture. - -22.2. Analyzing and fixing autobuild failures - -The Buildroot autobuilders are a set of build machines that -continuously run Buildroot builds based on random configurations. -This is done for all architectures supported by Buildroot, with -various toolchains, and with a random selection of packages. With the -large commit activity on Buildroot, these autobuilders are a great -help in detecting problems very early after commit. - -All build results are available at http://autobuild.buildroot.org, -statistics are at http://autobuild.buildroot.org/stats.php. Every -day, an overview of all failed packages is sent to the mailing list. - -Detecting problems is great, but obviously these problems have to be -fixed as well. Your contribution is very welcome here! There are -basically two things that can be done: - - * Analyzing the problems. The daily summary mails do not contain - details about the actual failures: in order to see what’s going - on you have to open the build log and check the last output. - Having someone doing this for all packages in the mail is very - useful for other developers, as they can make a quick initial - analysis based on this output alone. - * Fixing a problem. When fixing autobuild failures, you should - follow these steps: - - 1. Check if you can reproduce the problem by building with the - same configuration. You can do this manually, or use the - br-reproduce-build [http://git.buildroot.org/buildroot-test/ - tree/utils/br-reproduce-build] script that will automatically - clone a Buildroot git repository, checkout the correct - revision, download and set the right configuration, and start - the build. - 2. Analyze the problem and create a fix. - 3. Verify that the problem is really fixed by starting from a - clean Buildroot tree and only applying your fix. - 4. Send the fix to the Buildroot mailing list (see Section 22.5, - “Submitting patches”). In case you created a patch against - the package sources, you should also send the patch upstream - so that the problem will be fixed in a later release, and the - patch in Buildroot can be removed. In the commit message of a - patch fixing an autobuild failure, add a reference to the - build result directory, as follows: - -Fixes: http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069 - -22.3. Reviewing and testing patches - -With the amount of patches sent to the mailing list each day, the -maintainer has a very hard job to judge which patches are ready to -apply and which ones aren’t. Contributors can greatly help here by -reviewing and testing these patches. - -In the review process, do not hesitate to respond to patch -submissions for remarks, suggestions or anything that will help -everyone to understand the patches and make them better. Please use -internet style replies in plain text emails when responding to patch -submissions. - -To indicate approval of a patch, there are three formal tags that -keep track of this approval. To add your tag to a patch, reply to it -with the approval tag below the original author’s Signed-off-by line. -These tags will be picked up automatically by patchwork (see -Section 22.3.1, “Applying Patches from Patchwork”) and will be part -of the commit log when the patch is accepted. - -Tested-by - Indicates that the patch has been tested successfully. You are - encouraged to specify what kind of testing you performed - (compile-test on architecture X and Y, runtime test on target A, - …). This additional information helps other testers and the - maintainer. -Reviewed-by - Indicates that you code-reviewed the patch and did your best in - spotting problems, but you are not sufficiently familiar with the - area touched to provide an Acked-by tag. This means that there - may be remaining problems in the patch that would be spotted by - someone with more experience in that area. Should such problems - be detected, your Reviewed-by tag remains appropriate and you - cannot be blamed. -Acked-by - Indicates that you code-reviewed the patch and you are familiar - enough with the area touched to feel that the patch can be - committed as-is (no additional changes required). In case it - later turns out that something is wrong with the patch, your - Acked-by could be considered inappropriate. The difference - between Acked-by and Reviewed-by is thus mainly that you are - prepared to take the blame on Acked patches, but not on Reviewed - ones. - -If you reviewed a patch and have comments on it, you should simply -reply to the patch stating these comments, without providing a -Reviewed-by or Acked-by tag. These tags should only be provided if -you judge the patch to be good as it is. - -It is important to note that neither Reviewed-by nor Acked-by imply -that testing has been performed. To indicate that you both reviewed -and tested the patch, provide two separate tags (Reviewed/Acked-by -and Tested-by). - -Note also that any developer can provide Tested/Reviewed/Acked-by -tags, without exception, and we encourage everyone to do this. -Buildroot does not have a defined group of core developers, it just -so happens that some developers are more active than others. The -maintainer will value tags according to the track record of their -submitter. Tags provided by a regular contributor will naturally be -trusted more than tags provided by a newcomer. As you provide tags -more regularly, your trustworthiness (in the eyes of the maintainer) -will go up, but any tag provided is valuable. - -Buildroot’s Patchwork website can be used to pull in patches for -testing purposes. Please see Section 22.3.1, “Applying Patches from -Patchwork” for more information on using Buildroot’s Patchwork -website to apply patches. - -22.3.1. Applying Patches from Patchwork - -The main use of Buildroot’s Patchwork website for a developer is for -pulling in patches into their local git repository for testing -purposes. - -When browsing patches in the patchwork management interface, an mbox -link is provided at the top of the page. Copy this link address and -run the following commands: - -$ git checkout -b -$ wget -O - | git am - -Another option for applying patches is to create a bundle. A bundle -is a set of patches that you can group together using the patchwork -interface. Once the bundle is created and the bundle is made public, -you can copy the mbox link for the bundle and apply the bundle using -the above commands. - -22.4. Work on items from the TODO list - -If you want to contribute to Buildroot but don’t know where to start, -and you don’t like any of the above topics, you can always work on -items from the Buildroot TODO list [http://elinux.org/Buildroot# -Todo_list]. Don’t hesitate to discuss an item first on the mailing -list or on IRC. Do edit the wiki to indicate when you start working -on an item, so we avoid duplicate efforts. - -22.5. Submitting patches - -Note - -Please, do not attach patches to bugs, send them to the mailing list -instead. - -If you made some changes to Buildroot and you would like to -contribute them to the Buildroot project, proceed as follows. - -22.5.1. The formatting of a patch - -We expect patches to be formatted in a specific way. This is -necessary to make it easy to review patches, to be able to apply them -easily to the git repository, to make it easy to find back in the -history how and why things have changed, and to make it possible to -use git bisect to locate the origin of a problem. - -First of all, it is essential that the patch has a good commit -message. The commit message should start with a separate line with a -brief summary of the change, prefixed by the area touched by the -patch. A few examples of good commit titles: - - * package/linuxptp: bump version to 2.0 - * configs/imx23evk: bump Linux version to 4.19 - * package/pkg-generic: postpone evaluation of dependency conditions - * boot/uboot: needs host-{flex,bison} - * support/testing: add python-ubjson tests - -The description that follows the prefix should start with a lower -case letter (i.e "bump", "needs", "postpone", "add" in the above -examples). - -Second, the body of the commit message should describe why this -change is needed, and if necessary also give details about how it was -done. When writing the commit message, think of how the reviewers -will read it, but also think about how you will read it when you look -at this change again a few years down the line. - -Third, the patch itself should do only one change, but do it -completely. Two unrelated or weakly related changes should usually be -done in two separate patches. This usually means that a patch affects -only a single package. If several changes are related, it is often -still possible to split them up in small patches and apply them in a -specific order. Small patches make it easier to review, and often -make it easier to understand afterwards why a change was done. -However, each patch must be complete. It is not allowed that the -build is broken when only the first but not the second patch is -applied. This is necessary to be able to use git bisect afterwards. - -Of course, while you’re doing your development, you’re probably going -back and forth between packages, and certainly not committing things -immediately in a way that is clean enough for submission. So most -developers rewrite the history of commits to produce a clean set of -commits that is appropriate for submission. To do this, you need to -use interactive rebasing. You can learn about it in the Pro Git book -[https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History]. -Sometimes, it is even easier to discard you history with git reset ---soft origin/master and select individual changes with git add -i or -git add -p. - -Finally, the patch should be signed off. This is done by adding -Signed-off-by: Your Real Name <> at the end of the commit message. -git commit -s does that for you, if configured properly. The -Signed-off-by tag means that you publish the patch under the -Buildroot license (i.e. GPL-2.0+, except for package patches, which -have the upstream license), and that you are allowed to do so. See -the Developer Certificate of Origin [http://developercertificate.org -/] for details. - -When adding new packages, you should submit every package in a -separate patch. This patch should have the update to package/ -Config.in, the package Config.in file, the .mk file, the .hash file, -any init script, and all package patches. If the package has many -sub-options, these are sometimes better added as separate follow-up -patches. The summary line should be something like : new -package. The body of the commit message can be empty for simple -packages, or it can contain the description of the package (like the -Config.in help text). If anything special has to be done to build the -package, this should also be explained explicitly in the commit -message body. - -When you bump a package to a new version, you should also submit a -separate patch for each package. Don’t forget to update the .hash -file, or add it if it doesn’t exist yet. Also don’t forget to check -if the _LICENSE and _LICENSE_FILES are still valid. The summary line -should be something like : bump to version . If the new version only contains security updates compared -to the existing one, the summary should be : security -bump to version and the commit message body should show -the CVE numbers that are fixed. If some package patches can be -removed in the new version, it should be explained explicitly why -they can be removed, preferably with the upstream commit ID. Also any -other required changes should be explained explicitly, like configure -options that no longer exist or are no longer needed. - -If you are interested in getting notified of build failures and of -further changes in the packages you added or modified, please add -yourself to the DEVELOPERS file. This should be done in the same -patch creating or modifying the package. See the DEVELOPERS file for -more information. - -Buildroot provides a handy tool to check for common coding style -mistakes on files you created or modified, called check-package (see -Section 18.24.2, “How to check the coding style” for more -information). - -22.5.2. Preparing a patch series - -Starting from the changes committed in your local git view, rebase -your development branch on top of the upstream tree before generating -a patch set. To do so, run: - -$ git fetch --all --tags -$ git rebase origin/master - -Now, you are ready to generate then submit your patch set. - -To generate it, run: - -$ git format-patch -M -n -s -o outgoing origin/master - -This will generate patch files in the outgoing subdirectory, -automatically adding the Signed-off-by line. - -Once patch files are generated, you can review/edit the commit -message before submitting them, using your favorite text editor. - -Buildroot provides a handy tool to know to whom your patches should -be sent, called get-developers (see Chapter 23, DEVELOPERS file and -get-developers for more information). This tool reads your patches -and outputs the appropriate git send-email command to use: - -$ ./utils/get-developers outgoing/* - -Use the output of get-developers to send your patches: - -$ git send-email --to buildroot@buildroot.org --cc bob --cc alice outgoing/* - -Alternatively, get-developers -e can be used directly with the ---cc-cmd argument to git send-email to automatically CC the affected -developers: - -$ git send-email --to buildroot@buildroot.org \ - --cc-cmd './utils/get-developers -e' origin/master - -git can be configured to automatically do this out of the box with: - -$ git config sendemail.to buildroot@buildroot.org -$ git config sendemail.ccCmd "$(pwd)/utils/get-developers -e" - -And then just do: - -$ git send-email origin/master - -Note that git should be configured to use your mail account. To -configure git, see man git-send-email or google it. - -If you do not use git send-email, make sure posted patches are not -line-wrapped, otherwise they cannot easily be applied. In such a -case, fix your e-mail client, or better yet, learn to use git -send-email. - -22.5.3. Cover letter - -If you want to present the whole patch set in a separate mail, add ---cover-letter to the git format-patch command (see man -git-format-patch for further information). This will generate a -template for an introduction e-mail to your patch series. - -A cover letter may be useful to introduce the changes you propose in -the following cases: - - * large number of commits in the series; - * deep impact of the changes in the rest of the project; - * RFC ^[4]; - * whenever you feel it will help presenting your work, your - choices, the review process, etc. - -22.5.4. Patches for maintenance branches - -When fixing bugs on a maintenance branch, bugs should be fixed on the -master branch first. The commit log for such a patch may then contain -a post-commit note specifying what branches are affected: - -package/foo: fix stuff - -Signed-off-by: Your Real Name ---- -Backport to: 2020.02.x, 2020.05.x -(2020.08.x not affected as the version was bumped) - -Those changes will then be backported by a maintainer to the affected -branches. - -However, some bugs may apply only to a specific release, for example -because it is using an older version of a package. In that case, -patches should be based off the maintenance branch, and the patch -subject prefix must include the maintenance branch name (for example -"[PATCH 2020.02.x]"). This can be done with the git format-patch flag ---subject-prefix: - -$ git format-patch --subject-prefix "PATCH 2020.02.x" \ - -M -s -o outgoing origin/2020.02.x - -Then send the patches with git send-email, as described above. - -22.5.5. Patch revision changelog - -When improvements are requested, the new revision of each commit -should include a changelog of the modifications between each -submission. Note that when your patch series is introduced by a cover -letter, an overall changelog may be added to the cover letter in -addition to the changelog in the individual commits. The best thing -to rework a patch series is by interactive rebasing: git rebase -i -origin/master. Consult the git manual for more information. - -When added to the individual commits, this changelog is added when -editing the commit message. Below the Signed-off-by section, add --- -and your changelog. - -Although the changelog will be visible for the reviewers in the mail -thread, as well as in patchwork [http://patchwork.buildroot.org], git -will automatically ignores lines below --- when the patch will be -merged. This is the intended behavior: the changelog is not meant to -be preserved forever in the git history of the project. - -Hereafter the recommended layout: - -Patch title: short explanation, max 72 chars - -A paragraph that explains the problem, and how it manifests itself. If -the problem is complex, it is OK to add more paragraphs. All paragraphs -should be wrapped at 72 characters. - -A paragraph that explains the root cause of the problem. Again, more -than one paragraph is OK. - -Finally, one or more paragraphs that explain how the problem is solved. -Don't hesitate to explain complex solutions in detail. - -Signed-off-by: John DOE - ---- -Changes v2 -> v3: - - foo bar (suggested by Jane) - - bar buz - -Changes v1 -> v2: - - alpha bravo (suggested by John) - - charly delta - -Any patch revision should include the version number. The version -number is simply composed of the letter v followed by an integer -greater or equal to two (i.e. "PATCH v2", "PATCH v3" …). - -This can be easily handled with git format-patch by using the option ---subject-prefix: - -$ git format-patch --subject-prefix "PATCH v4" \ - -M -s -o outgoing origin/master - -Since git version 1.8.1, you can also use -v (where is the -version number): - -$ git format-patch -v4 -M -s -o outgoing origin/master - -When you provide a new version of a patch, please mark the old one as -superseded in patchwork [http://patchwork.buildroot.org]. You need to -create an account on patchwork [http://patchwork.buildroot.org] to be -able to modify the status of your patches. Note that you can only -change the status of patches you submitted yourself, which means the -email address you register in patchwork [http:// -patchwork.buildroot.org] should match the one you use for sending -patches to the mailing list. - -You can also add the --in-reply-to option when -submitting a patch to the mailing list. The id of the mail to reply -to can be found under the "Message Id" tag on patchwork [http:// -patchwork.buildroot.org]. The advantage of in-reply-to is that -patchwork will automatically mark the previous version of the patch -as superseded. - -22.6. Reporting issues/bugs or getting help - -Before reporting any issue, please check in the mailing list archive -whether someone has already reported and/or fixed a similar problem. - -However you choose to report bugs or get help, either by opening a -bug in the bug tracker or by sending a mail to the mailing list, -there are a number of details to provide in order to help people -reproduce and find a solution to the issue. - -Try to think as if you were trying to help someone else; in that -case, what would you need? - -Here is a short list of details to provide in such case: - - * host machine (OS/release) - * version of Buildroot - * target for which the build fails - * package(s) for which the build fails - * the command that fails and its output - * any information you think that may be relevant - -Additionally, you should add the .config file (or if you know how, a -defconfig; see Section 9.3, “Storing the Buildroot configuration”). - -If some of these details are too large, do not hesitate to use a -pastebin service. Note that not all available pastebin services will -preserve Unix-style line terminators when downloading raw pastes. -Following pastebin services are known to work correctly: - https:// -gist.github.com/ - http://code.bulix.org/ - -22.7. Using the run-tests framework - -Buildroot includes a run-time testing framework called run-tests -built upon Python scripting and QEMU runtime execution. There are two -types of test cases within the framework, one for build time tests -and another for run-time tests that have a QEMU dependency. The goals -of the framework are the following: - - * build a well defined configuration - * optionally, verify some properties of the build output - * if it is a run-time test: - - + boot it under QEMU - + run some test condition to verify that a given feature is - working - -The run-tests tool has a series of options documented in the tool’s -help -h description. Some common options include setting the download -folder, the output folder, keeping build output, and for multiple -test cases, you can set the JLEVEL for each. - -Here is an example walk through of running a test case. - - * For a first step, let us see what all the test case options are. - The test cases can be listed by executing support/testing/ - run-tests -l. These tests can all be run individually during test - development from the console. Both one at a time and selectively - as a group of a subset of tests. - -$ support/testing/run-tests -l -List of tests -test_run (tests.utils.test_check_package.TestCheckPackage) -Test the various ways the script can be called in a simple top to ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootMusl) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainCCache) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainCtngMusl) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainLinaroArm) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv4) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv5) ... ok -test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv7) ... ok -[snip] -test_run (tests.init.test_systemd.TestInitSystemSystemdRoFull) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRoIfupdown) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRoNetworkd) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRwFull) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRwIfupdown) ... ok -test_run (tests.init.test_systemd.TestInitSystemSystemdRwNetworkd) ... ok -test_run (tests.init.test_busybox.TestInitSystemBusyboxRo) ... ok -test_run (tests.init.test_busybox.TestInitSystemBusyboxRoNet) ... ok -test_run (tests.init.test_busybox.TestInitSystemBusyboxRw) ... ok -test_run (tests.init.test_busybox.TestInitSystemBusyboxRwNet) ... ok - -Ran 157 tests in 0.021s - -OK - -Those runtime tests are regularly executed by Buildroot Gitlab CI -infrastructure, see .gitlab.yml and https://gitlab.com/buildroot.org/ -buildroot/-/jobs. - -22.7.1. Creating a test case - -The best way to get familiar with how to create a test case is to -look at a few of the basic file system support/testing/tests/fs/ and -init support/testing/tests/init/ test scripts. Those tests give good -examples of a basic build and build with run type of tests. There are -other more advanced cases that use things like nested br2-external -folders to provide skeletons and additional packages. - -The test cases by default use a br-arm-full-* uClibc-ng toolchain and -the prebuild kernel for a armv5/7 cpu. It is recommended to use the -default defconfig test configuration except when Glibc/musl or a -newer kernel are necessary. By using the default it saves build time -and the test would automatically inherit a kernel/std library upgrade -when the default is updated. - -The basic test case definition involves - - * Creation of a new test file - * Defining a unique test class - * Determining if the default defconfig plus test options can be - used - * Implementing a def test_run(self): function to optionally startup - the emulator and provide test case conditions. - -After creating the test script, add yourself to the DEVELOPERS file -to be the maintainer of that test case. - -22.7.2. Debugging a test case - -Within the Buildroot repository, the testing framework is organized -at the top level in support/testing/ by folders of conf, infra and -tests. All the test cases live under the test folder and are -organized in various folders representing the catagory of test. - -Lets walk through an example. - - * Using the Busybox Init system test case with a read/write rootfs - tests.init.test_busybox.TestInitSystemBusyboxRw - * A minimal set of command line arguments when debugging a test - case would include -d which points to your dl folder, -o to an - output folder, and -k to keep any output on both pass/fail. With - those options, the test will retain logging and build artifacts - providing status of the build and execution of the test case. - -$ support/testing/run-tests -d dl -o output_folder -k tests.init.test_busybox.TestInitSystemBusyboxRw -15:03:26 TestInitSystemBusyboxRw Starting -15:03:28 TestInitSystemBusyboxRw Building -15:08:18 TestInitSystemBusyboxRw Building done -15:08:27 TestInitSystemBusyboxRw Cleaning up -. -Ran 1 test in 301.140s - -OK - - * For the case of a successful build, the output_folder would - contain a folder with the Buildroot build, build log - and run-time log. If the build failed, the console output would - show the stage at which it failed (setup / build / run). - Depending on the failure stage, the build/run logs and/or - Buildroot build artifacts can be inspected and instrumented. If - the QEMU instance needs to be launched for additional testing, - the first few lines of the run-time log capture it and it would - allow some incremental testing without re-running support/testing - /run-tests. - * You can also make modifications to the current sources inside the - output_folder (e.g. for debug purposes) and rerun the standard - Buildroot make targets (in order to regenerate the complete image - with the new modifications) and then rerun the test. Modifying - the sources directly can speed up debugging compared to adding - patch files, wiping the output directoy, and starting the test - again. - -$ ls output_folder/ -TestInitSystemBusyboxRw/ -TestInitSystemBusyboxRw-build.log -TestInitSystemBusyboxRw-run.log - - * The source file used to implement this example test is found - under support/testing/tests/init/test_busybox.py. This file - outlines the minimal defconfig that creates the build, QEMU - configuration to launch the built images and the test case - assertions. - -To test an existing or new test case within Gitlab CI, there is a -method of invoking a specific test by creating a Buildroot fork in -Gitlab under your account. This can be handy when adding/changing a -run-time test or fixing a bug on a use case tested by a run-time test -case. - -In the examples below, the component of the branch name is a -unique string you choose to identify this specific job being created. - - * to trigger all run-test test case jobs: - - $ git push gitlab HEAD:-runtime-tests - - * to trigger one test case job, a specific branch naming string is - used that includes the full test case name. - - $ git push gitlab HEAD:- - - ---------------------------------------------------------------------- - -^[4] RFC: (Request for comments) change proposal - -Chapter 23. DEVELOPERS file and get-developers - -The main Buildroot directory contains a file named DEVELOPERS that -lists the developers involved with various areas of Buildroot. Thanks -to this file, the get-developers tool allows to: - - * Calculate the list of developers to whom patches should be sent, - by parsing the patches and matching the modified files with the - relevant developers. See Section 22.5, “Submitting patches” for - details. - * Find which developers are taking care of a given architecture or - package, so that they can be notified when a build failure occurs - on this architecture or package. This is done in interaction with - Buildroot’s autobuild infrastructure. - -We ask developers adding new packages, new boards, or generally new -functionality in Buildroot, to register themselves in the DEVELOPERS -file. As an example, we expect a developer contributing a new package -to include in his patch the appropriate modification to the -DEVELOPERS file. - -The DEVELOPERS file format is documented in detail inside the file -itself. - -The get-developers tool, located in utils/ allows to use the -DEVELOPERS file for various tasks: - - * When passing one or several patches as command line argument, - get-developers will return the appropriate git send-email - command. If the -e option is passed, only the email addresses are - printed in a format suitable for git send-email --cc-cmd. - * When using the -a command line option, get-developers will - return the list of developers in charge of the given - architecture. - * When using the -p command line option, get-developers - will return the list of developers in charge of the given - package. - * When using the -c command line option, get-developers will look - at all files under version control in the Buildroot repository, - and list the ones that are not handled by any developer. The - purpose of this option is to help completing the DEVELOPERS file. - * When using without any arguments, it validates the integrity of - the DEVELOPERS file and will note WARNINGS for items that don’t - match. - -Chapter 24. Release Engineering - -24.1. Releases - -The Buildroot project makes quarterly releases with monthly bugfix -releases. The first release of each year is a long term support -release, LTS. - - * Quarterly releases: 2020.02, 2020.05, 2020.08, and 2020.11 - * Bugfix releases: 2020.02.1, 2020.02.2, … - * LTS releases: 2020.02, 2021.02, … - -Releases are supported until the first bugfix release of the next -release, e.g., 2020.05.x is EOL when 2020.08.1 is released. - -LTS releases are supported until the first bugfix release of the next -LTS, e.g., 2020.02.x is supported until 2021.02.1 is released. - -24.2. Development - -Each release cycle consist of two months of development on the master -branch and one month stabilization before the release is made. During -this phase no new features are added to master, only bugfixes. - -The stabilization phase starts with tagging -rc1, and every week -until the release, another release candidate is tagged. - -To handle new features and version bumps during the stabilization -phase, a next branch may be created for these features. Once the -current release has been made, the next branch is merged into master -and the development cycle for the next release continues there. - -Part IV. Appendix - -Table of Contents - -25. Makedev syntax documentation -26. Makeusers syntax documentation -27. Migrating from older Buildroot versions - - 27.1. Migrating to 2016.11 - 27.2. Migrating to 2017.08 - -Chapter 25. Makedev syntax documentation - -The makedev syntax is used in several places in Buildroot to define -changes to be made for permissions, or which device files to create -and how to create them, in order to avoid calls to mknod. - -This syntax is derived from the makedev utility, and more complete -documentation can be found in the package/makedevs/README file. - -It takes the form of a space separated list of fields, one file per -line; the fields are: - -+--------------------------------------------------+ -|name|type|mode|uid|gid|major|minor|start|inc|count| -+--------------------------------------------------+ - -There are a few non-trivial blocks: - - * name is the path to the file you want to create/modify - * type is the type of the file, being one of: - - + f: a regular file - + d: a directory - + r: a directory recursively - + c: a character device file - + b: a block device file - + p: a named pipe - * mode are the usual permissions settings (only numerical values - are allowed) - * uid and gid are the UID and GID to set on this file; can be - either numerical values or actual names - * major and minor are here for device files, set to - for other - files - * start, inc and count are for when you want to create a batch of - files, and can be reduced to a loop, beginning at start, - incrementing its counter by inc until it reaches count - -Let’s say you want to change the permissions of a given file; using -this syntax, you will need to write: - -/usr/bin/foo f 755 0 0 - - - - - -/usr/bin/bar f 755 root root - - - - - -/data/buz f 644 buz-user buz-group - - - - - - -Alternatively, if you want to change owner/permission of a directory -recursively, you can write (to set UID to foo, GID to bar and access -rights to rwxr-x--- for the directory /usr/share/myapp and all files -and directories below it): - -/usr/share/myapp r 750 foo bar - - - - - - -On the other hand, if you want to create the device file /dev/hda and -the corresponding 15 files for the partitions, you will need for /dev -/hda: - -/dev/hda b 640 root root 3 0 0 0 - - -and then for device files corresponding to the partitions of /dev/ -hda, /dev/hdaX, X ranging from 1 to 15: - -/dev/hda b 640 root root 3 1 1 1 15 - -Extended attributes are supported if -BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES is enabled. This -is done by adding a line starting with |xattr after the line -describing the file. Right now, only capability is supported as -extended attribute. - -+------------------+ -||xattr|capability | -+------------------+ - - * |xattr is a "flag" that indicate an extended attribute - * capability is a capability to add to the previous file - -If you want to add the capability cap_sys_admin to the binary foo, -you will write : - -/usr/bin/foo f 755 root root - - - - - -|xattr cap_sys_admin+eip - -You can add several capabilities to a file by using several |xattr -lines. If you want to add the capability cap_sys_admin and -cap_net_admin to the binary foo, you will write : - -/usr/bin/foo f 755 root root - - - - - -|xattr cap_sys_admin+eip -|xattr cap_net_admin+eip - -Chapter 26. Makeusers syntax documentation - -The syntax to create users is inspired by the makedev syntax, above, -but is specific to Buildroot. - -The syntax for adding a user is a space-separated list of fields, one -user per line; the fields are: - -+---------------------------------------------------------+ -|username|uid|group|gid|password|home|shell|groups|comment| -+---------------------------------------------------------+ - -Where: - - * username is the desired user name (aka login name) for the user. - It can not be root, and must be unique. If set to -, then just a - group will be created. - * uid is the desired UID for the user. It must be unique, and not - 0. If set to -1, then a unique UID will be computed by Buildroot - in the range [1000…1999] - * group is the desired name for the user’s main group. It can not - be root. If the group does not exist, it will be created. - * gid is the desired GID for the user’s main group. It must be - unique, and not 0. If set to -1, and the group does not already - exist, then a unique GID will be computed by Buildroot in the - range [1000..1999] - * password is the crypt(3)-encoded password. If prefixed with !, - then login is disabled. If prefixed with =, then it is - interpreted as clear-text, and will be crypt-encoded (using MD5). - If prefixed with !=, then the password will be crypt-encoded - (using MD5) and login will be disabled. If set to *, then login - is not allowed. If set to -, then no password value will be set. - * home is the desired home directory for the user. If set to -, no - home directory will be created, and the user’s home will be /. - Explicitly setting home to / is not allowed. - * shell is the desired shell for the user. If set to -, then /bin/ - false is set as the user’s shell. - * groups is the comma-separated list of additional groups the user - should be part of. If set to -, then the user will be a member of - no additional group. Missing groups will be created with an - arbitrary gid. - * comment (aka GECOS [https://en.wikipedia.org/wiki/Gecos_field] - field) is an almost-free-form text. - -There are a few restrictions on the content of each field: - - * except for comment, all fields are mandatory. - * except for comment, fields may not contain spaces. - * no field may contain a colon (:). - -If home is not -, then the home directory, and all files below, will -belong to the user and its main group. - -Examples: - -foo -1 bar -1 !=blabla /home/foo /bin/sh alpha,bravo Foo user - -This will create this user: - - * username (aka login name) is: foo - * uid is computed by Buildroot - * main group is: bar - * main group gid is computed by Buildroot - * clear-text password is: blabla, will be crypt(3)-encoded, and - login is disabled. - * home is: /home/foo - * shell is: /bin/sh - * foo is also a member of groups: alpha and bravo - * comment is: Foo user - -test 8000 wheel -1 = - /bin/sh - Test user - -This will create this user: - - * username (aka login name) is: test - * uid is : 8000 - * main group is: wheel - * main group gid is computed by Buildroot, and will use the value - defined in the rootfs skeleton - * password is empty (aka no password). - * home is / but will not belong to test - * shell is: /bin/sh - * test is not a member of any additional groups - * comment is: Test user - -Chapter 27. Migrating from older Buildroot versions - -Some versions have introduced backward incompatibilities. This -section explains those incompatibilities, and for each explains what -to do to complete the migration. - -27.1. Migrating to 2016.11 - -Before Buildroot 2016.11, it was possible to use only one -br2-external tree at once. With Buildroot 2016.11 came the -possibility to use more than one simultaneously (for details, see -Section 9.2, “Keeping customizations outside of Buildroot”). - -This however means that older br2-external trees are not usable -as-is. A minor change has to be made: adding a name to your -br2-external tree. - -This can be done very easily in just a few steps: - - * First, create a new file named external.desc, at the root of your - br2-external tree, with a single line defining the name of your - br2-external tree: - - $ echo 'name: NAME_OF_YOUR_TREE' >external.desc - - Note. Be careful when choosing a name: It has to be unique and be - made with only ASCII characters from the set [A-Za-z0-9_]. - - * Then, change every occurence of BR2_EXTERNAL in your br2-external - tree with the new variable: - - $ find . -type f | xargs sed -i 's/BR2_EXTERNAL/BR2_EXTERNAL_NAME_OF_YOUR_TREE_PATH/g' - -Now, your br2-external tree can be used with Buildroot 2016.11 -onward. - -Note: This change makes your br2-external tree incompatible with -Buildroot before 2016.11. - -27.2. Migrating to 2017.08 - -Before Buildroot 2017.08, host packages were installed in $(HOST_DIR) -/usr (with e.g. the autotools' --prefix=$(HOST_DIR)/usr). With -Buildroot 2017.08, they are now installed directly in $(HOST_DIR). - -Whenever a package installs an executable that is linked with a -library in $(HOST_DIR)/lib, it must have an RPATH pointing to that -directory. - -An RPATH pointing to $(HOST_DIR)/usr/lib is no longer accepted. - diff --git a/buildroot-2021.05/docs/manual/migrating.txt b/buildroot-2021.05/docs/manual/migrating.txt deleted file mode 100644 index 92e487c7..00000000 --- a/buildroot-2021.05/docs/manual/migrating.txt +++ /dev/null @@ -1,58 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -[[migrating-from-ol-versions]] -== Migrating from older Buildroot versions - -Some versions have introduced backward incompatibilities. This section -explains those incompatibilities, and for each explains what to do to -complete the migration. - -[[br2-external-converting]] -=== Migrating to 2016.11 - -Before Buildroot 2016.11, it was possible to use only one br2-external -tree at once. With Buildroot 2016.11 came the possibility to use more -than one simultaneously (for details, see xref:outside-br-custom[]). - -This however means that older br2-external trees are not usable as-is. -A minor change has to be made: adding a name to your br2-external tree. - -This can be done very easily in just a few steps: - - * First, create a new file named +external.desc+, at the root of your - br2-external tree, with a single line defining the name of your - br2-external tree: -+ ----- -$ echo 'name: NAME_OF_YOUR_TREE' >external.desc ----- -+ -.Note -Be careful when choosing a name: It has to be unique and be made -with only ASCII characters from the set +[A-Za-z0-9_]+. - - * Then, change every occurence of +BR2_EXTERNAL+ in your br2-external - tree with the new variable: -+ ----- -$ find . -type f | xargs sed -i 's/BR2_EXTERNAL/BR2_EXTERNAL_NAME_OF_YOUR_TREE_PATH/g' ----- - -Now, your br2-external tree can be used with Buildroot 2016.11 onward. - -.Note: -This change makes your br2-external tree incompatible with Buildroot -before 2016.11. - -[[migrating-host-usr]] -=== Migrating to 2017.08 - -Before Buildroot 2017.08, host packages were installed in +$(HOST_DIR)/usr+ -(with e.g. the autotools' +--prefix=$(HOST_DIR)/usr+). With Buildroot -2017.08, they are now installed directly in +$(HOST_DIR)+. - -Whenever a package installs an executable that is linked with a library -in +$(HOST_DIR)/lib+, it must have an RPATH pointing to that directory. - -An RPATH pointing to +$(HOST_DIR)/usr/lib+ is no longer accepted. diff --git a/buildroot-2021.05/docs/manual/prerequisite.txt b/buildroot-2021.05/docs/manual/prerequisite.txt deleted file mode 100644 index 4e614cfa..00000000 --- a/buildroot-2021.05/docs/manual/prerequisite.txt +++ /dev/null @@ -1,96 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -[[requirement]] -== System requirements - -Buildroot is designed to run on Linux systems. - -While Buildroot itself will build most host packages it needs for the -compilation, certain standard Linux utilities are expected to be -already installed on the host system. Below you will find an overview of -the mandatory and optional packages (note that package names may vary -between distributions). - -[[requirement-mandatory]] - -=== Mandatory packages - -* Build tools: - -** +which+ -** +sed+ -** +make+ (version 3.81 or any later) -** +binutils+ -** +build-essential+ (only for Debian based systems) -** +gcc+ (version 4.8 or any later) -** `g++` (version 4.8 or any later) -** +bash+ -** +patch+ -** +gzip+ -** +bzip2+ -** +perl+ (version 5.8.7 or any later) -** +tar+ -** +cpio+ -** +unzip+ -** +rsync+ -** +file+ (must be in +/usr/bin/file+) -** +bc+ - -* Source fetching tools: -** +wget+ - -[[requirement-optional]] - -=== Optional packages - -* Recommended dependencies: -+ -Some features or utilities in Buildroot, like the legal-info, or the -graph generation tools, have additional dependencies. Although they -are not mandatory for a simple build, they are still highly recommended: -+ -** +python+ (version 2.7 or any later) - -* Configuration interface dependencies: -+ -For these libraries, you need to install both runtime and development -data, which in many distributions are packaged separately. The -development packages typically have a _-dev_ or _-devel_ suffix. -+ -** +ncurses5+ to use the 'menuconfig' interface -** +qt5+ to use the 'xconfig' interface -** +glib2+, +gtk2+ and +glade2+ to use the 'gconfig' interface - -* Source fetching tools: -+ -In the official tree, most of the package sources are retrieved using -+wget+ from _ftp_, _http_ or _https_ locations. A few packages are only -available through a version control system. Moreover, Buildroot is -capable of downloading sources via other tools, like +rsync+ or +scp+ -(refer to xref:download-infra[] for more details). If you enable -packages using any of these methods, you will need to install the -corresponding tool on the host system: -+ -** +bazaar+ -** +cvs+ -** +git+ -** +mercurial+ -** +rsync+ -** +scp+ -** +subversion+ - -* Java-related packages, if the Java Classpath needs to be built for - the target system: -** The +javac+ compiler -** The +jar+ tool - -* Documentation generation tools: -** +asciidoc+, version 8.6.3 or higher -** +w3m+ -** +python+ with the +argparse+ module (automatically present in 2.7+ and 3.2+) -** +dblatex+ (required for the pdf manual only) - -* Graph generation tools: -** +graphviz+ to use 'graph-depends' and '-graph-depends' -** +python-matplotlib+ to use 'graph-build' diff --git a/buildroot-2021.05/docs/manual/resources.txt b/buildroot-2021.05/docs/manual/resources.txt deleted file mode 100644 index 374cdef9..00000000 --- a/buildroot-2021.05/docs/manual/resources.txt +++ /dev/null @@ -1,73 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -[[community-resources]] -== Community resources - -Like any open source project, Buildroot has different ways to share -information in its community and outside. - -Each of those ways may interest you if you are looking for some help, -want to understand Buildroot or contribute to the project. - -Mailing List:: -+ -Buildroot has a mailing list for discussion and development. It is the -main method of interaction for Buildroot users and developers. -+ -Only subscribers to the Buildroot mailing list are allowed to post to -this list. You can subscribe via the -http://lists.buildroot.org/mailman/listinfo/buildroot[mailing list info -page]. -+ -Mails that are sent to the mailing list are also available in the -http://lists.buildroot.org/pipermail/buildroot[mailing list archives] and -via http://gmane.org[Gmane], at -http://dir.gmane.org/gmane.comp.lib.uclibc.buildroot[+gmane.comp.lib.uclibc.buildroot+]. -Please search the mailing list archives before asking questions, since -there is a good chance someone else has asked the same question before. - -IRC:: -+ -The Buildroot IRC channel irc://irc.oftc.net/#buildroot[#buildroot] is -hosted on https://www.oftc.net/WebChat/[OFTC]. It is a useful place to -ask quick questions or discuss on certain topics. -+ -When asking for help on IRC, share relevant logs or pieces of code -using a code sharing website, such as http://code.bulix.org. -+ -Note that for certain questions, posting to the mailing list may be -better as it will reach more people, both developers and users. - -Bug tracker:: -+ -Bugs in Buildroot can be reported via the mailing list or alternatively -via the https://bugs.buildroot.org/buglist.cgi?product=buildroot[Buildroot -bugtracker]. Please refer to xref:reporting-bugs[] before creating a bug -report. - -Wiki:: -+ -http://elinux.org/Buildroot[The Buildroot wiki page] is hosted on -the http://elinux.org[eLinux] wiki. It contains some useful links, an -overview of past and upcoming events, and a TODO list. - -Patchwork:: -+ -Patchwork is a web-based patch tracking system designed to facilitate -the contribution and management of contributions to an open-source -project. Patches that have been sent to a mailing list are \'caught' by -the system, and appear on a web page. Any comments posted that -reference the patch are appended to the patch page too. For more -information on Patchwork see -http://jk.ozlabs.org/projects/patchwork/[]. -+ -Buildroot's Patchwork website is mainly for use by Buildroot's -maintainer to ensure patches aren't missed. It is also used by Buildroot -patch reviewers (see also xref:apply-patches-patchwork[]). -However, since the website exposes patches and their corresponding -review comments in a clean and concise web interface, it can be useful -for all Buildroot developers. -+ -The Buildroot patch management interface is available at -http://patchwork.buildroot.org[]. diff --git a/buildroot-2021.05/docs/manual/using-buildroot-debugger.txt b/buildroot-2021.05/docs/manual/using-buildroot-debugger.txt deleted file mode 100644 index d5293beb..00000000 --- a/buildroot-2021.05/docs/manual/using-buildroot-debugger.txt +++ /dev/null @@ -1,53 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -==== Using +gdb+ in Buildroot - -Buildroot allows to do cross-debugging, where the debugger runs on the -build machine and communicates with +gdbserver+ on the target to -control the execution of the program. - -To achieve this: - -* If you are using an _internal toolchain_ (built by Buildroot), you - must enable +BR2_PACKAGE_HOST_GDB+, +BR2_PACKAGE_GDB+ and - +BR2_PACKAGE_GDB_SERVER+. This ensures that both the cross gdb and - gdbserver get built, and that gdbserver gets installed to your target. - -* If you are using an _external toolchain_, you should enable - +BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY+, which will copy the - gdbserver included with the external toolchain to the target. If your - external toolchain does not have a cross gdb or gdbserver, it is also - possible to let Buildroot build them, by enabling the same options as - for the _internal toolchain backend_. - -Now, to start debugging a program called +foo+, you should run on the -target: - ----------------------------- -gdbserver :2345 foo ----------------------------- - -This will cause +gdbserver+ to listen on TCP port 2345 for a connection -from the cross gdb. - -Then, on the host, you should start the cross gdb using the following -command line: - ----------------------------- -/output/host/bin/-gdb -x /output/staging/usr/share/buildroot/gdbinit foo ----------------------------- - -Of course, +foo+ must be available in the current directory, built -with debugging symbols. Typically you start this command from the -directory where +foo+ is built (and not from +output/target/+ as the -binaries in that directory are stripped). - -The +/output/staging/usr/share/buildroot/gdbinit+ file will tell the -cross gdb where to find the libraries of the target. - -Finally, to connect to the target from the cross gdb: - ----------------------------- -(gdb) target remote :2345 ----------------------------- diff --git a/buildroot-2021.05/docs/manual/writing-rules.txt b/buildroot-2021.05/docs/manual/writing-rules.txt deleted file mode 100644 index 3b809d5c..00000000 --- a/buildroot-2021.05/docs/manual/writing-rules.txt +++ /dev/null @@ -1,151 +0,0 @@ -// -*- mode:doc; -*- -// vim: set syntax=asciidoc: - -== Coding style - -Overall, these coding style rules are here to help you to add new files in -Buildroot or refactor existing ones. - -If you slightly modify some existing file, the important thing is -to keep the consistency of the whole file, so you can: - -* either follow the potentially deprecated coding style used in this -file, - -* or entirely rework it in order to make it comply with these rules. - -[[writing-rules-config-in]] - -=== +Config.in+ file - -+Config.in+ files contain entries for almost anything configurable in -Buildroot. - -An entry has the following pattern: - ---------------------- -config BR2_PACKAGE_LIBFOO - bool "libfoo" - depends on BR2_PACKAGE_LIBBAZ - select BR2_PACKAGE_LIBBAR - help - This is a comment that explains what libfoo is. The help text - should be wrapped. - - http://foosoftware.org/libfoo/ ---------------------- - -* The +bool+, +depends on+, +select+ and +help+ lines are indented - with one tab. - -* The help text itself should be indented with one tab and two - spaces. - -* The help text should be wrapped to fit 72 columns, where tab counts - for 8, so 62 characters in the text itself. - -The +Config.in+ files are the input for the configuration tool -used in Buildroot, which is the regular _Kconfig_. For further -details about the _Kconfig_ language, refer to -http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt[]. - -[[writing-rules-mk]] - -=== The +.mk+ file - -* Header: The file starts with a header. It contains the module name, -preferably in lowercase, enclosed between separators made of 80 hashes. A -blank line is mandatory after the header: -+ ---------------------- -################################################################################ -# -# libfoo -# -################################################################################ ---------------------- -+ -* Assignment: use +=+ preceded and followed by one space: -+ ---------------------- -LIBFOO_VERSION = 1.0 -LIBFOO_CONF_OPTS += --without-python-support ---------------------- -+ -Do not align the +=+ signs. - -* Indentation: use tab only: -+ ---------------------- -define LIBFOO_REMOVE_DOC - $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/doc \ - $(TARGET_DIR)/usr/share/man/man3/libfoo* -endef ---------------------- -+ -Note that commands inside a +define+ block should always start with a tab, -so _make_ recognizes them as commands. - -* Optional dependency: - -** Prefer multi-line syntax. -+ -YES: -+ ---------------------- -ifeq ($(BR2_PACKAGE_PYTHON),y) -LIBFOO_CONF_OPTS += --with-python-support -LIBFOO_DEPENDENCIES += python -else -LIBFOO_CONF_OPTS += --without-python-support -endif ---------------------- -+ -NO: -+ ---------------------- -LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON),,out)-python-support -LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,) ---------------------- - -** Keep configure options and dependencies close together. - -* Optional hooks: keep hook definition and assignment together in one - if block. -+ -YES: -+ ---------------------- -ifneq ($(BR2_LIBFOO_INSTALL_DATA),y) -define LIBFOO_REMOVE_DATA - $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data -endef -LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA -endif ---------------------- -+ -NO: -+ ---------------------- -define LIBFOO_REMOVE_DATA - $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data -endef - -ifneq ($(BR2_LIBFOO_INSTALL_DATA),y) -LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA -endif ---------------------- - -=== The documentation - -The documentation uses the -http://www.methods.co.nz/asciidoc/[asciidoc] format. - -For further details about the asciidoc syntax, refer to -http://www.methods.co.nz/asciidoc/userguide.html[]. - -=== Support scripts - -Some scripts in the +support/+ and +utils/+ directories are written in -Python and should follow the -https://www.python.org/dev/peps/pep-0008/[PEP8 Style Guide for Python Code]. diff --git a/buildroot-2021.05/docs/website/docs.html b/buildroot-2021.05/docs/website/docs.html deleted file mode 100644 index e8d81385..00000000 --- a/buildroot-2021.05/docs/website/docs.html +++ /dev/null @@ -1,131 +0,0 @@ - - -
-
-
- -
-
Documentation
-
-

The Buildroot user manual is where you want to start reading if you - wish to understand how Buildroot works, or wish to change/extend/fix - things. It is available as:

- -
-
-
-
-
- -
-
- -
-
-
- -

HTML
- Stable | - Nightly -

- -
- -
-
-
-
- -
-
- -
-
-
- -

PDF
- Stable | - Nightly -

- -
- -
-
-
-
- -
-
- -
-
-
- -

ASCII
- Stable | - Nightly -

- -
-
- -

If you find any errors (factual, grammatical, whatever) please - report them to us.

-
-
- -
-
Training
-
-

Bootlin (formerly Free Electrons) - offers a complete 3-days - training course on Buildroot. They also make the training - materials freely available:

- -
-
-
-
Slides preview
-
-
- buildroot slides -
-
-
-
- -
-
-
Training materials
- -
- -
-
Public training course
-
- The next online public training course on Buildroot - organized - by Bootlin will - take place from May 31 to June 4, 2021, with Thomas Petazzoni as - trainer. Infos - and registration. -
-
-
-
-
-
- -
-
-
- - - diff --git a/buildroot-2021.05/docs/website/download.html b/buildroot-2021.05/docs/website/download.html deleted file mode 100644 index 540b973e..00000000 --- a/buildroot-2021.05/docs/website/download.html +++ /dev/null @@ -1,217 +0,0 @@ - - -
-
-
- -
-
Download
-
- -

Latest long term support release: 2021.02.2

- -
-
-
-
-
- -
-
- -
-
-
-

buildroot-2021.02.2.tar.gz

-

PGP signature

-
-
-
-
-
- -
-
- -
-
-
- -

buildroot-2021.02.2.tar.bz2

-

PGP signature

-
-
- -

Latest stable release: 2021.05

- -
-
-
-
-
- -
-
- -
-
-
-

buildroot-2021.05.tar.gz

-

PGP signature

-
-
-
-
-
- -
-
- -
-
-
- -

buildroot-2021.05.tar.bz2

-

PGP signature

-
-
- - This and earlier releases (and their PGP signatures) can always be downloaded from - http://buildroot.net/downloads/. -
-
- -
-
Source code
-
- -
-
-
-
Repository
-
-

The buildroot repository can be browsed online through cgit at - http://git.buildroot.net/buildroot. - To grab a copy of the repository use

- - -
- - - - -

- -

- Or if you're behind a firewall blocking git: -

- -
- - - - -

- -

- - Please use the native git protocol if at all possible, as it's a lot - more efficient than HTTP. - -

- - If you are not already familiar with using Git, we recommend you visit the Git website. - -

- - Once you've checked out a copy of the source tree, you can update your source - tree at any time so it is in sync with the latest and greatest by entering your - buildroot directory and running the command: - -

-git pull
-
- - Because you've only been granted anonymous access to the tree, you won't be - able to push your changes to the repo. Changes can instead be submitted for - inclusion by posting them to the buildroot mailing list. -
-
-
- -
-
-
Tarballs
-
- You can also obtain daily snapshots of the latest Buildroot source tree if you - want to follow development, but cannot or do not wish to use Git. - - - -

- Older versions can be downloaded from the release archive. -

-
-
-
-
-
-
- -
-
-
- - diff --git a/buildroot-2021.05/docs/website/news.html b/buildroot-2021.05/docs/website/news.html deleted file mode 100644 index 2a27508b..00000000 --- a/buildroot-2021.05/docs/website/news.html +++ /dev/null @@ -1,6376 +0,0 @@ - - - - -
-
-
- -

News

-
    - -
  • -
    -
    -
    -

    2021.05 released

    -

    6 June 2021

    -
    -
    -

    The stable 2021.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details - and go to the downloads page to pick up the - 2021.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.05-rc3 released

    -

    31 May 2021

    -
    -
    -

    2021.05-rc3 has been released with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2021.05-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.05-rc2 released

    -

    22 May 2021

    -
    -
    -

    2021.05-rc2 has been released with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2021.05-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.02.2 released

    -

    12 May 2021

    -
    -
    -

    The 2021.02.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2021.02.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2021.02.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.05-rc1 released

    -

    12 May 2021

    -
    -
    -

    We have a new release candidate! Lots of changes all over the tree, see the - CHANGES - file for more details.

    - -

    Go to the downloads page to pick up the - 2021.05-rc1 - release, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.02.1 released

    -

    7 April 2021

    -
    -
    -

    The 2021.02.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2021.02 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2021.02.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.12 released, 2020.02.x series EOL

    -

    5 April 2021

    -
    -
    -

    The 2020.02.12 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.11 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.12 release.

    - -

    Notice that the 2020.02.x series is now end of life. Please migrate to - the 2021.02 series instead which will be supported until March 2022.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.11.4 released, 2020.11.x series EOL

    -

    5 April 2021

    -
    -
    -

    The 2020.11.4 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.11.3 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.11.4 release.

    - -

    Notice that the 2020.11.x series is now end of life. Please migrate to - the 2021.02 series instead which will be supported until March 2022.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.02 released

    -

    6 March 2021

    -
    -
    -

    The stable 2021.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2021.02 release.

    - -

    Notice that this is a long term support release which will be - supported with security and other important fixes until March 2022.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.02-rc3 released

    -

    27 February 2021

    -
    -
    -

    2021.02-rc3 has been released with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2021.02-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.11 released

    -

    17 February 2021

    -
    -
    -

    The 2020.02.11 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.10 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.11.3 released

    -

    17 February 2021

    -
    -
    -

    The 2020.11.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.11.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.11.3 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.02-rc2 released

    -

    17 February 2021

    -
    -
    -

    2021.02-rc2 has been released with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2021.02-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2021.02-rc1 released

    -

    9 February 2021

    -
    -
    -

    We have a new release candidate! Lots of changes all over the tree, see the - CHANGES - file for more details.

    - -

    Go to the downloads page to pick up the - 2021.02-rc1 - release, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.10 released

    -

    31 January 2021

    -
    -
    -

    The 2020.02.10 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.9 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.10 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.11.2 released

    -

    31 January 2021

    -
    -
    -

    The 2020.11.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.11.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.11.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.9 released

    -

    27 December 2020

    -
    -
    -

    The 2020.02.9 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.8 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.9 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.08.3 released, 2020.08.x series EOL

    -

    27 December 2020

    -
    -
    -

    The 2020.08.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.08.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.08.3 release.

    - -

    Notice that the 2020.08.x series is now end of life. Please migrate to - the 2020.11 series instead which will be supported until March 2021.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.11.1 released

    -

    27 December 2020

    -
    -
    -

    The 2020.11.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.11 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.11.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.11 released

    -

    2 December 2020

    -
    -
    -

    The stable 2020.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.11-rc3 released

    -

    28 November 2020

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2020.11-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.8 released

    -

    17 November 2020

    -
    -
    -

    The 2020.02.8 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.7 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.8 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.08.2 released

    -

    16 November 2020

    -
    -
    -

    The 2020.08.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.08.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.08.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.11-rc2 released

    -

    14 November 2020

    -
    -
    -

    2020.11-rc2 has been released with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2020.11-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.11-rc1 released

    -

    4 November 2020

    -
    -
    -

    We have a new release candidate! Lots of changes all over the tree, see the - CHANGES - file for more details.

    - -

    Go to the downloads page to pick up the - 2020.11-rc1 - release, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.7 released

    -

    12 October 2020

    -
    -
    -

    The 2020.02.7 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.6 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.7 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.05.3 released

    -

    12 October 2020

    -
    -
    -

    The 2020.05.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.05.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.05.3 release.

    - -

    Notice that the 2020.05.x series is now end of life. Please migrate to - the 2020.08 series instead which will be supported until December 2020.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.08.1 released

    -

    12 October 2020

    -
    -
    -

    The 2020.08.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.08 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.08.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.6 released

    -

    5 September 2020

    -
    -
    -

    The 2020.02.6 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.5 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.6 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.08 released

    -

    1 September 2020

    -
    -
    -

    The stable 2020.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.5 released

    -

    29 august 2020

    -
    -
    -

    The 2020.02.5 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.4 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.5 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.05.2 released

    -

    29 August 2020

    -
    -
    -

    The 2020.05.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.05.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.05.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.08-rc3 released

    -

    28 August 2020

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2020.08-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.08-rc2 released

    -

    24 August 2020

    -
    -
    -

    2020.08-rc2 has been released with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2020.08-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.08-rc1 released

    -

    6 August 2020

    -
    -
    -

    The 2020.08-rc1 release candidate is out. It is the first - release candidate for 2020.08, which we aim at releasing end - of August 2020. It contains a number of new packages, new - defconfigs, toolchain improvements, package updates and - more. See - the CHANGES. Go - to the downloads page to pick up the - 2020.08-rc1 - release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.4 released

    -

    26 July 2020

    -
    -
    -

    The 2020.02.4 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.3 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.4 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.05.1 released

    -

    25 July 2020

    -
    -
    -

    The 2020.05.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.05 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.05.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.3 released

    -

    3 June 2020

    -
    -
    -

    The 2020.02.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.3 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.05 released

    -

    1 June 2020

    -
    -
    -

    The stable 2020.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.05-rc3 released

    -

    29 May 2020

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2020.05-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.05-rc2 released

    -

    22 May 2020

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2020.05-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.2 released

    -

    12 May 2020

    -
    -
    -

    The 2020.02.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.05-rc1 released

    -

    10 April 2020

    -
    -
    -

    We have a new release candidate! Lots of changes all over the tree, see the - CHANGES - file for more details.

    - -

    Go to the downloads page to pick up the - 2020.05-rc1 - release, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02.1 released

    -

    10 April 2020

    -
    -
    -

    The 2020.02.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2020.02 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.11.3 released, 2019.11.x series EOL

    -

    10 April 2020

    -
    -
    -

    The 2019.11.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.11.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.11.3 release.

    - -

    Notice that the 2019.11.x series is now end of life. Please migrate to - the 2020.02 series instead which will be supported until April 2021.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.11 released, 2019.02.x series EOL

    -

    9 April 2020

    -
    -
    -

    The 2019.02.11 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.10 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.11 release.

    - -

    Notice that the 2019.02.x series is now end of life. Please migrate to - the 2020.02 series instead which will be supported until April 2021.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.10 released

    -

    16 march 2020

    -
    -
    -

    The 2019.02.10 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.9 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.10 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.11.2 released

    -

    16 March 2020

    -
    -
    -

    The 2019.11.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.11.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.11.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02 released

    -

    8 March 2020

    -
    -
    -

    The stable 2020.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2020.02 release.

    - -

    Notice that this is a long term support release which will be - supported with security and other important fixes until March 2021.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02-rc3 released

    -

    2 March 2020

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2020.02-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02-rc2 released

    -

    26 February 2020

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2020.02-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2020.02-rc1 released

    -

    18 February 2020

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2020.02-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.9 released

    -

    12 January 2020

    -
    -
    -

    The 2019.02.9 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.8 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.9 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.11.1 released

    -

    12 January 2020

    -
    -
    -

    The 2019.11.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.11 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.11.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.8 released

    -

    7 December 2019

    -
    -
    -

    The 2019.02.8 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.7 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.8 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.08.3 released

    -

    7 December 2019

    -
    -
    -

    The 2019.08.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.08.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.08.3 release.

    - -

    Notice that the 2019.08.x series is now end of life. Please migrate to - the 2019.02 or 2019.11 series instead.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.11 released

    -

    1 December 2019

    -
    -
    -

    The stable 2019.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.11-rc3 released

    -

    24 November 2019

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2019.11-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.11-rc2 released

    -

    16 November 2019

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2019.11-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.7 released

    -

    10 November 2019

    -
    -
    -

    The 2019.02.7 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.6 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.7 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.08.2 released

    -

    9 November 2019

    -
    -
    -

    The 2019.08.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.08.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.08.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.11-rc1 released

    -

    5 November 2019

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2019.11-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.6 released

    -

    4 October 2019

    -
    -
    -

    The 2019.02.6 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.5 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.6 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.05.3 released

    -

    4 October 2019

    -
    -
    -

    The 2019.05.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.05.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.05.3 release.

    - -

    Notice that the 2019.05.x series is now end of life. Please migrate to - the 2019.02 or 2019.08 series instead.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.08.1 released

    -

    4 October 2019

    -
    -
    -

    The 2019.08.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.08 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.08.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.05.2 released

    -

    3 September 2019

    -
    -
    -

    The 2019.05.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.05.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.05.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.5 released

    -

    2 September 2019

    -
    -
    -

    The 2019.02.5 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.4 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.5 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.08 released

    -

    1 September 2019

    -
    -
    -

    The stable 2019.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.08-rc3 released

    -

    28 August 2019

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2019.08-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.08-rc2 released

    -

    20 August 2019

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2019.08-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.08-rc1 released

    -

    9 August 2019

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2019.08-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.4 released

    -

    7 June 2019

    -
    -
    -

    The 2019.02.4 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.4 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.05.1 released

    -

    7 July 2019

    -
    -
    -

    The 2019.05.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.05 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.05.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.3 released

    -

    7 June 2019

    -
    -
    -

    The 2019.02.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.3 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.05 released

    -

    2 June 2019

    -
    -
    -

    The stable 2019.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.05-rc3 released

    -

    25 May 2019

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2019.05-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.05-rc2 released

    -

    15 May 2019

    -
    -
    -

    Another week, another release candidate with more cleanups and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2019.05-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.05-rc1 released

    -

    8 May 2019

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details, and read the - announcement. -

    - -

    Head to the downloads page to pick up the - 2019.05-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.2 released

    -

    29 April 2019

    -
    -
    -

    The 2019.02.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02.1 released

    -

    29 March 2019

    -
    -
    -

    The 2019.02.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2019.02 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.12 released, 2018.02.x series EOL

    -

    29 March 2019

    -
    -
    -

    The 2018.02.12 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.11 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.12 release.

    - -

    Notice that the 2018.02.x series is now end of life. Please migrate to - the 2019.02 series instead which will be supported until March 2020.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.11.4 released

    -

    28 March 2019

    -
    -
    -

    The 2018.11.4 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.11.3 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.11.4 release.

    - -

    Notice that the 2018.11.x series is now end of life. Please migrate to - the 2019.02 series instead which will be supported until March 2020.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02 released

    -

    4 March 2019

    -
    -
    -

    The stable 2019.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2019.02 release.

    - -

    Notice that this is a long term support release which will be - supported with security and other important fixes until March 2020.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02-rc3 released

    -

    1 March 2019

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2019.02-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.11.3 released

    -

    23 February 2019

    -
    -
    -

    The 2018.11.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.11.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.11.3 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.11 released

    -

    23 February 2019

    -
    -
    -

    The 2018.02.11 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.10 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02-rc2 released

    -

    23 February 2019

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2019.02-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2019.02-rc1 released

    -

    13 February 2019

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details and read the - announcement. -

    - -

    Head to the downloads page to pick up the - 2019.02-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.10 released

    -

    31 January 2019

    -
    -
    -

    The 2018.02.10 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.9 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.10 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.11.2 released

    -

    30 January 2019

    -
    -
    -

    The 2018.11.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.11.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.11.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.9 released

    -

    20 December 2018

    -
    -
    -

    The 2018.02.9 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.8 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.9 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.08.4 released, 2018.08 series EOL

    -

    20 December 2018

    -
    -
    -

    The 2018.08.4 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.08.3 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.08.4 release.

    -

    Notice that the 2018.08 series is now end of life, please - consider migrating to 2018.11 instead.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.11.1 released

    -

    19 December 2018

    -
    -
    -

    The 2018.11.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.11 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.11.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.11 released

    -

    1 December 2018

    -
    -
    -

    The stable 2018.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.11-rc3 released

    -

    30 November 2018

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2018.11-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.8 released

    -

    26 November 2018

    -
    -
    -

    The 2018.02.8 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.7 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.8 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.08.3 released

    -

    26 November 2018

    -
    -
    -

    The 2018.08.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.08.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.08.3 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.11-rc2 released

    -

    21 November 2018

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2018.11-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.11-rc1 released

    -

    9 November 2018

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details and/or read - the announcement. -

    - -

    Head to the downloads page to pick up the - 2018.11-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.7 released

    -

    25 October 2018

    -
    -
    -

    The 2018.02.7 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.6 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.7 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.08.2 released

    -

    25 October 2018

    -
    -
    -

    The 2018.08.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.08.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.08.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.08.1 released

    -

    7 October 2018

    -
    -
    -

    The 2018.08.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.08 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.08.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.6 released

    -

    7 October 2018

    -
    -
    -

    The 2018.02.6 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.5 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.6 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.05.3 released

    -

    6 October 2018

    -
    -
    -

    The 2018.05.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.05.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.05.3 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.08 released

    -

    6 September 2018

    -
    -
    -

    The stable 2018.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.08-rc3 released

    -

    31 August 2018

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2018.08-rc3 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.5 released

    -

    29 August 2018

    -
    -
    -

    The 2018.02.5 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.4 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.5 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.05.2 released

    -

    28 August 2018

    -
    -
    -

    The 2018.05.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.05.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.05.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.08-rc2 released

    -

    20 August 2018

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2018.08-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.08-rc1 released

    -

    5 August 2018

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details and/or read - the announcement. -

    - -

    Head to the downloads page to pick up the - 2018.08-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.4 released

    -

    21 July 2018

    -
    -
    -

    The 2018.02.4 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.3 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.4 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.05.1 released

    -

    20 July 2018

    -
    -
    -

    The 2018.05.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.05 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.05.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.3 released

    -

    18 June 2018

    -
    -
    -

    The 2018.02.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.3 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.05 released

    -

    1 June 2018

    -
    -
    -

    The stable 2018.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.05-rc3 released

    -

    28 May 2018

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2018.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.05-rc2 released

    -

    22 May 2018

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2018.05-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.05-rc1 released

    -

    9 May 2018

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details and read the - announcement. -

    - -

    Head to the downloads page to pick up the - 2018.05-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.2 released

    -

    4 May 2018

    -
    -
    -

    The 2018.02.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.11 released

    -

    11 April 2018

    -
    -
    -

    The 2017.02.11 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.10 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.11 release.

    -

    Notice that the 2017.02 series is now end of life, so please consider - updating to 2018.02 instead.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02.1 released

    -

    10 April 2018

    -
    -
    -

    The 2018.02.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2018.02 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02 released

    -

    4 March 2018

    -
    -
    -

    The stable 2018.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2018.02 release.

    - -

    Notice that this is a long term support release which will be - supported with security and other important fixes until February 2019.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02-rc3 released

    -

    27 February 2018

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2018.02-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02-rc2 released

    -

    15 February 2018

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2018.02-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2018.02-rc1 released

    -

    5 February 2018

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the - CHANGES - file for details and read the - announcement. -

    - -

    Head to the downloads page to pick up the - 2018.02-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.10 released

    -

    31 January 2018

    -
    -
    -

    The 2017.02.10 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.9 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.10 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.11.2 released

    -

    21 January 2018

    -
    -
    -

    The 2017.11.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.11.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.11.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.9 released

    -

    1 January 2018

    -
    -
    -

    The 2017.02.9 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.8 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.9 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.11.1 released

    -

    31 December 2017

    -
    -
    -

    The 2017.11.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.11 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.11.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.11 released

    -

    30 November 2017

    -
    -
    -

    The stable 2017.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.08.2 released

    -

    29 November 2017

    -
    -
    -

    The 2017.08.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.08.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.08.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.8 released

    -

    27 November 2017

    -
    -
    -

    The 2017.02.8 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.7 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.8 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.11-rc2 released

    -

    13 November 2017

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2017.11-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.11-rc1 released

    -

    6 November 2017

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2017.11-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.7 released

    -

    28 October 2017

    -
    -
    -

    The 2017.02.7 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.6 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.7 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.08.1 released

    -

    23 October 2017

    -
    -
    -

    The 2017.08.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.08 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.08.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.6 released

    -

    24 September 2017

    -
    -
    -

    The 2017.02.6 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.5 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.6 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.08 released

    -

    1 September 2017

    -
    -
    -

    The stable 2017.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details - and go to the downloads page to pick up the - 2017.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.08-rc3 released

    -

    23 August 2017

    -
    -
    -

    Another release candidate, on the road to the final 2017.08 - release. A number of fixes and cleanups in various packages - and defconfigs. See - the CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2017.08-rc3 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.08-rc2 released

    -

    11 August 2017

    -
    -
    -

    Another release candidate, on the road to the final 2017.08 - release. A number of fixes and cleanups in various packages - and defconfigs. See - the CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2017.08-rc2 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.08-rc1 released

    -

    2 August 2017

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2017.08-rc1 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.05.2 released

    -

    27 July 2017

    -
    -
    -

    The 2017.05.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.05.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.05.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.5 released

    -

    27 July 2017

    -
    -
    -

    The 2017.02.5 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.4 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.5 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.05.1 released

    -

    4 July 2017

    -
    -
    -

    The 2017.05.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.05 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.05.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.4 released

    -

    4 July 2017

    -
    -
    -

    The 2017.02.4 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.3 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.4 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.3 released

    -

    2 June 2017

    -
    -
    -

    The 2017.02.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.3 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.05 released

    -

    31 May 2017

    -
    -
    -

    The stable 2017.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.05-rc3 released

    -

    30 May 2017

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2017.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.05-rc2 released

    -

    17 May 2017

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2017.05-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.05-rc1 released

    -

    8 May 2017

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2017.05-rc1 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.2 released

    -

    1 May 2017

    -
    -
    -

    The 2017.02.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02.1 released

    -

    4 April 2017

    -
    -
    -

    The 2017.02.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2017.02 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.11.3 released

    -

    10 March 2017

    -
    -
    -

    The 2016.11.3 bugfix release is out, fixing a number of important / - security related issues discovered since the 2016.11.2 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2016.11.3 release.

    -

    Notice that this is the final 2016.11.x release. Users are - urged to migrate to the 2017.02.x series instead.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02 released

    -

    28 February 2017

    -
    -
    -

    The stable 2017.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2017.02 release.

    - -

    Notice that this is a long term support release which will be - supported with security and other important fixes until February 2018.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02-rc3 released

    -

    26 February 2017

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2017.02-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02-rc2 released

    -

    20 February 2017

    -
    -
    -

    We have a new release candidate! Lots of changes all over the tree, see - the CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2017.02-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2017.02-rc1 released

    -

    11 February 2017

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, read - the announcement. -

    - -

    Head to the downloads page to pick up the - 2017.12-rc1 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.11.2 released

    -

    25 January 2017

    -
    -
    -

    The 2016.11.2 bugfix release is out, fixing a number of important / - security related issues discovered since the 2016.11.1 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2016.11.2 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.11.1 released

    -

    29 December 2016

    -
    -
    -

    The 2016.11.1 bugfix release is out, fixing a number of important / - security related issues discovered since the 2016.11 release. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2016.11.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.11 released

    -

    30 November 2016

    -
    -
    -

    The stable 2016.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2016.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.11-rc3 released

    -

    28 November 2016

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2016.11-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.11-rc2 released

    -

    13 November 2016

    -
    -
    -

    We have a new release candidate! Lots of - changes all over the tree, see - the CHANGES - file for details. -

    - -

    Head to the downloads page to pick up the - 2016.11-rc2 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.11-rc1 released

    -

    3 November 2016

    -
    -
    -

    We have a new release candidate! Lots of - changes all over the tree, see - the CHANGES - file for details, read the - announcement. -

    - -

    Head to the downloads page to pick up the - 2016.11-rc1 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.08.1 released

    -

    21 September 2016

    -
    -
    -

    The 2016.08.1 bugfix release is out. This release fixes a - potential entire root filesystem removal issue with the - external toolchain handling discovered since the 2016.08 - release. See the - CHANGES - file for more details, read the - announcement and go to the - downloads page to pick up the - 2016.08.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.08 released

    -

    1 September 2016

    -
    -
    -

    The stable 2016.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2016.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.08-rc3 released

    -

    30 August 2016

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2016.08-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.08-rc2 released

    -

    17 August 2016

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2016.08-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.08-rc1 released

    -

    6 August 2016

    -
    -
    -

    We have a new release candidate! Lots of - changes all over the tree, see - the CHANGES - file for details and read the - announcement -

    - -

    Head to the downloads page to pick up the - 2016.08-rc1 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.05 released

    -

    1 March 2016

    -
    -
    -

    The stable 2016.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2016.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.05-rc3 released

    -

    26 May 2016

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2016.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.05-rc2 released

    -

    17 May 2016

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2016.05-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.05-rc1 released

    -

    10 May 2016

    -
    -
    -

    We have a new release candidate! Lots of - changes all over the tree, see - the CHANGES - file for details and read the - announcement. -

    - -

    Head to the downloads page to pick up the - 2016.05-rc1 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.02 released

    -

    1 March 2016

    -
    -
    -

    The stable 2016.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2016.02 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.02-rc3 released

    -

    27 February 2016

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2016.02-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.02-rc2 released

    -

    18 February 2016

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2016.02-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2016.02-rc1 released

    -

    10 February 2016

    -
    -
    -

    We have a new release candidate! Lots of - changes all over the tree, see - the CHANGES - file for details and read the - announcement. -

    - -

    Head to the downloads page to pick up the - 2016.02-rc1 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.11.1 released

    -

    5 December 2015

    -
    -
    -

    The 2015.11.1 bugfix release is out - Thanks to everyone - contributing. This release fixes critical issues discovered - since the 2015.11 release. See the - CHANGES - file for more details, and go to the - downloads page to pick up the - 2015.11.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.11 released

    -

    30 November 2015

    -
    -
    -

    The stable 2015.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2015.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.11-rc3 released

    -

    26 November 2015

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2015.11-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.11-rc2 released

    -

    19 November 2015

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See the - CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2015.11-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.11-rc1 released

    -

    7 November 2015

    -
    -
    -

    We have a new release candidate! Lots of - changes all over the tree, see - the CHANGES - file for details. See also - the announcement - e-mail.

    - -

    Head to the downloads page to pick up the - 2015.11-rc1 - release candidate, and report any - problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.08.1 released

    -

    6 September 2015

    -
    -
    -

    The 2015.08.1 bugfix release is out - Thanks to everyone - contributing. This release fixes critical issues discovered since - the 2015.08 release. See the - CHANGES - file for more details, - and go to the downloads page to pick up the - 2015.08.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.08 released

    -

    31 August 2015

    -
    -
    -

    The stable 2015.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2015.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.08-rc2 released

    -

    24 August 2015

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see - the CHANGES - file for details, and - the release - announcement.

    - -

    Head to the downloads page to pick up the - 2015.08-rc2 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.08-rc1 released

    -

    5 August 2015

    -
    -
    -

    We have a new release candidate! Lots of changes all over the tree, see - the CHANGES - file for details, read - the announcement.

    - -

    Head to the downloads page to pick up the - 2015.08-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.05 released

    -

    31 May 2015

    -
    -
    -

    The stable 2015.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2015.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.05-rc3 released

    -

    22 May 2015

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up - the 2015.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.05-rc2 released

    -

    11 May 2015

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up the - 2015.05-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.05-rc1 released

    -

    4 May 2015

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2015.05-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.02 released

    -

    1 March 2015

    -
    -
    -

    The stable 2015.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2015.02 release.

    -
    -
    -
  • - - -
  • -
    -
    -
    -

    2015.02-rc3 released

    -

    24 February 2015

    -
    -
    -

    Release candidate 3 is out with more cleanups and security - / build fixes. See - the CHANGES - file for details.

    -

    Head to the downloads page to - pick up the - 2015.02-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.02-rc2 released

    -

    15 February 2015

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2015.02-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2015.02-rc1 released

    -

    8 February 2015

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2015.02-rc1 - release candidate, and report any problems found to - the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.11 released

    -

    1 December 2014

    -
    -
    -

    The stable 2014.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, - and go to the downloads page to pick up the - 2014.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.11-rc3 released

    -

    28 November 2014

    -
    -
    -

    Release candidate 3 is out with more cleanups and build - fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to - pick up the - 2014.11-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.11-rc2 released

    -

    21 November 2014

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2014.11-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Report from Buildroot Developers Meeting

    -

    13 November 2014

    -
    -
    -

    A report from the recent - - Buildroot Developers Meeting is now - available.

    - -

    Once again, thanks to all the participants and to - Mind for sponsoring the event.

    - -

    The next Developer Days will take place on February 2nd and - 3rd in Brussels, Belgium, right - after FOSDEM. See - the wiki - for more details.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.11-rc1 released

    -

    12 November 2014

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2014.11-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.08 released

    -

    1 September 2014

    -
    -
    -

    The stable 2014.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2014.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.08-rc3 released

    -

    26 August 2014

    -
    -
    -

    Release candidate 3 is out with more cleanups and build - fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2014.08-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.08-rc2 released

    -

    18 August 2014

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2014.08-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.08-rc1 released

    -

    8 August 2014

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2014.08-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.05 released

    -

    31 May 2014

    -
    -
    -

    The stable 2014.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2014.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.05-rc3 released

    -

    28 May 2014

    -
    -
    -

    Release candidate 3 is out with more cleanups and build - fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2014.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.05-rc2 released

    -

    21 May 2014

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to - pick up the - 2014.05-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.05-rc1 released

    -

    13 May 2014

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2014.05-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    27 February 2014

    -

    2014.02 released

    -
    -
    -

    The stable 2014.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, - and go to the downloads page to pick up the - 2014.02 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    25 February 2014

    -

    2014.02-rc3 released

    -
    -
    -

    Release candidate 3 is out with more cleanups and build - fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2014.02-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    20 February 2014

    -

    2014.02-rc2 released

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2014.02-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2014.02-rc1 released

    -

    11 February 2014

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2014.02-rc1 - release candidate, and report any problems found to the - mailing list or - bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    9 February 2014

    -

    Report from Buildroot Developers Meeting

    -
    -
    -

    A report from the recent - - Buildroot Developers Meeting is now - available.

    - -

    Once again, thanks to all the participants and to - Google and - Mind for sponsoring the event.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Upcoming Buildroot Developers meeting

    -

    30 January 2014

    -
    -
    -

    The upcoming Buildroot Developers meeting will take place in - Brussels on February, 3rd and 4th, after the - FOSDEM conference. Additional - details about the meeting can be found on the corresponding - - wiki page.

    - -

    Persons not able to join the meeting in Brussels can participate - remotely using Google Hangouts. Simply give your Google address to - thomas.petazzoni@free-electrons.com.

    - -

    This meeting is sponsored by - Google (for the meeting room) - and Mind (for the dinner). - Thanks to our sponsors!

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.11 released

    -

    30 November 2013

    -
    -
    -

    The stable 2013.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the announcement - and go to the downloads page to pick up the - 2013.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Slides from Embedded Linux Conference Europe

    -

    30 November 2013

    -
    -
    -

    The slides from the Buildroot presentation at the recent - Embedded Linux Conference Europe 2013 - are now - available.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.11-rc3 released

    -

    18 November 2013

    -
    -
    -

    Another week, another release candidate with more - fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.11-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.11-rc2 released

    -

    18 November 2013

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.11-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Announcement of the next Buildroot Developer Days

    -

    13 November 2013

    -
    -
    -

    The next Buildroot Developer Days meeting will take - place on Monday 3rd and Tuesday 4th February 2014 in Brussels, - Belgium - Just after - FOSDEM (February - 1st/2nd). This two days meeting is mainly open to Buildroot - developers and contributors, or Buildroot users having a prior - experience with the tool. It will allow developers to work on - Buildroot and discuss current issues, the future directions, and - more.

    - -

    In addition to the Buildroot event, we encourage embedded Linux - developers to propose talks for the Embedded and Mobile Developer - Room at FOSDEM. See - the CFP.

    - -

    We would like to thank our - sponsor Google for sponsoring - the event by providing all the needed logistics.

    - -

    For more details, see the - wiki - page dedicated to the meeting.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.11-rc1 released

    -

    12 November 2013

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2013.11-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Report from Buildroot Developers Meeting

    -

    11 November 2013

    -
    -
    -

    A report from the recent - - Buildroot Developers Meeting is now - available.

    - -

    Once again, thanks to all the participants and to - Imagination Technologies - for sponsoring the event.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.08.1 released

    -

    17 September 2013

    -
    -
    -

    The 2013.08.1 bugfix release is out - Thanks to everyone - contributing. This release fixes critical issues discovered since - the 2013.08 release. See the - CHANGES - file for more details, - and go to the downloads page to pick up the - 2013.08.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Buildroot Developer Days

    -

    16 September 2013

    -
    -
    -

    The next Buildroot Developer Days meeting will take - place on Saturday October 26th and Sunday October 27th 2013 in - Edinburgh, UK - Just after the - Embedded Linux Conference Europe (October 23th-24th). This two - days meeting is mainly open to Buildroot developers and - contributors, or Buildroot users having a prior experience with - the tool. It will allow developers to work on Buildroot and - discuss current issues, the future directions, and more.

    - -

    For more details, see the - wiki - page dedicated to the meeting.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.08 released

    -

    31 August 2013

    -
    -
    -

    The stable 2013.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the announcement - and go to the downloads page to pick up the - 2013.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.08-rc3 released

    -

    29 August 2013

    -
    -
    -

    Another week, another release candidate with more cleanups and - build fixes. See the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.08-rc3 - release candidate, and report any problems found to the mailing list or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.08-rc2 released

    -

    16 August 2013

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.08-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.08-rc1 released

    -

    5 August 2013

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.08-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.05 released

    -

    31 May 2013

    -
    -
    -

    The stable 2013.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2013.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.05-rc3 released

    -

    25 May 2013

    -
    -
    -

    Another week, another release candidate with more cleanups and - build fixes. See the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.05-rc2 released

    -

    15 May 2013

    -
    -
    -

    Another week, another release candidate with more cleanups and - build fixes. See the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.05-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.05-rc1 released

    -

    8 May 2013

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2013.05-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.02 released

    -

    28 February 2013

    -
    -
    -

    The stable 2013.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details - and go to the downloads page to pick up the - 2013.02 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.02-rc3 released

    -

    26 February 2013

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.02-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.02-rc2 released

    -

    19 February 2013

    -
    -
    -

    Another week, another release candidate with more cleanups and - build fixes. See the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2013.02-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2013.02-rc1 released

    -

    10 February 2013

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2013.02-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Report from Buildroot Developers Meeting

    -

    10 February 2013

    -
    -
    -

    A report from the recent Buildroot Developers Meeting is now - available. - Embedded Linux News also has a - - writeup about the event, including photos.

    - -

    Once again, thanks to all the participants and to - Google for sponsoring the event.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Next Buildroot Developers Meeting next to FOSDEM, Brussels

    -

    12 January 2013

    -
    -
    -

    The next Buildroot Developers Meeting will take place on Monday - 4th February 2013 and Tuesday 5th February 2013 in Brussels, - Belgium. Those dates have been chosen to immediately follow the - great FOSDEM conference.

    - -

    Attending this meeting is free, after registration by - contacting Thomas - Petazzoni. For more details about the meeting, please see - the related - Wiki page.

    - -

    We would like to - thank Google for providing the - meeting location and the Internet connection, and offering free - lunch and refreshments to the participants.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.11.1 released

    -

    3 January 2013

    -
    -
    -

    The 2012.11.1 bugfix release is out - Thanks to everyone - contributing. This release fixes critical issues discovered since - the 2012.11 release, most importantly with non-largefile builds on - recent Ubuntu versions. See the - CHANGES - file for more details, - and go to the downloads page to pick up the - 2012.11.1 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.11 released

    -

    2 December 2012

    -
    -
    -

    The stable 2012.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details - and go to the downloads page to pick up the - 2012.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.11-rc2 released

    -

    30 November 2012

    -
    -
    -

    RC2 is out with more bugfixes - See - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2012.11-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.11-rc1 released

    -

    17 November 2012

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2012.11-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Buildroot Developer Day

    -

    17 November 2012

    -
    -
    -

    A report from the recent Buildroot Developer Days - meeting in Barcelona, Spain is - now available. - Many thanks to all the participants, and a special thanks to - Arnout Vandecappelle from mind - for taking notes and Thomas Petazzoni - from Free Electrons - for handling all the practical arrangements, and naturally - our sponsors, Fluendo - and Synopsis. -

    -

    The next Developer Days will take place on February 4th and - 5th in Brussels, Belgium, right - after FOSDEM.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.08 released

    -

    31 August 2012

    -
    -
    -

    The stable 2012.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details and go to the downloads page to pick up the - 2012.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.08-rc3 released

    -

    25 August 2012

    -
    -
    -

    We have a new release candidate! Various fixes, and - addition of licensing informations on many - packages. See CHANGES - file for details

    - -

    Head to the downloads page to pick up the - 2012.08-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.08-rc2 released

    -

    15 August 2012

    -
    -
    -

    We have a new release candidate! Various fixes, and addition - of licensing informations on many - packages. See CHANGES - file for details

    - -

    Head to the downloads page to pick up the - 2012.08-rc2 - release candidate, and report any problems found to the mailing list or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.08-rc1 released

    -

    1 August 2012

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details

    - -

    Head to the downloads page to pick up the - 2012.08-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Buildroot Developer Day

    -

    22 July 2012

    -
    -
    -

    The next Buildroot Developer Day meeting will take place - on Saturday November 3th and Sunday November 4th 2012 in - Barcelona, Spain, just before - the Embedded - Linux Conference Europe (November 5th-7th). This two days - meeting is mainly opened to Buildroot developers and contributors, - or Buildroot users having a prior experience with the tool. This - meeting will allow developers to work and Buildroot, and discuss - current issues, the future directions, and more.

    - -

    For more details, see - the wiki - page dedicated to the meeting.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.05 released

    -

    30 May 2012

    -
    -
    -

    The stable 2012.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2012.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.05-rc3 released

    -

    25 May 2012

    -
    -
    -

    RC3 is out with more bugfixes - See - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2012.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.05-rc2 released

    -

    18 May 2012

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2012.05-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.05-rc1 released

    -

    10 May 2012

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2012.05-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Autobuilder Results Online

    -

    20 April 2012

    -
    -
    -

    The status of the autobuilders, which do repeated - randpackageconfig builds for continuous - integration testing, is now online - at autobuild.buildroot.org. The - code behind it can be found - in git.

    - -

    Thanks to Thomas Petazzoni for running the web interface, and - to The GCC Compile - Farm and Free - Electrons for hosting builders. Thomas also sends out a daily - summary of the build status to the mailing list.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.02 released

    -

    29 February 2012

    -
    -
    -

    The stable 2012.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2012.02 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.02-rc3 released

    -

    27 February 2012

    -
    -
    -

    RC3 is out with more bugfixes - See - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2012.02-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.02-rc2 released

    -

    19 February 2012

    -
    -
    -

    Another week, another release candidate with more cleanups - and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2012.02-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2012.02-rc1 released

    -

    12 February 2012

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, and read the - announcement.

    - -

    Head to the downloads page to pick up the - 2012.02-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Buildroot Developer Day

    -

    31 January 2012

    -
    -
    -

    Another Buildroot Developer Day will take place on - Friday, February 3rd in Brussels, Belgium - The day - before FOSDEM. See the - announcement - or - the Free - Electrons blog for more info.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.11 released

    -

    30 November 2011

    -
    -
    -

    The stable 2011.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2011.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.11-rc3 released

    -

    26 November 2011

    -
    -
    -

    RC3 is out with more bugfixes - See - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2011.11-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.11-rc2 released

    -

    18 November 2011

    -
    -
    -

    Another week, another release candidate with a bunch of - cleanups and build fixes. See - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2011.11-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.11-rc1 released

    -

    11 November 2011

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, and read the - announcement - -

    Head to the downloads page to pick up the - 2011.11-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.08 released

    -

    31 August 2011

    -
    -
    -

    The stable 2011.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, and go to the downloads page to pick up the - 2011.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.08-rc2 released

    -

    29 August 2011

    -
    -
    -

    RC2 is out with more bugfixes. See - the CHANGES - file for details, and read the - announcement. - -

    Head to the downloads page to pick up the - 2011.08-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.08-rc1 released

    -

    4 August 2011

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, and read the - announcement. - -

    Head to the downloads page to pick up the - 2011.08-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.05 released

    -

    27 May 2011

    -
    -
    -

    The stable 2011.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, and go to the downloads page to pick up the - 2011.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.05-rc2 released

    -

    24 May 2011

    -
    -
    -

    RC2 is out with more bugfixes. See - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2011.05-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.05-rc1 released

    -

    18 May 2011

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, and read the - announcement. - -

    Head to the downloads page to pick up the - 2011.05-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.02 released

    -

    28 February 2011

    -
    -
    -

    The stable 2011.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2011.02 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.02-rc2 released

    -

    24 February 2011

    -
    -
    -

    RC2 is out with more cleanups and bugfixes, see - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2011.02-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2011.02-rc1 released

    -

    14 February 2011

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, and read the - announcement. - -

    Head to the downloads page to pick up the - 2011.02-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.11 released

    -

    30 November 2010

    -
    -
    -

    The stable 2010.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2010.11 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.11-rc2 released

    -

    25 November 2010

    -
    -
    -

    RC2 is out with more cleanups and bugfixes, see - the CHANGES - file for details.

    - -

    Head to the downloads page to pick up the - 2010.11-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.11-rc1 released

    -

    8 November 2010

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details, and read the - announcement. - -

    Head to the downloads page to pick up the - 2010.11-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Buildroot Developer Day

    -

    28 September 2010

    -
    -
    -

    A Buildroot Developer Day will take place on - Friday, October 29th in Cambridge, UK - Just the day after the - Embedded - Linux Conference Europe. This Developer Day - aims at allowing Buildroot developers to meet and exchange - ideas on the project and its future. See the - announcement - for more info.

    - -

    Thanks to Thomas Petazzoni for taking care of the practical - arrangements.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.08 released

    -

    31 August 2010

    -
    -
    -

    The stable 2010.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2010.08 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.08-rc2 released

    -

    30 August 2010

    -
    -
    -

    RC2 is out with more cleanups and bugfixes, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2010.08-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    - - This is very much expected to be the final release candidate, - so give it a good test and expect a final 2010.08 release - before September unless critical issues are found.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.08-rc1 released

    -

    30 July 2010

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2010.08-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.05 released

    -

    30 May 2010

    -
    -
    -

    The stable 2010.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, read the - announcement - and go to the downloads page to pick up the - 2010.05 release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.05-rc3 released

    -

    27 May 2010

    -
    -
    -

    RC3 is out with more cleanups and bugfixes, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2010.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.05-rc2 released

    -

    11 May 2010

    -
    -
    -

    Another week, another release candidate with a bunch of - cleanups and build fixes.

    - -

    Head to the downloads page to pick up the - 2010.05-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.05-rc1 released

    -

    3 May 2010

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2010.05-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    FOSDEM slides online

    -

    2 May 2010

    -
    -
    -

    The slides from - the Cross - Build Systems: Present & Future session - at FOSDEM are - now online. -

    -
    -
  • - -
  • -
    -
    -
    -

    2010.02 released

    -

    26 February 2010

    -
    -
    -

    The stable 2010.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - CHANGES - file for more details, and go to - the downloads page to pick up - the 2010.02 - release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.02-rc2 released

    -

    23 February 2010

    -
    -
    -

    RC2 is out with more cleanups and bugfixes, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2010.02-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2010.02-rc1 released

    -

    9 February 2010

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2010.02-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.11 released

    -

    1 December 2009

    -
    -
    -

    The stable 2009.11 release is out - Thanks to everyone - contributing and testing the release candidates. See the - announcement - or CHANGES - for more details, and go to the downloads page - to pick up the 2009.11 - release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.11-rc2 released

    -

    29 November 2009

    -
    -
    -

    RC2 is out with more cleanups and bugfixes, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2009.11-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.11-rc1 released

    -

    23 November 2009

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2009.11-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    First Buildroot Developer Day

    -

    7 September 2009

    -
    -
    -

    The first Buildroot Developer Day will take place on - Saturday, October 17th in Grenoble, France, just the day after - Embedded Linux Conference Europe. This Developer Day aims - at allowing Buildroot developers to meet and exchange ideas on the - project and its future.

    - -

    As the number of places is limited, interested candidates are - invited to send an e-mail to Peter Korsgaard (jacmet at - uclibc dot org) and Thomas Petazzoni (thomas dot - petazzoni at free-electrons dot com).

    - -

    This Developer Day will take place thanks to the - sponsoring of Calao - Systems and Free - Electrons.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.08 released

    -

    31 August 2009

    -
    -
    -

    The stable 2009.08 release is out - Thanks to everyone - contributing and testing the release candidates. See the - announcement - or CHANGES - for more details, and go to the downloads page - to pick up the 2009.08 - release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.08-rc3 released

    -

    26 August 2009

    -
    -
    -

    A number of bugfixes have been added to the tree since RC2 - (especially thanks to Thomas Petazzoni) - See - the CHANGES - file for details. This is very much expected to be the final - release candidate, so give it a good test and expect a final - 2009.08 release next weekend unless critical issues are - found.

    - -

    Head to the downloads page to - pick up the - 2009.08-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.08-rc2 released

    -

    6 August 2009

    -
    -
    -

    RC2 is out with more cleanups and bugfixes, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2009.08-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.08-rc1 released

    -

    2 August 2009

    -
    -
    -

    We have a new release candidate! Lots of changes all over - the tree, see - the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2009.08-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.05 released

    -

    1 June 2009

    -
    -
    -

    The stable 2009.05 release is out - Thanks to everyone - contributing and testing the release candidates. See the - announcement - or CHANGES - for more details, and go to the downloads page - to pick up the 2009.05 - release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.05-rc3 released

    -

    27 May 2009

    -
    -
    -

    We had a number of fixes post-RC2, so RC3 is out - (see CHANGES - for details). Now is the moment to test and verify that - everything is working for your favorite config - Expect a - final 2009.05 very soon.

    - -

    Head to the downloads page to pick up the - 2009.05-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.05-rc2 released

    -

    19 May 2009

    -
    -
    -

    RC2 is out with more cleanups and bug fixes - (see CHANGES). - Unless big issues are found, expect this to be the last - release candidate before the release - So give it a good - test.

    - -

    Head to the downloads page to pick up the - 2009.05-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Buildroot.org

    -

    14 May 2009

    -
    -
    -

    Earl Levine has been so kind to donate - the buildroot.org domain to us, so the website can - now also be reached - at www.buildroot.org - (and git at - git.buildroot.org). - - Thanks a lot Earl!

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.05-rc1 released

    -

    5 May 2009

    -
    -
    -

    We have a new release candidate! Lots of changes all over the - tree, see the CHANGES - file for details. - -

    Head to the downloads page to pick up the - 2009.05-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Moved to git

    -

    3 May 2009

    -
    -
    -

    We've moved the source code - from Subversion - to Git. You can browse the - repo online - here, and clone - the repo using: -

    git clone git://git.buildroot.net/buildroot
    - See the Git Access page for more details. -

    -
    -
    -
  • - -
  • -
    -
    -
    -

    -

    27 March 2009

    -

    -
    -

    We have a logo! We have so - far been using the Busybox - logo on the website, as the website was a copy of - the Busybox one - But not - anymore, we now have a shiny new logo of our own.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.02 released

    -

    12 February 2009

    -
    -
    -

    The stable 2009.02 release is out - Thanks to everyone - contributing and testing the release candidates. See the - announcement - for more details, and go to the downloads page - to pick up the 2009.02 - release.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.02-rc4 released

    -

    9 February 2009

    -
    -
    -

    We had more than 50 changes since RC3, several of them - toolchain related, so decided to make a RC4 as well. This is - very much expected to be the final release candidate, so - give it a good test and expect a final 2009.02 release this - week unless critical issues are found.

    - -

    Head to the downloads page to - pick up the - 2009.02-rc4 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.02-rc3 released

    -

    31 January 2009

    -
    -
    -

    RC3 is out with more cleanups and bug fixes. Unless big - issues are found, expect this to be the last release - candidate before the release - So give it a good test.

    - -

    Head to the downloads page to - pick up the - 2009.02-rc3 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    2009.02-rc2 released

    -

    23 January 2009

    -
    -
    -

    Another week, another release candidate with a bunch of - cleanups and build fixes.

    -

    Head to the downloads page to - pick up the - 2009.02-rc2 - release candidate, and report any problems found to - the mailing list - or bug tracker.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Release candidate and new maintainer

    -

    16 January 2009

    -
    -
    - -

    It has been a long time coming, but we finally have a new - release candidate! - And a new maintainer to match (Peter - Korsgaard).

    - -

    Head to the downloads page to - pick up the - 2009.02-rc1 - release candidate, and report any problems found to - the mailing list - or bug tracker. The - plan is to release 2009.02 in time - for FOSDEM.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Buildroot mailing list

    -

    16 July 2006

    -
    -
    -

    Buildroot now has its own mailing list.

    -
    -
    -
  • - -
  • -
    -
    -
    -

    Buildroot webpage added

    -

    21 February 2005

    - -

    Buildroot is a set of Makefiles and patches that makes it easy generate a - cross-compilation toolchain and root filesystem for your target Linux - system using the uClibc C library. - Buildroot is useful mainly for people working with small or embedded - systems. Embedded systems often use processors that are not the regular - x86 processors everyone is used to using on their PC. It can be PowerPC - processors, MIPS processors, ARM processors, etc. And to be extra safe, - you do not need to be root to build or run buildroot.

    - -

    And as of today buildroot even has its own webpage, making it a first class - citizen of uclibc.org and busybox.net, and more importantly, make it easy - to find and point to buildroot.

    - -

    If you find a bug in buildroot, or wish to submit a patch - to fix a problem or add a shiny new feature, please use - the Bug and Patch - Tracking System to post the details, to make certain - your work is not lost

    -
    -
    -
  • -
- -
-
-
- - - diff --git a/buildroot-2021.05/docs/website/support.html b/buildroot-2021.05/docs/website/support.html deleted file mode 100644 index eef969d4..00000000 --- a/buildroot-2021.05/docs/website/support.html +++ /dev/null @@ -1,124 +0,0 @@ - - -
-
-
- -
-
Support
-
-

You can get support for Buildroot through three main channels:

- -
-
-
-
IRC
-
-
-
- -
-
-

The Buildroot IRC channel is - #buildroot, hosted on OFTC. If you do not have an IRC client, you can - use the OFTC web interface. - When asking for help on IRC, share relevant logs or pieces of code using a code - sharing website.

- -

Note that due to excessive spamming on IRC, the channel can only be - joined if you are a registered user with - OFTC NickServ - service. Follow the instructions to register as a user with a password, - and then join the #buildroot channel.

-
-
-
-
-
- -
-
-
Mailing List Information
-
-
-
- -
-
-

The mailing list is for discussion and - development. You can subscribe by visiting - this page. - Only subscribers to the Buildroot mailing list are allowed to post - to this list.

- -

Search the List Archives

-

Please search the mailing list archives before asking questions on the mailing - list, since there is a good chance someone else has asked the same question - before.

- -
- - - - - -
-
-
-
-
-
- -
-
-
Bug Tracker
-
-
-
- -
-
-

If you think you found a bug in Buildroot, you can use the - Bug Tracker to post your bugs and/or - participate to find solutions to existing problems.

- -

Note: patches are only accepted through the mailing list.

-
-
-
-
-
-
-
-
- -
-
Commercial support
-
-

In addition, the following companies are able to provide commercial - support. Only companies heavily involved in Buildroot maintenance and - community are listed here.

- -
-
-
- - - - - - - - - -
-
-
-
-
- -
-
-
- - diff --git a/buildroot-2021.05/fs/Config.in b/buildroot-2021.05/fs/Config.in deleted file mode 100644 index 37a2aa21..00000000 --- a/buildroot-2021.05/fs/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -menu "Filesystem images" - -source "fs/axfs/Config.in" -source "fs/btrfs/Config.in" -source "fs/cloop/Config.in" -source "fs/cpio/Config.in" -source "fs/cramfs/Config.in" -source "fs/erofs/Config.in" -source "fs/ext2/Config.in" -source "fs/f2fs/Config.in" -source "fs/initramfs/Config.in" -source "fs/iso9660/Config.in" -source "fs/jffs2/Config.in" -source "fs/romfs/Config.in" -source "fs/squashfs/Config.in" -source "fs/tar/Config.in" -source "fs/ubi/Config.in" -source "fs/ubifs/Config.in" -source "fs/yaffs2/Config.in" - -endmenu diff --git a/buildroot-2021.05/fs/common.mk b/buildroot-2021.05/fs/common.mk deleted file mode 100644 index afab7b50..00000000 --- a/buildroot-2021.05/fs/common.mk +++ /dev/null @@ -1,227 +0,0 @@ -# -# Macro that builds the needed Makefile target to create a root -# filesystem image. -# -# The following variable must be defined before calling this macro -# -# ROOTFS_$(FSTYPE)_CMD, the command that generates the root -# filesystem image. A single command is allowed. The filename of the -# filesystem image that it must generate is $$@. -# -# The following variables can optionaly be defined -# -# ROOTFS_$(FSTYPE)_DEPENDENCIES, the list of dependencies needed to -# build the root filesystem (usually host tools) -# -# ROOTFS_$(FSTYPE)_PRE_GEN_HOOKS, a list of hooks to call before -# generating the filesystem image -# -# ROOTFS_$(FSTYPE)_POST_GEN_HOOKS, a list of hooks to call after -# generating the filesystem image -# -# In terms of configuration option, this macro assumes that the -# BR2_TARGET_ROOTFS_$(FSTYPE) config option allows to enable/disable -# the generation of a filesystem image of a particular type. If -# the configuration options BR2_TARGET_ROOTFS_$(FSTYPE)_GZIP, -# BR2_TARGET_ROOTFS_$(FSTYPE)_BZIP2 or -# BR2_TARGET_ROOTFS_$(FSTYPE)_LZMA exist and are enabled, then the -# macro will automatically generate a compressed filesystem image. - -FS_DIR = $(BUILD_DIR)/buildroot-fs -ROOTFS_DEVICE_TABLES = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE) \ - $(BR2_ROOTFS_STATIC_DEVICE_TABLE)) - -ROOTFS_USERS_TABLES = $(call qstrip,$(BR2_ROOTFS_USERS_TABLES)) - -ROOTFS_FULL_DEVICES_TABLE = $(FS_DIR)/full_devices_table.txt -ROOTFS_FULL_USERS_TABLE = $(FS_DIR)/full_users_table.txt - -ROOTFS_COMMON_NAME = rootfs-common -ROOTFS_COMMON_TYPE = rootfs -ROOTFS_COMMON_DEPENDENCIES = \ - host-fakeroot host-makedevs \ - $(BR2_TAR_HOST_DEPENDENCY) \ - $(if $(PACKAGES_USERS)$(ROOTFS_USERS_TABLES),host-mkpasswd) - -ifeq ($(BR2_REPRODUCIBLE),y) -define ROOTFS_REPRODUCIBLE - find $(TARGET_DIR) -print0 | xargs -0 -r touch -hd @$(SOURCE_DATE_EPOCH) -endef -endif - -ifeq ($(BR2_PACKAGE_REFPOLICY),y) -define ROOTFS_SELINUX - $(HOST_DIR)/sbin/setfiles -m -r $(TARGET_DIR) \ - -c $(TARGET_DIR)/etc/selinux/targeted/policy/policy.$(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION) \ - $(TARGET_DIR)/etc/selinux/targeted/contexts/files/file_contexts \ - $(TARGET_DIR) -endef -ROOTFS_COMMON_DEPENDENCIES += host-policycoreutils -endif - -ROOTFS_COMMON_FINAL_RECURSIVE_DEPENDENCIES = $(sort \ - $(if $(filter undefined,$(origin ROOTFS_COMMON_FINAL_RECURSIVE_DEPENDENCIES__X)), \ - $(eval ROOTFS_COMMON_FINAL_RECURSIVE_DEPENDENCIES__X := \ - $(foreach p, \ - $(ROOTFS_COMMON_DEPENDENCIES), \ - $(p) \ - $($(call UPPERCASE,$(p))_FINAL_RECURSIVE_DEPENDENCIES) \ - ) \ - ) \ - ) \ - $(ROOTFS_COMMON_FINAL_RECURSIVE_DEPENDENCIES__X)) - -.PHONY: rootfs-common -rootfs-common: $(ROOTFS_COMMON_DEPENDENCIES) target-finalize - @$(call MESSAGE,"Generating root filesystems common tables") - rm -rf $(FS_DIR) - mkdir -p $(FS_DIR) - - $(call PRINTF,$(PACKAGES_USERS)) >> $(ROOTFS_FULL_USERS_TABLE) -ifneq ($(ROOTFS_USERS_TABLES),) - cat $(ROOTFS_USERS_TABLES) >> $(ROOTFS_FULL_USERS_TABLE) -endif - - $(call PRINTF,$(PACKAGES_PERMISSIONS_TABLE)) > $(ROOTFS_FULL_DEVICES_TABLE) -ifneq ($(ROOTFS_DEVICE_TABLES),) - cat $(ROOTFS_DEVICE_TABLES) >> $(ROOTFS_FULL_DEVICES_TABLE) -endif -ifeq ($(BR2_ROOTFS_DEVICE_CREATION_STATIC),y) - $(call PRINTF,$(PACKAGES_DEVICES_TABLE)) >> $(ROOTFS_FULL_DEVICES_TABLE) -endif - -rootfs-common-show-depends: - @echo $(ROOTFS_COMMON_DEPENDENCIES) - -.PHONY: rootfs-common-show-info -rootfs-common-show-info: - @: - $(info $(call clean-json,{ $(call json-info,ROOTFS_COMMON) })) - -# Since this function will be called from within an $(eval ...) -# all variable references except the arguments must be $$-quoted. -define inner-rootfs - -ROOTFS_$(2)_NAME = rootfs-$(1) -ROOTFS_$(2)_TYPE = rootfs -ROOTFS_$(2)_IMAGE_NAME ?= rootfs.$(1) -ROOTFS_$(2)_FINAL_IMAGE_NAME = $$(strip $$(ROOTFS_$(2)_IMAGE_NAME)) -ROOTFS_$(2)_DIR = $$(FS_DIR)/$(1) -ROOTFS_$(2)_TARGET_DIR = $$(ROOTFS_$(2)_DIR)/target - -ROOTFS_$(2)_DEPENDENCIES += rootfs-common - -ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES = $$(sort \ - $$(if $$(filter undefined,$$(origin ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES__X)), \ - $$(eval ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES__X := \ - $$(foreach p, \ - $$(ROOTFS_$(2)_DEPENDENCIES), \ - $$(p) \ - $$($$(call UPPERCASE,$$(p))_FINAL_RECURSIVE_DEPENDENCIES) \ - ) \ - ) \ - ) \ - $$(ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES__X)) - -ifeq ($$(BR2_TARGET_ROOTFS_$(2)_GZIP),y) -ROOTFS_$(2)_COMPRESS_EXT = .gz -ROOTFS_$(2)_COMPRESS_CMD = gzip -9 -c -n -endif -ifeq ($$(BR2_TARGET_ROOTFS_$(2)_BZIP2),y) -ROOTFS_$(2)_COMPRESS_EXT = .bz2 -ROOTFS_$(2)_COMPRESS_CMD = bzip2 -9 -c -endif -ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y) -ROOTFS_$(2)_DEPENDENCIES += host-lzma -ROOTFS_$(2)_COMPRESS_EXT = .lzma -ROOTFS_$(2)_COMPRESS_CMD = $$(LZMA) -9 -c -endif -ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZ4),y) -ROOTFS_$(2)_DEPENDENCIES += host-lz4 -ROOTFS_$(2)_COMPRESS_EXT = .lz4 -ROOTFS_$(2)_COMPRESS_CMD = lz4 -l -9 -c -endif -ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZO),y) -ROOTFS_$(2)_DEPENDENCIES += host-lzop -ROOTFS_$(2)_COMPRESS_EXT = .lzo -ROOTFS_$(2)_COMPRESS_CMD = $$(LZOP) -9 -c -endif -ifeq ($$(BR2_TARGET_ROOTFS_$(2)_XZ),y) -ROOTFS_$(2)_DEPENDENCIES += host-xz -ROOTFS_$(2)_COMPRESS_EXT = .xz -ROOTFS_$(2)_COMPRESS_CMD = xz -9 -C crc32 -c -ifeq ($(BR2_REPRODUCIBLE),) -ROOTFS_$(2)_COMPRESS_CMD += -T $(PARALLEL_JOBS) -endif -endif -ifeq ($(BR2_TARGET_ROOTFS_$(2)_ZSTD),y) -ROOTFS_$(2)_DEPENDENCIES += host-zstd -ROOTFS_$(2)_COMPRESS_EXT = .zst -ROOTFS_$(2)_COMPRESS_CMD = zstd -19 -z -f -T$(PARALLEL_JOBS) -endif - -$$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME): ROOTFS=$(2) -$$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME): FAKEROOT_SCRIPT=$$(ROOTFS_$(2)_DIR)/fakeroot -$$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME): $$(ROOTFS_$(2)_DEPENDENCIES) - @$$(call MESSAGE,"Generating filesystem image $$(ROOTFS_$(2)_FINAL_IMAGE_NAME)") - mkdir -p $$(@D) - rm -rf $$(ROOTFS_$(2)_DIR) - mkdir -p $$(ROOTFS_$(2)_DIR) - rsync -auH \ - --exclude=/$$(notdir $$(TARGET_DIR_WARNING_FILE)) \ - $$(BASE_TARGET_DIR)/ \ - $$(TARGET_DIR) - - echo '#!/bin/sh' > $$(FAKEROOT_SCRIPT) - echo "set -e" >> $$(FAKEROOT_SCRIPT) - - echo "chown -h -R 0:0 $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT) - PATH=$$(BR_PATH) $$(TOPDIR)/support/scripts/mkusers $$(ROOTFS_FULL_USERS_TABLE) $$(TARGET_DIR) >> $$(FAKEROOT_SCRIPT) - echo "$$(HOST_DIR)/bin/makedevs -d $$(ROOTFS_FULL_DEVICES_TABLE) $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT) - $$(foreach hook,$$(ROOTFS_PRE_CMD_HOOKS),\ - $$(call PRINTF,$$($$(hook))) >> $$(FAKEROOT_SCRIPT)$$(sep)) - $$(foreach s,$$(call qstrip,$$(BR2_ROOTFS_POST_FAKEROOT_SCRIPT)),\ - echo "echo '$$(TERM_BOLD)>>> Executing fakeroot script $$(s)$$(TERM_RESET)'" >> $$(FAKEROOT_SCRIPT); \ - echo $$(EXTRA_ENV) $$(s) $$(TARGET_DIR) $$(BR2_ROOTFS_POST_SCRIPT_ARGS) >> $$(FAKEROOT_SCRIPT)$$(sep)) - - $$(foreach hook,$$(ROOTFS_$(2)_PRE_GEN_HOOKS),\ - $$(call PRINTF,$$($$(hook))) >> $$(FAKEROOT_SCRIPT)$$(sep)) - $$(call PRINTF,$$(ROOTFS_REPRODUCIBLE)) >> $$(FAKEROOT_SCRIPT) - $$(call PRINTF,$$(ROOTFS_SELINUX)) >> $$(FAKEROOT_SCRIPT) - $$(call PRINTF,$$(ROOTFS_$(2)_CMD)) >> $$(FAKEROOT_SCRIPT) - chmod a+x $$(FAKEROOT_SCRIPT) - PATH=$$(BR_PATH) FAKEROOTDONTTRYCHOWN=1 $$(HOST_DIR)/bin/fakeroot -- $$(FAKEROOT_SCRIPT) - $(Q)rm -rf $$(TARGET_DIR) -ifneq ($$(ROOTFS_$(2)_COMPRESS_CMD),) - PATH=$$(BR_PATH) $$(ROOTFS_$(2)_COMPRESS_CMD) $$@ > $$@$$(ROOTFS_$(2)_COMPRESS_EXT) -endif - $$(foreach hook,$$(ROOTFS_$(2)_POST_GEN_HOOKS),$$(call $$(hook))$$(sep)) - -rootfs-$(1)-show-depends: - @echo $$(ROOTFS_$(2)_DEPENDENCIES) - -rootfs-$(1)-show-info: - @: - $$(info $$(call clean-json,{ $$(call json-info,ROOTFS_$(2)) })) - -rootfs-$(1): $$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME) - -.PHONY: rootfs-$(1) rootfs-$(1)-show-depends rootfs-$(1)-show-info - -ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y) -TARGETS_ROOTFS += rootfs-$(1) -PACKAGES += $$(filter-out rootfs-%,$$(ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES)) -endif - -# Check for legacy POST_TARGETS rules -ifneq ($$(ROOTFS_$(2)_POST_TARGETS),) -$$(error Filesystem $(1) uses post-target rules, which are no longer supported.\ - Update $(1) to use post-gen hooks instead) -endif - -endef - -# $(pkgname) also works well to return the filesystem name -rootfs = $(call inner-rootfs,$(pkgname),$(call UPPERCASE,$(pkgname))) - -include $(sort $(wildcard fs/*/*.mk)) diff --git a/buildroot-2021.05/fs/erofs/Config.in b/buildroot-2021.05/fs/erofs/Config.in deleted file mode 100644 index d7360ede..00000000 --- a/buildroot-2021.05/fs/erofs/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_TARGET_ROOTFS_EROFS - bool "erofs root filesystem" - select BR2_PACKAGE_HOST_EROFS_UTILS - help - Build a EROFS root filesystem. - -if BR2_TARGET_ROOTFS_EROFS - -config BR2_TARGET_ROOTFS_EROFS_LZ4HC - bool "lz4hc compression" - help - Use lz4 high-compression to compress data in the filesystem. - -endif # BR2_TARGET_ROOTFS_EROFS diff --git a/buildroot-2021.05/fs/erofs/erofs.mk b/buildroot-2021.05/fs/erofs/erofs.mk deleted file mode 100644 index 58559d48..00000000 --- a/buildroot-2021.05/fs/erofs/erofs.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# Build the EROFS root filesystem image -# -################################################################################ - -ROOTFS_EROFS_DEPENDENCIES = host-erofs-utils - -ifeq ($(BR2_TARGET_ROOTFS_EROFS_LZ4HC),y) -ROOTFS_EROFS_ARGS += -zlz4hc -endif - -define ROOTFS_EROFS_CMD - $(HOST_DIR)/bin/mkfs.erofs $(ROOTFS_EROFS_ARGS) $@ $(TARGET_DIR) -endef - -$(eval $(rootfs)) diff --git a/buildroot-2021.05/fs/ext2/ext2.mk b/buildroot-2021.05/fs/ext2/ext2.mk deleted file mode 100644 index 74c99bd7..00000000 --- a/buildroot-2021.05/fs/ext2/ext2.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# Build the ext2 root filesystem image -# -################################################################################ - -EXT2_SIZE = $(call qstrip,$(BR2_TARGET_ROOTFS_EXT2_SIZE)) -ifeq ($(BR2_TARGET_ROOTFS_EXT2)-$(EXT2_SIZE),y-) -$(error BR2_TARGET_ROOTFS_EXT2_SIZE cannot be empty) -endif - -EXT2_MKFS_OPTS = $(call qstrip,$(BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS)) - -# qstrip results in stripping consecutive spaces into a single one. So the -# variable is not qstrip-ed to preserve the integrity of the string value. -EXT2_LABEL = $(subst ",,$(BR2_TARGET_ROOTFS_EXT2_LABEL)) -#" Syntax highlighting... :-/ ) - -EXT2_OPTS = \ - -d $(TARGET_DIR) \ - -r $(BR2_TARGET_ROOTFS_EXT2_REV) \ - -N $(BR2_TARGET_ROOTFS_EXT2_INODES) \ - -m $(BR2_TARGET_ROOTFS_EXT2_RESBLKS) \ - -L "$(EXT2_LABEL)" \ - $(EXT2_MKFS_OPTS) - -ROOTFS_EXT2_DEPENDENCIES = host-e2fsprogs - -define ROOTFS_EXT2_CMD - rm -f $@ - $(HOST_DIR)/sbin/mkfs.ext$(BR2_TARGET_ROOTFS_EXT2_GEN) $(EXT2_OPTS) $@ \ - "$(EXT2_SIZE)" \ - || { ret=$$?; \ - echo "*** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)" 1>&2; \ - exit $$ret; \ - } -endef - -ifneq ($(BR2_TARGET_ROOTFS_EXT2_GEN),2) -define ROOTFS_EXT2_SYMLINK - ln -sf rootfs.ext2$(ROOTFS_EXT2_COMPRESS_EXT) $(BINARIES_DIR)/rootfs.ext$(BR2_TARGET_ROOTFS_EXT2_GEN)$(ROOTFS_EXT2_COMPRESS_EXT) -endef -ROOTFS_EXT2_POST_GEN_HOOKS += ROOTFS_EXT2_SYMLINK -endif - -$(eval $(rootfs)) diff --git a/buildroot-2021.05/fs/iso9660/Config.in b/buildroot-2021.05/fs/iso9660/Config.in deleted file mode 100644 index 6f001c06..00000000 --- a/buildroot-2021.05/fs/iso9660/Config.in +++ /dev/null @@ -1,89 +0,0 @@ -config BR2_TARGET_ROOTFS_ISO9660 - bool "iso image" - depends on (BR2_i386 || BR2_x86_64) - depends on BR2_LINUX_KERNEL - depends on BR2_TARGET_GRUB2_I386_PC || \ - BR2_TARGET_SYSLINUX_ISOLINUX - select BR2_LINUX_KERNEL_INSTALL_TARGET \ - if (!BR2_TARGET_ROOTFS_ISO9660_INITRD && !BR2_TARGET_ROOTFS_INITRAMFS) - help - Build a bootable ISO9660 image. By default, the root - filesystem is directly packed as the ISO9660 filesystem, - which means the root filesystem will be read-only. It - requires ISO9660 filesystem support and CDROM support in the - kernel. - - However, if BR2_TARGET_ROOTFS_INITRAMFS or - BR2_TARGET_ROOTFS_ISO9660_INITRD have been enabled, the - ISO9660 filesystem will only contain a kernel image and - optionally an external initrd image. In this case, the - filesystem being in RAM, it will be read/write. No ISO9660 - or CDROM support is needed in the kernel. - -if BR2_TARGET_ROOTFS_ISO9660 - -choice - prompt "Bootloader" - -config BR2_TARGET_ROOTFS_ISO9660_GRUB2 - bool "grub2" - depends on BR2_TARGET_GRUB2_I386_PC - help - Use Grub 2 as the bootloader for the ISO9660 image. Make - sure to enable the 'iso9660' module in - BR2_TARGET_GRUB2_BUILTIN_MODULES and to use 'cd' as the boot - partition in BR2_TARGET_GRUB2_BOOT_PARTITION=. - -config BR2_TARGET_ROOTFS_ISO9660_ISOLINUX - bool "isolinux" - depends on BR2_TARGET_SYSLINUX_ISOLINUX - -endchoice - -config BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU - string "Boot menu config file" - default "fs/iso9660/grub.cfg" if BR2_TARGET_ROOTFS_ISO9660_GRUB2 - default "fs/iso9660/isolinux.cfg" if BR2_TARGET_ROOTFS_ISO9660_ISOLINUX - help - Use this option to provide a custom bootloader configuration - file (grub.cfg for Grub 2, isolinux.cfg for isolinux). - - Note that the strings __KERNEL_PATH__ and __INITRD_PATH__ - will automatically be replaced by the path to the kernel and - initrd images respectively. - -config BR2_TARGET_ROOTFS_ISO9660_INITRD - bool "Use initrd" - default y - select BR2_TARGET_ROOTFS_CPIO - help - Enable this option to have the root filesystem bundled as an - initrd/initramfs rather than directly as the ISO9660 - filesystem. With this option enabled, the ISO9660 will only - contain a kernel image, an initrd image (unless an initramfs - linked into the kernel is used) and the bootloader. - -config BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION - bool "transparent compression" - depends on !BR2_TARGET_ROOTFS_ISO9660_INITRD - depends on !BR2_TARGET_ROOTFS_INITRAMFS - help - Say 'y' to enable use of transparent (de)compression. Files - are stored compressed and will be decompressed on-the-fly - upon access at runtime. - -config BR2_TARGET_ROOTFS_ISO9660_HYBRID - bool "Build hybrid image" - depends on BR2_TARGET_ROOTFS_ISO9660_ISOLINUX - help - Enable this option to build an hybrid image, i.e an image - which can either be booted from a CD-ROM or from a device - which BIOS considers a hard disk or ZIP disk, e.g. a USB key - or similar. - -endif - -comment "iso image needs a Linux kernel and either grub2 i386-pc or isolinux to be built" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_LINUX_KERNEL || \ - !(BR2_TARGET_GRUB2_I386_PC || BR2_TARGET_SYSLINUX_ISOLINUX) diff --git a/buildroot-2021.05/fs/iso9660/iso9660.mk b/buildroot-2021.05/fs/iso9660/iso9660.mk deleted file mode 100644 index a129655c..00000000 --- a/buildroot-2021.05/fs/iso9660/iso9660.mk +++ /dev/null @@ -1,146 +0,0 @@ -################################################################################ -# -# Build the iso96600 root filesystem image -# -################################################################################ - -# -# We need to handle three cases: -# -# 1. The ISO9660 filesystem will really be the real root filesystem -# itself. This is when BR2_TARGET_ROOTFS_ISO9660_INITRD is -# disabled. -# -# 2. The ISO9660 filesystem will be a filesystem with just a kernel -# image, initrd and grub. This is when -# BR2_TARGET_ROOTFS_ISO9660_INITRD is enabled, but -# BR2_TARGET_ROOTFS_INITRAMFS is disabled. -# -# 3. The ISO9660 filesystem will be a filesystem with just a kernel -# image and grub. This is like (2), except that the initrd is -# built into the kernel image. This is when -# BR2_TARGET_ROOTFS_INITRAMFS is enabled (regardless of the value -# of BR2_TARGET_ROOTFS_ISO9660_INITRD). - -ROOTFS_ISO9660_BOOT_MENU = $(call qstrip,$(BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU)) - -ROOTFS_ISO9660_DEPENDENCIES = host-cdrkit linux - -ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) -ROOTFS_ISO9660_USE_INITRD = YES -endif - -ifeq ($(BR2_TARGET_ROOTFS_ISO9660_INITRD),y) -ROOTFS_ISO9660_USE_INITRD = YES -endif - -ifeq ($(ROOTFS_ISO9660_USE_INITRD),YES) -ROOTFS_ISO9660_TMP_TARGET_DIR = $(FS_DIR)/rootfs.iso9660.tmp -define ROOTFS_ISO9660_CREATE_TEMPDIR - $(RM) -rf $(ROOTFS_ISO9660_TMP_TARGET_DIR) - mkdir -p $(ROOTFS_ISO9660_TMP_TARGET_DIR) -endef -ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_CREATE_TEMPDIR -else ifeq ($(BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION),y) -ROOTFS_ISO9660_DEPENDENCIES += host-zisofs-tools -ROOTFS_ISO9660_TMP_TARGET_DIR = $(FS_DIR)/rootfs.iso9660.tmp -# This must be early, before we copy the bootloader files. -define ROOTFS_ISO9660_MKZFTREE - $(RM) -rf $(ROOTFS_ISO9660_TMP_TARGET_DIR) - $(HOST_DIR)/bin/mkzftree -X -z 9 -p $(PARALLEL_JOBS) \ - $(TARGET_DIR) \ - $(ROOTFS_ISO9660_TMP_TARGET_DIR) -endef -ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_MKZFTREE -ROOTFS_ISO9660_GENISOIMAGE_OPTS += -z -else -ROOTFS_ISO9660_TMP_TARGET_DIR = $(TARGET_DIR) -endif - -ifeq ($(BR2_TARGET_ROOTFS_ISO9660_GRUB2),y) -ROOTFS_ISO9660_DEPENDENCIES += grub2 -ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH = \ - $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/grub/grub.cfg -ROOTFS_ISO9660_BOOT_IMAGE = boot/grub/grub-eltorito.img -define ROOTFS_ISO9660_INSTALL_BOOTLOADER - $(INSTALL) -D -m 0644 $(BINARIES_DIR)/grub-eltorito.img \ - $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/grub/grub-eltorito.img -endef -else ifeq ($(BR2_TARGET_ROOTFS_ISO9660_ISOLINUX),y) -ROOTFS_ISO9660_DEPENDENCIES += syslinux -ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH = \ - $(ROOTFS_ISO9660_TMP_TARGET_DIR)/isolinux/isolinux.cfg -ROOTFS_ISO9660_BOOT_IMAGE = isolinux/isolinux.bin -define ROOTFS_ISO9660_INSTALL_BOOTLOADER - $(INSTALL) -D -m 0644 $(BINARIES_DIR)/syslinux/* \ - $(ROOTFS_ISO9660_TMP_TARGET_DIR)/isolinux/ - $(INSTALL) -D -m 0644 $(HOST_DIR)/share/syslinux/ldlinux.c32 \ - $(ROOTFS_ISO9660_TMP_TARGET_DIR)/isolinux/ldlinux.c32 -endef -endif - -define ROOTFS_ISO9660_PREPARATION - $(INSTALL) -D -m 0644 $(ROOTFS_ISO9660_BOOT_MENU) \ - $(ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH) - $(SED) "s%__KERNEL_PATH__%/boot/$(LINUX_IMAGE_NAME)%" \ - $(ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH) - $(ROOTFS_ISO9660_INSTALL_BOOTLOADER) -endef - -ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_PREPARATION - -define ROOTFS_ISO9660_DISABLE_EXTERNAL_INITRD - $(SED) '/__INITRD_PATH__/d' $(ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH) -endef - -# Copy the kernel to temporary filesystem -define ROOTFS_ISO9660_COPY_KERNEL - $(INSTALL) -D -m 0644 $(LINUX_IMAGE_PATH) \ - $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/$(LINUX_IMAGE_NAME) -endef - -ifeq ($(ROOTFS_ISO9660_USE_INITRD),YES) -ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_COPY_KERNEL - -# If initramfs is used, disable loading the initrd as the rootfs is -# already inside the kernel image. Otherwise, make sure a cpio is -# generated and use it as the initrd. -ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) -ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_DISABLE_EXTERNAL_INITRD -else -ROOTFS_ISO9660_DEPENDENCIES += rootfs-cpio -define ROOTFS_ISO9660_COPY_INITRD - $(INSTALL) -D -m 0644 $(BINARIES_DIR)/rootfs.cpio$(ROOTFS_CPIO_COMPRESS_EXT) \ - $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/initrd - $(SED) "s%__INITRD_PATH__%/boot/initrd%" \ - $(ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH) -endef -ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_COPY_INITRD -endif - -else # ROOTFS_ISO9660_USE_INITRD -ifeq ($(BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION),y) -# We must use the uncompressed kernel image -ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_COPY_KERNEL -endif - -ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_DISABLE_EXTERNAL_INITRD - -endif # ROOTFS_ISO9660_USE_INITRD - -define ROOTFS_ISO9660_CMD - $(HOST_DIR)/bin/genisoimage -J -R -b $(ROOTFS_ISO9660_BOOT_IMAGE) \ - -no-emul-boot -boot-load-size 4 -boot-info-table \ - $(ROOTFS_ISO9660_GENISOIMAGE_OPTS) \ - -o $@ $(ROOTFS_ISO9660_TMP_TARGET_DIR) -endef - -ifeq ($(BR2_TARGET_ROOTFS_ISO9660_HYBRID),y) -define ROOTFS_ISO9660_GEN_HYBRID - $(HOST_DIR)/bin/isohybrid -t 0x96 $@ -endef - -ROOTFS_ISO9660_POST_GEN_HOOKS += ROOTFS_ISO9660_GEN_HYBRID -endif - -$(eval $(rootfs)) diff --git a/buildroot-2021.05/init b/buildroot-2021.05/init deleted file mode 100755 index a05d0244..00000000 --- a/buildroot-2021.05/init +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -cat << EOF - _ _ - | (_) - _ ____ _____ | |_ _ __ _ ___ __ -| '__\ \ / / __| | | | '_ \| | | \ \/ / -| | \ V / (__ | | | | | | |_| |> < -|_| \_/ \___| |_|_|_| |_|\__,_/_/\_\ - - - by _pi_ - -> Setting up mounts... -EOF - -mount -t proc proc /proc -mount -t sysfs sys /sys - -echo "> Starting busybox shell..." -echo -echo "Try running 'qjs pi.js X' to compute X digits of PI!" -echo -exec /bin/sh diff --git a/buildroot-2021.05/linux/Config.in b/buildroot-2021.05/linux/Config.in deleted file mode 100644 index c893c8dc..00000000 --- a/buildroot-2021.05/linux/Config.in +++ /dev/null @@ -1,481 +0,0 @@ -menu "Kernel" - -config BR2_LINUX_KERNEL - bool "Linux Kernel" - select BR2_PACKAGE_HOST_KMOD # Unconditional, even if modules not enabled - select BR2_PACKAGE_HOST_IMAGEMAGICK if BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH != "" - help - Enable this option if you want to build a Linux kernel for - your embedded device - -if BR2_LINUX_KERNEL - -# Packages that need to have a kernel with support for loadable modules, -# but do not use the kernel-modules infrastructure, should select that -# option. -config BR2_LINUX_NEEDS_MODULES - bool - -# -# Version selection. We provide the choice between: -# -# 1. A single fairly recent stable kernel version -# 2. A custom stable version -# 3. A custom tarball -# 4. A set of custom repository locations -# -choice - prompt "Kernel version" - -config BR2_LINUX_KERNEL_LATEST_VERSION - bool "Latest version (5.12)" - -config BR2_LINUX_KERNEL_LATEST_CIP_VERSION - bool "Latest CIP SLTS version (4.19.182-cip45)" - help - CIP launched in the spring of 2016 to address the needs of - organizations in industries such as power generation and - distribution, water, oil and gas, transportation, building - automation and more for reliable and secure Linux-based - embedded systems that can be sustained over a period of - 10 to as many as 60 years. - The project's goal is to provide an open source base layer - of industrial-grade software that permits the use and - implementation of software building blocks that meet - these requirements. - - The CIP community plans to maintain 4.19 for security and - bug fixes for more than 10 years. - - https://www.cip-project.org - -config BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION - bool "Latest CIP RT SLTS version (4.19.165-cip41-rt18)" - help - Same as the CIP version, but this is the PREEMPT_RT realtime - variant. - - The CIP community plans to maintain 4.19 for security and - bug fixes for more than 10 years. - - https://www.cip-project.org - -config BR2_LINUX_KERNEL_CUSTOM_VERSION - bool "Custom version" - help - This option allows to use a specific official version from - kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ... - - Note: you cannot use this option to select a _longterm_ 2.6 - kernel, because these kernels are not located at the standard - URL at kernel.org. Instead, select "Custom tarball" and - specify the right URL directly. - -config BR2_LINUX_KERNEL_CUSTOM_TARBALL - bool "Custom tarball" - help - This option allows to specify a URL pointing to a kernel - source tarball. This URL can use any protocol recognized by - Buildroot, like http://, ftp://, file:// or scp://. - - When pointing to a local tarball using file://, you may want - to use a make variable like $(TOPDIR) to reference the root of - the Buildroot tree. - -config BR2_LINUX_KERNEL_CUSTOM_GIT - bool "Custom Git repository" - help - This option allows Buildroot to get the Linux kernel source - code from a Git repository. - -config BR2_LINUX_KERNEL_CUSTOM_HG - bool "Custom Mercurial repository" - help - This option allows Buildroot to get the Linux kernel source - code from a Mercurial repository. - -config BR2_LINUX_KERNEL_CUSTOM_SVN - bool "Custom Subversion repository" - help - This option allows Buildroot to get the Linux kernel source - code from a Subversion repository. - -endchoice - -config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE - string "Kernel version" - depends on BR2_LINUX_KERNEL_CUSTOM_VERSION - -config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION - string "URL of custom kernel tarball" - depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL - -if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || BR2_LINUX_KERNEL_CUSTOM_SVN - -config BR2_LINUX_KERNEL_CUSTOM_REPO_URL - string "URL of custom repository" - -config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION - string "Custom repository version" - help - Revision to use in the typical format used by - Git/Mercurial/Subversion E.G. a sha id, a tag, branch, .. - -endif - -config BR2_LINUX_KERNEL_VERSION - string - default "5.12.4" if BR2_LINUX_KERNEL_LATEST_VERSION - default "4.19.182-cip45" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION - default "4.19.165-cip41-rt18" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION - default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ - if BR2_LINUX_KERNEL_CUSTOM_VERSION - default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL - default BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION \ - if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || BR2_LINUX_KERNEL_CUSTOM_SVN - -# -# Patch selection -# - -config BR2_LINUX_KERNEL_PATCH - string "Custom kernel patches" - help - A space-separated list of patches to apply to the - kernel. Each patch can be described as an URL, a local file - path, or a directory. In the case of a directory, all files - matching *.patch in the directory will be applied. - -# -# Configuration selection -# - -choice - prompt "Kernel configuration" - default BR2_LINUX_KERNEL_USE_DEFCONFIG - -config BR2_LINUX_KERNEL_USE_DEFCONFIG - bool "Using an in-tree defconfig file" - -config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG - bool "Use the architecture default configuration" - help - This option will use the default configuration for the - selected architecture. I.e, it is equivalent to running - "make ARCH= defconfig". This is useful on architectures - that have a single defconfig file, such as ARM64. - -config BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG - bool "Using a custom (def)config file" - -endchoice - -config BR2_LINUX_KERNEL_DEFCONFIG - string "Defconfig name" - depends on BR2_LINUX_KERNEL_USE_DEFCONFIG - help - Name of the kernel defconfig file to use, without the - trailing _defconfig. The defconfig is located in - arch//configs in the kernel tree. - -config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE - string "Configuration file path" - depends on BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG - help - Path to the kernel configuration file - - Note: this can be a defconfig file or a complete .config file, - which can later be saved back with make - linux-update-(def)config. - -config BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES - string "Additional configuration fragment files" - help - A space-separated list of kernel configuration fragment files, - that will be merged to the main kernel configuration file. - -config BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH - string "Custom boot logo file path" - help - Use a custom Linux framebuffer boot logo. - Custom logo should be in PNG or JPEG format, it will be - converted to the linux kernel format (224 colors only) - and copied over the original logo file. - -# -# Binary format -# - -choice - prompt "Kernel binary format" - default BR2_LINUX_KERNEL_ZIMAGE if BR2_arm || BR2_armeb - -config BR2_LINUX_KERNEL_UIMAGE - bool "uImage" - depends on BR2_arc || BR2_arm || BR2_armeb || \ - BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \ - BR2_sh || BR2_mips || BR2_mipsel || \ - BR2_mips64 || BR2_mips64el || BR2_xtensa - select BR2_PACKAGE_HOST_UBOOT_TOOLS - -config BR2_LINUX_KERNEL_APPENDED_UIMAGE - bool "uImage with appended DT" - depends on BR2_arm || BR2_armeb - select BR2_LINUX_KERNEL_DTS_SUPPORT - select BR2_LINUX_KERNEL_APPENDED_DTB - select BR2_PACKAGE_HOST_UBOOT_TOOLS - -config BR2_LINUX_KERNEL_BZIMAGE - bool "bzImage" - depends on BR2_i386 || BR2_x86_64 || BR2_s390x - -config BR2_LINUX_KERNEL_ZIMAGE - bool "zImage" - depends on BR2_arm || BR2_armeb || BR2_powerpc || \ - BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \ - BR2_sh || BR2_xtensa - -config BR2_LINUX_KERNEL_ZIMAGE_EPAPR - bool "zImage.epapr" - depends on BR2_powerpc64 || BR2_powerpc64le - -config BR2_LINUX_KERNEL_APPENDED_ZIMAGE - bool "zImage with appended DT" - depends on BR2_arm || BR2_armeb - select BR2_LINUX_KERNEL_DTS_SUPPORT - select BR2_LINUX_KERNEL_APPENDED_DTB - -config BR2_LINUX_KERNEL_CUIMAGE - bool "cuImage" - depends on BR2_powerpc - select BR2_PACKAGE_HOST_UBOOT_TOOLS - select BR2_LINUX_KERNEL_DTS_SUPPORT - select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT - -config BR2_LINUX_KERNEL_SIMPLEIMAGE - bool "simpleImage" - depends on BR2_microblaze - select BR2_PACKAGE_HOST_UBOOT_TOOLS - select BR2_LINUX_KERNEL_DTS_SUPPORT - select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT - -config BR2_LINUX_KERNEL_IMAGE - bool "Image" - depends on BR2_aarch64 || BR2_riscv - -config BR2_LINUX_KERNEL_IMAGEGZ - bool "Image.gz" - depends on BR2_aarch64 || BR2_riscv - -config BR2_LINUX_KERNEL_LINUX_BIN - bool "linux.bin" - depends on BR2_microblaze - select BR2_PACKAGE_HOST_UBOOT_TOOLS - -config BR2_LINUX_KERNEL_VMLINUX_BIN - bool "vmlinux.bin" - depends on BR2_mips || BR2_mipsel || BR2_sh - -config BR2_LINUX_KERNEL_VMLINUX - bool "vmlinux" - -config BR2_LINUX_KERNEL_VMLINUZ - bool "vmlinuz" - depends on BR2_mips || BR2_mipsel - -config BR2_LINUX_KERNEL_VMLINUZ_BIN - bool "vmlinuz.bin" - depends on BR2_mips || BR2_mipsel - -config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM - bool "custom target" - help - For certain cases a board-specific target image must be - used. For example, on powerPC where the OpenFirmware - description is attached in a board-specific kernel image - target like 'cuImage.mpc8379_rdb'. - - Select this option and specify the make target in "Kernel - image target name". - -endchoice - -# -# Kernel compression format -# - -choice - prompt "Kernel compression format" - help - This selection will just ensure that the correct host tools - are built. The actual compression for the kernel should be - selected in the kernel configuration menu. - -config BR2_LINUX_KERNEL_GZIP - bool "gzip compression" - -config BR2_LINUX_KERNEL_LZ4 - bool "lz4 compression" - -config BR2_LINUX_KERNEL_LZMA - bool "lzma compression" - -config BR2_LINUX_KERNEL_LZO - bool "lzo compression" - -config BR2_LINUX_KERNEL_XZ - bool "xz compression" - -config BR2_LINUX_KERNEL_ZSTD - bool "zstd compression" - -config BR2_LINUX_KERNEL_UNCOMPRESSED - bool "uncompressed" - depends on BR2_s390x - -endchoice - -config BR2_LINUX_KERNEL_IMAGE_TARGET_NAME - string "Kernel image target name" - depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM - help - Specify the kernel make target to build the kernel that you - need. - -config BR2_LINUX_KERNEL_IMAGE_NAME - string "Kernel image name" - depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM - help - The filename of the kernel image, if it is different from - the make target (above). Defaults to - BR2_LINUX_KERNEL_IMAGE_TARGET_NAME. If specified, the - filename is relative to arch/ARCH/boot/. - - If unsure, leave it empty. - -config BR2_LINUX_KERNEL_UIMAGE_LOADADDR - string "load address (for 3.7+ multi-platform image)" - depends on BR2_arm || BR2_armeb - depends on BR2_LINUX_KERNEL_UIMAGE || BR2_LINUX_KERNEL_APPENDED_UIMAGE - help - If your ARM system's Linux kernel is configured with the new - (3.7+) multi-architecture support (CONFIG_ARCH_MULTIPLATFORM=y - in your kernel config), then it is necessary to specify a - kernel load address when building the uImage. This should be a - hexadecimal string beginning with 0x, for example: 0x00008000. - - If unsure, let this option empty. - -config BR2_LINUX_KERNEL_DTS_SUPPORT - bool "Build a Device Tree Blob (DTB)" - help - Compile one or more device tree sources into device tree - blobs. - Select the dts files to compile in the options below. - -if BR2_LINUX_KERNEL_DTS_SUPPORT - -# We have mainly three cases when it comes to device tree support: -# 1) We don't want any support at all. Then the ..DTS_SUPPORT -# variable won't be set -# 2) We want device tree support, so we need the user to enter the -# device tree name or the path to the custom device he uses, but -# the kernel abstracts this from us and only build an image that -# looks like a regular kernel image. In this case, we only need -# to derive the kernel image name from the given device tree -# name, and all the rest is as usual -# 3) We want device tree support, but the kernel requires us to -# build the device tree blob separately. In this case, some -# more logic will be needed. -# The variable below address the second case, were you only want -# limited actions from buildroot. -config BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT - bool "DTB is built by kernel itself" - help - Normally, the device tree(s) to be built have to be passed - explicitly to the kernel build system. For some binary - formats, however, the kernel build system links in the - device tree directly in the kernel binary. Select this option - if you have such a kernel binary format. - -config BR2_LINUX_KERNEL_APPENDED_DTB - bool - -config BR2_LINUX_KERNEL_INTREE_DTS_NAME - string "In-tree Device Tree Source file names" - help - Name of in-tree device tree source file, without - the trailing .dts. You can provide a list of - dts files to build, separated by spaces. - -config BR2_LINUX_KERNEL_CUSTOM_DTS_PATH - string "Out-of-tree Device Tree Source file paths" - help - Path to to out-of-tree device tree source files. - You can provide a list of dts paths to copy and - build, separated by spaces. - -config BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME - bool "Keep the directory name of the Device Tree" - help - If enabled, the device tree blobs keep their - directory prefixes when they get copied to the - output image directory or the target directory. - -config BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT - bool "Build Device Tree with overlay support" - help - If enabled, pass the "-@" option to dtc, such that - symbols are generated in the compiled Device Tree. - Choose this option to support Device Tree overlays - on the target system. - -endif - -config BR2_LINUX_KERNEL_INSTALL_TARGET - bool "Install kernel image to /boot in target" - depends on !BR2_TARGET_ROOTFS_INITRAMFS - help - Select this option to have the kernel image installed to - /boot in the target root filesystem, as is typically done on - x86/x86_64 systems. - - Note that this option also installs the Device Tree Blobs to - /boot if DTBs have been generated by the kernel build - process. - -config BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL - bool "Needs host OpenSSL" - help - Some Linux kernel configuration options (such as - CONFIG_SYSTEM_TRUSTED_KEYRING) require building a host - program called extract-cert, which itself needs - OpenSSL. Enabling this option will ensure host-openssl gets - built before the Linux kernel. - - Enable this option if you get a Linux kernel build failure - such as "scripts/extract-cert.c:21:25: fatal error: - openssl/bio.h: No such file or directory". - -config BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF - bool "Needs host libelf" - help - Some Linux kernel configuration options (such as - CONFIG_UNWINDER_ORC) require building a host program that - needs libelf. Enabling this option will ensure host-elfutils - (which provides libelf) gets built before the Linux kernel. - - Enable this option if you get a Linux kernel build failure - such as "Cannot generate ORC metadata for - CONFIG_UNWINDER_ORC=y, please install libelf-dev, - libelf-devel or elfutils-libelf-devel". - -# Linux extensions -source "linux/Config.ext.in" - -# Linux tools -source "package/linux-tools/Config.in" - -endif # BR2_LINUX_KERNEL - -endmenu diff --git a/buildroot-2021.05/linux/linux.hash b/buildroot-2021.05/linux/linux.hash deleted file mode 100644 index 6a103e31..00000000 --- a/buildroot-2021.05/linux/linux.hash +++ /dev/null @@ -1,18 +0,0 @@ -# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc -sha256 5a60feee8492732a6aa8c46b9412563959945b4d7b0d27223f15ede2f84b6873 linux-5.12.4.tar.xz -sha256 366ba5bb00be28b604aac630c4f64301063892f27353b299177c396af0ad877f linux-5.11.21.tar.xz -sha256 a8d5e3309dafc484eb70f94747a6efffa29a79bae651ae126333e913c00be077 linux-5.10.37.tar.xz -sha256 71e7decf1e8149a8aed88d30df4f2a62a6c6b168111de6b261685ac7c0ecb2a0 linux-5.4.119.tar.xz -# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc -sha256 6817ad26e1621bfad48d08b638f66c5933e89c7c8c00d43195b2e0ae260233eb linux-4.4.268.tar.xz -sha256 5b66f6ce0137fb8d81004bcf2f1e3cbe01c38aab74268656c4ba015c1ccd762a linux-4.9.268.tar.xz -sha256 1dc19361f6970bc94cc62be066702483db9cbd3d63f3089a8c90dabfced74369 linux-4.14.232.tar.xz -sha256 6f9c2aee8553129d2bdbab646bbf7e88c2a5c38c0b1450f2e728831681bfc85d linux-4.19.190.tar.xz -# Locally computed -sha256 9f1de83c5c2bb582a33bd4ee892d45671901cd06af9dc159f0f499f1b5265b20 linux-cip-4.19.182-cip45.tar.gz -sha256 0eeba6d6ecc45cf8f16458842b64d22e7064b9de9c31c11d1c395b08a47e3855 linux-cip-4.19.165-cip41-rt18.tar.gz - -# Licenses hashes -sha256 fb5a425bd3b3cd6071a3a9aff9909a859e7c1158d54d32e07658398cd67eb6a0 COPYING -sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/preferred/GPL-2.0 -sha256 8e378ab93586eb55135d3bc119cce787f7324f48394777d00c34fa3d0be3303f LICENSES/exceptions/Linux-syscall-note diff --git a/buildroot-2021.05/linux/linux.mk b/buildroot-2021.05/linux/linux.mk deleted file mode 100644 index 66c199e9..00000000 --- a/buildroot-2021.05/linux/linux.mk +++ /dev/null @@ -1,594 +0,0 @@ -################################################################################ -# -# Linux kernel target -# -################################################################################ - -LINUX_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION)) -LINUX_LICENSE = GPL-2.0 -ifeq ($(BR2_LINUX_KERNEL_LATEST_VERSION),y) -LINUX_LICENSE_FILES = \ - COPYING \ - LICENSES/preferred/GPL-2.0 \ - LICENSES/exceptions/Linux-syscall-note -endif -LINUX_CPE_ID_VENDOR = linux -LINUX_CPE_ID_PRODUCT = linux_kernel -LINUX_CPE_ID_PREFIX = cpe:2.3:o - -define LINUX_HELP_CMDS - @echo ' linux-menuconfig - Run Linux kernel menuconfig' - @echo ' linux-savedefconfig - Run Linux kernel savedefconfig' - @echo ' linux-update-defconfig - Save the Linux configuration to the path specified' - @echo ' by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE' -endef - -# Compute LINUX_SOURCE and LINUX_SITE from the configuration -ifeq ($(BR2_LINUX_KERNEL_CUSTOM_TARBALL),y) -LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION)) -LINUX_SITE = $(patsubst %/,%,$(dir $(LINUX_TARBALL))) -LINUX_SOURCE = $(notdir $(LINUX_TARBALL)) -else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y) -LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) -LINUX_SITE_METHOD = git -else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_HG),y) -LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) -LINUX_SITE_METHOD = hg -else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y) -LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) -LINUX_SITE_METHOD = svn -else ifeq ($(BR2_LINUX_KERNEL_LATEST_CIP_VERSION)$(BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION),y) -LINUX_SOURCE = linux-cip-$(LINUX_VERSION).tar.gz -LINUX_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot -else ifneq ($(findstring -rc,$(LINUX_VERSION)),) -# Since 4.12-rc1, -rc kernels are generated from cgit. This also works for -# older -rc kernels. -LINUX_SITE = https://git.kernel.org/torvalds/t -else -LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz -ifeq ($(findstring x2.6.,x$(LINUX_VERSION)),x2.6.) -LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6 -else -LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v$(firstword $(subst ., ,$(LINUX_VERSION))).x -endif -endif - -ifeq ($(BR2_LINUX_KERNEL)$(BR2_LINUX_KERNEL_LATEST_VERSION),y) -BR_NO_CHECK_HASH_FOR += $(LINUX_SOURCE) -endif - -LINUX_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH)) - -# We have no way to know the hashes for user-supplied patches. -BR_NO_CHECK_HASH_FOR += $(notdir $(LINUX_PATCHES)) - -# We rely on the generic package infrastructure to download and apply -# remote patches (downloaded from ftp, http or https). For local -# patches, we can't rely on that infrastructure, because there might -# be directories in the patch list (unlike for other packages). -LINUX_PATCH = $(filter ftp://% http://% https://%,$(LINUX_PATCHES)) - -# while the kernel is built for the target, the build may need various -# host libraries depending on config (and version), so use -# HOST_MAKE_ENV here. In particular, this ensures that our -# host-pkgconf will look for host libraries and not target ones. -LINUX_MAKE_ENV = \ - $(HOST_MAKE_ENV) \ - BR_BINARIES_DIR=$(BINARIES_DIR) - -LINUX_INSTALL_IMAGES = YES -LINUX_DEPENDENCIES = host-kmod \ - $(if $(BR2_PACKAGE_INTEL_MICROCODE),intel-microcode) \ - $(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) - -# Starting with 4.16, the generated kconfig paser code is no longer -# shipped with the kernel sources, so we need flex and bison, but -# only if the host does not have them. -LINUX_KCONFIG_DEPENDENCIES = \ - $(BR2_BISON_HOST_DEPENDENCY) \ - $(BR2_FLEX_HOST_DEPENDENCY) - -# Starting with 4.18, the kconfig in the kernel calls the -# cross-compiler to check its capabilities. So we need the -# toolchain before we can call the configurators. -LINUX_KCONFIG_DEPENDENCIES += toolchain - -# host tools needed for kernel compression -ifeq ($(BR2_LINUX_KERNEL_LZ4),y) -LINUX_DEPENDENCIES += host-lz4 -else ifeq ($(BR2_LINUX_KERNEL_LZMA),y) -LINUX_DEPENDENCIES += host-lzma -else ifeq ($(BR2_LINUX_KERNEL_LZO),y) -LINUX_DEPENDENCIES += host-lzop -else ifeq ($(BR2_LINUX_KERNEL_XZ),y) -LINUX_DEPENDENCIES += host-xz -else ifeq ($(BR2_LINUX_KERNEL_ZSTD),y) -LINUX_DEPENDENCIES += host-zstd -endif -LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_GZIP) += CONFIG_KERNEL_GZIP -LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZ4) += CONFIG_KERNEL_LZ4 -LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZMA) += CONFIG_KERNEL_LZMA -LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZO) += CONFIG_KERNEL_LZO -LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_XZ) += CONFIG_KERNEL_XZ -LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_ZSTD) += CONFIG_KERNEL_ZSTD -LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_UNCOMPRESSED) += CONFIG_KERNEL_UNCOMPRESSED - -ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL),y) -LINUX_DEPENDENCIES += host-openssl -endif - -ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF),y) -LINUX_DEPENDENCIES += host-elfutils host-pkgconf -endif - -# If host-uboot-tools is selected by the user, assume it is needed to -# create a custom image -ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS),y) -LINUX_DEPENDENCIES += host-uboot-tools -endif - -ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) -define LINUX_XTENSA_OVERLAY_EXTRACT - $(call arch-xtensa-overlay-extract,$(@D),linux) -endef -LINUX_POST_EXTRACT_HOOKS += LINUX_XTENSA_OVERLAY_EXTRACT -LINUX_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) -endif - -# We don't want to run depmod after installing the kernel. It's done in a -# target-finalize hook, to encompass modules installed by packages. -LINUX_MAKE_FLAGS = \ - HOSTCC="$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS)" \ - ARCH=$(KERNEL_ARCH) \ - INSTALL_MOD_PATH=$(TARGET_DIR) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - DEPMOD=$(HOST_DIR)/sbin/depmod - -ifeq ($(BR2_REPRODUCIBLE),y) -LINUX_MAKE_ENV += \ - KBUILD_BUILD_VERSION=1 \ - KBUILD_BUILD_USER=buildroot \ - KBUILD_BUILD_HOST=buildroot \ - KBUILD_BUILD_TIMESTAMP="$(shell LC_ALL=C date -d @$(SOURCE_DATE_EPOCH))" -endif - -# gcc-8 started warning about function aliases that have a -# non-matching prototype. This seems rather useful in general, but it -# causes tons of warnings in the Linux kernel, where we rely on -# abusing those aliases for system call entry points, in order to -# sanitize the arguments passed from user space in registers. -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435 -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y) -LINUX_MAKE_ENV += KCFLAGS=-Wno-attribute-alias -endif - -ifeq ($(BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT),y) -LINUX_MAKE_ENV += DTC_FLAGS=-@ -endif - -# Get the real Linux version, which tells us where kernel modules are -# going to be installed in the target filesystem. -# Filter out 'w' from MAKEFLAGS, to workaround a bug in make 4.1 (#13141) -LINUX_VERSION_PROBED = `MAKEFLAGS='$(filter-out w,$(MAKEFLAGS))' $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelrelease 2>/dev/null` - -LINUX_DTS_NAME += $(call qstrip,$(BR2_LINUX_KERNEL_INTREE_DTS_NAME)) - -# We keep only the .dts files, so that the user can specify both .dts -# and .dtsi files in BR2_LINUX_KERNEL_CUSTOM_DTS_PATH. Both will be -# copied to arch//boot/dts, but only the .dts files will -# actually be generated as .dtb. -LINUX_DTS_NAME += $(basename $(filter %.dts,$(notdir $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_PATH))))) - -LINUX_DTBS = $(addsuffix .dtb,$(LINUX_DTS_NAME)) - -ifeq ($(BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM),y) -LINUX_IMAGE_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_NAME)) -LINUX_TARGET_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_TARGET_NAME)) -ifeq ($(LINUX_IMAGE_NAME),) -LINUX_IMAGE_NAME = $(LINUX_TARGET_NAME) -endif -else -ifeq ($(BR2_LINUX_KERNEL_UIMAGE),y) -LINUX_IMAGE_NAME = uImage -else ifeq ($(BR2_LINUX_KERNEL_APPENDED_UIMAGE),y) -LINUX_IMAGE_NAME = uImage -else ifeq ($(BR2_LINUX_KERNEL_BZIMAGE),y) -LINUX_IMAGE_NAME = bzImage -else ifeq ($(BR2_LINUX_KERNEL_ZIMAGE),y) -LINUX_IMAGE_NAME = zImage -else ifeq ($(BR2_LINUX_KERNEL_ZIMAGE_EPAPR),y) -LINUX_IMAGE_NAME = zImage.epapr -else ifeq ($(BR2_LINUX_KERNEL_APPENDED_ZIMAGE),y) -LINUX_IMAGE_NAME = zImage -else ifeq ($(BR2_LINUX_KERNEL_CUIMAGE),y) -LINUX_IMAGE_NAME = cuImage.$(firstword $(LINUX_DTS_NAME)) -else ifeq ($(BR2_LINUX_KERNEL_SIMPLEIMAGE),y) -LINUX_IMAGE_NAME = simpleImage.$(firstword $(LINUX_DTS_NAME)) -else ifeq ($(BR2_LINUX_KERNEL_IMAGE),y) -LINUX_IMAGE_NAME = Image -else ifeq ($(BR2_LINUX_KERNEL_IMAGEGZ),y) -LINUX_IMAGE_NAME = Image.gz -else ifeq ($(BR2_LINUX_KERNEL_LINUX_BIN),y) -LINUX_IMAGE_NAME = linux.bin -else ifeq ($(BR2_LINUX_KERNEL_VMLINUX_BIN),y) -LINUX_IMAGE_NAME = vmlinux.bin -else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y) -LINUX_IMAGE_NAME = vmlinux -else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y) -LINUX_IMAGE_NAME = vmlinuz -else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y) -LINUX_IMAGE_NAME = vmlinuz.bin -endif -# The if-else blocks above are all the image types we know of, and all -# come from a Kconfig choice, so we know we have LINUX_IMAGE_NAME set -# to something -LINUX_TARGET_NAME = $(LINUX_IMAGE_NAME) -endif - -LINUX_KERNEL_UIMAGE_LOADADDR = $(call qstrip,$(BR2_LINUX_KERNEL_UIMAGE_LOADADDR)) -ifneq ($(LINUX_KERNEL_UIMAGE_LOADADDR),) -LINUX_MAKE_FLAGS += LOADADDR="$(LINUX_KERNEL_UIMAGE_LOADADDR)" -endif - -# Compute the arch path, since i386 and x86_64 are in arch/x86 and not -# in arch/$(KERNEL_ARCH). Even if the kernel creates symbolic links -# for bzImage, arch/i386 and arch/x86_64 do not exist when copying the -# defconfig file. -ifeq ($(KERNEL_ARCH),i386) -LINUX_ARCH_PATH = $(LINUX_DIR)/arch/x86 -else ifeq ($(KERNEL_ARCH),x86_64) -LINUX_ARCH_PATH = $(LINUX_DIR)/arch/x86 -else -LINUX_ARCH_PATH = $(LINUX_DIR)/arch/$(KERNEL_ARCH) -endif - -ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y) -LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME) -else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y) -LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME) -else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y) -LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME) -else -LINUX_IMAGE_PATH = $(LINUX_ARCH_PATH)/boot/$(LINUX_IMAGE_NAME) -endif # BR2_LINUX_KERNEL_VMLINUX - -define LINUX_APPLY_LOCAL_PATCHES - for p in $(filter-out ftp://% http://% https://%,$(LINUX_PATCHES)) ; do \ - if test -d $$p ; then \ - $(APPLY_PATCHES) $(@D) $$p \*.patch || exit 1 ; \ - else \ - $(APPLY_PATCHES) $(@D) `dirname $$p` `basename $$p` || exit 1; \ - fi \ - done -endef - -LINUX_POST_PATCH_HOOKS += LINUX_APPLY_LOCAL_PATCHES - -# Older linux kernels use deprecated perl constructs in timeconst.pl -# that were removed for perl 5.22+ so it breaks on newer distributions -# Try a dry-run patch to see if this applies, if it does go ahead -define LINUX_TRY_PATCH_TIMECONST - @if patch -p1 --dry-run -f -s -d $(@D) <$(LINUX_PKGDIR)/0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional >/dev/null ; then \ - $(APPLY_PATCHES) $(@D) $(LINUX_PKGDIR) 0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional ; \ - fi -endef -LINUX_POST_PATCH_HOOKS += LINUX_TRY_PATCH_TIMECONST - -LINUX_KERNEL_CUSTOM_LOGO_PATH = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH)) -ifneq ($(LINUX_KERNEL_CUSTOM_LOGO_PATH),) -LINUX_DEPENDENCIES += host-imagemagick -define LINUX_KERNEL_CUSTOM_LOGO_CONVERT - $(HOST_DIR)/bin/convert $(LINUX_KERNEL_CUSTOM_LOGO_PATH) \ - -dither None -colors 224 -compress none \ - $(LINUX_DIR)/drivers/video/logo/logo_linux_clut224.ppm -endef -LINUX_PRE_BUILD_HOOKS += LINUX_KERNEL_CUSTOM_LOGO_CONVERT -endif - -ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) -LINUX_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig -else ifeq ($(BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG),y) -LINUX_KCONFIG_DEFCONFIG = defconfig -else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) -LINUX_KCONFIG_FILE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)) -endif -LINUX_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES)) -LINUX_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig - -# LINUX_MAKE_FLAGS overrides HOSTCC to allow the kernel build to find -# our host-openssl and host-libelf. However, this triggers a bug in -# the kconfig build script that causes it to build with -# /usr/include/ncurses.h (which is typically wchar) but link with -# $(HOST_DIR)/lib/libncurses.so (which is not). We don't actually -# need any host-package for kconfig, so remove the HOSTCC override -# again. In addition, even though linux depends on the toolchain and -# therefore host-ccache would be ready, we use HOSTCC_NOCCACHE for -# consistency with other kconfig packages. -LINUX_KCONFIG_OPTS = $(LINUX_MAKE_FLAGS) HOSTCC="$(HOSTCC_NOCCACHE)" - -# If no package has yet set it, set it from the Kconfig option -LINUX_NEEDS_MODULES ?= $(BR2_LINUX_NEEDS_MODULES) - -# Make sure the Linux kernel is built with the right endianness. Not -# all architectures support -# CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN in Linux, but the -# option will be thrown away and ignored if it doesn't exist. -ifeq ($(BR2_ENDIAN),"BIG") -define LINUX_FIXUP_CONFIG_ENDIANNESS - $(call KCONFIG_ENABLE_OPT,CONFIG_CPU_BIG_ENDIAN) -endef -else -define LINUX_FIXUP_CONFIG_ENDIANNESS - $(call KCONFIG_ENABLE_OPT,CONFIG_CPU_LITTLE_ENDIAN) -endef -endif - -define LINUX_KCONFIG_FIXUP_CMDS - $(if $(LINUX_NEEDS_MODULES), - $(call KCONFIG_ENABLE_OPT,CONFIG_MODULES)) - $(call KCONFIG_ENABLE_OPT,$(strip $(LINUX_COMPRESSION_OPT_y))) - $(foreach opt, $(LINUX_COMPRESSION_OPT_), - $(call KCONFIG_DISABLE_OPT,$(opt)) - ) - $(LINUX_FIXUP_CONFIG_ENDIANNESS) - $(if $(BR2_arm)$(BR2_armeb), - $(call KCONFIG_ENABLE_OPT,CONFIG_AEABI)) - $(if $(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le), - $(call KCONFIG_ENABLE_OPT,CONFIG_PPC_DISABLE_WERROR)) - $(if $(BR2_ARC_PAGE_SIZE_4K), - $(call KCONFIG_ENABLE_OPT,CONFIG_ARC_PAGE_SIZE_4K) - $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_8K) - $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_16K)) - $(if $(BR2_ARC_PAGE_SIZE_8K), - $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_4K) - $(call KCONFIG_ENABLE_OPT,CONFIG_ARC_PAGE_SIZE_8K) - $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_16K)) - $(if $(BR2_ARC_PAGE_SIZE_16K), - $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_4K) - $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_8K) - $(call KCONFIG_ENABLE_OPT,CONFIG_ARC_PAGE_SIZE_16K)) - $(if $(BR2_TARGET_ROOTFS_CPIO), - $(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_INITRD)) - # As the kernel gets compiled before root filesystems are - # built, we create a fake cpio file. It'll be - # replaced later by the real cpio archive, and the kernel will be - # rebuilt using the linux-rebuild-with-initramfs target. - $(if $(BR2_TARGET_ROOTFS_INITRAMFS), - mkdir -p $(BINARIES_DIR) - touch $(BINARIES_DIR)/rootfs.cpio - $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,"$${BR_BINARIES_DIR}/rootfs.cpio") - $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_UID,0) - $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_GID,0)) - $(if $(BR2_ROOTFS_DEVICE_CREATION_STATIC),, - $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS) - $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT)) - $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV), - $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER)) - $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV), - $(call KCONFIG_ENABLE_OPT,CONFIG_NET)) - $(if $(BR2_LINUX_KERNEL_APPENDED_DTB), - $(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB)) - $(if $(LINUX_KERNEL_CUSTOM_LOGO_PATH), - $(call KCONFIG_ENABLE_OPT,CONFIG_FB) - $(call KCONFIG_ENABLE_OPT,CONFIG_LOGO) - $(call KCONFIG_ENABLE_OPT,CONFIG_LOGO_LINUX_CLUT224)) - $(call KCONFIG_DISABLE_OPT,CONFIG_GCC_PLUGINS) - $(PACKAGES_LINUX_CONFIG_FIXUPS) -endef - -ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT),y) -# Starting with 4.17, the generated dtc parser code is no longer -# shipped with the kernel sources, so we need flex and bison. For -# reproducibility, we use our owns rather than the host ones. -LINUX_DEPENDENCIES += host-bison host-flex - -ifeq ($(BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT),) -define LINUX_BUILD_DTB - $(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_DTBS) -endef -ifeq ($(BR2_LINUX_KERNEL_APPENDED_DTB),) -define LINUX_INSTALL_DTB - # dtbs moved from arch//boot to arch//boot/dts since 3.8-rc1 - $(foreach dtb,$(LINUX_DTBS), \ - install -D \ - $(or $(wildcard $(LINUX_ARCH_PATH)/boot/dts/$(dtb)),$(LINUX_ARCH_PATH)/boot/$(dtb)) \ - $(1)/$(if $(BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME),$(dtb),$(notdir $(dtb))) - ) -endef -endif # BR2_LINUX_KERNEL_APPENDED_DTB -endif # BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT -endif # BR2_LINUX_KERNEL_DTS_SUPPORT - -ifeq ($(BR2_LINUX_KERNEL_APPENDED_DTB),y) -# dtbs moved from arch/$ARCH/boot to arch/$ARCH/boot/dts since 3.8-rc1 -define LINUX_APPEND_DTB - (cd $(LINUX_ARCH_PATH)/boot; \ - for dtb in $(LINUX_DTS_NAME); do \ - if test -e $${dtb}.dtb ; then \ - dtbpath=$${dtb}.dtb ; \ - else \ - dtbpath=dts/$${dtb}.dtb ; \ - fi ; \ - cat zImage $${dtbpath} > zImage.$${dtb} || exit 1; \ - done) -endef -ifeq ($(BR2_LINUX_KERNEL_APPENDED_UIMAGE),y) -# We need to generate a new u-boot image that takes into -# account the extra-size added by the device tree at the end -# of the image. To do so, we first need to retrieve both load -# address and entry point for the kernel from the already -# generate uboot image before using mkimage -l. -LINUX_APPEND_DTB += ; \ - MKIMAGE_ARGS=`$(MKIMAGE) -l $(LINUX_IMAGE_PATH) |\ - sed -n -e 's/Image Name:[ ]*\(.*\)/-n \1/p' -e 's/Load Address:/-a/p' -e 's/Entry Point:/-e/p'`; \ - for dtb in $(LINUX_DTS_NAME); do \ - $(MKIMAGE) -A $(MKIMAGE_ARCH) -O linux \ - -T kernel -C none $${MKIMAGE_ARGS} \ - -d $(LINUX_ARCH_PATH)/boot/zImage.$${dtb} $(LINUX_IMAGE_PATH).$${dtb}; \ - done -endif -endif - -# Compilation. We make sure the kernel gets rebuilt when the -# configuration has changed. We call the 'all' and -# '$(LINUX_TARGET_NAME)' targets separately because calling them in -# the same $(MAKE) invocation has shown to cause parallel build -# issues. -# The call to disable gcc-plugins is a stop-gap measure: -# http://lists.busybox.net/pipermail/buildroot/2020-May/282727.html -define LINUX_BUILD_CMDS - $(call KCONFIG_DISABLE_OPT,CONFIG_GCC_PLUGINS) - $(foreach dts,$(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_PATH)), \ - cp -f $(dts) $(LINUX_ARCH_PATH)/boot/dts/ - ) - $(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) all - $(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME) - $(LINUX_BUILD_DTB) - $(LINUX_APPEND_DTB) -endef - -ifeq ($(BR2_LINUX_KERNEL_APPENDED_DTB),y) -# When a DTB was appended, install the potential several images with -# appended DTBs. -define LINUX_INSTALL_IMAGE - mkdir -p $(1) - cp $(LINUX_ARCH_PATH)/boot/$(LINUX_IMAGE_NAME).* $(1) -endef -else -# Otherwise, just install the unique image generated by the kernel -# build process. -define LINUX_INSTALL_IMAGE - $(INSTALL) -m 0644 -D $(LINUX_IMAGE_PATH) $(1)/$(notdir $(LINUX_IMAGE_NAME)) -endef -endif - -ifeq ($(BR2_LINUX_KERNEL_INSTALL_TARGET),y) -define LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET - $(call LINUX_INSTALL_IMAGE,$(TARGET_DIR)/boot) - $(call LINUX_INSTALL_DTB,$(TARGET_DIR)/boot) -endef -endif - -define LINUX_INSTALL_HOST_TOOLS - # Installing dtc (device tree compiler) as host tool, if selected - if grep -q "CONFIG_DTC=y" $(@D)/.config; then \ - $(INSTALL) -D -m 0755 $(@D)/scripts/dtc/dtc $(HOST_DIR)/bin/linux-dtc ; \ - $(if $(BR2_PACKAGE_HOST_DTC),,ln -sf linux-dtc $(HOST_DIR)/bin/dtc;) \ - fi -endef - -define LINUX_INSTALL_IMAGES_CMDS - $(call LINUX_INSTALL_IMAGE,$(BINARIES_DIR)) - $(call LINUX_INSTALL_DTB,$(BINARIES_DIR)) -endef - -ifeq ($(BR2_STRIP_strip),y) -LINUX_MAKE_FLAGS += INSTALL_MOD_STRIP=1 -endif - -define LINUX_INSTALL_TARGET_CMDS - $(LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET) - # Install modules and remove symbolic links pointing to build - # directories, not relevant on the target - @if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \ - $(LINUX_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) modules_install; \ - rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/build ; \ - rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/source ; \ - fi - $(LINUX_INSTALL_HOST_TOOLS) -endef - -# Run depmod in a target-finalize hook, to encompass modules installed by -# packages. -define LINUX_RUN_DEPMOD - if test -d $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED) \ - && grep -q "CONFIG_MODULES=y" $(LINUX_DIR)/.config; then \ - $(HOST_DIR)/sbin/depmod -a -b $(TARGET_DIR) $(LINUX_VERSION_PROBED); \ - fi -endef -LINUX_TARGET_FINALIZE_HOOKS += LINUX_RUN_DEPMOD - -# Include all our extensions. -# -# Note: our package infrastructure uses the full-path of the last-scanned -# Makefile to determine what package we're currently defining, using the -# last directory component in the path. Additionally, the full path of -# the package directory is also stored in _PKGDIR (e.g. to find patches) -# -# As such, including other Makefiles, like below, before we call one of -# the *-package macros usually doesn't work. -# -# However, by including the in-tree extensions after the ones from the -# br2-external trees, we're back to the situation where the last Makefile -# scanned *is* included from the correct directory. -# -# NOTE: this is very fragile, and extra care must be taken to ensure that -# we always end up with an in-tree included file. That's mostly OK, because -# we do have in-tree linux-extensions. -# -include $(sort $(wildcard $(foreach ext,$(BR2_EXTERNAL_DIRS), \ - $(ext)/linux/linux-ext-*.mk))) -include $(sort $(wildcard linux/linux-ext-*.mk)) - -LINUX_PATCH_DEPENDENCIES += $(foreach ext,$(LINUX_EXTENSIONS),\ - $(if $(BR2_LINUX_KERNEL_EXT_$(call UPPERCASE,$(ext))),$(ext))) - -LINUX_PRE_PATCH_HOOKS += $(foreach ext,$(LINUX_EXTENSIONS),\ - $(if $(BR2_LINUX_KERNEL_EXT_$(call UPPERCASE,$(ext))),\ - $(call UPPERCASE,$(ext))_PREPARE_KERNEL)) - -# Checks to give errors that the user can understand - -# When a custom repository has been set, check for the repository version -ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN)$(BR2_LINUX_KERNEL_CUSTOM_GIT)$(BR2_LINUX_KERNEL_CUSTOM_HG),y) -ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION)),) -$(error No custom repository version set. Check your BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION setting) -endif -ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)),) -$(error No custom repo URL set. Check your BR2_LINUX_KERNEL_CUSTOM_REPO_URL setting) -endif -endif - -ifeq ($(BR_BUILDING),y) - -ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) -# We must use the user-supplied kconfig value, because -# LINUX_KCONFIG_DEFCONFIG will at least contain the -# trailing _defconfig -ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG)),) -$(error No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting) -endif -endif - -ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) -ifeq ($(LINUX_KCONFIG_FILE),) -$(error No kernel configuration file specified, check your BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE setting) -endif -endif - -ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT):$(strip $(LINUX_DTS_NAME)),y:) -$(error No kernel device tree source specified, check your \ - BR2_LINUX_KERNEL_INTREE_DTS_NAME / BR2_LINUX_KERNEL_CUSTOM_DTS_PATH settings) -endif - -endif # BR_BUILDING - -$(eval $(kconfig-package)) - -# Support for rebuilding the kernel after the cpio archive has -# been generated. -.PHONY: linux-rebuild-with-initramfs -linux-rebuild-with-initramfs: $(LINUX_DIR)/.stamp_target_installed -linux-rebuild-with-initramfs: $(LINUX_DIR)/.stamp_images_installed -linux-rebuild-with-initramfs: rootfs-cpio -linux-rebuild-with-initramfs: - @$(call MESSAGE,"Rebuilding kernel with initramfs") - # Build the kernel. - $(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) $(LINUX_TARGET_NAME) - $(LINUX_APPEND_DTB) - # Copy the kernel image(s) to its(their) final destination - $(call LINUX_INSTALL_IMAGE,$(BINARIES_DIR)) - # If there is a .ub file copy it to the final destination - test ! -f $(LINUX_IMAGE_PATH).ub || cp $(LINUX_IMAGE_PATH).ub $(BINARIES_DIR) - # @$(call MESSAGE,"Rebuilding opensbi with initramfs") - # $(MAKE) opensbi-rebuild diff --git a/buildroot-2021.05/package/4th/4th.hash b/buildroot-2021.05/package/4th/4th.hash deleted file mode 100644 index 36d29410..00000000 --- a/buildroot-2021.05/package/4th/4th.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 f822f7dd8cfb0b1744a62d653c6efe933578ae1789ec60a088509a38bca4b4fc 4th-3.62.5-unix.tar.gz -sha256 8c6111b645a02219579ea66e84aa8e78a0ed4f4dd80857ffb91bcda5528717d4 COPYING diff --git a/buildroot-2021.05/package/4th/4th.mk b/buildroot-2021.05/package/4th/4th.mk deleted file mode 100644 index aee59c46..00000000 --- a/buildroot-2021.05/package/4th/4th.mk +++ /dev/null @@ -1,70 +0,0 @@ -################################################################################ -# -# 4th -# -################################################################################ - -4TH_VERSION = 3.62.5 -4TH_SOURCE = 4th-$(4TH_VERSION)-unix.tar.gz -4TH_SITE = http://downloads.sourceforge.net/project/forth-4th/4th-$(4TH_VERSION) -4TH_LICENSE = GPL-3.0+, LGPL-3.0+ -# The COPYING file only contains the text of the LGPL-3.0, but the -# source code really contains parts under GPL-3.0+. -4TH_LICENSE_FILES = COPYING -4TH_DEPENDENCIES = host-4th -4TH_INSTALL_STAGING = YES - -4TH_CFLAGS = $(TARGET_CFLAGS) -DUNIX -fsigned-char - -ifeq ($(BR2_STATIC_LIBS),y) -4TH_MAKE_ENV = $(TARGET_MAKE_ENV) STATIC=1 -else -4TH_MAKE_ENV = $(TARGET_MAKE_ENV) SHARED=1 -4TH_CFLAGS += -fPIC -endif - -define 4TH_BUILD_CMDS - $(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources all \ - CROSS="$(TARGET_CROSS)" \ - CFLAGS="$(4TH_CFLAGS)" \ - FOURTH=$(HOST_DIR)/bin/4th -endef - -define 4TH_INSTALL_STAGING_CMDS - $(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources libinstall \ - LIBRARIES=$(STAGING_DIR)/usr/lib - $(INSTALL) -D -m 0644 $(@D)/sources/4th.h \ - $(STAGING_DIR)/usr/include/4th.h -endef - -define 4TH_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/usr/bin - mkdir -p $(TARGET_DIR)/usr/lib - $(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \ - BINARIES=$(TARGET_DIR)/usr/bin \ - LIBRARIES=$(TARGET_DIR)/usr/lib - mkdir -p $(TARGET_DIR)/usr/share/4th/lib - cp -dpf $(@D)/4th/*.4th $(TARGET_DIR)/usr/share/4th - cp -dpf $(@D)/4th/lib/*.4th $(TARGET_DIR)/usr/share/4th/lib - mkdir -p $(TARGET_DIR)/usr/share/4th/demo - cp -dpf $(@D)/4th/demo/*.4th $(TARGET_DIR)/usr/share/4th/demo - mkdir -p $(TARGET_DIR)/usr/share/4th/4pp/lib - cp -dpf $(@D)/4th/4pp/*.4pp $(TARGET_DIR)/usr/share/4th/4pp - cp -dpf $(@D)/4th/4pp/lib/*.4pp $(TARGET_DIR)/usr/share/4th/4pp/lib -endef - -define HOST_4TH_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources all \ - CFLAGS="$(HOST_CFLAGS) -DUNIX -fsigned-char" -endef - -define HOST_4TH_INSTALL_CMDS - mkdir -p $(HOST_DIR)/bin - mkdir -p $(HOST_DIR)/lib - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \ - BINARIES=$(HOST_DIR)/bin \ - LIBRARIES=$(HOST_DIR)/lib -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/Config.in b/buildroot-2021.05/package/Config.in deleted file mode 100644 index 82b28d28..00000000 --- a/buildroot-2021.05/package/Config.in +++ /dev/null @@ -1,2527 +0,0 @@ -menu "Target packages" - - source "package/busybox/Config.in" - source "package/skeleton/Config.in" - source "package/skeleton-custom/Config.in" - source "package/skeleton-init-common/Config.in" - source "package/skeleton-init-none/Config.in" - source "package/skeleton-init-openrc/Config.in" - source "package/skeleton-init-systemd/Config.in" - source "package/skeleton-init-sysv/Config.in" - -menu "Audio and video applications" - source "package/alsa-utils/Config.in" - source "package/atest/Config.in" - source "package/aumix/Config.in" - source "package/bluez-alsa/Config.in" - source "package/dvblast/Config.in" - source "package/dvdauthor/Config.in" - source "package/dvdrw-tools/Config.in" - source "package/espeak/Config.in" - source "package/faad2/Config.in" - source "package/ffmpeg/Config.in" - source "package/flac/Config.in" - source "package/flite/Config.in" - source "package/fluid-soundfont/Config.in" - source "package/fluidsynth/Config.in" - source "package/gmrender-resurrect/Config.in" - source "package/gstreamer1/Config.in" - source "package/jack1/Config.in" - source "package/jack2/Config.in" - source "package/kodi/Config.in" - source "package/lame/Config.in" - source "package/madplay/Config.in" - source "package/mimic/Config.in" - source "package/minimodem/Config.in" - source "package/miraclecast/Config.in" - source "package/mjpegtools/Config.in" - source "package/modplugtools/Config.in" - source "package/motion/Config.in" - source "package/mpd/Config.in" - source "package/mpd-mpc/Config.in" - source "package/mpg123/Config.in" - source "package/mpv/Config.in" - source "package/multicat/Config.in" - source "package/musepack/Config.in" - source "package/ncmpc/Config.in" - source "package/omxplayer/Config.in" - source "package/on2-8170-libs/Config.in" - source "package/opus-tools/Config.in" - source "package/pulseaudio/Config.in" - source "package/sox/Config.in" - source "package/squeezelite/Config.in" - source "package/tovid/Config.in" - source "package/tstools/Config.in" - source "package/twolame/Config.in" - source "package/udpxy/Config.in" - source "package/upmpdcli/Config.in" - source "package/v4l2grab/Config.in" - source "package/v4l2loopback/Config.in" - source "package/vlc/Config.in" - source "package/vorbis-tools/Config.in" - source "package/wavpack/Config.in" - source "package/yavta/Config.in" - source "package/ympd/Config.in" -endmenu - -menu "Compressors and decompressors" - source "package/brotli/Config.in" - source "package/bzip2/Config.in" - source "package/gzip/Config.in" - source "package/lrzip/Config.in" - source "package/lzip/Config.in" - source "package/lzop/Config.in" - source "package/p7zip/Config.in" - source "package/pigz/Config.in" - source "package/pixz/Config.in" - source "package/unrar/Config.in" - source "package/unzip/Config.in" - source "package/xz/Config.in" - source "package/zip/Config.in" - source "package/zstd/Config.in" -endmenu - -menu "Debugging, profiling and benchmark" - source "package/babeltrace2/Config.in" - source "package/blktrace/Config.in" - source "package/bonnie/Config.in" - source "package/cache-calibrator/Config.in" - source "package/clinfo/Config.in" - source "package/coremark/Config.in" - source "package/coremark-pro/Config.in" - source "package/dacapo/Config.in" - source "package/delve/Config.in" - source "package/dhrystone/Config.in" - source "package/dieharder/Config.in" - source "package/dmalloc/Config.in" - source "package/dropwatch/Config.in" - source "package/dstat/Config.in" - source "package/dt/Config.in" - source "package/duma/Config.in" - source "package/fio/Config.in" - source "package/fwts/Config.in" - source "package/gdb/Config.in" - source "package/google-breakpad/Config.in" - source "package/iozone/Config.in" - source "package/kexec/Config.in" - source "package/kexec-lite/Config.in" - source "package/ktap/Config.in" - source "package/kvm-unit-tests/Config.in" - source "package/kyua/Config.in" - source "package/latencytop/Config.in" - source "package/lmbench/Config.in" - source "package/lsof/Config.in" - source "package/ltp-testsuite/Config.in" - source "package/ltrace/Config.in" - source "package/lttng-babeltrace/Config.in" - source "package/lttng-modules/Config.in" - source "package/lttng-tools/Config.in" - source "package/mcelog/Config.in" - source "package/memstat/Config.in" - source "package/netperf/Config.in" - source "package/netsniff-ng/Config.in" - source "package/nmon/Config.in" - source "package/oprofile/Config.in" - source "package/pax-utils/Config.in" - source "package/pcm-tools/Config.in" - source "package/piglit/Config.in" - source "package/ply/Config.in" - source "package/ptm2human/Config.in" - source "package/pv/Config.in" - source "package/racehound/Config.in" - source "package/ramsmp/Config.in" - source "package/ramspeed/Config.in" - source "package/rt-tests/Config.in" - source "package/sentry-native/Config.in" - source "package/spidev_test/Config.in" - source "package/strace/Config.in" - source "package/stress/Config.in" - source "package/stress-ng/Config.in" - source "package/sysdig/Config.in" - source "package/sysprof/Config.in" - source "package/tcf-agent/Config.in" - source "package/tinymembench/Config.in" - source "package/trace-cmd/Config.in" - source "package/trinity/Config.in" - source "package/uclibc-ng-test/Config.in" - source "package/uftrace/Config.in" - source "package/valgrind/Config.in" - source "package/vmtouch/Config.in" - source "package/whetstone/Config.in" -endmenu - -menu "Development tools" - source "package/bats-core/Config.in" - source "package/binutils/Config.in" - source "package/bitwise/Config.in" - source "package/bsdiff/Config.in" - source "package/bustle/Config.in" - source "package/check/Config.in" - source "package/cmake/Config.in" - source "package/cppunit/Config.in" - source "package/cukinia/Config.in" - source "package/cunit/Config.in" - source "package/cvs/Config.in" - source "package/cxxtest/Config.in" - source "package/diffutils/Config.in" - source "package/dos2unix/Config.in" - source "package/findutils/Config.in" - source "package/flex/Config.in" - source "package/gawk/Config.in" - source "package/gettext/Config.in" - source "package/gettext-gnu/Config.in" - source "package/gettext-tiny/Config.in" - source "package/git/Config.in" - source "package/git-crypt/Config.in" - source "package/gperf/Config.in" - source "package/grep/Config.in" - source "package/jo/Config.in" - source "package/jq/Config.in" - source "package/libtool/Config.in" - source "package/make/Config.in" - source "package/mawk/Config.in" - source "package/patch/Config.in" - source "package/pkgconf/Config.in" - source "package/ripgrep/Config.in" - source "package/sed/Config.in" - source "package/subversion/Config.in" - source "package/tree/Config.in" - source "package/yasm/Config.in" -endmenu - -menu "Filesystem and flash utilities" - source "package/abootimg/Config.in" - source "package/aufs/Config.in" - source "package/aufs-util/Config.in" - source "package/autofs/Config.in" - source "package/btrfs-progs/Config.in" - source "package/cifs-utils/Config.in" - source "package/cpio/Config.in" - source "package/cramfs/Config.in" - source "package/curlftpfs/Config.in" - source "package/davfs2/Config.in" - source "package/dosfstools/Config.in" - source "package/e2fsprogs/Config.in" - source "package/e2tools/Config.in" - source "package/ecryptfs-utils/Config.in" - source "package/erofs-utils/Config.in" - source "package/exfat/Config.in" - source "package/exfat-utils/Config.in" - source "package/exfatprogs/Config.in" - source "package/f2fs-tools/Config.in" - source "package/flashbench/Config.in" - source "package/fscryptctl/Config.in" - source "package/fuse-overlayfs/Config.in" - source "package/fwup/Config.in" - source "package/genext2fs/Config.in" - source "package/genpart/Config.in" - source "package/genromfs/Config.in" - source "package/imx-usb-loader/Config.in" - source "package/mmc-utils/Config.in" - source "package/mtd/Config.in" - source "package/mtools/Config.in" - source "package/nfs-utils/Config.in" - source "package/nilfs-utils/Config.in" - source "package/ntfs-3g/Config.in" - source "package/sp-oops-extract/Config.in" - source "package/squashfs/Config.in" - source "package/sshfs/Config.in" - source "package/sunxi-tools/Config.in" - source "package/udftools/Config.in" - source "package/unionfs/Config.in" - source "package/xfsprogs/Config.in" - source "package/zfs/Config.in" -endmenu - -menu "Fonts, cursors, icons, sounds and themes" - -comment "Cursors" - source "package/comix-cursors/Config.in" - source "package/obsidian-cursors/Config.in" - -comment "Fonts" - source "package/bitstream-vera/Config.in" - source "package/cantarell/Config.in" - source "package/dejavu/Config.in" - source "package/font-awesome/Config.in" - source "package/ghostscript-fonts/Config.in" - source "package/inconsolata/Config.in" - source "package/liberation/Config.in" - source "package/wqy-zenhei/Config.in" - -comment "Icons" - source "package/adwaita-icon-theme/Config.in" - source "package/google-material-design-icons/Config.in" - source "package/hicolor-icon-theme/Config.in" - -comment "Sounds" - source "package/sound-theme-borealis/Config.in" - source "package/sound-theme-freedesktop/Config.in" - -comment "Themes" - source "package/gtk2-engines/Config.in" - -endmenu - -menu "Games" - source "package/ascii-invaders/Config.in" - source "package/chocolate-doom/Config.in" - source "package/doom-wad/Config.in" - source "package/flare-engine/Config.in" - source "package/flare-game/Config.in" - source "package/frotz/Config.in" - source "package/gnuchess/Config.in" - source "package/lbreakout2/Config.in" - source "package/ltris/Config.in" - source "package/lugaru/Config.in" - source "package/minetest/Config.in" - source "package/minetest-game/Config.in" - source "package/opentyrian/Config.in" - source "package/opentyrian-data/Config.in" - source "package/prboom/Config.in" - source "package/rubix/Config.in" - source "package/sl/Config.in" - source "package/solarus/Config.in" - source "package/stella/Config.in" - source "package/supertux/Config.in" - source "package/supertuxkart/Config.in" - source "package/xorcurses/Config.in" -endmenu - -menu "Graphic libraries and applications (graphic/text)" - -comment "Graphic applications" - source "package/cage/Config.in" - source "package/cog/Config.in" - source "package/fswebcam/Config.in" - source "package/ghostscript/Config.in" - source "package/glmark2/Config.in" - source "package/glslsandbox-player/Config.in" - source "package/gnuplot/Config.in" - source "package/jhead/Config.in" - source "package/kmscube/Config.in" - source "package/libva-utils/Config.in" - source "package/mesa3d-demos/Config.in" - source "package/netsurf/Config.in" - source "package/pngquant/Config.in" - source "package/qt5cinex/Config.in" - source "package/rrdtool/Config.in" - source "package/stellarium/Config.in" - source "package/tesseract-ocr/Config.in" - -comment "Graphic libraries" - source "package/cegui/Config.in" - source "package/directfb/Config.in" - source "package/directfb-examples/Config.in" - source "package/efl/Config.in" - source "package/fb-test-app/Config.in" - source "package/fbdump/Config.in" - source "package/fbgrab/Config.in" - source "package/fbset/Config.in" - source "package/fbterm/Config.in" - source "package/fbv/Config.in" - source "package/freerdp/Config.in" - source "package/graphicsmagick/Config.in" - source "package/imagemagick/Config.in" - source "package/linux-fusion/Config.in" - source "package/lite/Config.in" - source "package/mesa3d/Config.in" - source "package/mesa3d-headers/Config.in" - source "package/ocrad/Config.in" - source "package/ogre/Config.in" - source "package/psplash/Config.in" - source "package/sdl/Config.in" - source "package/sdl_gfx/Config.in" - source "package/sdl_image/Config.in" - source "package/sdl_mixer/Config.in" - source "package/sdl_net/Config.in" - source "package/sdl_sound/Config.in" - source "package/sdl_ttf/Config.in" - source "package/sdl2/Config.in" - source "package/sdl2_gfx/Config.in" - source "package/sdl2_image/Config.in" - source "package/sdl2_mixer/Config.in" - source "package/sdl2_net/Config.in" - source "package/sdl2_ttf/Config.in" - source "package/tk/Config.in" - -comment "Other GUIs" - source "package/qt5/Config.in" -if BR2_PACKAGE_QT5 -comment "QT libraries and helper libraries" - source "package/cutelyst/Config.in" - source "package/grantlee/Config.in" - source "package/kf5/Config.in" - source "package/qextserialport/Config.in" - source "package/qjson/Config.in" - source "package/quazip/Config.in" - source "package/qwt/Config.in" -endif - source "package/tekui/Config.in" - source "package/weston/Config.in" - source "package/x11r7/Config.in" - -comment "X applications" - depends on BR2_PACKAGE_XORG7 - - source "package/alsamixergui/Config.in" - source "package/apitrace/Config.in" - source "package/dillo/Config.in" - source "package/docker/Config.in" - source "package/feh/Config.in" - source "package/gmpc/Config.in" - source "package/gtkperf/Config.in" - source "package/leafpad/Config.in" - source "package/midori/Config.in" - source "package/nodm/Config.in" - source "package/pcmanfm/Config.in" - source "package/qt-webkit-kiosk/Config.in" - source "package/rdesktop/Config.in" - source "package/synergy/Config.in" - source "package/vte/Config.in" - source "package/wmctrl/Config.in" - source "package/x11vnc/Config.in" - source "package/xdotool/Config.in" - source "package/xscreensaver/Config.in" - source "package/xterm/Config.in" - source "package/xvkbd/Config.in" - source "package/yad/Config.in" - -comment "X libraries and helper libraries" - depends on BR2_PACKAGE_XORG7 - - source "package/libsexy/Config.in" - source "package/x11r7/xkeyboard-config/Config.in" - -comment "X window managers" - depends on BR2_PACKAGE_XORG7 - - source "package/enlightenment/Config.in" - source "package/fluxbox/Config.in" - source "package/matchbox/Config.in" - source "package/metacity/Config.in" - source "package/openbox/Config.in" - source "package/ratpoison/Config.in" -endmenu - -menu "Hardware handling" -menu "Firmware" - source "package/am33x-cm3/Config.in" - source "package/armbian-firmware/Config.in" - source "package/b43-firmware/Config.in" - source "package/linux-firmware/Config.in" - source "package/murata-cyw-fw/Config.in" - source "package/odroidc2-firmware/Config.in" - source "package/qcom-db410c-firmware/Config.in" - source "package/rcw-smarc-sal28/Config.in" - source "package/rpi-bt-firmware/Config.in" - source "package/rpi-firmware/Config.in" - source "package/rpi-wifi-firmware/Config.in" - source "package/sunxi-boards/Config.in" - source "package/ts4900-fpga/Config.in" - source "package/ux500-firmware/Config.in" - source "package/wilc1000-firmware/Config.in" - source "package/wilink-bt-firmware/Config.in" - source "package/zd1211-firmware/Config.in" -endmenu - source "package/18xx-ti-utils/Config.in" - source "package/a10disp/Config.in" - source "package/acpica/Config.in" - source "package/acpid/Config.in" - source "package/acpitool/Config.in" - source "package/aer-inject/Config.in" - source "package/altera-stapl/Config.in" - source "package/am335x-pru-package/Config.in" - source "package/apcupsd/Config.in" - source "package/avrdude/Config.in" - source "package/bcache-tools/Config.in" - source "package/biosdevname/Config.in" - source "package/brickd/Config.in" - source "package/brltty/Config.in" - source "package/cbootimage/Config.in" - source "package/cc-tool/Config.in" - source "package/cdrkit/Config.in" - source "package/cpuburn-arm/Config.in" - source "package/cryptsetup/Config.in" - source "package/cwiid/Config.in" - source "package/dahdi-linux/Config.in" - source "package/dahdi-tools/Config.in" - source "package/dbus/Config.in" - source "package/dbus-cpp/Config.in" - source "package/dbus-glib/Config.in" - source "package/dbus-python/Config.in" - source "package/dbus-triggerd/Config.in" - source "package/dfu-util/Config.in" - source "package/dmidecode/Config.in" - source "package/dmraid/Config.in" - source "package/dt-utils/Config.in" - source "package/dtv-scan-tables/Config.in" - source "package/dump1090/Config.in" - source "package/dvb-apps/Config.in" - source "package/dvbsnoop/Config.in" - source "package/edid-decode/Config.in" - source "package/eudev/Config.in" - source "package/ev3dev-linux-drivers/Config.in" - source "package/evemu/Config.in" - source "package/evtest/Config.in" - source "package/fan-ctrl/Config.in" - source "package/fbtft/Config.in" - source "package/fconfig/Config.in" - source "package/flashrom/Config.in" - source "package/fmtools/Config.in" - source "package/freescale-imx/Config.in" - source "package/fxload/Config.in" - source "package/gcnano-binaries/Config.in" - source "package/gpm/Config.in" - source "package/gpsd/Config.in" - source "package/gptfdisk/Config.in" - source "package/gvfs/Config.in" - source "package/hdparm/Config.in" - source "package/hwdata/Config.in" - source "package/hwloc/Config.in" - source "package/i2c-tools/Config.in" - source "package/i7z/Config.in" - source "package/input-event-daemon/Config.in" - source "package/intel-microcode/Config.in" - source "package/ipmitool/Config.in" - source "package/ipmiutil/Config.in" - source "package/irda-utils/Config.in" - source "package/iucode-tool/Config.in" - source "package/kbd/Config.in" - source "package/lcdproc/Config.in" - source "package/libiec61850/Config.in" - source "package/libubootenv/Config.in" - source "package/libuio/Config.in" - source "package/linux-backports/Config.in" - source "package/linux-serial-test/Config.in" - source "package/linuxconsoletools/Config.in" - source "package/lirc-tools/Config.in" - source "package/lm-sensors/Config.in" - source "package/lshw/Config.in" - source "package/lsscsi/Config.in" - source "package/lsuio/Config.in" - source "package/luksmeta/Config.in" - source "package/lvm2/Config.in" - source "package/mali-t76x/Config.in" - source "package/mbpfan/Config.in" - source "package/mdadm/Config.in" - source "package/mdevd/Config.in" - source "package/memtest86/Config.in" - source "package/memtester/Config.in" - source "package/memtool/Config.in" - source "package/minicom/Config.in" - source "package/msr-tools/Config.in" - source "package/nanocom/Config.in" - source "package/neard/Config.in" - source "package/nvidia-driver/Config.in" - source "package/nvidia-modprobe/Config.in" - source "package/nvme/Config.in" - source "package/ofono/Config.in" - source "package/on2-8170-modules/Config.in" - source "package/open2300/Config.in" - source "package/openfpgaloader/Config.in" - source "package/openipmi/Config.in" - source "package/openocd/Config.in" - source "package/openpowerlink/Config.in" - source "package/owl-linux/Config.in" - source "package/parted/Config.in" - source "package/pciutils/Config.in" - source "package/pdbg/Config.in" - source "package/picocom/Config.in" - source "package/pifmrds/Config.in" - source "package/pigpio/Config.in" - source "package/powertop/Config.in" - source "package/pps-tools/Config.in" - source "package/pru-software-support/Config.in" - source "package/pulseview/Config.in" - source "package/raspi-gpio/Config.in" - source "package/read-edid/Config.in" - source "package/rng-tools/Config.in" - source "package/rpi-userland/Config.in" - source "package/rs485conf/Config.in" - source "package/rtc-tools/Config.in" - source "package/rtl8188eu/Config.in" - source "package/rtl8189fs/Config.in" - source "package/rtl8723bs/Config.in" - source "package/rtl8723bu/Config.in" - source "package/rtl8821au/Config.in" - source "package/sane-backends/Config.in" - source "package/sdparm/Config.in" - source "package/sedutil/Config.in" - source "package/setserial/Config.in" - source "package/sg3_utils/Config.in" - source "package/sigrok-cli/Config.in" - source "package/sispmctl/Config.in" - source "package/smartmontools/Config.in" - source "package/smstools3/Config.in" - source "package/spi-tools/Config.in" - source "package/sredird/Config.in" - source "package/statserial/Config.in" - source "package/stm32flash/Config.in" - source "package/sunxi-cedarx/Config.in" - source "package/sunxi-mali-mainline/Config.in" - source "package/sunxi-mali-mainline-driver/Config.in" - source "package/sysstat/Config.in" - source "package/targetcli-fb/Config.in" - source "package/ti-gfx/Config.in" - source "package/ti-sgx-demos/Config.in" - source "package/ti-sgx-km/Config.in" - source "package/ti-sgx-um/Config.in" - source "package/ti-uim/Config.in" - source "package/ti-utils/Config.in" - source "package/tio/Config.in" - source "package/triggerhappy/Config.in" - source "package/uboot-tools/Config.in" - source "package/ubus/Config.in" - source "package/uccp420wlan/Config.in" - source "package/udev/Config.in" - source "package/udev-gentoo-scripts/Config.in" - source "package/udisks/Config.in" - source "package/uhubctl/Config.in" - source "package/umtprd/Config.in" - source "package/upower/Config.in" - source "package/usb_modeswitch/Config.in" - source "package/usb_modeswitch_data/Config.in" - source "package/usbmount/Config.in" - source "package/usbutils/Config.in" - source "package/w_scan/Config.in" - source "package/wf111/Config.in" - source "package/wipe/Config.in" - source "package/xorriso/Config.in" - source "package/xr819-xradio/Config.in" -endmenu - -menu "Interpreter languages and scripting" - source "package/4th/Config.in" - source "package/enscript/Config.in" - source "package/erlang/Config.in" -if BR2_PACKAGE_ERLANG -menu "Erlang libraries/modules" - source "package/erlang-base64url/Config.in" - source "package/erlang-eimp/Config.in" - source "package/erlang-goldrush/Config.in" - source "package/erlang-idna/Config.in" - source "package/erlang-jiffy/Config.in" - source "package/erlang-jose/Config.in" - source "package/erlang-lager/Config.in" - source "package/erlang-p1-acme/Config.in" - source "package/erlang-p1-cache-tab/Config.in" - source "package/erlang-p1-mqtree/Config.in" - source "package/erlang-p1-oauth2/Config.in" - source "package/erlang-p1-pkix/Config.in" - source "package/erlang-p1-sip/Config.in" - source "package/erlang-p1-stringprep/Config.in" - source "package/erlang-p1-stun/Config.in" - source "package/erlang-p1-tls/Config.in" - source "package/erlang-p1-utils/Config.in" - source "package/erlang-p1-xml/Config.in" - source "package/erlang-p1-xmpp/Config.in" - source "package/erlang-p1-yaml/Config.in" - source "package/erlang-p1-yconf/Config.in" - source "package/erlang-p1-zlib/Config.in" -endmenu -endif - source "package/execline/Config.in" - source "package/ficl/Config.in" - source "package/gauche/Config.in" - source "package/guile/Config.in" - source "package/haserl/Config.in" - source "package/janet/Config.in" - source "package/jimtcl/Config.in" - source "package/lua/Config.in" - source "package/luainterpreter/Config.in" - source "package/luajit/Config.in" -if BR2_PACKAGE_HAS_LUAINTERPRETER && !BR2_STATIC_LIBS -# lua modules are dynamically loaded, so not available on static builds -menu "Lua libraries/modules" -# When adding lua packages, make sure the name start with "lua". If the -# upstream package is "luafoo", call it "luafoo" in Buildroot; if the upstream -# package is "foo", call it "lua-foo". Many packages currently don't follow -# this convention, but that's historical accident. - source "package/argparse/Config.in" - source "package/cgilua/Config.in" - source "package/copas/Config.in" - source "package/coxpcall/Config.in" - source "package/dado/Config.in" - source "package/easydbus/Config.in" - source "package/lbase64/Config.in" - source "package/ljlinenoise/Config.in" - source "package/ljsyscall/Config.in" - source "package/lpeg/Config.in" - source "package/lpty/Config.in" - source "package/lrandom/Config.in" - source "package/lsqlite3/Config.in" - source "package/lua-basexx/Config.in" - source "package/lua-binaryheap/Config.in" - source "package/lua-bit32/Config.in" - source "package/lua-cjson/Config.in" - source "package/lua-coat/Config.in" - source "package/lua-coatpersistent/Config.in" - source "package/lua-codegen/Config.in" - source "package/lua-compat53/Config.in" - source "package/lua-cqueues/Config.in" - source "package/lua-csnappy/Config.in" - source "package/lua-curl/Config.in" - source "package/lua-datafile/Config.in" - source "package/lua-ev/Config.in" - source "package/lua-fifo/Config.in" - source "package/lua-flu/Config.in" - source "package/lua-gd/Config.in" - source "package/lua-http/Config.in" - source "package/lua-iconv/Config.in" - source "package/lua-livr/Config.in" - source "package/lua-livr-extra/Config.in" - source "package/lua-lpeg-patterns/Config.in" - source "package/lua-lunitx/Config.in" - source "package/lua-lyaml/Config.in" - source "package/lua-markdown/Config.in" - source "package/lua-messagepack/Config.in" - source "package/lua-msgpack-native/Config.in" - source "package/lua-periphery/Config.in" - source "package/lua-resty-http/Config.in" - source "package/lua-rotas/Config.in" - source "package/lua-sailor/Config.in" - source "package/lua-sdl2/Config.in" - source "package/lua-silva/Config.in" - source "package/lua-std-debug/Config.in" - source "package/lua-std-normalize/Config.in" - source "package/lua-stdlib/Config.in" - source "package/lua-testmore/Config.in" - source "package/lua-utf8/Config.in" - source "package/lua-valua/Config.in" - source "package/luabitop/Config.in" - source "package/luadbi/Config.in" - source "package/luadbi-sqlite3/Config.in" - source "package/luaexpat/Config.in" - source "package/luaexpatutils/Config.in" - source "package/luafilesystem/Config.in" - source "package/luajson/Config.in" - source "package/lualdap/Config.in" - source "package/lualogging/Config.in" - source "package/luaossl/Config.in" - source "package/luaposix/Config.in" - source "package/luasec/Config.in" - source "package/luasocket/Config.in" - source "package/luasql-sqlite3/Config.in" - source "package/luasyslog/Config.in" - source "package/lutok/Config.in" - source "package/luv/Config.in" - source "package/luvi/Config.in" - source "package/lzlib/Config.in" - source "package/orbit/Config.in" - source "package/rings/Config.in" - source "package/turbolua/Config.in" - source "package/wsapi/Config.in" - source "package/wsapi-fcgi/Config.in" - source "package/wsapi-xavante/Config.in" - source "package/xavante/Config.in" -endmenu -endif - source "package/micropython/Config.in" - source "package/micropython-lib/Config.in" - source "package/moarvm/Config.in" - source "package/mono/Config.in" -if BR2_PACKAGE_MONO -menu "Mono libraries/modules" - source "package/mono-gtksharp3/Config.in" -endmenu -endif - source "package/nodejs/Config.in" - source "package/openjdk/Config.in" - source "package/perl/Config.in" -if BR2_PACKAGE_PERL -menu "Perl libraries/modules" - source "package/perl-apache-logformat-compiler/Config.in" - source "package/perl-appconfig/Config.in" - source "package/perl-astro-suntime/Config.in" - source "package/perl-class-inspector/Config.in" - source "package/perl-class-load/Config.in" - source "package/perl-class-method-modifiers/Config.in" - source "package/perl-class-std/Config.in" - source "package/perl-class-std-fast/Config.in" - source "package/perl-convert-asn1/Config.in" - source "package/perl-cookie-baker/Config.in" - source "package/perl-crypt-blowfish/Config.in" - source "package/perl-crypt-cbc/Config.in" - source "package/perl-crypt-openssl-aes/Config.in" - source "package/perl-crypt-openssl-random/Config.in" - source "package/perl-crypt-openssl-rsa/Config.in" - source "package/perl-data-dump/Config.in" - source "package/perl-data-optlist/Config.in" - source "package/perl-data-uuid/Config.in" - source "package/perl-date-manip/Config.in" - source "package/perl-datetime-tiny/Config.in" - source "package/perl-dbd-mysql/Config.in" - source "package/perl-dbi/Config.in" - source "package/perl-devel-cycle/Config.in" - source "package/perl-devel-globaldestruction/Config.in" - source "package/perl-devel-size/Config.in" - source "package/perl-devel-stacktrace/Config.in" - source "package/perl-devel-stacktrace-ashtml/Config.in" - source "package/perl-device-serialport/Config.in" - source "package/perl-digest-hmac/Config.in" - source "package/perl-digest-sha1/Config.in" - source "package/perl-dist-checkconflicts/Config.in" - source "package/perl-encode-detect/Config.in" - source "package/perl-encode-locale/Config.in" - source "package/perl-exporter-tiny/Config.in" - source "package/perl-file-listing/Config.in" - source "package/perl-file-sharedir/Config.in" - source "package/perl-file-slurp/Config.in" - source "package/perl-file-util/Config.in" - source "package/perl-filesys-notify-simple/Config.in" - source "package/perl-gd/Config.in" - source "package/perl-gdgraph/Config.in" - source "package/perl-gdtextutil/Config.in" - source "package/perl-hash-multivalue/Config.in" - source "package/perl-html-parser/Config.in" - source "package/perl-html-tagset/Config.in" - source "package/perl-http-cookies/Config.in" - source "package/perl-http-daemon/Config.in" - source "package/perl-http-date/Config.in" - source "package/perl-http-entity-parser/Config.in" - source "package/perl-http-headers-fast/Config.in" - source "package/perl-http-message/Config.in" - source "package/perl-http-multipartparser/Config.in" - source "package/perl-http-negotiate/Config.in" - source "package/perl-i18n/Config.in" - source "package/perl-io-html/Config.in" - source "package/perl-io-interface/Config.in" - source "package/perl-io-socket-multicast/Config.in" - source "package/perl-io-socket-ssl/Config.in" - source "package/perl-json-maybexs/Config.in" - source "package/perl-json-tiny/Config.in" - source "package/perl-libwww-perl/Config.in" - source "package/perl-locale-maketext-lexicon/Config.in" - source "package/perl-lwp-mediatypes/Config.in" - source "package/perl-lwp-protocol-https/Config.in" - source "package/perl-mail-dkim/Config.in" - source "package/perl-mailtools/Config.in" - source "package/perl-math-int64/Config.in" - source "package/perl-math-prime-util/Config.in" - source "package/perl-mime-base64-urlsafe/Config.in" - source "package/perl-mime-tools/Config.in" - source "package/perl-module-implementation/Config.in" - source "package/perl-module-runtime/Config.in" - source "package/perl-mojolicious/Config.in" - source "package/perl-mojolicious-plugin-authentication/Config.in" - source "package/perl-mojolicious-plugin-authorization/Config.in" - source "package/perl-mojolicious-plugin-cspheader/Config.in" - source "package/perl-mojolicious-plugin-i18n/Config.in" - source "package/perl-mojolicious-plugin-securityheader/Config.in" - source "package/perl-moo/Config.in" - source "package/perl-mozilla-ca/Config.in" - source "package/perl-net-dns/Config.in" - source "package/perl-net-http/Config.in" - source "package/perl-net-snmp/Config.in" - source "package/perl-net-ssh2/Config.in" - source "package/perl-net-ssleay/Config.in" - source "package/perl-net-telnet/Config.in" - source "package/perl-netaddr-ip/Config.in" - source "package/perl-number-bytes-human/Config.in" - source "package/perl-package-stash/Config.in" - source "package/perl-params-util/Config.in" - source "package/perl-parse-yapp/Config.in" - source "package/perl-path-tiny/Config.in" - source "package/perl-plack/Config.in" - source "package/perl-posix-strftime-compiler/Config.in" - source "package/perl-role-tiny/Config.in" - source "package/perl-stream-buffered/Config.in" - source "package/perl-sub-exporter-progressive/Config.in" - source "package/perl-sub-install/Config.in" - source "package/perl-sub-quote/Config.in" - source "package/perl-sys-cpu/Config.in" - source "package/perl-sys-meminfo/Config.in" - source "package/perl-sys-mmap/Config.in" - source "package/perl-time-parsedate/Config.in" - source "package/perl-timedate/Config.in" - source "package/perl-try-tiny/Config.in" - source "package/perl-type-tiny/Config.in" - source "package/perl-uri/Config.in" - source "package/perl-www-form-urlencoded/Config.in" - source "package/perl-www-robotrules/Config.in" - source "package/perl-x10/Config.in" - source "package/perl-xml-libxml/Config.in" - source "package/perl-xml-namespacesupport/Config.in" - source "package/perl-xml-sax/Config.in" - source "package/perl-xml-sax-base/Config.in" -endmenu -endif - source "package/php/Config.in" -if BR2_PACKAGE_PHP -if !BR2_STATIC_LIBS -menu "External php extensions" - source "package/php-amqp/Config.in" - source "package/php-geoip/Config.in" - source "package/php-gnupg/Config.in" - source "package/php-imagick/Config.in" - source "package/php-memcached/Config.in" - source "package/php-ssh2/Config.in" - source "package/php-xdebug/Config.in" - source "package/php-yaml/Config.in" - source "package/php-zmq/Config.in" -endmenu -endif -if BR2_STATIC_LIBS -comment "External PHP extensions need a toolchain w/ dynamic library" -endif -endif - source "package/python/Config.in" - source "package/python3/Config.in" -if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 -menu "External python modules" - source "package/python-aenum/Config.in" - source "package/python-aioblescan/Config.in" - source "package/python-aiocoap/Config.in" - source "package/python-aioconsole/Config.in" - source "package/python-aiodns/Config.in" - source "package/python-aiofiles/Config.in" - source "package/python-aiohttp/Config.in" - source "package/python-aiohttp-cors/Config.in" - source "package/python-aiohttp-debugtoolbar/Config.in" - source "package/python-aiohttp-jinja2/Config.in" - source "package/python-aiohttp-mako/Config.in" - source "package/python-aiohttp-remotes/Config.in" - source "package/python-aiohttp-security/Config.in" - source "package/python-aiohttp-session/Config.in" - source "package/python-aiohttp-sse/Config.in" - source "package/python-aiojobs/Config.in" - source "package/python-aiologstash/Config.in" - source "package/python-aiomonitor/Config.in" - source "package/python-aioredis/Config.in" - source "package/python-aiorwlock/Config.in" - source "package/python-aiosignal/Config.in" - source "package/python-aiozipkin/Config.in" - source "package/python-alsaaudio/Config.in" - source "package/python-ansicolors/Config.in" - source "package/python-argh/Config.in" - source "package/python-argon2-cffi/Config.in" - source "package/python-arrow/Config.in" - source "package/python-asgiref/Config.in" - source "package/python-asn1crypto/Config.in" - source "package/python-async-lru/Config.in" - source "package/python-async-timeout/Config.in" - source "package/python-attrs/Config.in" - source "package/python-autobahn/Config.in" - source "package/python-automat/Config.in" - source "package/python-avro/Config.in" - source "package/python-babel/Config.in" - source "package/python-backcall/Config.in" - source "package/python-backports-abc/Config.in" - source "package/python-backports-functools-lru-cache/Config.in" - source "package/python-backports-shutil-get-terminal-size/Config.in" - source "package/python-backports-ssl-match-hostname/Config.in" - source "package/python-bcrypt/Config.in" - source "package/python-beautifulsoup4/Config.in" - source "package/python-bitstring/Config.in" - source "package/python-bleak/Config.in" - source "package/python-bluezero/Config.in" - source "package/python-boto3/Config.in" - source "package/python-botocore/Config.in" - source "package/python-bottle/Config.in" - source "package/python-brotli/Config.in" - source "package/python-bsdiff4/Config.in" - source "package/python-bunch/Config.in" - source "package/python-cached-property/Config.in" - source "package/python-can/Config.in" - source "package/python-canopen/Config.in" - source "package/python-cbor/Config.in" - source "package/python-cbor2/Config.in" - source "package/python-cchardet/Config.in" - source "package/python-certifi/Config.in" - source "package/python-cffi/Config.in" - source "package/python-channels/Config.in" - source "package/python-channels-redis/Config.in" - source "package/python-characteristic/Config.in" - source "package/python-chardet/Config.in" - source "package/python-cheetah/Config.in" - source "package/python-cheroot/Config.in" - source "package/python-cherrypy/Config.in" - source "package/python-click/Config.in" - source "package/python-coherence/Config.in" - source "package/python-colorama/Config.in" - source "package/python-colorlog/Config.in" - source "package/python-colorzero/Config.in" - source "package/python-configobj/Config.in" - source "package/python-configshell-fb/Config.in" - source "package/python-constantly/Config.in" - source "package/python-couchdb/Config.in" - source "package/python-crayons/Config.in" - source "package/python-crc16/Config.in" - source "package/python-crcmod/Config.in" - source "package/python-crontab/Config.in" - source "package/python-crossbar/Config.in" - source "package/python-cryptography/Config.in" - source "package/python-cssselect/Config.in" - source "package/python-cssutils/Config.in" - source "package/python-cycler/Config.in" - source "package/python-daemon/Config.in" - source "package/python-daemonize/Config.in" - source "package/python-daphne/Config.in" - source "package/python-dataproperty/Config.in" - source "package/python-dateutil/Config.in" - source "package/python-decorator/Config.in" - source "package/python-defusedxml/Config.in" - source "package/python-dialog/Config.in" - source "package/python-dialog3/Config.in" - source "package/python-dicttoxml/Config.in" - source "package/python-django/Config.in" - source "package/python-django-enumfields/Config.in" - source "package/python-dnspython/Config.in" - source "package/python-docker/Config.in" - source "package/python-docker-pycreds/Config.in" - source "package/python-dockerpty/Config.in" - source "package/python-docopt/Config.in" - source "package/python-docutils/Config.in" - source "package/python-dominate/Config.in" - source "package/python-dpkt/Config.in" - source "package/python-ecdsa/Config.in" - source "package/python-engineio/Config.in" - source "package/python-entrypoints/Config.in" - source "package/python-enum/Config.in" - source "package/python-enum34/Config.in" - source "package/python-esptool/Config.in" - source "package/python-falcon/Config.in" - source "package/python-filelock/Config.in" - source "package/python-fire/Config.in" - source "package/python-flask/Config.in" - source "package/python-flask-babel/Config.in" - source "package/python-flask-cors/Config.in" - source "package/python-flask-jsonrpc/Config.in" - source "package/python-flask-login/Config.in" - source "package/python-flask-sqlalchemy/Config.in" - source "package/python-flask-wtf/Config.in" - source "package/python-flatbuffers/Config.in" - source "package/python-flup/Config.in" - source "package/python-frozenlist/Config.in" - source "package/python-functools32/Config.in" - source "package/python-future/Config.in" - source "package/python-futures/Config.in" - source "package/python-gitdb2/Config.in" - source "package/python-gobject/Config.in" - source "package/python-gpiozero/Config.in" - source "package/python-greenlet/Config.in" - source "package/python-gunicorn/Config.in" - source "package/python-h2/Config.in" - source "package/python-hiredis/Config.in" - source "package/python-hpack/Config.in" - source "package/python-html5lib/Config.in" - source "package/python-httplib2/Config.in" - source "package/python-huepy/Config.in" - source "package/python-humanize/Config.in" - source "package/python-hyperframe/Config.in" - source "package/python-hyperlink/Config.in" - source "package/python-ibmiotf/Config.in" - source "package/python-id3/Config.in" - source "package/python-idna/Config.in" - source "package/python-ifaddr/Config.in" - source "package/python-incremental/Config.in" - source "package/python-inflection/Config.in" - source "package/python-influxdb/Config.in" - source "package/python-iniconfig/Config.in" - source "package/python-iniparse/Config.in" - source "package/python-intelhex/Config.in" - source "package/python-iowait/Config.in" - source "package/python-ipaddr/Config.in" - source "package/python-ipaddress/Config.in" - source "package/python-ipdb/Config.in" - source "package/python-iptables/Config.in" - source "package/python-ipy/Config.in" - source "package/python-ipython/Config.in" - source "package/python-ipython-genutils/Config.in" - source "package/python-iso8601/Config.in" - source "package/python-itsdangerous/Config.in" - source "package/python-iwlib/Config.in" - source "package/python-janus/Config.in" - source "package/python-jaraco-classes/Config.in" - source "package/python-jaraco-functools/Config.in" - source "package/python-jedi/Config.in" - source "package/python-jinja2/Config.in" - source "package/python-jmespath/Config.in" - source "package/python-json-schema-validator/Config.in" - source "package/python-jsonmodels/Config.in" - source "package/python-jsonschema/Config.in" - source "package/python-keyring/Config.in" - source "package/python-kiwisolver/Config.in" - source "package/python-libconfig/Config.in" - source "package/python-libusb1/Config.in" - source "package/python-lmdb/Config.in" - source "package/python-lockfile/Config.in" - source "package/python-logbook/Config.in" - source "package/python-logstash/Config.in" - source "package/python-lxml/Config.in" - source "package/python-m2crypto/Config.in" - source "package/python-m2r/Config.in" - source "package/python-mad/Config.in" - source "package/python-mako/Config.in" - source "package/python-markdown/Config.in" - source "package/python-markdown2/Config.in" - source "package/python-markupsafe/Config.in" - source "package/python-matplotlib/Config.in" - source "package/python-mbstrdecoder/Config.in" - source "package/python-meld3/Config.in" - source "package/python-mimeparse/Config.in" - source "package/python-mistune/Config.in" - source "package/python-modbus-tk/Config.in" - source "package/python-more-itertools/Config.in" - source "package/python-msgfy/Config.in" - source "package/python-msgpack/Config.in" - source "package/python-multidict/Config.in" - source "package/python-mutagen/Config.in" - source "package/python-mwclient/Config.in" - source "package/python-mwscrape/Config.in" - source "package/python-mwscrape2slob/Config.in" - source "package/python-nested-dict/Config.in" - source "package/python-netaddr/Config.in" - source "package/python-netifaces/Config.in" - source "package/python-networkmanager/Config.in" - source "package/python-networkx/Config.in" - source "package/python-nfc/Config.in" - source "package/python-numpy/Config.in" - source "package/python-oauthlib/Config.in" - source "package/python-opcua-asyncio/Config.in" - source "package/python-packaging/Config.in" - source "package/python-paho-mqtt/Config.in" - source "package/python-pam/Config.in" - source "package/python-paramiko/Config.in" - source "package/python-parso/Config.in" - source "package/python-passlib/Config.in" - source "package/python-pathlib2/Config.in" - source "package/python-pathpy/Config.in" - source "package/python-pathtools/Config.in" - source "package/python-pathvalidate/Config.in" - source "package/python-periphery/Config.in" - source "package/python-pexpect/Config.in" - source "package/python-pickleshare/Config.in" - source "package/python-piexif/Config.in" - source "package/python-pigpio/Config.in" - source "package/python-pillow/Config.in" - source "package/python-pip/Config.in" - source "package/python-pluggy/Config.in" - source "package/python-ply/Config.in" - source "package/python-portend/Config.in" - source "package/python-posix-ipc/Config.in" - source "package/python-priority/Config.in" - source "package/python-prompt-toolkit/Config.in" - source "package/python-protobuf/Config.in" - source "package/python-psutil/Config.in" - source "package/python-psycopg2/Config.in" - source "package/python-ptyprocess/Config.in" - source "package/python-pudb/Config.in" - source "package/python-py/Config.in" - source "package/python-pyaes/Config.in" - source "package/python-pyalsa/Config.in" - source "package/python-pyasn1/Config.in" - source "package/python-pyasn1-modules/Config.in" - source "package/python-pybind/Config.in" - source "package/python-pycairo/Config.in" - source "package/python-pycares/Config.in" - source "package/python-pycli/Config.in" - source "package/python-pycparser/Config.in" - source "package/python-pycryptodomex/Config.in" - source "package/python-pycups/Config.in" - source "package/python-pydal/Config.in" - source "package/python-pydantic/Config.in" - source "package/python-pyelftools/Config.in" - source "package/python-pyftpdlib/Config.in" - source "package/python-pygame/Config.in" - source "package/python-pygments/Config.in" - source "package/python-pyhamcrest/Config.in" - source "package/python-pyicu/Config.in" - source "package/python-pyinotify/Config.in" - source "package/python-pyjwt/Config.in" - source "package/python-pylibftdi/Config.in" - source "package/python-pylru/Config.in" - source "package/python-pymodbus/Config.in" - source "package/python-pymysql/Config.in" - source "package/python-pynacl/Config.in" - source "package/python-pyopenssl/Config.in" - source "package/python-pyparsing/Config.in" - source "package/python-pyparted/Config.in" - source "package/python-pypcap/Config.in" - source "package/python-pyqrcode/Config.in" - source "package/python-pyqt5/Config.in" - source "package/python-pyratemp/Config.in" - source "package/python-pyro/Config.in" - source "package/python-pyroute2/Config.in" - source "package/python-pysendfile/Config.in" - source "package/python-pysftp/Config.in" - source "package/python-pysmb/Config.in" - source "package/python-pysmi/Config.in" - source "package/python-pysnmp/Config.in" - source "package/python-pysnmp-mibs/Config.in" - source "package/python-pysocks/Config.in" - source "package/python-pytablereader/Config.in" - source "package/python-pytablewriter/Config.in" - source "package/python-pytest/Config.in" - source "package/python-pytest-asyncio/Config.in" - source "package/python-pytrie/Config.in" - source "package/python-pytz/Config.in" - source "package/python-pyudev/Config.in" - source "package/python-pyusb/Config.in" - source "package/python-pyxb/Config.in" - source "package/python-pyyaml/Config.in" - source "package/python-pyzmq/Config.in" - source "package/python-raven/Config.in" - source "package/python-redis/Config.in" - source "package/python-reentry/Config.in" - source "package/python-regex/Config.in" - source "package/python-remi/Config.in" - source "package/python-request-id/Config.in" - source "package/python-requests/Config.in" - source "package/python-requests-oauthlib/Config.in" - source "package/python-requests-toolbelt/Config.in" - source "package/python-rpi-gpio/Config.in" - source "package/python-rpi-ws281x/Config.in" - source "package/python-rtslib-fb/Config.in" - source "package/python-s3transfer/Config.in" - source "package/python-scandir/Config.in" - source "package/python-scapy/Config.in" - source "package/python-schedule/Config.in" - source "package/python-sdnotify/Config.in" - source "package/python-secretstorage/Config.in" - source "package/python-see/Config.in" - source "package/python-semver/Config.in" - source "package/python-sentry-sdk/Config.in" - source "package/python-serial/Config.in" - source "package/python-serial-asyncio/Config.in" - source "package/python-service-identity/Config.in" - source "package/python-setproctitle/Config.in" - source "package/python-setuptools/Config.in" - source "package/python-sh/Config.in" - source "package/python-shutilwhich/Config.in" - source "package/python-simpleaudio/Config.in" - source "package/python-simplegeneric/Config.in" - source "package/python-simplejson/Config.in" - source "package/python-simplelogging/Config.in" - source "package/python-simplesqlite/Config.in" - source "package/python-singledispatch/Config.in" - source "package/python-sip/Config.in" - source "package/python-six/Config.in" - source "package/python-slob/Config.in" - source "package/python-smbus-cffi/Config.in" - source "package/python-smmap2/Config.in" - source "package/python-snappy/Config.in" - source "package/python-socketio/Config.in" - source "package/python-sockjs/Config.in" - source "package/python-sortedcontainers/Config.in" - source "package/python-soupsieve/Config.in" - source "package/python-spidev/Config.in" - source "package/python-sqlalchemy/Config.in" - source "package/python-sqliteschema/Config.in" - source "package/python-sqlparse/Config.in" - source "package/python-subprocess32/Config.in" - source "package/python-systemd/Config.in" - source "package/python-tabledata/Config.in" - source "package/python-tempora/Config.in" - source "package/python-termcolor/Config.in" - source "package/python-terminaltables/Config.in" - source "package/python-texttable/Config.in" - source "package/python-thrift/Config.in" - source "package/python-tinyrpc/Config.in" - source "package/python-tomako/Config.in" - source "package/python-toml/Config.in" - source "package/python-tornado/Config.in" - source "package/python-tqdm/Config.in" - source "package/python-traitlets/Config.in" - source "package/python-treq/Config.in" - source "package/python-twisted/Config.in" - source "package/python-txaio/Config.in" - source "package/python-txdbus/Config.in" - source "package/python-txtorcon/Config.in" - source "package/python-typepy/Config.in" - source "package/python-typing/Config.in" - source "package/python-typing-extensions/Config.in" - source "package/python-u-msgpack/Config.in" - source "package/python-ubjson/Config.in" - source "package/python-ujson/Config.in" - source "package/python-urllib3/Config.in" - source "package/python-urwid/Config.in" - source "package/python-uvloop/Config.in" - source "package/python-validators/Config.in" - source "package/python-versiontools/Config.in" - source "package/python-visitor/Config.in" - source "package/python-watchdog/Config.in" - source "package/python-wcwidth/Config.in" - source "package/python-web2py/Config.in" - source "package/python-webencodings/Config.in" - source "package/python-webob/Config.in" - source "package/python-webpy/Config.in" - source "package/python-websocket-client/Config.in" - source "package/python-websockets/Config.in" - source "package/python-werkzeug/Config.in" - source "package/python-whoosh/Config.in" - source "package/python-wrapt/Config.in" - source "package/python-ws4py/Config.in" - source "package/python-wsaccel/Config.in" - source "package/python-wtforms/Config.in" - source "package/python-xlib/Config.in" - source "package/python-xlrd/Config.in" - source "package/python-xlsxwriter/Config.in" - source "package/python-xlutils/Config.in" - source "package/python-xlwt/Config.in" - source "package/python-xmltodict/Config.in" - source "package/python-xmodem/Config.in" - source "package/python-yarl/Config.in" - source "package/python-yatl/Config.in" - source "package/python-yieldfrom/Config.in" - source "package/python-zc-lockfile/Config.in" - source "package/python-zeroconf/Config.in" - source "package/python-zope-interface/Config.in" -endmenu -endif - source "package/quickjs/Config.in" - source "package/ruby/Config.in" - source "package/tcl/Config.in" -if BR2_PACKAGE_TCL -menu "Tcl libraries/modules" - source "package/expect/Config.in" - source "package/tcllib/Config.in" -endmenu -endif -endmenu - -menu "Libraries" - -menu "Audio/Sound" - source "package/alsa-lib/Config.in" - source "package/alure/Config.in" - source "package/aubio/Config.in" - source "package/bcg729/Config.in" - source "package/caps/Config.in" - source "package/fdk-aac/Config.in" - source "package/libao/Config.in" - source "package/libasplib/Config.in" - source "package/libbroadvoice/Config.in" - source "package/libcdaudio/Config.in" - source "package/libcddb/Config.in" - source "package/libcdio/Config.in" - source "package/libcdio-paranoia/Config.in" - source "package/libcodec2/Config.in" - source "package/libcue/Config.in" - source "package/libcuefile/Config.in" - source "package/libebur128/Config.in" - source "package/libg7221/Config.in" - source "package/libgsm/Config.in" - source "package/libid3tag/Config.in" - source "package/libilbc/Config.in" - source "package/liblo/Config.in" - source "package/libmad/Config.in" - source "package/libmodplug/Config.in" - source "package/libmpd/Config.in" - source "package/libmpdclient/Config.in" - source "package/libreplaygain/Config.in" - source "package/libsamplerate/Config.in" - source "package/libsidplay2/Config.in" - source "package/libsilk/Config.in" - source "package/libsndfile/Config.in" - source "package/libsoundtouch/Config.in" - source "package/libsoxr/Config.in" - source "package/libvorbis/Config.in" - source "package/mp4v2/Config.in" - source "package/openal/Config.in" - source "package/opencore-amr/Config.in" - source "package/opus/Config.in" - source "package/opusfile/Config.in" - source "package/portaudio/Config.in" - source "package/sbc/Config.in" - source "package/spandsp/Config.in" - source "package/speex/Config.in" - source "package/speexdsp/Config.in" - source "package/taglib/Config.in" - source "package/tinyalsa/Config.in" - source "package/tremor/Config.in" - source "package/vo-aacenc/Config.in" - source "package/webrtc-audio-processing/Config.in" -endmenu - -menu "Compression and decompression" - source "package/libarchive/Config.in" - source "package/libmspack/Config.in" - source "package/libsquish/Config.in" - source "package/libzip/Config.in" - source "package/lz4/Config.in" - source "package/lzo/Config.in" - source "package/minizip/Config.in" - source "package/snappy/Config.in" - source "package/szip/Config.in" - source "package/zlib/Config.in" - source "package/zziplib/Config.in" -endmenu - -menu "Crypto" - source "package/bearssl/Config.in" - source "package/beecrypt/Config.in" - source "package/botan/Config.in" - source "package/ca-certificates/Config.in" - source "package/cryptodev/Config.in" - source "package/gcr/Config.in" - source "package/gnutls/Config.in" - source "package/libargon2/Config.in" - source "package/libassuan/Config.in" - source "package/libgcrypt/Config.in" - source "package/libgpg-error/Config.in" - source "package/libgpgme/Config.in" - source "package/libkcapi/Config.in" - source "package/libksba/Config.in" - source "package/libmcrypt/Config.in" - source "package/libmhash/Config.in" - source "package/libnss/Config.in" - source "package/libolm/Config.in" - source "package/libp11/Config.in" - source "package/libscrypt/Config.in" - source "package/libsecret/Config.in" - source "package/libsha1/Config.in" - source "package/libsodium/Config.in" - source "package/libssh/Config.in" - source "package/libssh2/Config.in" - source "package/libtomcrypt/Config.in" - source "package/libuecc/Config.in" - source "package/libxcrypt/Config.in" - source "package/mbedtls/Config.in" - source "package/nettle/Config.in" - source "package/openssl/Config.in" - source "package/pkcs11-helper/Config.in" - source "package/rhash/Config.in" - source "package/tinydtls/Config.in" - source "package/tpm2-pkcs11/Config.in" - source "package/tpm2-tss/Config.in" - source "package/trousers/Config.in" - source "package/ustream-ssl/Config.in" - source "package/wolfssl/Config.in" -endmenu - -menu "Database" - source "package/berkeleydb/Config.in" - source "package/cppdb/Config.in" - source "package/gdbm/Config.in" - source "package/hiredis/Config.in" - source "package/kompexsqlite/Config.in" - source "package/leveldb/Config.in" - source "package/libgit2/Config.in" - source "package/libmdbx/Config.in" - source "package/libodb/Config.in" - source "package/libodb-boost/Config.in" - source "package/libodb-mysql/Config.in" - source "package/libodb-pgsql/Config.in" - source "package/libpqxx/Config.in" - source "package/mongodb/Config.in" - source "package/mysql/Config.in" - source "package/postgresql/Config.in" -if BR2_PACKAGE_POSTGRESQL - source "package/postgis/Config.in" -endif - source "package/redis/Config.in" - source "package/rocksdb/Config.in" - source "package/sqlcipher/Config.in" - source "package/sqlite/Config.in" - source "package/timescaledb/Config.in" - source "package/unixodbc/Config.in" -endmenu - -menu "Filesystem" - source "package/gamin/Config.in" - source "package/libconfig/Config.in" - source "package/libconfuse/Config.in" - source "package/libfuse/Config.in" - source "package/libfuse3/Config.in" - source "package/liblockfile/Config.in" - source "package/libnfs/Config.in" - source "package/libsysfs/Config.in" - source "package/lockdev/Config.in" - source "package/physfs/Config.in" -endmenu - -menu "Graphics" - source "package/assimp/Config.in" - source "package/at-spi2-atk/Config.in" - source "package/at-spi2-core/Config.in" - source "package/atk/Config.in" - source "package/atkmm/Config.in" - source "package/bayer2rgb-neon/Config.in" - source "package/bullet/Config.in" - source "package/cairo/Config.in" - source "package/cairomm/Config.in" - source "package/chipmunk/Config.in" - source "package/exempi/Config.in" - source "package/exiv2/Config.in" - source "package/fltk/Config.in" - source "package/fontconfig/Config.in" - source "package/freetype/Config.in" - source "package/gd/Config.in" - source "package/gdk-pixbuf/Config.in" - source "package/giblib/Config.in" - source "package/giflib/Config.in" - source "package/granite/Config.in" - source "package/graphite2/Config.in" - source "package/gtkmm3/Config.in" - source "package/gtksourceview/Config.in" - source "package/harfbuzz/Config.in" - source "package/ijs/Config.in" - source "package/imlib2/Config.in" - source "package/intel-gmmlib/Config.in" - source "package/intel-mediadriver/Config.in" - source "package/intel-mediasdk/Config.in" - source "package/irrlicht/Config.in" - source "package/jasper/Config.in" - source "package/jbig2dec/Config.in" - source "package/jpeg/Config.in" - source "package/kmsxx/Config.in" - source "package/lcms2/Config.in" - source "package/lensfun/Config.in" - source "package/leptonica/Config.in" - source "package/lesstif/Config.in" - source "package/libart/Config.in" - source "package/libdmtx/Config.in" - source "package/libdri2/Config.in" - source "package/libdrm/Config.in" - source "package/libepoxy/Config.in" - source "package/libexif/Config.in" - source "package/libfm/Config.in" - source "package/libfm-extra/Config.in" - source "package/libfreeglut/Config.in" - source "package/libfreeimage/Config.in" - source "package/libgdiplus/Config.in" - source "package/libgeotiff/Config.in" - source "package/libglade/Config.in" - source "package/libglew/Config.in" - source "package/libglfw/Config.in" - source "package/libglu/Config.in" - source "package/libgta/Config.in" - source "package/libgtk2/Config.in" - source "package/libgtk3/Config.in" - source "package/libmediaart/Config.in" - source "package/libmng/Config.in" - source "package/libpng/Config.in" - source "package/libqrencode/Config.in" - source "package/libraw/Config.in" - source "package/librsvg/Config.in" - source "package/libsoil/Config.in" - source "package/libsvg/Config.in" - source "package/libsvg-cairo/Config.in" - source "package/libsvgtiny/Config.in" - source "package/libva/Config.in" - source "package/libva-intel-driver/Config.in" - source "package/libvdpau/Config.in" - source "package/libvips/Config.in" - source "package/libwpe/Config.in" - source "package/menu-cache/Config.in" - source "package/opencv3/Config.in" - source "package/opengl/Config.in" - source "package/openjpeg/Config.in" - source "package/pango/Config.in" - source "package/pangomm/Config.in" - source "package/pipewire/Config.in" - source "package/pixman/Config.in" - source "package/poppler/Config.in" - source "package/powervr/Config.in" - source "package/tiff/Config.in" - source "package/unclutter-xfixes/Config.in" - source "package/waffle/Config.in" - source "package/wayland/Config.in" - source "package/wayland-protocols/Config.in" - source "package/wayland-utils/Config.in" - source "package/waylandpp/Config.in" - source "package/webkitgtk/Config.in" - source "package/webp/Config.in" - source "package/wlroots/Config.in" - source "package/woff2/Config.in" - source "package/wpebackend-fdo/Config.in" - source "package/wpewebkit/Config.in" - source "package/zbar/Config.in" - source "package/zxing-cpp/Config.in" -endmenu - -menu "Hardware handling" - source "package/acsccid/Config.in" - source "package/bcm2835/Config.in" - source "package/c-periphery/Config.in" - source "package/ccid/Config.in" - source "package/dtc/Config.in" - source "package/gnu-efi/Config.in" - source "package/hackrf/Config.in" - source "package/hidapi/Config.in" - source "package/jitterentropy-library/Config.in" - source "package/lcdapi/Config.in" - source "package/let-me-create/Config.in" - source "package/libaio/Config.in" - source "package/libatasmart/Config.in" - source "package/libblockdev/Config.in" - source "package/libcec/Config.in" - source "package/libfreefare/Config.in" - source "package/libftdi/Config.in" - source "package/libftdi1/Config.in" - source "package/libgphoto2/Config.in" - source "package/libgpiod/Config.in" - source "package/libgudev/Config.in" - source "package/libhid/Config.in" - source "package/libiio/Config.in" - source "package/libinput/Config.in" - source "package/libiqrf/Config.in" - source "package/libllcp/Config.in" - source "package/libmbim/Config.in" - source "package/libnfc/Config.in" - source "package/libpciaccess/Config.in" - source "package/libphidget/Config.in" - source "package/libpri/Config.in" - source "package/libqmi/Config.in" - source "package/libqrtr-glib/Config.in" - source "package/libraw1394/Config.in" - source "package/librtas/Config.in" - source "package/librtlsdr/Config.in" - source "package/libserial/Config.in" - source "package/libserialport/Config.in" - source "package/libsigrok/Config.in" - source "package/libsigrokdecode/Config.in" - source "package/libsoc/Config.in" - source "package/libss7/Config.in" - source "package/libusb/Config.in" - source "package/libusb-compat/Config.in" - source "package/libusbgx/Config.in" - source "package/libv4l/Config.in" - source "package/libxkbcommon/Config.in" - source "package/mraa/Config.in" - source "package/mtdev/Config.in" - source "package/ne10/Config.in" - source "package/neardal/Config.in" - source "package/owfs/Config.in" - source "package/pcsc-lite/Config.in" - source "package/tslib/Config.in" - source "package/uhd/Config.in" - source "package/urg/Config.in" -endmenu - -menu "Javascript" - source "package/angularjs/Config.in" -if BR2_PACKAGE_ANGULARJS -menu "External AngularJS plugins" - source "package/angular-websocket/Config.in" -endmenu -endif - source "package/bootstrap/Config.in" - source "package/chartjs/Config.in" - source "package/datatables/Config.in" - source "package/datatables-buttons/Config.in" - source "package/datatables-fixedcolumns/Config.in" - source "package/datatables-responsive/Config.in" - source "package/duktape/Config.in" - source "package/explorercanvas/Config.in" - source "package/flot/Config.in" - source "package/jquery/Config.in" -if BR2_PACKAGE_JQUERY -menu "External jQuery plugins" - source "package/jquery-datetimepicker/Config.in" - source "package/jquery-keyboard/Config.in" - source "package/jquery-mobile/Config.in" - source "package/jquery-sidebar/Config.in" - source "package/jquery-sparkline/Config.in" - source "package/jquery-ui/Config.in" - source "package/jquery-ui-themes/Config.in" - source "package/jquery-validation/Config.in" -endmenu -endif - source "package/jsmin/Config.in" - source "package/json-javascript/Config.in" - source "package/jszip/Config.in" - source "package/openlayers/Config.in" - source "package/popperjs/Config.in" - source "package/spidermonkey/Config.in" - source "package/vuejs/Config.in" -endmenu - -menu "JSON/XML" - source "package/benejson/Config.in" - source "package/cjson/Config.in" - source "package/expat/Config.in" - source "package/jansson/Config.in" - source "package/jose/Config.in" - source "package/jsmn/Config.in" - source "package/json-c/Config.in" - source "package/json-for-modern-cpp/Config.in" - source "package/json-glib/Config.in" - source "package/jsoncpp/Config.in" - source "package/libbson/Config.in" - source "package/libfastjson/Config.in" - source "package/libjson/Config.in" - source "package/libroxml/Config.in" - source "package/libucl/Config.in" - source "package/libxml2/Config.in" - source "package/libxmlpp/Config.in" - source "package/libxmlrpc/Config.in" - source "package/libxslt/Config.in" - source "package/libyaml/Config.in" - source "package/mxml/Config.in" - source "package/pugixml/Config.in" - source "package/rapidjson/Config.in" - source "package/rapidxml/Config.in" - source "package/raptor/Config.in" - source "package/tinyxml/Config.in" - source "package/tinyxml2/Config.in" - source "package/valijson/Config.in" - source "package/xerces/Config.in" - source "package/yajl/Config.in" - source "package/yaml-cpp/Config.in" -endmenu - -menu "Logging" - source "package/glog/Config.in" - source "package/liblog4c-localtime/Config.in" - source "package/liblogging/Config.in" - source "package/log4cplus/Config.in" - source "package/log4cpp/Config.in" - source "package/log4cxx/Config.in" - source "package/log4qt/Config.in" - source "package/opentracing-cpp/Config.in" - source "package/spdlog/Config.in" - source "package/zlog/Config.in" -endmenu - -menu "Multimedia" - source "package/bitstream/Config.in" - source "package/dav1d/Config.in" - source "package/kvazaar/Config.in" - source "package/libaacs/Config.in" - source "package/libass/Config.in" - source "package/libbdplus/Config.in" - source "package/libbluray/Config.in" - source "package/libcamera/Config.in" - source "package/libdcadec/Config.in" - source "package/libdvbcsa/Config.in" - source "package/libdvbpsi/Config.in" - source "package/libdvbsi/Config.in" - source "package/libdvdcss/Config.in" - source "package/libdvdnav/Config.in" - source "package/libdvdread/Config.in" - source "package/libebml/Config.in" - source "package/libhdhomerun/Config.in" - source "package/libimxvpuapi/Config.in" - source "package/libmatroska/Config.in" - source "package/libmms/Config.in" - source "package/libmpeg2/Config.in" - source "package/libogg/Config.in" - source "package/libopenh264/Config.in" - source "package/libopusenc/Config.in" - source "package/libtheora/Config.in" - source "package/libudfread/Config.in" - source "package/libvpx/Config.in" - source "package/libyuv/Config.in" - source "package/live555/Config.in" - source "package/mediastreamer/Config.in" - source "package/x264/Config.in" - source "package/x265/Config.in" -endmenu - -menu "Networking" - source "package/agentpp/Config.in" - source "package/azmq/Config.in" - source "package/azure-iot-sdk-c/Config.in" - source "package/batman-adv/Config.in" - source "package/belle-sip/Config.in" - source "package/bluez5_utils-headers/Config.in" - source "package/c-ares/Config.in" - source "package/canfestival/Config.in" - source "package/cgic/Config.in" - source "package/cppzmq/Config.in" - source "package/curlpp/Config.in" - source "package/czmq/Config.in" - source "package/daq/Config.in" - source "package/davici/Config.in" - source "package/enet/Config.in" - source "package/filemq/Config.in" - source "package/flickcurl/Config.in" - source "package/fmlib/Config.in" - source "package/freeradius-client/Config.in" - source "package/gensio/Config.in" - source "package/geoip/Config.in" - source "package/glib-networking/Config.in" - source "package/grpc/Config.in" - source "package/gssdp/Config.in" - source "package/gupnp/Config.in" - source "package/gupnp-av/Config.in" - source "package/gupnp-dlna/Config.in" - source "package/ibrcommon/Config.in" - source "package/ibrdtn/Config.in" - source "package/libcgi/Config.in" - source "package/libcgicc/Config.in" - source "package/libcoap/Config.in" - source "package/libcpprestsdk/Config.in" - source "package/libcurl/Config.in" - source "package/libdnet/Config.in" - source "package/libeXosip2/Config.in" - source "package/libfcgi/Config.in" - source "package/libgsasl/Config.in" - source "package/libhtp/Config.in" - source "package/libhttpparser/Config.in" - source "package/libhttpserver/Config.in" - source "package/libidn/Config.in" - source "package/libidn2/Config.in" - source "package/libiscsi/Config.in" - source "package/libkrb5/Config.in" - source "package/libldns/Config.in" - source "package/libmaxminddb/Config.in" - source "package/libmbus/Config.in" - source "package/libmemcached/Config.in" - source "package/libmicrohttpd/Config.in" - source "package/libminiupnpc/Config.in" - source "package/libmnl/Config.in" - source "package/libmodbus/Config.in" - source "package/libmodsecurity/Config.in" - source "package/libnatpmp/Config.in" - source "package/libndp/Config.in" - source "package/libnet/Config.in" - source "package/libnetconf2/Config.in" - source "package/libnetfilter_acct/Config.in" - source "package/libnetfilter_conntrack/Config.in" - source "package/libnetfilter_cthelper/Config.in" - source "package/libnetfilter_cttimeout/Config.in" - source "package/libnetfilter_log/Config.in" - source "package/libnetfilter_queue/Config.in" - source "package/libnfnetlink/Config.in" - source "package/libnftnl/Config.in" - source "package/libnice/Config.in" - source "package/libnids/Config.in" - source "package/libnl/Config.in" - source "package/libnpupnp/Config.in" - source "package/liboauth/Config.in" - source "package/liboping/Config.in" - source "package/libosip2/Config.in" - source "package/libpagekite/Config.in" - source "package/libpcap/Config.in" - source "package/libpjsip/Config.in" - source "package/librelp/Config.in" - source "package/librsync/Config.in" - source "package/libshairplay/Config.in" - source "package/libshout/Config.in" - source "package/libsocketcan/Config.in" - source "package/libsoup/Config.in" - source "package/libsrtp/Config.in" - source "package/libstrophe/Config.in" - source "package/libtelnet/Config.in" - source "package/libtirpc/Config.in" - source "package/libtorrent/Config.in" - source "package/libtorrent-rasterbar/Config.in" - source "package/libuev/Config.in" - source "package/libuhttpd/Config.in" - source "package/libupnp/Config.in" - source "package/libupnpp/Config.in" - source "package/liburiparser/Config.in" - source "package/libuwsc/Config.in" - source "package/libvncserver/Config.in" - source "package/libwebsock/Config.in" - source "package/libwebsockets/Config.in" - source "package/libyang/Config.in" - source "package/lksctp-tools/Config.in" - source "package/mbuffer/Config.in" - source "package/mongoose/Config.in" - source "package/nanomsg/Config.in" - source "package/neon/Config.in" - source "package/netopeer2/Config.in" - source "package/nghttp2/Config.in" - source "package/norm/Config.in" - source "package/nss-mdns/Config.in" - source "package/nss-myhostname/Config.in" - source "package/nss-pam-ldapd/Config.in" - source "package/omniorb/Config.in" - source "package/open62541/Config.in" - source "package/openldap/Config.in" - source "package/openmpi/Config.in" - source "package/openpgm/Config.in" - source "package/openzwave/Config.in" - source "package/ortp/Config.in" - source "package/paho-mqtt-c/Config.in" - source "package/paho-mqtt-cpp/Config.in" - source "package/pistache/Config.in" - source "package/qdecoder/Config.in" - source "package/qpid-proton/Config.in" - source "package/rabbitmq-c/Config.in" - source "package/resiprocate/Config.in" - source "package/restclient-cpp/Config.in" - source "package/rtmpdump/Config.in" - source "package/siproxd/Config.in" - source "package/slirp/Config.in" - source "package/snmppp/Config.in" - source "package/sofia-sip/Config.in" - source "package/sysrepo/Config.in" - source "package/thrift/Config.in" - source "package/usbredir/Config.in" - source "package/wampcc/Config.in" - source "package/websocketpp/Config.in" - source "package/zeromq/Config.in" - source "package/zmqpp/Config.in" - source "package/zyre/Config.in" -endmenu - -menu "Other" - source "package/apr/Config.in" - source "package/apr-util/Config.in" - source "package/argp-standalone/Config.in" - source "package/armadillo/Config.in" - source "package/atf/Config.in" - source "package/avro-c/Config.in" - source "package/bctoolbox/Config.in" - source "package/bdwgc/Config.in" - source "package/belr/Config.in" - source "package/boost/Config.in" - source "package/c-capnproto/Config.in" - source "package/capnproto/Config.in" - source "package/cctz/Config.in" - source "package/cereal/Config.in" - source "package/clang/Config.in" - source "package/clapack/Config.in" - source "package/cmocka/Config.in" - source "package/cppcms/Config.in" - source "package/cracklib/Config.in" - source "package/dawgdic/Config.in" - source "package/ding-libs/Config.in" - source "package/eigen/Config.in" - source "package/elfutils/Config.in" - source "package/ell/Config.in" - source "package/fftw/Config.in" - source "package/flann/Config.in" - source "package/flatbuffers/Config.in" - source "package/flatcc/Config.in" - source "package/gconf/Config.in" - source "package/gflags/Config.in" - source "package/gli/Config.in" - source "package/glibmm/Config.in" - source "package/glm/Config.in" - source "package/gmp/Config.in" - source "package/gobject-introspection/Config.in" - source "package/gsl/Config.in" - source "package/gtest/Config.in" - source "package/jemalloc/Config.in" - source "package/lapack/Config.in" - source "package/libabseil-cpp/Config.in" - source "package/libargtable2/Config.in" - source "package/libatomic_ops/Config.in" - source "package/libavl/Config.in" - source "package/libb64/Config.in" - source "package/libbacktrace/Config.in" - source "package/libbsd/Config.in" - source "package/libbytesize/Config.in" - source "package/libcap/Config.in" - source "package/libcap-ng/Config.in" - source "package/libcgroup/Config.in" - source "package/libclc/Config.in" - source "package/libcofi/Config.in" - source "package/libcorrect/Config.in" - source "package/libcrossguid/Config.in" - source "package/libcsv/Config.in" - source "package/libdaemon/Config.in" - source "package/libeastl/Config.in" - source "package/libee/Config.in" - source "package/libev/Config.in" - source "package/libevdev/Config.in" - source "package/libevent/Config.in" - source "package/libffi/Config.in" - source "package/libgee/Config.in" - source "package/libgeos/Config.in" - source "package/libglib2/Config.in" - source "package/libglob/Config.in" - source "package/libical/Config.in" - source "package/libite/Config.in" - source "package/liblinear/Config.in" - source "package/libloki/Config.in" - source "package/libnpth/Config.in" - source "package/libnspr/Config.in" - source "package/libpfm4/Config.in" - source "package/libplatform/Config.in" - source "package/libplist/Config.in" - source "package/libpthread-stubs/Config.in" - source "package/libpthsem/Config.in" - source "package/libpwquality/Config.in" - source "package/libseccomp/Config.in" - source "package/libsigc/Config.in" - source "package/libsigsegv/Config.in" - source "package/libspatialindex/Config.in" - source "package/libtasn1/Config.in" - source "package/libtommath/Config.in" - source "package/libtpl/Config.in" - source "package/libubox/Config.in" - source "package/libuci/Config.in" - source "package/libunwind/Config.in" - source "package/liburcu/Config.in" - source "package/libuv/Config.in" - source "package/lightning/Config.in" - source "package/linux-pam/Config.in" -if BR2_PACKAGE_LINUX_PAM -comment "linux-pam plugins" - source "package/libpam-nfc/Config.in" - source "package/libpam-radius-auth/Config.in" - source "package/libpam-tacplus/Config.in" -endif - source "package/liquid-dsp/Config.in" - source "package/llvm/Config.in" - source "package/lttng-libust/Config.in" - source "package/matio/Config.in" - source "package/mpc/Config.in" - source "package/mpdecimal/Config.in" - source "package/mpfr/Config.in" - source "package/mpir/Config.in" - source "package/msgpack/Config.in" - source "package/musl-compat-headers/Config.in" - source "package/musl-fts/Config.in" - source "package/openblas/Config.in" - source "package/orc/Config.in" - source "package/p11-kit/Config.in" - source "package/poco/Config.in" - source "package/protobuf/Config.in" - source "package/protobuf-c/Config.in" - source "package/protozero/Config.in" - source "package/qhull/Config.in" - source "package/qlibc/Config.in" - source "package/riemann-c-client/Config.in" - source "package/shapelib/Config.in" - source "package/skalibs/Config.in" - source "package/sphinxbase/Config.in" - source "package/startup-notification/Config.in" - source "package/tinycbor/Config.in" - source "package/tz/Config.in" - source "package/tzdata/Config.in" - source "package/uvw/Config.in" - source "package/xapian/Config.in" -endmenu - -menu "Security" - source "package/libapparmor/Config.in" - source "package/libselinux/Config.in" - source "package/libsemanage/Config.in" - source "package/libsepol/Config.in" - source "package/safeclib/Config.in" -endmenu - -menu "Text and terminal handling" - source "package/augeas/Config.in" - source "package/enchant/Config.in" - source "package/fmt/Config.in" - source "package/fstrcmp/Config.in" - source "package/icu/Config.in" - source "package/inih/Config.in" - source "package/libcli/Config.in" - source "package/libedit/Config.in" - source "package/libenca/Config.in" - source "package/libestr/Config.in" - source "package/libfribidi/Config.in" - source "package/libiconv/Config.in" - source "package/libunistring/Config.in" - source "package/linenoise/Config.in" - source "package/ncurses/Config.in" - source "package/newt/Config.in" - source "package/oniguruma/Config.in" - source "package/pcre/Config.in" - source "package/pcre2/Config.in" - source "package/popt/Config.in" - source "package/re2/Config.in" - source "package/readline/Config.in" - source "package/slang/Config.in" - source "package/tclap/Config.in" - source "package/utf8proc/Config.in" -endmenu - -endmenu - -menu "Mail" - source "package/dovecot/Config.in" - source "package/exim/Config.in" - source "package/fetchmail/Config.in" - source "package/heirloom-mailx/Config.in" - source "package/libesmtp/Config.in" - source "package/msmtp/Config.in" - source "package/mutt/Config.in" - source "package/sylpheed/Config.in" -endmenu - -menu "Miscellaneous" - source "package/aespipe/Config.in" - source "package/bc/Config.in" - source "package/bitcoin/Config.in" - source "package/clamav/Config.in" - source "package/collectd/Config.in" - source "package/collectl/Config.in" - source "package/domoticz/Config.in" - source "package/empty/Config.in" - source "package/gnuradio/Config.in" - source "package/googlefontdirectory/Config.in" - source "package/gqrx/Config.in" - source "package/gr-osmosdr/Config.in" - source "package/gsettings-desktop-schemas/Config.in" - source "package/haveged/Config.in" - source "package/linux-syscall-support/Config.in" - source "package/mcrypt/Config.in" - source "package/mobile-broadband-provider-info/Config.in" - source "package/netdata/Config.in" - source "package/proj/Config.in" - source "package/qemu/Config.in" - source "package/qpdf/Config.in" - source "package/shared-mime-info/Config.in" - source "package/sunwait/Config.in" - source "package/taskd/Config.in" - source "package/wine/Config.in" - source "package/xutil_util-macros/Config.in" -endmenu - -menu "Networking applications" - source "package/aircrack-ng/Config.in" - source "package/aoetools/Config.in" - source "package/apache/Config.in" - source "package/argus/Config.in" - source "package/arp-scan/Config.in" - source "package/arptables/Config.in" - source "package/asterisk/Config.in" - source "package/atftp/Config.in" - source "package/autossh/Config.in" - source "package/avahi/Config.in" - source "package/axel/Config.in" - source "package/babeld/Config.in" - source "package/bandwidthd/Config.in" - source "package/batctl/Config.in" - source "package/bcusdk/Config.in" - source "package/bind/Config.in" - source "package/bird/Config.in" - source "package/bluez-tools/Config.in" - source "package/bluez5_utils/Config.in" - source "package/bmon/Config.in" - source "package/boinc/Config.in" - source "package/brcm-patchram-plus/Config.in" - source "package/bridge-utils/Config.in" - source "package/bwm-ng/Config.in" - source "package/c-icap/Config.in" - source "package/c-icap-modules/Config.in" - source "package/can-utils/Config.in" - source "package/cannelloni/Config.in" - source "package/casync/Config.in" - source "package/chrony/Config.in" - source "package/civetweb/Config.in" - source "package/connman/Config.in" - source "package/connman-gtk/Config.in" - source "package/conntrack-tools/Config.in" - source "package/corkscrew/Config.in" - source "package/crda/Config.in" - source "package/ctorrent/Config.in" - source "package/cups/Config.in" - source "package/cups-filters/Config.in" - source "package/dante/Config.in" - source "package/darkhttpd/Config.in" - source "package/dehydrated/Config.in" - source "package/dhcp/Config.in" - source "package/dhcpcd/Config.in" - source "package/dhcpdump/Config.in" - source "package/dnsmasq/Config.in" - source "package/drbd-utils/Config.in" - source "package/dropbear/Config.in" - source "package/easyframes/Config.in" - source "package/ebtables/Config.in" - source "package/ejabberd/Config.in" - source "package/ethtool/Config.in" - source "package/faifa/Config.in" - source "package/fail2ban/Config.in" - source "package/fastd/Config.in" - source "package/fcgiwrap/Config.in" - source "package/flannel/Config.in" - source "package/fmc/Config.in" - source "package/fping/Config.in" - source "package/freeswitch/Config.in" - source "package/freeswitch-mod-bcg729/Config.in" - source "package/frr/Config.in" - source "package/gerbera/Config.in" - source "package/gesftpserver/Config.in" - source "package/gloox/Config.in" - source "package/glorytun/Config.in" - source "package/gupnp-tools/Config.in" - source "package/gutenprint/Config.in" - source "package/hans/Config.in" - source "package/haproxy/Config.in" - source "package/hiawatha/Config.in" - source "package/hostapd/Config.in" - source "package/hplip/Config.in" - source "package/htpdate/Config.in" - source "package/httping/Config.in" - source "package/i2pd/Config.in" - source "package/ibrdtn-tools/Config.in" - source "package/ibrdtnd/Config.in" - source "package/ifenslave/Config.in" - source "package/ifmetric/Config.in" - source "package/ifplugd/Config.in" - source "package/iftop/Config.in" - source "package/ifupdown/Config.in" - source "package/ifupdown-scripts/Config.in" - source "package/igd2-for-linux/Config.in" - source "package/igh-ethercat/Config.in" - source "package/igmpproxy/Config.in" - source "package/inadyn/Config.in" - source "package/iodine/Config.in" - source "package/ipcalc/Config.in" - source "package/iperf/Config.in" - source "package/iperf3/Config.in" - source "package/iproute2/Config.in" - source "package/ipset/Config.in" - source "package/iptables/Config.in" - source "package/iptraf-ng/Config.in" - source "package/iputils/Config.in" - source "package/irssi/Config.in" - source "package/iw/Config.in" - source "package/iwd/Config.in" - source "package/janus-gateway/Config.in" - source "package/keepalived/Config.in" - source "package/kismet/Config.in" - source "package/knock/Config.in" - source "package/leafnode2/Config.in" - source "package/lft/Config.in" - source "package/lftp/Config.in" - source "package/lighttpd/Config.in" - source "package/linknx/Config.in" - source "package/links/Config.in" - source "package/linphone/Config.in" - source "package/linux-zigbee/Config.in" - source "package/linuxptp/Config.in" - source "package/lldpd/Config.in" - source "package/lrzsz/Config.in" - source "package/lynx/Config.in" - source "package/macchanger/Config.in" - source "package/memcached/Config.in" - source "package/mii-diag/Config.in" - source "package/mini-snmpd/Config.in" - source "package/minidlna/Config.in" - source "package/minissdpd/Config.in" - source "package/mjpg-streamer/Config.in" - source "package/modem-manager/Config.in" - source "package/mongrel2/Config.in" - source "package/mosh/Config.in" - source "package/mosquitto/Config.in" - source "package/mrouted/Config.in" - source "package/mrp/Config.in" - source "package/mtr/Config.in" - source "package/nbd/Config.in" - source "package/ncftp/Config.in" - source "package/ndisc6/Config.in" - source "package/net-tools/Config.in" - source "package/netatalk/Config.in" - source "package/netcalc/Config.in" - source "package/netcat/Config.in" - source "package/netcat-openbsd/Config.in" - source "package/netplug/Config.in" - source "package/netsnmp/Config.in" - source "package/netstat-nat/Config.in" - source "package/network-manager/Config.in" - source "package/network-manager-openvpn/Config.in" - source "package/nfacct/Config.in" - source "package/nftables/Config.in" - source "package/nginx/Config.in" -if BR2_PACKAGE_NGINX -menu "External nginx modules" - source "package/nginx-dav-ext/Config.in" - source "package/nginx-modsecurity/Config.in" - source "package/nginx-naxsi/Config.in" - source "package/nginx-upload/Config.in" -endmenu -endif - source "package/ngircd/Config.in" - source "package/ngrep/Config.in" - source "package/nload/Config.in" - source "package/nmap/Config.in" - source "package/noip/Config.in" - source "package/ntp/Config.in" - source "package/nuttcp/Config.in" - source "package/odhcp6c/Config.in" - source "package/odhcploc/Config.in" - source "package/olsr/Config.in" - source "package/open-lldp/Config.in" - source "package/open-plc-utils/Config.in" - source "package/openntpd/Config.in" - source "package/openobex/Config.in" - source "package/openresolv/Config.in" - source "package/openssh/Config.in" - source "package/openswan/Config.in" - source "package/openvpn/Config.in" - source "package/p910nd/Config.in" - source "package/parprouted/Config.in" - source "package/phidgetwebservice/Config.in" - source "package/phytool/Config.in" - source "package/pimd/Config.in" - source "package/pixiewps/Config.in" - source "package/pound/Config.in" - source "package/pppd/Config.in" - source "package/pptp-linux/Config.in" - source "package/privoxy/Config.in" - source "package/proftpd/Config.in" - source "package/prosody/Config.in" - source "package/proxychains-ng/Config.in" - source "package/ptpd/Config.in" - source "package/ptpd2/Config.in" - source "package/pure-ftpd/Config.in" - source "package/putty/Config.in" - source "package/quagga/Config.in" - source "package/rabbitmq-server/Config.in" - source "package/radvd/Config.in" - source "package/reaver/Config.in" - source "package/redir/Config.in" - source "package/rp-pppoe/Config.in" - source "package/rpcbind/Config.in" - source "package/rsh-redone/Config.in" - source "package/rsync/Config.in" - source "package/rtorrent/Config.in" - source "package/rtptools/Config.in" - source "package/rygel/Config.in" - source "package/s6-dns/Config.in" - source "package/s6-networking/Config.in" - source "package/samba4/Config.in" - source "package/sconeserver/Config.in" - source "package/ser2net/Config.in" - source "package/shadowsocks-libev/Config.in" - source "package/shairport-sync/Config.in" - source "package/shellinabox/Config.in" - source "package/smcroute/Config.in" - source "package/sngrep/Config.in" - source "package/snmpclitools/Config.in" - source "package/snort/Config.in" - source "package/socat/Config.in" - source "package/socketcand/Config.in" - source "package/softether/Config.in" - source "package/spawn-fcgi/Config.in" - source "package/spice/Config.in" - source "package/spice-protocol/Config.in" - source "package/squid/Config.in" - source "package/ssdp-responder/Config.in" - source "package/sshguard/Config.in" - source "package/sshpass/Config.in" - source "package/sslh/Config.in" - source "package/strongswan/Config.in" - source "package/stunnel/Config.in" - source "package/suricata/Config.in" - source "package/tcpdump/Config.in" - source "package/tcping/Config.in" - source "package/tcpreplay/Config.in" - source "package/tftpd/Config.in" - source "package/thttpd/Config.in" - source "package/tinc/Config.in" - source "package/tinyproxy/Config.in" - source "package/tinyssh/Config.in" - source "package/tor/Config.in" - source "package/traceroute/Config.in" - source "package/transmission/Config.in" - source "package/tunctl/Config.in" - source "package/tvheadend/Config.in" - source "package/uacme/Config.in" - source "package/udpcast/Config.in" - source "package/uftp/Config.in" - source "package/uhttpd/Config.in" - source "package/ulogd/Config.in" - source "package/unbound/Config.in" - source "package/uredir/Config.in" - source "package/ushare/Config.in" - source "package/ussp-push/Config.in" - source "package/vde2/Config.in" - source "package/vdr/Config.in" - source "package/vdr-plugin-vnsiserver/Config.in" - source "package/vnstat/Config.in" - source "package/vpnc/Config.in" - source "package/vsftpd/Config.in" - source "package/vtun/Config.in" - source "package/wavemon/Config.in" - source "package/wget/Config.in" - source "package/whois/Config.in" - source "package/wireguard-linux-compat/Config.in" - source "package/wireguard-tools/Config.in" - source "package/wireless-regdb/Config.in" - source "package/wireless_tools/Config.in" - source "package/wireshark/Config.in" - source "package/wpa_supplicant/Config.in" - source "package/wpan-tools/Config.in" - source "package/xinetd/Config.in" - source "package/xl2tp/Config.in" - source "package/xtables-addons/Config.in" - source "package/znc/Config.in" - -endmenu - -menu "Package managers" -comment "-------------------------------------------------------" -comment "Please note: " -comment "- Buildroot does *not* generate binary packages, " -comment "- Buildroot does *not* install any package database. " -comment "* " -comment "It is up to you to provide those by yourself if you " -comment "want to use any of those package managers. " -comment "* " -comment "See the manual: " -comment "http://buildroot.org/manual.html#faq-no-binary-packages" -comment "-------------------------------------------------------" - source "package/opkg/Config.in" - source "package/opkg-utils/Config.in" - source "package/rpm/Config.in" -endmenu - -menu "Real-Time" - source "package/rtai/Config.in" - source "package/xenomai/Config.in" -endmenu - -menu "Security" - source "package/apparmor/Config.in" - source "package/checkpolicy/Config.in" - source "package/ima-evm-utils/Config.in" - source "package/optee-benchmark/Config.in" - source "package/optee-client/Config.in" - source "package/optee-examples/Config.in" - source "package/optee-test/Config.in" - source "package/paxtest/Config.in" - source "package/policycoreutils/Config.in" - source "package/refpolicy/Config.in" - source "package/restorecond/Config.in" - source "package/selinux-python/Config.in" - source "package/semodule-utils/Config.in" - source "package/setools/Config.in" - source "package/urandom-scripts/Config.in" -endmenu - -menu "Shell and utilities" -comment "Shells" - source "package/bash/Config.in" - source "package/dash/Config.in" - source "package/mksh/Config.in" - source "package/zsh/Config.in" -comment "Utilities" - source "package/at/Config.in" - source "package/bash-completion/Config.in" - source "package/ccrypt/Config.in" - source "package/crudini/Config.in" - source "package/dialog/Config.in" - source "package/dtach/Config.in" - source "package/easy-rsa/Config.in" - source "package/file/Config.in" - source "package/gnupg/Config.in" - source "package/gnupg2/Config.in" - source "package/inotify-tools/Config.in" - source "package/lockfile-progs/Config.in" - source "package/logrotate/Config.in" - source "package/logsurfer/Config.in" - source "package/neofetch/Config.in" - source "package/pdmenu/Config.in" - source "package/pinentry/Config.in" - source "package/qprint/Config.in" - source "package/ranger/Config.in" - source "package/rtty/Config.in" - source "package/screen/Config.in" - source "package/screenfetch/Config.in" - source "package/sudo/Config.in" - source "package/terminology/Config.in" - source "package/time/Config.in" - source "package/tini/Config.in" - source "package/tmux/Config.in" - source "package/ttyd/Config.in" - source "package/which/Config.in" - source "package/xmlstarlet/Config.in" - source "package/xxhash/Config.in" - source "package/ytree/Config.in" -endmenu - -menu "System tools" - source "package/acl/Config.in" - source "package/android-tools/Config.in" - source "package/atop/Config.in" - source "package/attr/Config.in" - source "package/audit/Config.in" - source "package/balena-engine/Config.in" - source "package/bubblewrap/Config.in" - source "package/cgroupfs-mount/Config.in" - source "package/circus/Config.in" - source "package/containerd/Config.in" - source "package/coreutils/Config.in" - source "package/cpuload/Config.in" - source "package/daemon/Config.in" - source "package/dc3dd/Config.in" - source "package/dcron/Config.in" - source "package/ddrescue/Config.in" - source "package/debianutils/Config.in" - source "package/docker-cli/Config.in" - source "package/docker-compose/Config.in" - source "package/docker-engine/Config.in" - source "package/docker-proxy/Config.in" - source "package/earlyoom/Config.in" - source "package/efibootmgr/Config.in" - source "package/efivar/Config.in" - source "package/emlog/Config.in" - source "package/ftop/Config.in" - source "package/getent/Config.in" - source "package/gkrellm/Config.in" - source "package/htop/Config.in" - source "package/ibm-sw-tpm2/Config.in" - source "package/initscripts/Config.in" - source "package/iotop/Config.in" - source "package/iprutils/Config.in" - source "package/irqbalance/Config.in" - source "package/jailhouse/Config.in" - source "package/keyutils/Config.in" - source "package/kmod/Config.in" - source "package/kvmtool/Config.in" - source "package/libostree/Config.in" - source "package/lxc/Config.in" - source "package/makedumpfile/Config.in" - source "package/mender/Config.in" - source "package/mender-grubenv/Config.in" - source "package/mfoc/Config.in" - source "package/monit/Config.in" - source "package/multipath-tools/Config.in" - source "package/ncdu/Config.in" - source "package/netifrc/Config.in" - source "package/numactl/Config.in" - source "package/nut/Config.in" - source "package/openrc/Config.in" - source "package/openvmtools/Config.in" - source "package/pamtester/Config.in" - source "package/polkit/Config.in" - source "package/powerpc-utils/Config.in" - source "package/procps-ng/Config.in" - source "package/procrank_linux/Config.in" - source "package/psmisc/Config.in" - source "package/pwgen/Config.in" - source "package/quota/Config.in" - source "package/quotatool/Config.in" - source "package/rauc/Config.in" - source "package/rsyslog/Config.in" - source "package/runc/Config.in" - source "package/s390-tools/Config.in" - source "package/s6/Config.in" - source "package/s6-linux-init/Config.in" - source "package/s6-linux-utils/Config.in" - source "package/s6-portable-utils/Config.in" - source "package/s6-rc/Config.in" - source "package/scrub/Config.in" - source "package/scrypt/Config.in" - source "package/sdbusplus/Config.in" - source "package/smack/Config.in" - source "package/start-stop-daemon/Config.in" - source "package/supervisor/Config.in" - source "package/swupdate/Config.in" - source "package/sysklogd/Config.in" - source "package/syslog-ng/Config.in" - source "package/systemd/Config.in" - source "package/systemd-bootchart/Config.in" - source "package/sysvinit/Config.in" - source "package/tar/Config.in" - source "package/thermald/Config.in" - source "package/tpm-tools/Config.in" - source "package/tpm2-abrmd/Config.in" - source "package/tpm2-tools/Config.in" - source "package/tpm2-totp/Config.in" - source "package/unscd/Config.in" - source "package/util-linux/Config.in" - source "package/watchdog/Config.in" - source "package/xdg-dbus-proxy/Config.in" - source "package/xen/Config.in" - source "package/xvisor/Config.in" -endmenu - -menu "Text editors and viewers" - source "package/ed/Config.in" - source "package/joe/Config.in" - source "package/less/Config.in" - source "package/mc/Config.in" - source "package/mg/Config.in" - source "package/most/Config.in" - source "package/nano/Config.in" - source "package/uemacs/Config.in" - source "package/vim/Config.in" -endmenu - -endmenu diff --git a/buildroot-2021.05/package/Config.in.host b/buildroot-2021.05/package/Config.in.host deleted file mode 100644 index 064c98af..00000000 --- a/buildroot-2021.05/package/Config.in.host +++ /dev/null @@ -1,96 +0,0 @@ -menu "Host utilities" - - source "package/abootimg/Config.in.host" - source "package/aespipe/Config.in.host" - source "package/android-tools/Config.in.host" - source "package/asn1c/Config.in.host" - source "package/babeltrace2/Config.in.host" - source "package/btrfs-progs/Config.in.host" - source "package/cbootimage/Config.in.host" - source "package/checkpolicy/Config.in.host" - source "package/checksec/Config.in.host" - source "package/cmake/Config.in.host" - source "package/cramfs/Config.in.host" - source "package/cryptsetup/Config.in.host" - source "package/dbus-python/Config.in.host" - source "package/dfu-util/Config.in.host" - source "package/dos2unix/Config.in.host" - source "package/dosfstools/Config.in.host" - source "package/doxygen/Config.in.host" - source "package/dtc/Config.in.host" - source "package/e2fsprogs/Config.in.host" - source "package/e2tools/Config.in.host" - source "package/environment-setup/Config.in.host" - source "package/erofs-utils/Config.in.host" - source "package/eudev/Config.in.host" - source "package/exfatprogs/Config.in.host" - source "package/f2fs-tools/Config.in.host" - source "package/faketime/Config.in.host" - source "package/fatcat/Config.in.host" - source "package/fwup/Config.in.host" - source "package/genext2fs/Config.in.host" - source "package/genimage/Config.in.host" - source "package/genpart/Config.in.host" - source "package/gnupg/Config.in.host" - source "package/go/Config.in.host" - source "package/go-bootstrap/Config.in.host" - source "package/google-breakpad/Config.in.host" - source "package/gptfdisk/Config.in.host" - source "package/imagemagick/Config.in.host" - source "package/imx-mkimage/Config.in.host" - source "package/imx-usb-loader/Config.in.host" - source "package/jh71xx-tools/Config.in.host" - source "package/jq/Config.in.host" - source "package/jsmin/Config.in.host" - source "package/kmod/Config.in.host" - source "package/libp11/Config.in.host" - source "package/lld/Config.in.host" - source "package/lpc3250loader/Config.in.host" - source "package/lttng-babeltrace/Config.in.host" - source "package/mender-artifact/Config.in.host" - source "package/meson-tools/Config.in.host" - source "package/mfgtools/Config.in.host" - source "package/mkpasswd/Config.in.host" - source "package/mtd/Config.in.host" - source "package/mtools/Config.in.host" - source "package/mxsldr/Config.in.host" - source "package/odb/Config.in.host" - source "package/omap-u-boot-utils/Config.in.host" - source "package/openocd/Config.in.host" - source "package/opkg-utils/Config.in.host" - source "package/parted/Config.in.host" - source "package/patchelf/Config.in.host" - source "package/pigz/Config.in.host" - source "package/pkgconf/Config.in.host" - source "package/pru-software-support/Config.in.host" - source "package/pwgen/Config.in.host" - source "package/python/Config.in.host" - source "package/python-cython/Config.in.host" - source "package/python-lxml/Config.in.host" - source "package/python-six/Config.in.host" - source "package/python-xlrd/Config.in.host" - source "package/python3/Config.in.host" - source "package/qemu/Config.in.host" - source "package/qoriq-rcw/Config.in.host" - source "package/raspberrypi-usbboot/Config.in.host" - source "package/rauc/Config.in.host" - source "package/rustc/Config.in.host" - source "package/s6-rc/Config.in.host" - source "package/sam-ba/Config.in.host" - source "package/sdbusplus/Config.in.host" - source "package/sentry-cli/Config.in.host" - source "package/squashfs/Config.in.host" - source "package/sunxi-tools/Config.in.host" - source "package/swig/Config.in.host" - source "package/systemd/Config.in.host" - source "package/tegrarcm/Config.in.host" - source "package/ti-cgt-pru/Config.in.host" - source "package/uboot-tools/Config.in.host" - source "package/util-linux/Config.in.host" - source "package/utp_com/Config.in.host" - source "package/vboot-utils/Config.in.host" - source "package/xorriso/Config.in.host" - source "package/zip/Config.in.host" - source "package/zstd/Config.in.host" - -endmenu diff --git a/buildroot-2021.05/package/Makefile.in b/buildroot-2021.05/package/Makefile.in deleted file mode 100644 index f4028bc6..00000000 --- a/buildroot-2021.05/package/Makefile.in +++ /dev/null @@ -1,430 +0,0 @@ -ifndef MAKE -MAKE := make -endif -ifndef HOSTMAKE -HOSTMAKE = $(MAKE) -endif -HOSTMAKE := $(shell which $(HOSTMAKE) || type -p $(HOSTMAKE) || echo make) - -# If BR2_JLEVEL is 0, scale the maximum concurrency with the number of -# CPUs. An additional job is used in order to keep processors busy -# while waiting on I/O. -# If the number of processors is not available, assume one. -ifeq ($(BR2_JLEVEL),0) -PARALLEL_JOBS := $(shell echo \ - $$((1 + `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`))) -else -PARALLEL_JOBS := $(BR2_JLEVEL) -endif - -MAKE1 := $(HOSTMAKE) -j1 -override MAKE = $(HOSTMAKE) \ - $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) - -ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) -TARGET_VENDOR = $(call qstrip,$(BR2_TOOLCHAIN_BUILDROOT_VENDOR)) -else -TARGET_VENDOR = buildroot -endif - -# Sanity checks -ifeq ($(TARGET_VENDOR),) -$(error BR2_TOOLCHAIN_BUILDROOT_VENDOR is not allowed to be empty) -endif -ifeq ($(TARGET_VENDOR),unknown) -$(error BR2_TOOLCHAIN_BUILDROOT_VENDOR cannot be 'unknown'. \ - It might be confused with the native toolchain) -endif - -# Compute GNU_TARGET_NAME -GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI) - -# FLAT binary format needs uclinux -ifeq ($(BR2_BINFMT_FLAT),y) -TARGET_OS = uclinux -else -TARGET_OS = linux -endif - -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -LIBC = uclibc -else ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) -LIBC = musl -else -LIBC = gnu -endif - -# The ABI suffix is a bit special on ARM, as it needs to be -# -uclibcgnueabi for uClibc EABI, and -gnueabi for glibc EABI. -# This means that the LIBC and ABI aren't strictly orthogonal, -# which explains why we need the test on LIBC below. -ifeq ($(BR2_arm)$(BR2_armeb),y) -ifeq ($(LIBC),uclibc) -ABI = gnueabi -else -ABI = eabi -endif - -ifeq ($(BR2_ARM_EABIHF),y) -ABI := $(ABI)hf -endif -endif - -# For C-SKY abiv1 & abiv2 -ifeq ($(BR2_csky),y) -ifeq ($(BR2_ck610),y) -ABI = abiv1 -else -ABI = abiv2 -endif -endif - -# For FSL PowerPC there's SPE -ifeq ($(BR2_powerpc_SPE),y) -ABI = spe -# MPC8540s are e500v1 with single precision FP -ifeq ($(BR2_powerpc_8540),y) -TARGET_ABI += -mabi=spe -mfloat-gprs=single -Wa,-me500 -endif -ifeq ($(BR2_powerpc_8548),y) -TARGET_ABI += -mabi=spe -mfloat-gprs=double -Wa,-me500x2 -endif -ifeq ($(BR2_powerpc_e500mc),y) -TARGET_ABI += -mabi=spe -mfloat-gprs=double -Wa,-me500mc -endif -endif - -# Use longcalls option for Xtensa globally. -# The 'longcalls' option allows calls across a greater range of addresses, -# and is required for some packages. While this option can degrade both -# code size and performance, the linker can usually optimize away the -# overhead when a call ends up within a certain range. -# -# Use auto-litpools for Xtensa globally. -# Collecting literals into separate section can be advantageous if that -# section is placed into DTCM at link time. This is applicable for code -# running on bare metal, but makes no sense under linux, where userspace -# is isolated from the physical memory details. OTOH placing literals into -# separate section breaks build of huge source files, because l32r -# instruction can only access literals in 256 KBytes range. -# -ifeq ($(BR2_xtensa),y) -TARGET_ABI += -mlongcalls -mauto-litpools -endif - -STAGING_SUBDIR = $(GNU_TARGET_NAME)/sysroot -STAGING_DIR = $(HOST_DIR)/$(STAGING_SUBDIR) - -ifeq ($(BR2_OPTIMIZE_0),y) -TARGET_OPTIMIZATION = -O0 -endif -ifeq ($(BR2_OPTIMIZE_1),y) -TARGET_OPTIMIZATION = -O1 -endif -ifeq ($(BR2_OPTIMIZE_2),y) -TARGET_OPTIMIZATION = -O2 -endif -ifeq ($(BR2_OPTIMIZE_3),y) -TARGET_OPTIMIZATION = -O3 -endif -ifeq ($(BR2_OPTIMIZE_G),y) -TARGET_OPTIMIZATION = -Og -endif -ifeq ($(BR2_OPTIMIZE_S),y) -TARGET_OPTIMIZATION = -Os -endif -ifeq ($(BR2_OPTIMIZE_FAST),y) -TARGET_OPTIMIZATION = -Ofast -endif -ifeq ($(BR2_DEBUG_1),y) -TARGET_DEBUGGING = -g1 -endif -ifeq ($(BR2_DEBUG_2),y) -TARGET_DEBUGGING = -g2 -endif -ifeq ($(BR2_DEBUG_3),y) -TARGET_DEBUGGING = -g3 -endif - -TARGET_LDFLAGS = $(call qstrip,$(BR2_TARGET_LDFLAGS)) - -# By design, _FORTIFY_SOURCE requires gcc optimization to be enabled. -# Therefore, we need to pass _FORTIFY_SOURCE and the optimization level -# through the same mechanism, i.e currently through CFLAGS. Passing -# _FORTIFY_SOURCE through the wrapper and the optimization level -# through CFLAGS would not work, because CFLAGS are sometimes -# ignored/overridden by packages, but the flags passed by the wrapper -# are enforced: this would cause _FORTIFY_SOURCE to be used without any -# optimization level, leading to a build / configure failure. So we keep -# passing _FORTIFY_SOURCE and the optimization level both through CFLAGS. -ifeq ($(BR2_FORTIFY_SOURCE_1),y) -TARGET_HARDENED += -D_FORTIFY_SOURCE=1 -else ifeq ($(BR2_FORTIFY_SOURCE_2),y) -TARGET_HARDENED += -D_FORTIFY_SOURCE=2 -endif - -TARGET_CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) $(TARGET_HARDENED) -TARGET_CXXFLAGS = $(TARGET_CFLAGS) -TARGET_FCFLAGS = $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) - -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509 -ifeq ($(BR2_m68k_cf),y) -TARGET_CFLAGS += -fno-dwarf2-cfi-asm -TARGET_CXXFLAGS += -fno-dwarf2-cfi-asm -endif - -ifeq ($(BR2_BINFMT_FLAT),y) -TARGET_CFLAGS += $(if $($(PKG)_FLAT_STACKSIZE),-Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE),\ - -Wl$(comma)-elf2flt) -TARGET_CXXFLAGS += $(if $($(PKG)_FLAT_STACKSIZE),-Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE),\ - -Wl$(comma)-elf2flt) -TARGET_FCFLAGS += $(if $($(PKG)_FLAT_STACKSIZE),-Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE),\ - -Wl$(comma)-elf2flt) -TARGET_LDFLAGS += $(if $($(PKG)_FLAT_STACKSIZE),-Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE),-Wl$(comma)-elf2flt) -endif - -ifeq ($(BR2_BINFMT_FLAT_SHARED),y) -TARGET_LDFLAGS += -mid-shared-library -mshared-library-id=0 -TARGET_CFLAGS += -mid-shared-library -mshared-library-id=0 -TARGET_FCFLAGS += -mid-shared-library -mshared-library-id=0 -TARGET_CXXFLAGS += -mid-shared-library -mshared-library-id=0 -endif - -ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) -TARGET_CROSS = $(HOST_DIR)/bin/$(GNU_TARGET_NAME)- -else -TARGET_CROSS = $(HOST_DIR)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)- -endif - -# Define TARGET_xx variables for all common binutils/gcc -TARGET_AR = $(TARGET_CROSS)ar -TARGET_AS = $(TARGET_CROSS)as -TARGET_CC = $(TARGET_CROSS)gcc -TARGET_CPP = $(TARGET_CROSS)cpp -TARGET_CXX = $(TARGET_CROSS)g++ -TARGET_FC = $(TARGET_CROSS)gfortran -TARGET_LD = $(TARGET_CROSS)ld -TARGET_NM = $(TARGET_CROSS)nm -TARGET_RANLIB = $(TARGET_CROSS)ranlib -TARGET_READELF = $(TARGET_CROSS)readelf -TARGET_OBJCOPY = $(TARGET_CROSS)objcopy -TARGET_OBJDUMP = $(TARGET_CROSS)objdump - -ifeq ($(BR2_STRIP_strip),y) -STRIP_STRIP_DEBUG := --strip-debug -TARGET_STRIP = $(TARGET_CROSS)strip -STRIPCMD = $(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note -else -TARGET_STRIP = /bin/true -STRIPCMD = $(TARGET_STRIP) -endif -INSTALL := $(shell which install || type -p install) -UNZIP := $(shell which unzip || type -p unzip) -q - -APPLY_PATCHES = PATH=$(HOST_DIR)/bin:$$PATH support/scripts/apply-patches.sh $(if $(QUIET),-s) - -HOST_CPPFLAGS = -I$(HOST_DIR)/include -HOST_CFLAGS ?= -O2 -HOST_CFLAGS += $(HOST_CPPFLAGS) -HOST_CXXFLAGS += $(HOST_CFLAGS) -HOST_LDFLAGS += -L$(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib - -# host-intltool should be executed with the system perl, so we save -# the path to the system perl, before a host-perl built by Buildroot -# might get installed into $(HOST_DIR)/bin and therefore appears -# in our PATH. This system perl will be used as INTLTOOL_PERL. -export PERL=$(shell which perl) - -# host-intltool needs libxml-parser-perl, which Buildroot installs in -# $(HOST_DIR)/lib/perl, so we must make sure that the system perl -# finds this perl module by exporting the proper value for PERL5LIB. -export PERL5LIB=$(HOST_DIR)/lib/perl - -TARGET_MAKE_ENV = PATH=$(BR_PATH) - -TARGET_CONFIGURE_OPTS = \ - $(TARGET_MAKE_ENV) \ - AR="$(TARGET_AR)" \ - AS="$(TARGET_AS)" \ - LD="$(TARGET_LD)" \ - NM="$(TARGET_NM)" \ - CC="$(TARGET_CC)" \ - GCC="$(TARGET_CC)" \ - CPP="$(TARGET_CPP)" \ - CXX="$(TARGET_CXX)" \ - FC="$(TARGET_FC)" \ - F77="$(TARGET_FC)" \ - RANLIB="$(TARGET_RANLIB)" \ - READELF="$(TARGET_READELF)" \ - STRIP="$(TARGET_STRIP)" \ - OBJCOPY="$(TARGET_OBJCOPY)" \ - OBJDUMP="$(TARGET_OBJDUMP)" \ - AR_FOR_BUILD="$(HOSTAR)" \ - AS_FOR_BUILD="$(HOSTAS)" \ - CC_FOR_BUILD="$(HOSTCC)" \ - GCC_FOR_BUILD="$(HOSTCC)" \ - CXX_FOR_BUILD="$(HOSTCXX)" \ - LD_FOR_BUILD="$(HOSTLD)" \ - CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \ - CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ - CXXFLAGS_FOR_BUILD="$(HOST_CXXFLAGS)" \ - LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \ - FCFLAGS_FOR_BUILD="$(HOST_FCFLAGS)" \ - DEFAULT_ASSEMBLER="$(TARGET_AS)" \ - DEFAULT_LINKER="$(TARGET_LD)" \ - CPPFLAGS="$(TARGET_CPPFLAGS)" \ - CFLAGS="$(TARGET_CFLAGS)" \ - CXXFLAGS="$(TARGET_CXXFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - FCFLAGS="$(TARGET_FCFLAGS)" \ - FFLAGS="$(TARGET_FCFLAGS)" \ - PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - STAGING_DIR="$(STAGING_DIR)" \ - INTLTOOL_PERL=$(PERL) - - -HOST_MAKE_ENV = \ - PATH=$(BR_PATH) \ - PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - PKG_CONFIG_SYSROOT_DIR="/" \ - PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ - PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ - PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig" - -HOST_CONFIGURE_OPTS = \ - $(HOST_MAKE_ENV) \ - AR="$(HOSTAR)" \ - AS="$(HOSTAS)" \ - LD="$(HOSTLD)" \ - NM="$(HOSTNM)" \ - CC="$(HOSTCC)" \ - GCC="$(HOSTCC)" \ - CXX="$(HOSTCXX)" \ - CPP="$(HOSTCPP)" \ - OBJCOPY="$(HOSTOBJCOPY)" \ - RANLIB="$(HOSTRANLIB)" \ - CPPFLAGS="$(HOST_CPPFLAGS)" \ - CFLAGS="$(HOST_CFLAGS)" \ - CXXFLAGS="$(HOST_CXXFLAGS)" \ - LDFLAGS="$(HOST_LDFLAGS)" \ - INTLTOOL_PERL=$(PERL) - -# This is extra environment we can not export ourselves (eg. because some -# packages use that variable internally, eg. uboot), so we have to -# explicitly pass it to user-supplied external hooks (eg. post-build, -# post-images) -EXTRA_ENV = \ - PATH=$(BR_PATH) \ - BR2_DL_DIR=$(BR2_DL_DIR) \ - BUILD_DIR=$(BUILD_DIR) \ - CONFIG_DIR=$(CONFIG_DIR) \ - O=$(CANONICAL_O) - -################################################################################ -# settings we need to pass to configure - -# does unaligned access trap? -BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=yes -ifeq ($(BR2_i386),y) -BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no -endif -ifeq ($(BR2_x86_64),y) -BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no -endif -ifeq ($(BR2_m68k),y) -BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no -endif -ifeq ($(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le),y) -BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no -endif - -ifeq ($(BR2_ENDIAN),"BIG") -BR2_AC_CV_C_BIGENDIAN = ac_cv_c_bigendian=yes -else -BR2_AC_CV_C_BIGENDIAN = ac_cv_c_bigendian=no -endif - -# AM_GNU_GETTEXT misdetects musl gettext support. -# musl currently implements api level 1 and 2 (basic + ngettext) -# http://www.openwall.com/lists/musl/2015/04/16/3 -# -# These autoconf variables should only be pre-seeded when the minimal -# gettext implementation of musl is used. When the full blown -# implementation provided by gettext libintl is used, auto-detection -# works fine, and pre-seeding those values is actually wrong. -ifeq ($(BR2_TOOLCHAIN_USES_MUSL):$(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y:) -BR2_GT_CV_FUNC_GNUGETTEXT_LIBC = \ - gt_cv_func_gnugettext1_libc=yes \ - gt_cv_func_gnugettext2_libc=yes -endif - -TARGET_CONFIGURE_ARGS = \ - $(BR2_AC_CV_TRAP_CHECK) \ - ac_cv_func_mmap_fixed_mapped=yes \ - ac_cv_func_memcmp_working=yes \ - ac_cv_have_decl_malloc=yes \ - gl_cv_func_malloc_0_nonnull=yes \ - ac_cv_func_malloc_0_nonnull=yes \ - ac_cv_func_calloc_0_nonnull=yes \ - ac_cv_func_realloc_0_nonnull=yes \ - lt_cv_sys_lib_search_path_spec="" \ - $(BR2_AC_CV_C_BIGENDIAN) \ - $(BR2_GT_CV_FUNC_GNUGETTEXT_LIBC) - -################################################################################ - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -NLS_OPTS = --enable-nls -TARGET_NLS_DEPENDENCIES = host-gettext -ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) -TARGET_NLS_DEPENDENCIES += gettext -TARGET_NLS_LIBS += -lintl -endif -else -NLS_OPTS = --disable-nls -endif - -# We need anything that is invalid. Traditionally, we'd have used 'false' (and -# we did so in the past). However, that breaks libtool for packages that have -# optional C++ support (e.g. gnutls), because libtool will *require* a *valid* -# C++ preprocessor as long as CXX is not 'no'. -# Now, whether we use 'no' or 'false' for CXX as the same side effect: it is an -# invalid C++ compiler, and thus will cause detection of C++ to fail (which is -# expected and what we want), while at the same time taming libtool into -# silence. -ifneq ($(BR2_INSTALL_LIBSTDCPP),y) -TARGET_CONFIGURE_OPTS += CXX=no -endif - -ifeq ($(BR2_STATIC_LIBS),y) -SHARED_STATIC_LIBS_OPTS = --enable-static --disable-shared -TARGET_CFLAGS += -static -TARGET_CXXFLAGS += -static -TARGET_FCFLAGS += -static -TARGET_LDFLAGS += -static -else ifeq ($(BR2_SHARED_LIBS),y) -SHARED_STATIC_LIBS_OPTS = --disable-static --enable-shared -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -SHARED_STATIC_LIBS_OPTS = --enable-static --enable-shared -endif - -ifeq ($(BR2_COMPILER_PARANOID_UNSAFE_PATH),y) -export BR_COMPILER_PARANOID_UNSAFE_PATH=enabled -endif - -include package/pkg-download.mk -include package/pkg-autotools.mk -include package/pkg-cmake.mk -include package/pkg-luarocks.mk -include package/pkg-perl.mk -include package/pkg-python.mk -include package/pkg-virtual.mk -include package/pkg-generic.mk -include package/pkg-kconfig.mk -include package/pkg-rebar.mk -include package/pkg-kernel-module.mk -include package/pkg-waf.mk -include package/pkg-golang.mk -include package/pkg-meson.mk -include package/pkg-qmake.mk diff --git a/buildroot-2021.05/package/abootimg/Config.in b/buildroot-2021.05/package/abootimg/Config.in deleted file mode 100644 index 30e5bd1f..00000000 --- a/buildroot-2021.05/package/abootimg/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_ABOOTIMG - bool "abootimg" - depends on BR2_USE_MMU # libblkid - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - help - Tool to manipulate Android Boot Images, either on files - or directly on /dev block devices. - - https://github.com/ggrandou/abootimg diff --git a/buildroot-2021.05/package/abootimg/abootimg.hash b/buildroot-2021.05/package/abootimg/abootimg.hash deleted file mode 100644 index fa5282c6..00000000 --- a/buildroot-2021.05/package/abootimg/abootimg.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 eb8d912bc7b5454c2afd3385fd86f4917d3587c48a6f5ae45df7856d88502cab abootimg-7e127fee6a3981f6b0a50ce9910267cd501e09d4.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/abootimg/abootimg.mk b/buildroot-2021.05/package/abootimg/abootimg.mk deleted file mode 100644 index ab6c7093..00000000 --- a/buildroot-2021.05/package/abootimg/abootimg.mk +++ /dev/null @@ -1,33 +0,0 @@ -################################################################################ -# -# abootimg -# -################################################################################ - -ABOOTIMG_VERSION = 7e127fee6a3981f6b0a50ce9910267cd501e09d4 -ABOOTIMG_SITE = $(call github,ggrandou,abootimg,$(ABOOTIMG_VERSION)) -ABOOTIMG_LICENSE = GPL-2.0+ -ABOOTIMG_LICENSE_FILES = LICENSE - -# depends on libblkid from util-linux -ABOOTIMG_DEPENDENCIES = util-linux -HOST_ABOOTIMG_DEPENDENCIES = host-util-linux - -define ABOOTIMG_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -endef - -define ABOOTIMG_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 $(@D)/abootimg $(TARGET_DIR)/usr/bin/abootimg -endef - -define HOST_ABOOTIMG_BUILD_CMDS - $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) -endef - -define HOST_ABOOTIMG_INSTALL_CMDS - $(INSTALL) -m 0755 $(@D)/abootimg $(HOST_DIR)/usr/bin/abootimg -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/acpid/acpid.hash b/buildroot-2021.05/package/acpid/acpid.hash deleted file mode 100644 index f325325b..00000000 --- a/buildroot-2021.05/package/acpid/acpid.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://sourceforge.net/projects/acpid2/files/ -md5 248995264b9d1cd8bdb923d5b190fd44 acpid-2.0.32.tar.xz -sha1 a194e99c5b596186c7865e7ddfec55dea6d7fc73 acpid-2.0.32.tar.xz - -# Locally computed -sha256 f2d2d30b3edc3234bd82f6f7186699a6aa3c85c8d20bc4e30e9b3c68a1ed157e acpid-2.0.32.tar.xz -sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad COPYING diff --git a/buildroot-2021.05/package/acpid/acpid.mk b/buildroot-2021.05/package/acpid/acpid.mk deleted file mode 100644 index 3473e7b5..00000000 --- a/buildroot-2021.05/package/acpid/acpid.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# acpid -# -################################################################################ - -ACPID_VERSION = 2.0.32 -ACPID_SOURCE = acpid-$(ACPID_VERSION).tar.xz -ACPID_SITE = http://downloads.sourceforge.net/project/acpid2 -ACPID_LICENSE = GPL-2.0+ -ACPID_LICENSE_FILES = COPYING -ACPID_CPE_ID_VENDOR = tedfelix -ACPID_CPE_ID_PRODUCT = acpid2 - -define ACPID_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/acpid/acpid.service \ - $(TARGET_DIR)/usr/lib/systemd/system/acpid.service -endef - -define ACPID_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/acpid/S02acpid \ - $(TARGET_DIR)/etc/init.d/S02acpid -endef - -ifeq ($(BR2_INIT_SYSV)$(BR2_INIT_SYSTEMD),y) -ACPID_POWEROFF_CMD = /sbin/shutdown -hP now -else -ACPID_POWEROFF_CMD = /sbin/poweroff -endif - -define ACPID_SET_EVENTS - mkdir -p $(TARGET_DIR)/etc/acpi/events - printf 'event=button[ /]power\naction=%s\n' '$(ACPID_POWEROFF_CMD)' \ - >$(TARGET_DIR)/etc/acpi/events/powerbtn -endef - -ACPID_POST_INSTALL_TARGET_HOOKS += ACPID_SET_EVENTS - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/aer-inject/aer-inject.mk b/buildroot-2021.05/package/aer-inject/aer-inject.mk deleted file mode 100644 index 72495bbe..00000000 --- a/buildroot-2021.05/package/aer-inject/aer-inject.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# aer-inject -# -################################################################################ - -AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 -AER_INJECT_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git -AER_INJECT_LICENSE = GPL-2.0 -AER_INJECT_LICENSE_FILES = README -AER_INJECT_DEPENDENCIES = host-flex host-bison - -define AER_INJECT_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) -endef - -define AER_INJECT_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ - DESTDIR=$(TARGET_DIR) PREFIX=/usr/bin install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/aircrack-ng/Config.in b/buildroot-2021.05/package/aircrack-ng/Config.in deleted file mode 100644 index f3e2bc4e..00000000 --- a/buildroot-2021.05/package/aircrack-ng/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_AIRCRACK_NG - bool "aircrack-ng" - depends on BR2_USE_MMU # uses fork() - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS # dlfcn.h - select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBGCRYPT - help - A set of tools for auditing wireless networks - - For complete functionality, also select ethtool, iw, - util-linux (utilities and rfkill), and wireless_tools. - - http://www.aircrack-ng.org/ - -comment "aircrack-ng needs a toolchain w/ dynamic library, threads, C++" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/alsa-lib/0002-dlmisc-the-snd_plugin_dir_set.patch b/buildroot-2021.05/package/alsa-lib/0002-dlmisc-the-snd_plugin_dir_set.patch deleted file mode 100644 index 61d94545..00000000 --- a/buildroot-2021.05/package/alsa-lib/0002-dlmisc-the-snd_plugin_dir_set.patch +++ /dev/null @@ -1,34 +0,0 @@ -From ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e Mon Sep 17 00:00:00 2001 -From: Jaroslav Kysela -Date: Thu, 22 Oct 2020 20:57:32 +0200 -Subject: [PATCH] dlmisc: the snd_plugin_dir_set / snd_plugin_dir must be - declared even for \!DL_ORIGIN_AVAILABLE - -Fixes: 8580c081c2 ("dlsym: add support for ALSA_PLUGIN_DIR environment variable") -BugLink: https://github.com/alsa-project/alsa-lib/issues/91 -Signed-off-by: Jaroslav Kysela - -Downloaded from upstream commit -https://github.com/alsa-project/alsa-lib/commit/ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e - -Signed-off-by: Bernd Kuhls ---- - src/dlmisc.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/src/dlmisc.c b/src/dlmisc.c -index c9517c55..f20eb593 100644 ---- a/src/dlmisc.c -+++ b/src/dlmisc.c -@@ -42,11 +42,9 @@ - #ifndef PIC - struct snd_dlsym_link *snd_dlsym_start = NULL; - #endif --#ifdef DL_ORIGIN_AVAILABLE - static int snd_plugin_dir_set = 0; - static char *snd_plugin_dir = NULL; - #endif --#endif - - #if defined(DL_ORIGIN_AVAILABLE) && defined(HAVE_LIBPTHREAD) - static pthread_mutex_t snd_dlpath_mutex = PTHREAD_MUTEX_INITIALIZER; diff --git a/buildroot-2021.05/package/alsa-lib/Config.in b/buildroot-2021.05/package/alsa-lib/Config.in deleted file mode 100644 index f334b66b..00000000 --- a/buildroot-2021.05/package/alsa-lib/Config.in +++ /dev/null @@ -1,83 +0,0 @@ -comment "alsa-lib needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -menuconfig BR2_PACKAGE_ALSA_LIB - bool "alsa-lib" - # Even though some parts of alsa-lib use threads only when - # available, some PCM plugins use them unconditionally. Since - # the usage of alsa-lib on no-thread systems is pretty - # unlikely, just require thread support globally for alsa-lib. - depends on BR2_TOOLCHAIN_HAS_THREADS - # Temporary until - # https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913 - # is fixed - select BR2_PACKAGE_ALSA_LIB_PCM - help - The Advanced Linux Sound Architecture (ALSA) provides audio - and MIDI functionality to the Linux operating system. - - http://www.alsa-project.org/ - -if BR2_PACKAGE_ALSA_LIB - -config BR2_PACKAGE_ALSA_LIB_PYTHON - bool "Python support for alsa-lib" - depends on BR2_PACKAGE_PYTHON - help - Add python support for alsa-lib. - Python will be built and libpython will be installed - in the target directory - http://www.alsa-project.org/ - -config BR2_PACKAGE_ALSA_LIB_DEVDIR - string "directory with ALSA device files" - default "/dev/snd" - -config BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS - string "built PCM plugins" - default "all" if BR2_USE_MMU - default "copy linear route mulaw alaw adpcm rate plug multi file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul" if !BR2_USE_MMU - -config BR2_PACKAGE_ALSA_LIB_CTL_PLUGINS - string "built control plugins" - default "all" - -config BR2_PACKAGE_ALSA_LIB_ALOAD - bool "aload" - default y - -config BR2_PACKAGE_ALSA_LIB_MIXER - bool "mixer" - default y - -config BR2_PACKAGE_ALSA_LIB_PCM - bool "pcm" - default y - -config BR2_PACKAGE_ALSA_LIB_RAWMIDI - bool "rawmidi" - default y - -config BR2_PACKAGE_ALSA_LIB_HWDEP - bool "hwdep" - default y - -config BR2_PACKAGE_ALSA_LIB_SEQ - bool "seq" - default y - -config BR2_PACKAGE_ALSA_LIB_UCM - bool "ucm" - default y - select BR2_PACKAGE_ALSA_LIB_MIXER - -config BR2_PACKAGE_ALSA_LIB_ALISP - bool "alisp" - default y - depends on BR2_USE_MMU - -config BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS - bool "old-symbols" - default y - -endif diff --git a/buildroot-2021.05/package/alsa-lib/alsa-lib.hash b/buildroot-2021.05/package/alsa-lib/alsa-lib.hash deleted file mode 100644 index 6e65fb71..00000000 --- a/buildroot-2021.05/package/alsa-lib/alsa-lib.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7 alsa-lib-1.2.4.tar.bz2 -sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING -sha256 bfe16cf823bcff261fc6a062c07ee96660e3c39678f42f39a788a68dbc234ced aserver/COPYING diff --git a/buildroot-2021.05/package/alsa-lib/alsa-lib.mk b/buildroot-2021.05/package/alsa-lib/alsa-lib.mk deleted file mode 100644 index b1bfaf30..00000000 --- a/buildroot-2021.05/package/alsa-lib/alsa-lib.mk +++ /dev/null @@ -1,73 +0,0 @@ -################################################################################ -# -# alsa-lib -# -################################################################################ - -ALSA_LIB_VERSION = 1.2.4 -ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2 -ALSA_LIB_SITE = https://www.alsa-project.org/files/pub/lib -ALSA_LIB_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver) -ALSA_LIB_LICENSE_FILES = COPYING aserver/COPYING -ALSA_LIB_CPE_ID_VENDOR = alsa-project -ALSA_LIB_INSTALL_STAGING = YES -ALSA_LIB_CFLAGS = $(TARGET_CFLAGS) -ALSA_LIB_AUTORECONF = YES -ALSA_LIB_CONF_OPTS = \ - --with-alsa-devdir=$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_DEVDIR)) \ - --with-pcm-plugins="$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS))" \ - --with-ctl-plugins="$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_CTL_PLUGINS))" \ - --without-versioned - -# Can't build with static & shared at the same time (1.0.25+) -ifeq ($(BR2_STATIC_LIBS),y) -ALSA_LIB_CONF_OPTS += \ - --enable-shared=no \ - --without-libdl -else -ALSA_LIB_CONF_OPTS += --enable-static=no -endif - -ifneq ($(BR2_PACKAGE_ALSA_LIB_ALOAD),y) -ALSA_LIB_CONF_OPTS += --disable-aload -endif -ifneq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y) -ALSA_LIB_CONF_OPTS += --disable-mixer -endif -ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM),y) -ALSA_LIB_CONF_OPTS += --disable-pcm -endif -ifneq ($(BR2_PACKAGE_ALSA_LIB_RAWMIDI),y) -ALSA_LIB_CONF_OPTS += --disable-rawmidi -endif -ifneq ($(BR2_PACKAGE_ALSA_LIB_HWDEP),y) -ALSA_LIB_CONF_OPTS += --disable-hwdep -endif -ifneq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y) -ALSA_LIB_CONF_OPTS += --disable-seq -endif -ifneq ($(BR2_PACKAGE_ALSA_LIB_UCM),y) -ALSA_LIB_CONF_OPTS += --disable-ucm -endif -ifneq ($(BR2_PACKAGE_ALSA_LIB_ALISP),y) -ALSA_LIB_CONF_OPTS += --disable-alisp -endif -ifneq ($(BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS),y) -ALSA_LIB_CONF_OPTS += --disable-old-symbols -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y) -ALSA_LIB_CONF_OPTS += \ - --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) \ - --with-pythonincludes=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) -ALSA_LIB_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) -ALSA_LIB_DEPENDENCIES = python -else -ALSA_LIB_CONF_OPTS += --disable-python -endif - -ALSA_LIB_CONF_ENV = \ - CFLAGS="$(ALSA_LIB_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS) -lm" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/alsa-utils/alsa-utils.hash b/buildroot-2021.05/package/alsa-utils/alsa-utils.hash deleted file mode 100644 index dda009c1..00000000 --- a/buildroot-2021.05/package/alsa-utils/alsa-utils.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 98ffc2d599de0577d423a48fa5f20a992ca0b82d812ed1f2e58ade49ac6da426 alsa-utils-1.2.4.tar.bz2 -sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/buildroot-2021.05/package/alsa-utils/alsa-utils.mk b/buildroot-2021.05/package/alsa-utils/alsa-utils.mk deleted file mode 100644 index 2658c827..00000000 --- a/buildroot-2021.05/package/alsa-utils/alsa-utils.mk +++ /dev/null @@ -1,102 +0,0 @@ -################################################################################ -# -# alsa-utils -# -################################################################################ - -ALSA_UTILS_VERSION = 1.2.4 -ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 -ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils -ALSA_UTILS_LICENSE = GPL-2.0 -ALSA_UTILS_LICENSE_FILES = COPYING -ALSA_UTILS_INSTALL_STAGING = YES -ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \ - $(if $(BR2_PACKAGE_NCURSES),ncurses) \ - $(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \ - $(TARGET_NLS_DEPENDENCIES) - -ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL),y) -ALSA_UTILS_SELINUX_MODULES += alsa -endif - -ALSA_UTILS_CONF_ENV = \ - ac_cv_prog_ncurses5_config=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) \ - LIBS=$(TARGET_NLS_LIBS) - -ALSA_UTILS_CONF_OPTS = \ - --disable-xmlto \ - --disable-rst2man \ - --with-curses=$(if $(BR2_PACKAGE_NCURSES_WCHAR),ncursesw,ncurses) - -ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSALOOP),y) -ALSA_UTILS_CONF_OPTS += --enable-alsaloop -else -ALSA_UTILS_CONF_OPTS += --disable-alsaloop -endif - -ifneq ($(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER),y) -ALSA_UTILS_CONF_OPTS += --disable-alsamixer -endif - -ifeq ($(BR2_PACKAGE_ALSA_UTILS_BAT),y) -ALSA_UTILS_CONF_OPTS += --enable-bat -# Analysis support requires fftw single precision -ALSA_UTILS_DEPENDENCIES += $(if $(BR2_PACKAGE_FFTW_SINGLE),fftw-single) -else -ALSA_UTILS_CONF_OPTS += --disable-bat -endif - -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACONF) += usr/sbin/alsaconf -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACTL) += usr/sbin/alsactl -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSALOOP) += usr/bin/alsaloop -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER) += usr/bin/alsamixer -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSATPLG) += usr/bin/alsatplg -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIDI) += usr/bin/amidi -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIXER) += usr/bin/amixer -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAY) += usr/bin/aplay usr/bin/arecord -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_BAT) += usr/bin/alsabat -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_IECSET) += usr/bin/iecset -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ACONNECT) += usr/bin/aconnect -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAUCM) += usr/bin/alsaucm -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAYMIDI) += usr/bin/aplaymidi -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI) += usr/bin/arecordmidi -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ASEQDUMP) += usr/bin/aseqdump -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ASEQNET) += usr/bin/aseqnet -ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST) += usr/bin/speaker-test - -define ALSA_UTILS_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/var/lib/alsa - for i in $(ALSA_UTILS_TARGETS_y); do \ - $(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i || exit 1; \ - done - if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ]; then \ - mkdir -p $(TARGET_DIR)/usr/share/alsa/speaker-test; \ - mkdir -p $(TARGET_DIR)/usr/share/sounds/alsa; \ - cp -rdpf $(STAGING_DIR)/usr/share/alsa/speaker-test/* $(TARGET_DIR)/usr/share/alsa/speaker-test/; \ - cp -rdpf $(STAGING_DIR)/usr/share/sounds/alsa/* $(TARGET_DIR)/usr/share/sounds/alsa/; \ - fi - if [ -x "$(TARGET_DIR)/usr/sbin/alsactl" ]; then \ - mkdir -p $(TARGET_DIR)/usr/share/; \ - rm -rf $(TARGET_DIR)/usr/share/alsa/; \ - cp -rdpf $(STAGING_DIR)/usr/share/alsa/ $(TARGET_DIR)/usr/share/alsa/; \ - fi -endef - -ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL)$(BR2_INIT_SYSTEMD),yy) -ALSA_UTILS_DEPENDENCIES += systemd -ALSA_UTILS_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system -define ALSA_UTILS_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-restore.service \ - $(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service - $(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-state.service \ - $(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service - $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service.d - printf '[Install]\nWantedBy=multi-user.target\n' \ - >$(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service.d/buildroot-enable.conf - $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service.d - printf '[Install]\nWantedBy=multi-user.target\n' \ - >$(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service.d/buildroot-enable.conf; -endef -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/android-tools/Config.in b/buildroot-2021.05/package/android-tools/Config.in deleted file mode 100644 index a36c4db1..00000000 --- a/buildroot-2021.05/package/android-tools/Config.in +++ /dev/null @@ -1,80 +0,0 @@ -config BR2_PACKAGE_ANDROID_TOOLS - bool "android-tools" - # Technically, fastboot could build on noMMU systems. But - # since we need at least one of the three sub-options enabled, - # and adb/adbd can't be built on noMMU systems, and fastboot - # has some complicated dependencies, we simply make the whole - # package not available on noMMU platforms. - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \ - !BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \ - !BR2_PACKAGE_ANDROID_TOOLS_ADB - help - This package contains the fastboot and adb utilities, that - can be used to interact with target devices using of these - protocols. - - https://wiki.debian.org/AndroidTools#Original_android-tools_package - -if BR2_PACKAGE_ANDROID_TOOLS - -# We need kernel headers that support the __SANE_USERSPACE_TYPES__ -# mechanism for 64 bits architectures, so that u64 gets defined as -# "unsigned long long" and not "unsigned long". We know that >= 3.16 -# is needed for MIPS64 (kernel commit -# f4b3aa7cd9d32407670e67238c5ee752bb98f481) and >= 3.10 is needed for -# PowerPC64 (kernel commit -# 2c9c6ce0199a4d252e20c531cfdc9d24e39235c0). Without this, the build -# fails with a bad redefinition of u64 (the android-tools fastboot -# code defines it as "unsigned long long"). -config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS - bool - default y if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 && (BR2_powerpc64 || BR2_powerpc64le) - default y if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 && (BR2_mips64 || BR2_mips64el) - default y if !BR2_powerpc64 && !BR2_powerpc64le && !BR2_mips64 && !BR2_mips64el - -config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT - bool "fastboot" - depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux - depends on !BR2_STATIC_LIBS # libselinux - depends on BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS - select BR2_PACKAGE_LIBSELINUX - select BR2_PACKAGE_ZLIB - help - This option will build and install the fastboot utility for - the target, which can be used to reflash other target devices - implementing the fastboot protocol. - -comment "fastboot needs a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -comment "fastboot needs headers >= 3.10 (PowerPC64), headers >= 3.16 (MIPS64)" - depends on !BR2_arc - depends on !BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS - -config BR2_PACKAGE_ANDROID_TOOLS_ADB - bool "adb" - depends on BR2_USE_MMU # uses fork() - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_ZLIB - help - This option will build and install the adb utility for the - target, which can be used to interact with other target - devices implementing the ADB protocol. - -config BR2_PACKAGE_ANDROID_TOOLS_ADBD - bool "adbd" - depends on BR2_USE_MMU # uses fork() - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_ZLIB - help - This option will build and install the adbd utility for the - target, which can be used to interact with a host machine - implementing the ADB protocol. - -endif - -comment "android-tools needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/android-tools/Config.in.host b/buildroot-2021.05/package/android-tools/Config.in.host deleted file mode 100644 index 433f4e38..00000000 --- a/buildroot-2021.05/package/android-tools/Config.in.host +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_HOST_ANDROID_TOOLS - bool "host android-tools" - select BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB if \ - !BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT - help - This package contains the fastboot and adb utilities, that - can be used to interact with target devices using of these - protocols. - -if BR2_PACKAGE_HOST_ANDROID_TOOLS - -config BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT - bool "fastboot" - help - This option will build and install the fastboot utility for - the host, which can be used to reflash target devices - implementing the fastboot protocol. - -config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB - bool "adb" - help - This option will build and install the adb utility for the - host, which can be used to interact with target devices - implementing the ADB protocol. - -config BR2_PACKAGE_HOST_ANDROID_TOOLS_EXT4_UTILS - bool "ext4 utils" - help - This option will build and install the ext4 utils for the - host, i.e. make_ext4fs, ext4fixup, ext2simg, img2simg, - simg2img and simg2simg. - -endif diff --git a/buildroot-2021.05/package/apache/Config.in b/buildroot-2021.05/package/apache/Config.in deleted file mode 100644 index 693ee20a..00000000 --- a/buildroot-2021.05/package/apache/Config.in +++ /dev/null @@ -1,48 +0,0 @@ -config BR2_PACKAGE_APACHE - bool "apache" - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # apr - select BR2_PACKAGE_APR_UTIL - select BR2_PACKAGE_PCRE - help - The Apache HTTP Server Project is an effort to develop and - maintain an open-source HTTP server for modern operating - systems including UNIX and Windows NT. The goal of this - project is to provide a secure, efficient and extensible - server that provides HTTP services in sync with the current - HTTP standards. - - http://httpd.apache.org - -if BR2_PACKAGE_APACHE - -choice - prompt "Multi-Processing Module (MPM)" - default BR2_PACKAGE_APACHE_MPM_WORKER - help - Select the Multi-Processing Module (MPM). - -config BR2_PACKAGE_APACHE_MPM_EVENT - bool "event" - help - A variant of the worker MPM with the goal of consuming threads - only for connections with active processing - -config BR2_PACKAGE_APACHE_MPM_PREFORK - bool "prefork" - help - Implements a non-threaded, pre-forking web server - -config BR2_PACKAGE_APACHE_MPM_WORKER - bool "worker" - help - Implements a hybrid multi-threaded multi-process web server - -endchoice - -endif - -comment "apache needs a toolchain w/ dynamic library, threads" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/apache/apache.hash b/buildroot-2021.05/package/apache/apache.hash deleted file mode 100644 index c03934b4..00000000 --- a/buildroot-2021.05/package/apache/apache.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://archive.apache.org/dist/httpd/httpd-2.4.46.tar.bz2.{sha256,sha512} -sha256 1bc826e7b2e88108c7e4bf43c026636f77a41d849cfb667aa7b5c0b86dbf966c httpd-2.4.48.tar.bz2 -sha512 6c250626f1e7d10428a92d984fd48ff841effcc8705f7816ab71b681bbd51d0012ad158dcd13763fe7d630311f2de258b27574603140d648be42796ab8326724 httpd-2.4.48.tar.bz2 -# Locally computed -sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE diff --git a/buildroot-2021.05/package/apache/apache.mk b/buildroot-2021.05/package/apache/apache.mk deleted file mode 100644 index 7dbd1a45..00000000 --- a/buildroot-2021.05/package/apache/apache.mk +++ /dev/null @@ -1,125 +0,0 @@ -################################################################################ -# -# apache -# -################################################################################ - -APACHE_VERSION = 2.4.48 -APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2 -APACHE_SITE = http://archive.apache.org/dist/httpd -APACHE_LICENSE = Apache-2.0 -APACHE_LICENSE_FILES = LICENSE -APACHE_CPE_ID_VENDOR = apache -APACHE_CPE_ID_PRODUCT = http_server -# Needed for mod_php -APACHE_INSTALL_STAGING = YES -# We have a patch touching configure.in and Makefile.in, -# so we need to autoreconf: -APACHE_AUTORECONF = YES -APACHE_DEPENDENCIES = apr apr-util pcre - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -define APACHE_FIXUP_APR_LIBTOOL - $(SED) "s@$(PER_PACKAGE_DIR)/[^/]\+/@$(PER_PACKAGE_DIR)/apache/@g" \ - $(STAGING_DIR)/usr/build-1/libtool -endef -APACHE_POST_CONFIGURE_HOOKS += APACHE_FIXUP_APR_LIBTOOL -endif - -APACHE_CONF_ENV= \ - ap_cv_void_ptr_lt_long=no \ - PCRE_CONFIG=$(STAGING_DIR)/usr/bin/pcre-config - -ifeq ($(BR2_PACKAGE_APACHE_MPM_EVENT),y) -APACHE_MPM = event -else ifeq ($(BR2_PACKAGE_APACHE_MPM_PREFORK),y) -APACHE_MPM = prefork -else ifeq ($(BR2_PACKAGE_APACHE_MPM_WORKER),y) -APACHE_MPM = worker -endif - -APACHE_CONF_OPTS = \ - --sysconfdir=/etc/apache2 \ - --with-apr=$(STAGING_DIR)/usr \ - --with-apr-util=$(STAGING_DIR)/usr \ - --with-pcre=$(STAGING_DIR)/usr/bin/pcre-config \ - --enable-http \ - --enable-dbd \ - --enable-proxy \ - --enable-mime-magic \ - --without-suexec-bin \ - --enable-mods-shared=all \ - --with-mpm=$(APACHE_MPM) \ - --disable-luajit - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -APACHE_DEPENDENCIES += libxml2 -# Apache wants the path to the header file, where it can find -# . -APACHE_CONF_OPTS += \ - --enable-xml2enc \ - --enable-proxy-html \ - --with-libxml2=$(STAGING_DIR)/usr/include/libxml2 -else -APACHE_CONF_OPTS += \ - --disable-xml2enc \ - --disable-proxy-html -endif - -ifeq ($(BR2_PACKAGE_LUA),y) -APACHE_CONF_OPTS += --enable-lua -APACHE_DEPENDENCIES += lua -else -APACHE_CONF_OPTS += --disable-lua -endif - -ifeq ($(BR2_PACKAGE_NGHTTP2),y) -APACHE_CONF_OPTS += \ - --enable-http2 \ - --with-nghttp2=$(STAGING_DIR)/usr -APACHE_DEPENDENCIES += nghttp2 -else -APACHE_CONF_OPTS += --disable-http2 -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -APACHE_DEPENDENCIES += openssl -APACHE_CONF_OPTS += \ - --enable-ssl \ - --with-ssl=$(STAGING_DIR)/usr -else -APACHE_CONF_OPTS += --disable-ssl -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -APACHE_DEPENDENCIES += zlib -APACHE_CONF_OPTS += \ - --enable-deflate \ - --with-z=$(STAGING_DIR)/usr -else -APACHE_CONF_OPTS += --disable-deflate -endif - -define APACHE_FIX_STAGING_APACHE_CONFIG - $(SED) 's%"/usr/bin"%"$(STAGING_DIR)/usr/bin"%' $(STAGING_DIR)/usr/bin/apxs - $(SED) 's%/usr/build%$(STAGING_DIR)/usr/build%' $(STAGING_DIR)/usr/bin/apxs - $(SED) 's%^prefix =.*%prefix = $(STAGING_DIR)/usr%' $(STAGING_DIR)/usr/build/config_vars.mk -endef -APACHE_POST_INSTALL_STAGING_HOOKS += APACHE_FIX_STAGING_APACHE_CONFIG - -define APACHE_CLEANUP_TARGET - $(RM) -rf $(TARGET_DIR)/usr/manual $(TARGET_DIR)/usr/build -endef -APACHE_POST_INSTALL_TARGET_HOOKS += APACHE_CLEANUP_TARGET - -define APACHE_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/apache/S50apache \ - $(TARGET_DIR)/etc/init.d/S50apache -endef - -define APACHE_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/apache/apache.service \ - $(TARGET_DIR)/usr/lib/systemd/system/apache.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/apcupsd/apcupsd.mk b/buildroot-2021.05/package/apcupsd/apcupsd.mk deleted file mode 100644 index 9e707e1a..00000000 --- a/buildroot-2021.05/package/apcupsd/apcupsd.mk +++ /dev/null @@ -1,82 +0,0 @@ -################################################################################ -# -# apcupsd -# -################################################################################ - -APCUPSD_VERSION = 3.14.14 -APCUPSD_SITE = http://downloads.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/$(APCUPSD_VERSION) -APCUPSD_LICENSE = GPL-2.0 -APCUPSD_LICENSE_FILES = COPYING -APCUPSD_CPE_ID_VENDOR = apcupsd -APCUPSD_CONF_OPTS = --disable-test - -ifneq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB)$(BR2_PACKAGE_APCUPSD_USB),) -APCUPSD_CONF_ENV += ac_cv_path_usbcfg=$(STAGING_DIR)/usr/bin/libusb-config -ifeq ($(BR2_STATIC_LIBS),y) -APCUPSD_DEPENDENCIES += host-pkgconf -APCUPSD_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libusb`" -endif -endif - -ifeq ($(BR2_PACKAGE_APCUPSD_APCSMART),y) -APCUPSD_CONF_OPTS += --enable-apcsmart -else -APCUPSD_CONF_OPTS += --disable-apcsmart -endif - -ifeq ($(BR2_PACKAGE_APCUPSD_DUMB),y) -APCUPSD_CONF_OPTS += --enable-dumb -else -APCUPSD_CONF_OPTS += --disable-dumb -endif - -ifeq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB),y) -APCUPSD_CONF_OPTS += --enable-modbus-usb -APCUPSD_DEPENDENCIES = libusb libusb-compat -else -APCUPSD_CONF_OPTS += --disable-modbus-usb -endif - -ifeq ($(BR2_PACKAGE_APCUPSD_MODBUS),y) -APCUPSD_CONF_OPTS += --enable-modbus -else -APCUPSD_CONF_OPTS += --disable-modbus -endif - -ifeq ($(BR2_PACKAGE_APCUPSD_NET),y) -APCUPSD_CONF_OPTS += --enable-net -else -APCUPSD_CONF_OPTS += --disable-net -endif - -ifeq ($(BR2_PACKAGE_APCUPSD_PCNET),y) -APCUPSD_CONF_OPTS += --enable-pcnet -else -APCUPSD_CONF_OPTS += --disable-pcnet -endif - -ifeq ($(BR2_PACKAGE_APCUPSD_SNMP),y) -APCUPSD_CONF_OPTS += --enable-snmp -else -APCUPSD_CONF_OPTS += --disable-snmp -endif - -ifeq ($(BR2_PACKAGE_APCUPSD_USB),y) -APCUPSD_CONF_OPTS += --enable-usb -APCUPSD_DEPENDENCIES = libusb libusb-compat -else -APCUPSD_CONF_OPTS += --disable-usb -endif - -define APCUPSD_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/platforms -endef - -define APCUPSD_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) install - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/platforms DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/apitrace/0001-dlsym-Fix-build-under-uClibc.patch b/buildroot-2021.05/package/apitrace/0001-dlsym-Fix-build-under-uClibc.patch deleted file mode 100644 index bf47bba9..00000000 --- a/buildroot-2021.05/package/apitrace/0001-dlsym-Fix-build-under-uClibc.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 189a3b8397c61ba262a2221885e38dc514c59d94 Mon Sep 17 00:00:00 2001 -From: Paul Cercueil -Date: Sat, 7 Dec 2019 00:00:57 +0100 -Subject: [PATCH] dlsym: Fix build under uClibc - -uClibc defines the __GLIBC__ macro too (I know, right?), so verify that -__UCLIBC__ is not defined before we can use glibc-specific internal -functions. - -Signed-off-by: Paul Cercueil -Upstream: https://github.com/apitrace/apitrace/commit/189a3b8397c61ba262a2221885e38dc514c59d94 ---- - wrappers/dlsym.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/wrappers/dlsym.cpp b/wrappers/dlsym.cpp -index 2eda082a..5ab8465b 100644 ---- a/wrappers/dlsym.cpp -+++ b/wrappers/dlsym.cpp -@@ -34,7 +34,7 @@ - #include "os.hpp" - - --#ifdef __GLIBC__ -+#if defined(__GLIBC__) && !defined(__UCLIBC__) - - - #include --- -2.24.0 - diff --git a/buildroot-2021.05/package/apitrace/0002-Support-libc-that-don-t-have-RTLD_DEEPBIND.patch b/buildroot-2021.05/package/apitrace/0002-Support-libc-that-don-t-have-RTLD_DEEPBIND.patch deleted file mode 100644 index e3435742..00000000 --- a/buildroot-2021.05/package/apitrace/0002-Support-libc-that-don-t-have-RTLD_DEEPBIND.patch +++ /dev/null @@ -1,25 +0,0 @@ -From d495d15e20bf655afa3be62ada792e8dfc8d29b6 Mon Sep 17 00:00:00 2001 -From: Gleb Mazovetskiy -Date: Fri, 13 Dec 2019 13:39:19 +0000 -Subject: [PATCH] Support libc that don't have RTLD_DEEPBIND - -[Retrieved from: https://github.com/apitrace/apitrace/pull/646] -Signed-off-by: Fabrice Fontaine ---- - dispatch/glproc_gl.cpp | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/dispatch/glproc_gl.cpp b/dispatch/glproc_gl.cpp -index 5d7903a0c..456fcc42e 100644 ---- a/dispatch/glproc_gl.cpp -+++ b/dispatch/glproc_gl.cpp -@@ -148,6 +148,9 @@ _getPrivateProcAddress(const char *procName) - - #else - -+#ifndef RTLD_DEEPBIND -+#define RTLD_DEEPBIND 0 -+#endif - - static inline void - logSymbol(const char *name, void *ptr) { diff --git a/buildroot-2021.05/package/apitrace/0003-CMakeLists.txt-respect-BUILD_TESTING-OFF.patch b/buildroot-2021.05/package/apitrace/0003-CMakeLists.txt-respect-BUILD_TESTING-OFF.patch deleted file mode 100644 index 8cc1f8bb..00000000 --- a/buildroot-2021.05/package/apitrace/0003-CMakeLists.txt-respect-BUILD_TESTING-OFF.patch +++ /dev/null @@ -1,104 +0,0 @@ -From 7f0f1e7e34f997eef697856804dd478b54bb365e Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 22 Dec 2020 10:45:21 +0100 -Subject: [PATCH] CMakeLists.txt: respect BUILD_TESTING=OFF - -Allow the user to disable unit tests through BUILD_TESTING=OFF: -https://cmake.org/cmake/help/latest/command/enable_testing.html - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/apitrace/apitrace/pull/698] ---- - CMakeLists.txt | 6 +++++- - gui/CMakeLists.txt | 6 ++++-- - lib/guids/CMakeLists.txt | 6 ++++-- - lib/os/CMakeLists.txt | 6 ++++-- - lib/trace/CMakeLists.txt | 6 ++++-- - 5 files changed, 21 insertions(+), 9 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4a07f069..ee401887 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -41,6 +41,8 @@ option (ENABLE_FRAME_POINTER "Disable frame pointer omission" ON) - - option (ENABLE_ASAN "Enable Address Sanitizer" OFF) - -+option (BUILD_TESTING "Enable unit tests" ON) -+ - option (ENABLE_TESTS "Enable additional tests" OFF) - - if (ANDROID) -@@ -433,7 +435,9 @@ endmacro () - # which subdirectory they are declared - set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) - --enable_testing () -+if (BUILD_TESTING) -+ enable_testing () -+endif () - if (CMAKE_CROSSCOMPILING) - add_custom_target (check) - elseif (DEFINED CMAKE_BUILD_TYPE) -diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt -index 5baf3552..ad6ee501 100644 ---- a/gui/CMakeLists.txt -+++ b/gui/CMakeLists.txt -@@ -13,8 +13,10 @@ add_library (qubjson STATIC - qubjson.cpp - ) - --add_gtest (qubjson_test qubjson_test.cpp) --target_link_libraries (qubjson_test qubjson) -+if (BUILD_TESTING) -+ add_gtest (qubjson_test qubjson_test.cpp) -+ target_link_libraries (qubjson_test qubjson) -+endif () - - set(qapitrace_SRCS - apisurface.cpp -diff --git a/lib/guids/CMakeLists.txt b/lib/guids/CMakeLists.txt -index ce0f86da..ea28a18f 100644 ---- a/lib/guids/CMakeLists.txt -+++ b/lib/guids/CMakeLists.txt -@@ -5,5 +5,7 @@ add_library (guids STATIC - guids.hpp - ) - --add_gtest (guids_test guids_test.cpp) --target_link_libraries (guids_test guids) -+if (BUILD_TESTING) -+ add_gtest (guids_test guids_test.cpp) -+ target_link_libraries (guids_test guids) -+endif () -diff --git a/lib/os/CMakeLists.txt b/lib/os/CMakeLists.txt -index 222411e0..b7134b57 100644 ---- a/lib/os/CMakeLists.txt -+++ b/lib/os/CMakeLists.txt -@@ -36,5 +36,7 @@ if (APPLE) - ) - endif () - --add_gtest (os_thread_test os_thread_test.cpp) --target_link_libraries (os_thread_test os) -+if (BUILD_TESTING) -+ add_gtest (os_thread_test os_thread_test.cpp) -+ target_link_libraries (os_thread_test os) -+endif () -diff --git a/lib/trace/CMakeLists.txt b/lib/trace/CMakeLists.txt -index c68bd00f..d95df978 100644 ---- a/lib/trace/CMakeLists.txt -+++ b/lib/trace/CMakeLists.txt -@@ -34,5 +34,7 @@ target_link_libraries (common - brotli_dec brotli_common - ) - --add_gtest (trace_parser_flags_test trace_parser_flags_test.cpp) --target_link_libraries (trace_parser_flags_test common) -+if (BUILD_TESTING) -+ add_gtest (trace_parser_flags_test trace_parser_flags_test.cpp) -+ target_link_libraries (trace_parser_flags_test common) -+endif () --- -2.29.2 - diff --git a/buildroot-2021.05/package/apitrace/Config.in b/buildroot-2021.05/package/apitrace/Config.in deleted file mode 100644 index 263eec5e..00000000 --- a/buildroot-2021.05/package/apitrace/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -comment "apitrace needs a toolchain w/ C++, wchar, dynamic library, threads, gcc >= 4.9" - depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_APITRACE - bool "apitrace" - depends on BR2_USE_MMU # fork() - depends on BR2_USE_WCHAR - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS # dlfcn.h - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_LIBPNG - help - Trace and replay OpenGL and OpenGL ES APIs calls to/from a - file. You may install apitrace GUI from your distribution to - inspect generated traces. - - http://apitrace.github.io/ diff --git a/buildroot-2021.05/package/apitrace/apitrace.hash b/buildroot-2021.05/package/apitrace/apitrace.hash deleted file mode 100644 index 9479f064..00000000 --- a/buildroot-2021.05/package/apitrace/apitrace.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 0eec81ba7d3799622336319785465a2982a0621898842517a07894d7e2aa18eb apitrace-9.0.tar.gz -sha256 7066bb1b787519c42f8278b77757c21de522cd97755cb30a22759ac401c62260 LICENSE diff --git a/buildroot-2021.05/package/apitrace/apitrace.mk b/buildroot-2021.05/package/apitrace/apitrace.mk deleted file mode 100644 index b962ac01..00000000 --- a/buildroot-2021.05/package/apitrace/apitrace.mk +++ /dev/null @@ -1,45 +0,0 @@ -################################################################################ -# -# apitrace -# -################################################################################ - -APITRACE_VERSION = 9.0 -APITRACE_SITE = $(call github,apitrace,apitrace,$(APITRACE_VERSION)) -APITRACE_LICENSE = MIT -APITRACE_LICENSE_FILES = LICENSE - -APITRACE_DEPENDENCIES = host-python3 libpng - -ifeq ($(BR2_PACKAGE_XORG7),y) -APITRACE_DEPENDENCIES += xlib_libX11 -APITRACE_CONF_OPTS += -DENABLE_X11=ON -else -APITRACE_CONF_OPTS += -DENABLE_X11=OFF -endif - -# Gui was never tested, so we prefer to explicitly disable it -APITRACE_CONF_OPTS += -DENABLE_GUI=false - -APITRACE_CFLAGS = $(TARGET_CFLAGS) -APITRACE_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) -# This works around embedded Brotli build failure -APITRACE_CFLAGS += -O0 -# CMakeLists.txt sets CMAKE_CXX_FLAGS_ depending on -# BUILD_TYPE, and this comes after the generic CMAKE_CXX_FLAGS. -# Override CMAKE_BUILD_TYPE so no overrides are applied. -APITRACE_CONF_OPTS += -DCMAKE_BUILD_TYPE=Buildroot -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -# This works around Apitrace itself build failure -APITRACE_CXXFLAGS += -O0 -endif - -APITRACE_CONF_OPTS += \ - -DCMAKE_C_FLAGS="$(APITRACE_CFLAGS)" \ - -DCMAKE_CXX_FLAGS="$(APITRACE_CXXFLAGS)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/apparmor/apparmor.hash b/buildroot-2021.05/package/apparmor/apparmor.hash deleted file mode 100644 index ddbe87c5..00000000 --- a/buildroot-2021.05/package/apparmor/apparmor.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From: https://gitlab.com/apparmor/apparmor/-/wikis/home#userspace -sha256 8fada772d9a60989525594346d9aa22af938daafc1781adce9a1acb3c75bdf24 apparmor-3.0.1.tar.gz - -# locally computed -sha256 a7e0cdcbea5c14927cedfc600d46526bdcbb1eb0a4d951e2ea53c2a6de159cb4 LICENSE -sha256 dd54950fa69a3096fe907a466a454d217ccca9bca77398d5232704766d5a0040 parser/COPYING.GPL diff --git a/buildroot-2021.05/package/apparmor/apparmor.mk b/buildroot-2021.05/package/apparmor/apparmor.mk deleted file mode 100644 index 6c23e1bb..00000000 --- a/buildroot-2021.05/package/apparmor/apparmor.mk +++ /dev/null @@ -1,96 +0,0 @@ -################################################################################ -# -# apparmor -# -################################################################################ - -# When updating the version here, please also update the libapparmor package -APPARMOR_VERSION_MAJOR = 3.0 -APPARMOR_VERSION = $(APPARMOR_VERSION_MAJOR).1 -APPARMOR_SITE = https://launchpad.net/apparmor/$(APPARMOR_VERSION_MAJOR)/$(APPARMOR_VERSION)/+download -APPARMOR_DL_SUBDIR = libapparmor -APPARMOR_LICENSE = GPL-2.0 -APPARMOR_LICENSE_FILES = LICENSE parser/COPYING.GPL -APPARMOR_CPE_ID_VENDOR = canonical - -APPARMOR_DEPENDENCIES = libapparmor - -APPARMOR_TOOLS = parser -APPARMOR_MAKE_OPTS = USE_SYSTEM=1 DISTRO=unknown POD2MAN=true POD2HTML=true - -ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) -APPARMOR_DEPENDENCIES += gettext -APPARMOR_MAKE_OPTS += WITH_LIBINTL=1 -endif - -ifeq ($(BR2_PACKAGE_APPARMOR_BINUTILS),y) -APPARMOR_TOOLS += binutils -endif - -ifeq ($(BR2_PACKAGE_APPARMOR_UTILS),y) -APPARMOR_DEPENDENCIES += host-python3 python3 -APPARMOR_TOOLS += utils -APPARMOR_MAKE_OPTS += PYTHON=$(HOST_DIR)/bin/python3 - -ifeq ($(BR2_PACKAGE_APPARMOR_UTILS_EXTRA),) -define APPARMOR_UTILS_NO_EXTRA - $(Q)rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,aa-decode aa-notify aa-remove-unknown) -endef -APPARMOR_POST_INSTALL_TARGET_HOOKS += APPARMOR_UTILS_NO_EXTRA -endif # BR2_PACKAGE_APPARMOR_UTILS_EXTRA - -endif # BR2_PACKAGE_APPARMOR_UTILS - -ifeq ($(BR2_PACKAGE_APPARMOR_PROFILES),y) -APPARMOR_TOOLS += profiles -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -APPARMOR_DEPENDENCIES += linux-pam -APPARMOR_TOOLS += changehat/pam_apparmor -endif - -ifeq ($(BR2_PACKAGE_APACHE),y) -APPARMOR_DEPENDENCIES += apache -APPARMOR_TOOLS += changehat/mod_apparmor -APPARMOR_MAKE_OPTS += APXS=$(STAGING_DIR)/usr/bin/apxs - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -define APPARMOR_FIXUP_APXS - $(SED) "s@$(PER_PACKAGE_DIR)/[^/]\+/@$(PER_PACKAGE_DIR)/apparmor/@g" \ - $(STAGING_DIR)/usr/bin/apxs \ - $(STAGING_DIR)/usr/build/config_vars.mk -endef -APPARMOR_POST_CONFIGURE_HOOKS += APPARMOR_FIXUP_APXS -endif -endif - -define APPARMOR_BUILD_CMDS - $(foreach tool,$(APPARMOR_TOOLS),\ - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ - $(MAKE) -C $(@D)/$(tool) $(APPARMOR_MAKE_OPTS) - ) -endef - -define APPARMOR_INSTALL_TARGET_CMDS - $(foreach tool,$(APPARMOR_TOOLS),\ - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ - $(MAKE) -C $(@D)/$(tool) $(APPARMOR_MAKE_OPTS) \ - DESTDIR=$(TARGET_DIR) install - ) -endef - -# Despite its name, apparmor.systemd is a sysv-init compatible startup script -define APPARMOR_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(@D)/parser/apparmor.systemd \ - $(TARGET_DIR)/etc/init.d/S00apparmor -endef - -define APPARMOR_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0755 $(@D)/parser/apparmor.systemd \ - $(TARGET_DIR)/lib/apparmor/apparmor.systemd - $(INSTALL) -D -m 0644 $(@D)/parser/apparmor.service \ - $(TARGET_DIR)/usr/lib/systemd/system/apparmor.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/apr-util/Config.in b/buildroot-2021.05/package/apr-util/Config.in deleted file mode 100644 index 6c5e3bbd..00000000 --- a/buildroot-2021.05/package/apr-util/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_APR_UTIL - bool "apr-util" - # apr really needs shared library support - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU # apr - select BR2_PACKAGE_APR - select BR2_PACKAGE_EXPAT - help - The utility library for the apache runtime project - - http://apr.apache.org/ - -comment "apr-util needs a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/apr-util/apr-util.mk b/buildroot-2021.05/package/apr-util/apr-util.mk deleted file mode 100644 index db4df915..00000000 --- a/buildroot-2021.05/package/apr-util/apr-util.mk +++ /dev/null @@ -1,96 +0,0 @@ -################################################################################ -# -# apr-util -# -################################################################################ - -APR_UTIL_VERSION = 1.6.1 -APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2 -APR_UTIL_SITE = http://archive.apache.org/dist/apr -APR_UTIL_LICENSE = Apache-2.0 -APR_UTIL_LICENSE_FILES = LICENSE -APR_UTIL_CPE_ID_VENDOR = apache -APR_UTIL_CPE_ID_PRODUCT = portable_runtime_utility -APR_UTIL_INSTALL_STAGING = YES -APR_UTIL_DEPENDENCIES = apr expat -APR_UTIL_CONF_OPTS = \ - --with-apr=$(STAGING_DIR)/usr/bin/apr-1-config -APR_UTIL_CONFIG_SCRIPTS = apu-1-config - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -define APR_UTIL_FIX_RULES_MK_LIBTOOL - $(SED) 's,$(PER_PACKAGE_DIR)/apr/,$(PER_PACKAGE_DIR)/apr-util/,g' \ - $(@D)/build/rules.mk - $(SED) 's,$(PER_PACKAGE_DIR)/apr/,$(PER_PACKAGE_DIR)/apr-util/,g' \ - $(STAGING_DIR)/usr/build-1/libtool -endef -APR_UTIL_POST_CONFIGURE_HOOKS += APR_UTIL_FIX_RULES_MK_LIBTOOL -endif - -# When iconv is available, then use it to provide charset conversion -# features. -APR_UTIL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) - -ifeq ($(BR2_PACKAGE_BERKELEYDB),y) -APR_UTIL_CONF_OPTS += --with-dbm=db53 --with-berkeley-db="$(STAGING_DIR)/usr" -APR_UTIL_DEPENDENCIES += berkeleydb -else -APR_UTIL_CONF_OPTS += --without-berkeley-db -endif - -ifeq ($(BR2_PACKAGE_GDBM),y) -APR_UTIL_CONF_OPTS += --with-gdbm="$(STAGING_DIR)/usr" -APR_UTIL_DEPENDENCIES += gdbm -else -APR_UTIL_CONF_OPTS += --without-gdbm -endif - -ifeq ($(BR2_PACKAGE_MYSQL),y) -APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr" -APR_UTIL_DEPENDENCIES += mysql -else -APR_UTIL_CONF_OPTS += --without-mysql -endif - -ifeq ($(BR2_PACKAGE_SQLITE),y) -APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr" -APR_UTIL_DEPENDENCIES += sqlite -else -APR_UTIL_CONF_OPTS += --without-sqlite3 -endif - -ifeq ($(BR2_PACKAGE_OPENLDAP),y) -APR_UTIL_CONF_ENV += ac_cv_ldap_set_rebind_proc_style=three -APR_UTIL_CONF_OPTS += \ - --with-ldap \ - --with-ldap-include="$(STAGING_DIR)/usr/include/" \ - --with-ldap-lib="$(STAGING_DIR)/usr/lib" -APR_UTIL_DEPENDENCIES += openldap -else -APR_UTIL_CONF_OPTS += --without-ldap -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr" -APR_UTIL_DEPENDENCIES += openssl -else -APR_UTIL_CONF_OPTS += --without-crypto -endif - -ifeq ($(BR2_PACKAGE_POSTGRESQL),y) -APR_UTIL_CONF_OPTS += --with-pgsql="$(STAGING_DIR)/usr" -APR_UTIL_DEPENDENCIES += postgresql -else -APR_UTIL_CONF_OPTS += --without-pgsql -endif - -ifeq ($(BR2_PACKAGE_UNIXODBC),y) -APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr" -# avoid using target binary $(STAGING_DIR)/usr/bin/odbc_config -APR_UTIL_CONF_ENV += ac_cv_path_ODBC_CONFIG="" -APR_UTIL_DEPENDENCIES += unixodbc -else -APR_UTIL_CONF_OPTS += --without-odbc -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/apr/Config.in b/buildroot-2021.05/package/apr/Config.in deleted file mode 100644 index 67de9254..00000000 --- a/buildroot-2021.05/package/apr/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_APR - bool "apr" - # apr really needs shared library support - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU # fork() in apr_proc_fork() - help - The mission of the Apache Portable Runtime (APR) project is to - create and maintain software libraries that provide a - predictable and consistent interface to underlying - platform-specific implementations - - http://apr.apache.org/ - -comment "apr needs a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/apr/apr.mk b/buildroot-2021.05/package/apr/apr.mk deleted file mode 100644 index 46622258..00000000 --- a/buildroot-2021.05/package/apr/apr.mk +++ /dev/null @@ -1,86 +0,0 @@ -################################################################################ -# -# apr -# -################################################################################ - -APR_VERSION = 1.7.0 -APR_SOURCE = apr-$(APR_VERSION).tar.bz2 -APR_SITE = http://archive.apache.org/dist/apr -APR_LICENSE = Apache-2.0 -APR_LICENSE_FILES = LICENSE -APR_INSTALL_STAGING = YES -# We have a patch touching configure.in and Makefile.in, -# so we need to autoreconf: -APR_AUTORECONF = YES - -# avoid apr_hints.m4 by setting apr_preload_done=yes and set -# the needed CFLAGS on our own (avoids '-D_REENTRANT' in case -# not supported by toolchain and subsequent configure failure) -APR_CFLAGS = $(TARGET_CFLAGS) -DLINUX -D_GNU_SOURCE -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -APR_CFLAGS += -D_REENTRANT -endif - -APR_CONF_ENV = \ - CC_FOR_BUILD="$(HOSTCC)" \ - CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ - CFLAGS="$(APR_CFLAGS)" \ - ac_cv_file__dev_zero=yes \ - ac_cv_func_setpgrp_void=yes \ - apr_cv_process_shared_works=yes \ - apr_cv_mutex_robust_shared=no \ - apr_cv_tcp_nodelay_with_cork=yes \ - ac_cv_sizeof_struct_iovec=8 \ - ac_cv_sizeof_pid_t=4 \ - ac_cv_struct_rlimit=yes \ - ac_cv_o_nonblock_inherited=no \ - apr_cv_mutex_recursive=yes \ - apr_cv_epoll=yes \ - apr_cv_epoll_create1=yes \ - apr_cv_dup3=yes \ - apr_cv_sock_cloexec=yes \ - apr_cv_accept4=yes \ - apr_preload_done=yes -APR_CONFIG_SCRIPTS = apr-1-config - -# Doesn't even try to guess when cross compiling -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -APR_CONF_ENV += apr_cv_pthreads_lib="-lpthread" -endif - -# Fix lfs detection when cross compiling -APR_CONF_ENV += apr_cv_use_lfs64=yes - -# Use non-portable atomics when available. We have to override -# ap_cv_atomic_builtins because the test used to check for atomic -# builtins uses AC_TRY_RUN, which doesn't work when cross-compiling. -ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8),y) -APR_CONF_OPTS += --enable-nonportable-atomics -APR_CONF_ENV += ap_cv_atomic_builtins=yes -else -APR_CONF_OPTS += --disable-nonportable-atomics -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) -APR_DEPENDENCIES += util-linux -endif - -define APR_CLEANUP_UNNEEDED_FILES - $(RM) -rf $(TARGET_DIR)/usr/build-1/ -endef - -APR_POST_INSTALL_TARGET_HOOKS += APR_CLEANUP_UNNEEDED_FILES - -define APR_FIXUP_RULES_MK - $(SED) 's%apr_builddir=%apr_builddir=$(STAGING_DIR)%' \ - $(STAGING_DIR)/usr/build-1/apr_rules.mk - $(SED) 's%apr_builders=%apr_builders=$(STAGING_DIR)%' \ - $(STAGING_DIR)/usr/build-1/apr_rules.mk - $(SED) 's%top_builddir=%top_builddir=$(STAGING_DIR)%' \ - $(STAGING_DIR)/usr/build-1/apr_rules.mk -endef - -APR_POST_INSTALL_STAGING_HOOKS += APR_FIXUP_RULES_MK - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.hash b/buildroot-2021.05/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.hash deleted file mode 100644 index b18e56c1..00000000 --- a/buildroot-2021.05/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 ac952d89ae0fc3543e81099e7d34917efc621f5def112eee843fd1ce755eca8c gcc-arm-9.2-2019.12-x86_64-arm-none-eabi.tar.xz diff --git a/buildroot-2021.05/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.mk b/buildroot-2021.05/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.mk deleted file mode 100644 index d7088892..00000000 --- a/buildroot-2021.05/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# arm-gnu-a-toolchain -# -################################################################################ - -ARM_GNU_A_TOOLCHAIN_VERSION = 9.2-2019.12 -ARM_GNU_A_TOOLCHAIN_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/$(ARM_GNU_A_TOOLCHAIN_VERSION)/binrel -ARM_GNU_A_TOOLCHAIN_SOURCE = gcc-arm-$(ARM_GNU_A_TOOLCHAIN_VERSION)-x86_64-arm-none-eabi.tar.xz -ARM_GNU_A_TOOLCHAIN_LICENSE = GPL-3.0+ - -HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR = $(HOST_DIR)/opt/gcc-arm-none-eabi - -define HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_CMDS - rm -rf $(HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR) - mkdir -p $(HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR) - cp -rf $(@D)/* $(HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR)/ - - mkdir -p $(HOST_DIR)/bin - cd $(HOST_DIR)/bin && \ - for i in ../opt/gcc-arm-none-eabi/bin/*; do \ - ln -sf $$i; \ - done -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/armadillo/Config.in b/buildroot-2021.05/package/armadillo/Config.in deleted file mode 100644 index b2b61a32..00000000 --- a/buildroot-2021.05/package/armadillo/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -comment "armadillo needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on !BR2_powerpc - depends on !BR2_m68k_cf - -comment "armadillo needs a glibc toolchain w/ C++" - depends on BR2_powerpc - depends on !BR2_INSTALL_LIBSTDCPP || BR2_TOOLCHAIN_USES_UCLIBC - -config BR2_PACKAGE_ARMADILLO - bool "armadillo" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_powerpc || BR2_TOOLCHAIN_USES_GLIBC # clapack - depends on !BR2_m68k_cf # clapack - select BR2_PACKAGE_CLAPACK - help - Armadillo: An Open Source C++ Linear Algebra Library for - Fast Prototyping and Computationally Intensive Experiments. - - http://arma.sourceforge.net/ diff --git a/buildroot-2021.05/package/armadillo/armadillo.mk b/buildroot-2021.05/package/armadillo/armadillo.mk deleted file mode 100644 index 624b842e..00000000 --- a/buildroot-2021.05/package/armadillo/armadillo.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# armadillo -# -################################################################################ - -ARMADILLO_VERSION = 9.900.2 -ARMADILLO_SOURCE = armadillo-$(ARMADILLO_VERSION).tar.xz -ARMADILLO_SITE = https://downloads.sourceforge.net/project/arma -ARMADILLO_DEPENDENCIES = clapack -ARMADILLO_INSTALL_STAGING = YES -ARMADILLO_LICENSE = Apache-2.0 -ARMADILLO_LICENSE_FILES = LICENSE.txt - -ARMADILLO_CONF_OPTS = -DDETECT_HDF5=false - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/armbian-firmware/Config.in b/buildroot-2021.05/package/armbian-firmware/Config.in deleted file mode 100644 index 7c5f6ba1..00000000 --- a/buildroot-2021.05/package/armbian-firmware/Config.in +++ /dev/null @@ -1,26 +0,0 @@ -config BR2_PACKAGE_ARMBIAN_FIRMWARE - bool "armbian-firmware" - help - This package enables access to various firmware - blobs from the Armbian firmware repository. - - https://github.com/armbian/firmware - -if BR2_PACKAGE_ARMBIAN_FIRMWARE - -config BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6212 - bool "AP6212 WiFi/BT" - help - Firmware files for AP6212 WiFi/BT combo chip. - -config BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6256 - bool "AP6256 WiFi/BT" - help - Firmware files for AP6256 WiFi/BT combo chip. - -config BR2_PACKAGE_ARMBIAN_FIRMWARE_XR819 - bool "XR819 WiFi" - help - Firmware files for XR819 WiFi SDIO chip. - -endif diff --git a/buildroot-2021.05/package/armbian-firmware/armbian-firmware.hash b/buildroot-2021.05/package/armbian-firmware/armbian-firmware.hash deleted file mode 100644 index ceefafd9..00000000 --- a/buildroot-2021.05/package/armbian-firmware/armbian-firmware.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 a370a6aeb30f12a17f8d47c81a4d81aa822b9408589305a4d6a67d544280520d armbian-firmware-70a08503ac9e765f5d1ccf4fa3e825db0751e53e-br1.tar.gz diff --git a/buildroot-2021.05/package/armbian-firmware/armbian-firmware.mk b/buildroot-2021.05/package/armbian-firmware/armbian-firmware.mk deleted file mode 100644 index 0ed06902..00000000 --- a/buildroot-2021.05/package/armbian-firmware/armbian-firmware.mk +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# -# armbian-firmware -# -################################################################################ - -ARMBIAN_FIRMWARE_VERSION = 70a08503ac9e765f5d1ccf4fa3e825db0751e53e -ARMBIAN_FIRMWARE_SITE = https://github.com/armbian/firmware -ARMBIAN_FIRMWARE_SITE_METHOD = git - -# AP6212 WiFi/BT combo firmware -ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6212),y) -ARMBIAN_FIRMWARE_DIRS += ap6212 -endif - -# AP6256 WiFi/BT combo firmware -ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6256),y) -ARMBIAN_FIRMWARE_FILES += \ - brcm/BCM4345C5.hcd \ - brcm/brcmfmac43456-sdio.bin \ - brcm/brcmfmac43456-sdio.txt -endif - -# XR819 WiFi firmware -ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_XR819),y) -ARMBIAN_FIRMWARE_FILES += \ - xr819/boot_xr819.bin \ - xr819/fw_xr819.bin \ - xr819/sdd_xr819.bin -endif - -ifneq ($(ARMBIAN_FIRMWARE_FILES),) -define ARMBIAN_FIRMWARE_INSTALL_FILES - cd $(@D) && \ - $(TAR) cf install.tar $(sort $(ARMBIAN_FIRMWARE_FILES)) && \ - $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware -endef -endif - -ifneq ($(ARMBIAN_FIRMWARE_DIRS),) -# We need to rm -rf the destination directory to avoid copying -# into it in itself, should we re-install the package. -define ARMBIAN_FIRMWARE_INSTALL_DIRS - $(foreach d,$(ARMBIAN_FIRMWARE_DIRS), \ - rm -rf $(TARGET_DIR)/lib/firmware/$(d); \ - cp -a $(@D)/$(d) $(TARGET_DIR)/lib/firmware/$(d)$(sep)) -endef -endif - -ifneq ($(ARMBIAN_FIRMWARE_FILES)$(ARMBIAN_FIRMWARE_DIRS),) -ARMBIAN_FIRMWARE_LICENSE = PROPRIETARY -ARMBIAN_FIRMWARE_REDISTRIBUTE = NO -endif - -define ARMBIAN_FIRMWARE_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/lib/firmware - $(ARMBIAN_FIRMWARE_INSTALL_FILES) - $(ARMBIAN_FIRMWARE_INSTALL_DIRS) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/arp-scan/arp-scan.mk b/buildroot-2021.05/package/arp-scan/arp-scan.mk deleted file mode 100644 index cc1efe84..00000000 --- a/buildroot-2021.05/package/arp-scan/arp-scan.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# arp-scan -# -################################################################################ - -ARP_SCAN_VERSION = 1.9.7 -ARP_SCAN_SITE = $(call github,royhills,arp-scan,$(ARP_SCAN_VERSION)) -ARP_SCAN_LICENSE = GPL-3.0+ -ARP_SCAN_LICENSE_FILES = COPYING -ARP_SCAN_DEPENDENCIES = libpcap -ARP_SCAN_AUTORECONF = YES - -ifeq ($(BR2_STATIC_LIBS),y) -ARP_SCAN_CONF_OPTS = LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" -endif - -ARP_SCAN_CONF_ENV = pgac_cv_snprintf_long_long_int_format='%lld' - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/arptables/0001-Fix-musl-build-issue.patch b/buildroot-2021.05/package/arptables/0001-Fix-musl-build-issue.patch deleted file mode 100644 index e9419b0a..00000000 --- a/buildroot-2021.05/package/arptables/0001-Fix-musl-build-issue.patch +++ /dev/null @@ -1,71 +0,0 @@ -From cbf84a0bc377c6a368d30571f37ebfab27784697 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=B6rg=20Krause?= -Date: Wed, 2 Dec 2015 04:57:33 +0100 -Subject: [PATCH 4/4] Fix musl build issue -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Due to clashes in the namespace between the Linux Kernel headers and the -netinet headers building arptables with the musl C library fails. - -Best advice from the musl developers is to not include both headers in a -userspace tool (see the thread on the musl mailing list [1], especially [2]). - -Since arptables only requires a few definitions from the Linux Kernel headers -we opt-out the clashing header files and define the needed definitions. - -[1] http://www.openwall.com/lists/musl/2012/10/09/1 -[2] http://www.openwall.com/lists/musl/2012/10/11/1 - -Signed-off-by: Jörg Krause ---- - extensions/arpt_CLASSIFY.c | 7 +++++++ - include/linux/netfilter_arp.h | 11 +++++++++++ - 2 files changed, 18 insertions(+) - -diff --git a/extensions/arpt_CLASSIFY.c b/extensions/arpt_CLASSIFY.c -index cb5770b..c58129f 100644 ---- a/extensions/arpt_CLASSIFY.c -+++ b/extensions/arpt_CLASSIFY.c -@@ -21,7 +21,14 @@ - #include - #include - #include -+ -+#ifdef __KERNEL__ - #include -+#else -+struct xt_classify_target_info { -+ uint32_t priority; -+}; -+#endif - - #define TC_H_MAJ_MASK (0xFFFF0000U) - #define TC_H_MIN_MASK (0x0000FFFFU) -diff --git a/include/linux/netfilter_arp.h b/include/linux/netfilter_arp.h -index 92bc6dd..2a63e82 100644 ---- a/include/linux/netfilter_arp.h -+++ b/include/linux/netfilter_arp.h -@@ -5,7 +5,18 @@ - * (C)2002 Rusty Russell IBM -- This code is GPL. - */ - -+#ifdef __KERNEL__ - #include -+#else -+/* Responses from hook functions. */ -+#define NF_DROP 0 -+#define NF_ACCEPT 1 -+#define NF_STOLEN 2 -+#define NF_QUEUE 3 -+#define NF_REPEAT 4 -+#define NF_STOP 5 -+#define NF_MAX_VERDICT NF_STOP -+#endif - - /* There is no PF_ARP. */ - #define NF_ARP 0 --- -2.6.2 - diff --git a/buildroot-2021.05/package/assimp/0001-Fix-FBXConverter-use-proper-64-bit-constant.patch b/buildroot-2021.05/package/assimp/0001-Fix-FBXConverter-use-proper-64-bit-constant.patch deleted file mode 100644 index 1b23d663..00000000 --- a/buildroot-2021.05/package/assimp/0001-Fix-FBXConverter-use-proper-64-bit-constant.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 30a2ecc7939449f235282eb6de42e367fc5b1867 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 14 Jan 2016 22:13:15 +0100 -Subject: [PATCH] Fix FBXConverter: use proper 64-bit constant - -Use proper 64-bit constant for CONVERT_FBX_TIME(time) conversion, fixes: - - code/FBXConverter.cpp:2025: error: integer constant is too large for 'long' type - code/FBXConverter.cpp:2026: error: integer constant is too large for 'long' type - code/FBXConverter.cpp:2794: error: integer constant is too large for 'long' type - code/FBXConverter.cpp:2868: error: integer constant is too large for 'long' type - code/FBXConverter.cpp:2878: error: integer constant is too large for 'long' type - code/FBXConverter.cpp:2888: error: integer constant is too large for 'long' type - -Signed-off-by: Peter Seiderer -[Rebased on 5.0.1] -Signed-off-by: Peter Seiderer ---- - code/FBX/FBXConverter.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/code/FBX/FBXConverter.cpp b/code/FBXConverter.cpp -index e0c6b9c..b1e9a71 100644 ---- a/code/FBX/FBXConverter.cpp -+++ b/code/FBX/FBXConverter.cpp -@@ -67,7 +67,7 @@ namespace FBX { - - #define MAGIC_NODE_TAG "_$AssimpFbx$" - --#define CONVERT_FBX_TIME(time) static_cast(time) / 46186158000L -+#define CONVERT_FBX_TIME(time) static_cast(time) / 46186158000LL - - // XXX vc9's debugger won't step into anonymous namespaces - //namespace { --- -2.1.4 - diff --git a/buildroot-2021.05/package/assimp/0002-closes-2733-update-of-zlip-to-fix-gcc-build-for-v9-2-0-32-bit.patch b/buildroot-2021.05/package/assimp/0002-closes-2733-update-of-zlip-to-fix-gcc-build-for-v9-2-0-32-bit.patch deleted file mode 100644 index 4b86cc58..00000000 --- a/buildroot-2021.05/package/assimp/0002-closes-2733-update-of-zlip-to-fix-gcc-build-for-v9-2-0-32-bit.patch +++ /dev/null @@ -1,1638 +0,0 @@ -From f78446b14aff46db2ef27d062a275b6a01fd68b1 Mon Sep 17 00:00:00 2001 -From: Kim Kulling -Date: Tue, 19 Nov 2019 20:30:40 +0100 -Subject: [PATCH] closes https://github.com/assimp/assimp/issues/2733: update - of zlip to fix gcc build for v9.2.0 32 bit - -[Retrieved (and updated to remove .gitignore and appveyor.yml) from: -https://github.com/assimp/assimp/commit/f78446b14aff46db2ef27d062a275b6a01fd68b1] -Signed-off-by: Fabrice Fontaine ---- - contrib/zip/.gitignore | 2 + - contrib/zip/CMakeLists.txt | 83 +++++- - contrib/zip/README.md | 12 +- - contrib/zip/appveyor.yml | 2 +- - contrib/zip/src/miniz.h | 457 ++++++++++++++++++++++++++++---- - contrib/zip/src/zip.c | 62 +++-- - contrib/zip/src/zip.h | 457 ++++++++++++++++---------------- - contrib/zip/test/CMakeLists.txt | 27 +- - contrib/zip/test/test.c | 38 ++- - contrib/zip/test/test_miniz.c | 25 +- - 10 files changed, 821 insertions(+), 344 deletions(-) - -diff --git a/contrib/zip/CMakeLists.txt b/contrib/zip/CMakeLists.txt -index b46dbb1db0..77916d2e14 100644 ---- a/contrib/zip/CMakeLists.txt -+++ b/contrib/zip/CMakeLists.txt -@@ -1,10 +1,14 @@ --cmake_minimum_required(VERSION 2.8) --project(zip) --enable_language(C) -+cmake_minimum_required(VERSION 3.0) -+ -+project(zip -+ LANGUAGES C -+ VERSION "0.1.15") - set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) - -+option(CMAKE_DISABLE_TESTING "Disable test creation" OFF) -+ - if (MSVC) -- # Use secure functions by defaualt and suppress warnings about "deprecated" functions -+ # Use secure functions by default and suppress warnings about "deprecated" functions - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /D _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /D _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT=1") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /D _CRT_NONSTDC_NO_WARNINGS=1 /D _CRT_SECURE_NO_WARNINGS=1") -@@ -12,28 +16,80 @@ elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR - "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR - "${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Werror -pedantic") -+ if(ENABLE_COVERAGE) -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage") -+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage") -+ endif() - endif (MSVC) - - # zip - set(SRC src/miniz.h src/zip.h src/zip.c) - add_library(${PROJECT_NAME} ${SRC}) --target_include_directories(${PROJECT_NAME} INTERFACE src) -+target_include_directories(${PROJECT_NAME} PUBLIC -+ $ -+ $ -+) - - # test - if (NOT CMAKE_DISABLE_TESTING) - enable_testing() - add_subdirectory(test) - find_package(Sanitizers) -- add_sanitizers(${PROJECT_NAME} test.exe) -- add_sanitizers(${PROJECT_NAME} test_miniz.exe) -+ add_sanitizers(${PROJECT_NAME} ${test_out} ${test_miniz_out}) - endif() - -+#### -+# Installation (https://github.com/forexample/package-example) { -+ -+set(CONFIG_INSTALL_DIR "lib/cmake/${PROJECT_NAME}") -+set(INCLUDE_INSTALL_DIR "include") -+ -+set(GENERATED_DIR "${CMAKE_CURRENT_BINARY_DIR}/generated") -+ -+# Configuration -+set(VERSION_CONFIG "${GENERATED_DIR}/${PROJECT_NAME}ConfigVersion.cmake") -+set(PROJECT_CONFIG "${GENERATED_DIR}/${PROJECT_NAME}Config.cmake") -+set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets") -+set(NAMESPACE "${PROJECT_NAME}::") -+ -+# Include module with fuction 'write_basic_package_version_file' -+include(CMakePackageConfigHelpers) -+ -+# Note: PROJECT_VERSION is used as a VERSION -+write_basic_package_version_file( -+ "${VERSION_CONFIG}" COMPATIBILITY SameMajorVersion -+) -+ -+# Use variables: -+# * TARGETS_EXPORT_NAME -+# * PROJECT_NAME -+configure_package_config_file( -+ "cmake/Config.cmake.in" -+ "${PROJECT_CONFIG}" -+ INSTALL_DESTINATION "${CONFIG_INSTALL_DIR}" -+) -+ -+install( -+ FILES "${PROJECT_CONFIG}" "${VERSION_CONFIG}" -+ DESTINATION "${CONFIG_INSTALL_DIR}" -+) -+ -+install( -+ EXPORT "${TARGETS_EXPORT_NAME}" -+ NAMESPACE "${NAMESPACE}" -+ DESTINATION "${CONFIG_INSTALL_DIR}" -+) -+ -+# } -+ - install(TARGETS ${PROJECT_NAME} -+ EXPORT ${TARGETS_EXPORT_NAME} - RUNTIME DESTINATION bin - ARCHIVE DESTINATION lib - LIBRARY DESTINATION lib -- COMPONENT library) --install(FILES ${PROJECT_SOURCE_DIR}/src/zip.h DESTINATION include) -+ INCLUDES DESTINATION ${INCLUDE_INSTALL_DIR} -+) -+install(FILES ${PROJECT_SOURCE_DIR}/src/zip.h DESTINATION ${INCLUDE_INSTALL_DIR}/zip) - - # uninstall target (https://gitlab.kitware.com/cmake/community/wikis/FAQ#can-i-do-make-uninstall-with-cmake) - if(NOT TARGET uninstall) -@@ -45,3 +101,12 @@ if(NOT TARGET uninstall) - add_custom_target(uninstall - COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake/cmake_uninstall.cmake) - endif() -+ -+find_package(Doxygen) -+if(DOXYGEN_FOUND) -+ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) -+ add_custom_target(doc -+ ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile -+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} -+ COMMENT "Generating API documentation with Doxygen" VERBATIM) -+endif() -diff --git a/contrib/zip/README.md b/contrib/zip/README.md -index d5fb8cd203..14eb9a34c8 100644 ---- a/contrib/zip/README.md -+++ b/contrib/zip/README.md -@@ -71,7 +71,7 @@ int arg = 2; - zip_extract("foo.zip", "/tmp", on_extract_entry, &arg); - ``` - --* Extract a zip entry into memory. -+* Extract a zip entry into memory. - ```c - void *buf = NULL; - size_t bufsize; -@@ -89,7 +89,7 @@ zip_close(zip); - free(buf); - ``` - --* Extract a zip entry into memory (no internal allocation). -+* Extract a zip entry into memory (no internal allocation). - ```c - unsigned char *buf; - size_t bufsize; -@@ -110,7 +110,7 @@ zip_close(zip); - free(buf); - ``` - --* Extract a zip entry into memory using callback. -+* Extract a zip entry into memory using callback. - ```c - struct buffer_t { - char *data; -@@ -144,7 +144,7 @@ free(buf.data); - ``` - - --* Extract a zip entry into a file. -+* Extract a zip entry into a file. - ```c - struct zip_t *zip = zip_open("foo.zip", 0, 'r'); - { -@@ -157,7 +157,7 @@ struct zip_t *zip = zip_open("foo.zip", 0, 'r'); - zip_close(zip); - ``` - --* List of all zip entries -+* List of all zip entries - ```c - struct zip_t *zip = zip_open("foo.zip", 0, 'r'); - int i, n = zip_total_entries(zip); -@@ -174,7 +174,7 @@ for (i = 0; i < n; ++i) { - zip_close(zip); - ``` - --## Bindings -+# Bindings - Compile zip library as a dynamic library. - ```shell - $ mkdir build -diff --git a/contrib/zip/src/miniz.h b/contrib/zip/src/miniz.h -index 2c27a94d8d..c4fcfb83e6 100644 ---- a/contrib/zip/src/miniz.h -+++ b/contrib/zip/src/miniz.h -@@ -221,6 +221,7 @@ - #ifndef MINIZ_HEADER_INCLUDED - #define MINIZ_HEADER_INCLUDED - -+#include - #include - - // Defines to completely disable specific portions of miniz.c: -@@ -284,7 +285,8 @@ - /* Set MINIZ_USE_UNALIGNED_LOADS_AND_STORES only if not set */ - #if !defined(MINIZ_USE_UNALIGNED_LOADS_AND_STORES) - #if MINIZ_X86_OR_X64_CPU --/* Set MINIZ_USE_UNALIGNED_LOADS_AND_STORES to 1 on CPU's that permit efficient integer loads and stores from unaligned addresses. */ -+/* Set MINIZ_USE_UNALIGNED_LOADS_AND_STORES to 1 on CPU's that permit efficient -+ * integer loads and stores from unaligned addresses. */ - #define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 1 - #define MINIZ_UNALIGNED_USE_MEMCPY - #else -@@ -354,6 +356,44 @@ enum { - MZ_FIXED = 4 - }; - -+/* miniz error codes. Be sure to update mz_zip_get_error_string() if you add or -+ * modify this enum. */ -+typedef enum { -+ MZ_ZIP_NO_ERROR = 0, -+ MZ_ZIP_UNDEFINED_ERROR, -+ MZ_ZIP_TOO_MANY_FILES, -+ MZ_ZIP_FILE_TOO_LARGE, -+ MZ_ZIP_UNSUPPORTED_METHOD, -+ MZ_ZIP_UNSUPPORTED_ENCRYPTION, -+ MZ_ZIP_UNSUPPORTED_FEATURE, -+ MZ_ZIP_FAILED_FINDING_CENTRAL_DIR, -+ MZ_ZIP_NOT_AN_ARCHIVE, -+ MZ_ZIP_INVALID_HEADER_OR_CORRUPTED, -+ MZ_ZIP_UNSUPPORTED_MULTIDISK, -+ MZ_ZIP_DECOMPRESSION_FAILED, -+ MZ_ZIP_COMPRESSION_FAILED, -+ MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE, -+ MZ_ZIP_CRC_CHECK_FAILED, -+ MZ_ZIP_UNSUPPORTED_CDIR_SIZE, -+ MZ_ZIP_ALLOC_FAILED, -+ MZ_ZIP_FILE_OPEN_FAILED, -+ MZ_ZIP_FILE_CREATE_FAILED, -+ MZ_ZIP_FILE_WRITE_FAILED, -+ MZ_ZIP_FILE_READ_FAILED, -+ MZ_ZIP_FILE_CLOSE_FAILED, -+ MZ_ZIP_FILE_SEEK_FAILED, -+ MZ_ZIP_FILE_STAT_FAILED, -+ MZ_ZIP_INVALID_PARAMETER, -+ MZ_ZIP_INVALID_FILENAME, -+ MZ_ZIP_BUF_TOO_SMALL, -+ MZ_ZIP_INTERNAL_ERROR, -+ MZ_ZIP_FILE_NOT_FOUND, -+ MZ_ZIP_ARCHIVE_TOO_LARGE, -+ MZ_ZIP_VALIDATION_FAILED, -+ MZ_ZIP_WRITE_CALLBACK_FAILED, -+ MZ_ZIP_TOTAL_ERRORS -+} mz_zip_error; -+ - // Method - #define MZ_DEFLATED 8 - -@@ -696,6 +736,7 @@ typedef size_t (*mz_file_read_func)(void *pOpaque, mz_uint64 file_ofs, - void *pBuf, size_t n); - typedef size_t (*mz_file_write_func)(void *pOpaque, mz_uint64 file_ofs, - const void *pBuf, size_t n); -+typedef mz_bool (*mz_file_needs_keepalive)(void *pOpaque); - - struct mz_zip_internal_state_tag; - typedef struct mz_zip_internal_state_tag mz_zip_internal_state; -@@ -707,13 +748,27 @@ typedef enum { - MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED = 3 - } mz_zip_mode; - --typedef struct mz_zip_archive_tag { -+typedef enum { -+ MZ_ZIP_TYPE_INVALID = 0, -+ MZ_ZIP_TYPE_USER, -+ MZ_ZIP_TYPE_MEMORY, -+ MZ_ZIP_TYPE_HEAP, -+ MZ_ZIP_TYPE_FILE, -+ MZ_ZIP_TYPE_CFILE, -+ MZ_ZIP_TOTAL_TYPES -+} mz_zip_type; -+ -+typedef struct { - mz_uint64 m_archive_size; - mz_uint64 m_central_directory_file_ofs; -- mz_uint m_total_files; -+ -+ /* We only support up to UINT32_MAX files in zip64 mode. */ -+ mz_uint32 m_total_files; - mz_zip_mode m_zip_mode; -+ mz_zip_type m_zip_type; -+ mz_zip_error m_last_error; - -- mz_uint m_file_offset_alignment; -+ mz_uint64 m_file_offset_alignment; - - mz_alloc_func m_pAlloc; - mz_free_func m_pFree; -@@ -722,6 +777,7 @@ typedef struct mz_zip_archive_tag { - - mz_file_read_func m_pRead; - mz_file_write_func m_pWrite; -+ mz_file_needs_keepalive m_pNeeds_keepalive; - void *m_pIO_opaque; - - mz_zip_internal_state *m_pState; -@@ -1263,6 +1319,9 @@ mz_uint tdefl_create_comp_flags_from_zip_params(int level, int window_bits, - int strategy); - #endif // #ifndef MINIZ_NO_ZLIB_APIS - -+#define MZ_UINT16_MAX (0xFFFFU) -+#define MZ_UINT32_MAX (0xFFFFFFFFU) -+ - #ifdef __cplusplus - } - #endif -@@ -1311,6 +1370,11 @@ typedef unsigned char mz_validate_uint64[sizeof(mz_uint64) == 8 ? 1 : -1]; - ((mz_uint32)(((const mz_uint8 *)(p))[3]) << 24U)) - #endif - -+#define MZ_READ_LE64(p) \ -+ (((mz_uint64)MZ_READ_LE32(p)) | \ -+ (((mz_uint64)MZ_READ_LE32((const mz_uint8 *)(p) + sizeof(mz_uint32))) \ -+ << 32U)) -+ - #ifdef _MSC_VER - #define MZ_FORCEINLINE __forceinline - #elif defined(__GNUC__) -@@ -4160,6 +4224,17 @@ enum { - MZ_ZIP_LOCAL_DIR_HEADER_SIZE = 30, - MZ_ZIP_CENTRAL_DIR_HEADER_SIZE = 46, - MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE = 22, -+ -+ /* ZIP64 archive identifier and record sizes */ -+ MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIG = 0x06064b50, -+ MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG = 0x07064b50, -+ MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE = 56, -+ MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE = 20, -+ MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID = 0x0001, -+ MZ_ZIP_DATA_DESCRIPTOR_ID = 0x08074b50, -+ MZ_ZIP_DATA_DESCRIPTER_SIZE64 = 24, -+ MZ_ZIP_DATA_DESCRIPTER_SIZE32 = 16, -+ - // Central directory header record offsets - MZ_ZIP_CDH_SIG_OFS = 0, - MZ_ZIP_CDH_VERSION_MADE_BY_OFS = 4, -@@ -4199,6 +4274,31 @@ enum { - MZ_ZIP_ECDH_CDIR_SIZE_OFS = 12, - MZ_ZIP_ECDH_CDIR_OFS_OFS = 16, - MZ_ZIP_ECDH_COMMENT_SIZE_OFS = 20, -+ -+ /* ZIP64 End of central directory locator offsets */ -+ MZ_ZIP64_ECDL_SIG_OFS = 0, /* 4 bytes */ -+ MZ_ZIP64_ECDL_NUM_DISK_CDIR_OFS = 4, /* 4 bytes */ -+ MZ_ZIP64_ECDL_REL_OFS_TO_ZIP64_ECDR_OFS = 8, /* 8 bytes */ -+ MZ_ZIP64_ECDL_TOTAL_NUMBER_OF_DISKS_OFS = 16, /* 4 bytes */ -+ -+ /* ZIP64 End of central directory header offsets */ -+ MZ_ZIP64_ECDH_SIG_OFS = 0, /* 4 bytes */ -+ MZ_ZIP64_ECDH_SIZE_OF_RECORD_OFS = 4, /* 8 bytes */ -+ MZ_ZIP64_ECDH_VERSION_MADE_BY_OFS = 12, /* 2 bytes */ -+ MZ_ZIP64_ECDH_VERSION_NEEDED_OFS = 14, /* 2 bytes */ -+ MZ_ZIP64_ECDH_NUM_THIS_DISK_OFS = 16, /* 4 bytes */ -+ MZ_ZIP64_ECDH_NUM_DISK_CDIR_OFS = 20, /* 4 bytes */ -+ MZ_ZIP64_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS = 24, /* 8 bytes */ -+ MZ_ZIP64_ECDH_CDIR_TOTAL_ENTRIES_OFS = 32, /* 8 bytes */ -+ MZ_ZIP64_ECDH_CDIR_SIZE_OFS = 40, /* 8 bytes */ -+ MZ_ZIP64_ECDH_CDIR_OFS_OFS = 48, /* 8 bytes */ -+ MZ_ZIP_VERSION_MADE_BY_DOS_FILESYSTEM_ID = 0, -+ MZ_ZIP_DOS_DIR_ATTRIBUTE_BITFLAG = 0x10, -+ MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED = 1, -+ MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG = 32, -+ MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION = 64, -+ MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_LOCAL_DIR_IS_MASKED = 8192, -+ MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8 = 1 << 11 - }; - - typedef struct { -@@ -4211,7 +4311,24 @@ struct mz_zip_internal_state_tag { - mz_zip_array m_central_dir; - mz_zip_array m_central_dir_offsets; - mz_zip_array m_sorted_central_dir_offsets; -+ -+ /* The flags passed in when the archive is initially opened. */ -+ uint32_t m_init_flags; -+ -+ /* MZ_TRUE if the archive has a zip64 end of central directory headers, etc. -+ */ -+ mz_bool m_zip64; -+ -+ /* MZ_TRUE if we found zip64 extended info in the central directory (m_zip64 -+ * will also be slammed to true too, even if we didn't find a zip64 end of -+ * central dir header, etc.) */ -+ mz_bool m_zip64_has_extended_info_fields; -+ -+ /* These fields are used by the file, FILE, memory, and memory/heap read/write -+ * helpers. */ - MZ_FILE *m_pFile; -+ mz_uint64 m_file_archive_start_ofs; -+ - void *m_pMem; - size_t m_mem_size; - size_t m_mem_capacity; -@@ -4363,6 +4480,13 @@ static mz_bool mz_zip_set_file_times(const char *pFilename, time_t access_time, - #endif /* #ifndef MINIZ_NO_STDIO */ - #endif /* #ifndef MINIZ_NO_TIME */ - -+static MZ_FORCEINLINE mz_bool mz_zip_set_error(mz_zip_archive *pZip, -+ mz_zip_error err_num) { -+ if (pZip) -+ pZip->m_last_error = err_num; -+ return MZ_FALSE; -+} -+ - static mz_bool mz_zip_reader_init_internal(mz_zip_archive *pZip, - mz_uint32 flags) { - (void)flags; -@@ -4480,127 +4604,346 @@ mz_zip_reader_sort_central_dir_offsets_by_filename(mz_zip_archive *pZip) { - } - } - --static mz_bool mz_zip_reader_read_central_dir(mz_zip_archive *pZip, -- mz_uint32 flags) { -- mz_uint cdir_size, num_this_disk, cdir_disk_index; -- mz_uint64 cdir_ofs; -+static mz_bool mz_zip_reader_locate_header_sig(mz_zip_archive *pZip, -+ mz_uint32 record_sig, -+ mz_uint32 record_size, -+ mz_int64 *pOfs) { - mz_int64 cur_file_ofs; -- const mz_uint8 *p; - mz_uint32 buf_u32[4096 / sizeof(mz_uint32)]; - mz_uint8 *pBuf = (mz_uint8 *)buf_u32; -- mz_bool sort_central_dir = -- ((flags & MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY) == 0); -- // Basic sanity checks - reject files which are too small, and check the first -- // 4 bytes of the file to make sure a local header is there. -- if (pZip->m_archive_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) -+ -+ /* Basic sanity checks - reject files which are too small */ -+ if (pZip->m_archive_size < record_size) - return MZ_FALSE; -- // Find the end of central directory record by scanning the file from the end -- // towards the beginning. -+ -+ /* Find the record by scanning the file from the end towards the beginning. */ - cur_file_ofs = - MZ_MAX((mz_int64)pZip->m_archive_size - (mz_int64)sizeof(buf_u32), 0); - for (;;) { - int i, - n = (int)MZ_MIN(sizeof(buf_u32), pZip->m_archive_size - cur_file_ofs); -+ - if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pBuf, n) != (mz_uint)n) - return MZ_FALSE; -- for (i = n - 4; i >= 0; --i) -- if (MZ_READ_LE32(pBuf + i) == MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG) -- break; -+ -+ for (i = n - 4; i >= 0; --i) { -+ mz_uint s = MZ_READ_LE32(pBuf + i); -+ if (s == record_sig) { -+ if ((pZip->m_archive_size - (cur_file_ofs + i)) >= record_size) -+ break; -+ } -+ } -+ - if (i >= 0) { - cur_file_ofs += i; - break; - } -+ -+ /* Give up if we've searched the entire file, or we've gone back "too far" -+ * (~64kb) */ - if ((!cur_file_ofs) || ((pZip->m_archive_size - cur_file_ofs) >= -- (0xFFFF + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE))) -+ (MZ_UINT16_MAX + record_size))) - return MZ_FALSE; -+ - cur_file_ofs = MZ_MAX(cur_file_ofs - (sizeof(buf_u32) - 3), 0); - } -- // Read and verify the end of central directory record. -+ -+ *pOfs = cur_file_ofs; -+ return MZ_TRUE; -+} -+ -+static mz_bool mz_zip_reader_read_central_dir(mz_zip_archive *pZip, -+ mz_uint flags) { -+ mz_uint cdir_size = 0, cdir_entries_on_this_disk = 0, num_this_disk = 0, -+ cdir_disk_index = 0; -+ mz_uint64 cdir_ofs = 0; -+ mz_int64 cur_file_ofs = 0; -+ const mz_uint8 *p; -+ -+ mz_uint32 buf_u32[4096 / sizeof(mz_uint32)]; -+ mz_uint8 *pBuf = (mz_uint8 *)buf_u32; -+ mz_bool sort_central_dir = -+ ((flags & MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY) == 0); -+ mz_uint32 zip64_end_of_central_dir_locator_u32 -+ [(MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE + sizeof(mz_uint32) - 1) / -+ sizeof(mz_uint32)]; -+ mz_uint8 *pZip64_locator = (mz_uint8 *)zip64_end_of_central_dir_locator_u32; -+ -+ mz_uint32 zip64_end_of_central_dir_header_u32 -+ [(MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE + sizeof(mz_uint32) - 1) / -+ sizeof(mz_uint32)]; -+ mz_uint8 *pZip64_end_of_central_dir = -+ (mz_uint8 *)zip64_end_of_central_dir_header_u32; -+ -+ mz_uint64 zip64_end_of_central_dir_ofs = 0; -+ -+ /* Basic sanity checks - reject files which are too small, and check the first -+ * 4 bytes of the file to make sure a local header is there. */ -+ if (pZip->m_archive_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) -+ return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); -+ -+ if (!mz_zip_reader_locate_header_sig( -+ pZip, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG, -+ MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, &cur_file_ofs)) -+ return mz_zip_set_error(pZip, MZ_ZIP_FAILED_FINDING_CENTRAL_DIR); -+ -+ /* Read and verify the end of central directory record. */ - if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pBuf, - MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) != - MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) -- return MZ_FALSE; -- if ((MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_SIG_OFS) != -- MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG) || -- ((pZip->m_total_files = -- MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS)) != -- MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS))) -- return MZ_FALSE; -+ return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); -+ -+ if (MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_SIG_OFS) != -+ MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG) -+ return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); -+ -+ if (cur_file_ofs >= (MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE + -+ MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE)) { -+ if (pZip->m_pRead(pZip->m_pIO_opaque, -+ cur_file_ofs - MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE, -+ pZip64_locator, -+ MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE) == -+ MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE) { -+ if (MZ_READ_LE32(pZip64_locator + MZ_ZIP64_ECDL_SIG_OFS) == -+ MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG) { -+ zip64_end_of_central_dir_ofs = MZ_READ_LE64( -+ pZip64_locator + MZ_ZIP64_ECDL_REL_OFS_TO_ZIP64_ECDR_OFS); -+ if (zip64_end_of_central_dir_ofs > -+ (pZip->m_archive_size - MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE)) -+ return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); -+ -+ if (pZip->m_pRead(pZip->m_pIO_opaque, zip64_end_of_central_dir_ofs, -+ pZip64_end_of_central_dir, -+ MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE) == -+ MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE) { -+ if (MZ_READ_LE32(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_SIG_OFS) == -+ MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIG) { -+ pZip->m_pState->m_zip64 = MZ_TRUE; -+ } -+ } -+ } -+ } -+ } - -+ pZip->m_total_files = MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS); -+ cdir_entries_on_this_disk = -+ MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS); - num_this_disk = MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_NUM_THIS_DISK_OFS); - cdir_disk_index = MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_NUM_DISK_CDIR_OFS); -+ cdir_size = MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_CDIR_SIZE_OFS); -+ cdir_ofs = MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_CDIR_OFS_OFS); -+ -+ if (pZip->m_pState->m_zip64) { -+ mz_uint32 zip64_total_num_of_disks = -+ MZ_READ_LE32(pZip64_locator + MZ_ZIP64_ECDL_TOTAL_NUMBER_OF_DISKS_OFS); -+ mz_uint64 zip64_cdir_total_entries = MZ_READ_LE64( -+ pZip64_end_of_central_dir + MZ_ZIP64_ECDH_CDIR_TOTAL_ENTRIES_OFS); -+ mz_uint64 zip64_cdir_total_entries_on_this_disk = MZ_READ_LE64( -+ pZip64_end_of_central_dir + MZ_ZIP64_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS); -+ mz_uint64 zip64_size_of_end_of_central_dir_record = MZ_READ_LE64( -+ pZip64_end_of_central_dir + MZ_ZIP64_ECDH_SIZE_OF_RECORD_OFS); -+ mz_uint64 zip64_size_of_central_directory = -+ MZ_READ_LE64(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_CDIR_SIZE_OFS); -+ -+ if (zip64_size_of_end_of_central_dir_record < -+ (MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE - 12)) -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); -+ -+ if (zip64_total_num_of_disks != 1U) -+ return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_MULTIDISK); -+ -+ /* Check for miniz's practical limits */ -+ if (zip64_cdir_total_entries > MZ_UINT32_MAX) -+ return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); -+ -+ pZip->m_total_files = (mz_uint32)zip64_cdir_total_entries; -+ -+ if (zip64_cdir_total_entries_on_this_disk > MZ_UINT32_MAX) -+ return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); -+ -+ cdir_entries_on_this_disk = -+ (mz_uint32)zip64_cdir_total_entries_on_this_disk; -+ -+ /* Check for miniz's current practical limits (sorry, this should be enough -+ * for millions of files) */ -+ if (zip64_size_of_central_directory > MZ_UINT32_MAX) -+ return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_CDIR_SIZE); -+ -+ cdir_size = (mz_uint32)zip64_size_of_central_directory; -+ -+ num_this_disk = MZ_READ_LE32(pZip64_end_of_central_dir + -+ MZ_ZIP64_ECDH_NUM_THIS_DISK_OFS); -+ -+ cdir_disk_index = MZ_READ_LE32(pZip64_end_of_central_dir + -+ MZ_ZIP64_ECDH_NUM_DISK_CDIR_OFS); -+ -+ cdir_ofs = -+ MZ_READ_LE64(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_CDIR_OFS_OFS); -+ } -+ -+ if (pZip->m_total_files != cdir_entries_on_this_disk) -+ return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_MULTIDISK); -+ - if (((num_this_disk | cdir_disk_index) != 0) && - ((num_this_disk != 1) || (cdir_disk_index != 1))) -- return MZ_FALSE; -+ return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_MULTIDISK); - -- if ((cdir_size = MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_CDIR_SIZE_OFS)) < -- pZip->m_total_files * MZ_ZIP_CENTRAL_DIR_HEADER_SIZE) -- return MZ_FALSE; -+ if (cdir_size < pZip->m_total_files * MZ_ZIP_CENTRAL_DIR_HEADER_SIZE) -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); - -- cdir_ofs = MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_CDIR_OFS_OFS); - if ((cdir_ofs + (mz_uint64)cdir_size) > pZip->m_archive_size) -- return MZ_FALSE; -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); - - pZip->m_central_directory_file_ofs = cdir_ofs; - - if (pZip->m_total_files) { - mz_uint i, n; -- -- // Read the entire central directory into a heap block, and allocate another -- // heap block to hold the unsorted central dir file record offsets, and -- // another to hold the sorted indices. -+ /* Read the entire central directory into a heap block, and allocate another -+ * heap block to hold the unsorted central dir file record offsets, and -+ * possibly another to hold the sorted indices. */ - if ((!mz_zip_array_resize(pZip, &pZip->m_pState->m_central_dir, cdir_size, - MZ_FALSE)) || - (!mz_zip_array_resize(pZip, &pZip->m_pState->m_central_dir_offsets, - pZip->m_total_files, MZ_FALSE))) -- return MZ_FALSE; -+ return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); - - if (sort_central_dir) { - if (!mz_zip_array_resize(pZip, - &pZip->m_pState->m_sorted_central_dir_offsets, - pZip->m_total_files, MZ_FALSE)) -- return MZ_FALSE; -+ return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); - } - - if (pZip->m_pRead(pZip->m_pIO_opaque, cdir_ofs, - pZip->m_pState->m_central_dir.m_p, - cdir_size) != cdir_size) -- return MZ_FALSE; -+ return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); - -- // Now create an index into the central directory file records, do some -- // basic sanity checking on each record, and check for zip64 entries (which -- // are not yet supported). -+ /* Now create an index into the central directory file records, do some -+ * basic sanity checking on each record */ - p = (const mz_uint8 *)pZip->m_pState->m_central_dir.m_p; - for (n = cdir_size, i = 0; i < pZip->m_total_files; ++i) { -- mz_uint total_header_size, comp_size, decomp_size, disk_index; -+ mz_uint total_header_size, disk_index, bit_flags, filename_size, -+ ext_data_size; -+ mz_uint64 comp_size, decomp_size, local_header_ofs; -+ - if ((n < MZ_ZIP_CENTRAL_DIR_HEADER_SIZE) || - (MZ_READ_LE32(p) != MZ_ZIP_CENTRAL_DIR_HEADER_SIG)) -- return MZ_FALSE; -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); -+ - MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir_offsets, mz_uint32, - i) = - (mz_uint32)(p - (const mz_uint8 *)pZip->m_pState->m_central_dir.m_p); -+ - if (sort_central_dir) - MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_sorted_central_dir_offsets, - mz_uint32, i) = i; -+ - comp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS); - decomp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS); -- if (((!MZ_READ_LE32(p + MZ_ZIP_CDH_METHOD_OFS)) && -- (decomp_size != comp_size)) || -- (decomp_size && !comp_size) || (decomp_size == 0xFFFFFFFF) || -- (comp_size == 0xFFFFFFFF)) -- return MZ_FALSE; -+ local_header_ofs = MZ_READ_LE32(p + MZ_ZIP_CDH_LOCAL_HEADER_OFS); -+ filename_size = MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS); -+ ext_data_size = MZ_READ_LE16(p + MZ_ZIP_CDH_EXTRA_LEN_OFS); -+ -+ if ((!pZip->m_pState->m_zip64_has_extended_info_fields) && -+ (ext_data_size) && -+ (MZ_MAX(MZ_MAX(comp_size, decomp_size), local_header_ofs) == -+ MZ_UINT32_MAX)) { -+ /* Attempt to find zip64 extended information field in the entry's extra -+ * data */ -+ mz_uint32 extra_size_remaining = ext_data_size; -+ -+ if (extra_size_remaining) { -+ const mz_uint8 *pExtra_data; -+ void *buf = NULL; -+ -+ if (MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_size + ext_data_size > -+ n) { -+ buf = MZ_MALLOC(ext_data_size); -+ if (buf == NULL) -+ return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); -+ -+ if (pZip->m_pRead(pZip->m_pIO_opaque, -+ cdir_ofs + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + -+ filename_size, -+ buf, ext_data_size) != ext_data_size) { -+ MZ_FREE(buf); -+ return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); -+ } -+ -+ pExtra_data = (mz_uint8 *)buf; -+ } else { -+ pExtra_data = p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_size; -+ } -+ -+ do { -+ mz_uint32 field_id; -+ mz_uint32 field_data_size; -+ -+ if (extra_size_remaining < (sizeof(mz_uint16) * 2)) { -+ MZ_FREE(buf); -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); -+ } -+ -+ field_id = MZ_READ_LE16(pExtra_data); -+ field_data_size = MZ_READ_LE16(pExtra_data + sizeof(mz_uint16)); -+ -+ if ((field_data_size + sizeof(mz_uint16) * 2) > -+ extra_size_remaining) { -+ MZ_FREE(buf); -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); -+ } -+ -+ if (field_id == MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID) { -+ /* Ok, the archive didn't have any zip64 headers but it uses a -+ * zip64 extended information field so mark it as zip64 anyway -+ * (this can occur with infozip's zip util when it reads -+ * compresses files from stdin). */ -+ pZip->m_pState->m_zip64 = MZ_TRUE; -+ pZip->m_pState->m_zip64_has_extended_info_fields = MZ_TRUE; -+ break; -+ } -+ -+ pExtra_data += sizeof(mz_uint16) * 2 + field_data_size; -+ extra_size_remaining = -+ extra_size_remaining - sizeof(mz_uint16) * 2 - field_data_size; -+ } while (extra_size_remaining); -+ -+ MZ_FREE(buf); -+ } -+ } -+ -+ /* I've seen archives that aren't marked as zip64 that uses zip64 ext -+ * data, argh */ -+ if ((comp_size != MZ_UINT32_MAX) && (decomp_size != MZ_UINT32_MAX)) { -+ if (((!MZ_READ_LE32(p + MZ_ZIP_CDH_METHOD_OFS)) && -+ (decomp_size != comp_size)) || -+ (decomp_size && !comp_size)) -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); -+ } -+ - disk_index = MZ_READ_LE16(p + MZ_ZIP_CDH_DISK_START_OFS); -- if ((disk_index != num_this_disk) && (disk_index != 1)) -- return MZ_FALSE; -- if (((mz_uint64)MZ_READ_LE32(p + MZ_ZIP_CDH_LOCAL_HEADER_OFS) + -- MZ_ZIP_LOCAL_DIR_HEADER_SIZE + comp_size) > pZip->m_archive_size) -- return MZ_FALSE; -+ if ((disk_index == MZ_UINT16_MAX) || -+ ((disk_index != num_this_disk) && (disk_index != 1))) -+ return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_MULTIDISK); -+ -+ if (comp_size != MZ_UINT32_MAX) { -+ if (((mz_uint64)MZ_READ_LE32(p + MZ_ZIP_CDH_LOCAL_HEADER_OFS) + -+ MZ_ZIP_LOCAL_DIR_HEADER_SIZE + comp_size) > pZip->m_archive_size) -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); -+ } -+ -+ bit_flags = MZ_READ_LE16(p + MZ_ZIP_CDH_BIT_FLAG_OFS); -+ if (bit_flags & MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_LOCAL_DIR_IS_MASKED) -+ return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_ENCRYPTION); -+ - if ((total_header_size = MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + - MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS) + - MZ_READ_LE16(p + MZ_ZIP_CDH_EXTRA_LEN_OFS) + - MZ_READ_LE16(p + MZ_ZIP_CDH_COMMENT_LEN_OFS)) > - n) -- return MZ_FALSE; -+ return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); -+ - n -= total_header_size; - p += total_header_size; - } -diff --git a/contrib/zip/src/zip.c b/contrib/zip/src/zip.c -index ff3a8fe1e6..1abcfd8fd1 100644 ---- a/contrib/zip/src/zip.c -+++ b/contrib/zip/src/zip.c -@@ -24,7 +24,6 @@ - ((((P)[0] >= 'A' && (P)[0] <= 'Z') || ((P)[0] >= 'a' && (P)[0] <= 'z')) && \ - (P)[1] == ':') - #define FILESYSTEM_PREFIX_LEN(P) (HAS_DEVICE(P) ? 2 : 0) --#define ISSLASH(C) ((C) == '/' || (C) == '\\') - - #else - -@@ -48,7 +47,7 @@ int symlink(const char *target, const char *linkpath); // needed on Linux - #endif - - #ifndef ISSLASH --#define ISSLASH(C) ((C) == '/') -+#define ISSLASH(C) ((C) == '/' || (C) == '\\') - #endif - - #define CLEANUP(ptr) \ -@@ -78,26 +77,34 @@ static const char *base_name(const char *name) { - return base; - } - --static int mkpath(const char *path) { -- char const *p; -+static int mkpath(char *path) { -+ char *p; - char npath[MAX_PATH + 1]; - int len = 0; - int has_device = HAS_DEVICE(path); - - memset(npath, 0, MAX_PATH + 1); -- --#ifdef _WIN32 -- // only on windows fix the path -- npath[0] = path[0]; -- npath[1] = path[1]; -- len = 2; --#endif // _WIN32 -- -+ if (has_device) { -+ // only on windows -+ npath[0] = path[0]; -+ npath[1] = path[1]; -+ len = 2; -+ } - for (p = path + len; *p && len < MAX_PATH; p++) { - if (ISSLASH(*p) && ((!has_device && len > 0) || (has_device && len > 2))) { -- if (MKDIR(npath) == -1) -- if (errno != EEXIST) -+#if defined(_WIN32) || defined(__WIN32__) || defined(_MSC_VER) || \ -+ defined(__MINGW32__) -+#else -+ if ('\\' == *p) { -+ *p = '/'; -+ } -+#endif -+ -+ if (MKDIR(npath) == -1) { -+ if (errno != EEXIST) { - return -1; -+ } -+ } - } - npath[len++] = *p; - } -@@ -279,7 +286,14 @@ int zip_entry_open(struct zip_t *zip, const char *entryname) { - zip->entry.header_offset = zip->archive.m_archive_size; - memset(zip->entry.header, 0, MZ_ZIP_LOCAL_DIR_HEADER_SIZE * sizeof(mz_uint8)); - zip->entry.method = 0; -+ -+ // UNIX or APPLE -+#if MZ_PLATFORM == 3 || MZ_PLATFORM == 19 -+ // regular file with rw-r--r-- persmissions -+ zip->entry.external_attr = (mz_uint32)(0100644) << 16; -+#else - zip->entry.external_attr = 0; -+#endif - - num_alignment_padding_bytes = - mz_zip_writer_compute_padding_needed_for_file_alignment(pzip); -@@ -660,7 +674,7 @@ ssize_t zip_entry_noallocread(struct zip_t *zip, void *buf, size_t bufsize) { - } - - if (!mz_zip_reader_extract_to_mem_no_alloc(pzip, (mz_uint)zip->entry.index, -- buf, bufsize, 0, NULL, 0)) { -+ buf, bufsize, 0, NULL, 0)) { - return -1; - } - -@@ -670,10 +684,7 @@ ssize_t zip_entry_noallocread(struct zip_t *zip, void *buf, size_t bufsize) { - int zip_entry_fread(struct zip_t *zip, const char *filename) { - mz_zip_archive *pzip = NULL; - mz_uint idx; --#if defined(_MSC_VER) --#else - mz_uint32 xattr = 0; --#endif - mz_zip_archive_file_stat info; - - if (!zip) { -@@ -875,12 +886,19 @@ int zip_extract(const char *zipname, const char *dir, - goto out; - } - -- if ((((info.m_version_made_by >> 8) == 3) || ((info.m_version_made_by >> 8) == 19)) // if zip is produced on Unix or macOS (3 and 19 from section 4.4.2.2 of zip standard) -- && info.m_external_attr & (0x20 << 24)) { // and has sym link attribute (0x80 is file, 0x40 is directory) -+ if ((((info.m_version_made_by >> 8) == 3) || -+ ((info.m_version_made_by >> 8) == -+ 19)) // if zip is produced on Unix or macOS (3 and 19 from -+ // section 4.4.2.2 of zip standard) -+ && info.m_external_attr & -+ (0x20 << 24)) { // and has sym link attribute (0x80 is file, 0x40 -+ // is directory) - #if defined(_WIN32) || defined(__WIN32__) || defined(_MSC_VER) || \ - defined(__MINGW32__) --#else -- if (info.m_uncomp_size > MAX_PATH || !mz_zip_reader_extract_to_mem_no_alloc(&zip_archive, i, symlink_to, MAX_PATH, 0, NULL, 0)) { -+#else -+ if (info.m_uncomp_size > MAX_PATH || -+ !mz_zip_reader_extract_to_mem_no_alloc(&zip_archive, i, symlink_to, -+ MAX_PATH, 0, NULL, 0)) { - goto out; - } - symlink_to[info.m_uncomp_size] = '\0'; -diff --git a/contrib/zip/src/zip.h b/contrib/zip/src/zip.h -index 5f39df50ad..a48d64d6de 100644 ---- a/contrib/zip/src/zip.h -+++ b/contrib/zip/src/zip.h -@@ -20,241 +20,240 @@ extern "C" { - #endif - - #if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \ -- !defined(_SSIZE_T) && !defined(_SSIZE_T_) && !defined(__ssize_t_defined) --#define _SSIZE_T -+ !defined(__DEFINED_ssize_t) && !defined(__ssize_t_defined) && \ -+ !defined(_SSIZE_T) && !defined(_SSIZE_T_) -+ - // 64-bit Windows is the only mainstream platform - // where sizeof(long) != sizeof(void*) - #ifdef _WIN64 --typedef long long ssize_t; /* byte count or error */ -+typedef long long ssize_t; /* byte count or error */ - #else --typedef long ssize_t; /* byte count or error */ -+typedef long ssize_t; /* byte count or error */ - #endif -+ -+#define _SSIZE_T_DEFINED -+#define _SSIZE_T_DEFINED_ -+#define __DEFINED_ssize_t -+#define __ssize_t_defined -+#define _SSIZE_T -+#define _SSIZE_T_ -+ - #endif - - #ifndef MAX_PATH - #define MAX_PATH 32767 /* # chars in a path name including NULL */ - #endif - -+/** -+ * @mainpage -+ * -+ * Documenation for @ref zip. -+ */ -+ -+/** -+ * @addtogroup zip -+ * @{ -+ */ -+ -+/** -+ * Default zip compression level. -+ */ -+ - #define ZIP_DEFAULT_COMPRESSION_LEVEL 6 - --/* -- This data structure is used throughout the library to represent zip archive -- - forward declaration. --*/ -+/** -+ * @struct zip_t -+ * -+ * This data structure is used throughout the library to represent zip archive - -+ * forward declaration. -+ */ - struct zip_t; - --/* -- Opens zip archive with compression level using the given mode. -- -- Args: -- zipname: zip archive file name. -- level: compression level (0-9 are the standard zlib-style levels). -- mode: file access mode. -- 'r': opens a file for reading/extracting (the file must exists). -- 'w': creates an empty file for writing. -- 'a': appends to an existing archive. -- -- Returns: -- The zip archive handler or NULL on error --*/ -+/** -+ * Opens zip archive with compression level using the given mode. -+ * -+ * @param zipname zip archive file name. -+ * @param level compression level (0-9 are the standard zlib-style levels). -+ * @param mode file access mode. -+ * - 'r': opens a file for reading/extracting (the file must exists). -+ * - 'w': creates an empty file for writing. -+ * - 'a': appends to an existing archive. -+ * -+ * @return the zip archive handler or NULL on error -+ */ - extern struct zip_t *zip_open(const char *zipname, int level, char mode); - --/* -- Closes the zip archive, releases resources - always finalize. -- -- Args: -- zip: zip archive handler. --*/ -+/** -+ * Closes the zip archive, releases resources - always finalize. -+ * -+ * @param zip zip archive handler. -+ */ - extern void zip_close(struct zip_t *zip); - --/* -- Opens an entry by name in the zip archive. -- For zip archive opened in 'w' or 'a' mode the function will append -- a new entry. In readonly mode the function tries to locate the entry -- in global dictionary. -- -- Args: -- zip: zip archive handler. -- entryname: an entry name in local dictionary. -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. --*/ -+/** -+ * Opens an entry by name in the zip archive. -+ * -+ * For zip archive opened in 'w' or 'a' mode the function will append -+ * a new entry. In readonly mode the function tries to locate the entry -+ * in global dictionary. -+ * -+ * @param zip zip archive handler. -+ * @param entryname an entry name in local dictionary. -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. -+ */ - extern int zip_entry_open(struct zip_t *zip, const char *entryname); - --/* -- Opens a new entry by index in the zip archive. -- This function is only valid if zip archive was opened in 'r' (readonly) mode. -- -- Args: -- zip: zip archive handler. -- index: index in local dictionary. -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. --*/ -+/** -+ * Opens a new entry by index in the zip archive. -+ * -+ * This function is only valid if zip archive was opened in 'r' (readonly) mode. -+ * -+ * @param zip zip archive handler. -+ * @param index index in local dictionary. -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. -+ */ - extern int zip_entry_openbyindex(struct zip_t *zip, int index); - --/* -- Closes a zip entry, flushes buffer and releases resources. -- -- Args: -- zip: zip archive handler. -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. --*/ -+/** -+ * Closes a zip entry, flushes buffer and releases resources. -+ * -+ * @param zip zip archive handler. -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. -+ */ - extern int zip_entry_close(struct zip_t *zip); - --/* -- Returns a local name of the current zip entry. -- The main difference between user's entry name and local entry name -- is optional relative path. -- Following .ZIP File Format Specification - the path stored MUST not contain -- a drive or device letter, or a leading slash. -- All slashes MUST be forward slashes '/' as opposed to backwards slashes '\' -- for compatibility with Amiga and UNIX file systems etc. -- -- Args: -- zip: zip archive handler. -- -- Returns: -- The pointer to the current zip entry name, or NULL on error. --*/ -+/** -+ * Returns a local name of the current zip entry. -+ * -+ * The main difference between user's entry name and local entry name -+ * is optional relative path. -+ * Following .ZIP File Format Specification - the path stored MUST not contain -+ * a drive or device letter, or a leading slash. -+ * All slashes MUST be forward slashes '/' as opposed to backwards slashes '\' -+ * for compatibility with Amiga and UNIX file systems etc. -+ * -+ * @param zip: zip archive handler. -+ * -+ * @return the pointer to the current zip entry name, or NULL on error. -+ */ - extern const char *zip_entry_name(struct zip_t *zip); - --/* -- Returns an index of the current zip entry. -- -- Args: -- zip: zip archive handler. -- -- Returns: -- The index on success, negative number (< 0) on error. --*/ -+/** -+ * Returns an index of the current zip entry. -+ * -+ * @param zip zip archive handler. -+ * -+ * @return the index on success, negative number (< 0) on error. -+ */ - extern int zip_entry_index(struct zip_t *zip); - --/* -- Determines if the current zip entry is a directory entry. -- -- Args: -- zip: zip archive handler. -- -- Returns: -- The return code - 1 (true), 0 (false), negative number (< 0) on error. --*/ -+/** -+ * Determines if the current zip entry is a directory entry. -+ * -+ * @param zip zip archive handler. -+ * -+ * @return the return code - 1 (true), 0 (false), negative number (< 0) on -+ * error. -+ */ - extern int zip_entry_isdir(struct zip_t *zip); - --/* -- Returns an uncompressed size of the current zip entry. -- -- Args: -- zip: zip archive handler. -- -- Returns: -- The uncompressed size in bytes. --*/ -+/** -+ * Returns an uncompressed size of the current zip entry. -+ * -+ * @param zip zip archive handler. -+ * -+ * @return the uncompressed size in bytes. -+ */ - extern unsigned long long zip_entry_size(struct zip_t *zip); - --/* -- Returns CRC-32 checksum of the current zip entry. -- -- Args: -- zip: zip archive handler. -- -- Returns: -- The CRC-32 checksum. --*/ -+/** -+ * Returns CRC-32 checksum of the current zip entry. -+ * -+ * @param zip zip archive handler. -+ * -+ * @return the CRC-32 checksum. -+ */ - extern unsigned int zip_entry_crc32(struct zip_t *zip); - --/* -- Compresses an input buffer for the current zip entry. -- -- Args: -- zip: zip archive handler. -- buf: input buffer. -- bufsize: input buffer size (in bytes). -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. --*/ -+/** -+ * Compresses an input buffer for the current zip entry. -+ * -+ * @param zip zip archive handler. -+ * @param buf input buffer. -+ * @param bufsize input buffer size (in bytes). -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. -+ */ - extern int zip_entry_write(struct zip_t *zip, const void *buf, size_t bufsize); - --/* -- Compresses a file for the current zip entry. -- -- Args: -- zip: zip archive handler. -- filename: input file. -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. --*/ -+/** -+ * Compresses a file for the current zip entry. -+ * -+ * @param zip zip archive handler. -+ * @param filename input file. -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. -+ */ - extern int zip_entry_fwrite(struct zip_t *zip, const char *filename); - --/* -- Extracts the current zip entry into output buffer. -- The function allocates sufficient memory for a output buffer. -- -- Args: -- zip: zip archive handler. -- buf: output buffer. -- bufsize: output buffer size (in bytes). -- -- Note: -- - remember to release memory allocated for a output buffer. -- - for large entries, please take a look at zip_entry_extract function. -- -- Returns: -- The return code - the number of bytes actually read on success. -- Otherwise a -1 on error. --*/ -+/** -+ * Extracts the current zip entry into output buffer. -+ * -+ * The function allocates sufficient memory for a output buffer. -+ * -+ * @param zip zip archive handler. -+ * @param buf output buffer. -+ * @param bufsize output buffer size (in bytes). -+ * -+ * @note remember to release memory allocated for a output buffer. -+ * for large entries, please take a look at zip_entry_extract function. -+ * -+ * @return the return code - the number of bytes actually read on success. -+ * Otherwise a -1 on error. -+ */ - extern ssize_t zip_entry_read(struct zip_t *zip, void **buf, size_t *bufsize); - --/* -- Extracts the current zip entry into a memory buffer using no memory -- allocation. -- -- Args: -- zip: zip archive handler. -- buf: preallocated output buffer. -- bufsize: output buffer size (in bytes). -- -- Note: -- - ensure supplied output buffer is large enough. -- - zip_entry_size function (returns uncompressed size for the current entry) -- can be handy to estimate how big buffer is needed. -- - for large entries, please take a look at zip_entry_extract function. -- -- Returns: -- The return code - the number of bytes actually read on success. -- Otherwise a -1 on error (e.g. bufsize is not large enough). --*/ --extern ssize_t zip_entry_noallocread(struct zip_t *zip, void *buf, size_t bufsize); -- --/* -- Extracts the current zip entry into output file. -- -- Args: -- zip: zip archive handler. -- filename: output file. -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. --*/ -+/** -+ * Extracts the current zip entry into a memory buffer using no memory -+ * allocation. -+ * -+ * @param zip zip archive handler. -+ * @param buf preallocated output buffer. -+ * @param bufsize output buffer size (in bytes). -+ * -+ * @note ensure supplied output buffer is large enough. -+ * zip_entry_size function (returns uncompressed size for the current -+ * entry) can be handy to estimate how big buffer is needed. for large -+ * entries, please take a look at zip_entry_extract function. -+ * -+ * @return the return code - the number of bytes actually read on success. -+ * Otherwise a -1 on error (e.g. bufsize is not large enough). -+ */ -+extern ssize_t zip_entry_noallocread(struct zip_t *zip, void *buf, -+ size_t bufsize); -+ -+/** -+ * Extracts the current zip entry into output file. -+ * -+ * @param zip zip archive handler. -+ * @param filename output file. -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. -+ */ - extern int zip_entry_fread(struct zip_t *zip, const char *filename); - --/* -- Extracts the current zip entry using a callback function (on_extract). -- -- Args: -- zip: zip archive handler. -- on_extract: callback function. -- arg: opaque pointer (optional argument, -- which you can pass to the on_extract callback) -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. -+/** -+ * Extracts the current zip entry using a callback function (on_extract). -+ * -+ * @param zip zip archive handler. -+ * @param on_extract callback function. -+ * @param arg opaque pointer (optional argument, which you can pass to the -+ * on_extract callback) -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. - */ - extern int - zip_entry_extract(struct zip_t *zip, -@@ -262,53 +261,49 @@ zip_entry_extract(struct zip_t *zip, - const void *data, size_t size), - void *arg); - --/* -- Returns the number of all entries (files and directories) in the zip archive. -- -- Args: -- zip: zip archive handler. -- -- Returns: -- The return code - the number of entries on success, -- negative number (< 0) on error. --*/ -+/** -+ * Returns the number of all entries (files and directories) in the zip archive. -+ * -+ * @param zip zip archive handler. -+ * -+ * @return the return code - the number of entries on success, negative number -+ * (< 0) on error. -+ */ - extern int zip_total_entries(struct zip_t *zip); - --/* -- Creates a new archive and puts files into a single zip archive. -- -- Args: -- zipname: zip archive file. -- filenames: input files. -- len: number of input files. -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. --*/ -+/** -+ * Creates a new archive and puts files into a single zip archive. -+ * -+ * @param zipname zip archive file. -+ * @param filenames input files. -+ * @param len: number of input files. -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. -+ */ - extern int zip_create(const char *zipname, const char *filenames[], size_t len); - --/* -- Extracts a zip archive file into directory. -- -- If on_extract_entry is not NULL, the callback will be called after -- successfully extracted each zip entry. -- Returning a negative value from the callback will cause abort and return an -- error. The last argument (void *arg) is optional, which you can use to pass -- data to the on_extract_entry callback. -- -- Args: -- zipname: zip archive file. -- dir: output directory. -- on_extract_entry: on extract callback. -- arg: opaque pointer. -- -- Returns: -- The return code - 0 on success, negative number (< 0) on error. --*/ -+/** -+ * Extracts a zip archive file into directory. -+ * -+ * If on_extract_entry is not NULL, the callback will be called after -+ * successfully extracted each zip entry. -+ * Returning a negative value from the callback will cause abort and return an -+ * error. The last argument (void *arg) is optional, which you can use to pass -+ * data to the on_extract_entry callback. -+ * -+ * @param zipname zip archive file. -+ * @param dir output directory. -+ * @param on_extract_entry on extract callback. -+ * @param arg opaque pointer. -+ * -+ * @return the return code - 0 on success, negative number (< 0) on error. -+ */ - extern int zip_extract(const char *zipname, const char *dir, - int (*on_extract_entry)(const char *filename, void *arg), - void *arg); - -+/** @} */ -+ - #ifdef __cplusplus - } - #endif -diff --git a/contrib/zip/test/CMakeLists.txt b/contrib/zip/test/CMakeLists.txt -index 9b2a8db106..cc060b00fe 100644 ---- a/contrib/zip/test/CMakeLists.txt -+++ b/contrib/zip/test/CMakeLists.txt -@@ -1,19 +1,16 @@ - cmake_minimum_required(VERSION 2.8) - --if ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang") -- if(ENABLE_COVERAGE) -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g ") -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0") -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprofile-arcs") -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ftest-coverage") -- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage") -- endif() --endif () -- - # test --include_directories(../src) --add_executable(test.exe test.c ../src/zip.c) --add_executable(test_miniz.exe test_miniz.c) -+set(test_out test.out) -+set(test_miniz_out test_miniz.out) -+ -+add_executable(${test_out} test.c) -+target_link_libraries(${test_out} zip) -+add_executable(${test_miniz_out} test_miniz.c) -+target_link_libraries(${test_miniz_out} zip) -+ -+add_test(NAME ${test_out} COMMAND ${test_out}) -+add_test(NAME ${test_miniz_out} COMMAND ${test_miniz_out}) - --add_test(NAME test COMMAND test.exe) --add_test(NAME test_miniz COMMAND test_miniz.exe) -+set(test_out ${test_out} PARENT_SCOPE) -+set(test_miniz_out ${test_miniz_out} PARENT_SCOPE) -diff --git a/contrib/zip/test/test.c b/contrib/zip/test/test.c -index 454430533a..a9b2ddab1e 100644 ---- a/contrib/zip/test/test.c -+++ b/contrib/zip/test/test.c -@@ -29,6 +29,8 @@ - #define XFILE "7.txt\0" - #define XMODE 0100777 - -+#define UNIXMODE 0100644 -+ - #define UNUSED(x) (void)x - - static int total_entries = 0; -@@ -102,7 +104,8 @@ static void test_read(void) { - assert(0 == zip_entry_close(zip)); - free(buf); - buf = NULL; -- -+ bufsize = 0; -+ - assert(0 == zip_entry_open(zip, "test/test-2.txt")); - assert(strlen(TESTDATA2) == zip_entry_size(zip)); - assert(CRC32DATA2 == zip_entry_crc32(zip)); -@@ -131,7 +134,8 @@ static void test_read(void) { - assert(0 == zip_entry_close(zip)); - free(buf); - buf = NULL; -- -+ bufsize = 0; -+ - buftmp = strlen(TESTDATA1); - buf = calloc(buftmp, sizeof(char)); - assert(0 == zip_entry_open(zip, "test/test-1.txt")); -@@ -433,6 +437,35 @@ static void test_mtime(void) { - remove(ZIPNAME); - } - -+static void test_unix_permissions(void) { -+#if defined(_WIN64) || defined(_WIN32) || defined(__WIN32__) -+#else -+ // UNIX or APPLE -+ struct MZ_FILE_STAT_STRUCT file_stats; -+ -+ remove(ZIPNAME); -+ -+ struct zip_t *zip = zip_open(ZIPNAME, ZIP_DEFAULT_COMPRESSION_LEVEL, 'w'); -+ assert(zip != NULL); -+ -+ assert(0 == zip_entry_open(zip, RFILE)); -+ assert(0 == zip_entry_write(zip, TESTDATA1, strlen(TESTDATA1))); -+ assert(0 == zip_entry_close(zip)); -+ -+ zip_close(zip); -+ -+ remove(RFILE); -+ -+ assert(0 == zip_extract(ZIPNAME, ".", NULL, NULL)); -+ -+ assert(0 == MZ_FILE_STAT(RFILE, &file_stats)); -+ assert(UNIXMODE == file_stats.st_mode); -+ -+ remove(RFILE); -+ remove(ZIPNAME); -+#endif -+} -+ - int main(int argc, char *argv[]) { - UNUSED(argc); - UNUSED(argv); -@@ -453,6 +486,7 @@ int main(int argc, char *argv[]) { - test_write_permissions(); - test_exe_permissions(); - test_mtime(); -+ test_unix_permissions(); - - remove(ZIPNAME); - return 0; -diff --git a/contrib/zip/test/test_miniz.c b/contrib/zip/test/test_miniz.c -index ebc0564dc3..babcaecdb6 100644 ---- a/contrib/zip/test/test_miniz.c -+++ b/contrib/zip/test/test_miniz.c -@@ -23,16 +23,39 @@ int main(int argc, char *argv[]) { - uint step = 0; - int cmp_status; - uLong src_len = (uLong)strlen(s_pStr); -- uLong cmp_len = compressBound(src_len); - uLong uncomp_len = src_len; -+ uLong cmp_len; - uint8 *pCmp, *pUncomp; -+ size_t sz; - uint total_succeeded = 0; - (void)argc, (void)argv; - - printf("miniz.c version: %s\n", MZ_VERSION); - - do { -+ pCmp = (uint8 *)tdefl_compress_mem_to_heap(s_pStr, src_len, &cmp_len, 0); -+ if (!pCmp) { -+ printf("tdefl_compress_mem_to_heap failed\n"); -+ return EXIT_FAILURE; -+ } -+ if (src_len <= cmp_len) { -+ printf("tdefl_compress_mem_to_heap failed: from %u to %u bytes\n", -+ (mz_uint32)uncomp_len, (mz_uint32)cmp_len); -+ free(pCmp); -+ return EXIT_FAILURE; -+ } -+ -+ sz = tdefl_compress_mem_to_mem(pCmp, cmp_len, s_pStr, src_len, 0); -+ if (sz != cmp_len) { -+ printf("tdefl_compress_mem_to_mem failed: expected %u, got %u\n", -+ (mz_uint32)cmp_len, (mz_uint32)sz); -+ free(pCmp); -+ return EXIT_FAILURE; -+ } -+ - // Allocate buffers to hold compressed and uncompressed data. -+ free(pCmp); -+ cmp_len = compressBound(src_len); - pCmp = (mz_uint8 *)malloc((size_t)cmp_len); - pUncomp = (mz_uint8 *)malloc((size_t)src_len); - if ((!pCmp) || (!pUncomp)) { diff --git a/buildroot-2021.05/package/assimp/0003-closes-2954-upgrade-to-latest-greatest.patch b/buildroot-2021.05/package/assimp/0003-closes-2954-upgrade-to-latest-greatest.patch deleted file mode 100644 index 9bd24630..00000000 --- a/buildroot-2021.05/package/assimp/0003-closes-2954-upgrade-to-latest-greatest.patch +++ /dev/null @@ -1,243 +0,0 @@ -From bb3db0ebaffc6b76de256e597ec1d1e4d2a6663f Mon Sep 17 00:00:00 2001 -From: kimkulling -Date: Mon, 9 Mar 2020 10:51:26 +0100 -Subject: [PATCH] closes https://github.com/assimp/assimp/issues/2954: upgrade - to latest greatest. - -[Retrieved from: -https://github.com/assimp/assimp/commit/bb3db0ebaffc6b76de256e597ec1d1e4d2a6663f] -Signed-off-by: Fabrice Fontaine ---- - contrib/zip/CMakeLists.txt | 8 ++---- - contrib/zip/README.md | 51 +++++++++++++++++++++++++++++++-- - contrib/zip/src/zip.c | 17 ++++++++++- - contrib/zip/src/zip.h | 13 ++++++++- - contrib/zip/test/CMakeLists.txt | 5 ---- - contrib/zip/test/test.c | 4 ++- - 6 files changed, 81 insertions(+), 17 deletions(-) - -diff --git a/contrib/zip/CMakeLists.txt b/contrib/zip/CMakeLists.txt -index 77916d2e14..f194649ede 100644 ---- a/contrib/zip/CMakeLists.txt -+++ b/contrib/zip/CMakeLists.txt -@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0) - - project(zip - LANGUAGES C -- VERSION "0.1.15") -+ VERSION "0.1.18") - set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH}) - - option(CMAKE_DISABLE_TESTING "Disable test creation" OFF) -@@ -16,10 +16,6 @@ elseif ("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR - "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" OR - "${CMAKE_C_COMPILER_ID}" STREQUAL "AppleClang") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -Werror -pedantic") -- if(ENABLE_COVERAGE) -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage") -- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} --coverage") -- endif() - endif (MSVC) - - # zip -@@ -35,7 +31,7 @@ if (NOT CMAKE_DISABLE_TESTING) - enable_testing() - add_subdirectory(test) - find_package(Sanitizers) -- add_sanitizers(${PROJECT_NAME} ${test_out} ${test_miniz_out}) -+ add_sanitizers(${PROJECT_NAME} ${test_out}) - endif() - - #### -diff --git a/contrib/zip/README.md b/contrib/zip/README.md -index 14eb9a34c8..bdd0822b67 100644 ---- a/contrib/zip/README.md -+++ b/contrib/zip/README.md -@@ -1,10 +1,8 @@ - ### A portable (OSX/Linux/Windows), simple zip library written in C - This is done by hacking awesome [miniz](https://code.google.com/p/miniz) library and layering functions on top of the miniz v1.15 API. - --[![Windows](https://ci.appveyor.com/api/projects/status/bph8dr3jacgmjv32/branch/master?svg=true&label=windows)](https://ci.appveyor.com/project/kuba--/zip) --[![Linux](https://travis-ci.org/kuba--/zip.svg?branch=master&label=linux%2fosx)](https://travis-ci.org/kuba--/zip) -+[![Build](https://github.com/kuba--/zip/workflows/build/badge.svg)](https://github.com/kuba--/zip/actions?query=workflow%3Abuild) - [![Version](https://badge.fury.io/gh/kuba--%2Fzip.svg)](https://github.com/kuba--/zip/releases) --[![Codecov](https://codecov.io/gh/kuba--/zip/branch/master/graph/badge.svg)](https://codecov.io/gh/kuba--/zip) - - - # The Idea -@@ -213,6 +211,53 @@ func main() { - } - ``` - -+### Rust (ffi) -+```rust -+extern crate libc; -+use std::ffi::CString; -+ -+#[repr(C)] -+pub struct Zip { -+ _private: [u8; 0], -+} -+ -+#[link(name = "zip")] -+extern "C" { -+ fn zip_open(path: *const libc::c_char, level: libc::c_int, mode: libc::c_char) -> *mut Zip; -+ fn zip_close(zip: *mut Zip) -> libc::c_void; -+ -+ fn zip_entry_open(zip: *mut Zip, entryname: *const libc::c_char) -> libc::c_int; -+ fn zip_entry_close(zip: *mut Zip) -> libc::c_int; -+ fn zip_entry_write( -+ zip: *mut Zip, -+ buf: *const libc::c_void, -+ bufsize: libc::size_t, -+ ) -> libc::c_int; -+} -+ -+fn main() { -+ let path = CString::new("/tmp/test.zip").unwrap(); -+ let mode: libc::c_char = 'w' as libc::c_char; -+ -+ let entryname = CString::new("test.txt").unwrap(); -+ let content = "test content\0"; -+ -+ unsafe { -+ let zip: *mut Zip = zip_open(path.as_ptr(), 5, mode); -+ { -+ zip_entry_open(zip, entryname.as_ptr()); -+ { -+ let buf = content.as_ptr() as *const libc::c_void; -+ let bufsize = content.len() as libc::size_t; -+ zip_entry_write(zip, buf, bufsize); -+ } -+ zip_entry_close(zip); -+ } -+ zip_close(zip); -+ } -+} -+``` -+ - ### Ruby (ffi) - Install _ffi_ gem. - ```shell -diff --git a/contrib/zip/src/zip.c b/contrib/zip/src/zip.c -index 1abcfd8fd1..3b2821e6a3 100644 ---- a/contrib/zip/src/zip.c -+++ b/contrib/zip/src/zip.c -@@ -222,6 +222,20 @@ void zip_close(struct zip_t *zip) { - } - } - -+int zip_is64(struct zip_t *zip) { -+ if (!zip) { -+ // zip_t handler is not initialized -+ return -1; -+ } -+ -+ if (!zip->archive.m_pState) { -+ // zip state is not initialized -+ return -1; -+ } -+ -+ return (int)zip->archive.m_pState->m_zip64; -+} -+ - int zip_entry_open(struct zip_t *zip, const char *entryname) { - size_t entrylen = 0; - mz_zip_archive *pzip = NULL; -@@ -794,7 +808,8 @@ int zip_create(const char *zipname, const char *filenames[], size_t len) { - - if (MZ_FILE_STAT(name, &file_stat) != 0) { - // problem getting information - check errno -- return -1; -+ status = -1; -+ break; - } - - if ((file_stat.st_mode & 0200) == 0) { -diff --git a/contrib/zip/src/zip.h b/contrib/zip/src/zip.h -index a48d64d6de..cd3ab5cd00 100644 ---- a/contrib/zip/src/zip.h -+++ b/contrib/zip/src/zip.h -@@ -21,7 +21,7 @@ extern "C" { - - #if !defined(_SSIZE_T_DEFINED) && !defined(_SSIZE_T_DEFINED_) && \ - !defined(__DEFINED_ssize_t) && !defined(__ssize_t_defined) && \ -- !defined(_SSIZE_T) && !defined(_SSIZE_T_) -+ !defined(_SSIZE_T) && !defined(_SSIZE_T_) && !defined(_SSIZE_T_DECLARED) - - // 64-bit Windows is the only mainstream platform - // where sizeof(long) != sizeof(void*) -@@ -37,6 +37,7 @@ typedef long ssize_t; /* byte count or error */ - #define __ssize_t_defined - #define _SSIZE_T - #define _SSIZE_T_ -+#define _SSIZE_T_DECLARED - - #endif - -@@ -90,6 +91,16 @@ extern struct zip_t *zip_open(const char *zipname, int level, char mode); - */ - extern void zip_close(struct zip_t *zip); - -+/** -+ * Determines if the archive has a zip64 end of central directory headers. -+ * -+ * @param zip zip archive handler. -+ * -+ * @return the return code - 1 (true), 0 (false), negative number (< 0) on -+ * error. -+ */ -+extern int zip_is64(struct zip_t *zip); -+ - /** - * Opens an entry by name in the zip archive. - * -diff --git a/contrib/zip/test/CMakeLists.txt b/contrib/zip/test/CMakeLists.txt -index cc060b00fe..1224115858 100644 ---- a/contrib/zip/test/CMakeLists.txt -+++ b/contrib/zip/test/CMakeLists.txt -@@ -2,15 +2,10 @@ cmake_minimum_required(VERSION 2.8) - - # test - set(test_out test.out) --set(test_miniz_out test_miniz.out) - - add_executable(${test_out} test.c) - target_link_libraries(${test_out} zip) --add_executable(${test_miniz_out} test_miniz.c) --target_link_libraries(${test_miniz_out} zip) - - add_test(NAME ${test_out} COMMAND ${test_out}) --add_test(NAME ${test_miniz_out} COMMAND ${test_miniz_out}) - - set(test_out ${test_out} PARENT_SCOPE) --set(test_miniz_out ${test_miniz_out} PARENT_SCOPE) -diff --git a/contrib/zip/test/test.c b/contrib/zip/test/test.c -index a9b2ddab1e..9cc2248ac0 100644 ---- a/contrib/zip/test/test.c -+++ b/contrib/zip/test/test.c -@@ -47,7 +47,7 @@ static void test_write(void) { - assert(CRC32DATA1 == zip_entry_crc32(zip)); - ++total_entries; - assert(0 == zip_entry_close(zip)); -- -+ assert(0 == zip_is64(zip)); - zip_close(zip); - } - -@@ -92,6 +92,7 @@ static void test_read(void) { - size_t buftmp; - struct zip_t *zip = zip_open(ZIPNAME, 0, 'r'); - assert(zip != NULL); -+ assert(0 == zip_is64(zip)); - - assert(0 == zip_entry_open(zip, "test\\test-1.txt")); - assert(strlen(TESTDATA1) == zip_entry_size(zip)); -@@ -310,6 +311,7 @@ static void test_fwrite(void) { - assert(0 == zip_entry_open(zip, WFILE)); - assert(0 == zip_entry_fwrite(zip, WFILE)); - assert(0 == zip_entry_close(zip)); -+ assert(0 == zip_is64(zip)); - - zip_close(zip); - remove(WFILE); diff --git a/buildroot-2021.05/package/assimp/Config.in b/buildroot-2021.05/package/assimp/Config.in deleted file mode 100644 index c535240e..00000000 --- a/buildroot-2021.05/package/assimp/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_ASSIMP - bool "assimp" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on BR2_PACKAGE_LIBZLIB - help - Open Asset Import Library (assimp) is a portable Open Source - library to import various well-known 3D model formats in a - uniform manner. The most recent version also knows how to - export 3d files and is therefore suitable as a general-purpose - 3D model converter. - - http://www.assimp.org - -comment "assimp needs a toolchain w/ C++, wchar" - depends on BR2_PACKAGE_LIBZLIB - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR - -comment "assimp needs libzlib" - depends on !BR2_PACKAGE_LIBZLIB diff --git a/buildroot-2021.05/package/assimp/assimp.hash b/buildroot-2021.05/package/assimp/assimp.hash deleted file mode 100644 index df5daa79..00000000 --- a/buildroot-2021.05/package/assimp/assimp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc assimp-5.0.1.tar.gz -sha256 a26ccc3dbf2f58ea99c100945a8a126fa0f9f4d7fd2b49aa8bdb8e09355864d8 LICENSE diff --git a/buildroot-2021.05/package/assimp/assimp.mk b/buildroot-2021.05/package/assimp/assimp.mk deleted file mode 100644 index eddfbc48..00000000 --- a/buildroot-2021.05/package/assimp/assimp.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# assimp -# -################################################################################ - -ASSIMP_VERSION = 5.0.1 -ASSIMP_SITE = $(call github,assimp,assimp,v$(ASSIMP_VERSION)) -ASSIMP_LICENSE = BSD-3-Clause -ASSIMP_LICENSE_FILES = LICENSE -ASSIMP_DEPENDENCIES = zlib -ASSIMP_INSTALL_STAGING = YES - -# relocation truncated to fit: R_68K_GOT16O. We also need to disable -# optimizations to not run into "Error: value -43420 out of range" -# assembler issues. -ifeq ($(BR2_m68k),y) -ASSIMP_CXXFLAGS += -mxgot -O0 -endif - -# just like m68k coldfire, mips64 also has some limitations on the GOT -# size for large libraries, which can be overcome by passing -# -mxgot. Solves "relocation truncated to fit: R_MIPS_CALL16" issues. -ifeq ($(BR2_mips64)$(BR2_mips64el),y) -ASSIMP_CXXFLAGS += -mxgot -endif - -# workaround SuperH compiler failure when static linking (i.e -fPIC is -# not passed) in gcc versions 5.x or older. The -Os optimization level -# causes a "unable to find a register to spill in class -# 'GENERAL_REGS'" error. -O2 works fine. -ifeq ($(BR2_sh):$(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:y:) -ASSIMP_CXXFLAGS += -O2 -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -ASSIMP_CXXFLAGS += -O0 -endif - -ASSIMP_CONF_OPTS += -DASSIMP_BUILD_TESTS=OFF \ - -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(ASSIMP_CXXFLAGS)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/asterisk/asterisk.hash b/buildroot-2021.05/package/asterisk/asterisk.hash deleted file mode 100644 index bd836362..00000000 --- a/buildroot-2021.05/package/asterisk/asterisk.hash +++ /dev/null @@ -1,15 +0,0 @@ -# Locally computed -sha256 226eaef400d2d335ce29d7b3c8aca8dfdfc5e854c215e0c47615c095ced12171 asterisk-16.14.1.tar.gz - -# sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases -# sha256 locally computed -sha1 721c512feaea102700d5bdce952fdc0bb29dc640 asterisk-core-sounds-en-gsm-1.6.1.tar.gz -sha256 d79c3d2044d41da8f363c447dfccc140be86b4fcc41b1ca5a60a80da52f24f2d asterisk-core-sounds-en-gsm-1.6.1.tar.gz -sha1 f40fd6ea03dfe8d72ada2540b2288bfdc006381d asterisk-moh-opsound-wav-2.03.tar.gz -sha256 449fb810d16502c3052fedf02f7e77b36206ac5a145f3dacf4177843a2fcb538 asterisk-moh-opsound-wav-2.03.tar.gz - -# License files, locally computed -sha256 82af40ed7f49c08685360811993d9396320842f021df828801d733e8fdc0312f COPYING -sha256 ac5571f00e558e3b7c9b3f13f421b874cc12cf4250c4f70094c71544cf486312 main/sha1.c -sha256 6215e3ed73c3982a5c6701127d681ec0b9f1121ac78a28805bd93f93c3eb84c0 codecs/speex/speex_resampler.h -sha256 ea69cc96ab8a779c180a362377caeada71926897d1b55b980f04d74ba5aaa388 utils/db1-ast/include/db.h diff --git a/buildroot-2021.05/package/asterisk/asterisk.mk b/buildroot-2021.05/package/asterisk/asterisk.mk deleted file mode 100644 index 67b6da56..00000000 --- a/buildroot-2021.05/package/asterisk/asterisk.mk +++ /dev/null @@ -1,342 +0,0 @@ -################################################################################ -# -# asterisk -# -################################################################################ - -ASTERISK_VERSION = 16.14.1 -# Use the github mirror: it's an official mirror maintained by Digium, and -# provides tarballs, which the main Asterisk git tree (behind Gerrit) does not. -ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION)) - -ASTERISK_SOUNDS_BASE_URL = http://downloads.asterisk.org/pub/telephony/sounds/releases -ASTERISK_EXTRA_DOWNLOADS = \ - $(ASTERISK_SOUNDS_BASE_URL)/asterisk-core-sounds-en-gsm-1.6.1.tar.gz \ - $(ASTERISK_SOUNDS_BASE_URL)/asterisk-moh-opsound-wav-2.03.tar.gz - -ASTERISK_LICENSE = GPL-2.0, BSD-3c (SHA1, resample), BSD-4c (db1-ast) -ASTERISK_LICENSE_FILES = \ - COPYING \ - main/sha1.c \ - codecs/speex/speex_resampler.h \ - utils/db1-ast/include/db.h - -ASTERISK_CPE_ID_VENDOR = asterisk -ASTERISK_CPE_ID_PRODUCT = open_source - -# For patches 0002, 0003 and 0005 -ASTERISK_AUTORECONF = YES -ASTERISK_AUTORECONF_OPTS = -Iautoconf -Ithird-party -Ithird-party/pjproject -Ithird-party/jansson - -ASTERISK_DEPENDENCIES = \ - host-asterisk \ - jansson \ - libcurl \ - libedit \ - libxml2 \ - sqlite \ - util-linux - -# Asterisk wants to run its menuselect tool (a highly tweaked derivative of -# kconfig), but builds it using the target tools. So we build it in the host -# variant (see below), and copy the full build tree of menuselect. -define ASTERISK_COPY_MENUSELECT - rm -rf $(@D)/menuselect - cp -a $(HOST_ASTERISK_DIR)/menuselect $(@D)/menuselect -endef -ASTERISK_PRE_CONFIGURE_HOOKS += ASTERISK_COPY_MENUSELECT - -ASTERISK_CONF_OPTS = \ - --disable-xmldoc \ - --disable-internal-poll \ - --disable-asteriskssl \ - --disable-rpath \ - --without-bfd \ - --without-cap \ - --without-cpg \ - --without-curses \ - --without-gtk2 \ - --without-gmime \ - --without-hoard \ - --without-iconv \ - --without-iksemel \ - --without-imap \ - --without-inotify \ - --without-iodbc \ - --without-isdnnet \ - --without-jack \ - --without-uriparser \ - --without-kqueue \ - --without-libedit \ - --without-libxslt \ - --without-lua \ - --without-misdn \ - --without-mysqlclient \ - --without-nbs \ - --without-neon29 \ - --without-newt \ - --without-openr2 \ - --without-osptk \ - --without-oss \ - --without-postgres \ - --without-pjproject \ - --without-pjproject-bundled \ - --without-popt \ - --without-resample \ - --without-sdl \ - --without-SDL_image \ - --without-sqlite \ - --without-suppserv \ - --without-tds \ - --without-termcap \ - --without-timerfd \ - --without-tinfo \ - --without-unbound \ - --without-unixodbc \ - --without-vpb \ - --without-x11 \ - --with-crypt \ - --with-jansson \ - --with-libcurl \ - --with-ilbc \ - --with-libxml2 \ - --with-libedit="$(STAGING_DIR)/usr" \ - --with-sqlite3="$(STAGING_DIR)/usr" \ - --with-sounds-cache=$(ASTERISK_DL_DIR) - -# avcodec are from ffmpeg. There is virtually zero chance this could -# even work; asterisk is looking for ffmpeg/avcodec.h which has not -# been installed in this location since early 2007 (~10 years ago at -# the time of this writing). -ASTERISK_CONF_OPTS += --without-avcodec - -# asterisk is not compatible with freeswitch spandsp -ASTERISK_CONF_OPTS += --without-spandsp - -ASTERISK_CONF_ENV = \ - ac_cv_file_bridges_bridge_softmix_include_hrirs_h=true \ - ac_cv_path_CONFIG_LIBXML2=$(STAGING_DIR)/usr/bin/xml2-config - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -ASTERISK_CONF_ENV += LIBS="-latomic" -endif - -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) -ASTERISK_CONF_OPTS += --with-execinfo -else -ASTERISK_CONF_OPTS += --without-execinfo -endif - -ifeq ($(BR2_PACKAGE_LIBGSM),y) -ASTERISK_DEPENDENCIES += libgsm -ASTERISK_CONF_OPTS += --with-gsm -else -ASTERISK_CONF_OPTS += --without-gsm -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -ASTERISK_DEPENDENCIES += alsa-lib -ASTERISK_CONF_OPTS += --with-asound -else -ASTERISK_CONF_OPTS += --without-asound -endif - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) -ASTERISK_DEPENDENCIES += bluez5_utils -ASTERISK_CONF_OPTS += --with-bluetooth -else -ASTERISK_CONF_OPTS += --without-bluetooth -endif - -ifeq ($(BR2_PACKAGE_LIBICAL),y) -ASTERISK_DEPENDENCIES += libical -ASTERISK_CONF_OPTS += --with-ical -else -ASTERISK_CONF_OPTS += --without-ical -endif - -ifeq ($(BR2_PACKAGE_OPENLDAP),y) -ASTERISK_DEPENDENCIES += openldap -ASTERISK_CONF_OPTS += --with-ldap -else -ASTERISK_CONF_OPTS += --without-ldap -endif - -ifeq ($(BR2_PACKAGE_NEON),y) -ASTERISK_DEPENDENCIES += neon -ASTERISK_CONF_OPTS += --with-neon -ASTERISK_CONF_ENV += \ - ac_cv_path_CONFIG_NEON=$(STAGING_DIR)/usr/bin/neon-config -else -ASTERISK_CONF_OPTS += --without-neon -endif - -ifeq ($(BR2_PACKAGE_NETSNMP),y) -ASTERISK_DEPENDENCIES += netsnmp -ASTERISK_CONF_OPTS += --with-netsnmp=$(STAGING_DIR)/usr -else -ASTERISK_CONF_OPTS += --without-netsnmp -endif - -ifeq ($(BR2_PACKAGE_LIBOGG),y) -ASTERISK_DEPENDENCIES += libogg -ASTERISK_CONF_OPTS += --with-ogg -else -ASTERISK_CONF_OPTS += --without-ogg -endif - -ifeq ($(BR2_PACKAGE_OPUS),y) -ASTERISK_DEPENDENCIES += opus -ASTERISK_CONF_OPTS += --with-opus -else -ASTERISK_CONF_OPTS += --without-opus -endif - -ifeq ($(BR2_PACKAGE_PORTAUDIO),y) -ASTERISK_DEPENDENCIES += portaudio -ASTERISK_CONF_OPTS += --with-portaudio -else -ASTERISK_CONF_OPTS += --without-portaudio -endif - -ifeq ($(BR2_PACKAGE_FREERADIUS_CLIENT),y) -ASTERISK_DEPENDENCIES += freeradius-client -ASTERISK_CONF_OPTS += --with-radius -else -ASTERISK_CONF_OPTS += --without-radius -endif - -ifeq ($(BR2_PACKAGE_DAHDI_LINUX)$(BR2_PACKAGE_DAHDI_TOOLS),yy) -ASTERISK_DEPENDENCIES += dahdi-linux dahdi-tools -ASTERISK_CONF_OPTS += --with-dahdi --with-tonezone - -ifeq ($(BR2_PACKAGE_LIBPRI),y) -ASTERISK_DEPENDENCIES += libpri -ASTERISK_CONF_OPTS += --with-pri -else -ASTERISK_CONF_OPTS += --without-pri -endif # PRI - -ifeq ($(BR2_PACKAGE_LIBSS7),y) -ASTERISK_DEPENDENCIES += libss7 -ASTERISK_CONF_OPTS += --with-ss7 -else -ASTERISK_CONF_OPTS += --without-ss7 -endif # SS7 - -else -ASTERISK_CONF_OPTS += \ - --without-dahdi --without-tonezone \ - --without-pri --without-ss7 -endif # DAHDI - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -ASTERISK_DEPENDENCIES += openssl -ASTERISK_CONF_OPTS += --with-ssl -else -ASTERISK_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) -ASTERISK_DEPENDENCIES += speex -ASTERISK_CONF_OPTS += --with-speex --with-speexdsp -else -ASTERISK_CONF_OPTS += --without-speex --without-speexdsp -endif - -# asterisk needs an openssl-enabled libsrtp -ifeq ($(BR2_PACKAGE_LIBSRTP)$(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yyx) -ASTERISK_DEPENDENCIES += libsrtp -ASTERISK_CONF_OPTS += --with-srtp -else -ASTERISK_CONF_OPTS += --without-srtp -endif - -ifeq ($(BR2_PACKAGE_LIBVORBIS),y) -ASTERISK_DEPENDENCIES += libvorbis -ASTERISK_CONF_OPTS += --with-vorbis -else -ASTERISK_CONF_OPTS += --without-vorbis -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -ASTERISK_DEPENDENCIES += zlib -ASTERISK_CONF_OPTS += --with-z -else -ASTERISK_CONF_OPTS += --without-z -endif - -ASTERISK_DIRS = \ - ASTVARLIBDIR="/usr/lib/asterisk" \ - ASTDATADIR="/usr/lib/asterisk" \ - ASTKEYDIR="/usr/lib/asterisk" \ - ASTDBDIR="/usr/lib/asterisk" - -ASTERISK_MAKE_OPTS = $(ASTERISK_DIRS) - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -ASTERISK_MAKE_OPTS += ASTLDFLAGS="-latomic" -endif - -# Remove default -O3 optimization flag -ASTERISK_MAKE_OPTS += OPTIMIZE="" - -ASTERISK_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_93847),y) -ASTERISK_CFLAGS += -O0 -endif - -ASTERISK_CONF_OPTS += CFLAGS="$(ASTERISK_CFLAGS)" - -# We want to install sample configuration files, too. -ASTERISK_INSTALL_TARGET_OPTS = \ - $(ASTERISK_DIRS) \ - DESTDIR=$(TARGET_DIR) \ - LDCONFIG=true \ - install samples - -$(eval $(autotools-package)) - -#------------------------------------------------------------------------------- -# This part deals with building the menuselect tool as a host package - -HOST_ASTERISK_DEPENDENCIES = host-pkgconf host-libxml2 host-ncurses -HOST_ASTERISK_SUBDIR = menuselect - -HOST_ASTERISK_LICENSE = GPL-2.0 -HOST_ASTERISK_LICENSE_FILES = COPYING - -# No need to autoreconf for the host variant, -# so do not inherit the target setup. -HOST_ASTERISK_AUTORECONF = NO - -HOST_ASTERISK_CONF_ENV = CONFIG_LIBXML2=$(HOST_DIR)/bin/xml2-config - -HOST_ASTERISK_CONF_OPTS = \ - --without-newt \ - --without-curses \ - --with-ncurses=$(HOST_DIR) - -# Not an automake package, so does not inherit LDFLAGS et al. from -# the configure run. -HOST_ASTERISK_MAKE_ENV = $(HOST_CONFIGURE_OPTS) - -# Even though menuselect is an autotools package, it is not an automake -# package and does not have an 'install' rule, as asterisk does expect -# it to be in a sub-directory of its source tree. We do so by copying -# the full menuselect build tree as a pre-configure hook in the target -# variant. -# However, the sanity checks on host packages are not run on menuselect. -# But we still want to catch that menuselect has the proper rpath set, -# for example, as it uses host libraries that we do build, like -# host-libxml2. -# So we do manually install the menuselect tool. -define HOST_ASTERISK_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/menuselect/menuselect \ - $(HOST_DIR)/bin/asterisk-menuselect -endef - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/at/0001-Makefile.in-replace-IROOT-by-DESTDIR.patch b/buildroot-2021.05/package/at/0001-Makefile.in-replace-IROOT-by-DESTDIR.patch deleted file mode 100644 index 856b6c8d..00000000 --- a/buildroot-2021.05/package/at/0001-Makefile.in-replace-IROOT-by-DESTDIR.patch +++ /dev/null @@ -1,108 +0,0 @@ -From 195d30e2e01fe2f91ed3bdaeec3982aa66b309dd Mon Sep 17 00:00:00 2001 -From: Marc Kleine-Budde -Date: Tue, 1 Dec 2009 20:57:45 +0100 -Subject: [PATCH 5/5] Makefile.in: replace IROOT by DESTDIR - -This patch replaces IROOT by DESTDIR, which is the autotools standard -variable. For backwards compatibilty IROOT overwrites the DESTDIR. - -[Vincent: tweak the patch for the new version] - -Signed-off-by: Marc Kleine-Budde -Signed-off-by: Vicente Olivert Riera ---- - Makefile.in | 68 ++++++++++++++++++++++++++++++++----------------------------- - 1 file changed, 36 insertions(+), 32 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 06544f9..1f699d9 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -17,6 +17,10 @@ atdocdir = $(docdir)/at - etcdir = @ETCDIR@ - systemdsystemunitdir = @systemdsystemunitdir@ - -+ifdef IROOT -+DESTDIR = $(DESTDIR) -+endif -+ - DAEMON_USERNAME = @DAEMON_USERNAME@ - DAEMON_GROUPNAME= @DAEMON_GROUPNAME@ - LOADAVG_MX = @LOADAVG_MX@ -@@ -91,41 +95,41 @@ atrun: atrun.in - $(CC) -c $(CFLAGS) $(DEFS) $*.c - - install: all -- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(etcdir) -- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(bindir) -- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(sbindir) -- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(docdir) -- $(INSTALL) -g root -o root -m 755 -d $(IROOT)$(atdocdir) -- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(IROOT)$(ATSPOOL_DIR) $(IROOT)$(ATJOB_DIR) -- chmod 1770 $(IROOT)$(ATSPOOL_DIR) $(IROOT)$(ATJOB_DIR) -- touch $(IROOT)$(LFILE) -- chmod 600 $(IROOT)$(LFILE) -- chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(IROOT)$(LFILE) -- test -f $(IROOT)$(etcdir)/at.allow || test -f $(IROOT)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(IROOT)$(etcdir)/ -- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(IROOT)$(bindir) -- $(LN_S) -f at $(IROOT)$(bindir)/atq -- $(LN_S) -f at $(IROOT)$(bindir)/atrm -- $(INSTALL) -g root -o root -m 755 batch $(IROOT)$(bindir) -- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man1dir) -- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man5dir) -- $(INSTALL) -d -o root -g root -m 755 $(IROOT)$(man8dir) -- $(INSTALL) -g root -o root -m 755 atd $(IROOT)$(sbindir) -- $(INSTALL) -g root -o root -m 755 atrun $(IROOT)$(sbindir) -- $(INSTALL) -g root -o root -m 644 at.1 $(IROOT)$(man1dir)/ -- cd $(IROOT)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1 -- $(INSTALL) -g root -o root -m 644 atd.8 $(IROOT)$(man8dir)/ -+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(etcdir) -+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(bindir) -+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(sbindir) -+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(docdir) -+ $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(atdocdir) -+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR) -+ chmod 1770 $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR) -+ touch $(DESTDIR)$(LFILE) -+ chmod 600 $(DESTDIR)$(LFILE) -+ chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(DESTDIR)$(LFILE) -+ test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(DESTDIR)$(etcdir)/ -+ $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(DESTDIR)$(bindir) -+ $(LN_S) -f at $(DESTDIR)$(bindir)/atq -+ $(LN_S) -f at $(DESTDIR)$(bindir)/atrm -+ $(INSTALL) -g root -o root -m 755 batch $(DESTDIR)$(bindir) -+ $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man1dir) -+ $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man5dir) -+ $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man8dir) -+ $(INSTALL) -g root -o root -m 755 atd $(DESTDIR)$(sbindir) -+ $(INSTALL) -g root -o root -m 755 atrun $(DESTDIR)$(sbindir) -+ $(INSTALL) -g root -o root -m 644 at.1 $(DESTDIR)$(man1dir)/ -+ cd $(DESTDIR)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1 -+ $(INSTALL) -g root -o root -m 644 atd.8 $(DESTDIR)$(man8dir)/ - sed "s,\$${exec_prefix},$(exec_prefix),g" tmpman -- $(INSTALL) -g root -o root -m 644 tmpman $(IROOT)$(man8dir)/atrun.8 -+ $(INSTALL) -g root -o root -m 644 tmpman $(DESTDIR)$(man8dir)/atrun.8 - rm -f tmpman -- $(INSTALL) -g root -o root -m 644 at.allow.5 $(IROOT)$(man5dir)/ -- cd $(IROOT)$(man5dir) && $(LN_S) -f at.allow.5 at.deny.5 -- $(INSTALL) -g root -o root -m 644 $(DOCS) $(IROOT)$(atdocdir) -- rm -f $(IROOT)$(mandir)/cat1/at.1* $(IROOT)$(mandir)/cat1/batch.1* \ -- $(IROOT)$(mandir)/cat1/atq.1* -- rm -f $(IROOT)$(mandir)/cat1/atd.8* -+ $(INSTALL) -g root -o root -m 644 at.allow.5 $(DESTDIR)$(man5dir)/ -+ cd $(DESTDIR)$(man5dir) && $(LN_S) -f at.allow.5 at.deny.5 -+ $(INSTALL) -g root -o root -m 644 $(DOCS) $(DESTDIR)$(atdocdir) -+ rm -f $(DESTDIR)$(mandir)/cat1/at.1* $(DESTDIR)$(mandir)/cat1/batch.1* \ -+ $(DESTDIR)$(mandir)/cat1/atq.1* -+ rm -f $(DESTDIR)$(mandir)/cat1/atd.8* - if test x"$(systemdsystemunitdir)" != xno; then \ -- $(INSTALL) -o root -g root -m 755 -d $(IROOT)$(systemdsystemunitdir); \ -- $(INSTALL) -o root -g root -m 644 atd.service $(IROOT)$(systemdsystemunitdir); \ -+ $(INSTALL) -o root -g root -m 755 -d $(DESTDIR)$(systemdsystemunitdir); \ -+ $(INSTALL) -o root -g root -m 644 atd.service $(DESTDIR)$(systemdsystemunitdir); \ - fi - - dist: checkin $(DIST) $(LIST) Filelist.asc --- -2.4.10 - diff --git a/buildroot-2021.05/package/at/0002-Makefile.in-make-install-fix.patch b/buildroot-2021.05/package/at/0002-Makefile.in-make-install-fix.patch deleted file mode 100644 index 831ea1a3..00000000 --- a/buildroot-2021.05/package/at/0002-Makefile.in-make-install-fix.patch +++ /dev/null @@ -1,83 +0,0 @@ -[PATCH]: Makefile.in: fix make install for non-root, don't strip - -Buildroot will ensure all files are owned by root and stripped anyway -(if needed) before the rootfs is created. - -[Vincent: tweak the patch for the new version] - -Signed-off-by: Peter Korsgaard -Signed-off-by: Vicente Olivert Riera ---- - Makefile.in | 43 +++++++++++++++++++++---------------------- - 1 file changed, 21 insertions(+), 22 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 1f699d9..f313f9b 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -95,41 +95,40 @@ atrun: atrun.in - $(CC) -c $(CFLAGS) $(DEFS) $*.c - - install: all -- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(etcdir) -- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(bindir) -- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(sbindir) -- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(docdir) -- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(atdocdir) -- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR) -+ $(INSTALL) -m 755 -d $(DESTDIR)$(etcdir) -+ $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) -+ $(INSTALL) -m 755 -d $(DESTDIR)$(sbindir) -+ $(INSTALL) -m 755 -d $(DESTDIR)$(docdir) -+ $(INSTALL) -m 755 -d $(DESTDIR)$(atdocdir) -+ $(INSTALL) -m 755 -d $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR) - chmod 1770 $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR) - touch $(DESTDIR)$(LFILE) - chmod 600 $(DESTDIR)$(LFILE) -- chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(DESTDIR)$(LFILE) -- test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(DESTDIR)$(etcdir)/ -- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(DESTDIR)$(bindir) -+ test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -m 640 at.deny $(DESTDIR)$(etcdir)/ -+ $(INSTALL) -m 6755 at $(DESTDIR)$(bindir) - $(LN_S) -f at $(DESTDIR)$(bindir)/atq - $(LN_S) -f at $(DESTDIR)$(bindir)/atrm -- $(INSTALL) -g root -o root -m 755 batch $(DESTDIR)$(bindir) -- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man1dir) -- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man5dir) -- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man8dir) -- $(INSTALL) -g root -o root -m 755 atd $(DESTDIR)$(sbindir) -- $(INSTALL) -g root -o root -m 755 atrun $(DESTDIR)$(sbindir) -- $(INSTALL) -g root -o root -m 644 at.1 $(DESTDIR)$(man1dir)/ -+ $(INSTALL) -m 755 batch $(DESTDIR)$(bindir) -+ $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir) -+ $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir) -+ $(INSTALL) -d -m 755 $(DESTDIR)$(man8dir) -+ $(INSTALL) -m 755 atd $(DESTDIR)$(sbindir) -+ $(INSTALL) -m 755 atrun $(DESTDIR)$(sbindir) -+ $(INSTALL) -m 644 at.1 $(DESTDIR)$(man1dir)/ - cd $(DESTDIR)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1 -- $(INSTALL) -g root -o root -m 644 atd.8 $(DESTDIR)$(man8dir)/ -+ $(INSTALL) -m 644 atd.8 $(DESTDIR)$(man8dir)/ - sed "s,\$${exec_prefix},$(exec_prefix),g" tmpman -- $(INSTALL) -g root -o root -m 644 tmpman $(DESTDIR)$(man8dir)/atrun.8 -+ $(INSTALL) -m 644 tmpman $(DESTDIR)$(man8dir)/atrun.8 - rm -f tmpman -- $(INSTALL) -g root -o root -m 644 at.allow.5 $(DESTDIR)$(man5dir)/ -+ $(INSTALL) -m 644 at.allow.5 $(DESTDIR)$(man5dir)/ - cd $(DESTDIR)$(man5dir) && $(LN_S) -f at.allow.5 at.deny.5 -- $(INSTALL) -g root -o root -m 644 $(DOCS) $(DESTDIR)$(atdocdir) -+ $(INSTALL) -m 644 $(DOCS) $(DESTDIR)$(atdocdir) - rm -f $(DESTDIR)$(mandir)/cat1/at.1* $(DESTDIR)$(mandir)/cat1/batch.1* \ - $(DESTDIR)$(mandir)/cat1/atq.1* - rm -f $(DESTDIR)$(mandir)/cat1/atd.8* - if test x"$(systemdsystemunitdir)" != xno; then \ -- $(INSTALL) -o root -g root -m 755 -d $(DESTDIR)$(systemdsystemunitdir); \ -- $(INSTALL) -o root -g root -m 644 atd.service $(DESTDIR)$(systemdsystemunitdir); \ -+ $(INSTALL) -m 755 -d $(DESTDIR)$(systemdsystemunitdir); \ -+ $(INSTALL) -m 644 atd.service $(DESTDIR)$(systemdsystemunitdir); \ - fi - - dist: checkin $(DIST) $(LIST) Filelist.asc --- -2.4.10 - diff --git a/buildroot-2021.05/package/at/0003-getloadavg.c-fix.patch b/buildroot-2021.05/package/at/0003-getloadavg.c-fix.patch deleted file mode 100644 index e0739271..00000000 --- a/buildroot-2021.05/package/at/0003-getloadavg.c-fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -[PATCH]: fix getloadavg.c compilation, revert to 3.1.10 version - -getloadavg.c shipped with 3.1.13 doesn't compile because it references -headers not shipped. Fix it by simply reverting to the 3.1.10 version. - -Signed-off-by: Peter Korsgaard ---- - getloadavg.c | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -Index: at-3.1.13/getloadavg.c -=================================================================== ---- at-3.1.13.orig/getloadavg.c -+++ at-3.1.13/getloadavg.c -@@ -66,11 +66,12 @@ Boston, MA 02110-1301 USA */ - - /* This should always be first. */ - #ifdef HAVE_CONFIG_H --#include -+#include "config.h" - #endif - --#include "lisp.h" --#include "sysfile.h" /* for encapsulated open, close, read, write */ -+#include -+#include -+#include - - #ifndef HAVE_GETLOADAVG - diff --git a/buildroot-2021.05/package/at/0004-Makefile-fix-parallel-build-failure.patch b/buildroot-2021.05/package/at/0004-Makefile-fix-parallel-build-failure.patch deleted file mode 100644 index 6e3dc24c..00000000 --- a/buildroot-2021.05/package/at/0004-Makefile-fix-parallel-build-failure.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 3ace0b57e2aacb784c01a3c7694c6c92461937ff Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Thu, 20 Feb 2020 22:00:11 +0100 -Subject: [PATCH] Makefile: fix parallel build failure - -At the moment parallel build fails due to 2 causes: -1) parsetime.l tries to include incomplete y.tab.h, since y.tab.h is the -result of yacc -d parsetime.y -2) when compiling y.tab.c, y.tab.c itself is not complete, since it is -the result of yacc -d parsetime.y - -So fix it by: -1) making parsetime.l to wait for y.tab.h to be created by yacc -2) waiting for y.tab.c and y.tab.h to be created before compile them - -Signed-off-by: Giulio Benetti ---- - Makefile.in | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/Makefile.in b/Makefile.in -index 4c11913..57c3a0c 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -83,6 +83,8 @@ y.tab.c y.tab.h: parsetime.y - lex.yy.c: parsetime.l - $(LEX) -i parsetime.l - -+parsetime.l: y.tab.h -+ - atd.service: atd.service.in - cat $< | sed -e 's![@]sbindir[@]!$(sbindir)!g' | sed -e 's![@]atjobdir[@]!$(atjobdir)!g' > $@ - -@@ -173,3 +175,4 @@ perm.o: perm.c config.h privs.h at.h - posixtm.o: posixtm.c posixtm.h - daemon.o: daemon.c config.h daemon.h privs.h - getloadavg.o: getloadavg.c config.h getloadavg.h -+y.tab.o: y.tab.c y.tab.h --- -2.20.1 - diff --git a/buildroot-2021.05/package/at/at.hash b/buildroot-2021.05/package/at/at.hash deleted file mode 100644 index c5daf4ef..00000000 --- a/buildroot-2021.05/package/at/at.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 62123a6fcf02b2606673afca80c2874358b83880c12db7f276a7c6cc70068cb2 at-upstream-3.2.1.tar.bz2 - -sha256 01dccc0975aa9ba1a9f83e7c5e04f16077353d3c72a0a759b8846ee7a5b2b616 Copyright -sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING diff --git a/buildroot-2021.05/package/at/at.mk b/buildroot-2021.05/package/at/at.mk deleted file mode 100644 index 6ac82e2d..00000000 --- a/buildroot-2021.05/package/at/at.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# at -# -################################################################################ - -AT_VERSION = 3.2.1 -AT_SOURCE = at-upstream-$(AT_VERSION).tar.bz2 -AT_SITE = https://salsa.debian.org/debian/at/-/archive/upstream/$(AT_VERSION) -AT_AUTORECONF = YES -AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex) host-bison host-flex -AT_LICENSE = GPL-2.0+, GPL-3.0+, ISC -AT_LICENSE_FILES = Copyright COPYING - -AT_CONF_OPTS = \ - --with-jobdir=/var/spool/cron/atjobs \ - --with-atspool=/var/spool/cron/atspool \ - --with-daemon_username=root \ - --with-daemon_groupname=root \ - SENDMAIL=/usr/sbin/sendmail - -define AT_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/atftp/atftp.hash b/buildroot-2021.05/package/atftp/atftp.hash deleted file mode 100644 index 158e9e3b..00000000 --- a/buildroot-2021.05/package/atftp/atftp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 d3c9cd0d971dfc786d7a5f4055c35d4e66aafc8102ac03473ef225bdf7edb26a atftp-0.7.4.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 LICENSE diff --git a/buildroot-2021.05/package/atftp/atftp.mk b/buildroot-2021.05/package/atftp/atftp.mk deleted file mode 100644 index a2df4af0..00000000 --- a/buildroot-2021.05/package/atftp/atftp.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# atftp -# -################################################################################ - -ATFTP_VERSION = 0.7.4 -ATFTP_SITE = http://sourceforge.net/projects/atftp/files -ATFTP_LICENSE = GPL-2.0+ -ATFTP_LICENSE_FILES = LICENSE -ATFTP_CPE_ID_VENDOR = atftp_project -ATFTP_CONF_OPTS = --disable-libwrap --disable-mtftp -# For static we need to explicitly link against libpthread -ATFTP_LIBS = -lpthread -# -fgnu89-inline is needed to avoid multiple definition error with gcc 5. See -# https://gcc.gnu.org/gcc-5/porting_to.html. -ATFTP_CONF_ENV = LIBS="$(ATFTP_LIBS)" \ - CFLAGS="$(TARGET_CFLAGS) -fgnu89-inline" - -ifeq ($(BR2_PACKAGE_READLINE),y) -ATFTP_DEPENDENCIES += readline -ATFTP_CONF_OPTS += --enable-libreadline -# For static, readline links with ncurses -ATFTP_LIBS += -lncurses -else -ATFTP_CONF_OPTS += --disable-libreadline -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -ATFTP_DEPENDENCIES += pcre -ATFTP_CONF_OPTS += --enable-libpcre -else -ATFTP_CONF_OPTS += --disable-libpcre -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/atkmm/Config.in b/buildroot-2021.05/package/atkmm/Config.in deleted file mode 100644 index ce1e24d4..00000000 --- a/buildroot-2021.05/package/atkmm/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_ATKMM - bool "atkmm" - depends on BR2_INSTALL_LIBSTDCPP # glibmm - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 - depends on BR2_TOOLCHAIN_HAS_THREADS # atk/glibmm -> libglib2 - depends on BR2_USE_MMU # atk/glibmm -> libglib2 - depends on BR2_USE_WCHAR # atk/glibmm -> libglib2 - select BR2_PACKAGE_ATK - select BR2_PACKAGE_GLIBMM - select BR2_PACKAGE_LIBSIGC - - help - The atkmm package is a set of C++ bindings for Atk. - - http://www.gtkmm.org/ - -comment "atkmm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ - || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/atkmm/atkmm.hash b/buildroot-2021.05/package/atkmm/atkmm.hash deleted file mode 100644 index 42cc2d72..00000000 --- a/buildroot-2021.05/package/atkmm/atkmm.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/atkmm/2.24/atkmm-2.24.2.sha256sum -sha256 ff95385759e2af23828d4056356f25376cfabc41e690ac1df055371537e458bd atkmm-2.24.2.tar.xz -# locally computed -sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools diff --git a/buildroot-2021.05/package/atkmm/atkmm.mk b/buildroot-2021.05/package/atkmm/atkmm.mk deleted file mode 100644 index 234a937b..00000000 --- a/buildroot-2021.05/package/atkmm/atkmm.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# atkmm -# -################################################################################ - -ATKMM_VERSION_MAJOR = 2.24 -ATKMM_VERSION = $(ATKMM_VERSION_MAJOR).2 -ATKMM_SOURCE = atkmm-$(ATKMM_VERSION).tar.xz -ATKMM_SITE = http://ftp.gnome.org/pub/gnome/sources/atkmm/$(ATKMM_VERSION_MAJOR) -ATKMM_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) -ATKMM_LICENSE_FILES = COPYING COPYING.tools -ATKMM_INSTALL_STAGING = YES -ATKMM_DEPENDENCIES = atk glibmm libsigc host-pkgconf - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/atop/0001-ifprop.c-fix-build-with-kernel-4.6.patch b/buildroot-2021.05/package/atop/0001-ifprop.c-fix-build-with-kernel-4.6.patch deleted file mode 100644 index 0dfe4f43..00000000 --- a/buildroot-2021.05/package/atop/0001-ifprop.c-fix-build-with-kernel-4.6.patch +++ /dev/null @@ -1,51 +0,0 @@ -From aff473ee28903775e1bb35793b9c4c50ee0c7270 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 22 Dec 2020 12:23:33 +0100 -Subject: [PATCH] ifprop.c: fix build with kernel < 4.6 - -Build fails with kernel headers < 4.6 since version 2.6.0 and -https://github.com/Atoptool/atop/commit/08c622ecaa5bb0bb260984ceaddc4730d1b312a7 - -Indeed, ethtool_link_settings and ETHTOOL_GLINKSETTINGS are only -available since -https://github.com/torvalds/linux/commit/3f1ac7a700d039c61d8d8b99f28d605d489a60cf - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/Atoptool/atop/pull/142] ---- - ifprop.c | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/ifprop.c b/ifprop.c -index 60fa3fa..63fce5a 100644 ---- a/ifprop.c -+++ b/ifprop.c -@@ -104,7 +104,9 @@ initifprop(void) - char *cp, linebuf[2048]; - int i=0, sockfd; - -+#ifdef ETHTOOL_GLINKSETTINGS - struct ethtool_link_settings ethlink; // preferred! -+#endif - struct ethtool_cmd ethcmd; // deprecated - - struct ifreq ifreq; -@@ -153,6 +155,7 @@ initifprop(void) - strncpy((void *)&ifreq.ifr_ifrn.ifrn_name, ifprops[i].name, - sizeof ifreq.ifr_ifrn.ifrn_name-1); - -+#ifdef ETHTOOL_GLINKSETTINGS - ethlink.cmd = ETHTOOL_GLINKSETTINGS; - ifreq.ifr_ifru.ifru_data = (void *)ðlink; - -@@ -164,6 +167,7 @@ initifprop(void) - phy_addr = ethlink.phy_address; - } - else -+#endif - { - ethcmd.cmd = ETHTOOL_GSET; - ifreq.ifr_ifru.ifru_data = (void *)ðcmd; --- -2.29.2 - diff --git a/buildroot-2021.05/package/atop/0002-photosyst.c-fix-build-on-musl.patch b/buildroot-2021.05/package/atop/0002-photosyst.c-fix-build-on-musl.patch deleted file mode 100644 index 8573d59d..00000000 --- a/buildroot-2021.05/package/atop/0002-photosyst.c-fix-build-on-musl.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 34996ad1eb6d295382e7737ef34bd362abdd4944 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 19 Jan 2021 22:15:45 +0100 -Subject: [PATCH] photosyst.c: fix build on musl -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Build on musl is broken since version 2.6.0 and -https://github.com/Atoptool/atop/commit/e889c66fbe1d0b7ae38fbcbaa46cea749257f486 -because limits.h is not included: - -photosyst.c: In function ‘lvmmapname’: -photosyst.c:1624:14: error: ‘PATH_MAX’ undeclared (first use in this function); did you mean ‘AF_MAX’? - char path[PATH_MAX]; - ^~~~~~~~ - AF_MAX - -Signed-off-by: Fabrice Fontaine ---- - photosyst.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/photosyst.c b/photosyst.c -index 3de874b..67ae92f 100644 ---- a/photosyst.c -+++ b/photosyst.c -@@ -165,6 +165,7 @@ - #include - #include - #include -+#include - - #define SCALINGMAXCPU 8 // threshold for scaling info per CPU - --- -2.29.2 - diff --git a/buildroot-2021.05/package/atop/atop.hash b/buildroot-2021.05/package/atop/atop.hash deleted file mode 100644 index 65148b85..00000000 --- a/buildroot-2021.05/package/atop/atop.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed: -sha256 9ec2ca3a571692f7efaa095f99a5106432bcb71cc22cd6c49597ef0481058f72 atop-2.6.0.tar.gz - -# Hash for license file: -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2021.05/package/atop/atop.mk b/buildroot-2021.05/package/atop/atop.mk deleted file mode 100644 index 88f292b6..00000000 --- a/buildroot-2021.05/package/atop/atop.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# atop -# -################################################################################ - -ATOP_VERSION = 2.6.0 -ATOP_SITE = http://www.atoptool.nl/download -ATOP_LICENSE = GPL-2.0+ -ATOP_LICENSE_FILES = COPYING -ATOP_CPE_ID_VENDOR = atop_project -ATOP_DEPENDENCIES = ncurses zlib - -ATOP_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -ATOP_CFLAGS += -O0 -endif - -define ATOP_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(ATOP_CFLAGS)" \ - -C $(@D) -endef - -define ATOP_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/atop $(TARGET_DIR)/usr/bin/atop -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch b/buildroot-2021.05/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch deleted file mode 100644 index ccf45db9..00000000 --- a/buildroot-2021.05/package/audit/0001-Fix-audispd-path-in-auditd.conf.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6e1fd09f7bc131c8f16d9cc43e2455ba4650c651 Mon Sep 17 00:00:00 2001 -From: Carlos Santos -Date: Sat, 3 Nov 2018 08:25:58 -0300 -Subject: [PATCH] Fix audispd path in auditd.conf - -audispd is installed at /usr/sbin but the configuration file pointed -to /sbin, causing auditd to fail on startup. - -This patch cannot be sent upstream because audispd does not exist -anymore on the master branch (it was merged to auditd). - -Signed-off-by: Carlos Santos ---- - init.d/auditd.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/init.d/auditd.conf b/init.d/auditd.conf -index 4dcda83..998904f 100644 ---- a/init.d/auditd.conf -+++ b/init.d/auditd.conf -@@ -13,7 +13,7 @@ max_log_file = 8 - num_logs = 5 - priority_boost = 4 - disp_qos = lossy --dispatcher = /sbin/audispd -+dispatcher = /usr/sbin/audispd - name_format = NONE - ##name = mydomain - max_log_file_action = ROTATE --- -2.17.1 - diff --git a/buildroot-2021.05/package/audit/0002-Add-substitue-functions-for-strndupa-rawmemchr.patch b/buildroot-2021.05/package/audit/0002-Add-substitue-functions-for-strndupa-rawmemchr.patch deleted file mode 100644 index ac292c57..00000000 --- a/buildroot-2021.05/package/audit/0002-Add-substitue-functions-for-strndupa-rawmemchr.patch +++ /dev/null @@ -1,133 +0,0 @@ -From c39a071e7c021f6ff3554aca2758e97b47a9777c Mon Sep 17 00:00:00 2001 -From: Steve Grubb -Date: Tue, 26 Feb 2019 18:33:33 -0500 -Subject: [PATCH] Add substitue functions for strndupa & rawmemchr - -(cherry picked from commit d579a08bb1cde71f939c13ac6b2261052ae9f77e) -Signed-off-by: Thomas Petazzoni ---- - auparse/auparse.c | 12 +++++++++++- - auparse/interpret.c | 9 ++++++++- - configure.ac | 14 +++++++++++++- - src/ausearch-lol.c | 12 +++++++++++- - 4 files changed, 43 insertions(+), 4 deletions(-) - -diff --git a/auparse/auparse.c b/auparse/auparse.c -index 650db02..2e1c737 100644 ---- a/auparse/auparse.c -+++ b/auparse/auparse.c -@@ -1,5 +1,5 @@ - /* auparse.c -- -- * Copyright 2006-08,2012-17 Red Hat Inc., Durham, North Carolina. -+ * Copyright 2006-08,2012-19 Red Hat Inc., Durham, North Carolina. - * All Rights Reserved. - * - * This library is free software; you can redistribute it and/or -@@ -1118,6 +1118,16 @@ static int str2event(char *s, au_event_t *e) - return 0; - } - -+#ifndef HAVE_STRNDUPA -+static inline char *strndupa(const char *old, size_t n) -+{ -+ size_t len = strnlen(old, n); -+ char *tmp = alloca(len + 1); -+ tmp[len] = 0; -+ return memcpy(tmp, old, len); -+} -+#endif -+ - /* Returns 0 on success and 1 on error */ - static int extract_timestamp(const char *b, au_event_t *e) - { -diff --git a/auparse/interpret.c b/auparse/interpret.c -index 51c4a5e..67b7b77 100644 ---- a/auparse/interpret.c -+++ b/auparse/interpret.c -@@ -853,6 +853,13 @@ err_out: - return print_escaped(id->val); - } - -+// rawmemchr is faster. Let's use it if we have it. -+#ifdef HAVE_RAWMEMCHR -+#define STRCHR rawmemchr -+#else -+#define STRCHR strchr -+#endif -+ - static const char *print_proctitle(const char *val) - { - char *out = (char *)print_escaped(val); -@@ -863,7 +870,7 @@ static const char *print_proctitle(const char *val) - // Proctitle has arguments separated by NUL bytes - // We need to write over the NUL bytes with a space - // so that we can see the arguments -- while ((ptr = rawmemchr(ptr, '\0'))) { -+ while ((ptr = STRCHR(ptr, '\0'))) { - if (ptr >= end) - break; - *ptr = ' '; -diff --git a/configure.ac b/configure.ac -index 6e345f1..6f3007e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,7 +1,7 @@ - dnl - define([AC_INIT_NOTICE], - [### Generated automatically using autoconf version] AC_ACVERSION [ --### Copyright 2005-18 Steve Grubb -+### Copyright 2005-19 Steve Grubb - ### - ### Permission is hereby granted, free of charge, to any person obtaining a - ### copy of this software and associated documentation files (the "Software"), -@@ -72,6 +72,18 @@ dnl; posix_fallocate is used in audisp-remote - AC_CHECK_FUNCS([posix_fallocate]) - dnl; signalfd is needed for libev - AC_CHECK_FUNC([signalfd], [], [ AC_MSG_ERROR([The signalfd system call is necessary for auditd]) ]) -+dnl; check if rawmemchr is available -+AC_CHECK_FUNCS([rawmemchr]) -+dnl; check if strndupa is available -+AC_LINK_IFELSE( -+ [AC_LANG_SOURCE( -+ [[ -+ #define _GNU_SOURCE -+ #include -+ int main() { (void) strndupa("test", 10); return 0; }]])], -+ [AC_DEFINE(HAVE_STRNDUPA, 1, [Let us know if we have it or not])], -+ [] -+) - - ALLWARNS="" - ALLDEBUG="-g" -diff --git a/src/ausearch-lol.c b/src/ausearch-lol.c -index 5d17a72..758c33e 100644 ---- a/src/ausearch-lol.c -+++ b/src/ausearch-lol.c -@@ -1,6 +1,6 @@ - /* - * ausearch-lol.c - linked list of linked lists library --* Copyright (c) 2008,2010,2014,2016 Red Hat Inc., Durham, North Carolina. -+* Copyright (c) 2008,2010,2014,2016,2019 Red Hat Inc., Durham, North Carolina. - * All Rights Reserved. - * - * This software may be freely redistributed and/or modified under the -@@ -152,6 +152,16 @@ static int compare_event_time(event *e1, event *e2) - return 0; - } - -+#ifndef HAVE_STRNDUPA -+static inline char *strndupa(const char *old, size_t n) -+{ -+ size_t len = strnlen(old, n); -+ char *tmp = alloca(len + 1); -+ tmp[len] = 0; -+ return memcpy(tmp, old, len); -+} -+#endif -+ - /* - * This function will look at the line and pick out pieces of it. - */ --- -2.21.0 - diff --git a/buildroot-2021.05/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch b/buildroot-2021.05/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch deleted file mode 100644 index 9a546261..00000000 --- a/buildroot-2021.05/package/audit/0003-Header-definitions-need-to-be-external-when-building.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 017e6c6ab95df55f34e339d2139def83e5dada1f Mon Sep 17 00:00:00 2001 -From: Steve Grubb -Date: Fri, 10 Jan 2020 21:13:50 -0500 -Subject: [PATCH] Header definitions need to be external when building with - -fno-common (which is default in GCC 10) - Tony Jones - -Patch taken from upstream: https://github.com/linux-audit/audit-userspace/commit/017e6c6ab95df55f34e339d2139def83e5dada1f -Signed-off-by: Heiko Thiery ---- - src/ausearch-common.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/ausearch-common.h b/src/ausearch-common.h -index 6669203..3040547 100644 ---- a/src/ausearch-common.h -+++ b/src/ausearch-common.h -@@ -50,7 +50,7 @@ extern pid_t event_pid; - extern int event_exact_match; - extern uid_t event_uid, event_euid, event_loginuid; - extern const char *event_tuid, *event_teuid, *event_tauid; --slist *event_node_list; -+extern slist *event_node_list; - extern const char *event_comm; - extern const char *event_filename; - extern const char *event_hostname; --- -2.20.1 - diff --git a/buildroot-2021.05/package/audit/S02auditd b/buildroot-2021.05/package/audit/S02auditd deleted file mode 100644 index 2ecf0f1d..00000000 --- a/buildroot-2021.05/package/audit/S02auditd +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/sh -# -# auditd This starts and stops auditd -# -# description: This starts the Linux Auditing System Daemon, -# which collects security related events in a dedicated -# audit log. If this daemon is turned off, audit events -# will be sent to syslog. -# - -NAME=auditd -DAEMON=/usr/sbin/${NAME} -CONFIG=/etc/audit/auditd.conf -PIDFILE=/var/run/${NAME}.pid - -start(){ - printf "Starting ${NAME}: " - - # Create dir to store log files in if one doesn't exist. Create - # the directory with SELinux permissions if possible - command -v matchpathcon >/dev/null 2>&1 - if [ $? = 0 ]; then - mkdir -p /var/log/audit -Z `matchpathcon -n /var/log/audit` - else - mkdir -p /var/log/audit - fi - - # Run audit daemon executable - start-stop-daemon -S -q -p ${PIDFILE} --exec ${DAEMON} - - if [ $? = 0 ]; then - # Load the default rules - test -f /etc/audit/rules.d/audit.rules && /usr/sbin/auditctl -R /etc/audit/rules.d/audit.rules >/dev/null - echo "OK" - else - echo "FAIL" - fi -} - -stop(){ - printf "Stopping ${NAME}: " - - start-stop-daemon -K -q -p ${PIDFILE} - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -reload(){ - printf "Reloading ${NAME} configuration: " - start-stop-daemon --stop -s 1 -p ${PIDFILE} 1>/dev/null - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -rotate(){ - printf "Rotating ${NAME} logs: " - start-stop-daemon --stop -s 10 -p ${PIDFILE} 1>/dev/null - [ $? = 0 ] && echo "OK" || echo "FAIL" -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart) - stop - start - ;; - reload) - reload - ;; - rotate) - rotate - ;; - *) - echo "Usage: $0 {start|stop|restart|reload|rotate}" - exit 1 - ;; -esac diff --git a/buildroot-2021.05/package/audit/audit.hash b/buildroot-2021.05/package/audit/audit.hash deleted file mode 100644 index 71e7df7d..00000000 --- a/buildroot-2021.05/package/audit/audit.hash +++ /dev/null @@ -1,4 +0,0 @@ -#Locally computed -sha256 0e5d4103646e00f8d1981e1cd2faea7a2ae28e854c31a803e907a383c5e2ecb7 audit-2.8.5.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING -sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB diff --git a/buildroot-2021.05/package/audit/audit.mk b/buildroot-2021.05/package/audit/audit.mk deleted file mode 100644 index 05a16e6e..00000000 --- a/buildroot-2021.05/package/audit/audit.mk +++ /dev/null @@ -1,71 +0,0 @@ -################################################################################ -# -# audit -# -################################################################################ - -AUDIT_VERSION = 2.8.5 -AUDIT_SITE = http://people.redhat.com/sgrubb/audit -AUDIT_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries) -AUDIT_LICENSE_FILES = COPYING COPYING.LIB -# 0002-Add-substitue-functions-for-strndupa-rawmemchr.patch -AUDIT_AUTORECONF = YES -AUDIT_CPE_ID_VENDOR = linux_audit_project -AUDIT_CPE_ID_PRODUCT = linux_audit - -AUDIT_INSTALL_STAGING = YES - -AUDIT_CONF_OPTS = --without-python --without-python3 --disable-zos-remote - -ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) -AUDIT_DEPENDENCIES += libcap-ng -AUDIT_CONF_OPTS += --with-libcap-ng=yes -else -AUDIT_CONF_OPTS += --with-libcap-ng=no -endif - -# For i386, x86-64 and PowerPC, the system call tables are -# unconditionally included. However, for ARM(eb) and AArch64, then -# need to be explicitly enabled. - -ifeq ($(BR2_arm)$(BR2_armeb),y) -AUDIT_CONF_OPTS += --with-arm -endif -ifeq ($(BR2_aarch64),y) -AUDIT_CONF_OPTS += --with-aarch64 -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -AUDIT_CONF_OPTS += --enable-systemd -else -AUDIT_CONF_OPTS += --disable-systemd -endif - -define AUDIT_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/audit/S02auditd $(TARGET_DIR)/etc/init.d/S02auditd -endef - -define AUDIT_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/audit/audit_tmpfiles.conf \ - $(TARGET_DIR)/usr/lib/tmpfiles.d/audit.conf -endef - -define AUDIT_INSTALL_CLEANUP - $(RM) $(TARGET_DIR)/etc/rc.d/init.d/auditd - $(RM) $(TARGET_DIR)/etc/sysconfig/auditd -endef -AUDIT_POST_INSTALL_TARGET_HOOKS += AUDIT_INSTALL_CLEANUP - -define AUDIT_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_NET) - $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT) -endef - -HOST_AUDIT_CONF_OPTS = \ - --without-python \ - --without-python3 \ - --disable-zos-remote \ - --without-libcap-ng - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/autoconf-archive/autoconf-archive.hash b/buildroot-2021.05/package/autoconf-archive/autoconf-archive.hash deleted file mode 100644 index 3ef98f2f..00000000 --- a/buildroot-2021.05/package/autoconf-archive/autoconf-archive.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Computed locally -sha256 17195c833098da79de5778ee90948f4c5d90ed1a0cf8391b4ab348e2ec511e3f autoconf-archive-2019.01.06.tar.xz -sha256 e6037104443f9a7829b2aa7c5370d0789a7bda3ca65a0b904cdc0c2e285d9195 COPYING -sha256 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2 COPYING.EXCEPTION diff --git a/buildroot-2021.05/package/autoconf-archive/autoconf-archive.mk b/buildroot-2021.05/package/autoconf-archive/autoconf-archive.mk deleted file mode 100644 index 3f1f0a5b..00000000 --- a/buildroot-2021.05/package/autoconf-archive/autoconf-archive.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# autoconf-archive -# -################################################################################ - -AUTOCONF_ARCHIVE_VERSION = 2019.01.06 -AUTOCONF_ARCHIVE_SOURCE = autoconf-archive-$(AUTOCONF_ARCHIVE_VERSION).tar.xz -AUTOCONF_ARCHIVE_SITE = $(BR2_GNU_MIRROR)/autoconf-archive -AUTOCONF_ARCHIVE_LICENSE = GPL-3.0+ with exception -AUTOCONF_ARCHIVE_LICENSE_FILES = COPYING COPYING.EXCEPTION -HOST_AUTOCONF_ARCHIVE_INSTALL_OPTS = aclocaldir=$(HOST_DIR)/share/autoconf-archive install - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/autoconf/autoconf.hash b/buildroot-2021.05/package/autoconf/autoconf.hash deleted file mode 100644 index f53e8979..00000000 --- a/buildroot-2021.05/package/autoconf/autoconf.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 autoconf-2.69.tar.xz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYINGv3 -sha256 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2 COPYING.EXCEPTION diff --git a/buildroot-2021.05/package/autoconf/autoconf.mk b/buildroot-2021.05/package/autoconf/autoconf.mk deleted file mode 100644 index 336ac59b..00000000 --- a/buildroot-2021.05/package/autoconf/autoconf.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# autoconf -# -################################################################################ - -AUTOCONF_VERSION = 2.69 -AUTOCONF_SOURCE = autoconf-$(AUTOCONF_VERSION).tar.xz -AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf - -AUTOCONF_LICENSE = GPL-3.0+ with exceptions -AUTOCONF_LICENSE_FILES = COPYINGv3 COPYING.EXCEPTION - -HOST_AUTOCONF_CONF_ENV = \ - EMACS="no" \ - ac_cv_path_M4=$(HOST_DIR)/bin/m4 \ - ac_cv_prog_gnu_m4_gnu=no - -HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool - -$(eval $(host-autotools-package)) - -# variables used by other packages -AUTOCONF = $(HOST_DIR)/bin/autoconf -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)" -AUTOHEADER = $(HOST_DIR)/bin/autoheader -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)" -AUTORECONF = $(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOCONF="$(AUTOCONF)" AUTOHEADER="$(AUTOHEADER)" AUTOMAKE="$(AUTOMAKE)" AUTOPOINT=/bin/true $(HOST_DIR)/bin/autoreconf -f -i diff --git a/buildroot-2021.05/package/autofs/autofs.hash b/buildroot-2021.05/package/autofs/autofs.hash deleted file mode 100644 index 10ca42eb..00000000 --- a/buildroot-2021.05/package/autofs/autofs.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://www.kernel.org/pub/linux/daemons/autofs/v5/sha256sums.asc -sha256 a36b268611b79b07051749870ba540b139938efc84bc0293244c483e94f9ced7 autofs-5.1.7.tar.xz - -# Hash for license files -sha256 458028929f712b4795bc5adc31a1d6a2151364ce1b372ac43f613f56c8448fed COPYING -sha256 26c826658dfa9e5ce5f182fbfbadf3fda2d184e78dba3d99da34c60113b2ce54 COPYRIGHT diff --git a/buildroot-2021.05/package/autofs/autofs.mk b/buildroot-2021.05/package/autofs/autofs.mk deleted file mode 100644 index 4c520058..00000000 --- a/buildroot-2021.05/package/autofs/autofs.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# autofs -# -################################################################################ - -AUTOFS_VERSION = 5.1.7 -AUTOFS_SOURCE = autofs-$(AUTOFS_VERSION).tar.xz -AUTOFS_SITE = $(BR2_KERNEL_MIRROR)/linux/daemons/autofs/v5 -AUTOFS_LICENSE = GPL-2.0+ -AUTOFS_LICENSE_FILES = COPYING COPYRIGHT -AUTOFS_DEPENDENCIES = host-flex host-bison host-pkgconf host-nfs-utils - -# autofs looks on the build machine for the path of modprobe, mount, -# umount and fsck programs so tell it explicitly where they will be -# located on the target. -AUTOFS_CONF_ENV = \ - ac_cv_path_E2FSCK=/sbin/fsck \ - ac_cv_path_E3FSCK=no \ - ac_cv_path_E4FSCK=no \ - ac_cv_path_KRB5_CONFIG=no \ - ac_cv_path_MODPROBE=/sbin/modprobe \ - ac_cv_path_MOUNT=/bin/mount \ - ac_cv_path_MOUNT_NFS=/usr/sbin/mount.nfs \ - ac_cv_path_UMOUNT=/bin/umount \ - ac_cv_linux_procfs=yes - -# instead of looking in the PATH like any reasonable package, autofs -# configure looks only in an hardcoded search path for host tools, -# which we have to override with --with-path. -AUTOFS_CONF_OPTS = \ - --disable-mount-locking \ - --enable-ignore-busy \ - --without-openldap \ - --without-sasl \ - --with-path="$(BR_PATH)" \ - --with-hesiod=no - -AUTOFS_MAKE_ENV = DONTSTRIP=1 - -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -AUTOFS_CONF_OPTS += --with-libtirpc -AUTOFS_DEPENDENCIES += libtirpc -else -AUTOFS_CONF_OPTS += --without-libtirpc -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/automake/automake.hash b/buildroot-2021.05/package/automake/automake.hash deleted file mode 100644 index b194c3c2..00000000 --- a/buildroot-2021.05/package/automake/automake.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf automake-1.15.1.tar.xz -# License files, locally calculated -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/automake/automake.mk b/buildroot-2021.05/package/automake/automake.mk deleted file mode 100644 index ad8f0f47..00000000 --- a/buildroot-2021.05/package/automake/automake.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# automake -# -################################################################################ - -AUTOMAKE_VERSION = 1.15.1 -AUTOMAKE_SOURCE = automake-$(AUTOMAKE_VERSION).tar.xz -AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake -AUTOMAKE_LICENSE = GPL-2.0+ -AUTOMAKE_LICENSE_FILES = COPYING -AUTOMAKE_CPE_ID_VENDOR = gnu - -HOST_AUTOMAKE_DEPENDENCIES = host-autoconf - -ACLOCAL_HOST_DIR = $(HOST_DIR)/share/aclocal - -define GTK_DOC_M4_INSTALL - $(INSTALL) -D -m 0644 package/automake/gtk-doc.m4 \ - $(ACLOCAL_HOST_DIR)/gtk-doc.m4 -endef - -# ensure staging aclocal dir exists -define HOST_AUTOMAKE_MAKE_ACLOCAL - mkdir -p $(ACLOCAL_DIR) -endef - -HOST_AUTOMAKE_POST_INSTALL_HOOKS += GTK_DOC_M4_INSTALL -HOST_AUTOMAKE_POST_INSTALL_HOOKS += HOST_AUTOMAKE_MAKE_ACLOCAL - -$(eval $(host-autotools-package)) - -# variables used by other packages -AUTOMAKE = $(HOST_DIR)/bin/automake -ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal -ACLOCAL = $(HOST_DIR)/bin/aclocal -ACLOCAL_PATH = $(ACLOCAL_DIR):$(ACLOCAL_HOST_DIR) -export ACLOCAL_PATH diff --git a/buildroot-2021.05/package/avahi/Config.in b/buildroot-2021.05/package/avahi/Config.in deleted file mode 100644 index 5e303d04..00000000 --- a/buildroot-2021.05/package/avahi/Config.in +++ /dev/null @@ -1,49 +0,0 @@ -config BR2_PACKAGE_AVAHI - bool "avahi" - # libdaemon uses fork() - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - help - Avahi is a system which facilitates service - discovery on a local network. - - http://www.avahi.org/ - -if BR2_PACKAGE_AVAHI - -config BR2_PACKAGE_AVAHI_AUTOIPD - bool "IPv4LL network address configuration daemon" - default y - select BR2_PACKAGE_LIBDAEMON - help - Avahi-autoipd implements IPv4LL, "Dynamic Configuration of - IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for - automatic IP address configuration from the link-local - 169.254.0.0/16 range without the need for a central server. - It is primarily intended to be used in ad-hoc networks which - lack a DHCP server. - -config BR2_PACKAGE_AVAHI_DAEMON - bool "mDNS/DNS-SD daemon" - select BR2_PACKAGE_LIBDAEMON - select BR2_PACKAGE_EXPAT - help - The Avahi mDNS/DNS-SD daemon implementing Apple's ZeroConf - architecture (also known as "Rendezvous" or "Bonjour"). - The daemon registers local IP addresses and services using - mDNS/DNS-SD. - -config BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY - bool "libdns_sd compatibility (Bonjour)" - depends on BR2_PACKAGE_AVAHI_DAEMON - select BR2_PACKAGE_DBUS - help - Enable the libdns_sd (Bonjour) compatibility library support - for legacy applications. - -endif - -comment "avahi needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/avahi/avahi.mk b/buildroot-2021.05/package/avahi/avahi.mk deleted file mode 100644 index b71fc189..00000000 --- a/buildroot-2021.05/package/avahi/avahi.mk +++ /dev/null @@ -1,192 +0,0 @@ -################################################################################ -# -# avahi -# -################################################################################ - -AVAHI_VERSION = 0.8 -AVAHI_SITE = https://github.com/lathiat/avahi/releases/download/v$(AVAHI_VERSION) -AVAHI_LICENSE = LGPL-2.1+ -AVAHI_LICENSE_FILES = LICENSE -AVAHI_CPE_ID_VENDOR = avahi -AVAHI_INSTALL_STAGING = YES - -# CVE-2021-26720 is an issue in avahi-daemon-check-dns.sh, which is -# part of the Debian packaging and not part of upstream avahi -AVAHI_IGNORE_CVES += CVE-2021-26720 - -AVAHI_CONF_ENV = \ - avahi_cv_sys_cxx_works=yes \ - DATADIRNAME=share - -# Note: even if we have Gtk2 and Gtk3 support in Buildroot, we -# explicitly disable support for them, in order to avoid the following -# circular dependencies: -# -# avahi -> libglade -> libgtk2 -> cups -> avahi -# avahi -> libgtk3 -> cups -> avahi -# -# Since Gtk2 and Gtk3 in Avahi are only used for some example/demo -# programs, we decided to disable their support to solve the circular -# dependency. -AVAHI_CONF_OPTS = \ - --disable-qt3 \ - --disable-qt4 \ - --disable-qt5 \ - --disable-gtk \ - --disable-gtk3 \ - --disable-gdbm \ - --disable-pygobject \ - --disable-mono \ - --disable-monodoc \ - --disable-stack-protector \ - --disable-introspection \ - --with-distro=none \ - --disable-manpages \ - $(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \ - --with-avahi-user=avahi \ - --with-avahi-group=avahi \ - --with-autoipd-user=avahi \ - --with-autoipd-group=avahi - -AVAHI_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) - -AVAHI_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -AVAHI_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system -else -AVAHI_CONF_OPTS += --with-systemdsystemunitdir=no -AVAHI_CFLAGS += -DDISABLE_SYSTEMD -endif - -ifneq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_AVAHI_AUTOIPD),) -AVAHI_DEPENDENCIES += libdaemon -else -AVAHI_CONF_OPTS += --disable-libdaemon -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -AVAHI_DEPENDENCIES += libcap -endif - -ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y) -AVAHI_DEPENDENCIES += expat -AVAHI_CONF_OPTS += --with-xml=expat -else -AVAHI_CONF_OPTS += --with-xml=none -endif - -ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y) -AVAHI_CONF_OPTS += --enable-compat-libdns_sd -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -AVAHI_DEPENDENCIES += dbus -AVAHI_CONF_OPTS += --with-dbus-sys=/usr/share/dbus-1/system.d -else -AVAHI_CONF_OPTS += --disable-dbus -endif - -ifeq ($(BR2_PACKAGE_LIBEVENT),y) -AVAHI_DEPENDENCIES += libevent -else -AVAHI_CONF_OPTS += --disable-libevent -endif - -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -AVAHI_DEPENDENCIES += libglib2 -else -AVAHI_CONF_OPTS += --disable-glib --disable-gobject -endif - -ifeq ($(BR2_PACKAGE_PYTHON),y) -AVAHI_CONF_ENV += \ - am_cv_pathless_PYTHON=python \ - am_cv_path_PYTHON=$(PYTHON_TARGET_BINARY) \ - am_cv_python_version=$(PYTHON_VERSION) \ - am_cv_python_platform=linux2 \ - am_cv_python_pythondir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \ - am_cv_python_pyexecdir=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages \ - py_cv_mod_socket_=yes - -AVAHI_DEPENDENCIES += python -AVAHI_CONF_OPTS += --enable-python -else -AVAHI_CONF_OPTS += --disable-python -endif - -ifeq ($(BR2_PACKAGE_DBUS_PYTHON),y) -AVAHI_CONF_OPTS += --enable-python-dbus -AVAHI_CONF_ENV += py_cv_mod_dbus_=yes -AVAHI_DEPENDENCIES += dbus-python -else -AVAHI_CONF_OPTS += --disable-python-dbus -endif - -AVAHI_CONF_ENV += CFLAGS="$(AVAHI_CFLAGS)" - -AVAHI_MAKE_OPTS += LIBS=$(TARGET_NLS_LIBS) - -define AVAHI_USERS - avahi -1 avahi -1 * - - - -endef - -define AVAHI_REMOVE_INITSCRIPT - rm -rf $(TARGET_DIR)/etc/init.d/avahi-* -endef - -AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_REMOVE_INITSCRIPT - -ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y) -define AVAHI_INSTALL_AUTOIPD - rm -f $(TARGET_DIR)/var/lib/avahi-autoipd - $(INSTALL) -d -m 0755 $(TARGET_DIR)/var/lib - ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd -endef - -define AVAHI_INSTALL_AUTOIPD_INIT_SYSV - $(INSTALL) -D -m 0755 package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/S05avahi-setup.sh -endef - -AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_INSTALL_AUTOIPD -endif - -ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y) - -ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) -define AVAHI_INSTALL_SYSTEMD_SYSUSERS - $(INSTALL) -D -m 644 package/avahi/avahi_sysusers.conf \ - $(TARGET_DIR)/usr/lib/sysusers.d/avahi.conf -endef -endif - -define AVAHI_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/avahi/avahi_tmpfiles.conf \ - $(TARGET_DIR)/usr/lib/tmpfiles.d/avahi.conf - - $(AVAHI_INSTALL_SYSTEMD_SYSUSERS) -endef - -define AVAHI_INSTALL_DAEMON_INIT_SYSV - $(INSTALL) -D -m 0755 package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/S50avahi-daemon -endef - -endif - -define AVAHI_INSTALL_INIT_SYSV - $(AVAHI_INSTALL_AUTOIPD_INIT_SYSV) - $(AVAHI_INSTALL_DAEMON_INIT_SYSV) -endef - -ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y) -# applications expects to be able to #include -define AVAHI_STAGING_INSTALL_LIBDNSSD_LINK - ln -sf avahi-compat-libdns_sd/dns_sd.h \ - $(STAGING_DIR)/usr/include/dns_sd.h -endef - -AVAHI_POST_INSTALL_STAGING_HOOKS += AVAHI_STAGING_INSTALL_LIBDNSSD_LINK -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/avrdude/avrdude.hash b/buildroot-2021.05/package/avrdude/avrdude.hash deleted file mode 100644 index ec433554..00000000 --- a/buildroot-2021.05/package/avrdude/avrdude.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 2a09913450c6457c3fe8d43d5141de579d4e57d67e593e7399a4cd3768cc60f9 avrdude-r1450-br2.tar.gz -sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 avrdude/COPYING diff --git a/buildroot-2021.05/package/avrdude/avrdude.mk b/buildroot-2021.05/package/avrdude/avrdude.mk deleted file mode 100644 index ae623a79..00000000 --- a/buildroot-2021.05/package/avrdude/avrdude.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# avrdude -# -################################################################################ - -AVRDUDE_VERSION = r1450 -AVRDUDE_SITE_METHOD = svn -AVRDUDE_SITE = http://svn.savannah.nongnu.org/svn/avrdude/trunk -AVRDUDE_LICENSE = GPL-2.0+ -AVRDUDE_LICENSE_FILES = avrdude/COPYING -AVRDUDE_SUBDIR = avrdude -# Sources coming from svn, without generated configure and Makefile.in -# files. -AVRDUDE_AUTORECONF = YES -AVRDUDE_CONF_OPTS = --enable-linuxgpio -AVRDUDE_DEPENDENCIES = elfutils libusb libusb-compat ncurses \ - host-flex host-bison - -ifeq ($(BR2_PACKAGE_AVRDUDE_SPI),y) -AVRDUDE_CONF_OPTS += --enable-linuxspi -else -AVRDUDE_CONF_OPTS += --disable-linuxspi -endif - -ifeq ($(BR2_PACKAGE_LIBFTDI1),y) -AVRDUDE_DEPENDENCIES += libftdi1 -else ifeq ($(BR2_PACKAGE_LIBFTDI),y) -AVRDUDE_DEPENDENCIES += libftdi -endif - -# if /etc/avrdude.conf exists, the installation process creates a -# backup file, which we do not want in the context of Buildroot. -define AVRDUDE_REMOVE_BACKUP_FILE - $(RM) -f $(TARGET_DIR)/etc/avrdude.conf.bak -endef - -AVRDUDE_POST_INSTALL_TARGET_HOOKS += AVRDUDE_REMOVE_BACKUP_FILE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/axel/axel.hash b/buildroot-2021.05/package/axel/axel.hash deleted file mode 100644 index 552f9406..00000000 --- a/buildroot-2021.05/package/axel/axel.hash +++ /dev/null @@ -1,2 +0,0 @@ -sha256 46eb4f10a11c4e50320ae6a034ef03ffe59dc11c3c6542a9867a3e4dc0c4b44e axel-2.17.10.tar.xz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/axel/axel.mk b/buildroot-2021.05/package/axel/axel.mk deleted file mode 100644 index 8e3d7679..00000000 --- a/buildroot-2021.05/package/axel/axel.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# axel -# -################################################################################ - -AXEL_VERSION = 2.17.10 -AXEL_SITE = https://github.com/axel-download-accelerator/axel/releases/download/v$(AXEL_VERSION) -AXEL_SOURCE = axel-$(AXEL_VERSION).tar.xz -AXEL_LICENSE = GPL-2.0+ -AXEL_LICENSE_FILES = COPYING -AXEL_CPE_ID_VENDOR = axel_project -AXEL_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) - -# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test -# provided by autoconf relies on wchar_t. -AXEL_CONF_OPTS = \ - ac_cv_prog_cc_c99=-std=c99 \ - CFLAGS="$(TARGET_CFLAGS)" - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -AXEL_CONF_OPTS += --with-ssl -AXEL_DEPENDENCIES += openssl -else -AXEL_CONF_OPTS += --without-ssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/azmq/0001-Conditionally-disable-test-and-doc-builds.patch b/buildroot-2021.05/package/azmq/0001-Conditionally-disable-test-and-doc-builds.patch deleted file mode 100644 index 98975d27..00000000 --- a/buildroot-2021.05/package/azmq/0001-Conditionally-disable-test-and-doc-builds.patch +++ /dev/null @@ -1,43 +0,0 @@ -From d960f93fb52e373f76cfedbee5f4fb0c5276856a Mon Sep 17 00:00:00 2001 -From: RJ Ascani -Date: Thu, 20 Jul 2017 15:53:40 -0700 -Subject: [PATCH] Conditionally disable test and doc builds - -Signed-off-by: RJ Ascani ---- - CMakeLists.txt | 12 +++++++++--- - 1 file changed, 9 insertions(+), 3 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5b5b9cc..97006a4 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -49,7 +49,9 @@ include_directories(${Boost_INCLUDE_DIRS} - ${ZeroMQ_INCLUDE_DIRS} - ${PROJECT_SOURCE_DIR}) - --enable_testing() -+if (BUILD_TESTING) -+ enable_testing() -+endif() - - macro(add_catch_test name) - if (TEST_REPORT_FORMAT) -@@ -59,8 +61,12 @@ macro(add_catch_test name) - endif() - endmacro() - --add_subdirectory(test) --add_subdirectory(doc) -+if (BUILD_TESTING) -+ add_subdirectory(test) -+endif() -+if (BUILD_DOC) -+ add_subdirectory(doc) -+endif() - - install(DIRECTORY ${PROJECT_SOURCE_DIR}/azmq - DESTINATION include) --- -2.13.3 - diff --git a/buildroot-2021.05/package/azmq/Config.in b/buildroot-2021.05/package/azmq/Config.in deleted file mode 100644 index 6751d533..00000000 --- a/buildroot-2021.05/package/azmq/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_AZMQ - bool "azmq" - depends on !BR2_RISCV_32 # boost-log - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # boost-log - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - depends on BR2_USE_WCHAR # boost - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr - select BR2_PACKAGE_ZEROMQ - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_CHRONO - select BR2_PACKAGE_BOOST_DATE_TIME - select BR2_PACKAGE_BOOST_LOG - select BR2_PACKAGE_BOOST_RANDOM - select BR2_PACKAGE_BOOST_REGEX - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_THREAD - help - This library provides Boost Asio style bindings for ZeroMQ. - - https://github.com/zeromq/azmq - -comment "azmq needs a toolchain w/ C++11, wchar and NPTL" - depends on !BR2_RISCV_32 - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ - && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS_NPTL) - -comment "azmq needs exception_ptr" - depends on !BR2_RISCV_32 - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/azmq/azmq.hash b/buildroot-2021.05/package/azmq/azmq.hash deleted file mode 100644 index f5d24e79..00000000 --- a/buildroot-2021.05/package/azmq/azmq.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -# https://github.com/zeromq/azmq/archive/v1.0.2.tar.gz -sha256 25fa8b07756cffae95e25a55c7ea42efe02e8cd797552201aa771dd69cfc8fbf azmq-1.0.2.tar.gz -sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE-BOOST_1_0 diff --git a/buildroot-2021.05/package/azmq/azmq.mk b/buildroot-2021.05/package/azmq/azmq.mk deleted file mode 100644 index 918c6e1a..00000000 --- a/buildroot-2021.05/package/azmq/azmq.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# azmq -# -################################################################################ - -AZMQ_VERSION = 1.0.2 -AZMQ_SITE = $(call github,zeromq,azmq,v$(AZMQ_VERSION)) -AZMQ_DEPENDENCIES = boost zeromq -AZMQ_LICENSE = BSL-1.0 -AZMQ_LICENSE_FILES = LICENSE-BOOST_1_0 - -# AZMQ is a header only library, so it does not need to be installed on the -# target. -AZMQ_INSTALL_STAGING = YES -AZMQ_INSTALL_TARGET = NO - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/azure-iot-sdk-c/azure-iot-sdk-c.mk b/buildroot-2021.05/package/azure-iot-sdk-c/azure-iot-sdk-c.mk deleted file mode 100644 index 3f00db3f..00000000 --- a/buildroot-2021.05/package/azure-iot-sdk-c/azure-iot-sdk-c.mk +++ /dev/null @@ -1,75 +0,0 @@ -################################################################################ -# -# azure-iot-sdk-c -# -################################################################################ - -AZURE_IOT_SDK_C_VERSION = LTS_01_2021_Ref01 -AZURE_IOT_SDK_C_SITE = https://github.com/Azure/azure-iot-sdk-c -AZURE_IOT_SDK_C_SITE_METHOD = git -AZURE_IOT_SDK_C_GIT_SUBMODULES = YES -AZURE_IOT_SDK_C_LICENSE = MIT -AZURE_IOT_SDK_C_LICENSE_FILES = LICENSE -AZURE_IOT_SDK_C_INSTALL_STAGING = YES -AZURE_IOT_SDK_C_DEPENDENCIES = libxml2 openssl libcurl util-linux -AZURE_IOT_SDK_C_CONF_OPTS = -Dskip_samples=ON - -# The project only supports building one kind of library. -# Further the install target installs the wrong files, so we do it here: -ifeq ($(BR2_STATIC_LIBS),y) -AZURE_IOT_SDK_C_LIBS += \ - uamqp/libuamqp.a \ - c-utility/libaziotsharedutil.a \ - iothub_client/libiothub_client.a \ - iothub_client/libiothub_client_mqtt_ws_transport.a \ - iothub_client/libiothub_client_amqp_ws_transport.a \ - iothub_client/libiothub_client_http_transport.a \ - iothub_client/libiothub_client_amqp_transport.a \ - iothub_client/libiothub_client_mqtt_transport.a \ - iothub_service_client/libiothub_service_client.a \ - serializer/libserializer.a \ - umqtt/libumqtt.a \ - deps/uhttp/libuhttp.a \ - deps/umock-c/libumock_c.a \ - libparson.a -else -AZURE_IOT_SDK_C_LIBS += \ - uamqp/libuamqp.so \ - c-utility/libaziotsharedutil.so \ - iothub_client/libiothub_client.so \ - iothub_client/libiothub_client_mqtt_ws_transport.so \ - iothub_client/libiothub_client_amqp_ws_transport.so \ - iothub_client/libiothub_client_http_transport.so \ - iothub_client/libiothub_client_amqp_transport.so \ - iothub_client/libiothub_client_mqtt_transport.so \ - iothub_service_client/libiothub_service_client.so \ - serializer/libserializer.so \ - umqtt/libumqtt.so.1.1.12 \ - deps/uhttp/libuhttp.so \ - deps/umock-c/libumock_c.so \ - libparson.so - -define AZURE_IOT_SDK_C_CREATE_SYMLINKS - ln -sf libumqtt.so.1.1.12 $(1)/usr/lib/libumqtt.so.1 - ln -sf libumqtt.so.1.1.12 $(1)/usr/lib/libumqtt.so -endef -endif - -define AZURE_IOT_SDK_C_INSTALL_LIBS - $(foreach l,$(AZURE_IOT_SDK_C_LIBS), \ - $(INSTALL) -D -m 0755 $(@D)/$(l) $(1)/usr/lib/$(notdir $(l)) - ) - $(call AZURE_IOT_SDK_C_CREATE_SYMLINKS,$(1)) -endef - -define AZURE_IOT_SDK_C_INSTALL_STAGING_CMDS - $(call AZURE_IOT_SDK_C_INSTALL_LIBS,$(STAGING_DIR)) - cp -a $(@D)/c-utility/inc/* $(STAGING_DIR)/usr/include/ - cp -a $(@D)/iothub_client/inc/* $(STAGING_DIR)/usr/include/ -endef - -define AZURE_IOT_SDK_C_INSTALL_TARGET_CMDS - $(call AZURE_IOT_SDK_C_INSTALL_LIBS,$(TARGET_DIR)) -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/babeltrace2/0002-tests-lib-test_trace_ir_ref.c-rename-user-structure.patch b/buildroot-2021.05/package/babeltrace2/0002-tests-lib-test_trace_ir_ref.c-rename-user-structure.patch deleted file mode 100644 index ac9eee82..00000000 --- a/buildroot-2021.05/package/babeltrace2/0002-tests-lib-test_trace_ir_ref.c-rename-user-structure.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 7a27f13c192d15cae47740f3e884bba16f15ed41 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 26 Sep 2020 22:03:10 +0200 -Subject: [PATCH] tests/lib/test_trace_ir_ref.c: rename user structure - -Rename user structure to bt_user to avoid the following build failure -with uclibc: - -test_trace_ir_ref.c:41:8: error: redefinition of 'struct user' - struct user { - ^ -In file included from /home/naourr/work/instance-0/output-1/per-package/babeltrace2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/sys/procfs.h:33, - from /home/naourr/work/instance-0/output-1/per-package/babeltrace2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/sys/ucontext.h:25, - from /home/naourr/work/instance-0/output-1/per-package/babeltrace2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/signal.h:329, - from /home/naourr/work/instance-0/output-1/per-package/babeltrace2/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/glib-2.0/glib/gbacktrace.h:36, - from /home/naourr/work/instance-0/output-1/per-package/babeltrace2/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/glib-2.0/glib.h:34, - from ../../src/common/assert.h:28, - from ../../src/lib/object.h:28, - from test_trace_ir_ref.c:25: -/home/naourr/work/instance-0/output-1/per-package/babeltrace2/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/sys/user.h:48:8: note: originally defined here - struct user - ^~~~ - -Fixes: - - http://autobuild.buildroot.org/results/e4229e2b9c892b419a9d2eaa6929b80ea62dd130 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/efficios/babeltrace/pull/115] ---- - tests/lib/test_trace_ir_ref.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/tests/lib/test_trace_ir_ref.c b/tests/lib/test_trace_ir_ref.c -index d5dfa9cf..70caf29c 100644 ---- a/tests/lib/test_trace_ir_ref.c -+++ b/tests/lib/test_trace_ir_ref.c -@@ -25,7 +25,7 @@ - - #define NR_TESTS 37 - --struct user { -+struct bt_user { - bt_trace_class *tc; - bt_stream_class *sc; - bt_event_class *ec; -@@ -265,7 +265,7 @@ static void test_example_scenario(bt_self_component_source *self_comp) - bt_stream_class *weak_sc1 = NULL, *weak_sc2 = NULL; - bt_event_class *weak_ec1 = NULL, *weak_ec2 = NULL, - *weak_ec3 = NULL; -- struct user user_a = { 0 }, user_b = { 0 }, user_c = { 0 }; -+ struct bt_user user_a = { 0 }, user_b = { 0 }, user_c = { 0 }; - - /* The only reference which exists at this point is on TC1. */ - tc1 = create_tc1(self_comp); --- -2.28.0 - diff --git a/buildroot-2021.05/package/babeltrace2/babeltrace2.hash b/buildroot-2021.05/package/babeltrace2/babeltrace2.hash deleted file mode 100644 index 27c47ba2..00000000 --- a/buildroot-2021.05/package/babeltrace2/babeltrace2.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://www.efficios.com/files/babeltrace/babeltrace2-2.0.3.tar.bz2.sha256 -sha256 a53625152554102d868ba8395347d0daba0bec9c4b854c3e9bd97c77b0bf04a0 babeltrace2-2.0.3.tar.bz2 - -# Hash for license files -sha256 d919c6347409efde6dea63c6f349fb06bc060a2b721fc3df07b5f720b5f1d60e LICENSE -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 gpl-2.0.txt -sha256 c68fd1ffc1623ea0dace21abf57305818e4998a4ae0c79010aaaa943eb660b55 lgpl-2.1.txt -sha256 2f801b7c2494850c3d91da820eb230502dc0192c9d0db024db37ec08d0be1434 mit-license.txt diff --git a/buildroot-2021.05/package/babeltrace2/babeltrace2.mk b/buildroot-2021.05/package/babeltrace2/babeltrace2.mk deleted file mode 100644 index 1e03f5fd..00000000 --- a/buildroot-2021.05/package/babeltrace2/babeltrace2.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# babeltrace2 -# -################################################################################ - -BABELTRACE2_SITE = https://www.efficios.com/files/babeltrace -BABELTRACE2_VERSION = 2.0.3 -BABELTRACE2_SOURCE = babeltrace2-$(BABELTRACE2_VERSION).tar.bz2 -BABELTRACE2_LICENSE = MIT, LGPL-2.1 (src/common/list.h), GPL-2.0 (test code) -BABELTRACE2_LICENSE_FILES = mit-license.txt lgpl-2.1.txt gpl-2.0.txt LICENSE -# We're patching configure.ac -BABELTRACE2_AUTORECONF = YES -BABELTRACE2_CONF_OPTS = --disable-man-pages -BABELTRACE2_DEPENDENCIES = libglib2 host-pkgconf -# The host-elfutils dependency is optional, but since we don't have -# options for host packages, just build support for it -# unconditionally. -HOST_BABELTRACE2_DEPENDENCIES = host-libglib2 host-pkgconf host-elfutils -HOST_BABELTRACE2_CONF_OPTS += --enable-debug-info - -ifeq ($(BR2_PACKAGE_ELFUTILS),y) -BABELTRACE2_DEPENDENCIES += elfutils -BABELTRACE2_CONF_OPTS += --enable-debug-info -BABELTRACE2_CONF_ENV += bt_cv_lib_elfutils=yes -else -BABELTRACE2_CONF_OPTS += --disable-debug-info -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -BABELTRACE2_CONF_ENV += LIBS=-latomic -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/bash/0001-bash51-001.patch b/buildroot-2021.05/package/bash/0001-bash51-001.patch deleted file mode 100644 index 8f18cccc..00000000 --- a/buildroot-2021.05/package/bash/0001-bash51-001.patch +++ /dev/null @@ -1,83 +0,0 @@ -[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-001] -Signed-off-by: Peter Seiderer - - BASH PATCH REPORT - ================= - -Bash-Release: 5.1 -Patch-ID: bash51-001 - -Bug-Reported-by: Fazal Majid -Bug-Reference-ID: -Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00000.html - -Bug-Description: - -There is a missing dependency on a constructed file, which can cause highly -parellel builds to fail. - -Patch (apply with `patch -p0'): - -*** ../bash-5.1-patched/Makefile.in 2020-12-04 09:51:19.000000000 -0500 ---- b/Makefile.in 2020-12-16 11:28:36.000000000 -0500 -*************** -*** 1316,1319 **** ---- 1316,1320 ---- - bashline.o: pcomplete.h ${BASHINCDIR}/chartypes.h input.h - bashline.o: ${BASHINCDIR}/shmbutil.h ${BASHINCDIR}/shmbchar.h -+ bashline.o: ${DEFDIR}/builtext.h - bracecomp.o: config.h bashansi.h ${BASHINCDIR}/ansi_stdlib.h - bracecomp.o: shell.h syntax.h config.h bashjmp.h ${BASHINCDIR}/posixjmp.h -*************** -*** 1436,1439 **** ---- 1437,1441 ---- - builtins/evalstring.o: jobs.h builtins.h flags.h input.h execute_cmd.h - builtins/evalstring.o: bashhist.h $(DEFSRC)/common.h pathnames.h -+ builtins/evalstring.o: ${DEFDIR}/builtext.h - builtins/getopt.o: config.h ${BASHINCDIR}/memalloc.h - builtins/getopt.o: shell.h syntax.h bashjmp.h command.h general.h xmalloc.h error.h - -*** ../bash-5.1-patched/builtins/Makefile.in 2019-07-25 08:03:45.000000000 -0400 ---- b/builtins/Makefile.in 2020-12-16 11:29:29.000000000 -0500 -*************** -*** 362,366 **** - evalstring.o: $(topdir)/flags.h $(topdir)/input.h $(topdir)/execute_cmd.h - evalstring.o: $(topdir)/bashhist.h $(srcdir)/common.h -! evalstring.o: $(topdir)/trap.h $(topdir)/redir.h ../pathnames.h - #evalstring.o: $(topdir)/y.tab.h - getopt.o: ../config.h $(BASHINCDIR)/memalloc.h ---- 362,366 ---- - evalstring.o: $(topdir)/flags.h $(topdir)/input.h $(topdir)/execute_cmd.h - evalstring.o: $(topdir)/bashhist.h $(srcdir)/common.h -! evalstring.o: $(topdir)/trap.h $(topdir)/redir.h ../pathnames.h ./builtext.h - #evalstring.o: $(topdir)/y.tab.h - getopt.o: ../config.h $(BASHINCDIR)/memalloc.h - -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 ---- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400 -*************** -*** 1,5 **** - /* patchlevel.h -- current bash patch level */ - -! /* Copyright (C) 2001-2016 Free Software Foundation, Inc. - - This file is part of GNU Bash, the Bourne Again SHell. ---- 1,5 ---- - /* patchlevel.h -- current bash patch level */ - -! /* Copyright (C) 2001-2020 Free Software Foundation, Inc. - - This file is part of GNU Bash, the Bourne Again SHell. -*************** -*** 26,30 **** - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 0 - - #endif /* _PATCHLEVEL_H_ */ ---- 26,30 ---- - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 1 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/buildroot-2021.05/package/bash/0002-bash51-002.patch b/buildroot-2021.05/package/bash/0002-bash51-002.patch deleted file mode 100644 index c9836082..00000000 --- a/buildroot-2021.05/package/bash/0002-bash51-002.patch +++ /dev/null @@ -1,60 +0,0 @@ -[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-002] -Signed-off-by: Peter Seiderer - - BASH PATCH REPORT - ================= - -Bash-Release: 5.1 -Patch-ID: bash51-002 - -Bug-Reported-by: oguzismailuysal@gmail.com -Bug-Reference-ID: -Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00037.html - -Bug-Description: - -If there are no jobs, and the `-n' and `-p' options are both supplied to -`wait', bash can assign a value to the variable name specified with `-p' -instead of leaving it unset. - -Patch (apply with `patch -p0'): - -*** ../bash-5.1-patched/builtins/wait.def 2020-04-09 15:13:57.000000000 -0400 ---- b/builtins/wait.def 2020-12-11 09:46:49.000000000 -0500 -*************** -*** 214,222 **** - - status = wait_for_any_job (wflags, &pstat); -- if (status < 0) -- status = 127; -- - if (vname && status >= 0) - bind_var_to_int (vname, pstat.pid); - if (list) - unset_waitlist (); ---- 214,222 ---- - - status = wait_for_any_job (wflags, &pstat); - if (vname && status >= 0) - bind_var_to_int (vname, pstat.pid); -+ -+ if (status < 0) -+ status = 127; - if (list) - unset_waitlist (); - -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 ---- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400 -*************** -*** 26,30 **** - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 1 - - #endif /* _PATCHLEVEL_H_ */ ---- 26,30 ---- - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 2 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/buildroot-2021.05/package/bash/0003-bash51-003.patch b/buildroot-2021.05/package/bash/0003-bash51-003.patch deleted file mode 100644 index ff13fb0c..00000000 --- a/buildroot-2021.05/package/bash/0003-bash51-003.patch +++ /dev/null @@ -1,56 +0,0 @@ -[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-003] -Signed-off-by: Peter Seiderer - - BASH PATCH REPORT - ================= - -Bash-Release: 5.1 -Patch-ID: bash51-003 - -Bug-Reported-by: oguzismailuysal@gmail.com -Bug-Reference-ID: -Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00050.html - -Bug-Description: - -Bash does not put a command substitution process that is started to perform an -expansion in a child process into the right process group where it can receive -keyboard-generated signals. - -Patch (apply with `patch -p0'): - -*** ../bash-5.1-patched/subst.c 2020-11-16 10:33:15.000000000 -0500 ---- b/subst.c 2020-12-12 13:50:11.000000000 -0500 -*************** -*** 6357,6362 **** - #if defined (JOB_CONTROL) - old_pipeline_pgrp = pipeline_pgrp; -! /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline. */ -! if ((subshell_environment & SUBSHELL_PIPE) == 0) - pipeline_pgrp = shell_pgrp; - cleanup_the_pipeline (); ---- 6357,6364 ---- - #if defined (JOB_CONTROL) - old_pipeline_pgrp = pipeline_pgrp; -! /* Don't reset the pipeline pgrp if we're already a subshell in a pipeline or -! we've already forked to run a disk command (and are expanding redirections, -! for example). */ -! if ((subshell_environment & (SUBSHELL_FORK|SUBSHELL_PIPE)) == 0) - pipeline_pgrp = shell_pgrp; - cleanup_the_pipeline (); - -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 ---- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400 -*************** -*** 26,30 **** - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 2 - - #endif /* _PATCHLEVEL_H_ */ ---- 26,30 ---- - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 3 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/buildroot-2021.05/package/bash/0004-bash51-004.patch b/buildroot-2021.05/package/bash/0004-bash51-004.patch deleted file mode 100644 index 48a38645..00000000 --- a/buildroot-2021.05/package/bash/0004-bash51-004.patch +++ /dev/null @@ -1,129 +0,0 @@ -[From http://mirror.keystealth.org/gnu/bash/bash-5.1-patches/bash51-004] -Signed-off-by: Peter Seiderer - - BASH PATCH REPORT - ================= - -Bash-Release: 5.1 -Patch-ID: bash51-004 - -Bug-Reported-by: oguzismailuysal@gmail.com -Bug-Reference-ID: -Bug-Reference-URL: https://lists.gnu.org/archive/html/bug-bash/2020-12/msg00039.html - -Bug-Description: - -If a key-value compound array assignment to an associative array is supplied -as an assignment statement argument to the `declare' command that declares the -array, the assignment doesn't perform the correct word expansions. - -This patch makes key-value assignment and subscript assignment perform the -same expansions when they're supplied as an argument to `declare'. - -Patch (apply with `patch -p0'): - -*** ../bash-5.1-patched/arrayfunc.c 2020-10-09 11:38:58.000000000 -0400 ---- b/arrayfunc.c 2020-12-11 15:12:22.000000000 -0500 -*************** -*** 598,601 **** ---- 598,622 ---- - } - } -+ -+ /* Return non-zero if L appears to be a key-value pair associative array -+ compound assignment. */ -+ int -+ kvpair_assignment_p (l) -+ WORD_LIST *l; -+ { -+ return (l && (l->word->flags & W_ASSIGNMENT) == 0 && l->word->word[0] != '['); /*]*/ -+ } -+ -+ char * -+ expand_and_quote_kvpair_word (w) -+ char *w; -+ { -+ char *t, *r; -+ -+ t = w ? expand_assignment_string_to_string (w, 0) : 0; -+ r = sh_single_quote (t ? t : ""); -+ free (t); -+ return r; -+ } - #endif - -*************** -*** 641,645 **** - - #if ASSOC_KVPAIR_ASSIGNMENT -! if (assoc_p (var) && nlist && (nlist->word->flags & W_ASSIGNMENT) == 0 && nlist->word->word[0] != '[') /*]*/ - { - iflags = flags & ~ASS_APPEND; ---- 662,666 ---- - - #if ASSOC_KVPAIR_ASSIGNMENT -! if (assoc_p (var) && kvpair_assignment_p (nlist)) - { - iflags = flags & ~ASS_APPEND; -*** ../bash-5.1-patched/arrayfunc.h 2020-04-29 17:24:15.000000000 -0400 ---- b/arrayfunc.h 2020-12-11 14:23:50.000000000 -0500 -*************** -*** 68,71 **** ---- 68,74 ---- - extern void quote_compound_array_list PARAMS((WORD_LIST *, int)); - -+ extern int kvpair_assignment_p PARAMS((WORD_LIST *)); -+ extern char *expand_and_quote_kvpair_word PARAMS((char *)); -+ - extern int unbind_array_element PARAMS((SHELL_VAR *, char *, int)); - extern int skipsubscript PARAMS((const char *, int, int)); -*** ../bash-5.1-patched/subst.c 2020-11-16 10:33:15.000000000 -0500 ---- b/subst.c 2020-12-11 15:11:10.000000000 -0500 -*************** -*** 11605,11608 **** ---- 11605,11609 ---- - WORD_LIST *l, *nl; - char *t; -+ int kvpair; - - if (flags == 0) -*************** -*** 11619,11622 **** ---- 11620,11627 ---- - /* Associative array */ - l = parse_string_to_word_list (value, 1, "array assign"); -+ #if ASSOC_KVPAIR_ASSIGNMENT -+ kvpair = kvpair_assignment_p (l); -+ #endif -+ - /* For associative arrays, with their arbitrary subscripts, we have to - expand and quote in one step so we don't have to search for the -*************** -*** 11624,11627 **** ---- 11629,11638 ---- - for (nl = l; nl; nl = nl->next) - { -+ #if ASSOC_KVPAIR_ASSIGNMENT -+ if (kvpair) -+ /* keys and values undergo the same set of expansions */ -+ t = expand_and_quote_kvpair_word (nl->word->word); -+ else -+ #endif - if ((nl->word->flags & W_ASSIGNMENT) == 0) - t = sh_single_quote (nl->word->word ? nl->word->word : ""); - -*** ../bash-5.1/patchlevel.h 2020-06-22 14:51:03.000000000 -0400 ---- b/patchlevel.h 2020-10-01 11:01:28.000000000 -0400 -*************** -*** 26,30 **** - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 3 - - #endif /* _PATCHLEVEL_H_ */ ---- 26,30 ---- - looks for to find the patch level (for the sccs version string). */ - -! #define PATCHLEVEL 4 - - #endif /* _PATCHLEVEL_H_ */ diff --git a/buildroot-2021.05/package/bash/bash.hash b/buildroot-2021.05/package/bash/bash.hash deleted file mode 100644 index 2e547c8c..00000000 --- a/buildroot-2021.05/package/bash/bash.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature from -# http://mirror.keystealth.org/gnu/bash/bash-5.1.tar.gz.sig -sha256 cc012bc860406dcf42f64431bcd3d2fa7560c02915a601aba9cd597a39329baa bash-5.1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/bash/bash.mk b/buildroot-2021.05/package/bash/bash.mk deleted file mode 100644 index 7b853ece..00000000 --- a/buildroot-2021.05/package/bash/bash.mk +++ /dev/null @@ -1,71 +0,0 @@ -################################################################################ -# -# bash -# -################################################################################ - -BASH_VERSION = 5.1 -BASH_SITE = $(BR2_GNU_MIRROR)/bash -BASH_DEPENDENCIES = ncurses readline host-bison -BASH_LICENSE = GPL-3.0+ -BASH_LICENSE_FILES = COPYING -BASH_CPE_ID_VENDOR = gnu - -# We want the bash binary in /bin -BASH_CONF_OPTS = \ - --bindir=/bin \ - --with-installed-readline \ - --without-bash-malloc - -BASH_CONF_ENV += \ - ac_cv_rl_prefix="$(STAGING_DIR)" \ - ac_cv_rl_version="$(READLINE_VERSION)" \ - bash_cv_getcwd_malloc=yes \ - bash_cv_job_control_missing=present \ - bash_cv_sys_named_pipes=present \ - bash_cv_func_sigsetjmp=present \ - bash_cv_printf_a_format=yes - -# The static build needs some trickery -ifeq ($(BR2_STATIC_LIBS),y) -BASH_CONF_OPTS += --enable-static-link -# bash wants to redefine the getenv() function. To check whether this is -# possible, AC_TRY_RUN is used which is not possible in -# cross-compilation. -# On uClibc, redefining getenv is not possible; on glibc and musl it is. -# Related: -# http://lists.gnu.org/archive/html/bug-bash/2012-03/msg00052.html -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -BASH_CONF_ENV += bash_cv_getenv_redef=no -else -BASH_CONF_ENV += bash_cv_getenv_redef=yes -endif -endif - -define BASH_REMOVE_UNUSED_FILES - rm -f $(TARGET_DIR)/bin/bashbug -endef -BASH_POST_INSTALL_TARGET_HOOKS += BASH_REMOVE_UNUSED_FILES - -ifeq ($(BR2_PACKAGE_BASH_LOADABLE_EXAMPLES),y) -define BASH_REMOVE_LOADABLE_UNUSED_FILES - rm -f $(TARGET_DIR)/usr/lib/bash/Makefile.inc - rm -f $(TARGET_DIR)/usr/lib/bash/loadables.h -endef -BASH_POST_INSTALL_TARGET_HOOKS += BASH_REMOVE_LOADABLE_UNUSED_FILES -else -define BASH_REMOVE_LOADABLE_EXAMPLES - rm -rf $(TARGET_DIR)/usr/lib/bash -endef -BASH_POST_INSTALL_TARGET_HOOKS += BASH_REMOVE_LOADABLE_EXAMPLES -endif - -# Add /bin/bash to /etc/shells otherwise some login tools like dropbear -# can reject the user connection. See man shells. -define BASH_ADD_MKSH_TO_SHELLS - grep -qsE '^/bin/bash$$' $(TARGET_DIR)/etc/shells \ - || echo "/bin/bash" >> $(TARGET_DIR)/etc/shells -endef -BASH_TARGET_FINALIZE_HOOKS += BASH_ADD_MKSH_TO_SHELLS - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/batman-adv/batman-adv.hash b/buildroot-2021.05/package/batman-adv/batman-adv.hash deleted file mode 100644 index 2422723f..00000000 --- a/buildroot-2021.05/package/batman-adv/batman-adv.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://downloads.open-mesh.org/batman/releases/batman-adv-2021.0/batman-adv-2021.0.tar.gz.sha1 -sha1 7edd4dfb9434f80adf791990d4e383c7ef80a256 batman-adv-2021.0.tar.gz - -# Hash for license files -sha256 5a989ba580897268373bd516b87b588061f344af773a0f6b038a3d8d2af028a1 batman-adv-2021.0.tar.gz -sha256 cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025 LICENSES/preferred/GPL-2.0 -sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/preferred/MIT diff --git a/buildroot-2021.05/package/batman-adv/batman-adv.mk b/buildroot-2021.05/package/batman-adv/batman-adv.mk deleted file mode 100644 index cb802d69..00000000 --- a/buildroot-2021.05/package/batman-adv/batman-adv.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# batman-adv -# -################################################################################ - -BATMAN_ADV_VERSION = 2021.0 -BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv -BATMAN_ADV_LICENSE = GPL-2.0, MIT (batman_adv.h) -BATMAN_ADV_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT - -BATMAN_ADV_CFLAGS = \ - -I$(@D)/compat-include/ \ - -I$(@D)/include/ \ - -include $(@D)/compat.h \ - -DBATADV_SOURCE_VERSION=\"\\\"$(BATMAN_ADV_VERSION)\\\"\" - -# Bridge Loop Avoidance, Distributed Arp Table are always enabled -BATMAN_ADV_MODULE_MAKE_OPTS = \ - KVER=$(LINUX_VERSION_PROBED) \ - INSTALL_MOD_DIR=updates/net/batman-adv \ - NOSTDINC_FLAGS="$(BATMAN_ADV_CFLAGS)" \ - CONFIG_BATMAN_ADV=m \ - CONFIG_BATMAN_ADV_BLA=y \ - CONFIG_BATMAN_ADV_DAT=y \ - CONFIG_BATMAN_ADV_MCAST=y \ - CONFIG_BATMAN_ADV_BATMAN_V=$(if $(BR2_PACKAGE_BATMAN_ADV_BATMAN_V),y,n) \ - CONFIG_BATMAN_ADV_DEBUG=$(if $(BR2_PACKAGE_BATMAN_ADV_DEBUG),y,n) \ - CONFIG_BATMAN_ADV_NC=$(if $(BR2_PACKAGE_BATMAN_ADV_NC),y,n) - -BATMAN_ADV_MODULE_SUBDIRS = net/batman-adv - -define BATMAN_ADV_CONFIGURE_CMDS - $(BATMAN_ADV_MODULE_MAKE_OPTS) $(@D)/gen-compat-autoconf.sh $(@D)/compat-autoconf.h -endef - -define BATMAN_ADV_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) -endef - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/bats-core/bats-core.hash b/buildroot-2021.05/package/bats-core/bats-core.hash deleted file mode 100644 index b50543a2..00000000 --- a/buildroot-2021.05/package/bats-core/bats-core.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 91c49b1fe6f0656c46491929ed728f8dfa9a96df0cce294963e8c6082bff87a2 bats-core-1.2.1.tar.gz - -# License files -sha256 55074b2b3b87809105034e1468e59076554d76a80c67bcc592000cc3d929852d LICENSE.md diff --git a/buildroot-2021.05/package/bats-core/bats-core.mk b/buildroot-2021.05/package/bats-core/bats-core.mk deleted file mode 100644 index fc8ac674..00000000 --- a/buildroot-2021.05/package/bats-core/bats-core.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# bats-core -# -################################################################################ - -BATS_CORE_VERSION = 1.2.1 -BATS_CORE_SITE = $(call github,bats-core,bats-core,v$(BATS_CORE_VERSION)) -BATS_CORE_LICENSE = MIT -BATS_CORE_LICENSE_FILES = LICENSE.md - -define BATS_CORE_INSTALL_TARGET_CMDS - $(@D)/install.sh $(TARGET_DIR)/usr -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/bayer2rgb-neon/Config.in b/buildroot-2021.05/package/bayer2rgb-neon/Config.in deleted file mode 100644 index ed065c1e..00000000 --- a/buildroot-2021.05/package/bayer2rgb-neon/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_BAYER2RGB_NEON - bool "bayer2rgb-neon" - depends on BR2_arm && BR2_ARM_CPU_HAS_NEON - depends on !BR2_STATIC_LIBS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 - help - bayer2rgb-neon is a library which allows - to decode raw camera bayer to RGB using - NEON hardware acceleration. - - https://git.phytec.de/bayer2rgb-neon/ - -comment "bayer2rgb-neon needs a toolchain w/ C++, dynamic library, gcc >= 4.9" - depends on BR2_arm && BR2_ARM_CPU_HAS_NEON - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/bayer2rgb-neon/bayer2rgb-neon.hash b/buildroot-2021.05/package/bayer2rgb-neon/bayer2rgb-neon.hash deleted file mode 100644 index b1e87d7a..00000000 --- a/buildroot-2021.05/package/bayer2rgb-neon/bayer2rgb-neon.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 d2e3e97bb9da218f223c03b2f080c5da727224e6e4cb99979398971110dfae04 bayer2rgb-neon-bef3ecafe290d61a50fd27da3e5d0df6f4b88045-br1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/bayer2rgb-neon/bayer2rgb-neon.mk b/buildroot-2021.05/package/bayer2rgb-neon/bayer2rgb-neon.mk deleted file mode 100644 index 34510e76..00000000 --- a/buildroot-2021.05/package/bayer2rgb-neon/bayer2rgb-neon.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# bayer2rgb-neon -# -################################################################################ - -BAYER2RGB_NEON_VERSION = bef3ecafe290d61a50fd27da3e5d0df6f4b88045 -BAYER2RGB_NEON_SITE = https://gitlab-ext.sigma-chemnitz.de/ensc/bayer2rgb.git -BAYER2RGB_NEON_SITE_METHOD = git -BAYER2RGB_NEON_LICENSE = GPL-3.0 -BAYER2RGB_NEON_LICENSE_FILES = COPYING -BAYER2RGB_NEON_INSTALL_STAGING = YES -BAYER2RGB_NEON_DEPENDENCIES = host-pkgconf host-gengetopt -BAYER2RGB_NEON_AUTORECONF = YES - -BAYER2RGB_NEON_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -mfpu=neon" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bcm2835/Config.in b/buildroot-2021.05/package/bcm2835/Config.in deleted file mode 100644 index 4c3eb2cb..00000000 --- a/buildroot-2021.05/package/bcm2835/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_BCM2835 - bool "bcm2835" - depends on BR2_arm - help - C library for Broadcom BCM 2835 as used in Raspberry Pi. - It provides access to GPIO and other IO functions on the - Broadcom BCM 2835 chip, allowing access to the GPIO pins - on the 26 pin IDE plug on the RPi board so you can control - and interface with various external devices. - - WARNING: the opinion of the Buildroot developers is that - such library is a complete abomination as it entirely works - around the standard Linux interfaces to access GPIOs, I2C, - SPI busses or other IOs. The library directly remaps the - hardware registers in user-space, completely bypassing what - the kernel drivers are doing, and potentially conflicting - with them. - - http://www.airspayce.com/mikem/bcm2835 diff --git a/buildroot-2021.05/package/bcm2835/bcm2835.hash b/buildroot-2021.05/package/bcm2835/bcm2835.hash deleted file mode 100644 index e366f190..00000000 --- a/buildroot-2021.05/package/bcm2835/bcm2835.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 b7eda59fd7bc3cb97fdac14e8455e86ddad75006d69270358ac8d00108e369a9 bcm2835-1.68.tar.gz -sha256 8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b COPYING diff --git a/buildroot-2021.05/package/bcm2835/bcm2835.mk b/buildroot-2021.05/package/bcm2835/bcm2835.mk deleted file mode 100644 index 1ddd0358..00000000 --- a/buildroot-2021.05/package/bcm2835/bcm2835.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# bcm2835 -# -################################################################################ - -BCM2835_VERSION = 1.68 -BCM2835_SITE = http://www.airspayce.com/mikem/bcm2835 -BCM2835_LICENSE = GPL-3.0 -BCM2835_LICENSE_FILES = COPYING -BCM2835_INSTALL_STAGING = YES - -# disable doxygen doc generation -BCM2835_CONF_ENV = ac_cv_prog_DOXYGEN=/bin/true - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bdwgc/Config.in b/buildroot-2021.05/package/bdwgc/Config.in deleted file mode 100644 index 95139efb..00000000 --- a/buildroot-2021.05/package/bdwgc/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_BDWGC - bool "bdwgc" - depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS - select BR2_PACKAGE_LIBATOMIC_OPS - help - The Boehm-Demers-Weiser conservative garbage collector can - be used as a garbage collecting replacement for C 'malloc' - or C++ 'new'. - - http://www.hboehm.info/gc/ diff --git a/buildroot-2021.05/package/bdwgc/bdwgc.hash b/buildroot-2021.05/package/bdwgc/bdwgc.hash deleted file mode 100644 index 4d221319..00000000 --- a/buildroot-2021.05/package/bdwgc/bdwgc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 436a0ddc67b1ac0b0405b61a9675bca9e075c8156f4debd1d06f3a56c7cd289d gc-8.0.4.tar.gz -sha256 aeeaabbf44e67d413e18719f0c6ac9c23387ab0b33e7a15ee46cf59ddef12cc7 README.QUICK diff --git a/buildroot-2021.05/package/bdwgc/bdwgc.mk b/buildroot-2021.05/package/bdwgc/bdwgc.mk deleted file mode 100644 index 57dd82ca..00000000 --- a/buildroot-2021.05/package/bdwgc/bdwgc.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# bdwgc -# -################################################################################ - -BDWGC_VERSION = 8.0.4 -BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz -BDWGC_SITE = http://www.hboehm.info/gc/gc_source -BDWGC_INSTALL_STAGING = YES -BDWGC_LICENSE = bdwgc license -BDWGC_LICENSE_FILES = README.QUICK -BDWGC_CPE_ID_VENDOR = bdwgc_project -BDWGC_DEPENDENCIES = libatomic_ops host-pkgconf -HOST_BDWGC_DEPENDENCIES = host-libatomic_ops host-pkgconf - -BDWGC_CONF_OPTS = CFLAGS_EXTRA="$(BDWGC_CFLAGS_EXTRA)" -ifeq ($(BR2_sparc),y) -BDWGC_CFLAGS_EXTRA += -DAO_NO_SPARC_V9 -endif -ifeq ($(BR2_STATIC_LIBS),y) -BDWGC_CFLAGS_EXTRA += -DGC_NO_DLOPEN -endif - -# Ensure we use the system libatomic_ops, and not the internal one. -BDWGC_CONF_OPTS += --with-libatomic-ops=yes -HOST_BDWGC_CONF_OPTS = --with-libatomic-ops=yes - -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -BDWGC_CONF_OPTS += --enable-cplusplus -else -BDWGC_CONF_OPTS += --disable-cplusplus -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/belle-sip/belle-sip.mk b/buildroot-2021.05/package/belle-sip/belle-sip.mk deleted file mode 100644 index 23b60e51..00000000 --- a/buildroot-2021.05/package/belle-sip/belle-sip.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# belle-sip -# -################################################################################ - -BELLE_SIP_VERSION = 4.4.8 -BELLE_SIP_SITE = \ - https://gitlab.linphone.org/BC/public/belle-sip/-/archive/$(BELLE_SIP_VERSION) -BELLE_SIP_LICENSE = GPL-3.0+ -BELLE_SIP_LICENSE_FILES = LICENSE.txt -BELLE_SIP_INSTALL_STAGING = YES -BELLE_SIP_DEPENDENCIES = \ - bctoolbox \ - $(if $(BR2_PACKAGE_ZLIB),zlib) -BELLE_SIP_CONF_OPTS = \ - -DENABLE_STRICT=OFF \ - -DENABLE_TESTS=OFF - -ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y) -BELLE_SIP_CONF_OPTS += -DENABLE_MDNS=ON -BELLE_SIP_DEPENDENCIES += avahi -else -BELLE_SIP_CONF_OPTS += -DENABLE_MDNS=OFF -endif - -ifeq ($(BR2_STATIC_LIBS),y) -BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_LIBS),y) -BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF -endif - -BELLE_SIP_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_99140),y) -BELLE_SIP_CFLAGS += -O0 -endif - -BELLE_SIP_CONF_OPTS += -DCMAKE_C_FLAGS="$(BELLE_SIP_CFLAGS)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/belr/belr.mk b/buildroot-2021.05/package/belr/belr.mk deleted file mode 100644 index f243830a..00000000 --- a/buildroot-2021.05/package/belr/belr.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# belr -# -################################################################################ - -BELR_VERSION = 4.4.8 -BELR_SITE = https://gitlab.linphone.org/BC/public/belr/-/archive/$(BELR_VERSION) -BELR_LICENSE = GPL-3.0+ -BELR_LICENSE_FILES = LICENSE.txt -BELR_INSTALL_STAGING = YES -BELR_DEPENDENCIES = bctoolbox -BELR_CONF_OPTS = \ - -DENABLE_STRICT=OFF \ - -DENABLE_TESTS=OFF \ - -DENABLE_TOOLS=OFF - -ifeq ($(BR2_STATIC_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON -else ifeq ($(BR2_SHARED_LIBS),y) -BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/benejson/benejson.mk b/buildroot-2021.05/package/benejson/benejson.mk deleted file mode 100644 index 5bb57d02..00000000 --- a/buildroot-2021.05/package/benejson/benejson.mk +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################ -# -# benejson -# -################################################################################ - -BENEJSON_VERSION = 0.9.7 -BENEJSON_SITE = $(call github,codehero,benejson,$(BENEJSON_VERSION)) -BENEJSON_LICENSE = MIT -BENEJSON_LICENSE_FILES = LICENSE -BENEJSON_INSTALL_STAGING = YES -BENEJSON_DEPENDENCIES = host-python3 host-scons - -# wchar support needs to be manually disabled -ifeq ($(BR2_USE_WCHAR),) -define BENEJSON_DISABLE_WCHAR - $(SED) 's,^#define BNJ_WCHAR_SUPPORT,#undef BNJ_WCHAR_SUPPORT,' \ - $(@D)/benejson/benejson.h -endef -BENEJSON_POST_PATCH_HOOKS += BENEJSON_DISABLE_WCHAR -endif - -BENEJSON_SCONS_TARGETS = include - -ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -BENEJSON_SCONS_TARGETS += lib/libbenejson.a -define BENEJSON_INSTALL_STATIC_LIB - $(INSTALL) -D -m 0644 $(@D)/lib/libbenejson.a \ - $(1)/usr/lib/libbenejson.a -endef -endif # Static enabled - -ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -BENEJSON_SCONS_TARGETS += lib/libbenejson.so -define BENEJSON_INSTALL_SHARED_LIB - $(INSTALL) -D -m 0644 $(@D)/lib/libbenejson.so \ - $(1)/usr/lib/libbenejson.so -endef -endif # Shared enabled - -define BENEJSON_BUILD_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \ - $(HOST_DIR)/bin/python3 $(SCONS) $(BENEJSON_SCONS_TARGETS)) -endef - -define BENEJSON_INSTALL_STAGING_CMDS - $(INSTALL) -D -m 0644 $(@D)/include/benejson/benejson.h \ - $(STAGING_DIR)/usr/include/benejson/benejson.h; \ - $(INSTALL) -D -m 0644 $(@D)/include/benejson/pull.hh \ - $(STAGING_DIR)/usr/include/benejson/pull.hh - $(call BENEJSON_INSTALL_STATIC_LIB,$(STAGING_DIR)) - $(call BENEJSON_INSTALL_SHARED_LIB,$(STAGING_DIR)) -endef - -define BENEJSON_INSTALL_TARGET_CMDS - $(call BENEJSON_INSTALL_SHARED_LIB,$(TARGET_DIR)) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/bind/Config.in b/buildroot-2021.05/package/bind/Config.in deleted file mode 100644 index db10ceb3..00000000 --- a/buildroot-2021.05/package/bind/Config.in +++ /dev/null @@ -1,39 +0,0 @@ -config BR2_PACKAGE_BIND - bool "bind" - depends on BR2_USE_MMU # fork() - help - BIND (Berkeley Internet Name Domain) is an - implementation of the Domain Name System (DNS) protocols - and provides an openly redistributable reference - implementation of the major components of the Domain - Name System, including: - - * a Domain Name System server (named) - * a Domain Name System resolver library - * tools for verifying the proper operation of the DNS - server - - The BIND DNS Server is used on the vast majority of name - serving machines on the Internet, providing a robust and - stable architecture on top of which an organization's naming - architecture can be built. The resolver library included in - the BIND distribution provides the standard APIs for - translation between domain names and Internet addresses and is - intended to be linked with applications requiring name - service. - - https://www.isc.org/bind/ - -if BR2_PACKAGE_BIND - -config BR2_PACKAGE_BIND_SERVER - bool "Install server components" - help - Install server components (named, lwresd) - -config BR2_PACKAGE_BIND_TOOLS - bool "Install tools" - help - Install tools (dig, host, nslookup, nsupdate) - -endif diff --git a/buildroot-2021.05/package/bind/bind.hash b/buildroot-2021.05/package/bind/bind.hash deleted file mode 100644 index 9311d82d..00000000 --- a/buildroot-2021.05/package/bind/bind.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Verified from https://ftp.isc.org/isc/bind9/9.11.31/bind-9.11.31.tar.gz.asc -# with key 2455774D42FDFE6B9C383EB8FE1002BC5970811F -sha256 f5f24457f42b2e86870d887596e47500e4d40521a098dcb96f3a06f18adfa36a bind-9.11.31.tar.gz -sha256 cad49daa42654bc241762cd998630168a2542c8fd6fad3881e2eac1510bb6fcd COPYRIGHT diff --git a/buildroot-2021.05/package/bind/bind.mk b/buildroot-2021.05/package/bind/bind.mk deleted file mode 100644 index d01a5576..00000000 --- a/buildroot-2021.05/package/bind/bind.mk +++ /dev/null @@ -1,133 +0,0 @@ -################################################################################ -# -# bind -# -################################################################################ - -BIND_VERSION = 9.11.31 -BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION) -# bind does not support parallel builds. -BIND_MAKE = $(MAKE1) -BIND_INSTALL_STAGING = YES -BIND_CONFIG_SCRIPTS = bind9-config isc-config.sh -BIND_LICENSE = MPL-2.0 -BIND_LICENSE_FILES = COPYRIGHT -BIND_CPE_ID_VENDOR = isc -# Only applies to RHEL6.x with DNSSEC validation on -BIND_IGNORE_CVES = CVE-2017-3139 -# Library CVE and not used by bind but used by ISC DHCP -BIND_IGNORE_CVES += CVE-2019-6470 -BIND_TARGET_SERVER_SBIN = arpaname ddns-confgen dnssec-checkds dnssec-coverage -BIND_TARGET_SERVER_SBIN += dnssec-importkey dnssec-keygen dnssec-revoke -BIND_TARGET_SERVER_SBIN += dnssec-settime dnssec-verify genrandom -BIND_TARGET_SERVER_SBIN += isc-hmac-fixup named-journalprint nsec3hash -BIND_TARGET_SERVER_SBIN += lwresd named named-checkconf named-checkzone -BIND_TARGET_SERVER_SBIN += named-compilezone rndc rndc-confgen dnssec-dsfromkey -BIND_TARGET_SERVER_SBIN += dnssec-keyfromlabel dnssec-signzone tsig-keygen -BIND_TARGET_TOOLS_BIN = dig host nslookup nsupdate -BIND_CONF_ENV = \ - BUILD_CC="$(TARGET_CC)" \ - BUILD_CFLAGS="$(TARGET_CFLAGS)" -BIND_CONF_OPTS = \ - $(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-threads,--disable-threads) \ - --without-lmdb \ - --with-libjson=no \ - --with-randomdev=/dev/urandom \ - --enable-epoll \ - --with-gssapi=no \ - --enable-filter-aaaa \ - --disable-backtrace - -ifeq ($(BR2_PACKAGE_ZLIB),y) -BIND_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr -BIND_DEPENDENCIES += zlib -else -BIND_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -BIND_CONF_OPTS += --enable-linux-caps -BIND_DEPENDENCIES += libcap -else -BIND_CONF_OPTS += --disable-linux-caps -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -BIND_CONF_OPTS += --with-libxml2=$(STAGING_DIR)/usr -BIND_DEPENDENCIES += libxml2 -else -BIND_CONF_OPTS += --with-libxml2=no -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -BIND_DEPENDENCIES += host-pkgconf openssl -BIND_CONF_OPTS += \ - --with-openssl=$(STAGING_DIR)/usr \ - --with-ecdsa=yes \ - --with-eddsa=no \ - --with-aes=yes -BIND_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -# GOST cipher support requires openssl extra engines -ifeq ($(BR2_PACKAGE_OPENSSL_ENGINES),y) -BIND_CONF_OPTS += --with-gost=yes -else -BIND_CONF_OPTS += --with-gost=no -endif -else -BIND_CONF_OPTS += --with-openssl=no -endif - -# Used by dnssec-keymgr -ifeq ($(BR2_PACKAGE_PYTHON_PLY),y) -BIND_DEPENDENCIES += host-python-ply -BIND_CONF_OPTS += --with-python=$(HOST_DIR)/usr/bin/python -else -BIND_CONF_OPTS += --with-python=no -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -BIND_DEPENDENCIES += readline -else -BIND_CONF_OPTS += --with-readline=no -endif - -ifeq ($(BR2_STATIC_LIBS),y) -BIND_CONF_OPTS += \ - --without-dlopen \ - --without-libtool -else -BIND_CONF_OPTS += \ - --with-dlopen \ - --with-libtool -endif - -define BIND_TARGET_REMOVE_SERVER - rm -rf $(addprefix $(TARGET_DIR)/usr/sbin/, $(BIND_TARGET_SERVER_SBIN)) -endef - -define BIND_TARGET_REMOVE_TOOLS - rm -rf $(addprefix $(TARGET_DIR)/usr/bin/, $(BIND_TARGET_TOOLS_BIN)) -endef - -ifeq ($(BR2_PACKAGE_BIND_SERVER),y) -define BIND_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D $(BIND_PKGDIR)/S81named \ - $(TARGET_DIR)/etc/init.d/S81named -endef -define BIND_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(BIND_PKGDIR)/named.service \ - $(TARGET_DIR)/usr/lib/systemd/system/named.service -endef -else -BIND_POST_INSTALL_TARGET_HOOKS += BIND_TARGET_REMOVE_SERVER -endif - -ifeq ($(BR2_PACKAGE_BIND_TOOLS),) -BIND_POST_INSTALL_TARGET_HOOKS += BIND_TARGET_REMOVE_TOOLS -endif - -define BIND_USERS - named -1 named -1 * /etc/bind - - BIND daemon -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/binutils/2.34/0001-sh-conf.patch b/buildroot-2021.05/package/binutils/2.34/0001-sh-conf.patch deleted file mode 100644 index 6f873691..00000000 --- a/buildroot-2021.05/package/binutils/2.34/0001-sh-conf.patch +++ /dev/null @@ -1,48 +0,0 @@ -From a4292f2852027008714c5ccdbab77af0b36f3928 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:38:13 +0100 -Subject: [PATCH] sh-conf - -Likewise, binutils has no idea about any of these new targets either, so we -fix that up too.. now we're able to actually build a real toolchain for -sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more -inept targets than that one, really. Go look, I promise). - -[Romain: rebase on top of 2.32] -Signed-off-by: Romain Naour -[Thomas: rebase on top of 2.29, in which sh64 support was removed.] -Signed-off-by: Thomas Petazzoni ---- - configure | 2 +- - configure.ac | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 91dc42f6c7..92f70a4ce6 100755 ---- a/configure -+++ b/configure -@@ -3915,7 +3915,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; -diff --git a/configure.ac b/configure.ac -index 4bd869a63a..139e0aa6ab 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1159,7 +1159,7 @@ case "${target}" in - nvptx*-*-*) - noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" - ;; -- sh-*-*) -+ sh*-*-*) - case "${target}" in - sh*-*-elf) - ;; --- -2.24.1 - diff --git a/buildroot-2021.05/package/binutils/2.34/0002-poison-system-directories.patch b/buildroot-2021.05/package/binutils/2.34/0002-poison-system-directories.patch deleted file mode 100644 index fc0c6984..00000000 --- a/buildroot-2021.05/package/binutils/2.34/0002-poison-system-directories.patch +++ /dev/null @@ -1,306 +0,0 @@ -From 9952aec22006cfd0e1f5dd0106523e2b93ad20a8 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 25 Dec 2015 11:45:38 +0100 -Subject: [PATCH] poison-system-directories - -Patch adapted to binutils 2.23.2 and extended to use -BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. - -[Romain: rebase on top of 2.33.1] -Signed-off-by: Romain Naour -[Gustavo: adapt to binutils 2.25] -Signed-off-by: Thomas Petazzoni -Signed-off-by: Gustavo Zacarias - -Upstream-Status: Inappropriate [distribution: codesourcery] - -Patch originally created by Mark Hatle, forward-ported to -binutils 2.21 by Scott Garman. - -purpose: warn for uses of system directories when cross linking - -Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 - -2008-07-02 Joseph Myers - - ld/ - * ld.h (args_type): Add error_poison_system_directories. - * ld.texinfo (--error-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.error_poison_system_directories. - * ldmain.c (main): Initialize - command_line.error_poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --error-poison-system-directories. - (parse_args): Handle new option. - -2007-06-13 Joseph Myers - - ld/ - * config.in: Regenerate. - * ld.h (args_type): Add poison_system_directories. - * ld.texinfo (--no-poison-system-directories): Document. - * ldfile.c (ldfile_add_library_path): Check - command_line.poison_system_directories. - * ldmain.c (main): Initialize - command_line.poison_system_directories. - * lexsup.c (enum option_values): Add - OPTION_NO_POISON_SYSTEM_DIRECTORIES. - (ld_options): Add --no-poison-system-directories. - (parse_args): Handle new option. - -2007-04-20 Joseph Myers - - Merge from Sourcery G++ binutils 2.17: - - 2007-03-20 Joseph Myers - Based on patch by Mark Hatle . - ld/ - * configure.ac (--enable-poison-system-directories): New option. - * configure, config.in: Regenerate. - * ldfile.c (ldfile_add_library_path): If - ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, - /usr/lib, /usr/local/lib or /usr/X11R6/lib. - -Signed-off-by: Mark Hatle -Signed-off-by: Scott Garman ---- - ld/config.in | 3 +++ - ld/configure | 14 ++++++++++++++ - ld/configure.ac | 10 ++++++++++ - ld/ld.h | 8 ++++++++ - ld/ld.texi | 12 ++++++++++++ - ld/ldfile.c | 17 +++++++++++++++++ - ld/ldlex.h | 2 ++ - ld/ldmain.c | 2 ++ - ld/lexsup.c | 21 +++++++++++++++++++++ - 9 files changed, 89 insertions(+) - -diff --git a/ld/config.in b/ld/config.in -index d93c9b0830..5da2742bea 100644 ---- a/ld/config.in -+++ b/ld/config.in -@@ -31,6 +31,9 @@ - language is requested. */ - #undef ENABLE_NLS - -+/* Define to warn for use of native system library directories */ -+#undef ENABLE_POISON_SYSTEM_DIRECTORIES -+ - /* Additional extension a shared object might have. */ - #undef EXTRA_SHLIB_EXTENSION - -diff --git a/ld/configure b/ld/configure -index d55a6a779f..7e5314d24a 100755 ---- a/ld/configure -+++ b/ld/configure -@@ -826,6 +826,7 @@ with_lib_path - enable_targets - enable_64_bit_bfd - with_sysroot -+enable_poison_system_directories - enable_gold - enable_got - enable_compressed_debug_sections -@@ -1491,6 +1492,8 @@ Optional Features: - --disable-largefile omit support for large files - --enable-targets alternative target configurations - --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) -+ --enable-poison-system-directories -+ warn for use of native system library directories - --enable-gold[=ARG] build gold [ARG={default,yes,no}] - --enable-got= GOT handling scheme (target, single, negative, - multigot) -@@ -15809,7 +15812,18 @@ else - fi - - -+# Check whether --enable-poison-system-directories was given. -+if test "${enable_poison_system_directories+set}" = set; then : -+ enableval=$enable_poison_system_directories; -+else -+ enable_poison_system_directories=no -+fi -+ -+if test "x${enable_poison_system_directories}" = "xyes"; then - -+$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h -+ -+fi - - # Check whether --enable-got was given. - if test "${enable_got+set}" = set; then : -diff --git a/ld/configure.ac b/ld/configure.ac -index b5e849d84a..22e022ec03 100644 ---- a/ld/configure.ac -+++ b/ld/configure.ac -@@ -94,6 +94,16 @@ AC_SUBST(use_sysroot) - AC_SUBST(TARGET_SYSTEM_ROOT) - AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) - -+AC_ARG_ENABLE([poison-system-directories], -+ AS_HELP_STRING([--enable-poison-system-directories], -+ [warn for use of native system library directories]),, -+ [enable_poison_system_directories=no]) -+if test "x${enable_poison_system_directories}" = "xyes"; then -+ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], -+ [1], -+ [Define to warn for use of native system library directories]) -+fi -+ - dnl Use --enable-gold to decide if this linker should be the default. - dnl "install_as_default" is set to false if gold is the default linker. - dnl "installed_linker" is the installed BFD linker name. -diff --git a/ld/ld.h b/ld/ld.h -index 71fd781267..5c7843100b 100644 ---- a/ld/ld.h -+++ b/ld/ld.h -@@ -166,6 +166,14 @@ typedef struct - in the linker script. */ - bfd_boolean force_group_allocation; - -+ /* If TRUE (the default) warn for uses of system directories when -+ cross linking. */ -+ bfd_boolean poison_system_directories; -+ -+ /* If TRUE (default FALSE) give an error for uses of system -+ directories when cross linking instead of a warning. */ -+ bfd_boolean error_poison_system_directories; -+ - /* Big or little endian as set on command line. */ - enum endian_enum endian; - -diff --git a/ld/ld.texi b/ld/ld.texi -index eb7bcb9933..3c73d445a0 100644 ---- a/ld/ld.texi -+++ b/ld/ld.texi -@@ -2551,6 +2551,18 @@ string identifying the original linked file does not change. - - Passing @code{none} for @var{style} disables the setting from any - @code{--build-id} options earlier on the command line. -+ -+@kindex --no-poison-system-directories -+@item --no-poison-system-directories -+Do not warn for @option{-L} options using system directories such as -+@file{/usr/lib} when cross linking. This option is intended for use -+in chroot environments when such directories contain the correct -+libraries for the target system rather than the host. -+ -+@kindex --error-poison-system-directories -+@item --error-poison-system-directories -+Give an error instead of a warning for @option{-L} options using -+system directories when cross linking. - @end table - - @c man end -diff --git a/ld/ldfile.c b/ld/ldfile.c -index 411f7ddf97..17db16c2cc 100644 ---- a/ld/ldfile.c -+++ b/ld/ldfile.c -@@ -117,6 +117,23 @@ ldfile_add_library_path (const char *name, bfd_boolean cmdline) - new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); - else - new_dirs->name = xstrdup (name); -+ -+#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES -+ if (command_line.poison_system_directories -+ && ((!strncmp (name, "/lib", 4)) -+ || (!strncmp (name, "/usr/lib", 8)) -+ || (!strncmp (name, "/usr/local/lib", 14)) -+ || (!strncmp (name, "/usr/X11R6/lib", 14)))) -+ { -+ if (command_line.error_poison_system_directories) -+ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ else -+ einfo (_("%P: warning: library search path \"%s\" is unsafe for " -+ "cross-compilation\n"), name); -+ } -+#endif -+ - } - - /* Try to open a BFD for a lang_input_statement. */ -diff --git a/ld/ldlex.h b/ld/ldlex.h -index 5287f19a7f..55096e4fc9 100644 ---- a/ld/ldlex.h -+++ b/ld/ldlex.h -@@ -150,6 +150,8 @@ enum option_values - OPTION_FORCE_GROUP_ALLOCATION, - OPTION_PRINT_MAP_DISCARDED, - OPTION_NO_PRINT_MAP_DISCARDED, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, - }; - - /* The initial parser states. */ -diff --git a/ld/ldmain.c b/ld/ldmain.c -index c4af10f4e9..95b56b2d2d 100644 ---- a/ld/ldmain.c -+++ b/ld/ldmain.c -@@ -273,6 +273,8 @@ main (int argc, char **argv) - command_line.warn_mismatch = TRUE; - command_line.warn_search_mismatch = TRUE; - command_line.check_section_addresses = -1; -+ command_line.poison_system_directories = TRUE; -+ command_line.error_poison_system_directories = FALSE; - - /* We initialize DEMANGLING based on the environment variable - COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the -diff --git a/ld/lexsup.c b/ld/lexsup.c -index 3d15cc491d..54f52dc72f 100644 ---- a/ld/lexsup.c -+++ b/ld/lexsup.c -@@ -550,6 +550,14 @@ static const struct ld_option ld_options[] = - { {"no-print-map-discarded", no_argument, NULL, OPTION_NO_PRINT_MAP_DISCARDED}, - '\0', NULL, N_("Do not show discarded sections in map file output"), - TWO_DASHES }, -+ { {"no-poison-system-directories", no_argument, NULL, -+ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Do not warn for -L options using system directories"), -+ TWO_DASHES }, -+ { {"error-poison-system-directories", no_argument, NULL, -+ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, -+ '\0', NULL, N_("Give an error for -L options using system directories"), -+ TWO_DASHES }, - }; - - #define OPTION_COUNT ARRAY_SIZE (ld_options) -@@ -562,6 +570,7 @@ parse_args (unsigned argc, char **argv) - int ingroup = 0; - char *default_dirlist = NULL; - char *shortopts; -+ char *BR_paranoid_env; - struct option *longopts; - struct option *really_longopts; - int last_optind; -@@ -1562,6 +1571,14 @@ parse_args (unsigned argc, char **argv) - } - break; - -+ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: -+ command_line.poison_system_directories = FALSE; -+ break; -+ -+ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: -+ command_line.error_poison_system_directories = TRUE; -+ break; -+ - case OPTION_PUSH_STATE: - input_flags.pushed = xmemdup (&input_flags, - sizeof (input_flags), -@@ -1613,6 +1630,10 @@ parse_args (unsigned argc, char **argv) - command_line.soname = NULL; - } - -+ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); -+ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) -+ command_line.error_poison_system_directories = TRUE; -+ - while (ingroup) - { - einfo (_("%P: missing --end-group; added as last command line option\n")); --- -2.24.1 - diff --git a/buildroot-2021.05/package/binutils/2.34/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/buildroot-2021.05/package/binutils/2.34/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch deleted file mode 100644 index bc0ef2b2..00000000 --- a/buildroot-2021.05/package/binutils/2.34/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 651c3617a04a1d1f78e89623b81be7ba32ff59a5 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:14 +0900 -Subject: [PATCH] or1k: Fix issue with plt link failure for local calls - -When building protobuf we were seeing the assert failure: - - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - /home/giuliobenetti/git/upstream/or1k-binutils-2.36.1/host/lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: - BFD (GNU Binutils) 2.36.1 assertion fail elf32-or1k.c:2377 - collect2: error: ld returned 1 exit status - -This failure happens while writing out PLT entries, there is a check -"BFD_ASSERT (h->dynindx != -1)" to confirm all plt entries have dynamic -symbol attributes. This was failing for symbols that were -"forced_local" in previous linking code. - -The fix adds logic to or1k_elf_adjust_dynamic_symbol to identify -"forced_local" symbols and exclude them from the the PLT. - -bfd/ChangeLog: - - PR 27624 - * elf32-or1k.c (or1k_elf_adjust_dynamic_symbol): Change - condition used to cleanup plt entries to cleanup forced local - entries. - -Cc: Giulio Benetti -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 9 ++++----- - 1 file changed, 4 insertions(+), 5 deletions(-) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 31ef758a926..58246875546 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -2535,11 +2535,10 @@ or1k_elf_adjust_dynamic_symbol (struct bfd_link_info *info, - if (h->type == STT_FUNC - || h->needs_plt) - { -- if (! bfd_link_pic (info) -- && !h->def_dynamic -- && !h->ref_dynamic -- && h->root.type != bfd_link_hash_undefweak -- && h->root.type != bfd_link_hash_undefined) -+ if (h->plt.refcount <= 0 -+ || (SYMBOL_CALLS_LOCAL (info, h) -+ || (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT -+ && h->root.type == bfd_link_hash_undefweak))) - { - /* This case can occur if we saw a PLT reloc in an input - file, but the symbol was never referred to by a dynamic --- -2.25.1 - diff --git a/buildroot-2021.05/package/binutils/2.34/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/buildroot-2021.05/package/binutils/2.34/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch deleted file mode 100644 index 5edef90e..00000000 --- a/buildroot-2021.05/package/binutils/2.34/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch +++ /dev/null @@ -1,256 +0,0 @@ -From 5fb945116ba058eb8f032f94ab2e0c71024388ec Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:15 +0900 -Subject: [PATCH] or1k: Implement relocation R_OR1K_GOT_AHI16 for gotha() - -The gotha() relocation mnemonic will be outputted by OpenRISC GCC when -using the -mcmodel=large option. This relocation is used along with -got() to generate 32-bit GOT offsets. This increases the previous GOT -offset limit from the previous 16-bit (64K) limit. - -This is needed on large binaries where the GOT grows larger than 64k. - -bfd/ChangeLog: - - PR 21464 - * bfd-in2.h: Add BFD_RELOC_OR1K_GOT_AHI16 relocation. - * elf32-or1k.c (or1k_elf_howto_table, or1k_reloc_map): Likewise. - (or1k_final_link_relocate, or1k_elf_relocate_section, - or1k_elf_check_relocs): Likewise. - * libbfd.h (bfd_reloc_code_real_names): Likewise. - * reloc.c: Likewise. - -cpu/ChangeLog: - - PR 21464 - * or1k.opc (or1k_imm16_relocs, parse_reloc): Define parse logic - for gotha() relocation. - -include/ChangeLog: - - PR 21464 - * elf/or1k.h (elf_or1k_reloc_type): Define R_OR1K_GOT_AHI16 number. - -opcodes/ChangeLog: - - PR 21464 - * or1k-asm.c: Regenerate. - -gas/ChangeLog: - - PR 21464 - * testsuite/gas/or1k/reloc-1.s: Add test for new relocation. - * testsuite/gas/or1k/reloc-1.d: Add test result for new - relocation. - -Cc: Giulio Benetti - -fixup reloc, add tests - -Signed-off-by: Giulio Benetti ---- - bfd/bfd-in2.h | 1 + - bfd/elf32-or1k.c | 21 ++++++++++++++++++++- - bfd/libbfd.h | 1 + - bfd/reloc.c | 2 ++ - cpu/or1k.opc | 7 ++++++- - gas/testsuite/gas/or1k/reloc-1.d | 4 +++- - gas/testsuite/gas/or1k/reloc-1.s | 4 ++++ - include/elf/or1k.h | 1 + - opcodes/or1k-asm.c | 7 ++++++- - 9 files changed, 44 insertions(+), 4 deletions(-) - -diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h -index 7c13bc8c91a..ae1082a67c2 100644 ---- a/bfd/bfd-in2.h -+++ b/bfd/bfd-in2.h -@@ -5017,6 +5017,7 @@ then it may be truncated to 8 bits. */ - BFD_RELOC_OR1K_TLS_TPOFF, - BFD_RELOC_OR1K_TLS_DTPOFF, - BFD_RELOC_OR1K_TLS_DTPMOD, -+ BFD_RELOC_OR1K_GOT_AHI16, - - /* H8 elf Relocations. */ - BFD_RELOC_H8_DIR16A8, -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 58246875546..1273fbacb3c 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -808,6 +808,20 @@ static reloc_howto_type or1k_elf_howto_table[] = - 0, /* Source Mask. */ - 0x03ffffff, /* Dest Mask. */ - TRUE), /* PC relative offset? */ -+ -+ HOWTO (R_OR1K_GOT_AHI16, /* type */ -+ 16, /* rightshift */ -+ 2, /* size (0 = byte, 1 = short, 2 = long) */ -+ 16, /* bitsize */ -+ FALSE, /* pc_relative */ -+ 0, /* bitpos */ -+ complain_overflow_signed, /* complain_on_overflow */ -+ bfd_elf_generic_reloc, /* special_function */ -+ "R_OR1K_GOT_AHI16", /* name */ -+ FALSE, /* partial_inplace */ -+ 0, /* src_mask */ -+ 0xffff, /* dst_mask */ -+ FALSE), /* pcrel_offset */ - }; - - /* Map BFD reloc types to Or1k ELF reloc types. */ -@@ -871,6 +885,7 @@ static const struct or1k_reloc_map or1k_reloc_map[] = - { BFD_RELOC_OR1K_TLS_IE_LO13, R_OR1K_TLS_IE_LO13 }, - { BFD_RELOC_OR1K_SLO13, R_OR1K_SLO13 }, - { BFD_RELOC_OR1K_PLTA26, R_OR1K_PLTA26 }, -+ { BFD_RELOC_OR1K_GOT_AHI16, R_OR1K_GOT_AHI16 }, - }; - - #define TLS_UNKNOWN 0 -@@ -1080,6 +1095,7 @@ or1k_final_link_relocate (reloc_howto_type *howto, bfd *input_bfd, - switch (howto->type) - { - case R_OR1K_AHI16: -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOTOFF_AHI16: - case R_OR1K_TLS_IE_AHI16: - case R_OR1K_TLS_LE_AHI16: -@@ -1344,6 +1360,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -@@ -1435,7 +1452,8 @@ or1k_elf_relocate_section (bfd *output_bfd, - /* The GOT_PG21 and GOT_LO13 relocs are pc-relative, - while the GOT16 reloc is GOT relative. */ - relocation = got_base + off; -- if (r_type == R_OR1K_GOT16) -+ if (r_type == R_OR1K_GOT16 -+ || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - - /* Addend should be zero. */ -@@ -1943,6 +1961,7 @@ or1k_elf_check_relocs (bfd *abfd, - } - break; - -+ case R_OR1K_GOT_AHI16: - case R_OR1K_GOT16: - case R_OR1K_GOT_PG21: - case R_OR1K_GOT_LO13: -diff --git a/bfd/libbfd.h b/bfd/libbfd.h -index d97d4e57a77..9edc71e0558 100644 ---- a/bfd/libbfd.h -+++ b/bfd/libbfd.h -@@ -2704,6 +2704,7 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", - "BFD_RELOC_OR1K_TLS_TPOFF", - "BFD_RELOC_OR1K_TLS_DTPOFF", - "BFD_RELOC_OR1K_TLS_DTPMOD", -+ "BFD_RELOC_OR1K_GOT_AHI16", - "BFD_RELOC_H8_DIR16A8", - "BFD_RELOC_H8_DIR16R8", - "BFD_RELOC_H8_DIR24A8", -diff --git a/bfd/reloc.c b/bfd/reloc.c -index 33cd67150cf..f57ad14a501 100644 ---- a/bfd/reloc.c -+++ b/bfd/reloc.c -@@ -6175,6 +6175,8 @@ ENUMX - BFD_RELOC_OR1K_GOTPC_HI16 - ENUMX - BFD_RELOC_OR1K_GOTPC_LO16 -+ENUMX -+ BFD_RELOC_OR1K_GOT_AHI16 - ENUMX - BFD_RELOC_OR1K_GOT16 - ENUMX -diff --git a/cpu/or1k.opc b/cpu/or1k.opc -index f0adcbb00a5..5d20a1f33a7 100644 ---- a/cpu/or1k.opc -+++ b/cpu/or1k.opc -@@ -193,7 +193,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -296,6 +296,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { -diff --git a/gas/testsuite/gas/or1k/reloc-1.d b/gas/testsuite/gas/or1k/reloc-1.d -index d1bcf5608bb..3a001c4ed99 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.d -+++ b/gas/testsuite/gas/or1k/reloc-1.d -@@ -68,5 +68,7 @@ OFFSET TYPE VALUE - 000000ec R_OR1K_LO13 x - 000000f0 R_OR1K_GOT_LO13 x - 000000f4 R_OR1K_SLO13 x -- -+000000f8 R_OR1K_GOT_AHI16 x -+000000fc R_OR1K_GOT_AHI16 x -+00000100 R_OR1K_GOT_AHI16 x - -diff --git a/gas/testsuite/gas/or1k/reloc-1.s b/gas/testsuite/gas/or1k/reloc-1.s -index e76abef6532..562609aa869 100644 ---- a/gas/testsuite/gas/or1k/reloc-1.s -+++ b/gas/testsuite/gas/or1k/reloc-1.s -@@ -74,3 +74,7 @@ - l.lbz r5,po(x)(r3) - l.lbz r5,gotpo(x)(r3) - l.sb po(x)(r3),r6 -+ -+ l.movhi r4,gotha(x) -+ l.ori r3,r4,gotha(x) -+ l.addi r3,r4,gotha(x) -diff --git a/include/elf/or1k.h b/include/elf/or1k.h -index a215ef5c17e..dff37d875f2 100644 ---- a/include/elf/or1k.h -+++ b/include/elf/or1k.h -@@ -77,6 +77,7 @@ START_RELOC_NUMBERS (elf_or1k_reloc_type) - RELOC_NUMBER (R_OR1K_TLS_IE_LO13, 51) - RELOC_NUMBER (R_OR1K_SLO13, 52) - RELOC_NUMBER (R_OR1K_PLTA26, 53) -+ RELOC_NUMBER (R_OR1K_GOT_AHI16, 54) - END_RELOC_NUMBERS (R_OR1K_max) - - #define EF_OR1K_NODELAY (1UL << 0) -diff --git a/opcodes/or1k-asm.c b/opcodes/or1k-asm.c -index 4715c4f2826..a72a4e85363 100644 ---- a/opcodes/or1k-asm.c -+++ b/opcodes/or1k-asm.c -@@ -177,7 +177,7 @@ static const bfd_reloc_code_real_type or1k_imm16_relocs[][6] = { - BFD_RELOC_OR1K_GOT_LO13, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -- BFD_RELOC_UNUSED }, -+ BFD_RELOC_OR1K_GOT_AHI16 }, - { BFD_RELOC_OR1K_GOTPC_LO16, - BFD_RELOC_UNUSED, - BFD_RELOC_UNUSED, -@@ -280,6 +280,11 @@ parse_reloc (const char **strp) - str += 5; - cls = RCLASS_TPOFF; - } -+ else if (strncasecmp (str, "got", 3) == 0) -+ { -+ str += 3; -+ cls = RCLASS_GOT; -+ } - - if (strncasecmp (str, "hi(", 3) == 0) - { --- -2.25.1 - diff --git a/buildroot-2021.05/package/binutils/2.34/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/buildroot-2021.05/package/binutils/2.34/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch deleted file mode 100644 index e292c9cb..00000000 --- a/buildroot-2021.05/package/binutils/2.34/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch +++ /dev/null @@ -1,61 +0,0 @@ -From d92116c7df340ff40063c5c97d202e7e87400027 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:16 +0900 -Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 overflow failures in presence of - R_OR1K_GOT_AHI16 - -Now that we support R_OR1K_GOT_AHI16 we can relax the R_OR1K_GOT16 -overflow validation check if the section has R_OR1K_GOT_AHI16. - -We cannot simple disable R_OR1K_GOT16 overflow validation as there will -still be binaries that will have only R_OR1K_GOT16. The -R_OR1K_GOT_AHI16 relocation will only be added by GCC when building with -the option -mcmodel=large. - -This assumes that R_OR1K_GOT_AHI16 will come before R_OR1K_GOT16, which -is the code pattern that will be emitted by GCC. - -bfd/ChangeLog: - - PR 21464 - * elf32-or1k.c (or1k_elf_relocate_section): Relax R_OR1K_GOT16 - overflow check if we have R_OR1K_GOT_AHI16 followed by - R_OR1K_GOT16. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index 1273fbacb3c..ce2c4fdb3bd 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -1248,6 +1248,7 @@ or1k_elf_relocate_section (bfd *output_bfd, - asection *sgot, *splt; - bfd_vma plt_base, got_base, got_sym_value; - bfd_boolean ret_val = TRUE; -+ bfd_boolean saw_gotha = FALSE; - - if (htab == NULL) - return FALSE; -@@ -1456,6 +1457,16 @@ or1k_elf_relocate_section (bfd *output_bfd, - || r_type == R_OR1K_GOT_AHI16) - relocation -= got_sym_value; - -+ if (r_type == R_OR1K_GOT_AHI16) -+ saw_gotha = TRUE; -+ -+ /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 -+ relocation we assume the code is doing the right thing to avoid -+ overflows. Here we mask the lower 16-bit of the relocation to -+ avoid overflow validation failures. */ -+ if (r_type == R_OR1K_GOT16 && saw_gotha) -+ relocation &= 0xffff; -+ - /* Addend should be zero. */ - if (rel->r_addend != 0) - { --- -2.25.1 - diff --git a/buildroot-2021.05/package/binutils/2.34/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/buildroot-2021.05/package/binutils/2.34/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch deleted file mode 100644 index d6695d41..00000000 --- a/buildroot-2021.05/package/binutils/2.34/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch +++ /dev/null @@ -1,500 +0,0 @@ -From cba29e387040eaa401c52eb20e7cab5a4401185c Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:02:17 +0900 -Subject: [PATCH] or1k: Support large plt_relocs when generating plt - entries - -The current PLT generation code will generate invalid code when the PLT -relocation offset exceeds 64k. This fixes the issue by detecting large -plt_reloc offsets and generare code sequences to create larger plt -relocations. - -The "large" plt code needs 2 extra instructions to create 32-bit offsets. - -bfd/ChangeLog: - - PR 27746 - * elf32-or1k.c (PLT_ENTRY_SIZE_LARGE, PLT_MAX_INSN_COUNT, - OR1K_ADD, OR1K_ORI): New macros to help with plt creation. - (elf_or1k_link_hash_table): New field plt_count. - (elf_or1k_link_hash_entry): New field plt_index. - (elf_or1k_plt_entry_size): New function. - (or1k_write_plt_entry): Update to support variable size PLTs. - (or1k_elf_finish_dynamic_sections): Use new or1k_write_plt_entry - API. - (or1k_elf_finish_dynamic_symbol): Update to write large PLTs - when needed. - (allocate_dynrelocs): Use elf_or1k_plt_entry_size to account for - PLT size. - -ld/ChangeLog: - - PR 27746 - testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking - along with gotha() relocations. - testsuite/ld-or1k/gotha1.dd: New file. - testsuite/ld-or1k/gotha1.s: New file. - testsuite/ld-or1k/gotha2.dd: New file. - testsuite/ld-or1k/gotha2.s: New file - testsuite/ld-or1k/pltlib.s (x): Define size to avoid link - failure. - -Signed-off-by: Giulio Benetti ---- - bfd/elf32-or1k.c | 149 ++++++++++++++++++++++++--------- - ld/testsuite/ld-or1k/gotha1.dd | 34 ++++++++ - ld/testsuite/ld-or1k/gotha1.s | 24 ++++++ - ld/testsuite/ld-or1k/gotha2.dd | 21 +++++ - ld/testsuite/ld-or1k/gotha2.s | 22 +++++ - ld/testsuite/ld-or1k/or1k.exp | 8 ++ - ld/testsuite/ld-or1k/pltlib.s | 1 + - 7 files changed, 220 insertions(+), 39 deletions(-) - create mode 100644 ld/testsuite/ld-or1k/gotha1.dd - create mode 100644 ld/testsuite/ld-or1k/gotha1.s - create mode 100644 ld/testsuite/ld-or1k/gotha2.dd - create mode 100644 ld/testsuite/ld-or1k/gotha2.s - -diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c -index ce2c4fdb3bd..8b021b79d92 100644 ---- a/bfd/elf32-or1k.c -+++ b/bfd/elf32-or1k.c -@@ -30,10 +30,14 @@ - #define N_ONES(X) (((bfd_vma)2 << (X)) - 1) - - #define PLT_ENTRY_SIZE 16 -+#define PLT_ENTRY_SIZE_LARGE (6*4) -+#define PLT_MAX_INSN_COUNT 6 - - #define OR1K_MOVHI(D) (0x18000000 | (D << 21)) - #define OR1K_ADRP(D) (0x08000000 | (D << 21)) - #define OR1K_LWZ(D,A) (0x84000000 | (D << 21) | (A << 16)) -+#define OR1K_ADD(D,A,B) (0xE0000000 | (D << 21) | (A << 16) | (B << 11)) -+#define OR1K_ORI(D,A) (0xA8000000 | (D << 21) | (A << 16)) - #define OR1K_ORI0(D) (0xA8000000 | (D << 21)) - #define OR1K_JR(B) (0x44000000 | (B << 11)) - #define OR1K_NOP 0x15000000 -@@ -903,6 +907,8 @@ struct elf_or1k_link_hash_entry - /* Track dynamic relocs copied for this symbol. */ - struct elf_dyn_relocs *dyn_relocs; - -+ /* For calculating PLT size. */ -+ bfd_vma plt_index; - /* Track type of TLS access. */ - unsigned char tls_type; - }; -@@ -930,9 +936,20 @@ struct elf_or1k_link_hash_table - /* Small local sym to section mapping cache. */ - struct sym_cache sym_sec; - -+ bfd_vma plt_count; - bfd_boolean saw_plta; - }; - -+static size_t -+elf_or1k_plt_entry_size (bfd_vma plt_index) -+{ -+ bfd_vma plt_reloc; -+ -+ plt_reloc = plt_index * sizeof (Elf32_External_Rela); -+ -+ return (plt_reloc > 0xffff) ? PLT_ENTRY_SIZE_LARGE : PLT_ENTRY_SIZE; -+} -+ - /* Get the ELF linker hash table from a link_info structure. */ - #define or1k_elf_hash_table(p) \ - (elf_hash_table_id ((struct elf_link_hash_table *) ((p)->hash)) \ -@@ -2173,33 +2190,46 @@ or1k_elf_check_relocs (bfd *abfd, - } - - static void --or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insn1, -- unsigned insn2, unsigned insn3, unsigned insnj) -+or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, -+ unsigned insns[], size_t insn_count) - { - unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; -- unsigned insn4; -+ unsigned output_insns[PLT_MAX_INSN_COUNT]; -+ -+ /* Copy instructions into the output buffer. */ -+ for (size_t i = 0; i < insn_count; i++) -+ output_insns[i] = insns[i]; - - /* Honor the no-delay-slot setting. */ -- if (insn3 == OR1K_NOP) -+ if (insns[insn_count-1] == OR1K_NOP) - { -- insn4 = insn3; -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn3 = insnj; -+ slot1 = insns[insn_count-2], slot2 = insnj; - else -- insn3 = insn2, insn2 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-2]; -+ -+ output_insns[insn_count-2] = slot1; -+ output_insns[insn_count-1] = slot2; -+ output_insns[insn_count] = OR1K_NOP; - } - else - { -+ unsigned slot1, slot2; -+ - if (nodelay) -- insn4 = insnj; -+ slot1 = insns[insn_count-1], slot2 = insnj; - else -- insn4 = insn3, insn3 = insnj; -+ slot1 = insnj, slot2 = insns[insn_count-1]; -+ -+ output_insns[insn_count-1] = slot1; -+ output_insns[insn_count] = slot2; - } - -- bfd_put_32 (output_bfd, insn1, contents); -- bfd_put_32 (output_bfd, insn2, contents + 4); -- bfd_put_32 (output_bfd, insn3, contents + 8); -- bfd_put_32 (output_bfd, insn4, contents + 12); -+ /* Write out the output buffer. */ -+ for (size_t i = 0; i < (insn_count+1); i++) -+ bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); - } - - /* Finish up the dynamic sections. */ -@@ -2266,7 +2296,8 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - splt = htab->root.splt; - if (splt && splt->size > 0) - { -- unsigned plt0, plt1, plt2; -+ unsigned plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - bfd_vma got_addr = sgot->output_section->vma + sgot->output_offset; - - /* Note we force 16 byte alignment on the .got, so that -@@ -2277,27 +2308,27 @@ or1k_elf_finish_dynamic_sections (bfd *output_bfd, - bfd_vma pc = splt->output_section->vma + splt->output_offset; - unsigned pa = ((got_addr >> 13) - (pc >> 13)) & 0x1fffff; - unsigned po = got_addr & 0x1fff; -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(15,12) | (po + 8); -- plt2 = OR1K_LWZ(12,12) | (po + 4); -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(15,12) | (po + 8); -+ plt[2] = OR1K_LWZ(12,12) | (po + 4); - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -- plt1 = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -- plt2 = OR1K_NOP; -+ plt[0] = OR1K_LWZ(15, 16) | 8; /* .got+8 */ -+ plt[1] = OR1K_LWZ(12, 16) | 4; /* .got+4 */ -+ plt[2] = OR1K_NOP; - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(15,12) | (lo + 8); -- plt2 = OR1K_LWZ(12,12) | (lo + 4); -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(15,12) | (lo + 8); -+ plt[2] = OR1K_LWZ(12,12) | (lo + 4); - } - -- or1k_write_plt_entry (output_bfd, splt->contents, -- plt0, plt1, plt2, OR1K_JR(15)); -+ or1k_write_plt_entry (output_bfd, splt->contents, OR1K_JR(15), -+ plt, plt_insn_count); - - elf_section_data (splt->output_section)->this_hdr.sh_entsize = 4; - } -@@ -2340,7 +2371,8 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - - if (h->plt.offset != (bfd_vma) -1) - { -- unsigned int plt0, plt1, plt2; -+ unsigned int plt[PLT_MAX_INSN_COUNT]; -+ size_t plt_insn_count = 3; - asection *splt; - asection *sgot; - asection *srela; -@@ -2352,6 +2384,7 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - bfd_vma got_offset; - bfd_vma got_addr; - Elf_Internal_Rela rela; -+ bfd_boolean large_plt_entry; - - /* This symbol has an entry in the procedure linkage table. Set - it up. */ -@@ -2369,10 +2402,13 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - corresponds to this symbol. This is the index of this symbol - in all the symbols for which we are making plt entries. The - first entry in the procedure linkage table is reserved. */ -- plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; -+ plt_index = ((struct elf_or1k_link_hash_entry *) h)->plt_index; - plt_addr = plt_base_addr + h->plt.offset; - plt_reloc = plt_index * sizeof (Elf32_External_Rela); - -+ large_plt_entry = (elf_or1k_plt_entry_size (plt_index) -+ == PLT_ENTRY_SIZE_LARGE); -+ - /* Get the offset into the .got table of the entry that - corresponds to this function. Each .got entry is 4 bytes. - The first three are reserved. */ -@@ -2384,27 +2420,57 @@ or1k_elf_finish_dynamic_symbol (bfd *output_bfd, - { - unsigned pa = ((got_addr >> 13) - (plt_addr >> 13)) & 0x1fffff; - unsigned po = (got_addr & 0x1fff); -- plt0 = OR1K_ADRP(12) | pa; -- plt1 = OR1K_LWZ(12,12) | po; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_ADRP(12) | pa; -+ plt[1] = OR1K_LWZ(12,12) | po; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; - } - else if (bfd_link_pic (info)) - { -- plt0 = OR1K_LWZ(12,16) | got_offset; -- plt1 = OR1K_ORI0(11) | plt_reloc; -- plt2 = OR1K_NOP; -+ if (large_plt_entry) -+ { -+ unsigned gotha = ((got_offset + 0x8000) >> 16) & 0xffff; -+ unsigned got = got_offset & 0xffff; -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[0] = OR1K_MOVHI(12) | gotha; -+ plt[1] = OR1K_ADD(12,12,16); -+ plt[2] = OR1K_LWZ(12,12) | got; -+ plt[3] = OR1K_MOVHI(11) | pltrelhi; -+ plt[4] = OR1K_ORI(11,11) | pltrello; -+ plt_insn_count = 5; -+ } -+ else -+ { -+ plt[0] = OR1K_LWZ(12,16) | got_offset; -+ plt[1] = OR1K_ORI0(11) | plt_reloc; -+ plt[2] = OR1K_NOP; -+ } - } - else - { - unsigned ha = ((got_addr + 0x8000) >> 16) & 0xffff; - unsigned lo = got_addr & 0xffff; -- plt0 = OR1K_MOVHI(12) | ha; -- plt1 = OR1K_LWZ(12,12) | lo; -- plt2 = OR1K_ORI0(11) | plt_reloc; -+ plt[0] = OR1K_MOVHI(12) | ha; -+ plt[1] = OR1K_LWZ(12,12) | lo; -+ plt[2] = OR1K_ORI0(11) | plt_reloc; -+ } -+ -+ /* For large code model we fixup the non-PIC PLT relocation instructions -+ here. */ -+ if (large_plt_entry && !bfd_link_pic (info)) -+ { -+ unsigned pltrelhi = (plt_reloc >> 16) & 0xffff; -+ unsigned pltrello = plt_reloc & 0xffff; -+ -+ plt[2] = OR1K_MOVHI(11) | pltrelhi; -+ plt[3] = OR1K_ORI(11,11) | pltrello; -+ plt[4] = OR1K_NOP; -+ plt_insn_count = 5; - } - - or1k_write_plt_entry (output_bfd, splt->contents + h->plt.offset, -- plt0, plt1, plt2, OR1K_JR(12)); -+ OR1K_JR(12), plt, plt_insn_count); - - /* Fill in the entry in the global offset table. We initialize it to - point to the top of the plt. This is done to lazy lookup the actual -@@ -2699,11 +2765,16 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - if (WILL_CALL_FINISH_DYNAMIC_SYMBOL (1, bfd_link_pic (info), h)) - { - asection *s = htab->root.splt; -+ bfd_vma plt_index; -+ -+ /* Track the index of our plt entry for use in calculating size. */ -+ plt_index = htab->plt_count++; -+ ((struct elf_or1k_link_hash_entry *) h)->plt_index = plt_index; - - /* If this is the first .plt entry, make room for the special - first entry. */ - if (s->size == 0) -- s->size = PLT_ENTRY_SIZE; -+ s->size = elf_or1k_plt_entry_size (plt_index); - - h->plt.offset = s->size; - -@@ -2720,7 +2791,7 @@ allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf) - } - - /* Make room for this entry. */ -- s->size += PLT_ENTRY_SIZE; -+ s->size += elf_or1k_plt_entry_size (plt_index); - - /* We also need to make an entry in the .got.plt section, which - will be placed in the .got section by the linker script. */ -diff --git a/ld/testsuite/ld-or1k/gotha1.dd b/ld/testsuite/ld-or1k/gotha1.dd -new file mode 100644 -index 00000000000..0ad1f8f5399 ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.dd -@@ -0,0 +1,34 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.plt: -+ -+[0-9a-f]+ <\.plt>: -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 ec [0-9a-f]+ [0-9a-f]+ l\.lwz r15,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 78 00 l\.jr r15 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 19 80 00 00 l\.movhi r12,0x0 -+ +[0-9a-f]+: 85 8c [0-9a-f]+ [0-9a-f]+ l\.lwz r12,[0-9]+\(r12\) -+ +[0-9a-f]+: 44 00 60 00 l\.jr r12 -+ +[0-9a-f]+: a9 60 00 00 l\.ori r11,r0,0x0 -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ <_start>: -+ +[0-9a-f]+: 9c 21 ff fc l\.addi r1,r1,-4 -+ +[0-9a-f]+: d4 01 48 00 l\.sw 0\(r1\),r9 -+ +[0-9a-f]+: 04 00 00 02 l\.jal [0-9a-f]+ <_start\+0x10> -+ +[0-9a-f]+: 1a 60 00 00 l\.movhi r19,0x0 -+ +[0-9a-f]+: aa 73 [0-9a-f]+ [0-9a-f]+ l\.ori r19,r19,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 73 48 00 l\.add r19,r19,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 98 00 l\.add r17,r17,r19 -+ +[0-9a-f]+: 86 31 00 10 l\.lwz r17,16\(r17\) -+ +[0-9a-f]+: 84 71 00 00 l\.lwz r3,0\(r17\) -+ +[0-9a-f]+: 07 ff ff f2 l\.jal [0-9a-f]+ <\.plt\+0x10> -+ +[0-9a-f]+: 15 00 00 00 l\.nop 0x0 -+ +[0-9a-f]+: 85 21 00 00 l\.lwz r9,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 04 l\.addi r1,r1,4 -diff --git a/ld/testsuite/ld-or1k/gotha1.s b/ld/testsuite/ld-or1k/gotha1.s -new file mode 100644 -index 00000000000..42b16db425c ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha1.s -@@ -0,0 +1,24 @@ -+ .data -+ .p2align 16 -+ -+ .text -+ .globl _start -+_start: -+ l.addi r1, r1, -4 -+ l.sw 0(r1), r9 -+ -+ l.jal 8 -+ l.movhi r19, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r19, r19, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r19, r19, r9 -+ -+ l.movhi r17, gotha(x) -+ l.add r17, r17, r19 -+ l.lwz r17, got(x)(r17) -+ l.lwz r3, 0(r17) -+ -+ l.jal plt(func) -+ l.nop -+ l.lwz r9, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 4 -diff --git a/ld/testsuite/ld-or1k/gotha2.dd b/ld/testsuite/ld-or1k/gotha2.dd -new file mode 100644 -index 00000000000..fe09da5466b ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.dd -@@ -0,0 +1,21 @@ -+ -+.*\.x: file format elf32-or1k -+ -+ -+Disassembly of section \.text: -+ -+[0-9a-f]+ : -+ +[0-9a-f]+: 9c 21 ff f8 l\.addi r1,r1,-8 -+ +[0-9a-f]+: d4 01 80 00 l\.sw 0\(r1\),r16 -+ +[0-9a-f]+: d4 01 48 04 l\.sw 4\(r1\),r9 -+ +[0-9a-f]+: 04 00 [0-9a-f]+ [0-9a-f]+ l\.jal [0-9a-f]+ -+ +[0-9a-f]+: 1a 00 00 00 l\.movhi r16,0x0 -+ +[0-9a-f]+: aa 10 [0-9a-f]+ [0-9a-f]+ l\.ori r16,r16,0x[0-9a-f]+ -+ +[0-9a-f]+: e2 10 48 00 l\.add r16,r16,r9 -+ +[0-9a-f]+: 1a 20 00 00 l\.movhi r17,0x0 -+ +[0-9a-f]+: e2 31 80 00 l\.add r17,r17,r16 -+ +[0-9a-f]+: 86 31 00 0c l\.lwz r17,12\(r17\) -+ +[0-9a-f]+: 85 21 00 04 l\.lwz r9,4\(r1\) -+ +[0-9a-f]+: 86 01 00 00 l\.lwz r16,0\(r1\) -+ +[0-9a-f]+: 44 00 48 00 l\.jr r9 -+ +[0-9a-f]+: 9c 21 00 08 l\.addi r1,r1,8 -diff --git a/ld/testsuite/ld-or1k/gotha2.s b/ld/testsuite/ld-or1k/gotha2.s -new file mode 100644 -index 00000000000..164b282f2dd ---- /dev/null -+++ b/ld/testsuite/ld-or1k/gotha2.s -@@ -0,0 +1,22 @@ -+ .section .text -+ .align 4 -+ .global test -+ .type test, @function -+test: -+ l.addi r1, r1, -8 -+ l.sw 0(r1), r16 -+ l.sw 4(r1), r9 -+ -+ l.jal 8 -+ l.movhi r16, gotpchi(_GLOBAL_OFFSET_TABLE_-4) -+ l.ori r16, r16, gotpclo(_GLOBAL_OFFSET_TABLE_+0) -+ l.add r16, r16, r9 -+ -+ l.movhi r17, gotha(i) -+ l.add r17, r17, r16 -+ l.lwz r17, got(i)(r17) -+ -+ l.lwz r9, 4(r1) -+ l.lwz r16, 0(r1) -+ l.jr r9 -+ l.addi r1, r1, 8 -diff --git a/ld/testsuite/ld-or1k/or1k.exp b/ld/testsuite/ld-or1k/or1k.exp -index 7592e8307c1..8e19ec6c31a 100644 ---- a/ld/testsuite/ld-or1k/or1k.exp -+++ b/ld/testsuite/ld-or1k/or1k.exp -@@ -53,6 +53,14 @@ set or1kplttests { - "" {plt1.s} - {{objdump -dr plt1.x.dd}} - "plt1.x"} -+ {"gotha exec plt" "tmpdir/libpltlib.so" "" -+ "" {gotha1.s} -+ {{objdump -dr gotha1.dd}} -+ "gotha1.x"} -+ {"gotha -fpic -shared" "-fpic -shared" "" -+ "" {gotha2.s} -+ {{objdump -dr gotha2.dd}} -+ "gotha2.x"} - } - - # Not implemented yet -diff --git a/ld/testsuite/ld-or1k/pltlib.s b/ld/testsuite/ld-or1k/pltlib.s -index baf76ca1af7..8b4d7ba48fd 100644 ---- a/ld/testsuite/ld-or1k/pltlib.s -+++ b/ld/testsuite/ld-or1k/pltlib.s -@@ -1,5 +1,6 @@ - .section .data - .globl x, y -+ .size x, 4 - x: .long 33 - y: .long 44 - --- -2.25.1 - diff --git a/buildroot-2021.05/package/binutils/Config.in b/buildroot-2021.05/package/binutils/Config.in deleted file mode 100644 index e17a8ec6..00000000 --- a/buildroot-2021.05/package/binutils/Config.in +++ /dev/null @@ -1,25 +0,0 @@ -config BR2_PACKAGE_BINUTILS - bool "binutils" - depends on !BR2_nios2 - depends on BR2_USE_WCHAR - help - Install binutils on the target - -if BR2_PACKAGE_BINUTILS - -config BR2_PACKAGE_BINUTILS_TARGET - bool "binutils binaries" - help - The GNU Binutils are a collection of binary tools: - - ld - the GNU linker. - as - the GNU assembler. - and others... - - http://www.gnu.org/software/binutils/ - -endif - -comment "binutils needs a toolchain w/ wchar" - depends on !BR2_nios2 - depends on !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/binutils/Config.in.host b/buildroot-2021.05/package/binutils/Config.in.host deleted file mode 100644 index d6909617..00000000 --- a/buildroot-2021.05/package/binutils/Config.in.host +++ /dev/null @@ -1,67 +0,0 @@ -comment "Binutils Options" - -config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI - bool - default y - depends on !BR2_microblaze - -choice - prompt "Binutils Version" - default BR2_BINUTILS_VERSION_2_35_X if !BR2_arc && !BR2_csky - default BR2_BINUTILS_VERSION_ARC if BR2_arc - default BR2_BINUTILS_VERSION_CSKY if BR2_csky - help - Select the version of binutils you wish to use. - -config BR2_BINUTILS_VERSION_2_32_X - bool "binutils 2.32" - depends on !BR2_csky - -config BR2_BINUTILS_VERSION_2_34_X - bool "binutils 2.34" - depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT - -config BR2_BINUTILS_VERSION_2_35_X - bool "binutils 2.35.2" - depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT - -config BR2_BINUTILS_VERSION_2_36_X - bool "binutils 2.36.1" - depends on !BR2_csky - # https://github.com/uclinux-dev/elf2flt/pull/16 - # https://github.com/uclinux-dev/elf2flt/issues/12 - depends on !BR2_BINFMT_FLAT - -config BR2_BINUTILS_VERSION_ARC - bool "binutils arc (2.34.50)" - depends on BR2_arc - -config BR2_BINUTILS_VERSION_CSKY - bool "binutils csky" - depends on BR2_csky - -endchoice - -config BR2_BINUTILS_VERSION - string - default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC - default "c66d8bbcebfddf713b2b436e1b135e6b125a55a5" if BR2_BINUTILS_VERSION_CSKY - default "2.32" if BR2_BINUTILS_VERSION_2_32_X - default "2.34" if BR2_BINUTILS_VERSION_2_34_X - default "2.35.2" if BR2_BINUTILS_VERSION_2_35_X - default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X - -config BR2_BINUTILS_ENABLE_LTO - bool - -config BR2_BINUTILS_EXTRA_CONFIG_OPTIONS - string "Additional binutils options" - default "" - help - Any additional binutils options you may want to include. diff --git a/buildroot-2021.05/package/binutils/binutils.hash b/buildroot-2021.05/package/binutils/binutils.hash deleted file mode 100644 index 20462b38..00000000 --- a/buildroot-2021.05/package/binutils/binutils.hash +++ /dev/null @@ -1,15 +0,0 @@ -# From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum -sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz -sha512 2c7976939dcf5e8c5b7374cccd39bfe803b1bec73c6abfa0eb17c24e1942574c6bdb874c66a092a82adc443182eacd8a5a8001c19a76101f0c7ba40c27de0bbd binutils-2.34.tar.xz -sha512 9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz -sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz - -# Locally calculated (fetched from Github) -sha512 76a8227a19218435319c660e4983ea17985194b7f496f163e97543e7f6fd3e9249241fdc05a16ba512fba96a1d846c1f7b080983404d821d6215f10e7f11e238 binutils-gdb-arc-2020.09-release.tar.gz - -# Locally calculated (fetched from https://github.com/c-sky/binutils-gdb) -sha512 979552d4b3a4f31e9f3b9a7027321bd4eb3ac6c2d8deac1720e94e54f81d736db09c53c5d87c301010e307b64127e14400a036c7a35e5d63a954a4edd9cc8e2c binutils-c66d8bbcebfddf713b2b436e1b135e6b125a55a5.tar.gz - -# locally computed -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING3 -sha256 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d COPYING.LIB diff --git a/buildroot-2021.05/package/binutils/binutils.mk b/buildroot-2021.05/package/binutils/binutils.mk deleted file mode 100644 index e469febb..00000000 --- a/buildroot-2021.05/package/binutils/binutils.mk +++ /dev/null @@ -1,150 +0,0 @@ -################################################################################ -# -# binutils -# -################################################################################ - -# Version is set when using buildroot toolchain. -# If not, we do like other packages -BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION)) -ifeq ($(BINUTILS_VERSION),) -ifeq ($(BR2_arc),y) -BINUTILS_VERSION = arc-2020.09-release -else -BINUTILS_VERSION = 2.35.2 -endif -endif # BINUTILS_VERSION - -ifeq ($(BINUTILS_VERSION),arc-2020.09-release) -BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION)) -BINUTILS_SOURCE = binutils-gdb-$(BINUTILS_VERSION).tar.gz -BINUTILS_FROM_GIT = y -endif - -ifeq ($(BR2_csky),y) -BINUTILS_SITE = $(call github,c-sky,binutils-gdb,$(BINUTILS_VERSION)) -BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz -BINUTILS_FROM_GIT = y -endif - -BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils -BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.xz -BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS)) -BINUTILS_INSTALL_STAGING = YES -BINUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -BINUTILS_MAKE_OPTS = LIBS=$(TARGET_NLS_LIBS) -BINUTILS_LICENSE = GPL-3.0+, libiberty LGPL-2.1+ -BINUTILS_LICENSE_FILES = COPYING3 COPYING.LIB -BINUTILS_CPE_ID_VENDOR = gnu - -ifeq ($(BINUTILS_FROM_GIT),y) -BINUTILS_DEPENDENCIES += host-flex host-bison -HOST_BINUTILS_DEPENDENCIES += host-flex host-bison -endif - -# When binutils sources are fetched from the binutils-gdb repository, -# they also contain the gdb sources, but gdb shouldn't be built, so we -# disable it. -BINUTILS_DISABLE_GDB_CONF_OPTS = \ - --disable-sim \ - --disable-gdb - -# We need to specify host & target to avoid breaking ARM EABI -BINUTILS_CONF_OPTS = \ - --disable-multilib \ - --disable-werror \ - --host=$(GNU_TARGET_NAME) \ - --target=$(GNU_TARGET_NAME) \ - --enable-install-libiberty \ - --enable-build-warnings=no \ - $(BINUTILS_DISABLE_GDB_CONF_OPTS) \ - $(BINUTILS_EXTRA_CONFIG_OPTIONS) - -ifeq ($(BR2_STATIC_LIBS),y) -BINUTILS_CONF_OPTS += --disable-plugins -endif - -# Don't build documentation. It takes up extra space / build time, -# and sometimes needs specific makeinfo versions to work -BINUTILS_CONF_ENV += MAKEINFO=true -BINUTILS_MAKE_OPTS += MAKEINFO=true -BINUTILS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) MAKEINFO=true install -HOST_BINUTILS_CONF_ENV += MAKEINFO=true -HOST_BINUTILS_MAKE_OPTS += MAKEINFO=true -HOST_BINUTILS_INSTALL_OPTS += MAKEINFO=true install - -# Workaround a build issue with -Os for ARM Cortex-M cpus. -# (Binutils 2.25.1 and 2.26.1) -# https://sourceware.org/bugzilla/show_bug.cgi?id=20552 -ifeq ($(BR2_ARM_CPU_ARMV7M)$(BR2_OPTIMIZE_S),yy) -BINUTILS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O2" -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -BINUTILS_DEPENDENCIES += zlib -endif - -# "host" binutils should actually be "cross" -# We just keep the convention of "host utility" for now -HOST_BINUTILS_CONF_OPTS = \ - --disable-multilib \ - --disable-werror \ - --target=$(GNU_TARGET_NAME) \ - --disable-shared \ - --enable-static \ - --with-sysroot=$(STAGING_DIR) \ - --enable-poison-system-directories \ - --without-debuginfod \ - $(BINUTILS_DISABLE_GDB_CONF_OPTS) \ - $(BINUTILS_EXTRA_CONFIG_OPTIONS) - -# binutils run configure script of subdirs at make time, so ensure -# our TARGET_CONFIGURE_ARGS are taken into consideration for those -BINUTILS_MAKE_ENV = $(TARGET_CONFIGURE_ARGS) - -# We just want libbfd, libiberty and libopcodes, -# not the full-blown binutils in staging -define BINUTILS_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(STAGING_DIR) install - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/opcodes DESTDIR=$(STAGING_DIR) install - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install -endef - -# If we don't want full binutils on target -ifneq ($(BR2_PACKAGE_BINUTILS_TARGET),y) -define BINUTILS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(TARGET_DIR) install - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/opcodes DESTDIR=$(TARGET_DIR) install - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install -endef -endif - -ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) -define BINUTILS_XTENSA_OVERLAY_EXTRACT - $(call arch-xtensa-overlay-extract,$(@D),binutils) -endef -BINUTILS_POST_EXTRACT_HOOKS += BINUTILS_XTENSA_OVERLAY_EXTRACT -BINUTILS_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) -HOST_BINUTILS_POST_EXTRACT_HOOKS += BINUTILS_XTENSA_OVERLAY_EXTRACT -HOST_BINUTILS_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) -endif - -ifeq ($(BR2_BINUTILS_ENABLE_LTO),y) -HOST_BINUTILS_CONF_OPTS += --enable-plugins --enable-lto -endif - -# Hardlinks between binaries in different directories cause a problem -# with rpath fixup, so we de-hardlink those binaries, and replace them -# with copies instead. -BINUTILS_TOOLS = ar as ld ld.bfd nm objcopy objdump ranlib readelf strip -define HOST_BINUTILS_FIXUP_HARDLINKS - $(foreach tool,$(BINUTILS_TOOLS),\ - rm -f $(HOST_DIR)/$(GNU_TARGET_NAME)/bin/$(tool) && \ - cp -a $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-$(tool) \ - $(HOST_DIR)/$(GNU_TARGET_NAME)/bin/$(tool) - ) -endef -HOST_BINUTILS_POST_INSTALL_HOOKS += HOST_BINUTILS_FIXUP_HARDLINKS - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/bird/0001-Nest-Fix-build-without-protocols.patch b/buildroot-2021.05/package/bird/0001-Nest-Fix-build-without-protocols.patch deleted file mode 100644 index 48d21441..00000000 --- a/buildroot-2021.05/package/bird/0001-Nest-Fix-build-without-protocols.patch +++ /dev/null @@ -1,28 +0,0 @@ -From f9eb9b4cab65b850c61738dd56632bae0e7329ca Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 19 Oct 2019 12:50:27 +0200 -Subject: [PATCH] Nest: Fix build without protocols - -(CHECK keyword added by commiter) -[Retrieved from: -https://gitlab.labs.nic.cz/labs/bird/commit/f9eb9b4cab65b850c61738dd56632bae0e7329ca] -Signed-off-by: Fabrice Fontaine ---- - nest/config.Y | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/nest/config.Y b/nest/config.Y -index c62501a3..1bc203dd 100644 ---- a/nest/config.Y -+++ b/nest/config.Y -@@ -75,6 +75,7 @@ CF_KEYWORDS(BGP, PASSWORDS, DESCRIPTION, SORTED) - CF_KEYWORDS(RELOAD, IN, OUT, MRTDUMP, MESSAGES, RESTRICT, MEMORY, IGP_METRIC, CLASS, DSCP) - CF_KEYWORDS(TIMEFORMAT, ISO, SHORT, LONG, ROUTE, PROTOCOL, BASE, LOG, S, MS, US) - CF_KEYWORDS(GRACEFUL, RESTART, WAIT, MAX, FLUSH, AS) -+CF_KEYWORDS(CHECK, LINK) - - /* For r_args_channel */ - CF_KEYWORDS(IPV4, IPV4_MC, IPV4_MPLS, IPV6, IPV6_MC, IPV6_MPLS, IPV6_SADR, VPN4, VPN4_MC, VPN4_MPLS, VPN6, VPN6_MC, VPN6_MPLS, ROA4, ROA6, FLOW4, FLOW6, MPLS, PRI, SEC) --- -2.21.0 - diff --git a/buildroot-2021.05/package/bird/0002-Added-missing-extern.patch b/buildroot-2021.05/package/bird/0002-Added-missing-extern.patch deleted file mode 100644 index 00aab3e9..00000000 --- a/buildroot-2021.05/package/bird/0002-Added-missing-extern.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 4bbc10614f3431c37e6352f5a6ea5c693c31021e Mon Sep 17 00:00:00 2001 -From: Maria Matejka -Date: Tue, 4 Feb 2020 10:11:16 +0100 -Subject: [PATCH] Added missing extern -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Thanks to Robert Scheck who reported it -and Toke Høiland-Jørgensen who suggested this patch. - -[Retrieved from: -https://gitlab.nic.cz/labs/bird/-/commit/4bbc10614f3431c37e6352f5a6ea5c693c31021e] -Signed-off-by: Fabrice Fontaine ---- - nest/route.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/nest/route.h b/nest/route.h -index d2a07f09..b927db5f 100644 ---- a/nest/route.h -+++ b/nest/route.h -@@ -458,7 +458,7 @@ typedef struct rta { - protocol-specific metric is availabe */ - - --const char * rta_dest_names[RTD_MAX]; -+extern const char * rta_dest_names[RTD_MAX]; - - static inline const char *rta_dest_name(uint n) - { return (n < RTD_MAX) ? rta_dest_names[n] : "???"; } --- -2.26.2 - diff --git a/buildroot-2021.05/package/bird/Config.in b/buildroot-2021.05/package/bird/Config.in deleted file mode 100644 index e78dfdf9..00000000 --- a/buildroot-2021.05/package/bird/Config.in +++ /dev/null @@ -1,81 +0,0 @@ -config BR2_PACKAGE_BIRD - bool "bird" - depends on !BR2_nios2 # relocations don't fit - depends on BR2_USE_MMU # fork() - help - BIRD Internet Routing Daemon - - The BIRD project aims to develop a dynamic IP routing daemon - with full support of all modern routing protocols, easy to - use configuration interface and powerful route filtering - language - - http://bird.network.cz/ - -if BR2_PACKAGE_BIRD - -config BR2_PACKAGE_BIRD_CLIENT - bool "birdc" - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_READLINE - help - Enable the BIRD client - -comment "protocol support" - -config BR2_PACKAGE_BIRD_BABEL - bool "babel" - help - Enable Babel protocol. - -config BR2_PACKAGE_BIRD_BFD - bool "bfd" - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - help - Enable BFD protocol. - -comment "BFD protocol needs a toolchain w/ NPTL" - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL - -config BR2_PACKAGE_BIRD_BGP - bool "bgp" - default y - help - Enable BGP protocol. - -config BR2_PACKAGE_BIRD_MRT - bool "mrt" - help - Enable MRT protocol. - -config BR2_PACKAGE_BIRD_OSPF - bool "ospf" - help - Enable OSPFv2 and OSPFv3 protocol. - -config BR2_PACKAGE_BIRD_PERF - bool "perf" - help - Enable Perf protocol. - -config BR2_PACKAGE_BIRD_PIPE - bool "pipe" - help - Enable Pipe protocol. - -config BR2_PACKAGE_BIRD_RADV - bool "radv" - help - Enable RAdv protocol. - -config BR2_PACKAGE_BIRD_RIP - bool "rip" - help - Enable RIP protocol. - -config BR2_PACKAGE_BIRD_STATIC - bool "static" - help - Enable Static protocol. - -endif diff --git a/buildroot-2021.05/package/bird/bird.hash b/buildroot-2021.05/package/bird/bird.hash deleted file mode 100644 index 303fc212..00000000 --- a/buildroot-2021.05/package/bird/bird.hash +++ /dev/null @@ -1,2 +0,0 @@ -sha256 631d2b58aebdbd651aaa3c68c3756c02ebfe5b1e60d307771ea909eeaa5b1066 bird-2.0.7.tar.gz -sha256 94c53c84320078920ac1f0d49c81a4e9004512f534521a58bdf145acbcbc2cd2 README diff --git a/buildroot-2021.05/package/bird/bird.mk b/buildroot-2021.05/package/bird/bird.mk deleted file mode 100644 index b711e7de..00000000 --- a/buildroot-2021.05/package/bird/bird.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# bird -# -################################################################################ - -BIRD_VERSION = 2.0.7 -BIRD_SITE = ftp://bird.network.cz/pub/bird -BIRD_LICENSE = GPL-2.0+ -BIRD_LICENSE_FILES = README -BIRD_CPE_ID_VENDOR = nic -BIRD_DEPENDENCIES = host-flex host-bison - -ifeq ($(BR2_PACKAGE_BIRD_CLIENT),y) -BIRD_CONF_OPTS += --enable-client -BIRD_DEPENDENCIES += ncurses readline -else -BIRD_CONF_OPTS += --disable-client -endif - -BIRD_PROTOCOLS = \ - $(if $(BR2_PACKAGE_BIRD_BFD),bfd) \ - $(if $(BR2_PACKAGE_BIRD_BABEL),babel) \ - $(if $(BR2_PACKAGE_BIRD_BGP),bgp) \ - $(if $(BR2_PACKAGE_BIRD_MRT),mrt) \ - $(if $(BR2_PACKAGE_BIRD_OSPF),ospf) \ - $(if $(BR2_PACKAGE_BIRD_PERF),perf) \ - $(if $(BR2_PACKAGE_BIRD_PIPE),pipe) \ - $(if $(BR2_PACKAGE_BIRD_RADV),radv) \ - $(if $(BR2_PACKAGE_BIRD_RIP),rip) \ - $(if $(BR2_PACKAGE_BIRD_STATIC),static) - -BIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BIRD_PROTOCOLS))) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bison/bison.hash b/buildroot-2021.05/package/bison/bison.hash deleted file mode 100644 index f4abe4c6..00000000 --- a/buildroot-2021.05/package/bison/bison.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature from -# http://mirror.keystealth.org/gnu/bison/bison-3.7.6.tar.xz.sig -sha256 67d68ce1e22192050525643fc0a7a22297576682bef6a5c51446903f5aeef3cf bison-3.7.6.tar.xz -# License files, locally calculated -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2021.05/package/bison/bison.mk b/buildroot-2021.05/package/bison/bison.mk deleted file mode 100644 index 26db307e..00000000 --- a/buildroot-2021.05/package/bison/bison.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# bison -# -################################################################################ - -BISON_VERSION = 3.7.6 -BISON_SOURCE = bison-$(BISON_VERSION).tar.xz -BISON_SITE = $(BR2_GNU_MIRROR)/bison -BISON_LICENSE = GPL-3.0+ -BISON_LICENSE_FILES = COPYING -BISON_CPE_ID_VENDOR = gnu -# parallel build issue in examples/c/reccalc/ -BISON_MAKE = $(MAKE1) -HOST_BISON_DEPENDENCIES = host-m4 -HOST_BISON_CONF_OPTS = --enable-relocatable -HOST_BISON_CONF_ENV = ac_cv_libtextstyle=no - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/bitcoin/Config.in b/buildroot-2021.05/package/bitcoin/Config.in deleted file mode 100644 index 7ce4f806..00000000 --- a/buildroot-2021.05/package/bitcoin/Config.in +++ /dev/null @@ -1,47 +0,0 @@ -config BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS - bool - default y if BR2_TOOLCHAIN_HAS_ATOMIC - # bitcoin uses 8-byte __atomic intrinsics, which are not - # available on ARM noMMU platforms that we - # support. BR2_TOOLCHAIN_HAS_ATOMIC does not provide a - # size-level granularity to express this dependency. - depends on !(BR2_arm || BR2_armeb) || BR2_USE_MMU - -config BR2_PACKAGE_BITCOIN - bool "bitcoin" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future - depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS # boost - depends on BR2_USE_WCHAR - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_THREAD - select BR2_PACKAGE_LIBEVENT - help - Bitcoin Core is an open source project which maintains and - releases Bitcoin client software called “Bitcoin Core”. - - It is a direct descendant of the original Bitcoin software - client released by Satoshi Nakamoto after he published the - famous Bitcoin whitepaper. - - Bitcoin Core consists of both "full-node" software for fully - validating the blockchain as well as a bitcoin wallet. The - project also currently maintains related software such as - the cryptography library libsecp256k1 and others located at - GitHub. - - https://bitcoincore.org - -comment "bitcoin needs a toolchain w/ C++, threads, wchar" - depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR - -comment "bitcoin needs a toolchain not affected by GCC bug 64735" - depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/bitcoin/bitcoin.hash b/buildroot-2021.05/package/bitcoin/bitcoin.hash deleted file mode 100644 index 6ea33980..00000000 --- a/buildroot-2021.05/package/bitcoin/bitcoin.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://bitcoincore.org/bin/bitcoin-core-0.21.1/SHA256SUMS.asc -sha256 caff23449220cf45753f312cefede53a9eac64000bb300797916526236b6a1e0 bitcoin-0.21.1.tar.gz - -# Hash for license file -sha256 96fe807030b21f88305adc32af62f9aa19915f2783509fd6f52aea02cf83f644 COPYING diff --git a/buildroot-2021.05/package/bitcoin/bitcoin.mk b/buildroot-2021.05/package/bitcoin/bitcoin.mk deleted file mode 100644 index 14252183..00000000 --- a/buildroot-2021.05/package/bitcoin/bitcoin.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# bitcoin -# -################################################################################ - -BITCOIN_VERSION = 0.21.1 -BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION) -BITCOIN_AUTORECONF = YES -BITCOIN_LICENSE = MIT -BITCOIN_LICENSE_FILES = COPYING -BITCOIN_CPE_ID_VENDOR = bitcoin -BITCOIN_CPE_ID_PRODUCT = bitcoin_core -BITCOIN_DEPENDENCIES = host-pkgconf boost libevent -BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1 -BITCOIN_CONF_OPTS = \ - --disable-bench \ - --disable-wallet \ - --disable-tests \ - --with-boost-libdir=$(STAGING_DIR)/usr/lib/ \ - --disable-hardening \ - --without-gui - -ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y) -BITCOIN_DEPENDENCIES += libminiupnpc -BITCOIN_CONF_OPTS += --with-miniupnpc -else -BITCOIN_CONF_OPTS += --without-miniupnpc -endif - -ifeq ($(BR2_PACKAGE_ZEROMQ),y) -BITCOIN_DEPENDENCIES += zeromq -BITCOIN_CONF_OPTS += --with-zmq -else -BITCOIN_CONF_OPTS += --without-zmq -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bitwise/bitwise.hash b/buildroot-2021.05/package/bitwise/bitwise.hash deleted file mode 100644 index 5493c642..00000000 --- a/buildroot-2021.05/package/bitwise/bitwise.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 d3d43cef47bf8f49e85f7ed381c3eaf1df921ca51805e0962f1a97a517e1d1d2 bitwise-v0.42.tar.gz -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2021.05/package/bitwise/bitwise.mk b/buildroot-2021.05/package/bitwise/bitwise.mk deleted file mode 100644 index 237f7753..00000000 --- a/buildroot-2021.05/package/bitwise/bitwise.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# bitwise -# -################################################################################ - -BITWISE_VERSION = 0.42 -BITWISE_SITE = https://github.com/mellowcandle/bitwise/releases/download/v$(BITWISE_VERSION) -BITWISE_SOURCE = bitwise-v$(BITWISE_VERSION).tar.gz -BITWISE_DEPENDENCIES = ncurses readline -BITWISE_LICENSE = GPL-3.0 -BITWISE_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/blktrace/0001-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch b/buildroot-2021.05/package/blktrace/0001-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch deleted file mode 100644 index 764410d4..00000000 --- a/buildroot-2021.05/package/blktrace/0001-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch +++ /dev/null @@ -1,146 +0,0 @@ -From d61ff409cb4dda31386373d706ea0cfb1aaac5b7 Mon Sep 17 00:00:00 2001 -From: Jens Axboe -Date: Wed, 2 May 2018 10:24:17 -0600 -Subject: btt: make device/devno use PATH_MAX to avoid overflow - -Herbo Zhang reports: - -I found a bug in blktrace/btt/devmap.c. The code is just as follows: - -https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/tree/btt/devmap.c?id=8349ad2f2d19422a6241f94ea84d696b21de4757 - - struct devmap { - -struct list_head head; -char device[32], devno[32]; // #1 -}; - -LIST_HEAD(all_devmaps); - -static int dev_map_add(char *line) -{ -struct devmap *dmp; - -if (strstr(line, "Device") != NULL) -return 1; - -dmp = malloc(sizeof(struct devmap)); -if (sscanf(line, "%s %s", dmp->device, dmp->devno) != 2) { //#2 -free(dmp); -return 1; -} - -list_add_tail(&dmp->head, &all_devmaps); -return 0; -} - -int dev_map_read(char *fname) -{ -char line[256]; // #3 -FILE *fp = my_fopen(fname, "r"); - -if (!fp) { -perror(fname); -return 1; -} - -while (fscanf(fp, "%255[a-zA-Z0-9 :.,/_-]\n", line) == 1) { -if (dev_map_add(line)) -break; -} - -fclose(fp); -return 0; -} - - The line length is 256, but the dmp->device, dmp->devno max length -is only 32. We can put strings longer than 32 into dmp->device and -dmp->devno , and then they will be overflowed. - - we can trigger this bug just as follows: - - $ python -c "print 'A'*256" > ./test - $ btt -M ./test - - *** Error in btt': free(): invalid next size (fast): 0x000055ad7349b250 *** - ======= Backtrace: ========= - /lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f7f158ce7e5] - /lib/x86_64-linux-gnu/libc.so.6(+0x7fe0a)[0x7f7f158d6e0a] - /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f7f158da98c] - btt(+0x32e0)[0x55ad7306f2e0] - btt(+0x2c5f)[0x55ad7306ec5f] - btt(+0x251f)[0x55ad7306e51f] - /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f7f15877830] - btt(+0x26b9)[0x55ad7306e6b9] - ======= Memory map: ======== - 55ad7306c000-55ad7307f000 r-xp 00000000 08:14 3698139 - /usr/bin/btt - 55ad7327e000-55ad7327f000 r--p 00012000 08:14 3698139 - /usr/bin/btt - 55ad7327f000-55ad73280000 rw-p 00013000 08:14 3698139 - /usr/bin/btt - 55ad73280000-55ad73285000 rw-p 00000000 00:00 0 - 55ad7349a000-55ad734bb000 rw-p 00000000 00:00 0 - [heap] - 7f7f10000000-7f7f10021000 rw-p 00000000 00:00 0 - 7f7f10021000-7f7f14000000 ---p 00000000 00:00 0 - 7f7f15640000-7f7f15656000 r-xp 00000000 08:14 14942237 - /lib/x86_64-linux-gnu/libgcc_s.so.1 - 7f7f15656000-7f7f15855000 ---p 00016000 08:14 14942237 - /lib/x86_64-linux-gnu/libgcc_s.so.1 - 7f7f15855000-7f7f15856000 r--p 00015000 08:14 14942237 - /lib/x86_64-linux-gnu/libgcc_s.so.1 - 7f7f15856000-7f7f15857000 rw-p 00016000 08:14 14942237 - /lib/x86_64-linux-gnu/libgcc_s.so.1 - 7f7f15857000-7f7f15a16000 r-xp 00000000 08:14 14948477 - /lib/x86_64-linux-gnu/libc-2.23.so - 7f7f15a16000-7f7f15c16000 ---p 001bf000 08:14 14948477 - /lib/x86_64-linux-gnu/libc-2.23.so - 7f7f15c16000-7f7f15c1a000 r--p 001bf000 08:14 14948477 - /lib/x86_64-linux-gnu/libc-2.23.so - 7f7f15c1a000-7f7f15c1c000 rw-p 001c3000 08:14 14948477 - /lib/x86_64-linux-gnu/libc-2.23.so - 7f7f15c1c000-7f7f15c20000 rw-p 00000000 00:00 0 - 7f7f15c20000-7f7f15c46000 r-xp 00000000 08:14 14948478 - /lib/x86_64-linux-gnu/ld-2.23.so - 7f7f15e16000-7f7f15e19000 rw-p 00000000 00:00 0 - 7f7f15e42000-7f7f15e45000 rw-p 00000000 00:00 0 - 7f7f15e45000-7f7f15e46000 r--p 00025000 08:14 14948478 - /lib/x86_64-linux-gnu/ld-2.23.so - 7f7f15e46000-7f7f15e47000 rw-p 00026000 08:14 14948478 - /lib/x86_64-linux-gnu/ld-2.23.so - 7f7f15e47000-7f7f15e48000 rw-p 00000000 00:00 0 - 7ffdebe5c000-7ffdebe7d000 rw-p 00000000 00:00 0 - [stack] - 7ffdebebc000-7ffdebebe000 r--p 00000000 00:00 0 - [vvar] - 7ffdebebe000-7ffdebec0000 r-xp 00000000 00:00 0 - [vdso] - ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 - [vsyscall] - [1] 6272 abort btt -M test - -Signed-off-by: Jens Axboe -[Retrieved from: -https://git.kernel.org/pub/scm/linux/kernel/git/axboe/blktrace.git/commit/?id=d61ff409cb4dda31386373d706ea0cfb1aaac5b7] -Signed-off-by: Fabrice Fontaine ---- - btt/devmap.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/btt/devmap.c b/btt/devmap.c -index 0553a9e..5fc1cb2 100644 ---- a/btt/devmap.c -+++ b/btt/devmap.c -@@ -23,7 +23,7 @@ - - struct devmap { - struct list_head head; -- char device[32], devno[32]; -+ char device[PATH_MAX], devno[PATH_MAX]; - }; - - LIST_HEAD(all_devmaps); --- -cgit 1.2-0.3.lf.el7 - diff --git a/buildroot-2021.05/package/blktrace/blktrace.hash b/buildroot-2021.05/package/blktrace/blktrace.hash deleted file mode 100644 index d4f62184..00000000 --- a/buildroot-2021.05/package/blktrace/blktrace.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From http://brick.kernel.dk/snaps/MD5SUMS -md5 05abb873b4de96c5e7b2deba80695bf1 blktrace-1.2.0.tar.gz - -# Locally computed -sha256 d14029bc096026dacb206bf115c912dcdb795320b5aba6dff3e46d7f94c5242d blktrace-1.2.0.tar.gz -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2021.05/package/blktrace/blktrace.mk b/buildroot-2021.05/package/blktrace/blktrace.mk deleted file mode 100644 index 1a5f59bc..00000000 --- a/buildroot-2021.05/package/blktrace/blktrace.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# blktrace -# -################################################################################ - -BLKTRACE_VERSION = 1.2.0 -BLKTRACE_SITE = http://brick.kernel.dk/snaps -BLKTRACE_DEPENDENCIES = libaio -BLKTRACE_LICENSE = GPL-2.0+ -BLKTRACE_LICENSE_FILES = COPYING -BLKTRACE_CPE_ID_VENDOR = blktrace_project - -# 0001-btt-make-device-devno-use-PATH_MAX-to-avoid-overflow.patch -BLKTRACE_IGNORE_CVES += CVE-2018-10689 - -define BLKTRACE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) -endef - -define BLKTRACE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \ - DESTDIR=$(TARGET_DIR) prefix=/usr -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/bluez-alsa/Config.in b/buildroot-2021.05/package/bluez-alsa/Config.in deleted file mode 100644 index 2f103f40..00000000 --- a/buildroot-2021.05/package/bluez-alsa/Config.in +++ /dev/null @@ -1,40 +0,0 @@ -config BR2_PACKAGE_BLUEZ_ALSA - bool "bluez-alsa" - depends on !BR2_STATIC_LIBS # bluez5 - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5 - depends on BR2_USE_MMU # bluez5 -> dbus - depends on BR2_USE_WCHAR # libglib2 - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_BLUEZ5_UTILS - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_SBC - help - Bluetooth Audio ALSA Backend. - - https://github.com/Arkq/bluez-alsa - -if BR2_PACKAGE_BLUEZ_ALSA - -config BR2_PACKAGE_BLUEZ_ALSA_HCITOP - bool "hcitop" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - select BR2_PACKAGE_LIBBSD - select BR2_PACKAGE_NCURSES - help - Enable top-like monitoring tool for HCI. - -config BR2_PACKAGE_BLUEZ_ALSA_RFCOMM - bool "rfcomm" - select BR2_PACKAGE_READLINE - help - Simple tool for sending RFCOMM commands. - -endif - -comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/bluez-alsa/bluez-alsa.hash b/buildroot-2021.05/package/bluez-alsa/bluez-alsa.hash deleted file mode 100644 index 6be93bc0..00000000 --- a/buildroot-2021.05/package/bluez-alsa/bluez-alsa.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated: -sha256 8b9bc36be922c10c6628ddf84b13dfadfeb3ab0bcf72bad842c66f3120abc6b2 bluez-alsa-3.0.0.tar.gz -sha256 60253922a459245128c34eb379cbda7c76936636d4c10edc576663a0f560dd4d LICENSE diff --git a/buildroot-2021.05/package/bluez-alsa/bluez-alsa.mk b/buildroot-2021.05/package/bluez-alsa/bluez-alsa.mk deleted file mode 100644 index 9262a7f6..00000000 --- a/buildroot-2021.05/package/bluez-alsa/bluez-alsa.mk +++ /dev/null @@ -1,72 +0,0 @@ -################################################################################ -# -# bluez-alsa -# -################################################################################ - -BLUEZ_ALSA_VERSION = 3.0.0 -BLUEZ_ALSA_SITE = $(call github,Arkq,bluez-alsa,v$(BLUEZ_ALSA_VERSION)) -BLUEZ_ALSA_LICENSE = MIT -BLUEZ_ALSA_LICENSE_FILES = LICENSE -BLUEZ_ALSA_DEPENDENCIES = alsa-lib bluez5_utils libglib2 sbc host-pkgconf - -# git repo, no configure -BLUEZ_ALSA_AUTORECONF = YES - -BLUEZ_ALSA_CONF_OPTS = \ - --enable-a2dpconf \ - --enable-aplay \ - --disable-debug-time \ - --with-alsaplugindir=/usr/lib/alsa-lib \ - --with-alsaconfdir=/etc/alsa/conf.d - -ifeq ($(BR2_PACKAGE_FDK_AAC),y) -BLUEZ_ALSA_DEPENDENCIES += fdk-aac -BLUEZ_ALSA_CONF_OPTS += --enable-aac -else -BLUEZ_ALSA_CONF_OPTS += --disable-aac -endif - -ifeq ($(BR2_PACKAGE_LAME),y) -BLUEZ_ALSA_DEPENDENCIES += lame -BLUEZ_ALSA_CONF_OPTS += --enable-mp3lame -else -BLUEZ_ALSA_CONF_OPTS += --disable-mp3lame -endif - -ifeq ($(BR2_PACKAGE_MPG123),y) -BLUEZ_ALSA_DEPENDENCIES += mpg123 -BLUEZ_ALSA_CONF_OPTS += --enable-mpg123 -else -BLUEZ_ALSA_CONF_OPTS += --disable-mpg123 -endif - -# no build dependency, disables internal HFP in favor of oFonos HFP profile -ifeq ($(BR2_PACKAGE_OFONO),y) -BLUEZ_ALSA_CONF_OPTS += --enable-ofono -else -BLUEZ_ALSA_CONF_OPTS += --disable-ofono -endif - -# no build dependency, enables integration with UPower D-Bus service -ifeq ($(BR2_PACKAGE_UPOWER),y) -BLUEZ_ALSA_CONF_OPTS += --enable-upower -else -BLUEZ_ALSA_CONF_OPTS += --disable-upower -endif - -ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_HCITOP),y) -BLUEZ_ALSA_DEPENDENCIES += libbsd ncurses -BLUEZ_ALSA_CONF_OPTS += --enable-hcitop -else -BLUEZ_ALSA_CONF_OPTS += --disable-hcitop -endif - -ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_RFCOMM),y) -BLUEZ_ALSA_DEPENDENCIES += readline -BLUEZ_ALSA_CONF_OPTS += --enable-rfcomm -else -BLUEZ_ALSA_CONF_OPTS += --disable-rfcomm -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bluez-tools/0001-fix-gcc-10-compile.patch b/buildroot-2021.05/package/bluez-tools/0001-fix-gcc-10-compile.patch deleted file mode 100644 index 028c2db6..00000000 --- a/buildroot-2021.05/package/bluez-tools/0001-fix-gcc-10-compile.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 687105d611b38961f390f0a328f9cfa3b93aeb18 Mon Sep 17 00:00:00 2001 -From: Leigh Scott -Date: Tue, 28 Jan 2020 22:46:37 +0000 -Subject: [PATCH] fix gcc-10 compile - -[Retrieved from: -https://github.com/khvzak/bluez-tools/pull/34/commits/687105d611b38961f390f0a328f9cfa3b93aeb18] -Signed-off-by: Fabrice Fontaine ---- - src/lib/agent-helper.c | 2 ++ - src/lib/agent-helper.h | 4 ++-- - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/src/lib/agent-helper.c b/src/lib/agent-helper.c -index bf50bcc..2b94100 100644 ---- a/src/lib/agent-helper.c -+++ b/src/lib/agent-helper.c -@@ -33,6 +33,8 @@ - - #include "agent-helper.h" - -+gboolean agent_need_unregister; -+ - static const gchar *_bt_agent_introspect_xml = "\n\t\n\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\n\n"; - static guint _bt_agent_registration_id = 0; - static GHashTable *_pin_hash_table = NULL; -diff --git a/src/lib/agent-helper.h b/src/lib/agent-helper.h -index 8e1cc85..9a952c4 100644 ---- a/src/lib/agent-helper.h -+++ b/src/lib/agent-helper.h -@@ -35,7 +35,7 @@ extern "C" { - #define AGENT_DBUS_INTERFACE "org.bluez.Agent1" - #define AGENT_PATH "/org/blueztools" - --gboolean agent_need_unregister; -+extern gboolean agent_need_unregister; - - void register_agent_callbacks(gboolean interactive_console, GHashTable *pin_dictonary, gpointer main_loop_object, GError **error); - void unregister_agent_callbacks(GError **error); -@@ -44,4 +44,4 @@ void unregister_agent_callbacks(GError **error); - } - #endif - --#endif /* __AGENT_HELPER_H */ -\ No newline at end of file -+#endif /* __AGENT_HELPER_H */ diff --git a/buildroot-2021.05/package/bluez-tools/bluez-tools.hash b/buildroot-2021.05/package/bluez-tools/bluez-tools.hash deleted file mode 100644 index 808e5c60..00000000 --- a/buildroot-2021.05/package/bluez-tools/bluez-tools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 62ca98af63d2ae142dbc77995c6bd4c259eaba4a5832daa33ae9e3d585b9205f bluez-tools-97efd293491ad7ec96a655665339908f2478b3d1.tar.gz -sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING diff --git a/buildroot-2021.05/package/bluez-tools/bluez-tools.mk b/buildroot-2021.05/package/bluez-tools/bluez-tools.mk deleted file mode 100644 index c5870198..00000000 --- a/buildroot-2021.05/package/bluez-tools/bluez-tools.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# bluez-tools -# -################################################################################ - -BLUEZ_TOOLS_VERSION = 97efd293491ad7ec96a655665339908f2478b3d1 -BLUEZ_TOOLS_SITE = $(call github,khvzak,bluez-tools,$(BLUEZ_TOOLS_VERSION)) - -# sources fetched from github, no configure script) -BLUEZ_TOOLS_AUTORECONF = YES -BLUEZ_TOOLS_DEPENDENCIES = host-pkgconf dbus dbus-glib bluez5_utils readline -BLUEZ_TOOLS_LICENSE = GPL-2.0+ -BLUEZ_TOOLS_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bluez5_utils-headers/bluez5_utils-headers.mk b/buildroot-2021.05/package/bluez5_utils-headers/bluez5_utils-headers.mk deleted file mode 100644 index 1e8b6ad0..00000000 --- a/buildroot-2021.05/package/bluez5_utils-headers/bluez5_utils-headers.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# bluez5_utils-headers -# -################################################################################ - -# Keep the version and patches in sync with bluez5_utils -BLUEZ5_UTILS_HEADERS_VERSION = 5.58 -BLUEZ5_UTILS_HEADERS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz -BLUEZ5_UTILS_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth -BLUEZ5_UTILS_HEADERS_DL_SUBDIR = bluez5_utils -BLUEZ5_UTILS_HEADERS_LICENSE = GPL-2.0+, LGPL-2.1+ -BLUEZ5_UTILS_HEADERS_LICENSE_FILES = COPYING COPYING.LIB -BLUEZ5_UTILS_HEADERS_CPE_ID_VENDOR = bluez -BLUEZ5_UTILS_HEADERS_CPE_ID_PRODUCT = bluez - -BLUEZ5_UTILS_HEADERS_INSTALL_STAGING = YES -BLUEZ5_UTILS_HEADERS_INSTALL_TARGET = NO - -define BLUEZ5_UTILS_HEADERS_INSTALL_STAGING_CMDS - $(INSTALL) -d $(STAGING_DIR)/usr/include/bluetooth/ - $(INSTALL) -m 644 $(@D)/lib/*.h $(STAGING_DIR)/usr/include/bluetooth/ -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/bluez5_utils/Config.in b/buildroot-2021.05/package/bluez5_utils/Config.in deleted file mode 100644 index 016a16c4..00000000 --- a/buildroot-2021.05/package/bluez5_utils/Config.in +++ /dev/null @@ -1,122 +0,0 @@ -config BR2_PACKAGE_BLUEZ5_UTILS - bool "bluez-utils 5.x" - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2 - depends on BR2_USE_MMU # dbus - depends on !BR2_STATIC_LIBS # uses dlfcn - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_LIBGLIB2 - help - bluez utils version 5.x - - With this release BlueZ only supports the new Bluetooth - Management kernel interface (introduced in Linux 3.4). - - For Low Energy support at least kernel version 3.5 is - needed. - - The API is not backward compatible with BlueZ 4. - - Bluez utils will use systemd and/or udev if enabled. - - http://www.bluez.org - http://www.kernel.org/pub/linux/bluetooth - -if BR2_PACKAGE_BLUEZ5_UTILS - -config BR2_PACKAGE_BLUEZ5_UTILS_OBEX - bool "build OBEX support" - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_LIBICAL - help - Enable the OBEX support in Bluez 5.x. - -comment "OBEX support needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_BLUEZ5_UTILS_CLIENT - bool "build CLI client" - select BR2_PACKAGE_READLINE - help - Enable the Bluez 5.x command line client. - -config BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED - bool "install deprecated tool" - depends on BR2_PACKAGE_BLUEZ5_UTILS_CLIENT - help - Build BlueZ 5.x deprecated tools. These currently include: - hciattach, hciconfig, hcitool, hcidump, rfcomm, sdptool, - ciptool, gatttool. - -config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL - bool "build experimental obexd plugin" - help - Build BlueZ 5.x experimental Nokia OBEX PC Suite plugin - -config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH - bool "build health plugin" - help - Build BlueZ 5.x health plugin - -config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH - bool "build mesh profile" - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ell - select BR2_PACKAGE_ELL - select BR2_PACKAGE_JSON_C - select BR2_PACKAGE_READLINE - help - Build BlueZ 5.x mesh plugin - -comment "mesh profile needs a toolchain w/ headers >= 4.12" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 - -config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI - bool "build midi profile" - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_ALSA_LIB_SEQ - help - Build BlueZ 5.x midi plugin - -config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC - bool "build nfc plugin" - help - Build BlueZ 5.x nfc plugin - -config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP - bool "build sap plugin" - help - Build BlueZ 5.x sap plugin - -config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS - bool "build sixaxis plugin" - depends on BR2_PACKAGE_HAS_UDEV - help - Build BlueZ 5.x sixaxis plugin (support Sony Dualshock - controller) - -comment "sixaxis plugin needs udev /dev management" - depends on !BR2_PACKAGE_HAS_UDEV - -config BR2_PACKAGE_BLUEZ5_UTILS_TEST - bool "build tests" - help - Build BlueZ 5.x tests - -config BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI - bool "build hid2hci tool" - depends on BR2_PACKAGE_HAS_UDEV - help - Build BlueZ 5.x hid2hci tool - -comment "hid2hci tool needs udev /dev management" - depends on !BR2_PACKAGE_HAS_UDEV - -endif - -comment "bluez5-utils needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/bluez5_utils/bluez5_utils.hash b/buildroot-2021.05/package/bluez5_utils/bluez5_utils.hash deleted file mode 100644 index 01bcd2ac..00000000 --- a/buildroot-2021.05/package/bluez5_utils/bluez5_utils.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc: -sha256 c8065e75a5eb67236849ef68a354b1700540305a8c88ef0a0fd6288f19daf1f1 bluez-5.58.tar.xz -sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING -sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB diff --git a/buildroot-2021.05/package/bluez5_utils/bluez5_utils.mk b/buildroot-2021.05/package/bluez5_utils/bluez5_utils.mk deleted file mode 100644 index 4c1575f6..00000000 --- a/buildroot-2021.05/package/bluez5_utils/bluez5_utils.mk +++ /dev/null @@ -1,143 +0,0 @@ -################################################################################ -# -# bluez5_utils -# -################################################################################ - -# Keep the version and patches in sync with bluez5_utils-headers -BLUEZ5_UTILS_VERSION = 5.58 -BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz -BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth -BLUEZ5_UTILS_INSTALL_STAGING = YES -BLUEZ5_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+ -BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB -BLUEZ5_UTILS_CPE_ID_VENDOR = bluez -BLUEZ5_UTILS_CPE_ID_PRODUCT = bluez - -BLUEZ5_UTILS_DEPENDENCIES = \ - $(if $(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),bluez5_utils-headers) \ - dbus \ - libglib2 - -BLUEZ5_UTILS_CONF_OPTS = \ - --enable-tools \ - --enable-library \ - --disable-cups \ - --with-dbusconfdir=/etc - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_OBEX),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-obex -BLUEZ5_UTILS_DEPENDENCIES += libical -else -BLUEZ5_UTILS_CONF_OPTS += --disable-obex -endif - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_CLIENT),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-client -BLUEZ5_UTILS_DEPENDENCIES += readline -else -BLUEZ5_UTILS_CONF_OPTS += --disable-client -endif - -# experimental plugins -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-experimental -else -BLUEZ5_UTILS_CONF_OPTS += --disable-experimental -endif - -# enable health plugin -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-health -else -BLUEZ5_UTILS_CONF_OPTS += --disable-health -endif - -# enable mesh profile -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-external-ell --enable-mesh -BLUEZ5_UTILS_DEPENDENCIES += ell json-c readline -else -BLUEZ5_UTILS_CONF_OPTS += --disable-external-ell --disable-mesh -endif - -# enable midi profile -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-midi -BLUEZ5_UTILS_DEPENDENCIES += alsa-lib -else -BLUEZ5_UTILS_CONF_OPTS += --disable-midi -endif - -# enable nfc plugin -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-nfc -else -BLUEZ5_UTILS_CONF_OPTS += --disable-nfc -endif - -# enable sap plugin -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-sap -else -BLUEZ5_UTILS_CONF_OPTS += --disable-sap -endif - -# enable sixaxis plugin -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-sixaxis -else -BLUEZ5_UTILS_CONF_OPTS += --disable-sixaxis -endif - -# install gatttool (For some reason upstream choose not to do it by default) -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED),y) -define BLUEZ5_UTILS_INSTALL_GATTTOOL - $(INSTALL) -D -m 0755 $(@D)/attrib/gatttool $(TARGET_DIR)/usr/bin/gatttool -endef -BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_GATTTOOL -# hciattach_bcm43xx defines default firmware path in `/etc/firmware`, but -# Broadcom firmware blobs are usually located in `/lib/firmware`. -BLUEZ5_UTILS_CONF_ENV += \ - CPPFLAGS='$(TARGET_CPPFLAGS) -DFIRMWARE_DIR=\"/lib/firmware\"' -BLUEZ5_UTILS_CONF_OPTS += --enable-deprecated -else -BLUEZ5_UTILS_CONF_OPTS += --disable-deprecated -endif - -# enable test -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_TEST),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-test -else -BLUEZ5_UTILS_CONF_OPTS += --disable-test -endif - -# enable hid2hci tool -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-hid2hci -else -BLUEZ5_UTILS_CONF_OPTS += --disable-hid2hci -endif - -# use udev if available -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-udev -BLUEZ5_UTILS_DEPENDENCIES += udev -else -BLUEZ5_UTILS_CONF_OPTS += --disable-udev -endif - -# integrate with systemd if available -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -BLUEZ5_UTILS_CONF_OPTS += --enable-systemd -BLUEZ5_UTILS_DEPENDENCIES += systemd -else -BLUEZ5_UTILS_CONF_OPTS += --disable-systemd -endif - -define BLUEZ5_UTILS_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/bluez5_utils/S40bluetooth \ - $(TARGET_DIR)/etc/init.d/S40bluetooth -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/boinc/Config.in b/buildroot-2021.05/package/boinc/Config.in deleted file mode 100644 index 5239019a..00000000 --- a/buildroot-2021.05/package/boinc/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_BOINC - bool "boinc" - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS # dlfcn.h - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_OPENSSL - help - Open-source software for volunteer computing and grid - computing. - - Use the idle time on your computer to cure diseases, study - global warming, discover pulsars, and do many other types of - scientific research. - - https://boinc.berkeley.edu - -comment "boinc needs a toolchain w/ dynamic library, C++, threads" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/boinc/boinc.hash b/buildroot-2021.05/package/boinc/boinc.hash deleted file mode 100644 index 0482b058..00000000 --- a/buildroot-2021.05/package/boinc/boinc.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 0d5656a9f8ed1048936a5764270848b892d63f27bdb863d0ace447f1eaae6002 boinc-7.16.16.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LESSER diff --git a/buildroot-2021.05/package/boinc/boinc.mk b/buildroot-2021.05/package/boinc/boinc.mk deleted file mode 100644 index c8eecdc5..00000000 --- a/buildroot-2021.05/package/boinc/boinc.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# boinc -# -################################################################################ - -BOINC_VERSION_MAJOR = 7.16 -BOINC_VERSION = $(BOINC_VERSION_MAJOR).16 -BOINC_SITE = \ - $(call github,BOINC,boinc,client_release/$(BOINC_VERSION_MAJOR)/$(BOINC_VERSION)) -BOINC_LICENSE = LGPL-3.0+ -BOINC_LICENSE_FILES = COPYING COPYING.LESSER -BOINC_CPE_ID_VENDOR = rom_walton -BOINC_DEPENDENCIES = host-pkgconf libcurl openssl -BOINC_AUTORECONF = YES -BOINC_CONF_ENV = ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config -BOINC_CONF_OPTS = \ - --disable-apps \ - --disable-boinczip \ - --disable-manager \ - --disable-server \ - --enable-client \ - --enable-dynamic-client-linkage \ - --enable-libraries \ - --with-pkg-config=$(PKG_CONFIG_HOST_BINARY) \ - --with-libcurl=$(STAGING_DIR)/usr - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -BOINC_DEPENDENCIES += freetype -endif - -ifeq ($(BR2_PACKAGE_LIBFCGI),y) -BOINC_DEPENDENCIES += libfcgi -BOINC_CONF_OPTS += --enable-fcgi -else -BOINC_CONF_OPTS += --disable-fcgi -endif - -# Remove boinc-client because it is incompatible with buildroot -define BOINC_REMOVE_UNNEEDED_FILE - $(RM) $(TARGET_DIR)/etc/init.d/boinc-client -endef - -BOINC_POST_INSTALL_TARGET_HOOKS += BOINC_REMOVE_UNNEEDED_FILE - -define BOINC_USERS - boinc -1 boinc -1 * /var/lib/boinc - BOINC user -endef - -define BOINC_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/boinc/S99boinc-client \ - $(TARGET_DIR)/etc/init.d/S99boinc-client -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/boost/0001-fenv.patch b/buildroot-2021.05/package/boost/0001-fenv.patch deleted file mode 100644 index 9dc7848c..00000000 --- a/buildroot-2021.05/package/boost/0001-fenv.patch +++ /dev/null @@ -1,37 +0,0 @@ -Disable fenv.h in certain configurations - -The boost build system does not properly test whether fenv.h is -available, and if it is, if it supports all the features used by -Boost. This causes build failures with uClibc (reported upstream at -https://svn.boost.org/trac/boost/ticket/11756) but also with glibc on -specific architectures that don't have a full fenv implementation, -such as NIOSII or Microblaze. - -To address this, we forcefully disable the use of fenv support in the -affected configurations. - -Signed-off-by: Bernd Kuhls -[Thomas: add Microblaze/NIOSII exclusions.] -Signed-off-by: Thomas Petazzoni - -Index: b/boost/config/platform/linux.hpp -=================================================================== ---- a/boost/config/platform/linux.hpp -+++ b/boost/config/platform/linux.hpp -@@ -48,6 +48,16 @@ - #endif - - // -+// uClibc has no support for fenv.h, and also a few architectures -+// don't have fenv.h support at all (or incomplete support) even with -+// glibc. -+ -+// -+#if defined(__UCLIBC__) || defined(__nios2__) || defined(__microblaze__) -+# define BOOST_NO_FENV_H -+#endif -+ -+// - // If glibc is past version 2 then we definitely have - // gettimeofday, earlier versions may or may not have it: - // diff --git a/buildroot-2021.05/package/boost/Config.in b/buildroot-2021.05/package/boost/Config.in deleted file mode 100644 index 81b2b272..00000000 --- a/buildroot-2021.05/package/boost/Config.in +++ /dev/null @@ -1,400 +0,0 @@ -comment "boost needs a toolchain w/ C++, threads, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR - -config BR2_PACKAGE_BOOST - bool "boost" - depends on BR2_INSTALL_LIBSTDCPP - # Boost could theorically be built with threading=single, but - # that unfortunately doesn't work. Until someone fixes that, - # let's depend on threads. - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_WCHAR - help - A general purpose C++ library - - http://www.boost.org/ - -if BR2_PACKAGE_BOOST - -choice - prompt "Layout" - default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - help - Selects the layout of Boost binary names - -config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - bool "system" - help - Boost binary names do not include the Boost version number - or the name and version number of the compiler. - -config BR2_PACKAGE_BOOST_LAYOUT_TAGGED - bool "tagged" - help - Boost binary names include the encoded build properties such - as variant and threading, but do not include compiler name - and version, or Boost version. This option is useful if you - build several variants of Boost, using the same compiler. - -config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED - bool "versioned" - help - Boost binary names include the Boost version number, name - and version of the compiler and encoded build properties. - -endchoice - -config BR2_PACKAGE_BOOST_LAYOUT - string - default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM - default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED - default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED - -config BR2_PACKAGE_BOOST_ATOMIC - bool "boost-atomic" - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - help - C++11-style atomic<>. - -config BR2_PACKAGE_BOOST_CHRONO - bool "boost-chrono" - select BR2_PACKAGE_BOOST_SYSTEM - help - Useful time utilities. C++11. - -config BR2_PACKAGE_BOOST_CONTAINER - bool "boost-container" - help - Standard library containers and extensions. - -# see -# http://www.boost.org/doc/libs/1_59_0/libs/context/doc/html/context/architectures.html -# for the list of supported architectures. Sparc pretends to be -# supported, but it doesn't build. -config BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - bool - default y if ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) - default y if BR2_i386 - default y if BR2_mips - default y if BR2_mipsel - default y if BR2_powerpc - default y if BR2_x86_64 - -config BR2_PACKAGE_BOOST_CONTEXT - bool "boost-context" - depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ - || BR2_TOOLCHAIN_GCC_AT_LEAST_6 # boost-thread - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - select BR2_PACKAGE_BOOST_THREAD if !BR2_TOOLCHAIN_GCC_AT_LEAST_6 - help - C++11 context switching library. - -config BR2_PACKAGE_BOOST_CONTRACT - bool "boost-contract" - # pthread_condattr_setclock - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_PACKAGE_BOOST_SYSTEM - help - Contract programming for C++. - -comment "boost-contract needs a toolchain w/ NPTL" - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL - -config BR2_PACKAGE_BOOST_COROUTINE - bool "boost-coroutine" - depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context, boost-thread - select BR2_PACKAGE_BOOST_CHRONO - select BR2_PACKAGE_BOOST_CONTEXT - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_THREAD - help - deprecated coroutine library, the non-depricated coroutine2 - library is a header-only library and does not need to be - selected. - -comment "boost-coroutine needs a toolchain not affected by GCC bug 64735" - depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_BOOST_DATE_TIME - bool "boost-date_time" - help - A set of date-time libraries based on generic programming - concepts. - -config BR2_PACKAGE_BOOST_EXCEPTION - bool "boost-exception" - help - The Boost Exception library supports transporting of arbitrary - data in exception objects, and transporting of exceptions - between threads. - -config BR2_PACKAGE_BOOST_FIBER - bool "boost-fiber" - depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - # mips support uses the "pause" instruction, only available - # since mips32r2/mips64r2. - depends on !BR2_MIPS_CPU_MIPS32 && !BR2_MIPS_CPU_MIPS64 - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ - || BR2_TOOLCHAIN_GCC_AT_LEAST_6 # boost-context -> boost-thread - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context - select BR2_PACKAGE_BOOST_CONTEXT - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_SYSTEM - help - C++11 userland threads library. - -comment "boost-fiber needs a toolchain w/ NPTL" - depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ - || BR2_TOOLCHAIN_GCC_AT_LEAST_6 - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL - -comment "boost-fiber needs a toolchain not affected by GCC bug 64735" - depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ - || BR2_TOOLCHAIN_GCC_AT_LEAST_6 - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_BOOST_FILESYSTEM - bool "boost-filesystem" - select BR2_PACKAGE_BOOST_SYSTEM - help - The Boost Filesystem Library provides portable facilities to - query and manipulate paths, files, and directories. - -config BR2_PACKAGE_BOOST_GRAPH - bool "boost-graph" - select BR2_PACKAGE_BOOST_REGEX - help - The BGL graph interface and graph components are generic, in - the same sense as the the Standard Template Library (STL). - -config BR2_PACKAGE_BOOST_GRAPH_PARALLEL - bool "boost-graph_parallel" - help - The PBGL graph interface and graph components are generic, in - the same sense as the the Standard Template Library (STL). - -config BR2_PACKAGE_BOOST_IOSTREAMS - bool "boost-iostreams" - select BR2_PACKAGE_BZIP2 - select BR2_PACKAGE_ZLIB - help - Boost.IOStreams provides a framework for defining streams, - stream buffers and i/o filters. - -config BR2_PACKAGE_BOOST_JSON - bool "boost-json" - select BR2_PACKAGE_BOOST_CONTAINER - help - Boost.JSON is a portable C++ library which provides containers - and algorithms that implement JavaScript Object Notation, or - simply "JSON", a lightweight data-interchange format. - - To use the library "header-only" this option is not needed. - -config BR2_PACKAGE_BOOST_LOCALE - bool "boost-locale" - # When boost-locale is enabled with icu support, Boost no - # longer supports building the libboost_* libraries as static - # libraries, causing build failures when other boost features - # than boost-locale are enabled. To work around this, we - # prevent using boost-locale on static linking configurations - # with icu enabled. See - # https://svn.boost.org/trac/boost/ticket/9685 for more - # details. - depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU) - depends on !(BR2_TOOLCHAIN_HAS_GCC_BUG_64735 && BR2_PACKAGE_ICU) # boost-thread - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ - || !BR2_PACKAGE_ICU # boost-thread - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_THREAD if BR2_PACKAGE_ICU - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - Provide localization and Unicode handling tools for C++. - -comment "boost-locale needs a toolchain w/ dynamic library" - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on BR2_PACKAGE_ICU - depends on BR2_STATIC_LIBS - -comment "boost-locale needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on BR2_PACKAGE_ICU - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_BOOST_LOG - bool "boost-log" - depends on !BR2_RISCV_32 - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread - select BR2_PACKAGE_BOOST_ATOMIC - select BR2_PACKAGE_BOOST_DATE_TIME - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_REGEX - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_THREAD - help - Logging library. - -comment "boost-log needs a toolchain w/ NPTL" - depends on !BR2_RISCV_32 - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL - -comment "boost-log needs a toolchain not affected by GCC bug 64735" - depends on !BR2_RISCV_32 - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_BOOST_MATH - bool "boost-math" - help - Boost.Math includes several contributions in the domain of - mathematics: - - The Greatest Common Divisor and Least Common - Multiple library provides run-time and compile-time evaluation - of the greatest common divisor (GCD) or least common multiple - (LCM) of two integers. - - The Special Functions library currently provides eight - templated special functions, in namespace boost. - - The Complex Number Inverse Trigonometric Functions are the - inverses of trigonometric functions currently present in the - C++ standard. - - Quaternions are a relative of complex numbers often used to - parameterise rotations in three dimentional space. - - Octonions, like quaternions, are a relative of complex - numbers. - -config BR2_PACKAGE_BOOST_MPI - bool "boost-mpi" - help - Message Passing Interface library, for use in - distributed-memory parallel application programming. - -config BR2_PACKAGE_BOOST_NOWIDE - bool "boost-nowide" - help - Library for cross-platform, unicode aware programming. - -config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS - bool "boost-program_options" - help - The program_options library allows program developers to - obtain program options, that is (name, value) pairs from the - user, via conventional methods such as command line and config - file. - -config BR2_PACKAGE_BOOST_PYTHON - bool "boost-python" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - help - The Boost Python Library is a framework for interfacing Python - and C++. It allows you to quickly and seamlessly expose C++ - classes functions and objects to Python, and vice-versa, - using no special tools -- just your C++ compiler. - -config BR2_PACKAGE_BOOST_RANDOM - bool "boost-random" - select BR2_PACKAGE_BOOST_SYSTEM - help - A complete system for random number generation. - -config BR2_PACKAGE_BOOST_REGEX - bool "boost-regex" - help - A new infrastructure for generic algorithms that builds on top - of the new iterator concepts. - -config BR2_PACKAGE_BOOST_SERIALIZATION - bool "boost-serialization" - help - Serialization for persistence and marshalling. - -config BR2_PACKAGE_BOOST_STACKTRACE - bool "boost-stacktrace" - depends on !BR2_STATIC_LIBS - help - Gather, store, copy and print backtraces. - -comment "boost-stacktrace needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_BOOST_SYSTEM - bool "boost-system" - help - Operating system support, including the diagnostics support - that will be part of the C++0x standard library. - -config BR2_PACKAGE_BOOST_TEST - bool "boost-test" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_TIMER - help - Support for simple program testing, full unit testing, and for - program execution monitoring. - -config BR2_PACKAGE_BOOST_THREAD - bool "boost-thread" - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception - select BR2_PACKAGE_BOOST_CHRONO - select BR2_PACKAGE_BOOST_SYSTEM - help - Portable C++ multi-threading. C++11, C++14. - -comment "boost-thread needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_BOOST_TIMER - bool "boost-timer" - select BR2_PACKAGE_BOOST_CHRONO - select BR2_PACKAGE_BOOST_SYSTEM - help - Event timer, progress timer, and progress display classes. - -config BR2_PACKAGE_BOOST_TYPE_ERASURE - bool "boost-type_erasure" - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_THREAD - help - Runtime polymorphism based on concepts. - -comment "boost-type_erasure needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_BOOST_WAVE - bool "boost-wave" - # limitation of assembler for coldfire - # error: Tried to convert PC relative branch to absolute jump - depends on !BR2_m68k_cf - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread - select BR2_PACKAGE_BOOST_DATE_TIME - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_THREAD - help - The Boost.Wave library is a Standards conformant, and highly - configurable implementation of the mandated C99/C++ - preprocessor functionality packed behind an easy to use - iterator interface. - -comment "boost-wave needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -endif diff --git a/buildroot-2021.05/package/boost/boost.hash b/buildroot-2021.05/package/boost/boost.hash deleted file mode 100644 index e6d44a76..00000000 --- a/buildroot-2021.05/package/boost/boost.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.boost.org/users/history/version_1_74_0.html -sha256 953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb boost_1_75_0.tar.bz2 - -# Locally computed -sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE_1_0.txt diff --git a/buildroot-2021.05/package/boost/boost.mk b/buildroot-2021.05/package/boost/boost.mk deleted file mode 100644 index 8d745ecc..00000000 --- a/buildroot-2021.05/package/boost/boost.mk +++ /dev/null @@ -1,208 +0,0 @@ -################################################################################ -# -# boost -# -################################################################################ - -BOOST_VERSION = 1.75.0 -BOOST_SOURCE = boost_$(subst .,_,$(BOOST_VERSION)).tar.bz2 -BOOST_SITE = https://boostorg.jfrog.io/artifactory/main/release/$(BOOST_VERSION)/source -BOOST_INSTALL_STAGING = YES -BOOST_LICENSE = BSL-1.0 -BOOST_LICENSE_FILES = LICENSE_1_0.txt -BOOST_CPE_ID_VENDOR = boost - -# keep host variant as minimal as possible -HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \ - --without-libraries=$(subst $(space),$(comma),atomic chrono context \ - contract container coroutine date_time exception fiber filesystem graph \ - graph_parallel iostreams json locale log math mpi nowide program_options \ - python random regex serialization stacktrace system test thread timer \ - type_erasure wave) - -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTRACT),,contract) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE),,coroutine) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_EXCEPTION),,exception) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FIBER),,fiber) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FILESYSTEM),,filesystem) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_GRAPH),,graph) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_GRAPH_PARALLEL),,graph_parallel) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_IOSTREAMS),,iostreams) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_JSON),,json) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOCALE),,locale) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOG),,log) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MATH),,math) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MPI),,mpi) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_NOWIDE),,nowide) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PROGRAM_OPTIONS),,program_options) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PYTHON),,python) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_RANDOM),,random) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_REGEX),,regex) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SERIALIZATION),,serialization) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_STACKTRACE),,stacktrace) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SYSTEM),,system) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TEST),,test) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_THREAD),,thread) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TIMER),,timer) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TYPE_ERASURE),,type_erasure) -BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_WAVE),,wave) - -BOOST_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS) - -BOOST_FLAGS = --with-toolset=gcc - -ifeq ($(BR2_PACKAGE_ICU),y) -BOOST_FLAGS += --with-icu=$(STAGING_DIR)/usr -BOOST_DEPENDENCIES += icu -else -BOOST_FLAGS += --without-icu -endif - -ifeq ($(BR2_PACKAGE_BOOST_IOSTREAMS),y) -BOOST_DEPENDENCIES += bzip2 zlib -endif - -ifeq ($(BR2_PACKAGE_BOOST_PYTHON),y) -BOOST_FLAGS += --with-python-root=$(HOST_DIR) -ifeq ($(BR2_PACKAGE_PYTHON3),y) -BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) -BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) -BOOST_DEPENDENCIES += python3 -else -BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON_VERSION_MAJOR) -BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) -BOOST_DEPENDENCIES += python -endif -endif - -HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \ - variant=release link=shared runtime-link=shared - -ifeq ($(BR2_MIPS_OABI32),y) -BOOST_ABI = o32 -else ifeq ($(BR2_arm),y) -BOOST_ABI = aapcs -else -BOOST_ABI = sysv -endif - -BOOST_OPTS += --no-cmake-config \ - toolset=gcc \ - threading=multi \ - abi=$(BOOST_ABI) \ - variant=$(if $(BR2_ENABLE_DEBUG),debug,release) - -ifeq ($(BR2_sparc64),y) -BOOST_OPTS += architecture=sparc instruction-set=ultrasparc -endif - -ifeq ($(BR2_sparc),y) -BOOST_OPTS += architecture=sparc instruction-set=v8 -endif - -# By default, Boost build and installs both the shared and static -# variants. Override that if we want static only or shared only. -ifeq ($(BR2_STATIC_LIBS),y) -BOOST_OPTS += link=static runtime-link=static -else ifeq ($(BR2_SHARED_LIBS),y) -BOOST_OPTS += link=shared runtime-link=shared -endif - -ifeq ($(BR2_PACKAGE_BOOST_LOCALE),y) -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -# posix backend needs monetary.h which isn't available on uClibc -BOOST_OPTS += boost.locale.posix=off -endif - -BOOST_DEPENDENCIES += $(if $(BR2_ENABLE_LOCALE),,libiconv) -endif - -BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS))) -BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) -BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) - -# how verbose should the build be? -BOOST_OPTS += $(if $(QUIET),-d,-d+1) -HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) - -define BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) - echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam - sed -i "s/: -O.* ;/: $(TARGET_OPTIMIZATION) ;/" $(@D)/tools/build/src/tools/gcc.jam -endef - -define BOOST_BUILD_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT)) -endef - -define BOOST_INSTALL_TARGET_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(TARGET_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) -endef - -define BOOST_INSTALL_STAGING_CMDS - (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(BOOST_OPTS) \ - --prefix=$(STAGING_DIR)/usr \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install) -endef - -# These hooks will help us to detect missing select in Config.in -# Indeed boost buildsystem can select a library even if the user has -# disable it -define BOOST_REMOVE_TARGET_LIBRARIES - rm -rf $(TARGET_DIR)/usr/lib/libboost_* -endef - -BOOST_PRE_INSTALL_TARGET_HOOKS += BOOST_REMOVE_TARGET_LIBRARIES - -define BOOST_CHECK_TARGET_LIBRARIES - @$(foreach disabled,$(BOOST_WITHOUT_FLAGS),\ - ! ls $(TARGET_DIR)/usr/lib/libboost_$(disabled)* 1>/dev/null 2>&1 || \ - ! echo "libboost_$(disabled) shouldn't have been installed: missing select in boost/Config.in" || \ - exit 1;) -endef - -BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES - -define HOST_BOOST_CONFIGURE_CMDS - (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) - echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam - echo "" >> $(@D)/user-config.jam -endef - -define HOST_BOOST_BUILD_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --ignore-site-config \ - --prefix=$(HOST_DIR) ) -endef - -define HOST_BOOST_INSTALL_CMDS - (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ - --user-config=$(@D)/user-config.jam \ - $(HOST_BOOST_OPTS) \ - --prefix=$(HOST_DIR) \ - --ignore-site-config \ - --layout=$(BOOST_LAYOUT) install ) -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/botan/0001-Add--extra-libs-option-and-group-l-flags-from-LDFLAGS-to-the-end.patch b/buildroot-2021.05/package/botan/0001-Add--extra-libs-option-and-group-l-flags-from-LDFLAGS-to-the-end.patch deleted file mode 100644 index 8aa5c686..00000000 --- a/buildroot-2021.05/package/botan/0001-Add--extra-libs-option-and-group-l-flags-from-LDFLAGS-to-the-end.patch +++ /dev/null @@ -1,75 +0,0 @@ -From af63fe89228172e5a395f7e6491fae3bfa9da4b1 Mon Sep 17 00:00:00 2001 -From: Jack Lloyd -Date: Mon, 15 Feb 2021 15:01:38 -0500 -Subject: [PATCH] Add --extra-libs option and group -l flags from LDFLAGS to - the end - -Ref #2622 - -[Retrieved from: -https://github.com/randombit/botan/commit/af63fe89228172e5a395f7e6491fae3bfa9da4b1] -Signed-off-by: Fabrice Fontaine ---- - configure.py | 14 ++++++++++++++ - src/build-data/makefile.in | 2 +- - 2 files changed, 15 insertions(+), 1 deletion(-) - -diff --git a/configure.py b/configure.py -index 73fc0271e9..865a6c8e62 100755 ---- a/configure.py -+++ b/configure.py -@@ -333,6 +333,9 @@ def process_command_line(args): # pylint: disable=too-many-locals,too-many-state - target_group.add_option('--ldflags', metavar='FLAGS', - help='set linker flags', default=None) - -+ target_group.add_option('--extra-libs', metavar='LIBS', -+ help='specify extra libraries to link against', default='') -+ - target_group.add_option('--ar-command', dest='ar_command', metavar='AR', default=None, - help='set path to static archive creator') - -@@ -2020,6 +2023,12 @@ def choose_cxx_exe(): - else: - return '%s %s' % (options.compiler_cache, cxx) - -+ def extra_libs(libs, cc): -+ if libs is None: -+ return '' -+ -+ return ' '.join([(cc.add_lib_option % lib) for lib in libs.split(',')]) -+ - variables = { - 'version_major': Version.major(), - 'version_minor': Version.minor(), -@@ -2149,6 +2158,7 @@ def choose_cxx_exe(): - 'cc_sysroot': sysroot_option(), - 'cc_compile_flags': options.cxxflags or cc.cc_compile_flags(options), - 'ldflags': options.ldflags or '', -+ 'extra_libs': extra_libs(options.extra_libs, cc), - 'cc_warning_flags': cc.cc_warning_flags(options), - 'output_to_exe': cc.output_to_exe, - 'cc_macro': cc.macro_name, -@@ -3029,6 +3039,10 @@ def canonicalize_build_targets(options): - if options.build_fuzzers == 'libfuzzer' and options.fuzzer_lib is None: - options.fuzzer_lib = 'Fuzzer' - -+ if options.ldflags is not None: -+ libs = [m.group(1) for m in re.finditer(r'-l([a-z0-9]+)', options.ldflags)] -+ options.extra_libs += ','.join(libs) -+ - # Checks user options for consistency - # This method DOES NOT change options on behalf of the user but explains - # why the given configuration does not work. -diff --git a/src/build-data/makefile.in b/src/build-data/makefile.in -index 4692d00f71..82f6576650 100644 ---- a/src/build-data/makefile.in -+++ b/src/build-data/makefile.in -@@ -20,7 +20,7 @@ LDFLAGS = %{ldflags} - EXE_LINK_CMD = %{exe_link_cmd} - - LIB_LINKS_TO = %{external_link_cmd} %{link_to} --EXE_LINKS_TO = %{link_to_botan} $(LIB_LINKS_TO) -+EXE_LINKS_TO = %{link_to_botan} $(LIB_LINKS_TO) %{extra_libs} - - BUILD_FLAGS = $(ABI_FLAGS) $(LANG_FLAGS) $(CXXFLAGS) $(WARN_FLAGS) - diff --git a/buildroot-2021.05/package/botan/0002-Avoid-empty-l.patch b/buildroot-2021.05/package/botan/0002-Avoid-empty-l.patch deleted file mode 100644 index 91023602..00000000 --- a/buildroot-2021.05/package/botan/0002-Avoid-empty-l.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 4b2225ea54988e09b649768848b3c14b43e064de Mon Sep 17 00:00:00 2001 -From: Jack Lloyd -Date: Mon, 15 Feb 2021 15:11:12 -0500 -Subject: [PATCH] Avoid empty -l - -[Retrieved from: -https://github.com/randombit/botan/commit/4b2225ea54988e09b649768848b3c14b43e064de] -Signed-off-by: Fabrice Fontaine ---- - configure.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.py b/configure.py -index 865a6c8e62..a79f672eca 100755 ---- a/configure.py -+++ b/configure.py -@@ -2027,7 +2027,7 @@ def extra_libs(libs, cc): - if libs is None: - return '' - -- return ' '.join([(cc.add_lib_option % lib) for lib in libs.split(',')]) -+ return ' '.join([(cc.add_lib_option % lib) for lib in libs.split(',') if lib != '']) - - variables = { - 'version_major': Version.major(), diff --git a/buildroot-2021.05/package/botan/0003-Add-support-for-riscv32.patch b/buildroot-2021.05/package/botan/0003-Add-support-for-riscv32.patch deleted file mode 100644 index d8978b2f..00000000 --- a/buildroot-2021.05/package/botan/0003-Add-support-for-riscv32.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 443bf46ee2b1b1d7acd63e3f00dcbe66646138f8 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 2 Apr 2021 20:37:03 +0200 -Subject: [PATCH] Add support for riscv32 - -Fix the following build failure: - - ERROR: Unknown or unidentifiable processor "riscv32" - -Fixes: - - http://autobuild.buildroot.org/results/1c399312dbec5d7a28ec90d62fdd8f47fa14ff4b - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/randombit/botan/commit/aa7958880bee2091a8a71bf9e1f6e6efb34581e3] ---- - src/build-data/arch/riscv32.txt | 2 ++ - 1 file changed, 2 insertions(+) - create mode 100644 src/build-data/arch/riscv32.txt - -diff --git a/src/build-data/arch/riscv32.txt b/src/build-data/arch/riscv32.txt -new file mode 100644 -index 000000000..ba88b42e9 ---- /dev/null -+++ b/src/build-data/arch/riscv32.txt -@@ -0,0 +1,2 @@ -+family riscv32 -+endian little --- -2.30.2 - diff --git a/buildroot-2021.05/package/botan/Config.in b/buildroot-2021.05/package/botan/Config.in deleted file mode 100644 index 95367b90..00000000 --- a/buildroot-2021.05/package/botan/Config.in +++ /dev/null @@ -1,35 +0,0 @@ -config BR2_PACKAGE_BOTAN_ARCH_SUPPORTS - bool - default y if BR2_aarch64 || BR2_aarch64_be - default y if BR2_arm || BR2_armeb - default y if BR2_i386 || BR2_x86_64 - default y if BR2_m68k - default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le - default y if BR2_riscv - default y if BR2_sparc || BR2_sparc64 - default y if BR2_s390x - default y if BR2_sh - -config BR2_PACKAGE_BOTAN - bool "botan" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future - select BR2_PACKAGE_BOOST_FILESYSTEM if BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_SYSTEM if BR2_PACKAGE_BOOST - help - Botan is a crypto library for C++ - - http://botan.randombit.net - -comment "botan needs a toolchain w/ C++, threads, gcc >= 4.8" - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS - -comment "botan needs a toolchain not affected by GCC bug 64735" - depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/botan/botan.hash b/buildroot-2021.05/package/botan/botan.hash deleted file mode 100644 index d1b1d14a..00000000 --- a/buildroot-2021.05/package/botan/botan.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://botan.randombit.net/releases/sha256sums.txt -sha256 79123b654445a4abba486e09a431788545c708237382a3e765664c9f55b03b88 Botan-2.17.3.tar.xz -# Locally computed -sha256 fb7f0322d36fba55ca17d77bc203a9f09a40daa8a249b75cf8887aba36cec9d0 license.txt diff --git a/buildroot-2021.05/package/botan/botan.mk b/buildroot-2021.05/package/botan/botan.mk deleted file mode 100644 index 2e3f99b4..00000000 --- a/buildroot-2021.05/package/botan/botan.mk +++ /dev/null @@ -1,107 +0,0 @@ -################################################################################ -# -# botan -# -################################################################################ - -BOTAN_VERSION = 2.17.3 -BOTAN_SOURCE = Botan-$(BOTAN_VERSION).tar.xz -BOTAN_SITE = http://botan.randombit.net/releases -BOTAN_LICENSE = BSD-2-Clause -BOTAN_LICENSE_FILES = license.txt -BOTAN_CPE_ID_VENDOR = botan_project - -BOTAN_INSTALL_STAGING = YES - -BOTAN_CONF_OPTS = \ - --cpu=$(BR2_ARCH) \ - --os=linux \ - --cc=gcc \ - --cc-bin="$(TARGET_CXX)" \ - --prefix=/usr \ - --without-documentation - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -BOTAN_CONF_OPTS += --extra-libs=atomic -endif - -ifeq ($(BR2_SHARED_LIBS),y) -BOTAN_CONF_OPTS += \ - --disable-static-library \ - --enable-shared-library -else ifeq ($(BR2_STATIC_LIBS),y) -BOTAN_CONF_OPTS += \ - --disable-shared-library \ - --enable-static-library \ - --no-autoload -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -BOTAN_CONF_OPTS += \ - --enable-shared-library \ - --enable-static-library -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y) -BOTAN_CONF_OPTS += --with-stack-protector -else -BOTAN_CONF_OPTS += --without-stack-protector -endif - -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -BOTAN_CONF_OPTS += --without-os-feature=getauxval -endif - -ifeq ($(BR2_PACKAGE_BOOST),y) -BOTAN_DEPENDENCIES += boost -BOTAN_CONF_OPTS += --with-boost -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -BOTAN_DEPENDENCIES += bzip2 -BOTAN_CONF_OPTS += --with-bzip2 -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -BOTAN_DEPENDENCIES += openssl -BOTAN_CONF_OPTS += --with-openssl -endif - -ifeq ($(BR2_PACKAGE_SQLITE),y) -BOTAN_DEPENDENCIES += sqlite -BOTAN_CONF_OPTS += --with-sqlite -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -BOTAN_DEPENDENCIES += xz -BOTAN_CONF_OPTS += --with-lzma -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -BOTAN_DEPENDENCIES += zlib -BOTAN_CONF_OPTS += --with-zlib -endif - -ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),) -BOTAN_CONF_OPTS += --disable-altivec -endif - -ifeq ($(BR2_ARM_CPU_HAS_NEON),) -BOTAN_CONF_OPTS += --disable-neon -endif - -define BOTAN_CONFIGURE_CMDS - (cd $(@D); $(TARGET_MAKE_ENV) ./configure.py $(BOTAN_CONF_OPTS)) -endef - -define BOTAN_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) AR="$(TARGET_AR)" -endef - -define BOTAN_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install -endef - -define BOTAN_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/brickd/brickd.hash b/buildroot-2021.05/package/brickd/brickd.hash deleted file mode 100644 index e9be1b10..00000000 --- a/buildroot-2021.05/package/brickd/brickd.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed hash -sha256 205f581103512599cb10992275da8c7207ed732e1a686600877c51b7a742de73 brickd-ev3dev-stretch_1.2.1-br1.tar.gz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.txt diff --git a/buildroot-2021.05/package/brickd/brickd.mk b/buildroot-2021.05/package/brickd/brickd.mk deleted file mode 100644 index 7fe28daf..00000000 --- a/buildroot-2021.05/package/brickd/brickd.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# brickd -# -################################################################################ - -BRICKD_VERSION = ev3dev-stretch/1.2.1 -BRICKD_SITE = https://github.com/ev3dev/brickd -BRICKD_SITE_METHOD = git -BRICKD_GIT_SUBMODULES = YES - -BRICKD_LICENSE = GPL-2.0 -BRICKD_LICENSE_FILES = LICENSE.txt - -BRICKD_INSTALL_STAGING = YES -BRICKD_DEPENDENCIES = host-pkgconf host-vala libglib2 libgudev - -define BRICKD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/brickd/S70brickd $(TARGET_DIR)/etc/init.d/S70brickd -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/brltty/0002-Programs-pgmprivs_linux.c-fix-build-with-gcc-5.patch b/buildroot-2021.05/package/brltty/0002-Programs-pgmprivs_linux.c-fix-build-with-gcc-5.patch deleted file mode 100644 index 92b5aea2..00000000 --- a/buildroot-2021.05/package/brltty/0002-Programs-pgmprivs_linux.c-fix-build-with-gcc-5.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 92b3fca2d55757680398b55869214fc2d19e9b71 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 21 Feb 2021 20:47:06 +0100 -Subject: [PATCH] Programs/pgmprivs_linux.c: fix build with gcc < 5 - -Build with gcc < 5 is broken since version 6.2 and -https://github.com/brltty/brltty/commit/8ce262f2c15f10a40d9cbae0b3c88b466970a055: - -./pgmprivs_linux.c: In function 'getPrivilegeParameterNames': -./pgmprivs_linux.c:2220:3: error: array initialized from non-constant array expression - static const char *const names[] = NULL_TERMINATED_STRING_ARRAY( - ^ - -Build was partially fixed since -https://github.com/brltty/brltty/commit/8ae78dd560d00c5074158f90be5ac8dac80183db -but it forgot to update pgmprivs_linux.c - -Fixes: - - http://autobuild.buildroot.org/results/58afeb50a0ecdb8b527d7c9946bcae290b79b055 - -Signed-off-by: Fabrice Fontaine -[yann.morin.1998@free.fr: use an actual backport after upstream merge] -Signed-off-by: Yann E. MORIN ---- - Programs/pgmprivs_linux.c | 12 +++++++----- - 1 file changed, 7 insertions(+), 5 deletions(-) - -diff --git a/Programs/pgmprivs_linux.c b/Programs/pgmprivs_linux.c -index 56e464a82..7dfabaf9b 100644 ---- a/Programs/pgmprivs_linux.c -+++ b/Programs/pgmprivs_linux.c -@@ -2215,13 +2215,15 @@ typedef enum { - PARM_USER, - } Parameters; - -+ -+static const char *const *const pgmprivs_names = -+ NULL_TERMINATED_STRING_ARRAY( -+ "path", "scfmode", "shell", "user" -+ ); -+ - const char *const * - getPrivilegeParameterNames (void) { -- static const char *const names[] = NULL_TERMINATED_STRING_ARRAY( -- "path", "scfmode", "shell", "user" -- ); -- -- return names; -+ return pgmprivs_names; - } - - const char * --- -2.25.1 - diff --git a/buildroot-2021.05/package/brltty/Config.in b/buildroot-2021.05/package/brltty/Config.in deleted file mode 100644 index de11af3b..00000000 --- a/buildroot-2021.05/package/brltty/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_BRLTTY - bool "brltty" - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU # fork() - help - A daemon providing access to the Linux console for a blind - person using a refreshable braille display. - - http://brltty.app/ - -if BR2_PACKAGE_BRLTTY - -config BR2_PACKAGE_BRLTTY_TEXT_TABLE - string "text-table" - -endif - -comment "brltty needs a toolchain w/ dynamic lib, threads, wchar" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/brltty/brltty.hash b/buildroot-2021.05/package/brltty/brltty.hash deleted file mode 100644 index 504b0d80..00000000 --- a/buildroot-2021.05/package/brltty/brltty.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 b256df8f86b4d6a597cfe982cc5a7c831915de37cfece683ddb02b2329256a8a brltty-6.3.tar.xz -sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f LICENSE-LGPL -sha256 da78e60359a86eeefb6d6e02bc47d386ece10ae45309d998981157c3746724ab README diff --git a/buildroot-2021.05/package/brltty/brltty.mk b/buildroot-2021.05/package/brltty/brltty.mk deleted file mode 100644 index 602750c9..00000000 --- a/buildroot-2021.05/package/brltty/brltty.mk +++ /dev/null @@ -1,140 +0,0 @@ -################################################################################ -# -# brltty -# -################################################################################ - -BRLTTY_VERSION = 6.3 -BRLTTY_SOURCE = brltty-$(BRLTTY_VERSION).tar.xz -BRLTTY_SITE = http://brltty.com/archive -BRLTTY_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install -BRLTTY_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install -BRLTTY_LICENSE = LGPL-2.1+ -BRLTTY_LICENSE_FILES = LICENSE-LGPL README - -BRLTTY_DEPENDENCIES = \ - $(TARGET_NLS_DEPENDENCIES) \ - host-autoconf \ - host-gawk \ - host-pkgconf \ - $(if $(BR2_PACKAGE_AT_SPI2_CORE),at-spi2-core) - -BRLTTY_CONF_ENV = \ - PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/bin/pkgconf - -BRLTTY_CONF_OPTS = \ - --disable-java-bindings \ - --disable-lisp-bindings \ - --disable-ocaml-bindings \ - --disable-python-bindings \ - --disable-tcl-bindings \ - --disable-x \ - --without-espeak-ng \ - --without-midi-package \ - --without-mikropuhe --without-speechd --without-swift \ - --without-theta - -# Autoreconf is needed because we're patching configure.ac in -# 0001-Fix-linking-error-on-mips64el. However, a plain autoreconf doesn't work, -# because this package is only autoconf-based. -define BRLTTY_AUTOCONF - cd $(BRLTTY_SRCDIR) && $(AUTOCONF) -endef - -BRLTTY_PRE_CONFIGURE_HOOKS += BRLTTY_AUTOCONF - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) -BRLTTY_DEPENDENCIES += bluez5_utils -BRLTTY_CONF_OPTS += --with-bluetooth-package -else -BRLTTY_CONF_OPTS += --without-bluetooth-package -endif - -ifeq ($(BR2_PACKAGE_ESPEAK),y) -BRLTTY_DEPENDENCIES += espeak -BRLTTY_CONF_OPTS += --with-espeak=$(TARGET_DIR)/usr -else -BRLTTY_CONF_OPTS += --without-espeak -endif - -ifeq ($(BR2_PACKAGE_EXPAT),y) -# host-expat is needed by tbl2hex's host program -BRLTTY_DEPENDENCIES += host-expat expat -BRLTTY_CONF_OPTS += --enable-expat -else -BRLTTY_CONF_OPTS += --disable-expat -endif - -ifeq ($(BR2_PACKAGE_FLITE),y) -BRLTTY_DEPENDENCIES += flite -BRLTTY_CONF_OPTS += --with-flite=$(STAGING_DIR)/usr -else -BRLTTY_CONF_OPTS += --without-flite -endif - -ifeq ($(BR2_PACKAGE_ICU),y) -BRLTTY_DEPENDENCIES += icu -BRLTTY_CONF_OPTS += --enable-icu -else -BRLTTY_CONF_OPTS += --disable-icu -endif - -ifeq ($(BR2_PACKAGE_NCURSES),y) -BRLTTY_DEPENDENCIES += ncurses -BRLTTY_CONF_OPTS += --with-curses -else -BRLTTY_CONF_OPTS += --without-curses -endif - -ifeq ($(BR2_PACKAGE_PCRE2_32),y) -BRLTTY_DEPENDENCIES += pcre2 -BRLTTY_CONF_OPTS += --with-rgx-package -else ifeq ($(BR2_PACKAGE_PCRE_32),y) -BRLTTY_DEPENDENCIES += pcre -BRLTTY_CONF_OPTS += --with-rgx-package -else -BRLTTY_CONF_OPTS += --without-rgx-package -endif - -ifeq ($(BR2_PACKAGE_POLKIT),y) -BRLTTY_DEPENDENCIES += polkit -BRLTTY_CONF_OPTS += --enable-polkit -else -BRLTTY_CONF_OPTS += --disable-polkit -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -BRLTTY_DEPENDENCIES += systemd -BRLTTY_CONF_OPTS += --with-service-package -else -BRLTTY_CONF_OPTS += --without-service-package -endif - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -BRLTTY_CONF_OPTS += --enable-i18n -else -BRLTTY_CONF_OPTS += --disable-i18n -endif - -BRLTTY_TEXT_TABLE = $(call qstrip,$(BR2_PACKAGE_BRLTTY_TEXT_TABLE)) -ifneq ($(BRLTTY_TEXT_TABLE),) -BRLTTY_CONF_OPTS += --with-text-table=$(BRLTTY_TEXT_TABLE) -endif - -define BRLTTY_INSTALL_CONF - $(INSTALL) -D -m 644 $(@D)/Documents/brltty.conf $(TARGET_DIR)/etc/brltty.conf -endef - -BRLTTY_POST_INSTALL_TARGET_HOOKS += BRLTTY_INSTALL_CONF - -define BRLTTY_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/brltty/S10brltty \ - $(TARGET_DIR)/etc/init.d/S10brltty -endef - -define BRLTTY_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/brltty/brltty.service \ - $(TARGET_DIR)/usr/lib/systemd/system/brltty.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/btrfs-progs/btrfs-progs.hash b/buildroot-2021.05/package/btrfs-progs/btrfs-progs.hash deleted file mode 100644 index aac14496..00000000 --- a/buildroot-2021.05/package/btrfs-progs/btrfs-progs.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/sha256sums.asc -sha256 d41961b0a92160c80f894ad9a1882822889c2e1d084cbf3e08b8c214a5cf0137 btrfs-progs-v5.11.tar.xz -# Locally computed -sha256 0d5bf346df9e635a29dcdddf832dc5b002ca6cdc1c5c9c6c567d2a61bb0c5c15 COPYING -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 libbtrfsutil/COPYING -sha256 e3a994d82e644b03a792a930f574002658412f62407f5fee083f2555c5f23118 libbtrfsutil/COPYING.LESSER diff --git a/buildroot-2021.05/package/btrfs-progs/btrfs-progs.mk b/buildroot-2021.05/package/btrfs-progs/btrfs-progs.mk deleted file mode 100644 index 96456d12..00000000 --- a/buildroot-2021.05/package/btrfs-progs/btrfs-progs.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# btrfs-progs -# -################################################################################ - -BTRFS_PROGS_VERSION = 5.11 -BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs -BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz -BTRFS_PROGS_DEPENDENCIES = host-pkgconf lzo util-linux zlib -BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-zstd --disable-python -BTRFS_PROGS_LICENSE = GPL-2.0, LGPL-3.0+ (libbtrfsutil) -BTRFS_PROGS_LICENSE_FILES = COPYING libbtrfsutil/COPYING \ - libbtrfsutil/COPYING.LESSER -BTRFS_PROGS_INSTALL_STAGING = YES - -# Doesn't autodetect static-only and tries to build both -ifeq ($(BR2_STATIC_LIBS),y) -BTRFS_PROGS_MAKE_OPTS = static -BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static -BTRFS_PROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static -endif - -# convert also supports conversion from reiserfs, which needs some -# reiserfs libraries, but we have no package for them in Buildroot, so -# we keep things simple and only handle ext2. -ifeq ($(BR2_PACKAGE_E2FSPROGS),y) -BTRFS_PROGS_CONF_OPTS += --enable-convert --with-convert=ext2 -BTRFS_PROGS_DEPENDENCIES += e2fsprogs -else -BTRFS_PROGS_CONF_OPTS += --disable-convert -endif - -HOST_BTRFS_PROGS_DEPENDENCIES = host-util-linux host-lzo host-zlib -HOST_BTRFS_PROGS_CONF_OPTS = \ - --disable-backtrace \ - --disable-zstd \ - --disable-python \ - --disable-convert - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/bubblewrap/bubblewrap.hash b/buildroot-2021.05/package/bubblewrap/bubblewrap.hash deleted file mode 100644 index d3ccb4cb..00000000 --- a/buildroot-2021.05/package/bubblewrap/bubblewrap.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed: -sha256 b9c69b9b1c61a608f34325c8e1a495229bacf6e4a07cbb0c80cf7a814d7ccc03 bubblewrap-0.4.1.tar.xz - -# Hash for license files: -sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/buildroot-2021.05/package/bubblewrap/bubblewrap.mk b/buildroot-2021.05/package/bubblewrap/bubblewrap.mk deleted file mode 100644 index 18c17595..00000000 --- a/buildroot-2021.05/package/bubblewrap/bubblewrap.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# bubblewrap -# -################################################################################ - -BUBBLEWRAP_VERSION = 0.4.1 -BUBBLEWRAP_SITE = https://github.com/containers/bubblewrap/releases/download/v$(BUBBLEWRAP_VERSION) -BUBBLEWRAP_SOURCE = bubblewrap-$(BUBBLEWRAP_VERSION).tar.xz -BUBBLEWRAP_DEPENDENCIES = host-pkgconf libcap - -BUBBLEWRAP_LICENSE = LGPL-2.0+ -BUBBLEWRAP_LICENSE_FILES = COPYING -BUBBLEWRAP_CPE_ID_VENDOR = projectatomic - -BUBBLEWRAP_CONF_OPTS = \ - --enable-require-userns=no \ - --disable-man \ - --disable-sudo \ - --with-priv-mode=none - -ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) -BUBBLEWRAP_CONF_OPTS += --with-bash-completion-dir=/usr/share/bash-completion/completions -else -BUBBLEWRAP_CONF_OPTS += --without-bash-completion-dir -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -BUBBLEWRAP_CONF_OPTS += --enable-selinux -BUBBLEWRAP_DEPENDENCIES += libselinux -else -BUBBLEWRAP_CONF_OPTS += --disable-selinux -endif - -# We need to mark bwrap as setuid, in case the kernel -# has user namespaces disabled for non-root users. -define BUBBLEWRAP_PERMISSIONS - /usr/bin/bwrap f 1755 0 0 - - - - - -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bullet/bullet.hash b/buildroot-2021.05/package/bullet/bullet.hash deleted file mode 100644 index 813e8299..00000000 --- a/buildroot-2021.05/package/bullet/bullet.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 f2feef9322329c0571d9066fede2db0ede92b19f7f7fdf54def3b4651f02af03 bullet-3.09.tar.gz -sha256 885cd516a8420acb7c3e0b1a7119913b686495001ae564e3229740460e8cff59 LICENSE.txt diff --git a/buildroot-2021.05/package/bullet/bullet.mk b/buildroot-2021.05/package/bullet/bullet.mk deleted file mode 100644 index 01931b58..00000000 --- a/buildroot-2021.05/package/bullet/bullet.mk +++ /dev/null @@ -1,33 +0,0 @@ -################################################################################ -# -# bullet -# -################################################################################ - -BULLET_VERSION = 3.09 -BULLET_SITE = $(call github,bulletphysics,bullet3,$(BULLET_VERSION)) -BULLET_INSTALL_STAGING = YES -BULLET_LICENSE = Zlib -BULLET_LICENSE_FILES = LICENSE.txt - -# Disable unit tests. -# Don't disable demos apps and Bullet3 library to avoid a build failure: -# https://github.com/bulletphysics/bullet3/issues/3143 -BULLET_CONF_OPTS = -DBUILD_UNIT_TESTS=OFF - -# extras needs dlfcn.h and NPTL (pthread_barrier_init) -ifeq ($(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),:y) -BULLET_CONF_OPTS += -DBUILD_EXTRAS=ON -else -BULLET_CONF_OPTS += -DBUILD_EXTRAS=OFF -endif - -BULLET_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -BULLET_CXXFLAGS += -O0 -endif - -BULLET_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(BULLET_CXXFLAGS)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch b/buildroot-2021.05/package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch deleted file mode 100644 index 3aabc960..00000000 --- a/buildroot-2021.05/package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch +++ /dev/null @@ -1,29 +0,0 @@ -From d4fec31889ad660a58dab633c511221feb66e817 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 5 Oct 2013 15:55:06 +0200 -Subject: [PATCH] networking/libiproute: use instead of - - -The musl C library doesn't provide the since the -corresponding kernel headers already provides the -necessary definitions. Replacing by - also removes the need to include - - -This commit fixes the build of iplink with the musl C library. - -Signed-off-by: Thomas Petazzoni -[Gustavo: update for busybox 1.22.0] - -diff -Nura busybox-1.22.0.orig/networking/libiproute/iplink.c busybox-1.22.0/networking/libiproute/iplink.c ---- busybox-1.22.0.orig/networking/libiproute/iplink.c 2014-01-01 09:42:40.301137882 -0300 -+++ busybox-1.22.0/networking/libiproute/iplink.c 2014-01-01 09:43:01.282827700 -0300 -@@ -7,7 +7,7 @@ - */ - #include - /*#include - not needed? */ --#include -+#include - #include - - #include diff --git a/buildroot-2021.05/package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch b/buildroot-2021.05/package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch deleted file mode 100644 index 84435442..00000000 --- a/buildroot-2021.05/package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 67eb23d2be8aba3c474dac81a15b0fa11e5847b7 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Mon, 25 Nov 2013 22:51:53 +0100 -Subject: [PATCH] Makefile.flags: strip non -l arguments returned by pkg-config - -Signed-off-by: Thomas Petazzoni -[yann.morin.1998@free.fr: refresh for 1.29.0] -[petr.vorel@gmail.com: refresh for 1.32.0] -Signed-off-by: "Yann E. MORIN" -Signed-off-by: Petr Vorel ---- - Makefile.flags | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/Makefile.flags b/Makefile.flags -index 307afa7..885e323 100644 ---- a/Makefile.flags -+++ b/Makefile.flags -@@ -176,7 +176,9 @@ ifeq ($(CONFIG_SELINUX),y) - SELINUX_PC_MODULES = libselinux libsepol - $(eval $(call pkg_check_modules,SELINUX,$(SELINUX_PC_MODULES))) - CPPFLAGS += $(SELINUX_CFLAGS) --LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%)) -+LDLIBS += $(if $(SELINUX_LIBS),\ -+ $(patsubst -l%,%,$(filter -l%,$(SELINUX_LIBS))),\ -+ $(SELINUX_PC_MODULES:lib%=%)) - endif - - ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y) --- -1.8.1.2 - diff --git a/buildroot-2021.05/package/busybox/0003-update_passwd-fix-context-variable.patch b/buildroot-2021.05/package/busybox/0003-update_passwd-fix-context-variable.patch deleted file mode 100644 index 25c07d70..00000000 --- a/buildroot-2021.05/package/busybox/0003-update_passwd-fix-context-variable.patch +++ /dev/null @@ -1,41 +0,0 @@ -From b4828612abe378491693c9036db19e4f64768307 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sun, 10 Jan 2021 13:15:04 +0100 -Subject: [PATCH] update_passwd: fix context variable - -Commit -https://git.busybox.net/busybox/commit/libbb/update_passwd.c?id=2496616b0a8d1c80cd1416b73a4847b59b9f969a - -changed the variable used from context to seuser but forgot this -change resulting in build errors detected by buildroot autobuilders: - -http://autobuild.buildroot.net/results/b89/b89b7d0f0601bb706e76cea31cf4e43326e5540c//build-end.log - -libbb/update_passwd.c:51:11: error: 'context' undeclared (first use in - this function); did you mean 'ucontext'? - freecon(context); - -Patch sent upstream: -http://lists.busybox.net/pipermail/busybox/2021-January/088467.html - -Signed-off-by: Bernd Kuhls ---- - libbb/update_passwd.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libbb/update_passwd.c b/libbb/update_passwd.c -index 7b67f30cd..a228075cc 100644 ---- a/libbb/update_passwd.c -+++ b/libbb/update_passwd.c -@@ -48,7 +48,7 @@ static void check_selinux_update_passwd(const char *username) - bb_simple_error_msg_and_die("SELinux: access denied"); - } - if (ENABLE_FEATURE_CLEAN_UP) -- freecon(context); -+ freecon(seuser); - } - #else - # define check_selinux_update_passwd(username) ((void)0) --- -2.29.2 - diff --git a/buildroot-2021.05/package/busybox/0004-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch b/buildroot-2021.05/package/busybox/0004-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch deleted file mode 100644 index d40cb4d6..00000000 --- a/buildroot-2021.05/package/busybox/0004-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch +++ /dev/null @@ -1,58 +0,0 @@ -From f25d254dfd4243698c31a4f3153d4ac72aa9e9bd Mon Sep 17 00:00:00 2001 -From: Samuel Sapalski -Date: Wed, 3 Mar 2021 16:31:22 +0100 -Subject: [PATCH] decompress_gunzip: Fix DoS if gzip is corrupt - -On certain corrupt gzip files, huft_build will set the error bit on -the result pointer. If afterwards abort_unzip is called huft_free -might run into a segmentation fault or an invalid pointer to -free(p). - -In order to mitigate this, we check in huft_free if the error bit -is set and clear it before the linked list is freed. - -Signed-off-by: Samuel Sapalski -Signed-off-by: Peter Kaestle -Signed-off-by: Denys Vlasenko -Signed-off-by: Peter Korsgaard ---- - archival/libarchive/decompress_gunzip.c | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -diff --git a/archival/libarchive/decompress_gunzip.c b/archival/libarchive/decompress_gunzip.c -index eb3b64930..e93cd5005 100644 ---- a/archival/libarchive/decompress_gunzip.c -+++ b/archival/libarchive/decompress_gunzip.c -@@ -220,10 +220,20 @@ static const uint8_t border[] ALIGN1 = { - * each table. - * t: table to free - */ -+#define BAD_HUFT(p) ((uintptr_t)(p) & 1) -+#define ERR_RET ((huft_t*)(uintptr_t)1) - static void huft_free(huft_t *p) - { - huft_t *q; - -+ /* -+ * If 'p' has the error bit set we have to clear it, otherwise we might run -+ * into a segmentation fault or an invalid pointer to free(p) -+ */ -+ if (BAD_HUFT(p)) { -+ p = (huft_t*)((uintptr_t)(p) ^ (uintptr_t)(ERR_RET)); -+ } -+ - /* Go through linked list, freeing from the malloced (t[-1]) address. */ - while (p) { - q = (--p)->v.t; -@@ -289,8 +299,6 @@ static unsigned fill_bitbuffer(STATE_PARAM unsigned bitbuffer, unsigned *current - * or a valid pointer to a Huffman table, ORed with 0x1 if incompete table - * is given: "fixed inflate" decoder feeds us such data. - */ --#define BAD_HUFT(p) ((uintptr_t)(p) & 1) --#define ERR_RET ((huft_t*)(uintptr_t)1) - static huft_t* huft_build(const unsigned *b, const unsigned n, - const unsigned s, const struct cp_ext *cp_ext, - unsigned *m) --- -2.20.1 - diff --git a/buildroot-2021.05/package/busybox/busybox-minimal.config b/buildroot-2021.05/package/busybox/busybox-minimal.config deleted file mode 100644 index a7aa19ea..00000000 --- a/buildroot-2021.05/package/busybox/busybox-minimal.config +++ /dev/null @@ -1,1143 +0,0 @@ -# -# Automatically generated make config: don't edit -# Busybox version: 1.28.0 -# Wed Feb 7 09:47:09 2018 -# -CONFIG_HAVE_DOT_CONFIG=y - -# -# Settings -# -# CONFIG_DESKTOP is not set -# CONFIG_EXTRA_COMPAT is not set -# CONFIG_FEDORA_COMPAT is not set -CONFIG_INCLUDE_SUSv2=y -CONFIG_LONG_OPTS=y -# CONFIG_SHOW_USAGE is not set -# CONFIG_FEATURE_VERBOSE_USAGE is not set -# CONFIG_FEATURE_COMPRESS_USAGE is not set -CONFIG_LFS=y -# CONFIG_PAM is not set -CONFIG_FEATURE_DEVPTS=y -CONFIG_FEATURE_UTMP=y -CONFIG_FEATURE_WTMP=y -# CONFIG_FEATURE_PIDFILE is not set -CONFIG_PID_FILE_PATH="" -CONFIG_BUSYBOX=y -CONFIG_FEATURE_INSTALLER=y -# CONFIG_INSTALL_NO_USR is not set -CONFIG_FEATURE_SUID=y -# CONFIG_FEATURE_SUID_CONFIG is not set -# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set -# CONFIG_FEATURE_PREFER_APPLETS is not set -CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" -# CONFIG_SELINUX is not set -# CONFIG_FEATURE_CLEAN_UP is not set -CONFIG_FEATURE_SYSLOG=y -CONFIG_PLATFORM_LINUX=y - -# -# Build Options -# -CONFIG_STATIC=y -# CONFIG_PIE is not set -# CONFIG_NOMMU is not set -# CONFIG_BUILD_LIBBUSYBOX is not set -# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set -# CONFIG_FEATURE_INDIVIDUAL is not set -# CONFIG_FEATURE_SHARED_BUSYBOX is not set -CONFIG_CROSS_COMPILER_PREFIX="" -CONFIG_SYSROOT="" -CONFIG_EXTRA_CFLAGS="" -CONFIG_EXTRA_LDFLAGS="" -CONFIG_EXTRA_LDLIBS="" -# CONFIG_USE_PORTABLE_CODE is not set - -# -# Installation Options ("make install" behavior) -# -CONFIG_INSTALL_APPLET_SYMLINKS=y -# CONFIG_INSTALL_APPLET_HARDLINKS is not set -# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set -# CONFIG_INSTALL_APPLET_DONT is not set -# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set -# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set -# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set -CONFIG_PREFIX="./_install" - -# -# Debugging Options -# -# CONFIG_DEBUG is not set -# CONFIG_DEBUG_PESSIMIZE is not set -# CONFIG_DEBUG_SANITIZE is not set -# CONFIG_UNIT_TEST is not set -# CONFIG_WERROR is not set -CONFIG_NO_DEBUG_LIB=y -# CONFIG_DMALLOC is not set -# CONFIG_EFENCE is not set - -# -# Library Tuning -# -# CONFIG_FEATURE_USE_BSS_TAIL is not set -CONFIG_FEATURE_RTMINMAX=y -CONFIG_FEATURE_BUFFERS_USE_MALLOC=y -# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set -# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set -CONFIG_PASSWORD_MINLEN=6 -CONFIG_MD5_SMALL=1 -CONFIG_SHA3_SMALL=1 -# CONFIG_FEATURE_FAST_TOP is not set -# CONFIG_FEATURE_ETC_NETWORKS is not set -CONFIG_FEATURE_EDITING=y -CONFIG_FEATURE_EDITING_MAX_LEN=1024 -CONFIG_FEATURE_EDITING_VI=y -CONFIG_FEATURE_EDITING_HISTORY=999 -CONFIG_FEATURE_EDITING_SAVEHISTORY=y -# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set -CONFIG_FEATURE_REVERSE_SEARCH=y -CONFIG_FEATURE_TAB_COMPLETION=y -# CONFIG_FEATURE_USERNAME_COMPLETION is not set -CONFIG_FEATURE_EDITING_FANCY_PROMPT=y -# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set -# CONFIG_LOCALE_SUPPORT is not set -# CONFIG_UNICODE_SUPPORT is not set -# CONFIG_UNICODE_USING_LOCALE is not set -# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set -CONFIG_SUBST_WCHAR=0 -CONFIG_LAST_SUPPORTED_WCHAR=0 -# CONFIG_UNICODE_COMBINING_WCHARS is not set -# CONFIG_UNICODE_WIDE_WCHARS is not set -# CONFIG_UNICODE_BIDI_SUPPORT is not set -# CONFIG_UNICODE_NEUTRAL_TABLE is not set -# CONFIG_UNICODE_PRESERVE_BROKEN is not set -CONFIG_FEATURE_NON_POSIX_CP=y -# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set -CONFIG_FEATURE_USE_SENDFILE=y -CONFIG_FEATURE_COPYBUF_KB=4 -CONFIG_FEATURE_SKIP_ROOTFS=y -CONFIG_MONOTONIC_SYSCALL=y -CONFIG_IOCTL_HEX2STR_ERROR=y -CONFIG_FEATURE_HWIB=y - -# -# Applets -# - -# -# Archival Utilities -# -# CONFIG_FEATURE_SEAMLESS_XZ is not set -# CONFIG_FEATURE_SEAMLESS_LZMA is not set -# CONFIG_FEATURE_SEAMLESS_BZ2 is not set -# CONFIG_FEATURE_SEAMLESS_GZ is not set -# CONFIG_FEATURE_SEAMLESS_Z is not set -# CONFIG_AR is not set -# CONFIG_FEATURE_AR_LONG_FILENAMES is not set -# CONFIG_FEATURE_AR_CREATE is not set -# CONFIG_UNCOMPRESS is not set -# CONFIG_GUNZIP is not set -CONFIG_ZCAT=y -# CONFIG_FEATURE_GUNZIP_LONG_OPTIONS is not set -# CONFIG_BUNZIP2 is not set -CONFIG_BZCAT=y -# CONFIG_UNLZMA is not set -CONFIG_LZCAT=y -# CONFIG_LZMA is not set -# CONFIG_UNXZ is not set -CONFIG_XZCAT=y -# CONFIG_XZ is not set -# CONFIG_BZIP2 is not set -CONFIG_FEATURE_BZIP2_DECOMPRESS=y -# CONFIG_CPIO is not set -# CONFIG_FEATURE_CPIO_O is not set -# CONFIG_FEATURE_CPIO_P is not set -# CONFIG_DPKG is not set -# CONFIG_DPKG_DEB is not set -# CONFIG_GZIP is not set -# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set -CONFIG_GZIP_FAST=0 -# CONFIG_FEATURE_GZIP_LEVELS is not set -CONFIG_FEATURE_GZIP_DECOMPRESS=y -# CONFIG_LZOP is not set -CONFIG_UNLZOP=y -CONFIG_LZOPCAT=y -# CONFIG_LZOP_COMPR_HIGH is not set -# CONFIG_RPM is not set -# CONFIG_RPM2CPIO is not set -# CONFIG_TAR is not set -# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set -# CONFIG_FEATURE_TAR_CREATE is not set -# CONFIG_FEATURE_TAR_AUTODETECT is not set -# CONFIG_FEATURE_TAR_FROM is not set -# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set -# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set -# CONFIG_FEATURE_TAR_GNU_EXTENSIONS is not set -# CONFIG_FEATURE_TAR_TO_COMMAND is not set -# CONFIG_FEATURE_TAR_UNAME_GNAME is not set -# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set -# CONFIG_FEATURE_TAR_SELINUX is not set -# CONFIG_UNZIP is not set -# CONFIG_FEATURE_UNZIP_CDF is not set -# CONFIG_FEATURE_UNZIP_BZIP2 is not set -# CONFIG_FEATURE_UNZIP_LZMA is not set -# CONFIG_FEATURE_UNZIP_XZ is not set -# CONFIG_FEATURE_LZMA_FAST is not set - -# -# Coreutils -# -CONFIG_BASENAME=y -CONFIG_CAT=y -CONFIG_FEATURE_CATN=y -CONFIG_FEATURE_CATV=y -CONFIG_CHGRP=y -CONFIG_CHMOD=y -CONFIG_CHOWN=y -# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set -CONFIG_CHROOT=y -CONFIG_CKSUM=y -# CONFIG_COMM is not set -CONFIG_CP=y -# CONFIG_FEATURE_CP_LONG_OPTIONS is not set -CONFIG_CUT=y -CONFIG_DATE=y -CONFIG_FEATURE_DATE_ISOFMT=y -# CONFIG_FEATURE_DATE_NANO is not set -CONFIG_FEATURE_DATE_COMPAT=y -CONFIG_DD=y -CONFIG_FEATURE_DD_SIGNAL_HANDLING=y -# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set -CONFIG_FEATURE_DD_IBS_OBS=y -CONFIG_FEATURE_DD_STATUS=y -CONFIG_DF=y -# CONFIG_FEATURE_DF_FANCY is not set -CONFIG_DIRNAME=y -CONFIG_DOS2UNIX=y -CONFIG_UNIX2DOS=y -CONFIG_DU=y -CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y -CONFIG_ECHO=y -CONFIG_FEATURE_FANCY_ECHO=y -CONFIG_ENV=y -# CONFIG_EXPAND is not set -# CONFIG_UNEXPAND is not set -CONFIG_EXPR=y -CONFIG_EXPR_MATH_SUPPORT_64=y -CONFIG_FACTOR=y -CONFIG_FALSE=y -CONFIG_FOLD=y -# CONFIG_FSYNC is not set -CONFIG_HEAD=y -CONFIG_FEATURE_FANCY_HEAD=y -CONFIG_HOSTID=y -CONFIG_ID=y -# CONFIG_GROUPS is not set -CONFIG_INSTALL=y -CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y -CONFIG_LINK=y -CONFIG_LN=y -CONFIG_LOGNAME=y -CONFIG_LS=y -CONFIG_FEATURE_LS_FILETYPES=y -CONFIG_FEATURE_LS_FOLLOWLINKS=y -CONFIG_FEATURE_LS_RECURSIVE=y -CONFIG_FEATURE_LS_WIDTH=y -CONFIG_FEATURE_LS_SORTFILES=y -CONFIG_FEATURE_LS_TIMESTAMPS=y -CONFIG_FEATURE_LS_USERNAME=y -CONFIG_FEATURE_LS_COLOR=y -CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y -CONFIG_MD5SUM=y -CONFIG_SHA1SUM=y -CONFIG_SHA256SUM=y -CONFIG_SHA512SUM=y -CONFIG_SHA3SUM=y - -# -# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum -# -CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y -CONFIG_MKDIR=y -CONFIG_MKFIFO=y -CONFIG_MKNOD=y -# CONFIG_MKTEMP is not set -CONFIG_MV=y -CONFIG_NICE=y -CONFIG_NL=y -CONFIG_NOHUP=y -CONFIG_NPROC=y -CONFIG_OD=y -CONFIG_PASTE=y -CONFIG_PRINTENV=y -CONFIG_PRINTF=y -CONFIG_PWD=y -CONFIG_READLINK=y -CONFIG_FEATURE_READLINK_FOLLOW=y -CONFIG_REALPATH=y -CONFIG_RM=y -CONFIG_RMDIR=y -CONFIG_SEQ=y -CONFIG_SHRED=y -# CONFIG_SHUF is not set -CONFIG_SLEEP=y -CONFIG_FEATURE_FANCY_SLEEP=y -CONFIG_FEATURE_FLOAT_SLEEP=y -CONFIG_SORT=y -CONFIG_FEATURE_SORT_BIG=y -# CONFIG_SPLIT is not set -# CONFIG_FEATURE_SPLIT_FANCY is not set -# CONFIG_STAT is not set -# CONFIG_FEATURE_STAT_FORMAT is not set -# CONFIG_FEATURE_STAT_FILESYSTEM is not set -CONFIG_STTY=y -# CONFIG_SUM is not set -CONFIG_SYNC=y -# CONFIG_FEATURE_SYNC_FANCY is not set -# CONFIG_TAC is not set -CONFIG_TAIL=y -CONFIG_FEATURE_FANCY_TAIL=y -CONFIG_TEE=y -CONFIG_FEATURE_TEE_USE_BLOCK_IO=y -CONFIG_TEST=y -CONFIG_TEST1=y -CONFIG_TEST2=y -CONFIG_FEATURE_TEST_64=y -# CONFIG_TIMEOUT is not set -CONFIG_TOUCH=y -# CONFIG_FEATURE_TOUCH_NODEREF is not set -CONFIG_FEATURE_TOUCH_SUSV3=y -CONFIG_TR=y -CONFIG_FEATURE_TR_CLASSES=y -CONFIG_FEATURE_TR_EQUIV=y -CONFIG_TRUE=y -CONFIG_TRUNCATE=y -CONFIG_TTY=y -CONFIG_UNAME=y -CONFIG_UNAME_OSNAME="GNU/Linux" -CONFIG_BB_ARCH=y -CONFIG_UNIQ=y -CONFIG_UNLINK=y -CONFIG_USLEEP=y -CONFIG_UUDECODE=y -# CONFIG_BASE64 is not set -CONFIG_UUENCODE=y -CONFIG_WC=y -# CONFIG_FEATURE_WC_LARGE is not set -CONFIG_WHOAMI=y -CONFIG_WHO=y -CONFIG_W=y -# CONFIG_USERS is not set -CONFIG_YES=y - -# -# Common options -# -CONFIG_FEATURE_VERBOSE=y - -# -# Common options for cp and mv -# -CONFIG_FEATURE_PRESERVE_HARDLINKS=y - -# -# Common options for df, du, ls -# -CONFIG_FEATURE_HUMAN_READABLE=y - -# -# Console Utilities -# -# CONFIG_CHVT is not set -# CONFIG_CLEAR is not set -# CONFIG_DEALLOCVT is not set -# CONFIG_DUMPKMAP is not set -# CONFIG_FGCONSOLE is not set -# CONFIG_KBD_MODE is not set -# CONFIG_LOADFONT is not set -# CONFIG_SETFONT is not set -# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set -CONFIG_DEFAULT_SETFONT_DIR="" -# CONFIG_FEATURE_LOADFONT_PSF2 is not set -# CONFIG_FEATURE_LOADFONT_RAW is not set -# CONFIG_LOADKMAP is not set -# CONFIG_OPENVT is not set -# CONFIG_RESET is not set -# CONFIG_RESIZE is not set -# CONFIG_FEATURE_RESIZE_PRINT is not set -# CONFIG_SETCONSOLE is not set -# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set -# CONFIG_SETKEYCODES is not set -# CONFIG_SETLOGCONS is not set -# CONFIG_SHOWKEY is not set - -# -# Debian Utilities -# -# CONFIG_PIPE_PROGRESS is not set -CONFIG_RUN_PARTS=y -CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y -CONFIG_FEATURE_RUN_PARTS_FANCY=y -CONFIG_START_STOP_DAEMON=y -CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y -CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y -CONFIG_WHICH=y - -# -# klibc-utils -# -# CONFIG_MINIPS is not set -CONFIG_NUKE=y -CONFIG_RESUME=y -CONFIG_RUN_INIT=y - -# -# Editors -# -# CONFIG_AWK is not set -# CONFIG_FEATURE_AWK_LIBM is not set -# CONFIG_FEATURE_AWK_GNU_EXTENSIONS is not set -# CONFIG_CMP is not set -# CONFIG_DIFF is not set -# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set -# CONFIG_FEATURE_DIFF_DIR is not set -# CONFIG_ED is not set -# CONFIG_PATCH is not set -CONFIG_SED=y -# CONFIG_VI is not set -CONFIG_FEATURE_VI_MAX_LEN=0 -# CONFIG_FEATURE_VI_8BIT is not set -# CONFIG_FEATURE_VI_COLON is not set -# CONFIG_FEATURE_VI_YANKMARK is not set -# CONFIG_FEATURE_VI_SEARCH is not set -# CONFIG_FEATURE_VI_REGEX_SEARCH is not set -# CONFIG_FEATURE_VI_USE_SIGNALS is not set -# CONFIG_FEATURE_VI_DOT_CMD is not set -# CONFIG_FEATURE_VI_READONLY is not set -# CONFIG_FEATURE_VI_SETOPTS is not set -# CONFIG_FEATURE_VI_SET is not set -# CONFIG_FEATURE_VI_WIN_RESIZE is not set -# CONFIG_FEATURE_VI_ASK_TERMINAL is not set -# CONFIG_FEATURE_VI_UNDO is not set -# CONFIG_FEATURE_VI_UNDO_QUEUE is not set -CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=0 -# CONFIG_FEATURE_ALLOW_EXEC is not set - -# -# Finding Utilities -# -# CONFIG_FIND is not set -# CONFIG_FEATURE_FIND_PRINT0 is not set -# CONFIG_FEATURE_FIND_MTIME is not set -# CONFIG_FEATURE_FIND_MMIN is not set -# CONFIG_FEATURE_FIND_PERM is not set -# CONFIG_FEATURE_FIND_TYPE is not set -# CONFIG_FEATURE_FIND_XDEV is not set -# CONFIG_FEATURE_FIND_MAXDEPTH is not set -# CONFIG_FEATURE_FIND_NEWER is not set -# CONFIG_FEATURE_FIND_INUM is not set -# CONFIG_FEATURE_FIND_EXEC is not set -# CONFIG_FEATURE_FIND_EXEC_PLUS is not set -# CONFIG_FEATURE_FIND_USER is not set -# CONFIG_FEATURE_FIND_GROUP is not set -# CONFIG_FEATURE_FIND_NOT is not set -# CONFIG_FEATURE_FIND_DEPTH is not set -# CONFIG_FEATURE_FIND_PAREN is not set -# CONFIG_FEATURE_FIND_SIZE is not set -# CONFIG_FEATURE_FIND_PRUNE is not set -# CONFIG_FEATURE_FIND_DELETE is not set -# CONFIG_FEATURE_FIND_PATH is not set -# CONFIG_FEATURE_FIND_REGEX is not set -# CONFIG_FEATURE_FIND_CONTEXT is not set -# CONFIG_FEATURE_FIND_LINKS is not set -CONFIG_GREP=y -CONFIG_EGREP=y -CONFIG_FGREP=y -CONFIG_FEATURE_GREP_CONTEXT=y -CONFIG_XARGS=y -# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set -CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y -CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y -CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y -CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y -CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL=y -CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y - -# -# Init Utilities -# -# CONFIG_BOOTCHARTD is not set -# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set -# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set -CONFIG_HALT=y -CONFIG_POWEROFF=y -CONFIG_REBOOT=y -# CONFIG_FEATURE_CALL_TELINIT is not set -CONFIG_TELINIT_PATH="" -CONFIG_INIT=y -CONFIG_LINUXRC=y -CONFIG_FEATURE_USE_INITTAB=y -CONFIG_FEATURE_KILL_REMOVED=y -CONFIG_FEATURE_KILL_DELAY=0 -CONFIG_FEATURE_INIT_SCTTY=y -CONFIG_FEATURE_INIT_SYSLOG=y -CONFIG_FEATURE_INIT_QUIET=y -# CONFIG_FEATURE_INIT_COREDUMPS is not set -CONFIG_INIT_TERMINAL_TYPE="linux" -CONFIG_FEATURE_INIT_MODIFY_CMDLINE=y - -# -# Login/Password Management Utilities -# -CONFIG_FEATURE_SHADOWPASSWDS=y -# CONFIG_USE_BB_PWD_GRP is not set -# CONFIG_USE_BB_SHADOW is not set -CONFIG_USE_BB_CRYPT=y -# CONFIG_USE_BB_CRYPT_SHA is not set -# CONFIG_ADDGROUP is not set -# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set -# CONFIG_ADD_SHELL is not set -# CONFIG_REMOVE_SHELL is not set -CONFIG_ADDUSER=y -# CONFIG_FEATURE_CHECK_NAMES is not set -CONFIG_LAST_ID=60000 -CONFIG_FIRST_SYSTEM_ID=100 -CONFIG_LAST_SYSTEM_ID=999 -# CONFIG_CHPASSWD is not set -CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des" -# CONFIG_CRYPTPW is not set -# CONFIG_MKPASSWD is not set -# CONFIG_DELUSER is not set -# CONFIG_DELGROUP is not set -# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set -CONFIG_GETTY=y -CONFIG_LOGIN=y -# CONFIG_LOGIN_SESSION_AS_CHILD is not set -# CONFIG_LOGIN_SCRIPTS is not set -CONFIG_FEATURE_NOLOGIN=y -CONFIG_FEATURE_SECURETTY=y -CONFIG_PASSWD=y -CONFIG_FEATURE_PASSWD_WEAK_CHECK=y -# CONFIG_SU is not set -# CONFIG_FEATURE_SU_SYSLOG is not set -# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set -# CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY is not set -# CONFIG_SULOGIN is not set -# CONFIG_VLOCK is not set - -# -# Linux Ext2 FS Progs -# -# CONFIG_CHATTR is not set -# CONFIG_FSCK is not set -# CONFIG_LSATTR is not set -# CONFIG_TUNE2FS is not set - -# -# Linux Module Utilities -# -# CONFIG_MODPROBE_SMALL is not set -# CONFIG_DEPMOD is not set -# CONFIG_INSMOD is not set -# CONFIG_LSMOD is not set -# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set -# CONFIG_MODINFO is not set -# CONFIG_MODPROBE is not set -# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set -# CONFIG_RMMOD is not set - -# -# Options common to multiple modutils -# -# CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS is not set -# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set -# CONFIG_FEATURE_2_4_MODULES is not set -# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set -# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set -# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set -# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set -# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set -# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set -# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set -# CONFIG_FEATURE_MODUTILS_ALIAS is not set -# CONFIG_FEATURE_MODUTILS_SYMBOLS is not set -CONFIG_DEFAULT_MODULES_DIR="" -CONFIG_DEFAULT_DEPMOD_FILE="" - -# -# Linux System Utilities -# -# CONFIG_ACPID is not set -# CONFIG_FEATURE_ACPID_COMPAT is not set -# CONFIG_BLKDISCARD is not set -# CONFIG_BLKID is not set -# CONFIG_FEATURE_BLKID_TYPE is not set -# CONFIG_BLOCKDEV is not set -# CONFIG_CAL is not set -# CONFIG_CHRT is not set -CONFIG_DMESG=y -CONFIG_FEATURE_DMESG_PRETTY=y -# CONFIG_EJECT is not set -# CONFIG_FEATURE_EJECT_SCSI is not set -CONFIG_FALLOCATE=y -# CONFIG_FATATTR is not set -# CONFIG_FBSET is not set -# CONFIG_FEATURE_FBSET_FANCY is not set -# CONFIG_FEATURE_FBSET_READMODE is not set -# CONFIG_FDFORMAT is not set -# CONFIG_FDISK is not set -# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set -# CONFIG_FEATURE_FDISK_WRITABLE is not set -# CONFIG_FEATURE_AIX_LABEL is not set -# CONFIG_FEATURE_SGI_LABEL is not set -# CONFIG_FEATURE_SUN_LABEL is not set -# CONFIG_FEATURE_OSF_LABEL is not set -# CONFIG_FEATURE_GPT_LABEL is not set -# CONFIG_FEATURE_FDISK_ADVANCED is not set -# CONFIG_FINDFS is not set -# CONFIG_FLOCK is not set -# CONFIG_FDFLUSH is not set -CONFIG_FREERAMDISK=y -# CONFIG_FSCK_MINIX is not set -CONFIG_FSFREEZE=y -# CONFIG_FSTRIM is not set -CONFIG_GETOPT=y -CONFIG_FEATURE_GETOPT_LONG=y -# CONFIG_HEXDUMP is not set -# CONFIG_FEATURE_HEXDUMP_REVERSE is not set -# CONFIG_HD is not set -CONFIG_XXD=y -# CONFIG_HWCLOCK is not set -# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set -# CONFIG_IONICE is not set -# CONFIG_IPCRM is not set -# CONFIG_IPCS is not set -# CONFIG_LAST is not set -# CONFIG_FEATURE_LAST_FANCY is not set -# CONFIG_LOSETUP is not set -# CONFIG_LSPCI is not set -# CONFIG_LSUSB is not set -# CONFIG_MDEV is not set -# CONFIG_FEATURE_MDEV_CONF is not set -# CONFIG_FEATURE_MDEV_RENAME is not set -# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set -# CONFIG_FEATURE_MDEV_EXEC is not set -# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set -CONFIG_MESG=y -CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y -CONFIG_MKE2FS=y -# CONFIG_MKFS_EXT2 is not set -# CONFIG_MKFS_MINIX is not set -# CONFIG_FEATURE_MINIX2 is not set -# CONFIG_MKFS_REISER is not set -CONFIG_MKDOSFS=y -# CONFIG_MKFS_VFAT is not set -# CONFIG_MKSWAP is not set -# CONFIG_FEATURE_MKSWAP_UUID is not set -CONFIG_MORE=y -CONFIG_MOUNT=y -# CONFIG_FEATURE_MOUNT_FAKE is not set -# CONFIG_FEATURE_MOUNT_VERBOSE is not set -# CONFIG_FEATURE_MOUNT_HELPERS is not set -# CONFIG_FEATURE_MOUNT_LABEL is not set -# CONFIG_FEATURE_MOUNT_NFS is not set -CONFIG_FEATURE_MOUNT_CIFS=y -CONFIG_FEATURE_MOUNT_FLAGS=y -CONFIG_FEATURE_MOUNT_FSTAB=y -CONFIG_FEATURE_MOUNT_OTHERTAB=y -# CONFIG_MOUNTPOINT is not set -# CONFIG_NSENTER is not set -# CONFIG_PIVOT_ROOT is not set -# CONFIG_RDATE is not set -# CONFIG_RDEV is not set -# CONFIG_READPROFILE is not set -# CONFIG_RENICE is not set -# CONFIG_REV is not set -# CONFIG_RTCWAKE is not set -# CONFIG_SCRIPT is not set -# CONFIG_SCRIPTREPLAY is not set -# CONFIG_SETARCH is not set -CONFIG_LINUX32=y -CONFIG_LINUX64=y -CONFIG_SETPRIV=y -CONFIG_FEATURE_SETPRIV_DUMP=y -CONFIG_FEATURE_SETPRIV_CAPABILITIES=y -CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES=y -# CONFIG_SETSID is not set -CONFIG_SWAPON=y -# CONFIG_FEATURE_SWAPON_DISCARD is not set -# CONFIG_FEATURE_SWAPON_PRI is not set -CONFIG_SWAPOFF=y -CONFIG_FEATURE_SWAPONOFF_LABEL=y -# CONFIG_SWITCH_ROOT is not set -# CONFIG_TASKSET is not set -# CONFIG_FEATURE_TASKSET_FANCY is not set -# CONFIG_UEVENT is not set -CONFIG_UMOUNT=y -CONFIG_FEATURE_UMOUNT_ALL=y -# CONFIG_UNSHARE is not set -# CONFIG_WALL is not set - -# -# Common options for mount/umount -# -CONFIG_FEATURE_MOUNT_LOOP=y -CONFIG_FEATURE_MOUNT_LOOP_CREATE=y -# CONFIG_FEATURE_MTAB_SUPPORT is not set -CONFIG_VOLUMEID=y - -# -# Filesystem/Volume identification -# -# CONFIG_FEATURE_VOLUMEID_BCACHE is not set -# CONFIG_FEATURE_VOLUMEID_BTRFS is not set -# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set -# CONFIG_FEATURE_VOLUMEID_EXFAT is not set -# CONFIG_FEATURE_VOLUMEID_EXT is not set -# CONFIG_FEATURE_VOLUMEID_F2FS is not set -# CONFIG_FEATURE_VOLUMEID_FAT is not set -# CONFIG_FEATURE_VOLUMEID_HFS is not set -# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set -# CONFIG_FEATURE_VOLUMEID_JFS is not set -# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set -# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set -# CONFIG_FEATURE_VOLUMEID_LUKS is not set -CONFIG_FEATURE_VOLUMEID_MINIX=y -# CONFIG_FEATURE_VOLUMEID_NILFS is not set -# CONFIG_FEATURE_VOLUMEID_NTFS is not set -# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set -# CONFIG_FEATURE_VOLUMEID_REISERFS is not set -# CONFIG_FEATURE_VOLUMEID_ROMFS is not set -# CONFIG_FEATURE_VOLUMEID_SQUASHFS is not set -# CONFIG_FEATURE_VOLUMEID_SYSV is not set -# CONFIG_FEATURE_VOLUMEID_UBIFS is not set -# CONFIG_FEATURE_VOLUMEID_UDF is not set -# CONFIG_FEATURE_VOLUMEID_XFS is not set - -# -# Miscellaneous Utilities -# -# CONFIG_ADJTIMEX is not set -# CONFIG_BBCONFIG is not set -# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set -# CONFIG_BEEP is not set -CONFIG_FEATURE_BEEP_FREQ=0 -CONFIG_FEATURE_BEEP_LENGTH_MS=0 -# CONFIG_CHAT is not set -# CONFIG_FEATURE_CHAT_NOFAIL is not set -# CONFIG_FEATURE_CHAT_TTY_HIFI is not set -# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set -# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set -# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set -# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set -# CONFIG_FEATURE_CHAT_CLR_ABORT is not set -# CONFIG_CONSPY is not set -# CONFIG_CROND is not set -# CONFIG_FEATURE_CROND_D is not set -# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set -# CONFIG_FEATURE_CROND_SPECIAL_TIMES is not set -CONFIG_FEATURE_CROND_DIR="" -# CONFIG_CRONTAB is not set -# CONFIG_DC is not set -# CONFIG_FEATURE_DC_LIBM is not set -# CONFIG_DEVFSD is not set -# CONFIG_DEVFSD_MODLOAD is not set -# CONFIG_DEVFSD_FG_NP is not set -# CONFIG_DEVFSD_VERBOSE is not set -# CONFIG_FEATURE_DEVFS is not set -# CONFIG_DEVMEM is not set -# CONFIG_FBSPLASH is not set -# CONFIG_FLASHCP is not set -# CONFIG_FLASH_ERASEALL is not set -# CONFIG_FLASH_LOCK is not set -# CONFIG_FLASH_UNLOCK is not set -# CONFIG_HDPARM is not set -# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set -# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set -# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set -CONFIG_HEXEDIT=y -# CONFIG_I2CGET is not set -# CONFIG_I2CSET is not set -# CONFIG_I2CDUMP is not set -# CONFIG_I2CDETECT is not set -# CONFIG_INOTIFYD is not set -# CONFIG_LESS is not set -CONFIG_FEATURE_LESS_MAXLINES=0 -# CONFIG_FEATURE_LESS_BRACKETS is not set -# CONFIG_FEATURE_LESS_FLAGS is not set -# CONFIG_FEATURE_LESS_TRUNCATE is not set -# CONFIG_FEATURE_LESS_MARKS is not set -# CONFIG_FEATURE_LESS_REGEXP is not set -# CONFIG_FEATURE_LESS_WINCH is not set -# CONFIG_FEATURE_LESS_ASK_TERMINAL is not set -# CONFIG_FEATURE_LESS_DASHCMD is not set -# CONFIG_FEATURE_LESS_LINENUMS is not set -CONFIG_LSSCSI=y -# CONFIG_MAKEDEVS is not set -# CONFIG_FEATURE_MAKEDEVS_LEAF is not set -# CONFIG_FEATURE_MAKEDEVS_TABLE is not set -# CONFIG_MAN is not set -# CONFIG_MICROCOM is not set -# CONFIG_MT is not set -# CONFIG_NANDWRITE is not set -# CONFIG_NANDDUMP is not set -CONFIG_PARTPROBE=y -# CONFIG_RAIDAUTORUN is not set -# CONFIG_READAHEAD is not set -# CONFIG_RFKILL is not set -# CONFIG_RUNLEVEL is not set -# CONFIG_RX is not set -CONFIG_SETFATTR=y -CONFIG_SETSERIAL=y -# CONFIG_STRINGS is not set -# CONFIG_TIME is not set -# CONFIG_TTYSIZE is not set -# CONFIG_UBIRENAME is not set -# CONFIG_UBIATTACH is not set -# CONFIG_UBIDETACH is not set -# CONFIG_UBIMKVOL is not set -# CONFIG_UBIRMVOL is not set -# CONFIG_UBIRSVOL is not set -# CONFIG_UBIUPDATEVOL is not set -# CONFIG_VOLNAME is not set -# CONFIG_WATCHDOG is not set - -# -# Networking Utilities -# -# CONFIG_FEATURE_IPV6 is not set -# CONFIG_FEATURE_UNIX_LOCAL is not set -# CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set -# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set -# CONFIG_ARP is not set -# CONFIG_ARPING is not set -# CONFIG_BRCTL is not set -# CONFIG_FEATURE_BRCTL_FANCY is not set -# CONFIG_FEATURE_BRCTL_SHOW is not set -# CONFIG_DNSD is not set -# CONFIG_ETHER_WAKE is not set -# CONFIG_FTPD is not set -# CONFIG_FEATURE_FTPD_WRITE is not set -# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set -# CONFIG_FEATURE_FTPD_AUTHENTICATION is not set -# CONFIG_FTPGET is not set -# CONFIG_FTPPUT is not set -# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -CONFIG_HOSTNAME=y -CONFIG_DNSDOMAINNAME=y -# CONFIG_HTTPD is not set -# CONFIG_FEATURE_HTTPD_RANGES is not set -# CONFIG_FEATURE_HTTPD_SETUID is not set -# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set -# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set -# CONFIG_FEATURE_HTTPD_CGI is not set -# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set -# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set -# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set -# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set -# CONFIG_FEATURE_HTTPD_PROXY is not set -# CONFIG_FEATURE_HTTPD_GZIP is not set -CONFIG_IFCONFIG=y -CONFIG_FEATURE_IFCONFIG_STATUS=y -# CONFIG_FEATURE_IFCONFIG_SLIP is not set -# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set -CONFIG_FEATURE_IFCONFIG_HW=y -CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y -# CONFIG_IFENSLAVE is not set -# CONFIG_IFPLUGD is not set -CONFIG_IFUP=y -CONFIG_IFDOWN=y -CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" -CONFIG_FEATURE_IFUPDOWN_IP=y -CONFIG_FEATURE_IFUPDOWN_IPV4=y -# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set -# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set -CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y -# CONFIG_INETD is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set -# CONFIG_FEATURE_INETD_RPC is not set -CONFIG_IP=y -CONFIG_IPADDR=y -CONFIG_IPLINK=y -CONFIG_IPROUTE=y -# CONFIG_IPTUNNEL is not set -# CONFIG_IPRULE is not set -# CONFIG_IPNEIGH is not set -CONFIG_FEATURE_IP_ADDRESS=y -CONFIG_FEATURE_IP_LINK=y -CONFIG_FEATURE_IP_ROUTE=y -CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2" -# CONFIG_FEATURE_IP_TUNNEL is not set -# CONFIG_FEATURE_IP_RULE is not set -# CONFIG_FEATURE_IP_NEIGH is not set -# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set -# CONFIG_IPCALC is not set -# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set -# CONFIG_FEATURE_IPCALC_FANCY is not set -# CONFIG_FAKEIDENTD is not set -# CONFIG_NAMEIF is not set -# CONFIG_FEATURE_NAMEIF_EXTENDED is not set -# CONFIG_NBDCLIENT is not set -CONFIG_NC=y -# CONFIG_NETCAT is not set -CONFIG_NC_SERVER=y -# CONFIG_NC_EXTRA is not set -# CONFIG_NC_110_COMPAT is not set -CONFIG_NETSTAT=y -# CONFIG_FEATURE_NETSTAT_WIDE is not set -CONFIG_FEATURE_NETSTAT_PRG=y -# CONFIG_NSLOOKUP is not set -# CONFIG_NTPD is not set -# CONFIG_FEATURE_NTPD_SERVER is not set -# CONFIG_FEATURE_NTPD_CONF is not set -CONFIG_PING=y -# CONFIG_PING6 is not set -# CONFIG_FEATURE_FANCY_PING is not set -# CONFIG_PSCAN is not set -CONFIG_ROUTE=y -# CONFIG_SLATTACH is not set -# CONFIG_SSL_CLIENT is not set -# CONFIG_TCPSVD is not set -# CONFIG_UDPSVD is not set -CONFIG_TELNET=y -CONFIG_FEATURE_TELNET_TTYPE=y -CONFIG_FEATURE_TELNET_AUTOLOGIN=y -CONFIG_FEATURE_TELNET_WIDTH=y -# CONFIG_TELNETD is not set -# CONFIG_FEATURE_TELNETD_STANDALONE is not set -# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set -# CONFIG_TFTP is not set -# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set -# CONFIG_TFTPD is not set -# CONFIG_FEATURE_TFTP_GET is not set -# CONFIG_FEATURE_TFTP_PUT is not set -# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set -# CONFIG_TFTP_DEBUG is not set -# CONFIG_TLS is not set -# CONFIG_TRACEROUTE is not set -# CONFIG_TRACEROUTE6 is not set -# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set -# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set -# CONFIG_TUNCTL is not set -# CONFIG_FEATURE_TUNCTL_UG is not set -# CONFIG_VCONFIG is not set -CONFIG_WGET=y -# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set -# CONFIG_FEATURE_WGET_STATUSBAR is not set -# CONFIG_FEATURE_WGET_AUTHENTICATION is not set -# CONFIG_FEATURE_WGET_TIMEOUT is not set -# CONFIG_FEATURE_WGET_HTTPS is not set -# CONFIG_FEATURE_WGET_OPENSSL is not set -# CONFIG_WHOIS is not set -# CONFIG_ZCIP is not set -# CONFIG_UDHCPD is not set -# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set -# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set -CONFIG_DHCPD_LEASES_FILE="" -# CONFIG_DUMPLEASES is not set -# CONFIG_DHCPRELAY is not set -CONFIG_UDHCPC=y -# CONFIG_FEATURE_UDHCPC_ARPING is not set -CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y -CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" -# CONFIG_UDHCPC6 is not set -# CONFIG_FEATURE_UDHCPC6_RFC3646 is not set -# CONFIG_FEATURE_UDHCPC6_RFC4704 is not set -# CONFIG_FEATURE_UDHCPC6_RFC4833 is not set - -# -# Common options for DHCP applets -# -# CONFIG_FEATURE_UDHCP_PORT is not set -CONFIG_UDHCP_DEBUG=9 -CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 -# CONFIG_FEATURE_UDHCP_RFC3397 is not set -# CONFIG_FEATURE_UDHCP_8021Q is not set -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" - -# -# Print Utilities -# -# CONFIG_LPD is not set -# CONFIG_LPR is not set -# CONFIG_LPQ is not set - -# -# Mail Utilities -# -# CONFIG_MAKEMIME is not set -# CONFIG_POPMAILDIR is not set -# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set -# CONFIG_REFORMIME is not set -# CONFIG_FEATURE_REFORMIME_COMPAT is not set -# CONFIG_SENDMAIL is not set -CONFIG_FEATURE_MIME_CHARSET="" - -# -# Process Utilities -# -# CONFIG_FREE is not set -# CONFIG_FUSER is not set -# CONFIG_IOSTAT is not set -CONFIG_KILL=y -CONFIG_KILLALL=y -CONFIG_KILLALL5=y -# CONFIG_LSOF is not set -# CONFIG_MPSTAT is not set -# CONFIG_NMETER is not set -# CONFIG_PGREP is not set -# CONFIG_PKILL is not set -# CONFIG_PIDOF is not set -# CONFIG_FEATURE_PIDOF_SINGLE is not set -# CONFIG_FEATURE_PIDOF_OMIT is not set -# CONFIG_PMAP is not set -# CONFIG_POWERTOP is not set -# CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set -CONFIG_PS=y -CONFIG_FEATURE_PS_WIDE=y -CONFIG_FEATURE_PS_LONG=y -# CONFIG_FEATURE_PS_TIME is not set -# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set -# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set -# CONFIG_PSTREE is not set -# CONFIG_PWDX is not set -# CONFIG_SMEMCAP is not set -# CONFIG_BB_SYSCTL is not set -# CONFIG_TOP is not set -# CONFIG_FEATURE_TOP_INTERACTIVE is not set -# CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE is not set -# CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS is not set -# CONFIG_FEATURE_TOP_SMP_CPU is not set -# CONFIG_FEATURE_TOP_DECIMALS is not set -# CONFIG_FEATURE_TOP_SMP_PROCESS is not set -# CONFIG_FEATURE_TOPMEM is not set -# CONFIG_UPTIME is not set -# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set -# CONFIG_WATCH is not set -# CONFIG_FEATURE_SHOW_THREADS is not set - -# -# Runit Utilities -# -# CONFIG_CHPST is not set -# CONFIG_SETUIDGID is not set -# CONFIG_ENVUIDGID is not set -# CONFIG_ENVDIR is not set -# CONFIG_SOFTLIMIT is not set -# CONFIG_RUNSV is not set -# CONFIG_RUNSVDIR is not set -# CONFIG_FEATURE_RUNSVDIR_LOG is not set -# CONFIG_SV is not set -CONFIG_SV_DEFAULT_SERVICE_DIR="" -CONFIG_SVC=y -# CONFIG_SVLOGD is not set -# CONFIG_CHCON is not set -# CONFIG_GETENFORCE is not set -# CONFIG_GETSEBOOL is not set -# CONFIG_LOAD_POLICY is not set -# CONFIG_MATCHPATHCON is not set -# CONFIG_RUNCON is not set -# CONFIG_SELINUXENABLED is not set -# CONFIG_SESTATUS is not set -# CONFIG_SETENFORCE is not set -# CONFIG_SETFILES is not set -# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set -# CONFIG_RESTORECON is not set -# CONFIG_SETSEBOOL is not set - -# -# Shells -# -# CONFIG_SH_IS_ASH is not set -CONFIG_SH_IS_HUSH=y -# CONFIG_SH_IS_NONE is not set -# CONFIG_BASH_IS_ASH is not set -# CONFIG_BASH_IS_HUSH is not set -CONFIG_BASH_IS_NONE=y -# CONFIG_ASH is not set -# CONFIG_ASH_OPTIMIZE_FOR_SIZE is not set -# CONFIG_ASH_INTERNAL_GLOB is not set -# CONFIG_ASH_BASH_COMPAT is not set -# CONFIG_ASH_JOB_CONTROL is not set -# CONFIG_ASH_ALIAS is not set -# CONFIG_ASH_RANDOM_SUPPORT is not set -# CONFIG_ASH_EXPAND_PRMT is not set -# CONFIG_ASH_IDLE_TIMEOUT is not set -# CONFIG_ASH_MAIL is not set -# CONFIG_ASH_ECHO is not set -# CONFIG_ASH_PRINTF is not set -# CONFIG_ASH_TEST is not set -# CONFIG_ASH_HELP is not set -# CONFIG_ASH_GETOPTS is not set -# CONFIG_ASH_CMDCMD is not set -# CONFIG_CTTYHACK is not set -CONFIG_HUSH=y -CONFIG_HUSH_BASH_COMPAT=y -CONFIG_HUSH_BRACE_EXPANSION=y -CONFIG_HUSH_INTERACTIVE=y -CONFIG_HUSH_SAVEHISTORY=y -CONFIG_HUSH_JOB=y -CONFIG_HUSH_TICK=y -CONFIG_HUSH_IF=y -CONFIG_HUSH_LOOPS=y -CONFIG_HUSH_CASE=y -CONFIG_HUSH_FUNCTIONS=y -CONFIG_HUSH_LOCAL=y -CONFIG_HUSH_RANDOM_SUPPORT=y -CONFIG_HUSH_MODE_X=y -CONFIG_HUSH_ECHO=y -CONFIG_HUSH_PRINTF=y -CONFIG_HUSH_TEST=y -CONFIG_HUSH_HELP=y -CONFIG_HUSH_EXPORT=y -CONFIG_HUSH_EXPORT_N=y -CONFIG_HUSH_READONLY=y -CONFIG_HUSH_KILL=y -CONFIG_HUSH_WAIT=y -CONFIG_HUSH_TRAP=y -CONFIG_HUSH_TYPE=y -CONFIG_HUSH_TIMES=y -CONFIG_HUSH_READ=y -CONFIG_HUSH_SET=y -CONFIG_HUSH_UNSET=y -CONFIG_HUSH_ULIMIT=y -CONFIG_HUSH_UMASK=y -CONFIG_HUSH_GETOPTS=y -# CONFIG_HUSH_MEMLEAK is not set - -# -# Options common to all shells -# -CONFIG_FEATURE_SH_MATH=y -CONFIG_FEATURE_SH_MATH_64=y -CONFIG_FEATURE_SH_EXTRA_QUIET=y -# CONFIG_FEATURE_SH_STANDALONE is not set -# CONFIG_FEATURE_SH_NOFORK is not set -CONFIG_FEATURE_SH_READ_FRAC=y -# CONFIG_FEATURE_SH_HISTFILESIZE is not set - -# -# System Logging Utilities -# -# CONFIG_KLOGD is not set -# CONFIG_FEATURE_KLOGD_KLOGCTL is not set -# CONFIG_LOGGER is not set -# CONFIG_LOGREAD is not set -# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set -# CONFIG_SYSLOGD is not set -# CONFIG_FEATURE_ROTATE_LOGFILE is not set -# CONFIG_FEATURE_REMOTE_LOG is not set -# CONFIG_FEATURE_SYSLOGD_DUP is not set -# CONFIG_FEATURE_SYSLOGD_CFG is not set -CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0 -# CONFIG_FEATURE_IPC_SYSLOG is not set -CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 -# CONFIG_FEATURE_KMSG_SYSLOG is not set diff --git a/buildroot-2021.05/package/busybox/busybox.config b/buildroot-2021.05/package/busybox/busybox.config deleted file mode 100644 index 7814b958..00000000 --- a/buildroot-2021.05/package/busybox/busybox.config +++ /dev/null @@ -1,1195 +0,0 @@ -# -# Automatically generated make config: don't edit -# Busybox version: 1.33.0 -# Tue Aug 17 10:03:40 2021 -# -CONFIG_HAVE_DOT_CONFIG=y - -# -# Settings -# -# CONFIG_DESKTOP is not set -# CONFIG_EXTRA_COMPAT is not set -# CONFIG_FEDORA_COMPAT is not set -CONFIG_INCLUDE_SUSv2=y -CONFIG_LONG_OPTS=y -# CONFIG_SHOW_USAGE is not set -# CONFIG_FEATURE_VERBOSE_USAGE is not set -# CONFIG_FEATURE_COMPRESS_USAGE is not set -CONFIG_LFS=y -# CONFIG_PAM is not set -CONFIG_FEATURE_DEVPTS=y -CONFIG_FEATURE_UTMP=y -CONFIG_FEATURE_WTMP=y -# CONFIG_FEATURE_PIDFILE is not set -CONFIG_PID_FILE_PATH="" -CONFIG_BUSYBOX=y -CONFIG_FEATURE_SHOW_SCRIPT=y -CONFIG_FEATURE_INSTALLER=y -# CONFIG_INSTALL_NO_USR is not set -CONFIG_FEATURE_SUID=y -# CONFIG_FEATURE_SUID_CONFIG is not set -# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set -# CONFIG_FEATURE_PREFER_APPLETS is not set -CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" -# CONFIG_SELINUX is not set -# CONFIG_FEATURE_CLEAN_UP is not set -CONFIG_FEATURE_SYSLOG_INFO=y -CONFIG_FEATURE_SYSLOG=y - -# -# Build Options -# -CONFIG_STATIC=y -# CONFIG_PIE is not set -# CONFIG_NOMMU is not set -# CONFIG_BUILD_LIBBUSYBOX is not set -# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set -# CONFIG_FEATURE_INDIVIDUAL is not set -# CONFIG_FEATURE_SHARED_BUSYBOX is not set -CONFIG_CROSS_COMPILER_PREFIX="" -CONFIG_SYSROOT="" -CONFIG_EXTRA_CFLAGS="" -CONFIG_EXTRA_LDFLAGS="" -CONFIG_EXTRA_LDLIBS="" -# CONFIG_USE_PORTABLE_CODE is not set -CONFIG_STACK_OPTIMIZATION_386=y -CONFIG_STATIC_LIBGCC=y - -# -# Installation Options ("make install" behavior) -# -CONFIG_INSTALL_APPLET_SYMLINKS=y -# CONFIG_INSTALL_APPLET_HARDLINKS is not set -# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set -# CONFIG_INSTALL_APPLET_DONT is not set -# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set -# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set -# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set -CONFIG_PREFIX="./_install" - -# -# Debugging Options -# -# CONFIG_DEBUG is not set -# CONFIG_DEBUG_PESSIMIZE is not set -# CONFIG_DEBUG_SANITIZE is not set -# CONFIG_UNIT_TEST is not set -# CONFIG_WERROR is not set -# CONFIG_WARN_SIMPLE_MSG is not set -CONFIG_NO_DEBUG_LIB=y -# CONFIG_DMALLOC is not set -# CONFIG_EFENCE is not set - -# -# Library Tuning -# -# CONFIG_FEATURE_USE_BSS_TAIL is not set -CONFIG_FLOAT_DURATION=y -CONFIG_FEATURE_RTMINMAX=y -CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS=y -CONFIG_FEATURE_BUFFERS_USE_MALLOC=y -# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set -# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set -CONFIG_PASSWORD_MINLEN=6 -CONFIG_MD5_SMALL=1 -CONFIG_SHA3_SMALL=1 -# CONFIG_FEATURE_FAST_TOP is not set -# CONFIG_FEATURE_ETC_NETWORKS is not set -# CONFIG_FEATURE_ETC_SERVICES is not set -CONFIG_FEATURE_EDITING=y -CONFIG_FEATURE_EDITING_MAX_LEN=1024 -CONFIG_FEATURE_EDITING_VI=y -CONFIG_FEATURE_EDITING_HISTORY=999 -CONFIG_FEATURE_EDITING_SAVEHISTORY=y -# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set -CONFIG_FEATURE_REVERSE_SEARCH=y -CONFIG_FEATURE_TAB_COMPLETION=y -# CONFIG_FEATURE_USERNAME_COMPLETION is not set -CONFIG_FEATURE_EDITING_FANCY_PROMPT=y -CONFIG_FEATURE_EDITING_WINCH=y -# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set -# CONFIG_LOCALE_SUPPORT is not set -# CONFIG_UNICODE_SUPPORT is not set -# CONFIG_UNICODE_USING_LOCALE is not set -# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set -CONFIG_SUBST_WCHAR=0 -CONFIG_LAST_SUPPORTED_WCHAR=0 -# CONFIG_UNICODE_COMBINING_WCHARS is not set -# CONFIG_UNICODE_WIDE_WCHARS is not set -# CONFIG_UNICODE_BIDI_SUPPORT is not set -# CONFIG_UNICODE_NEUTRAL_TABLE is not set -# CONFIG_UNICODE_PRESERVE_BROKEN is not set -CONFIG_FEATURE_NON_POSIX_CP=y -# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set -CONFIG_FEATURE_USE_SENDFILE=y -CONFIG_FEATURE_COPYBUF_KB=4 -CONFIG_FEATURE_SKIP_ROOTFS=y -CONFIG_MONOTONIC_SYSCALL=y -CONFIG_IOCTL_HEX2STR_ERROR=y -CONFIG_FEATURE_HWIB=y - -# -# Applets -# - -# -# Archival Utilities -# -# CONFIG_FEATURE_SEAMLESS_XZ is not set -# CONFIG_FEATURE_SEAMLESS_LZMA is not set -# CONFIG_FEATURE_SEAMLESS_BZ2 is not set -# CONFIG_FEATURE_SEAMLESS_GZ is not set -# CONFIG_FEATURE_SEAMLESS_Z is not set -# CONFIG_AR is not set -# CONFIG_FEATURE_AR_LONG_FILENAMES is not set -# CONFIG_FEATURE_AR_CREATE is not set -# CONFIG_UNCOMPRESS is not set -# CONFIG_GUNZIP is not set -CONFIG_ZCAT=y -# CONFIG_FEATURE_GUNZIP_LONG_OPTIONS is not set -# CONFIG_BUNZIP2 is not set -CONFIG_BZCAT=y -# CONFIG_UNLZMA is not set -CONFIG_LZCAT=y -# CONFIG_LZMA is not set -# CONFIG_UNXZ is not set -CONFIG_XZCAT=y -# CONFIG_XZ is not set -# CONFIG_BZIP2 is not set -CONFIG_BZIP2_SMALL=0 -CONFIG_FEATURE_BZIP2_DECOMPRESS=y -# CONFIG_CPIO is not set -# CONFIG_FEATURE_CPIO_O is not set -# CONFIG_FEATURE_CPIO_P is not set -# CONFIG_DPKG is not set -# CONFIG_DPKG_DEB is not set -# CONFIG_GZIP is not set -# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set -CONFIG_GZIP_FAST=0 -# CONFIG_FEATURE_GZIP_LEVELS is not set -CONFIG_FEATURE_GZIP_DECOMPRESS=y -# CONFIG_LZOP is not set -# CONFIG_UNLZOP is not set -# CONFIG_LZOPCAT is not set -# CONFIG_LZOP_COMPR_HIGH is not set -# CONFIG_RPM is not set -# CONFIG_RPM2CPIO is not set -# CONFIG_TAR is not set -# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set -# CONFIG_FEATURE_TAR_CREATE is not set -# CONFIG_FEATURE_TAR_AUTODETECT is not set -# CONFIG_FEATURE_TAR_FROM is not set -# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set -# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set -# CONFIG_FEATURE_TAR_GNU_EXTENSIONS is not set -# CONFIG_FEATURE_TAR_TO_COMMAND is not set -# CONFIG_FEATURE_TAR_UNAME_GNAME is not set -# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set -# CONFIG_FEATURE_TAR_SELINUX is not set -# CONFIG_UNZIP is not set -# CONFIG_FEATURE_UNZIP_CDF is not set -# CONFIG_FEATURE_UNZIP_BZIP2 is not set -# CONFIG_FEATURE_UNZIP_LZMA is not set -# CONFIG_FEATURE_UNZIP_XZ is not set -# CONFIG_FEATURE_LZMA_FAST is not set - -# -# Coreutils -# -CONFIG_BASENAME=y -CONFIG_CAT=y -CONFIG_FEATURE_CATN=y -CONFIG_FEATURE_CATV=y -CONFIG_CHGRP=y -CONFIG_CHMOD=y -CONFIG_CHOWN=y -# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set -CONFIG_CHROOT=y -CONFIG_CKSUM=y -# CONFIG_COMM is not set -CONFIG_CP=y -# CONFIG_FEATURE_CP_LONG_OPTIONS is not set -# CONFIG_FEATURE_CP_REFLINK is not set -CONFIG_CUT=y -CONFIG_DATE=y -CONFIG_FEATURE_DATE_ISOFMT=y -# CONFIG_FEATURE_DATE_NANO is not set -CONFIG_FEATURE_DATE_COMPAT=y -CONFIG_DD=y -CONFIG_FEATURE_DD_SIGNAL_HANDLING=y -# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set -CONFIG_FEATURE_DD_IBS_OBS=y -CONFIG_FEATURE_DD_STATUS=y -CONFIG_DF=y -# CONFIG_FEATURE_DF_FANCY is not set -CONFIG_DIRNAME=y -CONFIG_DOS2UNIX=y -CONFIG_UNIX2DOS=y -CONFIG_DU=y -CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y -CONFIG_ECHO=y -CONFIG_FEATURE_FANCY_ECHO=y -CONFIG_ENV=y -# CONFIG_EXPAND is not set -# CONFIG_UNEXPAND is not set -CONFIG_EXPR=y -CONFIG_EXPR_MATH_SUPPORT_64=y -CONFIG_FACTOR=y -CONFIG_FALSE=y -CONFIG_FOLD=y -CONFIG_HEAD=y -CONFIG_FEATURE_FANCY_HEAD=y -CONFIG_HOSTID=y -CONFIG_ID=y -# CONFIG_GROUPS is not set -CONFIG_INSTALL=y -CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y -CONFIG_LINK=y -CONFIG_LN=y -CONFIG_LOGNAME=y -CONFIG_LS=y -CONFIG_FEATURE_LS_FILETYPES=y -CONFIG_FEATURE_LS_FOLLOWLINKS=y -CONFIG_FEATURE_LS_RECURSIVE=y -CONFIG_FEATURE_LS_WIDTH=y -CONFIG_FEATURE_LS_SORTFILES=y -CONFIG_FEATURE_LS_TIMESTAMPS=y -CONFIG_FEATURE_LS_USERNAME=y -CONFIG_FEATURE_LS_COLOR=y -CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y -CONFIG_MD5SUM=y -CONFIG_SHA1SUM=y -CONFIG_SHA256SUM=y -CONFIG_SHA512SUM=y -CONFIG_SHA3SUM=y - -# -# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum -# -CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y -CONFIG_MKDIR=y -CONFIG_MKFIFO=y -CONFIG_MKNOD=y -# CONFIG_MKTEMP is not set -CONFIG_MV=y -CONFIG_NICE=y -CONFIG_NL=y -CONFIG_NOHUP=y -CONFIG_NPROC=y -CONFIG_OD=y -CONFIG_PASTE=y -CONFIG_PRINTENV=y -CONFIG_PRINTF=y -CONFIG_PWD=y -CONFIG_READLINK=y -CONFIG_FEATURE_READLINK_FOLLOW=y -CONFIG_REALPATH=y -CONFIG_RM=y -CONFIG_RMDIR=y -CONFIG_SEQ=y -CONFIG_SHRED=y -# CONFIG_SHUF is not set -CONFIG_SLEEP=y -CONFIG_FEATURE_FANCY_SLEEP=y -CONFIG_SORT=y -CONFIG_FEATURE_SORT_BIG=y -# CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY is not set -# CONFIG_SPLIT is not set -# CONFIG_FEATURE_SPLIT_FANCY is not set -# CONFIG_STAT is not set -# CONFIG_FEATURE_STAT_FORMAT is not set -# CONFIG_FEATURE_STAT_FILESYSTEM is not set -CONFIG_STTY=y -# CONFIG_SUM is not set -CONFIG_SYNC=y -# CONFIG_FEATURE_SYNC_FANCY is not set -# CONFIG_FSYNC is not set -# CONFIG_TAC is not set -CONFIG_TAIL=y -CONFIG_FEATURE_FANCY_TAIL=y -CONFIG_TEE=y -CONFIG_FEATURE_TEE_USE_BLOCK_IO=y -CONFIG_TEST=y -CONFIG_TEST1=y -CONFIG_TEST2=y -CONFIG_FEATURE_TEST_64=y -# CONFIG_TIMEOUT is not set -CONFIG_TOUCH=y -# CONFIG_FEATURE_TOUCH_NODEREF is not set -CONFIG_FEATURE_TOUCH_SUSV3=y -CONFIG_TR=y -CONFIG_FEATURE_TR_CLASSES=y -CONFIG_FEATURE_TR_EQUIV=y -CONFIG_TRUE=y -CONFIG_TRUNCATE=y -CONFIG_TTY=y -CONFIG_UNAME=y -CONFIG_UNAME_OSNAME="GNU/Linux" -CONFIG_BB_ARCH=y -CONFIG_UNIQ=y -CONFIG_UNLINK=y -CONFIG_USLEEP=y -CONFIG_UUDECODE=y -CONFIG_BASE32=y -# CONFIG_BASE64 is not set -CONFIG_UUENCODE=y -CONFIG_WC=y -# CONFIG_FEATURE_WC_LARGE is not set -CONFIG_WHOAMI=y -CONFIG_WHO=y -CONFIG_W=y -# CONFIG_USERS is not set -CONFIG_YES=y - -# -# Common options -# -CONFIG_FEATURE_VERBOSE=y - -# -# Common options for cp and mv -# -CONFIG_FEATURE_PRESERVE_HARDLINKS=y - -# -# Common options for df, du, ls -# -CONFIG_FEATURE_HUMAN_READABLE=y - -# -# Console Utilities -# -# CONFIG_CHVT is not set -CONFIG_CLEAR=y -# CONFIG_DEALLOCVT is not set -# CONFIG_DUMPKMAP is not set -# CONFIG_FGCONSOLE is not set -# CONFIG_KBD_MODE is not set -# CONFIG_LOADFONT is not set -# CONFIG_SETFONT is not set -# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set -CONFIG_DEFAULT_SETFONT_DIR="" -# CONFIG_FEATURE_LOADFONT_PSF2 is not set -# CONFIG_FEATURE_LOADFONT_RAW is not set -# CONFIG_LOADKMAP is not set -# CONFIG_OPENVT is not set -# CONFIG_RESET is not set -# CONFIG_RESIZE is not set -# CONFIG_FEATURE_RESIZE_PRINT is not set -# CONFIG_SETCONSOLE is not set -# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set -# CONFIG_SETKEYCODES is not set -# CONFIG_SETLOGCONS is not set -# CONFIG_SHOWKEY is not set - -# -# Debian Utilities -# -# CONFIG_PIPE_PROGRESS is not set -CONFIG_RUN_PARTS=y -CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y -CONFIG_FEATURE_RUN_PARTS_FANCY=y -CONFIG_START_STOP_DAEMON=y -CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y -CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y -CONFIG_WHICH=y - -# -# klibc-utils -# -# CONFIG_MINIPS is not set -CONFIG_NUKE=y -CONFIG_RESUME=y -CONFIG_RUN_INIT=y - -# -# Editors -# -# CONFIG_AWK is not set -# CONFIG_FEATURE_AWK_LIBM is not set -# CONFIG_FEATURE_AWK_GNU_EXTENSIONS is not set -# CONFIG_CMP is not set -# CONFIG_DIFF is not set -# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set -# CONFIG_FEATURE_DIFF_DIR is not set -CONFIG_ED=y -CONFIG_PATCH=y -CONFIG_SED=y -CONFIG_VI=y -CONFIG_FEATURE_VI_MAX_LEN=4096 -# CONFIG_FEATURE_VI_8BIT is not set -CONFIG_FEATURE_VI_COLON=y -CONFIG_FEATURE_VI_YANKMARK=y -CONFIG_FEATURE_VI_SEARCH=y -# CONFIG_FEATURE_VI_REGEX_SEARCH is not set -CONFIG_FEATURE_VI_USE_SIGNALS=y -CONFIG_FEATURE_VI_DOT_CMD=y -CONFIG_FEATURE_VI_READONLY=y -CONFIG_FEATURE_VI_SETOPTS=y -CONFIG_FEATURE_VI_SET=y -CONFIG_FEATURE_VI_WIN_RESIZE=y -CONFIG_FEATURE_VI_ASK_TERMINAL=y -CONFIG_FEATURE_VI_UNDO=y -CONFIG_FEATURE_VI_UNDO_QUEUE=y -CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256 -CONFIG_FEATURE_ALLOW_EXEC=y - -# -# Finding Utilities -# -CONFIG_FIND=y -CONFIG_FEATURE_FIND_PRINT0=y -# CONFIG_FEATURE_FIND_MTIME is not set -# CONFIG_FEATURE_FIND_MMIN is not set -# CONFIG_FEATURE_FIND_PERM is not set -CONFIG_FEATURE_FIND_TYPE=y -CONFIG_FEATURE_FIND_EXECUTABLE=y -# CONFIG_FEATURE_FIND_XDEV is not set -CONFIG_FEATURE_FIND_MAXDEPTH=y -# CONFIG_FEATURE_FIND_NEWER is not set -# CONFIG_FEATURE_FIND_INUM is not set -CONFIG_FEATURE_FIND_EXEC=y -# CONFIG_FEATURE_FIND_EXEC_PLUS is not set -# CONFIG_FEATURE_FIND_USER is not set -# CONFIG_FEATURE_FIND_GROUP is not set -# CONFIG_FEATURE_FIND_NOT is not set -# CONFIG_FEATURE_FIND_DEPTH is not set -# CONFIG_FEATURE_FIND_PAREN is not set -# CONFIG_FEATURE_FIND_SIZE is not set -# CONFIG_FEATURE_FIND_PRUNE is not set -CONFIG_FEATURE_FIND_QUIT=y -# CONFIG_FEATURE_FIND_DELETE is not set -CONFIG_FEATURE_FIND_EMPTY=y -# CONFIG_FEATURE_FIND_PATH is not set -# CONFIG_FEATURE_FIND_REGEX is not set -# CONFIG_FEATURE_FIND_CONTEXT is not set -# CONFIG_FEATURE_FIND_LINKS is not set -CONFIG_GREP=y -CONFIG_EGREP=y -CONFIG_FGREP=y -CONFIG_FEATURE_GREP_CONTEXT=y -CONFIG_XARGS=y -# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set -CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y -CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y -CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y -CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y -CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL=y -CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y - -# -# Init Utilities -# -# CONFIG_BOOTCHARTD is not set -# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set -# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set -CONFIG_HALT=y -CONFIG_POWEROFF=y -CONFIG_REBOOT=y -CONFIG_FEATURE_WAIT_FOR_INIT=y -# CONFIG_FEATURE_CALL_TELINIT is not set -CONFIG_TELINIT_PATH="" -CONFIG_INIT=y -CONFIG_LINUXRC=y -CONFIG_FEATURE_USE_INITTAB=y -CONFIG_FEATURE_KILL_REMOVED=y -CONFIG_FEATURE_KILL_DELAY=0 -CONFIG_FEATURE_INIT_SCTTY=y -CONFIG_FEATURE_INIT_SYSLOG=y -CONFIG_FEATURE_INIT_QUIET=y -# CONFIG_FEATURE_INIT_COREDUMPS is not set -CONFIG_INIT_TERMINAL_TYPE="linux" -CONFIG_FEATURE_INIT_MODIFY_CMDLINE=y - -# -# Login/Password Management Utilities -# -CONFIG_FEATURE_SHADOWPASSWDS=y -# CONFIG_USE_BB_PWD_GRP is not set -# CONFIG_USE_BB_SHADOW is not set -CONFIG_USE_BB_CRYPT=y -CONFIG_USE_BB_CRYPT_SHA=y -# CONFIG_ADDGROUP is not set -# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set -# CONFIG_ADD_SHELL is not set -# CONFIG_REMOVE_SHELL is not set -CONFIG_ADDUSER=y -# CONFIG_FEATURE_CHECK_NAMES is not set -CONFIG_LAST_ID=60000 -CONFIG_FIRST_SYSTEM_ID=100 -CONFIG_LAST_SYSTEM_ID=999 -# CONFIG_CHPASSWD is not set -CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des" -# CONFIG_CRYPTPW is not set -# CONFIG_MKPASSWD is not set -# CONFIG_DELUSER is not set -# CONFIG_DELGROUP is not set -# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set -CONFIG_GETTY=y -CONFIG_LOGIN=y -# CONFIG_LOGIN_SESSION_AS_CHILD is not set -# CONFIG_LOGIN_SCRIPTS is not set -CONFIG_FEATURE_NOLOGIN=y -CONFIG_FEATURE_SECURETTY=y -CONFIG_PASSWD=y -CONFIG_FEATURE_PASSWD_WEAK_CHECK=y -CONFIG_SU=y -# CONFIG_FEATURE_SU_SYSLOG is not set -# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set -# CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY is not set -# CONFIG_SULOGIN is not set -# CONFIG_VLOCK is not set - -# -# Linux Ext2 FS Progs -# -# CONFIG_CHATTR is not set -# CONFIG_FSCK is not set -# CONFIG_LSATTR is not set -# CONFIG_TUNE2FS is not set - -# -# Linux Module Utilities -# -# CONFIG_MODPROBE_SMALL is not set -# CONFIG_DEPMOD is not set -# CONFIG_INSMOD is not set -# CONFIG_LSMOD is not set -# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set -# CONFIG_MODINFO is not set -# CONFIG_MODPROBE is not set -# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set -# CONFIG_RMMOD is not set - -# -# Options common to multiple modutils -# -# CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS is not set -# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set -# CONFIG_FEATURE_2_4_MODULES is not set -# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set -# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set -# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set -# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set -# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set -# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set -# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set -# CONFIG_FEATURE_MODUTILS_ALIAS is not set -# CONFIG_FEATURE_MODUTILS_SYMBOLS is not set -CONFIG_DEFAULT_MODULES_DIR="" -CONFIG_DEFAULT_DEPMOD_FILE="" - -# -# Linux System Utilities -# -# CONFIG_ACPID is not set -# CONFIG_FEATURE_ACPID_COMPAT is not set -# CONFIG_BLKDISCARD is not set -# CONFIG_BLKID is not set -# CONFIG_FEATURE_BLKID_TYPE is not set -# CONFIG_BLOCKDEV is not set -CONFIG_CAL=y -# CONFIG_CHRT is not set -CONFIG_DMESG=y -CONFIG_FEATURE_DMESG_PRETTY=y -# CONFIG_EJECT is not set -# CONFIG_FEATURE_EJECT_SCSI is not set -CONFIG_FALLOCATE=y -# CONFIG_FATATTR is not set -# CONFIG_FBSET is not set -# CONFIG_FEATURE_FBSET_FANCY is not set -# CONFIG_FEATURE_FBSET_READMODE is not set -# CONFIG_FDFORMAT is not set -# CONFIG_FDISK is not set -# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set -# CONFIG_FEATURE_FDISK_WRITABLE is not set -# CONFIG_FEATURE_AIX_LABEL is not set -# CONFIG_FEATURE_SGI_LABEL is not set -# CONFIG_FEATURE_SUN_LABEL is not set -# CONFIG_FEATURE_OSF_LABEL is not set -# CONFIG_FEATURE_GPT_LABEL is not set -# CONFIG_FEATURE_FDISK_ADVANCED is not set -# CONFIG_FINDFS is not set -# CONFIG_FLOCK is not set -# CONFIG_FDFLUSH is not set -CONFIG_FREERAMDISK=y -# CONFIG_FSCK_MINIX is not set -CONFIG_FSFREEZE=y -# CONFIG_FSTRIM is not set -CONFIG_GETOPT=y -CONFIG_FEATURE_GETOPT_LONG=y -# CONFIG_HEXDUMP is not set -# CONFIG_HD is not set -CONFIG_XXD=y -# CONFIG_HWCLOCK is not set -# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set -# CONFIG_IONICE is not set -# CONFIG_IPCRM is not set -# CONFIG_IPCS is not set -# CONFIG_LAST is not set -# CONFIG_FEATURE_LAST_FANCY is not set -# CONFIG_LOSETUP is not set -# CONFIG_LSPCI is not set -# CONFIG_LSUSB is not set -# CONFIG_MDEV is not set -# CONFIG_FEATURE_MDEV_CONF is not set -# CONFIG_FEATURE_MDEV_RENAME is not set -# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set -# CONFIG_FEATURE_MDEV_EXEC is not set -# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set -# CONFIG_FEATURE_MDEV_DAEMON is not set -CONFIG_MESG=y -CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y -CONFIG_MKE2FS=y -# CONFIG_MKFS_EXT2 is not set -# CONFIG_MKFS_MINIX is not set -# CONFIG_FEATURE_MINIX2 is not set -# CONFIG_MKFS_REISER is not set -CONFIG_MKDOSFS=y -# CONFIG_MKFS_VFAT is not set -# CONFIG_MKSWAP is not set -# CONFIG_FEATURE_MKSWAP_UUID is not set -CONFIG_MORE=y -CONFIG_MOUNT=y -# CONFIG_FEATURE_MOUNT_FAKE is not set -# CONFIG_FEATURE_MOUNT_VERBOSE is not set -# CONFIG_FEATURE_MOUNT_HELPERS is not set -# CONFIG_FEATURE_MOUNT_LABEL is not set -# CONFIG_FEATURE_MOUNT_NFS is not set -CONFIG_FEATURE_MOUNT_CIFS=y -CONFIG_FEATURE_MOUNT_FLAGS=y -CONFIG_FEATURE_MOUNT_FSTAB=y -CONFIG_FEATURE_MOUNT_OTHERTAB=y -# CONFIG_MOUNTPOINT is not set -CONFIG_NOLOGIN=y -# CONFIG_NOLOGIN_DEPENDENCIES is not set -# CONFIG_NSENTER is not set -# CONFIG_PIVOT_ROOT is not set -# CONFIG_RDATE is not set -# CONFIG_RDEV is not set -# CONFIG_READPROFILE is not set -# CONFIG_RENICE is not set -# CONFIG_REV is not set -# CONFIG_RTCWAKE is not set -# CONFIG_SCRIPT is not set -# CONFIG_SCRIPTREPLAY is not set -# CONFIG_SETARCH is not set -CONFIG_LINUX32=y -CONFIG_LINUX64=y -CONFIG_SETPRIV=y -CONFIG_FEATURE_SETPRIV_DUMP=y -CONFIG_FEATURE_SETPRIV_CAPABILITIES=y -CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES=y -# CONFIG_SETSID is not set -CONFIG_SWAPON=y -# CONFIG_FEATURE_SWAPON_DISCARD is not set -# CONFIG_FEATURE_SWAPON_PRI is not set -CONFIG_SWAPOFF=y -CONFIG_FEATURE_SWAPONOFF_LABEL=y -# CONFIG_SWITCH_ROOT is not set -# CONFIG_TASKSET is not set -# CONFIG_FEATURE_TASKSET_FANCY is not set -# CONFIG_FEATURE_TASKSET_CPULIST is not set -# CONFIG_UEVENT is not set -CONFIG_UMOUNT=y -CONFIG_FEATURE_UMOUNT_ALL=y -# CONFIG_UNSHARE is not set -# CONFIG_WALL is not set - -# -# Common options for mount/umount -# -CONFIG_FEATURE_MOUNT_LOOP=y -CONFIG_FEATURE_MOUNT_LOOP_CREATE=y -# CONFIG_FEATURE_MTAB_SUPPORT is not set -CONFIG_VOLUMEID=y - -# -# Filesystem/Volume identification -# -# CONFIG_FEATURE_VOLUMEID_BCACHE is not set -# CONFIG_FEATURE_VOLUMEID_BTRFS is not set -# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set -CONFIG_FEATURE_VOLUMEID_EROFS=y -# CONFIG_FEATURE_VOLUMEID_EXFAT is not set -# CONFIG_FEATURE_VOLUMEID_EXT is not set -# CONFIG_FEATURE_VOLUMEID_F2FS is not set -# CONFIG_FEATURE_VOLUMEID_FAT is not set -# CONFIG_FEATURE_VOLUMEID_HFS is not set -# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set -# CONFIG_FEATURE_VOLUMEID_JFS is not set -# CONFIG_FEATURE_VOLUMEID_LFS is not set -# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set -# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set -# CONFIG_FEATURE_VOLUMEID_LUKS is not set -CONFIG_FEATURE_VOLUMEID_MINIX=y -# CONFIG_FEATURE_VOLUMEID_NILFS is not set -# CONFIG_FEATURE_VOLUMEID_NTFS is not set -# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set -# CONFIG_FEATURE_VOLUMEID_REISERFS is not set -# CONFIG_FEATURE_VOLUMEID_ROMFS is not set -# CONFIG_FEATURE_VOLUMEID_SQUASHFS is not set -# CONFIG_FEATURE_VOLUMEID_SYSV is not set -# CONFIG_FEATURE_VOLUMEID_UBIFS is not set -# CONFIG_FEATURE_VOLUMEID_UDF is not set -# CONFIG_FEATURE_VOLUMEID_XFS is not set - -# -# Miscellaneous Utilities -# -# CONFIG_ADJTIMEX is not set -# CONFIG_BBCONFIG is not set -# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set -CONFIG_BC=y -# CONFIG_DC is not set -CONFIG_FEATURE_DC_BIG=y -# CONFIG_FEATURE_DC_LIBM is not set -CONFIG_FEATURE_BC_INTERACTIVE=y -CONFIG_FEATURE_BC_LONG_OPTIONS=y -# CONFIG_BEEP is not set -CONFIG_FEATURE_BEEP_FREQ=0 -CONFIG_FEATURE_BEEP_LENGTH_MS=0 -# CONFIG_CHAT is not set -# CONFIG_FEATURE_CHAT_NOFAIL is not set -# CONFIG_FEATURE_CHAT_TTY_HIFI is not set -# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set -# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set -# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set -# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set -# CONFIG_FEATURE_CHAT_CLR_ABORT is not set -# CONFIG_CONSPY is not set -# CONFIG_CROND is not set -# CONFIG_FEATURE_CROND_D is not set -# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set -# CONFIG_FEATURE_CROND_SPECIAL_TIMES is not set -CONFIG_FEATURE_CROND_DIR="" -# CONFIG_CRONTAB is not set -# CONFIG_DEVFSD is not set -# CONFIG_DEVFSD_MODLOAD is not set -# CONFIG_DEVFSD_FG_NP is not set -# CONFIG_DEVFSD_VERBOSE is not set -# CONFIG_FEATURE_DEVFS is not set -# CONFIG_DEVMEM is not set -# CONFIG_FBSPLASH is not set -# CONFIG_FLASHCP is not set -# CONFIG_FLASH_ERASEALL is not set -# CONFIG_FLASH_LOCK is not set -# CONFIG_FLASH_UNLOCK is not set -# CONFIG_HDPARM is not set -# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set -# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set -# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set -# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set -CONFIG_HEXEDIT=y -# CONFIG_I2CGET is not set -# CONFIG_I2CSET is not set -# CONFIG_I2CDUMP is not set -# CONFIG_I2CDETECT is not set -CONFIG_I2CTRANSFER=y -# CONFIG_INOTIFYD is not set -# CONFIG_LESS is not set -CONFIG_FEATURE_LESS_MAXLINES=0 -# CONFIG_FEATURE_LESS_BRACKETS is not set -# CONFIG_FEATURE_LESS_FLAGS is not set -# CONFIG_FEATURE_LESS_TRUNCATE is not set -# CONFIG_FEATURE_LESS_MARKS is not set -# CONFIG_FEATURE_LESS_REGEXP is not set -# CONFIG_FEATURE_LESS_WINCH is not set -# CONFIG_FEATURE_LESS_ASK_TERMINAL is not set -# CONFIG_FEATURE_LESS_DASHCMD is not set -# CONFIG_FEATURE_LESS_LINENUMS is not set -# CONFIG_FEATURE_LESS_RAW is not set -# CONFIG_FEATURE_LESS_ENV is not set -CONFIG_LSSCSI=y -# CONFIG_MAKEDEVS is not set -# CONFIG_FEATURE_MAKEDEVS_LEAF is not set -# CONFIG_FEATURE_MAKEDEVS_TABLE is not set -# CONFIG_MAN is not set -# CONFIG_MICROCOM is not set -CONFIG_MIM=y -# CONFIG_MT is not set -# CONFIG_NANDWRITE is not set -# CONFIG_NANDDUMP is not set -CONFIG_PARTPROBE=y -# CONFIG_RAIDAUTORUN is not set -# CONFIG_READAHEAD is not set -# CONFIG_RFKILL is not set -# CONFIG_RUNLEVEL is not set -# CONFIG_RX is not set -CONFIG_SETFATTR=y -CONFIG_SETSERIAL=y -# CONFIG_STRINGS is not set -# CONFIG_TIME is not set -CONFIG_TS=y -# CONFIG_TTYSIZE is not set -# CONFIG_UBIRENAME is not set -# CONFIG_UBIATTACH is not set -# CONFIG_UBIDETACH is not set -# CONFIG_UBIMKVOL is not set -# CONFIG_UBIRMVOL is not set -# CONFIG_UBIRSVOL is not set -# CONFIG_UBIUPDATEVOL is not set -# CONFIG_VOLNAME is not set -# CONFIG_WATCHDOG is not set - -# -# Networking Utilities -# -# CONFIG_FEATURE_IPV6 is not set -# CONFIG_FEATURE_UNIX_LOCAL is not set -# CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set -# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set -# CONFIG_FEATURE_TLS_SHA1 is not set -# CONFIG_ARP is not set -# CONFIG_ARPING is not set -# CONFIG_BRCTL is not set -# CONFIG_FEATURE_BRCTL_FANCY is not set -# CONFIG_FEATURE_BRCTL_SHOW is not set -# CONFIG_DNSD is not set -# CONFIG_ETHER_WAKE is not set -# CONFIG_FTPD is not set -# CONFIG_FEATURE_FTPD_WRITE is not set -# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set -# CONFIG_FEATURE_FTPD_AUTHENTICATION is not set -# CONFIG_FTPGET is not set -# CONFIG_FTPPUT is not set -# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set -CONFIG_HOSTNAME=y -CONFIG_DNSDOMAINNAME=y -# CONFIG_HTTPD is not set -# CONFIG_FEATURE_HTTPD_RANGES is not set -# CONFIG_FEATURE_HTTPD_SETUID is not set -# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set -# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set -# CONFIG_FEATURE_HTTPD_CGI is not set -# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set -# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set -# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set -# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set -# CONFIG_FEATURE_HTTPD_PROXY is not set -# CONFIG_FEATURE_HTTPD_GZIP is not set -# CONFIG_FEATURE_HTTPD_ETAG is not set -# CONFIG_FEATURE_HTTPD_LAST_MODIFIED is not set -# CONFIG_FEATURE_HTTPD_DATE is not set -# CONFIG_FEATURE_HTTPD_ACL_IP is not set -CONFIG_IFCONFIG=y -CONFIG_FEATURE_IFCONFIG_STATUS=y -# CONFIG_FEATURE_IFCONFIG_SLIP is not set -# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set -CONFIG_FEATURE_IFCONFIG_HW=y -CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y -# CONFIG_IFENSLAVE is not set -# CONFIG_IFPLUGD is not set -CONFIG_IFUP=y -CONFIG_IFDOWN=y -CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" -CONFIG_FEATURE_IFUPDOWN_IP=y -CONFIG_FEATURE_IFUPDOWN_IPV4=y -# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set -# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set -# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set -# CONFIG_INETD is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set -# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set -# CONFIG_FEATURE_INETD_RPC is not set -CONFIG_IP=y -CONFIG_IPADDR=y -CONFIG_IPLINK=y -CONFIG_IPROUTE=y -# CONFIG_IPTUNNEL is not set -# CONFIG_IPRULE is not set -# CONFIG_IPNEIGH is not set -CONFIG_FEATURE_IP_ADDRESS=y -CONFIG_FEATURE_IP_LINK=y -CONFIG_FEATURE_IP_ROUTE=y -CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2" -# CONFIG_FEATURE_IP_TUNNEL is not set -# CONFIG_FEATURE_IP_RULE is not set -# CONFIG_FEATURE_IP_NEIGH is not set -# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set -# CONFIG_IPCALC is not set -# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set -# CONFIG_FEATURE_IPCALC_FANCY is not set -# CONFIG_FAKEIDENTD is not set -# CONFIG_NAMEIF is not set -# CONFIG_FEATURE_NAMEIF_EXTENDED is not set -# CONFIG_NBDCLIENT is not set -CONFIG_NC=y -# CONFIG_NETCAT is not set -CONFIG_NC_SERVER=y -# CONFIG_NC_EXTRA is not set -# CONFIG_NC_110_COMPAT is not set -CONFIG_NETSTAT=y -# CONFIG_FEATURE_NETSTAT_WIDE is not set -CONFIG_FEATURE_NETSTAT_PRG=y -# CONFIG_NSLOOKUP is not set -# CONFIG_FEATURE_NSLOOKUP_BIG is not set -# CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS is not set -# CONFIG_NTPD is not set -# CONFIG_FEATURE_NTPD_SERVER is not set -# CONFIG_FEATURE_NTPD_CONF is not set -# CONFIG_FEATURE_NTP_AUTH is not set -CONFIG_PING=y -# CONFIG_PING6 is not set -# CONFIG_FEATURE_FANCY_PING is not set -# CONFIG_PSCAN is not set -CONFIG_ROUTE=y -# CONFIG_SLATTACH is not set -# CONFIG_SSL_CLIENT is not set -CONFIG_TC=y -CONFIG_FEATURE_TC_INGRESS=y -# CONFIG_TCPSVD is not set -# CONFIG_UDPSVD is not set -CONFIG_TELNET=y -CONFIG_FEATURE_TELNET_TTYPE=y -CONFIG_FEATURE_TELNET_AUTOLOGIN=y -CONFIG_FEATURE_TELNET_WIDTH=y -# CONFIG_TELNETD is not set -# CONFIG_FEATURE_TELNETD_STANDALONE is not set -# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set -# CONFIG_TFTP is not set -# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set -# CONFIG_FEATURE_TFTP_HPA_COMPAT is not set -# CONFIG_TFTPD is not set -# CONFIG_FEATURE_TFTP_GET is not set -# CONFIG_FEATURE_TFTP_PUT is not set -# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set -# CONFIG_TFTP_DEBUG is not set -# CONFIG_TLS is not set -# CONFIG_TRACEROUTE is not set -# CONFIG_TRACEROUTE6 is not set -# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set -# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set -# CONFIG_TUNCTL is not set -# CONFIG_FEATURE_TUNCTL_UG is not set -# CONFIG_VCONFIG is not set -CONFIG_WGET=y -# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set -# CONFIG_FEATURE_WGET_STATUSBAR is not set -# CONFIG_FEATURE_WGET_AUTHENTICATION is not set -# CONFIG_FEATURE_WGET_TIMEOUT is not set -# CONFIG_FEATURE_WGET_HTTPS is not set -# CONFIG_FEATURE_WGET_OPENSSL is not set -# CONFIG_WHOIS is not set -# CONFIG_ZCIP is not set -# CONFIG_UDHCPD is not set -# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set -# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set -CONFIG_DHCPD_LEASES_FILE="" -# CONFIG_DUMPLEASES is not set -# CONFIG_DHCPRELAY is not set -CONFIG_UDHCPC=y -# CONFIG_FEATURE_UDHCPC_ARPING is not set -CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y -CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" -# CONFIG_UDHCPC6 is not set -# CONFIG_FEATURE_UDHCPC6_RFC3646 is not set -# CONFIG_FEATURE_UDHCPC6_RFC4704 is not set -# CONFIG_FEATURE_UDHCPC6_RFC4833 is not set -# CONFIG_FEATURE_UDHCPC6_RFC5970 is not set - -# -# Common options for DHCP applets -# -# CONFIG_FEATURE_UDHCP_PORT is not set -CONFIG_UDHCP_DEBUG=2 -CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 -# CONFIG_FEATURE_UDHCP_RFC3397 is not set -# CONFIG_FEATURE_UDHCP_8021Q is not set -CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -n" - -# -# Print Utilities -# -# CONFIG_LPD is not set -# CONFIG_LPR is not set -# CONFIG_LPQ is not set - -# -# Mail Utilities -# -# CONFIG_MAKEMIME is not set -# CONFIG_POPMAILDIR is not set -# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set -# CONFIG_REFORMIME is not set -# CONFIG_FEATURE_REFORMIME_COMPAT is not set -# CONFIG_SENDMAIL is not set -CONFIG_FEATURE_MIME_CHARSET="" - -# -# Process Utilities -# -CONFIG_FREE=y -# CONFIG_FUSER is not set -# CONFIG_IOSTAT is not set -CONFIG_KILL=y -CONFIG_KILLALL=y -CONFIG_KILLALL5=y -# CONFIG_LSOF is not set -# CONFIG_MPSTAT is not set -# CONFIG_NMETER is not set -# CONFIG_PGREP is not set -CONFIG_PKILL=y -CONFIG_PIDOF=y -# CONFIG_FEATURE_PIDOF_SINGLE is not set -# CONFIG_FEATURE_PIDOF_OMIT is not set -# CONFIG_PMAP is not set -# CONFIG_POWERTOP is not set -# CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set -CONFIG_PS=y -CONFIG_FEATURE_PS_WIDE=y -CONFIG_FEATURE_PS_LONG=y -# CONFIG_FEATURE_PS_TIME is not set -# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set -# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set -# CONFIG_PSTREE is not set -# CONFIG_PWDX is not set -# CONFIG_SMEMCAP is not set -# CONFIG_BB_SYSCTL is not set -CONFIG_TOP=y -# CONFIG_FEATURE_TOP_INTERACTIVE is not set -# CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE is not set -# CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS is not set -# CONFIG_FEATURE_TOP_SMP_CPU is not set -# CONFIG_FEATURE_TOP_DECIMALS is not set -# CONFIG_FEATURE_TOP_SMP_PROCESS is not set -# CONFIG_FEATURE_TOPMEM is not set -CONFIG_UPTIME=y -# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set -CONFIG_WATCH=y -# CONFIG_FEATURE_SHOW_THREADS is not set - -# -# Runit Utilities -# -# CONFIG_CHPST is not set -# CONFIG_SETUIDGID is not set -# CONFIG_ENVUIDGID is not set -# CONFIG_ENVDIR is not set -# CONFIG_SOFTLIMIT is not set -# CONFIG_RUNSV is not set -# CONFIG_RUNSVDIR is not set -# CONFIG_FEATURE_RUNSVDIR_LOG is not set -# CONFIG_SV is not set -CONFIG_SV_DEFAULT_SERVICE_DIR="" -CONFIG_SVC=y -CONFIG_SVOK=y -# CONFIG_SVLOGD is not set -# CONFIG_CHCON is not set -# CONFIG_GETENFORCE is not set -# CONFIG_GETSEBOOL is not set -# CONFIG_LOAD_POLICY is not set -# CONFIG_MATCHPATHCON is not set -# CONFIG_RUNCON is not set -# CONFIG_SELINUXENABLED is not set -# CONFIG_SESTATUS is not set -# CONFIG_SETENFORCE is not set -# CONFIG_SETFILES is not set -# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set -# CONFIG_RESTORECON is not set -# CONFIG_SETSEBOOL is not set - -# -# Shells -# -# CONFIG_SH_IS_ASH is not set -CONFIG_SH_IS_HUSH=y -# CONFIG_SH_IS_NONE is not set -# CONFIG_BASH_IS_ASH is not set -# CONFIG_BASH_IS_HUSH is not set -CONFIG_BASH_IS_NONE=y -# CONFIG_SHELL_ASH is not set -# CONFIG_ASH is not set -# CONFIG_ASH_OPTIMIZE_FOR_SIZE is not set -# CONFIG_ASH_INTERNAL_GLOB is not set -# CONFIG_ASH_BASH_COMPAT is not set -# CONFIG_ASH_BASH_SOURCE_CURDIR is not set -# CONFIG_ASH_BASH_NOT_FOUND_HOOK is not set -# CONFIG_ASH_JOB_CONTROL is not set -# CONFIG_ASH_ALIAS is not set -# CONFIG_ASH_RANDOM_SUPPORT is not set -# CONFIG_ASH_EXPAND_PRMT is not set -# CONFIG_ASH_IDLE_TIMEOUT is not set -# CONFIG_ASH_MAIL is not set -# CONFIG_ASH_ECHO is not set -# CONFIG_ASH_PRINTF is not set -# CONFIG_ASH_TEST is not set -# CONFIG_ASH_HELP is not set -# CONFIG_ASH_GETOPTS is not set -# CONFIG_ASH_CMDCMD is not set -# CONFIG_CTTYHACK is not set -CONFIG_HUSH=y -CONFIG_SHELL_HUSH=y -CONFIG_HUSH_BASH_COMPAT=y -CONFIG_HUSH_BRACE_EXPANSION=y -CONFIG_HUSH_LINENO_VAR=y -# CONFIG_HUSH_BASH_SOURCE_CURDIR is not set -CONFIG_HUSH_INTERACTIVE=y -CONFIG_HUSH_SAVEHISTORY=y -CONFIG_HUSH_JOB=y -CONFIG_HUSH_TICK=y -CONFIG_HUSH_IF=y -CONFIG_HUSH_LOOPS=y -CONFIG_HUSH_CASE=y -CONFIG_HUSH_FUNCTIONS=y -CONFIG_HUSH_LOCAL=y -CONFIG_HUSH_RANDOM_SUPPORT=y -CONFIG_HUSH_MODE_X=y -CONFIG_HUSH_ECHO=y -CONFIG_HUSH_PRINTF=y -CONFIG_HUSH_TEST=y -CONFIG_HUSH_HELP=y -CONFIG_HUSH_EXPORT=y -CONFIG_HUSH_EXPORT_N=y -CONFIG_HUSH_READONLY=y -CONFIG_HUSH_KILL=y -CONFIG_HUSH_WAIT=y -CONFIG_HUSH_COMMAND=y -CONFIG_HUSH_TRAP=y -CONFIG_HUSH_TYPE=y -CONFIG_HUSH_TIMES=y -CONFIG_HUSH_READ=y -CONFIG_HUSH_SET=y -CONFIG_HUSH_UNSET=y -CONFIG_HUSH_ULIMIT=y -CONFIG_HUSH_UMASK=y -CONFIG_HUSH_GETOPTS=y -# CONFIG_HUSH_MEMLEAK is not set - -# -# Options common to all shells -# -CONFIG_FEATURE_SH_MATH=y -CONFIG_FEATURE_SH_MATH_64=y -CONFIG_FEATURE_SH_MATH_BASE=y -CONFIG_FEATURE_SH_EXTRA_QUIET=y -# CONFIG_FEATURE_SH_STANDALONE is not set -# CONFIG_FEATURE_SH_NOFORK is not set -CONFIG_FEATURE_SH_READ_FRAC=y -# CONFIG_FEATURE_SH_HISTFILESIZE is not set -CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS=y - -# -# System Logging Utilities -# -# CONFIG_KLOGD is not set -# CONFIG_FEATURE_KLOGD_KLOGCTL is not set -# CONFIG_LOGGER is not set -# CONFIG_LOGREAD is not set -# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set -# CONFIG_SYSLOGD is not set -# CONFIG_FEATURE_ROTATE_LOGFILE is not set -# CONFIG_FEATURE_REMOTE_LOG is not set -# CONFIG_FEATURE_SYSLOGD_DUP is not set -# CONFIG_FEATURE_SYSLOGD_CFG is not set -# CONFIG_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS is not set -CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0 -# CONFIG_FEATURE_IPC_SYSLOG is not set -CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 -# CONFIG_FEATURE_KMSG_SYSLOG is not set diff --git a/buildroot-2021.05/package/busybox/busybox.hash b/buildroot-2021.05/package/busybox/busybox.hash deleted file mode 100644 index dffab214..00000000 --- a/buildroot-2021.05/package/busybox/busybox.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://busybox.net/downloads/busybox-1.33.0.tar.bz2.sha256 -sha256 d568681c91a85edc6710770cebc1e80e042ad74d305b5c2e6d57a5f3de3b8fbd busybox-1.33.0.tar.bz2 -# Locally computed -sha256 bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548 LICENSE -sha256 b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f archival/libarchive/bz/LICENSE diff --git a/buildroot-2021.05/package/busybox/busybox.mk b/buildroot-2021.05/package/busybox/busybox.mk deleted file mode 100644 index e979ac4f..00000000 --- a/buildroot-2021.05/package/busybox/busybox.mk +++ /dev/null @@ -1,409 +0,0 @@ -################################################################################ -# -# busybox -# -################################################################################ - -BUSYBOX_VERSION = 1.33.0 -BUSYBOX_SITE = https://www.busybox.net/downloads -BUSYBOX_SOURCE = busybox-$(BUSYBOX_VERSION).tar.bz2 -BUSYBOX_LICENSE = GPL-2.0, bzip2-1.0.4 -BUSYBOX_LICENSE_FILES = LICENSE archival/libarchive/bz/LICENSE -BUSYBOX_CPE_ID_VENDOR = busybox - -# 0004-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch -BUSYBOX_IGNORE_CVES += CVE-2021-28831 - -define BUSYBOX_HELP_CMDS - @echo ' busybox-menuconfig - Run BusyBox menuconfig' -endef - -BUSYBOX_CFLAGS = \ - $(TARGET_CFLAGS) - -BUSYBOX_LDFLAGS = \ - $(TARGET_LDFLAGS) - -# Packages that provide commands that may also be busybox applets: -BUSYBOX_DEPENDENCIES = \ - $(if $(BR2_PACKAGE_ATTR),attr) \ - $(if $(BR2_PACKAGE_BASH),bash) \ - $(if $(BR2_PACKAGE_BC),bc) \ - $(if $(BR2_PACKAGE_BINUTILS),binutils) \ - $(if $(BR2_PACKAGE_COREUTILS),coreutils) \ - $(if $(BR2_PACKAGE_CPIO),cpio) \ - $(if $(BR2_PACKAGE_DCRON),dcron) \ - $(if $(BR2_PACKAGE_DEBIANUTILS),debianutils) \ - $(if $(BR2_PACKAGE_DIFFUTILS),diffutils) \ - $(if $(BR2_PACKAGE_DOS2UNIX),dos2unix) \ - $(if $(BR2_PACKAGE_DOSFSTOOLS),dosfstools) \ - $(if $(BR2_PACKAGE_E2FSPROGS),e2fsprogs) \ - $(if $(BR2_PACKAGE_FBSET),fbset) \ - $(if $(BR2_PACKAGE_GAWK),gawk) \ - $(if $(BR2_PACKAGE_GREP),grep) \ - $(if $(BR2_PACKAGE_GZIP),gzip) \ - $(if $(BR2_PACKAGE_I2C_TOOLS),i2c-tools) \ - $(if $(BR2_PACKAGE_IFENSLAVE),ifenslave) \ - $(if $(BR2_PACKAGE_IFPLUGD),ifplugd) \ - $(if $(BR2_PACKAGE_IFUPDOWN),ifupdown) \ - $(if $(BR2_PACKAGE_IPCALC),ipcalc) \ - $(if $(BR2_PACKAGE_IPROUTE2),iproute2) \ - $(if $(BR2_PACKAGE_IPUTILS),iputils) \ - $(if $(BR2_PACKAGE_KMOD),kmod) \ - $(if $(BR2_PACKAGE_LESS),less) \ - $(if $(BR2_PACKAGE_LSOF),lsof) \ - $(if $(BR2_PACKAGE_MTD),mtd) \ - $(if $(BR2_PACKAGE_NET_TOOLS),net-tools) \ - $(if $(BR2_PACKAGE_NETCAT),netcat) \ - $(if $(BR2_PACKAGE_NETCAT_OPENSBSD),netcat-openbsd) \ - $(if $(BR2_PACKAGE_NMAP),nmap) \ - $(if $(BR2_PACKAGE_NTP),ntp) \ - $(if $(BR2_PACKAGE_PCIUTILS),pciutils) \ - $(if $(BR2_PACKAGE_PROCPS_NG),procps-ng) \ - $(if $(BR2_PACKAGE_PSMISC),psmisc) \ - $(if $(BR2_PACKAGE_START_STOP_DAEMON),start-stop-daemon) \ - $(if $(BR2_PACKAGE_SYSKLOGD),sysklogd) \ - $(if $(BR2_PACKAGE_SYSTEMD),systemd) \ - $(if $(BR2_PACKAGE_SYSVINIT),sysvinit) \ - $(if $(BR2_PACKAGE_TAR),tar) \ - $(if $(BR2_PACKAGE_TFTPD),tftpd) \ - $(if $(BR2_PACKAGE_TRACEROUTE),traceroute) \ - $(if $(BR2_PACKAGE_UNZIP),unzip) \ - $(if $(BR2_PACKAGE_USBUTILS),usbutils) \ - $(if $(BR2_PACKAGE_UTIL_LINUX),util-linux) \ - $(if $(BR2_PACKAGE_VIM),vim) \ - $(if $(BR2_PACKAGE_WATCHDOG),watchdog) \ - $(if $(BR2_PACKAGE_WGET),wget) \ - $(if $(BR2_PACKAGE_WHOIS),whois) - -# Link against libtirpc if available so that we can leverage its RPC -# support for NFS mounting with BusyBox -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -BUSYBOX_DEPENDENCIES += libtirpc host-pkgconf -BUSYBOX_CFLAGS += "`$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" -# Don't use LDFLAGS for -ltirpc, because LDFLAGS is used for -# the non-final link of modules as well. -BUSYBOX_CFLAGS_busybox += "`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`" -endif - -# Allows the build system to tweak CFLAGS -BUSYBOX_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - CFLAGS="$(BUSYBOX_CFLAGS)" \ - CFLAGS_busybox="$(BUSYBOX_CFLAGS_busybox)" - -ifeq ($(BR2_REPRODUCIBLE),y) -BUSYBOX_MAKE_ENV += \ - KCONFIG_NOTIMESTAMP=1 -endif - -BUSYBOX_MAKE_OPTS = \ - CC="$(TARGET_CC)" \ - ARCH=$(KERNEL_ARCH) \ - PREFIX="$(TARGET_DIR)" \ - EXTRA_LDFLAGS="$(BUSYBOX_LDFLAGS)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - CONFIG_PREFIX="$(TARGET_DIR)" \ - SKIP_STRIP=y - -ifndef BUSYBOX_CONFIG_FILE -BUSYBOX_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG)) -endif - -BUSYBOX_KCONFIG_FILE = $(BUSYBOX_CONFIG_FILE) -BUSYBOX_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES)) -BUSYBOX_KCONFIG_EDITORS = menuconfig xconfig gconfig -BUSYBOX_KCONFIG_OPTS = $(BUSYBOX_MAKE_OPTS) - -ifeq ($(BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES),y) -define BUSYBOX_PERMISSIONS -# Set permissions on all applets with BB_SUID_REQUIRE and BB_SUID_MAYBE. -# 12 Applets are pulled from applets.h using grep command : -# grep -r -e "APPLET.*BB_SUID_REQUIRE\|APPLET.*BB_SUID_MAYBE" \ -# $(@D)/include/applets.h -# These applets are added to the device table and the makedev file -# ignores the files with type 'F' ( optional files). - /usr/bin/wall F 4755 0 0 - - - - - - /bin/ping F 4755 0 0 - - - - - - /bin/ping6 F 4755 0 0 - - - - - - /usr/bin/crontab F 4755 0 0 - - - - - - /sbin/findfs F 4755 0 0 - - - - - - /bin/login F 4755 0 0 - - - - - - /bin/mount F 4755 0 0 - - - - - - /usr/bin/passwd F 4755 0 0 - - - - - - /bin/su F 4755 0 0 - - - - - - /usr/bin/traceroute F 4755 0 0 - - - - - - /usr/bin/traceroute6 F 4755 0 0 - - - - - - /usr/bin/vlock F 4755 0 0 - - - - - -endef -else -define BUSYBOX_PERMISSIONS - /bin/busybox f 4755 0 0 - - - - - -endef -endif - -# If mdev will be used for device creation enable it and copy S10mdev to /etc/init.d -ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),y) -define BUSYBOX_INSTALL_MDEV_SCRIPT - $(INSTALL) -D -m 0755 package/busybox/S10mdev \ - $(TARGET_DIR)/etc/init.d/S10mdev -endef -define BUSYBOX_INSTALL_MDEV_CONF - $(INSTALL) -D -m 0644 package/busybox/mdev.conf \ - $(TARGET_DIR)/etc/mdev.conf -endef -define BUSYBOX_SET_MDEV - $(call KCONFIG_ENABLE_OPT,CONFIG_MDEV) - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_CONF) - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_EXEC) - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_LOAD_FIRMWARE) -endef -endif - -# sha passwords need USE_BB_CRYPT_SHA -ifeq ($(BR2_TARGET_GENERIC_PASSWD_SHA256)$(BR2_TARGET_GENERIC_PASSWD_SHA512),y) -define BUSYBOX_SET_CRYPT_SHA - $(call KCONFIG_ENABLE_OPT,CONFIG_USE_BB_CRYPT_SHA) -endef -endif - -ifeq ($(BR2_USE_MMU),y) -define BUSYBOX_SET_MMU - $(call KCONFIG_DISABLE_OPT,CONFIG_NOMMU) -endef -else -define BUSYBOX_SET_MMU - $(call KCONFIG_ENABLE_OPT,CONFIG_NOMMU) - $(call KCONFIG_DISABLE_OPT,CONFIG_SWAPON) - $(call KCONFIG_DISABLE_OPT,CONFIG_SWAPOFF) - $(call KCONFIG_DISABLE_OPT,CONFIG_ASH) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_BASH_COMPAT) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_BRACE_EXPANSION) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_HELP) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_INTERACTIVE) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_SAVEHISTORY) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_JOB) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_TICK) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_IF) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_LOOPS) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_CASE) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_FUNCTIONS) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_LOCAL) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_RANDOM_SUPPORT) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_EXPORT_N) - $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_MODE_X) -endef -endif - -# If we're using static libs do the same for busybox -ifeq ($(BR2_STATIC_LIBS),y) -define BUSYBOX_PREFER_STATIC - $(call KCONFIG_ENABLE_OPT,CONFIG_STATIC) -endef -endif - -define BUSYBOX_INSTALL_UDHCPC_SCRIPT - if grep -q CONFIG_UDHCPC=y $(@D)/.config; then \ - $(INSTALL) -m 0755 -D package/busybox/udhcpc.script \ - $(TARGET_DIR)/usr/share/udhcpc/default.script; \ - $(INSTALL) -m 0755 -d \ - $(TARGET_DIR)/usr/share/udhcpc/default.script.d; \ - fi -endef - -define BUSYBOX_INSTALL_ZCIP_SCRIPT - if grep -q CONFIG_ZCIP=y $(@D)/.config; then \ - $(INSTALL) -m 0755 -D $(@D)/examples/zcip.script \ - $(TARGET_DIR)/usr/share/zcip/default.script; \ - fi -endef - -ifeq ($(BR2_INIT_BUSYBOX),y) - -define BUSYBOX_SET_INIT - $(call KCONFIG_ENABLE_OPT,CONFIG_INIT) -endef - -ifeq ($(BR2_TARGET_GENERIC_GETTY),y) -define BUSYBOX_SET_GETTY - $(SED) '/# GENERIC_SERIAL$$/s~^.*#~$(SYSTEM_GETTY_PORT)::respawn:/sbin/getty -L $(SYSTEM_GETTY_OPTIONS) $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_TERM) #~' \ - $(TARGET_DIR)/etc/inittab -endef -else -define BUSYBOX_SET_GETTY - $(SED) '/# GENERIC_SERIAL$$/s~^.*#~#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 #~' $(TARGET_DIR)/etc/inittab -endef -endif # BR2_TARGET_GENERIC_GETTY -BUSYBOX_TARGET_FINALIZE_HOOKS += BUSYBOX_SET_GETTY - -BUSYBOX_TARGET_FINALIZE_HOOKS += SYSTEM_REMOUNT_ROOT_INITTAB - -endif # BR2_INIT_BUSYBOX - -ifeq ($(BR2_PACKAGE_BUSYBOX_SELINUX),y) -BUSYBOX_DEPENDENCIES += host-pkgconf libselinux libsepol -define BUSYBOX_SET_SELINUX - $(call KCONFIG_ENABLE_OPT,CONFIG_SELINUX) - $(call KCONFIG_ENABLE_OPT,CONFIG_SELINUXENABLED) -endef -endif - -# enable relevant options to allow the Busybox less applet to be used -# as a systemd pager -ifeq ($(BR2_PACKAGE_SYSTEMD):$(BR2_PACKAGE_LESS),y:) -define BUSYBOX_SET_LESS_FLAGS - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_DASHCMD) - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_RAW) - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_TRUNCATE) - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_FLAGS) - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_ENV) -endef -endif - -ifeq ($(BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES),y) -define BUSYBOX_SET_INDIVIDUAL_BINARIES - $(call KCONFIG_ENABLE_OPT,CONFIG_BUILD_LIBBUSYBOX) - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_INDIVIDUAL) -endef - -define BUSYBOX_INSTALL_INDIVIDUAL_BINARIES - rm -f $(TARGET_DIR)/bin/busybox -endef -endif - -# Only install our logging scripts if no other package does it. -ifeq ($(BR2_PACKAGE_SYSKLOGD)$(BR2_PACKAGE_RSYSLOG)$(BR2_PACKAGE_SYSLOG_NG),) -define BUSYBOX_INSTALL_LOGGING_SCRIPT - if grep -q CONFIG_SYSLOGD=y $(@D)/.config; \ - then \ - $(INSTALL) -m 0755 -D package/busybox/S01syslogd \ - $(TARGET_DIR)/etc/init.d/S01syslogd; \ - fi; \ - if grep -q CONFIG_KLOGD=y $(@D)/.config; \ - then \ - $(INSTALL) -m 0755 -D package/busybox/S02klogd \ - $(TARGET_DIR)/etc/init.d/S02klogd; \ - fi -endef -endif - -# Only install our sysctl scripts if no other package does it. -ifeq ($(BR2_PACKAGE_PROCPS_NG),) -define BUSYBOX_INSTALL_SYSCTL_SCRIPT - if grep -q CONFIG_BB_SYSCTL=y $(@D)/.config; \ - then \ - $(INSTALL) -m 0755 -D package/busybox/S02sysctl \ - $(TARGET_DIR)/etc/init.d/S02sysctl ; \ - fi -endef -endif - -ifeq ($(BR2_INIT_BUSYBOX),y) -define BUSYBOX_INSTALL_INITTAB - if test ! -e $(TARGET_DIR)/etc/inittab; then \ - $(INSTALL) -D -m 0644 package/busybox/inittab $(TARGET_DIR)/etc/inittab; \ - fi -endef -endif - -ifeq ($(BR2_PACKAGE_BUSYBOX_WATCHDOG),y) -define BUSYBOX_SET_WATCHDOG - $(call KCONFIG_ENABLE_OPT,CONFIG_WATCHDOG) -endef -define BUSYBOX_INSTALL_WATCHDOG_SCRIPT - $(INSTALL) -D -m 0755 package/busybox/S15watchdog \ - $(TARGET_DIR)/etc/init.d/S15watchdog - $(SED) s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \ - $(TARGET_DIR)/etc/init.d/S15watchdog -endef -endif - -# PAM support requires thread support in the toolchain -ifeq ($(BR2_PACKAGE_LINUX_PAM)$(BR2_TOOLCHAIN_HAS_THREADS),yy) -define BUSYBOX_LINUX_PAM - $(call KCONFIG_ENABLE_OPT,CONFIG_PAM) -endef -BUSYBOX_DEPENDENCIES += linux-pam -else -define BUSYBOX_LINUX_PAM - $(call KCONFIG_DISABLE_OPT,CONFIG_PAM) -endef -endif - -# Telnet support -define BUSYBOX_INSTALL_TELNET_SCRIPT - if grep -q CONFIG_FEATURE_TELNETD_STANDALONE=y $(@D)/.config; then \ - $(INSTALL) -m 0755 -D package/busybox/S50telnet \ - $(TARGET_DIR)/etc/init.d/S50telnet ; \ - fi -endef - -# Add /bin/{a,hu}sh to /etc/shells otherwise some login tools like dropbear -# can reject the user connection. See man shells. -define BUSYBOX_INSTALL_ADD_TO_SHELLS - if grep -q CONFIG_ASH=y $(BUSYBOX_DIR)/.config; then \ - grep -qsE '^/bin/ash$$' $(TARGET_DIR)/etc/shells \ - || echo "/bin/ash" >> $(TARGET_DIR)/etc/shells; \ - fi - if grep -q CONFIG_HUSH=y $(BUSYBOX_DIR)/.config; then \ - grep -qsE '^/bin/hush$$' $(TARGET_DIR)/etc/shells \ - || echo "/bin/hush" >> $(TARGET_DIR)/etc/shells; \ - fi -endef -BUSYBOX_TARGET_FINALIZE_HOOKS += BUSYBOX_INSTALL_ADD_TO_SHELLS - -define BUSYBOX_KCONFIG_FIXUP_CMDS - $(BUSYBOX_SET_MMU) - $(BUSYBOX_PREFER_STATIC) - $(BUSYBOX_SET_MDEV) - $(BUSYBOX_SET_CRYPT_SHA) - $(BUSYBOX_LINUX_PAM) - $(BUSYBOX_SET_INIT) - $(BUSYBOX_SET_WATCHDOG) - $(BUSYBOX_SET_SELINUX) - $(BUSYBOX_SET_LESS_FLAGS) - $(BUSYBOX_SET_INDIVIDUAL_BINARIES) -endef - -define BUSYBOX_BUILD_CMDS - $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) -endef - -define BUSYBOX_INSTALL_TARGET_CMDS - # Use the 'noclobber' install rule, to prevent BusyBox from overwriting - # any full-blown versions of apps installed by other packages. - $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) install-noclobber - $(BUSYBOX_INSTALL_INDIVIDUAL_BINARIES) - $(BUSYBOX_INSTALL_INITTAB) - $(BUSYBOX_INSTALL_UDHCPC_SCRIPT) - $(BUSYBOX_INSTALL_ZCIP_SCRIPT) - $(BUSYBOX_INSTALL_MDEV_CONF) -endef - -# Install the sysvinit scripts, for the moment, but not those that already -# have a corresponding one in openrc. -define BUSYBOX_INSTALL_INIT_OPENRC - $(BUSYBOX_INSTALL_MDEV_SCRIPT) - $(BUSYBOX_INSTALL_LOGGING_SCRIPT) - $(BUSYBOX_INSTALL_WATCHDOG_SCRIPT) - $(BUSYBOX_INSTALL_TELNET_SCRIPT) -endef - -define BUSYBOX_INSTALL_INIT_SYSV - $(BUSYBOX_INSTALL_MDEV_SCRIPT) - $(BUSYBOX_INSTALL_LOGGING_SCRIPT) - $(BUSYBOX_INSTALL_WATCHDOG_SCRIPT) - $(BUSYBOX_INSTALL_SYSCTL_SCRIPT) - $(BUSYBOX_INSTALL_TELNET_SCRIPT) -endef - -# Checks to give errors that the user can understand -# Must be before we call to kconfig-package -ifeq ($(BR2_PACKAGE_BUSYBOX)$(BR_BUILDING),yy) -ifeq ($(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG)),) -$(error No BusyBox configuration file specified, check your BR2_PACKAGE_BUSYBOX_CONFIG setting) -endif -endif - -$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/package/busybox/inittab b/buildroot-2021.05/package/busybox/inittab deleted file mode 100644 index ff1725c7..00000000 --- a/buildroot-2021.05/package/busybox/inittab +++ /dev/null @@ -1,39 +0,0 @@ -# /etc/inittab -# -# Copyright (C) 2001 Erik Andersen -# -# Note: BusyBox init doesn't support runlevels. The runlevels field is -# completely ignored by BusyBox init. If you want runlevels, use -# sysvinit. -# -# Format for each entry: ::: -# -# id == tty to run on, or empty for /dev/console -# runlevels == ignored -# action == one of sysinit, respawn, askfirst, wait, and once -# process == program to run - -# Startup the system -::sysinit:/bin/mount -t proc proc /proc -::sysinit:/bin/mount -o remount,rw / -::sysinit:/bin/mkdir -p /dev/pts /dev/shm -::sysinit:/bin/mount -a -::sysinit:/sbin/swapon -a -null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd -null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin -null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout -null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr -::sysinit:/bin/hostname -F /etc/hostname -# now run any rc scripts -::sysinit:/etc/init.d/rcS - -# Put a getty on the serial port -#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL - -# Stuff to do for the 3-finger salute -#::ctrlaltdel:/sbin/reboot - -# Stuff to do before rebooting -::shutdown:/etc/init.d/rcK -::shutdown:/sbin/swapoff -a -::shutdown:/bin/umount -a -r diff --git a/buildroot-2021.05/package/busybox/udhcpc.script b/buildroot-2021.05/package/busybox/udhcpc.script deleted file mode 100755 index c73ad6c2..00000000 --- a/buildroot-2021.05/package/busybox/udhcpc.script +++ /dev/null @@ -1,121 +0,0 @@ -#!/bin/sh - -# udhcpc script edited by Tim Riker - -[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 - -RESOLV_CONF="/etc/resolv.conf" -[ -e $RESOLV_CONF ] || touch $RESOLV_CONF -[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" -[ -n "$subnet" ] && NETMASK="netmask $subnet" -# Handle stateful DHCPv6 like DHCPv4 -[ -n "$ipv6" ] && ip="$ipv6/128" - -if [ -z "${IF_WAIT_DELAY}" ]; then - IF_WAIT_DELAY=10 -fi - -wait_for_ipv6_default_route() { - printf "Waiting for IPv6 default route to appear" - while [ $IF_WAIT_DELAY -gt 0 ]; do - if ip -6 route list | grep -q default; then - printf "\n" - return - fi - sleep 1 - printf "." - : $((IF_WAIT_DELAY -= 1)) - done - printf " timeout!\n" -} - -case "$1" in - deconfig) - /sbin/ifconfig $interface up - /sbin/ifconfig $interface 0.0.0.0 - - # drop info from this interface - # resolv.conf may be a symlink to /tmp/, so take care - TMPFILE=$(mktemp) - grep -vE "# $interface\$" $RESOLV_CONF > $TMPFILE - cat $TMPFILE > $RESOLV_CONF - rm -f $TMPFILE - - if [ -x /usr/sbin/avahi-autoipd ]; then - /usr/sbin/avahi-autoipd -c $interface && /usr/sbin/avahi-autoipd -k $interface - fi - ;; - - leasefail|nak) - if [ -x /usr/sbin/avahi-autoipd ]; then - /usr/sbin/avahi-autoipd -c $interface || /usr/sbin/avahi-autoipd -wD $interface --no-chroot - fi - ;; - - renew|bound) - if [ -x /usr/sbin/avahi-autoipd ]; then - /usr/sbin/avahi-autoipd -c $interface && /usr/sbin/avahi-autoipd -k $interface - fi - /sbin/ifconfig $interface $ip $BROADCAST $NETMASK - if [ -n "$ipv6" ] ; then - wait_for_ipv6_default_route - fi - - # RFC3442: If the DHCP server returns both a Classless - # Static Routes option and a Router option, the DHCP - # client MUST ignore the Router option. - if [ -n "$staticroutes" ]; then - echo "deleting routers" - route -n | while read dest gw mask flags metric ref use iface; do - [ "$iface" != "$interface" -o "$gw" = "0.0.0.0" ] || \ - route del -net "$dest" netmask "$mask" gw "$gw" dev "$interface" - done - - # format: dest1/mask gw1 ... destn/mask gwn - set -- $staticroutes - while [ -n "$1" -a -n "$2" ]; do - route add -net "$1" gw "$2" dev "$interface" - shift 2 - done - elif [ -n "$router" ] ; then - echo "deleting routers" - while route del default gw 0.0.0.0 dev $interface 2> /dev/null; do - : - done - - for i in $router ; do - route add default gw $i dev $interface - done - fi - - # drop info from this interface - # resolv.conf may be a symlink to /tmp/, so take care - TMPFILE=$(mktemp) - grep -vE "# $interface\$" $RESOLV_CONF > $TMPFILE - cat $TMPFILE > $RESOLV_CONF - rm -f $TMPFILE - - # prefer rfc3397 domain search list (option 119) if available - if [ -n "$search" ]; then - search_list=$search - elif [ -n "$domain" ]; then - search_list=$domain - fi - - [ -n "$search_list" ] && - echo "search $search_list # $interface" >> $RESOLV_CONF - - for i in $dns ; do - echo adding dns $i - echo "nameserver $i # $interface" >> $RESOLV_CONF - done - ;; -esac - -HOOK_DIR="$0.d" -for hook in "${HOOK_DIR}/"*; do - [ -f "${hook}" -a -x "${hook}" ] || continue - "${hook}" "${@}" -done - -exit 0 diff --git a/buildroot-2021.05/package/c-ares/c-ares.hash b/buildroot-2021.05/package/c-ares/c-ares.hash deleted file mode 100644 index 235b7dbc..00000000 --- a/buildroot-2021.05/package/c-ares/c-ares.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 d73dd0f6de824afd407ce10750ea081af47eba52b8a6cb307d220131ad93fc40 c-ares-1.17.1.tar.gz - -# Hash for license file -sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md diff --git a/buildroot-2021.05/package/c-ares/c-ares.mk b/buildroot-2021.05/package/c-ares/c-ares.mk deleted file mode 100644 index 8f200237..00000000 --- a/buildroot-2021.05/package/c-ares/c-ares.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# c-ares -# -################################################################################ - -C_ARES_VERSION = 1.17.1 -C_ARES_SITE = http://c-ares.haxx.se/download -C_ARES_INSTALL_STAGING = YES -C_ARES_CONF_OPTS = --with-random=/dev/urandom -C_ARES_LICENSE = MIT -C_ARES_LICENSE_FILES = LICENSE.md - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/ca-certificates/ca-certificates.hash b/buildroot-2021.05/package/ca-certificates/ca-certificates.hash deleted file mode 100644 index 024034c9..00000000 --- a/buildroot-2021.05/package/ca-certificates/ca-certificates.hash +++ /dev/null @@ -1,6 +0,0 @@ -# hashes from: $(CA_CERTIFICATES_SITE)/ca-certificates_$(CA_CERTIFICATES_VERSION).dsc : -sha1 c9875aa16e42981c6975e59a11727539053e2299 ca-certificates_20210119.tar.xz -sha256 daa3afae563711c30a0586ddae4336e8e3974c2b627faaca404c4e0141b64665 ca-certificates_20210119.tar.xz - -# Locally computed -sha256 e85e1bcad3a915dc7e6f41412bc5bdeba275cadd817896ea0451f2140a93967c debian/copyright diff --git a/buildroot-2021.05/package/ca-certificates/ca-certificates.mk b/buildroot-2021.05/package/ca-certificates/ca-certificates.mk deleted file mode 100644 index 94302ea9..00000000 --- a/buildroot-2021.05/package/ca-certificates/ca-certificates.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# ca-certificates -# -################################################################################ - -CA_CERTIFICATES_VERSION = 20210119 -CA_CERTIFICATES_SOURCE = ca-certificates_$(CA_CERTIFICATES_VERSION).tar.xz -CA_CERTIFICATES_SITE = https://snapshot.debian.org/archive/debian/20210325T091936Z/pool/main/c/ca-certificates -CA_CERTIFICATES_DEPENDENCIES = host-openssl host-python3 -CA_CERTIFICATES_LICENSE = GPL-2.0+ (script), MPL-2.0 (data) -CA_CERTIFICATES_LICENSE_FILES = debian/copyright - -define CA_CERTIFICATES_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean all -endef - -define CA_CERTIFICATES_INSTALL_TARGET_CMDS - $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/ca-certificates - $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/ssl/certs - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) - rm -f $(TARGET_DIR)/usr/sbin/update-ca-certificates - - # Remove any existing certificates under /etc/ssl/certs - rm -f $(TARGET_DIR)/etc/ssl/certs/* - - # Create symlinks to certificates under /etc/ssl/certs - # and generate the bundle - cd $(TARGET_DIR) ;\ - for i in `find usr/share/ca-certificates -name "*.crt" | LC_COLLATE=C sort` ; do \ - ln -sf ../../../$$i etc/ssl/certs/`basename $${i} .crt`.pem ;\ - cat $$i ;\ - done >$(@D)/ca-certificates.crt - - # Create symlinks to the certificates by their hash values - $(HOST_DIR)/bin/c_rehash $(TARGET_DIR)/etc/ssl/certs - - # Install the certificates bundle - $(INSTALL) -D -m 644 $(@D)/ca-certificates.crt \ - $(TARGET_DIR)/etc/ssl/certs/ca-certificates.crt -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/cage/cage.hash b/buildroot-2021.05/package/cage/cage.hash deleted file mode 100644 index 5cae952d..00000000 --- a/buildroot-2021.05/package/cage/cage.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Generated locally -sha256 38a3e3968f00cc58fe1d9448e972cfac7d1efa30c48699f09032f264101a55ac cage-0.1.2.1.tar.gz - -# Hashes for license files: -sha256 e117104073335dbaf78596fb1bedf89dda63c71f60f0b665947b2d369c77ecee LICENSE diff --git a/buildroot-2021.05/package/cage/cage.mk b/buildroot-2021.05/package/cage/cage.mk deleted file mode 100644 index 9fc01d36..00000000 --- a/buildroot-2021.05/package/cage/cage.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# cage -# -################################################################################ - -CAGE_VERSION = 0.1.2.1 -CAGE_SITE = https://github.com/Hjdskes/cage/releases/download/v$(CAGE_VERSION) -CAGE_LICENSE = MIT -CAGE_LICENSE_FILES = LICENSE -CAGE_DEPENDENCIES = host-pkgconf wlroots - -ifeq ($(BR2_PACKAGE_XORG7),y) -CAGE_CONF_OPTS = -Dxwayland=true -else -CAGE_CONF_OPTS = -Dxwayland=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/cairomm/Config.in b/buildroot-2021.05/package/cairomm/Config.in deleted file mode 100644 index 840549b4..00000000 --- a/buildroot-2021.05/package/cairomm/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_CAIROMM - bool "cairomm" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_USE_MMU # libglib2 - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBSIGC - help - The cairomm package is a set of C++ bindings for Cairo. - - http://www.gtkmm.org/ - -comment "cairomm needs a toolchain w/ C++, wchar, threads, gcc >= 4.8" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_USE_WCHAR \ - || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/cairomm/cairomm.hash b/buildroot-2021.05/package/cairomm/cairomm.hash deleted file mode 100644 index 573104ec..00000000 --- a/buildroot-2021.05/package/cairomm/cairomm.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/cairomm/1.12/cairomm-1.12.0.sha256sum -sha256 a54ada8394a86182525c0762e6f50db6b9212a2109280d13ec6a0b29bfd1afe6 cairomm-1.12.0.tar.xz -# Locally computed -sha256 bfe4a52dc4645385f356a8e83cc54216a293e3b6f1cb4f79f5fc0277abf937fd COPYING diff --git a/buildroot-2021.05/package/cairomm/cairomm.mk b/buildroot-2021.05/package/cairomm/cairomm.mk deleted file mode 100644 index 07aae971..00000000 --- a/buildroot-2021.05/package/cairomm/cairomm.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# cairomm -# -################################################################################ - -CAIROMM_VERSION_MAJOR = 1.12 -CAIROMM_VERSION = $(CAIROMM_VERSION_MAJOR).0 -CAIROMM_LICENSE = LGPL-2.0+ -CAIROMM_LICENSE_FILES = COPYING -CAIROMM_SOURCE = cairomm-$(CAIROMM_VERSION).tar.xz -CAIROMM_SITE = http://ftp.gnome.org/pub/gnome/sources/cairomm/$(CAIROMM_VERSION_MAJOR) -CAIROMM_INSTALL_STAGING = YES -CAIROMM_DEPENDENCIES = cairo libglib2 libsigc host-pkgconf - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/can-utils/can-utils.hash b/buildroot-2021.05/package/can-utils/can-utils.hash deleted file mode 100644 index e3ff2c9d..00000000 --- a/buildroot-2021.05/package/can-utils/can-utils.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 c5c22a00ce2ea7578d7617ac0affef8f47a349be58e708780d703b979f324a2b can-utils-2020.12.0.tar.gz -sha256 c3dc748f5e725cf5ed89784fe78e4ff1b05d309bf1e7ade4c572e8fde1b8406c LICENSES/BSD-3-Clause -sha256 995a31f60a9ddb4c609214cc7d17ca94cc3cbc7f37e1e64dba81e7f8ea9d4f91 LICENSES/GPL-2.0-only.txt diff --git a/buildroot-2021.05/package/can-utils/can-utils.mk b/buildroot-2021.05/package/can-utils/can-utils.mk deleted file mode 100644 index 8beb672e..00000000 --- a/buildroot-2021.05/package/can-utils/can-utils.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# can-utils -# -################################################################################ - -CAN_UTILS_VERSION = 2020.12.0 -CAN_UTILS_SITE = $(call github,linux-can,can-utils,v$(CAN_UTILS_VERSION)) -CAN_UTILS_LICENSE = BSD-3-Clause or GPL-2.0 -CAN_UTILS_LICENSE_FILES = LICENSES/BSD-3-Clause LICENSES/GPL-2.0-only.txt -CAN_UTILS_AUTORECONF = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/canfestival/0001-install-pkgconfig-module-for-canfestival.patch b/buildroot-2021.05/package/canfestival/0001-install-pkgconfig-module-for-canfestival.patch deleted file mode 100644 index 23f3d899..00000000 --- a/buildroot-2021.05/package/canfestival/0001-install-pkgconfig-module-for-canfestival.patch +++ /dev/null @@ -1,74 +0,0 @@ -From s.martin49@gmail.com Sun Sep 28 14:59:53 2014 -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Subject: [PATCH] Install pkgconfig module for canfestival -X-Mercurial-Node: c408fdc77aa18fcda81db4f0d038e8a69ba84bb2 -X-Mercurial-Series-Index: 1 -X-Mercurial-Series-Total: 1 -Message-Id: -X-Mercurial-Series-Id: -User-Agent: Mercurial-patchbomb/3.1.1 -Date: Sun, 28 Sep 2014 14:59:53 +0200 -From: Samuel Martin -To: canfestival-devel@lists.sourceforge.net -Cc: Samuel Martin - -# HG changeset patch -# User "Samuel Martin" -# Date 1411906817 -7200 -# Sun Sep 28 14:20:17 2014 +0200 -# Node ID c408fdc77aa18fcda81db4f0d038e8a69ba84bb2 -# Parent 7740ac6fdedc23e1ed6908d3d7db54833c88572b -Install pkgconfig module for canfestival. - -Signed-off-by: Samuel Martin -Cc: Cluadio Laurita - -diff -r 7740ac6fdedc -r c408fdc77aa1 canfestival.pc.in ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/canfestival.pc.in Sun Sep 28 14:20:17 2014 +0200 -@@ -0,0 +1,12 @@ -+PREFIX = SUB_PREFIX -+TARGET = SUB_TARGET -+ -+prefix=${PREFIX} -+libdir=${prefix}/lib -+includedir=${prefix}/include/canfestival -+ -+Name: Canfestival -+Description: Canfestival CANOpen library -+Version: 1 -+Libs: -L${libdir} -lcanfestival -lcanfestival_${TARGET} -lrt -ldl -lpthread -+Cflags: -I${includedir} -diff -r 7740ac6fdedc -r c408fdc77aa1 configure ---- a/configure Thu Jun 12 14:07:16 2014 +0200 -+++ b/configure Sun Sep 28 14:20:17 2014 +0200 -@@ -813,6 +813,10 @@ - MAKEFILES=$MAKEFILES\ drivers/$SUB_TARGET/Makefile.in - fi - -+if [ "$SUB_TARGET" = "unix" ]; then -+ MAKEFILES=$MAKEFILES\ canfestival.pc.in -+fi -+ - if [ "$SUB_TARGET" = "unix" -a "$SUB_TIMERS_DRIVER" = "kernel" ]; then - MAKEFILES=$MAKEFILES\ - \ examples/kerneltest/Makefile.in\ -diff -r 7740ac6fdedc -r c408fdc77aa1 src/Makefile.in ---- a/src/Makefile.in Thu Jun 12 14:07:16 2014 +0200 -+++ b/src/Makefile.in Sun Sep 28 14:20:17 2014 +0200 -@@ -132,9 +132,10 @@ - $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< - - install: libcanfestival.a -- mkdir -p $(DESTDIR)$(PREFIX)/lib/ -+ mkdir -p $(DESTDIR)$(PREFIX)/lib/pkgconfig - mkdir -p $(DESTDIR)$(PREFIX)/include/canfestival - cp libcanfestival.a $(DESTDIR)$(PREFIX)/lib/ -+ cp ../canfestival.pc $(DESTDIR)$(PREFIX)/lib/pkgconfig/ - cp ../include/*.h $(DESTDIR)$(PREFIX)/include/canfestival - - uninstall: - - diff --git a/buildroot-2021.05/package/canfestival/0002-allow-to-set-python-interpreter.patch b/buildroot-2021.05/package/canfestival/0002-allow-to-set-python-interpreter.patch deleted file mode 100644 index bb603165..00000000 --- a/buildroot-2021.05/package/canfestival/0002-allow-to-set-python-interpreter.patch +++ /dev/null @@ -1,176 +0,0 @@ -From s.martin49@gmail.com Fri Oct 10 23:43:32 2014 -Content-Type: text/plain; charset="us-ascii" -MIME-Version: 1.0 -Content-Transfer-Encoding: 7bit -Subject: [PATCH] allow to set python interpreter -X-Mercurial-Node: 4805f636c2317d989a5f704ba691369f41be6595 -X-Mercurial-Series-Index: 1 -X-Mercurial-Series-Total: 1 -Message-Id: <4805f636c2317d989a5f.1412977412@bobook> -X-Mercurial-Series-Id: <4805f636c2317d989a5f.1412977412@bobook> -User-Agent: Mercurial-patchbomb/3.1.2 -Date: Fri, 10 Oct 2014 23:43:32 +0200 -From: Samuel Martin -To: canfestival-devel@lists.sourceforge.net -Cc: Samuel Martin - -# HG changeset patch -# User "Samuel Martin" -# Date 1412977082 -7200 -# Fri Oct 10 23:38:02 2014 +0200 -# Node ID 4805f636c2317d989a5f704ba691369f41be6595 -# Parent c408fdc77aa18fcda81db4f0d038e8a69ba84bb2 -allow to set python interpreter - -Canfestival python modules and scripts are not python3 compliant. - -Allow to pass the python interperter to be used to make. - -Signed-off-by: Samuel Martin - -diff --git a/Makefile.in b/Makefile.in ---- a/Makefile.in -+++ b/Makefile.in -@@ -21,6 +21,9 @@ - # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - # - -+PYTHON ?= python -+export PYTHON -+ - all: objdictedit canfestival examples - - examples: canfestival driver -diff --git a/doc/manual/en/manual.tex b/doc/manual/en/manual.tex ---- a/doc/manual/en/manual.tex -+++ b/doc/manual/en/manual.tex -@@ -1134,6 +1134,7 @@ - python objdictedit.py [od files...] - \end{verbatim} - -+Note that Gnosis modules only run with python2 as interpreter. - - \subsubsection{Installation and usage on Windows} - -diff --git a/examples/CANOpenShell/Makefile.in b/examples/CANOpenShell/Makefile.in ---- a/examples/CANOpenShell/Makefile.in -+++ b/examples/CANOpenShell/Makefile.in -@@ -69,11 +69,11 @@ - - CANOpenShellMasterOD.c: CANOpenShellMasterOD.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py CANOpenShellMasterOD.od CANOpenShellMasterOD.c -+ $(PYTHON) ../../objdictgen/objdictgen.py CANOpenShellMasterOD.od CANOpenShellMasterOD.c - - CANOpenShellSlaveOD.c: CANOpenShellSlaveOD.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py CANOpenShellSlaveOD.od CANOpenShellSlaveOD.c -+ $(PYTHON) ../../objdictgen/objdictgen.py CANOpenShellSlaveOD.od CANOpenShellSlaveOD.c - - %.o: %.c - $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< -diff --git a/examples/DS401_Master/Makefile.in b/examples/DS401_Master/Makefile.in ---- a/examples/DS401_Master/Makefile.in -+++ b/examples/DS401_Master/Makefile.in -@@ -53,7 +53,7 @@ - - TestMaster.c: TestMaster.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c - - %.o: %.c - $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< -diff --git a/examples/DS401_Slave_Gui/Makefile.in b/examples/DS401_Slave_Gui/Makefile.in ---- a/examples/DS401_Slave_Gui/Makefile.in -+++ b/examples/DS401_Slave_Gui/Makefile.in -@@ -59,7 +59,7 @@ - - ObjDict.c: ObjDict.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py ObjDict.od ObjDict.c -+ $(PYTHON) ../../objdictgen/objdictgen.py ObjDict.od ObjDict.c - - .cpp.o: - $(CXX) -c $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) `wx-config --cxxflags` $< -o $@ -diff --git a/examples/SillySlave/Makefile.in b/examples/SillySlave/Makefile.in ---- a/examples/SillySlave/Makefile.in -+++ b/examples/SillySlave/Makefile.in -@@ -53,7 +53,7 @@ - - SillySlave.c: SillySlave.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py SillySlave.od SillySlave.c -+ $(PYTHON) ../../objdictgen/objdictgen.py SillySlave.od SillySlave.c - - %.o: %.c - $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< -diff --git a/examples/TestMasterMicroMod/Makefile.in b/examples/TestMasterMicroMod/Makefile.in ---- a/examples/TestMasterMicroMod/Makefile.in -+++ b/examples/TestMasterMicroMod/Makefile.in -@@ -61,7 +61,7 @@ - - TestMaster.c: TestMaster.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c - - %.o: %.c - $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< -diff --git a/examples/TestMasterSlave/Makefile.in b/examples/TestMasterSlave/Makefile.in ---- a/examples/TestMasterSlave/Makefile.in -+++ b/examples/TestMasterSlave/Makefile.in -@@ -69,11 +69,11 @@ - - TestSlave.c: TestSlave.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestSlave.od TestSlave.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestSlave.od TestSlave.c - - TestMaster.c: TestMaster.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c - - %.o: %.c - $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< -diff --git a/examples/TestMasterSlaveLSS/Makefile.in b/examples/TestMasterSlaveLSS/Makefile.in ---- a/examples/TestMasterSlaveLSS/Makefile.in -+++ b/examples/TestMasterSlaveLSS/Makefile.in -@@ -64,15 +64,15 @@ - - TestSlaveA.c: TestSlaveA.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestSlaveA.od TestSlaveA.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestSlaveA.od TestSlaveA.c - - TestSlaveB.c: TestSlaveB.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestSlaveB.od TestSlaveB.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestSlaveB.od TestSlaveB.c - - TestMaster.c: TestMaster.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c - - %.o: %.c - $(CC) $(CFLAGS) $(PROG_CFLAGS) ${PROGDEFINES} $(INCLUDES) -o $@ -c $< -diff --git a/examples/kerneltest/Makefile.in b/examples/kerneltest/Makefile.in ---- a/examples/kerneltest/Makefile.in -+++ b/examples/kerneltest/Makefile.in -@@ -79,10 +79,10 @@ - - TestSlave.c: TestSlave.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestSlave.od TestSlave.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestSlave.od TestSlave.c - - TestMaster.c: TestMaster.od - $(MAKE) -C ../../objdictgen gnosis -- python ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c -+ $(PYTHON) ../../objdictgen/objdictgen.py TestMaster.od TestMaster.c - - #endif - - diff --git a/buildroot-2021.05/package/canfestival/Config.in b/buildroot-2021.05/package/canfestival/Config.in deleted file mode 100644 index 8300e265..00000000 --- a/buildroot-2021.05/package/canfestival/Config.in +++ /dev/null @@ -1,90 +0,0 @@ -config BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS - bool - default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_arm - -comment "canfestival needs a glibc or uClibc toolchain w/ threads and dynamic library" - depends on BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_MUSL || \ - !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS - -config BR2_PACKAGE_CANFESTIVAL - bool "canfestival" - depends on BR2_PACKAGE_CANFESTIVAL_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_MUSL # sigval_t - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - help - CanFestival is an OpenSource CANOpen framework, licensed under - LGPLv2.1 and GPLv2 for some drivers (virtual_kernel, lincan - and copcican_comedi). - - http://www.canfestival.org - -if BR2_PACKAGE_CANFESTIVAL - -choice - prompt "driver" - default BR2_PACKAGE_CANFESTIVAL_SOCKET - -# - The AnaGate CAN(duo) [1], PeakSystem CAN [2] and CO-PCICAN [3] -# drivers are not available (not packaged in Buildroot), so their -# support are disabled. -# - The virtual_kernel driver is disabled because it uses very old -# kernel APIs, that have been renamed, or marked as deprecated or -# removed for a long while. The question has been raised on the -# canfestival mailing list [4]. -# -# [1] http://www.anagate.de/en/index.html -# [2] http://www.peak-system.com/linux/ -# [3] http://www.cosateq.com/ -# [4] http://sourceforge.net/p/canfestival/mailman/message/32519648/ - -config BR2_PACKAGE_CANFESTIVAL_VIRTUAL - bool "virtual" - help - Unix pipe based virtual CAN driver. - -config BR2_PACKAGE_CANFESTIVAL_SOCKET - bool "socket" - help - SocketCAN (the standard mainline CAN bus interface). - - http://developer.berlios.de/projects/socketcan/ - -config BR2_PACKAGE_CANFESTIVAL_LINCAN - bool "lincan" - help - Lincan driver. - - http://www.ocera.org/download/components/WP7/lincan-0.3.3.html - -config BR2_PACKAGE_CANFESTIVAL_CAN4LINUX - bool "can4linux" - help - Can4linux driver. - - http://www.port.de/engl/canprod/hw_can4linux.html - -endchoice - -config BR2_PACKAGE_CANFESTIVAL_DRIVER - string - default "virtual" if BR2_PACKAGE_CANFESTIVAL_VIRTUAL - default "socket" if BR2_PACKAGE_CANFESTIVAL_SOCKET - default "lincan" if BR2_PACKAGE_CANFESTIVAL_LINCAN - default "can4linux" if BR2_PACKAGE_CANFESTIVAL_CAN4LINUX - -config BR2_PACKAGE_CANFESTIVAL_ADDITIONAL_OPTIONS - string "additional configure options" - help - Additional options can be passed directly to the configure - script (e.g.: --MAX_CAN_BUS_ID=..., - --SDO_MAX_LENGTH_TRANSFER=..., --SDO_BLOCK_SIZE=...). - -config BR2_PACKAGE_CANFESTIVAL_INSTALL_EXAMPLES - bool "install examples" - help - Install binary application examples. - -endif diff --git a/buildroot-2021.05/package/canfestival/canfestival.hash b/buildroot-2021.05/package/canfestival/canfestival.hash deleted file mode 100644 index dc32bd9a..00000000 --- a/buildroot-2021.05/package/canfestival/canfestival.hash +++ /dev/null @@ -1,3 +0,0 @@ -# License files, locally calculated -sha256 b5c45f160093a6c2fb7bd0078f50c62f4b4089b6206b0e90b0f122b40a2fe110 COPYING -sha256 d4594b82f4d50840df6a7e9d14132a8c0a3cc05d0ac46d15310a264a1f75447e LICENCE diff --git a/buildroot-2021.05/package/canfestival/canfestival.mk b/buildroot-2021.05/package/canfestival/canfestival.mk deleted file mode 100644 index 760f14ae..00000000 --- a/buildroot-2021.05/package/canfestival/canfestival.mk +++ /dev/null @@ -1,59 +0,0 @@ -################################################################################ -# -# canfestival -# -################################################################################ - -CANFESTIVAL_VERSION = 7740ac6fdedc23e1ed6908d3d7db54833c88572b -CANFESTIVAL_SITE = http://dev.automforge.net/CanFestival-3 -CANFESTIVAL_SITE_METHOD = hg -CANFESTIVAL_LICENSE = LGPL-2.1+ -CANFESTIVAL_LICENSE_FILES = COPYING LICENCE -CANFESTIVAL_INSTALL_STAGING = YES -CANFESTIVAL_INSTALLED-y = src drivers -CANFESTIVAL_INSTALLED-$(BR2_PACKAGE_CANFESTIVAL_INSTALL_EXAMPLES) += examples - -# Canfestival provides and used some python modules and scripts only compliant -# with python2. -CANFESTIVAL_DEPENDENCIES = host-python - -# canfestival uses its own hand-written build-system. Though there is -# a configure script, it does not use the autotools, so, we use the -# generic-package infrastructure. -define CANFESTIVAL_CONFIGURE_CMDS - cd $(@D) && \ - $(TARGET_CONFIGURE_OPTS) ./configure \ - --target=unix \ - --arch=$(BR2_ARCH) \ - --timers=unix \ - --binutils=$(TARGET_CROSS) \ - --cc="$(TARGET_CC)" \ - --cxx="$(TARGET_CC)" \ - --ld="$(TARGET_CC)" \ - --prefix=/usr \ - --can=$(BR2_PACKAGE_CANFESTIVAL_DRIVER) \ - $(call qstrip,$(BR2_PACKAGE_CANFESTIVAL_ADDITIONAL_OPTIONS)) -endef - -define CANFESTIVAL_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) all \ - PYTHON=$(HOST_DIR)/bin/python2 -endef - -define CANFESTIVAL_INSTALL_TARGET_CMDS - for d in $(CANFESTIVAL_INSTALLED-y) ; do \ - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \ - PYTHON=$(HOST_DIR)/bin/python2 \ - DESTDIR=$(TARGET_DIR) || exit 1 ; \ - done -endef - -define CANFESTIVAL_INSTALL_STAGING_CMDS - for d in $(CANFESTIVAL_INSTALLED-y) ; do \ - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/$$d install \ - PYTHON=$(HOST_DIR)/bin/python2 \ - DESTDIR=$(STAGING_DIR) || exit 1 ; \ - done -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/capnproto/0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit-time_t.patch b/buildroot-2021.05/package/capnproto/0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit-time_t.patch deleted file mode 100644 index ce70ab8f..00000000 --- a/buildroot-2021.05/package/capnproto/0001-mutex-Fix-build-on-32-bit-architectures-using-64-bit-time_t.patch +++ /dev/null @@ -1,37 +0,0 @@ -From e2a05a19e9dc51287e19cc9f11fd91449219e361 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sun, 15 Nov 2020 12:10:28 -0800 -Subject: [PATCH] mutex: Fix build on 32-bit architectures using 64-bit time_t - -mutex code uses SYS_futex, which it expects from system C library. -in glibc (/usr/include/bits/syscall.h defines it in terms of of NR_futex) -rv32 is using 64bit time_t from get go unlike other 32bit architectures -in glibc, therefore it wont have NR_futex defined but just NR_futex_time64 -this aliases it to NR_futex so that SYS_futex is then defined for rv32 - -Signed-off-by: Khem Raj -[Retrieved from: -https://github.com/capnproto/capnproto/commit/e2a05a19e9dc51287e19cc9f11fd91449219e361] -Signed-off-by: Fabrice Fontaine ---- - c++/src/kj/mutex.c++ | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/c++/src/kj/mutex.c++ b/c++/src/kj/mutex.c++ -index c81cead7b..e1594b117 100644 ---- a/c++/src/kj/mutex.c++ -+++ b/c++/src/kj/mutex.c++ -@@ -39,7 +39,13 @@ - - #ifndef SYS_futex - // Missing on Android/Bionic. -+#ifdef __NR_futex - #define SYS_futex __NR_futex -+#elif defined(SYS_futex_time64) -+#define SYS_futex SYS_futex_time64 -+#else -+#error "Need working SYS_futex" -+#endif - #endif - - #ifndef FUTEX_WAIT_PRIVATE diff --git a/buildroot-2021.05/package/capnproto/capnproto.hash b/buildroot-2021.05/package/capnproto/capnproto.hash deleted file mode 100644 index d4500e0a..00000000 --- a/buildroot-2021.05/package/capnproto/capnproto.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 6d8b43a7ec2a764b4dfe4139a7cdd070ad9057f106898050d9f4db3754b98820 capnproto-0.8.0.tar.gz -sha256 9564998c8d7f270a61a8b89869a8d17a9d5e3783b64027788b5e339ec8479e10 LICENSE diff --git a/buildroot-2021.05/package/capnproto/capnproto.mk b/buildroot-2021.05/package/capnproto/capnproto.mk deleted file mode 100644 index 901b57ec..00000000 --- a/buildroot-2021.05/package/capnproto/capnproto.mk +++ /dev/null @@ -1,33 +0,0 @@ -################################################################################ -# -# capnproto -# -################################################################################ - -CAPNPROTO_VERSION = 0.8.0 -CAPNPROTO_SITE = $(call github,capnproto,capnproto,v$(CAPNPROTO_VERSION)) -CAPNPROTO_LICENSE = MIT -CAPNPROTO_LICENSE_FILES = LICENSE -CAPNPROTO_CPE_ID_VENDOR = capnproto -CAPNPROTO_INSTALL_STAGING = YES -# Fetched from Github with no configure script -CAPNPROTO_AUTORECONF = YES -CAPNPROTO_CONF_OPTS = --with-external-capnp -# Needs the capnproto compiler on the host to generate C++ code from message -# definitions -CAPNPROTO_DEPENDENCIES = host-autoconf host-capnproto -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -CAPNPROTO_CONF_ENV += LIBS=-latomic -endif -# The actual source to be compiled is within a 'c++' subdirectory -CAPNPROTO_SUBDIR = c++ - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -CAPNPROTO_CONF_OPTS += --with-openssl -CAPNPROTO_DEPENDENCIES += openssl -else -CAPNPROTO_CONF_OPTS += --without-openssl -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/casync/casync.mk b/buildroot-2021.05/package/casync/casync.mk deleted file mode 100644 index d74cb1bf..00000000 --- a/buildroot-2021.05/package/casync/casync.mk +++ /dev/null @@ -1,64 +0,0 @@ -################################################################################ -# -# casync -# -################################################################################ - -CASYNC_VERSION = 4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc -CASYNC_SITE = $(call github,systemd,casync,$(CASYNC_VERSION)) -CASYNC_LICENSE = LGPL-2.1+ -CASYNC_LICENSE_FILES = LICENSE.LGPL2.1 -CASYNC_DEPENDENCIES = acl libcurl openssl - -CASYNC_CONF_OPTS = -Dman=false -Doss-fuzz=false -Dllvm-fuzz=false - -ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) -CASYNC_DEPENDENCIES += bash-completion -# The default path is correct, leave it as-is -else -CASYNC_CONF_OPTS += -Dbashcompletiondir=no -endif - -ifeq ($(BR2_PACKAGE_LIBFUSE),y) -CASYNC_DEPENDENCIES += libfuse -CASYNC_CONF_OPTS += -Dfuse=true -else -CASYNC_CONF_OPTS += -Dfuse=false -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -CASYNC_DEPENDENCIES += libselinux -CASYNC_CONF_OPTS += -Dselinux=true -else -CASYNC_CONF_OPTS += -Dselinux=false -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -CASYNC_DEPENDENCIES += udev -CASYNC_CONF_OPTS += -Dudev=true -else -CASYNC_CONF_OPTS += -Dudev=false -endif - -ifeq ($(BR2_PACKAGE_LIBZSTD),y) -CASYNC_DEPENDENCIES += libzstd -CASYNC_CONF_OPTS += -Dlibzstd=enabled -else -CASYNC_CONF_OPTS += -Dlibzstd=disabled -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -CASYNC_DEPENDENCIES += xz -CASYNC_CONF_OPTS += -Dliblzma=enabled -else -CASYNC_CONF_OPTS += -Dliblzma=disabled -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -CASYNC_DEPENDENCIES += zlib -CASYNC_CONF_OPTS += -Dlibz=enabled -else -CASYNC_CONF_OPTS += -Dlibz=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/cc-tool/Config.in b/buildroot-2021.05/package/cc-tool/Config.in deleted file mode 100644 index 2661592d..00000000 --- a/buildroot-2021.05/package/cc-tool/Config.in +++ /dev/null @@ -1,23 +0,0 @@ -config BR2_PACKAGE_CC_TOOL - bool "cc-tool" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_WCHAR # boost-filesystem - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_REGEX - select BR2_PACKAGE_BOOST_FILESYSTEM - help - cc-tool provides support for Texas Instruments CC Debugger - for Linux OS in order to program 8051-based System-On-Chip - devices: CC254x CC253x CC243x CC251x CC111x - - https://github.com/dashesy/cc-tool/ - -comment "cc-tool needs a toolchain w/ C++, threads, wchar, gcc >= 4.9 " - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/cegui/0001-src-Exceptions.cpp-check-if-execinfo-header-is-avail.patch b/buildroot-2021.05/package/cegui/0001-src-Exceptions.cpp-check-if-execinfo-header-is-avail.patch deleted file mode 100644 index dd5dba9e..00000000 --- a/buildroot-2021.05/package/cegui/0001-src-Exceptions.cpp-check-if-execinfo-header-is-avail.patch +++ /dev/null @@ -1,33 +0,0 @@ -From e18e48624cd45910917e5e4fb0aa16cef490bb6d Mon Sep 17 00:00:00 2001 -From: Bartosz Bilas -Date: Sun, 22 Mar 2020 14:25:53 +0100 -Subject: [PATCH] src/Exceptions.cpp: check if execinfo header is available - -Fixes: - fatal error: execinfo.h: No such file or directory - compilation terminated. - -Signed-off-by: Bartosz Bilas ---- - Upstream status: https://github.com/cegui/cegui/pull/1189 - -cegui/src/Exceptions.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/cegui/src/Exceptions.cpp b/cegui/src/Exceptions.cpp -index 8e4890378..6a8420491 100644 ---- a/cegui/src/Exceptions.cpp -+++ b/cegui/src/Exceptions.cpp -@@ -46,7 +46,9 @@ - #elif (defined(__linux__) && !defined(__ANDROID__)) \ - || defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) \ - || defined(__HAIKU__) -+#ifdef HAVE_EXECINFO_H - # include -+#endif - # include - # include - # include --- -2.25.2 - diff --git a/buildroot-2021.05/package/cegui/0002-cegui-src-IconvStringTranscoder.cpp-use-cast-notatio.patch b/buildroot-2021.05/package/cegui/0002-cegui-src-IconvStringTranscoder.cpp-use-cast-notatio.patch deleted file mode 100644 index f30438b9..00000000 --- a/buildroot-2021.05/package/cegui/0002-cegui-src-IconvStringTranscoder.cpp-use-cast-notatio.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 4561bac9dddad8fd79e746ea1ddd89c20647a162 Mon Sep 17 00:00:00 2001 -From: Bartosz Bilas -Date: Thu, 2 Apr 2020 18:04:28 +0200 -Subject: [PATCH] cegui/src/IconvStringTranscoder.cpp: use cast notation - instead of reinterpret_cast - -Fixes: - IconvStringTranscoder.cpp:50:49: error: invalid cast from type 'int' to - type 'iconv_t' {aka 'long int'} - if (d_cd == reinterpret_cast(-1)) - -Signed-off-by: Bartosz Bilas ---- - Upstream status: https://github.com/cegui/cegui/pull/1194 - - cegui/src/IconvStringTranscoder.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/cegui/src/IconvStringTranscoder.cpp b/cegui/src/IconvStringTranscoder.cpp -index 1a5df2995..f6b5aa816 100644 ---- a/cegui/src/IconvStringTranscoder.cpp -+++ b/cegui/src/IconvStringTranscoder.cpp -@@ -47,7 +47,7 @@ public: - d_toCode(tocode), - d_cd(iconv_open(d_toCode.c_str(), d_fromCode.c_str())) - { -- if (d_cd == reinterpret_cast(-1)) -+ if (d_cd == (iconv_t)(-1)) - CEGUI_THROW(InvalidRequestException(String( - "Failed to create conversion descriptor from \"") + - d_fromCode.c_str() + "\" to \"" + d_toCode.c_str() + "\".")); --- -2.26.0 - diff --git a/buildroot-2021.05/package/cegui/Config.in b/buildroot-2021.05/package/cegui/Config.in deleted file mode 100644 index 1bd0ee1c..00000000 --- a/buildroot-2021.05/package/cegui/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -comment "cegui needs a toolchain w/ C++, threads, dynamic library, wchar" - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \ - || BR2_STATIC_LIBS || !BR2_USE_WCHAR - -config BR2_PACKAGE_CEGUI - bool "cegui" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_WCHAR - select BR2_PACKAGE_GLM - select BR2_PACKAGE_LIBGLFW if BR2_PACKAGE_HAS_LIBGL # SampleBrowser dependency - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - Crazy Eddie's GUI System is a free library providing windowing - and widgets for graphics APIs / engines where such - functionality is not natively available, or severely lacking. - The library is object orientated, written in C++, and targeted - at games developers who should be spending their time creating - great games, not building GUI sub-systems! - - http://www.cegui.org.uk/ diff --git a/buildroot-2021.05/package/cegui/cegui.hash b/buildroot-2021.05/package/cegui/cegui.hash deleted file mode 100644 index 82950390..00000000 --- a/buildroot-2021.05/package/cegui/cegui.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 7be289d2d8562e7d20bd155d087d6ccb0ba62f7e99cc25d20684b8edf2ba15cd cegui-0-8-7.tar.gz -sha256 cc869e2ece8ad039f6d7fd17259db4ea0ae0a502d02a1bb506c0168deb12e40d COPYING diff --git a/buildroot-2021.05/package/cegui/cegui.mk b/buildroot-2021.05/package/cegui/cegui.mk deleted file mode 100644 index 23a5859b..00000000 --- a/buildroot-2021.05/package/cegui/cegui.mk +++ /dev/null @@ -1,110 +0,0 @@ -################################################################################ -# -# cegui -# -################################################################################ - -CEGUI_VERSION = 0-8-7 -CEGUI_SITE = $(call github,cegui,cegui,v$(CEGUI_VERSION)) -CEGUI_LICENSE = MIT -CEGUI_LICENSE_FILES = COPYING -CEGUI_INSTALL_STAGING = YES -CEGUI_CONF_OPTS = \ - -DCEGUI_BUILD_XMLPARSER_XERCES=OFF \ - -DCEGUI_HAS_MINIZIP_RESOURCE_PROVIDER=OFF \ - -DCEGUI_BUILD_RENDERER_OGRE=OFF -CEGUI_DEPENDENCIES = glm \ - $(if $(BR2_PACKAGE_LIBGLFW),libglfw) \ - $(if $(BR2_PACKAGE_HAS_LIBGL),libgl) \ - $(if $(BR2_PACKAGE_HAS_LIBGLES),libgles) \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) - -# libepoxy support cannot be enabled together with libglew -ifeq ($(BR2_PACKAGE_LIBGLEW)$(BR2_PACKAGE_LIBGLU),yy) -CEGUI_DEPENDENCIES += libglew libglu -CEGUI_CONF_OPTS += -DCEGUI_USE_GLEW=ON -DCEGUI_USE_EPOXY=OFF \ - -DCEGUI_BUILD_RENDERER_OPENGL=ON \ - -DCEGUI_BUILD_RENDERER_OPENGL3=ON -else ifeq ($(BR2_PACKAGE_LIBEPOXY),y) -CEGUI_DEPENDENCIES += libepoxy -# old OpenGL renderer module is only supported using GLEW -CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=ON -DCEGUI_USE_GLEW=OFF \ - -DCEGUI_BUILD_RENDERER_OPENGL=OFF \ - -DCEGUI_BUILD_RENDERER_OPENGL3=ON -else -CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=OFF -DCEGUI_USE_GLEW=OFF \ - -DCEGUI_BUILD_RENDERER_OPENGL=OFF \ - -DCEGUI_BUILD_RENDERER_OPENGL3=OFF -endif - -ifeq ($(BR2_PACKAGE_EXPAT),y) -CEGUI_DEPENDENCIES += expat -CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_EXPAT=ON -else -CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_EXPAT=OFF -endif - -ifeq ($(BR2_PACKAGE_IRRLICHT),y) -CEGUI_DEPENDENCIES += irrlicht -CEGUI_CONF_OPTS += -DCEGUI_BUILD_RENDERER_IRRLICHT=ON -else -CEGUI_CONF_OPTS += -DCEGUI_BUILD_RENDERER_IRRLICHT=OFF -endif - -ifeq ($(BR2_PACKAGE_SDL2)$(BR2_PACKAGE_SDL2_IMAGE),yy) -CEGUI_DEPENDENCIES += sdl2 sdl2_image -CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_SDL2=ON -else -CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_SDL2=OFF -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -CEGUI_DEPENDENCIES += pcre -CEGUI_CONF_OPTS += -DCEGUI_HAS_PCRE_REGEX=ON -else -CEGUI_CONF_OPTS += -DCEGUI_HAS_PCRE_REGEX=OFF -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -CEGUI_DEPENDENCIES += freetype -CEGUI_CONF_OPTS += -DCEGUI_HAS_FREETYPE=ON -else -CEGUI_CONF_OPTS += -DCEGUI_HAS_FREETYPE=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) -CEGUI_DEPENDENCIES += libfribidi -CEGUI_CONF_OPTS += -DCEGUI_USE_FRIBIDI=ON -else -CEGUI_CONF_OPTS += -DCEGUI_USE_FRIBIDI=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -CEGUI_DEPENDENCIES += libxml2 -CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_LIBXML2=ON -else -CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_LIBXML2=OFF -endif - -ifeq ($(BR2_PACKAGE_RAPIDXML),y) -CEGUI_DEPENDENCIES += rapidxml -CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_RAPIDXML=ON -else -CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_RAPIDXML=OFF -endif - -ifeq ($(BR2_PACKAGE_TINYXML),y) -CEGUI_DEPENDENCIES += tinyxml -CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_TINYXML=ON -else -CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_TINYXML=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBFREEIMAGE),y) -CEGUI_DEPENDENCIES += libfreeimage -CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=ON -else -CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/cereal/0001-Store-a-copy-of-each-serialized-shared_ptr-within-the-archive.patch b/buildroot-2021.05/package/cereal/0001-Store-a-copy-of-each-serialized-shared_ptr-within-the-archive.patch deleted file mode 100644 index 3458ec1b..00000000 --- a/buildroot-2021.05/package/cereal/0001-Store-a-copy-of-each-serialized-shared_ptr-within-the-archive.patch +++ /dev/null @@ -1,67 +0,0 @@ -From f27c12d491955c94583512603bf32c4568f20929 Mon Sep 17 00:00:00 2001 -From: Michael Walz -Date: Tue, 2 Feb 2021 00:50:29 +0100 -Subject: [PATCH] Store a copy of each serialized shared_ptr within the archive - to prevent the shared_ptr to be freed to early. (#667) - -The archives use the memory address pointed by the shared_ptr as a -unique id which must not be reused during lifetime of the archive. -Therefore, the archives stores a copy of it. -This problem was also reported as CVE-2020-11105. - -[Retrieved from: -https://github.com/USCiLab/cereal/commit/f27c12d491955c94583512603bf32c4568f20929] -Signed-off-by: Fabrice Fontaine ---- - include/cereal/cereal.hpp | 13 +++++++++++-- - include/cereal/types/memory.hpp | 2 +- - 2 files changed, 12 insertions(+), 3 deletions(-) - -diff --git a/include/cereal/cereal.hpp b/include/cereal/cereal.hpp -index 99bed9d6..f0d15e8b 100644 ---- a/include/cereal/cereal.hpp -+++ b/include/cereal/cereal.hpp -@@ -369,12 +369,17 @@ namespace cereal - point to the same data. - - @internal -- @param addr The address (see shared_ptr get()) pointed to by the shared pointer -+ @param sharedPointer The shared pointer itself (the adress is taked via get()). -+ The archive takes a copy to prevent the memory location to be freed -+ as long as the address is used as id. This is needed to prevent CVE-2020-11105. - @return A key that uniquely identifies the pointer */ -- inline std::uint32_t registerSharedPointer( void const * addr ) -+ inline std::uint32_t registerSharedPointer(const std::shared_ptr& sharedPointer) - { -+ void const * addr = sharedPointer.get(); -+ - // Handle null pointers by just returning 0 - if(addr == 0) return 0; -+ itsSharedPointerStorage.push_back(sharedPointer); - - auto id = itsSharedPointerMap.find( addr ); - if( id == itsSharedPointerMap.end() ) -@@ -645,6 +650,10 @@ namespace cereal - //! Maps from addresses to pointer ids - std::unordered_map itsSharedPointerMap; - -+ //! Copy of shared pointers used in #itsSharedPointerMap to make sure they are kept alive -+ // during lifetime of itsSharedPointerMap to prevent CVE-2020-11105. -+ std::vector> itsSharedPointerStorage; -+ - //! The id to be given to the next pointer - std::uint32_t itsCurrentPointerId; - -diff --git a/include/cereal/types/memory.hpp b/include/cereal/types/memory.hpp -index 59e9da9b..cac1f334 100644 ---- a/include/cereal/types/memory.hpp -+++ b/include/cereal/types/memory.hpp -@@ -263,7 +263,7 @@ namespace cereal - { - auto & ptr = wrapper.ptr; - -- uint32_t id = ar.registerSharedPointer( ptr.get() ); -+ uint32_t id = ar.registerSharedPointer( ptr ); - ar( CEREAL_NVP_("id", id) ); - - if( id & detail::msb_32bit ) diff --git a/buildroot-2021.05/package/cereal/cereal.hash b/buildroot-2021.05/package/cereal/cereal.hash deleted file mode 100644 index ddaf54e7..00000000 --- a/buildroot-2021.05/package/cereal/cereal.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally computed -sha256 329ea3e3130b026c03a4acc50e168e7daff4e6e661bc6a7dfec0d77b570851d5 cereal-1.3.0.tar.gz -sha256 18fd7618c44c9fe28b5f54cd19747df3c0472ed33e8507fea571e2acf6e72f34 LICENSE -sha256 d9e523e8736ac0c68064c7ad312a222f285e82bf6c96a1b1c2cadaffff9fc64f include/cereal/external/base64.hpp -sha256 7fb69c707f0ed3a8b59b8f949f0928a9cc06d67bc15d599094693703ff70ea26 include/cereal/external/rapidjson/rapidjson.h -sha256 794bf3b2ecf5cf0c740ac6c524d66ce6284c4b1de1f983d21a242b8abbeb9720 include/cereal/external/rapidxml/license.txt diff --git a/buildroot-2021.05/package/cereal/cereal.mk b/buildroot-2021.05/package/cereal/cereal.mk deleted file mode 100644 index 19faa2ac..00000000 --- a/buildroot-2021.05/package/cereal/cereal.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# cereal -# -################################################################################ - -CEREAL_VERSION = 1.3.0 -CEREAL_SITE = $(call github,USCiLab,cereal,v$(CEREAL_VERSION)) -# For licensing, see also: https://github.com/USCiLab/cereal/issues/609 -CEREAL_LICENSE = BSD-3-Clause (cereal), Zlib (base64.hpp), MIT (rapidjson), BSL-1.0 or MIT (rapidxml) -CEREAL_LICENSE_FILES = LICENSE include/cereal/external/base64.hpp include/cereal/external/rapidjson/rapidjson.h include/cereal/external/rapidxml/license.txt -CEREAL_CPE_ID_VENDOR = usc -CEREAL_INSTALL_STAGING = YES -CEREAL_INSTALL_TARGET = NO -CEREAL_CONF_OPTS = \ - -DTHREAD_SAFE=ON \ - -DJUST_INSTALL_CEREAL=ON - -# 0001-Store-a-copy-of-each-serialized-shared_ptr-within-the-archive.patch -CEREAL_IGNORE_CVES += CVE-2020-11105 - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/cgilua/cgilua.mk b/buildroot-2021.05/package/cgilua/cgilua.mk deleted file mode 100644 index 7471be3d..00000000 --- a/buildroot-2021.05/package/cgilua/cgilua.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# cgilua -# -################################################################################ - -CGILUA_VERSION = 6.0.2-0 -CGILUA_SUBDIR = cgilua -CGILUA_LICENSE = MIT -CGILUA_LICENSE_FILES = $(CGILUA_SUBDIR)/doc/us/license.html - -$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/checkpolicy/Config.in b/buildroot-2021.05/package/checkpolicy/Config.in deleted file mode 100644 index ad769d22..00000000 --- a/buildroot-2021.05/package/checkpolicy/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_CHECKPOLICY - bool "checkpolicy" - depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux - depends on !BR2_STATIC_LIBS # libselinux - select BR2_PACKAGE_LIBSELINUX - select BR2_PACKAGE_FLEX - help - checkpolicy is the SELinux policy compiler. It uses libsepol - to generate the binary policy. checkpolicy uses the static - libsepol since it deals with low level details of the policy - that have not been encapsulated/abstracted by a proper - shared library interface. - - http://selinuxproject.org/page/Main_Page - -comment "checkpolicy needs a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/checkpolicy/Config.in.host b/buildroot-2021.05/package/checkpolicy/Config.in.host deleted file mode 100644 index 240a5b6d..00000000 --- a/buildroot-2021.05/package/checkpolicy/Config.in.host +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_HOST_CHECKPOLICY - bool "host checkpolicy" - help - checkpolicy is the SELinux policy compiler. It uses libsepol - to generate the binary policy. checkpolicy uses the static - libsepol since it deals with low level details of the policy - that have not been encapsulated/abstracted by a proper - shared library interface. - - http://selinuxproject.org/page/Main_Page diff --git a/buildroot-2021.05/package/checkpolicy/checkpolicy.hash b/buildroot-2021.05/package/checkpolicy/checkpolicy.hash deleted file mode 100644 index 55f4f09f..00000000 --- a/buildroot-2021.05/package/checkpolicy/checkpolicy.hash +++ /dev/null @@ -1,5 +0,0 @@ -# https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 dfc7707070520c93b14fbbdfdbe081364d806bf28e3e79e10318c2594c77bbb2 checkpolicy-3.1.tar.gz - -# Hash for license file -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2021.05/package/checkpolicy/checkpolicy.mk b/buildroot-2021.05/package/checkpolicy/checkpolicy.mk deleted file mode 100644 index 86eaffcc..00000000 --- a/buildroot-2021.05/package/checkpolicy/checkpolicy.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# checkpolicy -# -################################################################################ - -CHECKPOLICY_VERSION = 3.1 -CHECKPOLICY_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 -CHECKPOLICY_LICENSE = GPL-2.0 -CHECKPOLICY_LICENSE_FILES = COPYING - -CHECKPOLICY_DEPENDENCIES = libselinux flex host-flex host-bison - -CHECKPOLICY_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) \ - LEX="$(HOST_DIR)/bin/flex" \ - YACC="$(HOST_DIR)/bin/bison -y" - -# DESTDIR is used at build time to find libselinux -define CHECKPOLICY_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(CHECKPOLICY_MAKE_OPTS) DESTDIR=$(STAGING_DIR) -endef - -define CHECKPOLICY_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(CHECKPOLICY_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install - -endef - -define CHECKPOLICY_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(CHECKPOLICY_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install -endef - -HOST_CHECKPOLICY_DEPENDENCIES = host-libselinux host-flex host-bison - -# PREFIX is used at build time to find host-libselinux -HOST_CHECKPOLICY_MAKE_OPTS = \ - $(HOST_CONFIGURE_OPTS) \ - PREFIX=$(HOST_DIR) \ - LEX="$(HOST_DIR)/bin/flex" \ - YACC="$(HOST_DIR)/bin/bison -y" - -define HOST_CHECKPOLICY_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CHECKPOLICY_MAKE_OPTS) -endef - -define HOST_CHECKPOLICY_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CHECKPOLICY_MAKE_OPTS) install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/checksec/checksec.hash b/buildroot-2021.05/package/checksec/checksec.hash deleted file mode 100644 index 397cfe38..00000000 --- a/buildroot-2021.05/package/checksec/checksec.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 c5e2a8e188040fc34eb9362084778a2e25f8d1f888e47a2be09efa7cecd9c70d LICENSE.txt -sha256 d3c8e80bdd1cee0c2f0e60cb7a8a9482b82f651ea069e3a4453ae9a44072a632 checksec-2.2.2.tar.gz diff --git a/buildroot-2021.05/package/checksec/checksec.mk b/buildroot-2021.05/package/checksec/checksec.mk deleted file mode 100644 index e46e8584..00000000 --- a/buildroot-2021.05/package/checksec/checksec.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# checksec -# -################################################################################ - -CHECKSEC_VERSION = 2.2.2 -CHECKSEC_SITE = $(call github,slimm609,checksec.sh,$(CHECKSEC_VERSION)) -CHECKSEC_LICENSE = BSD-3-Clause -CHECKSEC_LICENSE_FILES = LICENSE.txt - -define HOST_CHECKSEC_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/checksec $(HOST_DIR)/bin/checksec -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/chrony/0001-sys_linux-fix-build-with-older-kernel-headers.patch b/buildroot-2021.05/package/chrony/0001-sys_linux-fix-build-with-older-kernel-headers.patch deleted file mode 100644 index 892664f4..00000000 --- a/buildroot-2021.05/package/chrony/0001-sys_linux-fix-build-with-older-kernel-headers.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 5dab78341bd515692f1b9ff8716a911c3ebf9ee1 Mon Sep 17 00:00:00 2001 -Message-Id: <5dab78341bd515692f1b9ff8716a911c3ebf9ee1.1611839550.git.baruch@tkos.co.il> -From: Baruch Siach -Date: Thu, 28 Jan 2021 15:02:40 +0200 -Subject: [PATCH] sys_linux: fix build with older kernel headers - -The renameat2 system call was introduced in kernel version 3.15. Fix -build against older headers. - -Signed-off-by: Baruch Siach ---- -Upstream status: commit a2372b0c3abfc85d11c1684c0fb6370cc329e5c4 - - sys_linux.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/sys_linux.c b/sys_linux.c -index 0b24445e173d..202da845edac 100644 ---- a/sys_linux.c -+++ b/sys_linux.c -@@ -547,7 +547,9 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context) - SCMP_SYS(readlinkat), - SCMP_SYS(rename), - SCMP_SYS(renameat), -+#ifdef __NR_renameat2 - SCMP_SYS(renameat2), -+#endif - SCMP_SYS(stat), - SCMP_SYS(stat64), - SCMP_SYS(statfs), --- -2.29.2 - diff --git a/buildroot-2021.05/package/chrony/chrony.hash b/buildroot-2021.05/package/chrony/chrony.hash deleted file mode 100644 index 87e0cf8e..00000000 --- a/buildroot-2021.05/package/chrony/chrony.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://listengine.tuxfamily.org/chrony.tuxfamily.org/chrony-announce/2020/10/msg00000.html -sha256 be27ea14c55e7a4434b2fa51d53018c7051c42fa6a3198c9aa6a1658bae0c625 chrony-4.0.tar.gz -# Locally calculated -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/chrony/chrony.mk b/buildroot-2021.05/package/chrony/chrony.mk deleted file mode 100644 index b73ddb56..00000000 --- a/buildroot-2021.05/package/chrony/chrony.mk +++ /dev/null @@ -1,85 +0,0 @@ -################################################################################ -# -# chrony -# -################################################################################ - -CHRONY_VERSION = 4.0 -CHRONY_SITE = http://download.tuxfamily.org/chrony -CHRONY_LICENSE = GPL-2.0 -CHRONY_LICENSE_FILES = COPYING -CHRONY_CPE_ID_VENDOR = tuxfamily -CHRONY_DEPENDENCIES = host-pkgconf - -CHRONY_CONF_OPTS = \ - --host-system=Linux \ - --host-machine=$(BR2_ARCH) \ - --prefix=/usr \ - --without-tomcrypt \ - $(if $(BR2_PACKAGE_CHRONY_DEBUG_LOGGING),--enable-debug,--disable-debug) - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -CHRONY_DEPENDENCIES += libcap -else -CHRONY_CONF_OPTS += --without-libcap -endif - -ifeq ($(BR2_PACKAGE_LIBNSS),y) -CHRONY_DEPENDENCIES += libnss -else -CHRONY_CONF_OPTS += --without-nss -endif - -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -CHRONY_CONF_OPTS += --enable-scfilter -CHRONY_DEPENDENCIES += libseccomp -else -CHRONY_CONF_OPTS += --without-seccomp -endif - -ifeq ($(BR2_PACKAGE_LIBEDIT),y) -CHRONY_DEPENDENCIES += libedit -else -CHRONY_CONF_OPTS += --without-editline --disable-readline -endif - -# If pps-tools is available, build it before so the package can use it -# (HAVE_SYS_TIMEPPS_H). -ifeq ($(BR2_PACKAGE_PPS_TOOLS),y) -CHRONY_DEPENDENCIES += pps-tools -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -CHRONY_DEPENDENCIES += gnutls -else -CHRONY_CONF_OPTS += --without-gnutls -endif - -ifeq ($(BR2_PACKAGE_NETTLE),y) -CHRONY_DEPENDENCIES += nettle -else -CHRONY_CONF_OPTS += --without-nettle -endif - -define CHRONY_CONFIGURE_CMDS - cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure $(CHRONY_CONF_OPTS) -endef - -define CHRONY_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define CHRONY_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install -endef - -define CHRONY_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/chrony/S49chrony $(TARGET_DIR)/etc/init.d/S49chrony -endef - -define CHRONY_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/chrony/chrony.service \ - $(TARGET_DIR)/usr/lib/systemd/system/chrony.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/chrony/chrony.service b/buildroot-2021.05/package/chrony/chrony.service deleted file mode 100644 index 325b63c4..00000000 --- a/buildroot-2021.05/package/chrony/chrony.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Chrony Network Time Daemon -After=syslog.target network.target -Conflicts=systemd-timesyncd.service - -[Service] -ExecStart=/usr/sbin/chronyd -n -Restart=always - -[Install] -WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/cifs-utils/Config.in b/buildroot-2021.05/package/cifs-utils/Config.in deleted file mode 100644 index f15d1e3d..00000000 --- a/buildroot-2021.05/package/cifs-utils/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_CIFS_UTILS - bool "cifs-utils" - # uses fork() - depends on BR2_USE_MMU - help - The in-kernel CIFS filesystem is generally the preferred - method for mounting SMB/CIFS shares on Linux. The in-kernel - CIFS filesystem relies on a set of user-space tools. That - package of tools is called cifs-utils. Although not really - part of Samba proper, these tools were originally part of - the Samba package. For several reasons, shipping these tools - as part of Samba was problematic and it was deemed better to - split them off into their own package. - - http://wiki.samba.org/index.php/LinuxCIFS_utils - -if BR2_PACKAGE_CIFS_UTILS - -config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS - bool "smbtools" - depends on BR2_USE_WCHAR # python3 - depends on BR2_TOOLCHAIN_HAS_THREADS # python3 - depends on !BR2_STATIC_LIBS # python3 - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime - help - Install the smb tools smbinfo and smb2-quota (python - implementations). - -comment "smbtools needs a toolchain w/ wchar, threads, dynamic library" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS - -endif diff --git a/buildroot-2021.05/package/civetweb/Config.in b/buildroot-2021.05/package/civetweb/Config.in deleted file mode 100644 index 9e439690..00000000 --- a/buildroot-2021.05/package/civetweb/Config.in +++ /dev/null @@ -1,40 +0,0 @@ -config BR2_PACKAGE_CIVETWEB - bool "civetweb" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_CIVETWEB_SERVER if !BR2_PACKAGE_CIVETWEB_LIB - help - Full featured embedded web server with Lua support. - - https://sourceforge.net/projects/civetweb - -if BR2_PACKAGE_CIVETWEB - -config BR2_PACKAGE_CIVETWEB_SERVER - bool "enable the web server application" - help - Include the web server and its config files. - -config BR2_PACKAGE_CIVETWEB_LIB - bool "enable library for embedding" - help - Enable the civetweb library for embedding in another - application. - -config BR2_PACKAGE_CIVETWEB_WITH_LUA - bool "enable Lua support" - # required by the bundled Sqlite3 and Lua code - depends on !BR2_STATIC_LIBS - help - Enable Lua support in Civetweb. Note that this will use a - version of Lua and Sqlite bundled within the Civetweb - sources, and not the packages from Buildroot. - -comment "lua support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -endif - -comment "civetweb needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/civetweb/civetweb.hash b/buildroot-2021.05/package/civetweb/civetweb.hash deleted file mode 100644 index cf9d6768..00000000 --- a/buildroot-2021.05/package/civetweb/civetweb.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 a7ccc76c2f1b5f4e8d855eb328ed542f8fe3b882a6da868781799a98f4acdedc civetweb-1.13.tar.gz -sha256 291622dfbbf4fb35829726fbe97177b7227c0d4d6392b350660af73af4f86df8 LICENSE.md diff --git a/buildroot-2021.05/package/civetweb/civetweb.mk b/buildroot-2021.05/package/civetweb/civetweb.mk deleted file mode 100644 index 94fbb4f9..00000000 --- a/buildroot-2021.05/package/civetweb/civetweb.mk +++ /dev/null @@ -1,93 +0,0 @@ -################################################################################ -# -# civetweb -# -################################################################################ - -CIVETWEB_VERSION = 1.13 -CIVETWEB_SITE = $(call github,civetweb,civetweb,v$(CIVETWEB_VERSION)) -CIVETWEB_LICENSE = MIT -CIVETWEB_LICENSE_FILES = LICENSE.md -CIVETWEB_CPE_ID_VENDOR = civetweb_project - -CIVETWEB_CONF_OPTS = TARGET_OS=LINUX WITH_IPV6=1 \ - $(if $(BR2_INSTALL_LIBSTDCPP),WITH_CPP=1) -CIVETWEB_COPT = -DHAVE_POSIX_FALLOCATE=0 -CIVETWEB_LIBS = -lpthread -lm -CIVETWEB_SYSCONFDIR = /etc -CIVETWEB_HTMLDIR = /var/www -CIVETWEB_INSTALL_OPTS = \ - DOCUMENT_ROOT="$(CIVETWEB_HTMLDIR)" \ - CONFIG_FILE2="$(CIVETWEB_SYSCONFDIR)/civetweb.conf" \ - HTMLDIR="$(TARGET_DIR)$(CIVETWEB_HTMLDIR)" \ - SYSCONFDIR="$(TARGET_DIR)$(CIVETWEB_SYSCONFDIR)" - -ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),) -CIVETWEB_COPT += -DNO_ATOMICS=1 -endif - -ifeq ($(BR2_PACKAGE_CIVETWEB_WITH_LUA),y) -CIVETWEB_CONF_OPTS += WITH_LUA=1 -CIVETWEB_LIBS += -ldl -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -CIVETWEB_COPT += -DNO_SSL_DL -CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` -CIVETWEB_DEPENDENCIES += openssl host-pkgconf -else -CIVETWEB_COPT += -DNO_SSL -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -CIVETWEB_CONF_OPTS += WITH_ZLIB=1 -CIVETWEB_LIBS += -lz -CIVETWEB_DEPENDENCIES += zlib -endif - -ifeq ($(BR2_PACKAGE_CIVETWEB_SERVER),y) -CIVETWEB_BUILD_TARGETS += build -CIVETWEB_INSTALL_TARGETS += install -endif - -ifeq ($(BR2_PACKAGE_CIVETWEB_LIB),y) -CIVETWEB_INSTALL_STAGING = YES -CIVETWEB_INSTALL_TARGETS += install-headers - -ifeq ($(BR2_STATIC_LIBS)$(BR2_STATIC_SHARED_LIBS),y) -CIVETWEB_BUILD_TARGETS += lib -CIVETWEB_INSTALL_TARGETS += install-lib -endif - -ifeq ($(BR2_SHARED_LIBS)$(BR2_STATIC_SHARED_LIBS),y) -CIVETWEB_BUILD_TARGETS += slib -CIVETWEB_INSTALL_TARGETS += install-slib -endif - -endif # BR2_PACKAGE_CIVETWEB_LIB - -define CIVETWEB_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(CIVETWEB_BUILD_TARGETS) \ - $(CIVETWEB_CONF_OPTS) \ - COPT="$(CIVETWEB_COPT)" LIBS="$(CIVETWEB_LIBS)" -endef - -define CIVETWEB_INSTALL_STAGING_CMDS - mkdir -p $(STAGING_DIR)/usr/include - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(CIVETWEB_INSTALL_TARGETS) \ - PREFIX="$(STAGING_DIR)/usr" \ - $(CIVETWEB_INSTALL_OPTS) \ - $(CIVETWEB_CONF_OPTS) \ - COPT='$(CIVETWEB_COPT)' -endef - -define CIVETWEB_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/usr/include - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(CIVETWEB_INSTALL_TARGETS) \ - PREFIX="$(TARGET_DIR)/usr" \ - $(CIVETWEB_INSTALL_OPTS) \ - $(CIVETWEB_CONF_OPTS) \ - COPT='$(CIVETWEB_COPT)' -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/cjson/cjson.hash b/buildroot-2021.05/package/cjson/cjson.hash deleted file mode 100644 index 5133c15a..00000000 --- a/buildroot-2021.05/package/cjson/cjson.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 fb50a663eefdc76bafa80c82bc045af13b1363e8f45cec8b442007aef6a41343 cjson-1.7.14.tar.gz -sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/buildroot-2021.05/package/cjson/cjson.mk b/buildroot-2021.05/package/cjson/cjson.mk deleted file mode 100644 index daa498f9..00000000 --- a/buildroot-2021.05/package/cjson/cjson.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# cjson -# -################################################################################ - -CJSON_VERSION = 1.7.14 -CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) -CJSON_INSTALL_STAGING = YES -CJSON_LICENSE = MIT -CJSON_LICENSE_FILES = LICENSE -CJSON_CPE_ID_VENDOR = cjson_project -# Set ENABLE_CUSTOM_COMPILER_FLAGS to OFF in particular to disable -# -fstack-protector-strong which depends on BR2_TOOLCHAIN_HAS_SSP -CJSON_CONF_OPTS += \ - -DENABLE_CJSON_TEST=OFF \ - -DENABLE_CUSTOM_COMPILER_FLAGS=OFF - -# If BUILD_SHARED_AND_STATIC_LIBS is set to OFF, cjson uses the -# standard BUILD_SHARED_LIBS option which is passed by the -# cmake-package infrastructure. -ifeq ($(BR2_SHARED_STATIC_LIBS),y) -CJSON_CONF_OPTS += -DBUILD_SHARED_AND_STATIC_LIBS=ON -else -CJSON_CONF_OPTS += -DBUILD_SHARED_AND_STATIC_LIBS=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/clamav/0001-clamdscan-proto.c-fix-build-error-due-to-missing-soc.patch b/buildroot-2021.05/package/clamav/0001-clamdscan-proto.c-fix-build-error-due-to-missing-soc.patch deleted file mode 100644 index daac677e..00000000 --- a/buildroot-2021.05/package/clamav/0001-clamdscan-proto.c-fix-build-error-due-to-missing-soc.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 52fda6e6689e22866a39ec4273713fb6035c38b2 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Mon, 7 May 2018 23:14:46 +0200 -Subject: [PATCH] clamdscan/proto.c: fix build error due to missing sockaddr_un - definition -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -proto.c: In function ‘dconnect’: -proto.c:86:67: error: invalid application of ‘sizeof’ to incomplete type ‘struct sockaddr_un’ - if (connect(sockd, (struct sockaddr *)&nixsock, sizeof(nixsock)) == 0) - -Signed-off-by: Bernd Kuhls -Upstream-status: http://lurker.clamav.net/message/20140928.130829.5494fd68.en.html ---- - clamdscan/proto.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/clamdscan/proto.c b/clamdscan/proto.c -index 0205f6da0..d3396732f 100644 ---- a/clamdscan/proto.c -+++ b/clamdscan/proto.c -@@ -42,6 +42,7 @@ - #include - #include - #include -+#include - #ifdef HAVE_SYS_SELECT_H - #include - #endif --- -2.14.3 - diff --git a/buildroot-2021.05/package/clamav/clamav.hash b/buildroot-2021.05/package/clamav/clamav.hash deleted file mode 100644 index 67924098..00000000 --- a/buildroot-2021.05/package/clamav/clamav.hash +++ /dev/null @@ -1,14 +0,0 @@ -# Locally calculated -sha256 d4b5d0ac666262e423a326fb54778caa7c69624d6c3f9542895feb8478271bd2 clamav-0.103.2.tar.gz -sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING -sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING.bzip2 -sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING.file -sha256 6dce638b76399e7521ad8e182d3e33e4496c85b3b69b6ff434b53017101e82ad COPYING.getopt -sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LGPL -sha256 e3a9b913515a42f8ff3ef1551c3a2cdba383c39ed959729e0e2911219496ad74 COPYING.llvm -sha256 d96d71b66aa32c4a2d1619b9ca3347dafa9460bcf0fb5ac2408916067ad31dfc COPYING.lzma -sha256 accdcf2455c07b99abea59016b3663eaef926a92092d103bfaa25fed27cf6b24 COPYING.pcre -sha256 e2c1395a3d9fea6d5d25847c9d783db6e2cc8b085b4025861f459139c5dfd90b COPYING.regex -sha256 1faccc6b5c7b958fb807a3f573d5be9bf7889fe898f7e0617c544b05a81bfd00 COPYING.unrar -sha256 a20d6317c5384e8d4c05f9c31097878675d9429ec46090656166039cc10bc957 COPYING.YARA -sha256 c2f77553f8d870c5635b0dace0519253233f172b33ce1fdf6578610706294eee COPYING.zlib diff --git a/buildroot-2021.05/package/clamav/clamav.mk b/buildroot-2021.05/package/clamav/clamav.mk deleted file mode 100644 index 6ab473ab..00000000 --- a/buildroot-2021.05/package/clamav/clamav.mk +++ /dev/null @@ -1,101 +0,0 @@ -################################################################################ -# -# clamav -# -################################################################################ - -CLAMAV_VERSION = 0.103.2 -CLAMAV_SITE = https://www.clamav.net/downloads/production -CLAMAV_LICENSE = GPL-2.0 -CLAMAV_LICENSE_FILES = COPYING COPYING.bzip2 COPYING.file COPYING.getopt \ - COPYING.LGPL COPYING.llvm COPYING.lzma COPYING.pcre COPYING.regex \ - COPYING.unrar COPYING.zlib -CLAMAV_CPE_ID_VENDOR = clamav -CLAMAV_DEPENDENCIES = \ - host-pkgconf \ - libcurl \ - libmspack \ - openssl \ - zlib \ - $(TARGET_NLS_DEPENDENCIES) - -# mmap cannot be detected when cross-compiling, needed for mempool support -CLAMAV_CONF_ENV = \ - ac_cv_c_mmap_private=yes \ - have_cv_ipv6=yes \ - OBJC=$(TARGET_CC) - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -CLAMAV_LIBS += -latomic -endif - -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) -CLAMAV_DEPENDENCIES += musl-fts -CLAMAV_LIBS += -lfts -endif - -CLAMAV_CONF_ENV += LIBS="$(CLAMAV_LIBS)" - -CLAMAV_CONF_OPTS = \ - --with-dbdir=/var/lib/clamav \ - --with-libcurl=$(STAGING_DIR)/usr \ - --with-openssl=$(STAGING_DIR)/usr \ - --with-system-libmspack=$(STAGING_DIR)/usr \ - --with-zlib=$(STAGING_DIR)/usr \ - --disable-zlib-vcheck \ - --disable-rpath \ - --disable-clamav \ - --disable-milter \ - --disable-llvm \ - --disable-clamdtop \ - --enable-mempool - -ifeq ($(BR2_PACKAGE_BZIP2),y) -CLAMAV_DEPENDENCIES += bzip2 -# autodetection gets confused if host has bzip2, so force it -CLAMAV_CONF_ENV += \ - ac_cv_libbz2_libs=-lbz2 \ - ac_cv_libbz2_ltlibs=-lbz2 -else -CLAMAV_CONF_OPTS += --disable-bzip2 -endif - -ifeq ($(BR2_PACKAGE_JSON_C),y) -CLAMAV_CONF_OPTS += --with-libjson=$(STAGING_DIR)/usr -CLAMAV_DEPENDENCIES += json-c -else -CLAMAV_CONF_OPTS += --without-libjson -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -CLAMAV_CONF_OPTS += --with-xml=$(STAGING_DIR)/usr -CLAMAV_DEPENDENCIES += libxml2 -else -CLAMAV_CONF_OPTS += --disable-xml -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -CLAMAV_CONF_OPTS += --with-iconv -CLAMAV_DEPENDENCIES += libiconv -else -CLAMAV_CONF_OPTS += --without-iconv -endif - -ifeq ($(BR2_PACKAGE_PCRE2),y) -CLAMAV_CONF_OPTS += --with-pcre=$(STAGING_DIR)/usr -CLAMAV_DEPENDENCIES += pcre2 -else ifeq ($(BR2_PACKAGE_PCRE),y) -CLAMAV_CONF_OPTS += --with-pcre=$(STAGING_DIR)/usr -CLAMAV_DEPENDENCIES += pcre -else -CLAMAV_CONF_OPTS += --without-pcre -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -CLAMAV_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system -CLAMAV_DEPENDENCIES += systemd -else -CLAMAV_CONF_OPTS += --with-systemdsystemunitdir=no -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/clapack/0001-cmake-force-libf2c-to-be-built-as-a-static-library.patch b/buildroot-2021.05/package/clapack/0001-cmake-force-libf2c-to-be-built-as-a-static-library.patch deleted file mode 100644 index 8fede9da..00000000 --- a/buildroot-2021.05/package/clapack/0001-cmake-force-libf2c-to-be-built-as-a-static-library.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 4fe2f454e454d9e6b1e83b2ea67581990461ed36 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sat, 11 Jan 2014 22:05:25 +0100 -Subject: [PATCH 1/6] cmake: force libf2c to be built as a static library - -As stated in INSTALL/LAPACK_version.c, liblapack requires to be linked -against the static library of libf2c. - -Signed-off-by: Samuel Martin ---- - F2CLIBS/libf2c/CMakeLists.txt | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/F2CLIBS/libf2c/CMakeLists.txt b/F2CLIBS/libf2c/CMakeLists.txt -index 43d7b3f..f98d66a 100644 ---- a/F2CLIBS/libf2c/CMakeLists.txt -+++ b/F2CLIBS/libf2c/CMakeLists.txt -@@ -58,5 +58,10 @@ if(WIN32) - endif() - include_directories(${CLAPACK_SOURCE_DIR}/F2CLIBS/libf2c) - include_directories(${CLAPACK_BINARY_DIR}/F2CLIBS/libf2c) --add_library(f2c ${OFILES} ${CMAKE_CURRENT_BINARY_DIR}/arith.h) -+add_library(f2c STATIC ${OFILES} ${CMAKE_CURRENT_BINARY_DIR}/arith.h) - set_property(TARGET f2c PROPERTY PREFIX lib) -+# Set fPIC on the library when build shared libraries is enabled, because -+# libf2c.a will most likely be included by some shared libraries in such cases. -+if(UNIX AND BUILD_SHARED_LIBS) -+ set_target_properties(f2c PROPERTIES COMPILE_FLAGS "-fPIC") -+endif() --- -1.8.5.3 - diff --git a/buildroot-2021.05/package/clapack/0002-cmake-make-test-build-sensitive-to-BUILD_TESTING.patch b/buildroot-2021.05/package/clapack/0002-cmake-make-test-build-sensitive-to-BUILD_TESTING.patch deleted file mode 100644 index eac4164f..00000000 --- a/buildroot-2021.05/package/clapack/0002-cmake-make-test-build-sensitive-to-BUILD_TESTING.patch +++ /dev/null @@ -1,80 +0,0 @@ -From 834c221936d9c460b44e3a65b6fedfb3193f491b Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sat, 11 Jan 2014 21:33:12 +0100 -Subject: [PATCH 2/6] cmake: make test build sensitive to BUILD_TESTING - -This patch prevent from wasting time building the tests if it's our -wish. - -The test build takes a significant amount of time, and the binaries -are not installed. - -Signed-off-by: Samuel Martin ---- - BLAS/TESTING/CMakeLists.txt | 3 +++ - CMakeLists.txt | 9 ++++++--- - TESTING/CMakeLists.txt | 4 ++++ - 3 files changed, 13 insertions(+), 3 deletions(-) - -diff --git a/BLAS/TESTING/CMakeLists.txt b/BLAS/TESTING/CMakeLists.txt -index ec2c587..e7dc0b7 100644 ---- a/BLAS/TESTING/CMakeLists.txt -+++ b/BLAS/TESTING/CMakeLists.txt -@@ -25,6 +25,9 @@ - # make single FRC=FRC - # - ####################################################################### -+if(NOT BUILD_TESTING) -+ return() -+endif() - - macro(add_blas_test name src) - get_filename_component(baseNAME ${src} NAME_WE) -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 320ccc6..0a362c0 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,6 +1,5 @@ - cmake_minimum_required(VERSION 2.6) - project(CLAPACK C) --enable_testing() - include(CTest) - - if(WIN32 AND NOT CYGWIN) -@@ -11,7 +10,9 @@ else() - set(SECOND_SRC ${CLAPACK_SOURCE_DIR}/INSTALL/second.c) - set(DSECOND_SRC ${CLAPACK_SOURCE_DIR}/INSTALL/dsecnd.c) - endif() --enable_testing() -+if(NOT BUILD_TESTING) -+ enable_testing() -+endif() - option(USE_BLAS_WRAP "pre-pend f2c_ to each function in blas" OFF) - if(NOT USE_BLAS_WRAP) - # _zrotg_ seems to be missing in the wrap header -@@ -21,7 +22,9 @@ include_directories(${CLAPACK_SOURCE_DIR}/INCLUDE) - add_subdirectory(F2CLIBS) - add_subdirectory(BLAS) - add_subdirectory(SRC) --add_subdirectory(TESTING) -+if(NOT BUILD_TESTING) -+ add_subdirectory(TESTING) -+endif() - set(CLAPACK_VERSION 3.2.1) - set(CPACK_PACKAGE_VERSION_MAJOR 3) - set(CPACK_PACKAGE_VERSION_MINOR 2) -diff --git a/TESTING/CMakeLists.txt b/TESTING/CMakeLists.txt -index d59359d..f6b083a 100644 ---- a/TESTING/CMakeLists.txt -+++ b/TESTING/CMakeLists.txt -@@ -1,3 +1,7 @@ -+if(NOT BUILD_TESTING) -+ return() -+endif() -+ - if(MSVC_VERSION) - # string(REPLACE "/STACK:10000000" "/STACK:900000000000000000" - # CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS}") --- -1.8.5.3 - diff --git a/buildroot-2021.05/package/clapack/0003-cmake-do-not-try-to-run-arithchk-when-cross-compilin.patch b/buildroot-2021.05/package/clapack/0003-cmake-do-not-try-to-run-arithchk-when-cross-compilin.patch deleted file mode 100644 index cd9828ff..00000000 --- a/buildroot-2021.05/package/clapack/0003-cmake-do-not-try-to-run-arithchk-when-cross-compilin.patch +++ /dev/null @@ -1,70 +0,0 @@ -From a2f0669fac1f8e7183b15cf7d14f0e99a2d8b012 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sat, 11 Jan 2014 21:47:39 +0100 -Subject: [PATCH 3/6] cmake: do not try to run arithchk when cross-compiling to - generate sources - -Instead, use a predefined arith.h if provided, or generate a default one. - -The arithchk binary is still built (but not installed) to allow the user to -run it on its target and use it; so then allowing to build an optimized -blas library. - -Signed-off-by: Samuel Martin ---- - F2CLIBS/libf2c/CMakeLists.txt | 38 ++++++++++++++++++++++++++++---------- - 1 file changed, 28 insertions(+), 10 deletions(-) - -diff --git a/F2CLIBS/libf2c/CMakeLists.txt b/F2CLIBS/libf2c/CMakeLists.txt -index f98d66a..45a0804 100644 ---- a/F2CLIBS/libf2c/CMakeLists.txt -+++ b/F2CLIBS/libf2c/CMakeLists.txt -@@ -38,17 +38,35 @@ set(TIME dtime_.c etime_.c) - - # For INTEGER*8 support (which requires system-dependent adjustments to - # f2c.h), add ${QINT} to the OFILES assignment below... --add_executable(arithchk arithchk.c) --if(UNIX) -- target_link_libraries(arithchk m) -+if(CMAKE_CROSSCOMPILING) -+ if(ARITH_H) -+ message(STATUS "Using the user-defined '${ARITH_H}' as arith.h header.") -+ configure_file("${ARITH_H}" "${CMAKE_CURRENT_BINARY_DIR}/arith.h" COPYONLY) -+ else() -+ message(STATUS "No user-defined arith.h header.") -+ if(NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/arith.h") -+ message(WARNING "Generating the default non-optimized 'arith.h' header. -+ -+To generate and provide a custom arith.h header: -+run the cross-compiled arithchk binary on your target, -+and use its output to fill your custom arith.h header.") -+ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/arith.h" -+ "/* default, not optimized arith.h */") -+ endif() -+ endif() -+else() -+ add_executable(arithchk arithchk.c) -+ if(UNIX) -+ target_link_libraries(arithchk m) -+ endif() -+ set_target_properties(arithchk PROPERTIES COMPILE_DEFINITIONS -+ "NO_FPINIT;NO_LONG_LONG") -+ ADD_CUSTOM_COMMAND( -+ OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/arith.h -+ COMMAND arithchk > ${CMAKE_CURRENT_BINARY_DIR}/arith.h -+ DEPENDS arithchk -+ ) - endif() --set_target_properties(arithchk PROPERTIES COMPILE_DEFINITIONS -- "NO_FPINIT;NO_LONG_LONG") --ADD_CUSTOM_COMMAND( -- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/arith.h -- COMMAND arithchk > ${CMAKE_CURRENT_BINARY_DIR}/arith.h -- DEPENDS arithchk -- ) - - - set(OFILES ${MISC} ${POW} ${CX} ${DCX} ${REAL} ${DBL} ${INT} --- -1.8.5.3 - diff --git a/buildroot-2021.05/package/clapack/0004-cmake-blas-add-library-and-header-install-rules.patch b/buildroot-2021.05/package/clapack/0004-cmake-blas-add-library-and-header-install-rules.patch deleted file mode 100644 index e83b066d..00000000 --- a/buildroot-2021.05/package/clapack/0004-cmake-blas-add-library-and-header-install-rules.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 675111e8ffc179276a7e4950fe4a4eda4d38a703 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sat, 11 Jan 2014 21:48:32 +0100 -Subject: [PATCH 4/6] cmake: blas: add library and header install rules - -Signed-off-by: Samuel Martin ---- - BLAS/SRC/CMakeLists.txt | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/BLAS/SRC/CMakeLists.txt b/BLAS/SRC/CMakeLists.txt -index d1caff8..a5de5a1 100644 ---- a/BLAS/SRC/CMakeLists.txt -+++ b/BLAS/SRC/CMakeLists.txt -@@ -141,3 +141,5 @@ if(UNIX) - target_link_libraries(blas m) - endif() - target_link_libraries(blas f2c) -+install(TARGETS blas LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) -+install(FILES "${CLAPACK_SOURCE_DIR}/INCLUDE/blaswrap.h" DESTINATION include) --- -1.8.5.3 - diff --git a/buildroot-2021.05/package/clapack/0005-cmake-lapack-add-library-and-header-install-rules.patch b/buildroot-2021.05/package/clapack/0005-cmake-lapack-add-library-and-header-install-rules.patch deleted file mode 100644 index abba460b..00000000 --- a/buildroot-2021.05/package/clapack/0005-cmake-lapack-add-library-and-header-install-rules.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 9dfac0d55a31be59a856bad9d3a5071d65176597 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sat, 11 Jan 2014 21:49:22 +0100 -Subject: [PATCH 5/6] cmake: lapack: add library and header install rules - -Signed-off-by: Samuel Martin ---- - SRC/CMakeLists.txt | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/SRC/CMakeLists.txt b/SRC/CMakeLists.txt -index ac4cce3..aa60555 100644 ---- a/SRC/CMakeLists.txt -+++ b/SRC/CMakeLists.txt -@@ -377,4 +377,5 @@ if(BUILD_COMPLEX16) - endif() - add_library(lapack ${ALLOBJ} ${ALLXOBJ}) - target_link_libraries(lapack blas) -- -+install(TARGETS lapack LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) -+install(FILES "${CLAPACK_SOURCE_DIR}/INCLUDE/clapack.h" DESTINATION include) --- -1.8.5.3 - diff --git a/buildroot-2021.05/package/clapack/0006-remove-uninit-f2c.patch b/buildroot-2021.05/package/clapack/0006-remove-uninit-f2c.patch deleted file mode 100644 index 83c2c5c7..00000000 --- a/buildroot-2021.05/package/clapack/0006-remove-uninit-f2c.patch +++ /dev/null @@ -1,24 +0,0 @@ -uninit.c includes glibc-specific not provided by musl. -Somewhat portable replacement is , which is available in musl -but requires non-trivial changes to uninit.c. - -f2c uses _uninit_f2c() from uninit.c to implement its -trapuv option, -pre-initializiing floating-point variables to NaN and asking FPU to send -SIGFPE whenever NaN value is encountered. - -clapack source has already been run through f2c without -trapuv, -so uninit.c code is not used anywhere and can be safely excluded. - -Signed-off-by: Alex Suykov - ---- a/F2CLIBS/libf2c/CMakeLists.txt -+++ b/F2CLIBS/libf2c/CMakeLists.txt -@@ -1,7 +1,7 @@ - set(MISC - f77vers.c i77vers.c main.c s_rnge.c abort_.c exit_.c getarg_.c iargc_.c - getenv_.c signal_.c s_stop.c s_paus.c system_.c cabs.c ctype.c -- derf_.c derfc_.c erf_.c erfc_.c sig_die.c uninit.c) -+ derf_.c derfc_.c erf_.c erfc_.c sig_die.c) - set(POW pow_ci.c pow_dd.c pow_di.c pow_hh.c pow_ii.c pow_ri.c pow_zi.c pow_zz.c) - set(CX c_abs.c c_cos.c c_div.c c_exp.c c_log.c c_sin.c c_sqrt.c) - set(DCX z_abs.c z_cos.c z_div.c z_exp.c z_log.c z_sin.c z_sqrt.c) diff --git a/buildroot-2021.05/package/clapack/0007-off64-t.patch b/buildroot-2021.05/package/clapack/0007-off64-t.patch deleted file mode 100644 index bf66d3c9..00000000 --- a/buildroot-2021.05/package/clapack/0007-off64-t.patch +++ /dev/null @@ -1,16 +0,0 @@ -musl only provides off64_t, not __off64_t. -glibc and uclibc have both defined. - -Signed-off-by: Alex Suykov - ---- a/F2CLIBS/libf2c/sysdep1.h -+++ b/F2CLIBS/libf2c/sysdep1.h -@@ -10,7 +10,7 @@ - - #ifdef __linux__ - #define USE_LARGEFILE --#define OFF_T __off64_t -+#define OFF_T off64_t - #endif - - #ifdef _AIX43 diff --git a/buildroot-2021.05/package/clapack/Config.in b/buildroot-2021.05/package/clapack/Config.in deleted file mode 100644 index a912eb6c..00000000 --- a/buildroot-2021.05/package/clapack/Config.in +++ /dev/null @@ -1,28 +0,0 @@ -comment "clapack needs a glibc toolchain" - depends on BR2_powerpc - depends on !BR2_TOOLCHAIN_USES_GLIBC - -config BR2_PACKAGE_CLAPACK - bool "cblas/clapack" - # _fpu_control is used on PowerPC, but not available with - # uClibc or musl - depends on !BR2_powerpc || BR2_TOOLCHAIN_USES_GLIBC - # assembler: Error: value out of range - depends on !BR2_m68k_cf - help - BLAS and LAPACK C implementation (f2c'ed version of). - - http://www.netlib.org/clapack/ - -config BR2_PACKAGE_CLAPACK_ARITH_H - string "Custom BLAS arith.h" - depends on BR2_PACKAGE_CLAPACK - help - To optimize BLAS library for the hardware, an 'arith.h' header - should be provided. - - If empty, the library will not be optimized by the compiler. - - In any case an 'arithchk' program is built - (but not installed), to be run on the target to generate this - arith.h header. diff --git a/buildroot-2021.05/package/clapack/clapack.hash b/buildroot-2021.05/package/clapack/clapack.hash deleted file mode 100644 index ad586fac..00000000 --- a/buildroot-2021.05/package/clapack/clapack.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 0b3f782bc24845d85f36bafbff0f2f1384dc72df730fda4e7924ec1a70baca5a clapack-3.2.1-CMAKE.tgz -# License files, locally calculated -sha256 23014869214a231525b38c39fdb5f82364fa24154ac80fdcab2a79671460fd09 COPYING -sha256 44561c447e91203ddc747beeca5cc2794d95ee982c17c578670e4f0408bc3904 F2CLIBS/libf2c/Notice diff --git a/buildroot-2021.05/package/clapack/clapack.mk b/buildroot-2021.05/package/clapack/clapack.mk deleted file mode 100644 index 9a083f32..00000000 --- a/buildroot-2021.05/package/clapack/clapack.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# clapack -# -################################################################################ - -CLAPACK_VERSION = 3.2.1 -CLAPACK_SOURCE = clapack-$(CLAPACK_VERSION)-CMAKE.tgz -# This package provides 3 libraries: -# - libf2c.a (not installed) -# - libblas (statically linked with libf2c.a) -# - liblapack (statically linked with libf2c.a) -CLAPACK_LICENSE = HPND (libf2c), BSD-3-Clause (libblas and liblapack) -CLAPACK_LICENSE_FILES = F2CLIBS/libf2c/Notice COPYING -CLAPACK_SITE = http://www.netlib.org/clapack -CLAPACK_INSTALL_STAGING = YES - -ifneq ($(BR2_PACKAGE_CLAPACK_ARITH_H),) -CLAPACK_CONF_OPTS += -DARITH_H=$(BR2_PACKAGE_CLAPACK_ARITH_H) -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/cloop/cloop.hash b/buildroot-2021.05/package/cloop/cloop.hash deleted file mode 100644 index 7af1a959..00000000 --- a/buildroot-2021.05/package/cloop/cloop.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From http://snapshot.debian.org/archive/debian/20150503T155713Z/pool/main/c/cloop/cloop_3.14.1.2.dsc -sha256 ac344225b3a5c4ddbb0d4b20cd4874798b51427b707b53e2ee9fbdada7497c95 cloop_3.14.1.2.tar.xz - -# Hash for license files -sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad advancecomp-1.15/COPYING -sha256 1b1f89e94e131e259b9e334565c5c3500d4b8aa755b75c3f145ddcdff3b89124 README diff --git a/buildroot-2021.05/package/cloop/cloop.mk b/buildroot-2021.05/package/cloop/cloop.mk deleted file mode 100644 index 046d98c8..00000000 --- a/buildroot-2021.05/package/cloop/cloop.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# cloop -# -################################################################################ - -CLOOP_VERSION = 3.14.1.2 -CLOOP_SOURCE = cloop_$(CLOOP_VERSION).tar.xz -CLOOP_SITE = http://snapshot.debian.org/archive/debian/20150503T155713Z/pool/main/c/cloop -CLOOP_LICENSE = GPL-2.0 (module), GPL-2.0+ (advancecomp) -CLOOP_LICENSE_FILES = README advancecomp-1.15/COPYING - -HOST_CLOOP_DEPENDENCIES = host-zlib - -define HOST_CLOOP_BUILD_CMDS - $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ - CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" -endef - -define HOST_CLOOP_INSTALL_CMDS - $(INSTALL) -m 0755 -d $(HOST_DIR)/bin - $(INSTALL) -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/bin - $(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/bin -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/cog/Config.in b/buildroot-2021.05/package/cog/Config.in deleted file mode 100644 index 5f00c5a2..00000000 --- a/buildroot-2021.05/package/cog/Config.in +++ /dev/null @@ -1,58 +0,0 @@ -comment "cog needs wpewebkit and a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_WPEWEBKIT || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_COG - bool "cog" - depends on BR2_PACKAGE_WPEWEBKIT - depends on BR2_TOOLCHAIN_HAS_THREADS # dbus - depends on BR2_USE_MMU # dbus - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_WAYLAND - help - Single "window" launcher for the WebKit WPE port, and - helper library for implementing WPE launcher. It does - not provide any chrome, and is suitable to be used - as a Web application container. - - https://github.com/Igalia/cog - -if BR2_PACKAGE_COG - -config BR2_PACKAGE_COG_PROGRAMS_HOME_URI - string "home uri" - default "https://wpewebkit.org" - help - Default URI to open when "cog" is launched. If an empty - string is used, there is no default and the URI to open - must be always specified in the command line. - -config BR2_PACKAGE_COG_PLATFORM_FDO - bool "FreeDesktop.org backend" - default y - select BR2_PACKAGE_LIBXKBCOMMON - select BR2_PACKAGE_WAYLAND_PROTOCOLS - help - Enable the FreeDesktop.org backend. Cog will interface with - a compositor over the Wayland protocol. - -config BR2_PACKAGE_COG_PLATFORM_DRM - bool "DRM backend" - depends on BR2_PACKAGE_HAS_UDEV # libinput - depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_LIBINPUT - help - Enable the DRM platform backend. Cog will interface directly - with video drivers that support kernel mode-setting (KMS) - via the DRM user-space API. - -config BR2_PACKAGE_COG_USE_SYSTEM_DBUS - bool "expose system D-Bus control interface" - help - Expose remote control interface on system bus - -comment "DRM platform needs mesa3d w/ EGL driver and GBM" - depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL - -endif diff --git a/buildroot-2021.05/package/cog/cog.hash b/buildroot-2021.05/package/cog/cog.hash deleted file mode 100644 index 2cafe8ca..00000000 --- a/buildroot-2021.05/package/cog/cog.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://wpewebkit.org/releases/cog-0.8.1.tar.xz.sums -md5 21664fb04c9149dea6d68e13e6074276 cog-0.8.1.tar.xz -sha1 baabba7f0f6009c64ef0c4f7c5f807382cffef5d cog-0.8.1.tar.xz -sha256 b82e917eb764943b9859c631974f8f0e748b79ae87bb7a944f46c818740e0208 cog-0.8.1.tar.xz - -# Hashes for license files: -sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING diff --git a/buildroot-2021.05/package/cog/cog.mk b/buildroot-2021.05/package/cog/cog.mk deleted file mode 100644 index 86bdf935..00000000 --- a/buildroot-2021.05/package/cog/cog.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# cog -# -################################################################################ - -COG_VERSION = 0.8.1 -COG_SITE = https://wpewebkit.org/releases -COG_SOURCE = cog-$(COG_VERSION).tar.xz -COG_INSTALL_STAGING = YES -COG_DEPENDENCIES = dbus wpewebkit wpebackend-fdo wayland -COG_LICENSE = MIT -COG_LICENSE_FILES = COPYING -COG_CONF_OPTS = \ - -DCOG_BUILD_PROGRAMS=ON \ - -DCOG_WESTON_DIRECT_DISPLAY=OFF \ - -DINSTALL_MAN_PAGES=OFF \ - -DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))' - -ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y) -COG_CONF_OPTS += -DCOG_PLATFORM_FDO=ON -COG_DEPENDENCIES += libxkbcommon wayland-protocols -else -COG_CONF_OPTS += -DCOG_PLATFORM_FDO=OFF -endif - -ifeq ($(BR2_PACKAGE_COG_PLATFORM_DRM),y) -COG_CONF_OPTS += -DCOG_PLATFORM_DRM=ON -COG_DEPENDENCIES += libdrm libinput -else -COG_CONF_OPTS += -DCOG_PLATFORM_DRM=OFF -endif - -ifeq ($(BR2_PACKAGE_COG_USE_SYSTEM_DBUS),y) -COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=ON -else -COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/collectd/Config.in b/buildroot-2021.05/package/collectd/Config.in deleted file mode 100644 index 82c24fdb..00000000 --- a/buildroot-2021.05/package/collectd/Config.in +++ /dev/null @@ -1,754 +0,0 @@ -menuconfig BR2_PACKAGE_COLLECTD - bool "collectd" - # Uses fork() - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - help - collectd is a daemon which collects system performance - statistics periodically and provides mechanisms to store - the values in a variety of ways, for example in RRD files. - - http://collectd.org/ - -if BR2_PACKAGE_COLLECTD - -menu "match plugins" - -config BR2_PACKAGE_COLLECTD_EMPTY_COUNTER - bool "empty counter" - help - Match counter values which are currently zero. - -config BR2_PACKAGE_COLLECTD_HASHED - bool "hashed" - help - Match values using a hash function of the hostname. - -config BR2_PACKAGE_COLLECTD_REGEX - bool "regex" - help - Match values by their identifier based on regular expressions. - -config BR2_PACKAGE_COLLECTD_TIMEDIFF - bool "timediff" - help - Match values with an invalid timestamp. - -config BR2_PACKAGE_COLLECTD_VALUE - bool "value" - help - Select values by their data sources' values. - -endmenu - -menu "misc plugins" - -config BR2_PACKAGE_COLLECTD_AGGREGATION - bool "aggregation" - help - The Aggregate plugin allows to aggregate multiple values into - a single value using one or several consolidation functions, - e.g. summation and average. - -config BR2_PACKAGE_COLLECTD_LOGFILE - bool "logfile" - default y - help - Writes log messages to a file or STDOUT/STDERR. - -config BR2_PACKAGE_COLLECTD_LOGSTASH - bool "logstash" - select BR2_PACKAGE_YAJL - help - Writes log messages formatted as logstash JSON events. - -config BR2_PACKAGE_COLLECTD_LUA - bool "lua" - depends on BR2_PACKAGE_HAS_LUAINTERPRETER - help - Embeds a Lua interpreter into collectd and provides an - interface to collectd's plugin system. - -comment "lua support needs a Lua interpreter" - depends on !BR2_PACKAGE_HAS_LUAINTERPRETER - -config BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL - bool "notify_email" - depends on !BR2_STATIC_LIBS # libesmtp - select BR2_PACKAGE_LIBESMTP - select BR2_PACKAGE_OPENSSL - help - Send an E-mail with the notification message to the - configured recipients. - -comment "notify_email needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_COLLECTD_NOTIFY_NAGIOS - bool "notify_nagios" - help - Sends notifications to Nagios as a passive check result. - -config BR2_PACKAGE_COLLECTD_SYSLOG - bool "syslog" - default y - help - Logs to the standard UNIX logging mechanism. - -config BR2_PACKAGE_COLLECTD_THRESHOLD - bool "threshold" - help - Checks values against configured thresholds and creates - notifications if values are out of bounds. - -endmenu - -menu "read plugins" - -comment "Select at least one for collectd to be useful" - -config BR2_PACKAGE_COLLECTD_APACHE - bool "apache" - select BR2_PACKAGE_LIBCURL - help - Collects Apache's mod_status information. - -config BR2_PACKAGE_COLLECTD_APCUPS - bool "apcups" - help - Collects UPS statistics from apcupsd. - -config BR2_PACKAGE_COLLECTD_BATTERY - bool "battery" - help - Collects the battery's charge, the drawn current and voltage. - -config BR2_PACKAGE_COLLECTD_BIND - bool "bind" - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBXML2 - help - Collects BIND DNS statistics. - -config BR2_PACKAGE_COLLECTD_BUDDYINFO - bool "buddyinfo" - help - Statistics from buddyinfo file about memory fragmentation. - -config BR2_PACKAGE_COLLECTD_CAPABILITIES - bool "capabilities" - depends on BR2_aarch64 || BR2_i386 || BR2_x86_64 # dmidecode - select BR2_PACKAGE_DMIDECODE # runtime - select BR2_PACKAGE_JANSSON - select BR2_PACKAGE_LIBMICROHTTPD - help - Collects selected static platform data using dmidecode and - expose it through micro embedded webserver. - -config BR2_PACKAGE_COLLECTD_CEPH - bool "ceph" - select BR2_PACKAGE_YAJL - help - Statistics from the Ceph distributed storage system. - -config BR2_PACKAGE_COLLECTD_CHRONY - bool "chrony" - help - Collects NTP data from the chrony NTP server. - -config BR2_PACKAGE_COLLECTD_CGROUPS - bool "cgroups" - help - Collects CGroups CPU usage accounting. - -config BR2_PACKAGE_COLLECTD_CONNTRACK - bool "conntrack" - help - Collects the number of entries in Linux's connection tracking - table. - -config BR2_PACKAGE_COLLECTD_CONTEXTSWITCH - bool "contextswitch" - help - Collects the number of context switches done by the operating - system. - -config BR2_PACKAGE_COLLECTD_CPU - bool "cpu" - help - Collects the amount of time spent by the CPU in various - states. - -config BR2_PACKAGE_COLLECTD_CPUFREQ - bool "cpufreq" - help - Collects the current CPU's frequency. - -config BR2_PACKAGE_COLLECTD_CPUSLEEP - bool "cpusleep" - help - Measures time spent by CPU in deep sleep mode. - -config BR2_PACKAGE_COLLECTD_CURL - bool "curl" - select BR2_PACKAGE_LIBCURL - help - Uses libcurl to read files and then parses them according - to the configuration. - -config BR2_PACKAGE_COLLECTD_CURL_JSON - bool "curl-json" - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_YAJL - help - Queries JSON data using the cURL library and parses it - according to the user's configuration using YAJL. - -config BR2_PACKAGE_COLLECTD_CURL_XML - bool "curl-xml" - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBXML2 - help - Reads files using libcurl and parses it as XML. - -config BR2_PACKAGE_COLLECTD_DF - bool "df" - help - Collects file system usage information. - -config BR2_PACKAGE_COLLECTD_DISK - bool "disk" - help - Collects performance statistics of hard-disks and partitions. - -config BR2_PACKAGE_COLLECTD_DNS - bool "dns" - select BR2_PACKAGE_LIBPCAP - help - Collects statistics of DNS traffic using libpcap. - -config BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY - bool "dpdk_telemetry" - select BR2_PACKAGE_JANSSON - help - Collects DPDK ethernet device metrics via dpdk_telemetry - library. - -config BR2_PACKAGE_COLLECTD_DRBD - bool "drbd" - help - Collect individual drbd resource statistics. - -config BR2_PACKAGE_COLLECTD_ENTROPY - bool "entropy" - help - Collects the available entropy on a system. - -config BR2_PACKAGE_COLLECTD_ETHSTAT - bool "ethstat" - help - Collects network interface card statistics. - -config BR2_PACKAGE_COLLECTD_EXEC - bool "exec" - help - Executes scripts and reads values back that are printed - to STDOUT by that program. - -config BR2_PACKAGE_COLLECTD_FHCOUNT - bool "fhcount" - help - File handles statistics. - -config BR2_PACKAGE_COLLECTD_FILECOUNT - bool "filecount" - help - Counts the number of files in a directory and all its - subdirectories. - -config BR2_PACKAGE_COLLECTD_FSCACHE - bool "fscache" - help - Collects information about the file-system based caching - infrastructure for network file-systems and other slow media. - -config BR2_PACKAGE_COLLECTD_GPS - bool "gps" - select BR2_PACKAGE_GPSD - help - Reports the number of sattelites seen by and precision - of a GPS receiver. - -config BR2_PACKAGE_COLLECTD_HUGEPAGES - bool "hugepages" - help - Reports the number of used and free hugepages on Linux. - -config BR2_PACKAGE_COLLECTD_INFINIBAND - bool "infiniband" - help - Attributes and counters for each port on each IB device. - -config BR2_PACKAGE_COLLECTD_INTERFACE - bool "interface" - help - Collects information about the traffic of network interfaces. - -config BR2_PACKAGE_COLLECTD_IPC - bool "ipc" - help - IPC counters: semaphores used, number of allocated segments - in shared memory and more. - -config BR2_PACKAGE_COLLECTD_IPTABLES - bool "iptables" - select BR2_PACKAGE_IPTABLES - help - Gather statistics from iptables packet filter. - -config BR2_PACKAGE_COLLECTD_IPVS - bool "ipvs" - help - Extracts statistics from IP Virtual Server (IPVS), the - transport-layer load-balancer of the LVS project. - It stores traffic and connections history for each of the - Real Servers (RS) behind a local Virtual Server (VS). - Collectd must be run on Directors (in LVS jargon). - -config BR2_PACKAGE_COLLECTD_IRQ - bool "irq" - help - Collects the number of interrupts. - -config BR2_PACKAGE_COLLECTD_LOAD - bool "load" - help - Collects the system load. - -config BR2_PACKAGE_COLLECTD_LOGPARSER - bool "logparser" - help - Plugin for filtering and parsing log messages. - -config BR2_PACKAGE_COLLECTD_MD - bool "md" - help - Collects software-RAID device information. - -config BR2_PACKAGE_COLLECTD_MDEVENTS - bool "mdevents" - help - Events from md (Linux Software RAID) devices. - -config BR2_PACKAGE_COLLECTD_MEMCACHEC - bool "memcachec" - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_LIBMEMCACHED - help - Query and parse data from a memcache daemon. - -comment "memcachec needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_COLLECTD_MEMCACHED - bool "memcached" - help - Collects statistics from a memcached daemon. - -config BR2_PACKAGE_COLLECTD_MEMORY - bool "memory" - help - Collects physical memory utilization. - -config BR2_PACKAGE_COLLECTD_MODBUS - bool "modbus" - select BR2_PACKAGE_LIBMODBUS - help - Reads register values from a modbus "slave" via Modbus/TCP. - -config BR2_PACKAGE_COLLECTD_MYSQL - bool "mysql" - depends on BR2_INSTALL_LIBSTDCPP # mysql - depends on BR2_USE_MMU # mysql - depends on BR2_TOOLCHAIN_HAS_THREADS # mysql - select BR2_PACKAGE_MYSQL - help - Connects to a MySQL database and issues a "show status" - command. - -config BR2_PACKAGE_COLLECTD_NETLINK - bool "netlink" - select BR2_PACKAGE_LIBMNL - help - Get statistics for interfaces, qdiscs, classes, and filters. - -config BR2_PACKAGE_COLLECTD_NFS - bool "nfs" - help - Collects information about the usage of the Network File - System. - -config BR2_PACKAGE_COLLECTD_NGINX - bool "nginx" - select BR2_PACKAGE_LIBCURL - help - Collects the number of requests handled by the nginx daemon - since startup and the number of current connections by state. - -config BR2_PACKAGE_COLLECTD_NTPD - bool "ntpd" - help - Queries an NTP server and extracts parameters. - -config BR2_PACKAGE_COLLECTD_NUT - bool "nut" - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_NUT - help - The NUT plugin collects uninterruptible power supply (UPS) - statistics using the Network UPS Tools (NUT). - -comment "nut needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_COLLECTD_OLSRD - bool "olsrd" - help - Reads information about meshed networks from olsrd. - -config BR2_PACKAGE_COLLECTD_ONEWIRE - bool "onewire" - select BR2_PACKAGE_OWFS - help - Collects temperature information from sensors connected over - the OneWire bus. - -config BR2_PACKAGE_COLLECTD_OPENLDAP - bool "openldap" - depends on BR2_USE_WCHAR - select BR2_PACKAGE_OPENLDAP - help - Read monitoring information from OpenLDAP's cn=Monitor - subtree. - -comment "openldap support needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR - -config BR2_PACKAGE_COLLECTD_OPENVPN - bool "openvpn" - help - Reads the status file of OpenVPN to collect statistics. - -config BR2_PACKAGE_COLLECTD_PING - bool "ping" - select BR2_PACKAGE_LIBOPING - help - Mesures network latency using ICMP "echo requests". - -config BR2_PACKAGE_COLLECTD_POSTGRESQL - bool "postgresql" - depends on BR2_USE_WCHAR # postgresql - select BR2_PACKAGE_POSTGRESQL - help - Connects to and executes SQL statements on a PostgreSQL - database. It then reads back the results and, depending on the - configuration, the returned values are then converted into - collectd 'value lists'. - -comment "postgresql support needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR - -config BR2_PACKAGE_COLLECTD_PROCESSES - bool "processes" - help - Collects the number of processes gruped by state. - -config BR2_PACKAGE_COLLECTD_PROTOCOLS - bool "protocols" - help - Collects information about the network protocols. - -config BR2_PACKAGE_COLLECTD_REDIS - bool "redis" - select BR2_PACKAGE_HIREDIS - help - Connects to one or more instances of Redis. - -config BR2_PACKAGE_COLLECTD_SENSORS - bool "sensors" - select BR2_PACKAGE_LM_SENSORS - help - Collects data from lm-sensors. - -config BR2_PACKAGE_COLLECTD_SERIAL - bool "serial" - help - Collects the traffic on serial interfaces. - -config BR2_PACKAGE_COLLECTD_SMART - bool "SMART" - depends on BR2_PACKAGE_HAS_UDEV # libatasmart - select BR2_PACKAGE_LIBATASMART - help - Collect SMART statistics, notably load cycle count, - temperature and bad sectors. - -comment "SMART requires udev to be enabled" - depends on !BR2_PACKAGE_HAS_UDEV - -config BR2_PACKAGE_COLLECTD_STATSD - bool "StatsD" - help - StatsD network protocol to allow clients to report "events". - -config BR2_PACKAGE_COLLECTD_SNMP - bool "snmp" - select BR2_PACKAGE_NETSNMP - help - Reads values from SNMP devices. - -config BR2_PACKAGE_COLLECTD_SWAP - bool "swap" - help - Collects the amount of memory currently written to disk. - -config BR2_PACKAGE_COLLECTD_SYNPROXY - bool "synproxy" - help - Synproxy stats plugin. - -config BR2_PACKAGE_COLLECTD_TABLE - bool "table" - help - Parses table-like structured plain-text files. - -config BR2_PACKAGE_COLLECTD_TAIL - bool "tail" - help - Tails log files and each line is given to one or more matches - which test if the line is relevant for any statistics. - -config BR2_PACKAGE_COLLECTD_TAIL_CSV - bool "tail csv" - help - Follows (tails) files in CSV format, parses each line and - submits extracted values. - -config BR2_PACKAGE_COLLECTD_TCPCONNS - bool "tcpconns" - help - Counts the number of TCP connections to/from a specified port. - -config BR2_PACKAGE_COLLECTD_THERMAL - bool "thermal" - help - Reads ACPI thermal zone information. - -config BR2_PACKAGE_COLLECTD_UBI - bool "ubi" - help - UBI (Unsorted Block Images) is an erase block management layer - for flash memory devices. UBI serves two purposes, tracking - NAND flash bad blocks and providing wear leveling. - This plugin collects some stats about UBI devices: - * bad physical underlying blocks (bad_peb_count) - * max erase counter value (max_ec) - -config BR2_PACKAGE_COLLECTD_UPTIME - bool "uptime" - help - Keeps track of the system uptime. - -config BR2_PACKAGE_COLLECTD_USERS - bool "users" - help - Counts the number of users currently logged in. - -config BR2_PACKAGE_COLLECTD_VMEM - bool "vmem" - help - Collects information about the virtual memory subsystem. - -config BR2_PACKAGE_COLLECTD_WIRELESS - bool "wireless" - help - Collects signal quality, power and noise ratio for WLAN cards. - -config BR2_PACKAGE_COLLECTD_ZOOKEEPER - bool "zookeeper" - help - Read data from Zookeeper's MNTR command. - -endmenu - -menu "target plugins" - -config BR2_PACKAGE_COLLECTD_NOTIFICATION - bool "notification" - help - Create and dispatch a notification. - -config BR2_PACKAGE_COLLECTD_REPLACE - bool "replace" - help - Replace parts of an identifier using regular expressions. - -config BR2_PACKAGE_COLLECTD_SCALE - bool "scale" - help - Scale (multiply) values by an arbitrary number. - -config BR2_PACKAGE_COLLECTD_SET - bool "set" - help - Set (overwrite) entire parts of an identifier. - -endmenu - -menu "write plugins" - -comment "Select at least one for collectd to be useful" - -config BR2_PACKAGE_COLLECTD_AMQP - bool "amqp" - select BR2_PACKAGE_OPENSSL # needs rabbitmq-c with ssl support - select BR2_PACKAGE_RABBITMQ_C - help - Send/receive values via the Advanced Message Queuing Protocol - (AMQP). - -config BR2_PACKAGE_COLLECTD_CSV - bool "csv" - help - Writes values to a plain-text file in Comma Separated Values - format. - -config BR2_PACKAGE_COLLECTD_GRAPHITE - bool "graphite" - help - Writes data collected to Carbon (Graphite's) storage API. - http://graphite.wikidot.com/start - -config BR2_PACKAGE_COLLECTD_GRPC - bool "grpc" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC # grpc - depends on BR2_INSTALL_LIBSTDCPP # grpc -> protobuf - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # grpc -> protobuf - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # grpc -> libabseil-cpp - depends on BR2_HOST_GCC_AT_LEAST_4_9 # grpc -> host-libabseil-cpp - depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # grpc - select BR2_PACKAGE_GRPC - help - Send/receive values using the gRPC protocol. - -comment "grpc needs a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ - || !BR2_HOST_GCC_AT_LEAST_4_9 - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # grpc - -config BR2_PACKAGE_COLLECTD_MQTT - bool "mqtt" - select BR2_PACKAGE_MOSQUITTO - help - Sends metrics to and/or receives metrics from an MQTT broker. - -config BR2_PACKAGE_COLLECTD_NETWORK - bool "network" - help - Send/receive values from other instances of collectd. - -config BR2_PACKAGE_COLLECTD_NETWORK_GCRYPT - bool "crypto support" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt - depends on BR2_PACKAGE_COLLECTD_NETWORK - select BR2_PACKAGE_LIBGCRYPT - help - Enable crypto support - -config BR2_PACKAGE_COLLECTD_RRDTOOL - bool "rrdtool" - depends on BR2_USE_WCHAR # rrdtool - select BR2_PACKAGE_RRDTOOL - help - Writes values to RRD-files. - -comment "rrdtool support needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR - -config BR2_PACKAGE_COLLECTD_RIEMANN - bool "riemann" - # riemann-c-client -> protobuf-c - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - select BR2_PACKAGE_RIEMANN_C_CLIENT - select BR2_PACKAGE_LIBTOOL - help - Sends data to Riemann, a stream processing and monitoring - system. - -config BR2_PACKAGE_COLLECTD_UNIXSOCK - bool "unixsock" - help - Opens a UNIX domain socket and accepts connections. - One can send commands to the daemon and receive information. - -config BR2_PACKAGE_COLLECTD_WRITEHTTP - bool "write_http" - select BR2_PACKAGE_LIBCURL - help - Sends values collected to a web-server using HTTP POST and - PUTVAL. - -config BR2_PACKAGE_COLLECTD_WRITEINFLUXDBUDP - bool "write_influxdb_udp" - help - Sends data to an instance of InfluxDB using the "Line - Protocol". - -config BR2_PACKAGE_COLLECTD_WRITELOG - bool "write_log" - help - Writes data to the log. - -config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS - bool "write_prometheus" - depends on BR2_INSTALL_LIBSTDCPP # protobuf-c - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c - select BR2_PACKAGE_LIBMICROHTTPD - select BR2_PACKAGE_PROTOBUF_C - help - Publishes values using an embedded HTTP server, in a format - compatible with Prometheus' collectd_exporter. - -comment "write_prometheus needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - -config BR2_PACKAGE_COLLECTD_WRITEREDIS - bool "write_redis" - select BR2_PACKAGE_HIREDIS - help - Sends data to Redis. - -config BR2_PACKAGE_COLLECTD_WRITESENSU - bool "write_sensu" - help - Sends data to Sensu, a stream processing and monitoring - system, via the Sensu client local TCP socket. - -config BR2_PACKAGE_COLLECTD_WRITETSDB - bool "write_tsdb" - help - Sends data OpenTSDB, a scalable no master, no shared state - time series database. - -endmenu - -endif - -comment "collectd needs a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/collectd/collectd.mk b/buildroot-2021.05/package/collectd/collectd.mk deleted file mode 100644 index 7db753b3..00000000 --- a/buildroot-2021.05/package/collectd/collectd.mk +++ /dev/null @@ -1,253 +0,0 @@ -################################################################################ -# -# collectd -# -################################################################################ - -COLLECTD_VERSION = 5.12.0 -COLLECTD_SITE = \ - https://github.com/collectd/collectd/releases/download/collectd-$(COLLECTD_VERSION) -COLLECTD_SOURCE = collectd-$(COLLECTD_VERSION).tar.bz2 -COLLECTD_CONF_ENV = ac_cv_lib_yajl_yajl_alloc=yes -COLLECTD_INSTALL_STAGING = YES -COLLECTD_LICENSE = MIT (daemon, plugins), GPL-2.0 (plugins), LGPL-2.1 (plugins) -COLLECTD_LICENSE_FILES = COPYING -COLLECTD_CPE_ID_VENDOR = collectd - -# These require unmet dependencies, are fringe, pointless or deprecated -COLLECTD_PLUGINS_DISABLE = \ - apple_sensors aquaero ascent barometer dbi dpdkstat email \ - gmond hddtemp intel_rdt ipmi java lpar \ - madwifi mbmon mic multimeter netapp notify_desktop numa \ - oracle perl pf pinba powerdns python routeros \ - rrdcached sigrok tape target_v5upgrade teamspeak2 ted \ - tokyotyrant turbostat uuid varnish virt vserver write_kafka \ - write_mongodb xencpu xmms zfs_arc zone - -COLLECTD_CONF_ENV += LIBS="-lm" - -# -# NOTE: There's also a third availible setting "intswap", which might -# be needed on some old ARM hardware (see [2]), but is not being -# accounted for as per discussion [1] -# -# [1] http://lists.busybox.net/pipermail/buildroot/2017-November/206100.html -# [2] http://lists.busybox.net/pipermail/buildroot/2017-November/206251.html -# -ifeq ($(BR2_ENDIAN),"BIG") -COLLECTD_FP_LAYOUT=endianflip -else -COLLECTD_FP_LAYOUT=nothing -endif - -COLLECTD_CONF_OPTS += \ - --with-nan-emulation \ - --with-fp-layout=$(COLLECTD_FP_LAYOUT) \ - --with-perl-bindings=no \ - --disable-werror \ - $(foreach p, $(COLLECTD_PLUGINS_DISABLE), --disable-$(p)) \ - $(if $(BR2_PACKAGE_COLLECTD_AGGREGATION),--enable-aggregation,--disable-aggregation) \ - $(if $(BR2_PACKAGE_COLLECTD_AMQP),--enable-amqp,--disable-amqp) \ - $(if $(BR2_PACKAGE_COLLECTD_APACHE),--enable-apache,--disable-apache) \ - $(if $(BR2_PACKAGE_COLLECTD_APCUPS),--enable-apcups,--disable-apcups) \ - $(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \ - $(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \ - $(if $(BR2_PACKAGE_COLLECTD_BUDDYINFO),--enable-buddyinfo,--disable-buddyinfo) \ - $(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),--enable-capabilities,--disable-capabilities) \ - $(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \ - $(if $(BR2_PACKAGE_COLLECTD_CHRONY),--enable-chrony,--disable-chrony) \ - $(if $(BR2_PACKAGE_COLLECTD_CGROUPS),--enable-cgroups,--disable-cgroups) \ - $(if $(BR2_PACKAGE_COLLECTD_CONNTRACK),--enable-conntrack,--disable-conntrack) \ - $(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \ - $(if $(BR2_PACKAGE_COLLECTD_CPU),--enable-cpu,--disable-cpu) \ - $(if $(BR2_PACKAGE_COLLECTD_CPUFREQ),--enable-cpufreq,--disable-cpufreq) \ - $(if $(BR2_PACKAGE_COLLECTD_CPUSLEEP),--enable-cpusleep,--disable-cpusleep) \ - $(if $(BR2_PACKAGE_COLLECTD_CSV),--enable-csv,--disable-csv) \ - $(if $(BR2_PACKAGE_COLLECTD_CURL),--enable-curl,--disable-curl) \ - $(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),--enable-curl_json,--disable-curl_json) \ - $(if $(BR2_PACKAGE_COLLECTD_CURL_XML),--enable-curl_xml,--disable-curl_xml) \ - $(if $(BR2_PACKAGE_COLLECTD_DF),--enable-df,--disable-df) \ - $(if $(BR2_PACKAGE_COLLECTD_DISK),--enable-disk,--disable-disk) \ - $(if $(BR2_PACKAGE_COLLECTD_DNS),--enable-dns,--disable-dns) \ - $(if $(BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY),--enable-dpdk_telemetry,--disable-dpdk_telemetry) \ - $(if $(BR2_PACKAGE_COLLECTD_DRBD),--enable-drbd,--disable-drbd) \ - $(if $(BR2_PACKAGE_COLLECTD_EMPTY_COUNTER),--enable-match_empty_counter,--disable-match_empty_counter) \ - $(if $(BR2_PACKAGE_COLLECTD_ENTROPY),--enable-entropy,--disable-entropy) \ - $(if $(BR2_PACKAGE_COLLECTD_ETHSTAT),--enable-ethstat,--disable-ethstat) \ - $(if $(BR2_PACKAGE_COLLECTD_EXEC),--enable-exec,--disable-exec) \ - $(if $(BR2_PACKAGE_COLLECTD_FHCOUNT),--enable-fhcount,--disable-fhcount) \ - $(if $(BR2_PACKAGE_COLLECTD_FILECOUNT),--enable-filecount,--disable-filecount) \ - $(if $(BR2_PACKAGE_COLLECTD_FSCACHE),--enable-fscache,--disable-fscache) \ - $(if $(BR2_PACKAGE_COLLECTD_GPS),--enable-gps,--disable-gps) \ - $(if $(BR2_PACKAGE_COLLECTD_GRAPHITE),--enable-write_graphite,--disable-write_graphite) \ - $(if $(BR2_PACKAGE_COLLECTD_GRPC),--enable-grpc,--disable-grpc) \ - $(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \ - $(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \ - $(if $(BR2_PACKAGE_COLLECTD_INFINIBAND),--enable-infiniband,--disable-infiniband) \ - $(if $(BR2_PACKAGE_COLLECTD_INTERFACE),--enable-interface,--disable-interface) \ - $(if $(BR2_PACKAGE_COLLECTD_IPC),--enable-ipc,--disable-ipc) \ - $(if $(BR2_PACKAGE_COLLECTD_IPTABLES),--enable-iptables,--disable-iptables) \ - $(if $(BR2_PACKAGE_COLLECTD_IPVS),--enable-ipvs,--disable-ipvs) \ - $(if $(BR2_PACKAGE_COLLECTD_IRQ),--enable-irq,--disable-irq) \ - $(if $(BR2_PACKAGE_COLLECTD_LOAD),--enable-load,--disable-load) \ - $(if $(BR2_PACKAGE_COLLECTD_LOGFILE),--enable-logfile,--disable-logfile) \ - $(if $(BR2_PACKAGE_COLLECTD_LOGPARSER),--enable-logparser,--disable-logparser) \ - $(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),--enable-log_logstash,--disable-log_logstash) \ - $(if $(BR2_PACKAGE_COLLECTD_LUA),--enable-lua,--disable-lua) \ - $(if $(BR2_PACKAGE_COLLECTD_MD),--enable-md,--disable-md) \ - $(if $(BR2_PACKAGE_COLLECTD_MDEVENTS),--enable-mdevents,--disable-mdevents) \ - $(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),--enable-memcachec,--disable-memcachec) \ - $(if $(BR2_PACKAGE_COLLECTD_MEMCACHED),--enable-memcached,--disable-memcached) \ - $(if $(BR2_PACKAGE_COLLECTD_MEMORY),--enable-memory,--disable-memory) \ - $(if $(BR2_PACKAGE_COLLECTD_MODBUS),--enable-modbus,--disable-modbus) \ - $(if $(BR2_PACKAGE_COLLECTD_MQTT),--enable-mqtt,--disable-mqtt) \ - $(if $(BR2_PACKAGE_COLLECTD_MYSQL),--enable-mysql,--disable-mysql) \ - $(if $(BR2_PACKAGE_COLLECTD_NETLINK),--enable-netlink,--disable-netlink) \ - $(if $(BR2_PACKAGE_COLLECTD_NETWORK),--enable-network,--disable-network) \ - $(if $(BR2_PACKAGE_COLLECTD_NFS),--enable-nfs,--disable-nfs) \ - $(if $(BR2_PACKAGE_COLLECTD_NGINX),--enable-nginx,--disable-nginx) \ - $(if $(BR2_PACKAGE_COLLECTD_NOTIFICATION),--enable-target_notification,--disable-target_notification) \ - $(if $(BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL),--enable-notify_email,--disable-notify_email) \ - $(if $(BR2_PACKAGE_COLLECTD_NOTIFY_NAGIOS),--enable-notify_nagios,--disable-notify_nagios) \ - $(if $(BR2_PACKAGE_COLLECTD_NTPD),--enable-ntpd,--disable-ntpd) \ - $(if $(BR2_PACKAGE_COLLECTD_NUT),--enable-nut,--disable-nut) \ - $(if $(BR2_PACKAGE_COLLECTD_OLSRD),--enable-olsrd,--disable-olsrd) \ - $(if $(BR2_PACKAGE_COLLECTD_ONEWIRE),--enable-onewire,--disable-onewire) \ - $(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),--enable-openldap,--disable-openldap) \ - $(if $(BR2_PACKAGE_COLLECTD_OPENVPN),--enable-openvpn,--disable-openvpn) \ - $(if $(BR2_PACKAGE_COLLECTD_PING),--enable-ping,--disable-ping) \ - $(if $(BR2_PACKAGE_COLLECTD_POSTGRESQL),--enable-postgresql,--disable-postgresql) \ - $(if $(BR2_PACKAGE_COLLECTD_PROCESSES),--enable-processes,--disable-processes) \ - $(if $(BR2_PACKAGE_COLLECTD_PROTOCOLS),--enable-protocols,--disable-protocols) \ - $(if $(BR2_PACKAGE_COLLECTD_REDIS),--enable-redis,--disable-redis) \ - $(if $(BR2_PACKAGE_COLLECTD_REGEX),--enable-match_regex,--disable-match-regex) \ - $(if $(BR2_PACKAGE_COLLECTD_REPLACE),--enable-target_replace,--disable-target_replace) \ - $(if $(BR2_PACKAGE_COLLECTD_RIEMANN),--enable-write_riemann,--disable-write_riemann) \ - $(if $(BR2_PACKAGE_COLLECTD_RRDTOOL),--enable-rrdtool,--disable-rrdtool) \ - $(if $(BR2_PACKAGE_COLLECTD_SCALE),--enable-target_scale,--disable-target_scale) \ - $(if $(BR2_PACKAGE_COLLECTD_SENSORS),--enable-sensors,--disable-sensors) \ - $(if $(BR2_PACKAGE_COLLECTD_SERIAL),--enable-serial,--disable-serial) \ - $(if $(BR2_PACKAGE_COLLECTD_STATSD),--enable-statsd,--disable-statsd) \ - $(if $(BR2_PACKAGE_COLLECTD_SET),--enable-target_set,--disable-target_set) \ - $(if $(BR2_PACKAGE_COLLECTD_SMART),--enable-smart,--disable-smart) \ - $(if $(BR2_PACKAGE_COLLECTD_SNMP),--enable-snmp,--disable-snmp) \ - $(if $(BR2_PACKAGE_COLLECTD_SWAP),--enable-swap,--disable-swap) \ - $(if $(BR2_PACKAGE_COLLECTD_SYNPROXY),--enable-synproxy,--disable-synproxy) \ - $(if $(BR2_PACKAGE_COLLECTD_SYSLOG),--enable-syslog,--disable-syslog) \ - $(if $(BR2_PACKAGE_COLLECTD_TABLE),--enable-table,--disable-table) \ - $(if $(BR2_PACKAGE_COLLECTD_TAIL),--enable-tail,--disable-tail) \ - $(if $(BR2_PACKAGE_COLLECTD_TAIL_CSV),--enable-tail_csv,--disable-tail_csv) \ - $(if $(BR2_PACKAGE_COLLECTD_TCPCONNS),--enable-tcpconns,--disable-tcpconns) \ - $(if $(BR2_PACKAGE_COLLECTD_THERMAL),--enable-thermal,--disable-thermal) \ - $(if $(BR2_PACKAGE_COLLECTD_THRESHOLD),--enable-threshold,--disable-threshold) \ - $(if $(BR2_PACKAGE_COLLECTD_TIMEDIFF),--enable-match_timediff,--disable-match_timediff) \ - $(if $(BR2_PACKAGE_COLLECTD_UBI),--enable-ubi,--disable-ubi) \ - $(if $(BR2_PACKAGE_COLLECTD_UNIXSOCK),--enable-unixsock,--disable-unixsock) \ - $(if $(BR2_PACKAGE_COLLECTD_UPTIME),--enable-uptime,--disable-uptime) \ - $(if $(BR2_PACKAGE_COLLECTD_USERS),--enable-users,--disable-users) \ - $(if $(BR2_PACKAGE_COLLECTD_VALUE),--enable-match_value,--disable-match_value) \ - $(if $(BR2_PACKAGE_COLLECTD_VMEM),--enable-vmem,--disable-vmem) \ - $(if $(BR2_PACKAGE_COLLECTD_WIRELESS),--enable-wireless,--disable-wireless) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),--enable-write_http,--disable-write_http) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITEINFLUXDBUDP),--enable-write_influxdb_udp,--disable-write_influxdb_udp) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITELOG),--enable-write_log,--disable-write_log) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS),--enable-write_prometheus,--disable-write_prometheus) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITEREDIS),--enable-write_redis,--disable-write_redis) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITESENSU),--enable-write_sensu,--disable-write_sensu) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITETSDB),--enable-write_tsdb,--disable-write_tsdb) \ - $(if $(BR2_PACKAGE_COLLECTD_ZOOKEEPER),--enable-zookeeper,--disable-zookeeper) - -COLLECTD_DEPENDENCIES = \ - host-pkgconf \ - $(if $(BR2_PACKAGE_COLLECTD_AMQP),rabbitmq-c) \ - $(if $(BR2_PACKAGE_COLLECTD_APACHE),libcurl) \ - $(if $(BR2_PACKAGE_COLLECTD_BIND),libcurl libxml2) \ - $(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),jansson libmicrohttpd) \ - $(if $(BR2_PACKAGE_COLLECTD_CEPH),yajl) \ - $(if $(BR2_PACKAGE_COLLECTD_CURL),libcurl) \ - $(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),libcurl yajl) \ - $(if $(BR2_PACKAGE_COLLECTD_CURL_XML),libcurl libxml2) \ - $(if $(BR2_PACKAGE_COLLECTD_DNS),libpcap) \ - $(if $(BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY),jansson) \ - $(if $(BR2_PACKAGE_COLLECTD_GPS),gpsd) \ - $(if $(BR2_PACKAGE_COLLECTD_GRPC),grpc) \ - $(if $(BR2_PACKAGE_COLLECTD_IPTABLES),iptables) \ - $(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),yajl) \ - $(if $(BR2_PACKAGE_COLLECTD_LUA),luainterpreter) \ - $(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),libmemcached) \ - $(if $(BR2_PACKAGE_COLLECTD_MODBUS),libmodbus) \ - $(if $(BR2_PACKAGE_COLLECTD_MQTT),mosquitto) \ - $(if $(BR2_PACKAGE_COLLECTD_MYSQL),mysql) \ - $(if $(BR2_PACKAGE_COLLECTD_NETLINK),libmnl) \ - $(if $(BR2_PACKAGE_COLLECTD_NGINX),libcurl) \ - $(if $(BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL),libesmtp) \ - $(if $(BR2_PACKAGE_COLLECTD_NUT),nut) \ - $(if $(BR2_PACKAGE_COLLECTD_ONEWIRE),owfs) \ - $(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),openldap) \ - $(if $(BR2_PACKAGE_COLLECTD_PING),liboping) \ - $(if $(BR2_PACKAGE_COLLECTD_POSTGRESQL),postgresql) \ - $(if $(BR2_PACKAGE_COLLECTD_REDIS),hiredis) \ - $(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool riemann-c-client) \ - $(if $(BR2_PACKAGE_COLLECTD_RRDTOOL),rrdtool) \ - $(if $(BR2_PACKAGE_COLLECTD_SENSORS),lm-sensors) \ - $(if $(BR2_PACKAGE_COLLECTD_SMART),libatasmart) \ - $(if $(BR2_PACKAGE_COLLECTD_SNMP),netsnmp) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),libcurl) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS),libmicrohttpd protobuf-c) \ - $(if $(BR2_PACKAGE_COLLECTD_WRITEREDIS),hiredis) - -# include/library fixups -ifeq ($(BR2_PACKAGE_JANSSON),y) -COLLECTD_CONF_OPTS += --with-libjansson=$(STAGING_DIR)/usr -endif -ifeq ($(BR2_PACKAGE_LIBCURL),y) -COLLECTD_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr -endif -ifeq ($(BR2_PACKAGE_LUAJIT),y) -COLLECTD_CONF_ENV += LIBLUA_PKG_CONFIG_NAME=luajit -endif -ifeq ($(BR2_PACKAGE_MYSQL),y) -COLLECTD_CONF_OPTS += --with-libmysql=$(STAGING_DIR)/usr -endif -ifeq ($(BR2_PACKAGE_NETSNMP),y) -COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr -endif -ifeq ($(BR2_PACKAGE_POSTGRESQL),y) -COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config -COLLECTD_CONF_ENV += LIBS="-lpthread -lm" -endif -ifeq ($(BR2_PACKAGE_YAJL),y) -COLLECTD_CONF_OPTS += --with-libyajl=$(STAGING_DIR)/usr -endif - -# network can use libgcrypt -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -COLLECTD_DEPENDENCIES += libgcrypt -COLLECTD_CONF_OPTS += --with-libgcrypt=$(STAGING_DIR)/usr/bin/libgcrypt-config -else -COLLECTD_CONF_OPTS += --with-libgcrypt=no -endif - -define COLLECTD_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install - rm -f $(TARGET_DIR)/usr/bin/collectd-nagios -endef - -ifeq ($(BR2_PACKAGE_COLLECTD_POSTGRESQL),) -define COLLECTD_REMOVE_UNNEEDED_POSTGRESQL_DEFAULT_CONF - rm -f $(TARGET_DIR)/usr/share/collectd/postgresql_default.conf -endef -COLLECTD_POST_INSTALL_TARGET_HOOKS += COLLECTD_REMOVE_UNNEEDED_POSTGRESQL_DEFAULT_CONF -endif - -define COLLECTD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/collectd/collectd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/collectd.service -endef - -define COLLECTD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/collectd/S90collectd \ - $(TARGET_DIR)/etc/init.d/S90collectd -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/collectl/collectl.hash b/buildroot-2021.05/package/collectl/collectl.hash deleted file mode 100644 index d866e0be..00000000 --- a/buildroot-2021.05/package/collectl/collectl.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 2187264d974b36a653c8a4b028ac6eeab23e1885f8b2563a33f06358f39889f1 collectl-4.3.1.src.tar.gz -sha256 b92800d37afa2aa03c02817ff3b68efc7236436fe76af06ad9b1fc4682f59bcb ARTISTIC -sha256 264fe27852db5624e6a9a9845b4e14e91ee5007305b33e5556dfade394d578a8 COPYING -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 GPL diff --git a/buildroot-2021.05/package/collectl/collectl.mk b/buildroot-2021.05/package/collectl/collectl.mk deleted file mode 100644 index c9fb5929..00000000 --- a/buildroot-2021.05/package/collectl/collectl.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# collectl -# -################################################################################ - -COLLECTL_VERSION = 4.3.1 -COLLECTL_SOURCE = collectl-$(COLLECTL_VERSION).src.tar.gz -COLLECTL_SITE = http://downloads.sourceforge.net/collectl/collectl -COLLECTL_LICENSE = Artistic or GPL-2.0 -COLLECTL_LICENSE_FILES = COPYING ARTISTIC GPL - -define COLLECTL_INSTALL_TARGET_CMDS - (cd $(@D); \ - DESTDIR=$(TARGET_DIR) ./INSTALL) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/connman/connman.hash b/buildroot-2021.05/package/connman/connman.hash deleted file mode 100644 index 338e1919..00000000 --- a/buildroot-2021.05/package/connman/connman.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/linux/network/connman/sha256sums.asc -sha256 9f62a7169b7491c670a1ff2e335b0d966308fb2f62e285c781105eb90f181af3 connman-1.39.tar.xz -# Locally computed -sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING diff --git a/buildroot-2021.05/package/connman/connman.mk b/buildroot-2021.05/package/connman/connman.mk deleted file mode 100644 index 77073f98..00000000 --- a/buildroot-2021.05/package/connman/connman.mk +++ /dev/null @@ -1,106 +0,0 @@ -################################################################################ -# -# connman -# -################################################################################ - -CONNMAN_VERSION = 1.39 -CONNMAN_SOURCE = connman-$(CONNMAN_VERSION).tar.xz -CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman -CONNMAN_DEPENDENCIES = libglib2 dbus iptables -CONNMAN_INSTALL_STAGING = YES -CONNMAN_LICENSE = GPL-2.0 -CONNMAN_LICENSE_FILES = COPYING -CONNMAN_CPE_ID_VENDOR = intel - -CONNMAN_CONF_OPTS = --with-dbusconfdir=/etc - -ifeq ($(BR2_INIT_SYSTEMD),y) -CONNMAN_CONF_OPTS += --with-systemdunitdir=/usr/lib/systemd/system -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_BLUETOOTH),y) -CONNMAN_CONF_OPTS += --enable-bluetooth -else -CONNMAN_CONF_OPTS += --disable-bluetooth -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_DEBUG),y) -CONNMAN_CONF_OPTS += --enable-debug -else -CONNMAN_CONF_OPTS += --disable-debug -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_ETHERNET),y) -CONNMAN_CONF_OPTS += --enable-ethernet -else -CONNMAN_CONF_OPTS += --disable-ethernet -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_IPTABLES),y) -CONNMAN_CONF_OPTS += --with-firewall=iptables -CONNMAN_DEPENDENCIES += iptables -else ifeq ($(BR2_PACKAGE_CONNMAN_NFTABLES),y) -CONNMAN_CONF_OPTS += --with-firewall=nftables -CONNMAN_DEPENDENCIES += libmnl nftables -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_LOOPBACK),y) -CONNMAN_CONF_OPTS += --enable-loopback -else -CONNMAN_CONF_OPTS += --disable-loopback -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_NEARD),y) -CONNMAN_CONF_OPTS += --enable-neard -CONNMAN_DEPENDENCIES += neard -else -CONNMAN_CONF_OPTS += --disable-neard -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_OFONO),y) -CONNMAN_CONF_OPTS += --enable-ofono -CONNMAN_DEPENDENCIES += ofono -else -CONNMAN_CONF_OPTS += --disable-ofono -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_WIFI),y) -CONNMAN_CONF_OPTS += --enable-wifi -else -CONNMAN_CONF_OPTS += --disable-wifi -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_WIREGUARD),y) -CONNMAN_CONF_OPTS += --enable-wireguard -CONNMAN_DEPENDENCIES += libmnl -else -CONNMAN_CONF_OPTS += --disable-wireguard -endif - -ifeq ($(BR2_PACKAGE_CONNMAN_WISPR),y) -CONNMAN_CONF_OPTS += --enable-wispr -CONNMAN_DEPENDENCIES += gnutls -else -CONNMAN_CONF_OPTS += --disable-wispr -endif - -define CONNMAN_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman -endef - -ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y) -CONNMAN_LICENSE += , GPL-2.0+ (client) -CONNMAN_CONF_OPTS += --enable-client -CONNMAN_DEPENDENCIES += readline - -define CONNMAN_INSTALL_CM - $(INSTALL) -m 0755 -D $(@D)/client/connmanctl $(TARGET_DIR)/usr/bin/connmanctl -endef - -CONNMAN_POST_INSTALL_TARGET_HOOKS += CONNMAN_INSTALL_CM -else -CONNMAN_CONF_OPTS += --disable-client -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/containerd/containerd.hash b/buildroot-2021.05/package/containerd/containerd.hash deleted file mode 100644 index b3cb3e47..00000000 --- a/buildroot-2021.05/package/containerd/containerd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Computed locally -sha256 ac62c64664bf62fd44df0891c896eecdb6d93def3438271d7892dca75bc069d1 containerd-1.4.4.tar.gz -sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/buildroot-2021.05/package/containerd/containerd.mk b/buildroot-2021.05/package/containerd/containerd.mk deleted file mode 100644 index 761e0800..00000000 --- a/buildroot-2021.05/package/containerd/containerd.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# containerd -# -################################################################################ - -CONTAINERD_VERSION = 1.4.4 -CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) -CONTAINERD_LICENSE = Apache-2.0 -CONTAINERD_LICENSE_FILES = LICENSE -CONTAINERD_CPE_ID_VENDOR = linuxfoundation -CONTAINERD_CPE_ID_PRODUCT = containerd - -CONTAINERD_GOMOD = github.com/containerd/containerd - -CONTAINERD_LDFLAGS = \ - -X $(CONTAINERD_GOMOD)/version.Version=$(CONTAINERD_VERSION) - -CONTAINERD_BUILD_TARGETS = \ - cmd/containerd \ - cmd/containerd-shim \ - cmd/containerd-shim-runc-v1 \ - cmd/containerd-shim-runc-v2 \ - cmd/ctr - -CONTAINERD_INSTALL_BINS = $(notdir $(CONTAINERD_BUILD_TARGETS)) - -ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) -CONTAINERD_DEPENDENCIES += libapparmor -CONTAINERD_TAGS += apparmor -endif - -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -CONTAINERD_DEPENDENCIES += libseccomp host-pkgconf -CONTAINERD_TAGS += seccomp -endif - -ifeq ($(BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS),y) -CONTAINERD_DEPENDENCIES += btrfs-progs -else -CONTAINERD_TAGS += no_btrfs -endif - -$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/coremark-pro/coremark-pro.mk b/buildroot-2021.05/package/coremark-pro/coremark-pro.mk deleted file mode 100644 index e797f668..00000000 --- a/buildroot-2021.05/package/coremark-pro/coremark-pro.mk +++ /dev/null @@ -1,62 +0,0 @@ -################################################################################ -# -# CoreMark-PRO -# -################################################################################ - -COREMARK_PRO_VERSION = 1.1.2743 -COREMARK_PRO_SITE = $(call github,eembc,coremark-pro,v$(COREMARK_PRO_VERSION)) -COREMARK_PRO_LICENSE = Apache-2.0 -COREMARK_PRO_LICENSE_FILES = LICENSE.md -COREMARK_PRO_DEPENDENCIES = perl - -COREMARK_PRO_LDFLAGS = $(TARGET_LDFLAGS) -lm - -ifeq ($(BR2_ENDIAN),"BIG") -COREMARK_PRO_DEFINES += \ - EE_BIG_ENDIAN=1 \ - EE_LITTLE_ENDIAN=0 -else -COREMARK_PRO_DEFINES += \ - EE_BIG_ENDIAN=0 \ - EE_LITTLE_ENDIAN=1 -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -COREMARK_PRO_DEFINES += \ - USE_NATIVE_PTHREAD=1 \ - USE_SINGLE_CONTEXT=0 -COREMARK_PRO_LDFLAGS += -lpthread -else -COREMARK_PRO_DEFINES += \ - USE_NATIVE_PTHREAD=0 \ - USE_SINGLE_CONTEXT=1 -endif - -COREMARK_PRO_MAKE_OPTS += \ - LINKER_LAST="$(COREMARK_PRO_LDFLAGS)" \ - PLATFORM_DEFINES="$(COREMARK_PRO_DEFINES)" \ - TARGET=linux$(if $(BR2_ARCH_IS_64),64) \ - EXE= - -define COREMARK_PRO_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_CC)" -C $(@D) \ - $(COREMARK_PRO_MAKE_OPTS) build -endef - -COREMARK_PRO_MARKS = cjpeg-rose7-preset core linear_alg-mid-100x100-sp loops-all-mid-10k-sp nnet_test parser-125k radix2-big-64k sha-test zip-test -COREMARK_PRO_SCRIPTS = results_parser.pl cert_median.pl cert_mark.pl headings.txt - -define COREMARK_PRO_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/usr/share/coremark-pro/logs - $(foreach m,$(COREMARK_PRO_MARKS),\ - $(INSTALL) -D $(@D)/builds/linux$(if $(BR2_ARCH_IS_64),64)/gcc$(if $(BR2_ARCH_IS_64),64)/bin/$(m) $(TARGET_DIR)/usr/bin/$(m)$(sep) \ - size $(TARGET_DIR)/usr/bin/$(m) > $(TARGET_DIR)/usr/share/coremark-pro/logs/$(m).size.log$(sep)) - $(INSTALL) -D $(@D)/builds/linux$(if $(BR2_ARCH_IS_64),64)/gcc$(if $(BR2_ARCH_IS_64),64)/data/libbmp/Rose256.bmp $(TARGET_DIR)/usr/share/coremark-pro/Rose256.bmp - $(foreach s,$(COREMARK_PRO_SCRIPTS),\ - $(INSTALL) -D $(@D)/util/perl/$(s) $(TARGET_DIR)/usr/share/coremark-pro/util/perl/$(s)$(sep)) - $(Q)sed "s/@COREMARK_PRO_MARKS@/$(COREMARK_PRO_MARKS)/" \ - package/coremark-pro/coremark-pro.sh.in >$(TARGET_DIR)/usr/bin/coremark-pro.sh -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/coreutils/0001-ls-restore-8.31-behavior-on-removed-directories.patch b/buildroot-2021.05/package/coreutils/0001-ls-restore-8.31-behavior-on-removed-directories.patch deleted file mode 100644 index 43a8161b..00000000 --- a/buildroot-2021.05/package/coreutils/0001-ls-restore-8.31-behavior-on-removed-directories.patch +++ /dev/null @@ -1,118 +0,0 @@ -From 10fcb97bd728f09d4a027eddf8ad2900f0819b0a Mon Sep 17 00:00:00 2001 -From: Paul Eggert -Date: Thu, 5 Mar 2020 17:25:29 -0800 -Subject: [PATCH] ls: restore 8.31 behavior on removed directories - -* NEWS: Mention this. -* src/ls.c: Do not include -(print_dir): Don't worry about whether the directory is removed. -* tests/ls/removed-directory.sh: Adjust to match new (i.e., old) -behavior. -Signed-off-by: Joao Marcos Costa ---- - NEWS | 6 ++++++ - src/ls.c | 22 ---------------------- - tests/ls/removed-directory.sh | 10 ++-------- - 3 files changed, 8 insertions(+), 30 deletions(-) - -diff --git a/NEWS b/NEWS -index fdc8bf5db..653e7178b 100644 ---- a/NEWS -+++ b/NEWS -@@ -2,6 +2,12 @@ GNU coreutils NEWS -*- outline -*- - - * Noteworthy changes in release ?.? (????-??-??) [?] - -+** Changes in behavior -+ -+ On GNU/Linux systems, ls no longer issues an error message on -+ directory merely because it was removed. This reverts a change -+ that was made in release 8.32. -+ - - * Noteworthy changes in release 8.32 (2020-03-05) [stable] - -diff --git a/src/ls.c b/src/ls.c -index 24b983287..4acf5f44d 100644 ---- a/src/ls.c -+++ b/src/ls.c -@@ -49,10 +49,6 @@ - # include - #endif - --#ifdef __linux__ --# include --#endif -- - #include - #include - #include -@@ -2896,7 +2892,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - struct dirent *next; - uintmax_t total_blocks = 0; - static bool first = true; -- bool found_any_entries = false; - - errno = 0; - dirp = opendir (name); -@@ -2972,7 +2967,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - next = readdir (dirp); - if (next) - { -- found_any_entries = true; - if (! file_ignored (next->d_name)) - { - enum filetype type = unknown; -@@ -3018,22 +3012,6 @@ print_dir (char const *name, char const *realname, bool command_line_arg) - if (errno != EOVERFLOW) - break; - } --#ifdef __linux__ -- else if (! found_any_entries) -- { -- /* If readdir finds no directory entries at all, not even "." or -- "..", then double check that the directory exists. */ -- if (syscall (SYS_getdents, dirfd (dirp), NULL, 0) == -1 -- && errno != EINVAL) -- { -- /* We exclude EINVAL as that pertains to buffer handling, -- and we've passed NULL as the buffer for simplicity. -- ENOENT is returned if appropriate before buffer handling. */ -- file_failure (command_line_arg, _("reading directory %s"), name); -- } -- break; -- } --#endif - else - break; - -diff --git a/tests/ls/removed-directory.sh b/tests/ls/removed-directory.sh -index e8c835dab..fe8f929a1 100755 ---- a/tests/ls/removed-directory.sh -+++ b/tests/ls/removed-directory.sh -@@ -26,20 +26,14 @@ case $host_triplet in - *) skip_ 'non linux kernel' ;; - esac - --LS_FAILURE=2 -- --cat <<\EOF >exp-err || framework_failure_ --ls: reading directory '.': No such file or directory --EOF -- - cwd=$(pwd) - mkdir d || framework_failure_ - cd d || framework_failure_ - rmdir ../d || framework_failure_ - --returns_ $LS_FAILURE ls >../out 2>../err || fail=1 -+ls >../out 2>../err || fail=1 - cd "$cwd" || framework_failure_ - compare /dev/null out || fail=1 --compare exp-err err || fail=1 -+compare /dev/null err || fail=1 - - Exit $fail --- -2.17.1 - diff --git a/buildroot-2021.05/package/coreutils/0002-m4-pthread-cond.m4-fix-build-without-threads.patch b/buildroot-2021.05/package/coreutils/0002-m4-pthread-cond.m4-fix-build-without-threads.patch deleted file mode 100644 index 86e6f80d..00000000 --- a/buildroot-2021.05/package/coreutils/0002-m4-pthread-cond.m4-fix-build-without-threads.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 7622a0a4c6309f9cecaeef72569da687eb5b6b93 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 5 Apr 2021 01:13:29 +0200 -Subject: [PATCH] pthread-cond: Fix wrong configure results when is - absent. - -* m4/pthread-cond.m4 (gl_PTHREAD_COND): When does not exist, -set HAVE_PTHREAD_COND_* to 0, not to 1. - -Signed-off-by: Fabrice Fontaine -[yann.morin.1998@free.fr: - - backport from upstream gnulib - - drop upstream's Changelog hunk - - reisntate Fabrice's SoB -] -Signed-off-by: Yann E. MORIN - ---- - m4/pthread-cond.m4 | 18 +++++++++--------- - 2 files changed, 15 insertions(+), 9 deletions(-) - -diff --git a/m4/pthread-cond.m4 b/m4/pthread-cond.m4 -index 75e37c6138..8922a8a243 100644 ---- a/m4/pthread-cond.m4 -+++ b/m4/pthread-cond.m4 -@@ -1,5 +1,5 @@ --# pthread-cond.m4 serial 1 --dnl Copyright (C) 2019-2020 Free Software Foundation, Inc. -+# pthread-cond.m4 serial 2 -+dnl Copyright (C) 2019-2021 Free Software Foundation, Inc. - dnl This file is free software; the Free Software Foundation - dnl gives unlimited permission to copy and/or distribute it, - dnl with or without modifications, as long as this notice is preserved. -@@ -23,14 +23,14 @@ AC_DEFUN([gl_PTHREAD_COND], - REPLACE_PTHREAD_COND_DESTROY=1 - else - if test $HAVE_PTHREAD_H = 0; then -- HAVE_PTHREAD_COND_INIT=1 -- HAVE_PTHREAD_CONDATTR_INIT=1 -- HAVE_PTHREAD_CONDATTR_DESTROY=1 -- HAVE_PTHREAD_COND_WAIT=1 -- HAVE_PTHREAD_COND_TIMEDWAIT=1 -- HAVE_PTHREAD_COND_SIGNAL=1 -- HAVE_PTHREAD_COND_BROADCAST=1 -- HAVE_PTHREAD_COND_DESTROY=1 -+ HAVE_PTHREAD_COND_INIT=0 -+ HAVE_PTHREAD_CONDATTR_INIT=0 -+ HAVE_PTHREAD_CONDATTR_DESTROY=0 -+ HAVE_PTHREAD_COND_WAIT=0 -+ HAVE_PTHREAD_COND_TIMEDWAIT=0 -+ HAVE_PTHREAD_COND_SIGNAL=0 -+ HAVE_PTHREAD_COND_BROADCAST=0 -+ HAVE_PTHREAD_COND_DESTROY=0 - fi - fi - ]) --- -2.30.2 - diff --git a/buildroot-2021.05/package/coreutils/0003-lib-pthread-cond.c-use-tv.nsec-instead-of-tv.usec.patch b/buildroot-2021.05/package/coreutils/0003-lib-pthread-cond.c-use-tv.nsec-instead-of-tv.usec.patch deleted file mode 100644 index e1cdccf0..00000000 --- a/buildroot-2021.05/package/coreutils/0003-lib-pthread-cond.c-use-tv.nsec-instead-of-tv.usec.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 67610020ce7c321678ef59af95fde0483e8e8149 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 4 Apr 2021 21:09:19 +0200 -Subject: [PATCH] lib/pthread-cond.c: use tv.nsec instead of tv.usec - -Use tv.nsec instead of tv.usec to avoid the following build failure: - -lib/pthread-cond.c: In function 'pthread_cond_wait': -lib/pthread-cond.c:121:16: error: 'struct timespec' has no member named 'tv_usec'; did you mean 'tv_sec'? - 121 | duration.tv_usec = 0; - | ^~~~~~~ - | tv_sec - -Signed-off-by: Fabrice Fontaine -[upstream status: https://lists.gnu.org/archive/html/bug-gnulib/2021-04/msg00044.html] ---- - lib/pthread-cond.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/pthread-cond.c b/lib/pthread-cond.c -index baa7c60bb..c2c00be03 100644 ---- a/lib/pthread-cond.c -+++ b/lib/pthread-cond.c -@@ -118,7 +118,7 @@ pthread_cond_wait (pthread_cond_t *cond _GL_UNUSED, - struct timespec duration; - - duration.tv_sec = 86400; -- duration.tv_usec = 0; -+ duration.tv_nsec = 0; - nanosleep (&duration, NULL); - } - } --- -2.30.2 - diff --git a/buildroot-2021.05/package/coreutils/coreutils.hash b/buildroot-2021.05/package/coreutils/coreutils.hash deleted file mode 100644 index 54cdf4c5..00000000 --- a/buildroot-2021.05/package/coreutils/coreutils.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 4458d8de7849df44ccab15e16b1548b285224dbba5f08fac070c1c0e0bcc4cfa coreutils-8.32.tar.xz -# Locally computed -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2021.05/package/coreutils/coreutils.mk b/buildroot-2021.05/package/coreutils/coreutils.mk deleted file mode 100644 index 65234a11..00000000 --- a/buildroot-2021.05/package/coreutils/coreutils.mk +++ /dev/null @@ -1,168 +0,0 @@ -################################################################################ -# -# coreutils -# -################################################################################ - -COREUTILS_VERSION = 8.32 -COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils -COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz -COREUTILS_LICENSE = GPL-3.0+ -COREUTILS_LICENSE_FILES = COPYING -COREUTILS_CPE_ID_VENDOR = gnu -# Only when including SUSE coreutils-i18n.patch -COREUTILS_IGNORE_CVES = CVE-2013-0221 -COREUTILS_IGNORE_CVES += CVE-2013-0222 -COREUTILS_IGNORE_CVES += CVE-2013-0223 -# We're patching m4/pthread-cond.m4 -COREUTILS_AUTORECONF = YES - -COREUTILS_CONF_OPTS = --disable-rpath \ - $(if $(BR2_TOOLCHAIN_USES_MUSL),--with-included-regex) - -ifeq ($(BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES),y) -COREUTILS_CONF_OPTS += --disable-single-binary -else -COREUTILS_CONF_OPTS += --enable-single-binary=symlinks -endif - -COREUTILS_CONF_ENV = ac_cv_c_restrict=no \ - ac_cv_func_chown_works=yes \ - ac_cv_func_euidaccess=no \ - ac_cv_func_fstatat=yes \ - ac_cv_func_getdelim=yes \ - ac_cv_func_getgroups=yes \ - ac_cv_func_getgroups_works=yes \ - ac_cv_func_getloadavg=no \ - ac_cv_func_lstat_dereferences_slashed_symlink=yes \ - ac_cv_func_lstat_empty_string_bug=no \ - ac_cv_func_strerror_r_char_p=no \ - ac_cv_func_strnlen_working=yes \ - ac_cv_func_strtod=yes \ - ac_cv_func_working_mktime=yes \ - ac_cv_have_decl_strerror_r=yes \ - ac_cv_have_decl_strnlen=yes \ - ac_cv_lib_getloadavg_getloadavg=no \ - ac_cv_lib_util_getloadavg=no \ - ac_fsusage_space=yes \ - ac_use_included_regex=no \ - am_cv_func_working_getline=yes \ - fu_cv_sys_stat_statfs2_bsize=yes \ - gl_cv_func_getcwd_null=yes \ - gl_cv_func_getcwd_path_max=yes \ - gl_cv_func_gettimeofday_clobber=no \ - gl_cv_func_fstatat_zero_flag=no \ - gl_cv_func_link_follows_symlink=no \ - gl_cv_func_re_compile_pattern_working=yes \ - gl_cv_func_svid_putenv=yes \ - gl_cv_func_tzset_clobber=no \ - gl_cv_func_working_mkstemp=yes \ - gl_cv_func_working_utimes=yes \ - gl_getline_needs_run_time_check=no \ - gl_cv_have_proc_uptime=yes \ - utils_cv_localtime_cache=no \ - PERL=missing \ - MAKEINFO=true \ - INSTALL_PROGRAM=$(INSTALL) - -COREUTILS_BIN_PROGS = base64 cat chgrp chmod chown cp date dd df dir echo false \ - kill link ln ls mkdir mknod mktemp mv nice printenv pwd rm rmdir \ - vdir sleep stty sync touch true uname join - -ifeq ($(BR2_PACKAGE_ACL),y) -COREUTILS_DEPENDENCIES += acl -else -COREUTILS_CONF_OPTS += --disable-acl -endif - -ifeq ($(BR2_PACKAGE_ATTR),y) -COREUTILS_DEPENDENCIES += attr -else -COREUTILS_CONF_OPTS += --disable-xattr -endif - -COREUTILS_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) - -# It otherwise fails to link properly, not mandatory though -ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) -COREUTILS_CONF_OPTS += --with-libintl-prefix=$(STAGING_DIR)/usr -endif - -ifeq ($(BR2_PACKAGE_GMP),y) -COREUTILS_DEPENDENCIES += gmp -else -COREUTILS_CONF_OPTS += --without-gmp -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -COREUTILS_DEPENDENCIES += libcap -else -COREUTILS_CONF_OPTS += --disable-libcap -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -COREUTILS_CONF_OPTS += --with-openssl=yes -COREUTILS_DEPENDENCIES += openssl -endif - -ifeq ($(BR2_ROOTFS_MERGED_USR),) -# We want to move a few binaries from /usr/bin to /bin. In the case of -# coreutils being built as multi-call binary, we do so by re-creating -# the corresponding symlinks. If coreutils is built with individual -# binaries, we actually move the binaries. -ifeq ($(BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES),y) -define COREUTILS_FIX_BIN_LOCATION - $(foreach f,$(COREUTILS_BIN_PROGS), \ - mv $(TARGET_DIR)/usr/bin/$(f) $(TARGET_DIR)/bin - ) -endef -else -define COREUTILS_FIX_BIN_LOCATION - # some things go in /bin rather than /usr/bin - $(foreach f,$(COREUTILS_BIN_PROGS), \ - rm -f $(TARGET_DIR)/usr/bin/$(f) && \ - ln -sf ../usr/bin/coreutils $(TARGET_DIR)/bin/$(f) - ) -endef -endif -COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_FIX_BIN_LOCATION -endif - -ifeq ($(BR2_STATIC_LIBS),y) -COREUTILS_CONF_OPTS += --enable-no-install-program=stdbuf -endif - -# link for archaic shells -define COREUTILS_CREATE_TEST_SYMLINK - ln -fs test $(TARGET_DIR)/usr/bin/[ -endef -COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_CREATE_TEST_SYMLINK - -# gnu thinks chroot is in bin, debian thinks it's in sbin -ifeq ($(BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES),y) -define COREUTILS_FIX_CHROOT_LOCATION - mv $(TARGET_DIR)/usr/bin/chroot $(TARGET_DIR)/usr/sbin -endef -else -define COREUTILS_FIX_CHROOT_LOCATION - rm -f $(TARGET_DIR)/usr/bin/chroot - ln -sf ../bin/coreutils $(TARGET_DIR)/usr/sbin/chroot -endef -endif -COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_FIX_CHROOT_LOCATION - -# Explicitly install ln and realpath, which we *are* insterested in. -# A lot of other programs still get installed, however, but disabling -# them does not gain much at build time, and is a loooong list that is -# difficult to maintain... -HOST_COREUTILS_CONF_OPTS = \ - --disable-acl \ - --disable-libcap \ - --disable-rpath \ - --disable-single-binary \ - --disable-xattr \ - --without-gmp \ - --enable-install-program=ln,realpath - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/cpio/cpio.mk b/buildroot-2021.05/package/cpio/cpio.mk deleted file mode 100644 index 9ce281dd..00000000 --- a/buildroot-2021.05/package/cpio/cpio.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# cpio -# -################################################################################ - -CPIO_VERSION = 2.13 -CPIO_SOURCE = cpio-$(CPIO_VERSION).tar.bz2 -CPIO_SITE = $(BR2_GNU_MIRROR)/cpio -CPIO_CONF_OPTS = --bindir=/bin -CPIO_LICENSE = GPL-3.0+ -CPIO_LICENSE_FILES = COPYING -CPIO_CPE_ID_VENDOR = gnu - -# cpio uses argp.h which is not provided by uclibc or musl by default. -# Use the argp-standalone package to provide this. -ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -CPIO_DEPENDENCIES += argp-standalone -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/cppcms/Config.in b/buildroot-2021.05/package/cppcms/Config.in deleted file mode 100644 index 1d7635a8..00000000 --- a/buildroot-2021.05/package/cppcms/Config.in +++ /dev/null @@ -1,46 +0,0 @@ -config BR2_PACKAGE_CPPCMS - bool "cppcms" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on !BR2_STATIC_LIBS # dlopen() - depends on BR2_USE_WCHAR - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_PCRE - select BR2_PACKAGE_LIBGCRYPT - help - CppCMS is a Free High Performance Web Development Framework - (not a CMS) aimed for Rapid Web Application Development. It - differs from most of other web development frameworks like: - Python Django or Java Servlets on the following aspects: - - - It is designed and tuned to handle extremely high loads. - - It uses modern C++ as primary development language in - order to achieve the above goal. - - It is aimed on development of both Web Sites and Web - Services. - - http://cppcms.com - -if BR2_PACKAGE_CPPCMS - -config BR2_PACKAGE_CPPCMS_ICU - bool "enable icu support" - depends on !BR2_BINFMT_FLAT # icu - depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu - select BR2_PACKAGE_ICU - help - Using ICU allows advanced localization features into CppCMS, - in another hand ICU is heavier than iconv. - -comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9" - depends on !BR2_BINFMT_FLAT - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 - -endif - -comment "cppcms needs a toolchain w/ C++, NPTL, wchar, dynamic library" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_USE_WCHAR || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/cppcms/cppcms.mk b/buildroot-2021.05/package/cppcms/cppcms.mk deleted file mode 100644 index b289617b..00000000 --- a/buildroot-2021.05/package/cppcms/cppcms.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# cppcms -# -################################################################################ - -CPPCMS_VERSION = 1.2.1 -CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 -CPPCMS_LICENSE = MIT, BSL-1.0 (boost), Public Domain (json2.js), Zlib (md5) -CPPCMS_LICENSE_FILES = COPYING.TXT MIT.TXT THIRD_PARTY_SOFTWARE.TXT -CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) -CPPCMS_INSTALL_STAGING = YES -CPPCMS_CXXFLAGS = $(TARGET_CXXFLAGS) - -# disable rpath to avoid getting /usr/lib added to the link search -# path -CPPCMS_CONF_OPTS = \ - -DCMAKE_SKIP_RPATH=ON \ - -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" - -CPPCMS_DEPENDENCIES = zlib pcre libgcrypt - -ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) -CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF -CPPCMS_DEPENDENCIES += icu -CPPCMS_CXXFLAGS += "`$(STAGING_DIR)/usr/bin/icu-config --cxxflags`" -else -CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON -endif - -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -# posix backend needs monetary.h which isn't available on uClibc -CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on -endif - -# We copy cppcms_tmpl_cc from staging to host because this file can be -# needed for compiling packages using cppcms. And it is not worth -# creating a host package just for a python script. -define CPPCMS_INSTALL_HOST_TOOLS - cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/bin/cppcms_tmpl_cc -endef -CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/cppzmq/cppzmq.hash b/buildroot-2021.05/package/cppzmq/cppzmq.hash deleted file mode 100644 index 4fd07b40..00000000 --- a/buildroot-2021.05/package/cppzmq/cppzmq.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 9853e0437d834cbed5d3c223bf1d755cadee70e7c964c6e42c4c6783dee5d02c cppzmq-4.7.1.tar.gz -sha256 7e6db90e2e805c72b3daa77849d1cb5f1f92da0e69750c8a4aa1d86d70704748 LICENSE diff --git a/buildroot-2021.05/package/cppzmq/cppzmq.mk b/buildroot-2021.05/package/cppzmq/cppzmq.mk deleted file mode 100644 index ccab92e2..00000000 --- a/buildroot-2021.05/package/cppzmq/cppzmq.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# cppzmq -# -################################################################################ - -CPPZMQ_VERSION = 4.7.1 -CPPZMQ_SITE = $(call github,zeromq,cppzmq,v$(CPPZMQ_VERSION)) -CPPZMQ_INSTALL_STAGING = YES -CPPZMQ_DEPENDENCIES = host-pkgconf zeromq -CPPZMQ_LICENSE = MIT -CPPZMQ_LICENSE_FILES = LICENSE -CPPZMQ_CONF_OPTS = -DCPPZMQ_BUILD_TESTS=OFF - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/cracklib/cracklib.mk b/buildroot-2021.05/package/cracklib/cracklib.mk deleted file mode 100644 index 8e6a844f..00000000 --- a/buildroot-2021.05/package/cracklib/cracklib.mk +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# -# cracklib -# -################################################################################ - -CRACKLIB_VERSION = 2.9.7 -CRACKLIB_SITE = https://github.com/cracklib/cracklib/releases/download/v$(CRACKLIB_VERSION) -CRACKLIB_LICENSE = LGPL-2.1 -CRACKLIB_LICENSE_FILES = COPYING.LIB -CRACKLIB_CPE_ID_VENDOR = cracklib_project -CRACKLIB_INSTALL_STAGING = YES -CRACKLIB_DEPENDENCIES = host-cracklib $(TARGET_NLS_DEPENDENCIES) -CRACKLIB_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) - -ifeq ($(BR2_PACKAGE_ZLIB),y) -CRACKLIB_CONF_OPTS += --with-zlib -CRACKLIB_DEPENDENCIES += zlib -else -CRACKLIB_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_PYTHON),y) -CRACKLIB_CONF_OPTS += --with-python -CRACKLIB_DEPENDENCIES += python -else -CRACKLIB_CONF_OPTS += --without-python -endif - -HOST_CRACKLIB_CONF_OPTS += --without-python --without-zlib - -ifeq ($(BR2_PACKAGE_CRACKLIB_FULL_DICT),y) -CRACKLIB_EXTRA_DOWNLOADS = cracklib-words-$(CRACKLIB_VERSION).gz -CRACKLIB_DICT_SOURCE = $(CRACKLIB_DL_DIR)/cracklib-words-$(CRACKLIB_VERSION).gz -else -CRACKLIB_DICT_SOURCE = $(@D)/dicts/cracklib-small -endif - -ifeq ($(BR2_PACKAGE_CRACKLIB_TOOLS),) -define CRACKLIB_REMOVE_TOOLS - rm -f $(TARGET_DIR)/usr/sbin/*cracklib* -endef -CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_REMOVE_TOOLS -endif - -define CRACKLIB_BUILD_DICT - $(HOST_MAKE_ENV) cracklib-format $(CRACKLIB_DICT_SOURCE) | \ - $(HOST_MAKE_ENV) cracklib-packer $(TARGET_DIR)/usr/share/cracklib/pw_dict - rm $(TARGET_DIR)/usr/share/cracklib/cracklib-small -endef -CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_BUILD_DICT - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/crudini/Config.in b/buildroot-2021.05/package/crudini/Config.in deleted file mode 100644 index 240848df..00000000 --- a/buildroot-2021.05/package/crudini/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_CRUDINI - bool "crudini" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_INIPARSE # runtime - help - A utility for handling ini files from the command line and - shell scripts - - https://pypi.python.org/pypi/crudini diff --git a/buildroot-2021.05/package/cryptodev-linux/cryptodev-linux.hash b/buildroot-2021.05/package/cryptodev-linux/cryptodev-linux.hash deleted file mode 100644 index 1cbc2e85..00000000 --- a/buildroot-2021.05/package/cryptodev-linux/cryptodev-linux.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 0e2d30cf440a55e1125c815f0df229350192cfddbb38e6571e97de19069c97c6 cryptodev-linux-fabe5989a3dc9fba0cd0a40b612247cdde351c01.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/cryptodev-linux/cryptodev-linux.mk b/buildroot-2021.05/package/cryptodev-linux/cryptodev-linux.mk deleted file mode 100644 index 2a65755a..00000000 --- a/buildroot-2021.05/package/cryptodev-linux/cryptodev-linux.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# cryptodev-linux -# -################################################################################ - -CRYPTODEV_LINUX_VERSION = fabe5989a3dc9fba0cd0a40b612247cdde351c01 -CRYPTODEV_LINUX_SITE = $(call github,cryptodev-linux,cryptodev-linux,$(CRYPTODEV_LINUX_VERSION)) -CRYPTODEV_LINUX_INSTALL_STAGING = YES -CRYPTODEV_LINUX_LICENSE = GPL-2.0+ -CRYPTODEV_LINUX_LICENSE_FILES = COPYING -CRYPTODEV_LINUX_CPE_ID_VENDOR = cryptodev-linux - -CRYPTODEV_LINUX_PROVIDES = cryptodev - -define CRYPTODEV_LINUX_MODULE_GEN_VERSION_H - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) version.h -endef -CRYPTODEV_LINUX_PRE_BUILD_HOOKS += CRYPTODEV_LINUX_MODULE_GEN_VERSION_H - -define CRYPTODEV_LINUX_INSTALL_STAGING_CMDS - $(INSTALL) -D -m 644 $(@D)/crypto/cryptodev.h \ - $(STAGING_DIR)/usr/include/crypto/cryptodev.h -endef - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/cryptopp/cryptopp.hash b/buildroot-2021.05/package/cryptopp/cryptopp.hash deleted file mode 100644 index 2774dc70..00000000 --- a/buildroot-2021.05/package/cryptopp/cryptopp.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: https://www.cryptopp.com/release830.html: -sha512 ad5219a66c5924d330d3646d0ff996dd235006f6812074bc4eb9e8c662a4f000ba20449d377f24b133d19ce682f7b2a3b2eb4c08857ce0f5bb39743d1d425147 cryptopp830.zip - -# Hash for license file: -sha256 e668af8c73a38a66a1e8951d14ec24e7582fee5254dd6c3dae488a416d105d5f License.txt diff --git a/buildroot-2021.05/package/cryptopp/cryptopp.mk b/buildroot-2021.05/package/cryptopp/cryptopp.mk deleted file mode 100644 index 17061084..00000000 --- a/buildroot-2021.05/package/cryptopp/cryptopp.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# cryptopp -# -################################################################################ - -CRYPTOPP_VERSION = 8.3.0 -CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip -CRYPTOPP_SITE = https://cryptopp.com -CRYPTOPP_LICENSE = BSL-1.0, BSD-3-Clause (CRYPTOGAMS), Public domain (ChaCha SSE2 and AVX) -CRYPTOPP_LICENSE_FILES = License.txt -CRYPTOPP_CPE_ID_VENDOR = cryptopp -CRYPTOPP_CPE_ID_PRODUCT = crypto\+\+ -CRYPTOPP_INSTALL_STAGING = YES - -define HOST_CRYPTOPP_EXTRACT_CMDS - $(UNZIP) $(HOST_CRYPTOPP_DL_DIR)/$(CRYPTOPP_SOURCE) -d $(@D) -endef - -HOST_CRYPTOPP_CXXFLAGS = $(HOST_CFLAGS) -fPIC - -# _mm256_broadcastsi128_si256 has been added only in gcc 4.9 -ifneq ($(BR2_HOST_GCC_AT_LEAST_4_9),y) -HOST_CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX2 -endif - -HOST_CRYPTOPP_MAKE_OPTS = \ - $(HOST_CONFIGURE_OPTS) \ - CXXFLAGS="$(HOST_CRYPTOPP_CXXFLAGS)" - -define HOST_CRYPTOPP_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CRYPTOPP_MAKE_OPTS) shared -endef - -define HOST_CRYPTOPP_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install-lib -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/cryptsetup/0001-Remove-json_object-typedef.patch b/buildroot-2021.05/package/cryptsetup/0001-Remove-json_object-typedef.patch deleted file mode 100644 index bbfd1aa0..00000000 --- a/buildroot-2021.05/package/cryptsetup/0001-Remove-json_object-typedef.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 567e7f8664c621f8aeaa95d9f4ab4b590574f572 Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Wed, 15 Aug 2018 14:13:46 +0300 -Subject: [PATCH] Remove json_object typedef - -The json-c header already defines the same typedef. While C11 allows -typedef redefinition to the same type, older versions of gcc disallow -that. - -In file included from lib/luks2/luks2_internal.h:32, - from lib/luks2/luks2_disk_metadata.c:24: -lib/luks2/luks2.h:86: error: redefinition of typedef 'json_object' - -Signed-off-by: Baruch Siach -[Upstream status: -https://gitlab.com/cryptsetup/cryptsetup/-/merge_requests/91] ---- - lib/luks2/luks2.h | 1 - - lib/setup.c | 1 + - 2 files changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/luks2/luks2.h b/lib/luks2/luks2.h -index ee57b41ba974..25e36190da45 100644 ---- a/lib/luks2/luks2.h -+++ b/lib/luks2/luks2.h -@@ -83,7 +83,6 @@ struct luks2_hdr_disk { - /* - * LUKS2 header in-memory. - */ --typedef struct json_object json_object; - struct luks2_hdr { - size_t hdr_size; - uint64_t seqid; -diff --git a/lib/setup.c b/lib/setup.c -index fddbe7ef7897..856f6e80f465 100644 ---- a/lib/setup.c -+++ b/lib/setup.c -@@ -28,6 +28,7 @@ - #include - #include - #include -+#include - - #include "libcryptsetup.h" - #include "luks.h" --- -2.18.0 - diff --git a/buildroot-2021.05/package/cryptsetup/Config.in b/buildroot-2021.05/package/cryptsetup/Config.in deleted file mode 100644 index d9c9d4d4..00000000 --- a/buildroot-2021.05/package/cryptsetup/Config.in +++ /dev/null @@ -1,24 +0,0 @@ -config BR2_PACKAGE_CRYPTSETUP - bool "cryptsetup" - depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 - depends on BR2_USE_MMU # lvm2, libargon2 - depends on !BR2_STATIC_LIBS # lvm2, libargon2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c - select BR2_PACKAGE_POPT - select BR2_PACKAGE_LVM2 - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_JSON_C - select BR2_PACKAGE_LIBARGON2 - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - This tool helps manipulate dm-crypt and luks partitions for - on-disk encryption. - - https://gitlab.com/cryptsetup/cryptsetup - -comment "cryptsetup needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/cryptsetup/cryptsetup.hash b/buildroot-2021.05/package/cryptsetup/cryptsetup.hash deleted file mode 100644 index 3b583456..00000000 --- a/buildroot-2021.05/package/cryptsetup/cryptsetup.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/linux/utils/cryptsetup/v2.3/sha256sums.asc -sha256 9d16eebb96b53b514778e813019b8dd15fea9fec5aafde9fae5febf59df83773 cryptsetup-2.3.4.tar.xz -sha256 45670cce8b6a0ddd66c8016cd8ccef6cd71f35717cbacc7f1e895b3855207b33 COPYING -sha256 8c33cc37871654ec7ed87e6fbb896c8cf33ef5ef05b1611a5aed857596ffafa5 COPYING.LGPL diff --git a/buildroot-2021.05/package/cryptsetup/cryptsetup.mk b/buildroot-2021.05/package/cryptsetup/cryptsetup.mk deleted file mode 100644 index cd5883d0..00000000 --- a/buildroot-2021.05/package/cryptsetup/cryptsetup.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# cryptsetup -# -################################################################################ - -CRYPTSETUP_VERSION_MAJOR = 2.3 -CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).4 -CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.xz -CRYPTSETUP_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/cryptsetup/v$(CRYPTSETUP_VERSION_MAJOR) -CRYPTSETUP_DEPENDENCIES = \ - lvm2 popt host-pkgconf json-c libargon2 \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBS),util-linux-libs,util-linux) \ - $(TARGET_NLS_DEPENDENCIES) -CRYPTSETUP_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) -CRYPTSETUP_LICENSE_FILES = COPYING COPYING.LGPL -CRYPTSETUP_CPE_ID_VENDOR = cryptsetup_project -CRYPTSETUP_INSTALL_STAGING = YES -CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" -CRYPTSETUP_CONF_OPTS += --enable-blkid --enable-libargon2 - -# cryptsetup uses libgcrypt by default, but can be configured to use OpenSSL -# or kernel crypto modules instead -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -CRYPTSETUP_DEPENDENCIES += libgcrypt -CRYPTSETUP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config -CRYPTSETUP_CONF_OPTS += --with-crypto_backend=gcrypt -else ifeq ($(BR2_PACKAGE_OPENSSL),y) -CRYPTSETUP_DEPENDENCIES += openssl -CRYPTSETUP_CONF_OPTS += --with-crypto_backend=openssl -else -CRYPTSETUP_CONF_OPTS += --with-crypto_backend=kernel -endif - -HOST_CRYPTSETUP_DEPENDENCIES = \ - host-pkgconf \ - host-lvm2 \ - host-popt \ - host-util-linux \ - host-json-c \ - host-openssl - -HOST_CRYPTSETUP_CONF_OPTS = --with-crypto_backend=openssl \ - --disable-kernel_crypto \ - --enable-blkid \ - --with-tmpfilesdir=no - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/cups-filters/Config.in b/buildroot-2021.05/package/cups-filters/Config.in deleted file mode 100644 index 9e4e37ca..00000000 --- a/buildroot-2021.05/package/cups-filters/Config.in +++ /dev/null @@ -1,38 +0,0 @@ -config BR2_PACKAGE_CUPS_FILTERS - bool "cups-filters" - # needs fork() - depends on BR2_USE_MMU - depends on BR2_INSTALL_LIBSTDCPP # qpdf - depends on !BR2_STATIC_LIBS - depends on BR2_USE_WCHAR # libglib2, qpdf - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_PACKAGE_CUPS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_FONTCONFIG - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_LCMS2 - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_QPDF - help - This project provides backends, filters, and other software - that was once part of the core CUPS distribution but is no - longer maintained by Apple Inc. In addition it contains - additional filters and software developed independently of - Apple, especially filters for the PDF-centric printing - workflow introduced by OpenPrinting and a daemon to browse - Bonjour broadcasts of remote CUPS printers to make these - printers available locally and to provide backward - compatibility to the old CUPS broadcasting and browsing of - CUPS 1.5.x and older. From CUPS 1.6.0 on, this package is - required for using printer drivers with CUPS under Linux. - With CUPS 1.5.x and earlier this package can be used - optionally to switch over to PDF-based printing. - - http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters - -comment "cups-filters needs a toolchain w/ wchar, C++, threads and dynamic library, gcc >= 4.8" - depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 diff --git a/buildroot-2021.05/package/cups-filters/cups-filters.hash b/buildroot-2021.05/package/cups-filters/cups-filters.hash deleted file mode 100644 index 8c2526ae..00000000 --- a/buildroot-2021.05/package/cups-filters/cups-filters.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 cf90b96b5c7a906a05070e757ee5566d9680db98a279e60567ea5421c38f11de cups-filters-1.28.4.tar.gz -sha256 38192ffdaca98b718f78b2d4abc38bb087f0bbcc9a16d212c98b903b985f900f COPYING diff --git a/buildroot-2021.05/package/cups-filters/cups-filters.mk b/buildroot-2021.05/package/cups-filters/cups-filters.mk deleted file mode 100644 index b6ab7f1c..00000000 --- a/buildroot-2021.05/package/cups-filters/cups-filters.mk +++ /dev/null @@ -1,87 +0,0 @@ -################################################################################ -# -# cups-filters -# -################################################################################ - -CUPS_FILTERS_VERSION = 1.28.4 -CUPS_FILTERS_SITE = http://openprinting.org/download/cups-filters -CUPS_FILTERS_LICENSE = GPL-2.0, GPL-2.0+, GPL-3.0, GPL-3.0+, LGPL-2, LGPL-2.1+, MIT, BSD-4-Clause -CUPS_FILTERS_LICENSE_FILES = COPYING -CUPS_FILTERS_CPE_ID_VENDOR = linuxfoundation - -CUPS_FILTERS_DEPENDENCIES = cups libglib2 lcms2 qpdf fontconfig freetype jpeg - -CUPS_FILTERS_CONF_OPTS = \ - --disable-mutool \ - --disable-foomatic \ - --disable-braille \ - --enable-imagefilters \ - --with-cups-config=$(STAGING_DIR)/usr/bin/cups-config \ - --with-sysroot=$(STAGING_DIR) \ - --with-pdftops=pdftops \ - --with-jpeg \ - --with-test-font-path=/dev/null \ - --without-rcdir - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -CUPS_FILTERS_CONF_OPTS += --with-png -CUPS_FILTERS_DEPENDENCIES += libpng -else -CUPS_FILTERS_CONF_OPTS += --without-png -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -CUPS_FILTERS_CONF_OPTS += --with-tiff -CUPS_FILTERS_DEPENDENCIES += tiff -else -CUPS_FILTERS_CONF_OPTS += --without-tiff -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -CUPS_FILTERS_CONF_OPTS += --enable-dbus -CUPS_FILTERS_DEPENDENCIES += dbus -else -CUPS_FILTERS_CONF_OPTS += --disable-dbus -endif - -# avahi support requires avahi-client, which needs avahi-daemon and dbus -ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy) -CUPS_FILTERS_DEPENDENCIES += avahi -CUPS_FILTERS_CONF_OPTS += --enable-avahi -else -CUPS_FILTERS_CONF_OPTS += --disable-avahi -endif - -ifeq ($(BR2_PACKAGE_GHOSTSCRIPT),y) -CUPS_FILTERS_DEPENDENCIES += ghostscript -CUPS_FILTERS_CONF_OPTS += --enable-ghostscript -else -CUPS_FILTERS_CONF_OPTS += --disable-ghostscript -endif - -ifeq ($(BR2_PACKAGE_IJS),y) -CUPS_FILTERS_DEPENDENCIES += ijs -CUPS_FILTERS_CONF_OPTS += --enable-ijs -else -CUPS_FILTERS_CONF_OPTS += --disable-ijs -endif - -ifeq ($(BR2_PACKAGE_POPPLER),y) -CUPS_FILTERS_DEPENDENCIES += poppler -CUPS_FILTERS_CONF_OPTS += --enable-poppler -else -CUPS_FILTERS_CONF_OPTS += --disable-poppler -endif - -define CUPS_FILTERS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/cups-filters/S82cups-browsed \ - $(TARGET_DIR)/etc/init.d/S82cups-browsed -endef - -define CUPS_FILTERS_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0755 $(@D)/utils/cups-browsed.service \ - $(TARGET_DIR)/usr/lib/systemd/system/cups-browsed.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/cups/0001-Remove-man-from-BUILDDIRS-in-configure.patch b/buildroot-2021.05/package/cups/0001-Remove-man-from-BUILDDIRS-in-configure.patch deleted file mode 100644 index 7fcf7133..00000000 --- a/buildroot-2021.05/package/cups/0001-Remove-man-from-BUILDDIRS-in-configure.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 6bc1d15250841cf17d307cfb4f35c960c23d8797 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sun, 29 May 2016 19:31:50 +0200 -Subject: [PATCH] Remove man from BUILDDIRS in configure - -Signed-off-by: Bernd Kuhls -[Fabrice: updated for 2.3.0] -Signed-off-by: Fabrice Fontaine -[Michael: updated for 2.3.3] -Signed-off-by: Michael Trimarchi ---- - config-scripts/cups-common.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/config-scripts/cups-common.m4 b/config-scripts/cups-common.m4 -index a460a73..d427acb 100644 ---- a/config-scripts/cups-common.m4 -+++ b/config-scripts/cups-common.m4 -@@ -434,7 +434,7 @@ LIBHEADERSPRIV="\$(COREHEADERSPRIV) \$(DRIVERHEADERSPRIV)" - - case "$COMPONENTS" in - all) -- BUILDDIRS="tools filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates" -+ BUILDDIRS="tools filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale doc examples templates" - ;; - - core) --- -2.17.1 - diff --git a/buildroot-2021.05/package/cups/cups.hash b/buildroot-2021.05/package/cups/cups.hash deleted file mode 100644 index 22e08125..00000000 --- a/buildroot-2021.05/package/cups/cups.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated: -sha256 deb3575bbe79c0ae963402787f265bfcf8d804a71fc2c94318a74efec86f96df cups-2.3.3op2-source.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE -sha256 1f8e5879fb8b15e3ee5111809fd3ca22c606d0897d6b5e74329e480c348e034d NOTICE diff --git a/buildroot-2021.05/package/cups/cups.mk b/buildroot-2021.05/package/cups/cups.mk deleted file mode 100644 index 8490fe10..00000000 --- a/buildroot-2021.05/package/cups/cups.mk +++ /dev/null @@ -1,100 +0,0 @@ -################################################################################ -# -# cups -# -################################################################################ - -CUPS_VERSION = 2.3.3op2 -CUPS_SOURCE = cups-$(CUPS_VERSION)-source.tar.gz -CUPS_SITE = https://github.com/OpenPrinting/cups/releases/download/v$(CUPS_VERSION) -CUPS_LICENSE = Apache-2.0 with GPL-2.0/LGPL-2.0 exception -CUPS_LICENSE_FILES = LICENSE NOTICE -CUPS_CPE_ID_VENDOR = cups -CUPS_INSTALL_STAGING = YES - -# Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. -define CUPS_RUN_AUTOCONF - cd $(@D); $(AUTOCONF) -f -endef -CUPS_PRE_CONFIGURE_HOOKS += CUPS_RUN_AUTOCONF - -CUPS_CONF_OPTS = \ - --with-docdir=/usr/share/cups/doc-root \ - --disable-gssapi \ - --disable-pam \ - --libdir=/usr/lib \ - --with-cups-user=lp \ - --with-cups-group=lp \ - --with-system-groups="lpadmin sys root" \ - --without-rcdir -CUPS_CONFIG_SCRIPTS = cups-config -CUPS_DEPENDENCIES = \ - host-autoconf \ - host-pkgconf \ - $(if $(BR2_PACKAGE_ZLIB),zlib) - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -CUPS_CONF_OPTS += --with-systemd=/usr/lib/systemd/system \ - --enable-systemd -CUPS_DEPENDENCIES += systemd -else -CUPS_CONF_OPTS += --disable-systemd -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -CUPS_CONF_OPTS += --enable-dbus -CUPS_DEPENDENCIES += dbus -else -CUPS_CONF_OPTS += --disable-dbus -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -CUPS_CONF_OPTS += --enable-gnutls -CUPS_DEPENDENCIES += gnutls -else -CUPS_CONF_OPTS += --disable-gnutls -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -CUPS_CONF_OPTS += --enable-libusb -CUPS_DEPENDENCIES += libusb -else -CUPS_CONF_OPTS += --disable-libusb -endif - -ifeq ($(BR2_PACKAGE_LIBPAPER),y) -CUPS_CONF_OPTS += --enable-libpaper -CUPS_DEPENDENCIES += libpaper -else -CUPS_CONF_OPTS += --disable-libpaper -endif - -ifeq ($(BR2_PACKAGE_AVAHI),y) -CUPS_DEPENDENCIES += avahi -CUPS_CONF_OPTS += --enable-avahi -else -CUPS_CONF_OPTS += --disable-avahi -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -define CUPS_INSTALL_UDEV_RULES - $(INSTALL) -D -m 0644 package/cups/70-usb-printers.rules \ - $(TARGET_DIR)/lib/udev/rules.d/70-usb-printers.rules -endef - -CUPS_POST_INSTALL_TARGET_HOOKS += CUPS_INSTALL_UDEV_RULES -endif - -define CUPS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/cups/S81cupsd \ - $(TARGET_DIR)/etc/init.d/S81cupsd -endef - -# lp user is needed to run cups spooler -# lpadmin group membership grants administrative privileges -define CUPS_USERS - lp -1 lp -1 * /var/spool/lpd /bin/false - lp - - - lpadmin -1 * - - - Printers admin group. -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/cvs/cvs.mk b/buildroot-2021.05/package/cvs/cvs.mk deleted file mode 100644 index 3d01f335..00000000 --- a/buildroot-2021.05/package/cvs/cvs.mk +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# -# cvs -# -################################################################################ - -CVS_VERSION = 1.12.13 -CVS_SOURCE = cvs_$(CVS_VERSION).orig.tar.gz -CVS_PATCH = cvs_$(CVS_VERSION)-12+squeeze1.diff.gz -CVS_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/c/cvs -CVS_LICENSE = GPL-1.0+, LGPL-2.0+, LGPL-2.1+ (glob) -CVS_LICENSE_FILES = COPYING COPYING.LIB lib/glob-libc.h -CVS_CPE_ID_VENDOR = gnu -CVS_DEPENDENCIES = ncurses - -CVS_CONF_ENV = \ - ac_cv_func_working_mktime=yes \ - cvs_cv_func_printf_ptr=yes - -CVS_CONFIGURE_ARGS = --disable-old-info-format-support -ifeq ($(BR2_PACKAGE_CVS_SERVER),y) -CVS_CONFIGURE_ARGS += --enable-server -else -CVS_CONFIGURE_ARGS += --disable-server -endif -ifeq ($(BR2_PACKAGE_ZLIB),y) -CVS_CONFIGURE_ARGS += --with-external-zlib -endif - -CVS_CONF_OPTS = $(CVS_CONFIGURE_ARGS) - -define CVS_BZIP_UNPACK - $(BZCAT) $(@D)/cvs-$(CVS_VERSION).tar.bz2 | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - - rm -f $(@D)/cvs-$(CVS_VERSION).tar.bz2 -endef - -CVS_POST_PATCH_HOOKS += CVS_BZIP_UNPACK - -ifneq ($(CVS_PATCH),) -define CVS_DEBIAN_PATCHES - if [ -d $(@D)/debian/patches ]; then \ - (cd $(@D)/debian/patches && for i in *; \ - do $(SED) 's,^\+\+\+ .*cvs-$(CVS_VERSION)/,+++ cvs-$(CVS_VERSION)/,' $$i; \ - done; \ - ); \ - $(APPLY_PATCHES) $(@D) $(@D)/debian/patches \*; \ - fi -endef -endif - -CVS_POST_PATCH_HOOKS += CVS_DEBIAN_PATCHES - -define CVS_INSTALL_TARGET_CMDS - $(INSTALL) -D $(@D)/src/cvs $(TARGET_DIR)/usr/bin/cvs -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch b/buildroot-2021.05/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch deleted file mode 100644 index e1e4ec48..00000000 --- a/buildroot-2021.05/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch +++ /dev/null @@ -1,27 +0,0 @@ -From af6bffb5b8b71e99e0f9bbbd2cf1fbd695a643c2 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sat, 8 Dec 2012 13:32:40 +0100 -Subject: [PATCH 1/2] wmdemo: fix linking by adding the missing -lbluetooth to - LDLIBS - -Signed-off-by: Samuel Martin ---- - wmdemo/Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/wmdemo/Makefile.in b/wmdemo/Makefile.in -index 56aed58..1eccc02 100644 ---- a/wmdemo/Makefile.in -+++ b/wmdemo/Makefile.in -@@ -8,7 +8,7 @@ SOURCES = wmdemo.c - - CFLAGS += -I@top_builddir@/libcwiid - LDFLAGS += -L@top_builddir@/libcwiid --LDLIBS += -lcwiid -+LDLIBS += -lcwiid -lbluetooth - INST_DIR = @bindir@ - - include $(COMMON)/include/app.mak --- -1.8.5.2 - diff --git a/buildroot-2021.05/package/cwiid/0002-configure-make-wmgui-build-optional.patch b/buildroot-2021.05/package/cwiid/0002-configure-make-wmgui-build-optional.patch deleted file mode 100644 index f5eff33a..00000000 --- a/buildroot-2021.05/package/cwiid/0002-configure-make-wmgui-build-optional.patch +++ /dev/null @@ -1,64 +0,0 @@ -From dbb578450974db5decc24560da4aeaed838849a1 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Thu, 2 Jan 2014 14:03:07 +0100 -Subject: [PATCH 2/2] configure: make wmgui build optional - -So, make gtk-2 and glib2 dependencies optional (only needed by wmgui) - -Signed-off-by: Samuel Martin ---- - Makefile.in | 2 +- - configure.ac | 17 +++++++++++++---- - 2 files changed, 14 insertions(+), 5 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 6d3ac98..3d2fb45 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -3,7 +3,7 @@ - include @top_builddir@/defs.mak - - LIB_DIRS = libcwiid --BIN_DIRS = wmgui wminput lswm -+BIN_DIRS = @WMGUI@ wminput lswm - DOC_DIRS = man doc - ifdef PYTHON - BIND_DIRS = python -diff --git a/configure.ac b/configure.ac -index 82ca3e1..d146cb6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -15,6 +15,11 @@ if test "$YACC" != "bison -y"; then - AC_MSG_ERROR([bison not found]) - fi - -+AC_ARG_ENABLE( -+ [wmgui], -+ [AS_HELP_STRING([--disable-wmgui],[Do not build wmgui binary (also drop the gtk-2/glib2 dependency)])], -+ [ENABLE_WMGUI="$enableval"],[ENABLE_WMGUI=yes]) -+ - AC_ARG_WITH( - [python], - [AS_HELP_STRING([--without-python],[compile without python support])], -@@ -98,10 +103,14 @@ else - fi - AC_SUBST(LDCONFIG) - --pkg_modules="gtk+-2.0 >= 2.0.0 gthread-2.0" --PKG_CHECK_MODULES([GTK], [$pkg_modules]) --AC_SUBST(GTK_CFLAGS) --AC_SUBST(GTK_LIBS) -+AS_IF( -+ [test "x$ENABLE_WMGUI" = xyes], -+ [pkg_modules="gtk+-2.0 >= 2.0.0 gthread-2.0" ; -+ PKG_CHECK_MODULES([GTK], [$pkg_modules]) -+ AC_SUBST(GTK_CFLAGS) -+ AC_SUBST(GTK_LIBS) -+ AC_SUBST(WMGUI, wmgui)] -+) - - AC_OUTPUT( - [Makefile] --- -1.8.5.2 - diff --git a/buildroot-2021.05/package/cwiid/Config.in b/buildroot-2021.05/package/cwiid/Config.in deleted file mode 100644 index 9dab5d10..00000000 --- a/buildroot-2021.05/package/cwiid/Config.in +++ /dev/null @@ -1,35 +0,0 @@ -config BR2_PACKAGE_CWIID - bool "cwiid" - depends on !BR2_STATIC_LIBS # bluez5_utils - depends on BR2_USE_WCHAR # bluez5_utils -> libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, alsa-lib, libglib2 - depends on BR2_USE_MMU # bluez5_utils -> dbus, libglib2 - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils - select BR2_PACKAGE_BLUEZ5_UTILS - help - A collection of Linux tools written in C for interfacing to - the Nintendo Wiimote. - - http://abstrakraft.org/cwiid/ - -if BR2_PACKAGE_CWIID -config BR2_PACKAGE_CWIID_WMGUI - bool "wmgui" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2 -> pango -> harfbuzz - depends on BR2_PACKAGE_XORG7 # libgtk2 - depends on BR2_USE_WCHAR # libgtk2 -> libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2 - depends on BR2_USE_MMU # libgtk2 -> libglib2 - depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBGTK2 -endif - -comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar, headers >= 3.4" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 - depends on !BR2_USE_MMU diff --git a/buildroot-2021.05/package/daemon/0001-fix-musl.patch b/buildroot-2021.05/package/daemon/0001-fix-musl.patch deleted file mode 100644 index 5ebb6459..00000000 --- a/buildroot-2021.05/package/daemon/0001-fix-musl.patch +++ /dev/null @@ -1,18 +0,0 @@ -daemon: fix build with musl - -musl requires the ttydefaults.h to be included explicitly for CEOF. - -Signed-off-by: Baruch Siach ---- - -diff -Nuar daemon-0.6.4-orig/daemon.c daemon-0.6.4/daemon.c ---- daemon-0.6.4-orig/daemon.c 2010-06-12 16:37:00.000000000 +0300 -+++ daemon-0.6.4/daemon.c 2017-05-01 22:02:17.721413468 +0300 -@@ -864,6 +864,7 @@ - #ifdef _RESTORE_POSIX_SOURCE - #define _POSIX_SOURCE - #endif -+#include - #include - #include - #include diff --git a/buildroot-2021.05/package/daemon/daemon.hash b/buildroot-2021.05/package/daemon/daemon.hash deleted file mode 100644 index ec7451a8..00000000 --- a/buildroot-2021.05/package/daemon/daemon.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://www.libslack.org/daemon/ -sha256 ba1f6dc87532c852bfb8f436179cd661c3458ff898f67767c414123198626dfd daemon-0.7.1.tar.gz -# Locally calculated -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE -sha256 cbac6eb0e1f7f95826966c7903939d591092a7f7d7726862946cb49096e8497d COPYING diff --git a/buildroot-2021.05/package/daemon/daemon.mk b/buildroot-2021.05/package/daemon/daemon.mk deleted file mode 100644 index 91f77dd2..00000000 --- a/buildroot-2021.05/package/daemon/daemon.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# daemon -# -################################################################################ - -DAEMON_VERSION = 0.7.1 -DAEMON_SITE = http://libslack.org/daemon/download -DAEMON_LICENSE = GPL-2.0+ -DAEMON_LICENSE_FILES = LICENSE COPYING - -define DAEMON_CONFIGURE_CMDS - (cd $(@D); ./configure) -endef - -define DAEMON_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -endef - -define DAEMON_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) DEB_BUILD_OPTIONS=nostrip \ - $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \ - install-daemon-bin -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dahdi-linux/Config.in b/buildroot-2021.05/package/dahdi-linux/Config.in deleted file mode 100644 index f2a37091..00000000 --- a/buildroot-2021.05/package/dahdi-linux/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_DAHDI_LINUX - bool "dhadi-linux" - depends on BR2_LINUX_KERNEL - help - DAHDI (Digium/Asterisk Hardware Device Interface) is the open - source device interface technology used to control Digium and - other legacy telephony interface cards. - - DAHDI Linux is the open source device driver framework used to - interface Asterisk with telephony hardware. - - http://www.asterisk.org/downloads/dahdi - - Note: DAHDI Linux drivers won't build on a kernel v4.0 or more - recent, because they use internals that have been removed in - v4.0. - -comment "dahdi-linux needs a Linux kernel to be built" - depends on !BR2_LINUX_KERNEL diff --git a/buildroot-2021.05/package/dahdi-linux/dahdi-linux.hash b/buildroot-2021.05/package/dahdi-linux/dahdi-linux.hash deleted file mode 100644 index 1847a4da..00000000 --- a/buildroot-2021.05/package/dahdi-linux/dahdi-linux.hash +++ /dev/null @@ -1,27 +0,0 @@ -# sha1 from: http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases -# sha256 locally computed -sha1 9827f0afc625e293021b81daf94ec054145c975b dahdi-linux-3.0.0.tar.gz -sha256 02a8a680d20a3e243f37259edc3554ab9a488595a28562c45c33da3792d12caa dahdi-linux-3.0.0.tar.gz - -# Firmware files have no upstream hash, so sha56 locally computed -sha256 3ff26cf80555fd7470b43a87c51d03c1db2a75abcd4561d79f69b6c48298e4a1 dahdi-fwload-vpmadt032-1.25.0.tar.gz -sha256 d5b6ab6851e431afcfec2ecc39d95fa88fe3939ffdb2e3d4f28a43cabf30e95b dahdi-fw-a4a-a0017.tar.gz -sha256 e039af8bec36407b74e1dd9ebdd49ba077469eda79d4e6093721ed2836d4536f dahdi-fw-a4b-d001e.tar.gz -sha256 5064f9877b8aec99b19fd57988216fe1a9c0b7c07853dd3b32b5a55ab7b418e6 dahdi-fw-a8a-1d0017.tar.gz -sha256 09a8992786309e025aa60b400a2c7d21226ac9bb6f1b66f562a5e7e9dc892b03 dahdi-fw-a8b-1f001e.tar.gz -sha256 449ab3fd03d55d808e999efb7677cd04de202b92c9fcb039539a7e48a39a80f5 dahdi-fw-hx8-2.06.tar.gz -sha256 7a006073202d67e45f1d5ff1e9c6e8663e6056cef9dc4c5abae86a1018db349c dahdi-fw-oct6114-032-1.05.01.tar.gz -sha256 56bac1f2024c76ecf9b6f40992eeea29a1fbee676bb2a37a058179bacfbb1c91 dahdi-fw-oct6114-064-1.05.01.tar.gz -sha256 e1146749d205c41603b9b76852c3f8104dac233d0025d700db24504d10c99775 dahdi-fw-oct6114-128-1.05.01.tar.gz -sha256 5fe5036a2766cf0e8a968b0c58b700507d86e1cde9296ca437170cc626a9c79c dahdi-fw-oct6114-256-1.05.01.tar.gz -sha256 11dd8d009809e41fc9a3a36766f59ff73d29075eede5b8724331d9a6e5259774 dahdi-fw-tc400m-MR6.12.tar.gz -sha256 511c1966295a20df673bb87af30245f0ad165efd6ccb92b4d8ed535ca7f5ac65 dahdi-fw-te133-7a001e.tar.gz -sha256 99f7c410bf47d2a5ae687d717e51448ce5b52aca902830bf39bffe683150fa2d dahdi-fw-te134-780017.tar.gz -sha256 c8f55d57cc0bf332e8d96cdf9ff6dd0e322f33581e1efc24c2b9a0e0c5eb7ee4 dahdi-fw-te435-13001e.tar.gz -sha256 0980f4a8d191c6872aa27d971758046f0e7827ac161549f2cc1b0eeab0ae9333 dahdi-fw-te436-10017.tar.gz -sha256 5b823e25828e2c1c6548886ad408b2e31dbc8cd17170c52592792d9c754a199c dahdi-fw-te820-1.76.tar.gz -sha256 6b199cf836f150f9cb35f763f0f502fb52cfa2724a449b500429c746973904ad dahdi-fw-vpmoct032-1.12.0.tar.gz - -# License files, locally computed -sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE -sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 LICENSE.LGPL diff --git a/buildroot-2021.05/package/dahdi-linux/dahdi-linux.mk b/buildroot-2021.05/package/dahdi-linux/dahdi-linux.mk deleted file mode 100644 index 4d2c7e71..00000000 --- a/buildroot-2021.05/package/dahdi-linux/dahdi-linux.mk +++ /dev/null @@ -1,88 +0,0 @@ -################################################################################ -# -# dahdi-linux -# -################################################################################ - -DAHDI_LINUX_VERSION = 3.0.0 -DAHDI_LINUX_SITE = http://downloads.asterisk.org/pub/telephony/dahdi-linux/releases - -# We need to download all thoe firmware blobs ourselves, otherwise -# dahdi-linux will try to download them at install time. -DAHDI_LINUX_FW_SITE = http://downloads.digium.com/pub/telephony/firmware/releases -DAHDI_LINUX_FW_FILES = \ - dahdi-fwload-vpmadt032-1.25.0.tar.gz \ - dahdi-fw-oct6114-032-1.05.01.tar.gz \ - dahdi-fw-oct6114-064-1.05.01.tar.gz \ - dahdi-fw-oct6114-128-1.05.01.tar.gz \ - dahdi-fw-oct6114-256-1.05.01.tar.gz \ - dahdi-fw-tc400m-MR6.12.tar.gz \ - dahdi-fw-hx8-2.06.tar.gz \ - dahdi-fw-vpmoct032-1.12.0.tar.gz \ - dahdi-fw-te820-1.76.tar.gz \ - dahdi-fw-te133-7a001e.tar.gz \ - dahdi-fw-te134-780017.tar.gz \ - dahdi-fw-a8b-1f001e.tar.gz \ - dahdi-fw-a8a-1d0017.tar.gz \ - dahdi-fw-a4b-d001e.tar.gz \ - dahdi-fw-a4a-a0017.tar.gz \ - dahdi-fw-te435-13001e.tar.gz \ - dahdi-fw-te436-10017.tar.gz - -DAHDI_LINUX_EXTRA_DOWNLOADS = \ - $(patsubst %,$(DAHDI_LINUX_FW_SITE)/%,$(DAHDI_LINUX_FW_FILES)) - -# dahdi-linux claims to be GPLv2 with parts LGPLv2.1 (not 'or later'), -# but there are the so-called firmware files (downloaded above) for -# which the license is unclear: the header claims to be GPLv2, the -# 'loader-wrapper' claims to be GPLv2, but there are two so-called -# 'firmware' binary-only .o blobs for which the license is not -# explicited, which look like they end up as part of a kernel module, -# and for which the source is nowhere to be found on the upstream site -# (they are only for x86/x86_64, but we still list them unconditionally). -DAHDI_LINUX_LICENSE = GPL-2.0, LGPL-2.1, unknown (firmware files) -DAHDI_LINUX_LICENSE_FILES = LICENSE LICENSE.LGPL - -DAHDI_LINUX_INSTALL_STAGING = YES - -DAHDI_LINUX_MODULE_SUBDIRS = drivers/dahdi - -DAHDI_LINUX_MODULE_MAKE_OPTS = \ - KSRC=$(LINUX_DIR) \ - KVERS=$(LINUX_VERSION_PROBED) \ - DAHDI_BUILD_ALL=m \ - DAHDI_INCLUDE=$(@D)/include \ - INSTALL_MOD_DIR=dahdi - -define DAHDI_LINUX_EXTRACT_FW - $(foreach f,$(DAHDI_LINUX_FW_FILES),\ - cp $(DAHDI_LINUX_DL_DIR)/$(f) $(@D)/drivers/dahdi/firmware/$(f)$(sep)) -endef -DAHDI_LINUX_POST_EXTRACT_HOOKS += DAHDI_LINUX_EXTRACT_FW - -# Need to pass the same options as for building the modules, because -# it wants to scan Linux' .config file to check whether some options -# are set or not (like CONFIG_FW_LOADER). -define DAHDI_LINUX_CONFIGURE_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - $(DAHDI_LINUX_MODULE_MAKE_OPTS) \ - prereq -endef - -define DAHDI_LINUX_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - $(DAHDI_LINUX_MODULE_MAKE_OPTS) \ - DESTDIR=$(STAGING_DIR) \ - install-include -endef - -define DAHDI_LINUX_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - $(DAHDI_LINUX_MODULE_MAKE_OPTS) \ - DESTDIR=$(TARGET_DIR) \ - install-firmware \ - install-xpp-firm -endef - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dahdi-tools/dahdi-tools.hash b/buildroot-2021.05/package/dahdi-tools/dahdi-tools.hash deleted file mode 100644 index 5538ed6b..00000000 --- a/buildroot-2021.05/package/dahdi-tools/dahdi-tools.hash +++ /dev/null @@ -1,8 +0,0 @@ -# sha1 from http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases -# sha256 locally computed -sha1 3e988256aae4b6a6ed8efb3ecc07753779f54823 dahdi-tools-3.0.0.tar.gz -sha256 5bebb20d5ae13fa13f0e2075603013954b962be477db02271eef44b3e41557c5 dahdi-tools-3.0.0.tar.gz - -# License files, locally computed -sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE -sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 LICENSE.LGPL diff --git a/buildroot-2021.05/package/dahdi-tools/dahdi-tools.mk b/buildroot-2021.05/package/dahdi-tools/dahdi-tools.mk deleted file mode 100644 index 392dc091..00000000 --- a/buildroot-2021.05/package/dahdi-tools/dahdi-tools.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# dahdi-tools -# -################################################################################ - -DAHDI_TOOLS_VERSION = 3.0.0 -DAHDI_TOOLS_SITE = http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases - -DAHDI_TOOLS_LICENSE = GPLv2, LGPLv2.1 -DAHDI_TOOLS_LICENSE_FILES = LICENSE LICENSE.LGPL - -DAHDI_TOOLS_DEPENDENCIES = dahdi-linux perl - -DAHDI_TOOLS_INSTALL_STAGING = YES -DAHDI_TOOLS_AUTORECONF = YES - -# Buildroot globally exports PERL with the value it has on the host, so we need -# to override it with the location where it will be on the target. -DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl - -DAHDI_TOOLS_CONF_OPTS = \ - --without-newt \ - --without-usb \ - --without-pcap \ - --without-libusbx \ - --without-libusb \ - --without-selinux \ - --without-ppp \ - --with-perllib=/usr/lib/perl5/$(PERL_VERSION) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dante/dante.hash b/buildroot-2021.05/package/dante/dante.hash deleted file mode 100644 index cb87cdc0..00000000 --- a/buildroot-2021.05/package/dante/dante.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.inet.no/dante/download.html -sha256 4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7 dante-1.4.2.tar.gz - -# Hash for license file -sha256 954ab6dbcf994711e28e603d8657d6eceef333cd6f9ca6705f0e9d118ab7d69a LICENSE diff --git a/buildroot-2021.05/package/dante/dante.mk b/buildroot-2021.05/package/dante/dante.mk deleted file mode 100644 index 6e950b11..00000000 --- a/buildroot-2021.05/package/dante/dante.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# dante -# -################################################################################ - -DANTE_VERSION = 1.4.2 -DANTE_SITE = http://www.inet.no/dante/files -DANTE_LICENSE = BSD-3-Clause -DANTE_LICENSE_FILES = LICENSE - -# Needed so that our libtool patch applies properly -DANTE_AUTORECONF = YES - -DANTE_CONF_OPTS += --disable-client --disable-preload - -ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y) -DANTE_DEPENDENCIES += libminiupnpc -DANTE_CONF_OPTS += --with-upnp -else -DANTE_CONF_OPTS += --without-upnp -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -DANTE_DEPENDENCIES += linux-pam -DANTE_CONF_OPTS += --with-pam -else -DANTE_CONF_OPTS += --without-pam -endif - -define DANTE_INSTALL_CONFIG_FILE - $(INSTALL) -D -m 644 $(@D)/example/sockd.conf \ - $(TARGET_DIR)/etc/sockd.conf -endef - -DANTE_POST_INSTALL_TARGET_HOOKS += DANTE_INSTALL_CONFIG_FILE - -define DANTE_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/dante/dante.service \ - $(TARGET_DIR)/usr/lib/systemd/system/dante.service -endef - -define DANTE_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/dante/S50dante \ - $(TARGET_DIR)/etc/init.d/S50dante -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/darkhttpd/darkhttpd.hash b/buildroot-2021.05/package/darkhttpd/darkhttpd.hash deleted file mode 100644 index b6618db8..00000000 --- a/buildroot-2021.05/package/darkhttpd/darkhttpd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally generated -sha256 a50417b622b32b5f421b3132cb94ebeff04f02c5fb87fba2e31147d23de50505 darkhttpd-1.12.tar.bz2 -sha256 6e1a2e45d8dd3c8835222e3c82e5cccde8e60f02d55555910e18715ec5dc6d04 darkhttpd.c diff --git a/buildroot-2021.05/package/darkhttpd/darkhttpd.mk b/buildroot-2021.05/package/darkhttpd/darkhttpd.mk deleted file mode 100644 index 4b65cffe..00000000 --- a/buildroot-2021.05/package/darkhttpd/darkhttpd.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# darkhttpd -# -################################################################################ - -DARKHTTPD_VERSION = 1.12 -DARKHTTPD_SITE = https://unix4lyfe.org/darkhttpd -DARKHTTPD_SOURCE = darkhttpd-$(DARKHTTPD_VERSION).tar.bz2 -DARKHTTPD_LICENSE = MIT -DARKHTTPD_LICENSE_FILES = darkhttpd.c - -define DARKHTTPD_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -define DARKHTTPD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/darkhttpd \ - $(TARGET_DIR)/usr/sbin/darkhttpd -endef - -define DARKHTTPD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/darkhttpd/darkhttpd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/darkhttpd.service -endef - -define DARKHTTPD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/darkhttpd/S50darkhttpd \ - $(TARGET_DIR)/etc/init.d/S50darkhttpd -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dash/dash.hash b/buildroot-2021.05/package/dash/dash.hash deleted file mode 100644 index 24cc7318..00000000 --- a/buildroot-2021.05/package/dash/dash.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.11.2.tar.gz.sha256sum -sha256 62b9f1676ba6a7e8eaec541a39ea037b325253240d1f378c72360baa1cbcbc2a dash-0.5.11.3.tar.gz -# Locally calculated -sha256 254a7894923ff62e69184a991dcbccae97edee58a1105e8efbe78caf10595d72 COPYING diff --git a/buildroot-2021.05/package/dash/dash.mk b/buildroot-2021.05/package/dash/dash.mk deleted file mode 100644 index 1712dcf5..00000000 --- a/buildroot-2021.05/package/dash/dash.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# dash -# -################################################################################ - -DASH_VERSION = 0.5.11.3 -DASH_SITE = http://gondor.apana.org.au/~herbert/dash/files -DASH_LICENSE = BSD-3-Clause, GPL-2.0+ (mksignames.c) -DASH_LICENSE_FILES = COPYING - -# dash does not build in parallel -DASH_MAKE = $(MAKE1) - -ifeq ($(BR2_PACKAGE_LIBEDIT),y) -DASH_DEPENDENCIES += libedit host-pkgconf -DASH_CONF_OPTS += --with-libedit -DASH_CONF_ENV += LIBS=`pkg-config --libs libedit` - -# Enable line editing, Emacs style -define DASH_INSTALL_PROFILE - mkdir -p $(TARGET_DIR)/etc/profile.d - echo 'set -E' > $(TARGET_DIR)/etc/profile.d/dash.sh -endef -DASH_POST_INSTALL_TARGET_HOOKS += DASH_INSTALL_PROFILE -else -DASH_CONF_OPTS += --without-libedit -endif - -define DASH_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/src/dash $(TARGET_DIR)/bin/dash -endef - -# Add /bin/dash to /etc/shells otherwise some login tools like dropbear -# can reject the user connection. See man shells. -define DASH_ADD_DASH_TO_SHELLS - grep -qsE '^/bin/dash$$' $(TARGET_DIR)/etc/shells \ - || echo "/bin/dash" >> $(TARGET_DIR)/etc/shells -endef -DASH_TARGET_FINALIZE_HOOKS += DASH_ADD_DASH_TO_SHELLS - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/datatables-fixedcolumns/datatables-fixedcolumns.mk b/buildroot-2021.05/package/datatables-fixedcolumns/datatables-fixedcolumns.mk deleted file mode 100644 index 3c744990..00000000 --- a/buildroot-2021.05/package/datatables-fixedcolumns/datatables-fixedcolumns.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# datatables-fixedcolumns -# -################################################################################ - -DATATABLES_FIXEDCOLUMNS_VERSION = 3.3.0 -DATATABLES_FIXEDCOLUMNS_SITE = https://datatables.net/releases -DATATABLES_FIXEDCOLUMNS_SOURCE = FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION).zip -DATATABLES_FIXEDCOLUMNS_LICENSE = MIT -DATATABLES_FIXEDCOLUMNS_LICENSE_FILES = License.txt - -define DATATABLES_FIXEDCOLUMNS_EXTRACT_CMDS - $(UNZIP) $(DATATABLES_FIXEDCOLUMNS_DL_DIR)/$(DATATABLES_FIXEDCOLUMNS_SOURCE) -d $(@D) - mv $(@D)/FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION)/* $(@D) - rmdir $(@D)/FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION) -endef - -define DATATABLES_FIXEDCOLUMNS_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-fixedcolumns/css $(TARGET_DIR)/var/www/datatables-fixedcolumns/js - $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-fixedcolumns/css $(@D)/css/*.min.css - $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-fixedcolumns/js $(@D)/js/*.min.js -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/datatables-responsive/datatables-responsive.mk b/buildroot-2021.05/package/datatables-responsive/datatables-responsive.mk deleted file mode 100644 index bc964470..00000000 --- a/buildroot-2021.05/package/datatables-responsive/datatables-responsive.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# datatables-responsive -# -################################################################################ - -DATATABLES_RESPONSIVE_VERSION = 2.2.3 -DATATABLES_RESPONSIVE_SITE = https://datatables.net/releases -DATATABLES_RESPONSIVE_SOURCE = Responsive-$(DATATABLES_RESPONSIVE_VERSION).zip -DATATABLES_RESPONSIVE_LICENSE = MIT -DATATABLES_RESPONSIVE_LICENSE_FILES = License.txt - -define DATATABLES_RESPONSIVE_EXTRACT_CMDS - $(UNZIP) $(DATATABLES_RESPONSIVE_DL_DIR)/$(DATATABLES_RESPONSIVE_SOURCE) -d $(@D) - mv $(@D)/Responsive-$(DATATABLES_RESPONSIVE_VERSION)/* $(@D) - rmdir $(@D)/Responsive-$(DATATABLES_RESPONSIVE_VERSION) -endef - -define DATATABLES_RESPONSIVE_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-responsive/css $(TARGET_DIR)/var/www/datatables-responsive/js - $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-responsive/css $(@D)/css/*.min.css - $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-responsive/js $(@D)/js/*.min.js -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/datatables/datatables.mk b/buildroot-2021.05/package/datatables/datatables.mk deleted file mode 100644 index 7bd3d83a..00000000 --- a/buildroot-2021.05/package/datatables/datatables.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# datatables -# -################################################################################ - -DATATABLES_VERSION = 1.10.20 -DATATABLES_SITE = https://datatables.net/releases -DATATABLES_SOURCE = DataTables-$(DATATABLES_VERSION).zip -DATATABLES_LICENSE = MIT -DATATABLES_LICENSE_FILES = license.txt - -define DATATABLES_EXTRACT_CMDS - $(UNZIP) $(DATATABLES_DL_DIR)/$(DATATABLES_SOURCE) -d $(@D) - mv $(@D)/DataTables-$(DATATABLES_VERSION)/* $(@D) - rmdir $(@D)/DataTables-$(DATATABLES_VERSION) -endef - -define DATATABLES_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables/css $(TARGET_DIR)/var/www/datatables/js - $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/css $(@D)/media/css/*.min.css - $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/js $(@D)/media/js/*.min.js -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dav1d/dav1d.hash b/buildroot-2021.05/package/dav1d/dav1d.hash deleted file mode 100644 index 520e42fe..00000000 --- a/buildroot-2021.05/package/dav1d/dav1d.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 78ec7a1714d98a8f4ecbc4255e83e6c4c944cdd881871ea234ce40153fd3df04 dav1d-0.8.2.tar.bz2 -sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING diff --git a/buildroot-2021.05/package/dav1d/dav1d.mk b/buildroot-2021.05/package/dav1d/dav1d.mk deleted file mode 100644 index 377bd634..00000000 --- a/buildroot-2021.05/package/dav1d/dav1d.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# dav1d -# -################################################################################ - -DAV1D_VERSION = 0.8.2 -DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.bz2 -DAV1D_SITE = https://code.videolan.org/videolan/dav1d/-/archive/$(DAV1D_VERSION) -DAV1D_LICENSE = BSD-2-Clause -DAV1D_LICENSE_FILES = COPYING -DAV1D_INSTALL_STAGING = YES -DAV1D_CONF_OPTS = \ - -Denable_tests=false \ - -Denable_tools=false - -ifeq ($(BR2_i386)$(BR2_x86_64),y) -DAV1D_DEPENDENCIES += host-nasm -endif - -# ARM assembly requires v6+ ISA -ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y) -DAV1D_CONF_OPTS += -Denable_asm=false -endif - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -DAV1D_LDFLAGS += -latomic -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/davfs2/davfs2.hash b/buildroot-2021.05/package/davfs2/davfs2.hash deleted file mode 100644 index 88a314d1..00000000 --- a/buildroot-2021.05/package/davfs2/davfs2.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 2e6b675685bd917772be60f0999ae098c80f79ff20dc131e8fec4547cbb63b50 davfs2-1.6.0.tar.gz -# License file, locally calculated -sha256 0ae0485a5bd37a63e63603596417e4eb0e653334fa6c7f932ca3a0e85d4af227 COPYING diff --git a/buildroot-2021.05/package/davfs2/davfs2.mk b/buildroot-2021.05/package/davfs2/davfs2.mk deleted file mode 100644 index 9b96140f..00000000 --- a/buildroot-2021.05/package/davfs2/davfs2.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# davfs2 -# -################################################################################ - -DAVFS2_VERSION = 1.6.0 -DAVFS2_SITE = http://download.savannah.nongnu.org/releases/davfs2 -DAVFS2_LICENSE = GPL-3.0+ -DAVFS2_LICENSE_FILES = COPYING -DAVFS2_CPE_ID_VENDOR = werner_baumann - -DAVFS2_DEPENDENCIES = \ - neon \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ - $(TARGET_NLS_DEPENDENCIES) - -DAVFS2_CONF_ENV += \ - ac_cv_path_NEON_CONFIG=$(STAGING_DIR)/usr/bin/neon-config \ - LIBS=$(TARGET_NLS_LIBS) - -define DAVFS2_USERS - davfs2 -1 davfs2 -1 * - - - davfs user -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/davici/davici.hash b/buildroot-2021.05/package/davici/davici.hash deleted file mode 100644 index 178d87f2..00000000 --- a/buildroot-2021.05/package/davici/davici.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 d3e5e806ecca841d7e133a3df768062df59f4b4c76bf98e0f90aa8064721b3bd davici-1.3.tar.gz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/davici/davici.mk b/buildroot-2021.05/package/davici/davici.mk deleted file mode 100644 index 6c8df48b..00000000 --- a/buildroot-2021.05/package/davici/davici.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# davici -# -################################################################################ - -DAVICI_VERSION = 1.3 -DAVICI_SITE = $(call github,strongswan,davici,v$(DAVICI_VERSION)) -DAVICI_LICENSE = LGPL-2.1+ -DAVICI_LICENSE_FILES = COPYING -DAVICI_CPE_ID_VENDOR = strongswan -DAVICI_DEPENDENCIES = strongswan -DAVICI_INSTALL_STAGING = YES -DAVICI_AUTORECONF = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dbus-glib/dbus-glib.hash b/buildroot-2021.05/package/dbus-glib/dbus-glib.hash deleted file mode 100644 index 09883243..00000000 --- a/buildroot-2021.05/package/dbus-glib/dbus-glib.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 7ce4760cf66c69148f6bd6c92feaabb8812dee30846b24cd0f7395c436d7e825 dbus-glib-0.110.tar.gz - -# Locally calculated -sha256 ef1634fc21d9112dca08f2557313584719d534d05213cf14f3c77938506266b4 COPYING diff --git a/buildroot-2021.05/package/dbus-glib/dbus-glib.mk b/buildroot-2021.05/package/dbus-glib/dbus-glib.mk deleted file mode 100644 index 5eb158d9..00000000 --- a/buildroot-2021.05/package/dbus-glib/dbus-glib.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# dbus-glib -# -################################################################################ - -DBUS_GLIB_VERSION = 0.110 -DBUS_GLIB_SITE = http://dbus.freedesktop.org/releases/dbus-glib -DBUS_GLIB_INSTALL_STAGING = YES -DBUS_GLIB_LICENSE = AFL-2.1 or GPL-2.0+ -DBUS_GLIB_LICENSE_FILES = COPYING -DBUS_GLIB_CPE_ID_VENDOR = freedesktop - -DBUS_GLIB_CONF_ENV = \ - ac_cv_have_abstract_sockets=yes \ - ac_cv_func_posix_getpwnam_r=yes \ - have_abstract_sockets=yes - -DBUS_GLIB_CONF_OPTS = \ - --disable-tests \ - --disable-xml-docs \ - --with-introspect-xml=$(DBUS_HOST_INTROSPECT) \ - --with-dbus-binding-tool=$(DBUS_GLIB_HOST_BINARY) \ - --disable-bash-completion \ - --disable-doxygen-docs \ - --enable-asserts=yes - -DBUS_GLIB_DEPENDENCIES = host-pkgconf dbus host-dbus host-dbus-glib libglib2 expat - -HOST_DBUS_GLIB_DEPENDENCIES = host-dbus host-expat host-libglib2 - -HOST_DBUS_GLIB_CONF_OPTS = \ - --disable-tests \ - --disable-xml-docs \ - --disable-bash-completion \ - --disable-doxygen-docs \ - --enable-asserts=yes - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) - -# dbus-glib for the host -DBUS_GLIB_HOST_BINARY = $(HOST_DIR)/bin/dbus-binding-tool diff --git a/buildroot-2021.05/package/dbus-python/Config.in b/buildroot-2021.05/package/dbus-python/Config.in deleted file mode 100644 index 4bfb59ed..00000000 --- a/buildroot-2021.05/package/dbus-python/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_DBUS_PYTHON - bool "dbus-python" - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_PACKAGE_DBUS - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_LIBGLIB2 - # pyexpat: runtime dependency only - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 - help - Python bindings for D-Bus - - http://dbus.freedesktop.org/doc/dbus-python/ - -comment "dbus-python needs a toolchain w/ wchar, threads" - depends on BR2_PACKAGE_DBUS && (BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3) - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/dbus-python/dbus-python.hash b/buildroot-2021.05/package/dbus-python/dbus-python.hash deleted file mode 100644 index e65695d6..00000000 --- a/buildroot-2021.05/package/dbus-python/dbus-python.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4 dbus-python-1.2.16.tar.gz - -# Locally calculated -sha256 1e4562245383fdb5203b1769789e5b28bba21af4923aea7e8b2614f7f93623c0 COPYING -sha256 064523e3ab64d6f03904132b2cc4a1bd8500586edb4cd050c2ff2b96aed4c33b dbus-gmain/COPYING diff --git a/buildroot-2021.05/package/dbus-python/dbus-python.mk b/buildroot-2021.05/package/dbus-python/dbus-python.mk deleted file mode 100644 index f4b8996d..00000000 --- a/buildroot-2021.05/package/dbus-python/dbus-python.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# dbus-python -# -################################################################################ - -DBUS_PYTHON_VERSION = 1.2.16 -DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python -DBUS_PYTHON_INSTALL_STAGING = YES -DBUS_PYTHON_LICENSE = MIT (dbus-python), AFL-2.1 or GPL-2.0+ (dbus-gmain) -DBUS_PYTHON_LICENSE_FILES = COPYING dbus-gmain/COPYING -DBUS_PYTHON_DEPENDENCIES = dbus libglib2 -HOST_DBUS_PYTHON_DEPENDENCIES = host-dbus host-libglib2 - -ifeq ($(BR2_PACKAGE_PYTHON),y) -DBUS_PYTHON_DEPENDENCIES += python host-python - -DBUS_PYTHON_CONF_ENV += \ - PYTHON=$(HOST_DIR)/bin/python2 \ - PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \ - PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`" - -HOST_DBUS_PYTHON_DEPENDENCIES += host-python - -HOST_DBUS_PYTHON_CONF_ENV += \ - PYTHON=$(HOST_DIR)/bin/python2 \ - PYTHON_INCLUDES="`$(HOST_DIR)/usr/bin/python2-config --includes`" \ - PYTHON_LIBS="`$(HOST_DIR)/usr/bin/python2-config --ldflags`" -else -DBUS_PYTHON_DEPENDENCIES += python3 host-python3 - -DBUS_PYTHON_CONF_ENV += \ - PYTHON=$(HOST_DIR)/bin/python3 \ - PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \ - PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`" \ - PYTHON_EXTRA_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`" - -HOST_DBUS_PYTHON_DEPENDENCIES += host-python3 - -HOST_DBUS_PYTHON_CONF_ENV += \ - PYTHON=$(HOST_DIR)/bin/python3 \ - PYTHON_INCLUDES="`$(HOST_DIR)/usr/bin/python3-config --includes`" \ - PYTHON_LIBS="`$(HOST_DIR)/usr/bin/python3-config --ldflags`" \ - PYTHON_EXTRA_LIBS="`$(HOST_DIR)/usr/bin/python3-config --libs --embed`" -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dbus/dbus.hash b/buildroot-2021.05/package/dbus/dbus.hash deleted file mode 100644 index 06512e56..00000000 --- a/buildroot-2021.05/package/dbus/dbus.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally calculated after checking pgp signature -# https://dbus.freedesktop.org/releases/dbus/dbus-1.12.20.tar.gz.asc -# using key 36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F -sha256 f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa7de5fe dbus-1.12.20.tar.gz - -# Locally calculated -sha256 0e46f54efb12d04ab5c33713bacd0e140c9a35b57ae29e03c853203266e8f3a1 COPYING diff --git a/buildroot-2021.05/package/dbus/dbus.mk b/buildroot-2021.05/package/dbus/dbus.mk deleted file mode 100644 index d78e1024..00000000 --- a/buildroot-2021.05/package/dbus/dbus.mk +++ /dev/null @@ -1,125 +0,0 @@ -################################################################################ -# -# dbus -# -################################################################################ - -DBUS_VERSION = 1.12.20 -DBUS_SITE = https://dbus.freedesktop.org/releases/dbus -DBUS_LICENSE = AFL-2.1 or GPL-2.0+ (library, tools), GPL-2.0+ (tools) -DBUS_LICENSE_FILES = COPYING -DBUS_CPE_ID_VENDOR = d-bus_project -DBUS_CPE_ID_PRODUCT = d-bus -DBUS_INSTALL_STAGING = YES - -define DBUS_PERMISSIONS - /usr/libexec/dbus-daemon-launch-helper f 4750 0 dbus - - - - - -endef - -define DBUS_USERS - dbus -1 dbus -1 * /run/dbus - dbus DBus messagebus user -endef - -DBUS_DEPENDENCIES = host-pkgconf expat - -DBUS_SELINUX_MODULES = dbus - -DBUS_CONF_OPTS = \ - --with-dbus-user=dbus \ - --disable-tests \ - --disable-asserts \ - --disable-xml-docs \ - --disable-doxygen-docs \ - --with-system-socket=/run/dbus/system_bus_socket \ - --with-system-pid-file=/run/messagebus.pid - -ifeq ($(BR2_STATIC_LIBS),y) -DBUS_CONF_OPTS += LIBS='-pthread' -endif - -ifeq ($(BR2_microblaze),y) -# microblaze toolchain doesn't provide inotify_rm_* but does have sys/inotify.h -DBUS_CONF_OPTS += --disable-inotify -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -DBUS_CONF_OPTS += --enable-selinux -DBUS_DEPENDENCIES += libselinux -else -DBUS_CONF_OPTS += --disable-selinux -endif - -ifeq ($(BR2_PACKAGE_AUDIT)$(BR2_PACKAGE_LIBCAP_NG),yy) -DBUS_CONF_OPTS += --enable-libaudit -DBUS_DEPENDENCIES += audit libcap-ng -else -DBUS_CONF_OPTS += --disable-libaudit -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) -DBUS_CONF_OPTS += --with-x -DBUS_DEPENDENCIES += xlib_libX11 -ifeq ($(BR2_PACKAGE_XLIB_LIBSM),y) -DBUS_DEPENDENCIES += xlib_libSM -endif -else -DBUS_CONF_OPTS += --without-x -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -DBUS_CONF_OPTS += \ - --enable-systemd \ - --with-systemdsystemunitdir=/usr/lib/systemd/system -DBUS_DEPENDENCIES += systemd -else -DBUS_CONF_OPTS += --disable-systemd -endif - -# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink) -define DBUS_REMOVE_VAR_LIB_DBUS - rm -rf $(TARGET_DIR)/var/lib/dbus -endef - -DBUS_PRE_INSTALL_TARGET_HOOKS += DBUS_REMOVE_VAR_LIB_DBUS - -define DBUS_REMOVE_DEVFILES - rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 -endef - -DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_REMOVE_DEVFILES - -define DBUS_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/dbus/S30dbus \ - $(TARGET_DIR)/etc/init.d/S30dbus - - mkdir -p $(TARGET_DIR)/var/lib - rm -rf $(TARGET_DIR)/var/lib/dbus - ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus -endef - -define DBUS_INSTALL_INIT_SYSTEMD - mkdir -p $(TARGET_DIR)/var/lib/dbus - ln -sf /etc/machine-id $(TARGET_DIR)/var/lib/dbus/machine-id -endef - -HOST_DBUS_DEPENDENCIES = host-pkgconf host-expat -HOST_DBUS_CONF_OPTS = \ - --with-dbus-user=dbus \ - --disable-tests \ - --disable-asserts \ - --disable-selinux \ - --disable-xml-docs \ - --disable-doxygen-docs \ - --disable-systemd \ - --without-x - -# dbus for the host -DBUS_HOST_INTROSPECT = $(HOST_DBUS_DIR)/introspect.xml - -HOST_DBUS_GEN_INTROSPECT = \ - $(HOST_DIR)/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT) - -HOST_DBUS_POST_INSTALL_HOOKS += HOST_DBUS_GEN_INTROSPECT - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dc3dd/Config.in b/buildroot-2021.05/package/dc3dd/Config.in deleted file mode 100644 index 715451be..00000000 --- a/buildroot-2021.05/package/dc3dd/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_DC3DD - bool "dc3dd" - depends on !BR2_RISCV_32 - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_TOOLCHAIN_USES_MUSL - help - dc3dd is a patch to the GNU dd program, this version has - several features intended for forensic acquisition of data. - Highlights include hashing on-the-fly, split output files, - pattern writing, a progress meter, and file verification. - - https://sourceforge.net/projects/dc3dd/ - -comment "dc3dd needs a glibc or uClibc toolchain w/ threads" - depends on !BR2_RISCV_32 - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_TOOLCHAIN_USES_MUSL diff --git a/buildroot-2021.05/package/ddrescue/ddrescue.hash b/buildroot-2021.05/package/ddrescue/ddrescue.hash deleted file mode 100644 index 6877b700..00000000 --- a/buildroot-2021.05/package/ddrescue/ddrescue.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://lists.gnu.org/archive/html/info-gnu/2020-03/msg00002.html -sha256 ce538ebd26a09f45da67d3ad3f7431932428231ceec7a2d255f716fa231a1063 ddrescue-1.25.tar.lz -# Locally computed -sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING diff --git a/buildroot-2021.05/package/ddrescue/ddrescue.mk b/buildroot-2021.05/package/ddrescue/ddrescue.mk deleted file mode 100644 index f113681f..00000000 --- a/buildroot-2021.05/package/ddrescue/ddrescue.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# ddrescue -# -################################################################################ - -DDRESCUE_VERSION = 1.25 -DDRESCUE_SOURCE = ddrescue-$(DDRESCUE_VERSION).tar.lz -DDRESCUE_SITE = http://download.savannah.gnu.org/releases/ddrescue -DDRESCUE_LICENSE = GPL-2.0+ -DDRESCUE_LICENSE_FILES = COPYING - -define DDRESCUE_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_MAKE_ENV) ./configure \ - --prefix=/usr \ - $(TARGET_CONFIGURE_OPTS) \ - ) -endef - -DDRESCUE_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -DDRESCUE_CXXFLAGS += -O0 -endif - -define DDRESCUE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CXXFLAGS="$(DDRESCUE_CXXFLAGS)" -C $(@D) -endef - -define DDRESCUE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dehydrated/Config.in b/buildroot-2021.05/package/dehydrated/Config.in deleted file mode 100644 index 979938d7..00000000 --- a/buildroot-2021.05/package/dehydrated/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_DEHYDRATED - bool "dehydrated" - depends on BR2_USE_MMU # bash - select BR2_PACKAGE_BASH - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBCURL_CURL - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL - select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL - help - Dehydrated is a client for signing certificates with an - ACME-server (e.g. Let's Encrypt) implemented as a relatively - simple (zsh-compatible) bash-script. This client supports - both ACME v1 and the new ACME v2 including support for - wildcard certificates! - - To use this script in Buildroot: - - Create /etc/dehydrated/domains.txt - - Make sure that "dehydrated -c" is called regularly, e.g. - from cron. - - Make sure /etc/dehydrated is writable. - - Configure the webserver to export the WELLKNOWN directory - (/var/www/dehydrated) as /.well-known/acme-challenge - - Configure the webserver to use the certificates under - /etc/dehydrated/certs/ - - Register a HOOK to reload the webserver after the - certificates have been renewed. - - You probably need to install a custom /etc/dehydrated/config - with the rootfs overlay. - - https://github.com/lukas2511/dehydrated diff --git a/buildroot-2021.05/package/dehydrated/dehydrated.hash b/buildroot-2021.05/package/dehydrated/dehydrated.hash deleted file mode 100644 index 388dd247..00000000 --- a/buildroot-2021.05/package/dehydrated/dehydrated.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally computed after verifying -# https://github.com/lukas2511/dehydrated/releases/download/v0.6.5/dehydrated-0.6.5.tar.gz.asc -# with key 3C2F2605E078A1E18F4793909C4DBE6CF438F333 from https://keybase.io/lukas2511 -sha256 10aabd0027450bc70a18e49acaca7a9697e0cfb92368d3e508b7a4d6d69bfa35 dehydrated-0.6.5.tar.gz -# License, locally computed -sha256 b4583b7dd07e3e2a08906de38e7e329d41f921ed9dcb6310b3886e013a6b8723 LICENSE diff --git a/buildroot-2021.05/package/dehydrated/dehydrated.mk b/buildroot-2021.05/package/dehydrated/dehydrated.mk deleted file mode 100644 index 17c67b84..00000000 --- a/buildroot-2021.05/package/dehydrated/dehydrated.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# dehydrated -# -################################################################################ - -DEHYDRATED_VERSION = 0.6.5 -DEHYDRATED_SITE = https://github.com/lukas2511/dehydrated/releases/download/v$(DEHYDRATED_VERSION) - -DEHYDRATED_LICENSE = MIT -DEHYDRATED_LICENSE_FILES = LICENSE - -define DEHYDRATED_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/dehydrated $(TARGET_DIR)/usr/bin/dehydrated - $(INSTALL) -D -m 0644 $(@D)/docs/examples/config $(TARGET_DIR)/etc/dehydrated/config -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/delve/delve.hash b/buildroot-2021.05/package/delve/delve.hash deleted file mode 100644 index e8bb9c37..00000000 --- a/buildroot-2021.05/package/delve/delve.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 f8bbaecdfc9d1ff6148900d3dea44b6dd06a7f0197be4e9a75c289b7f62682ab delve-1.5.0.tar.gz -sha256 778864b990007e8cef6633f8c372dd05bac1fada6cf67b008afb1483f83b38f5 LICENSE diff --git a/buildroot-2021.05/package/delve/delve.mk b/buildroot-2021.05/package/delve/delve.mk deleted file mode 100644 index f574bc5c..00000000 --- a/buildroot-2021.05/package/delve/delve.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# delve -# -################################################################################ - -DELVE_VERSION = 1.5.0 -DELVE_SITE = $(call github,go-delve,delve,v$(DELVE_VERSION)) -DELVE_LICENSE = MIT -DELVE_LICENSE_FILES = LICENSE -DELVE_DEPENDENCIES = host-pkgconf - -DELVE_TAGS = cgo -DELVE_BUILD_TARGETS = cmd/dlv -DELVE_INSTALL_BINS = $(notdir $(DELVE_BUILD_TARGETS)) - -$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/dfu-util/Config.in b/buildroot-2021.05/package/dfu-util/Config.in deleted file mode 100644 index 71c1a168..00000000 --- a/buildroot-2021.05/package/dfu-util/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_DFU_UTIL - bool "dfu-util" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Dfu-util is the host side implementation of the DFU 1.0 - specification of the USB forum. DFU is intended to download - and upload firmware to devices connected over USB. - - http://dfu-util.sourceforge.net/ - -comment "dfu-util needs a toolchain w/ threads, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/dfu-util/Config.in.host b/buildroot-2021.05/package/dfu-util/Config.in.host deleted file mode 100644 index 1bf9275f..00000000 --- a/buildroot-2021.05/package/dfu-util/Config.in.host +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_HOST_DFU_UTIL - bool "host dfu-util" - depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb - help - Dfu-util is the host side implementation of the DFU 1.0 - specification of the USB forum. DFU is intended to download - and upload firmware to devices connected over USB. - - http://dfu-util.sourceforge.net/ - -comment "host dfu-util needs a toolchain w/ host gcc >= 4.9" - depends on !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/dfu-util/dfu-util.hash b/buildroot-2021.05/package/dfu-util/dfu-util.hash deleted file mode 100644 index a99e6756..00000000 --- a/buildroot-2021.05/package/dfu-util/dfu-util.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From http://dfu-util.sourceforge.net/releases/dfu-util-0.10.tar.gz.md5 -md5 8cf55663703cdc6b40f377f999eb8d3d dfu-util-0.10.tar.gz - -# Locally computed -sha256 a03dc58dfc79c056819c0544b2a5970537566460102b3d82cfb038c60e619b42 dfu-util-0.10.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/dfu-util/dfu-util.mk b/buildroot-2021.05/package/dfu-util/dfu-util.mk deleted file mode 100644 index 9f26948a..00000000 --- a/buildroot-2021.05/package/dfu-util/dfu-util.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# dfu-util -# -################################################################################ - -DFU_UTIL_VERSION = 0.10 -DFU_UTIL_SITE = http://dfu-util.sourceforge.net/releases -DFU_UTIL_LICENSE = GPL-2.0+ -DFU_UTIL_LICENSE_FILES = COPYING - -DFU_UTIL_DEPENDENCIES = libusb -HOST_DFU_UTIL_DEPENDENCIES = host-libusb - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dhcp/Config.in b/buildroot-2021.05/package/dhcp/Config.in deleted file mode 100644 index e6e70908..00000000 --- a/buildroot-2021.05/package/dhcp/Config.in +++ /dev/null @@ -1,40 +0,0 @@ -config BR2_PACKAGE_DHCP - bool "dhcp (ISC)" - # fork() - depends on BR2_USE_MMU - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_BIND - help - DHCP relay agent from the ISC DHCP distribution. - - https://www.isc.org/downloads/dhcp/ - -if BR2_PACKAGE_DHCP - -config BR2_PACKAGE_DHCP_SERVER - bool "dhcp server" - select BR2_PACKAGE_SYSTEMD_TMPFILES if BR2_PACKAGE_SYSTEMD - help - DHCP server from the ISC DHCP distribution. - - This also installs omshell, an interactive tool to connect to, - query, and possibly change, the server's state via the Object - Management API (OMAPI). - -config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK - bool "Enable delayed ACK feature" - depends on BR2_PACKAGE_DHCP_SERVER - help - Enable delayed ACK feature in the ISC DHCP server. - -config BR2_PACKAGE_DHCP_RELAY - bool "dhcp relay" - help - DHCP relay agent from the ISC DHCP distribution. - -config BR2_PACKAGE_DHCP_CLIENT - bool "dhcp client" - help - DHCP client from the ISC DHCP distribution. - -endif diff --git a/buildroot-2021.05/package/dhcp/dhcp.mk b/buildroot-2021.05/package/dhcp/dhcp.mk deleted file mode 100644 index 1edb3c5e..00000000 --- a/buildroot-2021.05/package/dhcp/dhcp.mk +++ /dev/null @@ -1,122 +0,0 @@ -################################################################################ -# -# dhcp -# -################################################################################ - -DHCP_VERSION = 4.4.2-P1 -DHCP_SITE = http://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) -DHCP_INSTALL_STAGING = YES -DHCP_LICENSE = MPL-2.0 -DHCP_LICENSE_FILES = LICENSE -DHCP_DEPENDENCIES = bind host-gawk -DHCP_CPE_ID_VENDOR = isc - -# use libtool-enabled configure.ac -define DHCP_LIBTOOL_AUTORECONF - cp $(@D)/configure.ac+lt $(@D)/configure.ac -endef - -DHCP_CONF_ENV = \ - CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ - -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ - CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' - -DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk - -DHCP_CONF_OPTS = \ - --with-libbind=$(STAGING_DIR)/usr \ - --with-randomdev=/dev/random \ - --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ - --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ - --with-cli-lease-file=/var/lib/dhcp/dhclient.leases \ - --with-cli6-lease-file=/var/lib/dhcp/dhclient6.leases \ - --with-srv-pid-file=/var/run/dhcpd.pid \ - --with-srv6-pid-file=/var/run/dhcpd6.pid \ - --with-cli-pid-file=/var/run/dhclient.pid \ - --with-cli6-pid-file=/var/run/dhclient6.pid \ - --with-relay-pid-file=/var/run/dhcrelay.pid \ - --with-relay6-pid-file=/var/run/dhcrelay6.pid - -ifeq ($(BR2_STATIC_LIBS),y) -DHCP_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/bind9-config --libs bind9`" -DHCP_CONF_OPTS += --disable-libtool -else -DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF -DHCP_AUTORECONF = YES -DHCP_CONF_OPTS += --enable-libtool -endif - -ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) -DHCP_CONF_OPTS += --enable-delayed-ack -endif - -define DHCP_INSTALL_LIBS - $(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR) - $(MAKE) -C $(@D)/omapip install-exec DESTDIR=$(TARGET_DIR) -endef - -ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) -define DHCP_INSTALL_CTL_LIBS - $(MAKE) -C $(@D)/dhcpctl install-exec DESTDIR=$(TARGET_DIR) -endef -define DHCP_INSTALL_SERVER - mkdir -p $(TARGET_DIR)/var/lib - (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) - $(MAKE) -C $(@D)/server DESTDIR=$(TARGET_DIR) install-sbinPROGRAMS - $(INSTALL) -m 0644 -D package/dhcp/dhcpd.conf \ - $(TARGET_DIR)/etc/dhcp/dhcpd.conf -endef -endif - -ifeq ($(BR2_PACKAGE_DHCP_RELAY),y) -define DHCP_INSTALL_RELAY - mkdir -p $(TARGET_DIR)/var/lib - (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) - $(MAKE) -C $(@D)/relay DESTDIR=$(TARGET_DIR) install-sbinPROGRAMS -endef -endif - -ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y) -define DHCP_INSTALL_CLIENT - mkdir -p $(TARGET_DIR)/var/lib - (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) - $(MAKE) -C $(@D)/client DESTDIR=$(TARGET_DIR) sbindir=/sbin \ - install-sbinPROGRAMS - $(INSTALL) -m 0644 -D package/dhcp/dhclient.conf \ - $(TARGET_DIR)/etc/dhcp/dhclient.conf - $(INSTALL) -m 0755 -D package/dhcp/dhclient-script \ - $(TARGET_DIR)/sbin/dhclient-script -endef -endif - -# Options don't matter, scripts won't start if binaries aren't there -define DHCP_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/dhcp/S80dhcp-server \ - $(TARGET_DIR)/etc/init.d/S80dhcp-server - $(INSTALL) -m 0755 -D package/dhcp/S80dhcp-relay \ - $(TARGET_DIR)/etc/init.d/S80dhcp-relay -endef - -ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) -define DHCP_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/dhcp/dhcpd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/dhcpd.service - - mkdir -p $(TARGET_DIR)/usr/lib/tmpfiles.d - echo "d /var/lib/dhcp 0755 - - - -" > \ - $(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf - echo "f /var/lib/dhcp/dhcpd.leases - - - - -" >> \ - $(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf -endef -endif - -define DHCP_INSTALL_TARGET_CMDS - $(DHCP_INSTALL_LIBS) - $(DHCP_INSTALL_CTL_LIBS) - $(DHCP_INSTALL_RELAY) - $(DHCP_INSTALL_SERVER) - $(DHCP_INSTALL_CLIENT) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dhcpcd/0001-src-privsep-linux.c-add-support-for-nds32-21.patch b/buildroot-2021.05/package/dhcpcd/0001-src-privsep-linux.c-add-support-for-nds32-21.patch deleted file mode 100644 index 5d28fca5..00000000 --- a/buildroot-2021.05/package/dhcpcd/0001-src-privsep-linux.c-add-support-for-nds32-21.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 92dc3bd959681cf65d4a3466c89233cf0411b693 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 30 Jan 2021 12:10:08 +0100 -Subject: [PATCH] src/privsep-linux.c: add support for nds32 (#21) - -Fix the following build failure: - -privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet" - # error "Platform does not support seccomp filter yet" - ^~~~~ -In file included from privsep-linux.c:36: -privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - ^~~~~~~~~~~~~~~~~~ - -It should be noted that AUDIT_ARCH_NDS32 is only defined since kernel -5.2 and -https://github.com/torvalds/linux/commit/fa562447e154334523daa44c0b60625d71a345f5 - -Fixes: - - http://autobuild.buildroot.org/results/af8ba07ea0c12ab8cd24d528ef98db05521f3d36 - -Signed-off-by: Fabrice Fontaine -(cherry picked from commit 3848e7204f23bb78eb42dcde4898c70aca67d58d) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index d31d720d..8716032c 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -182,6 +182,8 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - # else - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_MIPS - # endif -+#elif defined(__nds32__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32 - #elif defined(__powerpc64__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC64 - #elif defined(__powerpc__) --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0002-src-privsep-linux.c-add-support-for-xtensa-22.patch b/buildroot-2021.05/package/dhcpcd/0002-src-privsep-linux.c-add-support-for-xtensa-22.patch deleted file mode 100644 index f1789b13..00000000 --- a/buildroot-2021.05/package/dhcpcd/0002-src-privsep-linux.c-add-support-for-xtensa-22.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 1a77d82b0020ff4c71ffe55262676c3403978bd5 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 31 Jan 2021 03:35:10 +0100 -Subject: [PATCH] src/privsep-linux.c: add support for xtensa (#22) - -Fix the following build failure: - -privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet" - # error "Platform does not support seccomp filter yet" - ^~~~~ -In file included from privsep-linux.c:36: -privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - ^~~~~~~~~~~~~~~~~~ - -It should be noted that AUDIT_ARCH_XTENSA is only defined since kernel -5.0 and -https://github.com/torvalds/linux/commit/98c3115a4ec56f03056efd9295e0fcb4c5c57a85 - -Signed-off-by: Fabrice Fontaine -(cherry picked from commit 19c3d9209a834e02918a17e011afd9da3e5be38d) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index 8716032c..f1b33f91 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -204,6 +204,8 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - # else - # define AUDIT_ARCH_SPARC - # endif -+#elif defined(__xtensa__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_XTENSA - #else - # error "Platform does not support seccomp filter yet" - #endif --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0003-Linux-Add-support-for-NDS32BE-SECCOMP.patch b/buildroot-2021.05/package/dhcpcd/0003-Linux-Add-support-for-NDS32BE-SECCOMP.patch deleted file mode 100644 index de952688..00000000 --- a/buildroot-2021.05/package/dhcpcd/0003-Linux-Add-support-for-NDS32BE-SECCOMP.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 4d2ef61b8b4abcb446699b9d3c29b422f2cf9826 Mon Sep 17 00:00:00 2001 -From: Roy Marples -Date: Sun, 31 Jan 2021 07:37:03 +0000 -Subject: [PATCH] Linux: Add support for NDS32BE SECCOMP - -(cherry picked from commit 8253ef16e11db8b52af1ed8021cd2517046165d6) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index f1b33f91..04950ed2 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -183,7 +183,11 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_MIPS - # endif - #elif defined(__nds32__) --# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32 -+# if (BYTE_ORDER == LITTLE_ENDIAN) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32 -+#ele -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32BE -+#endif - #elif defined(__powerpc64__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC64 - #elif defined(__powerpc__) --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0004-Typo-with-prior.patch b/buildroot-2021.05/package/dhcpcd/0004-Typo-with-prior.patch deleted file mode 100644 index 9c988957..00000000 --- a/buildroot-2021.05/package/dhcpcd/0004-Typo-with-prior.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 59f67be640881eaf56cc30c304362af00523ff5d Mon Sep 17 00:00:00 2001 -From: Roy Marples -Date: Sun, 31 Jan 2021 10:08:11 +0000 -Subject: [PATCH] Typo with prior - -(cherry picked from commit d8d7f68001db3f084dfbb6e5b8ea4491088b55ba) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index 04950ed2..1660447c 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -185,7 +185,7 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - #elif defined(__nds32__) - # if (BYTE_ORDER == LITTLE_ENDIAN) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32 --#ele -+#else - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32BE - #endif - #elif defined(__powerpc64__) --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0005-src-privsep-linux.c-add-support-for-nios2-23.patch b/buildroot-2021.05/package/dhcpcd/0005-src-privsep-linux.c-add-support-for-nios2-23.patch deleted file mode 100644 index ac1ef071..00000000 --- a/buildroot-2021.05/package/dhcpcd/0005-src-privsep-linux.c-add-support-for-nios2-23.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 24ca5bdd409dd811a088bc702a2b6f99ea05ad19 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 31 Jan 2021 11:12:21 +0100 -Subject: [PATCH] src/privsep-linux.c: add support for nios2 (#23) - -Fix the following build failure: - -privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet" - # error "Platform does not support seccomp filter yet" - ^~~~~ -In file included from privsep-linux.c:36: -privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - ^~~~~~~~~~~~~~~~~~ - -It should be noted that AUDIT_ARCH_NIOS2 is only defined since kernel -5.2 and -https://github.com/torvalds/linux/commit/1660aac45e5b49a5ace29fb5b73254617533fcbd - -Signed-off-by: Fabrice Fontaine -(cherry picked from commit d670866ce008c21cbf6d5b20c4d4af6460ec35d2) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index 1660447c..e374c068 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -188,6 +188,8 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - #else - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NDS32BE - #endif -+#elif defined(__nios2__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NIOS2 - #elif defined(__powerpc64__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC64 - #elif defined(__powerpc__) --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0006-src-privsep-linux.c-add-support-for-microblaze-24.patch b/buildroot-2021.05/package/dhcpcd/0006-src-privsep-linux.c-add-support-for-microblaze-24.patch deleted file mode 100644 index 245faed4..00000000 --- a/buildroot-2021.05/package/dhcpcd/0006-src-privsep-linux.c-add-support-for-microblaze-24.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 89a2f250ed978950aecf4854d1cee16f57946759 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 31 Jan 2021 21:57:40 +0100 -Subject: [PATCH] src/privsep-linux.c: add support for microblaze (#24) - -Fix the following build failure: - -privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet" - # error "Platform does not support seccomp filter yet" - ^~~~~ -In file included from privsep-linux.c:36: -privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - ^~~~~~~~~~~~~~~~~~ - -It should be noted that AUDIT_ARCH_MICROBLAZE is only defined since -kernel 3.18 and -https://github.com/torvalds/linux/commit/ce5d112827e5c2e9864323d0efd7ec2a62c6dce0 - -Signed-off-by: Fabrice Fontaine -(cherry picked from commit e3a40586dbb584774d0a17bc277e69cb500cfa38) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index e374c068..a861a836 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -170,6 +170,8 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - # endif - #elif defined(__ia64__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_IA64 -+#elif defined(__microblaze__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_MICROBLAZE - #elif defined(__mips__) - # if defined(__MIPSEL__) - # if defined(__LP64__) --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0007-src-privsep-linux.c-add-support-for-sh-25.patch b/buildroot-2021.05/package/dhcpcd/0007-src-privsep-linux.c-add-support-for-sh-25.patch deleted file mode 100644 index b9c02380..00000000 --- a/buildroot-2021.05/package/dhcpcd/0007-src-privsep-linux.c-add-support-for-sh-25.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 10acecc0583b7301cb539ba6875618956fa3d13b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 5 Feb 2021 09:05:54 +0100 -Subject: [PATCH] src/privsep-linux.c: add support for sh (#25) - -Fix the following build failure: - -privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet" - # error "Platform does not support seccomp filter yet" - ^~~~~ -In file included from privsep-linux.c:36: -privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - ^~~~~~~~~~~~~~~~~~ - -It should be noted that AUDIT_ARCH_{SH,SHEL,SH64,SHEL64} are defined at -least since kernel 3.7 and -https://github.com/torvalds/linux/commit/607ca46e97a1b6594b29647d98a32d545c24bdff - -Signed-off-by: Fabrice Fontaine -(cherry picked from commit 166491c2953546a677073694036f43a65fc25063) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index a861a836..428ea4b0 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -206,6 +206,20 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_S390X - #elif defined(__s390__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_S390 -+#elif defined(__sh__) -+# if defined(__LP64__) -+# if (BYTE_ORDER == LITTLE_ENDIAN) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_SHEL64 -+# else -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_SH64 -+# endif -+# else -+# if (BYTE_ORDER == LITTLE_ENDIAN) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_SHEL -+# else -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_SH -+# endif -+# endif - #elif defined(__sparc__) - # if defined(__arch64__) - # define AUDIT_ARCH_SPARC64 --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0008-src-privsep-linux-fix-build-on-sparc-26.patch b/buildroot-2021.05/package/dhcpcd/0008-src-privsep-linux-fix-build-on-sparc-26.patch deleted file mode 100644 index 06199228..00000000 --- a/buildroot-2021.05/package/dhcpcd/0008-src-privsep-linux-fix-build-on-sparc-26.patch +++ /dev/null @@ -1,45 +0,0 @@ -From be36eccb1ae53422f2aa9b42f257baeb21bd8be7 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 5 Feb 2021 09:25:12 +0100 -Subject: [PATCH] src/privsep-linux: fix build on sparc (#26) - -Fix the following build failure: - -privsep-linux.c:203: warning: "AUDIT_ARCH_SPARC64" redefined - 203 | # define AUDIT_ARCH_SPARC64 - | -In file included from privsep-linux.c:35: -/srv/storage/autobuild/run/instance-0/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/linux/audit.h:392: note: this is the location of the previous definition - 392 | #define AUDIT_ARCH_SPARC64 (EM_SPARCV9|__AUDIT_ARCH_64BIT) - | -In file included from privsep-linux.c:36: -privsep-linux.c:215:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - 215 | BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - | ^~~~~~~~~~~~~~~~~~ - -Signed-off-by: Fabrice Fontaine -(cherry picked from commit dcfd7a23f002793a855156255e81662ef84064d3) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index 428ea4b0..8093740a 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -222,9 +222,9 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - # endif - #elif defined(__sparc__) - # if defined(__arch64__) --# define AUDIT_ARCH_SPARC64 -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_SPARC64 - # else --# define AUDIT_ARCH_SPARC -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_SPARC - # endif - #elif defined(__xtensa__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_XTENSA --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0009-src-privsep-linux.c-add-support-for-or1k-27.patch b/buildroot-2021.05/package/dhcpcd/0009-src-privsep-linux.c-add-support-for-or1k-27.patch deleted file mode 100644 index 3756cac7..00000000 --- a/buildroot-2021.05/package/dhcpcd/0009-src-privsep-linux.c-add-support-for-or1k-27.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 617e3a44137cbba55afae24f6754580916bb770b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 7 Feb 2021 09:43:14 +0100 -Subject: [PATCH] src/privsep-linux.c: add support for or1k (#27) - -Fix the following build failure: - -privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet" - # error "Platform does not support seccomp filter yet" - ^~~~~ -In file included from privsep-linux.c:36: -privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - ^~~~~~~~~~~~~~~~~~ - -It should be noted that AUDIT_ARCH_OPENRISC is defined since kernel 3.7: -https://github.com/torvalds/linux/commit/e2bebb4ae6d9ac4ffc524db67f7ecb205a173f77 - -Signed-off-by: Fabrice Fontaine -(cherry picked from commit f3f7332001d5d5722239f6b7279f32923e4eedd0) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index 8093740a..58df5c30 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -192,6 +192,8 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - #endif - #elif defined(__nios2__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_NIOS2 -+#elif defined(__or1k__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_OPENRISC - #elif defined(__powerpc64__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_PPC64 - #elif defined(__powerpc__) --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0010-src-privsep-linux.c-add-support-for-arc-28.patch b/buildroot-2021.05/package/dhcpcd/0010-src-privsep-linux.c-add-support-for-arc-28.patch deleted file mode 100644 index b7b3e153..00000000 --- a/buildroot-2021.05/package/dhcpcd/0010-src-privsep-linux.c-add-support-for-arc-28.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 1b6b6329daf70e29221f341ef1946717f158ec8a Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 8 Feb 2021 07:23:54 +0100 -Subject: [PATCH] src/privsep-linux.c: add support for arc (#28) - -Fix the following build failure: - -privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet" - # error "Platform does not support seccomp filter yet" - ^~~~~ -In file included from privsep-linux.c:36: -privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - ^~~~~~~~~~~~~~~~~~ - -It should be noted that AUDIT_ARCH_{ARCOMPACT,ARCV2} is only defined -since kernel 5.2 and -https://github.com/torvalds/linux/commit/67f2a8a29311841ba6ab9b0e2d1b8f1e9978cd84 - -Detection of arc compact and arc v2 have been "copy/pasted" from -https://github.com/wbx-github/uclibc-ng/commit/afab56958f1cbb47b831ee3ebff231dfbae74af2 - -Fixes: - - http://autobuild.buildroot.org/results/d29083700a80dd647621eed06faeeae03f0587d3 - -Signed-off-by: Fabrice Fontaine -(cherry picked from commit 82386110e67cf75c224e9817fce55e6b0f143266) -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - src/privsep-linux.c | 16 ++++++++++++++++ - 1 file changed, 16 insertions(+) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index 58df5c30..fc269a5c 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -149,6 +149,22 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_I386 - #elif defined(__x86_64__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_X86_64 -+#elif defined(__arc__) -+# if defined(__A7__) -+# if (BYTE_ORDER == LITTLE_ENDIAN) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_ARCOMPACT -+# else -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_ARCOMPACTBE -+# endif -+# elif defined(__HS__) -+# if (BYTE_ORDER == LITTLE_ENDIAN) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_ARCV2 -+# else -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_ARCV2BE -+# endif -+# else -+# error "Platform does not support seccomp filter yet" -+# endif - #elif defined(__arm__) - # ifndef EM_ARM - # define EM_ARM 40 --- -2.29.2 - diff --git a/buildroot-2021.05/package/dhcpcd/0011-src-privsep-linux.c-add-support-for-m68k.patch b/buildroot-2021.05/package/dhcpcd/0011-src-privsep-linux.c-add-support-for-m68k.patch deleted file mode 100644 index 8fe80d42..00000000 --- a/buildroot-2021.05/package/dhcpcd/0011-src-privsep-linux.c-add-support-for-m68k.patch +++ /dev/null @@ -1,37 +0,0 @@ -From f7721a6728bfd786604474df051f463a12dd0335 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 5 Mar 2021 12:22:13 +0100 -Subject: [PATCH] src/privsep-linux.c: add support for m68k - -Fix the following build failure: - -privsep-linux.c:206:4: error: #error "Platform does not support seccomp filter yet" - # error "Platform does not support seccomp filter yet" - ^~~~~ -In file included from privsep-linux.c:36: -privsep-linux.c:213:38: error: 'SECCOMP_AUDIT_ARCH' undeclared here (not in a function); did you mean 'SECCOMP_ALLOW_ARG'? - BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, SECCOMP_AUDIT_ARCH, 1, 0), - ^~~~~~~~~~~~~~~~~~ - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/rsmarples/dhcpcd/pull/29] ---- - src/privsep-linux.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/privsep-linux.c b/src/privsep-linux.c -index 21d41a9a..7dc92083 100644 ---- a/src/privsep-linux.c -+++ b/src/privsep-linux.c -@@ -188,6 +188,8 @@ ps_root_sendnetlink(struct dhcpcd_ctx *ctx, int protocol, struct msghdr *msg) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_IA64 - #elif defined(__microblaze__) - # define SECCOMP_AUDIT_ARCH AUDIT_ARCH_MICROBLAZE -+#elif defined(__m68k__) -+# define SECCOMP_AUDIT_ARCH AUDIT_ARCH_M68K - #elif defined(__mips__) - # if defined(__MIPSEL__) - # if defined(__LP64__) --- -2.30.0 - diff --git a/buildroot-2021.05/package/dhcpcd/Config.in b/buildroot-2021.05/package/dhcpcd/Config.in deleted file mode 100644 index ece08d2c..00000000 --- a/buildroot-2021.05/package/dhcpcd/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -comment "dhcpcd needs a toolchain w/ headers >= 3.1" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 - -config BR2_PACKAGE_DHCPCD - bool "dhcpcd" - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 # sa_family_t in linux/socket.h - help - An RFC2131 compliant DHCP client - - http://roy.marples.name/projects/dhcpcd/ diff --git a/buildroot-2021.05/package/dhcpcd/dhcpcd.hash b/buildroot-2021.05/package/dhcpcd/dhcpcd.hash deleted file mode 100644 index 413f5c84..00000000 --- a/buildroot-2021.05/package/dhcpcd/dhcpcd.hash +++ /dev/null @@ -1,4 +0,0 @@ -# sha256 from ftp://roy.marples.name/pub/dhcpcd/dhcpcd-9.4.0.tar.xz.distinfo -sha256 41a69297f380bf15ee8f94f73154f8c2bca7157a087c0d5aca8de000ba1d4513 dhcpcd-9.4.0.tar.xz -# Locally calculated -sha256 9cce1077bad23544349788ec750ec6e5aee106fc437fd6b5d73c0d8510426578 LICENSE diff --git a/buildroot-2021.05/package/dhcpcd/dhcpcd.mk b/buildroot-2021.05/package/dhcpcd/dhcpcd.mk deleted file mode 100644 index 1af019fd..00000000 --- a/buildroot-2021.05/package/dhcpcd/dhcpcd.mk +++ /dev/null @@ -1,89 +0,0 @@ -################################################################################ -# -# dhcpcd -# -################################################################################ - -DHCPCD_VERSION = 9.4.0 -DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.xz -DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd -DHCPCD_DEPENDENCIES = host-pkgconf -DHCPCD_LICENSE = BSD-2-Clause -DHCPCD_LICENSE_FILES = LICENSE -DHCPCD_CPE_ID_VENDOR = dhcpcd_project - -DHCPCD_CONFIG_OPTS = \ - --libexecdir=/lib/dhcpcd \ - --os=linux \ - --privsepuser=dhcpcd - -# AUDIT_ARCH_{OPENRISC,SH,SHEL,SH64,SHEL64} are only available with kernel >= 3.7 -ifeq ($(BR2_or1k)$(BR2_sh):$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7),y:) -DHCPCD_CONFIG_OPTS += --disable-privsep -endif - -# AUDIT_ARCH_MICROBLAZE is only available with kernel >= 3.18 -ifeq ($(BR2_microblazeel)$(BR2_microblazebe):$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18),y:) -DHCPCD_CONFIG_OPTS += --disable-privsep -endif - -# AUDIT_ARCH_XTENSA is only available with kernel >= 5.0 -ifeq ($(BR2_xtensa):$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0),y:) -DHCPCD_CONFIG_OPTS += --disable-privsep -endif - -# AUDIT_ARCH_{ARCOMPACT,ARCV2,NDS32,NIOS2} are only available with kernel >= 5.2 -ifeq ($(BR2_arceb)$(BR2_arcle)$(BR2_nds32)$(BR2_nios2):$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2),y:) -DHCPCD_CONFIG_OPTS += --disable-privsep -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -DHCPCD_CONFIG_OPTS += --with-udev -DHCPCD_DEPENDENCIES += udev -else -DHCPCD_CONFIG_OPTS += --without-udev -endif - -ifeq ($(BR2_STATIC_LIBS),y) -DHCPCD_CONFIG_OPTS += --enable-static -endif - -ifeq ($(BR2_USE_MMU),) -DHCPCD_CONFIG_OPTS += --disable-fork --disable-privsep -endif - -define DHCPCD_CONFIGURE_CMDS - (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(DHCPCD_CONFIG_OPTS)) -endef - -define DHCPCD_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all -endef - -define DHCPCD_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) -endef - -# When network-manager is enabled together with dhcpcd, it will use -# dhcpcd as a DHCP client, and will be in charge of running, so we -# don't want the init script or service file to be installed. -ifeq ($(BR2_PACKAGE_NETWORK_MANAGER),) -define DHCPCD_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/dhcpcd/S41dhcpcd \ - $(TARGET_DIR)/etc/init.d/S41dhcpcd -endef - -define DHCPCD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/dhcpcd/dhcpcd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/dhcpcd.service -endef -endif - -define DHCPCD_USERS - dhcpcd -1 dhcpcd -1 * - - - dhcpcd user -endef - -# NOTE: Even though this package has a configure script, it is not generated -# using the autotools, so we have to use the generic package infrastructure. - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/diffutils/diffutils.hash b/buildroot-2021.05/package/diffutils/diffutils.hash deleted file mode 100644 index aa91fd43..00000000 --- a/buildroot-2021.05/package/diffutils/diffutils.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26 diffutils-3.7.tar.xz -# Locally calculated -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/diffutils/diffutils.mk b/buildroot-2021.05/package/diffutils/diffutils.mk deleted file mode 100644 index 107de793..00000000 --- a/buildroot-2021.05/package/diffutils/diffutils.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# diffutils -# -################################################################################ - -DIFFUTILS_VERSION = 3.7 -DIFFUTILS_SOURCE = diffutils-$(DIFFUTILS_VERSION).tar.xz -DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils -DIFFUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -DIFFUTILS_LICENSE = GPL-3.0+ -DIFFUTILS_LICENSE_FILES = COPYING - -# Since glibc >= 2.26, don't try to use getopt_long replacement bundled -# with diffutils. It will conflict with the one from glibc. -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) -DIFFUTILS_CONF_ENV += gl_cv_func_getopt_gnu=yes -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/directfb-examples/Config.in b/buildroot-2021.05/package/directfb-examples/Config.in deleted file mode 100644 index 216e0365..00000000 --- a/buildroot-2021.05/package/directfb-examples/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_DIRECTFB_EXAMPLES - bool "directfb examples" - depends on BR2_PACKAGE_DIRECTFB - help - The DirectFB-examples package contains a set of simple - DirectFB applications that can be used to test and demonstrate - various DirectFB features. - - http://directfb.org/downloads/Extras/README.DirectFB-examples diff --git a/buildroot-2021.05/package/directfb-examples/directfb-examples.mk b/buildroot-2021.05/package/directfb-examples/directfb-examples.mk deleted file mode 100644 index 46263da7..00000000 --- a/buildroot-2021.05/package/directfb-examples/directfb-examples.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# directfb-examples -# -################################################################################ - -DIRECTFB_EXAMPLES_VERSION = 1.7.0 -DIRECTFB_EXAMPLES_SITE = http://www.directfb.org/downloads/Extras -DIRECTFB_EXAMPLES_SOURCE = DirectFB-examples-$(DIRECTFB_EXAMPLES_VERSION).tar.gz -DIRECTFB_EXAMPLES_LICENSE = MIT -DIRECTFB_EXAMPLES_LICENSE_FILES = COPYING -DIRECTFB_EXAMPLES_DEPENDENCIES = directfb - -ifeq ($(BR2_STATIC_LIBS),y) -DIRECTFB_EXAMPLES_CONF_OPTS += LIBS=-lstdc++ -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/directfb/directfb.mk b/buildroot-2021.05/package/directfb/directfb.mk deleted file mode 100644 index 0b32162d..00000000 --- a/buildroot-2021.05/package/directfb/directfb.mk +++ /dev/null @@ -1,173 +0,0 @@ -################################################################################ -# -# directfb -# -################################################################################ - -DIRECTFB_VERSION_MAJOR = 1.7 -DIRECTFB_VERSION = $(DIRECTFB_VERSION_MAJOR).7 -DIRECTFB_SITE = http://www.directfb.org/downloads/Core/DirectFB-$(DIRECTFB_VERSION_MAJOR) -DIRECTFB_SOURCE = DirectFB-$(DIRECTFB_VERSION).tar.gz -DIRECTFB_LICENSE = LGPL-2.1+ -DIRECTFB_LICENSE_FILES = COPYING -DIRECTFB_INSTALL_STAGING = YES -DIRECTFB_AUTORECONF = YES - -DIRECTFB_CONF_OPTS = \ - --enable-zlib \ - --enable-freetype \ - --enable-fbdev \ - --disable-sdl \ - --disable-vnc \ - --disable-osx \ - --disable-video4linux \ - --disable-video4linux2 \ - --without-tools \ - --disable-x11 - -ifeq ($(BR2_STATIC_LIBS),y) -DIRECTFB_CONF_OPTS += --disable-dynload -endif - -DIRECTFB_CONFIG_SCRIPTS = directfb-config - -DIRECTFB_DEPENDENCIES = freetype zlib - -ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y) -DIRECTFB_CONF_OPTS += --enable-multi --enable-multi-kernel -DIRECTFB_DEPENDENCIES += linux-fusion -else -DIRECTFB_CONF_OPTS += --disable-multi --disable-multi-kernel -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT),y) -DIRECTFB_CONF_OPTS += --enable-debug-support -ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y) -DIRECTFB_CONF_OPTS += --enable-debug -endif -else -DIRECTFB_CONF_OPTS += --disable-debug-support -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_TRACE),y) -DIRECTFB_CONF_OPTS += --enable-trace -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_DIVINE),y) -DIRECTFB_CONF_OPTS += --enable-divine -else -DIRECTFB_CONF_OPTS += --disable-divine -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_SAWMAN),y) -DIRECTFB_CONF_OPTS += --enable-sawman -else -DIRECTFB_CONF_OPTS += --disable-sawman -endif - -DIRECTFB_GFX = \ - $(if $(BR2_PACKAGE_DIRECTFB_ATI128),ati128) \ - $(if $(BR2_PACKAGE_DIRECTFB_CYBER5K),cyber5k) \ - $(if $(BR2_PACKAGE_DIRECTFB_MATROX),matrox) \ - $(if $(BR2_PACKAGE_DIRECTFB_PXA3XX),pxa3xx) \ - $(if $(BR2_PACKAGE_DIRECTFB_I830),i830) \ - $(if $(BR2_PACKAGE_DIRECTFB_EP9X),ep9x) - -ifeq ($(strip $(DIRECTFB_GFX)),) -DIRECTFB_CONF_OPTS += --with-gfxdrivers=none -else -DIRECTFB_CONF_OPTS += \ - --with-gfxdrivers=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX))) -endif - -DIRECTFB_INPUT = \ - $(if $(BR2_PACKAGE_DIRECTFB_LINUXINPUT),linuxinput) \ - $(if $(BR2_PACKAGE_DIRECTFB_KEYBOARD),keyboard) \ - $(if $(BR2_PACKAGE_DIRECTFB_PS2MOUSE),ps2mouse) \ - $(if $(BR2_PACKAGE_DIRECTFB_SERIALMOUSE),serialmouse) \ - $(if $(BR2_PACKAGE_DIRECTFB_TSLIB),tslib) - -ifeq ($(BR2_PACKAGE_DIRECTFB_TSLIB),y) -DIRECTFB_DEPENDENCIES += tslib -endif - -ifeq ($(strip $(DIRECTFB_INPUT)),) -DIRECTFB_CONF_OPTS += --with-inputdrivers=none -else -DIRECTFB_CONF_OPTS += \ - --with-inputdrivers=$(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT))) -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_GIF),y) -DIRECTFB_CONF_OPTS += --enable-gif -else -DIRECTFB_CONF_OPTS += --disable-gif -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_TIFF),y) -DIRECTFB_CONF_OPTS += --enable-tiff -DIRECTFB_DEPENDENCIES += tiff -else -DIRECTFB_CONF_OPTS += --disable-tiff -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_PNG),y) -DIRECTFB_CONF_OPTS += --enable-png -DIRECTFB_DEPENDENCIES += libpng -DIRECTFB_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config -else -DIRECTFB_CONF_OPTS += --disable-png -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_JPEG),y) -DIRECTFB_CONF_OPTS += --enable-jpeg -DIRECTFB_DEPENDENCIES += jpeg -else -DIRECTFB_CONF_OPTS += --disable-jpeg -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_SVG),y) -DIRECTFB_CONF_OPTS += --enable-svg -# needs some help to find cairo includes -DIRECTFB_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/cairo" -DIRECTFB_DEPENDENCIES += libsvg-cairo -else -DIRECTFB_CONF_OPTS += --disable-svg -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_IMLIB2),y) -DIRECTFB_CONF_OPTS += --enable-imlib2 -DIRECTFB_DEPENDENCIES += imlib2 -DIRECTFB_CONF_ENV += ac_cv_path_IMLIB2_CONFIG=$(STAGING_DIR)/usr/bin/imlib2-config -else -DIRECTFB_CONF_OPTS += --disable-imlib2 -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_DITHER_RGB16),y) -DIRECTFB_CONF_OPTS += --with-dither-rgb16=advanced -else -DIRECTFB_CONF_OPTS += --with-dither-rgb16=none -endif - -ifeq ($(BR2_PACKAGE_DIRECTFB_TESTS),y) -DIRECTFB_CONF_OPTS += --with-tests -endif - -HOST_DIRECTFB_DEPENDENCIES = host-pkgconf host-libpng -HOST_DIRECTFB_CONF_OPTS = \ - --disable-multi \ - --enable-png \ - --with-gfxdrivers=none \ - --with-inputdrivers=none - -HOST_DIRECTFB_BUILD_CMDS = \ - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/tools directfb-csource - -HOST_DIRECTFB_INSTALL_CMDS = \ - $(INSTALL) -m 0755 $(@D)/tools/directfb-csource $(HOST_DIR)/bin - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) - -# directfb-csource for the host -DIRECTFB_HOST_BINARY = $(HOST_DIR)/bin/directfb-csource diff --git a/buildroot-2021.05/package/dmalloc/0001-mips.patch b/buildroot-2021.05/package/dmalloc/0001-mips.patch deleted file mode 100644 index 3e6b00e3..00000000 --- a/buildroot-2021.05/package/dmalloc/0001-mips.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- a/configure -+++ b/configure -@@ -7107,7 +7107,7 @@ - echo $ECHO_N "checking return.h macros work... $ECHO_C" >&6 - if test "$cross_compiling" = yes; then - cat >>confdefs.h <<\_ACEOF --#define RETURN_MACROS_WORK 0 -+#define RETURN_MACROS_WORK 1 - _ACEOF - echo "$as_me:$LINENO: result: no" >&5 - echo "${ECHO_T}no" >&6 ---- a/return.h -+++ b/return.h -@@ -106,26 +106,16 @@ - /*************************************/ - - /* -- * For DEC Mips machines running Ultrix -+ * For Mips machines running Linux - */ - #if __mips - - /* -- * I have no idea how to get inline assembly with the default cc. -- * Anyone know how? -- */ -- --#if 0 -- --/* - * NOTE: we assume here that file is global. - * -- * $31 is the frame pointer. $2 looks to be the return address but maybe -- * not consistently. -+ * $31 is the return address. - */ --#define GET_RET_ADDR(file) asm("sw $2, file") -- --#endif -+#define GET_RET_ADDR(file) asm("sw $31, %0" : "=m" (file)) - - #endif /* __mips */ - diff --git a/buildroot-2021.05/package/dmalloc/0002-fix-parallel-build.patch b/buildroot-2021.05/package/dmalloc/0002-fix-parallel-build.patch deleted file mode 100644 index c521a114..00000000 --- a/buildroot-2021.05/package/dmalloc/0002-fix-parallel-build.patch +++ /dev/null @@ -1,18 +0,0 @@ -Fix parallel build issue - -Missing dmallocc.o <- dmalloc.h dependency may break parallel builds. -dmalloc.h is generated,and may not be around by the time gcc starts -parsing dmallocc.cc. - -Signed-off-by: Alex Suykov - ---- a/Makefile.in -+++ b/Makefile.in -@@ -401,6 +401,7 @@ - compat.o: compat.c conf.h settings.h dmalloc.h compat.h dmalloc_loc.h - dmalloc.o: dmalloc.c conf.h settings.h dmalloc_argv.h dmalloc.h compat.h \ - debug_tok.h dmalloc_loc.h env.h error_val.h version.h -+dmallocc.o: dmallocc.cc dmalloc.h return.h conf.h settings.h - dmalloc_argv.o: dmalloc_argv.c conf.h settings.h dmalloc_argv.h \ - dmalloc_argv_loc.h compat.h - dmalloc_fc_t.o: dmalloc_fc_t.c conf.h settings.h dmalloc.h dmalloc_argv.h \ diff --git a/buildroot-2021.05/package/dmalloc/0003-fix-shlibs.patch b/buildroot-2021.05/package/dmalloc/0003-fix-shlibs.patch deleted file mode 100644 index a99d926d..00000000 --- a/buildroot-2021.05/package/dmalloc/0003-fix-shlibs.patch +++ /dev/null @@ -1,46 +0,0 @@ -Fix shared library rules - -dmalloc uses ld -shared --whole-archive -o lib.so lib.a, -but for some reason lists regular objects in addition -to the archive, ending up with two copies of each symbol. - -Signed-off-by: Alex Suykov - ---- a/Makefile.in -+++ b/Makefile.in -@@ -257,7 +257,7 @@ shlib : $(BUILD_SL) - # via: http://256.com/gray/email.html - $(LIB_SL) : $(LIBRARY) - rm -f $@ $@.t -- @shlinkargs@ $(LIBRARY) $(OBJS) $(NORMAL_OBJS) -+ @shlinkargs@ $(LIBRARY) - mv $@.t $@ - - $(LIBRARY) : $(OBJS) $(NORMAL_OBJS) -@@ -270,7 +270,7 @@ $(LIB_TH) : $(OBJS) $(THREAD_OBJS) - - $(LIB_TH_SL) : $(LIB_TH) - rm -f $@ $@.t -- @shlinkargs@ $(LIB_TH) $(OBJS) $(THREAD_OBJS) -+ @shlinkargs@ $(LIB_TH) - mv $@.t $@ - - $(LIB_CXX) : $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS) -@@ -279,7 +279,7 @@ $(LIB_CXX) : $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS) - - $(LIB_CXX_SL) : $(LIB_CXX) - rm -f $@ $@.t -- @shlinkargs@ $(LIB_CXX) $(OBJS) $(NORMAL_OBJS) $(CXX_OBJS) -+ @shlinkargs@ $(LIB_CXX) - mv $@.t $@ - - $(LIB_TH_CXX) : $(OBJS) $(THREAD_OBJS) $(CXX_OBJS) -@@ -288,7 +288,7 @@ $(LIB_TH_CXX) : $(OBJS) $(THREAD_OBJS) $(CXX_OBJS) - - $(LIB_TH_CXX_SL) : $(LIB_TH_CXX) - rm -f $@ $@.t -- @shlinkargs@ $(LIB_TH_CXX) $(OBJS) $(THREAD_OBJS) $(CXX_OBJS) -+ @shlinkargs@ $(LIB_TH_CXX) - mv $@.t $@ - - threadssl : $(LIB_TH_SL) diff --git a/buildroot-2021.05/package/dmalloc/0004-fix-strdup.patch b/buildroot-2021.05/package/dmalloc/0004-fix-strdup.patch deleted file mode 100644 index 5884df6a..00000000 --- a/buildroot-2021.05/package/dmalloc/0004-fix-strdup.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 59d73a473f1c1a31bcba90d314f956d0bcc3de95 Mon Sep 17 00:00:00 2001 -From: Siana Gearz -Date: Sat, 8 Sep 2012 22:55:17 +0200 -Subject: [PATCH] Fix strdup - -[Retrieved from: -https://github.com/siana/dmalloc/commit/59d73a473f1c1a31bcba90d314f956d0bcc3de95] -Signed-off-by: Fabrice Fontaine ---- - dmalloc.h.3 | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/dmalloc.h.3 b/dmalloc.h.3 -index d3d1c13..3fc573a 100644 ---- a/dmalloc.h.3 -+++ b/dmalloc.h.3 -@@ -459,6 +459,7 @@ DMALLOC_PNT valloc(DMALLOC_SIZE size); - * - * string -> String we are duplicating. - */ -+#undef strdup - extern - char *strdup(const char *string); - #endif /* ifndef DMALLOC_STRDUP_MACRO */ diff --git a/buildroot-2021.05/package/dmalloc/0005-fix-strndup.patch b/buildroot-2021.05/package/dmalloc/0005-fix-strndup.patch deleted file mode 100644 index a1865acb..00000000 --- a/buildroot-2021.05/package/dmalloc/0005-fix-strndup.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 005d92c2cebbde5c8623daa29725f7a62b18df7c Mon Sep 17 00:00:00 2001 -From: Siana Gearz -Date: Sat, 8 Sep 2012 22:44:35 +0200 -Subject: [PATCH] Fix strndup - -[Retrieved from: -https://github.com/siana/dmalloc/commit/005d92c2cebbde5c8623daa29725f7a62b18df7c] -Signed-off-by: Fabrice Fontaine ---- - dmalloc.h.3 | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/dmalloc.h.3 b/dmalloc.h.3 -index 8bda997..fb538a8 100644 ---- a/dmalloc.h.3 -+++ b/dmalloc.h.3 -@@ -429,6 +429,7 @@ char *strdup(const char *string); - * - * len -> Length of the string to duplicate. - */ -+#undef strndup - extern - char *strndup(const char *string, const DMALLOC_SIZE len); - diff --git a/buildroot-2021.05/package/dmalloc/dmalloc.hash b/buildroot-2021.05/package/dmalloc/dmalloc.hash deleted file mode 100644 index 11375165..00000000 --- a/buildroot-2021.05/package/dmalloc/dmalloc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 d3be5c6eec24950cb3bd67dbfbcdf036f1278fae5fd78655ef8cdf9e911e428a dmalloc-5.5.2.tgz -sha256 8659d49ceeeb006288ad246164e504ccfe33f7a4c1680439fb6ff6a393b0722b dmalloc.h.1 diff --git a/buildroot-2021.05/package/dmalloc/dmalloc.mk b/buildroot-2021.05/package/dmalloc/dmalloc.mk deleted file mode 100644 index 749c3535..00000000 --- a/buildroot-2021.05/package/dmalloc/dmalloc.mk +++ /dev/null @@ -1,80 +0,0 @@ -################################################################################ -# -# dmalloc -# -################################################################################ - -DMALLOC_VERSION = 5.5.2 -DMALLOC_SOURCE = dmalloc-$(DMALLOC_VERSION).tgz -DMALLOC_SITE = http://dmalloc.com/releases - -DMALLOC_LICENSE = MIT-like -# license is in each file, dmalloc.h.1 is the smallest one -DMALLOC_LICENSE_FILES = dmalloc.h.1 - -DMALLOC_INSTALL_STAGING = YES -DMALLOC_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_STATIC_LIBS),y) -DMALLOC_CONF_OPTS += --disable-shlib -else -DMALLOC_CONF_OPTS += --enable-shlib -DMALLOC_CFLAGS += -fPIC -endif - -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -DMALLOC_CONF_OPTS += --enable-cxx -else -DMALLOC_CONF_OPTS += --disable-cxx -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -DMALLOC_CONF_OPTS += --enable-threads -else -DMALLOC_CONF_OPTS += --disable-threads -endif - -# dmalloc has some assembly function that are not present in thumb1 mode: -# Error: lo register required -- `str lr,[sp,#4]' -# so, we desactivate thumb mode -ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) -DMALLOC_CFLAGS += -marm -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_63261),y) -DMALLOC_CFLAGS += -O0 -endif - -DMALLOC_CONF_ENV = CFLAGS="$(DMALLOC_CFLAGS)" - -define DMALLOC_POST_PATCH - $(SED) 's/^ac_cv_page_size=0$$/ac_cv_page_size=12/' $(@D)/configure - $(SED) 's/(ld -/($${LD-ld} -/' $(@D)/configure - $(SED) 's/'\''ld -/"$${LD-ld}"'\'' -/' $(@D)/configure - $(SED) 's/ar cr/$$(AR) cr/' $(@D)/Makefile.in -endef - -DMALLOC_POST_PATCH_HOOKS += DMALLOC_POST_PATCH - -# both DESTDIR and PREFIX are ignored.. -define DMALLOC_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) includedir="$(STAGING_DIR)/usr/include" \ - bindir="$(STAGING_DIR)/usr/bin" \ - libdir="$(STAGING_DIR)/usr/lib" \ - shlibdir="$(STAGING_DIR)/usr/lib" \ - infodir="$(STAGING_DIR)/usr/share/info/" \ - -C $(@D) install -endef - -ifeq ($(BR2_STATIC_LIBS),) -define DMALLOC_INSTALL_SHARED_LIB - cp -dpf $(STAGING_DIR)/usr/lib/libdmalloc*.so $(TARGET_DIR)/usr/lib -endef -endif - -define DMALLOC_INSTALL_TARGET_CMDS - $(DMALLOC_INSTALL_SHARED_LIB) - cp -dpf $(STAGING_DIR)/usr/bin/dmalloc $(TARGET_DIR)/usr/bin/dmalloc -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dmraid/0001-fix-compilation-under-musl.patch b/buildroot-2021.05/package/dmraid/0001-fix-compilation-under-musl.patch deleted file mode 100644 index 7cf87928..00000000 --- a/buildroot-2021.05/package/dmraid/0001-fix-compilation-under-musl.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 89c7fc15e064dd407e6d5ccefe78985b86b8a036 Mon Sep 17 00:00:00 2001 -From: Brendan Heading -Date: Tue, 1 Sep 2015 12:26:36 +0100 -Subject: [PATCH 1/1] fix compilation under musl - -Patch borrowed from Void Linux : - -https://github.com/voidlinux/void-packages/blob/master/srcpkgs/dmraid/patches/25_musl-libc.patch - -Upstream package appears dormant, no mailing list and no -maintainence releases since Nov 2010. - -Upstream-Status: dormant -Signed-off-by: Brendan Heading - ---- - 1.0.0.rc16-3/dmraid/include/dmraid/misc.h | 1 + - 1.0.0.rc16-3/dmraid/lib/device/scan.c | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/1.0.0.rc16-3/dmraid/include/dmraid/misc.h b/1.0.0.rc16-3/dmraid/include/dmraid/misc.h -index 247a68e..1b1dfdf 100644 ---- a/1.0.0.rc16-3/dmraid/include/dmraid/misc.h -+++ b/1.0.0.rc16-3/dmraid/include/dmraid/misc.h -@@ -10,6 +10,7 @@ - - #ifndef _MISC_H_ - #define _MISC_H_ -+#include - - #define DM_ASSERT(__cond) do { if (!(__cond)) { printf("ASSERT file:%s line:%d fuction:%s cond: %s\n", __FILE__, __LINE__, __FUNCTION__, #__cond); } } while(0); - -diff --git a/1.0.0.rc16-3/dmraid/lib/device/scan.c b/1.0.0.rc16-3/dmraid/lib/device/scan.c -index a040d53..6897146 100644 ---- a/1.0.0.rc16-3/dmraid/lib/device/scan.c -+++ b/1.0.0.rc16-3/dmraid/lib/device/scan.c -@@ -10,6 +10,7 @@ - # include - # include - #else -+# include - # include - # include - #endif --- -2.4.3 - diff --git a/buildroot-2021.05/package/dnsmasq/dnsmasq.hash b/buildroot-2021.05/package/dnsmasq/dnsmasq.hash deleted file mode 100644 index 2a7cda4a..00000000 --- a/buildroot-2021.05/package/dnsmasq/dnsmasq.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.85.tar.xz.asc -sha256 ad98d3803df687e5b938080f3d25c628fe41c878752d03fbc6199787fee312fa dnsmasq-2.85.tar.xz -# Locally calculated -sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING-v3 diff --git a/buildroot-2021.05/package/dnsmasq/dnsmasq.mk b/buildroot-2021.05/package/dnsmasq/dnsmasq.mk deleted file mode 100644 index 20067575..00000000 --- a/buildroot-2021.05/package/dnsmasq/dnsmasq.mk +++ /dev/null @@ -1,97 +0,0 @@ -################################################################################ -# -# dnsmasq -# -################################################################################ - -DNSMASQ_VERSION = 2.85 -DNSMASQ_SOURCE = dnsmasq-$(DNSMASQ_VERSION).tar.xz -DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq -DNSMASQ_MAKE_ENV = $(TARGET_MAKE_ENV) CC="$(TARGET_CC)" -DNSMASQ_MAKE_OPTS = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr CFLAGS="$(TARGET_CFLAGS)" -DNSMASQ_MAKE_OPTS += DESTDIR=$(TARGET_DIR) LDFLAGS="$(TARGET_LDFLAGS)" \ - LIBS+=$(TARGET_NLS_LIBS) -DNSMASQ_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) -DNSMASQ_LICENSE = GPL-2.0 or GPL-3.0 -DNSMASQ_LICENSE_FILES = COPYING COPYING-v3 -DNSMASQ_CPE_ID_VENDOR = thekelleys - -DNSMASQ_I18N = $(if $(BR2_SYSTEM_ENABLE_NLS),-i18n) - -ifneq ($(BR2_PACKAGE_DNSMASQ_DHCP),y) -DNSMASQ_COPTS += -DNO_DHCP -endif - -ifeq ($(BR2_PACKAGE_DNSMASQ_DNSSEC),y) -DNSMASQ_DEPENDENCIES += gmp nettle -DNSMASQ_COPTS += -DHAVE_DNSSEC -ifeq ($(BR2_STATIC_LIBS),y) -DNSMASQ_COPTS += -DHAVE_DNSSEC_STATIC -endif -endif - -ifneq ($(BR2_PACKAGE_DNSMASQ_TFTP),y) -DNSMASQ_COPTS += -DNO_TFTP -endif - -ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y) -ifeq ($(BR2_PACKAGE_LIBIDN2),y) -DNSMASQ_DEPENDENCIES += libidn2 -DNSMASQ_COPTS += -DHAVE_LIBIDN2 -else -DNSMASQ_DEPENDENCIES += libidn -DNSMASQ_COPTS += -DHAVE_IDN -endif -endif - -ifeq ($(BR2_PACKAGE_DNSMASQ_CONNTRACK),y) -DNSMASQ_DEPENDENCIES += libnetfilter_conntrack -DNSMASQ_COPTS += -DHAVE_CONNTRACK -endif - -ifeq ($(BR2_PACKAGE_DNSMASQ_LUA),y) -DNSMASQ_DEPENDENCIES += lua -DNSMASQ_COPTS += -DHAVE_LUASCRIPT - -# liblua uses dlopen when dynamically linked -ifneq ($(BR2_STATIC_LIBS),y) -DNSMASQ_MAKE_OPTS += LIBS+="-ldl" -endif - -define DNSMASQ_TWEAK_LIBLUA - $(SED) 's/lua5.2/lua/g' $(DNSMASQ_DIR)/Makefile -endef -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -DNSMASQ_DEPENDENCIES += dbus -DNSMASQ_COPTS += -DHAVE_DBUS - -define DNSMASQ_INSTALL_DBUS - $(INSTALL) -m 0644 -D $(@D)/dbus/dnsmasq.conf \ - $(TARGET_DIR)/etc/dbus-1/system.d/dnsmasq.conf -endef -endif - -ifeq ($(BR2_PACKAGE_UBUS),y) -DNSMASQ_DEPENDENCIES += ubus -DNSMASQ_COPTS += -DHAVE_UBUS -endif - -define DNSMASQ_BUILD_CMDS - $(DNSMASQ_TWEAK_LIBLUA) - $(DNSMASQ_MAKE_ENV) $(MAKE) -C $(@D) $(DNSMASQ_MAKE_OPTS) all$(DNSMASQ_I18N) -endef - -define DNSMASQ_INSTALL_TARGET_CMDS - $(DNSMASQ_MAKE_ENV) $(MAKE) -C $(@D) $(DNSMASQ_MAKE_OPTS) install$(DNSMASQ_I18N) - mkdir -p $(TARGET_DIR)/var/lib/misc/ - $(DNSMASQ_INSTALL_DBUS) -endef - -define DNSMASQ_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/dnsmasq/S80dnsmasq \ - $(TARGET_DIR)/etc/init.d/S80dnsmasq -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/doc-asciidoc.mk b/buildroot-2021.05/package/doc-asciidoc.mk deleted file mode 100644 index be92496c..00000000 --- a/buildroot-2021.05/package/doc-asciidoc.mk +++ /dev/null @@ -1,190 +0,0 @@ -# we can't use suitable-host-package here because that's not available in -# the context of 'make release' -.PHONY: asciidoc-check-dependencies -asciidoc-check-dependencies: - $(Q)if [ -z "$(shell support/dependencies/check-host-asciidoc.sh)" ]; then \ - echo "You need a sufficiently recent asciidoc on your host" \ - "to generate documents"; \ - exit 1; \ - fi - $(Q)if [ -z "`which w3m 2>/dev/null`" ]; then \ - echo "You need w3m on your host to generate documents"; \ - exit 1; \ - fi - -asciidoc-check-dependencies-pdf: - $(Q)if [ -z "`which dblatex 2>/dev/null`" ]; then \ - echo "You need dblatex on your host to generate PDF documents"; \ - exit 1; \ - fi - -# PDF generation is broken because of a bug in xsltproc program provided -# by libxslt <=1.1.28, which does not honor an option we need to set. -# Fortunately, this bug is already fixed upstream: -# https://gitorious.org/libxslt/libxslt/commit/5af7ad745323004984287e48b42712e7305de35c -# -# So, bail out when trying to build a PDF using a buggy version of the -# xsltproc program. -# -# So, to overcome this issue and being able to build a PDF, you can -# build xsltproc from its source repository, then run: -# $ PATH=/path/to/custom-xsltproc/bin:${PATH} make manual -GENDOC_XSLTPROC_IS_BROKEN = \ - $(shell xsltproc --maxvars 0 >/dev/null 2>/dev/null || echo y) - -# Apply this configuration to all documents -BR_ASCIIDOC_CONF = docs/conf/asciidoc.conf - -################################################################################ -# ASCIIDOC_INNER -- generates the make targets needed to build a specific type of -# asciidoc documentation. -# -# argument 1 is the name of the document and the top-level asciidoc file must -# have the same name -# argument 2 is the uppercase name of the document -# argument 3 is the directory containing the document -# argument 4 is the type of document to generate (-f argument of a2x) -# argument 5 is the document type as used in the make target -# argument 6 is the output file extension for the document type -# argument 7 is the human text for the document type -# argument 8 (optional) are extra arguments for a2x -# -# The variable _SOURCES defines the dependencies. -# -# Since this function will be called from within an $(eval ...) -# all variable references except the arguments must be $$-quoted. -################################################################################ -define ASCIIDOC_INNER -$(1): $(1)-$(5) -.PHONY: $(1)-$(5) -$(1)-$(5): $$(O)/docs/$(1)/$(1).$(6) - -asciidoc-check-dependencies-$(5): -.PHONY: $(1)-check-dependencies-$(5) -# Single line, because splitting a foreach is not easy... -$(1)-check-dependencies-$(5): asciidoc-check-dependencies-$(5) - $$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_$$(call UPPERCASE,$(5))_HOOKS),$$(call $$(hook))$$(sep)) - -# Include Buildroot's AsciiDoc configuration first: -# - generic configuration, -# - then output-specific configuration -ifneq ($$(wildcard $$(BR_ASCIIDOC_CONF)),) -$(2)_$(4)_ASCIIDOC_OPTS += -f $$(BR_ASCIIDOC_CONF) -endif -BR_$(4)_ASCIIDOC_CONF = docs/conf/asciidoc-$(4).conf -ifneq ($$(wildcard $$(BR_$(4)_ASCIIDOC_CONF)),) -$(2)_$(4)_ASCIIDOC_OPTS += -f $$(BR_$(4)_ASCIIDOC_CONF) -endif - -# Then include the document's AsciiDoc configuration: -# - generic configuration, -# - then output-specific configuration -ifneq ($$(wildcard $$($(2)_ASCIIDOC_CONF)),) -$(2)_$(4)_ASCIIDOC_OPTS += -f $$($(2)_ASCIIDOC_CONF) -endif -$(2)_$(4)_ASCIIDOC_CONF = $(3)/asciidoc-$(4).conf -ifneq ($$(wildcard $$($(2)_$(4)_ASCIIDOC_CONF)),) -$(2)_$(4)_ASCIIDOC_OPTS += -f $$($(2)_$(4)_ASCIIDOC_CONF) -endif - -# Handle a2x warning about --destination-dir option only applicable to HTML -# based outputs. So: -# - use the --destination-dir option if possible (html and split-html), -# - otherwise copy the generated document to the output directory -$(2)_$(4)_A2X_OPTS = -ifneq ($$(filter $(5),html split-html),) -$(2)_$(4)_A2X_OPTS += --destination-dir="$$(@D)" -else -define $(2)_$(4)_INSTALL_CMDS - $$(Q)cp -f $$(BUILD_DIR)/docs/$(1)/$(1).$(6) $$(@D) -endef -endif - -$$(O)/docs/$(1)/$(1).$(6): export TZ=UTC - -ifeq ($(6)-$$(GENDOC_XSLTPROC_IS_BROKEN),pdf-y) -$$(O)/docs/$(1)/$(1).$(6): - $$(warning PDF generation is disabled because of a bug in \ - xsltproc. To be able to generate a PDF, you should \ - build xsltproc from the libxslt sources >=1.1.29 and pass it \ - to make through the command line: \ - 'PATH=/path/to/custom-xsltproc/bin:$$$${PATH} make $(1)-pdf') -else -# -r $(@D) is there for documents that use external filters; those filters -# generate code at the same location it finds the document's source files. -$$(O)/docs/$(1)/$(1).$(6): $$($(2)_SOURCES) \ - $(1)-check-dependencies \ - $(1)-check-dependencies-$(5) \ - $(1)-prepare-sources - $$(Q)$$(call MESSAGE,"Generating $(7) $(1)...") - $$(Q)mkdir -p $$(@D) - $$(Q)a2x $(8) -f $(4) -d book -L \ - $$(foreach r,$$($(2)_RESOURCES) $$(@D), \ - --resource="$$(abspath $$(r))") \ - $$($(2)_$(4)_A2X_OPTS) \ - --asciidoc-opts="$$($(2)_$(4)_ASCIIDOC_OPTS)" \ - $$(BUILD_DIR)/docs/$(1)/$(1).txt -# install the generated document - $$($(2)_$(4)_INSTALL_CMDS) -endif -endef - -################################################################################ -# ASCIIDOC -- generates the make targets needed to build asciidoc documentation. -# -# argument 1 is the lowercase name of the document; the document's main file -# must have the same name, with the .txt extension -# argument 2 is the uppercase name of the document -# argument 3 is the directory containing the document's sources -# -# The variable _SOURCES defines the dependencies. -# The variable _RESOURCES defines where the document's -# resources, such as images, are located; must be an absolute path. -################################################################################ -define ASCIIDOC -# Single line, because splitting a foreach is not easy... -.PHONY: $(1)-check-dependencies -$(1)-check-dependencies: asciidoc-check-dependencies $$($(2)_DEPENDENCIES) - $$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_HOOKS),$$(call $$(hook))$$(sep)) - -# Single line, because splitting a foreach is not easy... -# Do not touch the stamp file, so we get to rsync again every time we build -# the document. -$$(BUILD_DIR)/docs/$(1)/.stamp_doc_rsynced: - $$(Q)$$(call MESSAGE,"Preparing the $(1) sources...") - $$(Q)mkdir -p $$(@D) - $$(Q)rsync -a $(3) $$(@D) - $$(Q)$$(foreach hook,$$($(2)_POST_RSYNC_HOOKS),$$(call $$(hook))$$(sep)) - -.PHONY: $(1)-prepare-sources -$(1)-prepare-sources: $$(BUILD_DIR)/docs/$(1)/.stamp_doc_rsynced - -$(2)_ASCIIDOC_CONF = $(3)/asciidoc.conf - -$(call ASCIIDOC_INNER,$(1),$(2),$(3),xhtml,html,html,HTML,\ - --xsltproc-opts "--stringparam toc.section.depth 1") - -$(call ASCIIDOC_INNER,$(1),$(2),$(3),chunked,split-html,chunked,split HTML,\ - --xsltproc-opts "--stringparam toc.section.depth 1") - -# dblatex needs to pass the '--maxvars ...' option to xsltproc to prevent it -# from reaching the template recursion limit when processing the (long) target -# package table and bailing out. -$(call ASCIIDOC_INNER,$(1),$(2),$(3),pdf,pdf,pdf,PDF,\ - --dblatex-opts "-P latex.output.revhistory=0 -x '--maxvars 100000'") - -$(call ASCIIDOC_INNER,$(1),$(2),$(3),text,text,text,text) - -$(call ASCIIDOC_INNER,$(1),$(2),$(3),epub,epub,epub,ePUB) - -clean: $(1)-clean -$(1)-clean: - $$(Q)$$(RM) -rf $$(BUILD_DIR)/docs/$(1) -.PHONY: $(1) $(1)-clean -endef - -################################################################################ -# asciidoc-document -- the target generator macro for asciidoc documents -################################################################################ - -asciidoc-document = $(call ASCIIDOC,$(pkgname),$(call UPPERCASE,$(pkgname)),$(pkgdir)) diff --git a/buildroot-2021.05/package/docker-cli/docker-cli.hash b/buildroot-2021.05/package/docker-cli/docker-cli.hash deleted file mode 100644 index bb3444c2..00000000 --- a/buildroot-2021.05/package/docker-cli/docker-cli.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 eda53b96ab83a59502df2e5e00ab7ee867243259407ef454be55e695303c1113 docker-cli-20.10.6.tar.gz -sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/buildroot-2021.05/package/docker-cli/docker-cli.mk b/buildroot-2021.05/package/docker-cli/docker-cli.mk deleted file mode 100644 index 9c3690e4..00000000 --- a/buildroot-2021.05/package/docker-cli/docker-cli.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# docker-cli -# -################################################################################ - -DOCKER_CLI_VERSION = 20.10.6 -DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) - -DOCKER_CLI_LICENSE = Apache-2.0 -DOCKER_CLI_LICENSE_FILES = LICENSE - -DOCKER_CLI_DEPENDENCIES = host-pkgconf - -DOCKER_CLI_CPE_ID_VENDOR = docker -DOCKER_CLI_CPE_ID_PRODUCT = docker - -DOCKER_CLI_TAGS = autogen -DOCKER_CLI_BUILD_TARGETS = cmd/docker -DOCKER_CLI_GOMOD = github.com/docker/cli - -DOCKER_CLI_LDFLAGS = \ - -X $(DOCKER_CLI_GOMOD)/cli/version.GitCommit=$(DOCKER_CLI_VERSION) \ - -X $(DOCKER_CLI_GOMOD)/cli/version.Version=$(DOCKER_CLI_VERSION) - -ifeq ($(BR2_PACKAGE_DOCKER_CLI_STATIC),y) -DOCKER_CLI_LDFLAGS += -extldflags '-static' -DOCKER_CLI_TAGS += osusergo netgo -DOCKER_CLI_GO_ENV = CGO_ENABLED=no -endif - -DOCKER_CLI_INSTALL_BINS = $(notdir $(DOCKER_CLI_BUILD_TARGETS)) - -$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/docker-compose/Config.in b/buildroot-2021.05/package/docker-compose/Config.in deleted file mode 100644 index 74af8e03..00000000 --- a/buildroot-2021.05/package/docker-compose/Config.in +++ /dev/null @@ -1,32 +0,0 @@ -config BR2_PACKAGE_DOCKER_COMPOSE - bool "docker-compose" - depends on BR2_USE_MMU # python - depends on BR2_USE_WCHAR # python - depends on BR2_TOOLCHAIN_HAS_THREADS # python - depends on !BR2_STATIC_LIBS # python - depends on BR2_INSTALL_LIBSTDCPP # python-paramiko -> python-cryptography - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME \ - if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_CACHED_PROPERTY # runtime - select BR2_PACKAGE_PYTHON_DOCOPT # runtime - select BR2_PACKAGE_PYTHON_PARAMIKO # runtime - select BR2_PACKAGE_PYTHON_PYYAML # runtime - select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_TEXTTABLE # runtime - select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime - select BR2_PACKAGE_PYTHON_DOCKER # runtime - select BR2_PACKAGE_PYTHON_DOCKERPTY # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime - help - Multi-container orchestration for Docker. - - https://www.docker.com/ - -comment "docker-compose needs a toolchain w/ C++, wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/docker-engine/0001-fix-port-forwarding-with-ipv6.disable-1.patch b/buildroot-2021.05/package/docker-engine/0001-fix-port-forwarding-with-ipv6.disable-1.patch deleted file mode 100644 index c5161ef0..00000000 --- a/buildroot-2021.05/package/docker-engine/0001-fix-port-forwarding-with-ipv6.disable-1.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 7b9c2905883df5171fda10a364a81b8c6176c8e2 Mon Sep 17 00:00:00 2001 -From: Akihiro Suda -Date: Mon, 26 Apr 2021 15:28:40 +0900 -Subject: [PATCH] fix port forwarding with ipv6.disable=1 - -Make `docker run -p 80:80` functional again on environments with kernel boot parameter `ipv6.disable=1`. - -Fix moby/moby issue 42288 - -Signed-off-by: Akihiro Suda -[Upstream: https://github.com/moby/libnetwork/pull/2635, - https://github.com/moby/moby/pull/42322] -[Rework path/drop test for docker-engine] -Signed-off-by: Peter Korsgaard ---- - vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go | 31 +++++++++++++++++++++++++++++++ - 1 file changed, 35 insertions(+), 0 deletion(-) - -diff --git a/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go b/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go -index 946130ec..17bf36f9 100644 ---- a/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go -+++ b/vendor/github.com/docker/libnetwork/drivers/bridge/port_mapping.go -@@ -5,6 +5,7 @@ import ( - "errors" - "fmt" - "net" -+ "sync" - - "github.com/docker/libnetwork/types" - "github.com/ishidawataru/sctp" -@@ -50,6 +51,13 @@ func (n *bridgeNetwork) allocatePortsInternal(bindings []types.PortBinding, cont - bs = append(bs, bIPv4) - } - -+ // skip adding implicit v6 addr, when the kernel was booted with `ipv6.disable=1` -+ // https://github.com/moby/moby/issues/42288 -+ isV6Binding := c.HostIP != nil && c.HostIP.To4() == nil -+ if !isV6Binding && !IsV6Listenable() { -+ continue -+ } -+ - // Allocate IPv6 Port mappings - // If the container has no IPv6 address, allow proxying host IPv6 traffic to it - // by setting up the binding with the IPv4 interface if the userland proxy is enabled -@@ -211,3 +219,26 @@ func (n *bridgeNetwork) releasePort(bnd types.PortBinding) error { - - return portmapper.Unmap(host) - } -+ -+var ( -+ v6ListenableCached bool -+ v6ListenableOnce sync.Once -+) -+ -+// IsV6Listenable returns true when `[::1]:0` is listenable. -+// IsV6Listenable returns false mostly when the kernel was booted with `ipv6.disable=1` option. -+func IsV6Listenable() bool { -+ v6ListenableOnce.Do(func() { -+ ln, err := net.Listen("tcp6", "[::1]:0") -+ if err != nil { -+ // When the kernel was booted with `ipv6.disable=1`, -+ // we get err "listen tcp6 [::1]:0: socket: address family not supported by protocol" -+ // https://github.com/moby/moby/issues/42288 -+ logrus.Debugf("port_mapping: v6Listenable=false (%v)", err) -+ } else { -+ v6ListenableCached = true -+ ln.Close() -+ } -+ }) -+ return v6ListenableCached -+} --- -2.20.1 - diff --git a/buildroot-2021.05/package/docker-engine/Config.in b/buildroot-2021.05/package/docker-engine/Config.in deleted file mode 100644 index 911cbfe4..00000000 --- a/buildroot-2021.05/package/docker-engine/Config.in +++ /dev/null @@ -1,57 +0,0 @@ -config BR2_PACKAGE_DOCKER_ENGINE - bool "docker-engine" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd -> runc - depends on BR2_USE_MMU # containerd - select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency - select BR2_PACKAGE_CONTAINERD # runtime dependency - select BR2_PACKAGE_DOCKER_PROXY # runtime dependency - select BR2_PACKAGE_IPTABLES # runtime dependency - select BR2_PACKAGE_SQLITE # runtime dependency - help - Docker is a platform to build, ship, - and run applications as lightweight containers. - - https://github.com/docker/docker - -if BR2_PACKAGE_DOCKER_ENGINE - -config BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL - bool "build experimental features" - -config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS - bool "btrfs filesystem driver" - depends on BR2_USE_MMU # btrfs-progs - depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs - select BR2_PACKAGE_BTRFS_PROGS - help - Build the btrfs filesystem driver for Docker. - -config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER - bool "devicemapper filesystem driver" - depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 - depends on BR2_USE_MMU # lvm2 - depends on !BR2_STATIC_LIBS # lvm2 - select BR2_PACKAGE_LVM2 - help - Build the devicemapper filesystem driver for Docker. - -config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS - bool "vfs filesystem driver" - depends on BR2_USE_WCHAR # gvfs - depends on BR2_USE_MMU # gvfs - depends on BR2_TOOLCHAIN_HAS_THREADS # gvfs - depends on !BR2_STATIC_LIBS # gvfs - select BR2_PACKAGE_GVFS - help - Build the vfs filesystem driver for Docker. - -endif - -comment "docker-engine needs a glibc or musl toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/docker-engine/docker-engine.hash b/buildroot-2021.05/package/docker-engine/docker-engine.hash deleted file mode 100644 index 6c55b9a9..00000000 --- a/buildroot-2021.05/package/docker-engine/docker-engine.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 fd7f5571b1f64f26b5ca520a3e1fefb33c190f3732b931051c23a76bdba5000e docker-engine-20.10.6.tar.gz -sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/buildroot-2021.05/package/docker-engine/docker-engine.mk b/buildroot-2021.05/package/docker-engine/docker-engine.mk deleted file mode 100644 index 10ecbf60..00000000 --- a/buildroot-2021.05/package/docker-engine/docker-engine.mk +++ /dev/null @@ -1,138 +0,0 @@ -################################################################################ -# -# docker-engine -# -################################################################################ - -DOCKER_ENGINE_VERSION = 20.10.6 -DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) - -DOCKER_ENGINE_LICENSE = Apache-2.0 -DOCKER_ENGINE_LICENSE_FILES = LICENSE - -DOCKER_ENGINE_DEPENDENCIES = host-pkgconf -DOCKER_ENGINE_GOMOD = github.com/docker/docker - -DOCKER_ENGINE_CPE_ID_VENDOR = docker -DOCKER_ENGINE_CPE_ID_PRODUCT = docker - -DOCKER_ENGINE_LDFLAGS = \ - -X $(DOCKER_ENGINE_GOMOD)/dockerversion.BuildTime="" \ - -X $(DOCKER_ENGINE_GOMOD)/dockerversion.GitCommit="buildroot" \ - -X $(DOCKER_ENGINE_GOMOD)/dockerversion.IAmStatic="false" \ - -X $(DOCKER_ENGINE_GOMOD)/dockerversion.InitCommitID="" \ - -X $(DOCKER_ENGINE_GOMOD)/dockerversion.Version="$(DOCKER_ENGINE_VERSION)" - -DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs -DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd - -ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) -DOCKER_ENGINE_DEPENDENCIES += libapparmor -DOCKER_ENGINE_TAGS += apparmor -endif - -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -DOCKER_ENGINE_TAGS += seccomp -DOCKER_ENGINE_DEPENDENCIES += libseccomp -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -DOCKER_ENGINE_DEPENDENCIES += systemd -DOCKER_ENGINE_TAGS += systemd journald -endif -ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL),y) -DOCKER_ENGINE_TAGS += experimental -endif - -ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS),y) -DOCKER_ENGINE_DEPENDENCIES += btrfs-progs -else -DOCKER_ENGINE_TAGS += exclude_graphdriver_btrfs -endif - -ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER),y) -DOCKER_ENGINE_DEPENDENCIES += lvm2 -else -DOCKER_ENGINE_TAGS += exclude_graphdriver_devicemapper -endif - -ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS),y) -DOCKER_ENGINE_DEPENDENCIES += gvfs -else -DOCKER_ENGINE_TAGS += exclude_graphdriver_vfs -endif - -DOCKER_ENGINE_INSTALL_BINS = $(notdir $(DOCKER_ENGINE_BUILD_TARGETS)) - -define DOCKER_ENGINE_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(@D)/contrib/init/systemd/docker.service \ - $(TARGET_DIR)/usr/lib/systemd/system/docker.service - $(INSTALL) -D -m 0644 $(@D)/contrib/init/systemd/docker.socket \ - $(TARGET_DIR)/usr/lib/systemd/system/docker.socket -endef - -define DOCKER_ENGINE_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/docker-engine/S60dockerd \ - $(TARGET_DIR)/etc/init.d/S60dockerd -endef - -define DOCKER_ENGINE_USERS - - - docker -1 * - - - Docker Application Container Framework -endef - -ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS),y) -define DOCKER_ENGINE_DRIVER_BTRFS_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_BTRFS_FS) - $(call KCONFIG_ENABLE_OPT,CONFIG_BTRFS_FS_POSIX_ACL) -endef -endif - -ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER),y) -define DOCKER_ENGINE_DRIVER_DM_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_MD) - $(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_DM) - $(call KCONFIG_ENABLE_OPT,CONFIG_MD_THIN_PROVISIONING) -endef -endif - -# based on contrib/check-config.sh -define DOCKER_ENGINE_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_POSIX_MQUEUE) - $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS) - $(call KCONFIG_ENABLE_OPT,CONFIG_MEMCG) - $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUP_SCHED) - $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUP_FREEZER) - $(call KCONFIG_ENABLE_OPT,CONFIG_CPUSETS) - $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUP_DEVICE) - $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUP_CPUACCT) - $(call KCONFIG_ENABLE_OPT,CONFIG_NAMESPACES) - $(call KCONFIG_ENABLE_OPT,CONFIG_UTS_NS) - $(call KCONFIG_ENABLE_OPT,CONFIG_IPC_NS) - $(call KCONFIG_ENABLE_OPT,CONFIG_PID_NS) - $(call KCONFIG_ENABLE_OPT,CONFIG_NET_NS) - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED) - $(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE_NETFILTER) - $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK) - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XTABLES) - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XT_MATCH_ADDRTYPE) - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XT_MATCH_CONNTRACK) - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XT_MATCH_IPVS) - $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES) - $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER) - $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_NAT) - $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_TARGET_MASQUERADE) - $(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE) - $(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE) - $(call KCONFIG_ENABLE_OPT,CONFIG_DUMMY) - $(call KCONFIG_ENABLE_OPT,CONFIG_MACVLAN) - $(call KCONFIG_ENABLE_OPT,CONFIG_IPVLAN) - $(call KCONFIG_ENABLE_OPT,CONFIG_VXLAN) - $(call KCONFIG_ENABLE_OPT,CONFIG_VETH) - $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) - $(call KCONFIG_ENABLE_OPT,CONFIG_KEYS) - $(DOCKER_ENGINE_DRIVER_BTRFS_LINUX_CONFIG_FIXUPS) - $(DOCKER_ENGINE_DRIVER_DM_LINUX_CONFIG_FIXUPS) -endef - -$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/domoticz/domoticz.hash b/buildroot-2021.05/package/domoticz/domoticz.hash deleted file mode 100644 index dcd5bead..00000000 --- a/buildroot-2021.05/package/domoticz/domoticz.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 d8e99e0f96873aa105b57f73656ef7a14c89e0acf2649b2d4ef1167b14bab4b2 domoticz-2021.1-br1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 License.txt diff --git a/buildroot-2021.05/package/domoticz/domoticz.mk b/buildroot-2021.05/package/domoticz/domoticz.mk deleted file mode 100644 index ee5a41b8..00000000 --- a/buildroot-2021.05/package/domoticz/domoticz.mk +++ /dev/null @@ -1,96 +0,0 @@ -################################################################################ -# -# domoticz -# -################################################################################ - -DOMOTICZ_VERSION = 2021.1 -DOMOTICZ_SITE = https://github.com/domoticz/domoticz -DOMOTICZ_SITE_METHOD = git -DOMOTICZ_GIT_SUBMODULES = YES -DOMOTICZ_LICENSE = GPL-3.0 -DOMOTICZ_LICENSE_FILES = License.txt -DOMOTICZ_CPE_ID_VENDOR = domoticz -DOMOTICZ_DEPENDENCIES = \ - boost \ - cereal \ - fmt \ - host-pkgconf \ - jsoncpp \ - libcurl \ - lua \ - mosquitto \ - openssl \ - sqlite \ - zlib - -# Disable precompiled header as it needs cmake >= 3.16 -DOMOTICZ_CONF_OPTS = -DUSE_PRECOMPILED_HEADER=OFF - -# Due to the dependency on mosquitto, domoticz depends on -# !BR2_STATIC_LIBS so set USE_STATIC_BOOST and USE_OPENSSL_STATIC to OFF -DOMOTICZ_CONF_OPTS += \ - -DUSE_STATIC_BOOST=OFF \ - -DUSE_OPENSSL_STATIC=OFF - -# Do not use any built-in libraries which are enabled by default for -# jsoncpp, fmt, sqlite and mqtt -DOMOTICZ_CONF_OPTS += \ - -DUSE_BUILTIN_JSONCPP=OFF \ - -DUSE_BUILTIN_LIBFMT=OFF \ - -DUSE_BUILTIN_SQLITE=OFF \ - -DUSE_BUILTIN_MQTT=OFF - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -DOMOTICZ_DEPENDENCIES += libusb -DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=ON -else -DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENZWAVE),y) -DOMOTICZ_DEPENDENCIES += openzwave - -# Due to the dependency on mosquitto, domoticz depends on -# !BR2_STATIC_LIBS so set USE_STATIC_OPENZWAVE to OFF otherwise -# domoticz will not find the openzwave library as it searches by -# default a static library. -DOMOTICZ_CONF_OPTS += -DUSE_STATIC_OPENZWAVE=OFF -endif - -ifeq ($(BR2_PACKAGE_PYTHON3),y) -DOMOTICZ_DEPENDENCIES += python3 -DOMOTICZ_CONF_OPTS += -DUSE_PYTHON=ON -else -DOMOTICZ_CONF_OPTS += -DUSE_PYTHON=OFF -endif - -# Install domoticz in a dedicated directory (/opt/domoticz) as -# domoticz expects by default that all its subdirectories (www, -# Config, scripts, ...) are in the binary directory. -DOMOTICZ_TARGET_DIR = /opt/domoticz -DOMOTICZ_CONF_OPTS += -DCMAKE_INSTALL_PREFIX=$(DOMOTICZ_TARGET_DIR) - -# Delete License.txt and updatedomo files installed by domoticz in target -# directory -# Do not delete History.txt as it is used in source code -define DOMOTICZ_REMOVE_UNNEEDED_FILES - $(RM) $(TARGET_DIR)/$(DOMOTICZ_TARGET_DIR)/License.txt - $(RM) $(TARGET_DIR)/$(DOMOTICZ_TARGET_DIR)/updatedomo -endef - -DOMOTICZ_POST_INSTALL_TARGET_HOOKS += DOMOTICZ_REMOVE_UNNEEDED_FILES - -# Use dedicated init scripts for systemV and systemd instead of using -# domoticz.sh as it is not compatible with buildroot init system -define DOMOTICZ_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/domoticz/S99domoticz \ - $(TARGET_DIR)/etc/init.d/S99domoticz -endef - -define DOMOTICZ_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/domoticz/domoticz.service \ - $(TARGET_DIR)/usr/lib/systemd/system/domoticz.service -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/dosfstools/dosfstools.mk b/buildroot-2021.05/package/dosfstools/dosfstools.mk deleted file mode 100644 index 77b560ee..00000000 --- a/buildroot-2021.05/package/dosfstools/dosfstools.mk +++ /dev/null @@ -1,59 +0,0 @@ -################################################################################ -# -# dosfstools -# -################################################################################ - -DOSFSTOOLS_VERSION = 4.2 -DOSFSTOOLS_SITE = https://github.com/dosfstools/dosfstools/releases/download/v$(DOSFSTOOLS_VERSION) -DOSFSTOOLS_LICENSE = GPL-3.0+ -DOSFSTOOLS_LICENSE_FILES = COPYING -DOSFSTOOLS_CPE_ID_VENDOR = dosfstools_project -DOSFSTOOLS_CONF_OPTS = --enable-compat-symlinks --exec-prefix=/ -HOST_DOSFSTOOLS_CONF_OPTS = --enable-compat-symlinks - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -DOSFSTOOLS_CONF_OPTS += --with-udev -DOSFSTOOLS_DEPENDENCIES += udev -else -DOSFSTOOLS_CONF_OPTS += --without-udev -endif - -ifneq ($(BR2_ENABLE_LOCALE),y) -DOSFSTOOLS_CONF_OPTS += LIBS="-liconv" -DOSFSTOOLS_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_PACKAGE_DOSFSTOOLS_FATLABEL),y) -define DOSFSTOOLS_INSTALL_FATLABEL - $(INSTALL) -D -m 0755 $(@D)/src/fatlabel $(TARGET_DIR)/sbin/fatlabel - ln -sf fatlabel $(TARGET_DIR)/sbin/dosfslabel -endef -endif - -ifeq ($(BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT),y) -define DOSFSTOOLS_INSTALL_FSCK_FAT - $(INSTALL) -D -m 0755 $(@D)/src/fsck.fat $(TARGET_DIR)/sbin/fsck.fat - ln -sf fsck.fat $(TARGET_DIR)/sbin/fsck.vfat - ln -sf fsck.fat $(TARGET_DIR)/sbin/fsck.msdos - ln -sf fsck.fat $(TARGET_DIR)/sbin/dosfsck -endef -endif - -ifeq ($(BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT),y) -define DOSFSTOOLS_INSTALL_MKFS_FAT - $(INSTALL) -D -m 0755 $(@D)/src/mkfs.fat $(TARGET_DIR)/sbin/mkfs.fat - ln -sf mkfs.fat $(TARGET_DIR)/sbin/mkdosfs - ln -sf mkfs.fat $(TARGET_DIR)/sbin/mkfs.msdos - ln -sf mkfs.fat $(TARGET_DIR)/sbin/mkfs.vfat -endef -endif - -define DOSFSTOOLS_INSTALL_TARGET_CMDS - $(call DOSFSTOOLS_INSTALL_FATLABEL) - $(call DOSFSTOOLS_INSTALL_FSCK_FAT) - $(call DOSFSTOOLS_INSTALL_MKFS_FAT) -endef - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dovecot-pigeonhole/dovecot-pigeonhole.hash b/buildroot-2021.05/package/dovecot-pigeonhole/dovecot-pigeonhole.hash deleted file mode 100644 index cf3ebdbf..00000000 --- a/buildroot-2021.05/package/dovecot-pigeonhole/dovecot-pigeonhole.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed after checking signature -sha256 68ca0f78a3caa6b090a469f45c395c44cf16da8fcb3345755b1ca436c9ffb2d2 dovecot-2.3-pigeonhole-0.5.14.tar.gz -sha256 fc9e9522216f2a9a28b31300e3c73c1df56acc27dfae951bf516e7995366b51a COPYING diff --git a/buildroot-2021.05/package/dovecot-pigeonhole/dovecot-pigeonhole.mk b/buildroot-2021.05/package/dovecot-pigeonhole/dovecot-pigeonhole.mk deleted file mode 100644 index 35a1e1ef..00000000 --- a/buildroot-2021.05/package/dovecot-pigeonhole/dovecot-pigeonhole.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# dovecot-pigeonhole -# -################################################################################ - -DOVECOT_PIGEONHOLE_VERSION = 0.5.14 -DOVECOT_PIGEONHOLE_SOURCE = dovecot-2.3-pigeonhole-$(DOVECOT_PIGEONHOLE_VERSION).tar.gz -DOVECOT_PIGEONHOLE_SITE = https://pigeonhole.dovecot.org/releases/2.3 -DOVECOT_PIGEONHOLE_LICENSE = LGPL-2.1 -DOVECOT_PIGEONHOLE_LICENSE_FILES = COPYING -DOVECOT_PIGEONHOLE_CPE_ID_VENDOR = dovecot -DOVECOT_PIGEONHOLE_CPE_ID_PRODUCT = pigeonhole -DOVECOT_PIGEONHOLE_DEPENDENCIES = dovecot - -DOVECOT_PIGEONHOLE_CONF_OPTS = --with-dovecot=$(STAGING_DIR)/usr/lib - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -define DOVECOT_PIGEONHOLE_FIXUP_DOVECOT_CONFIG - $(SED) 's,$(PER_PACKAGE_DIR)/dovecot/,$(PER_PACKAGE_DIR)/dovecot-pigeonhole/,g' \ - $(STAGING_DIR)/usr/lib/dovecot-config -endef -DOVECOT_PIGEONHOLE_PRE_CONFIGURE_HOOKS = DOVECOT_PIGEONHOLE_FIXUP_DOVECOT_CONFIG -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dovecot/dovecot.hash b/buildroot-2021.05/package/dovecot/dovecot.hash deleted file mode 100644 index edb9d20e..00000000 --- a/buildroot-2021.05/package/dovecot/dovecot.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed after checking signature -sha256 c8b3d7f3af1e558a3ff0f970309d4013a4d3ce136f8c02a53a3b05f345b9a34a dovecot-2.3.14.tar.gz -sha256 319a9830aab406109cd67cb45496587566a8123203d66d037b209ca3e13de02a COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL -sha256 52b8c95fabb19575281874b661ef7968ea47e8f5d74ba0dd40ce512e52b3fc97 COPYING.MIT diff --git a/buildroot-2021.05/package/dovecot/dovecot.mk b/buildroot-2021.05/package/dovecot/dovecot.mk deleted file mode 100644 index a38cf194..00000000 --- a/buildroot-2021.05/package/dovecot/dovecot.mk +++ /dev/null @@ -1,132 +0,0 @@ -################################################################################ -# -# dovecot -# -################################################################################ - -DOVECOT_VERSION_MAJOR = 2.3 -DOVECOT_VERSION = $(DOVECOT_VERSION_MAJOR).14 -DOVECOT_SITE = https://dovecot.org/releases/$(DOVECOT_VERSION_MAJOR) -DOVECOT_INSTALL_STAGING = YES -DOVECOT_LICENSE = LGPL-2.1, MIT, Public Domain, BSD-3-Clause, Unicode-DFS-2015 -DOVECOT_LICENSE_FILES = COPYING COPYING.LGPL COPYING.MIT -DOVECOT_CPE_ID_VENDOR = dovecot -DOVECOT_DEPENDENCIES = \ - host-pkgconf \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ - openssl -# add host-gettext for AM_ICONV macro -DOVECOT_DEPENDENCIES += host-gettext - -DOVECOT_CONF_ENV = \ - RPCGEN=__disable_RPCGEN_rquota \ - i_cv_epoll_works=yes \ - i_cv_inotify_works=yes \ - i_cv_posix_fallocate_works=no \ - i_cv_signed_size_t=no \ - i_cv_gmtime_max_time_t=32 \ - i_cv_signed_time_t=yes \ - i_cv_mmap_plays_with_write=yes \ - i_cv_fd_passing=yes \ - i_cv_c99_vsnprintf=yes \ - lib_cv_va_copy=yes \ - lib_cv___va_copy=yes \ - lib_cv_va_val_copy=yes - -DOVECOT_CONF_OPTS = --without-docs --with-ssl=openssl - -ifeq ($(BR2_PACKAGE_DOVECOT_MYSQL)$(BR2_PACKAGE_DOVECOT_SQLITE),) -DOVECOT_CONF_OPTS += --without-sql -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -DOVECOT_CONF_OPTS += --with-bzlib -DOVECOT_DEPENDENCIES += bzip2 -else -DOVECOT_CONF_OPTS += --without-bzlib -endif - -ifeq ($(BR2_PACKAGE_ICU),y) -DOVECOT_CONF_OPTS += --with-icu -DOVECOT_DEPENDENCIES += icu -else -DOVECOT_CONF_OPTS += --without-icu -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -DOVECOT_CONF_OPTS += --with-libcap -DOVECOT_DEPENDENCIES += libcap -else -DOVECOT_CONF_OPTS += --without-libcap -endif - -ifeq ($(BR2_PACKAGE_LIBSODIUM),y) -DOVECOT_CONF_OPTS += --with-sodium -DOVECOT_DEPENDENCIES += libsodium -else -DOVECOT_CONF_OPTS += --without-sodium -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -DOVECOT_CONF_OPTS += --with-pam -DOVECOT_DEPENDENCIES += linux-pam -else -DOVECOT_CONF_OPTS += --without-pam -endif - -ifeq ($(BR2_PACKAGE_DOVECOT_MYSQL),y) -DOVECOT_CONF_ENV += MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config" -DOVECOT_CONF_OPTS += --with-mysql -DOVECOT_DEPENDENCIES += mysql -else -DOVECOT_CONF_OPTS += --without-mysql -endif - -ifeq ($(BR2_PACKAGE_DOVECOT_SQLITE),y) -DOVECOT_CONF_OPTS += --with-sqlite -DOVECOT_DEPENDENCIES += sqlite -else -DOVECOT_CONF_OPTS += --without-sqlite -endif - -ifeq ($(BR2_PACKAGE_LZ4),y) -DOVECOT_CONF_OPTS += --with-lz4 -DOVECOT_DEPENDENCIES += lz4 -else -DOVECOT_CONF_OPTS += --without-lz4 -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -DOVECOT_CONF_OPTS += --with-lzma -DOVECOT_DEPENDENCIES += xz -else -DOVECOT_CONF_OPTS += --without-lzma -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -DOVECOT_CONF_OPTS += --with-zlib -DOVECOT_DEPENDENCIES += zlib -else -DOVECOT_CONF_OPTS += --without-zlib -endif - -# fix paths to avoid using /usr/lib/dovecot -define DOVECOT_POST_CONFIGURE - for i in $$(find $(@D) -name "Makefile"); do \ - $(SED) 's%^pkglibdir =.*%pkglibdir = \$$(libdir)%' $$i; \ - $(SED) 's%^pkglibexecdir =.*%pkglibexecdir = \$$(libexecdir)%' $$i; \ - done -endef - -DOVECOT_POST_CONFIGURE_HOOKS += DOVECOT_POST_CONFIGURE - -# dovecot installs dovecot-config in usr/lib/, therefore -# DOVECOT_CONFIG_SCRIPTS can not be used to rewrite paths -define DOVECOT_FIX_STAGING_DOVECOT_CONFIG - $(SED) 's,^LIBDOVECOT_INCLUDE=.*$$,LIBDOVECOT_INCLUDE=\"-I$(STAGING_DIR)/usr/include/dovecot\",' $(STAGING_DIR)/usr/lib/dovecot-config - $(SED) 's,^LIBDOVECOT=.*$$,LIBDOVECOT=\"-L$(STAGING_DIR)/usr/lib -ldovecot\",' $(STAGING_DIR)/usr/lib/dovecot-config -endef - -DOVECOT_POST_INSTALL_STAGING_HOOKS += DOVECOT_FIX_STAGING_DOVECOT_CONFIG - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/drbd-utils/drbd-utils.hash b/buildroot-2021.05/package/drbd-utils/drbd-utils.hash deleted file mode 100644 index 47f6f6ec..00000000 --- a/buildroot-2021.05/package/drbd-utils/drbd-utils.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 e89be59e60fc33534481a5dcae90de242e35867512d85cef2878ca757bfb074a drbd-utils-9.15.0.tar.gz -sha256 1ca3e8f71b7de618968e7ea9fe47822d9e704dc476aef8544033abedec355225 COPYING diff --git a/buildroot-2021.05/package/drbd-utils/drbd-utils.mk b/buildroot-2021.05/package/drbd-utils/drbd-utils.mk deleted file mode 100644 index 8ea581eb..00000000 --- a/buildroot-2021.05/package/drbd-utils/drbd-utils.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# drbd-utils -# -################################################################################ - -DRBD_UTILS_VERSION = 9.15.0 -DRBD_UTILS_SITE = http://www.linbit.com/downloads/drbd/utils -DRBD_UTILS_LICENSE = GPL-2.0+ -DRBD_UTILS_LICENSE_FILES = COPYING -DRBD_UTILS_DEPENDENCIES = host-flex - -DRBD_UTILS_CONF_OPTS = --with-distro=generic --without-manual - -ifeq ($(BR2_INIT_SYSTEMD),y) -DRBD_UTILS_CONF_OPTS += --with-initscripttype=systemd -DRBD_UTILS_DEPENDENCIES += systemd -else -DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -DRBD_UTILS_CONF_OPTS += --with-udev=yes -DRBD_UTILS_DEPENDENCIES += udev -else -DRBD_UTILS_CONF_OPTS += --with-udev=no -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dstat/Config.in b/buildroot-2021.05/package/dstat/Config.in deleted file mode 100644 index 647a7033..00000000 --- a/buildroot-2021.05/package/dstat/Config.in +++ /dev/null @@ -1,28 +0,0 @@ -config BR2_PACKAGE_DSTAT - bool "dstat" - depends on BR2_USE_WCHAR # python - depends on BR2_USE_MMU # python - depends on BR2_TOOLCHAIN_HAS_THREADS # python - depends on !BR2_STATIC_LIBS # python - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON - help - Dstat, written in Python, is a versatile replacement for - vmstat, iostat, netstat and ifstat. Dstat overcomes some of - their limitations and adds some extra features, more counters - and flexibility. Dstat is handy for monitoring systems during - performance tuning tests, benchmarks or troubleshooting. - Dstat allows you to view all of your system resources in - real-time, you can e.g. compare disk utilization in - combination with interrupts from your IDE controller, or - compare the network bandwidth numbers directly with the disk - throughput (in the same interval). - - Note that to get proper output, your terminal size should be - known by the termios subsystem. This can be done by running - the 'resize' utility of busybox. - - http://dag.wieers.com/home-made/dstat/ - -comment "dstat needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/dt-utils/dt-utils.hash b/buildroot-2021.05/package/dt-utils/dt-utils.hash deleted file mode 100644 index e42e8257..00000000 --- a/buildroot-2021.05/package/dt-utils/dt-utils.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 737313719d7c04d7b9576fdc572d838c81ea22ea41a44c7646467018e67a0b97 dt-utils-v2019.01.0-br1.tar.gz -sha256 a45932c79317d15116eadbf1c9c6fc59117ec3c4621db3a876066defa723963b COPYING diff --git a/buildroot-2021.05/package/dt-utils/dt-utils.mk b/buildroot-2021.05/package/dt-utils/dt-utils.mk deleted file mode 100644 index 25c287d4..00000000 --- a/buildroot-2021.05/package/dt-utils/dt-utils.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# dt-utils -# -################################################################################ - -DT_UTILS_VERSION = v2019.01.0 -DT_UTILS_SITE = https://git.pengutronix.de/git/tools/dt-utils -DT_UTILS_SITE_METHOD = git -DT_UTILS_LICENSE = GPL-2.0 -DT_UTILS_LICENSE_FILES = COPYING -DT_UTILS_DEPENDENCIES = udev -DT_UTILS_AUTORECONF = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dtc/dtc.hash b/buildroot-2021.05/package/dtc/dtc.hash deleted file mode 100644 index 902ce1ba..00000000 --- a/buildroot-2021.05/package/dtc/dtc.hash +++ /dev/null @@ -1,7 +0,0 @@ -# from https://www.kernel.org/pub/software/utils/dtc/sha256sums.asc -sha256 10503b0217e1b07933e29e8d347a00015b2431bea5f59afe0bed3af30340c82d dtc-1.6.0.tar.xz - -# Hash for license files -sha256 78e1e1ce5728a990d59c7de61d4741c49185d5129daf783b386380a214328d68 README.license -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 GPL -sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd BSD-2-Clause diff --git a/buildroot-2021.05/package/dtc/dtc.mk b/buildroot-2021.05/package/dtc/dtc.mk deleted file mode 100644 index 749abc6c..00000000 --- a/buildroot-2021.05/package/dtc/dtc.mk +++ /dev/null @@ -1,79 +0,0 @@ -################################################################################ -# -# dtc -# -################################################################################ - -DTC_VERSION = 1.6.0 -DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz -DTC_SITE = https://www.kernel.org/pub/software/utils/dtc -DTC_LICENSE = GPL-2.0+ or BSD-2-Clause (library) -DTC_LICENSE_FILES = README.license GPL BSD-2-Clause -DTC_CPE_ID_VENDOR = dtc_project -DTC_INSTALL_STAGING = YES -DTC_DEPENDENCIES = host-bison host-flex host-pkgconf -HOST_DTC_DEPENDENCIES = host-bison host-flex host-pkgconf - -DTC_MAKE_OPTS = \ - PREFIX=/usr \ - NO_PYTHON=1 \ - NO_VALGRIND=1 - -# For the host, we install headers in a special subdirectory to avoid -# conflicts with the in-kernel libfdt copy. -HOST_DTC_MAKE_OPTS = \ - PREFIX=$(HOST_DIR) \ - INCLUDEDIR=$(HOST_DIR)/include/libfdt \ - NO_PYTHON=1 \ - NO_VALGRIND=1 \ - NO_YAML=1 - -ifeq ($(BR2_PACKAGE_LIBYAML),y) -DTC_DEPENDENCIES += libyaml -else -DTC_MAKE_OPTS += NO_YAML=1 -endif - -define DTC_POST_INSTALL_TARGET_RM_DTDIFF - rm -f $(TARGET_DIR)/usr/bin/dtdiff -endef - -ifeq ($(BR2_PACKAGE_DTC_PROGRAMS),y) - -DTC_LICENSE += , GPL-2.0+ (programs) -DTC_INSTALL_GOAL = install -ifeq ($(BR2_PACKAGE_BASH),) -DTC_POST_INSTALL_TARGET_HOOKS += DTC_POST_INSTALL_TARGET_RM_DTDIFF -endif - -else # $(BR2_PACKAGE_DTC_PROGRAMS) != y - -DTC_INSTALL_GOAL = install-lib - -endif # $(BR2_PACKAGE_DTC_PROGRAMS) != y - -define DTC_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) EXTRA_CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) $(DTC_MAKE_OPTS) -endef - -# For staging, only the library is needed -define DTC_INSTALL_STAGING_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) $(DTC_MAKE_OPTS) install-lib \ - install-includes -endef - -define DTC_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) $(DTC_MAKE_OPTS) $(DTC_INSTALL_GOAL) -endef - -# host build -define HOST_DTC_BUILD_CMDS - $(HOST_CONFIGURE_OPTS) $(MAKE) EXTRA_CFLAGS="$(HOST_CFLAGS) -fPIC" -C $(@D) $(HOST_DTC_MAKE_OPTS) -endef - -define HOST_DTC_INSTALL_CMDS - $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(HOST_DTC_MAKE_OPTS) install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/dtv-scan-tables/dtv-scan-tables.hash b/buildroot-2021.05/package/dtv-scan-tables/dtv-scan-tables.hash deleted file mode 100644 index a5740997..00000000 --- a/buildroot-2021.05/package/dtv-scan-tables/dtv-scan-tables.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 fc65b1f85195ab3d877f7ce802dc62b8c70b3a1815fa6e6a69de19a9d354c19a dtv-scan-tables-6d019038cd04e837d9dd58701202c15924c1c654-br1.tar.gz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING -sha256 4fd46f32582c29007657e2daad8d0a6d954cf4e9d2e47bae8f8d8c32765fc987 COPYING.LGPL diff --git a/buildroot-2021.05/package/dtv-scan-tables/dtv-scan-tables.mk b/buildroot-2021.05/package/dtv-scan-tables/dtv-scan-tables.mk deleted file mode 100644 index 5fad615b..00000000 --- a/buildroot-2021.05/package/dtv-scan-tables/dtv-scan-tables.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# dtv-scan-tables -# -################################################################################ - -DTV_SCAN_TABLES_VERSION = 6d019038cd04e837d9dd58701202c15924c1c654 -DTV_SCAN_TABLES_SITE = https://git.linuxtv.org/dtv-scan-tables.git -DTV_SCAN_TABLES_SITE_METHOD = git - -# This package only contains the transponders data. This is not a 'work' -# as per traditional copyright, but just a collection of 'facts', so there's -# probably no license to apply to these data files. -# However, the package prominently contains the COPYING and COPYING.LIB -# license files (respectively for the GPL-2.0 and the LGPL-2.1), so we use -# that as the licensing information. -DTV_SCAN_TABLES_LICENSE = GPL-2.0, LGPL-2.1 -DTV_SCAN_TABLES_LICENSE_FILES = COPYING COPYING.LGPL - -define DTV_SCAN_TABLES_INSTALL_TARGET_CMDS - for f in atsc dvb-c dvb-s dvb-t; do \ - $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/dvb/$$f; \ - $(INSTALL) $(@D)/$$f/* $(TARGET_DIR)/usr/share/dvb/$$f; \ - done -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/duktape/duktape.mk b/buildroot-2021.05/package/duktape/duktape.mk deleted file mode 100644 index aadd6092..00000000 --- a/buildroot-2021.05/package/duktape/duktape.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# duktape -# -################################################################################ - -DUKTAPE_VERSION = 2.6.0 -DUKTAPE_SOURCE = duktape-$(DUKTAPE_VERSION).tar.xz -DUKTAPE_SITE = \ - https://github.com/svaarala/duktape/releases/download/v$(DUKTAPE_VERSION) -DUKTAPE_LICENSE = MIT -DUKTAPE_LICENSE_FILES = LICENSE.txt -DUKTAPE_INSTALL_STAGING = YES - -define DUKTAPE_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary -endef - -define DUKTAPE_INSTALL_STAGING_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \ - INSTALL_PREFIX=$(STAGING_DIR)/usr install -endef - -define DUKTAPE_INSTALL_TARGET_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \ - INSTALL_PREFIX=$(TARGET_DIR)/usr install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/duma/duma.mk b/buildroot-2021.05/package/duma/duma.mk deleted file mode 100644 index 0e8a623b..00000000 --- a/buildroot-2021.05/package/duma/duma.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# duma -# -################################################################################ - -DUMA_VERSION = 2.5.15 -DUMA_SOURCE = duma_$(subst .,_,$(DUMA_VERSION)).tar.gz -DUMA_SITE = http://downloads.sourceforge.net/project/duma/duma/$(DUMA_VERSION) -DUMA_LICENSE = GPL-2.0+, LGPL-2.1+ -DUMA_LICENSE_FILES = COPYING-GPL COPYING-LGPL - -DUMA_INSTALL_STAGING = YES - -DUMA_OPTIONS = \ - $(if $(BR2_PACKAGE_DUMA_NO_LEAKDETECTION),-DDUMA_LIB_NO_LEAKDETECTION) - -# The dependency of some source files in duma_config.h, which is generated at -# build time, is not specified in the Makefile. Force non-parallel build. -define DUMA_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ - OS=linux \ - DUMA_OPTIONS="$(DUMA_OPTIONS)" \ - $(DUMA_CPP) -C $(@D) -endef - -define DUMA_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) OS=linux prefix=$(STAGING_DIR)/usr install -C $(@D) -endef - -define DUMA_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) OS=linux prefix=$(TARGET_DIR)/usr install -C $(@D) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dvb-apps/dvb-apps.mk b/buildroot-2021.05/package/dvb-apps/dvb-apps.mk deleted file mode 100644 index ffab0db6..00000000 --- a/buildroot-2021.05/package/dvb-apps/dvb-apps.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# dvb-apps -# -################################################################################ - -DVB_APPS_VERSION = 3d43b280298c39a67d1d889e01e173f52c12da35 -DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps -DVB_APPS_SITE_METHOD = hg -DVB_APPS_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1+ -DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL - -ifeq ($(BR2_ENABLE_LOCALE),) -DVB_APPS_DEPENDENCIES = libiconv -DVB_APPS_LDLIBS += -liconv -endif - -DVB_APPS_MAKE_OPTS = PERL5LIB=$(@D)/util/scan - -ifeq ($(BR2_STATIC_LIBS),y) -DVB_APPS_MAKE_OPTS += enable_shared=no -else ifeq ($(BR2_SHARED_LIBS),y) -DVB_APPS_MAKE_OPTS += enable_static=no -endif - -DVB_APPS_INSTALL_STAGING = YES - -define DVB_APPS_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \ - $(MAKE1) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \ - $(DVB_APPS_MAKE_OPTS) -endef - -define DVB_APPS_INSTALL_STAGING_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install -endef - -define DVB_APPS_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/e2fsprogs/e2fsprogs.hash b/buildroot-2021.05/package/e2fsprogs/e2fsprogs.hash deleted file mode 100644 index 909394ba..00000000 --- a/buildroot-2021.05/package/e2fsprogs/e2fsprogs.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.2/sha256sums.asc -sha256 23aa093295c94e71ef1be490c4004871c5b01d216a8cb4d111fa6c0aac354168 e2fsprogs-1.46.2.tar.xz -# Locally calculated -sha256 5da5ef153e559c1d990d4c3eedbedd4442db892d37eae1f35fff069de8ec9020 NOTICE -sha256 032989b508f1a72ebee5b3417e55d06d473f9ee203e45ab11864a7e49cdec63d lib/ss/mit-sipb-copyright.h -sha256 47182fe6631a32f271a15bbe210751b3825b7199f588879aac7d4804fc8b4b8f lib/et/internal.h diff --git a/buildroot-2021.05/package/e2fsprogs/e2fsprogs.mk b/buildroot-2021.05/package/e2fsprogs/e2fsprogs.mk deleted file mode 100644 index 0a69690e..00000000 --- a/buildroot-2021.05/package/e2fsprogs/e2fsprogs.mk +++ /dev/null @@ -1,93 +0,0 @@ -################################################################################ -# -# e2fsprogs -# -################################################################################ - -E2FSPROGS_VERSION = 1.46.2 -E2FSPROGS_SOURCE = e2fsprogs-$(E2FSPROGS_VERSION).tar.xz -E2FSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/tytso/e2fsprogs/v$(E2FSPROGS_VERSION) -E2FSPROGS_LICENSE = GPL-2.0, MIT-like with advertising clause (libss and libet) -E2FSPROGS_LICENSE_FILES = NOTICE lib/ss/mit-sipb-copyright.h lib/et/internal.h -E2FSPROGS_CPE_ID_VENDOR = e2fsprogs_project -E2FSPROGS_INSTALL_STAGING = YES - -# Use libblkid and libuuid from util-linux for host and target packages. -# This prevents overriding them with e2fsprogs' ones, which may cause -# problems for other packages. -E2FSPROGS_DEPENDENCIES = host-pkgconf util-linux -HOST_E2FSPROGS_DEPENDENCIES = host-pkgconf host-util-linux - -E2FSPROGS_SELINUX_MODULES = fstools - -# e4defrag doesn't build on older systems like RHEL5.x, and we don't -# need it on the host anyway. -# Disable fuse2fs as well to avoid carrying over deps, and it's unused -HOST_E2FSPROGS_CONF_OPTS = \ - --disable-defrag \ - --disable-e2initrd-helper \ - --disable-fuse2fs \ - --disable-libblkid \ - --disable-libuuid \ - --disable-testio-debug \ - --enable-symlink-install \ - --enable-elf-shlibs \ - --with-crond-dir=no \ - --with-udev-rules-dir=no \ - --with-systemd-unit-dir=no - -# Set the binary directories to "/bin" and "/sbin", as busybox does, -# so that we do not end up with two versions of e2fs tools. -E2FSPROGS_CONF_OPTS = \ - --bindir=/bin \ - --sbindir=/sbin \ - $(if $(BR2_STATIC_LIBS),--disable-elf-shlibs,--enable-elf-shlibs) \ - $(if $(BR2_PACKAGE_E2FSPROGS_DEBUGFS),--enable-debugfs,--disable-debugfs) \ - $(if $(BR2_PACKAGE_E2FSPROGS_E2IMAGE),--enable-imager,--disable-imager) \ - $(if $(BR2_PACKAGE_E2FSPROGS_E4DEFRAG),--enable-defrag,--disable-defrag) \ - $(if $(BR2_PACKAGE_E2FSPROGS_FSCK),--enable-fsck,--disable-fsck) \ - $(if $(BR2_PACKAGE_E2FSPROGS_RESIZE2FS),--enable-resizer,--disable-resizer) \ - --disable-uuidd \ - --disable-libblkid \ - --disable-libuuid \ - --disable-e2initrd-helper \ - --disable-testio-debug \ - --disable-rpath \ - --enable-symlink-install - -ifeq ($(BR2_PACKAGE_E2FSPROGS_FUSE2FS),y) -E2FSPROGS_CONF_OPTS += --enable-fuse2fs -E2FSPROGS_DEPENDENCIES += libfuse -else -E2FSPROGS_CONF_OPTS += --disable-fuse2fs -endif - -ifeq ($(BR2_nios2),y) -E2FSPROGS_CONF_ENV += ac_cv_func_fallocate=no -endif - -E2FSPROGS_CONF_ENV += ac_cv_path_LDCONFIG=true - -HOST_E2FSPROGS_CONF_ENV += ac_cv_path_LDCONFIG=true - -E2FSPROGS_INSTALL_STAGING_OPTS = \ - DESTDIR=$(STAGING_DIR) \ - install-libs - -# e2scrub has no associated --enable/disable option -ifneq ($(BR2_PACKAGE_E2FSPROGS_E2SCRUB),y) -E2FSPROGS_MAKE_OPTS += E2SCRUB_DIR= -endif - -E2FSPROGS_INSTALL_TARGET_OPTS = \ - $(E2FSPROGS_MAKE_OPTS) \ - DESTDIR=$(TARGET_DIR) \ - install - -# Package does not build in parallel due to improper make rules -define HOST_E2FSPROGS_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) install install-libs -endef - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/earlyoom/earlyoom.hash b/buildroot-2021.05/package/earlyoom/earlyoom.hash deleted file mode 100644 index b0095cb8..00000000 --- a/buildroot-2021.05/package/earlyoom/earlyoom.hash +++ /dev/null @@ -1,4 +0,0 @@ -# locally calculated -sha256 b81804fc4470f996014d52252a87a1cf3b43d3d8754140035b10dcee349302b8 earlyoom-1.6.tar.gz -# License files, locally calculated -sha256 e730b3ec729de46d987ae73f30ed337e4cbe832f09205330acfa71848c6e0087 LICENSE diff --git a/buildroot-2021.05/package/earlyoom/earlyoom.mk b/buildroot-2021.05/package/earlyoom/earlyoom.mk deleted file mode 100644 index 066a479b..00000000 --- a/buildroot-2021.05/package/earlyoom/earlyoom.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# earlyoom -# -################################################################################ - -EARLYOOM_VERSION = 1.6 -EARLYOOM_SITE = $(call github,rfjakob,earlyoom,v$(EARLYOOM_VERSION)) -EARLYOOM_LICENSE = MIT -EARLYOOM_LICENSE_FILES = LICENSE - -EARLYOOM_BUILD_TARGETS = earlyoom.service earlyoom -EARLYOOM_INSTALL_TARGETS = install-default install-bin -EARLYOOM_CFLAGS = '$(TARGET_CFLAGS) -std=gnu99 -DVERSION=\"1.6\"' - -EARLYOOM_MAKE_OPTS = \ - $(TARGET_CONFIGURE_OPTS) \ - PREFIX=/usr - -define EARLYOOM_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(EARLYOOM_MAKE_OPTS) -C $(@D) \ - $(EARLYOOM_BUILD_TARGETS) CFLAGS=$(EARLYOOM_CFLAGS) -endef - -define EARLYOOM_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(EARLYOOM_MAKE_OPTS) -C $(@D) \ - $(EARLYOOM_INSTALL_TARGETS) DESTDIR=$(TARGET_DIR) -endef - -define EARLYOOM_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 $(EARLYOOM_PKGDIR)/S02earlyoom \ - $(TARGET_DIR)/etc/init.d/S02earlyoom -endef - -define EARLYOOM_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(@D)/earlyoom.service \ - $(TARGET_DIR)/usr/lib/systemd/system/earlyoom.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/easyframes/0001-CMakesLists.txt-fix-static-build-with-pcap.patch b/buildroot-2021.05/package/easyframes/0001-CMakesLists.txt-fix-static-build-with-pcap.patch deleted file mode 100644 index 3f13613e..00000000 --- a/buildroot-2021.05/package/easyframes/0001-CMakesLists.txt-fix-static-build-with-pcap.patch +++ /dev/null @@ -1,57 +0,0 @@ -From 89ad9c143825b13d028c2f1713d55e83135d5c0f Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 5 Sep 2020 15:38:33 +0200 -Subject: [PATCH] CMakesLists.txt: fix static build with pcap - -Use pkg-config to find the dependencies of pcap such as libnl otherwise -a static-only build will fail on: - -[100%] Linking C executable ef -/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /srv/storage/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpcap.a(pcap-linux.o): in function `nl80211_init': -pcap-linux.c:(.text+0x460): undefined reference to `nl_socket_alloc' -/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: pcap-linux.c:(.text+0x498): undefined reference to `genl_connect' - -Fixes: - - http://autobuild.buildroot.org/results/99062bfc8c21c32bc835acae675aede7c9cf0c90 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/microchip-ung/easyframes/pull/2] ---- - CMakeLists.txt | 20 ++++++++++++++------ - 1 file changed, 14 insertions(+), 6 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a62a950..5be128c 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -7,13 +7,21 @@ include_directories(src) - - - set(_LIBPCAP "") --FIND_PATH(PCAP_INCLUDE_DIR NAMES pcap/pcap.h) --FIND_LIBRARY(PCAP_LIBRARY NAMES pcap) -- --if (PCAP_LIBRARY) -+find_package(PkgConfig) -+pkg_check_modules(PCAP libpcap) -+if (PCAP_FOUND) - add_definitions(-DHAS_LIBPCAP) -- include_directories(${PCAP_INCLUDE_DIR}) -- set(_LIBPCAP ${PCAP_LIBRARY}) -+ include_directories(${PCAP_INCLUDE_DIRS}) -+ set(_LIBPCAP ${PCAP_LIBRARIES}) -+else() -+ FIND_PATH(PCAP_INCLUDE_DIR NAMES pcap/pcap.h) -+ FIND_LIBRARY(PCAP_LIBRARY NAMES pcap) -+ -+ if (PCAP_LIBRARY) -+ add_definitions(-DHAS_LIBPCAP) -+ include_directories(${PCAP_INCLUDE_DIR}) -+ set(_LIBPCAP ${PCAP_LIBRARY}) -+ endif() - endif() - - add_library(libef STATIC --- -2.28.0 - diff --git a/buildroot-2021.05/package/easyframes/0002-Fix-different-compiling-issues.patch b/buildroot-2021.05/package/easyframes/0002-Fix-different-compiling-issues.patch deleted file mode 100644 index e4d16a73..00000000 --- a/buildroot-2021.05/package/easyframes/0002-Fix-different-compiling-issues.patch +++ /dev/null @@ -1,91 +0,0 @@ -From d3d179c3c39ec10ec636b325325ad8e18ae9542f Mon Sep 17 00:00:00 2001 -From: Horatiu Vultur -Date: Tue, 1 Sep 2020 13:03:47 +0200 -Subject: [PATCH] Fix different compiling issues - -[Retrieved from: -https://github.com/microchip-ung/easyframes/commit/d3d179c3c39ec10ec636b325325ad8e18ae9542f] -Signed-off-by: Fabrice Fontaine ---- - src/ef-exec.c | 4 ++-- - src/ef-parse-bytes.c | 8 ++++++-- - src/ef.h | 4 ++-- - 3 files changed, 10 insertions(+), 6 deletions(-) - -diff --git a/src/ef-exec.c b/src/ef-exec.c -index 3d184a0..824164e 100644 ---- a/src/ef-exec.c -+++ b/src/ef-exec.c -@@ -108,7 +108,7 @@ int ring_wait_for_init(tpacket_ring *ring) { - - - int raw_socket(cmd_socket_t *cmd_socket) { -- int s, res, val, ifidx; -+ int s, res, val, ifidx, i; - struct sockaddr_ll sa = {}; - struct packet_mreq mr = {}; - -@@ -194,7 +194,7 @@ int raw_socket(cmd_socket_t *cmd_socket) { - // - // TODO: This does not seem to be needed, if we uses a RX ring buffer - // instead (atleast that seems to work for libpcap) -- for (int i = 0; i < 10000; ++i) { -+ for (i = 0; i < 10000; ++i) { - struct msghdr msg = { 0 }; - int res = recvmsg(s, &msg, MSG_DONTWAIT); - if (res < 0) -diff --git a/src/ef-parse-bytes.c b/src/ef-parse-bytes.c -index 1dd590f..1785f45 100644 ---- a/src/ef-parse-bytes.c -+++ b/src/ef-parse-bytes.c -@@ -2,6 +2,7 @@ - #include - #include - #include -+#include - #include - - struct start_with { -@@ -212,7 +213,9 @@ buf_t *parse_bytes(const char *s, int bytes) { - for (s = data_begin; *s; ++s) { - int match_found = 0; - for (i = 0; i < sizeof(has_chars)/sizeof(has_chars[0]); ++i) { -- for (const char *set_i = has_chars[i].char_set; *set_i; ++set_i) { -+ const char *set_i; -+ -+ for (set_i = has_chars[i].char_set; *set_i; ++set_i) { - if (*s == *set_i) { - has_mask |= has_chars[i].mask; - match_found = 1; -@@ -313,6 +316,7 @@ buf_t *parse_bytes(const char *s, int bytes) { - ((has_mask & ~(HAS_HEX_COL)) == 0) && (has_mask & HAS_COLON)) { - // This will be treated as a mac-address - uint8_t m[6] = {}; -+ const char *x; - - // We want to be able to write something like this (like we RFC2373 - // specifies for IPv6): -@@ -334,7 +338,7 @@ buf_t *parse_bytes(const char *s, int bytes) { - - //po("line: %d data_begin: %s\n", __LINE__, data_begin); - -- for (const char *x = data_begin; *x; ++x) { -+ for (x = data_begin; *x; ++x) { - int colon = 0; - int val = 0; - -diff --git a/src/ef.h b/src/ef.h -index 8926c25..f4c1629 100644 ---- a/src/ef.h -+++ b/src/ef.h -@@ -59,8 +59,8 @@ void bl_check(buf_list_t *b); - void bl_reset(buf_list_t *b); - void bset_value(buf_t *b, uint8_t v); - --inline void bl_init(buf_list_t *b) { bl_reset(b); } --inline void bl_destroy(buf_list_t *b) { bl_reset(b); } -+static inline void bl_init(buf_list_t *b) { bl_reset(b); } -+static inline void bl_destroy(buf_list_t *b) { bl_reset(b); } - - int bl_printf_append(buf_list_t *b, const char *format, ...) - __attribute__ ((format (printf, 2, 3))); diff --git a/buildroot-2021.05/package/easyframes/easyframes.hash b/buildroot-2021.05/package/easyframes/easyframes.hash deleted file mode 100644 index 0f16e0ca..00000000 --- a/buildroot-2021.05/package/easyframes/easyframes.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally calculated -sha256 3c0449b3129c29b5ecf67b689f1a75ffc65fde3c5f62811e2f0439ce4f4af392 easyframes-0.3.tar.gz -sha256 24f37598e822a1411fb7164ce7eb3ef120aea8279016399abc282c2381ce3f57 COPYING diff --git a/buildroot-2021.05/package/easyframes/easyframes.mk b/buildroot-2021.05/package/easyframes/easyframes.mk deleted file mode 100644 index 1821ce70..00000000 --- a/buildroot-2021.05/package/easyframes/easyframes.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# easyframes -# -################################################################################ - -EASYFRAMES_VERSION = 0.3 -EASYFRAMES_SITE = $(call github,microchip-ung,easyframes,v$(EASYFRAMES_VERSION)) -EASYFRAMES_DEPENDENCIES = host-pkgconf libpcap -EASYFRAMES_LICENSE = MIT -EASYFRAMES_LICENSE_FILES = COPYING - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/ed/ed.hash b/buildroot-2021.05/package/ed/ed.hash deleted file mode 100644 index 3169923c..00000000 --- a/buildroot-2021.05/package/ed/ed.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://lists.gnu.org/archive/html/bug-ed/2020-02/msg00002.html -sha256 cfc07a14ab048a758473ce222e784fbf031485bcd54a76f74acfee1f390d8b2c ed-1.16.tar.lz -# Locally calculated -sha256 f03a12bef9dfb7281864a0dd965166d4f4ec7a66633df2bc72fa4363e57de02c COPYING diff --git a/buildroot-2021.05/package/ed/ed.mk b/buildroot-2021.05/package/ed/ed.mk deleted file mode 100644 index 1b299781..00000000 --- a/buildroot-2021.05/package/ed/ed.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# ed -# -################################################################################ - -ED_VERSION = 1.16 -ED_SITE = $(BR2_GNU_MIRROR)/ed -ED_SOURCE = ed-$(ED_VERSION).tar.lz -ED_LICENSE = GPL-3.0+ -ED_LICENSE_FILES = COPYING -ED_CPE_ID_VENDOR = gnu - -define ED_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_MAKE_ENV) ./configure \ - --prefix=/usr \ - $(TARGET_CONFIGURE_OPTS) \ - ) -endef - -define ED_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define ED_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/efibootmgr/efibootmgr.hash b/buildroot-2021.05/package/efibootmgr/efibootmgr.hash deleted file mode 100644 index b786a415..00000000 --- a/buildroot-2021.05/package/efibootmgr/efibootmgr.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed hash -sha256 5a708b9690cdc631fd75d8f598128d20cad007e711b975b0143f9517c2dd1bf4 efibootmgr-15.tar.gz -sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING diff --git a/buildroot-2021.05/package/efibootmgr/efibootmgr.mk b/buildroot-2021.05/package/efibootmgr/efibootmgr.mk deleted file mode 100644 index 079a9b72..00000000 --- a/buildroot-2021.05/package/efibootmgr/efibootmgr.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# efibootmgr -# -################################################################################ - -EFIBOOTMGR_VERSION = 15 -EFIBOOTMGR_SITE = $(call github,rhboot,efibootmgr,$(EFIBOOTMGR_VERSION)) -EFIBOOTMGR_LICENSE = GPL-2.0+ -EFIBOOTMGR_LICENSE_FILES = COPYING -EFIBOOTMGR_DEPENDENCIES = host-pkgconf efivar popt $(TARGET_NLS_DEPENDENCIES) -EFIBOOTMGR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) -EFIBOOTMGR_MAKE_ARGS = EFIDIR=buildroot - -define EFIBOOTMGR_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ - LDFLAGS="$(EFIBOOTMGR_LDFLAGS)" $(MAKE1) -C $(@D) \ - $(EFIBOOTMGR_MAKE_ARGS) -endef - -define EFIBOOTMGR_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(EFIBOOTMGR_MAKE_ARGS) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch b/buildroot-2021.05/package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch deleted file mode 100644 index 185926ac..00000000 --- a/buildroot-2021.05/package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 51dfe1863ddc8c5dd576405a9bbb8bca875c1142 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sat, 1 Aug 2020 02:25:47 +0200 -Subject: [PATCH] ecore_evas/engines/drm/meson.build: use "gl_deps" as engine - dependencies - -Meson trigger an error since "engine_gl_drm" variable doesn't exist. - -src/modules/ecore_evas/engines/drm/meson.build:10:2: ERROR: Unknown variable "engine_gl_drm". - -Instead use "gl_deps" as engine dependencies. - -Upstream status: -https://sourceforge.net/p/enlightenment/mailman/message/37075016/ - -Signed-off-by: Romain Naour ---- - src/modules/ecore_evas/engines/drm/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/modules/ecore_evas/engines/drm/meson.build b/src/modules/ecore_evas/engines/drm/meson.build -index 58071010d0..0741d7fccd 100644 ---- a/src/modules/ecore_evas/engines/drm/meson.build -+++ b/src/modules/ecore_evas/engines/drm/meson.build -@@ -3,7 +3,7 @@ engine_deps = [ecore_drm2, ecore_input, eeze, elput, libdrm, engine_drm] - - if get_option('opengl') != 'none' - config_h.set('BUILD_ECORE_EVAS_GL_DRM', '1') -- engine_deps += [engine_gl_drm] -+ engine_deps += [gl_deps] - endif - - engine_include_dir += include_directories(join_paths('..', '..', '..', 'evas', 'engines', 'drm')) --- -2.25.4 - diff --git a/buildroot-2021.05/package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch b/buildroot-2021.05/package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch deleted file mode 100644 index 89ec838a..00000000 --- a/buildroot-2021.05/package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 8548b02c487ba7e9d78489c6db58812ee5cfb197 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sat, 1 Aug 2020 01:01:00 +0200 -Subject: [PATCH] ecore_evas/engines/drm/meson.build: fix "gl_drm" include - directory - -The Evas_Engine_GL_Drm.h file is in "gl_drm" directory, not "drm". - -../src/modules/ecore_evas/engines/drm/ecore_evas_drm.c:23:11: fatal error: Evas_Engine_GL_Drm.h: No such file or directory - 23 | # include - | ^~~~~~~~~~~~~~~~~~~~~~ -compilation terminated. - -Upstream status: -https://sourceforge.net/p/enlightenment/mailman/message/37075004/ - -Signed-off-by: Romain Naour ---- - src/modules/ecore_evas/engines/drm/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/modules/ecore_evas/engines/drm/meson.build b/src/modules/ecore_evas/engines/drm/meson.build -index 0741d7fccd..edda1abd71 100644 ---- a/src/modules/ecore_evas/engines/drm/meson.build -+++ b/src/modules/ecore_evas/engines/drm/meson.build -@@ -6,7 +6,7 @@ if get_option('opengl') != 'none' - engine_deps += [gl_deps] - endif - --engine_include_dir += include_directories(join_paths('..', '..', '..', 'evas', 'engines', 'drm')) -+engine_include_dir += include_directories(join_paths('..', '..', '..', 'evas', 'engines', 'gl_drm')) - - shared_module(mod_full_name, engine_src, - include_directories : config_dir + [engine_include_dir], --- -2.25.4 - diff --git a/buildroot-2021.05/package/efl/Config.in b/buildroot-2021.05/package/efl/Config.in deleted file mode 100644 index 05ded72c..00000000 --- a/buildroot-2021.05/package/efl/Config.in +++ /dev/null @@ -1,282 +0,0 @@ -config BR2_PACKAGE_EFL - bool "efl" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 - depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-efl - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads - depends on BR2_USE_MMU - depends on BR2_USE_WCHAR # use wchar_t - depends on !BR2_STATIC_LIBS # dlfcn.h - # https://phab.enlightenment.org/T2728 - depends on BR2_PACKAGE_LUAJIT - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_GIFLIB - select BR2_PACKAGE_JPEG # Emile needs libjpeg - select BR2_PACKAGE_LIBCURL # Ecore_con_url, runtime dependency - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_GNUTLS && BR2_PACKAGE_LIBGCRYPT) - select BR2_PACKAGE_LZ4 - select BR2_PACKAGE_ZLIB - help - Enlightenment Foundation Libraries - - https://enlightenment.org - -if BR2_PACKAGE_EFL - -config BR2_PACKAGE_EFL_BULLET - bool "Enable bullet support" - select BR2_PACKAGE_BULLET - help - If you have chosen to disable physics support, this disables - lots of core functionality and is effectively never - tested. You are going to find features that suddenly don't - work and as a result cause a series of breakages. This is - simply not tested so you are on your own in terms of - ensuring everything works if you do this. - -config BR2_PACKAGE_EFL_EEZE - bool "Enable eeze (udev) support (recommended)" - default y - depends on BR2_PACKAGE_HAS_UDEV # libudev - help - Eeze is EFL's hardware abstraction layer on top of udev. - Having it off will disable some hardware detection, such as - 'drm' graphics engine or 'elput', as well as mounting - removable media. - -comment "eeze needs udev /dev management" - depends on !BR2_PACKAGE_HAS_UDEV - -config BR2_PACKAGE_EFL_FONTCONFIG - bool "Enable fontconfig support (recommended)" - default y - select BR2_PACKAGE_FONTCONFIG - help - If fontconfig is disabled, this is going to make general - font searching not work, and only some very direct 'load - /path/file.ttf' will work alongside some old-school ttf file - path searching. This is very likely not what you want, so - highly reconsider turning fontconfig off. Having it off will - lead to visual problems like missing text in many UI areas - etc... - -config BR2_PACKAGE_EFL_GSTREAMER1 - bool "Enable gstreamer1 support (recommended)" - default y - select BR2_PACKAGE_GSTREAMER1 - select BR2_PACKAGE_GST1_PLUGINS_BASE - help - If Gstreamer 1.x support is disabled, it will heavily limit - your media support options and render some functionality as - useless, leading to visible application bugs. - -config BR2_PACKAGE_EFL_LIBFRIBIDI - bool "Enable libfribidi support (recommended)" - default y - select BR2_PACKAGE_LIBFRIBIDI - help - Fribidi is used for handling right-to-left text (like - Arabic, Hebrew, Farsi, Persian etc.) and is very likely not - a feature you want to disable unless you know for absolute - certain you will never encounter and have to display such - scripts. Also note that we don't test with fribidi disabled - so you may also trigger code paths with bugs that are never - normally used. - -config BR2_PACKAGE_EFL_LIBSNDFILE - bool "Enable libsndfile support (recommended)" - default y - select BR2_PACKAGE_LIBSNDFILE - help - If you disabled audio support in Ecore, this is not tested - and may create bugs for you due to it creating untested code - paths. Reconsider disabling audio. - -config BR2_PACKAGE_EFL_PULSEAUDIO - bool "Enable pulseaudio support (recommended)" - default y - depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU - select BR2_PACKAGE_PULSEAUDIO - help - The only audio output method supported by Ecore right now is - via Pulseaudio. You have disabled that and likely have - broken a whole bunch of things in the process. Reconsider - your configure options. - - NOTE: multisense support is automatically enabled with - pulseaudio. - -config BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT - bool "Enable libmount support (recommended)" - default y - depends on BR2_PACKAGE_EFL_EEZE - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - # libblkid is part of required tools, see EFL's README. - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - help - Libmount is used heavily inside Eeze for support of removable - devices etc... and disabling this will hurt support for - Enlightenment and its filemanager. - -comment "efl's libmount support needs udev /dev management (eeze)" - depends on !BR2_PACKAGE_EFL_EEZE - -config BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG - bool - default y if BR2_PACKAGE_EFL_EEZE && \ - BR2_PACKAGE_EFL_FONTCONFIG && \ - BR2_PACKAGE_EFL_GSTREAMER1 && \ - BR2_PACKAGE_EFL_LIBFRIBIDI && \ - BR2_PACKAGE_EFL_LIBSNDFILE && \ - BR2_PACKAGE_EFL_PULSEAUDIO && \ - BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT - -comment "Warning: one of the recommended option for EFL is not enabled" - depends on !BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG - -config BR2_PACKAGE_EFL_EOLIAN_CPP - bool "Enable Eolian C++ bindings" - help - Eolian is an EO object parser and code generator. - With this option enabled Eolian will handle automatic - generation of EFL bindings for the C++11 language. - -comment "libecore video support" - -config BR2_PACKAGE_EFL_FB - bool "FB support" - -config BR2_PACKAGE_EFL_X_XLIB - bool "X11 support (xlib)" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXCOMPOSITE - select BR2_PACKAGE_XLIB_LIBXCURSOR - select BR2_PACKAGE_XLIB_LIBXDAMAGE - select BR2_PACKAGE_XLIB_LIBXINERAMA - select BR2_PACKAGE_XLIB_LIBXRANDR - select BR2_PACKAGE_XLIB_LIBXRENDER - select BR2_PACKAGE_XLIB_LIBXSCRNSAVER - select BR2_PACKAGE_XLIB_LIBXTST - select BR2_PACKAGE_XORGPROTO - -config BR2_PACKAGE_EFL_WAYLAND - bool "Wayland support" - depends on BR2_PACKAGE_WAYLAND - depends on BR2_TOOLCHAIN_HAS_THREADS # Evas DRM Engine -> libdrm - depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # Evas DRM Engine - depends on BR2_PACKAGE_EFL_EEZE # efl drm - depends on BR2_PACKAGE_EFL_OPENGLES # OpenGL ES with EGL support only - depends on BR2_ENABLE_LOCALE # efl-drm <- efl-elput <- linput - select BR2_PACKAGE_EFL_DRM - select BR2_PACKAGE_WAYLAND_PROTOCOLS - -comment "Wayland support needs udev /dev management (eeze), OpenGL ES w/ EGL, threads, locales" - depends on BR2_PACKAGE_WAYLAND - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \ - || !BR2_PACKAGE_EFL_OPENGLES || !BR2_PACKAGE_EFL_EEZE \ - || !BR2_ENABLE_LOCALE - -choice - bool "OpenGL support" - help - libevas can be configured to use HW acceleration with OpenGL - or OpenGL ES. - -config BR2_PACKAGE_EFL_OPENGL - bool "OpenGL" - depends on BR2_PACKAGE_HAS_LIBGL - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_EFL_X_XLIB - -comment "OpenGL support needs X11 and an OpenGL provider" - depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7 - -config BR2_PACKAGE_EFL_OPENGLES - bool "OpenGL ES (w/ EGL)" - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_HAS_LIBGLES - -comment "OpenGL ES support needs an OpenGL ES w/ EGL provider" - depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL - -config BR2_PACKAGE_EFL_OPENGL_NONE - bool "none" - -endchoice # OpenGL support - -config BR2_PACKAGE_EFL_DRM - bool "Evas DRM Engine" - depends on BR2_PACKAGE_EFL_EEZE - depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm - depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # require libgbm from mesa3d - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_LIBINPUT # For elput - select BR2_PACKAGE_LIBXKBCOMMON - help - This option enable building support for the Evas DRM Engine. - - Since efl 1.23.x, the drm option enable the elput library - which is an efl abstraction for the libinput library which - can be used by various other subsystems (ecore_fb, ecore_drm, - etc) to handle interfacing with libinput without having to - duplicate the code in each subsystem. - -comment "Evas DRM Engine needs udev /dev management (eeze), mesa3d w/ EGL support, threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \ - || !BR2_PACKAGE_EFL_EEZE - -comment "libevas loaders" - -config BR2_PACKAGE_EFL_JPEG - bool "libevas jpeg loader" - select BR2_PACKAGE_OPENJPEG - help - This enables the loader code that loads jpeg files using - libjpeg. - -config BR2_PACKAGE_EFL_TIFF - bool "libevas tiff loader" - select BR2_PACKAGE_TIFF - help - This enables the loader code that loads tiff files. - -config BR2_PACKAGE_EFL_WEBP - bool "libevas webp image loader" - select BR2_PACKAGE_WEBP - select BR2_PACKAGE_WEBP_DEMUX - help - This enables the loader code that loads images using WebP. - -config BR2_PACKAGE_EFL_LIBRAW - bool "libraw loader" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libraw - select BR2_PACKAGE_LIBRAW - help - This option enables the Evas generic Libraw loader - -config BR2_PACKAGE_EFL_SVG - bool "SVG loader" - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # librsvg - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # librsvg -> pango -> harfbuzz - select BR2_PACKAGE_LIBRSVG - select BR2_PACKAGE_CAIRO - help - This option enables the Evas generic SVG loader - -endif # BR2_PACKAGE_EFL - -comment "efl needs a toolchain w/ C++, dynamic library, gcc >= 4.9, host gcc >= 4.9, threads, wchar" - depends on !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ - || !BR2_HOST_GCC_AT_LEAST_4_9 || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/efl/efl.hash b/buildroot-2021.05/package/efl/efl.hash deleted file mode 100644 index 69008cde..00000000 --- a/buildroot-2021.05/package/efl/efl.hash +++ /dev/null @@ -1,13 +0,0 @@ -# From https://download.enlightenment.org/rel/libs/efl/efl-1.25.1.tar.xz.sha256sum -sha256 351ca0211ca000234527a503585f039f985607ec9439e34b49d8b8bbf35a7e6b efl-1.25.1.tar.xz - -sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE -sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING -sha256 e5133b4034a4749a781e2220ffb230b60a282b88861f1124d69a58abd5143994 COPYING.images -sha256 c95bae1d1ce0235ecccd3560b772ec1efb97f348a79f0fbe0a634f0c2ccefe2c licenses/COPYING.ASL -sha256 af4ffe7ed1795a6e9cd3b3ce8747fdc45da449ff58cf35b8027c0699a66fd5cf licenses/COPYING.BSD -sha256 e60d07dfb2c5264f9f405fa52bf0d4f85429dd9ae1bc2ffcff8af1924ef720d1 licenses/COPYING.FTL -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 licenses/COPYING.GPL -sha256 ae2d99bf2a8e8310281bdbe5e8b78cbe5e89bfead8c01e67a8c68b530efcf25a licenses/COPYING.LGPL -sha256 2996a1c43ee757f9c997a829d82bdd584052323e73cf02ff8126c6fbd95c2d87 licenses/COPYING.NGINX-MIT -sha256 d847c749aa38b8d864665fc4e5c80e2f2a505e414fafe9712e85b5154e908218 licenses/COPYING.SMALL diff --git a/buildroot-2021.05/package/efl/efl.mk b/buildroot-2021.05/package/efl/efl.mk deleted file mode 100644 index cdb05aa5..00000000 --- a/buildroot-2021.05/package/efl/efl.mk +++ /dev/null @@ -1,367 +0,0 @@ -################################################################################ -# -# efl -# -################################################################################ - -EFL_VERSION = 1.25.1 -EFL_SOURCE = efl-$(EFL_VERSION).tar.xz -EFL_SITE = http://download.enlightenment.org/rel/libs/efl -EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT -EFL_LICENSE_FILES = \ - COMPLIANCE \ - COPYING \ - COPYING.images \ - licenses/COPYING.ASL \ - licenses/COPYING.BSD \ - licenses/COPYING.FTL \ - licenses/COPYING.GPL \ - licenses/COPYING.LGPL \ - licenses/COPYING.NGINX-MIT \ - licenses/COPYING.SMALL - -EFL_INSTALL_STAGING = YES - -EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \ - giflib jpeg libpng luajit lz4 zlib $(TARGET_NLS_DEPENDENCIES) - -# Configure options: -# elua=true: build elua for the target. -# sdl=false: disable sdl2 support. -# embedded-lz4=false: use liblz4 from lz4 package. -# native-arch-optimization=false: avoid optimization flags added by meson. -# network-backend=none: disable connman networkmanager. -EFL_CONF_OPTS = \ - -Davahi=false \ - -Dbuild-examples=false \ - -Dbuild-tests=false \ - -Ddotnet=false \ - -Decore-imf-loaders-disabler=ibus,scim,xim \ - -Delua=true \ - -Dembedded-lz4=false \ - -Dlua-interpreter=luajit \ - -Dnative-arch-optimization=false \ - -Dnetwork-backend=none \ - -Dpixman=false \ - -Dsdl=false \ - -Dvnc-server=false - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -EFL_CONF_OPTS += -Dnls=true -else -EFL_CONF_OPTS += -Dnls=false -endif - -EFL_BINDINGS = lua - -ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y) -EFL_BINDINGS += cxx -endif - -EFL_CONF_OPTS += -Dbindings=$(subst $(space),$(comma),$(EFL_BINDINGS)) - -ifeq ($(BR2_PACKAGE_EFL_EEZE),y) -EFL_DEPENDENCIES += udev -EFL_CONF_OPTS += -Deeze=true -else -EFL_CONF_OPTS += -Deeze=false -endif - -ifeq ($(BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT),y) -EFL_DEPENDENCIES += util-linux -EFL_CONF_OPTS += -Dlibmount=true -else -EFL_CONF_OPTS += -Dlibmount=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -EFL_CONF_OPTS += -Dsystemd=true -EFL_DEPENDENCIES += systemd -else -EFL_CONF_OPTS += -Dsystemd=false -endif - -ifeq ($(BR2_PACKAGE_FONTCONFIG),y) -EFL_CONF_OPTS += -Dfontconfig=true -EFL_DEPENDENCIES += fontconfig -else -EFL_CONF_OPTS += -Dfontconfig=false -endif - -ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) -EFL_CONF_OPTS += -Dfribidi=true -EFL_DEPENDENCIES += libfribidi -else -EFL_CONF_OPTS += -Dfribidi=false -endif - -ifeq ($(BR2_PACKAGE_GSTREAMER1)$(BR2_PACKAGE_GST1_PLUGINS_BASE),yy) -EFL_CONF_OPTS += -Dgstreamer=true -EFL_DEPENDENCIES += gstreamer1 gst1-plugins-base -else -EFL_CONF_OPTS += -Dgstreamer=false -endif - -ifeq ($(BR2_PACKAGE_BULLET),y) -EFL_CONF_OPTS += -Dphysics=true -EFL_DEPENDENCIES += bullet -else -EFL_CONF_OPTS += -Dphysics=false -endif - -ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) -EFL_CONF_OPTS += -Daudio=true -EFL_DEPENDENCIES += libsndfile -else -EFL_CONF_OPTS += -Daudio=false -endif - -ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) -EFL_CONF_OPTS += -Dpulseaudio=true -EFL_DEPENDENCIES += pulseaudio -else -EFL_CONF_OPTS += -Dpulseaudio=false -endif - -ifeq ($(BR2_PACKAGE_HARFBUZZ),y) -EFL_DEPENDENCIES += harfbuzz -EFL_CONF_OPTS += -Dharfbuzz=true -else -EFL_CONF_OPTS += -Dharfbuzz=false -endif - -ifeq ($(BR2_PACKAGE_TSLIB),y) -EFL_DEPENDENCIES += tslib -EFL_CONF_OPTS += -Dtslib=true -else -EFL_CONF_OPTS += -Dtslib=false -endif - -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -EFL_DEPENDENCIES += libglib2 -EFL_CONF_OPTS += -Dglib=true -else -EFL_CONF_OPTS += -Dglib=false -endif - -# Prefer openssl (the default) over gnutls. -ifeq ($(BR2_PACKAGE_OPENSSL),y) -EFL_DEPENDENCIES += openssl -EFL_CONF_OPTS += -Dcrypto=openssl -else -EFL_DEPENDENCIES += gnutls libgcrypt -EFL_CONF_OPTS += -Dcrypto=gnutls -endif - -ifeq ($(BR2_PACKAGE_EFL_FB),y) -EFL_CONF_OPTS += -Dfb=true -else -EFL_CONF_OPTS += -Dfb=false -endif - -ifeq ($(BR2_PACKAGE_EFL_X_XLIB),y) -EFL_CONF_OPTS += -Dx11=true \ - -Dxinput2=true \ - -Dxinput22=true - -EFL_DEPENDENCIES += \ - xlib_libX11 \ - xlib_libXcomposite \ - xlib_libXcursor \ - xlib_libXdamage \ - xlib_libXext \ - xlib_libXinerama \ - xlib_libXrandr \ - xlib_libXrender \ - xlib_libXScrnSaver \ - xlib_libXtst -else -EFL_CONF_OPTS += -Dx11=false -endif - -ifeq ($(BR2_PACKAGE_EFL_OPENGL),y) -EFL_CONF_OPTS += -Dopengl=full -EFL_DEPENDENCIES += libgl -# OpenGL ES requires EGL -else ifeq ($(BR2_PACKAGE_EFL_OPENGLES),y) -EFL_CONF_OPTS += -Dopengl=es-egl -EFL_DEPENDENCIES += libegl libgles -else ifeq ($(BR2_PACKAGE_EFL_OPENGL_NONE),y) -EFL_CONF_OPTS += -Dopengl=none -endif - -ifeq ($(BR2_PACKAGE_EFL_DRM),y) -EFL_CONF_OPTS += -Ddrm=true -EFL_DEPENDENCIES += libdrm libegl libinput mesa3d -else -EFL_CONF_OPTS += -Ddrm=false -endif - -ifeq ($(BR2_PACKAGE_EFL_WAYLAND),y) -EFL_DEPENDENCIES += wayland wayland-protocols -EFL_CONF_OPTS += -Dwl=true -else -EFL_CONF_OPTS += -Dwl=false -endif - -EFL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBXKBCOMMON),libxkbcommon) - -# json evas loader is disabled by default by upstream. -# Disable libspectre (ps). -# Keep all other evas loader enabled or handled below. -EFL_EVAS_LOADERS_DISABLER = avif gst json ps - -# efl already depends on jpeg. -ifeq ($(BR2_PACKAGE_EFL_JPEG),y) -EFL_DEPENDENCIES += openjpeg -else -EFL_EVAS_LOADERS_DISABLER += jp2k -endif - -ifeq ($(BR2_PACKAGE_EFL_TIFF),y) -EFL_DEPENDENCIES += tiff -else -EFL_EVAS_LOADERS_DISABLER += tiff -endif - -ifeq ($(BR2_PACKAGE_EFL_WEBP),y) -EFL_DEPENDENCIES += webp -else -EFL_EVAS_LOADERS_DISABLER += webp -endif - -ifeq ($(BR2_PACKAGE_POPPLER),y) -# poppler needs c++11 -EFL_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" -EFL_DEPENDENCIES += poppler -else -EFL_EVAS_LOADERS_DISABLER += pdf -endif - -ifeq ($(BR2_PACKAGE_EFL_LIBRAW),y) -EFL_DEPENDENCIES += libraw -else -EFL_EVAS_LOADERS_DISABLER += raw -endif - -ifeq ($(BR2_PACKAGE_EFL_SVG),y) -EFL_DEPENDENCIES += librsvg cairo -else -EFL_EVAS_LOADERS_DISABLER += rsvg -endif - -EFL_CONF_OPTS += -Devas-loaders-disabler=$(subst $(space),$(comma),$(EFL_EVAS_LOADERS_DISABLER)) - -ifeq ($(BR2_PACKAGE_UPOWER),) -# upower ecore system module is only useful if upower -# dbus service is available. -# It's not essential, only used to notify applications -# of power state, such as low battery or AC power, so -# they can adapt their power consumption. -define EFL_HOOK_REMOVE_UPOWER - rm -fr $(TARGET_DIR)/usr/lib/ecore/system/upower -endef -EFL_POST_INSTALL_TARGET_HOOKS = EFL_HOOK_REMOVE_UPOWER -endif - -ifeq ($(BR2_PACKAGE_LIBUNWIND),y) -EFL_DEPENDENCIES += libunwind -endif - -$(eval $(meson-package)) - -################################################################################ -# -# host-efl -# -################################################################################ - -# We want to build only some host tools used later in the build. -# Actually we want: edje_cc, eet and embryo_cc. eolian_cxx is built only -# if selected for the target. - -# Host dependencies: -# * host-dbus: for Eldbus -# * host-freetype: for libevas -# * host-libglib2: for libecore -# * host-giflib, host-libjpeg, host-libpng: for libevas image loader -# * host-luajit for Elua tool for the host -# * host-openssl: cryptography backends. -HOST_EFL_DEPENDENCIES = \ - host-pkgconf \ - host-dbus \ - host-freetype \ - host-giflib \ - host-libglib2 \ - host-libjpeg \ - host-libpng \ - host-luajit \ - host-openssl \ - host-zlib - -# Configure options: -# audio=false: remove libsndfile dependency. -# eeze=false: remove libudev dependency. -# libmount=false: remove dependency on host-util-linux libmount. -# elua=true: build elua for the host. -# physics=false: remove Bullet dependency. -# network-backend=none: remove network-backend (connman). -# embedded-lz4=true: use lz4 bundled in efl. -HOST_EFL_CONF_OPTS += \ - -Daudio=false \ - -Davahi=false \ - -Dbuild-examples=false \ - -Dbuild-tests=false \ - -Dcrypto=openssl \ - -Ddotnet=false \ - -Decore-imf-loaders-disabler=ibus,scim,xim \ - -Dedje-sound-and-video=false \ - -Deeze=false \ - -Delua=true \ - -Dembedded-lz4=true \ - -Dfontconfig=false \ - -Dfribidi=false \ - -Dglib=true \ - -Dgstreamer=false \ - -Dharfbuzz=false \ - -Dlibmount=false \ - -Dlua-interpreter=luajit \ - -Dnetwork-backend=none \ - -Dnls=false \ - -Dopengl=none \ - -Dphysics=false \ - -Dpixman=false \ - -Dpulseaudio=false \ - -Dsdl=false \ - -Dsystemd=false \ - -Dv4l2=false \ - -Dvnc-server=false \ - -Dx11=false \ - -Dxinput22=false - -# List of modular image/vector loaders to disable in efl -HOST_EFL_EVAS_LOADERS_DISABLER = avif bmp dds eet generic gst ico json \ - jp2k pdf pmaps ps psd raw rsvg tga tgv tiff wbmp webp xcf xpm - -HOST_EFL_CONF_OPTS += -Devas-loaders-disabler=$(subst $(space),$(comma),$(HOST_EFL_EVAS_LOADERS_DISABLER)) - -HOST_EFL_BINDINGS = lua - -# Enable Eolian language bindings to provide eolian_cxx tool for the -# host which is required to build Eolian language bindings for the -# target. -ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y) -HOST_EFL_BINDINGS += cxx -endif -HOST_EFL_CONF_OPTS += -Dbindings=$(subst $(space),$(comma),$(HOST_EFL_BINDINGS)) - -# Always disable upower system module from host as it's -# not useful and would try to use the output/host/var -# system bus which is non-existent and does not contain -# any upower service in it. -define HOST_EFL_HOOK_REMOVE_UPOWER - rm -fr $(HOST_DIR)/lib/ecore/system/upower -endef -HOST_EFL_POST_INSTALL_HOOKS = HOST_EFL_HOOK_REMOVE_UPOWER - -$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/eigen/eigen.mk b/buildroot-2021.05/package/eigen/eigen.mk deleted file mode 100644 index c9998da3..00000000 --- a/buildroot-2021.05/package/eigen/eigen.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# eigen -# -################################################################################ - -EIGEN_VERSION = 3.3.7 -EIGEN_SOURCE = eigen-$(EIGEN_VERSION).tar.bz2 -EIGEN_SITE = $(call gitlab,libeigen,eigen,$(EIGEN_VERSION)) -EIGEN_LICENSE = MPL2, BSD-3-Clause, LGPL-2.1 -EIGEN_LICENSE_FILES = COPYING.MPL2 COPYING.BSD COPYING.LGPL COPYING.README -EIGEN_INSTALL_STAGING = YES -EIGEN_INSTALL_TARGET = NO -EIGEN_SUPPORTS_IN_SOURCE_BUILD = NO - -# Default Eigen CMake installs .pc file in /usr/share/pkgconfig -# change it to /usr/lib/pkgconfig, to be consistent with other packages. -EIGEN_CONF_OPTS = -DPKGCONFIG_INSTALL_DIR=/usr/lib/pkgconfig - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/elf2flt/Config.in.host b/buildroot-2021.05/package/elf2flt/Config.in.host deleted file mode 100644 index d6685a7f..00000000 --- a/buildroot-2021.05/package/elf2flt/Config.in.host +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_HOST_ELF2FLT - bool "Enable elf2flt support?" - depends on BR2_arm || BR2_sh || BR2_sparc || BR2_xtensa - depends on !BR2_USE_MMU - help - uCLinux uses a Binary Flat format commonly known as BFLT. It - is a relatively simple and lightweight executable format - based on the original a.out format. - - This option compiles the required tools and makes the required - modifications on your toolchain (linker). - - https://github.com/uclinux-dev/elf2flt diff --git a/buildroot-2021.05/package/elftosb/0002-force-cxx-compiler.patch b/buildroot-2021.05/package/elftosb/0002-force-cxx-compiler.patch deleted file mode 100644 index 14df0dbe..00000000 --- a/buildroot-2021.05/package/elftosb/0002-force-cxx-compiler.patch +++ /dev/null @@ -1,98 +0,0 @@ -Subject: [PATCH 1/1] elftosb: force host C++ compiler - -Because Freescale provides *.cpp sources and elftosb links again libstdc++, -force to use the host c++ compiler. - -This patch avoids the following error occurs: - -gcc AESKey.o Blob.o crc.o DataSource.o DataTarget.o ELFSourceFile.o EncoreBootImage.o EvalContext.o GHSSecInfo.o GlobMatcher.o HexValues.o Logging.o Operation.o OptionDictionary.o options.o OutputSection.o Random.o RijndaelCBCMAC.o rijndael.o SHA1.o SourceFile.o SRecordSourceFile.o stdafx.o StELFFile.o StExecutableImage.o StSRecordFile.o Value.o Version.o format_string.o ExcludesListMatcher.o SearchPath.o DataSourceImager.o IVTDataSource.o BootImageGenerator.o ConversionController.o ElftosbAST.o elftosb.o elftosb_lexer.o ElftosbLexer.o elftosb_parser.tab.o EncoreBootImageGenerator.o -lstdc++ -o elftosb -/usr/bin/ld: ElftosbAST.o: undefined reference to symbol 'powf@@GLIBC_2.2.5' -/usr/bin/ld: note: 'powf@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line -/lib64/libm.so.6: could not read symbols: Invalid operation -collect2: error: ld returned 1 exit status - -When compiling with gcc and linking against libstdc++, ld uses libc instead of -libstdc++. -However, libc does not provide all functions libstdc++ does. -Indeed, maths functions are provided by libm, not libc. -Thus, elftosb should either: -- use gcc and link against libc and libm; -- or use g++ and link against libstdc++. - -Because elftosb is written in C++, this patch implement the sencond option, using -g++ and linking against libstdc++. - -Signed-off-by: Samuel Martin - ---- -Index: host-elftosb-10.12.01/makefile.rules -=================================================================== ---- host-elftosb-10.12.01.orig/makefile.rules 2012-06-09 21:12:23.557526100 +0200 -+++ host-elftosb-10.12.01/makefile.rules 2012-06-09 21:15:21.659894571 +0200 -@@ -15,6 +15,8 @@ - # UNAMES is going to be set to either "Linux" or "CYGWIN_NT-5.1" - UNAMES = $(shell uname -s) - -+CXX ?= g++ -+ - #******************************************************************************* - # Directories - -@@ -37,9 +39,9 @@ - #******************************************************************************* - # Build flags --# gcc Compiler flags -+# Compiler flags - # -g : Produce debugging information. - --CFLAGS = -g $(INC_PATH) -D${UNAMES} -+CXXFLAGS = -g $(INC_PATH) -D${UNAMES} - - #******************************************************************************* - # File lists -@@ -137,13 +139,13 @@ clean: - ${EXEC_FILE_ELFTOSB2} ${EXEC_FILE_SBTOOL} ${EXEC_FILE_KEYGEN} - - elftosb: ${OBJ_FILES_ELFTOSB2} -- gcc ${OBJ_FILES_ELFTOSB2} ${LIBS} -o ${EXEC_FILE_ELFTOSB2} -+ $(CXX) ${OBJ_FILES_ELFTOSB2} ${LIBS} -o ${EXEC_FILE_ELFTOSB2} - - sbtool: ${OBJ_FILES_SBTOOL} -- gcc ${OBJ_FILES_SBTOOL} ${LIBS} -o ${EXEC_FILE_SBTOOL} -+ $(CXX) ${OBJ_FILES_SBTOOL} ${LIBS} -o ${EXEC_FILE_SBTOOL} - - keygen: ${OBJ_FILES_KEYGEN} -- gcc ${OBJ_FILES_KEYGEN} ${LIBS} -o ${EXEC_FILE_KEYGEN} -+ $(CXX) ${OBJ_FILES_KEYGEN} ${LIBS} -o ${EXEC_FILE_KEYGEN} - - - #ifeq ("${UNAMES}", "Linux") -@@ -153,10 +155,10 @@ keygen: ${OBJ_FILES_KEYGEN} - .SUFFIXES : .c .cpp - - .c.o : -- gcc ${CFLAGS} -c $< -+ $(CC) ${CXXFLAGS} -c $< - - .cpp.o : -- gcc ${CFLAGS} -c $< -+ $(CXX) ${CXXFLAGS} -c $< - - #endif - -@@ -165,13 +167,13 @@ keygen: ${OBJ_FILES_KEYGEN} - - %.d: %.c - @set -e; \ -- $(CC) -MM $(CFLAGS) $< | \ -+ $(CC) -MM $(CXXFLAGS) $< | \ - sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' > $@; \ - [ -s $@ ] || rm -f $@ - - %.d: %.cpp - @set -e; \ -- $(CC) -MM $(CFLAGS) $< | \ -+ $(CXX) -MM $(CXXFLAGS) $< | \ - sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' > $@; \ - [ -s $@ ] || rm -f $@ - diff --git a/buildroot-2021.05/package/elfutils/elfutils.hash b/buildroot-2021.05/package/elfutils/elfutils.hash deleted file mode 100644 index 9148758e..00000000 --- a/buildroot-2021.05/package/elfutils/elfutils.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceware.org/elfutils/ftp/0.184/sha512.sum -sha512 5920c354edd6b28bb7e713d674bf6f2221e8ee91b90d582de39b1f45446aea1e7e3d4b6671024c391675b5e7530fe952c1320d730bb625c02d4c647ceb938bc8 elfutils-0.184.tar.bz2 -# Locally calculated -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING-GPLV2 -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING-LGPLV3 diff --git a/buildroot-2021.05/package/elfutils/elfutils.mk b/buildroot-2021.05/package/elfutils/elfutils.mk deleted file mode 100644 index c64224a9..00000000 --- a/buildroot-2021.05/package/elfutils/elfutils.mk +++ /dev/null @@ -1,99 +0,0 @@ -################################################################################ -# -# elfutils -# -################################################################################ - -ELFUTILS_VERSION = 0.184 -ELFUTILS_SOURCE = elfutils-$(ELFUTILS_VERSION).tar.bz2 -ELFUTILS_SITE = https://sourceware.org/elfutils/ftp/$(ELFUTILS_VERSION) -ELFUTILS_INSTALL_STAGING = YES -ELFUTILS_LICENSE = GPL-2.0+ or LGPL-3.0+ (library) -ELFUTILS_LICENSE_FILES = COPYING COPYING-GPLV2 COPYING-LGPLV3 -ELFUTILS_CPE_ID_VENDOR = elfutils_project -ELFUTILS_DEPENDENCIES = host-pkgconf zlib $(TARGET_NLS_DEPENDENCIES) -HOST_ELFUTILS_DEPENDENCIES = host-pkgconf host-zlib host-bzip2 host-xz - -# We patch configure.ac -ELFUTILS_AUTORECONF = YES -HOST_ELFUTILS_AUTORECONF = YES - -# Pass a custom program prefix to avoid a naming conflict between -# elfutils binaries and binutils binaries. -ELFUTILS_CONF_OPTS += \ - --program-prefix="eu-" - -HOST_ELFUTILS_CONF_OPTS = \ - --with-bzlib \ - --with-lzma \ - --without-zstd \ - --disable-progs - -# elfutils gets confused when lfs mode is forced, so don't -ELFUTILS_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS)) -ELFUTILS_CPPFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS)) - -# sparc64 needs -fPIC instead of -fpic -ifeq ($(BR2_sparc64),y) -ELFUTILS_CFLAGS += -fPIC -endif - -ELFUTILS_CONF_ENV += \ - CFLAGS="$(ELFUTILS_CFLAGS)" \ - CPPFLAGS="$(ELFUTILS_CPPFLAGS)" - -ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS) \ - $(TARGET_NLS_LIBS) - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -ELFUTILS_LDFLAGS += -latomic -endif - -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) -ELFUTILS_DEPENDENCIES += musl-fts -ELFUTILS_LDFLAGS += -lfts -endif - -# disable for now, needs "distro" support -ELFUTILS_CONF_OPTS += --disable-libdebuginfod --disable-debuginfod -HOST_ELFUTILS_CONF_OPTS += --disable-libdebuginfod --disable-debuginfod - -ELFUTILS_CONF_ENV += \ - LDFLAGS="$(ELFUTILS_LDFLAGS)" - -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -ELFUTILS_DEPENDENCIES += argp-standalone -ELFUTILS_CONF_OPTS += --disable-symbol-versioning -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -ELFUTILS_DEPENDENCIES += bzip2 -ELFUTILS_CONF_OPTS += --with-bzlib -else -ELFUTILS_CONF_OPTS += --without-bzlib -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -ELFUTILS_DEPENDENCIES += xz -ELFUTILS_CONF_OPTS += --with-lzma -else -ELFUTILS_CONF_OPTS += --without-lzma -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -ELFUTILS_DEPENDENCIES += zstd -ELFUTILS_CONF_OPTS += --with-zstd -else -ELFUTILS_CONF_OPTS += --without-zstd -endif - -ifeq ($(BR2_PACKAGE_ELFUTILS_PROGS),y) -ELFUTILS_CONF_OPTS += --enable-progs -ELFUTILS_LICENSE += , GPL-3.0+ (programs) -ELFUTILS_LICENSE_FILES += COPYING -else -ELFUTILS_CONF_OPTS += --disable-progs -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/ell/ell.hash b/buildroot-2021.05/package/ell/ell.hash deleted file mode 100644 index 5f1cc7dd..00000000 --- a/buildroot-2021.05/package/ell/ell.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://mirrors.edge.kernel.org/pub/linux/libs/ell/sha256sums.asc -sha256 653e2e139e23ed31e03c56c05f15321a9e818e2dca00a315c18d2c7b72f15d08 ell-0.39.tar.xz - -# License files -sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING diff --git a/buildroot-2021.05/package/ell/ell.mk b/buildroot-2021.05/package/ell/ell.mk deleted file mode 100644 index bd291c60..00000000 --- a/buildroot-2021.05/package/ell/ell.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# ell -# -################################################################################ - -ELL_VERSION = 0.39 -ELL_SOURCE = ell-$(ELL_VERSION).tar.xz -ELL_SITE = $(BR2_KERNEL_MIRROR)/linux/libs/ell -ELL_LICENSE = LGPL-2.1+ -ELL_LICENSE_FILES = COPYING -ELL_INSTALL_STAGING = YES - -ELL_DEPENDENCIES = host-pkgconf - -# disable ell/glib main loop example -ELL_CONF_OPTS = --disable-glib - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/enchant/enchant.hash b/buildroot-2021.05/package/enchant/enchant.hash deleted file mode 100644 index 9cee2d78..00000000 --- a/buildroot-2021.05/package/enchant/enchant.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 3b0f2215578115f28e2a6aa549b35128600394304bd79d6f28b0d3b3d6f46c03 enchant-2.2.15.tar.gz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/enchant/enchant.mk b/buildroot-2021.05/package/enchant/enchant.mk deleted file mode 100644 index 3135550f..00000000 --- a/buildroot-2021.05/package/enchant/enchant.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# enchant -# -################################################################################ - -ENCHANT_VERSION = 2.2.15 -ENCHANT_SITE = \ - https://github.com/AbiWord/enchant/releases/download/v$(ENCHANT_VERSION) -ENCHANT_INSTALL_STAGING = YES -ENCHANT_DEPENDENCIES = libglib2 host-pkgconf -ENCHANT_LICENSE = LGPL-2.1+ -ENCHANT_LICENSE_FILES = COPYING.LIB - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/enlightenment/Config.in b/buildroot-2021.05/package/enlightenment/Config.in deleted file mode 100644 index 91cdd896..00000000 --- a/buildroot-2021.05/package/enlightenment/Config.in +++ /dev/null @@ -1,38 +0,0 @@ -config BR2_PACKAGE_ENLIGHTENMENT - bool "enlightenment" - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # efl svg -> librsvg - # libevas-generic-loaders-svg -> librsvg -> glib2 / pango - depends on BR2_USE_WCHAR - depends on BR2_INSTALL_LIBSTDCPP - # libedbus -> dbus - # libedbus -> glib2, libevas - depends on BR2_TOOLCHAIN_HAS_THREADS - # libedbus -> dbus, efl libraries - depends on BR2_USE_MMU - depends on BR2_PACKAGE_EFL - depends on BR2_PACKAGE_HAS_UDEV # efl (eeze) -> libudev - depends on BR2_PACKAGE_XORG7 - # libevas-generic-loaders-svg -> librsvg -> pango -> harfbuzz - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - select BR2_PACKAGE_EFL_X_XLIB - select BR2_PACKAGE_EFL_EEZE - select BR2_PACKAGE_EFL_JPEG # needed at runtime by enlightenment_start - select BR2_PACKAGE_EFL_SVG - select BR2_PACKAGE_XCB_UTIL_KEYSYMS - help - Enlightenment, also known simply as E, is a stacking window - manager for the X Window System which can be used alone or - in conjunction with a desktop environment such as GNOME or - KDE. Enlightenment can be used as a substitute for a full - desktop environment. - - http://www.enlightenment.org/ - -comment "enlightenment needs udev /dev management and a toolchain w/ wchar, C++, threads, gcc >= 4.8" - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_EFL && BR2_PACKAGE_XORG7 && BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_PACKAGE_HAS_UDEV - depends on BR2_TOOLCHAIN_HAS_SYNC_4 diff --git a/buildroot-2021.05/package/enlightenment/enlightenment.hash b/buildroot-2021.05/package/enlightenment/enlightenment.hash deleted file mode 100644 index 7f0f3f3e..00000000 --- a/buildroot-2021.05/package/enlightenment/enlightenment.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.enlightenment.org/news/e24.2 -sha256 be18e2f18d6c0b058f633e769863d3cbc4c07b629058ae670dec74cd7906dff1 enlightenment-0.24.2.tar.xz -sha256 17dda7902d3e1a743f91cf2545f474be93f612768a9e9022593d788ecc83935a COPYING -sha256 f4ba47ef8f4ff588202e721ab10f0208a3fa678147e7f928e6b2820f2e646e13 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/buildroot-2021.05/package/enlightenment/enlightenment.mk b/buildroot-2021.05/package/enlightenment/enlightenment.mk deleted file mode 100644 index 969b391c..00000000 --- a/buildroot-2021.05/package/enlightenment/enlightenment.mk +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# -# enlightenment -# -################################################################################ - -ENLIGHTENMENT_VERSION = 0.24.2 -ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz -ENLIGHTENMENT_SITE = http://download.enlightenment.org/rel/apps/enlightenment -ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) -ENLIGHTENMENT_LICENSE_FILES = COPYING \ - src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt -ENLIGHTENMENT_CPE_ID_VENDOR = enlightenment - -ENLIGHTENMENT_DEPENDENCIES = \ - host-pkgconf \ - host-efl \ - efl \ - xcb-util-keysyms - -ENLIGHTENMENT_CONF_OPTS = \ - -Dedje-cc=$(HOST_DIR)/bin/edje_cc \ - -Deet=$(HOST_DIR)/bin/eet \ - -Deldbus-codegen=$(HOST_DIR)/bin/eldbus-codegen \ - -Dpam=false \ - -Dpolkit=false - -# enlightenment.pc and /usr/lib/enlightenment/modules/*.so -ENLIGHTENMENT_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -ENLIGHTENMENT_CONF_OPTS += -Dsystemd=true -ENLIGHTENMENT_DEPENDENCIES += systemd -else -ENLIGHTENMENT_CONF_OPTS += -Dsystemd=false -endif - -# alsa backend needs mixer support -ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy) -ENLIGHTENMENT_CONF_OPTS += -Dmixer=true -ENLIGHTENMENT_DEPENDENCIES += alsa-lib -else -ENLIGHTENMENT_CONF_OPTS += -Dmixer=false -endif - -ifeq ($(BR2_PACKAGE_XKEYBOARD_CONFIG),y) -ENLIGHTENMENT_DEPENDENCIES += xkeyboard-config -endif - -define ENLIGHTENMENT_REMOVE_DOCUMENTATION - rm -rf $(TARGET_DIR)/usr/share/enlightenment/doc/ - rm -f $(TARGET_DIR)/usr/share/enlightenment/COPYING - rm -f $(TARGET_DIR)/usr/share/enlightenment/AUTHORS -endef -ENLIGHTENMENT_POST_INSTALL_TARGET_HOOKS += ENLIGHTENMENT_REMOVE_DOCUMENTATION - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/environment-setup/environment-setup b/buildroot-2021.05/package/environment-setup/environment-setup deleted file mode 100644 index e9bc36fd..00000000 --- a/buildroot-2021.05/package/environment-setup/environment-setup +++ /dev/null @@ -1,19 +0,0 @@ -cat <<'EOF' - _ _ _ _ _ -| |__ _ _(_) | __| |_ __ ___ ___ | |_ -| '_ \| | | | | |/ _` | '__/ _ \ / _ \| __| -| |_) | |_| | | | (_| | | | (_) | (_) | |_ -|_.__/ \__,_|_|_|\__,_|_| \___/ \___/ \__| - - Making embedded Linux easy! - -Some tips: -* PATH now contains the SDK utilities -* Standard autotools variables (CC, LD, CFLAGS) are exported -* Kernel compilation variables (ARCH, CROSS_COMPILE, KERNELDIR) are exported -* To configure do "./configure $CONFIGURE_FLAGS" or use - the "configure" alias -* To build CMake-based projects, use the "cmake" alias - -EOF -SDK_PATH=$(dirname $(realpath "${BASH_SOURCE[0]}")) diff --git a/buildroot-2021.05/package/environment-setup/environment-setup.mk b/buildroot-2021.05/package/environment-setup/environment-setup.mk deleted file mode 100644 index f4c52921..00000000 --- a/buildroot-2021.05/package/environment-setup/environment-setup.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# environment-setup -# -################################################################################ - -ENVIRONMENT_SETUP_FILE = $(HOST_DIR)/environment-setup - -define HOST_ENVIRONMENT_SETUP_INSTALL_CMDS - cp package/environment-setup/environment-setup $(ENVIRONMENT_SETUP_FILE) - for var in $(TARGET_CONFIGURE_OPTS); do \ - printf "export \"$$var\"\n" >> $(ENVIRONMENT_SETUP_FILE); \ - done - printf "export \"ARCH=$(KERNEL_ARCH)\"\n" >> $(ENVIRONMENT_SETUP_FILE) - printf "export \"CROSS_COMPILE=$(TARGET_CROSS)\"\n" >> $(ENVIRONMENT_SETUP_FILE) - printf "export \"CONFIGURE_FLAGS=--target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --prefix=/usr \ - --exec-prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --program-prefix=\"\n" >> $(ENVIRONMENT_SETUP_FILE) - printf "alias configure=\"./configure \$${CONFIGURE_FLAGS}\"\n" \ - >> $(ENVIRONMENT_SETUP_FILE) - printf "alias cmake=\"cmake \ - -DCMAKE_TOOLCHAIN_FILE=$(HOST_DIR)/share/buildroot/toolchainfile.cmake \ - -DCMAKE_INSTALL_PREFIX=/usr\"\n" >> $(ENVIRONMENT_SETUP_FILE) - $(SED) 's%$(HOST_DIR)/bin/%%g' \ - -e 's%$(HOST_DIR)%\$$SDK_PATH%g' \ - -e '/^export "PATH=/c\' \ - $(ENVIRONMENT_SETUP_FILE) - printf "export \"PATH=\$$SDK_PATH/bin:\$$SDK_PATH/sbin:\$$PATH\"\n" \ - >> $(ENVIRONMENT_SETUP_FILE) - - $(if $(BR2_LINUX_KERNEL),\ - printf "export \"KERNELDIR=$(LINUX_BUILDDIR)\"\n" \ - >> $(ENVIRONMENT_SETUP_FILE),) -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/erlang-jiffy/erlang-jiffy.hash b/buildroot-2021.05/package/erlang-jiffy/erlang-jiffy.hash deleted file mode 100644 index 19e4f960..00000000 --- a/buildroot-2021.05/package/erlang-jiffy/erlang-jiffy.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 7cf67840c58b8732e12c84c8a3b714774da2601ae5e6a57f286273e25b205516 erlang-jiffy-1.0.6.tar.gz -sha256 0fa8afad2f02c08850a16e36fe55376ee19732b3a116a0207f2a73c857777a49 LICENSE diff --git a/buildroot-2021.05/package/erlang-jiffy/erlang-jiffy.mk b/buildroot-2021.05/package/erlang-jiffy/erlang-jiffy.mk deleted file mode 100644 index e50a5f59..00000000 --- a/buildroot-2021.05/package/erlang-jiffy/erlang-jiffy.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# erlang-jiffy -# -################################################################################ - -ERLANG_JIFFY_VERSION = 1.0.6 -ERLANG_JIFFY_SITE = $(call github,davisp,jiffy,$(ERLANG_JIFFY_VERSION)) -ERLANG_JIFFY_LICENSE = MIT (core), \ - BSD-3-Clause (Google double conversion library), \ - BSD-3-Clause (tests) -ERLANG_JIFFY_LICENSE_FILES = LICENSE - -$(eval $(rebar-package)) diff --git a/buildroot-2021.05/package/erlang/0003-ei_portio.h-avoid-ODR-violation-of-ei_default_socket.patch b/buildroot-2021.05/package/erlang/0003-ei_portio.h-avoid-ODR-violation-of-ei_default_socket.patch deleted file mode 100644 index 69b6fae8..00000000 --- a/buildroot-2021.05/package/erlang/0003-ei_portio.h-avoid-ODR-violation-of-ei_default_socket.patch +++ /dev/null @@ -1,54 +0,0 @@ -From de870d7f9f36b3e68f280057851a4585a67ab219 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Tue, 14 Jan 2020 23:15:01 +0000 -Subject: [PATCH] ei_portio.h: avoid ODR violation of - 'ei_default_socket_callbacks' - -Noticed as a build failure against fresh gcc-master: - -``` -LD otp/lib/erl_interface/bin/x86_64-unknown-linux-gnu/erl_call -ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(eirecv.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here -ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(send.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here -ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(send_reg.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here -ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(epmd_port.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here -ld: otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_portio.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: multiple definition of `ei_default_socket_callbacks'; otp/lib/erl_interface/obj/x86_64-unknown-linux-gnu/libei.a(ei_connect.o):otp/lib/erl_interface/src/misc/ei_portio.h:50: first defined here -collect2: error: ld returned 1 exit status -make[3]: *** [x86_64-unknown-linux-gnu/Makefile:669: otp/lib/erl_interface/bin/x86_64-unknown-linux-gnu/erl_call] Error 1 -``` - -The failure looks legitimate: `ei_default_socket_callbacks` is a -struct defined in 'ei_portio.h' and in 'ei_portio.c'. - -The change flips 'ei_portio.h' definition to declaration. - -gcc-10 will change the default from -fcommon to fno-common: -https://gcc.gnu.org/PR85678. - -The error also happens if CFLAGS=-fno-common passed explicitly. - -Signed-off-by: Sergei Trofimovich - -Patch taken from upstream: https://github.com/erlang/otp/commit/de870d7f9f36b3e68f280057851a4585a67ab219 -Signed-off-by: Heiko Thiery ---- - lib/erl_interface/src/misc/ei_portio.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/erl_interface/src/misc/ei_portio.h b/lib/erl_interface/src/misc/ei_portio.h -index 84ebc5039a..5172d085b4 100644 - ---- a/lib/erl_interface/src/misc/ei_portio.h -+++ b/lib/erl_interface/src/misc/ei_portio.h -@@ -47,7 +47,7 @@ int ei_writev_fill_ctx_t__(ei_socket_callbacks *cbs, void *ctx, const struct iov - int ei_socket_callbacks_have_writev__(ei_socket_callbacks *cbs); - #endif - --ei_socket_callbacks ei_default_socket_callbacks; -+extern ei_socket_callbacks ei_default_socket_callbacks; - - #define EI_FD_AS_CTX__(FD) \ - ((void *) (long) (FD)) --- -2.20.1 - diff --git a/buildroot-2021.05/package/erlang/Config.in b/buildroot-2021.05/package/erlang/Config.in deleted file mode 100644 index ab87eab6..00000000 --- a/buildroot-2021.05/package/erlang/Config.in +++ /dev/null @@ -1,47 +0,0 @@ -config BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS - bool - default y if BR2_HOSTARCH = "x86_64" - default y if BR2_HOSTARCH = "x86" - -config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS - bool - # see HOWTO/INSTALL.md for Erlang's supported platforms - # when using its native atomic ops implementation - default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || \ - BR2_sparc_v9 || BR2_arm || BR2_aarch64 || BR2_mipsel - # erlang needs host-erlang - depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS - -comment "erlang needs a toolchain w/ dynamic library, threads" - depends on BR2_USE_MMU # fork() - depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_ERLANG - bool "erlang" - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS - select BR2_PACKAGE_ZLIB - help - Erlang is a programming language used to build massively - scalable soft real-time systems with requirements on high - availability. Some of its uses are in telecoms, banking, - e-commerce, computer telephony and instant messaging. - Erlang's runtime system has built-in support for - concurrency, distribution and fault tolerance. - - http://www.erlang.org - -if BR2_PACKAGE_ERLANG - -config BR2_PACKAGE_ERLANG_MEGACO - bool "install megaco application" - help - The Megaco application is a framework for building - applications on top of the Megaco/H.248 protocol. It is - approximately 14MB in size so if you do not need it then - it is recommended not to enable it. - -endif # BR2_PACKAGE_ERLANG diff --git a/buildroot-2021.05/package/erlang/erlang.hash b/buildroot-2021.05/package/erlang/erlang.hash deleted file mode 100644 index 3c2f0394..00000000 --- a/buildroot-2021.05/package/erlang/erlang.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5 from http://www.erlang.org/download/MD5, sha256 locally computed -md5 b2b48dad6e69c1e882843edbf2abcfd3 otp_src_22.2.tar.gz -sha256 89c2480cdac566065577c82704a48e10f89cf2e6ca5ab99e1cf80027784c678f otp_src_22.2.tar.gz -sha256 809fa1ed21450f59827d1e9aec720bbc4b687434fa22283c6cb5dd82a47ab9c0 LICENSE.txt diff --git a/buildroot-2021.05/package/erlang/erlang.mk b/buildroot-2021.05/package/erlang/erlang.mk deleted file mode 100644 index 59fcdba9..00000000 --- a/buildroot-2021.05/package/erlang/erlang.mk +++ /dev/null @@ -1,111 +0,0 @@ -################################################################################ -# -# erlang -# -################################################################################ - -# See note below when updating Erlang -ERLANG_VERSION = 22.2 -ERLANG_SITE = http://www.erlang.org/download -ERLANG_SOURCE = otp_src_$(ERLANG_VERSION).tar.gz -ERLANG_DEPENDENCIES = host-erlang - -ERLANG_LICENSE = Apache-2.0 -ERLANG_LICENSE_FILES = LICENSE.txt -ERLANG_CPE_ID_VENDOR = erlang -ERLANG_CPE_ID_PRODUCT = erlang\/otp -ERLANG_INSTALL_STAGING = YES - -# Remove the leftover deps directory from the ssl app -# See https://bugs.erlang.org/browse/ERL-1168 -define ERLANG_REMOVE_SSL_DEPS - rm -rf $(@D)/lib/ssl/src/deps -endef -ERLANG_POST_PATCH_HOOKS += ERLANG_REMOVE_SSL_DEPS - -# Patched erts/aclocal.m4 -define ERLANG_RUN_AUTOCONF - cd $(@D) && PATH=$(BR_PATH) ./otp_build autoconf -endef -ERLANG_DEPENDENCIES += host-autoconf -ERLANG_PRE_CONFIGURE_HOOKS += ERLANG_RUN_AUTOCONF -HOST_ERLANG_DEPENDENCIES += host-autoconf -HOST_ERLANG_PRE_CONFIGURE_HOOKS += ERLANG_RUN_AUTOCONF - -# Whenever updating Erlang, this value should be updated as well, to the -# value of EI_VSN in the file lib/erl_interface/vsn.mk -ERLANG_EI_VSN = 3.13.1 - -# The configure checks for these functions fail incorrectly -ERLANG_CONF_ENV = ac_cv_func_isnan=yes ac_cv_func_isinf=yes - -# Set erl_xcomp variables. See xcomp/erl-xcomp.conf.template -# for documentation. -ERLANG_CONF_ENV += erl_xcomp_sysroot=$(STAGING_DIR) - -ERLANG_CONF_OPTS = --without-javac - -# Force ERL_TOP to the downloaded source directory. This prevents -# Erlang's configure script from inadvertantly using files from -# a version of Erlang installed on the host. -ERLANG_CONF_ENV += ERL_TOP=$(@D) -HOST_ERLANG_CONF_ENV += ERL_TOP=$(@D) - -# erlang uses openssl for all things crypto. Since the host tools (such as -# rebar) uses crypto, we need to build host-erlang with support for openssl. -HOST_ERLANG_DEPENDENCIES += host-openssl -HOST_ERLANG_CONF_OPTS = --without-javac --with-ssl=$(HOST_DIR) - -HOST_ERLANG_CONF_OPTS += --without-termcap - -ifeq ($(BR2_PACKAGE_NCURSES),y) -ERLANG_CONF_OPTS += --with-termcap -ERLANG_DEPENDENCIES += ncurses -else -ERLANG_CONF_OPTS += --without-termcap -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -ERLANG_CONF_OPTS += --with-ssl -ERLANG_DEPENDENCIES += openssl -else -ERLANG_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_UNIXODBC),y) -ERLANG_DEPENDENCIES += unixodbc -ERLANG_CONF_OPTS += --with-odbc -else -ERLANG_CONF_OPTS += --without-odbc -endif - -# Always use Buildroot's zlib -ERLANG_CONF_OPTS += --disable-builtin-zlib -ERLANG_DEPENDENCIES += zlib - -# Remove source, example, gs and wx files from staging and target. -ERLANG_REMOVE_PACKAGES = gs wx - -ifneq ($(BR2_PACKAGE_ERLANG_MEGACO),y) -ERLANG_REMOVE_PACKAGES += megaco -endif - -define ERLANG_REMOVE_STAGING_UNUSED - for package in $(ERLANG_REMOVE_PACKAGES); do \ - rm -rf $(STAGING_DIR)/usr/lib/erlang/lib/$${package}-*; \ - done -endef - -define ERLANG_REMOVE_TARGET_UNUSED - find $(TARGET_DIR)/usr/lib/erlang -type d -name src -prune -exec rm -rf {} \; - find $(TARGET_DIR)/usr/lib/erlang -type d -name examples -prune -exec rm -rf {} \; - for package in $(ERLANG_REMOVE_PACKAGES); do \ - rm -rf $(TARGET_DIR)/usr/lib/erlang/lib/$${package}-*; \ - done -endef - -ERLANG_POST_INSTALL_STAGING_HOOKS += ERLANG_REMOVE_STAGING_UNUSED -ERLANG_POST_INSTALL_TARGET_HOOKS += ERLANG_REMOVE_TARGET_UNUSED - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/erofs-utils/erofs-utils.hash b/buildroot-2021.05/package/erofs-utils/erofs-utils.hash deleted file mode 100644 index 0de52d28..00000000 --- a/buildroot-2021.05/package/erofs-utils/erofs-utils.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 6b2ea15c3b092bd9a3abd966f78bc01c6caacb94022643ff34cf69893ee04e84 erofs-utils-1.2.1.tar.gz -sha256 feee3b3157dcdf78d4f50edefbd5dd7adf8b6d52c11bfaaa746a85a373256713 COPYING diff --git a/buildroot-2021.05/package/erofs-utils/erofs-utils.mk b/buildroot-2021.05/package/erofs-utils/erofs-utils.mk deleted file mode 100644 index 5d547148..00000000 --- a/buildroot-2021.05/package/erofs-utils/erofs-utils.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# erofs-utils -# -################################################################################ - -EROFS_UTILS_VERSION = 1.2.1 -EROFS_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot -EROFS_UTILS_LICENSE = GPL-2.0+ -EROFS_UTILS_LICENSE_FILES = COPYING - -# From a git tree: no generated autotools files -EROFS_UTILS_AUTORECONF = YES - -EROFS_UTILS_DEPENDENCIES = host-pkgconf util-linux - -ifeq ($(BR2_PACKAGE_EROFS_UTILS_LZ4),y) -EROFS_UTILS_DEPENDENCIES += lz4 -EROFS_UTILS_CONF_OPTS += --enable-lz4 -else -EROFS_UTILS_CONF_OPTS += --disable-lz4 -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -EROFS_UTILS_CONF_OPTS += --with-selinux -EROFS_UTILS_DEPENDENCIES += libselinux -else -EROFS_UTILS_CONF_OPTS += --without-selinux -endif - -ifeq ($(BR2_PACKAGE_EROFS_UTILS_EROFSFUSE),y) -EROFS_UTILS_CONF_OPTS += --enable-fuse -EROFS_UTILS_DEPENDENCIES += libfuse -else -EROFS_UTILS_CONF_OPTS += --disable-fuse -endif - -HOST_EROFS_UTILS_DEPENDENCIES = host-pkgconf host-util-linux host-lz4 -HOST_EROFS_UTILS_CONF_OPTS += --enable-lz4 --disable-fuse --without-selinux - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch b/buildroot-2021.05/package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch deleted file mode 100644 index d37e64c6..00000000 --- a/buildroot-2021.05/package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 451330d09a6a3500b40bc4f5896ba790ab46cd6c Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sun, 15 Jan 2017 19:37:31 +0100 -Subject: [PATCH 2/2] tr_languages: cast string_ordinal init values - -On some architecture, "char" is signed (x86_64, nios2...) so the -compiler try to convert int 0xc2 and 0xba to a signed char. -This is an error since gcc6 (Wnarrowing). - -Fixes: -http://autobuild.buildroot.net/results/bae/baef9888b1979d18171668a675985e3f3b45fda6 - -Signed-off-by: Romain Naour ---- - src/tr_languages.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp -index 5c80286..dbc6e36 100644 ---- a/src/tr_languages.cpp -+++ b/src/tr_languages.cpp -@@ -200,7 +200,7 @@ static const unsigned short chars_ignore_zwnj_hyphen[] = { - 0x200d, 1, // zero width joiner - 0, 0 }; - --const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8 -+const char string_ordinal[] = {(char)0xc2,(char)0xba,0}; // masculine ordinal character, UTF-8 - - - static Translator* NewTranslator(void) --- -2.9.3 - diff --git a/buildroot-2021.05/package/espeak/espeak.mk b/buildroot-2021.05/package/espeak/espeak.mk deleted file mode 100644 index aa0b5b07..00000000 --- a/buildroot-2021.05/package/espeak/espeak.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# espeak -# -################################################################################ - -ESPEAK_VERSION_MAJOR = 1.48 -ESPEAK_VERSION = $(ESPEAK_VERSION_MAJOR).04 -ESPEAK_SOURCE = espeak-$(ESPEAK_VERSION)-source.zip -ESPEAK_SITE = http://downloads.sourceforge.net/project/espeak/espeak/espeak-$(ESPEAK_VERSION_MAJOR) -ESPEAK_LICENSE = GPL-3.0+ -ESPEAK_LICENSE_FILES = License.txt - -ifeq ($(BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA),y) -ESPEAK_AUDIO_BACKEND = portaudio -ESPEAK_DEPENDENCIES = portaudio -endif -ifeq ($(BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO),y) -ESPEAK_AUDIO_BACKEND = pulseaudio -ESPEAK_DEPENDENCIES = pulseaudio -endif - -define ESPEAK_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(ESPEAK_DL_DIR)/$(ESPEAK_SOURCE) - mv $(@D)/espeak-$(ESPEAK_VERSION)-source/* $(@D) - $(RM) -r $(@D)/espeak-$(ESPEAK_VERSION)-source -endef - -define ESPEAK_CONFIGURE_CMDS - # Buildroot provides portaudio V19, see ReadMe file for more details. - cp $(@D)/src/portaudio19.h $(@D)/src/portaudio.h -endef - -define ESPEAK_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \ - AUDIO="$(ESPEAK_AUDIO_BACKEND)" all -endef - -define ESPEAK_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ethtool/ethtool.hash b/buildroot-2021.05/package/ethtool/ethtool.hash deleted file mode 100644 index 334ff8d5..00000000 --- a/buildroot-2021.05/package/ethtool/ethtool.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc -sha256 817d5396a9307b4c637b435d4c558b8f5f964a1464a035ca3c0180f4cc93cfcf ethtool-5.10.tar.xz -# Locally calculated -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/buildroot-2021.05/package/ethtool/ethtool.mk b/buildroot-2021.05/package/ethtool/ethtool.mk deleted file mode 100644 index c9765ecc..00000000 --- a/buildroot-2021.05/package/ethtool/ethtool.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# ethtool -# -################################################################################ - -ETHTOOL_VERSION = 5.10 -ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz -ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool -ETHTOOL_LICENSE = GPL-2.0 -ETHTOOL_LICENSE_FILES = LICENSE COPYING -ETHTOOL_CPE_ID_VENDOR = kernel -ETHTOOL_CONF_OPTS = \ - $(if $(BR2_PACKAGE_ETHTOOL_PRETTY_PRINT),--enable-pretty-dump,--disable-pretty-dump) - -ifeq ($(BR2_PACKAGE_LIBMNL),y) -ETHTOOL_DEPENDENCIES += host-pkgconf libmnl -ETHTOOL_CONF_OPTS += --enable-netlink -else -ETHTOOL_CONF_OPTS += --disable-netlink -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/eudev/Config.in b/buildroot-2021.05/package/eudev/Config.in deleted file mode 100644 index 0e5bd0ce..00000000 --- a/buildroot-2021.05/package/eudev/Config.in +++ /dev/null @@ -1,46 +0,0 @@ -config BR2_PACKAGE_EUDEV - bool "eudev" - depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV - depends on BR2_USE_MMU # uses fork() - depends on BR2_USE_WCHAR # needs C99 compiler - depends on !BR2_STATIC_LIBS # kmod - select BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_UDEV_GENTOO_SCRIPTS if BR2_INIT_OPENRC - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBS - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_KMOD - help - eudev is a fork of systemd-udev with the goal of obtaining - better compatibility with existing software such as OpenRC and - Upstart, older kernels, various toolchains and anything else - required by users and various distributions. - - https://wiki.gentoo.org/wiki/Project:Eudev - -if BR2_PACKAGE_EUDEV - -config BR2_PACKAGE_PROVIDES_UDEV - default "eudev" - -config BR2_PACKAGE_EUDEV_RULES_GEN - bool "enable rules generator" - help - Enable persistent rules generator - -config BR2_PACKAGE_EUDEV_ENABLE_HWDB - bool "enable hwdb installation" - default y - select BR2_PACKAGE_HOST_EUDEV # for udevadm, during target-finalize - help - Enables hardware database installation to /etc/udev/hwdb.bin - -endif - -comment "eudev needs eudev /dev management" - depends on BR2_USE_MMU - depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV - -comment "eudev needs a toolchain w/ wchar, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/eudev/eudev.hash b/buildroot-2021.05/package/eudev/eudev.hash deleted file mode 100644 index fda04813..00000000 --- a/buildroot-2021.05/package/eudev/eudev.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://dev.gentoo.org/~blueness/eudev/ -md5 60b135a189523f333cea5f71a3345c8d eudev-3.2.10.tar.gz -# Locally calculated -sha256 87bb028d470fd1b85169349b44c55d5b733733dc2d50ddf1196e026725ead034 eudev-3.2.10.tar.gz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/eudev/eudev.mk b/buildroot-2021.05/package/eudev/eudev.mk deleted file mode 100644 index 5d18b388..00000000 --- a/buildroot-2021.05/package/eudev/eudev.mk +++ /dev/null @@ -1,94 +0,0 @@ -################################################################################ -# -# eudev -# -################################################################################ - -EUDEV_VERSION = 3.2.10 -EUDEV_SITE = http://dev.gentoo.org/~blueness/eudev -EUDEV_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries) -EUDEV_LICENSE_FILES = COPYING -EUDEV_INSTALL_STAGING = YES - -EUDEV_CONF_OPTS = \ - --disable-manpages \ - --sbindir=/sbin \ - --libexecdir=/lib \ - --disable-introspection \ - --enable-kmod \ - --enable-blkid - -# eudev requires only the util-linux libraries at build time -EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux-libs kmod -EUDEV_PROVIDES = udev - -ifeq ($(BR2_ROOTFS_MERGED_USR),) -EUDEV_CONF_OPTS += --with-rootlibdir=/lib --enable-split-usr -endif - -ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y) -EUDEV_CONF_OPTS += --enable-rule-generator -else -EUDEV_CONF_OPTS += --disable-rule-generator -endif - -ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB),y) -EUDEV_CONF_OPTS += --enable-hwdb -else -EUDEV_CONF_OPTS += --disable-hwdb -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -EUDEV_CONF_OPTS += --enable-selinux -EUDEV_DEPENDENCIES += libselinux -else -EUDEV_CONF_OPTS += --disable-selinux -endif - -define EUDEV_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev -endef - -# Avoid installing S10udev with openrc, as the service is started by a unit -# from the udev-gentoo-scripts package. -define EUDEV_INSTALL_INIT_OPENRC - @: -endef - -HOST_EUDEV_DEPENDENCIES = host-gperf host-pkgconf - -HOST_EUDEV_SYSCONFDIR = $(if $(BR2_PACKAGE_SYSTEMD),/usr/lib,/etc) -HOST_EUDEV_CONF_OPTS = \ - --prefix=/usr \ - --sbindir=/sbin \ - --libexecdir=/lib \ - --with-rootlibdir=/lib \ - --sysconfdir=$(HOST_EUDEV_SYSCONFDIR) \ - --disable-blkid \ - --disable-introspection \ - --disable-kmod \ - --disable-manpages \ - --disable-rule-generator \ - --disable-selinux \ - --enable-hwdb - -define HOST_EUDEV_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/src/udev/udevadm \ - $(HOST_DIR)/bin/udevadm -endef - -define HOST_EUDEV_BUILD_HWDB - $(HOST_DIR)/bin/udevadm hwdb --update --root $(TARGET_DIR) -endef -HOST_EUDEV_TARGET_FINALIZE_HOOKS += HOST_EUDEV_BUILD_HWDB - -# Note: this will run in the filesystem context, so will use a copy -# of tharget/, not the real one, so the files are still available on -# re-builds (foo-rebuild, etc...) -define HOST_EUDEV_RM_HWDB_SRC - rm -rf $(TARGET_DIR)/$(HOST_EUDEV_SYSCONFDIR)/udev/hwdb.d/ -endef -HOST_EUDEV_ROOTFS_PRE_CMD_HOOKS += HOST_EUDEV_RM_HWDB_SRC - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/evemu/evemu.mk b/buildroot-2021.05/package/evemu/evemu.mk deleted file mode 100644 index 02e5abdb..00000000 --- a/buildroot-2021.05/package/evemu/evemu.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# evemu -# -################################################################################ - -EVEMU_VERSION = 2.7.0 -EVEMU_SITE = http://www.freedesktop.org/software/evemu -EVEMU_SOURCE = evemu-$(EVEMU_VERSION).tar.xz -EVEMU_LICENSE = LGPL-3.0 (library), GPL-3.0 (tools) -EVEMU_LICENSE_FILES = COPYING - -# asciidoc used to generate manpages, which we don't need, and if it's -# present on the build host, it ends getting called with our host-python -# which doesn't have all the needed modules enabled, breaking the build -EVEMU_CONF_ENV = ac_cv_path_ASCIIDOC="" - -# disable tests generation because of C++ dependency -EVEMU_CONF_OPTS += --disable-tests - -# Uses PKG_CHECK_MODULES() in configure.ac -EVEMU_DEPENDENCIES = host-pkgconf libevdev - -# Check for target python -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -EVEMU_CONF_OPTS += --enable-python-bindings -EVEMU_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,python) -else -EVEMU_CONF_OPTS += --disable-python-bindings -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/exempi/exempi.hash b/buildroot-2021.05/package/exempi/exempi.hash deleted file mode 100644 index 5ea96830..00000000 --- a/buildroot-2021.05/package/exempi/exempi.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 52f54314aefd45945d47a6ecf4bd21f362e6467fa5d0538b0d45a06bc6eaaed5 exempi-2.5.2.tar.bz2 -sha256 3d3c3593c15e0d35bdae0df7c642106250f6be3adc61477419413900f23ae607 COPYING diff --git a/buildroot-2021.05/package/exempi/exempi.mk b/buildroot-2021.05/package/exempi/exempi.mk deleted file mode 100644 index f481469d..00000000 --- a/buildroot-2021.05/package/exempi/exempi.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# exempi -# -################################################################################ - -EXEMPI_VERSION = 2.5.2 -EXEMPI_SOURCE = exempi-$(EXEMPI_VERSION).tar.bz2 -EXEMPI_SITE = https://libopenraw.freedesktop.org/download -EXEMPI_INSTALL_STAGING = YES -EXEMPI_CONF_OPTS = --disable-unittest -EXEMPI_DEPENDENCIES = host-pkgconf expat zlib \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) -EXEMPI_LICENSE = BSD-3-Clause -EXEMPI_LICENSE_FILES = COPYING -EXEMPI_CPE_ID_VENDOR = exempi_project - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/exfat/exfat.mk b/buildroot-2021.05/package/exfat/exfat.mk deleted file mode 100644 index e2349515..00000000 --- a/buildroot-2021.05/package/exfat/exfat.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# exfat -# -################################################################################ - -EXFAT_VERSION = 1.3.0 -EXFAT_SITE = https://github.com/relan/exfat/releases/download/v$(EXFAT_VERSION) -EXFAT_SOURCE = fuse-exfat-$(EXFAT_VERSION).tar.gz -EXFAT_DEPENDENCIES = libfuse host-pkgconf -EXFAT_LICENSE = GPL-2.0+ -EXFAT_LICENSE_FILES = COPYING -EXFAT_CFLAGS = $(TARGET_CFLAGS) -std=c99 - -EXFAT_CONF_OPTS += --exec-prefix=/ - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/exfatprogs/exfatprogs.hash b/buildroot-2021.05/package/exfatprogs/exfatprogs.hash deleted file mode 100644 index 4dc18cd4..00000000 --- a/buildroot-2021.05/package/exfatprogs/exfatprogs.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/exfatprogs/exfatprogs/releases/download/1.1.0/exfatprogs-1.1.0.tar.xz.sha256 -sha256 69e2cf6430fc1d083c6ae0aea5eb80bf1b8e9775ed833bcd8331aef0fcacaf85 exfatprogs-1.1.0.tar.xz - -# Hash for license file -sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING diff --git a/buildroot-2021.05/package/exfatprogs/exfatprogs.mk b/buildroot-2021.05/package/exfatprogs/exfatprogs.mk deleted file mode 100644 index e10acc9e..00000000 --- a/buildroot-2021.05/package/exfatprogs/exfatprogs.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# exfatprogs -# -################################################################################ - -EXFATPROGS_VERSION = 1.1.0 -EXFATPROGS_SOURCE = exfatprogs-$(EXFATPROGS_VERSION).tar.xz -EXFATPROGS_SITE = https://github.com/exfatprogs/exfatprogs/releases/download/$(EXFATPROGS_VERSION) -EXFATPROGS_LICENSE = GPL-2.0+ -EXFATPROGS_LICENSE_FILES = COPYING -EXFATPROGS_DEPENDENCIES = host-pkgconf -HOST_EXFATPROGS_DEPENDENCIES = host-pkgconf - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/exim/exim.hash b/buildroot-2021.05/package/exim/exim.hash deleted file mode 100644 index 201f09eb..00000000 --- a/buildroot-2021.05/package/exim/exim.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt -sha256 051861fc89f06205162f12129fb7ebfe473383bb6194bf8642952bfd50329274 exim-4.94.2.tar.xz -# From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt -sha512 5334c236221ed4e03dbc33e6a79d939b06037fa2f4b71971607a360b67af5c85a89681ee13a5eeaf0184382c55a160cf2e89ed7afb2949f025a54f1e88f9e3fc exim-4.94.2.tar.xz -# Locally calculated -sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/buildroot-2021.05/package/exim/exim.mk b/buildroot-2021.05/package/exim/exim.mk deleted file mode 100644 index dd392084..00000000 --- a/buildroot-2021.05/package/exim/exim.mk +++ /dev/null @@ -1,159 +0,0 @@ -################################################################################ -# -# exim -# -################################################################################ - -EXIM_VERSION = 4.94.2 -EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz -EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 -EXIM_LICENSE = GPL-2.0+ -EXIM_LICENSE_FILES = LICENCE -EXIM_CPE_ID_VENDOR = exim -EXIM_DEPENDENCIES = host-berkeleydb host-pcre pcre berkeleydb host-pkgconf - -# Modify a variable value. It must already exist in the file, either -# commented or not. -define exim-config-change # variable-name, variable-value - $(SED) 's,^[#[:space:]]*$1[[:space:]]*=.*$$,$1=$2,' \ - $(@D)/Local/Makefile -endef - -# Comment-out a variable. Has no effect if it does not exits. -define exim-config-unset # variable-name - $(SED) 's,^\([[:space:]]*$1[[:space:]]*=.*$$\),# \1,' \ - $(@D)/Local/Makefile -endef - -# Add a variable definition. It must not already exist in the file, -# otherwise it would be defined twice with potentially different values. -define exim-config-add # variable-name, variable-value - echo "$1=$2" >>$(@D)/Local/Makefile -endef - -define EXIM_USE_CUSTOM_CONFIG_FILE - $(INSTALL) -m 0644 $(BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE) \ - $(@D)/Local/Makefile -endef - -define EXIM_USE_DEFAULT_CONFIG_FILE - $(INSTALL) -m 0644 $(@D)/src/EDITME $(@D)/Local/Makefile - $(call exim-config-change,BIN_DIRECTORY,/usr/sbin) - $(call exim-config-change,CONFIGURE_FILE,/etc/exim/configure) - $(call exim-config-change,LOG_FILE_PATH,/var/log/exim/exim_%slog) - $(call exim-config-change,PID_FILE_PATH,/var/run/exim/exim.pid) - $(call exim-config-change,EXIM_USER,ref:exim) - $(call exim-config-change,EXIM_GROUP,mail) - $(call exim-config-change,TRANSPORT_LMTP,yes) - $(call exim-config-change,PCRE_LIBS,-lpcre) - $(call exim-config-change,PCRE_CONFIG,no) - $(call exim-config-change,HAVE_ICONV,no) - $(call exim-config-unset,EXIM_MONITOR) - $(call exim-config-change,AUTH_PLAINTEXT,yes) - $(call exim-config-change,AUTH_CRAM_MD5,yes) - $(call exim-config-unset,SUPPORT_DANE) -endef - -ifeq ($(BR2_PACKAGE_DOVECOT),y) -EXIM_DEPENDENCIES += dovecot -define EXIM_USE_DEFAULT_CONFIG_FILE_DOVECOT - $(call exim-config-change,AUTH_DOVECOT,yes) -endef -endif - -ifeq ($(BR2_PACKAGE_CLAMAV),y) -EXIM_DEPENDENCIES += clamav -define EXIM_USE_DEFAULT_CONFIG_FILE_CLAMAV - $(call exim-config-change,WITH_CONTENT_SCAN,yes) -endef -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -EXIM_DEPENDENCIES += host-openssl openssl -define EXIM_USE_DEFAULT_CONFIG_FILE_OPENSSL - $(call exim-config-change,USE_OPENSSL,yes) - $(call exim-config-change,USE_OPENSSL_PC,openssl) -endef -else -define EXIM_USE_DEFAULT_CONFIG_FILE_OPENSSL - $(call exim-config-change,DISABLE_TLS,yes) -endef -endif - -# musl does not provide struct ip_options nor struct ip_opts (but it is -# available with both glibc and uClibc) -ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) -define EXIM_FIX_IP_OPTIONS_FOR_MUSL - $(SED) 's/#define GLIBC_IP_OPTIONS/#define DARWIN_IP_OPTIONS/' \ - $(@D)/OS/os.h-Linux -endef -endif - -define EXIM_CONFIGURE_TOOLCHAIN - $(call exim-config-add,CC,$(TARGET_CC)) - $(call exim-config-add,CFLAGS,$(TARGET_CFLAGS)) - $(call exim-config-add,AR,$(TARGET_AR) cq) - $(call exim-config-add,RANLIB,$(TARGET_RANLIB)) - $(call exim-config-add,HOSTCC,$(HOSTCC)) - $(call exim-config-add,HOSTCFLAGS,$(HOSTCFLAGS)) - $(EXIM_FIX_IP_OPTIONS_FOR_MUSL) -endef - -ifneq ($(call qstrip,$(BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE)),) -define EXIM_CONFIGURE_CMDS - $(EXIM_USE_CUSTOM_CONFIG_FILE) - $(EXIM_CONFIGURE_TOOLCHAIN) -endef -else # CUSTOM_CONFIG -define EXIM_CONFIGURE_CMDS - $(EXIM_USE_DEFAULT_CONFIG_FILE) - $(EXIM_USE_DEFAULT_CONFIG_FILE_DOVECOT) - $(EXIM_USE_DEFAULT_CONFIG_FILE_CLAMAV) - $(EXIM_USE_DEFAULT_CONFIG_FILE_OPENSSL) - $(EXIM_CONFIGURE_TOOLCHAIN) -endef -endif # CUSTOM_CONFIG - -# exim needs a bit of love to build statically -ifeq ($(BR2_STATIC_LIBS),y) -EXIM_STATIC_FLAGS = LFLAGS="-pthread --static" -endif - -# We need the host version of macro_predef during the build, before -# building it we need to prepare the makefile. -define EXIM_BUILD_CMDS - $(TARGET_MAKE_ENV) build=br $(MAKE) -C $(@D) makefile - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/build-br macro_predef \ - CC="$(HOSTCC)" \ - LNCC="$(HOSTCC)" \ - CFLAGS="-std=c99 $(HOST_CFLAGS)" \ - LFLAGS="-fPIC $(HOST_LDFLAGS)" - $(TARGET_MAKE_ENV) build=br $(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \ - CFLAGS="-std=c99 $(TARGET_CFLAGS)" -endef - -# Need to replicate the LFLAGS in install, as exim still wants to build -# something when installing... -define EXIM_INSTALL_TARGET_CMDS - DESTDIR=$(TARGET_DIR) INSTALL_ARG="-no_chown -no_symlink" build=br \ - $(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \ - CFLAGS="-std=c99 $(TARGET_CFLAGS)" \ - install - chmod u+s $(TARGET_DIR)/usr/sbin/exim -endef - -define EXIM_USERS - exim 88 mail 8 * - - - exim -endef - -define EXIM_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/exim/S86exim \ - $(TARGET_DIR)/etc/init.d/S86exim -endef - -define EXIM_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/exim/exim.service \ - $(TARGET_DIR)/usr/lib/systemd/system/exim.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/exiv2/0001-cmake-compilerFlags.cmake-properly-detect-availabili.patch b/buildroot-2021.05/package/exiv2/0001-cmake-compilerFlags.cmake-properly-detect-availabili.patch deleted file mode 100644 index 7b9fa488..00000000 --- a/buildroot-2021.05/package/exiv2/0001-cmake-compilerFlags.cmake-properly-detect-availabili.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 2f6d2e5795382f0d6e22f5aea52e8104110d24ad Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 19 Jul 2020 16:29:15 +0200 -Subject: [PATCH] cmake/compilerFlags.cmake: properly detect availability of - flags - -Instead of relying on fragile and complex logic to decide if a -compiler flag is available or not, use the check_c_compiler_flag() -macro provided by the CMake standard library. - -This for example avoids using -fcf-protection on architectures that -don't support this option. - -[Upstream: https://github.com/Exiv2/exiv2/pull/1252. The submitted -patch is slightly different than this one, due to other changes -between 0.27.3 and master.] -Signed-off-by: Thomas Petazzoni ---- - cmake/compilerFlags.cmake | 18 +++++++++++------- - 1 file changed, 11 insertions(+), 7 deletions(-) - -diff --git a/cmake/compilerFlags.cmake b/cmake/compilerFlags.cmake -index 0418aa61..be430977 100644 ---- a/cmake/compilerFlags.cmake -+++ b/cmake/compilerFlags.cmake -@@ -1,4 +1,5 @@ - # These flags applies to exiv2lib, the applications, and to the xmp code -+include(CheckCCompilerFlag) - - if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN - if (${CMAKE_CXX_COMPILER_ID} STREQUAL GNU) -@@ -25,13 +26,16 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN - - # This fails under Fedora, MinGW GCC 8.3.0 and CYGWIN/MSYS 9.3.0 - if (NOT (MINGW OR CMAKE_HOST_SOLARIS OR CYGWIN OR MSYS) ) -- if (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0) -- add_compile_options(-fstack-clash-protection -fcf-protection) -- endif() -- -- if( (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.0) # Not in GCC 4.8 -- OR (COMPILER_IS_CLANG AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 3.7) # Not in Clang 3.4.2 -- ) -+ check_c_compiler_flag(-fstack-clash-protection HAS_FSTACK_CLASH_PROTECTION) -+ check_c_compiler_flag(-fcf-protection HAS_FCF_PROTECTION) -+ check_c_compiler_flag(-fstack-protector-strong HAS_FSTACK_PROTECTOR_STRONG) -+ if(HAS_FSTACK_CLASH_PROTECTION) -+ add_compile_options(-fstack-clash-protection) -+ endif() -+ if(GCC_HAS_FCF_PROTECTION) -+ add_compile_options(-fcf-protection) -+ endif() -+ if(GCC_HAS_FSTACK_PROTECTOR_STRONG) - add_compile_options(-fstack-protector-strong) - endif() - endif() ---- -2.26.2 - diff --git a/buildroot-2021.05/package/exiv2/exiv2.hash b/buildroot-2021.05/package/exiv2/exiv2.hash deleted file mode 100644 index 94ab4ac6..00000000 --- a/buildroot-2021.05/package/exiv2/exiv2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 6398bc743c32b85b2cb2a604273b8c90aa4eb0fd7c1700bf66cbb2712b4f00c1 exiv2-0.27.3.tar.gz -sha256 a7ba75cb966aca374711e2af49e5f3aea6a4443a803440f5d93e73a5a1222f66 COPYING diff --git a/buildroot-2021.05/package/exiv2/exiv2.mk b/buildroot-2021.05/package/exiv2/exiv2.mk deleted file mode 100644 index 3d4cf417..00000000 --- a/buildroot-2021.05/package/exiv2/exiv2.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# exiv2 -# -################################################################################ - -EXIV2_VERSION = 0.27.3 -EXIV2_SITE = $(call github,Exiv2,exiv2,v$(EXIV2_VERSION)) -EXIV2_INSTALL_STAGING = YES -EXIV2_LICENSE = GPL-2.0+ -EXIV2_LICENSE_FILES = COPYING -EXIV2_CPE_ID_VENDOR = exiv2 - -EXIV2_CONF_OPTS += -DEXIV2_BUILD_SAMPLES=OFF - -ifeq ($(BR2_PACKAGE_EXIV2_LENSDATA),y) -EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=ON -else -EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=OFF -endif - -ifeq ($(BR2_PACKAGE_EXIV2_PNG),y) -EXIV2_CONF_OPTS += -DEXIV2_ENABLE_PNG=ON -EXIV2_DEPENDENCIES += zlib -else -EXIV2_CONF_OPTS += -DEXIV2_ENABLE_PNG=OFF -endif - -ifeq ($(BR2_PACKAGE_EXIV2_XMP),y) -EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=ON -EXIV2_DEPENDENCIES += expat -else -EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=OFF -endif - -EXIV2_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -EXIV2_CONF_OPTS += -DEXIV2_ENABLE_NLS=ON -else -EXIV2_CONF_OPTS += -DEXIV2_ENABLE_NLS=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/expat/expat.hash b/buildroot-2021.05/package/expat/expat.hash deleted file mode 100644 index 8cf563d8..00000000 --- a/buildroot-2021.05/package/expat/expat.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://sourceforge.net/projects/expat/files/expat/2.4.1/ -md5 a4fb91a9441bcaec576d4c4a56fa3aa6 expat-2.4.1.tar.xz -sha1 7988e4df355162500f09837aa95cbb48e6754420 expat-2.4.1.tar.xz - -# Locally calculated -sha256 cf032d0dba9b928636548e32b327a2d66b1aab63c4f4a13dd132c2d1d2f2fb6a expat-2.4.1.tar.xz -sha256 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec COPYING diff --git a/buildroot-2021.05/package/expat/expat.mk b/buildroot-2021.05/package/expat/expat.mk deleted file mode 100644 index bb1cfd8c..00000000 --- a/buildroot-2021.05/package/expat/expat.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# expat -# -################################################################################ - -EXPAT_VERSION = 2.4.1 -EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION) -EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz -EXPAT_INSTALL_STAGING = YES -EXPAT_DEPENDENCIES = host-pkgconf -HOST_EXPAT_DEPENDENCIES = host-pkgconf -EXPAT_LICENSE = MIT -EXPAT_LICENSE_FILES = COPYING -EXPAT_CPE_ID_VENDOR = libexpat_project -EXPAT_CPE_ID_PRODUCT = libexpat - -EXPAT_CONF_OPTS = --without-docbook -HOST_EXPAT_CONF_OPTS = --without-docbook - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/expect/expect.mk b/buildroot-2021.05/package/expect/expect.mk deleted file mode 100644 index 37b4ce70..00000000 --- a/buildroot-2021.05/package/expect/expect.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# expect -# -################################################################################ - -EXPECT_VERSION = 5.45.4 -EXPECT_SITE = https://sourceforge.net/projects/expect/files/Expect/$(EXPECT_VERSION) -EXPECT_SOURCE = expect$(EXPECT_VERSION).tar.gz -EXPECT_LICENSE = Public domain -EXPECT_LICENSE_FILES = README - -# 0001-enable-cross-compilation.patch -EXPECT_AUTORECONF = YES -EXPECT_DEPENDENCIES = tcl -EXPECT_CONF_OPTS = --with-tcl=$(BUILD_DIR)/tcl-$(TCL_VERSION)/unix - -# Since we don't want examples installed -EXPECT_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-binaries - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch b/buildroot-2021.05/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch deleted file mode 100644 index 6f340c35..00000000 --- a/buildroot-2021.05/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 36eed08a3783df6bb8d92d3c80cd47d0660eeb12 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sat, 30 Jan 2016 16:27:37 +0100 -Subject: [PATCH 1/1] hpav_cfg.c: do not include linux/if_ether.h for musl - compatibility - -Fixes a build issue with the musl C library -http://autobuild.buildroot.net/results/dc6/dc6e4d7327d2031ef921cccd814605dec73a0f9c/build-end.log - -Patch sent upstream: https://github.com/ffainelli/faifa/pull/13 - -Signed-off-by: Bernd Kuhls ---- - hpav_cfg.c | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/hpav_cfg.c b/hpav_cfg.c -index 7cc53af..45d3f0a 100644 ---- a/hpav_cfg.c -+++ b/hpav_cfg.c -@@ -53,8 +53,6 @@ - #include - #include - --#include -- - #include "homeplug_av.h" - #include "crypto.h" - --- -2.7.0.rc3 - diff --git a/buildroot-2021.05/package/fail2ban/Config.in b/buildroot-2021.05/package/fail2ban/Config.in deleted file mode 100644 index 86e62337..00000000 --- a/buildroot-2021.05/package/fail2ban/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_FAIL2BAN - bool "fail2ban" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_SYSTEMD if BR2_PACKAGE_SYSTEMD - help - Fail2ban scans log files (e.g. /var/log/apache/error_log) and - bans IPs that show the malicious signs -- too many password - failures, seeking for exploits, etc. Out of the box Fail2Ban - comes with filters for various services (apache, courier, - ssh, etc). - - Fail2Ban is able to reduce the rate of incorrect - authentications attempts however it cannot eliminate the risk - that weak authentication presents. - - https://www.fail2ban.org diff --git a/buildroot-2021.05/package/fail2ban/fail2ban.mk b/buildroot-2021.05/package/fail2ban/fail2ban.mk deleted file mode 100644 index 0e465e9c..00000000 --- a/buildroot-2021.05/package/fail2ban/fail2ban.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# fail2ban -# -################################################################################ - -FAIL2BAN_VERSION = 0.11.2 -FAIL2BAN_SITE = $(call github,fail2ban,fail2ban,$(FAIL2BAN_VERSION)) -FAIL2BAN_LICENSE = GPL-2.0+ -FAIL2BAN_LICENSE_FILES = COPYING -FAIL2BAN_CPE_ID_VENDOR = fail2ban -FAIL2BAN_SETUP_TYPE = distutils - -ifeq ($(BR2_PACKAGE_PYTHON3),y) -define FAIL2BAN_PYTHON_2TO3 - $(HOST_DIR)/bin/2to3 --write --nobackups --no-diffs $(@D)/bin/* $(@D)/fail2ban -endef -FAIL2BAN_DEPENDENCIES += host-python3 -# We can't use _POST_PATCH_HOOKS because dependencies are not guaranteed -# to build and install before _POST_PATCH_HOOKS run. -FAIL2BAN_PRE_CONFIGURE_HOOKS += FAIL2BAN_PYTHON_2TO3 -endif - -define FAIL2BAN_FIX_DEFAULT_CONFIG - $(SED) '/^socket/c\socket = /run/fail2ban.sock' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf - $(SED) '/^pidfile/c\pidfile = /run/fail2ban.pid' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf - $(SED) '/^dbfile/c\dbfile = None' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf -endef -FAIL2BAN_POST_INSTALL_TARGET_HOOKS += FAIL2BAN_FIX_DEFAULT_CONFIG - -# fail2ban-python points to host python -define FAIL2BAN_FIX_FAIL2BAN_PYTHON_SYMLINK - ln -snf $(if $(BR2_PACKAGE_PYTHON),python,python3) \ - $(TARGET_DIR)/usr/bin/fail2ban-python -endef -FAIL2BAN_POST_INSTALL_TARGET_HOOKS += FAIL2BAN_FIX_FAIL2BAN_PYTHON_SYMLINK - -define FAIL2BAN_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/fail2ban/S60fail2ban \ - $(TARGET_DIR)/etc/init.d/S60fail2ban -endef - -define FAIL2BAN_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(@D)/files/fail2ban.service.in \ - $(TARGET_DIR)/usr/lib/systemd/system/fail2ban.service - $(SED) 's,@BINDIR@,/usr/bin,g' $(TARGET_DIR)/usr/lib/systemd/system/fail2ban.service - $(SED) '/^PIDFile/c\PIDFile=/run/fail2ban.pid' $(TARGET_DIR)/usr/lib/systemd/system/fail2ban.service -endef - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/fakedate/fakedate b/buildroot-2021.05/package/fakedate/fakedate deleted file mode 100755 index a64d9b9c..00000000 --- a/buildroot-2021.05/package/fakedate/fakedate +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -# vim: set sw=4 expandtab: -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# Copyright (C) 2016 Jérôme Pouiller -# - -DATE_BIN=false -# Do not call `date' directly since it will produce an infinite recursion. -# Instead, find path of true `date' binary. -for P in `echo $PATH | tr ':' ' '`; do - if [ -x "$P/date" ]; then - if ! [ "$P/date" -ef "$0" ]; then - DATE_BIN="$P/date" - break; - fi - fi -done - -if [ -n "$SOURCE_DATE_EPOCH" ]; then - FORCE_EPOCH=1 - for i in "$@"; do - # Use of --date, --file and --reference (and their short option counter - # parts) is incompatible with SOURCE_DATE_EPOCH. - # -u and -R are the only short options without argument. So they could - # appear between '-' and option we want to match. - if echo "$i" | grep -qE '^-([uR]*d|-date|[uR]*f|-file|[uR]*r|--reference)'; then - FORCE_EPOCH=0 - break; - fi - done - if [ $FORCE_EPOCH -eq 1 ]; then - echo "date: Warning: using \$SOURCE_DATE_EPOCH instead of true time" >&2 - ARGS="-d @$SOURCE_DATE_EPOCH" - fi -fi - -exec $DATE_BIN $ARGS "$@" diff --git a/buildroot-2021.05/package/fakeroot/0001-skip-doc-subdirs.patch b/buildroot-2021.05/package/fakeroot/0001-skip-doc-subdirs.patch deleted file mode 100644 index 91663fb6..00000000 --- a/buildroot-2021.05/package/fakeroot/0001-skip-doc-subdirs.patch +++ /dev/null @@ -1,14 +0,0 @@ -For some reason, version 1.25 and up is missing all localized doc, -and thus fails on the install stage. - -Skip the directories. - -Signed-off-by: Norbert Lange ---- fakeroot-1.25.1.org/doc/Makefile.am 2020-09-22 23:52:20.000000000 +0200 -+++ fakeroot-1.25.1/doc/Makefile.am 2020-09-24 11:05:27.611298673 +0200 -@@ -1,5 +1,4 @@ - AUTOMAKE_OPTIONS=foreign --SUBDIRS = de es fr nl pt sv - - man_MANS = faked.1 fakeroot.1 - diff --git a/buildroot-2021.05/package/fakeroot/0002-libfakeroot.c-define-_STAT_VER-if-not-already-define.patch b/buildroot-2021.05/package/fakeroot/0002-libfakeroot.c-define-_STAT_VER-if-not-already-define.patch deleted file mode 100644 index 574e55e3..00000000 --- a/buildroot-2021.05/package/fakeroot/0002-libfakeroot.c-define-_STAT_VER-if-not-already-define.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 03bc0ee07fb6e293d081ffd8af1654788b434f6a Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Thu, 11 Feb 2021 20:59:25 -0800 -Subject: [PATCH] libfakeroot.c: define _STAT_VER if not already defined -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -glibc 2.33 does does declare `_STAT_VER` anymore. - -Based on patch from Jan Pazdziora: -https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SMQ3RYXEYTVZH6PLQMKNB3NM4XLPMNZO/ - -Backported from: feda578ca3608b7fc9a28a3a91293611c0ef47b7 - -Signed-off-by: Ilya Lipnitskiy -Signed-off-by: Jörg Krause ---- - libfakeroot.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/libfakeroot.c b/libfakeroot.c -index 3e80e38..14cdbc4 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -90,6 +90,16 @@ - #define SEND_GET_XATTR64(a,b,c) send_get_xattr64(a,b) - #endif - -+#ifndef _STAT_VER -+ #if defined (__aarch64__) -+ #define _STAT_VER 0 -+ #elif defined (__x86_64__) -+ #define _STAT_VER 1 -+ #else -+ #define _STAT_VER 3 -+ #endif -+#endif -+ - /* - These INT_* (which stands for internal) macros should always be used when - the fakeroot library owns the storage of the stat variable. --- -2.30.1 - diff --git a/buildroot-2021.05/package/fakeroot/0003-libfakeroot.c-add-wrappers-for-new-glibc-2.33-symbol.patch b/buildroot-2021.05/package/fakeroot/0003-libfakeroot.c-add-wrappers-for-new-glibc-2.33-symbol.patch deleted file mode 100644 index 8115598d..00000000 --- a/buildroot-2021.05/package/fakeroot/0003-libfakeroot.c-add-wrappers-for-new-glibc-2.33-symbol.patch +++ /dev/null @@ -1,80 +0,0 @@ -From feda578ca3608b7fc9a28a3a91293611c0ef47b7 Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Thu, 11 Feb 2021 21:00:04 -0800 -Subject: [PATCH] libfakeroot.c: add wrappers for new glibc 2.33+ symbols -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This patch add wrappers for newly exported symbols in glibc 2.33. - -Backported from: feda578ca3608b7fc9a28a3a91293611c0ef47b7 - -Signed-off-by: Ilya Lipnitskiy -Signed-off-by: Jörg Krause ---- - libfakeroot.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 48 insertions(+) - -diff --git a/libfakeroot.c b/libfakeroot.c -index 14cdbc4..d75c51f 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -1352,6 +1352,54 @@ int renameat(int olddir_fd, const char *oldpath, - #endif /* HAVE_FSTATAT */ - - -+#if defined(__GLIBC__) && __GLIBC_PREREQ(2,33) -+/* Glibc 2.33 exports symbols for these functions in the shared lib */ -+ int lstat(const char *file_name, struct stat *statbuf) { -+ return WRAP_LSTAT LSTAT_ARG(_STAT_VER, file_name, statbuf); -+ } -+ int stat(const char *file_name, struct stat *st) { -+ return WRAP_STAT STAT_ARG(_STAT_VER, file_name, st); -+ } -+ int fstat(int fd, struct stat *st) { -+ return WRAP_FSTAT FSTAT_ARG(_STAT_VER, fd, st); -+ } -+ -+ #ifdef HAVE_FSTATAT -+ int fstatat(int dir_fd, const char *path, struct stat *st, int flags) { -+ return WRAP_FSTATAT FSTATAT_ARG(_STAT_VER, dir_fd, path, st, flags); -+ } -+ #endif -+ -+ #ifdef STAT64_SUPPORT -+ int lstat64(const char *file_name, struct stat64 *st) { -+ return WRAP_LSTAT64 LSTAT64_ARG(_STAT_VER, file_name, st); -+ } -+ int stat64(const char *file_name, struct stat64 *st) { -+ return WRAP_STAT64 STAT64_ARG(_STAT_VER, file_name, st); -+ } -+ int fstat64(int fd, struct stat64 *st) { -+ return WRAP_FSTAT64 FSTAT64_ARG(_STAT_VER, fd, st); -+ } -+ -+ #ifdef HAVE_FSTATAT -+ int fstatat64(int dir_fd, const char *path, struct stat64 *st, int flags) { -+ return WRAP_FSTATAT64 FSTATAT64_ARG(_STAT_VER, dir_fd, path, st, flags); -+ } -+ #endif -+ #endif -+ -+ int mknod(const char *pathname, mode_t mode, dev_t dev) { -+ return WRAP_MKNOD MKNOD_ARG(_STAT_VER, pathname, mode, &dev); -+ } -+ -+ #if defined(HAVE_FSTATAT) && defined(HAVE_MKNODAT) -+ int mknodat(int dir_fd, const char *pathname, mode_t mode, dev_t dev) { -+ return WRAP_MKNODAT MKNODAT_ARG(_STAT_VER, dir_fd, pathname, mode, &dev); -+ } -+ #endif -+#endif /* GLIBC_PREREQ */ -+ -+ - #ifdef FAKEROOT_FAKENET - pid_t fork(void) - { --- -2.30.1 - diff --git a/buildroot-2021.05/package/fakeroot/0004-configure.ac-fix-__xmknod-at-pointer-argument.patch b/buildroot-2021.05/package/fakeroot/0004-configure.ac-fix-__xmknod-at-pointer-argument.patch deleted file mode 100644 index 38dfea86..00000000 --- a/buildroot-2021.05/package/fakeroot/0004-configure.ac-fix-__xmknod-at-pointer-argument.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 432dd46e662772020306a2ce8b1be38321697e69 Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Sat, 13 Feb 2021 19:32:08 -0800 -Subject: [PATCH] configure.ac: fix __xmknod{,at} pointer argument -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Switch default to assume * and not the absence of *. - -On glibc 2.33+, there is no definition for these functions in header -files, so the compile test doesn't work. But, we can default to using -the pointer (as is the case with newer glibc), and use the header file -on older platforms to fail the test and use no pointer. - -Backported from: c3eebec293e35b997bb46c22fb5a4e114afb5e7f - -Signed-off-by: Ilya Lipnitskiy -Signed-off-by: Jörg Krause ---- - configure.ac | 16 ++++++++-------- - 1 file changed, 8 insertions(+), 8 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 73415d2..d85566f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -183,13 +183,13 @@ AC_MSG_CHECKING([for type of arg of __xmknod]) - ]], [[ - int __xmknod ( int ver, - const char *pathname , -- mode_t mode , dev_t dev); -+ mode_t mode , dev_t *dev); - ]])],[ -- AC_DEFINE(XMKNOD_FRTH_ARG,) -- AC_MSG_RESULT([no extra *]) -- ],[ - AC_DEFINE(XMKNOD_FRTH_ARG,[*]) - AC_MSG_RESULT([needs *]) -+ ],[ -+ AC_DEFINE(XMKNOD_FRTH_ARG,) -+ AC_MSG_RESULT([no extra *]) - - ]) - -@@ -210,13 +210,13 @@ AC_MSG_CHECKING([for type of arg of __xmknodat]) - int __xmknodat ( int ver, - int dirfd, - const char *pathname , -- mode_t mode , dev_t dev); -+ mode_t mode , dev_t *dev); - ]])],[ -- AC_DEFINE(XMKNODAT_FIFTH_ARG,) -- AC_MSG_RESULT([no extra *]) -- ],[ - AC_DEFINE(XMKNODAT_FIFTH_ARG,[*]) - AC_MSG_RESULT([needs *]) -+ ],[ -+ AC_DEFINE(XMKNODAT_FIFTH_ARG,) -+ AC_MSG_RESULT([no extra *]) - - ]) - --- -2.30.1 - diff --git a/buildroot-2021.05/package/fakeroot/0005-fix-build-regression-on-macOS.patch b/buildroot-2021.05/package/fakeroot/0005-fix-build-regression-on-macOS.patch deleted file mode 100644 index d5589a79..00000000 --- a/buildroot-2021.05/package/fakeroot/0005-fix-build-regression-on-macOS.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 3590b817df703a256f2c1de9a5f5469eaa1c86e9 Mon Sep 17 00:00:00 2001 -From: Ilya Lipnitskiy -Date: Mon, 15 Feb 2021 11:07:56 -0800 -Subject: [PATCH] fix build regression on macOS - -Signed-off-by: Felix Fietkau -Signed-off-by: Ilya Lipnitskiy -[Ryan: backported from 8090dffdad8fda86dccd47ce7a7db8840bdf7d7b] -Signed-off-by: Ryan Barnett ---- - configure.ac | 6 ++++++ - libfakeroot.c | 4 +++- - 2 files changed, 9 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index d85566f..d635df1 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -181,6 +181,9 @@ AC_MSG_CHECKING([for type of arg of __xmknod]) - #include - #include - ]], [[ -+#ifndef __GLIBC__ -+#error no extra * -+#endif - int __xmknod ( int ver, - const char *pathname , - mode_t mode , dev_t *dev); -@@ -207,6 +210,9 @@ AC_MSG_CHECKING([for type of arg of __xmknodat]) - #include - #include - ]], [[ -+#ifndef __GLIBC__ -+#error no extra * -+#endif - int __xmknodat ( int ver, - int dirfd, - const char *pathname , -diff --git a/libfakeroot.c b/libfakeroot.c -index d75c51f..ec4e577 100644 ---- a/libfakeroot.c -+++ b/libfakeroot.c -@@ -1352,7 +1352,8 @@ int renameat(int olddir_fd, const char *oldpath, - #endif /* HAVE_FSTATAT */ - - --#if defined(__GLIBC__) && __GLIBC_PREREQ(2,33) -+#if defined(__GLIBC__) -+#if __GLIBC_PREREQ(2,33) - /* Glibc 2.33 exports symbols for these functions in the shared lib */ - int lstat(const char *file_name, struct stat *statbuf) { - return WRAP_LSTAT LSTAT_ARG(_STAT_VER, file_name, statbuf); -@@ -1397,6 +1398,7 @@ int renameat(int olddir_fd, const char *oldpath, - return WRAP_MKNODAT MKNODAT_ARG(_STAT_VER, dir_fd, pathname, mode, &dev); - } - #endif -+#endif /* __GLIBC__ */ - #endif /* GLIBC_PREREQ */ - - --- -2.25.1 - diff --git a/buildroot-2021.05/package/fakeroot/fakeroot.hash b/buildroot-2021.05/package/fakeroot/fakeroot.hash deleted file mode 100644 index 1a23d9e8..00000000 --- a/buildroot-2021.05/package/fakeroot/fakeroot.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.25.3-1.dsc -sha256 8e903683357f7f5bcc31b879fd743391ad47691d4be33d24a76be3b6c21e956c fakeroot_1.25.3.orig.tar.gz -# License files, locally calculated -sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING diff --git a/buildroot-2021.05/package/fakeroot/fakeroot.mk b/buildroot-2021.05/package/fakeroot/fakeroot.mk deleted file mode 100644 index c3312b77..00000000 --- a/buildroot-2021.05/package/fakeroot/fakeroot.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# fakeroot -# -################################################################################ - -FAKEROOT_VERSION = 1.25.3 -FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.gz -FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20201008T205817Z/pool/main/f/fakeroot - -HOST_FAKEROOT_DEPENDENCIES = host-acl -# Force capabilities detection off -# For now these are process capabilities (faked) rather than file -# so they're of no real use -HOST_FAKEROOT_CONF_ENV = \ - ac_cv_header_sys_capability_h=no \ - ac_cv_func_capset=no -# patching configure.ac in patch 0003 -HOST_FAKEROOT_AUTORECONF = YES -FAKEROOT_LICENSE = GPL-3.0+ -FAKEROOT_LICENSE_FILES = COPYING - -define HOST_FAKEROOT_BUILD_AUX - mkdir -p $(@D)/build-aux -endef -HOST_FAKEROOT_POST_PATCH_HOOKS += HOST_FAKEROOT_BUILD_AUX - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/fastd/Config.in b/buildroot-2021.05/package/fastd/Config.in deleted file mode 100644 index 5319d685..00000000 --- a/buildroot-2021.05/package/fastd/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -config BR2_PACKAGE_FASTD - bool "fastd" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS # libuecc - select BR2_PACKAGE_LIBUECC - select BR2_PACKAGE_LIBSODIUM - select BR2_PACKAGE_LIBSODIUM_FULL - help - Fast and Secure Tunneling Daemon - - https://github.com/NeoRaider/fastd/wiki - -if BR2_PACKAGE_FASTD - -config BR2_PACKAGE_FASTD_STATUS_SOCKET - bool "status socket support" - default y - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c - select BR2_PACKAGE_JSON_C - help - Enable support for a socket to get fastd's status. - -endif - -comment "fastd needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/fastd/fastd.hash b/buildroot-2021.05/package/fastd/fastd.hash deleted file mode 100644 index b59085e0..00000000 --- a/buildroot-2021.05/package/fastd/fastd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# computed locally -sha256 942f33bcd794bcb8e19da4c30c875bdfd4d0f1c24ec4dcdf51237791bbfb0d4c fastd-21.tar.xz -sha256 1f5acece57466eac89108f934a196be09b7676fa2d637e78d6657ee1a7d644ac COPYRIGHT diff --git a/buildroot-2021.05/package/fastd/fastd.mk b/buildroot-2021.05/package/fastd/fastd.mk deleted file mode 100644 index c1db1cc4..00000000 --- a/buildroot-2021.05/package/fastd/fastd.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# fastd -# -################################################################################ - -FASTD_VERSION = 21 -FASTD_SITE = https://github.com/NeoRaider/fastd/releases/download/v$(FASTD_VERSION) -FASTD_SOURCE = fastd-$(FASTD_VERSION).tar.xz -FASTD_LICENSE = BSD-2-Clause -FASTD_LICENSE_FILES = COPYRIGHT -FASTD_CPE_ID_VERSION = $(FASTD_VERSION).0 -FASTD_DEPENDENCIES = host-bison host-pkgconf libuecc libsodium - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -FASTD_CONF_OPTS += -Dcapabilities=enabled -FASTD_DEPENDENCIES += libcap -else -FASTD_CONF_OPTS += -Dcapabilities=disabled -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -FASTD_CONF_OPTS += -Dcipher_aes128-ctr=enabled -FASTD_DEPENDENCIES += openssl -else -FASTD_CONF_OPTS += -Dcipher_aes128-ctr=disabled -endif - -ifeq ($(BR2_PACKAGE_FASTD_STATUS_SOCKET),y) -FASTD_CONF_OPTS += -Dstatus_socket=enabled -FASTD_DEPENDENCIES += json-c -else -FASTD_CONF_OPTS += -Dstatus_socket=disabled -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -FASTD_CONF_OPTS += -Dsystemd=enabled -else -FASTD_CONF_OPTS += -Dsystemd=disabled -endif - -ifeq ($(BR2_GCC_ENABLE_LTO),y) -FASTD_CONF_OPTS += -Db_lto=true -else -FASTD_CONF_OPTS += -Db_lto=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/fatcat/fatcat.hash b/buildroot-2021.05/package/fatcat/fatcat.hash deleted file mode 100644 index 66823e2d..00000000 --- a/buildroot-2021.05/package/fatcat/fatcat.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 303efe2aa73cbfe6fbc5d8af346d0f2c70b3f996fc891e8859213a58b95ad88c fatcat-1.1.0.tar.gz -sha256 3ea03755e32cf7f5b12981de92a0fdad396448195fe0024990c9cbc388e9866c LICENSE diff --git a/buildroot-2021.05/package/fatcat/fatcat.mk b/buildroot-2021.05/package/fatcat/fatcat.mk deleted file mode 100644 index 1a2e5aac..00000000 --- a/buildroot-2021.05/package/fatcat/fatcat.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# fatcat -# -################################################################################ - -FATCAT_VERSION = 1.1.0 -FATCAT_SITE = $(call github,Gregwar,fatcat,v$(FATCAT_VERSION)) -FATCAT_LICENSE = MIT -FATCAT_LICENSE_FILES = LICENSE - -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/fb-test-app/fb-test-app.hash b/buildroot-2021.05/package/fb-test-app/fb-test-app.hash deleted file mode 100644 index 06611db7..00000000 --- a/buildroot-2021.05/package/fb-test-app/fb-test-app.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 6baf6b45968d0bb9a5527c6c4bf18661e9f9eb9be973a6d1952c38168c90d58f fb-test-app-rosetta-1.1.0.tar.gz -sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/buildroot-2021.05/package/fb-test-app/fb-test-app.mk b/buildroot-2021.05/package/fb-test-app/fb-test-app.mk deleted file mode 100644 index 1ab7b2f2..00000000 --- a/buildroot-2021.05/package/fb-test-app/fb-test-app.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# fb-test-app -# -################################################################################ - -FB_TEST_APP_VERSION = rosetta-1.1.0 -FB_TEST_APP_SITE = $(call github,prpplague,fb-test-app,$(FB_TEST_APP_VERSION)) -FB_TEST_APP_LICENSE = GPL-2.0 -FB_TEST_APP_LICENSE_FILES = COPYING - -define FB_TEST_APP_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all -endef - -define FB_TEST_APP_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/perf $(TARGET_DIR)/usr/bin/fb-test-perf - $(INSTALL) -D -m 0755 $(@D)/rect $(TARGET_DIR)/usr/bin/fb-test-rect - $(INSTALL) -D -m 0755 $(@D)/fb-test $(TARGET_DIR)/usr/bin/fb-test - $(INSTALL) -D -m 0755 $(@D)/offset $(TARGET_DIR)/usr/bin/fb-test-offset -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/fbgrab/fbgrab.hash b/buildroot-2021.05/package/fbgrab/fbgrab.hash deleted file mode 100644 index 4d9a6b97..00000000 --- a/buildroot-2021.05/package/fbgrab/fbgrab.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 62d7aa82138ac36db0921832f3b5267b4cffc0dc22c8701857ebcb997960a32e fbgrab-1.4.tar.gz -sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 COPYING diff --git a/buildroot-2021.05/package/fbgrab/fbgrab.mk b/buildroot-2021.05/package/fbgrab/fbgrab.mk deleted file mode 100644 index 1ae03ae4..00000000 --- a/buildroot-2021.05/package/fbgrab/fbgrab.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# fbgrab -# -################################################################################ - -FBGRAB_VERSION = 1.4 -FBGRAB_SITE = $(call github,GunnarMonell,fbgrab,$(FBGRAB_VERSION)) -FBGRAB_DEPENDENCIES = libpng -FBGRAB_LICENSE = GPL-2.0 -FBGRAB_LICENSE_FILES = COPYING - -define FBGRAB_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) fbgrab -endef - -define FBGRAB_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/fbgrab $(TARGET_DIR)/usr/bin/fbgrab -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/fdk-aac/fdk-aac.hash b/buildroot-2021.05/package/fdk-aac/fdk-aac.hash deleted file mode 100644 index 6b41e66a..00000000 --- a/buildroot-2021.05/package/fdk-aac/fdk-aac.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceforge.net/projects/opencore-amr/files/fdk-aac/ -sha1 575e90e85321c5be44dcf743a40ea57ab0835928 fdk-aac-2.0.1.tar.gz -md5 e8b0b38e837df455b8a1ba75417ff0ad fdk-aac-2.0.1.tar.gz -# Locally computed: -sha256 840133aa9412153894af03b27b03dde1188772442c316a4ce2a24ed70093f271 fdk-aac-2.0.1.tar.gz -sha256 95ec80da40b4af12ad4c4f3158c9cfb80f2479f3246e4260cb600827cc8c7836 NOTICE diff --git a/buildroot-2021.05/package/fdk-aac/fdk-aac.mk b/buildroot-2021.05/package/fdk-aac/fdk-aac.mk deleted file mode 100644 index 92753b5e..00000000 --- a/buildroot-2021.05/package/fdk-aac/fdk-aac.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# fdk-aac -# -################################################################################ - -FDK_AAC_VERSION = 2.0.1 -FDK_AAC_SITE = http://downloads.sourceforge.net/project/opencore-amr/fdk-aac -FDK_AAC_LICENSE = fdk-aac license -FDK_AAC_LICENSE_FILES = NOTICE - -FDK_AAC_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/feh/feh.hash b/buildroot-2021.05/package/feh/feh.hash deleted file mode 100644 index 3a2296ac..00000000 --- a/buildroot-2021.05/package/feh/feh.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 437420f37f11614e008d066e2a3bdefcfc78144c8212998b2bacdd5d21ea23b4 feh-3.6.3.tar.bz2 -sha256 2c3a31327dc3cc3331aa6e759d378e4f66d0ece7174a0d5aa137f3cba4bf0509 COPYING diff --git a/buildroot-2021.05/package/feh/feh.mk b/buildroot-2021.05/package/feh/feh.mk deleted file mode 100644 index df59e67d..00000000 --- a/buildroot-2021.05/package/feh/feh.mk +++ /dev/null @@ -1,45 +0,0 @@ -################################################################################ -# -# feh -# -################################################################################ - -FEH_VERSION = 3.6.3 -FEH_SOURCE = feh-$(FEH_VERSION).tar.bz2 -FEH_SITE = http://feh.finalrewind.org -FEH_DEPENDENCIES = imlib2 libpng xlib_libXt -FEH_LICENSE = MIT -FEH_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -FEH_DEPENDENCIES += libcurl -FEH_MAKE_OPTS += curl=1 -else -FEH_MAKE_OPTS += curl=0 -endif - -ifeq ($(BR2_PACKAGE_LIBEXIF),y) -FEH_DEPENDENCIES += libexif -FEH_MAKE_OPTS += exif=1 -else -FEH_MAKE_OPTS += exif=0 -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) -FEH_DEPENDENCIES += xlib_libXinerama -FEH_MAKE_OPTS += xinerama=1 -else -FEH_MAKE_OPTS += xinerama=0 -endif - -define FEH_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \ - $(MAKE) $(FEH_MAKE_OPTS) -C $(@D) all -endef - -define FEH_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(FEH_MAKE_OPTS) PREFIX=/usr \ - DESTDIR=$(TARGET_DIR) -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/fetchmail/fetchmail.hash b/buildroot-2021.05/package/fetchmail/fetchmail.hash deleted file mode 100644 index 8f092a3f..00000000 --- a/buildroot-2021.05/package/fetchmail/fetchmail.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceforge.net/p/fetchmail/mailman/message/37267719/ -sha256 cd8d11a3d103e50caa2ec64bcda6307eb3d0783a4d4dfd88e668b81aaf9d6b5f fetchmail-6.4.19.tar.xz -# From https://sourceforge.net/projects/fetchmail/files/branch_6.4/ -sha1 bb6959f0cf1f6d689c2ba3834c5bba72e4f9ec07 fetchmail-6.4.19.tar.xz -# Locally computed: -sha256 6346b5aa04e258fa4326272ea92372d796b4382aa963535ae98a3bb5f8cd5aeb COPYING diff --git a/buildroot-2021.05/package/fetchmail/fetchmail.mk b/buildroot-2021.05/package/fetchmail/fetchmail.mk deleted file mode 100644 index 7233da98..00000000 --- a/buildroot-2021.05/package/fetchmail/fetchmail.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# fetchmail -# -################################################################################ - -FETCHMAIL_VERSION_MAJOR = 6.4 -FETCHMAIL_VERSION = $(FETCHMAIL_VERSION_MAJOR).19 -FETCHMAIL_SOURCE = fetchmail-$(FETCHMAIL_VERSION).tar.xz -FETCHMAIL_SITE = http://downloads.sourceforge.net/project/fetchmail/branch_$(FETCHMAIL_VERSION_MAJOR) -FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING -FETCHMAIL_LICENSE_FILES = COPYING -FETCHMAIL_CPE_ID_VENDOR = fetchmail - -FETCHMAIL_CONF_OPTS = \ - --with-ssl=$(STAGING_DIR)/usr - -FETCHMAIL_DEPENDENCIES = \ - ca-certificates \ - host-pkgconf \ - openssl \ - $(TARGET_NLS_DEPENDENCIES) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ffmpeg/0003-libavutil-Fix-mips-build.patch b/buildroot-2021.05/package/ffmpeg/0003-libavutil-Fix-mips-build.patch deleted file mode 100644 index 7af01463..00000000 --- a/buildroot-2021.05/package/ffmpeg/0003-libavutil-Fix-mips-build.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 6e8daf0d502a2a822f1f08f42368d7d676dc1a9e Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sun, 6 Jun 2021 08:54:53 +0200 -Subject: [PATCH] libavutil: Fix mips build - -Check for sys/auxv.h because not all toolchains contain this header. - -Fixes https://trac.ffmpeg.org/ticket/9138 - -Patch sent upstream: -http://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/281037.html - -Signed-off-by: Bernd Kuhls ---- - configure | 2 ++ - libavutil/mips/cpu.c | 6 +++--- - 2 files changed, 5 insertions(+), 3 deletions(-) - -diff --git a/configure b/configure -index 82367fd30d..b0154cb8b2 100755 ---- a/configure -+++ b/configure -@@ -2161,6 +2161,7 @@ HEADERS_LIST=" - opencv2_core_core_c_h - OpenGL_gl3_h - poll_h -+ sys_auxv_h - sys_param_h - sys_resource_h - sys_select_h -@@ -6210,6 +6211,7 @@ check_func_headers VideoToolbox/VTCompressionSession.h VTCompressionSessionPrepa - check_headers windows.h - check_headers X11/extensions/XvMClib.h - check_headers asm/types.h -+check_headers sys/auxv.h - - # it seems there are versions of clang in some distros that try to use the - # gcc headers, which explodes for stdatomic -diff --git a/libavutil/mips/cpu.c b/libavutil/mips/cpu.c -index 59619d54de..4738104cdd 100644 ---- a/libavutil/mips/cpu.c -+++ b/libavutil/mips/cpu.c -@@ -19,7 +19,7 @@ - #include "libavutil/cpu.h" - #include "libavutil/cpu_internal.h" - #include "config.h" --#if defined __linux__ || defined __ANDROID__ -+#if (defined __linux__ || defined __ANDROID__) && defined(HAVE_SYS_AUXV_H) - #include - #include - #include -@@ -28,7 +28,7 @@ - #include "libavutil/avstring.h" - #endif - --#if defined __linux__ || defined __ANDROID__ -+#if (defined __linux__ || defined __ANDROID__) && defined(HAVE_SYS_AUXV_H) - - #define HWCAP_LOONGSON_CPUCFG (1 << 14) - -@@ -105,7 +105,7 @@ static int cpu_flags_cpuinfo(void) - - int ff_get_cpu_flags_mips(void) - { --#if defined __linux__ || defined __ANDROID__ -+#if (defined __linux__ || defined __ANDROID__) && defined(HAVE_SYS_AUXV_H) - if (cpucfg_available()) - return cpu_flags_cpucfg(); - else --- -2.29.2 - diff --git a/buildroot-2021.05/package/ffmpeg/ffmpeg.hash b/buildroot-2021.05/package/ffmpeg/ffmpeg.hash deleted file mode 100644 index d841afd6..00000000 --- a/buildroot-2021.05/package/ffmpeg/ffmpeg.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 06b10a183ce5371f915c6bb15b7b1fffbe046e8275099c96affc29e17645d909 ffmpeg-4.4.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 -sha256 b634ab5640e258563c536e658cad87080553df6f34f62269a21d554844e58bfe COPYING.LGPLv2.1 -sha256 cb48bf09a11f5fb576cddb0431c8f5ed0a60157a9ec942adffc13907cbe083f2 LICENSE.md diff --git a/buildroot-2021.05/package/ffmpeg/ffmpeg.mk b/buildroot-2021.05/package/ffmpeg/ffmpeg.mk deleted file mode 100644 index 8ff8ea8c..00000000 --- a/buildroot-2021.05/package/ffmpeg/ffmpeg.mk +++ /dev/null @@ -1,578 +0,0 @@ -################################################################################ -# -# ffmpeg -# -################################################################################ - -FFMPEG_VERSION = 4.4 -FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz -FFMPEG_SITE = http://ffmpeg.org/releases -FFMPEG_INSTALL_STAGING = YES - -FFMPEG_LICENSE = LGPL-2.1+, libjpeg license -FFMPEG_LICENSE_FILES = LICENSE.md COPYING.LGPLv2.1 -ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y) -FFMPEG_LICENSE += and GPL-2.0+ -FFMPEG_LICENSE_FILES += COPYING.GPLv2 -endif - -FFMPEG_CPE_ID_VENDOR = ffmpeg - -FFMPEG_CONF_OPTS = \ - --prefix=/usr \ - --enable-avfilter \ - --disable-version3 \ - --enable-logging \ - --enable-optimizations \ - --disable-extra-warnings \ - --enable-avdevice \ - --enable-avcodec \ - --enable-avformat \ - --enable-network \ - --disable-gray \ - --enable-swscale-alpha \ - --disable-small \ - --enable-dct \ - --enable-fft \ - --enable-mdct \ - --enable-rdft \ - --disable-crystalhd \ - --disable-dxva2 \ - --enable-runtime-cpudetect \ - --disable-hardcoded-tables \ - --disable-mipsdsp \ - --disable-mipsdspr2 \ - --disable-msa \ - --enable-hwaccels \ - --disable-cuda \ - --disable-cuvid \ - --disable-nvenc \ - --disable-avisynth \ - --disable-frei0r \ - --disable-libopencore-amrnb \ - --disable-libopencore-amrwb \ - --disable-libdc1394 \ - --disable-libgsm \ - --disable-libilbc \ - --disable-libvo-amrwbenc \ - --disable-symver \ - --disable-doc - -FFMPEG_DEPENDENCIES += host-pkgconf - -ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y) -FFMPEG_CONF_OPTS += --enable-gpl -else -FFMPEG_CONF_OPTS += --disable-gpl -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_NONFREE),y) -FFMPEG_CONF_OPTS += --enable-nonfree -else -FFMPEG_CONF_OPTS += --disable-nonfree -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_FFMPEG),y) -FFMPEG_CONF_OPTS += --enable-ffmpeg -else -FFMPEG_CONF_OPTS += --disable-ffmpeg -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_FFPLAY),y) -FFMPEG_DEPENDENCIES += sdl2 -FFMPEG_CONF_OPTS += --enable-ffplay -FFMPEG_CONF_ENV += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl2-config -else -FFMPEG_CONF_OPTS += --disable-ffplay -endif - -ifeq ($(BR2_PACKAGE_LIBV4L),y) -FFMPEG_DEPENDENCIES += libv4l -FFMPEG_CONF_OPTS += --enable-libv4l2 -else -FFMPEG_CONF_OPTS += --disable-libv4l2 -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y) -FFMPEG_CONF_OPTS += --enable-avresample -else -FFMPEG_CONF_OPTS += --disable-avresample -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_FFPROBE),y) -FFMPEG_CONF_OPTS += --enable-ffprobe -else -FFMPEG_CONF_OPTS += --disable-ffprobe -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_XCBGRAB),y) -FFMPEG_CONF_OPTS += \ - --enable-libxcb \ - --enable-libxcb-shape \ - --enable-libxcb-shm \ - --enable-libxcb-xfixes -FFMPEG_DEPENDENCIES += libxcb -else -FFMPEG_CONF_OPTS += --disable-libxcb -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y) -FFMPEG_CONF_OPTS += --enable-postproc -else -FFMPEG_CONF_OPTS += --disable-postproc -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y) -FFMPEG_CONF_OPTS += --enable-swscale -else -FFMPEG_CONF_OPTS += --disable-swscale -endif - -ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_ENCODERS)),all) -FFMPEG_CONF_OPTS += --disable-encoders \ - $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_ENCODERS)),--enable-encoder=$(x)) -endif - -ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_DECODERS)),all) -FFMPEG_CONF_OPTS += --disable-decoders \ - $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_DECODERS)),--enable-decoder=$(x)) -endif - -ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_MUXERS)),all) -FFMPEG_CONF_OPTS += --disable-muxers \ - $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_MUXERS)),--enable-muxer=$(x)) -endif - -ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_DEMUXERS)),all) -FFMPEG_CONF_OPTS += --disable-demuxers \ - $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_DEMUXERS)),--enable-demuxer=$(x)) -endif - -ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_PARSERS)),all) -FFMPEG_CONF_OPTS += --disable-parsers \ - $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_PARSERS)),--enable-parser=$(x)) -endif - -ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_BSFS)),all) -FFMPEG_CONF_OPTS += --disable-bsfs \ - $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_BSFS)),--enable-bsf=$(x)) -endif - -ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_PROTOCOLS)),all) -FFMPEG_CONF_OPTS += --disable-protocols \ - $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_PROTOCOLS)),--enable-protocol=$(x)) -endif - -ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_FILTERS)),all) -FFMPEG_CONF_OPTS += --disable-filters \ - $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_FILTERS)),--enable-filter=$(x)) -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_INDEVS),y) -FFMPEG_CONF_OPTS += --enable-indevs -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -FFMPEG_CONF_OPTS += --enable-alsa -FFMPEG_DEPENDENCIES += alsa-lib -else -FFMPEG_CONF_OPTS += --disable-alsa -endif -else -FFMPEG_CONF_OPTS += --disable-indevs -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_OUTDEVS),y) -FFMPEG_CONF_OPTS += --enable-outdevs -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -FFMPEG_DEPENDENCIES += alsa-lib -endif -else -FFMPEG_CONF_OPTS += --disable-outdevs -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -FFMPEG_CONF_OPTS += --enable-pthreads -else -FFMPEG_CONF_OPTS += --disable-pthreads -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -FFMPEG_CONF_OPTS += --enable-zlib -FFMPEG_DEPENDENCIES += zlib -else -FFMPEG_CONF_OPTS += --disable-zlib -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -FFMPEG_CONF_OPTS += --enable-bzlib -FFMPEG_DEPENDENCIES += bzip2 -else -FFMPEG_CONF_OPTS += --disable-bzlib -endif - -ifeq ($(BR2_PACKAGE_FDK_AAC)$(BR2_PACKAGE_FFMPEG_NONFREE),yy) -FFMPEG_CONF_OPTS += --enable-libfdk-aac -FFMPEG_DEPENDENCIES += fdk-aac -else -FFMPEG_CONF_OPTS += --disable-libfdk-aac -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_GPL)$(BR2_PACKAGE_LIBCDIO_PARANOIA),yy) -FFMPEG_CONF_OPTS += --enable-libcdio -FFMPEG_DEPENDENCIES += libcdio-paranoia -else -FFMPEG_CONF_OPTS += --disable-libcdio -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -FFMPEG_CONF_OPTS += --enable-gnutls --disable-openssl -FFMPEG_DEPENDENCIES += gnutls -else -FFMPEG_CONF_OPTS += --disable-gnutls -ifeq ($(BR2_PACKAGE_OPENSSL),y) -# openssl isn't license compatible with GPL -ifeq ($(BR2_PACKAGE_FFMPEG_GPL)x$(BR2_PACKAGE_FFMPEG_NONFREE),yx) -FFMPEG_CONF_OPTS += --disable-openssl -else -FFMPEG_CONF_OPTS += --enable-openssl -FFMPEG_DEPENDENCIES += openssl -endif -else -FFMPEG_CONF_OPTS += --disable-openssl -endif -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_GPL)$(BR2_PACKAGE_LIBEBUR128),yy) -FFMPEG_DEPENDENCIES += libebur128 -endif - -ifeq ($(BR2_PACKAGE_LIBDRM),y) -FFMPEG_CONF_OPTS += --enable-libdrm -FFMPEG_DEPENDENCIES += libdrm -else -FFMPEG_CONF_OPTS += --disable-libdrm -endif - -ifeq ($(BR2_PACKAGE_LIBOPENH264),y) -FFMPEG_CONF_OPTS += --enable-libopenh264 -FFMPEG_DEPENDENCIES += libopenh264 -else -FFMPEG_CONF_OPTS += --disable-libopenh264 -endif - -ifeq ($(BR2_PACKAGE_LIBVORBIS),y) -FFMPEG_DEPENDENCIES += libvorbis -FFMPEG_CONF_OPTS += \ - --enable-libvorbis \ - --enable-muxer=ogg \ - --enable-encoder=libvorbis -endif - -ifeq ($(BR2_PACKAGE_LIBVA),y) -FFMPEG_CONF_OPTS += --enable-vaapi -FFMPEG_DEPENDENCIES += libva -else -FFMPEG_CONF_OPTS += --disable-vaapi -endif - -ifeq ($(BR2_PACKAGE_LIBVDPAU),y) -FFMPEG_CONF_OPTS += --enable-vdpau -FFMPEG_DEPENDENCIES += libvdpau -else -FFMPEG_CONF_OPTS += --disable-vdpau -endif - -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) -FFMPEG_CONF_OPTS += --enable-mmal --enable-omx --enable-omx-rpi \ - --extra-cflags=-I$(STAGING_DIR)/usr/include/IL -FFMPEG_DEPENDENCIES += rpi-userland -else -FFMPEG_CONF_OPTS += --disable-mmal --disable-omx --disable-omx-rpi -endif - -# To avoid a circular dependency only use opencv if opencv itself does -# not depend on ffmpeg. -ifeq ($(BR2_PACKAGE_OPENCV3_LIB_IMGPROC)x$(BR2_PACKAGE_OPENCV3_WITH_FFMPEG),yx) -FFMPEG_CONF_OPTS += --enable-libopencv -FFMPEG_DEPENDENCIES += opencv3 -else -FFMPEG_CONF_OPTS += --disable-libopencv -endif - -ifeq ($(BR2_PACKAGE_OPUS),y) -FFMPEG_CONF_OPTS += --enable-libopus -FFMPEG_DEPENDENCIES += opus -else -FFMPEG_CONF_OPTS += --disable-libopus -endif - -ifeq ($(BR2_PACKAGE_LIBVPX),y) -FFMPEG_CONF_OPTS += --enable-libvpx -FFMPEG_DEPENDENCIES += libvpx -else -FFMPEG_CONF_OPTS += --disable-libvpx -endif - -ifeq ($(BR2_PACKAGE_LIBASS),y) -FFMPEG_CONF_OPTS += --enable-libass -FFMPEG_DEPENDENCIES += libass -else -FFMPEG_CONF_OPTS += --disable-libass -endif - -ifeq ($(BR2_PACKAGE_LIBBLURAY),y) -FFMPEG_CONF_OPTS += --enable-libbluray -FFMPEG_DEPENDENCIES += libbluray -else -FFMPEG_CONF_OPTS += --disable-libbluray -endif - -ifeq ($(BR2_PACKAGE_INTEL_MEDIASDK),y) -FFMPEG_CONF_OPTS += --enable-libmfx -FFMPEG_DEPENDENCIES += intel-mediasdk -else -FFMPEG_CONF_OPTS += --disable-libmfx -endif - -ifeq ($(BR2_PACKAGE_RTMPDUMP),y) -FFMPEG_CONF_OPTS += --enable-librtmp -FFMPEG_DEPENDENCIES += rtmpdump -else -FFMPEG_CONF_OPTS += --disable-librtmp -endif - -ifeq ($(BR2_PACKAGE_LAME),y) -FFMPEG_CONF_OPTS += --enable-libmp3lame -FFMPEG_DEPENDENCIES += lame -else -FFMPEG_CONF_OPTS += --disable-libmp3lame -endif - -ifeq ($(BR2_PACKAGE_LIBMODPLUG),y) -FFMPEG_CONF_OPTS += --enable-libmodplug -FFMPEG_DEPENDENCIES += libmodplug -else -FFMPEG_CONF_OPTS += --disable-libmodplug -endif - -ifeq ($(BR2_PACKAGE_SPEEX),y) -FFMPEG_CONF_OPTS += --enable-libspeex -FFMPEG_DEPENDENCIES += speex -else -FFMPEG_CONF_OPTS += --disable-libspeex -endif - -ifeq ($(BR2_PACKAGE_LIBTHEORA),y) -FFMPEG_CONF_OPTS += --enable-libtheora -FFMPEG_DEPENDENCIES += libtheora -else -FFMPEG_CONF_OPTS += --disable-libtheora -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -FFMPEG_CONF_OPTS += --enable-iconv -FFMPEG_DEPENDENCIES += libiconv -else -FFMPEG_CONF_OPTS += --disable-iconv -endif - -# ffmpeg freetype support require fenv.h which is only -# available/working on glibc. -# The microblaze variant doesn't provide the needed exceptions -ifeq ($(BR2_PACKAGE_FREETYPE)$(BR2_TOOLCHAIN_USES_GLIBC)x$(BR2_microblaze),yyx) -FFMPEG_CONF_OPTS += --enable-libfreetype -FFMPEG_DEPENDENCIES += freetype -else -FFMPEG_CONF_OPTS += --disable-libfreetype -endif - -ifeq ($(BR2_PACKAGE_FONTCONFIG),y) -FFMPEG_CONF_OPTS += --enable-fontconfig -FFMPEG_DEPENDENCIES += fontconfig -else -FFMPEG_CONF_OPTS += --disable-fontconfig -endif - -ifeq ($(BR2_PACKAGE_OPENJPEG),y) -FFMPEG_CONF_OPTS += --enable-libopenjpeg -FFMPEG_DEPENDENCIES += openjpeg -else -FFMPEG_CONF_OPTS += --disable-libopenjpeg -endif - -ifeq ($(BR2_PACKAGE_X264)$(BR2_PACKAGE_FFMPEG_GPL),yy) -FFMPEG_CONF_OPTS += --enable-libx264 -FFMPEG_DEPENDENCIES += x264 -else -FFMPEG_CONF_OPTS += --disable-libx264 -endif - -ifeq ($(BR2_PACKAGE_X265)$(BR2_PACKAGE_FFMPEG_GPL),yy) -FFMPEG_CONF_OPTS += --enable-libx265 -FFMPEG_DEPENDENCIES += x265 -else -FFMPEG_CONF_OPTS += --disable-libx265 -endif - -ifeq ($(BR2_PACKAGE_DAV1D),y) -FFMPEG_CONF_OPTS += --enable-libdav1d -FFMPEG_DEPENDENCIES += dav1d -else -FFMPEG_CONF_OPTS += --disable-libdav1d -endif - -ifeq ($(BR2_X86_CPU_HAS_MMX),y) -FFMPEG_CONF_OPTS += --enable-x86asm -FFMPEG_DEPENDENCIES += host-nasm -else -FFMPEG_CONF_OPTS += --disable-x86asm -FFMPEG_CONF_OPTS += --disable-mmx -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE),y) -FFMPEG_CONF_OPTS += --enable-sse -else -FFMPEG_CONF_OPTS += --disable-sse -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE2),y) -FFMPEG_CONF_OPTS += --enable-sse2 -else -FFMPEG_CONF_OPTS += --disable-sse2 -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE3),y) -FFMPEG_CONF_OPTS += --enable-sse3 -else -FFMPEG_CONF_OPTS += --disable-sse3 -endif - -ifeq ($(BR2_X86_CPU_HAS_SSSE3),y) -FFMPEG_CONF_OPTS += --enable-ssse3 -else -FFMPEG_CONF_OPTS += --disable-ssse3 -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE4),y) -FFMPEG_CONF_OPTS += --enable-sse4 -else -FFMPEG_CONF_OPTS += --disable-sse4 -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE42),y) -FFMPEG_CONF_OPTS += --enable-sse42 -else -FFMPEG_CONF_OPTS += --disable-sse42 -endif - -ifeq ($(BR2_X86_CPU_HAS_AVX),y) -FFMPEG_CONF_OPTS += --enable-avx -else -FFMPEG_CONF_OPTS += --disable-avx -endif - -ifeq ($(BR2_X86_CPU_HAS_AVX2),y) -FFMPEG_CONF_OPTS += --enable-avx2 -else -FFMPEG_CONF_OPTS += --disable-avx2 -endif - -# Explicitly disable everything that doesn't match for ARM -# FFMPEG "autodetects" by compiling an extended instruction via AS -# This works on compilers that aren't built for generic by default -ifeq ($(BR2_ARM_CPU_ARMV4),y) -FFMPEG_CONF_OPTS += --disable-armv5te -endif -ifeq ($(BR2_ARM_CPU_ARMV6)$(BR2_ARM_CPU_ARMV7A),y) -FFMPEG_CONF_OPTS += --enable-armv6 -else -FFMPEG_CONF_OPTS += --disable-armv6 --disable-armv6t2 -endif -ifeq ($(BR2_ARM_CPU_HAS_VFPV2),y) -FFMPEG_CONF_OPTS += --enable-vfp -else -FFMPEG_CONF_OPTS += --disable-vfp -endif -ifeq ($(BR2_ARM_CPU_HAS_NEON),y) -FFMPEG_CONF_OPTS += --enable-neon -else ifeq ($(BR2_aarch64),y) -FFMPEG_CONF_OPTS += --enable-neon -else -FFMPEG_CONF_OPTS += --disable-neon -endif - -ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) -ifeq ($(BR2_MIPS_SOFT_FLOAT),y) -FFMPEG_CONF_OPTS += --disable-mipsfpu -else -FFMPEG_CONF_OPTS += --enable-mipsfpu -endif - -# Fix build failure on "addi opcode not supported" -ifeq ($(BR2_mips_32r6)$(BR2_mips_64r6),y) -FFMPEG_CONF_OPTS += --disable-asm -endif -endif # MIPS - -ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) -FFMPEG_CONF_OPTS += --enable-altivec -else -FFMPEG_CONF_OPTS += --disable-altivec -endif - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -FFMPEG_CONF_OPTS += --extra-libs=-latomic -endif - -ifeq ($(BR2_STATIC_LIBS),) -FFMPEG_CONF_OPTS += --enable-pic -else -FFMPEG_CONF_OPTS += --disable-pic -endif - -# Default to --cpu=generic for MIPS architecture, in order to avoid a -# warning from ffmpeg's configure script. -ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) -FFMPEG_CONF_OPTS += --cpu=generic -else ifneq ($(GCC_TARGET_CPU),) -FFMPEG_CONF_OPTS += --cpu="$(GCC_TARGET_CPU)" -else ifneq ($(GCC_TARGET_ARCH),) -FFMPEG_CONF_OPTS += --cpu="$(GCC_TARGET_ARCH)" -endif - -FFMPEG_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -FFMPEG_CONF_OPTS += --disable-optimizations -FFMPEG_CFLAGS += -O0 -endif - -FFMPEG_CONF_ENV += CFLAGS="$(FFMPEG_CFLAGS)" -FFMPEG_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF)) - -# Override FFMPEG_CONFIGURE_CMDS: FFmpeg does not support --target and others -define FFMPEG_CONFIGURE_CMDS - (cd $(FFMPEG_SRCDIR) && rm -rf config.cache && \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - $(FFMPEG_CONF_ENV) \ - ./configure \ - --enable-cross-compile \ - --cross-prefix=$(TARGET_CROSS) \ - --sysroot=$(STAGING_DIR) \ - --host-cc="$(HOSTCC)" \ - --arch=$(BR2_ARCH) \ - --target-os="linux" \ - --disable-stripping \ - --pkg-config="$(PKG_CONFIG_HOST_BINARY)" \ - $(SHARED_STATIC_LIBS_OPTS) \ - $(FFMPEG_CONF_OPTS) \ - ) -endef - -define FFMPEG_REMOVE_EXAMPLE_SRC_FILES - rm -rf $(TARGET_DIR)/usr/share/ffmpeg/examples -endef -FFMPEG_POST_INSTALL_TARGET_HOOKS += FFMPEG_REMOVE_EXAMPLE_SRC_FILES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/file/0001-Add-libmagic.pc.patch b/buildroot-2021.05/package/file/0001-Add-libmagic.pc.patch deleted file mode 100644 index b26d1622..00000000 --- a/buildroot-2021.05/package/file/0001-Add-libmagic.pc.patch +++ /dev/null @@ -1,76 +0,0 @@ -From d079cac1110cc2761417f0dcb0a142b217eb1eda Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 31 Jan 2020 20:26:29 +0100 -Subject: [PATCH] Add libmagic.pc - -libmagic can optionally depends on xz (for lzma) or bzip2 since version -5.38 and -https://github.com/file/file/commit/b259a07ea95827f565faa20f0316e5b2704064f7 -so add libmagic.pc so package (such as gerbera) that links with libmagic -will be able to use pkg-config to retrieve those static dependencies -For example, this will avoid the following build failure: - -[100%] Linking CXX executable gerbera -/home/br-user/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/br-user/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libmagic.a(compress.o): in function `uncompressbuf': -compress.c:(.text+0x69c): undefined reference to `BZ2_bzDecompressInit' -/home/br-user/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: compress.c:(.text+0x710): undefined reference to `BZ2_bzDecompress' -/home/br-user/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: compress.c:(.text+0x730): undefined reference to `BZ2_bzDecompressEnd' -/home/br-user/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: compress.c:(.text+0x7bc): undefined reference to `lzma_auto_decoder' -/home/br-user/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: compress.c:(.text+0x828): undefined reference to `lzma_code' -/home/br-user/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: compress.c:(.text+0x848): undefined reference to `lzma_end' - -Fixes: - - http://autobuild.buildroot.org/results/37b1ef54dc41100689f311fbc31fc9300dc6ae63 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://bugs.astron.com/view.php?id=136] ---- - Makefile.am | 5 +++++ - configure.ac | 2 +- - libmagic.pc.in | 10 ++++++++++ - 3 files changed, 16 insertions(+), 1 deletion(-) - create mode 100644 libmagic.pc.in - -diff --git a/Makefile.am b/Makefile.am -index 8bd927d9..2ab67ed7 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -3,3 +3,8 @@ ACLOCAL_AMFLAGS = -I m4 - EXTRA_DIST = MAINT - - SUBDIRS = src magic tests doc python -+ -+# This variable must have 'exec' in its name, in order to be installed -+# by 'install-exec' target (instead of default 'install-data') -+pkgconfigexecdir = $(libdir)/pkgconfig -+pkgconfigexec_DATA = libmagic.pc -diff --git a/configure.ac b/configure.ac -index ac37fccd..b2e2e5b8 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -217,5 +217,5 @@ if test "$ac_cv_header_lzma_h$ac_cv_lib_lzma_lzma_stream_decoder" = "yesyes"; t - AC_DEFINE([XZLIBSUPPORT], 1, [Enable xzlib compression support]) - fi - --AC_CONFIG_FILES([Makefile src/Makefile magic/Makefile tests/Makefile doc/Makefile python/Makefile]) -+AC_CONFIG_FILES([Makefile src/Makefile magic/Makefile tests/Makefile doc/Makefile python/Makefile libmagic.pc]) - AC_OUTPUT -diff --git a/libmagic.pc.in b/libmagic.pc.in -new file mode 100644 -index 00000000..3ad1290b ---- /dev/null -+++ b/libmagic.pc.in -@@ -0,0 +1,10 @@ -+prefix=@prefix@ -+exec_prefix=@exec_prefix@ -+libdir=@libdir@ -+includedir=@includedir@ -+ -+Name: libmagic -+Description: Magic number recognition library -+Version: @VERSION@ -+Libs: -L${libdir} -lmagic -+Libs.private: @LIBS@ --- -2.24.1 - diff --git a/buildroot-2021.05/package/file/file.hash b/buildroot-2021.05/package/file/file.hash deleted file mode 100644 index 96efaf84..00000000 --- a/buildroot-2021.05/package/file/file.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally calculated after verifying signature -# ftp://ftp.astron.com/pub/file/file-5.38.tar.gz.asc -# using key BE04995BA8F90ED0C0C176C471112AB16CB33B3A -sha256 593c2ffc2ab349c5aea0f55fedfe4d681737b6b62376a9b3ad1e77b2cc19fa34 file-5.38.tar.gz -sha256 0bfa856a9930bddadbef95d1be1cf4e163c0be618e76ea3275caaf255283e274 COPYING -sha256 4ccb60d623884ef637af4a5bc16b2cb350163e2135e967655837336019a64462 src/mygetopt.h -sha256 58b5932aca6c10f2194290a3b26088ec9ba07ef6b52cc9bb2dd638cc634db6f1 src/vasprintf.c diff --git a/buildroot-2021.05/package/file/file.mk b/buildroot-2021.05/package/file/file.mk deleted file mode 100644 index c41a8eb3..00000000 --- a/buildroot-2021.05/package/file/file.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# file -# -################################################################################ - -FILE_VERSION = 5.38 -FILE_SITE = ftp://ftp.astron.com/pub/file -FILE_DEPENDENCIES = host-file -HOST_FILE_DEPENDENCIES = host-zlib -FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' -FILE_INSTALL_STAGING = YES -FILE_LICENSE = BSD-2-Clause, BSD-4-Clause (one file), BSD-3-Clause (one file) -FILE_LICENSE_FILES = COPYING src/mygetopt.h src/vasprintf.c -FILE_CPE_ID_VENDOR = file_project -# We're patching configure.ac -FILE_AUTORECONF = YES -HOST_FILE_CONF_OPTS = --disable-libseccomp - -ifeq ($(BR2_PACKAGE_BZIP2),y) -FILE_CONF_OPTS += --enable-bzlib -FILE_DEPENDENCIES += bzip2 -else -FILE_CONF_OPTS += --disable-bzlib -endif - -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -FILE_CONF_OPTS += --enable-libseccomp -FILE_DEPENDENCIES += libseccomp -else -FILE_CONF_OPTS += --disable-libseccomp -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -FILE_CONF_OPTS += --enable-xzlib -FILE_DEPENDENCIES += xz -else -FILE_CONF_OPTS += --disable-xzlib -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -FILE_CONF_OPTS += --enable-zlib -FILE_DEPENDENCIES += zlib -else -FILE_CONF_OPTS += --disable-zlib -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/filemq/filemq.hash b/buildroot-2021.05/package/filemq/filemq.hash deleted file mode 100644 index 611d1920..00000000 --- a/buildroot-2021.05/package/filemq/filemq.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 f3764e1adacfbf7fd09fb9c553e796a80d8159f1ace689fb68307afbc1746d4c filemq-8940f34e0f1c8f25c1c693ed8db069f58fbc5ad0.tar.gz -sha256 60222c28c1a7f6a92c7df98e5c5f4459e624e6e285e0b9b94467af5f6ab3343d LICENSE diff --git a/buildroot-2021.05/package/filemq/filemq.mk b/buildroot-2021.05/package/filemq/filemq.mk deleted file mode 100644 index 75d8bd99..00000000 --- a/buildroot-2021.05/package/filemq/filemq.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# filemq -# -################################################################################ - -FILEMQ_VERSION = 8940f34e0f1c8f25c1c693ed8db069f58fbc5ad0 -FILEMQ_SITE = $(call github,zeromq,filemq,$(FILEMQ_VERSION)) - -FILEMQ_AUTORECONF = YES -FILEMQ_CONF_ENV = filemq_have_asciidoc=no -FILEMQ_INSTALL_STAGING = YES -FILEMQ_DEPENDENCIES = czmq openssl zeromq -FILEMQ_LICENSE = MPL-2.0 -FILEMQ_LICENSE_FILES = LICENSE - -define FILEMQ_CREATE_CONFIG_DIR - mkdir -p $(@D)/config -endef - -FILEMQ_POST_PATCH_HOOKS += FILEMQ_CREATE_CONFIG_DIR - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/findutils/findutils.hash b/buildroot-2021.05/package/findutils/findutils.hash deleted file mode 100644 index 392c62d2..00000000 --- a/buildroot-2021.05/package/findutils/findutils.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 c5fefbdf9858f7e4feb86f036e1247a54c79fc2d8e4b7064d5aaa1f47dfa789a findutils-4.7.0.tar.xz - -# Hash for license file -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2021.05/package/findutils/findutils.mk b/buildroot-2021.05/package/findutils/findutils.mk deleted file mode 100644 index a16f8271..00000000 --- a/buildroot-2021.05/package/findutils/findutils.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# findutils -# -################################################################################ - -FINDUTILS_VERSION = 4.7.0 -FINDUTILS_SOURCE = findutils-$(FINDUTILS_VERSION).tar.xz -FINDUTILS_SITE = $(BR2_GNU_MIRROR)/findutils -FINDUTILS_LICENSE = GPL-3.0+ -FINDUTILS_LICENSE_FILES = COPYING -FINDUTILS_CPE_ID_VENDOR = gnu -FINDUTILS_CONF_ENV = \ - gl_cv_func_stdin=yes \ - ac_cv_func_working_mktime=yes \ - gl_cv_func_wcwidth_works=yes - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fio/0001-t-io_uring-don-t-use-rand48_r-variants.patch b/buildroot-2021.05/package/fio/0001-t-io_uring-don-t-use-rand48_r-variants.patch deleted file mode 100644 index 8d6830ac..00000000 --- a/buildroot-2021.05/package/fio/0001-t-io_uring-don-t-use-rand48_r-variants.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 5e8865c0e08861558c1253c521dc9098d0c773ee Mon Sep 17 00:00:00 2001 -From: Jens Axboe -Date: Mon, 16 Mar 2020 08:30:36 -0600 -Subject: [PATCH] t/io_uring: don't use *rand48_r() variants - -Not available on all platforms. - -Signed-off-by: Jens Axboe - -[Patch from upstream -https://github.com/axboe/fio/commit/5e8865c0e08861558c1253c521dc9098d0c773ee] -Signed-off-by: Heiko Thiery ---- - t/io_uring.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/t/io_uring.c b/t/io_uring.c -index e84a2b6b..d48db1e9 100644 ---- a/t/io_uring.c -+++ b/t/io_uring.c -@@ -63,7 +63,6 @@ struct file { - struct submitter { - pthread_t thread; - int ring_fd; -- struct drand48_data rand; - struct io_sq_ring sq_ring; - struct io_uring_sqe *sqes; - struct io_cq_ring cq_ring; -@@ -170,7 +169,7 @@ static void init_io(struct submitter *s, unsigned index) - } - f->pending_ios++; - -- lrand48_r(&s->rand, &r); -+ r = lrand48(); - offset = (r % (f->max_blocks - 1)) * BS; - - if (register_files) { -@@ -286,7 +285,7 @@ static void *submitter_fn(void *data) - - printf("submitter=%d\n", gettid()); - -- srand48_r(pthread_self(), &s->rand); -+ srand48(pthread_self()); - - prepped = 0; - do { --- -2.20.1 - diff --git a/buildroot-2021.05/package/fio/0002-Makefile-fix-build-of-io_uring-on-sh4.patch b/buildroot-2021.05/package/fio/0002-Makefile-fix-build-of-io_uring-on-sh4.patch deleted file mode 100644 index 69bda93d..00000000 --- a/buildroot-2021.05/package/fio/0002-Makefile-fix-build-of-io_uring-on-sh4.patch +++ /dev/null @@ -1,33 +0,0 @@ -From e1985f9097f37748efdc29239eb3fb6a00b12f27 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 23 May 2020 19:07:40 +0200 -Subject: [PATCH] Makefile: fix build of io_uring on sh4 - -SuperH compile currently fails with: - -/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/8.3.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: t/io_uring.o: in function `submitter_fn': -/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/fio-3.19/t/io_uring.c:131: undefined reference to `arch_flags' -/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sh4-buildroot-linux-uclibc/8.3.0/../../../../sh4-buildroot-linux-uclibc/bin/ld: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-0/output-1/build/fio-3.19/t/io_uring.c:367: undefined reference to `arch_flags' -collect2: error: ld returned 1 exit status - -Fix that by ensuring we have a stub arch.o with the necessary arch flags - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/axboe/fio/commit/e1985f9097f37748efdc29239eb3fb6a00b12f27] ---- - Makefile | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Makefile b/Makefile -index f1e984f5f..e39621954 100644 ---- a/Makefile -+++ b/Makefile -@@ -283,6 +283,7 @@ T_PIPE_ASYNC_OBJS = t/read-to-pipe-async.o - T_PIPE_ASYNC_PROGS = t/read-to-pipe-async - - T_IOU_RING_OBJS = t/io_uring.o -+T_IOU_RING_OBJS += t/arch.o - T_IOU_RING_PROGS = t/io_uring - - T_MEMLOCK_OBJS = t/memlock.o diff --git a/buildroot-2021.05/package/fio/Config.in b/buildroot-2021.05/package/fio/Config.in deleted file mode 100644 index 8da227db..00000000 --- a/buildroot-2021.05/package/fio/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_FIO - bool "fio" - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_TOOLCHAIN_HAS_THREADS - # fio uses fallocate() which becomes fallocate64() while compiling with - # largefile support, but fallocate64() is not available on nios2 - depends on !BR2_nios2 - help - fio is an I/O tool meant to be used both for benchmark - and stress/hardware verification. - - http://git.kernel.dk/?p=fio.git;a=summary - -comment "fio needs a toolchain w/ dynamic library, threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_nios2 - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/fio/fio.hash b/buildroot-2021.05/package/fio/fio.hash deleted file mode 100644 index d95deb20..00000000 --- a/buildroot-2021.05/package/fio/fio.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 a2f885834900f554127718716338914791f5d72800b6f9e3edf173b94b5a2e4e fio-3.19.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 8a240c1ad13d1fe3e58588643d81d0695899be4a669fe6d8fafa76ca6a89db2c MORAL-LICENSE diff --git a/buildroot-2021.05/package/fio/fio.mk b/buildroot-2021.05/package/fio/fio.mk deleted file mode 100644 index 3ddd74ed..00000000 --- a/buildroot-2021.05/package/fio/fio.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# fio -# -################################################################################ - -FIO_VERSION = 3.19 -FIO_SITE = http://brick.kernel.dk/snaps -FIO_LICENSE = GPL-2.0 -FIO_LICENSE_FILES = COPYING MORAL-LICENSE - -ifeq ($(BR2_PACKAGE_LIBAIO),y) -FIO_DEPENDENCIES += libaio -endif - -ifeq ($(BR2_PACKAGE_NUMACTL),y) -FIO_DEPENDENCIES += numactl -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -FIO_DEPENDENCIES += zlib -endif - -define FIO_CONFIGURE_CMDS - (cd $(@D); $(TARGET_MAKE_ENV) ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)") -endef - -define FIO_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define FIO_INSTALL_TARGET_CMDS - $(INSTALL) -D $(@D)/fio $(TARGET_DIR)/usr/bin/fio -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/flac/0001-configure.ac-check-for-sys-auxv.h-before-defining-FL.patch b/buildroot-2021.05/package/flac/0001-configure.ac-check-for-sys-auxv.h-before-defining-FL.patch deleted file mode 100644 index d1398d4b..00000000 --- a/buildroot-2021.05/package/flac/0001-configure.ac-check-for-sys-auxv.h-before-defining-FL.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 14a0713389fbfef59225d027ea466ebb478a8c6b Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 19 Sep 2019 21:18:04 +0200 -Subject: [PATCH] configure.ac: check for sys/auxv.h before defining FLAC__CPU_PPC - -Upstream: https://github.com/xiph/flac/pull/142 -Signed-off-by: Peter Seiderer ---- - configure.ac | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 0228a12..64cb3f2 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -144,7 +144,7 @@ case "$host_cpu" in - powerpc64|powerpc64le) - cpu_ppc64=true - cpu_ppc=true -- AC_DEFINE(FLAC__CPU_PPC) -+ AC_CHECK_HEADER(sys/auxv.h, AC_DEFINE(FLAC__CPU_PPC)) - AH_TEMPLATE(FLAC__CPU_PPC, [define if building for PowerPC]) - AC_DEFINE(FLAC__CPU_PPC64) - AH_TEMPLATE(FLAC__CPU_PPC64, [define if building for PowerPC64]) -@@ -152,7 +152,7 @@ case "$host_cpu" in - ;; - powerpc|powerpcle) - cpu_ppc=true -- AC_DEFINE(FLAC__CPU_PPC) -+ AC_CHECK_HEADER(sys/auxv.h, AC_DEFINE(FLAC__CPU_PPC)) - AH_TEMPLATE(FLAC__CPU_PPC, [define if building for PowerPC]) - asm_optimisation=$asm_opt - ;; --- -2.23.0 - diff --git a/buildroot-2021.05/package/flac/flac.hash b/buildroot-2021.05/package/flac/flac.hash deleted file mode 100644 index df7c2d1b..00000000 --- a/buildroot-2021.05/package/flac/flac.hash +++ /dev/null @@ -1,10 +0,0 @@ -# From https://ftp.osuosl.org/pub/xiph/releases/flac/MD5SUMS -md5 26703ed2858c1fc9ffc05136d13daa69 flac-1.3.3.tar.xz -# From https://ftp.osuosl.org/pub/xiph/releases/flac/SHA1SUMS -sha1 6ac2e8f1dd18c9b0214c4d81bd70cdc1e943cffe flac-1.3.3.tar.xz -# From http://downloads.xiph.org/releases/flac/SHA256SUMS.txt -sha256 213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748 flac-1.3.3.tar.xz -# Locally computed -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL -sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING.LGPL -sha256 fa27cb11f13f97b0c5f3ff363b1e2610c6efe87ed175779cb2a78e44eb19d34c COPYING.Xiph diff --git a/buildroot-2021.05/package/flac/flac.mk b/buildroot-2021.05/package/flac/flac.mk deleted file mode 100644 index 880c176f..00000000 --- a/buildroot-2021.05/package/flac/flac.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# flac -# -################################################################################ - -FLAC_VERSION = 1.3.3 -FLAC_SITE = http://downloads.xiph.org/releases/flac -FLAC_SOURCE = flac-$(FLAC_VERSION).tar.xz -FLAC_INSTALL_STAGING = YES -FLAC_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) -FLAC_LICENSE = Xiph BSD-like (libFLAC), GPL-2.0+ (tools), LGPL-2.1+ (other libraries) -FLAC_LICENSE_FILES = COPYING.Xiph COPYING.GPL COPYING.LGPL -FLAC_CPE_ID_VENDOR = flac_project - -# patch touching configure.ac -FLAC_AUTORECONF = YES - -FLAC_CONF_OPTS = \ - --disable-cpplibs \ - --disable-xmms-plugin \ - --disable-altivec - -ifeq ($(BR2_PACKAGE_LIBOGG),y) -FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr -FLAC_DEPENDENCIES += libogg -else -FLAC_CONF_OPTS += --disable-ogg -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE),y) -FLAC_DEPENDENCIES += host-nasm -FLAC_CONF_OPTS += --enable-sse -else -FLAC_CONF_OPTS += --disable-sse -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/flannel/Config.in b/buildroot-2021.05/package/flannel/Config.in deleted file mode 100644 index 32636108..00000000 --- a/buildroot-2021.05/package/flannel/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -comment "flannel needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_FLANNEL - bool "flannel" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS - help - Flannel is a virtual network that gives a subnet to each - host for use with container runtimes. - - https://github.com/coreos/flannel diff --git a/buildroot-2021.05/package/flannel/flannel.hash b/buildroot-2021.05/package/flannel/flannel.hash deleted file mode 100644 index 8195140f..00000000 --- a/buildroot-2021.05/package/flannel/flannel.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 7375318b288bcff733aabfe1a1007d478cb9091cdaffe68c8253ddd93bc070ed v0.12.0.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2021.05/package/flannel/flannel.mk b/buildroot-2021.05/package/flannel/flannel.mk deleted file mode 100644 index 8aa960f0..00000000 --- a/buildroot-2021.05/package/flannel/flannel.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# flannel -# -################################################################################ - -FLANNEL_VERSION = 0.12.0 -FLANNEL_SITE = https://github.com/coreos/flannel/archive -FLANNEL_SOURCE = v$(FLANNEL_VERSION).tar.gz - -FLANNEL_LICENSE = Apache-2.0 -FLANNEL_LICENSE_FILES = LICENSE - -FLANNEL_LDFLAGS = -X github.com/coreos/flannel/version.Version=$(FLANNEL_VERSION) - -# Install flannel to its well known location. -define FLANNEL_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/bin/flannel $(TARGET_DIR)/opt/bin/flanneld - $(INSTALL) -D -m 0755 $(@D)/dist/mk-docker-opts.sh $(TARGET_DIR)/opt/bin/mk-docker-opts.sh -endef - -$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/flare-engine/Config.in b/buildroot-2021.05/package/flare-engine/Config.in deleted file mode 100644 index d08b740a..00000000 --- a/buildroot-2021.05/package/flare-engine/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_FLARE_ENGINE - bool "flare-engine" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS # SDL2 - select BR2_PACKAGE_LIBPNG # SDL2_IMAGE needs libpng support - select BR2_PACKAGE_SDL2 - select BR2_PACKAGE_SDL2_IMAGE - select BR2_PACKAGE_SDL2_MIXER - select BR2_PACKAGE_SDL2_TTF - help - Flare (Free Libre Action Roleplaying Engine) is a simple game - engine built to handle a very specific kind of game: - single-player 2D action RPGs. - Flare is not a reimplementation of an existing game or engine. - It is a tribute to and exploration of the action RPG genre. - - http://flarerpg.org - -comment "flare-engine needs a toolchain w/ C++, dynamic library" - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/flare-engine/flare-engine.hash b/buildroot-2021.05/package/flare-engine/flare-engine.hash deleted file mode 100644 index 0e37a719..00000000 --- a/buildroot-2021.05/package/flare-engine/flare-engine.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 035ffd936d9e120dc2eb792779a0b7ff64574d4a29a1124946deaf7946d1059d flare-engine-1.11.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/flare-engine/flare-engine.mk b/buildroot-2021.05/package/flare-engine/flare-engine.mk deleted file mode 100644 index e2f3eefa..00000000 --- a/buildroot-2021.05/package/flare-engine/flare-engine.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# flare-engine -# -################################################################################ - -FLARE_ENGINE_VERSION = 1.11 -FLARE_ENGINE_SITE = $(call github,flareteam,flare-engine,v$(FLARE_ENGINE_VERSION)) -FLARE_ENGINE_LICENSE = GPL-3.0+ -FLARE_ENGINE_LICENSE_FILES = COPYING - -FLARE_ENGINE_DEPENDENCIES += sdl2 sdl2_image sdl2_mixer sdl2_ttf - -# Don't use /usr/games and /usr/share/games -FLARE_ENGINE_CONF_OPTS += -DBINDIR=bin -DDATADIR=share/flare - -# Don't use the default Debug type as it adds -pg (gprof) -ifeq ($(BR2_ENABLE_DEBUG),y) -FLARE_ENGINE_CONF_OPTS += -DCMAKE_BUILD_TYPE=RelWithDebInfo -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -# CMakeLists.txt sets CMAKE_CXX_FLAGS_ depending on -# BUILD_TYPE, and this comes after the generic CMAKE_CXX_FLAGS. -# Override CMAKE_BUILD_TYPE so no overrides are applied. -FLARE_ENGINE_CONF_OPTS += -DCMAKE_BUILD_TYPE=Buildroot -FLARE_ENGINE_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -O0" -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/flare-game/flare-game.hash b/buildroot-2021.05/package/flare-game/flare-game.hash deleted file mode 100644 index 983c2320..00000000 --- a/buildroot-2021.05/package/flare-game/flare-game.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 c13231c7dd021252487f6cf117f7f2bb24bbda40af0a2b2902d72b5e2d4c242a flare-game-1.11.tar.gz -sha256 3f941b3b89cf7b8370ceb83cc76d2120d471b58735d8ca60238a751a48d7f72f LICENSE.txt diff --git a/buildroot-2021.05/package/flare-game/flare-game.mk b/buildroot-2021.05/package/flare-game/flare-game.mk deleted file mode 100644 index 4bebc795..00000000 --- a/buildroot-2021.05/package/flare-game/flare-game.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# flare-game -# -################################################################################ - -FLARE_GAME_VERSION = 1.11 -FLARE_GAME_SITE = $(call github,flareteam,flare-game,v$(FLARE_GAME_VERSION)) -FLARE_GAME_LICENSE = CC-BY-SA-3.0 (data files), GPL-2.0 (GNU Unifont), \ - OFL-1.1 (Liberation Sans) -FLARE_GAME_LICENSE_FILES = README - -FLARE_GAME_DEPENDENCIES = flare-engine - -# Don't use /usr/share/games -FLARE_GAME_CONF_OPTS += -DDATADIR=share/flare - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/flashbench/flashbench.mk b/buildroot-2021.05/package/flashbench/flashbench.mk deleted file mode 100644 index e89a250a..00000000 --- a/buildroot-2021.05/package/flashbench/flashbench.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# flashbench -# -################################################################################ - -FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 -FLASHBENCH_SITE = git://git.linaro.org/people/arnd/flashbench.git -FLASHBENCH_LICENSE = GPL-2.0 -FLASHBENCH_LICENSE_FILES = COPYING - -define FLASHBENCH_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS) -lrt" -endef - -define FLASHBENCH_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/flashbench $(TARGET_DIR)/usr/bin/flashbench - $(INSTALL) -m 755 -D $(@D)/erase $(TARGET_DIR)/usr/bin/erase -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/flatbuffers/flatbuffers.hash b/buildroot-2021.05/package/flatbuffers/flatbuffers.hash deleted file mode 100644 index 82ef9427..00000000 --- a/buildroot-2021.05/package/flatbuffers/flatbuffers.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 62f2223fb9181d1d6338451375628975775f7522185266cd5296571ac152bc45 flatbuffers-1.12.0.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt diff --git a/buildroot-2021.05/package/flatbuffers/flatbuffers.mk b/buildroot-2021.05/package/flatbuffers/flatbuffers.mk deleted file mode 100644 index 814751f3..00000000 --- a/buildroot-2021.05/package/flatbuffers/flatbuffers.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# flatbuffers -# -################################################################################ - -FLATBUFFERS_VERSION = 1.12.0 -FLATBUFFERS_SITE = $(call github,google,flatbuffers,v$(FLATBUFFERS_VERSION)) -FLATBUFFERS_LICENSE = Apache-2.0 -FLATBUFFERS_LICENSE_FILES = LICENSE.txt -FLATBUFFERS_CPE_ID_VENDOR = google -FLATBUFFERS_INSTALL_STAGING = YES - -FLATBUFFERS_CONF_OPTS += \ - -DCMAKE_CXX_FLAGS="-std=c++11" \ - -DFLATBUFFERS_BUILD_TESTS=OFF - -ifeq ($(BR2_STATIC_LIBS),y) -FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=OFF -else -FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=ON -endif - -HOST_FLATBUFFERS_CONF_OPTS += \ - -DCMAKE_CXX_FLAGS="-std=c++11" \ - -DFLATBUFFERS_BUILD_FLATLIB=OFF \ - -DFLATBUFFERS_BUILD_FLATC=ON \ - -DFLATBUFFERS_BUILD_FLATHASH=OFF \ - -DFLATBUFFERS_BUILD_GRPCTEST=OFF \ - -DFLATBUFFERS_BUILD_SHAREDLIB=OFF \ - -DFLATBUFFERS_BUILD_TESTS=OFF - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/flite/flite.hash b/buildroot-2021.05/package/flite/flite.hash deleted file mode 100644 index f21a21d1..00000000 --- a/buildroot-2021.05/package/flite/flite.hash +++ /dev/null @@ -1,4 +0,0 @@ -# locally computed hash -sha256 c73c3f6a2ea764977d6eaf0a287722d1e2066b4697088c552e342c790f3d2b85 flite-2.1-release.tar.bz2 -# License files, locally calculated -sha256 d31bceaf2823d56a8c9400f7bde3b17140e739e991eb4f203bdcf9827754ab59 COPYING diff --git a/buildroot-2021.05/package/flite/flite.mk b/buildroot-2021.05/package/flite/flite.mk deleted file mode 100644 index fd5f4ec1..00000000 --- a/buildroot-2021.05/package/flite/flite.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# flite -# -################################################################################ - -FLITE_VERSION = 2.1 -FLITE_SOURCE = flite-$(FLITE_VERSION)-release.tar.bz2 -FLITE_SITE = http://www.festvox.org/flite/packed/flite-$(FLITE_VERSION) -FLITE_LICENSE = BSD-4-Clause -FLITE_LICENSE_FILES = COPYING - -FLITE_INSTALL_STAGING = YES -# Patching configure.in -FLITE_AUTORECONF = YES -FLITE_DEPENDENCIES = host-pkgconf - -# Sadly, Flite does not support parallel build, especially when building its -# shared libraries. -FLITE_MAKE = $(MAKE1) - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -FLITE_DEPENDENCIES += alsa-lib -FLITE_CONF_OPTS += --with-audio=alsa -else -FLITE_CONF_OPTS += --with-audio=oss -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fltk/fltk.hash b/buildroot-2021.05/package/fltk/fltk.hash deleted file mode 100644 index f3430e41..00000000 --- a/buildroot-2021.05/package/fltk/fltk.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://www.fltk.org/software.php?VERSION=1.3.5 -md5 e85017defd5a03ae82e634311db87bbf fltk-1.3.5-source.tar.gz -# Locally generated -sha256 8729b2a055f38c1636ba20f749de0853384c1d3e9d1a6b8d4d1305143e115702 fltk-1.3.5-source.tar.gz -sha256 57dd381e713fb309fb7dd85c3c38b274557ecb333475d0f1d65a5f06ad85c9a6 COPYING diff --git a/buildroot-2021.05/package/fltk/fltk.mk b/buildroot-2021.05/package/fltk/fltk.mk deleted file mode 100644 index 763ff612..00000000 --- a/buildroot-2021.05/package/fltk/fltk.mk +++ /dev/null @@ -1,64 +0,0 @@ -################################################################################ -# -# fltk -# -################################################################################ - -FLTK_VERSION = 1.3.5 -FLTK_SOURCE = fltk-$(FLTK_VERSION)-source.tar.gz -FLTK_SITE = http://fltk.org/pub/fltk/$(FLTK_VERSION) -FLTK_INSTALL_STAGING = YES -# We force --libdir=/usr/lib, because by default, it is set to -# ${exec_prefix}/lib, which doesn't match the condition used by the -# fltk build system to decide whether it should pass a -rpath,/usr/lib -# or not. Since this rpath breaks the build, we want the fltk build -# system to not pass it, which requires having --libdir set to -# /usr/lib. -FLTK_CONF_OPTS = --enable-threads --with-x --disable-gl \ - --disable-localjpeg --disable-localpng --disable-localzlib \ - --libdir=/usr/lib -FLTK_DEPENDENCIES = jpeg libpng xlib_libX11 xlib_libXext xlib_libXt -FLTK_CONFIG_SCRIPTS = fltk-config -FLTK_LICENSE = LGPL-2.0 with exceptions -FLTK_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_CAIRO),y) -FLTK_CONF_OPTS += --enable-cairo -FLTK_DEPENDENCIES += cairo -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) -FLTK_DEPENDENCIES += xlib_libXcursor -FLTK_CONF_OPTS += --enable-xcursor -else -FLTK_CONF_OPTS += --disable-xcursor -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) -FLTK_DEPENDENCIES += xlib_libXfixes -FLTK_CONF_OPTS += --enable-xfixes -else -FLTK_CONF_OPTS += --disable-xfixes -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) -FLTK_CONF_ENV += ac_cv_path_FTCONFIG=$(STAGING_DIR)/usr/bin/freetype-config -FLTK_DEPENDENCIES += xlib_libXft -else -FLTK_CONF_OPTS += --disable-xft -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) -FLTK_DEPENDENCIES += xlib_libXinerama -else -FLTK_CONF_OPTS += --disable-xinerama -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y) -FLTK_DEPENDENCIES += xlib_libXrender -FLTK_CONF_OPTS += --enable-xrender -else -FLTK_CONF_OPTS += --disable-xrender -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fluidsynth/Config.in b/buildroot-2021.05/package/fluidsynth/Config.in deleted file mode 100644 index 5726e235..00000000 --- a/buildroot-2021.05/package/fluidsynth/Config.in +++ /dev/null @@ -1,134 +0,0 @@ -config BR2_PACKAGE_FLUIDSYNTH - bool "fluidsynth" - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_MMU # libglib2 - # the .pc file installed by fluidsynth does not mention its - # indirect dependencies in Libs.private. - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LIBGLIB2 - help - FluidSynth is a real-time software synthesizer based on the - SoundFont 2 specifications and has reached widespread - distribution. FluidSynth itself does not have a graphical - user interface, but due to its powerful API several - applications utilize it and it has even found its way onto - embedded systems and is used in some mobile apps. - - http://www.fluidsynth.org/ - -if BR2_PACKAGE_FLUIDSYNTH - -comment "Output support" - -config BR2_PACKAGE_FLUIDSYNTH_ALSA_LIB - bool "alsa" - default y - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_ALSA_LIB_RAWMIDI - select BR2_PACKAGE_ALSA_LIB_SEQ - help - Enable alsa support. - -comment "alsa support needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_FLUIDSYNTH_JACK2 - bool "jack2" - # See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908 - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS - depends on BR2_TOOLCHAIN_HAS_THREADS # jack2 - depends on BR2_USE_MMU # jack2 - depends on BR2_INSTALL_LIBSTDCPP # jack2 - depends on !BR2_STATIC_LIBS # jack2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # jack2 - select BR2_PACKAGE_JACK2 - help - Enable jack support. - -comment "jack support needs a toolchain w/ dynamic library, threads, C++" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_FLUIDSYNTH_LIBSNDFILE - bool "libsndfile" - select BR2_PACKAGE_LIBSNDFILE - help - Enable libsndfile support, for writing output to WAV files. - -config BR2_PACKAGE_FLUIDSYNTH_PORTAUDIO - bool "portaudio" - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_PORTAUDIO - help - Enable portaudio support. - -comment "portaudio support needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO - bool "pulseaudio" - # See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908 - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS - depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC # pulseaudio - depends on BR2_USE_WCHAR # pulseaudio - depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio - depends on !BR2_STATIC_LIBS # pulseaudio - depends on BR2_USE_MMU # pulseaudio - select BR2_PACKAGE_PULSEAUDIO - help - Enable PulseAudio support. - -comment "pulseaudio support needs a toolchain w/ dynamic library, wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS - depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC - depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_FLUIDSYNTH_SDL2 - bool "sdl2" - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_SDL2 - help - Enable SDL2 audio support. - -comment "SDL2 audio support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -comment "Misc options" - -config BR2_PACKAGE_FLUIDSYNTH_DBUS - bool "dbus" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU - select BR2_PACKAGE_DBUS - help - Enable dbus support. - -comment "dbus support needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_FLUIDSYNTH_FLOATS - bool "32-bit single precision float" - help - Enable 32-bit single precision float support, instead of - 64-bit double precision floats for DSP samples. - -config BR2_PACKAGE_FLUIDSYNTH_READLINE - bool "readline" - select BR2_PACKAGE_READLINE - help - Enable readline support, for better line editing in FluidSynth - shell. - -endif # BR2_PACKAGE_FLUIDSYNTH - -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/fluidsynth/fluidsynth.hash b/buildroot-2021.05/package/fluidsynth/fluidsynth.hash deleted file mode 100644 index 12620f51..00000000 --- a/buildroot-2021.05/package/fluidsynth/fluidsynth.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 928fb16f307507485bd1d9b010dafba8c747bce5de2ba47ab1705944c87013b6 fluidsynth-2.2.0.tar.gz -sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE diff --git a/buildroot-2021.05/package/fluidsynth/fluidsynth.mk b/buildroot-2021.05/package/fluidsynth/fluidsynth.mk deleted file mode 100644 index b94db615..00000000 --- a/buildroot-2021.05/package/fluidsynth/fluidsynth.mk +++ /dev/null @@ -1,84 +0,0 @@ -################################################################################ -# -# fluidsynth -# -################################################################################ - -FLUIDSYNTH_VERSION = 2.2.0 -FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION)) -FLUIDSYNTH_LICENSE = LGPL-2.1+ -FLUIDSYNTH_LICENSE_FILES = LICENSE -FLUIDSYNTH_CPE_ID_VENDOR = fluidsynth -FLUIDSYNTH_INSTALL_STAGING = YES -FLUIDSYNTH_DEPENDENCIES = libglib2 - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_ALSA_LIB),y) -FLUIDSYNTH_CONF_OPTS += -Denable-alsa=1 -FLUIDSYNTH_DEPENDENCIES += alsa-lib -else -FLUIDSYNTH_CONF_OPTS += -Denable-alsa=0 -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_DBUS),y) -FLUIDSYNTH_CONF_OPTS += -Denable-dbus=1 -FLUIDSYNTH_DEPENDENCIES += dbus -else -FLUIDSYNTH_CONF_OPTS += -Denable-dbus=0 -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_FLOATS),y) -FLUIDSYNTH_CONF_OPTS += -Denable-floats=1 -else -FLUIDSYNTH_CONF_OPTS += -Denable-floats=0 -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_JACK2),y) -FLUIDSYNTH_CONF_OPTS += -Denable-jack=1 -FLUIDSYNTH_DEPENDENCIES += jack2 -else -FLUIDSYNTH_CONF_OPTS += -Denable-jack=0 -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_LIBSNDFILE),y) -FLUIDSYNTH_CONF_OPTS += -Denable-libsndfile=1 -FLUIDSYNTH_DEPENDENCIES += libsndfile -else -FLUIDSYNTH_CONF_OPTS += -Denable-libsndfile=0 -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_PORTAUDIO),y) -FLUIDSYNTH_CONF_OPTS += -Denable-portaudio=1 -FLUIDSYNTH_DEPENDENCIES += portaudio -else -FLUIDSYNTH_CONF_OPTS += -Denable-portaudio=0 -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO),y) -FLUIDSYNTH_CONF_OPTS += -Denable-pulseaudio=1 -FLUIDSYNTH_DEPENDENCIES += pulseaudio -else -FLUIDSYNTH_CONF_OPTS += -Denable-pulseaudio=0 -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_READLINE),y) -FLUIDSYNTH_CONF_OPTS += -Denable-readline=1 -FLUIDSYNTH_DEPENDENCIES += readline -else -FLUIDSYNTH_CONF_OPTS += -Denable-readline=0 -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH_SDL2),y) -FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=1 -FLUIDSYNTH_DEPENDENCIES += sdl2 -else -FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0 -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -FLUIDSYNTH_CONF_OPTS += -Denable-systemd=1 -FLUIDSYNTH_DEPENDENCIES += systemd -else -FLUIDSYNTH_CONF_OPTS += -Denable-systemd=0 -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/fmt/fmt.hash b/buildroot-2021.05/package/fmt/fmt.hash deleted file mode 100644 index 7947a174..00000000 --- a/buildroot-2021.05/package/fmt/fmt.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 5d98c504d0205f912e22449ecdea776b78ce0bb096927334f80781e720084c9f fmt-7.1.3.zip -sha256 825c9324e70f8c839c8ba910543dd4a7daee243b86ef960594c11381a19980b8 LICENSE.rst diff --git a/buildroot-2021.05/package/fmt/fmt.mk b/buildroot-2021.05/package/fmt/fmt.mk deleted file mode 100644 index 33295798..00000000 --- a/buildroot-2021.05/package/fmt/fmt.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# fmt -# -################################################################################ - -FMT_VERSION = 7.1.3 -FMT_SITE = https://github.com/fmtlib/fmt/releases/download/$(FMT_VERSION) -FMT_SOURCE = fmt-$(FMT_VERSION).zip -FMT_LICENSE = MIT with exception -FMT_LICENSE_FILES = LICENSE.rst -FMT_CPE_ID_VENDOR = fmt -FMT_INSTALL_STAGING = YES - -FMT_CONF_OPTS = \ - -DFMT_INSTALL=ON \ - -DFMT_TEST=OFF - -define FMT_EXTRACT_CMDS - $(UNZIP) -d $(BUILD_DIR) $(FMT_DL_DIR)/$(FMT_SOURCE) -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/font-awesome/font-awesome.mk b/buildroot-2021.05/package/font-awesome/font-awesome.mk deleted file mode 100644 index 666346be..00000000 --- a/buildroot-2021.05/package/font-awesome/font-awesome.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# font-awesome -# -################################################################################ - -FONT_AWESOME_VERSION = 4.7.0 -FONT_AWESOME_SITE = $(call github,FortAwesome,Font-Awesome,v$(FONT_AWESOME_VERSION)) -FONT_AWESOME_LICENSE = OFL-1.1 (font), MIT (CSS, LESS and Sass files) -FONT_AWESOME_DIRECTORIES_LIST = css fonts less scss - -define FONT_AWESOME_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/usr/share/font-awesome/ - $(foreach d,$(FONT_AWESOME_DIRECTORIES_LIST),\ - cp -dpfr $(@D)/$(d) $(TARGET_DIR)/usr/share/font-awesome$(sep)) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/fontconfig/fontconfig.mk b/buildroot-2021.05/package/fontconfig/fontconfig.mk deleted file mode 100644 index 33218ed6..00000000 --- a/buildroot-2021.05/package/fontconfig/fontconfig.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# fontconfig -# -################################################################################ - -FONTCONFIG_VERSION = 2.13.1 -FONTCONFIG_SITE = http://fontconfig.org/release -FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.bz2 -# 0002-add-pthread-as-a-dependency-of-a-static-lib.patch -FONTCONFIG_AUTORECONF = YES -FONTCONFIG_INSTALL_STAGING = YES -FONTCONFIG_DEPENDENCIES = freetype expat host-pkgconf host-gperf util-linux -HOST_FONTCONFIG_DEPENDENCIES = \ - host-freetype host-expat host-pkgconf host-gperf host-util-linux -FONTCONFIG_LICENSE = fontconfig license -FONTCONFIG_LICENSE_FILES = COPYING -FONTCONFIG_CPE_ID_VENDOR = fontconfig_project - -FONTCONFIG_CONF_OPTS = \ - --with-arch=$(GNU_TARGET_NAME) \ - --with-cache-dir=/var/cache/fontconfig \ - --disable-docs - -HOST_FONTCONFIG_CONF_OPTS = \ - --disable-static - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/fping/fping.hash b/buildroot-2021.05/package/fping/fping.hash deleted file mode 100644 index 0b2233f3..00000000 --- a/buildroot-2021.05/package/fping/fping.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 ed38c0b9b64686a05d1b3bc1d66066114a492e04e44eef1821d43b1263cd57b8 fping-5.0.tar.gz - -# Hash for license file -sha256 6051b27e4b4a648f7bc8b329024da53a6e95ce88fcf0ccc259c371a74b741757 COPYING diff --git a/buildroot-2021.05/package/fping/fping.mk b/buildroot-2021.05/package/fping/fping.mk deleted file mode 100644 index 0a03c1df..00000000 --- a/buildroot-2021.05/package/fping/fping.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# fping -# -################################################################################ - -FPING_VERSION = 5.0 -FPING_SITE = http://fping.org/dist -FPING_LICENSE = BSD-like -FPING_LICENSE_FILES = COPYING -FPING_SELINUX_MODULES = netutils - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/freerdp/Config.in b/buildroot-2021.05/package/freerdp/Config.in deleted file mode 100644 index 5705ce0e..00000000 --- a/buildroot-2021.05/package/freerdp/Config.in +++ /dev/null @@ -1,73 +0,0 @@ -config BR2_PACKAGE_FREERDP - bool "freerdp" - # FreeRDP does not have a single C++ source file, however it - # insists on having a C++ compiler. Removing that requirement - # is a bit too much involving, so we just depend on it... - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on !BR2_STATIC_LIBS # uses dlfcn.h - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # libglib2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_LIBGLIB2 - help - FreeRDP is a free implementation of the Remote Desktop - Protocol (RDP), released under the Apache license - - This only installs the freerdp libraries. - - http://www.freerdp.com/ - - Note: this also installs a key and certificate in - /etc/freerdp/keys/ . These are publicly-known, as they - are present in FreeRDP's source tree. It is strongly - suggested that you overwrite them with your own set, - either in an overlay rootfs or in a post-build script. - -if BR2_PACKAGE_FREERDP - -config BR2_PACKAGE_FREERDP_GSTREAMER1 - bool "gstreamer support" - depends on BR2_PACKAGE_GSTREAMER1 - depends on BR2_PACKAGE_XORG7 # xlib-libxrandr - # gstreamer-1.x dependencies already dependencies of FreeRDP - select BR2_PACKAGE_GST1_PLUGINS_BASE - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP - select BR2_PACKAGE_XLIB_LIBXRANDR - -comment "gstreamer support needs X.Org" - depends on !BR2_PACKAGE_XORG7 - depends on BR2_PACKAGE_GSTREAMER1 - -config BR2_PACKAGE_FREERDP_SERVER - bool "server" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXDAMAGE - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXFIXES - -config BR2_PACKAGE_FREERDP_CLIENT_X11 - bool "X11 client" - default y - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - -comment "server and X11 client need X.Org" - depends on !BR2_PACKAGE_XORG7 - -config BR2_PACKAGE_FREERDP_CLIENT_WL - bool "wayland client" - default y - depends on BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_LIBXKBCOMMON - -endif - -comment "freerdp needs a toolchain w/ wchar, dynamic library, threads, C++" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/freerdp/freerdp.hash b/buildroot-2021.05/package/freerdp/freerdp.hash deleted file mode 100644 index ebb5798a..00000000 --- a/buildroot-2021.05/package/freerdp/freerdp.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://pub.freerdp.com/releases/freerdp-2.3.1.tar.gz.sha256 -sha256 20071c691c1947ca256149e1d03edec1a5dfbf9960f0ef4e21ecab87433c2178 freerdp-2.3.1.tar.gz - -# Locally calculated -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2021.05/package/freerdp/freerdp.mk b/buildroot-2021.05/package/freerdp/freerdp.mk deleted file mode 100644 index 171c248b..00000000 --- a/buildroot-2021.05/package/freerdp/freerdp.mk +++ /dev/null @@ -1,267 +0,0 @@ -################################################################################ -# -# freerdp -# -################################################################################ - -FREERDP_VERSION = 2.3.1 -FREERDP_SITE = https://pub.freerdp.com/releases -FREERDP_DEPENDENCIES = libglib2 openssl zlib -FREERDP_LICENSE = Apache-2.0 -FREERDP_LICENSE_FILES = LICENSE -FREERDP_CPE_ID_VENDOR = freerdp - -FREERDP_INSTALL_STAGING = YES - -FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF -Wno-dev -DWITH_GSTREAMER_0_10=OFF - -ifeq ($(BR2_PACKAGE_FREERDP_GSTREAMER1),y) -FREERDP_CONF_OPTS += -DWITH_GSTREAMER_1_0=ON -FREERDP_DEPENDENCIES += gstreamer1 gst1-plugins-base -else -FREERDP_CONF_OPTS += -DWITH_GSTREAMER_1_0=OFF -endif - -ifeq ($(BR2_PACKAGE_CUPS),y) -FREERDP_CONF_OPTS += -DWITH_CUPS=ON -FREERDP_DEPENDENCIES += cups -else -FREERDP_CONF_OPTS += -DWITH_CUPS=OFF -endif - -ifeq ($(BR2_PACKAGE_FFMPEG),y) -FREERDP_CONF_OPTS += -DWITH_FFMPEG=ON -FREERDP_DEPENDENCIES += ffmpeg -else -FREERDP_CONF_OPTS += -DWITH_FFMPEG=OFF -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y) -FREERDP_CONF_OPTS += -DWITH_ALSA=ON -FREERDP_DEPENDENCIES += alsa-lib -else -FREERDP_CONF_OPTS += -DWITH_ALSA=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -FREERDP_CONF_OPTS += -DCHANNEL_URBDRC=ON -FREERDP_DEPENDENCIES += libusb -else -FREERDP_CONF_OPTS += -DCHANNEL_URBDRC=OFF -endif - -ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) -FREERDP_CONF_OPTS += -DWITH_PULSE=ON -FREERDP_DEPENDENCIES += pulseaudio -else -FREERDP_CONF_OPTS += -DWITH_PULSE=OFF -endif - -# For the systemd journal -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=ON -FREERDP_DEPENDENCIES += systemd -else -FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=OFF -endif - -ifeq ($(BR2_ARM_CPU_HAS_NEON),y) -FREERDP_CONF_OPTS += -DWITH_NEON=ON -else -FREERDP_CONF_OPTS += -DWITH_NEON=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE2),y) -FREERDP_CONF_OPTS += -DWITH_SSE2=ON -else -FREERDP_CONF_OPTS += -DWITH_SSE2=OFF -endif - -ifeq ($(BR2_arm)$(BR2_armeb),y) -FREERDP_CONF_OPTS += -DARM_FP_ABI=$(GCC_TARGET_FLOAT_ABI) -endif - -#--------------------------------------- -# Enabling server and/or client - -# Clients and server interface must always be enabled to build the -# corresponding libraries. -FREERDP_CONF_OPTS += -DWITH_SERVER_INTERFACE=ON -FREERDP_CONF_OPTS += -DWITH_CLIENT_INTERFACE=ON - -ifeq ($(BR2_PACKAGE_FREERDP_SERVER),y) -FREERDP_CONF_OPTS += -DWITH_SERVER=ON -endif - -ifneq ($(BR2_PACKAGE_FREERDP_CLIENT_X11)$(BR2_PACKAGE_FREERDP_CLIENT_WL),) -FREERDP_CONF_OPTS += -DWITH_CLIENT=ON -endif - -#--------------------------------------- -# Libraries for client and/or server - -# The FreeRDP buildsystem uses non-orthogonal options. For example it -# is not possible to build the server and the wayland client without -# also building the X client. That's because the dependencies of the -# server (the X libraries) are a superset of those of the X client. -# So, as soon as FreeRDP is configured for the server and the wayland -# client, it will believe it also has to build the X client, because -# the libraries it needs are enabled. -# -# Furthermore, the shadow server is always built, even if there's nothing -# it can serve (i.e. the X libs are disabled). -# -# So, we do not care whether we build too much; we remove, as -# post-install hooks, whatever we do not want. - -# If Xorg is enabled, and the server or the X client are, then libX11 -# and libXext are forcibly enabled at the Kconfig level. However, if -# Xorg is enabled but neither the server nor the X client are, then -# there's nothing that guarantees those two libs are enabled. So we -# really must check for them. -ifeq ($(BR2_PACKAGE_XLIB_LIBX11)$(BR2_PACKAGE_XLIB_LIBXEXT),yy) -FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXext -FREERDP_CONF_OPTS += -DWITH_X11=ON -else -FREERDP_CONF_OPTS += -DWITH_X11=OFF -endif - -# The following libs are either optional or mandatory only for either -# the server or the client. A mandatory library for either one is -# selected from Kconfig, so we can make it conditional here -ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) -FREERDP_CONF_OPTS += -DWITH_XCURSOR=ON -FREERDP_DEPENDENCIES += xlib_libXcursor -else -FREERDP_CONF_OPTS += -DWITH_XCURSOR=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) -FREERDP_CONF_OPTS += -DWITH_XDAMAGE=ON -FREERDP_DEPENDENCIES += xlib_libXdamage -else -FREERDP_CONF_OPTS += -DWITH_XDAMAGE=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) -FREERDP_CONF_OPTS += -DWITH_XFIXES=ON -FREERDP_DEPENDENCIES += xlib_libXfixes -else -FREERDP_CONF_OPTS += -DWITH_XFIXES=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) -FREERDP_CONF_OPTS += -DWITH_XI=ON -FREERDP_DEPENDENCIES += xlib_libXi -else -FREERDP_CONF_OPTS += -DWITH_XI=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) -FREERDP_CONF_OPTS += -DWITH_XINERAMA=ON -FREERDP_DEPENDENCIES += xlib_libXinerama -else -FREERDP_CONF_OPTS += -DWITH_XINERAMA=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y) -FREERDP_CONF_OPTS += -DWITH_XKBFILE=ON -FREERDP_DEPENDENCIES += xlib_libxkbfile -else -FREERDP_CONF_OPTS += -DWITH_XKBFILE=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) -FREERDP_CONF_OPTS += -DWITH_XRANDR=ON -FREERDP_DEPENDENCIES += xlib_libXrandr -else -FREERDP_CONF_OPTS += -DWITH_XRANDR=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y) -FREERDP_CONF_OPTS += -DWITH_XRENDER=ON -FREERDP_DEPENDENCIES += xlib_libXrender -else -FREERDP_CONF_OPTS += -DWITH_XRENDER=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXTST),y) -FREERDP_CONF_OPTS += -DWITH_XTEST=ON -FREERDP_DEPENDENCIES += xlib_libXtst -else -FREERDP_CONF_OPTS += -DWITH_XTEST=OFF -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y) -FREERDP_CONF_OPTS += -DWITH_XV=ON -FREERDP_DEPENDENCIES += xlib_libXv -else -FREERDP_CONF_OPTS += -DWITH_XV=OFF -endif - -ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_WL),y) -FREERDP_DEPENDENCIES += wayland libxkbcommon -FREERDP_CONF_OPTS += \ - -DWITH_WAYLAND=ON \ - -DWAYLAND_SCANNER=$(HOST_DIR)/bin/wayland-scanner -else -FREERDP_CONF_OPTS += -DWITH_WAYLAND=OFF -endif - -#--------------------------------------- -# Post-install hooks to cleanup and install missing stuff - -# Shadow server is always installed, no matter what, so we manually -# remove it if the user does not want the server. -ifeq ($(BR2_PACKAGE_FREERDP_SERVER),) -define FREERDP_RM_SHADOW_SERVER - rm -f $(TARGET_DIR)/usr/bin/freerdp-shadow -endef -FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_SHADOW_SERVER -endif # ! server - -# X client is always built as soon as a client is enabled and the -# necessary libs are enabled (e.g. because of the server), so manually -# remove it if the user does not want it. -ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_X11),) -define FREERDP_RM_CLIENT_X11 - rm -f $(TARGET_DIR)/usr/bin/xfreerdp - rm -f $(TARGET_DIR)/usr/lib/libxfreerdp-client* -endef -FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_CLIENT_X11 -define FREERDP_RM_CLIENT_X11_LIB - rm -f $(STAGING_DIR)/usr/lib/libxfreerdp-client* -endef -FREERDP_POST_INSTALL_STAGING_HOOKS += FREERDP_RM_CLIENT_X11_LIB -endif # ! X client - -# Wayland client is always built as soon as wayland is enabled, so -# manually remove it if the user does not want it. -ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_WL),) -define FREERDP_RM_CLIENT_WL - rm -f $(TARGET_DIR)/usr/bin/wlfreerdp -endef -FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_CLIENT_WL -endif - -# Remove static libraries in unusual dir -define FREERDP_CLEANUP - rm -rf $(TARGET_DIR)/usr/lib/freerdp -endef -FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_CLEANUP - -# Install the server key and certificate, so that a client can connect. -# A user can override them with its own in a post-build script, if needed. -# We install them even if the server is not enabled, since another server -# can be built and linked with libfreerdp (e.g. weston with the RDP -# backend). Key and cert are installed world-readable, so non-root users -# can start a server. -define FREERDP_INSTALL_KEYS - $(INSTALL) -m 0644 -D $(@D)/server/Sample/server.key \ - $(TARGET_DIR)/etc/freerdp/keys/server.key - $(INSTALL) -m 0644 -D $(@D)/server/Sample/server.crt \ - $(TARGET_DIR)/etc/freerdp/keys/server.crt -endef -FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_INSTALL_KEYS - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/freescale-imx/Config.in b/buildroot-2021.05/package/freescale-imx/Config.in deleted file mode 100644 index bedd05a4..00000000 --- a/buildroot-2021.05/package/freescale-imx/Config.in +++ /dev/null @@ -1,128 +0,0 @@ -menuconfig BR2_PACKAGE_FREESCALE_IMX - bool "Freescale i.MX libraries" - depends on BR2_arm || BR2_aarch64 - help - Those packages provide hardware acceleration for GPU or VPU, - hardware optimization or some hardware tools for Freescale - i.MX platforms. - -if BR2_PACKAGE_FREESCALE_IMX -choice - prompt "i.MX platform" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK - bool "imx25-3stack" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS - bool "imx27ads" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK - bool "imx37-3stack" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50 - bool "imx50" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 - bool "imx51" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 - bool "imx53" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - bool "imx6q/imx6dl" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S - bool "imx6sl/imx6sx" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL - bool "imx6ul/imx6ull" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 - bool "imx7d/imx7ulp" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 - bool "imx8" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - bool "imx8m" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM - bool "imx8mm" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN - bool "imx8mn" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP - bool "imx8mp" - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X - bool "imx8x" -endchoice - -config BR2_PACKAGE_FREESCALE_IMX_PLATFORM - string - default "IMX25_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK - default "IMX27ADS" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS - default "IMX37_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK - default "IMX50" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50 - default "IMX51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 - default "IMX53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 - default "IMX6Q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - default "IMX6S" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S - default "IMX6UL" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL - default "IMX7" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 - default "IMX8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 - default "IMX8MQ" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - default "IMX8MM" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM - default "IMX8MN" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN - default "IMX8MP" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP - -config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - -config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP - -config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP || \ - BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X - -source "package/freescale-imx/imx-alsa-plugins/Config.in" -source "package/freescale-imx/imx-codec/Config.in" -source "package/freescale-imx/imx-kobs/Config.in" -source "package/freescale-imx/imx-lib/Config.in" -source "package/freescale-imx/imx-m4fwloader/Config.in" -source "package/freescale-imx/imx-parser/Config.in" -source "package/freescale-imx/imx-uuc/Config.in" -source "package/freescale-imx/imx-vpu/Config.in" -source "package/freescale-imx/imx-vpu-hantro/Config.in" -source "package/freescale-imx/imx-vpuwrap/Config.in" -source "package/freescale-imx/firmware-imx/Config.in" -source "package/freescale-imx/imx-sc-firmware/Config.in" -source "package/freescale-imx/imx-seco/Config.in" -if (BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53) -source "package/freescale-imx/gpu-amd-bin-mx51/Config.in" -source "package/freescale-imx/libz160/Config.in" -endif -if BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU -source "package/freescale-imx/imx-gpu-g2d/Config.in" -source "package/freescale-imx/imx-gpu-viv/Config.in" -source "package/freescale-imx/kernel-module-imx-gpu-viv/Config.in" -endif - -endif diff --git a/buildroot-2021.05/package/freescale-imx/firmware-imx/Config.in b/buildroot-2021.05/package/freescale-imx/firmware-imx/Config.in deleted file mode 100644 index 0bd8000b..00000000 --- a/buildroot-2021.05/package/freescale-imx/firmware-imx/Config.in +++ /dev/null @@ -1,90 +0,0 @@ -config BR2_PACKAGE_FIRMWARE_IMX - bool "firmware-imx" - depends on BR2_arm || BR2_aarch64 # Only relevant for i.MX - help - Firmware blobs for the Freescale i.MX SoCs. - - It contains blobs for SDMA, VPU, HDMI, EDPC, and DDR - training. - - This library is provided by Freescale as-is and doesn't have - an upstream. - -if BR2_PACKAGE_FIRMWARE_IMX - -config BR2_PACKAGE_FIRMWARE_IMX_SDMA_FW_NAME - string - default "imx25" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK - default "imx51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 - default "imx53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 - default "imx6q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - default "imx6q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S - default "imx6q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL - default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 - default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM - default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN - default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP - -config BR2_PACKAGE_FIRMWARE_IMX_VPU_FW_NAME - string - default "imx27" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS - default "imx51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 - default "imx53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 - default "imx6" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - default "imx8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 - default "imx8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X - -config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - -config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EPDC_FW - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S - -config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW - bool - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN - default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP - -if BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW - -choice - bool "DDR training binaries" - default BR2_PACKAGE_FIRMWARE_IMX_LPDDR4 - help - Choose the DDR training binaries to be used depending on the - kind of memory that is available on the target board (DDR4, - LPDDR4, etc...). - -config BR2_PACKAGE_FIRMWARE_IMX_LPDDR4 - bool "lpddr4" - help - Use LPDDR4 binaries (i.e.: lpddr4_pmu_train_*.bin) - -config BR2_PACKAGE_FIRMWARE_IMX_DDR4 - bool "DDR4" - help - Use DDR4 binaries (i.e.: ddr4_*_201810.bin). - -endchoice # DDR training FW - -config BR2_PACKAGE_FIRMWARE_IMX_IMEM_LEN - hex "(LP)DDR IMEM padding length" - default 0x8000 - help - The IMEM firmware will be padded to this length - -config BR2_PACKAGE_FIRMWARE_IMX_DMEM_LEN - hex "(LP)DDR DMEM padding length" - default 0x4000 - help - The DMEM firmware will be padded to this length - -endif # BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW - -endif # BR2_PACKAGE_FIRMWARE_IMX diff --git a/buildroot-2021.05/package/freescale-imx/firmware-imx/firmware-imx.hash b/buildroot-2021.05/package/freescale-imx/firmware-imx/firmware-imx.hash deleted file mode 100644 index c434ce7e..00000000 --- a/buildroot-2021.05/package/freescale-imx/firmware-imx/firmware-imx.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 1a7aaab69cd8c48d10ffb0118c938f4b3daf4c7fd86f0342f4d352906f8e0ecb firmware-imx-8.11.bin -sha256 4f3cc2dcbe3b7369bd4a51df749f432b69d8189fc2bde88f9fadbec73c686683 COPYING -sha256 a07e8df685161553d7e0b78b8b93ebe9086d95bb8635abff0ed3247992181e85 EULA diff --git a/buildroot-2021.05/package/freescale-imx/firmware-imx/firmware-imx.mk b/buildroot-2021.05/package/freescale-imx/firmware-imx/firmware-imx.mk deleted file mode 100644 index 1076cf85..00000000 --- a/buildroot-2021.05/package/freescale-imx/firmware-imx/firmware-imx.mk +++ /dev/null @@ -1,138 +0,0 @@ -################################################################################ -# -# firmware-imx -# -################################################################################ - -FIRMWARE_IMX_VERSION = 8.11 -FIRMWARE_IMX_SITE = $(FREESCALE_IMX_SITE) -FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin - -FIRMWARE_IMX_LICENSE = NXP Semiconductor Software License Agreement -FIRMWARE_IMX_LICENSE_FILES = EULA COPYING -FIRMWARE_IMX_REDISTRIBUTE = NO - -FIRMWARE_IMX_INSTALL_IMAGES = YES - -define FIRMWARE_IMX_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(FIRMWARE_IMX_DL_DIR)/$(FIRMWARE_IMX_SOURCE)) -endef - -# -# DDR firmware -# - -define FIRMWARE_IMX_PREPARE_DDR_FW - $(TARGET_OBJCOPY) -I binary -O binary \ - --pad-to $(BR2_PACKAGE_FIRMWARE_IMX_IMEM_LEN) --gap-fill=0x0 \ - $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(1)).bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(1))_pad.bin - $(TARGET_OBJCOPY) -I binary -O binary \ - --pad-to $(BR2_PACKAGE_FIRMWARE_IMX_DMEM_LEN) --gap-fill=0x0 \ - $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(2)).bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(2))_pad.bin - cat $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(1))_pad.bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(2))_pad.bin > \ - $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(3)).bin -endef - -ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_LPDDR4),y) -FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys - -define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW - # Create padded versions of lpddr4_pmu_* and generate lpddr4_pmu_train_fw.bin. - # lpddr4_pmu_train_fw.bin is needed when generating imx8-boot-sd.bin - # which is done in post-image script. - $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ - lpddr4_pmu_train_1d_imem,lpddr4_pmu_train_1d_dmem,lpddr4_pmu_train_1d_fw) - $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ - lpddr4_pmu_train_2d_imem,lpddr4_pmu_train_2d_dmem,lpddr4_pmu_train_2d_fw) - cat $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_1d_fw.bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_2d_fw.bin > \ - $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin - ln -sf $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin $(BINARIES_DIR)/ddr_fw.bin -endef -endif - -ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_DDR4),y) -FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys - -define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW - # Create padded versions of ddr4_* and generate ddr4_fw.bin. - # ddr4_fw.bin is needed when generating imx8-boot-sd.bin - # which is done in post-image script. - $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ - ddr4_imem_1d_201810,ddr4_dmem_1d_201810,ddr4_1d_201810_fw) - $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ - ddr4_imem_2d_201810,ddr4_dmem_2d_201810,ddr4_2d_201810_fw) - cat $(FIRMWARE_IMX_DDRFW_DIR)/ddr4_1d_201810_fw.bin \ - $(FIRMWARE_IMX_DDRFW_DIR)/ddr4_2d_201810_fw.bin > \ - $(BINARIES_DIR)/ddr4_201810_fw.bin - ln -sf $(BINARIES_DIR)/ddr4_201810_fw.bin $(BINARIES_DIR)/ddr_fw.bin -endef -endif - -# -# HDMI firmware -# - -ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW),y) -define FIRMWARE_IMX_INSTALL_IMAGE_HDMI_FW - cp $(@D)/firmware/hdmi/cadence/signed_hdmi_imx8m.bin \ - $(BINARIES_DIR)/signed_hdmi_imx8m.bin -endef -endif - -# -# EPDC firmware -# - -ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EPDC_FW),y) -define FIRMWARE_IMX_INSTALL_TARGET_EPDC_FW - mkdir -p $(TARGET_DIR)/lib/firmware/imx - cp -r $(@D)/firmware/epdc $(TARGET_DIR)/lib/firmware/imx - mv $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted \ - $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw -endef -endif - -# -# SDMA firmware -# - -FIRMWARE_IMX_SDMA_FW_NAME = $(call qstrip,$(BR2_PACKAGE_FIRMWARE_IMX_SDMA_FW_NAME)) -ifneq ($(FIRMWARE_IMX_SDMA_FW_NAME),) -define FIRMWARE_IMX_INSTALL_TARGET_SDMA_FW - mkdir -p $(TARGET_DIR)/lib/firmware/imx/sdma - cp -r $(@D)/firmware/sdma/sdma-$(FIRMWARE_IMX_SDMA_FW_NAME)*.bin \ - $(TARGET_DIR)/lib/firmware/imx/sdma/ -endef -endif - -# -# VPU firmware -# - -FIRMWARE_IMX_VPU_FW_NAME = $(call qstrip,$(BR2_PACKAGE_FIRMWARE_IMX_VPU_FW_NAME)) -ifneq ($(FIRMWARE_IMX_VPU_FW_NAME),) -define FIRMWARE_IMX_INSTALL_TARGET_VPU_FW - mkdir -p $(TARGET_DIR)/lib/firmware/vpu - for i in $$(find $(@D)/firmware/vpu/vpu_fw_$(FIRMWARE_IMX_VPU_FW_NAME)*.bin); do \ - cp $$i $(TARGET_DIR)/lib/firmware/vpu/ ; \ - ln -sf vpu/$$(basename $$i) $(TARGET_DIR)/lib/firmware/$$(basename $$i) ; \ - done -endef -endif - -define FIRMWARE_IMX_INSTALL_IMAGES_CMDS - $(FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW) - $(FIRMWARE_IMX_INSTALL_IMAGE_HDMI_FW) -endef - -define FIRMWARE_IMX_INSTALL_TARGET_CMDS - $(FIRMWARE_IMX_INSTALL_TARGET_EPDC_FW) - $(FIRMWARE_IMX_INSTALL_TARGET_SDMA_FW) - $(FIRMWARE_IMX_INSTALL_TARGET_VPU_FW) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk b/buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk deleted file mode 100644 index 55860737..00000000 --- a/buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk +++ /dev/null @@ -1,67 +0,0 @@ -################################################################################ -# -# gpu-amd-bin-mx51 -# -################################################################################ - -GPU_AMD_BIN_MX51_SITE = $(FREESCALE_IMX_SITE) -GPU_AMD_BIN_MX51_BASE_VERSION = 11.09.01 -ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_FB),y) -GPU_AMD_BIN_MX51_VERSION = $(GPU_AMD_BIN_MX51_BASE_VERSION)-fb -GPU_AMD_BIN_MX51_SOURCE = amd-gpu-bin-mx51-$(GPU_AMD_BIN_MX51_BASE_VERSION).bin -else -GPU_AMD_BIN_MX51_VERSION = $(GPU_AMD_BIN_MX51_BASE_VERSION)-x11 -GPU_AMD_BIN_MX51_SOURCE = amd-gpu-x11-bin-mx51-$(GPU_AMD_BIN_MX51_BASE_VERSION).bin -GPU_AMD_BIN_MX51_DEPENDENCIES = libxcb xlib_libX11 xlib_libXext \ - xlib_libXrender xlib_libXau xlib_libXdmcp -endif -GPU_AMD_BIN_MX51_PROVIDES = libegl libgles libopenvg -GPU_AMD_BIN_MX51_INSTALL_STAGING = YES - -GPU_AMD_BIN_MX51_LICENSE = Freescale Semiconductor Software License Agreement -GPU_AMD_BIN_MX51_LICENSE_FILES = EULA -GPU_AMD_BIN_MX51_REDISTRIBUTE = NO - -define GPU_AMD_BIN_MX51_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(GPU_AMD_BIN_MX51_DL_DIR)/$(GPU_AMD_BIN_MX51_SOURCE)) -endef - -# Upstream headers need to be compiled with -D_LINUX. It is more convenient -# to rely on __linux__ which is defined in compiler itself -define GPU_AMD_BIN_MX51_FIXUP_HEADERS - $(SED) 's/_LINUX/__linux__/g' $(@D)/usr/include/*/*.h -endef -GPU_AMD_BIN_MX51_POST_PATCH_HOOKS += GPU_AMD_BIN_MX51_FIXUP_HEADERS - -# eglplatform_1.4.h contains X11 compatible headers -ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11),y) -define GPU_AMD_BIN_MX51_FIXUP_EGL_HEADERS - mv $(STAGING_DIR)/usr/include/EGL/eglplatform_1.4.h $(STAGING_DIR)/usr/include/EGL/eglplatform.h -endef -endif - -define GPU_AMD_BIN_MX51_INSTALL_STAGING_CMDS - $(INSTALL) -d $(STAGING_DIR)/usr/lib/pkgconfig - $(INSTALL) -m 644 package/freescale-imx/gpu-amd-bin-mx51/*.pc $(STAGING_DIR)/usr/lib/pkgconfig/ - $(INSTALL) -m 755 $(@D)/usr/lib/lib* $(STAGING_DIR)/usr/lib/ - cp -r $(@D)/usr/include/* $(STAGING_DIR)/usr/include - $(GPU_AMD_BIN_MX51_FIXUP_EGL_HEADERS) -endef - -ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES),y) -define GPU_AMD_BIN_MX51_INSTALL_EXAMPLES - $(INSTALL) -d $(TARGET_DIR)/usr/share/examples/gpu_amd_samples - $(INSTALL) -m 755 $(@D)/usr/bin/* $(TARGET_DIR)/usr/share/examples/gpu_amd_samples -endef -endif - -define GPU_AMD_BIN_MX51_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 $(@D)/usr/lib/lib*so* $(TARGET_DIR)/usr/lib/ - $(GPU_AMD_BIN_MX51_INSTALL_EXAMPLES) -endef - -define GPU_AMD_BIN_MX51_DEVICES - /dev/gsl_kmod c 640 0 0 249 0 1 4 -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash b/buildroot-2021.05/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash deleted file mode 100644 index 4f05ca78..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 9fd1b2c05ecabb3cc1468c357fc85f024a736de54abb9942e17230f24fa280c0 imx-gpu-g2d-6.4.3.p1.2-arm.bin -sha256 1b0369e9f75bf8fff7b8a86ade8d0d1748a52579b02ef72e53ad5565eee4dc60 imx-gpu-g2d-6.4.3.p1.2-aarch64.bin -sha256 4f3cc2dcbe3b7369bd4a51df749f432b69d8189fc2bde88f9fadbec73c686683 COPYING -sha256 a07e8df685161553d7e0b78b8b93ebe9086d95bb8635abff0ed3247992181e85 EULA diff --git a/buildroot-2021.05/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk b/buildroot-2021.05/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk deleted file mode 100644 index 12f88110..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# imx-gpu-g2d -# -################################################################################ - -ifeq ($(BR2_aarch64),y) -IMX_GPU_G2D_VERSION = 6.4.3.p1.2-aarch64 -else -IMX_GPU_G2D_VERSION = 6.4.3.p1.2-arm -endif -IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE) -IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION).bin -IMX_GPU_G2D_DEPENDENCIES = imx-gpu-viv -IMX_GPU_G2D_INSTALL_STAGING = YES - -IMX_GPU_G2D_LICENSE = NXP Semiconductor Software License Agreement -IMX_GPU_G2D_LICENSE_FILES = EULA COPYING -IMX_GPU_G2D_REDISTRIBUTE = NO - -define IMX_GPU_G2D_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_G2D_DL_DIR)/$(IMX_GPU_G2D_SOURCE)) -endef - -define IMX_GPU_G2D_INSTALL_STAGING_CMDS - cp -a $(@D)/g2d/usr/* $(STAGING_DIR)/usr -endef - -ifeq ($(BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES),y) -define IMX_GPU_G2D_INSTALL_EXAMPLES - mkdir -p $(TARGET_DIR)/usr/share/examples/ - cp -a $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/ -endef -endif - -define IMX_GPU_G2D_INSTALL_TARGET_CMDS - $(IMX_GPU_G2D_INSTALL_EXAMPLES) - cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/Config.in b/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/Config.in deleted file mode 100644 index f465167a..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/Config.in +++ /dev/null @@ -1,103 +0,0 @@ -comment "imx-gpu-viv needs a glibc toolchain with armhf enabled" - depends on BR2_arm - depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF - -comment "imx-gpu-viv needs a glibc toolchain" - depends on BR2_aarch64 - depends on !BR2_TOOLCHAIN_USES_GLIBC - -config BR2_PACKAGE_IMX_GPU_VIV - bool "imx-gpu-viv" - # Pre-built binaries only available for ARM EABIhf - depends on (BR2_arm && BR2_ARM_EABIHF) || BR2_aarch64 - # Library binaries are linked against libc.so.6 - depends on BR2_TOOLCHAIN_USES_GLIBC - # Library binaries are linked against libdrm.so.2, except framebuffer - # output on ARM - select BR2_PACKAGE_LIBDRM if !(BR2_arm && BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB) - select BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_HAS_LIBGLES - select BR2_PACKAGE_HAS_LIBOPENCL - select BR2_PACKAGE_HAS_LIBOPENVG - help - Userspace libraries for Vivante GPU on i.MX platforms - - It contains libraries and headers for GLES, OpenCL, and - OpenVG. It also contains a DRI plugin for X11. It also - contains a plugin for DirectFB-1.4.0, but that doesn't work - together with buildroot's DirectFB version. - - This library is provided by Freescale as-is and doesn't have - an upstream. - -if BR2_PACKAGE_IMX_GPU_VIV - -choice - prompt "Output option" - help - There are two versions of this library: one for - direct framebuffer access, one for X11 rendering. - Choose here which version to install. - -config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 - bool "X11" - depends on BR2_PACKAGE_XORG7 - # The i.MX8 blob doesn't support X11 output - depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - select BR2_PACKAGE_XLIB_LIBXDAMAGE - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXFIXES - -comment "X11 backend needs Xorg package" - depends on !BR2_PACKAGE_XORG7 - depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - -config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB - bool "Framebuffer" - # The i.MX8 blob doesn't support FB output - depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M - -config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL - bool "Wayland" - select BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_HAS_LIBEGL_WAYLAND - -endchoice - -config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT - string - default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 - default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB - default "wayland" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL - -config BR2_PACKAGE_PROVIDES_LIBEGL - default "imx-gpu-viv" - -config BR2_PACKAGE_PROVIDES_LIBGLES - default "imx-gpu-viv" - -config BR2_PACKAGE_PROVIDES_LIBOPENCL - default "imx-gpu-viv" - -config BR2_PACKAGE_PROVIDES_LIBOPENVG - default "imx-gpu-viv" - -config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES - bool "install examples" - # example binaries are linked against libstdc++.so.6 - depends on BR2_INSTALL_LIBSTDCPP - help - Copy the Vivante examples to the target. - - Warning: examples take approximately 150 MB of disk space. - -comment "imx-gpu-viv-examples need a toolchain w/ C++ support" - depends on !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO - bool "install gmem_info tool" - help - Copy the gmem_info tool to the target which provides - information about GPU memory consumption. - -endif diff --git a/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash b/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash deleted file mode 100644 index 6c0dacba..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 0f139f5544250a3059c0a0266d44f70e89632694861de3e186272b170b37c464 imx-gpu-viv-6.4.3.p1.2-aarch32.bin -sha256 3de60afb1f54c0888d9849c5a27f938ba229f9f35675456a173bdf00e3538c5d imx-gpu-viv-6.4.3.p1.2-aarch64.bin -sha256 4f3cc2dcbe3b7369bd4a51df749f432b69d8189fc2bde88f9fadbec73c686683 COPYING -sha256 a07e8df685161553d7e0b78b8b93ebe9086d95bb8635abff0ed3247992181e85 EULA diff --git a/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk b/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk deleted file mode 100644 index 103c0341..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk +++ /dev/null @@ -1,105 +0,0 @@ -################################################################################ -# -# imx-gpu-viv -# -################################################################################ - -ifeq ($(BR2_aarch64),y) -IMX_GPU_VIV_VERSION = 6.4.3.p1.2-aarch64 -else -IMX_GPU_VIV_VERSION = 6.4.3.p1.2-aarch32 -endif -IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE) -IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin - -IMX_GPU_VIV_INSTALL_STAGING = YES - -IMX_GPU_VIV_LICENSE = NXP Semiconductor Software License Agreement -IMX_GPU_VIV_LICENSE_FILES = EULA COPYING -IMX_GPU_VIV_REDISTRIBUTE = NO - -IMX_GPU_VIV_PROVIDES = libegl libgles libopencl libopenvg -IMX_GPU_VIV_LIB_TARGET = $(call qstrip,$(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT)) - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11) -# The libGAL.so library provided by imx-gpu-viv uses X functions. Packages -# may want to link against libGAL.so (QT5 Base with OpenGL and X support -# does so). For this to work we need build dependencies to libXdamage, -# libXext and libXfixes so that X functions used in libGAL.so are referenced. -IMX_GPU_VIV_DEPENDENCIES += xlib_libXdamage xlib_libXext xlib_libXfixes -endif - -# Libraries are linked against libdrm, except framebuffer output on ARM -ifneq ($(IMX_GPU_VIV_LIB_TARGET)$(BR2_arm),fby) -IMX_GPU_VIV_DEPENDENCIES += libdrm -endif - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),wayland) -IMX_GPU_VIV_DEPENDENCIES += wayland -endif - -define IMX_GPU_VIV_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_VIV_DL_DIR)/$(IMX_GPU_VIV_SOURCE)) -endef - -# Instead of building, we fix up the inconsistencies that exist -# in the upstream archive here. We also remove unused backend files. -# Make sure these commands are idempotent. -define IMX_GPU_VIV_BUILD_CMDS - cp -dpfr $(@D)/gpu-core/usr/lib/$(IMX_GPU_VIV_LIB_TARGET)/* $(@D)/gpu-core/usr/lib/ - for backend in fb x11 wayland; do \ - $(RM) -r $(@D)/gpu-core/usr/lib/$$backend ; \ - done -endef - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),fb) -define IMX_GPU_VIV_FIXUP_PKGCONFIG - ln -sf egl_linuxfb.pc $(@D)/gpu-core/usr/lib/pkgconfig/egl.pc -endef -endif - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),wayland) -define IMX_GPU_VIV_FIXUP_PKGCONFIG - ln -sf egl_wayland.pc $(@D)/gpu-core/usr/lib/pkgconfig/egl.pc -endef -endif - -ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11) -define IMX_GPU_VIV_FIXUP_PKGCONFIG - for lib in egl gbm glesv1_cm glesv2 vg; do \ - ln -sf $${lib}_x11.pc $(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc || exit 1; \ - done -endef -endif - -define IMX_GPU_VIV_INSTALL_STAGING_CMDS - cp -r $(@D)/gpu-core/usr/* $(STAGING_DIR)/usr - $(IMX_GPU_VIV_FIXUP_PKGCONFIG) - for lib in egl gbm glesv1_cm glesv2 vg; do \ - $(INSTALL) -m 0644 -D \ - $(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc \ - $(STAGING_DIR)/usr/lib/pkgconfig/$${lib}.pc; \ - done -endef - -ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES),y) -define IMX_GPU_VIV_INSTALL_EXAMPLES - mkdir -p $(TARGET_DIR)/usr/share/examples/ - cp -r $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/ -endef -endif - -ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO),y) -define IMX_GPU_VIV_INSTALL_GMEM_INFO - cp -dpfr $(@D)/gpu-tools/gmem-info/usr/bin/* $(TARGET_DIR)/usr/bin/ -endef -endif - -define IMX_GPU_VIV_INSTALL_TARGET_CMDS - $(IMX_GPU_VIV_INSTALL_EXAMPLES) - $(IMX_GPU_VIV_INSTALL_GMEM_INFO) - cp -a $(@D)/gpu-core/usr/lib $(TARGET_DIR)/usr - $(INSTALL) -D -m 0644 $(@D)/gpu-core/etc/Vivante.icd $(TARGET_DIR)/etc/OpenCL/vendors/Vivante.icd -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch b/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch deleted file mode 100644 index f5a67cd5..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch +++ /dev/null @@ -1,76 +0,0 @@ -From e776e7360f80da9ac03f81a5df27d8b7fabc7ac7 Mon Sep 17 00:00:00 2001 -From: Gary Bisson -Date: Thu, 26 Mar 2020 16:00:33 +0100 -Subject: [PATCH] Fix ion.h header inclusion to be standard - -NXP "solution" was to manually copy the header to include/linux. -Let's point the Makefile to the proper (mainline) location instead: -https://elixir.bootlin.com/linux/v4.17/source/drivers/staging/android/uapi/ion.h - -Signed-off-by: Gary Bisson ---- - Makefile_G1G2 | 4 ++-- - Makefile_H1 | 4 ++-- - decoder_sw/software/linux/dwl/dwl_linux.c | 2 +- - h1_encoder/software/linux_reference/ewl/ewl_x280_common.c | 2 +- - 4 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/Makefile_G1G2 b/Makefile_G1G2 -index 8280cce..4c9fc34 100755 ---- a/Makefile_G1G2 -+++ b/Makefile_G1G2 -@@ -10,8 +10,8 @@ INCLUDE_HEADERS = -I./decoder_sw -I$(SOURCE_ROOT)/source/inc -I$(SOURCE_ROOT)/so - - INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/memalloc - #INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/ldriver --#INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include --INCLUDE_HEADERS += -I$(SDKTARGETSYSROOT)/usr/include/imx -+INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include -+INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi - - CFLAGS += -DDEC_MODULE_PATH=\"/dev/mxc_hantro\" -DUSE_FAKE_RFC_TABLE -DFIFO_DATATYPE=void* -DNDEBUG -DDOWN_SCALER \ - -DUSE_EXTERNAL_BUFFER -DUSE_FAST_EC -DUSE_VP9_EC -DGET_FREE_BUFFER_NON_BLOCK \ -diff --git a/Makefile_H1 b/Makefile_H1 -index 9ab62e1..8d366e3 100755 ---- a/Makefile_H1 -+++ b/Makefile_H1 -@@ -17,8 +17,8 @@ ENV += -DMEMALLOC_MODULE_PATH=\\\"/dev/ion\\\" - #ENV += -DSDRAM_LM_BASE=0x00000000 - ENV += -DEWL_NO_HW_TIMEOUT - ENV += -DUSE_ION --#ENV += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include --ENV += -I$(SDKTARGETSYSROOT)/usr/include/imx -+ENV += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include -+ENV += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi - - LIBENCNAME = libcodec_enc - LIBSENC = -L./ -lhantro_h1 -lpthread -diff --git a/decoder_sw/software/linux/dwl/dwl_linux.c b/decoder_sw/software/linux/dwl/dwl_linux.c -index 9b057f0..43225f6 100755 ---- a/decoder_sw/software/linux/dwl/dwl_linux.c -+++ b/decoder_sw/software/linux/dwl/dwl_linux.c -@@ -41,7 +41,7 @@ - #include "dwl.h" - #include - #ifdef USE_ION --#include -+#include - #include - #include - #ifdef ANDROID -diff --git a/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c b/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c -index fef1307..20b6f95 100755 ---- a/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c -+++ b/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c -@@ -49,7 +49,7 @@ - - #include "linux/hx280enc.h" - #ifdef USE_ION --#include -+#include - #include - #include - #ifdef ANDROID --- -2.25.1 - diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash b/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash deleted file mode 100644 index e9df63bf..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 419725f0c09f5939c88cd234b729c3943cbd37e53db7352b02c8d6cc05b939b9 imx-vpu-hantro-1.21.0.bin -sha256 4f3cc2dcbe3b7369bd4a51df749f432b69d8189fc2bde88f9fadbec73c686683 COPYING -sha256 a07e8df685161553d7e0b78b8b93ebe9086d95bb8635abff0ed3247992181e85 EULA diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk b/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk deleted file mode 100644 index 0d075c49..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# imx-vpu-hantro -# -################################################################################ - -IMX_VPU_HANTRO_VERSION = 1.21.0 -IMX_VPU_HANTRO_SITE = $(FREESCALE_IMX_SITE) -IMX_VPU_HANTRO_SOURCE = imx-vpu-hantro-$(IMX_VPU_HANTRO_VERSION).bin -IMX_VPU_HANTRO_DEPENDENCIES = linux -IMX_VPU_HANTRO_INSTALL_STAGING = YES - -IMX_VPU_HANTRO_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - $(TARGET_CONFIGURE_OPTS) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - SDKTARGETSYSROOT=$(STAGING_DIR) \ - LINUX_KERNEL_ROOT=$(LINUX_DIR) \ - PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) - -IMX_VPU_HANTRO_LICENSE = NXP Semiconductor Software License Agreement -IMX_VPU_HANTRO_LICENSE_FILES = EULA COPYING -IMX_VPU_HANTRO_REDISTRIBUTE = NO - -define IMX_VPU_HANTRO_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPU_HANTRO_DL_DIR)/$(IMX_VPU_HANTRO_SOURCE)) -endef - -define IMX_VPU_HANTRO_BUILD_CMDS - $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) -endef - -define IMX_VPU_HANTRO_INSTALL_STAGING_CMDS - $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \ - DEST_DIR=$(STAGING_DIR) libdir=/usr/lib install -endef - -define IMX_VPU_HANTRO_INSTALL_TARGET_CMDS - $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \ - DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk b/buildroot-2021.05/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk deleted file mode 100644 index fdad3a5f..00000000 --- a/buildroot-2021.05/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# imx-vpuwrap -# -################################################################################ - -IMX_VPUWRAP_VERSION = 4.3.5 -IMX_VPUWRAP_SITE = $(FREESCALE_IMX_SITE) -IMX_VPUWRAP_SOURCE = imx-vpuwrap-$(IMX_VPUWRAP_VERSION).bin -IMX_VPUWRAP_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_IMX_VPU),y) -IMX_VPUWRAP_DEPENDENCIES = imx-vpu -endif - -ifeq ($(BR2_PACKAGE_IMX_VPU_HANTRO),y) -IMX_VPUWRAP_DEPENDENCIES = imx-vpu-hantro -endif - -IMX_VPUWRAP_LICENSE = NXP Semiconductor Software License Agreement -IMX_VPUWRAP_LICENSE_FILES = EULA COPYING -IMX_VPUWRAP_REDISTRIBUTE = NO - -define IMX_VPUWRAP_EXTRACT_CMDS - $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPUWRAP_DL_DIR)/$(IMX_VPUWRAP_SOURCE)) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash b/buildroot-2021.05/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash deleted file mode 100644 index ab021b68..00000000 --- a/buildroot-2021.05/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 fbf400adbeaa52af0be234a5dcd96059615db4535cda2bd101d65d468e49e288 kernel-module-imx-gpu-viv-3588f2f6e64082153baae116dd393aa15061473d.tar.gz -sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING diff --git a/buildroot-2021.05/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk b/buildroot-2021.05/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk deleted file mode 100644 index 3afcc9d2..00000000 --- a/buildroot-2021.05/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# kernel-module-imx-gpu-viv -# -################################################################################ - -KERNEL_MODULE_IMX_GPU_VIV_VERSION = 3588f2f6e64082153baae116dd393aa15061473d -KERNEL_MODULE_IMX_GPU_VIV_SITE = \ - $(call github,Freescale,kernel-module-imx-gpu-viv,$(KERNEL_MODULE_IMX_GPU_VIV_VERSION)) -KERNEL_MODULE_IMX_GPU_VIV_LICENSE = GPL-2.0 -KERNEL_MODULE_IMX_GPU_VIV_LICENSE_FILES = COPYING - -KERNEL_MODULE_IMX_GPU_VIV_MODULE_MAKE_OPTS = \ - AQROOT=$(@D)/kernel-module-imx-gpu-viv-src \ - KERNEL_DIR=$(LINUX_DIR) - -KERNEL_MODULE_IMX_GPU_VIV_MODULE_SUBDIRS = kernel-module-imx-gpu-viv-src - -define KERNEL_MODULE_IMX_GPU_VIV_LINUX_CONFIG_FIXUPS - $(call KCONFIG_DISABLE_OPT,CONFIG_MXC_GPU_VIV) -endef - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freeswitch/0001-src-mod-applications-mod_cv-mod_cv.cpp-fix-build-wit.patch b/buildroot-2021.05/package/freeswitch/0001-src-mod-applications-mod_cv-mod_cv.cpp-fix-build-wit.patch deleted file mode 100644 index cd0a3ab4..00000000 --- a/buildroot-2021.05/package/freeswitch/0001-src-mod-applications-mod_cv-mod_cv.cpp-fix-build-wit.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 575409a14e62f73e83309daf8ff6642a235f250c Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 16 Oct 2020 23:06:36 +0200 -Subject: [PATCH] src/mod/applications/mod_cv/mod_cv.cpp: fix build with opencv - 3.4.9 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Use cvScalar instead of CV_RGB to avoid the following build failure with -opencv 3.4.9: - -mod_cv.cpp:693:24: error: conversion from ‘cv::Scalar {aka cv::Scalar_}’ to non-scalar type ‘CvScalar’ requested - CvScalar col = CV_RGB((float)255 * object_neighbors / max_neighbors, 0, 0); - ^ - -Indeed, CV_RGB is defined as cv::Scalar instead of cvScalar since -version 3.4.2 and -https://github.com/opencv/opencv/commit/7f9253ea0a9fe2635926379420002dbf0c3fce0f - -It should be noted that CV_RGB(r,g,b) = cvScalar(b,g,r,0) - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/signalwire/freeswitch/pull/914] ---- - src/mod/applications/mod_cv/mod_cv.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/mod/applications/mod_cv/mod_cv.cpp b/src/mod/applications/mod_cv/mod_cv.cpp -index 582f925abf..bbec755e91 100644 ---- a/src/mod/applications/mod_cv/mod_cv.cpp -+++ b/src/mod/applications/mod_cv/mod_cv.cpp -@@ -690,7 +690,7 @@ void detectAndDraw(cv_context_t *context) - //printf("WTF %d\n", object_neighbors); - //cout << "Detected " << object_neighbors << " object neighbors" << endl; - const int rect_height = cvRound((float)img.rows * object_neighbors / max_neighbors); -- CvScalar col = CV_RGB((float)255 * object_neighbors / max_neighbors, 0, 0); -+ CvScalar col = cvScalar(0, 0, (float)255 * object_neighbors / max_neighbors, 0); - rectangle(img, cvPoint(0, img.rows), cvPoint(img.cols/10, img.rows - rect_height), col, -1); - - parse_stats(&context->nestDetected, nestedObjects.size(), context->skip); --- -2.28.0 - diff --git a/buildroot-2021.05/package/freeswitch/freeswitch.hash b/buildroot-2021.05/package/freeswitch/freeswitch.hash deleted file mode 100644 index dc5a6798..00000000 --- a/buildroot-2021.05/package/freeswitch/freeswitch.hash +++ /dev/null @@ -1,12 +0,0 @@ -# From https://files.freeswitch.org/freeswitch-releases/freeswitch-1.10.6.-release.tar.xz.sha256 -sha256 9a08d4e184e6d715e1c12c43a0f901597151752ef236f0a37e40996272b5c38d freeswitch-1.10.6.-release.tar.xz -# Locally computed -sha256 75c933202f40939cdc3827fce20a1efdaa38291e2b5a65d234eb16e2cffda66a COPYING -sha256 c3e3388768dae8bf4edcc4108f95be815b8a05c0b0aef6e4c3d8df81affdfa34 docs/OPENH264_BINARY_LICENSE.txt -sha256 e8e26b16da14aa3e6ed5c22c705fdc1f45d6225fca461ea9f7314bcdfdc414c4 libs/apr/LICENSE -sha256 1eefb2ea1db0af7729a9d8a27d7c65d8a37ab185393f935b029aac6828ce315a libs/apr-util/LICENSE -sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 libs/libvpx/LICENSE -sha256 2b2cc1180c7e6988328ad2033b04b80117419db9c4c584918bbb3cfec7e9364f libs/libyuv/LICENSE -sha256 7d72a8aee2c4b1a084200487992a5d86f5df6b535727a14c1874918e99d24600 libs/libzrtp/src/zrtp_legal.c -sha256 8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae libs/srtp/LICENSE -sha256 ab00a482b6a3902e40211b43c5d0441962ea99b6cc7c25c0f243fa270b78d482 src/mod/codecs/mod_isac/LICENSE diff --git a/buildroot-2021.05/package/freeswitch/freeswitch.mk b/buildroot-2021.05/package/freeswitch/freeswitch.mk deleted file mode 100644 index 63f6324a..00000000 --- a/buildroot-2021.05/package/freeswitch/freeswitch.mk +++ /dev/null @@ -1,346 +0,0 @@ -################################################################################ -# -# freeswitch -# -################################################################################ - -FREESWITCH_VERSION = 1.10.6 -FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).-release.tar.xz -FREESWITCH_SITE = https://files.freeswitch.org/freeswitch-releases -# External modules need headers/libs from staging -FREESWITCH_INSTALL_STAGING = YES -FREESWITCH_LICENSE = MPL-1.1, \ - GPL-3.0+ with font exception (fonts), \ - Apache-2.0 (apr, apr-util), \ - BSD-3-Clause (libsrtp) - -FREESWITCH_LICENSE_FILES = \ - COPYING \ - libs/apr/LICENSE \ - libs/apr-util/LICENSE \ - libs/srtp/LICENSE - -# required dependencies -FREESWITCH_DEPENDENCIES = \ - host-pkgconf \ - jpeg \ - libcurl \ - openssl \ - pcre \ - spandsp \ - sofia-sip \ - speex \ - sqlite \ - tiff \ - util-linux \ - zlib - -# disable display of ClueCon banner in fs_cli -FREESWITCH_CONF_ENV += \ - disable_cc=yes - -# we neither need host-perl nor host-php -FREESWITCH_CONF_ENV += \ - ac_cv_prog_PERL=false \ - ac_cv_have_perl=no \ - ac_cv_prog_PHP=false \ - ac_cv_have_php=no \ - ac_cv_prog_PHP_CONFIG=false \ - ac_cv_have_php_config=no - -# copied from freeswitch/configure.ac, line 258+ -FREESWITCH_CONF_ENV += \ - ac_cv_file__dev_ptmx=yes \ - ac_cv_va_copy=yes \ - ac_cv_file__dev_urandom=yes \ - ac_cv_func_realloc_0_nonnull=yes \ - ac_cv_func_malloc_0_nonnull=yes \ - ac_cv_func_setpgrp_void=yes \ - ac_cv_file__dev_zero=yes \ - apr_cv_tcp_nodelay_with_cork=yes \ - ac_cv_file_dbd_apr_dbd_mysql_c=no \ - ac_cv_sizeof_ssize_t=4 \ - apr_cv_mutex_recursive=yes \ - ac_cv_func_pthread_rwlock_init=yes \ - apr_cv_type_rwlock_t=yes \ - apr_cv_process_shared_works=yes \ - apr_cv_mutex_robust_shared=yes - -# build breaks with -Werror enabled -FREESWITCH_CONF_ENV += \ - ac_cv_gcc_supports_w_no_unused_result=no - -FREESWITCH_CONF_OPTS = \ - --without-erlang \ - --enable-fhs \ - --without-python \ - --disable-system-xmlrpc-c - -# zrtp supports a limited set of archs, sparc support is also broken due -# to a broken ld call by gcc, see libs/libzrtp/include/zrtp_config.h -ifeq ($(BR2_i386)$(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_aarch64_be)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpcle)$(BR2_x86_64),y) -FREESWITCH_LICENSE_FILES += libs/libzrtp/src/zrtp_legal.c -FREESWITCH_CONF_OPTS += --enable-zrtp -else -FREESWITCH_CONF_OPTS += --disable-zrtp -endif - -# Enable optional modules -FREESWITCH_ENABLED_MODULES += \ - applications/mod_avmd \ - applications/mod_blacklist \ - applications/mod_callcenter \ - applications/mod_commands \ - applications/mod_conference \ - applications/mod_curl \ - applications/mod_db \ - applications/mod_directory \ - applications/mod_dptools \ - applications/mod_easyroute \ - applications/mod_esf \ - applications/mod_esl \ - applications/mod_expr \ - applications/mod_fifo \ - applications/mod_fsk \ - applications/mod_hash \ - applications/mod_httapi \ - applications/mod_lcr \ - applications/mod_sms \ - applications/mod_snom \ - applications/mod_spandsp \ - applications/mod_spy \ - applications/mod_valet_parking \ - applications/mod_voicemail \ - codecs/mod_g723_1 \ - dialplans/mod_dialplan_asterisk \ - dialplans/mod_dialplan_xml \ - endpoints/mod_loopback \ - endpoints/mod_rtc \ - endpoints/mod_rtmp \ - endpoints/mod_sofia \ - endpoints/mod_verto \ - event_handlers/mod_cdr_csv \ - event_handlers/mod_cdr_sqlite \ - event_handlers/mod_event_socket \ - formats/mod_local_stream \ - formats/mod_native_file \ - formats/mod_tone_stream \ - loggers/mod_console \ - loggers/mod_logfile \ - loggers/mod_syslog \ - say/mod_say_de \ - say/mod_say_en \ - say/mod_say_es \ - say/mod_say_es_ar \ - say/mod_say_fa \ - say/mod_say_fr \ - say/mod_say_he \ - say/mod_say_hr \ - say/mod_say_hu \ - say/mod_say_it \ - say/mod_say_ja \ - say/mod_say_nl \ - say/mod_say_pl \ - say/mod_say_pt \ - say/mod_say_ru \ - say/mod_say_sv \ - say/mod_say_th \ - say/mod_say_zh \ - timers/mod_timerfd \ - xml_int/mod_xml_cdr \ - xml_int/mod_xml_rpc \ - xml_int/mod_xml_scgi - -define FREESWITCH_ENABLE_MODULES - $(Q)echo $(FREESWITCH_ENABLED_MODULES) \ - | tr ' ' '\n' \ - > $(@D)/modules.conf -endef -FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES - -# mod_isac supports a limited set of archs -# src/mod/codecs/mod_isac/typedefs.h -ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_64),y) -FREESWITCH_LICENSE += , BSD-3-Clause (mod_isac) -FREESWITCH_LICENSE_FILES += src/mod/codecs/mod_isac/LICENSE -FREESWITCH_ENABLED_MODULES += codecs/mod_isac -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -FREESWITCH_DEPENDENCIES += alsa-lib -FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa -endif - -# Use the pass-through g729 module provided by freeswitch instead of -# the external mod_bcg729 provided by freeswitch-mod-bcg729. -ifeq ($(BR2_PACKAGE_FREESWITCH_MOD_BCG729),) -FREESWITCH_ENABLED_MODULES += codecs/mod_g729 -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -FREESWITCH_DEPENDENCIES += freetype -endif - -ifeq ($(BR2_PACKAGE_LIBBROADVOICE),y) -FREESWITCH_DEPENDENCIES += libbroadvoice -FREESWITCH_ENABLED_MODULES += codecs/mod_bv -endif - -ifeq ($(BR2_PACKAGE_LIBCODEC2),y) -FREESWITCH_DEPENDENCIES += libcodec2 -FREESWITCH_ENABLED_MODULES += codecs/mod_codec2 -endif - -ifeq ($(BR2_PACKAGE_LIBEDIT),y) -FREESWITCH_DEPENDENCIES += libedit -FREESWITCH_CONF_OPTS += --enable-core-libedit-support -else -FREESWITCH_CONF_OPTS += --disable-core-libedit-support -endif - -ifeq ($(BR2_PACKAGE_LIBG7221),y) -FREESWITCH_DEPENDENCIES += libg7221 -endif - -ifeq ($(BR2_PACKAGE_LIBILBC),y) -FREESWITCH_DEPENDENCIES += libilbc -FREESWITCH_ENABLED_MODULES += codecs/mod_ilbc -endif - -ifeq ($(BR2_PACKAGE_LIBLDNS),y) -FREESWITCH_DEPENDENCIES += libldns -FREESWITCH_ENABLED_MODULES += applications/mod_enum -endif - -ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y) -FREESWITCH_DEPENDENCIES += libmemcached -FREESWITCH_ENABLED_MODULES += applications/mod_memcache -endif - -ifeq ($(BR2_PACKAGE_LIBOPENH264),y) -FREESWITCH_LICENSE += , BSD-2-Clause (libopenh264) -FREESWITCH_LICENSE_FILES += docs/OPENH264_BINARY_LICENSE.txt -FREESWITCH_DEPENDENCIES += libopenh264 -FREESWITCH_ENABLED_MODULES += codecs/mod_openh264 -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -FREESWITCH_DEPENDENCIES += libpng -FREESWITCH_ENABLED_MODULES += formats/mod_png -endif - -ifeq ($(BR2_PACKAGE_LIBYAML),y) -FREESWITCH_DEPENDENCIES += libyaml -FREESWITCH_ENABLED_MODULES += languages/mod_yaml -endif - -ifeq ($(BR2_PACKAGE_LUA),y) -FREESWITCH_DEPENDENCIES += lua -FREESWITCH_ENABLED_MODULES += languages/mod_lua -endif - -ifeq ($(BR2_PACKAGE_OPENLDAP),y) -FREESWITCH_DEPENDENCIES += openldap -FREESWITCH_ENABLED_MODULES += directories/mod_ldap xml_int/mod_xml_ldap -endif - -ifeq ($(BR2_PACKAGE_OPUS),y) -FREESWITCH_DEPENDENCIES += opus -FREESWITCH_ENABLED_MODULES += codecs/mod_opus -endif - -ifeq ($(BR2_PACKAGE_PORTAUDIO),y) -FREESWITCH_DEPENDENCIES += portaudio -FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio -endif - -ifeq ($(BR2_PACKAGE_LAME)$(BR2_PACKAGE_LIBSHOUT)$(BR2_PACKAGE_MPG123),yyy) -FREESWITCH_DEPENDENCIES += lame libshout mpg123 -FREESWITCH_ENABLED_MODULES += formats/mod_shout -endif - -ifeq ($(BR2_PACKAGE_LIBSILK),y) -FREESWITCH_DEPENDENCIES += libsilk -FREESWITCH_ENABLED_MODULES += codecs/mod_silk -endif - -ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) -FREESWITCH_DEPENDENCIES += libsndfile -FREESWITCH_ENABLED_MODULES += formats/mod_sndfile -endif - -ifeq ($(BR2_PACKAGE_LIBSOUNDTOUCH),y) -FREESWITCH_DEPENDENCIES += libsoundtouch -FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch -endif - -ifeq ($(BR2_PACKAGE_OPENCV3),y) -FREESWITCH_DEPENDENCIES += opencv3 -FREESWITCH_ENABLED_MODULES += applications/mod_cv -endif - -ifeq ($(BR2_PACKAGE_POSTGRESQL),y) -FREESWITCH_CONF_ENV += \ - ac_cv_path_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config -FREESWITCH_DEPENDENCIES += postgresql -FREESWITCH_ENABLED_MODULES += databases/mod_pgsql -endif - -ifeq ($(BR2_PACKAGE_UNIXODBC),y) -FREESWITCH_DEPENDENCIES += unixodbc -FREESWITCH_CONF_OPTS += \ - --enable-core-odbc-support \ - --with-odbc=$(STAGING_DIR)/usr -else -FREESWITCH_CONF_OPTS += --disable-core-odbc-support -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -FREESWITCH_DEPENDENCIES += xz -endif - -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8)$(BR2_PACKAGE_FFMPEG),yy) -FREESWITCH_LICENSE += , BSD-3-Clause (libvpx, libyuv) -FREESWITCH_LICENSE_FILES += libs/libvpx/LICENSE libs/libyuv/LICENSE -FREESWITCH_CONF_OPTS += --enable-libvpx --enable-libyuv -FREESWITCH_DEPENDENCIES += host-yasm ffmpeg -FREESWITCH_ENABLED_MODULES += applications/mod_av applications/mod_fsv -FREESWITCH_MAKE_ENV += CROSS=$(TARGET_CROSS) - -# Freeswitch's buildsystem forgets to pass important environment -# variables and config options when it configures libvpx, so -# pre-build libvpx manually, so Freeswitch does not attempt to run -# its flawed commands... -# Freeswitch only ever uses the static libtrary, that's hard-coded, -# we can't do anything about that... -# From package/libvpx/libvpx.mk: -# - this is not a true autotools package. It is based on the ffmpeg -# build system. -# - ld is being used with cc options. therefore, pretend ld is cc. -define FREESWITCH_BUILD_LIBVPX - cd $(@D)/libs/libvpx && \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - LD="$(TARGET_CC)" \ - CROSS=$(GNU_TARGET_NAME) \ - ./configure \ - --target=generic-gnu \ - --enable-pic \ - --prefix=/usr \ - --disable-shared --enable-static \ - --disable-examples \ - --disable-docs \ - --disable-unit-tests && \ - $(TARGET_MAKE_ENV) \ - $(LIBVPX_MAKE_ENV) \ - $(MAKE) \ - -C $(@D)/libs/libvpx \ - all -endef -FREESWITCH_PRE_BUILD_HOOKS += FREESWITCH_BUILD_LIBVPX - -else -FREESWITCH_CONF_OPTS += --disable-libvpx --disable-libyuv -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/freetype/freetype.hash b/buildroot-2021.05/package/freetype/freetype.hash deleted file mode 100644 index 36571b51..00000000 --- a/buildroot-2021.05/package/freetype/freetype.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://sourceforge.net/projects/freetype/files/freetype2/2.10.4/ -sha1 0181862673f7216ad2b5074f95fc131209e30b27 freetype-2.10.4.tar.xz - -# Locally calculated -sha256 86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784 freetype-2.10.4.tar.xz -sha256 fd056de4196903a676208ef58cfddafc7d583d1f28fa2e44c309cf84a59e62fb docs/LICENSE.TXT -sha256 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1 docs/FTL.TXT -sha256 c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18 docs/GPLv2.TXT diff --git a/buildroot-2021.05/package/freetype/freetype.mk b/buildroot-2021.05/package/freetype/freetype.mk deleted file mode 100644 index 59d6dc0e..00000000 --- a/buildroot-2021.05/package/freetype/freetype.mk +++ /dev/null @@ -1,71 +0,0 @@ -################################################################################ -# -# freetype -# -################################################################################ - -FREETYPE_VERSION = 2.10.4 -FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz -FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype -FREETYPE_INSTALL_STAGING = YES -FREETYPE_MAKE_OPTS = CCexe="$(HOSTCC)" -FREETYPE_LICENSE = Dual FTL/GPL-2.0+ -FREETYPE_LICENSE_FILES = docs/LICENSE.TXT docs/FTL.TXT docs/GPLv2.TXT -FREETYPE_CPE_ID_VENDOR = freetype -FREETYPE_DEPENDENCIES = host-pkgconf -FREETYPE_CONFIG_SCRIPTS = freetype-config - -# harfbuzz already depends on freetype so disable harfbuzz in freetype to avoid -# a circular dependency -FREETYPE_CONF_OPTS = --without-harfbuzz - -HOST_FREETYPE_DEPENDENCIES = host-pkgconf -HOST_FREETYPE_CONF_OPTS = \ - --without-brotli \ - --without-bzip2 \ - --without-harfbuzz \ - --without-png \ - --without-zlib - -# since 2.9.1 needed for freetype-config install -FREETYPE_CONF_OPTS += --enable-freetype-config -HOST_FREETYPE_CONF_OPTS += --enable-freetype-config - -ifeq ($(BR2_PACKAGE_ZLIB),y) -FREETYPE_DEPENDENCIES += zlib -FREETYPE_CONF_OPTS += --with-zlib -else -FREETYPE_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_BROTLI),y) -FREETYPE_DEPENDENCIES += brotli -FREETYPE_CONF_OPTS += --with-brotli -else -FREETYPE_CONF_OPTS += --without-brotli -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -FREETYPE_DEPENDENCIES += bzip2 -FREETYPE_CONF_OPTS += --with-bzip2 -else -FREETYPE_CONF_OPTS += --without-bzip2 -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -FREETYPE_DEPENDENCIES += libpng -FREETYPE_CONF_OPTS += --with-png -else -FREETYPE_CONF_OPTS += --without-png -endif - -# Extra fixing since includedir and libdir are expanded from configure values -define FREETYPE_FIX_CONFIG_FILE - $(SED) 's:^includedir=.*:includedir="$${prefix}/include":' \ - -e 's:^libdir=.*:libdir="$${exec_prefix}/lib":' \ - $(STAGING_DIR)/usr/bin/freetype-config -endef -FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/frr/Config.in b/buildroot-2021.05/package/frr/Config.in deleted file mode 100644 index 91191329..00000000 --- a/buildroot-2021.05/package/frr/Config.in +++ /dev/null @@ -1,25 +0,0 @@ -config BR2_PACKAGE_FRR - bool "frr" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS # libyang - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c - select BR2_PACKAGE_BASH - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_LIBYANG - select BR2_PACKAGE_LIBNL - select BR2_PACKAGE_READLINE - select BR2_PACKAGE_JSON_C - help - The FRRouting Protocol Suite. - - FRR is free software that implements and manages various - IPv4 and IPv6 routing protocols. - - https://frrouting.org - -comment "frr needs a toolchain w/ threads, dynamic library" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/frr/frr.hash b/buildroot-2021.05/package/frr/frr.hash deleted file mode 100644 index 3a044d4c..00000000 --- a/buildroot-2021.05/package/frr/frr.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 030d4e66f577726dfea13bd3a9c669fd41d8fd89b25953a36b5b0966d406ff28 frr-7.5.1.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/frr/frr.mk b/buildroot-2021.05/package/frr/frr.mk deleted file mode 100644 index d1ca6e0b..00000000 --- a/buildroot-2021.05/package/frr/frr.mk +++ /dev/null @@ -1,72 +0,0 @@ -################################################################################ -# -# frr -# -################################################################################ - -FRR_VERSION = 7.5.1 -FRR_SITE = $(call github,FRRouting,frr,frr-$(FRR_VERSION)) -FRR_LICENSE = GPL-2.0 -FRR_LICENSE_FILES = COPYING -FRR_CPE_ID_VENDOR = linuxfoundation -FRR_CPE_ID_PRODUCT = free_range_routing -FRR_AUTORECONF = YES - -FRR_DEPENDENCIES = host-frr readline json-c \ - libyang libnl c-ares - -HOST_FRR_DEPENDENCIES = host-flex host-bison host-python3 - -FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \ - --sysconfdir=/etc/frr \ - --localstatedir=/var/run/frr \ - --with-moduledir=/usr/lib/frr/modules \ - --enable-configfile-mask=0640 \ - --enable-logfile-mask=0640 \ - --enable-multipath=256 \ - --disable-ospfclient \ - --enable-shell-access \ - --enable-user=frr \ - --enable-group=frr \ - --enable-vty-group=frrvty \ - --disable-capabilities \ - --enable-fpm - -HOST_FRR_CONF_OPTS = --enable-clippy-only - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -FRR_CONF_ENV += LIBS=-latomic -endif - -define HOST_FRR_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/lib/clippy $(HOST_DIR)/bin/clippy -endef - -define FRR_INSTALL_CONFIG_FILES - $(foreach f,daemons daemons.conf frr.conf vtysh.conf support_bundle_commands.conf,\ - $(INSTALL) -D -m 0640 $(@D)/tools/etc/frr/$(f) \ - $(TARGET_DIR)/etc/frr/$(f) - ) - $(RM) $(TARGET_DIR)/etc/frr/*.sample -endef -FRR_POST_INSTALL_TARGET_HOOKS += FRR_INSTALL_CONFIG_FILES - -define FRR_PERMISSIONS - /etc/frr/daemons f 640 frr frr - - - - - - /etc/frr/daemons.conf f 640 frr frr - - - - - - /etc/frr/frr.conf f 640 frr frr - - - - - - /etc/frr/vtysh.conf f 640 frr frrvty - - - - - - /etc/frr/support_bundle_commands.conf f 640 frr frr -endef - -define FRR_USERS - frr -1 frr -1 * /var/run/frr - frrvty FRR user priv -endef - -define FRR_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 $(FRR_PKGDIR)/S50frr \ - $(TARGET_DIR)/etc/init.d/S50frr -endef - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/fswebcam/fswebcam.hash b/buildroot-2021.05/package/fswebcam/fswebcam.hash deleted file mode 100644 index bac16267..00000000 --- a/buildroot-2021.05/package/fswebcam/fswebcam.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 5702771cee6e3fa0f2bbbb72ecf3e5a253ff458c1f648f7e7c0d477e39f0ec80 fswebcam-e9f8094b6a3d1a49f99b2abec4e6ab4df33e2e33.tar.gz -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE diff --git a/buildroot-2021.05/package/fswebcam/fswebcam.mk b/buildroot-2021.05/package/fswebcam/fswebcam.mk deleted file mode 100644 index 3a5b8c9e..00000000 --- a/buildroot-2021.05/package/fswebcam/fswebcam.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# fswebcam -# -################################################################################ - -FSWEBCAM_VERSION = e9f8094b6a3d1a49f99b2abec4e6ab4df33e2e33 -FSWEBCAM_SITE = $(call github,fsphil,fswebcam,$(FSWEBCAM_VERSION)) -FSWEBCAM_LICENSE = GPL-2.0 -FSWEBCAM_LICENSE_FILES = LICENSE - -FSWEBCAM_DEPENDENCIES += freetype jpeg libpng gd - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fuse-overlayfs/fuse-overlayfs.hash b/buildroot-2021.05/package/fuse-overlayfs/fuse-overlayfs.hash deleted file mode 100644 index 9770ee0d..00000000 --- a/buildroot-2021.05/package/fuse-overlayfs/fuse-overlayfs.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 7e5666aef4f2047e6a5202d6438b08c2d314dba5b40e431014e7dbb8168d9018 fuse-overlayfs-1.4.0.tar.gz -# Locally computed -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/fuse-overlayfs/fuse-overlayfs.mk b/buildroot-2021.05/package/fuse-overlayfs/fuse-overlayfs.mk deleted file mode 100644 index 707cacce..00000000 --- a/buildroot-2021.05/package/fuse-overlayfs/fuse-overlayfs.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# fuse-overlayfs -# -################################################################################ - -FUSE_OVERLAYFS_VERSION = 1.4.0 -FUSE_OVERLAYFS_SITE = $(call github,containers,fuse-overlayfs,v$(FUSE_OVERLAYFS_VERSION)) -FUSE_OVERLAYFS_LICENSE = GPL-3.0 -FUSE_OVERLAYFS_LICENSE_FILES = COPYING - -FUSE_OVERLAYFS_AUTORECONF = YES -FUSE_OVERLAYFS_DEPENDENCIES = libfuse3 host-pkgconf - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fwts/0001-build-do-not-use-Werror.patch b/buildroot-2021.05/package/fwts/0001-build-do-not-use-Werror.patch deleted file mode 100644 index 07f64b35..00000000 --- a/buildroot-2021.05/package/fwts/0001-build-do-not-use-Werror.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 4c202c0fd7e5bd3264c720d715f05573047d9cf5 Mon Sep 17 00:00:00 2001 -From: Erico Nunes -Date: Fri, 12 Aug 2016 23:11:56 +0200 -Subject: [PATCH] fwts: do not use -Werror - -Warnings come and go with various compiler versions, so using -Werror is -prone to cause build failures with various compiler versions, especially -newer versions that introduce new warnings. - -Remove use of -Werror. - -Signed-off-by: Erico Nunes -[Fabrice: updated for 20.08.00] -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 2 +- - src/Makefile.am | 2 +- - src/lib/src/Makefile.am | 2 +- - src/utilities/Makefile.am | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 0109d644..3ca599e1 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,5 @@ - AC_INIT([fwts],[0.1],[fwts-devel@lists.ubuntu.com]) -- AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) -+ AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) - m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) - AC_CANONICAL_HOST - AC_CONFIG_MACRO_DIR([m4]) -diff --git a/src/Makefile.am b/src/Makefile.am -index 52c637dd..d9d73f1c 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -14,7 +14,7 @@ AM_CPPFLAGS = \ - `pkg-config --silence-errors --cflags json` \ - `pkg-config --silence-errors --cflags json-c` \ - -pthread `pkg-config --cflags glib-2.0 gio-2.0` \ -- -Wall -Werror -Wextra \ -+ -Wall -Wextra \ - -Wno-address-of-packed-member \ - -Wfloat-equal -Wmissing-declarations \ - -Wno-long-long -Wredundant-decls -Wshadow \ -diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am -index 54de7f44..e129ed16 100644 ---- a/src/lib/src/Makefile.am -+++ b/src/lib/src/Makefile.am -@@ -24,7 +24,7 @@ AM_CPPFLAGS = \ - `pkg-config --silence-errors --cflags json-c` \ - `pkg-config --cflags glib-2.0 gio-2.0` \ - -DDATAROOTDIR=\"$(datarootdir)\" \ -- -Wall -Werror -Wextra \ -+ -Wall -Wextra \ - -Wno-address-of-packed-member - - pkglib_LTLIBRARIES = libfwts.la -diff --git a/src/utilities/Makefile.am b/src/utilities/Makefile.am -index aa37de55..4d5297cc 100644 ---- a/src/utilities/Makefile.am -+++ b/src/utilities/Makefile.am -@@ -16,7 +16,7 @@ - # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - # - --AM_CPPFLAGS = -Wall -Werror -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \ -+AM_CPPFLAGS = -Wall -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \ - `pkg-config --silence-errors --cflags json` \ - `pkg-config --silence-errors --cflags json-c` - --- -2.17.1 - diff --git a/buildroot-2021.05/package/fwts/fwts.hash b/buildroot-2021.05/package/fwts/fwts.hash deleted file mode 100644 index 916035bd..00000000 --- a/buildroot-2021.05/package/fwts/fwts.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: http://fwts.ubuntu.com/release/SHA256SUMS -sha256 02160657383a918a48c946a0ffb72c047d19a46f1455c29c0fff4d9ef7e48680 fwts-V21.02.00.tar.gz - -# Hash for license file -sha256 2003f5c8a1e40d7882f1499bd7adb7bc748c9656851abb28647a3d297c2e8e23 debian/copyright diff --git a/buildroot-2021.05/package/fwts/fwts.mk b/buildroot-2021.05/package/fwts/fwts.mk deleted file mode 100644 index eaff7b78..00000000 --- a/buildroot-2021.05/package/fwts/fwts.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# fwts -# -################################################################################ - -FWTS_VERSION = 21.02.00 -FWTS_SOURCE = fwts-V$(FWTS_VERSION).tar.gz -FWTS_SITE = http://fwts.ubuntu.com/release -FWTS_STRIP_COMPONENTS = 0 -FWTS_LICENSE = GPL-2.0, LGPL-2.1, Custom -FWTS_LICENSE_FILES = debian/copyright -FWTS_AUTORECONF = YES -FWTS_DEPENDENCIES = host-bison host-flex host-pkgconf libglib2 libbsd \ - $(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \ - $(if $(BR2_PACKAGE_DTC),dtc) - -ifdef BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE -FWTS_MODULE_SUBDIRS = efi_runtime -$(eval $(kernel-module)) -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fwup/fwup.hash b/buildroot-2021.05/package/fwup/fwup.hash deleted file mode 100644 index 87263192..00000000 --- a/buildroot-2021.05/package/fwup/fwup.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 9890f0328796f4315e6c1188df5c103855c530fbc14fbc8c12f4b24066c975f1 fwup-1.8.0.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2021.05/package/fwup/fwup.mk b/buildroot-2021.05/package/fwup/fwup.mk deleted file mode 100644 index 77eaa528..00000000 --- a/buildroot-2021.05/package/fwup/fwup.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# fwup -# -################################################################################ - -FWUP_VERSION = 1.8.0 -FWUP_SITE = $(call github,fhunleth,fwup,v$(FWUP_VERSION)) -FWUP_LICENSE = Apache-2.0 -FWUP_LICENSE_FILES = LICENSE -FWUP_DEPENDENCIES = host-pkgconf libconfuse libarchive -HOST_FWUP_DEPENDENCIES = host-pkgconf host-libconfuse host-libarchive -FWUP_AUTORECONF = YES -FWUP_CONF_ENV = ac_cv_path_HELP2MAN="" - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gauche/gauche.mk b/buildroot-2021.05/package/gauche/gauche.mk deleted file mode 100644 index 25203793..00000000 --- a/buildroot-2021.05/package/gauche/gauche.mk +++ /dev/null @@ -1,45 +0,0 @@ -################################################################################ -# -# gauche -# -################################################################################ - -GAUCHE_VERSION = 0.9.9 -GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz -GAUCHE_SITE = http://downloads.sourceforge.net/project/gauche/Gauche -GAUCHE_LICENSE = BSD-3-Clause, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm) -GAUCHE_LICENSE_FILES = COPYING -GAUCHE_DEPENDENCIES = host-gauche -# We're patching configure.ac -GAUCHE_AUTORECONF = YES - -HOST_GAUCHE_CONF_OPTS = --without-zlib -GAUCHE_CONF_OPTS = --without-libatomic-ops - -# Enable embedded axTLS -GAUCHE_TLS_LIBS = axtls - -ifeq ($(BR2_PACKAGE_MBEDTLS),y) -GAUCHE_TLS_LIBS += mbedtls -GAUCHE_DEPENDENCIES += mbedtls -endif - -GAUCHE_CONF_OPTS += --with-tls="$(GAUCHE_TLS_LIBS)" - -ifeq ($(BR2_PACKAGE_ZLIB),y) -GAUCHE_CONF_OPTS += --with-zlib=$(STAGING_DIR) -GAUCHE_DEPENDENCIES += zlib -else -GAUCHE_CONF_OPTS += --without-zlib -endif - -# Detection of c99 support in configure fails without WCHAR. To enable -# automatic detection of c99 support by configure, we need to enable -# WCHAR in toolchain. But actually we do not need WCHAR at gauche -# runtime. So reuesting WCHAR in toolchain just for automatic detection -# will be overkill. To solve this, explicitly -std=gnu99 is specified -# here. -GAUCHE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gawk/gawk.hash b/buildroot-2021.05/package/gawk/gawk.hash deleted file mode 100644 index 91e50660..00000000 --- a/buildroot-2021.05/package/gawk/gawk.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/gawk/gawk-5.1.0.tar.xz.sig -# Primary key fingerprint: D196 7C63 7887 1317 7D86 1ED7 DF59 7815 937E C0D2 -sha256 cf5fea4ac5665fd5171af4716baab2effc76306a9572988d5ba1078f196382bd gawk-5.1.0.tar.xz -# Locally calculated -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/gawk/gawk.mk b/buildroot-2021.05/package/gawk/gawk.mk deleted file mode 100644 index 16906f6f..00000000 --- a/buildroot-2021.05/package/gawk/gawk.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# gawk -# -################################################################################ - -GAWK_VERSION = 5.1.0 -GAWK_SOURCE = gawk-$(GAWK_VERSION).tar.xz -GAWK_SITE = $(BR2_GNU_MIRROR)/gawk -GAWK_DEPENDENCIES = host-gawk -GAWK_LICENSE = GPL-3.0+ -GAWK_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_LIBSIGSEGV),y) -GAWK_DEPENDENCIES += libsigsegv -endif - -# --with-mpfr requires an argument so just let -# configure find it automatically -ifeq ($(BR2_PACKAGE_MPFR),y) -GAWK_DEPENDENCIES += mpfr -else -GAWK_CONF_OPTS += --without-mpfr -endif - -# --with-readline requires an argument so just let -# configure find it automatically -ifeq ($(BR2_PACKAGE_READLINE),y) -GAWK_DEPENDENCIES += readline -else -GAWK_CONF_OPTS += --without-readline -endif - -HOST_GAWK_CONF_OPTS = --without-readline --without-mpfr - -define GAWK_CREATE_SYMLINK - ln -sf gawk $(TARGET_DIR)/usr/bin/awk -endef - -GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gcc/9.3.0/0001-xtensa-fix-PR-target-91880.patch b/buildroot-2021.05/package/gcc/9.3.0/0001-xtensa-fix-PR-target-91880.patch deleted file mode 100644 index 4e5aea2c..00000000 --- a/buildroot-2021.05/package/gcc/9.3.0/0001-xtensa-fix-PR-target-91880.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 0a59aa440a4c125b81504c777b066ae4eb1f09f0 Mon Sep 17 00:00:00 2001 -From: Max Filippov -Date: Tue, 24 Sep 2019 04:15:17 -0700 -Subject: [PATCH] xtensa: fix PR target/91880 - -Xtensa hwloop_optimize segfaults when zero overhead loop is about to be -inserted as the first instruction of the function. -Insert zero overhead loop instruction into new basic block before the -loop when basic block that precedes the loop is empty. - -2019-09-26 Max Filippov -gcc/ - * config/xtensa/xtensa.c (hwloop_optimize): Insert zero overhead - loop instruction into new basic block before the loop when basic - block that precedes the loop is empty. - -Signed-off-by: Max Filippov -Signed-off-by: Romain Naour ---- -Backported from: r276166 - - gcc/config/xtensa/xtensa.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c -index ee5612441e2..2527468d57d 100644 ---- a/gcc/config/xtensa/xtensa.c -+++ b/gcc/config/xtensa/xtensa.c -@@ -4235,7 +4235,9 @@ hwloop_optimize (hwloop_info loop) - - seq = get_insns (); - -- if (!single_succ_p (entry_bb) || vec_safe_length (loop->incoming) > 1) -+ entry_after = BB_END (entry_bb); -+ if (!single_succ_p (entry_bb) || vec_safe_length (loop->incoming) > 1 -+ || !entry_after) - { - basic_block new_bb; - edge e; -@@ -4256,7 +4258,6 @@ hwloop_optimize (hwloop_info loop) - } - else - { -- entry_after = BB_END (entry_bb); - while (DEBUG_INSN_P (entry_after) - || (NOTE_P (entry_after) - && NOTE_KIND (entry_after) != NOTE_INSN_BASIC_BLOCK)) --- -2.24.1 - diff --git a/buildroot-2021.05/package/gcc/9.3.0/0002-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch b/buildroot-2021.05/package/gcc/9.3.0/0002-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch deleted file mode 100644 index e40b96fe..00000000 --- a/buildroot-2021.05/package/gcc/9.3.0/0002-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch +++ /dev/null @@ -1,105 +0,0 @@ -From 1383012ae409ed91903b2b76ee15137bc1f89900 Mon Sep 17 00:00:00 2001 -From: shorne -Date: Sat, 31 Aug 2019 06:00:56 +0000 -Subject: [PATCH] or1k: Fix issue with set_got clobbering LR (r9) - -When compiling glibc we found that the GOT register was being allocated -r9 when the instruction was still set_got_tmp. That is a problem -because r9 is the Link Register (LR) in OpenRISC which is used/clobbered -in set_got. We cannot use r9 as the GOT register. Also, we cannot -simply say set_got_tmp clobbers r9 as this is the reason for having the -temporary set_got_tmp. - -Fix by using a register class constraint that does not allow r9 during -register allocation. - -gcc/ChangeLog: - - * config/or1k/constraints.md (t): New constraint. - * config/or1k/or1k.h (GOT_REGS): New register class. - * config/or1k/or1k.md (set_got_tmp, set_got): Use t contraint. - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@275242 138bc75d-0d04-0410-961f-82ee72b054a4 -(cherry picked from commit 5b9471ffca25d39635680516ba2ff85295480fc3) -Signed-off-by: Romain Naour ---- - gcc/config/or1k/constraints.md | 4 ++++ - gcc/config/or1k/or1k.h | 3 +++ - gcc/config/or1k/or1k.md | 4 ++-- - 3 files changed, 9 insertions(+), 2 deletions(-) - -diff --git a/gcc/config/or1k/constraints.md b/gcc/config/or1k/constraints.md -index 93da8c058c6..a16b749008f 100644 ---- a/gcc/config/or1k/constraints.md -+++ b/gcc/config/or1k/constraints.md -@@ -24,6 +24,7 @@ - - ; We use: - ; c - sibcall registers -+; t - got address registers (excludes LR (r9) which is clobbered by set_got) - ; I - constant signed 16-bit - ; K - constant unsigned 16-bit - ; M - constant signed 16-bit shifted left 16-bits (l.movhi) -@@ -32,6 +33,9 @@ - (define_register_constraint "c" "SIBCALL_REGS" - "Registers which can hold a sibling call address") - -+(define_register_constraint "t" "GOT_REGS" -+ "Registers which can be used to store the Global Offset Table (GOT) address.") -+ - ;; Immediates - (define_constraint "I" - "A signed 16-bit immediate in the range -32768 to 32767." -diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h -index 6dda230f217..feee702d89c 100644 ---- a/gcc/config/or1k/or1k.h -+++ b/gcc/config/or1k/or1k.h -@@ -189,6 +189,7 @@ enum reg_class - { - NO_REGS, - SIBCALL_REGS, -+ GOT_REGS, - GENERAL_REGS, - FLAG_REGS, - ALL_REGS, -@@ -200,6 +201,7 @@ enum reg_class - #define REG_CLASS_NAMES { \ - "NO_REGS", \ - "SIBCALL_REGS", \ -+ "GOT_REGS", \ - "GENERAL_REGS", \ - "FLAG_REGS", \ - "ALL_REGS" } -@@ -212,6 +214,7 @@ enum reg_class - #define REG_CLASS_CONTENTS \ - { { 0x00000000, 0x00000000 }, \ - { SIBCALL_REGS_MASK, 0 }, \ -+ { 0xfffffdff, 0x00000000 }, \ - { 0xffffffff, 0x00000003 }, \ - { 0x00000000, 0x00000004 }, \ - { 0xffffffff, 0x00000007 } \ -diff --git a/gcc/config/or1k/or1k.md b/gcc/config/or1k/or1k.md -index 2dad51cd46b..88f3f02630f 100644 ---- a/gcc/config/or1k/or1k.md -+++ b/gcc/config/or1k/or1k.md -@@ -595,7 +595,7 @@ - ;; set_got pattern below. This works because the set_got_tmp insn is the - ;; first insn in the stream and that it isn't moved during RA. - (define_insn "set_got_tmp" -- [(set (match_operand:SI 0 "register_operand" "=r") -+ [(set (match_operand:SI 0 "register_operand" "=t") - (unspec_volatile:SI [(const_int 0)] UNSPECV_SET_GOT))] - "" - { -@@ -604,7 +604,7 @@ - - ;; The insn to initialize the GOT. - (define_insn "set_got" -- [(set (match_operand:SI 0 "register_operand" "=r") -+ [(set (match_operand:SI 0 "register_operand" "=t") - (unspec:SI [(const_int 0)] UNSPEC_SET_GOT)) - (clobber (reg:SI LR_REGNUM))] - "" --- -2.24.1 - diff --git a/buildroot-2021.05/package/gcc/9.3.0/0003-gcc-define-_REENTRANT-for-RISC-V-when-pthread-is-pas.patch b/buildroot-2021.05/package/gcc/9.3.0/0003-gcc-define-_REENTRANT-for-RISC-V-when-pthread-is-pas.patch deleted file mode 100644 index 3ff64b71..00000000 --- a/buildroot-2021.05/package/gcc/9.3.0/0003-gcc-define-_REENTRANT-for-RISC-V-when-pthread-is-pas.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 2aefc4ee703ce3ff70ad25915005cacfbaae0c49 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Fri, 27 Mar 2020 21:23:53 +0100 -Subject: [PATCH] gcc: define _REENTRANT for OpenRISC when -pthread is passed - -The detection of pthread support fails on OpenRISC unless _REENTRANT -is defined. Added the CPP_SPEC definition to correct this. - -Patch sent upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372 - -Signed-off-by: Bernd Kuhls ---- - gcc/config/or1k/linux.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/gcc/config/or1k/linux.h b/gcc/config/or1k/linux.h -index 4b2f7b6e1fd..b00d23ddfa0 100644 ---- a/gcc/config/or1k/linux.h -+++ b/gcc/config/or1k/linux.h -@@ -32,6 +32,8 @@ - #undef MUSL_DYNAMIC_LINKER - #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-or1k.so.1" - -+#define CPP_SPEC "%{pthread:-D_REENTRANT}" -+ - #undef LINK_SPEC - #define LINK_SPEC "%{h*} \ - %{static:-Bstatic} \ --- -2.21.0 - diff --git a/buildroot-2021.05/package/gcc/9.3.0/0004-gcc-Makefile.in-move-SELFTEST_DEPS-before-including-.patch b/buildroot-2021.05/package/gcc/9.3.0/0004-gcc-Makefile.in-move-SELFTEST_DEPS-before-including-.patch deleted file mode 100644 index 227d35a7..00000000 --- a/buildroot-2021.05/package/gcc/9.3.0/0004-gcc-Makefile.in-move-SELFTEST_DEPS-before-including-.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 811c8d628045c3d248144fc560a4bf80209ca16e Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Thu, 21 May 2020 15:58:02 +0200 -Subject: [PATCH] gcc/Makefile.in: move SELFTEST_DEPS before including language - makefile fragments - -As reported by several Buildroot users [1][2][3], the gcc build -may fail while running selftests makefile target. - -The problem only occurs when ccache is used with gcc 9 and 10, -probably due to a race condition. - -While debuging with "make -p" we can notice that s-selftest-c target -contain only "cc1" as dependency instead of cc1 and SELFTEST_DEPS [4]. - - s-selftest-c: cc1 - -While the build is failing, the s-selftest-c dependencies recipe is -still running and reported as a bug by make. - - "Dependencies recipe running (THIS IS A BUG)." - -A change [5] in gcc 9 seems to introduce the problem since we can't -reproduce this problem with gcc 8. - -As suggested by Yann E. MORIN [6], move SELFTEST_DEPS before -including language makefile fragments. - -With the fix applied, the s-seltest-c dependency contains -SELFTEST_DEPS value. - - s-selftest-c: cc1 xgcc specs stmp-int-hdrs ../../gcc/testsuite/selftests - -[1] http://lists.busybox.net/pipermail/buildroot/2020-May/282171.html -[2] http://lists.busybox.net/pipermail/buildroot/2020-May/282766.html -[3] https://github.com/cirosantilli/linux-kernel-module-cheat/issues/108 -[4] https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/c/Make-lang.in;h=bfae6fd2549c4f728816cd355fa9739dcc08fcde;hb=033eb5671769a4c681a44aad08a454e667e08502#l120 -[5] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=033eb5671769a4c681a44aad08a454e667e08502 -[6] http://lists.busybox.net/pipermail/buildroot/2020-May/283213.html - -Upstream status: https://gcc.gnu.org/pipermail/gcc-patches/2020-May/546248.html - -Signed-off-by: Romain Naour -Cc: Ben Dakin-Norris -Cc: Maxim Kochetkov -Cc: Thomas Petazzoni -Cc: Yann E. MORIN -Cc: Cc: David Malcolm ---- -This patch should be backported to gcc 10 and gcc 9. ---- - gcc/Makefile.in | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/gcc/Makefile.in b/gcc/Makefile.in -index abae872cd63..e2ef3c46afc 100644 ---- a/gcc/Makefile.in -+++ b/gcc/Makefile.in -@@ -1686,6 +1686,10 @@ $(FULL_DRIVER_NAME): ./xgcc - rm -f $@ - $(LN_S) $< $@ - -+# SELFTEST_DEPS need to be set before including language makefile fragments. -+# Otherwise $(SELFTEST_DEPS) is empty when used from various /Make-lang.in. -+SELFTEST_DEPS = $(GCC_PASSES) stmp-int-hdrs $(srcdir)/testsuite/selftests -+ - # - # Language makefile fragments. - -@@ -1950,8 +1954,6 @@ DEVNULL=$(if $(findstring mingw,$(build)),nul,/dev/null) - SELFTEST_FLAGS = -nostdinc $(DEVNULL) -S -o $(DEVNULL) \ - -fself-test=$(srcdir)/testsuite/selftests - --SELFTEST_DEPS = $(GCC_PASSES) stmp-int-hdrs $(srcdir)/testsuite/selftests -- - # Run the selftests during the build once we have a driver and the frontend, - # so that self-test failures are caught as early as possible. - # Use "s-selftest-FE" to ensure that we only run the selftests if the --- -2.25.4 - diff --git a/buildroot-2021.05/package/gcc/9.3.0/0005-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch b/buildroot-2021.05/package/gcc/9.3.0/0005-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch deleted file mode 100644 index 8ed281e9..00000000 --- a/buildroot-2021.05/package/gcc/9.3.0/0005-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch +++ /dev/null @@ -1,325 +0,0 @@ -From 0d7fe4806d9dce76367c193d5199df6a2b98009f Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Wed, 20 Jan 2021 23:22:16 +0100 -Subject: [PATCH] Revert "re PR target/92095 (internal error with -O1 - -mcpu=niagara2 -fPIE)" - -This reverts commit 6bf2990842388101897b6f465524cbc295ee8cf9. - -Building the Buildroot defconfig qemu_sparc_ss10_defconfig using -gcc 8.4, 9.3 and 10 produce a broken rootfs that trigger illegal -instruction messages. - -gcc 8.3, 9.2 are the latest working gcc version. -git bisect between gcc 8.4 and 8.4 allowed to identify -the commit that introcuce the regression. - -Reverting this patch allowed to produce a working rootfs. - -Signed-off-by: Romain Naour -Cc: Eric Botcazou ---- - gcc/config/sparc/sparc-protos.h | 1 - - gcc/config/sparc/sparc.c | 121 +++++++----------- - gcc/config/sparc/sparc.md | 5 +- - .../gcc.c-torture/compile/20191108-1.c | 14 -- - gcc/testsuite/gcc.target/sparc/overflow-3.c | 2 +- - gcc/testsuite/gcc.target/sparc/overflow-4.c | 2 +- - gcc/testsuite/gcc.target/sparc/overflow-5.c | 2 +- - 7 files changed, 53 insertions(+), 94 deletions(-) - delete mode 100644 gcc/testsuite/gcc.c-torture/compile/20191108-1.c - -diff --git a/gcc/config/sparc/sparc-protos.h b/gcc/config/sparc/sparc-protos.h -index ef1adb69ede..9bdae7b9faa 100644 ---- a/gcc/config/sparc/sparc-protos.h -+++ b/gcc/config/sparc/sparc-protos.h -@@ -69,7 +69,6 @@ extern void sparc_split_reg_mem (rtx, rtx, machine_mode); - extern void sparc_split_mem_reg (rtx, rtx, machine_mode); - extern int sparc_split_reg_reg_legitimate (rtx, rtx); - extern void sparc_split_reg_reg (rtx, rtx, machine_mode); --extern const char *output_load_pcrel_sym (rtx *); - extern const char *output_ubranch (rtx, rtx_insn *); - extern const char *output_cbranch (rtx, rtx, int, int, int, rtx_insn *); - extern const char *output_return (rtx_insn *); -diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c -index a993aab7639..2974d174e93 100644 ---- a/gcc/config/sparc/sparc.c -+++ b/gcc/config/sparc/sparc.c -@@ -4205,6 +4205,13 @@ eligible_for_sibcall_delay (rtx_insn *trial) - static bool - sparc_cannot_force_const_mem (machine_mode mode, rtx x) - { -+ /* After IRA has run in PIC mode, it is too late to put anything into the -+ constant pool if the PIC register hasn't already been initialized. */ -+ if ((lra_in_progress || reload_in_progress) -+ && flag_pic -+ && !crtl->uses_pic_offset_table) -+ return true; -+ - switch (GET_CODE (x)) - { - case CONST_INT: -@@ -4240,11 +4247,9 @@ sparc_cannot_force_const_mem (machine_mode mode, rtx x) - } - - /* Global Offset Table support. */ --static GTY(()) rtx got_symbol_rtx = NULL_RTX; --static GTY(()) rtx got_register_rtx = NULL_RTX; - static GTY(()) rtx got_helper_rtx = NULL_RTX; -- --static GTY(()) bool got_helper_needed = false; -+static GTY(()) rtx got_register_rtx = NULL_RTX; -+static GTY(()) rtx got_symbol_rtx = NULL_RTX; - - /* Return the SYMBOL_REF for the Global Offset Table. */ - -@@ -4257,6 +4262,27 @@ sparc_got (void) - return got_symbol_rtx; - } - -+#ifdef HAVE_GAS_HIDDEN -+# define USE_HIDDEN_LINKONCE 1 -+#else -+# define USE_HIDDEN_LINKONCE 0 -+#endif -+ -+static void -+get_pc_thunk_name (char name[32], unsigned int regno) -+{ -+ const char *reg_name = reg_names[regno]; -+ -+ /* Skip the leading '%' as that cannot be used in a -+ symbol name. */ -+ reg_name += 1; -+ -+ if (USE_HIDDEN_LINKONCE) -+ sprintf (name, "__sparc_get_pc_thunk.%s", reg_name); -+ else -+ ASM_GENERATE_INTERNAL_LABEL (name, "LADDPC", regno); -+} -+ - /* Wrapper around the load_pcrel_sym{si,di} patterns. */ - - static rtx -@@ -4276,78 +4302,30 @@ gen_load_pcrel_sym (rtx op0, rtx op1, rtx op2) - return insn; - } - --/* Output the load_pcrel_sym{si,di} patterns. */ -- --const char * --output_load_pcrel_sym (rtx *operands) --{ -- if (flag_delayed_branch) -- { -- output_asm_insn ("sethi\t%%hi(%a1-4), %0", operands); -- output_asm_insn ("call\t%a2", operands); -- output_asm_insn (" add\t%0, %%lo(%a1+4), %0", operands); -- } -- else -- { -- output_asm_insn ("sethi\t%%hi(%a1-8), %0", operands); -- output_asm_insn ("add\t%0, %%lo(%a1-4), %0", operands); -- output_asm_insn ("call\t%a2", operands); -- output_asm_insn (" nop", NULL); -- } -- -- if (operands[2] == got_helper_rtx) -- got_helper_needed = true; -- -- return ""; --} -- --#ifdef HAVE_GAS_HIDDEN --# define USE_HIDDEN_LINKONCE 1 --#else --# define USE_HIDDEN_LINKONCE 0 --#endif -- - /* Emit code to load the GOT register. */ - - void - load_got_register (void) - { -- rtx insn; -+ if (!got_register_rtx) -+ got_register_rtx = gen_rtx_REG (Pmode, GLOBAL_OFFSET_TABLE_REGNUM); - - if (TARGET_VXWORKS_RTP) -- { -- if (!got_register_rtx) -- got_register_rtx = pic_offset_table_rtx; -- -- insn = gen_vxworks_load_got (); -- } -+ emit_insn (gen_vxworks_load_got ()); - else - { -- if (!got_register_rtx) -- got_register_rtx = gen_rtx_REG (Pmode, GLOBAL_OFFSET_TABLE_REGNUM); -- - /* The GOT symbol is subject to a PC-relative relocation so we need a - helper function to add the PC value and thus get the final value. */ - if (!got_helper_rtx) - { - char name[32]; -- -- /* Skip the leading '%' as that cannot be used in a symbol name. */ -- if (USE_HIDDEN_LINKONCE) -- sprintf (name, "__sparc_get_pc_thunk.%s", -- reg_names[REGNO (got_register_rtx)] + 1); -- else -- ASM_GENERATE_INTERNAL_LABEL (name, "LADDPC", -- REGNO (got_register_rtx)); -- -+ get_pc_thunk_name (name, GLOBAL_OFFSET_TABLE_REGNUM); - got_helper_rtx = gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (name)); - } - -- insn -- = gen_load_pcrel_sym (got_register_rtx, sparc_got (), got_helper_rtx); -+ emit_insn (gen_load_pcrel_sym (got_register_rtx, sparc_got (), -+ got_helper_rtx)); - } -- -- emit_insn (insn); - } - - /* Ensure that we are not using patterns that are not OK with PIC. */ -@@ -5512,7 +5490,7 @@ save_local_or_in_reg_p (unsigned int regno, int leaf_function) - return true; - - /* GOT register (%l7) if needed. */ -- if (got_register_rtx && regno == REGNO (got_register_rtx)) -+ if (regno == GLOBAL_OFFSET_TABLE_REGNUM && got_register_rtx) - return true; - - /* If the function accesses prior frames, the frame pointer and the return -@@ -12555,9 +12533,10 @@ static void - sparc_file_end (void) - { - /* If we need to emit the special GOT helper function, do so now. */ -- if (got_helper_needed) -+ if (got_helper_rtx) - { - const char *name = XSTR (got_helper_rtx, 0); -+ const char *reg_name = reg_names[GLOBAL_OFFSET_TABLE_REGNUM]; - #ifdef DWARF2_UNWIND_INFO - bool do_cfi; - #endif -@@ -12594,22 +12573,17 @@ sparc_file_end (void) - #ifdef DWARF2_UNWIND_INFO - do_cfi = dwarf2out_do_cfi_asm (); - if (do_cfi) -- output_asm_insn (".cfi_startproc", NULL); -+ fprintf (asm_out_file, "\t.cfi_startproc\n"); - #endif - if (flag_delayed_branch) -- { -- output_asm_insn ("jmp\t%%o7+8", NULL); -- output_asm_insn (" add\t%%o7, %0, %0", &got_register_rtx); -- } -+ fprintf (asm_out_file, "\tjmp\t%%o7+8\n\t add\t%%o7, %s, %s\n", -+ reg_name, reg_name); - else -- { -- output_asm_insn ("add\t%%o7, %0, %0", &got_register_rtx); -- output_asm_insn ("jmp\t%%o7+8", NULL); -- output_asm_insn (" nop", NULL); -- } -+ fprintf (asm_out_file, "\tadd\t%%o7, %s, %s\n\tjmp\t%%o7+8\n\t nop\n", -+ reg_name, reg_name); - #ifdef DWARF2_UNWIND_INFO - if (do_cfi) -- output_asm_insn (".cfi_endproc", NULL); -+ fprintf (asm_out_file, "\t.cfi_endproc\n"); - #endif - } - -@@ -13115,10 +13089,7 @@ sparc_init_pic_reg (void) - edge entry_edge; - rtx_insn *seq; - -- /* In PIC mode, we need to always initialize the PIC register if optimization -- is enabled, because we are called from IRA and LRA may later force things -- to the constant pool for optimization purposes. */ -- if (!flag_pic || (!crtl->uses_pic_offset_table && !optimize)) -+ if (!crtl->uses_pic_offset_table) - return; - - start_sequence (); -diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md -index 0a6e27ffa83..7af62d599b9 100644 ---- a/gcc/config/sparc/sparc.md -+++ b/gcc/config/sparc/sparc.md -@@ -1604,7 +1604,10 @@ - (clobber (reg:P O7_REG))] - "REGNO (operands[0]) == INTVAL (operands[3])" - { -- return output_load_pcrel_sym (operands); -+ if (flag_delayed_branch) -+ return "sethi\t%%hi(%a1-4), %0\n\tcall\t%a2\n\t add\t%0, %%lo(%a1+4), %0"; -+ else -+ return "sethi\t%%hi(%a1-8), %0\n\tadd\t%0, %%lo(%a1-4), %0\n\tcall\t%a2\n\t nop"; - } - [(set (attr "type") (const_string "multi")) - (set (attr "length") -diff --git a/gcc/testsuite/gcc.c-torture/compile/20191108-1.c b/gcc/testsuite/gcc.c-torture/compile/20191108-1.c -deleted file mode 100644 -index 7929751bb06..00000000000 ---- a/gcc/testsuite/gcc.c-torture/compile/20191108-1.c -+++ /dev/null -@@ -1,14 +0,0 @@ --/* PR target/92095 */ --/* Testcase by Sergei Trofimovich */ -- --typedef union { -- double a; -- int b[2]; --} c; -- --double d(int e) --{ -- c f; -- (&f)->b[0] = 15728640; -- return e ? -(&f)->a : (&f)->a; --} -diff --git a/gcc/testsuite/gcc.target/sparc/overflow-3.c b/gcc/testsuite/gcc.target/sparc/overflow-3.c -index 52d6ab2b688..86dddfb09e6 100644 ---- a/gcc/testsuite/gcc.target/sparc/overflow-3.c -+++ b/gcc/testsuite/gcc.target/sparc/overflow-3.c -@@ -1,6 +1,6 @@ - /* { dg-do compile } */ - /* { dg-require-effective-target lp64 } */ --/* { dg-options "-O -fno-pie" } */ -+/* { dg-options "-O" } */ - - #include - #include -diff --git a/gcc/testsuite/gcc.target/sparc/overflow-4.c b/gcc/testsuite/gcc.target/sparc/overflow-4.c -index c6121b958c3..019feee335c 100644 ---- a/gcc/testsuite/gcc.target/sparc/overflow-4.c -+++ b/gcc/testsuite/gcc.target/sparc/overflow-4.c -@@ -1,6 +1,6 @@ - /* { dg-do compile } */ - /* { dg-require-effective-target lp64 } */ --/* { dg-options "-O -fno-pie -mno-vis3 -mno-vis4" } */ -+/* { dg-options "-O -mno-vis3 -mno-vis4" } */ - - #include - #include -diff --git a/gcc/testsuite/gcc.target/sparc/overflow-5.c b/gcc/testsuite/gcc.target/sparc/overflow-5.c -index f00283f6e7b..67d4ac38095 100644 ---- a/gcc/testsuite/gcc.target/sparc/overflow-5.c -+++ b/gcc/testsuite/gcc.target/sparc/overflow-5.c -@@ -1,6 +1,6 @@ - /* { dg-do compile } */ - /* { dg-require-effective-target lp64 } */ --/* { dg-options "-O -fno-pie -mvis3" } */ -+/* { dg-options "-O -mvis3" } */ - - #include - #include --- -2.25.4 - diff --git a/buildroot-2021.05/package/gcc/9.3.0/0006-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch b/buildroot-2021.05/package/gcc/9.3.0/0006-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch deleted file mode 100644 index 60dd7f78..00000000 --- a/buildroot-2021.05/package/gcc/9.3.0/0006-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch +++ /dev/null @@ -1,201 +0,0 @@ -From 1af3ab7fc3e4f2ae835c976486e8af0762674af3 Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:11:44 +0900 -Subject: [PATCH] or1k: Add mcmodel option to handle large GOTs - -When building libgeos we get an error with: - - linux-uclibc/9.3.0/crtbeginS.o: in function `__do_global_dtors_aux': - crtstuff.c:(.text+0x118): relocation truncated to fit: R_OR1K_GOT16 against symbol `__cxa_finalize' defined in .text section in - /home/shorne/work/openrisc/3eb9f9d0f6d8274b2d19753c006bd83f7d536e3c/output/host/or1k-buildroot-linux-uclibc/sysroot/lib/libc.so. - -This is caused by GOT code having a limit of 64k. In OpenRISC this -looks to be the only relocation code pattern to be limited to 64k. - -This patch allows specifying a new option -mcmodel=large which can be -used to generate 2 more instructions to construct 32-bit addresses for -up to 4G GOTs. - -gcc/ChangeLog: - - PR 99783 - * config/or1k/or1k-opts.h: New file. - * config/or1k/or1k.c (or1k_legitimize_address_1, print_reloc): - Support generating gotha relocations if -mcmodel=large is - specified. - * config/or1k/or1k.h (TARGET_CMODEL_SMALL, TARGET_CMODEL_LARGE): - New macros. - * config/or1k/or1k.opt (mcmodel=): New option. - * doc/invoke.text (OpenRISC Options): Document mcmodel. - -Signed-off-by: Giulio Benetti ---- - gcc/config/or1k/or1k-opts.h | 30 ++++++++++++++++++++++++++++++ - gcc/config/or1k/or1k.c | 11 +++++++++-- - gcc/config/or1k/or1k.h | 7 +++++++ - gcc/config/or1k/or1k.opt | 19 +++++++++++++++++++ - gcc/doc/invoke.texi | 13 ++++++++++++- - 5 files changed, 77 insertions(+), 3 deletions(-) - create mode 100644 gcc/config/or1k/or1k-opts.h - -diff --git a/gcc/config/or1k/or1k-opts.h b/gcc/config/or1k/or1k-opts.h -new file mode 100644 -index 00000000000..f791b894fdd ---- /dev/null -+++ b/gcc/config/or1k/or1k-opts.h -@@ -0,0 +1,30 @@ -+/* Definitions for option handling for OpenRISC. -+ Copyright (C) 2021 Free Software Foundation, Inc. -+ Contributed by Stafford Horne. -+ -+ This file is part of GCC. -+ -+ GCC is free software; you can redistribute it and/or modify it -+ under the terms of the GNU General Public License as published -+ by the Free Software Foundation; either version 3, or (at your -+ option) any later version. -+ -+ GCC is distributed in the hope that it will be useful, but WITHOUT -+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -+ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public -+ License for more details. -+ -+ You should have received a copy of the GNU General Public License -+ along with GCC; see the file COPYING3. If not see -+ . */ -+ -+#ifndef GCC_OR1K_OPTS_H -+#define GCC_OR1K_OPTS_H -+ -+/* The OpenRISC code generation models available. */ -+enum or1k_cmodel_type { -+ CMODEL_SMALL, -+ CMODEL_LARGE -+}; -+ -+#endif /* GCC_OR1K_OPTS_H */ -diff --git a/gcc/config/or1k/or1k.c b/gcc/config/or1k/or1k.c -index fc10fcfabde..df67d72b139 100644 ---- a/gcc/config/or1k/or1k.c -+++ b/gcc/config/or1k/or1k.c -@@ -750,7 +750,14 @@ or1k_legitimize_address_1 (rtx x, rtx scratch) - { - base = gen_sym_unspec (base, UNSPEC_GOT); - crtl->uses_pic_offset_table = 1; -- t2 = gen_rtx_LO_SUM (Pmode, pic_offset_table_rtx, base); -+ if (TARGET_CMODEL_LARGE) -+ { -+ emit_insn (gen_rtx_SET (t1, gen_rtx_HIGH (Pmode, base))); -+ emit_insn (gen_add3_insn (t1, t1, pic_offset_table_rtx)); -+ t2 = gen_rtx_LO_SUM (Pmode, t1, base); -+ } -+ else -+ t2 = gen_rtx_LO_SUM (Pmode, pic_offset_table_rtx, base); - t2 = gen_const_mem (Pmode, t2); - emit_insn (gen_rtx_SET (t1, t2)); - base = t1; -@@ -1097,7 +1104,7 @@ print_reloc (FILE *stream, rtx x, HOST_WIDE_INT add, reloc_kind kind) - no special markup. */ - static const char * const relocs[RKIND_MAX][RTYPE_MAX] = { - { "lo", "got", "gotofflo", "tpofflo", "gottpofflo", "tlsgdlo" }, -- { "ha", NULL, "gotoffha", "tpoffha", "gottpoffha", "tlsgdhi" }, -+ { "ha", "gotha", "gotoffha", "tpoffha", "gottpoffha", "tlsgdhi" }, - }; - reloc_type type = RTYPE_DIRECT; - -diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h -index 6dda230f217..858f30743b7 100644 ---- a/gcc/config/or1k/or1k.h -+++ b/gcc/config/or1k/or1k.h -@@ -21,6 +21,8 @@ - #ifndef GCC_OR1K_H - #define GCC_OR1K_H - -+#include "config/or1k/or1k-opts.h" -+ - /* Names to predefine in the preprocessor for this target machine. */ - #define TARGET_CPU_CPP_BUILTINS() \ - do \ -@@ -35,6 +37,11 @@ - } \ - while (0) - -+#define TARGET_CMODEL_SMALL \ -+ (or1k_code_model == CMODEL_SMALL) -+#define TARGET_CMODEL_LARGE \ -+ (or1k_code_model == CMODEL_LARGE) -+ - /* Storage layout. */ - - #define DEFAULT_SIGNED_CHAR 1 -diff --git a/gcc/config/or1k/or1k.opt b/gcc/config/or1k/or1k.opt -index 7bdbd842dd4..116524c3441 100644 ---- a/gcc/config/or1k/or1k.opt -+++ b/gcc/config/or1k/or1k.opt -@@ -23,6 +23,9 @@ - - ; Please try to keep this file in ASCII collating order. - -+HeaderInclude -+config/or1k/or1k-opts.h -+ - mhard-div - Target RejectNegative InverseMask(SOFT_DIV) - Use hardware divide instructions, use -msoft-div for emulation. -@@ -31,6 +34,22 @@ mhard-mul - Target RejectNegative InverseMask(SOFT_MUL). - Use hardware multiply instructions, use -msoft-mul for emulation. - -+mcmodel= -+Target RejectNegative Joined Enum(or1k_cmodel_type) Var(or1k_code_model) Init(CMODEL_SMALL) -+Specify the code model used for accessing memory addresses. Specifying large -+enables generating binaries with large global offset tables. By default the -+value is small. -+ -+Enum -+Name(or1k_cmodel_type) Type(enum or1k_cmodel_type) -+Known code model types (for use with the -mcmodel= option): -+ -+EnumValue -+Enum(or1k_cmodel_type) String(small) Value(CMODEL_SMALL) -+ -+EnumValue -+Enum(or1k_cmodel_type) String(large) Value(CMODEL_LARGE) -+ - mcmov - Target RejectNegative Mask(CMOV) - Allows generation of binaries which use the l.cmov instruction. If your target -diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi -index 0ab6c9c6449..0904b2b5a41 100644 ---- a/gcc/doc/invoke.texi -+++ b/gcc/doc/invoke.texi -@@ -1030,7 +1030,9 @@ Objective-C and Objective-C++ Dialects}. - @emph{OpenRISC Options} - @gccoptlist{-mboard=@var{name} -mnewlib -mhard-mul -mhard-div @gol - -msoft-mul -msoft-div @gol ---mcmov -mror -msext -msfimm -mshftimm} -+-mcmov -mror -mrori -msext -msfimm -mshftimm @gol -+-mcmodel=@var{code-model}} -+ - - @emph{PDP-11 Options} - @gccoptlist{-mfpu -msoft-float -mac0 -mno-ac0 -m40 -m45 -m10 @gol -@@ -27408,6 +27410,15 @@ MWAITX, SHA, CLZERO, AES, PCL_MUL, CX16, MOVBE, MMX, SSE, SSE2, SSE3, SSE4A, - SSSE3, SSE4.1, SSE4.2, ABM, XSAVEC, XSAVES, CLFLUSHOPT, POPCNT, and 64-bit - instruction set extensions.) - -+@item -mcmodel=small -+@opindex mcmodel=small -+Generate OpenRISC code for the small model: The GOT is limited to 64k. This is -+the default model. -+ -+@item -mcmodel=large -+@opindex mcmodel=large -+Generate OpenRISC code for the large model: The GOT may grow up to 4G in size. -+ - - @item btver1 - CPUs based on AMD Family 14h cores with x86-64 instruction set support. (This --- -2.25.1 - diff --git a/buildroot-2021.05/package/gcc/9.3.0/0007-or1k-Use-cmodel-large-when-building-crtstuff.patch b/buildroot-2021.05/package/gcc/9.3.0/0007-or1k-Use-cmodel-large-when-building-crtstuff.patch deleted file mode 100644 index 673847fd..00000000 --- a/buildroot-2021.05/package/gcc/9.3.0/0007-or1k-Use-cmodel-large-when-building-crtstuff.patch +++ /dev/null @@ -1,60 +0,0 @@ -From b540f7b916ba7cf2059b84c5cc8d08c67ebe9a0b Mon Sep 17 00:00:00 2001 -From: Stafford Horne -Date: Sun, 2 May 2021 06:11:45 +0900 -Subject: [PATCH] or1k: Use cmodel=large when building crtstuff - -When linking gcc runtime objects into large binaries the link may fail -with the below errors. This will happen even if we are building with --mcmodel=large. - - /home/shorne/work/openrisc/output/host/lib/gcc/or1k-buildroot-linux-uclibc/10.3.0/crtbeginS.o: in function `deregister_tm_clones': - crtstuff.c:(.text+0x3c): relocation truncated to fit: R_OR1K_GOT16 against undefined symbol `_ITM_deregisterTMCloneTable' - /home/shorne/work/openrisc/output/host/lib/gcc/or1k-buildroot-linux-uclibc/10.3.0/crtbeginS.o: in function `register_tm_clones': - crtstuff.c:(.text+0xc0): relocation truncated to fit: R_OR1K_GOT16 against undefined symbol `_ITM_registerTMCloneTable' - -This patch builds the gcc crtstuff binaries always with the --mcmodel=large option to ensure they can be linked into large binaries. - -libgcc/ChangeLog: - - PR 99783 - * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff. - * config/or1k/t-crtstuff: New file. - -Signed-off-by: Giulio Benetti ---- - libgcc/config.host | 4 ++-- - libgcc/config/or1k/t-crtstuff | 2 ++ - 2 files changed, 4 insertions(+), 2 deletions(-) - create mode 100644 libgcc/config/or1k/t-crtstuff - -diff --git a/libgcc/config.host b/libgcc/config.host -index 0f15fda3612..0c21d384e6f 100644 ---- a/libgcc/config.host -+++ b/libgcc/config.host -@@ -1051,12 +1051,12 @@ nios2-*-*) - extra_parts="$extra_parts crti.o crtn.o" - ;; - or1k-*-linux*) -- tmake_file="$tmake_file or1k/t-or1k" -+ tmake_file="$tmake_file or1k/t-or1k or1k/t-crtstuff" - tmake_file="$tmake_file t-softfp-sfdf t-softfp" - md_unwind_header=or1k/linux-unwind.h - ;; - or1k-*-*) -- tmake_file="$tmake_file or1k/t-or1k" -+ tmake_file="$tmake_file or1k/t-or1k or1k/t-crtstuff" - tmake_file="$tmake_file t-softfp-sfdf t-softfp" - ;; - pdp11-*-*) -diff --git a/libgcc/config/or1k/t-crtstuff b/libgcc/config/or1k/t-crtstuff -new file mode 100644 -index 00000000000..dcae7f3498e ---- /dev/null -+++ b/libgcc/config/or1k/t-crtstuff -@@ -0,0 +1,2 @@ -+# Compile crtbeginS.o and crtendS.o with -mcmodel=large -+CRTSTUFF_T_CFLAGS_S += -mcmodel=large --- -2.25.1 - diff --git a/buildroot-2021.05/package/gcc/Config.in.host b/buildroot-2021.05/package/gcc/Config.in.host deleted file mode 100644 index 5b056a93..00000000 --- a/buildroot-2021.05/package/gcc/Config.in.host +++ /dev/null @@ -1,143 +0,0 @@ -comment "GCC Options" - -choice - prompt "GCC compiler Version" - default BR2_GCC_VERSION_ARC if BR2_arc - default BR2_GCC_VERSION_CSKY if BR2_csky - default BR2_GCC_VERSION_9_X - help - Select the version of gcc you wish to use. - -config BR2_GCC_VERSION_ARC - bool "gcc arc (10.x)" - # Only supported architecture - depends on BR2_arc - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - -config BR2_GCC_VERSION_CSKY - bool "gcc csky" - # Only supported architecture - depends on BR2_csky - select BR2_TOOLCHAIN_GCC_AT_LEAST_6 - -config BR2_GCC_VERSION_8_X - bool "gcc 8.x" - depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_9 - # Broken or unsupported architectures - depends on !BR2_or1k - select BR2_TOOLCHAIN_GCC_AT_LEAST_8 - -config BR2_GCC_VERSION_9_X - bool "gcc 9.x" - depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_10 - # powerpc spe support has been deprecated since gcc 8.x. - # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html - depends on !BR2_powerpc_SPE - # C-SKY sk610 needs abiv1, which is not supported in - # upstream gcc. C-SKY gcc upstream support not tested - # with upstream binutils and glibc. - depends on !BR2_csky - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - -config BR2_GCC_VERSION_10_X - bool "gcc 10.x" - # powerpc spe support has been deprecated since gcc 8.x. - # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html - depends on !BR2_powerpc_SPE - # C-SKY sk610 needs abiv1, which is not supported in - # upstream gcc. C-SKY gcc upstream support not tested - # with upstream binutils and glibc. - depends on !BR2_csky - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - -endchoice - -# libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x -config BR2_GCC_SUPPORTS_LIBCILKRTS - bool - default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - -config BR2_GCC_SUPPORTS_DLANG - bool - default y if BR2_aarch64 - default y if BR2_arm - default y if BR2_i386 - default y if BR2_mips || BR2_mipsel - default y if BR2_mips64 || BR2_mips64el - default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le - default y if BR2_x86_64 - default y if BR2_riscv && !BR2_RISCV_64 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 - depends on BR2_TOOLCHAIN_USES_GLIBC - -config BR2_GCC_VERSION - string - default "8.4.0" if BR2_GCC_VERSION_8_X - default "9.3.0" if BR2_GCC_VERSION_9_X - default "10.3.0" if BR2_GCC_VERSION_10_X - default "arc-2020.09-release" if BR2_GCC_VERSION_ARC - default "48152afb96c59733d5bc79e3399bb7b3d4b44266" if BR2_GCC_VERSION_CSKY - -config BR2_EXTRA_GCC_CONFIG_OPTIONS - string "Additional gcc options" - default "" - help - Any additional gcc configure options you may want to - include. Those options are applied for all of the gcc - initial, gcc intermediate and gcc final passes. - -config BR2_TOOLCHAIN_BUILDROOT_CXX - bool "Enable C++ support" - select BR2_INSTALL_LIBSTDCPP - help - Enable this option if you want your toolchain to support the - C++ language and you want C++ libraries to be installed on - your target system. - -comment "Fortran support needs a toolchain w/ wchar" - depends on BR2_TOOLCHAIN_HAS_LIBQUADMATH - depends on !BR2_USE_WCHAR # libquadmath - -config BR2_TOOLCHAIN_BUILDROOT_FORTRAN - bool "Enable Fortran support" - # on architecture building libquadmath, wchar is required - depends on !BR2_TOOLCHAIN_HAS_LIBQUADMATH || \ - (BR2_TOOLCHAIN_HAS_LIBQUADMATH && BR2_USE_WCHAR) - select BR2_TOOLCHAIN_HAS_FORTRAN - help - Enable this option if you want your toolchain to support the - Fortran language and you want Fortran libraries to be - installed on your target system. - -config BR2_TOOLCHAIN_BUILDROOT_DLANG - bool "Enable D language support" - depends on BR2_GCC_SUPPORTS_DLANG - select BR2_TOOLCHAIN_HAS_DLANG - help - Enable this option if you want your toolchain to support the - D language and you want D libraries to be installed on your - target system. - -config BR2_GCC_ENABLE_LTO - bool "Enable compiler link-time-optimization support" - select BR2_BINUTILS_ENABLE_LTO - help - This option enables link-time optimization (LTO) support in - gcc. - -config BR2_GCC_ENABLE_OPENMP - bool "Enable compiler OpenMP support" - depends on !BR2_PTHREADS_NONE && !BR2_arc && !BR2_microblaze - select BR2_TOOLCHAIN_HAS_OPENMP - help - Enable OpenMP support for the compiler - -config BR2_GCC_ENABLE_GRAPHITE - bool "Enable graphite support" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 - help - This option enables the graphite optimizations in the - compiler. - -comment "graphite support needs gcc >= 5.x" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2021.05/package/gcc/gcc-final/gcc-final.mk b/buildroot-2021.05/package/gcc/gcc-final/gcc-final.mk deleted file mode 100644 index 24d034b7..00000000 --- a/buildroot-2021.05/package/gcc/gcc-final/gcc-final.mk +++ /dev/null @@ -1,219 +0,0 @@ -################################################################################ -# -# gcc-final -# -################################################################################ - -GCC_FINAL_VERSION = $(GCC_VERSION) -GCC_FINAL_SITE = $(GCC_SITE) -GCC_FINAL_SOURCE = $(GCC_SOURCE) - -HOST_GCC_FINAL_DL_SUBDIR = gcc - -HOST_GCC_FINAL_DEPENDENCIES = \ - $(HOST_GCC_COMMON_DEPENDENCIES) \ - $(BR_LIBC) - -HOST_GCC_FINAL_EXCLUDES = $(HOST_GCC_EXCLUDES) - -ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) -HOST_GCC_FINAL_POST_EXTRACT_HOOKS += HOST_GCC_XTENSA_OVERLAY_EXTRACT -HOST_GCC_FINAL_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) -endif - -HOST_GCC_FINAL_POST_PATCH_HOOKS += HOST_GCC_APPLY_PATCHES - -# gcc doesn't support in-tree build, so we create a 'build' -# subdirectory in the gcc sources, and build from there. -HOST_GCC_FINAL_SUBDIR = build - -HOST_GCC_FINAL_PRE_CONFIGURE_HOOKS += HOST_GCC_CONFIGURE_SYMLINK - -# We want to always build the static variants of all the gcc libraries, -# of which libstdc++, libgomp, libmudflap... -# To do so, we can not just pass --enable-static to override the generic -# --disable-static flag, otherwise gcc fails to build some of those -# libraries, see; -# http://lists.busybox.net/pipermail/buildroot/2013-October/080412.html -# -# So we must completely override the generic commands and provide our own. -# -define HOST_GCC_FINAL_CONFIGURE_CMDS - (cd $(HOST_GCC_FINAL_SRCDIR) && rm -rf config.cache; \ - $(HOST_CONFIGURE_OPTS) \ - CFLAGS="$(HOST_CFLAGS)" \ - LDFLAGS="$(HOST_LDFLAGS)" \ - $(HOST_GCC_FINAL_CONF_ENV) \ - ./configure \ - --prefix="$(HOST_DIR)" \ - --sysconfdir="$(HOST_DIR)/etc" \ - --enable-static \ - $(QUIET) $(HOST_GCC_FINAL_CONF_OPTS) \ - ) -endef - -# Languages supported by the cross-compiler -GCC_FINAL_CROSS_LANGUAGES-y = c -GCC_FINAL_CROSS_LANGUAGES-$(BR2_INSTALL_LIBSTDCPP) += c++ -GCC_FINAL_CROSS_LANGUAGES-$(BR2_TOOLCHAIN_BUILDROOT_DLANG) += d -GCC_FINAL_CROSS_LANGUAGES-$(BR2_TOOLCHAIN_BUILDROOT_FORTRAN) += fortran -GCC_FINAL_CROSS_LANGUAGES = $(subst $(space),$(comma),$(GCC_FINAL_CROSS_LANGUAGES-y)) - -HOST_GCC_FINAL_CONF_OPTS = \ - $(HOST_GCC_COMMON_CONF_OPTS) \ - --enable-languages=$(GCC_FINAL_CROSS_LANGUAGES) \ - --with-build-time-tools=$(HOST_DIR)/$(GNU_TARGET_NAME)/bin - -# The kernel wants to use the -m4-nofpu option to make sure that it -# doesn't use floating point operations. -ifeq ($(BR2_sh4)$(BR2_sh4eb),y) -HOST_GCC_FINAL_CONF_OPTS += "--with-multilib-list=m4,m4-nofpu" -HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4* -else ifeq ($(BR2_sh4a)$(BR2_sh4aeb),y) -HOST_GCC_FINAL_CONF_OPTS += "--with-multilib-list=m4a,m4a-nofpu" -HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4* -else -HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib* -endif - -ifeq ($(BR2_GCC_SUPPORTS_LIBCILKRTS),y) - -# libcilkrts does not support v8 -ifeq ($(BR2_sparc),y) -HOST_GCC_FINAL_CONF_OPTS += --disable-libcilkrts -endif - -# Pthreads are required to build libcilkrts -ifeq ($(BR2_PTHREADS_NONE),y) -HOST_GCC_FINAL_CONF_OPTS += --disable-libcilkrts -endif - -ifeq ($(BR2_STATIC_LIBS),y) -# disable libcilkrts as there is no static version -HOST_GCC_FINAL_CONF_OPTS += --disable-libcilkrts -endif - -endif # BR2_GCC_SUPPORTS_LIBCILKRTS - -# Disable shared libs like libstdc++ if we do static since it confuses linking -ifeq ($(BR2_STATIC_LIBS),y) -HOST_GCC_FINAL_CONF_OPTS += --disable-shared -else -HOST_GCC_FINAL_CONF_OPTS += --enable-shared -endif - -ifeq ($(BR2_GCC_ENABLE_OPENMP),y) -HOST_GCC_FINAL_CONF_OPTS += --enable-libgomp -else -HOST_GCC_FINAL_CONF_OPTS += --disable-libgomp -endif - -# End with user-provided options, so that they can override previously -# defined options. -HOST_GCC_FINAL_CONF_OPTS += \ - $(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS)) - -HOST_GCC_FINAL_CONF_ENV = \ - $(HOST_GCC_COMMON_CONF_ENV) - -HOST_GCC_FINAL_MAKE_OPTS += $(HOST_GCC_COMMON_MAKE_OPTS) - -# Make sure we have 'cc' -define HOST_GCC_FINAL_CREATE_CC_SYMLINKS - if [ ! -e $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-cc ]; then \ - ln -f $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-gcc \ - $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-cc; \ - fi -endef - -HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_CREATE_CC_SYMLINKS - -HOST_GCC_FINAL_TOOLCHAIN_WRAPPER_ARGS += $(HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS) -HOST_GCC_FINAL_POST_BUILD_HOOKS += TOOLCHAIN_WRAPPER_BUILD -HOST_GCC_FINAL_POST_INSTALL_HOOKS += TOOLCHAIN_WRAPPER_INSTALL -# Note: this must be done after CREATE_CC_SYMLINKS, otherwise the -# -cc symlink to the wrapper is not created. -HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_INSTALL_WRAPPER_AND_SIMPLE_SYMLINKS - -# coldfire is not working without removing these object files from libgcc.a -ifeq ($(BR2_m68k_cf),y) -define HOST_GCC_FINAL_M68K_LIBGCC_FIXUP - find $(STAGING_DIR) -name libgcc.a -print | \ - while read t; do $(GNU_TARGET_NAME)-ar dv "$t" _ctors.o; done -endef -HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_M68K_LIBGCC_FIXUP -endif - -# Cannot use the HOST_GCC_FINAL_USR_LIBS mechanism below, because we want -# libgcc_s to be installed in /lib and not /usr/lib. -define HOST_GCC_FINAL_INSTALL_LIBGCC - -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libgcc_s* \ - $(STAGING_DIR)/lib/ - -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libgcc_s* \ - $(TARGET_DIR)/lib/ -endef - -HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_INSTALL_LIBGCC - -define HOST_GCC_FINAL_INSTALL_LIBATOMIC - -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libatomic* \ - $(STAGING_DIR)/lib/ - -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libatomic* \ - $(TARGET_DIR)/lib/ -endef - -HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_INSTALL_LIBATOMIC - -# Handle the installation of libraries in /usr/lib -HOST_GCC_FINAL_USR_LIBS = - -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -HOST_GCC_FINAL_USR_LIBS += libstdc++ -endif - -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_DLANG),y) -HOST_GCC_FINAL_USR_LIBS += libgdruntime libgphobos -endif - -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_FORTRAN),y) -HOST_GCC_FINAL_USR_LIBS += libgfortran -# fortran needs quadmath on x86 and x86_64 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBQUADMATH),y) -HOST_GCC_FINAL_USR_LIBS += libquadmath -endif -endif - -ifeq ($(BR2_GCC_ENABLE_OPENMP),y) -HOST_GCC_FINAL_USR_LIBS += libgomp -endif - -HOST_GCC_FINAL_USR_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_LIBS)) - -ifneq ($(HOST_GCC_FINAL_USR_LIBS),) -define HOST_GCC_FINAL_INSTALL_STATIC_LIBS - for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \ - cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/$${i}.a \ - $(STAGING_DIR)/usr/lib/ ; \ - done -endef - -ifeq ($(BR2_STATIC_LIBS),) -define HOST_GCC_FINAL_INSTALL_SHARED_LIBS - for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \ - cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/$${i}.so* \ - $(STAGING_DIR)/usr/lib/ ; \ - cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/$${i}.so* \ - $(TARGET_DIR)/usr/lib/ ; \ - done -endef -endif - -define HOST_GCC_FINAL_INSTALL_USR_LIBS - mkdir -p $(TARGET_DIR)/usr/lib - $(HOST_GCC_FINAL_INSTALL_STATIC_LIBS) - $(HOST_GCC_FINAL_INSTALL_SHARED_LIBS) -endef -HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_INSTALL_USR_LIBS -endif - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gcc/gcc.hash b/buildroot-2021.05/package/gcc/gcc.hash deleted file mode 100644 index 566ae09f..00000000 --- a/buildroot-2021.05/package/gcc/gcc.hash +++ /dev/null @@ -1,13 +0,0 @@ -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-8.4.0/sha512.sum -sha512 6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280 gcc-8.4.0.tar.xz -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-9.3.0/sha512.sum -sha512 4b9e3639eef6e623747a22c37a904b4750c93b6da77cf3958d5047e9b5ebddb7eebe091cc16ca0a227c0ecbd2bf3b984b221130f269a97ee4cc18f9cf6c444de gcc-9.3.0.tar.xz -# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-10.3.0/sha512.sum -sha512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86 gcc-10.3.0.tar.xz - -# Locally calculated (fetched from Github) -sha512 b0853e2b1c5998044392023fa653e399e74118c46e616504ac59e1a2cf27620f94434767ce06b6cf4ca3dfb57f81d6eda92752befaf095ea5e564a9181b4659c gcc-arc-2020.09-release.tar.gz -# Locally calculated (fetched from Github) -sha512 2de7cf47333a4092b02d3bb98f4206f14966f1d139a724d09cf3b22f8a43ae0c704f33e6477d6367a03c29b265480dc900169e9d417006c5d46f0ae446b8c6f1 gcc-or1k-musl-5.4.0-20170218.tar.gz -# Locally calculated (fetched from https://github.com/c-sky/gcc) -sha512 1c3564fd6573dce13451a73015e7d88fecbb214dc1df96607976255b1d8b9e60318405333f4f218eea8d07e3675a802b66eff6df3921d505c4036481512792c2 gcc-48152afb96c59733d5bc79e3399bb7b3d4b44266.tar.gz diff --git a/buildroot-2021.05/package/gcc/gcc.mk b/buildroot-2021.05/package/gcc/gcc.mk deleted file mode 100644 index 5e419f7e..00000000 --- a/buildroot-2021.05/package/gcc/gcc.mk +++ /dev/null @@ -1,336 +0,0 @@ -################################################################################ -# -# Common variables for the gcc-initial and gcc-final packages. -# -################################################################################ - -# -# Version, site and source -# - -GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION)) - -ifeq ($(BR2_GCC_VERSION_ARC),y) -GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION)) -GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz -else ifeq ($(BR2_GCC_VERSION_CSKY),y) -GCC_SITE = $(call github,c-sky,gcc,$(GCC_VERSION)) -GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz -else -GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION) -GCC_SOURCE = gcc-$(GCC_VERSION).tar.xz -endif - -# -# Xtensa special hook -# -define HOST_GCC_XTENSA_OVERLAY_EXTRACT - $(call arch-xtensa-overlay-extract,$(@D),gcc) -endef - -# -# Apply patches -# - -# gcc is a special package, not named gcc, but gcc-initial and -# gcc-final, but patches are nonetheless stored in package/gcc in the -# tree, and potentially in BR2_GLOBAL_PATCH_DIR directories as well. -define HOST_GCC_APPLY_PATCHES - for patchdir in \ - package/gcc/$(GCC_VERSION) \ - $(addsuffix /gcc/$(GCC_VERSION),$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ - $(addsuffix /gcc,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) ; do \ - if test -d $${patchdir}; then \ - $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ - fi; \ - done - $(HOST_GCC_APPLY_POWERPC_PATCH) -endef - -HOST_GCC_EXCLUDES = \ - libjava/* libgo/* - -# -# Create 'build' directory and configure symlink -# - -define HOST_GCC_CONFIGURE_SYMLINK - mkdir -p $(@D)/build - ln -sf ../configure $(@D)/build/configure -endef - -# -# Common configuration options -# - -HOST_GCC_COMMON_DEPENDENCIES = \ - host-binutils \ - host-gmp \ - host-mpc \ - host-mpfr \ - $(if $(BR2_BINFMT_FLAT),host-elf2flt) - -HOST_GCC_COMMON_CONF_OPTS = \ - --target=$(GNU_TARGET_NAME) \ - --with-sysroot=$(STAGING_DIR) \ - --enable-__cxa_atexit \ - --with-gnu-ld \ - --disable-libssp \ - --disable-multilib \ - --disable-decimal-float \ - --with-gmp=$(HOST_DIR) \ - --with-mpc=$(HOST_DIR) \ - --with-mpfr=$(HOST_DIR) \ - --with-pkgversion="Buildroot $(BR2_VERSION_FULL)" \ - --with-bugurl="http://bugs.buildroot.net/" \ - --without-zstd - -# Don't build documentation. It takes up extra space / build time, -# and sometimes needs specific makeinfo versions to work -HOST_GCC_COMMON_CONF_ENV = \ - MAKEINFO=missing - -GCC_COMMON_TARGET_CFLAGS = $(TARGET_CFLAGS) -GCC_COMMON_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS) - -# used to fix ../../../../libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized] -ifeq ($(BR2_ENABLE_DEBUG),y) -GCC_COMMON_TARGET_CFLAGS += -Wno-error -endif - -# Make sure libgcc & libstdc++ always get built with -matomic on ARC700 -ifeq ($(GCC_TARGET_CPU):$(BR2_ARC_ATOMIC_EXT),arc700:y) -GCC_COMMON_TARGET_CFLAGS += -matomic -GCC_COMMON_TARGET_CXXFLAGS += -matomic -endif - -# Propagate options used for target software building to GCC target libs -HOST_GCC_COMMON_CONF_ENV += CFLAGS_FOR_TARGET="$(GCC_COMMON_TARGET_CFLAGS)" -HOST_GCC_COMMON_CONF_ENV += CXXFLAGS_FOR_TARGET="$(GCC_COMMON_TARGET_CXXFLAGS)" - -# libitm needs sparc V9+ -ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) -HOST_GCC_COMMON_CONF_OPTS += --disable-libitm -endif - -# libmpx uses secure_getenv and struct _libc_fpstate not present in musl -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_MUSL)$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),yy) -HOST_GCC_COMMON_CONF_OPTS += --disable-libmpx -endif - -# quadmath support requires wchar -ifeq ($(BR2_USE_WCHAR)$(BR2_TOOLCHAIN_HAS_LIBQUADMATH),yy) -HOST_GCC_COMMON_CONF_OPTS += --enable-libquadmath -else -HOST_GCC_COMMON_CONF_OPTS += --disable-libquadmath --disable-libquadmath-support -endif - -# libsanitizer requires wordexp, not in default uClibc config. Also -# doesn't build properly with musl. -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC)$(BR2_TOOLCHAIN_BUILDROOT_MUSL),y) -HOST_GCC_COMMON_CONF_OPTS += --disable-libsanitizer -endif - -# libsanitizer is broken for SPARC -# https://bugs.busybox.net/show_bug.cgi?id=7951 -ifeq ($(BR2_sparc)$(BR2_sparc64),y) -HOST_GCC_COMMON_CONF_OPTS += --disable-libsanitizer -endif - -# The logic in libbacktrace/configure.ac to detect if __sync builtins -# are available assumes they are as soon as target_subdir is not -# empty, i.e when cross-compiling. However, some platforms do not have -# __sync builtins, so help the configure script a bit. -ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),) -HOST_GCC_COMMON_CONF_ENV += target_configargs="libbacktrace_cv_sys_sync=no" -endif - -# TLS support is not needed on uClibc/no-thread and -# uClibc/linux-threads, otherwise, for all other situations (glibc, -# musl and uClibc/NPTL), we need it. -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC)$(BR2_PTHREADS)$(BR2_PTHREADS_NONE),yy) -HOST_GCC_COMMON_CONF_OPTS += --disable-tls -else -HOST_GCC_COMMON_CONF_OPTS += --enable-tls -endif - -ifeq ($(BR2_GCC_ENABLE_LTO),y) -HOST_GCC_COMMON_CONF_OPTS += --enable-plugins --enable-lto -endif - -ifeq ($(BR2_PTHREADS_NONE),y) -HOST_GCC_COMMON_CONF_OPTS += \ - --disable-threads \ - --disable-libitm \ - --disable-libatomic -else -HOST_GCC_COMMON_CONF_OPTS += --enable-threads -endif - -# gcc 5 doesn't need cloog any more, see -# https://gcc.gnu.org/gcc-5/changes.html and we don't support graphite -# on GCC 4.9.x, so only isl is needed. -ifeq ($(BR2_GCC_ENABLE_GRAPHITE),y) -HOST_GCC_COMMON_DEPENDENCIES += host-isl -HOST_GCC_COMMON_CONF_OPTS += --with-isl=$(HOST_DIR) -else -HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog -endif - -ifeq ($(BR2_arc),y) -HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison -endif - -ifeq ($(BR2_SOFT_FLOAT),y) -# only mips*-*-*, arm*-*-* and sparc*-*-* accept --with-float -# powerpc seems to be needing it as well -ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_sparc),y) -HOST_GCC_COMMON_CONF_OPTS += --with-float=soft -endif -endif - -# Determine arch/tune/abi/cpu options -ifneq ($(GCC_TARGET_ARCH),) -HOST_GCC_COMMON_CONF_OPTS += --with-arch="$(GCC_TARGET_ARCH)" -endif -ifneq ($(GCC_TARGET_ABI),) -HOST_GCC_COMMON_CONF_OPTS += --with-abi="$(GCC_TARGET_ABI)" -endif -ifeq ($(BR2_TOOLCHAIN_HAS_MNAN_OPTION),y) -ifneq ($(GCC_TARGET_NAN),) -HOST_GCC_COMMON_CONF_OPTS += --with-nan="$(GCC_TARGET_NAN)" -endif -endif -ifneq ($(GCC_TARGET_FP32_MODE),) -HOST_GCC_COMMON_CONF_OPTS += --with-fp-32="$(GCC_TARGET_FP32_MODE)" -endif -ifneq ($(GCC_TARGET_CPU),) -HOST_GCC_COMMON_CONF_OPTS += --with-cpu=$(GCC_TARGET_CPU) -endif - -ifneq ($(GCC_TARGET_FPU),) -HOST_GCC_COMMON_CONF_OPTS += --with-fpu=$(GCC_TARGET_FPU) -endif - -ifneq ($(GCC_TARGET_FLOAT_ABI),) -HOST_GCC_COMMON_CONF_OPTS += --with-float=$(GCC_TARGET_FLOAT_ABI) -endif - -ifneq ($(GCC_TARGET_MODE),) -HOST_GCC_COMMON_CONF_OPTS += --with-mode=$(GCC_TARGET_MODE) -endif - -# Enable proper double/long double for SPE ABI -ifeq ($(BR2_powerpc_SPE),y) -HOST_GCC_COMMON_CONF_OPTS += \ - --enable-obsolete \ - --enable-e500_double \ - --with-long-double-128 -endif - -# Set default to Secure-PLT to prevent run-time -# generation of PLT stubs (supports RELRO and -# SELinux non-exemem capabilities) -ifeq ($(BR2_powerpc),y) -HOST_GCC_COMMON_CONF_OPTS += --enable-secureplt -endif - -# PowerPC64 big endian by default uses the elfv1 ABI, and PowerPC 64 -# little endian by default uses the elfv2 ABI. However, musl has -# decided to use the elfv2 ABI for both, so we force the elfv2 ABI for -# Power64 big endian when the selected C library is musl. -ifeq ($(BR2_TOOLCHAIN_USES_MUSL)$(BR2_powerpc64),yy) -HOST_GCC_COMMON_CONF_OPTS += \ - --with-abi=elfv2 \ - --without-long-double-128 -endif - -# Since glibc >= 2.26, poerpc64le requires double/long double which -# requires at least gcc 6.2. -# See sysdeps/powerpc/powerpc64le/configure.ac -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC)$(BR2_TOOLCHAIN_GCC_AT_LEAST_6)$(BR2_powerpc64le),yyy) -HOST_GCC_COMMON_CONF_OPTS += \ - --with-long-double-128 -endif - -ifeq ($(BR2_s390x),y) -HOST_GCC_COMMON_CONF_OPTS += \ - --with-long-double-128 -endif - -HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS += -DBR_CROSS_PATH_SUFFIX='".br_real"' - -# For gcc-initial, we need to tell gcc that the C library will be -# providing the ssp support, as it can't guess it since the C library -# hasn't been built yet. -# -# For gcc-final, the gcc logic to detect whether SSP support is -# available or not in the C library is not working properly for -# uClibc, so let's be explicit as well. -HOST_GCC_COMMON_MAKE_OPTS = \ - gcc_cv_libc_provides_ssp=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) - -ifeq ($(BR2_CCACHE),y) -HOST_GCC_COMMON_CCACHE_HASH_FILES += $(GCC_DL_DIR)/$(GCC_SOURCE) - -# Cfr. PATCH_BASE_DIRS in .stamp_patched, but we catch both versioned -# and unversioned patches unconditionally. Moreover, to facilitate the -# addition of gcc patches in BR2_GLOBAL_PATCH_DIR, we allow them to be -# stored in a sub-directory called 'gcc' even if it's not technically -# the name of the package. -HOST_GCC_COMMON_CCACHE_HASH_FILES += \ - $(sort $(wildcard \ - package/gcc/$(GCC_VERSION)/*.patch \ - $(addsuffix /$($(PKG)_RAWNAME)/$(GCC_VERSION)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ - $(addsuffix /$($(PKG)_RAWNAME)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ - $(addsuffix /gcc/$(GCC_VERSION)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ - $(addsuffix /gcc/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))))) -ifeq ($(BR2_xtensa),y) -HOST_GCC_COMMON_CCACHE_HASH_FILES += $(ARCH_XTENSA_OVERLAY_TAR) -endif - -# _CONF_OPTS contains some references to the absolute path of $(HOST_DIR) -# and a reference to the Buildroot git revision (BR2_VERSION_FULL), -# so substitute those away. -HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS += -DBR_CCACHE_HASH=\"`\ - printf '%s\n' $(subst $(HOST_DIR),@HOST_DIR@,\ - $(subst --with-pkgversion="Buildroot $(BR2_VERSION_FULL)",,$($(PKG)_CONF_OPTS))) \ - | sha256sum - $(HOST_GCC_COMMON_CCACHE_HASH_FILES) \ - | cut -c -64 | tr -d '\n'`\" -endif # BR2_CCACHE - -# The LTO support in gcc creates wrappers for ar, ranlib and nm which load -# the lto plugin. These wrappers are called *-gcc-ar, *-gcc-ranlib, and -# *-gcc-nm and should be used instead of the real programs when -flto is -# used. However, we should not add the toolchain wrapper for them, and they -# match the *cc-* pattern. Therefore, an additional case is added for *-ar, -# *-ranlib and *-nm. -# According to gfortran manpage, it supports all options supported by gcc, so -# add gfortran to the list of the program called via the Buildroot wrapper. -# Avoid that a .br_real is symlinked a second time. -# Also create -linux- symlinks. -define HOST_GCC_INSTALL_WRAPPER_AND_SIMPLE_SYMLINKS - $(Q)cd $(HOST_DIR)/bin; \ - for i in $(GNU_TARGET_NAME)-*; do \ - case "$$i" in \ - *.br_real) \ - ;; \ - *-ar|*-ranlib|*-nm) \ - ln -snf $$i $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}; \ - ;; \ - *cc|*cc-*|*++|*++-*|*cpp|*-gfortran|*-gdc) \ - rm -f $$i.br_real; \ - mv $$i $$i.br_real; \ - ln -sf toolchain-wrapper $$i; \ - ln -sf toolchain-wrapper $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}; \ - ln -snf $$i.br_real $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}.br_real; \ - ;; \ - *) \ - ln -snf $$i $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}; \ - ;; \ - esac; \ - done - -endef - -include $(sort $(wildcard package/gcc/*/*.mk)) diff --git a/buildroot-2021.05/package/gcnano-binaries/Config.in b/buildroot-2021.05/package/gcnano-binaries/Config.in deleted file mode 100644 index 01e1aacf..00000000 --- a/buildroot-2021.05/package/gcnano-binaries/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -comment "gcnano-binaries needs a Linux kernel to be built" - depends on BR2_arm - depends on !BR2_LINUX_KERNEL - -comment "gcnano-binaries needs a glibc toolchain w/ threads, dynamic library" - depends on BR2_arm - depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS - -config BR2_PACKAGE_GCNANO_BINARIES - bool "gcnano-binaries" - depends on BR2_arm - depends on BR2_LINUX_KERNEL - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_HAS_LIBGLES - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_WAYLAND - help - Driver and libaries for stm vivante gcnano gpu. - https://github.com/STMicroelectronics/gcnano-binaries/ - -if BR2_PACKAGE_GCNANO_BINARIES - -config BR2_PACKAGE_PROVIDES_LIBEGL - default "gcnano-binaries" - -config BR2_PACKAGE_PROVIDES_LIBGLES - default "gcnano-binaries" - -endif diff --git a/buildroot-2021.05/package/gcnano-binaries/gcnano-binaries.hash b/buildroot-2021.05/package/gcnano-binaries/gcnano-binaries.hash deleted file mode 100644 index e753f944..00000000 --- a/buildroot-2021.05/package/gcnano-binaries/gcnano-binaries.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 255db9c58627f5f54fd15263647cc97a55927363fec42e7c8d7486170a65d84d gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed.tar.gz -sha256 7d209718473d18f69f75adb7caf9cb5d4b0a31da068756aa011bea617de3dc57 EULA diff --git a/buildroot-2021.05/package/gcnano-binaries/gcnano-binaries.mk b/buildroot-2021.05/package/gcnano-binaries/gcnano-binaries.mk deleted file mode 100644 index b27571a0..00000000 --- a/buildroot-2021.05/package/gcnano-binaries/gcnano-binaries.mk +++ /dev/null @@ -1,76 +0,0 @@ -################################################################################ -# -# gcnano-binaries -# -################################################################################ - -GCNANO_BINARIES_LIB_VERSION = 6.2.4 -GCNANO_BINARIES_DRIVER_VERSION = $(GCNANO_BINARIES_LIB_VERSION).p4 -GCNANO_BINARIES_USERLAND_VERSION = $(GCNANO_BINARIES_LIB_VERSION).p4-20190626 -GCNANO_BINARIES_VERSION = c01642ed5e18cf09ecd905af193e935cb3be95ed -GCNANO_BINARIES_SITE = $(call github,STMicroelectronics,gcnano-binaries,$(GCNANO_BINARIES_VERSION)) - -GCNANO_BINARIES_LICENSE = MIT, Vivante End User Software License Terms -GCNANO_BINARIES_LICENSE_FILES = EULA -GCNANO_BINARIES_REDISTRIBUTE = NO - -GCNANO_BINARIES_DEPENDENCIES = linux wayland libdrm - -GCNANO_BINARIES_INSTALL_STAGING = YES - -GCNANO_BINARIES_PROVIDES = libegl libgles - -# The Github repository doesn't contain the source code as-is: it -# contains a tarball with the kernel driver source code, and a -# self-extractible binary for the user-space parts. So we extract both -# below, and also extract the EULA text from the self-extractible binary -define GCNANO_BINARIES_EXTRACT_HELPER - tar --strip-components=1 -xJf $(@D)/gcnano-driver-$(GCNANO_BINARIES_DRIVER_VERSION).tar.xz -C $(@D) - awk 'BEGIN { start = 0; } \ - /^EOEULA/ { start = 0; } \ - { if (start) print; } \ - /< $(@D)/EULA - cd $(@D) && sh gcnano-userland-multi-$(GCNANO_BINARIES_USERLAND_VERSION).bin --auto-accept -endef - -GCNANO_BINARIES_POST_EXTRACT_HOOKS += GCNANO_BINARIES_EXTRACT_HELPER - -GCNANO_BINARIES_MODULE_MAKE_OPTS = \ - KERNEL_DIR=$(LINUX_DIR) \ - SOC_PLATFORM=st-st \ - AQROOT=$(@D) \ - DEBUG=0 - -GCNANO_BINARIES_LIBRARIES = \ - gbm_viv libEGL libGAL libgbm libGLESv1_CM \ - libGLESv2 libGLSLC libOpenVG libVSC - -GCNANO_BINARIES_USERLAND_SUBDIR = gcnano-userland-multi-$(GCNANO_BINARIES_USERLAND_VERSION) - -GCNANO_BINARIES_PKG_CONFIGS = egl gbm glesv1_cm glesv2 vg - -define GCNANO_BINARIES_INSTALL - $(foreach lib,$(GCNANO_BINARIES_LIBRARIES), \ - $(INSTALL) -D -m 0755 $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/lib/$(lib).$(GCNANO_BINARIES_LIB_VERSION).multi.release.so \ - $(1)/usr/lib/$(lib).$(GCNANO_BINARIES_LIB_VERSION).multi.release.so ; \ - cp -a $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/lib/$(lib).so* $(1)/usr/lib - ) - mkdir -p $(1)/usr/include - cp -a $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/include/* $(1)/usr/include/ - $(foreach pkgconfig,$(GCNANO_BINARIES_PKG_CONFIGS), \ - $(INSTALL) -D -m 0644 $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/lib/pkgconfig/$(pkgconfig).pc \ - $(1)/usr/lib/pkgconfig/$(pkgconfig).pc - ) -endef - -define GCNANO_BINARIES_INSTALL_TARGET_CMDS - $(call GCNANO_BINARIES_INSTALL,$(TARGET_DIR)) -endef - -define GCNANO_BINARIES_INSTALL_STAGING_CMDS - $(call GCNANO_BINARIES_INSTALL,$(STAGING_DIR)) -endef - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/gcr/gcr.hash b/buildroot-2021.05/package/gcr/gcr.hash deleted file mode 100644 index 7d5786db..00000000 --- a/buildroot-2021.05/package/gcr/gcr.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From http://ftp.acc.umu.se/pub/gnome/sources/gcr/3.34/gcr-3.34.0.sha256sum -sha256 29df50974a90987af694c0fb8926a6b366e68cacd8abd813817cfe1eb5d54524 gcr-3.34.0.tar.xz -sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 COPYING diff --git a/buildroot-2021.05/package/gcr/gcr.mk b/buildroot-2021.05/package/gcr/gcr.mk deleted file mode 100644 index 97a0e220..00000000 --- a/buildroot-2021.05/package/gcr/gcr.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# gcr -# -################################################################################ - -GCR_VERSION_MAJOR = 3.34 -GCR_VERSION = $(GCR_VERSION_MAJOR).0 -GCR_SITE = http://ftp.acc.umu.se/pub/gnome/sources/gcr/$(GCR_VERSION_MAJOR) -GCR_SOURCE = gcr-$(GCR_VERSION).tar.xz -GCR_DEPENDENCIES = \ - host-pkgconf \ - libgcrypt \ - libglib2 \ - p11-kit \ - $(TARGET_NLS_DEPENDENCIES) -GCR_INSTALL_STAGING = YES -GCR_CONF_ENV = ac_cv_path_GNUPG=/usr/bin/gpg2 -GCR_CONF_OPTS = \ - --disable-gtk-doc \ - --with-libgcrypt-prefix=$(STAGING_DIR)/usr -# Even though COPYING is v2 the code states v2.1+ -GCR_LICENSE = LGPL-2.1+ -GCR_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GCR_DEPENDENCIES += gobject-introspection host-libxslt -GCR_CONF_OPTS += --with-introspection -else -GCR_CONF_OPTS += --without-introspection -endif - -# Only the X11 backend is supported for the simple GUI -ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) -GCR_DEPENDENCIES += libgtk3 -GCR_CONF_OPTS += --with-gtk -else -GCR_CONF_OPTS += --without-gtk -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gd/gd.hash b/buildroot-2021.05/package/gd/gd.hash deleted file mode 100644 index 25e64e80..00000000 --- a/buildroot-2021.05/package/gd/gd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 478a047084e0d89b83616e4c2cf3c9438175fb0cc55d8c8967f06e0427f7d7fb libgd-2.3.2.tar.xz -sha256 4d80b4af6c38d7a65128c881623dee2a5daee6b3a6ccab74a5cdfa0dfda96da7 COPYING diff --git a/buildroot-2021.05/package/gd/gd.mk b/buildroot-2021.05/package/gd/gd.mk deleted file mode 100644 index 2df81e6d..00000000 --- a/buildroot-2021.05/package/gd/gd.mk +++ /dev/null @@ -1,96 +0,0 @@ -################################################################################ -# -# gd -# -################################################################################ - -GD_VERSION = 2.3.2 -GD_SOURCE = libgd-$(GD_VERSION).tar.xz -GD_SITE = https://github.com/libgd/libgd/releases/download/gd-$(GD_VERSION) -GD_INSTALL_STAGING = YES -GD_LICENSE = GD license -GD_LICENSE_FILES = COPYING -GD_CPE_ID_VENDOR = libgd -GD_CPE_ID_PRODUCT = libgd -GD_CONF_OPTS = --without-x --disable-rpath --disable-werror -GD_DEPENDENCIES = host-pkgconf - -# gd forgets to link utilities with -pthread even though it uses -# pthreads, causing linking errors with static linking -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -GD_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread" -endif - -ifeq ($(BR2_PACKAGE_FONTCONFIG),y) -GD_DEPENDENCIES += fontconfig -GD_CONF_OPTS += --with-fontconfig -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -GD_DEPENDENCIES += freetype -GD_CONF_OPTS += --with-freetype=$(STAGING_DIR)/usr -else -GD_CONF_OPTS += --without-freetype -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -GD_DEPENDENCIES += libiconv -# not strictly needed for gd, but ensures -liconv ends up in gdlib.pc -GD_CONF_ENV += LIBS_PRIVATES="-liconv" -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -GD_DEPENDENCIES += jpeg -GD_CONF_OPTS += --with-jpeg -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -GD_DEPENDENCIES += libpng -GD_CONF_OPTS += --with-png -else -GD_CONF_OPTS += --without-png -endif - -ifeq ($(BR2_PACKAGE_WEBP),y) -GD_DEPENDENCIES += webp -GD_CONF_OPTS += --with-webp -else -GD_CONF_OPTS += --without-webp -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -GD_DEPENDENCIES += tiff -GD_CONF_OPTS += --with-tiff -else -GD_CONF_OPTS += --without-tiff -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y) -GD_DEPENDENCIES += xlib_libXpm -GD_CONF_OPTS += --with-xpm -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -GD_DEPENDENCIES += zlib -endif - -GD_TOOLS_$(BR2_PACKAGE_GD_ANNOTATE) += annotate -GD_TOOLS_$(BR2_PACKAGE_GD_BDFTOGD) += bdftogd -GD_TOOLS_$(BR2_PACKAGE_GD_GD2COPYPAL) += gd2copypal -GD_TOOLS_$(BR2_PACKAGE_GD_GD2TOGIF) += gd2togif -GD_TOOLS_$(BR2_PACKAGE_GD_GD2TOPNG) += gd2topng -GD_TOOLS_$(BR2_PACKAGE_GD_GDCMPGIF) += gdcmpgif -GD_TOOLS_$(BR2_PACKAGE_GD_GDPARTTOPNG) += gdparttopng -GD_TOOLS_$(BR2_PACKAGE_GD_GDTOPNG) += gdtopng -GD_TOOLS_$(BR2_PACKAGE_GD_GIFTOGD2) += giftogd2 -GD_TOOLS_$(BR2_PACKAGE_GD_PNGTOGD) += pngtogd -GD_TOOLS_$(BR2_PACKAGE_GD_PNGTOGD2) += pngtogd2 -GD_TOOLS_$(BR2_PACKAGE_GD_WEBPNG) += webpng - -define GD_REMOVE_TOOLS - rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(GD_TOOLS_)) -endef - -GD_POST_INSTALL_TARGET_HOOKS += GD_REMOVE_TOOLS - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gdb/8.3.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch b/buildroot-2021.05/package/gdb/8.3.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch deleted file mode 100644 index 394e7a2c..00000000 --- a/buildroot-2021.05/package/gdb/8.3.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch +++ /dev/null @@ -1,53 +0,0 @@ -From d84ecfa3a8c8fbade89229ac66c09f2a97ab00fb Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 24 Jun 2018 23:33:55 +0200 -Subject: [PATCH] nat/fork-inferior: include linux-ptrace.h - -To decide whether fork() or vfork() should be used, fork-inferior.c -uses the following test: - - #if !(defined(__UCLIBC__) && defined(HAS_NOMMU)) - -However, HAS_NOMMU is never defined, because it gets defined in -linux-ptrace.h, which is not included by fork-inferior.c. Due to this, -gdbserver fails to build on noMMU architectures. This commit fixes -that by simply including linux-ptrace.h. - -This bug was introduced by commit -2090129c36c7e582943b7d300968d19b46160d84 ("Share fork_inferior et al -with gdbserver"). Indeed, the same fork()/vfork() selection was done, -but in another file where linux-ptrace.h was included. - -Fixes the following build issue: - -../nat/fork-inferior.c: In function 'pid_t fork_inferior(const char*, const string&, char**, void (*)(), void (*)(int), void (*)(), const char*, void (*)(const char*, char* const*, char* const*))': -../nat/fork-inferior.c:376:11: error: 'fork' was not declared in this scope - pid = fork (); - ^~~~ -../nat/fork-inferior.c:376:11: note: suggested alternative: 'vfork' - pid = fork (); - ^~~~ - vfork - -Signed-off-by: Thomas Petazzoni -[Romain: rebase on gdb 8.3] -Signed-off-by: Romain Naour ---- - gdb/nat/fork-inferior.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/gdb/nat/fork-inferior.c b/gdb/nat/fork-inferior.c -index fe9360a5039..626fe7c1fbf 100644 ---- a/gdb/nat/fork-inferior.c -+++ b/gdb/nat/fork-inferior.c -@@ -27,6 +27,7 @@ - #include "common/pathstuff.h" - #include "common/signals-state-save-restore.h" - #include "common/gdb_tilde_expand.h" -+#include "linux-ptrace.h" - #include - - extern char **environ; --- -2.21.0 - diff --git a/buildroot-2021.05/package/gdb/8.3.1/0006-Fix-incorrect-use-of-is-operator-for-comparison-in-p.patch b/buildroot-2021.05/package/gdb/8.3.1/0006-Fix-incorrect-use-of-is-operator-for-comparison-in-p.patch deleted file mode 100644 index 989a5b13..00000000 --- a/buildroot-2021.05/package/gdb/8.3.1/0006-Fix-incorrect-use-of-is-operator-for-comparison-in-p.patch +++ /dev/null @@ -1,42 +0,0 @@ -From e00c211d51bec301cf04719b77076a8783ef44b5 Mon Sep 17 00:00:00 2001 -From: Raul Tambre -Date: Sat, 4 May 2019 15:48:17 -0400 -Subject: [PATCH] Fix incorrect use of 'is' operator for comparison in - python/lib/gdb/command/prompt.py - -The 'is' operator is not meant to be used for comparisons. It currently working -is an implementation detail of CPython. CPython 3.8 has added a SyntaxWarning -for this. - -(cherry picked from commit b6484282f85bf7f11451b2441599c241d302ad9d) -[Romain: backport to gdb 8.x] -Signed-off-by: Romain Naour ---- - gdb/python/lib/gdb/command/prompt.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/gdb/python/lib/gdb/command/prompt.py b/gdb/python/lib/gdb/command/prompt.py -index 3d662a7d3f..04b9e49c22 100644 ---- a/gdb/python/lib/gdb/command/prompt.py -+++ b/gdb/python/lib/gdb/command/prompt.py -@@ -45,7 +45,7 @@ The currently defined substitutions are: - self.hook_set = False - - def get_show_string (self, pvalue): -- if self.value is not '': -+ if self.value: - return "The extended prompt is: " + self.value - else: - return "The extended prompt is not set." -@@ -57,7 +57,7 @@ The currently defined substitutions are: - return "" - - def before_prompt_hook(self, current): -- if self.value is not '': -+ if self.value: - return gdb.prompt.substitute_prompt(self.value) - else: - return None --- -2.25.4 - diff --git a/buildroot-2021.05/package/gdb/9.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/buildroot-2021.05/package/gdb/9.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch deleted file mode 100644 index ab8dc626..00000000 --- a/buildroot-2021.05/package/gdb/9.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 72ee19f54fd35595465b2e35eccf1f3d65fe21c6 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 6 Aug 2016 17:32:50 -0700 -Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems - -Upstream-Status: Pending - -Signed-off-by: Khem Raj -Signed-off-by: Thomas Petazzoni -[Rebase on gdb 8.3] -Signed-off-by: Romain Naour ---- - gdb/gdbserver/linux-ppc-low.c | 6 ++++++ - gdb/nat/ppc-linux.h | 6 ++++++ - 2 files changed, 12 insertions(+) - -diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c -index 1b695e53fe9..1978347c02c 100644 ---- a/gdb/gdbserver/linux-ppc-low.c -+++ b/gdb/gdbserver/linux-ppc-low.c -@@ -23,7 +23,13 @@ - #include "elf/common.h" - #include - #include -+#if !defined(__GLIBC__) -+# define pt_regs uapi_pt_regs -+#endif - #include -+#if !defined(__GLIBC__) -+# undef pt_regs -+#endif - - #include "arch/ppc-linux-common.h" - #include "arch/ppc-linux-tdesc.h" -diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h -index f1561b3b357..40399361c09 100644 ---- a/gdb/nat/ppc-linux.h -+++ b/gdb/nat/ppc-linux.h -@@ -18,7 +18,13 @@ - #ifndef NAT_PPC_LINUX_H - #define NAT_PPC_LINUX_H - -+#if !defined(__GLIBC__) -+# define pt_regs uapi_pt_regs -+#endif - #include -+#if !defined(__GLIBC__) -+# undef pt_regs -+#endif - #include - - /* This sometimes isn't defined. */ --- -2.21.0 - diff --git a/buildroot-2021.05/package/gdb/9.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch b/buildroot-2021.05/package/gdb/9.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch deleted file mode 100644 index 9d508fbf..00000000 --- a/buildroot-2021.05/package/gdb/9.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch +++ /dev/null @@ -1,43 +0,0 @@ -From ef630288fdc2d4d22651702672f9d5c9cd767e5b Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 3 Jun 2017 21:23:52 +0200 -Subject: [PATCH] sh/ptrace: Define pt_{dsp,}regs uapi_pt_{dsp,}regs on !GLIBC - systems - -Fixes a pt_{dsp,}regs redefinition when building with the musl C library -on SuperH. - -Inspired by -http://git.yoctoproject.org/clean/cgit.cgi/poky/plain/meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch, -adapted for SuperH. - -Signed-off-by: Thomas Petazzoni -[Rebase on gdb 8.0] -Signed-off-by: Romain Naour ---- - gdb/gdbserver/linux-sh-low.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/gdb/gdbserver/linux-sh-low.c b/gdb/gdbserver/linux-sh-low.c -index 0953721a190..c331c1382f7 100644 ---- a/gdb/gdbserver/linux-sh-low.c -+++ b/gdb/gdbserver/linux-sh-low.c -@@ -27,7 +27,15 @@ extern const struct target_desc *tdesc_sh; - #include - #endif - -+#if !defined(__GLIBC__) -+# define pt_regs uapi_pt_regs -+# define pt_dspregs uapi_pt_dspregs -+#endif - #include -+#if !defined(__GLIBC__) -+# undef pt_regs -+# undef pt_dspregs -+#endif - - #define sh_num_regs 41 - --- -2.21.0 - diff --git a/buildroot-2021.05/package/gdb/9.2/0003-use-asm-sgidefs.h.patch b/buildroot-2021.05/package/gdb/9.2/0003-use-asm-sgidefs.h.patch deleted file mode 100644 index 2909f62c..00000000 --- a/buildroot-2021.05/package/gdb/9.2/0003-use-asm-sgidefs.h.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 19a0f664809b6858e69aa98188eb739415de044c Mon Sep 17 00:00:00 2001 -From: Andre McCurdy -Date: Sat, 30 Apr 2016 15:29:06 -0700 -Subject: [PATCH] use - -Build fix for MIPS with musl libc - -The MIPS specific header is provided by glibc and uclibc -but not by musl. Regardless of the libc, the kernel headers provide - which provides the same definitions, so use that -instead. - -Upstream-Status: Pending - -[Vincent: -Taken from: https://sourceware.org/bugzilla/show_bug.cgi?id=21070] - -Signed-off-by: Andre McCurdy -Signed-off-by: Khem Raj -Signed-off-by: Vicente Olivert Riera ---- - gdb/mips-linux-nat.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c -index e68ed1e4da9..bc42aa59685 100644 ---- a/gdb/mips-linux-nat.c -+++ b/gdb/mips-linux-nat.c -@@ -31,7 +31,7 @@ - #include "gdb_proc_service.h" - #include "gregset.h" - --#include -+#include - #include "nat/gdb_ptrace.h" - #include - #include "inf-ptrace.h" --- -2.21.0 - diff --git a/buildroot-2021.05/package/gdb/9.2/0004-gdbserver-fix-build-for-m68k.patch b/buildroot-2021.05/package/gdb/9.2/0004-gdbserver-fix-build-for-m68k.patch deleted file mode 100644 index d7182938..00000000 --- a/buildroot-2021.05/package/gdb/9.2/0004-gdbserver-fix-build-for-m68k.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 448e481aab86c823d908530038e20a14213db0a2 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 22 Jun 2018 22:40:26 +0200 -Subject: [PATCH] gdbserver: fix build for m68k -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -As for strace [1], when is included after , -the build fails on m68k with the following diagnostics: - -In file included from ./../nat/linux-ptrace.h:28:0, - from linux-low.h:27, - from linux-m68k-low.c:20: -[...]/usr/include/sys/reg.h:26:3: error: expected identifier before numeric constant - PT_D1 = 0, - ^ -[...]usr/include/sys/reg.h:26:3: error: expected « } » before numeric constant -[...]usr/include/sys/reg.h:26:3: error: expected unqualified-id before numeric constant -In file included from linux-m68k-low.c:27:0: -[...]usr/include/sys/reg.h:99:1: error: expected declaration before « } » token - }; - ^ - -Fix this by moving on top of "linux-low.h". - -[1] https://github.com/strace/strace/commit/6ebf6c4f9e5ebca123a5b5f24afe67cf0473cf92 - -Signed-off-by: Romain Naour ---- - gdb/gdbserver/linux-m68k-low.c | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/gdb/gdbserver/linux-m68k-low.c b/gdb/gdbserver/linux-m68k-low.c -index 16f639d02fc..969d9973737 100644 ---- a/gdb/gdbserver/linux-m68k-low.c -+++ b/gdb/gdbserver/linux-m68k-low.c -@@ -17,16 +17,17 @@ - along with this program. If not, see . */ - - #include "server.h" -+ -+#ifdef HAVE_SYS_REG_H -+#include -+#endif -+ - #include "linux-low.h" - - /* Defined in auto-generated file reg-m68k.c. */ - void init_registers_m68k (void); - extern const struct target_desc *tdesc_m68k; - --#ifdef HAVE_SYS_REG_H --#include --#endif -- - #define m68k_num_regs 29 - #define m68k_num_gregs 18 - --- -2.21.0 - diff --git a/buildroot-2021.05/package/gdb/Config.in b/buildroot-2021.05/package/gdb/Config.in deleted file mode 100644 index b1aa5e47..00000000 --- a/buildroot-2021.05/package/gdb/Config.in +++ /dev/null @@ -1,89 +0,0 @@ -config BR2_PACKAGE_GDB_ARCH_SUPPORTS - bool - default y - depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) - depends on !BR2_microblaze - depends on !BR2_nios2 - depends on !BR2_or1k - depends on !BR2_nds32 - -comment "gdb/gdbserver needs a toolchain w/ threads, threads debug" - depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG - -comment "gdb/gdbserver >= 8.x needs a toolchain w/ C++, gcc >= 4.8" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -config BR2_PACKAGE_GDB - bool "gdb" - depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG - depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_INSTALL_LIBSTDCPP - # no gdbserver on riscv - select BR2_PACKAGE_GDB_DEBUGGER if BR2_riscv - # When the external toolchain gdbserver is copied to the - # target, we don't allow building a separate gdbserver. The - # one from the external toolchain should be used. - select BR2_PACKAGE_GDB_SERVER if \ - (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY) - help - GDB, the GNU Project debugger, allows you to see what is - going on `inside' another program while it executes -- or - what another program was doing at the moment it crashed. - - This option allows to build gdbserver and/or the gdb - debugger for the target. - - For embedded development, the most common solution is to - build only 'gdbserver' for the target, and use a cross-gdb - on the host. See BR2_PACKAGE_HOST_GDB in the Toolchain menu - to enable one. Notice that external toolchains often provide - their own pre-built cross-gdb and gdbserver binaries. - - http://www.gnu.org/software/gdb/ - -if BR2_PACKAGE_GDB - -config BR2_PACKAGE_GDB_SERVER - bool "gdbserver" - depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY - depends on !BR2_riscv - help - Build the gdbserver stub to run on the target. - A full gdb is needed to debug the progam. - -config BR2_PACKAGE_GDB_DEBUGGER - bool "full debugger" - depends on BR2_USE_WCHAR - depends on !BR2_sh - depends on !BR2_csky - select BR2_PACKAGE_NCURSES - -comment "full gdb on target needs a toolchain w/ wchar" - depends on !BR2_sh - depends on !BR2_USE_WCHAR - -if BR2_PACKAGE_GDB_DEBUGGER - -config BR2_PACKAGE_GDB_TUI - bool "TUI support" - help - This option enables terminal user interface (TUI) for gdb - - "The GDB Text User Interface (TUI) is a terminal interface - which uses the curses library to show the source file, the - assembly output, the program registers and GDB commands in - separate text windows." - - https://sourceware.org/gdb/current/onlinedocs/gdb/TUI.html - -config BR2_PACKAGE_GDB_PYTHON - bool "Python support" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - help - This option enables Python support in the target gdb. - -endif - -endif diff --git a/buildroot-2021.05/package/gdb/Config.in.host b/buildroot-2021.05/package/gdb/Config.in.host deleted file mode 100644 index 9ac939ec..00000000 --- a/buildroot-2021.05/package/gdb/Config.in.host +++ /dev/null @@ -1,93 +0,0 @@ -config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS - bool - default y - depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) - depends on !BR2_microblaze - depends on !BR2_nios2 - depends on !BR2_or1k - depends on !BR2_riscv - depends on !BR2_nds32 - -comment "Host GDB Options" - depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY - depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS - -config BR2_PACKAGE_HOST_GDB - bool "Build cross gdb for the host" - # When the external toolchain gdbserver is used, we shouldn't - # allow to build a cross-gdb, as the one of the external - # toolchain should be used. - depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY - depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS - help - Build a cross gdb that runs on the host machine and debugs - programs running on the target. It requires 'gdbserver' - installed on the target, see BR2_PACKAGE_GDB_SERVER to - enable it. - -if BR2_PACKAGE_HOST_GDB - -config BR2_PACKAGE_HOST_GDB_TUI - bool "TUI support" - help - This option enables terminal user interface (TUI) for gdb - -choice - prompt "Python support" - default BR2_PACKAGE_HOST_GDB_NOPYTHON - help - Select the version of Python you wish to use - -config BR2_PACKAGE_HOST_GDB_NOPYTHON - bool "None" - help - This option disables Python support in the cross gdb. - -config BR2_PACKAGE_HOST_GDB_PYTHON - bool "Python 2" - help - This option enables the Python 2 support in the cross gdb. - -config BR2_PACKAGE_HOST_GDB_PYTHON3 - bool "Python 3" - help - This option enables the Python 3 support in the cross gdb. - -endchoice - -config BR2_PACKAGE_HOST_GDB_SIM - bool "Simulator support" - depends on !BR2_arc - help - This option enables the simulator support in the cross gdb. - -choice - prompt "GDB debugger Version" - default BR2_GDB_VERSION_9_2 - depends on !BR2_arc - depends on !BR2_csky - help - Select the version of gdb you wish to use. - -config BR2_GDB_VERSION_8_3 - bool "gdb 8.3.x" - -config BR2_GDB_VERSION_9_2 - bool "gdb 9.2.x" - -config BR2_GDB_VERSION_10 - bool "gdb 10.x" - -endchoice - -endif - -# If cross-gdb is not enabled, the latest working version is chosen. -config BR2_GDB_VERSION - string - default "arc-2020.09-release-gdb" if BR2_arc - default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky - default "8.3.1" if BR2_GDB_VERSION_8_3 - default "9.2" if BR2_GDB_VERSION_9_2 || !BR2_PACKAGE_HOST_GDB - default "10.1" if BR2_GDB_VERSION_10 - depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB diff --git a/buildroot-2021.05/package/gdb/gdb.hash b/buildroot-2021.05/package/gdb/gdb.hash deleted file mode 100644 index 3b4845d6..00000000 --- a/buildroot-2021.05/package/gdb/gdb.hash +++ /dev/null @@ -1,10 +0,0 @@ -# From ftp://gcc.gnu.org/pub/gdb/releases/sha512.sum -sha512 9053a2dc6b9eb921907afbc4cecc75d635aa76df5e8c4f0e5824ccf57cb206b299c19b127fff000b65c334826ff8304a54ff6098428365a8e997cca886c39e9a gdb-8.3.1.tar.xz -sha512 73635f00f343117aa5e2436f1e1597099e2bfb31ef7bb162b273fa1ea282c3fa9b0f52762e70bfc7ad0334addb8d159e9ac7cbe5998ca4f755ea8cf90714d274 gdb-9.2.tar.xz -sha512 0dc54380435c6853db60f1e388b94836d294dfa9ad7f518385a27db4edd03cb970f8717d5f1e9c9a0d4a33d7fcf91bc2e5d6c9cf9e4b561dcc74e65b806c1537 gdb-10.1.tar.xz - -# Locally calculated (fetched from Github) -sha512 5a2acf2fd33ab2ff589e1037ca40abda54328997dcff26b2b49b874bd3be980be5a63342962254f3c3bda98e32ce7a33af704d37353352833dee193135600458 gdb-arc-2020.09-release-gdb.tar.gz - -# Locally calculated (fetched from https://github.com/c-sky/binutils-gdb) -sha512 c421e1f3c0d6cfb3c04544573c0c4b0075c8d8e3d563c6c234fcc1e4c2167ab203d1e57aec3b58abd348dc46f8cf9b47b753d3a43dba3ea970c9c9a6bd78c07b gdb-4ecb98fbc2f94dbe01b69384afbc515107de73df.tar.gz diff --git a/buildroot-2021.05/package/gdb/gdb.mk b/buildroot-2021.05/package/gdb/gdb.mk deleted file mode 100644 index 17e10e8b..00000000 --- a/buildroot-2021.05/package/gdb/gdb.mk +++ /dev/null @@ -1,322 +0,0 @@ -################################################################################ -# -# gdb -# -################################################################################ - -GDB_VERSION = $(call qstrip,$(BR2_GDB_VERSION)) -GDB_SITE = $(BR2_GNU_MIRROR)/gdb -GDB_SOURCE = gdb-$(GDB_VERSION).tar.xz - -# recent gdb versions (>= 10) have gdbserver moved at the top-level, -# which requires a different build logic. -ifeq ($(BR2_GDB_VERSION_10),y) -GDB_GDBSERVER_TOPLEVEL = y -endif - -ifeq ($(BR2_arc),y) -GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(GDB_VERSION)) -GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz -GDB_FROM_GIT = y -# recent gdb versions (>= 10) have gdbserver moved at the top-level, -# which requires a different build logic. -GDB_GDBSERVER_TOPLEVEL = y -endif - -ifeq ($(BR2_csky),y) -GDB_SITE = $(call github,c-sky,binutils-gdb,$(GDB_VERSION)) -GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz -GDB_FROM_GIT = y -endif - -GDB_LICENSE = GPL-2.0+, LGPL-2.0+, GPL-3.0+, LGPL-3.0+ -GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB -GDB_CPE_ID_VENDOR = gnu - -# On gdb < 10, if you want to build only gdbserver, you need to -# configure only gdb/gdbserver. -ifeq ($(BR2_PACKAGE_GDB_DEBUGGER)$(GDB_GDBSERVER_TOPLEVEL),) -GDB_SUBDIR = gdb/gdbserver - -# When we want to build the full gdb, or for very recent versions of -# gdb with gdbserver at the top-level, out of tree build is mandatory, -# so we create a 'build' subdirectory in the gdb sources, and build -# from there. -else -GDB_SUBDIR = build -define GDB_CONFIGURE_SYMLINK - mkdir -p $(@D)/$(GDB_SUBDIR) - ln -sf ../configure $(@D)/$(GDB_SUBDIR)/configure -endef -GDB_PRE_CONFIGURE_HOOKS += GDB_CONFIGURE_SYMLINK -endif - -# For the host variant, we really want to build with XML support, -# which is needed to read XML descriptions of target architectures. We -# also need ncurses. -# As for libiberty, gdb may use a system-installed one if present, so -# we must ensure ours is installed first. -HOST_GDB_DEPENDENCIES = host-expat host-libiberty host-ncurses - -# Disable building documentation -GDB_MAKE_OPTS += MAKEINFO=true -GDB_INSTALL_TARGET_OPTS += MAKEINFO=true DESTDIR=$(TARGET_DIR) install -HOST_GDB_MAKE_OPTS += MAKEINFO=true -HOST_GDB_INSTALL_OPTS += MAKEINFO=true install - -# Apply the Xtensa specific patches -ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) -define GDB_XTENSA_OVERLAY_EXTRACT - $(call arch-xtensa-overlay-extract,$(@D),gdb) -endef -GDB_POST_EXTRACT_HOOKS += GDB_XTENSA_OVERLAY_EXTRACT -GDB_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) -HOST_GDB_POST_EXTRACT_HOOKS += GDB_XTENSA_OVERLAY_EXTRACT -HOST_GDB_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) -endif - -ifeq ($(GDB_FROM_GIT),y) -GDB_DEPENDENCIES += host-flex host-bison -HOST_GDB_DEPENDENCIES += host-flex host-bison -endif - -# When gdb sources are fetched from the binutils-gdb repository, they -# also contain the binutils sources, but binutils shouldn't be built, -# so we disable it (additionally the option --disable-install-libbfd -# prevents the un-wanted installation of libobcodes.so and libbfd.so). -GDB_DISABLE_BINUTILS_CONF_OPTS = \ - --disable-binutils \ - --disable-install-libbfd \ - --disable-ld \ - --disable-gas \ - --disable-gprof - -GDB_CONF_ENV = \ - ac_cv_type_uintptr_t=yes \ - gt_cv_func_gettext_libintl=yes \ - ac_cv_func_dcgettext=yes \ - gdb_cv_func_sigsetjmp=yes \ - bash_cv_func_strcoll_broken=no \ - bash_cv_must_reinstall_sighandlers=no \ - bash_cv_func_sigsetjmp=present \ - bash_cv_have_mbstate_t=yes \ - gdb_cv_func_sigsetjmp=yes - -# Starting with gdb 7.11, the bundled gnulib tries to use -# rpl_gettimeofday (gettimeofday replacement) due to the code being -# unable to determine if the replacement function should be used or -# not when cross-compiling with uClibc or musl as C libraries. So use -# gl_cv_func_gettimeofday_clobber=no to not use rpl_gettimeofday, -# assuming musl and uClibc have a properly working gettimeofday -# implementation. It needs to be passed to GDB_CONF_ENV to build -# gdbserver only but also to GDB_MAKE_ENV, because otherwise it does -# not get passed to the configure script of nested packages while -# building gdbserver with full debugger. -GDB_CONF_ENV += gl_cv_func_gettimeofday_clobber=no -GDB_MAKE_ENV += gl_cv_func_gettimeofday_clobber=no - -# Similarly, starting with gdb 8.1, the bundled gnulib tries to use -# rpl_strerror. Let's tell gnulib the C library implementation works -# well enough. -GDB_CONF_ENV += \ - gl_cv_func_working_strerror=yes \ - gl_cv_func_strerror_0_works=yes -GDB_MAKE_ENV += \ - gl_cv_func_working_strerror=yes \ - gl_cv_func_strerror_0_works=yes - -# Starting with glibc 2.25, the proc_service.h header has been copied -# from gdb to glibc so other tools can use it. However, that makes it -# necessary to make sure that declaration of prfpregset_t declaration -# is consistent between gdb and glibc. In gdb, however, there is a -# workaround for a broken prfpregset_t declaration in glibc 2.3 which -# uses AC_TRY_RUN to detect if it's needed, which doesn't work in -# cross-compilation. So pass the cache option to configure. -# It needs to be passed to GDB_CONF_ENV to build gdbserver only but -# also to GDB_MAKE_ENV, because otherwise it does not get passed to the -# configure script of nested packages while building gdbserver with full -# debugger. -GDB_CONF_ENV += gdb_cv_prfpregset_t_broken=no -GDB_MAKE_ENV += gdb_cv_prfpregset_t_broken=no - -# The shared only build is not supported by gdb, so enable static build for -# build-in libraries with --enable-static. -GDB_CONF_OPTS = \ - --without-uiout \ - --disable-gdbtk \ - --without-x \ - --disable-sim \ - $(GDB_DISABLE_BINUTILS_CONF_OPTS) \ - --without-included-gettext \ - --disable-werror \ - --enable-static \ - --without-mpfr - -ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),y) -GDB_CONF_OPTS += \ - --enable-gdb \ - --with-curses -GDB_DEPENDENCIES = ncurses \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) -else -GDB_CONF_OPTS += \ - --disable-gdb \ - --without-curses -endif - -ifeq ($(BR2_PACKAGE_GDB_SERVER),y) -GDB_CONF_OPTS += --enable-gdbserver -else -GDB_CONF_OPTS += --disable-gdbserver -endif - -# When gdb is built as C++ application for ARC it segfaults at runtime -# So we pass --disable-build-with-cxx config option to force gdb not to -# be built as C++ app. -ifeq ($(BR2_arc),y) -GDB_CONF_OPTS += --disable-build-with-cxx -endif - -# gdb 7.12+ by default builds with a C++ compiler, which doesn't work -# when we don't have C++ support in the toolchain -ifneq ($(BR2_INSTALL_LIBSTDCPP),y) -GDB_CONF_OPTS += --disable-build-with-cxx -endif - -# inprocess-agent can't be built statically -ifeq ($(BR2_STATIC_LIBS),y) -GDB_CONF_OPTS += --disable-inprocess-agent -endif - -ifeq ($(BR2_PACKAGE_GDB_TUI),y) -GDB_CONF_OPTS += --enable-tui -else -GDB_CONF_OPTS += --disable-tui -endif - -ifeq ($(BR2_PACKAGE_GDB_PYTHON),y) -ifeq ($(BR2_PACKAGE_PYTHON3),y) -# CONF_ENV: for top-level configure; MAKE_ENV: for sub-projects' configure. -GDB_CONF_ENV += BR_PYTHON_VERSION=$(PYTHON3_VERSION_MAJOR) -GDB_MAKE_ENV += BR_PYTHON_VERSION=$(PYTHON3_VERSION_MAJOR) -GDB_DEPENDENCIES += python3 -else -# CONF_ENV: for top-level configure; MAKE_ENV: for sub-projects' configure. -GDB_CONF_ENV += BR_PYTHON_VERSION=$(PYTHON_VERSION_MAJOR) -GDB_MAKE_ENV += BR_PYTHON_VERSION=$(PYTHON_VERSION_MAJOR) -GDB_DEPENDENCIES += python -endif -GDB_CONF_OPTS += --with-python=$(TOPDIR)/package/gdb/gdb-python-config -else -GDB_CONF_OPTS += --without-python -endif - -ifeq ($(BR2_PACKAGE_EXPAT),y) -GDB_CONF_OPTS += --with-expat -GDB_CONF_OPTS += --with-libexpat-prefix=$(STAGING_DIR)/usr -GDB_DEPENDENCIES += expat -else -GDB_CONF_OPTS += --without-expat -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -GDB_CONF_OPTS += --with-lzma -GDB_CONF_OPTS += --with-liblzma-prefix=$(STAGING_DIR)/usr -GDB_DEPENDENCIES += xz -else -GDB_CONF_OPTS += --without-lzma -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -GDB_CONF_OPTS += --with-zlib -GDB_DEPENDENCIES += zlib -else -GDB_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_GDB_PYTHON),) -# This removes some unneeded Python scripts and XML target description -# files that are not useful for a normal usage of the debugger. -define GDB_REMOVE_UNNEEDED_FILES - $(RM) -rf $(TARGET_DIR)/usr/share/gdb -endef - -GDB_POST_INSTALL_TARGET_HOOKS += GDB_REMOVE_UNNEEDED_FILES -endif - -# This installs the gdbserver somewhere into the $(HOST_DIR) so that -# it becomes an integral part of the SDK, if the toolchain generated -# by Buildroot is later used as an external toolchain. We install it -# in debug-root/usr/bin/gdbserver so that it matches what Crosstool-NG -# does. -define GDB_SDK_INSTALL_GDBSERVER - $(INSTALL) -D -m 0755 $(TARGET_DIR)/usr/bin/gdbserver \ - $(HOST_DIR)/$(GNU_TARGET_NAME)/debug-root/usr/bin/gdbserver -endef - -ifeq ($(BR2_PACKAGE_GDB_SERVER),y) -GDB_POST_INSTALL_TARGET_HOOKS += GDB_SDK_INSTALL_GDBSERVER -endif - -# A few notes: -# * --target, because we're doing a cross build rather than a real -# host build. -# * --enable-static because gdb really wants to use libbfd.a -HOST_GDB_CONF_OPTS = \ - --target=$(GNU_TARGET_NAME) \ - --enable-static \ - --without-uiout \ - --disable-gdbtk \ - --without-x \ - --enable-threads \ - --disable-werror \ - --without-included-gettext \ - --with-curses \ - --without-mpfr \ - $(GDB_DISABLE_BINUTILS_CONF_OPTS) - -ifeq ($(BR2_PACKAGE_HOST_GDB_TUI),y) -HOST_GDB_CONF_OPTS += --enable-tui -else -HOST_GDB_CONF_OPTS += --disable-tui -endif - -ifeq ($(BR2_PACKAGE_HOST_GDB_PYTHON),y) -HOST_GDB_CONF_OPTS += --with-python=$(HOST_DIR)/bin/python2 -HOST_GDB_DEPENDENCIES += host-python -else ifeq ($(BR2_PACKAGE_HOST_GDB_PYTHON3),y) -HOST_GDB_CONF_OPTS += --with-python=$(HOST_DIR)/bin/python3 -HOST_GDB_DEPENDENCIES += host-python3 -else -HOST_GDB_CONF_OPTS += --without-python -endif - -ifeq ($(BR2_PACKAGE_HOST_GDB_SIM),y) -HOST_GDB_CONF_OPTS += --enable-sim -else -HOST_GDB_CONF_OPTS += --disable-sim -endif - -# Since gdb 9, in-tree builds for GDB are not allowed anymore, -# so we create a 'build' subdirectory in the gdb sources, and -# build from there. -HOST_GDB_SUBDIR = build - -define HOST_GDB_CONFIGURE_SYMLINK - mkdir -p $(@D)/build - ln -sf ../configure $(@D)/build/configure -endef -HOST_GDB_PRE_CONFIGURE_HOOKS += HOST_GDB_CONFIGURE_SYMLINK - -# legacy $arch-linux-gdb symlink -define HOST_GDB_ADD_SYMLINK - cd $(HOST_DIR)/bin && \ - ln -snf $(GNU_TARGET_NAME)-gdb $(ARCH)-linux-gdb -endef - -HOST_GDB_POST_INSTALL_HOOKS += HOST_GDB_ADD_SYMLINK - -HOST_GDB_POST_INSTALL_HOOKS += gen_gdbinit_file - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gdbm/0001-fix-build-with-gcc-10.patch b/buildroot-2021.05/package/gdbm/0001-fix-build-with-gcc-10.patch deleted file mode 100644 index cd1417c8..00000000 --- a/buildroot-2021.05/package/gdbm/0001-fix-build-with-gcc-10.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 9fecb6ce056f25837dffac95260d5a80b9f468c0 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Wed, 19 Aug 2020 10:37:07 +0200 -Subject: [PATCH] fix build with gcc 10 - -Move initialisation of global variables to main functions to fix the -following build failure with gcc 10: - -/tmp/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: ./libgdbmapp.a(parseopt.o):(.bss+0x2c): multiple definition of `parseopt_program_args'; gdbm_dump.o:(.data.rel.local+0x28): first defined here -/tmp/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: ./libgdbmapp.a(parseopt.o):(.bss+0x30): multiple definition of `parseopt_program_doc'; gdbm_dump.o:(.data.rel.local+0x2c): first defined here -/tmp/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: ./libgdbmapp.a(parseopt.o):(.bss+0x2c): multiple definition of `parseopt_program_args'; gdbm_load.o:(.data.rel.local+0xa0): first defined here -/tmp/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: ./libgdbmapp.a(parseopt.o):(.bss+0x30): multiple definition of `parseopt_program_doc'; gdbm_load.o:(.data.rel.local+0xa4): first defined here - -Fixes: - - http://autobuild.buildroot.org/results/d09b5368bb624df629296359a5abcdd37ba61e9e - -Signed-off-by: Fabrice Fontaine -[Upstream status: sent to Sergey Poznyakoff ] ---- - src/gdbm_dump.c | 5 +++-- - src/gdbm_load.c | 5 +++-- - src/gdbmtool.c | 5 +++-- - 3 files changed, 9 insertions(+), 6 deletions(-) - -diff --git a/src/gdbm_dump.c b/src/gdbm_dump.c -index 82fb5af..67574ac 100644 ---- a/src/gdbm_dump.c -+++ b/src/gdbm_dump.c -@@ -19,8 +19,6 @@ - # include "gdbmapp.h" - # include "gdbmdefs.h" - --char *parseopt_program_doc = "dump a GDBM database to a file"; --char *parseopt_program_args = "DB_FILE [FILE]"; - struct gdbm_option optab[] = { - { 'H', "format", "binary|ascii|0|1", N_("select dump format") }, - { 0 } -@@ -36,6 +34,9 @@ main (int argc, char **argv) - char *dbname, *filename; - FILE *fp; - -+ parseopt_program_doc = "dump a GDBM database to a file"; -+ parseopt_program_args = "DB_FILE [FILE]"; -+ - #ifdef HAVE_SETLOCALE - setlocale (LC_ALL, ""); - #endif -diff --git a/src/gdbm_load.c b/src/gdbm_load.c -index 2d96ada..1b2739c 100644 ---- a/src/gdbm_load.c -+++ b/src/gdbm_load.c -@@ -29,8 +29,6 @@ int mode; - uid_t owner_uid; - gid_t owner_gid; - --char *parseopt_program_doc = "load a GDBM database from a file"; --char *parseopt_program_args = "FILE [DB_FILE]"; - struct gdbm_option optab[] = { - { 'r', "replace", NULL, N_("replace records in the existing database") }, - { 'm', "mode", N_("MODE"), N_("set file mode") }, -@@ -100,6 +98,9 @@ main (int argc, char **argv) - int cache_size = 0; - int block_size = 0; - -+ parseopt_program_doc = "load a GDBM database from a file"; -+ parseopt_program_args = "FILE [DB_FILE]"; -+ - #ifdef HAVE_SETLOCALE - setlocale (LC_ALL, ""); - #endif -diff --git a/src/gdbmtool.c b/src/gdbmtool.c -index bbadbae..69bc3b1 100644 ---- a/src/gdbmtool.c -+++ b/src/gdbmtool.c -@@ -1535,8 +1535,6 @@ command_lookup (const char *str, struct locus *loc, struct command **pcmd) - return found->tok; - } - --char *parseopt_program_doc = N_("examine and/or modify a GDBM database"); --char *parseopt_program_args = N_("DBFILE [COMMAND [ARG ...]]"); - - enum { - OPT_LEX_TRACE = 256, -@@ -2053,6 +2051,9 @@ main (int argc, char *argv[]) - char *source = NULL; - instream_t input = NULL; - -+ parseopt_program_doc = N_("examine and/or modify a GDBM database"); -+ parseopt_program_args = N_("DBFILE [COMMAND [ARG ...]]"); -+ - set_progname (argv[0]); - #if GDBM_DEBUG_ENABLE - gdbm_debug_printer = debug_printer; --- -2.27.0 - diff --git a/buildroot-2021.05/package/gdbm/Config.in b/buildroot-2021.05/package/gdbm/Config.in deleted file mode 100644 index 3646bd05..00000000 --- a/buildroot-2021.05/package/gdbm/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_GDBM - bool "gdbm" - help - GNU dbm is a set of database routines that use extensible - hashing. It works similar to the standard UNIX dbm routines. - - http://www.gnu.org/software/gdbm/gdbm.html diff --git a/buildroot-2021.05/package/gdbm/gdbm.hash b/buildroot-2021.05/package/gdbm/gdbm.hash deleted file mode 100644 index 8de9f636..00000000 --- a/buildroot-2021.05/package/gdbm/gdbm.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.gnu.org/archive/html/info-gnu/2018-10/msg00006.html -md5 988dc82182121c7570e0cb8b4fcd5415 gdbm-1.18.1.tar.gz -sha1 4a923ebfac06bb05c1c7699b206719e06a938f0d gdbm-1.18.1.tar.gz -# Locally computed -sha256 86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc gdbm-1.18.1.tar.gz -sha256 690d762f2e8e149ab1e2d6a409a3853b6151a2533b2382fae549a176d6bedecf COPYING diff --git a/buildroot-2021.05/package/gdbm/gdbm.mk b/buildroot-2021.05/package/gdbm/gdbm.mk deleted file mode 100644 index 084a7769..00000000 --- a/buildroot-2021.05/package/gdbm/gdbm.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# gdbm -# -################################################################################ - -GDBM_VERSION = 1.18.1 -GDBM_SITE = $(BR2_GNU_MIRROR)/gdbm -GDBM_LICENSE = GPL-3.0+ -GDBM_LICENSE_FILES = COPYING -GDBM_INSTALL_STAGING = YES -GDBM_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) - -ifeq ($(BR2_PACKAGE_READLINE),y) -GDBM_CONF_OPTS += --with-readline -GDBM_DEPENDENCIES += readline -else -GDBM_CONF_OPTS += --without-readline -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gdk-pixbuf/0001-meson.build-link-with-lintl-if-needed.patch b/buildroot-2021.05/package/gdk-pixbuf/0001-meson.build-link-with-lintl-if-needed.patch deleted file mode 100644 index 08a3a681..00000000 --- a/buildroot-2021.05/package/gdk-pixbuf/0001-meson.build-link-with-lintl-if-needed.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 65c8bc8ec4ae8dd140b0205a61d0d216fa45d819 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 28 Jan 2021 07:50:44 +0100 -Subject: [PATCH] meson.build: link with lintl if needed - -Link with -lintl to avoid the following build failure: - -/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/5.5.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: gdk-pixbuf/libgdk_pixbuf-2.0.so.0.4200.2.p/gdk-pixbuf-util.c.o: in function `_gdk_pixbuf_init_gettext': -gdk-pixbuf-util.c:(.text+0xbc0): undefined reference to `libintl_bindtextdomain' -/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/5.5.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: gdk-pixbuf-util.c:(.text+0xbc8): undefined reference to `libintl_bindtextdomain' - -Fixes: - - http://autobuild.buildroot.org/results/894359558100ea9637feba16deaf99923805d0f2 - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/101] ---- - meson.build | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 1cef125a3..973948108 100644 ---- a/meson.build -+++ b/meson.build -@@ -93,6 +93,7 @@ if cc.has_function('lrint', dependencies: mathlib_dep) - gdk_pixbuf_conf.set('HAVE_LRINT', 1) - endif - -+intl_dep = cc.find_library('intl', required: false) - if cc.has_function('bind_textdomain_codeset', prefix: '#include ') - gdk_pixbuf_conf.set('HAVE_BIND_TEXTDOMAIN_CODESET', 1) - endif -@@ -212,7 +213,7 @@ if medialib_dep.found() - endif - - gdk_pixbuf_deps = [ mathlib_dep, glib_dep, gobject_dep, gmodule_dep, gio_dep, -- shared_mime_dep, medialib_dep ] -+ shared_mime_dep, medialib_dep, intl_dep ] - - # Check if we can build shared modules - if gmodule_dep.type_name() == 'pkgconfig' --- -2.29.2 - diff --git a/buildroot-2021.05/package/gdk-pixbuf/0002-gdk-pixbuf-gdk-pixbuf-io.c-fix-build-without-gmodule.patch b/buildroot-2021.05/package/gdk-pixbuf/0002-gdk-pixbuf-gdk-pixbuf-io.c-fix-build-without-gmodule.patch deleted file mode 100644 index 74bc967a..00000000 --- a/buildroot-2021.05/package/gdk-pixbuf/0002-gdk-pixbuf-gdk-pixbuf-io.c-fix-build-without-gmodule.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 46c7fe11bd0ed8595c3f920d42a9914fa864d893 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 7 Feb 2021 18:51:14 +0100 -Subject: [PATCH] gdk-pixbuf/gdk-pixbuf-io.c: fix build without gmodule - -Fix the following build failure: - -../gdk-pixbuf/gdk-pixbuf-io.c: In function 'gdk_pixbuf_io_init': -../gdk-pixbuf/gdk-pixbuf-io.c:681:16: error: implicit declaration of function 'gdk_pixbuf_get_module_file'; did you mean '_gdk_pixbuf_get_module'? [-Werror=implicit-function-declaration] - 681 | module_file = gdk_pixbuf_get_module_file (); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~ - | _gdk_pixbuf_get_module - -Fixes: - - http://autobuild.buildroot.org/results/6cd54c497f5d19342ec94ece713547b887e4c02d - -Upstream status: Accepted -https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/103 - -Signed-off-by: Fabrice Fontaine ---- - gdk-pixbuf/gdk-pixbuf-io.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c -index 40eb920c8..2dc2ea6da 100644 ---- a/gdk-pixbuf/gdk-pixbuf-io.c -+++ b/gdk-pixbuf/gdk-pixbuf-io.c -@@ -678,7 +678,9 @@ gdk_pixbuf_io_init (void) - gboolean ret; - - gdk_pixbuf_io_init_builtin (); -+#ifdef USE_GMODULE - module_file = gdk_pixbuf_get_module_file (); -+#endif - ret = gdk_pixbuf_io_init_modules (module_file, NULL); - g_free (module_file); - return ret; --- -2.29.2 - diff --git a/buildroot-2021.05/package/gdk-pixbuf/Config.in b/buildroot-2021.05/package/gdk-pixbuf/Config.in deleted file mode 100644 index 44942ac4..00000000 --- a/buildroot-2021.05/package/gdk-pixbuf/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_GDK_PIXBUF - bool "gdk-pixbuf" - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - Gdk-Pixbuf is an image loader and scaler. It uses GObject - and the GLib, to integrate well with GNOME applications. - - http://www.gtk.org/ - -comment "gdk-pixbuf needs a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/gdk-pixbuf/gdk-pixbuf.hash b/buildroot-2021.05/package/gdk-pixbuf/gdk-pixbuf.hash deleted file mode 100644 index be7593ae..00000000 --- a/buildroot-2021.05/package/gdk-pixbuf/gdk-pixbuf.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.2.sha256sum -sha256 83c66a1cfd591d7680c144d2922c5955d38b4db336d7cd3ee109f7bcf9afef15 gdk-pixbuf-2.42.2.tar.xz -# Locally calculated -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/gdk-pixbuf/gdk-pixbuf.mk b/buildroot-2021.05/package/gdk-pixbuf/gdk-pixbuf.mk deleted file mode 100644 index 1bd422c0..00000000 --- a/buildroot-2021.05/package/gdk-pixbuf/gdk-pixbuf.mk +++ /dev/null @@ -1,95 +0,0 @@ -################################################################################ -# -# gdk-pixbuf -# -################################################################################ - -GDK_PIXBUF_VERSION_MAJOR = 2.42 -GDK_PIXBUF_VERSION = $(GDK_PIXBUF_VERSION_MAJOR).2 -GDK_PIXBUF_SOURCE = gdk-pixbuf-$(GDK_PIXBUF_VERSION).tar.xz -GDK_PIXBUF_SITE = http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/$(GDK_PIXBUF_VERSION_MAJOR) -GDK_PIXBUF_LICENSE = LGPL-2.1+ -GDK_PIXBUF_LICENSE_FILES = COPYING -GDK_PIXBUF_CPE_ID_VENDOR = gnome -GDK_PIXBUF_INSTALL_STAGING = YES -GDK_PIXBUF_DEPENDENCIES = \ - host-gdk-pixbuf host-libglib2 host-pkgconf \ - libglib2 $(if $(BR2_ENABLE_LOCALE),,libiconv) -HOST_GDK_PIXBUF_DEPENDENCIES = host-libpng host-pkgconf host-libglib2 - -GDK_PIXBUF_CONF_OPTS = \ - -Dgio_sniffing=false \ - -Dinstalled_tests=false \ - -Dman=false - -HOST_GDK_PIXBUF_CONF_OPTS = \ - -Dgio_sniffing=false \ - -Dinstalled_tests=false \ - -Dintrospection=disabled \ - -Dman=false - -ifeq ($(BR2_STATIC_LIBS),y) -GDK_PIXBUF_CONF_OPTS += -Dbuiltin_loaders=all -endif - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GDK_PIXBUF_CONF_OPTS += -Dintrospection=enabled -GDK_PIXBUF_DEPENDENCIES += gobject-introspection -else -GDK_PIXBUF_CONF_OPTS += -Dintrospection=disabled -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -GDK_PIXBUF_CONF_OPTS += -Dpng=true -GDK_PIXBUF_DEPENDENCIES += libpng -else -GDK_PIXBUF_CONF_OPTS += -Dpng=false -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -GDK_PIXBUF_CONF_OPTS += -Djpeg=true -HOST_GDK_PIXBUF_CONF_OPTS += -Djpeg=true -GDK_PIXBUF_DEPENDENCIES += jpeg -HOST_GDK_PIXBUF_DEPENDENCIES += host-libjpeg -else -GDK_PIXBUF_CONF_OPTS += -Djpeg=false -HOST_GDK_PIXBUF_CONF_OPTS += -Djpeg=false -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -GDK_PIXBUF_CONF_OPTS += -Dtiff=true -HOST_GDK_PIXBUF_CONF_OPTS += -Dtiff=true -GDK_PIXBUF_DEPENDENCIES += tiff -HOST_GDK_PIXBUF_DEPENDENCIES += host-tiff -else -GDK_PIXBUF_CONF_OPTS += -Dtiff=false -HOST_GDK_PIXBUF_CONF_OPTS += -Dtiff=false -endif - -# gdk-pixbuf requires the loaders.cache file populated to work properly -# Rather than doing so at runtime, since the fs can be read-only, do so -# here after building and installing to target. -# And since the cache file will contain absolute host directory names we -# need to sanitize (strip) them. -ifeq ($(BR2_STATIC_LIBS),) -define GDK_PIXBUF_UPDATE_CACHE - GDK_PIXBUF_MODULEDIR=$(HOST_DIR)/lib/gdk-pixbuf-2.0/2.10.0/loaders \ - $(HOST_DIR)/bin/gdk-pixbuf-query-loaders \ - > $(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache - $(SED) "s,$(HOST_DIR)/lib,/usr/lib,g" \ - $(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache -endef -GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_UPDATE_CACHE -endif - -# Target gdk-pixbuf needs loaders.cache populated to build for the -# thumbnailer. Use the host-built since it matches the target options -# regarding mime types (which is the used information). -define GDK_PIXBUF_COPY_LOADERS_CACHE - cp -f $(HOST_DIR)/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \ - $(@D)/gdk-pixbuf -endef -GDK_PIXBUF_PRE_BUILD_HOOKS += GDK_PIXBUF_COPY_LOADERS_CACHE - -$(eval $(meson-package)) -$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/genimage/genimage.hash b/buildroot-2021.05/package/genimage/genimage.hash deleted file mode 100644 index 9f60261b..00000000 --- a/buildroot-2021.05/package/genimage/genimage.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 9d1d53b33309fe24ea367ea057eb689bdb8ea33cb99d796de31127ca44ccf44c genimage-14.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/genimage/genimage.mk b/buildroot-2021.05/package/genimage/genimage.mk deleted file mode 100644 index 1934223b..00000000 --- a/buildroot-2021.05/package/genimage/genimage.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# genimage -# -################################################################################ - -GENIMAGE_VERSION = 14 -GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz -GENIMAGE_SITE = https://github.com/pengutronix/genimage/releases/download/v$(GENIMAGE_VERSION) -HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse -GENIMAGE_LICENSE = GPL-2.0 -GENIMAGE_LICENSE_FILES = COPYING - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gensio/gensio.hash b/buildroot-2021.05/package/gensio/gensio.hash deleted file mode 100644 index 03bd85cd..00000000 --- a/buildroot-2021.05/package/gensio/gensio.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://sourceforge.net/projects/ser2net/files/ser2net/ -md5 3d1135a7bd7a3aca48493997fed1f1a0 gensio-2.2.4.tar.gz -sha1 3c59d94e48c0a8ec5ed57ebb4ea95f3709d108ac gensio-2.2.4.tar.gz -# Locally computed: -sha256 36cadbc790e03e4150a12bca14b20215afdff0a0f8deaf85c10434dca54d0493 gensio-2.2.4.tar.gz -sha256 501f3108e6c03e5a0a5585ebaaa369171aead5319cd0a7a4dc1f66211c1f09f1 COPYING -sha256 dcac7d447dd81ab96d28dce00a07a6486e623f7ded94e2a2a8e83312405cdf89 COPYING.LIB diff --git a/buildroot-2021.05/package/gensio/gensio.mk b/buildroot-2021.05/package/gensio/gensio.mk deleted file mode 100644 index 0b2bb639..00000000 --- a/buildroot-2021.05/package/gensio/gensio.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# gensio -# -################################################################################ - -GENSIO_VERSION = 2.2.4 -GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net -GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) -GENSIO_LICENSE_FILES = COPYING.LIB COPYING -GENSIO_INSTALL_STAGING = YES -GENSIO_CONF_OPTS = \ - --without-openipmi \ - --without-swig \ - --without-python - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -GENSIO_DEPENDENCIES += host-pkgconf openssl -GENSIO_CONF_OPTS += --with-openssl -else -GENSIO_CONF_OPTS += --without-openssl -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -GENSIO_CONF_OPTS += --with-pthreads -else -GENSIO_CONF_OPTS += --without-pthreads -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gerbera/gerbera.hash b/buildroot-2021.05/package/gerbera/gerbera.hash deleted file mode 100644 index ab3dda91..00000000 --- a/buildroot-2021.05/package/gerbera/gerbera.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 66f49ee30e53c36e08ce56a724f84bde8350001d3b9309f8e62a34f38446b619 gerbera-1.8.1.tar.gz -sha256 cae4138373be41fd2be75faf41ce7efbcf49fb17d0e05ad1c51cc01ac335b9b6 LICENSE.md diff --git a/buildroot-2021.05/package/gerbera/gerbera.mk b/buildroot-2021.05/package/gerbera/gerbera.mk deleted file mode 100644 index 9627209d..00000000 --- a/buildroot-2021.05/package/gerbera/gerbera.mk +++ /dev/null @@ -1,133 +0,0 @@ -################################################################################ -# -# gerbera -# -################################################################################ - -GERBERA_VERSION = 1.8.1 -GERBERA_SITE = $(call github,gerbera,gerbera,v$(GERBERA_VERSION)) -GERBERA_LICENSE = GPL-2.0 -GERBERA_LICENSE_FILES = LICENSE.md -GERBERA_DEPENDENCIES = \ - fmt \ - host-pkgconf \ - pugixml \ - spdlog \ - sqlite \ - util-linux \ - zlib -GERBERA_CONF_OPTS = -DWITH_DEBUG=OFF - -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_9)$(BR2_OPTIMIZE_S),yy) -GERBERA_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -O2" -endif - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -GERBERA_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -endif - -ifeq ($(BR2_PACKAGE_DUKTAPE),y) -GERBERA_DEPENDENCIES += duktape -GERBERA_CONF_OPTS += -DWITH_JS=ON -else -GERBERA_CONF_OPTS += -DWITH_JS=OFF -endif - -ifeq ($(BR2_PACKAGE_EXIV2),y) -GERBERA_DEPENDENCIES += exiv2 -GERBERA_CONF_OPTS += -DWITH_EXIV2=ON -else -GERBERA_CONF_OPTS += -DWITH_EXIV2=OFF -endif - -ifeq ($(BR2_PACKAGE_FFMPEG),y) -GERBERA_DEPENDENCIES += ffmpeg -GERBERA_CONF_OPTS += -DWITH_AVCODEC=ON -else -GERBERA_CONF_OPTS += -DWITH_AVCODEC=OFF -endif - -ifeq ($(BR2_PACKAGE_FILE),y) -GERBERA_DEPENDENCIES += file -GERBERA_CONF_OPTS += -DWITH_MAGIC=ON -else -GERBERA_CONF_OPTS += -DWITH_MAGIC=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -GERBERA_DEPENDENCIES += libcurl -GERBERA_CONF_OPTS += -DWITH_CURL=ON -else -GERBERA_CONF_OPTS += -DWITH_CURL=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBEXIF),y) -GERBERA_DEPENDENCIES += libexif -GERBERA_CONF_OPTS += -DWITH_EXIF=ON -else -GERBERA_CONF_OPTS += -DWITH_EXIF=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -GERBERA_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_PACKAGE_LIBMATROSKA),y) -GERBERA_DEPENDENCIES += libmatroska -GERBERA_CONF_OPTS += -DWITH_MATROSKA=ON -else -GERBERA_CONF_OPTS += -DWITH_MATROSKA=OFF -endif - -# Either libupnp or libnpupnp are guranteed to be enabled -ifeq ($(BR2_PACKAGE_LIBNPUPNP),y) -GERBERA_DEPENDENCIES += libnpupnp -GERBERA_CONF_OPTS += -DWITH_NPUPNP=ON -else -GERBERA_DEPENDENCIES += libupnp -GERBERA_CONF_OPTS += -DWITH_NPUPNP=OFF -endif - -ifeq ($(BR2_PACKAGE_MYSQL),y) -GERBERA_DEPENDENCIES += mysql -GERBERA_CONF_OPTS += -DWITH_MYSQL=ON -else -GERBERA_CONF_OPTS += -DWITH_MYSQL=OFF -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -GERBERA_DEPENDENCIES += systemd -GERBERA_CONF_OPTS += -DWITH_SYSTEMD=ON -else -GERBERA_CONF_OPTS += -DWITH_SYSTEMD=OFF -endif - -ifeq ($(BR2_PACKAGE_TAGLIB),y) -GERBERA_DEPENDENCIES += taglib -GERBERA_CONF_OPTS += -DWITH_TAGLIB=ON -else -GERBERA_CONF_OPTS += -DWITH_TAGLIB=OFF -endif - -# gerbera does not provide a default configuration file, it can be -# created during run time through --create-config: -# http://docs.gerbera.io/en/latest/config-overview.html#generating-configuration -# However, to have a correct home directory and UDN, install it ourself -define GERBERA_INSTALL_CONFIGURATION - $(INSTALL) -D -m 0644 package/gerbera/config.xml \ - $(TARGET_DIR)/etc/gerbera/config.xml -endef - -GERBERA_POST_INSTALL_TARGET_HOOKS += GERBERA_INSTALL_CONFIGURATION - -define GERBERA_USERS - gerbera -1 gerbera -1 * /var/lib/gerbera - - Gerbera user -endef - -define GERBERA_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/gerbera/S99gerbera \ - $(TARGET_DIR)/etc/init.d/S99gerbera -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/gesftpserver/gesftpserver.mk b/buildroot-2021.05/package/gesftpserver/gesftpserver.mk deleted file mode 100644 index 85511a3c..00000000 --- a/buildroot-2021.05/package/gesftpserver/gesftpserver.mk +++ /dev/null @@ -1,33 +0,0 @@ -################################################################################ -# -# gesftpserver -# -################################################################################ - -GESFTPSERVER_VERSION = 1 -GESFTPSERVER_SOURCE = sftpserver-$(GESFTPSERVER_VERSION).tar.gz -GESFTPSERVER_SITE = http://www.greenend.org.uk/rjk/sftpserver -GESFTPSERVER_LICENSE = GPL-2.0+ -GESFTPSERVER_LICENSE_FILES = COPYING - -# "Missing prototype" warning treated as error -GESFTPSERVER_CONF_OPTS = --disable-warnings-as-errors -GESFTPSERVER_CPE_ID_VENDOR = green_end -GESFTPSERVER_CPE_ID_PRODUCT = sftpserver - -# forgets to link against pthread when cross compiling -GESFTPSERVER_CONF_ENV = LIBS=-lpthread - -# overwrite openssh version if enabled -GESFTPSERVER_DEPENDENCIES += \ - $(if $(BR2_ENABLE_LOCALE),,libiconv) \ - $(if $(BR2_PACKAGE_OPENSSH),openssh) - -# openssh/dropbear looks here -define GESFTPSERVER_ADD_SYMLINK - ln -sf gesftpserver $(TARGET_DIR)/usr/libexec/sftp-server -endef - -GESFTPSERVER_POST_INSTALL_TARGET_HOOKS += GESFTPSERVER_ADD_SYMLINK - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ghostscript/0001-bug-702985-drop-use-of-FT_CALLBACK_DEF.patch b/buildroot-2021.05/package/ghostscript/0001-bug-702985-drop-use-of-FT_CALLBACK_DEF.patch deleted file mode 100644 index 044dcc72..00000000 --- a/buildroot-2021.05/package/ghostscript/0001-bug-702985-drop-use-of-FT_CALLBACK_DEF.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 41ef9a0bc36b9db7115fbe9623f989bfb47bbade Mon Sep 17 00:00:00 2001 -From: Chris Liddell -Date: Tue, 20 Oct 2020 09:49:45 +0100 -Subject: [PATCH] Bug 702985: drop use of FT_CALLBACK_DEF() def - -From 2.10.3, Freetype disappeared the FT_CALLBACK_DEF() macro, which is what -we used when defining our callbacks from Freetype. - -No guidance forthcoming from the Freetype developer who made those changes, -so change to explicitly declaring the callbacks file static. - -Should fix the reported build failures. - -Downloaded from upstream commit: -https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b - -Signed-off-by: Bernd Kuhls ---- - base/fapi_ft.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/base/fapi_ft.c b/base/fapi_ft.c -index 65fa6dcf4..21aef2f06 100644 ---- a/base/fapi_ft.c -+++ b/base/fapi_ft.c -@@ -125,7 +125,7 @@ static void - delete_inc_int_info(gs_fapi_server * a_server, - FT_IncrementalRec * a_inc_int_info); - --FT_CALLBACK_DEF(void *) -+static void * - FF_alloc(FT_Memory memory, long size) - { - gs_memory_t *mem = (gs_memory_t *) memory->user; -@@ -133,7 +133,7 @@ FF_alloc(FT_Memory memory, long size) - return (gs_malloc(mem, size, 1, "FF_alloc")); - } - --FT_CALLBACK_DEF(void *) -+static void * - FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block) - { - gs_memory_t *mem = (gs_memory_t *) memory->user; -@@ -153,7 +153,7 @@ FT_CALLBACK_DEF(void *) - return (tmp); - } - --FT_CALLBACK_DEF(void) -+static void - FF_free(FT_Memory memory, void *block) - { - gs_memory_t *mem = (gs_memory_t *) memory->user; --- -2.17.1 - diff --git a/buildroot-2021.05/package/ghostscript/ghostscript.hash b/buildroot-2021.05/package/ghostscript/ghostscript.hash deleted file mode 100644 index f6cedc61..00000000 --- a/buildroot-2021.05/package/ghostscript/ghostscript.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/SHA512SUMS -sha512 c142ef9d83896aa8fd18c8e412220fe8f4950614be00d327d27ab051fe85e16524bf2ee00f46c2aca7a352ce47bc3acf2c4de0f7bbea7e4c55474b8af6cdc0a6 ghostscript-9.53.3.tar.gz - -# Hash for license file: -sha256 6f852249f975287b3efd43a5883875e47fa9f3125e2f1b18b5c09517ac30ecf2 LICENSE diff --git a/buildroot-2021.05/package/ghostscript/ghostscript.mk b/buildroot-2021.05/package/ghostscript/ghostscript.mk deleted file mode 100644 index 5b50c944..00000000 --- a/buildroot-2021.05/package/ghostscript/ghostscript.mk +++ /dev/null @@ -1,85 +0,0 @@ -################################################################################ -# -# ghostscript -# -################################################################################ - -GHOSTSCRIPT_VERSION = 9.53.3 -GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$(subst .,,$(GHOSTSCRIPT_VERSION)) -GHOSTSCRIPT_LICENSE = AGPL-3.0 -GHOSTSCRIPT_LICENSE_FILES = LICENSE -GHOSTSCRIPT_CPE_ID_VENDOR = artifex -GHOSTSCRIPT_DEPENDENCIES = \ - host-lcms2 \ - host-libjpeg \ - host-pkgconf \ - host-zlib \ - fontconfig \ - ghostscript-fonts \ - jpeg \ - lcms2 \ - libpng \ - tiff - -# Ghostscript includes (old) copies of several libraries, delete them. -# Inspired by linuxfromscratch: -# http://www.linuxfromscratch.org/blfs/view/svn/pst/gs.html -define GHOSTSCRIPT_REMOVE_LIBS - rm -rf $(@D)/freetype $(@D)/ijs $(@D)/jbig2dec $(@D)/jpeg \ - $(@D)/lcms2mt $(@D)/libpng $(@D)/openjpeg $(@D)/tiff \ - $(@D)/zlib -endef -GHOSTSCRIPT_POST_PATCH_HOOKS += GHOSTSCRIPT_REMOVE_LIBS - -GHOSTSCRIPT_CONF_ENV = \ - CCAUX="$(HOSTCC)" \ - CFLAGSAUX="$(HOST_CFLAGS) $(HOST_LDFLAGS)" \ - PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" - -GHOSTSCRIPT_CONF_OPTS = \ - --disable-compile-inits \ - --enable-fontconfig \ - --with-fontpath=/usr/share/fonts \ - --enable-freetype \ - --disable-gtk \ - --without-libpaper \ - --with-system-libtiff - -ifeq ($(BR2_PACKAGE_JBIG2DEC),y) -GHOSTSCRIPT_DEPENDENCIES += jbig2dec -GHOSTSCRIPT_CONF_OPTS += --with-jbig2dec -else -GHOSTSCRIPT_CONF_OPTS += --without-jbig2dec -endif - -ifeq ($(BR2_PACKAGE_LIBIDN),y) -GHOSTSCRIPT_DEPENDENCIES += libidn -GHOSTSCRIPT_CONF_OPTS += --with-libidn -else -GHOSTSCRIPT_CONF_OPTS += --without-libidn -endif - -ifeq ($(BR2_PACKAGE_OPENJPEG),y) -GHOSTSCRIPT_DEPENDENCIES += openjpeg -GHOSTSCRIPT_CONF_OPTS += --enable-openjpeg -else -GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg -endif - -ifeq ($(BR2_PACKAGE_CUPS),y) -GHOSTSCRIPT_DEPENDENCIES += cups -GHOSTSCRIPT_CONF_OPTS += \ - CUPSCONFIG=$(STAGING_DIR)/usr/bin/cups-config \ - --enable-cups -else -GHOSTSCRIPT_CONF_OPTS += --disable-cups -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) -GHOSTSCRIPT_DEPENDENCIES += xlib_libX11 -GHOSTSCRIPT_CONF_OPTS += --with-x -else -GHOSTSCRIPT_CONF_OPTS += --without-x -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/git/git.mk b/buildroot-2021.05/package/git/git.mk deleted file mode 100644 index 6958f8d9..00000000 --- a/buildroot-2021.05/package/git/git.mk +++ /dev/null @@ -1,83 +0,0 @@ -################################################################################ -# -# git -# -################################################################################ - -GIT_VERSION = 2.31.1 -GIT_SOURCE = git-$(GIT_VERSION).tar.xz -GIT_SITE = $(BR2_KERNEL_MIRROR)/software/scm/git -GIT_LICENSE = GPL-2.0, LGPL-2.1+ -GIT_LICENSE_FILES = COPYING LGPL-2.1 -GIT_CPE_ID_VENDOR = git-scm -GIT_DEPENDENCIES = zlib $(TARGET_NLS_DEPENDENCIES) -# We're patching configure.ac -GIT_AUTORECONF = YES - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -GIT_DEPENDENCIES += host-pkgconf openssl -GIT_CONF_OPTS += --with-openssl -GIT_MAKE_OPTS += LIB_4_CRYPTO="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" -else -GIT_CONF_OPTS += --without-openssl -endif - -ifeq ($(BR2_PACKAGE_PCRE2),y) -GIT_DEPENDENCIES += pcre2 -GIT_CONF_OPTS += --with-libpcre2 -else -GIT_CONF_OPTS += --without-libpcre2 -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -GIT_DEPENDENCIES += libcurl -GIT_CONF_OPTS += --with-curl -GIT_CONF_ENV += \ - ac_cv_prog_CURL_CONFIG=$(STAGING_DIR)/usr/bin/$(LIBCURL_CONFIG_SCRIPTS) -else -GIT_CONF_OPTS += --without-curl -endif - -ifeq ($(BR2_PACKAGE_EXPAT),y) -GIT_DEPENDENCIES += expat -GIT_CONF_OPTS += --with-expat -else -GIT_CONF_OPTS += --without-expat -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -GIT_DEPENDENCIES += libiconv -GIT_CONF_ENV_LIBS += -liconv -GIT_CONF_OPTS += --with-iconv=/usr/lib -else -GIT_CONF_OPTS += --without-iconv -endif - -ifeq ($(BR2_PACKAGE_TCL),y) -GIT_DEPENDENCIES += tcl -GIT_CONF_OPTS += --with-tcltk -else -GIT_CONF_OPTS += --without-tcltk -endif - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),) -GIT_MAKE_OPTS += NO_GETTEXT=1 -endif - -GIT_CFLAGS = $(TARGET_CFLAGS) - -ifneq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180)$(BR2_TOOLCHAIN_HAS_GCC_BUG_93847),) -GIT_CFLAGS += -O0 -endif - -GIT_CONF_OPTS += CFLAGS="$(GIT_CFLAGS)" - -GIT_INSTALL_TARGET_OPTS = $(GIT_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install - -# assume yes for these tests, configure will bail out otherwise -# saying error: cannot run test program while cross compiling -GIT_CONF_ENV += \ - ac_cv_fread_reads_directories=yes \ - ac_cv_snprintf_returns_bogus=yes LIBS='$(GIT_CONF_ENV_LIBS)' - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gli/gli.mk b/buildroot-2021.05/package/gli/gli.mk deleted file mode 100644 index 6a332d0e..00000000 --- a/buildroot-2021.05/package/gli/gli.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# gli -# -################################################################################ - -GLI_VERSION = 559cbe1ec38878e182507d331e0780fbae5baf15 -GLI_SITE = $(call github,g-truc,gli,$(GLI_VERSION)) -GLI_LICENSE = MIT -GLI_LICENSE_FILES = manual.md - -# GLI is a header-only library, it only makes sense -# to have it installed into the staging directory. -GLI_INSTALL_STAGING = YES -GLI_INSTALL_TARGET = NO - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/glib-networking/Config.in b/buildroot-2021.05/package/glib-networking/Config.in deleted file mode 100644 index 22331255..00000000 --- a/buildroot-2021.05/package/glib-networking/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_GLIB_NETWORKING - bool "glib-networking" - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS - help - Network-related GIO modules for glib. - - https://gitlab.gnome.org/GNOME/glib-networking - -comment "glib-networking needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/glib-networking/glib-networking.hash b/buildroot-2021.05/package/glib-networking/glib-networking.hash deleted file mode 100644 index 976a19f2..00000000 --- a/buildroot-2021.05/package/glib-networking/glib-networking.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.66/glib-networking-2.66.0.sha256sum -sha256 c5d7be2437fdd196eebfb70c4517b96d3ba7ec13bd496318b8f02dea383e0099 glib-networking-2.66.0.tar.xz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/glib-networking/glib-networking.mk b/buildroot-2021.05/package/glib-networking/glib-networking.mk deleted file mode 100644 index 65630c7f..00000000 --- a/buildroot-2021.05/package/glib-networking/glib-networking.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# glib-networking -# -################################################################################ - -GLIB_NETWORKING_VERSION_MAJOR = 2.66 -GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).0 -GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR) -GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz -GLIB_NETWORKING_INSTALL_STAGING = YES -GLIB_NETWORKING_DEPENDENCIES = \ - $(TARGET_NLS_DEPENDENCIES) \ - host-pkgconf \ - libglib2 - -GLIB_NETWORKING_CONF_OPTS = \ - -Dlibproxy=disabled \ - -Dgnome_proxy=disabled - -GLIB_NETWORKING_LICENSE = LGPL-2.0+ -GLIB_NETWORKING_LICENSE_FILES = COPYING -GLIB_NETWORKING_CPE_ID_VENDOR = gnome -GLIB_NETWORKING_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) \ - GIO_MODULE_DIR=/usr/lib/gio/modules install - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -GLIB_NETWORKING_DEPENDENCIES += gnutls -GLIB_NETWORKING_CONF_OPTS += -Dgnutls=enabled -else -GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -GLIB_NETWORKING_DEPENDENCIES += openssl -GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled -else -GLIB_NETWORKING_CONF_OPTS += -Dopenssl=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/glibc/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/glibc.hash b/buildroot-2021.05/package/glibc/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/glibc.hash deleted file mode 100644 index b1d5243f..00000000 --- a/buildroot-2021.05/package/glibc/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/glibc.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally calculated (fetched from Github) -sha256 f4710e9a435a7b83e1d23dd75434f0d36b898eba9b4249c946c32b467d852fd4 glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2.tar.gz - -# Hashes for license files -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB -sha256 b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc LICENSES diff --git a/buildroot-2021.05/package/glibc/2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99/glibc.hash b/buildroot-2021.05/package/glibc/2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99/glibc.hash deleted file mode 100644 index 55859152..00000000 --- a/buildroot-2021.05/package/glibc/2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99/glibc.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally calculated (fetched from Github) -sha256 c3828224d69a42f5b6982cbec8ae01cf494fe975ce9023e36ff2c10a2fb93e42 glibc-2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99.tar.gz - -# Hashes for license files -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB -sha256 b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc LICENSES diff --git a/buildroot-2021.05/package/glibc/7630ed2fa60caea98f500e4a7a51b88f9bf1e176/glibc.hash b/buildroot-2021.05/package/glibc/7630ed2fa60caea98f500e4a7a51b88f9bf1e176/glibc.hash deleted file mode 100644 index a61bd65f..00000000 --- a/buildroot-2021.05/package/glibc/7630ed2fa60caea98f500e4a7a51b88f9bf1e176/glibc.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated (fetched from https://github.com/c-sky/glibc) -sha512 9deb2deceefe347d72de13510a5baa3de00f94c684f3b25e136ca3660f61e65a69f2115abb488c2ab0fa93cda8535853ce1e13e186efcc8434ecc4049efd82b5 glibc-7630ed2fa60caea98f500e4a7a51b88f9bf1e176.tar.gz diff --git a/buildroot-2021.05/package/glibc/Config.in b/buildroot-2021.05/package/glibc/Config.in deleted file mode 100644 index 5ecd0581..00000000 --- a/buildroot-2021.05/package/glibc/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -if BR2_TOOLCHAIN_BUILDROOT_GLIBC - -comment "Glibc Options" - -config BR2_PACKAGE_GLIBC - bool - default y - select BR2_PACKAGE_LINUX_HEADERS - select BR2_TOOLCHAIN_HAS_SSP if BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI - help - https://www.gnu.org/software/libc/ - -config BR2_PACKAGE_GLIBC_UTILS - bool "Install glibc utilities" - help - Enabling this option will compile and install the getconf, - ldconfig, ldd and locale glibc utilities for the target. - -endif # BR2_TOOLCHAIN_BUILDROOT_GLIBC diff --git a/buildroot-2021.05/package/glibc/glibc.mk b/buildroot-2021.05/package/glibc/glibc.mk deleted file mode 100644 index f84f670f..00000000 --- a/buildroot-2021.05/package/glibc/glibc.mk +++ /dev/null @@ -1,176 +0,0 @@ -################################################################################ -# -# glibc -# -################################################################################ - -ifeq ($(BR2_csky),y) -GLIBC_VERSION = 7630ed2fa60caea98f500e4a7a51b88f9bf1e176 -GLIBC_SITE = $(call github,c-sky,glibc,$(GLIBC_VERSION)) -else -# Generate version string using: -# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -# When updating the version, please also update localedef -ifeq ($(BR2_RISCV_32),y) -# RISC-V 32-bit (RV32) requires glibc 2.33 or newer -# Until 2.33 is released, just use master -GLIBC_VERSION = 2.32.9000-69-gbd394d131c10c9ec22c6424197b79410042eed99 -else -GLIBC_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2 -endif -# Upstream doesn't officially provide an https download link. -# There is one (https://sourceware.org/git/glibc.git) but it's not reliable, -# sometimes the connection times out. So use an unofficial github mirror. -# When updating the version, check it on the official repository; -# *NEVER* decide on a version string by looking at the mirror. -# Then check that the mirror has been synced already (happens once a day.) -GLIBC_SITE = $(call github,bminor,glibc,$(GLIBC_VERSION)) -endif - -GLIBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+, BSD-3-Clause, MIT (library) -GLIBC_LICENSE_FILES = COPYING COPYING.LIB LICENSES -GLIBC_CPE_ID_VENDOR = gnu - -# glibc is part of the toolchain so disable the toolchain dependency -GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO - -# Before glibc is configured, we must have the first stage -# cross-compiler and the kernel headers -GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-bison host-gawk \ - $(BR2_MAKE_HOST_DEPENDENCY) $(BR2_PYTHON3_HOST_DEPENDENCY) - -GLIBC_SUBDIR = build - -GLIBC_INSTALL_STAGING = YES - -GLIBC_INSTALL_STAGING_OPTS = install_root=$(STAGING_DIR) install - -# Thumb build is broken, build in ARM mode -ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) -GLIBC_EXTRA_CFLAGS += -marm -endif - -# MIPS64 defaults to n32 so pass the correct -mabi if -# we are using a different ABI. OABI32 is also used -# in MIPS so we pass -mabi=32 in this case as well -# even though it's not strictly necessary. -ifeq ($(BR2_MIPS_NABI64),y) -GLIBC_EXTRA_CFLAGS += -mabi=64 -else ifeq ($(BR2_MIPS_OABI32),y) -GLIBC_EXTRA_CFLAGS += -mabi=32 -endif - -ifeq ($(BR2_ENABLE_DEBUG),y) -GLIBC_EXTRA_CFLAGS += -g -endif - -# The stubs.h header is not installed by install-headers, but is -# needed for the gcc build. An empty stubs.h will work, as explained -# in http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html. The same trick -# is used by Crosstool-NG. -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_GLIBC),y) -define GLIBC_ADD_MISSING_STUB_H - mkdir -p $(STAGING_DIR)/usr/include/gnu - touch $(STAGING_DIR)/usr/include/gnu/stubs.h -endef -endif - -GLIBC_CONF_ENV = \ - ac_cv_path_BASH_SHELL=/bin/$(if $(BR2_PACKAGE_BASH),bash,sh) \ - libc_cv_forced_unwind=yes \ - libc_cv_ssp=no - -# POSIX shell does not support localization, so remove the corresponding -# syntax from ldd if bash is not selected. -ifeq ($(BR2_PACKAGE_BASH),) -define GLIBC_LDD_NO_BASH - $(SED) 's/$$"/"/g' $(@D)/elf/ldd.bash.in -endef -GLIBC_POST_PATCH_HOOKS += GLIBC_LDD_NO_BASH -endif - -# Override the default library locations of /lib64/ and -# /usr/lib64// for RISC-V. -ifeq ($(BR2_riscv),y) -ifeq ($(BR2_RISCV_64),y) -GLIBC_CONF_ENV += libc_cv_slibdir=/lib64 libc_cv_rtlddir=/lib -else -GLIBC_CONF_ENV += libc_cv_slibdir=/lib32 libc_cv_rtlddir=/lib -endif -endif - -# glibc requires make >= 4.0 since 2.28 release. -# https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html -GLIBC_MAKE = $(BR2_MAKE) -GLIBC_CONF_ENV += ac_cv_prog_MAKE="$(BR2_MAKE)" - -# Even though we use the autotools-package infrastructure, we have to -# override the default configure commands for several reasons: -# -# 1. We have to build out-of-tree, but we can't use the same -# 'symbolic link to configure' used with the gcc packages. -# -# 2. We have to execute the configure script with bash and not sh. -# -# Note that as mentionned in -# http://patches.openembedded.org/patch/38849/, glibc must be -# built with -O2, so we pass our own CFLAGS and CXXFLAGS below. -define GLIBC_CONFIGURE_CMDS - mkdir -p $(@D)/build - # Do the configuration - (cd $(@D)/build; \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="-O2 $(GLIBC_EXTRA_CFLAGS)" CPPFLAGS="" \ - CXXFLAGS="-O2 $(GLIBC_EXTRA_CFLAGS)" \ - $(GLIBC_CONF_ENV) \ - $(SHELL) $(@D)/configure \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --prefix=/usr \ - --enable-shared \ - $(if $(BR2_x86_64),--enable-lock-elision) \ - --with-pkgversion="Buildroot" \ - --disable-profile \ - --disable-werror \ - --without-gd \ - --enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) \ - --with-headers=$(STAGING_DIR)/usr/include) - $(GLIBC_ADD_MISSING_STUB_H) -endef - -# -# We also override the install to target commands since we only want -# to install the libraries, and nothing more. -# - -GLIBC_LIBS_LIB = \ - ld*.so.* libanl.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* \ - libm.so.* libpthread.so.* libresolv.so.* librt.so.* \ - libutil.so.* libnss_files.so.* libnss_dns.so.* libmvec.so.* - -ifeq ($(BR2_PACKAGE_GDB),y) -GLIBC_LIBS_LIB += libthread_db.so.* -endif - -ifeq ($(BR2_PACKAGE_GLIBC_UTILS),y) -GLIBC_TARGET_UTILS_USR_BIN = posix/getconf elf/ldd -GLIBC_TARGET_UTILS_SBIN = elf/ldconfig -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -GLIBC_TARGET_UTILS_USR_BIN += locale/locale -endif -endif - -define GLIBC_INSTALL_TARGET_CMDS - for libpattern in $(GLIBC_LIBS_LIB); do \ - $(call copy_toolchain_lib_root,$$libpattern) ; \ - done - $(foreach util,$(GLIBC_TARGET_UTILS_USR_BIN), \ - $(INSTALL) -D -m 0755 $(@D)/build/$(util) $(TARGET_DIR)/usr/bin/$(notdir $(util)) - ) - $(foreach util,$(GLIBC_TARGET_UTILS_SBIN), \ - $(INSTALL) -D -m 0755 $(@D)/build/$(util) $(TARGET_DIR)/sbin/$(notdir $(util)) - ) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/glibmm/Config.in b/buildroot-2021.05/package/glibmm/Config.in deleted file mode 100644 index c7b4082e..00000000 --- a/buildroot-2021.05/package/glibmm/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_GLIBMM - bool "glibmm" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # regex_replace - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_MMU # libglib2 - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBSIGC - help - The GLibmm package is a set of C++ bindings for GLib. - - http://www.gtkmm.org/ - -comment "glibmm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ - || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/glibmm/glibmm.hash b/buildroot-2021.05/package/glibmm/glibmm.hash deleted file mode 100644 index 389ee5c3..00000000 --- a/buildroot-2021.05/package/glibmm/glibmm.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/glibmm/2.66/glibmm-2.66.0.sha256sum -sha256 9e1db7d43d2e2d4dfa2771354e21a69a6beec7c446b711619cf8c779e13a581e glibmm-2.66.0.tar.xz -# License files, locally calculated -sha256 3ea7fa7c5d9a3a113e950eca9cfb85107f096270d8e4dd99daa9d8abdebc60e7 COPYING -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools diff --git a/buildroot-2021.05/package/glibmm/glibmm.mk b/buildroot-2021.05/package/glibmm/glibmm.mk deleted file mode 100644 index 30fbe65f..00000000 --- a/buildroot-2021.05/package/glibmm/glibmm.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# glibmm -# -################################################################################ - -GLIBMM_VERSION_MAJOR = 2.66 -GLIBMM_VERSION = $(GLIBMM_VERSION_MAJOR).0 -GLIBMM_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) -GLIBMM_LICENSE_FILES = COPYING COPYING.tools -GLIBMM_SOURCE = glibmm-$(GLIBMM_VERSION).tar.xz -GLIBMM_SITE = http://ftp.gnome.org/pub/gnome/sources/glibmm/$(GLIBMM_VERSION_MAJOR) -GLIBMM_INSTALL_STAGING = YES -GLIBMM_DEPENDENCIES = libglib2 libsigc host-pkgconf -GLIBMM_CONF_OPTS = -Dbuild-examples=false - -GLIBMM_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -GLIBMM_CXXFLAGS += -O0 -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/glmark2/Config.in b/buildroot-2021.05/package/glmark2/Config.in deleted file mode 100644 index 40d0adcc..00000000 --- a/buildroot-2021.05/package/glmark2/Config.in +++ /dev/null @@ -1,70 +0,0 @@ -config BR2_PACKAGE_GLMARK2_FLAVOR_ANY - bool - -config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2 - bool - default y - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_HAS_LIBGLES - depends on BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_GLMARK2_FLAVOR_ANY - -config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GL - bool - default y - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_HAS_LIBGL - depends on BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_GLMARK2_FLAVOR_ANY - -config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2 - bool - default y - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_HAS_LIBGLES - depends on BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_GLMARK2_FLAVOR_ANY - select BR2_PACKAGE_WAYLAND_PROTOCOLS - -config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL - bool - default y - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_HAS_LIBGL - depends on BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_GLMARK2_FLAVOR_ANY - select BR2_PACKAGE_WAYLAND_PROTOCOLS - -config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2 - bool - default y - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_HAS_LIBGLES - depends on BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_GLMARK2_FLAVOR_ANY - -config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GL - bool - default y - depends on BR2_PACKAGE_HAS_LIBGL - depends on BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_GLMARK2_FLAVOR_ANY - -comment "glmark2 needs a toolchain w/ C++, gcc >= 4.9" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -comment "glmark2 needs an OpenGL or an openGL ES and EGL backend" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_INSTALL_LIBSTDCPP - depends on !BR2_PACKAGE_GLMARK2_FLAVOR_ANY - -config BR2_PACKAGE_GLMARK2 - bool "glmark2" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 - depends on BR2_PACKAGE_GLMARK2_FLAVOR_ANY - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBPNG - help - glmark2 is an OpenGL 2.0 and ES 2.0 benchmark. - - https://github.com/glmark2/glmark2 diff --git a/buildroot-2021.05/package/glmark2/glmark2.hash b/buildroot-2021.05/package/glmark2/glmark2.hash deleted file mode 100644 index 33a99de1..00000000 --- a/buildroot-2021.05/package/glmark2/glmark2.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 9ad57e4eec0049c47a367b57f5f8d3e31e4c488b1d5d6673a75f1b2282e40888 glmark2-c493520253fbfe3676c8b34b6f91a7c9a838fc8e.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 16fbc228292bd774b263b212ae422c524cbf3b2078bcf21b22f8bdd4373be617 COPYING.SGI diff --git a/buildroot-2021.05/package/glmark2/glmark2.mk b/buildroot-2021.05/package/glmark2/glmark2.mk deleted file mode 100644 index 9e47b426..00000000 --- a/buildroot-2021.05/package/glmark2/glmark2.mk +++ /dev/null @@ -1,47 +0,0 @@ -################################################################################ -# -# glmark2 -# -################################################################################ - -GLMARK2_VERSION = c493520253fbfe3676c8b34b6f91a7c9a838fc8e -GLMARK2_SITE = $(call github,glmark2,glmark2,$(GLMARK2_VERSION)) -GLMARK2_LICENSE = GPL-3.0+, SGIv1 -GLMARK2_LICENSE_FILES = COPYING COPYING.SGI -GLMARK2_DEPENDENCIES = host-pkgconf jpeg libegl libpng - -ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2),y) -GLMARK2_DEPENDENCIES += libgles udev -GLMARK2_FLAVORS += drm-glesv2 -endif - -ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GL),y) -GLMARK2_DEPENDENCIES += libgl udev -GLMARK2_FLAVORS += drm-gl -endif - -ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2),y) -GLMARK2_DEPENDENCIES += libgles xlib_libX11 -GLMARK2_FLAVORS += x11-glesv2 -endif - -ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_X11_GL),y) -GLMARK2_DEPENDENCIES += libgl xlib_libX11 -GLMARK2_FLAVORS += x11-gl -endif - -ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2),y) -GLMARK2_DEPENDENCIES += libgles wayland wayland-protocols -GLMARK2_FLAVORS += wayland-glesv2 -endif - -ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL),y) -GLMARK2_DEPENDENCIES += libgl wayland wayland-protocols -GLMARK2_FLAVORS += wayland-gl -endif - -GLMARK2_CONF_OPTS += \ - --prefix=/usr \ - --with-flavors=$(subst $(space),$(comma),$(GLMARK2_FLAVORS)) - -$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/glog/0001-src-symbolize.cc-fix-build-without-dlfcn.h.patch b/buildroot-2021.05/package/glog/0001-src-symbolize.cc-fix-build-without-dlfcn.h.patch deleted file mode 100644 index 73c6e670..00000000 --- a/buildroot-2021.05/package/glog/0001-src-symbolize.cc-fix-build-without-dlfcn.h.patch +++ /dev/null @@ -1,37 +0,0 @@ -From f71e0899439aaa0e6172243a0862bf8a72a241fc Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 28 Oct 2019 18:21:55 +0100 -Subject: [PATCH] src/symbolize.cc: fix build without dlfcn.h - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/google/glog/pull/475] ---- - src/symbolize.cc | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/symbolize.cc b/src/symbolize.cc -index 1ffc607..ff027f2 100644 ---- a/src/symbolize.cc -+++ b/src/symbolize.cc -@@ -110,7 +110,9 @@ _END_GOOGLE_NAMESPACE_ - - #if defined(__ELF__) - -+#if defined(HAVE_DLFCN_H) - #include -+#endif - #if defined(OS_OPENBSD) - #include - #else -@@ -832,7 +834,7 @@ static ATTRIBUTE_NOINLINE bool SymbolizeAndDemangle(void *pc, char *out, - - _END_GOOGLE_NAMESPACE_ - --#elif defined(OS_MACOSX) && defined(HAVE_DLADDR) -+#elif defined(OS_MACOSX) && defined(HAVE_DLADDR) && defined(HAVE_DLFCN_H) - - #include - #include --- -2.23.0 - diff --git a/buildroot-2021.05/package/glog/0002-src-utilities-fix-build-without-pthread.patch b/buildroot-2021.05/package/glog/0002-src-utilities-fix-build-without-pthread.patch deleted file mode 100644 index 503f57a6..00000000 --- a/buildroot-2021.05/package/glog/0002-src-utilities-fix-build-without-pthread.patch +++ /dev/null @@ -1,83 +0,0 @@ -From 9630e0e848da22e27b346c38d9b05f0a16cbf7b3 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 31 Oct 2019 19:27:16 +0100 -Subject: [PATCH] src/utilities: fix build without pthread - -- Remove is_default_thread function which is an internal and not used - function -- Remove g_main_thread_id as it was used only by is_default_thread - -Fixes: - - http://autobuild.buildroot.net/results/5320bbe1205e782e3516d9bead8d1ed825bcbaad - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/google/glog/commit/9630e0e848da22e27b346c38d9b05f0a16cbf7b3] ---- - src/utilities.cc | 16 +++------------- - src/utilities.h | 2 -- - 2 files changed, 3 insertions(+), 15 deletions(-) - -diff --git a/src/utilities.cc b/src/utilities.cc -index d463b33b..9a1e35d0 100644 ---- a/src/utilities.cc -+++ b/src/utilities.cc -@@ -61,7 +61,6 @@ using std::string; - _START_GOOGLE_NAMESPACE_ - - static const char* g_program_invocation_short_name = NULL; --static pthread_t g_main_thread_id; - - _END_GOOGLE_NAMESPACE_ - -@@ -181,16 +180,6 @@ bool IsGoogleLoggingInitialized() { - return g_program_invocation_short_name != NULL; - } - --bool is_default_thread() { -- if (g_program_invocation_short_name == NULL) { -- // InitGoogleLogging() not yet called, so unlikely to be in a different -- // thread -- return true; -- } else { -- return pthread_equal(pthread_self(), g_main_thread_id); -- } --} -- - #ifdef OS_WINDOWS - struct timeval { - long tv_sec, tv_usec; -@@ -276,9 +265,11 @@ pid_t GetTID() { - return getpid(); // Linux: getpid returns thread ID when gettid is absent - #elif defined OS_WINDOWS && !defined OS_CYGWIN - return GetCurrentThreadId(); --#else -+#elif defined(HAVE_PTHREAD) - // If none of the techniques above worked, we use pthread_self(). - return (pid_t)(uintptr_t)pthread_self(); -+#else -+ return -1; - #endif - } - -@@ -350,7 +341,6 @@ void InitGoogleLoggingUtilities(const char* argv0) { - if (!slash) slash = strrchr(argv0, '\\'); - #endif - g_program_invocation_short_name = slash ? slash + 1 : argv0; -- g_main_thread_id = pthread_self(); - - #ifdef HAVE_STACKTRACE - InstallFailureFunction(&DumpStackTraceAndExit); -diff --git a/src/utilities.h b/src/utilities.h -index ca21cfb3..c66f9146 100644 ---- a/src/utilities.h -+++ b/src/utilities.h -@@ -163,8 +163,6 @@ const char* ProgramInvocationShortName(); - - bool IsGoogleLoggingInitialized(); - --bool is_default_thread(); -- - int64 CycleClock_Now(); - - int64 UsecToCycles(int64 usec); diff --git a/buildroot-2021.05/package/glog/glog.hash b/buildroot-2021.05/package/glog/glog.hash deleted file mode 100644 index b9ba6654..00000000 --- a/buildroot-2021.05/package/glog/glog.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed -sha256 f28359aeba12f30d73d9e4711ef356dc842886968112162bc73002645139c39c glog-0.4.0.tar.gz - -# Hash for License file: -sha256 0fc497129c5c69ff6f22da6933c7e4aaef082fde8437fd57680c2780100772a4 COPYING diff --git a/buildroot-2021.05/package/glog/glog.mk b/buildroot-2021.05/package/glog/glog.mk deleted file mode 100644 index 9d31732a..00000000 --- a/buildroot-2021.05/package/glog/glog.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# glog -# -################################################################################ - -GLOG_VERSION = 0.4.0 -GLOG_SITE = $(call github,google,glog,v$(GLOG_VERSION)) -GLOG_INSTALL_STAGING = YES -GLOG_LICENSE = BSD-3-Clause -GLOG_LICENSE_FILES = COPYING -GLOG_CONF_OPTS = \ - $(if $(BR2_TOOLCHAIN_HAS_THREADS),-DWITH_THREADS=ON, -DWITH_THREADS=OFF) - -ifeq ($(BR2_PACKAGE_GFLAGS),y) -GLOG_DEPENDENCIES = gflags -GLOG_CONF_OPTS += -DWITH_GFLAGS=ON -else -GLOG_CONF_OPTS += -DWITH_GFLAGS=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/glorytun/glorytun.mk b/buildroot-2021.05/package/glorytun/glorytun.mk deleted file mode 100644 index d128ae83..00000000 --- a/buildroot-2021.05/package/glorytun/glorytun.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# glorytun -# -################################################################################ - -GLORYTUN_VERSION = 0.3.4 -GLORYTUN_SITE = https://github.com/angt/glorytun/releases/download/v$(GLORYTUN_VERSION) -GLORYTUN_DEPENDENCIES = libsodium host-pkgconf -GLORYTUN_LICENSE = BSD-2-clause -GLORYTUN_LICENSE_FILES = LICENSE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/glslsandbox-player/Config.in b/buildroot-2021.05/package/glslsandbox-player/Config.in deleted file mode 100644 index dc0d2c07..00000000 --- a/buildroot-2021.05/package/glslsandbox-player/Config.in +++ /dev/null @@ -1,112 +0,0 @@ -config BR2_PACKAGE_GLSLSANDBOX_PLAYER - bool "glslsandbox-player" - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_HAS_LIBGLES - # Doesn't really depend on threads, but this makes sure we have at least - # one native windowing system available, and is good enough in practice. - depends on BR2_TOOLCHAIN_HAS_THREADS - help - GLSL Sandbox standalone player allow one to run and render - (most of) nice shaders available online on the - http://glslsandbox.com/ website, but without the need of an - Internet connection, a web browser or any of its - dependencies. Instead, the only requirement of - glslsandbox-player is a working EGL and GLESv2 libraries. - - This package is useful for stressing and testing GLES shader - compiler in GPU drivers. - - https://github.com/jolivain/glslsandbox-player - -if BR2_PACKAGE_GLSLSANDBOX_PLAYER - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG - bool "Enable PNG support" - select BR2_PACKAGE_LIBPNG - help - Enable PNG texture loading support - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING - bool "Enable testing" - help - Generate and install test suite on target - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS - bool "Install scripts" - depends on !BR2_PACKAGE_PYTHON # python3 - depends on !BR2_STATIC_LIBS # python3 - depends on BR2_TOOLCHAIN_HAS_THREADS # python3 - depends on BR2_USE_MMU # bash, python3 - depends on BR2_USE_WCHAR # python3 - select BR2_PACKAGE_BASH # runtime - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash - select BR2_PACKAGE_COREUTILS # runtime (timeout) - select BR2_PACKAGE_LIBCURL_CURL # runtime - select BR2_PACKAGE_IMAGEMAGICK # runtime - select BR2_PACKAGE_JPEG # runtime - select BR2_PACKAGE_LIBCURL # runtime - select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL # runtime - select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL # runtime - select BR2_PACKAGE_MAKE # runtime - select BR2_PACKAGE_OPENSSL # runtime - select BR2_PACKAGE_PYTHON3 # runtime - help - Install additional helper scripts - -choice - prompt "Native windowing system" - default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI if BR2_PACKAGE_SUNXI_MALI_MAINLINE - default BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI if BR2_PACKAGE_RPI_USERLAND - default BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2 if BR2_PACKAGE_SDL2_OPENGLES - default BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX if BR2_PACKAGE_TI_SGX_UM - default BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL if BR2_PACKAGE_WAYLAND - default BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11 if BR2_PACKAGE_XORG7 - help - Select the native windowing system you wish to use. - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS - bool "KMS/DRM/GBM" - depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm - select BR2_PACKAGE_LIBDRM - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI - bool "Allwinner ARM/Mali Frame Buffer" - depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI - bool "RaspberryPI Frame Buffer" - depends on BR2_PACKAGE_RPI_USERLAND - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2 - bool "SDL2" - depends on BR2_PACKAGE_SDL2_OPENGLES - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX - bool "TI/SGX Frame Buffer" - depends on BR2_PACKAGE_TI_SGX_UM - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB - bool "Vivante Frame Buffer" - depends on BR2_PACKAGE_IMX_GPU_VIV - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL - bool "Wayland" - depends on BR2_PACKAGE_WAYLAND - -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11 - bool "X11" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 - -endchoice - -if BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL -config BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_IVI - bool "Wayland IVI shell support" -endif - -endif - -comment "glslsandbox-player needs a toolchain w/ threads and an openGL ES and EGL driver" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES diff --git a/buildroot-2021.05/package/glslsandbox-player/glslsandbox-player.hash b/buildroot-2021.05/package/glslsandbox-player/glslsandbox-player.hash deleted file mode 100644 index 66dac935..00000000 --- a/buildroot-2021.05/package/glslsandbox-player/glslsandbox-player.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 3458294a50c3d2fd54f806e46dd7bfba5f1e6aedadd6c396c76d70793419432b glslsandbox-player-2019.08.23.tar.gz -sha256 06a79395e8f3a4cc7ad068c6b59dfbe12c0efa4d27791e532345ceb1f41aea8a LICENSE diff --git a/buildroot-2021.05/package/glslsandbox-player/glslsandbox-player.mk b/buildroot-2021.05/package/glslsandbox-player/glslsandbox-player.mk deleted file mode 100644 index 5ace69d7..00000000 --- a/buildroot-2021.05/package/glslsandbox-player/glslsandbox-player.mk +++ /dev/null @@ -1,72 +0,0 @@ -################################################################################ -# -# glslsandbox-player -# -################################################################################ - -GLSLSANDBOX_PLAYER_VERSION = 2019.08.23 -GLSLSANDBOX_PLAYER_SITE = $(call github,jolivain,glslsandbox-player,v$(GLSLSANDBOX_PLAYER_VERSION)) -GLSLSANDBOX_PLAYER_AUTORECONF = YES -GLSLSANDBOX_PLAYER_DEPENDENCIES = libegl libgles host-pkgconf - -GLSLSANDBOX_PLAYER_LICENSE = BSD-2-Clause -GLSLSANDBOX_PLAYER_LICENSE_FILES = LICENSE - -ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG),y) -GLSLSANDBOX_PLAYER_DEPENDENCIES += libpng -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-libpng -else -GLSLSANDBOX_PLAYER_CONF_OPTS += --without-libpng -endif - -ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING),y) -GLSLSANDBOX_PLAYER_CONF_OPTS += \ - --with-shader-list=shader-tests.list \ - --enable-testing \ - --enable-install-testsuite -else -GLSLSANDBOX_PLAYER_CONF_OPTS += \ - --with-shader-list=shader-local.list \ - --disable-testing -endif - -ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS),y) -GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-install-scripts -else -GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-install-scripts -endif - -ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS),y) -# gbm dependency is not needed, as it is normally packaged with -# libegl/libgles drivers. -GLSLSANDBOX_PLAYER_DEPENDENCIES += libdrm -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms -else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y) -GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-mainline -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=mali -else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI),y) -GLSLSANDBOX_PLAYER_DEPENDENCIES += rpi-userland -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=rpi -else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2),y) -GLSLSANDBOX_PLAYER_DEPENDENCIES += sdl2 -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=sdl2 -else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX),y) -GLSLSANDBOX_PLAYER_DEPENDENCIES += ti-sgx-um -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=tisgx -else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB),y) -GLSLSANDBOX_PLAYER_DEPENDENCIES += imx-gpu-viv -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=vivfb -else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL),y) -GLSLSANDBOX_PLAYER_DEPENDENCIES += wayland -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=wl -ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_IVI),y) -GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-ivi -else -GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-ivi -endif -else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11),y) -GLSLSANDBOX_PLAYER_DEPENDENCIES += xlib_libX11 -GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=x11 -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gmp/gmp.mk b/buildroot-2021.05/package/gmp/gmp.mk deleted file mode 100644 index 5e16ef19..00000000 --- a/buildroot-2021.05/package/gmp/gmp.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# gmp -# -################################################################################ - -GMP_VERSION = 6.2.1 -GMP_SITE = $(BR2_GNU_MIRROR)/gmp -GMP_SOURCE = gmp-$(GMP_VERSION).tar.xz -GMP_INSTALL_STAGING = YES -GMP_LICENSE = LGPL-3.0+ or GPL-2.0+ -GMP_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2 -GMP_CPE_ID_VENDOR = gmplib -GMP_DEPENDENCIES = host-m4 -HOST_GMP_DEPENDENCIES = host-m4 - -# GMP doesn't support assembly for coldfire or mips r6 ISA yet -# Disable for ARM v7m since it has different asm constraints -ifeq ($(BR2_m68k_cf)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6)$(BR2_ARM_CPU_ARMV7M),y) -GMP_CONF_OPTS += --disable-assembly -endif - -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -GMP_CONF_OPTS += --enable-cxx -else -GMP_CONF_OPTS += --disable-cxx -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gmrender-resurrect/0001-Drop-UpnpInit.patch b/buildroot-2021.05/package/gmrender-resurrect/0001-Drop-UpnpInit.patch deleted file mode 100644 index 18ec7bb5..00000000 --- a/buildroot-2021.05/package/gmrender-resurrect/0001-Drop-UpnpInit.patch +++ /dev/null @@ -1,175 +0,0 @@ -From dc8c4d4dc234311b3099e7f1efadf5d9733c81e9 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 21 Aug 2020 21:29:00 +0200 -Subject: [PATCH] Drop UpnpInit - -UpnpInit has been dropped from libupnp 1.14.x as it can't be fixed -against CallStranger a.k.a. CVE-2020-12695 so replace it by UpnpInit2 -which is available since version 1.6.7 and -https://github.com/pupnp/pupnp/commit/2bcbdffd89a70364147d345ec5e70a3fce5cbc29 - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://github.com/hzeller/gmrender-resurrect/pull/214] ---- - dist-scripts/centos7/README.md | 2 +- - dist-scripts/debian/gmediarender.1 | 8 ++------ - dist-scripts/fedora/README.md | 2 +- - src/main.c | 13 ++++--------- - src/upnp_device.c | 18 +++++++++--------- - src/upnp_device.h | 2 +- - 6 files changed, 18 insertions(+), 27 deletions(-) - -diff --git a/dist-scripts/centos7/README.md b/dist-scripts/centos7/README.md -index 278d777..ed82fb6 100644 ---- a/dist-scripts/centos7/README.md -+++ b/dist-scripts/centos7/README.md -@@ -45,7 +45,7 @@ Additional configuration is also recommended, sice there's no configuration file - # vi /etc/systemd/system/gmediarender.service.d/customize.conf # or nano, or emacs, or whatever editor you like - [Service] - ExecStart= -- ExecStart=/usr/bin/gmediarender --port=49494 --ip-address= -f "DLNA Renderer GMediaRender" -+ ExecStart=/usr/bin/gmediarender --port=49494 --interface-name= -f "DLNA Renderer GMediaRender" - - # systemctl daemon-reload - # systemctl start gmediarender.service -diff --git a/dist-scripts/debian/gmediarender.1 b/dist-scripts/debian/gmediarender.1 -index 96123ff..b2b1359 100644 ---- a/dist-scripts/debian/gmediarender.1 -+++ b/dist-scripts/debian/gmediarender.1 -@@ -50,12 +50,8 @@ Usually, it is desirable for the renderer - to show up on controllers under a recognisable and unique name. This is - the option to set that name. - .TP --.B \-I, \-\-ip\-address \fI\\fP --The local IP address the service is running and advertised on. -- --This can --only be a single address, and must be explicitly specified (i.e. not --0.0.0.0). -+.B \-I, \-\-interface\-name \fI\\fP -+The local interface name the service is running and advertised on. - .TP - .B \-p, \-\-port \fI\\fP - Port to listen to. [49152..65535]. -diff --git a/dist-scripts/fedora/README.md b/dist-scripts/fedora/README.md -index 7b9ea4b..45aa536 100644 ---- a/dist-scripts/fedora/README.md -+++ b/dist-scripts/fedora/README.md -@@ -43,7 +43,7 @@ Additional configuration is also recommended, sice there's no configuration file - # vi /etc/systemd/system/gmediarender.service.d/customize.conf # or nano, or emacs, or whatever editor you like - [Service] - ExecStart= -- ExecStart=/usr/bin/gmediarender --port=49494 --ip-address= -f "DLNA Renderer GMediaRender" -+ ExecStart=/usr/bin/gmediarender --port=49494 --interface-name= -f "DLNA Renderer GMediaRender" - - # systemctl daemon-reload - # systemctl start gmediarender.service -diff --git a/src/main.c b/src/main.c -index ef720e3..2030c49 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -69,11 +69,7 @@ static gboolean show_transport_scpd = FALSE; - static gboolean show_outputs = FALSE; - static gboolean daemon_mode = FALSE; - --// IP-address seems strange in libupnp: they actually don't bind to --// that address, but to INADDR_ANY (miniserver.c in upnp library). --// Apparently they just use this for the advertisement ? Anyway, 0.0.0.0 would --// not work. --static const gchar *ip_address = NULL; -+static const gchar *interface_name = NULL; - static int listen_port = 49494; - - #ifdef GMRENDER_UUID -@@ -92,9 +88,8 @@ static const gchar *mime_filter = NULL; - static GOptionEntry option_entries[] = { - { "version", 0, 0, G_OPTION_ARG_NONE, &show_version, - "Output version information and exit", NULL }, -- { "ip-address", 'I', 0, G_OPTION_ARG_STRING, &ip_address, -- "The local IP address the service is running and advertised " -- "(only one, 0.0.0.0 won't work)", NULL }, -+ { "interface-name", 'I', 0, G_OPTION_ARG_STRING, &interface_name, -+ "The local interface name the service is running and advertised", NULL }, - // The following is not very reliable, as libupnp does not set - // SO_REUSEADDR by default, so it might increment (sending patch). - { "port", 'p', 0, G_OPTION_ARG_INT, &listen_port, -@@ -302,7 +297,7 @@ int main(int argc, char **argv) - listen_port); - return EXIT_FAILURE; - } -- device = upnp_device_init(upnp_renderer, ip_address, listen_port); -+ device = upnp_device_init(upnp_renderer, interface_name, listen_port); - if (device == NULL) { - Log_error("main", "ERROR: Failed to initialize UPnP device"); - return EXIT_FAILURE; -diff --git a/src/upnp_device.c b/src/upnp_device.c -index db65e4f..3151238 100644 ---- a/src/upnp_device.c -+++ b/src/upnp_device.c -@@ -416,13 +416,13 @@ static UPNP_CALLBACK(event_handler, EventType, event, userdata) - - static gboolean initialize_device(struct upnp_device_descriptor *device_def, - struct upnp_device *result_device, -- const char *ip_address, -+ const char *interface_name, - unsigned short port) - { - int rc; - char *buf; - -- rc = UpnpInit(ip_address, port); -+ rc = UpnpInit2(interface_name, port); - /* There have been situations reported in which UPNP had issues - * initializing right after network came up. #129 - */ -@@ -430,13 +430,13 @@ static gboolean initialize_device(struct upnp_device_descriptor *device_def, - static const int kRetryTimeMs = 1000; - while (rc != UPNP_E_SUCCESS && retries_left--) { - usleep(kRetryTimeMs * 1000); -- Log_error("upnp", "UpnpInit(ip=%s, port=%d) Error: %s (%d). Retrying... (%ds)", -- ip_address, port, UpnpGetErrorMessage(rc), rc, retries_left); -- rc = UpnpInit(ip_address, port); -+ Log_error("upnp", "UpnpInit2(interface=%s, port=%d) Error: %s (%d). Retrying... (%ds)", -+ interface_name, port, UpnpGetErrorMessage(rc), rc, retries_left); -+ rc = UpnpInit2(interface_name, port); - } - if (UPNP_E_SUCCESS != rc) { -- Log_error("upnp", "UpnpInit(ip=%s, port=%d) Error: %s (%d). Giving up.", -- ip_address, port, UpnpGetErrorMessage(rc), rc); -+ Log_error("upnp", "UpnpInit2(interface=%s, port=%d) Error: %s (%d). Giving up.", -+ interface_name, port, UpnpGetErrorMessage(rc), rc); - return FALSE; - } - Log_info("upnp", "Registered IP=%s port=%d\n", -@@ -483,7 +483,7 @@ static gboolean initialize_device(struct upnp_device_descriptor *device_def, - } - - struct upnp_device *upnp_device_init(struct upnp_device_descriptor *device_def, -- const char *ip_address, -+ const char *interface_name, - unsigned short port) - { - int rc; -@@ -516,7 +516,7 @@ struct upnp_device *upnp_device_init(struct upnp_device_descriptor *device_def, - webserver_register_buf(srv->scpd_url, buf, "text/xml"); - } - -- if (!initialize_device(device_def, result_device, ip_address, port)) { -+ if (!initialize_device(device_def, result_device, interface_name, port)) { - UpnpFinish(); - free(result_device); - return NULL; -diff --git a/src/upnp_device.h b/src/upnp_device.h -index 3e635e1..8c8e783 100644 ---- a/src/upnp_device.h -+++ b/src/upnp_device.h -@@ -49,7 +49,7 @@ struct upnp_device; - struct action_event; - - struct upnp_device *upnp_device_init(struct upnp_device_descriptor *device_def, -- const char *ip_address, -+ const char *interface_name, - unsigned short port); - - void upnp_device_shutdown(struct upnp_device *device); diff --git a/buildroot-2021.05/package/gmrender-resurrect/gmrender-resurrect.hash b/buildroot-2021.05/package/gmrender-resurrect/gmrender-resurrect.hash deleted file mode 100644 index dc474be6..00000000 --- a/buildroot-2021.05/package/gmrender-resurrect/gmrender-resurrect.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 1f0cef76e4543879c9cd31cad73d6c4f778b965884c586405efcf63f2bdbb06f gmrender-resurrect-0.0.8.tar.gz -sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING diff --git a/buildroot-2021.05/package/gmrender-resurrect/gmrender-resurrect.mk b/buildroot-2021.05/package/gmrender-resurrect/gmrender-resurrect.mk deleted file mode 100644 index 3500ab37..00000000 --- a/buildroot-2021.05/package/gmrender-resurrect/gmrender-resurrect.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# gmrender-resurrect -# -################################################################################ - -GMRENDER_RESURRECT_VERSION = 0.0.8 -GMRENDER_RESURRECT_SITE = $(call github,hzeller,gmrender-resurrect,v$(GMRENDER_RESURRECT_VERSION)) -# Original distribution does not have default configure, -# so we need to autoreconf: -GMRENDER_RESURRECT_AUTORECONF = YES -GMRENDER_RESURRECT_LICENSE = GPL-2.0+ -GMRENDER_RESURRECT_LICENSE_FILES = COPYING -GMRENDER_RESURRECT_DEPENDENCIES = \ - gstreamer1 \ - libupnp - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gnu-efi/Config.in b/buildroot-2021.05/package/gnu-efi/Config.in deleted file mode 100644 index d456a238..00000000 --- a/buildroot-2021.05/package/gnu-efi/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS - bool - default y if BR2_ARM_CPU_HAS_ARM - default y if BR2_aarch64 - default y if BR2_aarch64_be - default y if BR2_i386 - default y if BR2_x86_64 - -config BR2_PACKAGE_GNU_EFI - bool "gnu-efi" - depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS - help - Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 - (IPF), IA-32 (x86), and MIPS platforms using the GNU toolchain - and the EFI development environment. - - http://gnu-efi.sourceforge.net/ diff --git a/buildroot-2021.05/package/gnu-efi/gnu-efi.mk b/buildroot-2021.05/package/gnu-efi/gnu-efi.mk deleted file mode 100644 index 69618029..00000000 --- a/buildroot-2021.05/package/gnu-efi/gnu-efi.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# gnu-efi -# -################################################################################ - -GNU_EFI_VERSION = 3.0.10 -GNU_EFI_SOURCE = gnu-efi-$(GNU_EFI_VERSION).tar.bz2 -GNU_EFI_SITE = http://downloads.sourceforge.net/project/gnu-efi -GNU_EFI_INSTALL_STAGING = YES -GNU_EFI_LICENSE = BSD-3-Clause and/or GPL-2.0+ (gnuefi), BSD-3-Clause (efilib) -GNU_EFI_LICENSE_FILES = README.efilib - -# gnu-efi is a set of library and header files used to build -# standalone EFI applications such as bootloaders. There is no point -# in installing these libraries to the target. -GNU_EFI_INSTALL_TARGET = NO - -ifeq ($(BR2_i386),y) -GNU_EFI_PLATFORM = ia32 -else ifeq ($(BR2_x86_64),y) -GNU_EFI_PLATFORM = x86_64 -else ifeq ($(BR2_arm)$(BR2_armeb),y) -GNU_EFI_PLATFORM = arm -else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) -GNU_EFI_PLATFORM = aarch64 -endif - -GNU_EFI_MAKE_OPTS = \ - ARCH=$(GNU_EFI_PLATFORM) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - PREFIX=/usr - -define GNU_EFI_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(GNU_EFI_MAKE_OPTS) -endef - -define GNU_EFI_INSTALL_STAGING_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(GNU_EFI_MAKE_OPTS) \ - INSTALLROOT=$(STAGING_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/gnuchess/gnuchess.hash b/buildroot-2021.05/package/gnuchess/gnuchess.hash deleted file mode 100644 index 1641a7d8..00000000 --- a/buildroot-2021.05/package/gnuchess/gnuchess.hash +++ /dev/null @@ -1,3 +0,0 @@ -# sha256 locally computed -sha256 e536675a61abe82e61b919f6b786755441d9fcd4c21e1c82fb9e5340dd229846 gnuchess-6.2.7.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/gnuchess/gnuchess.mk b/buildroot-2021.05/package/gnuchess/gnuchess.mk deleted file mode 100644 index 60327dfe..00000000 --- a/buildroot-2021.05/package/gnuchess/gnuchess.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# gnuchess -# -################################################################################ - -GNUCHESS_VERSION = 6.2.7 -GNUCHESS_SITE = $(BR2_GNU_MIRROR)/chess -GNUCHESS_LICENSE = GPL-3.0+ -GNUCHESS_LICENSE_FILES = COPYING -GNUCHESS_CPE_ID_VENDOR = gnu -GNUCHESS_CPE_ID_PRODUCT = chess - -GNUCHESS_DEPENDENCIES = host-flex flex -GNUCHESS_DEPENDENCIES += $(if $(BR2_PACKAGE_READLINE),readline) \ - $(TARGET_NLS_DEPENDENCIES) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gnupg/gnupg.mk b/buildroot-2021.05/package/gnupg/gnupg.mk deleted file mode 100644 index 9729441b..00000000 --- a/buildroot-2021.05/package/gnupg/gnupg.mk +++ /dev/null @@ -1,90 +0,0 @@ -################################################################################ -# -# gnupg -# -################################################################################ - -GNUPG_VERSION = 1.4.23 -GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2 -GNUPG_SITE = https://gnupg.org/ftp/gcrypt/gnupg -GNUPG_LICENSE = GPL-3.0+ -GNUPG_LICENSE_FILES = COPYING -GNUPG_DEPENDENCIES = zlib $(if $(BR2_PACKAGE_LIBICONV),libiconv) -GNUPG_CPE_ID_VENDOR = gnupg -GNUPG_CONF_ENV = ac_cv_sys_symbol_underscore=no -GNUPG_CONF_OPTS = \ - --disable-rpath \ - --enable-minimal \ - --disable-regex \ - --enable-sha256 \ - --enable-sha512 - -HOST_GNUPG_DEPENDENCIES = host-zlib -HOST_GNUPG_CONF_OPTS = \ - --disable-rpath \ - --enable-minimal \ - --disable-regex \ - --enable-sha256 \ - --enable-sha512 \ - --enable-aes \ - --enable-rsa \ - --without-libcurl \ - --without-readline - -# gnupg doesn't support assembly for coldfire -ifeq ($(BR2_m68k_cf),y) -GNUPG_CONF_OPTS += --disable-asm -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -GNUPG_CONF_OPTS += --enable-bzip2 -GNUPG_DEPENDENCIES += bzip2 -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -GNUPG_CONF_ENV += ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config -GNUPG_DEPENDENCIES += libcurl -else -GNUPG_CONF_OPTS += --without-libcurl -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -GNUPG_DEPENDENCIES += readline -else -GNUPG_CONF_OPTS += --without-readline -endif - -ifeq ($(BR2_PACKAGE_GNUPG_AES),y) -GNUPG_CONF_OPTS += --enable-aes -else -GNUPG_CONF_OPTS += --disable-aes -endif - -ifeq ($(BR2_PACKAGE_GNUPG_RSA),y) -GNUPG_CONF_OPTS += --enable-rsa -else -GNUPG_CONF_OPTS += --disable-rsa -endif - -ifneq ($(BR2_PACKAGE_GNUPG_GPGV),y) -define GNUPG_REMOVE_GPGV - rm -f $(TARGET_DIR)/usr/bin/gpgv -endef -GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGV -endif - -ifneq ($(BR2_PACKAGE_GNUPG_GPGSPLIT),y) -define GNUPG_REMOVE_GPGSPLIT - rm -f $(TARGET_DIR)/usr/bin/gpgsplit -endef -GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGSPLIT -endif - -define GNUPG_FIXUP_GPG_ZIP - test -f $(TARGET_DIR)/usr/bin/gpg-zip && \ - $(SED) 's%^TAR=.*%TAR=/bin/tar%' $(TARGET_DIR)/usr/bin/gpg-zip -endef -GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_FIXUP_GPG_ZIP - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gnupg2/gnupg2.hash b/buildroot-2021.05/package/gnupg2/gnupg2.hash deleted file mode 100644 index 2b376ea0..00000000 --- a/buildroot-2021.05/package/gnupg2/gnupg2.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://lists.gnupg.org/pipermail/gnupg-announce/2020q4/000450.html -sha1 074b21dd07419575fa31c0c5d3116596d5544cbd gnupg-2.2.25.tar.bz2 -# Calculated based on the hash above and signature -# https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.25.tar.bz2.sig -# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 c55307b247af4b6f44d2916a25ffd1fb64ce2e509c3c3d028dbe7fbf309dc30a gnupg-2.2.25.tar.bz2 -sha256 bc2d6664f6276fa0a72d57633b3ae68dc7dcb677b71018bf08c8e93e509f1357 COPYING diff --git a/buildroot-2021.05/package/gnupg2/gnupg2.mk b/buildroot-2021.05/package/gnupg2/gnupg2.mk deleted file mode 100644 index 2f62890d..00000000 --- a/buildroot-2021.05/package/gnupg2/gnupg2.mk +++ /dev/null @@ -1,68 +0,0 @@ -################################################################################ -# -# gnupg2 -# -################################################################################ - -GNUPG2_VERSION = 2.2.25 -GNUPG2_SOURCE = gnupg-$(GNUPG2_VERSION).tar.bz2 -GNUPG2_SITE = https://gnupg.org/ftp/gcrypt/gnupg -GNUPG2_LICENSE = GPL-3.0+ -GNUPG2_LICENSE_FILES = COPYING -GNUPG2_CPE_ID_VENDOR = gnupg -GNUPG2_CPE_ID_PRODUCT = gnupg -GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libnpth \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) host-pkgconf - -GNUPG2_CONF_OPTS = \ - --disable-rpath --disable-regex \ - --with-libgpg-error-prefix=$(STAGING_DIR)/usr \ - --with-libgcrypt-prefix=$(STAGING_DIR)/usr \ - --with-libassuan-prefix=$(STAGING_DIR)/usr \ - --with-ksba-prefix=$(STAGING_DIR)/usr \ - --with-npth-prefix=$(STAGING_DIR)/usr - -ifneq ($(BR2_PACKAGE_GNUPG2_GPGV),y) -define GNUPG2_REMOVE_GPGV - rm -f $(TARGET_DIR)/usr/bin/gpgv -endef -GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -GNUPG2_CONF_OPTS += --enable-bzip2 --with-bzip2=$(STAGING_DIR) -GNUPG2_DEPENDENCIES += bzip2 -else -GNUPG2_CONF_OPTS += --disable-bzip2 -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -GNUPG2_CONF_OPTS += --enable-gnutls -GNUPG2_DEPENDENCIES += gnutls -else -GNUPG2_CONF_OPTS += --disable-gnutls -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -GNUPG2_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/libusb-1.0" -GNUPG2_CONF_OPTS += --enable-ccid-driver -GNUPG2_DEPENDENCIES += libusb -else -GNUPG2_CONF_OPTS += --disable-ccid-driver -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -GNUPG2_CONF_OPTS += --with-readline=$(STAGING_DIR) -GNUPG2_DEPENDENCIES += readline -else -GNUPG2_CONF_OPTS += --without-readline -endif - -ifeq ($(BR2_PACKAGE_SQLITE),y) -GNUPG2_CONF_OPTS += --enable-sqlite -GNUPG2_DEPENDENCIES += sqlite -else -GNUPG2_CONF_OPTS += --disable-sqlite -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gnuplot/gnuplot.hash b/buildroot-2021.05/package/gnuplot/gnuplot.hash deleted file mode 100644 index 9770185c..00000000 --- a/buildroot-2021.05/package/gnuplot/gnuplot.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceforge.net/projects/gnuplot/files/gnuplot/5.4.1/ -md5 80f75b684f1175d36cd6908ff1ceb588 gnuplot-5.4.1.tar.gz -sha1 bb1cd34f8ec0357eccef70122f0fd531ced5dd29 gnuplot-5.4.1.tar.gz -# Locally computed -sha256 6b690485567eaeb938c26936e5e0681cf70c856d273cc2c45fabf64d8bc6590e gnuplot-5.4.1.tar.gz -sha256 895928ec0735cca1c8cec42656c7e314a065d0242813bb8693c0c1bf61fd4e4d Copyright diff --git a/buildroot-2021.05/package/gnuplot/gnuplot.mk b/buildroot-2021.05/package/gnuplot/gnuplot.mk deleted file mode 100644 index 9a72a471..00000000 --- a/buildroot-2021.05/package/gnuplot/gnuplot.mk +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# -# gnuplot -# -################################################################################ - -GNUPLOT_VERSION = 5.4.1 -GNUPLOT_SITE = http://downloads.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION) -GNUPLOT_LICENSE = gnuplot license (open source) -GNUPLOT_LICENSE_FILES = Copyright -GNUPLOT_CPE_ID_VENDOR = gnuplot_project - -GNUPLOT_AUTORECONF = YES - -GNUPLOT_CONF_OPTS = \ - --without-x \ - --disable-raise-console \ - --disable-mouse \ - --without-tutorial \ - --disable-demo \ - --without-row-help \ - --disable-history-file \ - --disable-wxwidgets \ - --without-lua \ - --without-latex \ - --without-cairo - -# relocation truncated to fit: R_68K_GOT16O -ifeq ($(BR2_m68k_cf),y) -GNUPLOT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" -endif - -ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy) -GNUPLOT_CONF_OPTS += --with-gd -GNUPLOT_DEPENDENCIES += host-pkgconf gd -else -GNUPLOT_CONF_OPTS += --without-gd -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -GNUPLOT_CONF_OPTS += --with-readline=gnu -GNUPLOT_DEPENDENCIES += readline -else -GNUPLOT_CONF_OPTS += --without-readline -endif - -# Remove Javascript scripts, lua scripts, PostScript files -define GNUPLOT_REMOVE_UNNEEDED_FILES - $(RM) -rf $(TARGET_DIR)/usr/share/gnuplot -endef - -GNUPLOT_POST_INSTALL_TARGET_HOOKS += GNUPLOT_REMOVE_UNNEEDED_FILES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gnuradio/0002-boost_qualify_placeholders_with_their_full_namespace.patch b/buildroot-2021.05/package/gnuradio/0002-boost_qualify_placeholders_with_their_full_namespace.patch deleted file mode 100644 index 4f3d8921..00000000 --- a/buildroot-2021.05/package/gnuradio/0002-boost_qualify_placeholders_with_their_full_namespace.patch +++ /dev/null @@ -1,1025 +0,0 @@ -From 5752be31d17be80203d9fc44a73661712542bfe1 Mon Sep 17 00:00:00 2001 -From: ponce -Date: Sun, 17 May 2020 14:02:57 +0200 -Subject: [PATCH] boost: qualify placeholders with their full namespace. - -This is needed with boost >= 1.73.0. - -[Upstream status: https://github.com/gnuradio/gnuradio/pull/3566] - -Signed-off-by: ponce -Signed-off-by: Gwenhael Goavec-Merou ---- - .../(exported from wiki) Message Passing.txt | 8 +++--- - gnuradio-runtime/lib/block.cc | 3 ++- - gr-analog/lib/sig_source_impl.cc | 4 ++- - gr-blocks/lib/copy_impl.cc | 4 ++- - gr-blocks/lib/message_debug_impl.cc | 13 +++++++--- - gr-blocks/lib/message_strobe_impl.cc | 5 ++-- - gr-blocks/lib/message_strobe_random_impl.cc | 5 ++-- - gr-blocks/lib/multiply_matrix_impl.cc | 11 +++++--- - gr-blocks/lib/mute_impl.cc | 5 ++-- - gr-blocks/lib/nop_impl.cc | 5 ++-- - gr-blocks/lib/pdu_filter_impl.cc | 5 ++-- - gr-blocks/lib/pdu_remove_impl.cc | 5 ++-- - gr-blocks/lib/pdu_set_impl.cc | 4 ++- - gr-blocks/lib/random_pdu_impl.cc | 5 ++-- - gr-blocks/lib/repeat_impl.cc | 5 ++-- - gr-blocks/lib/socket_pdu_impl.cc | 18 ++++++++----- - .../lib/tagged_stream_multiply_length_impl.cc | 7 +++--- - gr-blocks/lib/tuntap_pdu_impl.cc | 3 ++- - gr-digital/lib/chunks_to_symbols_impl.cc | 5 ++-- - .../lib/constellation_receiver_cb_impl.cc | 14 ++++++----- - gr-digital/lib/costas_loop_cc_impl.cc | 4 ++- - gr-digital/lib/crc32_async_bb_impl.cc | 8 ++++-- - gr-digital/lib/header_payload_demux_impl.cc | 7 +++--- - .../lib/protocol_formatter_async_impl.cc | 4 ++- - gr-fec/lib/async_decoder_impl.cc | 8 ++++-- - gr-fec/lib/async_encoder_impl.cc | 8 ++++-- - gr-fec/lib/depuncture_bb_impl.cc | 4 ++- - gr-fec/lib/puncture_bb_impl.cc | 4 ++- - gr-fec/lib/puncture_ff_impl.cc | 4 ++- - gr-filter/lib/freq_xlating_fir_filter_impl.cc | 2 +- - gr-filter/lib/mmse_resampler_cc_impl.cc | 5 ++-- - gr-filter/lib/mmse_resampler_ff_impl.cc | 5 ++-- - gr-qtgui/lib/const_sink_c_impl.cc | 5 ++-- - gr-qtgui/lib/edit_box_msg_impl.cc | 4 ++- - gr-qtgui/lib/freq_sink_c_impl.cc | 12 ++++++--- - gr-qtgui/lib/freq_sink_f_impl.cc | 12 ++++++--- - gr-qtgui/lib/histogram_sink_f_impl.cc | 5 ++-- - gr-qtgui/lib/sink_c_impl.cc | 4 ++- - gr-qtgui/lib/sink_f_impl.cc | 4 ++- - gr-qtgui/lib/time_raster_sink_b_impl.cc | 4 ++- - gr-qtgui/lib/time_raster_sink_f_impl.cc | 4 ++- - gr-qtgui/lib/time_sink_c_impl.cc | 4 ++- - gr-qtgui/lib/time_sink_f_impl.cc | 4 ++- - gr-qtgui/lib/waterfall_sink_c_impl.cc | 13 +++++++--- - gr-qtgui/lib/waterfall_sink_f_impl.cc | 13 +++++++--- - gr-uhd/lib/usrp_block_impl.cc | 25 ++++++++++++------- - gr-uhd/lib/usrp_source_impl.cc | 5 ++-- - gr-zeromq/lib/pub_msg_sink_impl.cc | 4 ++- - gr-zeromq/lib/push_msg_sink_impl.cc | 4 ++- - 49 files changed, 216 insertions(+), 107 deletions(-) - -diff --git a/docs/usage-manual/(exported from wiki) Message Passing.txt b/docs/usage-manual/(exported from wiki) Message Passing.txt -index 4654bd5dac..551e710228 100644 ---- a/docs/usage-manual/(exported from wiki) Message Passing.txt -+++ b/docs/usage-manual/(exported from wiki) Message Passing.txt -@@ -94,7 +94,7 @@ must then bind this port to the message handler. For this, we use - Boost's 'bind' function: - - set_msg_handler(pmt::pmt_t port_id, -- boost::bind(&block_class::message_handler_function, this, _1)); -+ boost::bind(&block_class::message_handler_function, this, boost::placeholders::_1)); - - In Python: - -@@ -241,15 +241,15 @@ The constructor of this block looks like this: - { - message_port_register_in(pmt::mp("print")); - set_msg_handler(pmt::mp("print"), -- boost::bind(&message_debug_impl::print, this, _1)); -+ boost::bind(&message_debug_impl::print, this, boost::placeholders::_1)); - - message_port_register_in(pmt::mp("store")); - set_msg_handler(pmt::mp("store"), -- boost::bind(&message_debug_impl::store, this, _1)); -+ boost::bind(&message_debug_impl::store, this, boost::placeholders::_1)); - - message_port_register_in(pmt::mp("print_pdu")); - set_msg_handler(pmt::mp("print_pdu"), -- boost::bind(&message_debug_impl::print_pdu, this, _1)); -+ boost::bind(&message_debug_impl::print_pdu, this, boost::placeholders::_1)); - } - - -diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc -index 5914283908..fca4cab97e 100644 ---- a/gnuradio-runtime/lib/block.cc -+++ b/gnuradio-runtime/lib/block.cc -@@ -61,7 +61,8 @@ block::block(const std::string& name, - { - global_block_registry.register_primitive(alias(), this); - message_port_register_in(d_system_port); -- set_msg_handler(d_system_port, boost::bind(&block::system_handler, this, _1)); -+ set_msg_handler(d_system_port, -+ boost::bind(&block::system_handler, this, boost::placeholders::_1)); - - configure_default_loggers(d_logger, d_debug_logger, symbol_name()); - } -diff --git a/gr-analog/lib/sig_source_impl.cc b/gr-analog/lib/sig_source_impl.cc -index b73b32982d..01c5fbfdb0 100644 ---- a/gr-analog/lib/sig_source_impl.cc -+++ b/gr-analog/lib/sig_source_impl.cc -@@ -67,7 +67,9 @@ sig_source_impl::sig_source_impl(double sampling_freq, - this->set_phase(phase); - this->message_port_register_in(pmt::mp("freq")); - this->set_msg_handler(pmt::mp("freq"), -- boost::bind(&sig_source_impl::set_frequency_msg, this, _1)); -+ boost::bind(&sig_source_impl::set_frequency_msg, -+ this, -+ boost::placeholders::_1)); - } - - template -diff --git a/gr-blocks/lib/copy_impl.cc b/gr-blocks/lib/copy_impl.cc -index c377e57b1e..b55196c24b 100644 ---- a/gr-blocks/lib/copy_impl.cc -+++ b/gr-blocks/lib/copy_impl.cc -@@ -44,7 +44,9 @@ copy_impl::copy_impl(size_t itemsize) - d_enabled(true) - { - message_port_register_in(pmt::mp("en")); -- set_msg_handler(pmt::mp("en"), boost::bind(©_impl::handle_enable, this, _1)); -+ set_msg_handler( -+ pmt::mp("en"), -+ boost::bind(©_impl::handle_enable, this, boost::placeholders::_1)); - } - - copy_impl::~copy_impl() {} -diff --git a/gr-blocks/lib/message_debug_impl.cc b/gr-blocks/lib/message_debug_impl.cc -index a8c84aa509..916f97ca3d 100644 ---- a/gr-blocks/lib/message_debug_impl.cc -+++ b/gr-blocks/lib/message_debug_impl.cc -@@ -90,14 +90,19 @@ message_debug_impl::message_debug_impl() - : block("message_debug", io_signature::make(0, 0, 0), io_signature::make(0, 0, 0)) - { - message_port_register_in(pmt::mp("print")); -- set_msg_handler(pmt::mp("print"), boost::bind(&message_debug_impl::print, this, _1)); -+ set_msg_handler( -+ pmt::mp("print"), -+ boost::bind(&message_debug_impl::print, this, boost::placeholders::_1)); - - message_port_register_in(pmt::mp("store")); -- set_msg_handler(pmt::mp("store"), boost::bind(&message_debug_impl::store, this, _1)); -+ set_msg_handler( -+ pmt::mp("store"), -+ boost::bind(&message_debug_impl::store, this, boost::placeholders::_1)); - - message_port_register_in(pmt::mp("print_pdu")); -- set_msg_handler(pmt::mp("print_pdu"), -- boost::bind(&message_debug_impl::print_pdu, this, _1)); -+ set_msg_handler( -+ pmt::mp("print_pdu"), -+ boost::bind(&message_debug_impl::print_pdu, this, boost::placeholders::_1)); - } - - message_debug_impl::~message_debug_impl() {} -diff --git a/gr-blocks/lib/message_strobe_impl.cc b/gr-blocks/lib/message_strobe_impl.cc -index 038eeae5a1..d131b81662 100644 ---- a/gr-blocks/lib/message_strobe_impl.cc -+++ b/gr-blocks/lib/message_strobe_impl.cc -@@ -53,8 +53,9 @@ message_strobe_impl::message_strobe_impl(pmt::pmt_t msg, long period_ms) - message_port_register_out(d_port); - - message_port_register_in(pmt::mp("set_msg")); -- set_msg_handler(pmt::mp("set_msg"), -- boost::bind(&message_strobe_impl::set_msg, this, _1)); -+ set_msg_handler( -+ pmt::mp("set_msg"), -+ boost::bind(&message_strobe_impl::set_msg, this, boost::placeholders::_1)); - } - - message_strobe_impl::~message_strobe_impl() {} -diff --git a/gr-blocks/lib/message_strobe_random_impl.cc b/gr-blocks/lib/message_strobe_random_impl.cc -index 0ab5d6adc7..53e641fba4 100644 ---- a/gr-blocks/lib/message_strobe_random_impl.cc -+++ b/gr-blocks/lib/message_strobe_random_impl.cc -@@ -74,8 +74,9 @@ message_strobe_random_impl::message_strobe_random_impl( - new gr::thread::thread(boost::bind(&message_strobe_random_impl::run, this))); - - message_port_register_in(pmt::mp("set_msg")); -- set_msg_handler(pmt::mp("set_msg"), -- boost::bind(&message_strobe_random_impl::set_msg, this, _1)); -+ set_msg_handler( -+ pmt::mp("set_msg"), -+ boost::bind(&message_strobe_random_impl::set_msg, this, boost::placeholders::_1)); - } - - long message_strobe_random_impl::next_delay() -diff --git a/gr-blocks/lib/multiply_matrix_impl.cc b/gr-blocks/lib/multiply_matrix_impl.cc -index e1b9c746c6..e38953baba 100644 ---- a/gr-blocks/lib/multiply_matrix_impl.cc -+++ b/gr-blocks/lib/multiply_matrix_impl.cc -@@ -235,9 +235,10 @@ multiply_matrix_impl::multiply_matrix_impl( - - pmt::pmt_t port_name = pmt::string_to_symbol("set_A"); - message_port_register_in(port_name); -- set_msg_handler( -- port_name, -- boost::bind(&multiply_matrix_impl::msg_handler_A, this, _1)); -+ set_msg_handler(port_name, -+ boost::bind(&multiply_matrix_impl::msg_handler_A, -+ this, -+ boost::placeholders::_1)); - } - - template <> -@@ -257,7 +258,9 @@ multiply_matrix_impl::multiply_matrix_impl( - pmt::pmt_t port_name = pmt::string_to_symbol("set_A"); - message_port_register_in(port_name); - set_msg_handler(port_name, -- boost::bind(&multiply_matrix_impl::msg_handler_A, this, _1)); -+ boost::bind(&multiply_matrix_impl::msg_handler_A, -+ this, -+ boost::placeholders::_1)); - } - - -diff --git a/gr-blocks/lib/mute_impl.cc b/gr-blocks/lib/mute_impl.cc -index bd65ce2075..5c732f8f4f 100644 ---- a/gr-blocks/lib/mute_impl.cc -+++ b/gr-blocks/lib/mute_impl.cc -@@ -47,8 +47,9 @@ mute_impl::mute_impl(bool mute) - d_mute(mute) - { - this->message_port_register_in(pmt::intern("set_mute")); -- this->set_msg_handler(pmt::intern("set_mute"), -- boost::bind(&mute_impl::set_mute_pmt, this, _1)); -+ this->set_msg_handler( -+ pmt::intern("set_mute"), -+ boost::bind(&mute_impl::set_mute_pmt, this, boost::placeholders::_1)); - } - - template -diff --git a/gr-blocks/lib/nop_impl.cc b/gr-blocks/lib/nop_impl.cc -index db216d97a4..e9baee5878 100644 ---- a/gr-blocks/lib/nop_impl.cc -+++ b/gr-blocks/lib/nop_impl.cc -@@ -44,8 +44,9 @@ nop_impl::nop_impl(size_t sizeof_stream_item) - { - // Arrange to have count_received_msgs called when messages are received. - message_port_register_in(pmt::mp("port")); -- set_msg_handler(pmt::mp("port"), -- boost::bind(&nop_impl::count_received_msgs, this, _1)); -+ set_msg_handler( -+ pmt::mp("port"), -+ boost::bind(&nop_impl::count_received_msgs, this, boost::placeholders::_1)); - } - - nop_impl::~nop_impl() {} -diff --git a/gr-blocks/lib/pdu_filter_impl.cc b/gr-blocks/lib/pdu_filter_impl.cc -index b0748eec02..63cfe47e4c 100644 ---- a/gr-blocks/lib/pdu_filter_impl.cc -+++ b/gr-blocks/lib/pdu_filter_impl.cc -@@ -44,8 +44,9 @@ pdu_filter_impl::pdu_filter_impl(pmt::pmt_t k, pmt::pmt_t v, bool invert) - { - message_port_register_out(pdu::pdu_port_id()); - message_port_register_in(pdu::pdu_port_id()); -- set_msg_handler(pdu::pdu_port_id(), -- boost::bind(&pdu_filter_impl::handle_msg, this, _1)); -+ set_msg_handler( -+ pdu::pdu_port_id(), -+ boost::bind(&pdu_filter_impl::handle_msg, this, boost::placeholders::_1)); - } - - void pdu_filter_impl::handle_msg(pmt::pmt_t pdu) -diff --git a/gr-blocks/lib/pdu_remove_impl.cc b/gr-blocks/lib/pdu_remove_impl.cc -index 19cc4dc76a..2b97f827b2 100644 ---- a/gr-blocks/lib/pdu_remove_impl.cc -+++ b/gr-blocks/lib/pdu_remove_impl.cc -@@ -42,8 +42,9 @@ pdu_remove_impl::pdu_remove_impl(pmt::pmt_t k) - { - message_port_register_out(pdu::pdu_port_id()); - message_port_register_in(pdu::pdu_port_id()); -- set_msg_handler(pdu::pdu_port_id(), -- boost::bind(&pdu_remove_impl::handle_msg, this, _1)); -+ set_msg_handler( -+ pdu::pdu_port_id(), -+ boost::bind(&pdu_remove_impl::handle_msg, this, boost::placeholders::_1)); - } - - void pdu_remove_impl::handle_msg(pmt::pmt_t pdu) -diff --git a/gr-blocks/lib/pdu_set_impl.cc b/gr-blocks/lib/pdu_set_impl.cc -index 40fbc3cd83..af59ef70f3 100644 ---- a/gr-blocks/lib/pdu_set_impl.cc -+++ b/gr-blocks/lib/pdu_set_impl.cc -@@ -43,7 +43,9 @@ pdu_set_impl::pdu_set_impl(pmt::pmt_t k, pmt::pmt_t v) - { - message_port_register_out(pdu::pdu_port_id()); - message_port_register_in(pdu::pdu_port_id()); -- set_msg_handler(pdu::pdu_port_id(), boost::bind(&pdu_set_impl::handle_msg, this, _1)); -+ set_msg_handler( -+ pdu::pdu_port_id(), -+ boost::bind(&pdu_set_impl::handle_msg, this, boost::placeholders::_1)); - } - - void pdu_set_impl::handle_msg(pmt::pmt_t pdu) -diff --git a/gr-blocks/lib/random_pdu_impl.cc b/gr-blocks/lib/random_pdu_impl.cc -index 75d825aefa..6c142c3531 100644 ---- a/gr-blocks/lib/random_pdu_impl.cc -+++ b/gr-blocks/lib/random_pdu_impl.cc -@@ -52,8 +52,9 @@ random_pdu_impl::random_pdu_impl(int min_items, - { - message_port_register_out(pdu::pdu_port_id()); - message_port_register_in(pmt::mp("generate")); -- set_msg_handler(pmt::mp("generate"), -- boost::bind(&random_pdu_impl::generate_pdu, this, _1)); -+ set_msg_handler( -+ pmt::mp("generate"), -+ boost::bind(&random_pdu_impl::generate_pdu, this, boost::placeholders::_1)); - if (length_modulo < 1) - throw std::runtime_error("length_module must be >= 1"); - if (max_items < length_modulo) -diff --git a/gr-blocks/lib/repeat_impl.cc b/gr-blocks/lib/repeat_impl.cc -index 189fbc8948..d6569625da 100644 ---- a/gr-blocks/lib/repeat_impl.cc -+++ b/gr-blocks/lib/repeat_impl.cc -@@ -44,8 +44,9 @@ repeat_impl::repeat_impl(size_t itemsize, int interp) - d_interp(interp) - { - message_port_register_in(pmt::mp("interpolation")); -- set_msg_handler(pmt::mp("interpolation"), -- boost::bind(&repeat_impl::msg_set_interpolation, this, _1)); -+ set_msg_handler( -+ pmt::mp("interpolation"), -+ boost::bind(&repeat_impl::msg_set_interpolation, this, boost::placeholders::_1)); - } - - void repeat_impl::msg_set_interpolation(pmt::pmt_t msg) -diff --git a/gr-blocks/lib/socket_pdu_impl.cc b/gr-blocks/lib/socket_pdu_impl.cc -index df69f07ad2..163eec3a68 100644 ---- a/gr-blocks/lib/socket_pdu_impl.cc -+++ b/gr-blocks/lib/socket_pdu_impl.cc -@@ -101,7 +101,9 @@ socket_pdu_impl::socket_pdu_impl(std::string type, - start_tcp_accept(); - - set_msg_handler(pdu::pdu_port_id(), -- boost::bind(&socket_pdu_impl::tcp_server_send, this, _1)); -+ boost::bind(&socket_pdu_impl::tcp_server_send, -+ this, -+ boost::placeholders::_1)); - } else if (type == "TCP_CLIENT") { - boost::system::error_code error = boost::asio::error::host_not_found; - d_tcp_socket.reset(new boost::asio::ip::tcp::socket(d_io_service)); -@@ -111,7 +113,9 @@ socket_pdu_impl::socket_pdu_impl(std::string type, - d_tcp_socket->set_option(boost::asio::ip::tcp::no_delay(d_tcp_no_delay)); - - set_msg_handler(pdu::pdu_port_id(), -- boost::bind(&socket_pdu_impl::tcp_client_send, this, _1)); -+ boost::bind(&socket_pdu_impl::tcp_client_send, -+ this, -+ boost::placeholders::_1)); - - d_tcp_socket->async_read_some( - boost::asio::buffer(d_rxbuf), -@@ -130,8 +134,9 @@ socket_pdu_impl::socket_pdu_impl(std::string type, - boost::asio::placeholders::error, - boost::asio::placeholders::bytes_transferred)); - -- set_msg_handler(pdu::pdu_port_id(), -- boost::bind(&socket_pdu_impl::udp_send, this, _1)); -+ set_msg_handler( -+ pdu::pdu_port_id(), -+ boost::bind(&socket_pdu_impl::udp_send, this, boost::placeholders::_1)); - } else if (type == "UDP_CLIENT") { - d_udp_socket.reset( - new boost::asio::ip::udp::socket(d_io_service, d_udp_endpoint)); -@@ -143,8 +148,9 @@ socket_pdu_impl::socket_pdu_impl(std::string type, - boost::asio::placeholders::error, - boost::asio::placeholders::bytes_transferred)); - -- set_msg_handler(pdu::pdu_port_id(), -- boost::bind(&socket_pdu_impl::udp_send, this, _1)); -+ set_msg_handler( -+ pdu::pdu_port_id(), -+ boost::bind(&socket_pdu_impl::udp_send, this, boost::placeholders::_1)); - } else - throw std::runtime_error("gr::blocks:socket_pdu: unknown socket type"); - -diff --git a/gr-blocks/lib/tagged_stream_multiply_length_impl.cc b/gr-blocks/lib/tagged_stream_multiply_length_impl.cc -index 30f4c46dc6..34b95d647d 100644 ---- a/gr-blocks/lib/tagged_stream_multiply_length_impl.cc -+++ b/gr-blocks/lib/tagged_stream_multiply_length_impl.cc -@@ -49,9 +49,10 @@ tagged_stream_multiply_length_impl::tagged_stream_multiply_length_impl( - set_tag_propagation_policy(TPP_DONT); - set_relative_rate(1, 1); - message_port_register_in(pmt::intern("set_scalar")); -- set_msg_handler( -- pmt::intern("set_scalar"), -- boost::bind(&tagged_stream_multiply_length_impl::set_scalar_pmt, this, _1)); -+ set_msg_handler(pmt::intern("set_scalar"), -+ boost::bind(&tagged_stream_multiply_length_impl::set_scalar_pmt, -+ this, -+ boost::placeholders::_1)); - } - - tagged_stream_multiply_length_impl::~tagged_stream_multiply_length_impl() {} -diff --git a/gr-blocks/lib/tuntap_pdu_impl.cc b/gr-blocks/lib/tuntap_pdu_impl.cc -index 4343ae1dc3..0d9d7e28c7 100644 ---- a/gr-blocks/lib/tuntap_pdu_impl.cc -+++ b/gr-blocks/lib/tuntap_pdu_impl.cc -@@ -96,7 +96,8 @@ tuntap_pdu_impl::tuntap_pdu_impl(std::string dev, int MTU, bool istunflag) - - // set up input message port - message_port_register_in(pdu::pdu_port_id()); -- set_msg_handler(pdu::pdu_port_id(), boost::bind(&tuntap_pdu_impl::send, this, _1)); -+ set_msg_handler(pdu::pdu_port_id(), -+ boost::bind(&tuntap_pdu_impl::send, this, boost::placeholders::_1)); - } - - int tuntap_pdu_impl::tun_alloc(char* dev, int flags) -diff --git a/gr-digital/lib/chunks_to_symbols_impl.cc b/gr-digital/lib/chunks_to_symbols_impl.cc -index 26d590a66e..a6810a69eb 100644 ---- a/gr-digital/lib/chunks_to_symbols_impl.cc -+++ b/gr-digital/lib/chunks_to_symbols_impl.cc -@@ -53,8 +53,9 @@ chunks_to_symbols_impl::chunks_to_symbols_impl( - this->message_port_register_in(pmt::mp("set_symbol_table")); - this->set_msg_handler( - pmt::mp("set_symbol_table"), -- boost::bind( -- &chunks_to_symbols_impl::handle_set_symbol_table, this, _1)); -+ boost::bind(&chunks_to_symbols_impl::handle_set_symbol_table, -+ this, -+ boost::placeholders::_1)); - } - - template -diff --git a/gr-digital/lib/constellation_receiver_cb_impl.cc b/gr-digital/lib/constellation_receiver_cb_impl.cc -index 7fb7559d5e..7e216ece56 100644 ---- a/gr-digital/lib/constellation_receiver_cb_impl.cc -+++ b/gr-digital/lib/constellation_receiver_cb_impl.cc -@@ -61,14 +61,16 @@ constellation_receiver_cb_impl::constellation_receiver_cb_impl( - "This receiver only works with constellations of dimension 1."); - - message_port_register_in(pmt::mp("set_constellation")); -- set_msg_handler( -- pmt::mp("set_constellation"), -- boost::bind(&constellation_receiver_cb_impl::handle_set_constellation, this, _1)); -+ set_msg_handler(pmt::mp("set_constellation"), -+ boost::bind(&constellation_receiver_cb_impl::handle_set_constellation, -+ this, -+ boost::placeholders::_1)); - - message_port_register_in(pmt::mp("rotate_phase")); -- set_msg_handler( -- pmt::mp("rotate_phase"), -- boost::bind(&constellation_receiver_cb_impl::handle_rotate_phase, this, _1)); -+ set_msg_handler(pmt::mp("rotate_phase"), -+ boost::bind(&constellation_receiver_cb_impl::handle_rotate_phase, -+ this, -+ boost::placeholders::_1)); - } - - constellation_receiver_cb_impl::~constellation_receiver_cb_impl() {} -diff --git a/gr-digital/lib/costas_loop_cc_impl.cc b/gr-digital/lib/costas_loop_cc_impl.cc -index c3b30834eb..e1229e6f4a 100644 ---- a/gr-digital/lib/costas_loop_cc_impl.cc -+++ b/gr-digital/lib/costas_loop_cc_impl.cc -@@ -82,7 +82,9 @@ costas_loop_cc_impl::costas_loop_cc_impl(float loop_bw, int order, bool use_snr) - - message_port_register_in(pmt::mp("noise")); - set_msg_handler(pmt::mp("noise"), -- boost::bind(&costas_loop_cc_impl::handle_set_noise, this, _1)); -+ boost::bind(&costas_loop_cc_impl::handle_set_noise, -+ this, -+ boost::placeholders::_1)); - } - - costas_loop_cc_impl::~costas_loop_cc_impl() {} -diff --git a/gr-digital/lib/crc32_async_bb_impl.cc b/gr-digital/lib/crc32_async_bb_impl.cc -index bffbb2a737..66143866c0 100644 ---- a/gr-digital/lib/crc32_async_bb_impl.cc -+++ b/gr-digital/lib/crc32_async_bb_impl.cc -@@ -48,9 +48,13 @@ crc32_async_bb_impl::crc32_async_bb_impl(bool check) - message_port_register_out(d_out_port); - - if (check) -- set_msg_handler(d_in_port, boost::bind(&crc32_async_bb_impl::check, this, _1)); -+ set_msg_handler( -+ d_in_port, -+ boost::bind(&crc32_async_bb_impl::check, this, boost::placeholders::_1)); - else -- set_msg_handler(d_in_port, boost::bind(&crc32_async_bb_impl::calc, this, _1)); -+ set_msg_handler( -+ d_in_port, -+ boost::bind(&crc32_async_bb_impl::calc, this, boost::placeholders::_1)); - } - - crc32_async_bb_impl::~crc32_async_bb_impl() {} -diff --git a/gr-digital/lib/header_payload_demux_impl.cc b/gr-digital/lib/header_payload_demux_impl.cc -index 98c805fb20..7cc1e0a4ed 100644 ---- a/gr-digital/lib/header_payload_demux_impl.cc -+++ b/gr-digital/lib/header_payload_demux_impl.cc -@@ -150,9 +150,10 @@ header_payload_demux_impl::header_payload_demux_impl( - } - set_tag_propagation_policy(TPP_DONT); - message_port_register_in(msg_port_id()); -- set_msg_handler( -- msg_port_id(), -- boost::bind(&header_payload_demux_impl::parse_header_data_msg, this, _1)); -+ set_msg_handler(msg_port_id(), -+ boost::bind(&header_payload_demux_impl::parse_header_data_msg, -+ this, -+ boost::placeholders::_1)); - for (size_t i = 0; i < special_tags.size(); i++) { - d_special_tags.push_back(pmt::string_to_symbol(special_tags[i])); - d_special_tags_last_value.push_back(pmt::PMT_NIL); -diff --git a/gr-digital/lib/protocol_formatter_async_impl.cc b/gr-digital/lib/protocol_formatter_async_impl.cc -index 84b693745d..c08bbb9aeb 100644 ---- a/gr-digital/lib/protocol_formatter_async_impl.cc -+++ b/gr-digital/lib/protocol_formatter_async_impl.cc -@@ -55,7 +55,9 @@ protocol_formatter_async_impl::protocol_formatter_async_impl( - message_port_register_out(d_pld_port); - - set_msg_handler(d_in_port, -- boost::bind(&protocol_formatter_async_impl::append, this, _1)); -+ boost::bind(&protocol_formatter_async_impl::append, -+ this, -+ boost::placeholders::_1)); - } - - protocol_formatter_async_impl::~protocol_formatter_async_impl() {} -diff --git a/gr-fec/lib/async_decoder_impl.cc b/gr-fec/lib/async_decoder_impl.cc -index e7a668c832..5d68d13ae7 100644 ---- a/gr-fec/lib/async_decoder_impl.cc -+++ b/gr-fec/lib/async_decoder_impl.cc -@@ -65,10 +65,14 @@ async_decoder_impl::async_decoder_impl(generic_decoder::sptr my_decoder, - if (d_packed) { - d_pack = new blocks::kernel::pack_k_bits(8); - set_msg_handler(d_in_port, -- boost::bind(&async_decoder_impl::decode_packed, this, _1)); -+ boost::bind(&async_decoder_impl::decode_packed, -+ this, -+ boost::placeholders::_1)); - } else { - set_msg_handler(d_in_port, -- boost::bind(&async_decoder_impl::decode_unpacked, this, _1)); -+ boost::bind(&async_decoder_impl::decode_unpacked, -+ this, -+ boost::placeholders::_1)); - } - - // The maximum frame size is set by the initial frame size of the decoder. -diff --git a/gr-fec/lib/async_encoder_impl.cc b/gr-fec/lib/async_encoder_impl.cc -index 811d55601f..506ae5c7e9 100644 ---- a/gr-fec/lib/async_encoder_impl.cc -+++ b/gr-fec/lib/async_encoder_impl.cc -@@ -64,7 +64,9 @@ async_encoder_impl::async_encoder_impl(generic_encoder::sptr my_encoder, - - if (d_packed) { - set_msg_handler(d_in_port, -- boost::bind(&async_encoder_impl::encode_packed, this, _1)); -+ boost::bind(&async_encoder_impl::encode_packed, -+ this, -+ boost::placeholders::_1)); - - d_unpack = new blocks::kernel::unpack_k_bits(8); - -@@ -74,7 +76,9 @@ async_encoder_impl::async_encoder_impl(generic_encoder::sptr my_encoder, - - } else { - set_msg_handler(d_in_port, -- boost::bind(&async_encoder_impl::encode_unpacked, this, _1)); -+ boost::bind(&async_encoder_impl::encode_unpacked, -+ this, -+ boost::placeholders::_1)); - } - - if (d_packed || (strncmp(d_encoder->get_input_conversion(), "pack", 4) == 0)) { -diff --git a/gr-fec/lib/depuncture_bb_impl.cc b/gr-fec/lib/depuncture_bb_impl.cc -index 27d00bb5bb..f64dad45fc 100644 ---- a/gr-fec/lib/depuncture_bb_impl.cc -+++ b/gr-fec/lib/depuncture_bb_impl.cc -@@ -74,7 +74,9 @@ depuncture_bb_impl::depuncture_bb_impl(int puncsize, int puncpat, int delay, cha - set_fixed_rate(true); - set_relative_rate((uint64_t)d_puncsize, (uint64_t)(d_puncsize - d_puncholes)); - set_output_multiple(d_puncsize); -- // set_msg_handler(boost::bind(&depuncture_bb_impl::catch_msg, this, _1)); -+ // set_msg_handler(boost::bind(&depuncture_bb_impl::catch_msg, -+ // this, -+ // boost::placeholders::_1)); - } - - depuncture_bb_impl::~depuncture_bb_impl() {} -diff --git a/gr-fec/lib/puncture_bb_impl.cc b/gr-fec/lib/puncture_bb_impl.cc -index a365d6a69f..f2078d8c57 100644 ---- a/gr-fec/lib/puncture_bb_impl.cc -+++ b/gr-fec/lib/puncture_bb_impl.cc -@@ -72,7 +72,9 @@ puncture_bb_impl::puncture_bb_impl(int puncsize, int puncpat, int delay) - set_fixed_rate(true); - set_relative_rate((uint64_t)(d_puncsize - d_puncholes), (uint64_t)d_puncsize); - set_output_multiple(d_puncsize - d_puncholes); -- // set_msg_handler(boost::bind(&puncture_bb_impl::catch_msg, this, _1)); -+ // set_msg_handler(boost::bind(&puncture_bb_impl::catch_msg, -+ // this, -+ // boost::placeholders::_1)); - } - - puncture_bb_impl::~puncture_bb_impl() {} -diff --git a/gr-fec/lib/puncture_ff_impl.cc b/gr-fec/lib/puncture_ff_impl.cc -index c95288d691..95fb649a8b 100644 ---- a/gr-fec/lib/puncture_ff_impl.cc -+++ b/gr-fec/lib/puncture_ff_impl.cc -@@ -72,7 +72,9 @@ puncture_ff_impl::puncture_ff_impl(int puncsize, int puncpat, int delay) - set_fixed_rate(true); - set_relative_rate((uint64_t)(d_puncsize - d_puncholes), (uint64_t)d_puncsize); - set_output_multiple(d_puncsize - d_puncholes); -- // set_msg_handler(boost::bind(&puncture_ff_impl::catch_msg, this, _1)); -+ // set_msg_handler(boost::bind(&puncture_ff_impl::catch_msg, -+ // this, -+ // boost::placeholders::_1)); - } - - puncture_ff_impl::~puncture_ff_impl() {} -diff --git a/gr-filter/lib/freq_xlating_fir_filter_impl.cc b/gr-filter/lib/freq_xlating_fir_filter_impl.cc -index 8ddc967ba1..50ec589472 100644 ---- a/gr-filter/lib/freq_xlating_fir_filter_impl.cc -+++ b/gr-filter/lib/freq_xlating_fir_filter_impl.cc -@@ -72,7 +72,7 @@ freq_xlating_fir_filter_impl::freq_xlating_fir_filter_impl( - boost::bind( - &freq_xlating_fir_filter_impl::handle_set_center_freq, - this, -- _1)); -+ boost::placeholders::_1)); - } - - template -diff --git a/gr-filter/lib/mmse_resampler_cc_impl.cc b/gr-filter/lib/mmse_resampler_cc_impl.cc -index 59f9eacfab..bdce51716a 100644 ---- a/gr-filter/lib/mmse_resampler_cc_impl.cc -+++ b/gr-filter/lib/mmse_resampler_cc_impl.cc -@@ -52,8 +52,9 @@ mmse_resampler_cc_impl::mmse_resampler_cc_impl(float phase_shift, float resamp_r - - set_inverse_relative_rate(d_mu_inc); - message_port_register_in(pmt::intern("msg_in")); -- set_msg_handler(pmt::intern("msg_in"), -- boost::bind(&mmse_resampler_cc_impl::handle_msg, this, _1)); -+ set_msg_handler( -+ pmt::intern("msg_in"), -+ boost::bind(&mmse_resampler_cc_impl::handle_msg, this, boost::placeholders::_1)); - } - - mmse_resampler_cc_impl::~mmse_resampler_cc_impl() { delete d_resamp; } -diff --git a/gr-filter/lib/mmse_resampler_ff_impl.cc b/gr-filter/lib/mmse_resampler_ff_impl.cc -index 342d9f7678..3d72727114 100644 ---- a/gr-filter/lib/mmse_resampler_ff_impl.cc -+++ b/gr-filter/lib/mmse_resampler_ff_impl.cc -@@ -53,8 +53,9 @@ mmse_resampler_ff_impl::mmse_resampler_ff_impl(float phase_shift, float resamp_r - set_inverse_relative_rate(d_mu_inc); - - message_port_register_in(pmt::intern("msg_in")); -- set_msg_handler(pmt::intern("msg_in"), -- boost::bind(&mmse_resampler_ff_impl::handle_msg, this, _1)); -+ set_msg_handler( -+ pmt::intern("msg_in"), -+ boost::bind(&mmse_resampler_ff_impl::handle_msg, this, boost::placeholders::_1)); - } - - mmse_resampler_ff_impl::~mmse_resampler_ff_impl() { delete d_resamp; } -diff --git a/gr-qtgui/lib/const_sink_c_impl.cc b/gr-qtgui/lib/const_sink_c_impl.cc -index 852f6ee109..04d421d037 100644 ---- a/gr-qtgui/lib/const_sink_c_impl.cc -+++ b/gr-qtgui/lib/const_sink_c_impl.cc -@@ -69,8 +69,9 @@ const_sink_c_impl::const_sink_c_impl(int size, - - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), -- boost::bind(&const_sink_c_impl::handle_pdus, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&const_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); - - for (int i = 0; i < d_nconnections; i++) { - d_residbufs_real.push_back( -diff --git a/gr-qtgui/lib/edit_box_msg_impl.cc b/gr-qtgui/lib/edit_box_msg_impl.cc -index 8713aa820e..39546cbf3a 100644 ---- a/gr-qtgui/lib/edit_box_msg_impl.cc -+++ b/gr-qtgui/lib/edit_box_msg_impl.cc -@@ -158,7 +158,9 @@ edit_box_msg_impl::edit_box_msg_impl(data_type_t type, - message_port_register_out(d_port); - message_port_register_in(pmt::mp("val")); - -- set_msg_handler(pmt::mp("val"), boost::bind(&edit_box_msg_impl::set_value, this, _1)); -+ set_msg_handler( -+ pmt::mp("val"), -+ boost::bind(&edit_box_msg_impl::set_value, this, boost::placeholders::_1)); - } - - edit_box_msg_impl::~edit_box_msg_impl() -diff --git a/gr-qtgui/lib/freq_sink_c_impl.cc b/gr-qtgui/lib/freq_sink_c_impl.cc -index 3a34df6ec6..fe231699fd 100644 ---- a/gr-qtgui/lib/freq_sink_c_impl.cc -+++ b/gr-qtgui/lib/freq_sink_c_impl.cc -@@ -82,17 +82,23 @@ freq_sink_c_impl::freq_sink_c_impl(int fftsize, - - // setup bw input port - message_port_register_in(d_port_bw); -- set_msg_handler(d_port_bw, boost::bind(&freq_sink_c_impl::handle_set_bw, this, _1)); -+ set_msg_handler( -+ d_port_bw, -+ boost::bind(&freq_sink_c_impl::handle_set_bw, this, boost::placeholders::_1)); - - // setup output message port to post frequency when display is - // double-clicked - message_port_register_out(d_port); - message_port_register_in(d_port); -- set_msg_handler(d_port, boost::bind(&freq_sink_c_impl::handle_set_freq, this, _1)); -+ set_msg_handler( -+ d_port, -+ boost::bind(&freq_sink_c_impl::handle_set_freq, this, boost::placeholders::_1)); - - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_c_impl::handle_pdus, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&freq_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); - - d_main_gui = NULL; - -diff --git a/gr-qtgui/lib/freq_sink_f_impl.cc b/gr-qtgui/lib/freq_sink_f_impl.cc -index c14bfc31fd..7090d8699e 100644 ---- a/gr-qtgui/lib/freq_sink_f_impl.cc -+++ b/gr-qtgui/lib/freq_sink_f_impl.cc -@@ -82,17 +82,23 @@ freq_sink_f_impl::freq_sink_f_impl(int fftsize, - - // setup bw input port - message_port_register_in(d_port_bw); -- set_msg_handler(d_port_bw, boost::bind(&freq_sink_f_impl::handle_set_bw, this, _1)); -+ set_msg_handler( -+ d_port_bw, -+ boost::bind(&freq_sink_f_impl::handle_set_bw, this, boost::placeholders::_1)); - - // setup output message port to post frequency when display is - // double-clicked - message_port_register_out(d_port); - message_port_register_in(d_port); -- set_msg_handler(d_port, boost::bind(&freq_sink_f_impl::handle_set_freq, this, _1)); -+ set_msg_handler( -+ d_port, -+ boost::bind(&freq_sink_f_impl::handle_set_freq, this, boost::placeholders::_1)); - - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_f_impl::handle_pdus, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&freq_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); - - d_main_gui = NULL; - -diff --git a/gr-qtgui/lib/histogram_sink_f_impl.cc b/gr-qtgui/lib/histogram_sink_f_impl.cc -index d16de932ca..1602d18968 100644 ---- a/gr-qtgui/lib/histogram_sink_f_impl.cc -+++ b/gr-qtgui/lib/histogram_sink_f_impl.cc -@@ -81,8 +81,9 @@ histogram_sink_f_impl::histogram_sink_f_impl(int size, - - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), -- boost::bind(&histogram_sink_f_impl::handle_pdus, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&histogram_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); - - // +1 for the PDU buffer - for (int i = 0; i < d_nconnections + 1; i++) { -diff --git a/gr-qtgui/lib/sink_c_impl.cc b/gr-qtgui/lib/sink_c_impl.cc -index d3feb9d16c..73136e789e 100644 ---- a/gr-qtgui/lib/sink_c_impl.cc -+++ b/gr-qtgui/lib/sink_c_impl.cc -@@ -96,7 +96,9 @@ sink_c_impl::sink_c_impl(int fftsize, - // double-clicked - message_port_register_out(d_port); - message_port_register_in(d_port); -- set_msg_handler(d_port, boost::bind(&sink_c_impl::handle_set_freq, this, _1)); -+ set_msg_handler( -+ d_port, -+ boost::bind(&sink_c_impl::handle_set_freq, this, boost::placeholders::_1)); - - d_main_gui = NULL; - -diff --git a/gr-qtgui/lib/sink_f_impl.cc b/gr-qtgui/lib/sink_f_impl.cc -index 418b630b78..d31023a51d 100644 ---- a/gr-qtgui/lib/sink_f_impl.cc -+++ b/gr-qtgui/lib/sink_f_impl.cc -@@ -95,7 +95,9 @@ sink_f_impl::sink_f_impl(int fftsize, - // double-clicked - message_port_register_out(d_port); - message_port_register_in(d_port); -- set_msg_handler(d_port, boost::bind(&sink_f_impl::handle_set_freq, this, _1)); -+ set_msg_handler( -+ d_port, -+ boost::bind(&sink_f_impl::handle_set_freq, this, boost::placeholders::_1)); - - d_main_gui = NULL; - -diff --git a/gr-qtgui/lib/time_raster_sink_b_impl.cc b/gr-qtgui/lib/time_raster_sink_b_impl.cc -index 045c216b00..3aa503ccfc 100644 ---- a/gr-qtgui/lib/time_raster_sink_b_impl.cc -+++ b/gr-qtgui/lib/time_raster_sink_b_impl.cc -@@ -84,7 +84,9 @@ time_raster_sink_b_impl::time_raster_sink_b_impl(double samp_rate, - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), -- boost::bind(&time_raster_sink_b_impl::handle_pdus, this, _1)); -+ boost::bind(&time_raster_sink_b_impl::handle_pdus, -+ this, -+ boost::placeholders::_1)); - - d_scale = 1.0f; - -diff --git a/gr-qtgui/lib/time_raster_sink_f_impl.cc b/gr-qtgui/lib/time_raster_sink_f_impl.cc -index d186f319da..b3516e5be9 100644 ---- a/gr-qtgui/lib/time_raster_sink_f_impl.cc -+++ b/gr-qtgui/lib/time_raster_sink_f_impl.cc -@@ -84,7 +84,9 @@ time_raster_sink_f_impl::time_raster_sink_f_impl(double samp_rate, - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); - set_msg_handler(pmt::mp("in"), -- boost::bind(&time_raster_sink_f_impl::handle_pdus, this, _1)); -+ boost::bind(&time_raster_sink_f_impl::handle_pdus, -+ this, -+ boost::placeholders::_1)); - - d_icols = static_cast(ceil(d_cols)); - d_tmpflt = (float*)volk_malloc(d_icols * sizeof(float), volk_get_alignment()); -diff --git a/gr-qtgui/lib/time_sink_c_impl.cc b/gr-qtgui/lib/time_sink_c_impl.cc -index b73a1c1ad3..83fbda298a 100644 ---- a/gr-qtgui/lib/time_sink_c_impl.cc -+++ b/gr-qtgui/lib/time_sink_c_impl.cc -@@ -80,7 +80,9 @@ time_sink_c_impl::time_sink_c_impl(int size, - - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_c_impl::handle_pdus, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&time_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); - - // +2 for the PDU message buffers - for (unsigned int n = 0; n < d_nconnections + 2; n++) { -diff --git a/gr-qtgui/lib/time_sink_f_impl.cc b/gr-qtgui/lib/time_sink_f_impl.cc -index df13998d75..dd5ed12c8b 100644 ---- a/gr-qtgui/lib/time_sink_f_impl.cc -+++ b/gr-qtgui/lib/time_sink_f_impl.cc -@@ -80,7 +80,9 @@ time_sink_f_impl::time_sink_f_impl(int size, - - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_f_impl::handle_pdus, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&time_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); - - // +1 for the PDU buffer - for (unsigned int n = 0; n < d_nconnections + 1; n++) { -diff --git a/gr-qtgui/lib/waterfall_sink_c_impl.cc b/gr-qtgui/lib/waterfall_sink_c_impl.cc -index fcf2ed98bc..da38d32baa 100644 ---- a/gr-qtgui/lib/waterfall_sink_c_impl.cc -+++ b/gr-qtgui/lib/waterfall_sink_c_impl.cc -@@ -118,19 +118,24 @@ waterfall_sink_c_impl::waterfall_sink_c_impl(int fftsize, - // setup bw input port - message_port_register_in(d_port_bw); - set_msg_handler(d_port_bw, -- boost::bind(&waterfall_sink_c_impl::handle_set_bw, this, _1)); -+ boost::bind(&waterfall_sink_c_impl::handle_set_bw, -+ this, -+ boost::placeholders::_1)); - - // setup output message port to post frequency when display is - // double-clicked - message_port_register_out(d_port); - message_port_register_in(d_port); - set_msg_handler(d_port, -- boost::bind(&waterfall_sink_c_impl::handle_set_freq, this, _1)); -+ boost::bind(&waterfall_sink_c_impl::handle_set_freq, -+ this, -+ boost::placeholders::_1)); - - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), -- boost::bind(&waterfall_sink_c_impl::handle_pdus, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&waterfall_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); - } - - waterfall_sink_c_impl::~waterfall_sink_c_impl() -diff --git a/gr-qtgui/lib/waterfall_sink_f_impl.cc b/gr-qtgui/lib/waterfall_sink_f_impl.cc -index aa1037a472..d4231a564c 100644 ---- a/gr-qtgui/lib/waterfall_sink_f_impl.cc -+++ b/gr-qtgui/lib/waterfall_sink_f_impl.cc -@@ -116,19 +116,24 @@ waterfall_sink_f_impl::waterfall_sink_f_impl(int fftsize, - // setup bw input port - message_port_register_in(d_port_bw); - set_msg_handler(d_port_bw, -- boost::bind(&waterfall_sink_f_impl::handle_set_bw, this, _1)); -+ boost::bind(&waterfall_sink_f_impl::handle_set_bw, -+ this, -+ boost::placeholders::_1)); - - // setup output message port to post frequency when display is - // double-clicked - message_port_register_out(d_port); - message_port_register_in(d_port); - set_msg_handler(d_port, -- boost::bind(&waterfall_sink_f_impl::handle_set_freq, this, _1)); -+ boost::bind(&waterfall_sink_f_impl::handle_set_freq, -+ this, -+ boost::placeholders::_1)); - - // setup PDU handling input port - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), -- boost::bind(&waterfall_sink_f_impl::handle_pdus, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&waterfall_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); - } - - waterfall_sink_f_impl::~waterfall_sink_f_impl() -diff --git a/gr-uhd/lib/usrp_block_impl.cc b/gr-uhd/lib/usrp_block_impl.cc -index 4f030159ff..697d633c1b 100644 ---- a/gr-uhd/lib/usrp_block_impl.cc -+++ b/gr-uhd/lib/usrp_block_impl.cc -@@ -137,12 +137,18 @@ usrp_block_impl::usrp_block_impl(const ::uhd::device_addr_t& device_addr, - // Set up message ports: - message_port_register_in(pmt::mp("command")); - set_msg_handler(pmt::mp("command"), -- boost::bind(&usrp_block_impl::msg_handler_command, this, _1)); -+ boost::bind(&usrp_block_impl::msg_handler_command, -+ this, -+ boost::placeholders::_1)); - - // cuz we lazy: --#define REGISTER_CMD_HANDLER(key, _handler) \ -- register_msg_cmd_handler(key, \ -- boost::bind(&usrp_block_impl::_handler, this, _1, _2, _3)) -+#define REGISTER_CMD_HANDLER(key, _handler) \ -+ register_msg_cmd_handler(key, \ -+ boost::bind(&usrp_block_impl::_handler, \ -+ this, \ -+ boost::placeholders::_1, \ -+ boost::placeholders::_2, \ -+ boost::placeholders::_3)) - // Register default command handlers: - REGISTER_CMD_HANDLER(cmd_freq_key(), _cmd_handler_freq); - REGISTER_CMD_HANDLER(cmd_gain_key(), _cmd_handler_gain); -@@ -257,11 +263,12 @@ bool usrp_block_impl::_check_mboard_sensors_locked() - } else if (_dev->get_clock_source(mboard_index) == "mimo") { - sensor_name = "mimo_locked"; - } -- if (not _wait_for_locked_sensor( -- get_mboard_sensor_names(mboard_index), -- sensor_name, -- boost::bind( -- &usrp_block_impl::get_mboard_sensor, this, _1, mboard_index))) { -+ if (not _wait_for_locked_sensor(get_mboard_sensor_names(mboard_index), -+ sensor_name, -+ boost::bind(&usrp_block_impl::get_mboard_sensor, -+ this, -+ boost::placeholders::_1, -+ mboard_index))) { - GR_LOG_WARN( - d_logger, - boost::format( -diff --git a/gr-uhd/lib/usrp_source_impl.cc b/gr-uhd/lib/usrp_source_impl.cc -index a2ff0821bd..5e6bd43285 100644 ---- a/gr-uhd/lib/usrp_source_impl.cc -+++ b/gr-uhd/lib/usrp_source_impl.cc -@@ -57,8 +57,9 @@ usrp_source_impl::usrp_source_impl(const ::uhd::device_addr_t& device_addr, - - _samp_rate = this->get_samp_rate(); - _samps_per_packet = 1; -- register_msg_cmd_handler(cmd_tag_key(), -- boost::bind(&usrp_source_impl::_cmd_handler_tag, this, _1)); -+ register_msg_cmd_handler( -+ cmd_tag_key(), -+ boost::bind(&usrp_source_impl::_cmd_handler_tag, this, boost::placeholders::_1)); - } - - usrp_source_impl::~usrp_source_impl() {} -diff --git a/gr-zeromq/lib/pub_msg_sink_impl.cc b/gr-zeromq/lib/pub_msg_sink_impl.cc -index b5da7421ef..957cfa411d 100644 ---- a/gr-zeromq/lib/pub_msg_sink_impl.cc -+++ b/gr-zeromq/lib/pub_msg_sink_impl.cc -@@ -62,7 +62,9 @@ pub_msg_sink_impl::pub_msg_sink_impl(char* address, int timeout, bool bind) - } - - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), boost::bind(&pub_msg_sink_impl::handler, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&pub_msg_sink_impl::handler, this, boost::placeholders::_1)); - } - - pub_msg_sink_impl::~pub_msg_sink_impl() -diff --git a/gr-zeromq/lib/push_msg_sink_impl.cc b/gr-zeromq/lib/push_msg_sink_impl.cc -index 4140781ab9..7d07d3a30e 100644 ---- a/gr-zeromq/lib/push_msg_sink_impl.cc -+++ b/gr-zeromq/lib/push_msg_sink_impl.cc -@@ -62,7 +62,9 @@ push_msg_sink_impl::push_msg_sink_impl(char* address, int timeout, bool bind) - } - - message_port_register_in(pmt::mp("in")); -- set_msg_handler(pmt::mp("in"), boost::bind(&push_msg_sink_impl::handler, this, _1)); -+ set_msg_handler( -+ pmt::mp("in"), -+ boost::bind(&push_msg_sink_impl::handler, this, boost::placeholders::_1)); - } - - push_msg_sink_impl::~push_msg_sink_impl() diff --git a/buildroot-2021.05/package/gnuradio/Config.in b/buildroot-2021.05/package/gnuradio/Config.in deleted file mode 100644 index 73808880..00000000 --- a/buildroot-2021.05/package/gnuradio/Config.in +++ /dev/null @@ -1,168 +0,0 @@ -comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS - -comment "gnuradio needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_GNURADIO - bool "gnuradio" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_USE_MMU # use fork() - depends on BR2_USE_WCHAR # boost - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_ATOMIC - select BR2_PACKAGE_BOOST_DATE_TIME - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS - select BR2_PACKAGE_BOOST_REGEX - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_THREAD - select BR2_PACKAGE_LOG4CPP - select BR2_PACKAGE_GMP - help - GNU Radio is a free & open-source software development - toolkit that provides signal processing blocks to implement - software radios. It can be used with readily-available - low-cost external RF hardware to create software-defined - radios, or without hardware in a simulation-like - environment. It is widely used in hobbyist, academic and - commercial environments to support both wireless - communications research and real-world radio systems. - - http://gnuradio.org/ - -if BR2_PACKAGE_GNURADIO - -config BR2_PACKAGE_GNURADIO_AUDIO - bool "gr-audio" - select BR2_PACKAGE_ALSA_LIB if !BR2_PACKAGE_PORTAUDIO - help - Add audio source/sink to GNU Radio - -config BR2_PACKAGE_GNURADIO_BLOCKS - bool "blocks support" - help - GNU Radio basic block library - -config BR2_PACKAGE_GNURADIO_CTRLPORT - bool "ctrlport support" - help - GNU Radio ctrlport block - -config BR2_PACKAGE_GNURADIO_DTV - bool "gr-dtv support" - select BR2_PACKAGE_GNURADIO_ANALOG - select BR2_PACKAGE_GNURADIO_FEC - select BR2_PACKAGE_GNURADIO_FILTER - help - various digital television standards blocks - -config BR2_PACKAGE_GNURADIO_FEC - bool "gr-fec support" - select BR2_PACKAGE_GNURADIO_BLOCKS - select BR2_PACKAGE_GSL - help - FEC signal processing blocks - -config BR2_PACKAGE_GNURADIO_PYTHON - bool "python support" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy - select BR2_PACKAGE_BOOST_PYTHON - select BR2_PACKAGE_PYTHON_NUMPY # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - help - Enable python component - -comment "python support needs glibc or musl" - depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) - -config BR2_PACKAGE_GNURADIO_UTILS - bool "gr-utils support" - depends on BR2_PACKAGE_GNURADIO_PYTHON - help - Misc python utilities - -config BR2_PACKAGE_GNURADIO_ZEROMQ - bool "gr-zeromq support" - select BR2_PACKAGE_CPPZMQ - select BR2_PACKAGE_PYTHON_PYZMQ if BR2_PACKAGE_GNURADIO_PYTHON - help - zeromq communication support - -config BR2_PACKAGE_GNURADIO_ANALOG - bool "gr-analog support" - select BR2_PACKAGE_GNURADIO_FILTER - help - Analog communications blocks - -config BR2_PACKAGE_GNURADIO_CHANNELS - bool "gr-channels support" - select BR2_PACKAGE_GNURADIO_ANALOG - help - Channel model blocks - -config BR2_PACKAGE_GNURADIO_DIGITAL - bool "gr-digital support" - select BR2_PACKAGE_GNURADIO_ANALOG - help - Digital communications blocks - -config BR2_PACKAGE_GNURADIO_FFT - bool "gr-fft support" - select BR2_PACKAGE_FFTW - select BR2_PACKAGE_FFTW_SINGLE - select BR2_PACKAGE_GNURADIO_BLOCKS - help - FFT signal processing blocks - -config BR2_PACKAGE_GNURADIO_FILTER - bool "gr-filter support" - select BR2_PACKAGE_GNURADIO_FFT - help - Filter signal processing blocks - -config BR2_PACKAGE_GNURADIO_PAGER - bool "gr-flex support" - select BR2_PACKAGE_GNURADIO_ANALOG - help - FLEX pager decoder implementation blocks - -config BR2_PACKAGE_GNURADIO_QTGUI - bool "gr-qtgui" - depends on BR2_PACKAGE_GNURADIO_PYTHON - depends on BR2_PACKAGE_QT5 - select BR2_PACKAGE_GNURADIO_FFT - select BR2_PACKAGE_GNURADIO_FILTER - select BR2_PACKAGE_PYTHON_PYQT5 - select BR2_PACKAGE_QT5BASE_FONTCONFIG # runtime - select BR2_PACKAGE_QT5BASE_GUI # runtime - select BR2_PACKAGE_QT5BASE_WIDGETS # runtime - select BR2_PACKAGE_QWT - help - GNU Radio Qt scopes - -config BR2_PACKAGE_GNURADIO_TRELLIS - bool "gr-trellis support" - select BR2_PACKAGE_GNURADIO_DIGITAL - help - Trellis coded modulation blocks - -config BR2_PACKAGE_GNURADIO_UHD - bool "gr-uhd support" - select BR2_PACKAGE_UHD - select BR2_PACKAGE_GNURADIO_ANALOG - select BR2_PACKAGE_GNURADIO_BLOCKS - select BR2_PACKAGE_GNURADIO_FILTER - help - UHD support - -endif diff --git a/buildroot-2021.05/package/gnuradio/gnuradio.hash b/buildroot-2021.05/package/gnuradio/gnuradio.hash deleted file mode 100644 index 2f147761..00000000 --- a/buildroot-2021.05/package/gnuradio/gnuradio.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 e15311e7da9fe2bb790cc36321d7eb2d93b9dfa0c1552fa5d534dd99d22873be gnuradio-3.8.1.0.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/gnuradio/gnuradio.mk b/buildroot-2021.05/package/gnuradio/gnuradio.mk deleted file mode 100644 index 1f4458db..00000000 --- a/buildroot-2021.05/package/gnuradio/gnuradio.mk +++ /dev/null @@ -1,175 +0,0 @@ -################################################################################ -# -# gnuradio -# -################################################################################ - -GNURADIO_VERSION = 3.8.1.0 -GNURADIO_SITE = https://github.com/gnuradio/gnuradio/releases/download/v$(GNURADIO_VERSION) -GNURADIO_LICENSE = GPL-3.0+ -GNURADIO_LICENSE_FILES = COPYING - -GNURADIO_SUPPORTS_IN_SOURCE_BUILD = NO - -# needed to determine site-packages path -ifeq ($(BR2_PACKAGE_PYTHON),y) -GNURADIO_PYVER = $(PYTHON_VERSION_MAJOR) -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -GNURADIO_PYVER = $(PYTHON3_VERSION_MAJOR) -endif - -# host-python-mako and host-python-six are needed for volk to compile -GNURADIO_DEPENDENCIES = \ - $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) \ - host-python-mako \ - host-python-six \ - host-swig \ - boost \ - log4cpp \ - gmp - -GNURADIO_CONF_OPTS = \ - -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python \ - -DENABLE_DEFAULT=OFF \ - -DENABLE_VOLK=ON \ - -DENABLE_GNURADIO_RUNTIME=ON \ - -DENABLE_TESTING=OFF \ - -DXMLTO_EXECUTABLE=NOTFOUND - -# For third-party blocks, the gnuradio libraries are mandatory at -# compile time. -GNURADIO_INSTALL_STAGING = YES - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -GNURADIO_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -endif - -ifeq ($(BR2_PACKAGE_ORC),y) -GNURADIO_DEPENDENCIES += orc -GNURADIO_CONF_OPTS += -DENABLE_ORC=ON -else -GNURADIO_CONF_OPTS += -DENABLE_ORC=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_ANALOG),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_AUDIO),y) -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -GNURADIO_DEPENDENCIES += alsa-lib -endif -ifeq ($(BR2_PACKAGE_PORTAUDIO),y) -GNURADIO_DEPENDENCIES += portaudio -endif -GNURADIO_CONF_OPTS += -DENABLE_GR_AUDIO=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_AUDIO=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_BLOCKS),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_CHANNELS),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_CTRLPORT),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_CTRLPORT=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_CTRLPORT=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_DIGITAL),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_DTV),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_DTV=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_DTV=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y) -GNURADIO_DEPENDENCIES += gsl -GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_FFT),y) -GNURADIO_DEPENDENCIES += fftw-single -GNURADIO_CONF_OPTS += -DENABLE_GR_FFT=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_FFT=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_FILTER),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y) -GNURADIO_DEPENDENCIES += python3 -GNURADIO_CONF_OPTS += -DENABLE_PYTHON=ON -# mandatory to install python modules in site-packages and to use -# correct path for python libraries -GNURADIO_CONF_OPTS += -DGR_PYTHON_RELATIVE=ON \ - -DGR_PYTHON_DIR=lib/python$(GNURADIO_PYVER)/site-packages -else -GNURADIO_CONF_OPTS += -DENABLE_PYTHON=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_PAGER),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_PAGER=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_PAGER=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_QTGUI),y) -GNURADIO_DEPENDENCIES += qt5base python-pyqt5 qwt -GNURADIO_CONF_OPTS += -DENABLE_GR_QTGUI=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_QTGUI=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_TRELLIS),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_UHD),y) -GNURADIO_DEPENDENCIES += uhd -GNURADIO_CONF_OPTS += -DENABLE_GR_UHD=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_UHD=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_UTILS),y) -GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=OFF -endif - -ifeq ($(BR2_PACKAGE_GNURADIO_ZEROMQ),y) -GNURADIO_DEPENDENCIES += cppzmq -ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y) -GNURADIO_DEPENDENCIES += python-pyzmq -endif -GNURADIO_CONF_OPTS += -DENABLE_GR_ZEROMQ=ON -else -GNURADIO_CONF_OPTS += -DENABLE_GR_ZEROMQ=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/gnutls/Config.in b/buildroot-2021.05/package/gnutls/Config.in deleted file mode 100644 index cd853d1e..00000000 --- a/buildroot-2021.05/package/gnutls/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_GNUTLS - bool "gnutls" - # https://gitlab.com/gnutls/gnutls/issues/203 - depends on !BR2_STATIC_LIBS - # gnulib requires a library that implements wctomb(). - # This is noticed only when linking with libgnutls.so. - depends on BR2_USE_WCHAR - select BR2_PACKAGE_LIBTASN1 - select BR2_PACKAGE_NETTLE - select BR2_PACKAGE_PCRE - help - GnuTLS is a secure communications library implementing the SSL - and TLS protocols and technologies around them. - - http://www.gnutls.org - -if BR2_PACKAGE_GNUTLS - -config BR2_PACKAGE_GNUTLS_OPENSSL - bool "OpenSSL compatibility library" - help - Install OpenSSL compatibility library. - -config BR2_PACKAGE_GNUTLS_TOOLS - bool "install tools" - help - Install GnuTLS command line tools for various cryptographic - tasks. - -endif - -comment "gnutls needs a toolchain w/ wchar, dynamic library" - depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/gnutls/gnutls.hash b/buildroot-2021.05/package/gnutls/gnutls.hash deleted file mode 100644 index 0788a7a6..00000000 --- a/buildroot-2021.05/package/gnutls/gnutls.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.1.tar.xz.sig -sha256 3777d7963eca5e06eb315686163b7b3f5045e2baac5e54e038ace9835e5cac6f gnutls-3.7.1.tar.xz -# Locally calculated -sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b doc/COPYING -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 doc/COPYING.LESSER diff --git a/buildroot-2021.05/package/gnutls/gnutls.mk b/buildroot-2021.05/package/gnutls/gnutls.mk deleted file mode 100644 index 14855bce..00000000 --- a/buildroot-2021.05/package/gnutls/gnutls.mk +++ /dev/null @@ -1,89 +0,0 @@ -################################################################################ -# -# gnutls -# -################################################################################ - -GNUTLS_VERSION_MAJOR = 3.7 -GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).1 -GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz -GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) -GNUTLS_LICENSE = LGPL-2.1+ (core library) -GNUTLS_LICENSE_FILES = doc/COPYING.LESSER - -ifeq ($(BR2_PACKAGE_GNUTLS_OPENSSL),y) -GNUTLS_LICENSE += , GPL-3.0+ (gnutls-openssl library) -GNUTLS_LICENSE_FILES += doc/COPYING -endif - -GNUTLS_DEPENDENCIES = host-pkgconf libtasn1 nettle pcre -GNUTLS_CPE_ID_VENDOR = gnu -GNUTLS_CONF_OPTS = \ - --disable-doc \ - --disable-guile \ - --disable-libdane \ - --disable-rpath \ - --enable-local-libopts \ - --enable-openssl-compatibility \ - --with-librt-prefix=$(STAGING_DIR) \ - --without-tpm \ - $(if $(BR2_PACKAGE_GNUTLS_OPENSSL),--enable,--disable)-openssl-compatibility \ - $(if $(BR2_PACKAGE_GNUTLS_TOOLS),--enable-tools,--disable-tools) -GNUTLS_CONF_ENV = gl_cv_socket_ipv6=yes \ - ac_cv_header_wchar_h=$(if $(BR2_USE_WCHAR),yes,no) \ - gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no) \ - gt_cv_c_wint_t=$(if $(BR2_USE_WCHAR),yes,no) \ - gl_cv_func_gettimeofday_clobber=no -GNUTLS_INSTALL_STAGING = YES - -# libpthread autodetection poison the linkpath -GNUTLS_CONF_OPTS += $(if $(BR2_TOOLCHAIN_HAS_THREADS),--with-libpthread-prefix=$(STAGING_DIR)/usr) - -# gnutls needs libregex, but pcre can be used too -# The check isn't cross-compile friendly -GNUTLS_CONF_ENV += libopts_cv_with_libregex=yes -GNUTLS_CONF_OPTS += \ - --with-regex-header=pcreposix.h \ - --with-libregex-cflags="`$(PKG_CONFIG_HOST_BINARY) libpcreposix --cflags`" \ - --with-libregex-libs="`$(PKG_CONFIG_HOST_BINARY) libpcreposix --libs`" - -ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y) -GNUTLS_CONF_OPTS += --enable-cryptodev -GNUTLS_DEPENDENCIES += cryptodev-linux -endif - -ifeq ($(BR2_PACKAGE_LIBIDN2),y) -GNUTLS_CONF_OPTS += --with-idn -GNUTLS_DEPENDENCIES += libidn2 -else -GNUTLS_CONF_OPTS += --without-idn -endif - -ifeq ($(BR2_PACKAGE_P11_KIT),y) -GNUTLS_CONF_OPTS += --with-p11-kit -GNUTLS_DEPENDENCIES += p11-kit -else -GNUTLS_CONF_OPTS += --without-p11-kit -endif - -ifeq ($(BR2_PACKAGE_LIBUNISTRING),y) -GNUTLS_CONF_OPTS += --with-libunistring-prefix=$(STAGING_DIR)/usr -GNUTLS_DEPENDENCIES += libunistring -else -GNUTLS_CONF_OPTS += --with-included-unistring -endif - -# Provide a default CA cert location -ifeq ($(BR2_PACKAGE_P11_KIT),y) -GNUTLS_CONF_OPTS += --with-default-trust-store-pkcs11=pkcs11:model=p11-kit-trust -else ifeq ($(BR2_PACKAGE_CA_CERTIFICATES),y) -GNUTLS_CONF_OPTS += --with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -GNUTLS_LIBS += -latomic -endif - -GNUTLS_CONF_ENV += LIBS="$(GNUTLS_LIBS)" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/go-bootstrap/go-bootstrap.hash b/buildroot-2021.05/package/go-bootstrap/go-bootstrap.hash deleted file mode 100644 index 03fd7d57..00000000 --- a/buildroot-2021.05/package/go-bootstrap/go-bootstrap.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 9947fc705b0b841b5938c48b22dc33e9647ec0752bae66e50278df4f23f64959 go1.4.3.src.tar.gz -sha256 dd26a7abddd02e2d0aba97805b31f248ef7835d9e10da289b22e3b8ab78b324d LICENSE diff --git a/buildroot-2021.05/package/go-bootstrap/go-bootstrap.mk b/buildroot-2021.05/package/go-bootstrap/go-bootstrap.mk deleted file mode 100644 index 6710e315..00000000 --- a/buildroot-2021.05/package/go-bootstrap/go-bootstrap.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# go-bootstrap -# -################################################################################ - -GO_BOOTSTRAP_VERSION = 1.4.3 -GO_BOOTSTRAP_SITE = https://storage.googleapis.com/golang -GO_BOOTSTRAP_SOURCE = go$(GO_BOOTSTRAP_VERSION).src.tar.gz - -GO_BOOTSTRAP_LICENSE = BSD-3-Clause -GO_BOOTSTRAP_LICENSE_FILES = LICENSE - -# To build programs that need cgo support the toolchain needs to be -# available, so the toolchain is not needed to build host-go-bootstrap -# itself, but needed by other packages that depend on -# host-go-bootstrap. -HOST_GO_BOOTSTRAP_DEPENDENCIES = toolchain - -HOST_GO_BOOTSTRAP_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_VERSION) - -# The go build system is not compatable with ccache, so use HOSTCC_NOCCACHE -# here. See https://github.com/golang/go/issues/11685. -HOST_GO_BOOTSTRAP_MAKE_ENV = \ - GOOS=linux \ - GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_ROOT)" \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - CC=$(HOSTCC_NOCCACHE) \ - CGO_ENABLED=0 - -define HOST_GO_BOOTSTRAP_BUILD_CMDS - cd $(@D)/src && $(HOST_GO_BOOTSTRAP_MAKE_ENV) ./make.bash -endef - -define HOST_GO_BOOTSTRAP_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_ROOT)/bin/go - $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_ROOT)/bin/gofmt - - cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_ROOT)/ - cp -a $(@D)/pkg $(HOST_GO_BOOTSTRAP_ROOT)/ - - # There is a known issue which requires the go sources to be installed - # https://golang.org/issue/2775 - cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_ROOT)/ -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/go/go.hash b/buildroot-2021.05/package/go/go.hash deleted file mode 100644 index bc6147bb..00000000 --- a/buildroot-2021.05/package/go/go.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://golang.org/dl/ -sha256 7bfa7e5908c7cc9e75da5ddf3066d7cbcf3fd9fa51945851325eebc17f50ba80 go1.16.5.src.tar.gz -sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/buildroot-2021.05/package/go/go.mk b/buildroot-2021.05/package/go/go.mk deleted file mode 100644 index 42526913..00000000 --- a/buildroot-2021.05/package/go/go.mk +++ /dev/null @@ -1,160 +0,0 @@ -################################################################################ -# -# go -# -################################################################################ - -GO_VERSION = 1.16.5 -GO_SITE = https://storage.googleapis.com/golang -GO_SOURCE = go$(GO_VERSION).src.tar.gz - -GO_LICENSE = BSD-3-Clause -GO_LICENSE_FILES = LICENSE -GO_CPE_ID_VENDOR = golang - -HOST_GO_DEPENDENCIES = host-go-bootstrap -HOST_GO_GOPATH = $(HOST_DIR)/usr/share/go-path -HOST_GO_HOST_CACHE = $(HOST_DIR)/usr/share/host-go-cache -HOST_GO_ROOT = $(HOST_DIR)/lib/go -HOST_GO_TARGET_CACHE = $(HOST_DIR)/usr/share/go-cache - -# We pass an empty GOBIN, otherwise "go install: cannot install -# cross-compiled binaries when GOBIN is set" -HOST_GO_COMMON_ENV = \ - GO111MODULE=on \ - GOFLAGS=-mod=vendor \ - GOROOT="$(HOST_GO_ROOT)" \ - GOPATH="$(HOST_GO_GOPATH)" \ - GOPROXY=off \ - PATH=$(BR_PATH) \ - GOBIN= \ - CGO_ENABLED=$(HOST_GO_CGO_ENABLED) - -ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) - -ifeq ($(BR2_arm),y) -GO_GOARCH = arm -ifeq ($(BR2_ARM_CPU_ARMV5),y) -GO_GOARM = 5 -else ifeq ($(BR2_ARM_CPU_ARMV6),y) -GO_GOARM = 6 -else ifeq ($(BR2_ARM_CPU_ARMV7A),y) -GO_GOARM = 7 -else ifeq ($(BR2_ARM_CPU_ARMV8A),y) -# Go doesn't support 32-bit GOARM=8 (https://github.com/golang/go/issues/29373) -# but can still benefit from armv7 optimisations -GO_GOARM = 7 -endif -else ifeq ($(BR2_aarch64),y) -GO_GOARCH = arm64 -else ifeq ($(BR2_i386),y) -GO_GOARCH = 386 -# i386: use softfloat if no SSE2: https://golang.org/doc/go1.16#386 -ifneq ($(BR2_X86_CPU_HAS_SSE2),y) -GO_GO386 = softfloat -endif -else ifeq ($(BR2_x86_64),y) -GO_GOARCH = amd64 -else ifeq ($(BR2_powerpc64),y) -GO_GOARCH = ppc64 -else ifeq ($(BR2_powerpc64le),y) -GO_GOARCH = ppc64le -else ifeq ($(BR2_mips64),y) -GO_GOARCH = mips64 -else ifeq ($(BR2_mips64el),y) -GO_GOARCH = mips64le -else ifeq ($(BR2_s390x),y) -GO_GOARCH = s390x -endif - -# For the convienience of target packages. -HOST_GO_TOOLDIR = $(HOST_GO_ROOT)/pkg/tool/linux_$(GO_GOARCH) -HOST_GO_TARGET_ENV = \ - $(HOST_GO_COMMON_ENV) \ - GOARCH=$(GO_GOARCH) \ - GOCACHE="$(HOST_GO_TARGET_CACHE)" \ - CC="$(TARGET_CC)" \ - CXX="$(TARGET_CXX)" \ - CGO_CFLAGS="$(TARGET_CFLAGS)" \ - CGO_CXXFLAGS="$(TARGET_CXXFLAGS)" \ - CGO_LDFLAGS="$(TARGET_LDFLAGS)" \ - GOTOOLDIR="$(HOST_GO_TOOLDIR)" - -# The go compiler's cgo support uses threads. If BR2_TOOLCHAIN_HAS_THREADS is -# set, build in cgo support for any go programs that may need it. Note that -# any target package needing cgo support must include -# 'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file. -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -HOST_GO_CGO_ENABLED = 1 -else -HOST_GO_CGO_ENABLED = 0 -endif - -HOST_GO_CROSS_ENV = \ - CC_FOR_TARGET="$(TARGET_CC)" \ - CXX_FOR_TARGET="$(TARGET_CXX)" \ - GOARCH=$(GO_GOARCH) \ - $(if $(GO_GO386),GO386=$(GO_GO386)) \ - $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ - GO_ASSUME_CROSSCOMPILING=1 - -else # !BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS -# host-go can still be used to build packages for the host. No need to set all -# the arch stuff since we will not be cross-compiling. -HOST_GO_CGO_ENABLED = 1 -endif # BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - -# For the convenience of host golang packages -HOST_GO_HOST_ENV = \ - $(HOST_GO_COMMON_ENV) \ - GOARCH="" \ - GOCACHE="$(HOST_GO_HOST_CACHE)" \ - CC="$(HOSTCC_NOCCACHE)" \ - CXX="$(HOSTCXX_NOCCACHE)" \ - CGO_CFLAGS="$(HOST_CFLAGS)" \ - CGO_CXXFLAGS="$(HOST_CXXFLAGS)" \ - CGO_LDFLAGS="$(HOST_LDFLAGS)" - -# The go build system is not compatible with ccache, so use -# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. -HOST_GO_MAKE_ENV = \ - GO111MODULE=off \ - GOCACHE=$(HOST_GO_HOST_CACHE) \ - GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_ROOT) \ - GOROOT_FINAL=$(HOST_GO_ROOT) \ - GOROOT="$(@D)" \ - GOBIN="$(@D)/bin" \ - GOOS=linux \ - CC=$(HOSTCC_NOCCACHE) \ - CXX=$(HOSTCXX_NOCCACHE) \ - CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ - $(HOST_GO_CROSS_ENV) - -define HOST_GO_BUILD_CMDS - cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) -endef - -define HOST_GO_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go - $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt - - ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ - ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ - - cp -a $(@D)/lib $(HOST_GO_ROOT)/ - - mkdir -p $(HOST_GO_ROOT)/pkg - cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_ROOT)/pkg/ - cp -a $(@D)/pkg/tool $(HOST_GO_ROOT)/pkg/ - - # There is a known issue which requires the go sources to be installed - # https://golang.org/issue/2775 - cp -a $(@D)/src $(HOST_GO_ROOT)/ - - # Set all file timestamps to prevent the go compiler from rebuilding any - # built in packages when programs are built. - find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/gobject-introspection/0001-disable-tests.patch b/buildroot-2021.05/package/gobject-introspection/0001-disable-tests.patch deleted file mode 100644 index c75c7512..00000000 --- a/buildroot-2021.05/package/gobject-introspection/0001-disable-tests.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 473b4288d8f4e891d0d21f7b60ef8053c5cd7af9 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 3 Feb 2020 10:07:15 -0800 -Subject: [PATCH] disable tests - -If introspection data on the host is not built, meson throws the error: -"Unknown variable "typelibs". Because tests are not required, removing -the subdir tests alltogether fixes this issue. - -Signed-off-by: Adam Duskett ---- - meson.build | 6 ------ - 1 file changed, 6 deletions(-) - -diff --git a/meson.build b/meson.build -index eed4d6b..5058664 100644 ---- a/meson.build -+++ b/meson.build -@@ -214,12 +214,6 @@ if get_option('build_introspection_data') == true - endif - subdir('docs') - --# The tests will also run, which is not possible if they --# were built for a different architecture. --if not meson.is_cross_build() -- subdir('tests') --endif -- - install_data('Makefile.introspection', install_dir: join_paths(get_option('datadir'), 'gobject-introspection-1.0')) - install_data('m4/introspection.m4', install_dir: join_paths(get_option('datadir'), 'aclocal')) - --- -2.24.1 - diff --git a/buildroot-2021.05/package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch b/buildroot-2021.05/package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch deleted file mode 100644 index 08835d3e..00000000 --- a/buildroot-2021.05/package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 72a427bc50daee8f1ded0e9221e53dbbf2a80f08 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Wed, 14 Mar 2018 12:07:10 -0400 -Subject: [PATCH] Add rpath links to ccompiler - -This patch allows gobject-introspection to process extra paths passed to the -compiler via the GIR_EXTRA_LIBS_PATH variable. - -Signed-off-by: Adam Duskett ---- - giscanner/ccompiler.py | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py -index a8bd5b1..51bb9bc 100644 ---- a/giscanner/ccompiler.py -+++ b/giscanner/ccompiler.py -@@ -229,6 +229,8 @@ class CCompiler(object): - - for envvar in runtime_path_envvar: - if envvar in os.environ: -+ for envvar_path in os.environ[envvar].split(':'): -+ args.append("-Wl,-rpath-link," + envvar_path) - os.environ[envvar] = \ - os.pathsep.join(runtime_paths + [os.environ[envvar]]) - else: --- -2.14.3 - diff --git a/buildroot-2021.05/package/gobject-introspection/0003-ignore-error-return-codes-from-ldd-wrapper.patch b/buildroot-2021.05/package/gobject-introspection/0003-ignore-error-return-codes-from-ldd-wrapper.patch deleted file mode 100644 index d43dc139..00000000 --- a/buildroot-2021.05/package/gobject-introspection/0003-ignore-error-return-codes-from-ldd-wrapper.patch +++ /dev/null @@ -1,28 +0,0 @@ -From f742da8b3913f4818d3f419117076afe62f4dbf4 Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin -Date: Wed, 5 Sep 2018 16:46:52 +0200 -Subject: [PATCH] giscanner: ignore error return codes from ldd-wrapper - -prelink-rtld, which we use instead of ldd returns 127 when it can't find a library. -It is not an error per se, but it breaks subprocess.check_output(). - -Upstream-Status: Inappropriate [oe-core specific] -Signed-off-by: Alexander Kanavin -Signed-off-by: Adam Duskett ---- - giscanner/shlibs.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py -index d67df95..80352a6 100644 ---- a/giscanner/shlibs.py -+++ b/giscanner/shlibs.py -@@ -103,7 +103,7 @@ def _resolve_non_libtool(options, binary, libraries): - args.extend(['otool', '-L', binary.args[0]]) - else: - args.extend(['ldd', binary.args[0]]) -- output = subprocess.check_output(args) -+ output = subprocess.run(args, check=False, stdout=subprocess.PIPE).stdout - if isinstance(output, bytes): - output = output.decode("utf-8", "replace") - diff --git a/buildroot-2021.05/package/gobject-introspection/Config.in b/buildroot-2021.05/package/gobject-introspection/Config.in deleted file mode 100644 index 57c56970..00000000 --- a/buildroot-2021.05/package/gobject-introspection/Config.in +++ /dev/null @@ -1,49 +0,0 @@ -config BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - bool - default y - depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS - depends on !BR2_RISCV_32 # qemu-riscv32 segfaults in qemu-5.0.0 - -config BR2_PACKAGE_GOBJECT_INTROSPECTION - bool "gobject-introspection" - depends on BR2_USE_MMU # python3, libglib2 - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - # While gcc 4.8 might be compatible with gobject-introspection, - # The autobuilders use some toolchains from codesourcery which - # have gcc 4.8 and a very old version of glibc, which will cause - # compile errors with locale.c. As such, require 4.9 until this - # can be verified. - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - depends on BR2_TOOLCHAIN_USES_GLIBC - # gobject-introspection does not require python3 to run on the - # target; however, because the tools run in a qemu wrapper, a - # cross-compiled python3 must be installed to staging. As there - # is no current mechanism to tell Buildroot only to install - # python to staging, then python must also be installed - # unconditionally to the target when building - # gobject-introspection. - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_HOST_QEMU - select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE - select BR2_PACKAGE_LIBFFI - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_ZLIB - help - GObject introspection is a middleware layer between C - libraries (using GObject) and language bindings. The C library - can be scanned at compile time and generate a metadata file, - in addition to the actual native C library. Then at runtime, - language bindings can read this metadata and automatically - provide bindings to call into the C library. - - https://wiki.gnome.org/action/show/Projects/GObjectIntrospection - -comment "gobject-introspection needs python3" - depends on !BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - -comment "gobject-introspection needs a glibc toolchain, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/gobject-introspection/g-ir-compiler.in b/buildroot-2021.05/package/gobject-introspection/g-ir-compiler.in deleted file mode 100644 index 3313cc50..00000000 --- a/buildroot-2021.05/package/gobject-introspection/g-ir-compiler.in +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -$(dirname $0)/g-ir-scanner-qemuwrapper $(dirname $0)/g-ir-compiler.real "$@" diff --git a/buildroot-2021.05/package/gobject-introspection/g-ir-scanner-lddwrapper.in b/buildroot-2021.05/package/gobject-introspection/g-ir-scanner-lddwrapper.in deleted file mode 100644 index c1931456..00000000 --- a/buildroot-2021.05/package/gobject-introspection/g-ir-scanner-lddwrapper.in +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -${HOST_DIR}/sbin/prelink-rtld --root=$(dirname $0)/../../ "$@" diff --git a/buildroot-2021.05/package/gobject-introspection/g-ir-scanner-qemuwrapper.in b/buildroot-2021.05/package/gobject-introspection/g-ir-scanner-qemuwrapper.in deleted file mode 100644 index cad7ef87..00000000 --- a/buildroot-2021.05/package/gobject-introspection/g-ir-scanner-qemuwrapper.in +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -# Pass -r to qemu-user as to trick glibc into not errorings out if the host kernel -# is older than the target kernel. -# Use a modules directory which does not exist so we don't load random things -# which may then get deleted (or their dependencies) and potentially segfault -GIO_MODULE_DIR=$(dirname $0)/../lib/gio/modules-dummy \ -@QEMU_USER@ -r @TOOLCHAIN_HEADERS_VERSION@ \ --L $(dirname $0)/../../ \ --E LD_LIBRARY_PATH=${GIR_EXTRA_LIBS_PATH}:.libs:$(dirname $0)/../lib:$(dirname $0)/../../lib \ -"$@" - -if [[ $? -ne 0 ]]; then - echo "If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the .mk file should help." - echo 'Typically like this: PKG_MAKE_ENV += GIR_EXTRA_LIBS_PATH="$(@D)/.libs"' - exit 1 -fi diff --git a/buildroot-2021.05/package/gobject-introspection/g-ir-scanner.in b/buildroot-2021.05/package/gobject-introspection/g-ir-scanner.in deleted file mode 100644 index 22df7be3..00000000 --- a/buildroot-2021.05/package/gobject-introspection/g-ir-scanner.in +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# These environment variables are empty by default, and as such ccompiler.py -# defaults to either using the system tools (CC, CXX, and CPP) or leaving -# the variables blank (LDFLAGS, CFLAGS, and CPPFLAGS.) -# Export these variables to ensure all build systems can generate .gir and -# .typelib files properly. -export CPP="${CPP:-${HOST_DIR}/bin/@BASENAME_TARGET_CPP@}" -export CC="${CC:-${HOST_DIR}/bin/@BASENAME_TARGET_CC@}" -export CXX="${CXX:-${HOST_DIR}/bin/@BASENAME_TARGET_CXX@}" -export CPPFLAGS="${CPPFLAGS:-@TARGET_CPPFLAGS@}" -export CFLAGS="${CFLAGS:-@TARGET_CFLAGS@}" -export CXXFLAGS="${CXXFLAGS:-@TARGET_CXXFLAGS@}" -export LDFLAGS="${LDFLAGS:-@TARGET_LDFLAGS@}" - -export GI_SCANNER_DISABLE_CACHE=1 - -${HOST_DIR}/bin/g-ir-scanner \ ---lib-dirs-envvar=GIR_EXTRA_LIBS_PATH \ ---use-binary-wrapper=$(dirname $0)/g-ir-scanner-qemuwrapper \ ---use-ldd-wrapper=$(dirname $0)/g-ir-scanner-lddwrapper \ ---add-include-path=$(dirname $0)/../share/gir-1.0 "$@" diff --git a/buildroot-2021.05/package/gobject-introspection/gobject-introspection.hash b/buildroot-2021.05/package/gobject-introspection/gobject-introspection.hash deleted file mode 100644 index 68bf63e0..00000000 --- a/buildroot-2021.05/package/gobject-introspection/gobject-introspection.hash +++ /dev/null @@ -1,4 +0,0 @@ -#From http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.64/gobject-introspection-1.64.1.sha256sum -sha256 80beae6728c134521926affff9b2e97125749b38d38744dc901f4010ee3e7fa7 gobject-introspection-1.64.1.tar.xz -sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING.LGPL -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING.GPL diff --git a/buildroot-2021.05/package/gobject-introspection/gobject-introspection.mk b/buildroot-2021.05/package/gobject-introspection/gobject-introspection.mk deleted file mode 100644 index eefb2c83..00000000 --- a/buildroot-2021.05/package/gobject-introspection/gobject-introspection.mk +++ /dev/null @@ -1,146 +0,0 @@ -################################################################################ -# -# gobject-introspection -# -################################################################################ - -GOBJECT_INTROSPECTION_VERSION_MAJOR = 1.64 -GOBJECT_INTROSPECTION_VERSION = $(GOBJECT_INTROSPECTION_VERSION_MAJOR).1 -GOBJECT_INTROSPECTION_SITE = http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/$(GOBJECT_INTROSPECTION_VERSION_MAJOR) -GOBJECT_INTROSPECTION_SOURCE = gobject-introspection-$(GOBJECT_INTROSPECTION_VERSION).tar.xz -GOBJECT_INTROSPECTION_INSTALL_STAGING = YES -GOBJECT_INTROSPECTION_AUTORECONF = YES -GOBJECT_INTROSPECTION_LICENSE = LGPL-2.0+, GPL-2.0+, BSD-2-Clause -GOBJECT_INTROSPECTION_LICENSE_FILES = COPYING.LGPL COPYING.GPL giscanner/scannerlexer.l - -GOBJECT_INTROSPECTION_DEPENDENCIES = \ - host-autoconf-archive \ - host-gobject-introspection \ - host-prelink-cross \ - host-qemu \ - libffi \ - libglib2 \ - python3 \ - zlib - -HOST_GOBJECT_INTROSPECTION_DEPENDENCIES = \ - host-bison \ - host-flex \ - host-libglib2 \ - host-python3 - -# g-ir-scanner will default to /usr/bin/ld for linking if this is not set. -GOBJECT_INTROSPECTION_NINJA_ENV += \ - CC="$(TARGET_CC)" - -# When building, gobject-introspection uses tools/g-ir-scanner to build several -# .gir and .typelib files. g-ir-scanner does not use LDFLAGS, and by default, -# links to the system-installed libglib2 path. To remedy this issue, defining -# LD_LIBRARY_PATH forces g-ir-scanner to use our host installed libglib2 files. -HOST_GOBJECT_INTROSPECTION_NINJA_ENV += \ - LD_LIBRARY_PATH="$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(HOST_DIR)/lib" - -# Use the host gi-scanner to prevent the scanner from generating incorrect -# elf classes. -GOBJECT_INTROSPECTION_CONF_OPTS = \ - -Dgi_cross_use_host_gi=true \ - -Dgi_cross_binary_wrapper="$(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper" \ - -Dgi_cross_ldd_wrapper="$(STAGING_DIR)/usr/bin/g-ir-scanner-lddwrapper" \ - -Dbuild_introspection_data=true \ - -Ddoctool=disabled - -ifeq ($(BR2_PACKAGE_CAIRO),y) -GOBJECT_INTROSPECTION_DEPENDENCIES += cairo -GOBJECT_INTROSPECTION_CONF_OPTS += -Dcairo=enabled -else -GOBJECT_INTROSPECTION_CONF_OPTS += -Dcairo=disabled -endif - -# GI_SCANNER_DISABLE_CACHE=1 prevents g-ir-scanner from writing cache data to ${HOME} -GOBJECT_INTROSPECTION_CONF_ENV = \ - GI_SCANNER_DISABLE_CACHE=1 - -HOST_GOBJECT_INTROSPECTION_CONF_ENV = \ - GI_SCANNER_DISABLE_CACHE=1 - -# Make sure g-ir-tool-template uses the host python. -define GOBJECT_INTROSPECTION_FIX_TOOLTEMPLATE_PYTHON_PATH - $(SED) '1s%#!.*%#!$(HOST_DIR)/bin/python%' $(@D)/tools/g-ir-tool-template.in -endef -HOST_GOBJECT_INTROSPECTION_PRE_CONFIGURE_HOOKS += GOBJECT_INTROSPECTION_FIX_TOOLTEMPLATE_PYTHON_PATH - -# Perform the following: -# - Just as above, Ensure that g-ir-tool-template.in uses the host python. -# - Install all of the wrappers needed to build gobject-introspection. -# - Create a safe modules directory which does not exist so we don't load random things -# which may then get deleted (or their dependencies) and potentially segfault -define GOBJECT_INTROSPECTION_INSTALL_PRE_WRAPPERS - $(SED) '1s%#!.*%#!$(HOST_DIR)/bin/python%' $(@D)/tools/g-ir-tool-template.in - - $(INSTALL) -D -m 755 $(GOBJECT_INTROSPECTION_PKGDIR)/g-ir-scanner-lddwrapper.in \ - $(STAGING_DIR)/usr/bin/g-ir-scanner-lddwrapper - - $(INSTALL) -D -m 755 $(GOBJECT_INTROSPECTION_PKGDIR)/g-ir-scanner-qemuwrapper.in \ - $(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper - $(SED) "s%@QEMU_USER@%$(QEMU_USER)%g" \ - $(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper - $(SED) "s%@TOOLCHAIN_HEADERS_VERSION@%$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)%g" \ - $(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper - - # Use a modules directory which does not exist so we don't load random things - # which may then get deleted (or their dependencies) and potentially segfault - mkdir -p $(STAGING_DIR)/usr/lib/gio/modules-dummy -endef -GOBJECT_INTROSPECTION_PRE_CONFIGURE_HOOKS += GOBJECT_INTROSPECTION_INSTALL_PRE_WRAPPERS - -# Move the real compiler and scanner to .real, and replace them with the wrappers. -# Using .real has the following advantages: -# - There is no need to change the logic for other packages. -# - The wrappers call the .real files using qemu. -define GOBJECT_INTROSPECTION_INSTALL_WRAPPERS - # Move the real binaries to their names.real, then replace them with - # the wrappers. - $(foreach w,g-ir-compiler g-ir-scanner, - mv $(STAGING_DIR)/usr/bin/$(w) $(STAGING_DIR)/usr/bin/$(w).real - $(INSTALL) -D -m 755 \ - $(GOBJECT_INTROSPECTION_PKGDIR)/$(w).in $(STAGING_DIR)/usr/bin/$(w) - ) - $(SED) "s%@BASENAME_TARGET_CPP@%$(notdir $(TARGET_CPP))%g" \ - -e "s%@BASENAME_TARGET_CC@%$(notdir $(TARGET_CC))%g" \ - -e "s%@BASENAME_TARGET_CXX@%$(notdir $(TARGET_CXX))%g" \ - -e "s%@TARGET_CPPFLAGS@%$(TARGET_CPPFLAGS)%g" \ - -e "s%@TARGET_CFLAGS@%$(TARGET_CFLAGS)%g" \ - -e "s%@TARGET_CXXFLAGS@%$(TARGET_CXXFLAGS)%g" \ - -e "s%@TARGET_LDFLAGS@%$(TARGET_LDFLAGS)%g" \ - $(STAGING_DIR)/usr/bin/g-ir-scanner - - # Gobject-introspection installs Makefile.introspection in - # $(STAGING_DIR)/usr/share which is needed for autotools-based programs to - # build .gir and .typelib files. Unfortuantly, gobject-introspection-1.0.pc - # uses $(prefix)/share as the directory, which - # causes the host /usr/share being used instead of $(STAGING_DIR)/usr/share. - # Change datarootdir to $(libdir)/../share which will prefix $(STAGING_DIR) - # to the correct location. - $(SED) "s%datarootdir=.*%datarootdir=\$${libdir}/../share%g" \ - $(STAGING_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc - - # By default, girdir and typelibdir use datadir and libdir as their prefix, - # of which pkg-config appends the sysroot directory. This results in files - # being installed in $(STAGING_DIR)/$(STAGING_DIR)/path/to/files. - # Changing the prefix to exec_prefix prevents this error. - $(SED) "s%girdir=.*%girdir=\$${exec_prefix}/share/gir-1.0%g" \ - $(STAGING_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc - - $(SED) "s%typelibdir=.*%typelibdir=\$${exec_prefix}/lib/girepository-1.0%g" \ - $(STAGING_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc -endef -GOBJECT_INTROSPECTION_POST_INSTALL_STAGING_HOOKS += GOBJECT_INTROSPECTION_INSTALL_WRAPPERS - -# Only .typelib files are needed to run. -define GOBJECT_INTROSPECTION_REMOVE_DEVELOPMENT_FILES - find $(TARGET_DIR)/usr/share \( -iname "*.gir" -o -iname \*.rnc \) -delete -endef -GOBJECT_INTROSPECTION_TARGET_FINALIZE_HOOKS += GOBJECT_INTROSPECTION_REMOVE_DEVELOPMENT_FILES - -$(eval $(meson-package)) -$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch b/buildroot-2021.05/package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch deleted file mode 100644 index 58b260ce..00000000 --- a/buildroot-2021.05/package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 445be05fba32c512fd87a0c98b4e9936629ef95e Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sat, 20 Feb 2016 17:59:52 +0100 -Subject: [PATCH 1/1] src/Makefile.in: Really install unversioned solibrary - -This commit is a follow-up to -https://github.com/telmich/gpm/commit/06b00d53d8bd513ad5d262dc94a016c6fbf2d3aa -which created libgpm.so but failed to include it in the install target. - -Patch sent upstream: https://github.com/telmich/gpm/pull/11 - -Signed-off-by: Bernd Kuhls ---- - src/Makefile.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/Makefile.in b/src/Makefile.in -index 7e9e2ef..bca226f 100644 ---- a/src/Makefile.in -+++ b/src/Makefile.in -@@ -115,6 +115,7 @@ install: check - if test "x@SHLIB@" != "x" ; then \ - $(INSTALL_DATA) -m 755 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@ ; \ - cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ ; \ -+ cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so ; \ - echo "WARNING: We installed a lib, you should now call ldconfig" ; \ - echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" ; \ - echo "Or to update everything just type ldconfig" ; \ --- -2.7.0 - diff --git a/buildroot-2021.05/package/gpm/gpm.mk b/buildroot-2021.05/package/gpm/gpm.mk deleted file mode 100644 index f59d059a..00000000 --- a/buildroot-2021.05/package/gpm/gpm.mk +++ /dev/null @@ -1,71 +0,0 @@ -################################################################################ -# -# gpm -# -################################################################################ - -GPM_VERSION = 1.20.7 -GPM_SOURCE = gpm-$(GPM_VERSION).tar.lzma -GPM_SITE = http://www.nico.schottelius.org/software/gpm/archives -GPM_LICENSE = GPL-2.0+ -GPM_LICENSE_FILES = COPYING -GPM_INSTALL_STAGING = YES -GPM_DEPENDENCIES = host-bison - -# if not already installed in staging dir, gpm Makefile may fail to find some -# of the headers needed to generate build dependencies, the first time it is -# built. CPPFLAGS is used to pass the right include path to dependency rules. -GPM_CONF_ENV = \ - CPPFLAGS="$(TARGET_CPPFLAGS) -I$(@D)/src/headers/" \ - ac_cv_path_emacs=no - -# For some reason, Microblaze gcc does not define __ELF__, which gpm -# configure script uses to determine whether the architecture uses ELF -# binaries and therefore can build shared libraries. We fix this by -# telling GPM that ELF is used on Microblaze. -ifeq ($(BR2_microblaze),y) -GPM_CONF_ENV += itz_cv_sys_elf=yes -endif - -# gpm and ncurses have a circular dependency. As gpm function GPM_Wgetch() -# (requiring ncurses) is not recommended for use by ncurses people themselves -# and as it's better to have gpm support in ncurses that the contrary, we force -# gpm to not look after ncurses explicitly. -# http://invisible-island.net/ncurses/ncurses.faq.html#using_gpm_lib -GPM_CONF_OPTS = --without-curses - -# configure is missing but gpm seems not compatible with our autoreconf -# mechanism so we have to do it manually instead of using GPM_AUTORECONF = YES -define GPM_RUN_AUTOGEN - cd $(@D) && PATH=$(BR_PATH) ./autogen.sh -endef -GPM_PRE_CONFIGURE_HOOKS += GPM_RUN_AUTOGEN - -GPM_DEPENDENCIES += host-automake host-autoconf host-libtool - -# gpm tries to build/install .info doc even if makeinfo isn't installed on the -# host, so we have to disable global doc installation to prevent autobuild -# errors. -define GPM_DISABLE_DOC_INSTALL - $(SED) 's/SUBDIRS = src doc contrib/SUBDIRS = src contrib/' \ - $(@D)/Makefile.in -endef -GPM_POST_PATCH_HOOKS += GPM_DISABLE_DOC_INSTALL - -ifeq ($(BR2_PACKAGE_GPM_INSTALL_TEST_TOOLS),) -define GPM_REMOVE_TEST_TOOLS_FROM_TARGET - for tools in mev hltest mouse-test display-buttons \ - get-versions display-coords; do \ - rm -f $(TARGET_DIR)/usr/bin/$$tools ; \ - done -endef -GPM_POST_INSTALL_TARGET_HOOKS += GPM_REMOVE_TEST_TOOLS_FROM_TARGET -endif - -define GPM_INSTALL_GPM_ROOT_CONF_ON_TARGET - $(INSTALL) -m 0644 -D $(@D)/conf/gpm-root.conf $(TARGET_DIR)/etc/ -endef - -GPM_POST_INSTALL_TARGET_HOOKS += GPM_INSTALL_GPM_ROOT_CONF_ON_TARGET - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gpsd/0001-Fix-errors-during-gpsd-3.20-cross-compilation.patch b/buildroot-2021.05/package/gpsd/0001-Fix-errors-during-gpsd-3.20-cross-compilation.patch deleted file mode 100644 index 7ab863d4..00000000 --- a/buildroot-2021.05/package/gpsd/0001-Fix-errors-during-gpsd-3.20-cross-compilation.patch +++ /dev/null @@ -1,148 +0,0 @@ -From 727c37ef78f2229998ac51942f5d11c754d0c6b9 Mon Sep 17 00:00:00 2001 -From: Robert Hancock -Date: Mon, 13 Jul 2020 17:33:48 -0600 -Subject: [PATCH] Fix errors during gpsd 3.20 cross-compilation - -Adapt some post-3.20 changes to the gpsd SConstruct file from the -gpsd master branch to fix issues when cross-compiling. Original -commits did not cherry-pick cleanly onto 3.20 due to other -upstream changes. - -Signed-off-by: Robert Hancock ---- - SConstruct | 81 ++++++++++++++++++++++-------------------------------- - 1 file changed, 33 insertions(+), 48 deletions(-) - -diff --git a/SConstruct b/SConstruct -index 33e0ff326..93e8fcfea 100644 ---- a/SConstruct -+++ b/SConstruct -@@ -386,13 +386,16 @@ env['SC_PYTHON'] = sys.executable # Path to SCons Python - # So we rely on MergeFlags/ParseFlags to do the right thing for us. - env['STRIP'] = "strip" - env['PKG_CONFIG'] = "pkg-config" --for i in ["AR", "CC", "CXX", "LD", -- "PKG_CONFIG", "STRIP", "TAR"]: -+for i in ["AR", # linker for static libs, usually "ar" -+ "CC", -+ "CXX", -+ # "LD", # scons does not use LD, usually "ld" -+ "PKG_CONFIG", -+ "SHLINK", # linker for shared libs, usually "gcc" or "g++", NOT "ld" -+ "STRIP", -+ "TAR"]: - if i in os.environ: -- j = i -- if i == "LD": -- i = "SHLINK" -- env[i] = os.getenv(j) -+ env[i] = os.getenv(i) - for i in ["ARFLAGS", "CFLAGS", "CXXFLAGS", "LDFLAGS", "SHLINKFLAGS", - "CPPFLAGS", "CCFLAGS", "LINKFLAGS"]: - if i in os.environ: -@@ -483,7 +486,7 @@ devenv = (("ADDR2LINE", "addr2line"), - ("GCCBUG", "gccbug"), - ("GCOV", "gcov"), - ("GPROF", "gprof"), -- ("LD", "ld"), -+ # ("LD", "ld"), # scons does not use LD - ("NM", "nm"), - ("OBJCOPY", "objcopy"), - ("OBJDUMP", "objdump"), -@@ -565,6 +568,22 @@ def CheckXsltproc(context): - return ret - - -+def CheckTime_t(context): -+ context.Message('Checking if sizeof(time_t) is 64 bits... ') -+ ret = context.TryLink(""" -+ #include -+ -+ int main(int argc, char **argv) { -+ static int test_array[1 - 2 * ((long int) sizeof(time_t) < 8 )]; -+ test_array[0] = 0; -+ (void) argc; (void) argv; -+ return 0; -+ } -+ """, '.c') -+ context.Result(ret) -+ return ret -+ -+ - def CheckCompilerOption(context, option): - context.Message('Checking if compiler accepts %s... ' % (option,)) - old_CFLAGS = context.env['CFLAGS'][:] # Get a *copy* of the old list -@@ -597,42 +616,6 @@ def CheckHeaderDefines(context, file, define): - return ret - - --def CheckSizeOf(context, type): -- """Check sizeof 'type'""" -- context.Message('Checking size of ' + type + '... ') -- -- program = """ --#include --#include -- --/* -- * The CheckSizeOf function does not have a way for the caller to -- * specify header files to be included to provide the type being -- * checked. As a workaround until that is remedied, include the -- * header required for time_t, which is the sole current use of this -- * function. -- */ --#include -- --int main() { -- printf("%d", (int)sizeof(""" + type + """)); -- return 0; --} --""" -- -- # compile it -- ret = context.TryCompile(program, '.c') -- if 0 == ret: -- announce('ERROR: TryCompile failed\n') -- # fall back to sizeof(time_t) is 8 -- return '8' -- -- # run it -- ret = context.TryRun(program, '.c') -- context.Result(ret[0]) -- return ret[1] -- -- - def CheckCompilerDefines(context, define): - context.Message('Checking if compiler supplies %s... ' % (define,)) - ret = context.TryLink(""" -@@ -708,8 +691,8 @@ config = Configure(env, custom_tests={ - 'CheckCompilerOption': CheckCompilerOption, - 'CheckHeaderDefines': CheckHeaderDefines, - 'CheckPKG': CheckPKG, -- 'CheckSizeOf': CheckSizeOf, - 'CheckXsltproc': CheckXsltproc, -+ 'CheckTime_t': CheckTime_t, - 'GetPythonValue': GetPythonValue, - }) - -@@ -1043,11 +1026,13 @@ else: - confdefs.append("/* #undef HAVE_%s_H */\n" - % hdr.replace("/", "_").upper()) - -- sizeof_time_t = config.CheckSizeOf("time_t") -- confdefs.append("#define SIZEOF_TIME_T %s\n" % sizeof_time_t) -- announce("sizeof(time_t) is %s" % sizeof_time_t) -- if 4 >= int(sizeof_time_t): -+ if 0 == config.CheckTime_t(): - announce("WARNING: time_t is too small. It will fail in 2038") -+ sizeof_time_t = 4 -+ else: -+ sizeof_time_t = 8 -+ -+ confdefs.append("#define SIZEOF_TIME_T %s\n" % sizeof_time_t) - - # check function after libraries, because some function require libraries - # for example clock_gettime() require librt on Linux glibc < 2.17 --- -2.18.4 - diff --git a/buildroot-2021.05/package/gpsd/Config.in b/buildroot-2021.05/package/gpsd/Config.in deleted file mode 100644 index 3e13f1ba..00000000 --- a/buildroot-2021.05/package/gpsd/Config.in +++ /dev/null @@ -1,248 +0,0 @@ -comment "gpsd needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -menuconfig BR2_PACKAGE_GPSD - bool "gpsd" - # Uses fork() - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_THREADS - # Always tries to build a shared library - depends on !BR2_STATIC_LIBS - help - gpsd is a service daemon that monitors one or more GPSes or - AIS receivers attached to a host computer through serial or - USB ports, making all data on the location/course/velocity of - the sensors available to be queried on TCP port 2947 of the - host computer. - - The D-Bus interface is included if dbus-glib is enabled. - - https://gpsd.gitlab.io/gpsd - -if BR2_PACKAGE_GPSD - -config BR2_PACKAGE_GPSD_DEVICES - string "Where to look for GPSes" - default "/dev/ttyS1" - -comment "Features" - -config BR2_PACKAGE_GPSD_CLIENT_DEBUG - bool "client debugging support" - -config BR2_PACKAGE_GPSD_OLDSTYLE - bool "oldstyle (pre-JSON) protocol support" - -config BR2_PACKAGE_GPSD_PROFILING - bool "profiling support" - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on !BR2_aarch64 - # Needs glibc for ARC arc-2018.03-eng007+ for correct __mcount linking - depends on !BR2_arc - -comment "profiling support not available with uClibc-based toolchain" - depends on !BR2_TOOLCHAIN_USES_GLIBC - -config BR2_PACKAGE_GPSD_USER - bool "GPSD privilege revocation user" - -config BR2_PACKAGE_GPSD_USER_VALUE - string "user to run as" - default "nobody" - depends on BR2_PACKAGE_GPSD_USER - -config BR2_PACKAGE_GPSD_GROUP - bool "GPSD privilege revocation group" - -config BR2_PACKAGE_GPSD_GROUP_VALUE - string "group to run as" - default "nobody" - depends on BR2_PACKAGE_GPSD_GROUP - -config BR2_PACKAGE_GPSD_FIXED_PORT_SPEED - bool "compile with fixed serial port speed" - -config BR2_PACKAGE_GPSD_FIXED_PORT_SPEED_VALUE - int "serial port speed" - default "9600" - depends on BR2_PACKAGE_GPSD_FIXED_PORT_SPEED - -config BR2_PACKAGE_GPSD_MAX_CLIENT - bool "compile with limited maximum clients" - -config BR2_PACKAGE_GPSD_MAX_CLIENT_VALUE - int "maximum number of clients" - default "10" - depends on BR2_PACKAGE_GPSD_MAX_CLIENT - -config BR2_PACKAGE_GPSD_MAX_DEV - bool "compile with maximum allowed devices" - -config BR2_PACKAGE_GPSD_MAX_DEV_VALUE - int "maximum allowed devices" - default "2" - depends on BR2_PACKAGE_GPSD_MAX_DEV - -config BR2_PACKAGE_GPSD_RECONFIGURE - bool "allow gpsd to change device settings" - default y - -config BR2_PACKAGE_GPSD_CONTROLSEND - bool "allow gpsctl/gpsmon to change device settings" - default y - -config BR2_PACKAGE_GPSD_SQUELCH - bool "squelch gpsd_report and gpsd_hexdump to save cpu" - -comment "Protocols" - -config BR2_PACKAGE_GPSD_AIVDM - bool "Aivdm" - help - Aivdm support - -config BR2_PACKAGE_GPSD_ASHTECH - bool "Ashtech" - help - Ashtech support - -config BR2_PACKAGE_GPSD_EARTHMATE - bool "Earthmate" - help - DeLorme EarthMate Zodiac support - -config BR2_PACKAGE_GPSD_EVERMORE - bool "EverMore" - help - EverMore binary support - -config BR2_PACKAGE_GPSD_FURY - bool "Fury" - help - Jackson Labs Fury and Firefly support - -config BR2_PACKAGE_GPSD_FV18 - bool "FV-18" - help - San Jose Navigation FV-18 support - -config BR2_PACKAGE_GPSD_GARMIN - bool "Garmin (kernel)" - help - Garmin kernel driver support - -config BR2_PACKAGE_GPSD_GARMIN_SIMPLE_TXT - bool "Garmin (simple text)" - help - Garmin Simple Text support - -config BR2_PACKAGE_GPSD_GEOSTAR - bool "Geostar" - help - Geostar Protocol support - -config BR2_PACKAGE_GPSD_GPSCLOCK - bool "GPSClock" - help - GPSClock support - -config BR2_PACKAGE_GPSD_GREIS - bool "Greis" - help - Greis support - -config BR2_PACKAGE_GPSD_ISYNC - bool "iSync" - help - Spectratime iSync LNRClok/GRCLOK support - -config BR2_PACKAGE_GPSD_ITRAX - bool "iTrax" - help - iTrax support - -config BR2_PACKAGE_GPSD_MTK3301 - bool "MTK-3301" - help - Mediatek MTK-3301 support - -config BR2_PACKAGE_GPSD_NAVCOM - bool "Navcom" - help - Navcom binary support - -config BR2_PACKAGE_GPSD_NMEA - bool "NMEA" - default y - help - Generic NMEA support - -config BR2_PACKAGE_GPSD_NMEA2000 - bool "NMEA2000" - select BR2_PACKAGE_GPSD_NAVCOM - select BR2_PACKAGE_GPSD_AIVDM - help - NMEA2000/CAN support - -config BR2_PACKAGE_GPSD_NTRIP - bool "NTRIP" - help - NTRIP support - -config BR2_PACKAGE_GPSD_OCEANSERVER - bool "OceanServer" - help - OceanServer Digital Compass support - -config BR2_PACKAGE_GPSD_ONCORE - bool "OnCore" - help - OnCore support - -config BR2_PACKAGE_GPSD_RTCM104V2 - bool "RTCM104 v2" - help - RTCM104 v2 support - -config BR2_PACKAGE_GPSD_RTCM104V3 - bool "RTCM104 v3" - help - RTCM104 v3 support - -config BR2_PACKAGE_GPSD_SIRF - bool "SiRF" - help - SiRF binary support - -config BR2_PACKAGE_GPSD_SKYTRAQ - bool "Skytraq" - help - Skytraq support - -config BR2_PACKAGE_GPSD_SUPERSTAR2 - bool "SuperStarII" - help - Novatel SuperStarII binary support - -config BR2_PACKAGE_GPSD_TRIMBLE_TSIP - bool "Trimble TSIP" - help - Trimble TSIP support - -config BR2_PACKAGE_GPSD_TRIPMATE - bool "TripMate" - help - Delorme TripMate support - -config BR2_PACKAGE_GPSD_TRUE_NORTH - bool "True North Technologies" - help - True North Technologies support - -config BR2_PACKAGE_GPSD_UBX - bool "UBX" - help - uBlox UBX binary support - -endif diff --git a/buildroot-2021.05/package/gpsd/gpsd.hash b/buildroot-2021.05/package/gpsd/gpsd.hash deleted file mode 100644 index af53fc05..00000000 --- a/buildroot-2021.05/package/gpsd/gpsd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 172a7805068eacb815a3c5225436fcb0be46e7e49a5001a94034eac43df85e50 gpsd-3.20.tar.gz -sha256 13ba6fe5b2f41f03b854f9ac5f271e116d5ed55890cc20f5fe44dcfa0dc5958b COPYING diff --git a/buildroot-2021.05/package/gpsd/gpsd.mk b/buildroot-2021.05/package/gpsd/gpsd.mk deleted file mode 100644 index be7327ac..00000000 --- a/buildroot-2021.05/package/gpsd/gpsd.mk +++ /dev/null @@ -1,253 +0,0 @@ -################################################################################ -# -# gpsd -# -################################################################################ - -GPSD_VERSION = 3.20 -GPSD_SITE = http://download-mirror.savannah.gnu.org/releases/gpsd -GPSD_LICENSE = BSD-2-Clause -GPSD_LICENSE_FILES = COPYING -GPSD_CPE_ID_VENDOR = gpsd_project -GPSD_INSTALL_STAGING = YES - -GPSD_DEPENDENCIES = host-python3 host-scons host-pkgconf - -GPSD_LDFLAGS = $(TARGET_LDFLAGS) -GPSD_CFLAGS = $(TARGET_CFLAGS) - -GPSD_SCONS_ENV = $(TARGET_CONFIGURE_OPTS) - -GPSD_SCONS_OPTS = \ - arch=$(ARCH) \ - manbuild=no \ - prefix=/usr \ - sysroot=$(STAGING_DIR) \ - strip=no \ - python=no \ - qt=no \ - systemd=$(if $(BR2_INIT_SYSTEMD),yes,no) - -ifeq ($(BR2_PACKAGE_NCURSES),y) -GPSD_DEPENDENCIES += ncurses -else -GPSD_SCONS_OPTS += ncurses=no -endif - -# Build libgpsmm if we've got C++ -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -GPSD_LDFLAGS += -lstdc++ -GPSD_CFLAGS += -std=gnu++98 -GPSD_CXXFLAGS += -std=gnu++98 -GPSD_SCONS_OPTS += libgpsmm=yes -else -GPSD_SCONS_OPTS += libgpsmm=no -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) -GPSD_CFLAGS += -O0 -endif - -# If libusb is available build it before so the package can use it -ifeq ($(BR2_PACKAGE_LIBUSB),y) -GPSD_DEPENDENCIES += libusb -else -GPSD_SCONS_OPTS += usb=no -endif - -# If bluetooth is available build it before so the package can use it -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) -GPSD_DEPENDENCIES += bluez5_utils -else -GPSD_SCONS_OPTS += bluez=no -endif - -# If pps-tools is available, build it before so the package can use it -# (HAVE_SYS_TIMEPPS_H). -ifeq ($(BR2_PACKAGE_PPS_TOOLS),y) -GPSD_DEPENDENCIES += pps-tools -endif - -ifeq ($(BR2_PACKAGE_DBUS_GLIB),y) -GPSD_SCONS_OPTS += dbus_export=yes -GPSD_DEPENDENCIES += dbus-glib -endif - -# Protocol support -ifneq ($(BR2_PACKAGE_GPSD_ASHTECH),y) -GPSD_SCONS_OPTS += ashtech=no -endif -ifneq ($(BR2_PACKAGE_GPSD_AIVDM),y) -GPSD_SCONS_OPTS += aivdm=no -endif -ifneq ($(BR2_PACKAGE_GPSD_EARTHMATE),y) -GPSD_SCONS_OPTS += earthmate=no -endif -ifneq ($(BR2_PACKAGE_GPSD_EVERMORE),y) -GPSD_SCONS_OPTS += evermore=no -endif -ifneq ($(BR2_PACKAGE_GPSD_FURY),y) -GPSD_SCONS_OPTS += fury=no -endif -ifneq ($(BR2_PACKAGE_GPSD_FV18),y) -GPSD_SCONS_OPTS += fv18=no -endif -ifneq ($(BR2_PACKAGE_GPSD_GARMIN),y) -GPSD_SCONS_OPTS += garmin=no -endif -ifneq ($(BR2_PACKAGE_GPSD_GARMIN_SIMPLE_TXT),y) -GPSD_SCONS_OPTS += garmintxt=no -endif -ifneq ($(BR2_PACKAGE_GPSD_GEOSTAR),y) -GPSD_SCONS_OPTS += geostar=no -endif -ifneq ($(BR2_PACKAGE_GPSD_GPSCLOCK),y) -GPSD_SCONS_OPTS += gpsclock=no -endif -ifneq ($(BR2_PACKAGE_GPSD_GREIS),y) -GPSD_SCONS_OPTS += greis=no -endif -ifneq ($(BR2_PACKAGE_GPSD_ISYNC),y) -GPSD_SCONS_OPTS += isync=no -endif -ifneq ($(BR2_PACKAGE_GPSD_ITRAX),y) -GPSD_SCONS_OPTS += itrax=no -endif -ifneq ($(BR2_PACKAGE_GPSD_MTK3301),y) -GPSD_SCONS_OPTS += mtk3301=no -endif -ifneq ($(BR2_PACKAGE_GPSD_NMEA),y) -GPSD_SCONS_OPTS += nmea0183=no -endif -ifneq ($(BR2_PACKAGE_GPSD_NTRIP),y) -GPSD_SCONS_OPTS += ntrip=no -endif -ifneq ($(BR2_PACKAGE_GPSD_NAVCOM),y) -GPSD_SCONS_OPTS += navcom=no -endif -ifneq ($(BR2_PACKAGE_GPSD_NMEA2000),y) -GPSD_SCONS_OPTS += nmea2000=no -endif -ifneq ($(BR2_PACKAGE_GPSD_OCEANSERVER),y) -GPSD_SCONS_OPTS += oceanserver=no -endif -ifneq ($(BR2_PACKAGE_GPSD_ONCORE),y) -GPSD_SCONS_OPTS += oncore=no -endif -ifneq ($(BR2_PACKAGE_GPSD_RTCM104V2),y) -GPSD_SCONS_OPTS += rtcm104v2=no -endif -ifneq ($(BR2_PACKAGE_GPSD_RTCM104V3),y) -GPSD_SCONS_OPTS += rtcm104v3=no -endif -ifneq ($(BR2_PACKAGE_GPSD_SIRF),y) -GPSD_SCONS_OPTS += sirf=no -endif -ifneq ($(BR2_PACKAGE_GPSD_SKYTRAQ),y) -GPSD_SCONS_OPTS += skytraq=no -endif -ifneq ($(BR2_PACKAGE_GPSD_SUPERSTAR2),y) -GPSD_SCONS_OPTS += superstar2=no -endif -ifneq ($(BR2_PACKAGE_GPSD_TRIMBLE_TSIP),y) -GPSD_SCONS_OPTS += tsip=no -endif -ifneq ($(BR2_PACKAGE_GPSD_TRIPMATE),y) -GPSD_SCONS_OPTS += tripmate=no -endif -ifneq ($(BR2_PACKAGE_GPSD_TRUE_NORTH),y) -GPSD_SCONS_OPTS += tnt=no -endif -ifneq ($(BR2_PACKAGE_GPSD_UBX),y) -GPSD_SCONS_OPTS += ublox=no -endif - -# Features -ifeq ($(BR2_PACKAGE_GPSD_SQUELCH),y) -GPSD_SCONS_OPTS += squelch=yes -endif -ifneq ($(BR2_PACKAGE_GPSD_RECONFIGURE),y) -GPSD_SCONS_OPTS += reconfigure=no -endif -ifneq ($(BR2_PACKAGE_GPSD_CONTROLSEND),y) -GPSD_SCONS_OPTS += controlsend=no -endif -ifneq ($(BR2_PACKAGE_GPSD_OLDSTYLE),y) -GPSD_SCONS_OPTS += oldstyle=no -endif -ifeq ($(BR2_PACKAGE_GPSD_PROFILING),y) -GPSD_SCONS_OPTS += profiling=yes -endif -ifneq ($(BR2_PACKAGE_GPSD_CLIENT_DEBUG),y) -GPSD_SCONS_OPTS += clientdebug=no -endif -ifeq ($(BR2_PACKAGE_GPSD_USER),y) -GPSD_SCONS_OPTS += gpsd_user=$(BR2_PACKAGE_GPSD_USER_VALUE) -endif -ifeq ($(BR2_PACKAGE_GPSD_GROUP),y) -GPSD_SCONS_OPTS += gpsd_group=$(BR2_PACKAGE_GPSD_GROUP_VALUE) -endif -ifeq ($(BR2_PACKAGE_GPSD_FIXED_PORT_SPEED),y) -GPSD_SCONS_OPTS += fixed_port_speed=$(BR2_PACKAGE_GPSD_FIXED_PORT_SPEED_VALUE) -endif -ifeq ($(BR2_PACKAGE_GPSD_MAX_CLIENT),y) -GPSD_SCONS_OPTS += max_clients=$(BR2_PACKAGE_GPSD_MAX_CLIENT_VALUE) -endif -ifeq ($(BR2_PACKAGE_GPSD_MAX_DEV),y) -GPSD_SCONS_OPTS += max_devices=$(BR2_PACKAGE_GPSD_MAX_DEV_VALUE) -endif - -GPSD_SCONS_ENV += \ - LDFLAGS="$(GPSD_LDFLAGS)" \ - CFLAGS="$(GPSD_CFLAGS)" \ - CCFLAGS="$(GPSD_CFLAGS)" - -define GPSD_BUILD_CMDS - (cd $(@D); \ - $(GPSD_SCONS_ENV) \ - $(HOST_DIR)/bin/python3 $(SCONS) \ - $(GPSD_SCONS_OPTS)) -endef - -define GPSD_INSTALL_TARGET_CMDS - (cd $(@D); \ - $(GPSD_SCONS_ENV) \ - DESTDIR=$(TARGET_DIR) \ - $(HOST_DIR)/bin/python3 $(SCONS) \ - $(GPSD_SCONS_OPTS) \ - $(if $(BR2_PACKAGE_HAS_UDEV),udev-install,install)) -endef - -define GPSD_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd - $(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd -endef - -# systemd unit files are installed automatically, but need to update the -# /usr/local path references in the provided files to /usr. -define GPSD_INSTALL_INIT_SYSTEMD - $(SED) 's%/usr/local%/usr%' \ - $(TARGET_DIR)/usr/lib/systemd/system/gpsd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/gpsdctl@.service -endef - -define GPSD_INSTALL_STAGING_CMDS - (cd $(@D); \ - $(GPSD_SCONS_ENV) \ - DESTDIR=$(STAGING_DIR) \ - $(HOST_DIR)/bin/python3 $(SCONS) \ - $(GPSD_SCONS_OPTS) \ - install) -endef - -# After the udev rule is installed, make it writable so that this -# package can be re-built/re-installed. -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -define GPSD_INSTALL_UDEV_RULES - chmod u+w $(TARGET_DIR)/lib/udev/rules.d/25-gpsd.rules -endef - -GPSD_POST_INSTALL_TARGET_HOOKS += GPSD_INSTALL_UDEV_RULES -endif - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/gptfdisk/gptfdisk.hash b/buildroot-2021.05/package/gptfdisk/gptfdisk.hash deleted file mode 100644 index 7894f218..00000000 --- a/buildroot-2021.05/package/gptfdisk/gptfdisk.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.7/ -sha1 406ab2596e1911c916dce677ce7e903076d94c6d gptfdisk-1.0.7.tar.gz -# Locally computed -sha256 754004b7f85b279287c7ac3c0469b1d7e0eae043a97a2e587b0560ca5f3828c0 gptfdisk-1.0.7.tar.gz -sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/buildroot-2021.05/package/gptfdisk/gptfdisk.mk b/buildroot-2021.05/package/gptfdisk/gptfdisk.mk deleted file mode 100644 index d92a5271..00000000 --- a/buildroot-2021.05/package/gptfdisk/gptfdisk.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# gptfdisk -# -################################################################################ - -GPTFDISK_VERSION = 1.0.7 -GPTFDISK_SITE = http://downloads.sourceforge.net/sourceforge/gptfdisk -GPTFDISK_LICENSE = GPL-2.0+ -GPTFDISK_LICENSE_FILES = COPYING - -GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_GDISK) += gdisk -GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk -GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk - -GPTFDISK_DEPENDENCIES += util-linux -ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) -GPTFDISK_DEPENDENCIES += popt -endif -ifeq ($(BR2_PACKAGE_GPTFDISK_CGDISK),y) -GPTFDISK_DEPENDENCIES += ncurses -endif - -ifeq ($(BR2_STATIC_LIBS),y) -# gptfdisk dependencies may link against libiconv, so we need to do so -# as well when linking statically -ifeq ($(BR2_PACKAGE_LIBICONV),y) -GPTFDISK_DEPENDENCIES += libiconv -GPTFDISK_LDLIBS += -liconv -endif -endif - -define GPTFDISK_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - LDLIBS='$(GPTFDISK_LDLIBS)' $(GPTFDISK_TARGETS_y) -endef - -define GPTFDISK_INSTALL_TARGET_CMDS - for i in $(GPTFDISK_TARGETS_y); do \ - $(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \ - done -endef - -HOST_GPTFDISK_DEPENDENCIES = host-util-linux host-popt - -define HOST_GPTFDISK_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) sgdisk -endef - -define HOST_GPTFDISK_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/sgdisk $(HOST_DIR)/sbin/sgdisk -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/gqrx/Config.in b/buildroot-2021.05/package/gqrx/Config.in deleted file mode 100644 index af4d6938..00000000 --- a/buildroot-2021.05/package/gqrx/Config.in +++ /dev/null @@ -1,51 +0,0 @@ -comment "gqrx needs a toolchain w/ C++, threads, wchar, dynamic library" - depends on BR2_USE_MMU # gnuradio - depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR || !BR2_STATIC_LIBS - -comment "gqrx needs qt5" - depends on !BR2_PACKAGE_QT5 - -comment "gqrx needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_GQRX - bool "gqrx" - depends on BR2_USE_MMU # gnuradio - depends on !BR2_STATIC_LIBS # gnuradio - depends on BR2_INSTALL_LIBSTDCPP # boost - depends on BR2_TOOLCHAIN_HAS_THREADS # boost - depends on BR2_USE_WCHAR # boost - depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_PACKAGE_QT5 - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # gnuradio -> boost-atomic - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # gnuradio - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_GNURADIO - select BR2_PACKAGE_GNURADIO_ANALOG - select BR2_PACKAGE_GNURADIO_AUDIO - select BR2_PACKAGE_GNURADIO_BLOCKS - select BR2_PACKAGE_GNURADIO_DIGITAL - select BR2_PACKAGE_GNURADIO_FFT - select BR2_PACKAGE_GNURADIO_FILTER - select BR2_PACKAGE_GR_OSMOSDR - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_QT5BASE_WIDGETS - select BR2_PACKAGE_QT5SVG - help - Gqrx is an open source software defined radio (SDR) receiver - implemented using GNU Radio and the Qt GUI - toolkit. Currently it works on Linux and Mac with hardware - supported by gr-osmosdr, including Funcube Dongle, RTL-SDR, - Airspy, HackRF, BladeRF, RFSpace, USRP and SoapySDR. - - Gqrx can operate as an AM/FM/SSB receiver with audio output - or as an FFT-only instrument. There are also various hooks - for interacting with external application using network - sockets. - - http://gqrx.dk/ diff --git a/buildroot-2021.05/package/gqrx/gqrx.hash b/buildroot-2021.05/package/gqrx/gqrx.hash deleted file mode 100644 index bfa4411c..00000000 --- a/buildroot-2021.05/package/gqrx/gqrx.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated: -sha256 ff3a9e350f730823dec8edb38cddfd72f602c909cc4ac39082c445eb66f88d96 gqrx-2.13.2.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 7cc22ce5ee61df62e427ec43b8130de149edee3cafb5af4f18d59b6dc3958faf LICENSE-CTK diff --git a/buildroot-2021.05/package/gqrx/gqrx.mk b/buildroot-2021.05/package/gqrx/gqrx.mk deleted file mode 100644 index dd15db28..00000000 --- a/buildroot-2021.05/package/gqrx/gqrx.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# gqrx -# -################################################################################ - -GQRX_VERSION = 2.13.2 -GQRX_SITE = $(call github,csete,gqrx,v$(GQRX_VERSION)) -GQRX_LICENSE = GPL-3.0+, Apache-2.0 -GQRX_LICENSE_FILES = COPYING LICENSE-CTK -GQRX_DEPENDENCIES = boost gnuradio gr-osmosdr qt5base qt5svg - -GQRX_CONF_OPTS = -DLINUX_AUDIO_BACKEND=Gr-audio - -# gqrx can use __atomic builtins, so we need to link with -# libatomic when available -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -GQRX_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/granite/0001-meson-add-introspection-option.patch b/buildroot-2021.05/package/granite/0001-meson-add-introspection-option.patch deleted file mode 100644 index 4b32fb13..00000000 --- a/buildroot-2021.05/package/granite/0001-meson-add-introspection-option.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 4d5ddcdb9c03d4e829fe7080e497a00f0b379eff Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 14 Jun 2020 17:33:31 +0200 -Subject: [PATCH] meson: add introspection option - -This will allow the user to build granite without gobject-introspection - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/elementary/granite/pull/410] ---- - lib/meson.build | 38 ++++++++++++++++++++------------------ - meson_options.txt | 1 + - 2 files changed, 21 insertions(+), 18 deletions(-) - -diff --git a/lib/meson.build b/lib/meson.build -index a9fc4ed4..770feeb5 100644 ---- a/lib/meson.build -+++ b/lib/meson.build -@@ -98,24 +98,26 @@ install_data( - install_dir: include_dir - ) - --# typelib generation isn't automated yet --g_ir_compiler = find_program('g-ir-compiler') --custom_target( -- granite_typelib, -- command: [ -- g_ir_compiler, -- '--shared-library', -- '@PLAINNAME@', -- '--output', -- '@OUTPUT@', -- join_paths(meson.current_build_dir(), granite_gir), -- ], -- input: libgranite, -- output: granite_typelib, -- depends: libgranite, -- install: true, -- install_dir: join_paths(get_option('libdir'), 'girepository-1.0'), --) -+if get_option('introspection') -+ # typelib generation isn't automated yet -+ g_ir_compiler = find_program('g-ir-compiler') -+ custom_target( -+ granite_typelib, -+ command: [ -+ g_ir_compiler, -+ '--shared-library', -+ '@PLAINNAME@', -+ '--output', -+ '@OUTPUT@', -+ join_paths(meson.current_build_dir(), granite_gir), -+ ], -+ input: libgranite, -+ output: granite_typelib, -+ depends: libgranite, -+ install: true, -+ install_dir: join_paths(get_option('libdir'), 'girepository-1.0'), -+ ) -+endif - - libgranite_dep = declare_dependency( - link_with: libgranite, -diff --git a/meson_options.txt b/meson_options.txt -index 9d9f62e9..bd1a1d6f 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -1 +1,2 @@ - option('documentation', type: 'boolean', value: false, description: 'generate documentation with gtk-doc and valadoc') -+option('introspection', type: 'boolean', value: true, description: 'Whether to build introspection files') --- -2.26.2 - diff --git a/buildroot-2021.05/package/granite/Config.in b/buildroot-2021.05/package/granite/Config.in deleted file mode 100644 index 726bde1b..00000000 --- a/buildroot-2021.05/package/granite/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_GRANITE - bool "granite" - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - depends on BR2_PACKAGE_LIBGTK3 - select BR2_PACKAGE_LIBGEE - select BR2_PACKAGE_LIBGLIB2 - help - An extension to GTK+ that provides several useful widgets and - classes to ease application development. - - https://github.com/elementary/granite - -comment "granite needs libgtk3 and a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_LIBGTK3 || !BR2_USE_WCHAR \ - || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/granite/granite.hash b/buildroot-2021.05/package/granite/granite.hash deleted file mode 100644 index 5378b30c..00000000 --- a/buildroot-2021.05/package/granite/granite.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 8194031cac3b87d84a3fab9c30270485ce73f8b8ec23f26c9152b6859c8a18fd granite-5.4.0.tar.gz -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING diff --git a/buildroot-2021.05/package/granite/granite.mk b/buildroot-2021.05/package/granite/granite.mk deleted file mode 100644 index d5dd1fa1..00000000 --- a/buildroot-2021.05/package/granite/granite.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# granite -# -################################################################################ - -GRANITE_VERSION = 5.4.0 -GRANITE_SITE = $(call github,elementary,granite,$(GRANITE_VERSION)) -GRANITE_DEPENDENCIES = host-pkgconf host-vala libgee libglib2 libgtk3 -GRANITE_INSTALL_STAGING = YES -GRANITE_LICENSE = LGPL-3.0+ -GRANITE_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GRANITE_CONF_OPTS += -Dintrospection=true -GRANITE_DEPENDENCIES += gobject-introspection -else -GRANITE_CONF_OPTS += -Dintrospection=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/graphicsmagick/graphicsmagick.hash b/buildroot-2021.05/package/graphicsmagick/graphicsmagick.hash deleted file mode 100644 index 6ad5de9d..00000000 --- a/buildroot-2021.05/package/graphicsmagick/graphicsmagick.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 5d5b3fde759cdfc307aaf21df9ebd8c752e3f088bb051dd5df8aac7ba7338f46 GraphicsMagick-1.3.36.tar.xz -sha256 aed5bd8e28cbce601cbe2ca2267b663ccd63152965f2d5caea1311bf0039c325 Copyright.txt diff --git a/buildroot-2021.05/package/graphicsmagick/graphicsmagick.mk b/buildroot-2021.05/package/graphicsmagick/graphicsmagick.mk deleted file mode 100644 index 2a22936f..00000000 --- a/buildroot-2021.05/package/graphicsmagick/graphicsmagick.mk +++ /dev/null @@ -1,125 +0,0 @@ -################################################################################ -# -# graphicsmagick -# -################################################################################ - -GRAPHICSMAGICK_VERSION = 1.3.36 -GRAPHICSMAGICK_SOURCE = GraphicsMagick-$(GRAPHICSMAGICK_VERSION).tar.xz -GRAPHICSMAGICK_SITE = https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/$(GRAPHICSMAGICK_VERSION) -GRAPHICSMAGICK_LICENSE = MIT -GRAPHICSMAGICK_LICENSE_FILES = Copyright.txt -GRAPHICSMAGICK_CPE_ID_VENDOR = graphicsmagick - -GRAPHICSMAGICK_INSTALL_STAGING = YES -GRAPHICSMAGICK_CONFIG_SCRIPTS = GraphicsMagick-config GraphicsMagickWand-config - -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -GRAPHICSMAGICK_CONFIG_SCRIPTS += GraphicsMagick++-config -endif - -GRAPHICSMAGICK_CONF_OPTS = \ - --without-dps \ - --without-fpx \ - --without-jbig \ - --without-perl \ - --without-trio \ - --without-wmf \ - --without-x \ - --with-gs-font-dir=/usr/share/fonts/gs - -GRAPHICSMAGICK_DEPENDENCIES = host-pkgconf - -ifeq ($(BR2_TOOLCHAIN_HAS_OPENMP),y) -GRAPHICSMAGICK_CONF_OPTS += --enable-openmp -else -GRAPHICSMAGICK_CONF_OPTS += --disable-openmp -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -GRAPHICSMAGICK_CONF_OPTS += --with-ttf -GRAPHICSMAGICK_CONF_ENV += ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config -GRAPHICSMAGICK_DEPENDENCIES += freetype -else -GRAPHICSMAGICK_CONF_OPTS += --without-ttf -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -GRAPHICSMAGICK_CONF_OPTS += --with-jpeg -GRAPHICSMAGICK_DEPENDENCIES += jpeg -else -GRAPHICSMAGICK_CONF_OPTS += --without-jpeg -endif - -ifeq ($(BR2_PACKAGE_OPENJPEG),y) -GRAPHICSMAGICK_CONF_OPTS += --with-jp2 -GRAPHICSMAGICK_DEPENDENCIES += openjpeg -else -GRAPHICSMAGICK_CONF_OPTS += --without-jp2 -endif - -ifeq ($(BR2_PACKAGE_LCMS2),y) -GRAPHICSMAGICK_CONF_OPTS += --with-lcms2 -GRAPHICSMAGICK_DEPENDENCIES += lcms2 -else -GRAPHICSMAGICK_CONF_OPTS += --without-lcms2 -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -GRAPHICSMAGICK_CONF_OPTS += --with-png -GRAPHICSMAGICK_DEPENDENCIES += libpng -else -GRAPHICSMAGICK_CONF_OPTS += --without-png -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -GRAPHICSMAGICK_CONF_OPTS += --with-xml -GRAPHICSMAGICK_CONF_ENV += ac_cv_path_xml2_config=$(STAGING_DIR)/usr/bin/xml2-config -GRAPHICSMAGICK_DEPENDENCIES += libxml2 -else -GRAPHICSMAGICK_CONF_OPTS += --without-xml -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -GRAPHICSMAGICK_CONF_OPTS += --with-tiff -GRAPHICSMAGICK_DEPENDENCIES += tiff -else -GRAPHICSMAGICK_CONF_OPTS += --without-tiff -endif - -ifeq ($(BR2_PACKAGE_WEBP_MUX),y) -GRAPHICSMAGICK_CONF_OPTS += --with-webp -GRAPHICSMAGICK_DEPENDENCIES += webp -else -GRAPHICSMAGICK_CONF_OPTS += --without-webp -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -GRAPHICSMAGICK_CONF_OPTS += --with-lzma -GRAPHICSMAGICK_DEPENDENCIES += xz -else -GRAPHICSMAGICK_CONF_OPTS += --without-lzma -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -GRAPHICSMAGICK_CONF_OPTS += --with-zlib -GRAPHICSMAGICK_DEPENDENCIES += zlib -else -GRAPHICSMAGICK_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -GRAPHICSMAGICK_CONF_OPTS += --with-bzlib -GRAPHICSMAGICK_DEPENDENCIES += bzip2 -else -GRAPHICSMAGICK_CONF_OPTS += --without-bzlib -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -GRAPHICSMAGICK_CONF_OPTS += --with-zstd -GRAPHICSMAGICK_DEPENDENCIES += zstd -else -GRAPHICSMAGICK_CONF_OPTS += --without-zstd -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/grep/grep.hash b/buildroot-2021.05/package/grep/grep.hash deleted file mode 100644 index 9dfe2f2c..00000000 --- a/buildroot-2021.05/package/grep/grep.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking signature -# http://ftp.gnu.org/gnu/grep/grep-3.6.tar.xz.sig -# using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE -sha256 667e15e8afe189e93f9f21a7cd3a7b3f776202f417330b248c2ad4f997d9373e grep-3.6.tar.xz -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2021.05/package/grep/grep.mk b/buildroot-2021.05/package/grep/grep.mk deleted file mode 100644 index 27d204d4..00000000 --- a/buildroot-2021.05/package/grep/grep.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# grep -# -################################################################################ - -GREP_VERSION = 3.6 -GREP_SITE = $(BR2_GNU_MIRROR)/grep -GREP_SOURCE = grep-$(GREP_VERSION).tar.xz -GREP_LICENSE = GPL-3.0+ -GREP_LICENSE_FILES = COPYING -GREP_CPE_ID_VENDOR = gnu -GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -# install into /bin like busybox grep -GREP_CONF_OPTS = --exec-prefix=/ - -ifeq ($(BR2_SYSTEM_BIN_SH_NONE),y) - -define GREP_REMOVE_ALIAS - $(RM) $(TARGET_DIR)/bin/[fe]grep -endef -GREP_POST_INSTALL_TARGET_HOOKS += GREP_REMOVE_ALIAS - -else - -# ensure egrep/fgrep shell wrappers use #!/bin/sh -define GREP_FIXUP_SHEBANG - $(SED) 's/bash$$/sh/' $(TARGET_DIR)/bin/[fe]grep -endef -GREP_POST_INSTALL_TARGET_HOOKS += GREP_FIXUP_SHEBANG - -endif - -# link with iconv if enabled -ifeq ($(BR2_PACKAGE_LIBICONV),y) -GREP_CONF_ENV += LIBS=-liconv -GREP_DEPENDENCIES += libiconv -endif - -# link with pcre if enabled -ifeq ($(BR2_PACKAGE_PCRE),y) -GREP_CONF_OPTS += --enable-perl-regexp -GREP_DEPENDENCIES += pcre -else -GREP_CONF_OPTS += --disable-perl-regexp -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/grpc/0001-CMakeLists.txt-fix-cross-compilation-with-gRPC_BUILD.patch b/buildroot-2021.05/package/grpc/0001-CMakeLists.txt-fix-cross-compilation-with-gRPC_BUILD.patch deleted file mode 100644 index 553be8cb..00000000 --- a/buildroot-2021.05/package/grpc/0001-CMakeLists.txt-fix-cross-compilation-with-gRPC_BUILD.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 268815d74ea34856c686dce9e9c23106b51f2782 Mon Sep 17 00:00:00 2001 -From: Thomas De Schampheleire -Date: Tue, 2 Feb 2021 21:46:29 +0100 -Subject: [PATCH] CMakeLists.txt: fix cross-compilation with - gRPC_BUILD_GRPC_CPP_PLUGIN=OFF - -When cross-compiling gRPC, a native version of 'grpc_cpp_plugin' is searched -in the environment. For most use cases, a cross version of this file is not -needed. - -However, when cross-building with -DgRPC_BUILD_GRPC_CPP_PLUGIN=OFF, there -are some build errors, for example: - -make[3]: *** No rule to make target 'grpc_cpp_plugin', needed by 'gens/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc'. Stop. - -This is because there is still a hard dependency on 'grpc_cpp_plugin' for -these targets, not taking into account the cross-compilation case. - -Fix by depending on the variable gRPC_CPP_PLUGIN, which is set correctly for -either cross or native case. - -Signed-off-by: Thomas De Schampheleire - ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 6bdae22083..08aea609f7 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -317,7 +317,7 @@ function(protobuf_generate_grpc_cpp) - --plugin=protoc-gen-grpc=${_gRPC_CPP_PLUGIN} - ${_protobuf_include_path} - ${REL_FIL} -- DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} grpc_cpp_plugin -+ DEPENDS ${ABS_FIL} ${_gRPC_PROTOBUF_PROTOC} ${_gRPC_CPP_PLUGIN} - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - COMMENT "Running gRPC C++ protocol buffer compiler on ${FIL}" - VERBATIM) --- -2.26.2 - diff --git a/buildroot-2021.05/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch b/buildroot-2021.05/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch deleted file mode 100644 index 32493ac1..00000000 --- a/buildroot-2021.05/package/grpc/0002-Properly-detect-the-availability-of-pthread_setname_.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 0dfb289a3b362b082ac3608d887e42f09dadc0d2 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Mon, 31 Dec 2018 16:22:07 +0100 -Subject: [PATCH] Properly detect the availability of pthread_setname_np() - -This commit adds a CMake check for the availability of -pthread_setname_np(), and only uses it on Linux when available. - -Indeed, some C libraries, such as uClibc, do not provide this -non-POSIX function in all cases. - -Upstream: https://github.com/grpc/grpc/pull/17610 -Signed-off-by: Thomas Petazzoni ---- - CMakeLists.txt | 6 ++++++ - include/grpc/impl/codegen/port_platform.h | 2 ++ - 2 files changed, 8 insertions(+) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 45c2fcb..0b2be4f 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -208,6 +208,12 @@ if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE) - endif() - list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") - -+include(CheckSymbolExists) -+check_symbol_exists(pthread_setname_np pthread.h HAVE_PTHREAD_SETNAME_NP) -+if (HAVE_PTHREAD_SETNAME_NP) -+ add_definitions(-DHAVE_PTHREAD_SETNAME_NP) -+endif () -+ - if(MSVC) - include(cmake/msvc_static_runtime.cmake) - add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) -diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h -index 4f213ff..55ecd9d 100644 ---- a/include/grpc/impl/codegen/port_platform.h -+++ b/include/grpc/impl/codegen/port_platform.h -@@ -168,7 +168,9 @@ - #endif /* _LP64 */ - #ifdef __GLIBC__ - #define GPR_POSIX_CRASH_HANDLER 1 -+#if defined(HAVE_PTHREAD_SETNAME_NP) - #define GPR_LINUX_PTHREAD_NAME 1 -+#endif /* HAVE_PTHREAD_SETNAME_NP */ - #include - #else /* musl libc */ - #define GPR_MUSL_LIBC_COMPAT 1 --- -2.26.63 diff --git a/buildroot-2021.05/package/grpc/0003-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch b/buildroot-2021.05/package/grpc/0003-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch deleted file mode 100644 index ad648044..00000000 --- a/buildroot-2021.05/package/grpc/0003-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch +++ /dev/null @@ -1,34 +0,0 @@ -From be030314805137cd63b46ea6eaa702b608669910 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 2 Jun 2019 17:45:47 +0200 -Subject: [PATCH] wrap_memcpy.cc: add GPR_DISABLE_WRAPPED_MEMCPY - -Add GPR_DISABLE_WRAPPED_MEMCPY to allow the user to disable wrapped -memcpy. This will fix build on x86_64 on musl/uclibc without changing -the cpu behavior. - -Fixes: - - http://autobuild.buildroot.org/results/20d6f2489a4e291a53bd514da66105eb607e1014 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/grpc/grpc/pull/19207] ---- - src/core/lib/gpr/wrap_memcpy.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/core/lib/gpr/wrap_memcpy.cc b/src/core/lib/gpr/wrap_memcpy.cc -index 9b8608e056..38b76acf95 100644 ---- a/src/core/lib/gpr/wrap_memcpy.cc -+++ b/src/core/lib/gpr/wrap_memcpy.cc -@@ -28,7 +28,7 @@ - - extern "C" { - #ifdef __linux__ --#if defined(__x86_64__) && !defined(GPR_MUSL_LIBC_COMPAT) -+#if defined(__x86_64__) && !defined(GPR_MUSL_LIBC_COMPAT) && !defined(GPR_DISABLE_WRAPPED_MEMCPY) - __asm__(".symver memcpy,memcpy@GLIBC_2.2.5"); - void* __wrap_memcpy(void* destination, const void* source, size_t num) { - return memcpy(destination, source, num); --- -2.20.1 - diff --git a/buildroot-2021.05/package/grpc/Config.in b/buildroot-2021.05/package/grpc/Config.in deleted file mode 100644 index d1bf0d07..00000000 --- a/buildroot-2021.05/package/grpc/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -config BR2_PACKAGE_GRPC - bool "grpc" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2 - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp - depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libabseil-cpp - depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp - depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_LIBABSEIL_CPP - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PROTOBUF - select BR2_PACKAGE_RE2 - select BR2_PACKAGE_ZLIB - help - A language-neutral, platform-neutral, open source, remote - procedure call (RPC) system initially developed at Google. - - http://github.com/grpc/grpc - -comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9" - depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ - || !BR2_HOST_GCC_AT_LEAST_4_9 - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS diff --git a/buildroot-2021.05/package/grpc/grpc.hash b/buildroot-2021.05/package/grpc/grpc.hash deleted file mode 100644 index 8189f738..00000000 --- a/buildroot-2021.05/package/grpc/grpc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 c2dc8e876ea12052d6dd16704492fd8921df8c6d38c70c4708da332cf116df22 grpc-1.37.0.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2021.05/package/grpc/grpc.mk b/buildroot-2021.05/package/grpc/grpc.mk deleted file mode 100644 index ee8dc38e..00000000 --- a/buildroot-2021.05/package/grpc/grpc.mk +++ /dev/null @@ -1,83 +0,0 @@ -################################################################################ -# -# grpc -# -################################################################################ - -GRPC_VERSION = 1.37.0 -GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) -GRPC_LICENSE = Apache-2.0 -GRPC_LICENSE_FILES = LICENSE -GRPC_CPE_ID_VENDOR = grpc - -GRPC_INSTALL_STAGING = YES - -# Need to use host grpc_cpp_plugin during cross compilation. -GRPC_DEPENDENCIES = c-ares host-grpc libabseil-cpp openssl protobuf re2 zlib -HOST_GRPC_DEPENDENCIES = host-c-ares host-libabseil-cpp host-openssl host-protobuf \ - host-re2 host-zlib - -# gRPC_CARES_PROVIDER=package won't work because it requires c-ares to have -# installed a cmake config file, but buildroot uses c-ares' autotools build, -# which doesn't do this. These CARES settings trick the gRPC cmake code into -# not looking for c-ares at all and yet still linking with the library. -GRPC_CONF_OPTS = \ - -DgRPC_ABSL_PROVIDER=package \ - -D_gRPC_CARES_LIBRARIES=cares \ - -DgRPC_CARES_PROVIDER=none \ - -DgRPC_PROTOBUF_PROVIDER=package \ - -DgRPC_RE2_PROVIDER=package \ - -DgRPC_SSL_PROVIDER=package \ - -DgRPC_ZLIB_PROVIDER=package \ - -DgRPC_BUILD_GRPC_CPP_PLUGIN=OFF \ - -DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF \ - -DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF \ - -DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF \ - -DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF \ - -DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF \ - -DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF - -# grpc can use __atomic builtins, so we need to link with -# libatomic when available -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -GRPC_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -endif - -GRPC_CFLAGS = $(TARGET_CFLAGS) -GRPC_CXXFLAGS = $(TARGET_CXXFLAGS) - -# Set GPR_DISABLE_WRAPPED_MEMCPY otherwise build will fail on x86_64 with uclibc -# because grpc tries to link with memcpy@GLIBC_2.2.5 -ifeq ($(BR2_x86_64):$(BR2_TOOLCHAIN_USES_GLIBC),y:) -GRPC_CFLAGS += -DGPR_DISABLE_WRAPPED_MEMCPY -GRPC_CXXFLAGS += -DGPR_DISABLE_WRAPPED_MEMCPY -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -GRPC_CFLAGS += -O0 -GRPC_CXXFLAGS += -O0 -endif - -# Toolchains older than gcc5 will fail to compile with -0s due to: -# error: failure memory model cannot be stronger than success memory model for -# '__atomic_compare_exchange', so we use -O2 in these cases -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5):$(BR2_OPTIMIZE_S),:y) -GRPC_CFLAGS += -O2 -GRPC_CXXFLAGS += -O2 -endif - -GRPC_CONF_OPTS += \ - -DCMAKE_C_FLAGS="$(GRPC_CFLAGS)" \ - -DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)" - -HOST_GRPC_CONF_OPTS = \ - -DgRPC_ABSL_PROVIDER=package \ - -D_gRPC_CARES_LIBRARIES=cares \ - -DgRPC_CARES_PROVIDER=none \ - -DgRPC_PROTOBUF_PROVIDER=package \ - -DgRPC_RE2_PROVIDER=package \ - -DgRPC_SSL_PROVIDER=package \ - -DgRPC_ZLIB_PROVIDER=package - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/gssdp/gssdp.hash b/buildroot-2021.05/package/gssdp/gssdp.hash deleted file mode 100644 index f31f2194..00000000 --- a/buildroot-2021.05/package/gssdp/gssdp.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: http://ftp.gnome.org/pub/gnome/sources/gssdp/1.2/gssdp-1.2.3.sha256sum: -sha256 a263dcb6730e3b3dc4bbbff80cf3fab4cd364021981d419db6dd5a8e148aa7e8 gssdp-1.2.3.tar.xz - -# Hash for license file: -sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/buildroot-2021.05/package/gssdp/gssdp.mk b/buildroot-2021.05/package/gssdp/gssdp.mk deleted file mode 100644 index 02b10d96..00000000 --- a/buildroot-2021.05/package/gssdp/gssdp.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# gssdp -# -################################################################################ - -GSSDP_VERSION_MAJOR = 1.2 -GSSDP_VERSION = $(GSSDP_VERSION_MAJOR).3 -GSSDP_SOURCE = gssdp-$(GSSDP_VERSION).tar.xz -GSSDP_SITE = http://ftp.gnome.org/pub/gnome/sources/gssdp/$(GSSDP_VERSION_MAJOR) -GSSDP_LICENSE = LGPL-2.0+ -GSSDP_LICENSE_FILES = COPYING -GSSDP_INSTALL_STAGING = YES -GSSDP_DEPENDENCIES = host-pkgconf libglib2 libsoup -GSSDP_CONF_OPTS = -Dexamples=false - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GSSDP_CONF_OPTS += -Dintrospection=true -Dvapi=true -GSSDP_DEPENDENCIES += host-vala gobject-introspection -else -GSSDP_CONF_OPTS += -Dintrospection=false -Dvapi=false -endif - -ifeq ($(BR2_PACKAGE_LIBGTK3),y) -GSSDP_DEPENDENCIES += libgtk3 -GSSDP_CONF_OPTS += -Dsniffer=true -else -GSSDP_CONF_OPTS += -Dsniffer=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/Config.in b/buildroot-2021.05/package/gstreamer1/Config.in deleted file mode 100644 index 4a811133..00000000 --- a/buildroot-2021.05/package/gstreamer1/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -# Gstreamer 1.x & Plugins -source "package/gstreamer1/gstreamer1/Config.in" - -if BR2_PACKAGE_GSTREAMER1 -source "package/gstreamer1/gstreamer1-mm/Config.in" -source "package/gstreamer1/gst1-plugins-base/Config.in" -source "package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in" -source "package/gstreamer1/gst1-plugins-good/Config.in" -source "package/gstreamer1/gst1-plugins-bad/Config.in" -source "package/gstreamer1/gst1-plugins-ugly/Config.in" -source "package/gstreamer1/gst1-devtools/Config.in" -source "package/gstreamer1/gst1-imx/Config.in" -source "package/gstreamer1/gst1-interpipe/Config.in" -source "package/gstreamer1/gst1-libav/Config.in" -source "package/gstreamer1/gst1-python/Config.in" -source "package/gstreamer1/gst1-rtsp-server/Config.in" -source "package/gstreamer1/gst1-shark/Config.in" -source "package/gstreamer1/gst1-vaapi/Config.in" -source "package/gstreamer1/gst-omx/Config.in" -source "package/gstreamer1/gstreamer1-editing-services/Config.in" -endif diff --git a/buildroot-2021.05/package/gstreamer1/gst-omx/gst-omx.hash b/buildroot-2021.05/package/gstreamer1/gst-omx/gst-omx.hash deleted file mode 100644 index ceeaf4e5..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst-omx/gst-omx.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.18.4.tar.xz.sha256sum -sha256 e35051cf891eb2f31d6fcf176ff37d985f97f33874ac31b0b3ad3b5b95035043 gst-omx-1.18.4.tar.xz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst-omx/gst-omx.mk b/buildroot-2021.05/package/gstreamer1/gst-omx/gst-omx.mk deleted file mode 100644 index 36a05be6..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst-omx/gst-omx.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# gst-omx -# -################################################################################ - -GST_OMX_VERSION = 1.18.4 -GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz -GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx - -GST_OMX_LICENSE = LGPL-2.1 -GST_OMX_LICENSE_FILES = COPYING - -GST_OMX_CONF_OPTS = \ - -Dexamples=disabled \ - -Dtests=disabled \ - -Dtools=disabled \ - -Ddoc=disabled - -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) -GST_OMX_VARIANT = rpi -GST_OMX_CONF_OPTS += -Dheader_path=$(STAGING_DIR)/usr/include/IL -else -GST_OMX_VARIANT = generic -endif - -GST_OMX_CONF_OPTS += -Dtarget=$(GST_OMX_VARIANT) - -GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base libopenmax - -# adjust library paths to where buildroot installs them -define GST_OMX_FIXUP_CONFIG_PATHS - find $(@D)/config -name gstomx.conf | \ - xargs $(SED) 's|/usr/local|/usr|g' -e 's|/opt/vc|/usr|g' -endef - -GST_OMX_POST_PATCH_HOOKS += GST_OMX_FIXUP_CONFIG_PATHS - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-devtools/Config.in b/buildroot-2021.05/package/gstreamer1/gst1-devtools/Config.in deleted file mode 100644 index 55cf25d5..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-devtools/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_GST1_DEVTOOLS - bool "gst1-devtools" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_GSTREAMER1_CHECK - select BR2_PACKAGE_GST1_PLUGINS_BASE - select BR2_PACKAGE_JSON_GLIB - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 - # cairo is autodetected but needs PNG support - select BR2_PACKAGE_CAIRO_PNG if BR2_PACKAGE_CAIRO - help - GStreamer development tools (gst-validate). - - https://gstreamer.freedesktop.org - -comment "gst1-devtools depends on python" - depends on !BR2_PACKAGE_PYTHON - depends on !BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/buildroot-2021.05/package/gstreamer1/gst1-devtools/gst1-devtools.hash deleted file mode 100644 index 4c0c5b5b..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-devtools/gst1-devtools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.18.4.tar.xz.sha256sum -sha256 ffbd194c40912cb5e7fca2863648bf9dd8257b7af97d3a60c4fcd4efd8526ccf gst-devtools-1.18.4.tar.xz -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/buildroot-2021.05/package/gstreamer1/gst1-devtools/gst1-devtools.mk deleted file mode 100644 index 5a10e4fa..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-devtools/gst1-devtools.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# gst1-devtools -# -################################################################################ - -GST1_DEVTOOLS_VERSION = 1.18.4 -GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz -GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools -GST1_DEVTOOLS_LICENSE = LGPL-2.1+ -GST1_DEVTOOLS_LICENSE_FILES = validate/COPYING -GST1_DEVTOOLS_INSTALL_STAGING = YES - -GST1_DEVTOOLS_DEPENDENCIES = \ - gstreamer1 \ - gst1-plugins-base \ - json-glib \ - $(if $(BR2_PACKAGE_CAIRO),cairo) - -ifeq ($(BR2_PACKAGE_PYTHON3),y) -GST1_DEVTOOLS_DEPENDENCIES += host-python3 python3 -else -GST1_DEVTOOLS_DEPENDENCIES += host-python python -endif - -ifeq ($(BR2_PACKAGE_GST1_RTSP_SERVER),y) -GST1_DEVTOOLS_DEPENDENCIES += gst1-rtsp-server -endif - -GST1_DEVTOOLS_CONF_OPTS = \ - -Dvalidate=enabled \ - -Ddebug_viewer=disabled \ - -Dintrospection=disabled \ - -Dtests=disabled \ - -Ddoc=disabled - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-imx/Config.in b/buildroot-2021.05/package/gstreamer1/gst1-imx/Config.in deleted file mode 100644 index 7b46233b..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-imx/Config.in +++ /dev/null @@ -1,98 +0,0 @@ -comment "gst1-imx needs a toolchain w/ dynamic library" - depends on BR2_arm - depends on BR2_STATIC_LIBS - -menuconfig BR2_PACKAGE_GST1_IMX - bool "gst1-imx" - depends on BR2_arm # Only relevant for i.MX - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_GST1_PLUGINS_BASE - help - This is a set of GStreamer 1.0 plugins for plugins for - Freescale's i.MX platforms, which make use of the i.MX - multimedia capabilities. - - https://github.com/Freescale/gstreamer-imx - -if BR2_PACKAGE_GST1_IMX - -config BR2_PACKAGE_GST1_IMX_EGLVISINK - bool "imxeglvivsink" - depends on BR2_PACKAGE_IMX_GPU_VIV - help - Elements leveraging the 3D GPU - -comment "imxeglvivsink needs the Vivante 3D libraries" - depends on !BR2_PACKAGE_IMX_GPU_VIV - -config BR2_PACKAGE_GST1_IMX_G2D - bool "imxg2d" - depends on BR2_PACKAGE_IMX_GPU_G2D - help - Elements leveraging the 2D GPU - -comment "imxg2d needs the G2D libraries" - depends on !BR2_PACKAGE_IMX_GPU_G2D - -config BR2_PACKAGE_GST1_IMX_IPU - bool "imxipu" - depends on BR2_LINUX_KERNEL - help - Elements leveraging the IPU - -comment "imxipu needs an imx-specific Linux kernel to be built" - depends on !BR2_LINUX_KERNEL - -config BR2_PACKAGE_GST1_IMX_MP3ENCODER - bool "mp3encoder" - depends on BR2_PACKAGE_IMX_CODEC - help - Elements for MP3 encoding - -comment "mp3encoder needs the i.MX codec binaries" - depends on !BR2_PACKAGE_IMX_CODEC - -config BR2_PACKAGE_GST1_IMX_PXP - bool "imxpxp" - depends on BR2_LINUX_KERNEL - help - Elements leveraging the PXP - -comment "imxpxp needs an imx-specific Linux kernel to be built" - depends on !BR2_LINUX_KERNEL - -config BR2_PACKAGE_GST1_IMX_UNIAUDIODEC - bool "uniaudiodec" - depends on BR2_PACKAGE_IMX_CODEC - help - Elements for audio decoding - -comment "uniaudiodec needs the i.MX codec binaries" - depends on !BR2_PACKAGE_IMX_CODEC - -config BR2_PACKAGE_GST1_IMX_VPU - bool "imxvpu" - depends on BR2_PACKAGE_LIBIMXVPUAPI - help - Elements leveraging the VPU - -comment "imxvpu needs the VPU imxvpuapi library" - depends on !BR2_PACKAGE_LIBIMXVPUAPI - -config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC - bool "imxv4l2videosrc" - select BR2_PACKAGE_GST1_PLUGINS_BAD - help - Elements for V4L2 capture - -config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK - bool "imxv4l2videosink" - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT - select BR2_PACKAGE_GST1_PLUGINS_BAD - help - Elements for V4L2 output - -comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 - -endif diff --git a/buildroot-2021.05/package/gstreamer1/gst1-interpipe/gst1-interpipe.hash b/buildroot-2021.05/package/gstreamer1/gst1-interpipe/gst1-interpipe.hash deleted file mode 100644 index 124a2e40..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-interpipe/gst1-interpipe.hash +++ /dev/null @@ -1,5 +0,0 @@ -# locally computed hash -sha256 2fd86aebfe03849a19e9d02db3a8f97bf6f77de835d36ae84282d6f734df323c gst1-interpipe-1.1.4-br1.tar.gz - -# Hashes for license files: -sha256 16d7caa6cabbfd0ca47e064a7b48cb446d013e84ca88c854d6470851752136d5 COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-interpipe/gst1-interpipe.mk b/buildroot-2021.05/package/gstreamer1/gst1-interpipe/gst1-interpipe.mk deleted file mode 100644 index eb1e6dd5..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-interpipe/gst1-interpipe.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# gst1-interpipe -# -################################################################################ - -GST1_INTERPIPE_VERSION = 1.1.4 -GST1_INTERPIPE_SITE = https://github.com/RidgeRun/gst-interpipe -GST1_INTERPIPE_SITE_METHOD = git -# fetch gst-interpipe/common sub module -GST1_INTERPIPE_GIT_SUBMODULES = YES - -GST1_INTERPIPE_LICENSE = LGPL-2.1 -GST1_INTERPIPE_LICENSE_FILES = COPYING - -GST1_INTERPIPE_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base - -GST1_INTERPIPE_CONF_OPTS = \ - -Dtests=disabled \ - -Denable-gtk-doc=false - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-libav/gst1-libav.hash b/buildroot-2021.05/package/gstreamer1/gst1-libav/gst1-libav.hash deleted file mode 100644 index 632c2f86..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-libav/gst1-libav.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.18.4.tar.xz.sha256sum -sha256 344a463badca216c2cef6ee36f9510c190862bdee48dc4591c0a430df7e8c396 gst-libav-1.18.4.tar.xz -sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-libav/gst1-libav.mk b/buildroot-2021.05/package/gstreamer1/gst1-libav/gst1-libav.mk deleted file mode 100644 index 8ae5b87b..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-libav/gst1-libav.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# gst1-libav -# -################################################################################ - -GST1_LIBAV_VERSION = 1.18.4 -GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz -GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav -GST1_LIBAV_LICENSE = LGPL-2.0+ -GST1_LIBAV_LICENSE_FILES = COPYING -GST1_LIBAV_DEPENDENCIES = host-pkgconf ffmpeg gstreamer1 gst1-plugins-base -GST1_LIBAV_CONF_OPTS = -Ddoc=disabled - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/Config.in b/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/Config.in deleted file mode 100644 index 628a9df4..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/Config.in +++ /dev/null @@ -1,686 +0,0 @@ -menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD - bool "gst1-plugins-bad" - select BR2_PACKAGE_GST1_PLUGINS_BASE - help - A set of plug-ins for GStreamer that may be of poor quality - or lacking some features. - - https://gstreamer.freedesktop.org/ - -if BR2_PACKAGE_GST1_PLUGINS_BAD - -comment "dependency-less plugins" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP - bool "accurip" - help - Accurip plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC - bool "adpcmdec" - help - ADPCM decoder - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC - bool "adpcmenc" - help - ADPCM encoder - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF - bool "aiff" - help - Create and parse Audio interchange File Format (AIFF) files - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX - bool "asfmux" - help - ASF Muxer Plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOBUFFERSPLIT - bool "audiobuffersplit" - help - Audio buffersplit plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD - bool "audiofxbad" - help - Audio filters plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOLATENCY - bool "audiolatency" - help - Audio latency plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXMATRIX - bool "audiomixmatrix" - help - Audio N:M mixer plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS - bool "audiovisualizers" - help - Creates video visualizations of audio input - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT - bool "autoconvert" - help - Selects convertor element based on caps - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER - bool "bayer" - help - Elements to convert Bayer images - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2 - bool "camerabin2" - help - Take image snapshots and record movies from camera - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS - bool "coloreffects" - help - Color Look-up Table filters - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS - bool "debugutils" - help - Collection of elements that may or may not be useful for - debugging - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBENC - bool "dvbsubenc" - help - DVB subpicture encoding support - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY - bool "dvbsuboverlay" - help - DVB subtitle renderer plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU - bool "dvdspu" - help - DVD Sub-picture Overlay element - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY - bool "faceoverlay" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL - bool "festival" - help - Synthesizes plain text into audio - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS - bool "fieldanalysis" - help - Video field analysis - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB - bool "freeverb" - help - Reverberation/room effect - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R - bool "frei0r" - help - frei0r plugin library - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS - bool "gaudieffects" - help - Gaudi video effects - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM - bool "geometrictransform" - help - Various geometric image transform elements - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP - bool "gdp" - help - Payload/depayload GDP packets - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG - bool "id3tag" - help - ID3 v1 and v2 muxing plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER - bool "inter" - help - plugin for inter-pipeline communication - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE - bool "interlace" - help - Create an interlaced video stream - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE - bool "ivfparse" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC - bool "ivtc" - help - Inverse Telecine plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR - bool "jp2kdecimator" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT - bool "jpegformat" - help - JPEG interchange format plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB - bool "librfb" - help - Connects to a VNC server and decodes RFB stream - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI - bool "midi" - help - MIDI plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX - bool "mpegdemux" - help - MPEG-PS demuxer - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX - bool "mpegtsdemux" - help - MPEG TS demuxer - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX - bool "mpegtsmux" - help - MPEG-TS muxer - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX - bool "mpegpsmux" - help - MPEG-PS muxer - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF - bool "mxf" - help - MXF plugin library - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NETSIM - bool "netsim" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ONVIF - bool "onvif" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE - bool "pcapparse" - help - Element parsing raw pcap streams - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM - bool "pnm" - help - PNM plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PROXY - bool "proxy" - help - Proxy plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE - bool "rawparse" - help - Parses byte streams into raw frames - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE - bool "removesilence" - help - Removes silence from an audio stream - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RIST - bool "rist" - help - RIST streaming - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP2 - bool "rtmp2" - help - RTMP sink/source (rtmp2sink, rtmp2src) - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP2 - bool "rtp" - help - RTP (rtpsrc/rtpsink) - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP - bool "rtmp" - select BR2_PACKAGE_RTMPDUMP - help - RTMP plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP - bool "sdp" - help - configure streaming sessions using SDP - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP - bool "segmentclip" - help - Segment clip elements - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN - bool "siren" - help - Siren encoder/decoder/payloader/depayloader plugins - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH - bool "smooth" - help - Apply a smooth filter to an image - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED - bool "speed" - help - Set speed/pitch on audio/raw streams (resampler) - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC - bool "subenc" - help - subtitle encoders - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SWITCHBIN - bool "switchbin" - help - Switching between paths based on input caps - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TIMECODE - bool "timecode" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS - bool "videofilters" - help - Video filters in gst-plugins-bad - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFRAME_AUDIOLEVEL - bool "videoframe_audiolevel" - help - videoframe_audiolevel - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS - bool "videoparsers" - help - videoparsers - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL - bool "videosignal" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC - bool "vmnc" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M - bool "y4m" - help - Demuxes/decodes YUV4MPEG streams - -comment "plugins with external dependencies" - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER - bool "assrender" - depends on BR2_INSTALL_LIBSTDCPP # libass -> harfbuzz - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libass -> harfbuzz - select BR2_PACKAGE_LIBASS - -comment "assrender plugin needs a toolchain w/ C++, gcc => 4.8" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ - bool "bluez" - depends on BR2_USE_WCHAR # bluez5_utils -> libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, libglib2 - depends on BR2_USE_MMU # bluez5_utils -> dbus - depends on !BR2_STATIC_LIBS # bluez5_utils -> uses dlfcn - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils - select BR2_PACKAGE_BLUEZ5_UTILS - help - Bluetooth audio A2DP/AVDTP sink, AVDTP source plugin - -comment "bluez plugin needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_USE_MMU - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2 - bool "bz2" - select BR2_PACKAGE_BZIP2 - help - Compress or decompress streams - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL - bool "curl" - select BR2_PACKAGE_LIBCURL - help - libcurl-based elements - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH - bool "dash" - select BR2_PACKAGE_LIBXML2 - help - DASH demuxer plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK - bool "decklink" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS # - help - Blackmagic Decklink plugin - -comment "decklink needs a toolchain w/ C++, dynamic library" - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB - bool "directfb" - default y - depends on BR2_PACKAGE_DIRECTFB - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB - bool "dvb" - # FEC_2_5 / QAM_4_NR definitions - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 - select BR2_PACKAGE_DTV_SCAN_TABLES - help - DVB elements - -comment "dvb needs a toolchain w/ headers >= 3.7" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD - bool "faad" - select BR2_PACKAGE_FAAD2 - help - Free AAC Decoder (FAAD) - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV - bool "fbdev" - help - Linux framebuffer video sink - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC - bool "fdk-aac" - depends on BR2_PACKAGE_FDK_AAC_ARCH_SUPPORTS - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_FDK_AAC - help - MPEG AAC encoder/decoder - -comment "fdk-aac needs a toolchain w/ C++" - depends on BR2_PACKAGE_FDK_AAC_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH - bool "fluidsynth" - depends on !BR2_STATIC_LIBS # fluidsynth - depends on BR2_USE_WCHAR # fluidsynth - depends on BR2_TOOLCHAIN_HAS_THREADS # fluidsynth - depends on BR2_USE_MMU # fluidsynth - select BR2_PACKAGE_FLUIDSYNTH - help - Fluidsynth MIDI decoder plugin - -comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL - bool "gl" - default y - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL - -comment "gl needs the gst1-plugins-base opengl library" - depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS - bool "hls" - select BR2_PACKAGE_NETTLE if !(BR2_PACKAGE_LIBGCRYPT || BR2_PACKAGE_OPENSSL) - help - Fragmented streaming plugins - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS - bool "kmssink" - depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm -> libpthread-stubs - select BR2_PACKAGE_LIBDRM - help - KMS video sink - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS - bool "libmms" - depends on BR2_USE_WCHAR # libmms -> libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libmms -> libglib2 - select BR2_PACKAGE_LIBMMS - help - Microsoft Multi Media Server streaming protocol support - -comment "libmms needs a toolchain w/ wchar, threads" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS - bool "dtls" - select BR2_PACKAGE_OPENSSL - help - DTLS plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTML - bool "ttml" - depends on BR2_USE_WCHAR # pango -> glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> glib2 - depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_PANGO - help - Timed Text Markup Language (TTML) subtitle plugin - -comment "ttml needs a toolchain w/ wchar, threads, C++" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC - bool "mpeg2enc" - depends on BR2_USE_MMU # fork - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBMPEG2 - select BR2_PACKAGE_MJPEGTOOLS - help - High-quality MPEG-1/2 video encoder - -comment "mpeg2enc needs a toolchain w/ threads, C++" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK - bool "musepack" - select BR2_PACKAGE_MUSEPACK - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON - bool "neon" - select BR2_PACKAGE_NEON - help - lib neon http client src - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL - bool "openal" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_PAKCAGE_OPENAL_ARCH_SUPPORTS - select BR2_PACKAGE_OPENAL - -comment "openal plugin needs a toolchain w/ NPTL, C++, gcc >= 4.9" - depends on BR2_PAKCAGE_OPENAL_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \ - || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264 - bool "openh264" - depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS - depends on BR2_INSTALL_LIBSTDCPP # libopenh264 - depends on !BR2_STATIC_LIBS # libopenh264 - depends on BR2_TOOLCHAIN_HAS_THREADS # libopenh264 - select BR2_PACKAGE_LIBOPENH264 - help - OpenH264 based encoding/decoding plugin - -comment "openh264 plugin needs a toolchain w/ C++, dynamic library, threads" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS - depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG - bool "openjpeg" - select BR2_PACKAGE_OPENJPEG - help - GStreamer OpenJPEG plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS - bool "opus" - select BR2_PACKAGE_OPUS - help - OPUS plugin library - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG - bool "rsvg" - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # librsvg - depends on BR2_INSTALL_LIBSTDCPP # librsvg -> pango - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # librsvg -> pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # librsvg -> pango -> harfbuzz - select BR2_PACKAGE_LIBRSVG - help - RSVG plugin library - -comment "rsvg plugin needs a toolchain w/ C++, gcc >= 4.8" - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SBC - bool "sbc" - select BR2_PACKAGE_SBC - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SCTP - bool "sctp" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrinsics - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM - bool "shm" - help - shared memory sink source - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE - bool "sndfile" - select BR2_PACKAGE_LIBSNDFILE - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP - bool "srtp" - select BR2_PACKAGE_LIBSRTP - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC - bool "voaacenc" - select BR2_PACKAGE_VO_AACENC - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND - bool "wayland" - default y - depends on BR2_PACKAGE_WAYLAND - depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm -> libpthread-stubs - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_WAYLAND_PROTOCOLS - help - Wayland Video Sink - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP - bool "webp" - select BR2_PACKAGE_WEBP - help - Webp image format plugin - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC - bool "webrtc" - depends on !BR2_STATIC_LIBS # libnice -> gnutls - select BR2_PACKAGE_GST1_PLUGINS_BASE # libgstsdp - select BR2_PACKAGE_LIBNICE - help - WebRTC plugins (webrtcbin - a bin for webrtc connections) - -comment "webrtc needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP - bool "webrtcdsp" - # All depends from webrtc-audio-processing - depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING - help - WebRTC echo-cancellation, gain control and noise suppression - -comment "webrtcdsp needs a toolchain w/ C++, NPTL, gcc >= 4.8" - depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WPE - bool "wpe" - default y - depends on BR2_PACKAGE_WPEWEBKIT - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL - -comment "wpe needs the gst1-plugins-base opengl library and wpewebkit" - depends on !BR2_PACKAGE_WPEWEBKIT \ - || !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_V4L2CODECS - bool "v4l2codecs" - depends on BR2_PACKAGE_HAS_UDEV # libgudev - select BR2_PACKAGE_LIBGUDEV - help - Video4Linux Stateless CODECs support - -config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265 - bool "x265" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # x265 - select BR2_PACKAGE_X265 - help - x265 encoding plugin - -comment "x265 needs a toolchain w/ C++, dynamic library" - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS - -config BR2_PACKAGE_GST1_PLUGINS_BAD_ZBAR - bool "zbar" - depends on BR2_TOOLCHAIN_HAS_THREADS # zbar-> libv4l - depends on BR2_USE_MMU # zbar-> libv4l - depends on BR2_INSTALL_LIBSTDCPP # zbar-> libv4l - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # zbar -> libv4l - select BR2_PACKAGE_ZBAR - -comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - -endif diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash deleted file mode 100644 index 18c4ed4b..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.18.4.tar.xz.sha256sum -sha256 74e806bc5595b18c70e9ca93571e27e79dfb808e5d2e7967afa952b52e99c85f gst-plugins-bad-1.18.4.tar.xz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk deleted file mode 100644 index f4cf0d53..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +++ /dev/null @@ -1,802 +0,0 @@ -################################################################################ -# -# gst1-plugins-bad -# -################################################################################ - -GST1_PLUGINS_BAD_VERSION = 1.18.4 -GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz -GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad -GST1_PLUGINS_BAD_INSTALL_STAGING = YES -# Additional plugin licenses will be appended to GST1_PLUGINS_BAD_LICENSE and -# GST1_PLUGINS_BAD_LICENSE_FILES if enabled. -GST1_PLUGINS_BAD_LICENSE_FILES = COPYING -GST1_PLUGINS_BAD_LICENSE = LGPL-2.0+ -GST1_PLUGINS_BAD_CPE_ID_VENDOR = freedesktop -GST1_PLUGINS_BAD_CPE_ID_PRODUCT = gst-plugins-bad - -GST1_PLUGINS_BAD_CFLAGS = $(TARGET_CFLAGS) -std=c99 -D_GNU_SOURCE -GST1_PLUGINS_BAD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -GST1_PLUGINS_BAD_CONF_OPTS = \ - -Dexamples=disabled \ - -Dtests=disabled \ - -Ddirectsound=disabled \ - -Dd3dvideosink=disabled \ - -Dwinks=disabled \ - -Dandroidmedia=disabled \ - -Dapplemedia=disabled \ - -Dgobject-cast-checks=disabled \ - -Dglib-asserts=disabled \ - -Dglib-checks=disabled \ - -Dextra-checks=disabled \ - -Ddoc=disabled - -# Options which require currently unpackaged libraries -GST1_PLUGINS_BAD_CONF_OPTS += \ - -Davtp=disabled \ - -Dopensles=disabled \ - -Duvch264=disabled \ - -Dmsdk=disabled \ - -Dvoamrwbenc=disabled \ - -Dbs2b=disabled \ - -Dchromaprint=disabled \ - -Dd3d11=disabled \ - -Ddc1394=disabled \ - -Ddts=disabled \ - -Dresindvd=disabled \ - -Dfaac=disabled \ - -Dflite=disabled \ - -Dgsm=disabled \ - -Dkate=disabled \ - -Dladspa=disabled \ - -Dlv2=disabled \ - -Dmediafoundation=disabled \ - -Dmicrodns=disabled \ - -Dlibde265=disabled \ - -Dmodplug=disabled \ - -Dmplex=disabled \ - -Dofa=disabled \ - -Dopenexr=disabled \ - -Dopenni2=disabled \ - -Dteletextdec=disabled \ - -Dwildmidi=disabled \ - -Dsmoothstreaming=disabled \ - -Dsoundtouch=disabled \ - -Dgme=disabled \ - -Dvdpau=disabled \ - -Dspandsp=disabled \ - -Dsvthevcenc=disabled \ - -Dtranscode=disabled \ - -Dwasapi2=disabled \ - -Dzxing=disabled \ - -Dmagicleap=disabled \ - -Diqa=disabled \ - -Dopencv=disabled - -GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1 - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += gobject-introspection -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libdrm wayland wayland-protocols -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=disabled -endif - -ifeq ($(BR2_PACKAGE_ORC),y) -GST1_PLUGINS_BAD_DEPENDENCIES += orc -GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ),y) -GST1_PLUGINS_BAD_DEPENDENCIES += bluez5_utils -GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Daccurip=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Daccurip=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmdec=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmdec=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmenc=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmenc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Daiff=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Daiff=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dasfmux=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dasfmux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOBUFFERSPLIT),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiobuffersplit=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiobuffersplit=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiofxbad=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiofxbad=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOLATENCY),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiolatency=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiolatency=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXMATRIX),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiomixmatrix=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiomixmatrix=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiovisualizers=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Daudiovisualizers=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dautoconvert=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dautoconvert=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dbayer=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dbayer=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddebugutils=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddebugutils=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBENC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsubenc=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsubenc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsuboverlay=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsuboverlay=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddvdspu=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddvdspu=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfaceoverlay=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfaceoverlay=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfestival=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfestival=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfieldanalysis=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfieldanalysis=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfreeverb=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfreeverb=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfrei0r=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfrei0r=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dgaudieffects=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dgaudieffects=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dgeometrictransform=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dgeometrictransform=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dgdp=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dgdp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Did3tag=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Did3tag=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dinter=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dinter=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dinterlace=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dinterlace=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Divfparse=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Divfparse=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Divtc=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Divtc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Djp2kdecimator=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Djp2kdecimator=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Djpegformat=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Djpegformat=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dlibrfb=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dlibrfb=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dmidi=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dmidi=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegdemux=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegdemux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegpsmux=enabled -GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegpsmux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsmux=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsmux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsdemux=enabled -GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsdemux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dmxf=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dmxf=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NETSIM),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dnetsim=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dnetsim=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ONVIF),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Donvif=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Donvif=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dpcapparse=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dpcapparse=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dpnm=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dpnm=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PROXY),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dproxy=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dproxy=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Drawparse=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Drawparse=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dremovesilence=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dremovesilence=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RIST),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Drist=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Drist=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP2),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp2=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp2=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP2),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Drtp=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Drtp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += rtmpdump -else -GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dsdp=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dsdp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dsegmentclip=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dsegmentclip=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dsiren=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dsiren=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dsmooth=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dsmooth=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dspeed=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dspeed=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dsubenc=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dsubenc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SWITCHBIN),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dswitchbin=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dswitchbin=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TIMECODE),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dtimecode=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dtimecode=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dvideofilters=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dvideofilters=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFRAME_AUDIOLEVEL),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoframe_audiolevel=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoframe_audiolevel=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoparsers=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoparsers=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dvideosignal=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dvideosignal=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dvmnc=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dvmnc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dy4m=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dy4m=disabled -endif - -# Plugins with dependencies - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libass -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dbz2=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += bzip2 -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dbz2=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dcurl=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libcurl -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dcurl=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddash=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libxml2 -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddash=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += directfb -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += dtv-scan-tables -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfaad=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += faad2 -GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfaad=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfbdev=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfbdev=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += fdk-aac -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += fluidsynth -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dhls=enabled - -ifeq ($(BR2_PACKAGE_NETTLE),y) -GST1_PLUGINS_BAD_DEPENDENCIES += nettle -GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='nettle' -else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -GST1_PLUGINS_BAD_DEPENDENCIES += libgcrypt -GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='libgcrypt' -else -GST1_PLUGINS_BAD_DEPENDENCIES += openssl -GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='openssl' -endif - -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dhls=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libdrm -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dlibmms=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libmms -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dlibmms=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += openssl -GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE = y -else -GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTML),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dttml=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += cairo libxml2 pango -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dttml=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpeg2enc=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libmpeg2 mjpegtools -GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dmpeg2enc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dmusepack=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += musepack -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dmusepack=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dneon=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += neon -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dneon=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dopenal=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += openal -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dopenal=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dopenh264=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libopenh264 -GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE = y -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dopenh264=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dopenjpeg=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += openjpeg -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dopenjpeg=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += opus -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += librsvg -else -GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SBC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dsbc=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += sbc -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dsbc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SCTP),y) -GST1_PLUGINS_BAD_CONF_OPTS += \ - -Dsctp=enabled \ - -Dsctp-internal-usrsctp=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += \ - -Dsctp=disabled \ - -Dsctp-internal-usrsctp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dshm=enabled -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dshm=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dsndfile=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libsndfile -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dsndfile=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libsrtp -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dwebp=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += webp -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dwebp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtc=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += gst1-plugins-base libnice -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtcdsp=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += webrtc-audio-processing -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtcdsp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WPE),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dwpe=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libwpe wpewebkit wpebackend-fdo -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dwpe=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_V4L2CODECS),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dv4l2codecs=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += libgudev -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dv4l2codecs=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dx265=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += x265 -GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dx265=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_ZBAR),y) -GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=enabled -GST1_PLUGINS_BAD_DEPENDENCIES += zbar -else -GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=disabled -endif - -# Add GPL license if GPL licensed plugins enabled. -ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y) -GST1_PLUGINS_BAD_LICENSE += , GPL-2.0+ -GST1_PLUGINS_BAD_LICENSE_FILES += COPYING -endif - -# Add BSD license if BSD licensed plugins enabled. -ifeq ($(GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE),y) -GST1_PLUGINS_BAD_LICENSE += , BSD-2-Clause -endif - -# Add Unknown license if Unknown licensed plugins enabled. -ifeq ($(GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE),y) -GST1_PLUGINS_BAD_LICENSE += , UNKNOWN -endif - -# Use the following command to extract license info for plugins. -# # find . -name 'plugin-*.xml' | xargs grep license - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/0001-gst-libs-gst-video-gstvideoaggregator.c-fix-build-wi.patch b/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/0001-gst-libs-gst-video-gstvideoaggregator.c-fix-build-wi.patch deleted file mode 100644 index 87cd6493..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/0001-gst-libs-gst-video-gstvideoaggregator.c-fix-build-wi.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 012ca1bcd234ee02f576dd58b1f09baba18b89b0 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 14 Dec 2020 07:42:55 +0100 -Subject: [PATCH] gst-libs/gst/video/gstvideoaggregator.c: fix build with gcc - 4.8 - -Fix the following build failure with gcc 4.8 which has been added with -https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/commit/d268c193ad39fb970351ed62898be806ebd0a71e: - -../gst-libs/gst/video/gstvideoaggregator.c: In function 'gst_video_aggregator_init': -../gst-libs/gst/video/gstvideoaggregator.c:2762:3: error: 'for' loop initial declarations are only allowed in C99 mode - for (gint i = 0; i < gst_caps_get_size (src_template); i++) { - ^ - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/974] ---- - gst-libs/gst/video/gstvideoaggregator.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/gst-libs/gst/video/gstvideoaggregator.c b/gst-libs/gst/video/gstvideoaggregator.c -index 2e3d813be..04dad6563 100644 ---- a/gst-libs/gst/video/gstvideoaggregator.c -+++ b/gst-libs/gst/video/gstvideoaggregator.c -@@ -2786,6 +2786,7 @@ gst_video_aggregator_init (GstVideoAggregator * vagg, - { - GstCaps *src_template; - GstPadTemplate *pad_template; -+ gint i; - - vagg->priv = gst_video_aggregator_get_instance_private (vagg); - vagg->priv->current_caps = NULL; -@@ -2800,7 +2801,7 @@ gst_video_aggregator_init (GstVideoAggregator * vagg, - pad_template = - gst_element_class_get_pad_template (GST_ELEMENT_CLASS (klass), "src"); - src_template = gst_pad_template_get_caps (pad_template); -- for (gint i = 0; i < gst_caps_get_size (src_template); i++) { -+ for (i = 0; i < gst_caps_get_size (src_template); i++) { - const GValue *v = - gst_structure_get_value (gst_caps_get_structure (src_template, i), - "format"); --- -2.29.2 - diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/Config.in b/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/Config.in deleted file mode 100644 index ceed5589..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/Config.in +++ /dev/null @@ -1,318 +0,0 @@ -menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE - bool "gst1-plugins-base" - select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXV if BR2_PACKAGE_XORG7 - help - A basic set of well-supported plug-ins for GStreamer. - - https://gstreamer.freedesktop.org/ - -if BR2_PACKAGE_GST1_PLUGINS_BASE - -config BR2_PACKAGE_GST1_PLUGINS_BASE_INSTALL_TOOLS - bool "install tools" - help - Install the gst-discoverer, gst-device-monitor and gst-play - tools. - -comment "dependency-less plugins" - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER - bool "adder" - help - Adds multiple streams - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP - bool "app" - help - Elements used to communicate with applications - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT - bool "audioconvert (mandatory for audio playback)" - default y - help - Convert audio to different formats - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER - bool "audiomixer" - help - Audio mixer plugin - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE - bool "audiorate" - help - Adjusts audio frames - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC - bool "audiotestsrc" - help - Creates audio test signals of given frequency and volume - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR - bool "compositor" - help - Video compositor plugin - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING - bool "encoding" - help - various encoding-related elements - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT - bool "videoconvert" - help - Colorspace conversion - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO - bool "gio" - help - GIO elements - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_TYPEFINDER - bool "gio-typefinder" - help - GIO typefinder elements - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION - bool "overlaycomposition" - help - Overlaycomposition plugin. - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK - bool "playback" - default y - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND - help - various playback elements - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE - bool "audioresample (mandatory for audio playback)" - default y - help - Resamples audio - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE - bool "rawparse" - help - Parses byte streams into raw frames - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE - bool "subparse" - help - Subtitle parsing - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP - bool "tcp" - help - transfer data over the network via TCP - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND - bool "typefind" - default y - help - default typefind functions - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC - bool "videotestsrc" - help - Creates a test video stream - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE - bool "videorate" - help - Adjusts video frames - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE - bool "videoscale (mandatory for video playback)" - default y - help - Resizes video - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME - bool "volume (mandatory for audio playback)" - default y - help - plugin for controlling audio volume - -comment "plugins with external dependencies" - -menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL - bool "opengl" - depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES - -if BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL - -config BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL - def_bool BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW - -comment "The opengl library needs an API, a platform and a window system" - depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL - -comment "APIs" - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API - bool - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL - bool "opengl" - default y - depends on BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_LIBGLU - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API - -comment "opengl needs an OpenGL backend" - depends on !BR2_PACKAGE_HAS_LIBGL - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2 - bool "gles2" - default y - depends on BR2_PACKAGE_HAS_LIBGLES - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API - -comment "gles2 needs an OpenGL ES backend" - depends on !BR2_PACKAGE_HAS_LIBGLES - -comment "Platforms" - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM - bool - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX - bool "glx" - default y - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL - depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR # mesa needs big X - depends on !BR2_PACKAGE_RPI_USERLAND # x11 - select BR2_PACKAGE_XLIB_LIBXRENDER - select BR2_PACKAGE_XORGPROTO - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11 - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM - help - OpenGL Extension to the X Window System - -comment "glx not supported with rpi-userland" - depends on BR2_PACKAGE_RPI_USERLAND - -comment "glx needs the opengl API and modular X.org" - depends on !BR2_PACKAGE_RPI_USERLAND && \ - (!BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL || \ - !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR) - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL - bool "egl" - default y - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API - depends on BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM - -comment "egl needs an API and an EGL backend" - depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API || \ - !BR2_PACKAGE_HAS_LIBEGL - -comment "Window systems" - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW - bool - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11 - bool "x11" - default y - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM - depends on !BR2_PACKAGE_RPI_USERLAND - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW - -comment "x11 not supported with rpi-userland" - depends on BR2_PACKAGE_RPI_USERLAND - -comment "x11 needs a platform and X.org" - depends on !BR2_PACKAGE_RPI_USERLAND && \ - (!BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM || \ - !BR2_PACKAGE_XORG7) - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND - bool "wayland" - default y - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL - depends on BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_WAYLAND_PROTOCOLS - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW - -comment "wayland needs the egl platform and the wayland package" - depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL || \ - !BR2_PACKAGE_WAYLAND - -config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX - bool "dispmanx" - default y - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL - depends on BR2_PACKAGE_RPI_USERLAND - select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW - help - Raspberry Pi's Dispmanx windowing system - -comment "dispmanx needs the egl platform and rpi-userland" - depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL || \ - !BR2_PACKAGE_RPI_USERLAND -endif - -comment "opengl needs an OpenGL or OpenGL ES backend" - depends on !BR2_PACKAGE_HAS_LIBGL && !BR2_PACKAGE_HAS_LIBGLES - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA - bool "alsa (mandatory for audio playback)" - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_ALSA_LIB_MIXER - select BR2_PACKAGE_ALSA_LIB_PCM - select BR2_PACKAGE_ALSA_LIB_SEQ - help - ALSA plugin library - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR - bool "tremor" - select BR2_PACKAGE_TREMOR - help - Vorbis Tremor decoder - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG - bool "ogg (*.ogg audio/video)" - select BR2_PACKAGE_LIBOGG - help - ogg stream manipulation (info about ogg: http://xiph.org) - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS - bool "opus" - select BR2_PACKAGE_OPUS - help - Opus codec for speech and audio. - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO - bool "pango font renderer" - depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz - select BR2_PACKAGE_PANGO - help - Pango-based text rendering and overlay - -comment "pango plugin needs a toolchain w/ C++, gcc >= 4.8" - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA - bool "theora (*.ogg video)" - select BR2_PACKAGE_LIBTHEORA - help - Theora plugin library - -config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS - bool "vorbis (*.ogg audio)" - select BR2_PACKAGE_LIBVORBIS - help - Vorbis plugin library - -endif diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash deleted file mode 100644 index dabceac8..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.18.4.tar.xz.sha256sum -sha256 29e53229a84d01d722f6f6db13087231cdf6113dd85c25746b9b58c3d68e8323 gst-plugins-base-1.18.4.tar.xz -sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk deleted file mode 100644 index ccbf75a4..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk +++ /dev/null @@ -1,298 +0,0 @@ -################################################################################ -# -# gst1-plugins-base -# -################################################################################ - -GST1_PLUGINS_BASE_VERSION = 1.18.4 -GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz -GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base -GST1_PLUGINS_BASE_INSTALL_STAGING = YES -GST1_PLUGINS_BASE_LICENSE_FILES = COPYING -GST1_PLUGINS_BASE_LICENSE = LGPL-2.0+, LGPL-2.1+ - -GST1_PLUGINS_BASE_CONF_OPTS = \ - -Dexamples=disabled \ - -Dtests=disabled \ - -Dgobject-cast-checks=disabled \ - -Dglib-asserts=disabled \ - -Dglib-checks=disabled \ - -Ddoc=disabled - -# Options which require currently unpackaged libraries -GST1_PLUGINS_BASE_CONF_OPTS += \ - -Dcdparanoia=disabled \ - -Dlibvisual=disabled \ - -Diso-codes=disabled - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_INSTALL_TOOLS),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dtools=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dtools=disabled -endif - -GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1 $(TARGET_NLS_DEPENDENCIES) - -GST1_PLUGINS_BASE_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -# These plugins are listed in the order from ./configure --help - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=enabled -GST1_PLUGINS_BASE_DEPENDENCIES += gobject-introspection -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=disabled -endif - -ifeq ($(BR2_PACKAGE_ORC),y) -GST1_PLUGINS_BASE_DEPENDENCIES += orc -GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API)$(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM)$(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW),yyy) -GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL),y) -GST1_PLUGINS_BASE_GL_API_LIST = opengl -GST1_PLUGINS_BASE_DEPENDENCIES += libgl libglu -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2),y) -GST1_PLUGINS_BASE_GL_API_LIST += gles2 -GST1_PLUGINS_BASE_DEPENDENCIES += libgles -endif - -GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_api='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_API_LIST))' - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX),y) -GST1_PLUGINS_BASE_GL_PLATFORM_LIST += glx -GST1_PLUGINS_BASE_DEPENDENCIES += xorgproto xlib_libXrender -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL),y) -GST1_PLUGINS_BASE_GL_PLATFORM_LIST += egl -GST1_PLUGINS_BASE_DEPENDENCIES += libegl -endif -GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_platform='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_PLATFORM_LIST))' - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11),y) -GST1_PLUGINS_BASE_WINSYS_LIST += x11 -GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND),y) -GST1_PLUGINS_BASE_WINSYS_LIST += wayland -GST1_PLUGINS_BASE_DEPENDENCIES += wayland wayland-protocols -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX),y) -GST1_PLUGINS_BASE_WINSYS_LIST += dispmanx -GST1_PLUGINS_BASE_DEPENDENCIES += rpi-userland -endif -GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_winsys='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_WINSYS_LIST))' - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dadder=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dadder=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dapp=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dapp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvert=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvert=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dgio=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dgio=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_TYPEFINDER),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dgio-typefinder=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dgio-typefinder=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoscale=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoscale=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=disabled -endif - -# Zlib is checked for headers and is not an option. -ifeq ($(BR2_PACKAGE_ZLIB),y) -GST1_PLUGINS_BASE_DEPENDENCIES += zlib -endif - -ifeq ($(BR2_PACKAGE_XORG7),y) -GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv -GST1_PLUGINS_BASE_CONF_OPTS += \ - -Dx11=enabled \ - -Dxshm=enabled \ - -Dxvideo=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += \ - -Dx11=disabled \ - -Dxshm=disabled \ - -Dxvideo=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y) -GST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib -GST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=enabled -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=enabled -GST1_PLUGINS_BASE_DEPENDENCIES += tremor -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dopus=enabled -GST1_PLUGINS_BASE_DEPENDENCIES += opus -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dopus=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dogg=enabled -GST1_PLUGINS_BASE_DEPENDENCIES += libogg -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dogg=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dpango=enabled -GST1_PLUGINS_BASE_DEPENDENCIES += pango -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dpango=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=enabled -GST1_PLUGINS_BASE_DEPENDENCIES += libtheora -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y) -GST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=enabled -GST1_PLUGINS_BASE_DEPENDENCIES += libvorbis -else -GST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in b/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in deleted file mode 100644 index b7cac08d..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -menuconfig BR2_PACKAGE_GST1_PLUGINS_BAYER2RGB_NEON - bool "gst1-plugins-bayer2rgb-neon" - depends on BR2_arm && BR2_ARM_CPU_HAS_NEON # bayer2rgb-neon - depends on !BR2_STATIC_LIBS # bayer2rgb-neon - depends on BR2_INSTALL_LIBSTDCPP # bayer2rgb-neon - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # bayer2rgb-neon - select BR2_PACKAGE_GST1_PLUGINS_BASE - select BR2_PACKAGE_BAYER2RGB_NEON - help - gst1-plugins-bayer2rgb-neon is a gstreamer1 - plugin which uses bayer2rgb-neon library to - decode raw camera bayer to RGB using - NEON hardware acceleration. - - https://git.phytec.de/gst-bayer2rgb-neon - -comment "gst1-plugins-bayer2rgb-neon needs a toolchain w/ C++, dynamic library, gcc >= 4.9" - depends on BR2_arm && BR2_ARM_CPU_HAS_NEON - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.hash b/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.hash deleted file mode 100644 index cfb62b06..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 307725640203083df7dfb7f9c2b8bb9583accf7b8c06238dd92d6150a9fd8b04 gst-bayer2rgb-neon-0.4.tar.bz2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.mk b/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.mk deleted file mode 100644 index 5139463c..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# gst1-plugins-bayer2rgb-neon -# -################################################################################ - -GST1_PLUGINS_BAYER2RGB_NEON_VERSION = 0.4 -GST1_PLUGINS_BAYER2RGB_NEON_SOURCE = gst-bayer2rgb-neon-$(GST1_PLUGINS_BAYER2RGB_NEON_VERSION).tar.bz2 -GST1_PLUGINS_BAYER2RGB_NEON_SITE = https://git.phytec.de/gst-bayer2rgb-neon/snapshot -GST1_PLUGINS_BAYER2RGB_NEON_LICENSE = GPL-3.0 -GST1_PLUGINS_BAYER2RGB_NEON_LICENSE_FILES = COPYING - -GST1_PLUGINS_BAYER2RGB_NEON_INSTALL_STAGING = YES - -GST1_PLUGINS_BAYER2RGB_NEON_DEPENDENCIES = \ - host-pkgconf \ - gstreamer1 \ - gst1-plugins-base \ - bayer2rgb-neon - -GST1_PLUGINS_BAYER2RGB_NEON_AUTORECONF = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/buildroot-2021.05/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash deleted file mode 100644 index 546fed98..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.18.4.tar.xz.sha256sum -sha256 b6e50e3a9bbcd56ee6ec71c33aa8332cc9c926b0c1fae995aac8b3040ebe39b0 gst-plugins-good-1.18.4.tar.xz -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/buildroot-2021.05/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk deleted file mode 100644 index bace7780..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk +++ /dev/null @@ -1,493 +0,0 @@ -################################################################################ -# -# gst1-plugins-good -# -################################################################################ - -GST1_PLUGINS_GOOD_VERSION = 1.18.4 -GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz -GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good -GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING -GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ - -GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -GST1_PLUGINS_GOOD_CONF_OPTS = \ - -Dexamples=disabled \ - -Dtests=disabled \ - -Dgobject-cast-checks=disabled \ - -Dglib-asserts=disabled \ - -Dglib-checks=disabled \ - -Dasm=disabled \ - -Ddirectsound=disabled \ - -Dwaveform=disabled \ - -Drpicamsrc=disabled \ - -Dosxaudio=disabled \ - -Dosxvideo=disabled \ - -Daalib=disabled \ - -Dlibcaca=disabled \ - -Ddoc=disabled - -# Options which require currently unpackaged libraries -GST1_PLUGINS_GOOD_CONF_OPTS += \ - -Ddv=disabled \ - -Ddv1394=disabled - -GST1_PLUGINS_GOOD_DEPENDENCIES = \ - gstreamer1 \ - gst1-plugins-base \ - $(TARGET_NLS_DEPENDENCIES) - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_JACK),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Djack=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += jack2 -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Djack=disabled -endif - -ifeq ($(BR2_PACKAGE_LIBV4L),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += libv4l -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=disabled -endif - -ifeq ($(BR2_PACKAGE_ORC),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dorc=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += orc -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_APETAG),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dapetag=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dapetag=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Daudiofx=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Daudiofx=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Daudioparsers=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Daudioparsers=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dauparse=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dauparse=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dautodetect=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dautodetect=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AVI),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Davi=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Davi=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CUTTER),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dcutter=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dcutter=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Ddebugutils=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Ddebugutils=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Ddeinterlace=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Ddeinterlace=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DTMF),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Ddtmf=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Ddtmf=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EFFECTV),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Deffectv=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Deffectv=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EQUALIZER),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dequalizer=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dequalizer=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dflv=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dflv=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLX),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dflx=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dflx=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM2K1),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom2k1=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom2k1=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dicydemux=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dicydemux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Did3demux=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Did3demux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dimagefreeze=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dimagefreeze=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dinterleave=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dinterleave=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Disomp4=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Disomp4=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dlame=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += lame -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dlame=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MPG123),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmpg123=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += mpg123 -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmpg123=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dlaw=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dlaw=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LEVEL),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dlevel=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dlevel=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmatroska=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmatroska=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmonoscope=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmonoscope=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultifile=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultifile=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIPART),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultipart=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultipart=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dreplaygain=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dreplaygain=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Drtp=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Drtp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Drtpmanager=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Drtpmanager=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Drtsp=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Drtsp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dshapewipe=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dshapewipe=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SMPTE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dsmpte=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dsmpte=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPECTRUM),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dspectrum=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dspectrum=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dudp=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dudp=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideobox=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideobox=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideocrop=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideocrop=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideofilter=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideofilter=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideomixer=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideomixer=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVENC),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavenc=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavenc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPARSE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavparse=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavparse=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dy4m=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dy4m=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Doss=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Doss=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Doss4=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Doss4=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dqt5=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += qt5declarative -ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) -GST1_PLUGINS_GOOD_DEPENDENCIES += qt5x11extras -endif -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dqt5=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHOUT2),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dshout2=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += libshout -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dshout2=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2=enabled -# Enable use of gudev if available, for device probing and monitoring. -ifeq ($(BR2_PACKAGE_LIBGUDEV),y) -GST1_PLUGINS_GOOD_DEPENDENCIES += libgudev -GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-gudev=enabled -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-gudev=disabled -endif -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-probe=true -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-probe=false -endif - -ifeq ($(BR2_PACKAGE_XORG7),y) -GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv -GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc=enabled -ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) -GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libXfixes -GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc-xfixes=enabled -endif -ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) -GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libXdamage -GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc-xdamage=enabled -endif -else -GST1_PLUGINS_GOOD_CONF_OPTS += \ - -Dximagesrc=disabled \ - -Dximagesrc-xfixes=disabled \ - -Dximagesrc-xdamage=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dcairo=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += cairo -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dcairo=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dflac=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += flac -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dflac=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dgdk-pixbuf=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dgdk-pixbuf=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Djpeg=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += jpeg -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Djpeg=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dpng=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += libpng -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dpng=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dpulse=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += pulseaudio -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dpulse=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dsoup=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += libsoup -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dsoup=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dspeex=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += speex -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dspeex=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dtaglib=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += taglib -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dtaglib=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TWOLAME),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dtwolame=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += twolame -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dtwolame=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvpx=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dvpx=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavpack=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += wavpack -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavpack=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_ZLIB),y) -GST1_PLUGINS_GOOD_DEPENDENCIES += zlib -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2),y) -GST1_PLUGINS_GOOD_CONF_OPTS += -Dbz2=enabled -GST1_PLUGINS_GOOD_DEPENDENCIES += bzip2 -else -GST1_PLUGINS_GOOD_CONF_OPTS += -Dbz2=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/buildroot-2021.05/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash deleted file mode 100644 index 3ca78ed1..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.18.4.tar.xz.sha256sum -sha256 218df0ce0d31e8ca9cdeb01a3b0c573172cc9c21bb3d41811c7820145623d13c gst-plugins-ugly-1.18.4.tar.xz -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/buildroot-2021.05/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk deleted file mode 100644 index b596a0bc..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +++ /dev/null @@ -1,99 +0,0 @@ -################################################################################ -# -# gst1-plugins-ugly -# -################################################################################ - -GST1_PLUGINS_UGLY_VERSION = 1.18.4 -GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz -GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly -GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING -# GPL licensed plugins will append to GST1_PLUGINS_UGLY_LICENSE if enabled. -GST1_PLUGINS_UGLY_LICENSE = LGPL-2.1+ - -GST1_PLUGINS_UGLY_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -GST1_PLUGINS_UGLY_CONF_OPTS += \ - -Dexamples=disabled \ - -Dtests=disabled \ - -Ddoc=disabled - -GST1_PLUGINS_UGLY_CONF_OPTS += \ - -Da52dec=disabled \ - -Damrnb=disabled \ - -Damrwbdec=disabled \ - -Dcdio=disabled \ - -Dsidplay=disabled - -GST1_PLUGINS_UGLY_DEPENDENCIES = gstreamer1 gst1-plugins-base - -ifeq ($(BR2_PACKAGE_ORC),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=enabled -GST1_PLUGINS_UGLY_DEPENDENCIES += orc -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=enabled -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=enabled -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=enabled -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=enabled -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=enabled -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=enabled -GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread -GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=enabled -GST1_PLUGINS_UGLY_DEPENDENCIES += libmpeg2 -GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=disabled -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_X264),y) -GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=enabled -GST1_PLUGINS_UGLY_DEPENDENCIES += x264 -GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y -else -GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=disabled -endif - -# Add GPL license if GPL plugins enabled. -ifeq ($(GST1_PLUGINS_UGLY_HAS_GPL_LICENSE),y) -GST1_PLUGINS_UGLY_LICENSE += , GPL-2.0 -endif - -# Use the following command to extract license info for plugins. -# # find . -name 'plugin-*.xml' | xargs grep license - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-python/Config.in b/buildroot-2021.05/package/gstreamer1/gst1-python/Config.in deleted file mode 100644 index 2f349840..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-python/Config.in +++ /dev/null @@ -1,25 +0,0 @@ -config BR2_PACKAGE_GST1_PYTHON - bool "gst1-python" - depends on BR2_USE_MMU # libglib2, gobject-introspection - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection - depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection - depends on BR2_PACKAGE_PYTHON3 # gobject-introspection - select BR2_PACKAGE_GOBJECT_INTROSPECTION - select BR2_PACKAGE_GST1_PLUGINS_BASE - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_PYTHON_GOBJECT - help - GStreamer python overrides for the gobject-introspection-based - pygst bindings. - - https://gstreamer.freedesktop.org/modules/gst-python.html - -comment "gst1-python needs python3" - depends on !BR2_PACKAGE_PYTHON3 - -comment "gst1-python needs a glibc toolchain, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/gstreamer1/gst1-python/gst1-python.hash b/buildroot-2021.05/package/gstreamer1/gst1-python/gst1-python.hash deleted file mode 100644 index f7c2d570..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-python/gst1-python.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.18.4.tar.xz.sha256sum -sha256 cb68e08a7e825e08b83a12a22dcd6e4f1b328a7b02a7ac84f42f68f4ddc7098e gst-python-1.18.4.tar.xz -sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-python/gst1-python.mk b/buildroot-2021.05/package/gstreamer1/gst1-python/gst1-python.mk deleted file mode 100644 index ed127cdb..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-python/gst1-python.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# gst1-python -# -################################################################################ - -GST1_PYTHON_VERSION = 1.18.4 -GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz -GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python -GST1_PYTHON_INSTALL_STAGING = YES -GST1_PYTHON_LICENSE_FILES = COPYING -GST1_PYTHON_LICENSE = LGPL-2.1+ - -GST1_PYTHON_DEPENDENCIES = \ - gst1-plugins-base \ - gstreamer1 \ - python-gobject - -# A sysconfigdata_name must be manually specified or the resulting .so -# will have a x86_64 prefix, which causes "from gi.repository import Gst" -# to fail. A pythonpath must be specified or the host python path will be -# used resulting in a "not a valid python" error. -GST1_PYTHON_CONF_ENV += \ - _PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \ - PYTHONPATH=$(PYTHON3_PATH) - -# Due to the CONF_ENV options, libpython-dir must be set manually -# or else the error: "Python dynamic library path could not be determined" -# occurs. We set the libpython-dir to /usr/lib as this path is hard-coded -# into the resulting .so file as /usr/lib/python3.$(PYTHON3_VERSION_MAJOR).so. -# Because we provide PYTHONPATH=$(PYTHON3_PATH) above, the logic in the meson -# file uses the above python path to determine if /usr/lib/ has the proper .so -# file. Because Buildroot provides the appropriate paths, the meson file finds -# the correct .so file, and the resulting compiled library has the appropriate -# path of /usr/lib/python3.$(PYTHON3_VERSION_MAJOR).so -GST1_PYTHON_CONF_OPTS += \ - -Dlibpython-dir=/usr/lib/ - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/buildroot-2021.05/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash deleted file mode 100644 index b07b2441..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.18.4.tar.xz.sha256sum -sha256 a46bb8de40b971a048580279d2660e616796f871ad3ed00c8a95fe4d273a6c94 gst-rtsp-server-1.18.4.tar.xz -sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING -sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING.LIB diff --git a/buildroot-2021.05/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/buildroot-2021.05/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk deleted file mode 100644 index 878195b7..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# gst1-rtsp-server -# -################################################################################ - -GST1_RTSP_SERVER_VERSION = 1.18.4 -GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz -GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server -GST1_RTSP_SERVER_LICENSE = LGPL-2.0+ -GST1_RTSP_SERVER_LICENSE_FILES = COPYING COPYING.LIB -GST1_RTSP_SERVER_CPE_ID_VENDOR = gstreamer_project -GST1_RTSP_SERVER_CPE_ID_PRODUCT = gst-rtsp-server -GST1_RTSP_SERVER_INSTALL_STAGING = YES -GST1_RTSP_SERVER_DEPENDENCIES = \ - host-pkgconf \ - gstreamer1 \ - gst1-plugins-base \ - gst1-plugins-good - -GST1_RTSP_SERVER_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -GST1_RTSP_SERVER_CONF_OPTS = \ - -Dexamples=disabled \ - -Dtests=disabled \ - -Ddoc=disabled - -GST1_RTSP_SERVER_CONF_OPTS += \ - -Dexamples=disabled \ - -Dtests=disabled \ - -Dgobject-cast-checks=disabled \ - -Dglib-asserts=disabled \ - -Dglib-checks=disabled - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=enabled -GST1_RTSP_SERVER_DEPENDENCIES += gobject-introspection -else -GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=disabled -endif - -ifeq ($(BR2_PACKAGE_LIBCGROUP),y) -GST1_RTSP_SERVER_DEPENDENCIES += libcgroup -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD),y) -GST1_RTSP_SERVER_DEPENDENCIES += gst1-plugins-bad -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-shark/gst1-shark.hash b/buildroot-2021.05/package/gstreamer1/gst1-shark/gst1-shark.hash deleted file mode 100644 index caa9107b..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-shark/gst1-shark.hash +++ /dev/null @@ -1,5 +0,0 @@ -# locally computed hash -sha256 b141312603af82f600981dd7231e2ecc5a42b3550fadd2450965a0a85f62cbb2 gst1-shark-v0.7.2-br1.tar.gz - -# Hashes for license files: -sha256 6d191b8f1fa03cabced18b8e48fddbf960a19f965bed8491e76ed62238f92f0b COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gst1-shark/gst1-shark.mk b/buildroot-2021.05/package/gstreamer1/gst1-shark/gst1-shark.mk deleted file mode 100644 index ea0c5a29..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-shark/gst1-shark.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# gst1-shark -# -################################################################################ - -GST1_SHARK_VERSION = v0.7.2 -GST1_SHARK_SITE = https://github.com/RidgeRun/gst-shark.git -GST1_SHARK_SITE_METHOD = git -GST1_SHARK_GIT_SUBMODULES = YES - -GST1_SHARK_LICENSE = LGPL-2.1+ -GST1_SHARK_LICENSE_FILES = COPYING - -GST1_SHARK_AUTORECONF = YES -GST1_SHARK_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base -GST1_SHARK_CONF_OPTS = --disable-graphviz - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-vaapi/Config.in b/buildroot-2021.05/package/gstreamer1/gst1-vaapi/Config.in deleted file mode 100644 index 91bd4f85..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-vaapi/Config.in +++ /dev/null @@ -1,50 +0,0 @@ -config BR2_PACKAGE_GST1_VAAPI - bool "gst1-vaapi" - depends on !BR2_STATIC_LIBS # dlopen(), libva - depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm - depends on BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_LIBVA - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_GST1_PLUGINS_BASE - select BR2_PACKAGE_GST1_PLUGINS_BAD # gstreamer-codecparsers - help - gstreamer-vaapi consists in a collection of VA-API based - plugins for GStreamer and helper libraries. - - vaapidec is used to decode JPEG, MPEG-2, MPEG-4:2, - H.264 AVC, H.264 MVC, VP8, VC-1, WMV3, HEVC videos to VA - surfaces, depending on the actual value of and the - underlying hardware capabilities. This plugin is also able - to implicitly download the decoded surface to raw YUV - buffers. - - vaapienc is used to encode into MPEG-2, H.264 AVC, - H.264 MVC, JPEG, VP8, HEVC videos, depending on the actual - value of (mpeg2, h264, etc.) and the hardware - capabilities. By default, raw format bitstreams are - generated, so the result may be piped to a muxer, e.g. qtmux - for MP4 containers. - - vaapipostproc is used to filter VA surfaces, for - e.g. scaling, deinterlacing (bob, motion-adaptive, - motion-compensated), noise reduction or sharpening. This - plugin is also used to upload raw YUV pixels into VA - surfaces. - - vaapisink is used to render VA surfaces to an X11 or Wayland - display. This plugin also features a "headless" mode (DRM) - more suited to remote transcode scenarios, with faster - throughput. - - https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi - -if BR2_PACKAGE_GST1_VAAPI - -config BR2_PACKAGE_GST1_VAAPI_ENCODERS - bool "enable encoders" - -endif - -comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_PACKAGE_HAS_UDEV diff --git a/buildroot-2021.05/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/buildroot-2021.05/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash deleted file mode 100644 index 10986d3c..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.18.4.tar.xz.sha256sum -sha256 92db98af86f3150d429c9ab17e88d2364f9c07a140c8f445ed739e8f10252aea gstreamer-vaapi-1.18.4.tar.xz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/buildroot-2021.05/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk deleted file mode 100644 index 411a3269..00000000 --- a/buildroot-2021.05/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# gst1-vaapi -# -################################################################################ - -GST1_VAAPI_VERSION = 1.18.4 -GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi -GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz -GST1_VAAPI_LICENSE = LGPL-2.1+ -GST1_VAAPI_LICENSE_FILES = COPYING.LIB - -GST1_VAAPI_DEPENDENCIES += \ - gstreamer1 \ - gst1-plugins-base \ - gst1-plugins-bad \ - libva \ - libdrm - -GST1_VAAPI_CONF_OPTS += \ - -Dwith_drm=yes \ - -Dwith_x11=no \ - -Dwith_glx=no \ - -Dwith_wayland=no \ - -Dwith_egl=no \ - -Dexamples=disabled \ - -Dtest=disabled \ - -Ddoc=disabled - -ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y) -GST1_VAAPI_CONF_OPTS += -Dwith_encoders=yes -else -GST1_VAAPI_CONF_OPTS += -Dwith_encoders=no -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/buildroot-2021.05/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash deleted file mode 100644 index 1795171e..00000000 --- a/buildroot-2021.05/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.18.4.tar.xz.sha256sum -sha256 4687b870a7de18aebf50f45ff572ad9e0138020e3479e02a6f056a0c4c7a1d04 gst-editing-services-1.18.4.tar.xz - -# Hashes for license files: -sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING -sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING.LIB diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/buildroot-2021.05/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk deleted file mode 100644 index e7f626ef..00000000 --- a/buildroot-2021.05/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# gstreamer1-editing-services -# -################################################################################ - -GSTREAMER1_EDITING_SERVICES_VERSION = 1.18.4 -GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz -GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services -GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ -GSTREAMER1_EDITING_SERVICES_LICENSE_FILES = COPYING COPYING.LIB -GSTREAMER1_EDITING_SERVICES_INSTALL_STAGING = YES -GSTREAMER1_EDITING_SERVICES_DEPENDENCIES = \ - host-pkgconf \ - gstreamer1 \ - gst1-plugins-base \ - gst1-plugins-good \ - libxml2 - -GSTREAMER1_EDITING_SERVICES_CONF_OPTS = \ - -Ddoc=disabled \ - -Dexamples=disabled \ - -Dintrospection=disabled \ - -Dtests=disabled \ - -Dtools=enabled \ - -Dbash-completion=disabled \ - -Dxptv=disabled \ - -Dpython=disabled - -ifeq ($(BR2_PACKAGE_GST1_DEVTOOLS),y) -GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += gst1-devtools -GSTREAMER1_EDITING_SERVICES_CONF_OPTS += -Dvalidate=enabled -else -GSTREAMER1_EDITING_SERVICES_CONF_OPTS += -Dvalidate=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/Config.in b/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/Config.in deleted file mode 100644 index 471c083c..00000000 --- a/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -config BR2_PACKAGE_GSTREAMER1_MM - bool "gstreamer1-mm" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm - depends on BR2_INSTALL_LIBSTDCPP # glibmm - depends on BR2_USE_WCHAR # glibmm -> libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_MMU # glibmm -> libglib2 - select BR2_PACKAGE_GLIBMM - select BR2_PACKAGE_GSTREAMER1_CHECK - select BR2_PACKAGE_GST1_PLUGINS_BASE - help - gstreamermm provides C++ bindings for the GStreamer streaming - multimedia library (http://gstreamer.freedesktop.org). With - gstreamermm it is possible to develop applications that work - with multimedia in C++. - - gstreamermm is developed over glibmm, libsigc++ and libxml++ - and the functionalities they provide. This means that, among - other things, referencing and unreferencing of GObjects is - handled automatically via glibmm's automatic pointer class, - Glib::RefPtr, and libsigc++'s slots are used for callbacks and - signals. - - https://gstreamer.freedesktop.org/bindings/cplusplus.html - -comment "gstreamer1-mm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ - || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.hash b/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.hash deleted file mode 100644 index 425cf05f..00000000 --- a/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/gstreamermm/1.10/gstreamermm-1.10.0.sha256sum -sha256 be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60 gstreamermm-1.10.0.tar.xz - -# Locally computed -sha256 7c78a8d7fc6781d51402d5a6036bedda9cffb0e5d28757e25d54d6eacbb1949f COPYING -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.examples diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.mk b/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.mk deleted file mode 100644 index 539c9df1..00000000 --- a/buildroot-2021.05/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# gstreamer1-mm -# -################################################################################ - -GSTREAMER1_MM_VERSION_MAJOR = 1.10 -GSTREAMER1_MM_VERSION = $(GSTREAMER1_MM_VERSION_MAJOR).0 -GSTREAMER1_MM_SITE = http://ftp.gnome.org/pub/gnome/sources/gstreamermm/$(GSTREAMER1_MM_VERSION_MAJOR) -GSTREAMER1_MM_SOURCE = gstreamermm-$(GSTREAMER1_MM_VERSION).tar.xz -GSTREAMER1_MM_LICENSE = LGPL-2.1+ (library), GPL-2.0 (examples) -GSTREAMER1_MM_LICENSE_FILES = COPYING COPYING.examples -GSTREAMER1_MM_INSTALL_STAGING = YES -GSTREAMER1_MM_DEPENDENCIES += \ - glibmm \ - gstreamer1 \ - gst1-plugins-base - -GSTREAMER1_MM_CONF_OPTS += \ - --disable-gl \ - --enable-unittests=no \ - --disable-deprecated-api - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1/gstreamer1.hash b/buildroot-2021.05/package/gstreamer1/gstreamer1/gstreamer1.hash deleted file mode 100644 index e9709ef0..00000000 --- a/buildroot-2021.05/package/gstreamer1/gstreamer1/gstreamer1.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.18.4.tar.xz.sha256sum -sha256 9aeec99b38e310817012aa2d1d76573b787af47f8a725a65b833880a094dfbc5 gstreamer-1.18.4.tar.xz -sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1/gstreamer1.mk b/buildroot-2021.05/package/gstreamer1/gstreamer1/gstreamer1.mk deleted file mode 100644 index 171ea2b8..00000000 --- a/buildroot-2021.05/package/gstreamer1/gstreamer1/gstreamer1.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# gstreamer1 -# -################################################################################ - -GSTREAMER1_VERSION = 1.18.4 -GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz -GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer -GSTREAMER1_INSTALL_STAGING = YES -GSTREAMER1_LICENSE_FILES = COPYING -GSTREAMER1_LICENSE = LGPL-2.0+, LGPL-2.1+ -GSTREAMER1_CPE_ID_VENDOR = gstreamer_project -GSTREAMER1_CPE_ID_PRODUCT = gstreamer - -GSTREAMER1_CONF_OPTS = \ - -Dexamples=disabled \ - -Dtests=disabled \ - -Dbenchmarks=disabled \ - -Dtools=$(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),enabled,disabled) \ - -Dgtk_doc=disabled \ - -Dgobject-cast-checks=disabled \ - -Dglib-asserts=disabled \ - -Dglib-checks=disabled \ - -Dextra-checks=disabled \ - -Dcheck=$(if $(BR2_PACKAGE_GSTREAMER1_CHECK),enabled,disabled) \ - -Dtracer_hooks=$(if $(BR2_PACKAGE_GSTREAMER1_TRACE),true,false) \ - -Doption-parsing=$(if $(BR2_PACKAGE_GSTREAMER1_PARSE),true,false) \ - -Dgst_debug=$(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),true,false) \ - -Dgst_parse=true \ - -Dregistry=$(if $(BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY),true,false) \ - -Ddoc=disabled - -GSTREAMER1_DEPENDENCIES = \ - host-bison \ - host-flex \ - host-pkgconf \ - libglib2 \ - $(if $(BR2_PACKAGE_LIBUNWIND),libunwind) \ - $(if $(BR2_PACKAGE_VALGRIND),valgrind) \ - $(TARGET_NLS_DEPENDENCIES) - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GSTREAMER1_CONF_OPTS += -Dintrospection=enabled -GSTREAMER1_DEPENDENCIES += gobject-introspection -else -GSTREAMER1_CONF_OPTS += -Dintrospection=disabled -endif - -GSTREAMER1_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gtest/Config.in b/buildroot-2021.05/package/gtest/Config.in deleted file mode 100644 index 3f1f3855..00000000 --- a/buildroot-2021.05/package/gtest/Config.in +++ /dev/null @@ -1,54 +0,0 @@ -config BR2_PACKAGE_GTEST - bool "gtest" - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_MMU # fork() - help - Google's framework for writing C++ tests on a variety of - platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and - Symbian). Based on the xUnit architecture. Supports - automatic test discovery, a rich set of assertions, - user-defined assertions, death tests, fatal and non-fatal - failures, value- and type-parameterized tests, various - options for running the tests, and XML test report - generation. - - Gtest also allows to easily build testsuites for C programs. - - This package allows running testsuites on the target which - might be advantageous in certain cases. - - https://github.com/google/googletest - -if BR2_PACKAGE_GTEST - -config BR2_PACKAGE_GTEST_GMOCK - bool "gmock" - help - Inspired by jMock, EasyMock, and Hamcrest, and designed with - C++'s specifics in mind, Google C++ Mocking Framework (or - Google Mock for short) is a library for writing and using C++ - mock classes. - - Google Mock: - - * lets you create mock classes trivially using simple - macros, supports a rich set of matchers and actions, - * handles unordered, partially ordered, or completely - ordered expectations, - * is extensible by users, and - * works on Linux, Mac OS X, Windows, Windows Mobile, minGW, - and Symbian. - - There are both host and target packages. The target one has - include files required to compile the tests and the static - libraries required to link/run them. The host package installs - gmock_gen, a Python script used to generate code mocks. - -endif # BR2_PACKAGE_GTEST - -comment "gtest needs a toolchain w/ C++, wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/gtest/gtest.hash b/buildroot-2021.05/package/gtest/gtest.hash deleted file mode 100644 index 082c5977..00000000 --- a/buildroot-2021.05/package/gtest/gtest.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb gtest-1.10.0.tar.gz -sha256 9702de7e4117a8e2b20dafab11ffda58c198aede066406496bef670d40a22138 googletest/LICENSE diff --git a/buildroot-2021.05/package/gtest/gtest.mk b/buildroot-2021.05/package/gtest/gtest.mk deleted file mode 100644 index f8b2339d..00000000 --- a/buildroot-2021.05/package/gtest/gtest.mk +++ /dev/null @@ -1,103 +0,0 @@ -################################################################################ -# -# gtest -# -################################################################################ - -GTEST_VERSION = 1.10.0 -GTEST_SITE = $(call github,google,googletest,release-$(GTEST_VERSION)) -GTEST_INSTALL_STAGING = YES -GTEST_INSTALL_TARGET = NO -GTEST_LICENSE = BSD-3-Clause -GTEST_LICENSE_FILES = googletest/LICENSE -GTEST_CPE_ID_VENDOR = google -GTEST_CPE_ID_PRODUCT = google_test - -ifeq ($(BR2_PACKAGE_GTEST_GMOCK),y) -GTEST_DEPENDENCIES += host-gtest -endif - -HOST_GTEST_LICENSE = Apache-2.0 -HOST_GTEST_LICENSE_FILES = googlemock/scripts/generator/LICENSE -ifeq ($(BR2_PACKAGE_PYTHON3),y) -HOST_GTEST_PYTHON_VERSION = $(PYTHON3_VERSION_MAJOR) -HOST_GTEST_DEPENDENCIES += host-python3 -else -HOST_GTEST_PYTHON_VERSION = $(PYTHON_VERSION_MAJOR) -HOST_GTEST_DEPENDENCIES += host-python -endif - -HOST_GTEST_GMOCK_PYTHONPATH = \ - $(HOST_DIR)/lib/python$(HOST_GTEST_PYTHON_VERSION)/site-packages - -# While it is possible to build gtest as shared library, using this gtest shared -# library requires to set some special configure option in the project using -# gtest. -# So, force to build gtest as a static library. -# -# For further details, refer to the explaination given in the README file from -# the gtest sources. -GTEST_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF - -# Ensure that GTest is compiled with -fPIC to allow linking the static -# libraries with dynamically linked programs. This is not a requirement -# for most architectures but is mandatory for ARM. -ifeq ($(BR2_STATIC_LIBS),) -GTEST_CONF_OPTS += -DCMAKE_POSITION_INDEPENDENT_CODE=ON -endif - -GTEST_CONF_OPTS += -DBUILD_GTEST=ON - -# Generate the gtest-config script manually, since the CMake build system is -# not doing it. -define GTEST_INSTALL_GTEST_CONFIG - sed 's%@PACKAGE_TARNAME@%gtest%;\ - s%@PACKAGE_VERSION@%$(GTEST_VERSION)%;\ - s%@prefix@%$(STAGING_DIR)/usr%;\ - s%@exec_prefix@%$(STAGING_DIR)/usr%;\ - s%@libdir@%$(STAGING_DIR)/usr/lib%;\ - s%@includedir@%$(STAGING_DIR)/usr/include%;\ - s%@bindir@%$(STAGING_DIR)/usr/bin%;\ - s%@PTHREAD_CFLAGS@%%;\ - s%@PTHREAD_LIBS@%-lpthread%;' \ - $(@D)/googletest/scripts/gtest-config.in \ - > $(STAGING_DIR)/usr/bin/gtest-config - chmod +x $(STAGING_DIR)/usr/bin/gtest-config -endef -GTEST_POST_INSTALL_STAGING_HOOKS = GTEST_INSTALL_GTEST_CONFIG - -ifeq ($(BR2_PACKAGE_GTEST_GMOCK),y) -GTEST_CONF_OPTS += -DBUILD_GMOCK=ON - -# Generate the gmock-config script manually, since the CMake build system is -# not doing it. -define GTEST_INSTALL_GMOCK_CONFIG - sed 's%@PACKAGE_TARNAME@%gmock%;\ - s%@PACKAGE_VERSION@%$(GTEST_VERSION)%;\ - s%@prefix@%$(STAGING_DIR)/usr%;\ - s%@exec_prefix@%$(STAGING_DIR)/usr%;\ - s%@libdir@%$(STAGING_DIR)/usr/lib%;\ - s%@includedir@%$(STAGING_DIR)/usr/include%;\ - s%@bindir@%$(STAGING_DIR)/usr/bin%;\ - s%@PTHREAD_CFLAGS@%%;\ - s%@PTHREAD_LIBS@%-lpthread%;' \ - $(@D)/googlemock/scripts/gmock-config.in \ - > $(STAGING_DIR)/usr/bin/gmock-config - chmod +x $(STAGING_DIR)/usr/bin/gmock-config -endef -GTEST_POST_INSTALL_STAGING_HOOKS += GTEST_INSTALL_GMOCK_CONFIG -else -GTEST_CONF_OPTS += -DBUILD_GMOCK=OFF -endif - -define HOST_GTEST_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/googlemock/scripts/generator/gmock_gen.py \ - $(HOST_DIR)/bin/gmock_gen - cp -rp $(@D)/googlemock/scripts/generator/cpp \ - $(HOST_GTEST_GMOCK_PYTHONPATH) -endef - -$(eval $(cmake-package)) -# The host package does not build anything, just installs gmock_gen stuff, so -# it does not need to be a host-cmake-package. -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/gtkmm3/Config.in b/buildroot-2021.05/package/gtkmm3/Config.in deleted file mode 100644 index 8762c720..00000000 --- a/buildroot-2021.05/package/gtkmm3/Config.in +++ /dev/null @@ -1,30 +0,0 @@ -comment "gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ - || !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 \ - || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_GTKMM3 - bool "gtkmm3" - # Broken on existing external/internal nios2 toolchains, - # revisit when they are upgraded with at least Binutils >= 2.26 - # and GCC >= 5.3. - # https://sourceware.org/bugzilla/show_bug.cgi?id=19405 - depends on !BR2_nios2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz - depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 - depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/libgtk3 -> libglib2 - depends on BR2_USE_MMU # *mm/libgtk3 -> libglib2 - depends on BR2_USE_WCHAR # *mm/libgtk3 -> libglib2 - depends on BR2_PACKAGE_LIBGTK3 - select BR2_PACKAGE_ATKMM - select BR2_PACKAGE_CAIROMM - select BR2_PACKAGE_GLIBMM - select BR2_PACKAGE_LIBSIGC - select BR2_PACKAGE_PANGOMM - help - The gtkmm3 package is a set of C++ bindings for GTK 3. - - http://www.gtkmm.org/ diff --git a/buildroot-2021.05/package/guile/0001-fix_arm_endianness.patch b/buildroot-2021.05/package/guile/0001-fix_arm_endianness.patch deleted file mode 100644 index 67c0b606..00000000 --- a/buildroot-2021.05/package/guile/0001-fix_arm_endianness.patch +++ /dev/null @@ -1,25 +0,0 @@ -Fix support for ARM endianness, otherwise it gives the error -"unknown CPU endianness" - -Signed-off-by: Pedro Aguilar - -diff -Nau guile-2.0.11.orig/module/system/base/target.scm guile-2.0.11/module/system/base/target.scm ---- guile-2.0.11.orig/module/system/base/target.scm 2013-02-28 09:42:45.000000000 +0100 -+++ guile-2.0.11/module/system/base/target.scm 2014-11-03 23:05:01.789338997 +0100 -@@ -70,7 +70,15 @@ - ((member cpu '("sparc" "sparc64" "powerpc" "powerpc64" "spu" - "mips" "mips64")) - (endianness big)) -- ((string-match "^arm.*el" cpu) -+ ((string-match "^arm.*el" cpu) -+ (endianness little)) -+ ((string-match "^arm.*eb" cpu) -+ (endianness big)) -+ ((string-prefix? "arm" cpu) ;ARMs are LE by default -+ (endianness little)) -+ ((string-match "^aarch64.*be" cpu) -+ (endianness big)) -+ ((string=? "aarch64" cpu) - (endianness little)) - (else - (error "unknown CPU endianness" cpu))))) diff --git a/buildroot-2021.05/package/guile/Config.in b/buildroot-2021.05/package/guile/Config.in deleted file mode 100644 index c26c296e..00000000 --- a/buildroot-2021.05/package/guile/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_GUILE - bool "guile" - depends on !BR2_TOOLCHAIN_USES_MUSL # no strtol_l - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc - depends on BR2_USE_WCHAR # libunistring - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LIBUNISTRING - select BR2_PACKAGE_LIBFFI - select BR2_PACKAGE_GMP - select BR2_PACKAGE_BDWGC - select BR2_PACKAGE_LIBTOOL - help - Guile is an interpreter and compiler for the Scheme - programming language, a clean and elegant dialect of Lisp. - - http://www.gnu.org/software/guile - -comment "guile needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ - BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL diff --git a/buildroot-2021.05/package/guile/guile.hash b/buildroot-2021.05/package/guile/guile.hash deleted file mode 100644 index a163f59f..00000000 --- a/buildroot-2021.05/package/guile/guile.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 6b7947dc2e3d115983846a268b8f5753c12fd5547e42fbf2b97d75a3b79f0d31 guile-3.0.4.tar.xz -# Locally computed -sha256 b51c6f20e6d029cb5b3e5bf235ac562c9a188c5bdc4ffcdc663897772d6e0260 LICENSE -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 9ccf26cfe845e0eb8bb58053e47366e7ab6b697ae010f7650978d4b71b7d1fc1 COPYING.LESSER diff --git a/buildroot-2021.05/package/guile/guile.mk b/buildroot-2021.05/package/guile/guile.mk deleted file mode 100644 index 44f4d1c8..00000000 --- a/buildroot-2021.05/package/guile/guile.mk +++ /dev/null @@ -1,72 +0,0 @@ -################################################################################ -# -# guile -# -################################################################################ - -GUILE_VERSION = 3.0.4 -GUILE_SOURCE = guile-$(GUILE_VERSION).tar.xz -GUILE_SITE = $(BR2_GNU_MIRROR)/guile -GUILE_INSTALL_STAGING = YES -# For 0002-calculate-csqrt_manually.patch and -# 0003-Makefile.am-fix-build-without-makeinfo.patch -GUILE_AUTORECONF = YES -GUILE_LICENSE = LGPL-3.0+ -GUILE_LICENSE_FILES = LICENSE COPYING COPYING.LESSER - -# libtool dependency is needed because guile uses libltdl -GUILE_DEPENDENCIES = host-guile libunistring libffi gmp bdwgc host-pkgconf libtool -HOST_GUILE_DEPENDENCIES = host-libunistring host-libffi host-gmp host-bdwgc host-flex host-pkgconf host-gettext - -# The HAVE_GC* CFLAGS specify that we will use internal callbacks -# instead of the ones provided by -# bdwgc. Eg. HAVE_GC_SET_FINALIZER_NOTIFIER specifies that we won't -# use bdwgc's GC_finalizer_notifier callback. Trying to use these -# specific bdwgc's callbacks breaks guile's building. -GUILE_CFLAGS = \ - -DHAVE_GC_SET_FINALIZER_NOTIFIER \ - -DHAVE_GC_GET_HEAP_USAGE_SAFE \ - -DHAVE_GC_GET_FREE_SPACE_DIVISOR \ - -DHAVE_GC_SET_FINALIZE_ON_DEMAND - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -GUILE_CONF_ENV += LIBS=-latomic -endif - -ifeq ($(BR2_STATIC_LIBS),y) -GUILE_CFLAGS += -DGC_NO_DLOPEN -endif - -# Triggers assembler error with -Os -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM)$(BR2_OPTIMIZE_S),yy) -GUILE_CFLAGS += -O2 -endif - -# jit triggers build failures with gcc < 5 -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),) -GUILE_CONF_OPTS += --disable-jit -endif -ifeq ($(BR2_HOST_GCC_AT_LEAST_5),) -HOST_GUILE_CONF_OPTS += --disable-jit -endif - -# It can use readline, but on the condition that it was build against -# ncurses. If both aren't present disable readline support since the -# host readline/ncurses support can poison the build. -ifeq ($(BR2_PACKAGE_NCURSES)$(BR2_PACKAGE_READLINE),yy) -GUILE_CONF_OPTS += --with-libreadline-prefix=$(STAGING_DIR)/usr -GUILE_DEPENDENCIES += readline -else -GUILE_CONF_OPTS += --without-libreadline-prefix -endif - -GUILE_CONF_ENV += GUILE_FOR_BUILD=$(HOST_DIR)/bin/guile \ - CFLAGS="$(TARGET_CFLAGS) $(GUILE_CFLAGS)" - -GUILE_CONF_OPTS += \ - --with-libltdl-prefix=$(STAGING_DIR)/usr/lib \ - --with-libgmp-prefix=$(STAGING_DIR)/usr/lib \ - --with-libunistring-prefix=$(STAGING_DIR)/usr/lib - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gupnp-av/gupnp-av.hash b/buildroot-2021.05/package/gupnp-av/gupnp-av.hash deleted file mode 100644 index 5dc2ac1a..00000000 --- a/buildroot-2021.05/package/gupnp-av/gupnp-av.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-av/0.12/gupnp-av-0.12.11.sha256sum: -sha256 689dcf1492ab8991daea291365a32548a77d1a2294d85b33622b55cca9ce6fdc gupnp-av-0.12.11.tar.xz - -# Hash for license file: -sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/buildroot-2021.05/package/gupnp-av/gupnp-av.mk b/buildroot-2021.05/package/gupnp-av/gupnp-av.mk deleted file mode 100644 index 55436d0e..00000000 --- a/buildroot-2021.05/package/gupnp-av/gupnp-av.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# gupnp-av -# -################################################################################ - -GUPNP_AV_VERSION_MAJOR = 0.12 -GUPNP_AV_VERSION = $(GUPNP_AV_VERSION_MAJOR).11 -GUPNP_AV_SOURCE = gupnp-av-$(GUPNP_AV_VERSION).tar.xz -GUPNP_AV_SITE = http://ftp.gnome.org/pub/gnome/sources/gupnp-av/$(GUPNP_AV_VERSION_MAJOR) -GUPNP_AV_LICENSE = LGPL-2.0+ -GUPNP_AV_LICENSE_FILES = COPYING -GUPNP_AV_INSTALL_STAGING = YES -GUPNP_AV_DEPENDENCIES = host-pkgconf libglib2 libxml2 gupnp - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GUPNP_AV_CONF_OPTS += --enable-introspection -GUPNP_AV_DEPENDENCIES += gobject-introspection -else -GUPNP_AV_CONF_OPTS += --disable-introspection -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gupnp-dlna/gupnp-dlna.hash b/buildroot-2021.05/package/gupnp-dlna/gupnp-dlna.hash deleted file mode 100644 index 01c74897..00000000 --- a/buildroot-2021.05/package/gupnp-dlna/gupnp-dlna.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-dlna/0.10/gupnp-dlna-0.10.5.sha256sum: -sha256 123e368227c11d5c17fc1aa76cbdaffa345355eb51d172cd39fc74a5b468ff6a gupnp-dlna-0.10.5.tar.xz - -# Locally computed: -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/gupnp-dlna/gupnp-dlna.mk b/buildroot-2021.05/package/gupnp-dlna/gupnp-dlna.mk deleted file mode 100644 index 85d30b7c..00000000 --- a/buildroot-2021.05/package/gupnp-dlna/gupnp-dlna.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# gupnp-dlna -# -################################################################################ - -GUPNP_DLNA_VERSION_MAJOR = 0.10 -GUPNP_DLNA_VERSION = $(GUPNP_DLNA_VERSION_MAJOR).5 -GUPNP_DLNA_SOURCE = gupnp-dlna-$(GUPNP_DLNA_VERSION).tar.xz -GUPNP_DLNA_SITE = \ - http://ftp.gnome.org/pub/gnome/sources/gupnp-dlna/$(GUPNP_DLNA_VERSION_MAJOR) -# COPYING contains LGPL-2.1 but all source files contain LPGL-2.0+ -GUPNP_DLNA_LICENSE = LGPL-2.0+ -GUPNP_DLNA_LICENSE_FILES = COPYING -GUPNP_DLNA_INSTALL_STAGING = YES -GUPNP_DLNA_DEPENDENCIES = host-pkgconf libglib2 libxml2 - -GUPNP_DLNA_CONF_OPTS = \ - --disable-introspection \ - --disable-legacy-gstreamer-metadata-backend - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) -GUPNP_DLNA_CONF_OPTS += --enable-gstreamer-metadata-backend -GUPNP_DLNA_DEPENDENCIES += gstreamer1 gst1-plugins-base -else -GUPNP_DLNA_CONF_OPTS += --disable-gstreamer-metadata-backend -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gupnp-tools/0001-src-meson.build-upload-needs-gupnp-av.patch b/buildroot-2021.05/package/gupnp-tools/0001-src-meson.build-upload-needs-gupnp-av.patch deleted file mode 100644 index f8eba767..00000000 --- a/buildroot-2021.05/package/gupnp-tools/0001-src-meson.build-upload-needs-gupnp-av.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 0831f77e990e363f78e3f6a5c461084988824f7b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 2 Jul 2019 23:48:12 +0200 -Subject: [PATCH] src/meson.build: upload needs gupnp-av - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.gnome.org/GNOME/gupnp-tools/merge_requests/3] ---- - src/meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/meson.build b/src/meson.build -index 84b2ca2..6601f45 100644 ---- a/src/meson.build -+++ b/src/meson.build -@@ -2,9 +2,9 @@ subdir('common') - - if get_option('av-tools') and gupnp_av.found() - subdir('av-cp') -+ subdir('upload') - endif - - subdir('discover') - subdir('network-light') - subdir('universal-cp') --subdir('upload') --- -2.20.1 - diff --git a/buildroot-2021.05/package/gupnp-tools/gupnp-tools.hash b/buildroot-2021.05/package/gupnp-tools/gupnp-tools.hash deleted file mode 100644 index 30f1b829..00000000 --- a/buildroot-2021.05/package/gupnp-tools/gupnp-tools.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/0.10/gupnp-tools-0.10.0.sha256sum: -sha256 41da7ff5ba8e2425adcb64ca5e04c81f57ca20ec6fdb84923939fdad42c6a18d gupnp-tools-0.10.0.tar.xz - -# Locally computed: -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/gupnp-tools/gupnp-tools.mk b/buildroot-2021.05/package/gupnp-tools/gupnp-tools.mk deleted file mode 100644 index 182b0145..00000000 --- a/buildroot-2021.05/package/gupnp-tools/gupnp-tools.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# gupnp-tools -# -################################################################################ - -GUPNP_TOOLS_VERSION_MAJOR = 0.10 -GUPNP_TOOLS_VERSION = $(GUPNP_TOOLS_VERSION_MAJOR).0 -GUPNP_TOOLS_SOURCE = gupnp-tools-$(GUPNP_TOOLS_VERSION).tar.xz -GUPNP_TOOLS_SITE = \ - http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/$(GUPNP_TOOLS_VERSION_MAJOR) -GUPNP_TOOLS_LICENSE = GPL-2.0+ -GUPNP_TOOLS_LICENSE_FILES = COPYING -GUPNP_TOOLS_INSTALL_STAGING = YES -GUPNP_TOOLS_DEPENDENCIES = \ - host-pkgconf \ - libglib2 \ - libxml2 \ - gssdp \ - gupnp \ - libsoup \ - libgtk3 \ - $(TARGET_NLS_DEPENDENCIES) - -GUPNP_TOOLS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -ifeq ($(BR2_PACKAGE_GUPNP_AV),y) -GUPNP_TOOLS_CONF_OPTS += -Dav-tools=true -GUPNP_TOOLS_DEPENDENCIES += gupnp-av -else -GUPNP_TOOLS_CONF_OPTS += -Dav-tools=false -endif - -ifeq ($(BR2_PACKAGE_GTKSOURCEVIEW),y) -GUPNP_TOOLS_DEPENDENCIES += gtksourceview -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gupnp/0001-doc-Check-for-stylesheet-existence-on-doc-build.patch b/buildroot-2021.05/package/gupnp/0001-doc-Check-for-stylesheet-existence-on-doc-build.patch deleted file mode 100644 index 448996da..00000000 --- a/buildroot-2021.05/package/gupnp/0001-doc-Check-for-stylesheet-existence-on-doc-build.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 7ce37c94596029358a67d732a82e4313f7b89135 Mon Sep 17 00:00:00 2001 -From: Jens Georg -Date: Sun, 30 May 2021 13:13:00 +0200 -Subject: [PATCH] doc: Check for stylesheet existence on doc build - -Checking for xsltproc is not enough - -Fixes #17 - -[Retrieved from: -https://gitlab.gnome.org/GNOME/gupnp/-/commit/7ce37c94596029358a67d732a82e4313f7b89135] -Signed-off-by: Fabrice Fontaine ---- - doc/meson.build | 34 +++++++++++++++++++++++++--------- - 1 file changed, 25 insertions(+), 9 deletions(-) - -diff --git a/doc/meson.build b/doc/meson.build -index 26c32c9..eb69d07 100644 ---- a/doc/meson.build -+++ b/doc/meson.build -@@ -30,6 +30,8 @@ endif - - xsltproc = find_program('xsltproc', required: false) - if xsltproc.found() -+ stylesheet = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl' -+ - xlstproc_flags = [ - '--nonet', - '--xinclude', -@@ -45,17 +47,31 @@ if xsltproc.found() - xsltproc, - xlstproc_flags, - '-o', '@OUTPUT@', -- 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl', -+ stylesheet, - '@INPUT@' - ] - -- custom_target( -- 'man 1 pages', -- input: 'gupnp-binding-tool.xml', -- output: 'gupnp-binding-tool-1.2.1', -- command: xsltproc_args, -- depend_files : version_xml, -- install: true, -- install_dir: join_paths(get_option('mandir'), 'man1') -+ stylesheet_check = run_command( -+ [ -+ xsltproc, -+ xlstproc_flags, -+ '--noout', -+ stylesheet, -+ 'gupnp-binding-tool.xml' -+ ] - ) -+ if (stylesheet_check.returncode() == 0) -+ message('Stylesheet ' + stylesheet + ' available') -+ custom_target( -+ 'man 1 pages', -+ input: 'gupnp-binding-tool.xml', -+ output: 'gupnp-binding-tool-1.2.1', -+ command: xsltproc_args, -+ depend_files : version_xml, -+ install: true, -+ install_dir: join_paths(get_option('mandir'), 'man1') -+ ) -+ else -+ message('Stylesheet ' + stylesheet + ' not found, not building man page') -+ endif - endif --- -GitLab - diff --git a/buildroot-2021.05/package/gupnp/gupnp.hash b/buildroot-2021.05/package/gupnp/gupnp.hash deleted file mode 100644 index 7064c9f6..00000000 --- a/buildroot-2021.05/package/gupnp/gupnp.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp/1.2/gupnp-1.2.6.sha256sum: -sha256 00b20f1e478a72deac92c34723693a2ac55789ed1e4bb4eed99eb4d62092aafd gupnp-1.2.6.tar.xz - -# Hash for license file: -sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/buildroot-2021.05/package/gupnp/gupnp.mk b/buildroot-2021.05/package/gupnp/gupnp.mk deleted file mode 100644 index 7ec0e638..00000000 --- a/buildroot-2021.05/package/gupnp/gupnp.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# gupnp -# -################################################################################ - -GUPNP_VERSION_MAJOR = 1.2 -GUPNP_VERSION = $(GUPNP_VERSION_MAJOR).6 -GUPNP_SOURCE = gupnp-$(GUPNP_VERSION).tar.xz -GUPNP_SITE = http://ftp.gnome.org/pub/gnome/sources/gupnp/$(GUPNP_VERSION_MAJOR) -GUPNP_LICENSE = LGPL-2.0+ -GUPNP_LICENSE_FILES = COPYING -GUPNP_INSTALL_STAGING = YES -GUPNP_DEPENDENCIES = host-pkgconf libglib2 libxml2 gssdp util-linux -GUPNP_CONF_OPTS = -Dexamples=false - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -GUPNP_CONF_OPTS += -Dintrospection=true -Dvapi=true -GUPNP_DEPENDENCIES += host-vala gobject-introspection -else -GUPNP_CONF_OPTS += -Dintrospection=false -Dvapi=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gutenprint/0002-cups-support-replaces-static-with-static-libtool-lib.patch b/buildroot-2021.05/package/gutenprint/0002-cups-support-replaces-static-with-static-libtool-lib.patch deleted file mode 100644 index d8cfb7d9..00000000 --- a/buildroot-2021.05/package/gutenprint/0002-cups-support-replaces-static-with-static-libtool-lib.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 08a5d355160eb2ac8346ae1b94591418343217f9 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sun, 17 Aug 2014 23:43:20 +0200 -Subject: [PATCH 1/1] cups support: replaces -static with -static-libtool-libs - -gutenprint rely on the original behaviour of -static, but since commit -in buildroot "support/libtool: make -static behave like -all-static" [1], -the build of genppd is broken. - -genppd need to be build statically otherwise the following warning appears: -***WARNING: Use of --disable-static-genppd or --disable-static - when building CUPS is very dangerous. The build may - fail when building the PPD files, or may *SILENTLY* - build incorrect PPD files or cause other problems. - Please review the README and release notes carefully! - -[1] http://git.buildroot.net/buildroot/commit/?id=97703978ac870ce2b14ad144f8e082de82aa2c64 - -Signed-off-by: Romain Naour ---- - src/cups/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/cups/Makefile.am b/src/cups/Makefile.am -index 1e27ae0..d711b70 100644 ---- a/src/cups/Makefile.am -+++ b/src/cups/Makefile.am -@@ -84,7 +84,7 @@ noinst_SCRIPTS=test-rastertogutenprint - endif - - if BUILD_GENPPD_STATIC --STATIC_LDOPTS=-static -export-dynamic -+STATIC_LDOPTS=-static-libtool-libs -export-dynamic - endif - - cups_calibrate_SOURCES = cups-calibrate.c --- -1.9.3 - diff --git a/buildroot-2021.05/package/gvfs/0001-meson.build-fix-linking-with-libmetadata.patch b/buildroot-2021.05/package/gvfs/0001-meson.build-fix-linking-with-libmetadata.patch deleted file mode 100644 index 3ee4a28e..00000000 --- a/buildroot-2021.05/package/gvfs/0001-meson.build-fix-linking-with-libmetadata.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 731256d7517f0d9cf0b999bb22f864080d5e8690 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 18 Jul 2020 10:00:50 +0200 -Subject: [PATCH] meson.build: fix linking with libmetadata - -libmetadata is built as a static library and depends on libgvfscommon so -change the dependencies order to put libgvfscommon_dep after -libmetadata_dep or gvfsd-metadata will fail to link on: - -FAILED: metadata/gvfsd-metadata -/home/naourr/work/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc -o metadata/gvfsd-metadata 'metadata/45447b7@@gvfsd-metadata@exe/meta-daemon.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wl,--start-group common/libgvfscommon.so metadata/libmetadata.a /home/naourr/work/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libgio-2.0.so /home/naourr/work/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libgobject-2.0.so /home/naourr/work/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libglib-2.0.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/../common:$ORIGIN/' -Wl,-rpath-link,/home/naourr/work/instance-3/output-1/build/gvfs-1.44.1/build/common -Wl,-rpath-link,/home/naourr/work/instance-3/output-1/build/gvfs-1.44.1/build/metadata -metadata/libmetadata.a(metatree.c.o): In function `safe_open': -metatree.c:(.text+0x9c8): undefined reference to `gvfs_randomize_string' -collect2: error: ld returned 1 exit status - -Apply this change in the whole source code and not only for -gvfsd-metadata to avoid any other build failures. - -Fixes: - - http://autobuild.buildroot.org/results//fa892c41b6b9285839a0164b000e37fb04dcc194 - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.gnome.org/GNOME/gvfs/-/merge_requests/92] ---- - client/meson.build | 2 +- - metadata/meson.build | 5 +++-- - 2 files changed, 4 insertions(+), 3 deletions(-) - -diff --git a/client/meson.build b/client/meson.build -index 8f57d0d3..1d251481 100644 ---- a/client/meson.build -+++ b/client/meson.build -@@ -33,8 +33,8 @@ sources = uri_parser_sources + uri_utils + files( - - deps = [ - gio_unix_dep, -- libgvfscommon_dep, - libmetadata_dep, -+ libgvfscommon_dep, - ] - - cflags = [ -diff --git a/metadata/meson.build b/metadata/meson.build -index 4e120d18..5699e6f2 100644 ---- a/metadata/meson.build -+++ b/metadata/meson.build -@@ -72,8 +72,8 @@ libmetadata_dep = declare_dependency( - ) - - deps = [ -- libgvfscommon_dep, - libmetadata_dep, -+ libgvfscommon_dep, - ] - - if enable_gudev -@@ -105,8 +105,8 @@ if enable_devel_utils - app + '.c', - include_directories: top_inc, - dependencies: [ -- libgvfscommon_dep, - libmetadata_dep, -+ libgvfscommon_dep, - ], - c_args: cflags, - ) -@@ -119,6 +119,7 @@ if enable_devel_utils - include_directories: top_inc, - dependencies: [ - libmetadata_dep, -+ libgvfscommon_dep, - libxml_dep, - ], - c_args: cflags, --- -2.27.0 - diff --git a/buildroot-2021.05/package/gvfs/gvfs.hash b/buildroot-2021.05/package/gvfs/gvfs.hash deleted file mode 100644 index 2ee945e7..00000000 --- a/buildroot-2021.05/package/gvfs/gvfs.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.44/gvfs-1.44.1.sha256sum -sha256 50ef3245d1b03666a40455109169a2a1bd51419fd2d51f9fa6cfd4f89f04fb46 gvfs-1.44.1.tar.xz - -# Hash for license file -sha256 45cf336e2e48176993babc5aabf44437390f40e6a86a472c6abfc7ce9c035db4 COPYING diff --git a/buildroot-2021.05/package/gvfs/gvfs.mk b/buildroot-2021.05/package/gvfs/gvfs.mk deleted file mode 100644 index fc77e8e1..00000000 --- a/buildroot-2021.05/package/gvfs/gvfs.mk +++ /dev/null @@ -1,171 +0,0 @@ -################################################################################ -# -# gvfs -# -################################################################################ - -GVFS_VERSION_MAJOR = 1.44 -GVFS_VERSION = $(GVFS_VERSION_MAJOR).1 -GVFS_SOURCE = gvfs-$(GVFS_VERSION).tar.xz -GVFS_SITE = http://ftp.gnome.org/pub/GNOME/sources/gvfs/$(GVFS_VERSION_MAJOR) -GVFS_INSTALL_STAGING = YES -GVFS_DEPENDENCIES = \ - host-pkgconf \ - host-libglib2 \ - dbus \ - gsettings-desktop-schemas \ - libglib2 \ - shared-mime-info \ - $(TARGET_NLS_DEPENDENCIES) -GVFS_LICENSE = LGPL-2.0+ -GVFS_LICENSE_FILES = COPYING -GVFS_CPE_ID_VENDOR = gnome - -GVFS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -# Most of these are missing library support -GVFS_CONF_OPTS = \ - -Dafc=false \ - -Dgoa=false \ - -Dgoogle=false \ - -Dmtp=false \ - -Dsftp=false \ - -Dudisks2=false - -ifeq ($(BR2_PACKAGE_AVAHI),y) -GVFS_DEPENDENCIES += avahi -GVFS_CONF_OPTS += -Ddnssd=true -else -GVFS_CONF_OPTS += -Ddnssd=false -endif - -ifeq ($(BR2_PACKAGE_GCR),y) -GVFS_DEPENDENCIES += gcr -GVFS_CONF_OPTS += -Dgcr=true -else -GVFS_CONF_OPTS += -Dgcr=false -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -GVFS_DEPENDENCIES += udev -endif - -ifeq ($(BR2_PACKAGE_LIBGUDEV),y) -GVFS_DEPENDENCIES += libgudev -GVFS_CONF_OPTS += -Dgudev=true -else -GVFS_CONF_OPTS += -Dgudev=false -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) -GVFS_DEPENDENCIES += libarchive -GVFS_CONF_OPTS += -Darchive=true -else -GVFS_CONF_OPTS += -Darchive=false -endif - -ifeq ($(BR2_PACKAGE_LIBBLURAY),y) -GVFS_DEPENDENCIES += libbluray -GVFS_CONF_OPTS += -Dbluray=true -else -GVFS_CONF_OPTS += -Dbluray=false -endif - -ifeq ($(BR2_PACKAGE_LIBCAP)$(BR2_PACKAGE_POLKIT),yy) -GVFS_DEPENDENCIES += libcap polkit -GVFS_CONF_OPTS += -Dadmin=true -else -GVFS_CONF_OPTS += -Dadmin=false -endif - -ifeq ($(BR2_PACKAGE_LIBCDIO_PARANOIA)$(BR2_PACKAGE_LIBGUDEV),yy) -GVFS_DEPENDENCIES += libcdio-paranoia libgudev -GVFS_CONF_OPTS += -Dcdda=true -else -GVFS_CONF_OPTS += -Dcdda=false -endif - -ifeq ($(BR2_PACKAGE_LIBFUSE3),y) -GVFS_DEPENDENCIES += libfuse3 -GVFS_CONF_OPTS += -Dfuse=true -else -GVFS_CONF_OPTS += -Dfuse=false -endif - -# AFP support is anon-only without libgcrypt which isn't very useful -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -GVFS_CONF_OPTS += \ - -Dafp=true \ - -Dgcrypt=true -GVFS_DEPENDENCIES += libgcrypt -else -GVFS_CONF_OPTS += \ - -Dafp=false \ - -Dgcrypt=false -endif - -ifeq ($(BR2_PACKAGE_LIBGPHOTO2)$(BR2_PACKAGE_LIBGUDEV),yy) -GVFS_DEPENDENCIES += libgphoto2 libgudev -GVFS_CONF_OPTS += -Dgphoto2=true -else -GVFS_CONF_OPTS += -Dgphoto2=false -endif - -ifeq ($(BR2_PACKAGE_LIBNFS),y) -GVFS_CONF_OPTS += -Dnfs=true -GVFS_DEPENDENCIES += libnfs -else -GVFS_CONF_OPTS += -Dnfs=false -endif - -ifeq ($(BR2_PACKAGE_LIBSECRET),y) -GVFS_DEPENDENCIES += libsecret -GVFS_CONF_OPTS += -Dkeyring=true -else -GVFS_CONF_OPTS += -Dkeyring=false -endif - -ifeq ($(BR2_PACKAGE_LIBSOUP)$(BR2_PACKAGE_LIBXML2),yy) -GVFS_DEPENDENCIES += libsoup libxml2 -GVFS_CONF_OPTS += -Dhttp=true -else -GVFS_CONF_OPTS += -Dhttp=false -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -GVFS_DEPENDENCIES += libusb -GVFS_CONF_OPTS += -Dlibusb=true -else -GVFS_CONF_OPTS += -Dlibusb=false -endif - -ifeq ($(BR2_PACKAGE_SAMBA4),y) -GVFS_DEPENDENCIES += samba4 -GVFS_CONF_OPTS += -Dsmb=true -else -GVFS_CONF_OPTS += -Dsmb=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -GVFS_DEPENDENCIES += systemd -GVFS_CONF_OPTS += -Dlogind=true -else -GVFS_CONF_OPTS += \ - -Dlogind=false \ - -Dsystemduserunitdir=no \ - -Dtmpfilesdir=no -endif - -define GVFS_REMOVE_TARGET_SCHEMAS - rm $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml -endef - -define GVFS_COMPILE_SCHEMAS - $(HOST_DIR)/bin/glib-compile-schemas --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas $(STAGING_DIR)/usr/share/glib-2.0/schemas -endef - -GVFS_POST_INSTALL_TARGET_HOOKS += \ - GVFS_REMOVE_TARGET_SCHEMAS \ - GVFS_COMPILE_SCHEMAS - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gzip/gzip.hash b/buildroot-2021.05/package/gzip/gzip.hash deleted file mode 100644 index 5675b3ed..00000000 --- a/buildroot-2021.05/package/gzip/gzip.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/gzip/gzip-1.10.tar.xz.sig -# using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE -sha256 8425ccac99872d544d4310305f915f5ea81e04d0f437ef1a230dc9d1c819d7c0 gzip-1.10.tar.xz -# Locally calculated -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/gzip/gzip.mk b/buildroot-2021.05/package/gzip/gzip.mk deleted file mode 100644 index c8fd3ddb..00000000 --- a/buildroot-2021.05/package/gzip/gzip.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# gzip -# -################################################################################ - -GZIP_VERSION = 1.10 -GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz -GZIP_SITE = $(BR2_GNU_MIRROR)/gzip -# Some other tools expect it to be in /bin -GZIP_CONF_OPTS = --exec-prefix=/ -GZIP_LICENSE = GPL-3.0+ -GZIP_LICENSE_FILES = COPYING -GZIP_CPE_ID_VENDOR = gnu -GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes -HOST_GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes -# configure substitutes $(SHELL) for the shell shebang in scripts like -# gzexe. Unfortunately, the same $(SHELL) variable will also be used by -# make to run its commands. Fortunately, /bin/sh is always a POSIX shell -# on both the target and host systems that we support. Even with this, -# the configure check is slightly broken and prints a bogus warning: -# "using /bin/sh, even though it may have file descriptor bugs" -GZIP_CONF_ENV += ac_cv_path_shell=/bin/sh - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/hackrf/hackrf.mk b/buildroot-2021.05/package/hackrf/hackrf.mk deleted file mode 100644 index b83f6518..00000000 --- a/buildroot-2021.05/package/hackrf/hackrf.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# hackrf -# -################################################################################ - -HACKRF_VERSION = 2018.01.1 -HACKRF_SITE = https://github.com/mossmann/hackrf/releases/download/v$(HACKRF_VERSION) -HACKRF_SOURCE = hackrf-$(HACKRF_VERSION).tar.xz -HACKRF_LICENSE = GPL-2.0+ BSD-3c -HACKRF_LICENSE_FILES = COPYING -HACKRF_DEPENDENCIES = fftw-single libusb -HACKRF_SUBDIR = host -HACKRF_INSTALL_STAGING = YES - -HACKRF_CONF_OPTS += -DBUILD_HACKRF_TOOLS=ON - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -HACKRF_CONF_OPTS += \ - -DINSTALL_UDEV_RULES=ON \ - -DUDEV_RULES_GROUP=plugdev -else -HACKRF_CONF_OPTS += -DINSTALL_UDEV_RULES=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/haproxy/haproxy.hash b/buildroot-2021.05/package/haproxy/haproxy.hash deleted file mode 100644 index 66a6f40b..00000000 --- a/buildroot-2021.05/package/haproxy/haproxy.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From: http://www.haproxy.org/download/2.2/src/haproxy-2.2.14.tar.gz.sha256 -sha256 6a9b702f04b07786f3e5878de8172a727acfdfdbc1cefe1c7a438df372f2fb61 haproxy-2.2.14.tar.gz -# Locally computed: -sha256 0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28 LICENSE -sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a doc/lgpl.txt -sha256 ddb9db7630752f8fdc6898f7c99a99eaeeac5213627ecb093df9c82f56175dc7 doc/gpl.txt diff --git a/buildroot-2021.05/package/haproxy/haproxy.mk b/buildroot-2021.05/package/haproxy/haproxy.mk deleted file mode 100644 index 6254819a..00000000 --- a/buildroot-2021.05/package/haproxy/haproxy.mk +++ /dev/null @@ -1,93 +0,0 @@ -################################################################################ -# -# haproxy -# -################################################################################ - -HAPROXY_VERSION_MAJOR = 2.2 -HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).14 -HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src -HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions -HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt -HAPROXY_CPE_ID_VENDOR = haproxy - -HAPROXY_MAKE_OPTS = \ - LD=$(TARGET_CC) \ - PREFIX=/usr \ - TARGET=custom - -ifeq ($(BR2_STATIC_LIBS),) -HAPROXY_MAKE_OPTS += USE_DL=1 -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -HAPROXY_LIBS += -latomic -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) -# threads uses atomics on gcc >= 4.7 and sync otherwise (see -# include/common/hathreads.h) -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7):$(BR2_TOOLCHAIN_HAS_ATOMIC),y:y) -HAPROXY_MAKE_OPTS += USE_THREAD=1 -else ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7):$(BR2_TOOLCHAIN_HAS_SYNC_4),:y) -HAPROXY_MAKE_OPTS += USE_THREAD=1 -endif -endif - -ifeq ($(BR2_PACKAGE_LUA_5_3),y) -HAPROXY_DEPENDENCIES += lua -HAPROXY_MAKE_OPTS += \ - LUA_LIB_NAME=lua \ - USE_LUA=1 -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -HAPROXY_DEPENDENCIES += openssl -HAPROXY_MAKE_OPTS += USE_OPENSSL=1 -ifeq ($(BR2_STATIC_LIBS),y) -HAPROXY_LIBS += -lz -endif -endif - -# pcre and pcre2 can't be enabled at the same time so prefer pcre2 -ifeq ($(BR2_PACKAGE_PCRE2),y) -HAPROXY_DEPENDENCIES += pcre2 -HAPROXY_MAKE_OPTS += \ - PCRE2_CONFIG=$(STAGING_DIR)/usr/bin/pcre2-config \ - USE_PCRE2=1 -else ifeq ($(BR2_PACKAGE_PCRE),y) -HAPROXY_DEPENDENCIES += pcre -HAPROXY_MAKE_OPTS += \ - PCRE_CONFIG=$(STAGING_DIR)/usr/bin/pcre-config \ - USE_PCRE=1 -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -HAPROXY_DEPENDENCIES += systemd -HAPROXY_MAKE_OPTS += USE_SYSTEMD=1 -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -HAPROXY_DEPENDENCIES += zlib -HAPROXY_MAKE_OPTS += USE_ZLIB=1 -endif - -HAPROXY_MAKE_OPTS += ADDLIB="$(HAPROXY_LIBS)" - -HAPROXY_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_90620),y) -HAPROXY_CFLAGS += -O0 -endif - -define HAPROXY_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - $(HAPROXY_MAKE_OPTS) CFLAGS="$(HAPROXY_CFLAGS)" -C $(@D) -endef - -define HAPROXY_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - $(HAPROXY_MAKE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch b/buildroot-2021.05/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch deleted file mode 100644 index 6d7225cb..00000000 --- a/buildroot-2021.05/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 96bbf3a3af45d86f790afdf91a6686c37421e92b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 15 Nov 2020 10:57:37 +0100 -Subject: [PATCH] meson.build: check for pthread.h - -Check for pthread.h otherwise the build will fail with some toolchains -that have libphtread.so but not pthread.h: - -Run-time dependency threads found: YES - -../src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory - #include - ^~~~~~~~~~~ - -Moreover, fix detection of pthread fallback - -Fixes: - - http://autobuild.buildroot.org/results/70c98e89b1d5e5b651d1f6928dc53f465103f57a - -Signed-off-by: Fabrice Fontaine ---- - meson.build | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/meson.build b/meson.build -index bf3925db..6d263d48 100644 ---- a/meson.build -+++ b/meson.build -@@ -281,13 +281,15 @@ endif - # threads - thread_dep = null_dep - if host_machine.system() != 'windows' -- thread_dep = dependency('threads', required: false) -+ if cpp.has_header('pthread.h') -+ thread_dep = dependency('threads', required: false) -+ endif - - if thread_dep.found() - conf.set('HAVE_PTHREAD', 1) - else - check_headers += ['sched.h'] -- check_funcs += ['sched_yield', {'link_with': 'rt'}] -+ check_funcs += [['sched_yield', {'link_with': 'rt'}]] - endif - endif - --- -2.29.2 - diff --git a/buildroot-2021.05/package/harfbuzz/Config.in b/buildroot-2021.05/package/harfbuzz/Config.in deleted file mode 100644 index 8bc88f42..00000000 --- a/buildroot-2021.05/package/harfbuzz/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_HARFBUZZ - bool "harfbuzz" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - help - HarfBuzz is an OpenType text shaping engine - - https://harfbuzz.github.io/ - - Harfbuzz can make optional use of cairo, freetype, - glib2 and icu packages if they are selected. - -comment "harfbuzz needs a toolchain w/ C++, gcc >= 4.8" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 diff --git a/buildroot-2021.05/package/harfbuzz/harfbuzz.hash b/buildroot-2021.05/package/harfbuzz/harfbuzz.hash deleted file mode 100644 index 98b137c8..00000000 --- a/buildroot-2021.05/package/harfbuzz/harfbuzz.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 6ad11d653347bd25d8317589df4e431a2de372c0cf9be3543368e07ec23bb8e7 harfbuzz-2.7.4.tar.xz -sha256 beb3f017ceb41387667f78237a7cecf84defa0ed257c505894663d6a9f13211b COPYING diff --git a/buildroot-2021.05/package/harfbuzz/harfbuzz.mk b/buildroot-2021.05/package/harfbuzz/harfbuzz.mk deleted file mode 100644 index f1ef7ee9..00000000 --- a/buildroot-2021.05/package/harfbuzz/harfbuzz.mk +++ /dev/null @@ -1,96 +0,0 @@ -################################################################################ -# -# harfbuzz -# -################################################################################ - -HARFBUZZ_VERSION = 2.7.4 -HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) -HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz -HARFBUZZ_LICENSE = MIT, ISC (ucdn library) -HARFBUZZ_LICENSE_FILES = COPYING -HARFBUZZ_CPE_ID_VENDOR = harfbuzz_project -HARFBUZZ_INSTALL_STAGING = YES -HARFBUZZ_CONF_OPTS = \ - -Dfontconfig=disabled \ - -Dgdi=disabled \ - -Ddirectwrite=disabled \ - -Dcoretext=disabled \ - -Dtests=disabled \ - -Ddocs=disabled \ - -Dbenchmark=disabled \ - -Dicu_builtin=false \ - -Dexperimental_api=false \ - -Dfuzzer_ldflags="" - -# freetype & glib2 support required by host-pango -HOST_HARFBUZZ_DEPENDENCIES = \ - host-freetype \ - host-libglib2 -HOST_HARFBUZZ_CONF_OPTS = \ - -Dglib=enabled \ - -Dgobject=disabled \ - -Dcairo=disabled \ - -Dfontconfig=disabled \ - -Dicu=disabled \ - -Dgraphite=disabled \ - -Dfreetype=enabled \ - -Dgdi=disabled \ - -Ddirectwrite=disabled \ - -Dcoretext=disabled \ - -Dtests=disabled \ - -Dintrospection=disabled \ - -Ddocs=disabled \ - -Dbenchmark=disabled \ - -Dicu_builtin=false \ - -Dexperimental_api=false \ - -Dfuzzer_ldflags="" - -ifeq ($(BR2_PACKAGE_CAIRO),y) -HARFBUZZ_DEPENDENCIES += cairo -HARFBUZZ_CONF_OPTS += -Dcairo=enabled -else -HARFBUZZ_CONF_OPTS += -Dcairo=disabled -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -HARFBUZZ_DEPENDENCIES += freetype -HARFBUZZ_CONF_OPTS += -Dfreetype=enabled -else -HARFBUZZ_CONF_OPTS += -Dfreetype=disabled -endif - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -HARFBUZZ_DEPENDENCIES += gobject-introspection -HARFBUZZ_CONF_OPTS += \ - -Dgobject=enabled \ - -Dintrospection=enabled -else -HARFBUZZ_CONF_OPTS += \ - -Dgobject=disabled \ - -Dintrospection=disabled -endif - -ifeq ($(BR2_PACKAGE_GRAPHITE2),y) -HARFBUZZ_DEPENDENCIES += graphite2 -HARFBUZZ_CONF_OPTS += -Dgraphite=enabled -else -HARFBUZZ_CONF_OPTS += -Dgraphite=disabled -endif - -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -HARFBUZZ_DEPENDENCIES += libglib2 -HARFBUZZ_CONF_OPTS += -Dglib=enabled -else -HARFBUZZ_CONF_OPTS += -Dglib=disabled -endif - -ifeq ($(BR2_PACKAGE_ICU),y) -HARFBUZZ_DEPENDENCIES += icu -HARFBUZZ_CONF_OPTS += -Dicu=enabled -else -HARFBUZZ_CONF_OPTS += -Dicu=disabled -endif - -$(eval $(meson-package)) -$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/haveged/haveged.hash b/buildroot-2021.05/package/haveged/haveged.hash deleted file mode 100644 index df8c48e2..00000000 --- a/buildroot-2021.05/package/haveged/haveged.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 d17bd22fa1745daca5ac72e014ed3b0fe5720da4c115953124b1bf2a0aa2b04b haveged-1.9.13.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/haveged/haveged.mk b/buildroot-2021.05/package/haveged/haveged.mk deleted file mode 100644 index 3980f801..00000000 --- a/buildroot-2021.05/package/haveged/haveged.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# haveged -# -################################################################################ - -HAVEGED_VERSION = 1.9.13 -HAVEGED_SITE = $(call github,jirka-h,haveged,v$(HAVEGED_VERSION)) -HAVEGED_LICENSE = GPL-3.0+ -HAVEGED_LICENSE_FILES = COPYING -HAVEGED_SELINUX_MODULES = entropyd - -ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) -HAVEGED_CONF_OPTS += --enable-clock_gettime=yes -endif - -define HAVEGED_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/haveged/S21haveged \ - $(TARGET_DIR)/etc/init.d/S21haveged -endef - -define HAVEGED_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/haveged/haveged.service \ - $(TARGET_DIR)/usr/lib/systemd/system/haveged.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/hdparm/Config.in b/buildroot-2021.05/package/hdparm/Config.in deleted file mode 100644 index 52385b18..00000000 --- a/buildroot-2021.05/package/hdparm/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_HDPARM - bool "hdparm" - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - help - hdparm - get/set hard disk parameters for Linux IDE drives. - - http://www.ibiblio.org/pub/Linux/system/hardware/ diff --git a/buildroot-2021.05/package/hdparm/hdparm.hash b/buildroot-2021.05/package/hdparm/hdparm.hash deleted file mode 100644 index b35da452..00000000 --- a/buildroot-2021.05/package/hdparm/hdparm.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From http://sourceforge.net/projects/hdparm/files/hdparm/ -md5 25a791d47236c58801f8b27074f3ef93 hdparm-9.60.tar.gz -sha1 f15378cf533f79dbbc040cd77183137d24292ecc hdparm-9.60.tar.gz -# Locally computed -sha256 8397739c73e44d5ab96c4aef28fa9c0147276d53a1b5657ce04c4565cf6635cc hdparm-9.60.tar.gz -sha256 eae572b06d2733f5c65fbe81680ce2b8a109afee2bdd1a161343c772af0e82e1 LICENSE.TXT diff --git a/buildroot-2021.05/package/hdparm/hdparm.mk b/buildroot-2021.05/package/hdparm/hdparm.mk deleted file mode 100644 index d9470ef7..00000000 --- a/buildroot-2021.05/package/hdparm/hdparm.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# hdparm -# -################################################################################ - -HDPARM_VERSION = 9.60 -HDPARM_SITE = http://downloads.sourceforge.net/project/hdparm/hdparm -HDPARM_LICENSE = BSD-Style -HDPARM_LICENSE_FILES = LICENSE.TXT - -define HDPARM_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - STRIP=/bin/true -endef - -define HDPARM_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/hdparm $(TARGET_DIR)/sbin/hdparm -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/heimdal/heimdal.mk b/buildroot-2021.05/package/heimdal/heimdal.mk deleted file mode 100644 index 9a1a68f0..00000000 --- a/buildroot-2021.05/package/heimdal/heimdal.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# heimdal -# -################################################################################ - -HEIMDAL_VERSION = 7.7.0 -HEIMDAL_SITE = https://github.com/heimdal/heimdal/releases/download/heimdal-$(HEIMDAL_VERSION) -HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf -HEIMDAL_INSTALL_STAGING = YES -HEIMDAL_MAKE = $(MAKE1) -# static because of -fPIC issues with e2fsprogs on x86_64 host -HOST_HEIMDAL_CONF_OPTS = \ - --disable-shared \ - --enable-static \ - --without-openldap \ - --without-capng \ - --with-db-type-preference= \ - --without-sqlite3 \ - --without-libintl \ - --without-openssl \ - --without-berkeley-db \ - --without-readline \ - --without-libedit \ - --without-hesiod \ - --without-x \ - --disable-mdb-db \ - --disable-ndbm-db \ - --disable-heimdal-documentation - -HOST_HEIMDAL_CONF_ENV = MAKEINFO=true -HEIMDAL_LICENSE = BSD-3-Clause -HEIMDAL_LICENSE_FILES = LICENSE -HEIMDAL_CPE_ID_VENDOR = heimdal_project - -# We need asn1_compile in the PATH for samba4 -define HOST_HEIMDAL_MAKE_SYMLINK - ln -sf $(HOST_DIR)/libexec/heimdal/asn1_compile \ - $(HOST_DIR)/bin/asn1_compile - ln -sf $(HOST_DIR)/bin/compile_et \ - $(HOST_DIR)/libexec/heimdal/compile_et -endef - -HOST_HEIMDAL_POST_INSTALL_HOOKS += HOST_HEIMDAL_MAKE_SYMLINK - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/heirloom-mailx/Config.in b/buildroot-2021.05/package/heirloom-mailx/Config.in deleted file mode 100644 index 87664b48..00000000 --- a/buildroot-2021.05/package/heirloom-mailx/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_HEIRLOOM_MAILX - bool "heirloom-mailx" - # uses fork() - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - help - Heirloom mailx (previously known as nail) is a mail user - agent for Unix systems. - - It can be used as a command-line mail reader, but also more - importantly on embedded systems, as a mail composition - program and SMTP client, in order to send e-mail from shell - scripts. It supports SMTP authentication (login, plain, - cram-md5), SMTPS, MIME encoding of attachements, and more. - - http://heirloom.sourceforge.net/mailx.html - -comment "heirloom-mailx needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/heirloom-mailx/heirloom-mailx.mk b/buildroot-2021.05/package/heirloom-mailx/heirloom-mailx.mk deleted file mode 100644 index 2f7e635e..00000000 --- a/buildroot-2021.05/package/heirloom-mailx/heirloom-mailx.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# heirloom-mailx -# -################################################################################ - -HEIRLOOM_MAILX_VERSION = 12.5 -HEIRLOOM_MAILX_SOURCE = heirloom-mailx_$(HEIRLOOM_MAILX_VERSION).orig.tar.gz -HEIRLOOM_MAILX_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/h/heirloom-mailx -HEIRLOOM_MAILX_LICENSE = BSD-4-Clause, Bellcore (base64), OpenVision (imap_gssapi), RSA Data Security (md5), Network Working Group (hmac), MPL-1.1 (nss) -HEIRLOOM_MAILX_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -HEIRLOOM_MAILX_DEPENDENCIES += openssl -endif - -define HEIRLOOM_MAILX_CONFIGURE_CMDS - (cd $(@D); $(TARGET_CONFIGURE_OPTS) $(SHELL) ./makeconfig) -endef - -# -fPIC is needed to build with NIOS2 toolchains. -define HEIRLOOM_MAILX_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) \ - CFLAGS="$(TARGET_CFLAGS) -fPIC" \ - -C $(@D) -endef - -define HEIRLOOM_MAILX_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - PREFIX=/usr \ - UCBINSTALL=$(INSTALL) \ - STRIP=/bin/true \ - DESTDIR=$(TARGET_DIR) \ - install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/hiawatha/Config.in b/buildroot-2021.05/package/hiawatha/Config.in deleted file mode 100644 index 8f1908f6..00000000 --- a/buildroot-2021.05/package/hiawatha/Config.in +++ /dev/null @@ -1,37 +0,0 @@ -comment "hiawatha needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -config BR2_PACKAGE_HIAWATHA - bool "hiawatha" - # needs fork() - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_ZLIB - help - Hiawatha is a webserver for Unix and has been built with - security in mind. This resulted in a highly secure - webserver, in both code and features. - - This webserver runs on Linux, BSD, MacOS X and - Windows. Although it can run any kind of CGI / FastCGI - application, it has been optimized for usage with PHP. Most - well known PHP frameworks and CMS applications have been - tested with Hiawatha and ran without a problem. Hiawatha - supports many web and HTTP features such as CGI/FastCGI, - HTTP authentication, virtual host support, request - pipelining, keep alive connections, URL rewriting and many - more. - - http://www.hiawatha-webserver.org/ - -if BR2_PACKAGE_HIAWATHA - -config BR2_PACKAGE_HIAWATHA_SSL - bool "hiawatha TLS support" - select BR2_PACKAGE_MBEDTLS - -endif diff --git a/buildroot-2021.05/package/hiawatha/hiawatha.hash b/buildroot-2021.05/package/hiawatha/hiawatha.hash deleted file mode 100644 index 2fba5600..00000000 --- a/buildroot-2021.05/package/hiawatha/hiawatha.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 79d85d165d68dd7043bbd337f5bc7dd10d8632d68ba61d0e557f84bd687c9727 hiawatha-10.11.tar.gz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE diff --git a/buildroot-2021.05/package/hiawatha/hiawatha.mk b/buildroot-2021.05/package/hiawatha/hiawatha.mk deleted file mode 100644 index 126cb711..00000000 --- a/buildroot-2021.05/package/hiawatha/hiawatha.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# hiawatha -# -################################################################################ - -HIAWATHA_VERSION = 10.11 -HIAWATHA_SITE = https://www.hiawatha-webserver.org/files -HIAWATHA_DEPENDENCIES = zlib -HIAWATHA_LICENSE = GPL-2.0 -HIAWATHA_LICENSE_FILES = LICENSE - -HIAWATHA_CONF_OPTS = \ - -DENABLE_TOOLKIT=OFF \ - -DCONFIG_DIR=/etc/hiawatha \ - -DLOG_DIR=/var/log \ - -DPID_DIR=/var/run \ - -DWEBROOT_DIR=/var/www/hiawatha \ - -DWORK_DIR=/var/lib/hiawatha - -ifeq ($(BR2_PACKAGE_HIAWATHA_SSL),y) -HIAWATHA_CONF_OPTS += -DUSE_SYSTEM_MBEDTLS=ON -HIAWATHA_DEPENDENCIES += mbedtls -else -HIAWATHA_CONF_OPTS += -DENABLE_TLS=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBXSLT),y) -HIAWATHA_CONF_OPTS += -DENABLE_XSLT=ON -HIAWATHA_DEPENDENCIES += libxslt -else -HIAWATHA_CONF_OPTS += -DENABLE_XSLT=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/hidapi/hidapi.hash b/buildroot-2021.05/package/hidapi/hidapi.hash deleted file mode 100644 index b49b6d1f..00000000 --- a/buildroot-2021.05/package/hidapi/hidapi.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated -sha256 f71dd8a1f46979c17ee521bc2117573872bbf040f8a4750e492271fc141f2644 hidapi-0.10.1.tar.gz -sha256 7d3b087c34f35d4d538e3bcddd1ff8f66e92f9ef336881999482800ddf840913 LICENSE.txt -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE-gpl3.txt -sha256 30eb1bef29b46f8ba7ab8b416035dbd93cb034a45481dd97815b944284582cd2 LICENSE-bsd.txt -sha256 fb5436aa63d1b71a8dfbf74ecaf1a5b4e1ec4df7f80074d11fec99284f69ca5f LICENSE-orig.txt diff --git a/buildroot-2021.05/package/hidapi/hidapi.mk b/buildroot-2021.05/package/hidapi/hidapi.mk deleted file mode 100644 index 7598ef7f..00000000 --- a/buildroot-2021.05/package/hidapi/hidapi.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# hidapi -# -################################################################################ - -HIDAPI_VERSION = 0.10.1 -HIDAPI_SITE = $(call github,libusb,hidapi,hidapi-$(HIDAPI_VERSION)) -HIDAPI_INSTALL_STAGING = YES -# No configure provided, so we need to autoreconf. -HIDAPI_AUTORECONF = YES -HIDAPI_LICENSE = GPL-3.0 or BSD-3-Clause or HIDAPI license -HIDAPI_LICENSE_FILES = LICENSE.txt LICENSE-gpl3.txt LICENSE-bsd.txt LICENSE-orig.txt - -HIDAPI_DEPENDENCIES = libusb libgudev - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -HIDAPI_DEPENDENCIES += libiconv -HIDAPI_CONF_ENV += LIBS="-liconv" -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/hiredis/hiredis.hash b/buildroot-2021.05/package/hiredis/hiredis.hash deleted file mode 100644 index fc01d1f6..00000000 --- a/buildroot-2021.05/package/hiredis/hiredis.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 2a0b5fe5119ec973a0c1966bfc4bd7ed39dbce1cb6d749064af9121fe971936f hiredis-1.0.0.tar.gz -sha256 dca05ce8fc87a8261783b4aed0deef8becc9350b6aa770bc714d0c1833b896eb COPYING diff --git a/buildroot-2021.05/package/hiredis/hiredis.mk b/buildroot-2021.05/package/hiredis/hiredis.mk deleted file mode 100644 index f340fb8a..00000000 --- a/buildroot-2021.05/package/hiredis/hiredis.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# hiredis -# -################################################################################ - -HIREDIS_VERSION_MAJOR = 1.0 -HIREDIS_VERSION = $(HIREDIS_VERSION_MAJOR).0 -HIREDIS_SITE = $(call github,redis,hiredis,v$(HIREDIS_VERSION)) -HIREDIS_LICENSE = BSD-3-Clause -HIREDIS_LICENSE_FILES = COPYING -HIREDIS_CPE_ID_VENDOR = redislabs -HIREDIS_INSTALL_STAGING = YES -HIREDIS_CONF_OPTS = -DDISABLE_TESTS=ON - -ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS),yy) -HIREDIS_CONF_OPTS += -DENABLE_SSL=ON -HIREDIS_DEPENDENCIES += openssl -else -HIREDIS_CONF_OPTS += -DENABLE_SSL=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/hostapd/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch b/buildroot-2021.05/package/hostapd/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch deleted file mode 100644 index 959788c2..00000000 --- a/buildroot-2021.05/package/hostapd/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 8c07fa9eda13e835f3f968b2e1c9a8be3a851ff9 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Thu, 29 Aug 2019 11:52:04 +0300 -Subject: [PATCH] AP: Silently ignore management frame from unexpected source - address - -Do not process any received Management frames with unexpected/invalid SA -so that we do not add any state for unexpected STA addresses or end up -sending out frames to unexpected destination. This prevents unexpected -sequences where an unprotected frame might end up causing the AP to send -out a response to another device and that other device processing the -unexpected response. - -In particular, this prevents some potential denial of service cases -where the unexpected response frame from the AP might result in a -connected station dropping its association. - -Signed-off-by: Jouni Malinen - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://w1.fi/security/2019-7/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch] ---- - src/ap/drv_callbacks.c | 13 +++++++++++++ - src/ap/ieee802_11.c | 12 ++++++++++++ - 2 files changed, 25 insertions(+) - -diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c -index 31587685fe3b..34ca379edc3d 100644 ---- a/src/ap/drv_callbacks.c -+++ b/src/ap/drv_callbacks.c -@@ -131,6 +131,19 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, - "hostapd_notif_assoc: Skip event with no address"); - return -1; - } -+ -+ if (is_multicast_ether_addr(addr) || -+ is_zero_ether_addr(addr) || -+ os_memcmp(addr, hapd->own_addr, ETH_ALEN) == 0) { -+ /* Do not process any frames with unexpected/invalid SA so that -+ * we do not add any state for unexpected STA addresses or end -+ * up sending out frames to unexpected destination. */ -+ wpa_printf(MSG_DEBUG, "%s: Invalid SA=" MACSTR -+ " in received indication - ignore this indication silently", -+ __func__, MAC2STR(addr)); -+ return 0; -+ } -+ - random_add_randomness(addr, ETH_ALEN); - - hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, -diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c -index c85a28db44b7..e7065372e158 100644 ---- a/src/ap/ieee802_11.c -+++ b/src/ap/ieee802_11.c -@@ -4626,6 +4626,18 @@ int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, - fc = le_to_host16(mgmt->frame_control); - stype = WLAN_FC_GET_STYPE(fc); - -+ if (is_multicast_ether_addr(mgmt->sa) || -+ is_zero_ether_addr(mgmt->sa) || -+ os_memcmp(mgmt->sa, hapd->own_addr, ETH_ALEN) == 0) { -+ /* Do not process any frames with unexpected/invalid SA so that -+ * we do not add any state for unexpected STA addresses or end -+ * up sending out frames to unexpected destination. */ -+ wpa_printf(MSG_DEBUG, "MGMT: Invalid SA=" MACSTR -+ " in received frame - ignore this frame silently", -+ MAC2STR(mgmt->sa)); -+ return 0; -+ } -+ - if (stype == WLAN_FC_STYPE_BEACON) { - handle_beacon(hapd, mgmt, len, fi); - return 1; --- -2.20.1 - diff --git a/buildroot-2021.05/package/hostapd/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch b/buildroot-2021.05/package/hostapd/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch deleted file mode 100644 index 5dcfed94..00000000 --- a/buildroot-2021.05/package/hostapd/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch +++ /dev/null @@ -1,116 +0,0 @@ -From a0541334a6394f8237a4393b7372693cd7e96f15 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Sat, 13 Mar 2021 18:19:31 +0200 -Subject: [PATCH] ASN.1: Validate DigestAlgorithmIdentifier parameters - -The supported hash algorithms do not use AlgorithmIdentifier parameters. -However, there are implementations that include NULL parameters in -addition to ones that omit the parameters. Previous implementation did -not check the parameters value at all which supported both these cases, -but did not reject any other unexpected information. - -Use strict validation of digest algorithm parameters and reject any -unexpected value when validating a signature. This is needed to prevent -potential forging attacks. - -Signed-off-by: Jouni Malinen -Signed-off-by: Peter Korsgaard ---- - src/tls/pkcs1.c | 21 +++++++++++++++++++++ - src/tls/x509v3.c | 20 ++++++++++++++++++++ - 2 files changed, 41 insertions(+) - -diff --git a/src/tls/pkcs1.c b/src/tls/pkcs1.c -index bbdb0d72d..5761dfed0 100644 ---- a/src/tls/pkcs1.c -+++ b/src/tls/pkcs1.c -@@ -244,6 +244,8 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk, - os_free(decrypted); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: DigestInfo", -+ hdr.payload, hdr.length); - - pos = hdr.payload; - end = pos + hdr.length; -@@ -265,6 +267,8 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk, - os_free(decrypted); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: DigestAlgorithmIdentifier", -+ hdr.payload, hdr.length); - da_end = hdr.payload + hdr.length; - - if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) { -@@ -273,6 +277,23 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk, - os_free(decrypted); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: Digest algorithm parameters", -+ next, da_end - next); -+ -+ /* -+ * RFC 5754: The correct encoding for the SHA2 algorithms would be to -+ * omit the parameters, but there are implementation that encode these -+ * as a NULL element. Allow these two cases and reject anything else. -+ */ -+ if (da_end > next && -+ (asn1_get_next(next, da_end - next, &hdr) < 0 || -+ !asn1_is_null(&hdr) || -+ hdr.payload + hdr.length != da_end)) { -+ wpa_printf(MSG_DEBUG, -+ "PKCS #1: Unexpected digest algorithm parameters"); -+ os_free(decrypted); -+ return -1; -+ } - - if (!asn1_oid_equal(&oid, hash_alg)) { - char txt[100], txt2[100]; -diff --git a/src/tls/x509v3.c b/src/tls/x509v3.c -index a8944dd2f..df337ec4d 100644 ---- a/src/tls/x509v3.c -+++ b/src/tls/x509v3.c -@@ -1964,6 +1964,7 @@ int x509_check_signature(struct x509_certificate *issuer, - os_free(data); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "X509: DigestInfo", hdr.payload, hdr.length); - - pos = hdr.payload; - end = pos + hdr.length; -@@ -1985,6 +1986,8 @@ int x509_check_signature(struct x509_certificate *issuer, - os_free(data); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "X509: DigestAlgorithmIdentifier", -+ hdr.payload, hdr.length); - da_end = hdr.payload + hdr.length; - - if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) { -@@ -1992,6 +1995,23 @@ int x509_check_signature(struct x509_certificate *issuer, - os_free(data); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "X509: Digest algorithm parameters", -+ next, da_end - next); -+ -+ /* -+ * RFC 5754: The correct encoding for the SHA2 algorithms would be to -+ * omit the parameters, but there are implementation that encode these -+ * as a NULL element. Allow these two cases and reject anything else. -+ */ -+ if (da_end > next && -+ (asn1_get_next(next, da_end - next, &hdr) < 0 || -+ !asn1_is_null(&hdr) || -+ hdr.payload + hdr.length != da_end)) { -+ wpa_printf(MSG_DEBUG, -+ "X509: Unexpected digest algorithm parameters"); -+ os_free(data); -+ return -1; -+ } - - if (x509_sha1_oid(&oid)) { - if (signature->oid.oid[6] != 5 /* sha-1WithRSAEncryption */) { --- -2.20.1 - diff --git a/buildroot-2021.05/package/hostapd/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch b/buildroot-2021.05/package/hostapd/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch deleted file mode 100644 index e52dbdb6..00000000 --- a/buildroot-2021.05/package/hostapd/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 99cf89555313056d3a8fa54b21d02dc880b363e1 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Mon, 20 Apr 2020 20:29:31 +0300 -Subject: [PATCH] Include stdbool.h to allow C99 bool to be used - -We have practically started requiring some C99 features, so might as -well finally go ahead and bring in the C99 bool as well. - -Signed-off-by: Jouni Malinen -[geomatsi@gmail.com: backport from upstream] -Signed-off-by: Sergey Matyukevich -[yann.morin.1998@free.fr: keep upstream sha1 in header, drop numbering] -Signed-off-by: Yann E. MORIN ---- - src/utils/includes.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/utils/includes.h b/src/utils/includes.h -index 75513fc8c..741fc9c14 100644 ---- a/src/utils/includes.h -+++ b/src/utils/includes.h -@@ -18,6 +18,7 @@ - - #include - #include -+#include - #include - #include - #include --- -2.25.1 - diff --git a/buildroot-2021.05/package/hostapd/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch b/buildroot-2021.05/package/hostapd/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch deleted file mode 100644 index a5415e7d..00000000 --- a/buildroot-2021.05/package/hostapd/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 9a990e8c4eb92dd64e0ec483599820e45c35ac23 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Sat, 13 Mar 2021 23:14:23 +0200 -Subject: [PATCH] ASN.1: Add helper functions for recognizing tag values - -Signed-off-by: Jouni Malinen -[geomatsi@gmail.com: backport asn1_is_null() from upstream 9a990e8c4eb9] -Signed-off-by: Sergey Matyukevich -[yann.morin.1998@free.fr: - - reformat, keep the upstream sha1 and title, - - drop numbering -] -Signed-off-by: Yann E. MORIN ---- - src/tls/asn1.h | 102 +++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 102 insertions(+) - -diff --git a/src/tls/asn1.h b/src/tls/asn1.h -index de3430adb..a4d1be473 100644 ---- a/src/tls/asn1.h -+++ b/src/tls/asn1.h -@@ -66,6 +66,12 @@ struct wpabuf * asn1_build_alg_id(const struct asn1_oid *oid, - unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len); - int asn1_oid_equal(const struct asn1_oid *a, const struct asn1_oid *b); - -+static inline bool asn1_is_null(const struct asn1_hdr *hdr) -+{ -+ return hdr->class == ASN1_CLASS_UNIVERSAL && -+ hdr->tag == ASN1_TAG_NULL; -+} -+ - extern struct asn1_oid asn1_sha1_oid; - extern struct asn1_oid asn1_sha256_oid; - --- -2.25.1 - diff --git a/buildroot-2021.05/package/hostapd/Config.in b/buildroot-2021.05/package/hostapd/Config.in deleted file mode 100644 index 54d2086c..00000000 --- a/buildroot-2021.05/package/hostapd/Config.in +++ /dev/null @@ -1,114 +0,0 @@ -config BR2_PACKAGE_HOSTAPD - bool "hostapd" - depends on BR2_USE_MMU # fork() - help - User space daemon for wireless access points. - - It implements IEEE 802.11 access point management, - IEEE 802.1X/WPA/WPA2/EAP authenticators, RADIUS client, - EAP server and RADIUS authentication server. - - http://w1.fi/hostapd/ - -if BR2_PACKAGE_HOSTAPD - -config BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP - bool "Enable hostap driver" - default y - select BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS - help - Enable support for Host AP driver. - -config BR2_PACKAGE_HOSTAPD_DRIVER_NL80211 - bool "Enable nl80211 driver" - default y - depends on BR2_TOOLCHAIN_HAS_THREADS # libnl - select BR2_PACKAGE_LIBNL - select BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS - help - Enable support for drivers using the nl80211 kernel interface. - -comment "nl80211 driver needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_HOSTAPD_DRIVER_WIRED - bool "Enable wired driver" - help - Enable support for wired authenticator. - -config BR2_PACKAGE_HOSTAPD_DRIVER_NONE - bool - default y - depends on !BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP - depends on !BR2_PACKAGE_HOSTAPD_DRIVER_NL80211 - depends on !BR2_PACKAGE_HOSTAPD_DRIVER_WIRED - -config BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS - bool - -config BR2_PACKAGE_HOSTAPD_ACS - bool "Enable ACS" - default y - depends on BR2_PACKAGE_HOSTAPD_DRIVER_NL80211 - help - Enable support for standard ACS (Automatic Channel Selection). - Some propietary drivers use a custom algorithm which requires - channel to be set to '0' (which enables ACS in the config), - causing hostapd to use the standard one which doesn't work - for those cases. - -comment "ACS is currently only supported through the nl80211 driver" - depends on !BR2_PACKAGE_HOSTAPD_DRIVER_NL80211 - -config BR2_PACKAGE_HOSTAPD_EAP - bool "Enable EAP" - depends on !BR2_STATIC_LIBS - help - Enable support for EAP and RADIUS. - -comment "hostapd EAP needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_HOSTAPD_WPS - bool "Enable WPS" - help - Enable support for Wi-Fi Protected Setup. - -config BR2_PACKAGE_HOSTAPD_WPA3 - bool "Enable WPA3 support" - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL - help - Enable WPA3 support including OWE, SAE, DPP - -config BR2_PACKAGE_HOSTAPD_VLAN - bool "Enable VLAN support" - default y - help - Enable support for VLANs. - -if BR2_PACKAGE_HOSTAPD_VLAN - -config BR2_PACKAGE_HOSTAPD_VLAN_DYNAMIC - bool "Enable dynamic VLAN support" - default y - help - Enable support for fully dynamic VLANs. - This enables hostapd to automatically create - bridge and VLAN interfaces if necessary. - -config BR2_PACKAGE_HOSTAPD_VLAN_NETLINK - bool "Use netlink-based API for VLAN operations" - default y - depends on BR2_TOOLCHAIN_HAS_THREADS # libnl - select BR2_PACKAGE_LIBNL - help - Use netlink-based kernel API for VLAN operations - instead of ioctl(). - -comment "netlink-based VLAN support needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -endif # BR2_PACKAGE_HOSTAPD_VLAN - -endif diff --git a/buildroot-2021.05/package/hostapd/hostapd.hash b/buildroot-2021.05/package/hostapd/hostapd.hash deleted file mode 100644 index 9ac5f4b3..00000000 --- a/buildroot-2021.05/package/hostapd/hostapd.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally calculated -sha256 881d7d6a90b2428479288d64233151448f8990ab4958e0ecaca7eeb3c9db2bd7 hostapd-2.9.tar.gz -sha256 2d9a5b9d616f1b4aa4a22b967cee866e2f69b798b0b46803a7928c8559842bd7 0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch -sha256 49feb35a5276279b465f6836d6fa2c6b34d94dc979e8b840d1918865c04260de 0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch -sha256 a8212a2d89a5bab2824d22b6047e7740553df163114fcec94832bfa9c5c5d78a 0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch -sha256 7f40cfec5faf5e927ea9028ab9392cd118685bde7229ad24210caf0a8f6e9611 0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch -sha256 9da5dd0776da266b180b915e460ff75c6ff729aca1196ab396529510f24f3761 README diff --git a/buildroot-2021.05/package/hostapd/hostapd.mk b/buildroot-2021.05/package/hostapd/hostapd.mk deleted file mode 100644 index 8820254f..00000000 --- a/buildroot-2021.05/package/hostapd/hostapd.mk +++ /dev/null @@ -1,162 +0,0 @@ -################################################################################ -# -# hostapd -# -################################################################################ - -HOSTAPD_VERSION = 2.9 -HOSTAPD_SITE = http://w1.fi/releases -HOSTAPD_SUBDIR = hostapd -HOSTAPD_CONFIG = $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/.config -HOSTAPD_PATCH = \ - https://w1.fi/security/2020-1/0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch \ - https://w1.fi/security/2020-1/0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch \ - https://w1.fi/security/2020-1/0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch \ - https://w1.fi/security/2021-1/0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch -HOSTAPD_DEPENDENCIES = host-pkgconf -HOSTAPD_CFLAGS = $(TARGET_CFLAGS) -HOSTAPD_LICENSE = BSD-3-Clause -HOSTAPD_LICENSE_FILES = README - -# 0001-AP-Silently-ignore-management-frame-from-unexpected-.patch -HOSTAPD_IGNORE_CVES += CVE-2019-16275 - -# 0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch -HOSTAPD_IGNORE_CVES += CVE-2020-12695 - -# 0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch -HOSTAPD_IGNORE_CVES += CVE-2021-30004 - -# 0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch -HOSTAPD_IGNORE_CVES += CVE-2021-27803 - -HOSTAPD_CPE_ID_VENDOR = w1.fi -HOSTAPD_CONFIG_SET = - -HOSTAPD_CONFIG_ENABLE = \ - CONFIG_INTERNAL_LIBTOMMATH \ - CONFIG_DEBUG_FILE \ - CONFIG_DEBUG_SYSLOG - -HOSTAPD_CONFIG_DISABLE = - -# Try to use openssl if it's already available -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) -HOSTAPD_DEPENDENCIES += host-pkgconf libopenssl -HOSTAPD_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` -HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' -else -HOSTAPD_CONFIG_DISABLE += CONFIG_EAP_PWD CONFIG_EAP_TEAP -HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=\).*/\1internal/' -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP),) -HOSTAPD_CONFIG_DISABLE += CONFIG_DRIVER_HOSTAP -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_DRIVER_NL80211),) -HOSTAPD_CONFIG_DISABLE += CONFIG_DRIVER_NL80211 -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_DRIVER_WIRED),y) -HOSTAPD_CONFIG_ENABLE += CONFIG_DRIVER_WIRED -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_DRIVER_NONE),y) -HOSTAPD_CONFIG_ENABLE += CONFIG_DRIVER_NONE -endif - -# Add options for wireless drivers -ifeq ($(BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS),y) -HOSTAPD_CONFIG_ENABLE += \ - CONFIG_HS20 \ - CONFIG_IEEE80211AC \ - CONFIG_IEEE80211N \ - CONFIG_IEEE80211R \ - CONFIG_INTERWORKING -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_ACS),y) -HOSTAPD_CONFIG_ENABLE += CONFIG_ACS -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_EAP),y) -HOSTAPD_CONFIG_ENABLE += \ - CONFIG_EAP \ - CONFIG_RADIUS_SERVER - -# Enable both TLS v1.1 (CONFIG_TLSV11) and v1.2 (CONFIG_TLSV12) -HOSTAPD_CONFIG_ENABLE += CONFIG_TLSV1 -else -HOSTAPD_CONFIG_DISABLE += CONFIG_EAP -HOSTAPD_CONFIG_ENABLE += \ - CONFIG_NO_ACCOUNTING \ - CONFIG_NO_RADIUS -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_WPS),y) -HOSTAPD_CONFIG_ENABLE += CONFIG_WPS -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y) -HOSTAPD_CONFIG_SET += \ - CONFIG_DPP \ - CONFIG_SAE -HOSTAPD_CONFIG_ENABLE += \ - CONFIG_OWE -else -HOSTAPD_CONFIG_DISABLE += \ - CONFIG_OWE -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN),) -HOSTAPD_CONFIG_ENABLE += CONFIG_NO_VLAN -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN_DYNAMIC),y) -HOSTAPD_CONFIG_ENABLE += CONFIG_FULL_DYNAMIC_VLAN -HOSTAPD_CONFIG_SET += NEED_LINUX_IOCTL -endif - -ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN_NETLINK),y) -HOSTAPD_CONFIG_ENABLE += CONFIG_VLAN_NETLINK -endif - -# Options for building with libnl -ifeq ($(BR2_PACKAGE_LIBNL),y) -HOSTAPD_DEPENDENCIES += libnl -HOSTAPD_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3/ -HOSTAPD_CONFIG_ENABLE += CONFIG_LIBNL32 -# libnl-3 needs -lm (for rint) and -lpthread if linking statically -# And library order matters hence stick -lnl-3 first since it's appended -# in the hostapd Makefiles as in LIBS+=-lnl-3 ... thus failing -ifeq ($(BR2_STATIC_LIBS),y) -HOSTAPD_LIBS += -lnl-3 -lm -lpthread -endif -endif - -define HOSTAPD_CONFIGURE_CMDS - cp $(@D)/hostapd/defconfig $(HOSTAPD_CONFIG) - sed -i $(patsubst %,-e 's/^#\(%\)/\1/',$(HOSTAPD_CONFIG_ENABLE)) \ - $(patsubst %,-e 's/^\(%\)/#\1/',$(HOSTAPD_CONFIG_DISABLE)) \ - $(patsubst %,-e '1i%=y',$(HOSTAPD_CONFIG_SET)) \ - $(patsubst %,-e %,$(HOSTAPD_CONFIG_EDITS)) \ - $(HOSTAPD_CONFIG) -endef - -define HOSTAPD_BUILD_CMDS - $(TARGET_MAKE_ENV) CFLAGS="$(HOSTAPD_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(HOSTAPD_LIBS)" \ - $(MAKE) CC="$(TARGET_CC)" -C $(@D)/$(HOSTAPD_SUBDIR) -endef - -define HOSTAPD_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd \ - $(TARGET_DIR)/usr/sbin/hostapd - $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd_cli \ - $(TARGET_DIR)/usr/bin/hostapd_cli - $(INSTALL) -m 0644 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd.conf \ - $(TARGET_DIR)/etc/hostapd.conf -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/hplip/hplip.mk b/buildroot-2021.05/package/hplip/hplip.mk deleted file mode 100644 index 9eac83d5..00000000 --- a/buildroot-2021.05/package/hplip/hplip.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# hplip -# -################################################################################ - -HPLIP_VERSION = 3.17.10 -HPLIP_SITE = http://downloads.sourceforge.net/hplip/hplip -HPLIP_AUTORECONF = YES -HPLIP_DEPENDENCIES = cups libusb jpeg host-pkgconf -HPLIP_LICENSE = GPL-2.0, BSD-3-Clause, MIT -HPLIP_LICENSE_FILES = COPYING - -HPLIP_CONF_OPTS = \ - --disable-qt4 \ - --disable-scan-build \ - --disable-gui-build \ - --disable-doc-build \ - --disable-network-build \ - --enable-hpcups-install \ - --disable-hpijs-install \ - --enable-cups-ppd-install \ - --enable-cups-drv-install \ - --disable-foomatic-ppd-install \ - --disable-foomatic-drv-install \ - --disable-foomatic-rip-hplip-install \ - --enable-new-hpcups \ - --enable-lite-build - -# build system does not support cups-config -HPLIP_CONF_ENV = LIBS=`$(STAGING_DIR)/usr/bin/cups-config --libs` - -ifeq ($(BR2_PACKAGE_DBUS),y) -HPLIP_CONF_OPTS += --enable-dbus-build -HPLIP_DEPENDENCIES += dbus -else -HPLIP_CONF_OPTS += --disable-dbus-build -endif - -define HPLIP_POST_INSTALL_TARGET_FIXUP - mkdir -p $(TARGET_DIR)/usr/share/hplip/data/models - cp $(@D)/data/models/* $(TARGET_DIR)/usr/share/hplip/data/models -endef -HPLIP_POST_INSTALL_TARGET_HOOKS += HPLIP_POST_INSTALL_TARGET_FIXUP - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/htop/htop.hash b/buildroot-2021.05/package/htop/htop.hash deleted file mode 100644 index 647feabb..00000000 --- a/buildroot-2021.05/package/htop/htop.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 19535f8f01ac08be2df880c93c9cedfc50fa92320d48e3ef92a30b6edc4d1917 htop-3.0.5.tar.gz -sha256 c228cc14df980a23ea0c3c9ac957b904dd6a8514f6283db403de22e9179471be COPYING diff --git a/buildroot-2021.05/package/htop/htop.mk b/buildroot-2021.05/package/htop/htop.mk deleted file mode 100644 index aa2ff247..00000000 --- a/buildroot-2021.05/package/htop/htop.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# htop -# -################################################################################ - -HTOP_VERSION = 3.0.5 -HTOP_SITE = https://dl.bintray.com/htop/source -HTOP_DEPENDENCIES = ncurses -# Prevent htop build system from searching the host paths -HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) -HTOP_LICENSE = GPL-2.0 -HTOP_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -HTOP_CONF_OPTS += --with-sensors -HTOP_DEPENDENCIES += lm-sensors -else -HTOP_CONF_OPTS += --without-sensors -endif - -ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) -HTOP_CONF_OPTS += --enable-unicode -else -HTOP_CONF_OPTS += --disable-unicode -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/htpdate/Config.in b/buildroot-2021.05/package/htpdate/Config.in deleted file mode 100644 index 42c10c30..00000000 --- a/buildroot-2021.05/package/htpdate/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_HTPDATE - bool "htpdate" - depends on BR2_USE_MMU # fork() - help - The HTTP Time Protocol (HTP) is used to synchronize a - computer's time with web servers as reference time source. - - https://github.com/angeloc/htpdate diff --git a/buildroot-2021.05/package/htpdate/S43htpdate b/buildroot-2021.05/package/htpdate/S43htpdate deleted file mode 100644 index 75f9a995..00000000 --- a/buildroot-2021.05/package/htpdate/S43htpdate +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh - -DAEMON="htpdate" -PIDFILE="/var/run/$DAEMON.pid" - -HTPDATE_ARGS="-a -s -t https://google.com" -test -r "/etc/default/$DAEMON" && . "/etc/default/$DAEMON" - -start() { - printf 'Starting %s: ' "$DAEMON" - # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -S -q -x "/usr/bin/$DAEMON" \ - -- -D -i "$PIDFILE" $HTPDATE_ARGS - status=$? - if [ "$status" -eq 0 ]; then - echo "OK" - else - echo "FAIL" - fi - return "$status" -} - -stop() { - printf 'Stopping %s: ' "$DAEMON" - start-stop-daemon -K -q -p "$PIDFILE" - status=$? - if [ "$status" -eq 0 ]; then - rm -f "$PIDFILE" - echo "OK" - else - echo "FAIL" - fi - return "$status" -} - -restart() { - stop - sleep 1 - start -} - -case "$1" in - start|stop|restart) - "$1";; - reload) - # Restart, since there is no true "reload" feature. - restart;; - *) - echo "Usage: $0 {start|stop|restart|reload}" - exit 1 -esac diff --git a/buildroot-2021.05/package/htpdate/htpdate.hash b/buildroot-2021.05/package/htpdate/htpdate.hash deleted file mode 100644 index 824266c1..00000000 --- a/buildroot-2021.05/package/htpdate/htpdate.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated: -sha256 d2cff522b8f53b00769dcca77d8025b19238ed35d702a4739dc05e387f718909 htpdate-1.2.6.tar.gz -sha256 b1c8d41afde943cacedab52cbb44ef7ffb7026e738b9c891009e89559fe31c20 LICENSE diff --git a/buildroot-2021.05/package/htpdate/htpdate.mk b/buildroot-2021.05/package/htpdate/htpdate.mk deleted file mode 100644 index 52022346..00000000 --- a/buildroot-2021.05/package/htpdate/htpdate.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# htpdate -# -################################################################################ - -HTPDATE_VERSION = 1.2.6 -HTPDATE_SITE = $(call github,angeloc,htpdate,v$(HTPDATE_VERSION)) -HTPDATE_LICENSE = GPL-2.0+ -HTPDATE_LICENSE_FILES = LICENSE - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -HTPDATE_BUILD_OPTS = ENABLE_HTTPS=1 -HTPDATE_DEPENDENCIES += openssl host-pkgconf -endif - -define HTPDATE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(HTPDATE_BUILD_OPTS) -endef - -define HTPDATE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -define HTPDATE_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/htpdate/S43htpdate \ - $(TARGET_DIR)/etc/init.d/S43htpdate -endef - -define HTPDATE_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/htpdate/htpdate.service \ - $(TARGET_DIR)/usr/lib/systemd/system/htpdate.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/htpdate/htpdate.service b/buildroot-2021.05/package/htpdate/htpdate.service deleted file mode 100644 index b7f1371b..00000000 --- a/buildroot-2021.05/package/htpdate/htpdate.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=htpdate daemon -After=network.target - -[Service] -Type=forking -PIDFile=/run/htpdate.pid -Environment=HTPDATE_ARGS="-a -s -t https://www.google.com" -EnvironmentFile=-/etc/default/htpdate -ExecStart=/usr/bin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS - -[Install] -WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/hwdata/hwdata.hash b/buildroot-2021.05/package/hwdata/hwdata.hash deleted file mode 100644 index be8576d8..00000000 --- a/buildroot-2021.05/package/hwdata/hwdata.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 fafcc97421ba766e08a2714ccc3eebb0daabc99e67d53c2d682721dd01ccf7a7 hwdata-0.345.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f LICENSE diff --git a/buildroot-2021.05/package/hwdata/hwdata.mk b/buildroot-2021.05/package/hwdata/hwdata.mk deleted file mode 100644 index 0485603f..00000000 --- a/buildroot-2021.05/package/hwdata/hwdata.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# hwdata -# -################################################################################ - -HWDATA_VERSION = 0.345 -HWDATA_SITE = $(call github,vcrhonek,hwdata,v$(HWDATA_VERSION)) -HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0 -HWDATA_LICENSE_FILES = COPYING LICENSE - -HWDATA_FILES = \ - $(if $(BR2_PACKAGE_HWDATA_IAB_OUI_TXT),iab.txt oui.txt) \ - $(if $(BR2_PACKAGE_HWDATA_PCI_IDS),pci.ids) \ - $(if $(BR2_PACKAGE_HWDATA_PNP_IDS),pnp.ids) \ - $(if $(BR2_PACKAGE_HWDATA_USB_IDS),usb.ids) - -ifneq ($(strip $(HWDATA_FILES)),) -define HWDATA_INSTALL_TARGET_CMDS - $(INSTALL) -d -m 755 $(TARGET_DIR)/usr/share/hwdata - $(INSTALL) -m 644 -t $(TARGET_DIR)/usr/share/hwdata \ - $(addprefix $(@D)/,$(HWDATA_FILES)) -endef -endif - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/hwloc/hwloc.hash b/buildroot-2021.05/package/hwloc/hwloc.hash deleted file mode 100644 index e207a6bb..00000000 --- a/buildroot-2021.05/package/hwloc/hwloc.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.open-mpi.org/software/hwloc/v2.4/ -sha256 392421e69f26120c8ab95d151fe989f2b4b69dab3c7735741c4e0a6d7de5de63 hwloc-2.4.1.tar.bz2 -# Locally computed -sha256 d79a936a42f3c6cb7c8375a023d43f4435f4664d3a5a2ea6b4623cff83c7fc06 COPYING diff --git a/buildroot-2021.05/package/hwloc/hwloc.mk b/buildroot-2021.05/package/hwloc/hwloc.mk deleted file mode 100644 index 2a5a82ce..00000000 --- a/buildroot-2021.05/package/hwloc/hwloc.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# hwloc -# -################################################################################ - -HWLOC_VERSION_MAJOR = 2.4 -HWLOC_VERSION = $(HWLOC_VERSION_MAJOR).1 -HWLOC_SOURCE = hwloc-$(HWLOC_VERSION).tar.bz2 -HWLOC_SITE = https://download.open-mpi.org/release/hwloc/v$(HWLOC_VERSION_MAJOR) -HWLOC_LICENSE = BSD-3-Clause -HWLOC_LICENSE_FILES = COPYING -HWLOC_DEPENDENCIES = host-pkgconf -HWLOC_INSTALL_STAGING = YES -HWLOC_SELINUX_MODULES = hwloc - -# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test -# provided by autoconf relies on wchar_t. -HWLOC_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 - -HWLOC_CONF_OPTS = \ - --disable-opencl \ - --disable-cuda \ - --disable-nvml \ - --disable-gl \ - --disable-cairo \ - --disable-doxygen - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -HWLOC_CONF_OPTS += --enable-libudev -HWLOC_DEPENDENCIES += udev -else -HWLOC_CONF_OPTS += --disable-libudev -endif - -ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y) -HWLOC_CONF_OPTS += --enable-pci -HWLOC_DEPENDENCIES += libpciaccess -else -HWLOC_CONF_OPTS += --disable-pci -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -HWLOC_CONF_OPTS += --enable-libxml2 -HWLOC_DEPENDENCIES += libxml2 -else -HWLOC_CONF_OPTS += --disable-libxml2 -endif - -ifeq ($(BR2_PACKAGE_NCURSES),y) -HWLOC_DEPENDENCIES += ncurses -endif - -ifeq ($(BR2_PACKAGE_NUMACTL),y) -HWLOC_DEPENDENCIES += numactl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/i2c-tools/0001-Revert-tools-i2ctransfer-add-check-for-returned-leng.patch b/buildroot-2021.05/package/i2c-tools/0001-Revert-tools-i2ctransfer-add-check-for-returned-leng.patch deleted file mode 100644 index 7173efe2..00000000 --- a/buildroot-2021.05/package/i2c-tools/0001-Revert-tools-i2ctransfer-add-check-for-returned-leng.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 06a1909ae1e8ae1edc70dc48dd22a32ba5eceecb Mon Sep 17 00:00:00 2001 -From: Wolfram Sang -Date: Tue, 9 Feb 2021 12:05:56 +0100 -Subject: [PATCH] Revert "tools: i2ctransfer: add check for returned length - from driver" - -This reverts commit 34806fc4e7090b34e32fa1110d546ab5ce01a6a0. It was -developed against an experimental kernel. The regular kernel does not -update the new message length to userspace, so the check is always false -positive. We can't change the kernel behaviour because it would break -the ABI. So revert this commit. - -Signed-off-by: Wolfram Sang -Signed-off-by: Wolfram Sang -[Peter: drop CHANGES update] -Signed-off-by: Peter Korsgaard ---- - tools/i2ctransfer.c | 7 +------ - 1 file changed, 1 insertions(+), 6 deletions(-) - -diff --git a/tools/i2ctransfer.c b/tools/i2ctransfer.c -index f2a4df8..b0e8d43 100644 ---- a/tools/i2ctransfer.c -+++ b/tools/i2ctransfer.c -@@ -88,12 +88,7 @@ static void print_msgs(struct i2c_msg *msgs, __u32 nmsgs, unsigned flags) - int recv_len = msgs[i].flags & I2C_M_RECV_LEN; - int print_buf = (read && (flags & PRINT_READ_BUF)) || - (!read && (flags & PRINT_WRITE_BUF)); -- __u16 len = msgs[i].len; -- -- if (recv_len && print_buf && len != msgs[i].buf[0] + 1) { -- fprintf(stderr, "Correcting wrong msg length after recv_len! Please fix the I2C driver and/or report.\n"); -- len = msgs[i].buf[0] + 1; -- } -+ __u16 len = recv_len ? msgs[i].buf[0] + 1 : msgs[i].len; - - if (flags & PRINT_HEADER) { - fprintf(output, "msg %u: addr 0x%02x, %s, len ", --- -2.20.1 - diff --git a/buildroot-2021.05/package/i2c-tools/i2c-tools.hash b/buildroot-2021.05/package/i2c-tools/i2c-tools.hash deleted file mode 100644 index 150bdb2e..00000000 --- a/buildroot-2021.05/package/i2c-tools/i2c-tools.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://www.kernel.org/pub/software/utils/i2c-tools/sha256sums.asc -sha256 37f2dabc7082d185903ff21d1f584b5dcb4dd2eb2c879bbd8d7c50ae900dacd6 i2c-tools-4.2.tar.xz - -# License files -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL -sha256 370e8bc3d45744170cc4b12dc5135b107fa40a00179a19973fbd714146dec04c README diff --git a/buildroot-2021.05/package/i2c-tools/i2c-tools.mk b/buildroot-2021.05/package/i2c-tools/i2c-tools.mk deleted file mode 100644 index 8936f6c4..00000000 --- a/buildroot-2021.05/package/i2c-tools/i2c-tools.mk +++ /dev/null @@ -1,72 +0,0 @@ -################################################################################ -# -# i2c-tools -# -################################################################################ - -I2C_TOOLS_VERSION = 4.2 -I2C_TOOLS_SOURCE = i2c-tools-$(I2C_TOOLS_VERSION).tar.xz -I2C_TOOLS_SITE = https://www.kernel.org/pub/software/utils/i2c-tools -I2C_TOOLS_LICENSE = GPL-2.0+, GPL-2.0 (py-smbus), LGPL-2.1+ (libi2c) -I2C_TOOLS_LICENSE_FILES = COPYING COPYING.LGPL README -I2C_TOOLS_CPE_ID_VENDOR = i2c-tools_project -I2C_TOOLS_MAKE_OPTS = EXTRA=eeprog -I2C_TOOLS_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_PYTHON),y) -I2C_TOOLS_DEPENDENCIES += python -endif - -ifeq ($(BR2_PACKAGE_PYTHON3),y) -I2C_TOOLS_DEPENDENCIES += python3 -endif - -ifeq ($(BR2_STATIC_LIBS),y) -I2C_TOOLS_MAKE_OPTS += BUILD_DYNAMIC_LIB=0 USE_STATIC_LIB=1 -endif - -ifeq ($(BR2_SHARED_LIBS),y) -I2C_TOOLS_MAKE_OPTS += BUILD_STATIC_LIB=0 -endif - -# Build/install steps mirror the distutil python package type in the python package -# infrastructure -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -# BASE_ENV taken from PKG_PYTHON_DISTUTILS_ENV in package/pkg-python.mk -I2C_TOOLS_PYTHON_BASE_ENV = \ - $(PKG_PYTHON_DISTUTILS_ENV) \ - CFLAGS="$(TARGET_CFLAGS) -I../include" - -define I2C_TOOLS_BUILD_PYSMBUS - (cd $(@D)/py-smbus; \ - $(I2C_TOOLS_PYTHON_BASE_ENV) \ - $(HOST_DIR)/bin/python setup.py build \ - $(PKG_PYTHON_DISTUTILS_BUILD_OPTS)) -endef - -define I2C_TOOLS_INSTALL_PYSMBUS - (cd $(@D)/py-smbus; \ - $(I2C_TOOLS_PYTHON_BASE_ENV) \ - $(HOST_DIR)/bin/python setup.py install \ - $(PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS)) -endef - -endif # BR2_PACKAGE_PYTHON - -define I2C_TOOLS_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) $(I2C_TOOLS_MAKE_OPTS) -C $(@D) - $(I2C_TOOLS_BUILD_PYSMBUS) -endef - -define I2C_TOOLS_INSTALL_TARGET_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) $(I2C_TOOLS_MAKE_OPTS) \ - DESTDIR="$(TARGET_DIR)" PREFIX=/usr -C $(@D) install - $(I2C_TOOLS_INSTALL_PYSMBUS) -endef - -define I2C_TOOLS_INSTALL_STAGING_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) $(I2C_TOOLS_MAKE_OPTS) \ - DESTDIR="$(STAGING_DIR)" PREFIX=/usr -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/i2pd/Config.in b/buildroot-2021.05/package/i2pd/Config.in deleted file mode 100644 index 5b9ac33e..00000000 --- a/buildroot-2021.05/package/i2pd/Config.in +++ /dev/null @@ -1,37 +0,0 @@ -config BR2_PACKAGE_I2PD - bool "i2pd" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_ATOMIC - # pthread_condattr_setclock - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR # boost - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_DATE_TIME - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_ZLIB - help - i2pd (I2P Daemon) is a full-featured C++ implementation of I2P - client. - - I2P (Invisible Internet Protocol) is a universal anonymous - network layer. - All communications over I2P are anonymous and end-to-end - encrypted, participants don't reveal their real IP addresses. - - http://i2pd.website - -comment "i2pd needs a toolchain w/ C++, NPTL, wchar" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR - -comment "i2pd needs exception_ptr" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/i2pd/i2pd.hash b/buildroot-2021.05/package/i2pd/i2pd.hash deleted file mode 100644 index e9aa26d5..00000000 --- a/buildroot-2021.05/package/i2pd/i2pd.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/PurpleI2P/i2pd/releases/download/2.37.0/SHA512SUMS -sha512 2cf785941b58563a575511ad2ef8b94ec20bfed10f1a4a06e82603f85c9b9586cf10740fcee0d962cd94bf6059c3950f68f2a0b96b55f1c6de23a7d49014d3e6 i2pd-2.37.0.tar.gz -# Locally computed: -sha256 9c87aff490b272254d716475e3c4973f5f64af1d18f9f6962c1e61e252e1ad9a LICENSE diff --git a/buildroot-2021.05/package/i2pd/i2pd.mk b/buildroot-2021.05/package/i2pd/i2pd.mk deleted file mode 100644 index 3aa56021..00000000 --- a/buildroot-2021.05/package/i2pd/i2pd.mk +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# -# i2pd -# -################################################################################ - -I2PD_VERSION = 2.37.0 -I2PD_SITE = $(call github,PurpleI2P,i2pd,$(I2PD_VERSION)) -I2PD_LICENSE = BSD-3-Clause -I2PD_LICENSE_FILES = LICENSE -I2PD_SUBDIR = build -I2PD_DEPENDENCIES = \ - boost \ - openssl \ - zlib - -I2PD_CONF_OPTS += -DWITH_GUI=OFF - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -I2PD_CONF_OPTS += \ - -DHAVE_CXX_ATOMICS_WITHOUT_LIB=OFF \ - -DHAVE_CXX_ATOMICS64_WITHOUT_LIB=OFF -endif - -ifeq ($(BR2_STATIC_LIBS),y) -I2PD_CONF_OPTS += -DWITH_STATIC=ON -else -I2PD_CONF_OPTS += -DWITH_STATIC=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y) -I2PD_DEPENDENCIES += libminiupnpc -I2PD_CONF_OPTS += -DWITH_UPNP=ON -else -I2PD_CONF_OPTS += -DWITH_UPNP=OFF -endif - -define I2PD_INSTALL_CONFIGURATION_FILES - $(INSTALL) -D -m 644 $(@D)/contrib/i2pd.conf \ - $(TARGET_DIR)/etc/i2pd/i2pd.conf - $(INSTALL) -D -m 644 $(@D)/contrib/tunnels.conf \ - $(TARGET_DIR)/etc/i2pd/tunnels.conf - mkdir -p $(TARGET_DIR)/var/lib/i2pd - cp -a $(@D)/contrib/certificates $(TARGET_DIR)/var/lib/i2pd -endef - -define I2PD_USERS - i2pd -1 i2pd -1 * /var/lib/i2pd - - I2P Daemon -endef - -define I2PD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/i2pd/S99i2pd \ - $(TARGET_DIR)/etc/init.d/S99i2pd -endef - -define I2PD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/i2pd/i2pd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/i2pd.service -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch b/buildroot-2021.05/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch deleted file mode 100644 index c84e359a..00000000 --- a/buildroot-2021.05/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 5aeb25abf13de43b9e497f6509209911dd1386b8 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 26 Apr 2020 15:33:39 +0200 -Subject: [PATCH] Use LONG_BIT to define RADIX_BITS - -This allows to avoid having to support each CPU architecture -individually. - -Also, add the necessary defines in the makefile to expose -LONG_BIT. Adding those defines end up requiring using -as we're now using >= POSIX.1-2001 definitions of fd_set and friends. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Vincent Fazio ---- - src/LibSupport.h | 17 +++-------------- - src/TcpServerPosix.c | 1 + - src/makefile | 2 ++ - 3 files changed, 6 insertions(+), 14 deletions(-) - -diff --git a/src/LibSupport.h b/src/LibSupport.h -index b2e6a51..0b59d18 100644 ---- a/src/LibSupport.h -+++ b/src/LibSupport.h -@@ -64,20 +64,9 @@ - #ifndef _LIB_SUPPORT_H_ - #define _LIB_SUPPORT_H_ - --#ifndef RADIX_BITS --# if defined(__x86_64__) || defined(__x86_64) \ -- || defined(__amd64__) || defined(__amd64) || defined(_WIN64) || defined(_M_X64) \ -- || defined(_M_ARM64) || defined(__aarch64__) \ -- || defined(__powerpc64__) || defined(__ppc64__) --# define RADIX_BITS 64 --# elif defined(__i386__) || defined(__i386) || defined(i386) \ -- || defined(_WIN32) || defined(_M_IX86) \ -- || defined(_M_ARM) || defined(__arm__) || defined(__thumb__) --# define RADIX_BITS 32 --# else --# error Unable to determine RADIX_BITS from compiler environment --# endif --#endif // RADIX_BITS -+#include -+ -+#define RADIX_BITS LONG_BIT - - // These macros use the selected libraries to the proper include files. - #define LIB_QUOTE(_STRING_) #_STRING_ -diff --git a/src/TcpServerPosix.c b/src/TcpServerPosix.c -index 20fcb29..bdac7aa 100644 ---- a/src/TcpServerPosix.c -+++ b/src/TcpServerPosix.c -@@ -66,6 +66,7 @@ - - #include - /* FIXME need Posix TCP socket code */ -+#include - #include - #include - #include -diff --git a/src/makefile b/src/makefile -index f124e78..6ee128e 100644 ---- a/src/makefile -+++ b/src/makefile -@@ -46,6 +46,8 @@ CCFLAGS = -Wall \ - -c -ggdb -O0 \ - -DTPM_POSIX \ - -D_POSIX_ \ -+ -D_DEFAULT_SOURCE \ -+ -D_XOPEN_SOURCE=500 \ - -DTPM_NUVOTON - - # add this line for big endian platforms --- -2.26.2 - diff --git a/buildroot-2021.05/package/ibm-sw-tpm2/0002-Remove-unused-global-variable-to-fix-compilation-with-GCC-10.patch b/buildroot-2021.05/package/ibm-sw-tpm2/0002-Remove-unused-global-variable-to-fix-compilation-with-GCC-10.patch deleted file mode 100644 index ff82a180..00000000 --- a/buildroot-2021.05/package/ibm-sw-tpm2/0002-Remove-unused-global-variable-to-fix-compilation-with-GCC-10.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 9bd2926c0f359f143141c32c2b261ca100d804c8 Mon Sep 17 00:00:00 2001 -From: Jonas Witschel -Date: Wed, 13 May 2020 10:56:03 +0200 -Subject: [PATCH] Remove unused global variable to fix compilation with GCC 10 - -GCC defaults to -fno-common, resulting in a compilation error: - -CryptSym.h:84: multiple definition of `tpmCryptKeySchedule' - -Since the global variable is not used anywhere, it can be removed. -[Retrieved from: -https://github.com/kgoldman/ibmswtpm2/pull/3/commits/9bd2926c0f359f143141c32c2b261ca100d804c8] -Signed-off-by: Fabrice Fontaine ---- - src/CryptSym.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/CryptSym.h b/src/CryptSym.h -index 7b58e41..9a33b13 100644 ---- a/src/CryptSym.h -+++ b/src/CryptSym.h -@@ -81,7 +81,7 @@ union tpmCryptKeySchedule_t { - #else - uint32_t alignment; - #endif --} tpmCryptKeySchedule; -+}; - /* Each block cipher within a library is expected to conform to the same calling conventions with - three parameters (keySchedule, in, and out) in the same order. That means that all algorithms - would use the same order of the same parameters. The code is written assuming the (keySchedule, diff --git a/buildroot-2021.05/package/ibm-sw-tpm2/ibm-sw-tpm2.hash b/buildroot-2021.05/package/ibm-sw-tpm2/ibm-sw-tpm2.hash deleted file mode 100644 index f57dcbbb..00000000 --- a/buildroot-2021.05/package/ibm-sw-tpm2/ibm-sw-tpm2.hash +++ /dev/null @@ -1,6 +0,0 @@ -# from https://sourceforge.net/projects/ibmswtpm2/files -sha1 a2a5335024a2edc1739f08b99e716fa355be627d ibmtpm1563.tar.gz -md5 13013612b3a13dc935fefe1a5684179c ibmtpm1563.tar.gz -# Locally computed: -sha256 fc3a17f8315c1f47670764f2384943afc0d3ba1e9a0422dacb08d455733bd1e9 ibmtpm1563.tar.gz -sha256 dd2d31b560011ea673e197251e710e52669d911367d83cd3cfd018f8ed58bde9 LICENSE diff --git a/buildroot-2021.05/package/ibm-sw-tpm2/ibm-sw-tpm2.mk b/buildroot-2021.05/package/ibm-sw-tpm2/ibm-sw-tpm2.mk deleted file mode 100644 index 58102667..00000000 --- a/buildroot-2021.05/package/ibm-sw-tpm2/ibm-sw-tpm2.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# ibm-sw-tpm2 -# -################################################################################ - -IBM_SW_TPM2_VERSION = 1563 -IBM_SW_TPM2_SOURCE = ibmtpm$(IBM_SW_TPM2_VERSION).tar.gz -IBM_SW_TPM2_SITE = https://sourceforge.net/projects/ibmswtpm2/files -IBM_SW_TPM2_LICENSE = BSD-3-Clause -IBM_SW_TPM2_LICENSE_FILES = LICENSE -IBM_SW_TPM2_DEPENDENCIES = openssl - -define IBM_SW_TPM2_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) -endef - -define IBM_SW_TPM2_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) install \ - DESTDIR=$(TARGET_DIR) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch b/buildroot-2021.05/package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch deleted file mode 100644 index b7c1839f..00000000 --- a/buildroot-2021.05/package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch +++ /dev/null @@ -1,55 +0,0 @@ -From d667b13a87cf3207599a19eb981a893a1d7a67ee Mon Sep 17 00:00:00 2001 -From: Brendan Heading -Date: Mon, 14 Sep 2015 23:25:52 +0100 -Subject: [PATCH 1/1] ibrcommon/data/File.cpp: support POSIX basename call - -Firstly, and somewhat strangely, musl chooses not to provide a basename(3) -prototype within whenever __cplusplus is defined. This can be -solved by including the header defined by POSIX 1003.1 whenever -__GLIBC__ is not defined. - -However, this leads to a second problem. POSIX defines the function as -char* basename(char*) and this is the only version supported by musl. -However, the std::string.cstr() method returns a const char*. - -POSIX says that the string parameter can be modified. However the GNU -implementation never modifies it. glibc therefore supports an extension -when compiling under C++ by also supplying -const char* basename(const char*). This extension is not present on musl -which is the cause of the failure. - -The solution is reasonably straightforward; test if __GLIBC__ is defined -before calling basename. If not, use the fallback already provided for -other platforms whereby basename() is called on a temporary copy. - -Signed-off-by: Brendan Heading -Upstream-status: pending ---- - ibrcommon/data/File.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/ibrcommon/data/File.cpp b/ibrcommon/data/File.cpp -index 31af4ae..68e9b4f 100644 ---- a/ibrcommon/data/File.cpp -+++ b/ibrcommon/data/File.cpp -@@ -35,7 +35,7 @@ - #include - #include - --#if !defined(HAVE_FEATURES_H) || defined(ANDROID) -+#if !defined(HAVE_FEATURES_H) || !defined(__GLIBC__) || defined(ANDROID) - #include - #endif - -@@ -225,7 +225,7 @@ namespace ibrcommon - - std::string File::getBasename() const - { --#if !defined(ANDROID) && defined(HAVE_FEATURES_H) -+#if !defined(ANDROID) && defined(HAVE_FEATURES_H) && defined(__GLIBC__) - return std::string(basename(_path.c_str())); - #else - char path[_path.length()+1]; --- -2.4.3 - diff --git a/buildroot-2021.05/package/ibrcommon/ibrcommon.mk b/buildroot-2021.05/package/ibrcommon/ibrcommon.mk deleted file mode 100644 index 4d2d351c..00000000 --- a/buildroot-2021.05/package/ibrcommon/ibrcommon.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# ibrcommon -# -################################################################################ - -IBRCOMMON_VERSION = 1.0.1 -IBRCOMMON_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases -IBRCOMMON_INSTALL_STAGING = YES -IBRCOMMON_LICENSE = Apache-2.0 -IBRCOMMON_LICENSE_FILES = COPYING README -IBRCOMMON_DEPENDENCIES = host-pkgconf - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -IBRCOMMON_DEPENDENCIES += openssl -IBRCOMMON_CONF_OPTS += --with-openssl -else -IBRCOMMON_CONF_OPTS += --without-openssl -endif - -ifeq ($(BR2_PACKAGE_LIBNL),y) -IBRCOMMON_DEPENDENCIES += libnl -IBRCOMMON_CONF_OPTS += --with-lowpan -else -IBRCOMMON_CONF_OPTS += --without-lowpan -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -IBRCOMMON_DEPENDENCIES += libxml2 -IBRCOMMON_CONF_OPTS += --with-xml -else -IBRCOMMON_CONF_OPTS += --without-xml -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ibrdtn-tools/ibrdtn-tools.mk b/buildroot-2021.05/package/ibrdtn-tools/ibrdtn-tools.mk deleted file mode 100644 index 97ec3c9e..00000000 --- a/buildroot-2021.05/package/ibrdtn-tools/ibrdtn-tools.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# ibrdtn-tools -# -################################################################################ - -IBRDTN_TOOLS_VERSION = 1.0.1 -IBRDTN_TOOLS_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases -IBRDTN_TOOLS_LICENSE = Apache-2.0 -IBRDTN_TOOLS_LICENSE_FILES = COPYING -IBRDTN_TOOLS_DEPENDENCIES = ibrcommon ibrdtn host-pkgconf - -ifeq ($(BR2_STATIC_LIBS),y) -IBRDTN_TOOLS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread" -endif - -ifeq ($(BR2_PACKAGE_LIBDAEMON),y) -IBRDTN_TOOLS_CONF_OPTS += --with-libdaemon -IBRDTN_TOOLS_DEPENDENCIES += libdaemon -else -IBRDTN_TOOLS_CONF_OPTS += --without-libdaemon -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) -IBRDTN_TOOLS_CONF_OPTS += --with-libarchive -IBRDTN_TOOLS_DEPENDENCIES += libarchive -else -IBRDTN_TOOLS_CONF_OPTS += --without-libarchive -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ibrdtn/ibrdtn.mk b/buildroot-2021.05/package/ibrdtn/ibrdtn.mk deleted file mode 100644 index 3f805c40..00000000 --- a/buildroot-2021.05/package/ibrdtn/ibrdtn.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# ibrdtn -# -################################################################################ - -IBRDTN_VERSION = 1.0.1 -IBRDTN_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases -IBRDTN_INSTALL_STAGING = YES -IBRDTN_LICENSE = Apache-2.0 -IBRDTN_LICENSE_FILES = COPYING -IBRDTN_DEPENDENCIES = ibrcommon host-pkgconf - -ifeq ($(BR2_PACKAGE_ZLIB),y) -IBRDTN_CONF_OPTS += --with-compression -IBRDTN_DEPENDENCIES += zlib -else -IBRDTN_CONF_OPTS += --without-compression -endif - -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -IBRDTN_CONF_OPTS += --with-glib -IBRDTN_DEPENDENCIES += libglib2 -else -IBRDTN_CONF_OPTS += --without-glib -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ibrdtnd/ibrdtnd.mk b/buildroot-2021.05/package/ibrdtnd/ibrdtnd.mk deleted file mode 100644 index 0632ed36..00000000 --- a/buildroot-2021.05/package/ibrdtnd/ibrdtnd.mk +++ /dev/null @@ -1,51 +0,0 @@ -################################################################################ -# -# ibrdtnd -# -################################################################################ - -IBRDTND_VERSION = 1.0.1 -IBRDTND_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases -IBRDTND_LICENSE = Apache-2.0 -IBRDTND_LICENSE_FILES = COPYING -IBRDTND_DEPENDENCIES = ibrdtn ibrcommon host-pkgconf - -# Disable features that don't have the necessary dependencies in -# Buildroot -IBRDTND_CONF_OPTS = \ - --disable-dtndht \ - --without-wifip2p \ - --without-vmime - -# don't build documentation -IBRDTND_CONF_ENV = PDFLATEX='no' - -ifeq ($(BR2_PACKAGE_LIBDAEMON),y) -IBRDTND_CONF_OPTS += --enable-libdaemon -IBRDTND_DEPENDENCIES += libdaemon -else -IBRDTND_CONF_OPTS += --disable-libdaemon -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -IBRDTND_CONF_OPTS += --with-curl -IBRDTND_DEPENDENCIES += libcurl -else -IBRDTND_CONF_OPTS += --without-curl -endif - -ifeq ($(BR2_PACKAGE_SQLITE),y) -IBRDTND_CONF_OPTS += --with-sqlite -IBRDTND_DEPENDENCIES += sqlite -else -IBRDTND_CONF_OPTS += --without-sqlite -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -IBRDTND_CONF_OPTS += --with-tls -IBRDTND_DEPENDENCIES += openssl -else -IBRDTND_CONF_OPTS += --without-tls -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/icu/Config.in b/buildroot-2021.05/package/icu/Config.in deleted file mode 100644 index b0c9eac8..00000000 --- a/buildroot-2021.05/package/icu/Config.in +++ /dev/null @@ -1,35 +0,0 @@ -config BR2_PACKAGE_ICU - bool "icu" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on BR2_HOST_GCC_AT_LEAST_4_9 # C++11 PR56019 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 PR56019 - depends on BR2_TOOLCHAIN_HAS_THREADS - # icu does some funky things by generating by itself an ELF - # file, and it cannot easily be changed to generate FLAT - # format. - depends on !BR2_BINFMT_FLAT - help - International Components for Unicode. - - http://site.icu-project.org/ - -if BR2_PACKAGE_ICU - -config BR2_PACKAGE_ICU_CUSTOM_DATA_PATH - string "Path to custom data library file" - help - This option allows to define the path to a custom data - library generated with http://apps.icu-project.org/datacustom/ - Make sure you select the appropiate version to match the one - provided by buildroot. - Leave empty to not use this functionality. - -endif - -comment "icu needs a toolchain w/ C++, wchar, threads, gcc >= 4.9, host gcc >= 4.9" - depends on !BR2_BINFMT_FLAT - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/icu/icu.hash b/buildroot-2021.05/package/icu/icu.hash deleted file mode 100644 index 80cdd7df..00000000 --- a/buildroot-2021.05/package/icu/icu.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 a9f2e3d8b4434b8e53878b4308bd1e6ee51c9c7042e2b1a376abefb6fbb29f2d icu4c-68_1-src.tgz -sha256 7915b19db903070778581ae05d8bf4ea241b34a05deb51ca4f5cbb15ea1cbba3 LICENSE diff --git a/buildroot-2021.05/package/icu/icu.mk b/buildroot-2021.05/package/icu/icu.mk deleted file mode 100644 index 4d67831c..00000000 --- a/buildroot-2021.05/package/icu/icu.mk +++ /dev/null @@ -1,67 +0,0 @@ -################################################################################ -# -# icu -# -################################################################################ - -# Git tags (and therefore versions on release-monitoring.org) use the -# XX-Y format, but the tarballs are named XX_Y and the containing -# directories XX.Y. -ICU_VERSION = 68-1 -ICU_SOURCE = icu4c-$(subst -,_,$(ICU_VERSION))-src.tgz -ICU_SITE = \ - https://github.com/unicode-org/icu/releases/download/release-$(ICU_VERSION) -ICU_LICENSE = ICU License -ICU_LICENSE_FILES = LICENSE -ICU_CPE_ID_VENDOR = icu-project -ICU_CPE_ID_PRODUCT = international_components_for_unicode -ICU_CPE_ID_VERSION = $(subst -,.,$(ICU_VERSION)) - -ICU_DEPENDENCIES = host-icu -ICU_INSTALL_STAGING = YES -ICU_CONFIG_SCRIPTS = icu-config -ICU_CONF_OPTS = \ - --with-cross-build=$(HOST_ICU_DIR)/source \ - --disable-samples \ - --disable-tests - -# When available, icu prefers to use C++11 atomics, which rely on the -# __atomic builtins. On certain architectures, this requires linking -# with libatomic starting from gcc 4.8. -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -ICU_CONF_ENV += LIBS="-latomic" -endif - -# strtod_l() is not supported by musl; also xlocale.h is missing -ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) -ICU_CONF_ENV += ac_cv_func_strtod_l=no -endif - -HOST_ICU_CONF_OPTS = \ - --disable-samples \ - --disable-tests \ - --disable-extras \ - --disable-icuio \ - --disable-layout \ - --disable-renaming -ICU_SUBDIR = source -HOST_ICU_SUBDIR = source - -ICU_CUSTOM_DATA_PATH = $(call qstrip,$(BR2_PACKAGE_ICU_CUSTOM_DATA_PATH)) - -ifneq ($(ICU_CUSTOM_DATA_PATH),) -define ICU_COPY_CUSTOM_DATA - cp $(ICU_CUSTOM_DATA_PATH) $(@D)/source/data/in/ -endef -ICU_POST_PATCH_HOOKS += ICU_COPY_CUSTOM_DATA -endif - -define ICU_REMOVE_DEV_FILES - rm -f $(addprefix $(TARGET_DIR)/usr/bin/,derb genbrk gencfu gencnval gendict genrb icuinfo makeconv uconv) - rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,genccode gencmn gennorm2 gensprep icupkg) - rm -rf $(TARGET_DIR)/usr/share/icu -endef -ICU_POST_INSTALL_TARGET_HOOKS += ICU_REMOVE_DEV_FILES - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/ifplugd/ifplugd.mk b/buildroot-2021.05/package/ifplugd/ifplugd.mk deleted file mode 100644 index 06b06074..00000000 --- a/buildroot-2021.05/package/ifplugd/ifplugd.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# ifplugd -# -################################################################################ - -IFPLUGD_VERSION = 0.28 -IFPLUGD_SITE = http://0pointer.de/lennart/projects/ifplugd -IFPLUGD_LICENSE = GPL-2.0+ -IFPLUGD_LICENSE_FILES = LICENSE -IFPLUGD_AUTORECONF = YES - -# install-strip unconditionally overwrites $(TARGET_DIR)/etc/ifplugd/ifplugd.* -IFPLUGD_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec -IFPLUGD_CONF_OPTS = --disable-lynx --with-initdir=/etc/init.d/ -IFPLUGD_DEPENDENCIES = libdaemon - -define IFPLUGD_INSTALL_FIXUP - $(INSTALL) -D -m 0644 $(@D)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \ - $(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \ - $(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.action \ - $(TARGET_DIR)/etc/ifplugd/ifplugd.action -endef - -IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP - -define IFPLUGD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.init \ - $(TARGET_DIR)/etc/init.d/S45ifplugd - # don't use bash for init script - $(SED) 's^/bin/bash^/bin/sh^g' $(TARGET_DIR)/etc/init.d/S45ifplugd -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ima-evm-utils/ima-evm-utils.hash b/buildroot-2021.05/package/ima-evm-utils/ima-evm-utils.hash deleted file mode 100644 index 2cdba227..00000000 --- a/buildroot-2021.05/package/ima-evm-utils/ima-evm-utils.hash +++ /dev/null @@ -1,4 +0,0 @@ -# sha1 from sourceforge, sha256 locally computed -sha1 034d163533ae5f9c06001b375ec7e5a1b09a3853 ima-evm-utils-1.3.2.tar.gz -sha256 c2b206e7f9fbe62a938b7ae59e31906fefae4d5351fe01db739bd8346b75d4a7 ima-evm-utils-1.3.2.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/ima-evm-utils/ima-evm-utils.mk b/buildroot-2021.05/package/ima-evm-utils/ima-evm-utils.mk deleted file mode 100644 index cc53e02d..00000000 --- a/buildroot-2021.05/package/ima-evm-utils/ima-evm-utils.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# ima-evm-utils -# -################################################################################ - -IMA_EVM_UTILS_VERSION = 1.3.2 -IMA_EVM_UTILS_SITE = http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils -IMA_EVM_UTILS_LICENSE = GPL-2.0 -IMA_EVM_UTILS_LICENSE_FILES = COPYING -IMA_EVM_UTILS_DEPENDENCIES = host-pkgconf keyutils openssl tpm2-tss - -# Tarball doesn't contain configure -IMA_EVM_UTILS_AUTORECONF = YES - -# Build and install in the src subdirectory. This avoids building the -# documentation, which requires asciidoc and xsltproc. Note that configure still -# needs to be run from the top dir, so _SUBDIR can't be used. - -define IMA_EVM_UTILS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src all -endef - -define IMA_EVM_UTILS_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D)/src install -endef - -define IMA_EVM_UTILS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D)/src install -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/imagemagick/Config.in.host b/buildroot-2021.05/package/imagemagick/Config.in.host deleted file mode 100644 index e12d8293..00000000 --- a/buildroot-2021.05/package/imagemagick/Config.in.host +++ /dev/null @@ -1,27 +0,0 @@ -config BR2_PACKAGE_HOST_IMAGEMAGICK - bool "host imagemagick" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg - help - ImageMagick(R) is a software suite to create, edit, and - compose bitmap images. It can read, convert and write images - in a variety of formats (about 100) including DPX, EXR, GIF, - JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. - Use ImageMagick to translate, flip, mirror, rotate, scale, - shear and transform images, adjust image colors, apply various - special effects, or draw text, lines, polygons, ellipses and - Bézier curves. - - http://www.imagemagick.org/ - -if BR2_PACKAGE_HOST_IMAGEMAGICK - -config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG - bool "SVG support" - help - Say 'y' here is you need ImageMagick tools (like convert) - to support SVG. - - This is not enabled by default, as it brings quite a few - extra dependencies, and thus extra build time. - -endif diff --git a/buildroot-2021.05/package/imagemagick/imagemagick.hash b/buildroot-2021.05/package/imagemagick/imagemagick.hash deleted file mode 100644 index b787643f..00000000 --- a/buildroot-2021.05/package/imagemagick/imagemagick.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 fc454be622724c6224fa6c8230bb9c50191a05fbf05b9c9c25aa3e5497090b83 imagemagick-7.0.11-13.tar.gz -sha256 040badb77b659e751ea16113490a937e1e01f3f5d32181e966b8982413533fb2 LICENSE diff --git a/buildroot-2021.05/package/imagemagick/imagemagick.mk b/buildroot-2021.05/package/imagemagick/imagemagick.mk deleted file mode 100644 index a6eaf998..00000000 --- a/buildroot-2021.05/package/imagemagick/imagemagick.mk +++ /dev/null @@ -1,248 +0,0 @@ -################################################################################ -# -# imagemagick -# -################################################################################ - -IMAGEMAGICK_VERSION = 7.0.11-13 -IMAGEMAGICK_SITE = $(call github,ImageMagick,ImageMagick,$(IMAGEMAGICK_VERSION)) -IMAGEMAGICK_LICENSE = Apache-2.0 -IMAGEMAGICK_LICENSE_FILES = LICENSE -IMAGEMAGICK_CPE_ID_VENDOR = imagemagick - -IMAGEMAGICK_INSTALL_STAGING = YES -IMAGEMAGICK_CONFIG_SCRIPTS = \ - $(addsuffix -config,MagickCore MagickWand) - -ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_USE_WCHAR),yy) -IMAGEMAGICK_CONFIG_SCRIPTS += Magick++-config -endif - -IMAGEMAGICK_CONF_ENV = \ - ac_cv_sys_file_offset_bits=64 \ - ax_cv_check_cl_libcl=no - -IMAGEMAGICK_CONF_OPTS = \ - --program-transform-name='s,,,' \ - --disable-opencl \ - --disable-openmp \ - --without-djvu \ - --without-dps \ - --without-flif \ - --without-fpx \ - --without-gslib \ - --without-gvc \ - --without-heic \ - --without-jbig \ - --without-jxl \ - --without-lqr \ - --without-openexr \ - --without-openjp2 \ - --without-perl \ - --without-raqm \ - --without-wmf \ - --without-x \ - --with-gs-font-dir=/usr/share/fonts/gs - -IMAGEMAGICK_DEPENDENCIES = host-pkgconf - -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -# Like postgreSQL, imagemagick does not build against uClibc with -# locales enabled, due to an uClibc bug, see -# http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html -# so overwrite automatic detection and disable locale support -IMAGEMAGICK_CONF_ENV += ac_cv_func_newlocale=no -endif - -ifeq ($(BR2_PACKAGE_FONTCONFIG),y) -IMAGEMAGICK_CONF_OPTS += --with-fontconfig -IMAGEMAGICK_DEPENDENCIES += fontconfig -else -IMAGEMAGICK_CONF_OPTS += --without-fontconfig -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -IMAGEMAGICK_CONF_OPTS += --with-freetype -IMAGEMAGICK_CONF_ENV += \ - ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config -IMAGEMAGICK_DEPENDENCIES += freetype -else -IMAGEMAGICK_CONF_OPTS += --without-freetype -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -IMAGEMAGICK_CONF_OPTS += --with-jpeg -IMAGEMAGICK_DEPENDENCIES += jpeg -else -IMAGEMAGICK_CONF_OPTS += --without-jpeg -endif - -ifeq ($(BR2_PACKAGE_LCMS2),y) -IMAGEMAGICK_CONF_OPTS += --with-lcms -IMAGEMAGICK_DEPENDENCIES += lcms2 -else -IMAGEMAGICK_CONF_OPTS += --without-lcms -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -IMAGEMAGICK_CONF_OPTS += --with-png -IMAGEMAGICK_DEPENDENCIES += libpng -else -IMAGEMAGICK_CONF_OPTS += --without-png -endif - -ifeq ($(BR2_PACKAGE_LIBRAW),y) -IMAGEMAGICK_CONF_OPTS += --with-raw -IMAGEMAGICK_DEPENDENCIES += libraw -else -IMAGEMAGICK_CONF_OPTS += --without-raw -endif - -ifeq ($(BR2_PACKAGE_LIBRSVG),y) -IMAGEMAGICK_CONF_OPTS += --with-rsvg -IMAGEMAGICK_DEPENDENCIES += librsvg -else -IMAGEMAGICK_CONF_OPTS += --without-rsvg -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -IMAGEMAGICK_CONF_OPTS += --with-xml -IMAGEMAGICK_CONF_ENV += ac_cv_path_xml2_config=$(STAGING_DIR)/usr/bin/xml2-config -IMAGEMAGICK_DEPENDENCIES += libxml2 -else -IMAGEMAGICK_CONF_OPTS += --without-xml -endif - -ifeq ($(BR2_PACKAGE_LIBZIP),y) -IMAGEMAGICK_CONF_OPTS += --with-zip -IMAGEMAGICK_DEPENDENCIES += libzip -else -IMAGEMAGICK_CONF_OPTS += --without-zip -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -IMAGEMAGICK_CONF_OPTS += --with-zstd -IMAGEMAGICK_DEPENDENCIES += zstd -else -IMAGEMAGICK_CONF_OPTS += --without-zstd -endif - -ifeq ($(BR2_PACKAGE_PANGO),y) -IMAGEMAGICK_CONF_OPTS += --with-pango -IMAGEMAGICK_DEPENDENCIES += pango -else -IMAGEMAGICK_CONF_OPTS += --without-pango -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -IMAGEMAGICK_CONF_OPTS += --with-tiff -IMAGEMAGICK_DEPENDENCIES += tiff -else -IMAGEMAGICK_CONF_OPTS += --without-tiff -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -IMAGEMAGICK_CONF_OPTS += --with-lzma -IMAGEMAGICK_DEPENDENCIES += xz -else -IMAGEMAGICK_CONF_OPTS += --without-lzma -endif - -ifeq ($(BR2_PACKAGE_FFTW_DOUBLE),y) -# configure script misdetects these leading to build errors -IMAGEMAGICK_CONF_ENV += ac_cv_func_creal=yes ac_cv_func_cimag=yes -IMAGEMAGICK_CONF_OPTS += --with-fftw -IMAGEMAGICK_DEPENDENCIES += fftw-double -else -IMAGEMAGICK_CONF_OPTS += --without-fftw -endif - -ifeq ($(BR2_PACKAGE_WEBP),y) -IMAGEMAGICK_CONF_OPTS += --with-webp -IMAGEMAGICK_DEPENDENCIES += webp -else -IMAGEMAGICK_CONF_OPTS += --without-webp -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -IMAGEMAGICK_CONF_OPTS += --with-zlib -IMAGEMAGICK_DEPENDENCIES += zlib -else -IMAGEMAGICK_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -IMAGEMAGICK_CONF_OPTS += --with-bzlib -IMAGEMAGICK_DEPENDENCIES += bzip2 -else -IMAGEMAGICK_CONF_OPTS += --without-bzlib -endif - -HOST_IMAGEMAGICK_CONF_OPTS = \ - --disable-opencl \ - --disable-openmp \ - --without-djvu \ - --without-dps \ - --without-flif \ - --without-fpx \ - --without-gslib \ - --without-gvc \ - --without-heic \ - --without-jbig \ - --without-jxl \ - --without-lqr \ - --without-openexr \ - --without-openjp2 \ - --without-perl \ - --without-raqm \ - --without-raw \ - --without-wmf \ - --without-x \ - --without-zip \ - --without-zstd \ - --without-bzlib \ - --without-fftw \ - --without-lcms \ - --without-lzma \ - --without-tiff \ - --without-webp \ - --with-jpeg \ - --with-png \ - --with-zlib - -# uses clock_gettime, which was provided by librt in glibc < 2.17 -HOST_IMAGEMAGICK_CONF_ENV = \ - LIBS="-lrt" \ - ax_cv_check_cl_libcl=no - -HOST_IMAGEMAGICK_DEPENDENCIES = \ - host-libjpeg \ - host-libpng \ - host-pkgconf \ - host-zlib - -ifeq ($(BR2_PACKAGE_HOST_IMAGEMAGICK_SVG),y) -HOST_IMAGEMAGICK_DEPENDENCIES += \ - host-fontconfig \ - host-freetype \ - host-librsvg \ - host-libxml2 \ - host-pango -HOST_IMAGEMAGICK_CONF_ENV += ac_cv_path_xml2_config=$(HOST_DIR)/bin/xml2-config -HOST_IMAGEMAGICK_CONF_OPTS += \ - --with-fontconfig \ - --with-freetype \ - --with-pango \ - --with-rsvg \ - --with-xml -else -HOST_IMAGEMAGICK_CONF_OPTS += \ - --without-fontconfig \ - --without-freetype \ - --without-pango \ - --without-rsvg \ - --without-xml -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/imlib2/imlib2.hash b/buildroot-2021.05/package/imlib2/imlib2.hash deleted file mode 100644 index 68f6c91d..00000000 --- a/buildroot-2021.05/package/imlib2/imlib2.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://sourceforge.net/projects/enlightenment/files/imlib2-src/1.6.1/ -md5 7b3fbcb974b48822b32b326c6a47764b imlib2-1.6.1.tar.bz2 -sha1 3b5f850e83cbb7481e33061348fb9c7a555c8c60 imlib2-1.6.1.tar.bz2 - -# Locally computed -sha256 4d393a77e13da883c8ee2da3b029da3570210fe37d000c9ac33d9fce751b166d imlib2-1.6.1.tar.bz2 -sha256 fb70339dd33a77b6213c7ae067fccf93d04af44ff3f937c61f8863f7970e73f6 COPYING -sha256 8c9a2e92ed4937e2d30c2ea95439c36ed3002fc47e34efee43455a460fee8ef5 COPYING-PLAIN diff --git a/buildroot-2021.05/package/imlib2/imlib2.mk b/buildroot-2021.05/package/imlib2/imlib2.mk deleted file mode 100644 index a8855857..00000000 --- a/buildroot-2021.05/package/imlib2/imlib2.mk +++ /dev/null @@ -1,68 +0,0 @@ -################################################################################ -# -# imlib2 -# -################################################################################ - -IMLIB2_VERSION = 1.6.1 -IMLIB2_SOURCE = imlib2-$(IMLIB2_VERSION).tar.bz2 -IMLIB2_SITE = http://downloads.sourceforge.net/project/enlightenment/imlib2-src/$(IMLIB2_VERSION) -IMLIB2_LICENSE = Imlib2 -IMLIB2_LICENSE_FILES = COPYING COPYING-PLAIN -IMLIB2_CPE_ID_VENDOR = enlightenment - -IMLIB2_INSTALL_STAGING = YES -IMLIB2_DEPENDENCIES = host-pkgconf freetype -IMLIB2_CONF_OPTS = --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config -IMLIB2_CONFIG_SCRIPTS = imlib2-config - -ifeq ($(BR2_PACKAGE_IMLIB2_X),y) -IMLIB2_CONF_OPTS += --with-x -IMLIB2_DEPENDENCIES += xlib_libX11 xlib_libXext -else -IMLIB2_CONF_OPTS += --without-x -endif - -ifeq ($(BR2_PACKAGE_IMLIB2_JPEG),y) -IMLIB2_CONF_OPTS += --with-jpeg -IMLIB2_DEPENDENCIES += jpeg -else -IMLIB2_CONF_OPTS += --without-jpeg -endif - -ifeq ($(BR2_PACKAGE_IMLIB2_PNG),y) -IMLIB2_CONF_OPTS += --with-png -IMLIB2_DEPENDENCIES += libpng -else -IMLIB2_CONF_OPTS += --without-png -endif - -ifeq ($(BR2_PACKAGE_IMLIB2_GIF),y) -IMLIB2_CONF_OPTS += --with-gif -IMLIB2_DEPENDENCIES += giflib -else -IMLIB2_CONF_OPTS += --without-gif -endif - -ifeq ($(BR2_PACKAGE_IMLIB2_TIFF),y) -IMLIB2_CONF_OPTS += --with-tiff -IMLIB2_DEPENDENCIES += tiff -else -IMLIB2_CONF_OPTS += --without-tiff -endif - -ifeq ($(BR2_PACKAGE_IMLIB2_ID3),y) -IMLIB2_CONF_OPTS += --with-id3 -IMLIB2_DEPENDENCIES += libid3tag -else -IMLIB2_CONF_OPTS += --without-id3 -endif - -# drop -L from linker flags -define IMLIB2_FIXUP_IMLIB2_CONFIG - $(SED) 's/-L[^ ]*//g' $(STAGING_DIR)/usr/bin/imlib2-config -endef - -IMLIB2_POST_INSTALL_STAGING_HOOKS += IMLIB2_FIXUP_IMLIB2_CONFIG - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/inadyn/S70inadyn b/buildroot-2021.05/package/inadyn/S70inadyn deleted file mode 100644 index ca7b4146..00000000 --- a/buildroot-2021.05/package/inadyn/S70inadyn +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh -# -# Start & stop the inadyn client -# - -CONFIG=/etc/inadyn.conf - -# check if CONFIG exists, print message & exit if it doesn't -[ ! -f $CONFIG ] && ( echo "The config file "$CONFIG" is missing...exiting now." && exit 2 ) - -# Allow a few customizations from a config file. Especially inadyn -# must be explicitly enabled by adding ENABLED="yes" in this file. -test -r /etc/default/inadyn && . /etc/default/inadyn - -case "$1" in - start) - printf "Starting inadyn: " - if test "${ENABLED}" != "yes" ; then - echo "SKIPPED" - exit 0 - fi - start-stop-daemon -b -q -S -p /var/run/inadyn.pid -x /usr/sbin/inadyn - [ $? = 0 ] && echo "OK" || echo "FAIL" - ;; - stop) - printf "Stopping inadyn: " - if test "${ENABLED}" != "yes" ; then - echo "SKIPPED" - exit 0 - fi - start-stop-daemon -q -K -p /var/run/inadyn.pid -x /usr/sbin/inadyn - [ $? = 0 ] && echo "OK" || echo "FAIL" - rm -f /var/run/inadyn.pid - ;; - restart) - "$0" stop - "$0" start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/buildroot-2021.05/package/inadyn/inadyn.conf b/buildroot-2021.05/package/inadyn/inadyn.conf deleted file mode 100644 index 1b290276..00000000 --- a/buildroot-2021.05/package/inadyn/inadyn.conf +++ /dev/null @@ -1,11 +0,0 @@ -# Basic configuration file for inadyn -# -# /etc/inadyn.conf -iface = eth0 -period = 300 - -provider default@dyndns.org { - username = test - password = test - hostname = test -} diff --git a/buildroot-2021.05/package/inadyn/inadyn.hash b/buildroot-2021.05/package/inadyn/inadyn.hash deleted file mode 100644 index 638f92d1..00000000 --- a/buildroot-2021.05/package/inadyn/inadyn.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/troglobit/inadyn/releases/download/v2.8.1/inadyn-2.8.1.tar.xz.sha256 -sha256 1185a9fb165bfc5f5b5f66f0dd8a695c9bd78d4b20cd162273eeea77f2d2e685 inadyn-2.8.1.tar.xz - -# Locally computed -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/inadyn/inadyn.mk b/buildroot-2021.05/package/inadyn/inadyn.mk deleted file mode 100644 index c115e892..00000000 --- a/buildroot-2021.05/package/inadyn/inadyn.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# inadyn -# -################################################################################ - -INADYN_VERSION = 2.8.1 -INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION) -INADYN_SOURCE = inadyn-$(INADYN_VERSION).tar.xz -INADYN_LICENSE = GPL-2.0+ -INADYN_LICENSE_FILES = COPYING -INADYN_DEPENDENCIES = host-pkgconf libconfuse - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -INADYN_CONF_OPTS += --enable-openssl -INADYN_DEPENDENCIES += openssl -else ifeq ($(BR2_PACKAGE_GNUTLS),y) -INADYN_DEPENDENCIES += gnutls -else -INADYN_CONF_OPTS += --disable-ssl -endif - -define INADYN_INSTALL_SAMPLE_CONFIG - $(INSTALL) -D -m 0600 package/inadyn/inadyn.conf \ - $(TARGET_DIR)/etc/inadyn.conf -endef -INADYN_POST_INSTALL_TARGET_HOOKS += INADYN_INSTALL_SAMPLE_CONFIG - -define INADYN_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/inadyn/S70inadyn \ - $(TARGET_DIR)/etc/init.d/S70inadyn -endef - -define INADYN_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/inadyn/inadyn.service \ - $(TARGET_DIR)/usr/lib/systemd/system/inadyn.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/inadyn/inadyn.service b/buildroot-2021.05/package/inadyn/inadyn.service deleted file mode 100644 index abc0a1e4..00000000 --- a/buildroot-2021.05/package/inadyn/inadyn.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=DDNS client -After=syslog.target network.target - -[Service] -ExecStart=/usr/bin/inadyn -Restart=always - -[Install] -WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/initscripts/initscripts.mk b/buildroot-2021.05/package/initscripts/initscripts.mk deleted file mode 100644 index cfee1555..00000000 --- a/buildroot-2021.05/package/initscripts/initscripts.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# initscripts -# -################################################################################ - -define INITSCRIPTS_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/etc/init.d - $(INSTALL) -D -m 0755 package/initscripts/init.d/* $(TARGET_DIR)/etc/init.d/ -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/input-event-daemon/input-event-daemon.mk b/buildroot-2021.05/package/input-event-daemon/input-event-daemon.mk deleted file mode 100644 index dbe2d4bf..00000000 --- a/buildroot-2021.05/package/input-event-daemon/input-event-daemon.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# input-event-daemon -# -################################################################################ - -INPUT_EVENT_DAEMON_VERSION = 0.1.3 -INPUT_EVENT_DAEMON_SITE = $(call github,gandro,input-event-daemon,v$(INPUT_EVENT_DAEMON_VERSION)) -INPUT_EVENT_DAEMON_LICENSE = input-event-daemon license -INPUT_EVENT_DAEMON_LICENSE_FILES = README - -define INPUT_EVENT_DAEMON_BUILD_CMDS - touch $(@D)/input-event-table.h - $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) -endef - -define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/input-event-daemon \ - $(TARGET_DIR)/usr/bin/input-event-daemon - $(INSTALL) -m 644 -D $(@D)/docs/sample.conf \ - $(TARGET_DIR)/etc/input-event-daemon.conf -endef - -define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \ - $(TARGET_DIR)/etc/init.d/S99input-event-daemon -endef - -define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/input-event-daemon/input-event-daemon.service \ - $(TARGET_DIR)/usr/lib/systemd/system/input-event-daemon.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/intel-gmmlib/Config.in b/buildroot-2021.05/package/intel-gmmlib/Config.in deleted file mode 100644 index 9d5fbd9c..00000000 --- a/buildroot-2021.05/package/intel-gmmlib/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_INTEL_GMMLIB - bool "intel-gmmlib" - depends on BR2_x86_64 - depends on !BR2_STATIC_LIBS - help - The Intel(R) Graphics Memory Management Library provides - device specific and buffer management for the Intel(R) - Graphics Compute Runtime for OpenCL(TM) and the Intel(R) - Media Driver for VAAPI. - - https://github.com/intel/gmmlib - -comment "intel-gmmlib needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/intel-gmmlib/intel-gmmlib.hash b/buildroot-2021.05/package/intel-gmmlib/intel-gmmlib.hash deleted file mode 100644 index 1e8baba6..00000000 --- a/buildroot-2021.05/package/intel-gmmlib/intel-gmmlib.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 bb874b41c499abb8f6253b1834e93a02ed9744de71f2503ee9cd4100af7c1860 intel-gmmlib-19.4.1.tar.gz -sha256 b61d639c5d84ec710ffcf5600ac92f8a4ace66670c1f9bd921f3bde671d36033 LICENSE.md diff --git a/buildroot-2021.05/package/intel-gmmlib/intel-gmmlib.mk b/buildroot-2021.05/package/intel-gmmlib/intel-gmmlib.mk deleted file mode 100644 index 517fc091..00000000 --- a/buildroot-2021.05/package/intel-gmmlib/intel-gmmlib.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# intel-gmmlib -# -################################################################################ - -INTEL_GMMLIB_VERSION = 19.4.1 -INTEL_GMMLIB_SITE = https://github.com/intel/gmmlib/archive -INTEL_GMMLIB_LICENSE = MIT -INTEL_GMMLIB_LICENSE_FILES = LICENSE.md - -INTEL_GMMLIB_INSTALL_STAGING = YES -INTEL_GMMLIB_SUPPORTS_IN_SOURCE_BUILD = NO - -INTEL_GMMLIB_CONF_OPTS = -DRUN_TEST_SUITE=OFF - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/intel-mediadriver/0001-Drop-hardening-related-flags.patch b/buildroot-2021.05/package/intel-mediadriver/0001-Drop-hardening-related-flags.patch deleted file mode 100644 index bc292033..00000000 --- a/buildroot-2021.05/package/intel-mediadriver/0001-Drop-hardening-related-flags.patch +++ /dev/null @@ -1,63 +0,0 @@ -From 8916c8480eb3483c2ffb41ad8961cd0c2b0fb1c4 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Mon, 15 Apr 2019 22:48:21 +0200 -Subject: [PATCH] Drop hardening-related flags - -These will be set by Buildroot depending on toolchain capabilities and -global Buildroot options. - -Signed-off-by: Thomas Petazzoni ---- - cmrtlib/linux/CMakeLists.txt | 8 ++++---- - media_driver/cmake/linux/media_compile_flags_linux.cmake | 1 - - media_driver/media_top_cmake.cmake | 2 +- - 3 files changed, 5 insertions(+), 6 deletions(-) - -diff --git a/cmrtlib/linux/CMakeLists.txt b/cmrtlib/linux/CMakeLists.txt -index 44ce4f08..b462fbea 100644 ---- a/cmrtlib/linux/CMakeLists.txt -+++ b/cmrtlib/linux/CMakeLists.txt -@@ -26,11 +26,11 @@ set(LIBRARY_OUTPUT_PATH ${MDF_OPTION__OUTPUT_DIR}) - - # Set up compile options that will be used for the Linux build - if(CMAKE_COMPILER_IS_GNUCC) -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1 -std=c++11 -fPIC -fpermissive -fstack-protector-all -Werror") -- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing -D_FORTIFY_SOURCE=2") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1 -std=c++11 -fPIC -fpermissive -Werror") -+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing ") - set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0") -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.1 -std=c++11 -fPIC -fpermissive -fstack-protector-all -Werror") -- set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing -D_FORTIFY_SOURCE=2") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.1 -std=c++11 -fPIC -fpermissive -Werror") -+ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing") - set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0") - - set(GCC_SECURE_LINK_FLAGS "-z relro -z now") -diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_driver/cmake/linux/media_compile_flags_linux.cmake -index 9e85fdb2..c45ce11b 100755 ---- a/media_driver/cmake/linux/media_compile_flags_linux.cmake -+++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake -@@ -64,7 +64,6 @@ set(MEDIA_COMPILER_FLAGS_COMMON - # Other common flags - -fmessage-length=0 - -fvisibility=hidden -- -fstack-protector - -fdata-sections - -ffunction-sections - -Wl,--gc-sections -diff --git a/media_driver/media_top_cmake.cmake b/media_driver/media_top_cmake.cmake -index 3491db1e..b30fa04a 100755 ---- a/media_driver/media_top_cmake.cmake -+++ b/media_driver/media_top_cmake.cmake -@@ -88,7 +88,7 @@ if(MEDIA_BUILD_FATAL_WARNINGS) - set_target_properties(${LIB_NAME_OBJ} PROPERTIES COMPILE_FLAGS "-Werror") - endif() - --set_target_properties(${LIB_NAME} PROPERTIES LINK_FLAGS "-Wl,--no-as-needed -Wl,--gc-sections -z relro -z now -fstack-protector -fPIC") -+set_target_properties(${LIB_NAME} PROPERTIES LINK_FLAGS "-Wl,--no-as-needed -Wl,--gc-sections -fPIC") - set_target_properties(${LIB_NAME} PROPERTIES PREFIX "") - set_target_properties(${LIB_NAME_STATIC} PROPERTIES PREFIX "") - --- -2.20.1 - diff --git a/buildroot-2021.05/package/intel-mediadriver/0002-build-fix-Werror=format-overflow-under-gcc-10.patch b/buildroot-2021.05/package/intel-mediadriver/0002-build-fix-Werror=format-overflow-under-gcc-10.patch deleted file mode 100644 index 46775e93..00000000 --- a/buildroot-2021.05/package/intel-mediadriver/0002-build-fix-Werror=format-overflow-under-gcc-10.patch +++ /dev/null @@ -1,162 +0,0 @@ -From da966a2ab1f5161cc0a21a4cd7e07edf732ebee9 Mon Sep 17 00:00:00 2001 -From: Dmitry Rogozhkin -Date: Thu, 19 Mar 2020 20:59:12 -0700 -Subject: [PATCH] build: fix Werror=format-overflow under gcc-10 - -Fixes: #870 - -With upcoming gcc-10 we start to see Werror=format-overflow reporting -that we attempt to printf %s null strings. - -Change-Id: I7a62bc98bf7dd6bcd61d475d7650a06aa1a70932 -Signed-off-by: Dmitry Rogozhkin -[Retrieved from: -https://github.com/intel/media-driver/commit/da966a2ab1f5161cc0a21a4cd7e07edf732ebee9] -Signed-off-by: Fabrice Fontaine ---- - media_driver/linux/common/os/i915/xf86drm.c | 57 ++++++++++--------- - .../linux/ult/libdrm_mock/xf86drm_mock.c | 57 ++++++++++--------- - 2 files changed, 58 insertions(+), 56 deletions(-) - -diff --git a/media_driver/linux/common/os/i915/xf86drm.c b/media_driver/linux/common/os/i915/xf86drm.c -index 7594bde99..d0fc1b7ac 100644 ---- a/media_driver/linux/common/os/i915/xf86drm.c -+++ b/media_driver/linux/common/os/i915/xf86drm.c -@@ -581,37 +581,38 @@ static int drmOpenByBusid(const char *busid, int type) - - drmMsg("drmOpenByBusid: Searching for BusID %s\n", busid); - for (i = base; i < base + DRM_MAX_MINOR; i++) { -- fd = drmOpenMinor(i, 1, type); -- drmMsg("drmOpenByBusid: drmOpenMinor returns %d\n", fd); -- if (fd >= 0) { -- /* We need to try for 1.4 first for proper PCI domain support -- * and if that fails, we know the kernel is busted -- */ -- sv.drm_di_major = 1; -- sv.drm_di_minor = 4; -- sv.drm_dd_major = -1; /* Don't care */ -- sv.drm_dd_minor = -1; /* Don't care */ -- if (drmSetInterfaceVersion(fd, &sv)) { -+ fd = drmOpenMinor(i, 1, type); -+ drmMsg("drmOpenByBusid: drmOpenMinor returns %d\n", fd); -+ if (fd >= 0) { -+ /* We need to try for 1.4 first for proper PCI domain support -+ * and if that fails, we know the kernel is busted -+ */ -+ sv.drm_di_major = 1; -+ sv.drm_di_minor = 4; -+ sv.drm_dd_major = -1; /* Don't care */ -+ sv.drm_dd_minor = -1; /* Don't care */ -+ if (drmSetInterfaceVersion(fd, &sv)) { - #ifndef __alpha__ -- pci_domain_ok = 0; -+ pci_domain_ok = 0; - #endif -- sv.drm_di_major = 1; -- sv.drm_di_minor = 1; -- sv.drm_dd_major = -1; /* Don't care */ -- sv.drm_dd_minor = -1; /* Don't care */ -- drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n"); -- drmSetInterfaceVersion(fd, &sv); -- } -- buf = drmGetBusid(fd); -- drmMsg("drmOpenByBusid: drmGetBusid reports %s\n", buf); -- if (buf && drmMatchBusID(buf, busid, pci_domain_ok)) { -- drmFreeBusid(buf); -- return fd; -+ sv.drm_di_major = 1; -+ sv.drm_di_minor = 1; -+ sv.drm_dd_major = -1; /* Don't care */ -+ sv.drm_dd_minor = -1; /* Don't care */ -+ drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n"); -+ drmSetInterfaceVersion(fd, &sv); -+ } -+ buf = drmGetBusid(fd); -+ if (buf) { -+ drmMsg("drmOpenByBusid: drmGetBusid reports %s\n", buf); -+ if (drmMatchBusID(buf, busid, pci_domain_ok)) { -+ drmFreeBusid(buf); -+ return fd; -+ } -+ drmFreeBusid(buf); -+ } -+ close(fd); - } -- if (buf) -- drmFreeBusid(buf); -- close(fd); -- } - } - return -1; - } -diff --git a/media_driver/linux/ult/libdrm_mock/xf86drm_mock.c b/media_driver/linux/ult/libdrm_mock/xf86drm_mock.c -index 7e5246295..2e5863798 100644 ---- a/media_driver/linux/ult/libdrm_mock/xf86drm_mock.c -+++ b/media_driver/linux/ult/libdrm_mock/xf86drm_mock.c -@@ -790,37 +790,38 @@ static int drmOpenByBusid(const char *busid, int type) - - drmMsg("drmOpenByBusid: Searching for BusID %s\n", busid); - for (i = base; i < base + DRM_MAX_MINOR; i++) { -- fd = drmOpenMinor(i, 1, type); -- drmMsg("drmOpenByBusid: drmOpenMinor returns %d\n", fd); -- if (fd >= 0) { -- /* We need to try for 1.4 first for proper PCI domain support -- * and if that fails, we know the kernel is busted -- */ -- sv.drm_di_major = 1; -- sv.drm_di_minor = 4; -- sv.drm_dd_major = -1; /* Don't care */ -- sv.drm_dd_minor = -1; /* Don't care */ -- if (drmSetInterfaceVersion(fd, &sv)) { -+ fd = drmOpenMinor(i, 1, type); -+ drmMsg("drmOpenByBusid: drmOpenMinor returns %d\n", fd); -+ if (fd >= 0) { -+ /* We need to try for 1.4 first for proper PCI domain support -+ * and if that fails, we know the kernel is busted -+ */ -+ sv.drm_di_major = 1; -+ sv.drm_di_minor = 4; -+ sv.drm_dd_major = -1; /* Don't care */ -+ sv.drm_dd_minor = -1; /* Don't care */ -+ if (drmSetInterfaceVersion(fd, &sv)) { - #ifndef __alpha__ -- pci_domain_ok = 0; -+ pci_domain_ok = 0; - #endif -- sv.drm_di_major = 1; -- sv.drm_di_minor = 1; -- sv.drm_dd_major = -1; /* Don't care */ -- sv.drm_dd_minor = -1; /* Don't care */ -- drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n"); -- drmSetInterfaceVersion(fd, &sv); -- } -- buf = drmGetBusid(fd); -- drmMsg("drmOpenByBusid: drmGetBusid reports %s\n", buf); -- if (buf && drmMatchBusID(buf, busid, pci_domain_ok)) { -- drmFreeBusid(buf); -- return fd; -+ sv.drm_di_major = 1; -+ sv.drm_di_minor = 1; -+ sv.drm_dd_major = -1; /* Don't care */ -+ sv.drm_dd_minor = -1; /* Don't care */ -+ drmMsg("drmOpenByBusid: Interface 1.4 failed, trying 1.1\n"); -+ drmSetInterfaceVersion(fd, &sv); -+ } -+ buf = drmGetBusid(fd); -+ if (buf) { -+ drmMsg("drmOpenByBusid: drmGetBusid reports %s\n", buf); -+ if (drmMatchBusID(buf, busid, pci_domain_ok)) { -+ drmFreeBusid(buf); -+ return fd; -+ } -+ drmFreeBusid(buf); -+ } -+ close(fd); - } -- if (buf) -- drmFreeBusid(buf); -- close(fd); -- } - } - return -1; - } diff --git a/buildroot-2021.05/package/intel-mediadriver/0003-cmrtlib-linux-CMakelists.txt-respect-MEDIA_BUILD_FAT.patch b/buildroot-2021.05/package/intel-mediadriver/0003-cmrtlib-linux-CMakelists.txt-respect-MEDIA_BUILD_FAT.patch deleted file mode 100644 index bc7a27f4..00000000 --- a/buildroot-2021.05/package/intel-mediadriver/0003-cmrtlib-linux-CMakelists.txt-respect-MEDIA_BUILD_FAT.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f09fddd6763aca237f19417de05a1f5de7f51d40 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 5 Jun 2021 16:57:32 +0200 -Subject: [PATCH] cmrtlib/linux/CMakelists.txt: respect - MEDIA_BUILD_FATAL_WARNINGS - -Respect MEDIA_BUILD_FATAL_WARNINGS to avoid the following build failure -when the user provides _FORTIFY_SOURCE: - -In file included from /home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/dlfcn.h:22, - from /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/cmrtlib/linux/../linux/share/cm_include.h:30, - from /home/buildroot/autobuild/instance-0/output-1/build/intel-mediadriver-19.4.0r/cmrtlib/agnostic/share/cm_printf_host.cpp:23: -/home/buildroot/autobuild/instance-0/output-1/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/features.h:397:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] - 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) - | ^~~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/52638d95312e464626d1c4047b3b26d4f57a1cd2 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/intel/media-driver/pull/1203] ---- - cmrtlib/linux/CMakeLists.txt | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/cmrtlib/linux/CMakeLists.txt b/cmrtlib/linux/CMakeLists.txt -index 7a0193a8..65f71cee 100644 ---- a/cmrtlib/linux/CMakeLists.txt -+++ b/cmrtlib/linux/CMakeLists.txt -@@ -32,12 +32,16 @@ else() - - # Set up compile options that will be used for the Linux build - if(CMAKE_COMPILER_IS_GNUCC) -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1 -std=c++11 -fPIC -fpermissive -Werror") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse4.1 -std=c++11 -fPIC -fpermissive") - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing ") - set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0") -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.1 -std=c++11 -fPIC -fpermissive -Werror") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse4.1 -std=c++11 -fPIC -fpermissive") - set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing") - set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0") -+ if(MEDIA_BUILD_FATAL_WARNINGS) -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS} -Werror") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS} -Werror") -+ endif() - - set(GCC_SECURE_LINK_FLAGS "-z relro -z now") - set(CMAKE_SKIP_RPATH ON) --- -2.30.2 - diff --git a/buildroot-2021.05/package/intel-mediadriver/Config.in b/buildroot-2021.05/package/intel-mediadriver/Config.in deleted file mode 100644 index 35117f77..00000000 --- a/buildroot-2021.05/package/intel-mediadriver/Config.in +++ /dev/null @@ -1,30 +0,0 @@ -config BR2_PACKAGE_INTEL_MEDIADRIVER - bool "intel-mediadriver" - depends on BR2_x86_64 - depends on !BR2_STATIC_LIBS # mesa3d, libva - depends on BR2_INSTALL_LIBSTDCPP # mesa3d - depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d - depends on BR2_TOOLCHAIN_HAS_THREADS # libva - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_INTEL_GMMLIB - select BR2_PACKAGE_LIBPCIACCESS - select BR2_PACKAGE_LIBVA - select BR2_PACKAGE_MESA3D - select BR2_PACKAGE_XLIB_LIBX11 - help - The Intel(R) Media Driver for VAAPI is a new VA-API (Video - Acceleration API) user mode driver supporting hardware - accelerated decoding, encoding, and video post processing for - GEN based graphics hardware. - - https://github.com/intel/media-driver - -comment "intel-mediadriver needs X.org" - depends on BR2_x86_64 && BR2_TOOLCHAIN_HAS_SYNC_1 - depends on !BR2_PACKAGE_XORG7 - -comment "intel-mediadriver needs a toolchain w/ dynamic library, C++, NPTL" - depends on BR2_x86_64 && BR2_TOOLCHAIN_HAS_SYNC_1 - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL diff --git a/buildroot-2021.05/package/intel-mediadriver/intel-mediadriver.hash b/buildroot-2021.05/package/intel-mediadriver/intel-mediadriver.hash deleted file mode 100644 index 5d016695..00000000 --- a/buildroot-2021.05/package/intel-mediadriver/intel-mediadriver.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 a03bd75eefe9cb0245e3aab2723b3fef555d9f180a180b2c29d7b12d483d9ec2 intel-media-19.4.0r.tar.gz -sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/buildroot-2021.05/package/intel-mediadriver/intel-mediadriver.mk b/buildroot-2021.05/package/intel-mediadriver/intel-mediadriver.mk deleted file mode 100644 index 01423b96..00000000 --- a/buildroot-2021.05/package/intel-mediadriver/intel-mediadriver.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# intel-mediadriver -# -################################################################################ - -# based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack - -INTEL_MEDIADRIVER_VERSION = 19.4.0r -INTEL_MEDIADRIVER_SITE = http://github.com/intel/media-driver/archive -INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz -INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause -INTEL_MEDIADRIVER_LICENSE_FILES = LICENSE.md - -INTEL_MEDIADRIVER_DEPENDENCIES = \ - intel-gmmlib \ - libpciaccess \ - libva \ - mesa3d \ - xlib_libX11 - -INTEL_MEDIADRIVER_SUPPORTS_IN_SOURCE_BUILD = NO - -INTEL_MEDIADRIVER_CONF_OPTS = \ - -DINSTALL_DRIVER_SYSCONF=OFF \ - -DMEDIA_BUILD_FATAL_WARNINGS=OFF \ - -DMEDIA_RUN_TEST_SUITE=OFF - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/intel-mediasdk/0001-Don-t-force-fstack-protector.patch b/buildroot-2021.05/package/intel-mediasdk/0001-Don-t-force-fstack-protector.patch deleted file mode 100644 index a33c218c..00000000 --- a/buildroot-2021.05/package/intel-mediasdk/0001-Don-t-force-fstack-protector.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 28ca7393c08cb54b87d11c1ca92821e48f54781b Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Mon, 15 Apr 2019 23:09:33 +0200 -Subject: [PATCH] Don't force -fstack-protector - -This allows the environment to decide whether SSP should be used or -not, for example to support toolchains that don't have SSP support. - -Signed-off-by: Thomas Petazzoni ---- - api/mfx_dispatch/linux/CMakeLists.txt | 2 +- - builder/FindPackages.cmake | 4 ++-- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/api/mfx_dispatch/linux/CMakeLists.txt b/api/mfx_dispatch/linux/CMakeLists.txt -index 15a4bd9a..4415f840 100644 ---- a/api/mfx_dispatch/linux/CMakeLists.txt -+++ b/api/mfx_dispatch/linux/CMakeLists.txt -@@ -100,7 +100,7 @@ target_link_libraries(mfx dl) - get_api_version(MFX_VERSION_MAJOR MFX_VERSION_MINOR) - - set_target_properties( mfx PROPERTIES LINK_FLAGS -- "-Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libmfx.map -fstack-protector") -+ "-Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libmfx.map") - set_target_properties( mfx PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIB_DIR}/${CMAKE_BUILD_TYPE} FOLDER mfx ) - set_target_properties( mfx PROPERTIES VERSION ${MFX_VERSION_MAJOR}.${MFX_VERSION_MINOR}) - set_target_properties( mfx PROPERTIES SOVERSION ${MFX_VERSION_MAJOR}) -diff --git a/builder/FindPackages.cmake b/builder/FindPackages.cmake -index 7e36ae2d..5b8b9b9d 100644 ---- a/builder/FindPackages.cmake -+++ b/builder/FindPackages.cmake -@@ -83,7 +83,7 @@ function( configure_build_variant_linux target variant ) - return() # should not occur; just in case - endif() - set( link_flags_list "-Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack -Wl,--no-as-needed -ldl") -- append_property( ${ARGV0} LINK_FLAGS "${link_flags_list} ${MFX_LDFLAGS} -fstack-protector" ) -+ append_property( ${ARGV0} LINK_FLAGS "${link_flags_list} ${MFX_LDFLAGS}" ) - # message( STATUS "Libva located at: ${PKG_LIBVA_LIBRARY_DIRS}" ) - - if( ARGV1 MATCHES hw AND Linux ) -@@ -448,7 +448,7 @@ function(configure_dependencies target dependencies variant) - endforeach() - - set(SCOPE_CFLAGS ${SCOPE_CFLAGS} PARENT_SCOPE) -- set(SCOPE_LINKFLAGS "${SCOPE_LINKFLAGS} -Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack -fstack-protector" PARENT_SCOPE) -+ set(SCOPE_LINKFLAGS "${SCOPE_LINKFLAGS} -Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack" PARENT_SCOPE) - set(SCOPE_LIBS ${SCOPE_LIBS} PARENT_SCOPE) - endfunction() - --- -2.20.1 - diff --git a/buildroot-2021.05/package/intel-mediasdk/Config.in b/buildroot-2021.05/package/intel-mediasdk/Config.in deleted file mode 100644 index 05293d76..00000000 --- a/buildroot-2021.05/package/intel-mediasdk/Config.in +++ /dev/null @@ -1,31 +0,0 @@ -config BR2_PACKAGE_INTEL_MEDIASDK - bool "intel-mediasdk" - depends on BR2_x86_64 - depends on !BR2_STATIC_LIBS # intel-mediadriver - depends on BR2_INSTALL_LIBSTDCPP # intel-mediadriver - depends on BR2_TOOLCHAIN_HAS_SYNC_1 # intel-mediadriver - depends on BR2_TOOLCHAIN_HAS_THREADS # intel-mediadriver - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # intel-mediadriver - depends on BR2_PACKAGE_XORG7 # intel-mediadriver - select BR2_PACKAGE_INTEL_MEDIADRIVER - select BR2_PACKAGE_LIBDRM_INTEL - help - Intel(R) Media SDK provides an API to access - hardware-accelerated video decode, encode and filtering on - Intel® platforms with integrated graphics. - - Supported video encoders: HEVC, AVC, MPEG-2, JPEG - Supported Video decoders: HEVC, AVC, VP8, MPEG-2, VC1, JPEG - Supported video pre-processing filters: Color Conversion, - Deinterlace, Denoise, Resize, Rotate, Composition - - http://mediasdk.intel.com/ - -comment "intel-mediasdk needs X.org" - depends on BR2_x86_64 && BR2_TOOLCHAIN_HAS_SYNC_1 - depends on !BR2_PACKAGE_XORG7 - -comment "intel-mediasdk needs a toolchain w/ dynamic library, C++, NPTL" - depends on BR2_x86_64 && BR2_TOOLCHAIN_HAS_SYNC_1 - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL diff --git a/buildroot-2021.05/package/intel-mediasdk/intel-mediasdk.hash b/buildroot-2021.05/package/intel-mediasdk/intel-mediasdk.hash deleted file mode 100644 index 103c8bb5..00000000 --- a/buildroot-2021.05/package/intel-mediasdk/intel-mediasdk.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 289a40ffe73dc291461d97edf452bdc622f76e52666483fd1eb4f131d2921cd1 intel-mediasdk-19.4.0.tar.gz -sha256 dfd67773578903698f9ff4a61eb8f2d84810cbecd56f3f3cee8c649f813b6ea6 LICENSE diff --git a/buildroot-2021.05/package/intel-mediasdk/intel-mediasdk.mk b/buildroot-2021.05/package/intel-mediasdk/intel-mediasdk.mk deleted file mode 100644 index 5467c963..00000000 --- a/buildroot-2021.05/package/intel-mediasdk/intel-mediasdk.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# intel-mediasdk -# -################################################################################ - -INTEL_MEDIASDK_VERSION = 19.4.0 -INTEL_MEDIASDK_SITE = http://github.com/Intel-Media-SDK/MediaSDK/archive -INTEL_MEDIASDK_LICENSE = MIT -INTEL_MEDIASDK_LICENSE_FILES = LICENSE - -INTEL_MEDIASDK_INSTALL_STAGING = YES -INTEL_MEDIASDK_DEPENDENCIES = intel-mediadriver - -INTEL_MEDIASDK_CONF_OPTS = \ - -DBUILD_SAMPLES=OFF \ - -DBUILD_TUTORIALS=OFF \ - -DMFX_INCLUDE="$(@D)/api/include" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/intel-microcode/intel-microcode.hash b/buildroot-2021.05/package/intel-microcode/intel-microcode.hash deleted file mode 100644 index 23191d95..00000000 --- a/buildroot-2021.05/package/intel-microcode/intel-microcode.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 b855c81f78705f35341248a0603aa1a6e199ca7f59cd425e061b579329aa9eaa intel-microcode-20210216.tar.gz -sha256 03efb1491c7e899feb2665fa299363e64035e5444c1b8bc1f6ebed30de964e12 license diff --git a/buildroot-2021.05/package/intel-microcode/intel-microcode.mk b/buildroot-2021.05/package/intel-microcode/intel-microcode.mk deleted file mode 100644 index 20890038..00000000 --- a/buildroot-2021.05/package/intel-microcode/intel-microcode.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# intel-microcode -# -################################################################################ - -INTEL_MICROCODE_VERSION = 20210216 -INTEL_MICROCODE_SITE = $(call github,intel,Intel-Linux-Processor-Microcode-Data-Files,microcode-$(INTEL_MICROCODE_VERSION)) -INTEL_MICROCODE_LICENSE = PROPRIETARY -INTEL_MICROCODE_LICENSE_FILES = license -INTEL_MICROCODE_REDISTRIBUTE = NO -INTEL_MICROCODE_INSTALL_IMAGES = YES - -define INTEL_MICROCODE_INSTALL_IMAGES_CMDS - mkdir -p $(BINARIES_DIR)/intel-ucode - $(INSTALL) -m 0644 -t $(BINARIES_DIR)/intel-ucode \ - $(@D)/intel-ucode/* -endef - -ifeq ($(BR2_PACKAGE_INTEL_MICROCODE_INSTALL_TARGET),y) -define INTEL_MICROCODE_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/lib/firmware/intel-ucode - $(INSTALL) -m 0644 -t $(TARGET_DIR)/lib/firmware/intel-ucode \ - $(@D)/intel-ucode/* -endef -else -INTEL_MICROCODE_INSTALL_TARGET = NO -endif - -define INTEL_MICROCODE_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE) - $(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE_INTEL) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/iodine/iodine.mk b/buildroot-2021.05/package/iodine/iodine.mk deleted file mode 100644 index 711d709c..00000000 --- a/buildroot-2021.05/package/iodine/iodine.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# iodine -# -################################################################################ - -IODINE_VERSION = 0.7.0 -IODINE_SITE = http://code.kryo.se/iodine -IODINE_DEPENDENCIES = zlib -IODINE_LICENSE = MIT -IODINE_LICENSE_FILES = README - -IODINE_CFLAGS = $(TARGET_CFLAGS) - -# iodine contains a local implementation of daemon(3) for older -# systems, unless __GLIBC__ is defined. Musl does provide it, but -# unlike uClibc it doesn't define __GLIBC__. Work around it by -# pretending to be glibc as we otherwise end up with symbol conflicts. -ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) -IODINE_CFLAGS += -D__GLIBC__ -endif - -define IODINE_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) CFLAGS="$(IODINE_CFLAGS)" \ - $(MAKE) ARCH=$(BR2_ARCH) -C $(@D) -endef - -define IODINE_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install DESTDIR="$(TARGET_DIR)" prefix=/usr -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/iotop/Config.in b/buildroot-2021.05/package/iotop/Config.in deleted file mode 100644 index ada61316..00000000 --- a/buildroot-2021.05/package/iotop/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -comment "iotop depends on python or python3" - depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3 - -config BR2_PACKAGE_IOTOP - bool "iotop" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_CURSES if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_CURSES if BR2_PACKAGE_PYTHON3 - help - iotop does for I/O usage what top does for CPU usage. - - http://guichaz.free.fr/iotop/ diff --git a/buildroot-2021.05/package/iozone/0001-Add-new-targets-for-iozone.patch b/buildroot-2021.05/package/iozone/0001-Add-new-targets-for-iozone.patch deleted file mode 100644 index e6bfc18d..00000000 --- a/buildroot-2021.05/package/iozone/0001-Add-new-targets-for-iozone.patch +++ /dev/null @@ -1,103 +0,0 @@ -From 1584ffbfda3277b82997b9f1e0ef31a7061560e0 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Sun, 26 Aug 2018 18:39:06 +0200 -Subject: [PATCH] Add new targets for iozone: - -linux-noaio is for linux targets without AIO (use case: uClibc) -linux-noth is for linux target without threads or AIO - -And make largefile support optional via CFLAGS. - -Signed-off-by: Gustavo Zacarias -Signed-off-by: Gilles Talis ---- - src/current/makefile | 56 +++++++++++++++++++++++++++++++++++++++++++--------- - 1 file changed, 47 insertions(+), 9 deletions(-) - -diff --git a/src/current/makefile b/src/current/makefile -index cfef879..7925e62 100644 ---- a/src/current/makefile -+++ b/src/current/makefile -@@ -168,10 +168,28 @@ hpux_no_ansi: iozone_hpux_no.o libbif.o - # GNU 'C' compiler Linux build with threads, largefiles, async I/O - # - linux: iozone_linux.o libasync.o libbif.o fileop_linux.o pit_server.o -- $(CC) -O3 $(LDFLAGS) iozone_linux.o libasync.o libbif.o -lpthread \ -+ $(CC) $(CFLAGS) $(LDFLAGS) iozone_linux.o libasync.o libbif.o \ -+ -lpthread -lrt -o iozone -+ $(CC) $(CFLAGS) -Dlinux fileop_linux.o -o fileop -+ $(CC) $(CFLAGS) -Dlinux pit_server.o -o pit_server -+ -+# -+# GNU 'C' compiler Linux build with threads, largefiles -+# -+linux-noaio: iozone_linux-noaio.o libbif.o fileop_linux.o pit_server.o -+ $(CC) $(CFLAGS) $(LDFLAGS) iozone_linux-noaio.o libbif.o \ -+ -lpthread -lrt -o iozone -+ $(CC) $(CFLAGS) -Dlinux fileop_linux.o -o fileop -+ $(CC) $(CFLAGS) -Dlinux pit_server.o -o pit_server -+ -+# -+# GNU 'C' compiler Linux build with largefiles -+# -+linux-noth: iozone_linux-noth.o libbif.o fileop_linux.o pit_server.o -+ $(CC) $(CFLAGS) $(LDFLAGS) iozone_linux-noth.o libbif.o \ - -lrt -o iozone -- $(CC) -O3 -Dlinux fileop_linux.o -o fileop -- $(CC) -O3 -Dlinux pit_server.o -o pit_server -+ $(CC) $(CFLAGS) -Dlinux fileop_linux.o -o fileop -+ $(CC) $(CFLAGS) -Dlinux pit_server.o -o pit_server - - # - # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O -@@ -814,13 +832,33 @@ iozone_linux.o: iozone.c libbif.c libasync.c - @echo "" - @echo "Building iozone for Linux" - @echo "" -- $(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \ -- -DSHARED_MEM -Dlinux -D_LARGEFILE64_SOURCE $(CFLAGS) iozone.c \ -+ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \ -+ -DSHARED_MEM -Dlinux $(CFLAGS) iozone.c \ - -DNAME='"linux"' -o iozone_linux.o -- $(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -D_LARGEFILE64_SOURCE \ -+ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \ -+ -DSHARED_MEM -Dlinux $(CFLAGS) libbif.c -o libbif.o -+ $(CC) -Wmissing-prototypes -Wall -c -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \ -+ $(CFLAGS) libasync.c -o libasync.o -+ -+iozone_linux-noaio.o: iozone.c libbif.c -+ @echo "" -+ @echo "Building iozone for Linux no AIO" -+ @echo "" -+ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DHAVE_PREAD \ -+ -DSHARED_MEM -Dlinux $(CFLAGS) iozone.c \ -+ -DNAME='"linux"' -o iozone_linux-noaio.o -+ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C \ -+ -DSHARED_MEM -Dlinux $(CFLAGS) libbif.c -o libbif.o -+ -+iozone_linux-noth.o: iozone.c libbif.c -+ @echo "" -+ @echo "Building iozone for Linux with no threads" -+ @echo "" -+ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DHAVE_PREAD \ -+ -DSHARED_MEM -Dlinux $(CFLAGS) iozone.c \ -+ -DNAME='"linux"' -o iozone_linux-noth.o -+ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DNO_THREADS \ - -DSHARED_MEM -Dlinux $(CFLAGS) libbif.c -o libbif.o -- $(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \ -- -D_LARGEFILE64_SOURCE $(CFLAGS) libasync.c -o libasync.o - - fileop_AIX.o: fileop.c - @echo "" -@@ -924,7 +962,7 @@ fileop_linux.o: fileop.c - @echo "" - @echo "Building fileop for Linux" - @echo "" -- $(CC) -Wall -c -O3 $(CFLAGS) fileop.c -o fileop_linux.o -+ $(CC) -Wall -c $(CFLAGS) fileop.c -o fileop_linux.o - - fileop_openbsd.o: fileop.c - @echo "" --- -2.7.4 - diff --git a/buildroot-2021.05/package/iozone/iozone.hash b/buildroot-2021.05/package/iozone/iozone.hash deleted file mode 100644 index 61e8ff3a..00000000 --- a/buildroot-2021.05/package/iozone/iozone.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 5eadb4235ae2a956911204c50ebf2d8d8d59ddcd4a2841a1baf42f3145ad4fed iozone3_490.tar diff --git a/buildroot-2021.05/package/iozone/iozone.mk b/buildroot-2021.05/package/iozone/iozone.mk deleted file mode 100644 index ebb62436..00000000 --- a/buildroot-2021.05/package/iozone/iozone.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# iozone -# -################################################################################ - -IOZONE_VERSION = 3_490 -IOZONE_SOURCE = iozone$(IOZONE_VERSION).tar -IOZONE_SITE = http://www.iozone.org/src/current -IOZONE_LICENSE = IOzone license (NO DERIVED WORKS ALLOWED) -# IOzone license details can be found at: -# http://www.iozone.org/docs/Iozone_License.txt - -# AIO support not available on uClibc, use the linux (non-aio) target. -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -IOZONE_TARGET = linux-noaio -else -IOZONE_TARGET = linux -endif - -define IOZONE_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) $(IOZONE_TARGET) -C $(@D)/src/current -endef - -define IOZONE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/src/current/iozone \ - $(TARGET_DIR)/usr/bin/iozone - $(INSTALL) -D -m 755 $(@D)/src/current/fileop \ - $(TARGET_DIR)/usr/bin/fileop -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ipcalc/0001-Do-not-fail-to-build-if-ronn-is-missing.patch b/buildroot-2021.05/package/ipcalc/0001-Do-not-fail-to-build-if-ronn-is-missing.patch deleted file mode 100644 index 419f4bba..00000000 --- a/buildroot-2021.05/package/ipcalc/0001-Do-not-fail-to-build-if-ronn-is-missing.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 322294d7bf61f9fdf0e45e9b6c6013a7c6a35bfd Mon Sep 17 00:00:00 2001 -From: Derrick Lyndon Pallas -Date: Wed, 14 Oct 2020 18:25:54 +0000 -Subject: [PATCH] Do not fail to build if ronn is missing - -If ruby-ronn is missing, we can not compile the man page from markdown but -that should not prevent the application from building. - -Signed-off-by: Derrick Lyndon Pallas ---- - meson.build | 23 ++++++++++++----------- - 1 file changed, 12 insertions(+), 11 deletions(-) - -diff --git a/meson.build b/meson.build -index a2169fc..981d4a4 100644 ---- a/meson.build -+++ b/meson.build -@@ -72,16 +72,17 @@ ipcalc = executable('ipcalc', - install : true - ) - --ronn = find_program('ronn', required: true) -- --ipcalc_1 = custom_target( -- 'ipcalc.1', -- output : 'ipcalc.1', -- input : 'ipcalc.1.md', -- command : [ronn, '--pipe', '-r', '@INPUT@'], -- capture: true, -- install_dir: join_paths(get_option('mandir'), 'man1'), -- install: true --) -+ronn = find_program('ronn', required: false) -+if ronn.found() -+ ipcalc_1 = custom_target( -+ 'ipcalc.1', -+ output : 'ipcalc.1', -+ input : 'ipcalc.1.md', -+ command : [ronn, '--pipe', '-r', '@INPUT@'], -+ capture: true, -+ install_dir: join_paths(get_option('mandir'), 'man1'), -+ install: true -+ ) -+endif - - subdir('tests') --- -2.28.0 - diff --git a/buildroot-2021.05/package/ipcalc/0002-Include-stdarg-for-va_list.patch b/buildroot-2021.05/package/ipcalc/0002-Include-stdarg-for-va_list.patch deleted file mode 100644 index 9261ce38..00000000 --- a/buildroot-2021.05/package/ipcalc/0002-Include-stdarg-for-va_list.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 7795c02fb1e0f5fdbdf949007e52684c590235d4 Mon Sep 17 00:00:00 2001 -From: Derrick Lyndon Pallas -Date: Wed, 14 Oct 2020 18:40:38 +0000 -Subject: [PATCH] Include stdarg for va_list - -While several function signatures use va_list, stdarg was never included. -This fixes that. - -Signed-off-by: Derrick Lyndon Pallas ---- - ipcalc.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/ipcalc.h b/ipcalc.h -index 0e81320..a220dc5 100644 ---- a/ipcalc.h -+++ b/ipcalc.h -@@ -20,6 +20,8 @@ - #ifndef _IPCALC_H - #define _IPCALC_H - -+#include /* for va_list */ -+ - #if defined(USE_GEOIP) - void geo_ip_lookup(const char *ip, char **country, char **ccode, char **city, char **coord); - int geo_setup(void); --- -2.28.0 - diff --git a/buildroot-2021.05/package/ipcalc/ipcalc.hash b/buildroot-2021.05/package/ipcalc/ipcalc.hash deleted file mode 100644 index df610eb6..00000000 --- a/buildroot-2021.05/package/ipcalc/ipcalc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 d7aca371335ab3e35364bcfe34cd0229db005be8bebb9236608ec318cb3f7748 ipcalc-1.0.0.tar.bz2 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/ipcalc/ipcalc.mk b/buildroot-2021.05/package/ipcalc/ipcalc.mk deleted file mode 100644 index ff9d6433..00000000 --- a/buildroot-2021.05/package/ipcalc/ipcalc.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# ipcalc -# -################################################################################ - -IPCALC_VERSION = 1.0.0 -IPCALC_SITE = $(call gitlab,ipcalc,ipcalc,$(IPCALC_VERSION)) -IPCALC_SOURCE = ipcalc-$(IPCALC_VERSION).tar.bz2 -IPCALC_LICENSE = GPL-2.0+ -IPCALC_LICENSE_FILES = COPYING - -IPCALC_CONF_OPTS = \ - -Duse_maxminddb=disabled \ - -Duse_geoip=disabled - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/iperf/iperf.hash b/buildroot-2021.05/package/iperf/iperf.hash deleted file mode 100644 index bce46c69..00000000 --- a/buildroot-2021.05/package/iperf/iperf.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceforge.net/projects/iperf2/files/ -sha1 0c7625c61087b9e6866421abb8bb533658b40a8d iperf-2.0.13.tar.gz - -# Locally computed: -sha256 c88adec966096a81136dda91b4bd19c27aae06df4d45a7f547a8e50d723778ad iperf-2.0.13.tar.gz -sha256 5f9f5c4feca3347c3b3c0ada8b16b4e6b698aac4e6f016a24adf61a5915336d1 COPYING diff --git a/buildroot-2021.05/package/iperf/iperf.mk b/buildroot-2021.05/package/iperf/iperf.mk deleted file mode 100644 index 5df94a1f..00000000 --- a/buildroot-2021.05/package/iperf/iperf.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# iperf -# -################################################################################ - -IPERF_VERSION = 2.0.13 -IPERF_SITE = http://downloads.sourceforge.net/project/iperf2 -IPERF_LICENSE = MIT-like -IPERF_LICENSE_FILES = COPYING -IPERF_CPE_ID_VENDOR = iperf2_project -IPERF_CPE_ID_PRODUCT = iperf2 - -IPERF_CONF_OPTS = \ - --disable-web100 - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iperf3/iperf3.hash b/buildroot-2021.05/package/iperf3/iperf3.hash deleted file mode 100644 index fa9d54f4..00000000 --- a/buildroot-2021.05/package/iperf3/iperf3.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://downloads.es.net/pub/iperf/iperf-3.9.tar.gz.sha256 -sha256 24b63a26382325f759f11d421779a937b63ca1bc17c44587d2fcfedab60ac038 iperf-3.9.tar.gz -# Locally computed -sha256 9ef73096bdd5209dd979bfa1fec70aeb42a7255d2df3aec423642aa92d5e9f40 LICENSE diff --git a/buildroot-2021.05/package/iperf3/iperf3.mk b/buildroot-2021.05/package/iperf3/iperf3.mk deleted file mode 100644 index 7d20b86e..00000000 --- a/buildroot-2021.05/package/iperf3/iperf3.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# iperf3 -# -################################################################################ - -IPERF3_VERSION = 3.9 -IPERF3_SITE = https://downloads.es.net/pub/iperf -IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz -IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT -IPERF3_LICENSE_FILES = LICENSE -IPERF3_CPE_ID_VENDOR = es - -IPERF3_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -# We intentionally don't pass --with-openssl, otherwise pkg-config is -# not used, and indirect libraries are not picked up when static -# linking. -IPERF3_DEPENDENCIES += host-pkgconf openssl -else -IPERF3_CONF_OPTS += --without-openssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ipmitool/ipmitool.mk b/buildroot-2021.05/package/ipmitool/ipmitool.mk deleted file mode 100644 index facd97a0..00000000 --- a/buildroot-2021.05/package/ipmitool/ipmitool.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# ipmitool -# -################################################################################ - -IPMITOOL_VERSION = 1.8.18 -IPMITOOL_SOURCE = ipmitool-$(IPMITOOL_VERSION).tar.bz2 -IPMITOOL_SITE = http://downloads.sourceforge.net/project/ipmitool/ipmitool/$(IPMITOOL_VERSION) -IPMITOOL_LICENSE = BSD-3-Clause -IPMITOOL_LICENSE_FILES = COPYING -IPMITOOL_CPE_ID_VENDOR = ipmitool_project - -# 0008-fru-Fix-buffer-overflow-vulnerabilities.patch -# 0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch -# 0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch -# 0011-channel-Fix-buffer-overflow.patch -# 0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch -# 0013-fru-sdr-Fix-id_string-buffer-overflows.patch -IPMITOOL_IGNORE_CVES += CVE-2020-5208 - -ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y) -IPMITOOL_DEPENDENCIES += openssl -IPMITOOL_CONF_OPTS += --enable-intf-lanplus -else -IPMITOOL_CONF_OPTS += --disable-intf-lanplus -endif - -ifeq ($(BR2_PACKAGE_IPMITOOL_USB),y) -IPMITOOL_CONF_OPTS += --enable-intf-usb -else -IPMITOOL_CONF_OPTS += --disable-intf-usb -endif - -ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y) -IPMITOOL_DEPENDENCIES += ncurses readline -IPMITOOL_CONF_OPTS += --enable-ipmishell -else -IPMITOOL_CONF_OPTS += --disable-ipmishell -endif - -ifeq ($(BR2_PACKAGE_IPMITOOL_IPMIEVD),) -define IPMITOOL_REMOVE_IPMIEVD - $(RM) -f $(TARGET_DIR)/usr/sbin/ipmievd -endef -IPMITOOL_POST_INSTALL_TARGET_HOOKS += IPMITOOL_REMOVE_IPMIEVD -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ipmiutil/ipmiutil.mk b/buildroot-2021.05/package/ipmiutil/ipmiutil.mk deleted file mode 100644 index d85b9643..00000000 --- a/buildroot-2021.05/package/ipmiutil/ipmiutil.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# ipmiutil -# -################################################################################ - -IPMIUTIL_VERSION = 3.1.7 -IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files -IPMIUTIL_LICENSE = BSD-3-Clause -IPMIUTIL_LICENSE_FILES = COPYING - -IPMIUTIL_MAKE = $(MAKE1) - -# forgets to link against libcrypto dependencies breaking static link -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) -# tests against distro libcrypto so it might get a false positive when -# the openssl version is old, so force it off -# SKIP_MD2 can be used only if ALLOW_GNU is defined. -IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2 -DSSL11" -IPMIUTIL_DEPENDENCIES += openssl -else -IPMIUTIL_CONF_OPTS += --disable-lanplus -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iproute2/0001-devlink-update-include-files.patch b/buildroot-2021.05/package/iproute2/0001-devlink-update-include-files.patch deleted file mode 100644 index 8cc6e4ec..00000000 --- a/buildroot-2021.05/package/iproute2/0001-devlink-update-include-files.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 12fafa27c7b306e6c397e858f4d5a8159500f659 Mon Sep 17 00:00:00 2001 -From: Stephen Hemminger -Date: Thu, 11 Jun 2020 09:46:46 -0700 -Subject: devlink: update include files - -Use the tool iwyu to get more complete list of includes for -all the bits used by devlink. - -This should also fix build with musl libc. - -Fixes: c4dfddccef4e ("fix JSON output of mon command") -Reported-off-by: Dan Robertson -Signed-off-by: Stephen Hemminger - -[Retrieved from: -https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=12fafa27c7b306e6c397e858f4d5a8159500f659] -Signed-off-by: Fabrice Fontaine ---- - devlink/devlink.c | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/devlink/devlink.c b/devlink/devlink.c -index 507972c3..ce2e4676 100644 ---- a/devlink/devlink.c -+++ b/devlink/devlink.c -@@ -19,18 +19,25 @@ - #include - #include - #include -+#include -+#include -+#include -+#include - #include - #define _LINUX_SYSINFO_H /* avoid collision with musl header */ - #include - #include -+#include - #include - #include -+#include -+#include - #include - - #include "SNAPSHOT.h" - #include "list.h" - #include "mnlg.h" --#include "json_writer.h" -+#include "json_print.h" - #include "utils.h" - #include "namespace.h" - --- -cgit 1.2.3-1.el7 - diff --git a/buildroot-2021.05/package/iproute2/iproute2.hash b/buildroot-2021.05/package/iproute2/iproute2.hash deleted file mode 100644 index b2a9e21e..00000000 --- a/buildroot-2021.05/package/iproute2/iproute2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc -sha256 725dc7ba94aae54c6f8d4223ca055d9fb4fe89d6994b1c03bfb4411c4dd10f21 iproute2-5.7.0.tar.xz -sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/buildroot-2021.05/package/iproute2/iproute2.mk b/buildroot-2021.05/package/iproute2/iproute2.mk deleted file mode 100644 index 3460c5c3..00000000 --- a/buildroot-2021.05/package/iproute2/iproute2.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# iproute2 -# -################################################################################ - -IPROUTE2_VERSION = 5.7.0 -IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz -IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2 -IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf \ - $(if $(BR2_PACKAGE_LIBMNL),libmnl) -IPROUTE2_LICENSE = GPL-2.0+ -IPROUTE2_LICENSE_FILES = COPYING -IPROUTE2_CPE_ID_VENDOR = iproute2_project - -ifeq ($(BR2_PACKAGE_ELFUTILS),y) -IPROUTE2_DEPENDENCIES += elfutils -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -IPROUTE2_DEPENDENCIES += libcap -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -IPROUTE2_DEPENDENCIES += libselinux -endif - -ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx) -IPROUTE2_DEPENDENCIES += iptables -else -define IPROUTE2_DISABLE_IPTABLES - # m_xt.so is built unconditionally - echo "TC_CONFIG_XT:=n" >>$(@D)/config.mk -endef -endif - -ifeq ($(BR2_PACKAGE_BERKELEYDB_COMPAT185),y) -IPROUTE2_DEPENDENCIES += berkeleydb -endif - -define IPROUTE2_CONFIGURE_CMDS - cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure - $(IPROUTE2_DISABLE_IPTABLES) -endef - -define IPROUTE2_BUILD_CMDS - $(TARGET_MAKE_ENV) LDFLAGS="$(TARGET_LDFLAGS)" \ - CFLAGS="$(TARGET_CFLAGS) -DXT_LIB_DIR=\\\"/usr/lib/xtables\\\"" \ - CBUILD_CFLAGS="$(HOST_CFLAGS)" $(MAKE) V=1 LIBDB_LIBS=-lpthread \ - DBM_INCLUDE="$(STAGING_DIR)/usr/include" \ - SHARED_LIBS="$(if $(BR2_STATIC_LIBS),n,y)" -C $(@D) -endef - -define IPROUTE2_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) DESTDIR="$(TARGET_DIR)" $(MAKE) -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ipset/ipset.hash b/buildroot-2021.05/package/ipset/ipset.hash deleted file mode 100644 index afe83f6d..00000000 --- a/buildroot-2021.05/package/ipset/ipset.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://ipset.netfilter.org/ipset-7.11.tar.bz2.sha512sum.txt -sha512 20890de32c17c04d9d3ae42fff64acfe21a252974bee5843ae39bdda707fcef55fde11cffccab9f987bf7e18f5445443c46c50eb854fb6f93f172f7bad07f922 ipset-7.11.tar.bz2 -# Locally calculated -sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/buildroot-2021.05/package/ipset/ipset.mk b/buildroot-2021.05/package/ipset/ipset.mk deleted file mode 100644 index 07f865d4..00000000 --- a/buildroot-2021.05/package/ipset/ipset.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# ipset -# -################################################################################ - -IPSET_VERSION = 7.11 -IPSET_SOURCE = ipset-$(IPSET_VERSION).tar.bz2 -IPSET_SITE = http://ipset.netfilter.org -IPSET_DEPENDENCIES = libmnl host-pkgconf -IPSET_CONF_OPTS = --with-kmod=no -IPSET_LICENSE = GPL-2.0 -IPSET_LICENSE_FILES = COPYING -IPSET_CPE_ID_VENDOR = netfilter -IPSET_INSTALL_STAGING = YES -IPSET_SELINUX_MODULES = iptables - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iptables/iptables.mk b/buildroot-2021.05/package/iptables/iptables.mk deleted file mode 100644 index ca817842..00000000 --- a/buildroot-2021.05/package/iptables/iptables.mk +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################ -# -# iptables -# -################################################################################ - -IPTABLES_VERSION = 1.8.7 -IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2 -IPTABLES_SITE = https://netfilter.org/projects/iptables/files -IPTABLES_INSTALL_STAGING = YES -IPTABLES_DEPENDENCIES = host-pkgconf \ - $(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack) -IPTABLES_LICENSE = GPL-2.0 -IPTABLES_LICENSE_FILES = COPYING -IPTABLES_CPE_ID_VENDOR = netfilter -IPTABLES_SELINUX_MODULES = iptables - -# Building static causes ugly warnings on some plugins -IPTABLES_CONF_OPTS = --libexecdir=/usr/lib --with-kernel=$(STAGING_DIR)/usr \ - $(if $(BR2_STATIC_LIBS),,--disable-static) - -# For connlabel match -ifeq ($(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),y) -IPTABLES_DEPENDENCIES += libnetfilter_conntrack -endif - -# For nfnl_osf -ifeq ($(BR2_PACKAGE_LIBNFNETLINK),y) -IPTABLES_DEPENDENCIES += libnfnetlink -endif - -# For iptables-compat tools -ifeq ($(BR2_PACKAGE_IPTABLES_NFTABLES),y) -IPTABLES_CONF_OPTS += --enable-nftables -IPTABLES_DEPENDENCIES += host-bison host-flex libmnl libnftnl -else -IPTABLES_CONF_OPTS += --disable-nftables -endif - -# bpf compiler support and nfsynproxy tool -ifeq ($(BR2_PACKAGE_IPTABLES_BPF_NFSYNPROXY),y) -# libpcap is tricky for static-only builds and needs help -ifeq ($(BR2_STATIC_LIBS),y) -IPTABLES_LIBS_FOR_STATIC_LINK += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs` -IPTABLES_CONF_OPTS += LIBS="$(IPTABLES_LIBS_FOR_STATIC_LINK)" -endif -IPTABLES_CONF_OPTS += --enable-bpf-compiler --enable-nfsynproxy -IPTABLES_DEPENDENCIES += libpcap -else -IPTABLES_CONF_OPTS += --disable-bpf-compiler --disable-nfsynproxy -endif - -define IPTABLES_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES) - $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER) - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XTABLES) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iputils/Config.in b/buildroot-2021.05/package/iputils/Config.in deleted file mode 100644 index 0d4a4ba3..00000000 --- a/buildroot-2021.05/package/iputils/Config.in +++ /dev/null @@ -1,76 +0,0 @@ -config BR2_PACKAGE_IPUTILS - bool "iputils" - depends on BR2_USE_MMU # fork() - help - This package is set of small useful utilities for Linux - networking. It includes complete versions of ping, traceroute, - etc. - - https://github.com/iputils/iputils - -if BR2_PACKAGE_IPUTILS - -config BR2_PACKAGE_IPUTILS_ARPING - bool "arping" - default y - help - Installs arping. - -config BR2_PACKAGE_IPUTILS_CLOCKDIFF - bool "clockdiff" - default y - help - Installs clockdiff. - -config BR2_PACKAGE_IPUTILS_PING - bool "ping" - default y - help - Installs ping. - -config BR2_PACKAGE_IPUTILS_RARPD - bool "rarpd" - help - Installs rarpd. - -config BR2_PACKAGE_IPUTILS_RDISC - bool "rdisc" - default y - help - Installs rdisc. - -config BR2_PACKAGE_IPUTILS_RDISC_SERVER - bool "rdisc (server code)" - default y - depends on BR2_PACKAGE_IPUTILS_RDISC - help - Builds rdisc with server code. - -config BR2_PACKAGE_IPUTILS_TFTPD - bool "tftpd" - help - Installs tftpd. - -config BR2_PACKAGE_IPUTILS_TRACEPATH - bool "tracepath" - default y - help - Installs tracepath. - -config BR2_PACKAGE_IPUTILS_TRACEROUTE6 - bool "traceroute6" - default y - help - Installs traceroute6. - -config BR2_PACKAGE_IPUTILS_NINFOD - bool "ninfod" - default y - depends on BR2_TOOLCHAIN_HAS_THREADS # ninfod requires - help - Installs ninfod. - -comment "ninfod needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -endif diff --git a/buildroot-2021.05/package/iputils/iputils.hash b/buildroot-2021.05/package/iputils/iputils.hash deleted file mode 100644 index 3e30ca93..00000000 --- a/buildroot-2021.05/package/iputils/iputils.hash +++ /dev/null @@ -1,6 +0,0 @@ -# https://github.com/iputils/iputils/releases/download/20210202/sha256sum.asc -sha256 3f557ecfd2ace873801231d2c1f42de73ced9fbc1ef3a438d847688b5fb0e8ab iputils-20210202.tar.gz -# Locally computed -sha256 b8ea785d12fa6a44916601104dd746216957e93f13a26d3eb858b3b5a4ad66ab LICENSE -sha256 9acc4bc871a4742550158e3696dcb381953172ef808d04ca248184f9f6322712 Documentation/LICENSE.BSD3 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Documentation/LICENSE.GPL2 diff --git a/buildroot-2021.05/package/iputils/iputils.mk b/buildroot-2021.05/package/iputils/iputils.mk deleted file mode 100644 index 715779a6..00000000 --- a/buildroot-2021.05/package/iputils/iputils.mk +++ /dev/null @@ -1,149 +0,0 @@ -################################################################################ -# -# iputils -# -################################################################################ - -# The original upstream was forked to the github repository in 2014 to -# pull fixes from other distribution and centralize the changes after -# the upstream seemed to have gone dormant. The fork contains the -# latest changes including musl support, removing a libsysfs dependency -# and IPv6 updates. -# http://www.spinics.net/lists/netdev/msg279881.html - -IPUTILS_VERSION = 20210202 -IPUTILS_SITE = $(call github,iputils,iputils,$(IPUTILS_VERSION)) -IPUTILS_LICENSE = GPL-2.0+, BSD-3-Clause -IPUTILS_LICENSE_FILES = LICENSE Documentation/LICENSE.BSD3 Documentation/LICENSE.GPL2 -IPUTILS_CPE_ID_VENDOR = iputils_project -IPUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) - -# Selectively build binaries -IPUTILS_CONF_OPTS += \ - -DBUILD_CLOCKDIFF=$(if $(BR2_PACKAGE_IPUTILS_CLOCKDIFF),true,false) \ - -DBUILD_RARPD=$(if $(BR2_PACKAGE_IPUTILS_RARPD),true,false) \ - -DBUILD_RDISC=$(if $(BR2_PACKAGE_IPUTILS_RDISC),true,false) \ - -DBUILD_RDISC_SERVER=$(if $(BR2_PACKAGE_IPUTILS_RDISC_SERVER),true,false) \ - -DBUILD_TRACEPATH=$(if $(BR2_PACKAGE_IPUTILS_TRACEPATH),true,false) \ - -DBUILD_TRACEROUTE6=$(if $(BR2_PACKAGE_IPUTILS_TRACEROUTE6),true,false) \ - -DBUILD_NINFOD=$(if $(BR2_PACKAGE_IPUTILS_NINFOD),true,false) - -# Selectively select the appropriate SELinux refpolicy modules -IPUTILS_SELINUX_MODULES = \ - $(if $(BR2_PACKAGE_IPUTILS_ARPING),netutils) \ - $(if $(BR2_PACKAGE_IPUTILS_PING),netutils) \ - $(if $(BR2_PACKAGE_IPUTILS_TRACEPATH),netutils) \ - $(if $(BR2_PACKAGE_IPUTILS_TRACEROUTE6),netutils) \ - $(if $(BR2_PACKAGE_IPUTILS_RDISC),rdisc) \ - $(if $(BR2_PACKAGE_IPUTILS_TFTPD),tftp) - -# -# arping -# -ifeq ($(BR2_PACKAGE_IPUTILS_ARPING),y) -IPUTILS_CONF_OPTS += -DBUILD_ARPING=true - -# move some binaries to the same location as where Busybox installs -# the corresponding applets, so that we have a single version of the -# tools (from iputils) -define IPUTILS_MOVE_ARPING_BINARY - mv $(TARGET_DIR)/usr/bin/arping $(TARGET_DIR)/usr/sbin/arping -endef -IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_MOVE_ARPING_BINARY - -else -IPUTILS_CONF_OPTS += -DBUILD_ARPING=false -endif - -# -# ping -# -ifeq ($(BR2_PACKAGE_IPUTILS_PING),y) -IPUTILS_CONF_OPTS += -DBUILD_PING=true - -# same reason to move the ping binary as for arping -ifeq ($(BR2_ROOTFS_MERGED_USR),) -define IPUTILS_MOVE_PING_BINARY - mv $(TARGET_DIR)/usr/bin/ping $(TARGET_DIR)/bin/ping -endef -IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_MOVE_PING_BINARY -endif - -# upstream requires distros to create symlink -define IPUTILS_CREATE_PING6_SYMLINK - ln -sf ping $(TARGET_DIR)/bin/ping6 -endef -IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_CREATE_PING6_SYMLINK - -else -IPUTILS_CONF_OPTS += -DBUILD_PING=false -endif - -# -# tftpd -# -ifeq ($(BR2_PACKAGE_IPUTILS_TFTPD),y) -IPUTILS_CONF_OPTS += -DBUILD_TFTPD=true - -else -IPUTILS_CONF_OPTS += -DBUILD_TFTPD=false -endif - -# Handle libraries -ifeq ($(BR2_PACKAGE_LIBCAP),y) -IPUTILS_CONF_OPTS += -DUSE_CAP=true -IPUTILS_DEPENDENCIES += libcap -else -IPUTILS_CONF_OPTS += -DUSE_CAP=false -endif - -ifeq ($(BR2_PACKAGE_LIBIDN2),y) -IPUTILS_CONF_OPTS += -DUSE_IDN=true -IPUTILS_DEPENDENCIES += libidn2 -else -IPUTILS_CONF_OPTS += -DUSE_IDN=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -IPUTILS_DEPENDENCIES += systemd -endif - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -IPUTILS_CONF_OPTS += -DUSE_GETTEXT=true -else -IPUTILS_CONF_OPTS += -DUSE_GETTEXT=false -endif - -# XSL Stylesheets for DocBook 5 not packaged for buildroot -IPUTILS_CONF_OPTS += -DBUILD_MANS=false -DBUILD_HTML_MANS=false - -# handle permissions ourselves -IPUTILS_CONF_OPTS += -DNO_SETCAP_OR_SUID=true -ifeq ($(BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES),y) -define IPUTILS_PERMISSIONS - $(if $(BR2_PACKAGE_IPUTILS_ARPING),\ - /usr/sbin/arping f 755 0 0 - - - - -,) - $(if $(BR2_PACKAGE_IPUTILS_CLOCKDIFF),\ - /usr/bin/clockdiff f 755 0 0 - - - - - - |xattr cap_net_raw+p,) - $(if $(BR2_PACKAGE_IPUTILS_PING),\ - /bin/ping f 755 0 0 - - - - - - |xattr cap_net_raw+p,) - $(if $(BR2_PACKAGE_IPUTILS_TRACEROUTE6),\ - /usr/bin/traceroute6 f 755 0 0 - - - - - - |xattr cap_net_raw+p,) -endef -else -define IPUTILS_PERMISSIONS - $(if $(BR2_PACKAGE_IPUTILS_ARPING),\ - /usr/sbin/arping f 755 0 0 - - - - -,) - $(if $(BR2_PACKAGE_IPUTILS_CLOCKDIFF),\ - /usr/bin/clockdiff f 4755 0 0 - - - - -,) - $(if $(BR2_PACKAGE_IPUTILS_PING),\ - /bin/ping f 4755 0 0 - - - - -,) - $(if $(BR2_PACKAGE_IPUTILS_TRACEROUTE6),\ - /usr/bin/traceroute6 f 4755 0 0 - - - - -,) -endef -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/irqbalance/0001-fix-uint64_t-printf-format-use-PRIu64.patch b/buildroot-2021.05/package/irqbalance/0001-fix-uint64_t-printf-format-use-PRIu64.patch deleted file mode 100644 index 95a9616c..00000000 --- a/buildroot-2021.05/package/irqbalance/0001-fix-uint64_t-printf-format-use-PRIu64.patch +++ /dev/null @@ -1,105 +0,0 @@ -From 0cdc7a22d5156440fecff14c438d4e24261ac793 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Sat, 20 Feb 2021 23:38:56 +0100 -Subject: [PATCH] fix uint64_t printf format (use PRIu64) - -Fixes (on arm 32-bit): - - $ irqbalance-ui - Invalid data sent. Unexpected token: (null)TYPE - -And strace showed the following: - - 237 sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="stats", iov_len=5}], msg_iovlen=1, msg_control=[{cmsg_len=24, cmsg_level=SOL_SOCKET, cmsg_type=SCM_CREDENTIALS, cmsg_data={pid=237, uid=0, gid=0}}], msg_controllen=24, msg_flags=0}, 0) = 5 - 237 recv(3, "TYPE 3 NUMBER -1 LOAD 0 SAVE_MODE 0 (null)TYPE 2 NUMBER 0 LOAD 0 SAVE_MODE 0 (null)TYPE 1 NUMBER 0 LOAD 0 SAVE_MODE 0 (null)TYPE 0 NUMBER 3 LOAD 0 SAVE_MODE 0 (null)TYPE 1 NUMBER 1 LOAD 0 SAVE_MODE 0 (null)TYPE 0 NUMBER 1 LOAD 0 SAVE_MODE 0 (null)TYPE 1 NUMBER 2 LOAD 0 SAVE_MODE 0 (null)TYPE 0 NUMBER 2 LOAD 0 SAVE_MODE 0 (null)TYPE 1 NUMBER 3 LOAD 0 SAVE_MODE 0 (null)TYPE 0 NUMBER 0 LOAD 0 SAVE_MODE 0 (null)", 8192, 0) = 411 - -[backported from upstream] -Signed-off-by: Peter Seiderer ---- - cputree.c | 3 ++- - irqbalance.c | 5 +++-- - ui/ui.c | 5 +++-- - 3 files changed, 8 insertions(+), 5 deletions(-) - -diff --git a/cputree.c b/cputree.c -index fda0200..a8dba73 100644 ---- a/cputree.c -+++ b/cputree.c -@@ -33,6 +33,7 @@ - #include - #include - #include -+#include - - #include - -@@ -417,7 +418,7 @@ static void dump_irq(struct irq_info *info, void *data) - indent[i] = log_indent[0]; - - indent[i] = '\0'; -- log(TO_CONSOLE, LOG_INFO, "%sInterrupt %i node_num is %d (%s/%lu:%lu) \n", indent, -+ log(TO_CONSOLE, LOG_INFO, "%sInterrupt %i node_num is %d (%s/%" PRIu64 ":%" PRIu64 ") \n", indent, - info->irq, irq_numa_node(info)->number, classes[info->class], info->load, (info->irq_count - info->last_irq_count)); - free(indent); - } -diff --git a/irqbalance.c b/irqbalance.c -index 9baa955..458bb07 100644 ---- a/irqbalance.c -+++ b/irqbalance.c -@@ -34,6 +34,7 @@ - #include - #include - #include -+#include - #ifdef HAVE_GETOPT_LONG - #include - #endif -@@ -357,7 +358,7 @@ void get_irq_data(struct irq_info *irq, void *data) - *irqdata = newptr; - - sprintf(*irqdata + strlen(*irqdata), -- "IRQ %d LOAD %lu DIFF %lu CLASS %d ", irq->irq, irq->load, -+ "IRQ %d LOAD %" PRIu64 " DIFF %" PRIu64 " CLASS %d ", irq->irq, irq->load, - (irq->irq_count - irq->last_irq_count), irq->class); - } - -@@ -395,7 +396,7 @@ void get_object_stat(struct topo_obj *object, void *data) - - *stats = newptr; - -- sprintf(*stats + strlen(*stats), "TYPE %d NUMBER %d LOAD %lu SAVE_MODE %d %s", -+ sprintf(*stats + strlen(*stats), "TYPE %d NUMBER %d LOAD %" PRIu64 " SAVE_MODE %d %s", - object->obj_type, object->number, object->load, - object->powersave_mode, irq_data ? irq_data : ""); - free(irq_data); -diff --git a/ui/ui.c b/ui/ui.c -index 06ec472..4cf68bf 100644 ---- a/ui/ui.c -+++ b/ui/ui.c -@@ -1,4 +1,5 @@ - -+#include - #include - #include "ui.h" - -@@ -563,7 +564,7 @@ void settings() - - char info[128] = "Current sleep interval between rebalancing: \0"; - uint8_t sleep_input_offset = strlen(info) + 3; -- snprintf(info + strlen(info), 128 - strlen(info), "%lu\n", setup.sleep); -+ snprintf(info + strlen(info), 128 - strlen(info), "%" PRIu64 "\n", setup.sleep); - attrset(COLOR_PAIR(1)); - mvprintw(2, 3, info); - print_all_cpus(); -@@ -588,7 +589,7 @@ void settings() - if(new_sleep != setup.sleep) { - setup.sleep = new_sleep; - char settings_data[128]; -- snprintf(settings_data, 128, "%s %lu", SET_SLEEP, new_sleep); -+ snprintf(settings_data, 128, "%s %" PRIu64, SET_SLEEP, new_sleep); - send_settings(settings_data); - } - break; --- -2.25.1 - diff --git a/buildroot-2021.05/package/irqbalance/irqbalance.hash b/buildroot-2021.05/package/irqbalance/irqbalance.hash deleted file mode 100644 index 587173ca..00000000 --- a/buildroot-2021.05/package/irqbalance/irqbalance.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 28f2ad35945b93d90f4a5bad95b4c0871a0f644375f746ec16f61045b9ec970e irqbalance-1.7.0.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/irqbalance/irqbalance.mk b/buildroot-2021.05/package/irqbalance/irqbalance.mk deleted file mode 100644 index b099f7c6..00000000 --- a/buildroot-2021.05/package/irqbalance/irqbalance.mk +++ /dev/null @@ -1,53 +0,0 @@ -################################################################################ -# -# irqbalance -# -################################################################################ - -IRQBALANCE_VERSION = 1.7.0 -IRQBALANCE_SITE = $(call github,irqbalance,irqbalance,v$(IRQBALANCE_VERSION)) -IRQBALANCE_LICENSE = GPL-2.0 -IRQBALANCE_LICENSE_FILES = COPYING -IRQBALANCE_DEPENDENCIES = host-pkgconf libglib2 -# Autoreconf needed because package is distributed without a configure script -IRQBALANCE_AUTORECONF = YES - -ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) -IRQBALANCE_DEPENDENCIES += libcap-ng -IRQBALANCE_CONF_OPTS += --with-libcap-ng -else -IRQBALANCE_CONF_OPTS += --without-libcap-ng -endif - -ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) -IRQBALANCE_DEPENDENCIES += ncurses -IRQBALANCE_CONF_OPTS += --with-irqbalance-ui -else -IRQBALANCE_CONF_OPTS += --without-irqbalance-ui -endif - -ifeq ($(BR2_PACKAGE_NUMACTL),y) -IRQBALANCE_DEPENDENCIES += numactl -IRQBALANCE_CONF_OPTS += --enable-numa -else -IRQBALANCE_CONF_OPTS += --disable-numa -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -IRQBALANCE_DEPENDENCIES += systemd -IRQBALANCE_CONF_OPTS += --with-systemd -else -IRQBALANCE_CONF_OPTS += --without-systemd -endif - -define IRQBALANCE_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/irqbalance/S13irqbalance \ - $(TARGET_DIR)/etc/init.d/S13irqbalance -endef - -define IRQBALANCE_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \ - $(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/irssi/irssi.hash b/buildroot-2021.05/package/irssi/irssi.hash deleted file mode 100644 index 6a91e164..00000000 --- a/buildroot-2021.05/package/irssi/irssi.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 414fdee2ffaeb90a55f141b7fb3899608631dc891e2bc1f5e91ca31f1a621101 irssi-1.0.8.tar.xz -# Locally calculated -sha256 a1a27cb2ecee8d5378fbb3562f577104a445d6d66fee89286e16758305e63e2b COPYING diff --git a/buildroot-2021.05/package/irssi/irssi.mk b/buildroot-2021.05/package/irssi/irssi.mk deleted file mode 100644 index c64690c5..00000000 --- a/buildroot-2021.05/package/irssi/irssi.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# irssi -# -################################################################################ - -IRSSI_VERSION = 1.0.8 -IRSSI_SOURCE = irssi-$(IRSSI_VERSION).tar.xz -# Do not use the github helper here. The generated tarball is *NOT* the -# same as the one uploaded by upstream for the release. -IRSSI_SITE = https://github.com/irssi/irssi/releases/download/$(IRSSI_VERSION) -IRSSI_LICENSE = GPL-2.0+ -IRSSI_LICENSE_FILES = COPYING -IRSSI_CPE_ID_VENDOR = irssi -IRSSI_DEPENDENCIES = host-pkgconf libglib2 ncurses openssl - -IRSSI_CONF_OPTS = \ - --disable-glibtest \ - --without-perl - -ifeq ($(BR2_PACKAGE_IRSSI_PROXY),y) -IRSSI_CONF_OPTS += --with-proxy -# If shared libs are disabled, 'proxy' has to go in the list of built-in -# modules. -ifeq ($(BR2_STATIC_LIBS),y) -IRSSI_CONF_OPTS += --with-modules=proxy -endif -else -IRSSI_CONF_OPTS += --without-proxy -endif # proxy - -ifeq ($(BR2_PACKAGE_IRSSI_TRUE_COLOR),y) -IRSSI_CONF_OPTS += --enable-true-color -else -IRSSI_CONF_OPTS += --disable-true-color -endif - -# Cross-compiling irssi with the perl interpreter enabled doesn't work -# yet. So, remove scripts as they are useless in that case. -define IRSSI_REMOVE_SCRIPTS - rm -rf $(TARGET_DIR)/usr/share/irssi/scripts/ -endef - -IRSSI_POST_INSTALL_TARGET_HOOKS += IRSSI_REMOVE_SCRIPTS - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/isl/isl.mk b/buildroot-2021.05/package/isl/isl.mk deleted file mode 100644 index 3abd6640..00000000 --- a/buildroot-2021.05/package/isl/isl.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# isl -# -################################################################################ - -ISL_VERSION = 0.23 -ISL_SOURCE = isl-$(ISL_VERSION).tar.xz -ISL_SITE = http://isl.gforge.inria.fr -ISL_LICENSE = MIT -ISL_LICENSE_FILES = LICENSE -HOST_ISL_DEPENDENCIES = host-gmp - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/iucode-tool/iucode-tool.mk b/buildroot-2021.05/package/iucode-tool/iucode-tool.mk deleted file mode 100644 index 568692c4..00000000 --- a/buildroot-2021.05/package/iucode-tool/iucode-tool.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# iucode-tool -# -################################################################################ - -IUCODE_TOOL_VERSION = 2.3.1 -IUCODE_TOOL_SOURCE = iucode-tool_$(IUCODE_TOOL_VERSION).tar.xz -IUCODE_TOOL_SITE = https://gitlab.com/iucode-tool/releases/raw/master -ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -IUCODE_TOOL_DEPENDENCIES = argp-standalone -endif -IUCODE_TOOL_LICENSE = GPL-2.0+ -IUCODE_TOOL_LICENSE_FILES = COPYING -IUCODE_TOOL_CPE_ID_VENDOR = iucode-tool_project - -define IUCODE_TOOL_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \ - $(TARGET_DIR)/etc/init.d/S00iucode-tool -endef - -define IUCODE_TOOL_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/iucode-tool/iucode.service \ - $(TARGET_DIR)/usr/lib/systemd/system/iucode.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iw/iw.hash b/buildroot-2021.05/package/iw/iw.hash deleted file mode 100644 index 126b1cb6..00000000 --- a/buildroot-2021.05/package/iw/iw.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/software/network/iw/sha256sums.asc -sha256 293a07109aeb7e36267cf59e3ce52857e9ffae3a6666eb8ac77894b1839fe1f2 iw-5.9.tar.xz -# Locally calculated -sha256 5932fb70481e128940168a5fdf133e6454293c0865c7e757874b235cb6daa2af COPYING diff --git a/buildroot-2021.05/package/iw/iw.mk b/buildroot-2021.05/package/iw/iw.mk deleted file mode 100644 index 32ecf93c..00000000 --- a/buildroot-2021.05/package/iw/iw.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# iw -# -################################################################################ - -IW_VERSION = 5.9 -IW_SOURCE = iw-$(IW_VERSION).tar.xz -IW_SITE = $(BR2_KERNEL_MIRROR)/software/network/iw -IW_LICENSE = ISC -IW_LICENSE_FILES = COPYING -IW_CPE_ID_VENDOR = kernel -IW_DEPENDENCIES = host-pkgconf libnl -IW_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - PKG_CONFIG="$(HOST_DIR)/bin/pkg-config" - -define IW_BUILD_CMDS - $(IW_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -define IW_INSTALL_TARGET_CMDS - $(IW_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/iwd/iwd.hash b/buildroot-2021.05/package/iwd/iwd.hash deleted file mode 100644 index 7975b0b3..00000000 --- a/buildroot-2021.05/package/iwd/iwd.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://mirrors.edge.kernel.org/pub/linux/network/wireless/sha256sums.asc -sha256 b005f7ed0f0a96a2c6181c44560fc868533a18e7034bd4cb43ea0d40c21b4e7a iwd-1.13.tar.xz - -# License files -sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING diff --git a/buildroot-2021.05/package/iwd/iwd.mk b/buildroot-2021.05/package/iwd/iwd.mk deleted file mode 100644 index aaa07a25..00000000 --- a/buildroot-2021.05/package/iwd/iwd.mk +++ /dev/null @@ -1,64 +0,0 @@ -################################################################################ -# -# iwd -# -################################################################################ - -IWD_VERSION = 1.13 -IWD_SOURCE = iwd-$(IWD_VERSION).tar.xz -IWD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/wireless -IWD_LICENSE = LGPL-2.1+ -IWD_LICENSE_FILES = COPYING -IWD_CPE_ID_VENDOR = intel -IWD_CPE_ID_PRODUCT = inet_wireless_daemon -IWD_SELINUX_MODULES = networkmanager - -IWD_CONF_OPTS = \ - --disable-manual-pages \ - --enable-external-ell -IWD_DEPENDENCIES = ell - -ifeq ($(BR2_PACKAGE_DBUS),y) -IWD_CONF_OPTS += --enable-dbus-policy --with-dbus-datadir=/usr/share -IWD_DEPENDENCIES += dbus -else -IWD_CONF_OPTS += --disable-dbus-policy -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -# iwd client depends on readline (GPL-3.0+) -IWD_LICENSE += , GPL-3.0+ (client) -IWD_CONF_OPTS += --enable-client -IWD_DEPENDENCIES += readline -else -IWD_CONF_OPTS += --disable-client -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -IWD_CONF_OPTS += --enable-systemd-service -IWD_DEPENDENCIES += systemd -else -IWD_CONF_OPTS += --disable-systemd-service -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y) -IWD_RESOLV_SERVICE = systemd -else -IWD_RESOLV_SERVICE = resolvconf -endif - -define IWD_INSTALL_CONFIG_FILE - $(INSTALL) -D -m 644 package/iwd/main.conf $(TARGET_DIR)/etc/iwd/main.conf - $(SED) 's,__RESOLV_SERVICE__,$(IWD_RESOLV_SERVICE),' $(TARGET_DIR)/etc/iwd/main.conf -endef - -IWD_POST_INSTALL_TARGET_HOOKS += IWD_INSTALL_CONFIG_FILE - -define IWD_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/iwd/S40iwd \ - $(TARGET_DIR)/etc/init.d/S40iwd - mkdir -p $(TARGET_DIR)/var/lib/iwd - ln -sf /tmp/iwd/hotspot $(TARGET_DIR)/var/lib/iwd/hotspot -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/jack1/Config.in b/buildroot-2021.05/package/jack1/Config.in deleted file mode 100644 index b9299e2f..00000000 --- a/buildroot-2021.05/package/jack1/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_JACK1 - bool "jack1" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_PACKAGE_JACK2 - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_ALSA_LIB_HWDEP - select BR2_PACKAGE_ALSA_LIB_RAWMIDI - select BR2_PACKAGE_ALSA_LIB_SEQ - select BR2_PACKAGE_BERKELEYDB - select BR2_PACKAGE_LIBSAMPLERATE - select BR2_PACKAGE_LIBSNDFILE - help - JACK Audio Connection Kit (JACK 1 implementation). - - JACK is a low-latency sound server, allowing multiple - applications to connect to one audio device, and to share - audio between themselves. This package contains the daemon - jackd as well as some example clients. - - http://jackaudio.org/ - - Another implementation (BR2_PACKAGE_JACK2) is also available, - please consult the documentation to choose the right one: - - https://github.com/jackaudio/jackaudio.github.com/wiki/Q_difference_jack1_jack2 - -comment "jack1 needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/jack1/jack1.mk b/buildroot-2021.05/package/jack1/jack1.mk deleted file mode 100644 index 2f97434e..00000000 --- a/buildroot-2021.05/package/jack1/jack1.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# jack1 -# -################################################################################ - -JACK1_VERSION = 0.125.0 -JACK1_SOURCE = jack-audio-connection-kit-$(JACK1_VERSION).tar.gz -JACK1_SITE = http://jackaudio.org/downloads -JACK1_LICENSE = GPL-2.0+ (jack server), LGPL-2.1+ (jack library) -JACK1_LICENSE_FILES = COPYING COPYING.GPL COPYING.LGPL -JACK1_INSTALL_STAGING = YES - -# Dependency to celt can't be met: jack1 requires celt >= 0.8.0 but we -# only have 0.5.1.3 and we cannot upgrade. -JACK1_DEPENDENCIES = host-pkgconf alsa-lib berkeleydb libsamplerate libsndfile - -ifeq ($(BR2_PACKAGE_READLINE),y) -JACK1_DEPENDENCIES += readline -endif - -JACK1_CONF_OPTS = --without-html-dir --disable-oss - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/jack2/Config.in b/buildroot-2021.05/package/jack2/Config.in deleted file mode 100644 index f9de7be0..00000000 --- a/buildroot-2021.05/package/jack2/Config.in +++ /dev/null @@ -1,54 +0,0 @@ -config BR2_PACKAGE_JACK2 - bool "jack2" - depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib - depends on BR2_USE_MMU # fork() - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_LIBSAMPLERATE - select BR2_PACKAGE_LIBSNDFILE - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_ALSA_LIB_HWDEP - select BR2_PACKAGE_ALSA_LIB_SEQ - select BR2_PACKAGE_ALSA_LIB_RAWMIDI - # Ensure we get at least one: - select BR2_PACKAGE_JACK2_LEGACY if !BR2_PACKAGE_JACK2_DBUS - help - JACK Audio Connection Kit (server and example clients). - - JACK is a low-latency sound server, allowing multiple - applications to connect to one audio device, and to share - audio between themselves. This package contains the daemon - jackd as well as some example clients. - - http://jackaudio.org/ - -if BR2_PACKAGE_JACK2 - -config BR2_PACKAGE_JACK2_LEGACY - bool "classic jack2" - help - Build and use jackd. - - https://github.com/jackaudio/jackaudio.github.com/wiki/JackDbusPackaging - -config BR2_PACKAGE_JACK2_DBUS - bool "dbus jack2" - depends on BR2_USE_WCHAR # dbus-python, python - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_DBUS_PYTHON - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - help - Build and use jackdbus. - - https://github.com/jackaudio/jackaudio.github.com/wiki/JackDbusPackaging - -endif - -comment "jack2 needs a toolchain w/ threads, C++, dynamic library" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ - BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/jack2/jack2.hash b/buildroot-2021.05/package/jack2/jack2.hash deleted file mode 100644 index df708f7c..00000000 --- a/buildroot-2021.05/package/jack2/jack2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 38f674bbc57852a8eb3d9faa1f96a0912d26f7d5df14c11005ad499c8ae352f2 jack2-1.9.17.tar.gz -sha256 d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388 COPYING diff --git a/buildroot-2021.05/package/jack2/jack2.mk b/buildroot-2021.05/package/jack2/jack2.mk deleted file mode 100644 index e6a036ba..00000000 --- a/buildroot-2021.05/package/jack2/jack2.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# jack2 -# -################################################################################ - -JACK2_VERSION = 1.9.17 -JACK2_SITE = $(call github,jackaudio,jack2,v$(JACK2_VERSION)) -JACK2_LICENSE = GPL-2.0+ (jack server), LGPL-2.1+ (jack library) -JACK2_LICENSE_FILES = COPYING -JACK2_CPE_ID_VENDOR = jackaudio -JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib -JACK2_INSTALL_STAGING = YES - -JACK2_CONF_OPTS = --alsa - -ifeq ($(BR2_PACKAGE_OPUS),y) -JACK2_DEPENDENCIES += opus -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -JACK2_DEPENDENCIES += readline -endif - -ifeq ($(BR2_PACKAGE_JACK2_LEGACY),y) -JACK2_CONF_OPTS += --classic -else -define JACK2_REMOVE_JACK_CONTROL - $(RM) -f $(TARGET_DIR)/usr/bin/jack_control -endef -JACK2_POST_INSTALL_TARGET_HOOKS += JACK2_REMOVE_JACK_CONTROL -endif - -ifeq ($(BR2_PACKAGE_JACK2_DBUS),y) -JACK2_DEPENDENCIES += dbus -JACK2_CONF_OPTS += --dbus -endif - -# The dependency against eigen is only useful in conjunction with -# gtkiostream, which we do not have, so we don't need to depend on -# eigen. - -$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/jailhouse/Config.in b/buildroot-2021.05/package/jailhouse/Config.in deleted file mode 100644 index 596b4951..00000000 --- a/buildroot-2021.05/package/jailhouse/Config.in +++ /dev/null @@ -1,28 +0,0 @@ -config BR2_PACKAGE_JAILHOUSE - bool "jailhouse" - depends on BR2_aarch64 || BR2_x86_64 - depends on BR2_LINUX_KERNEL - help - The Jailhouse partitioning Hypervisor based on Linux. - - https://github.com/siemens/jailhouse - -if BR2_PACKAGE_JAILHOUSE - -config BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS - bool "helper scripts" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_MAKO # runtime - help - Python-based helpers for the Jailhouse Hypervisor. - - https://github.com/siemens/jailhouse - -comment "helper scripts require Python" - depends on !BR2_PACKAGE_PYTHON - -endif - -comment "jailhouse needs a Linux kernel to be built" - depends on BR2_aarch64 || BR2_x86_64 - depends on !BR2_LINUX_KERNEL diff --git a/buildroot-2021.05/package/janet/0003-meson.build-fix-build-without-threads.patch b/buildroot-2021.05/package/janet/0003-meson.build-fix-build-without-threads.patch deleted file mode 100644 index e6c9e878..00000000 --- a/buildroot-2021.05/package/janet/0003-meson.build-fix-build-without-threads.patch +++ /dev/null @@ -1,72 +0,0 @@ -From a7abe11105ac71081455fb4ff0400606bf1668e8 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 18 Mar 2021 09:00:23 +0100 -Subject: [PATCH] meson.build: fix build without threads - -Fix the following build failure with -Dsingle_threaded=true on embedded -toolchains without pthread: - -FAILED: janet.p/meson-generated_.._janet.c.o -/home/buildroot/autobuild/run/instance-3/output-1/host/bin/arm-linux-gcc -Ijanet.p -I. -I.. -I../src/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -std=c99 -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pthread -fvisibility=hidden -MD -MQ janet.p/meson-generated_.._janet.c.o -MF janet.p/meson-generated_.._janet.c.o.d -o janet.p/meson-generated_.._janet.c.o -c janet.c -In file included from /home/buildroot/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/stdlib.h:24, - from ../src/include/janet.h:300, - from src/core/features.h:57: -/home/buildroot/autobuild/run/instance-3/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/features.h:218:5: warning: #warning requested reentrant code, but thread support was disabled [-Wcpp] - 218 | # warning requested reentrant code, but thread support was disabled - | ^~~~~~~ -src/core/ev.c:39:10: fatal error: pthread.h: No such file or directory - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/janet-lang/janet/commit/a7abe11105ac71081455fb4ff0400606bf1668e8] ---- - meson.build | 13 +++++++++---- - 1 file changed, 9 insertions(+), 4 deletions(-) - -diff --git a/meson.build b/meson.build -index ea8c2f2e..d6c6c069 100644 ---- a/meson.build -+++ b/meson.build -@@ -60,7 +60,7 @@ conf.set('JANET_NO_SOURCEMAPS', not get_option('sourcemaps')) - conf.set('JANET_NO_ASSEMBLER', not get_option('assembler')) - conf.set('JANET_NO_PEG', not get_option('peg')) - conf.set('JANET_NO_NET', not get_option('net')) --conf.set('JANET_NO_EV', not get_option('ev')) -+conf.set('JANET_NO_EV', not get_option('ev') or get_option('single_threaded')) - conf.set('JANET_REDUCED_OS', get_option('reduced_os')) - conf.set('JANET_NO_TYPED_ARRAY', not get_option('typed_array')) - conf.set('JANET_NO_INT_TYPES', not get_option('int_types')) -@@ -173,9 +173,14 @@ janetc = custom_target('janetc', - 'JANET_PATH', janet_path, 'JANET_HEADERPATH', header_path - ]) - -+janet_dependencies = [m_dep, dl_dep] -+if not get_option('single_threaded') -+ janet_dependencies += thread_dep -+endif -+ - libjanet = library('janet', janetc, - include_directories : incdir, -- dependencies : [m_dep, dl_dep, thread_dep], -+ dependencies : janet_dependencies, - version: meson.project_version(), - soversion: version_parts[0] + '.' + version_parts[1], - install : true) -@@ -189,7 +194,7 @@ else - endif - janet_mainclient = executable('janet', janetc, mainclient_src, - include_directories : incdir, -- dependencies : [m_dep, dl_dep, thread_dep], -+ dependencies : janet_dependencies, - c_args : extra_cflags, - install : true) - -@@ -202,7 +207,7 @@ if meson.is_cross_build() - endif - janet_nativeclient = executable('janet-native', janetc, mainclient_src, - include_directories : incdir, -- dependencies : [m_dep, dl_dep, thread_dep], -+ dependencies : janet_dependencies, - c_args : extra_native_cflags, - native : true) - else diff --git a/buildroot-2021.05/package/janet/janet.hash b/buildroot-2021.05/package/janet/janet.hash deleted file mode 100644 index ca809353..00000000 --- a/buildroot-2021.05/package/janet/janet.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 8eed302c8ded1df882544d13ce7e415b213cf7bc8fa77ca16110c89b36d19763 janet-1.15.4.tar.gz - -# Locally calculated -sha256 1114e280d850605ae71b656dfc88115ab06081e8157720a2497f50edf50b110e LICENSE diff --git a/buildroot-2021.05/package/janet/janet.mk b/buildroot-2021.05/package/janet/janet.mk deleted file mode 100644 index 027edd72..00000000 --- a/buildroot-2021.05/package/janet/janet.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# janet -# -################################################################################ - -JANET_VERSION = 1.15.4 -JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION)) -JANET_LICENSE = MIT -JANET_LICENSE_FILES = LICENSE - -JANET_INSTALL_STAGING = YES - -ifeq ($(BR2_STATIC_LIBS),y) -JANET_CONF_OPTS += -Ddynamic_modules=false -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) -JANET_CONF_OPTS += -Dsingle_threaded=true -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/jansson/jansson.hash b/buildroot-2021.05/package/jansson/jansson.hash deleted file mode 100644 index 5c193169..00000000 --- a/buildroot-2021.05/package/jansson/jansson.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 f4f377da17b10201a60c1108613e78ee15df6b12016b116b6de42209f47a474f jansson-2.13.1.tar.gz -sha256 1fff7d37d22157bcd81ab53b6c54da755d7c2f868f15807d9bde920f10730da0 LICENSE diff --git a/buildroot-2021.05/package/jansson/jansson.mk b/buildroot-2021.05/package/jansson/jansson.mk deleted file mode 100644 index 2761ce9b..00000000 --- a/buildroot-2021.05/package/jansson/jansson.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# jansson -# -################################################################################ - -JANSSON_VERSION = 2.13.1 -JANSSON_SITE = http://www.digip.org/jansson/releases -JANSSON_LICENSE = MIT -JANSSON_LICENSE_FILES = LICENSE -JANSSON_CPE_ID_VENDOR = jansson_project -JANSSON_INSTALL_STAGING = YES -JANSSON_CONF_ENV = LIBS="-lm" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/janus-gateway/0001-disable-ssp.patch b/buildroot-2021.05/package/janus-gateway/0001-disable-ssp.patch deleted file mode 100644 index 22f7f1a4..00000000 --- a/buildroot-2021.05/package/janus-gateway/0001-disable-ssp.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 4b02c8207adb888d35951bbc1c5b3029594f44c6 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Wed, 24 Apr 2019 13:56:27 -0400 -Subject: [PATCH] Do not force SSP usage - -The toolchain may not support SSP, so do not enforce its usage, let -the package user pass the appropriate CFLAGS to enable SSP if needed. - -Signed-off-by: Gregory Dymarek -Signed-off-by: Thomas Petazzoni -(rebased against v0.1.0) -Signed-off-by: Bernd Kuhls -(rebased against v0.6.3) -Signed-off-by: Adam Duskett ---- - configure.ac | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 257ea8c..ca17a29 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -20,7 +20,6 @@ LT_INIT - # Common CFLAGS - CFLAGS="$CFLAGS \ - -fPIC \ -- -fstack-protector-all \ - -fstrict-aliasing \ - -ggdb3 \ - -pthread \ --- -2.20.1 - diff --git a/buildroot-2021.05/package/janus-gateway/0002-Add-test-for-Wunused-but-set-variable.patch b/buildroot-2021.05/package/janus-gateway/0002-Add-test-for-Wunused-but-set-variable.patch deleted file mode 100644 index b54c8cbe..00000000 --- a/buildroot-2021.05/package/janus-gateway/0002-Add-test-for-Wunused-but-set-variable.patch +++ /dev/null @@ -1,146 +0,0 @@ -From c0f075bdee5edabf8f19b68e0880fbd249a89653 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 3 Jan 2015 15:09:59 +0100 -Subject: [PATCH] Add test for -Wunused-but-set-variable - -The -Wunused-but-set-variable option does not exist in some old gcc -versions (gcc 4.5.x), so using it unconditionally breaks the build -with such compilers. - -This commit introduces the AX_CHECK_COMPILE_FLAG m4 macro taken from -the autoconf-archive -(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4), -and uses it to detect if the -Wunused-but-set-variable option is -supported, and only uses it in this case. - -Signed-off-by: Thomas Petazzoni -(rebased against v0.1.0) -Signed-off-by: Bernd Kuhls -(rebased against v0.6.3) -Signed-off-by: Adam Duskett ---- - Makefile.am | 1 + - configure.ac | 6 ++- - m4/ax_check_compile_flag.m4 | 74 +++++++++++++++++++++++++++++++++++++ - 3 files changed, 79 insertions(+), 2 deletions(-) - create mode 100644 m4/ax_check_compile_flag.m4 - -diff --git a/Makefile.am b/Makefile.am -index f961fdb..3ddbe59 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -151,6 +151,7 @@ janus_CFLAGS = \ - -DEVENTDIR=\"$(eventdir)\" \ - -DLOGGERDIR=\"$(loggerdir)\" \ - -DCONFDIR=\"$(confdir)\" \ -+ @GCC_WARN_UNUSED_BUT_SET@ \ - $(BORINGSSL_CFLAGS) \ - $(NULL) - -diff --git a/configure.ac b/configure.ac -index ca17a29..beef91a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -13,6 +13,9 @@ AM_SILENT_RULES([yes]) - AC_USE_SYSTEM_EXTENSIONS - - AC_PROG_CC -+AX_CHECK_COMPILE_FLAG([-Wunused-but-set-variable], -+ [GCC_WARN_UNUSED_BUT_SET=-Wunused-but-set-variable]) -+AC_SUBST(GCC_WARN_UNUSED_BUT_SET) - - LT_PREREQ([2.2]) - LT_INIT -@@ -64,8 +67,7 @@ clang*) - CFLAGS="$CFLAGS \ - -Wcast-align \ - -Wno-override-init \ -- -Wunsafe-loop-optimizations \ -- -Wunused-but-set-variable" -+ -Wunsafe-loop-optimizations" - esac - - JANUS_VERSION=103 -diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4 -new file mode 100644 -index 0000000..51df0c0 ---- /dev/null -+++ b/m4/ax_check_compile_flag.m4 -@@ -0,0 +1,74 @@ -+# =========================================================================== -+# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html -+# =========================================================================== -+# -+# SYNOPSIS -+# -+# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) -+# -+# DESCRIPTION -+# -+# Check whether the given FLAG works with the current language's compiler -+# or gives an error. (Warnings, however, are ignored) -+# -+# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on -+# success/failure. -+# -+# If EXTRA-FLAGS is defined, it is added to the current language's default -+# flags (e.g. CFLAGS) when the check is done. The check is thus made with -+# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to -+# force the compiler to issue an error when a bad flag is given. -+# -+# INPUT gives an alternative input source to AC_COMPILE_IFELSE. -+# -+# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this -+# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. -+# -+# LICENSE -+# -+# Copyright (c) 2008 Guido U. Draheim -+# Copyright (c) 2011 Maarten Bosmans -+# -+# This program is free software: you can redistribute it and/or modify it -+# under the terms of the GNU General Public License as published by the -+# Free Software Foundation, either version 3 of the License, or (at your -+# option) any later version. -+# -+# This program is distributed in the hope that it will be useful, but -+# WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -+# Public License for more details. -+# -+# You should have received a copy of the GNU General Public License along -+# with this program. If not, see . -+# -+# As a special exception, the respective Autoconf Macro's copyright owner -+# gives unlimited permission to copy, distribute and modify the configure -+# scripts that are the output of Autoconf when processing the Macro. You -+# need not follow the terms of the GNU General Public License when using -+# or distributing such scripts, even though portions of the text of the -+# Macro appear in them. The GNU General Public License (GPL) does govern -+# all other use of the material that constitutes the Autoconf Macro. -+# -+# This special exception to the GPL applies to versions of the Autoconf -+# Macro released by the Autoconf Archive. When you make and distribute a -+# modified version of the Autoconf Macro, you may extend this special -+# exception to the GPL to apply to your modified version as well. -+ -+#serial 3 -+ -+AC_DEFUN([AX_CHECK_COMPILE_FLAG], -+[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX -+AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl -+AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ -+ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS -+ _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" -+ AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], -+ [AS_VAR_SET(CACHEVAR,[yes])], -+ [AS_VAR_SET(CACHEVAR,[no])]) -+ _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) -+AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes], -+ [m4_default([$2], :)], -+ [m4_default([$3], :)]) -+AS_VAR_POPDEF([CACHEVAR])dnl -+])dnl AX_CHECK_COMPILE_FLAGS --- -2.20.1 - diff --git a/buildroot-2021.05/package/janus-gateway/janus-gateway.hash b/buildroot-2021.05/package/janus-gateway/janus-gateway.hash deleted file mode 100644 index 83afc72c..00000000 --- a/buildroot-2021.05/package/janus-gateway/janus-gateway.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 21e2fc7dee4b20ed8d749a69577eccd961b0bfe5b863d42f39ddfcd2af903718 janus-gateway-0.10.10.tar.gz -sha256 91d04c97fa1da3fcd28205873276358aafc071c5b00a9ea8c49dd06d487a9dc6 COPYING diff --git a/buildroot-2021.05/package/janus-gateway/janus-gateway.mk b/buildroot-2021.05/package/janus-gateway/janus-gateway.mk deleted file mode 100644 index 40652d80..00000000 --- a/buildroot-2021.05/package/janus-gateway/janus-gateway.mk +++ /dev/null @@ -1,131 +0,0 @@ -################################################################################ -# -# janus-gateway -# -################################################################################ - -JANUS_GATEWAY_VERSION = 0.10.10 -JANUS_GATEWAY_SITE = $(call github,meetecho,janus-gateway,v$(JANUS_GATEWAY_VERSION)) -JANUS_GATEWAY_LICENSE = GPL-3.0 with OpenSSL exception -JANUS_GATEWAY_LICENSE_FILES = COPYING -JANUS_GATEWAY_CPE_ID_VENDOR = meetecho -JANUS_GATEWAY_CPE_ID_PRODUCT = janus - -# ding-libs provides the ini_config library -JANUS_GATEWAY_DEPENDENCIES = host-pkgconf jansson libnice \ - libsrtp host-gengetopt libglib2 openssl libconfig \ - $(if $(BR2_PACKAGE_LIBOGG),libogg) - -# Straight out of the repository, no ./configure, and we also patch -# configure.ac. -JANUS_GATEWAY_AUTORECONF = YES - -JANUS_GATEWAY_CONF_OPTS = \ - --disable-data-channels \ - --disable-sample-event-handler - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_DEMOS),) -define JANUS_GATEWAY_REMOVE_DEMOS - $(RM) -fr $(TARGET_DIR)/usr/share/janus/demos/ -endef -JANUS_GATEWAY_POST_INSTALL_TARGET_HOOKS += JANUS_GATEWAY_REMOVE_DEMOS -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_AUDIO_BRIDGE),y) -JANUS_GATEWAY_DEPENDENCIES += opus -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-audiobridge -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-audiobridge -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_ECHO_TEST),y) -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-echotest -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-echotest -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_RECORDPLAY),y) -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-recordplay -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-recordplay -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_SIP_GATEWAY),y) -JANUS_GATEWAY_DEPENDENCIES += sofia-sip -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-sip -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-sip -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_STREAMING),y) -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-streaming -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-streaming -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_TEXT_ROOM),y) -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-textroom -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-textroom -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_VIDEO_CALL),y) -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-videocall -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videocall -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_VIDEO_ROOM),y) -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-videoroom -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videoroom -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_VOICE_MAIL),y) -JANUS_GATEWAY_CONF_OPTS += --enable-plugin-voicemail -else -JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_MQTT),y) -JANUS_GATEWAY_DEPENDENCIES += paho-mqtt-c -JANUS_GATEWAY_CONF_OPTS += --enable-mqtt -else -JANUS_GATEWAY_CONF_OPTS += --disable-mqtt -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_RABBITMQ),y) -JANUS_GATEWAY_DEPENDENCIES += rabbitmq-c -JANUS_GATEWAY_CONF_OPTS += --enable-rabbitmq -else -JANUS_GATEWAY_CONF_OPTS += --disable-rabbitmq -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_REST),y) -JANUS_GATEWAY_DEPENDENCIES += libmicrohttpd -JANUS_GATEWAY_CONF_OPTS += --enable-rest -else -JANUS_GATEWAY_CONF_OPTS += --disable-rest -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_UNIX_SOCKETS),y) -JANUS_GATEWAY_CONF_OPTS += --enable-unix-sockets -else -JANUS_GATEWAY_CONF_OPTS += --disable-unix-sockets -endif - -ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_WEBSOCKETS),y) -JANUS_GATEWAY_DEPENDENCIES += libwebsockets -JANUS_GATEWAY_CONF_OPTS += --enable-websockets -else -JANUS_GATEWAY_CONF_OPTS += --disable-websockets -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -JANUS_GATEWAY_DEPENDENCIES += systemd -JANUS_GATEWAY_CONF_OPTS += --enable-systemd-sockets -else -JANUS_GATEWAY_CONF_OPTS += --disable-systemd-sockets -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/jasper/jasper.hash b/buildroot-2021.05/package/jasper/jasper.hash deleted file mode 100644 index 67653a8e..00000000 --- a/buildroot-2021.05/package/jasper/jasper.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 6b4e5f682be0ab1a5acb0eeb6bf41d6ce17a658bb8e2dbda95de40100939cc88 jasper-2.0.28.tar.gz -sha256 4ad1bb42aff888c4403d792e6e2c5f1716d6c279fea70b296333c9d577d30b81 LICENSE diff --git a/buildroot-2021.05/package/jasper/jasper.mk b/buildroot-2021.05/package/jasper/jasper.mk deleted file mode 100644 index 6ef1afca..00000000 --- a/buildroot-2021.05/package/jasper/jasper.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# jasper -# -################################################################################ - -JASPER_VERSION = 2.0.28 -JASPER_SITE = $(call github,jasper-software,jasper,version-$(JASPER_VERSION)) -JASPER_INSTALL_STAGING = YES -JASPER_LICENSE = JasPer-2.0 -JASPER_LICENSE_FILES = LICENSE -JASPER_CPE_ID_VENDOR = jasper_project -JASPER_SUPPORTS_IN_SOURCE_BUILD = NO -JASPER_CONF_OPTS = \ - -DCMAKE_DISABLE_FIND_PACKAGE_DOXYGEN=TRUE \ - -DCMAKE_DISABLE_FIND_PACKAGE_LATEX=TRUE - -ifeq ($(BR2_STATIC_LIBS),y) -JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON -JASPER_DEPENDENCIES += jpeg -else -JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=OFF -endif - -JASPER_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -JASPER_CFLAGS += -O0 -endif - -JASPER_CONF_OPTS += -DCMAKE_C_FLAGS="$(JASPER_CFLAGS)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/jhead/jhead.hash b/buildroot-2021.05/package/jhead/jhead.hash deleted file mode 100644 index ffe75381..00000000 --- a/buildroot-2021.05/package/jhead/jhead.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated from download (no sig, hash) -sha256 ef89bbcf4f6c25ed88088cf242a47a6aedfff4f08cc7dc205bf3e2c0f10a03c9 jhead-3.04.tar.gz -sha256 46c870a208305489eea862ec8b05b030ba1f06d99195f660dc0ba541cc38d82b readme.txt diff --git a/buildroot-2021.05/package/jhead/jhead.mk b/buildroot-2021.05/package/jhead/jhead.mk deleted file mode 100644 index 49cb03da..00000000 --- a/buildroot-2021.05/package/jhead/jhead.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# jhead -# -################################################################################ - -JHEAD_VERSION = 3.04 -JHEAD_SITE = http://www.sentex.net/~mwandel/jhead -JHEAD_LICENSE = Public Domain -JHEAD_LICENSE_FILES = readme.txt -JHEAD_CPE_ID_VENDOR = jhead_project - -define JHEAD_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -endef - -define JHEAD_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/jhead $(TARGET_DIR)/usr/bin/jhead -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/jimtcl/jimtcl.hash b/buildroot-2021.05/package/jimtcl/jimtcl.hash deleted file mode 100644 index 7960f4fd..00000000 --- a/buildroot-2021.05/package/jimtcl/jimtcl.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 9e79a960de925552eeb4df51121f0ea017e34409568117b1ac461f4c3071289e jimtcl-0.80.tar.gz -sha256 419f1146334e57fb258d6c957d1f94d43455ec0d24b1b54c4447e5f61a353950 LICENSE diff --git a/buildroot-2021.05/package/jimtcl/jimtcl.mk b/buildroot-2021.05/package/jimtcl/jimtcl.mk deleted file mode 100644 index 5d6b3792..00000000 --- a/buildroot-2021.05/package/jimtcl/jimtcl.mk +++ /dev/null @@ -1,103 +0,0 @@ -################################################################################ -# -# jimtcl -# -################################################################################ - -JIMTCL_VERSION = 0.80 -JIMTCL_SITE = $(call github,msteveb,jimtcl,$(JIMTCL_VERSION)) -JIMTCL_INSTALL_STAGING = YES -JIMTCL_LICENSE = BSD-2-Clause -JIMTCL_LICENSE_FILES = LICENSE - -JIMTCL_HEADERS_TO_INSTALL = \ - jim.h \ - jim-eventloop.h \ - jim-signal.h \ - jim-subcmd.h \ - jim-win32compat.h \ - jim-config.h - -ifeq ($(BR2_PACKAGE_TCL),) -define JIMTCL_LINK_TCLSH - ln -sf jimsh $(TARGET_DIR)/usr/bin/tclsh -endef -endif - -ifeq ($(BR2_STATIC_LIBS),y) -define JIMTCL_INSTALL_LIB - $(INSTALL) -m 0644 -D $(@D)/libjim.a $(1)/usr/lib/libjim.a -endef -else -JIMTCL_SHARED = --shared -define JIMTCL_INSTALL_LIB - $(INSTALL) -m 0755 -D $(@D)/libjim.so.$(JIMTCL_VERSION) \ - $(1)/usr/lib/libjim.so.$(JIMTCL_VERSION) - ln -sf libjim.so.$(JIMTCL_VERSION) $(1)/usr/lib/libjim.so -endef -endif - -# build system doesn't use autotools, but does use an old version of -# gnuconfig which doesn't know all the architectures supported by -# Buildroot, so update config.guess / config.sub like we do in -# pkg-autotools.mk -JIMTCL_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK -HOST_JIMTCL_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK - -# jimtcl really wants to find a existing $CXX, so feed it false -# when we do not have one. -define JIMTCL_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) \ - CCACHE=none \ - $(if $(BR2_INSTALL_LIBSTDCPP),,CXX=false) \ - ./configure --prefix=/usr \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - $(JIMTCL_SHARED) \ - ) -endef - -# -fPIC is mandatory to build shared libraries on certain architectures -# (e.g. SPARC) and causes no harm or drawbacks on other architectures -define JIMTCL_BUILD_CMDS - SH_CFLAGS="-fPIC" \ - SHOBJ_CFLAGS="-fPIC" \ - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define JIMTCL_INSTALL_STAGING_CMDS - for i in $(JIMTCL_HEADERS_TO_INSTALL); do \ - cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ || exit 1 ; \ - done; \ - $(call JIMTCL_INSTALL_LIB,$(STAGING_DIR)) -endef - -define JIMTCL_INSTALL_TARGET_CMDS - $(INSTALL) -D $(@D)/jimsh $(TARGET_DIR)/usr/bin/jimsh - $(call JIMTCL_INSTALL_LIB,$(TARGET_DIR)) - $(JIMTCL_LINK_TCLSH) -endef - -define HOST_JIMTCL_CONFIGURE_CMDS - cd $(@D) && \ - $(HOST_CONFIGURE_OPTS) \ - CCACHE=none \ - ./configure --prefix=$(HOST_DIR) --shared -endef - -define HOST_JIMTCL_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define HOST_JIMTCL_INSTALL_CMDS - for i in $(JIMTCL_HEADERS_TO_INSTALL); do \ - cp -a $(@D)/$$i $(HOST_DIR)/usr/include/ || exit 1 ; \ - done; - $(INSTALL) -m 0755 -D $(@D)/libjim.so.$(JIMTCL_VERSION) \ - $(HOST_DIR)/usr/lib/libjim.so.$(JIMTCL_VERSION) - ln -sf libjim.so.$(JIMTCL_VERSION) $(HOST_DIR)/usr/lib/libjim.so -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/jitterentropy-library/0001-Makefile-cleanup-install.patch b/buildroot-2021.05/package/jitterentropy-library/0001-Makefile-cleanup-install.patch deleted file mode 100644 index 9c7e4036..00000000 --- a/buildroot-2021.05/package/jitterentropy-library/0001-Makefile-cleanup-install.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 060b9b4147f6e5ff386a8b017796118d783e59fa Mon Sep 17 00:00:00 2001 -From: Matt Weber -Date: Tue, 22 Oct 2019 12:44:30 -0500 -Subject: [PATCH] Makefile: cleanup install for rebuilds - -Support the ability to rebuild and redeploy without a clean. This -required some force linking and man archive creation. - -Provide the ability to override the stripping of the shared lib for -cases where a embedded target build may want to control stripping -or provide cross arch tools. - -Signed-off-by: Matthew Weber -Signed-off-by: Stephan Mueller -[Retrieved from: -https://github.com/smuellerDD/jitterentropy-library/commit/060b9b4147f6e5ff386a8b017796118d783e59fa] -Signed-off-by: Fabrice Fontaine ---- - Makefile | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/Makefile b/Makefile -index 4ff069b..2e78607 100644 ---- a/Makefile -+++ b/Makefile -@@ -14,6 +14,8 @@ LIBDIR := lib - # include target directory - INCDIR := include - -+INSTALL_STRIP ?= install -s -+ - NAME := jitterentropy - LIBMAJOR=$(shell cat jitterentropy-base.c | grep define | grep MAJVERSION | awk '{print $$3}') - LIBMINOR=$(shell cat jitterentropy-base.c | grep define | grep MINVERSION | awk '{print $$3}') -@@ -58,15 +60,15 @@ cppcheck: - install: - install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3 - install -m 644 doc/$(NAME).3 $(DESTDIR)$(PREFIX)/share/man/man3/ -- gzip -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3 -+ gzip -f -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3 - install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR) -- install -m 0755 -s lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/ -+ $(INSTALL_STRIP) -m 0755 lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/ - install -d -m 0755 $(DESTDIR)$(PREFIX)/$(INCDIR) - install -m 0644 jitterentropy.h $(DESTDIR)$(PREFIX)/$(INCDIR)/ - install -m 0644 jitterentropy-base-user.h $(DESTDIR)$(PREFIX)/$(INCDIR)/ - $(RM) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR) -- ln -s lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR) -- ln -s lib$(NAME).so.$(LIBMAJOR) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so -+ ln -sf lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR) -+ ln -sf lib$(NAME).so.$(LIBMAJOR) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so - - clean: - @- $(RM) $(NAME) diff --git a/buildroot-2021.05/package/jitterentropy-library/0002-Makefile-add-additional-install-targets.patch b/buildroot-2021.05/package/jitterentropy-library/0002-Makefile-add-additional-install-targets.patch deleted file mode 100644 index a331c9f3..00000000 --- a/buildroot-2021.05/package/jitterentropy-library/0002-Makefile-add-additional-install-targets.patch +++ /dev/null @@ -1,56 +0,0 @@ -From d545d76cb3173cc98e1421604929248f2d882821 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 24 Oct 2019 18:48:47 +0200 -Subject: [PATCH] Makefile: add additional install targets - -Add install-includes, install-man, install-shared and install-static -targets to allow the user to configure what must be installed - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://github.com/smuellerDD/jitterentropy-library/pull/11] ---- - Makefile | 18 ++++++++++++++---- - 1 file changed, 14 insertions(+), 4 deletions(-) - -diff --git a/Makefile b/Makefile -index 2e78607..41bc4f7 100644 ---- a/Makefile -+++ b/Makefile -@@ -57,19 +57,29 @@ scan: $(analyze_plists) - cppcheck: - cppcheck --force -q --enable=performance --enable=warning --enable=portability *.h *.c - --install: -+install: install-man install-shared install-includes -+ -+install-man: - install -d -m 0755 $(DESTDIR)$(PREFIX)/share/man/man3 - install -m 644 doc/$(NAME).3 $(DESTDIR)$(PREFIX)/share/man/man3/ - gzip -f -9 $(DESTDIR)$(PREFIX)/share/man/man3/$(NAME).3 -+ -+install-shared: - install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR) - $(INSTALL_STRIP) -m 0755 lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/ -- install -d -m 0755 $(DESTDIR)$(PREFIX)/$(INCDIR) -- install -m 0644 jitterentropy.h $(DESTDIR)$(PREFIX)/$(INCDIR)/ -- install -m 0644 jitterentropy-base-user.h $(DESTDIR)$(PREFIX)/$(INCDIR)/ - $(RM) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR) - ln -sf lib$(NAME).so.$(LIBVERSION) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so.$(LIBMAJOR) - ln -sf lib$(NAME).so.$(LIBMAJOR) $(DESTDIR)$(PREFIX)/$(LIBDIR)/lib$(NAME).so - -+install-includes: -+ install -d -m 0755 $(DESTDIR)$(PREFIX)/$(INCDIR) -+ install -m 0644 jitterentropy.h $(DESTDIR)$(PREFIX)/$(INCDIR)/ -+ install -m 0644 jitterentropy-base-user.h $(DESTDIR)$(PREFIX)/$(INCDIR)/ -+ -+install-static: -+ install -d -m 0755 $(DESTDIR)$(PREFIX)/$(LIBDIR) -+ install -m 0755 lib$(NAME).a $(DESTDIR)$(PREFIX)/$(LIBDIR)/ -+ - clean: - @- $(RM) $(NAME) - @- $(RM) $(OBJS) --- -2.23.0 - diff --git a/buildroot-2021.05/package/jitterentropy-library/0003-Makefile-allow-the-user-to-disable-stack-protector.patch b/buildroot-2021.05/package/jitterentropy-library/0003-Makefile-allow-the-user-to-disable-stack-protector.patch deleted file mode 100644 index eeff0a0f..00000000 --- a/buildroot-2021.05/package/jitterentropy-library/0003-Makefile-allow-the-user-to-disable-stack-protector.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 37e8a6a7e5875e20a8de07fbfbb69912f1964f7d Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 28 Oct 2019 09:47:49 +0100 -Subject: [PATCH] Makefile: allow the user to disable stack protector - -Allow the user to disable stack-protector by overriding CFLAGS as it is -not supported by all toolchains. - -Fixes: - - http://autobuild.buildroot.net/results/cba1ae830c7a4d1740098fe67aec59b4dc2f9a03 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/smuellerDD/jitterentropy-library/pull/12] ---- - Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 41bc4f7..b0f20e2 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,9 +1,9 @@ - # Compile Noise Source as user space application - - CC ?= gcc --CFLAGS +=-Wextra -Wall -pedantic -fPIC -O0 - #Hardening --CFLAGS +=-fstack-protector-all -fwrapv --param ssp-buffer-size=4 -+CFLAGS ?=-fstack-protector-all --param ssp-buffer-size=4 -+CFLAGS +=-Wextra -Wall -pedantic -fPIC -O0 -fwrapv - LDFLAGS +=-Wl,-z,relro,-z,now - - # Change as necessary --- -2.23.0 - diff --git a/buildroot-2021.05/package/jitterentropy-library/Config.in b/buildroot-2021.05/package/jitterentropy-library/Config.in deleted file mode 100644 index 02f8ff61..00000000 --- a/buildroot-2021.05/package/jitterentropy-library/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_JITTERENTROPY_LIBRARY - bool "libjitterentropy" - help - Hardware RNG based on CPU timing jitter. - - https://github.com/smuellerDD/jitterentropy-library diff --git a/buildroot-2021.05/package/jitterentropy-library/jitterentropy-library.hash b/buildroot-2021.05/package/jitterentropy-library/jitterentropy-library.hash deleted file mode 100644 index 5ff38f6f..00000000 --- a/buildroot-2021.05/package/jitterentropy-library/jitterentropy-library.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed -sha256 42d4bd1050b5f0d7b45b5453e5b6cfc45c0492bb428791f571d8f69b066351a4 jitterentropy-library-2.2.0.tar.gz -sha256 96b5a6b49aaeeba9036f9b80e6e299d613a8eca158741a25a67dc78792413e23 COPYING -sha256 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 COPYING.bsd -sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING.gplv2 diff --git a/buildroot-2021.05/package/jitterentropy-library/jitterentropy-library.mk b/buildroot-2021.05/package/jitterentropy-library/jitterentropy-library.mk deleted file mode 100644 index d9dc031c..00000000 --- a/buildroot-2021.05/package/jitterentropy-library/jitterentropy-library.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# jitterentropy-library -# -################################################################################ - -JITTERENTROPY_LIBRARY_VERSION = 2.2.0 -JITTERENTROPY_LIBRARY_SITE = $(call github,smuellerDD,$(JITTERENTROPY_LIBRARY_NAME),v$(JITTERENTROPY_LIBRARY_VERSION)) -JITTERENTROPY_LIBRARY_LICENSE = GPL-2.0 or BSD-3-Clause -JITTERENTROPY_LIBRARY_LICENSE_FILES = COPYING COPYING.bsd COPYING.gplv2 -JITTERENTROPY_LIBRARY_INSTALL_STAGING = YES -JITTERENTROPY_LIBRARY_INSTALL_TARGETS = install-includes -JITTERENTROPY_LIBRARY_SELINUX_MODULES = entropyd - -ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -JITTERENTROPY_LIBRARY_BUILD_TARGETS += jitterentropy-static -JITTERENTROPY_LIBRARY_INSTALL_TARGETS += install-static -endif - -ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -JITTERENTROPY_LIBRARY_BUILD_TARGETS += jitterentropy -JITTERENTROPY_LIBRARY_INSTALL_TARGETS += install-shared -endif - -define JITTERENTROPY_LIBRARY_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(JITTERENTROPY_LIBRARY_BUILD_TARGETS) -endef - -define JITTERENTROPY_LIBRARY_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) \ - INSTALL_STRIP="install" PREFIX=/usr \ - $(JITTERENTROPY_LIBRARY_INSTALL_TARGETS) -endef - -define JITTERENTROPY_LIBRARY_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \ - INSTALL_STRIP="install" PREFIX=/usr \ - $(JITTERENTROPY_LIBRARY_INSTALL_TARGETS) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/jo/jo.hash b/buildroot-2021.05/package/jo/jo.hash deleted file mode 100644 index 8f1cc8fc..00000000 --- a/buildroot-2021.05/package/jo/jo.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 24c64d2eb863900947f58f32b502c95fec8f086105fd31151b91f54b7b5256a2 jo-1.4.tar.gz -sha256 41d8b23dc6e76731f4920b9ce42d0d4a248d243a510319e2441d174a115f35cf COPYING diff --git a/buildroot-2021.05/package/jo/jo.mk b/buildroot-2021.05/package/jo/jo.mk deleted file mode 100644 index 24b499f3..00000000 --- a/buildroot-2021.05/package/jo/jo.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# jo -# -################################################################################ - -JO_VERSION = 1.4 -JO_SITE = https://github.com/jpmens/jo/releases/download/$(JO_VERSION) -JO_LICENSE = MIT (json.[ch]), GPL-2.0+ (rest) -JO_LICENSE_FILES = COPYING -# don't build man pages -JO_CONF_ENV = ac_cv_path_PANDOC='' - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/jose/0002-configure-fix-build-with-old-compilers.patch b/buildroot-2021.05/package/jose/0002-configure-fix-build-with-old-compilers.patch deleted file mode 100644 index 0484f38f..00000000 --- a/buildroot-2021.05/package/jose/0002-configure-fix-build-with-old-compilers.patch +++ /dev/null @@ -1,165 +0,0 @@ -From 98e9faa4d39cd5b6aaab882877e19ae394ba3810 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Mon, 20 Nov 2017 23:10:38 +0100 -Subject: [PATCH] configure: fix build with old compilers - -Old gcc versions (gcc 4.7) do not support all warnings flags currently -hard-coded by configure.ac. In order to fix this, we import the -AX_CHECK_COMPILE_FLAG() macro from the autoconf-archive, and use it in -the configure.ac to only use warning flags when the compiler supports -them. - -Submitted-upstream: https://github.com/latchset/jose/pull/51 -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 46 +++++++++++++++------------- - m4/ax_check_compile_flag.m4 | 74 +++++++++++++++++++++++++++++++++++++++++++++ - 3 files changed, 105 insertions(+), 22 deletions(-) - create mode 100644 m4/ax_check_compile_flag.m4 - -diff --git a/configure.ac b/configure.ac -index cf8c9a6..6fe4ded 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,6 @@ - AC_PREREQ(2.62) - AC_INIT(jose, 10) -+AC_CONFIG_MACRO_DIRS([m4]) - AC_CANONICAL_SYSTEM - AC_PROG_CC_C99 - -@@ -18,27 +19,30 @@ PKG_CHECK_MODULES([libcrypto], [libcrypto >= 1.0.2]) - AC_OPENMP - AC_SUBST([OPENMP_CFLAGS]) - --JOSE_CFLAGS="\ ---Wall \ ---Wextra \ ---Werror \ ---Wstrict-aliasing \ ---Wchar-subscripts \ ---Wformat-security \ ---Wmissing-declarations \ ---Wmissing-prototypes \ ---Wnested-externs \ ---Wpointer-arith \ ---Wshadow \ ---Wsign-compare \ ---Wstrict-prototypes \ ---Wtype-limits \ ---Wunused-function \ ---Wno-missing-field-initializers \ ---Wno-unused-command-line-argument \ ---Wno-unused-parameter \ ---Wno-unknown-pragmas \ --" -+for flag in \ -+ -Wall \ -+ -Wextra \ -+ -Werror \ -+ -Wstrict-aliasing \ -+ -Wchar-subscripts \ -+ -Wformat-security \ -+ -Wmissing-declarations \ -+ -Wmissing-prototypes \ -+ -Wnested-externs \ -+ -Wpointer-arith \ -+ -Wshadow \ -+ -Wsign-compare \ -+ -Wstrict-prototypes \ -+ -Wtype-limits \ -+ -Wunused-function \ -+ -Wno-missing-field-initializers \ -+ -Wno-unused-command-line-argument \ -+ -Wno-unused-parameter \ -+ -Wno-unknown-pragmas ; do -+ AX_CHECK_COMPILE_FLAG([${flag}], -+ [JOSE_CFLAGS="${JOSE_CFLAGS} ${flag}"]) -+done -+ - AC_SUBST([JOSE_CFLAGS]) - - AC_MSG_CHECKING([for linker script support]) -diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4 -new file mode 100644 -index 0000000..dcabb92 ---- /dev/null -+++ b/m4/ax_check_compile_flag.m4 -@@ -0,0 +1,74 @@ -+# =========================================================================== -+# https://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html -+# =========================================================================== -+# -+# SYNOPSIS -+# -+# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) -+# -+# DESCRIPTION -+# -+# Check whether the given FLAG works with the current language's compiler -+# or gives an error. (Warnings, however, are ignored) -+# -+# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on -+# success/failure. -+# -+# If EXTRA-FLAGS is defined, it is added to the current language's default -+# flags (e.g. CFLAGS) when the check is done. The check is thus made with -+# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to -+# force the compiler to issue an error when a bad flag is given. -+# -+# INPUT gives an alternative input source to AC_COMPILE_IFELSE. -+# -+# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this -+# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. -+# -+# LICENSE -+# -+# Copyright (c) 2008 Guido U. Draheim -+# Copyright (c) 2011 Maarten Bosmans -+# -+# This program is free software: you can redistribute it and/or modify it -+# under the terms of the GNU General Public License as published by the -+# Free Software Foundation, either version 3 of the License, or (at your -+# option) any later version. -+# -+# This program is distributed in the hope that it will be useful, but -+# WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General -+# Public License for more details. -+# -+# You should have received a copy of the GNU General Public License along -+# with this program. If not, see . -+# -+# As a special exception, the respective Autoconf Macro's copyright owner -+# gives unlimited permission to copy, distribute and modify the configure -+# scripts that are the output of Autoconf when processing the Macro. You -+# need not follow the terms of the GNU General Public License when using -+# or distributing such scripts, even though portions of the text of the -+# Macro appear in them. The GNU General Public License (GPL) does govern -+# all other use of the material that constitutes the Autoconf Macro. -+# -+# This special exception to the GPL applies to versions of the Autoconf -+# Macro released by the Autoconf Archive. When you make and distribute a -+# modified version of the Autoconf Macro, you may extend this special -+# exception to the GPL to apply to your modified version as well. -+ -+#serial 5 -+ -+AC_DEFUN([AX_CHECK_COMPILE_FLAG], -+[AC_PREREQ(2.64)dnl for _AC_LANG_PREFIX and AS_VAR_IF -+AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl -+AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ -+ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS -+ _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" -+ AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], -+ [AS_VAR_SET(CACHEVAR,[yes])], -+ [AS_VAR_SET(CACHEVAR,[no])]) -+ _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) -+AS_VAR_IF(CACHEVAR,yes, -+ [m4_default([$2], :)], -+ [m4_default([$3], :)]) -+AS_VAR_POPDEF([CACHEVAR])dnl -+])dnl AX_CHECK_COMPILE_FLAGS --- -2.13.6 - diff --git a/buildroot-2021.05/package/jose/jose.hash b/buildroot-2021.05/package/jose/jose.hash deleted file mode 100644 index 376bc0b5..00000000 --- a/buildroot-2021.05/package/jose/jose.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 5c9cdcfb535c4d9f781393d7530521c72b1dd81caa9934cab6dd752cc7efcd72 jose-10.tar.bz2 -sha256 09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b COPYING diff --git a/buildroot-2021.05/package/jose/jose.mk b/buildroot-2021.05/package/jose/jose.mk deleted file mode 100644 index 2758d408..00000000 --- a/buildroot-2021.05/package/jose/jose.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# jose -# -################################################################################ - -JOSE_VERSION = 10 -JOSE_SOURCE = jose-$(JOSE_VERSION).tar.bz2 -JOSE_SITE = https://github.com/latchset/jose/releases/download/v$(JOSE_VERSION) -JOSE_LICENSE = Apache-2.0 -JOSE_LICENSE_FILES = COPYING -# 0002-configure-fix-build-with-old-compilers.patch -JOSE_AUTORECONF = YES -JOSE_INSTALL_STAGING = YES -JOSE_DEPENDENCIES = host-pkgconf zlib jansson openssl - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/jpeg-turbo/jpeg-turbo.hash b/buildroot-2021.05/package/jpeg-turbo/jpeg-turbo.hash deleted file mode 100644 index 1a22b1d6..00000000 --- a/buildroot-2021.05/package/jpeg-turbo/jpeg-turbo.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://sourceforge.net/projects/libjpeg-turbo/files/2.0.6/ -sha1 5406c7676d7df89fb4da791ad5af51202910fb25 libjpeg-turbo-2.0.6.tar.gz -md5 4cada3f0bdc93d826fa31bf9e4469ef6 libjpeg-turbo-2.0.6.tar.gz -# Locally computed -sha256 d74b92ac33b0e3657123ddcf6728788c90dc84dcb6a52013d758af3c4af481bb libjpeg-turbo-2.0.6.tar.gz -sha256 0b7a24c3906d26dfbe24e96e9415549b387c3227140dc6b7ab2fb924254e37a1 LICENSE.md -sha256 01ccef626ec864773c681d4a4056f72af9052d619e0609df0d369117f8b3efdf README.ijg diff --git a/buildroot-2021.05/package/jpeg-turbo/jpeg-turbo.mk b/buildroot-2021.05/package/jpeg-turbo/jpeg-turbo.mk deleted file mode 100644 index 5c977dc0..00000000 --- a/buildroot-2021.05/package/jpeg-turbo/jpeg-turbo.mk +++ /dev/null @@ -1,53 +0,0 @@ -################################################################################ -# -# jpeg-turbo -# -################################################################################ - -JPEG_TURBO_VERSION = 2.0.6 -JPEG_TURBO_SOURCE = libjpeg-turbo-$(JPEG_TURBO_VERSION).tar.gz -JPEG_TURBO_SITE = https://downloads.sourceforge.net/project/libjpeg-turbo/$(JPEG_TURBO_VERSION) -JPEG_TURBO_LICENSE = IJG (libjpeg), BSD-3-Clause (TurboJPEG), Zlib (SIMD) -JPEG_TURBO_LICENSE_FILES = LICENSE.md README.ijg -JPEG_TURBO_CPE_ID_VENDOR = libjpeg-turbo -JPEG_TURBO_CPE_ID_PRODUCT = libjpeg-turbo -JPEG_TURBO_INSTALL_STAGING = YES -JPEG_TURBO_PROVIDES = jpeg -JPEG_TURBO_DEPENDENCIES = host-pkgconf - -JPEG_TURBO_CONF_OPTS = -DWITH_JPEG8=ON - -ifeq ($(BR2_STATIC_LIBS),y) -JPEG_TURBO_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=OFF -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -JPEG_TURBO_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=ON -else ifeq ($(BR2_SHARED_LIBS),y) -JPEG_TURBO_CONF_OPTS += -DENABLE_STATIC=OFF -DENABLE_SHARED=ON -endif - -ifeq ($(BR2_PACKAGE_JPEG_SIMD_SUPPORT),y) -JPEG_TURBO_CONF_OPTS += -DWITH_SIMD=ON -# x86 simd support needs nasm -JPEG_TURBO_DEPENDENCIES += $(if $(BR2_X86_CPU_HAS_MMX),host-nasm) -else -JPEG_TURBO_CONF_OPTS += -DWITH_SIMD=OFF -endif - -# Ensure that jpeg-turbo is compiled with -fPIC to allow linking the static -# libraries with dynamically linked programs. This is not a requirement -# for most architectures but is mandatory for ARM. -# This allow to avoid link issues with BR2_SSP_ALL: -# jsimd_none.c.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `__stack_chk_guard@@GLIBC_2.17' -# can not be used when making a shared object; recompile with -fPIC -ifeq ($(BR2_STATIC_LIBS),) -JPEG_TURBO_CONF_OPTS += -DCMAKE_POSITION_INDEPENDENT_CODE=ON -endif - -ifeq ($(BR2_PACKAGE_JPEG_TURBO_TOOLS),) -define JPEG_TURBO_REMOVE_TOOLS - rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom tjbench wrjpgcom) -endef -JPEG_TURBO_POST_INSTALL_TARGET_HOOKS += JPEG_TURBO_REMOVE_TOOLS -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/json-for-modern-cpp/json-for-modern-cpp.hash b/buildroot-2021.05/package/json-for-modern-cpp/json-for-modern-cpp.hash deleted file mode 100644 index eb9270b3..00000000 --- a/buildroot-2021.05/package/json-for-modern-cpp/json-for-modern-cpp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 9943db11eeaa5b23e58a88fbc26c453faccef7b546e55063ad00e7caaaf76d0b json-3.9.0.tar.gz -sha256 50be9457e5c9faaba5e60d9c73f8eabe9e0737a2d9c3e58357d856661862c18e LICENSE.MIT diff --git a/buildroot-2021.05/package/json-for-modern-cpp/json-for-modern-cpp.mk b/buildroot-2021.05/package/json-for-modern-cpp/json-for-modern-cpp.mk deleted file mode 100644 index b644f335..00000000 --- a/buildroot-2021.05/package/json-for-modern-cpp/json-for-modern-cpp.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# json-for-modern-cpp -# -################################################################################ - -JSON_FOR_MODERN_CPP_VERSION = 3.9.0 -JSON_FOR_MODERN_CPP_SOURCE = json-$(JSON_FOR_MODERN_CPP_VERSION).tar.gz -JSON_FOR_MODERN_CPP_SITE = $(call github,nlohmann,json,v$(JSON_FOR_MODERN_CPP_VERSION)) -JSON_FOR_MODERN_CPP_LICENSE = MIT -JSON_FOR_MODERN_CPP_LICENSE_FILES = LICENSE.MIT -JSON_FOR_MODERN_CPP_CPE_ID_VENDOR = json-for-modern-cpp_project - -JSON_FOR_MODERN_CPP_INSTALL_STAGING = YES -# header only library -JSON_FOR_MODERN_CPP_INSTALL_TARGET = NO -JSON_FOR_MODERN_CPP_CONF_OPTS = -DJSON_BuildTests=OFF -DJSON_MultipleHeaders=ON - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/jsoncpp/jsoncpp.hash b/buildroot-2021.05/package/jsoncpp/jsoncpp.hash deleted file mode 100644 index 0070a187..00000000 --- a/buildroot-2021.05/package/jsoncpp/jsoncpp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 e34a628a8142643b976c7233ef381457efad79468c67cb1ae0b83a33d7493999 jsoncpp-1.9.4.tar.gz -sha256 95039d77a20e75b428207740d9a8f97b2dce3c89da4b21f1ad862b5997160e0a LICENSE diff --git a/buildroot-2021.05/package/jsoncpp/jsoncpp.mk b/buildroot-2021.05/package/jsoncpp/jsoncpp.mk deleted file mode 100644 index 829459df..00000000 --- a/buildroot-2021.05/package/jsoncpp/jsoncpp.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# jsoncpp -# -################################################################################ - -JSONCPP_VERSION = 1.9.4 -JSONCPP_SITE = $(call github,open-source-parsers,jsoncpp,$(JSONCPP_VERSION)) -JSONCPP_LICENSE = Public Domain or MIT -JSONCPP_LICENSE_FILES = LICENSE -JSONCPP_CPE_ID_VENDOR = jsoncpp_project -JSONCPP_INSTALL_STAGING = YES -JSONCPP_CONF_OPTS = -Dtests=false - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/jszip/jszip.mk b/buildroot-2021.05/package/jszip/jszip.mk deleted file mode 100644 index 04bd0a7b..00000000 --- a/buildroot-2021.05/package/jszip/jszip.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# jszip -# -################################################################################ - -JSZIP_VERSION = 3.2.2 -JSZIP_SITE = $(call github,Stuk,jszip,v$(JSZIP_VERSION)) -JSZIP_LICENSE = MIT or GPL-3.0 -JSZIP_LICENSE_FILES = LICENSE.markdown - -define JSZIP_INSTALL_TARGET_CMDS - $(INSTALL) -m 0644 -D $(@D)/dist/jszip.min.js \ - $(TARGET_DIR)/var/www/jszip/js/jszip.min.js -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/keepalived/keepalived.hash b/buildroot-2021.05/package/keepalived/keepalived.hash deleted file mode 100644 index 94af43c3..00000000 --- a/buildroot-2021.05/package/keepalived/keepalived.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 245bf399e4320064996ac5507236a8896f545d005f6c4c3b91701bcbc5728c60 keepalived-2.1.4.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/keepalived/keepalived.mk b/buildroot-2021.05/package/keepalived/keepalived.mk deleted file mode 100644 index 5d42cab7..00000000 --- a/buildroot-2021.05/package/keepalived/keepalived.mk +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# -# keepalived -# -################################################################################ - -KEEPALIVED_VERSION = 2.1.4 -KEEPALIVED_SITE = http://www.keepalived.org/software -KEEPALIVED_DEPENDENCIES = host-pkgconf openssl -KEEPALIVED_LICENSE = GPL-2.0+ -KEEPALIVED_LICENSE_FILES = COPYING -KEEPALIVED_CPE_ID_VENDOR = keepalived -KEEPALIVED_CONF_OPTS = --disable-hardening - -ifeq ($(BR2_PACKAGE_JSON_C),y) -KEEPALIVED_DEPENDENCIES += json-c -KEEPALIVED_CONF_OPTS += --enable-json -else -KEEPALIVED_CONF_OPTS += --disable-json -endif - -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -KEEPALIVED_DEPENDENCIES += libglib2 -KEEPALIVED_CONF_OPTS += --enable-dbus -else -KEEPALIVED_CONF_OPTS += --disable-dbus -endif - -ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_PACKAGE_LIBNFNETLINK),yy) -KEEPALIVED_DEPENDENCIES += libnl libnfnetlink -KEEPALIVED_CONF_OPTS += --enable-libnl -else -KEEPALIVED_CONF_OPTS += --disable-libnl -endif - -ifeq ($(BR2_PACKAGE_IPTABLES),y) -KEEPALIVED_DEPENDENCIES += iptables -KEEPALIVED_CONF_OPTS += --enable-iptables -# ipset support only makes sense when iptables support is enabled. -ifeq ($(BR2_PACKAGE_IPSET),y) -KEEPALIVED_DEPENDENCIES += ipset -KEEPALIVED_CONF_OPTS += --enable-libipset -else -KEEPALIVED_CONF_OPTS += --disable-libipset -endif -else -KEEPALIVED_CONF_OPTS += --disable-iptables -endif - -ifeq ($(BR2_PACKAGE_LIBNFTNL),y) -KEEPALIVED_DEPENDENCIES += libnftnl -KEEPALIVED_CONF_OPTS += --enable-nftables -else -KEEPALIVED_CONF_OPTS += --disable-nftables -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/kexec/kexec.hash b/buildroot-2021.05/package/kexec/kexec.hash deleted file mode 100644 index 1cf860d8..00000000 --- a/buildroot-2021.05/package/kexec/kexec.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/linux/utils/kernel/kexec/sha256sums.asc -sha256 96c97f49ed86049f8b72722cb53e7fe3693e5a4f31e78a3a6249e3d18dac49c2 kexec-tools-2.0.22.tar.xz -# locally calculated -sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 COPYING diff --git a/buildroot-2021.05/package/kexec/kexec.mk b/buildroot-2021.05/package/kexec/kexec.mk deleted file mode 100644 index 13b852c8..00000000 --- a/buildroot-2021.05/package/kexec/kexec.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# kexec -# -################################################################################ - -KEXEC_VERSION = 2.0.22 -KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz -KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec -KEXEC_LICENSE = GPL-2.0 -KEXEC_LICENSE_FILES = COPYING -KEXEC_SELINUX_MODULES = kdump - -# Makefile expects $STRIP -o to work, so needed for !BR2_STRIP_strip -KEXEC_MAKE_OPTS = STRIP="$(TARGET_CROSS)strip" - -ifeq ($(BR2_PACKAGE_KEXEC_ZLIB),y) -KEXEC_CONF_OPTS += --with-zlib -KEXEC_DEPENDENCIES = zlib -else -KEXEC_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -KEXEC_CONF_OPTS += --with-lzma -KEXEC_DEPENDENCIES += xz -else -KEXEC_CONF_OPTS += --without-lzma -endif - -define KEXEC_REMOVE_LIB_TOOLS - rm -rf $(TARGET_DIR)/usr/lib/kexec-tools -endef - -KEXEC_POST_INSTALL_TARGET_HOOKS += KEXEC_REMOVE_LIB_TOOLS - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.hash b/buildroot-2021.05/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.hash deleted file mode 100644 index 733e267f..00000000 --- a/buildroot-2021.05/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 976d8bd15a0b929376bfaef34602a0fb9614229851c46fac3c4b28938f682195 extra-cmake-modules-5.47.0.tar.xz -sha256 46cde7dc11e64c78d650b4851b88f6704b4665ff60f22a1caf68ceb15e217e5b COPYING-CMAKE-SCRIPTS diff --git a/buildroot-2021.05/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.mk b/buildroot-2021.05/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.mk deleted file mode 100644 index 3c4281b9..00000000 --- a/buildroot-2021.05/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# kf5-extra-cmake-modules -# -################################################################################ - -KF5_EXTRA_CMAKE_MODULES_VERSION = $(KF5_VERSION) -KF5_EXTRA_CMAKE_MODULES_SITE = $(KF5_SITE) -KF5_EXTRA_CMAKE_MODULES_SOURCE = extra-cmake-modules-$(KF5_EXTRA_CMAKE_MODULES_VERSION).tar.xz -KF5_EXTRA_CMAKE_MODULES_LICENSE = BSD-3-Clause -KF5_EXTRA_CMAKE_MODULES_LICENSE_FILES = COPYING-CMAKE-SCRIPTS - -KF5_EXTRA_CMAKE_MODULES_DEPENDENCIES = host-pkgconf -KF5_EXTRA_CMAKE_MODULES_INSTALL_STAGING = YES -KF5_EXTRA_CMAKE_MODULES_INSTALL_TARGET = NO - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash b/buildroot-2021.05/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash deleted file mode 100644 index 0cd8dcfc..00000000 --- a/buildroot-2021.05/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 40ff04757e4ac19bc8448940fe18886c894a2069865966cc865fc55ff67b0b46 kcoreaddons-5.47.0.tar.xz -sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB diff --git a/buildroot-2021.05/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk b/buildroot-2021.05/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk deleted file mode 100644 index 76be8876..00000000 --- a/buildroot-2021.05/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# kf5-kcoreaddons -# -################################################################################ - -KF5_KCOREADDONS_VERSION = $(KF5_VERSION) -KF5_KCOREADDONS_SITE = $(KF5_SITE) -KF5_KCOREADDONS_SOURCE = kcoreaddons-$(KF5_KCOREADDONS_VERSION).tar.xz -KF5_KCOREADDONS_LICENSE = LGPL-2.1 -KF5_KCOREADDONS_LICENSE_FILES = COPYING.LIB - -KF5_KCOREADDONS_DEPENDENCIES = kf5-extra-cmake-modules qt5tools -KF5_KCOREADDONS_INSTALL_STAGING = YES - -KF5_KCOREADDONS_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -KF5_KCOREADDONS_CXXFLAGS += -latomic -endif - -KF5_KCOREADDONS_CONF_OPTS = -DCMAKE_CXX_FLAGS="$(KF5_KCOREADDONS_CXXFLAGS)" - -ifeq ($(BR2_microblaze),y) -# Microblaze ld emits warnings, make warnings not to be treated as errors -KF5_KCOREADDONS_CONF_OPTS += -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-fatal-warnings" -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash b/buildroot-2021.05/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash deleted file mode 100644 index 408eb0c0..00000000 --- a/buildroot-2021.05/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 8b6ab15ce82b7a30b26814178ac33380056ec4398707481aa5ce95cf09d39d03 modemmanager-qt-5.47.0.tar.xz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk b/buildroot-2021.05/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk deleted file mode 100644 index 81617492..00000000 --- a/buildroot-2021.05/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# kf5-modemmanager-qt -# -################################################################################ - -KF5_MODEMMANAGER_QT_VERSION = $(KF5_VERSION) -KF5_MODEMMANAGER_QT_SITE = $(KF5_SITE) -KF5_MODEMMANAGER_QT_SOURCE = modemmanager-qt-$(KF5_MODEMMANAGER_QT_VERSION).tar.xz -KF5_MODEMMANAGER_QT_LICENSE = LGPL-2.1+ -KF5_MODEMMANAGER_QT_LICENSE_FILES = COPYING.LIB - -KF5_MODEMMANAGER_QT_DEPENDENCIES = kf5-extra-cmake-modules modem-manager qt5base -KF5_MODEMMANAGER_QT_INSTALL_STAGING = YES - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -KF5_MODEMMANAGER_QT_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.hash b/buildroot-2021.05/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.hash deleted file mode 100644 index 8ccada45..00000000 --- a/buildroot-2021.05/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 d0b377500ee4cf4f029f4d04d6844bcf3d2d6734982b511a5fffab5165688209 networkmanager-qt-5.47.0.tar.xz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.mk b/buildroot-2021.05/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.mk deleted file mode 100644 index c383f98e..00000000 --- a/buildroot-2021.05/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# kf5-networkmanager-qt -# -################################################################################ - -KF5_NETWORKMANAGER_QT_VERSION = $(KF5_VERSION) -KF5_NETWORKMANAGER_QT_SITE = $(KF5_SITE) -KF5_NETWORKMANAGER_QT_SOURCE = networkmanager-qt-$(KF5_NETWORKMANAGER_QT_VERSION).tar.xz -KF5_NETWORKMANAGER_QT_LICENSE = LGPL-2.1+ -KF5_NETWORKMANAGER_QT_LICENSE_FILES = COPYING.LIB - -KF5_NETWORKMANAGER_QT_DEPENDENCIES = kf5-extra-cmake-modules network-manager qt5base -KF5_NETWORKMANAGER_QT_INSTALL_STAGING = YES - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kf5/kf5.mk b/buildroot-2021.05/package/kf5/kf5.mk deleted file mode 100644 index 8360fc9b..00000000 --- a/buildroot-2021.05/package/kf5/kf5.mk +++ /dev/null @@ -1,11 +0,0 @@ -################################################################################ -# -# kf5 -# -################################################################################ - -KF5_VERSION_MAJOR = 5.47 -KF5_VERSION = $(KF5_VERSION_MAJOR).0 -KF5_SITE = https://download.kde.org/stable/frameworks/$(KF5_VERSION_MAJOR) - -include $(sort $(wildcard package/kf5/*/*.mk)) diff --git a/buildroot-2021.05/package/kismet/0001-Add-getter-to-read-database-values-as-long-long.patch b/buildroot-2021.05/package/kismet/0001-Add-getter-to-read-database-values-as-long-long.patch deleted file mode 100644 index 564cba87..00000000 --- a/buildroot-2021.05/package/kismet/0001-Add-getter-to-read-database-values-as-long-long.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 1d36faad18e34b43ac8ea3e7f6a44315f827a2db Mon Sep 17 00:00:00 2001 -From: George Hopkins -Date: Mon, 4 Jan 2021 13:59:41 +0100 -Subject: [PATCH] Add getter to read database values as long long - -[Retrieved from: -https://github.com/kismetwireless/kismet/commit/1d36faad18e34b43ac8ea3e7f6a44315f827a2db] -Signed-off-by: Fabrice Fontaine ---- - sqlite3_cpp11.cc | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/sqlite3_cpp11.cc b/sqlite3_cpp11.cc -index 7974bde8c..5c92dfa87 100644 ---- a/sqlite3_cpp11.cc -+++ b/sqlite3_cpp11.cc -@@ -411,6 +411,11 @@ namespace kissqlite3 { - return (unsigned long) sqlite3_column_int64(stmt.get(), column); - } - -+ template<> -+ long long sqlite3_column_as(std::shared_ptr stmt, unsigned int column) { -+ return (long long) sqlite3_column_int64(stmt.get(), column); -+ } -+ - template<> - unsigned long long sqlite3_column_as(std::shared_ptr stmt, unsigned int column) { - return (unsigned long long) sqlite3_column_int64(stmt.get(), column); diff --git a/buildroot-2021.05/package/kismet/0002-boost-asio-Use-eventfd-function-with-uClibc.patch b/buildroot-2021.05/package/kismet/0002-boost-asio-Use-eventfd-function-with-uClibc.patch deleted file mode 100644 index eb5fb2ec..00000000 --- a/buildroot-2021.05/package/kismet/0002-boost-asio-Use-eventfd-function-with-uClibc.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 9330d34ced1d7d0e56d579bb55a9ed1286d324f0 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 4 Mar 2021 13:36:52 +0100 -Subject: [PATCH] boost/asio: Use eventfd() function with uClibc - -Fix build with uclibc thanks to -https://github.com/boostorg/asio/commit/b2ee39aee0b186c5bcabb051b7a536ab1517616a - -Fixes: - - http://autobuild.buildroot.org/results/1c2885d75219aabadbb66ab66fe0dc4b4346ff1e - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/kismetwireless/kismet/commit/9330d34ced1d7d0e56d579bb55a9ed1286d324f0] ---- - .../asio/detail/impl/eventfd_select_interrupter.ipp | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/boost/asio/detail/impl/eventfd_select_interrupter.ipp b/boost/asio/detail/impl/eventfd_select_interrupter.ipp -index 38d4b2a6..8bdb3c20 100644 ---- a/boost/asio/detail/impl/eventfd_select_interrupter.ipp -+++ b/boost/asio/detail/impl/eventfd_select_interrupter.ipp -@@ -23,11 +23,11 @@ - #include - #include - #include --#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 -+#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 && !defined(__UCLIBC__) - # include --#else // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 -+#else // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 && !defined(__UCLIBC__) - # include --#endif // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 -+#endif // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 && !defined(__UCLIBC__) - #include - #include - #include -@@ -46,14 +46,14 @@ eventfd_select_interrupter::eventfd_select_interrupter() - - void eventfd_select_interrupter::open_descriptors() - { --#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 -+#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 && !defined(__UCLIBC__) - write_descriptor_ = read_descriptor_ = syscall(__NR_eventfd, 0); - if (read_descriptor_ != -1) - { - ::fcntl(read_descriptor_, F_SETFL, O_NONBLOCK); - ::fcntl(read_descriptor_, F_SETFD, FD_CLOEXEC); - } --#else // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 -+#else // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 && !defined(__UCLIBC__) - # if defined(EFD_CLOEXEC) && defined(EFD_NONBLOCK) - write_descriptor_ = read_descriptor_ = - ::eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK); -@@ -70,7 +70,7 @@ void eventfd_select_interrupter::open_descriptors() - ::fcntl(read_descriptor_, F_SETFD, FD_CLOEXEC); - } - } --#endif // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 -+#endif // __GLIBC__ == 2 && __GLIBC_MINOR__ < 8 && !defined(__UCLIBC__) - - if (read_descriptor_ == -1) - { --- -2.30.0 - diff --git a/buildroot-2021.05/package/kismet/Config.in b/buildroot-2021.05/package/kismet/Config.in deleted file mode 100644 index d9f8ebe0..00000000 --- a/buildroot-2021.05/package/kismet/Config.in +++ /dev/null @@ -1,76 +0,0 @@ -comment "kismet needs a toolchain w/ threads, C++" - depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - -config BR2_PACKAGE_KISMET - bool "kismet" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c - select BR2_PACKAGE_LIBPCAP - select BR2_PACKAGE_PROTOBUF_C - select BR2_PACKAGE_SQLITE - select BR2_PACKAGE_ZLIB - help - Kismet is a wireless network and device detector, sniffer, - wardriving tool, and WIDS (wireless intrusion detection) - framework. - - Kismet works with Wi-Fi interfaces, Bluetooth interfaces, some - SDR (software defined radio) hardware like the RTLSDR, and - other specialized capture hardware. - - http://www.kismetwireless.net - -if BR2_PACKAGE_KISMET - -config BR2_PACKAGE_KISMET_PYTHON_TOOLS - bool "Install python tools" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_STATIC_LIBS # protobuf - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf - depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy - select BR2_PACKAGE_PROTOBUF - select BR2_PACKAGE_PYTHON_NUMPY # runtime for RTLAMR and RTLADSB - select BR2_PACKAGE_PYTHON_PROTOBUF # runtime - select BR2_PACKAGE_PYTHON_SERIAL # runtime for Freaklabs Zigbee - select BR2_PACKAGE_PYTHON_SETUPTOOLS - help - Enable Python and Python-related tools (RTL_433, RTLAMR, - RTLADSB and Freaklabs Zigbee) - -comment "python tools needs python3" - depends on !BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - -comment "python tools needs a glibc or musl toolchain w/ dynamic library, gcc >= 4.8" - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) - -config BR2_PACKAGE_KISMET_SERVER - bool "Install server" - default y - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf - depends on !BR2_STATIC_LIBS # dlfcn.h - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future - select BR2_PACKAGE_PROTOBUF - -comment "server needs a toolchain w/ dynamic library, wchar, gcc >= 4.8" - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -comment "server needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -endif diff --git a/buildroot-2021.05/package/kismet/kismet.hash b/buildroot-2021.05/package/kismet/kismet.hash deleted file mode 100644 index 2b0baa10..00000000 --- a/buildroot-2021.05/package/kismet/kismet.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 52a8eddd560688693552bcd8ff033f662a1a57b47650d6434c5e2c6d83e2bb33 kismet-2020-12-R3.tar.xz -sha256 93c7f0d7e356b0abfb6f494ff3ea37f96abc84e9a5619b25d4e43f7553a55739 LICENSE diff --git a/buildroot-2021.05/package/kismet/kismet.mk b/buildroot-2021.05/package/kismet/kismet.mk deleted file mode 100644 index 3a171af7..00000000 --- a/buildroot-2021.05/package/kismet/kismet.mk +++ /dev/null @@ -1,97 +0,0 @@ -################################################################################ -# -# kismet -# -################################################################################ - -KISMET_VERSION = 2020-12-R3 -KISMET_SOURCE = kismet-$(KISMET_VERSION).tar.xz -KISMET_SITE = http://www.kismetwireless.net/code -KISMET_DEPENDENCIES = \ - host-pkgconf \ - libpcap \ - $(if $(BR2_PACKAGE_LIBNL),libnl) \ - $(if $(BR2_PACKAGE_PROTOBUF),protobuf) \ - protobuf-c \ - sqlite \ - zlib -KISMET_LICENSE = GPL-2.0+ -KISMET_LICENSE_FILES = LICENSE -KISMET_SELINUX_MODULES = kismet -# Needed because tarball configure has not been rebuilt after -# https://github.com/kismetwireless/kismet/commit/e70968bcbca86dd448d619c40cdeaae8b7dcee98 -KISMET_AUTORECONF = YES - -KISMET_CONF_OPTS = --disable-debuglibs - -KISMET_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -KISMET_CXXFLAGS += -O0 -endif - -KISMET_CONF_ENV += CXXFLAGS="$(KISMET_CXXFLAGS)" - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -KISMET_CONF_ENV += LIBS=-latomic -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -KISMET_DEPENDENCIES += libcap -KISMET_CONF_OPTS += --enable-libcap -else -KISMET_CONF_OPTS += --disable-libcap -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -KISMET_DEPENDENCIES += libusb -KISMET_CONF_OPTS += --enable-libusb -else -KISMET_CONF_OPTS += --disable-libusb -endif - -ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) -KISMET_DEPENDENCIES += libwebsockets -KISMET_CONF_OPTS += --enable-libwebsockets -else -KISMET_CONF_OPTS += --disable-libwebsockets -endif - -ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -KISMET_DEPENDENCIES += lm-sensors -KISMET_CONF_OPTS += --enable-lmsensors -else -KISMET_CONF_OPTS += --disable-lmsensors -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -KISMET_DEPENDENCIES += pcre -KISMET_CONF_OPTS += --enable-pcre -else -KISMET_CONF_OPTS += --disable-pcre -endif - -ifeq ($(BR2_PACKAGE_KISMET_PYTHON_TOOLS),y) -KISMET_DEPENDENCIES += python3 python-setuptools -KISMET_CONF_OPTS += \ - --enable-python-tools \ - --with-python-interpreter=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) -else -KISMET_CONF_OPTS += --disable-python-tools -endif - -KISMET_INSTALL_TARGET_OPTS += \ - DESTDIR=$(TARGET_DIR) \ - INSTUSR=$(shell id -u) \ - INSTGRP=$(shell id -g) \ - SUIDGROUP=$(shell id -g) - -ifeq ($(BR2_PACKAGE_KISMET_SERVER),y) -KISMET_CONF_OPTS += --disable-capture-tools-only -KISMET_INSTALL_TARGET_OPTS += install -else -KISMET_CONF_OPTS += --enable-capture-tools-only -KISMET_INSTALL_TARGET_OPTS += binsuidinstall -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/kmod/kmod.hash b/buildroot-2021.05/package/kmod/kmod.hash deleted file mode 100644 index f0bd436d..00000000 --- a/buildroot-2021.05/package/kmod/kmod.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://www.kernel.org/pub/linux/utils/kernel/kmod/sha256sums.asc -sha256 3969fc0f13daa98084256337081c442f8749310089e48aa695c9b4dfe1b3a26c kmod-28.tar.xz - -# Locally calculated -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 libkmod/COPYING -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2021.05/package/kmod/kmod.mk b/buildroot-2021.05/package/kmod/kmod.mk deleted file mode 100644 index 7c5d200b..00000000 --- a/buildroot-2021.05/package/kmod/kmod.mk +++ /dev/null @@ -1,125 +0,0 @@ -################################################################################ -# -# kmod -# -################################################################################ - -KMOD_VERSION = 28 -KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz -KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod -KMOD_INSTALL_STAGING = YES -KMOD_DEPENDENCIES = host-pkgconf -HOST_KMOD_DEPENDENCIES = host-pkgconf - -# license info for libkmod only, conditionally add more below -KMOD_LICENSE = LGPL-2.1+ (library) -KMOD_LICENSE_FILES = libkmod/COPYING - -KMOD_CPE_ID_VENDOR = kernel - -# --gc-sections triggers binutils ld segfault -# https://sourceware.org/bugzilla/show_bug.cgi?id=21180 -ifeq ($(BR2_microblaze),y) -KMOD_CONF_ENV += cc_cv_LDFLAGS__Wl___gc_sections=false -endif - -# static linking not supported, see -# https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8 -KMOD_CONF_OPTS = --disable-static --enable-shared - -KMOD_CONF_OPTS += --disable-manpages -HOST_KMOD_CONF_OPTS = --disable-manpages - -ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) -KMOD_CONF_OPTS += --with-bashcompletiondir=/usr/share/bash-completion/completions -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -KMOD_DEPENDENCIES += zlib -KMOD_CONF_OPTS += --with-zlib -else -KMOD_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -KMOD_DEPENDENCIES += zstd -KMOD_CONF_OPTS += --with-zstd -else -KMOD_CONF_OPTS += --without-zstd -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -KMOD_DEPENDENCIES += xz -KMOD_CONF_OPTS += --with-xz -else -KMOD_CONF_OPTS += --without-xz -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -KMOD_DEPENDENCIES += openssl -KMOD_CONF_OPTS += --with-openssl -else -KMOD_CONF_OPTS += --without-openssl -endif - -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -KMOD_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) -KMOD_CONF_OPTS += --enable-python -endif - -ifeq ($(BR2_PACKAGE_KMOD_TOOLS),y) - -# add license info for kmod tools -KMOD_LICENSE += , GPL-2.0+ (tools) -KMOD_LICENSE_FILES += COPYING - -# /sbin is really /usr/sbin with merged /usr, so adjust relative symlink -ifeq ($(BR2_ROOTFS_MERGED_USR),y) -KMOD_BIN_PATH = ../bin/kmod -else -KMOD_BIN_PATH = ../usr/bin/kmod -endif - -define KMOD_INSTALL_TOOLS - for i in depmod insmod lsmod modinfo modprobe rmmod; do \ - ln -sf $(KMOD_BIN_PATH) $(TARGET_DIR)/sbin/$$i; \ - done -endef - -KMOD_POST_INSTALL_TARGET_HOOKS += KMOD_INSTALL_TOOLS -else -KMOD_CONF_OPTS += --disable-tools -endif - -ifeq ($(BR2_PACKAGE_HOST_KMOD_GZ),y) -HOST_KMOD_DEPENDENCIES += host-zlib -HOST_KMOD_CONF_OPTS += --with-zlib -else -HOST_KMOD_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_HOST_KMOD_ZSTD),y) -HOST_KMOD_DEPENDENCIES += host-zstd -HOST_KMOD_CONF_OPTS += --with-zstd -else -HOST_KMOD_CONF_OPTS += --without-zstd -endif - -ifeq ($(BR2_PACKAGE_HOST_KMOD_XZ),y) -HOST_KMOD_DEPENDENCIES += host-xz -HOST_KMOD_CONF_OPTS += --with-xz -else -HOST_KMOD_CONF_OPTS += --without-xz -endif - -# We only install depmod, since that's the only tool used for the -# host. -define HOST_KMOD_INSTALL_TOOLS - mkdir -p $(HOST_DIR)/sbin/ - ln -sf ../bin/kmod $(HOST_DIR)/sbin/depmod -endef - -HOST_KMOD_POST_INSTALL_HOOKS += HOST_KMOD_INSTALL_TOOLS - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/kmscube/Config.in b/buildroot-2021.05/package/kmscube/Config.in deleted file mode 100644 index b6ad305b..00000000 --- a/buildroot-2021.05/package/kmscube/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_KMSCUBE - bool "kmscube" - # requires libgbm from mesa3d - depends on BR2_PACKAGE_MESA3D_OPENGL_EGL - depends on BR2_PACKAGE_MESA3D_OPENGL_ES - help - kmscube is an application to test kms/drm drivers. - - https://gitlab.freedesktop.org/mesa/kmscube diff --git a/buildroot-2021.05/package/kmscube/kmscube.mk b/buildroot-2021.05/package/kmscube/kmscube.mk deleted file mode 100644 index 7b458376..00000000 --- a/buildroot-2021.05/package/kmscube/kmscube.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kmscube -# -################################################################################ - -KMSCUBE_VERSION = 4660a7dca6512b6e658759d00cff7d4ad2a2059d -KMSCUBE_SITE = https://gitlab.freedesktop.org/mesa/kmscube/-/archive/$(KMSCUBE_VERSION) -KMSCUBE_LICENSE = MIT -KMSCUBE_LICENSE_FILES = COPYING -KMSCUBE_DEPENDENCIES = host-pkgconf mesa3d libdrm - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/kmsxx/0001-meson-add-use-system-fmt-option.patch b/buildroot-2021.05/package/kmsxx/0001-meson-add-use-system-fmt-option.patch deleted file mode 100644 index e9d67b12..00000000 --- a/buildroot-2021.05/package/kmsxx/0001-meson-add-use-system-fmt-option.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 61db7d5520f50564da8f2c9ac952eadb31f70727 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Sun, 29 Nov 2020 11:13:41 +0100 -Subject: [PATCH] meson: add use-system-fmt option - -[Upstream: https://github.com/tomba/kmsxx/pull/60] -Signed-off-by: Peter Seiderer ---- - meson.build | 10 +++++++--- - meson_options.txt | 2 ++ - 2 files changed, 9 insertions(+), 3 deletions(-) - -diff --git a/meson.build b/meson.build -index 9652009..29080f4 100644 ---- a/meson.build -+++ b/meson.build -@@ -31,9 +31,13 @@ endif - - add_global_link_arguments(link_arguments, language : 'cpp') - --libfmt_includes = include_directories('ext/fmt/include') --libfmt_dep = declare_dependency(include_directories : libfmt_includes, -- compile_args : '-DFMT_HEADER_ONLY') -+if get_option('use-system-fmt') -+ libfmt_dep = dependency('fmt') -+else -+ libfmt_includes = include_directories('ext/fmt/include') -+ libfmt_dep = declare_dependency(include_directories : libfmt_includes, -+ compile_args : '-DFMT_HEADER_ONLY') -+endif - - pybind11_includes = include_directories('ext/pybind11/include') - pybind11_dep = declare_dependency(include_directories : pybind11_includes) -diff --git a/meson_options.txt b/meson_options.txt -index cd854ab..48176a8 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -3,3 +3,5 @@ option('pykms', type : 'feature', value : 'auto') - option('omap', type : 'feature', value : 'auto') - option('static-libc', type : 'boolean', value : false) - option('utils', type : 'boolean', value : true) -+ -+option('use-system-fmt', type : 'boolean', value : false) --- -2.29.2 - diff --git a/buildroot-2021.05/package/kmsxx/0002-meson-add-use-system-pybind11-option.patch b/buildroot-2021.05/package/kmsxx/0002-meson-add-use-system-pybind11-option.patch deleted file mode 100644 index be58b65b..00000000 --- a/buildroot-2021.05/package/kmsxx/0002-meson-add-use-system-pybind11-option.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 27f15549ce67194e4152c57db2b762b7a443b4c7 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Sun, 29 Nov 2020 11:14:41 +0100 -Subject: [PATCH] meson: add use-system-pybind11 option - -[Upstream: https://github.com/tomba/kmsxx/pull/60] -Signed-off-by: Peter Seiderer ---- - meson.build | 8 ++++++-- - meson_options.txt | 1 + - 2 files changed, 7 insertions(+), 2 deletions(-) - -diff --git a/meson.build b/meson.build -index 29080f4..4b3e7c3 100644 ---- a/meson.build -+++ b/meson.build -@@ -39,8 +39,12 @@ else - compile_args : '-DFMT_HEADER_ONLY') - endif - --pybind11_includes = include_directories('ext/pybind11/include') --pybind11_dep = declare_dependency(include_directories : pybind11_includes) -+if get_option('use-system-pybind11') -+ pybind11_dep = dependency('pybind11') -+else -+ pybind11_includes = include_directories('ext/pybind11/include') -+ pybind11_dep = declare_dependency(include_directories : pybind11_includes) -+endif - - libdrmomap_dep = dependency('libdrm_omap', required : get_option('omap')) - -diff --git a/meson_options.txt b/meson_options.txt -index 48176a8..095c6f2 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -5,3 +5,4 @@ option('static-libc', type : 'boolean', value : false) - option('utils', type : 'boolean', value : true) - - option('use-system-fmt', type : 'boolean', value : false) -+option('use-system-pybind11', type : 'boolean', value : false) --- -2.29.2 - diff --git a/buildroot-2021.05/package/kmsxx/0003-meson-only-build-py-in-case-pykms-is-enabled.patch b/buildroot-2021.05/package/kmsxx/0003-meson-only-build-py-in-case-pykms-is-enabled.patch deleted file mode 100644 index a9085213..00000000 --- a/buildroot-2021.05/package/kmsxx/0003-meson-only-build-py-in-case-pykms-is-enabled.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 0ef36b2e22c2ac0331b3096b7adc69fb08044048 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Sun, 29 Nov 2020 11:37:26 +0100 -Subject: [PATCH] meson: only build py in case pykms is enabled - -[Upstream: https://github.com/tomba/kmsxx/pull/60] -Signed-off-by: Peter Seiderer ---- - meson.build | 16 ++++++++++------ - 1 file changed, 10 insertions(+), 6 deletions(-) - -diff --git a/meson.build b/meson.build -index 4b3e7c3..1810b17 100644 ---- a/meson.build -+++ b/meson.build -@@ -39,11 +39,13 @@ else - compile_args : '-DFMT_HEADER_ONLY') - endif - --if get_option('use-system-pybind11') -- pybind11_dep = dependency('pybind11') --else -- pybind11_includes = include_directories('ext/pybind11/include') -- pybind11_dep = declare_dependency(include_directories : pybind11_includes) -+if get_option('pykms').enabled() -+ if get_option('use-system-pybind11') -+ pybind11_dep = dependency('pybind11') -+ else -+ pybind11_includes = include_directories('ext/pybind11/include') -+ pybind11_dep = declare_dependency(include_directories : pybind11_includes) -+ endif - endif - - libdrmomap_dep = dependency('libdrm_omap', required : get_option('omap')) -@@ -55,7 +57,9 @@ if get_option('utils') - subdir('utils') - endif - --subdir('py') -+if get_option('pykms').enabled() -+ subdir('py') -+endif - - if get_option('kmscube') - subdir('kmscube') --- -2.29.2 - diff --git a/buildroot-2021.05/package/kmsxx/kmsxx.hash b/buildroot-2021.05/package/kmsxx/kmsxx.hash deleted file mode 100644 index 1eeb1e6a..00000000 --- a/buildroot-2021.05/package/kmsxx/kmsxx.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 4a682328b03c28ff1f6cfcafc48d30c3feb5ef98ed07e5dd3bbd9e6a1d4a47cc kmsxx-548905611c130ea9d31929a0caf7a198d8bac462.tar.gz -sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 LICENSE diff --git a/buildroot-2021.05/package/kmsxx/kmsxx.mk b/buildroot-2021.05/package/kmsxx/kmsxx.mk deleted file mode 100644 index fd40ff8e..00000000 --- a/buildroot-2021.05/package/kmsxx/kmsxx.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# kmsxx -# -################################################################################ - -KMSXX_VERSION = 548905611c130ea9d31929a0caf7a198d8bac462 -KMSXX_SITE = $(call github,tomba,kmsxx,$(KMSXX_VERSION)) -KMSXX_LICENSE = MPL-2.0 -KMSXX_LICENSE_FILES = LICENSE -KMSXX_INSTALL_STAGING = YES -KMSXX_DEPENDENCIES = fmt libdrm host-pkgconf -KMSXX_CONF_OPTS = \ - -Dkmscube=false \ - -Dpykms=disabled \ - -Domap=disabled \ - -Duse-system-fmt=true \ - -Duse-system-pybind11=true - -ifeq ($(BR2_STATIC_LIBS),y) -KMSXX_CONF_OPTS += -Dstatic-libc=true -else -KMSXX_CONF_OPTS += -Dstatic-libc=false -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -KMSXX_CXXFLAGS += $(TARGET_CXXFLAGS) -O0 -endif - -ifeq ($(BR2_PACKAGE_KMSXX_INSTALL_TESTS),y) -KMSXX_CONF_OPTS += -Dutils=true -# extra handling for some utils not installed by default -KMSXX_EXTRA_UTILS = kmsview kmscapture omap-wbcap omap-wbm2m -ifeq ($(BR2_PACKAGE_LIBEVDEV),y) -KMSXX_DEPENDENCIES += libevdev -KMSXX_EXTRA_UTILS += kmstouch -endif -define KMSXX_INSTALL_EXTRA_UTILS - $(foreach t,$(KMSXX_EXTRA_UTILS),\ - $(INSTALL) -D -m 0755 $(@D)/build/utils/$(t) \ - $(TARGET_DIR)/usr/bin/$(t) - ) -endef -KMSXX_POST_INSTALL_TARGET_HOOKS += KMSXX_INSTALL_EXTRA_UTILS -else -KMSXX_CONF_OPTS += -Dutils=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/knock/Config.in b/buildroot-2021.05/package/knock/Config.in deleted file mode 100644 index 0060ad07..00000000 --- a/buildroot-2021.05/package/knock/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_KNOCK - bool "knock" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LIBPCAP - help - A port knocking implementation. - Provides a daemon and a user application. Port knocking can be - used to run an arbitrary application, once the daemon detects - a predefined sequence of incoming TCP/UDP packets on a network - interface. This can be used, e.g. to open up ports in a - firewall. - - http://www.zeroflux.org/projects/knock diff --git a/buildroot-2021.05/package/knock/knock.hash b/buildroot-2021.05/package/knock/knock.hash deleted file mode 100644 index 0b9a0918..00000000 --- a/buildroot-2021.05/package/knock/knock.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed hash -sha256 940a8de61b4b3530560805c3b9310a077c28c99173c2ccb07ff96720b0e93c58 knock-258a27e5a47809f97c2b9f2751a88c2f94aae891.tar.gz -sha256 d747e19206e41702e40822dd91d37cbf40edd86f364ea416d667a0e3013f7189 COPYING diff --git a/buildroot-2021.05/package/knock/knock.mk b/buildroot-2021.05/package/knock/knock.mk deleted file mode 100644 index 55f5bfdf..00000000 --- a/buildroot-2021.05/package/knock/knock.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# knock -# -################################################################################ - -KNOCK_VERSION = 258a27e5a47809f97c2b9f2751a88c2f94aae891 -KNOCK_SITE = $(call github,jvinet,knock,$(KNOCK_VERSION)) -KNOCK_AUTORECONF = YES -KNOCK_LICENSE = GPL-2.0+ -KNOCK_LICENSE_FILES = COPYING -KNOCK_DEPENDENCIES = libpcap - -ifeq ($(BR2_STATIC_LIBS),y) -KNOCK_CONF_OPTS = LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash b/buildroot-2021.05/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash deleted file mode 100644 index fcb58848..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 629a9f83a2663ab8f2ea1ae747782d1ce6df870f42d6d9b84c858bc9b607ae9c kodi-audiodecoder-modplug-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk b/buildroot-2021.05/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk deleted file mode 100644 index e4bee48f..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audiodecoder-modplug -# -################################################################################ - -KODI_AUDIODECODER_MODPLUG_VERSION = 3.0.0-Matrix -KODI_AUDIODECODER_MODPLUG_SITE = $(call github,xbmc,audiodecoder.modplug,$(KODI_AUDIODECODER_MODPLUG_VERSION)) -KODI_AUDIODECODER_MODPLUG_LICENSE = GPL-2.0+ -KODI_AUDIODECODER_MODPLUG_LICENSE_FILES = LICENSE.md -KODI_AUDIODECODER_MODPLUG_DEPENDENCIES = kodi libmodplug - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash b/buildroot-2021.05/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash deleted file mode 100644 index 9f929d9f..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 a4be5f6efc46841c9b1689c91b06f69cd695220b583e62ed2948768fa93d09a2 kodi-audiodecoder-nosefart-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk b/buildroot-2021.05/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk deleted file mode 100644 index 377f6b7e..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audiodecoder-nosefart -# -################################################################################ - -KODI_AUDIODECODER_NOSEFART_VERSION = 3.0.0-Matrix -KODI_AUDIODECODER_NOSEFART_SITE = $(call github,xbmc,audiodecoder.nosefart,$(KODI_AUDIODECODER_NOSEFART_VERSION)) -KODI_AUDIODECODER_NOSEFART_LICENSE = GPL-2.0+ -KODI_AUDIODECODER_NOSEFART_LICENSE_FILES = LICENSE.md -KODI_AUDIODECODER_NOSEFART_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash b/buildroot-2021.05/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash deleted file mode 100644 index cb66e0a0..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 4919d71e76889df1c1e3c5abe60641cc266afdbbcf3976a5509ae3fda142d2c4 kodi-audiodecoder-sidplay-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk b/buildroot-2021.05/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk deleted file mode 100644 index d0ab9841..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audiodecoder-sidplay -# -################################################################################ - -KODI_AUDIODECODER_SIDPLAY_VERSION = 3.0.0-Matrix -KODI_AUDIODECODER_SIDPLAY_SITE = $(call github,xbmc,audiodecoder.sidplay,$(KODI_AUDIODECODER_SIDPLAY_VERSION)) -KODI_AUDIODECODER_SIDPLAY_LICENSE = GPL-2.0+ -KODI_AUDIODECODER_SIDPLAY_LICENSE_FILES = LICENSE.md -KODI_AUDIODECODER_SIDPLAY_DEPENDENCIES = host-pkgconf kodi libsidplay2 - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash b/buildroot-2021.05/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash deleted file mode 100644 index b82c5b36..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 3537b735acfbbacaada2aa1d2035acbc698f37cc7626375f408e967ca612b2d0 kodi-audiodecoder-snesapu-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk b/buildroot-2021.05/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk deleted file mode 100644 index 7cd2fe58..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audiodecoder-snesapu -# -################################################################################ - -KODI_AUDIODECODER_SNESAPU_VERSION = 3.0.0-Matrix -KODI_AUDIODECODER_SNESAPU_SITE = $(call github,xbmc,audiodecoder.snesapu,$(KODI_AUDIODECODER_SNESAPU_VERSION)) -KODI_AUDIODECODER_SNESAPU_LICENSE = GPL-2.0+ -KODI_AUDIODECODER_SNESAPU_LICENSE_FILES = LICENSE.md -KODI_AUDIODECODER_SNESAPU_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash b/buildroot-2021.05/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash deleted file mode 100644 index ae6a5aa5..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 65b452cd3bdf8b21929084ca0dc238147784defdfb25351c857fa459230e2f3f kodi-audiodecoder-stsound-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk b/buildroot-2021.05/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk deleted file mode 100644 index 6a5bb721..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audiodecoder-stsound -# -################################################################################ - -KODI_AUDIODECODER_STSOUND_VERSION = 3.0.0-Matrix -KODI_AUDIODECODER_STSOUND_SITE = $(call github,xbmc,audiodecoder.stsound,$(KODI_AUDIODECODER_STSOUND_VERSION)) -KODI_AUDIODECODER_STSOUND_LICENSE = GPL-2.0+ -KODI_AUDIODECODER_STSOUND_LICENSE_FILES = LICENSE.md -KODI_AUDIODECODER_STSOUND_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash b/buildroot-2021.05/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash deleted file mode 100644 index dcb83566..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 0e049f25a12d8cfc9965d189de573d87aa3e7e6549e99a7ddcaf9d8cddc111db kodi-audiodecoder-timidity-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk b/buildroot-2021.05/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk deleted file mode 100644 index a79622cf..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audiodecoder-timidity -# -################################################################################ - -KODI_AUDIODECODER_TIMIDITY_VERSION = 3.0.0-Matrix -KODI_AUDIODECODER_TIMIDITY_SITE = $(call github,xbmc,audiodecoder.timidity,$(KODI_AUDIODECODER_TIMIDITY_VERSION)) -KODI_AUDIODECODER_TIMIDITY_LICENSE = GPL-2.0+ -KODI_AUDIODECODER_TIMIDITY_LICENSE_FILES = LICENSE.md -KODI_AUDIODECODER_TIMIDITY_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.hash b/buildroot-2021.05/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.hash deleted file mode 100644 index 02df50cc..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 81f4577c2ec53bfa7ab04d3da374b1cc639ef5f5fe9c2837f9e85916b50d9d5d kodi-audiodecoder-vgmstream-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk b/buildroot-2021.05/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk deleted file mode 100644 index 1c3e96bb..00000000 --- a/buildroot-2021.05/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audiodecoder-vgmstream -# -################################################################################ - -KODI_AUDIODECODER_VGMSTREAM_VERSION = 3.0.0-Matrix -KODI_AUDIODECODER_VGMSTREAM_SITE = $(call github,xbmc,audiodecoder.vgmstream,$(KODI_AUDIODECODER_VGMSTREAM_VERSION)) -KODI_AUDIODECODER_VGMSTREAM_LICENSE = GPL-2.0+ -KODI_AUDIODECODER_VGMSTREAM_LICENSE_FILES = LICENSE.md -KODI_AUDIODECODER_VGMSTREAM_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash b/buildroot-2021.05/package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash deleted file mode 100644 index 162d21e3..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 e9001f1789970178b551f01d9242a897523af4f2d34f70bfd7bbbe598bce2e6c kodi-audioencoder-flac-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk b/buildroot-2021.05/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk deleted file mode 100644 index 3987fa10..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audioencoder-flac -# -################################################################################ - -KODI_AUDIOENCODER_FLAC_VERSION = 3.0.0-Matrix -KODI_AUDIOENCODER_FLAC_SITE = $(call github,xbmc,audioencoder.flac,$(KODI_AUDIOENCODER_FLAC_VERSION)) -KODI_AUDIOENCODER_FLAC_LICENSE = GPL-2.0+ -KODI_AUDIOENCODER_FLAC_LICENSE_FILES = LICENSE.md -KODI_AUDIOENCODER_FLAC_DEPENDENCIES = flac kodi libogg host-pkgconf - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audioencoder-lame/Config.in b/buildroot-2021.05/package/kodi-audioencoder-lame/Config.in deleted file mode 100644 index dc6a0cd7..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-lame/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_KODI_AUDIOENCODER_LAME - bool "kodi-audioencoder-lame" - select BR2_PACKAGE_KODI_OPTICALDRIVE - select BR2_PACKAGE_LAME - help - An audioencoder addon for Kodi - - https://github.com/xbmc/audioencoder.lame diff --git a/buildroot-2021.05/package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash b/buildroot-2021.05/package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash deleted file mode 100644 index 9c12a58e..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 ad47d8c4dffe6690bd1ff32bb5fd44f11b691706ff9a1e5b6152efee92976a75 kodi-audioencoder-lame-3.0.2-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk b/buildroot-2021.05/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk deleted file mode 100644 index 23164738..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# kodi-audioencoder-lame -# -################################################################################ - -KODI_AUDIOENCODER_LAME_VERSION = 3.0.2-Matrix -KODI_AUDIOENCODER_LAME_SITE = $(call github,xbmc,audioencoder.lame,$(KODI_AUDIOENCODER_LAME_VERSION)) -KODI_AUDIOENCODER_LAME_LICENSE = GPL-2.0+ -KODI_AUDIOENCODER_LAME_LICENSE_FILES = LICENSE.md -KODI_AUDIOENCODER_LAME_DEPENDENCIES = kodi lame -KODI_AUDIOENCODER_LAME_CONF_OPTS += \ - -DLAME_INCLUDE_DIRS=$(STAGING_DIR)/usr/include - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash b/buildroot-2021.05/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash deleted file mode 100644 index f415624d..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 ba4e6bf402e31096c1fd791db8db26d0eea575998ae414a74c797e868fd08000 kodi-audioencoder-vorbis-3.0.1-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk b/buildroot-2021.05/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk deleted file mode 100644 index e79dd433..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audioencoder-vorbis -# -################################################################################ - -KODI_AUDIOENCODER_VORBIS_VERSION = 3.0.1-Matrix -KODI_AUDIOENCODER_VORBIS_SITE = $(call github,xbmc,audioencoder.vorbis,$(KODI_AUDIOENCODER_VORBIS_VERSION)) -KODI_AUDIOENCODER_VORBIS_LICENSE = GPL-2.0+ -KODI_AUDIOENCODER_VORBIS_LICENSE_FILES = LICENSE.md -KODI_AUDIOENCODER_VORBIS_DEPENDENCIES = kodi libogg libvorbis host-pkgconf - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash b/buildroot-2021.05/package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash deleted file mode 100644 index 345fd1aa..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 9c4c834717060c5ca643a8f9758c8d784b00382ee6ce20e55ab8f2fe0b5f44dd kodi-audioencoder-wav-3.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk b/buildroot-2021.05/package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk deleted file mode 100644 index b47c2bce..00000000 --- a/buildroot-2021.05/package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-audioencoder-wav -# -################################################################################ - -KODI_AUDIOENCODER_WAV_VERSION = 3.0.0-Matrix -KODI_AUDIOENCODER_WAV_SITE = $(call github,xbmc,audioencoder.wav,$(KODI_AUDIOENCODER_WAV_VERSION)) -KODI_AUDIOENCODER_WAV_LICENSE = GPL-2.0+ -KODI_AUDIOENCODER_WAV_LICENSE_FILES = LICENSE.md -KODI_AUDIOENCODER_WAV_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/buildroot-2021.05/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash deleted file mode 100644 index 2626968f..00000000 --- a/buildroot-2021.05/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 f1756932e8cc602ce66c5db3bc1d44a442c01197c193561ca9248a405bd8bd86 kodi-inputstream-adaptive-2.6.14-Matrix.tar.gz -sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL diff --git a/buildroot-2021.05/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/buildroot-2021.05/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk deleted file mode 100644 index b72241ab..00000000 --- a/buildroot-2021.05/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-inputstream-adaptive -# -################################################################################ - -KODI_INPUTSTREAM_ADAPTIVE_VERSION = 2.6.14-Matrix -KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) -KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPL-2.0+ -KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = LICENSE.GPL -KODI_INPUTSTREAM_ADAPTIVE_DEPENDENCIES = expat kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash b/buildroot-2021.05/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash deleted file mode 100644 index c36994b4..00000000 --- a/buildroot-2021.05/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 f871010d3f62c4f5c1a294c898802a0ef8456e3e9eb96f7cd69be07916981a6b kodi-inputstream-ffmpegdirect-1.21.3-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk b/buildroot-2021.05/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk deleted file mode 100644 index 4e6ec113..00000000 --- a/buildroot-2021.05/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# kodi-inputstream-ffmpegdirect -# -################################################################################ - -KODI_INPUTSTREAM_FFMPEGDIRECT_VERSION = 1.21.3-Matrix -KODI_INPUTSTREAM_FFMPEGDIRECT_SITE = $(call github,xbmc,inputstream.ffmpegdirect,$(KODI_INPUTSTREAM_FFMPEGDIRECT_VERSION)) -KODI_INPUTSTREAM_FFMPEGDIRECT_LICENSE = GPL-2.0+ -KODI_INPUTSTREAM_FFMPEGDIRECT_LICENSE_FILES = LICENSE.md -KODI_INPUTSTREAM_FFMPEGDIRECT_DEPENDENCIES = bzip2 ffmpeg kodi -KODI_INPUTSTREAM_FFMPEGDIRECT_CONF_OPTS = \ - -DFFMPEG_PATH=$(STAGING_DIR)/usr - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash b/buildroot-2021.05/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash deleted file mode 100644 index e645fb14..00000000 --- a/buildroot-2021.05/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 efaaa9b07c18810582a3826df476fc36a2aac82be7512271545073c3f6cc0212 kodi-inputstream-rtmp-3.4.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk b/buildroot-2021.05/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk deleted file mode 100644 index 6029b7d3..00000000 --- a/buildroot-2021.05/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-inputstream-rtmp -# -################################################################################ - -KODI_INPUTSTREAM_RTMP_VERSION = 3.4.0-Matrix -KODI_INPUTSTREAM_RTMP_SITE = $(call github,xbmc,inputstream.rtmp,$(KODI_INPUTSTREAM_RTMP_VERSION)) -KODI_INPUTSTREAM_RTMP_LICENSE = GPL-2.0+ -KODI_INPUTSTREAM_RTMP_LICENSE_FILES = LICENSE.md -KODI_INPUTSTREAM_RTMP_DEPENDENCIES = kodi openssl rtmpdump zlib - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk b/buildroot-2021.05/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk deleted file mode 100644 index d57e9f24..00000000 --- a/buildroot-2021.05/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# kodi-jsonschemabuilder -# -################################################################################ - -# Not possible to directly refer to kodi variables, because of -# first/second expansion trickery... -KODI_JSONSCHEMABUILDER_VERSION = 19.1-Matrix -KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION)) -KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz -KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi -KODI_JSONSCHEMABUILDER_LICENSE = GPL-2.0 -KODI_JSONSCHEMABUILDER_LICENSE_FILES = LICENSE.md -HOST_KODI_JSONSCHEMABUILDER_SUBDIR = tools/depends/native/JsonSchemaBuilder - -HOST_KODI_JSONSCHEMABUILDER_CONF_OPTS = \ - -DCMAKE_MODULE_PATH=$(@D)/project/cmake/modules - -define HOST_KODI_JSONSCHEMABUILDER_INSTALL_CMDS - $(INSTALL) -m 755 -D \ - $(@D)/tools/depends/native/JsonSchemaBuilder/JsonSchemaBuilder \ - $(HOST_DIR)/bin/JsonSchemaBuilder -endef - -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash b/buildroot-2021.05/package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash deleted file mode 100644 index 650cab0f..00000000 --- a/buildroot-2021.05/package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 4dc63c6c5bdad25881eeba800765d97c53b2583addf28e71bbcd67775452ecdb kodi-peripheral-joystick-1.7.1-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk b/buildroot-2021.05/package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk deleted file mode 100644 index 0fdd4851..00000000 --- a/buildroot-2021.05/package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-peripheral-joystick -# -################################################################################ - -KODI_PERIPHERAL_JOYSTICK_VERSION = 1.7.1-Matrix -KODI_PERIPHERAL_JOYSTICK_SITE = $(call github,xbmc,peripheral.joystick,$(KODI_PERIPHERAL_JOYSTICK_VERSION)) -KODI_PERIPHERAL_JOYSTICK_LICENSE = GPL-2.0+ -KODI_PERIPHERAL_JOYSTICK_LICENSE_FILES = LICENSE.md -KODI_PERIPHERAL_JOYSTICK_DEPENDENCIES = kodi tinyxml udev - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash b/buildroot-2021.05/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash deleted file mode 100644 index a971493c..00000000 --- a/buildroot-2021.05/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 6fa8e1d0e6ebb6c385a7aef6e6c7629d2f1f52601ade7839093c1c3abb844894 kodi-peripheral-xarcade-1.2.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk b/buildroot-2021.05/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk deleted file mode 100644 index fe5a9e41..00000000 --- a/buildroot-2021.05/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-peripheral-xarcade -# -################################################################################ - -KODI_PERIPHERAL_XARCADE_VERSION = 1.2.0-Matrix -KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) -KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ -KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md -KODI_PERIPHERAL_XARCADE_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-argustv/kodi-pvr-argustv.hash b/buildroot-2021.05/package/kodi-pvr-argustv/kodi-pvr-argustv.hash deleted file mode 100644 index 3024d8e6..00000000 --- a/buildroot-2021.05/package/kodi-pvr-argustv/kodi-pvr-argustv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 d91f195c4a91af893231d03a887a340900c4e515597ea059ee6b9e6444717fc9 kodi-pvr-argustv-7.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-argustv/kodi-pvr-argustv.mk b/buildroot-2021.05/package/kodi-pvr-argustv/kodi-pvr-argustv.mk deleted file mode 100644 index 2d5d62a5..00000000 --- a/buildroot-2021.05/package/kodi-pvr-argustv/kodi-pvr-argustv.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-argustv -# -################################################################################ - -KODI_PVR_ARGUSTV_VERSION = 7.1.0-Matrix -KODI_PVR_ARGUSTV_SITE = $(call github,kodi-pvr,pvr.argustv,$(KODI_PVR_ARGUSTV_VERSION)) -KODI_PVR_ARGUSTV_LICENSE = GPL-2.0+ -KODI_PVR_ARGUSTV_LICENSE_FILES = LICENSE.md -KODI_PVR_ARGUSTV_DEPENDENCIES = jsoncpp kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash b/buildroot-2021.05/package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash deleted file mode 100644 index ce4a42ac..00000000 --- a/buildroot-2021.05/package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 4b216871a16c7d9d9ab29f2788dfd0abdc828d1a2cb8203e84aee60ded75c9f6 kodi-pvr-dvblink-9.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk b/buildroot-2021.05/package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk deleted file mode 100644 index b691be6f..00000000 --- a/buildroot-2021.05/package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-dvblink -# -################################################################################ - -KODI_PVR_DVBLINK_VERSION = 9.1.0-Matrix -KODI_PVR_DVBLINK_SITE = $(call github,kodi-pvr,pvr.dvblink,$(KODI_PVR_DVBLINK_VERSION)) -KODI_PVR_DVBLINK_LICENSE = GPL-2.0+ -KODI_PVR_DVBLINK_LICENSE_FILES = LICENSE.md -KODI_PVR_DVBLINK_DEPENDENCIES = kodi tinyxml2 - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash b/buildroot-2021.05/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash deleted file mode 100644 index a2aac32b..00000000 --- a/buildroot-2021.05/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 aa81c0a59c00aa13bc1ea3adc078e2910fde42bc86ad3a78ecefc6e4c3d5de59 kodi-pvr-dvbviewer-7.2.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk b/buildroot-2021.05/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk deleted file mode 100644 index cbc12ed9..00000000 --- a/buildroot-2021.05/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-dvbviewer -# -################################################################################ - -KODI_PVR_DVBVIEWER_VERSION = 7.2.0-Matrix -KODI_PVR_DVBVIEWER_SITE = $(call github,kodi-pvr,pvr.dvbviewer,$(KODI_PVR_DVBVIEWER_VERSION)) -KODI_PVR_DVBVIEWER_LICENSE = GPL-2.0+ -KODI_PVR_DVBVIEWER_LICENSE_FILES = LICENSE.md -KODI_PVR_DVBVIEWER_DEPENDENCIES = kodi tinyxml - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-filmon/kodi-pvr-filmon.hash b/buildroot-2021.05/package/kodi-pvr-filmon/kodi-pvr-filmon.hash deleted file mode 100644 index 277adb40..00000000 --- a/buildroot-2021.05/package/kodi-pvr-filmon/kodi-pvr-filmon.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 7c2998bdde04acee5c147cb9f82939cfb13af57e5ecf46a4343dcfee15eb02e2 kodi-pvr-filmon-6.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-filmon/kodi-pvr-filmon.mk b/buildroot-2021.05/package/kodi-pvr-filmon/kodi-pvr-filmon.mk deleted file mode 100644 index 2612f9ae..00000000 --- a/buildroot-2021.05/package/kodi-pvr-filmon/kodi-pvr-filmon.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-filmon -# -################################################################################ - -KODI_PVR_FILMON_VERSION = 6.1.0-Matrix -KODI_PVR_FILMON_SITE = $(call github,kodi-pvr,pvr.filmon,$(KODI_PVR_FILMON_VERSION)) -KODI_PVR_FILMON_LICENSE = GPL-2.0+ -KODI_PVR_FILMON_LICENSE_FILES = LICENSE.md -KODI_PVR_FILMON_DEPENDENCIES = jsoncpp kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.hash b/buildroot-2021.05/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.hash deleted file mode 100644 index c5065028..00000000 --- a/buildroot-2021.05/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 a31587e00d58efb72aadba3ad1bd67c08332feef0d558e0eeb6fda7c81bf93e8 kodi-pvr-hdhomerun-7.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk b/buildroot-2021.05/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk deleted file mode 100644 index 11057612..00000000 --- a/buildroot-2021.05/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-hdhomerun -# -################################################################################ - -KODI_PVR_HDHOMERUN_VERSION = 7.1.0-Matrix -KODI_PVR_HDHOMERUN_SITE = $(call github,kodi-pvr,pvr.hdhomerun,$(KODI_PVR_HDHOMERUN_VERSION)) -KODI_PVR_HDHOMERUN_LICENSE = GPL-2.0+ -KODI_PVR_HDHOMERUN_LICENSE_FILES = LICENSE.md -KODI_PVR_HDHOMERUN_DEPENDENCIES = jsoncpp kodi libhdhomerun - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-hts/kodi-pvr-hts.hash b/buildroot-2021.05/package/kodi-pvr-hts/kodi-pvr-hts.hash deleted file mode 100644 index e22e13df..00000000 --- a/buildroot-2021.05/package/kodi-pvr-hts/kodi-pvr-hts.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 51d27171c55aea8ee3c7573adca3e942b57f34171b1b685501ac8f5dbd3623b7 kodi-pvr-hts-8.3.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-hts/kodi-pvr-hts.mk b/buildroot-2021.05/package/kodi-pvr-hts/kodi-pvr-hts.mk deleted file mode 100644 index dc4dd953..00000000 --- a/buildroot-2021.05/package/kodi-pvr-hts/kodi-pvr-hts.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-hts -# -################################################################################ - -KODI_PVR_HTS_VERSION = 8.3.0-Matrix -KODI_PVR_HTS_SITE = $(call github,kodi-pvr,pvr.hts,$(KODI_PVR_HTS_VERSION)) -KODI_PVR_HTS_LICENSE = GPL-2.0+ -KODI_PVR_HTS_LICENSE_FILES = LICENSE.md -KODI_PVR_HTS_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash b/buildroot-2021.05/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash deleted file mode 100644 index f467c7d4..00000000 --- a/buildroot-2021.05/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 1310806ac4fd8c6e72020042e62bde8c9175e65015c4fddb82312cf32c53bf63 kodi-pvr-iptvsimple-7.6.4-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk b/buildroot-2021.05/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk deleted file mode 100644 index 60e51a03..00000000 --- a/buildroot-2021.05/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-iptvsimple -# -################################################################################ - -KODI_PVR_IPTVSIMPLE_VERSION = 7.6.4-Matrix -KODI_PVR_IPTVSIMPLE_SITE = $(call github,kodi-pvr,pvr.iptvsimple,$(KODI_PVR_IPTVSIMPLE_VERSION)) -KODI_PVR_IPTVSIMPLE_LICENSE = GPL-2.0+ -KODI_PVR_IPTVSIMPLE_LICENSE_FILES = LICENSE.md -KODI_PVR_IPTVSIMPLE_DEPENDENCIES = kodi pugixml xz zlib - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0001-Revert-Removed-no-more-supported-C-17-declaration-ke.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0001-Revert-Removed-no-more-supported-C-17-declaration-ke.patch deleted file mode 100644 index c09bbc14..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0001-Revert-Removed-no-more-supported-C-17-declaration-ke.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 8696d5408d6ec14b1ff4395ed538b7a48528fe68 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Thu, 8 Oct 2020 16:12:18 +0100 -Subject: [PATCH] Revert "Removed no more supported (C++17) declaration keyword - (register)" - -This reverts commit a8edcafe6cc7a424615319995f4f7bdfab3856b1. - -Signed-off-by: Bernd Kuhls ---- - src/lib/tsreader/DvbUtil.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/lib/tsreader/DvbUtil.cpp b/src/lib/tsreader/DvbUtil.cpp -index c973062..8c4798a 100644 ---- a/src/lib/tsreader/DvbUtil.cpp -+++ b/src/lib/tsreader/DvbUtil.cpp -@@ -77,7 +77,7 @@ namespace MPTV - //******************************************************************* - uint32_t crc32(char *data, int len) - { -- int i; -+ register int i; - uint32_t crc = 0xffffffff; - - for (i = 0; i < len; i++) --- -2.29.2 - diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0002-Remove-p8-os-includes.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0002-Remove-p8-os-includes.patch deleted file mode 100644 index b18d1ff8..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0002-Remove-p8-os-includes.patch +++ /dev/null @@ -1,157 +0,0 @@ -From be13de0679d1707eadaf5349ab904a07fa83bb13 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Wed, 7 Oct 2020 17:34:56 +0100 -Subject: [PATCH] Remove p8 os includes - -Signed-off-by: Bernd Kuhls ---- - src/Socket.cpp | 1 - - src/lib/tsreader/FileReader.h | 1 - - src/lib/tsreader/MemorySink.cpp | 1 - - src/lib/tsreader/Section.cpp | 2 ++ - src/os-dependent.h | 40 ++++++++++++++++++--------------- - src/timers.cpp | 1 - - src/windows/FileUtils.cpp | 6 ++++- - 7 files changed, 29 insertions(+), 23 deletions(-) - -diff --git a/src/Socket.cpp b/src/Socket.cpp -index 12f7e80..b7dd250 100644 ---- a/src/Socket.cpp -+++ b/src/Socket.cpp -@@ -7,7 +7,6 @@ - - #include "utils.h" - #include --#include "p8-platform/os.h" - #include "Socket.h" - - #include -diff --git a/src/lib/tsreader/FileReader.h b/src/lib/tsreader/FileReader.h -index 986bbc4..edb01f2 100644 ---- a/src/lib/tsreader/FileReader.h -+++ b/src/lib/tsreader/FileReader.h -@@ -33,7 +33,6 @@ - * http://forums.dvbowners.com/ - */ - --#include "p8-platform/os.h" // for __stat - #include - #include - -diff --git a/src/lib/tsreader/MemorySink.cpp b/src/lib/tsreader/MemorySink.cpp -index 2d60696..dafef56 100644 ---- a/src/lib/tsreader/MemorySink.cpp -+++ b/src/lib/tsreader/MemorySink.cpp -@@ -29,7 +29,6 @@ - - #if defined LIVE555 - --#include "p8-platform/os.h" - #include "MemorySink.h" - #include "GroupsockHelper.hh" - #include //for kodi::Log -diff --git a/src/lib/tsreader/Section.cpp b/src/lib/tsreader/Section.cpp -index 258c6a9..aac6b53 100644 ---- a/src/lib/tsreader/Section.cpp -+++ b/src/lib/tsreader/Section.cpp -@@ -22,6 +22,8 @@ - #include "os-dependent.h" - #include "Section.h" - -+#include -+ - namespace MPTV - { - CSection::CSection(void) -diff --git a/src/os-dependent.h b/src/os-dependent.h -index 1f368ea..cdc6980 100644 ---- a/src/os-dependent.h -+++ b/src/os-dependent.h -@@ -7,29 +7,33 @@ - - #pragma once - --#include "p8-platform/os.h" -+#include - --#ifdef TARGET_LINUX --// Retrieve the number of milliseconds that have elapsed since the system was started --#include --inline unsigned long long GetTickCount64(void) --{ -- struct timespec ts; -- if(clock_gettime(CLOCK_MONOTONIC, &ts) != 0) -- { -- return 0; -- } -- return (unsigned long long)( (ts.tv_sec * 1000) + (ts.tv_nsec / 1000000) ); --}; --#elif defined(TARGET_DARWIN) --#include -+#if (defined(_WIN32) || defined(_WIN64)) -+ -+#ifndef _SSIZE_T_DEFINED -+#ifdef _WIN64 -+typedef __int64 ssize_t; -+#else -+typedef _W64 int ssize_t; -+#endif -+#define _SSIZE_T_DEFINED -+#endif -+ -+#else -+ -+#if (defined(TARGET_LINUX) || defined(TARGET_DARWIN)) -+#include -+#include -+#include - inline unsigned long long GetTickCount64(void) - { -- struct timeval tv; -- gettimeofday(&tv, NULL); -- return (unsigned long long)( (tv.tv_sec * 1000) + (tv.tv_usec / 1000) ); -+ auto now = std::chrono::steady_clock::now(); -+ return std::chrono::duration_cast(now.time_since_epoch()).count(); - }; - #endif /* TARGET_LINUX || TARGET_DARWIN */ - -+#endif -+ - // Additional typedefs - typedef uint8_t byte; -diff --git a/src/timers.cpp b/src/timers.cpp -index a8760e4..a60b4c2 100644 ---- a/src/timers.cpp -+++ b/src/timers.cpp -@@ -11,7 +11,6 @@ - - using namespace std; - --#include "p8-platform/os.h" //needed for snprintf - #include "timers.h" - #include "settings.h" - #include "utils.h" -diff --git a/src/windows/FileUtils.cpp b/src/windows/FileUtils.cpp -index 0d26bc6..0c8a03e 100644 ---- a/src/windows/FileUtils.cpp -+++ b/src/windows/FileUtils.cpp -@@ -6,7 +6,6 @@ - */ - - #include "../FileUtils.h" --#include "p8-platform/os.h" - #include "p8-platform/windows/CharsetConverter.h" - #include - #include "../utils.h" -@@ -14,6 +13,11 @@ - #include - #endif - -+#ifdef TARGET_WINDOWS -+#include -+#include -+#endif -+ - namespace OS - { - bool CFile::Exists(const std::string& strFileName, long* errCode) diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0003-Use-kodi-StringUtils.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0003-Use-kodi-StringUtils.patch deleted file mode 100644 index 597e76af..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0003-Use-kodi-StringUtils.patch +++ /dev/null @@ -1,124 +0,0 @@ -From 621a98436875f8b4ceea18218a23025e0b59aeb3 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Wed, 7 Oct 2020 17:46:14 +0100 -Subject: [PATCH] Use kodi StringUtils - -Signed-off-by: Bernd Kuhls ---- - src/GUIDialogRecordSettings.cpp | 6 +++--- - src/lib/tsreader/TSReader.cpp | 10 +++++----- - src/pvrclient-mediaportal.cpp | 3 ++- - src/utils.cpp | 3 ++- - 4 files changed, 12 insertions(+), 10 deletions(-) - -diff --git a/src/GUIDialogRecordSettings.cpp b/src/GUIDialogRecordSettings.cpp -index cf36d82..8e942d2 100644 ---- a/src/GUIDialogRecordSettings.cpp -+++ b/src/GUIDialogRecordSettings.cpp -@@ -9,9 +9,9 @@ - #include "timers.h" - #include "utils.h" - #include "DateTime.h" --#include "p8-platform/util/StringUtils.h" - - #include -+#include - - /* Dialog item identifiers */ - #define BUTTON_OK 1 -@@ -106,7 +106,7 @@ bool CGUIDialogRecordSettings::OnInit() - - // Populate PreRecord spin control - std::string marginStart; -- marginStart = StringUtils::Format("%d (%s)", m_timerinfo.GetMarginStart(), kodi::GetLocalizedString(30136).c_str()); -+ marginStart = kodi::tools::StringUtils::Format("%d (%s)", m_timerinfo.GetMarginStart(), kodi::GetLocalizedString(30136).c_str()); - m_spinPreRecord->SetType(kodi::gui::controls::ADDON_SPIN_CONTROL_TYPE_TEXT); - m_spinPreRecord->AddLabel(kodi::GetLocalizedString(30135), -1); - m_spinPreRecord->AddLabel(marginStart, m_timerinfo.GetMarginStart()); //value from XBMC -@@ -120,7 +120,7 @@ bool CGUIDialogRecordSettings::OnInit() - - // Populate PostRecord spin control - std::string marginEnd; -- marginEnd = StringUtils::Format("%d (%s)", m_timerinfo.GetMarginEnd(), kodi::GetLocalizedString(30136).c_str()); -+ marginEnd = kodi::tools::StringUtils::Format("%d (%s)", m_timerinfo.GetMarginEnd(), kodi::GetLocalizedString(30136).c_str()); - m_spinPostRecord->SetType(kodi::gui::controls::ADDON_SPIN_CONTROL_TYPE_TEXT); - m_spinPostRecord->AddLabel(kodi::GetLocalizedString(30135), -1); - m_spinPostRecord->AddLabel(marginEnd, m_timerinfo.GetMarginEnd()); //value from XBMC -diff --git a/src/lib/tsreader/TSReader.cpp b/src/lib/tsreader/TSReader.cpp -index 1129c8e..3f9725b 100644 ---- a/src/lib/tsreader/TSReader.cpp -+++ b/src/lib/tsreader/TSReader.cpp -@@ -34,7 +34,7 @@ - #include "utils.h" - #include "TSDebug.h" - #include "p8-platform/util/timeutils.h" --#include "p8-platform/util/StringUtils.h" -+#include - #ifdef LIVE555 - #include "MemoryReader.h" - #include "MepoRTSPClient.h" -@@ -104,7 +104,7 @@ namespace MPTV - { - if (!tscard.TimeshiftFolderUNC.empty()) - { -- StringUtils::Replace(sFileName, tscard.TimeshiftFolder.c_str(), tscard.TimeshiftFolderUNC.c_str()); -+ kodi::tools::StringUtils::Replace(sFileName, tscard.TimeshiftFolder.c_str(), tscard.TimeshiftFolderUNC.c_str()); - bFound = true; - } - else -@@ -129,7 +129,7 @@ namespace MPTV - if (!it->RecordingFolderUNC.empty()) - { - // Remove the original base path and replace it with the given path -- StringUtils::Replace(sFileName, it->RecordingFolder.c_str(), it->RecordingFolderUNC.c_str()); -+ kodi::tools::StringUtils::Replace(sFileName, it->RecordingFolder.c_str(), it->RecordingFolderUNC.c_str()); - bFound = true; - break; - } -@@ -412,8 +412,8 @@ namespace MPTV - if (tmp.find("smb://") != string::npos) - { - // Convert XBMC smb share name back to a real windows network share... -- StringUtils::Replace(tmp, "smb://", "\\\\"); -- StringUtils::Replace(tmp, "/", "\\"); -+ kodi::tools::StringUtils::Replace(tmp, "smb://", "\\\\"); -+ kodi::tools::StringUtils::Replace(tmp, "/", "\\"); - } - #else - //TODO: do something useful... -diff --git a/src/pvrclient-mediaportal.cpp b/src/pvrclient-mediaportal.cpp -index 93ca1bc..fdb31e7 100644 ---- a/src/pvrclient-mediaportal.cpp -+++ b/src/pvrclient-mediaportal.cpp -@@ -11,7 +11,7 @@ - #include - - #include "p8-platform/util/timeutils.h" --#include "p8-platform/util/StringUtils.h" -+#include - - #include "timers.h" - #include "channels.h" -@@ -29,6 +29,7 @@ - #include - #include - -+using namespace kodi::tools; - using namespace std; - using namespace MPTV; - -diff --git a/src/utils.cpp b/src/utils.cpp -index 63c823a..9b8def8 100644 ---- a/src/utils.cpp -+++ b/src/utils.cpp -@@ -13,8 +13,9 @@ - #include "settings.h" - #include - #include --#include "p8-platform/util/StringUtils.h" -+#include - -+using namespace kodi::tools; - using namespace std; - - void Tokenize(const string& str, vector& tokens, const string& delimiters = " ") diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0004-Remove-SAFE_DELETE.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0004-Remove-SAFE_DELETE.patch deleted file mode 100644 index 98667913..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0004-Remove-SAFE_DELETE.patch +++ /dev/null @@ -1,289 +0,0 @@ -From 00d0d90fdac9257ed02e24677ba4f008f2486c94 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Wed, 7 Oct 2020 18:00:57 +0100 -Subject: [PATCH] Remove SAFE_DELETE - -Signed-off-by: Bernd Kuhls ---- - src/lib/tsreader/FileReader.cpp | 9 ++++++++- - src/lib/tsreader/MemoryBuffer.cpp | 22 +++++++++++++--------- - src/lib/tsreader/MultiFileReader.cpp | 11 ++++++++++- - src/lib/tsreader/TSReader.cpp | 25 +++++++++++++++++-------- - src/pvrclient-mediaportal.cpp | 27 ++++++++++++++++++--------- - src/utils.h | 2 -- - 6 files changed, 66 insertions(+), 30 deletions(-) - -diff --git a/src/lib/tsreader/FileReader.cpp b/src/lib/tsreader/FileReader.cpp -index ac8725c..3df22f2 100644 ---- a/src/lib/tsreader/FileReader.cpp -+++ b/src/lib/tsreader/FileReader.cpp -@@ -38,7 +38,6 @@ - #include "p8-platform/threads/threads.h" - #include //std::min, std::max - #include "p8-platform/util/timeutils.h" // for usleep --#include "p8-platform/util/util.h" - #include "utils.h" - #include - -@@ -58,6 +57,14 @@ - /* calcuate bitrate for file while reading */ - #define READ_BITRATE 0x10 - -+template void SafeDelete(T*& p) -+{ -+ if (p) -+ { -+ delete p; -+ p = nullptr; -+ } -+} - namespace MPTV - { - FileReader::FileReader() : -diff --git a/src/lib/tsreader/MemoryBuffer.cpp b/src/lib/tsreader/MemoryBuffer.cpp -index 6d411d7..609b575 100644 ---- a/src/lib/tsreader/MemoryBuffer.cpp -+++ b/src/lib/tsreader/MemoryBuffer.cpp -@@ -31,7 +31,6 @@ - - #include "p8-platform/util/timeutils.h" - #include "p8-platform/threads/mutex.h" --#include "p8-platform/util/util.h" - #include "MemoryBuffer.h" - #include //for kodi::Log - #include "TSDebug.h" -@@ -59,11 +58,14 @@ void CMemoryBuffer::Clear() - P8PLATFORM::CLockObject BufferLock(m_BufferLock); - std::vector::iterator it = m_Array.begin(); - -- for ( ; it != m_Array.end(); ++it ) -+ for (auto& item : m_Array) - { -- BufferItem *item = *it; -- SAFE_DELETE_ARRAY(item->data); -- SAFE_DELETE(item); -+ if (item) -+ { -+ if (item->data) -+ delete[] item->data; -+ delete item; -+ } - } - - m_Array.clear(); -@@ -150,8 +152,9 @@ size_t CMemoryBuffer::ReadFromBuffer(unsigned char *pbData, size_t lDataLength) - if (item->nOffset >= item->nDataLength) - { - m_Array.erase(m_Array.begin()); -- SAFE_DELETE_ARRAY(item->data); -- SAFE_DELETE(item); -+ if (item->data) -+ delete[] item->data; -+ delete item; - } - } - return bytesWritten; -@@ -182,8 +185,9 @@ long CMemoryBuffer::PutBuffer(unsigned char *pbData, size_t lDataLength) - - m_BytesInBuffer -= copyLength; - m_Array.erase(m_Array.begin()); -- SAFE_DELETE_ARRAY(item2->data); -- SAFE_DELETE(item2); -+ if (item2->data) -+ delete[] item2->data; -+ delete item2; - } - if (m_BytesInBuffer > 0) - { -diff --git a/src/lib/tsreader/MultiFileReader.cpp b/src/lib/tsreader/MultiFileReader.cpp -index b8005b3..3828e06 100644 ---- a/src/lib/tsreader/MultiFileReader.cpp -+++ b/src/lib/tsreader/MultiFileReader.cpp -@@ -48,6 +48,15 @@ using namespace P8PLATFORM; - //Maximum time in msec to wait for the buffer file to become available - Needed for DVB radio (this sometimes takes some time) - #define MAX_BUFFER_TIMEOUT 1500 - -+template void SafeDelete(T*& p) -+{ -+ if (p) -+ { -+ delete p; -+ p = nullptr; -+ } -+} -+ - namespace MPTV - { - MultiFileReader::MultiFileReader() : -@@ -484,7 +493,7 @@ namespace MPTV - - TSDEBUG(ADDON_LOG_DEBUG, "MultiFileReader: Removing file %s\n", file->filename.c_str()); - -- SAFE_DELETE(file); -+ SafeDelete(file); - m_tsFiles.erase(m_tsFiles.begin()); - - filesToRemove--; -diff --git a/src/lib/tsreader/TSReader.cpp b/src/lib/tsreader/TSReader.cpp -index 3f9725b..4a72f4f 100644 ---- a/src/lib/tsreader/TSReader.cpp -+++ b/src/lib/tsreader/TSReader.cpp -@@ -44,6 +44,15 @@ - - using namespace std; - -+template void SafeDelete(T*& p) -+{ -+ if (p) -+ { -+ delete p; -+ p = nullptr; -+ } -+} -+ - namespace MPTV - { - CTsReader::CTsReader() : m_demultiplexer(*this), -@@ -69,10 +78,10 @@ namespace MPTV - - CTsReader::~CTsReader(void) - { -- SAFE_DELETE(m_fileReader); -+ SafeDelete(m_fileReader); - #ifdef LIVE555 -- SAFE_DELETE(m_buffer); -- SAFE_DELETE(m_rtspClient); -+ SafeDelete(m_buffer); -+ SafeDelete(m_rtspClient); - #endif - } - -@@ -225,8 +234,8 @@ namespace MPTV - - if ( !m_rtspClient->OpenStream(m_fileName.c_str()) ) - { -- SAFE_DELETE(m_rtspClient); -- SAFE_DELETE(m_buffer); -+ SafeDelete(m_rtspClient); -+ SafeDelete(m_buffer); - return E_FAIL; - } - -@@ -318,8 +327,8 @@ namespace MPTV - #ifdef LIVE555 - kodi::Log(ADDON_LOG_INFO, "TsReader: closing RTSP client"); - m_rtspClient->Stop(); -- SAFE_DELETE(m_rtspClient); -- SAFE_DELETE(m_buffer); -+ SafeDelete(m_rtspClient); -+ SafeDelete(m_buffer); - #endif - } - else -@@ -327,7 +336,7 @@ namespace MPTV - kodi::Log(ADDON_LOG_INFO, "TsReader: closing file"); - m_fileReader->CloseFile(); - } -- SAFE_DELETE(m_fileReader); -+ SafeDelete(m_fileReader); - m_State = State_Stopped; - } - } -diff --git a/src/pvrclient-mediaportal.cpp b/src/pvrclient-mediaportal.cpp -index fdb31e7..5479950 100644 ---- a/src/pvrclient-mediaportal.cpp -+++ b/src/pvrclient-mediaportal.cpp -@@ -42,6 +42,15 @@ int g_iTVServerKodiBuild = 0; - #define TVSERVERKODI_RECOMMENDED_VERSION_STRING "1.2.3.122 till 1.20.0.140" - #define TVSERVERKODI_RECOMMENDED_VERSION_BUILD 140 - -+template void SafeDelete(T*& p) -+{ -+ if (p) -+ { -+ delete p; -+ p = nullptr; -+ } -+} -+ - /************************************************************/ - /** Class interface */ - -@@ -75,10 +84,10 @@ cPVRClientMediaPortal::~cPVRClientMediaPortal() - kodi::Log(ADDON_LOG_DEBUG, "->~cPVRClientMediaPortal()"); - Disconnect(); - -- SAFE_DELETE(Timer::lifetimeValues); -- SAFE_DELETE(m_tcpclient); -- SAFE_DELETE(m_genretable); -- SAFE_DELETE(m_lastSelectedRecording); -+ SafeDelete(Timer::lifetimeValues); -+ SafeDelete(m_tcpclient); -+ SafeDelete(m_genretable); -+ SafeDelete(m_lastSelectedRecording); - } - - string cPVRClientMediaPortal::SendCommand(const char* command) -@@ -321,7 +330,7 @@ void cPVRClientMediaPortal::Disconnect() - if ((CSettings::Get().GetStreamingMethod()==TSReader) && (m_tsreader != NULL)) - { - m_tsreader->Close(); -- SAFE_DELETE(m_tsreader); -+ SafeDelete(m_tsreader); - } - SendCommand("StopTimeshift:\n"); - } -@@ -1748,7 +1757,7 @@ bool cPVRClientMediaPortal::OpenLiveStream(const kodi::addon::PVRChannel& channe - m_iCurrentChannel = -1; - if (m_tsreader != nullptr) - { -- SAFE_DELETE(m_tsreader); -+ SafeDelete(m_tsreader); - } - return false; - } -@@ -1959,7 +1968,7 @@ void cPVRClientMediaPortal::CloseLiveStream(void) - if (CSettings::Get().GetStreamingMethod() == TSReader && m_tsreader) - { - m_tsreader->Close(); -- SAFE_DELETE(m_tsreader); -+ SafeDelete(m_tsreader); - } - result = SendCommand("StopTimeshift:\n"); - kodi::Log(ADDON_LOG_INFO, "CloseLiveStream: %s", result.c_str()); -@@ -2141,7 +2150,7 @@ void cPVRClientMediaPortal::CloseRecordedStream(void) - { - kodi::Log(ADDON_LOG_INFO, "CloseRecordedStream: Stop TSReader..."); - m_tsreader->Close(); -- SAFE_DELETE(m_tsreader); -+ SafeDelete(m_tsreader); - } - else - { -@@ -2409,7 +2418,7 @@ cRecording* cPVRClientMediaPortal::GetRecordingInfo(const kodi::addon::PVRRecord - { - return m_lastSelectedRecording; - } -- SAFE_DELETE(m_lastSelectedRecording); -+ SafeDelete(m_lastSelectedRecording); - } - - if (!IsUp()) -diff --git a/src/utils.h b/src/utils.h -index 823b46e..d03569a 100644 ---- a/src/utils.h -+++ b/src/utils.h -@@ -11,13 +11,11 @@ - #include - #include - #include "uri.h" --#include "p8-platform/util/util.h" - - #ifdef TARGET_WINDOWS - #include "windows/WindowsUtils.h" - #endif - -- - /** - * String tokenize - * Split string using the given delimiter into a vector of substrings diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0005-Use-thread-sleep_for-instead-of-p8-time-utils.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0005-Use-thread-sleep_for-instead-of-p8-time-utils.patch deleted file mode 100644 index 4d61d15b..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0005-Use-thread-sleep_for-instead-of-p8-time-utils.patch +++ /dev/null @@ -1,308 +0,0 @@ -From 4b4a16157870d5816339700616f1efdb60fb59e3 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Wed, 7 Oct 2020 18:12:10 +0100 -Subject: [PATCH] Use thread sleep_for instead of p8 time utils - -Signed-off-by: Bernd Kuhls ---- - src/lib/tsreader/DeMultiplexer.cpp | 6 ++++-- - src/lib/tsreader/FileReader.cpp | 5 +++-- - src/lib/tsreader/MemoryBuffer.cpp | 5 +++-- - src/lib/tsreader/MepoRTSPClient.cpp | 5 +++-- - src/lib/tsreader/MultiFileReader.cpp | 9 +++++---- - src/lib/tsreader/TSReader.cpp | 5 +++-- - src/pvrclient-mediaportal.cpp | 23 +++++++++++++---------- - 7 files changed, 34 insertions(+), 24 deletions(-) - -diff --git a/src/lib/tsreader/DeMultiplexer.cpp b/src/lib/tsreader/DeMultiplexer.cpp -index 63bf20e..436e452 100644 ---- a/src/lib/tsreader/DeMultiplexer.cpp -+++ b/src/lib/tsreader/DeMultiplexer.cpp -@@ -37,6 +37,8 @@ - #include //for kodi::Log - #include "TSReader.h" - -+#include -+ - #define MAX_BUF_SIZE 8000 - #define BUFFER_LENGTH 0x1000 - #define READ_SIZE (1316*30) -@@ -83,7 +85,7 @@ namespace MPTV - { - size_t BytesRead = ReadFromFile(); - if (0 == BytesRead) -- usleep(10000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(10)); - } - m_bStarting = false; - } -@@ -248,7 +250,7 @@ namespace MPTV - { - size_t BytesRead = ReadFromFile(); - if (0 == BytesRead) -- usleep(10000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(10)); - dwBytesProcessed += BytesRead; - } - -diff --git a/src/lib/tsreader/FileReader.cpp b/src/lib/tsreader/FileReader.cpp -index 3df22f2..73b23af 100644 ---- a/src/lib/tsreader/FileReader.cpp -+++ b/src/lib/tsreader/FileReader.cpp -@@ -37,10 +37,10 @@ - #include "TSDebug.h" - #include "p8-platform/threads/threads.h" - #include //std::min, std::max --#include "p8-platform/util/timeutils.h" // for usleep - #include "utils.h" - #include - -+#include - - /* indicate that caller can handle truncated reads, where function returns before entire buffer has been filled */ - #define READ_TRUNCATED 0x01 -@@ -145,7 +145,8 @@ namespace MPTV - } - } - } -- usleep(20000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(20)); -+ - } while (--Tmo); - - if (Tmo) -diff --git a/src/lib/tsreader/MemoryBuffer.cpp b/src/lib/tsreader/MemoryBuffer.cpp -index 609b575..0e736f2 100644 ---- a/src/lib/tsreader/MemoryBuffer.cpp -+++ b/src/lib/tsreader/MemoryBuffer.cpp -@@ -29,12 +29,13 @@ - - #ifdef LIVE555 - --#include "p8-platform/util/timeutils.h" - #include "p8-platform/threads/mutex.h" - #include "MemoryBuffer.h" - #include //for kodi::Log - #include "TSDebug.h" - -+#include -+ - #define MAX_MEMORY_BUFFER_SIZE (1024L*1024L*12L) - - CMemoryBuffer::CMemoryBuffer(void) -@@ -197,7 +198,7 @@ long CMemoryBuffer::PutBuffer(unsigned char *pbData, size_t lDataLength) - - if (sleep) - { -- usleep(10000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(10)); - } - return S_OK; - } -diff --git a/src/lib/tsreader/MepoRTSPClient.cpp b/src/lib/tsreader/MepoRTSPClient.cpp -index 4971986..ccd6761 100644 ---- a/src/lib/tsreader/MepoRTSPClient.cpp -+++ b/src/lib/tsreader/MepoRTSPClient.cpp -@@ -18,13 +18,14 @@ - - #if defined LIVE555 - --#include "p8-platform/util/timeutils.h" - #include "MepoRTSPClient.h" - #include "MemorySink.h" - #include //for kodi::Log - #include "utils.h" - #include "os-dependent.h" - -+#include -+ - CRTSPClient::CRTSPClient() - { - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient::CRTSPClient()"); -@@ -531,7 +532,7 @@ void CRTSPClient::FillBuffer(unsigned long byteCount) - - while ( IsRunning() && m_buffer->Size() < byteCount) - { -- usleep(5000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(5)); - if (GetTickCount64() - tickCount > 3000) - break; - } -diff --git a/src/lib/tsreader/MultiFileReader.cpp b/src/lib/tsreader/MultiFileReader.cpp -index 3828e06..21fd7b2 100644 ---- a/src/lib/tsreader/MultiFileReader.cpp -+++ b/src/lib/tsreader/MultiFileReader.cpp -@@ -39,10 +39,11 @@ - #include - #include "utils.h" - #include --#include "p8-platform/util/timeutils.h" - #include "p8-platform/threads/threads.h" - #include - -+#include -+ - using namespace P8PLATFORM; - - //Maximum time in msec to wait for the buffer file to become available - Needed for DVB radio (this sometimes takes some time) -@@ -112,7 +113,7 @@ namespace MPTV - retryCount++; - kodi::Log(ADDON_LOG_DEBUG, "MultiFileReader: buffer file has zero length, closing, waiting 100 ms and re-opening. Attempt: %d.", retryCount); - m_TSBufferFile.CloseFile(); -- usleep(100000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(100)); - hResult = m_TSBufferFile.OpenFile(); - kodi::Log(ADDON_LOG_DEBUG, "MultiFileReader: buffer file opened return code %d.", hResult); - } -@@ -124,7 +125,7 @@ namespace MPTV - - do - { -- usleep(100000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(100)); - if (timeout.TimeLeft() == 0) - { - kodi::Log(ADDON_LOG_ERROR, "MultiFileReader: timed out while waiting for buffer file to become available"); -@@ -457,7 +458,7 @@ namespace MPTV - // try to clear local / remote SMB file cache. This should happen when we close the filehandle - m_TSBufferFile.CloseFile(); - m_TSBufferFile.OpenFile(); -- usleep(5000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(5)); - } - - if (Error) -diff --git a/src/lib/tsreader/TSReader.cpp b/src/lib/tsreader/TSReader.cpp -index 4a72f4f..40a4faf 100644 ---- a/src/lib/tsreader/TSReader.cpp -+++ b/src/lib/tsreader/TSReader.cpp -@@ -33,7 +33,6 @@ - #include "MultiFileReader.h" - #include "utils.h" - #include "TSDebug.h" --#include "p8-platform/util/timeutils.h" - #include - #ifdef LIVE555 - #include "MemoryReader.h" -@@ -42,6 +41,8 @@ - #endif - #include "FileUtils.h" - -+#include -+ - using namespace std; - - template void SafeDelete(T*& p) -@@ -396,7 +397,7 @@ namespace MPTV - fileReader->OnChannelChange(); - - kodi::Log(ADDON_LOG_DEBUG, "%s:: move from %I64d to %I64d tsbufpos %I64d", __FUNCTION__, pos_before, pos_after, timeShiftBufferPos); -- usleep(100000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(100)); - - // Set the stream start times to this new channel - time(&m_startTime); -diff --git a/src/pvrclient-mediaportal.cpp b/src/pvrclient-mediaportal.cpp -index 5479950..851b940 100644 ---- a/src/pvrclient-mediaportal.cpp -+++ b/src/pvrclient-mediaportal.cpp -@@ -10,7 +10,6 @@ - #include - #include - --#include "p8-platform/util/timeutils.h" - #include - - #include "timers.h" -@@ -29,6 +28,8 @@ - #include - #include - -+#include -+ - using namespace kodi::tools; - using namespace std; - using namespace MPTV; -@@ -389,7 +390,7 @@ void* cPVRClientMediaPortal::Process(void) - if (keepWaiting) - { - // Wait for 1 minute before re-trying -- usleep(60000000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(60000)); - } - } - SetConnectionState(state); -@@ -1571,7 +1572,8 @@ PVR_ERROR cPVRClientMediaPortal::AddTimer(const kodi::addon::PVRTimer& timerinfo - if (timerinfo.GetStartTime() <= 0) - { - // Refresh the recordings list to see the newly created recording -- usleep(100000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(100)); -+ - kodi::addon::CInstancePVRClient::TriggerRecordingUpdate(); - } - -@@ -1785,7 +1787,8 @@ bool cPVRClientMediaPortal::OpenLiveStream(const kodi::addon::PVRChannel& channe - kodi::Log(ADDON_LOG_INFO, "Channel timeshift buffer: %s", timeshiftfields[2].c_str()); - if (channelinfo.GetIsRadio()) - { -- usleep(100000); // 100 ms sleep to allow the buffer to fill -+ // 100 ms sleep to allow the buffer to fill -+ std::this_thread::sleep_for(std::chrono::milliseconds(100)); - } - } - else -@@ -1796,7 +1799,7 @@ bool cPVRClientMediaPortal::OpenLiveStream(const kodi::addon::PVRChannel& channe - if (CSettings::Get().GetSleepOnRTSPurl() > 0) - { - kodi::Log(ADDON_LOG_INFO, "Sleeping %i ms before opening stream: %s", CSettings::Get().GetSleepOnRTSPurl(), timeshiftfields[0].c_str()); -- usleep(CSettings::Get().GetSleepOnRTSPurl() * 1000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(CSettings::Get().GetSleepOnRTSPurl())); - } - - // Check the returned stream URL. When the URL is an rtsp stream, we need -@@ -1878,7 +1881,7 @@ bool cPVRClientMediaPortal::OpenLiveStream(const kodi::addon::PVRChannel& channe - CloseLiveStream(); - return false; - } -- usleep(400000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(400)); - } - } - -@@ -1924,7 +1927,7 @@ int cPVRClientMediaPortal::ReadLiveStream(unsigned char *pBuffer, unsigned int i - - if (m_tsreader->Read(bufptr, read_wanted, &read_wanted) > 0) - { -- usleep(20000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(20)); - read_timeouts++; - return static_cast(read_wanted); - } -@@ -1948,7 +1951,7 @@ int cPVRClientMediaPortal::ReadLiveStream(unsigned char *pBuffer, unsigned int i - } - bufptr += read_wanted; - read_timeouts++; -- usleep(10000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(10)); - } - } - read_timeouts = 0; -@@ -2175,7 +2178,7 @@ int cPVRClientMediaPortal::ReadRecordedStream(unsigned char *pBuffer, unsigned i - - if (m_tsreader->Read(bufptr, read_wanted, &read_wanted) > 0) - { -- usleep(20000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(20)); - return static_cast(read_wanted); - } - read_done += read_wanted; -@@ -2183,7 +2186,7 @@ int cPVRClientMediaPortal::ReadRecordedStream(unsigned char *pBuffer, unsigned i - if ( read_done < static_cast(iBufferSize) ) - { - bufptr += read_wanted; -- usleep(20000); -+ std::this_thread::sleep_for(std::chrono::milliseconds(20)); - } - } - diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0006-Use-std-thread-std-mutex-condition_variable-instead-.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0006-Use-std-thread-std-mutex-condition_variable-instead-.patch deleted file mode 100644 index 7d6e1411..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0006-Use-std-thread-std-mutex-condition_variable-instead-.patch +++ /dev/null @@ -1,673 +0,0 @@ -From 482d898333facf53bd3208cf5e44a0cf3e1f4f3b Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Thu, 8 Oct 2020 14:59:55 +0100 -Subject: [PATCH] Use std::thread, std::mutex, condition_variable instead of - event - -Signed-off-by: Bernd Kuhls ---- - src/lib/tsreader/DeMultiplexer.cpp | 2 +- - src/lib/tsreader/DeMultiplexer.h | 4 +- - src/lib/tsreader/FileReader.cpp | 2 +- - src/lib/tsreader/MemoryBuffer.cpp | 15 +++-- - src/lib/tsreader/MemoryBuffer.h | 7 +- - src/lib/tsreader/MemoryReader.h | 1 + - src/lib/tsreader/MemorySink.cpp | 2 +- - src/lib/tsreader/MemorySink.h | 4 +- - src/lib/tsreader/MepoRTSPClient.cpp | 28 ++++---- - src/lib/tsreader/MepoRTSPClient.h | 10 ++- - src/lib/tsreader/MultiFileReader.cpp | 9 ++- - src/os-dependent.h | 95 ++++++++++++++++++++++++++++ - src/pvrclient-mediaportal.cpp | 29 ++++----- - src/pvrclient-mediaportal.h | 21 +++--- - 14 files changed, 168 insertions(+), 61 deletions(-) - -diff --git a/src/lib/tsreader/DeMultiplexer.cpp b/src/lib/tsreader/DeMultiplexer.cpp -index 436e452..3d0d9a2 100644 ---- a/src/lib/tsreader/DeMultiplexer.cpp -+++ b/src/lib/tsreader/DeMultiplexer.cpp -@@ -104,7 +104,7 @@ namespace MPTV - if (m_filter.IsSeeking()) - return 0; // Ambass : to check - -- P8PLATFORM::CLockObject lock(m_sectionRead); -+ std::lock_guard lock(m_sectionRead); - if (NULL == m_reader) - return 0; - -diff --git a/src/lib/tsreader/DeMultiplexer.h b/src/lib/tsreader/DeMultiplexer.h -index c7cd577..72ed87d 100644 ---- a/src/lib/tsreader/DeMultiplexer.h -+++ b/src/lib/tsreader/DeMultiplexer.h -@@ -37,7 +37,7 @@ - #include "PacketSync.h" - #include "TSHeader.h" - #include "PatParser.h" --#include "p8-platform/threads/mutex.h" -+#include - - namespace MPTV - { -@@ -60,7 +60,7 @@ namespace MPTV - private: - unsigned long long m_LastDataFromRtsp; - bool m_bEndOfFile; -- P8PLATFORM::CMutex m_sectionRead; -+ std::mutex m_sectionRead; - FileReader* m_reader; - CPatParser m_patParser; - CTsReader& m_filter; -diff --git a/src/lib/tsreader/FileReader.cpp b/src/lib/tsreader/FileReader.cpp -index 73b23af..358b05f 100644 ---- a/src/lib/tsreader/FileReader.cpp -+++ b/src/lib/tsreader/FileReader.cpp -@@ -35,7 +35,7 @@ - #include "FileReader.h" - #include //for kodi::Log - #include "TSDebug.h" --#include "p8-platform/threads/threads.h" -+#include "os-dependent.h" - #include //std::min, std::max - #include "utils.h" - #include -diff --git a/src/lib/tsreader/MemoryBuffer.cpp b/src/lib/tsreader/MemoryBuffer.cpp -index 0e736f2..b5400da 100644 ---- a/src/lib/tsreader/MemoryBuffer.cpp -+++ b/src/lib/tsreader/MemoryBuffer.cpp -@@ -29,7 +29,7 @@ - - #ifdef LIVE555 - --#include "p8-platform/threads/mutex.h" -+#include "os-dependent.h" - #include "MemoryBuffer.h" - #include //for kodi::Log - #include "TSDebug.h" -@@ -56,7 +56,7 @@ bool CMemoryBuffer::IsRunning() - - void CMemoryBuffer::Clear() - { -- P8PLATFORM::CLockObject BufferLock(m_BufferLock); -+ std::lock_guard BufferLock(m_BufferLock); - std::vector::iterator it = m_Array.begin(); - - for (auto& item : m_Array) -@@ -104,14 +104,17 @@ size_t CMemoryBuffer::ReadFromBuffer(unsigned char *pbData, size_t lDataLength) - { - if (!m_bRunning) - return 0; -- m_event.Wait(5000); -+ -+ std::unique_lock lock(m_BufferLock); -+ m_condition.wait_for(lock, std::chrono::milliseconds(5000)); -+ - if (!m_bRunning) - return 0; - } - - // kodi::Log(ADDON_LOG_DEBUG, "get..%d/%d", lDataLength, m_BytesInBuffer); - size_t bytesWritten = 0; -- P8PLATFORM::CLockObject BufferLock(m_BufferLock); -+ std::lock_guard BufferLock(m_BufferLock); - - while (bytesWritten < lDataLength) - { -@@ -172,7 +175,7 @@ long CMemoryBuffer::PutBuffer(unsigned char *pbData, size_t lDataLength) - memcpy(item->data, pbData, lDataLength); - bool sleep = false; - { -- P8PLATFORM::CLockObject BufferLock(m_BufferLock); -+ std::lock_guard BufferLock(m_BufferLock); - m_Array.push_back(item); - m_BytesInBuffer += lDataLength; - -@@ -192,7 +195,7 @@ long CMemoryBuffer::PutBuffer(unsigned char *pbData, size_t lDataLength) - } - if (m_BytesInBuffer > 0) - { -- m_event.Broadcast(); -+ m_condition.notify_one(); - } - } - -diff --git a/src/lib/tsreader/MemoryBuffer.h b/src/lib/tsreader/MemoryBuffer.h -index 080553b..4f8708f 100644 ---- a/src/lib/tsreader/MemoryBuffer.h -+++ b/src/lib/tsreader/MemoryBuffer.h -@@ -30,7 +30,8 @@ - - #ifdef LIVE555 - --#include "p8-platform/threads/mutex.h" -+#include -+#include - #include - - class CMemoryBuffer -@@ -55,9 +56,9 @@ class CMemoryBuffer - - protected: - std::vector m_Array; -- P8PLATFORM::CMutex m_BufferLock; -+ std::mutex m_BufferLock; - size_t m_BytesInBuffer; -- P8PLATFORM::CEvent m_event; -+ std::condition_variable m_condition; - bool m_bRunning; - }; - #endif //LIVE555 -diff --git a/src/lib/tsreader/MemoryReader.h b/src/lib/tsreader/MemoryReader.h -index fef4f98..288984b 100644 ---- a/src/lib/tsreader/MemoryReader.h -+++ b/src/lib/tsreader/MemoryReader.h -@@ -32,6 +32,7 @@ - - #include "FileReader.h" - #include "MemoryBuffer.h" -+#include "os-dependent.h" - - namespace MPTV - { -diff --git a/src/lib/tsreader/MemorySink.cpp b/src/lib/tsreader/MemorySink.cpp -index dafef56..af8b74c 100644 ---- a/src/lib/tsreader/MemorySink.cpp -+++ b/src/lib/tsreader/MemorySink.cpp -@@ -84,7 +84,7 @@ void CMemorySink::addData(unsigned char* data, size_t dataSize, struct timeval U - return; - } - -- P8PLATFORM::CLockObject BufferLock(m_BufferLock); -+ std::lock_guard BufferLock(m_BufferLock); - - m_bReEntrant = true; - m_buffer.PutBuffer(data, dataSize); -diff --git a/src/lib/tsreader/MemorySink.h b/src/lib/tsreader/MemorySink.h -index cc0f3c8..22d91c6 100644 ---- a/src/lib/tsreader/MemorySink.h -+++ b/src/lib/tsreader/MemorySink.h -@@ -35,7 +35,7 @@ - #endif - - #include "MemoryBuffer.h" --#include "p8-platform/threads/mutex.h" -+#include - - class CMemorySink: public MediaSink - { -@@ -57,7 +57,7 @@ class CMemorySink: public MediaSink - private: // redefined virtual functions: - virtual Boolean continuePlaying(); - -- P8PLATFORM::CMutex m_BufferLock; -+ std::mutex m_BufferLock; - unsigned char* m_pSubmitBuffer; - int m_iSubmitBufferPos; - bool m_bReEntrant; -diff --git a/src/lib/tsreader/MepoRTSPClient.cpp b/src/lib/tsreader/MepoRTSPClient.cpp -index ccd6761..688ae84 100644 ---- a/src/lib/tsreader/MepoRTSPClient.cpp -+++ b/src/lib/tsreader/MepoRTSPClient.cpp -@@ -54,7 +54,7 @@ CRTSPClient::CRTSPClient() - m_env = NULL; - m_fDuration = 0.0f; - m_url[0] = '\0'; -- m_bRunning = false; -+ m_running = false; - } - - CRTSPClient::~CRTSPClient() -@@ -496,7 +496,9 @@ void CRTSPClient::StartBufferThread() - - if (!m_BufferThreadActive) - { -- CreateThread(); -+ m_running = true; -+ m_thread = std::thread([&] { Process(); }); -+ - m_BufferThreadActive = true; - } - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient::StartBufferThread done"); -@@ -505,11 +507,12 @@ void CRTSPClient::StartBufferThread() - void CRTSPClient::StopBufferThread() - { - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient::StopBufferThread"); -- m_bRunning = false; -+ m_running = false; - if (!m_BufferThreadActive) - return; - -- StopThread(); -+ if (m_thread.joinable()) -+ m_thread.join(); - - m_BufferThreadActive = false; - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient::StopBufferThread done"); -@@ -539,25 +542,22 @@ void CRTSPClient::FillBuffer(unsigned long byteCount) - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient::Fillbuffer...%d/%d\n", byteCount, m_buffer->Size() ); - } - --void *CRTSPClient::Process() -+void CRTSPClient::Process() - { - m_BufferThreadActive = true; -- m_bRunning = true; - - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient:: thread started"); - -- while (m_env != NULL && !IsStopped()) -+ while (m_env != NULL && m_running) - { - m_env->taskScheduler().doEventLoop(); -- if (m_bRunning == false) -+ if (m_running == false) - break; - } - - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient:: thread stopped"); - - m_BufferThreadActive = false; -- -- return NULL; - } - - void CRTSPClient::Continue() -@@ -582,8 +582,12 @@ bool CRTSPClient::Pause() - if (m_ourClient != NULL && m_session != NULL) - { - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient::Pause() stopthread"); -- StopThread(10000); // Ambass : sometimes 100mS ( prev value ) is not enough and thread is not stopped. -- // now stopping takes around 5 secs ?!?! why ???? -+ // Ambass : sometimes 100mS ( prev value ) is not enough and thread is not stopped. -+ // now stopping takes around 5 secs ?!?! why ???? -+ m_running = false; -+ if (m_thread.joinable()) -+ m_thread.join(); -+ - kodi::Log(ADDON_LOG_DEBUG, "CRTSPClient::Pause() thread stopped"); - RTSPClient* rtspClient=(RTSPClient*)m_ourClient; - rtspClient->pauseMediaSession(*m_session); -diff --git a/src/lib/tsreader/MepoRTSPClient.h b/src/lib/tsreader/MepoRTSPClient.h -index bd6e578..9bb0421 100644 ---- a/src/lib/tsreader/MepoRTSPClient.h -+++ b/src/lib/tsreader/MepoRTSPClient.h -@@ -31,7 +31,8 @@ - - #ifdef LIVE555 - --#include "p8-platform/threads/threads.h" -+#include -+#include - #include "lib/tsreader/MemoryBuffer.h" - - #include "liveMedia.hh" -@@ -41,7 +42,7 @@ - - #define RTSP_URL_BUFFERSIZE 2048 - --class CRTSPClient: public P8PLATFORM::CThread -+class CRTSPClient - { - public: - CRTSPClient(); -@@ -101,7 +102,7 @@ class CRTSPClient: public P8PLATFORM::CThread - - // Thread - private: -- virtual void *Process(void); -+ void Process(); - void StartBufferThread(); - void StopBufferThread(); - bool m_BufferThreadActive; -@@ -113,5 +114,8 @@ class CRTSPClient: public P8PLATFORM::CThread - bool m_bRunning; - bool m_bPaused; - char m_outFileName[1000]; -+ -+ std::atomic m_running = {false}; -+ std::thread m_thread; - }; - #endif //LIVE555 -diff --git a/src/lib/tsreader/MultiFileReader.cpp b/src/lib/tsreader/MultiFileReader.cpp -index 21fd7b2..5106418 100644 ---- a/src/lib/tsreader/MultiFileReader.cpp -+++ b/src/lib/tsreader/MultiFileReader.cpp -@@ -35,17 +35,16 @@ - #include "MultiFileReader.h" - #include //for kodi::Log - #include -+#include - #include "TSDebug.h" - #include - #include "utils.h" - #include --#include "p8-platform/threads/threads.h" - #include -+#include "os-dependent.h" - - #include - --using namespace P8PLATFORM; -- - //Maximum time in msec to wait for the buffer file to become available - Needed for DVB radio (this sometimes takes some time) - #define MAX_BUFFER_TIMEOUT 1500 - -@@ -121,12 +120,12 @@ namespace MPTV - if (RefreshTSBufferFile() == S_FALSE) - { - // For radio the buffer sometimes needs some time to become available, so wait and try it more than once -- P8PLATFORM::CTimeout timeout(MAX_BUFFER_TIMEOUT); -+ kodi::tools::CEndTime timeout(MAX_BUFFER_TIMEOUT); - - do - { - std::this_thread::sleep_for(std::chrono::milliseconds(100)); -- if (timeout.TimeLeft() == 0) -+ if (timeout.MillisLeft() == 0) - { - kodi::Log(ADDON_LOG_ERROR, "MultiFileReader: timed out while waiting for buffer file to become available"); - kodi::QueueNotification(QUEUE_ERROR, "", "Time out while waiting for buffer file"); -diff --git a/src/os-dependent.h b/src/os-dependent.h -index cdc6980..28c162c 100644 ---- a/src/os-dependent.h -+++ b/src/os-dependent.h -@@ -11,6 +11,13 @@ - - #if (defined(_WIN32) || defined(_WIN64)) - -+#include -+ -+/* Handling of 2-byte Windows wchar strings */ -+#define WcsLen wcslen -+#define WcsToMbs wcstombs -+typedef wchar_t Wchar_t; /* sizeof(wchar_t) = 2 bytes on Windows */ -+ - #ifndef _SSIZE_T_DEFINED - #ifdef _WIN64 - typedef __int64 ssize_t; -@@ -20,20 +27,108 @@ typedef _W64 int ssize_t; - #define _SSIZE_T_DEFINED - #endif - -+/* Prevent deprecation warnings */ -+#define strnicmp _strnicmp -+ -+#define PATH_SEPARATOR_CHAR '\\' -+ - #else - - #if (defined(TARGET_LINUX) || defined(TARGET_DARWIN)) - #include - #include - #include -+ -+#define strnicmp(X,Y,N) strncasecmp(X,Y,N) -+ - inline unsigned long long GetTickCount64(void) - { - auto now = std::chrono::steady_clock::now(); - return std::chrono::duration_cast(now.time_since_epoch()).count(); - }; -+ -+#define PATH_SEPARATOR_CHAR '/' -+ -+#if defined(__APPLE__) -+// for HRESULT -+#include -+#endif -+ -+/* Handling of 2-byte Windows wchar strings on non-Windows targets -+ * Used by The MediaPortal and ForTheRecord pvr addons -+ */ -+typedef uint16_t Wchar_t; /* sizeof(wchar_t) = 4 bytes on Linux, but the MediaPortal buffer files have 2-byte wchars */ -+ -+/* This is a replacement of the Windows wcslen() function which assumes that -+ * wchar_t is a 2-byte character. -+ * It is used for processing Windows wchar strings -+ */ -+inline size_t WcsLen(const Wchar_t *str) -+{ -+ const unsigned short *eos = (const unsigned short*)str; -+ while( *eos++ ) ; -+ return( (size_t)(eos - (const unsigned short*)str) -1); -+}; -+ -+/* This is a replacement of the Windows wcstombs() function which assumes that -+ * wchar_t is a 2-byte character. -+ * It is used for processing Windows wchar strings -+ */ -+inline size_t WcsToMbs(char *s, const Wchar_t *w, size_t n) -+{ -+ size_t i = 0; -+ const unsigned short *wc = (const unsigned short*) w; -+ while(wc[i] && (i < n)) -+ { -+ s[i] = wc[i]; -+ ++i; -+ } -+ if (i < n) s[i] = '\0'; -+ -+ return (i); -+}; -+ - #endif /* TARGET_LINUX || TARGET_DARWIN */ - - #endif - -+typedef long LONG; -+#if !defined(__APPLE__) -+typedef LONG HRESULT; -+#endif -+ -+#ifndef FAILED -+#define FAILED(Status) ((HRESULT)(Status)<0) -+#endif -+ -+#ifndef SUCCEEDED -+#define SUCCEEDED(hr) (((HRESULT)(hr)) >= 0) -+#endif -+ -+#define _FILE_OFFSET_BITS 64 -+#define FILE_BEGIN 0 -+#define FILE_CURRENT 1 -+#define FILE_END 2 -+ -+#ifndef S_OK -+#define S_OK 0L -+#endif -+ -+#ifndef S_FALSE -+#define S_FALSE 1L -+#endif -+ -+// Error codes -+#define ERROR_FILENAME_EXCED_RANGE 206L -+#define ERROR_INVALID_NAME 123L -+ -+#ifndef E_OUTOFMEMORY -+#define E_OUTOFMEMORY 0x8007000EL -+#endif -+ -+#ifndef E_FAIL -+#define E_FAIL 0x8004005EL -+#endif -+ - // Additional typedefs - typedef uint8_t byte; -diff --git a/src/pvrclient-mediaportal.cpp b/src/pvrclient-mediaportal.cpp -index 851b940..c1052e3 100644 ---- a/src/pvrclient-mediaportal.cpp -+++ b/src/pvrclient-mediaportal.cpp -@@ -28,8 +28,6 @@ - #include - #include - --#include -- - using namespace kodi::tools; - using namespace std; - using namespace MPTV; -@@ -70,7 +68,6 @@ cPVRClientMediaPortal::cPVRClientMediaPortal(KODI_HANDLE instance, const std::st - m_BackendTime = 0; - m_tsreader = NULL; - m_genretable = NULL; -- m_iLastRecordingUpdate = 0; - m_signalStateCounter = 0; - m_iSignal = 0; - m_iSNR = 0; -@@ -99,7 +96,7 @@ string cPVRClientMediaPortal::SendCommand(const char* command) - - string cPVRClientMediaPortal::SendCommand(const string& command) - { -- P8PLATFORM::CLockObject critsec(m_mutex); -+ std::lock_guard critsec(m_mutex); - - if ( !m_tcpclient->send(command) ) - { -@@ -174,10 +171,10 @@ ADDON_STATUS cPVRClientMediaPortal::TryConnect() - case PVR_CONNECTION_STATE_SERVER_UNREACHABLE: - kodi::Log(ADDON_LOG_ERROR, "Could not connect to MediaPortal TV Server backend."); - // Start background thread for connecting to the backend -- if (!IsRunning()) -+ if (!m_running) - { -- kodi::Log(ADDON_LOG_INFO, "Waiting for a connection in the background."); -- CreateThread(); -+ m_running = true; -+ m_thread = std::thread([&] { Process(); }); - } - return ADDON_STATUS_LOST_CONNECTION; - case PVR_CONNECTION_STATE_CONNECTING: -@@ -190,7 +187,7 @@ ADDON_STATUS cPVRClientMediaPortal::TryConnect() - - PVR_CONNECTION_STATE cPVRClientMediaPortal::Connect(bool updateConnectionState) - { -- P8PLATFORM::CLockObject critsec(m_connectionMutex); -+ std::lock_guard critsec(m_connectionMutex); - - string result; - -@@ -317,9 +314,11 @@ void cPVRClientMediaPortal::Disconnect() - - kodi::Log(ADDON_LOG_INFO, "Disconnect"); - -- if (IsRunning()) -+ if (m_running) - { -- StopThread(1000); -+ m_running = false; -+ if (m_thread.joinable()) -+ m_thread.join(); - } - - if (m_tcpclient->is_valid() && m_bTimeShiftStarted) -@@ -361,14 +360,14 @@ bool cPVRClientMediaPortal::IsUp() - } - } - --void* cPVRClientMediaPortal::Process(void) -+void cPVRClientMediaPortal::Process() - { - kodi::Log(ADDON_LOG_DEBUG, "Background thread started."); - - bool keepWaiting = true; - PVR_CONNECTION_STATE state; - -- while (!IsStopped() && keepWaiting) -+ while (m_running && keepWaiting) - { - state = Connect(false); - -@@ -396,8 +395,6 @@ void* cPVRClientMediaPortal::Process(void) - SetConnectionState(state); - - kodi::Log(ADDON_LOG_DEBUG, "Background thread finished."); -- -- return NULL; - } - - -@@ -1188,7 +1185,7 @@ PVR_ERROR cPVRClientMediaPortal::GetRecordings(bool deleted, kodi::addon::PVRRec - } - } - -- m_iLastRecordingUpdate = P8PLATFORM::GetTimeMs(); -+ m_iLastRecordingUpdate = std::chrono::system_clock::now(); - - return PVR_ERROR_NO_ERROR; - } -@@ -1383,7 +1380,7 @@ PVR_ERROR cPVRClientMediaPortal::GetTimers(kodi::addon::PVRTimersResultSet& resu - } - } - -- if ( P8PLATFORM::GetTimeMs() > m_iLastRecordingUpdate + 15000) -+ if ( std::chrono::system_clock::now() > m_iLastRecordingUpdate + std::chrono::milliseconds(15000)) - { - kodi::addon::CInstancePVRClient::TriggerRecordingUpdate(); - } -diff --git a/src/pvrclient-mediaportal.h b/src/pvrclient-mediaportal.h -index 3087634..e5da832 100644 ---- a/src/pvrclient-mediaportal.h -+++ b/src/pvrclient-mediaportal.h -@@ -7,6 +7,10 @@ - - #pragma once - -+#include -+#include -+#include -+#include - #include - - /* Master defines for client control */ -@@ -17,8 +21,6 @@ - #include "Cards.h" - #include "epg.h" - #include "channels.h" --#include "p8-platform/threads/mutex.h" --#include "p8-platform/threads/threads.h" - - /* Use a forward declaration here. Including RTSPClient.h via TSReader.h at this point gives compile errors */ - namespace MPTV -@@ -28,9 +30,7 @@ namespace MPTV - class cRecording; - - class ATTRIBUTE_HIDDEN cPVRClientMediaPortal -- : public kodi::addon::CInstancePVRClient, -- public P8PLATFORM::PreventCopy, -- public P8PLATFORM::CThread -+ : public kodi::addon::CInstancePVRClient - { - public: - /* Class interface */ -@@ -110,7 +110,7 @@ class ATTRIBUTE_HIDDEN cPVRClientMediaPortal - - private: - /* TVServerKodi Listening Thread */ -- void* Process(void); -+ void Process(); - PVR_CONNECTION_STATE Connect(bool updateConnectionState = true); - - void LoadGenreTable(void); -@@ -134,9 +134,9 @@ class ATTRIBUTE_HIDDEN cPVRClientMediaPortal - time_t m_BackendTime; - CCards m_cCards; - CGenreTable* m_genretable; -- P8PLATFORM::CMutex m_mutex; -- P8PLATFORM::CMutex m_connectionMutex; -- int64_t m_iLastRecordingUpdate; -+ std::mutex m_mutex; -+ std::mutex m_connectionMutex; -+ std::chrono::system_clock::time_point m_iLastRecordingUpdate; - MPTV::CTsReader* m_tsreader; - std::map m_channels; - int m_signalStateCounter; -@@ -145,6 +145,9 @@ class ATTRIBUTE_HIDDEN cPVRClientMediaPortal - - cRecording* m_lastSelectedRecording; - -+ std::atomic m_running = {false}; -+ std::thread m_thread; -+ - //Used for TV Server communication: - std::string SendCommand(const char* command); - std::string SendCommand(const std::string& command); diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0007-Remove-charset-converter-dependency.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0007-Remove-charset-converter-dependency.patch deleted file mode 100644 index 81f583c7..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0007-Remove-charset-converter-dependency.patch +++ /dev/null @@ -1,55 +0,0 @@ -From bb752566a31029df4ca2c8a2d7fca6680570bfe6 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Thu, 8 Oct 2020 16:10:44 +0100 -Subject: [PATCH] Remove charset converter dependency - -Signed-off-by: Bernd Kuhls ---- - src/windows/FileUtils.cpp | 20 ++++++++++++++++---- - 1 file changed, 16 insertions(+), 4 deletions(-) - -diff --git a/src/windows/FileUtils.cpp b/src/windows/FileUtils.cpp -index 0c8a03e..f829b2a 100644 ---- a/src/windows/FileUtils.cpp -+++ b/src/windows/FileUtils.cpp -@@ -6,24 +6,36 @@ - */ - - #include "../FileUtils.h" --#include "p8-platform/windows/CharsetConverter.h" - #include - #include "../utils.h" - #ifdef TARGET_WINDOWS_DESKTOP - #include - #endif - --#ifdef TARGET_WINDOWS - #include - #include --#endif -+ -+std::wstring ToW(const char* str, size_t length) -+{ -+ int result = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, str, length, nullptr, 0); -+ if (result == 0) -+ return std::wstring(); -+ -+ auto newStr = std::make_unique(result); -+ result = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, str, length, newStr.get(), result); -+ -+ if (result == 0) -+ return std::wstring(); -+ -+ return std::wstring(newStr.get(), result); -+} - - namespace OS - { - bool CFile::Exists(const std::string& strFileName, long* errCode) - { - std::string strWinFile = ToWindowsPath(strFileName); -- std::wstring strWFile = p8::windows::ToW(strWinFile.c_str()); -+ std::wstring strWFile = ToW(strWinFile.c_str(), 0); - DWORD dwAttr = GetFileAttributesW(strWFile.c_str()); - - if(dwAttr != 0xffffffff) diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0008-Remove-p8-platform-dependency.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0008-Remove-p8-platform-dependency.patch deleted file mode 100644 index b38138df..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0008-Remove-p8-platform-dependency.patch +++ /dev/null @@ -1,74 +0,0 @@ -From e78eb2db7c42e302713d5e7129603e56d0e9b43b Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Thu, 8 Oct 2020 16:11:19 +0100 -Subject: [PATCH] Remove p8-platform dependency - -Signed-off-by: Bernd Kuhls ---- - CMakeLists.txt | 7 ++----- - debian/control | 2 +- - depends/common/p8-platform/p8-platform.txt | 1 - - depends/windowsstore/p8-platform/p8-platform.txt | 1 - - 4 files changed, 3 insertions(+), 8 deletions(-) - delete mode 100644 depends/common/p8-platform/p8-platform.txt - delete mode 100644 depends/windowsstore/p8-platform/p8-platform.txt - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1226685..f612570 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -4,7 +4,6 @@ project(pvr.mediaportal.tvserver) - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}) - - find_package(Kodi REQUIRED) --find_package(p8-platform REQUIRED) - find_package(TinyXML REQUIRED) - - set(LIVE555_INCLUDE_DIR -@@ -17,8 +16,7 @@ set(LIVE555_INCLUDE_DIR - - set(LIVE555_DEFINES -DLIVE555 -D_WINSOCK_DEPRECATED_NO_WARNINGS -DSOCKLEN_T=socklen_t -DBSD=1) - --include_directories(${p8-platform_INCLUDE_DIRS} -- ${TINYXML_INCLUDE_DIR} -+include_directories(${TINYXML_INCLUDE_DIR} - ${KODI_INCLUDE_DIR}/.. # Hack way with "/..", need bigger Kodi cmake rework to match right include ways - ${PROJECT_SOURCE_DIR}/src - ${PROJECT_BINARY_DIR} -@@ -229,8 +227,7 @@ source_group("Header Files\\lib\\live555" FILES ${LIVE555_HEADERS}) - # Make sure that CMake adds all files to the MSVC project - list(APPEND MPTV_SOURCES ${MPTV_HEADERS} ${TSREADER_SOURCES} ${TSREADER_HEADERS} ${LIVE555_SOURCES} ${LIVE555_HEADERS}) - --set(DEPLIBS ${p8-platform_LIBRARIES} -- ${TINYXML_LIBRARIES}) -+set(DEPLIBS ${TINYXML_LIBRARIES}) - - if(WIN32) - list(APPEND DEPLIBS ws2_32) -diff --git a/debian/control b/debian/control -index 667e47c..e81ff45 100644 ---- a/debian/control -+++ b/debian/control -@@ -2,7 +2,7 @@ Source: kodi-pvr-mediaportal-tvserver - Priority: extra - Maintainer: Nobody - Build-Depends: debhelper (>= 9.0.0), cmake, libtinyxml-dev, -- libp8-platform-dev, kodi-addon-dev -+ kodi-addon-dev - Standards-Version: 4.1.2 - Section: libs - Homepage: http://kodi.tv -diff --git a/depends/common/p8-platform/p8-platform.txt b/depends/common/p8-platform/p8-platform.txt -deleted file mode 100644 -index 98ed58a..0000000 ---- a/depends/common/p8-platform/p8-platform.txt -+++ /dev/null -@@ -1 +0,0 @@ --p8-platform https://github.com/xbmc/platform.git cee64e9dc0b69e8d286dc170a78effaabfa09c44 -diff --git a/depends/windowsstore/p8-platform/p8-platform.txt b/depends/windowsstore/p8-platform/p8-platform.txt -deleted file mode 100644 -index db6f782..0000000 ---- a/depends/windowsstore/p8-platform/p8-platform.txt -+++ /dev/null -@@ -1 +0,0 @@ --p8-platform https://github.com/afedchin/platform.git win10 diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0009-Travis-changes-for-cpp17.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0009-Travis-changes-for-cpp17.patch deleted file mode 100644 index 793d3ce4..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0009-Travis-changes-for-cpp17.patch +++ /dev/null @@ -1,28 +0,0 @@ -From e613bfbb4561173046451e9bb1ec64c7879de859 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Sat, 17 Oct 2020 14:06:04 +0100 -Subject: [PATCH] Travis changes for cpp17 - -Signed-off-by: Bernd Kuhls ---- - .travis.yml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/.travis.yml b/.travis.yml -index 1f2b61f..285f827 100644 ---- a/.travis.yml -+++ b/.travis.yml -@@ -10,11 +10,11 @@ env: - matrix: - include: - - os: linux -- dist: xenial -+ dist: bionic - sudo: required - compiler: gcc - - os: linux -- dist: xenial -+ dist: bionic - sudo: required - compiler: clang - - os: linux diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0010-Remove-register-keyword-as-no-longer-valid-in-CPP17.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0010-Remove-register-keyword-as-no-longer-valid-in-CPP17.patch deleted file mode 100644 index 09f4c80b..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0010-Remove-register-keyword-as-no-longer-valid-in-CPP17.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 5cf2d4e05673964e269e4b9a2e779d20f57c0d17 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Sat, 6 Feb 2021 12:56:50 +0000 -Subject: [PATCH] Remove register keyword as no longer valid in CPP17 - -Signed-off-by: Bernd Kuhls ---- - src/lib/tsreader/DvbUtil.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/lib/tsreader/DvbUtil.cpp b/src/lib/tsreader/DvbUtil.cpp -index 8c4798a..c973062 100644 ---- a/src/lib/tsreader/DvbUtil.cpp -+++ b/src/lib/tsreader/DvbUtil.cpp -@@ -77,7 +77,7 @@ namespace MPTV - //******************************************************************* - uint32_t crc32(char *data, int len) - { -- register int i; -+ int i; - uint32_t crc = 0xffffffff; - - for (i = 0; i < len; i++) diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0011-changelog-and-version-v8.1.1.patch b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0011-changelog-and-version-v8.1.1.patch deleted file mode 100644 index 7fded54e..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/0011-changelog-and-version-v8.1.1.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 79e33e1799976e2196132f90bd7f322f213c1a99 Mon Sep 17 00:00:00 2001 -From: phunkyfish -Date: Sat, 6 Feb 2021 00:16:19 +0000 -Subject: [PATCH] changelog and version v8.1.1 - -Signed-off-by: Bernd Kuhls ---- - pvr.mediaportal.tvserver/addon.xml.in | 2 +- - pvr.mediaportal.tvserver/changelog.txt | 10 ++++++++++ - 2 files changed, 11 insertions(+), 1 deletion(-) - -diff --git a/pvr.mediaportal.tvserver/addon.xml.in b/pvr.mediaportal.tvserver/addon.xml.in -index de30c2a..1944bc0 100644 ---- a/pvr.mediaportal.tvserver/addon.xml.in -+++ b/pvr.mediaportal.tvserver/addon.xml.in -@@ -1,7 +1,7 @@ - - - @ADDON_DEPENDS@ -diff --git a/pvr.mediaportal.tvserver/changelog.txt b/pvr.mediaportal.tvserver/changelog.txt -index 7d1630e..8e06c48 100644 ---- a/pvr.mediaportal.tvserver/changelog.txt -+++ b/pvr.mediaportal.tvserver/changelog.txt -@@ -1,3 +1,13 @@ -+v8.1.1 -+- Remove p8-platform dependency -+- Remove charset converter dependency -+- Use std::thread, std::mutex, condition_variable instead of event and bool defines -+- Use thread sleep_for instead of p8 time utils -+- Remove SAFE_DELETE -+- Use kodi StringUtils -+- Remove p8 os includes -+- Revert "Removed no more supported (C++17) declaration keyword (register)" -+ - v8.1.0 - - Update PVR API 7.1.0 - diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.hash b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.hash deleted file mode 100644 index 9f700cee..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 862b8b0c7c1cd49f0a304dd7caeb6a02dd2b6f767fff256875457040e5ca1177 kodi-pvr-mediaportal-tvserver-8.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk b/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk deleted file mode 100644 index d2cacae8..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-mediaportal-tvserver -# -################################################################################ - -KODI_PVR_MEDIAPORTAL_TVSERVER_VERSION = 8.1.0-Matrix -KODI_PVR_MEDIAPORTAL_TVSERVER_SITE = $(call github,kodi-pvr,pvr.mediaportal.tvserver,$(KODI_PVR_MEDIAPORTAL_TVSERVER_VERSION)) -KODI_PVR_MEDIAPORTAL_TVSERVER_LICENSE = GPL-2.0+ -KODI_PVR_MEDIAPORTAL_TVSERVER_LICENSE_FILES = LICENSE.md -KODI_PVR_MEDIAPORTAL_TVSERVER_DEPENDENCIES = kodi tinyxml - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash b/buildroot-2021.05/package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash deleted file mode 100644 index 307509cd..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 91cb98ea39fd41e9edcfd079e6ca39bfabeb4d6c247b1a540d86a7856e77c75e kodi-pvr-mythtv-7.3.1-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk b/buildroot-2021.05/package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk deleted file mode 100644 index 70b1c6ef..00000000 --- a/buildroot-2021.05/package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-mythtv -# -################################################################################ - -KODI_PVR_MYTHTV_VERSION = 7.3.1-Matrix -KODI_PVR_MYTHTV_SITE = $(call github,janbar,pvr.mythtv,$(KODI_PVR_MYTHTV_VERSION)) -KODI_PVR_MYTHTV_LICENSE = GPL-2.0+ -KODI_PVR_MYTHTV_LICENSE_FILES = LICENSE.md -KODI_PVR_MYTHTV_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash b/buildroot-2021.05/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash deleted file mode 100644 index a6710948..00000000 --- a/buildroot-2021.05/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 f5f36c2da5c74af3af5be5f50ce1dccd3b3026ddfbf68cbb2962cc721874668d kodi-pvr-nextpvr-8.2.3-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk b/buildroot-2021.05/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk deleted file mode 100644 index 1446f932..00000000 --- a/buildroot-2021.05/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-nextpvr -# -################################################################################ - -KODI_PVR_NEXTPVR_VERSION = 8.2.3-Matrix -KODI_PVR_NEXTPVR_SITE = $(call github,kodi-pvr,pvr.nextpvr,$(KODI_PVR_NEXTPVR_VERSION)) -KODI_PVR_NEXTPVR_LICENSE = GPL-2.0+ -KODI_PVR_NEXTPVR_LICENSE_FILES = LICENSE.md -KODI_PVR_NEXTPVR_DEPENDENCIES = kodi tinyxml2 - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-njoy/kodi-pvr-njoy.hash b/buildroot-2021.05/package/kodi-pvr-njoy/kodi-pvr-njoy.hash deleted file mode 100644 index 76e5e988..00000000 --- a/buildroot-2021.05/package/kodi-pvr-njoy/kodi-pvr-njoy.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 26134e815efd38fa09507a6119e6463c4785a78a417e253558d23a94a9989613 kodi-pvr-njoy-7.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-njoy/kodi-pvr-njoy.mk b/buildroot-2021.05/package/kodi-pvr-njoy/kodi-pvr-njoy.mk deleted file mode 100644 index 17a69af7..00000000 --- a/buildroot-2021.05/package/kodi-pvr-njoy/kodi-pvr-njoy.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-njoy -# -################################################################################ - -KODI_PVR_NJOY_VERSION = 7.1.0-Matrix -KODI_PVR_NJOY_SITE = $(call github,kodi-pvr,pvr.njoy,$(KODI_PVR_NJOY_VERSION)) -KODI_PVR_NJOY_LICENSE = GPL-2.0+ -KODI_PVR_NJOY_LICENSE_FILES = LICENSE.md -KODI_PVR_NJOY_DEPENDENCIES = kodi tinyxml - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-octonet/Config.in b/buildroot-2021.05/package/kodi-pvr-octonet/Config.in deleted file mode 100644 index e831194b..00000000 --- a/buildroot-2021.05/package/kodi-pvr-octonet/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_KODI_PVR_OCTONET - bool "kodi-pvr-octonet" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # json-for-modern-cpp - select BR2_PACKAGE_JSON_FOR_MODERN_CPP - help - DigitalDevices Octonet PVR client addon for Kodi - - https://github.com/DigitalDevices/pvr.octonet - -comment "kodi-pvr-octonet needs a toolchain w/ gcc >= 4.9" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/kodi-pvr-octonet/kodi-pvr-octonet.hash b/buildroot-2021.05/package/kodi-pvr-octonet/kodi-pvr-octonet.hash deleted file mode 100644 index 8fdeac2a..00000000 --- a/buildroot-2021.05/package/kodi-pvr-octonet/kodi-pvr-octonet.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 091ba0288a8c12d42f6352b453fb39bcace3174c8763f6cbe3dc8fef40a33f2b kodi-pvr-octonet-4.1.0-2-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-octonet/kodi-pvr-octonet.mk b/buildroot-2021.05/package/kodi-pvr-octonet/kodi-pvr-octonet.mk deleted file mode 100644 index becd43a4..00000000 --- a/buildroot-2021.05/package/kodi-pvr-octonet/kodi-pvr-octonet.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-octonet -# -################################################################################ - -KODI_PVR_OCTONET_VERSION = 4.1.0-2-Matrix -KODI_PVR_OCTONET_SITE = $(call github,DigitalDevices,pvr.octonet,$(KODI_PVR_OCTONET_VERSION)) -KODI_PVR_OCTONET_LICENSE = GPL-2.0+ -KODI_PVR_OCTONET_LICENSE_FILES = LICENSE.md -KODI_PVR_OCTONET_DEPENDENCIES = json-for-modern-cpp kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-pctv/kodi-pvr-pctv.hash b/buildroot-2021.05/package/kodi-pvr-pctv/kodi-pvr-pctv.hash deleted file mode 100644 index 0e3f464c..00000000 --- a/buildroot-2021.05/package/kodi-pvr-pctv/kodi-pvr-pctv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 94b8be4988cb6d8c61f6bdf237ddabb04d77fe4900f61411f5abf918eb5a078c kodi-pvr-pctv-6.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-pctv/kodi-pvr-pctv.mk b/buildroot-2021.05/package/kodi-pvr-pctv/kodi-pvr-pctv.mk deleted file mode 100644 index 78d500e3..00000000 --- a/buildroot-2021.05/package/kodi-pvr-pctv/kodi-pvr-pctv.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-pctv -# -################################################################################ - -KODI_PVR_PCTV_VERSION = 6.1.0-Matrix -KODI_PVR_PCTV_SITE = $(call github,kodi-pvr,pvr.pctv,$(KODI_PVR_PCTV_VERSION)) -KODI_PVR_PCTV_LICENSE = GPL-2.0+ -KODI_PVR_PCTV_LICENSE_FILES = LICENSE.md -KODI_PVR_PCTV_DEPENDENCIES = jsoncpp kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-stalker/kodi-pvr-stalker.hash b/buildroot-2021.05/package/kodi-pvr-stalker/kodi-pvr-stalker.hash deleted file mode 100644 index 545af9ec..00000000 --- a/buildroot-2021.05/package/kodi-pvr-stalker/kodi-pvr-stalker.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 bce055008d0ae7212924f41753970e3176a218f6a45bd76b202463a43be3d192 kodi-pvr-stalker-7.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-stalker/kodi-pvr-stalker.mk b/buildroot-2021.05/package/kodi-pvr-stalker/kodi-pvr-stalker.mk deleted file mode 100644 index 5ca46698..00000000 --- a/buildroot-2021.05/package/kodi-pvr-stalker/kodi-pvr-stalker.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-stalker -# -################################################################################ - -KODI_PVR_STALKER_VERSION = 7.1.0-Matrix -KODI_PVR_STALKER_SITE = $(call github,kodi-pvr,pvr.stalker,$(KODI_PVR_STALKER_VERSION)) -KODI_PVR_STALKER_LICENSE = GPL-2.0+ -KODI_PVR_STALKER_LICENSE_FILES = LICENSE.md -KODI_PVR_STALKER_DEPENDENCIES = jsoncpp kodi libxml2 - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-vbox/kodi-pvr-vbox.hash b/buildroot-2021.05/package/kodi-pvr-vbox/kodi-pvr-vbox.hash deleted file mode 100644 index dc186f63..00000000 --- a/buildroot-2021.05/package/kodi-pvr-vbox/kodi-pvr-vbox.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 b30548dfbf892f7bedbf191b5a9d93fa978fb794f897268876a1e607518e15af kodi-pvr-vbox-8.1.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-vbox/kodi-pvr-vbox.mk b/buildroot-2021.05/package/kodi-pvr-vbox/kodi-pvr-vbox.mk deleted file mode 100644 index 9ce667d4..00000000 --- a/buildroot-2021.05/package/kodi-pvr-vbox/kodi-pvr-vbox.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-vbox -# -################################################################################ - -KODI_PVR_VBOX_VERSION = 8.1.0-Matrix -KODI_PVR_VBOX_SITE = $(call github,kodi-pvr,pvr.vbox,$(KODI_PVR_VBOX_VERSION)) -KODI_PVR_VBOX_LICENSE = GPL-2.0+ -KODI_PVR_VBOX_LICENSE_FILES = LICENSE.md -KODI_PVR_VBOX_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash b/buildroot-2021.05/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash deleted file mode 100644 index 8b6548de..00000000 --- a/buildroot-2021.05/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 aebb00f433b93256760960149e41647d65c84fdf6a78d7467df304f26c8bc4b2 kodi-pvr-vdr-vnsi-8.2.2-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk b/buildroot-2021.05/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk deleted file mode 100644 index 4eff02f2..00000000 --- a/buildroot-2021.05/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-vdr-vnsi -# -################################################################################ - -KODI_PVR_VDR_VNSI_VERSION = 8.2.2-Matrix -KODI_PVR_VDR_VNSI_SITE = $(call github,kodi-pvr,pvr.vdr.vnsi,$(KODI_PVR_VDR_VNSI_VERSION)) -KODI_PVR_VDR_VNSI_LICENSE = GPL-2.0+ -KODI_PVR_VDR_VNSI_LICENSE_FILES = LICENSE.md -KODI_PVR_VDR_VNSI_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash b/buildroot-2021.05/package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash deleted file mode 100644 index cc492374..00000000 --- a/buildroot-2021.05/package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 0845aeb136395cad979d9d4c687a8a2bd0b30e361ac9569368d564ec88316a5e kodi-pvr-vuplus-7.4.3-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk b/buildroot-2021.05/package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk deleted file mode 100644 index 1f0b9131..00000000 --- a/buildroot-2021.05/package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-vuplus -# -################################################################################ - -KODI_PVR_VUPLUS_VERSION = 7.4.3-Matrix -KODI_PVR_VUPLUS_SITE = $(call github,kodi-pvr,pvr.vuplus,$(KODI_PVR_VUPLUS_VERSION)) -KODI_PVR_VUPLUS_LICENSE = GPL-2.0+ -KODI_PVR_VUPLUS_LICENSE_FILES = LICENSE.md -KODI_PVR_VUPLUS_DEPENDENCIES = json-for-modern-cpp kodi tinyxml - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-wmc/kodi-pvr-wmc.hash b/buildroot-2021.05/package/kodi-pvr-wmc/kodi-pvr-wmc.hash deleted file mode 100644 index 0da7c17c..00000000 --- a/buildroot-2021.05/package/kodi-pvr-wmc/kodi-pvr-wmc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 b58b4d6d2358faf5887133ea1794a2d3f8b35f77411aacafa569d45f7bc4bb3a kodi-pvr-wmc-6.1.1-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-wmc/kodi-pvr-wmc.mk b/buildroot-2021.05/package/kodi-pvr-wmc/kodi-pvr-wmc.mk deleted file mode 100644 index 7135fda9..00000000 --- a/buildroot-2021.05/package/kodi-pvr-wmc/kodi-pvr-wmc.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-wmc -# -################################################################################ - -KODI_PVR_WMC_VERSION = 6.1.1-Matrix -KODI_PVR_WMC_SITE = $(call github,kodi-pvr,pvr.wmc,$(KODI_PVR_WMC_VERSION)) -KODI_PVR_WMC_LICENSE = GPL-2.0+ -KODI_PVR_WMC_LICENSE_FILES = LICENSE.md -KODI_PVR_WMC_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/buildroot-2021.05/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash deleted file mode 100644 index 138ad19b..00000000 --- a/buildroot-2021.05/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 d0dee5802592aa1fd53c3835e373b2c49bdc3121575273bf2a0c8ebf1a40bd2c kodi-pvr-zattoo-19.7.9-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/buildroot-2021.05/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk deleted file mode 100644 index 554fd394..00000000 --- a/buildroot-2021.05/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-pvr-zattoo -# -################################################################################ - -KODI_PVR_ZATTOO_VERSION = 19.7.9-Matrix -KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) -KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ -KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md -KODI_PVR_ZATTOO_DEPENDENCIES = kodi rapidjson tinyxml2 - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.hash b/buildroot-2021.05/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.hash deleted file mode 100644 index a8886d27..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 b60d0123dd2ad2326a03b2a66a3cdba3ac17f0a109c4ecedc3216699ca28cae2 kodi-screensaver-asteroids-2.6.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk b/buildroot-2021.05/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk deleted file mode 100644 index add0ca5b..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-screensaver-asteroids -# -################################################################################ - -KODI_SCREENSAVER_ASTEROIDS_VERSION = 2.6.0-Matrix -KODI_SCREENSAVER_ASTEROIDS_SITE = $(call github,xbmc,screensaver.asteroids,$(KODI_SCREENSAVER_ASTEROIDS_VERSION)) -KODI_SCREENSAVER_ASTEROIDS_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_ASTEROIDS_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_ASTEROIDS_DEPENDENCIES = glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.hash b/buildroot-2021.05/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.hash deleted file mode 100644 index 8b470701..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 4645ea5923df5a2cae84887b743c3963940344439c37ca2e18896d082ac76b1d kodi-screensaver-asterwave-3.3.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.mk b/buildroot-2021.05/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.mk deleted file mode 100644 index 9e768fce..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# kodi-screensaver-asterwave -# -################################################################################ - -KODI_SCREENSAVER_ASTERWAVE_VERSION = 3.3.0-Matrix -KODI_SCREENSAVER_ASTERWAVE_SITE = $(call github,xbmc,screensaver.asterwave,$(KODI_SCREENSAVER_ASTERWAVE_VERSION)) -KODI_SCREENSAVER_ASTERWAVE_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_ASTERWAVE_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_ASTERWAVE_DEPENDENCIES = glm kodi - -KODI_SCREENSAVER_ASTERWAVE_CONF_OPTS += \ - -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)" \ - -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.hash b/buildroot-2021.05/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.hash deleted file mode 100644 index 1f2c5e63..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 bf56384e6956674cd911c52b2807993d0a6e0ffa9623b5a1981a3153911e135a kodi-screensaver-biogenesis-2.5.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.mk b/buildroot-2021.05/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.mk deleted file mode 100644 index 8b2d6b2e..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-screensaver-biogenesis -# -################################################################################ - -KODI_SCREENSAVER_BIOGENESIS_VERSION = 2.5.0-Matrix -KODI_SCREENSAVER_BIOGENESIS_SITE = $(call github,xbmc,screensaver.biogenesis,$(KODI_SCREENSAVER_BIOGENESIS_VERSION)) -KODI_SCREENSAVER_BIOGENESIS_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_BIOGENESIS_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_BIOGENESIS_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.hash b/buildroot-2021.05/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.hash deleted file mode 100644 index bc77c362..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 eda36572da291d870dacbf3ad596e4ff3daed96350d9585583c279b55cfdc34a kodi-screensaver-cpblobs-3.4.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.mk b/buildroot-2021.05/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.mk deleted file mode 100644 index 628f254a..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# kodi-screensaver-cpblobs -# -################################################################################ - -KODI_SCREENSAVER_CPBLOBS_VERSION = 3.4.0-Matrix -KODI_SCREENSAVER_CPBLOBS_SITE = $(call github,xbmc,screensaver.cpblobs,$(KODI_SCREENSAVER_CPBLOBS_VERSION)) -KODI_SCREENSAVER_CPBLOBS_LICENSE = GPL-2.0 -KODI_SCREENSAVER_CPBLOBS_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_CPBLOBS_DEPENDENCIES = glm kodi - -KODI_SCREENSAVER_CPBLOBS_CONF_OPTS += \ - -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)" \ - -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.hash b/buildroot-2021.05/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.hash deleted file mode 100644 index d1f49922..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 093c77ad332dc5797f1866895218d6c6b4490ef1f9bd4cbdf15c000c3b881798 kodi-screensaver-greynetic-2.5.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.mk b/buildroot-2021.05/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.mk deleted file mode 100644 index b7c4a15b..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-screensaver-greynetic -# -################################################################################ - -KODI_SCREENSAVER_GREYNETIC_VERSION = 2.5.0-Matrix -KODI_SCREENSAVER_GREYNETIC_SITE = $(call github,xbmc,screensaver.greynetic,$(KODI_SCREENSAVER_GREYNETIC_VERSION)) -KODI_SCREENSAVER_GREYNETIC_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_GREYNETIC_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_GREYNETIC_DEPENDENCIES = glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.hash b/buildroot-2021.05/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.hash deleted file mode 100644 index 1f35f11b..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 49986b82e7319e25ef2b3ec84b3892bbf1cb0b5253bd541da730c5cf5dd1940b kodi-screensaver-matrixtrails-2.6.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.mk b/buildroot-2021.05/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.mk deleted file mode 100644 index a89ea72d..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# kodi-screensaver-matrixtrails -# -################################################################################ - -KODI_SCREENSAVER_MATRIXTRAILS_VERSION = 2.6.0-Matrix -KODI_SCREENSAVER_MATRIXTRAILS_SITE = $(call github,xbmc,screensaver.matrixtrails,$(KODI_SCREENSAVER_MATRIXTRAILS_VERSION)) -KODI_SCREENSAVER_MATRIXTRAILS_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_MATRIXTRAILS_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_MATRIXTRAILS_DEPENDENCIES = kodi - -KODI_SCREENSAVER_MATRIXTRAILS_CONF_OPTS += \ - -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)" \ - -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(shell $(PKG_CONFIG_HOST_BINARY) --cflags egl)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.hash b/buildroot-2021.05/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.hash deleted file mode 100644 index 245fdfdb..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 c38cda571b345d61882b43cea839536fa6fbfbb08e07231e8d8bc8adb8d28c08 kodi-screensaver-pingpong-2.4.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.mk b/buildroot-2021.05/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.mk deleted file mode 100644 index cd794128..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-screensaver-pingpong -# -################################################################################ - -KODI_SCREENSAVER_PINGPONG_VERSION = 2.4.0-Matrix -KODI_SCREENSAVER_PINGPONG_SITE = $(call github,xbmc,screensaver.pingpong,$(KODI_SCREENSAVER_PINGPONG_VERSION)) -KODI_SCREENSAVER_PINGPONG_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_PINGPONG_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_PINGPONG_DEPENDENCIES = glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-pyro/kodi-screensaver-pyro.hash b/buildroot-2021.05/package/kodi-screensaver-pyro/kodi-screensaver-pyro.hash deleted file mode 100644 index db4244e8..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-pyro/kodi-screensaver-pyro.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 83a3375166d6aaed01939bc370981ad46909fe1f1365fe7af22d4614fa6d06e6 kodi-screensaver-pyro-3.3.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-pyro/kodi-screensaver-pyro.mk b/buildroot-2021.05/package/kodi-screensaver-pyro/kodi-screensaver-pyro.mk deleted file mode 100644 index dac03c63..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-pyro/kodi-screensaver-pyro.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-screensaver-pyro -# -################################################################################ - -KODI_SCREENSAVER_PYRO_VERSION = 3.3.0-Matrix -KODI_SCREENSAVER_PYRO_SITE = $(call github,xbmc,screensaver.pyro,$(KODI_SCREENSAVER_PYRO_VERSION)) -KODI_SCREENSAVER_PYRO_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_PYRO_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_PYRO_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash b/buildroot-2021.05/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash deleted file mode 100644 index ceb8d360..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 343ecedbf6cfb75d43bb94e805aae807d61b0cd4f681a05c126f65839e3687a3 kodi-screensaver-rsxs-21c65de59546bde770225f023747a39b345baffd.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk b/buildroot-2021.05/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk deleted file mode 100644 index 9b839b31..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-screensaver-rsxs -# -################################################################################ - -KODI_SCREENSAVER_RSXS_VERSION = 21c65de59546bde770225f023747a39b345baffd -KODI_SCREENSAVER_RSXS_SITE = $(call github,xbmc,screensavers.rsxs,$(KODI_SCREENSAVER_RSXS_VERSION)) -KODI_SCREENSAVER_RSXS_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_RSXS_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_RSXS_DEPENDENCIES = bzip2 gli glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-stars/kodi-screensaver-stars.hash b/buildroot-2021.05/package/kodi-screensaver-stars/kodi-screensaver-stars.hash deleted file mode 100644 index b98c4baa..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-stars/kodi-screensaver-stars.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 868105f6381bf5439f8c67d54dda00f2108a4363f4b25dfb12787ed65b602f0d kodi-screensaver-stars-2.4.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-screensaver-stars/kodi-screensaver-stars.mk b/buildroot-2021.05/package/kodi-screensaver-stars/kodi-screensaver-stars.mk deleted file mode 100644 index c062de94..00000000 --- a/buildroot-2021.05/package/kodi-screensaver-stars/kodi-screensaver-stars.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-screensaver-stars -# -################################################################################ - -KODI_SCREENSAVER_STARS_VERSION = 2.4.0-Matrix -KODI_SCREENSAVER_STARS_SITE = $(call github,xbmc,screensaver.stars,$(KODI_SCREENSAVER_STARS_VERSION)) -KODI_SCREENSAVER_STARS_LICENSE = GPL-2.0+ -KODI_SCREENSAVER_STARS_LICENSE_FILES = LICENSE.md -KODI_SCREENSAVER_STARS_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-texturepacker/kodi-texturepacker.mk b/buildroot-2021.05/package/kodi-texturepacker/kodi-texturepacker.mk deleted file mode 100644 index c50387e8..00000000 --- a/buildroot-2021.05/package/kodi-texturepacker/kodi-texturepacker.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# kodi-texturepacker -# -################################################################################ - -# Not possible to directly refer to kodi variables, because of -# first/second expansion trickery... -KODI_TEXTUREPACKER_VERSION = 19.1-Matrix -KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION)) -KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz -KODI_TEXTUREPACKER_DL_SUBDIR = kodi -KODI_TEXTUREPACKER_LICENSE = GPL-2.0 -KODI_TEXTUREPACKER_LICENSE_FILES = LICENSE.md -HOST_KODI_TEXTUREPACKER_SUBDIR = tools/depends/native/TexturePacker -HOST_KODI_TEXTUREPACKER_DEPENDENCIES = \ - host-giflib \ - host-libjpeg \ - host-libpng \ - host-lzo - -HOST_KODI_TEXTUREPACKER_CXXFLAGS = \ - $(HOST_CXXFLAGS) \ - -std=c++0x \ - -DTARGET_POSIX \ - -DTARGET_LINUX \ - -D_LINUX \ - -I$(@D)/xbmc/linux - -HOST_KODI_TEXTUREPACKER_CONF_OPTS += \ - -DCMAKE_CXX_FLAGS="$(HOST_KODI_TEXTUREPACKER_CXXFLAGS)" \ - -DCMAKE_MODULE_PATH=$(@D)/cmake/modules \ - -Wno-dev - -define HOST_KODI_TEXTUREPACKER_INSTALL_CMDS - $(INSTALL) -m 755 -D \ - $(@D)/tools/depends/native/TexturePacker/TexturePacker \ - $(HOST_DIR)/bin/TexturePacker -endef - -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/kodi-vfs-libarchive/kodi-vfs-libarchive.hash b/buildroot-2021.05/package/kodi-vfs-libarchive/kodi-vfs-libarchive.hash deleted file mode 100644 index 32276314..00000000 --- a/buildroot-2021.05/package/kodi-vfs-libarchive/kodi-vfs-libarchive.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 87ad2ba0d0d9c7dcaf66a28c0f5c454ec8b4b227fdbb271cb73d143f7d9dd4b7 kodi-vfs-libarchive-2.0.1-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-vfs-libarchive/kodi-vfs-libarchive.mk b/buildroot-2021.05/package/kodi-vfs-libarchive/kodi-vfs-libarchive.mk deleted file mode 100644 index f8bf58c5..00000000 --- a/buildroot-2021.05/package/kodi-vfs-libarchive/kodi-vfs-libarchive.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# kodi-vfs-libarchive -# -################################################################################ - -KODI_VFS_LIBARCHIVE_VERSION = 2.0.1-Matrix -KODI_VFS_LIBARCHIVE_SITE = $(call github,xbmc,vfs.libarchive,$(KODI_VFS_LIBARCHIVE_VERSION)) -KODI_VFS_LIBARCHIVE_LICENSE = GPL-2.0+ -KODI_VFS_LIBARCHIVE_LICENSE_FILES = LICENSE.md -KODI_VFS_LIBARCHIVE_DEPENDENCIES = \ - bzip2 \ - kodi \ - libarchive \ - lz4 \ - lzo \ - openssl \ - xz \ - zlib - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-vfs-rar/kodi-vfs-rar.hash b/buildroot-2021.05/package/kodi-vfs-rar/kodi-vfs-rar.hash deleted file mode 100644 index e4d0f7fe..00000000 --- a/buildroot-2021.05/package/kodi-vfs-rar/kodi-vfs-rar.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed -sha256 1111d1f90cc4addc2adb0884b779f4b47e30abb2766ba1708053e5f100b514bf kodi-vfs-rar-4.0.0-Matrix.tar.gz -# License files -sha256 6ecc1687808b7d66b24f874755abfed7464d9751ed0001cd4e8e5d9bf397ff8a lib/UnrarXLib/license.txt -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-vfs-rar/kodi-vfs-rar.mk b/buildroot-2021.05/package/kodi-vfs-rar/kodi-vfs-rar.mk deleted file mode 100644 index 001bd7c6..00000000 --- a/buildroot-2021.05/package/kodi-vfs-rar/kodi-vfs-rar.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-vfs-rar -# -################################################################################ - -KODI_VFS_RAR_VERSION = 4.0.0-Matrix -KODI_VFS_RAR_SITE = $(call github,xbmc,vfs.rar,$(KODI_VFS_RAR_VERSION)) -KODI_VFS_RAR_LICENSE = unrar, GPL-2.0+ -KODI_VFS_RAR_LICENSE_FILES = lib/UnrarXLib/license.txt LICENSE.md -KODI_VFS_RAR_DEPENDENCIES = kodi tinyxml - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-vfs-sftp/kodi-vfs-sftp.hash b/buildroot-2021.05/package/kodi-vfs-sftp/kodi-vfs-sftp.hash deleted file mode 100644 index d12a8543..00000000 --- a/buildroot-2021.05/package/kodi-vfs-sftp/kodi-vfs-sftp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 b15c5dde7b3aadb3e82e61cb9b0440812b6c2f65b38c6c25aef726f97e746f68 kodi-vfs-sftp-2.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-vfs-sftp/kodi-vfs-sftp.mk b/buildroot-2021.05/package/kodi-vfs-sftp/kodi-vfs-sftp.mk deleted file mode 100644 index b1b0bef3..00000000 --- a/buildroot-2021.05/package/kodi-vfs-sftp/kodi-vfs-sftp.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-vfs-sftp -# -################################################################################ - -KODI_VFS_SFTP_VERSION = 2.0.0-Matrix -KODI_VFS_SFTP_SITE = $(call github,xbmc,vfs.sftp,$(KODI_VFS_SFTP_VERSION)) -KODI_VFS_SFTP_LICENSE = GPL-2.0+ -KODI_VFS_SFTP_LICENSE_FILES = LICENSE.md -KODI_VFS_SFTP_DEPENDENCIES = kodi libssh openssl zlib - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-fishbmc/Config.in b/buildroot-2021.05/package/kodi-visualisation-fishbmc/Config.in deleted file mode 100644 index 66c1565b..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-fishbmc/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_KODI_VISUALISATION_FISHBMC - bool "kodi-visualisation-fishbmc" - help - Fische visualiser for Kodi - - https://github.com/xbmc/visualization.fishbmc diff --git a/buildroot-2021.05/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.hash b/buildroot-2021.05/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.hash deleted file mode 100644 index f03602c0..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 fd6a4383e36ed67590d40eb945d11bc5eae0c83e0ea56bfcadbc0ff03de0b2a4 kodi-visualisation-fishbmc-6.3.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.mk b/buildroot-2021.05/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.mk deleted file mode 100644 index ecb118e5..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-visualisation-fishbmc -# -################################################################################ - -KODI_VISUALISATION_FISHBMC_VERSION = 6.3.0-Matrix -KODI_VISUALISATION_FISHBMC_SITE = $(call github,xbmc,visualization.fishbmc,$(KODI_VISUALISATION_FISHBMC_VERSION)) -KODI_VISUALISATION_FISHBMC_LICENSE = GPL-2.0+ -KODI_VISUALISATION_FISHBMC_LICENSE_FILES = LICENSE.md -KODI_VISUALISATION_FISHBMC_DEPENDENCIES = kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-goom/kodi-visualisation-goom.hash b/buildroot-2021.05/package/kodi-visualisation-goom/kodi-visualisation-goom.hash deleted file mode 100644 index ab5bda33..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-goom/kodi-visualisation-goom.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 8de34cd33977bb8fa5fd721993341f7d64bbf5b08e481438740287dd2a366079 kodi-visualisation-goom-3.4.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-visualisation-goom/kodi-visualisation-goom.mk b/buildroot-2021.05/package/kodi-visualisation-goom/kodi-visualisation-goom.mk deleted file mode 100644 index 45f2f05e..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-goom/kodi-visualisation-goom.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# kodi-visualisation-goom -# -################################################################################ - -KODI_VISUALISATION_GOOM_VERSION = 3.4.0-Matrix -KODI_VISUALISATION_GOOM_SITE = $(call github,xbmc,visualization.goom,$(KODI_VISUALISATION_GOOM_VERSION)) -KODI_VISUALISATION_GOOM_LICENSE = GPL-2.0+ -KODI_VISUALISATION_GOOM_LICENSE_FILES = LICENSE.md - -KODI_VISUALISATION_GOOM_DEPENDENCIES = glm kodi - -KODI_VISUALISATION_GOOM_CONF_OPTS += \ - -DCMAKE_C_FLAGS="-std=c11" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-matrix/kodi-visualisation-matrix.hash b/buildroot-2021.05/package/kodi-visualisation-matrix/kodi-visualisation-matrix.hash deleted file mode 100644 index 38b9311d..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-matrix/kodi-visualisation-matrix.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 fc5c4790cbf957dbf8d504ae7c43eaeca122fde6423f1135029ff053135f8fd0 kodi-visualisation-matrix-1.0.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-visualisation-matrix/kodi-visualisation-matrix.mk b/buildroot-2021.05/package/kodi-visualisation-matrix/kodi-visualisation-matrix.mk deleted file mode 100644 index 153c1c15..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-matrix/kodi-visualisation-matrix.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-visualisation-matrix -# -################################################################################ - -KODI_VISUALISATION_MATRIX_VERSION = 1.0.0-Matrix -KODI_VISUALISATION_MATRIX_SITE = $(call github,xbmc,visualization.matrix,$(KODI_VISUALISATION_MATRIX_VERSION)) -KODI_VISUALISATION_MATRIX_LICENSE = GPL-2.0+ -KODI_VISUALISATION_MATRIX_LICENSE_FILES = LICENSE.md -KODI_VISUALISATION_MATRIX_DEPENDENCIES = glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-shadertoy/Config.in b/buildroot-2021.05/package/kodi-visualisation-shadertoy/Config.in deleted file mode 100644 index aa671aae..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-shadertoy/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_KODI_VISUALISATION_SHADERTOY - bool "kodi-visualisation-shadertoy" - select BR2_PACKAGE_GLM - help - Shadertoy visualiser for Kodi - - https://github.com/notspiff/visualization.shadertoy diff --git a/buildroot-2021.05/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.hash b/buildroot-2021.05/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.hash deleted file mode 100644 index 8ecdfb6d..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 fbee4d8d4a41013705848eb89d4dcd55fe915a1ff997a60c800aa1bdd157530b kodi-visualisation-shadertoy-2.3.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk b/buildroot-2021.05/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk deleted file mode 100644 index f5ad505f..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-visualisation-shadertoy -# -################################################################################ - -KODI_VISUALISATION_SHADERTOY_VERSION = 2.3.0-Matrix -KODI_VISUALISATION_SHADERTOY_SITE = $(call github,xbmc,visualization.shadertoy,$(KODI_VISUALISATION_SHADERTOY_VERSION)) -KODI_VISUALISATION_SHADERTOY_LICENSE = GPL-2.0+ -KODI_VISUALISATION_SHADERTOY_LICENSE_FILES = LICENSE.md -KODI_VISUALISATION_SHADERTOY_DEPENDENCIES = glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.hash b/buildroot-2021.05/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.hash deleted file mode 100644 index e6473ab0..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 0b08b99c0289a421425a5d3b39eafdf6262021e213bd3093e98704efb410d348 kodi-visualisation-spectrum-3.4.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.mk b/buildroot-2021.05/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.mk deleted file mode 100644 index 42abc156..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-visualisation-spectrum -# -################################################################################ - -KODI_VISUALISATION_SPECTRUM_VERSION = 3.4.0-Matrix -KODI_VISUALISATION_SPECTRUM_SITE = $(call github,xbmc,visualization.spectrum,$(KODI_VISUALISATION_SPECTRUM_VERSION)) -KODI_VISUALISATION_SPECTRUM_LICENSE = GPL-2.0+ -KODI_VISUALISATION_SPECTRUM_LICENSE_FILES = LICENSE.md -KODI_VISUALISATION_SPECTRUM_DEPENDENCIES = glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-starburst/kodi-visualisation-starburst.hash b/buildroot-2021.05/package/kodi-visualisation-starburst/kodi-visualisation-starburst.hash deleted file mode 100644 index b08da978..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-starburst/kodi-visualisation-starburst.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 fb991924b8f9a4f86d81b28ec629c131d36364f82914098356184c9ef03e753e kodi-visualisation-starburst-2.4.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-visualisation-starburst/kodi-visualisation-starburst.mk b/buildroot-2021.05/package/kodi-visualisation-starburst/kodi-visualisation-starburst.mk deleted file mode 100644 index f19a82bf..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-starburst/kodi-visualisation-starburst.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-visualisation-starburst -# -################################################################################ - -KODI_VISUALISATION_STARBURST_VERSION = 2.4.0-Matrix -KODI_VISUALISATION_STARBURST_SITE = $(call github,xbmc,visualization.starburst,$(KODI_VISUALISATION_STARBURST_VERSION)) -KODI_VISUALISATION_STARBURST_LICENSE = GPL-2.0+ -KODI_VISUALISATION_STARBURST_LICENSE_FILES = LICENSE.md -KODI_VISUALISATION_STARBURST_DEPENDENCIES = glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-waveform/kodi-visualisation-waveform.hash b/buildroot-2021.05/package/kodi-visualisation-waveform/kodi-visualisation-waveform.hash deleted file mode 100644 index 1255b6ed..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-waveform/kodi-visualisation-waveform.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 d9acf0a3758bfc4ee6fa492bcdcf8764519bbf0f1b6a3b10807b65a0d031e55e kodi-visualisation-waveform-4.4.0-Matrix.tar.gz -sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2021.05/package/kodi-visualisation-waveform/kodi-visualisation-waveform.mk b/buildroot-2021.05/package/kodi-visualisation-waveform/kodi-visualisation-waveform.mk deleted file mode 100644 index 6c0ec3ac..00000000 --- a/buildroot-2021.05/package/kodi-visualisation-waveform/kodi-visualisation-waveform.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# kodi-visualisation-waveform -# -################################################################################ - -KODI_VISUALISATION_WAVEFORM_VERSION = 4.4.0-Matrix -KODI_VISUALISATION_WAVEFORM_SITE = $(call github,xbmc,visualization.waveform,$(KODI_VISUALISATION_WAVEFORM_VERSION)) -KODI_VISUALISATION_WAVEFORM_LICENSE = GPL-2.0+ -KODI_VISUALISATION_WAVEFORM_LICENSE_FILES = LICENSE.md -KODI_VISUALISATION_WAVEFORM_DEPENDENCIES = glm kodi - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi/Config.in b/buildroot-2021.05/package/kodi/Config.in deleted file mode 100644 index f4cfc638..00000000 --- a/buildroot-2021.05/package/kodi/Config.in +++ /dev/null @@ -1,364 +0,0 @@ -config BR2_PACKAGE_KODI_ARCH_SUPPORTS - bool - default y if BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - # i386: needs sse (see upstream PR 10351) - depends on !(BR2_i386 && !BR2_X86_CPU_HAS_SSE) - depends on BR2_USE_MMU # libcdio, and others - -comment "kodi needs python3 w/ .py modules, a uClibc or glibc toolchain w/ C++, threads, wchar, dynamic library, gcc >= 4.9" - depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_USE_WCHAR || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ - || BR2_TOOLCHAIN_USES_MUSL \ - || !BR2_PACKAGE_PYTHON3 \ - || BR2_PACKAGE_PYTHON3_PYC_ONLY - -config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS - bool - -config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM - bool - default y - depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES - depends on BR2_PACKAGE_MESA3D_GBM - depends on BR2_PACKAGE_HAS_UDEV # libinput - select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS - select BR2_PACKAGE_LIBINPUT - select BR2_PACKAGE_LIBXKBCOMMON - -config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND - bool - default y - depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES - depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # waylandpp - depends on BR2_HOST_GCC_AT_LEAST_4_9 # waylandpp - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # waylandpp - depends on BR2_INSTALL_LIBSTDCPP # waylandpp - depends on BR2_PACKAGE_WAYLAND # waylandpp - select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS - select BR2_PACKAGE_LIBXKBCOMMON - select BR2_PACKAGE_WAYLANDPP - -config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 - bool - default y - depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS - select BR2_PACKAGE_XLIB_LIBXRANDR - -comment "kodi needs an OpenGL EGL backend with OpenGL or GLES support" - depends on !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS - -menuconfig BR2_PACKAGE_KODI - bool "kodi" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_TOOLCHAIN_USES_MUSL - depends on BR2_USE_WCHAR - depends on !BR2_STATIC_LIBS # gnutls, python3 and others - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS - depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_PACKAGE_PYTHON3_PYC_ONLY - select BR2_NEEDS_HOST_JAVA - select BR2_PACKAGE_FFMPEG - select BR2_PACKAGE_FFMPEG_GPL - select BR2_PACKAGE_FFMPEG_POSTPROC - select BR2_PACKAGE_FFMPEG_SWSCALE - select BR2_PACKAGE_FLATBUFFERS - select BR2_PACKAGE_FMT - select BR2_PACKAGE_FONTCONFIG # needed for libass - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_FSTRCMP - select BR2_PACKAGE_LIBASS - select BR2_PACKAGE_LIBCDIO - select BR2_PACKAGE_LIBCROSSGUID - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_LIBFRIBIDI - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - select BR2_PACKAGE_LIBICONV_EXTRA_ENCODINGS if !BR2_ENABLE_LOCALE - select BR2_PACKAGE_LIBPLIST - select BR2_PACKAGE_LZO - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PCRE - select BR2_PACKAGE_PCRE_UCP - select BR2_PACKAGE_PYTHON3_2TO3 - select BR2_PACKAGE_PYTHON3_PYEXPAT - select BR2_PACKAGE_PYTHON3_SQLITE - select BR2_PACKAGE_PYTHON3_SSL - select BR2_PACKAGE_PYTHON3_UNICODEDATA - select BR2_PACKAGE_PYTHON3_ZLIB - select BR2_PACKAGE_RAPIDJSON - select BR2_PACKAGE_SPDLOG - select BR2_PACKAGE_SQLITE - select BR2_PACKAGE_TAGLIB - select BR2_PACKAGE_TINYXML - select BR2_PACKAGE_ZLIB - select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY if BR2_TOOLCHAIN_USES_GLIBC # runtime UTF conversion support - help - Kodi is an award-winning free and open source (GPL) software - media player and entertainment hub for digital media. - - http://kodi.tv - -if BR2_PACKAGE_KODI - -config BR2_PACKAGE_KODI_ALSA_LIB - bool "alsa" - select BR2_PACKAGE_ALSA_LIB - help - Enable alsa support. - -config BR2_PACKAGE_KODI_AVAHI - bool "avahi" - select BR2_PACKAGE_AVAHI - select BR2_PACKAGE_AVAHI_DAEMON - help - Enable Avahi support. - Select this if you want Kodi to support Bonjour protocol. - -config BR2_PACKAGE_KODI_BLUEZ - bool "bluetooth" - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils - select BR2_PACKAGE_BLUEZ5_UTILS - help - Enable bluetooth support - -config BR2_PACKAGE_KODI_DBUS - bool "dbus" - select BR2_PACKAGE_DBUS - help - Enable D-Bus support - -config BR2_PACKAGE_KODI_EVENTCLIENTS - bool "eventclients" - help - Enable event clients support - - https://github.com/xbmc/xbmc/blob/master/tools/EventClients/README.txt - -config BR2_PACKAGE_KODI_LIBBLURAY - bool "blu-ray" - select BR2_PACKAGE_LIBBLURAY - help - Enable Blu-ray input support. - Select this if you want to play back Blu-ray content. - -config BR2_PACKAGE_KODI_LIBCEC - bool "hdmi cec" - select BR2_PACKAGE_LIBCEC - help - Enable CEC (Consumer Electronics Control) support. - Select this if you want Kodi to support HDMI CEC. - -config BR2_PACKAGE_KODI_LCMS2 - bool "lcms2" - select BR2_PACKAGE_LCMS2 - help - Enable color management support. - -config BR2_PACKAGE_KODI_LIBMICROHTTPD - bool "web server" - select BR2_PACKAGE_LIBMICROHTTPD - help - Enable webserver feature - -config BR2_PACKAGE_KODI_LIBNFS - bool "nfs" - # libnfs -> libtirpc - depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBNFS - help - Enable NFS server support. - -comment "nfs support needs a toolchain w/ threads support" - depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) - -config BR2_PACKAGE_KODI_MYSQL - bool "mysql" - select BR2_PACKAGE_MYSQL - help - Enable MySQL support - -choice - prompt "render system" - default BR2_PACKAGE_KODI_RENDER_SYSTEM_GL - -config BR2_PACKAGE_KODI_RENDER_SYSTEM_GL - bool "OpenGL" - depends on BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_LIBGLU - -config BR2_PACKAGE_KODI_RENDER_SYSTEM_GLES - bool "GLES" - depends on BR2_PACKAGE_HAS_LIBGLES - -endchoice - -config BR2_PACKAGE_KODI_PULSEAUDIO - bool "pulseaudio" - depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC - # Pulseaudio support in kodi needs glib support in Pulseaudio, - # see FindPulseAudio.cmake. Kodi meets all dependencies of - # libglib2, so there is no need to propagate them here. - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_PULSEAUDIO - help - Enable Pulseaudio support. - -config BR2_PACKAGE_KODI_LIBSHAIRPLAY - bool "shairport" - select BR2_PACKAGE_LIBSHAIRPLAY - help - Enable Shairport support. - Select this if you want to stream content from an Apple - device. - -config BR2_PACKAGE_KODI_LIBSMBCLIENT - bool "samba" - depends on BR2_PACKAGE_SAMBA4 - help - Enable Samba support - -config BR2_PACKAGE_KODI_LIBUSB - bool "usb" - # https://github.com/xbmc/xbmc/blob/Jarvis/configure.ac#L1554 - # "if libudev is available, we don't need libusb" - depends on !BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT - help - Enable libusb support. - -config BR2_PACKAGE_KODI_LIBVA - bool "va" - depends on \ - BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM || \ - BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND || \ - (BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 && \ - BR2_PACKAGE_KODI_RENDER_SYSTEM_GL) - select BR2_PACKAGE_LIBVA - help - Enable libva support. - -comment "libva support needs platform 'gbm', 'Wayland' or 'X11/OpenGL'" - depends on \ - !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM && \ - !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND && \ - (!BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 || \ - !BR2_PACKAGE_KODI_RENDER_SYSTEM_GL) - -config BR2_PACKAGE_KODI_LIBVDPAU - bool "vdpau" - depends on BR2_PACKAGE_KODI_PLATFORM_X11 && \ - BR2_PACKAGE_KODI_RENDER_SYSTEM_GL - select BR2_PACKAGE_LIBVDPAU - help - Enable libvdpau support. - -comment "libvdpau support needs platform 'X11/OpenGL'" - depends on !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 || \ - !BR2_PACKAGE_KODI_RENDER_SYSTEM_GL - -config BR2_PACKAGE_KODI_UPNP - bool "upnp" - help - Enable UPnP support - -config BR2_PACKAGE_KODI_OPTICALDRIVE - bool "optical drives" - help - Add support for optical drives, to read e.g. DVDs... - -menu "Audio decoder addons" - source "package/kodi-audiodecoder-modplug/Config.in" - source "package/kodi-audiodecoder-nosefart/Config.in" - source "package/kodi-audiodecoder-sidplay/Config.in" - source "package/kodi-audiodecoder-snesapu/Config.in" - source "package/kodi-audiodecoder-stsound/Config.in" - source "package/kodi-audiodecoder-timidity/Config.in" - source "package/kodi-audiodecoder-vgmstream/Config.in" -endmenu - -menu "Audio encoder addons" - source "package/kodi-audioencoder-flac/Config.in" - source "package/kodi-audioencoder-lame/Config.in" - source "package/kodi-audioencoder-vorbis/Config.in" - source "package/kodi-audioencoder-wav/Config.in" -endmenu - -menu "Peripheral addons" - source "package/kodi-peripheral-joystick/Config.in" - source "package/kodi-peripheral-xarcade/Config.in" -endmenu - -menu "Inputstream addons" - source "package/kodi-inputstream-adaptive/Config.in" - source "package/kodi-inputstream-ffmpegdirect/Config.in" - source "package/kodi-inputstream-rtmp/Config.in" -endmenu - -menu "PVR addons" - source "package/kodi-pvr-argustv/Config.in" - source "package/kodi-pvr-dvblink/Config.in" - source "package/kodi-pvr-dvbviewer/Config.in" - source "package/kodi-pvr-filmon/Config.in" - source "package/kodi-pvr-hdhomerun/Config.in" - source "package/kodi-pvr-hts/Config.in" - source "package/kodi-pvr-iptvsimple/Config.in" - source "package/kodi-pvr-mediaportal-tvserver/Config.in" - source "package/kodi-pvr-mythtv/Config.in" - source "package/kodi-pvr-nextpvr/Config.in" - source "package/kodi-pvr-njoy/Config.in" - source "package/kodi-pvr-octonet/Config.in" - source "package/kodi-pvr-pctv/Config.in" - source "package/kodi-pvr-stalker/Config.in" - source "package/kodi-pvr-vbox/Config.in" - source "package/kodi-pvr-vdr-vnsi/Config.in" - source "package/kodi-pvr-vuplus/Config.in" - source "package/kodi-pvr-wmc/Config.in" - source "package/kodi-pvr-zattoo/Config.in" -endmenu - -menu "Screensavers" - source "package/kodi-screensaver-asteroids/Config.in" - source "package/kodi-screensaver-asterwave/Config.in" - source "package/kodi-screensaver-biogenesis/Config.in" - source "package/kodi-screensaver-cpblobs/Config.in" - source "package/kodi-screensaver-greynetic/Config.in" - source "package/kodi-screensaver-matrixtrails/Config.in" - source "package/kodi-screensaver-pingpong/Config.in" - source "package/kodi-screensaver-pyro/Config.in" - source "package/kodi-screensaver-rsxs/Config.in" - source "package/kodi-screensaver-stars/Config.in" -endmenu - -menu "Skins" - source "package/kodi-skin-confluence/Config.in" -endmenu - -menu "Virtual file systems" - source "package/kodi-vfs-libarchive/Config.in" - source "package/kodi-vfs-rar/Config.in" - source "package/kodi-vfs-sftp/Config.in" -endmenu - -menu "Visualisations" - source "package/kodi-visualisation-fishbmc/Config.in" - source "package/kodi-visualisation-goom/Config.in" - source "package/kodi-visualisation-matrix/Config.in" - source "package/kodi-visualisation-shadertoy/Config.in" - source "package/kodi-visualisation-spectrum/Config.in" - source "package/kodi-visualisation-starburst/Config.in" - source "package/kodi-visualisation-waveform/Config.in" -endmenu - -endif # BR2_PACKAGE_KODI diff --git a/buildroot-2021.05/package/kodi/kodi.hash b/buildroot-2021.05/package/kodi/kodi.hash deleted file mode 100644 index c8562ce9..00000000 --- a/buildroot-2021.05/package/kodi/kodi.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally computed -sha256 195a916a32057e259e6f42b49ba8f07cc6253460018851a52deb058ae938c58c kodi-19.1-Matrix.tar.gz -sha256 38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d kodi-libdvdcss-1.4.2-Leia-Beta-5.tar.gz -sha256 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a kodi-libdvdnav-6.0.0-Leia-Alpha-3.tar.gz -sha256 a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf kodi-libdvdread-6.0.0-Leia-Alpha-3.tar.gz -sha256 9d2396ef3e091d3b82bc84143e070700412984e8589513570f54e0675d1e8851 LICENSE.md diff --git a/buildroot-2021.05/package/kodi/kodi.mk b/buildroot-2021.05/package/kodi/kodi.mk deleted file mode 100644 index a5c9db1d..00000000 --- a/buildroot-2021.05/package/kodi/kodi.mk +++ /dev/null @@ -1,398 +0,0 @@ -################################################################################ -# -# kodi -# -################################################################################ - -# When updating the version, please also update kodi-jsonschemabuilder -# and kodi-texturepacker -KODI_VERSION_MAJOR = 19.1 -KODI_VERSION_NAME = Matrix -KODI_VERSION = $(KODI_VERSION_MAJOR)-$(KODI_VERSION_NAME) -KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION)) -KODI_LICENSE = GPL-2.0 -KODI_LICENSE_FILES = LICENSE.md -KODI_CPE_ID_VENDOR = kodi -KODI_CPE_ID_VERSION = $(KODI_VERSION_MAJOR) -# needed for binary addons -KODI_INSTALL_STAGING = YES -# kodi recommends building out-of-source -KODI_SUPPORTS_IN_SOURCE_BUILD = NO -KODI_DEPENDENCIES = \ - ffmpeg \ - flatbuffers \ - fmt \ - fontconfig \ - freetype \ - fstrcmp \ - host-flatbuffers \ - host-gawk \ - host-gettext \ - host-gperf \ - host-kodi-jsonschemabuilder \ - host-kodi-texturepacker \ - host-nasm \ - host-swig \ - host-xmlstarlet \ - libass \ - libcdio \ - libcrossguid \ - libcurl \ - libdrm \ - libegl \ - libfribidi \ - libplist \ - lzo \ - openssl \ - pcre \ - python3 \ - rapidjson \ - spdlog \ - sqlite \ - taglib \ - tinyxml \ - zlib - -# taken from tools/depends/target/*/*-VERSION -KODI_LIBDVDCSS_VERSION = 1.4.2-Leia-Beta-5 -KODI_LIBDVDNAV_VERSION = 6.0.0-Leia-Alpha-3 -KODI_LIBDVDREAD_VERSION = 6.0.0-Leia-Alpha-3 -KODI_EXTRA_DOWNLOADS += \ - $(call github,xbmc,libdvdcss,$(KODI_LIBDVDCSS_VERSION))/kodi-libdvdcss-$(KODI_LIBDVDCSS_VERSION).tar.gz \ - $(call github,xbmc,libdvdnav,$(KODI_LIBDVDNAV_VERSION))/kodi-libdvdnav-$(KODI_LIBDVDNAV_VERSION).tar.gz \ - $(call github,xbmc,libdvdread,$(KODI_LIBDVDREAD_VERSION))/kodi-libdvdread-$(KODI_LIBDVDREAD_VERSION).tar.gz - -KODI_CONF_OPTS += \ - -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(KODI_C_FLAGS)" \ - -DENABLE_APP_AUTONAME=OFF \ - -DENABLE_CCACHE=OFF \ - -DENABLE_DVDCSS=ON \ - -DENABLE_INTERNAL_CROSSGUID=OFF \ - -DWITH_FFMPEG=$(STAGING_DIR)/usr \ - -DENABLE_INTERNAL_FLATBUFFERS=OFF \ - -DFLATBUFFERS_FLATC_EXECUTABLE=$(HOST_DIR)/bin/flatc \ - -DKODI_DEPENDSBUILD=OFF \ - -DENABLE_LDGOLD=OFF \ - -DNATIVEPREFIX=$(HOST_DIR) \ - -DDEPENDS_PATH=$(STAGING_DIR)/usr \ - -DENABLE_TESTING=OFF \ - -DWITH_JSONSCHEMABUILDER=$(HOST_DIR)/bin/JsonSchemaBuilder \ - -DWITH_TEXTUREPACKER=$(HOST_DIR)/bin/TexturePacker \ - -DLIBDVDCSS_URL=$(KODI_DL_DIR)/kodi-libdvdcss-$(KODI_LIBDVDCSS_VERSION).tar.gz \ - -DLIBDVDNAV_URL=$(KODI_DL_DIR)/kodi-libdvdnav-$(KODI_LIBDVDNAV_VERSION).tar.gz \ - -DLIBDVDREAD_URL=$(KODI_DL_DIR)/kodi-libdvdread-$(KODI_LIBDVDREAD_VERSION).tar.gz - -ifeq ($(BR2_PACKAGE_KODI_RENDER_SYSTEM_GL),y) -KODI_CONF_OPTS += -DAPP_RENDER_SYSTEM=gl -KODI_DEPENDENCIES += libgl libglu -else ifeq ($(BR2_PACKAGE_KODI_RENDER_SYSTEM_GLES),y) -KODI_CONF_OPTS += -DAPP_RENDER_SYSTEM=gles -KODI_DEPENDENCIES += libgles -endif - -ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM),y) -KODI_CORE_PLATFORM_NAME += gbm -KODI_DEPENDENCIES += libinput libxkbcommon mesa3d -endif - -ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND),y) -KODI_CONF_OPTS += \ - -DPC_WAYLANDPP_SCANNER=$(HOST_DIR)/bin/wayland-scanner \ - -DPC_WAYLANDPP_SCANNER_FOUND=ON -KODI_CORE_PLATFORM_NAME += wayland -KODI_DEPENDENCIES += libxkbcommon waylandpp -endif - -ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11),y) -KODI_CORE_PLATFORM_NAME += x11 -KODI_DEPENDENCIES += \ - xlib_libX11 \ - xlib_libXext \ - xlib_libXrandr -endif - -KODI_CONF_OPTS += -DCORE_PLATFORM_NAME="$(KODI_CORE_PLATFORM_NAME)" - -ifeq ($(BR2_ENABLE_LOCALE),) -KODI_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_arceb)$(BR2_arcle),y) -KODI_CONF_OPTS += -DWITH_ARCH=arc -DWITH_CPU=arc -else ifeq ($(BR2_armeb),y) -KODI_CONF_OPTS += -DWITH_ARCH=arm -DWITH_CPU=arm -else ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) -KODI_CONF_OPTS += \ - -DWITH_ARCH=mips$(if $(BR2_ARCH_IS_64),64) \ - -DWITH_CPU=mips$(if $(BR2_ARCH_IS_64),64) -else ifeq ($(BR2_powerpc)$(BR2_powerpc64le),y) -KODI_CONF_OPTS += \ - -DWITH_ARCH=powerpc$(if $(BR2_ARCH_IS_64),64) \ - -DWITH_CPU=powerpc$(if $(BR2_ARCH_IS_64),64) -else ifeq ($(BR2_powerpc64)$(BR2_sparc64)$(BR2_sh4)$(BR2_xtensa),y) -KODI_CONF_OPTS += -DWITH_ARCH=$(BR2_ARCH) -DWITH_CPU=$(BR2_ARCH) -else -# Kodi auto-detects ARCH, tested: arm, aarch64, i386, x86_64 -# see project/cmake/scripts/linux/ArchSetup.cmake -KODI_CONF_OPTS += -DWITH_CPU=$(BR2_ARCH) -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE),y) -KODI_CONF_OPTS += -D_SSE_OK=ON -D_SSE_TRUE=ON -else -KODI_CONF_OPTS += -D_SSE_OK=OFF -D_SSE_TRUE=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE2),y) -KODI_CONF_OPTS += -D_SSE2_OK=ON -D_SSE2_TRUE=ON -else -KODI_CONF_OPTS += -D_SSE2_OK=OFF -D_SSE2_TRUE=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE3),y) -KODI_CONF_OPTS += -D_SSE3_OK=ON -D_SSE3_TRUE=ON -else -KODI_CONF_OPTS += -D_SSE3_OK=OFF -D_SSE3_TRUE=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_SSSE3),y) -KODI_CONF_OPTS += -D_SSSE3_OK=ON -D_SSSE3_TRUE=ON -else -KODI_CONF_OPTS += -D_SSSE3_OK=OFF -D_SSSE3_TRUE=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE4),y) -KODI_CONF_OPTS += -D_SSE41_OK=ON -D_SSE41_TRUE=ON -else -KODI_CONF_OPTS += -D_SSE41_OK=OFF -D_SSE41_TRUE=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE42),y) -KODI_CONF_OPTS += -D_SSE42_OK=ON -D_SSE42_TRUE=ON -else -KODI_CONF_OPTS += -D_SSE42_OK=OFF -D_SSE42_TRUE=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_AVX),y) -KODI_CONF_OPTS += -D_AVX_OK=ON -D_AVX_TRUE=ON -else -KODI_CONF_OPTS += -D_AVX_OK=OFF -D_AVX_TRUE=OFF -endif - -ifeq ($(BR2_X86_CPU_HAS_AVX2),y) -KODI_CONF_OPTS += -D_AVX2_OK=ON -D_AVX2_TRUE=ON -else -KODI_CONF_OPTS += -D_AVX2_OK=OFF -D_AVX2_TRUE=OFF -endif - -# mips: uses __atomic_load_8 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -KODI_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -endif - -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),) -KODI_C_FLAGS += -std=gnu99 -endif - -ifeq ($(BR2_PACKAGE_KODI_MYSQL),y) -KODI_CONF_OPTS += -DENABLE_MYSQLCLIENT=ON -KODI_DEPENDENCIES += mysql -else -KODI_CONF_OPTS += -DENABLE_MYSQLCLIENT=OFF -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -KODI_CONF_OPTS += -DENABLE_UDEV=ON -KODI_DEPENDENCIES += udev -else -KODI_CONF_OPTS += -DENABLE_UDEV=OFF -ifeq ($(BR2_PACKAGE_KODI_LIBUSB),y) -KODI_CONF_OPTS += -DENABLE_LIBUSB=ON -KODI_DEPENDENCIES += libusb-compat -else -KODI_CONF_OPTS += -DENABLE_LIBUSB=OFF -endif -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -KODI_CONF_OPTS += -DENABLE_CAP=ON -KODI_DEPENDENCIES += libcap -else -KODI_CONF_OPTS += -DENABLE_CAP=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT),yy) -KODI_CONF_OPTS += -DENABLE_XSLT=ON -KODI_DEPENDENCIES += libxml2 libxslt -else -KODI_CONF_OPTS += -DENABLE_XSLT=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_BLUEZ),y) -KODI_CONF_OPTS += -DENABLE_BLUETOOTH=ON -KODI_DEPENDENCIES += bluez5_utils -else -KODI_CONF_OPTS += -DENABLE_BLUETOOTH=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_DBUS),y) -KODI_DEPENDENCIES += dbus -KODI_CONF_OPTS += -DENABLE_DBUS=ON -else -KODI_CONF_OPTS += -DENABLE_DBUS=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_EVENTCLIENTS),y) -KODI_CONF_OPTS += -DENABLE_EVENTCLIENTS=ON -else -KODI_CONF_OPTS += -DENABLE_EVENTCLIENTS=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_ALSA_LIB),y) -KODI_CONF_OPTS += -DENABLE_ALSA=ON -KODI_DEPENDENCIES += alsa-lib -else -KODI_CONF_OPTS += -DENABLE_ALSA=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_LIBMICROHTTPD),y) -KODI_CONF_OPTS += -DENABLE_MICROHTTPD=ON -KODI_DEPENDENCIES += libmicrohttpd -else -KODI_CONF_OPTS += -DENABLE_MICROHTTPD=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_LIBSMBCLIENT),y) -KODI_DEPENDENCIES += samba4 -KODI_CONF_OPTS += -DENABLE_SMBCLIENT=ON -else -KODI_CONF_OPTS += -DENABLE_SMBCLIENT=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_LIBNFS),y) -KODI_DEPENDENCIES += libnfs -KODI_CONF_OPTS += -DENABLE_NFS=ON -else -KODI_CONF_OPTS += -DENABLE_NFS=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_LIBBLURAY),y) -KODI_DEPENDENCIES += libbluray -KODI_CONF_OPTS += -DENABLE_BLURAY=ON -else -KODI_CONF_OPTS += -DENABLE_BLURAY=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_LIBSHAIRPLAY),y) -KODI_DEPENDENCIES += libshairplay -KODI_CONF_OPTS += -DENABLE_AIRTUNES=ON -else -KODI_CONF_OPTS += -DENABLE_AIRTUNES=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_AVAHI),y) -KODI_DEPENDENCIES += avahi -KODI_CONF_OPTS += -DENABLE_AVAHI=ON -else -KODI_CONF_OPTS += -DENABLE_AVAHI=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_LIBCEC),y) -KODI_DEPENDENCIES += libcec -KODI_CONF_OPTS += -DENABLE_CEC=ON -else -KODI_CONF_OPTS += -DENABLE_CEC=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_LCMS2),y) -KODI_DEPENDENCIES += lcms2 -KODI_CONF_OPTS += -DENABLE_LCMS2=ON -else -KODI_CONF_OPTS += -DENABLE_LCMS2=OFF -endif - -ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y) -KODI_DEPENDENCIES += lirc-tools -endif - -# kodi needs libva & libva-glx -ifeq ($(BR2_PACKAGE_KODI_LIBVA)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),yy) -KODI_DEPENDENCIES += mesa3d libva -KODI_CONF_OPTS += -DENABLE_VAAPI=ON -else -KODI_CONF_OPTS += -DENABLE_VAAPI=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_LIBVDPAU),y) -KODI_DEPENDENCIES += libvdpau -KODI_CONF_OPTS += -DENABLE_VDPAU=ON -else -KODI_CONF_OPTS += -DENABLE_VDPAU=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_UPNP),y) -KODI_CONF_OPTS += -DENABLE_UPNP=ON -else -KODI_CONF_OPTS += -DENABLE_UPNP=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_OPTICALDRIVE),y) -KODI_CONF_OPTS += -DENABLE_OPTICAL=ON -else -KODI_CONF_OPTS += -DENABLE_OPTICAL=OFF -endif - -ifeq ($(BR2_PACKAGE_KODI_PULSEAUDIO),y) -KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=ON -KODI_DEPENDENCIES += pulseaudio -else -KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBUDFREAD),y) -KODI_DEPENDENCIES += libudfread -else -KODI_CONF_OPTS += -DENABLE_INTERNAL_UDFREAD=OFF -endif - -# Remove versioncheck addon, updating Kodi is done by building a new -# buildroot image. -KODI_ADDON_MANIFEST = $(TARGET_DIR)/usr/share/kodi/system/addon-manifest.xml -define KODI_CLEAN_UNUSED_ADDONS - rm -Rf $(TARGET_DIR)/usr/share/kodi/addons/service.xbmc.versioncheck - $(HOST_DIR)/bin/xml ed -L \ - -d "/addons/addon[text()='service.xbmc.versioncheck']" \ - $(KODI_ADDON_MANIFEST) -endef -KODI_POST_INSTALL_TARGET_HOOKS += KODI_CLEAN_UNUSED_ADDONS - -define KODI_INSTALL_BR_WRAPPER - $(INSTALL) -D -m 0755 package/kodi/br-kodi \ - $(TARGET_DIR)/usr/bin/br-kodi -endef -KODI_POST_INSTALL_TARGET_HOOKS += KODI_INSTALL_BR_WRAPPER - -# When run from a startup script, Kodi has no $HOME where to store its -# configuration, so ends up storing it in /.kodi (yes, at the root of -# the rootfs). This is a problem for read-only filesystems. But we can't -# easily change that, so create /.kodi as a symlink where we want the -# config to eventually be. Add synlinks for the legacy XBMC name as well -define KODI_INSTALL_CONFIG_DIR - $(INSTALL) -d -m 0755 $(TARGET_DIR)/var/kodi - ln -sf /var/kodi $(TARGET_DIR)/.kodi - ln -sf /var/kodi $(TARGET_DIR)/var/xbmc - ln -sf /var/kodi $(TARGET_DIR)/.xbmc -endef -KODI_POST_INSTALL_TARGET_HOOKS += KODI_INSTALL_CONFIG_DIR - -define KODI_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/kodi/S50kodi \ - $(TARGET_DIR)/etc/init.d/S50kodi -endef - -define KODI_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/kodi/kodi.service \ - $(TARGET_DIR)/usr/lib/systemd/system/kodi.service -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/ktap/ktap.mk b/buildroot-2021.05/package/ktap/ktap.mk deleted file mode 100644 index 09daba5c..00000000 --- a/buildroot-2021.05/package/ktap/ktap.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# ktap -# -################################################################################ - -KTAP_VERSION = 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f -KTAP_SITE = $(call github,ktap,ktap,$(KTAP_VERSION)) -KTAP_LICENSE = GPL-2.0 -KTAP_LICENSE_FILES = LICENSE-GPL - -ifeq ($(BR2_PACKAGE_ELFUTILS),y) -KTAP_DEPENDENCIES += elfutils -else -KTAP_FLAGS += NO_LIBELF=1 -endif - -define KTAP_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) $(KTAP_FLAGS) ktap -endef - -define KTAP_INSTALL_TARGET_CMDS - $(INSTALL) -D -m755 $(@D)/ktap $(TARGET_DIR)/usr/bin/ktap -endef - -KTAP_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED) - -define KTAP_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS) - $(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS) - $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS) - $(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER) -endef - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/kvm-unit-tests/0002-kvm-unit-tests-test-for-rdseed-rdrand.patch b/buildroot-2021.05/package/kvm-unit-tests/0002-kvm-unit-tests-test-for-rdseed-rdrand.patch deleted file mode 100644 index 47f15c6c..00000000 --- a/buildroot-2021.05/package/kvm-unit-tests/0002-kvm-unit-tests-test-for-rdseed-rdrand.patch +++ /dev/null @@ -1,110 +0,0 @@ -From 8d9a62a5fa89001266352a929c5d40b28c0dda85 Mon Sep 17 00:00:00 2001 -From: Matt Weber -Date: Fri, 12 Jan 2018 19:07:27 -0600 -Subject: [PATCH v2] kvm-unit-tests: test for rdseed/rdrand - -The build fails when the host binutils isn't at least 2.23 -(2.22.x introduced RDSEED). - -Fixes: -http://autobuild.buildroot.net/results/c39/c3987a3cbd2960b0ff50f872636bdfd8d1a9c820/ - -Upstream: -https://marc.info/?l=kvm&m=151580743523259&w=2 - -Signed-off-by: Matthew Weber ---- - Makefile | 2 +- - configure | 18 ++++++++++++++++++ - x86/vmx_tests.c | 6 ++++++ - 3 files changed, 25 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index d9ad42b..799e9b5 100644 ---- a/Makefile -+++ b/Makefile -@@ -50,7 +50,7 @@ include $(SRCDIR)/$(TEST_DIR)/Makefile - cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \ - > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) - --COMMON_CFLAGS += -g $(autodepend-flags) -+COMMON_CFLAGS += -g $(autodepend-flags) $(EXTRA_CFLAGS) - COMMON_CFLAGS += -Wall -Wwrite-strings -Wclobbered -Wempty-body -Wuninitialized - COMMON_CFLAGS += -Wignored-qualifiers -Wunused-but-set-parameter - frame-pointer-flag=-f$(if $(KEEP_FRAME_POINTER),no-,)omit-frame-pointer -diff --git a/configure b/configure -index dd9d361..21c0219 100755 ---- a/configure -+++ b/configure -@@ -171,6 +171,23 @@ mkdir -p lib - ln -sf "$asm" lib/asm - - -+cat > rd_test.c < -+int main() { -+ uint16_t seed=0; -+ unsigned char ok; -+ asm volatile ("rdseed %0; setc %1" -+ : "=r" (seed), "=qm" (ok)); -+ return ok; -+} -+EOF -+if $cross_prefix$cc -o /dev/null rd_test.c &> /dev/null; then -+ echo "Checking for rdseed/rdrand... Yes." -+else -+ echo "Checking for rdseed/rdrand... No." -+ extra_cflags="-DNO_RDSEEDRAND" -+fi -+ - # create the config - cat < config.mak - SRCDIR=$srcdir -@@ -181,6 +198,7 @@ ARCH_NAME=$arch_name - PROCESSOR=$processor - CC=$cross_prefix$cc - CXX=$cross_prefix$cxx -+EXTRA_CFLAGS=$extra_cflags - LD=$cross_prefix$ld - OBJCOPY=$cross_prefix$objcopy - OBJDUMP=$cross_prefix$objdump -diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c -index 4a3e94b..2cbe3eb 100644 ---- a/x86/vmx_tests.c -+++ b/x86/vmx_tests.c -@@ -770,8 +770,10 @@ asm( - "insn_sldt: sldt %ax;ret\n\t" - "insn_lldt: xor %eax, %eax; lldt %ax;ret\n\t" - "insn_str: str %ax;ret\n\t" -+#ifndef NO_RDSEEDRAND - "insn_rdrand: rdrand %rax;ret\n\t" - "insn_rdseed: rdseed %rax;ret\n\t" -+#endif - ); - extern void insn_hlt(); - extern void insn_invlpg(); -@@ -796,8 +798,10 @@ extern void insn_lldt(); - extern void insn_str(); - extern void insn_cpuid(); - extern void insn_invd(); -+#ifndef NO_RDSEEDRAND - extern void insn_rdrand(); - extern void insn_rdseed(); -+#endif - - u32 cur_insn; - u64 cr3; -@@ -853,8 +857,10 @@ static struct insn_table insn_table[] = { - {"DESC_TABLE (LLDT)", CPU_DESC_TABLE, insn_lldt, INSN_CPU1, 47, 0, 0, 0}, - {"DESC_TABLE (STR)", CPU_DESC_TABLE, insn_str, INSN_CPU1, 47, 0, 0, 0}, - /* LTR causes a #GP if done with a busy selector, so it is not tested. */ -+#ifndef NO_RDSEEDRAND - {"RDRAND", CPU_RDRAND, insn_rdrand, INSN_CPU1, VMX_RDRAND, 0, 0, 0}, - {"RDSEED", CPU_RDSEED, insn_rdseed, INSN_CPU1, VMX_RDSEED, 0, 0, 0}, -+#endif - // Instructions always trap - {"CPUID", 0, insn_cpuid, INSN_ALWAYS_TRAP, 10, 0, 0, 0}, - {"INVD", 0, insn_invd, INSN_ALWAYS_TRAP, 13, 0, 0, 0}, --- -1.9.1 - diff --git a/buildroot-2021.05/package/kvmtool/kvmtool.mk b/buildroot-2021.05/package/kvmtool/kvmtool.mk deleted file mode 100644 index 2984817c..00000000 --- a/buildroot-2021.05/package/kvmtool/kvmtool.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# kvmtool -# -################################################################################ - -KVMTOOL_VERSION = f77d646ba01d04be5aad9449ac00719c043fe36e -KVMTOOL_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git -KVMTOOL_SITE_METHOD = git -KVMTOOL_DEPENDENCIES = \ - $(if $(BR2_PACKAGE_BINUTILS),binutils) \ - $(if $(BR2_PACKAGE_DTC),dtc) \ - $(if $(BR2_PACKAGE_LIBAIO),libaio) \ - $(if $(BR2_PACKAGE_LIBGTK3),libgtk3) \ - $(if $(BR2_PACKAGE_LIBVNCSERVER),libvncserver) \ - $(if $(BR2_PACKAGE_SDL),sdl) \ - $(if $(BR2_PACKAGE_ZLIB),zlib) -KVMTOOL_LICENSE = GPL-2.0 -KVMTOOL_LICENSE_FILES = COPYING - -# Disable -Werror, otherwise musl is not happy -KVMTOOL_MAKE_OPTS = \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - LDFLAGS="$(TARGET_LDFLAGS) $(KVMTOOL_EXTRA_LDFLAGS)" \ - WERROR=0 - -define KVMTOOL_BUILD_CMDS - $(TARGET_MAKE_ENV) ARCH=$(KERNEL_ARCH) $(MAKE) -C $(@D) $(KVMTOOL_MAKE_OPTS) -endef - -define KVMTOOL_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) ARCH=$(KERNEL_ARCH) $(MAKE) -C $(@D) \ - $(KVMTOOL_MAKE_OPTS) install DESTDIR=$(TARGET_DIR) prefix=/usr -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/lapack/Config.in b/buildroot-2021.05/package/lapack/Config.in deleted file mode 100644 index 6cd0810c..00000000 --- a/buildroot-2021.05/package/lapack/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -comment "lapack/blas needs a toolchain w/ fortran" - depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) - depends on !BR2_TOOLCHAIN_HAS_FORTRAN - -config BR2_PACKAGE_LAPACK - bool "lapack/blas" - depends on BR2_TOOLCHAIN_HAS_FORTRAN - depends on !BR2_PACKAGE_CLAPACK - # _fpu_control is used on PowerPC, but not available with uClibc - depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC) - help - LAPACK and BLAS FORTRAN implementation. This package - installs two libraries: libblas and liblapack. - - http://www.netlib.org/lapack/ - -config BR2_PACKAGE_LAPACK_COMPLEX - bool "Complex/Complex16 support" - default y - depends on BR2_PACKAGE_LAPACK - help - Builds support for COMPLEX and COMPLEX16 data types. diff --git a/buildroot-2021.05/package/lapack/lapack.hash b/buildroot-2021.05/package/lapack/lapack.hash deleted file mode 100644 index bac7210c..00000000 --- a/buildroot-2021.05/package/lapack/lapack.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 106087f1bb5f46afdfba7f569d0cbe23dacb9a07cd24733765a0e89dbe1ad573 lapack-3.9.0.tar.gz -sha256 d56bd4441b999b80c88df04faf0d8b3d7d3b2bd781cf91242c4188e8a6d0f8be LICENSE diff --git a/buildroot-2021.05/package/lapack/lapack.mk b/buildroot-2021.05/package/lapack/lapack.mk deleted file mode 100644 index 41774f61..00000000 --- a/buildroot-2021.05/package/lapack/lapack.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# lapack -# -################################################################################ - -LAPACK_VERSION = 3.9.0 -LAPACK_LICENSE = BSD-3-Clause -LAPACK_LICENSE_FILES = LICENSE -LAPACK_SITE = $(call github,Reference-LAPACK,lapack,v$(LAPACK_VERSION)) -LAPACK_INSTALL_STAGING = YES -LAPACK_SUPPORTS_IN_SOURCE_BUILD = NO -LAPACK_CONF_OPTS = -DLAPACKE=ON -DCBLAS=ON - -ifeq ($(BR2_PACKAGE_LAPACK_COMPLEX),y) -LAPACK_CONF_OPTS += -DBUILD_COMPLEX=ON -DBUILD_COMPLEX16=ON -else -LAPACK_CONF_OPTS += -DBUILD_COMPLEX=OFF -DBUILD_COMPLEX16=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/lcms2/lcms2.hash b/buildroot-2021.05/package/lcms2/lcms2.hash deleted file mode 100644 index 8477610f..00000000 --- a/buildroot-2021.05/package/lcms2/lcms2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://sourceforge.net/projects/lcms/files/lcms/2.12 -sha1 3d0c0276fcd3930b80c424512ec0b1ed54ec1497 lcms2-2.12.tar.gz -# Locally computed: -sha256 18663985e864100455ac3e507625c438c3710354d85e5cbb7cd4043e11fe10f5 lcms2-2.12.tar.gz -sha256 46d4e05af3bce75332a12d01f19bcce7e32b6bac544be28a64043d0231291e31 COPYING diff --git a/buildroot-2021.05/package/lcms2/lcms2.mk b/buildroot-2021.05/package/lcms2/lcms2.mk deleted file mode 100644 index 49ddccd8..00000000 --- a/buildroot-2021.05/package/lcms2/lcms2.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# lcms2 -# -################################################################################ - -LCMS2_VERSION = 2.12 -LCMS2_SITE = http://downloads.sourceforge.net/project/lcms/lcms/$(LCMS2_VERSION) -LCMS2_LICENSE = MIT -LCMS2_LICENSE_FILES = COPYING -LCMS2_CPE_ID_VENDOR = littlecms -LCMS2_CPE_ID_PRODUCT = little_cms -LCMS2_INSTALL_STAGING = YES -# tiff is only used by tificc sample -LCMS2_CONF_OPTS = --without-tiff - -ifeq ($(BR2_PACKAGE_JPEG),y) -LCMS2_CONF_OPTS += --with-jpeg -LCMS2_DEPENDENCIES += jpeg -else -LCMS2_CONF_OPTS += --without-jpeg -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -LCMS2_CONF_OPTS += --with-zlib -LCMS2_DEPENDENCIES += zlib -else -LCMS2_CONF_OPTS += --without-zlib -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/leptonica/leptonica.hash b/buildroot-2021.05/package/leptonica/leptonica.hash deleted file mode 100644 index 6ef1a091..00000000 --- a/buildroot-2021.05/package/leptonica/leptonica.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed hash -sha256 ec9c46c2aefbb960fb6a6b7f800fe39de48343437b6ce08e30a8d9688ed14ba4 leptonica-1.80.0.tar.gz -sha256 87829abb5bbb00b55a107365da89e9a33f86c4250169e5a1e5588505be7d5806 leptonica-license.txt diff --git a/buildroot-2021.05/package/leptonica/leptonica.mk b/buildroot-2021.05/package/leptonica/leptonica.mk deleted file mode 100644 index 93d1e47c..00000000 --- a/buildroot-2021.05/package/leptonica/leptonica.mk +++ /dev/null @@ -1,73 +0,0 @@ -################################################################################ -# -# leptonica -# -################################################################################ - -LEPTONICA_VERSION = 1.80.0 -LEPTONICA_SITE = http://www.leptonica.org/source -LEPTONICA_LICENSE = BSD-2-Clause -LEPTONICA_LICENSE_FILES = leptonica-license.txt -LEPTONICA_CPE_ID_VENDOR = leptonica -LEPTONICA_INSTALL_STAGING = YES -LEPTONICA_DEPENDENCIES = host-pkgconf - -LEPTONICA_CONF_OPTS += --disable-programs - -ifeq ($(BR2_PACKAGE_GIFLIB),y) -LEPTONICA_DEPENDENCIES += giflib -LEPTONICA_CONF_OPTS += --with-giflib -else -LEPTONICA_CONF_OPTS += --without-giflib -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -LEPTONICA_DEPENDENCIES += jpeg -LEPTONICA_CONF_OPTS += --with-jpeg -else -LEPTONICA_CONF_OPTS += --without-jpeg -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -LEPTONICA_DEPENDENCIES += libpng -LEPTONICA_CONF_OPTS += --with-libpng -else -LEPTONICA_CONF_OPTS += --without-libpng -endif - -ifeq ($(BR2_PACKAGE_OPENJPEG),y) -LEPTONICA_DEPENDENCIES += openjpeg -LEPTONICA_CONF_OPTS += --with-libopenjpeg -else -LEPTONICA_CONF_OPTS += --without-libopenjpeg -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -LEPTONICA_DEPENDENCIES += tiff -LEPTONICA_CONF_OPTS += --with-libtiff -else -LEPTONICA_CONF_OPTS += --without-libtiff -endif - -ifeq ($(BR2_PACKAGE_WEBP),y) -LEPTONICA_DEPENDENCIES += webp -LEPTONICA_CONF_OPTS += --with-libwebp -ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) -LEPTONICA_CONF_OPTS += --with-libwebpmux -else -LEPTONICA_CONF_OPTS += --without-libwebpmux -endif -else -LEPTONICA_CONF_OPTS += \ - --without-libwebp \ - --without-libwebpmux -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -LEPTONICA_DEPENDENCIES += zlib -LEPTONICA_CONF_OPTS += --with-zlib -else -LEPTONICA_CONF_OPTS += --without-zlib -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/less/less.hash b/buildroot-2021.05/package/less/less.hash deleted file mode 100644 index e675569c..00000000 --- a/buildroot-2021.05/package/less/less.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# using DSA key F153A7C833235259 -# http://www.greenwoodsoftware.com/less/less-563.sig -sha256 ce5b6d2b9fc4442d7a07c93ab128d2dff2ce09a1d4f2d055b95cf28dd0dc9a9a less-563.tar.gz -# Locally calculated -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/less/less.mk b/buildroot-2021.05/package/less/less.mk deleted file mode 100644 index a15bd25b..00000000 --- a/buildroot-2021.05/package/less/less.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# less -# -################################################################################ - -LESS_VERSION = 563 -LESS_SITE = http://www.greenwoodsoftware.com/less -LESS_LICENSE = GPL-3.0+ -LESS_LICENSE_FILES = COPYING -LESS_CPE_ID_VENDOR = gnu -LESS_DEPENDENCIES = ncurses - -define LESS_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch b/buildroot-2021.05/package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch deleted file mode 100644 index f3921606..00000000 --- a/buildroot-2021.05/package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 8a8016f6d2af335ab205aa40d5274fc9b0c7a566 Mon Sep 17 00:00:00 2001 -From: Steve James -Date: Sun, 5 Apr 2015 16:29:51 +0200 -Subject: [PATCH 1/2] Fix compilation with g++ 4.8.2 - -Where db_iter.cc fails to get a typedef for ssize_t when compiled by -GCC. - -Upstream-Status: Submitted [https://github.com/google/leveldb/issues/233] - -Signed-off-by: Steve James -Signed-off-by: Thomas Petazzoni ---- - db/db_iter.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/db/db_iter.cc b/db/db_iter.cc -index 3b2035e..c2e5f35 100644 ---- a/db/db_iter.cc -+++ b/db/db_iter.cc -@@ -13,6 +13,7 @@ - #include "util/logging.h" - #include "util/mutexlock.h" - #include "util/random.h" -+#include // for ssize_t - - namespace leveldb { - --- -2.1.0 - diff --git a/buildroot-2021.05/package/leveldb/0002-CMake-install-libmemenv.a.patch b/buildroot-2021.05/package/leveldb/0002-CMake-install-libmemenv.a.patch deleted file mode 100644 index ab23a188..00000000 --- a/buildroot-2021.05/package/leveldb/0002-CMake-install-libmemenv.a.patch +++ /dev/null @@ -1,74 +0,0 @@ -From 2fa960098e5b6f9daa9f7d6cab27188566859be8 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sat, 12 Oct 2019 14:43:46 +0200 -Subject: [PATCH] CMake: install libmemenv.a - -Needed for qt5webkit -https://git.busybox.net/buildroot/commit/?id=8a10d9ce311c6cb0490d76921cae55618c258354 -https://git.busybox.net/buildroot/commit/?id=16f847340d07dce620e4c3fc0a099aa79898d86a - -Signed-off-by: Bernd Kuhls ---- - CMakeLists.txt | 26 +++++++++++++++++++++++++- - 1 file changed, 25 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index a65afbf..83b2425 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -187,6 +187,30 @@ target_sources(leveldb - "${LEVELDB_PUBLIC_INCLUDE_DIR}/write_batch.h" - ) - -+set(libmemenv_a_sources -+ "${PROJECT_SOURCE_DIR}/helpers/memenv/memenv.cc" -+ "${PROJECT_SOURCE_DIR}/helpers/memenv/memenv.h" -+ ) -+add_library(memenv STATIC ${libmemenv_a_sources}) -+target_compile_definitions(memenv -+ PRIVATE -+ # Used by include/export.h when building shared libraries. -+ LEVELDB_COMPILE_LIBRARY -+ # Used by port/port.h. -+ ${LEVELDB_PLATFORM_NAME}=1 -+) -+if (NOT HAVE_CXX17_HAS_INCLUDE) -+ target_compile_definitions(memenv -+ PRIVATE -+ LEVELDB_HAS_PORT_CONFIG_H=1 -+ ) -+endif(NOT HAVE_CXX17_HAS_INCLUDE) -+target_include_directories(memenv -+ PUBLIC -+ $ -+ $ -+) -+ - if (WIN32) - target_sources(leveldb - PRIVATE -@@ -418,7 +436,7 @@ endif(LEVELDB_BUILD_BENCHMARKS) - - if(LEVELDB_INSTALL) - include(GNUInstallDirs) -- install(TARGETS leveldb -+ install(TARGETS leveldb memenv - EXPORT leveldbTargets - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} -@@ -444,6 +462,12 @@ if(LEVELDB_INSTALL) - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/leveldb - ) - -+ install( -+ FILES -+ "${PROJECT_SOURCE_DIR}/helpers/memenv/memenv.h" -+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/helpers/memenv -+ ) -+ - include(CMakePackageConfigHelpers) - write_basic_package_version_file( - "${PROJECT_BINARY_DIR}/leveldbConfigVersion.cmake" --- -2.20.1 - diff --git a/buildroot-2021.05/package/leveldb/0004-cmake-Use-find_package-to-find-Snappy.patch b/buildroot-2021.05/package/leveldb/0004-cmake-Use-find_package-to-find-Snappy.patch deleted file mode 100644 index 2626e886..00000000 --- a/buildroot-2021.05/package/leveldb/0004-cmake-Use-find_package-to-find-Snappy.patch +++ /dev/null @@ -1,98 +0,0 @@ -From 450c1d88b3e1af34614294830b4dc0612d198d26 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Pawe=C5=82=20Bylica?= -Date: Wed, 8 May 2019 10:42:03 +0200 -Subject: [PATCH] cmake: Use find_package() to find Snappy - -Upstream: https://github.com/google/leveldb/pull/686/commits/3e73a396a082efc76e065ae974fe18c3bb27219d -[Thomas: this commit allows to fix the detection of the snappy library -in static link configurations] -Signed-off-by: Thomas Petazzoni ---- - CMakeLists.txt | 12 ++++++++---- - cmake/FindSnappy.cmake | 31 +++++++++++++++++++++++++++++++ - 2 files changed, 39 insertions(+), 4 deletions(-) - create mode 100644 cmake/FindSnappy.cmake - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 78fead6..2efccda 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -6,6 +6,9 @@ cmake_minimum_required(VERSION 3.9) - # Keep the version below in sync with the one in db.h - project(leveldb VERSION 1.22.0 LANGUAGES C CXX) - -+# Include local CMake modules. -+list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) -+ - # This project can use C11, but will gracefully decay down to C89. - set(CMAKE_C_STANDARD 11) - set(CMAKE_C_STANDARD_REQUIRED OFF) -@@ -31,13 +34,14 @@ option(LEVELDB_INSTALL "Install LevelDB's header and library" ON) - include(TestBigEndian) - test_big_endian(LEVELDB_IS_BIG_ENDIAN) - -+find_package(Snappy) -+ - include(CheckIncludeFile) - check_include_file("unistd.h" HAVE_UNISTD_H) - - include(CheckLibraryExists) - check_library_exists(atomic __atomic_fetch_add_4 "" HAVE_ATOMIC) - check_library_exists(crc32c crc32c_value "" HAVE_CRC32C) --check_library_exists(snappy snappy_compress "" HAVE_SNAPPY) - check_library_exists(tcmalloc malloc "" HAVE_TCMALLOC) - - include(CheckCXXSymbolExists) -@@ -276,9 +280,9 @@ endif(HAVE_ATOMIC) - if(HAVE_CRC32C) - target_link_libraries(leveldb crc32c) - endif(HAVE_CRC32C) --if(HAVE_SNAPPY) -- target_link_libraries(leveldb snappy) --endif(HAVE_SNAPPY) -+if(TARGET Snappy::snappy) -+ target_link_libraries(leveldb Snappy::snappy) -+endif() - if(HAVE_TCMALLOC) - target_link_libraries(leveldb tcmalloc) - endif(HAVE_TCMALLOC) -diff --git a/cmake/FindSnappy.cmake b/cmake/FindSnappy.cmake -new file mode 100644 -index 0000000..88c1de9 ---- /dev/null -+++ b/cmake/FindSnappy.cmake -@@ -0,0 +1,31 @@ -+# Copyright 2019 The LevelDB Authors. All rights reserved. -+# Use of this source code is governed by a BSD-style license that can be -+# found in the LICENSE file. See the AUTHORS file for names of contributors. -+ -+find_library(SNAPPY_LIBRARY -+ NAMES snappy -+ HINTS ${SNAPPY_ROOT_DIR}/lib -+) -+ -+find_path(SNAPPY_INCLUDE_DIR -+ NAMES snappy.h -+ HINTS ${SNAPPY_ROOT_DIR}/include -+) -+ -+include(FindPackageHandleStandardArgs) -+find_package_handle_standard_args(Snappy DEFAULT_MSG SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) -+ -+mark_as_advanced(SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) -+ -+if(SNAPPY_FOUND) -+ set(HAVE_SNAPPY TRUE) # For compatibity with generating port_config.h. -+ -+ # Add imported targets. -+ # Follow the package naming convetion 'Snappy::' from -+ # https://github.com/google/snappy/blob/master/CMakeLists.txt#L211. -+ add_library(Snappy::snappy UNKNOWN IMPORTED) -+ set_target_properties(Snappy::snappy PROPERTIES -+ IMPORTED_LOCATION ${SNAPPY_LIBRARY} -+ INTERFACE_INCLUDE_DIRECTORIES ${SNAPPY_INCLUDE_DIR} -+ ) -+endif() --- -2.26.2 - diff --git a/buildroot-2021.05/package/leveldb/leveldb.hash b/buildroot-2021.05/package/leveldb/leveldb.hash deleted file mode 100644 index c4a8499d..00000000 --- a/buildroot-2021.05/package/leveldb/leveldb.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 55423cac9e3306f4a9502c738a001e4a339d1a38ffbee7572d4a07d5d63949b2 leveldb-1.22.tar.gz -sha256 ccc19f1da0798ed666609b65a5b44dd8b3abe6fc08b9c0592eb76e82e174db19 LICENSE diff --git a/buildroot-2021.05/package/leveldb/leveldb.mk b/buildroot-2021.05/package/leveldb/leveldb.mk deleted file mode 100644 index 684b6186..00000000 --- a/buildroot-2021.05/package/leveldb/leveldb.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# leveldb -# -################################################################################ - -LEVELDB_VERSION = 1.22 -LEVELDB_SITE = $(call github,google,leveldb,$(LEVELDB_VERSION)) -LEVELDB_LICENSE = BSD-3-Clause -LEVELDB_LICENSE_FILES = LICENSE -LEVELDB_INSTALL_STAGING = YES -LEVELDB_CONF_OPTS = \ - -DLEVELDB_BUILD_BENCHMARKS=OFF \ - -DLEVELDB_BUILD_TESTS=OFF - -ifeq ($(BR2_PACKAGE_SNAPPY),y) -LEVELDB_DEPENDENCIES += snappy -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/lft/lft.hash b/buildroot-2021.05/package/lft/lft.hash deleted file mode 100644 index 91a1fb06..00000000 --- a/buildroot-2021.05/package/lft/lft.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://pwhois.org/lft/ -md5 31b15aabc619707427a73657512560f8 lft-3.8.tar.gz -# Locally calculated -sha256 10f427e77b0f8207817329bd8ef0310078434612620073369264d15e6f97e990 lft-3.8.tar.gz -sha256 e3b7634630e6800eccca6ecafb5d40153d4f8f7a20e2b2399bf3c0ea92f44614 COPYING diff --git a/buildroot-2021.05/package/lft/lft.mk b/buildroot-2021.05/package/lft/lft.mk deleted file mode 100644 index 5154c83f..00000000 --- a/buildroot-2021.05/package/lft/lft.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# lft -# -################################################################################ - -LFT_VERSION = 3.8 -LFT_SITE = http://pwhois.org/get -LFT_DEPENDENCIES = libpcap -LFT_LICENSE = VOSTROM Public License for Open Source -LFT_LICENSE_FILES = COPYING -LFT_CONF_OPTS = --with-pcap=$(STAGING_DIR)/usr -LFT_MAKE_ENV = STRIP=true - -ifeq ($(BR2_STATIC_LIBS),y) -LFT_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libabseil-cpp/libabseil-cpp.hash b/buildroot-2021.05/package/libabseil-cpp/libabseil-cpp.hash deleted file mode 100644 index b1760435..00000000 --- a/buildroot-2021.05/package/libabseil-cpp/libabseil-cpp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 ebe2ad1480d27383e4bf4211e2ca2ef312d5e6a09eba869fd2e8a5c5d553ded2 libabseil-cpp-20200923.3.tar.gz -sha256 c79a7fea0e3cac04cd43f20e7b648e5a0ff8fa5344e644b0ee09ca1162b62747 LICENSE diff --git a/buildroot-2021.05/package/libabseil-cpp/libabseil-cpp.mk b/buildroot-2021.05/package/libabseil-cpp/libabseil-cpp.mk deleted file mode 100644 index d614a5e5..00000000 --- a/buildroot-2021.05/package/libabseil-cpp/libabseil-cpp.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# libabseil-cpp -# -################################################################################ - -LIBABSEIL_CPP_VERSION = 20200923.3 -LIBABSEIL_CPP_SITE = $(call github,abseil,abseil-cpp,$(LIBABSEIL_CPP_VERSION)) -LIBABSEIL_CPP_LICENSE = Apache-2.0 -LIBABSEIL_CPP_LICENSE_FILES = LICENSE -LIBABSEIL_CPP_INSTALL_STAGING = YES - -LIBABSEIL_CPP_CONF_OPTS = \ - -DCMAKE_CXX_STANDARD=11 \ - -DABSL_ENABLE_INSTALL=ON \ - -DABSL_USE_GOOGLETEST_HEAD=OFF \ - -DABSL_RUN_TESTS=OFF - -HOST_LIBABSEIL_CPP_CONF_OPTS = \ - -DCMAKE_CXX_STANDARD=11 \ - -DABSL_ENABLE_INSTALL=ON \ - -DABSL_USE_GOOGLETEST_HEAD=OFF \ - -DABSL_RUN_TESTS=OFF - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/libapparmor/libapparmor.hash b/buildroot-2021.05/package/libapparmor/libapparmor.hash deleted file mode 100644 index 37e1ff52..00000000 --- a/buildroot-2021.05/package/libapparmor/libapparmor.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From: https://gitlab.com/apparmor/apparmor/-/wikis/home#userspace -sha256 8fada772d9a60989525594346d9aa22af938daafc1781adce9a1acb3c75bdf24 apparmor-3.0.1.tar.gz - -# locally computed -sha256 a7e0cdcbea5c14927cedfc600d46526bdcbb1eb0a4d951e2ea53c2a6de159cb4 LICENSE -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 libraries/libapparmor/COPYING.LGPL diff --git a/buildroot-2021.05/package/libapparmor/libapparmor.mk b/buildroot-2021.05/package/libapparmor/libapparmor.mk deleted file mode 100644 index 255432e4..00000000 --- a/buildroot-2021.05/package/libapparmor/libapparmor.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# libapparmor -# -################################################################################ - -# When updating the version here, please also update the apparmor package -LIBAPPARMOR_VERSION_MAJOR = 3.0 -LIBAPPARMOR_VERSION = $(LIBAPPARMOR_VERSION_MAJOR).1 -LIBAPPARMOR_SOURCE = apparmor-$(LIBAPPARMOR_VERSION).tar.gz -LIBAPPARMOR_SITE = https://launchpad.net/apparmor/$(LIBAPPARMOR_VERSION_MAJOR)/$(LIBAPPARMOR_VERSION)/+download -LIBAPPARMOR_LICENSE = LGPL-2.1 -LIBAPPARMOR_LICENSE_FILES = LICENSE libraries/libapparmor/COPYING.LGPL - -LIBAPPARMOR_DEPENDENCIES = host-bison host-flex host-pkgconf -LIBAPPARMOR_SUBDIR = libraries/libapparmor -LIBAPPARMOR_INSTALL_STAGING = YES - -# Patches 0001 and 0002 touch Makefile.am and an m4 file -LIBAPPARMOR_AUTORECONF = YES - -# Most AppArmor tools will want to link to the static lib. -# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test -# provided by autoconf relies on wchar_t. -LIBAPPARMOR_CONF_OPTS = \ - ac_cv_prog_cc_c99=-std=gnu99 \ - --enable-static \ - --disable-man-pages - -ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIBAPPARMOR_DEPENDENCIES += host-python3 host-swig python3 -LIBAPPARMOR_CONF_OPTS += \ - --with-python \ - PYTHON=$(HOST_DIR)/usr/bin/python3 \ - PYTHON_CONFIG=$(STAGING_DIR)/usr/bin/python3-config \ - SWIG=$(SWIG) -else -LIBAPPARMOR_CONF_OPTS += --without-python -endif - -define LIBAPPARMOR_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT) - $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY) - $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_APPARMOR) - $(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_SECURITY_APPARMOR) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libarchive/libarchive.hash b/buildroot-2021.05/package/libarchive/libarchive.hash deleted file mode 100644 index bf0d6e4f..00000000 --- a/buildroot-2021.05/package/libarchive/libarchive.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.libarchive.de/downloads/sha256sums -sha256 9015d109ec00bb9ae1a384b172bf2fc1dff41e2c66e5a9eeddf933af9db37f5a libarchive-3.5.1.tar.gz -# Locally computed: -sha256 b2cdf763345de2de34cebf54394df3c61a105c3b71288603c251f2fa638200ba COPYING diff --git a/buildroot-2021.05/package/libarchive/libarchive.mk b/buildroot-2021.05/package/libarchive/libarchive.mk deleted file mode 100644 index 9cc69fd4..00000000 --- a/buildroot-2021.05/package/libarchive/libarchive.mk +++ /dev/null @@ -1,157 +0,0 @@ -################################################################################ -# -# libarchive -# -################################################################################ - -LIBARCHIVE_VERSION = 3.5.1 -LIBARCHIVE_SITE = https://www.libarchive.de/downloads -LIBARCHIVE_INSTALL_STAGING = YES -LIBARCHIVE_LICENSE = BSD-2-Clause, BSD-3-Clause, CC0-1.0, OpenSSL, Apache-2.0 -LIBARCHIVE_LICENSE_FILES = COPYING -LIBARCHIVE_CPE_ID_VENDOR = libarchive - -ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDTAR),y) -ifeq ($(BR2_STATIC_LIBS),y) -LIBARCHIVE_CONF_OPTS += --enable-bsdtar=static -else -LIBARCHIVE_CONF_OPTS += --enable-bsdtar=shared -endif -else -LIBARCHIVE_CONF_OPTS += --disable-bsdtar -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),y) -ifeq ($(BR2_STATIC_LIBS),y) -LIBARCHIVE_CONF_OPTS += --enable-bsdcpio=static -else -LIBARCHIVE_CONF_OPTS += --enable-bsdcpio=shared -endif -else -LIBARCHIVE_CONF_OPTS += --disable-bsdcpio -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDCAT),y) -ifeq ($(BR2_STATIC_LIBS),y) -LIBARCHIVE_CONF_OPTS += --enable-bsdcat=static -else -LIBARCHIVE_CONF_OPTS += --enable-bsdcat=shared -endif -else -LIBARCHIVE_CONF_OPTS += --disable-bsdcat -endif - -ifeq ($(BR2_PACKAGE_ACL),y) -LIBARCHIVE_DEPENDENCIES += acl -else -LIBARCHIVE_CONF_OPTS += --disable-acl -endif - -ifeq ($(BR2_PACKAGE_ATTR),y) -LIBARCHIVE_DEPENDENCIES += attr -else -LIBARCHIVE_CONF_OPTS += --disable-xattr -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -LIBARCHIVE_CONF_OPTS += --with-bz2lib -LIBARCHIVE_DEPENDENCIES += bzip2 -else -LIBARCHIVE_CONF_OPTS += --without-bz2lib -endif - -ifeq ($(BR2_PACKAGE_EXPAT),y) -LIBARCHIVE_DEPENDENCIES += expat -else -LIBARCHIVE_CONF_OPTS += --without-expat -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -LIBARCHIVE_DEPENDENCIES += libiconv -else -LIBARCHIVE_CONF_OPTS += --without-libiconv-prefix -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -LIBARCHIVE_DEPENDENCIES += libxml2 -LIBARCHIVE_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config -else -LIBARCHIVE_CONF_OPTS += --without-xml2 -endif - -ifeq ($(BR2_PACKAGE_LZ4),y) -LIBARCHIVE_CONF_OPTS += --with-lz4 -LIBARCHIVE_DEPENDENCIES += lz4 -else -LIBARCHIVE_CONF_OPTS += --without-lz4 -endif - -ifeq ($(BR2_PACKAGE_LZO),y) -LIBARCHIVE_DEPENDENCIES += lzo -else -LIBARCHIVE_CONF_OPTS += --without-lzo2 -endif - -ifeq ($(BR2_PACKAGE_MBEDTLS),y) -LIBARCHIVE_DEPENDENCIES += mbedtls -LIBARCHIVE_CONF_OPTS += --with-mbedtls -else -LIBARCHIVE_CONF_OPTS += --without-mbedtls -endif - -ifeq ($(BR2_PACKAGE_NETTLE),y) -LIBARCHIVE_DEPENDENCIES += nettle -LIBARCHIVE_CONF_OPTS += --with-nettle -else -LIBARCHIVE_CONF_OPTS += --without-nettle -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBARCHIVE_DEPENDENCIES += openssl -else -LIBARCHIVE_CONF_OPTS += --without-openssl -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -LIBARCHIVE_DEPENDENCIES += zlib -else -LIBARCHIVE_CONF_OPTS += --without-zlib -endif - -# libarchive requires LZMA with thread support in the toolchain -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_PACKAGE_XZ),yy) -LIBARCHIVE_DEPENDENCIES += xz -LIBARCHIVE_CONF_OPTS += --with-lzma -else -LIBARCHIVE_CONF_OPTS += --without-lzma -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -LIBARCHIVE_DEPENDENCIES += zstd -LIBARCHIVE_CONF_OPTS += --with-zstd -else -LIBARCHIVE_CONF_OPTS += --without-zstd -endif - -# The only user of host-libarchive needs zlib support -HOST_LIBARCHIVE_DEPENDENCIES = host-zlib -HOST_LIBARCHIVE_CONF_OPTS = \ - --disable-bsdtar \ - --disable-bsdcpio \ - --disable-bsdcat \ - --disable-acl \ - --disable-xattr \ - --without-bz2lib \ - --without-expat \ - --without-libiconv-prefix \ - --without-xml2 \ - --without-lz4 \ - --without-lzo2 \ - --without-mbedtls \ - --without-nettle \ - --without-openssl \ - --without-lzma \ - --without-zstd - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libargtable2/libargtable2.mk b/buildroot-2021.05/package/libargtable2/libargtable2.mk deleted file mode 100644 index 8215f552..00000000 --- a/buildroot-2021.05/package/libargtable2/libargtable2.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# libargtable2 -# -################################################################################ - -LIBARGTABLE2_VERSION = 13 -LIBARGTABLE2_SOURCE = argtable2-$(LIBARGTABLE2_VERSION).tar.gz -LIBARGTABLE2_SITE = http://downloads.sourceforge.net/project/argtable/argtable/argtable-2.13 -LIBARGTABLE2_INSTALL_STAGING = YES -LIBARGTABLE2_CONF_OPTS = \ - --disable-example \ - --disable-kernel-module \ - --enable-lib \ - --enable-util -LIBARGTABLE2_LICENSE = LGPL-2.0+ -LIBARGTABLE2_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libasplib/0001-asplib_CPUTimer.h-Fix-time.h-include.patch b/buildroot-2021.05/package/libasplib/0001-asplib_CPUTimer.h-Fix-time.h-include.patch deleted file mode 100644 index c91ddbfa..00000000 --- a/buildroot-2021.05/package/libasplib/0001-asplib_CPUTimer.h-Fix-time.h-include.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 7291289ba0c052e45e2a0330642318798d6a4caf Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Fri, 27 Jan 2017 16:02:27 +0100 -Subject: [PATCH 1/1] asplib_CPUTimer.h: Fix time.h include - -According to https://linux.die.net/man/3/clock_gettime time.h needs to -be included instead of sys/time.h. - -This patch fixes a build error found by buildroot autobuilders: - -http://autobuild.buildroot.net/results/cc0/cc0b928ee24a526b7c82fd3f391e2be024a14578// - -/home/peko/autobuild/instance-1/output/build/libasplib-be7fac89218a84b75f7598e3d76625ece99296f2/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.cpp: In member function 'void asplib::CCPUTimer::start_Timer()': -/home/peko/autobuild/instance-1/output/build/libasplib-be7fac89218a84b75f7598e3d76625ece99296f2/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.cpp:69:19: error: 'CLOCK_REALTIME' was not declared in this scope - clock_gettime(CLOCK_REALTIME, &m_startTime); - -Patch sent upstream: https://github.com/AchimTuran/asplib/pull/34 - -Signed-off-by: Bernd Kuhls ---- - asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h b/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h -index a61ff49..a9676e0 100644 ---- a/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h -+++ b/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h -@@ -29,7 +29,7 @@ - #include - #include - #elif defined(TARGET_LINUX) -- #include -+ #include - #endif - - namespace asplib --- -2.11.0 - diff --git a/buildroot-2021.05/package/libass/Config.in b/buildroot-2021.05/package/libass/Config.in deleted file mode 100644 index 803f6b44..00000000 --- a/buildroot-2021.05/package/libass/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_LIBASS - bool "libass" - depends on BR2_INSTALL_LIBSTDCPP # harfbuzz - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # harfbuzz - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_HARFBUZZ - select BR2_PACKAGE_LIBFRIBIDI - help - libass is a portable subtitle renderer for the ASS/SSA - (Advanced Substation Alpha/Substation Alpha) subtitle format - - https://github.com/libass/libass - -comment "libass needs a toolchain w/ C++, gcc >= 4.8" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 diff --git a/buildroot-2021.05/package/libass/libass.hash b/buildroot-2021.05/package/libass/libass.hash deleted file mode 100644 index cd3c3af6..00000000 --- a/buildroot-2021.05/package/libass/libass.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 9f09230c9a0aa68ef7aa6a9e2ab709ca957020f842e52c5b2e52b801a7d9e833 libass-0.15.0.tar.xz -sha256 f7e30699d02798351e7f839e3d3bfeb29ce65e44efa7735c225464c4fd7dfe9c COPYING diff --git a/buildroot-2021.05/package/libass/libass.mk b/buildroot-2021.05/package/libass/libass.mk deleted file mode 100644 index 48e70a52..00000000 --- a/buildroot-2021.05/package/libass/libass.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# libass -# -################################################################################ - -LIBASS_VERSION = 0.15.0 -LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz -# Do not use the github helper here, the generated tarball is *NOT* -# the same as the one uploaded by upstream for the release. -LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION) -LIBASS_INSTALL_STAGING = YES -LIBASS_LICENSE = ISC -LIBASS_LICENSE_FILES = COPYING -LIBASS_CPE_ID_VENDOR = libass_project -LIBASS_DEPENDENCIES = \ - host-pkgconf \ - freetype \ - harfbuzz \ - libfribidi \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) - -# configure: WARNING: Install nasm for a significantly faster libass build. -# only for Intel archs -ifeq ($(BR2_i386)$(BR2_x86_64),y) -LIBASS_DEPENDENCIES += host-nasm -endif - -ifeq ($(BR2_PACKAGE_FONTCONFIG),y) -LIBASS_DEPENDENCIES += fontconfig -LIBASS_CONF_OPTS += --enable-fontconfig -else -LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libassuan/libassuan.hash b/buildroot-2021.05/package/libassuan/libassuan.hash deleted file mode 100644 index 3506b4f8..00000000 --- a/buildroot-2021.05/package/libassuan/libassuan.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://www.gnupg.org/download/integrity_check.html -sha1 55a35918e95566ef94e8843879a7dd3f87de3781 libassuan-2.5.4.tar.bz2 -# Locally calculated after checking signature -# https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.5.4.tar.bz2.sig -# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 c080ee96b3bd519edd696cfcebdecf19a3952189178db9887be713ccbcb5fbf0 libassuan-2.5.4.tar.bz2 -sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB -sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING diff --git a/buildroot-2021.05/package/libassuan/libassuan.mk b/buildroot-2021.05/package/libassuan/libassuan.mk deleted file mode 100644 index 8b618197..00000000 --- a/buildroot-2021.05/package/libassuan/libassuan.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# libassuan -# -################################################################################ - -LIBASSUAN_VERSION = 2.5.4 -LIBASSUAN_SITE = ftp://ftp.gnupg.org/gcrypt/libassuan -LIBASSUAN_SOURCE = libassuan-$(LIBASSUAN_VERSION).tar.bz2 -LIBASSUAN_LICENSE = LGPL-2.1+ (library), GPL-3.0 (tests, doc) -LIBASSUAN_LICENSE_FILES = COPYING.LIB COPYING -LIBASSUAN_INSTALL_STAGING = YES -LIBASSUAN_DEPENDENCIES = libgpg-error -LIBASSUAN_CONF_OPTS = \ - --with-gpg-error-prefix=$(STAGING_DIR)/usr -LIBASSUAN_CONFIG_SCRIPTS = libassuan-config - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libatomic_ops/Config.in b/buildroot-2021.05/package/libatomic_ops/Config.in deleted file mode 100644 index e9206f33..00000000 --- a/buildroot-2021.05/package/libatomic_ops/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS - bool - default y if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_sparc || BR2_sparc64 || BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || BR2_x86_64 || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - # Unsupported for MIPS R6 - depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6 - -config BR2_PACKAGE_LIBATOMIC_OPS - bool "libatomic_ops" - depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS - help - Atomic operations library - - https://github.com/ivmai/libatomic_ops diff --git a/buildroot-2021.05/package/libatomic_ops/libatomic_ops.hash b/buildroot-2021.05/package/libatomic_ops/libatomic_ops.hash deleted file mode 100644 index 3fca4a8c..00000000 --- a/buildroot-2021.05/package/libatomic_ops/libatomic_ops.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 e6b0909cf4e63cec693fe6c48191ce864c32c5113e16c3f517aa2a244b46992f libatomic_ops-7.6.10.tar.gz -sha256 f0e630c0ca489767033da5a0c869fb4231db522c5ff479ce55a853a923a00f69 doc/LICENSING.txt -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/libatomic_ops/libatomic_ops.mk b/buildroot-2021.05/package/libatomic_ops/libatomic_ops.mk deleted file mode 100644 index cc890a7f..00000000 --- a/buildroot-2021.05/package/libatomic_ops/libatomic_ops.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# libatomic_ops -# -################################################################################ - -LIBATOMIC_OPS_VERSION = 7.6.10 -LIBATOMIC_OPS_SITE = $(call github,ivmai,libatomic_ops,v$(LIBATOMIC_OPS_VERSION)) -LIBATOMIC_OPS_AUTORECONF = YES - -# From doc/LICENSING.txt: "Our intent is to make it easy to use -# libatomic_ops, in both free and proprietary software. Hence most -# code that we expect to be linked into a client application is -# covered by an MIT-style license. A few library routines are covered -# by the GNU General Public License. These are put into a separate -# library, libatomic_ops_gpl.a." -LIBATOMIC_OPS_LICENSE = MIT (main library) / GPL-2.0+ (gpl extension) -LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt COPYING - -LIBATOMIC_OPS_INSTALL_STAGING = YES - -ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) -LIBATOMIC_OPS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9" -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch b/buildroot-2021.05/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch deleted file mode 100644 index 018e4c44..00000000 --- a/buildroot-2021.05/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch +++ /dev/null @@ -1,69 +0,0 @@ -From ccf93148aa3587dd98a02e253cdc42a7af14df1e Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 29 Aug 2020 16:04:15 +0200 -Subject: [PATCH] Provide replacement function for strerror_l() - -strerror_l() is not implemented in some C libraries, such as uClibc, -so let's provide a simple replacement function that falls back on -strerror(). - -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 2 ++ - src/plugins/crypto.c | 7 +++++++ - src/utils/module.c | 8 ++++++++ - 3 files changed, 17 insertions(+) - -diff --git a/configure.ac b/configure.ac -index c2d22c2..36aeb51 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -137,6 +137,8 @@ AC_CHECK_HEADERS([dlfcn.h string.h unistd.h sys/fcntl.h sys/ioctl.h linux/random - [LIBBLOCKDEV_SOFT_FAILURE([Header file $ac_header not found.])], - []) - -+AC_CHECK_FUNCS([strerror_l]) -+ - AC_ARG_WITH([bcache], - AS_HELP_STRING([--with-bcache], [support bcache @<:@default=yes@:>@]), - [], -diff --git a/src/plugins/crypto.c b/src/plugins/crypto.c -index f4a2e8f..c1bd7b5 100644 ---- a/src/plugins/crypto.c -+++ b/src/plugins/crypto.c -@@ -52,6 +52,13 @@ - - #define UNUSED __attribute__((unused)) - -+#if !defined(HAVE_STRERROR_L) -+static char *strerror_l(int errnum, locale_t locale UNUSED) -+{ -+ return strerror(errnum); -+} -+#endif -+ - /** - * SECTION: crypto - * @short_description: plugin for operations with encrypted devices -diff --git a/src/utils/module.c b/src/utils/module.c -index 9750e24..086bec0 100644 ---- a/src/utils/module.c -+++ b/src/utils/module.c -@@ -27,6 +27,14 @@ - - #include "module.h" - -+#define UNUSED __attribute__((unused)) -+ -+#if !defined(HAVE_STRERROR_L) -+static char *strerror_l(int errnum, locale_t locale UNUSED) -+{ -+ return strerror(errnum); -+} -+#endif - - /** - * bd_utils_module_error_quark: (skip) --- -2.26.2 - diff --git a/buildroot-2021.05/package/libblockdev/libblockdev.hash b/buildroot-2021.05/package/libblockdev/libblockdev.hash deleted file mode 100644 index 101b99f1..00000000 --- a/buildroot-2021.05/package/libblockdev/libblockdev.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 555aa42a2db39649ad83253bdc902ab5bd63d39c123e0c8055c4de7fe7571668 libblockdev-2.25.tar.gz -sha256 97bdc721d875501b6243a456333fdfdb1ab64d31c4da2554de845caf4674b946 LICENSE diff --git a/buildroot-2021.05/package/libblockdev/libblockdev.mk b/buildroot-2021.05/package/libblockdev/libblockdev.mk deleted file mode 100644 index 39ae9230..00000000 --- a/buildroot-2021.05/package/libblockdev/libblockdev.mk +++ /dev/null @@ -1,82 +0,0 @@ -################################################################################ -# -# libblockdev -# -################################################################################ - -LIBBLOCKDEV_VERSION = 2.25 -LIBBLOCKDEV_SITE = https://github.com/storaged-project/libblockdev/releases/download/$(LIBBLOCKDEV_VERSION)-1 -LIBBLOCKDEV_LICENSE = LGPL-2.1 -LIBBLOCKDEV_LICENSE_FILES = LICENSE -LIBBLOCKDEV_INSTALL_STAGING = YES -LIBBLOCKDEV_DEPENDENCIES = host-pkgconf libglib2 kmod udev -# 0001-Provide-replacement-function-for-strerror_l.patch -LIBBLOCKDEV_AUTORECONF = YES - -LIBBLOCKDEV_CONF_OPTS = \ - --disable-introspection \ - --with-loop \ - --without-bcache \ - --without-btrfs \ - --without-dm \ - --without-dmraid \ - --without-escrow \ - --without-kbd \ - --without-lvm_dbus \ - --without-mpath \ - --without-nvdimm \ - --without-python2 \ - --without-python3 \ - --without-s390 \ - --without-tools \ - --without-vdo - -ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_CRYPTO),y) -LIBBLOCKDEV_DEPENDENCIES += cryptsetup -LIBBLOCKDEV_CONF_OPTS += --with-crypto -else -LIBBLOCKDEV_CONF_OPTS += --without-crypto -endif - -ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_FS),y) -LIBBLOCKDEV_DEPENDENCIES += parted util-linux -LIBBLOCKDEV_CONF_OPTS += --with-fs -else -LIBBLOCKDEV_CONF_OPTS += --without-fs -endif - -ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_LOOP),y) -LIBBLOCKDEV_CONF_OPTS += --with-loop -else -LIBBLOCKDEV_CONF_OPTS += --without-loop -endif - -ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_LVM2),y) -LIBBLOCKDEV_DEPENDENCIES += lvm2 parted -LIBBLOCKDEV_CONF_OPTS += --with-lvm -else -LIBBLOCKDEV_CONF_OPTS += --without-lvm -endif - -ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_MDRAID),y) -LIBBLOCKDEV_DEPENDENCIES += libbytesize -LIBBLOCKDEV_CONF_OPTS += --with-mdraid -else -LIBBLOCKDEV_CONF_OPTS += --without-mdraid -endif - -ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_PART),y) -LIBBLOCKDEV_DEPENDENCIES += parted -LIBBLOCKDEV_CONF_OPTS += --with-part -else -LIBBLOCKDEV_CONF_OPTS += --without-part -endif - -ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_SWAP),y) -LIBBLOCKDEV_DEPENDENCIES += util-linux -LIBBLOCKDEV_CONF_OPTS += --with-swap -else -LIBBLOCKDEV_CONF_OPTS += --without-swap -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libbluray/libbluray.hash b/buildroot-2021.05/package/libbluray/libbluray.hash deleted file mode 100644 index 430d4774..00000000 --- a/buildroot-2021.05/package/libbluray/libbluray.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://download.videolan.org/pub/videolan/libbluray/1.2.1/libbluray-1.2.1.tar.bz2.sha512 -sha512 e9eeee433034266e88c05ae3469c0bd2bf700d7f16e17ad706f48426c143c823e83c16ab79a637f1e85e4eb858aa0577630671f87ba35d179db2a1d8bc8545c4 libbluray-1.2.1.tar.bz2 -# Locally computed -sha256 b3aa400aca6d2ba1f0bd03bd98d03d1fe7489a3bbb26969d72016360af8a5c9d COPYING diff --git a/buildroot-2021.05/package/libbluray/libbluray.mk b/buildroot-2021.05/package/libbluray/libbluray.mk deleted file mode 100644 index 36f59190..00000000 --- a/buildroot-2021.05/package/libbluray/libbluray.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# libbluray -# -################################################################################ - -LIBBLURAY_VERSION = 1.2.1 -LIBBLURAY_SITE = http://download.videolan.org/pub/videolan/libbluray/$(LIBBLURAY_VERSION) -LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2 -LIBBLURAY_INSTALL_STAGING = YES -LIBBLURAY_LICENSE = LGPL-2.1+ -LIBBLURAY_LICENSE_FILES = COPYING -LIBBLURAY_CPE_ID_VENDOR = videolan -LIBBLURAY_DEPENDENCIES = host-pkgconf - -LIBBLURAY_CONF_OPTS = --disable-bdjava-jar - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -LIBBLURAY_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -LIBBLURAY_DEPENDENCIES += freetype -LIBBLURAY_CONF_OPTS += --with-freetype -else -LIBBLURAY_CONF_OPTS += --without-freetype -endif - -ifeq ($(BR2_PACKAGE_FONTCONFIG),y) -LIBBLURAY_DEPENDENCIES += fontconfig -LIBBLURAY_CONF_OPTS += --with-fontconfig -else -LIBBLURAY_CONF_OPTS += --without-fontconfig -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -LIBBLURAY_DEPENDENCIES += libxml2 -LIBBLURAY_CONF_OPTS += --with-libxml2 -else -LIBBLURAY_CONF_OPTS += --without-libxml2 -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libbsd/Config.in b/buildroot-2021.05/package/libbsd/Config.in deleted file mode 100644 index 845a2216..00000000 --- a/buildroot-2021.05/package/libbsd/Config.in +++ /dev/null @@ -1,28 +0,0 @@ -config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - bool - default y - # libbsd does not support those architectures (see src/local-elf.h) - depends on !BR2_microblaze - depends on !BR2_arc - depends on !BR2_xtensa - depends on !BR2_nds32 - -config BR2_PACKAGE_LIBBSD - bool "libbsd" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_WCHAR - help - This library provides useful functions commonly found on BSD - systems, and lacking on others like GNU systems, thus making - it easier to port projects with strong BSD origins, without - needing to embed the same code over and over again on each - project. - - http://libbsd.freedesktop.org/ - -comment "libbsd needs a toolchain w/ dynamic library, threads, wchar" - depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/libbsd/libbsd.hash b/buildroot-2021.05/package/libbsd/libbsd.hash deleted file mode 100644 index 95887bd6..00000000 --- a/buildroot-2021.05/package/libbsd/libbsd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://lists.freedesktop.org/archives/libbsd/2019-August/000229.html -sha256 34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887 libbsd-0.10.0.tar.xz -sha256 933d14a6bc89ee1fd7adbf5b6ec97f6ff0e002549d0b0c164f8a8895371d78f8 COPYING diff --git a/buildroot-2021.05/package/libbsd/libbsd.mk b/buildroot-2021.05/package/libbsd/libbsd.mk deleted file mode 100644 index 256a75f1..00000000 --- a/buildroot-2021.05/package/libbsd/libbsd.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libbsd -# -################################################################################ - -LIBBSD_VERSION = 0.10.0 -LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz -LIBBSD_SITE = https://libbsd.freedesktop.org/releases -LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, BSD-5-Clause, \ - MIT, ISC, Beerware -LIBBSD_LICENSE_FILES = COPYING -LIBBSD_CPE_ID_VENDOR = freedesktop -LIBBSD_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libbson/libbson.mk b/buildroot-2021.05/package/libbson/libbson.mk deleted file mode 100644 index 931df333..00000000 --- a/buildroot-2021.05/package/libbson/libbson.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# libbson -# -################################################################################ - -LIBBSON_VERSION = 1.9.5 -LIBBSON_SITE = https://github.com/mongodb/libbson/releases/download/$(LIBBSON_VERSION) -LIBBSON_LICENSE = Apache-2.0, MIT (jsonl), ISC (b64), Zlib (md5) -LIBBSON_LICENSE_FILES = COPYING THIRD_PARTY_NOTICES -LIBBSON_CONF_OPTS = \ - --disable-tests \ - --disable-examples \ - --disable-man-pages \ - --disable-html-docs - -LIBBSON_INSTALL_STAGING = YES - -# Also has CMake support, but that forces shared+static libs and static -# lib has a different name. -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libbytesize/libbytesize.hash b/buildroot-2021.05/package/libbytesize/libbytesize.hash deleted file mode 100644 index 51fa43ae..00000000 --- a/buildroot-2021.05/package/libbytesize/libbytesize.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 6305addae2b7be313dbfc36b96094ec0544d5144859ab4a5685ca6d314d6fdda libbytesize-2.5.tar.gz -sha256 97bdc721d875501b6243a456333fdfdb1ab64d31c4da2554de845caf4674b946 LICENSE diff --git a/buildroot-2021.05/package/libbytesize/libbytesize.mk b/buildroot-2021.05/package/libbytesize/libbytesize.mk deleted file mode 100644 index 0ba380dc..00000000 --- a/buildroot-2021.05/package/libbytesize/libbytesize.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# libbytesize -# -################################################################################ - -LIBBYTESIZE_VERSION = 2.5 -LIBBYTESIZE_SITE = https://github.com/storaged-project/libbytesize/releases/download/$(LIBBYTESIZE_VERSION) -LIBBYTESIZE_LICENSE = LGPL-2.1+ -LIBBYTESIZE_LICENSE_FILES = LICENSE -LIBBYTESIZE_INSTALL_STAGING = YES - -LIBBYTESIZE_DEPENDENCIES = \ - host-pkgconf \ - host-gettext \ - gmp \ - mpfr \ - pcre2 - -LIBBYTESIZE_CONF_OPTS += \ - --without-python3 \ - --without-tools - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libcamera/0001-libcamera-add-dependencies-to-libcamera_dep.patch b/buildroot-2021.05/package/libcamera/0001-libcamera-add-dependencies-to-libcamera_dep.patch deleted file mode 100644 index aa8d659c..00000000 --- a/buildroot-2021.05/package/libcamera/0001-libcamera-add-dependencies-to-libcamera_dep.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 1a2fd4526e0858827f47a7e9359df34f0d0e3108 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 27 May 2021 21:00:21 +0200 -Subject: [PATCH] libcamera: add dependencies to libcamera_dep - -Add dependencies to libcamera_dep to avoid the following build failure -with qcam on sparc v8 which is raised since commit -a8310248fc26cc1e1b791af5e9394c1d20bee269: - -FAILED: src/qcam/qcam -/srv/storage/autobuild/run/instance-0/output-1/host/bin/sparc-linux-g++ -o src/qcam/qcam src/qcam/qcam.p/meson-generated_.._qt5-feathericons_qrc.cpp.o src/qcam/qcam.p/meson-generated_moc_main_window.cpp.o src/qcam/qcam.p/meson-generated_moc_viewfinder_qt.cpp.o src/qcam/qcam.p/.._cam_options.cpp.o src/qcam/qcam.p/.._cam_stream_options.cpp.o src/qcam/qcam.p/format_converter.cpp.o src/qcam/qcam.p/main.cpp.o src/qcam/qcam.p/main_window.cpp.o src/qcam/qcam.p/message_handler.cpp.o src/qcam/qcam.p/viewfinder_qt.cpp.o src/qcam/qcam.p/dng_writer.cpp.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -Wshadow -include config.h '-Wl,-rpath,$ORIGIN/../libcamera' -Wl,-rpath-link,/srv/storage/autobuild/run/instance-0/output-1/build/libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b/build/src/libcamera -Wl,--start-group src/libcamera/libcamera.so /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libQt5Core.so /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libQt5Gui.so /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libQt5Widgets.so /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libtiff.so -Wl,--end-group -/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/qcam/qcam.p/main_window.cpp.o: undefined reference to symbol '__atomic_fetch_add_4@@LIBATOMIC_1.0' -/srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line - -Fixes: - - http://autobuild.buildroot.org/results/d0726b2253f1f3d006e057f3b32c646c4b9b5f7a - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://bugs.libcamera.org/show_bug.cgi?id=39] ---- - src/libcamera/meson.build | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build -index cc2b8669..af3533ad 100644 ---- a/src/libcamera/meson.build -+++ b/src/libcamera/meson.build -@@ -160,6 +160,7 @@ libcamera_dep = declare_dependency(sources : [ - libcamera_public_headers, - ], - include_directories : libcamera_includes, -+ dependencies : libcamera_deps, - link_with : libcamera) - - subdir('proxy/worker') --- -2.30.2 diff --git a/buildroot-2021.05/package/libcamera/Config.in b/buildroot-2021.05/package/libcamera/Config.in deleted file mode 100644 index 92c17df8..00000000 --- a/buildroot-2021.05/package/libcamera/Config.in +++ /dev/null @@ -1,77 +0,0 @@ -config BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS - bool - default y - # Invalid packing size of ControlValue struct on m68k - depends on !BR2_m68k - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 - -menuconfig BR2_PACKAGE_LIBCAMERA - bool "libcamera" - depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 - depends on !BR2_STATIC_LIBS # gnutls - depends on BR2_USE_WCHAR # gnutls - select BR2_PACKAGE_GNUTLS - select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE - help - libcamera provides a software stack to support - complex devices that need heavy hardware image - processing operations. - - http://www.libcamera.org/ - -if BR2_PACKAGE_LIBCAMERA - -config BR2_PACKAGE_LIBCAMERA_V4L2 - bool "libcamera v4l2 compatibility layer" - help - libcamera v4l2 compatibility layer - -config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE - bool - -config BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3 - bool "ipu3 pipeline" - select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE - help - Pipeline for Intel IPU3. - -config BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI - bool "raspberrypi pipeline" - depends on BR2_USE_WCHAR # boost (already enforced for gnutls) - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE - help - Pipeline for Raspberry Pi devices. - -config BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1 - bool "rkisp1 pipeline" - select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE - help - Pipeline for Rockchip ISP1. - -config BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE - bool "simple pipeline" - select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE - help - Pipeline for simple pipelines. - -config BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO - bool "uvcvideo pipeline" - help - Pipeline for uvcvideo devices. - -config BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC - bool "vimc pipeline" - select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE - help - Pipeline for the vimc device. - -endif # BR2_PACKAGE_LIBCAMERA - -comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7" - depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/libcamera/libcamera.hash b/buildroot-2021.05/package/libcamera/libcamera.hash deleted file mode 100644 index 78197b9a..00000000 --- a/buildroot-2021.05/package/libcamera/libcamera.hash +++ /dev/null @@ -1,12 +0,0 @@ -sha256 fa9efe38397392a338c0ed9d0bf3ac1480d4d1c96b0597e422f8b9fb36f43398 libcamera-3a1f67a8031ac5ad96a11d5dc8b2e8976290497b-br1.tar.gz - -# license files -sha256 fd38b2c053c0cce46d9c5ef3545a6e34d157a240ba99c9b8dca5d37a8147da6c LICENSES/BSD-2-Clause.txt -sha256 e11af671c491efac2f94c1d752bea92f4308ca2450c7d11e582e4b48c40e4de1 LICENSES/BSD-3-Clause.txt -sha256 6a573fb2f9082662978cf21fb153096df0a1981deaea7dbc10a11046fe005d9f LICENSES/CC0-1.0.txt -sha256 ec3732087acf8c52429a020d6bba362ff578705bdb53365a21744485ec15b0e6 LICENSES/CC-BY-SA-4.0.txt -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt -sha256 606aa26338f69ce178f1cbc648b7574aec4b5bbaeb20f4df36ff49010cb8fbbd LICENSES/GPL-2.0-or-later.txt -sha256 1ccf09bf2f598308df4bed9cd8e9657dc5cd0973d2800318f2e241486e2edf3f LICENSES/LGPL-2.1-or-later.txt -sha256 3f9e477523febab58de8b716ccfbcf02e6ef1c8e7728953905e8558637abe2a9 LICENSES/Linux-syscall-note.txt -sha256 8f25018489d6fe0dec34a352314c38dc146247b7de65735790f4398a92afa84b LICENSES/MIT.txt diff --git a/buildroot-2021.05/package/libcamera/libcamera.mk b/buildroot-2021.05/package/libcamera/libcamera.mk deleted file mode 100644 index 11a6961d..00000000 --- a/buildroot-2021.05/package/libcamera/libcamera.mk +++ /dev/null @@ -1,95 +0,0 @@ -################################################################################ -# -# libcamera -# -################################################################################ - -LIBCAMERA_SITE = https://git.linuxtv.org/libcamera.git -LIBCAMERA_VERSION = 3a1f67a8031ac5ad96a11d5dc8b2e8976290497b -LIBCAMERA_SITE_METHOD = git -LIBCAMERA_DEPENDENCIES = \ - host-openssl \ - host-pkgconf \ - host-python3-jinja2 \ - host-python3-ply \ - host-python3-pyyaml \ - gnutls -LIBCAMERA_CONF_OPTS = \ - -Dandroid=disabled \ - -Ddocumentation=disabled \ - -Dtest=false \ - -Dwerror=false -LIBCAMERA_INSTALL_STAGING = YES -LIBCAMERA_LICENSE = \ - LGPL-2.1+ (library), \ - GPL-2.0+ (utils), \ - MIT (qcam/assets/feathericons), \ - BSD-2-Clause (raspberrypi), \ - GPL-2.0 with Linux-syscall-note or BSD-3-Clause (linux kernel headers), \ - CC0-1.0 (meson build system), \ - CC-BY-SA-4.0 (doc) -LIBCAMERA_LICENSE_FILES = \ - LICENSES/LGPL-2.1-or-later.txt \ - LICENSES/GPL-2.0-or-later.txt \ - LICENSES/MIT.txt \ - LICENSES/BSD-2-Clause.txt \ - LICENSES/GPL-2.0-only.txt \ - LICENSES/Linux-syscall-note.txt \ - LICENSES/BSD-3-Clause.txt \ - LICENSES/CC0-1.0.txt \ - LICENSES/CC-BY-SA-4.0.txt - -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_7),y) -LIBCAMERA_CXXFLAGS = -faligned-new -endif - -ifeq ($(BR2_PACKAGE_LIBCAMERA_V4L2),y) -LIBCAMERA_CONF_OPTS += -Dv4l2=true -else -LIBCAMERA_CONF_OPTS += -Dv4l2=false -endif - -LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3) += ipu3 -ifeq ($(BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI),y) -LIBCAMERA_PIPELINES-y += raspberrypi -LIBCAMERA_DEPENDENCIES += boost -endif -LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1) += rkisp1 -LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE) += simple -LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO) += uvcvideo -LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC) += vimc - -LIBCAMERA_CONF_OPTS += -Dpipelines=$(subst $(space),$(comma),$(LIBCAMERA_PIPELINES-y)) - -# gstreamer-video-1.0, gstreamer-allocators-1.0 -ifeq ($(BR2_PACKAGE_GSTREAMER1)$(BR2_PACKAGE_GST1_PLUGINS_BASE),yy) -LIBCAMERA_CONF_OPTS += -Dgstreamer=enabled -LIBCAMERA_DEPENDENCIES += gstreamer1 gst1-plugins-base -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) -LIBCAMERA_CONF_OPTS += -Dqcam=enabled -LIBCAMERA_DEPENDENCIES += qt5base -ifeq ($(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS),y) -LIBCAMERA_DEPENDENCIES += qt5tools -endif -else -LIBCAMERA_CONF_OPTS += -Dqcam=disabled -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -LIBCAMERA_DEPENDENCIES += tiff -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -LIBCAMERA_DEPENDENCIES += udev -endif - -ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y) -LIBCAMERA_CONF_OPTS += -Dtracing=enabled -LIBCAMERA_DEPENDENCIES += lttng-libust -else -LIBCAMERA_CONF_OPTS += -Dtracing=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libcap/libcap.hash b/buildroot-2021.05/package/libcap/libcap.hash deleted file mode 100644 index 7499f246..00000000 --- a/buildroot-2021.05/package/libcap/libcap.hash +++ /dev/null @@ -1,5 +0,0 @@ -# https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc -sha256 4de9590ee09a87c282d558737ffb5b6175ccbfd26d580add10df44d0f047f6c2 libcap-2.48.tar.xz - -# Hash for license file: -sha256 088cabde4662b4121258d298b0b2967bc1abffa134457ed9bc4a359685ab92bc License diff --git a/buildroot-2021.05/package/libcap/libcap.mk b/buildroot-2021.05/package/libcap/libcap.mk deleted file mode 100644 index 79a130b4..00000000 --- a/buildroot-2021.05/package/libcap/libcap.mk +++ /dev/null @@ -1,72 +0,0 @@ -################################################################################ -# -# libcap -# -################################################################################ - -LIBCAP_VERSION = 2.48 -LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 -LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz -LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause -LIBCAP_LICENSE_FILES = License -LIBCAP_CPE_ID_VENDOR = libcap_project - -LIBCAP_DEPENDENCIES = host-libcap host-gperf -LIBCAP_INSTALL_STAGING = YES - -HOST_LIBCAP_DEPENDENCIES = host-gperf - -LIBCAP_MAKE_FLAGS = \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - BUILD_CC="$(HOSTCC)" \ - BUILD_CFLAGS="$(HOST_CFLAGS)" \ - lib=lib \ - prefix=/usr \ - SHARED=$(if $(BR2_STATIC_LIBS),,yes) \ - PTHREADS=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,) - -LIBCAP_MAKE_DIRS = libcap - -ifeq ($(BR2_PACKAGE_LIBCAP_TOOLS),y) -LIBCAP_MAKE_DIRS += progs -endif - -define LIBCAP_BUILD_CMDS - $(foreach d,$(LIBCAP_MAKE_DIRS), \ - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$(d) \ - $(LIBCAP_MAKE_FLAGS) all - ) -endef - -define LIBCAP_INSTALL_STAGING_CMDS - $(foreach d,$(LIBCAP_MAKE_DIRS), \ - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$(d) $(LIBCAP_MAKE_FLAGS) \ - DESTDIR=$(STAGING_DIR) install - ) -endef - -define LIBCAP_INSTALL_TARGET_CMDS - $(foreach d,$(LIBCAP_MAKE_DIRS), \ - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$(d) $(LIBCAP_MAKE_FLAGS) \ - DESTDIR=$(TARGET_DIR) install - ) -endef - -HOST_LIBCAP_MAKE_FLAGS = \ - DYNAMIC=yes \ - GOLANG=no \ - lib=lib \ - prefix=$(HOST_DIR) \ - RAISE_SETFCAP=no - -define HOST_LIBCAP_BUILD_CMDS - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(HOST_LIBCAP_MAKE_FLAGS) -endef - -define HOST_LIBCAP_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBCAP_MAKE_FLAGS) install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libcec/libcec.mk b/buildroot-2021.05/package/libcec/libcec.mk deleted file mode 100644 index 6591bc00..00000000 --- a/buildroot-2021.05/package/libcec/libcec.mk +++ /dev/null @@ -1,47 +0,0 @@ -################################################################################ -# -# libcec -# -################################################################################ - -LIBCEC_VERSION = 6.0.2 -LIBCEC_SITE = $(call github,Pulse-Eight,libcec,libcec-$(LIBCEC_VERSION)) -LIBCEC_LICENSE = GPL-2.0+ -LIBCEC_LICENSE_FILES = COPYING - -LIBCEC_INSTALL_STAGING = YES -LIBCEC_DEPENDENCIES = host-pkgconf libplatform - -ifeq ($(BR2_PACKAGE_LOCKDEV),y) -LIBCEC_DEPENDENCIES += lockdev -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -LIBCEC_DEPENDENCIES += udev -endif - -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -LIBCEC_DEPENDENCIES += host-swig $(if $(BR2_PACKAGE_PYTHON3),python3,python) -endif - -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) -LIBCEC_DEPENDENCIES += rpi-userland -LIBCEC_CONF_OPTS += \ - -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -lvcos -lvchiq_arm" \ - -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) \ - -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux \ - -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads" -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) -LIBCEC_DEPENDENCIES += xlib_libXrandr -endif - -# Disable information about how libCEC is compiled. -LIBCEC_CONF_OPTS += -DHAVE_GIT_BIN="" \ - -DHAVE_DATE_BIN="" \ - -DHAVE_WHOAMI_BIN="" \ - -DHAVE_HOSTNAME_BIN="" \ - -DHAVE_UNAME_BIN="" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libcli/libcli.hash b/buildroot-2021.05/package/libcli/libcli.hash deleted file mode 100644 index a17a176f..00000000 --- a/buildroot-2021.05/package/libcli/libcli.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 43efade6f3deb621e1e226b7854274a869fca57e12e74e61c5496d5dea7c445d libcli-1.10.4.tar.gz -sha256 376b54d4c5f4aa99421823fa4da93e3ab73096fce2400e89858632aa7da24a14 COPYING diff --git a/buildroot-2021.05/package/libcli/libcli.mk b/buildroot-2021.05/package/libcli/libcli.mk deleted file mode 100644 index 2dedc9d5..00000000 --- a/buildroot-2021.05/package/libcli/libcli.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# libcli -# -################################################################################ - -LIBCLI_VERSION = 1.10.4 -LIBCLI_SITE = $(call github,dparrish,libcli,V$(LIBCLI_VERSION)) -LIBCLI_LICENSE = LGPL-2.1 -LIBCLI_LICENSE_FILES = COPYING -LIBCLI_INSTALL_STAGING = YES - -# We will pass optimisation level via CFLAGS so remove libcli default -LIBCLI_MAKE_ARGS += OPTIM= - -# We can't run the test harness -LIBCLI_MAKE_ARGS += TESTS= - -# Disable the static library for shared only build -ifeq ($(BR2_SHARED_LIBS),y) -LIBCLI_MAKE_ARGS += STATIC_LIB= -endif - -# Disable the shared library for static only build -ifeq ($(BR2_STATIC_LIBS),y) -LIBCLI_MAKE_ARGS += DYNAMIC_LIB= -endif - -define LIBCLI_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - $(LIBCLI_MAKE_ARGS) -endef - -define LIBCLI_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - $(LIBCLI_MAKE_ARGS) DESTDIR=$(STAGING_DIR) PREFIX=/usr install -endef - -define LIBCLI_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - $(LIBCLI_MAKE_ARGS) DESTDIR=$(TARGET_DIR) PREFIX=/usr install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libcoap/libcoap.hash b/buildroot-2021.05/package/libcoap/libcoap.hash deleted file mode 100644 index 34720062..00000000 --- a/buildroot-2021.05/package/libcoap/libcoap.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 29a0394a265d3febee41e5e2dc03d34292a0aede37f5f80334e529ac0dab2321 libcoap-4.2.1.tar.gz -sha256 09dd86a017bad210527085008cbf706609c58210897b69845af14099577e7eb7 COPYING -sha256 c51e85271aca3fbdd79bb4ee45dcfd854724538dad83b70afbbdfc62415e3e7f LICENSE diff --git a/buildroot-2021.05/package/libcoap/libcoap.mk b/buildroot-2021.05/package/libcoap/libcoap.mk deleted file mode 100644 index 9a5e04d4..00000000 --- a/buildroot-2021.05/package/libcoap/libcoap.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# libcoap -# -################################################################################ - -LIBCOAP_VERSION = 4.2.1 -LIBCOAP_SITE = $(call github,obgm,libcoap,v$(LIBCOAP_VERSION)) -LIBCOAP_INSTALL_STAGING = YES -LIBCOAP_LICENSE = BSD-2-Clause -LIBCOAP_LICENSE_FILES = COPYING LICENSE -LIBCOAP_DEPENDENCIES = host-pkgconf -LIBCOAP_CONF_OPTS = --disable-examples --without-tinydtls -LIBCOAP_AUTORECONF = YES - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -LIBCOAP_DEPENDENCIES += gnutls -LIBCOAP_CONF_OPTS += --enable-dtls --with-gnutls --without-openssl -else ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBCOAP_DEPENDENCIES += openssl -LIBCOAP_CONF_OPTS += --enable-dtls --without-gnutls --with-openssl -else -LIBCOAP_CONF_OPTS += --disable-dtls -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libcodec2/libcodec2.hash b/buildroot-2021.05/package/libcodec2/libcodec2.hash deleted file mode 100644 index ec4f1f1a..00000000 --- a/buildroot-2021.05/package/libcodec2/libcodec2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 19181a446f4df3e6d616b50cabdac4485abb9cd3242cf312a0785f892ed4c76c libcodec2-0.9.2.tar.gz -sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING diff --git a/buildroot-2021.05/package/libcodec2/libcodec2.mk b/buildroot-2021.05/package/libcodec2/libcodec2.mk deleted file mode 100644 index 8410ffc9..00000000 --- a/buildroot-2021.05/package/libcodec2/libcodec2.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# libcodec2 -# -################################################################################ - -LIBCODEC2_VERSION = 0.9.2 -LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) -LIBCODEC2_LICENSE = LGPL-2.1 -LIBCODEC2_LICENSE_FILES = COPYING -LIBCODEC2_INSTALL_STAGING = YES -LIBCODEC2_SUPPORTS_IN_SOURCE_BUILD = NO -LIBCODEC2_CONF_OPTS = -DUNITTEST=OFF - -ifeq ($(BR2_PACKAGE_LIBCODEC2_EXAMPLES),y) -LIBCODEC2_CONF_OPTS += -DINSTALL_EXAMPLES=ON -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libconfig/0001-Add-disable-doc-option.patch b/buildroot-2021.05/package/libconfig/0001-Add-disable-doc-option.patch deleted file mode 100644 index ac323eba..00000000 --- a/buildroot-2021.05/package/libconfig/0001-Add-disable-doc-option.patch +++ /dev/null @@ -1,54 +0,0 @@ -From a0301bde126c2b08b50e789fd025a8c513c914c3 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 28 Apr 2018 19:15:22 +0200 -Subject: [PATCH] Add --disable-doc option - -Signed-off-by: Fabrice Fontaine ---- - Makefile.am | 6 +++++- - configure.ac | 12 ++++++++++++ - 2 files changed, 17 insertions(+), 1 deletion(-) - -diff --git a/Makefile.am b/Makefile.am -index 50ef4fa..e94d3ec 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,7 +1,11 @@ - - ACLOCAL_AMFLAGS = -I m4 - --SUBDIRS = lib doc tinytest tests -+SUBDIRS = lib tinytest tests -+ -+if BUILDDOC -+SUBDIRS += doc -+endif - - if BUILDEXAMPLES - SUBDIRS += examples -diff --git a/configure.ac b/configure.ac -index 62c5c56..8a14855 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -99,6 +99,18 @@ docxx=yes - - AM_CONDITIONAL(BUILDCXX, test x$docxx = xyes) - -+dodoc=yes -+ -+AC_ARG_ENABLE(doc, -+AS_HELP_STRING([--disable-doc], [Disable building of the documentation]), -+[if test "$enableval" = "no"; then dodoc="no"; fi], -+[ -+dodoc=yes -+] -+) -+ -+AM_CONDITIONAL(BUILDDOC, test x$dodoc = xyes) -+ - doexamples=yes - - AC_ARG_ENABLE(examples, --- -2.14.1 - diff --git a/buildroot-2021.05/package/libconfig/libconfig.hash b/buildroot-2021.05/package/libconfig/libconfig.hash deleted file mode 100644 index e056a17d..00000000 --- a/buildroot-2021.05/package/libconfig/libconfig.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 f67ac44099916ae260a6c9e290a90809e7d782d96cdd462cac656ebc5b685726 libconfig-1.7.2.tar.gz -sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f COPYING.LIB diff --git a/buildroot-2021.05/package/libconfig/libconfig.mk b/buildroot-2021.05/package/libconfig/libconfig.mk deleted file mode 100644 index a127f9bc..00000000 --- a/buildroot-2021.05/package/libconfig/libconfig.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# libconfig -# -################################################################################ - -LIBCONFIG_VERSION = 1.7.2 -LIBCONFIG_SITE = $(call github,hyperrealm,libconfig,v$(LIBCONFIG_VERSION)) -LIBCONFIG_LICENSE = LGPL-2.1+ -LIBCONFIG_LICENSE_FILES = COPYING.LIB -LIBCONFIG_INSTALL_STAGING = YES -# From git -LIBCONFIG_AUTORECONF = YES -LIBCONFIG_CONF_OPTS = --disable-examples - -ifneq ($(BR2_INSTALL_LIBSTDCPP),y) -LIBCONFIG_CONF_OPTS += --disable-cxx -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libcpprestsdk/Config.in b/buildroot-2021.05/package/libcpprestsdk/Config.in deleted file mode 100644 index 97f00e33..00000000 --- a/buildroot-2021.05/package/libcpprestsdk/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_LIBCPPRESTSDK - bool "libcpprestsdk" - depends on BR2_ENABLE_LOCALE - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR # boost - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_ATOMIC - select BR2_PACKAGE_BOOST_CHRONO - select BR2_PACKAGE_BOOST_DATE_TIME - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_RANDOM - select BR2_PACKAGE_BOOST_REGEX - select BR2_PACKAGE_BOOST_THREAD - select BR2_PACKAGE_OPENSSL - help - The C++ REST SDK is a Microsoft project for cloud-based - client-server communication in native code using a modern - asynchronous C++ API design. This project aims to help C++ - developers connect to and interact with services. - - https://github.com/Microsoft/cpprestsdk - -comment "libcpprestsdk needs a toolchain w/ NPTL, C++, wchar, locale" - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_INSTALL_LIBSTDCPP || \ - !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE - -comment "libcpprestsdk needs exception_ptr" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/libcurl/0001-bearssl-remove-incorrect-const-on-variable-that-is-m.patch b/buildroot-2021.05/package/libcurl/0001-bearssl-remove-incorrect-const-on-variable-that-is-m.patch deleted file mode 100644 index b88791fa..00000000 --- a/buildroot-2021.05/package/libcurl/0001-bearssl-remove-incorrect-const-on-variable-that-is-m.patch +++ /dev/null @@ -1,32 +0,0 @@ -From a03ea6223950002eba8b1ef0df3133c62f387d6b Mon Sep 17 00:00:00 2001 -From: Michael Forney -Date: Tue, 25 May 2021 23:42:07 -0700 -Subject: [PATCH] bearssl: remove incorrect const on variable that is modified - -hostname may be set to NULL later on in this function if it is an -IP address. - -Closes #7133 - -[peter@korsgaard.com: backported from upstream] -Signed-off-by: Peter Korsgaard ---- - lib/vtls/bearssl.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/vtls/bearssl.c b/lib/vtls/bearssl.c -index 7f729713d..40a5e7879 100644 ---- a/lib/vtls/bearssl.c -+++ b/lib/vtls/bearssl.c -@@ -300,7 +300,7 @@ static CURLcode bearssl_connect_step1(struct Curl_easy *data, - struct ssl_connect_data *connssl = &conn->ssl[sockindex]; - struct ssl_backend_data *backend = connssl->backend; - const char * const ssl_cafile = SSL_CONN_CONFIG(CAfile); -- const char * const hostname = SSL_HOST_NAME(); -+ const char *hostname = SSL_HOST_NAME(); - const bool verifypeer = SSL_CONN_CONFIG(verifypeer); - const bool verifyhost = SSL_CONN_CONFIG(verifyhost); - CURLcode ret; --- -2.20.1 - diff --git a/buildroot-2021.05/package/libcurl/Config.in b/buildroot-2021.05/package/libcurl/Config.in deleted file mode 100644 index b89c46f5..00000000 --- a/buildroot-2021.05/package/libcurl/Config.in +++ /dev/null @@ -1,80 +0,0 @@ -config BR2_PACKAGE_LIBCURL - bool "libcurl" - help - cURL is a tool for getting files from FTP, HTTP, Gopher, - Telnet, and Dict servers, using any of the supported - protocols. - - http://curl.haxx.se/ - -if BR2_PACKAGE_LIBCURL - -config BR2_PACKAGE_LIBCURL_CURL - bool "curl binary" - help - Install curl binary as well - -config BR2_PACKAGE_LIBCURL_VERBOSE - bool "verbose strings" - help - Enable verbose text strings - -config BR2_PACKAGE_LIBCURL_PROXY_SUPPORT - bool "proxy support" - default y - help - Enable proxy support. - -config BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT - bool "cookies support" - default y - help - Enable support for cookies. - -config BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES - bool "enable extra protocols and features" - default y - help - Enable the following extra protocols and features: - - LDAP / LDAPS - - POP3 / IMAP / SMTP - - Telnet - - TFTP - - RTSP - - SMB / CIFS - - DICT - - Gopher - -choice - prompt "SSL/TLS library to use" - -config BR2_PACKAGE_LIBCURL_OPENSSL - bool "OpenSSL" - depends on BR2_PACKAGE_OPENSSL - -config BR2_PACKAGE_LIBCURL_BEARSSL - bool "BearSSL" - depends on BR2_PACKAGE_BEARSSL - -config BR2_PACKAGE_LIBCURL_GNUTLS - bool "GnuTLS" - depends on BR2_PACKAGE_GNUTLS - -config BR2_PACKAGE_LIBCURL_LIBNSS - bool "NSS" - depends on BR2_PACKAGE_LIBNSS - -config BR2_PACKAGE_LIBCURL_MBEDTLS - bool "mbed TLS" - depends on BR2_PACKAGE_MBEDTLS - -config BR2_PACKAGE_LIBCURL_WOLFSSL - bool "WolfSSL" - depends on BR2_PACKAGE_WOLFSSL - -config BR2_PACKAGE_LIBCURL_TLS_NONE - bool "None" - -endchoice - -endif diff --git a/buildroot-2021.05/package/libcurl/libcurl.hash b/buildroot-2021.05/package/libcurl/libcurl.hash deleted file mode 100644 index 18332158..00000000 --- a/buildroot-2021.05/package/libcurl/libcurl.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -# https://curl.haxx.se/download/curl-7.77.0.tar.xz.asc -# signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 -sha256 0f64582c54282f31c0de9f0a1a596b182776bd4df9a4c4a2a41bbeb54f62594b curl-7.77.0.tar.xz -sha256 6fd1a1c008b5ef4c4741dd188c3f8af6944c14c25afa881eb064f98fb98358e7 COPYING diff --git a/buildroot-2021.05/package/libcurl/libcurl.mk b/buildroot-2021.05/package/libcurl/libcurl.mk deleted file mode 100644 index 53ff9836..00000000 --- a/buildroot-2021.05/package/libcurl/libcurl.mk +++ /dev/null @@ -1,197 +0,0 @@ -################################################################################ -# -# libcurl -# -################################################################################ - -LIBCURL_VERSION = 7.77.0 -LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz -LIBCURL_SITE = https://curl.haxx.se/download -LIBCURL_DEPENDENCIES = host-pkgconf \ - $(if $(BR2_PACKAGE_ZLIB),zlib) \ - $(if $(BR2_PACKAGE_RTMPDUMP),rtmpdump) -LIBCURL_LICENSE = curl -LIBCURL_LICENSE_FILES = COPYING -LIBCURL_CPE_ID_VENDOR = haxx -LIBCURL_CPE_ID_PRODUCT = libcurl -LIBCURL_INSTALL_STAGING = YES - -# We disable NTLM support because it uses fork(), which doesn't work -# on non-MMU platforms. Moreover, this authentication method is -# probably almost never used. See -# http://curl.haxx.se/docs/manpage.html#--ntlm. -# Likewise, there is no compiler on the target, so libcurl-option (to -# generate C code) isn't very useful -LIBCURL_CONF_OPTS = --disable-manual --disable-ntlm-wb \ - --enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug \ - --disable-libcurl-option --disable-ldap --disable-ldaps - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -LIBCURL_CONF_OPTS += --enable-threaded-resolver -else -LIBCURL_CONF_OPTS += --disable-threaded-resolver -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_VERBOSE),y) -LIBCURL_CONF_OPTS += --enable-verbose -else -LIBCURL_CONF_OPTS += --disable-verbose -endif - -LIBCURL_CONFIG_SCRIPTS = curl-config - -ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y) -LIBCURL_DEPENDENCIES += openssl -# configure adds the cross openssl dir to LD_LIBRARY_PATH which screws up -# native stuff during the rest of configure when target == host. -# Fix it by setting LD_LIBRARY_PATH to something sensible so those libs -# are found first. -LIBCURL_CONF_ENV += LD_LIBRARY_PATH=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)/lib:/usr/lib -LIBCURL_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr \ - --with-ca-path=/etc/ssl/certs -else -LIBCURL_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_BEARSSL),y) -LIBCURL_CONF_OPTS += --with-bearssl=$(STAGING_DIR)/usr -LIBCURL_DEPENDENCIES += bearssl -else -LIBCURL_CONF_OPTS += --without-bearssl -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_GNUTLS),y) -LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \ - --with-ca-fallback -LIBCURL_DEPENDENCIES += gnutls -else -LIBCURL_CONF_OPTS += --without-gnutls -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_LIBNSS),y) -LIBCURL_CONF_OPTS += --with-nss=$(STAGING_DIR)/usr -LIBCURL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) `$(PKG_CONFIG_HOST_BINARY) nspr nss --cflags`" -LIBCURL_DEPENDENCIES += libnss -else -LIBCURL_CONF_OPTS += --without-nss -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_MBEDTLS),y) -LIBCURL_CONF_OPTS += --with-mbedtls=$(STAGING_DIR)/usr -LIBCURL_DEPENDENCIES += mbedtls -else -LIBCURL_CONF_OPTS += --without-mbedtls -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y) -LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr -LIBCURL_DEPENDENCIES += wolfssl -else -LIBCURL_CONF_OPTS += --without-wolfssl -endif - -ifeq ($(BR2_PACKAGE_C_ARES),y) -LIBCURL_DEPENDENCIES += c-ares -LIBCURL_CONF_OPTS += --enable-ares -else -LIBCURL_CONF_OPTS += --disable-ares -endif - -ifeq ($(BR2_PACKAGE_LIBIDN2),y) -LIBCURL_DEPENDENCIES += libidn2 -LIBCURL_CONF_OPTS += --with-libidn2 -else -LIBCURL_CONF_OPTS += --without-libidn2 -endif - -# Configure curl to support libssh2 -ifeq ($(BR2_PACKAGE_LIBSSH2),y) -LIBCURL_DEPENDENCIES += libssh2 -LIBCURL_CONF_OPTS += --with-libssh2 -else -LIBCURL_CONF_OPTS += --without-libssh2 -endif - -ifeq ($(BR2_PACKAGE_BROTLI),y) -LIBCURL_DEPENDENCIES += brotli -LIBCURL_CONF_OPTS += --with-brotli -else -LIBCURL_CONF_OPTS += --without-brotli -endif - -ifeq ($(BR2_PACKAGE_NGHTTP2),y) -LIBCURL_DEPENDENCIES += nghttp2 -LIBCURL_CONF_OPTS += --with-nghttp2 -else -LIBCURL_CONF_OPTS += --without-nghttp2 -endif - -ifeq ($(BR2_PACKAGE_LIBGSASL),y) -LIBCURL_DEPENDENCIES += libgsasl -LIBCURL_CONF_OPTS += --with-gsasl -else -LIBCURL_CONF_OPTS += --without-gsasl -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT),y) -LIBCURL_CONF_OPTS += --enable-cookies -else -LIBCURL_CONF_OPTS += --disable-cookies -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_PROXY_SUPPORT),y) -LIBCURL_CONF_OPTS += --enable-proxy -else -LIBCURL_CONF_OPTS += --disable-proxy -endif - -ifeq ($(BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES),y) -LIBCURL_CONF_OPTS += \ - --enable-dict \ - --enable-gopher \ - --enable-imap \ - --enable-pop3 \ - --enable-rtsp \ - --enable-smb \ - --enable-smtp \ - --enable-telnet \ - --enable-tftp -else -LIBCURL_CONF_OPTS += \ - --disable-dict \ - --disable-gopher \ - --disable-imap \ - --disable-pop3 \ - --disable-rtsp \ - --disable-smb \ - --disable-smtp \ - --disable-telnet \ - --disable-tftp -endif - -define LIBCURL_FIX_DOT_PC - printf 'Requires: openssl\n' >>$(@D)/libcurl.pc.in -endef -LIBCURL_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_LIBCURL_OPENSSL),LIBCURL_FIX_DOT_PC) - -ifeq ($(BR2_PACKAGE_LIBCURL_CURL),) -define LIBCURL_TARGET_CLEANUP - rm -rf $(TARGET_DIR)/usr/bin/curl -endef -LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP -endif - -HOST_LIBCURL_DEPENDENCIES = host-openssl -HOST_LIBCURL_CONF_OPTS = \ - --disable-manual \ - --disable-ntlm-wb \ - --disable-curldebug \ - --with-ssl \ - --without-gnutls \ - --without-mbedtls \ - --without-nss - -HOST_LIBCURL_POST_PATCH_HOOKS += LIBCURL_FIX_DOT_PC - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libdnet/0001-python-gcc.patch b/buildroot-2021.05/package/libdnet/0001-python-gcc.patch deleted file mode 100644 index ea732e43..00000000 --- a/buildroot-2021.05/package/libdnet/0001-python-gcc.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/python/dnet.c 2006-01-19 18:08:23.000000000 +1100 -+++ b/python/dnet.c 2008-09-03 16:30:47.000000000 +1000 -@@ -2726,7 +2726,7 @@ - PyObject *__pyx_3 = 0; - unsigned short __pyx_4; - Py_INCREF(__pyx_v_self); -- ((PyObject*)__pyx_v_next) = Py_None; Py_INCREF(((PyObject*)__pyx_v_next)); -+ __pyx_v_next = (struct __pyx_obj_4dnet_addr*)Py_None; Py_INCREF(((PyObject*)__pyx_v_next)); - - /* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":634 */ - __pyx_1 = (((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->cur <= ((struct __pyx_obj_4dnet___addr_ip4_iter *)__pyx_v_self)->max); -@@ -2738,7 +2739,7 @@ - Py_DECREF(__pyx_2); __pyx_2 = 0; - if (!__Pyx_TypeTest(__pyx_3, __pyx_ptype_4dnet_addr)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 635; goto __pyx_L1;} - Py_DECREF(((PyObject *)__pyx_v_next)); -- ((PyObject *)__pyx_v_next) = __pyx_3; -+ __pyx_v_next = (struct __pyx_obj_4dnet_addr*)__pyx_3; - __pyx_3 = 0; - - /* "/Users/dugsong/projects/libdnet/python/./dnet.pyx":636 */ diff --git a/buildroot-2021.05/package/libdnet/0002-python-makefile.patch b/buildroot-2021.05/package/libdnet/0002-python-makefile.patch deleted file mode 100644 index fb41e43e..00000000 --- a/buildroot-2021.05/package/libdnet/0002-python-makefile.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- - python/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -Index: libdnet-1.11/python/Makefile.am -=================================================================== ---- libdnet-1.11.orig/python/Makefile.am -+++ libdnet-1.11/python/Makefile.am -@@ -11,6 +11,7 @@ - pyrexc $(srcdir)/dnet.pyx - - python-build: $(srcdir)/dnet.c -+ CC="$(CC)" LDSHARED="$(CC) -shared" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(PYTHON) setup.py build_ext -I$(PYINCDIR) -L$(PYLIBDIR) - $(PYTHON) setup.py build - touch python-build - diff --git a/buildroot-2021.05/package/libdnet/Config.in b/buildroot-2021.05/package/libdnet/Config.in deleted file mode 100644 index e7ba3a21..00000000 --- a/buildroot-2021.05/package/libdnet/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_LIBDNET - bool "libdnet" - help - libdnet - simplified interface to low-level networking - routines. - - http://libdnet.sourceforge.net/ - -if BR2_PACKAGE_LIBDNET - -config BR2_PACKAGE_LIBDNET_PYTHON - bool "libdnet python module" - depends on BR2_PACKAGE_PYTHON - help - dnet module for python - -comment "dnet module for python requires python package" - depends on !BR2_PACKAGE_PYTHON - -endif diff --git a/buildroot-2021.05/package/libdnet/libdnet.hash b/buildroot-2021.05/package/libdnet/libdnet.hash deleted file mode 100644 index d2e82027..00000000 --- a/buildroot-2021.05/package/libdnet/libdnet.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 0eb78415c8f2564c2f1e8ad36e98473348d9c94852f796a226360c716cc7ca53 libdnet-1.11.tar.gz -sha256 1e94df12cb3701fa64e07eeb60284bb16a3544815d5a39860dacff7b86610584 LICENSE diff --git a/buildroot-2021.05/package/libdnet/libdnet.mk b/buildroot-2021.05/package/libdnet/libdnet.mk deleted file mode 100644 index d1cc0bf1..00000000 --- a/buildroot-2021.05/package/libdnet/libdnet.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# libdnet -# -################################################################################ - -LIBDNET_VERSION = 1.11 -LIBDNET_SITE = http://downloads.sourceforge.net/project/libdnet/libdnet/libdnet-$(LIBDNET_VERSION) -LIBDNET_LICENSE = BSD-3-Clause -LIBDNET_LICENSE_FILES = LICENSE -LIBDNET_INSTALL_STAGING = YES -LIBDNET_AUTORECONF = YES -LIBDNET_CONF_OPTS = \ - --with-gnu-ld \ - --with-check=no -LIBDNET_CONFIG_SCRIPTS = dnet-config - -ifneq ($(BR2_PACKAGE_LIBDNET_PYTHON),) -LIBDNET_DEPENDENCIES = python -LIBDNET_CONF_OPTS += --with-python -LIBDNET_MAKE_OPTS = PYINCDIR=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR) PYLIBDIR=$(STAGING_DIR)/usr/lib -LIBDNET_INSTALL_TARGET_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(TARGET_DIR) INSTALL_STRIP_FLAG=-s install-exec -LIBDNET_INSTALL_STAGING_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install -endif - -# Needed for autoreconf to work properly -define LIBDNET_FIXUP_ACINCLUDE_M4 - ln -sf config/acinclude.m4 $(@D) -endef - -LIBDNET_POST_EXTRACT_HOOKS += LIBDNET_FIXUP_ACINCLUDE_M4 - -define LIBDNET_REMOVE_CONFIG_SCRIPT - $(RM) -f $(TARGET_DIR)/usr/bin/dnet-config -endef - -LIBDNET_POST_INSTALL_TARGET_HOOKS += LIBDNET_REMOVE_CONFIG_SCRIPT - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libdrm/libdrm.hash b/buildroot-2021.05/package/libdrm/libdrm.hash deleted file mode 100644 index 07967582..00000000 --- a/buildroot-2021.05/package/libdrm/libdrm.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.freedesktop.org/archives/dri-devel/2021-May/307025.html -sha256 92d8ac54429b171e087e61c2894dc5399fe6a549b1fbba09fa6a3cb9d4e57bd4 libdrm-2.4.106.tar.xz -sha512 33140e579906ab54b716149056af500c628ce41cd9ae3b0c33496693d2f5903fbcfccee8a942dd1560e1591111ed240da42612d5af5e75558db6f6a85d14617d libdrm-2.4.106.tar.xz - -# Hash for license file -sha256 a69e38953c20a88845cc739c05dd604da4c977844b872e126c91a0ca2e1385b7 xf86drm.c diff --git a/buildroot-2021.05/package/libdrm/libdrm.mk b/buildroot-2021.05/package/libdrm/libdrm.mk deleted file mode 100644 index f18df276..00000000 --- a/buildroot-2021.05/package/libdrm/libdrm.mk +++ /dev/null @@ -1,117 +0,0 @@ -################################################################################ -# -# libdrm -# -################################################################################ - -LIBDRM_VERSION = 2.4.106 -LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.xz -LIBDRM_SITE = https://dri.freedesktop.org/libdrm -LIBDRM_LICENSE = MIT -LIBDRM_LICENSE_FILES = xf86drm.c -LIBDRM_INSTALL_STAGING = YES - -LIBDRM_DEPENDENCIES = \ - libpthread-stubs \ - host-pkgconf - -LIBDRM_CONF_OPTS = \ - -Dcairo-tests=false \ - -Dman-pages=false - -ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) -LIBDRM_DEPENDENCIES += libatomic_ops -ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) -LIBDRM_CFLAGS = $(TARGET_CFLAGS) -DAO_NO_SPARC_V9 -endif -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_INTEL),y) -LIBDRM_CONF_OPTS += -Dintel=true -LIBDRM_DEPENDENCIES += libpciaccess -else -LIBDRM_CONF_OPTS += -Dintel=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_RADEON),y) -LIBDRM_CONF_OPTS += -Dradeon=true -else -LIBDRM_CONF_OPTS += -Dradeon=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_AMDGPU),y) -LIBDRM_CONF_OPTS += -Damdgpu=true -else -LIBDRM_CONF_OPTS += -Damdgpu=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU),y) -LIBDRM_CONF_OPTS += -Dnouveau=true -else -LIBDRM_CONF_OPTS += -Dnouveau=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_VMWGFX),y) -LIBDRM_CONF_OPTS += -Dvmwgfx=true -else -LIBDRM_CONF_OPTS += -Dvmwgfx=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_OMAP),y) -LIBDRM_CONF_OPTS += -Domap=true -else -LIBDRM_CONF_OPTS += -Domap=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_ETNAVIV),y) -LIBDRM_CONF_OPTS += -Detnaviv=true -else -LIBDRM_CONF_OPTS += -Detnaviv=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_EXYNOS),y) -LIBDRM_CONF_OPTS += -Dexynos=true -else -LIBDRM_CONF_OPTS += -Dexynos=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_FREEDRENO),y) -LIBDRM_CONF_OPTS += -Dfreedreno=true -else -LIBDRM_CONF_OPTS += -Dfreedreno=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_TEGRA),y) -LIBDRM_CONF_OPTS += -Dtegra=true -else -LIBDRM_CONF_OPTS += -Dtegra=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_VC4),y) -LIBDRM_CONF_OPTS += -Dvc4=true -else -LIBDRM_CONF_OPTS += -Dvc4=false -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -LIBDRM_CONF_OPTS += -Dudev=true -LIBDRM_DEPENDENCIES += udev -else -LIBDRM_CONF_OPTS += -Dudev=false -endif - -ifeq ($(BR2_PACKAGE_VALGRIND),y) -LIBDRM_CONF_OPTS += -Dvalgrind=true -LIBDRM_DEPENDENCIES += valgrind -else -LIBDRM_CONF_OPTS += -Dvalgrind=false -endif - -ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y) -LIBDRM_CONF_OPTS += -Dinstall-test-programs=true -ifeq ($(BR2_PACKAGE_CUNIT),y) -LIBDRM_DEPENDENCIES += cunit -endif -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libdvdcss/libdvdcss.hash b/buildroot-2021.05/package/libdvdcss/libdvdcss.hash deleted file mode 100644 index 1e1b03ed..00000000 --- a/buildroot-2021.05/package/libdvdcss/libdvdcss.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://download.videolan.org/pub/videolan/libdvdcss/1.4.2/libdvdcss-1.4.2.tar.bz2.sha256 -sha256 78c2ed77ec9c0d8fbed7bf7d3abc82068b8864be494cfad165821377ff3f2575 libdvdcss-1.4.2.tar.bz2 - -# Hash for license file: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/libdvdcss/libdvdcss.mk b/buildroot-2021.05/package/libdvdcss/libdvdcss.mk deleted file mode 100644 index 0593d556..00000000 --- a/buildroot-2021.05/package/libdvdcss/libdvdcss.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# libdvdcss -# -################################################################################ - -LIBDVDCSS_VERSION = 1.4.2 -LIBDVDCSS_SOURCE = libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2 -LIBDVDCSS_SITE = http://www.videolan.org/pub/videolan/libdvdcss/$(LIBDVDCSS_VERSION) -LIBDVDCSS_INSTALL_STAGING = YES -LIBDVDCSS_LICENSE = GPL-2.0+ -LIBDVDCSS_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libdvdnav/libdvdnav.hash b/buildroot-2021.05/package/libdvdnav/libdvdnav.hash deleted file mode 100644 index 04706b0b..00000000 --- a/buildroot-2021.05/package/libdvdnav/libdvdnav.hash +++ /dev/null @@ -1,9 +0,0 @@ -# From http://download.videolan.org/pub/videolan/libdvdnav/6.1.0/libdvdnav-6.1.0.tar.bz2.md5 -md5 8817ac12c13644df6ba2091c2dcaeed3 libdvdnav-6.1.0.tar.bz2 -# From http://download.videolan.org/pub/videolan/libdvdnav/6.1.0/libdvdnav-6.1.0.tar.bz2.sha1 -sha1 b0597e9d11393e17b57f784c0dcba33a499e80b0 libdvdnav-6.1.0.tar.bz2 -# From http://download.videolan.org/pub/videolan/libdvdnav/6.1.0/libdvdnav-6.1.0.tar.bz2.sha256 -sha256 f697b15ea9f75e9f36bdf6ec3726308169f154e2b1e99865d0bbe823720cee5b libdvdnav-6.1.0.tar.bz2 - -# Hash for license file: -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/libdvdnav/libdvdnav.mk b/buildroot-2021.05/package/libdvdnav/libdvdnav.mk deleted file mode 100644 index c5bebd49..00000000 --- a/buildroot-2021.05/package/libdvdnav/libdvdnav.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libdvdnav -# -################################################################################ - -LIBDVDNAV_VERSION = 6.1.0 -LIBDVDNAV_SOURCE = libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2 -LIBDVDNAV_SITE = http://www.videolan.org/pub/videolan/libdvdnav/$(LIBDVDNAV_VERSION) -LIBDVDNAV_INSTALL_STAGING = YES -LIBDVDNAV_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" -LIBDVDNAV_DEPENDENCIES = libdvdread host-pkgconf -LIBDVDNAV_LICENSE = GPL-2.0+ -LIBDVDNAV_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libdvdread/libdvdread.hash b/buildroot-2021.05/package/libdvdread/libdvdread.hash deleted file mode 100644 index 00066619..00000000 --- a/buildroot-2021.05/package/libdvdread/libdvdread.hash +++ /dev/null @@ -1,9 +0,0 @@ -# From http://download.videolan.org/pub/videolan/libdvdread/6.1.1/libdvdread-6.1.1.tar.bz2.md5 -md5 09c7423568fb679279fd2a2bc6b10b6e libdvdread-6.1.1.tar.bz2 -# From http://download.videolan.org/pub/videolan/libdvdread/6.1.1/libdvdread-6.1.1.tar.bz2.sha1 -sha1 d2e5056de89fb5fed478c0af5a72e8b781d0c396 libdvdread-6.1.1.tar.bz2 -# From http://download.videolan.org/pub/videolan/libdvdread/6.1.1/libdvdread-6.1.1.tar.bz2.sha256 -sha256 3e357309a17c5be3731385b9eabda6b7e3fa010f46022a06f104553bf8e21796 libdvdread-6.1.1.tar.bz2 - -# Hash for license file: -sha256 d6cb0e9e560f51085556949a84af12b79a00f10ab8b66c752537faf7cd665572 COPYING diff --git a/buildroot-2021.05/package/libdvdread/libdvdread.mk b/buildroot-2021.05/package/libdvdread/libdvdread.mk deleted file mode 100644 index aa91d316..00000000 --- a/buildroot-2021.05/package/libdvdread/libdvdread.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# libdvdread -# -################################################################################ - -LIBDVDREAD_VERSION = 6.1.1 -LIBDVDREAD_SOURCE = libdvdread-$(LIBDVDREAD_VERSION).tar.bz2 -LIBDVDREAD_SITE = http://www.videolan.org/pub/videolan/libdvdread/$(LIBDVDREAD_VERSION) -LIBDVDREAD_INSTALL_STAGING = YES -LIBDVDREAD_LICENSE = GPL-2.0+ -LIBDVDREAD_LICENSE_FILES = COPYING -LIBDVDREAD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu99" -LIBDVDREAD_CONF_OPTS = --with-libdvdcss -LIBDVDREAD_DEPENDENCIES = libdvdcss host-pkgconf - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libeXosip2/0001-src-eXtls_dtls.c-fix-build-with-libressl.patch b/buildroot-2021.05/package/libeXosip2/0001-src-eXtls_dtls.c-fix-build-with-libressl.patch deleted file mode 100644 index b153eee6..00000000 --- a/buildroot-2021.05/package/libeXosip2/0001-src-eXtls_dtls.c-fix-build-with-libressl.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 178632fa5530a72f50376a60d59be2a07e65c28b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 6 Mar 2021 15:20:51 +0100 -Subject: [PATCH] src/eXtls_dtls.c: fix build with libressl - -Build with libressl is broken since -https://git.savannah.nongnu.org/cgit/exosip.git/commit/?id=d7488b7bbf59870192372384ef338a44be23e888 -because libressl does not define SSL_set0_rbio - -Fixes: - - http://autobuild.buildroot.org/results/89d8d4ba99d6dcc1618cf6b5302c124a92d75be9 - -Signed-off-by: Fabrice Fontaine -[Upstream status: sent to amoizard@antisip.com] ---- - src/eXtl_dtls.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/eXtl_dtls.c b/src/eXtl_dtls.c -index 40fa658..8ac3a13 100644 ---- a/src/eXtl_dtls.c -+++ b/src/eXtl_dtls.c -@@ -70,7 +70,7 @@ - #define RANDOM "random.pem" - #define DHFILE "dh1024.pem" - --#if OPENSSL_VERSION_NUMBER < 0x10100000L -+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) - - static void - SSL_set0_rbio (SSL * s, BIO * rbio) --- -2.30.0 - diff --git a/buildroot-2021.05/package/libeXosip2/libeXosip2.hash b/buildroot-2021.05/package/libeXosip2/libeXosip2.hash deleted file mode 100644 index 53e27e92..00000000 --- a/buildroot-2021.05/package/libeXosip2/libeXosip2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 e3ae88df8573c9e08dbc24fe6195a118845e845109a8e291c91ecd6a2a3b7225 libexosip2-5.2.0.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/libeXosip2/libeXosip2.mk b/buildroot-2021.05/package/libeXosip2/libeXosip2.mk deleted file mode 100644 index 3ed637a3..00000000 --- a/buildroot-2021.05/package/libeXosip2/libeXosip2.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# libexosip2 -# -################################################################################ - -LIBEXOSIP2_VERSION = 5.2.0 -# Since version 5.0, letter 'X' in library's name is in lower case -LIBEXOSIP2_SOURCE = libexosip2-$(LIBEXOSIP2_VERSION).tar.gz -LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip -LIBEXOSIP2_INSTALL_STAGING = YES -LIBEXOSIP2_LICENSE = GPL-2.0+ -LIBEXOSIP2_LICENSE_FILES = COPYING -LIBEXOSIP2_CPE_ID_VENDOR = gnu -LIBEXOSIP2_CPE_ID_PRODUCT = exosip - -LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2 - -ifeq ($(BR2_arc),y) -# toolchain __arc__ define conflicts with libeXosip2 source -LIBEXOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__" -endif - -ifeq ($(BR2_PACKAGE_C_ARES),y) -LIBEXOSIP2_DEPENDENCIES += c-ares -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBEXOSIP2_DEPENDENCIES += openssl -LIBEXOSIP2_CONF_OPTS += --enable-openssl -else -LIBEXOSIP2_CONF_OPTS += --disable-openssl -endif - -LIBEXOSIP2_CONF_OPTS += \ - --enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libeastl/Config.in b/buildroot-2021.05/package/libeastl/Config.in deleted file mode 100644 index 76094345..00000000 --- a/buildroot-2021.05/package/libeastl/Config.in +++ /dev/null @@ -1,27 +0,0 @@ -config BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS - bool - default y if BR2_i386 - default y if BR2_x86_64 - default y if BR2_aarch64 - default y if BR2_powerpc - default y if BR2_powerpc64 - -config BR2_PACKAGE_LIBEASTL - bool "libeastl" - depends on BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 - help - EASTL stands for Electronic Arts Standard Template - Library. EASTL stands for Electronic Arts Standard Template - Library. It is a C++ template library of containers, - algorithms, and iterators useful for runtime and tool - development across multiple platforms. It is an extensive - and robust implementation that has an emphasis on high - performance. - - https://github.com/electronicarts/EASTL - -comment "libeastl needs a toolchain w/ C++, gcc >= 4.9" - depends on BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/libedit/0001-check-bsd-functions-in-libbsd.patch b/buildroot-2021.05/package/libedit/0001-check-bsd-functions-in-libbsd.patch deleted file mode 100644 index 7438340d..00000000 --- a/buildroot-2021.05/package/libedit/0001-check-bsd-functions-in-libbsd.patch +++ /dev/null @@ -1,22 +0,0 @@ -configure: on Linux, the BSD functions require linking against libbsd - -Signed-off-by: "Fabrice Fontaine" -(Rebased against 20170329-3.1) -Signed-off-by: "Yann E. MORIN" -(Rebased against 20150325-3.1) -Signed-off-by: Bernd Kuhls - -diff -durN libedit-20130712-3.1.orig/configure.ac libedit-20130712-3.1/configure.ac ---- libedit-20130712-3.1.orig/configure.ac 2013-07-12 20:39:22.000000000 +0200 -+++ libedit-20130712-3.1/configure.ac 2013-07-28 23:35:35.012676469 +0200 -@@ -117,6 +117,10 @@ - #AC_FUNC_REALLOC - AC_TYPE_SIGNAL - AC_FUNC_STAT -+ -+# Search for libbsd for *vis functions -+AC_CHECK_LIB([bsd], [vis]) -+ - AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup strlcpy strlcat getline vis strvis strunvis __secure_getenv secure_getenv]) - - # strlcpy diff --git a/buildroot-2021.05/package/libedit/libedit.hash b/buildroot-2021.05/package/libedit/libedit.hash deleted file mode 100644 index d405e47b..00000000 --- a/buildroot-2021.05/package/libedit/libedit.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 dbb82cb7e116a5f8025d35ef5b4f7d4a3cdd0a3909a146a39112095a2d229071 libedit-20191231-3.1.tar.gz -sha256 9da6c9c74987a36c84302982799d17d2f748ba1c1c0c471425716173c1d07649 COPYING diff --git a/buildroot-2021.05/package/libedit/libedit.mk b/buildroot-2021.05/package/libedit/libedit.mk deleted file mode 100644 index cb18b97f..00000000 --- a/buildroot-2021.05/package/libedit/libedit.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# libedit -# -################################################################################ - -LIBEDIT_VERSION = 20191231-3.1 -LIBEDIT_SITE = http://www.thrysoee.dk/editline -LIBEDIT_INSTALL_STAGING = YES -LIBEDIT_DEPENDENCIES = ncurses -LIBEDIT_LICENSE = BSD-3-Clause -LIBEDIT_LICENSE_FILES = COPYING - -# We're patching configure.ac -LIBEDIT_AUTORECONF = YES - -# musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__, -# so let's define it manually -ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) -LIBEDIT_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -D__STDC_ISO_10646__=201103L" -endif - -# Note: libbsd required for *vis functions, but works only with a toolchain -# with __progname; otherwise, some features are disabled, as if libbsd was -# missing entirely. -ifeq ($(BR2_PACKAGE_LIBBSD),y) -LIBEDIT_DEPENDENCIES += libbsd -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libepoxy/libepoxy.hash b/buildroot-2021.05/package/libepoxy/libepoxy.hash deleted file mode 100644 index 79876ad0..00000000 --- a/buildroot-2021.05/package/libepoxy/libepoxy.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.5.sha256sum -sha256 261663db21bcc1cc232b07ea683252ee6992982276536924271535875f5b0556 libepoxy-1.5.5.tar.xz - -# Hashes for license files: -sha256 8d5144666f9c4df9bbd69b8900086d5979259152a1060421cdcc0fb9061a1c12 COPYING diff --git a/buildroot-2021.05/package/libepoxy/libepoxy.mk b/buildroot-2021.05/package/libepoxy/libepoxy.mk deleted file mode 100644 index bb578fb0..00000000 --- a/buildroot-2021.05/package/libepoxy/libepoxy.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# libepoxy -# -################################################################################ - -LIBEPOXY_VERSION_MAJOR = 1.5 -LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).5 -LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR) -LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz -LIBEPOXY_INSTALL_STAGING = YES -LIBEPOXY_DEPENDENCIES = host-pkgconf xutil_util-macros -LIBEPOXY_LICENSE = MIT -LIBEPOXY_LICENSE_FILES = COPYING -LIBEPOXY_CONF_OPTS += -Ddocs=false -Dtests=false - -ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y) -LIBEPOXY_CONF_OPTS += -Degl=yes -LIBEPOXY_DEPENDENCIES += libegl -else -LIBEPOXY_CONF_OPTS += -Degl=no -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_XLIB_LIBX11),yy) -LIBEPOXY_CONF_OPTS += -Dglx=yes -Dx11=true -LIBEPOXY_DEPENDENCIES += libgl xlib_libX11 -else -LIBEPOXY_CONF_OPTS += -Dglx=no -Dx11=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/liberation/liberation.hash b/buildroot-2021.05/package/liberation/liberation.hash deleted file mode 100644 index 6606142d..00000000 --- a/buildroot-2021.05/package/liberation/liberation.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 14694930f28391675008c67b18889d1a7dfea74b16adf50394f8057b57eaf8e0 liberation-fonts-ttf-2.1.2.tar.gz -sha256 93fed46019c38bbe566b479d22148e2e8a1e85ada614accb0211c37b2c61c19b LICENSE diff --git a/buildroot-2021.05/package/liberation/liberation.mk b/buildroot-2021.05/package/liberation/liberation.mk deleted file mode 100644 index 522a038d..00000000 --- a/buildroot-2021.05/package/liberation/liberation.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# liberation -# -################################################################################ - -LIBERATION_VERSION = 2.1.2 -LIBERATION_SITE = https://github.com/liberationfonts/liberation-fonts/files/5722233 -LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz -LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation -LIBERATION_LICENSE = OFL-1.1 -LIBERATION_LICENSE_FILES = LICENSE - -ifeq ($(BR2_PACKAGE_LIBERATION_MONO),y) -define LIBERATION_INSTALL_MONO - $(INSTALL) -m 644 $(@D)/LiberationMono*.ttf $(LIBERATION_TARGET_DIR) -endef -endif - -ifeq ($(BR2_PACKAGE_LIBERATION_SANS),y) -define LIBERATION_INSTALL_SANS - $(INSTALL) -m 644 $(@D)/LiberationSans*.ttf $(LIBERATION_TARGET_DIR) -endef -endif - -ifeq ($(BR2_PACKAGE_LIBERATION_SERIF),y) -define LIBERATION_INSTALL_SERIF - $(INSTALL) -m 644 $(@D)/LiberationSerif*.ttf $(LIBERATION_TARGET_DIR) -endef -endif - -define LIBERATION_INSTALL_TARGET_CMDS - mkdir -p $(LIBERATION_TARGET_DIR) - $(LIBERATION_INSTALL_MONO) - $(LIBERATION_INSTALL_SANS) - $(LIBERATION_INSTALL_SERIF) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libesmtp/Config.in b/buildroot-2021.05/package/libesmtp/Config.in deleted file mode 100644 index db2dc8ec..00000000 --- a/buildroot-2021.05/package/libesmtp/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_LIBESMTP - bool "libesmtp" - depends on !BR2_STATIC_LIBS - help - Library for sending emails through SMTP. - - https://libesmtp.github.io - -comment "libesmtp needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libesmtp/libesmtp.hash b/buildroot-2021.05/package/libesmtp/libesmtp.hash deleted file mode 100644 index 9e1ca22b..00000000 --- a/buildroot-2021.05/package/libesmtp/libesmtp.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b libesmtp-1.0.6.tar.bz2 -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING -sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB diff --git a/buildroot-2021.05/package/libesmtp/libesmtp.mk b/buildroot-2021.05/package/libesmtp/libesmtp.mk deleted file mode 100644 index 1f5cdec1..00000000 --- a/buildroot-2021.05/package/libesmtp/libesmtp.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# libesmtp -# -################################################################################ - -LIBESMTP_VERSION = 1.0.6 -LIBESMTP_SOURCE = libesmtp-$(LIBESMTP_VERSION).tar.bz2 -LIBESMTP_SITE = http://sources.buildroot.net/libesmtp -LIBESMTP_INSTALL_STAGING = YES -LIBESMTP_CONFIG_SCRIPTS = libesmtp-config -LIBESMTP_DEPENDENCIES = $(if $(BR2_PACKAGE_OPENSSL),openssl) -LIBESMTP_LICENSE = GPL-2.0+ (examples), LGPL-2.1+ (library) -LIBESMTP_LICENSE_FILES = COPYING COPYING.LIB -LIBESMTP_CPE_ID_VENDOR = libesmtp_project - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libev/libev.hash b/buildroot-2021.05/package/libev/libev.hash deleted file mode 100644 index 9ab341de..00000000 --- a/buildroot-2021.05/package/libev/libev.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 2d5526fc8da4f072dd5c73e18fbb1666f5ef8ed78b73bba12e195cfdd810344e libev-4.27.tar.gz -sha256 c4dd1a5bc38b041a320b93c5d6c08f5c41a63f2ce718ee16cfcb757fad448199 LICENSE diff --git a/buildroot-2021.05/package/libev/libev.mk b/buildroot-2021.05/package/libev/libev.mk deleted file mode 100644 index 38b0530f..00000000 --- a/buildroot-2021.05/package/libev/libev.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# libev -# -################################################################################ - -LIBEV_VERSION = 4.27 -LIBEV_SITE = http://dist.schmorp.de/libev/Attic -LIBEV_INSTALL_STAGING = YES -LIBEV_LICENSE = BSD-2-Clause or GPL-2.0+ -LIBEV_LICENSE_FILES = LICENSE - -# The 'compatibility' event.h header conflicts with libevent -# It's completely unnecessary for BR packages so remove it -define LIBEV_DISABLE_EVENT_H_INSTALL - $(SED) 's/ event.h//' $(@D)/Makefile.in -endef -LIBEV_POST_PATCH_HOOKS += LIBEV_DISABLE_EVENT_H_INSTALL - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libevdev/libevdev.hash b/buildroot-2021.05/package/libevdev/libevdev.hash deleted file mode 100644 index 584a9941..00000000 --- a/buildroot-2021.05/package/libevdev/libevdev.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.freedesktop.org/archives/input-tools/2021-February/001557.html -sha256 63f4ea1489858a109080e0b40bd43e4e0903a1e12ea888d581db8c495747c2d0 libevdev-1.11.0.tar.xz -sha512 b3c6b4a1532c5142f3684b920dcdd497a5368aec516e8c389e2c8f9d1eaba16c907b2a7f2c82a3c3ff89bb4d0ae5503c736098c095f9f1bc98f0668e99bf639d libevdev-1.11.0.tar.xz - -# Hash for license files: -sha256 6f13de7ce28e4948ba95170e0723ee1254c1978ce1f127af82aeca597b567cb9 COPYING diff --git a/buildroot-2021.05/package/libevdev/libevdev.mk b/buildroot-2021.05/package/libevdev/libevdev.mk deleted file mode 100644 index f6172809..00000000 --- a/buildroot-2021.05/package/libevdev/libevdev.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# libevdev -# -################################################################################ - -LIBEVDEV_VERSION = 1.11.0 -LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev -LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz -LIBEVDEV_LICENSE = MIT -LIBEVDEV_LICENSE_FILES = COPYING - -LIBEVDEV_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY) - -LIBEVDEV_INSTALL_STAGING = YES - -LIBEVDEV_CONF_OPTS += \ - -Dtests=disabled \ - -Ddocumentation=disabled \ - -Dcoverity=false - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libevent/libevent.mk b/buildroot-2021.05/package/libevent/libevent.mk deleted file mode 100644 index 93ba88ca..00000000 --- a/buildroot-2021.05/package/libevent/libevent.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# libevent -# -################################################################################ - -LIBEVENT_VERSION = 2.1.12 -LIBEVENT_SITE = https://github.com/libevent/libevent/releases/download/release-$(LIBEVENT_VERSION)-stable -LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz -LIBEVENT_INSTALL_STAGING = YES -LIBEVENT_LICENSE = BSD-3-Clause, OpenBSD -LIBEVENT_LICENSE_FILES = LICENSE -LIBEVENT_CPE_ID_VENDOR = libevent_project -LIBEVENT_CONF_OPTS = \ - --disable-libevent-regress \ - --disable-samples -HOST_LIBEVENT_CONF_OPTS = \ - --disable-libevent-regress \ - --disable-samples \ - --disable-openssl - -define LIBEVENT_REMOVE_PYSCRIPT - rm $(TARGET_DIR)/usr/bin/event_rpcgen.py -endef - -# libevent installs a python script to target - get rid of it if we -# don't have python support enabled -ifneq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBEVENT_DEPENDENCIES += host-pkgconf openssl -LIBEVENT_CONF_OPTS += --enable-openssl -else -LIBEVENT_CONF_OPTS += --disable-openssl -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libexif/0001-fixed-another-unsigned-integer-overflow.patch b/buildroot-2021.05/package/libexif/0001-fixed-another-unsigned-integer-overflow.patch deleted file mode 100644 index 77bdfe89..00000000 --- a/buildroot-2021.05/package/libexif/0001-fixed-another-unsigned-integer-overflow.patch +++ /dev/null @@ -1,63 +0,0 @@ -From ce03ad7ef4e8aeefce79192bf5b6f69fae396f0c Mon Sep 17 00:00:00 2001 -From: Marcus Meissner -Date: Mon, 8 Jun 2020 17:27:06 +0200 -Subject: [PATCH] fixed another unsigned integer overflow - -first fixed by google in android fork, -https://android.googlesource.com/platform/external/libexif/+/1e187b62682ffab5003c702657d6d725b4278f16%5E%21/#F0 - -(use a more generic overflow check method, also check second overflow instance.) - -https://security-tracker.debian.org/tracker/CVE-2020-0198 - -Downloaded from upstream commit: -https://github.com/libexif/libexif/commit/ce03ad7ef4e8aeefce79192bf5b6f69fae396f0c - -Signed-off-by: Bernd Kuhls ---- - libexif/exif-data.c | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/libexif/exif-data.c b/libexif/exif-data.c -index 8b280d3..b495726 100644 ---- a/libexif/exif-data.c -+++ b/libexif/exif-data.c -@@ -47,6 +47,8 @@ - #undef JPEG_MARKER_APP1 - #define JPEG_MARKER_APP1 0xe1 - -+#define CHECKOVERFLOW(offset,datasize,structsize) (( offset >= datasize) || (structsize > datasize) || (offset > datasize - structsize )) -+ - static const unsigned char ExifHeader[] = {0x45, 0x78, 0x69, 0x66, 0x00, 0x00}; - - struct _ExifDataPrivate -@@ -327,7 +329,7 @@ exif_data_load_data_thumbnail (ExifData *data, const unsigned char *d, - exif_log (data->priv->log, EXIF_LOG_CODE_DEBUG, "ExifData", "Bogus thumbnail offset (%u).", o); - return; - } -- if (s > ds - o) { -+ if (CHECKOVERFLOW(o,ds,s)) { - exif_log (data->priv->log, EXIF_LOG_CODE_DEBUG, "ExifData", "Bogus thumbnail size (%u), max would be %u.", s, ds-o); - return; - } -@@ -420,9 +422,9 @@ exif_data_load_data_content (ExifData *data, ExifIfd ifd, - } - - /* Read the number of entries */ -- if ((offset + 2 < offset) || (offset + 2 < 2) || (offset + 2 > ds)) { -+ if (CHECKOVERFLOW(offset, ds, 2)) { - exif_log (data->priv->log, EXIF_LOG_CODE_CORRUPT_DATA, "ExifData", -- "Tag data past end of buffer (%u > %u)", offset+2, ds); -+ "Tag data past end of buffer (%u+2 > %u)", offset, ds); - return; - } - n = exif_get_short (d + offset, data->priv->order); -@@ -431,7 +433,7 @@ exif_data_load_data_content (ExifData *data, ExifIfd ifd, - offset += 2; - - /* Check if we have enough data. */ -- if (offset + 12 * n > ds) { -+ if (CHECKOVERFLOW(offset, ds, 12*n)) { - n = (ds - offset) / 12; - exif_log (data->priv->log, EXIF_LOG_CODE_DEBUG, "ExifData", - "Short data; only loading %hu entries...", n); diff --git a/buildroot-2021.05/package/libexif/0002-fixed-a-incorrect-overflow-check.patch b/buildroot-2021.05/package/libexif/0002-fixed-a-incorrect-overflow-check.patch deleted file mode 100644 index 1946f782..00000000 --- a/buildroot-2021.05/package/libexif/0002-fixed-a-incorrect-overflow-check.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9266d14b5ca4e29b970fa03272318e5f99386e06 Mon Sep 17 00:00:00 2001 -From: Marcus Meissner -Date: Thu, 5 Nov 2020 09:50:08 +0100 -Subject: [PATCH] fixed a incorrect overflow check that could be optimized - away. - -inspired by: -https://android.googlesource.com/platform/external/libexif/+/8e7345f3bc0bad06ac369d6cbc1124c8ceaf7d4b - -https://source.android.com/security/bulletin/2020-11-01 - -CVE-2020-0452 - -Downloaded from upstream commit, rebased for 0.6.22: -https://github.com/libexif/libexif/commit/9266d14b5ca4e29b970fa03272318e5f99386e06 - -Signed-off-by: Bernd Kuhls ---- - libexif/exif-entry.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/libexif/exif-entry.c b/libexif/exif-entry.c -index 3fc0ff9..4b866ce 100644 ---- a/libexif/exif-entry.c -+++ b/libexif/exif-entry.c -@@ -1371,8 +1371,8 @@ exif_entry_get_value (ExifEntry *e, char *val, unsigned int maxlen) - { - unsigned char *utf16; - -- /* Sanity check the size to prevent overflow */ -- if (e->size+sizeof(uint16_t)+1 < e->size) break; -+ /* Sanity check the size to prevent overflow. Note EXIF files are 64kb at most. */ -+ if (e->size >= 65536 - sizeof(uint16_t)*2) break; - - /* The tag may not be U+0000-terminated , so make a local - U+0000-terminated copy before converting it */ diff --git a/buildroot-2021.05/package/libexif/libexif.hash b/buildroot-2021.05/package/libexif/libexif.hash deleted file mode 100644 index 1a2157b3..00000000 --- a/buildroot-2021.05/package/libexif/libexif.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 5048f1c8fc509cc636c2f97f4b40c293338b6041a5652082d5ee2cf54b530c56 libexif-0.6.22.tar.xz -sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING diff --git a/buildroot-2021.05/package/libexif/libexif.mk b/buildroot-2021.05/package/libexif/libexif.mk deleted file mode 100644 index 9a25e90d..00000000 --- a/buildroot-2021.05/package/libexif/libexif.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# libexif -# -################################################################################ - -LIBEXIF_VERSION = 0.6.22 -LIBEXIF_SOURCE = libexif-$(LIBEXIF_VERSION).tar.xz -LIBEXIF_SITE = \ - https://github.com/libexif/libexif/releases/download/libexif-$(subst .,_,$(LIBEXIF_VERSION))-release -LIBEXIF_INSTALL_STAGING = YES -LIBEXIF_DEPENDENCIES = host-pkgconf -LIBEXIF_LICENSE = LGPL-2.1+ -LIBEXIF_LICENSE_FILES = COPYING -LIBEXIF_CPE_ID_VENDOR = libexif_project -# 0001-fixed-another-unsigned-integer-overflow.patch -LIBEXIF_IGNORE_CVES += CVE-2020-0198 -# 0002-fixed-a-incorrect-overflow-check.patch -LIBEXIF_IGNORE_CVES += CVE-2020-0452 - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libffi/0004-ffi_powerpc.h-fix-build-failure-with-powerpc7.patch b/buildroot-2021.05/package/libffi/0004-ffi_powerpc.h-fix-build-failure-with-powerpc7.patch deleted file mode 100644 index 7ee1f102..00000000 --- a/buildroot-2021.05/package/libffi/0004-ffi_powerpc.h-fix-build-failure-with-powerpc7.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f9d8f11d60cdc656a801e0d8116101beb22e117b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 24 Nov 2019 09:52:01 +0100 -Subject: [PATCH] ffi_powerpc.h: fix build failure with powerpc7 - -Sicne commit 73dd43afc8a447ba98ea02e9aad4c6898dc77fb0, build on powerpc7 -fails on: - -In file included from ../src/powerpc/ffi.c:33:0: -../src/powerpc/ffi_powerpc.h:61:9: error: '_Float128' is not supported on this target - typedef _Float128 float128; - ^~~~~~~~~ - -Fix this build failure by checking for __HAVE_FLOAT128 before using -_Float128, as _Float128 is enabled only on specific conditions, see -output/host/powerpc64-buildroot-linux-gnu/sysroot/usr/include/bits/floatn.h: - - /* Defined to 1 if the current compiler invocation provides a - floating-point type with the IEEE 754 binary128 format, and this glibc - includes corresponding *f128 interfaces for it. */ - #if defined _ARCH_PWR8 && defined __LITTLE_ENDIAN__ && (_CALL_ELF == 2) \ - && defined __FLOAT128__ && !defined __NO_LONG_DOUBLE_MATH - # define __HAVE_FLOAT128 1 - #else - # define __HAVE_FLOAT128 0 - #endif - -Fixes: - - http://autobuild.buildroot.org/results/5c9dd8fb3b6a128882b6250f197c80232d8a3b53 - -Signed-off-by: Fabrice Fontaine ---- - src/powerpc/ffi_powerpc.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/powerpc/ffi_powerpc.h b/src/powerpc/ffi_powerpc.h -index 5ee2a70..a5a786b 100644 ---- a/src/powerpc/ffi_powerpc.h -+++ b/src/powerpc/ffi_powerpc.h -@@ -57,7 +57,7 @@ typedef union - double d; - } ffi_dblfl; - --#if defined(__FLOAT128_TYPE__) -+#if defined(__FLOAT128_TYPE__) && defined(__HAVE_FLOAT128) - typedef _Float128 float128; - #elif defined(__FLOAT128__) - typedef __float128 float128; --- -2.24.0 - diff --git a/buildroot-2021.05/package/libffi/0005-powerpc-fix-build-failure-on-power7-and-older.patch b/buildroot-2021.05/package/libffi/0005-powerpc-fix-build-failure-on-power7-and-older.patch deleted file mode 100644 index d0b91dda..00000000 --- a/buildroot-2021.05/package/libffi/0005-powerpc-fix-build-failure-on-power7-and-older.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 01a75ed76ea7e57f1b7a5c183e2b1e890e6aa0fd Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Thu, 28 Nov 2019 12:42:41 +0000 -Subject: [PATCH] powerpc: fix build failure on power7 and older (#532) - -Build failure looks as: -``` -libtool: compile: powerpc-unknown-linux-gnu-gcc \ - -O2 -mcpu=powerpc -mtune=powerpc -pipe ... -c src/powerpc/ffi.c ... -In file included from src/powerpc/ffi.c:33: -src/powerpc/ffi_powerpc.h:65:9: error: '__int128' is not supported on this target - 65 | typedef __int128 float128; - | ^~~~~~~~ -``` - -The fix avoids using __int128 in favour of aligned char[16]. - -Closes: https://github.com/libffi/libffi/issues/531 -Signed-off-by: Sergei Trofimovich -[Retrieved from: -https://github.com/libffi/libffi/commit/01a75ed76ea7e57f1b7a5c183e2b1e890e6aa0fd] -Signed-off-by: Fabrice Fontaine ---- - src/powerpc/ffi_powerpc.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/powerpc/ffi_powerpc.h b/src/powerpc/ffi_powerpc.h -index 5ee2a709..8e2f2f0e 100644 ---- a/src/powerpc/ffi_powerpc.h -+++ b/src/powerpc/ffi_powerpc.h -@@ -62,7 +62,7 @@ typedef _Float128 float128; - #elif defined(__FLOAT128__) - typedef __float128 float128; - #else --typedef __int128 float128; -+typedef char float128[16] __attribute__((aligned(16))); - #endif - - void FFI_HIDDEN ffi_closure_SYSV (void); diff --git a/buildroot-2021.05/package/libffi/0006-Address-platforms-with-no-__int128.patch b/buildroot-2021.05/package/libffi/0006-Address-platforms-with-no-__int128.patch deleted file mode 100644 index 012c6f0d..00000000 --- a/buildroot-2021.05/package/libffi/0006-Address-platforms-with-no-__int128.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 6663047f56c2932a6b10a790f4ac6666dd181326 Mon Sep 17 00:00:00 2001 -From: Anthony Green -Date: Fri, 29 Nov 2019 07:00:35 -0500 -Subject: [PATCH] Address platforms with no __int128. - -[Retrieved from: -https://github.com/libffi/libffi/commit/6663047f56c2932a6b10a790f4ac6666dd181326] -Signed-off-by: Fabrice Fontaine ---- - src/powerpc/ffi_linux64.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/powerpc/ffi_linux64.c b/src/powerpc/ffi_linux64.c -index de0d0337..73647701 100644 ---- a/src/powerpc/ffi_linux64.c -+++ b/src/powerpc/ffi_linux64.c -@@ -547,9 +547,9 @@ ffi_prep_args64 (extended_cif *ecif, unsigned long *const stack) - if (next_arg.ul == gpr_end.ul) - next_arg.ul = rest.ul; - if (vecarg_count < NUM_VEC_ARG_REGISTERS64 && i < nfixedargs) -- *vec_base.f128++ = **p_argv.f128; -+ memcpy (vec_base.f128++, *p_argv.f128, sizeof (float128)); - else -- *next_arg.f128 = **p_argv.f128; -+ memcpy (next_arg.f128, *p_argv.f128, sizeof (float128)); - if (++next_arg.f128 == gpr_end.f128) - next_arg.f128 = rest.f128; - vecarg_count++; diff --git a/buildroot-2021.05/package/libffi/0007-powerpc64-Use-memcpy-to-help-platforms-with-no-__int128.patch b/buildroot-2021.05/package/libffi/0007-powerpc64-Use-memcpy-to-help-platforms-with-no-__int128.patch deleted file mode 100644 index 53036707..00000000 --- a/buildroot-2021.05/package/libffi/0007-powerpc64-Use-memcpy-to-help-platforms-with-no-__int128.patch +++ /dev/null @@ -1,42 +0,0 @@ -From e50b9ef8b910fa642ef158f6642e60d54d7ad740 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 7 Dec 2019 02:34:14 -0800 -Subject: [PATCH] powerpc64: Use memcpy to help platforms with no __int128. - (#534) - -Signed-off-by: Khem Raj -[Retrieved from: -https://github.com/libffi/libffi/commit/e50b9ef8b910fa642ef158f6642e60d54d7ad740] -Signed-off-by: Fabrice Fontaine ---- - src/powerpc/ffi_linux64.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/powerpc/ffi_linux64.c b/src/powerpc/ffi_linux64.c -index 73647701..4d50878e 100644 ---- a/src/powerpc/ffi_linux64.c -+++ b/src/powerpc/ffi_linux64.c -@@ -680,9 +680,9 @@ ffi_prep_args64 (extended_cif *ecif, unsigned long *const stack) - { - if (vecarg_count < NUM_VEC_ARG_REGISTERS64 - && i < nfixedargs) -- *vec_base.f128++ = *arg.f128++; -+ memcpy (vec_base.f128++, arg.f128, sizeof (float128)); - else -- *next_arg.f128 = *arg.f128++; -+ memcpy (next_arg.f128, arg.f128++, sizeof (float128)); - if (++next_arg.f128 == gpr_end.f128) - next_arg.f128 = rest.f128; - vecarg_count++; -@@ -986,9 +986,9 @@ ffi_closure_helper_LINUX64 (ffi_cif *cif, - do - { - if (pvec < end_pvec && i < nfixedargs) -- *to.f128 = *pvec++; -+ memcpy (to.f128, pvec++, sizeof (float128)); - else -- *to.f128 = *from.f128; -+ memcpy (to.f128, from.f128, sizeof (float128)); - to.f128++; - from.f128++; - } diff --git a/buildroot-2021.05/package/libffi/libffi.hash b/buildroot-2021.05/package/libffi/libffi.hash deleted file mode 100644 index 496ae0d9..00000000 --- a/buildroot-2021.05/package/libffi/libffi.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 3f2f86094f5cf4c36cfe850d2fe029d01f5c2c2296619407c8ba0d8207da9a6b libffi-3.3.tar.gz -# License files, locally calculated -sha256 deaf3a42effb551a5b140fa9afefed183a27f1341c6d1bf430d106a5e6931fc0 LICENSE diff --git a/buildroot-2021.05/package/libffi/libffi.mk b/buildroot-2021.05/package/libffi/libffi.mk deleted file mode 100644 index c7705b9e..00000000 --- a/buildroot-2021.05/package/libffi/libffi.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libffi -# -################################################################################ - -LIBFFI_VERSION = 3.3 -LIBFFI_SITE = $(call github,libffi,libffi,v$(LIBFFI_VERSION)) -LIBFFI_CPE_ID_UPDATE = rc0 -LIBFFI_LICENSE = MIT -LIBFFI_LICENSE_FILES = LICENSE -LIBFFI_INSTALL_STAGING = YES -LIBFFI_AUTORECONF = YES - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libfm/Config.in b/buildroot-2021.05/package/libfm/Config.in deleted file mode 100644 index 16676fbf..00000000 --- a/buildroot-2021.05/package/libfm/Config.in +++ /dev/null @@ -1,30 +0,0 @@ -config BR2_PACKAGE_LIBFM - bool "libfm" - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_MMU # libglib2 - depends on BR2_INSTALL_LIBSTDCPP # libgtk2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2 -> pango -> harfbuzz - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBGTK2 if !BR2_PACKAGE_LIBGTK3_X11 - select BR2_PACKAGE_MENU_CACHE - help - A glib/gio-based library providing some file management - utilities and related-widgets missing in gtk+/glib. This is - the core of PCManFM. The library is desktop independent - (not LXDE specific) and has clean API. It can be used to - develop other applications requiring file management - functionality. For example, you can create your own file - manager with facilities provided by libfm. - - http://wiki.lxde.org/en/Libfm - -comment "libfm needs X.org and a toolchain w/ wchar, threads, C++, gcc >= 4.8" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_XORG7 diff --git a/buildroot-2021.05/package/libfreefare/Config.in b/buildroot-2021.05/package/libfreefare/Config.in deleted file mode 100644 index b330b225..00000000 --- a/buildroot-2021.05/package/libfreefare/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_LIBFREEFARE - bool "libfreefare" - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBNFC - help - Library for high level manipulation of MIFARE cards. - - http://nfc-tools.org/index.php?title=Libfreefare diff --git a/buildroot-2021.05/package/libfreeimage/libfreeimage.mk b/buildroot-2021.05/package/libfreeimage/libfreeimage.mk deleted file mode 100644 index b254fa88..00000000 --- a/buildroot-2021.05/package/libfreeimage/libfreeimage.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# libfreeimage -# -################################################################################ - -LIBFREEIMAGE_VERSION = 3.18.0 -LIBFREEIMAGE_SITE = http://downloads.sourceforge.net/freeimage -LIBFREEIMAGE_SOURCE = FreeImage$(subst .,,$(LIBFREEIMAGE_VERSION)).zip -LIBFREEIMAGE_LICENSE = GPL-2.0 or GPL-3.0 or FreeImage Public License -LIBFREEIMAGE_LICENSE_FILES = license-gplv2.txt license-gplv3.txt license-fi.txt -LIBFREEIMAGE_INSTALL_STAGING = YES - -define LIBFREEIMAGE_EXTRACT_CMDS - $(UNZIP) $(LIBFREEIMAGE_DL_DIR)/$(LIBFREEIMAGE_SOURCE) -d $(@D) - mv $(@D)/FreeImage/* $(@D) - rmdir $(@D)/FreeImage -endef - -define LIBFREEIMAGE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -define LIBFREEIMAGE_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install -endef - -define LIBFREEIMAGE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libfribidi/libfribidi.hash b/buildroot-2021.05/package/libfribidi/libfribidi.hash deleted file mode 100644 index 8e7eb49b..00000000 --- a/buildroot-2021.05/package/libfribidi/libfribidi.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 7f1c687c7831499bcacae5e8675945a39bacbad16ecaa945e9454a32df653c01 fribidi-1.0.10.tar.xz -sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/buildroot-2021.05/package/libfribidi/libfribidi.mk b/buildroot-2021.05/package/libfribidi/libfribidi.mk deleted file mode 100644 index 97e875b4..00000000 --- a/buildroot-2021.05/package/libfribidi/libfribidi.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# libfribidi -# -################################################################################ - -LIBFRIBIDI_VERSION = 1.0.10 -LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.xz -LIBFRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(LIBFRIBIDI_VERSION) -LIBFRIBIDI_LICENSE = LGPL-2.1+ -LIBFRIBIDI_LICENSE_FILES = COPYING -LIBFRIBIDI_CPE_ID_VENDOR = gnu -LIBFRIBIDI_CPE_ID_PRODUCT = fribidi -LIBFRIBIDI_INSTALL_STAGING = YES -LIBFRIBIDI_DEPENDENCIES = host-pkgconf - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libftdi1/Config.in b/buildroot-2021.05/package/libftdi1/Config.in deleted file mode 100644 index 2d325735..00000000 --- a/buildroot-2021.05/package/libftdi1/Config.in +++ /dev/null @@ -1,39 +0,0 @@ -config BR2_PACKAGE_LIBFTDI1 - bool "libftdi1" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Userspace access to FTDI USB interface chips (version 1.x) - - http://www.intra2net.com/en/developer/libftdi/index.php - -if BR2_PACKAGE_LIBFTDI1 - -config BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1 - bool "libftdipp1" - depends on BR2_INSTALL_LIBSTDCPP # boost - depends on BR2_TOOLCHAIN_HAS_THREADS # boost - depends on BR2_USE_WCHAR # boost - select BR2_PACKAGE_BOOST - help - C++ bindings for libftdi - -comment "libftdipp1 needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR - -config BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS - bool "python bindings" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - help - Python bindings for libftdi - -config BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM - bool "ftdi_eeprom tool" - select BR2_PACKAGE_LIBCONFUSE - -endif # BR2_PACKAGE_LIBFTDI1 - -comment "libftdi1 needs a toolchain w/ threads, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/libftdi1/libftdi1.mk b/buildroot-2021.05/package/libftdi1/libftdi1.mk deleted file mode 100644 index 6688694b..00000000 --- a/buildroot-2021.05/package/libftdi1/libftdi1.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# libftdi1 -# -################################################################################ - -LIBFTDI1_VERSION = 1.5 -LIBFTDI1_SOURCE = libftdi1-$(LIBFTDI1_VERSION).tar.bz2 -LIBFTDI1_SITE = http://www.intra2net.com/en/developer/libftdi/download -LIBFTDI1_INSTALL_STAGING = YES -LIBFTDI1_DEPENDENCIES = libusb -LIBFTDI1_LICENSE = LGPL-2.1 (libftdi1), MIT (libftdi1) -LIBFTDI1_LICENSE_FILES = LICENSE COPYING.LIB -LIBFTDI1_CONFIG_SCRIPTS = libftdi1-config -LIBFTDI1_CONF_OPTS = -DDOCUMENTATION=OFF -DEXAMPLES=OFF - -ifeq ($(BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1),y) -LIBFTDI1_LICENSE += , GPL-2.0 with exception (libftdipp1) -LIBFTDI1_LICENSE_FILES += COPYING.GPL -LIBFTDI1_DEPENDENCIES += boost -LIBFTDI1_CONF_OPTS += -DFTDIPP=ON -else -LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS),y) -LIBFTDI1_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) host-swig -LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=ON -else -LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM),y) -# ftdi_eeprom optionally depends on libintl -LIBFTDI1_LICENSE += , GPL-2.0 (ftdi_eeprom) -LIBFTDI1_LICENSE_FILES += COPYING.GPL -LIBFTDI1_DEPENDENCIES += libconfuse $(TARGET_NLS_DEPENDENCIES) -LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=ON -else -LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libfuse/libfuse.mk b/buildroot-2021.05/package/libfuse/libfuse.mk deleted file mode 100644 index 2677e468..00000000 --- a/buildroot-2021.05/package/libfuse/libfuse.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# libfuse -# -################################################################################ - -LIBFUSE_VERSION = 2.9.9 -LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz -LIBFUSE_SITE = https://github.com/libfuse/libfuse/releases/download/fuse-$(LIBFUSE_VERSION) -LIBFUSE_LICENSE = GPL-2.0, LGPL-2.1 -LIBFUSE_LICENSE_FILES = COPYING COPYING.LIB -LIBFUSE_CPE_ID_VENDOR = libfuse_project -LIBFUSE_INSTALL_STAGING = YES -LIBFUSE_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) -LIBFUSE_CONF_OPTS = \ - --disable-example \ - --enable-lib \ - --enable-util \ - UDEV_RULES_PATH=/lib/udev/rules.d - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -define LIBFUSE_INSTALL_UDEV - mkdir -p $(TARGET_DIR)/lib/udev/rules.d - cp $(STAGING_DIR)/lib/udev/rules.d/*-fuse.rules $(TARGET_DIR)/lib/udev/rules.d -endef - -LIBFUSE_POST_INSTALL_TARGET_HOOKS += LIBFUSE_INSTALL_UDEV -endif - -define LIBFUSE_INSTALL_TARGET_CMDS - cp -dpf $(STAGING_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/bin/ - cp -dpf $(STAGING_DIR)/usr/lib/libfuse.so* $(TARGET_DIR)/usr/lib/ -endef - -define LIBFUSE_DEVICES - /dev/fuse c 666 0 0 10 229 0 0 - -endef - -define LIBFUSE_PERMISSIONS - /usr/bin/fusermount f 4755 0 0 - - - - - -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libfuse3/libfuse3.hash b/buildroot-2021.05/package/libfuse3/libfuse3.hash deleted file mode 100644 index 49c71f40..00000000 --- a/buildroot-2021.05/package/libfuse3/libfuse3.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated sha256 checksums -sha256 c32527782cef620df58b162aa29901d1fb13253b029375d5860a2253a810344e libfuse3-3.10.3.tar.gz -sha256 b8832d9caaa075bbbd2aef24efa09f8b7ab66a832812d88c602da0c7b4397fad LICENSE diff --git a/buildroot-2021.05/package/libfuse3/libfuse3.mk b/buildroot-2021.05/package/libfuse3/libfuse3.mk deleted file mode 100644 index b1624ba8..00000000 --- a/buildroot-2021.05/package/libfuse3/libfuse3.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# libfuse3 -# -################################################################################ - -LIBFUSE3_VERSION = 3.10.3 -LIBFUSE3_SITE = $(call github,libfuse,libfuse,fuse-$(LIBFUSE3_VERSION)) -LIBFUSE3_LICENSE = LGPL-2.1 -LIBFUSE3_LICENSE_FILES = LICENSE -LIBFUSE3_CPE_ID_VENDOR = libfuse_project -LIBFUSE3_CPE_ID_PRODUCT = libfuse -LIBFUSE3_INSTALL_STAGING = YES -LIBFUSE3_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) -LIBFUSE3_CONF_OPTS = \ - -Dexamples=false \ - -Dudevrulesdir=/lib/udev/rules.d \ - -Duseroot=false - -define LIBFUSE3_DEVICES - /dev/fuse c 666 0 0 10 229 0 0 - -endef - -define LIBFUSE3_PERMISSIONS - /usr/bin/fusermount3 f 4755 0 0 - - - - - -endef - -define LIBFUSE3_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_FUSE_FS) -endef - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch b/buildroot-2021.05/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch deleted file mode 100644 index 21ff20a4..00000000 --- a/buildroot-2021.05/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 7fe1b8a53cc8c865c2a10dcd8f6cb4e51ccc6300 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 29 Jul 2019 12:19:10 +0200 -Subject: [PATCH] configure.ac: add an option to disable tests - -Add an option to allow the user to disable tests, this can be useful for -example when the toolchain does not provide thread. Indeed, in this -case, libgcrypt fails to build t-lock: - -t-lock.c: In function 'run_test': -t-lock.c:359:3: error: unknown type name 'pthread_t' - pthread_t rthread; - -Fixes: - - http://autobuild.buildroot.org/results/50a8ba572e3fafd3c6a39bd54bcfcaf78b5ad325 - -Signed-off-by: Fabrice Fontaine ---- - Makefile.am | 7 ++++++- - configure.ac | 10 ++++++++++ - 2 files changed, 16 insertions(+), 1 deletion(-) - -diff --git a/Makefile.am b/Makefile.am -index 7fa4fa4d..f0bd90e4 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -39,9 +39,14 @@ else - doc = - endif - -+if BUILD_TESTS -+tests = tests -+else -+tests = -+endif - - DIST_SUBDIRS = m4 compat mpi cipher random src doc tests --SUBDIRS = compat mpi cipher random src $(doc) tests -+SUBDIRS = compat mpi cipher random src $(doc) $(tests) - - EXTRA_DIST = autogen.sh autogen.rc README.GIT LICENSES \ - ChangeLog-2011 build-aux/ChangeLog-2011 doc/ChangeLog-2011 \ -diff --git a/configure.ac b/configure.ac -index e8c8cd39..1a6b61e5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2710,6 +2710,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], - AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno]) - - -+# -+# Option to disable building of tests -+# -+build_tests=yes -+AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests], -+ [do not build tests]), -+ build_tests=$enableval, build_tests=yes) -+AM_CONDITIONAL([BUILD_TESTS], [test "x$build_tests" != xno]) -+ -+ - # - # Provide information about the build. - # --- -2.20.1 - diff --git a/buildroot-2021.05/package/libgcrypt/libgcrypt.hash b/buildroot-2021.05/package/libgcrypt/libgcrypt.hash deleted file mode 100644 index 978ec8b2..00000000 --- a/buildroot-2021.05/package/libgcrypt/libgcrypt.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://www.gnupg.org/download/integrity_check.html -sha1 29bd5d0a8f674d4521167dd518ef99b26d1e8f27 libgcrypt-1.9.2.tar.bz2 -# Locally calculated after checking signature -# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.9.2.tar.bz2.sig -# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 b2c10d091513b271e47177274607b1ffba3d95b188bbfa8797f948aec9053c5a libgcrypt-1.9.2.tar.bz2 -sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB diff --git a/buildroot-2021.05/package/libgcrypt/libgcrypt.mk b/buildroot-2021.05/package/libgcrypt/libgcrypt.mk deleted file mode 100644 index 9c1cd32a..00000000 --- a/buildroot-2021.05/package/libgcrypt/libgcrypt.mk +++ /dev/null @@ -1,33 +0,0 @@ -################################################################################ -# -# libgcrypt -# -################################################################################ - -LIBGCRYPT_VERSION = 1.9.2 -LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 -LIBGCRYPT_LICENSE = LGPL-2.1+ -LIBGCRYPT_LICENSE_FILES = COPYING.LIB -LIBGCRYPT_SITE = https://gnupg.org/ftp/gcrypt/libgcrypt -LIBGCRYPT_INSTALL_STAGING = YES -LIBGCRYPT_DEPENDENCIES = libgpg-error -LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config -LIBGCRYPT_CPE_ID_VENDOR = gnupg - -# Patching configure.ac and Makefile.am in 0001 -LIBGCRYPT_AUTORECONF = YES -LIBGCRYPT_CONF_OPTS = \ - --disable-tests \ - --with-gpg-error-prefix=$(STAGING_DIR)/usr - -# Libgcrypt doesn't support assembly for coldfire -ifeq ($(BR2_m68k_cf),y) -LIBGCRYPT_CONF_OPTS += --disable-asm -endif - -# Code doesn't build in thumb mode -ifeq ($(BR2_arm),y) -LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))" -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgdiplus/libgdiplus.mk b/buildroot-2021.05/package/libgdiplus/libgdiplus.mk deleted file mode 100644 index be4a9168..00000000 --- a/buildroot-2021.05/package/libgdiplus/libgdiplus.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# libgdiplus -# -################################################################################ - -LIBGDIPLUS_VERSION = 6.0.5 -LIBGDIPLUS_SITE = $(call github,mono,libgdiplus,$(LIBGDIPLUS_VERSION)) - -LIBGDIPLUS_LICENSE = MIT -LIBGDIPLUS_LICENSE_FILES = LICENSE - -LIBGDIPLUS_INSTALL_STAGING = YES - -# github tarball doesn't have configure -LIBGDIPLUS_AUTORECONF = YES - -LIBGDIPLUS_DEPENDENCIES = xlib_libXft libglib2 cairo libpng host-pkgconf - -ifeq ($(BR2_PACKAGE_GIFLIB),y) -LIBGDIPLUS_CONF_OPTS += --with-libgif -LIBGDIPLUS_DEPENDENCIES += giflib -else -LIBGDIPLUS_CONF_OPTS += --without-libgif -endif - -# there is a bug in the configure script that enables pango support -# when passing --without-pango, so let's just not use it -ifeq ($(BR2_PACKAGE_PANGO),y) -LIBGDIPLUS_CONF_OPTS += --with-pango -LIBGDIPLUS_DEPENDENCIES += pango -endif - -ifeq ($(BR2_PACKAGE_LIBEXIF),y) -LIBGDIPLUS_CONF_OPTS += --with-libexif -LIBGDIPLUS_DEPENDENCIES += libexif -else -LIBGDIPLUS_CONF_OPTS += --without-libexif -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -LIBGDIPLUS_CONF_OPTS += --with-libjpeg=$(STAGING_DIR)/usr -LIBGDIPLUS_DEPENDENCIES += jpeg -else -LIBGDIPLUS_CONF_OPTS += --without-libjpeg -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -LIBGDIPLUS_CONF_OPTS += --with-libtiff=$(STAGING_DIR)/usr -LIBGDIPLUS_DEPENDENCIES += tiff -else -LIBGDIPLUS_CONF_OPTS += --without-libtiff -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgee/Config.in b/buildroot-2021.05/package/libgee/Config.in deleted file mode 100644 index 07c387c9..00000000 --- a/buildroot-2021.05/package/libgee/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_LIBGEE - bool "libgee" - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LIBGLIB2 - help - Libgee is an utility library providing GObject-based - interfaces and classes for commonly used data structures. - - https://wiki.gnome.org/Projects/Libgee - -comment "libgee needs a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libgee/libgee.hash b/buildroot-2021.05/package/libgee/libgee.hash deleted file mode 100644 index 72d2c21c..00000000 --- a/buildroot-2021.05/package/libgee/libgee.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.acc.umu.se/pub/gnome/sources/libgee/0.20/libgee-0.20.4.sha256sum -sha256 524c1bf390f9cdda4fbd9a47b269980dc64ab5280f0801b53bc69d782c72de0e libgee-0.20.4.tar.xz - -# Hash for license file: -sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2021.05/package/libgee/libgee.mk b/buildroot-2021.05/package/libgee/libgee.mk deleted file mode 100644 index 48bc9c9e..00000000 --- a/buildroot-2021.05/package/libgee/libgee.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# libgee -# -################################################################################ - -LIBGEE_VERSION_MAJOR = 0.20 -LIBGEE_VERSION = $(LIBGEE_VERSION_MAJOR).4 -LIBGEE_SITE = http://ftp.gnome.org/pub/gnome/sources/libgee/$(LIBGEE_VERSION_MAJOR) -LIBGEE_SOURCE = libgee-$(LIBGEE_VERSION).tar.xz -LIBGEE_DEPENDENCIES = host-pkgconf host-vala libglib2 -LIBGEE_INSTALL_STAGING = YES -LIBGEE_LICENSE = LGPL-2.1+ -LIBGEE_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -LIBGEE_CONF_OPTS += --enable-introspection -LIBGEE_DEPENDENCIES += gobject-introspection -else -LIBGEE_CONF_OPTS += --disable-introspection -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgeos/0001-CMakeLists.txt-add-BUILD_BENCHMARKS.patch b/buildroot-2021.05/package/libgeos/0001-CMakeLists.txt-add-BUILD_BENCHMARKS.patch deleted file mode 100644 index 94748dcd..00000000 --- a/buildroot-2021.05/package/libgeos/0001-CMakeLists.txt-add-BUILD_BENCHMARKS.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 16848d6da27140caf922f71a233f96a508fb061e Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 24 Jan 2021 12:38:37 +0100 -Subject: [PATCH] CMakeLists.txt: add BUILD_BENCHMARKS - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/libgeos/geos/pull/395] ---- - CMakeLists.txt | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index c8b39bac..8ca6b829 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -48,6 +48,7 @@ option(BUILD_SHARED_LIBS "Build GEOS with shared libraries" ON) - set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard version to use (default is 11)") - - ## GEOS custom variables -+option(BUILD_BENCHMARKS "Build GEOS benchmarks" ON) - cmake_dependent_option(GEOS_BUILD_DEVELOPER - "Build with compilation flags useful for development" ON - "GEOS_BUILD_FROM_GIT" OFF) -@@ -292,7 +293,9 @@ endif() - #----------------------------------------------------------------------------- - # Benchmarks - #----------------------------------------------------------------------------- --add_subdirectory(benchmarks) -+if(BUILD_BENCHMARKS) -+ add_subdirectory(benchmarks) -+endif() - - #----------------------------------------------------------------------------- - # Utils --- -2.29.2 - diff --git a/buildroot-2021.05/package/libgeos/Config.in b/buildroot-2021.05/package/libgeos/Config.in deleted file mode 100644 index 86a1cddc..00000000 --- a/buildroot-2021.05/package/libgeos/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_LIBGEOS - bool "libgeos" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 - help - GEOS (Geometry Engine - Open Source) is a C++ port of the - JTS Topology Suite (JTS). It aims to contain the complete - functionality of JTS in C++. This includes all the OpenGIS - Simple Features for SQL spatial predicate functions and - spatial operators, as well as specific JTS enhanced functions. - - https://trac.osgeo.org/geos - -comment "libgeos needs a toolchain w/ C++, wchar, not binutils bug 21464, 27597" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 || \ - BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 diff --git a/buildroot-2021.05/package/libgeos/libgeos.hash b/buildroot-2021.05/package/libgeos/libgeos.hash deleted file mode 100644 index 5b5e44c7..00000000 --- a/buildroot-2021.05/package/libgeos/libgeos.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 bd8082cf12f45f27630193c78bdb5a3cba847b81e72b20268356c2a4fc065269 geos-3.9.0.tar.bz2 -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/libgeos/libgeos.mk b/buildroot-2021.05/package/libgeos/libgeos.mk deleted file mode 100644 index a355732a..00000000 --- a/buildroot-2021.05/package/libgeos/libgeos.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# libgeos -# -################################################################################ - -LIBGEOS_VERSION = 3.9.0 -LIBGEOS_SITE = http://download.osgeo.org/geos -LIBGEOS_SOURCE = geos-$(LIBGEOS_VERSION).tar.bz2 -LIBGEOS_LICENSE = LGPL-2.1 -LIBGEOS_LICENSE_FILES = COPYING -LIBGEOS_INSTALL_STAGING = YES -LIBGEOS_CONFIG_SCRIPTS = geos-config -LIBGEOS_CONF_OPTS = -DBUILD_BENCHMARKS=OFF - -LIBGEOS_CXXFLAGS = $(TARGET_CXXCFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) -LIBGEOS_CXXFLAGS += -O0 -endif - -ifeq ($(BR2_arm)$(BR2_armeb),y) -LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON -endif - -LIBGEOS_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(LIBGEOS_CXXFLAGS)" - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libgeotiff/libgeotiff.hash b/buildroot-2021.05/package/libgeotiff/libgeotiff.hash deleted file mode 100644 index 51adcc28..00000000 --- a/buildroot-2021.05/package/libgeotiff/libgeotiff.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 9311017e5284cffb86f2c7b7a9df1fb5ebcdc61c30468fb2e6bca36e4272ebca libgeotiff-1.6.0.tar.gz -sha256 6a22340b8293c50a34ce8e95589489bd3ec65bcb8b93e61cbda3daaafe498375 LICENSE diff --git a/buildroot-2021.05/package/libgeotiff/libgeotiff.mk b/buildroot-2021.05/package/libgeotiff/libgeotiff.mk deleted file mode 100644 index c6fb61b4..00000000 --- a/buildroot-2021.05/package/libgeotiff/libgeotiff.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# libgeotiff -# -################################################################################ - -LIBGEOTIFF_VERSION = 1.6.0 -LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff -LIBGEOTIFF_LICENSE = X11-style, public domain -LIBGEOTIFF_LICENSE_FILES = LICENSE -LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf -LIBGEOTIFF_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_ZLIB),y) -LIBGEOTIFF_DEPENDENCIES += zlib -LIBGEOTIFF_CONF_OPTS += --with-zlib -else -LIBGEOTIFF_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -LIBGEOTIFF_DEPENDENCIES += jpeg -LIBGEOTIFF_CONF_OPTS += --with-jpeg -else -LIBGEOTIFF_CONF_OPTS += --without-jpeg -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgit2/libgit2.hash b/buildroot-2021.05/package/libgit2/libgit2.hash deleted file mode 100644 index 367ade3a..00000000 --- a/buildroot-2021.05/package/libgit2/libgit2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 ad73f845965cfd528e70f654e428073121a3fa0dc23caac81a1b1300277d4dba libgit2-1.1.0.tar.gz -sha256 afc8bde99ba630012107c25d3c42dde628ec5f0cd3f428131f7e3a0f7d58ff42 COPYING diff --git a/buildroot-2021.05/package/libgit2/libgit2.mk b/buildroot-2021.05/package/libgit2/libgit2.mk deleted file mode 100644 index e5d17fa3..00000000 --- a/buildroot-2021.05/package/libgit2/libgit2.mk +++ /dev/null @@ -1,47 +0,0 @@ -################################################################################ -# -# libgit2 -# -################################################################################ - -LIBGIT2_VERSION = 1.1.0 -LIBGIT2_SITE = https://github.com/libgit2/libgit2/releases/download/v$(LIBGIT2_VERSION) -LIBGIT2_LICENSE = GPL-2.0 with linking exception, MIT (sha1), wildmatch license (wildmatch) -LIBGIT2_LICENSE_FILES = COPYING -LIBGIT2_CPE_ID_VENDOR = libgit2_project -LIBGIT2_INSTALL_STAGING = YES - -LIBGIT2_CONF_OPTS = \ - -DUSE_GSSAPI=OFF \ - -DBUILD_CLAR=OFF \ - -DUSE_ICONV=ON \ - -DREGEX_BACKEND=regcomp \ - -DUSE_HTTP_PARSER=system \ - -DTHREADSAFE=$(if $(BR2_TOOLCHAIN_HAS_THREADS),ON,OFF) - -LIBGIT2_DEPENDENCIES = zlib libhttpparser - -# If libiconv is available (for !locale toolchains), then we can use -# it for iconv support. Note that USE_ICONV=ON is still correct even -# without libiconv because (1) most toolchain have iconv support -# without libiconv and (2) even if USE_ICONV=ON but iconv support is -# not available, libgit2 simply avoids using iconv. -ifeq ($(BR2_PACKAGE_LIBICONV),y) -LIBGIT2_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_PACKAGE_LIBSSH2),y) -LIBGIT2_DEPENDENCIES += libssh2 -LIBGIT2_CONF_OPTS += -DUSE_SSH=ON -else -LIBGIT2_CONF_OPTS += -DUSE_SSH=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBGIT2_DEPENDENCIES += openssl -LIBGIT2_CONF_OPTS += -DUSE_HTTPS=OpenSSL -else -LIBGIT2_CONF_OPTS += -DUSE_HTTPS=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libglfw/Config.in b/buildroot-2021.05/package/libglfw/Config.in deleted file mode 100644 index 06f43764..00000000 --- a/buildroot-2021.05/package/libglfw/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_LIBGLFW - bool "libglfw" - depends on BR2_PACKAGE_XORG7 - depends on BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_XLIB_LIBXCURSOR - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXI - select BR2_PACKAGE_XLIB_LIBXINERAMA - select BR2_PACKAGE_XLIB_LIBXRANDR - help - GLFW is an Open Source, multi-platform library for creating - windows with OpenGL contexts and receiving input and events. - - http://www.glfw.org - -comment "libglfw depends on X.org and needs an OpenGL backend" - depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_HAS_LIBGL diff --git a/buildroot-2021.05/package/libglfw/libglfw.hash b/buildroot-2021.05/package/libglfw/libglfw.hash deleted file mode 100644 index c21a595b..00000000 --- a/buildroot-2021.05/package/libglfw/libglfw.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 98768e12e615fbe9f3386f5bbfeb91b5a3b45a8c4c77159cef06b1f6ff749537 libglfw-3.3.2.tar.gz -sha256 149704059b5d0bf551637e50042dd4de9c2cae921021f6636298911e3a5f9462 LICENSE.md diff --git a/buildroot-2021.05/package/libglfw/libglfw.mk b/buildroot-2021.05/package/libglfw/libglfw.mk deleted file mode 100644 index 63d2a88b..00000000 --- a/buildroot-2021.05/package/libglfw/libglfw.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# libglfw -# -################################################################################ - -LIBGLFW_VERSION = 3.3.2 -LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION)) -LIBGLFW_INSTALL_STAGING = YES -LIBGLFW_DEPENDENCIES = libgl xlib_libXcursor xlib_libXext \ - xlib_libXi xlib_libXinerama xlib_libXrandr -LIBGLFW_LICENSE = Zlib -LIBGLFW_LICENSE_FILES = LICENSE.md - -LIBGLFW_CONF_OPTS += \ - -DGLFW_BUILD_EXAMPLES=OFF \ - -DGLFW_BUILD_TESTS=OFF \ - -DGLFW_BUILD_DOCS=OFF - -ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) -LIBGLFW_DEPENDENCIES += xlib_libXxf86vm -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libglib2/0001-fix-compile-time-atomic-detection.patch b/buildroot-2021.05/package/libglib2/0001-fix-compile-time-atomic-detection.patch deleted file mode 100644 index d84a1ab4..00000000 --- a/buildroot-2021.05/package/libglib2/0001-fix-compile-time-atomic-detection.patch +++ /dev/null @@ -1,32 +0,0 @@ -From d5c628a6179b99705fa05ab87437321b132c81bc Mon Sep 17 00:00:00 2001 -From: Brendan Heading -Date: Wed, 21 Jun 2017 16:36:15 -0400 -Subject: [PATCH] Fix compile time atomic detection - -Improved compile-time detection of atomic support in the compiler. - -Upstream-Status: 'Needs information' -See : https://gitlab.gnome.org/GNOME/glib/issues/1063 - -Signed-off-by: Brendan Heading -Signed-off-by: Adam Duskett ---- - glib/gthread-posix.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c -index 71a6b7b..d09d029 100644 ---- a/glib/gthread-posix.c -+++ b/glib/gthread-posix.c -@@ -73,7 +73,7 @@ - #endif - - /* clang defines __ATOMIC_SEQ_CST but doesn't support the GCC extension */ --#if defined(HAVE_FUTEX) && defined(__ATOMIC_SEQ_CST) && !defined(__clang__) -+#if defined(HAVE_FUTEX) && defined(__ATOMIC_SEQ_CST) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) && !defined(__clang__) - #define USE_NATIVE_MUTEX - #endif - --- -2.9.4 - diff --git a/buildroot-2021.05/package/libglib2/0002-allow-explicit-disabling-of-tests.patch b/buildroot-2021.05/package/libglib2/0002-allow-explicit-disabling-of-tests.patch deleted file mode 100644 index c865c04e..00000000 --- a/buildroot-2021.05/package/libglib2/0002-allow-explicit-disabling-of-tests.patch +++ /dev/null @@ -1,37 +0,0 @@ -From cdccbc6ec36243463613cb32d7058c26c3c51e16 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Wed, 18 Sep 2019 09:50:00 -0700 -Subject: [PATCH] allow explicit disabling of tests - -Upstream won't build tests when cross-compiling. However; this means still -building the tests during a host build. Building the tests causes build -failures on older distributions such as CentOS 6 and Debian 7 because the -command `objcopy --add-symbol` is used when building the test -"test_resources2," which is not available with the older version of objcopy -provided by the distributions. - -Instead, remove the conditional checks which set build_tests and only check if -installed_tests_enabled is passed. - -Signed-off-by: Adam Duskett -Refresh for 2.62.2 ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 99806d0..3206603 100644 ---- a/meson.build -+++ b/meson.build -@@ -84,7 +84,7 @@ installed_tests_template = files('template.test.in') - installed_tests_template_tap = files('template-tap.test.in') - - # Don’t build the tests unless we can run them (either natively, in an exe wrapper, or by installing them for later use) --build_tests = not meson.is_cross_build() or (meson.is_cross_build() and meson.has_exe_wrapper()) or installed_tests_enabled -+build_tests = installed_tests_enabled - - add_project_arguments('-D_GNU_SOURCE', language: 'c') - --- -2.23.0 - diff --git a/buildroot-2021.05/package/libglib2/0003-remove-cpp-requirement.patch b/buildroot-2021.05/package/libglib2/0003-remove-cpp-requirement.patch deleted file mode 100644 index 11978e97..00000000 --- a/buildroot-2021.05/package/libglib2/0003-remove-cpp-requirement.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 2f168951df1feebeac549ada1ea44ea092484c54 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 16 Sep 2019 10:12:38 -0700 -Subject: [PATCH] remove cpp requirement - -The c++ test is necessary to ensure libglib doesn't accidentally use C++ -reserved keywords in public headers. Because this is just a test, it isn't -necessary to have a C++ compiler to build libglib2. - -Signed-off-by: Adam Duskett -Upstream status: Denied (Buildroot specific) -https://gitlab.gnome.org/GNOME/glib/issues/1748 ---- - glib/glibconfig.h.in | 1 - - meson.build | 18 +----------------- - tests/meson.build | 5 ----- - 3 files changed, 1 insertion(+), 23 deletions(-) - -diff --git a/glib/glibconfig.h.in b/glib/glibconfig.h.in -index 7ef8c48..128e65d 100644 ---- a/glib/glibconfig.h.in -+++ b/glib/glibconfig.h.in -@@ -117,7 +117,6 @@ typedef unsigned @glib_intptr_type_define@ guintptr; - @glib_vacopy@ - - @g_have_iso_c_varargs@ --@g_have_iso_cxx_varargs@ - - /* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi - * is passed ISO vararg support is turned off, and there is no work -diff --git a/meson.build b/meson.build -index 4bbf4c2..ac59f4e 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,4 +1,4 @@ --project('glib', 'c', 'cpp', -+project('glib', 'c', - version : '2.66.8', - # NOTE: We keep this pinned at 0.49 because that's what Debian 10 ships - meson_version : '>= 0.49.2', -@@ -10,7 +10,6 @@ project('glib', 'c', 'cpp', - ) - - cc = meson.get_compiler('c') --cxx = meson.get_compiler('cpp') - - cc_can_run = not meson.is_cross_build() or meson.has_exe_wrapper() - -@@ -1548,20 +1547,6 @@ if g_have_iso_c_varargs - #endif''') - endif - --g_have_iso_cxx_varargs = cxx.compiles(''' -- void some_func (void) { -- int a(int p1, int p2, int p3); -- #define call_a(...) a(1,__VA_ARGS__) -- call_a(2,3); -- }''', name : 'ISO C99 varargs macros in C++') -- --if g_have_iso_cxx_varargs -- glibconfig_conf.set('g_have_iso_cxx_varargs', ''' --#ifdef __cplusplus --# define G_HAVE_ISO_VARARGS 1 --#endif''') --endif -- - g_have_gnuc_varargs = cc.compiles(''' - void some_func (void) { - int a(int p1, int p2, int p3); -@@ -2167,7 +2152,6 @@ subdir('gobject') - subdir('gthread') - subdir('gmodule') - subdir('gio') --subdir('fuzzing') - if build_tests - subdir('tests') - endif -diff --git a/tests/meson.build b/tests/meson.build -index e4ea226..7fd974c 100644 ---- a/tests/meson.build -+++ b/tests/meson.build -@@ -55,11 +55,6 @@ tests = { - 'source': 'module-test.c', - 'c_args': ['-DMODULE_TYPE="plugin"'], - }, -- 'cxx-test' : { -- 'source' : 'cxx-test.cpp', -- 'include_directories' : gmoduleinc, -- 'dependencies' : [libgio_dep], -- }, - } - - test_extra_programs = { --- -2.23.0 - diff --git a/buildroot-2021.05/package/libglib2/0004-Add-Wno-format-nonliteral-to-compiler-arguments.patch b/buildroot-2021.05/package/libglib2/0004-Add-Wno-format-nonliteral-to-compiler-arguments.patch deleted file mode 100644 index f792ceba..00000000 --- a/buildroot-2021.05/package/libglib2/0004-Add-Wno-format-nonliteral-to-compiler-arguments.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 9e0f11a4981737f98bac93a22b6f2ff1a3887b63 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Tue, 9 Apr 2019 13:03:51 -0400 -Subject: [PATCH] Add '-Wno-format-nonliteral' to compiler arguments. - -This warning is a false positive on older versions of gcc. -See https://gitlab.gnome.org/GNOME/glib/issues/1744 for more details. - -Signed-off-by: Adam Duskett ---- - meson.build | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/meson.build b/meson.build -index 3c615b7..7cae4e8 100644 ---- a/meson.build -+++ b/meson.build -@@ -372,6 +372,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang' - '-Wno-cast-function-type', -+ '-Wno-format-nonliteral', - # Due to function casts through (void*) we cannot support -Wpedantic: - # https://wiki.gnome.org/Projects/GLib/CompilerRequirements#Function_pointer_conversions. - '-Wno-pedantic', - '-Werror=declaration-after-statement', - '-Werror=format=2', --- -2.20.1 - diff --git a/buildroot-2021.05/package/libglib2/libglib2.hash b/buildroot-2021.05/package/libglib2/libglib2.hash deleted file mode 100644 index 4f69f1cc..00000000 --- a/buildroot-2021.05/package/libglib2/libglib2.hash +++ /dev/null @@ -1,4 +0,0 @@ -# https://download.gnome.org/sources/glib/2.66/glib-2.66.8.sha256sum -sha256 97bc87dd91365589af5cbbfea2574833aea7a1b71840fd365ecd2852c76b9c8b glib-2.66.8.tar.xz -# License files, locally calculated -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/libglib2/libglib2.mk b/buildroot-2021.05/package/libglib2/libglib2.mk deleted file mode 100644 index 9ce40d91..00000000 --- a/buildroot-2021.05/package/libglib2/libglib2.mk +++ /dev/null @@ -1,144 +0,0 @@ -################################################################################ -# -# libglib2 -# -################################################################################ - -LIBGLIB2_VERSION_MAJOR = 2.66 -LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).8 -LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz -LIBGLIB2_SITE = http://ftp.gnome.org/pub/gnome/sources/glib/$(LIBGLIB2_VERSION_MAJOR) -LIBGLIB2_LICENSE = LGPL-2.1+ -LIBGLIB2_LICENSE_FILES = COPYING -LIBGLIB2_CPE_ID_VENDOR = gnome -LIBGLIB2_CPE_ID_PRODUCT = glib -LIBGLIB2_INSTALL_STAGING = YES - -LIBGLIB2_CFLAGS = $(TARGET_CFLAGS) -LIBGLIB2_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) - -# glib/valgrind.h contains inline asm not compatible with thumb1 -ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) -LIBGLIB2_CFLAGS += -marm -endif - -HOST_LIBGLIB2_CONF_OPTS = \ - -Ddtrace=false \ - -Dfam=false \ - -Dselinux=disabled \ - -Dsystemtap=false \ - -Dxattr=false \ - -Dinternal_pcre=false \ - -Dinstalled_tests=false \ - -Doss_fuzz=disabled - -LIBGLIB2_DEPENDENCIES = \ - host-pkgconf host-libglib2 \ - libffi pcre zlib $(TARGET_NLS_DEPENDENCIES) - -HOST_LIBGLIB2_DEPENDENCIES = \ - host-gettext \ - host-libffi \ - host-pcre \ - host-pkgconf \ - host-util-linux \ - host-zlib - -# We explicitly specify a giomodule-dir to avoid having a value -# containing ${libdir} in gio-2.0.pc. Indeed, a value depending on -# ${libdir} would be prefixed by the sysroot by pkg-config, causing a -# bogus installation path once combined with $(DESTDIR). -LIBGLIB2_CONF_OPTS = \ - -Dinternal_pcre=false \ - -Dgio_module_dir=/usr/lib/gio/modules \ - -Dinstalled_tests=false \ - -Doss_fuzz=disabled - -LIBGLIB2_MESON_EXTRA_PROPERTIES = \ - have_c99_vsnprintf=true \ - have_c99_snprintf=true \ - have_unix98_printf=true - -ifneq ($(BR2_ENABLE_LOCALE),y) -LIBGLIB2_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_PACKAGE_ELFUTILS),y) -LIBGLIB2_DEPENDENCIES += elfutils -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -LIBGLIB2_CONF_OPTS += -Diconv=external -LIBGLIB2_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -LIBGLIB2_CONF_OPTS += -Dselinux=enabled -LIBGLIB2_DEPENDENCIES += libselinux -else -LIBGLIB2_CONF_OPTS += -Dselinux=disabled -endif - -# Purge gdb-related files -ifneq ($(BR2_PACKAGE_GDB),y) -define LIBGLIB2_REMOVE_GDB_FILES - rm -rf $(TARGET_DIR)/usr/share/glib-2.0/gdb -endef -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y) -LIBGLIB2_CONF_OPTS += -Dlibmount=enabled -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBS),y) -LIBGLIB2_DEPENDENCIES += util-linux-libs -else -LIBGLIB2_DEPENDENCIES += util-linux -endif -else -LIBGLIB2_CONF_OPTS += -Dlibmount=disabled -endif - -# Purge useless binaries from target -define LIBGLIB2_REMOVE_DEV_FILES - rm -rf $(TARGET_DIR)/usr/lib/glib-2.0 - rm -rf $(addprefix $(TARGET_DIR)/usr/share/glib-2.0/,codegen gettext) - rm -f $(addprefix $(TARGET_DIR)/usr/bin/,gdbus-codegen glib-compile-schemas glib-compile-resources glib-genmarshal glib-gettextize glib-mkenums gobject-query gtester gtester-report) - $(LIBGLIB2_REMOVE_GDB_FILES) -endef - -LIBGLIB2_POST_INSTALL_TARGET_HOOKS += LIBGLIB2_REMOVE_DEV_FILES - -# Newer versions of libglib2 prefix glib-genmarshal, gobject-query, -# glib-mkenums, glib_compile_schemas, glib_compile_resources and gdbus-codegen -# with ${bindir}. Unfortunately, this will resolve to the host systems /bin/ -# directory, which will cause compilation issues if the host does not have these -# programs. By removing the ${bindir}/ prefix, these programs are resolved in -# PATH instead. -define LIBGLIB2_REMOVE_BINDIR_PREFIX_FROM_PC_FILE - $(SED) 's%$${bindir}/%%g' $(addprefix $(STAGING_DIR)/usr/lib/pkgconfig/, glib-2.0.pc gio-2.0.pc) -endef -LIBGLIB2_POST_INSTALL_TARGET_HOOKS += LIBGLIB2_REMOVE_BINDIR_PREFIX_FROM_PC_FILE - -# Remove schema sources/DTDs, we use staging ones to compile them. -# Do so at target finalization since other packages install additional -# ones and we want to deal with it in a single place. -define LIBGLIB2_REMOVE_TARGET_SCHEMAS - rm -f $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml \ - $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.dtd -endef - -# Compile schemas at target finalization since other packages install -# them as well, and better do it in a central place. -# It's used at run time so it doesn't matter defering it. -define LIBGLIB2_COMPILE_SCHEMAS - $(HOST_DIR)/bin/glib-compile-schemas \ - $(STAGING_DIR)/usr/share/glib-2.0/schemas \ - --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas -endef - -LIBGLIB2_TARGET_FINALIZE_HOOKS += LIBGLIB2_REMOVE_TARGET_SCHEMAS -LIBGLIB2_TARGET_FINALIZE_HOOKS += LIBGLIB2_COMPILE_SCHEMAS - -$(eval $(meson-package)) -$(eval $(host-meson-package)) - -LIBGLIB2_HOST_BINARY = $(HOST_DIR)/bin/glib-genmarshal diff --git a/buildroot-2021.05/package/libglu/libglu.hash b/buildroot-2021.05/package/libglu/libglu.hash deleted file mode 100644 index b0202a13..00000000 --- a/buildroot-2021.05/package/libglu/libglu.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://lists.freedesktop.org/archives/mesa-announce/2019-July/000530.html -md5 151aef599b8259efe9acd599c96ea2a3 glu-9.0.1.tar.xz -sha1 b6ffef562ba55d3f80146d4238589cb9b1de66f5 glu-9.0.1.tar.xz -sha256 fb5a4c2dd6ba6d1c21ab7c05129b0769544e1d68e1e3b0ffecb18e73c93055bc glu-9.0.1.tar.xz -sha512 8a6dae5b4bd63efb96d15f23ccda4ad9c2ffaa964897e5fa63d1e58360d8d4e6732c5efd2109dba04155d5fc457ab1718a65cf9b544ce0d452679ba988d04018 glu-9.0.1.tar.xz -# locally computed -sha256 84187ce0fd0153769675cb7f3301583eb27393f66b57c5604999a1d805a9184c include/GL/glu.h diff --git a/buildroot-2021.05/package/libglu/libglu.mk b/buildroot-2021.05/package/libglu/libglu.mk deleted file mode 100644 index e18c7f14..00000000 --- a/buildroot-2021.05/package/libglu/libglu.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libglu -# -################################################################################ - -LIBGLU_VERSION = 9.0.1 -LIBGLU_SITE = https://mesa.freedesktop.org/archive/glu -LIBGLU_SOURCE = glu-$(LIBGLU_VERSION).tar.xz -LIBGLU_LICENSE = SGI-B-2.0 -LIBGLU_LICENSE_FILES = include/GL/glu.h -LIBGLU_INSTALL_STAGING = YES -LIBGLU_DEPENDENCIES = libgl host-pkgconf - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgpg-error/0001-configure.ac-fix-build-without-threads.patch b/buildroot-2021.05/package/libgpg-error/0001-configure.ac-fix-build-without-threads.patch deleted file mode 100644 index 5f5147e0..00000000 --- a/buildroot-2021.05/package/libgpg-error/0001-configure.ac-fix-build-without-threads.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 77c89f62f106d88ef2b5963f4a13755c337c793d Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 15 Feb 2021 07:56:29 +0100 -Subject: [PATCH] configure.ac: fix build without threads - -Cross-compilation of libgpg-error fails on toolchain without threads -since commit 988211d3d4c1f3d5cfa6b460210f65ab636763b5, -9ee011259f819a3cf50fe7019fa4366dbc437e0e and -50e62b36ea01ed25d12c443088b85d4f41a2b3e1 - -Indeed, since that time, libgpg-error assumes that pthread.h is always -available resulting in the following error at configure time: - -checking for arm-unknown-linux-gnueabi-objdump... (cached) /tmp/instance-1/output-1/host/bin/arm-linux-objdump -conftest.c:1:10: fatal error: pthread.h: No such file or directory - 1 | #include - | ^~~~~~~~~~~ -compilation terminated. -configure: generated src/lock-obj-pub.native.h using arm-unknown-linux-gnueabi-objdump and gawk -checking whether to enable log_clock... no - -This error will in turn results in a build failure because -"Can't determine mutex size" is echoed by gen-lock-obj.sh: - -In file included from strsource-sym.c:27: -./gpg-error.h:1115:4: warning: missing terminating ' character - 1115 | Can't determine mutex size - | ^ - -Full build log: -http://autobuild.buildroot.org/results/334/3344c96e5627a9327b0eabe0b27f34490bbabc0d/build-end.log - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://dev.gnupg.org/T5296] ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index b9a2a3e..15d9fdc 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -599,7 +599,7 @@ if test x$cross_compiling = xyes; then - case $host in - *-*-linux*) - AC_CHECK_TOOL(OBJDUMP, [objdump]) -- if test -n "$OBJDUMP"; then -+ if test -n "$OBJDUMP" -a x"$gl_use_threads" != xno; then - lock_obj_h_generated=yes - if test ! -d src; then mkdir src; fi - LOCK_ABI_VERSION=1 host=$host host_alias=$host_alias \ --- -2.30.0 - diff --git a/buildroot-2021.05/package/libgpg-error/Config.in b/buildroot-2021.05/package/libgpg-error/Config.in deleted file mode 100644 index 44e9d67a..00000000 --- a/buildroot-2021.05/package/libgpg-error/Config.in +++ /dev/null @@ -1,56 +0,0 @@ -config BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS - bool - # see src/syscfg/ - default y if \ - BR2_aarch64 || BR2_aarch64_eb || BR2_arm || \ - BR2_armeb || BR2_i386 || BR2_mips || \ - BR2_mipsel || BR2_mips64 || BR2_mips64el || \ - BR2_m68k || BR2_nios2 || BR2_powerpc || \ - BR2_powerpc64 || BR2_powerpc64le || BR2_RISCV_64 || \ - BR2_RISCV_32 || BR2_s390x || BR2_sh4 || \ - BR2_sh4eb || BR2_sh4a || BR2_sh4aeb || \ - BR2_sparc || BR2_sparc64 || BR2_x86_64 - -config BR2_PACKAGE_LIBGPG_ERROR - bool "libgpg-error" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS - help - Libgpg-error is a small library with error codes and - descriptions shared by most GnuPG related software. - - https://www.gnupg.org/related_software/libgpg-error - -config BR2_PACKAGE_LIBGPG_ERROR_SYSCFG - string - default "aarch64-unknown-linux-gnu" \ - if BR2_aarch64 || BR2_aarch64_eb - default "arm-unknown-linux-gnueabi" \ - if BR2_arm || BR2_armeb - default "i686-pc-linux-gnu" \ - if BR2_i386 - default "mips-unknown-linux-gnu" \ - if BR2_mips || BR2_mipsel - default "mips64el-unknown-linux-gnuabi64" \ - if BR2_mips64 || BR2_mips64el - default "m68k-unknown-linux-gnu" \ - if BR2_m68k - default "nios2-unknown-linux-gnu" \ - if BR2_nios2 - default "powerpc-unknown-linux-gnu" \ - if BR2_powerpc - default "powerpc64-unknown-linux-gnu" \ - if BR2_powerpc64 || BR2_powerpc64le - default "riscv32-unknown-linux-gnu" \ - if BR2_RISCV_32 - default "riscv64-unknown-linux-gnu" \ - if BR2_RISCV_64 - default "s390x-unknown-linux-gnu" \ - if BR2_s390x - default "sh4-unknown-linux-gnu" \ - if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb - default "sparc-unknown-linux-gnu" \ - if BR2_sparc - default "sparc64-unknown-linux-gnu" \ - if BR2_sparc64 - default "x86_64-unknown-linux-gnu" \ - if BR2_x86_64 diff --git a/buildroot-2021.05/package/libgpg-error/libgpg-error.hash b/buildroot-2021.05/package/libgpg-error/libgpg-error.hash deleted file mode 100644 index 315c0965..00000000 --- a/buildroot-2021.05/package/libgpg-error/libgpg-error.hash +++ /dev/null @@ -1,10 +0,0 @@ -# From https://www.gnupg.org/download/integrity_check.html -sha1 66d6270511a48bac0bf347330e7a12c62f3a1ab4 libgpg-error-1.41.tar.bz2 - -# Locally calculated after checking pgp signature -# https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.41.tar.bz2.sig -# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 64b078b45ac3c3003d7e352a5e05318880a5778c42331ce1ef33d1a0d9922742 libgpg-error-1.41.tar.bz2 -# Locally calculated -sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING -sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB diff --git a/buildroot-2021.05/package/libgpg-error/libgpg-error.mk b/buildroot-2021.05/package/libgpg-error/libgpg-error.mk deleted file mode 100644 index 1b35e5c8..00000000 --- a/buildroot-2021.05/package/libgpg-error/libgpg-error.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# libgpg-error -# -################################################################################ - -LIBGPG_ERROR_VERSION = 1.41 -LIBGPG_ERROR_SITE = https://www.gnupg.org/ftp/gcrypt/libgpg-error -LIBGPG_ERROR_SOURCE = libgpg-error-$(LIBGPG_ERROR_VERSION).tar.bz2 -LIBGPG_ERROR_LICENSE = GPL-2.0+, LGPL-2.1+ -LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB -LIBGPG_ERROR_CPE_ID_VENDOR = gnupg -LIBGPG_ERROR_INSTALL_STAGING = YES -LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config -LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -LIBGPG_ERROR_CONF_OPTS = --disable-tests \ - --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) -# We're patching configure.ac -LIBGPG_ERROR_AUTORECONF= YES - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -LIBGPG_ERROR_CONF_OPTS += --enable-threads -else -LIBGPG_ERROR_CONF_OPTS += --disable-threads -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgpgme/libgpgme.hash b/buildroot-2021.05/package/libgpgme/libgpgme.hash deleted file mode 100644 index 35767a27..00000000 --- a/buildroot-2021.05/package/libgpgme/libgpgme.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.15.1.tar.bz2.sig -# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 -sha256 eebc3c1b27f1c8979896ff361ba9bb4778b508b2496c2fc10e3775a40b1de1ad gpgme-1.15.1.tar.bz2 -# Locally calculated -sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LESSER diff --git a/buildroot-2021.05/package/libgpgme/libgpgme.mk b/buildroot-2021.05/package/libgpgme/libgpgme.mk deleted file mode 100644 index 95a41925..00000000 --- a/buildroot-2021.05/package/libgpgme/libgpgme.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# libgpgme -# -################################################################################ - -LIBGPGME_VERSION = 1.15.1 -LIBGPGME_SITE = https://gnupg.org/ftp/gcrypt/gpgme -LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2 -LIBGPGME_LICENSE = LGPL-2.1+ -LIBGPGME_LICENSE_FILES = COPYING.LESSER -LIBGPGME_CPE_ID_VENDOR = gnupg -LIBGPGME_CPE_ID_PRODUCT = gpgpme -LIBGPGME_INSTALL_STAGING = YES -LIBGPGME_DEPENDENCIES = libassuan libgpg-error -LIBGPGME_CONFIG_SCRIPTS = gpgme-config - -LIBGPGME_LANGUAGE_BINDINGS = cl -# C++ bindings require a C++11 capable gcc, and -Wsuggest-override support -ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_TOOLCHAIN_GCC_AT_LEAST_5),yy) -LIBGPGME_LANGUAGE_BINDINGS += cpp -endif - -LIBGPGME_CONF_OPTS = \ - --with-gpg-error-prefix=$(STAGING_DIR)/usr \ - --with-libassuan-prefix=$(STAGING_DIR)/usr \ - --disable-gpgsm-test \ - --disable-gpgconf-test \ - --disable-g13-test \ - --disable-gpg-test \ - --enable-languages=$(subst $(space),$(comma),$(LIBGPGME_LANGUAGE_BINDINGS)) - -# Handle argp-standalone or it errors out during build -ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -# musl libc does not define error_t in errno.h, but argp.h does. -# Assume we have error_t to avoid collision with the argp.h error_t. -LIBGPGME_CONF_ENV += LIBS="-largp" ac_cv_type_error_t=yes -LIBGPGME_DEPENDENCIES += argp-standalone -endif - -# MIPS N64 (re)introduced getdents64 in kernel version 3.10 -ifeq ($(BR2_MIPS_NABI64)x$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10),yx) -LIBGPGME_CONF_OPTS += --disable-linux-getdents -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgphoto2/libgphoto2.hash b/buildroot-2021.05/package/libgphoto2/libgphoto2.hash deleted file mode 100644 index e405735c..00000000 --- a/buildroot-2021.05/package/libgphoto2/libgphoto2.hash +++ /dev/null @@ -1,6 +0,0 @@ -# https://sourceforge.net/projects/gphoto/files/libgphoto/2.5.26/ -sha1 38373ef7f76e90492ffca309094487fb1474f3fe libgphoto2-2.5.26.tar.bz2 - -# Locally calculated hash -sha256 7740fea3cbb78489071cdfec06c07fab528e69e27ac82734eae6a73eaeeabcd4 libgphoto2-2.5.26.tar.bz2 -sha256 ebc385a0b1d477be5177ed6d9129557aa59a3ad0f26ebe7dd97ee942a0fb68ee COPYING diff --git a/buildroot-2021.05/package/libgphoto2/libgphoto2.mk b/buildroot-2021.05/package/libgphoto2/libgphoto2.mk deleted file mode 100644 index 1d42ba86..00000000 --- a/buildroot-2021.05/package/libgphoto2/libgphoto2.mk +++ /dev/null @@ -1,62 +0,0 @@ -################################################################################ -# -# libgphoto2 -# -################################################################################ - -LIBGPHOTO2_VERSION = 2.5.26 -LIBGPHOTO2_SOURCE = libgphoto2-$(LIBGPHOTO2_VERSION).tar.bz2 -# Project is maintained on github but github tarball doesn't have -# configure, so use tarballs from SourceForge -LIBGPHOTO2_SITE = https://downloads.sourceforge.net/project/gphoto/libgphoto/$(LIBGPHOTO2_VERSION) -LIBGPHOTO2_LICENSE = LGPL-2.1+, GPL-2.0 (adc65), GPL-2.0+ (some camlibs), \ - LGPL-2.0 (sipix), LGPL-3.0+ (pentax), BSD-3-Clause (ax203/tinyjpeg) -# There is a single license file for the LGPL-2.1, no license files -# for other licenses -LIBGPHOTO2_LICENSE_FILES = COPYING -LIBGPHOTO2_INSTALL_STAGING = YES - -LIBGPHOTO2_DEPENDENCIES = libxml2 libusb libtool host-pkgconf - -LIBGPHOTO2_CONF_ENV = udevscriptdir=/lib/udev -LIBGPHOTO2_CONF_OPTS += --without-rpmbuild --disable-gp2ddb --disable-internal-docs - -ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) -# libusb-compat is not actually used, but it is detected, so add it -# here to guarantee reproducible builds -LIBGPHOTO2_DEPENDENCIES += libusb-compat -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -LIBGPHOTO2_DEPENDENCIES += libcurl -LIBGPHOTO2_CONF_OPTS += --with-libcurl=auto -else -LIBGPHOTO2_CONF_OPTS += --with-libcurl=no -endif - -ifeq ($(BR2_PACKAGE_LIBEXIF),y) -LIBGPHOTO2_DEPENDENCIES += libexif -LIBGPHOTO2_CONF_OPTS += --with-libexif=auto -else -LIBGPHOTO2_CONF_OPTS += --with-libexif=no -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -LIBGPHOTO2_DEPENDENCIES += jpeg -LIBGPHOTO2_CONF_OPTS += --with-jpeg -else -LIBGPHOTO2_CONF_OPTS += --without-jpeg -endif - -ifeq ($(BR2_PACKAGE_GD),y) -LIBGPHOTO2_DEPENDENCIES += gd -LIBGPHOTO2_CONF_OPTS += --with-gdlib=auto -else -LIBGPHOTO2_CONF_OPTS += --with-gdlib=no -endif - -ifeq ($(BR2_PACKAGE_LOCKDEV),y) -LIBGPHOTO2_DEPENDENCIES += lockdev -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgsasl/libgsasl.mk b/buildroot-2021.05/package/libgsasl/libgsasl.mk deleted file mode 100644 index e813a354..00000000 --- a/buildroot-2021.05/package/libgsasl/libgsasl.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# libgsasl -# -################################################################################ - -LIBGSASL_VERSION = 1.10.0 -LIBGSASL_SITE = $(BR2_GNU_MIRROR)/gsasl -LIBGSASL_LICENSE = LGPL-2.1+ (library), GPL-3.0+ (programs) -LIBGSASL_LICENSE_FILES = README COPYING.LIB COPYING -LIBGSASL_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -LIBGSASL_CONF_OPTS = --with-libgcrypt-prefix=$(STAGING_DIR)/usr -LIBGSASL_DEPENDENCIES += libgcrypt -else -LIBGSASL_CONF_OPTS = --without-libgcrypt -endif - -ifeq ($(BR2_PACKAGE_LIBIDN),y) -LIBGSASL_CONF_OPTS += --with-libidn-prefix=$(STAGING_DIR)/usr -LIBGSASL_DEPENDENCIES += libidn -else -LIBGSASL_CONF_OPTS += --without-stringprep -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgta/Config.in b/buildroot-2021.05/package/libgta/Config.in deleted file mode 100644 index 894dced0..00000000 --- a/buildroot-2021.05/package/libgta/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_LIBGTA - bool "libgta" - select BR2_PACKAGE_BZIP2 - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_XZ - help - Libgta is a portable library that implements the Generic - Tagged Array (GTA) file format. - - http://gta.nongnu.org diff --git a/buildroot-2021.05/package/libgta/libgta.hash b/buildroot-2021.05/package/libgta/libgta.hash deleted file mode 100644 index d5fceb42..00000000 --- a/buildroot-2021.05/package/libgta/libgta.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 1d2ff713955eee28310de082a8fd8e236403c27dee3716ba1238c56e6643e4fb libgta-1.0.8.tar.xz -sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING diff --git a/buildroot-2021.05/package/libgta/libgta.mk b/buildroot-2021.05/package/libgta/libgta.mk deleted file mode 100644 index 1189feef..00000000 --- a/buildroot-2021.05/package/libgta/libgta.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# libgta -# -################################################################################ - -LIBGTA_VERSION = 1.0.8 -LIBGTA_SITE = http://download.savannah.nongnu.org/releases/gta -LIBGTA_SOURCE = libgta-$(LIBGTA_VERSION).tar.xz -LIBGTA_INSTALL_STAGING = YES -LIBGTA_DEPENDENCIES = host-pkgconf bzip2 xz zlib -LIBGTA_LICENSE = LGPL-2.1+ -LIBGTA_LICENSE_FILES = COPYING - -LIBGTA_CONF_OPTS += -DGTA_BUILD_DOCUMENTATION=OFF - -ifeq ($(BR2_STATIC_LIBS),) -LIBGTA_CONF_OPTS += -DGTA_BUILD_SHARED_LIB=ON -else -LIBGTA_CONF_OPTS += -DGTA_BUILD_SHARED_LIB=OFF -endif - -ifeq ($(BR2_SHARED_LIBS),) -LIBGTA_CONF_OPTS += -DGTA_BUILD_STATIC_LIB=ON -else -LIBGTA_CONF_OPTS += -DGTA_BUILD_STATIC_LIB=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libgtk2/Config.in b/buildroot-2021.05/package/libgtk2/Config.in deleted file mode 100644 index 7c5762a5..00000000 --- a/buildroot-2021.05/package/libgtk2/Config.in +++ /dev/null @@ -1,43 +0,0 @@ -config BR2_PACKAGE_LIBGTK2 - bool "libgtk2" - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - depends on BR2_INSTALL_LIBSTDCPP # pango - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz - select BR2_PACKAGE_ATK - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_CAIRO_PS - select BR2_PACKAGE_CAIRO_PDF - select BR2_PACKAGE_CAIRO_SVG - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_PANGO - select BR2_PACKAGE_GDK_PIXBUF - select BR2_PACKAGE_FONTCONFIG - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXRENDER - help - The GTK+ version 2 graphical user interface library - - http://www.gtk.org/ - -if BR2_PACKAGE_LIBGTK2 - -config BR2_PACKAGE_LIBGTK2_DEMO - bool "Install libgtk2 demo program" - help - The GTK+ source base contains a gtk-demo program. This - option allows to install this program to the target. - -endif - -comment "libgtk2 needs a toolchain w/ wchar, threads, C++, gcc >= 4.8" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_PACKAGE_XORG7 - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libgtk3/0001-no-gtk-doc.patch b/buildroot-2021.05/package/libgtk3/0001-no-gtk-doc.patch deleted file mode 100644 index db15c6cb..00000000 --- a/buildroot-2021.05/package/libgtk3/0001-no-gtk-doc.patch +++ /dev/null @@ -1,25 +0,0 @@ -Same patch as for systemd in commit -http://git.buildroot.net/buildroot/commit/?id=7144f2f04b70553 - -Fix deactivation of gtk-doc - -The tarball contains the Makefile for building documentation with gtk-doc, -Unfortunately the AM_CONDITIONAL variable is not the correct one, which -results in an error when running autoreconf. - -This patch fixes this issue. - -Signed-off-by: Eric Le Bihan -Signed-off-by: Hadrien Boutteville - ---- a/gtk-doc.make -+++ b/gtk-doc.make -@@ -299,7 +299,7 @@ - # - # Require gtk-doc when making dist - # --if HAVE_GTK_DOC -+if ENABLE_GTK_DOC - dist-check-gtkdoc: docs - else - dist-check-gtkdoc: diff --git a/buildroot-2021.05/package/libgtk3/0002-fix-introspection-check.patch b/buildroot-2021.05/package/libgtk3/0002-fix-introspection-check.patch deleted file mode 100644 index 90f5facb..00000000 --- a/buildroot-2021.05/package/libgtk3/0002-fix-introspection-check.patch +++ /dev/null @@ -1,28 +0,0 @@ -Fix HAVE_INTROSPECTION does not appear in AM_CONDITIONAL - -During autoreconf GOBJECT_INTROSPECTION_CHECK could not be resolved because we -don't have introspection which provides its custom m4 macro. Reconfigure fails -with: - -gdk/Makefile.am:196: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL -gtk/Makefile.am:1347: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL - -We avoid to add a copy of introspection.m4 in the m4 directory of libgtk3 by -adding a check, as performed in Systemd. - -Signed-off-by: Hadrien Boutteville - ---- a/configure.ac -+++ b/configure.ac -@@ -1685,7 +1685,10 @@ - # GObject introspection - ################################################## - --GOBJECT_INTROSPECTION_CHECK(introspection_required_version) -+m4_ifdef([GOBJECT_INTROSPECTION_CHECK], -+ [GOBJECT_INTROSPECTION_CHECK(introspection_required_version)], -+ [AM_CONDITIONAL([HAVE_INTROSPECTION], [false]) -+ enable_introspection=no]) - - ################################################## - # colord module diff --git a/buildroot-2021.05/package/libgtk3/0003-disable-atk-bridge.patch b/buildroot-2021.05/package/libgtk3/0003-disable-atk-bridge.patch deleted file mode 100644 index 42de83b5..00000000 --- a/buildroot-2021.05/package/libgtk3/0003-disable-atk-bridge.patch +++ /dev/null @@ -1,45 +0,0 @@ -Remove atk-bridge support. - -atk-bridge doesn't seem useful for now in Buildroot and requires to -add two new packages just for it: at-spi2-core and at-spi2-atk. - -Signed-off-by: Hadrien Boutteville - ---- a/configure.ac -+++ b/configure.ac -@@ -1364,11 +1364,7 @@ - # Check for Accessibility Toolkit flags - ######################################## - --if test x$enable_x11_backend = xyes; then -- ATK_PACKAGES="atk atk-bridge-2.0" --else -- ATK_PACKAGES="atk" --fi -+ATK_PACKAGES="atk" - - PKG_CHECK_MODULES(ATK, $ATK_PACKAGES) - ---- a/gtk/a11y/gtkaccessibility.c -+++ b/gtk/a11y/gtkaccessibility.c -@@ -37,10 +37,6 @@ - #include - #include - --#ifdef GDK_WINDOWING_X11 --#include --#endif -- - static gboolean gail_focus_watcher (GSignalInvocationHint *ihint, - guint n_param_values, - const GValue *param_values, -@@ -988,9 +984,5 @@ - _gtk_accessibility_override_atk_util (); - do_window_event_initialization (); - --#ifdef GDK_WINDOWING_X11 -- atk_bridge_adaptor_init (NULL, NULL); --#endif -- - atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL); - } diff --git a/buildroot-2021.05/package/libgtk3/Config.in b/buildroot-2021.05/package/libgtk3/Config.in deleted file mode 100644 index 093aacac..00000000 --- a/buildroot-2021.05/package/libgtk3/Config.in +++ /dev/null @@ -1,110 +0,0 @@ -comment "libgtk3 needs a toolchain w/ wchar, threads, C++, gcc >= 4.8" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_TOOLCHAIN_HAS_THREADS - -comment "libgtk3 needs an OpenGL or an OpenGL-EGL/wayland backend" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_PACKAGE_HAS_LIBEGL_WAYLAND && \ - !BR2_PACKAGE_HAS_LIBGL - -config BR2_PACKAGE_LIBGTK3 - bool "libgtk3" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-libgtk3 -> host-librsvg - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - depends on BR2_INSTALL_LIBSTDCPP # pango - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz - depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ - BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_ATK - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_CAIRO_PS - select BR2_PACKAGE_CAIRO_PDF - select BR2_PACKAGE_CAIRO_SVG - select BR2_PACKAGE_LIBEPOXY - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_PANGO - select BR2_PACKAGE_GDK_PIXBUF - # At least one backend is required - select BR2_PACKAGE_LIBGTK3_BROADWAY if \ - !(BR2_PACKAGE_LIBGTK3_X11 || BR2_PACKAGE_LIBGTK3_WAYLAND) - help - The GTK+ version 3 graphical user interface library - - https://www.gtk.org/ - -if BR2_PACKAGE_LIBGTK3 - -config BR2_PACKAGE_LIBGTK3_BROADWAY - bool "Broadway GDK backend" - default y - help - This enables the Broadway backend for GDK, which provides - support for displaying GTK+ applications in a web browser, - using HTML5 and web sockets. - - For example, to run gtk3-demo on a target which IP address is - 192.168.0.1 and use it from a web browser, execute the - following commands: - - $ broadwayd -a 192.168.0.1 -p 8080 :2 & - $ export GDK_BACKEND=broadway - $ export BROADWAY_DISPLAY=:2 - $ gtk3-demo - - Then open a web browser at address http://192.168.0.1:8080. - Javascript and web sockets should be enabled. - -comment "Wayland GDK backend needs an OpenGL EGL backend provided by mesa3d w/ headers >= 3.17" - depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - -config BR2_PACKAGE_LIBGTK3_WAYLAND - bool "Wayland GDK backend" - default y - depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - select BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_WAYLAND_PROTOCOLS - select BR2_PACKAGE_LIBXKBCOMMON - help - This enables the Wayland backend for GDK. - -comment "X11 GDK backend needs an OpenGL provider" - depends on !BR2_PACKAGE_HAS_LIBGL - -config BR2_PACKAGE_LIBGTK3_X11 - bool "X11 GDK backend" - default y - depends on BR2_PACKAGE_XORG7 - depends on BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_FONTCONFIG - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXRENDER - select BR2_PACKAGE_XLIB_LIBXI - help - This enables the X11 backend for GDK. - -config BR2_PACKAGE_LIBGTK3_DEMO - bool "Install libgtk3 demo program" - select BR2_PACKAGE_SHARED_MIME_INFO - select BR2_PACKAGE_HICOLOR_ICON_THEME - help - The GTK+ source base contains a demo program. This - option allows to install this program to the target. - -config BR2_PACKAGE_LIBGTK3_TESTS - bool "Install libgtk3 tests" - help - The GTK+ source base contains tests. This option - allows to install them to the target. - -endif diff --git a/buildroot-2021.05/package/libgtk3/libgtk3.hash b/buildroot-2021.05/package/libgtk3/libgtk3.hash deleted file mode 100644 index 22cf16da..00000000 --- a/buildroot-2021.05/package/libgtk3/libgtk3.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://download.gnome.org/sources/gtk+/3.24/gtk+-3.24.24.sha256sum -sha256 cc9d4367c55b724832f6b09ab85481738ea456871f0381768a6a99335a98378a gtk+-3.24.24.tar.xz - -# Hash for license file: -sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/buildroot-2021.05/package/libgtk3/libgtk3.mk b/buildroot-2021.05/package/libgtk3/libgtk3.mk deleted file mode 100644 index 9ece409b..00000000 --- a/buildroot-2021.05/package/libgtk3/libgtk3.mk +++ /dev/null @@ -1,202 +0,0 @@ -################################################################################ -# -# libgtk3 -# -################################################################################ - -LIBGTK3_VERSION_MAJOR = 3.24 -LIBGTK3_VERSION = $(LIBGTK3_VERSION_MAJOR).24 -LIBGTK3_SOURCE = gtk+-$(LIBGTK3_VERSION).tar.xz -LIBGTK3_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk+/$(LIBGTK3_VERSION_MAJOR) -LIBGTK3_LICENSE = LGPL-2.0+ -LIBGTK3_LICENSE_FILES = COPYING -LIBGTK3_CPE_ID_VENDOR = gnome -LIBGTK3_CPE_ID_PRODUCT = gtk -LIBGTK3_INSTALL_STAGING = YES -LIBGTK3_AUTORECONF = YES - -LIBGTK3_CONF_ENV = \ - ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/bin/gtk-update-icon-cache \ - ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/bin/gdk-pixbuf-csource \ - PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/bin/pkgconf - -LIBGTK3_CONF_OPTS = \ - --disable-glibtest \ - --enable-explicit-deps=no -HOST_LIBGTK3_CONF_OPTS = --disable-introspection - -# Override pkg-config pkgdatadir variable, it needs the prefix -LIBGTK3_MAKE_OPTS = \ - WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols \ - LIBS=$(TARGET_NLS_LIBS) - -LIBGTK3_DEPENDENCIES = host-pkgconf host-libgtk3 atk libglib2 cairo pango \ - gdk-pixbuf libepoxy $(TARGET_NLS_DEPENDENCIES) - -ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) -LIBGTK3_DEPENDENCIES += fontconfig xlib_libX11 xlib_libXext xlib_libXrender xlib_libXi - -LIBGTK3_CONF_OPTS += \ - --enable-x11-backend \ - --x-includes=$(STAGING_DIR)/usr/include/X11 \ - --x-libraries=$(STAGING_DIR)/usr/lib -else -LIBGTK3_CONF_OPTS += --disable-x11-backend -endif - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -LIBGTK3_CONF_OPTS += --enable-introspection -LIBGTK3_DEPENDENCIES += gobject-introspection -else -LIBGTK3_CONF_OPTS += --disable-introspection -endif - -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y) -LIBGTK3_DEPENDENCIES += wayland wayland-protocols libxkbcommon -LIBGTK3_CONF_OPTS += --enable-wayland-backend -else -LIBGTK3_CONF_OPTS += --disable-wayland-backend -endif - -ifeq ($(BR2_PACKAGE_LIBGTK3_BROADWAY),y) -LIBGTK3_CONF_OPTS += --enable-broadway-backend -else -LIBGTK3_CONF_OPTS += --disable-broadway-backend -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) -LIBGTK3_CONF_OPTS += --enable-xinerama -LIBGTK3_DEPENDENCIES += xlib_libXinerama -else -LIBGTK3_CONF_OPTS += --disable-xinerama -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) -LIBGTK3_CONF_OPTS += --enable-xrandr -LIBGTK3_DEPENDENCIES += xlib_libXrandr -else -LIBGTK3_CONF_OPTS += --disable-xrandr -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) -LIBGTK3_DEPENDENCIES += xlib_libXcursor -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) -LIBGTK3_CONF_OPTS += --enable-xfixes -LIBGTK3_DEPENDENCIES += xlib_libXfixes -else -LIBGTK3_CONF_OPTS += --disable-xfixes -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) -LIBGTK3_CONF_OPTS += --enable-xcomposite -LIBGTK3_DEPENDENCIES += xlib_libXcomposite -else -LIBGTK3_CONF_OPTS += --disable-xcomposite -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) -LIBGTK3_CONF_OPTS += --enable-xdamage -LIBGTK3_DEPENDENCIES += xlib_libXdamage -else -LIBGTK3_CONF_OPTS += --disable-xdamage -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y) -LIBGTK3_CONF_OPTS += --enable-xkb -LIBGTK3_DEPENDENCIES += xlib_libxkbfile -else -LIBGTK3_CONF_OPTS += --disable-xkb -endif - -ifeq ($(BR2_PACKAGE_CUPS),y) -LIBGTK3_CONF_OPTS += --enable-cups -LIBGTK3_CONF_ENV += ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config -LIBGTK3_DEPENDENCIES += cups -else -LIBGTK3_CONF_OPTS += --disable-cups -endif - -ifeq ($(BR2_PACKAGE_LIBGTK3_DEMO),y) -LIBGTK3_DEPENDENCIES += hicolor-icon-theme shared-mime-info -else -define LIBGTK3_REMOVE_DEMOS - $(RM) $(TARGET_DIR)/usr/bin/gtk3-demo \ - $(TARGET_DIR)/usr/bin/gtk3-demo-application -endef -LIBGTK3_POST_INSTALL_TARGET_HOOKS += LIBGTK3_REMOVE_DEMOS -endif - -ifeq ($(BR2_PACKAGE_LIBGTK3_TESTS),y) -LIBGTK3_CONF_OPTS += --enable-installed-tests -else -LIBGTK3_CONF_OPTS += --disable-installed-tests -endif - -define LIBGTK3_COMPILE_GLIB_SCHEMAS - $(HOST_DIR)/bin/glib-compile-schemas \ - $(TARGET_DIR)/usr/share/glib-2.0/schemas -endef - -LIBGTK3_POST_INSTALL_TARGET_HOOKS += LIBGTK3_COMPILE_GLIB_SCHEMAS - -# gtk+ >= 3.10 can build a native version of gtk-update-icon-cache if -# --enable-gtk2-dependency=no is set when invoking './configure'. -# -# Unfortunately, if the target toolchain is based on uClibc, the macro -# AM_GLIB_GNU_GETTEXT will detect the libintl built for the target and -# will add '-lintl' to the default list of libraries for the linker (used -# for both native and target builds). -# -# But no native version of libintl is available (the functions are -# provided by glibc). So gtk-update-icon-cache will not build. -# -# As a workaround, we build gtk-update-icon-cache on our own, set -# --enable-gtk2-dependency=yes and force './configure' to use our version. - -HOST_LIBGTK3_DEPENDENCIES = \ - host-libglib2 \ - host-libpng \ - host-gdk-pixbuf \ - host-pkgconf \ - host-librsvg - -HOST_LIBGTK3_CFLAGS = \ - `$(HOST_MAKE_ENV) $(PKG_CONFIG_HOST_BINARY) --cflags --libs gdk-pixbuf-2.0` \ - `$(HOST_MAKE_ENV) $(PKG_CONFIG_HOST_BINARY) --cflags --libs gio-2.0` - -define HOST_LIBGTK3_CONFIGURE_CMDS - echo "#define GETTEXT_PACKAGE \"gtk30\"" >> $(@D)/gtk/config.h - echo "#define HAVE_UNISTD_H 1" >> $(@D)/gtk/config.h - echo "#define HAVE_FTW_H 1" >> $(@D)/gtk/config.h -endef - -define HOST_LIBGTK3_BUILD_CMDS - $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \ - $(@D)/gtk/updateiconcache.c \ - $(HOST_LIBGTK3_CFLAGS) \ - -o $(@D)/gtk/gtk-update-icon-cache - $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \ - $(@D)/gtk/encodesymbolic.c \ - $(HOST_LIBGTK3_CFLAGS) \ - -o $(@D)/gtk/gtk-encode-symbolic-svg -endef - -define HOST_LIBGTK3_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/gtk/gtk-update-icon-cache \ - $(HOST_DIR)/bin/gtk-update-icon-cache - $(INSTALL) -D -m 0755 $(@D)/gtk/gtk-encode-symbolic-svg \ - $(HOST_DIR)/bin/gtk-encode-symbolic-svg -endef - -# Create icon-theme.cache for each of the icon directories/themes -# It's not strictly necessary but speeds up lookups -define LIBGTK3_UPDATE_ICON_CACHE - find $(TARGET_DIR)/usr/share/icons -maxdepth 1 -mindepth 1 -type d \ - -exec $(HOST_DIR)/bin/gtk-update-icon-cache {} \; -endef -LIBGTK3_TARGET_FINALIZE_HOOKS += LIBGTK3_UPDATE_ICON_CACHE - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libgudev/libgudev.hash b/buildroot-2021.05/package/libgudev/libgudev.hash deleted file mode 100644 index bee39460..00000000 --- a/buildroot-2021.05/package/libgudev/libgudev.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/GNOME/sources/libgudev/233/libgudev-233.sha256sum -sha256 587c4970eb23f4e2deee2cb1fb7838c94a78c578f41ce12cac0a3f4a80dabb03 libgudev-233.tar.xz - -# Hash for license file: -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/libgudev/libgudev.mk b/buildroot-2021.05/package/libgudev/libgudev.mk deleted file mode 100644 index 63d592f9..00000000 --- a/buildroot-2021.05/package/libgudev/libgudev.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libgudev -# -################################################################################ - -LIBGUDEV_VERSION = 233 -LIBGUDEV_SOURCE = libgudev-$(LIBGUDEV_VERSION).tar.xz -LIBGUDEV_SITE = http://ftp.gnome.org/pub/GNOME/sources/libgudev/$(LIBGUDEV_VERSION) -LIBGUDEV_INSTALL_STAGING = YES -LIBGUDEV_DEPENDENCIES = host-pkgconf udev libglib2 -LIBGUDEV_LICENSE = LGPL-2.1+ -LIBGUDEV_LICENSE_FILES = COPYING -LIBGUDEV_CONF_OPTS = --disable-umockdev - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libhdhomerun/libhdhomerun.hash b/buildroot-2021.05/package/libhdhomerun/libhdhomerun.hash deleted file mode 100644 index 8abce42e..00000000 --- a/buildroot-2021.05/package/libhdhomerun/libhdhomerun.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 b996389aa6f124a6d9dc1e75ec749e86d06102e2b3e7359d57163d4cc6e633f8 libhdhomerun_20210224.tgz -sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE diff --git a/buildroot-2021.05/package/libhdhomerun/libhdhomerun.mk b/buildroot-2021.05/package/libhdhomerun/libhdhomerun.mk deleted file mode 100644 index eaa60a06..00000000 --- a/buildroot-2021.05/package/libhdhomerun/libhdhomerun.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# libhdhomerun -# -################################################################################ - -LIBHDHOMERUN_VERSION = 20210224 -LIBHDHOMERUN_SOURCE = libhdhomerun_$(LIBHDHOMERUN_VERSION).tgz -LIBHDHOMERUN_SITE = http://download.silicondust.com/hdhomerun -LIBHDHOMERUN_LICENSE = LGPL-2.1+ -LIBHDHOMERUN_LICENSE_FILES = LICENSE -LIBHDHOMERUN_INSTALL_STAGING = YES - -define LIBHDHOMERUN_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ - CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) -endef - -define LIBHDHOMERUN_INSTALL_STAGING_CMDS - $(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \ - $(STAGING_DIR)/usr/lib/libhdhomerun.so - mkdir -p $(STAGING_DIR)/usr/include/libhdhomerun/ - $(INSTALL) -m 0644 $(@D)/*.h \ - $(STAGING_DIR)/usr/include/libhdhomerun/ -endef - -define LIBHDHOMERUN_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \ - $(TARGET_DIR)/usr/lib/libhdhomerun.so -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libhtp/libhtp.hash b/buildroot-2021.05/package/libhtp/libhtp.hash deleted file mode 100644 index 805cd4f1..00000000 --- a/buildroot-2021.05/package/libhtp/libhtp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 0f8296ce9db815bbedc1c8a0b738dd25146fdaf910995a8c5f8e147799902b7e libhtp-0.5.37.tar.gz -sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/buildroot-2021.05/package/libhtp/libhtp.mk b/buildroot-2021.05/package/libhtp/libhtp.mk deleted file mode 100644 index 75203460..00000000 --- a/buildroot-2021.05/package/libhtp/libhtp.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# libhtp -# -################################################################################ - -LIBHTP_VERSION = 0.5.37 -LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) -LIBHTP_LICENSE = BSD-3-Clause -LIBHTP_LICENSE_FILES = LICENSE -LIBHTP_DEPENDENCIES = \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ - zlib -LIBHTP_INSTALL_STAGING = YES -# From git -LIBHTP_AUTORECONF = YES - -# Let our gcc/wrapper handle SSP -LIBHTP_CONF_ENV = NO_STACK_PROTECTOR=true - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libiconv/libiconv.mk b/buildroot-2021.05/package/libiconv/libiconv.mk deleted file mode 100644 index ec79a5d7..00000000 --- a/buildroot-2021.05/package/libiconv/libiconv.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# libiconv -# -################################################################################ - -LIBICONV_VERSION = 1.15 -LIBICONV_SITE = $(BR2_GNU_MIRROR)/libiconv -LIBICONV_INSTALL_STAGING = YES -LIBICONV_LICENSE = GPL-3.0+ (iconv program), LGPL-2.0+ (library) -LIBICONV_LICENSE_FILES = COPYING COPYING.LIB - -ifeq ($(BR2_PACKAGE_LIBICONV_EXTRA_ENCODINGS),y) -LIBICONV_CONF_OPTS = --enable-extra-encodings -endif - -# Don't build the preloadable library, as we don't need it (it's only -# for LD_PRELOAD to replace glibc's iconv, but we never build libiconv -# when glibc is used). And it causes problems for static only builds. -define LIBICONV_DISABLE_PRELOAD - $(SED) '/preload/d' $(@D)/Makefile.in -endef -LIBICONV_PRE_CONFIGURE_HOOKS += LIBICONV_DISABLE_PRELOAD - -$(eval $(autotools-package)) - -# Configurations where the toolchain supports locales and the libiconv -# package is enabled are incorrect, because the toolchain already -# provides libiconv functionality, and having both confuses packages. -ifeq ($(BR2_PACKAGE_LIBICONV)$(BR2_ENABLE_LOCALE),yy) -$(error Libiconv should never be enabled when the toolchain supports locales. Report this failure to Buildroot developers) -endif diff --git a/buildroot-2021.05/package/libidn/libidn.hash b/buildroot-2021.05/package/libidn/libidn.hash deleted file mode 100644 index 0255a639..00000000 --- a/buildroot-2021.05/package/libidn/libidn.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally computed: -sha256 14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038 libidn-1.36.tar.gz - -# Hash for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYINGv3 -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING.LESSERv3 diff --git a/buildroot-2021.05/package/libidn/libidn.mk b/buildroot-2021.05/package/libidn/libidn.mk deleted file mode 100644 index c49bbe09..00000000 --- a/buildroot-2021.05/package/libidn/libidn.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# libidn -# -################################################################################ - -LIBIDN_VERSION = 1.36 -LIBIDN_SITE = $(BR2_GNU_MIRROR)/libidn -LIBIDN_INSTALL_STAGING = YES -LIBIDN_CONF_ENV = EMACS="no" MAKEINFO=true -LIBIDN_CONF_OPTS = --disable-java --enable-csharp=no -LIBIDN_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) $(if $(BR2_PACKAGE_LIBICONV),libiconv) -LIBIDN_LICENSE = GPL-2.0+, GPL-3.0+, LGPL-3.0+ -LIBIDN_LICENSE_FILES = COPYINGv2 COPYINGv3 COPYING.LESSERv3 -LIBIDN_CPE_ID_VENDOR = gnu - -define LIBIDN_REMOVE_BINARY - rm -f $(TARGET_DIR)/usr/bin/idn -endef - -ifneq ($(BR2_PACKAGE_LIBIDN_BINARY),y) -LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_BINARY -endif - -define LIBIDN_REMOVE_EMACS_STUFF - rm -rf $(TARGET_DIR)/usr/share/emacs -endef - -LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_EMACS_STUFF - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libidn2/libidn2.hash b/buildroot-2021.05/package/libidn2/libidn2.hash deleted file mode 100644 index 2d2fcdfd..00000000 --- a/buildroot-2021.05/package/libidn2/libidn2.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Calculated locally after checking signature -sha256 e1cb1db3d2e249a6a3eb6f0946777c2e892d5c5dc7bd91c74394fc3a01cab8b5 libidn2-2.3.0.tar.gz - -# Hash for license files: -sha256 73483f797a83373fca1b968c11785b98c4fc4803cdc7d3210811ca8b075d6d76 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2 -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING.LESSERv3 -sha256 01d621eef165cf4d3d3dbb737aa0699178d94c6f18cf87e9dde6db3ca7790f46 COPYING.unicode diff --git a/buildroot-2021.05/package/libidn2/libidn2.mk b/buildroot-2021.05/package/libidn2/libidn2.mk deleted file mode 100644 index 4db302db..00000000 --- a/buildroot-2021.05/package/libidn2/libidn2.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# libidn2 -# -################################################################################ - -LIBIDN2_VERSION = 2.3.0 -LIBIDN2_SITE = $(BR2_GNU_MIRROR)/libidn -LIBIDN2_LICENSE = GPL-2.0+ or LGPL-3.0+ (library) -LIBIDN2_LICENSE_FILES = COPYING COPYINGv2 COPYING.LESSERv3 COPYING.unicode -LIBIDN2_CPE_ID_VENDOR = gnu -LIBIDN2_DEPENDENCIES = \ - host-pkgconf \ - $(TARGET_NLS_DEPENDENCIES) \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) -LIBIDN2_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_LIBUNISTRING),y) -LIBIDN2_DEPENDENCIES += libunistring -endif - -ifeq ($(BR2_PACKAGE_LIBIDN2_BINARY),) -define LIBIDN2_REMOVE_BINARY - rm -f $(TARGET_DIR)/usr/bin/idn2 -endef -LIBIDN2_POST_INSTALL_TARGET_HOOKS += LIBIDN2_REMOVE_BINARY -else -LIBIDN2_LICENSE += , GPL-3.0+ (program) -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libiec61850/0001-use-poll.h-instead-of-sys-poll.h.patch b/buildroot-2021.05/package/libiec61850/0001-use-poll.h-instead-of-sys-poll.h.patch deleted file mode 100644 index a04473d2..00000000 --- a/buildroot-2021.05/package/libiec61850/0001-use-poll.h-instead-of-sys-poll.h.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 4cad505fc98240eb66eaabfae61a9694f8158dda Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Tue, 7 Apr 2020 20:58:37 +0200 -Subject: [PATCH] use instead of - -The manpage of poll(2) states that the prototype of poll is defined -in . Use that header file instead of to allow -compilation against musl-libc. - -Upstream status: Pending -https://github.com/mz-automation/libiec61850/pull/228 - -Signed-off-by: Romain Naour ---- - hal/ethernet/linux/ethernet_linux.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/hal/ethernet/linux/ethernet_linux.c b/hal/ethernet/linux/ethernet_linux.c -index c3ab2e2..9aa5c28 100644 ---- a/hal/ethernet/linux/ethernet_linux.c -+++ b/hal/ethernet/linux/ethernet_linux.c -@@ -23,7 +23,7 @@ - - #include - #include --#include -+#include - #include - #include - #include --- -2.21.1 - diff --git a/buildroot-2021.05/package/libiec61850/0002-serial_port_linux-Add-missing-include-sys-time.h.patch b/buildroot-2021.05/package/libiec61850/0002-serial_port_linux-Add-missing-include-sys-time.h.patch deleted file mode 100644 index e1b8ca15..00000000 --- a/buildroot-2021.05/package/libiec61850/0002-serial_port_linux-Add-missing-include-sys-time.h.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 661405eb6066b67dfe51d5ff9635e29f86bdd238 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Tue, 7 Apr 2020 21:02:54 +0200 -Subject: [PATCH] serial_port_linux: Add missing include sys/time.h - -POSIX says `struct timeval` is defined if is included. - -Adding this header allow to build against musl-libc. - -Upstream status: Pending -https://github.com/mz-automation/libiec61850/pull/228 - -Signed-off-by: Romain Naour ---- - hal/serial/linux/serial_port_linux.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/hal/serial/linux/serial_port_linux.c b/hal/serial/linux/serial_port_linux.c -index e6308c0..15e5794 100644 ---- a/hal/serial/linux/serial_port_linux.c -+++ b/hal/serial/linux/serial_port_linux.c -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - - #include "hal_serial.h" - #include "hal_time.h" --- -2.21.1 - diff --git a/buildroot-2021.05/package/libiec61850/0003-COTP-fixed-possible-heap-buffer-overflow-when-handling-message.patch b/buildroot-2021.05/package/libiec61850/0003-COTP-fixed-possible-heap-buffer-overflow-when-handling-message.patch deleted file mode 100644 index 88048555..00000000 --- a/buildroot-2021.05/package/libiec61850/0003-COTP-fixed-possible-heap-buffer-overflow-when-handling-message.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 033ab5b6488250c8c3b838f25a7cbc3e099230bb Mon Sep 17 00:00:00 2001 -From: Michael Zillgith -Date: Wed, 12 Aug 2020 07:25:37 +0200 -Subject: [PATCH] - COTP: fixed possible heap buffer overflow when handling - message with invalid (zero) value in length field (#250) - -[Retrieved from: -https://github.com/mz-automation/libiec61850/commit/033ab5b6488250c8c3b838f25a7cbc3e099230bb] -Signed-off-by: Fabrice Fontaine ---- - src/mms/iso_cotp/cotp.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/mms/iso_cotp/cotp.c b/src/mms/iso_cotp/cotp.c -index cbb34b36..8c37d262 100644 ---- a/src/mms/iso_cotp/cotp.c -+++ b/src/mms/iso_cotp/cotp.c -@@ -720,6 +720,9 @@ CotpConnection_readToTpktBuffer(CotpConnection* self) - goto exit_waiting; - } - -+ if (self->packetSize <= bufPos) -+ goto exit_error; -+ - readBytes = readFromSocket(self, buffer + bufPos, self->packetSize - bufPos); - - if (readBytes < 0) diff --git a/buildroot-2021.05/package/libiec61850/libiec61850.hash b/buildroot-2021.05/package/libiec61850/libiec61850.hash deleted file mode 100644 index 5739a5d8..00000000 --- a/buildroot-2021.05/package/libiec61850/libiec61850.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 d0630cd5b7ac67a2d286b0ad574ff1c9074c96be33b9d5a300cd69e89429abbe libiec61850-1.4.2.1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/libiec61850/libiec61850.mk b/buildroot-2021.05/package/libiec61850/libiec61850.mk deleted file mode 100644 index 4f82451e..00000000 --- a/buildroot-2021.05/package/libiec61850/libiec61850.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# libiec61850 -# -################################################################################ - -LIBIEC61850_VERSION = 1.4.2.1 -LIBIEC61850_SITE = $(call github,mz-automation,libiec61850,v$(LIBIEC61850_VERSION)) -LIBIEC61850_INSTALL_STAGING = YES -LIBIEC61850_LICENSE = GPL-3.0+ -LIBIEC61850_LICENSE_FILES = COPYING -LIBIEC61850_CPE_ID_VENDOR = mz-automation -LIBIEC61850_CONF_OPTS = -DBUILD_PYTHON_BINDINGS=OFF - -# 0003-COTP-fixed-possible-heap-buffer-overflow-when-handling-message.patch -LIBIEC61850_IGNORE_CVES += CVE-2020-15158 - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libiio/Config.in b/buildroot-2021.05/package/libiio/Config.in deleted file mode 100644 index 0d89331c..00000000 --- a/buildroot-2021.05/package/libiio/Config.in +++ /dev/null @@ -1,98 +0,0 @@ -config BR2_PACKAGE_LIBIIO - bool "libiio" - select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_XML_BACKEND - help - Libiio is a library to ease the development of software - interfacing Linux Industrial I/O (IIO) devices. - - http://wiki.analog.com/resources/tools-software/linux-software/libiio - -if BR2_PACKAGE_LIBIIO - -config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND - bool "Local backend" - default y - help - Enable the local backend of the library. - -config BR2_PACKAGE_LIBIIO_XML_BACKEND - bool "XML backend" - default y - select BR2_PACKAGE_LIBXML2 - help - Enable the XML backend of the library. - -config BR2_PACKAGE_LIBIIO_NETWORK_BACKEND - bool "Network backend" - default y - select BR2_PACKAGE_LIBIIO_XML_BACKEND - help - Enable the network backend of the library. - -config BR2_PACKAGE_LIBIIO_USB_BACKEND - bool "USB backend" - default y - depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBIIO_XML_BACKEND - select BR2_PACKAGE_LIBUSB - help - Enable the USB backend of the library. - -comment "The USB backend needs a toolchain w/ threads, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_LIBIIO_SERIAL_BACKEND - bool "Serial backend" - default y - select BR2_PACKAGE_LIBIIO_XML_BACKEND - select BR2_PACKAGE_LIBSERIALPORT - help - Enable the serial backend of the library. - -config BR2_PACKAGE_LIBIIO_IIOD - bool "IIO Daemon" - default y - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND - help - Install the IIO Daemon. - -config BR2_PACKAGE_LIBIIO_IIOD_USBD - bool "USB support in the IIO Daemon (FunctionFS)" - depends on BR2_PACKAGE_LIBIIO_IIOD - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2 - select BR2_PACKAGE_LIBAIO - help - Add support for USB through FunctionFS with IIOD. - -comment "USB support in the IIO Daemon requires headers >= 3.18" - depends on BR2_PACKAGE_LIBIIO_IIOD - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - -comment "IIO Daemon needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_LIBIIO_TESTS - bool "Install test programs" - depends on BR2_TOOLCHAIN_HAS_THREADS - help - Install the test programs (iio_info, iio_genxml, iio_readdev). - -comment "IIO test programs need a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP - bool "Install C# bindings" - depends on BR2_PACKAGE_MONO - help - Install the C# bindings. - -config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON - bool "Install Python bindings" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - help - Install the Python bindings. - -endif diff --git a/buildroot-2021.05/package/libiio/libiio.hash b/buildroot-2021.05/package/libiio/libiio.hash deleted file mode 100644 index dd85ffa6..00000000 --- a/buildroot-2021.05/package/libiio/libiio.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 81c414d5c47b715d9bc9275b9fabbfd9e9483e60c035f3001b5977932049595d libiio-0.19.tar.gz -sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b COPYING.txt diff --git a/buildroot-2021.05/package/libiio/libiio.mk b/buildroot-2021.05/package/libiio/libiio.mk deleted file mode 100644 index af5b27ba..00000000 --- a/buildroot-2021.05/package/libiio/libiio.mk +++ /dev/null @@ -1,97 +0,0 @@ -################################################################################ -# -# libiio -# -################################################################################ - -LIBIIO_VERSION = 0.19 -LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION)) -LIBIIO_INSTALL_STAGING = YES -LIBIIO_LICENSE = LGPL-2.1+ -LIBIIO_LICENSE_FILES = COPYING.txt - -LIBIIO_CONF_OPTS = -DENABLE_IPV6=ON \ - -DWITH_LOCAL_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_LOCAL_BACKEND),ON,OFF) \ - -DWITH_NETWORK_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_NETWORK_BACKEND),ON,OFF) \ - -DWITH_MATLAB_BINDINGS_API=OFF \ - -DMATLAB_BINDINGS=OFF \ - -DINSTALL_UDEV_RULE=$(if $(BR2_PACKAGE_HAS_UDEV),ON,OFF) \ - -DWITH_TESTS=$(if $(BR2_PACKAGE_LIBIIO_TESTS),ON,OFF) \ - -DWITH_DOC=OFF - -ifeq ($(BR2_PACKAGE_LIBIIO_XML_BACKEND),y) -LIBIIO_DEPENDENCIES += libxml2 -LIBIIO_CONF_OPTS += -DWITH_XML_BACKEND=ON -else -LIBIIO_CONF_OPTS += -DWITH_XML_BACKEND=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBIIO_USB_BACKEND),y) -LIBIIO_DEPENDENCIES += libusb -LIBIIO_CONF_OPTS += -DWITH_USB_BACKEND=ON -else -LIBIIO_CONF_OPTS += -DWITH_USB_BACKEND=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBIIO_SERIAL_BACKEND),y) -LIBIIO_DEPENDENCIES += libserialport -LIBIIO_CONF_OPTS += -DWITH_SERIAL_BACKEND=ON -else -LIBIIO_CONF_OPTS += -DWITH_SERIAL_BACKEND=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBIIO_IIOD),y) -LIBIIO_DEPENDENCIES += host-flex host-bison -LIBIIO_CONF_OPTS += -DWITH_IIOD=ON -else -LIBIIO_CONF_OPTS += -DWITH_IIOD=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBIIO_IIOD_USBD),y) -LIBIIO_DEPENDENCIES += libaio -LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=ON -else -LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=OFF -endif - -# Avahi support in libiio requires avahi-client, which needs avahi-daemon and dbus -ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy) -LIBIIO_DEPENDENCIES += avahi -endif - -ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y) -ifeq ($(BR2_PACKAGE_PYTHON),y) -LIBIIO_DEPENDENCIES += python -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIBIIO_DEPENDENCIES += python3 -endif -LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=ON -else -LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP),y) -define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET - $(HOST_DIR)/bin/gacutil -root $(TARGET_DIR)/usr/lib -i \ - $(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll -endef -define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_STAGING - $(HOST_DIR)/bin/gacutil -root $(STAGING_DIR)/usr/lib -i \ - $(STAGING_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll -endef -LIBIIO_POST_INSTALL_TARGET_HOOKS += LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET -LIBIIO_POST_INSTALL_STAGING_HOOKS += LIBIIO_INSTALL_CSHARP_BINDINGS_TO_STAGING -LIBIIO_DEPENDENCIES += mono -LIBIIO_CONF_OPTS += -DCSHARP_BINDINGS=ON -else -LIBIIO_CONF_OPTS += -DCSHARP_BINDINGS=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBIIO_IIOD),y) -define LIBIIO_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/libiio/S99iiod \ - $(TARGET_DIR)/etc/init.d/S99iiod -endef -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libimxvpuapi/libimxvpuapi.mk b/buildroot-2021.05/package/libimxvpuapi/libimxvpuapi.mk deleted file mode 100644 index a2a3b211..00000000 --- a/buildroot-2021.05/package/libimxvpuapi/libimxvpuapi.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libimxvpuapi -# -################################################################################ - -LIBIMXVPUAPI_VERSION = 0.10.3 -LIBIMXVPUAPI_SITE = $(call github,Freescale,libimxvpuapi,$(LIBIMXVPUAPI_VERSION)) -LIBIMXVPUAPI_LICENSE = LGPL-2.1+ -LIBIMXVPUAPI_LICENSE_FILES = LICENSE -LIBIMXVPUAPI_DEPENDENCIES = host-pkgconf host-python imx-vpu -LIBIMXVPUAPI_INSTALL_STAGING = YES -LIBIMXVPUAPI_NEEDS_EXTERNAL_WAF = YES - -$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/libinput/libinput.hash b/buildroot-2021.05/package/libinput/libinput.hash deleted file mode 100644 index bf60fe61..00000000 --- a/buildroot-2021.05/package/libinput/libinput.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2021-April/041809.html -sha256 b822263086b6588b9a9a153be97dea409f63927fb67b9a241748e76f222a5be1 libinput-1.17.2.tar.xz -sha512 b8953ad483648d5629d56c4dc226d4906693b15da5ba4027627a51ec35ea65b0603c09056b52ed2025df1f7a877669a5b7482c025e0b37003fc676563bd05263 libinput-1.17.2.tar.xz - -# License files -sha256 70d5b1dfe5a9c50a1f2ea91b1c2b1c85d876c5c92339585edbb85cf69e945e14 COPYING diff --git a/buildroot-2021.05/package/libinput/libinput.mk b/buildroot-2021.05/package/libinput/libinput.mk deleted file mode 100644 index 619e0cc1..00000000 --- a/buildroot-2021.05/package/libinput/libinput.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# libinput -# -################################################################################ - -LIBINPUT_VERSION = 1.17.2 -LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz -LIBINPUT_SITE = http://www.freedesktop.org/software/libinput -LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev -LIBINPUT_INSTALL_STAGING = YES -LIBINPUT_LICENSE = MIT -LIBINPUT_LICENSE_FILES = COPYING -# Tests need fork, so just disable them everywhere. -LIBINPUT_CONF_OPTS = -Dtests=false -Dlibwacom=false -Ddocumentation=false - -ifeq ($(BR2_PACKAGE_LIBGTK3),y) -LIBINPUT_CONF_OPTS += -Ddebug-gui=true -LIBINPUT_DEPENDENCIES += libgtk3 -else -LIBINPUT_CONF_OPTS += -Ddebug-gui=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch b/buildroot-2021.05/package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch deleted file mode 100644 index cfd7d545..00000000 --- a/buildroot-2021.05/package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 46660112b76664473cc98b8ae6c863fd27c27d2d Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Fri, 29 Aug 2014 23:40:59 +0200 -Subject: [PATCH 1/1] cmake: handle static library and find required thread - module - -Signed-off-by: Samuel Martin ---- - CMakeLists.txt | 2 ++ - src/CMakeLists.txt | 4 +++- - 2 files changed, 5 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 79f644c..7779a2a 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -6,7 +6,9 @@ enable_testing() - # use local module (for Findlibusb-1.0.cmake) - set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") - -+find_package(Threads REQUIRED) - find_package(libusb-1.0 REQUIRED) -+ - if (NOT LIBUSB_1_FOUND) - message(FATAL_ERROR "libusb-1.0 not installed. (try apt-get install libusb-1.0-0-dev)") - endif (NOT LIBUSB_1_FOUND) -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 149d198..0597ccd 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -18,8 +18,10 @@ set (iqrf_sources - - include_directories ("${LIBUSB_1_INCLUDE_DIRS}") - --add_library(iqrf SHARED ${iqrf_sources} ${iqrf_headers}) -+add_library(iqrf ${iqrf_sources} ${iqrf_headers}) -+ - target_link_libraries(iqrf ${LIBUSB_1_LIBRARIES}) -+target_link_libraries(iqrf ${CMAKE_THREAD_LIBS_INIT}) - - set_target_properties(iqrf PROPERTIES - VERSION "${iqrf_version_major}.${iqrf_version_minor}" --- -2.1.0 - diff --git a/buildroot-2021.05/package/libite/libite.hash b/buildroot-2021.05/package/libite/libite.hash deleted file mode 100644 index 1a553d2b..00000000 --- a/buildroot-2021.05/package/libite/libite.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://github.com/troglobit/libite/releases/download/v2.2.0/libite-2.2.0.tar.xz.md5 -md5 8533ab27d0d4a7c745f11925907795a9 libite-2.2.0.tar.xz - -# Locally calculated -sha256 3fdeb48ea3d9220f91111ed7a68e1e68edfc70346d0108a49bab73a47a7dd761 libite-2.2.0.tar.xz -sha256 a8a7506c64ce46a58c17838b0f678f8c2567d71869402f97d19460ddec4882f5 LICENSE -sha256 89053891d46d04a21d4a492f68038703e179986baffa458201810f4222b57427 src/chomp.c -sha256 a7d29c148e057fae11a87febc3a51970a26433c35a08fc710be689394442d32d src/pidfile.c diff --git a/buildroot-2021.05/package/libite/libite.mk b/buildroot-2021.05/package/libite/libite.mk deleted file mode 100644 index 69a90d71..00000000 --- a/buildroot-2021.05/package/libite/libite.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# libite -# -################################################################################ - -LIBITE_VERSION = 2.2.0 -LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz -LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) -LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause -LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c -LIBITE_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libjpeg/libjpeg.hash b/buildroot-2021.05/package/libjpeg/libjpeg.hash deleted file mode 100644 index 4f0a677d..00000000 --- a/buildroot-2021.05/package/libjpeg/libjpeg.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed hash -sha256 99cb50e48a4556bc571dadd27931955ff458aae32f68c4d9c39d624693f69c32 jpegsrc.v9d.tar.gz -sha256 3dc4e4a145c907a96bd6a0e40be3f722fecf061951909143cdff5365cba9c78c README diff --git a/buildroot-2021.05/package/libjpeg/libjpeg.mk b/buildroot-2021.05/package/libjpeg/libjpeg.mk deleted file mode 100644 index 6b55aba7..00000000 --- a/buildroot-2021.05/package/libjpeg/libjpeg.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# libjpeg -# -################################################################################ - -LIBJPEG_VERSION = 9d -# 9d was released 2020-01-12, but the tarball was replaced upstream circa -# 2021-03, causing hash mismatch. Until there is a new version released, -# use our cached copy from s.b.o. -#LIBJPEG_SITE = http://www.ijg.org/files -LIBJPEG_SITE = http://sources.buildroot.org/libjpeg -LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz -LIBJPEG_LICENSE = IJG -LIBJPEG_LICENSE_FILES = README -LIBJPEG_INSTALL_STAGING = YES -LIBJPEG_CPE_ID_VENDOR = ijg -LIBJPEG_PROVIDES = jpeg - -define LIBJPEG_REMOVE_USELESS_TOOLS - rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom wrjpgcom) -endef - -LIBJPEG_POST_INSTALL_TARGET_HOOKS += LIBJPEG_REMOVE_USELESS_TOOLS - -define LIBJPEG_INSTALL_STAGING_PC - $(INSTALL) -D -m 0644 package/libjpeg/libjpeg.pc.in \ - $(STAGING_DIR)/usr/lib/pkgconfig/libjpeg.pc - version=`sed -e '/^PACKAGE_VERSION/!d;s/PACKAGE_VERSION = \(.*\)/\1/' $(@D)/Makefile` ; \ - $(SED) "s/@PACKAGE_VERSION@/$${version}/" $(STAGING_DIR)/usr/lib/pkgconfig/libjpeg.pc -endef - -LIBJPEG_POST_INSTALL_STAGING_HOOKS += LIBJPEG_INSTALL_STAGING_PC - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libjson/libjson.mk b/buildroot-2021.05/package/libjson/libjson.mk deleted file mode 100644 index d04ddc40..00000000 --- a/buildroot-2021.05/package/libjson/libjson.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# libjson -# -################################################################################ - -LIBJSON_VERSION = 7.6.1 -LIBJSON_SITE = http://downloads.sourceforge.net/project/libjson -LIBJSON_SOURCE = libjson_$(LIBJSON_VERSION).zip -LIBJSON_INSTALL_STAGING = YES -LIBJSON_LICENSE = BSD-2-Clause -LIBJSON_LICENSE_FILES = License.txt - -LIBJSON_CXXFLAGS = $(TARGET_CFLAGS) -DNDEBUG - -ifeq ($(BR2_STATIC_LIBS),y) -LIBJSON_MAKE_OPTS += SHARED=0 -else -LIBJSON_MAKE_OPTS += SHARED=1 -LIBJSON_CXXFLAGS += -fPIC -endif - -LIBJSON_MAKE_OPTS += BUILD_TYPE= CXXFLAGS="$(LIBJSON_CXXFLAGS)" - -define LIBJSON_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(LIBJSON_DL_DIR)/$(LIBJSON_SOURCE) - mv $(@D)/libjson/* $(@D) - $(RM) -r $(@D)/libjson - $(SED) '/ldconfig/d' $(@D)/makefile -endef - -define LIBJSON_BUILD_CMDS - mkdir -p $(@D)/Objects_$(if $(BR2_STATIC_LIBS),static,shared) \ - $(@D)/_internal/Source/Dependencies - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - $(LIBJSON_MAKE_OPTS) -C $(@D) -endef - -define LIBJSON_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - $(LIBJSON_MAKE_OPTS) prefix=$(TARGET_DIR)/usr install -C $(@D) -endef - -define LIBJSON_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - $(LIBJSON_MAKE_OPTS) prefix=$(STAGING_DIR)/usr install -C $(@D) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libkrb5/Config.in b/buildroot-2021.05/package/libkrb5/Config.in deleted file mode 100644 index 2e24c872..00000000 --- a/buildroot-2021.05/package/libkrb5/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_LIBKRB5 - bool "libkrb5" - # needs fork() - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - help - Kerberos is a system for authenticating users and services - on a network. Kerberos is a trusted third-party service. - That means that there is a third party (the Kerberos server) - that is trusted by all the entities on the network (users - and services, usually called "principals"). This is the MIT - reference implementation of Kerberos V5. - - https://web.mit.edu/kerberos/ - -comment "libkrb5 needs a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libkrb5/libkrb5.hash b/buildroot-2021.05/package/libkrb5/libkrb5.hash deleted file mode 100644 index e5b24a3f..00000000 --- a/buildroot-2021.05/package/libkrb5/libkrb5.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 e61783c292b5efd9afb45c555a80dd267ac67eebabca42185362bee6c4fbd719 krb5-1.18.3.tar.gz - -# Hash for license file: -sha256 b7a5f14a8719bce5e49a761998aa55438fc890fb40f71228d6a49546f6d5690d NOTICE diff --git a/buildroot-2021.05/package/libkrb5/libkrb5.mk b/buildroot-2021.05/package/libkrb5/libkrb5.mk deleted file mode 100644 index e4f3fa41..00000000 --- a/buildroot-2021.05/package/libkrb5/libkrb5.mk +++ /dev/null @@ -1,62 +0,0 @@ -################################################################################ -# -# libkrb5 -# -################################################################################ - -LIBKRB5_VERSION_MAJOR = 1.18 -LIBKRB5_VERSION = $(LIBKRB5_VERSION_MAJOR).3 -LIBKRB5_SITE = https://web.mit.edu/kerberos/dist/krb5/$(LIBKRB5_VERSION_MAJOR) -LIBKRB5_SOURCE = krb5-$(LIBKRB5_VERSION).tar.gz -LIBKRB5_SUBDIR = src -LIBKRB5_LICENSE = MIT -LIBKRB5_LICENSE_FILES = NOTICE -LIBKRB5_CPE_ID_VENDOR = mit -LIBKRB5_CPE_ID_PRODUCT = kerberos_5 -LIBKRB5_DEPENDENCIES = host-bison $(TARGET_NLS_DEPENDENCIES) -LIBKRB5_INSTALL_STAGING = YES - -# The configure script uses AC_TRY_RUN tests to check for those values, -# which doesn't work in a cross-compilation scenario. Therefore, -# we feed the configure script with the correct answer for those tests -LIBKRB5_CONF_ENV = \ - ac_cv_printf_positional=yes \ - ac_cv_func_regcomp=yes \ - krb5_cv_attr_constructor_destructor=yes,yes \ - LIBS=$(TARGET_NLS_LIBS) - -# Never use the host packages -LIBKRB5_CONF_OPTS = \ - --without-system-db \ - --without-system-et \ - --without-system-ss \ - --without-system-verto \ - --without-tcl \ - --disable-rpath - -ifeq ($(BR2_PACKAGE_OPENLDAP),y) -LIBKRB5_CONF_OPTS += --with-ldap -LIBKRB5_DEPENDENCIES += openldap -else -LIBKRB5_CONF_OPTS += --without-ldap -endif - -ifeq ($(BR2_PACKAGE_LIBEDIT),y) -LIBKRB5_CONF_OPTS += --with-libedit -LIBKRB5_DEPENDENCIES += host-pkgconf libedit -else -LIBKRB5_CONF_OPTS += --without-libedit -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -LIBKRB5_CONF_OPTS += --with-readline -LIBKRB5_DEPENDENCIES += readline -else -LIBKRB5_CONF_OPTS += --without-readline -endif - -ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -LIBKRB5_CONF_OPTS += --disable-thread-support -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libksba/libksba.hash b/buildroot-2021.05/package/libksba/libksba.hash deleted file mode 100644 index c8c9d6bd..00000000 --- a/buildroot-2021.05/package/libksba/libksba.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 ae4af129216b2d7fdea0b5bf2a788cd458a79c983bb09a43f4d525cc87aba0ba libksba-1.5.0.tar.bz2 - -# Hash for license files: -sha256 4d7ff8486176da695f3c81da2ac7ce1b9e5331e0a1667d9ebfe44057088a4220 AUTHORS -sha256 6197b98c6bf69838c624809c509d84333de1bc847155168c0e84527446a27076 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 -sha256 0abbff814cd00e2b0b6d08395af2b419c1a92026c4b4adacbb65ccda45fa58cf COPYING.GPLv3 -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING.LGPLv3 diff --git a/buildroot-2021.05/package/libksba/libksba.mk b/buildroot-2021.05/package/libksba/libksba.mk deleted file mode 100644 index bb02391a..00000000 --- a/buildroot-2021.05/package/libksba/libksba.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# libksba -# -################################################################################ - -LIBKSBA_VERSION = 1.5.0 -LIBKSBA_SOURCE = libksba-$(LIBKSBA_VERSION).tar.bz2 -LIBKSBA_SITE = ftp://ftp.gnupg.org/gcrypt/libksba -LIBKSBA_LICENSE = LGPL-3.0+ or GPL-2.0+ (library, headers), GPL-3.0+ (manual, tests, build system) -LIBKSBA_LICENSE_FILES = AUTHORS COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 -LIBKSBA_CPE_ID_VENDOR = libksba_project -LIBKSBA_INSTALL_STAGING = YES -LIBKSBA_DEPENDENCIES = libgpg-error -LIBKSBA_CONF_OPTS = --with-gpg-error-prefix=$(STAGING_DIR)/usr - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libldns/libldns.hash b/buildroot-2021.05/package/libldns/libldns.hash deleted file mode 100644 index c8fb39d4..00000000 --- a/buildroot-2021.05/package/libldns/libldns.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From http://www.nlnetlabs.nl/downloads/ldns/ldns-1.7.1.tar.gz.sha1 -sha1 d075a08972c0f573101fb4a6250471daaa53cb3e ldns-1.7.1.tar.gz -# From http://www.nlnetlabs.nl/downloads/ldns/ldns-1.7.1.tar.gz.sha256 -sha256 8ac84c16bdca60e710eea75782356f3ac3b55680d40e1530d7cea474ac208229 ldns-1.7.1.tar.gz - -# Hash for license file: -sha256 9e0b1505c358d1a7c79555ee8bd1acbe2985dbc74dd81f3697cebf2161e922e6 LICENSE diff --git a/buildroot-2021.05/package/libldns/libldns.mk b/buildroot-2021.05/package/libldns/libldns.mk deleted file mode 100644 index 9c248bbc..00000000 --- a/buildroot-2021.05/package/libldns/libldns.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# libldns -# -################################################################################ - -LIBLDNS_VERSION = 1.7.1 -LIBLDNS_SOURCE = ldns-$(LIBLDNS_VERSION).tar.gz -LIBLDNS_SITE = http://www.nlnetlabs.nl/downloads/ldns -LIBLDNS_LICENSE = BSD-3-Clause -LIBLDNS_LICENSE_FILES = LICENSE -LIBLDNS_CPE_ID_VENDOR = nlnetlabs -LIBLDNS_CPE_ID_PRODUCT = ldns -LIBLDNS_INSTALL_STAGING = YES -LIBLDNS_DEPENDENCIES = openssl -# --disable-dane-verify can be removed after openssl bump to 1.1.x -LIBLDNS_CONF_OPTS = \ - --with-ssl=$(STAGING_DIR)/usr \ - --enable-dane \ - --disable-dane-verify \ - --enable-ecdsa \ - --enable-gost \ - --enable-sha2 \ - --without-examples \ - --without-p5-dns-ldns \ - --without-pyldns \ - --without-pyldnsx - -ifeq ($(BR2_STATIC_LIBS),y) -LIBLDNS_DEPENDENCIES += host-pkgconf -# missing -lz breaks configure, add it using pkgconf -LIBLDNS_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`" -endif - -# the linktest make target fails with static linking, and we are only -# interested in the lib target anyway -LIBLDNS_MAKE_OPTS = lib - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/liblinear/0001-blas-don-t-overwrite-ar-options.patch b/buildroot-2021.05/package/liblinear/0001-blas-don-t-overwrite-ar-options.patch deleted file mode 100644 index 0c13e35c..00000000 --- a/buildroot-2021.05/package/liblinear/0001-blas-don-t-overwrite-ar-options.patch +++ /dev/null @@ -1,36 +0,0 @@ -From cae4c3b80fee0f3637d70f6d33946888c8105637 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sat, 13 Dec 2014 17:16:58 +0100 -Subject: [PATCH 1/1] blas: don't overwrite ar options - -ar's rcv options get lost when AR is passed on -the command line. - -Signed-off-by: Romain Naour -Signed-off-by: Fabrice Fontaine ---- - blas/Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/blas/Makefile b/blas/Makefile -index 895fd24..78cec9a 100644 ---- a/blas/Makefile -+++ b/blas/Makefile -@@ -1,4 +1,4 @@ --AR = ar rcv -+AR = ar - RANLIB = ranlib - - HEADERS = blas.h blasp.h -@@ -8,7 +8,7 @@ CFLAGS = $(OPTFLAGS) - FFLAGS = $(OPTFLAGS) - - blas: $(FILES) $(HEADERS) -- $(AR) blas.a $(FILES) -+ $(AR) rcv blas.a $(FILES) - $(RANLIB) blas.a - - clean: --- -1.9.3 - diff --git a/buildroot-2021.05/package/liblinear/0002-build-static-lib.patch b/buildroot-2021.05/package/liblinear/0002-build-static-lib.patch deleted file mode 100644 index 98657d3c..00000000 --- a/buildroot-2021.05/package/liblinear/0002-build-static-lib.patch +++ /dev/null @@ -1,18 +0,0 @@ -Makefile: add a rule to build a static library - -Signed-off-by: "Yann E. MORIN" -diff -durN liblinear-1.96.orig/Makefile liblinear-1.96/Makefile ---- liblinear-1.96.orig/Makefile 2014-11-15 07:50:23.000000000 +0100 -+++ liblinear-1.96/Makefile 2014-12-14 00:23:00.135893956 +0100 -@@ -16,6 +16,11 @@ - fi; \ - $(CXX) $${SHARED_LIB_FLAG} linear.o tron.o blas/blas.a -o liblinear.so.$(SHVER) - -+# Keeping blas/blas.a as a pre-requisite, to ensure all .o files are built -+static-lib: linear.o tron.o blas/blas.a -+ $(AR) rcv liblinear.a linear.o tron.o blas/*.o -+ $(RANLIB) liblinear.a -+ - train: tron.o linear.o train.c blas/blas.a - $(CXX) $(CFLAGS) -o train train.c tron.o linear.o $(LIBS) - diff --git a/buildroot-2021.05/package/liblinear/liblinear.hash b/buildroot-2021.05/package/liblinear/liblinear.hash deleted file mode 100644 index 4430d299..00000000 --- a/buildroot-2021.05/package/liblinear/liblinear.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 881c7039c6cf93119c781fb56263de91617b3eca8c3951f2c19a3797de95c6ac liblinear-2.30.tar.gz -sha256 c366abf1cb3a003d8c6e6d9c111a23c432db1d001294f88d479b70b60d7c0af2 COPYRIGHT diff --git a/buildroot-2021.05/package/liblinear/liblinear.mk b/buildroot-2021.05/package/liblinear/liblinear.mk deleted file mode 100644 index 2d0fd001..00000000 --- a/buildroot-2021.05/package/liblinear/liblinear.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# liblinear -# -################################################################################ - -LIBLINEAR_VERSION = 2.30 -LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear -LIBLINEAR_LICENSE = BSD-3-Clause -LIBLINEAR_LICENSE_FILES = COPYRIGHT -LIBLINEAR_INSTALL_STAGING = YES -LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -# $1: destination directory -define LIBLINEAR_INSTALL_SHARED - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.3 $(1)/usr/lib/liblinear.so.3 - ln -sf liblinear.so.3 $(1)/usr/lib/liblinear.so -endef -LIBLINEAR_CFLAGS += -fPIC -endif - -ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -# $1: destination directory -define LIBLINEAR_INSTALL_STATIC - $(INSTALL) -m 0644 -D $(@D)/liblinear.a $(1)/usr/lib/liblinear.a -endef -endif - -define LIBLINEAR_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(LIBLINEAR_CFLAGS)" -C $(@D) \ - $(if $(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),lib) \ - $(if $(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),static-lib) -endef - -define LIBLINEAR_INSTALL_STAGING_CMDS - $(INSTALL) -m 0644 -D $(@D)/linear.h $(STAGING_DIR)/usr/include/linear.h - $(call LIBLINEAR_INSTALL_SHARED,$(STAGING_DIR)) - $(call LIBLINEAR_INSTALL_STATIC,$(STAGING_DIR)) -endef - -define LIBLINEAR_INSTALL_TARGET_CMDS - $(call LIBLINEAR_INSTALL_SHARED,$(TARGET_DIR)) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/liblockfile/0001-install.patch b/buildroot-2021.05/package/liblockfile/0001-install.patch deleted file mode 100644 index bfa197c6..00000000 --- a/buildroot-2021.05/package/liblockfile/0001-install.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ur liblockfile-1.06.1/Makefile.in liblockfile-1.06.1-patched/Makefile.in ---- liblockfile-1.06.1/Makefile.in 2001-03-16 22:08:33.000000000 -0600 -+++ liblockfile-1.06.1-patched/Makefile.in 2007-04-11 07:18:38.000000000 -0500 -@@ -60,11 +60,7 @@ - - install_common: - install -m 644 lockfile.h maillock.h $(ROOT)$(includedir) -- if [ "$(MAILGROUP)" != "" ]; then\ -- install -g $(MAILGROUP) -m 2755 dotlockfile $(ROOT)$(bindir);\ -- else \ -- install -g root -m 755 dotlockfile $(ROOT)$(bindir); \ -- fi -+ install -m 2755 dotlockfile $(ROOT)$(bindir);\ - install -m 644 *.1 $(ROOT)$(mandir)/man1 - install -m 644 *.3 $(ROOT)$(mandir)/man3 - diff --git a/buildroot-2021.05/package/liblockfile/Config.in b/buildroot-2021.05/package/liblockfile/Config.in deleted file mode 100644 index 83ffea86..00000000 --- a/buildroot-2021.05/package/liblockfile/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_LIBLOCKFILE - bool "liblockfile" - help - NFS-safe locking library. - - https://github.com/miquels/liblockfile diff --git a/buildroot-2021.05/package/liblockfile/liblockfile.hash b/buildroot-2021.05/package/liblockfile/liblockfile.hash deleted file mode 100644 index 881ad992..00000000 --- a/buildroot-2021.05/package/liblockfile/liblockfile.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://snapshot.debian.org/archive/debian/20151026T153523Z/pool/main/libl/liblockfile/liblockfile_1.09-6.dsc -sha256 16979eba05396365e1d6af7100431ae9d32f9bc063930d1de66298a0695f1b7f liblockfile_1.09.orig.tar.gz -sha256 d45eacb7c637c16d03c777c55989d98da494ae9584a0783fe6dbf0db60fa290f liblockfile_1.09-6.debian.tar.bz2 -# Locally computed -sha256 5fffcc11f94a05a7cff02ff792407737eb1cba840767cc1a71b67fbb19695dd3 COPYRIGHT diff --git a/buildroot-2021.05/package/liblockfile/liblockfile.mk b/buildroot-2021.05/package/liblockfile/liblockfile.mk deleted file mode 100644 index 07108682..00000000 --- a/buildroot-2021.05/package/liblockfile/liblockfile.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# liblockfile -# -################################################################################ - -LIBLOCKFILE_VERSION = 1.09 -LIBLOCKFILE_SOURCE = liblockfile_$(LIBLOCKFILE_VERSION).orig.tar.gz -LIBLOCKFILE_SITE = http://snapshot.debian.org/archive/debian/20151026T153523Z/pool/main/libl/liblockfile -LIBLOCKFILE_PATCH = liblockfile_$(LIBLOCKFILE_VERSION)-6.debian.tar.bz2 - -LIBLOCKFILE_LICENSE = LGPL-2.0+, GPL-2.0+ (dotlockfile) -LIBLOCKFILE_LICENSE_FILES = COPYRIGHT - -LIBLOCKFILE_INSTALL_STAGING = YES -LIBLOCKFILE_CONF_OPTS = --mandir=/usr/share/man - -define LIBLOCKFILE_INSTALL_STAGING_CMDS - mkdir -p $(addprefix $(STAGING_DIR)/usr/share/man/man,1 3) - rm -f $(STAGING_DIR)/usr/lib/liblockfile.so - $(TARGET_MAKE_ENV) $(MAKE) -C $(LIBLOCKFILE_DIR) ROOT=$(STAGING_DIR) install - ln -sf liblockfile.so $(STAGING_DIR)/usr/lib/liblockfile.so.1 -endef - -define LIBLOCKFILE_INSTALL_TARGET_CMDS - cp -a $(STAGING_DIR)/usr/lib/liblockfile.so* $(TARGET_DIR)/usr/lib -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/liblog4c-localtime/0001-log4c.m4-fix-underquoted-definition-of-AM_PATH_LOG4C.patch b/buildroot-2021.05/package/liblog4c-localtime/0001-log4c.m4-fix-underquoted-definition-of-AM_PATH_LOG4C.patch deleted file mode 100644 index 1fe0798a..00000000 --- a/buildroot-2021.05/package/liblog4c-localtime/0001-log4c.m4-fix-underquoted-definition-of-AM_PATH_LOG4C.patch +++ /dev/null @@ -1,34 +0,0 @@ -From b7290560082e91673431de79e1fa318c9fd90261 Mon Sep 17 00:00:00 2001 -From: Danomi Manchego -Date: Sat, 25 Oct 2014 19:42:38 +0200 -Subject: [PATCH 1/5] log4c.m4: fix "underquoted definition of AM_PATH_LOG4C" - warning - -When autoreconfiguring liblog4c-localtime, there is a warning from -autoconf caused by an underquoted definition of AM_PATH_LOG4C. This -patch fixes this warning. - -Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 - -Signed-off-by: Danomi Manchego -Signed-off-by: Thomas Petazzoni ---- - log4c.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/log4c.m4 b/log4c.m4 -index 551a90d..96424c0 100644 ---- a/log4c.m4 -+++ b/log4c.m4 -@@ -4,7 +4,7 @@ - dnl AM_PATH_LOG4C([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) - dnl Test for LOG4C, and define LOG4C_CFLAGS and LOG4C_LIBS - dnl --AC_DEFUN(AM_PATH_LOG4C, -+AC_DEFUN([AM_PATH_LOG4C], - [dnl - dnl Get the cflags and libraries from the log4c-config script - dnl --- -2.0.0 - diff --git a/buildroot-2021.05/package/liblog4c-localtime/0002-Fix-linking-error-without-pthread.patch b/buildroot-2021.05/package/liblog4c-localtime/0002-Fix-linking-error-without-pthread.patch deleted file mode 100644 index 5b679e38..00000000 --- a/buildroot-2021.05/package/liblog4c-localtime/0002-Fix-linking-error-without-pthread.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 435b28cd90973cc03a533e75e90a46cd9f197dff Mon Sep 17 00:00:00 2001 -From: Peter Korsgaard -Date: Sat, 25 Oct 2014 19:44:01 +0200 -Subject: [PATCH 2/5] Fix linking error without pthread - -The rollingfile functionality only gets built if pthread support is -available, but a call to these functions from log4c_fini() was outside -the #if WITH_ROLLINGFILE conditional, causing linker errors when the -library is used. - -Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 - -Signed-off-by: Peter Korsgaard -Signed-off-by: Thomas Petazzoni ---- - src/log4c/init.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/log4c/init.c b/src/log4c/init.c -index 99883ea..7dd9eb4 100644 ---- a/src/log4c/init.c -+++ b/src/log4c/init.c -@@ -267,10 +267,12 @@ extern int log4c_fini(void) - log4c_layout_factory = NULL; - } - -+#ifdef WITH_ROLLINGFILE - if (log4c_rollingpolicy_factory) { - sd_factory_delete(log4c_rollingpolicy_factory); - log4c_rollingpolicy_factory = NULL; - } -+#endif - - #ifdef __SD_DEBUG__ - if( getenv("SD_DEBUG")){ --- -2.0.0 - diff --git a/buildroot-2021.05/package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch b/buildroot-2021.05/package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch deleted file mode 100644 index 4b9a45db..00000000 --- a/buildroot-2021.05/package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch +++ /dev/null @@ -1,69 +0,0 @@ -From acbaee34bcb1881db97969dd2c411446f32ca4cc Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 25 Oct 2014 19:45:33 +0200 -Subject: [PATCH 3/5] Fix debug mode build with uClibc - -When --enable-debug is passed, liblog4c-localtime wants to use -. It takes the precaution of testing if __GLIBC__ is -defined. But unfortunately, the uClibc C library pretends to be -compatible with glibc by defining __GLIBC__, but it doesn't provide -mcheck.h. - -To better support this situation, we add an AC_CHECK_HEADERS() check -on mcheck.h, and then use HAVE_MCHECK_H were appropriate. - -Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 - -Signed-off-by: Thomas Petazzoni ---- - configure.in | 2 +- - src/log4c/init.c | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/configure.in b/configure.in -index 612ccbe..dbf11e9 100644 ---- a/configure.in -+++ b/configure.in -@@ -115,7 +115,7 @@ AM_CONDITIONAL(TEST, test x$enable_test = xyes) - AC_HEADER_STDC - AC_CHECK_HEADERS([fcntl.h inttypes.h langinfo.h limits.h stddef.h stdint.h \ - stdlib.h string.h sys/time.h syslog.h unistd.h stdarg.h varargs.h getopt.h \ --pthread.h]) -+pthread.h mcheck.h]) - - # Checks for typedefs, structures, and compiler characteristics. - AC_C_CONST -diff --git a/src/log4c/init.c b/src/log4c/init.c -index 7dd9eb4..4b88210 100644 ---- a/src/log4c/init.c -+++ b/src/log4c/init.c -@@ -35,7 +35,7 @@ static const char version[] = "$Id$"; - #include - #include - --#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) -+#if defined(__LOG4C_DEBUG__) && defined(HAVE_MCHECK_H) - #include - #endif - -@@ -100,7 +100,7 @@ extern int log4c_init(void) - sd_debug("log4c_init["); - - /* activate GLIBC allocation debugging */ --#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) -+#if defined(__LOG4C_DEBUG__) && defined(HAVE_MCHECK_H) - mtrace(); - #endif - -@@ -280,7 +280,7 @@ extern int log4c_fini(void) - log4c_dump_all_instances(stderr); - } - #endif --#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) -+#if defined(__LOG4C_DEBUG__) && defined(HAVE_MCHECK_H) - muntrace(); - #endif - --- -2.0.0 - diff --git a/buildroot-2021.05/package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch b/buildroot-2021.05/package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch deleted file mode 100644 index 479eb398..00000000 --- a/buildroot-2021.05/package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch +++ /dev/null @@ -1,30 +0,0 @@ -From a2553c203d8b8257dea1d2e2139b220935587144 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 25 Oct 2014 20:03:25 +0200 -Subject: [PATCH 4/5] Add AC_CONFIG_MACRO_DIR to configure.in - -Without AC_CONFIG_MACRO_DIR, when autoreconfiguring the package, it -cannot find AM_PATH_EXPAT which is defined in config/expat.m4. - -Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 - -Signed-off-by: Thomas Petazzoni ---- - configure.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/configure.in b/configure.in -index dbf11e9..769b204 100644 ---- a/configure.in -+++ b/configure.in -@@ -5,6 +5,7 @@ AC_PREREQ(2.57) - AC_INIT - AC_CONFIG_SRCDIR([configure.in]) - AC_CONFIG_AUX_DIR(config) -+AC_CONFIG_MACRO_DIR([config]) - AM_CONFIG_HEADER(src/config.h) - - LOG4C_MAJOR_VERSION=1 --- -2.0.0 - diff --git a/buildroot-2021.05/package/liblog4c-localtime/0005-Fix-C-support.patch b/buildroot-2021.05/package/liblog4c-localtime/0005-Fix-C-support.patch deleted file mode 100644 index 6ba25c36..00000000 --- a/buildroot-2021.05/package/liblog4c-localtime/0005-Fix-C-support.patch +++ /dev/null @@ -1,61 +0,0 @@ -From bdccec4c374a93480a7fd303d15e20810a5d5b7e Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 25 Oct 2014 21:22:40 +0200 -Subject: [PATCH 5/5] Fix C++ support - -Autoreconf fails with the following message: - -tests/log4c/Makefile.am: error: C++ source seen but 'CXX' is undefined - -So this commit adds the AC_PROG_CXX macro to configure.in, and ensures -that the C++ test is only built if a C++ compiler is available. - -Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 - -Signed-off-by: Thomas Petazzoni ---- - configure.in | 3 +++ - tests/log4c/Makefile.am | 6 +++++- - 2 files changed, 8 insertions(+), 1 deletion(-) - -diff --git a/configure.in b/configure.in -index 769b204..ce75800 100644 ---- a/configure.in -+++ b/configure.in -@@ -38,6 +38,7 @@ AC_DEFINE(_GNU_SOURCE,1,"POSIXandGNU extensions") - #. - AC_PROG_YACC - AC_PROG_CC -+AC_PROG_CXX - AC_PROG_CPP - AM_PROG_LEX - AC_PROG_AWK -@@ -47,6 +48,8 @@ AC_PROG_MAKE_SET - AC_PROG_RANLIB - AC_PROG_LIBTOOL - -+AM_CONDITIONAL([USE_CXX], [test "$ac_cv_prog_CXX" != "no"]) -+ - # platform idioms - case "$host" in - *-hp-hpux*) -diff --git a/tests/log4c/Makefile.am b/tests/log4c/Makefile.am -index f647f27..b1b4ed6 100644 ---- a/tests/log4c/Makefile.am -+++ b/tests/log4c/Makefile.am -@@ -3,7 +3,11 @@ INCLUDES = \ - -DSRCDIR="\"$(srcdir)\"" - - noinst_PROGRAMS = test_category test_rc bench bench_fwrite \ -- test_stream2 test_layout_r cpp_compile_test -+ test_stream2 test_layout_r -+ -+if USE_CXX -+noinst_PROGRAMS += cpp_compile_test -+endif - - if WITH_ROLLINGFILE - noinst_PROGRAMS += test_rollingfile_appender test_rollingfile_appender_mt --- -2.0.0 - diff --git a/buildroot-2021.05/package/libloki/libloki.mk b/buildroot-2021.05/package/libloki/libloki.mk deleted file mode 100644 index 7564239f..00000000 --- a/buildroot-2021.05/package/libloki/libloki.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# libloki -# -################################################################################ - -LIBLOKI_VERSION = 0.1.7 -LIBLOKI_SOURCE = loki-$(LIBLOKI_VERSION).tar.bz2 -LIBLOKI_SITE = https://sourceforge.net/projects/loki-lib/files/Loki/Loki%20$(LIBLOKI_VERSION) -LIBLOKI_LICENSE = MIT -LIBLOKI_INSTALL_STAGING = YES - -ifeq ($(BR2_STATIC_LIBS),y) -LIBLOKI_BUILD_TARGETS += build-static -LIBLOKI_INSTALL_TARGETS += install-static -else ifeq ($(BR2_SHARED_LIBS),y) -LIBLOKI_BUILD_TARGETS += build-shared -LIBLOKI_INSTALL_TARGETS += install-shared -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -LIBLOKI_BUILD_TARGETS += build-static build-shared -LIBLOKI_INSTALL_TARGETS += install-static install-shared -endif - -define LIBLOKI_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - -C $(@D) $(LIBLOKI_BUILD_TARGETS) -endef - -define LIBLOKI_INSTALL_STAGING_CMDS - $(MAKE) -C $(@D)/src DESTDIR=$(STAGING_DIR) $(LIBLOKI_INSTALL_TARGETS) - $(MAKE) -C $(@D)/include DESTDIR=$(STAGING_DIR) install -endef - -define LIBLOKI_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) $(LIBLOKI_INSTALL_TARGETS) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libmaxminddb/libmaxminddb.hash b/buildroot-2021.05/package/libmaxminddb/libmaxminddb.hash deleted file mode 100644 index 4bdc05f3..00000000 --- a/buildroot-2021.05/package/libmaxminddb/libmaxminddb.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 5237076d250a5f7c297e331c35a433eeaaf0dc205e070e4db353c9ba10f340a2 libmaxminddb-1.5.2.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2021.05/package/libmaxminddb/libmaxminddb.mk b/buildroot-2021.05/package/libmaxminddb/libmaxminddb.mk deleted file mode 100644 index c022acf7..00000000 --- a/buildroot-2021.05/package/libmaxminddb/libmaxminddb.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# libmaxminddb -# -################################################################################ - -LIBMAXMINDDB_VERSION = 1.5.2 -LIBMAXMINDDB_SITE = \ - https://github.com/maxmind/libmaxminddb/releases/download/$(LIBMAXMINDDB_VERSION) -LIBMAXMINDDB_INSTALL_STAGING = YES -LIBMAXMINDDB_LICENSE = Apache-2.0 -LIBMAXMINDDB_LICENSE_FILES = LICENSE -LIBMAXMINDDB_CPE_ID_VENDOR = maxmind -LIBMAXMINDDB_CONF_OPTS = --disable-tests - -# mmdblookup binary depends on pthreads -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -LIBMAXMINDDB_CONF_OPTS += --enable-binaries -else -LIBMAXMINDDB_CONF_OPTS += --disable-binaries -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmbim/libmbim.hash b/buildroot-2021.05/package/libmbim/libmbim.hash deleted file mode 100644 index b6a82e36..00000000 --- a/buildroot-2021.05/package/libmbim/libmbim.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 760465caaa1ccd699c14290e9791da456d5300dd11ebf4c1486151033e875dfd libmbim-1.24.6.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/libmbim/libmbim.mk b/buildroot-2021.05/package/libmbim/libmbim.mk deleted file mode 100644 index 17511138..00000000 --- a/buildroot-2021.05/package/libmbim/libmbim.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# libmbim -# -################################################################################ - -LIBMBIM_VERSION = 1.24.6 -LIBMBIM_SITE = https://www.freedesktop.org/software/libmbim -LIBMBIM_SOURCE = libmbim-$(LIBMBIM_VERSION).tar.xz -LIBMBIM_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs) -LIBMBIM_LICENSE_FILES = COPYING COPYING.LIB -LIBMBIM_CPE_ID_VENDOR = freedesktop -LIBMBIM_INSTALL_STAGING = YES - -LIBMBIM_DEPENDENCIES = libglib2 - -# we don't want -Werror -LIBMBIM_CONF_OPTS = --enable-more-warnings=no - -# if libgudev available, request udev support -ifeq ($(BR2_PACKAGE_LIBGUDEV),y) -LIBMBIM_DEPENDENCIES += libgudev -LIBMBIM_CONF_OPTS += --with-udev -else -LIBMBIM_CONF_OPTS += --without-udev -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmcrypt/0001-nocxx.patch b/buildroot-2021.05/package/libmcrypt/0001-nocxx.patch deleted file mode 100644 index b1c28713..00000000 --- a/buildroot-2021.05/package/libmcrypt/0001-nocxx.patch +++ /dev/null @@ -1,15 +0,0 @@ -libmcrypt doesn't use C++ so remove the check. - -Signed-off-by: Gustavo Zacarias - -diff -Nura libmcrypt-2.5.8.orig/configure.in libmcrypt-2.5.8/configure.in ---- libmcrypt-2.5.8.orig/configure.in 2013-01-07 12:20:44.332200669 -0300 -+++ libmcrypt-2.5.8/configure.in 2013-01-07 12:20:50.405390565 -0300 -@@ -19,7 +19,6 @@ - - AC_PROG_MAKE_SET - --AC_PROG_CXX - AC_PROG_CC - AC_PROG_CPP - AC_PROG_INSTALL diff --git a/buildroot-2021.05/package/libmcrypt/Config.in b/buildroot-2021.05/package/libmcrypt/Config.in deleted file mode 100644 index 784d2c2a..00000000 --- a/buildroot-2021.05/package/libmcrypt/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_LIBMCRYPT - bool "libmcrypt" - help - libmcrypt is a library that provides uniform interface to - access several encryption algorithms. - - http://mcrypt.sourceforge.net/ diff --git a/buildroot-2021.05/package/libmcrypt/libmcrypt.hash b/buildroot-2021.05/package/libmcrypt/libmcrypt.hash deleted file mode 100644 index 30b57522..00000000 --- a/buildroot-2021.05/package/libmcrypt/libmcrypt.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 e4eb6c074bbab168ac47b947c195ff8cef9d51a211cdd18ca9c9ef34d27a373e libmcrypt-2.5.8.tar.gz -sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB diff --git a/buildroot-2021.05/package/libmcrypt/libmcrypt.mk b/buildroot-2021.05/package/libmcrypt/libmcrypt.mk deleted file mode 100644 index e93f0136..00000000 --- a/buildroot-2021.05/package/libmcrypt/libmcrypt.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libmcrypt -# -################################################################################ - -LIBMCRYPT_VERSION = 2.5.8 -LIBMCRYPT_SITE = http://downloads.sourceforge.net/project/mcrypt/Libmcrypt/$(LIBMCRYPT_VERSION) -LIBMCRYPT_AUTORECONF = YES -LIBMCRYPT_INSTALL_STAGING = YES -LIBMCRYPT_LICENSE = LGPL-2.1 -LIBMCRYPT_LICENSE_FILES = COPYING.LIB -LIBMCRYPT_CONFIG_SCRIPTS = libmcrypt-config - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmdbx/libmdbx.hash b/buildroot-2021.05/package/libmdbx/libmdbx.hash deleted file mode 100644 index fcfb4a67..00000000 --- a/buildroot-2021.05/package/libmdbx/libmdbx.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hashes from: https://github.com/erthink/libmdbx/releases/ -sha256 d12bc7189b746beaa85514fcd1fcf26b957bb8feadb11662a0e20c4e79410d3f libmdbx-amalgamated-0.9.3.tar.gz - -# Locally calculated -sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/buildroot-2021.05/package/libmdbx/libmdbx.mk b/buildroot-2021.05/package/libmdbx/libmdbx.mk deleted file mode 100644 index baf5193e..00000000 --- a/buildroot-2021.05/package/libmdbx/libmdbx.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# libmdbx -# -################################################################################ - -LIBMDBX_VERSION = 0.9.3 -LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.gz -LIBMDBX_SITE = https://github.com/erthink/libmdbx/releases/download/v$(LIBMDBX_VERSION) -LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO -LIBMDBX_LICENSE = OLDAP-2.8 -LIBMDBX_LICENSE_FILES = LICENSE -LIBMDBX_REDISTRIBUTE = YES -LIBMDBX_STRIP_COMPONENTS = 0 -LIBMDBX_INSTALL_STAGING = YES - -# Set CMAKE_BUILD_TYPE to Release to remove -Werror and avoid a build failure -# with glibc < 2.12 -LIBMDBX_CONF_OPTS = \ - -DCMAKE_BUILD_TYPE=Release \ - -DMDBX_INSTALL_MANPAGES=OFF \ - -DBUILD_FOR_NATIVE_CPU=OFF \ - -DMDBX_BUILD_CXX=$(if $(BR2_PACKAGE_LIBMDBX_CXX),ON,OFF) \ - -DMDBX_BUILD_TOOLS=$(if $(BR2_PACKAGE_LIBMDBX_TOOLS),ON,OFF) - -ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -LIBMDBX_CONF_OPTS += -DMDBX_INSTALL_STATIC=ON -else -LIBMDBX_CONF_OPTS += -DMDBX_INSTALL_STATIC=OFF -endif - -ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -LIBMDBX_CONF_OPTS += \ - -DMDBX_BUILD_SHARED_LIBRARY=ON \ - -DMDBX_LINK_TOOLS_NONSTATIC=ON -else -LIBMDBX_CONF_OPTS += \ - -DMDBX_BUILD_SHARED_LIBRARY=OFF \ - -DMDBX_LINK_TOOLS_NONSTATIC=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libmediaart/Config.in b/buildroot-2021.05/package/libmediaart/Config.in deleted file mode 100644 index c11d6f49..00000000 --- a/buildroot-2021.05/package/libmediaart/Config.in +++ /dev/null @@ -1,43 +0,0 @@ -comment "libmediaart needs a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_LIBMEDIAART - bool "libmediaart" - depends on BR2_USE_MMU # glib2 - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - select BR2_PACKAGE_LIBGLIB2 - help - Library tasked with managing, extracting and handling media - art caches - - https://github.com/GNOME/libmediaart - -if BR2_PACKAGE_LIBMEDIAART - -choice - prompt "media art backend" - default BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE - -config BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE - bool "none" - help - With no backend, libmediaart will not be able to process MP3 - album art. - -config BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF - bool "gdk-pixbuf" - select BR2_PACKAGE_GDK_PIXBUF - -config BR2_PACKAGE_LIBMEDIAART_BACKEND_QT - bool "Qt" - depends on BR2_PACKAGE_QT5 - select BR2_PACKAGE_QT5BASE_GUI - -comment "Qt backend depends on Qt5" - depends on !BR2_PACKAGE_QT5 - -endchoice - -endif # BR2_PACKAGE_LIBMEDIAART diff --git a/buildroot-2021.05/package/libmediaart/libmediaart.hash b/buildroot-2021.05/package/libmediaart/libmediaart.hash deleted file mode 100644 index d51c0562..00000000 --- a/buildroot-2021.05/package/libmediaart/libmediaart.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: http://ftp.gnome.org/pub/gnome/sources/libmediaart/1.9/libmediaart-1.9.4.sha256sum: -sha256 a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d libmediaart-1.9.4.tar.xz - -# Locally computed: -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER diff --git a/buildroot-2021.05/package/libmediaart/libmediaart.mk b/buildroot-2021.05/package/libmediaart/libmediaart.mk deleted file mode 100644 index 0d110a43..00000000 --- a/buildroot-2021.05/package/libmediaart/libmediaart.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# libmediaart -# -################################################################################ - -LIBMEDIAART_VERSION_MAJOR = 1.9 -LIBMEDIAART_VERSION = $(LIBMEDIAART_VERSION_MAJOR).4 -LIBMEDIAART_SOURCE = libmediaart-$(LIBMEDIAART_VERSION).tar.xz -LIBMEDIAART_SITE = \ - http://ftp.gnome.org/pub/gnome/sources/libmediaart/$(LIBMEDIAART_VERSION_MAJOR) -LIBMEDIAART_LICENSE = LGPL-2.1+ -LIBMEDIAART_LICENSE_FILES = COPYING.LESSER -LIBMEDIAART_INSTALL_STAGING = YES -LIBMEDIAART_DEPENDENCIES = libglib2 -LIBMEDIAART_CONF_OPTS = --disable-unit-tests - -ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF),y) -LIBMEDIAART_DEPENDENCIES += gdk-pixbuf -LIBMEDIAART_CONF_OPTS += \ - --enable-gdkpixbuf \ - --disable-qt -else ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_QT),y) -# qt5 needs c++11 (since qt-5.7) -LIBMEDIAART_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" -LIBMEDIAART_DEPENDENCIES += qt5base -LIBMEDIAART_CONF_OPTS += \ - --disable-gdkpixbuf \ - --enable-qt -else ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE),y) -LIBMEDIAART_CONF_OPTS += \ - --disable-gdkpixbuf \ - --disable-qt -endif - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -LIBMEDIAART_CONF_OPTS += --enable-introspection -LIBMEDIAART_DEPENDENCIES += gobject-introspection -else -LIBMEDIAART_CONF_OPTS += --disable-introspection -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmicrohttpd/libmicrohttpd.hash b/buildroot-2021.05/package/libmicrohttpd/libmicrohttpd.hash deleted file mode 100644 index e92032a2..00000000 --- a/buildroot-2021.05/package/libmicrohttpd/libmicrohttpd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 0ae825f8e0d7f41201fd44a0df1cf454c1cb0bc50fe9d59c26552260264c2ff8 libmicrohttpd-0.9.72.tar.gz -sha256 7399547209438c93f9b90297954698773d4846cea44cde5ca982c84c45952a3b COPYING diff --git a/buildroot-2021.05/package/libmicrohttpd/libmicrohttpd.mk b/buildroot-2021.05/package/libmicrohttpd/libmicrohttpd.mk deleted file mode 100644 index 6eee597c..00000000 --- a/buildroot-2021.05/package/libmicrohttpd/libmicrohttpd.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# libmicrohttpd -# -################################################################################ - -LIBMICROHTTPD_VERSION = 0.9.72 -LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd -LIBMICROHTTPD_LICENSE_FILES = COPYING -LIBMICROHTTPD_CPE_ID_VENDOR = gnu -LIBMICROHTTPD_INSTALL_STAGING = YES -LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples -LIBMICROHTTPD_CFLAGS = $(TARGET_CFLAGS) -std=c99 - -LIBMICROHTTPD_CONF_ENV += CFLAGS="$(LIBMICROHTTPD_CFLAGS)" - -ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y) -LIBMICROHTTPD_LICENSE = LGPL-2.1+ -LIBMICROHTTPD_DEPENDENCIES += host-pkgconf gnutls -LIBMICROHTTPD_CONF_OPTS += --enable-https --with-gnutls=$(STAGING_DIR)/usr -else -LIBMICROHTTPD_LICENSE = LGPL-2.1+ or eCos -LIBMICROHTTPD_CONF_OPTS += --disable-https -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -LIBMICROHTTPD_CONF_OPTS += --with-threads=auto -else -LIBMICROHTTPD_CONF_OPTS += --with-threads=none -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libminiupnpc/libminiupnpc.mk b/buildroot-2021.05/package/libminiupnpc/libminiupnpc.mk deleted file mode 100644 index 551a6767..00000000 --- a/buildroot-2021.05/package/libminiupnpc/libminiupnpc.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# libminiupnpc -# -################################################################################ - -LIBMINIUPNPC_VERSION_MAJOR = 2.1 -LIBMINIUPNPC_VERSION_MINOR = 20201016 -LIBMINIUPNPC_VERSION = $(LIBMINIUPNPC_VERSION_MAJOR).$(LIBMINIUPNPC_VERSION_MINOR) -LIBMINIUPNPC_SOURCE = miniupnpc-$(LIBMINIUPNPC_VERSION).tar.gz -LIBMINIUPNPC_SITE = http://miniupnp.free.fr/files -LIBMINIUPNPC_INSTALL_STAGING = YES -LIBMINIUPNPC_LICENSE = BSD-3-Clause -LIBMINIUPNPC_LICENSE_FILES = LICENSE -LIBMINIUPNPC_CPE_ID_VENDOR = miniupnp_project -LIBMINIUPNPC_CPE_ID_PRODUCT = miniupnpc -LIBMINIUPNPC_CPE_ID_VERSION = $(LIBMINIUPNPC_VERSION_MAJOR) -LIBMINIUPNPC_CPE_ID_UPDATE = $(LIBMINIUPNPC_VERSION_MINOR) - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libmodbus/libmodbus.hash b/buildroot-2021.05/package/libmodbus/libmodbus.hash deleted file mode 100644 index 2931f3f3..00000000 --- a/buildroot-2021.05/package/libmodbus/libmodbus.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 d7d9fa94a16edb094e5fdf5d87ae17a0dc3f3e3d687fead81835d9572cf87c16 libmodbus-3.1.6.tar.gz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER diff --git a/buildroot-2021.05/package/libmodbus/libmodbus.mk b/buildroot-2021.05/package/libmodbus/libmodbus.mk deleted file mode 100644 index 52eb318a..00000000 --- a/buildroot-2021.05/package/libmodbus/libmodbus.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libmodbus -# -################################################################################ - -LIBMODBUS_VERSION = 3.1.6 -LIBMODBUS_SITE = http://libmodbus.org/releases -LIBMODBUS_LICENSE = LGPL-2.1+ -LIBMODBUS_LICENSE_FILES = COPYING.LESSER -LIBMODBUS_CPE_ID_VENDOR = libmodbus -LIBMODBUS_INSTALL_STAGING = YES -LIBMODBUS_CONF_OPTS = --without-documentation --disable-tests - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmodsecurity/0001-Fail-when-CANONICAL_HOST-cannot-be-determined.patch b/buildroot-2021.05/package/libmodsecurity/0001-Fail-when-CANONICAL_HOST-cannot-be-determined.patch deleted file mode 100644 index ab00a14e..00000000 --- a/buildroot-2021.05/package/libmodsecurity/0001-Fail-when-CANONICAL_HOST-cannot-be-determined.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 0832208360aab69fbaec76225db67801840a33fe Mon Sep 17 00:00:00 2001 -From: Frank Vanbever -Date: Fri, 10 Jan 2020 11:14:43 +0100 -Subject: [PATCH] Fail when CANONICAL_HOST cannot be determined - -When the CANONICAL_HOST is unknown the configure script exits -with exit code 0 even though no makefile was produced. - -Upstream: https://github.com/SpiderLabs/ModSecurity/pull/2235 - -Signed-off-by: Frank Vanbever ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 95e48843..5e6971f4 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -193,7 +193,7 @@ case $host in - ;; - *) - echo "Unknown CANONICAL_HOST $host" -- exit -+ exit 1 - ;; - esac - --- -2.20.1 - diff --git a/buildroot-2021.05/package/libmodsecurity/0002-test-for-uClinux-in-configure-script.patch b/buildroot-2021.05/package/libmodsecurity/0002-test-for-uClinux-in-configure-script.patch deleted file mode 100644 index ccd96fea..00000000 --- a/buildroot-2021.05/package/libmodsecurity/0002-test-for-uClinux-in-configure-script.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 13c505e30474c919ed9ae552e459769c456da21e Mon Sep 17 00:00:00 2001 -From: Frank Vanbever -Date: Fri, 10 Jan 2020 11:24:43 +0100 -Subject: [PATCH] test for uClinux in configure script - -Upstream: https://github.com/SpiderLabs/ModSecurity/pull/2235 - -Signed-off-by: Frank Vanbever ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 5e6971f4..51d38071 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -156,7 +156,7 @@ case $host in - AC_DEFINE([MACOSX], [1], [Define if the operating system is Macintosh OSX]) - PLATFORM="MacOSX" - ;; -- *-*-linux*) -+ *-*-linux* | *-*uclinux*) - echo "Checking platform... Identified as Linux" - AC_DEFINE([LINUX], [1], [Define if the operating system is LINUX]) - PLATFORM="Linux" --- -2.20.1 - diff --git a/buildroot-2021.05/package/libmodsecurity/Config.in b/buildroot-2021.05/package/libmodsecurity/Config.in deleted file mode 100644 index ea58c6d0..00000000 --- a/buildroot-2021.05/package/libmodsecurity/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_LIBMODSECURITY - bool "libmodsecurity" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_PCRE - help - Libmodsecurity is one component of the ModSecurity - v3 project. The library codebase serves as an - interface to ModSecurity Connectors taking in web - traffic and applying traditional ModSecurity - processing. In general, it provides the capability - to load/interpret rules written in the ModSecurity - SecRules format and apply them to HTTP content - provided by your application via Connectors. - - https://github.com/SpiderLabs/ModSecurity - -comment "libmodsecurity needs a toolchain w/ C++, dynamic library, threads" - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libmodsecurity/libmodsecurity.hash b/buildroot-2021.05/package/libmodsecurity/libmodsecurity.hash deleted file mode 100644 index ddce3ef9..00000000 --- a/buildroot-2021.05/package/libmodsecurity/libmodsecurity.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/SpiderLabs/ModSecurity/releases/download/v3.0.4/modsecurity-v3.0.4.tar.gz.sha256 -sha256 b4231177dd80b4e076b228e57d498670113b69d445bab86db25f65346c24db22 modsecurity-v3.0.4.tar.gz -# Localy calculated -sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE diff --git a/buildroot-2021.05/package/libmodsecurity/libmodsecurity.mk b/buildroot-2021.05/package/libmodsecurity/libmodsecurity.mk deleted file mode 100644 index a84cd27b..00000000 --- a/buildroot-2021.05/package/libmodsecurity/libmodsecurity.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# libmodsecurity -# -################################################################################ - -LIBMODSECURITY_VERSION = 3.0.4 -LIBMODSECURITY_SOURCE = modsecurity-v$(LIBMODSECURITY_VERSION).tar.gz -LIBMODSECURITY_SITE = https://github.com/SpiderLabs/ModSecurity/releases/download/v$(LIBMODSECURITY_VERSION) -LIBMODSECURITY_INSTALL_STAGING = YES -LIBMODSECURITY_LICENSE = Apache-2.0 -LIBMODSECURITY_LICENSE_FILES = LICENSE -LIBMODSECURITY_CPE_ID_VENDOR = trustwave -LIBMODSECURITY_CPE_ID_PRODUCT = modsecurity -# 0002-test-for-uClinux-in-configure-script.patch -LIBMODSECURITY_AUTORECONF = YES -# libinjection uses AC_CHECK_FILE, not available in cross-compile -LIBMODSECURITY_CONF_ENV = \ - ac_cv_file_others_libinjection_src_libinjection_html5_c=yes - -LIBMODSECURITY_DEPENDENCIES = pcre -LIBMODSECURITY_CONF_OPTS = \ - --with-pcre="$(STAGING_DIR)/usr/bin/pcre-config" \ - --disable-examples \ - --without-lmdb \ - --without-ssdeep \ - --without-lua \ - --without-yajl - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -LIBMODSECURITY_DEPENDENCIES += libxml2 -LIBMODSECURITY_CONF_OPTS += --with-libxml="$(STAGING_DIR)/usr/bin/xml2-config" -else -LIBMODSECURITY_CONF_OPTS += --without-libxml -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -LIBMODSECURITY_DEPENDENCIES += libcurl -LIBMODSECURITY_CONF_OPTS += --with-curl="$(STAGING_DIR)/usr/bin/curl-config" -else -LIBMODSECURITY_CONF_OPTS += --without-curl -endif - -ifeq ($(BR2_PACKAGE_GEOIP),y) -LIBMODSECURITY_DEPENDENCIES += geoip -LIBMODSECURITY_CONF_OPTS += --with-geoip -else -LIBMODSECURITY_CONF_OPTS += --without-geoip -endif - -ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y) -LIBMODSECURITY_DEPENDENCIES += libmaxminddb -LIBMODSECURITY_CONF_OPTS += --with-maxmind -else -LIBMODSECURITY_CONF_OPTS += --without-maxmind -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmpdclient/libmpdclient.hash b/buildroot-2021.05/package/libmpdclient/libmpdclient.hash deleted file mode 100644 index 882a588a..00000000 --- a/buildroot-2021.05/package/libmpdclient/libmpdclient.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Verified against http://www.musicpd.org/download/libmpdclient/2/libmpdclient-2.19.tar.xz.sig, sha256 locally computed -sha256 158aad4c2278ab08e76a3f2b0166c99b39fae00ee17231bd225c5a36e977a189 libmpdclient-2.19.tar.xz -sha256 9574c3b0a9c31723cc3d5f32af4655a015fff5ec6ec8115b7906cd7d9623cf32 COPYING diff --git a/buildroot-2021.05/package/libmpdclient/libmpdclient.mk b/buildroot-2021.05/package/libmpdclient/libmpdclient.mk deleted file mode 100644 index a880980a..00000000 --- a/buildroot-2021.05/package/libmpdclient/libmpdclient.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libmpdclient -# -################################################################################ - -LIBMPDCLIENT_VERSION_MAJOR = 2 -LIBMPDCLIENT_VERSION = $(LIBMPDCLIENT_VERSION_MAJOR).19 -LIBMPDCLIENT_SOURCE = libmpdclient-$(LIBMPDCLIENT_VERSION).tar.xz -LIBMPDCLIENT_SITE = http://www.musicpd.org/download/libmpdclient/$(LIBMPDCLIENT_VERSION_MAJOR) -LIBMPDCLIENT_INSTALL_STAGING = YES -LIBMPDCLIENT_LICENSE = BSD-3-Clause -LIBMPDCLIENT_LICENSE_FILES = COPYING - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libndp/0001-ndptool.c-Fix-musl-build.patch b/buildroot-2021.05/package/libndp/0001-ndptool.c-Fix-musl-build.patch deleted file mode 100644 index 547598c6..00000000 --- a/buildroot-2021.05/package/libndp/0001-ndptool.c-Fix-musl-build.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 561f80b9a848be923f37bf1afedbecf92da3b2e7 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sat, 30 Jan 2016 16:36:39 +0100 -Subject: [PATCH 1/1] ndptool.c: Fix musl build - -Fixes a build issue with the musl C library -http://autobuild.buildroot.net/results/d42/d42bebe51bbec38f131840b6bbefdc162f0ad194/build-end.log - -Patch sent upstream: https://github.com/jpirko/libndp/pull/7 - -Signed-off-by: Bernd Kuhls ---- - utils/ndptool.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/utils/ndptool.c b/utils/ndptool.c -index 04ec4e1..c6ef48c 100644 ---- a/utils/ndptool.c -+++ b/utils/ndptool.c -@@ -27,6 +27,7 @@ - #include - #include - #include -+#include - #include - - enum verbosity_level { --- -2.7.0.rc3 - diff --git a/buildroot-2021.05/package/libndp/libndp.hash b/buildroot-2021.05/package/libndp/libndp.hash deleted file mode 100644 index 8d4b6ef5..00000000 --- a/buildroot-2021.05/package/libndp/libndp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 44be73630ee785ed9f571f9aaaeba0e1d375fa337fd841270034c813b5b0e6fd libndp-1.7.tar.gz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/libndp/libndp.mk b/buildroot-2021.05/package/libndp/libndp.mk deleted file mode 100644 index eb1f7f0c..00000000 --- a/buildroot-2021.05/package/libndp/libndp.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libndp -# -################################################################################ - -LIBNDP_VERSION = 1.7 -LIBNDP_SITE = $(call github,jpirko,libndp,v$(LIBNDP_VERSION)) -LIBNDP_LICENSE = LGPL-2.1+ -LIBNDP_LICENSE_FILES = COPYING -LIBNDP_CPE_ID_VENDOR = libndp -LIBNDP_AUTORECONF = YES -LIBNDP_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnetconf2/Config.in b/buildroot-2021.05/package/libnetconf2/Config.in deleted file mode 100644 index 0a735b5e..00000000 --- a/buildroot-2021.05/package/libnetconf2/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_LIBNETCONF2 - bool "libnetconf2" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU - select BR2_PACKAGE_LIBYANG - help - libnetconf2 is a NETCONF library in C intended for building - NETCONF clients and servers. - - https://github.com/CESNET/libnetconf2 - -comment "libnetconf2 needs a toolchain w/ threads, dynamic libraray" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libnetconf2/libnetconf2.hash b/buildroot-2021.05/package/libnetconf2/libnetconf2.hash deleted file mode 100644 index 24cc3a55..00000000 --- a/buildroot-2021.05/package/libnetconf2/libnetconf2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 66139fc9e68aa89c82235f4135dba9e44f5db663541279c14c74131e22b7f571 libnetconf2-1.1.43.tar.gz -sha256 bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064 LICENSE diff --git a/buildroot-2021.05/package/libnetconf2/libnetconf2.mk b/buildroot-2021.05/package/libnetconf2/libnetconf2.mk deleted file mode 100644 index 40fa935b..00000000 --- a/buildroot-2021.05/package/libnetconf2/libnetconf2.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# libnetconf2 -# -################################################################################ - -LIBNETCONF2_VERSION = 1.1.43 -LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION)) -LIBNETCONF2_INSTALL_STAGING = YES -LIBNETCONF2_LICENSE = BSD-3-Clause -LIBNETCONF2_LICENSE_FILES = LICENSE -LIBNETCONF2_DEPENDENCIES = libyang -HOST_LIBNETCONF2_DEPENDENCIES = host-libyang - -LIBNETCONF2_CONF_OPTS = \ - -DENABLE_BUILD_TESTS=OFF \ - -DENABLE_VALGRIND_TESTS=OFF - -ifeq ($(BR2_PACKAGE_LIBSSH_SERVER), y) -LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=ON -LIBNETCONF2_DEPENDENCIES += libssh -else -LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENSSL), y) -LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=ON -LIBNETCONF2_DEPENDENCIES += openssl -else -LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=OFF -endif - -HOST_LIBNETCONF2_CONF_OPTS = \ - -DENABLE_BUILD_TESTS=OFF \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DENABLE_SSH=OFF \ - -DENABLE_TLS=OFF - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/libnetfilter_log/0001-uclinux.patch b/buildroot-2021.05/package/libnetfilter_log/0001-uclinux.patch deleted file mode 100644 index 75d4a1e9..00000000 --- a/buildroot-2021.05/package/libnetfilter_log/0001-uclinux.patch +++ /dev/null @@ -1,26 +0,0 @@ -From e36a2377e7ec50f6f675eb41f79edcda6ddebe5c Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Tue, 10 Sep 2013 15:48:50 -0300 -Subject: [PATCH] configure: uclinux is also linux - -Signed-off-by: Gustavo Zacarias ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index e6e1317..189a753 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -20,7 +20,7 @@ AC_PROG_INSTALL - AC_PROG_LN_S - - case "$host" in --*-*-linux*) ;; -+*-*-linux* | *-*-uclinux*) ;; - *) AC_MSG_ERROR([Linux only, dude!]);; - esac - --- -1.8.1.5 - diff --git a/buildroot-2021.05/package/libnetfilter_log/Config.in b/buildroot-2021.05/package/libnetfilter_log/Config.in deleted file mode 100644 index 927cd0aa..00000000 --- a/buildroot-2021.05/package/libnetfilter_log/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_LIBNETFILTER_LOG - bool "libnetfilter_log" - select BR2_PACKAGE_LIBNFNETLINK - help - libnetfilter_log is a userspace library providing interface - to packets that have been logged by the kernel packet filter. - - http://www.netfilter.org/projects/libnetfilter_log/ diff --git a/buildroot-2021.05/package/libnetfilter_log/libnetfilter_log.hash b/buildroot-2021.05/package/libnetfilter_log/libnetfilter_log.hash deleted file mode 100644 index 292538db..00000000 --- a/buildroot-2021.05/package/libnetfilter_log/libnetfilter_log.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From ftp://ftp.netfilter.org/pub/libnetfilter_log/libnetfilter_log-1.0.1.tar.bz2.{md5sum,sha1sum} -md5 2a4bb0654ae675a52d2e8d1c06090b94 libnetfilter_log-1.0.1.tar.bz2 -sha1 0b95bcb1ad15eea906fa3607cd6c2290bd48d5bd libnetfilter_log-1.0.1.tar.bz2 - -# Hash for license file: -sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad COPYING diff --git a/buildroot-2021.05/package/libnetfilter_log/libnetfilter_log.mk b/buildroot-2021.05/package/libnetfilter_log/libnetfilter_log.mk deleted file mode 100644 index bcf755e0..00000000 --- a/buildroot-2021.05/package/libnetfilter_log/libnetfilter_log.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libnetfilter_log -# -################################################################################ - -LIBNETFILTER_LOG_VERSION = 1.0.1 -LIBNETFILTER_LOG_SOURCE = libnetfilter_log-$(LIBNETFILTER_LOG_VERSION).tar.bz2 -LIBNETFILTER_LOG_SITE = http://www.netfilter.org/projects/libnetfilter_log/files -LIBNETFILTER_LOG_INSTALL_STAGING = YES -LIBNETFILTER_LOG_DEPENDENCIES = host-pkgconf libnfnetlink -LIBNETFILTER_LOG_AUTORECONF = YES -LIBNETFILTER_LOG_LICENSE = GPL-2.0+ -LIBNETFILTER_LOG_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnftnl/libnftnl.hash b/buildroot-2021.05/package/libnftnl/libnftnl.hash deleted file mode 100644 index f22b02af..00000000 --- a/buildroot-2021.05/package/libnftnl/libnftnl.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From http://www.netfilter.org/projects/libnftnl/downloads.html -sha256 20dbc13f11004aea2c9e479cfb90359cb11fe3446c3140811c18e4ec1648ed8f libnftnl-1.1.7.tar.bz2 -sha256 98193898c663001eff2fdcfb676e210c13042bc1a05e8d570c363efa396f8e24 COPYING diff --git a/buildroot-2021.05/package/libnftnl/libnftnl.mk b/buildroot-2021.05/package/libnftnl/libnftnl.mk deleted file mode 100644 index f4487bde..00000000 --- a/buildroot-2021.05/package/libnftnl/libnftnl.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# libnftnl -# -################################################################################ - -LIBNFTNL_VERSION = 1.1.7 -LIBNFTNL_SITE = https://netfilter.org/projects/libnftnl/files -LIBNFTNL_SOURCE = libnftnl-$(LIBNFTNL_VERSION).tar.bz2 -LIBNFTNL_LICENSE = GPL-2.0+ -LIBNFTNL_LICENSE_FILES = COPYING -LIBNFTNL_INSTALL_STAGING = YES -LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl - -ifeq ($(BR2_PACKAGE_LIBNFTNL_JSON),y) -LIBNFTNL_CONF_OPTS += --with-json-parsing -LIBNFTNL_DEPENDENCIES += jansson -else -LIBNFTNL_CONF_OPTS += --without-json-parsing -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnice/libnice.hash b/buildroot-2021.05/package/libnice/libnice.hash deleted file mode 100644 index 61be9517..00000000 --- a/buildroot-2021.05/package/libnice/libnice.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally computed after checking pgp signature -sha256 06b678066f94dde595a4291588ed27acd085ee73775b8c4e8399e28c01eeefdf libnice-0.1.16.tar.gz - -# Hash for license files: -sha256 9246b2ee8b1db30cf03d5d9719ad8bb5edce1cadc85f8cfef319c23d24d950b5 COPYING -sha256 3b3c75ae6c663c4f93987647eb5463d33dc1602a1aded3ac479773f2c3928e3a COPYING.MPL -sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LGPL diff --git a/buildroot-2021.05/package/libnice/libnice.mk b/buildroot-2021.05/package/libnice/libnice.mk deleted file mode 100644 index 8cbf0035..00000000 --- a/buildroot-2021.05/package/libnice/libnice.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# libnice -# -################################################################################ - -LIBNICE_VERSION = 0.1.16 -LIBNICE_SITE = http://nice.freedesktop.org/releases -LIBNICE_LICENSE = MPL-1.1 or LGPL-2.1 -LIBNICE_LICENSE_FILES = COPYING COPYING.MPL COPYING.LGPL -LIBNICE_DEPENDENCIES = libglib2 host-pkgconf -LIBNICE_INSTALL_STAGING = YES -LIBNICE_CONF_OPTS = --without-gstreamer-0.10 - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -LIBNICE_CONF_OPTS += --with-crypto-library=gnutls -LIBNICE_DEPENDENCIES += gnutls -else -LIBNICE_CONF_OPTS += \ - --with-crypto-library=openssl \ - --with-openssl=$(STAGING_DIR)/usr -LIBNICE_DEPENDENCIES += openssl -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) -LIBNICE_CONF_OPTS += --with-gstreamer -LIBNICE_DEPENDENCIES += gst1-plugins-base -else -LIBNICE_CONF_OPTS += --without-gstreamer -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnl/0001-build-add-Libs.private-field-in-libnl-pkg-config-fil.patch b/buildroot-2021.05/package/libnl/0001-build-add-Libs.private-field-in-libnl-pkg-config-fil.patch deleted file mode 100644 index 845a5937..00000000 --- a/buildroot-2021.05/package/libnl/0001-build-add-Libs.private-field-in-libnl-pkg-config-fil.patch +++ /dev/null @@ -1,30 +0,0 @@ -From db0d59cd06f3ffd350379847c0885e1bfb85af0f Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 7 Mar 2015 11:34:42 +0100 -Subject: [PATCH 2/2] build: add Libs.private field in libnl pkg-config file - -In order to support static linking, the libnl pkg-config file should -indicate in its Libs.private field the libraries that libnl-3.0.a -requires. The LIBS variable contains the appropriate list of -libraries: -lm in all cases, and -lpthread when pthread support is -enabled. This allows to statically link applications against libnl -properly. - -Signed-off-by: Thomas Petazzoni ---- - libnl-3.0.pc.in | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libnl-3.0.pc.in b/libnl-3.0.pc.in -index b87e3dc..ddbc999 100644 ---- a/libnl-3.0.pc.in -+++ b/libnl-3.0.pc.in -@@ -7,4 +7,5 @@ Name: libnl - Description: Convenience library for netlink sockets - Version: @PACKAGE_VERSION@ - Libs: -L${libdir} -lnl-@MAJ_VERSION@ -+Libs.private: @LIBS@ - Cflags: -I${includedir}/libnl@MAJ_VERSION@ --- -2.1.0 - diff --git a/buildroot-2021.05/package/libnpupnp/libnpupnp.hash b/buildroot-2021.05/package/libnpupnp/libnpupnp.hash deleted file mode 100644 index 8451812e..00000000 --- a/buildroot-2021.05/package/libnpupnp/libnpupnp.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.1.4.tar.gz.sha256 -sha256 03506f02546e3b3d31b389e046c4691f020b82d315426ce79f1e2b1eb7958656 libnpupnp-4.1.4.tar.gz - -# Hash for license file: -sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/buildroot-2021.05/package/libnpupnp/libnpupnp.mk b/buildroot-2021.05/package/libnpupnp/libnpupnp.mk deleted file mode 100644 index 6c6fa2f1..00000000 --- a/buildroot-2021.05/package/libnpupnp/libnpupnp.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# libnpupnp -# -################################################################################ - -LIBNPUPNP_VERSION = 4.1.4 -LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads -LIBNPUPNP_LICENSE = BSD-3-Clause -LIBNPUPNP_LICENSE_FILES = COPYING -LIBNPUPNP_INSTALL_STAGING = YES -LIBNPUPNP_DEPENDENCIES = expat libcurl libmicrohttpd - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnspr/libnspr.hash b/buildroot-2021.05/package/libnspr/libnspr.hash deleted file mode 100644 index 8ca0f573..00000000 --- a/buildroot-2021.05/package/libnspr/libnspr.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://ftp.mozilla.org/pub/nspr/releases/v4.30/src/SHA256SUMS -sha256 8d4cd8f8409484dc4c3d31e180354bfc506573eccf86cd691106a1ef7edc913b nspr-4.30.tar.gz -# Locally calculated -sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 nspr/LICENSE diff --git a/buildroot-2021.05/package/libnspr/libnspr.mk b/buildroot-2021.05/package/libnspr/libnspr.mk deleted file mode 100644 index 67fb738b..00000000 --- a/buildroot-2021.05/package/libnspr/libnspr.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# libnspr -# -################################################################################ - -LIBNSPR_VERSION = 4.30 -LIBNSPR_SOURCE = nspr-$(LIBNSPR_VERSION).tar.gz -LIBNSPR_SITE = https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$(LIBNSPR_VERSION)/src -LIBNSPR_SUBDIR = nspr -LIBNSPR_INSTALL_STAGING = YES -LIBNSPR_CONFIG_SCRIPTS = nspr-config -LIBNSPR_LICENSE = MPL-2.0 -LIBNSPR_LICENSE_FILES = nspr/LICENSE - -# Set the host CFLAGS and LDFLAGS so NSPR does not guess wrongly -LIBNSPR_CONF_ENV = \ - HOST_CFLAGS="-g -O2" \ - HOST_LDFLAGS="-lc" -# NSPR mixes up --build and --host -LIBNSPR_CONF_OPTS = --host=$(GNU_HOST_NAME) -LIBNSPR_CONF_OPTS += --$(if $(BR2_ARCH_IS_64),en,dis)able-64bit - -# ./nspr/pr/include/md/_linux.h tests only __GLIBC__ version to detect -# c-library features, list musl features here for now (taken from -# Alpine Linux). -ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) -LIBNSPR_CFLAGS += \ - -D_PR_POLL_AVAILABLE \ - -D_PR_HAVE_OFF64_T \ - -D_PR_INET6 \ - -D_PR_HAVE_INET_NTOP \ - -D_PR_HAVE_GETHOSTBYNAME2 \ - -D_PR_HAVE_GETADDRINFO \ - -D_PR_INET6_PROBE -endif - -LIBNSPR_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(LIBNSPR_CFLAGS)" - -ifeq ($(BR2_STATIC_LIBS),y) -LIBNSPR_MAKE_OPTS = SHARED_LIBRARY= -LIBNSPR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SHARED_LIBRARY= install -LIBNSPR_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) SHARED_LIBRARY= install -endif - -ifeq ($(BR2_SHARED_LIBS),y) -LIBNSPR_MAKE_OPTS = LIBRARY= -LIBNSPR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIBRARY= install -LIBNSPR_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIBRARY= install -endif - -HOST_LIBNSPR_CONF_OPTS += --$(if $(filter %64,$(HOSTARCH)),en,dis)able-64bit - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libnss/libnss.hash b/buildroot-2021.05/package/libnss/libnss.hash deleted file mode 100644 index 92e9936d..00000000 --- a/buildroot-2021.05/package/libnss/libnss.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_64_RTM/src/SHA256SUMS -sha256 d3175427172e9c3a6f1ebc74452cb791590f28191c6a1a443dbc0d87c9df1126 nss-3.64.tar.gz -# Locally calculated -sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/buildroot-2021.05/package/libnss/libnss.mk b/buildroot-2021.05/package/libnss/libnss.mk deleted file mode 100644 index 88cc13ac..00000000 --- a/buildroot-2021.05/package/libnss/libnss.mk +++ /dev/null @@ -1,161 +0,0 @@ -################################################################################ -# -# libnss -# -################################################################################ - -LIBNSS_VERSION = 3.64 -LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz -LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src -LIBNSS_DISTDIR = dist -LIBNSS_INSTALL_STAGING = YES -LIBNSS_DEPENDENCIES = libnspr sqlite zlib -LIBNSS_LICENSE = MPL-2.0 -LIBNSS_LICENSE_FILES = nss/COPYING - -LIBNSS_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85862),y) -LIBNSS_CFLAGS += -O0 -endif - -# Need to pass down TARGET_CFLAGS and TARGET_LDFLAGS -define LIBNSS_FIXUP_LINUX_MK - echo 'OS_CFLAGS += $(LIBNSS_CFLAGS)' >> $(@D)/nss/coreconf/Linux.mk - echo 'LDFLAGS += $(TARGET_LDFLAGS)' >> $(@D)/nss/coreconf/Linux.mk -endef - -LIBNSS_PRE_CONFIGURE_HOOKS += LIBNSS_FIXUP_LINUX_MK - -# --gc-sections triggers binutils ld segfault -# https://sourceware.org/bugzilla/show_bug.cgi?id=21180 -ifeq ($(BR2_microblaze),y) -define LIBNSS_DROP_GC_SECTIONS - sed -i 's:-Wl,--gc-sections::g' $(@D)/nss/coreconf/Linux.mk -endef - -LIBNSS_PRE_CONFIGURE_HOOKS += LIBNSS_DROP_GC_SECTIONS -endif - -LIBNSS_BUILD_VARS = \ - MOZILLA_CLIENT=1 \ - NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \ - NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \ - NS_USE_GCC=1 \ - NSS_DISABLE_GTESTS=1 \ - NSS_USE_SYSTEM_SQLITE=1 \ - NATIVE_CC="$(HOSTCC)" \ - OS_ARCH="Linux" \ - OS_RELEASE="2.6" \ - OS_TEST=$(BR2_PACKAGE_LIBNSS_ARCH) \ - NSS_ENABLE_WERROR=0 - -ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),) -# Disable Altivec if not supported -LIBNSS_BUILD_VARS += NSS_DISABLE_ALTIVEC=1 -endif - -ifeq ($(BR2_ARM_CPU_HAS_NEON),) -# Disable arm32-neon if neon is not supported -LIBNSS_BUILD_VARS += NSS_DISABLE_ARM32_NEON=1 -endif - -ifeq ($(BR2_ARCH_IS_64),y) -# MIPS64 n32 is treated as a 32-bit architecture by libnss. -# See: https://bugzilla.mozilla.org/show_bug.cgi?id=1010730 -ifeq ($(BR2_MIPS_NABI32),) -LIBNSS_BUILD_VARS += USE_64=1 -endif -endif - -define LIBNSS_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss coreconf \ - SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \ - DIST=$(@D)/$(LIBNSS_DISTDIR) \ - CHECKLOC= \ - $(LIBNSS_BUILD_VARS) - $(TARGET_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss lib/dbm all \ - SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \ - DIST=$(@D)/$(LIBNSS_DISTDIR) \ - CHECKLOC= \ - $(LIBNSS_BUILD_VARS) NATIVE_FLAGS="$(HOST_CFLAGS) -DLINUX" -endef - -define LIBNSS_INSTALL_STAGING_CMDS - $(INSTALL) -m 755 -t $(STAGING_DIR)/usr/lib/ \ - $(@D)/$(LIBNSS_DISTDIR)/lib/*.so - $(INSTALL) -m 755 -d $(STAGING_DIR)/usr/include/nss - $(INSTALL) -m 644 -t $(STAGING_DIR)/usr/include/nss \ - $(@D)/$(LIBNSS_DISTDIR)/public/nss/* - $(INSTALL) -m 755 -t $(STAGING_DIR)/usr/lib/ \ - $(@D)/$(LIBNSS_DISTDIR)/lib/*.a - $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ - $(STAGING_DIR)/usr/lib/pkgconfig/nss.pc - $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ - $(STAGING_DIR)/usr/lib/pkgconfig/nss.pc -endef - -define LIBNSS_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -t $(TARGET_DIR)/usr/lib/ \ - $(@D)/$(LIBNSS_DISTDIR)/lib/*.so - $(INSTALL) -m 755 -d $(TARGET_DIR)/usr/include/nss - $(INSTALL) -m 644 -t $(TARGET_DIR)/usr/include/nss \ - $(@D)/$(LIBNSS_DISTDIR)/public/nss/* - $(INSTALL) -m 755 -t $(TARGET_DIR)/usr/lib/ \ - $(@D)/$(LIBNSS_DISTDIR)/lib/*.a - $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ - $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc - $(INSTALL) -D -m 755 $(@D)/$(LIBNSS_DISTDIR)/bin/certutil \ - $(TARGET_DIR)/usr/bin/certutil - $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ - $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc -endef - -HOST_LIBNSS_BUILD_VARS = \ - MOZILLA_CLIENT=1 \ - NSPR_INCLUDE_DIR=$(HOST_DIR)/include/nspr \ - NSPR_LIB_DIR=$(HOST_DIR)/lib \ - NS_USE_GCC=1 \ - NSS_DISABLE_GTESTS=1 \ - NSS_USE_SYSTEM_SQLITE=1 \ - SQLITE_INCLUDE_DIR=$(HOST_DIR)/include \ - ZLIB_INCLUDE_DIR=$(HOST_DIR)/include \ - NSS_ENABLE_WERROR=0 - -HOST_LIBNSS_DEPENDENCIES = host-libnspr host-sqlite host-zlib - -ifneq ($(filter %64,$(HOSTARCH)),) -HOST_LIBNSS_BUILD_VARS += USE_64=1 -endif - -define HOST_LIBNSS_BUILD_CMDS - $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss coreconf \ - SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \ - DIST=$(@D)/$(LIBNSS_DISTDIR) \ - CHECKLOC= \ - $(HOST_LIBNSS_BUILD_VARS) - $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D)/nss lib/dbm all \ - SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \ - DIST=$(@D)/$(LIBNSS_DISTDIR) \ - CHECKLOC= \ - $(HOST_LIBNSS_BUILD_VARS) -endef - -define HOST_LIBNSS_INSTALL_CMDS - $(INSTALL) -m 755 -t $(HOST_DIR)/lib/ \ - $(@D)/$(LIBNSS_DISTDIR)/lib/*.so - $(INSTALL) -m 755 -d $(HOST_DIR)/include/nss - $(INSTALL) -m 644 -t $(HOST_DIR)/include/nss \ - $(@D)/$(LIBNSS_DISTDIR)/public/nss/* - $(INSTALL) -m 755 -t $(HOST_DIR)/lib/ \ - $(@D)/$(LIBNSS_DISTDIR)/lib/*.a - $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ - $(HOST_DIR)/lib/pkgconfig/nss.pc - $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ - $(HOST_DIR)/lib/pkgconfig/nss.pc - $(SED) '/^prefix/s,=.*,=$(HOST_DIR),g;' \ - $(HOST_DIR)/lib/pkgconfig/nss.pc -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libodb-boost/libodb-boost.mk b/buildroot-2021.05/package/libodb-boost/libodb-boost.mk deleted file mode 100644 index 679c9d7a..00000000 --- a/buildroot-2021.05/package/libodb-boost/libodb-boost.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libodb-boost -# -################################################################################ - -LIBODB_BOOST_VERSION_MAJOR = 2.4 -LIBODB_BOOST_VERSION = $(LIBODB_BOOST_VERSION_MAJOR).0 -LIBODB_BOOST_SOURCE = libodb-boost-$(LIBODB_BOOST_VERSION).tar.bz2 -LIBODB_BOOST_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_BOOST_VERSION_MAJOR) -LIBODB_BOOST_INSTALL_STAGING = YES -LIBODB_BOOST_LICENSE = GPL-2.0 -LIBODB_BOOST_LICENSE_FILES = LICENSE -LIBODB_BOOST_DEPENDENCIES = boost libodb - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libodb-mysql/libodb-mysql.mk b/buildroot-2021.05/package/libodb-mysql/libodb-mysql.mk deleted file mode 100644 index a9040c65..00000000 --- a/buildroot-2021.05/package/libodb-mysql/libodb-mysql.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# libodb-mysql -# -################################################################################ - -LIBODB_MYSQL_VERSION_MAJOR = 2.4 -LIBODB_MYSQL_VERSION = $(LIBODB_MYSQL_VERSION_MAJOR).0 -LIBODB_MYSQL_SOURCE = libodb-mysql-$(LIBODB_MYSQL_VERSION).tar.bz2 -LIBODB_MYSQL_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_MYSQL_VERSION_MAJOR) -LIBODB_MYSQL_INSTALL_STAGING = YES -LIBODB_MYSQL_LICENSE = GPL-2.0 -LIBODB_MYSQL_LICENSE_FILES = LICENSE -LIBODB_MYSQL_DEPENDENCIES = libodb mysql -LIBODB_MYSQL_CONF_ENV = LIBS=`$(STAGING_DIR)/usr/bin/mysql_config --libs` - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libodb-pgsql/libodb-pgsql.mk b/buildroot-2021.05/package/libodb-pgsql/libodb-pgsql.mk deleted file mode 100644 index 038f7878..00000000 --- a/buildroot-2021.05/package/libodb-pgsql/libodb-pgsql.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libodb-pgsql -# -################################################################################ - -LIBODB_PGSQL_VERSION_MAJOR = 2.4 -LIBODB_PGSQL_VERSION = $(LIBODB_PGSQL_VERSION_MAJOR).0 -LIBODB_PGSQL_SOURCE = libodb-pgsql-$(LIBODB_PGSQL_VERSION).tar.bz2 -LIBODB_PGSQL_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_PGSQL_VERSION_MAJOR) -LIBODB_PGSQL_LICENSE = GPL-2.0 -LIBODB_PGSQL_LICENSE_FILES = LICENSE -LIBODB_PGSQL_INSTALL_STAGING = YES -LIBODB_PGSQL_DEPENDENCIES = postgresql libodb - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libodb/libodb.mk b/buildroot-2021.05/package/libodb/libodb.mk deleted file mode 100644 index f36d8957..00000000 --- a/buildroot-2021.05/package/libodb/libodb.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libodb -# -################################################################################ - -LIBODB_VERSION_MAJOR = 2.4 -LIBODB_VERSION = $(LIBODB_VERSION_MAJOR).0 -LIBODB_SOURCE = libodb-$(LIBODB_VERSION).tar.bz2 -LIBODB_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_VERSION_MAJOR) -LIBODB_INSTALL_STAGING = YES -LIBODB_LICENSE = GPL-2.0 -LIBODB_LICENSE_FILES = LICENSE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libogg/Config.in b/buildroot-2021.05/package/libogg/Config.in deleted file mode 100644 index bf719ff4..00000000 --- a/buildroot-2021.05/package/libogg/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_LIBOGG - bool "libogg" - help - Ogg is a multimedia container format, and the native file - and stream format for the Xiph.org multimedia codecs. As - with all Xiph.org technology is it an open format free for - anyone to use. - - http://xiph.org/ogg/ diff --git a/buildroot-2021.05/package/libogg/libogg.hash b/buildroot-2021.05/package/libogg/libogg.hash deleted file mode 100644 index 5d95c85d..00000000 --- a/buildroot-2021.05/package/libogg/libogg.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From: http://www.xiph.org/downloads/ -md5 eadef24aad6e3e8379ba0d14971fd64a libogg-1.3.4.tar.xz -sha1 f07499a35566aa62affb5ca989f62eed5b8092c3 libogg-1.3.4.tar.xz -sha256 c163bc12bc300c401b6aa35907ac682671ea376f13ae0969a220f7ddf71893fe libogg-1.3.4.tar.xz - -# Hash for license file: -sha256 d2ab5758336489da61c12cc5bb757da5339c4ae9001f9bb0562b4370249af814 COPYING diff --git a/buildroot-2021.05/package/libogg/libogg.mk b/buildroot-2021.05/package/libogg/libogg.mk deleted file mode 100644 index 08e5f87b..00000000 --- a/buildroot-2021.05/package/libogg/libogg.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libogg -# -################################################################################ - -LIBOGG_VERSION = 1.3.4 -LIBOGG_SOURCE = libogg-$(LIBOGG_VERSION).tar.xz -LIBOGG_SITE = http://downloads.xiph.org/releases/ogg -LIBOGG_LICENSE = BSD-3-Clause -LIBOGG_LICENSE_FILES = COPYING - -LIBOGG_INSTALL_STAGING = YES -LIBOGG_DEPENDENCIES = host-pkgconf - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libolm/libolm.hash b/buildroot-2021.05/package/libolm/libolm.hash deleted file mode 100644 index c080c7ea..00000000 --- a/buildroot-2021.05/package/libolm/libolm.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 d947d9570345e68696668cb855f1a6a7141b7b89cbcc15a08b1fae18535c4c45 olm-3.2.1.tar.gz -sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE diff --git a/buildroot-2021.05/package/libolm/libolm.mk b/buildroot-2021.05/package/libolm/libolm.mk deleted file mode 100644 index 034b3449..00000000 --- a/buildroot-2021.05/package/libolm/libolm.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libolm -# -################################################################################ - -LIBOLM_VERSION = 3.2.1 -LIBOLM_SOURCE = olm-$(LIBOLM_VERSION).tar.gz -LIBOLM_SITE = https://gitlab.matrix.org/matrix-org/olm/-/archive/$(LIBOLM_VERSION) -LIBOLM_LICENSE = Apache-2.0 -LIBOLM_LICENSE_FILES = LICENSE -LIBOLM_INSTALL_STAGING = YES - -LIBOLM_CONF_OPTS = -DOLM_TESTS=OFF - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libopenh264/0001-Add-USE_STACK_PROTECTOR-option.patch b/buildroot-2021.05/package/libopenh264/0001-Add-USE_STACK_PROTECTOR-option.patch deleted file mode 100644 index 3758cd66..00000000 --- a/buildroot-2021.05/package/libopenh264/0001-Add-USE_STACK_PROTECTOR-option.patch +++ /dev/null @@ -1,100 +0,0 @@ -From 1e7435751c055723b7103dd1d5bb68530e1a2678 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 8 Oct 2019 20:18:18 +0200 -Subject: [PATCH] Add USE_STACK_PROTECTOR option - --fstack-protector-all is not supported on all linux toolchains so add an -option to disable it (and enable it by default to keep current behavior) - -Fixes: - - http://autobuild.buildroot.org/results/377818cf8c1f2632cabdccb32bf4e7f06c0fdbbd - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/cisco/openh264/pull/3175] ---- - Makefile | 1 + - build/platform-android.mk | 5 ++++- - build/platform-bsd.mk | 5 ++++- - build/platform-darwin.mk | 5 ++++- - build/platform-linux.mk | 5 ++++- - 5 files changed, 17 insertions(+), 4 deletions(-) - -diff --git a/Makefile b/Makefile -index 74ff029d..c2061f6a 100644 ---- a/Makefile -+++ b/Makefile -@@ -34,6 +34,7 @@ GTEST_VER=release-1.8.1 - CCASFLAGS=$(CFLAGS) - STATIC_LDFLAGS=-lstdc++ - STRIP ?= strip -+USE_STACK_PROTECTOR = Yes - - SHAREDLIB_MAJORVERSION=5 - FULL_VERSION := 2.0.0 -diff --git a/build/platform-android.mk b/build/platform-android.mk -index 6f6ce347..06534301 100644 ---- a/build/platform-android.mk -+++ b/build/platform-android.mk -@@ -44,7 +44,10 @@ SYSROOT = $(NDKROOT)/platforms/android-$(NDKLEVEL)/arch-$(ARCH) - CXX = $(TOOLCHAINPREFIX)g++ - CC = $(TOOLCHAINPREFIX)gcc - AR = $(TOOLCHAINPREFIX)ar --CFLAGS += -DANDROID_NDK -fpic --sysroot=$(SYSROOT) -MMD -MP -fstack-protector-all -+CFLAGS += -DANDROID_NDK -fpic --sysroot=$(SYSROOT) -MMD -MP -+ifeq ($(USE_STACK_PROTECTOR), Yes) -+CFLAGS +=-fstack-protector-all -+endif - CFLAGS += -isystem $(NDKROOT)/sysroot/usr/include -isystem $(NDKROOT)/sysroot/usr/include/$(TOOLCHAIN_NAME) -D__ANDROID_API__=$(NDKLEVEL) - CXXFLAGS += -fno-rtti -fno-exceptions - LDFLAGS += --sysroot=$(SYSROOT) -diff --git a/build/platform-bsd.mk b/build/platform-bsd.mk -index e60d2cc0..2e0bf2cc 100644 ---- a/build/platform-bsd.mk -+++ b/build/platform-bsd.mk -@@ -3,7 +3,10 @@ SHAREDLIBSUFFIX = so - SHAREDLIBSUFFIXFULLVER=$(SHAREDLIBSUFFIX).$(FULL_VERSION) - SHAREDLIBSUFFIXMAJORVER=$(SHAREDLIBSUFFIX).$(SHAREDLIB_MAJORVERSION) - SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXMAJORVER) --CFLAGS += -fPIC -fstack-protector-all -+CFLAGS += -fPIC -+ifeq ($(USE_STACK_PROTECTOR), Yes) -+CFLAGS += -fstack-protector-all -+endif - LDFLAGS += -lpthread - STATIC_LDFLAGS += -lpthread -lm - ifeq ($(ASM_ARCH), x86) -diff --git a/build/platform-darwin.mk b/build/platform-darwin.mk -index 6c7b2443..718c8e2f 100644 ---- a/build/platform-darwin.mk -+++ b/build/platform-darwin.mk -@@ -10,7 +10,10 @@ SHLDFLAGS = -dynamiclib -twolevel_namespace -undefined dynamic_lookup \ - $(SHAREDLIB_DIR)/$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXMAJORVER) - SHARED = -dynamiclib - SHARED += -current_version $(CURRENT_VERSION) -compatibility_version $(COMPATIBILITY_VERSION) --CFLAGS += -Wall -fPIC -MMD -MP -fstack-protector-all -+CFLAGS += -Wall -fPIC -MMD -MP -+ifeq ($(USE_STACK_PROTECTOR), Yes) -+CFLAGS += -fstack-protector-all -+endif - ifeq ($(ASM_ARCH), x86) - ASMFLAGS += -DPREFIX - ifeq ($(ARCH), x86_64) -diff --git a/build/platform-linux.mk b/build/platform-linux.mk -index 44fe2424..b5c006b2 100644 ---- a/build/platform-linux.mk -+++ b/build/platform-linux.mk -@@ -3,7 +3,10 @@ SHAREDLIBSUFFIX = so - SHAREDLIBSUFFIXFULLVER=$(SHAREDLIBSUFFIX).$(FULL_VERSION) - SHAREDLIBSUFFIXMAJORVER=$(SHAREDLIBSUFFIX).$(SHAREDLIB_MAJORVERSION) - SHLDFLAGS = -Wl,-soname,$(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIXMAJORVER) --CFLAGS += -Wall -fno-strict-aliasing -fPIC -MMD -MP -fstack-protector-all -+CFLAGS += -Wall -fno-strict-aliasing -fPIC -MMD -MP -+ifeq ($(USE_STACK_PROTECTOR), Yes) -+CFLAGS += -fstack-protector-all -+endif - LDFLAGS += -lpthread - STATIC_LDFLAGS += -lpthread -lm - AR_OPTS = crD $@ --- -2.23.0 - diff --git a/buildroot-2021.05/package/libopenh264/0002-fix-mips-build.patch b/buildroot-2021.05/package/libopenh264/0002-fix-mips-build.patch deleted file mode 100644 index c4927d56..00000000 --- a/buildroot-2021.05/package/libopenh264/0002-fix-mips-build.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 9d5981eecde2133b9d6099eb99f96b1c29c3e520 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Mon, 13 Apr 2020 12:03:01 +0200 -Subject: [PATCH] fix mips build - -In total three PR were sent upstream to fix mips builds: -https://github.com/cisco/openh264/pull/3185 -https://github.com/cisco/openh264/pull/3217 -https://github.com/cisco/openh264/pull/3225 - -Buildroot used the first version -https://git.buildroot.net/buildroot/commit/package/libopenh264?id=e8d0df569e1844f7ba28918a53ee38027b325b8f -downloaded from https://github.com/cisco/openh264/pull/3185 - -During discussion the gcc option '-march=loongson3a' was changed to -'-Wa,-mloongson-mmi,-mloongson-ext': -https://github.com/cisco/openh264/pull/3185#discussion_r337818960 - -This causes build errors with gcc version 8.3.0 (Buildroot 2020.02) - -tmp/cctgEQaw.s:662: Error: opcode not supported on this processor: loongson3a (mips64r2) `bc .L22' -/tmp/cctgEQaw.s:1679: Error: opcode not supported on this processor: loongson3a (mips64r2) `bc .L27' -/tmp/cctgEQaw.s:2218: Error: opcode not supported on this processor: loongson3a (mips64r2) `jrc $31' - -This patch partly reverts the change to fix mips build. - -$ /home/bernd/buildroot/br5/output/host/bin/mips64el-linux-gcc -v - -Using built-in specs. -COLLECT_GCC=/home/bernd/buildroot/br5/output/host/opt/ext-toolchain/bin/mips64el-linux-gcc.br_real -COLLECT_LTO_WRAPPER=/home/bernd/buildroot/br5/output/host/opt/ext-toolchain/bin/../libexec/gcc/mips64el-buildroot-linux-gnu/8.3.0/lto-wrapper -Target: mips64el-buildroot-linux-gnu -Configured with: ./configure --prefix=/opt/br-mips64r6-n64-el-hf-2020.02 --sysconfdir=/opt/br-mips64r6-n64-el-hf-2020.02/etc --enable-static --target=mips64el-buildroot-linux-gnu --with-sysroot=/opt/br-mips64r6-n64-el-hf-2020.02/mips64el-buildroot-linux-gnu/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/opt/br-mips64r6-n64-el-hf-2020.02 --with-mpc=/opt/br-mips64r6-n64-el-hf-2020.02 --with-mpfr=/opt/br-mips64r6-n64-el-hf-2020.02 --with-pkgversion='Buildroot 2020.02' --with-bugurl=http://bugs.buildroot.net/ --disable-libquadmath --enable-tls --enable-threads --without-isl --without-cloog --with-arch=mips64r6 --with-abi=64 --with-nan=2008 --enable-languages=c,c++ --with-build-time-tools=/opt/br-mips64r6-n64-el-hf-2020.02/mips64el-buildroot-linux-gnu/bin --enable-shared --disable-libgomp -Thread model: posix -gcc version 8.3.0 (Buildroot 2020.02) - -Patch sent upstream: https://github.com/cisco/openh264/pull/3267 - -Signed-off-by: Bernd Kuhls ---- - build/arch.mk | 2 +- - build/mips-simd-check.sh | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/build/arch.mk b/build/arch.mk -index 1bf318ab..c6570ed4 100644 ---- a/build/arch.mk -+++ b/build/arch.mk -@@ -41,7 +41,7 @@ ASMFLAGS += -I$(SRC_PATH)codec/common/mips/ - ifeq ($(ENABLE_MMI), Yes) - ENABLE_MMI = $(shell $(SRC_PATH)build/mips-simd-check.sh $(CC) mmi) - ifeq ($(ENABLE_MMI), Yes) --CFLAGS += -DHAVE_MMI -Wa,-mloongson-mmi,-mloongson-ext -+CFLAGS += -DHAVE_MMI -march=loongson3a - endif - endif - #msa -diff --git a/build/mips-simd-check.sh b/build/mips-simd-check.sh -index 5efffbef..d0d72f9e 100755 ---- a/build/mips-simd-check.sh -+++ b/build/mips-simd-check.sh -@@ -15,7 +15,7 @@ TMPO=$(mktemp tmp.XXXXXX.o) - if [ $2 == "mmi" ] - then - echo "void main(void){ __asm__ volatile(\"punpcklhw \$f0, \$f0, \$f0\"); }" > $TMPC -- $1 -Wa,-mloongson-mmi $TMPC -o $TMPO &> /dev/null -+ $1 -march=loongson3a $TMPC -o $TMPO &> /dev/null - if test -s $TMPO - then - echo "Yes" --- -2.25.0 - diff --git a/buildroot-2021.05/package/libopenh264/0003-codec-common-inc-asmdefs_mmi.h-fix-mips32-build.patch b/buildroot-2021.05/package/libopenh264/0003-codec-common-inc-asmdefs_mmi.h-fix-mips32-build.patch deleted file mode 100644 index e11b1d13..00000000 --- a/buildroot-2021.05/package/libopenh264/0003-codec-common-inc-asmdefs_mmi.h-fix-mips32-build.patch +++ /dev/null @@ -1,89 +0,0 @@ -From c505f81e336088b6729a5407a03459f488353288 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 24 May 2021 22:54:01 +0200 -Subject: [PATCH] codec/common/inc/asmdefs_mmi.h: fix mips32 build - -Fix the following build failure on mips32 which is raised since version -2.0.0 and -https://github.com/cisco/openh264/commit/b13e5bceb18ebb93d0313b46aab4af6f480ca933: - -codec/common/mips/copy_mb_mmi.c: In function 'WelsCopy16x16_mmi': -./codec/common/inc/asmdefs_mmi.h:293:21: error: '_ABI64' undeclared (first use in this function) - 293 | if (_MIPS_SIM == _ABI64) \ - | ^~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/cba3e9d0fd061cc3a92cb732bcdc2c7b66dbf6cb - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/cisco/openh264/pull/3384] ---- - codec/common/inc/asmdefs_mmi.h | 17 +++++++++++------ - 1 file changed, 11 insertions(+), 6 deletions(-) - -diff --git a/codec/common/inc/asmdefs_mmi.h b/codec/common/inc/asmdefs_mmi.h -index 69a7ae39..5d1aed93 100644 ---- a/codec/common/inc/asmdefs_mmi.h -+++ b/codec/common/inc/asmdefs_mmi.h -@@ -288,9 +288,9 @@ - /** - * backup register - */ -+#if defined(_ABI64) && _MIPS_SIM == _ABI64 - #define BACKUP_REG \ - double __attribute__((aligned(16))) __back_temp[8]; \ -- if (_MIPS_SIM == _ABI64) \ - __asm__ volatile ( \ - "gssqc1 $f25, $f24, 0x00(%[temp]) \n\t" \ - "gssqc1 $f27, $f26, 0x10(%[temp]) \n\t" \ -@@ -299,8 +299,10 @@ - : \ - : [temp]"r"(__back_temp) \ - : "memory" \ -- ); \ -- else \ -+ ); -+#else -+#define BACKUP_REG \ -+ double __attribute__((aligned(16))) __back_temp[8]; \ - __asm__ volatile ( \ - "gssqc1 $f22, $f20, 0x00(%[temp]) \n\t" \ - "gssqc1 $f26, $f24, 0x10(%[temp]) \n\t" \ -@@ -309,12 +311,13 @@ - : [temp]"r"(__back_temp) \ - : "memory" \ - ); -+#endif - - /** - * recover register - */ -+#if defined(_ABI64) && _MIPS_SIM == _ABI64 - #define RECOVER_REG \ -- if (_MIPS_SIM == _ABI64) \ - __asm__ volatile ( \ - "gslqc1 $f25, $f24, 0x00(%[temp]) \n\t" \ - "gslqc1 $f27, $f26, 0x10(%[temp]) \n\t" \ -@@ -323,8 +326,9 @@ - : \ - : [temp]"r"(__back_temp) \ - : "memory" \ -- ); \ -- else \ -+ ); -+#else -+#define RECOVER_REG \ - __asm__ volatile ( \ - "gslqc1 $f22, $f20, 0x00(%[temp]) \n\t" \ - "gslqc1 $f26, $f24, 0x10(%[temp]) \n\t" \ -@@ -333,6 +337,7 @@ - : [temp]"r"(__back_temp) \ - : "memory" \ - ); -+#endif - - # define OK 1 - # define NOTOK 0 --- -2.30.2 - diff --git a/buildroot-2021.05/package/libopenh264/libopenh264.hash b/buildroot-2021.05/package/libopenh264/libopenh264.hash deleted file mode 100644 index 0689ab96..00000000 --- a/buildroot-2021.05/package/libopenh264/libopenh264.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 af173e90fce65f80722fa894e1af0d6b07572292e76de7b65273df4c0a8be678 libopenh264-2.1.1.tar.gz -sha256 dd5c1c9668512530fa5a96e4c29ac4033d70a7eeb0eed7a42fddb6dd794ebdbb LICENSE diff --git a/buildroot-2021.05/package/libopenh264/libopenh264.mk b/buildroot-2021.05/package/libopenh264/libopenh264.mk deleted file mode 100644 index 0c175799..00000000 --- a/buildroot-2021.05/package/libopenh264/libopenh264.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# libopenh264 -# -################################################################################ - -LIBOPENH264_VERSION = 2.1.1 -LIBOPENH264_SITE = $(call github,cisco,openh264,v$(LIBOPENH264_VERSION)) -LIBOPENH264_LICENSE = BSD-2-Clause -LIBOPENH264_LICENSE_FILES = LICENSE -LIBOPENH264_CPE_ID_VENDOR = cisco -LIBOPENH264_CPE_ID_PRODUCT = openh264 -LIBOPENH264_INSTALL_STAGING = YES - -ifeq ($(BR2_aarch64),y) -LIBOPENH264_ARCH = aarch64 -else ifeq ($(BR2_arm)$(BR2_armeb),y) -LIBOPENH264_ARCH = arm -else ifeq ($(BR2_i386),y) -LIBOPENH264_ARCH = x86 -LIBOPENH264_DEPENDENCIES += host-nasm -else ifeq ($(BR2_mips)$(BR2_mipsel),y) -LIBOPENH264_ARCH = mips -else ifeq ($(BR2_mips64)$(BR2_mips64el),y) -LIBOPENH264_ARCH = mips64 -else ifeq ($(BR2_x86_64),y) -LIBOPENH264_ARCH = x86_64 -LIBOPENH264_DEPENDENCIES += host-nasm -endif - -# ENABLE64BIT is really only used for x86-64, other 64 bits -# architecture don't need it. -LIBOPENH264_MAKE_OPTS = \ - ARCH=$(LIBOPENH264_ARCH) \ - ENABLE64BIT=$(if $(BR2_x86_64),Yes,No) \ - USE_STACK_PROTECTOR=No - -define LIBOPENH264_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(LIBOPENH264_MAKE_OPTS) -endef - -define LIBOPENH264_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(LIBOPENH264_MAKE_OPTS) \ - DESTDIR=$(STAGING_DIR) PREFIX=/usr install -endef - -define LIBOPENH264_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(LIBOPENH264_MAKE_OPTS) \ - DESTDIR=$(TARGET_DIR) PREFIX=/usr install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libopenssl/Config.in b/buildroot-2021.05/package/libopenssl/Config.in deleted file mode 100644 index 723fd282..00000000 --- a/buildroot-2021.05/package/libopenssl/Config.in +++ /dev/null @@ -1,43 +0,0 @@ -if BR2_PACKAGE_LIBOPENSSL - -# 4xx PowerPC cores seem to have trouble with openssl's ASM -# optimizations -config BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH_LINUX_PPC - bool - default y if BR2_powerpc - depends on !BR2_powerpc_401 - depends on !BR2_powerpc_403 - depends on !BR2_powerpc_405 - depends on !BR2_powerpc_405fp - depends on !BR2_powerpc_440 - depends on !BR2_powerpc_440fp - -config BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH - string - # Doesn't work for thumb-only (Cortex-M?) - default "linux-armv4" if BR2_ARM_CPU_HAS_ARM - default "linux-aarch64" if BR2_aarch64 - default "linux-ppc" if BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH_LINUX_PPC - default "linux-ppc64" if BR2_powerpc64 - default "linux-ppc64le" if BR2_powerpc64le - default "linux-x86" if BR2_i386 - default "linux-x86_64" if BR2_x86_64 - # no-asm is needed with generic architectures such as - # linux-generic{32,64}, see - # https://github.com/openssl/openssl/issues/9839 - default "linux-generic64 no-asm" if BR2_ARCH_IS_64 && !BR2_MIPS_NABI32 - default "linux-generic32 no-asm" - -config BR2_PACKAGE_LIBOPENSSL_BIN - bool "openssl binary" - help - Install the openssl binary and the associated helper scripts - to the target file system. This is a command line tool for - doing various cryptographic stuff. - -config BR2_PACKAGE_LIBOPENSSL_ENGINES - bool "openssl additional engines" - help - Install additional encryption engine libraries. - -endif # BR2_PACKAGE_LIBOPENSSL diff --git a/buildroot-2021.05/package/libopenssl/libopenssl.hash b/buildroot-2021.05/package/libopenssl/libopenssl.hash deleted file mode 100644 index 585486ff..00000000 --- a/buildroot-2021.05/package/libopenssl/libopenssl.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.openssl.org/source/openssl-1.1.1k.tar.gz.sha256 -sha256 892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5 openssl-1.1.1k.tar.gz - -# License files -sha256 c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c LICENSE diff --git a/buildroot-2021.05/package/libopenssl/libopenssl.mk b/buildroot-2021.05/package/libopenssl/libopenssl.mk deleted file mode 100644 index 487fe554..00000000 --- a/buildroot-2021.05/package/libopenssl/libopenssl.mk +++ /dev/null @@ -1,158 +0,0 @@ -################################################################################ -# -# libopenssl -# -################################################################################ - -LIBOPENSSL_VERSION = 1.1.1k -LIBOPENSSL_SITE = https://www.openssl.org/source -LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz -LIBOPENSSL_LICENSE = OpenSSL or SSLeay -LIBOPENSSL_LICENSE_FILES = LICENSE -LIBOPENSSL_INSTALL_STAGING = YES -LIBOPENSSL_DEPENDENCIES = zlib -HOST_LIBOPENSSL_DEPENDENCIES = host-zlib -LIBOPENSSL_TARGET_ARCH = $(call qstrip,$(BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH)) -LIBOPENSSL_CFLAGS = $(TARGET_CFLAGS) -LIBOPENSSL_PROVIDES = openssl -LIBOPENSSL_CPE_ID_VENDOR = $(LIBOPENSSL_PROVIDES) -LIBOPENSSL_CPE_ID_PRODUCT = $(LIBOPENSSL_PROVIDES) - -ifeq ($(BR2_m68k_cf),y) -# relocation truncated to fit: R_68K_GOT16O -LIBOPENSSL_CFLAGS += -mxgot -# resolves an assembler "out of range error" with blake2 and sha512 algorithms -LIBOPENSSL_CFLAGS += -DOPENSSL_SMALL_FOOTPRINT -endif - -ifeq ($(BR2_USE_MMU),) -LIBOPENSSL_CFLAGS += -DHAVE_FORK=0 -DOPENSSL_NO_MADVISE -endif - -ifeq ($(BR2_PACKAGE_HAS_CRYPTODEV),y) -LIBOPENSSL_DEPENDENCIES += cryptodev -endif - -# fixes the following build failures: -# -# - musl -# ./libcrypto.so: undefined reference to `getcontext' -# ./libcrypto.so: undefined reference to `setcontext' -# ./libcrypto.so: undefined reference to `makecontext' -# -# - uclibc: -# crypto/async/arch/../arch/async_posix.h:32:5: error: unknown type name 'ucontext_t' -# - -ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) -LIBOPENSSL_CFLAGS += -DOPENSSL_NO_ASYNC -endif -ifeq ($(BR2_TOOLCHAIN_HAS_UCONTEXT),) -LIBOPENSSL_CFLAGS += -DOPENSSL_NO_ASYNC -endif - -define HOST_LIBOPENSSL_CONFIGURE_CMDS - (cd $(@D); \ - $(HOST_CONFIGURE_OPTS) \ - ./config \ - --prefix=$(HOST_DIR) \ - --openssldir=$(HOST_DIR)/etc/ssl \ - no-tests \ - no-fuzz-libfuzzer \ - no-fuzz-afl \ - shared \ - zlib-dynamic \ - ) - $(SED) "s#-O[0-9sg]#$(HOST_CFLAGS)#" $(@D)/Makefile -endef - -define LIBOPENSSL_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_ARGS) \ - $(TARGET_CONFIGURE_OPTS) \ - ./Configure \ - $(LIBOPENSSL_TARGET_ARCH) \ - --prefix=/usr \ - --openssldir=/etc/ssl \ - $(if $(BR2_TOOLCHAIN_HAS_LIBATOMIC),-latomic) \ - $(if $(BR2_TOOLCHAIN_HAS_THREADS),threads,no-threads) \ - $(if $(BR2_STATIC_LIBS),no-shared,shared) \ - $(if $(BR2_PACKAGE_HAS_CRYPTODEV),enable-devcryptoeng) \ - no-rc5 \ - enable-camellia \ - enable-mdc2 \ - no-tests \ - no-fuzz-libfuzzer \ - no-fuzz-afl \ - $(if $(BR2_STATIC_LIBS),zlib,zlib-dynamic) \ - $(if $(BR2_STATIC_LIBS),no-dso) \ - ) - $(SED) "s#-march=[-a-z0-9] ##" -e "s#-mcpu=[-a-z0-9] ##g" $(@D)/Makefile - $(SED) "s#-O[0-9sg]#$(LIBOPENSSL_CFLAGS)#" $(@D)/Makefile - $(SED) "s# build_tests##" $(@D)/Makefile -endef - -# libdl is not available in a static build, and this is not implied by no-dso -ifeq ($(BR2_STATIC_LIBS),y) -define LIBOPENSSL_FIXUP_STATIC_MAKEFILE - $(SED) 's#-ldl##g' $(@D)/Makefile -endef -LIBOPENSSL_POST_CONFIGURE_HOOKS += LIBOPENSSL_FIXUP_STATIC_MAKEFILE -endif - -define HOST_LIBOPENSSL_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define LIBOPENSSL_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define LIBOPENSSL_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install -endef - -define HOST_LIBOPENSSL_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install -endef - -define LIBOPENSSL_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install - rm -rf $(TARGET_DIR)/usr/lib/ssl - rm -f $(TARGET_DIR)/usr/bin/c_rehash -endef - -# libdl has no business in a static build -ifeq ($(BR2_STATIC_LIBS),y) -define LIBOPENSSL_FIXUP_STATIC_PKGCONFIG - $(SED) 's#-ldl##' $(STAGING_DIR)/usr/lib/pkgconfig/libcrypto.pc - $(SED) 's#-ldl##' $(STAGING_DIR)/usr/lib/pkgconfig/libssl.pc - $(SED) 's#-ldl##' $(STAGING_DIR)/usr/lib/pkgconfig/openssl.pc -endef -LIBOPENSSL_POST_INSTALL_STAGING_HOOKS += LIBOPENSSL_FIXUP_STATIC_PKGCONFIG -endif - -ifeq ($(BR2_PACKAGE_PERL),) -define LIBOPENSSL_REMOVE_PERL_SCRIPTS - $(RM) -f $(TARGET_DIR)/etc/ssl/misc/{CA.pl,tsget} -endef -LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_PERL_SCRIPTS -endif - -ifeq ($(BR2_PACKAGE_LIBOPENSSL_BIN),) -define LIBOPENSSL_REMOVE_BIN - $(RM) -f $(TARGET_DIR)/usr/bin/openssl - $(RM) -f $(TARGET_DIR)/etc/ssl/misc/{CA.*,c_*} -endef -LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_BIN -endif - -ifneq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y) -define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES - rm -rf $(TARGET_DIR)/usr/lib/engines-1.1 -endef -LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES -endif - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libosip2/libosip2.hash b/buildroot-2021.05/package/libosip2/libosip2.hash deleted file mode 100644 index 400158cd..00000000 --- a/buildroot-2021.05/package/libosip2/libosip2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 4fb48b2ea568bb41c6244b0df2bb7175849ca93e84be53ceb268fdf9351bb375 libosip2-5.2.0.tar.gz - -# Hash for license file: -sha256 8d9e95ed0e48df46dc758eb0d86df611f771eab4eed94bebb77dca87f1c897de COPYING diff --git a/buildroot-2021.05/package/libosip2/libosip2.mk b/buildroot-2021.05/package/libosip2/libosip2.mk deleted file mode 100644 index b86a7247..00000000 --- a/buildroot-2021.05/package/libosip2/libosip2.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# libosip2 -# -################################################################################ - -LIBOSIP2_VERSION = 5.2.0 -LIBOSIP2_SITE = $(BR2_GNU_MIRROR)/osip -LIBOSIP2_INSTALL_STAGING = YES -LIBOSIP2_LICENSE = LGPL-2.1+ -LIBOSIP2_LICENSE_FILES = COPYING -LIBOSIP2_CPE_ID_VENDOR = gnu -LIBOSIP2_CPE_ID_PRODUCT = osip - -ifeq ($(BR2_arc),y) -# toolchain __arc__ define conflicts with libosip2 source -LIBOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__" -endif - -LIBOSIP2_CONF_OPTS = \ - --enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libostree/libostree.hash b/buildroot-2021.05/package/libostree/libostree.hash deleted file mode 100644 index bc1249de..00000000 --- a/buildroot-2021.05/package/libostree/libostree.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 91b4bd9264831d20ff00ec442d48ede526db55379bd917606863c05f43b85a51 libostree-2021.1.tar.xz -sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/buildroot-2021.05/package/libostree/libostree.mk b/buildroot-2021.05/package/libostree/libostree.mk deleted file mode 100644 index a0e7e0ef..00000000 --- a/buildroot-2021.05/package/libostree/libostree.mk +++ /dev/null @@ -1,95 +0,0 @@ -################################################################################ -# -# libostree -# -################################################################################ - -LIBOSTREE_VERSION = 2021.1 -LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz -LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION) - -LIBOSTREE_LICENSE = LGPL-2.0+ -LIBOSTREE_LICENSE_FILES = COPYING -LIBOSTREE_DEPENDENCIES = e2fsprogs host-bison host-pkgconf libglib2 libgpg-error libgpgme xz -LIBOSTREE_INSTALL_STAGING = YES - -LIBOSTREE_CONF_ENV = \ - GPG_ERROR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config -LIBOSTREE_CONF_OPTS += \ - --with-gpgme-prefix=$(STAGING_DIR)/usr \ - --disable-gtk-doc \ - --disable-gtk-doc-html \ - --disable-gtk-doc-pdf \ - --disable-man - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -LIBOSTREE_DEPENDENCIES += gobject-introspection -LIBOSTREE_CONF_OPTS += --enable-introspection -LIBOSTREE_MAKE_OPTS = INTROSPECTION_SCANNER_ENV= -else -LIBOSTREE_CONF_OPTS += --disable-introspection -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBOSTREE_CONF_OPTS += --with-openssl -LIBOSTREE_DEPENDENCIES += openssl -else -LIBOSTREE_CONF_OPTS += --without-openssl -endif - -# Avahi support needs libavahi-client, which is built by avahi if avahi-daemon -# and dbus is selected. Since there is no BR2_PACKAGE_LIBAVAHI_CLIENT config -# option yet, use the avahi-daemon and dbus config symbols to check for -# libavahi-client. -ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy) -LIBOSTREE_CONF_OPTS += --with-avahi -LIBOSTREE_DEPENDENCIES += avahi -else -LIBOSTREE_CONF_OPTS += --without-avahi -endif - -#cURL support depends on libsoup -ifeq ($(BR2_PACKAGE_LIBSOUP),y) -LIBOSTREE_CONF_OPTS += --with-soup -LIBOSTREE_DEPENDENCIES += libsoup -ifeq ($(BR2_PACKAGE_LIBCURL),y) -LIBOSTREE_CONF_OPTS += --with-curl -LIBOSTREE_DEPENDENCIES += libcurl -else -LIBOSTREE_CONF_OPTS += --without-curl -endif -else -LIBOSTREE_CONF_OPTS += --without-soup --without-curl -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) -LIBOSTREE_CONF_OPTS += --with-libarchive -LIBOSTREE_DEPENDENCIES += libarchive -else -LIBOSTREE_CONF_OPTS += --without-libarchive -endif - -ifeq ($(BR2_PACKAGE_LIBFUSE),y) -LIBOSTREE_CONF_OPTS += --enable-rofiles-fuse -LIBOSTREE_DEPENDENCIES += libfuse -else -LIBOSTREE_CONF_OPTS += --disable-rofiles-fuse -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -LIBOSTREE_CONF_OPTS += --with-selinux -LIBOSTREE_DEPENDENCIES += libselinux -else -LIBOSTREE_CONF_OPTS += --without-selinux -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -LIBOSTREE_CONF_OPTS += \ - --with-libsystemd \ - --with-systemdsystemunitdir=/usr/lib/systemd/system -LIBOSTREE_DEPENDENCIES += systemd -else -LIBOSTREE_CONF_OPTS += --without-libsystemd -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libp11/libp11.mk b/buildroot-2021.05/package/libp11/libp11.mk deleted file mode 100644 index 45a718ee..00000000 --- a/buildroot-2021.05/package/libp11/libp11.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# libp11 -# -################################################################################ - -LIBP11_VERSION = 0.4.11 -LIBP11_SITE = https://github.com/OpenSC/libp11/releases/download/libp11-$(LIBP11_VERSION) -LIBP11_DEPENDENCIES = openssl host-pkgconf -LIBP11_INSTALL_STAGING = YES -LIBP11_LICENSE = LGPL-2.1+ -LIBP11_LICENSE_FILES = COPYING - -# pkg-config returns a libcrypto enginesdir prefixed with the sysroot, -# so let's rip it out. -LIBP11_CONF_OPTS = \ - --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` - -ifeq ($(BR2_PACKAGE_P11_KIT),y) -LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so -endif - -HOST_LIBP11_DEPENDENCIES = host-pkgconf host-openssl - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libpam-nfc/libpam-nfc.hash b/buildroot-2021.05/package/libpam-nfc/libpam-nfc.hash deleted file mode 100644 index 27896ef4..00000000 --- a/buildroot-2021.05/package/libpam-nfc/libpam-nfc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 f44273944f1ecc78b10b65147328860836b60fe4bb8c39819e32199f2870d48b libpam-nfc-bb762e0e649195110e015ffb605c4375e927c437.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/libpam-nfc/libpam-nfc.mk b/buildroot-2021.05/package/libpam-nfc/libpam-nfc.mk deleted file mode 100644 index d4f6d446..00000000 --- a/buildroot-2021.05/package/libpam-nfc/libpam-nfc.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# libpam-nfc -# -################################################################################ - -LIBPAM_NFC_VERSION = bb762e0e649195110e015ffb605c4375e927c437 -LIBPAM_NFC_SITE = $(call github,nfc-tools,pam_nfc,$(LIBPAM_NFC_VERSION)) -LIBPAM_NFC_LICENSE = GPL-2.0 -LIBPAM_NFC_LICENSE_FILES = COPYING -LIBPAM_NFC_DEPENDENCIES = linux-pam libnfc -# Fetching from github, we need to generate the configure script -LIBPAM_NFC_AUTORECONF = YES -LIBPAM_NFC_INSTALL_STAGING = YES - -LIBPAM_NFC_CONF_OPTS = \ - --with-pam-dir=/lib/security - -# libpam breaks with parallel build, but is very fast to build. -LIBPAM_NFC_MAKE = $(MAKE1) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libpcap/libpcap.hash b/buildroot-2021.05/package/libpcap/libpcap.hash deleted file mode 100644 index e70d0712..00000000 --- a/buildroot-2021.05/package/libpcap/libpcap.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://www.tcpdump.org/release/libpcap-1.10.0.tar.gz.sig -sha256 8d12b42623eeefee872f123bd0dc85d535b00df4d42e865f993c40f7bfc92b1e libpcap-1.10.0.tar.gz - -# Hash for license file: -sha256 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd LICENSE diff --git a/buildroot-2021.05/package/libpcap/libpcap.mk b/buildroot-2021.05/package/libpcap/libpcap.mk deleted file mode 100644 index 24215ebe..00000000 --- a/buildroot-2021.05/package/libpcap/libpcap.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# libpcap -# -################################################################################ - -LIBPCAP_VERSION = 1.10.0 -LIBPCAP_SITE = https://www.tcpdump.org/release -LIBPCAP_LICENSE = BSD-3-Clause -LIBPCAP_LICENSE_FILES = LICENSE -LIBPCAP_CPE_ID_VENDOR = tcpdump -LIBPCAP_INSTALL_STAGING = YES -LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf - -# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test -# provided by autoconf relies on wchar_t. -LIBPCAP_CONF_ENV = \ - ac_cv_header_linux_wireless_h=yes \ - ac_cv_prog_cc_c99=-std=gnu99 \ - CFLAGS="$(LIBPCAP_CFLAGS)" -LIBPCAP_CFLAGS = $(TARGET_CFLAGS) -LIBPCAP_CONF_OPTS = --disable-yydebug --with-pcap=linux --without-dag \ - --without-dpdk -# Disable dbus to break recursive dependencies -LIBPCAP_CONF_OPTS += --disable-dbus -LIBPCAP_CONFIG_SCRIPTS = pcap-config - -# Omit -rpath from pcap-config output -define LIBPCAP_CONFIG_REMOVE_RPATH - $(SED) 's/^V_RPATH_OPT=.*/V_RPATH_OPT=""/g' $(@D)/pcap-config -endef -LIBPCAP_POST_BUILD_HOOKS = LIBPCAP_CONFIG_REMOVE_RPATH - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),y) -LIBPCAP_DEPENDENCIES += bluez5_utils-headers -else -LIBPCAP_CONF_OPTS += --disable-bluetooth -endif - -ifeq ($(BR2_PACKAGE_LIBNL),y) -LIBPCAP_DEPENDENCIES += libnl -LIBPCAP_CONF_OPTS += --with-libnl -else -LIBPCAP_CONF_OPTS += --without-libnl -endif - -# microblaze/sparc/sparc64 need -fPIC instead of -fpic -ifeq ($(BR2_microblaze)$(BR2_sparc)$(BR2_sparc64),y) -LIBPCAP_CFLAGS += -fPIC -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libphidget/libphidget.hash b/buildroot-2021.05/package/libphidget/libphidget.hash deleted file mode 100644 index 120d6373..00000000 --- a/buildroot-2021.05/package/libphidget/libphidget.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 f6da13dc0db057c1a87e0a831e3f5507cd26a32f3ced40f2c0ad783fc244bcd5 libphidget_2.1.8.20170607.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/libphidget/libphidget.mk b/buildroot-2021.05/package/libphidget/libphidget.mk deleted file mode 100644 index d84a8b91..00000000 --- a/buildroot-2021.05/package/libphidget/libphidget.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libphidget -# -################################################################################ - -LIBPHIDGET_VERSION = 2.1.8.20170607 -LIBPHIDGET_SOURCE = libphidget_$(LIBPHIDGET_VERSION).tar.gz -LIBPHIDGET_SITE = https://www.phidgets.com/downloads/phidget21/libraries/linux/libphidget -LIBPHIDGET_DEPENDENCIES = libusb -LIBPHIDGET_CONF_OPTS = --disable-ldconfig -LIBPHIDGET_INSTALL_STAGING = YES -LIBPHIDGET_LICENSE = LGPL-3.0 -LIBPHIDGET_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libpjsip/libpjsip.hash b/buildroot-2021.05/package/libpjsip/libpjsip.hash deleted file mode 100644 index 68c22088..00000000 --- a/buildroot-2021.05/package/libpjsip/libpjsip.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 936a4c5b98601b52325463a397ddf11ab4106c6a7b04f8dc7cdd377efbb597de pjproject-2.10.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/libpjsip/libpjsip.mk b/buildroot-2021.05/package/libpjsip/libpjsip.mk deleted file mode 100644 index 8feec9bc..00000000 --- a/buildroot-2021.05/package/libpjsip/libpjsip.mk +++ /dev/null @@ -1,167 +0,0 @@ -################################################################################ -# -# libpjsip -# -################################################################################ - -LIBPJSIP_VERSION = 2.10 -LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz -LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) -# https://github.com/pjsip/pjproject/archive/2.10.tar.gz - -LIBPJSIP_DEPENDENCIES = libsrtp -LIBPJSIP_LICENSE = GPL-2.0+ -LIBPJSIP_LICENSE_FILES = COPYING -LIBPJSIP_CPE_ID_VENDOR = pjsip -LIBPJSIP_CPE_ID_PRODUCT = pjsip -LIBPJSIP_INSTALL_STAGING = YES -LIBPJSIP_MAKE = $(MAKE1) - -LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 - -# relocation truncated to fit: R_68K_GOT16O -ifeq ($(BR2_m68k_cf),y) -LIBPJSIP_CFLAGS += -mxgot -endif - -LIBPJSIP_CONF_ENV = \ - LD="$(TARGET_CC)" \ - CFLAGS="$(LIBPJSIP_CFLAGS)" - -LIBPJSIP_CONF_OPTS = \ - --disable-resample \ - --disable-g7221-codec \ - --disable-ilbc-codec \ - --disable-libwebrtc \ - --disable-ext-sound \ - --disable-g711-codec \ - --disable-l16-codec \ - --disable-g722-codec \ - --disable-ipp \ - --disable-silk \ - --with-external-srtp - -# Note: aconfigure.ac is broken: --enable-epoll or --disable-epoll will -# both enable it. But that's OK, epoll is better than the alternative, -# so we want to use it. -LIBPJSIP_CONF_OPTS += --enable-epoll - -ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y) -LIBPJSIP_DEPENDENCIES += alsa-lib -LIBPJSIP_CONF_OPTS += --enable-sound -else -LIBPJSIP_CONF_OPTS += --disable-sound -endif - -ifeq ($(BR2_PACKAGE_BCG729),y) -LIBPJSIP_DEPENDENCIES += bcg729 -LIBPJSIP_CONF_OPTS += --with-bcg729=$(STAGING_DIR)/usr -else -LIBPJSIP_CONF_OPTS += --disable-bcg729 -endif - -ifeq ($(BR2_PACKAGE_FFMPEG),y) -LIBPJSIP_DEPENDENCIES += ffmpeg -LIBPJSIP_CONF_OPTS += --with-ffmpeg=$(STAGING_DIR)/usr -else -LIBPJSIP_CONF_OPTS += --disable-ffmpeg -endif - -ifeq ($(BR2_PACKAGE_LIBGSM),y) -LIBPJSIP_CONF_OPTS += \ - --enable-gsm-codec \ - --with-external-gsm -LIBPJSIP_DEPENDENCIES += libgsm -else -LIBPJSIP_CONF_OPTS += \ - --disable-gsm-codec -endif - -ifeq ($(BR2_PACKAGE_LIBOPENH264),y) -LIBPJSIP_DEPENDENCIES += libopenh264 -LIBPJSIP_CONF_OPTS += --with-openh264=$(STAGING_DIR)/usr -else -LIBPJSIP_CONF_OPTS += --disable-openh264 -endif - -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) -LIBPJSIP_DEPENDENCIES += libopenssl -LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr -else ifeq ($(BR2_PACKAGE_GNUTLS),y) -LIBPJSIP_DEPENDENCIES += gnutls -LIBPJSIP_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr -else -LIBPJSIP_CONF_OPTS += --disable-ssl -endif - -ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) -LIBPJSIP_DEPENDENCIES += libsamplerate -LIBPJSIP_CONF_OPTS += --enable-libsamplerate -else -LIBPJSIP_CONF_OPTS += --disable-libsamplerate -endif - -ifeq ($(BR2_PACKAGE_LIBV4L),y) -# --enable-v4l2 is broken (check for libv4l2 will be omitted) -LIBPJSIP_DEPENDENCIES += libv4l -else -LIBPJSIP_CONF_OPTS += --disable-v4l2 -endif - -ifeq ($(BR2_PACKAGE_LIBYUV),y) -LIBPJSIP_DEPENDENCIES += libyuv -LIBPJSIP_CONF_OPTS += \ - --enable-libyuv \ - --with-external-yuv -else -LIBPJSIP_CONF_OPTS += --disable-libyuv -endif - -ifeq ($(BR2_PACKAGE_OPENCORE_AMR),y) -LIBPJSIP_DEPENDENCIES += opencore-amr -LIBPJSIP_CONF_OPTS += --with-opencore-amr=$(STAGING_DIR)/usr -else -LIBPJSIP_CONF_OPTS += --disable-opencore-amr -endif - -ifeq ($(BR2_PACKAGE_OPUS),y) -LIBPJSIP_DEPENDENCIES += opus -LIBPJSIP_CONF_OPTS += --with-opus=$(STAGING_DIR)/usr -else -LIBPJSIP_CONF_OPTS += --disable-opus -endif - -ifeq ($(BR2_PACKAGE_PORTAUDIO),y) -LIBPJSIP_DEPENDENCIES += portaudio -LIBPJSIP_CONF_OPTS += --with-external-pa -else -LIBPJSIP_CONF_OPTS += --without-external-pa -endif - -ifeq ($(BR2_PACKAGE_SDL2),y) -LIBPJSIP_DEPENDENCIES += sdl2 -LIBPJSIP_CONF_OPTS += --with-sdl=$(STAGING_DIR)/usr -else -LIBPJSIP_CONF_OPTS += --disable-sdl -endif - -ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) -LIBPJSIP_CONF_OPTS += \ - --enable-speex-aec \ - --enable-speex-codec \ - --with-external-speex -LIBPJSIP_DEPENDENCIES += speex speexdsp -else -LIBPJSIP_CONF_OPTS += \ - --disable-speex-aec \ - --disable-speex-codec -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) -LIBPJSIP_DEPENDENCIES += util-linux -endif - -# disable build of test binaries -LIBPJSIP_MAKE_OPTS = lib - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libpri/Config.in b/buildroot-2021.05/package/libpri/Config.in deleted file mode 100644 index de2d96fc..00000000 --- a/buildroot-2021.05/package/libpri/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_LIBPRI - bool "libpri" - depends on BR2_USE_MMU # fork() - depends on BR2_LINUX_KERNEL - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_DAHDI_LINUX - select BR2_PACKAGE_DAHDI_TOOLS - help - libpri is an open source library that encapsulates the - protocols used to communicate over ISDN Primary Rate - Interfaces (T1, E1, J1). - - http://www.asterisk.org/downloads/libpri - -comment "libpri needs a kernel to be built" - depends on BR2_USE_MMU - depends on !BR2_LINUX_KERNEL - -comment "libpri needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libpwquality/libpwquality.mk b/buildroot-2021.05/package/libpwquality/libpwquality.mk deleted file mode 100644 index 7c0c5df3..00000000 --- a/buildroot-2021.05/package/libpwquality/libpwquality.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# libpwquality -# -################################################################################ - -LIBPWQUALITY_VERSION = 1.4.4 -LIBPWQUALITY_SOURCE = libpwquality-$(LIBPWQUALITY_VERSION).tar.bz2 -LIBPWQUALITY_SITE = https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$(LIBPWQUALITY_VERSION) -LIBPWQUALITY_LICENSE = BSD-3-Clause or GPL-2.0+ -LIBPWQUALITY_INSTALL_STAGING = YES -LIBPWQUALITY_DEPENDENCIES = cracklib -LIBPWQUALITY_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_PYTHON),y) -LIBPWQUALITY_CONF_OPTS += --enable-python-bindings -LIBPWQUALITY_DEPENDENCIES += python -LIBPWQUALITY_MAKE_ENV += $(PKG_PYTHON_DISTUTILS_ENV) -else -LIBPWQUALITY_CONF_OPTS += --disable-python-bindings -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -LIBPWQUALITY_CONF_OPTS += --enable-pam -LIBPWQUALITY_DEPENDENCIES += linux-pam -else -LIBPWQUALITY_CONF_OPTS += --disable-pam -endif - -# Static link with cracklib requires -lz if zlib is enabled -ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_ZLIB),yy) -LIBPWQUALITY_CONF_ENV += LIBS="-lz" -endif - -ifeq ($(BR2_PACKAGE_LIBPWQUALITY_TOOLS),) -define LIBPWQUALITY_REMOVE_TOOLS - rm -f $(TARGET_DIR)/usr/bin/pwmake - rm -f $(TARGET_DIR)/usr/bin/pwscore -endef - -LIBPWQUALITY_POST_INSTALL_TARGET_HOOKS += LIBPWQUALITY_REMOVE_TOOLS -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libqmi/0001-libqmi-fix-build-when-ARPHRD_RAWIP-isn-t-defined-in-.patch b/buildroot-2021.05/package/libqmi/0001-libqmi-fix-build-when-ARPHRD_RAWIP-isn-t-defined-in-.patch deleted file mode 100644 index 1212878a..00000000 --- a/buildroot-2021.05/package/libqmi/0001-libqmi-fix-build-when-ARPHRD_RAWIP-isn-t-defined-in-.patch +++ /dev/null @@ -1,39 +0,0 @@ -From cdec8660427d2895415f1d84426e39d1ed145136 Mon Sep 17 00:00:00 2001 -From: Aleksander Morgado -Date: Tue, 30 Mar 2021 00:13:45 +0200 -Subject: [PATCH] libqmi: fix build when ARPHRD_RAWIP isn't defined in libc - -The kernel may be new enough to have rmnet support, but it could be -that libc doesn't have ARPHRD_RAWIP defined yet; if so, just define it -ourselves. - -Fixes http://autobuild.buildroot.org/results/c8853b7161bd85d46c1282c6c097e7ef4042ae68 - -Signed-off-by: Aleksander Morgado ---- - src/libqmi-glib/qmi-net-port-manager-rmnet.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/src/libqmi-glib/qmi-net-port-manager-rmnet.c b/src/libqmi-glib/qmi-net-port-manager-rmnet.c -index eb26129..571d4c4 100644 ---- a/src/libqmi-glib/qmi-net-port-manager-rmnet.c -+++ b/src/libqmi-glib/qmi-net-port-manager-rmnet.c -@@ -24,8 +24,15 @@ - #include - #include - #include -+ - #include - #include -+ -+/* The if_arp.h from libc may not have this symbol yet */ -+#if !defined ARPHRD_RAWIP -+#define ARPHRD_RAWIP 519 -+#endif -+ - #include - #include - #include --- -2.30.1 - diff --git a/buildroot-2021.05/package/libqmi/libqmi.hash b/buildroot-2021.05/package/libqmi/libqmi.hash deleted file mode 100644 index 8cf25f48..00000000 --- a/buildroot-2021.05/package/libqmi/libqmi.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB -sha256 8c8c3ee719874d2529bce9b35b028fe435b36f003979a360d3ad0938449db783 libqmi-1.28.2.tar.xz diff --git a/buildroot-2021.05/package/libqmi/libqmi.mk b/buildroot-2021.05/package/libqmi/libqmi.mk deleted file mode 100644 index 6fc6d4a5..00000000 --- a/buildroot-2021.05/package/libqmi/libqmi.mk +++ /dev/null @@ -1,53 +0,0 @@ -################################################################################ -# -# libqmi -# -################################################################################ - -LIBQMI_VERSION = 1.28.2 -LIBQMI_SITE = http://www.freedesktop.org/software/libqmi -LIBQMI_SOURCE = libqmi-$(LIBQMI_VERSION).tar.xz -LIBQMI_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs) -LIBQMI_LICENSE_FILES = COPYING COPYING.LIB -LIBQMI_CPE_ID_VENDOR = libqmi_project -LIBQMI_INSTALL_STAGING = YES - -LIBQMI_DEPENDENCIES = libglib2 - -LIBQMI_CONF_OPTS = --disable-Werror - -# if libgudev available, request udev support for a better -# qmi-firmware-update experience -ifeq ($(BR2_PACKAGE_LIBGUDEV),y) -LIBQMI_DEPENDENCIES += libgudev -LIBQMI_CONF_OPTS += --with-udev -else -LIBQMI_CONF_OPTS += --without-udev -endif - -# if libmbim available, request QMI-over-MBIM support -ifeq ($(BR2_PACKAGE_LIBMBIM),y) -LIBQMI_DEPENDENCIES += libmbim -LIBQMI_CONF_OPTS += --enable-mbim-qmux -else -LIBQMI_CONF_OPTS += --disable-mbim-qmux -endif - -# if libqrtr-glib available, enable support for QMI over QRTR -ifeq ($(BR2_PACKAGE_LIBQRTR_GLIB),y) -LIBQMI_DEPENDENCIES += libqrtr-glib -LIBQMI_CONF_OPTS += --enable-qrtr -else -LIBQMI_CONF_OPTS += --disable-qrtr -endif - -# if ModemManager available, enable MM runtime check in -# qmi-firmware-update (note that we don't need to build-depend on -# anything else) -ifeq ($(BR2_PACKAGE_MODEM_MANAGER),y) -LIBQMI_CONF_OPTS += --enable-mm-runtime-check -else -LIBQMI_CONF_OPTS += --disable-mm-runtime-check -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libqrtr-glib/libqrtr-glib.mk b/buildroot-2021.05/package/libqrtr-glib/libqrtr-glib.mk deleted file mode 100644 index b9fc5cf3..00000000 --- a/buildroot-2021.05/package/libqrtr-glib/libqrtr-glib.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libqrtr-glib -# -################################################################################ - -LIBQRTR_GLIB_VERSION = 1.0.0 -LIBQRTR_GLIB_SITE = http://www.freedesktop.org/software/libqmi -LIBQRTR_GLIB_SOURCE = libqrtr-glib-$(LIBQRTR_GLIB_VERSION).tar.xz -LIBQRTR_GLIB_LICENSE = LGPL-2.1+ -LIBQRTR_GLIB_LICENSE_FILES = COPYING.LIB -LIBQRTR_GLIB_INSTALL_STAGING = YES -LIBQRTR_GLIB_DEPENDENCIES = libglib2 - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libressl/libressl.hash b/buildroot-2021.05/package/libressl/libressl.hash deleted file mode 100644 index 9f216bf2..00000000 --- a/buildroot-2021.05/package/libressl/libressl.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 -sha256 798a65fd61d385e09d559810cdfa46512f8def5919264cfef241a7b086ce7cfe libressl-3.2.5.tar.gz -# Locally computed -sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING diff --git a/buildroot-2021.05/package/libressl/libressl.mk b/buildroot-2021.05/package/libressl/libressl.mk deleted file mode 100644 index ad345ba3..00000000 --- a/buildroot-2021.05/package/libressl/libressl.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# libressl -# -################################################################################ - -LIBRESSL_VERSION = 3.2.5 -LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL -LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) -LIBRESSL_LICENSE_FILES = COPYING -LIBRESSL_CPE_ID_VENDOR = openbsd -LIBRESSL_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),) -define LIBRESSL_REMOVE_BIN - $(RM) -f $(TARGET_DIR)/usr/bin/openssl -endef -LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/librsvg/Config.in b/buildroot-2021.05/package/librsvg/Config.in deleted file mode 100644 index 3272ecd7..00000000 --- a/buildroot-2021.05/package/librsvg/Config.in +++ /dev/null @@ -1,30 +0,0 @@ -config BR2_PACKAGE_LIBRSVG - bool "librsvg" - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - depends on BR2_INSTALL_LIBSTDCPP # pango - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_CAIRO_PNG - select BR2_PACKAGE_CAIRO_SCRIPT - select BR2_PACKAGE_GDK_PIXBUF - select BR2_PACKAGE_HOST_RUSTC - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_PANGO - help - The rsvg library is an efficient renderer for Scalable - Vector Graphics (SVG) pictures. - - https://wiki.gnome.org/Projects/LibRsvg - -comment "librsvg needs a toolchain w/ wchar, threads, C++, gcc >= 4.8" - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/librsvg/librsvg.hash b/buildroot-2021.05/package/librsvg/librsvg.hash deleted file mode 100644 index 1b3c2668..00000000 --- a/buildroot-2021.05/package/librsvg/librsvg.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/librsvg/2.50/librsvg-2.50.2.sha256sum -sha256 6211f271ce4cd44a7318190d36712e9cea384a933d3e3570004edeb210a056d3 librsvg-2.50.2.tar.xz - -# Locally computed -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/librsvg/librsvg.mk b/buildroot-2021.05/package/librsvg/librsvg.mk deleted file mode 100644 index 5eeb68f9..00000000 --- a/buildroot-2021.05/package/librsvg/librsvg.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# librsvg -# -################################################################################ - -LIBRSVG_VERSION_MAJOR = 2.50 -LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).2 -LIBRSVG_SITE = http://ftp.gnome.org/pub/gnome/sources/librsvg/$(LIBRSVG_VERSION_MAJOR) -LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz -LIBRSVG_INSTALL_STAGING = YES -LIBRSVG_CONF_ENV = \ - LIBS=$(TARGET_NLS_LIBS) \ - RUST_TARGET=$(RUSTC_TARGET_NAME) -LIBRSVG_CONF_OPTS = --disable-pixbuf-loader --disable-tools -HOST_LIBRSVG_CONF_OPTS = --enable-introspection=no -LIBRSVG_DEPENDENCIES = cairo host-gdk-pixbuf gdk-pixbuf host-rustc libglib2 libxml2 pango \ - $(TARGET_NLS_DEPENDENCIES) -HOST_LIBRSVG_DEPENDENCIES = host-cairo host-gdk-pixbuf host-libglib2 host-libxml2 host-pango host-rustc -LIBRSVG_LICENSE = LGPL-2.1+ -LIBRSVG_LICENSE_FILES = COPYING.LIB -LIBRSVG_CPE_ID_VENDOR = gnome - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -LIBRSVG_CONF_OPTS += --enable-introspection -LIBRSVG_DEPENDENCIES += gobject-introspection -else -LIBRSVG_CONF_OPTS += --disable-introspection -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/librtlsdr/0001-disable_shared_library_target_in_build.patch b/buildroot-2021.05/package/librtlsdr/0001-disable_shared_library_target_in_build.patch deleted file mode 100644 index 2fb63465..00000000 --- a/buildroot-2021.05/package/librtlsdr/0001-disable_shared_library_target_in_build.patch +++ /dev/null @@ -1,130 +0,0 @@ -From 9a1c2587d4ef18e2026811deabd024eb7577d9ce Mon Sep 17 00:00:00 2001 -From: Gwenhael Goavec-Merou -Date: Fri, 15 May 2020 16:14:48 +0200 -Subject: [PATCH] disable shared library target in build - -Disable shared library target if BUILD_SHARED_LIBS if OFF. - -Patch retrieved from -https://git.buildroot.net/buildroot/tree/package/librtlsdr/0001-disable_shared_library_target_in_build.patch?h=2020.02.x - -Patch has been updated to work with master and to be able to keep current -behavior of building shared and static version of library if -BUILD_SHARED_LIBS and BUILD_STATIC_LIBS are both set. -Moreover, if BUILD_STATIC_LIBS is OFF, only shared version of library -will be install. - -[Upstream status: http://lists.osmocom.org/pipermail/osmocom-sdr/2020-May/002075.html] - -Signed-off-by: Yuvaraj Patil -Signed-off-by: Fabrice Fontaine -Signed-off-by: Gwenhael Goavec-Merou -Signed-off-by: Titouan Christophe ---- - src/CMakeLists.txt | 30 +++++++++++++++++++++--------- - 1 file changed, 21 insertions(+), 9 deletions(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index de93044..13b7b1a 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -18,6 +18,8 @@ - ######################################################################## - # Setup shared library variant - ######################################################################## -+option(BUILD_SHARED_LIBS "Build shared library" ON) -+if(BUILD_SHARED_LIBS) - add_library(rtlsdr SHARED librtlsdr.c - tuner_e4k.c tuner_fc0012.c tuner_fc0013.c tuner_fc2580.c tuner_r82xx.c) - target_link_libraries(rtlsdr PkgConfig::LIBUSB) -@@ -30,10 +32,14 @@ set_target_properties(rtlsdr PROPERTIES OUTPUT_NAME rtlsdr) - set_target_properties(rtlsdr PROPERTIES SOVERSION ${MAJOR_VERSION}) - set_target_properties(rtlsdr PROPERTIES VERSION ${LIBVER}) - generate_export_header(rtlsdr) -+list(APPEND rtlsdr_lib rtlsdr) -+endif() - - ######################################################################## - # Setup static library variant - ######################################################################## -+option(BUILD_STATIC_LIBS "Build static library" ON) -+if(BUILD_STATIC_LIBS) - add_library(rtlsdr_static STATIC librtlsdr.c - tuner_e4k.c tuner_fc0012.c tuner_fc0013.c tuner_fc2580.c tuner_r82xx.c) - target_link_libraries(rtlsdr_static PkgConfig::LIBUSB) -@@ -47,6 +53,8 @@ if(NOT WIN32) - set_target_properties(rtlsdr_static PROPERTIES OUTPUT_NAME rtlsdr) - endif() - generate_export_header(rtlsdr_static) -+list(APPEND rtlsdr_lib rtlsdr_static) -+endif() - - ######################################################################## - # Set up Windows DLL resource files -@@ -90,37 +98,37 @@ add_executable(rtl_eeprom rtl_eeprom.c) - add_executable(rtl_adsb rtl_adsb.c) - add_executable(rtl_power rtl_power.c) - add_executable(rtl_biast rtl_biast.c) --set(INSTALL_TARGETS rtlsdr rtlsdr_static rtl_sdr rtl_tcp rtl_test rtl_fm rtl_eeprom rtl_adsb rtl_power rtl_biast) -+set(INSTALL_TARGETS ${rtlsdr_lib} rtl_sdr rtl_tcp rtl_test rtl_fm rtl_eeprom rtl_adsb rtl_power rtl_biast) - --target_link_libraries(rtl_sdr rtlsdr convenience_static -+target_link_libraries(rtl_sdr ${rtlsdr_lib} convenience_static - ${LIBUSB_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ) --target_link_libraries(rtl_tcp rtlsdr convenience_static -+target_link_libraries(rtl_tcp ${rtlsdr_lib} convenience_static - ${LIBUSB_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ) --target_link_libraries(rtl_test rtlsdr convenience_static -+target_link_libraries(rtl_test ${rtlsdr_lib} convenience_static - ${LIBUSB_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ) --target_link_libraries(rtl_fm rtlsdr convenience_static -+target_link_libraries(rtl_fm ${rtlsdr_lib} convenience_static - ${LIBUSB_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ) --target_link_libraries(rtl_eeprom rtlsdr convenience_static -+target_link_libraries(rtl_eeprom ${rtlsdr_lib} convenience_static - ${LIBUSB_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ) --target_link_libraries(rtl_adsb rtlsdr convenience_static -+target_link_libraries(rtl_adsb ${rtlsdr_lib} convenience_static - ${LIBUSB_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ) --target_link_libraries(rtl_power rtlsdr convenience_static -+target_link_libraries(rtl_power ${rtlsdr_lib} convenience_static - ${LIBUSB_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ) --target_link_libraries(rtl_biast rtlsdr convenience_static -+target_link_libraries(rtl_biast ${rtlsdr_lib} convenience_static - ${LIBUSB_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ) -@@ -156,12 +164,16 @@ endif() - ######################################################################## - # Install built library files & utilities - ######################################################################## -+if(BUILD_SHARED_LIBS) - install(TARGETS rtlsdr EXPORT RTLSDR-export - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} # .so/.dylib file - ) -+endif() -+if(BUILD_STATIC_LIBS) - install(TARGETS rtlsdr_static EXPORT RTLSDR-export - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} # .so/.dylib file - ) -+endif() - install(TARGETS rtl_sdr rtl_tcp rtl_test rtl_fm rtl_eeprom rtl_adsb rtl_power rtl_biast - DESTINATION ${CMAKE_INSTALL_BINDIR} - ) --- -2.25.3 - diff --git a/buildroot-2021.05/package/librtlsdr/0002-cmake-Modules-Version.cmake-don-t-use-Git-version-if.patch b/buildroot-2021.05/package/librtlsdr/0002-cmake-Modules-Version.cmake-don-t-use-Git-version-if.patch deleted file mode 100644 index 9c808edd..00000000 --- a/buildroot-2021.05/package/librtlsdr/0002-cmake-Modules-Version.cmake-don-t-use-Git-version-if.patch +++ /dev/null @@ -1,47 +0,0 @@ -From feb5d9c6b7bcec788f9b01781c205e31fff260e7 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 11 Aug 2020 23:07:08 +0200 -Subject: [PATCH] cmake/Modules/Version.cmake: don't use Git version if not in - a Git repo - -If the librtlsdr code comes from a tarball, it doesn't have any .git/ -metadata, and therefore even if Git (as a tool) is found, the logic in -cmake/Modules/Version.cmake fails finding a version through Git: - --- Extracting version information from git describe... -fatal: Not a git repository (or any of the parent directories): .git - -As a consequence, the VERSION variable is empty, which later causes -cmake to bail out with: - -CMake Error at /home/test/autobuild/run/instance-1/output-1/host/share/cmake-3.15/Modules/WriteBasicConfigVersionFile.cmake:43 (message): - No VERSION specified for WRITE_BASIC_CONFIG_VERSION_FILE() -Call Stack (most recent call first): - /home/test/autobuild/run/instance-1/output-1/host/share/cmake-3.15/Modules/CMakePackageConfigHelpers.cmake:225 (write_basic_config_version_file) - CMakeLists.txt:173 (write_basic_package_version_file) - -To avoid this, we only use Git to determine the version if the cmake -project top-level source directory has a .git/ folder. - -Upstream: https://github.com/librtlsdr/librtlsdr/pull/75 -Signed-off-by: Thomas Petazzoni ---- - cmake/Modules/Version.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/cmake/Modules/Version.cmake b/cmake/Modules/Version.cmake -index 2d4e76d..6f67fa4 100644 ---- a/cmake/Modules/Version.cmake -+++ b/cmake/Modules/Version.cmake -@@ -32,7 +32,7 @@ set(PATCH_VERSION ${VERSION_INFO_PATCH_VERSION}) - ######################################################################## - find_package(Git QUIET) - --if(GIT_FOUND) -+if(GIT_FOUND AND EXISTS ${CMAKE_SOURCE_DIR}/.git) - message(STATUS "Extracting version information from git describe...") - execute_process( - COMMAND ${GIT_EXECUTABLE} describe --always --abbrev=4 --long --- -2.26.2 - diff --git a/buildroot-2021.05/package/librtlsdr/librtlsdr.mk b/buildroot-2021.05/package/librtlsdr/librtlsdr.mk deleted file mode 100644 index 7796d109..00000000 --- a/buildroot-2021.05/package/librtlsdr/librtlsdr.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# librtlsdr -# -################################################################################ - -LIBRTLSDR_VERSION = ed0317e6a58c098874ac58b769cf2e609c18d9a5 -LIBRTLSDR_SITE = $(call github,steve-m,librtlsdr,$(LIBRTLSDR_VERSION)) -LIBRTLSDR_LICENSE = GPL-2.0+ -LIBRTLSDR_LICENSE_FILES = COPYING -LIBRTLSDR_INSTALL_STAGING = YES -LIBRTLSDR_DEPENDENCIES = libusb - -# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable -ifeq ($(BR2_STATIC_LIBS),y) -LIBRTLSDR_CONF_OPTS += -DBUILD_STATIC_LIBS=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -LIBRTLSDR_CONF_OPTS += -DBUILD_STATIC_LIBS=ON -else ifeq ($(BR2_SHARED_LIBS),y) -LIBRTLSDR_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -LIBRTLSDR_CONF_OPTS += -DINSTALL_UDEV_RULES=ON -endif - -ifeq ($(BR2_PACKAGE_LIBRTLSDR_DETACH_DRIVER),y) -LIBRTLSDR_CONF_OPTS += -DDETACH_KERNEL_DRIVER=1 -endif - -ifeq ($(BR2_PACKAGE_LIBRTLSDR_ZEROCOPY),y) -LIBRTLSDR_CONF_OPTS += -DENABLE_ZEROCOPY=ON -else -LIBRTLSDR_CONF_OPTS += -DENABLE_ZEROCOPY=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libseccomp/Config.in b/buildroot-2021.05/package/libseccomp/Config.in deleted file mode 100644 index d3b4bb81..00000000 --- a/buildroot-2021.05/package/libseccomp/Config.in +++ /dev/null @@ -1,28 +0,0 @@ -config BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS - bool - default y if BR2_aarch64 - default y if BR2_arm || BR2_armeb - default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - default y if BR2_i386 || BR2_x86_64 - default y if BR2_powerpc64 || BR2_powerpc - -config BR2_PACKAGE_LIBSECCOMP - bool "libseccomp" - depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 - help - High level interface to the Linux Kernel's seccomp filter - - The libseccomp library provides an easy to use, platform - independent, interface to the Linux Kernel's syscall filtering - mechanism: seccomp. The libseccomp API is designed to abstract - away the underlying BPF based syscall filter language and - present a more conventional function-call based filtering - interface that should be familiar to, and easily adopted by - application developers. - - https://github.com/seccomp/libseccomp - -comment "libseccomp needs a toolchain w/ headers >= 3.12" - depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 diff --git a/buildroot-2021.05/package/libseccomp/libseccomp.hash b/buildroot-2021.05/package/libseccomp/libseccomp.hash deleted file mode 100644 index 2d07c1c1..00000000 --- a/buildroot-2021.05/package/libseccomp/libseccomp.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/seccomp/libseccomp/releases/tag/v2.4.4 -sha256 4e79738d1ef3c9b7ca9769f1f8b8d84fc17143c2c1c432e53b9c64787e0ff3eb libseccomp-2.4.4.tar.gz -# Locally calculated -sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b LICENSE diff --git a/buildroot-2021.05/package/libseccomp/libseccomp.mk b/buildroot-2021.05/package/libseccomp/libseccomp.mk deleted file mode 100644 index e7512730..00000000 --- a/buildroot-2021.05/package/libseccomp/libseccomp.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# libseccomp -# -################################################################################ - -LIBSECCOMP_VERSION = 2.4.4 -LIBSECCOMP_SITE = https://github.com/seccomp/libseccomp/releases/download/v$(LIBSECCOMP_VERSION) -LIBSECCOMP_LICENSE = LGPL-2.1 -LIBSECCOMP_LICENSE_FILES = LICENSE -LIBSECCOMP_CPE_ID_VENDOR = libseccomp_project -LIBSECCOMP_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch b/buildroot-2021.05/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch deleted file mode 100644 index cbd98a61..00000000 --- a/buildroot-2021.05/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch +++ /dev/null @@ -1,50 +0,0 @@ -From c26495025ab1a2597e5433b67a3bf793d3ce1e08 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Fri, 25 Oct 2019 13:37:14 +0200 -Subject: [PATCH] Do not use PYCEXT, and rely on the installed file name - -PYCEXT is computed by asking the Python intrepreter what is the -file extension used for native Python modules. - -Unfortunately, when cross-compiling, the host Python doesn't give the -proper result: it gives the result matching the build machine, and not -the target machine. Due to this, the symlink has an incorrect name, -and doesn't point to the .so file that was actually built/installed. - -To address this and keep things simple, this patch just changes the ln -invocation to rely on the name of the _selinux*.so Python module that -was installed. - -Signed-off-by: Antoine Tenart -[Refreshed for 3.1] -Signed-off-by: Thomas Petazzoni -[Refreshed for 3.0] -Signed-off-by: Adam Duskett ---- - src/Makefile | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/src/Makefile b/src/Makefile -index 190016e2af34..7ee22fd35da3 100644 ---- a/src/Makefile -+++ b/src/Makefile -@@ -15,7 +15,6 @@ INCLUDEDIR ?= $(PREFIX)/include - PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) - PYLIBS ?= $(shell $(PKG_CONFIG) --libs $(PYPREFIX)) - PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib(plat_specific=1, prefix='$(PREFIX)'))") --PYCEXT ?= $(shell $(PYTHON) -c 'import importlib.machinery;print(importlib.machinery.EXTENSION_SUFFIXES[0])') - RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') - RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -L" + RbConfig::CONFIG["archlibdir"] + " " + RbConfig::CONFIG["LIBRUBYARG_SHARED"]') - RUBYINSTALL ?= $(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') -@@ -176,7 +175,7 @@ install: all - install-pywrap: pywrap - $(PYTHON) setup.py install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` $(PYTHON_SETUP_ARGS) - install -m 644 $(SWIGPYOUT) $(DESTDIR)$(PYTHONLIBDIR)/selinux/__init__.py -- ln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux$(PYCEXT) $(DESTDIR)$(PYTHONLIBDIR)/_selinux$(PYCEXT) -+ ln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux*.so $(DESTDIR)$(PYTHONLIBDIR)/ - - install-rubywrap: rubywrap - test -d $(DESTDIR)$(RUBYINSTALL) || install -m 755 -d $(DESTDIR)$(RUBYINSTALL) --- -2.26.2 - diff --git a/buildroot-2021.05/package/libselinux/0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch b/buildroot-2021.05/package/libselinux/0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch deleted file mode 100644 index 2a23e98f..00000000 --- a/buildroot-2021.05/package/libselinux/0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 398d2ceef92cb1baac18e6b34a1a8e1bf41296cd Mon Sep 17 00:00:00 2001 -From: Nicolas Iooss -Date: Tue, 16 Feb 2021 22:13:28 +0100 -Subject: [PATCH] libselinux: rename gettid() to something which never - conflicts with the libc - -Musl recently added a wrapper for gettid() syscall. There is no way to -detect this new version in a reliable way, so rename our gettid() -wrapper to a non-conflicting name. - -Introduce a new function which, when using a libc known to provide a -wrapper for gettid(), calls it, and which, otherwise, performs the -syscall directly. - -Anyway this function is only used on systems where /proc/thread-self -does not exist, which are therefore running Linux<3.17. - -Fixes: https://github.com/SELinuxProject/selinux/issues/282 -Signed-off-by: Nicolas Iooss -Acked-by: Petr Lautrbach -[Retrieved from: -https://github.com/SELinuxProject/selinux/commit/398d2ceef92cb1baac18e6b34a1a8e1bf41296cd] -Signed-off-by: Fabrice Fontaine ---- - src/procattr.c | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -diff --git a/src/procattr.c b/src/procattr.c -index 1aa67ac53..840570525 100644 ---- a/src/procattr.c -+++ b/src/procattr.c -@@ -25,21 +25,23 @@ static __thread char destructor_initialized; - /* Bionic and glibc >= 2.30 declare gettid() system call wrapper in unistd.h and - * has a definition for it */ - #ifdef __BIONIC__ -- #define OVERRIDE_GETTID 0 -+ #define HAVE_GETTID 1 - #elif !defined(__GLIBC_PREREQ) -- #define OVERRIDE_GETTID 1 -+ #define HAVE_GETTID 0 - #elif !__GLIBC_PREREQ(2,30) -- #define OVERRIDE_GETTID 1 -+ #define HAVE_GETTID 0 - #else -- #define OVERRIDE_GETTID 0 -+ #define HAVE_GETTID 1 - #endif - --#if OVERRIDE_GETTID --static pid_t gettid(void) -+static pid_t selinux_gettid(void) - { -+#if HAVE_GETTID -+ return gettid(); -+#else - return syscall(__NR_gettid); --} - #endif -+} - - static void procattr_thread_destructor(void __attribute__((unused)) *unused) - { -@@ -94,7 +96,7 @@ static int openattr(pid_t pid, const char *attr, int flags) - if (fd >= 0 || errno != ENOENT) - goto out; - free(path); -- tid = gettid(); -+ tid = selinux_gettid(); - rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); - } else { - errno = EINVAL; diff --git a/buildroot-2021.05/package/libselinux/Config.in b/buildroot-2021.05/package/libselinux/Config.in deleted file mode 100644 index 62070c8d..00000000 --- a/buildroot-2021.05/package/libselinux/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_LIBSELINUX - bool "libselinux" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LIBSEPOL - select BR2_PACKAGE_PCRE - select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC - help - libselinux is the runtime SELinux library that provides - interfaces (e.g. library functions for the SELinux kernel - APIs like getcon(), other support functions like - getseuserbyname()) to SELinux-aware applications. libselinux - may use the shared libsepol to manipulate the binary policy - if necessary (e.g. to downgrade the policy format to an - older version supported by the kernel) when loading policy. - - http://selinuxproject.org/page/Main_Page - -comment "libselinux needs a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libselinux/libselinux.hash b/buildroot-2021.05/package/libselinux/libselinux.hash deleted file mode 100644 index 1101b405..00000000 --- a/buildroot-2021.05/package/libselinux/libselinux.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 ea5dcbb4d859e3f999c26a13c630da2f16dff9462e3cc8cb7b458ac157d112e7 libselinux-3.1.tar.gz - -# Hash for license file -sha256 86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364 LICENSE diff --git a/buildroot-2021.05/package/libselinux/libselinux.mk b/buildroot-2021.05/package/libselinux/libselinux.mk deleted file mode 100644 index fdd13aa9..00000000 --- a/buildroot-2021.05/package/libselinux/libselinux.mk +++ /dev/null @@ -1,137 +0,0 @@ -################################################################################ -# -# libselinux -# -################################################################################ - -LIBSELINUX_VERSION = 3.1 -LIBSELINUX_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 -LIBSELINUX_LICENSE = Public Domain -LIBSELINUX_LICENSE_FILES = LICENSE -LIBSELINUX_CPE_ID_VENDOR = selinuxproject - -LIBSELINUX_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) libsepol pcre - -LIBSELINUX_INSTALL_STAGING = YES - -# Set SHLIBDIR to /usr/lib so it has the same value than LIBDIR, as a result -# we won't have to use a relative path in 0002-revert-ln-relative.patch -LIBSELINUX_MAKE_OPTS = \ - $(TARGET_CONFIGURE_OPTS) \ - ARCH=$(KERNEL_ARCH) \ - SHLIBDIR=/usr/lib - -LIBSELINUX_MAKE_INSTALL_TARGETS = install - -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) -LIBSELINUX_DEPENDENCIES += musl-fts -LIBSELINUX_MAKE_OPTS += FTS_LDLIBS=-lfts -endif - -ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIBSELINUX_DEPENDENCIES += python3 host-swig - -LIBSELINUX_MAKE_OPTS += \ - $(PKG_PYTHON_DISTUTILS_ENV) \ - PYTHON=python$(PYTHON3_VERSION_MAJOR) - -LIBSELINUX_MAKE_INSTALL_TARGETS += install-pywrap - -# dependencies are broken and result in file truncation errors at link -# time if the Python bindings are built through the same make -# invocation as the rest of the library. -define LIBSELINUX_BUILD_PYTHON_BINDINGS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - $(LIBSELINUX_MAKE_OPTS) swigify pywrap -endef -endif # python3 - -# Filter out D_FILE_OFFSET_BITS=64. This fixes errors caused by glibc 2.22. We -# set CFLAGS, CPPFLAGS and LDFLAGS here because we want to win over the -# CFLAGS/CPPFLAGS/LDFLAGS definitions passed by $(PKG_PYTHON_DISTUTILS_ENV) -# when the python binding is enabled. -LIBSELINUX_MAKE_OPTS += \ - CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \ - CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ - LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" - -define LIBSELINUX_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - $(LIBSELINUX_MAKE_OPTS) all - $(LIBSELINUX_BUILD_PYTHON_BINDINGS) -endef - -define LIBSELINUX_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - $(LIBSELINUX_MAKE_OPTS) DESTDIR=$(STAGING_DIR) \ - $(LIBSELINUX_MAKE_INSTALL_TARGETS) -endef - -define LIBSELINUX_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - $(LIBSELINUX_MAKE_OPTS) DESTDIR=$(TARGET_DIR) \ - $(LIBSELINUX_MAKE_INSTALL_TARGETS) - if ! grep -q "selinuxfs" $(TARGET_DIR)/etc/fstab; then \ - echo "none /sys/fs/selinux selinuxfs noauto 0 0" >> $(TARGET_DIR)/etc/fstab ; fi -endef - -HOST_LIBSELINUX_DEPENDENCIES = \ - host-libsepol host-pcre host-swig host-python3 - -HOST_LIBSELINUX_MAKE_OPTS = \ - $(HOST_CONFIGURE_OPTS) \ - PREFIX=$(HOST_DIR) \ - SHLIBDIR=$(HOST_DIR)/lib \ - LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \ - $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ - PYTHON=python$(PYTHON3_VERSION_MAJOR) - -define HOST_LIBSELINUX_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) \ - $(HOST_LIBSELINUX_MAKE_OPTS) all - # Generate python interface wrapper - $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) \ - $(HOST_LIBSELINUX_MAKE_OPTS) swigify pywrap -endef - -define HOST_LIBSELINUX_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \ - $(HOST_LIBSELINUX_MAKE_OPTS) install - # Install python interface wrapper - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \ - $(HOST_LIBSELINUX_MAKE_OPTS) install-pywrap -endef - -define LIBSELINUX_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT) - $(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_SECURITY_SELINUX) - $(call KCONFIG_ENABLE_OPT,CONFIG_INET) - $(call KCONFIG_ENABLE_OPT,CONFIG_NET) - $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY) - $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK) - $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX) - $(call KCONFIG_SET_OPT,CONFIG_LSM,"selinux") - $(if $(BR2_TARGET_ROOTFS_EROFS), - $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR) - $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_SECURITY)) - $(if $(BR2_TARGET_ROOTFS_EXT2), - $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_XATTR) - $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_SECURITY)) - $(if $(BR2_TARGET_ROOTFS_EXT2_3), - $(call KCONFIG_ENABLE_OPT,CONFIG_EXT3_FS_SECURITY)) - $(if $(BR2_TARGET_ROOTFS_EXT2_4), - $(call KCONFIG_ENABLE_OPT,CONFIG_EXT4_FS_SECURITY)) - $(if $(BR2_TARGET_ROOTFS_F2FS), - $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_XATTR) - $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_SECURITY)) - $(if $(BR2_TARGET_ROOTFS_JFFS2), - $(call KCONFIG_ENABLE_OPT,CONFIG_JFS_SECURITY)) - $(if $(BR2_TARGET_ROOTFS_SQUASHFS), - $(call KCONFIG_ENABLE_OPT,CONFIG_SQUASHFS_XATTR)) - $(if $(BR2_TARGET_ROOTFS_UBIFS), - $(call KCONFIG_ENABLE_OPT,CONFIG_UBIFS_FS_XATTR) - $(call KCONFIG_ENABLE_OPT,CONFIG_UBIFS_FS_SECURITY)) -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libsemanage/Config.in b/buildroot-2021.05/package/libsemanage/Config.in deleted file mode 100644 index 3c7050ee..00000000 --- a/buildroot-2021.05/package/libsemanage/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_LIBSEMANAGE - bool "libsemanage" - depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_AUDIT - select BR2_PACKAGE_LIBSELINUX - select BR2_PACKAGE_BZIP2 - help - libsemanage is the policy management library. It uses - libsepol for binary policy manipulation and libselinux for - interacting with the SELinux system. It also exec's helper - programs for loading policy and for checking whether the - file_contexts configuration is valid (load_policy and - setfiles from policycoreutils) presently, although this may - change at least for the bootstrapping case (for rpm). - - http://selinuxproject.org/page/Main_Page - -comment "libsemanage needs a toolchain w/ threads, dynamic library" - depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libsemanage/libsemanage.hash b/buildroot-2021.05/package/libsemanage/libsemanage.hash deleted file mode 100644 index a977ddab..00000000 --- a/buildroot-2021.05/package/libsemanage/libsemanage.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 22d6c75526e40d1781c30bcf29abf97171bdfe6780923f11c8e1c76a75a21ff8 libsemanage-3.1.tar.gz - -# Hash for license file -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2021.05/package/libsemanage/libsemanage.mk b/buildroot-2021.05/package/libsemanage/libsemanage.mk deleted file mode 100644 index 48e2bbbc..00000000 --- a/buildroot-2021.05/package/libsemanage/libsemanage.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# libsemanage -# -################################################################################ - -LIBSEMANAGE_VERSION = 3.1 -LIBSEMANAGE_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 -LIBSEMANAGE_LICENSE = LGPL-2.1+ -LIBSEMANAGE_LICENSE_FILES = COPYING -LIBSEMANAGE_DEPENDENCIES = host-bison host-flex audit libselinux bzip2 -LIBSEMANAGE_CPE_ID_VENDOR = selinuxproject -LIBSEMANAGE_INSTALL_STAGING = YES - -LIBSEMANAGE_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) - -define LIBSEMANAGE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) all -endef - -define LIBSEMANAGE_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install -endef - -define LIBSEMANAGE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install -endef - -HOST_LIBSEMANAGE_DEPENDENCIES = \ - host-bison \ - host-audit \ - host-libsepol \ - host-libselinux \ - host-bzip2 \ - host-swig \ - host-python3 - -HOST_LIBSEMANAGE_MAKE_OPTS += \ - $(HOST_CONFIGURE_OPTS) \ - PREFIX=$(HOST_DIR) \ - SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/" \ - DEFAULT_SEMANAGE_CONF_LOCATION=$(HOST_DIR)/etc/selinux/semanage.conf \ - PYINC="-I$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR)/" \ - PYTHONLIBDIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/" \ - PYLIBVER="python$(PYTHON3_VERSION_MAJOR)" - -define HOST_LIBSEMANAGE_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) all - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) swigify pywrap -endef - -define HOST_LIBSEMANAGE_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) install - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) install-pywrap -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libsepol/Config.in b/buildroot-2021.05/package/libsepol/Config.in deleted file mode 100644 index 6c66809c..00000000 --- a/buildroot-2021.05/package/libsepol/Config.in +++ /dev/null @@ -1,37 +0,0 @@ -config BR2_PACKAGE_LIBSEPOL - bool "libsepol" - depends on BR2_TOOLCHAIN_HAS_THREADS # pthread - help - Libsepol is the binary policy manipulation library. It doesn't - depend upon or use any of the other SELinux components. - - http://selinuxproject.org/page/Main_Page - -if BR2_PACKAGE_LIBSEPOL - -config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION - int "Policy version" - default 32 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 - default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 - default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 - default 29 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 - default 28 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 - default 26 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_2_6 - default 25 - help - The maximum SELinux policy version your kernel supports. - - Here's a handy table to help you choose: - kernel version SElinux policy max version - < 2.6.x 25 - >= 2.6 < 3.5 26 - >= 3.5 < 3.14 28 (27 and 28 were added at the same time) - >= 3.14 < 4.3 29 - >= 4.3 < 4.13 30 - >= 4.13 < 5.5 31 - >= 5.5 32 - -endif - -comment "libsepol needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libsepol/libsepol.hash b/buildroot-2021.05/package/libsepol/libsepol.hash deleted file mode 100644 index 1759d3ba..00000000 --- a/buildroot-2021.05/package/libsepol/libsepol.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From: https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 ae6778d01443fdd38cd30eeee846494e19f4d407b09872580372f4aa4bf8a3cc libsepol-3.1.tar.gz - -# Hash for license file -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2021.05/package/libsepol/libsepol.mk b/buildroot-2021.05/package/libsepol/libsepol.mk deleted file mode 100644 index a4398bdc..00000000 --- a/buildroot-2021.05/package/libsepol/libsepol.mk +++ /dev/null @@ -1,53 +0,0 @@ -################################################################################ -# -# libsepol -# -################################################################################ - -LIBSEPOL_VERSION = 3.1 -LIBSEPOL_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 -LIBSEPOL_LICENSE = LGPL-2.1+ -LIBSEPOL_LICENSE_FILES = COPYING -LIBSEPOL_CPE_ID_VENDOR = selinuxproject - -LIBSEPOL_INSTALL_STAGING = YES -LIBSEPOL_DEPENDENCIES = host-flex -HOST_LIBSEPOL_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) host-flex - -LIBSEPOL_MAKE_FLAGS = $(TARGET_CONFIGURE_OPTS) - -ifeq ($(BR2_STATIC_LIBS),y) -LIBSEPOL_MAKE_FLAGS += STATIC=1 -endif - -define LIBSEPOL_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEPOL_MAKE_FLAGS) -endef - -# Set SHLIBDIR to /usr/lib so it has the same value than LIBDIR, as a result -# we won't have to use a relative path in 0002-revert-ln-relative.patch -define LIBSEPOL_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install $(LIBSEPOL_MAKE_FLAGS) \ - DESTDIR=$(STAGING_DIR) SHLIBDIR=/usr/lib -endef - -define LIBSEPOL_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install $(LIBSEPOL_MAKE_FLAGS) \ - DESTDIR=$(TARGET_DIR) SHLIBDIR=/usr/lib -endef - -HOST_LIBSEPOL_MAKE_ENV = \ - $(HOST_MAKE_ENV) \ - PREFIX=$(HOST_DIR) \ - SHLIBDIR=$(HOST_DIR)/lib - -define HOST_LIBSEPOL_BUILD_CMDS - $(HOST_LIBSEPOL_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) -endef - -define HOST_LIBSEPOL_INSTALL_CMDS - $(HOST_LIBSEPOL_MAKE_ENV) $(MAKE) -C $(@D) install $(HOST_CONFIGURE_OPTS) -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libshout/libshout.mk b/buildroot-2021.05/package/libshout/libshout.mk deleted file mode 100644 index 57d26390..00000000 --- a/buildroot-2021.05/package/libshout/libshout.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# libshout -# -################################################################################ - -LIBSHOUT_VERSION = 2.4.5 -LIBSHOUT_SITE = https://downloads.xiph.org/releases/libshout -LIBSHOUT_LICENSE = LGPL-2.0+ -LIBSHOUT_LICENSE_FILES = COPYING -LIBSHOUT_INSTALL_STAGING = YES -LIBSHOUT_DEPENDENCIES = host-pkgconf libogg libvorbis -# We're patching configure.ac -LIBSHOUT_AUTORECONF = YES -LIBSHOUT_CONF_OPTS = \ - --disable-examples \ - --disable-tools - -ifeq ($(BR2_PACKAGE_LIBTHEORA),y) -LIBSHOUT_CONF_OPTS += --enable-theora -LIBSHOUT_DEPENDENCIES += libtheora -else -LIBSHOUT_CONF_OPTS += --disable-theora -endif - -ifeq ($(BR2_PACKAGE_SPEEX),y) -LIBSHOUT_CONF_OPTS += --enable-speex -LIBSHOUT_DEPENDENCIES += speex -else -LIBSHOUT_CONF_OPTS += --disable-speex -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBSHOUT_CONF_OPTS += --with-openssl -LIBSHOUT_DEPENDENCIES += openssl -else ifeq ($(BR2_PACKAGE_LIBRESSL),y) -LIBSHOUT_CONF_OPTS += --with-openssl=$(STAGING_DIR)/lib -LIBSHOUT_DEPENDENCIES += libressl -else -LIBSHOUT_CONF_OPTS += --without-openssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsigc/Config.in b/buildroot-2021.05/package/libsigc/Config.in deleted file mode 100644 index e5157e87..00000000 --- a/buildroot-2021.05/package/libsigc/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_LIBSIGC - bool "libsigc++" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - depends on BR2_INSTALL_LIBSTDCPP - help - libsigc++ implements a typesafe callback system for standard - C++. It allows you to define signals and to connect those - signals to any callback function, either global or a member - function, regardless of whether it is static or virtual. - - https://libsigcplusplus.github.io/libsigcplusplus/ - -comment "libsigc++ needs a toolchain w/ C++, gcc >= 4.8" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 diff --git a/buildroot-2021.05/package/libsigc/libsigc.hash b/buildroot-2021.05/package/libsigc/libsigc.hash deleted file mode 100644 index d631185a..00000000 --- a/buildroot-2021.05/package/libsigc/libsigc.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/libsigc++/2.10/libsigc++-2.10.6.sha256sum -sha256 dda176dc4681bda9d5a2ac1bc55273bdd381662b7a6d49e918267d13e8774e1b libsigc++-2.10.6.tar.xz - -# Locally calculated -sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING diff --git a/buildroot-2021.05/package/libsigc/libsigc.mk b/buildroot-2021.05/package/libsigc/libsigc.mk deleted file mode 100644 index 6539fdbd..00000000 --- a/buildroot-2021.05/package/libsigc/libsigc.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# libsigc -# -################################################################################ - -LIBSIGC_VERSION_MAJOR = 2.10 -LIBSIGC_VERSION = $(LIBSIGC_VERSION_MAJOR).6 -LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.xz -LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/$(LIBSIGC_VERSION_MAJOR) -LIBSIGC_INSTALL_STAGING = YES -LIBSIGC_LICENSE = LGPL-2.1+ -LIBSIGC_LICENSE_FILES = COPYING -LIBSIGC_CONF_OPTS = \ - -Dbuild-examples=false \ - -Dvalidation=false - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libsigrok/Config.in b/buildroot-2021.05/package/libsigrok/Config.in deleted file mode 100644 index 69531e62..00000000 --- a/buildroot-2021.05/package/libsigrok/Config.in +++ /dev/null @@ -1,46 +0,0 @@ -config BR2_PACKAGE_LIBSIGROK - bool "libsigrok" - # libglib2 - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU - depends on BR2_ENABLE_LOCALE - depends on !BR2_STATIC_LIBS # libzip - # std=c11 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 - select BR2_PACKAGE_LIBZIP - select BR2_PACKAGE_LIBGLIB2 - help - Libsigrok is a shared library written in C, which provides - the basic hardware access drivers for logic analyzers and - other supported devices, as well as input/output file format - support. - - This library is a part of the sigrok software suite. - - http://sigrok.org/wiki/Libsigrok - -if BR2_PACKAGE_LIBSIGROK - -config BR2_PACKAGE_LIBSIGROKCXX - bool "build C++ bindings" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # glibmm - depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-doxygen - select BR2_PACKAGE_GLIBMM - select BR2_PACKAGE_HOST_DOXYGEN - help - Build libsigrok C++ bindings as well. - -comment "C++ bindings need a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9" - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 - -endif - -comment "libsigrok needs a toolchain w/ wchar, locale, threads, dynamic library, gcc >= 4.7" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || BR2_STATIC_LIBS \ - || !BR2_ENABLE_LOCALE diff --git a/buildroot-2021.05/package/libsigrok/libsigrok.mk b/buildroot-2021.05/package/libsigrok/libsigrok.mk deleted file mode 100644 index 8e7c355f..00000000 --- a/buildroot-2021.05/package/libsigrok/libsigrok.mk +++ /dev/null @@ -1,65 +0,0 @@ -################################################################################ -# -# libsigrok -# -################################################################################ - -LIBSIGROK_VERSION = 0.5.2 -LIBSIGROK_SITE = http://sigrok.org/download/source/libsigrok -LIBSIGROK_LICENSE = GPL-3.0+ -LIBSIGROK_LICENSE_FILES = COPYING -LIBSIGROK_INSTALL_STAGING = YES -LIBSIGROK_DEPENDENCIES = libglib2 libzip host-pkgconf -LIBSIGROK_CONF_OPTS = --disable-java --disable-python - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) -LIBSIGROK_CONF_OPTS += --with-libbluez -LIBSIGROK_DEPENDENCIES += bluez5_utils -else -LIBSIGROK_CONF_OPTS += --without-libbluez -endif - -ifeq ($(BR2_PACKAGE_HIDAPI),y) -LIBSIGROK_CONF_OPTS += --with-libhidapi -LIBSIGROK_DEPENDENCIES += hidapi -else -LIBSIGROK_CONF_OPTS += --without-libhidapi -endif - -ifeq ($(BR2_PACKAGE_LIBSERIALPORT),y) -LIBSIGROK_CONF_OPTS += --with-libserialport -LIBSIGROK_DEPENDENCIES += libserialport -else -LIBSIGROK_CONF_OPTS += --without-libserialport -endif - -ifeq ($(BR2_PACKAGE_LIBFTDI1),y) -LIBSIGROK_CONF_OPTS += --with-libftdi -LIBSIGROK_DEPENDENCIES += libftdi1 -else -LIBSIGROK_CONF_OPTS += --without-libftdi -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -LIBSIGROK_CONF_OPTS += --with-libusb -LIBSIGROK_DEPENDENCIES += libusb -else -LIBSIGROK_CONF_OPTS += --without-libusb -endif - -ifeq ($(BR2_PACKAGE_GLIBMM),y) -LIBSIGROK_DEPENDENCIES += glibmm -endif - -ifeq ($(BR2_PACKAGE_LIBSIGROKCXX),y) -LIBSIGROK_CONF_OPTS += --enable-cxx -# host-doxygen is used by C++ bindings to parse libsigrok symbols -LIBSIGROK_DEPENDENCIES += \ - glibmm \ - host-doxygen \ - $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) -else -LIBSIGROK_CONF_OPTS += --disable-cxx -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsigrokdecode/Config.in b/buildroot-2021.05/package/libsigrokdecode/Config.in deleted file mode 100644 index 28cbb5ca..00000000 --- a/buildroot-2021.05/package/libsigrokdecode/Config.in +++ /dev/null @@ -1,27 +0,0 @@ -config BR2_PACKAGE_LIBSIGROKDECODE - bool "libsigrokdecode" - depends on !BR2_PACKAGE_PYTHON # python3 - depends on BR2_USE_WCHAR # libglib2/python3 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2/python3 - depends on BR2_USE_MMU # libglib2/python3 - depends on !BR2_STATIC_LIBS # python3 - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_PYTHON3 - help - Libsigrokdecode is a shared library written in C, which - provides (streaming) protocol decoding functionality. Say - yes here if you want to add this functionality to your - buildroot-generated sigrok suite. - - This library is a part of the sigrok software suite. - - http://sigrok.org/wiki/Libsigrokdecode - -comment "libsigrokdecode needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_PYTHON - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -comment "libsigrokdecode is not compatible with python" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PYTHON diff --git a/buildroot-2021.05/package/libsndfile/0001-double64_init-Check-psf-sf.channels-against-upper-bo.patch b/buildroot-2021.05/package/libsndfile/0001-double64_init-Check-psf-sf.channels-against-upper-bo.patch deleted file mode 100644 index 59ba8f85..00000000 --- a/buildroot-2021.05/package/libsndfile/0001-double64_init-Check-psf-sf.channels-against-upper-bo.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 85c877d5072866aadbe8ed0c3e0590fbb5e16788 Mon Sep 17 00:00:00 2001 -From: Fabian Greffrath -Date: Thu, 28 Sep 2017 12:15:04 +0200 -Subject: [PATCH] double64_init: Check psf->sf.channels against upper bound - -This prevents division by zero later in the code. - -While the trivial case to catch this (i.e. sf.channels < 1) has already -been covered, a crafted file may report a number of channels that is -so high (i.e. > INT_MAX/sizeof(double)) that it "somehow" gets -miscalculated to zero (if this makes sense) in the determination of the -blockwidth. Since we only support a limited number of channels anyway, -make sure to check here as well. - -CVE-2017-14634 - -Closes: https://github.com/erikd/libsndfile/issues/318 -Signed-off-by: Erik de Castro Lopo -Signed-off-by: Peter Korsgaard ---- - src/double64.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/double64.c b/src/double64.c -index b318ea86..78dfef7f 100644 ---- a/src/double64.c -+++ b/src/double64.c -@@ -91,7 +91,7 @@ int - double64_init (SF_PRIVATE *psf) - { static int double64_caps ; - -- if (psf->sf.channels < 1) -+ if (psf->sf.channels < 1 || psf->sf.channels > SF_MAX_CHANNELS) - { psf_log_printf (psf, "double64_init : internal error : channels = %d\n", psf->sf.channels) ; - return SFE_INTERNAL ; - } ; --- -2.11.0 - diff --git a/buildroot-2021.05/package/libsndfile/0002-Check-MAX_CHANNELS-in-sndfile-deinterleave.patch b/buildroot-2021.05/package/libsndfile/0002-Check-MAX_CHANNELS-in-sndfile-deinterleave.patch deleted file mode 100644 index 3b828de6..00000000 --- a/buildroot-2021.05/package/libsndfile/0002-Check-MAX_CHANNELS-in-sndfile-deinterleave.patch +++ /dev/null @@ -1,36 +0,0 @@ -From aaea680337267bfb6d2544da878890ee7f1c5077 Mon Sep 17 00:00:00 2001 -From: "Brett T. Warden" -Date: Tue, 28 Aug 2018 12:01:17 -0700 -Subject: [PATCH] Check MAX_CHANNELS in sndfile-deinterleave - -Allocated buffer has space for only 16 channels. Verify that input file -meets this limit. - -Fixes #397 - -Signed-off-by: Peter Korsgaard ---- - programs/sndfile-deinterleave.c | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/programs/sndfile-deinterleave.c b/programs/sndfile-deinterleave.c -index 53660310..225b4d54 100644 ---- a/programs/sndfile-deinterleave.c -+++ b/programs/sndfile-deinterleave.c -@@ -89,6 +89,13 @@ main (int argc, char **argv) - exit (1) ; - } ; - -+ if (sfinfo.channels > MAX_CHANNELS) -+ { printf ("\nError : Input file '%s' has too many (%d) channels. Limit is %d.\n", -+ argv [1], sfinfo.channels, MAX_CHANNELS) ; -+ exit (1) ; -+ } ; -+ -+ - state.channels = sfinfo.channels ; - sfinfo.channels = 1 ; - --- -2.11.0 - diff --git a/buildroot-2021.05/package/libsndfile/0003-a-ulaw-fix-multiple-buffer-overflows-432.patch b/buildroot-2021.05/package/libsndfile/0003-a-ulaw-fix-multiple-buffer-overflows-432.patch deleted file mode 100644 index 536bad26..00000000 --- a/buildroot-2021.05/package/libsndfile/0003-a-ulaw-fix-multiple-buffer-overflows-432.patch +++ /dev/null @@ -1,96 +0,0 @@ -From 8ddc442d539ca775d80cdbc7af17a718634a743f Mon Sep 17 00:00:00 2001 -From: Hugo Lefeuvre -Date: Mon, 24 Dec 2018 06:43:48 +0100 -Subject: [PATCH] a/ulaw: fix multiple buffer overflows (#432) - -i2ulaw_array() and i2alaw_array() fail to handle ptr [count] = INT_MIN -properly, leading to buffer underflow. INT_MIN is a special value -since - INT_MIN cannot be represented as int. - -In this case round - INT_MIN to INT_MAX and proceed as usual. - -f2ulaw_array() and f2alaw_array() fail to handle ptr [count] = NaN -properly, leading to null pointer dereference. - -In this case, arbitrarily set the buffer value to 0. - -This commit fixes #429 (CVE-2018-19661 and CVE-2018-19662) and -fixes #344 (CVE-2017-17456 and CVE-2017-17457). - -Signed-off-by: Peter Korsgaard ---- - src/alaw.c | 9 +++++++-- - src/ulaw.c | 9 +++++++-- - 2 files changed, 14 insertions(+), 4 deletions(-) - -diff --git a/src/alaw.c b/src/alaw.c -index 063fd1a2..4220224c 100644 ---- a/src/alaw.c -+++ b/src/alaw.c -@@ -19,6 +19,7 @@ - #include "sfconfig.h" - - #include -+#include - - #include "sndfile.h" - #include "common.h" -@@ -326,7 +327,9 @@ s2alaw_array (const short *ptr, int count, unsigned char *buffer) - static inline void - i2alaw_array (const int *ptr, int count, unsigned char *buffer) - { while (--count >= 0) -- { if (ptr [count] >= 0) -+ { if (ptr [count] == INT_MIN) -+ buffer [count] = alaw_encode [INT_MAX >> (16 + 4)] ; -+ else if (ptr [count] >= 0) - buffer [count] = alaw_encode [ptr [count] >> (16 + 4)] ; - else - buffer [count] = 0x7F & alaw_encode [- ptr [count] >> (16 + 4)] ; -@@ -346,7 +349,9 @@ f2alaw_array (const float *ptr, int count, unsigned char *buffer, float normfact - static inline void - d2alaw_array (const double *ptr, int count, unsigned char *buffer, double normfact) - { while (--count >= 0) -- { if (ptr [count] >= 0) -+ { if (!isfinite (ptr [count])) -+ buffer [count] = 0 ; -+ else if (ptr [count] >= 0) - buffer [count] = alaw_encode [lrint (normfact * ptr [count])] ; - else - buffer [count] = 0x7F & alaw_encode [- lrint (normfact * ptr [count])] ; -diff --git a/src/ulaw.c b/src/ulaw.c -index e50b4cb5..b6070ade 100644 ---- a/src/ulaw.c -+++ b/src/ulaw.c -@@ -19,6 +19,7 @@ - #include "sfconfig.h" - - #include -+#include - - #include "sndfile.h" - #include "common.h" -@@ -827,7 +828,9 @@ s2ulaw_array (const short *ptr, int count, unsigned char *buffer) - static inline void - i2ulaw_array (const int *ptr, int count, unsigned char *buffer) - { while (--count >= 0) -- { if (ptr [count] >= 0) -+ { if (ptr [count] == INT_MIN) -+ buffer [count] = ulaw_encode [INT_MAX >> (16 + 2)] ; -+ else if (ptr [count] >= 0) - buffer [count] = ulaw_encode [ptr [count] >> (16 + 2)] ; - else - buffer [count] = 0x7F & ulaw_encode [-ptr [count] >> (16 + 2)] ; -@@ -847,7 +850,9 @@ f2ulaw_array (const float *ptr, int count, unsigned char *buffer, float normfact - static inline void - d2ulaw_array (const double *ptr, int count, unsigned char *buffer, double normfact) - { while (--count >= 0) -- { if (ptr [count] >= 0) -+ { if (!isfinite (ptr [count])) -+ buffer [count] = 0 ; -+ else if (ptr [count] >= 0) - buffer [count] = ulaw_encode [lrint (normfact * ptr [count])] ; - else - buffer [count] = 0x7F & ulaw_encode [- lrint (normfact * ptr [count])] ; --- -2.11.0 - diff --git a/buildroot-2021.05/package/libsndfile/0004-src-wav.c-Fix-heap-read-overflow.patch b/buildroot-2021.05/package/libsndfile/0004-src-wav.c-Fix-heap-read-overflow.patch deleted file mode 100644 index 2e730ca3..00000000 --- a/buildroot-2021.05/package/libsndfile/0004-src-wav.c-Fix-heap-read-overflow.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 42132c543358cee9f7c3e9e9b15bb6c1063a608e Mon Sep 17 00:00:00 2001 -From: Erik de Castro Lopo -Date: Tue, 1 Jan 2019 20:11:46 +1100 -Subject: [PATCH] src/wav.c: Fix heap read overflow - -This is CVE-2018-19758. - -Closes: https://github.com/erikd/libsndfile/issues/435 -[Retrieved (and backported) from: -https://github.com/erikd/libsndfile/commit/42132c543358cee9f7c3e9e9b15bb6c1063a608e] -Signed-off-by: Fabrice Fontaine ---- - src/wav.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/src/wav.c b/src/wav.c -index 9d71aadb..5c825f2a 100644 ---- a/src/wav.c -+++ b/src/wav.c -@@ -1,5 +1,5 @@ - /* --** Copyright (C) 1999-2016 Erik de Castro Lopo -+** Copyright (C) 1999-2019 Erik de Castro Lopo - ** Copyright (C) 2004-2005 David Viens - ** - ** This program is free software; you can redistribute it and/or modify -@@ -1146,6 +1146,8 @@ wav_write_header (SF_PRIVATE *psf, int calc_length) - psf_binheader_writef (psf, "44", BHW4 (0), BHW4 (0)) ; /* SMTPE format */ - psf_binheader_writef (psf, "44", BHW4 (psf->instrument->loop_count), BHW4 (0)) ; - -+ /* Loop count is signed 16 bit number so we limit it range to something sensible. */ -+ psf->instrument->loop_count &= 0x7fff ; - for (tmp = 0 ; tmp < psf->instrument->loop_count ; tmp++) - { int type ; - diff --git a/buildroot-2021.05/package/libsndfile/0005-wav_write_header-don-t-read-past-the-array-end.patch b/buildroot-2021.05/package/libsndfile/0005-wav_write_header-don-t-read-past-the-array-end.patch deleted file mode 100644 index e9585178..00000000 --- a/buildroot-2021.05/package/libsndfile/0005-wav_write_header-don-t-read-past-the-array-end.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6d7ce94c020cc720a6b28719d1a7879181790008 Mon Sep 17 00:00:00 2001 -From: Emilio Pozuelo Monfort -Date: Tue, 5 Mar 2019 11:27:17 +0100 -Subject: [PATCH] wav_write_header: don't read past the array end - -If loop_count is bigger than the array, truncate it to the array -length (and not to 32k). - -CVE-2019-3832 -[Retrieved from: -https://github.com/erikd/libsndfile/commit/6d7ce94c020cc720a6b28719d1a7879181790008] -Signed-off-by: Fabrice Fontaine ---- - src/wav.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/src/wav.c b/src/wav.c -index 5c825f2a..104bd0a7 100644 ---- a/src/wav.c -+++ b/src/wav.c -@@ -1146,8 +1146,10 @@ wav_write_header (SF_PRIVATE *psf, int calc_length) - psf_binheader_writef (psf, "44", BHW4 (0), BHW4 (0)) ; /* SMTPE format */ - psf_binheader_writef (psf, "44", BHW4 (psf->instrument->loop_count), BHW4 (0)) ; - -- /* Loop count is signed 16 bit number so we limit it range to something sensible. */ -- psf->instrument->loop_count &= 0x7fff ; -+ /* Make sure we don't read past the loops array end. */ -+ if (psf->instrument->loop_count > ARRAY_LEN (psf->instrument->loops)) -+ psf->instrument->loop_count = ARRAY_LEN (psf->instrument->loops) ; -+ - for (tmp = 0 ; tmp < psf->instrument->loop_count ; tmp++) - { int type ; - diff --git a/buildroot-2021.05/package/libsndfile/0006-src-aiff.c-Fix-a-buffer-read-overflow.patch b/buildroot-2021.05/package/libsndfile/0006-src-aiff.c-Fix-a-buffer-read-overflow.patch deleted file mode 100644 index 68b9e8ed..00000000 --- a/buildroot-2021.05/package/libsndfile/0006-src-aiff.c-Fix-a-buffer-read-overflow.patch +++ /dev/null @@ -1,29 +0,0 @@ -From f833c53cb596e9e1792949f762e0b33661822748 Mon Sep 17 00:00:00 2001 -From: Erik de Castro Lopo -Date: Tue, 23 May 2017 20:15:24 +1000 -Subject: [PATCH] src/aiff.c: Fix a buffer read overflow - -Secunia Advisory SA76717. - -Found by: Laurent Delosieres, Secunia Research at Flexera Software - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/erikd/libsndfile/commit/f833c53cb596e9e1792949f762e0b33661822748] ---- - src/aiff.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/aiff.c b/src/aiff.c -index 5b5f9f53..45864b76 100644 ---- a/src/aiff.c -+++ b/src/aiff.c -@@ -1759,7 +1759,7 @@ aiff_read_chanmap (SF_PRIVATE * psf, unsigned dword) - psf_binheader_readf (psf, "j", dword - bytesread) ; - - if (map_info->channel_map != NULL) -- { size_t chanmap_size = psf->sf.channels * sizeof (psf->channel_map [0]) ; -+ { size_t chanmap_size = SF_MIN (psf->sf.channels, layout_tag & 0xffff) * sizeof (psf->channel_map [0]) ; - - free (psf->channel_map) ; - diff --git a/buildroot-2021.05/package/libsndfile/0007-FLAC-Fix-a-buffer-read-overrun.patch b/buildroot-2021.05/package/libsndfile/0007-FLAC-Fix-a-buffer-read-overrun.patch deleted file mode 100644 index b000143b..00000000 --- a/buildroot-2021.05/package/libsndfile/0007-FLAC-Fix-a-buffer-read-overrun.patch +++ /dev/null @@ -1,68 +0,0 @@ -From fd0484aba8e51d16af1e3a880f9b8b857b385eb3 Mon Sep 17 00:00:00 2001 -From: Erik de Castro Lopo -Date: Wed, 12 Apr 2017 19:45:30 +1000 -Subject: [PATCH] FLAC: Fix a buffer read overrun - -Buffer read overrun occurs when reading a FLAC file that switches -from 2 channels to one channel mid-stream. Only option is to -abort the read. - -Closes: https://github.com/erikd/libsndfile/issues/230 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/erikd/libsndfile/commit/fd0484aba8e51d16af1e3a880f9b8b857b385eb3] ---- - src/common.h | 1 + - src/flac.c | 13 +++++++++++++ - src/sndfile.c | 1 + - 3 files changed, 15 insertions(+) - -diff --git a/src/common.h b/src/common.h -index 0bd810c3..e2669b6a 100644 ---- a/src/common.h -+++ b/src/common.h -@@ -725,6 +725,7 @@ enum - SFE_FLAC_INIT_DECODER, - SFE_FLAC_LOST_SYNC, - SFE_FLAC_BAD_SAMPLE_RATE, -+ SFE_FLAC_CHANNEL_COUNT_CHANGED, - SFE_FLAC_UNKOWN_ERROR, - - SFE_WVE_NOT_WVE, -diff --git a/src/flac.c b/src/flac.c -index 84de0e26..986a7b8f 100644 ---- a/src/flac.c -+++ b/src/flac.c -@@ -434,6 +434,19 @@ sf_flac_meta_callback (const FLAC__StreamDecoder * UNUSED (decoder), const FLAC_ - - switch (metadata->type) - { case FLAC__METADATA_TYPE_STREAMINFO : -+ if (psf->sf.channels > 0 && psf->sf.channels != (int) metadata->data.stream_info.channels) -+ { psf_log_printf (psf, "Error: FLAC stream changed from %d to %d channels\n" -+ "Nothing to be but to error out.\n" , -+ psf->sf.channels, metadata->data.stream_info.channels) ; -+ psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ; -+ return ; -+ } ; -+ -+ if (psf->sf.channels > 0 && psf->sf.samplerate != (int) metadata->data.stream_info.sample_rate) -+ { psf_log_printf (psf, "Warning: FLAC stream changed sample rates from %d to %d.\n" -+ "Carrying on as if nothing happened.", -+ psf->sf.samplerate, metadata->data.stream_info.sample_rate) ; -+ } ; - psf->sf.channels = metadata->data.stream_info.channels ; - psf->sf.samplerate = metadata->data.stream_info.sample_rate ; - psf->sf.frames = metadata->data.stream_info.total_samples ; -diff --git a/src/sndfile.c b/src/sndfile.c -index 41875610..e2a87be8 100644 ---- a/src/sndfile.c -+++ b/src/sndfile.c -@@ -245,6 +245,7 @@ ErrorStruct SndfileErrors [] = - { SFE_FLAC_INIT_DECODER , "Error : problem with initialization of the flac decoder." }, - { SFE_FLAC_LOST_SYNC , "Error : flac decoder lost sync." }, - { SFE_FLAC_BAD_SAMPLE_RATE, "Error : flac does not support this sample rate." }, -+ { SFE_FLAC_CHANNEL_COUNT_CHANGED, "Error : flac channel changed mid stream." }, - { SFE_FLAC_UNKOWN_ERROR , "Error : unknown error in flac decoder." }, - - { SFE_WVE_NOT_WVE , "Error : not a WVE file." }, diff --git a/buildroot-2021.05/package/libsndfile/0008-src-flac.c-Fix-a-buffer-read-overflow.patch b/buildroot-2021.05/package/libsndfile/0008-src-flac.c-Fix-a-buffer-read-overflow.patch deleted file mode 100644 index f716e268..00000000 --- a/buildroot-2021.05/package/libsndfile/0008-src-flac.c-Fix-a-buffer-read-overflow.patch +++ /dev/null @@ -1,54 +0,0 @@ -From ef1dbb2df1c0e741486646de40bd638a9c4cd808 Mon Sep 17 00:00:00 2001 -From: Erik de Castro Lopo -Date: Fri, 14 Apr 2017 15:19:16 +1000 -Subject: [PATCH] src/flac.c: Fix a buffer read overflow - -A file (generated by a fuzzer) which increased the number of channels -from one frame to the next could cause a read beyond the end of the -buffer provided by libFLAC. Only option is to abort the read. - -Closes: https://github.com/erikd/libsndfile/issues/231 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/erikd/libsndfile/commit/ef1dbb2df1c0e741486646de40bd638a9c4cd808] ---- - src/flac.c | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -diff --git a/src/flac.c b/src/flac.c -index 5a4f8c21..e4f9aaa0 100644 ---- a/src/flac.c -+++ b/src/flac.c -@@ -169,6 +169,14 @@ flac_buffer_copy (SF_PRIVATE *psf) - const int32_t* const *buffer = pflac->wbuffer ; - unsigned i = 0, j, offset, channels, len ; - -+ if (psf->sf.channels != (int) frame->header.channels) -+ { psf_log_printf (psf, "Error: FLAC frame changed from %d to %d channels\n" -+ "Nothing to do but to error out.\n" , -+ psf->sf.channels, frame->header.channels) ; -+ psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ; -+ return 0 ; -+ } ; -+ - /* - ** frame->header.blocksize is variable and we're using a constant blocksize - ** of FLAC__MAX_BLOCK_SIZE. -@@ -202,7 +210,6 @@ flac_buffer_copy (SF_PRIVATE *psf) - return 0 ; - } ; - -- - len = SF_MIN (pflac->len, frame->header.blocksize) ; - - if (pflac->remain % channels != 0) -@@ -436,7 +443,7 @@ sf_flac_meta_callback (const FLAC__StreamDecoder * UNUSED (decoder), const FLAC_ - { case FLAC__METADATA_TYPE_STREAMINFO : - if (psf->sf.channels > 0 && psf->sf.channels != (int) metadata->data.stream_info.channels) - { psf_log_printf (psf, "Error: FLAC stream changed from %d to %d channels\n" -- "Nothing to be but to error out.\n" , -+ "Nothing to do but to error out.\n" , - psf->sf.channels, metadata->data.stream_info.channels) ; - psf->error = SFE_FLAC_CHANNEL_COUNT_CHANGED ; - return ; diff --git a/buildroot-2021.05/package/libsndfile/0009-src-flac-c-Fix-another-memory-leak.patch b/buildroot-2021.05/package/libsndfile/0009-src-flac-c-Fix-another-memory-leak.patch deleted file mode 100644 index 788b9b51..00000000 --- a/buildroot-2021.05/package/libsndfile/0009-src-flac-c-Fix-another-memory-leak.patch +++ /dev/null @@ -1,32 +0,0 @@ -From cd7da8dbf6ee4310d21d9e44b385d6797160d9e8 Mon Sep 17 00:00:00 2001 -From: Erik de Castro Lopo -Date: Wed, 12 Apr 2017 20:19:34 +1000 -Subject: [PATCH] src/flac.c: Fix another memory leak - -When the FLAC decoder was passed a malformed file, the associated -`FLAC__StreamDecoder` object was not getting released. - -Closes: https://github.com/erikd/libsndfile/issues/233 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/erikd/libsndfile/commit/cd7da8dbf6ee4310d21d9e44b385d6797160d9e8] ---- - src/flac.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/flac.c b/src/flac.c -index 986a7b8f..5a4f8c21 100644 ---- a/src/flac.c -+++ b/src/flac.c -@@ -841,7 +841,9 @@ flac_read_header (SF_PRIVATE *psf) - - psf_log_printf (psf, "End\n") ; - -- if (psf->error == 0) -+ if (psf->error != 0) -+ FLAC__stream_decoder_delete (pflac->fsd) ; -+ else - { FLAC__uint64 position ; - - FLAC__stream_decoder_get_decode_position (pflac->fsd, &position) ; diff --git a/buildroot-2021.05/package/libsndfile/0010-src-common-c-Fix-heap-buffer-overflows-when-writing-strings-in.patch b/buildroot-2021.05/package/libsndfile/0010-src-common-c-Fix-heap-buffer-overflows-when-writing-strings-in.patch deleted file mode 100644 index 91aa36c9..00000000 --- a/buildroot-2021.05/package/libsndfile/0010-src-common-c-Fix-heap-buffer-overflows-when-writing-strings-in.patch +++ /dev/null @@ -1,92 +0,0 @@ -From cf7a8182c2642c50f1cf90dddea9ce96a8bad2e8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=B6rn=20Heusipp?= -Date: Wed, 14 Jun 2017 12:25:40 +0200 -Subject: [PATCH] src/common.c: Fix heap buffer overflows when writing strings - in binheader - -Fixes the following problems: - 1. Case 's' only enlarges the buffer by 16 bytes instead of size bytes. - 2. psf_binheader_writef() enlarges the header buffer (if needed) prior to the - big switch statement by an amount (16 bytes) which is enough for all cases - where only a single value gets added. Cases 's', 'S', 'p' however - additionally write an arbitrary length block of data and again enlarge the - buffer to the required amount. However, the required space calculation does - not take into account the size of the length field which gets output before - the data. - 3. Buffer size requirement calculation in case 'S' does not account for the - padding byte ("size += (size & 1) ;" happens after the calculation which - uses "size"). - 4. Case 'S' can overrun the header buffer by 1 byte when no padding is - involved - ("memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + 1) ;" while - the buffer is only guaranteed to have "size" space available). - 5. "psf->header.ptr [psf->header.indx] = 0 ;" in case 'S' always writes 1 byte - beyond the space which is guaranteed to be allocated in the header buffer. - 6. Case 's' can overrun the provided source string by 1 byte if padding is - involved ("memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size) ;" - where "size" is "strlen (strptr) + 1" (which includes the 0 terminator, - plus optionally another 1 which is padding and not guaranteed to be - readable via the source string pointer). - -Closes: https://github.com/erikd/libsndfile/issues/292 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/erikd/libsndfile/commit/cf7a8182c2642c50f1cf90dddea9ce96a8bad2e8] ---- - src/common.c | 15 +++++++-------- - 1 file changed, 7 insertions(+), 8 deletions(-) - -diff --git a/src/common.c b/src/common.c -index 1a6204ca..6b2a2ee9 100644 ---- a/src/common.c -+++ b/src/common.c -@@ -681,16 +681,16 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...) - /* Write a C string (guaranteed to have a zero terminator). */ - strptr = va_arg (argptr, char *) ; - size = strlen (strptr) + 1 ; -- size += (size & 1) ; - -- if (psf->header.indx + (sf_count_t) size >= psf->header.len && psf_bump_header_allocation (psf, 16)) -+ if (psf->header.indx + 4 + (sf_count_t) size + (sf_count_t) (size & 1) > psf->header.len && psf_bump_header_allocation (psf, 4 + size + (size & 1))) - return count ; - - if (psf->rwf_endian == SF_ENDIAN_BIG) -- header_put_be_int (psf, size) ; -+ header_put_be_int (psf, size + (size & 1)) ; - else -- header_put_le_int (psf, size) ; -+ header_put_le_int (psf, size + (size & 1)) ; - memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size) ; -+ size += (size & 1) ; - psf->header.indx += size ; - psf->header.ptr [psf->header.indx - 1] = 0 ; - count += 4 + size ; -@@ -703,16 +703,15 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...) - */ - strptr = va_arg (argptr, char *) ; - size = strlen (strptr) ; -- if (psf->header.indx + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, size)) -+ if (psf->header.indx + 4 + (sf_count_t) size + (sf_count_t) (size & 1) > psf->header.len && psf_bump_header_allocation (psf, 4 + size + (size & 1))) - return count ; - if (psf->rwf_endian == SF_ENDIAN_BIG) - header_put_be_int (psf, size) ; - else - header_put_le_int (psf, size) ; -- memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + 1) ; -+ memcpy (&(psf->header.ptr [psf->header.indx]), strptr, size + (size & 1)) ; - size += (size & 1) ; - psf->header.indx += size ; -- psf->header.ptr [psf->header.indx] = 0 ; - count += 4 + size ; - break ; - -@@ -724,7 +723,7 @@ psf_binheader_writef (SF_PRIVATE *psf, const char *format, ...) - size = (size & 1) ? size : size + 1 ; - size = (size > 254) ? 254 : size ; - -- if (psf->header.indx + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, size)) -+ if (psf->header.indx + 1 + (sf_count_t) size > psf->header.len && psf_bump_header_allocation (psf, 1 + size)) - return count ; - - header_put_byte (psf, size) ; diff --git a/buildroot-2021.05/package/libsndfile/libsndfile.hash b/buildroot-2021.05/package/libsndfile/libsndfile.hash deleted file mode 100644 index c744a767..00000000 --- a/buildroot-2021.05/package/libsndfile/libsndfile.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 1ff33929f042fa333aed1e8923aa628c3ee9e1eb85512686c55092d1e5a9dfa9 libsndfile-1.0.28.tar.gz -# Locally calculated -sha256 ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140 COPYING diff --git a/buildroot-2021.05/package/libsndfile/libsndfile.mk b/buildroot-2021.05/package/libsndfile/libsndfile.mk deleted file mode 100644 index eb154261..00000000 --- a/buildroot-2021.05/package/libsndfile/libsndfile.mk +++ /dev/null @@ -1,45 +0,0 @@ -################################################################################ -# -# libsndfile -# -################################################################################ - -LIBSNDFILE_VERSION = 1.0.28 -LIBSNDFILE_SITE = http://www.mega-nerd.com/libsndfile/files -LIBSNDFILE_INSTALL_STAGING = YES -LIBSNDFILE_LICENSE = LGPL-2.1+ -LIBSNDFILE_LICENSE_FILES = COPYING -LIBSNDFILE_CPE_ID_VENDOR = libsndfile_project - -# 0001-double64_init-Check-psf-sf.channels-against-upper-bo.patch -LIBSNDFILE_IGNORE_CVES += CVE-2017-14634 -# 0002-Check-MAX_CHANNELS-in-sndfile-deinterleave.patch -LIBSNDFILE_IGNORE_CVES += CVE-2018-13139 CVE-2018-19432 -# 0003-a-ulaw-fix-multiple-buffer-overflows-432.patch -LIBSNDFILE_IGNORE_CVES += \ - CVE-2017-14245 CVE-2017-14246 CVE-2017-17456 CVE-2017-17457 \ - CVE-2018-19661 CVE-2018-19662 -# disputed, https://github.com/erikd/libsndfile/issues/398 -LIBSNDFILE_IGNORE_CVES += CVE-2018-13419 -# 0004-src-wav.c-Fix-heap-read-overflow.patch -LIBSNDFILE_IGNORE_CVES += CVE-2018-19758 -# 0005-wav_write_header-don-t-read-past-the-array-end.patch -LIBSNDFILE_IGNORE_CVES += CVE-2019-3832 -# 0006-src-aiff.c-Fix-a-buffer-read-overflow.patch -LIBSNDFILE_IGNORE_CVES += CVE-2017-6892 -# 0007-FLAC-Fix-a-buffer-read-overrun.patch -LIBSNDFILE_IGNORE_CVES += CVE-2017-8361 -# 0008-src-flac.c-Fix-a-buffer-read-overflow.patch -LIBSNDFILE_IGNORE_CVES += CVE-2017-8362 CVE-2017-8365 -# 0009-src-flac-c-Fix-another-memory-leak.patch -LIBSNDFILE_IGNORE_CVES += CVE-2017-8363 -# 0010-src-common-c-Fix-heap-buffer-overflows-when-writing-strings-in.patch -LIBSNDFILE_IGNORE_CVES += CVE-2017-12562 - -LIBSNDFILE_CONF_OPTS = \ - --disable-sqlite \ - --disable-alsa \ - --disable-external-libs \ - --disable-full-suite - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsoc/libsoc.mk b/buildroot-2021.05/package/libsoc/libsoc.mk deleted file mode 100644 index bbc33143..00000000 --- a/buildroot-2021.05/package/libsoc/libsoc.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# libsoc -# -################################################################################ - -LIBSOC_VERSION = 0.8.2 -LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION)) -LIBSOC_LICENSE = LGPL-2.1 -LIBSOC_LICENSE_FILES = LICENCE -LIBSOC_AUTORECONF = YES -LIBSOC_INSTALL_STAGING = YES -LIBSOC_DEPENDENCIES = host-pkgconf - -# Install Python 2 bindings -ifeq ($(BR2_PACKAGE_PYTHON),y) -LIBSOC_DEPENDENCIES += python -LIBSOC_CONF_OPTS += --enable-python=2 -# Install Python 3 bindings -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIBSOC_DEPENDENCIES += python3 -LIBSOC_CONF_OPTS += --enable-python=3 -else -LIBSOC_CONF_OPTS += --disable-python -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsoil/0001-fix-makefile.patch b/buildroot-2021.05/package/libsoil/0001-fix-makefile.patch deleted file mode 100644 index 310d2644..00000000 --- a/buildroot-2021.05/package/libsoil/0001-fix-makefile.patch +++ /dev/null @@ -1,40 +0,0 @@ -Various makefile fixes to allow cross compilation - -Partly ported from -http://anonscm.debian.org/cgit/pkg-games/libsoil.git/tree/debian/patches/linking_correctly.patch - -Signed-off-by: Bernd Kuhls - -diff -uNr soil.org/projects/makefile/alternate_Makefile.txt soil/projects/makefile/alternate_Makefile.txt ---- soil.org/projects/makefile/alternate_Makefile.txt 2008-07-07 18:13:28.000000000 +0200 -+++ soil/projects/makefile/alternate_Makefile.txt 2015-11-07 11:15:04.140106336 +0100 -@@ -1,8 +1,8 @@ - MAKE = make --CC = gcc --INSTALL_FILE = install -p -o root -g root -m 644 --INSTALL_DIR = install -p -o root -g root -d --LN = ln -s -+CC = $(GCC) -+INSTALL_FILE = $(INSTALL) -m 644 -+INSTALL_DIR = $(INSTALL) -d -+LN = ln -sf - RM = rm -fv - CFLAGS += -c -O2 -Wall - LDFLAGS += -@@ -23,13 +23,13 @@ - all: $(OFILES) lib - - %.o: %.c -- $(CC) $(CFLAGS) $< -o $@ -+ $(CC) $(CFLAGS) -c -fPIC $< -o $@ - - lib: $(OFILES) - # create static library -- ar -cvq $(LIBNAME).a $(OFILES) -+ $(AR) -cvq $(LIBNAME).a $(OFILES) - # create shared library -- gcc -shared -Wl,-soname,$(LIBNAME).so.$(MAJOR) -o $(LIBNAME).so.$(VERSION) $(OFILES) -+ $(CC) -shared -Wl,-soname,$(LIBNAME).so.$(MAJOR) -o $(LIBNAME).so.$(VERSION) $(OFILES) -lGL -lm - - install: - $(INSTALL_DIR) $(DESTDIR)/$(INCLUDEDIR) diff --git a/buildroot-2021.05/package/libsoil/Config.in b/buildroot-2021.05/package/libsoil/Config.in deleted file mode 100644 index aea0cc35..00000000 --- a/buildroot-2021.05/package/libsoil/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_LIBSOIL - bool "libsoil" - depends on BR2_PACKAGE_HAS_LIBGL - depends on !BR2_STATIC_LIBS - help - SOIL is a tiny C library used primarily for uploading - textures into OpenGL. - - http://www.lonesock.net/soil.html - -comment "libsoil needs an OpenGL backend and a toolchain w/ dynamic library" - depends on !BR2_PACKAGE_HAS_LIBGL || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libsoil/libsoil.hash b/buildroot-2021.05/package/libsoil/libsoil.hash deleted file mode 100644 index 2596cd6b..00000000 --- a/buildroot-2021.05/package/libsoil/libsoil.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 a2305b8d64f6d636e36d669bbdb0ca5445d1345c754b3d61d3f037dad2e5f701 soil.zip -sha256 a53f0508cafb544aa0b11c241c1000055bd9d827d19712f4de08898e36f29728 src/stb_image_aug.c -sha256 449ba815b6f610660515246d029f5d08b45178fe8f9f9f520939edad85a7935e src/image_helper.c diff --git a/buildroot-2021.05/package/libsoil/libsoil.mk b/buildroot-2021.05/package/libsoil/libsoil.mk deleted file mode 100644 index 2945edd8..00000000 --- a/buildroot-2021.05/package/libsoil/libsoil.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# libsoil -# -################################################################################ - -LIBSOIL_VERSION = 20080707 -LIBSOIL_SOURCE = soil.zip -LIBSOIL_SITE = http://www.lonesock.net/files -LIBSOIL_INSTALL_STAGING = YES -LIBSOIL_DEPENDENCIES = libgl -LIBSOIL_LICENSE = Public Domain, MIT -LIBSOIL_LICENSE_FILES = src/stb_image_aug.c src/image_helper.c -LIBSOIL_MAKEFILE = ../projects/makefile/alternate_Makefile.txt - -define LIBSOIL_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(LIBSOIL_DL_DIR)/$(LIBSOIL_SOURCE) - mv $(@D)/Simple\ OpenGL\ Image\ Library/* $(@D) -endef - -# gnu patch < v2.5.9 doesn't correctly handle spaces in file names, -# and we want to patch the 'alternate Makefile.txt' file, so rename -# the file (and patch the renamed file) for compatibility with older -# distributions -define REMOVE_SPACE_FROM_FILENAME - cd $(@D)/projects/makefile/ && \ - mv "alternate Makefile.txt" alternate_Makefile.txt -endef -LIBSOIL_POST_EXTRACT_HOOKS += REMOVE_SPACE_FROM_FILENAME - -define LIBSOIL_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -f $(LIBSOIL_MAKEFILE) \ - -C $(@D)/src -endef - -define LIBSOIL_INSTALL_STAGING_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -f $(LIBSOIL_MAKEFILE) \ - DESTDIR=$(STAGING_DIR) install \ - INSTALL=$(INSTALL) \ - -C $(@D)/src -endef - -define LIBSOIL_INSTALL_TARGET_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -f $(LIBSOIL_MAKEFILE) \ - DESTDIR=$(TARGET_DIR) install \ - INSTALL=$(INSTALL) \ - -C $(@D)/src -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libsoundtouch/libsoundtouch.hash b/buildroot-2021.05/package/libsoundtouch/libsoundtouch.hash deleted file mode 100644 index fe6a108e..00000000 --- a/buildroot-2021.05/package/libsoundtouch/libsoundtouch.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 f1ce96bac35779d3b752f4cc8696975b3d58f3deb9db47ffc45862767c2a2bdd libsoundtouch-2.2.tar.gz -sha256 6b73f6327136a924821ec044bbd9f17cf8677faf2f2a2b1366a9fff6188c9688 COPYING.TXT diff --git a/buildroot-2021.05/package/libsoundtouch/libsoundtouch.mk b/buildroot-2021.05/package/libsoundtouch/libsoundtouch.mk deleted file mode 100644 index 8a0e807d..00000000 --- a/buildroot-2021.05/package/libsoundtouch/libsoundtouch.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# libsoundtouch -# -################################################################################ - -LIBSOUNDTOUCH_VERSION = 2.2 -LIBSOUNDTOUCH_SITE = $(call gitlab,soundtouch,soundtouch,$(LIBSOUNDTOUCH_VERSION)) -LIBSOUNDTOUCH_LICENSE = LGPL-2.1+ -LIBSOUNDTOUCH_LICENSE_FILES = COPYING.TXT -LIBSOUNDTOUCH_AUTORECONF = YES -LIBSOUNDTOUCH_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsoup/0001-Revert-tld-parser-use-Python-3.patch b/buildroot-2021.05/package/libsoup/0001-Revert-tld-parser-use-Python-3.patch deleted file mode 100644 index c27ee986..00000000 --- a/buildroot-2021.05/package/libsoup/0001-Revert-tld-parser-use-Python-3.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 015926c80fa3e9704f05cbc1ad17f0a877f8de09 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 1 Sep 2018 15:39:04 +0200 -Subject: [PATCH] Revert "tld-parser: use Python 3" - -This reverts commit 4b924e573da307436169d5ef7e04c0ab85b36ef9. The -script runs just fine with Python 2.x, there is no reason to enforce -using Python 3.x. - -Signed-off-by: Thomas Petazzoni ---- - libsoup/tld-parser.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libsoup/tld-parser.py b/libsoup/tld-parser.py -index a743471a..5d9d2ba5 100755 ---- a/libsoup/tld-parser.py -+++ b/libsoup/tld-parser.py -@@ -1,4 +1,4 @@ --#!/usr/bin/env python3 -+#!/usr/bin/env python - - # Generate tld rules - # Copyright (C) 2012 Red Hat, Inc. --- -2.14.4 - diff --git a/buildroot-2021.05/package/libsoup/Config.in b/buildroot-2021.05/package/libsoup/Config.in deleted file mode 100644 index f6f8fde9..00000000 --- a/buildroot-2021.05/package/libsoup/Config.in +++ /dev/null @@ -1,38 +0,0 @@ -config BR2_PACKAGE_LIBSOUP - bool "libsoup" - depends on BR2_USE_WCHAR # glib2 and gnutls - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_SQLITE - help - libsoup is an HTTP client/server library. It uses GObject - and the GLib main loop, to integrate well with GNOME - applications. - - https://wiki.gnome.org/Projects/libsoup - -if BR2_PACKAGE_LIBSOUP - -config BR2_PACKAGE_LIBSOUP_GNOME - bool "libsoup-gnome" - help - Build libsoup-gnome library. - -config BR2_PACKAGE_LIBSOUP_SSL - bool "https support" - depends on !BR2_STATIC_LIBS # glib-networking, gnutls - select BR2_PACKAGE_GLIB_NETWORKING - select BR2_PACKAGE_GNUTLS - help - Enable HTTPS (SSL) support. - -comment "libsoup https support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -endif - -comment "libsoup needs a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libsoup/libsoup.hash b/buildroot-2021.05/package/libsoup/libsoup.hash deleted file mode 100644 index 666bbc27..00000000 --- a/buildroot-2021.05/package/libsoup/libsoup.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://ftp.gnome.org/pub/GNOME/sources/libsoup/2.62/libsoup-2.62.3.sha256sum -sha256 d312ade547495c2093ff8bda61f9b9727a98cfdae339f3263277dd39c0451172 libsoup-2.62.3.tar.xz -# Locally calculated -sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/buildroot-2021.05/package/libsoup/libsoup.mk b/buildroot-2021.05/package/libsoup/libsoup.mk deleted file mode 100644 index 44808225..00000000 --- a/buildroot-2021.05/package/libsoup/libsoup.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# libsoup -# -################################################################################ - -LIBSOUP_VERSION_MAJOR = 2.62 -LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).3 -LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz -LIBSOUP_SITE = http://ftp.gnome.org/pub/gnome/sources/libsoup/$(LIBSOUP_VERSION_MAJOR) -LIBSOUP_LICENSE = LGPL-2.0+ -LIBSOUP_LICENSE_FILES = COPYING -LIBSOUP_CPE_ID_VENDOR = gnome -LIBSOUP_INSTALL_STAGING = YES -LIBSOUP_CONF_ENV = ac_cv_path_GLIB_GENMARSHAL=$(LIBGLIB2_HOST_BINARY) -LIBSOUP_CONF_OPTS = --disable-glibtest --enable-vala=no --with-gssapi=no -LIBSOUP_DEPENDENCIES = host-pkgconf host-libglib2 \ - libglib2 libxml2 sqlite host-intltool - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -LIBSOUP_CONF_OPTS += --with-introspection -LIBSOUP_DEPENDENCIES += gobject-introspection -else -LIBSOUP_CONF_OPTS += --without-introspection -endif - -ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y) -LIBSOUP_CONF_OPTS += --with-gnome -else -LIBSOUP_CONF_OPTS += --without-gnome -endif - -ifeq ($(BR2_PACKAGE_LIBSOUP_SSL),y) -LIBSOUP_DEPENDENCIES += glib-networking -else -LIBSOUP_CONF_OPTS += --disable-tls-check -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsrtp/libsrtp.hash b/buildroot-2021.05/package/libsrtp/libsrtp.hash deleted file mode 100644 index d4b7b54d..00000000 --- a/buildroot-2021.05/package/libsrtp/libsrtp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 44fd7497bce78767e96b54a11bca520adb2ad32effd515f04bce602b60a1a50b libsrtp-2.2.0.tar.gz -sha256 8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae LICENSE diff --git a/buildroot-2021.05/package/libsrtp/libsrtp.mk b/buildroot-2021.05/package/libsrtp/libsrtp.mk deleted file mode 100644 index 5cbd9795..00000000 --- a/buildroot-2021.05/package/libsrtp/libsrtp.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# libsrtp -# -################################################################################ - -LIBSRTP_VERSION = 2.2.0 -LIBSRTP_SITE = $(call github,cisco,libsrtp,v$(LIBSRTP_VERSION)) -LIBSRTP_INSTALL_STAGING = YES -LIBSRTP_LICENSE = BSD-3-Clause -LIBSRTP_LICENSE_FILES = LICENSE -LIBSRTP_CPE_ID_VENDOR = cisco - -ifeq ($(BR2_STATIC_LIBS),y) -LIBSRTP_MAKE_OPTS = libsrtp2.a -else ifeq ($(BR2_SHARED_LIBS),y) -LIBSRTP_MAKE_OPTS = shared_library -else -LIBSRTP_MAKE_OPTS = libsrtp2.a shared_library -endif - -# While libsrtp is not using pkg-config itself, it checks if -# pkg-config is available to determine whether it should install -# libsrtp.pc. Since installing it seems useful, let's depend on -# host-pkgconf to make sure pkg-config is installed. -LIBSRTP_DEPENDENCIES = host-pkgconf - -# openssl handling needs libdl support -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) -LIBSRTP_DEPENDENCIES += openssl -LIBSRTP_CONF_OPTS += --enable-openssl -else -LIBSRTP_CONF_OPTS += --disable-openssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libss7/Config.in b/buildroot-2021.05/package/libss7/Config.in deleted file mode 100644 index bdf5fbe3..00000000 --- a/buildroot-2021.05/package/libss7/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_LIBSS7 - bool "libss7" - depends on BR2_USE_MMU # dahdi-tools <- perl - depends on BR2_LINUX_KERNEL - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_DAHDI_LINUX - select BR2_PACKAGE_DAHDI_TOOLS - help - libss7 is an open source library that encapsulates the - protocols used to communicate using Signaling System 7 - over ISDN (T1, E1). - - http://www.asterisk.org/downloads/libss7 - -comment "libss7 needs a kernel to be built" - depends on !BR2_LINUX_KERNEL - -comment "libss7 needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libssh/Config.in b/buildroot-2021.05/package/libssh/Config.in deleted file mode 100644 index cde73a0d..00000000 --- a/buildroot-2021.05/package/libssh/Config.in +++ /dev/null @@ -1,45 +0,0 @@ -config BR2_PACKAGE_LIBSSH - bool "libssh" - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_MBEDTLS || BR2_PACKAGE_LIBGCRYPT) - help - libssh is a multiplatform C library implementing the SSHv2 - and SSHv1 protocol on client and server side. With libssh, - you can remotely execute programs, transfer files, use a - secure and transparent tunnel for your remote applications. - - http://www.libssh.org/ - -if BR2_PACKAGE_LIBSSH - -config BR2_PACKAGE_LIBSSH_SERVER - bool "server" - help - Enable libssh server support - -choice - prompt "Crypto Backend" - help - Select crypto library to be used in libssh. - -config BR2_PACKAGE_LIBSSH_MBEDTLS - bool "mbedtls" - depends on BR2_PACKAGE_MBEDTLS - -config BR2_PACKAGE_LIBSSH_LIBGCRYPT - bool "gcrypt" - depends on BR2_PACKAGE_LIBGCRYPT - -config BR2_PACKAGE_LIBSSH_OPENSSL - bool "openssl" - depends on BR2_PACKAGE_OPENSSL - -endchoice - -endif - -comment "libssh needs a toolchain w/ dynamic library, threads" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libssh/libssh.hash b/buildroot-2021.05/package/libssh/libssh.hash deleted file mode 100644 index bc6fa3f1..00000000 --- a/buildroot-2021.05/package/libssh/libssh.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -# https://www.libssh.org/files/0.9/libssh-0.9.5.tar.xz.asc -# with key 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D -sha256 acffef2da98e761fc1fd9c4fddde0f3af60ab44c4f5af05cd1b2d60a3fa08718 libssh-0.9.5.tar.xz -sha256 1656186e951db1c010a8485481fa94587f7e53a26d24976bef97945ad0c4df5a COPYING diff --git a/buildroot-2021.05/package/libssh/libssh.mk b/buildroot-2021.05/package/libssh/libssh.mk deleted file mode 100644 index eeb5d848..00000000 --- a/buildroot-2021.05/package/libssh/libssh.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# libssh -# -################################################################################ - -LIBSSH_VERSION_MAJOR = 0.9 -LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).5 -LIBSSH_SOURCE = libssh-$(LIBSSH_VERSION).tar.xz -LIBSSH_SITE = https://www.libssh.org/files/$(LIBSSH_VERSION_MAJOR) -LIBSSH_LICENSE = LGPL-2.1 -LIBSSH_LICENSE_FILES = COPYING -LIBSSH_CPE_ID_VENDOR = libssh -LIBSSH_INSTALL_STAGING = YES -LIBSSH_SUPPORTS_IN_SOURCE_BUILD = NO -LIBSSH_CONF_OPTS = \ - -DWITH_STACK_PROTECTOR=OFF \ - -DWITH_EXAMPLES=OFF - -ifeq ($(BR2_PACKAGE_LIBSSH_SERVER),y) -LIBSSH_CONF_OPTS += -DWITH_SERVER=ON -else -LIBSSH_CONF_OPTS += -DWITH_SERVER=OFF -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -LIBSSH_CONF_OPTS += -DWITH_ZLIB=ON -LIBSSH_DEPENDENCIES += zlib -else -LIBSSH_CONF_OPTS += -DWITH_ZLIB=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBSSH_MBEDTLS),y) -LIBSSH_CONF_OPTS += -DWITH_MBEDTLS=ON -LIBSSH_DEPENDENCIES += mbedtls -else ifeq ($(BR2_PACKAGE_LIBSSH_LIBGCRYPT),y) -LIBSSH_CONF_OPTS += -DWITH_GCRYPT=ON -LIBSSH_DEPENDENCIES += libgcrypt -else ifeq ($(BR2_PACKAGE_LIBSSH_OPENSSL),y) -LIBSSH_DEPENDENCIES += openssl -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libssh2/0001-drop-custom-buildconf-script.patch b/buildroot-2021.05/package/libssh2/0001-drop-custom-buildconf-script.patch deleted file mode 100644 index bf187b26..00000000 --- a/buildroot-2021.05/package/libssh2/0001-drop-custom-buildconf-script.patch +++ /dev/null @@ -1,97 +0,0 @@ -From 39a2a444a32896bd2dab37c9b247ccfd11ff4693 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Mon, 30 Oct 2017 19:29:12 +0100 -Subject: [PATCH] buildsystem: drop custom buildconf script, rely on autoreconf - -The buildconf script is currently required, because we need to copy a -header around, because it is used both from the library and the examples -sources. - -However, having a custom 'buildconf'-like script is not needed if we can -ensure that the header / exists by the time it is needed. For That, we -can just append the src/ directory to the headers search path for the -examples. - -And then it means we no longer need to generate the same header twice, -so we remove the second one from configure.ac. - -Now, we can just call "autoreconf -fi" to generate the autotools files, -instead of relying on the canned sequence in "buildconf", since -autoreconf has now long known what to do at the correct moment (future -versions of autotools, automake, autopoint, autoheader etc... may -require an other ordering, or other intermediate steps, etc...). - -Eventually, get rid of buildconf now it is no longer needed. In fact, we -really keep it for legacy, but have it just call autoreconf (and print a -nice user-friendly warning). - -Update gitignore accordingly, too. - -Signed-off-by: "Yann E. MORIN" -Cc: Sam Voss -[Fabrice: Remove .gitignore so patch applies on 1.9.0] -Signed-off-by: Fabrice Fontaine ---- - .gitignore | 2 ++ - buildconf | 24 +++++------------------- - configure.ac | 2 +- - example/.gitignore | 2 -- - example/Makefile.am | 2 +- - 5 files changed, 9 insertions(+), 23 deletions(-) - -diff --git a/buildconf b/buildconf -index 558dcb66..728b3397 100755 ---- a/buildconf -+++ b/buildconf -@@ -1,22 +1,8 @@ - #!/bin/sh - --LIBTOOLIZE="libtoolize" -+echo "***" >&2 -+echo "*** Do not use buildconf. Instead, just use: autoreconf -fi" >&2 -+echo "*** Doing it for you now, but buildconf may disapear in the future." >&2 -+echo "***" >&2 - --if [ "x`which $LIBTOOLIZE`" = "x" ]; then -- LIBTOOLIZE="glibtoolize" --fi -- --if [ "x`which $LIBTOOLIZE`" = "x" ]; then -- echo "Neither libtoolize nor glibtoolize could be found!" -- exit 1 --fi -- --${LIBTOOLIZE} --copy --automake --force --${ACLOCAL:-aclocal} -I m4 $ACLOCAL_FLAGS --${AUTOHEADER:-autoheader} --# copy the private libssh2_config.h.in to the examples dir so that --# it can be included without pointing the include path to the private --# source dir --cp src/libssh2_config.h.in example/libssh2_config.h.in --${AUTOCONF:-autoconf} --${AUTOMAKE:-automake} --add-missing --copy -+${AUTORECONF:-autoreconf} -fi "${@}" -diff --git a/configure.ac b/configure.ac -index c6ff7535..6939d0d6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2,7 +2,7 @@ - AC_INIT(libssh2, [-], libssh2-devel@cool.haxx.se) - AC_CONFIG_MACRO_DIR([m4]) - AC_CONFIG_SRCDIR([src]) --AC_CONFIG_HEADERS([src/libssh2_config.h example/libssh2_config.h]) -+AC_CONFIG_HEADERS([src/libssh2_config.h]) - AM_MAINTAINER_MODE - m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - -diff --git a/example/Makefile.am b/example/Makefile.am -index 5cf5f071..41f65b12 100644 ---- a/example/Makefile.am -+++ b/example/Makefile.am -@@ -13,5 +13,5 @@ if HAVE_SYS_UN_H - noinst_PROGRAMS += x11 - endif - --AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/example -+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/example -I../src - LDADD = $(top_builddir)/src/libssh2.la diff --git a/buildroot-2021.05/package/libssh2/0002-acinclude.m4-add-mbedtls-to-LIBS.patch b/buildroot-2021.05/package/libssh2/0002-acinclude.m4-add-mbedtls-to-LIBS.patch deleted file mode 100644 index a70b1fe8..00000000 --- a/buildroot-2021.05/package/libssh2/0002-acinclude.m4-add-mbedtls-to-LIBS.patch +++ /dev/null @@ -1,35 +0,0 @@ -From f4846473f0f0ec313f8ed7ff4cd9f59c1741465d Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Tue, 20 Mar 2018 20:21:53 +0200 -Subject: [PATCH] acinclude.m4: add mbedtls to LIBS - -This is useful for static builds so that the Libs.private field in -libssh2.pc contains correct info for the benefit of pkg-config users. -Static link with libssh2 requires this information. - -Signed-off-by: Baruch Siach -[Fabrice: Replace $LIBMBEDCRYTO by -lmdedcrypto to avoid adding a full -library path to libssh2.pc as it raises build failures on some packages -such as xerces] -Signed-off-by: Fabrice Fontaine ---- -Upstream status: https://github.com/libssh2/libssh2/pull/242 - - acinclude.m4 | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/acinclude.m4 b/acinclude.m4 -index c0e89a1a0c98..02c70845d27c 100644 ---- a/acinclude.m4 -+++ b/acinclude.m4 -@@ -441,6 +441,7 @@ m4_case([$1], - [mbedtls], [ - LIBSSH2_LIB_HAVE_LINKFLAGS([mbedcrypto], [], [#include ], [ - AC_DEFINE(LIBSSH2_MBEDTLS, 1, [Use $1]) -+ LIBS="$LIBS -lmbedcrypto" - found_crypto="$1" - support_clear_memory=yes - ]) --- -2.16.2 - diff --git a/buildroot-2021.05/package/libssh2/0003-packet-c-improve-message-parsing.patch b/buildroot-2021.05/package/libssh2/0003-packet-c-improve-message-parsing.patch deleted file mode 100644 index 2b735200..00000000 --- a/buildroot-2021.05/package/libssh2/0003-packet-c-improve-message-parsing.patch +++ /dev/null @@ -1,127 +0,0 @@ -From dedcbd106f8e52d5586b0205bc7677e4c9868f9c Mon Sep 17 00:00:00 2001 -From: Will Cosgrove -Date: Fri, 30 Aug 2019 09:57:38 -0700 -Subject: [PATCH] packet.c: improve message parsing (#402) - -* packet.c: improve parsing of packets - -file: packet.c - -notes: -Use _libssh2_get_string API in SSH_MSG_DEBUG/SSH_MSG_DISCONNECT. Additional uint32 bounds check in SSH_MSG_GLOBAL_REQUEST. -[Retrieved from: -https://github.com/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9c] -Signed-off-by: Fabrice Fontaine ---- - src/packet.c | 68 ++++++++++++++++++++++------------------------------ - 1 file changed, 29 insertions(+), 39 deletions(-) - -diff --git a/src/packet.c b/src/packet.c -index 38ab6294..2e01bfc5 100644 ---- a/src/packet.c -+++ b/src/packet.c -@@ -419,8 +419,8 @@ _libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data, - size_t datalen, int macstate) - { - int rc = 0; -- char *message = NULL; -- char *language = NULL; -+ unsigned char *message = NULL; -+ unsigned char *language = NULL; - size_t message_len = 0; - size_t language_len = 0; - LIBSSH2_CHANNEL *channelp = NULL; -@@ -472,33 +472,23 @@ _libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data, - - case SSH_MSG_DISCONNECT: - if(datalen >= 5) { -- size_t reason = _libssh2_ntohu32(data + 1); -+ uint32_t reason = 0; -+ struct string_buf buf; -+ buf.data = (unsigned char *)data; -+ buf.dataptr = buf.data; -+ buf.len = datalen; -+ buf.dataptr++; /* advance past type */ - -- if(datalen >= 9) { -- message_len = _libssh2_ntohu32(data + 5); -+ _libssh2_get_u32(&buf, &reason); -+ _libssh2_get_string(&buf, &message, &message_len); -+ _libssh2_get_string(&buf, &language, &language_len); - -- if(message_len < datalen-13) { -- /* 9 = packet_type(1) + reason(4) + message_len(4) */ -- message = (char *) data + 9; -- -- language_len = -- _libssh2_ntohu32(data + 9 + message_len); -- language = (char *) data + 9 + message_len + 4; -- -- if(language_len > (datalen-13-message_len)) { -- /* bad input, clear info */ -- language = message = NULL; -- language_len = message_len = 0; -- } -- } -- else -- /* bad size, clear it */ -- message_len = 0; -- } - if(session->ssh_msg_disconnect) { -- LIBSSH2_DISCONNECT(session, reason, message, -- message_len, language, language_len); -+ LIBSSH2_DISCONNECT(session, reason, (const char *)message, -+ message_len, (const char *)language, -+ language_len); - } -+ - _libssh2_debug(session, LIBSSH2_TRACE_TRANS, - "Disconnect(%d): %s(%s)", reason, - message, language); -@@ -539,24 +529,24 @@ _libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data, - int always_display = data[1]; - - if(datalen >= 6) { -- message_len = _libssh2_ntohu32(data + 2); -- -- if(message_len <= (datalen - 10)) { -- /* 6 = packet_type(1) + display(1) + message_len(4) */ -- message = (char *) data + 6; -- language_len = _libssh2_ntohu32(data + 6 + -- message_len); -- -- if(language_len <= (datalen - 10 - message_len)) -- language = (char *) data + 10 + message_len; -- } -+ struct string_buf buf; -+ buf.data = (unsigned char *)data; -+ buf.dataptr = buf.data; -+ buf.len = datalen; -+ buf.dataptr += 2; /* advance past type & always display */ -+ -+ _libssh2_get_string(&buf, &message, &message_len); -+ _libssh2_get_string(&buf, &language, &language_len); - } - - if(session->ssh_msg_debug) { -- LIBSSH2_DEBUG(session, always_display, message, -- message_len, language, language_len); -+ LIBSSH2_DEBUG(session, always_display, -+ (const char *)message, -+ message_len, (const char *)language, -+ language_len); - } - } -+ - /* - * _libssh2_debug will actually truncate this for us so - * that it's not an inordinate about of data -@@ -579,7 +569,7 @@ _libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data, - uint32_t len = 0; - unsigned char want_reply = 0; - len = _libssh2_ntohu32(data + 1); -- if(datalen >= (6 + len)) { -+ if((len <= (UINT_MAX - 6)) && (datalen >= (6 + len))) { - want_reply = data[5 + len]; - _libssh2_debug(session, - LIBSSH2_TRACE_CONN, diff --git a/buildroot-2021.05/package/libssh2/Config.in b/buildroot-2021.05/package/libssh2/Config.in deleted file mode 100644 index 90c38813..00000000 --- a/buildroot-2021.05/package/libssh2/Config.in +++ /dev/null @@ -1,32 +0,0 @@ -config BR2_PACKAGE_LIBSSH2 - bool "libssh2" - select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_MBEDTLS || BR2_PACKAGE_LIBGCRYPT) - help - libssh2 is a client-side C library implementing the SSH2 - protocol as defined by Internet Drafts: SECSH-TRANS(22), - SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), - SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10) - - http://www.libssh2.org/ - -if BR2_PACKAGE_LIBSSH2 - -choice - prompt "Crypto Backend" - help - Select crypto library to be used in libssh2. - -config BR2_PACKAGE_LIBSSH2_MBEDTLS - bool "mbedtls" - depends on BR2_PACKAGE_MBEDTLS - -config BR2_PACKAGE_LIBSSH2_LIBGCRYPT - bool "gcrypt" - depends on BR2_PACKAGE_LIBGCRYPT - -config BR2_PACKAGE_LIBSSH2_OPENSSL - bool "openssl" - depends on BR2_PACKAGE_OPENSSL - -endchoice -endif diff --git a/buildroot-2021.05/package/libssh2/libssh2.hash b/buildroot-2021.05/package/libssh2/libssh2.hash deleted file mode 100644 index 8e048ff5..00000000 --- a/buildroot-2021.05/package/libssh2/libssh2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd libssh2-1.9.0.tar.gz -sha256 e15ed284a15e80115467d6d7f030f0d89d8fabbecd78fb6e0f861f0cfc128fd9 COPYING diff --git a/buildroot-2021.05/package/libssh2/libssh2.mk b/buildroot-2021.05/package/libssh2/libssh2.mk deleted file mode 100644 index 6147583a..00000000 --- a/buildroot-2021.05/package/libssh2/libssh2.mk +++ /dev/null @@ -1,56 +0,0 @@ -################################################################################ -# -# libssh2 -# -################################################################################ - -LIBSSH2_VERSION = 1.9.0 -LIBSSH2_SITE = https://www.libssh2.org/download -LIBSSH2_LICENSE = BSD -LIBSSH2_LICENSE_FILES = COPYING -LIBSSH2_CPE_ID_VENDOR = libssh2 -LIBSSH2_INSTALL_STAGING = YES -LIBSSH2_CONF_OPTS = --disable-examples-build - -# 0003-packet-c-improve-message-parsing.patch -LIBSSH2_IGNORE_CVES += CVE-2019-17498 - -# patch touching configure.ac and acinclude.m4 -LIBSSH2_AUTORECONF = YES - -ifeq ($(BR2_PACKAGE_LIBSSH2_MBEDTLS),y) -LIBSSH2_DEPENDENCIES += mbedtls -LIBSSH2_CONF_OPTS += --with-libmbedcrypto-prefix=$(STAGING_DIR)/usr \ - --with-crypto=mbedtls -else ifeq ($(BR2_PACKAGE_LIBSSH2_LIBGCRYPT),y) -LIBSSH2_DEPENDENCIES += libgcrypt -LIBSSH2_CONF_OPTS += --with-libgcrypt-prefix=$(STAGING_DIR)/usr \ - --with-crypto=libgcrypt -# configure.ac forgets to link to dependent libraries of gcrypt breaking static -# linking -LIBSSH2_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/libgcrypt-config --libs`" -else ifeq ($(BR2_PACKAGE_LIBSSH2_OPENSSL),y) -LIBSSH2_DEPENDENCIES += host-pkgconf openssl -LIBSSH2_CONF_OPTS += --with-libssl-prefix=$(STAGING_DIR)/usr \ - --with-crypto=openssl -# configure.ac forgets to link to dependent libraries of openssl breaking static -# linking -LIBSSH2_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -endif - -# Add zlib support if enabled -ifeq ($(BR2_PACKAGE_ZLIB),y) -LIBSSH2_DEPENDENCIES += zlib -LIBSSH2_CONF_OPTS += --with-libz \ - --with-libz-prefix=$(STAGING_DIR)/usr -else -LIBSSH2_CONF_OPTS += --without-libz -endif - -HOST_LIBSSH2_DEPENDENCIES += host-openssl -HOST_LIBSSH2_CONF_OPTS += --with-openssl \ - --with-libssl-prefix=$(HOST_DIR) \ - --without-libgcrypt - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libstrophe/0001-make-autoreconfable.patch b/buildroot-2021.05/package/libstrophe/0001-make-autoreconfable.patch deleted file mode 100644 index 76ca6f25..00000000 --- a/buildroot-2021.05/package/libstrophe/0001-make-autoreconfable.patch +++ /dev/null @@ -1,20 +0,0 @@ -Make the package autoreconfigurable - -Signed-off-by: Denis Bodor -[Gustavo: update for 0.8.8] - -diff -Nura libstrophe-0.8.8.orig/m4/.empty libstrophe-0.8.8/m4/.empty ---- libstrophe-0.8.8.orig/m4/.empty 1969-12-31 21:00:00.000000000 -0300 -+++ libstrophe-0.8.8/m4/.empty 2015-09-23 19:29:37.893688227 -0300 -@@ -0,0 +1,2 @@ -+ -+ -diff -Nura libstrophe-0.8.8.orig/Makefile.am libstrophe-0.8.8/Makefile.am ---- libstrophe-0.8.8.orig/Makefile.am 2015-09-23 19:26:10.960492781 -0300 -+++ libstrophe-0.8.8/Makefile.am 2015-09-23 19:29:17.265970964 -0300 -@@ -1,4 +1,4 @@ --AUTOMAKE_OPTIONS = subdir-objects -+AUTOMAKE_OPTIONS = subdir-objects foreign - - ACLOCAL_AMFLAGS = -I m4 - AM_CFLAGS = -g -Wall diff --git a/buildroot-2021.05/package/libstrophe/Config.in b/buildroot-2021.05/package/libstrophe/Config.in deleted file mode 100644 index 5fdb918d..00000000 --- a/buildroot-2021.05/package/libstrophe/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_LIBSTROPHE - bool "libstrophe" - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBXML2 if !BR2_PACKAGE_EXPAT - help - libstrophe is a lightweight XMPP client library written in C. - It has minimal dependencies and is configurable for various - environments. It runs well on both Linux, Unix, and Windows - based platforms. - - https://github.com/strophe/libstrophe - -comment "libstrophe needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libstrophe/libstrophe.hash b/buildroot-2021.05/package/libstrophe/libstrophe.hash deleted file mode 100644 index d5f15166..00000000 --- a/buildroot-2021.05/package/libstrophe/libstrophe.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 5bf0bbc555cb6059008f1b748370d4d2ee1e1fabd3eeab68475263556405ba39 libstrophe-0.10.1.tar.gz -sha256 82476f36ffd5e895a176013c0812166ba7b7d99f3d536fc7f5ed2e33e9f74a08 MIT-LICENSE.txt -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-LICENSE.txt diff --git a/buildroot-2021.05/package/libstrophe/libstrophe.mk b/buildroot-2021.05/package/libstrophe/libstrophe.mk deleted file mode 100644 index e078eb25..00000000 --- a/buildroot-2021.05/package/libstrophe/libstrophe.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# libstrophe -# -################################################################################ - -LIBSTROPHE_VERSION = 0.10.1 -LIBSTROPHE_SITE = $(call github,strophe,libstrophe,$(LIBSTROPHE_VERSION)) -LIBSTROPHE_DEPENDENCIES = openssl host-pkgconf -# Doesn't ship configure -LIBSTROPHE_AUTORECONF = YES -LIBSTROPHE_LICENSE = MIT or GPL-3.0 -LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt -LIBSTROPHE_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_EXPAT),y) -LIBSTROPHE_CONF_OPTS += --without-libxml2 -LIBSTROPHE_DEPENDENCIES += expat -else -LIBSTROPHE_CONF_OPTS += --with-libxml2 -LIBSTROPHE_DEPENDENCIES += libxml2 -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsysfs/Config.in b/buildroot-2021.05/package/libsysfs/Config.in deleted file mode 100644 index 2cbebaa5..00000000 --- a/buildroot-2021.05/package/libsysfs/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_LIBSYSFS - bool "libsysfs" - help - These are a set of utilities built upon sysfs, a filesystem in - Linux 2.6 kernels that exposes a system's device tree. - - http://linux-diag.sourceforge.net/Sysfsutils.html diff --git a/buildroot-2021.05/package/libsysfs/libsysfs.hash b/buildroot-2021.05/package/libsysfs/libsysfs.hash deleted file mode 100644 index 5d32300a..00000000 --- a/buildroot-2021.05/package/libsysfs/libsysfs.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 e865de2c1f559fff0d3fc936e660c0efaf7afe662064f2fb97ccad1ec28d208a sysfsutils-2.1.0.tar.gz -sha256 88ced477f0659c5a4df22df3b65de2f12ea3a9c7b5e4750fdc757bc11e97aa79 cmd/GPL -sha256 4eb1c0ea980e7e4c7fac34e025be0423f5e7ca7df501e1da7ef31f32f14d6cf9 lib/LGPL diff --git a/buildroot-2021.05/package/libsysfs/libsysfs.mk b/buildroot-2021.05/package/libsysfs/libsysfs.mk deleted file mode 100644 index 6cff8bf5..00000000 --- a/buildroot-2021.05/package/libsysfs/libsysfs.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libsysfs -# -################################################################################ - -LIBSYSFS_VERSION = 2.1.0 -LIBSYSFS_SITE = http://downloads.sourceforge.net/project/linux-diag/sysfsutils/$(LIBSYSFS_VERSION) -LIBSYSFS_SOURCE = sysfsutils-$(LIBSYSFS_VERSION).tar.gz -LIBSYSFS_INSTALL_STAGING = YES -LIBSYSFS_LICENSE = GPL-2.0 (utilities), LGPL-2.1+ (library) -LIBSYSFS_LICENSE_FILES = cmd/GPL lib/LGPL -LIBSYSFS_CPE_ID_VENDOR = sysfsutils_project -LIBSYSFS_CPE_ID_PRODUCT = sysfsutils - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libtasn1/libtasn1.hash b/buildroot-2021.05/package/libtasn1/libtasn1.hash deleted file mode 100644 index 93cfa1a6..00000000 --- a/buildroot-2021.05/package/libtasn1/libtasn1.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.16.0.tar.gz.sig -sha256 0e0fb0903839117cb6e3b56e68222771bebf22ad7fc2295a0ed7d576e8d4329d libtasn1-4.16.0.tar.gz -# Locally calculated -sha256 7446831f659f7ebfd8d497acc7f05dfa8e31c6cb6ba1b45df33d4895ab80f5a6 LICENSE -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 doc/COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 doc/COPYING.LESSER diff --git a/buildroot-2021.05/package/libtasn1/libtasn1.mk b/buildroot-2021.05/package/libtasn1/libtasn1.mk deleted file mode 100644 index a3547168..00000000 --- a/buildroot-2021.05/package/libtasn1/libtasn1.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# libtasn1 -# -################################################################################ - -LIBTASN1_VERSION = 4.16.0 -LIBTASN1_SITE = $(BR2_GNU_MIRROR)/libtasn1 -LIBTASN1_DEPENDENCIES = host-bison host-pkgconf -LIBTASN1_LICENSE = GPL-3.0+ (tests, tools), LGPL-2.1+ (library) -LIBTASN1_LICENSE_FILES = LICENSE doc/COPYING doc/COPYING.LESSER -LIBTASN1_CPE_ID_VENDOR = gnu -LIBTASN1_INSTALL_STAGING = YES - -# We're patching fuzz/Makefile.am -LIBTASN1_AUTORECONF = YES - -# 'missing' fallback logic botched so disable it completely -LIBTASN1_CONF_ENV = MAKEINFO="true" - -LIBTASN1_CONF_OPTS = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libtirpc/0003-Automatically-generate-XDR-header-files-from-.x-sour.patch b/buildroot-2021.05/package/libtirpc/0003-Automatically-generate-XDR-header-files-from-.x-sour.patch deleted file mode 100644 index 2712f53c..00000000 --- a/buildroot-2021.05/package/libtirpc/0003-Automatically-generate-XDR-header-files-from-.x-sour.patch +++ /dev/null @@ -1,1001 +0,0 @@ -From 001e3f26dc80b8f21bed7d9b5872fe10e8b4af04 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 10 Nov 2012 17:29:53 +0100 -Subject: [PATCH] Automatically generate XDR header files from .x sources using - rpcgen - -[Gustavo: update after dropping non-IPv6 support] -Signed-off-by: Thomas Petazzoni -[yann.morin.1998@free.fr: update for 0.3.1] -Signed-off-by: "Yann E. MORIN" -[baruch: use external rpcgen] -Signed-off-by: Baruch Siach ---- - Makefile.am | 16 +- - src/Makefile.am | 2 +- - tirpc/rpc/rpcb_prot.h | 797 ------------------------------------------ - tirpc/rpcsvc/crypt.h | 109 ------ - 4 files changed, 14 insertions(+), 910 deletions(-) - delete mode 100644 tirpc/rpc/rpcb_prot.h - delete mode 100644 tirpc/rpcsvc/crypt.h - -diff --git a/Makefile.am b/Makefile.am -index 3f6063771faf..368fb8a1aed2 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,6 +1,9 @@ - SUBDIRS = src man doc - ACLOCAL_AMFLAGS = -I m4 - -+GENFILES = tirpc/rpcsvc/crypt.h \ -+ tirpc/rpc/rpcb_prot.h -+ - noinst_HEADERS = tirpc/reentrant.h \ - tirpc/getpeereid.h \ - tirpc/libc_private.h \ -@@ -8,7 +11,6 @@ noinst_HEADERS = tirpc/reentrant.h \ - - nobase_include_HEADERS = tirpc/netconfig.h \ - tirpc/rpcsvc/crypt.x \ -- tirpc/rpcsvc/crypt.h \ - tirpc/rpc/xdr.h \ - tirpc/rpc/types.h \ - tirpc/rpc/svc_soc.h \ -@@ -21,7 +23,6 @@ nobase_include_HEADERS = tirpc/netconfig.h \ - tirpc/rpc/rpcent.h \ - tirpc/rpc/rpc_com.h \ - tirpc/rpc/rpcb_prot.x \ -- tirpc/rpc/rpcb_prot.h \ - tirpc/rpc/rpcb_clnt.h \ - tirpc/rpc/raw.h \ - tirpc/rpc/pmap_rmt.h \ -@@ -48,5 +49,14 @@ endif - pkgconfigdir=$(libdir)/pkgconfig - pkgconfig_DATA = libtirpc.pc - --CLEANFILES = cscope.* *~ -+nobase_nodist_include_HEADERS = $(GENFILES) -+BUILT_SOURCES = $(GENFILES) -+ -+$(GENFILES): %.h: %.x -+ mkdir -p $(dir $@) -+ rpcgen -h -o $@ $< -+ -+force: -+ -+CLEANFILES = cscope.* *~ $(GENFILES) - DISTCLEANFILES = Makefile.in libtirpc*.tar.gz -diff --git a/src/Makefile.am b/src/Makefile.am -index 2af40f16d03a..0b7e23835c36 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -8,7 +8,7 @@ - noinst_HEADERS = rpc_com.h debug.h - - AM_CPPFLAGS = -I$(top_srcdir)/tirpc -include config.h -DPORTMAP -DINET6 \ -- -D_GNU_SOURCE -Wall -pipe -+ -D_GNU_SOURCE -Wall -pipe -I$(top_builddir)/tirpc - - lib_LTLIBRARIES = libtirpc.la - -diff --git a/tirpc/rpc/rpcb_prot.h b/tirpc/rpc/rpcb_prot.h -deleted file mode 100644 -index 7ae48b805370..000000000000 ---- a/tirpc/rpc/rpcb_prot.h -+++ /dev/null -@@ -1,797 +0,0 @@ --/* -- * Please do not edit this file. -- * It was generated using rpcgen. -- */ -- --#ifndef _RPCB_PROT_H_RPCGEN --#define _RPCB_PROT_H_RPCGEN -- --#include -- --#ifndef IXDR_GET_INT32 --#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf)) --#endif --#ifndef IXDR_PUT_INT32 --#define IXDR_PUT_INT32(buf, v) IXDR_PUT_LONG((buf), (v)) --#endif --#ifndef IXDR_GET_U_INT32 --#define IXDR_GET_U_INT32(buf) IXDR_GET_U_LONG((buf)) --#endif --#ifndef IXDR_PUT_U_INT32 --#define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_U_LONG((buf), (v)) --#endif --/* -- * $FreeBSD: src/include/rpc/rpcb_prot.x,v 1.3 2002/03/13 10:29:06 obrien Exp $ -- * -- * Copyright (c) 2009, Sun Microsystems, Inc. -- * All rights reserved. -- * -- * Redistribution and use in source and binary forms, with or without -- * modification, are permitted provided that the following conditions are met: -- * - Redistributions of source code must retain the above copyright notice, -- * this list of conditions and the following disclaimer. -- * - Redistributions in binary form must reproduce the above copyright notice, -- * this list of conditions and the following disclaimer in the documentation -- * and/or other materials provided with the distribution. -- * - Neither the name of Sun Microsystems, Inc. nor the names of its -- * contributors may be used to endorse or promote products derived -- * from this software without specific prior written permission. -- * -- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE -- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -- * POSSIBILITY OF SUCH DAMAGE. -- */ --/* -- * Copyright (c) 1988 by Sun Microsystems, Inc. -- */ --/* from rpcb_prot.x */ -- --/* #pragma ident "@(#)rpcb_prot.x 1.5 94/04/29 SMI" */ -- --#ifndef _KERNEL -- -- --/* -- * The following procedures are supported by the protocol in version 3: -- * -- * RPCBPROC_NULL() returns () -- * takes nothing, returns nothing -- * -- * RPCBPROC_SET(rpcb) returns (bool_t) -- * TRUE is success, FALSE is failure. Registers the tuple -- * [prog, vers, address, owner, netid]. -- * Finds out owner and netid information on its own. -- * -- * RPCBPROC_UNSET(rpcb) returns (bool_t) -- * TRUE is success, FALSE is failure. Un-registers tuple -- * [prog, vers, netid]. addresses is ignored. -- * If netid is NULL, unregister all. -- * -- * RPCBPROC_GETADDR(rpcb) returns (string). -- * 0 is failure. Otherwise returns the universal address where the -- * triple [prog, vers, netid] is registered. Ignore address and owner. -- * -- * RPCBPROC_DUMP() RETURNS (rpcblist_ptr) -- * used to dump the entire rpcbind maps -- * -- * RPCBPROC_CALLIT(rpcb_rmtcallargs) -- * RETURNS (rpcb_rmtcallres); -- * Calls the procedure on the remote machine. If it is not registered, -- * this procedure is quiet; i.e. it does not return error information!!! -- * This routine only passes null authentication parameters. -- * It has no interface to xdr routines for RPCBPROC_CALLIT. -- * -- * RPCBPROC_GETTIME() returns (int). -- * Gets the remote machines time -- * -- * RPCBPROC_UADDR2TADDR(strint) RETURNS (struct netbuf) -- * Returns the netbuf address from universal address. -- * -- * RPCBPROC_TADDR2UADDR(struct netbuf) RETURNS (string) -- * Returns the universal address from netbuf address. -- * -- * END OF RPCBIND VERSION 3 PROCEDURES -- */ --/* -- * Except for RPCBPROC_CALLIT, the procedures above are carried over to -- * rpcbind version 4. Those below are added or modified for version 4. -- * NOTE: RPCBPROC_BCAST HAS THE SAME FUNCTIONALITY AND PROCEDURE NUMBER -- * AS RPCBPROC_CALLIT. -- * -- * RPCBPROC_BCAST(rpcb_rmtcallargs) -- * RETURNS (rpcb_rmtcallres); -- * Calls the procedure on the remote machine. If it is not registered, -- * this procedure IS quiet; i.e. it DOES NOT return error information!!! -- * This routine should be used for broadcasting and nothing else. -- * -- * RPCBPROC_GETVERSADDR(rpcb) returns (string). -- * 0 is failure. Otherwise returns the universal address where the -- * triple [prog, vers, netid] is registered. Ignore address and owner. -- * Same as RPCBPROC_GETADDR except that if the given version number -- * is not available, the address is not returned. -- * -- * RPCBPROC_INDIRECT(rpcb_rmtcallargs) -- * RETURNS (rpcb_rmtcallres); -- * Calls the procedure on the remote machine. If it is not registered, -- * this procedure is NOT quiet; i.e. it DOES return error information!!! -- * as any normal application would expect. -- * -- * RPCBPROC_GETADDRLIST(rpcb) returns (rpcb_entry_list_ptr). -- * Same as RPCBPROC_GETADDR except that it returns a list of all the -- * addresses registered for the combination (prog, vers) (for all -- * transports). -- * -- * RPCBPROC_GETSTAT(void) returns (rpcb_stat_byvers) -- * Returns the statistics about the kind of requests received by rpcbind. -- */ -- --/* -- * A mapping of (program, version, network ID) to address -- */ -- --struct rpcb { -- rpcprog_t r_prog; -- rpcvers_t r_vers; -- char *r_netid; -- char *r_addr; -- char *r_owner; --}; --typedef struct rpcb rpcb; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcb(XDR *, rpcb*); --#elif __STDC__ --extern bool_t xdr_rpcb(XDR *, rpcb*); --#else /* Old Style C */ --bool_t xdr_rpcb(); --#endif /* Old Style C */ -- -- --typedef rpcb RPCB; -- -- --/* -- * A list of mappings -- * -- * Below are two definitions for the rpcblist structure. This is done because -- * xdr_rpcblist() is specified to take a struct rpcblist **, rather than a -- * struct rpcblist * that rpcgen would produce. One version of the rpcblist -- * structure (actually called rp__list) is used with rpcgen, and the other is -- * defined only in the header file for compatibility with the specified -- * interface. -- */ -- --struct rp__list { -- rpcb rpcb_map; -- struct rp__list *rpcb_next; --}; --typedef struct rp__list rp__list; --#ifdef __cplusplus --extern "C" bool_t xdr_rp__list(XDR *, rp__list*); --#elif __STDC__ --extern bool_t xdr_rp__list(XDR *, rp__list*); --#else /* Old Style C */ --bool_t xdr_rp__list(); --#endif /* Old Style C */ -- -- --typedef rp__list *rpcblist_ptr; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcblist_ptr(XDR *, rpcblist_ptr*); --#elif __STDC__ --extern bool_t xdr_rpcblist_ptr(XDR *, rpcblist_ptr*); --#else /* Old Style C */ --bool_t xdr_rpcblist_ptr(); --#endif /* Old Style C */ -- -- --typedef struct rp__list rpcblist; --typedef struct rp__list RPCBLIST; -- --#ifndef __cplusplus --struct rpcblist { -- RPCB rpcb_map; -- struct rpcblist *rpcb_next; --}; --#endif -- --#ifdef __cplusplus --extern "C" { --#endif --extern bool_t xdr_rpcblist(XDR *, rpcblist**); --#ifdef __cplusplus --} --#endif -- -- --/* -- * Arguments of remote calls -- */ -- --struct rpcb_rmtcallargs { -- rpcprog_t prog; -- rpcvers_t vers; -- rpcproc_t proc; -- struct { -- u_int args_len; -- char *args_val; -- } args; --}; --typedef struct rpcb_rmtcallargs rpcb_rmtcallargs; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcb_rmtcallargs(XDR *, rpcb_rmtcallargs*); --#elif __STDC__ --extern bool_t xdr_rpcb_rmtcallargs(XDR *, rpcb_rmtcallargs*); --#else /* Old Style C */ --bool_t xdr_rpcb_rmtcallargs(); --#endif /* Old Style C */ -- -- --/* -- * Client-side only representation of rpcb_rmtcallargs structure. -- * -- * The routine that XDRs the rpcb_rmtcallargs structure must deal with the -- * opaque arguments in the "args" structure. xdr_rpcb_rmtcallargs() needs to -- * be passed the XDR routine that knows the args' structure. This routine -- * doesn't need to go over-the-wire (and it wouldn't make sense anyway) since -- * the application being called already knows the args structure. So we use a -- * different "XDR" structure on the client side, r_rpcb_rmtcallargs, which -- * includes the args' XDR routine. -- */ --struct r_rpcb_rmtcallargs { -- rpcprog_t prog; -- rpcvers_t vers; -- rpcproc_t proc; -- struct { -- u_int args_len; -- char *args_val; -- } args; -- xdrproc_t xdr_args; /* encodes args */ --}; -- -- --/* -- * Results of the remote call -- */ -- --struct rpcb_rmtcallres { -- char *addr; -- struct { -- u_int results_len; -- char *results_val; -- } results; --}; --typedef struct rpcb_rmtcallres rpcb_rmtcallres; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcb_rmtcallres(XDR *, rpcb_rmtcallres*); --#elif __STDC__ --extern bool_t xdr_rpcb_rmtcallres(XDR *, rpcb_rmtcallres*); --#else /* Old Style C */ --bool_t xdr_rpcb_rmtcallres(); --#endif /* Old Style C */ -- -- --/* -- * Client-side only representation of rpcb_rmtcallres structure. -- */ --struct r_rpcb_rmtcallres { -- char *addr; -- struct { -- u_int32_t results_len; -- char *results_val; -- } results; -- xdrproc_t xdr_res; /* decodes results */ --}; -- --/* -- * rpcb_entry contains a merged address of a service on a particular -- * transport, plus associated netconfig information. A list of rpcb_entrys -- * is returned by RPCBPROC_GETADDRLIST. See netconfig.h for values used -- * in r_nc_* fields. -- */ -- --struct rpcb_entry { -- char *r_maddr; -- char *r_nc_netid; -- u_int r_nc_semantics; -- char *r_nc_protofmly; -- char *r_nc_proto; --}; --typedef struct rpcb_entry rpcb_entry; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcb_entry(XDR *, rpcb_entry*); --#elif __STDC__ --extern bool_t xdr_rpcb_entry(XDR *, rpcb_entry*); --#else /* Old Style C */ --bool_t xdr_rpcb_entry(); --#endif /* Old Style C */ -- -- --/* -- * A list of addresses supported by a service. -- */ -- --struct rpcb_entry_list { -- rpcb_entry rpcb_entry_map; -- struct rpcb_entry_list *rpcb_entry_next; --}; --typedef struct rpcb_entry_list rpcb_entry_list; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcb_entry_list(XDR *, rpcb_entry_list*); --#elif __STDC__ --extern bool_t xdr_rpcb_entry_list(XDR *, rpcb_entry_list*); --#else /* Old Style C */ --bool_t xdr_rpcb_entry_list(); --#endif /* Old Style C */ -- -- --typedef rpcb_entry_list *rpcb_entry_list_ptr; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcb_entry_list_ptr(XDR *, rpcb_entry_list_ptr*); --#elif __STDC__ --extern bool_t xdr_rpcb_entry_list_ptr(XDR *, rpcb_entry_list_ptr*); --#else /* Old Style C */ --bool_t xdr_rpcb_entry_list_ptr(); --#endif /* Old Style C */ -- -- --/* -- * rpcbind statistics -- */ -- --#define rpcb_highproc_2 RPCBPROC_CALLIT --#define rpcb_highproc_3 RPCBPROC_TADDR2UADDR --#define rpcb_highproc_4 RPCBPROC_GETSTAT --#define RPCBSTAT_HIGHPROC 13 --#define RPCBVERS_STAT 3 --#define RPCBVERS_4_STAT 2 --#define RPCBVERS_3_STAT 1 --#define RPCBVERS_2_STAT 0 -- --/* Link list of all the stats about getport and getaddr */ -- --struct rpcbs_addrlist { -- rpcprog_t prog; -- rpcvers_t vers; -- int success; -- int failure; -- char *netid; -- struct rpcbs_addrlist *next; --}; --typedef struct rpcbs_addrlist rpcbs_addrlist; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcbs_addrlist(XDR *, rpcbs_addrlist*); --#elif __STDC__ --extern bool_t xdr_rpcbs_addrlist(XDR *, rpcbs_addrlist*); --#else /* Old Style C */ --bool_t xdr_rpcbs_addrlist(); --#endif /* Old Style C */ -- -- --/* Link list of all the stats about rmtcall */ -- --struct rpcbs_rmtcalllist { -- rpcprog_t prog; -- rpcvers_t vers; -- rpcproc_t proc; -- int success; -- int failure; -- int indirect; -- char *netid; -- struct rpcbs_rmtcalllist *next; --}; --typedef struct rpcbs_rmtcalllist rpcbs_rmtcalllist; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcbs_rmtcalllist(XDR *, rpcbs_rmtcalllist*); --#elif __STDC__ --extern bool_t xdr_rpcbs_rmtcalllist(XDR *, rpcbs_rmtcalllist*); --#else /* Old Style C */ --bool_t xdr_rpcbs_rmtcalllist(); --#endif /* Old Style C */ -- -- --typedef int rpcbs_proc[RPCBSTAT_HIGHPROC]; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcbs_proc(XDR *, rpcbs_proc); --#elif __STDC__ --extern bool_t xdr_rpcbs_proc(XDR *, rpcbs_proc); --#else /* Old Style C */ --bool_t xdr_rpcbs_proc(); --#endif /* Old Style C */ -- -- --typedef rpcbs_addrlist *rpcbs_addrlist_ptr; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcbs_addrlist_ptr(XDR *, rpcbs_addrlist_ptr*); --#elif __STDC__ --extern bool_t xdr_rpcbs_addrlist_ptr(XDR *, rpcbs_addrlist_ptr*); --#else /* Old Style C */ --bool_t xdr_rpcbs_addrlist_ptr(); --#endif /* Old Style C */ -- -- --typedef rpcbs_rmtcalllist *rpcbs_rmtcalllist_ptr; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcbs_rmtcalllist_ptr(XDR *, rpcbs_rmtcalllist_ptr*); --#elif __STDC__ --extern bool_t xdr_rpcbs_rmtcalllist_ptr(XDR *, rpcbs_rmtcalllist_ptr*); --#else /* Old Style C */ --bool_t xdr_rpcbs_rmtcalllist_ptr(); --#endif /* Old Style C */ -- -- --struct rpcb_stat { -- rpcbs_proc info; -- int setinfo; -- int unsetinfo; -- rpcbs_addrlist_ptr addrinfo; -- rpcbs_rmtcalllist_ptr rmtinfo; --}; --typedef struct rpcb_stat rpcb_stat; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcb_stat(XDR *, rpcb_stat*); --#elif __STDC__ --extern bool_t xdr_rpcb_stat(XDR *, rpcb_stat*); --#else /* Old Style C */ --bool_t xdr_rpcb_stat(); --#endif /* Old Style C */ -- -- --/* -- * One rpcb_stat structure is returned for each version of rpcbind -- * being monitored. -- */ -- --typedef rpcb_stat rpcb_stat_byvers[RPCBVERS_STAT]; --#ifdef __cplusplus --extern "C" bool_t xdr_rpcb_stat_byvers(XDR *, rpcb_stat_byvers); --#elif __STDC__ --extern bool_t xdr_rpcb_stat_byvers(XDR *, rpcb_stat_byvers); --#else /* Old Style C */ --bool_t xdr_rpcb_stat_byvers(); --#endif /* Old Style C */ -- -- --/* -- * We don't define netbuf in RPCL, since it would contain structure member -- * names that would conflict with the definition of struct netbuf in -- * . Instead we merely declare the XDR routine xdr_netbuf() here, -- * and implement it ourselves in rpc/rpcb_prot.c. -- */ --#ifdef __cplusplus --extern "C" bool_t xdr_netbuf(XDR *, struct netbuf *); -- --#else /* __STDC__ */ --extern bool_t xdr_netbuf(XDR *, struct netbuf *); -- --#endif -- --#define RPCBVERS_3 RPCBVERS --#define RPCBVERS_4 RPCBVERS4 -- --#define _PATH_RPCBINDSOCK "/var/run/rpcbind.sock" -- --#else /* ndef _KERNEL */ --#ifdef __cplusplus --extern "C" { --#endif -- --/* -- * A mapping of (program, version, network ID) to address -- */ --struct rpcb { -- rpcprog_t r_prog; /* program number */ -- rpcvers_t r_vers; /* version number */ -- char *r_netid; /* network id */ -- char *r_addr; /* universal address */ -- char *r_owner; /* owner of the mapping */ --}; --typedef struct rpcb RPCB; -- --/* -- * A list of mappings -- */ --struct rpcblist { -- RPCB rpcb_map; -- struct rpcblist *rpcb_next; --}; --typedef struct rpcblist RPCBLIST; --typedef struct rpcblist *rpcblist_ptr; -- --/* -- * Remote calls arguments -- */ --struct rpcb_rmtcallargs { -- rpcprog_t prog; /* program number */ -- rpcvers_t vers; /* version number */ -- rpcproc_t proc; /* procedure number */ -- u_int32_t arglen; /* arg len */ -- caddr_t args_ptr; /* argument */ -- xdrproc_t xdr_args; /* XDR routine for argument */ --}; --typedef struct rpcb_rmtcallargs rpcb_rmtcallargs; -- --/* -- * Remote calls results -- */ --struct rpcb_rmtcallres { -- char *addr_ptr; /* remote universal address */ -- u_int32_t resultslen; /* results length */ -- caddr_t results_ptr; /* results */ -- xdrproc_t xdr_results; /* XDR routine for result */ --}; --typedef struct rpcb_rmtcallres rpcb_rmtcallres; -- --struct rpcb_entry { -- char *r_maddr; -- char *r_nc_netid; -- unsigned int r_nc_semantics; -- char *r_nc_protofmly; -- char *r_nc_proto; --}; --typedef struct rpcb_entry rpcb_entry; -- --/* -- * A list of addresses supported by a service. -- */ -- --struct rpcb_entry_list { -- rpcb_entry rpcb_entry_map; -- struct rpcb_entry_list *rpcb_entry_next; --}; --typedef struct rpcb_entry_list rpcb_entry_list; -- --typedef rpcb_entry_list *rpcb_entry_list_ptr; -- --/* -- * rpcbind statistics -- */ -- --#define rpcb_highproc_2 RPCBPROC_CALLIT --#define rpcb_highproc_3 RPCBPROC_TADDR2UADDR --#define rpcb_highproc_4 RPCBPROC_GETSTAT --#define RPCBSTAT_HIGHPROC 13 --#define RPCBVERS_STAT 3 --#define RPCBVERS_4_STAT 2 --#define RPCBVERS_3_STAT 1 --#define RPCBVERS_2_STAT 0 -- --/* Link list of all the stats about getport and getaddr */ -- --struct rpcbs_addrlist { -- rpcprog_t prog; -- rpcvers_t vers; -- int success; -- int failure; -- char *netid; -- struct rpcbs_addrlist *next; --}; --typedef struct rpcbs_addrlist rpcbs_addrlist; -- --/* Link list of all the stats about rmtcall */ -- --struct rpcbs_rmtcalllist { -- rpcprog_t prog; -- rpcvers_t vers; -- rpcproc_t proc; -- int success; -- int failure; -- int indirect; -- char *netid; -- struct rpcbs_rmtcalllist *next; --}; --typedef struct rpcbs_rmtcalllist rpcbs_rmtcalllist; -- --typedef int rpcbs_proc[RPCBSTAT_HIGHPROC]; -- --typedef rpcbs_addrlist *rpcbs_addrlist_ptr; -- --typedef rpcbs_rmtcalllist *rpcbs_rmtcalllist_ptr; -- --struct rpcb_stat { -- rpcbs_proc info; -- int setinfo; -- int unsetinfo; -- rpcbs_addrlist_ptr addrinfo; -- rpcbs_rmtcalllist_ptr rmtinfo; --}; --typedef struct rpcb_stat rpcb_stat; -- --/* -- * One rpcb_stat structure is returned for each version of rpcbind -- * being monitored. -- */ -- --typedef rpcb_stat rpcb_stat_byvers[RPCBVERS_STAT]; -- --#ifdef __cplusplus --} --#endif -- --#endif /* ndef _KERNEL */ -- --#define RPCBPROG ((u_int32_t)100000) --#define RPCBVERS ((u_int32_t)3) -- --#ifdef __cplusplus --#define RPCBPROC_SET ((u_int32_t)1) --extern "C" bool_t * rpcbproc_set_3(rpcb *, CLIENT *); --extern "C" bool_t * rpcbproc_set_3_svc(rpcb *, struct svc_req *); --#define RPCBPROC_UNSET ((u_int32_t)2) --extern "C" bool_t * rpcbproc_unset_3(rpcb *, CLIENT *); --extern "C" bool_t * rpcbproc_unset_3_svc(rpcb *, struct svc_req *); --#define RPCBPROC_GETADDR ((u_int32_t)3) --extern "C" char ** rpcbproc_getaddr_3(rpcb *, CLIENT *); --extern "C" char ** rpcbproc_getaddr_3_svc(rpcb *, struct svc_req *); --#define RPCBPROC_DUMP ((u_int32_t)4) --extern "C" rpcblist_ptr * rpcbproc_dump_3(void *, CLIENT *); --extern "C" rpcblist_ptr * rpcbproc_dump_3_svc(void *, struct svc_req *); --#define RPCBPROC_CALLIT ((u_int32_t)5) --extern "C" rpcb_rmtcallres * rpcbproc_callit_3(rpcb_rmtcallargs *, CLIENT *); --extern "C" rpcb_rmtcallres * rpcbproc_callit_3_svc(rpcb_rmtcallargs *, struct svc_req *); --#define RPCBPROC_GETTIME ((u_int32_t)6) --extern "C" u_int * rpcbproc_gettime_3(void *, CLIENT *); --extern "C" u_int * rpcbproc_gettime_3_svc(void *, struct svc_req *); --#define RPCBPROC_UADDR2TADDR ((u_int32_t)7) --extern "C" struct netbuf * rpcbproc_uaddr2taddr_3(char **, CLIENT *); --extern "C" struct netbuf * rpcbproc_uaddr2taddr_3_svc(char **, struct svc_req *); --#define RPCBPROC_TADDR2UADDR ((u_int32_t)8) --extern "C" char ** rpcbproc_taddr2uaddr_3(struct netbuf *, CLIENT *); --extern "C" char ** rpcbproc_taddr2uaddr_3_svc(struct netbuf *, struct svc_req *); -- --#elif __STDC__ --#define RPCBPROC_SET ((u_int32_t)1) --extern bool_t * rpcbproc_set_3(rpcb *, CLIENT *); --extern bool_t * rpcbproc_set_3_svc(rpcb *, struct svc_req *); --#define RPCBPROC_UNSET ((u_int32_t)2) --extern bool_t * rpcbproc_unset_3(rpcb *, CLIENT *); --extern bool_t * rpcbproc_unset_3_svc(rpcb *, struct svc_req *); --#define RPCBPROC_GETADDR ((u_int32_t)3) --extern char ** rpcbproc_getaddr_3(rpcb *, CLIENT *); --extern char ** rpcbproc_getaddr_3_svc(rpcb *, struct svc_req *); --#define RPCBPROC_DUMP ((u_int32_t)4) --extern rpcblist_ptr * rpcbproc_dump_3(void *, CLIENT *); --extern rpcblist_ptr * rpcbproc_dump_3_svc(void *, struct svc_req *); --#define RPCBPROC_CALLIT ((u_int32_t)5) --extern rpcb_rmtcallres * rpcbproc_callit_3(rpcb_rmtcallargs *, CLIENT *); --extern rpcb_rmtcallres * rpcbproc_callit_3_svc(rpcb_rmtcallargs *, struct svc_req *); --#define RPCBPROC_GETTIME ((u_int32_t)6) --extern u_int * rpcbproc_gettime_3(void *, CLIENT *); --extern u_int * rpcbproc_gettime_3_svc(void *, struct svc_req *); --#define RPCBPROC_UADDR2TADDR ((u_int32_t)7) --extern struct netbuf * rpcbproc_uaddr2taddr_3(char **, CLIENT *); --extern struct netbuf * rpcbproc_uaddr2taddr_3_svc(char **, struct svc_req *); --#define RPCBPROC_TADDR2UADDR ((u_int32_t)8) --extern char ** rpcbproc_taddr2uaddr_3(struct netbuf *, CLIENT *); --extern char ** rpcbproc_taddr2uaddr_3_svc(struct netbuf *, struct svc_req *); -- --#else /* Old Style C */ --#define RPCBPROC_SET ((u_int32_t)1) --extern bool_t * rpcbproc_set_3(); --extern bool_t * rpcbproc_set_3_svc(); --#define RPCBPROC_UNSET ((u_int32_t)2) --extern bool_t * rpcbproc_unset_3(); --extern bool_t * rpcbproc_unset_3_svc(); --#define RPCBPROC_GETADDR ((u_int32_t)3) --extern char ** rpcbproc_getaddr_3(); --extern char ** rpcbproc_getaddr_3_svc(); --#define RPCBPROC_DUMP ((u_int32_t)4) --extern rpcblist_ptr * rpcbproc_dump_3(); --extern rpcblist_ptr * rpcbproc_dump_3_svc(); --#define RPCBPROC_CALLIT ((u_int32_t)5) --extern rpcb_rmtcallres * rpcbproc_callit_3(); --extern rpcb_rmtcallres * rpcbproc_callit_3_svc(); --#define RPCBPROC_GETTIME ((u_int32_t)6) --extern u_int * rpcbproc_gettime_3(); --extern u_int * rpcbproc_gettime_3_svc(); --#define RPCBPROC_UADDR2TADDR ((u_int32_t)7) --extern struct netbuf * rpcbproc_uaddr2taddr_3(); --extern struct netbuf * rpcbproc_uaddr2taddr_3_svc(); --#define RPCBPROC_TADDR2UADDR ((u_int32_t)8) --extern char ** rpcbproc_taddr2uaddr_3(); --extern char ** rpcbproc_taddr2uaddr_3_svc(); --#endif /* Old Style C */ --#define RPCBVERS4 ((u_int32_t)4) -- --#ifdef __cplusplus --extern "C" bool_t * rpcbproc_set_4(rpcb *, CLIENT *); --extern "C" bool_t * rpcbproc_set_4_svc(rpcb *, struct svc_req *); --extern "C" bool_t * rpcbproc_unset_4(rpcb *, CLIENT *); --extern "C" bool_t * rpcbproc_unset_4_svc(rpcb *, struct svc_req *); --extern "C" char ** rpcbproc_getaddr_4(rpcb *, CLIENT *); --extern "C" char ** rpcbproc_getaddr_4_svc(rpcb *, struct svc_req *); --extern "C" rpcblist_ptr * rpcbproc_dump_4(void *, CLIENT *); --extern "C" rpcblist_ptr * rpcbproc_dump_4_svc(void *, struct svc_req *); --#define RPCBPROC_BCAST ((u_int32_t)RPCBPROC_CALLIT) --extern "C" rpcb_rmtcallres * rpcbproc_bcast_4(rpcb_rmtcallargs *, CLIENT *); --extern "C" rpcb_rmtcallres * rpcbproc_bcast_4_svc(rpcb_rmtcallargs *, struct svc_req *); --extern "C" u_int * rpcbproc_gettime_4(void *, CLIENT *); --extern "C" u_int * rpcbproc_gettime_4_svc(void *, struct svc_req *); --extern "C" struct netbuf * rpcbproc_uaddr2taddr_4(char **, CLIENT *); --extern "C" struct netbuf * rpcbproc_uaddr2taddr_4_svc(char **, struct svc_req *); --extern "C" char ** rpcbproc_taddr2uaddr_4(struct netbuf *, CLIENT *); --extern "C" char ** rpcbproc_taddr2uaddr_4_svc(struct netbuf *, struct svc_req *); --#define RPCBPROC_GETVERSADDR ((u_int32_t)9) --extern "C" char ** rpcbproc_getversaddr_4(rpcb *, CLIENT *); --extern "C" char ** rpcbproc_getversaddr_4_svc(rpcb *, struct svc_req *); --#define RPCBPROC_INDIRECT ((u_int32_t)10) --extern "C" rpcb_rmtcallres * rpcbproc_indirect_4(rpcb_rmtcallargs *, CLIENT *); --extern "C" rpcb_rmtcallres * rpcbproc_indirect_4_svc(rpcb_rmtcallargs *, struct svc_req *); --#define RPCBPROC_GETADDRLIST ((u_int32_t)11) --extern "C" rpcb_entry_list_ptr * rpcbproc_getaddrlist_4(rpcb *, CLIENT *); --extern "C" rpcb_entry_list_ptr * rpcbproc_getaddrlist_4_svc(rpcb *, struct svc_req *); --#define RPCBPROC_GETSTAT ((u_int32_t)12) --extern "C" rpcb_stat * rpcbproc_getstat_4(void *, CLIENT *); --extern "C" rpcb_stat * rpcbproc_getstat_4_svc(void *, struct svc_req *); -- --#elif __STDC__ --extern bool_t * rpcbproc_set_4(rpcb *, CLIENT *); --extern bool_t * rpcbproc_set_4_svc(rpcb *, struct svc_req *); --extern bool_t * rpcbproc_unset_4(rpcb *, CLIENT *); --extern bool_t * rpcbproc_unset_4_svc(rpcb *, struct svc_req *); --extern char ** rpcbproc_getaddr_4(rpcb *, CLIENT *); --extern char ** rpcbproc_getaddr_4_svc(rpcb *, struct svc_req *); --extern rpcblist_ptr * rpcbproc_dump_4(void *, CLIENT *); --extern rpcblist_ptr * rpcbproc_dump_4_svc(void *, struct svc_req *); --#define RPCBPROC_BCAST ((u_int32_t)RPCBPROC_CALLIT) --extern rpcb_rmtcallres * rpcbproc_bcast_4(rpcb_rmtcallargs *, CLIENT *); --extern rpcb_rmtcallres * rpcbproc_bcast_4_svc(rpcb_rmtcallargs *, struct svc_req *); --extern u_int * rpcbproc_gettime_4(void *, CLIENT *); --extern u_int * rpcbproc_gettime_4_svc(void *, struct svc_req *); --extern struct netbuf * rpcbproc_uaddr2taddr_4(char **, CLIENT *); --extern struct netbuf * rpcbproc_uaddr2taddr_4_svc(char **, struct svc_req *); --extern char ** rpcbproc_taddr2uaddr_4(struct netbuf *, CLIENT *); --extern char ** rpcbproc_taddr2uaddr_4_svc(struct netbuf *, struct svc_req *); --#define RPCBPROC_GETVERSADDR ((u_int32_t)9) --extern char ** rpcbproc_getversaddr_4(rpcb *, CLIENT *); --extern char ** rpcbproc_getversaddr_4_svc(rpcb *, struct svc_req *); --#define RPCBPROC_INDIRECT ((u_int32_t)10) --extern rpcb_rmtcallres * rpcbproc_indirect_4(rpcb_rmtcallargs *, CLIENT *); --extern rpcb_rmtcallres * rpcbproc_indirect_4_svc(rpcb_rmtcallargs *, struct svc_req *); --#define RPCBPROC_GETADDRLIST ((u_int32_t)11) --extern rpcb_entry_list_ptr * rpcbproc_getaddrlist_4(rpcb *, CLIENT *); --extern rpcb_entry_list_ptr * rpcbproc_getaddrlist_4_svc(rpcb *, struct svc_req *); --#define RPCBPROC_GETSTAT ((u_int32_t)12) --extern rpcb_stat * rpcbproc_getstat_4(void *, CLIENT *); --extern rpcb_stat * rpcbproc_getstat_4_svc(void *, struct svc_req *); -- --#else /* Old Style C */ --extern bool_t * rpcbproc_set_4(); --extern bool_t * rpcbproc_set_4_svc(); --extern bool_t * rpcbproc_unset_4(); --extern bool_t * rpcbproc_unset_4_svc(); --extern char ** rpcbproc_getaddr_4(); --extern char ** rpcbproc_getaddr_4_svc(); --extern rpcblist_ptr * rpcbproc_dump_4(); --extern rpcblist_ptr * rpcbproc_dump_4_svc(); --#define RPCBPROC_BCAST ((u_int32_t)RPCBPROC_CALLIT) --extern rpcb_rmtcallres * rpcbproc_bcast_4(); --extern rpcb_rmtcallres * rpcbproc_bcast_4_svc(); --extern u_int * rpcbproc_gettime_4(); --extern u_int * rpcbproc_gettime_4_svc(); --extern struct netbuf * rpcbproc_uaddr2taddr_4(); --extern struct netbuf * rpcbproc_uaddr2taddr_4_svc(); --extern char ** rpcbproc_taddr2uaddr_4(); --extern char ** rpcbproc_taddr2uaddr_4_svc(); --#define RPCBPROC_GETVERSADDR ((u_int32_t)9) --extern char ** rpcbproc_getversaddr_4(); --extern char ** rpcbproc_getversaddr_4_svc(); --#define RPCBPROC_INDIRECT ((u_int32_t)10) --extern rpcb_rmtcallres * rpcbproc_indirect_4(); --extern rpcb_rmtcallres * rpcbproc_indirect_4_svc(); --#define RPCBPROC_GETADDRLIST ((u_int32_t)11) --extern rpcb_entry_list_ptr * rpcbproc_getaddrlist_4(); --extern rpcb_entry_list_ptr * rpcbproc_getaddrlist_4_svc(); --#define RPCBPROC_GETSTAT ((u_int32_t)12) --extern rpcb_stat * rpcbproc_getstat_4(); --extern rpcb_stat * rpcbproc_getstat_4_svc(); --#endif /* Old Style C */ -- --#endif /* !_RPCB_PROT_H_RPCGEN */ -diff --git a/tirpc/rpcsvc/crypt.h b/tirpc/rpcsvc/crypt.h -deleted file mode 100644 -index da1f9ccb56ea..000000000000 ---- a/tirpc/rpcsvc/crypt.h -+++ /dev/null -@@ -1,109 +0,0 @@ --/* -- * Please do not edit this file. -- * It was generated using rpcgen. -- */ -- --#ifndef _CRYPT_H_RPCGEN --#define _CRYPT_H_RPCGEN -- --#include -- --#ifndef IXDR_GET_INT32 --#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf)) --#endif --#ifndef IXDR_PUT_INT32 --#define IXDR_PUT_INT32(buf, v) IXDR_PUT_LONG((buf), (v)) --#endif --#ifndef IXDR_GET_U_INT32 --#define IXDR_GET_U_INT32(buf) IXDR_GET_U_LONG((buf)) --#endif --#ifndef IXDR_PUT_U_INT32 --#define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_U_LONG((buf), (v)) --#endif -- --enum des_dir { -- ENCRYPT_DES = 0, -- DECRYPT_DES = 1, --}; --typedef enum des_dir des_dir; --#ifdef __cplusplus --extern "C" bool_t xdr_des_dir(XDR *, des_dir*); --#elif __STDC__ --extern bool_t xdr_des_dir(XDR *, des_dir*); --#else /* Old Style C */ --bool_t xdr_des_dir(); --#endif /* Old Style C */ -- -- --enum des_mode { -- CBC_DES = 0, -- ECB_DES = 1, --}; --typedef enum des_mode des_mode; --#ifdef __cplusplus --extern "C" bool_t xdr_des_mode(XDR *, des_mode*); --#elif __STDC__ --extern bool_t xdr_des_mode(XDR *, des_mode*); --#else /* Old Style C */ --bool_t xdr_des_mode(); --#endif /* Old Style C */ -- -- --struct desargs { -- u_char des_key[8]; -- des_dir des_dir; -- des_mode des_mode; -- u_char des_ivec[8]; -- struct { -- u_int desbuf_len; -- char *desbuf_val; -- } desbuf; --}; --typedef struct desargs desargs; --#ifdef __cplusplus --extern "C" bool_t xdr_desargs(XDR *, desargs*); --#elif __STDC__ --extern bool_t xdr_desargs(XDR *, desargs*); --#else /* Old Style C */ --bool_t xdr_desargs(); --#endif /* Old Style C */ -- -- --struct desresp { -- struct { -- u_int desbuf_len; -- char *desbuf_val; -- } desbuf; -- u_char des_ivec[8]; -- int stat; --}; --typedef struct desresp desresp; --#ifdef __cplusplus --extern "C" bool_t xdr_desresp(XDR *, desresp*); --#elif __STDC__ --extern bool_t xdr_desresp(XDR *, desresp*); --#else /* Old Style C */ --bool_t xdr_desresp(); --#endif /* Old Style C */ -- -- --#define CRYPT_PROG ((u_int32_t)600100029) --#define CRYPT_VERS ((u_int32_t)1) -- --#ifdef __cplusplus --#define DES_CRYPT ((u_int32_t)1) --extern "C" desresp * des_crypt_1(desargs *, CLIENT *); --extern "C" desresp * des_crypt_1_svc(desargs *, struct svc_req *); -- --#elif __STDC__ --#define DES_CRYPT ((u_int32_t)1) --extern desresp * des_crypt_1(desargs *, CLIENT *); --extern desresp * des_crypt_1_svc(desargs *, struct svc_req *); -- --#else /* Old Style C */ --#define DES_CRYPT ((u_int32_t)1) --extern desresp * des_crypt_1(); --extern desresp * des_crypt_1_svc(); --#endif /* Old Style C */ -- --#endif /* !_CRYPT_H_RPCGEN */ --- -2.17.0 - diff --git a/buildroot-2021.05/package/libtirpc/0004-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch b/buildroot-2021.05/package/libtirpc/0004-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch deleted file mode 100644 index 7f53ffca..00000000 --- a/buildroot-2021.05/package/libtirpc/0004-Add-more-XDR-files-needed-to-build-rpcbind-on-top-of.patch +++ /dev/null @@ -1,1653 +0,0 @@ -From baeca7ea594fe9faa1d40d35e76066c6002ca638 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 10 Nov 2012 17:45:03 +0100 -Subject: [PATCH] Add more XDR files needed to build rpcbind on top of libtirpc - -Signed-off-by: Thomas Petazzoni -[yann.morin.1998@free.fr: update for 0.3.1] -Signed-off-by: "Yann E. MORIN" ---- - Makefile.am | 6 + - tirpc/rpcsvc/mount.x | 257 ++++++++++ - tirpc/rpcsvc/nfs_prot.x | 1266 +++++++++++++++++++++++++++++++++++++++++++++++ - tirpc/rpcsvc/rquota.x | 67 +++ - 4 files changed, 1596 insertions(+) - create mode 100644 tirpc/rpcsvc/mount.x - create mode 100644 tirpc/rpcsvc/nfs_prot.x - create mode 100644 tirpc/rpcsvc/rquota.x - -diff --git a/Makefile.am b/Makefile.am -index aa5908e..4999066 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -2,6 +2,9 @@ SUBDIRS = src man doc rpcgen - ACLOCAL_AMFLAGS = -I m4 - - GENFILES = tirpc/rpcsvc/crypt.h \ -+ tirpc/rpcsvc/mount.h \ -+ tirpc/rpcsvc/nfs_prot.h \ -+ tirpc/rpcsvc/rquota.h \ - tirpc/rpc/rpcb_prot.h - - noinst_HEADERS = tirpc/reentrant.h \ -@@ -11,6 +14,9 @@ noinst_HEADERS = tirpc/reentrant.h \ - - nobase_include_HEADERS = tirpc/netconfig.h \ - tirpc/rpcsvc/crypt.x \ -+ tirpc/rpcsvc/mount.x \ -+ tirpc/rpcsvc/nfs_prot.x \ -+ tirpc/rpcsvc/rquota.x \ - tirpc/rpc/xdr.h \ - tirpc/rpc/types.h \ - tirpc/rpc/svc_soc.h \ -diff --git a/tirpc/rpcsvc/mount.x b/tirpc/rpcsvc/mount.x -new file mode 100644 -index 0000000..f68a06f ---- /dev/null -+++ b/tirpc/rpcsvc/mount.x -@@ -0,0 +1,257 @@ -+/* -+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -+ * unrestricted use provided that this legend is included on all tape -+ * media and as a part of the software program in whole or part. Users -+ * may copy or modify Sun RPC without charge, but are not authorized -+ * to license or distribute it to anyone else except as part of a product or -+ * program developed by the user. -+ * -+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * -+ * Sun RPC is provided with no support and without any obligation on the -+ * part of Sun Microsystems, Inc. to assist in its use, correction, -+ * modification or enhancement. -+ * -+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -+ * OR ANY PART THEREOF. -+ * -+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue -+ * or profits or other special, indirect and consequential damages, even if -+ * Sun has been advised of the possibility of such damages. -+ * -+ * Sun Microsystems, Inc. -+ * 2550 Garcia Avenue -+ * Mountain View, California 94043 -+ */ -+ -+/* -+ * Protocol description for the mount program -+ */ -+ -+#ifndef RPC_HDR -+%#ifndef lint -+%/*static char sccsid[] = "from: @(#)mount.x 1.2 87/09/18 Copyr 1987 Sun Micro";*/ -+%/*static char sccsid[] = "from: @(#)mount.x 2.1 88/08/01 4.0 RPCSRC";*/ -+%static const char rcsid[] = -+% "$FreeBSD: src/include/rpcsvc/mount.x,v 1.6 1999/08/27 23:45:08 peter Exp $"; -+%#endif /* not lint */ -+#endif -+ -+const MNTPATHLEN = 1024; /* maximum bytes in a pathname argument */ -+const MNTNAMLEN = 255; /* maximum bytes in a name argument */ -+const FHSIZE = 32; /* size in bytes of a file handle */ -+#ifdef WANT_NFS3 -+const FHSIZE3 = 64; /* size in bytes of a file handle (v3) */ -+#endif -+ -+/* -+ * The fhandle is the file handle that the server passes to the client. -+ * All file operations are done using the file handles to refer to a file -+ * or a directory. The file handle can contain whatever information the -+ * server needs to distinguish an individual file. -+ */ -+typedef opaque fhandle[FHSIZE]; -+#ifdef WANT_NFS3 -+typedef opaque fhandle3; -+#endif -+ -+/* -+ * If a status of zero is returned, the call completed successfully, and -+ * a file handle for the directory follows. A non-zero status indicates -+ * some sort of error. The status corresponds with UNIX error numbers. -+ */ -+union fhstatus switch (unsigned fhs_status) { -+case 0: -+ fhandle fhs_fhandle; -+default: -+ void; -+}; -+ -+#ifdef WANT_NFS3 -+/* -+ * Status codes returned by the version 3 mount call. -+ */ -+enum mountstat3 { -+ MNT3_OK = 0, /* no error */ -+ MNT3ERR_PERM = 1, /* Not owner */ -+ MNT3ERR_NOENT = 2, /* No such file or directory */ -+ MNT3ERR_IO = 5, /* I/O error */ -+ MNT3ERR_ACCES = 13, /* Permission denied */ -+ MNT3ERR_NOTDIR = 20, /* Not a directory */ -+ MNT3ERR_INVAL = 22, /* Invalid argument */ -+ MNT3ERR_NAMETOOLONG = 63, /* Filename too long */ -+ MNT3ERR_NOTSUPP = 10004, /* Operation not supported */ -+ MNT3ERR_SERVERFAULT = 10006 /* A failure on the server */ -+}; -+ -+struct mountres3_ok { -+ fhandle3 fhandle; -+ int auth_flavors<>; -+}; -+ -+union mountres3 switch (mountstat3 fhs_status) { -+case 0: -+ mountres3_ok mountinfo; -+default: -+ void; -+}; -+#endif -+ -+/* -+ * The type dirpath is the pathname of a directory -+ */ -+typedef string dirpath; -+ -+/* -+ * The type name is used for arbitrary names (hostnames, groupnames) -+ */ -+typedef string name; -+ -+/* -+ * A list of who has what mounted -+ */ -+typedef struct mountbody *mountlist; -+struct mountbody { -+ name ml_hostname; -+ dirpath ml_directory; -+ mountlist ml_next; -+}; -+ -+/* -+ * A list of netgroups -+ */ -+typedef struct groupnode *groups; -+struct groupnode { -+ name gr_name; -+ groups gr_next; -+}; -+ -+/* -+ * A list of what is exported and to whom -+ */ -+typedef struct exportnode *exports; -+struct exportnode { -+ dirpath ex_dir; -+ groups ex_groups; -+ exports ex_next; -+}; -+ -+program MOUNTPROG { -+ /* -+ * Version one of the mount protocol communicates with version two -+ * of the NFS protocol. Version three communicates with -+ * version three of the NFS protocol. The only connecting -+ * point is the fhandle structure, which is the same for both -+ * protocols. -+ */ -+ version MOUNTVERS { -+ /* -+ * Does no work. It is made available in all RPC services -+ * to allow server reponse testing and timing -+ */ -+ void -+ MOUNTPROC_NULL(void) = 0; -+ -+ /* -+ * If fhs_status is 0, then fhs_fhandle contains the -+ * file handle for the directory. This file handle may -+ * be used in the NFS protocol. This procedure also adds -+ * a new entry to the mount list for this client mounting -+ * the directory. -+ * Unix authentication required. -+ */ -+ fhstatus -+ MOUNTPROC_MNT(dirpath) = 1; -+ -+ /* -+ * Returns the list of remotely mounted filesystems. The -+ * mountlist contains one entry for each hostname and -+ * directory pair. -+ */ -+ mountlist -+ MOUNTPROC_DUMP(void) = 2; -+ -+ /* -+ * Removes the mount list entry for the directory -+ * Unix authentication required. -+ */ -+ void -+ MOUNTPROC_UMNT(dirpath) = 3; -+ -+ /* -+ * Removes all of the mount list entries for this client -+ * Unix authentication required. -+ */ -+ void -+ MOUNTPROC_UMNTALL(void) = 4; -+ -+ /* -+ * Returns a list of all the exported filesystems, and which -+ * machines are allowed to import it. -+ */ -+ exports -+ MOUNTPROC_EXPORT(void) = 5; -+ -+ /* -+ * Identical to MOUNTPROC_EXPORT above -+ */ -+ exports -+ MOUNTPROC_EXPORTALL(void) = 6; -+ } = 1; -+#ifdef WANT_NFS3 -+ version MOUNTVERS3 { -+ /* -+ * Does no work. It is made available in all RPC services -+ * to allow server reponse testing and timing -+ */ -+ void -+ MOUNTPROC_NULL(void) = 0; -+ -+ /* -+ * If mountres3.fhs_status is MNT3_OK, then -+ * mountres3.mountinfo contains the file handle for -+ * the directory and a list of acceptable -+ * authentication flavors. This file handle may only -+ * be used in the NFS version 3 protocol. This -+ * procedure also results in the server adding a new -+ * entry to its mount list recording that this client -+ * has mounted the directory. AUTH_UNIX authentication -+ * or better is required. -+ */ -+ mountres3 -+ MOUNTPROC_MNT(dirpath) = 1; -+ -+ /* -+ * Returns the list of remotely mounted filesystems. The -+ * mountlist contains one entry for each hostname and -+ * directory pair. -+ */ -+ mountlist -+ MOUNTPROC_DUMP(void) = 2; -+ -+ /* -+ * Removes the mount list entry for the directory -+ * Unix authentication required. -+ */ -+ void -+ MOUNTPROC_UMNT(dirpath) = 3; -+ -+ /* -+ * Removes all of the mount list entries for this client -+ * Unix authentication required. -+ */ -+ void -+ MOUNTPROC_UMNTALL(void) = 4; -+ -+ /* -+ * Returns a list of all the exported filesystems, and which -+ * machines are allowed to import it. -+ */ -+ exports -+ MOUNTPROC_EXPORT(void) = 5; -+ } = 3; -+#endif -+} = 100005; -diff --git a/tirpc/rpcsvc/nfs_prot.x b/tirpc/rpcsvc/nfs_prot.x -new file mode 100644 -index 0000000..01564f8 ---- /dev/null -+++ b/tirpc/rpcsvc/nfs_prot.x -@@ -0,0 +1,1266 @@ -+/* -+ * Sun RPC is a product of Sun Microsystems, Inc. and is provided for -+ * unrestricted use provided that this legend is included on all tape -+ * media and as a part of the software program in whole or part. Users -+ * may copy or modify Sun RPC without charge, but are not authorized -+ * to license or distribute it to anyone else except as part of a product or -+ * program developed by the user. -+ * -+ * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE -+ * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR -+ * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. -+ * -+ * Sun RPC is provided with no support and without any obligation on the -+ * part of Sun Microsystems, Inc. to assist in its use, correction, -+ * modification or enhancement. -+ * -+ * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE -+ * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC -+ * OR ANY PART THEREOF. -+ * -+ * In no event will Sun Microsystems, Inc. be liable for any lost revenue -+ * or profits or other special, indirect and consequential damages, even if -+ * Sun has been advised of the possibility of such damages. -+ * -+ * Sun Microsystems, Inc. -+ * 2550 Garcia Avenue -+ * Mountain View, California 94043 -+ */ -+ -+#ifndef RPC_HDR -+%#ifndef lint -+%/*static char sccsid[] = "from: @(#)nfs_prot.x 1.2 87/10/12 Copyr 1987 Sun Micro";*/ -+%/*static char sccsid[] = "from: @(#)nfs_prot.x 2.1 88/08/01 4.0 RPCSRC";*/ -+%static const char rcsid[] = -+% "$FreeBSD: src/include/rpcsvc/nfs_prot.x,v 1.7 1999/08/27 23:45:08 peter Exp $"; -+%#endif /* not lint */ -+#endif -+ -+const NFS_PORT = 2049; -+const NFS_MAXDATA = 8192; -+const NFS_MAXPATHLEN = 1024; -+const NFS_MAXNAMLEN = 255; -+const NFS_FHSIZE = 32; -+const NFS_COOKIESIZE = 4; -+const NFS_FIFO_DEV = -1; /* size kludge for named pipes */ -+ -+/* -+ * File types -+ */ -+const NFSMODE_FMT = 0170000; /* type of file */ -+const NFSMODE_DIR = 0040000; /* directory */ -+const NFSMODE_CHR = 0020000; /* character special */ -+const NFSMODE_BLK = 0060000; /* block special */ -+const NFSMODE_REG = 0100000; /* regular */ -+const NFSMODE_LNK = 0120000; /* symbolic link */ -+const NFSMODE_SOCK = 0140000; /* socket */ -+const NFSMODE_FIFO = 0010000; /* fifo */ -+ -+/* -+ * Error status -+ */ -+enum nfsstat { -+ NFS_OK= 0, /* no error */ -+ NFSERR_PERM=1, /* Not owner */ -+ NFSERR_NOENT=2, /* No such file or directory */ -+ NFSERR_IO=5, /* I/O error */ -+ NFSERR_NXIO=6, /* No such device or address */ -+ NFSERR_ACCES=13, /* Permission denied */ -+ NFSERR_EXIST=17, /* File exists */ -+ NFSERR_NODEV=19, /* No such device */ -+ NFSERR_NOTDIR=20, /* Not a directory*/ -+ NFSERR_ISDIR=21, /* Is a directory */ -+ NFSERR_FBIG=27, /* File too large */ -+ NFSERR_NOSPC=28, /* No space left on device */ -+ NFSERR_ROFS=30, /* Read-only file system */ -+ NFSERR_NAMETOOLONG=63, /* File name too long */ -+ NFSERR_NOTEMPTY=66, /* Directory not empty */ -+ NFSERR_DQUOT=69, /* Disc quota exceeded */ -+ NFSERR_STALE=70, /* Stale NFS file handle */ -+ NFSERR_WFLUSH=99 /* write cache flushed */ -+}; -+ -+/* -+ * File types -+ */ -+enum ftype { -+ NFNON = 0, /* non-file */ -+ NFREG = 1, /* regular file */ -+ NFDIR = 2, /* directory */ -+ NFBLK = 3, /* block special */ -+ NFCHR = 4, /* character special */ -+ NFLNK = 5, /* symbolic link */ -+ NFSOCK = 6, /* unix domain sockets */ -+ NFBAD = 7, /* unused */ -+ NFFIFO = 8 /* named pipe */ -+}; -+ -+/* -+ * File access handle -+ */ -+struct nfs_fh { -+ opaque data[NFS_FHSIZE]; -+}; -+ -+/* -+ * Timeval -+ */ -+struct nfstime { -+ unsigned seconds; -+ unsigned useconds; -+}; -+ -+ -+/* -+ * File attributes -+ */ -+struct fattr { -+ ftype type; /* file type */ -+ unsigned mode; /* protection mode bits */ -+ unsigned nlink; /* # hard links */ -+ unsigned uid; /* owner user id */ -+ unsigned gid; /* owner group id */ -+ unsigned size; /* file size in bytes */ -+ unsigned blocksize; /* prefered block size */ -+ unsigned rdev; /* special device # */ -+ unsigned blocks; /* Kb of disk used by file */ -+ unsigned fsid; /* device # */ -+ unsigned fileid; /* inode # */ -+ nfstime atime; /* time of last access */ -+ nfstime mtime; /* time of last modification */ -+ nfstime ctime; /* time of last change */ -+}; -+ -+/* -+ * File attributes which can be set -+ */ -+struct sattr { -+ unsigned mode; /* protection mode bits */ -+ unsigned uid; /* owner user id */ -+ unsigned gid; /* owner group id */ -+ unsigned size; /* file size in bytes */ -+ nfstime atime; /* time of last access */ -+ nfstime mtime; /* time of last modification */ -+}; -+ -+ -+typedef string filename; -+typedef string nfspath; -+ -+/* -+ * Reply status with file attributes -+ */ -+union attrstat switch (nfsstat status) { -+case NFS_OK: -+ fattr attributes; -+default: -+ void; -+}; -+ -+struct sattrargs { -+ nfs_fh file; -+ sattr attributes; -+}; -+ -+/* -+ * Arguments for directory operations -+ */ -+struct diropargs { -+ nfs_fh dir; /* directory file handle */ -+ filename name; /* name (up to NFS_MAXNAMLEN bytes) */ -+}; -+ -+struct diropokres { -+ nfs_fh file; -+ fattr attributes; -+}; -+ -+/* -+ * Results from directory operation -+ */ -+union diropres switch (nfsstat status) { -+case NFS_OK: -+ diropokres diropres; -+default: -+ void; -+}; -+ -+union readlinkres switch (nfsstat status) { -+case NFS_OK: -+ nfspath data; -+default: -+ void; -+}; -+ -+/* -+ * Arguments to remote read -+ */ -+struct readargs { -+ nfs_fh file; /* handle for file */ -+ unsigned offset; /* byte offset in file */ -+ unsigned count; /* immediate read count */ -+ unsigned totalcount; /* total read count (from this offset)*/ -+}; -+ -+/* -+ * Status OK portion of remote read reply -+ */ -+struct readokres { -+ fattr attributes; /* attributes, need for pagin*/ -+ opaque data; -+}; -+ -+union readres switch (nfsstat status) { -+case NFS_OK: -+ readokres reply; -+default: -+ void; -+}; -+ -+/* -+ * Arguments to remote write -+ */ -+struct writeargs { -+ nfs_fh file; /* handle for file */ -+ unsigned beginoffset; /* beginning byte offset in file */ -+ unsigned offset; /* current byte offset in file */ -+ unsigned totalcount; /* total write count (to this offset)*/ -+ opaque data; -+}; -+ -+struct createargs { -+ diropargs where; -+ sattr attributes; -+}; -+ -+struct renameargs { -+ diropargs from; -+ diropargs to; -+}; -+ -+struct linkargs { -+ nfs_fh from; -+ diropargs to; -+}; -+ -+struct symlinkargs { -+ diropargs from; -+ nfspath to; -+ sattr attributes; -+}; -+ -+ -+typedef opaque nfscookie[NFS_COOKIESIZE]; -+ -+/* -+ * Arguments to readdir -+ */ -+struct readdirargs { -+ nfs_fh dir; /* directory handle */ -+ nfscookie cookie; -+ unsigned count; /* number of directory bytes to read */ -+}; -+ -+struct entry { -+ unsigned fileid; -+ filename name; -+ nfscookie cookie; -+ entry *nextentry; -+}; -+ -+struct dirlist { -+ entry *entries; -+ bool eof; -+}; -+ -+union readdirres switch (nfsstat status) { -+case NFS_OK: -+ dirlist reply; -+default: -+ void; -+}; -+ -+struct statfsokres { -+ unsigned tsize; /* preferred transfer size in bytes */ -+ unsigned bsize; /* fundamental file system block size */ -+ unsigned blocks; /* total blocks in file system */ -+ unsigned bfree; /* free blocks in fs */ -+ unsigned bavail; /* free blocks avail to non-superuser */ -+}; -+ -+union statfsres switch (nfsstat status) { -+case NFS_OK: -+ statfsokres reply; -+default: -+ void; -+}; -+ -+#ifdef WANT_NFS3 -+ -+/* -+ * NFSv3 constants and types -+ */ -+const NFS3_FHSIZE = 64; /* maximum size in bytes of a file handle */ -+const NFS3_COOKIEVERFSIZE = 8; /* size of a cookie verifier for READDIR */ -+const NFS3_CREATEVERFSIZE = 8; /* size of the verifier used for CREATE */ -+const NFS3_WRITEVERFSIZE = 8; /* size of the verifier used for WRITE */ -+ -+typedef unsigned hyper uint64; -+typedef hyper int64; -+typedef unsigned long uint32; -+typedef long int32; -+typedef string filename3<>; -+typedef string nfspath3<>; -+typedef uint64 fileid3; -+typedef uint64 cookie3; -+typedef opaque cookieverf3[NFS3_COOKIEVERFSIZE]; -+typedef opaque createverf3[NFS3_CREATEVERFSIZE]; -+typedef opaque writeverf3[NFS3_WRITEVERFSIZE]; -+typedef uint32 uid3; -+typedef uint32 gid3; -+typedef uint64 size3; -+typedef uint64 offset3; -+typedef uint32 mode3; -+typedef uint32 count3; -+ -+/* -+ * Error status (v3) -+ */ -+enum nfsstat3 { -+ NFS3_OK = 0, -+ NFS3ERR_PERM = 1, -+ NFS3ERR_NOENT = 2, -+ NFS3ERR_IO = 5, -+ NFS3ERR_NXIO = 6, -+ NFS3ERR_ACCES = 13, -+ NFS3ERR_EXIST = 17, -+ NFS3ERR_XDEV = 18, -+ NFS3ERR_NODEV = 19, -+ NFS3ERR_NOTDIR = 20, -+ NFS3ERR_ISDIR = 21, -+ NFS3ERR_INVAL = 22, -+ NFS3ERR_FBIG = 27, -+ NFS3ERR_NOSPC = 28, -+ NFS3ERR_ROFS = 30, -+ NFS3ERR_MLINK = 31, -+ NFS3ERR_NAMETOOLONG = 63, -+ NFS3ERR_NOTEMPTY = 66, -+ NFS3ERR_DQUOT = 69, -+ NFS3ERR_STALE = 70, -+ NFS3ERR_REMOTE = 71, -+ NFS3ERR_BADHANDLE = 10001, -+ NFS3ERR_NOT_SYNC = 10002, -+ NFS3ERR_BAD_COOKIE = 10003, -+ NFS3ERR_NOTSUPP = 10004, -+ NFS3ERR_TOOSMALL = 10005, -+ NFS3ERR_SERVERFAULT = 10006, -+ NFS3ERR_BADTYPE = 10007, -+ NFS3ERR_JUKEBOX = 10008 -+}; -+ -+/* -+ * File types (v3) -+ */ -+enum ftype3 { -+ NF3REG = 1, /* regular file */ -+ NF3DIR = 2, /* directory */ -+ NF3BLK = 3, /* block special */ -+ NF3CHR = 4, /* character special */ -+ NF3LNK = 5, /* symbolic link */ -+ NF3SOCK = 6, /* unix domain sockets */ -+ NF3FIFO = 7 /* named pipe */ -+}; -+ -+struct specdata3 { -+ uint32 specdata1; -+ uint32 specdata2; -+}; -+ -+/* -+ * File access handle (v3) -+ */ -+struct nfs_fh3 { -+ opaque data; -+}; -+ -+/* -+ * Timeval (v3) -+ */ -+struct nfstime3 { -+ uint32 seconds; -+ uint32 nseconds; -+}; -+ -+ -+/* -+ * File attributes (v3) -+ */ -+struct fattr3 { -+ ftype3 type; /* file type */ -+ mode3 mode; /* protection mode bits */ -+ uint32 nlink; /* # hard links */ -+ uid3 uid; /* owner user id */ -+ gid3 gid; /* owner group id */ -+ size3 size; /* file size in bytes */ -+ size3 used; /* prefered block size */ -+ specdata3 rdev; /* special device # */ -+ uint64 fsid; /* device # */ -+ fileid3 fileid; /* inode # */ -+ nfstime3 atime; /* time of last access */ -+ nfstime3 mtime; /* time of last modification */ -+ nfstime3 ctime; /* time of last change */ -+}; -+ -+union post_op_attr switch (bool attributes_follow) { -+case TRUE: -+ fattr3 attributes; -+case FALSE: -+ void; -+}; -+ -+struct wcc_attr { -+ size3 size; -+ nfstime3 mtime; -+ nfstime3 ctime; -+}; -+ -+union pre_op_attr switch (bool attributes_follow) { -+case TRUE: -+ wcc_attr attributes; -+case FALSE: -+ void; -+}; -+ -+struct wcc_data { -+ pre_op_attr before; -+ post_op_attr after; -+}; -+ -+union post_op_fh3 switch (bool handle_follows) { -+case TRUE: -+ nfs_fh3 handle; -+case FALSE: -+ void; -+}; -+ -+/* -+ * File attributes which can be set (v3) -+ */ -+enum time_how { -+ DONT_CHANGE = 0, -+ SET_TO_SERVER_TIME = 1, -+ SET_TO_CLIENT_TIME = 2 -+}; -+ -+union set_mode3 switch (bool set_it) { -+case TRUE: -+ mode3 mode; -+default: -+ void; -+}; -+ -+union set_uid3 switch (bool set_it) { -+case TRUE: -+ uid3 uid; -+default: -+ void; -+}; -+ -+union set_gid3 switch (bool set_it) { -+case TRUE: -+ gid3 gid; -+default: -+ void; -+}; -+ -+union set_size3 switch (bool set_it) { -+case TRUE: -+ size3 size; -+default: -+ void; -+}; -+ -+union set_atime switch (time_how set_it) { -+case SET_TO_CLIENT_TIME: -+ nfstime3 atime; -+default: -+ void; -+}; -+ -+union set_mtime switch (time_how set_it) { -+case SET_TO_CLIENT_TIME: -+ nfstime3 mtime; -+default: -+ void; -+}; -+ -+struct sattr3 { -+ set_mode3 mode; -+ set_uid3 uid; -+ set_gid3 gid; -+ set_size3 size; -+ set_atime atime; -+ set_mtime mtime; -+}; -+ -+/* -+ * Arguments for directory operations (v3) -+ */ -+struct diropargs3 { -+ nfs_fh3 dir; /* directory file handle */ -+ filename3 name; /* name (up to NFS_MAXNAMLEN bytes) */ -+}; -+ -+/* -+ * Arguments to getattr (v3). -+ */ -+struct GETATTR3args { -+ nfs_fh3 object; -+}; -+ -+struct GETATTR3resok { -+ fattr3 obj_attributes; -+}; -+ -+union GETATTR3res switch (nfsstat3 status) { -+case NFS3_OK: -+ GETATTR3resok resok; -+default: -+ void; -+}; -+ -+/* -+ * Arguments to setattr (v3). -+ */ -+union sattrguard3 switch (bool check) { -+case TRUE: -+ nfstime3 obj_ctime; -+case FALSE: -+ void; -+}; -+ -+struct SETATTR3args { -+ nfs_fh3 object; -+ sattr3 new_attributes; -+ sattrguard3 guard; -+}; -+ -+struct SETATTR3resok { -+ wcc_data obj_wcc; -+}; -+ -+struct SETATTR3resfail { -+ wcc_data obj_wcc; -+}; -+ -+union SETATTR3res switch (nfsstat3 status) { -+case NFS3_OK: -+ SETATTR3resok resok; -+default: -+ SETATTR3resfail resfail; -+}; -+ -+/* -+ * Arguments to lookup (v3). -+ */ -+struct LOOKUP3args { -+ diropargs3 what; -+}; -+ -+struct LOOKUP3resok { -+ nfs_fh3 object; -+ post_op_attr obj_attributes; -+ post_op_attr dir_attributes; -+}; -+ -+struct LOOKUP3resfail { -+ post_op_attr dir_attributes; -+}; -+ -+union LOOKUP3res switch (nfsstat3 status) { -+case NFS3_OK: -+ LOOKUP3resok resok; -+default: -+ LOOKUP3resfail resfail; -+}; -+ -+/* -+ * Arguments to access (v3). -+ */ -+const ACCESS3_READ = 0x0001; -+const ACCESS3_LOOKUP = 0x0002; -+const ACCESS3_MODIFY = 0x0004; -+const ACCESS3_EXTEND = 0x0008; -+const ACCESS3_DELETE = 0x0010; -+const ACCESS3_EXECUTE = 0x0020; -+ -+struct ACCESS3args { -+ nfs_fh3 object; -+ uint32 access; -+}; -+ -+struct ACCESS3resok { -+ post_op_attr obj_attributes; -+ uint32 access; -+}; -+ -+struct ACCESS3resfail { -+ post_op_attr obj_attributes; -+}; -+ -+union ACCESS3res switch (nfsstat3 status) { -+case NFS3_OK: -+ ACCESS3resok resok; -+default: -+ ACCESS3resfail resfail; -+}; -+ -+/* -+ * Arguments to readlink (v3). -+ */ -+struct READLINK3args { -+ nfs_fh3 symlink; -+}; -+ -+struct READLINK3resok { -+ post_op_attr symlink_attributes; -+ nfspath3 data; -+}; -+ -+struct READLINK3resfail { -+ post_op_attr symlink_attributes; -+}; -+ -+union READLINK3res switch (nfsstat3 status) { -+case NFS3_OK: -+ READLINK3resok resok; -+default: -+ READLINK3resfail resfail; -+}; -+ -+/* -+ * Arguments to read (v3). -+ */ -+struct READ3args { -+ nfs_fh3 file; -+ offset3 offset; -+ count3 count; -+}; -+ -+struct READ3resok { -+ post_op_attr file_attributes; -+ count3 count; -+ bool eof; -+ opaque data<>; -+}; -+ -+struct READ3resfail { -+ post_op_attr file_attributes; -+}; -+ -+/* XXX: solaris 2.6 uses ``nfsstat'' here */ -+union READ3res switch (nfsstat3 status) { -+case NFS3_OK: -+ READ3resok resok; -+default: -+ READ3resfail resfail; -+}; -+ -+/* -+ * Arguments to write (v3). -+ */ -+enum stable_how { -+ UNSTABLE = 0, -+ DATA_SYNC = 1, -+ FILE_SYNC = 2 -+}; -+ -+struct WRITE3args { -+ nfs_fh3 file; -+ offset3 offset; -+ count3 count; -+ stable_how stable; -+ opaque data<>; -+}; -+ -+struct WRITE3resok { -+ wcc_data file_wcc; -+ count3 count; -+ stable_how committed; -+ writeverf3 verf; -+}; -+ -+struct WRITE3resfail { -+ wcc_data file_wcc; -+}; -+ -+union WRITE3res switch (nfsstat3 status) { -+case NFS3_OK: -+ WRITE3resok resok; -+default: -+ WRITE3resfail resfail; -+}; -+ -+/* -+ * Arguments to create (v3). -+ */ -+enum createmode3 { -+ UNCHECKED = 0, -+ GUARDED = 1, -+ EXCLUSIVE = 2 -+}; -+ -+union createhow3 switch (createmode3 mode) { -+case UNCHECKED: -+case GUARDED: -+ sattr3 obj_attributes; -+case EXCLUSIVE: -+ createverf3 verf; -+}; -+ -+struct CREATE3args { -+ diropargs3 where; -+ createhow3 how; -+}; -+ -+struct CREATE3resok { -+ post_op_fh3 obj; -+ post_op_attr obj_attributes; -+ wcc_data dir_wcc; -+}; -+ -+struct CREATE3resfail { -+ wcc_data dir_wcc; -+}; -+ -+union CREATE3res switch (nfsstat3 status) { -+case NFS3_OK: -+ CREATE3resok resok; -+default: -+ CREATE3resfail resfail; -+}; -+ -+/* -+ * Arguments to mkdir (v3). -+ */ -+struct MKDIR3args { -+ diropargs3 where; -+ sattr3 attributes; -+}; -+ -+struct MKDIR3resok { -+ post_op_fh3 obj; -+ post_op_attr obj_attributes; -+ wcc_data dir_wcc; -+}; -+ -+struct MKDIR3resfail { -+ wcc_data dir_wcc; -+}; -+ -+union MKDIR3res switch (nfsstat3 status) { -+case NFS3_OK: -+ MKDIR3resok resok; -+default: -+ MKDIR3resfail resfail; -+}; -+ -+/* -+ * Arguments to symlink (v3). -+ */ -+struct symlinkdata3 { -+ sattr3 symlink_attributes; -+ nfspath3 symlink_data; -+}; -+ -+struct SYMLINK3args { -+ diropargs3 where; -+ symlinkdata3 symlink; -+}; -+ -+struct SYMLINK3resok { -+ post_op_fh3 obj; -+ post_op_attr obj_attributes; -+ wcc_data dir_wcc; -+}; -+ -+struct SYMLINK3resfail { -+ wcc_data dir_wcc; -+}; -+ -+union SYMLINK3res switch (nfsstat3 status) { -+case NFS3_OK: -+ SYMLINK3resok resok; -+default: -+ SYMLINK3resfail resfail; -+}; -+ -+/* -+ * Arguments to mknod (v3). -+ */ -+struct devicedata3 { -+ sattr3 dev_attributes; -+ specdata3 spec; -+}; -+ -+union mknoddata3 switch (ftype3 type) { -+case NF3CHR: -+case NF3BLK: -+ devicedata3 device; -+case NF3SOCK: -+case NF3FIFO: -+ sattr3 pipe_attributes; -+default: -+ void; -+}; -+ -+struct MKNOD3args { -+ diropargs3 where; -+ mknoddata3 what; -+}; -+ -+struct MKNOD3resok { -+ post_op_fh3 obj; -+ post_op_attr obj_attributes; -+ wcc_data dir_wcc; -+}; -+ -+struct MKNOD3resfail { -+ wcc_data dir_wcc; -+}; -+ -+union MKNOD3res switch (nfsstat3 status) { -+case NFS3_OK: -+ MKNOD3resok resok; -+default: -+ MKNOD3resfail resfail; -+}; -+ -+/* -+ * Arguments to remove (v3). -+ */ -+struct REMOVE3args { -+ diropargs3 object; -+}; -+ -+struct REMOVE3resok { -+ wcc_data dir_wcc; -+}; -+ -+struct REMOVE3resfail { -+ wcc_data dir_wcc; -+}; -+ -+union REMOVE3res switch (nfsstat3 status) { -+case NFS3_OK: -+ REMOVE3resok resok; -+default: -+ REMOVE3resfail resfail; -+}; -+ -+/* -+ * Arguments to rmdir (v3). -+ */ -+struct RMDIR3args { -+ diropargs3 object; -+}; -+ -+struct RMDIR3resok { -+ wcc_data dir_wcc; -+}; -+ -+struct RMDIR3resfail { -+ wcc_data dir_wcc; -+}; -+ -+union RMDIR3res switch (nfsstat3 status) { -+case NFS3_OK: -+ RMDIR3resok resok; -+default: -+ RMDIR3resfail resfail; -+}; -+ -+/* -+ * Arguments to rename (v3). -+ */ -+struct RENAME3args { -+ diropargs3 from; -+ diropargs3 to; -+}; -+ -+struct RENAME3resok { -+ wcc_data fromdir_wcc; -+ wcc_data todir_wcc; -+}; -+ -+struct RENAME3resfail { -+ wcc_data fromdir_wcc; -+ wcc_data todir_wcc; -+}; -+ -+union RENAME3res switch (nfsstat3 status) { -+case NFS3_OK: -+ RENAME3resok resok; -+default: -+ RENAME3resfail resfail; -+}; -+ -+/* -+ * Arguments to link (v3). -+ */ -+struct LINK3args { -+ nfs_fh3 file; -+ diropargs3 link; -+}; -+ -+struct LINK3resok { -+ post_op_attr file_attributes; -+ wcc_data linkdir_wcc; -+}; -+ -+struct LINK3resfail { -+ post_op_attr file_attributes; -+ wcc_data linkdir_wcc; -+}; -+ -+union LINK3res switch (nfsstat3 status) { -+case NFS3_OK: -+ LINK3resok resok; -+default: -+ LINK3resfail resfail; -+}; -+ -+/* -+ * Arguments to readdir (v3). -+ */ -+struct READDIR3args { -+ nfs_fh3 dir; -+ cookie3 cookie; -+ cookieverf3 cookieverf; -+ count3 count; -+}; -+ -+struct entry3 { -+ fileid3 fileid; -+ filename3 name; -+ cookie3 cookie; -+ entry3 *nextentry; -+}; -+ -+struct dirlist3 { -+ entry3 *entries; -+ bool eof; -+}; -+ -+struct READDIR3resok { -+ post_op_attr dir_attributes; -+ cookieverf3 cookieverf; -+ dirlist3 reply; -+}; -+ -+struct READDIR3resfail { -+ post_op_attr dir_attributes; -+}; -+ -+union READDIR3res switch (nfsstat3 status) { -+case NFS3_OK: -+ READDIR3resok resok; -+default: -+ READDIR3resfail resfail; -+}; -+ -+/* -+ * Arguments to readdirplus (v3). -+ */ -+struct READDIRPLUS3args { -+ nfs_fh3 dir; -+ cookie3 cookie; -+ cookieverf3 cookieverf; -+ count3 dircount; -+ count3 maxcount; -+}; -+ -+struct entryplus3 { -+ fileid3 fileid; -+ filename3 name; -+ cookie3 cookie; -+ post_op_attr name_attributes; -+ post_op_fh3 name_handle; -+ entryplus3 *nextentry; -+}; -+ -+struct dirlistplus3 { -+ entryplus3 *entries; -+ bool eof; -+}; -+ -+struct READDIRPLUS3resok { -+ post_op_attr dir_attributes; -+ cookieverf3 cookieverf; -+ dirlistplus3 reply; -+}; -+ -+struct READDIRPLUS3resfail { -+ post_op_attr dir_attributes; -+}; -+ -+union READDIRPLUS3res switch (nfsstat3 status) { -+case NFS3_OK: -+ READDIRPLUS3resok resok; -+default: -+ READDIRPLUS3resfail resfail; -+}; -+ -+/* -+ * Arguments to fsstat (v3). -+ */ -+struct FSSTAT3args { -+ nfs_fh3 fsroot; -+}; -+ -+struct FSSTAT3resok { -+ post_op_attr obj_attributes; -+ size3 tbytes; -+ size3 fbytes; -+ size3 abytes; -+ size3 tfiles; -+ size3 ffiles; -+ size3 afiles; -+ uint32 invarsec; -+}; -+ -+struct FSSTAT3resfail { -+ post_op_attr obj_attributes; -+}; -+ -+union FSSTAT3res switch (nfsstat3 status) { -+case NFS3_OK: -+ FSSTAT3resok resok; -+default: -+ FSSTAT3resfail resfail; -+}; -+ -+/* -+ * Arguments to fsinfo (v3). -+ */ -+const FSF3_LINK = 0x0001; -+const FSF3_SYMLINK = 0x0002; -+const FSF3_HOMOGENEOUS = 0x0008; -+const FSF3_CANSETTIME = 0x0010; -+ -+struct FSINFO3args { -+ nfs_fh3 fsroot; -+}; -+ -+struct FSINFO3resok { -+ post_op_attr obj_attributes; -+ uint32 rtmax; -+ uint32 rtpref; -+ uint32 rtmult; -+ uint32 wtmax; -+ uint32 wtpref; -+ uint32 wtmult; -+ uint32 dtpref; -+ size3 maxfilesize; -+ nfstime3 time_delta; -+ uint32 properties; -+}; -+ -+struct FSINFO3resfail { -+ post_op_attr obj_attributes; -+}; -+ -+union FSINFO3res switch (nfsstat3 status) { -+case NFS3_OK: -+ FSINFO3resok resok; -+default: -+ FSINFO3resfail resfail; -+}; -+ -+/* -+ * Arguments to pathconf (v3). -+ */ -+struct PATHCONF3args { -+ nfs_fh3 object; -+}; -+ -+struct PATHCONF3resok { -+ post_op_attr obj_attributes; -+ uint32 linkmax; -+ uint32 name_max; -+ bool no_trunc; -+ bool chown_restricted; -+ bool case_insensitive; -+ bool case_preserving; -+}; -+ -+struct PATHCONF3resfail { -+ post_op_attr obj_attributes; -+}; -+ -+union PATHCONF3res switch (nfsstat3 status) { -+case NFS3_OK: -+ PATHCONF3resok resok; -+default: -+ PATHCONF3resfail resfail; -+}; -+ -+/* -+ * Arguments to commit (v3). -+ */ -+struct COMMIT3args { -+ nfs_fh3 file; -+ offset3 offset; -+ count3 count; -+}; -+ -+struct COMMIT3resok { -+ wcc_data file_wcc; -+ writeverf3 verf; -+}; -+ -+struct COMMIT3resfail { -+ wcc_data file_wcc; -+}; -+ -+union COMMIT3res switch (nfsstat3 status) { -+case NFS3_OK: -+ COMMIT3resok resok; -+default: -+ COMMIT3resfail resfail; -+}; -+ -+#endif /* WANT_NFS3 */ -+ -+/* -+ * Remote file service routines -+ */ -+program NFS_PROGRAM { -+ version NFS_VERSION { -+ void -+ NFSPROC_NULL(void) = 0; -+ -+ attrstat -+ NFSPROC_GETATTR(nfs_fh) = 1; -+ -+ attrstat -+ NFSPROC_SETATTR(sattrargs) = 2; -+ -+ void -+ NFSPROC_ROOT(void) = 3; -+ -+ diropres -+ NFSPROC_LOOKUP(diropargs) = 4; -+ -+ readlinkres -+ NFSPROC_READLINK(nfs_fh) = 5; -+ -+ readres -+ NFSPROC_READ(readargs) = 6; -+ -+ void -+ NFSPROC_WRITECACHE(void) = 7; -+ -+ attrstat -+ NFSPROC_WRITE(writeargs) = 8; -+ -+ diropres -+ NFSPROC_CREATE(createargs) = 9; -+ -+ nfsstat -+ NFSPROC_REMOVE(diropargs) = 10; -+ -+ nfsstat -+ NFSPROC_RENAME(renameargs) = 11; -+ -+ nfsstat -+ NFSPROC_LINK(linkargs) = 12; -+ -+ nfsstat -+ NFSPROC_SYMLINK(symlinkargs) = 13; -+ -+ diropres -+ NFSPROC_MKDIR(createargs) = 14; -+ -+ nfsstat -+ NFSPROC_RMDIR(diropargs) = 15; -+ -+ readdirres -+ NFSPROC_READDIR(readdirargs) = 16; -+ -+ statfsres -+ NFSPROC_STATFS(nfs_fh) = 17; -+ } = 2; -+} = 100003; -+#ifdef WANT_NFS3 -+program NFS3_PROGRAM { -+ version NFS_V3 { -+ void -+ NFSPROC3_NULL(void) = 0; -+ -+ GETATTR3res -+ NFSPROC3_GETATTR(GETATTR3args) = 1; -+ -+ SETATTR3res -+ NFSPROC3_SETATTR(SETATTR3args) = 2; -+ -+ LOOKUP3res -+ NFSPROC3_LOOKUP(LOOKUP3args) = 3; -+ -+ ACCESS3res -+ NFSPROC3_ACCESS(ACCESS3args) = 4; -+ -+ READLINK3res -+ NFSPROC3_READLINK(READLINK3args) = 5; -+ -+ READ3res -+ NFSPROC3_READ(READ3args) = 6; -+ -+ WRITE3res -+ NFSPROC3_WRITE(WRITE3args) = 7; -+ -+ CREATE3res -+ NFSPROC3_CREATE(CREATE3args) = 8; -+ -+ MKDIR3res -+ NFSPROC3_MKDIR(MKDIR3args) = 9; -+ -+ SYMLINK3res -+ NFSPROC3_SYMLINK(SYMLINK3args) = 10; -+ -+ MKNOD3res -+ NFSPROC3_MKNOD(MKNOD3args) = 11; -+ -+ REMOVE3res -+ NFSPROC3_REMOVE(REMOVE3args) = 12; -+ -+ RMDIR3res -+ NFSPROC3_RMDIR(RMDIR3args) = 13; -+ -+ RENAME3res -+ NFSPROC3_RENAME(RENAME3args) = 14; -+ -+ LINK3res -+ NFSPROC3_LINK(LINK3args) = 15; -+ -+ READDIR3res -+ NFSPROC3_READDIR(READDIR3args) = 16; -+ -+ READDIRPLUS3res -+ NFSPROC3_READDIRPLUS(READDIRPLUS3args) = 17; -+ -+ FSSTAT3res -+ NFSPROC3_FSSTAT(FSSTAT3args) = 18; -+ -+ FSINFO3res -+ NFSPROC3_FSINFO(FSINFO3args) = 19; -+ -+ PATHCONF3res -+ NFSPROC3_PATHCONF(PATHCONF3args) = 20; -+ -+ COMMIT3res -+ NFSPROC3_COMMIT(COMMIT3args) = 21; -+ } = 3; -+} = 100003; -+#endif -+ -diff --git a/tirpc/rpcsvc/rquota.x b/tirpc/rpcsvc/rquota.x -new file mode 100644 -index 0000000..72864d1 ---- /dev/null -+++ b/tirpc/rpcsvc/rquota.x -@@ -0,0 +1,67 @@ -+/* -+ * Remote quota protocol -+ * Requires unix authentication -+ */ -+ -+#ifndef RPC_HDR -+%#ifndef lint -+%/*static char sccsid[] = "from: @(#)rquota.x 1.2 87/09/20 Copyr 1987 Sun Micro";*/ -+%/*static char sccsid[] = "from: @(#)rquota.x 2.1 88/08/01 4.0 RPCSRC";*/ -+%static const char rcsid[] = -+% "$FreeBSD: src/include/rpcsvc/rquota.x,v 1.6 1999/08/27 23:45:10 peter Exp $"; -+%#endif /* not lint */ -+#endif -+ -+const RQ_PATHLEN = 1024; -+ -+struct getquota_args { -+ string gqa_pathp; /* path to filesystem of interest */ -+ int gqa_uid; /* inquire about quota for uid */ -+}; -+ -+/* -+ * remote quota structure -+ */ -+struct rquota { -+ int rq_bsize; /* block size for block counts */ -+ bool rq_active; /* indicates whether quota is active */ -+ unsigned int rq_bhardlimit; /* absolute limit on disk blks alloc */ -+ unsigned int rq_bsoftlimit; /* preferred limit on disk blks */ -+ unsigned int rq_curblocks; /* current block count */ -+ unsigned int rq_fhardlimit; /* absolute limit on allocated files */ -+ unsigned int rq_fsoftlimit; /* preferred file limit */ -+ unsigned int rq_curfiles; /* current # allocated files */ -+ unsigned int rq_btimeleft; /* time left for excessive disk use */ -+ unsigned int rq_ftimeleft; /* time left for excessive files */ -+}; -+ -+enum gqr_status { -+ Q_OK = 1, /* quota returned */ -+ Q_NOQUOTA = 2, /* noquota for uid */ -+ Q_EPERM = 3 /* no permission to access quota */ -+}; -+ -+union getquota_rslt switch (gqr_status status) { -+case Q_OK: -+ rquota gqr_rquota; /* valid if status == Q_OK */ -+case Q_NOQUOTA: -+ void; -+case Q_EPERM: -+ void; -+}; -+ -+program RQUOTAPROG { -+ version RQUOTAVERS { -+ /* -+ * Get all quotas -+ */ -+ getquota_rslt -+ RQUOTAPROC_GETQUOTA(getquota_args) = 1; -+ -+ /* -+ * Get active quotas only -+ */ -+ getquota_rslt -+ RQUOTAPROC_GETACTIVEQUOTA(getquota_args) = 2; -+ } = 1; -+} = 100011; --- -1.9.1 - diff --git a/buildroot-2021.05/package/libtirpc/Config.in b/buildroot-2021.05/package/libtirpc/Config.in deleted file mode 100644 index 2e9c939f..00000000 --- a/buildroot-2021.05/package/libtirpc/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_LIBTIRPC - bool "libtirpc" - depends on BR2_TOOLCHAIN_HAS_THREADS - help - Libtirpc is a port of Sun's Transport-Independent RPC - library to Linux. - - http://sourceforge.net/projects/libtirpc/ - -comment "libtirpc needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libtirpc/libtirpc.mk b/buildroot-2021.05/package/libtirpc/libtirpc.mk deleted file mode 100644 index 2678c144..00000000 --- a/buildroot-2021.05/package/libtirpc/libtirpc.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# libtirpc -# -################################################################################ - -LIBTIRPC_VERSION = 1.3.2 -LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VERSION).tar.bz2 -LIBTIRPC_SITE = http://downloads.sourceforge.net/project/libtirpc/libtirpc/$(LIBTIRPC_VERSION) -LIBTIRPC_LICENSE = BSD-3-Clause -LIBTIRPC_LICENSE_FILES = COPYING -LIBTIRPC_CPE_ID_VENDOR = libtirpc_project - -LIBTIRPC_DEPENDENCIES = host-nfs-utils -LIBTIRPC_INSTALL_STAGING = YES -LIBTIRPC_AUTORECONF = YES - -# getrpcby{number,name} are only provided if 'GQ' is defined -LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ" - -LIBTIRPC_CONF_OPTS = --disable-gssapi - -define HOST_LIBTIRPC_INSTALL_CMDS - $(INSTALL) -D -m 0644 $(@D)/tirpc/rpc/types.h $(HOST_DIR)/include/rpc/types.h - $(INSTALL) -D -m 0644 $(@D)/tirpc/netconfig.h $(HOST_DIR)/include/netconfig.h -endef - -$(eval $(autotools-package)) -# We are only copying headers; no need for the autotools infrastructure -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libtomcrypt/libtomcrypt.mk b/buildroot-2021.05/package/libtomcrypt/libtomcrypt.mk deleted file mode 100644 index 35886057..00000000 --- a/buildroot-2021.05/package/libtomcrypt/libtomcrypt.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# libtomcrypt -# -################################################################################ - -LIBTOMCRYPT_VERSION = 1.18.2 -LIBTOMCRYPT_SITE = https://github.com/libtom/libtomcrypt/releases/download/v$(LIBTOMCRYPT_VERSION) -LIBTOMCRYPT_SOURCE = crypt-$(LIBTOMCRYPT_VERSION).tar.xz -LIBTOMCRYPT_LICENSE = WTFPL -LIBTOMCRYPT_LICENSE_FILES = LICENSE -LIBTOMCRYPT_CPE_ID_VENDOR = libtom -LIBTOMCRYPT_INSTALL_STAGING = YES -LIBTOMCRYPT_INSTALL_TARGET = NO # only static library -LIBTOMCRYPT_DEPENDENCIES = libtommath - -# 0001-fix-CVE-2019-17362.patch -LIBTOMCRYPT_IGNORE_CVES += CVE-2019-17362 - -LIBTOMCRYPT_CFLAGS = -I./src/headers $(TARGET_CFLAGS) -DLTC_SOURCE -DLTM_DESC - -ifeq ($(BR2_STATIC_LIBS),) -LIBTOMCRYPT_CFLAGS += -fPIC -endif - -define LIBTOMCRYPT_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(LIBTOMCRYPT_CFLAGS)" -endef - -define LIBTOMCRYPT_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" \ - PREFIX=/usr NODOCS=1 INSTALL_USER=$(shell id -u) \ - INSTALL_GROUP=$(shell id -g) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libtorrent-rasterbar/libtorrent-rasterbar.hash b/buildroot-2021.05/package/libtorrent-rasterbar/libtorrent-rasterbar.hash deleted file mode 100644 index 8198a1ff..00000000 --- a/buildroot-2021.05/package/libtorrent-rasterbar/libtorrent-rasterbar.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 c3744ac9fa41f6e6ebf79538a2ea678df76a2cbbaf3ac6ae2c05455314e5cce8 libtorrent-rasterbar-1.2.12.tar.gz -sha256 f3a5dd1558cce616b12edad521427ec8976ce2bb0af33f7f359cfa648bf55ad8 COPYING diff --git a/buildroot-2021.05/package/libtorrent-rasterbar/libtorrent-rasterbar.mk b/buildroot-2021.05/package/libtorrent-rasterbar/libtorrent-rasterbar.mk deleted file mode 100644 index 7f60252e..00000000 --- a/buildroot-2021.05/package/libtorrent-rasterbar/libtorrent-rasterbar.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# libtorrent-rasterbar -# -################################################################################ - -LIBTORRENT_RASTERBAR_VERSION = 1.2.12 -LIBTORRENT_RASTERBAR_SITE = \ - https://github.com/arvidn/libtorrent/releases/download/v$(LIBTORRENT_RASTERBAR_VERSION) -LIBTORRENT_RASTERBAR_LICENSE = BSD-3-Clause -LIBTORRENT_RASTERBAR_LICENSE_FILES = COPYING -LIBTORRENT_RASTERBAR_CPE_ID_VENDOR = libtorrent -LIBTORRENT_RASTERBAR_CPE_ID_PRODUCT = libtorrent -LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost openssl -LIBTORRENT_RASTERBAR_INSTALL_STAGING = YES -LIBTORRENT_RASTERBAR_CONF_OPTS = \ - --with-boost-libdir=$(STAGING_DIR)/usr/lib \ - --disable-invariant-checks -LIBTORRENT_RASTERBAR_CXXFLAGS = $(TARGET_CXXFLAGS) -std=c++11 - -# Internal error, aborting at dwarf2cfi.c:2802 in connect_traces -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58864 -ifeq ($(BR2_m68k_cf),y) -LIBTORRENT_RASTERBAR_CXXFLAGS += -fno-defer-pop -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -LIBTORRENT_RASTERBAR_CXXFLAGS += -O0 -endif - -LIBTORRENT_RASTERBAR_CONF_OPTS += CXXFLAGS="$(LIBTORRENT_RASTERBAR_CXXFLAGS)" - -ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y) -LIBTORRENT_RASTERBAR_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) -LIBTORRENT_RASTERBAR_CONF_OPTS += --with-libiconv -else -LIBTORRENT_RASTERBAR_CONF_OPTS += --without-libiconv -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libtorrent/Config.in b/buildroot-2021.05/package/libtorrent/Config.in deleted file mode 100644 index 4787f9c6..00000000 --- a/buildroot-2021.05/package/libtorrent/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_LIBTORRENT - bool "libtorrent" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_ZLIB - help - BitTorrent library written in C++ for *nix - - https://github.com/rakshasa/libtorrent - -comment "libtorrent needs a toolchain w/ C++, threads" - depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libtorrent/libtorrent.mk b/buildroot-2021.05/package/libtorrent/libtorrent.mk deleted file mode 100644 index c8310cab..00000000 --- a/buildroot-2021.05/package/libtorrent/libtorrent.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# libtorrent -# -################################################################################ - -LIBTORRENT_VERSION = 0.13.8 -LIBTORRENT_SITE = http://rtorrent.net/downloads -LIBTORRENT_DEPENDENCIES = host-pkgconf zlib -LIBTORRENT_CONF_OPTS = --enable-aligned \ - --disable-instrumentation \ - --with-zlib=$(STAGING_DIR)/usr -LIBTORRENT_INSTALL_STAGING = YES -LIBTORRENT_LICENSE = GPL-2.0 -LIBTORRENT_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBTORRENT_CONF_OPTS += --enable-openssl -LIBTORRENT_DEPENDENCIES += openssl -else -LIBTORRENT_CONF_OPTS += --disable-openssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch b/buildroot-2021.05/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch deleted file mode 100644 index 2a234af7..00000000 --- a/buildroot-2021.05/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 5448ca9d92f7fa197060323a82a5f060ce7c31e7 Mon Sep 17 00:00:00 2001 -From: Pierre-Jean Texier -Date: Wed, 22 May 2019 10:26:27 +0200 -Subject: [PATCH] src/CMakeLists.txt: do not force the build of a shared - library - -By definition, projects using CMake which can build either static or shared -libraries use a BUILD_SHARED_LIBS flag to allow selecting between both. -So, let CMake rely on the standard BUILD_SHARED_LIBS variable to decide -whether a static or shared library should be built. - -however, we can control the behaviour as follows: - - $. cmake -DBUILD_SHARED_LIBS=OFF ... - - $. cmake -DBUILS_SHARED_LIBS=ON ... - -With Yocto/OE, just add the following option into the libubootenv recipe : - -EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON" - -Signed-off-by: Pierre-Jean Texier -[Upstream status: http://patchwork.ozlabs.org/patch/1103437/] ---- - src/CMakeLists.txt | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index a04dd11..3a2115d 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -12,17 +12,15 @@ SET(include_HEADERS - - include(GNUInstallDirs) # for the CMAKE_INSTALL_LIBDIR variable - --add_library(ubootenv SHARED ${libubootenv_SOURCES} ${include_HEADERS}) -+add_library(ubootenv ${libubootenv_SOURCES} ${include_HEADERS}) - SET_TARGET_PROPERTIES(ubootenv PROPERTIES VERSION ${VERSION} SOVERSION ${SOVERSION}) - --ADD_LIBRARY(ubootenv_static STATIC ${libubootenv_SOURCES} ${include_HEADERS}) --SET_TARGET_PROPERTIES(ubootenv_static PROPERTIES OUTPUT_NAME ubootenv) - add_executable(fw_printenv fw_printenv.c) - add_executable(fw_setenv fw_setenv.c) - target_link_libraries(fw_printenv ubootenv z) - target_link_libraries(fw_setenv ubootenv z) - --install (TARGETS ubootenv ubootenv_static DESTINATION ${CMAKE_INSTALL_LIBDIR}) -+install (TARGETS ubootenv DESTINATION ${CMAKE_INSTALL_LIBDIR}) - install (FILES libuboot.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - install (TARGETS fw_printenv DESTINATION ${CMAKE_INSTALL_BINDIR}) - install (TARGETS fw_setenv DESTINATION ${CMAKE_INSTALL_BINDIR}) --- -2.25.1 - diff --git a/buildroot-2021.05/package/libubootenv/libubootenv.hash b/buildroot-2021.05/package/libubootenv/libubootenv.hash deleted file mode 100644 index 0b5320b3..00000000 --- a/buildroot-2021.05/package/libubootenv/libubootenv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 e25adf81dd2d4a083cb2cf032843a1ee2bb1fab54aa7a0202bd2295186bfe1b7 libubootenv-e663439e3d39a4cdbddb7e818245a99c485fa965.tar.gz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 Licenses/lgpl-2.1.txt diff --git a/buildroot-2021.05/package/libubootenv/libubootenv.mk b/buildroot-2021.05/package/libubootenv/libubootenv.mk deleted file mode 100644 index 7a98f532..00000000 --- a/buildroot-2021.05/package/libubootenv/libubootenv.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# libubootenv -# -################################################################################ - -LIBUBOOTENV_VERSION = e663439e3d39a4cdbddb7e818245a99c485fa965 -LIBUBOOTENV_SITE = $(call github,sbabic,libubootenv,$(LIBUBOOTENV_VERSION)) -LIBUBOOTENV_LICENSE = LGPL-2.1 -LIBUBOOTENV_LICENSE_FILES = Licenses/lgpl-2.1.txt -LIBUBOOTENV_INSTALL_STAGING = YES -LIBUBOOTENV_DEPENDENCIES = zlib - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libubox/libubox.hash b/buildroot-2021.05/package/libubox/libubox.hash deleted file mode 100644 index 94a071d8..00000000 --- a/buildroot-2021.05/package/libubox/libubox.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 c6bac8baa7525b2d35eb22edeb5722c098370794d00e8859ef1a0bdfd8716151 libubox-551d75b5662cccd0466b990d58136bdf799a804d-br1.tar.gz diff --git a/buildroot-2021.05/package/libubox/libubox.mk b/buildroot-2021.05/package/libubox/libubox.mk deleted file mode 100644 index 20da5c2e..00000000 --- a/buildroot-2021.05/package/libubox/libubox.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# libubox -# -################################################################################ - -LIBUBOX_VERSION = 551d75b5662cccd0466b990d58136bdf799a804d -LIBUBOX_SITE = https://git.openwrt.org/project/libubox.git -LIBUBOX_SITE_METHOD = git -LIBUBOX_LICENSE = ISC, BSD-3-Clause -LIBUBOX_INSTALL_STAGING = YES -LIBUBOX_DEPENDENCIES = $(if $(BR2_PACKAGE_JSON_C),json-c) - -ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy) -LIBUBOX_DEPENDENCIES += lua -LIBUBOX_CONF_OPTS += -DBUILD_LUA=ON \ - -DLUAPATH=/usr/lib/lua/5.1 \ - -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include -else -LIBUBOX_CONF_OPTS += -DBUILD_LUA=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libuci/libuci.hash b/buildroot-2021.05/package/libuci/libuci.hash deleted file mode 100644 index b6962c25..00000000 --- a/buildroot-2021.05/package/libuci/libuci.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed -sha256 76ef826df2961420cd7a4f1702bef06c37563d9807a2d8e84557963aab21ac80 libuci-52bbc99f69ea6f67b6fe264f424dac91bde5016c-br1.tar.gz diff --git a/buildroot-2021.05/package/libuci/libuci.mk b/buildroot-2021.05/package/libuci/libuci.mk deleted file mode 100644 index fcfda95b..00000000 --- a/buildroot-2021.05/package/libuci/libuci.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# libuci -# -################################################################################ - -LIBUCI_VERSION = 52bbc99f69ea6f67b6fe264f424dac91bde5016c -LIBUCI_SITE = https://git.openwrt.org/project/uci.git -LIBUCI_SITE_METHOD = git -LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools) -LIBUCI_INSTALL_STAGING = YES -LIBUCI_DEPENDENCIES = libubox - -ifeq ($(BR2_PACKAGE_LUA_5_1),y) -LIBUCI_DEPENDENCIES += lua -LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \ - -DLUAPATH=/usr/lib/lua/5.1 \ - -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include -LIBUCI_LICENSE += , GPL-2.0 (lua bindings) -else -LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libudfread/libudfread.hash b/buildroot-2021.05/package/libudfread/libudfread.hash deleted file mode 100644 index 14d24b5d..00000000 --- a/buildroot-2021.05/package/libudfread/libudfread.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 529ffa189a6b9fbe08c77430bd18201007b9b20b3153ad92ebd5e1cc515e7151 libudfread-1.1.1.tar.bz2 -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/libudfread/libudfread.mk b/buildroot-2021.05/package/libudfread/libudfread.mk deleted file mode 100644 index 6803a918..00000000 --- a/buildroot-2021.05/package/libudfread/libudfread.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libudfread -# -################################################################################ - -LIBUDFREAD_VERSION = 1.1.1 -LIBUDFREAD_SOURCE = libudfread-$(LIBUDFREAD_VERSION).tar.bz2 -LIBUDFREAD_SITE = https://code.videolan.org/videolan/libudfread/-/archive/$(LIBUDFREAD_VERSION) -LIBUDFREAD_AUTORECONF = YES -LIBUDFREAD_INSTALL_STAGING = YES -LIBUDFREAD_LICENSE = LGPL-2.1+ -LIBUDFREAD_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libuev/libuev.hash b/buildroot-2021.05/package/libuev/libuev.hash deleted file mode 100644 index d52d210d..00000000 --- a/buildroot-2021.05/package/libuev/libuev.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/troglobit/libuev/releases/download/v2.3.2/libuev-2.3.2.tar.xz.sha256 -sha256 af31ffe1058a2ff6c56fee26ec8749688704d297189b6a898380a601efefbec9 libuev-2.3.2.tar.xz -# License files -sha256 694a734d9c1b46ae203314ed1c744a1acebd4fe5fc964b761703772546f0d3ab LICENSE diff --git a/buildroot-2021.05/package/libuev/libuev.mk b/buildroot-2021.05/package/libuev/libuev.mk deleted file mode 100644 index 8a6759a2..00000000 --- a/buildroot-2021.05/package/libuev/libuev.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# libuev -# -################################################################################ - -LIBUEV_VERSION = 2.3.2 -LIBUEV_SOURCE = libuev-$(LIBUEV_VERSION).tar.xz -LIBUEV_SITE = https://github.com/troglobit/libuev/releases/download/v$(LIBUEV_VERSION) -LIBUEV_LICENSE = MIT -LIBUEV_LICENSE_FILES = LICENSE -LIBUEV_INSTALL_STAGING = YES -LIBUEV_CONF_OPTS = --disable-examples - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libuhttpd/Config.in b/buildroot-2021.05/package/libuhttpd/Config.in deleted file mode 100644 index 1ab39c58..00000000 --- a/buildroot-2021.05/package/libuhttpd/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_LIBUHTTPD - bool "libuhttpd" - select BR2_PACKAGE_LIBEV - help - A lightweight and fully asynchronous HTTP server - library based on libev - - https://github.com/zhaojh329/libuhttpd diff --git a/buildroot-2021.05/package/libuhttpd/libuhttpd.hash b/buildroot-2021.05/package/libuhttpd/libuhttpd.hash deleted file mode 100644 index 4b0b5027..00000000 --- a/buildroot-2021.05/package/libuhttpd/libuhttpd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 6e7a9ad61e3d0ab5bd4d20b274b850542dff8057a8fcf6c36ce59eb34818f61f libuhttpd-3.10.1.tar.gz -sha256 99efed4bbc0b62f96f999ef23399e38234fb91651af734fd389a52b033a85b55 LICENSE diff --git a/buildroot-2021.05/package/libuhttpd/libuhttpd.mk b/buildroot-2021.05/package/libuhttpd/libuhttpd.mk deleted file mode 100644 index 326c78fa..00000000 --- a/buildroot-2021.05/package/libuhttpd/libuhttpd.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# libuhttpd -# -################################################################################ - -LIBUHTTPD_VERSION = 3.10.1 -LIBUHTTPD_SITE = https://github.com/zhaojh329/libuhttpd/releases/download/v$(LIBUHTTPD_VERSION) -LIBUHTTPD_LICENSE = MIT -LIBUHTTPD_LICENSE_FILES = LICENSE -LIBUHTTPD_INSTALL_STAGING = YES -LIBUHTTPD_DEPENDENCIES = libev - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBUHTTPD_DEPENDENCIES += openssl -LIBUHTTPD_CONF_OPTS += \ - -DUHTTPD_SSL_SUPPORT=ON \ - -DUHTTPD_USE_MBEDTLS=OFF \ - -DUHTTPD_USE_OPENSSL=ON \ - -DUHTTPD_USE_WOLFSSL=OFF -else ifeq ($(BR2_PACKAGE_WOLFSSL),y) -LIBUHTTPD_DEPENDENCIES += wolfssl -LIBUHTTPD_CONF_OPTS += \ - -DUHTTPD_SSL_SUPPORT=ON \ - -DUHTTPD_USE_MBEDTLS=OFF \ - -DUHTTPD_USE_OPENSSL=OFF \ - -DUHTTPD_USE_WOLFSSL=ON -else ifeq ($(BR2_PACKAGE_MBEDTLS),y) -LIBUHTTPD_DEPENDENCIES += mbedtls -LIBUHTTPD_CONF_OPTS += \ - -DUHTTPD_SSL_SUPPORT=ON \ - -DUHTTPD_USE_MBEDTLS=ON \ - -DUHTTPD_USE_OPENSSL=OFF \ - -DUHTTPD_USE_WOLFSSL=OFF -else -LIBUHTTPD_CONF_OPTS += -DUHTTPD_SSL_SUPPORT=OFF -endif - -# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable -ifeq ($(BR2_SHARED_STATIC_LIBS),y) -LIBUHTTPD_CONF_OPTS += -DBUILD_STATIC_LIBS=ON -else ifeq ($(BR2_SHARED_LIBS),y) -LIBUHTTPD_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libuio/0002-fix-build-with-musl.patch b/buildroot-2021.05/package/libuio/0002-fix-build-with-musl.patch deleted file mode 100644 index 6e5b168c..00000000 --- a/buildroot-2021.05/package/libuio/0002-fix-build-with-musl.patch +++ /dev/null @@ -1,57 +0,0 @@ -From c378ee112857128002754c616acb6841ee32aaf6 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sat, 2 Jul 2016 10:52:28 +0200 -Subject: [PATCH] fix build with musl - -limits.h header is missing in attr.c, base.c and helper.c to provide -PATH_MAX. - -Fixes: -http://autobuild.buildroot.net/results/702/7023104e6018ea46c54073ddbe5119d0f66ae5a3 - -Signed-off-by: Romain Naour ---- - attr.c | 1 + - base.c | 1 + - helper.c | 1 + - 3 files changed, 3 insertions(+) - -diff --git a/attr.c b/attr.c -index 4245140..7512f4e 100644 ---- a/attr.c -+++ b/attr.c -@@ -25,6 +25,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/base.c b/base.c -index 14ebcee..4ce7301 100644 ---- a/base.c -+++ b/base.c -@@ -25,6 +25,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/helper.c b/helper.c -index 170f084..1fb0b4c 100644 ---- a/helper.c -+++ b/helper.c -@@ -25,6 +25,7 @@ - #include - #include - #include -+#include - #include - #include - #include --- -2.5.5 - diff --git a/buildroot-2021.05/package/libuio/libuio.hash b/buildroot-2021.05/package/libuio/libuio.hash deleted file mode 100644 index 54fb02b1..00000000 --- a/buildroot-2021.05/package/libuio/libuio.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 1494375bd493ef1a1b868ce2cbc7d29f3f9f692c21f70689eae28566e56f2c15 libuio-ca28ff0f69d89a789a47552c72db5a43d280710b.tar.gz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/libuio/libuio.mk b/buildroot-2021.05/package/libuio/libuio.mk deleted file mode 100644 index b6e8e7e7..00000000 --- a/buildroot-2021.05/package/libuio/libuio.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# libuio -# -################################################################################ - -# v0.2.8 -LIBUIO_VERSION = ca28ff0f69d89a789a47552c72db5a43d280710b -LIBUIO_SITE = $(call github,Linutronix,libuio,$(LIBUIO_VERSION)) -LIBUIO_LICENSE = LGPL-2.1 (library), GPL-2.0 (programs) -LIBUIO_LICENSE_FILES = COPYING -LIBUIO_CONF_OPTS = --with-glib=no --without-werror -LIBUIO_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-pkgconf -LIBUIO_LIBS = $(TARGET_NLS_LIBS) -LIBUIO_INSTALL_STAGING = YES - -# Fetched from github, no pre-generated configure script provided -LIBUIO_GETTEXTIZE = YES -LIBUIO_AUTORECONF = YES - -# Avoid build issue when makeinfo is missing -LIBUIO_CONF_ENV += MAKEINFO=true - -ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -LIBUIO_DEPENDENCIES += argp-standalone -LIBUIO_LIBS += -largp -endif - -LIBUIO_CONF_ENV += LIBS="$(LIBUIO_LIBS)" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libunistring/libunistring.hash b/buildroot-2021.05/package/libunistring/libunistring.hash deleted file mode 100644 index 2e4595b1..00000000 --- a/buildroot-2021.05/package/libunistring/libunistring.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.xz.sig -sha256 eb8fb2c3e4b6e2d336608377050892b54c3c983b646c561836550863003c05d7 libunistring-0.9.10.tar.xz -# Locally calculated -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LIB diff --git a/buildroot-2021.05/package/libunistring/libunistring.mk b/buildroot-2021.05/package/libunistring/libunistring.mk deleted file mode 100644 index 1ed7ecf9..00000000 --- a/buildroot-2021.05/package/libunistring/libunistring.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libunistring -# -################################################################################ - -LIBUNISTRING_VERSION = 0.9.10 -LIBUNISTRING_SITE = $(BR2_GNU_MIRROR)/libunistring -LIBUNISTRING_SOURCE = libunistring-$(LIBUNISTRING_VERSION).tar.xz -LIBUNISTRING_INSTALL_STAGING = YES -LIBUNISTRING_LICENSE = LGPL-3.0+ or GPL-2.0 -LIBUNISTRING_LICENSE_FILES = COPYING COPYING.LIB -LIBUNISTRING_CPE_ID_VENDOR = gnu - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libunwind/libunwind.mk b/buildroot-2021.05/package/libunwind/libunwind.mk deleted file mode 100644 index abdec867..00000000 --- a/buildroot-2021.05/package/libunwind/libunwind.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# libunwind -# -################################################################################ - -LIBUNWIND_VERSION = 1.5.0 -LIBUNWIND_SITE = http://download.savannah.gnu.org/releases/libunwind -LIBUNWIND_INSTALL_STAGING = YES -LIBUNWIND_LICENSE_FILES = COPYING -LIBUNWIND_LICENSE = MIT -LIBUNWIND_AUTORECONF = YES - -LIBUNWIND_CONF_OPTS = \ - --disable-tests \ - $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx-exceptions,--disable-cxx-exceptions) - -ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) -LIBUNWIND_DEPENDENCIES = libatomic_ops -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libupnp/libupnp.hash b/buildroot-2021.05/package/libupnp/libupnp.hash deleted file mode 100644 index e4858fdc..00000000 --- a/buildroot-2021.05/package/libupnp/libupnp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 3168f676352e2a6e45afd6ea063721ed674c99f555394903fbd23f7f54f0a503 libupnp-1.14.6.tar.bz2 -sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/buildroot-2021.05/package/libupnp/libupnp.mk b/buildroot-2021.05/package/libupnp/libupnp.mk deleted file mode 100644 index e8ece465..00000000 --- a/buildroot-2021.05/package/libupnp/libupnp.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# libupnp -# -################################################################################ - -LIBUPNP_VERSION = 1.14.6 -LIBUPNP_SOURCE = libupnp-$(LIBUPNP_VERSION).tar.bz2 -LIBUPNP_SITE = \ - http://downloads.sourceforge.net/project/pupnp/release-$(LIBUPNP_VERSION) -LIBUPNP_CONF_ENV = ac_cv_lib_compat_ftime=no -LIBUPNP_INSTALL_STAGING = YES -LIBUPNP_LICENSE = BSD-3-Clause -LIBUPNP_LICENSE_FILES = COPYING -LIBUPNP_CPE_ID_VENDOR = libupnp_project -LIBUPNP_DEPENDENCIES = host-pkgconf - -# Bind the internal miniserver socket with reuseaddr to allow clean restarts. -LIBUPNP_CONF_OPTS += \ - --disable-samples \ - --enable-reuseaddr - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBUPNP_CONF_OPTS += --enable-open-ssl -LIBUPNP_DEPENDENCIES += openssl -else -LIBUPNP_CONF_OPTS += --disable-open-ssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/liburcu/0001-Only-blacklist-ARM-gcc-4.8.0-and-4.8.1.patch b/buildroot-2021.05/package/liburcu/0001-Only-blacklist-ARM-gcc-4.8.0-and-4.8.1.patch deleted file mode 100644 index 658e1721..00000000 --- a/buildroot-2021.05/package/liburcu/0001-Only-blacklist-ARM-gcc-4.8.0-and-4.8.1.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 54d8fe7ae40902d6d38e670f4024092f53c14e1f Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sat, 8 Mar 2014 13:19:14 +0100 -Subject: [PATCH] Only blacklist ARM gcc 4.8.0 and 4.8.1 - -Since many ARM toolchain providers include the bug fix for PR58854 in -their latest releases based on gcc-4.8.2, then only blacklist gcc 4.8.0 -and 4.8.1. - -Signed-off-by: Samuel Martin ---- - urcu/compiler.h | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/include/urcu/compiler.h b/include/urcu/compiler.h -index 1e30903..56115f1 100644 ---- a/include/urcu/compiler.h -+++ b/include/urcu/compiler.h -@@ -118,10 +118,17 @@ - + __GNUC_PATCHLEVEL__) - - /* -+ * Official gcc releases from 4.8.0 to 4.8.2 have the following bug, -+ * however, many arm toolchain providers have the included the fix for -+ * their latest 4.8.2 releases. -+ * So, we only blacklist gcc 4.8.0 and 4.8.1. -+ * Unfortunately, this bug is not easy to test, so we rely on the -+ * knowledge of the user on its compiler. -+ * - * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 - */ - # ifdef __ARMEL__ --# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40802 -+# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40801 - # error Your gcc version produces clobbered frame accesses - # endif - # endif --- -1.9.0 - diff --git a/buildroot-2021.05/package/liburcu/liburcu.hash b/buildroot-2021.05/package/liburcu/liburcu.hash deleted file mode 100644 index da7d12a7..00000000 --- a/buildroot-2021.05/package/liburcu/liburcu.hash +++ /dev/null @@ -1,8 +0,0 @@ -# http://www.lttng.org/files/urcu/userspace-rcu-0.12.1.tar.bz2.sha256 -sha256 bbfaead0345642b97e0de90f889dfbab4b2643a6a5e5c6bb59cd0d26fc0bcd0e userspace-rcu-0.12.1.tar.bz2 - -# Hash for license files -sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 lgpl-2.1.txt -sha256 8ef8121eddd2fc0779d94331a1d0f1ead9c796343d845e564cd8c8c4ae3d6f6e lgpl-relicensing.txt -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 gpl-2.0.txt -sha256 e8c070cb093be4b2eaf938a5f1c11621163b2d9cfa2790460cf925d81e442fa7 LICENSE diff --git a/buildroot-2021.05/package/liburcu/liburcu.mk b/buildroot-2021.05/package/liburcu/liburcu.mk deleted file mode 100644 index fa2ad0de..00000000 --- a/buildroot-2021.05/package/liburcu/liburcu.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# liburcu -# -################################################################################ - -LIBURCU_VERSION = 0.12.1 -LIBURCU_SITE = http://lttng.org/files/urcu -LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2 -LIBURCU_LICENSE = LGPL-2.1+ (library), MIT-like (few source files listed in LICENSE), GPL-2.0+ (test), GPL-3.0 (few *.m4 files) -LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt gpl-2.0.txt LICENSE - -LIBURCU_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/liburiparser/liburiparser.hash b/buildroot-2021.05/package/liburiparser/liburiparser.hash deleted file mode 100644 index 60acca22..00000000 --- a/buildroot-2021.05/package/liburiparser/liburiparser.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 dd8061eba7f2e66c151722e6db0b27c972baa6215cf16f135dbe0f0a4bc6606c uriparser-0.9.5.tar.bz2 -sha256 287f09e6546a9610f949f89e8fb937cacfeabd7bfaa8c8a0c18312193bf04ad3 COPYING diff --git a/buildroot-2021.05/package/liburiparser/liburiparser.mk b/buildroot-2021.05/package/liburiparser/liburiparser.mk deleted file mode 100644 index c7bc604e..00000000 --- a/buildroot-2021.05/package/liburiparser/liburiparser.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# liburiparser -# -################################################################################ - -LIBURIPARSER_VERSION = 0.9.5 -LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.bz2 -LIBURIPARSER_SITE = https://github.com/uriparser/uriparser/releases/download/uriparser-$(LIBURIPARSER_VERSION) -LIBURIPARSER_LICENSE = BSD-3-Clause -LIBURIPARSER_LICENSE_FILES = COPYING -LIBURIPARSER_CPE_ID_VENDOR = uriparser_project -LIBURIPARSER_CPE_ID_PRODUCT = uriparser -LIBURIPARSER_INSTALL_STAGING = YES -LIBURIPARSER_CONF_OPTS = -DURIPARSER_BUILD_DOCS=OFF -DURIPARSER_BUILD_TESTS=OFF - -ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -LIBURIPARSER_CONF_OPTS += -DBUILD_SHARED_LIBS=ON -else -LIBURIPARSER_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF -endif - -ifeq ($(BR2_USE_WCHAR),) -LIBURIPARSER_CONF_OPTS += -DURIPARSER_BUILD_WCHAR_T=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libusb/0001-linux_usbfs-Fix-parsing-of-descriptors-for-multi-con.patch b/buildroot-2021.05/package/libusb/0001-linux_usbfs-Fix-parsing-of-descriptors-for-multi-con.patch deleted file mode 100644 index 601b322e..00000000 --- a/buildroot-2021.05/package/libusb/0001-linux_usbfs-Fix-parsing-of-descriptors-for-multi-con.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 623e2a995d156e115c91f56a3ec691bdc333df8b Mon Sep 17 00:00:00 2001 -From: Chris Dickens -Date: Sun, 13 Dec 2020 15:49:19 -0800 -Subject: [PATCH 1/1] linux_usbfs: Fix parsing of descriptors for - multi-configuration devices - -Commit e2be556bd2 ("linux_usbfs: Parse config descriptors during device -initialization") introduced a regression for devices with multiple -configurations. The logic that verifies the reported length of the -configuration descriptors failed to count the length of the -configuration descriptor itself and would truncate the actual length by -9 bytes, leading to a parsing error for subsequent descriptors. - -Closes #825 - -Signed-off-by: Chris Dickens -(cherry picked from commit f6d2cb561402c3b6d3627c0eb89e009b503d9067) -Signed-off-by: John Keeping ---- - libusb/os/linux_usbfs.c | 12 ++++++++---- - 1 file changed, 8 insertions(+), 4 deletions(-) - -diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c -index fb2ed53..4d2dc8d 100644 ---- a/libusb/os/linux_usbfs.c -+++ b/libusb/os/linux_usbfs.c -@@ -641,7 +641,12 @@ static int seek_to_next_config(struct libusb_context *ctx, - uint8_t *buffer, size_t len) - { - struct usbi_descriptor_header *header; -- int offset = 0; -+ int offset; -+ -+ /* Start seeking past the config descriptor */ -+ offset = LIBUSB_DT_CONFIG_SIZE; -+ buffer += LIBUSB_DT_CONFIG_SIZE; -+ len -= LIBUSB_DT_CONFIG_SIZE; - - while (len > 0) { - if (len < 2) { -@@ -718,7 +723,7 @@ static int parse_config_descriptors(struct libusb_device *dev) - } - - if (priv->sysfs_dir) { -- /* -+ /* - * In sysfs wTotalLength is ignored, instead the kernel returns a - * config descriptor with verified bLength fields, with descriptors - * with an invalid bLength removed. -@@ -727,8 +732,7 @@ static int parse_config_descriptors(struct libusb_device *dev) - int offset; - - if (num_configs > 1 && idx < num_configs - 1) { -- offset = seek_to_next_config(ctx, buffer + LIBUSB_DT_CONFIG_SIZE, -- remaining - LIBUSB_DT_CONFIG_SIZE); -+ offset = seek_to_next_config(ctx, buffer, remaining); - if (offset < 0) - return offset; - sysfs_config_len = (uint16_t)offset; --- -2.30.1 - diff --git a/buildroot-2021.05/package/libusb/libusb.hash b/buildroot-2021.05/package/libusb/libusb.hash deleted file mode 100644 index 6169a186..00000000 --- a/buildroot-2021.05/package/libusb/libusb.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a libusb-1.0.24.tar.bz2 -sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2021.05/package/libusb/libusb.mk b/buildroot-2021.05/package/libusb/libusb.mk deleted file mode 100644 index 28efcade..00000000 --- a/buildroot-2021.05/package/libusb/libusb.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# libusb -# -################################################################################ - -LIBUSB_VERSION_MAJOR = 1.0 -LIBUSB_VERSION = $(LIBUSB_VERSION_MAJOR).24 -LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2 -LIBUSB_SITE = https://github.com/libusb/libusb/releases/download/v$(LIBUSB_VERSION) -LIBUSB_LICENSE = LGPL-2.1+ -LIBUSB_LICENSE_FILES = COPYING -LIBUSB_CPE_ID_VENDOR = libusb -LIBUSB_DEPENDENCIES = host-pkgconf -LIBUSB_INSTALL_STAGING = YES - -# Avoid the discovery of udev for the host variant -HOST_LIBUSB_CONF_OPTS = --disable-udev -HOST_LIBUSB_DEPENDENCIES = host-pkgconf - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -LIBUSB_DEPENDENCIES += udev -else -LIBUSB_CONF_OPTS += --disable-udev -endif - -ifeq ($(BR2_PACKAGE_LIBUSB_EXAMPLES),y) -LIBUSB_CONF_OPTS += --enable-examples-build -define LIBUSB_INSTALL_TARGET_EXAMPLES - $(foreach example,listdevs xusb fxload hotplugtest testlibusb dpfp dpfp_threaded sam3u_benchmark, - $(INSTALL) -D -m0755 $(@D)/examples/$(example) $(TARGET_DIR)/usr/bin/$(example) - ) -endef -LIBUSB_POST_INSTALL_TARGET_HOOKS += LIBUSB_INSTALL_TARGET_EXAMPLES -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libuv/libuv.hash b/buildroot-2021.05/package/libuv/libuv.hash deleted file mode 100644 index c682affa..00000000 --- a/buildroot-2021.05/package/libuv/libuv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 70fe1c9ba4f2c509e8166c0ca2351000237da573bb6c82092339207a9715ba6b libuv-1.40.0.tar.gz -sha256 6d20216ae022fbeed23916f48508fd807ece3d8464992330643b0e64e5c0c24b LICENSE diff --git a/buildroot-2021.05/package/libuv/libuv.mk b/buildroot-2021.05/package/libuv/libuv.mk deleted file mode 100644 index 403a0490..00000000 --- a/buildroot-2021.05/package/libuv/libuv.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# libuv -# -################################################################################ - -# When bumping libuv, check if a new version of uvw is available -# and bump it too. -LIBUV_VERSION = 1.40.0 -LIBUV_SITE = $(call github,libuv,libuv,v$(LIBUV_VERSION)) -LIBUV_DEPENDENCIES = host-pkgconf -LIBUV_INSTALL_STAGING = YES -LIBUV_AUTORECONF = YES -LIBUV_LICENSE = BSD-2-Clause, BSD-3-Clause, ISC, MIT -LIBUV_LICENSE_FILES = LICENSE -LIBUV_CPE_ID_VENDOR = libuv - -# Upstream needs tests to be run sequentially. This is the default in -# automake 1.11 and before, but not starting in 1.12. To maintain -# sequentiality in 1.12 and later, the automake option 'serial-tests' -# must be used, Unfortunately, it is not recognised by 1.11 and -# before. So upstream only adds it conditionally. We use automake -# 1.14, so we need it. -define LIBUV_FIXUP_AUTOGEN - echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \ - >$(@D)/m4/libuv-extra-automake-flags.m4 -endef -LIBUV_POST_PATCH_HOOKS += LIBUV_FIXUP_AUTOGEN - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libv4l/0001-keymap.h-add-missing-includes-to-fix-musl-build.patch b/buildroot-2021.05/package/libv4l/0001-keymap.h-add-missing-includes-to-fix-musl-build.patch deleted file mode 100644 index 238f8fc3..00000000 --- a/buildroot-2021.05/package/libv4l/0001-keymap.h-add-missing-includes-to-fix-musl-build.patch +++ /dev/null @@ -1,68 +0,0 @@ -From baba68cdcb44fc11d0ba8ce2c13eb5b06bbd9b33 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Wed, 30 Oct 2019 07:15:23 +0100 -Subject: [PATCH] keymap.h: add missing includes to fix musl build - -Needed to fix these build errors: - -In file included from keymap.c:13:0: -keymap.h:23:2: error: unknown type name 'u_int32_t' - u_int32_t scancode; - -keymap.h:36:1: error: unknown type name 'error_t' - error_t parse_keymap(char *fname, struct keymap **keymap, bool verbose); - -Signed-off-by: Bernd Kuhls ---- -Patch was not sent upstream due to broken mailing list setup: - -: host vger.kernel.org[209.132.180.67] said: 553 - 5.7.1 Hello [xx.xx.xx.xx], for your MAIL FROM address - policy analysis reported: Your address is not - liked source for email (in reply to MAIL FROM command) - -Hello [xx.xx.xx.xx], for your MAIL FROM address - policy analysis reported: Your address is not liked source for email - - utils/common/keymap.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/utils/common/keymap.h b/utils/common/keymap.h -index f2b29632..bb1edce9 100644 ---- a/utils/common/keymap.h -+++ b/utils/common/keymap.h -@@ -1,4 +1,8 @@ - /* SPDX-License-Identifier: GPL-2.0 */ -+ -+#include -+#include -+ - #ifndef __KEYMAP_H - #define __KEYMAP_H - -diff -uNr v4l-utils-1.18.0.orig/utils/ir-ctl/keymap.h v4l-utils-1.18.0/utils/ir-ctl/keymap.h ---- v4l-utils-1.18.0.orig/utils/ir-ctl/keymap.h 2019-09-22 11:22:54.000000000 +0200 -+++ v4l-utils-1.18.0/utils/ir-ctl/keymap.h 2019-10-30 07:06:18.250548011 +0100 -@@ -1,4 +1,8 @@ - /* SPDX-License-Identifier: GPL-2.0 */ -+ -+#include -+#include -+ - #ifndef __KEYMAP_H - #define __KEYMAP_H - -diff -uNr v4l-utils-1.18.0.orig/utils/keytable/keymap.h v4l-utils-1.18.0/utils/keytable/keymap.h ---- v4l-utils-1.18.0.orig/utils/keytable/keymap.h 2019-09-22 11:22:54.000000000 +0200 -+++ v4l-utils-1.18.0/utils/keytable/keymap.h 2019-10-30 07:06:56.218816126 +0100 -@@ -1,4 +1,8 @@ - /* SPDX-License-Identifier: GPL-2.0 */ -+ -+#include -+#include -+ - #ifndef __KEYMAP_H - #define __KEYMAP_H - --- -2.20.1 diff --git a/buildroot-2021.05/package/libv4l/Config.in b/buildroot-2021.05/package/libv4l/Config.in deleted file mode 100644 index 57ddde1d..00000000 --- a/buildroot-2021.05/package/libv4l/Config.in +++ /dev/null @@ -1,42 +0,0 @@ -config BR2_PACKAGE_LIBV4L - bool "libv4l" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - libv4l is a collection of libraries which adds a thin - abstraction layer on top of video4linux2 devices. libv4l - consists of 3 different libraries: libv4lconvert, libv4l1 and - libv4l2. - - http://linuxtv.org/wiki/index.php/V4l-utils - -if BR2_PACKAGE_LIBV4L - -comment "libv4l JPEG support not enabled" - depends on !BR2_PACKAGE_JPEG - -config BR2_PACKAGE_LIBV4L_UTILS - bool "v4l-utils tools" - help - v4l-utils is a collection of various video4linux and DVB - utilities. - Enable this if you want to build the following tools: - - cx18-ctl - - dvb-fe-tool, dvbv5-zap, dvbv5-scan, dvb-format-convert - - decode_tm6000 - - ir-keytable - - media-ctl - - v4l2-compliance - - v4l2-ctl, cx18-ctl, ivtv-ctl - - v4l2-sysfs-path - - rds-ctl - - qv4l2 (if Qt is enabled) - -endif - -comment "libv4l needs a toolchain w/ threads, C++ and headers >= 3.0" - depends on !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 diff --git a/buildroot-2021.05/package/libv4l/libv4l.hash b/buildroot-2021.05/package/libv4l/libv4l.hash deleted file mode 100644 index e45dd576..00000000 --- a/buildroot-2021.05/package/libv4l/libv4l.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Locally calculated after checking signature -# https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.20.0.tar.bz2.asc -# with key 05D0169C26E41593418129DF199A64FADFB500FF -sha256 956118713f7ccb405c55c7088a6a2490c32d54300dd9a30d8d5008c28d3726f7 v4l-utils-1.20.0.tar.bz2 - -# Locally calculated -sha256 391e4da1c54a422a78d83be7bf84b2dfb8bacdd8ad256fa4374e128655584a8a COPYING -sha256 5a7f623a50e384aaf6d2ced068339ddf93d0a50d3a0ecbe86f125b07804ecc78 COPYING.libv4l -sha256 34229b5aadfb768d0d083987cba54203a920904a3ec8320823c6125b9831acd1 lib/libv4l1/libv4l1-kernelcode-license.txt diff --git a/buildroot-2021.05/package/libv4l/libv4l.mk b/buildroot-2021.05/package/libv4l/libv4l.mk deleted file mode 100644 index 7b61823c..00000000 --- a/buildroot-2021.05/package/libv4l/libv4l.mk +++ /dev/null @@ -1,87 +0,0 @@ -################################################################################ -# -# libv4l -# -################################################################################ - -LIBV4L_VERSION = 1.20.0 -LIBV4L_SOURCE = v4l-utils-$(LIBV4L_VERSION).tar.bz2 -LIBV4L_SITE = https://linuxtv.org/downloads/v4l-utils -LIBV4L_INSTALL_STAGING = YES -LIBV4L_DEPENDENCIES = host-pkgconf -LIBV4L_CONF_OPTS = --disable-doxygen-doc --disable-qvidcap -# needed to get utils/qv4l link flags right -LIBV4L_AUTORECONF = YES -# add host-gettext for AM_ICONV macro -LIBV4L_DEPENDENCIES += host-gettext - -# fix uclibc-ng configure/compile -LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' - -# v4l-utils components have different licences, see v4l-utils.spec for details -LIBV4L_LICENSE = GPL-2.0+ (utilities), LGPL-2.1+ (libraries) -LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -LIBV4L_DEPENDENCIES += alsa-lib -endif - -ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -LIBV4L_DEPENDENCIES += argp-standalone -LIBV4L_LIBS += -largp -endif - -LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) - -ifeq ($(BR2_PACKAGE_JPEG),y) -LIBV4L_DEPENDENCIES += jpeg -LIBV4L_CONF_OPTS += --with-jpeg -else -LIBV4L_CONF_OPTS += --without-jpeg -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) -LIBV4L_DEPENDENCIES += libgl -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -LIBV4L_CONF_OPTS += --with-udevdir=/usr/lib/udev -LIBV4L_DEPENDENCIES += udev -endif - -ifeq ($(BR2_PACKAGE_LIBGLU),y) -LIBV4L_DEPENDENCIES += libglu -endif - -ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y) -LIBV4L_CONF_OPTS += --enable-v4l-utils -LIBV4L_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) - -# IR BPF decoder support needs toolchain with linux-headers >= 3.18 -# libelf and clang support -LIBV4L_CONF_OPTS += --disable-bpf - -ifeq ($(BR2_PACKAGE_QT5BASE)$(BR2_PACKAGE_QT5BASE_GUI)$(BR2_PACKAGE_QT5BASE_WIDGETS),yyy) -LIBV4L_CONF_OPTS += --enable-qv4l2 -LIBV4L_DEPENDENCIES += qt5base -# protect against host version detection of moc-qt5/rcc-qt5/uic-qt5 -LIBV4L_CONF_ENV += \ - ac_cv_prog_MOC=$(HOST_DIR)/bin/moc \ - ac_cv_prog_RCC=$(HOST_DIR)/bin/rcc \ - ac_cv_prog_UIC=$(HOST_DIR)/bin/uic -# qt5 needs c++11 (since qt-5.7) -LIBV4L_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" -else -LIBV4L_CONF_OPTS += --disable-qv4l2 -endif -else -LIBV4L_CONF_OPTS += --disable-v4l-utils -endif - -ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) -LIBV4L_DEPENDENCIES += sdl2_image -endif - -LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libva-utils/libva-utils.hash b/buildroot-2021.05/package/libva-utils/libva-utils.hash deleted file mode 100644 index 23d1c767..00000000 --- a/buildroot-2021.05/package/libva-utils/libva-utils.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/intel/libva-utils/releases/download/2.11.1/libva-utils-2.11.1.tar.bz2.sha1sum -sha1 89988122f76e8c0b3645006b60dfdbd9a3ae2e8c libva-utils-2.11.1.tar.bz2 -# Locally computed -sha256 9e5a6138869c79bdc0cd0598b6a6763110360f301e7294e5270704cb38bf53fb libva-utils-2.11.1.tar.bz2 -sha256 c6220c9f87832c27abcb8a32eafdd2823e13ce146b3ea63d5deae2a76798ef50 COPYING diff --git a/buildroot-2021.05/package/libva-utils/libva-utils.mk b/buildroot-2021.05/package/libva-utils/libva-utils.mk deleted file mode 100644 index 181af303..00000000 --- a/buildroot-2021.05/package/libva-utils/libva-utils.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# libva-utils -# -################################################################################ - -LIBVA_UTILS_VERSION = 2.11.1 -LIBVA_UTILS_SOURCE = libva-utils-$(LIBVA_UTILS_VERSION).tar.bz2 -LIBVA_UTILS_SITE = https://github.com/intel/libva-utils/releases/download/$(LIBVA_UTILS_VERSION) -LIBVA_UTILS_LICENSE = MIT -LIBVA_UTILS_LICENSE_FILES = COPYING -LIBVA_UTILS_DEPENDENCIES = host-pkgconf libva - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libva/libva.hash b/buildroot-2021.05/package/libva/libva.hash deleted file mode 100644 index 60ab284d..00000000 --- a/buildroot-2021.05/package/libva/libva.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/intel/libva/releases/download/2.11.0/libva-2.11.0.tar.bz2.sha1sum -sha1 35baa7667e8a51ca3d481786095469d38cacfb2f libva-2.11.0.tar.bz2 -# Locally computed -sha256 6e361117038b571ad4741d38c9280db8c140b17e76e8c01fc7a4d608d3ed7d5d libva-2.11.0.tar.bz2 -sha256 c86a782ee845b52472dae9b9d79fb915d333628ac0efe49cdce63644814931de COPYING diff --git a/buildroot-2021.05/package/libva/libva.mk b/buildroot-2021.05/package/libva/libva.mk deleted file mode 100644 index f24a5044..00000000 --- a/buildroot-2021.05/package/libva/libva.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# libva -# -################################################################################ - -LIBVA_VERSION = 2.11.0 -LIBVA_SOURCE = libva-$(LIBVA_VERSION).tar.bz2 -LIBVA_SITE = https://github.com/intel/libva/releases/download/$(LIBVA_VERSION) -LIBVA_LICENSE = MIT -LIBVA_LICENSE_FILES = COPYING -LIBVA_INSTALL_STAGING = YES -LIBVA_DEPENDENCIES = host-pkgconf libdrm - -# libdrm is a hard-dependency -LIBVA_CONF_OPTS = \ - --enable-drm \ - --with-drivers-path="/usr/lib/va" - -ifeq ($(BR2_PACKAGE_XORG7),y) -LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes -LIBVA_CONF_OPTS += --enable-x11 -ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) -LIBVA_DEPENDENCIES += libgl -LIBVA_CONF_OPTS += --enable-glx -endif -else -LIBVA_CONF_OPTS += --disable-glx --disable-x11 -endif - -ifeq ($(BR2_PACKAGE_WAYLAND),y) -LIBVA_DEPENDENCIES += wayland -LIBVA_CONF_ENV += ac_cv_path_WAYLAND_SCANNER=$(HOST_DIR)/usr/bin/wayland-scanner -LIBVA_CONF_OPTS += --enable-wayland -else -LIBVA_CONF_OPTS += --disable-wayland -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libvdpau/libvdpau.hash b/buildroot-2021.05/package/libvdpau/libvdpau.hash deleted file mode 100644 index 0833d41b..00000000 --- a/buildroot-2021.05/package/libvdpau/libvdpau.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2019-August/003021.html -sha256 b5a52eeac9417edbc396f26c40591ba5df0cd18285f68d84614ef8f06196e50e libvdpau-1.3.tar.bz2 -sha512 c06c23062816e8b207d38d9d53df43a1b193bb9836b48bd6d79a63d76522e87d383c446285b9877fe9c99faa0d290da8a49ccbb58eefa138cc38d0929a8e1330 libvdpau-1.3.tar.bz2 -# Locally computed -sha256 ce4af7294872ff07f6e82ae5f1f5eba926215b1e2fb6d55d64759de082458d61 COPYING diff --git a/buildroot-2021.05/package/libvdpau/libvdpau.mk b/buildroot-2021.05/package/libvdpau/libvdpau.mk deleted file mode 100644 index 63aecaf7..00000000 --- a/buildroot-2021.05/package/libvdpau/libvdpau.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# libvdpau -# -################################################################################ - -LIBVDPAU_VERSION = 1.3 -LIBVDPAU_SOURCE = libvdpau-$(LIBVDPAU_VERSION).tar.bz2 -LIBVDPAU_SITE = \ - https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$(LIBVDPAU_VERSION) -LIBVDPAU_LICENSE = MIT -LIBVDPAU_LICENSE_FILES = COPYING -LIBVDPAU_INSTALL_STAGING = YES - -LIBVDPAU_DEPENDENCIES = host-pkgconf xlib_libX11 xlib_libXext - -LIBVDPAU_CONF_OPTS = \ - -Ddocumentation=false \ - -Dmoduledir=/usr/lib/vdpau - -ifeq ($(BR2_PACKAGE_XORGPROTO),y) -LIBVDPAU_DEPENDENCIES += xorgproto -LIBVDPAU_CONF_OPTS += -Ddri2=true -else -LIBVDPAU_CONF_OPTS += -Ddri2=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libvncserver/Config.in b/buildroot-2021.05/package/libvncserver/Config.in deleted file mode 100644 index 2d5bf8a1..00000000 --- a/buildroot-2021.05/package/libvncserver/Config.in +++ /dev/null @@ -1,30 +0,0 @@ -config BR2_PACKAGE_LIBVNCSERVER - bool "libvncserver" - depends on BR2_USE_MMU # VNCommand.c uses fork() - # binutils issue (bad expression) - depends on !BR2_nios2 - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LZO - help - libvncserver is a VNC server/client library. - - https://libvnc.github.io/ - -if BR2_PACKAGE_LIBVNCSERVER - -config BR2_PACKAGE_LIBVNCSERVER_TIGHTPNG - bool "TightPNG encoding support" - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBPNG - help - TightPNG encoding speeds up HTML5 based VNC clients like - noVNC. - - http://wiki.qemu.org/VNC_Tight_PNG - -endif - -comment "libvncserver needs a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on !BR2_nios - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libvpx/libvpx.hash b/buildroot-2021.05/package/libvpx/libvpx.hash deleted file mode 100644 index 5b956883..00000000 --- a/buildroot-2021.05/package/libvpx/libvpx.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 85803ccbdbdd7a3b03d930187cb055f1353596969c1f92ebec2db839fa4f834a libvpx-1.10.0.tar.gz -sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE -sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS diff --git a/buildroot-2021.05/package/libvpx/libvpx.mk b/buildroot-2021.05/package/libvpx/libvpx.mk deleted file mode 100644 index 6ad558bc..00000000 --- a/buildroot-2021.05/package/libvpx/libvpx.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# libvpx -# -################################################################################ - -LIBVPX_VERSION = 1.10.0 -LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION)) -LIBVPX_LICENSE = BSD-3-Clause -LIBVPX_LICENSE_FILES = LICENSE PATENTS -LIBVPX_CPE_ID_VENDOR = webmproject -LIBVPX_INSTALL_STAGING = YES - -# ld is being used with cc options. therefore, pretend ld is cc. -LIBVPX_CONF_ENV = \ - LD="$(TARGET_CC)" \ - CROSS=$(GNU_TARGET_NAME) - -LIBVPX_CONF_OPTS = \ - --disable-examples \ - --disable-docs \ - --disable-unit-tests - -# vp9/ratectrl_rtc.cc -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -LIBVPX_CONF_OPTS += --enable-vp9-encoder -else -LIBVPX_CONF_OPTS += --disable-vp9-encoder -endif - -# This is not a true autotools package. It is based on the ffmpeg build system -define LIBVPX_CONFIGURE_CMDS - (cd $(LIBVPX_SRCDIR) && rm -rf config.cache && \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - $(LIBVPX_CONF_ENV) \ - ./configure \ - --target=generic-gnu \ - --enable-pic \ - --prefix=/usr \ - $(SHARED_STATIC_LIBS_OPTS) \ - $(LIBVPX_CONF_OPTS) \ - ) -endef - -define LIBVPX_BUILD_CMDS - $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) -C $(@D) all -endef - -define LIBVPX_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D) install -endef - -define LIBVPX_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libwpe/0001-meson-Use-a-partial-dependency-to-pass-EGL-module-fl.patch b/buildroot-2021.05/package/libwpe/0001-meson-Use-a-partial-dependency-to-pass-EGL-module-fl.patch deleted file mode 100644 index e74ebe12..00000000 --- a/buildroot-2021.05/package/libwpe/0001-meson-Use-a-partial-dependency-to-pass-EGL-module-fl.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 81bfedfa02fd864f3e4b295091d49c3eb20bb372 Mon Sep 17 00:00:00 2001 -From: Adrian Perez de Castro -Date: Wed, 16 Sep 2020 00:01:37 +0300 -Subject: [PATCH] meson: Use a partial dependency to pass EGL module flags - -Make Meson try to always find an "egl" dependency, if found extract -the include directories and compiler flags from ir using a partial -dependency, otherwise check that at least EGL/eglplatform.h is -available when the pkg-config module is not found. - -Fixes #70 - -Signed-off-by: Adrian Perez de Castro -[Upstrem status: https://github.com/WebPlatformForEmbedded/libwpe/pull/71] - ---- - meson.build | 12 ++++++++++-- - 1 file changed, 10 insertions(+), 2 deletions(-) - -diff --git a/meson.build b/meson.build -index 5c88aed..a05f4ab 100644 ---- a/meson.build -+++ b/meson.build -@@ -57,8 +57,16 @@ dependencies = [ - ] - - cc = meson.get_compiler('c') --if not cc.has_header('EGL/eglplatform.h') -- dependencies += dependency('egl') -+egl_dep = dependency('egl', required: false) -+if egl_dep.found() -+ dependencies += egl_dep.partial_dependency( -+ compile_args: true, -+ includes: true, -+ ) -+else -+ assert(cc.has_header('EGL/eglplatform.h'), -+ 'Required heaer not found' -+ ) - endif - - if not cc.has_function('dlopen') --- -2.28.0 - diff --git a/buildroot-2021.05/package/libwpe/libwpe.hash b/buildroot-2021.05/package/libwpe/libwpe.hash deleted file mode 100644 index 36cdf566..00000000 --- a/buildroot-2021.05/package/libwpe/libwpe.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://wpewebkit.org/releases/libwpe-1.8.0.tar.xz.sums -md5 328ea59dd8dee9107a49353536d00844 libwpe-1.8.0.tar.xz -sha1 3c893b1e8118a06f082d98373e279a8f8e33750d libwpe-1.8.0.tar.xz -sha256 a6f00a7d091cbd4db57fe7ee3b4c12c6350921d654ed79812800a26c888481d2 libwpe-1.8.0.tar.xz - -# Hashes for license files: -sha256 35bef295cedbbf179eaee14328002587a0e7dc08ebf3f15ea080a6f2815f0d7b COPYING diff --git a/buildroot-2021.05/package/libwpe/libwpe.mk b/buildroot-2021.05/package/libwpe/libwpe.mk deleted file mode 100644 index 5843e84d..00000000 --- a/buildroot-2021.05/package/libwpe/libwpe.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# libwpe -# -################################################################################ - -LIBWPE_VERSION = 1.8.0 -LIBWPE_SITE = https://wpewebkit.org/releases -LIBWPE_SOURCE = libwpe-$(LIBWPE_VERSION).tar.xz -LIBWPE_INSTALL_STAGING = YES -LIBWPE_LICENSE = BSD-2-Clause -LIBWPE_LICENSE_FILES = COPYING -LIBWPE_DEPENDENCIES = libegl libxkbcommon - -LIBWPE_CFLAGS = $(TARGET_CFLAGS) -LIBWPE_CXXFLAGS = $(TARGET_CXXFLAGS) - -# Workaround for https://github.com/raspberrypi/userland/issues/316 -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) -LIBWPE_CFLAGS += -D_GNU_SOURCE -LIBWPE_CXXFLAGS += -D_GNU_SOURCE -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libxcrypt/libxcrypt.hash b/buildroot-2021.05/package/libxcrypt/libxcrypt.hash deleted file mode 100644 index bf187413..00000000 --- a/buildroot-2021.05/package/libxcrypt/libxcrypt.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 3801f0263a8596b15ec466343fc1fdc4ad4ec7416c51e038a3528fd47f3be01a libxcrypt-4.4.18.tar.gz -sha256 f8198fcc4f002bf54512bac2e68e1e3f04af7d105f4f4f98d7d22cb110e04715 LICENSING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/libxcrypt/libxcrypt.mk b/buildroot-2021.05/package/libxcrypt/libxcrypt.mk deleted file mode 100644 index 3cf0555a..00000000 --- a/buildroot-2021.05/package/libxcrypt/libxcrypt.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# libxcrypt -# -################################################################################ - -LIBXCRYPT_VERSION = 4.4.18 -LIBXCRYPT_SITE = $(call github,besser82,libxcrypt,v$(LIBXCRYPT_VERSION)) -LIBXCRYPT_LICENSE = LGPL-2.1+ -LIBXCRYPT_LICENSE_FILES = LICENSING COPYING.LIB -LIBXCRYPT_INSTALL_STAGING = YES -LIBXCRYPT_AUTORECONF = YES - -# Some warnings turn into errors with some sensitive compilers -LIBXCRYPT_CONF_OPTS = --disable-werror - -# Disable obsolete and unsecure API -LIBXCRYPT_CONF_OPTS += --disable-obsolete_api - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libxkbcommon/Config.in b/buildroot-2021.05/package/libxkbcommon/Config.in deleted file mode 100644 index 4da12897..00000000 --- a/buildroot-2021.05/package/libxkbcommon/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_LIBXKBCOMMON - bool "libxkbcommon" - select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XORG7 - help - xkbcommon is a keymap compiler and support library which - processes a reduced subset of keymaps as defined by the XKB - specification. - - http://xkbcommon.org/ diff --git a/buildroot-2021.05/package/libxkbcommon/libxkbcommon.hash b/buildroot-2021.05/package/libxkbcommon/libxkbcommon.hash deleted file mode 100644 index 40cad4d0..00000000 --- a/buildroot-2021.05/package/libxkbcommon/libxkbcommon.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2021-March/041747.html -sha256 412cfcca596f92914ea1a66ad244804d73a5ff20b6d86459951e7ad20576c246 libxkbcommon-1.1.0.tar.xz - -# License file: -sha256 086caee279449369d41c1157911ec7696e707b93feba7280de757d3c470b2dfb LICENSE diff --git a/buildroot-2021.05/package/libxkbcommon/libxkbcommon.mk b/buildroot-2021.05/package/libxkbcommon/libxkbcommon.mk deleted file mode 100644 index 8780706c..00000000 --- a/buildroot-2021.05/package/libxkbcommon/libxkbcommon.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# libxkbcommon -# -################################################################################ - -LIBXKBCOMMON_VERSION = 1.1.0 -LIBXKBCOMMON_SITE = http://xkbcommon.org/download -LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz -LIBXKBCOMMON_LICENSE = MIT/X11 -LIBXKBCOMMON_LICENSE_FILES = LICENSE -LIBXKBCOMMON_INSTALL_STAGING = YES -LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex -LIBXKBCOMMON_CONF_OPTS = \ - -Denable-docs=false \ - -Denable-wayland=false \ - -Denable-xkbregistry=false - -ifeq ($(BR2_PACKAGE_XORG7),y) -LIBXKBCOMMON_CONF_OPTS += -Denable-x11=true -LIBXKBCOMMON_DEPENDENCIES += libxcb -else -LIBXKBCOMMON_CONF_OPTS += -Denable-x11=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libxml2/libxml2.hash b/buildroot-2021.05/package/libxml2/libxml2.hash deleted file mode 100644 index ce6c3c48..00000000 --- a/buildroot-2021.05/package/libxml2/libxml2.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 c8d6681e38c56f172892c85ddc0852e1fd4b53b4209e7f4ebf17f7e2eae71d92 libxml2-2.9.12.tar.gz -# License files, locally calculated -sha256 c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd COPYING diff --git a/buildroot-2021.05/package/libxml2/libxml2.mk b/buildroot-2021.05/package/libxml2/libxml2.mk deleted file mode 100644 index 5d688aca..00000000 --- a/buildroot-2021.05/package/libxml2/libxml2.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# libxml2 -# -################################################################################ - -LIBXML2_VERSION = 2.9.12 -LIBXML2_SITE = http://xmlsoft.org/sources -LIBXML2_INSTALL_STAGING = YES -LIBXML2_LICENSE = MIT -LIBXML2_LICENSE_FILES = COPYING -LIBXML2_CPE_ID_VENDOR = xmlsoft -LIBXML2_CONFIG_SCRIPTS = xml2-config - -# relocation truncated to fit: R_68K_GOT16O -ifeq ($(BR2_m68k_cf),y) -LIBXML2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" -endif - -LIBXML2_CONF_OPTS = --with-gnu-ld --without-python --without-debug - -HOST_LIBXML2_DEPENDENCIES = host-pkgconf -LIBXML2_DEPENDENCIES = host-pkgconf - -HOST_LIBXML2_CONF_OPTS = --without-zlib --without-lzma --without-python - -ifeq ($(BR2_PACKAGE_ZLIB),y) -LIBXML2_DEPENDENCIES += zlib -LIBXML2_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr -else -LIBXML2_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -LIBXML2_DEPENDENCIES += xz -LIBXML2_CONF_OPTS += --with-lzma -else -LIBXML2_CONF_OPTS += --without-lzma -endif - -LIBXML2_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) - -ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y) -LIBXML2_CONF_OPTS += --with-iconv -else -LIBXML2_CONF_OPTS += --without-iconv -endif - -define LIBXML2_CLEANUP_XML2CONF - rm -f $(TARGET_DIR)/usr/lib/xml2Conf.sh -endef -LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_CLEANUP_XML2CONF - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) - -# libxml2 for the host -LIBXML2_HOST_BINARY = $(HOST_DIR)/bin/xmllint diff --git a/buildroot-2021.05/package/libxmlpp/Config.in b/buildroot-2021.05/package/libxmlpp/Config.in deleted file mode 100644 index 3249a843..00000000 --- a/buildroot-2021.05/package/libxmlpp/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_LIBXMLPP - bool "libxml++" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR # glibmm -> libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glibmm -> libglib2 - depends on BR2_USE_MMU # glibmm -> libglib2 - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_GLIBMM - help - libxml++ is a C++ wrapper for the libxml XML parser library. - - https://libxmlplusplus.github.io/libxmlplusplus/ - -comment "libxml++ needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ - ||!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/libxmlpp/libxmlpp.hash b/buildroot-2021.05/package/libxmlpp/libxmlpp.hash deleted file mode 100644 index 7a59880e..00000000 --- a/buildroot-2021.05/package/libxmlpp/libxmlpp.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/GNOME/sources/libxml++/3.2/libxml++-3.2.0.sha256sum -sha256 b786fae7fd7820d356698069a787d107995c3efcbef50d8f4efd3766ab768e4f libxml++-3.2.0.tar.xz - -# Hash for license file -sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING diff --git a/buildroot-2021.05/package/libxmlpp/libxmlpp.mk b/buildroot-2021.05/package/libxmlpp/libxmlpp.mk deleted file mode 100644 index 98cba2a5..00000000 --- a/buildroot-2021.05/package/libxmlpp/libxmlpp.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# libxmlpp -# -################################################################################ - -LIBXMLPP_VERSION_MAJOR = 3.2 -LIBXMLPP_VERSION = $(LIBXMLPP_VERSION_MAJOR).0 -LIBXMLPP_LICENSE = LGPL-2.1 (library), LGPL-2.0+ (examples) -LIBXMLPP_LICENSE_FILES = COPYING -LIBXMLPP_SOURCE = libxml++-$(LIBXMLPP_VERSION).tar.xz -LIBXMLPP_SITE = http://ftp.gnome.org/pub/GNOME/sources/libxml++/$(LIBXMLPP_VERSION_MAJOR) -LIBXMLPP_INSTALL_STAGING = YES -LIBXMLPP_DEPENDENCIES = libxml2 glibmm host-pkgconf - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libxmlrpc/0001-use-correct-curl-config.patch b/buildroot-2021.05/package/libxmlrpc/0001-use-correct-curl-config.patch deleted file mode 100644 index f2f1c557..00000000 --- a/buildroot-2021.05/package/libxmlrpc/0001-use-correct-curl-config.patch +++ /dev/null @@ -1,70 +0,0 @@ -Use correct curl-config program - -Instead of calling directly curl-config in src/Makefile (which ends up -calling the wrong curl-config: the one in the PATH instead of the one -pointed at by the environment variables at configure time), let's -define a CURL_CONFIG variable that contains the path to the proper -curl-config program, and use it where appropriate. - -Signed-off-by: Thomas Petazzoni - -Index: b/src/Makefile -=================================================================== ---- a/src/Makefile -+++ b/src/Makefile -@@ -57,7 +57,7 @@ - TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/xmlrpc_curl_transport - TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curltransaction - TRANSPORT_MODS += $(BLDDIR)/lib/curl_transport/curlmulti -- TRANSPORT_LIBDEP += $(shell curl-config --libs) -+ TRANSPORT_LIBDEP += $(shell $CURL_CONFIG --libs) - TRANSPORT_INCLUDES += -Isrcdir/lib/curl_transport - endif - ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes) -Index: b/config.mk.in -=================================================================== ---- a/config.mk.in -+++ b/config.mk.in -@@ -32,6 +32,7 @@ - LSOCKET = @LSOCKET@ - WININET_LDADD = @WININET_LDADD@ - WININET_LIBDIR = @WININET_LIBDIR@ -+CURL_CONFIG = @CURL_CONFIG@ - CURL_LDADD = @CURL_LDADD@ - CURL_LIBDIR = @CURL_LIBDIR@ - LIBWWW_LDADD = @LIBWWW_LDADD@ -Index: b/configure.in -=================================================================== ---- a/configure.in -+++ b/configure.in -@@ -550,6 +550,8 @@ - dnl So we don't do any check now. If we find out there's a problem with - dnl older Curls, we will revisit that. - -+ AC_SUBST(CURL_CONFIG) -+ - CURL_LDADD=$($CURL_CONFIG --libs) - AC_SUBST(CURL_LDADD) - -Index: b/lib/curl_transport/Makefile -=================================================================== ---- a/lib/curl_transport/Makefile -+++ b/lib/curl_transport/Makefile -@@ -29,7 +29,7 @@ - - $(SRCDIR)/common.mk: srcdir blddir - --CURL_VERSION := $(shell curl-config --vernum) -+CURL_VERSION := $(shell $(CURL_CONFIG) --vernum) - - # Some time at or before Curl 7.12, became an empty file - # (no-op). Some time after Curl 7.18, ceased to exist. -@@ -43,7 +43,7 @@ - CFLAGS_LOCAL += -DNEED_CURL_TYPES_H - endif - --CURL_INCLUDES := $(shell curl-config --cflags) -+CURL_INCLUDES := $(shell $(CURL_CONFIG) --cflags) - # We expect that curl-config --cflags just gives us -I options, because - # we need just the -I options for 'make dep'. Plus, it's scary to think - # of what any other compiler flag would do to our compile. diff --git a/buildroot-2021.05/package/libxmlrpc/Config.in b/buildroot-2021.05/package/libxmlrpc/Config.in deleted file mode 100644 index d24a7916..00000000 --- a/buildroot-2021.05/package/libxmlrpc/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_LIBXMLRPC - bool "libxmlrpc" - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBCURL - help - XML-RPC is a quick-and-easy way to make procedure calls over - the Internet. It converts the procedure call into an XML - document, sends it to a remote server using HTTP, and gets - back the response as XML. - - http://xmlrpc-c.sourceforge.net/ - -comment "libxmlrpc needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libxmlrpc/libxmlrpc.hash b/buildroot-2021.05/package/libxmlrpc/libxmlrpc.hash deleted file mode 100644 index 13e3b0b5..00000000 --- a/buildroot-2021.05/package/libxmlrpc/libxmlrpc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 06dcd87d9c88374559369ffbe83b3139cf41418c1a2d03f20e08808085f89fd0 xmlrpc-c-1.51.06.tgz -sha256 db7a6d3f187b218c3534010a83424c6bcdef88e6a0b6b1aa3a8762238bd642e6 doc/COPYING diff --git a/buildroot-2021.05/package/libxmlrpc/libxmlrpc.mk b/buildroot-2021.05/package/libxmlrpc/libxmlrpc.mk deleted file mode 100644 index c74d8a85..00000000 --- a/buildroot-2021.05/package/libxmlrpc/libxmlrpc.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# libxmlrpc -# -################################################################################ - -LIBXMLRPC_VERSION = 1.51.06 -LIBXMLRPC_SOURCE = xmlrpc-c-$(LIBXMLRPC_VERSION).tgz -LIBXMLRPC_SITE = http://downloads.sourceforge.net/project/xmlrpc-c/Xmlrpc-c%20Super%20Stable/$(LIBXMLRPC_VERSION) -LIBXMLRPC_LICENSE = BSD-3-Clause (xml-rpc main code and abyss web server), BSD like (lib/expat), Python 1.5.2 license (parts of xmlrpc_base64.c) -LIBXMLRPC_LICENSE_FILES = doc/COPYING -LIBXMLRPC_INSTALL_STAGING = YES -LIBXMLRPC_DEPENDENCIES = libcurl host-autoconf -LIBXMLRPC_CONFIG_SCRIPTS = xmlrpc-c-config -LIBXMLRPC_MAKE = $(MAKE1) - -# Using autoconf, not automake, so we cannot use AUTORECONF = YES. -define LIBXMLRPC_RUN_AUTOCONF - cd $(@D); $(AUTOCONF) -endef - -LIBXMLRPC_PRE_CONFIGURE_HOOKS += LIBXMLRPC_RUN_AUTOCONF - -LIBXMLRPC_CONF_OPTS = \ - $(if $(BR2_USE_WCHAR),,ac_cv_header_wchar_h=no) \ - $(if $(BR2_INSTALL_LIBSTDCPP),,--disable-cplusplus) \ - have_curl_config=$(STAGING_DIR)/usr/bin/curl-config \ - CURL_CONFIG=$(STAGING_DIR)/usr/bin/curl-config - -# Our package uses autoconf, but not automake, so we need to pass -# those variables at compile time as well. -LIBXMLRPC_MAKE_OPTS = \ - CC_FOR_BUILD="$(HOSTCC)" \ - LD_FOR_BUILD="$(HOSTLD)" \ - CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ - LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" - -ifeq ($(BR2_STATIC_LIBS),y) -LIBXMLRPC_STATIC_OPTS = SHARED_LIB_TYPE=NONE MUST_BUILD_SHLIB=N -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBXMLRPC_DEPENDENCIES += host-pkgconf openssl -LIBXMLRPC_CONF_OPTS += --enable-abyss-openssl -else -LIBXMLRPC_CONF_OPTS += --disable-abyss-openssl -endif - -LIBXMLRPC_MAKE_OPTS += $(LIBXMLRPC_STATIC_OPTS) -LIBXMLRPC_INSTALL_STAGING_OPTS = $(LIBXMLRPC_STATIC_OPTS) \ - DESTDIR=$(STAGING_DIR) install -LIBXMLRPC_INSTALL_TARGET_OPTS = $(LIBXMLRPC_STATIC_OPTS) \ - DESTDIR=$(TARGET_DIR) install - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch b/buildroot-2021.05/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch deleted file mode 100644 index 3848dcb2..00000000 --- a/buildroot-2021.05/package/libxslt/0001-Fix-xml2-config-check-in-configure-script.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc Mon Sep 17 00:00:00 2001 -From: Nick Wellnhofer -Date: Fri, 15 Nov 2019 11:53:11 +0100 -Subject: [PATCH] Fix xml2-config check in configure script - -A 'print' option has never been supported. After a recent change to -libxml2, invalid options cause xml2-config to fail. - -[Retrieved from: -https://gitlab.gnome.org/GNOME/libxslt/-/commit/90c34c8bb90e095a8a8fe8b2ce368bd9ff1837cc] -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 3da57b18..585b9d7c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -548,7 +548,7 @@ dnl make sure xml2-config is executable, - dnl test version and init our variables - dnl - --if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs print > /dev/null 2>&1 -+if test "x$LIBXML_LIBS" = "x" && ${XML_CONFIG} --libs > /dev/null 2>&1 - then - AC_MSG_CHECKING(for libxml libraries >= $LIBXML_REQUIRED_VERSION) - XMLVERS=`$XML_CONFIG --version` --- -GitLab - diff --git a/buildroot-2021.05/package/libxslt/Config.in b/buildroot-2021.05/package/libxslt/Config.in deleted file mode 100644 index dfe5b99f..00000000 --- a/buildroot-2021.05/package/libxslt/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_LIBXSLT - bool "libxslt" - select BR2_PACKAGE_LIBXML2 - help - Install the xslt library which is used - to transform XML files to other XML files. - - XSLT is designed for use as part of XSL, - which is a stylesheet language for XML. - In addition to XSLT, XSL includes an XML vocabulary - for specifying formatting. - XSL specifies the styling of an XML document by using XSLT - to describe how the document is transformed into another - XML document that uses the formatting vocabulary. - - http://xmlsoft.org/xslt/ diff --git a/buildroot-2021.05/package/libxslt/libxslt.hash b/buildroot-2021.05/package/libxslt/libxslt.hash deleted file mode 100644 index 25aa3083..00000000 --- a/buildroot-2021.05/package/libxslt/libxslt.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f libxslt-1.1.34.tar.gz - -# Hash for license file: -sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING diff --git a/buildroot-2021.05/package/libxslt/libxslt.mk b/buildroot-2021.05/package/libxslt/libxslt.mk deleted file mode 100644 index d0f79d25..00000000 --- a/buildroot-2021.05/package/libxslt/libxslt.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# libxslt -# -################################################################################ - -LIBXSLT_VERSION = 1.1.34 -LIBXSLT_SITE = http://xmlsoft.org/sources -LIBXSLT_INSTALL_STAGING = YES -LIBXSLT_LICENSE = MIT -LIBXSLT_LICENSE_FILES = COPYING -LIBXSLT_CPE_ID_VENDOR = xmlsoft -# We're patching configure.ac -LIBXSLT_AUTORECONF = YES - -LIBXSLT_CONF_OPTS = \ - --with-gnu-ld \ - --without-debug \ - --without-python \ - --with-libxml-prefix=$(STAGING_DIR)/usr -LIBXSLT_CONFIG_SCRIPTS = xslt-config -LIBXSLT_DEPENDENCIES = host-pkgconf libxml2 - -# If we have enabled libgcrypt then use it, else disable crypto support. -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -LIBXSLT_DEPENDENCIES += libgcrypt -LIBXSLT_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config -else -LIBXSLT_CONF_OPTS += --without-crypto -endif - -HOST_LIBXSLT_CONF_OPTS = --without-debug --without-python --without-crypto - -HOST_LIBXSLT_DEPENDENCIES = host-pkgconf host-libxml2 - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libyang/Config.in b/buildroot-2021.05/package/libyang/Config.in deleted file mode 100644 index fec1160a..00000000 --- a/buildroot-2021.05/package/libyang/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_LIBYANG - bool "libyang" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_PCRE - select BR2_PACKAGE_PCRE_UCP - help - Libyang is YANG data modeling language parser and toolkit - written (and providing API) in C. - - https://github.com/CESNET/libyang - -comment "libyang needs a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libyang/libyang.hash b/buildroot-2021.05/package/libyang/libyang.hash deleted file mode 100644 index 94685cb4..00000000 --- a/buildroot-2021.05/package/libyang/libyang.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 1b736443d2c69b5d7a71ac412655e6edab0647b18f35f7bf504b0a24e06cb046 libyang-1.0.225.tar.gz -sha256 f942fe693e03e4e3ff67a351c00dc8f468a042e0d7273b0aa6bc53060b568112 LICENSE diff --git a/buildroot-2021.05/package/libyang/libyang.mk b/buildroot-2021.05/package/libyang/libyang.mk deleted file mode 100644 index ed61ec97..00000000 --- a/buildroot-2021.05/package/libyang/libyang.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# libyang -# -################################################################################ - -LIBYANG_VERSION = 1.0.225 -LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION)) -LIBYANG_LICENSE = BSD-3-Clause -LIBYANG_LICENSE_FILES = LICENSE -LIBYANG_INSTALL_STAGING = YES -LIBYANG_CPE_ID_VENDOR = cesnet -LIBYANG_SUPPORTS_IN_SOURCE_BUILD = NO -LIBYANG_DEPENDENCIES = pcre -HOST_LIBYANG_DEPENDENCIES = host-pcre - -LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF \ - -DENABLE_LYD_PRIV=ON - -HOST_LIBYANG_CONF_OPTS = \ - -DENABLE_VALGRIND_TESTS=OFF \ - -DGEN_PYTHON_BINDINGS=OFF - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/libzip/0001-Add-FindGnuTLS-cmake-from-3-17-3.patch b/buildroot-2021.05/package/libzip/0001-Add-FindGnuTLS-cmake-from-3-17-3.patch deleted file mode 100644 index 30bc2010..00000000 --- a/buildroot-2021.05/package/libzip/0001-Add-FindGnuTLS-cmake-from-3-17-3.patch +++ /dev/null @@ -1,103 +0,0 @@ -From 73f6f8ebff678a0847e6b197b574082cc285b528 Mon Sep 17 00:00:00 2001 -From: Thomas Klausner -Date: Sat, 25 Jul 2020 12:03:29 +0200 -Subject: [PATCH] Add FindGnuTLS.cmake from 3.17.3. - -Addresses #199 - -[Retrieved from: -https://github.com/nih-at/libzip/commit/73f6f8ebff678a0847e6b197b574082cc285b528] -Signed-off-by: Fabrice Fontaine ---- - cmake-compat/FindGnuTLS.cmake | 82 +++++++++++++++++++++++++++++++++++ - 1 file changed, 82 insertions(+) - create mode 100644 cmake-compat/FindGnuTLS.cmake - -diff --git a/cmake-compat/FindGnuTLS.cmake b/cmake-compat/FindGnuTLS.cmake -new file mode 100644 -index 00000000..819f0001 ---- /dev/null -+++ b/cmake-compat/FindGnuTLS.cmake -@@ -0,0 +1,82 @@ -+# Distributed under the OSI-approved BSD 3-Clause License. See accompanying -+# file Copyright.txt or https://cmake.org/licensing for details. -+ -+#[=======================================================================[.rst: -+FindGnuTLS -+---------- -+ -+Find the GNU Transport Layer Security library (gnutls) -+ -+IMPORTED Targets -+^^^^^^^^^^^^^^^^ -+ -+This module defines :prop_tgt:`IMPORTED` target ``GnuTLS::GnuTLS``, if -+gnutls has been found. -+ -+Result Variables -+^^^^^^^^^^^^^^^^ -+ -+``GNUTLS_FOUND`` -+ System has gnutls -+``GNUTLS_INCLUDE_DIR`` -+ The gnutls include directory -+``GNUTLS_LIBRARIES`` -+ The libraries needed to use gnutls -+``GNUTLS_DEFINITIONS`` -+ Compiler switches required for using gnutls -+``GNUTLS_VERSION`` -+ version of gnutls. -+#]=======================================================================] -+ -+# Note that this doesn't try to find the gnutls-extra package. -+ -+ -+if (GNUTLS_INCLUDE_DIR AND GNUTLS_LIBRARY) -+ # in cache already -+ set(gnutls_FIND_QUIETLY TRUE) -+endif () -+ -+if (NOT WIN32) -+ # try using pkg-config to get the directories and then use these values -+ # in the find_path() and find_library() calls -+ # also fills in GNUTLS_DEFINITIONS, although that isn't normally useful -+ find_package(PkgConfig QUIET) -+ PKG_CHECK_MODULES(PC_GNUTLS QUIET gnutls) -+ set(GNUTLS_DEFINITIONS ${PC_GNUTLS_CFLAGS_OTHER}) -+ set(GNUTLS_VERSION ${PC_GNUTLS_VERSION}) -+ # keep for backward compatibility -+ set(GNUTLS_VERSION_STRING ${PC_GNUTLS_VERSION}) -+endif () -+ -+find_path(GNUTLS_INCLUDE_DIR gnutls/gnutls.h -+ HINTS -+ ${PC_GNUTLS_INCLUDEDIR} -+ ${PC_GNUTLS_INCLUDE_DIRS} -+ ) -+ -+find_library(GNUTLS_LIBRARY NAMES gnutls libgnutls -+ HINTS -+ ${PC_GNUTLS_LIBDIR} -+ ${PC_GNUTLS_LIBRARY_DIRS} -+ ) -+ -+mark_as_advanced(GNUTLS_INCLUDE_DIR GNUTLS_LIBRARY) -+ -+include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake) -+FIND_PACKAGE_HANDLE_STANDARD_ARGS(GnuTLS -+ REQUIRED_VARS GNUTLS_LIBRARY GNUTLS_INCLUDE_DIR -+ VERSION_VAR GNUTLS_VERSION_STRING) -+ -+if(GNUTLS_FOUND) -+ set(GNUTLS_LIBRARIES ${GNUTLS_LIBRARY}) -+ set(GNUTLS_INCLUDE_DIRS ${GNUTLS_INCLUDE_DIR}) -+ -+ if(NOT TARGET GnuTLS::GnuTLS) -+ add_library(GnuTLS::GnuTLS UNKNOWN IMPORTED) -+ set_target_properties(GnuTLS::GnuTLS PROPERTIES -+ INTERFACE_INCLUDE_DIRECTORIES "${GNUTLS_INCLUDE_DIRS}" -+ INTERFACE_COMPILE_DEFINITIONS "${GNUTLS_DEFINITIONS}" -+ IMPORTED_LINK_INTERFACE_LANGUAGES "C" -+ IMPORTED_LOCATION "${GNUTLS_LIBRARIES}") -+ endif() -+endif() diff --git a/buildroot-2021.05/package/libzip/0002-Include-limits.h-for-INT_MAX.patch b/buildroot-2021.05/package/libzip/0002-Include-limits.h-for-INT_MAX.patch deleted file mode 100644 index c488f052..00000000 --- a/buildroot-2021.05/package/libzip/0002-Include-limits.h-for-INT_MAX.patch +++ /dev/null @@ -1,27 +0,0 @@ -From fd89e242d16128dedef08f47d99ae56aa19b0591 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=C3=98rjan=20Malde?= -Date: Wed, 15 Jul 2020 12:16:16 +0200 -Subject: [PATCH] Include limits.h for INT_MAX - -[Retrieved from: -https://github.com/nih-at/libzip/commit/fd89e242d16128dedef08f47d99ae56aa19b0591] -Signed-off-by: Paul Cercueil ---- - lib/zip_crypto_openssl.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/zip_crypto_openssl.c b/lib/zip_crypto_openssl.c -index 1cb00479..60f92758 100644 ---- a/lib/zip_crypto_openssl.c -+++ b/lib/zip_crypto_openssl.c -@@ -38,6 +38,7 @@ - #include "zip_crypto.h" - - #include -+#include - - #if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER) - #define USE_OPENSSL_1_0_API --- -2.28.0 - diff --git a/buildroot-2021.05/package/libzip/libzip.hash b/buildroot-2021.05/package/libzip/libzip.hash deleted file mode 100644 index a298b9ab..00000000 --- a/buildroot-2021.05/package/libzip/libzip.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 a60473ffdb7b4260c08bfa19c2ccea0438edac11193c3afbbb1f17fbcf6c6132 libzip-1.7.3.tar.xz -sha256 deae392de70503672793ee784d603bfa8069dcd5974a325dfbf91160f3a147d6 LICENSE diff --git a/buildroot-2021.05/package/libzip/libzip.mk b/buildroot-2021.05/package/libzip/libzip.mk deleted file mode 100644 index 4a028f97..00000000 --- a/buildroot-2021.05/package/libzip/libzip.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# libzip -# -################################################################################ - -LIBZIP_VERSION = 1.7.3 -LIBZIP_SITE = https://libzip.org/download -LIBZIP_SOURCE = libzip-$(LIBZIP_VERSION).tar.xz -LIBZIP_LICENSE = BSD-3-Clause -LIBZIP_LICENSE_FILES = LICENSE -LIBZIP_CPE_ID_VENDOR = libzip -LIBZIP_INSTALL_STAGING = YES -LIBZIP_DEPENDENCIES = zlib -HOST_LIBZIP_DEPENDENCIES = host-zlib - -ifeq ($(BR2_PACKAGE_BZIP2),y) -LIBZIP_DEPENDENCIES += bzip2 -LIBZIP_CONF_OPTS += -DENABLE_BZIP2=ON -else -LIBZIP_CONF_OPTS += -DENABLE_BZIP2=OFF -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -LIBZIP_DEPENDENCIES += gnutls -LIBZIP_CONF_OPTS += -DENABLE_GNUTLS=ON -else -LIBZIP_CONF_OPTS += -DENABLE_GNUTLS=OFF -endif - -ifeq ($(BR2_PACKAGE_MBEDTLS),y) -LIBZIP_DEPENDENCIES += mbedtls -LIBZIP_CONF_OPTS += -DENABLE_MBEDTLS=ON -else -LIBZIP_CONF_OPTS += -DENABLE_MBEDTLS=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LIBZIP_DEPENDENCIES += openssl -LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=ON -else -LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=OFF -endif - -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) -LIBZIP_DEPENDENCIES += musl-fts -LIBZIP_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lfts -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -LIBZIP_DEPENDENCIES += xz -LIBZIP_CONF_OPTS += -DENABLE_LZMA=ON -else -LIBZIP_CONF_OPTS += -DENABLE_LZMA=OFF -endif - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/libzlib/libzlib.hash b/buildroot-2021.05/package/libzlib/libzlib.hash deleted file mode 100644 index e3736b10..00000000 --- a/buildroot-2021.05/package/libzlib/libzlib.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://www.zlib.net/ -sha256 4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066 zlib-1.2.11.tar.xz -# License files, locally calculated -sha256 7960b6b1cc63e619abb77acaea5427159605afee8c8b362664f4effc7d7f7d15 README diff --git a/buildroot-2021.05/package/libzlib/libzlib.mk b/buildroot-2021.05/package/libzlib/libzlib.mk deleted file mode 100644 index a10fc748..00000000 --- a/buildroot-2021.05/package/libzlib/libzlib.mk +++ /dev/null @@ -1,80 +0,0 @@ -################################################################################ -# -# libzlib -# -################################################################################ - -LIBZLIB_VERSION = 1.2.11 -LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz -LIBZLIB_SITE = http://www.zlib.net -LIBZLIB_LICENSE = Zlib -LIBZLIB_LICENSE_FILES = README -LIBZLIB_INSTALL_STAGING = YES -LIBZLIB_PROVIDES = zlib -LIBZLIB_CPE_ID_VENDOR = gnu -LIBZLIB_CPE_ID_PRODUCT = zlib - -# It is not possible to build only a shared version of zlib, so we build both -# shared and static, unless we only want the static libs, and we eventually -# selectively remove what we do not want -ifeq ($(BR2_STATIC_LIBS),y) -LIBZLIB_PIC = -LIBZLIB_SHARED = --static -else -LIBZLIB_PIC = -fPIC -LIBZLIB_SHARED = --shared -endif - -define LIBZLIB_CONFIGURE_CMDS - (cd $(@D); rm -rf config.cache; \ - $(TARGET_CONFIGURE_ARGS) \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) $(LIBZLIB_PIC)" \ - ./configure \ - $(LIBZLIB_SHARED) \ - --prefix=/usr \ - ) -endef - -define HOST_LIBZLIB_CONFIGURE_CMDS - (cd $(@D); rm -rf config.cache; \ - $(HOST_CONFIGURE_ARGS) \ - $(HOST_CONFIGURE_OPTS) \ - ./configure \ - --prefix="$(HOST_DIR)" \ - --sysconfdir="$(HOST_DIR)/etc" \ - ) -endef - -define LIBZLIB_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) -endef - -define HOST_LIBZLIB_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) -endef - -define LIBZLIB_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) LDCONFIG=true install -endef - -define LIBZLIB_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) LDCONFIG=true install -endef - -# We don't care removing the .a from target, since it not used at link -# time to build other packages, and it is anyway removed later before -# assembling the filesystem images anyway. -ifeq ($(BR2_SHARED_LIBS),y) -define LIBZLIB_RM_STATIC_STAGING - rm -f $(STAGING_DIR)/usr/lib/libz.a -endef -LIBZLIB_POST_INSTALL_STAGING_HOOKS += LIBZLIB_RM_STATIC_STAGING -endif - -define HOST_LIBZLIB_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) LDCONFIG=true install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/lightning/lightning.mk b/buildroot-2021.05/package/lightning/lightning.mk deleted file mode 100644 index 3bd17bef..00000000 --- a/buildroot-2021.05/package/lightning/lightning.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# lightning -# -################################################################################ - -LIGHTNING_VERSION = 2.1.3 -LIGHTNING_SITE = $(BR2_GNU_MIRROR)/lightning -LIGHTNING_LICENSE = LGPL-3.0+ -LIGHTNING_LICENSE_FILES = COPYING.LESSER -LIGHTNING_INSTALL_STAGING = YES -# We're patching include/Makefile.am -LIGHTNING_AUTORECONF = YES - -ifeq ($(BR2_PACKAGE_LIGHTNING_DISASSEMBLER),y) -LIGHTNING_DEPENDENCIES += binutils zlib -LIGHTNING_CONF_OPTS += --enable-disassembler -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lighttpd/0001-Fix-default-config-file.patch b/buildroot-2021.05/package/lighttpd/0001-Fix-default-config-file.patch deleted file mode 100644 index 47a85977..00000000 --- a/buildroot-2021.05/package/lighttpd/0001-Fix-default-config-file.patch +++ /dev/null @@ -1,85 +0,0 @@ -Modify the default lighttpd configuration file to have one a starting conf - - * Changed the log path to /var/log and logs filenames - * Disable IPv6 - * Do not setuid to a user that doesn't exist on the system - * Change the network backend to writev since linux-sendfile fails on buildroot - -Signed-off-by: Maxime Ripard -Signed-off-by: Simon Dawson -[Gustavo: update for 1.4.37] -Signed-off-by: Gustavo Zacarias - -diff -Nura lighttpd-1.4.37.orig/doc/config/conf.d/access_log.conf lighttpd-1.4.37/doc/config/conf.d/access_log.conf ---- lighttpd-1.4.37.orig/doc/config/conf.d/access_log.conf 2015-09-01 14:38:48.684673663 -0300 -+++ lighttpd-1.4.37/doc/config/conf.d/access_log.conf 2015-09-01 14:38:53.975855142 -0300 -@@ -9,7 +9,7 @@ - ## - ## Default access log. - ## --accesslog.filename = log_root + "/access.log" -+accesslog.filename = log_root + "/lighttpd-access.log" - - ## - ## The default format produces CLF compatible output. -diff -Nura lighttpd-1.4.37.orig/doc/config/lighttpd.conf lighttpd-1.4.37/doc/config/lighttpd.conf ---- lighttpd-1.4.37.orig/doc/config/lighttpd.conf 2015-09-01 14:38:48.684673663 -0300 -+++ lighttpd-1.4.37/doc/config/lighttpd.conf 2015-09-01 14:39:40.256442492 -0300 -@@ -13,8 +13,8 @@ - ## if you add a variable here. Add the corresponding variable in the - ## chroot example aswell. - ## --var.log_root = "/var/log/lighttpd" --var.server_root = "/srv/www" -+var.log_root = "/var/log" -+var.server_root = "/var/www" - var.state_dir = "/run" - var.home_dir = "/var/lib/lighttpd" - var.conf_dir = "/etc/lighttpd" -@@ -90,7 +90,7 @@ - ## - ## Use IPv6? - ## --server.use-ipv6 = "enable" -+# server.use-ipv6 = "enable" - - ## - ## bind to a specific IP -@@ -101,8 +101,8 @@ - ## Run as a different username/groupname. - ## This requires root permissions during startup. - ## --server.username = "lighttpd" --server.groupname = "lighttpd" -+server.username = "www-data" -+server.groupname = "www-data" - - ## - ## Enable lighttpd to serve requests on sockets received from systemd -@@ -118,7 +118,7 @@ - ## - ## Document root - ## --server.document-root = server_root + "/htdocs" -+server.document-root = server_root - - ## - ## The value for the "Server:" response field. -@@ -144,7 +144,7 @@ - ## - ## Path to the error log file - ## --server.errorlog = log_root + "/error.log" -+server.errorlog = log_root + "/lighttpd-error.log" - - ## - ## If you want to log to syslog you have to unset the -@@ -195,7 +195,7 @@ - ## sendfile - is recommended for small files. - ## writev - is recommended for sending many large files - ## --server.network-backend = "sendfile" -+server.network-backend = "writev" - - ## - ## As lighttpd is a single-threaded server, its main resource limit is diff --git a/buildroot-2021.05/package/lighttpd/Config.in b/buildroot-2021.05/package/lighttpd/Config.in deleted file mode 100644 index e9a5aa34..00000000 --- a/buildroot-2021.05/package/lighttpd/Config.in +++ /dev/null @@ -1,67 +0,0 @@ -comment "lighttpd needs a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_LIGHTTPD - bool "lighttpd" - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS - help - lighttpd a secure, fast, compliant and very flexible - web-server which has been optimized for high-performance - environments. It has a very low memory footprint compared to - other webservers and takes care of cpu-load. Its advanced - feature-set (FastCGI, CGI, Auth, Output-Compression, - URL-Rewriting and many more) make lighttpd the perfect - webserver-software for every server that is suffering load - problems. - - https://www.lighttpd.net/ - -if BR2_PACKAGE_LIGHTTPD - -config BR2_PACKAGE_LIGHTTPD_OPENSSL - bool "openssl support" - select BR2_PACKAGE_OPENSSL - help - Enable OpenSSL support for lighttpd. - -config BR2_PACKAGE_LIGHTTPD_PAM - bool "pam authentication support" - default y - depends on BR2_PACKAGE_LINUX_PAM - help - Enable PAM authentication support for lighttpd. - -config BR2_PACKAGE_LIGHTTPD_ZLIB - bool "zlib support" - select BR2_PACKAGE_ZLIB - help - Enable zlib support for lighttpd mod_compress. - -config BR2_PACKAGE_LIGHTTPD_BZIP2 - bool "bzip2 support" - select BR2_PACKAGE_BZIP2 - help - Enable bzip2 support for lighttpd mod_compress. - -config BR2_PACKAGE_LIGHTTPD_PCRE - bool "pcre support" - select BR2_PACKAGE_PCRE - help - Enable PCRE support. Needed to support mod_rewrite - -config BR2_PACKAGE_LIGHTTPD_WEBDAV - bool "webdav support" - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_SQLITE - help - Enable webdav support. Needed to support mod_webdav - -config BR2_PACKAGE_LIGHTTPD_LUA - bool "lua support" - depends on BR2_PACKAGE_LUA - help - Enable Lua support. Needed to support mod_magnet - -endif diff --git a/buildroot-2021.05/package/lighttpd/lighttpd.hash b/buildroot-2021.05/package/lighttpd/lighttpd.hash deleted file mode 100644 index cc192f1a..00000000 --- a/buildroot-2021.05/package/lighttpd/lighttpd.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.59.sha256sum -sha256 fb953db273daef08edb6e202556cae8a3d07eed6081c96bd9903db957d1084d5 lighttpd-1.4.59.tar.xz -# Locally calculated -sha256 5c98cad2fbaf5c5e2562bcbab401a7c557c1bb1bac9914ecc63730925052fb13 COPYING diff --git a/buildroot-2021.05/package/lighttpd/lighttpd.mk b/buildroot-2021.05/package/lighttpd/lighttpd.mk deleted file mode 100644 index fbbca00b..00000000 --- a/buildroot-2021.05/package/lighttpd/lighttpd.mk +++ /dev/null @@ -1,107 +0,0 @@ -################################################################################ -# -# lighttpd -# -################################################################################ - -LIGHTTPD_VERSION_MAJOR = 1.4 -LIGHTTPD_VERSION = $(LIGHTTPD_VERSION_MAJOR).59 -LIGHTTPD_SOURCE = lighttpd-$(LIGHTTPD_VERSION).tar.xz -LIGHTTPD_SITE = http://download.lighttpd.net/lighttpd/releases-$(LIGHTTPD_VERSION_MAJOR).x -LIGHTTPD_LICENSE = BSD-3-Clause -LIGHTTPD_LICENSE_FILES = COPYING -LIGHTTPD_CPE_ID_VENDOR = lighttpd -LIGHTTPD_DEPENDENCIES = host-pkgconf -LIGHTTPD_CONF_OPTS = \ - --without-wolfssl \ - --libdir=/usr/lib/lighttpd \ - --libexecdir=/usr/lib - -ifeq ($(BR2_PACKAGE_LIGHTTPD_OPENSSL),y) -LIGHTTPD_DEPENDENCIES += openssl -LIGHTTPD_CONF_OPTS += --with-openssl -else -LIGHTTPD_CONF_OPTS += --without-openssl -endif - -ifeq ($(BR2_PACKAGE_LIGHTTPD_PAM),y) -LIGHTTPD_DEPENDENCIES += linux-pam -LIGHTTPD_CONF_OPTS += --with-pam -else -LIGHTTPD_CONF_OPTS += --without-pam -endif - -ifeq ($(BR2_PACKAGE_LIGHTTPD_ZLIB),y) -LIGHTTPD_DEPENDENCIES += zlib -LIGHTTPD_CONF_OPTS += --with-zlib -else -LIGHTTPD_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_LIGHTTPD_BZIP2),y) -LIGHTTPD_DEPENDENCIES += bzip2 -LIGHTTPD_CONF_OPTS += --with-bzip2 -else -LIGHTTPD_CONF_OPTS += --without-bzip2 -endif - -ifeq ($(BR2_PACKAGE_LIGHTTPD_PCRE),y) -LIGHTTPD_CONF_ENV = PCRECONFIG=$(STAGING_DIR)/usr/bin/pcre-config -LIGHTTPD_DEPENDENCIES += pcre -LIGHTTPD_CONF_OPTS += --with-pcre -else -LIGHTTPD_CONF_OPTS += --without-pcre -endif - -ifeq ($(BR2_PACKAGE_LIGHTTPD_WEBDAV),y) -LIGHTTPD_DEPENDENCIES += libxml2 sqlite -LIGHTTPD_CONF_OPTS += --with-webdav-props -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) -LIGHTTPD_CONF_OPTS += --with-webdav-locks -LIGHTTPD_DEPENDENCIES += util-linux -else -LIGHTTPD_CONF_OPTS += --without-webdav-locks -endif -else -LIGHTTPD_CONF_OPTS += --without-webdav-props --without-webdav-locks -endif - -ifeq ($(BR2_PACKAGE_LIGHTTPD_LUA),y) -LIGHTTPD_DEPENDENCIES += lua -LIGHTTPD_CONF_OPTS += --with-lua -else -LIGHTTPD_CONF_OPTS += --without-lua -endif - -define LIGHTTPD_INSTALL_CONFIG - $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/lighttpd/conf.d - $(INSTALL) -d -m 0755 $(TARGET_DIR)/var/www - $(INSTALL) -D -m 0644 $(@D)/doc/config/lighttpd.conf \ - $(TARGET_DIR)/etc/lighttpd/lighttpd.conf - $(INSTALL) -D -m 0644 $(@D)/doc/config/modules.conf \ - $(TARGET_DIR)/etc/lighttpd/modules.conf - $(INSTALL) -D -m 0644 $(@D)/doc/config/conf.d/access_log.conf \ - $(TARGET_DIR)/etc/lighttpd/conf.d/access_log.conf - $(INSTALL) -D -m 0644 $(@D)/doc/config/conf.d/debug.conf \ - $(TARGET_DIR)/etc/lighttpd/conf.d/debug.conf - $(INSTALL) -D -m 0644 $(@D)/doc/config/conf.d/dirlisting.conf \ - $(TARGET_DIR)/etc/lighttpd/conf.d/dirlisting.conf - $(INSTALL) -D -m 0644 $(@D)/doc/config/conf.d/mime.conf \ - $(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf -endef - -LIGHTTPD_POST_INSTALL_TARGET_HOOKS += LIGHTTPD_INSTALL_CONFIG - -define LIGHTTPD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/lighttpd/S50lighttpd \ - $(TARGET_DIR)/etc/init.d/S50lighttpd -endef - -define LIGHTTPD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(@D)/doc/systemd/lighttpd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/lighttpd.service - $(INSTALL) -D -m 644 package/lighttpd/lighttpd_tmpfiles.conf \ - $(TARGET_DIR)/usr/lib/tmpfiles.d/lighttpd.conf -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/linenoise/linenoise.mk b/buildroot-2021.05/package/linenoise/linenoise.mk deleted file mode 100644 index f51e2871..00000000 --- a/buildroot-2021.05/package/linenoise/linenoise.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# linenoise -# -################################################################################ - -LINENOISE_VERSION = 1.0 -LINENOISE_SITE = $(call github,antirez,linenoise,$(LINENOISE_VERSION)) -LINENOISE_LICENSE = BSD-2-Clause -LINENOISE_LICENSE_FILES = LICENSE -LINENOISE_INSTALL_STAGING = YES -# Static library only, nothing to install on target -LINENOISE_INSTALL_TARGET = NO - -define LINENOISE_BUILD_CMDS - cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c - cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o - cd $(@D); $(TARGET_CC) $(TARGET_LDFLAGS) -o linenoise_example example.c -L. -llinenoise -endef - -define LINENOISE_INSTALL_STAGING_CMDS - $(INSTALL) -m 644 -D $(@D)/linenoise.h $(STAGING_DIR)/usr/include/linenoise.h - $(INSTALL) -m 644 -D $(@D)/liblinenoise.a $(STAGING_DIR)/usr/lib/liblinenoise.a - $(INSTALL) -m 755 -D $(@D)/linenoise_example $(STAGING_DIR)/usr/bin/linenoise_example -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/links/Config.in b/buildroot-2021.05/package/links/Config.in deleted file mode 100644 index 713f53da..00000000 --- a/buildroot-2021.05/package/links/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_LINKS - bool "links" - depends on BR2_USE_MMU # fork() - help - Graphics and text mode WWW browser (kind of like lynx). - - http://links.twibright.com/ - -if BR2_PACKAGE_LINKS - -config BR2_PACKAGE_LINKS_GRAPHICS - bool "use graphics" - depends on BR2_PACKAGE_DIRECTFB || BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_LIBPNG - help - Enable graphics output for DirectFB or X11. - Otherwise links will be text-mode only. - -endif diff --git a/buildroot-2021.05/package/links/links.hash b/buildroot-2021.05/package/links/links.hash deleted file mode 100644 index f941c2cd..00000000 --- a/buildroot-2021.05/package/links/links.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 285eed8591c7781ec26213df82786665aaa1b9286782e8a7a1a7e2a6e1630d63 links-2.21.tar.bz2 -sha256 92deeb70791366630095d4e0714fe37d6e2bd5db0e6ef498ebb8de328f45b253 COPYING diff --git a/buildroot-2021.05/package/links/links.mk b/buildroot-2021.05/package/links/links.mk deleted file mode 100644 index 5213e02b..00000000 --- a/buildroot-2021.05/package/links/links.mk +++ /dev/null @@ -1,101 +0,0 @@ -################################################################################ -# -# links -# -################################################################################ - -LINKS_VERSION = 2.21 -LINKS_SOURCE = links-$(LINKS_VERSION).tar.bz2 -LINKS_SITE = http://links.twibright.com/download -LINKS_DEPENDENCIES = host-pkgconf -LINKS_LICENSE = GPL-2.0+ -LINKS_LICENSE_FILES = COPYING -LINKS_CPE_ID_VENDOR = twibright - -ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y) -LINKS_CONF_OPTS += --enable-graphics -LINKS_DEPENDENCIES += libpng -ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y) -LINKS_CONF_OPTS += \ - --with-x \ - --x-includes=$(STAGING_DIR)/usr/include \ - --x-libraries=$(STAGING_DIR)/usr/lib -LINKS_DEPENDENCIES += xlib_libXt -else -LINKS_CONF_OPTS += --without-x -endif -ifeq ($(BR2_PACKAGE_DIRECTFB),y) -LINKS_CONF_ENV = ac_cv_path_DIRECTFB_CONFIG=$(STAGING_DIR)/usr/bin/directfb-config -ifeq ($(BR2_STATIC_LIBS),y) -LINKS_CONF_ENV += LIBS=-lstdc++ -endif -LINKS_CONF_OPTS += --with-directfb -LINKS_DEPENDENCIES += directfb -else -LINKS_CONF_OPTS += --without-directfb -endif -ifeq ($(BR2_PACKAGE_JPEG),y) -LINKS_CONF_OPTS += --with-libjpeg -LINKS_DEPENDENCIES += jpeg -else -LINKS_CONF_OPTS += --without-libjpeg -endif -ifeq ($(BR2_PACKAGE_LIBRSVG),y) -LINKS_CONF_OPTS += --with-librsvg -LINKS_DEPENDENCIES += librsvg -else -LINKS_CONF_OPTS += --without-librsvg -endif -ifeq ($(BR2_PACKAGE_TIFF),y) -LINKS_CONF_OPTS += --with-libtiff -LINKS_DEPENDENCIES += tiff -else -LINKS_CONF_OPTS += --without-libtiff -endif -else -LINKS_CONF_OPTS += --disable-graphics -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -LINKS_CONF_OPTS += --with-bzip2 -LINKS_DEPENDENCIES += bzip2 -else -LINKS_CONF_OPTS += --without-bzip2 -endif - -ifeq ($(BR2_PACKAGE_GPM),y) -LINKS_CONF_OPTS += --with-gpm -LINKS_DEPENDENCIES += gpm -else -LINKS_CONF_OPTS += --without-gpm -endif - -ifeq ($(BR2_PACKAGE_LIBEVENT),y) -LINKS_CONF_OPTS += --with-libevent -LINKS_DEPENDENCIES += libevent -else -LINKS_CONF_OPTS += --without-libevent -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LINKS_CONF_OPTS += --with-ssl --enable-ssl-pkgconfig -LINKS_DEPENDENCIES += openssl -else -LINKS_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -LINKS_CONF_OPTS += --with-lzma -LINKS_DEPENDENCIES += xz -else -LINKS_CONF_OPTS += --without-lzma -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -LINKS_CONF_OPTS += --with-zlib -LINKS_DEPENDENCIES += zlib -else -LINKS_CONF_OPTS += --without-zlib -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/linux-firmware/Config.in b/buildroot-2021.05/package/linux-firmware/Config.in deleted file mode 100644 index 01d43f21..00000000 --- a/buildroot-2021.05/package/linux-firmware/Config.in +++ /dev/null @@ -1,521 +0,0 @@ -config BR2_PACKAGE_LINUX_FIRMWARE - bool "linux-firmware" - help - This package provides various binary firmware files (closed - binary blobs) for such devices like LAN, WLAN cards etc. - - https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git - -if BR2_PACKAGE_LINUX_FIRMWARE - -menu "Audio firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_INTEL_SST_DSP - bool "Intel SST DSP" - help - Firmware files for Intel Baytrail SST DSP audio. - -endmenu # Audio - -menu "Video firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_AMDGPU - bool "AMD GPU video card firmware" - help - Firmware files for AMD GPU video cards. - -config BR2_PACKAGE_LINUX_FIRMWARE_I915 - bool "Intel i915 video card firmware" - help - Firmware files for the Intel i915 video cards. - -config BR2_PACKAGE_LINUX_FIRMWARE_RADEON - bool "AMD Radeon video card firmware" - help - Firmware files for AMD Radeon video cards. - -config BR2_PACKAGE_LINUX_FIRMWARE_QCOM_VENUS - bool "Qualcomm Venus video codec accelerator" - help - Firmware files for Qualcomm Venus video codec accelerator - -config BR2_PACKAGE_LINUX_FIRMWARE_QCOM_ADRENO - bool "Qualcomm Adreno GPU firmware" - help - Firmware files for Qualcomm Adreno GPU firmware - -config BR2_PACKAGE_LINUX_FIRMWARE_MFC_V8 - bool "Samsung MFC video encoder/decoder v8 firmware" - help - Firmware files for Samsung MFC video encoder/decoder driver v8 - -endmenu # Video - -menu "Bluetooth firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_IBT - bool "Intel Wireless Bluetooth" - help - Firmware files for Intel 3160/7260/7265/8260/8265 Wireless - bluetooth support. - -config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7650 - bool "MediaTek MT7650" - help - Firmware files for MediaTek MT7650 bluetooth support - -config BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174A_BT - bool "Qualcomm Atheros Rome 6174A Bluetooth" - help - Firmware files for QCA Rome 6174A bluetooth support. - -config BR2_PACKAGE_LINUX_FIRMWARE_AR3011 - bool "Qualcomm Atheros 3011" - help - Firmware files for Atheros bluetooth chipset AR3011. - -config BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB - bool "Qualcomm Atheros 3012 (USB)" - help - Firmware files for Atheros bluetooth chipset AR3012 on USB. - -config BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT - bool "Realtek 87xx Bluetooth" - help - Realtek 8723a/8723b/8723bs/8723d/8723ds/8761a - -config BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT - bool "Realtek 88xx Bluetooth" - help - Realtek 8821a/8821c/8822b/8822cs/8822cu/8852au - -config BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560 - bool "TI CC2560" - help - Firmware files for Bluetooth modules CC2560 and CC2560A - -endmenu # Bluetooth - -menu "WiFi firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002 - bool "Atheros 6002" - help - Firmware files for the Atheros AR6002 chip - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003 - bool "Atheros 6003" - help - Firmware files for the Atheros AR6003 chip - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004 - bool "Atheros 6004" - help - Firmware files for the Atheros AR6004 chip - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010 - bool "Atheros 7010" - help - Firmware files for the Atheros 7010 module - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170 - bool "Atheros 9170" - help - Firmware files for the Atheros 9170 module - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271 - bool "Atheros 9271" - help - Firmware files for the Atheros 9271 module - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA9377 - bool "Atheros 10k (QCA9377)" - help - Firmware files for the Atheros QCA9377 module - -config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA998X - bool "Atheros 10k (QCA998X)" - help - Firmware files for the Atheros QCA988X module - -config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX - bool "Broadcom BRCM bcm43xx" - help - Firmware files for the Broadcom bcm43xx SoftMAC and FullMAC. - -config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX - bool "Broadcom BRCM bcm43xxx" - help - Firmware files for the Broadcom bcm43xxx, SoftMAC and FullMAC. - -config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366B1 - bool "Broadcom 4366b1" - help - Firmware file for the Broadcom 4366b1 FullMAC chip. - -config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366C0 - bool "Broadcom 4366c0" - help - Firmware file for the Broadcom 4366c0 FullMAC chip. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22260 - bool "Intel iwlwifi 22260" - help - Firmware files for the Intel Wifi 22260 devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160 - bool "Intel iwlwifi 3160" - help - Firmware files for the Intel Wifi 3160 devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168 - bool "Intel iwlwifi 3168" - help - Firmware files for the Intel Wifi 3168 devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 - bool "Intel iwlwifi 5000" - help - Firmware files for the Intel Wifi 5000 devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A - bool "Intel iwlwifi 6000G2A" - help - Firmware files for the Intel Wifi 6000G2A devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B - bool "Intel iwlwifi 6000G2B" - help - Firmware files for the Intel Wifi 6000G2B devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260 - bool "Intel iwlwifi 7260" - help - Firmware files for the Intel Wifi 7260 devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265 - bool "Intel iwlwifi 7265" - help - Firmware files for the Intel Wifi 7265 devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D - bool "Intel iwlwifi 7265D" - # needed for old kernel versions, where the non-D and D - # firmwares were the same - select BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265 - help - Firmware files for the Intel Wifi 7265D devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C - bool "Intel iwlwifi 8000C" - help - Firmware files for the Intel Wifi 8000C devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265 - bool "Intel iwlwifi 8265" - help - Firmware files for the Intel Wifi 8265 devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_9XXX - bool "Intel iwlwifi 9xxx" - help - Firmware files for the Intel Wifi 9xxx devices supported by - the iwlwifi kernel driver. - -config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8 - bool "Libertas SD 8686 v8" - help - Firmware files (version 8) for the Marvell SD8686 module - -config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9 - bool "Libertas SD 8686 v9" - help - Firmware files (version 9) for the Marvell SD8686 module - -config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688 - bool "Libertas SD 8688" - help - Firmware files for the Marvell SD8688 module - -config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_V9 - bool "Libertas USB 8388 v9" - help - Firmware files (version 9) for the Marvell USB8388 module - -config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_OLPC - bool "Libertas USB 8388 OLPC" - help - Firmware files (OLPC mesh capable version) for the Marvell - USB8388 module. - -config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB_THINFIRM - bool "Libertas USB Thin Firmware" - help - Firmware files (soft MAC) for the Marvell USB modules - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787 - bool "Marvell Wifi-Ex 8787 SDIO" - help - Firmware files for the Marvell Wifi-Ex 8787 module on SDIO. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797 - bool "Marvell Wifi-Ex 8797 SDIO" - help - Firmware files for the Marvell Wifi-Ex 8797 module on SDIO. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797 - bool "Marvell Wifi-Ex 8797 USB" - help - Firmware files for the Marvell Wifi-Ex 8797 module on USB. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8801 - bool "Marvell Wifi-Ex 8801 USB" - help - Firmware files for the Marvell Wifi-Ex 8801 module on USB. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887 - bool "Marvell Wifi-Ex 8887 SDIO" - help - Firmware files for the Marvell Wifi-Ex 8887 module on SDIO. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897 - bool "Marvell Wifi-Ex 8897 SDIO" - help - Firmware files for the Marvell Wifi-Ex 8897 module on SDIO. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897 - bool "Marvell Wifi-Ex 8897 USB" - help - Firmware files for the Marvell Wifi-Ex 8897 module on USB. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897 - bool "Marvell Wifi-Ex 8897 PCI-E" - help - Firmware files for the Marvell Wifi-Ex 8897 module on PCI-E. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIEUART8997 - bool "Marvell Wifi-Ex 8997 PCI-E/UART" - help - Firmware files for the Marvell Wifi-Ex 8997 module on - PCI-E/UART. - -config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIEUSB8997 - bool "Marvell Wifi-Ex 8997 PCI-E/USB" - help - Firmware files for the Marvell Wifi-Ex 8997 module on - PCI-E/USB. - -config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U - bool "MediaTek MT7601U" - help - MediaTek MT7601U - -config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7610E - bool "MediaTek MT7610E" - help - MediaTek MT7610E - -config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT76X2E - bool "MediaTek MT76x2e" - help - MediaTek MT76x2e - -config BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174 - bool "Qualcomm Atheros 6174" - help - Firmware files for the Qualcomm Atheros QCA6174 chip - -config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61 - bool "Ralink rt2501/rt61" - help - Ralink rt2501/rt61 - -config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73 - bool "Ralink rt73" - help - Ralink rt73 - -config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX - bool "Ralink rt27xx/rt28xx/rt30xx" - help - Ralink rt27xx/rt28xx/rt30xx - -config BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX - bool "Realtek 81xx" - help - Realtek 8188/8192 - -config BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX - bool "Realtek 87xx" - help - Realtek 8712/8723/8723be - -config BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX - bool "Realtek 88xx" - help - Realtek rtl8821ae - -config BR2_PACKAGE_LINUX_FIRMWARE_RTL_RTW88 - bool "Realtek rtw88" - help - Firmware images supported by Realtek's wireless - driver rtw88. - -config BR2_PACKAGE_LINUX_FIRMWARE_REDPINE_RS9113 - bool "Redpine rs9113" - help - Firmware files for WLAN and Bluetooth modules rs9113 - -config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X - bool "TI wl127x" - help - Firmware files for WLAN and Bluetooth modules wl1271 and - wl1273 - -config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X - bool "TI wl128x" - help - Firmware files for WLAN and Bluetooth modules wl128x - -config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX - bool "TI wl18xx" - help - Firmware files for WLAN and Bluetooth modules wl18xx - -config BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_WIL6210 - bool "Qualcomm Atheros wil6210" - help - Firmware files for Qualcomm Atheros 11ad family of chips - -endmenu - -menu "Ethernet firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_BROADCOM_TIGON3 - bool "Broadcom NetXtreme/Tigon3" - help - Firmware files for Broadcom Tigon3 ethernet cards - (tigon) - -config BR2_PACKAGE_LINUX_FIRMWARE_BNX2X - bool "Broadcom NetXtremeII" - help - Firmware files for Broadcom NetXtreme 10Gb ethernet cards - (bnx2x) - -config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4 - bool "Chelsio T4" - help - Firmware files for Chelsio T4 1Gb and 10Gb ethernet cards - (cxgb4) - -config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5 - bool "Chelsio T5" - help - Firmware files for Chelsio T5 1Gb and 10Gb ethernet cards - (cxgb4) - -config BR2_PACKAGE_LINUX_FIRMWARE_INTEL_E100 - bool "Intel e100 825xx" - help - Firmware files for Intel 825xx handled by driver e100 - (e100) - -config BR2_PACKAGE_LINUX_FIRMWARE_MICROCHIP_VSC85XX_PHY - bool "Microchip VSC85xx PHYs" - help - Firmware files for Microchip/Microsemi VSC85xx networking - PHYs (VSC8504, VSC8552, VSC8572, VSC8574, VSC856X, VSC8575, - VSC8582 and VSC8584) - -config BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_4X - bool "QLogic FastLinQ 4xxxx" - help - Firmware files for QLogic FastLinQ 4xxxx ethernet devices - (qede) - -config BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169 - bool "Realtek 8169" - help - Firmware files for Realtek 8169 gigabit ethernet cards - -endmenu - -menu "DVB firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_AS102 - bool "Abilis Systems as102" - help - Firmware file for Abilis Systems single DVB-T receiver as102 - -config BR2_PACKAGE_LINUX_FIRMWARE_DIB0700 - bool "DiBcom dib0700" - help - Firmware file for dib0700-based USB DVB tuner driver - -config BR2_PACKAGE_LINUX_FIRMWARE_ITETECH_IT9135 - bool "ITEtech it9135" - help - Firmware files for ITEtech it9135 (Ax and Bx) DVB-T USB tuner - -config BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK - bool "Terratec H5 DRX-K" - help - Firmware file for Terratec H5 DRX-K based DVB tuner driver - -config BR2_PACKAGE_LINUX_FIRMWARE_XCx000 - bool "Xceive/Cresta xc4000/xc5000/xc500c" - help - Firmware file for xc4000/xc5000/xc5000c based DVB tuner driver - -endmenu - -menu "Fibre Channel Adapter Firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX - bool "QLogic 2xxx Fibre Channel Adapters" - help - Firmware files for ql2xxx adapters - -endmenu - -menu "Intel QuickAssist Firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_QAT_DH895XCC - bool "Support for DH895xCC" - help - Firmware files for Intel DH895xCC devices - -config BR2_PACKAGE_LINUX_FIRMWARE_QAT_C3XXX - bool "Support for C3XXX" - help - Firmware files for Intel C3XXX devices - -config BR2_PACKAGE_LINUX_FIRMWARE_QAT_C62X - bool "Support for C62X" - help - Firmware files for Intel C62X devices - -endmenu - -menu "USB to Serial Firmware" - -config BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI - bool "USB TI 3410/5052 Serial Firmware" - help - Firmware files for TI 3410/5052 - -endmenu - -endif diff --git a/buildroot-2021.05/package/linux-firmware/linux-firmware.hash b/buildroot-2021.05/package/linux-firmware/linux-firmware.hash deleted file mode 100644 index 12af68f2..00000000 --- a/buildroot-2021.05/package/linux-firmware/linux-firmware.hash +++ /dev/null @@ -1,35 +0,0 @@ -# Locally calculated -sha256 f97d6d884026c5e3641909946713dcfea580c307d47830d37d42bfcc9a93870a linux-firmware-20201022-br1.tar.gz -sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis -sha256 8d5847d2971241d4d6a51c16e206379de53a6d4e203fa6f8e1c1e9279c7c4ad0 LICENSE.amdgpu -sha256 2d6062d63b91eb750bf741498691604f75184b9fee97608ec537cd09bd6a42b4 LICENCE.Marvell -sha256 802b7014b26c606cf6248ae8b0ab1ce6d2d1b0db236d38dd269e676cd70710f2 LICENCE.atheros_firmware -sha256 3b5eb392b2d9d8c46d6aae26d06c187e5ea3029b12d13bc2b8deb8b3ce6bfa53 ath10k/QCA6174/hw3.0/notice_ath10k_firmware-4.txt -sha256 631065703055d11b099477c508508f20a80b202aad548a7726564bfa59a96c91 ath10k/QCA6174/hw2.1/notice_ath10k_firmware-5.txt -sha256 8ce5c6ea0542bf4aac31fc3ae16a39792ad22d0eae4543063fac56fb3380f021 ath10k/QCA6174/hw3.0/notice_ath10k_firmware-6.txt -sha256 b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d LICENCE.broadcom_bcm43xx -sha256 a5777f9e80aca0603b0648454de996168b1c530322550ccda94d6d78bcf6c061 LICENCE.chelsio_firmware -sha256 60fbc9cccb455e1a3306c97db942d6f24fa93664be61d54c497637e6d0e2ae83 LICENCE.fw_sst_0f28 -sha256 5181b0b51efc79d5acb2c9bb92042878fdbad97a92114d4ab5e32e2b5b52fce4 LICENCE.ibt_firmware -sha256 0e0c11073ba3c832097da38e0905da36b8a3526f219407977b13b71c6675be7d LICENCE.it913x -sha256 e295020afd7597dc1b3bbe50a84a7e432d9cb92bc053c1c5e657b50d2517627b LICENCE.iwlwifi_firmware -sha256 0fc67bd715b3395f3f2af464781910e9e69c4ba23da304352229b42dc9e986c3 LICENCE.microchip -sha256 2051d5bf0755a0668f8c3d9a0d1c41d4b8cc411aba70f720fda71ae9e3b4d25c LICENCE.qat_firmware -sha256 4071a11d878dbc0ac6d9e71203d03b151638f9d7a8bc47a54c3cb964100d5822 LICENCE.qla2xxx -sha256 d7bec70668ddd4aae8fb4aa32870e54b49fcdb0b9b007aa9f54b53a1ac7461bd LICENCE.ralink-firmware.txt -sha256 8568352b57f3574f9d5b2753cdb7c6e5eb2b79e82fbb9c9ba6566947467ef508 LICENCE.ralink_a_mediatek_company_firmware -sha256 a61351665b4f264f6c631364f85b907d8f8f41f8b369533ef4021765f9f3b62e LICENCE.rtlwifi_firmware.txt -sha256 106bef96470001e877fcf7ba0337fa6766a317650eb47fcaeb743eeebd62c4ff LICENCE.ti-connectivity -sha256 8ea9f4aee5f53ad877041ff089e8c95d34d615ce19a3111e5e1ea70d990ed7ff LICENCE.xc4000 -sha256 30ec8a66503dc73f83937564ae70ca23aa03259e64727ff4195b5b6f695e782f LICENCE.xc5000 -sha256 f8822049f32fef2e90a197bd8cf259f476db75d549456bdca8567616a9c07ace LICENCE.xc5000c -sha256 a064cbf83e10d72579d236a1e36032681adb8e442943ff75b57020a82992a5ed LICENSE.QualcommAtheros_ar3k -sha256 337a55102138d7baa143ee4a4c6c91693e0113fece35d380b2a12109e8c23b3f LICENSE.QualcommAtheros_ath10k -sha256 630fd46c95d3ac6544590c2265ba7348fbc930fb386261a1c04dcd9f403645b8 LICENSE.dib0700 -sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENSE.i915 -sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom -sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon -sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware -sha256 18313654864adbb76514e21566528ce57eff42a2a7a66d5823f1f91e895816ea WHENCE -sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt -sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 diff --git a/buildroot-2021.05/package/linux-firmware/linux-firmware.mk b/buildroot-2021.05/package/linux-firmware/linux-firmware.mk deleted file mode 100644 index 9adab67b..00000000 --- a/buildroot-2021.05/package/linux-firmware/linux-firmware.mk +++ /dev/null @@ -1,730 +0,0 @@ -################################################################################ -# -# linux-firmware -# -################################################################################ - -LINUX_FIRMWARE_VERSION = 20201022 -LINUX_FIRMWARE_SITE = http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git -LINUX_FIRMWARE_SITE_METHOD = git -LINUX_FIRMWARE_INSTALL_IMAGES = YES - -LINUX_FIRMWARE_CPE_ID_VENDOR = kernel - -# Intel SST DSP -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_SST_DSP),y) -LINUX_FIRMWARE_FILES += intel/fw_sst_0f28.bin-48kHz_i2s_master -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.fw_sst_0f28 -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AMDGPU),y) -LINUX_FIRMWARE_DIRS += amdgpu -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.amdgpu -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_I915),y) -LINUX_FIRMWARE_DIRS += i915 -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.i915 -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RADEON),y) -LINUX_FIRMWARE_DIRS += radeon -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.radeon -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QCOM_VENUS),y) -LINUX_FIRMWARE_DIRS += qcom/venus-1.8 qcom/venus-4.2 -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom qcom/NOTICE.txt -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QCOM_ADRENO),y) -LINUX_FIRMWARE_FILES += qcom/a* -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom qcom/NOTICE.txt -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MFC_V8),y) -LINUX_FIRMWARE_FILES += \ - s5p-mfc.fw \ - s5p-mfc-v6.fw \ - s5p-mfc-v6-v2.fw \ - s5p-mfc-v7.fw \ - s5p-mfc-v8.fw -# No license file; the license is in the file WHENCE -# which is installed unconditionally -endif - -# Intel Wireless Bluetooth -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IBT),y) -LINUX_FIRMWARE_FILES += intel/ibt-* -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ibt_firmware -endif - -# Qualcomm Atheros Rome 6174A Bluetooth -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174A_BT),y) -LINUX_FIRMWARE_FILES += qca/rampatch_usb_00000302.bin qca/nvm_usb_00000302.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom -endif - -# Realtek 87xx Bluetooth -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT),y) -LINUX_FIRMWARE_FILES += \ - rtl_bt/rtl8723a_fw.bin rtl_bt/rtl8723b_fw.bin \ - rtl_bt/rtl8723bs_config-OBDA8723.bin \ - rtl_bt/rtl8723bs_fw.bin rtl_bt/rtl8723d_config.bin \ - rtl_bt/rtl8723d_fw.bin rtl_bt/rtl8761a_fw.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt -endif - -# Realtek 88xx Bluetooth -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT),y) -LINUX_FIRMWARE_FILES += \ - rtl_bt/rtl8812ae_fw.bin rtl_bt/rtl8821a_fw.bin \ - rtl_bt/rtl8821c_config.bin rtl_bt/rtl8821c_fw.bin \ - rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin \ - rtl_bt/rtl8822cs_config.bin rtl_bt/rtl8822cs_fw.bin \ - rtl_bt/rtl8822cu_config.bin rtl_bt/rtl8822cu_fw.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt -endif - -# rt2501/rt61 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y) -LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt -endif - -# rt73 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73),y) -LINUX_FIRMWARE_FILES += rt73.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt -endif - -# rt2xx -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX),y) -LINUX_FIRMWARE_FILES += rt2860.bin rt2870.bin rt3071.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt -endif - -# rtl81xx -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX),y) -LINUX_FIRMWARE_FILES += \ - rtlwifi/rtl8192cfw.bin rtlwifi/rtl8192cfwU.bin \ - rtlwifi/rtl8192cfwU_B.bin rtlwifi/rtl8192cufw.bin \ - rtlwifi/rtl8192defw.bin rtlwifi/rtl8192sefw.bin \ - rtlwifi/rtl8188efw.bin rtlwifi/rtl8188eufw.bin \ - rtlwifi/rtl8192cufw_A.bin \ - rtlwifi/rtl8192cufw_B.bin rtlwifi/rtl8192cufw_TMSC.bin \ - rtlwifi/rtl8192eefw.bin rtlwifi/rtl8192eu_ap_wowlan.bin \ - rtlwifi/rtl8192eu_nic.bin rtlwifi/rtl8192eu_wowlan.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt -endif - -# rtl87xx -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX),y) -LINUX_FIRMWARE_FILES += \ - rtlwifi/rtl8712u.bin rtlwifi/rtl8723fw.bin \ - rtlwifi/rtl8723fw_B.bin rtlwifi/rtl8723befw.bin \ - rtlwifi/rtl8723aufw_A.bin rtlwifi/rtl8723aufw_B.bin \ - rtlwifi/rtl8723aufw_B_NoBT.bin rtlwifi/rtl8723befw.bin \ - rtlwifi/rtl8723bs_ap_wowlan.bin rtlwifi/rtl8723bs_bt.bin \ - rtlwifi/rtl8723bs_nic.bin rtlwifi/rtl8723bs_wowlan.bin \ - rtlwifi/rtl8723bu_ap_wowlan.bin rtlwifi/rtl8723bu_nic.bin \ - rtlwifi/rtl8723bu_wowlan.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt -endif - -# rtl88xx -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX),y) -LINUX_FIRMWARE_FILES += \ - rtlwifi/rtl8821aefw.bin \ - rtlwifi/rtl8821aefw_wowlan.bin \ - rtlwifi/rtl8821aefw_29.bin rtlwifi/rtl8822befw.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt -endif - -# rtw88 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_RTW88),y) -LINUX_FIRMWARE_FILES += \ - rtw88/rtw8723d_fw.bin \ - rtw88/rtw8822b_fw.bin \ - rtw88/rtw8822c_fw.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt -endif - -# ar3011 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3011),y) -LINUX_FIRMWARE_FILES += ath3k-1.fw -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -# ar3012 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB),y) -LINUX_FIRMWARE_FILES += \ - ar3k/AthrBT_0x01020001.dfu \ - ar3k/ramps_0x01020001_26.dfu \ - ar3k/AthrBT_0x01020200.dfu \ - ar3k/ramps_0x01020200_26.dfu \ - ar3k/ramps_0x01020200_40.dfu \ - ar3k/AthrBT_0x31010000.dfu \ - ar3k/ramps_0x31010000_40.dfu \ - ar3k/AthrBT_0x11020000.dfu \ - ar3k/ramps_0x11020000_40.dfu \ - ar3k/ramps_0x01020201_26.dfu \ - ar3k/ramps_0x01020201_40.dfu \ - ar3k/AthrBT_0x41020000.dfu \ - ar3k/ramps_0x41020000_40.dfu \ - ar3k/AthrBT_0x11020100.dfu \ - ar3k/ramps_0x11020100_40.dfu \ - ar3k/AthrBT_0x31010100.dfu \ - ar3k/ramps_0x31010100_40.dfu \ - ar3k/AthrBT_0x01020201.dfu -LINUX_FIRMWARE_ALL_LICENSE_FILES += \ - LICENCE.atheros_firmware LICENSE.QualcommAtheros_ar3k -endif - -# ar6002 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002),y) -LINUX_FIRMWARE_FILES += ath6k/AR6002 -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -# ar6003 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003),y) -LINUX_FIRMWARE_FILES += ath6k/AR6003 -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -# ar6004 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004),y) -LINUX_FIRMWARE_FILES += ath6k/AR6004 -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -# ar7010 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010),y) -LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw ath9k_htc/htc_7010-1.4.0.fw -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -# ar9170 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170),y) -LINUX_FIRMWARE_FILES += ar9170-1.fw ar9170-2.fw carl9170-1.fw -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -# ar9271 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271),y) -LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw ath9k_htc/htc_9271-1.4.0.fw -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -# ath10k -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA9377),y) -LINUX_FIRMWARE_FILES += ath10k/QCA9377/hw1.0/board-2.bin \ - ath10k/QCA9377/hw1.0/board.bin \ - ath10k/QCA9377/hw1.0/firmware-5.bin \ - ath10k/QCA9377/hw1.0/firmware-6.bin \ - ath10k/QCA9377/hw1.0/firmware-sdio-5.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA998X),y) -LINUX_FIRMWARE_FILES += ath10k/QCA988X/hw2.0/board.bin \ - ath10k/QCA988X/hw2.0/firmware-4.bin \ - ath10k/QCA988X/hw2.0/firmware-5.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware -endif - -# sd8686 v8 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8),y) -LINUX_FIRMWARE_FILES += libertas/sd8686_v8.bin libertas/sd8686_v8_helper.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# sd8686 v9 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9),y) -LINUX_FIRMWARE_FILES += libertas/sd8686_v9.bin libertas/sd8686_v9_helper.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# sd8688 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688),y) -LINUX_FIRMWARE_FILES += mrvl/sd8688.bin mrvl/sd8688_helper.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# usb8388 v9 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_V9),y) -LINUX_FIRMWARE_FILES += libertas/usb8388_v9.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# usb8388 olpc -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_OLPC),y) -LINUX_FIRMWARE_FILES += libertas/usb8388_olpc.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# lbtf usb -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB_THINFIRM),y) -LINUX_FIRMWARE_FILES += lbtf_usb.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# sd8787 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787),y) -LINUX_FIRMWARE_FILES += mrvl/sd8787_uapsta.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# sd8797 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797),y) -LINUX_FIRMWARE_FILES += mrvl/sd8797_uapsta.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# usb8797 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797),y) -LINUX_FIRMWARE_FILES += mrvl/usb8797_uapsta.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# usb8801 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8801),y) -LINUX_FIRMWARE_FILES += mrvl/usb8801_uapsta.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# sd8887 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887),y) -LINUX_FIRMWARE_FILES += mrvl/sd8887_uapsta.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# sd8897 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897),y) -LINUX_FIRMWARE_FILES += mrvl/sd8897_uapsta.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# usb8897 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897),y) -LINUX_FIRMWARE_FILES += mrvl/usb8897_uapsta.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# pcie8897 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897),y) -LINUX_FIRMWARE_FILES += mrvl/pcie8897_uapsta.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# pcieuart8997 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIEUART8997),y) -LINUX_FIRMWARE_FILES += mrvl/pcieuart8997_combo_v4.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# pcieusb8997 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIEUSB8997),y) -LINUX_FIRMWARE_FILES += mrvl/pcieusb8997_combo_v4.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell -endif - -# MT7601 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U),y) -LINUX_FIRMWARE_FILES += mt7601u.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware -endif - -# MT7610 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7610E),y) -LINUX_FIRMWARE_FILES += mediatek/mt7610e.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware -endif - -# MT7650 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7650),y) -LINUX_FIRMWARE_FILES += mt7650.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware -endif - -# MT76x2e -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT76X2E),y) -LINUX_FIRMWARE_FILES += mt7662.bin mt7662_rom_patch.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware -endif - -# qca6174 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174),y) -LINUX_FIRMWARE_FILES += ath10k/QCA6174 -LINUX_FIRMWARE_ALL_LICENSE_FILES += \ - LICENSE.QualcommAtheros_ath10k \ - ath10k/QCA6174/hw2.1/notice_ath10k_firmware-5.txt \ - ath10k/QCA6174/hw3.0/notice_ath10k_firmware-4.txt \ - ath10k/QCA6174/hw3.0/notice_ath10k_firmware-6.txt -endif - -# CC2560(A) -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560),y) -LINUX_FIRMWARE_FILES += \ - ti-connectivity/TIInit_6.2.31.bts \ - ti-connectivity/TIInit_6.6.15.bts -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity -endif - -# wl127x -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X),y) -LINUX_FIRMWARE_FILES += \ - ti-connectivity/wl1271-fw-2.bin \ - ti-connectivity/wl1271-fw-ap.bin \ - ti-connectivity/wl1271-fw.bin \ - ti-connectivity/wl127x-fw-3.bin \ - ti-connectivity/wl127x-fw-plt-3.bin \ - ti-connectivity/wl127x-nvs.bin \ - ti-connectivity/wl127x-fw-4-mr.bin \ - ti-connectivity/wl127x-fw-4-plt.bin \ - ti-connectivity/wl127x-fw-4-sr.bin \ - ti-connectivity/wl127x-fw-5-mr.bin \ - ti-connectivity/wl127x-fw-5-plt.bin \ - ti-connectivity/wl127x-fw-5-sr.bin \ - ti-connectivity/TIInit_7.2.31.bts -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity -endif - -# wl128x -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X),y) -LINUX_FIRMWARE_FILES += \ - ti-connectivity/wl128x-fw-3.bin \ - ti-connectivity/wl128x-fw-ap.bin \ - ti-connectivity/wl128x-fw-plt-3.bin \ - ti-connectivity/wl128x-fw.bin \ - ti-connectivity/wl128x-nvs.bin \ - ti-connectivity/wl127x-nvs.bin \ - ti-connectivity/wl128x-fw-4-mr.bin \ - ti-connectivity/wl128x-fw-4-plt.bin \ - ti-connectivity/wl128x-fw-4-sr.bin \ - ti-connectivity/wl128x-fw-5-mr.bin \ - ti-connectivity/wl128x-fw-5-plt.bin \ - ti-connectivity/wl128x-fw-5-sr.bin \ - ti-connectivity/TIInit_7.2.31.bts -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity -endif - -# wl18xx -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX),y) -LINUX_FIRMWARE_FILES += \ - ti-connectivity/wl18xx-fw.bin \ - ti-connectivity/wl18xx-fw-2.bin \ - ti-connectivity/wl18xx-fw-3.bin \ - ti-connectivity/wl18xx-fw-4.bin \ - ti-connectivity/wl127x-nvs.bin \ - ti-connectivity/TIInit_7.2.31.bts -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_WIL6210),y) -LINUX_FIRMWARE_FILES += wil6210.* -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.QualcommAtheros_ath10k -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22260),y) -LINUX_FIRMWARE_FILES += iwlwifi-cc-a0-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160),y) -LINUX_FIRMWARE_FILES += iwlwifi-3160-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168),y) -LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -# iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode, -# iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to -# different versions of the firmware API. For now, we only install the -# most recent one. -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000),y) -LINUX_FIRMWARE_FILES += iwlwifi-5000-5.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A),y) -LINUX_FIRMWARE_FILES += iwlwifi-6000g2a-6.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B),y) -LINUX_FIRMWARE_FILES += iwlwifi-6000g2b-6.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260),y) -LINUX_FIRMWARE_FILES += iwlwifi-7260-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265),y) -LINUX_FIRMWARE_FILES += iwlwifi-7265-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D),y) -LINUX_FIRMWARE_FILES += iwlwifi-7265D-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C),y) -LINUX_FIRMWARE_FILES += iwlwifi-8000C-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265),y) -LINUX_FIRMWARE_FILES += iwlwifi-8265-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_9XXX),y) -LINUX_FIRMWARE_FILES += iwlwifi-9???-*.ucode -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BROADCOM_TIGON3),y) -LINUX_FIRMWARE_FILES += tigon/* -# No license file; the license is in the file WHENCE -# which is installed unconditionally -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BNX2X),y) -LINUX_FIRMWARE_FILES += bnx2x/* -# No license file; the license is in the file WHENCE -# which is installed unconditionally -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4),y) -LINUX_FIRMWARE_FILES += cxgb4/t4fw*.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5),y) -LINUX_FIRMWARE_FILES += cxgb4/t5fw*.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_E100),y) -LINUX_FIRMWARE_FILES += e100/*.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.e100 -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MICROCHIP_VSC85XX_PHY),y) -LINUX_FIRMWARE_FILES += microchip/mscc_vsc85*.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.microchip -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_4X),y) -LINUX_FIRMWARE_FILES += \ - qed/qed_init_values_zipped-*.bin -# No license file; the license is in the file WHENCE -# which is installed unconditionally -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169),y) -LINUX_FIRMWARE_FILES += \ - rtl_nic/rtl8105e-1.fw \ - rtl_nic/rtl8106e-1.fw \ - rtl_nic/rtl8106e-2.fw \ - rtl_nic/rtl8107e-1.fw \ - rtl_nic/rtl8107e-2.fw \ - rtl_nic/rtl8125a-3.fw \ - rtl_nic/rtl8168d-1.fw \ - rtl_nic/rtl8168d-2.fw \ - rtl_nic/rtl8168e-1.fw \ - rtl_nic/rtl8168e-2.fw \ - rtl_nic/rtl8168e-3.fw \ - rtl_nic/rtl8168f-1.fw \ - rtl_nic/rtl8168f-2.fw \ - rtl_nic/rtl8168fp-3.fw \ - rtl_nic/rtl8168g-2.fw \ - rtl_nic/rtl8168g-3.fw \ - rtl_nic/rtl8168h-1.fw \ - rtl_nic/rtl8168h-2.fw \ - rtl_nic/rtl8402-1.fw \ - rtl_nic/rtl8411-1.fw \ - rtl_nic/rtl8411-2.fw -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_XCx000),y) -LINUX_FIRMWARE_FILES += \ - dvb-fe-xc4000-1.4.1.fw \ - dvb-fe-xc5000-1.6.114.fw \ - dvb-fe-xc5000c-4.1.30.7.fw -LINUX_FIRMWARE_ALL_LICENSE_FILES += \ - LICENCE.xc4000 \ - LICENCE.xc5000 \ - LICENCE.xc5000c -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AS102),y) -LINUX_FIRMWARE_FILES += as102_data1_st.hex as102_data2_st.hex -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Abilis -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_DIB0700),y) -LINUX_FIRMWARE_FILES += dvb-usb-dib0700-1.20.fw -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.dib0700 -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ITETECH_IT9135),y) -LINUX_FIRMWARE_FILES += dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.it913x -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK),y) -LINUX_FIRMWARE_FILES += dvb-usb-terratec-h5-drxk.fw -# No license file; the license is in the file WHENCE -# which is installed unconditionally -endif - -# brcm43xx -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX),y) -LINUX_FIRMWARE_FILES += \ - brcm/bcm43xx-0.fw brcm/bcm43xx_hdr-0.fw \ - brcm/bcm4329-fullmac-4.bin brcm/brcmfmac4329-sdio.bin \ - brcm/brcmfmac4330-sdio.bin brcm/brcmfmac4334-sdio.bin \ - brcm/brcmfmac4335-sdio.bin brcm/brcmfmac4339-sdio.bin \ - brcm/brcmfmac4350-pcie.bin brcm/brcmfmac4354-sdio.bin \ - brcm/brcmfmac4356-pcie.bin brcm/brcmfmac4371-pcie.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx -endif - -# brcm43xxx -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX),y) -LINUX_FIRMWARE_FILES += \ - brcm/brcmfmac43143.bin brcm/brcmfmac43143-sdio.bin \ - brcm/brcmfmac43236b.bin brcm/brcmfmac43241b0-sdio.bin \ - brcm/brcmfmac43241b4-sdio.bin brcm/brcmfmac43241b5-sdio.bin \ - brcm/brcmfmac43242a.bin brcm/brcmfmac43340-sdio.bin \ - brcm/brcmfmac43362-sdio.bin brcm/brcmfmac43430-sdio.bin \ - brcm/brcmfmac43430a0-sdio.bin brcm/brcmfmac43455-sdio.bin \ - brcm/brcmfmac43569.bin brcm/brcmfmac43570-pcie.bin \ - brcm/brcmfmac43602-pcie.ap.bin brcm/brcmfmac43602-pcie.bin \ - brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt \ - brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt \ - brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx -endif - -# brcm4366b1 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366B1),y) -LINUX_FIRMWARE_FILES += \ - brcm/brcmfmac4366b-pcie.bin brcm/brcmfmac4366b-pcie.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx -endif - -# brcm4366c0 -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366C0),y) -LINUX_FIRMWARE_FILES += \ - brcm/brcmfmac4366c-pcie.bin brcm/brcmfmac4366c-pcie.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx -endif - -# ql2xxx -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX),y) -LINUX_FIRMWARE_FILES += \ - ql2100_fw.bin ql2200_fw.bin ql2300_fw.bin ql2322_fw.bin \ - ql2400_fw.bin ql2500_fw.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qla2xxx -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_REDPINE_RS9113),y) -LINUX_FIRMWARE_FILES += \ - rsi/rs9113_ap_bt_dual_mode.rps \ - rsi/rs9113_wlan_bt_dual_mode.rps \ - rsi/rs9113_wlan_qspi.rps -# No license file; the license is in the file WHENCE -# which is installed unconditionally -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QAT_DH895XCC),y) -LINUX_FIRMWARE_FILES += qat_895xcc.bin qat_895xcc_mmp.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qat_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QAT_C3XXX),y) -LINUX_FIRMWARE_FILES += qat_c3xxx.bin qat_c3xxx_mmp.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qat_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QAT_C62X),y) -LINUX_FIRMWARE_FILES += qat_c62x.bin qat_c62x_mmp.bin -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qat_firmware -endif - -ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI),y) -LINUX_FIRMWARE_FILES += ti_3410.fw ti_5052.fw \ - mts_cdma.fw mts_gsm.fw mts_edge.fw mts_mt9234mu.fw mts_mt9234zba.fw \ - moxa/moxa-1110.fw moxa/moxa-1130.fw moxa/moxa-1131.fw \ - moxa/moxa-1150.fw moxa/moxa-1151.fw -# Some firmware's license is in the file WHENCE -# which is installed unconditionally -LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.moxa -endif - -ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),) - -define LINUX_FIRMWARE_BUILD_CMDS - cd $(@D) && \ - $(TAR) cf br-firmware.tar $(sort $(LINUX_FIRMWARE_FILES) $(LINUX_FIRMWARE_DIRS)) -endef - -# Most firmware files are under a proprietary license, so no need to -# repeat it for every selections above. Those firmwares that have more -# lax licensing terms may still add them on a per-case basis. -LINUX_FIRMWARE_LICENSE += Proprietary - -# This file contains some licensing information about all the firmware -# files found in the linux-firmware package, so we always add it, even -# for firmwares that have their own licensing terms. -LINUX_FIRMWARE_ALL_LICENSE_FILES += WHENCE - -# Some license files may be listed more than once, so we have to remove -# duplicates -LINUX_FIRMWARE_LICENSE_FILES = $(sort $(LINUX_FIRMWARE_ALL_LICENSE_FILES)) - -# Some firmware are distributed as a symlink, for drivers to load them using a -# defined name other than the real one. Since 9cfefbd7fbda ("Remove duplicate -# symlinks") those symlink aren't distributed in linux-firmware but are created -# automatically by its copy-firmware.sh script during the installation, which -# parses the WHENCE file where symlinks are described. We follow the same logic -# here, adding symlink only for firmwares installed in the target directory. -# -# For testing the presence of firmwares in the target directory we first make -# sure we canonicalize the pointed-to file, to cover the symlinks of the form -# a/foo -> ../b/foo where a/ (the directory where to put the symlink) does -# not yet exist. -define LINUX_FIRMWARE_INSTALL_FW - mkdir -p $(1) - $(TAR) xf $(@D)/br-firmware.tar -C $(1) - cd $(1) ; \ - sed -r -e '/^Link: (.+) -> (.+)$$/!d; s//\1 \2/' $(@D)/WHENCE | \ - while read f d; do \ - if test -f $$(readlink -m $$(dirname $$f)/$$d); then \ - mkdir -p $$(dirname $$f) || exit 1; \ - ln -sf $$d $$f || exit 1; \ - fi ; \ - done -endef - -endif # LINUX_FIRMWARE_FILES || LINUX_FIRMWARE_DIRS - -define LINUX_FIRMWARE_INSTALL_TARGET_CMDS - $(call LINUX_FIRMWARE_INSTALL_FW, $(TARGET_DIR)/lib/firmware) -endef - -define LINUX_FIRMWARE_INSTALL_IMAGES_CMDS - $(call LINUX_FIRMWARE_INSTALL_FW, $(BINARIES_DIR)) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/linux-headers/Config.in.host b/buildroot-2021.05/package/linux-headers/Config.in.host deleted file mode 100644 index b68567de..00000000 --- a/buildroot-2021.05/package/linux-headers/Config.in.host +++ /dev/null @@ -1,376 +0,0 @@ -comment "Kernel Header Options" - -config BR2_PACKAGE_HOST_LINUX_HEADERS - bool - -choice - prompt "Kernel Headers" - default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL - default BR2_KERNEL_HEADERS_5_12 - help - Select the kernel version to get headers from. - - The kernel headers must be at least as old as the oldest - kernel you intend to run on your target. - - If you use Buildroot to build a kernel, then you can use - the sources from that kernel as source for the headers. - - If you choose a custom version of the kernel headers, or - choose to use the same sources as the kernel, you'll have to - select (below) the series of that kernel, so that Buildroot - can show or hide packages that have strong requirements on the - kernel headers. - -config BR2_KERNEL_HEADERS_AS_KERNEL - bool "Same as kernel being built" - depends on BR2_LINUX_KERNEL - select BR2_KERNEL_HEADERS_LATEST if BR2_LINUX_KERNEL_LATEST_VERSION - -config BR2_KERNEL_HEADERS_4_4 - bool "Linux 4.4.x kernel headers" - depends on !BR2_riscv - depends on !BR2_csky - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 - -config BR2_KERNEL_HEADERS_4_9 - bool "Linux 4.9.x kernel headers" - depends on !BR2_riscv - depends on !BR2_csky - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - -config BR2_KERNEL_HEADERS_4_14 - bool "Linux 4.14.x kernel headers" - depends on !BR2_riscv - depends on !BR2_csky - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 - -config BR2_KERNEL_HEADERS_4_19 - bool "Linux 4.19.x kernel headers" - depends on !BR2_csky - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 - -config BR2_KERNEL_HEADERS_5_4 - bool "Linux 5.4.x kernel headers" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - -config BR2_KERNEL_HEADERS_5_10 - bool "Linux 5.10.x kernel headers" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 - -config BR2_KERNEL_HEADERS_5_11 - bool "Linux 5.11.x kernel headers" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 - -config BR2_KERNEL_HEADERS_5_12 - bool "Linux 5.12.x kernel headers" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 - select BR2_KERNEL_HEADERS_LATEST - -config BR2_KERNEL_HEADERS_VERSION - bool "Manually specified Linux version" - help - This option allows you to use a specific official version from - kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ... - - Note: you cannot use this option to select a _longterm_ 2.6 - kernel, because these kernels are not located at the standard - URL at kernel.org. Instead, select "Custom tarball" and - specify the right URL directly. - -config BR2_KERNEL_HEADERS_CUSTOM_TARBALL - bool "Custom tarball" - help - This option allows you to specify a URL pointing to a kernel - source tarball. This URL can use any protocol recognized by - Buildroot, like http://, ftp://, file:// or scp://. - - When pointing to a local tarball using file://, you may want - to use a make variable like $(TOPDIR) to reference the root of - the Buildroot tree. - -config BR2_KERNEL_HEADERS_CUSTOM_GIT - bool "Custom Git repository" - help - This option allows Buildroot to get the Linux kernel source - code from a Git repository. - -endchoice - -# Select this for the latest kernel headers version (for license hashes) -config BR2_KERNEL_HEADERS_LATEST - bool - -config BR2_DEFAULT_KERNEL_VERSION - string "linux version" - depends on BR2_KERNEL_HEADERS_VERSION - help - Specify the version you want to use. - E.G.: 3.6.10 - -config BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION - string "URL of custom kernel tarball" - depends on BR2_KERNEL_HEADERS_CUSTOM_TARBALL - -if BR2_KERNEL_HEADERS_CUSTOM_GIT - -config BR2_KERNEL_HEADERS_CUSTOM_REPO_URL - string "URL of custom repository" - -config BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION - string "Custom repository version" - help - Revision to use in the typical format used by - Git/Mercurial/Subversion E.G. a sha id, a tag, branch, .. - -endif - -choice - bool "Custom kernel headers series" - depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL || \ - BR2_KERNEL_HEADERS_CUSTOM_TARBALL || BR2_KERNEL_HEADERS_CUSTOM_GIT - help - Specify the kernel headers series you manually selected, - above. - - This is used to hide/show some packages that have strict - requirements on the version of kernel headers. - - If your kernel headers are more recent than the latest version - in the choice, then select the latest version. - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12 - bool "5.12.x or later" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11 - bool "5.11.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10 - bool "5.10.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9 - bool "5.9.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8 - bool "5.8.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7 - bool "5.7.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6 - bool "5.6.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5 - bool "5.5.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4 - bool "5.4.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3 - bool "5.3.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2 - bool "5.2.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1 - bool "5.1.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0 - bool "5.0.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20 - bool "4.20.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19 - bool "4.19.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18 - bool "4.18.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17 - bool "4.17.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16 - bool "4.16.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15 - bool "4.15.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14 - bool "4.14.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13 - bool "4.13.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12 - bool "4.12.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11 - bool "4.11.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10 - bool "4.10.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9 - bool "4.9.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8 - bool "4.8.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7 - bool "4.7.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6 - bool "4.6.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5 - bool "4.5.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4 - bool "4.4.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3 - bool "4.3.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2 - bool "4.2.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1 - bool "4.1.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0 - bool "4.0.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19 - bool "3.19.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18 - bool "3.18.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17 - bool "3.17.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16 - bool "3.16.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15 - bool "3.15.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14 - bool "3.14.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13 - bool "3.13.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12 - bool "3.12.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11 - bool "3.11.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10 - bool "3.10.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9 - bool "3.9.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8 - bool "3.8.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7 - bool "3.7.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6 - bool "3.6.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5 - bool "3.5.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4 - bool "3.4.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3 - bool "3.3.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2 - bool "3.2.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1 - bool "3.1.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0 - bool "3.0.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - -config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD - bool "2.6.x" - -endchoice - -config BR2_DEFAULT_KERNEL_HEADERS - string - default "4.4.268" if BR2_KERNEL_HEADERS_4_4 - default "4.9.268" if BR2_KERNEL_HEADERS_4_9 - default "4.14.232" if BR2_KERNEL_HEADERS_4_14 - default "4.19.190" if BR2_KERNEL_HEADERS_4_19 - default "5.4.119" if BR2_KERNEL_HEADERS_5_4 - default "5.10.37" if BR2_KERNEL_HEADERS_5_10 - default "5.11.21" if BR2_KERNEL_HEADERS_5_11 - default "5.12.4" if BR2_KERNEL_HEADERS_5_12 - default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION - default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL - default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ - if BR2_KERNEL_HEADERS_CUSTOM_GIT diff --git a/buildroot-2021.05/package/linux-headers/linux-headers.mk b/buildroot-2021.05/package/linux-headers/linux-headers.mk deleted file mode 100644 index a8d1c2cc..00000000 --- a/buildroot-2021.05/package/linux-headers/linux-headers.mk +++ /dev/null @@ -1,162 +0,0 @@ -################################################################################ -# -# linux-headers -# -################################################################################ - -# This package is used to provide Linux kernel headers for the -# internal toolchain backend. - -# Set variables depending on whether we are using headers from a kernel -# build or a standalone header package. -ifeq ($(BR2_KERNEL_HEADERS_AS_KERNEL),y) -LINUX_HEADERS_CUSTOM_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL)) -LINUX_HEADERS_CUSTOM_GIT = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_GIT)) -LINUX_HEADERS_CUSTOM_HG = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_HG)) -LINUX_HEADERS_CUSTOM_SVN = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_SVN)) -LINUX_HEADERS_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION)) -LINUX_HEADERS_CUSTOM_TARBALL_LOCATION = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION)) -LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) -LINUX_HEADERS_CIP = $(BR2_LINUX_KERNEL_LATEST_CIP_VERSION)$(BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION) -ifneq ($(LINUX_HEADERS_OVERRIDE_SRCDIR),) -$(error LINUX_HEADERS_OVERRIDE_SRCDIR must not be set when BR2_KERNEL_HEADERS_AS_KERNEL=y) -endif -LINUX_HEADERS_OVERRIDE_SRCDIR = $(LINUX_OVERRIDE_SRCDIR) -else # ! BR2_KERNEL_HEADERS_AS_KERNEL -LINUX_HEADERS_CUSTOM_TARBALL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_TARBALL)) -LINUX_HEADERS_CUSTOM_GIT = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_GIT)) -LINUX_HEADERS_CUSTOM_HG = -LINUX_HEADERS_CUSTOM_SVN = -LINUX_HEADERS_VERSION = $(call qstrip,$(BR2_DEFAULT_KERNEL_HEADERS)) -LINUX_HEADERS_CUSTOM_TARBALL_LOCATION = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION)) -LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) -LINUX_HEADERS_CIP = -endif # BR2_KERNEL_HEADERS_AS_KERNEL - -# Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration -ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) -LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) -LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))) -else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y) -LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION)$(BR_FMT_VERSION_git).tar.gz -LINUX_HEADERS_SITE = $(LINUX_HEADERS_REPO_URL) -LINUX_HEADERS_SITE_METHOD = git -else ifeq ($(LINUX_HEADERS_CUSTOM_HG),y) -LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz -LINUX_HEADERS_SITE = $(LINUX_HEADERS_REPO_URL) -LINUX_HEADERS_SITE_METHOD = hg -else ifeq ($(LINUX_HEADERS_CUSTOM_SVN),y) -LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION)$(BR_FMT_VERSION_svn).tar.gz -LINUX_HEADERS_SITE = $(LINUX_HEADERS_REPO_URL) -LINUX_HEADERS_SITE_METHOD = svn -else ifeq ($(LINUX_HEADERS_CIP),y) -LINUX_HEADERS_SOURCE = linux-cip-$(LINUX_HEADERS_VERSION).tar.gz -LINUX_HEADERS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot -else ifneq ($(findstring -rc,$(LINUX_HEADERS_VERSION)),) -# Since 4.12-rc1, -rc kernels are generated from cgit. This also works for -# older -rc kernels. -LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz -LINUX_HEADERS_SITE = https://git.kernel.org/torvalds/t -else -LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz -ifeq ($(findstring x2.6.,x$(LINUX_HEADERS_VERSION)),x2.6.) -LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6 -else -LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v$(firstword $(subst ., ,$(LINUX_HEADERS_VERSION))).x -endif # x2.6 -endif # LINUX_HEADERS_CUSTOM_TARBALL - -# Apply any necessary patches if we are using the headers from a kernel -# build. -ifeq ($(BR2_KERNEL_HEADERS_AS_KERNEL),y) -LINUX_HEADERS_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH)) \ - $(wildcard $(addsuffix /linux,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR)))) - -# We rely on the generic package infrastructure to download and apply -# remote patches (downloaded from ftp, http or https). For local -# patches, we can't rely on that infrastructure, because there might -# be directories in the patch list (unlike for other packages). -LINUX_HEADERS_PATCH = $(filter ftp://% http://% https://%,$(LINUX_HEADERS_PATCHES)) - -define LINUX_HEADERS_APPLY_LOCAL_PATCHES - for p in $(filter-out ftp://% http://% https://%,$(LINUX_HEADERS_PATCHES)) ; do \ - if test -d $$p ; then \ - $(APPLY_PATCHES) $(@D) $$p \*.patch || exit 1 ; \ - else \ - $(APPLY_PATCHES) $(@D) `dirname $$p` `basename $$p` || exit 1; \ - fi \ - done -endef - -LINUX_HEADERS_POST_PATCH_HOOKS += LINUX_HEADERS_APPLY_LOCAL_PATCHES -endif # BR2_KERNEL_HEADERS_AS_KERNEL - -# Skip hash checking for custom kernel headers. -ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR2_KERNEL_HEADERS_CUSTOM_TARBALL)$(BR2_KERNEL_HEADERS_CUSTOM_GIT),y) -BR_NO_CHECK_HASH_FOR += $(LINUX_HEADERS_SOURCE) -endif - -# linux-headers really is the same as the linux package -LINUX_HEADERS_DL_SUBDIR = linux - -LINUX_HEADERS_LICENSE = GPL-2.0 -ifeq ($(BR2_KERNEL_HEADERS_LATEST),y) -LINUX_HEADERS_LICENSE_FILES = \ - COPYING \ - LICENSES/preferred/GPL-2.0 \ - LICENSES/exceptions/Linux-syscall-note -endif -LINUX_HEADERS_CPE_ID_VENDOR = linux -LINUX_HEADERS_CPE_ID_PRODUCT = linux_kernel - -LINUX_HEADERS_INSTALL_STAGING = YES - -# linux-headers is part of the toolchain so disable the toolchain dependency -LINUX_HEADERS_ADD_TOOLCHAIN_DEPENDENCY = NO - -# For some architectures (eg. Arc, Cris, Hexagon, ia64, parisc, -# score and xtensa), the Linux buildsystem tries to call the -# cross-compiler, although it is not needed at all. -# This results in seemingly errors like: -# [...]/scripts/gcc-version.sh: line 26: arc-linux-uclibc-gcc: command not found -# Those can be safely ignored. - -# This step is required to have a separate linux headers location for -# uClibc building. This way uClibc doesn't modify linux headers on installation -# of "its" headers -define LINUX_HEADERS_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_MAKE_ENV) $(MAKE) \ - ARCH=$(KERNEL_ARCH) \ - HOSTCC="$(HOSTCC)" \ - HOSTCFLAGS="$(HOSTCFLAGS)" \ - HOSTCXX="$(HOSTCXX)" \ - INSTALL_HDR_PATH=$(@D)/usr \ - headers_install) -endef - -define LINUX_HEADERS_INSTALL_STAGING_CMDS - (cd $(@D); \ - $(TARGET_MAKE_ENV) $(MAKE) \ - ARCH=$(KERNEL_ARCH) \ - HOSTCC="$(HOSTCC)" \ - HOSTCFLAGS="$(HOSTCFLAGS)" \ - HOSTCXX="$(HOSTCXX)" \ - INSTALL_HDR_PATH=$(STAGING_DIR)/usr \ - headers_install) -endef - -ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR2_KERNEL_HEADERS_AS_KERNEL)$(BR2_KERNEL_HEADERS_CUSTOM_TARBALL)$(BR2_KERNEL_HEADERS_CUSTOM_GIT),y) -# In this case, we must always do a 'loose' test, because they are all -# custom versions which may be later than what we know right now. -define LINUX_HEADERS_CHECK_VERSION - $(call check_kernel_headers_version,\ - $(BUILD_DIR),\ - $(STAGING_DIR),\ - $(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)),\ - loose) -endef -LINUX_HEADERS_POST_INSTALL_STAGING_HOOKS += LINUX_HEADERS_CHECK_VERSION -endif - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/linux-pam/Config.in b/buildroot-2021.05/package/linux-pam/Config.in deleted file mode 100644 index 84aee5cd..00000000 --- a/buildroot-2021.05/package/linux-pam/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_LINUX_PAM - bool "linux-pam" - depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_FLEX - help - A Security Framework that Provides Authentication for - Applications - - http://linux-pam.org - -comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library" - depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/linux-pam/linux-pam.hash b/buildroot-2021.05/package/linux-pam/linux-pam.hash deleted file mode 100644 index be7cabf6..00000000 --- a/buildroot-2021.05/package/linux-pam/linux-pam.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally computed hashes after checking signature at -# https://github.com/linux-pam/linux-pam/releases/download/v1.5.0/Linux-PAM-1.5.1.tar.xz.asc -# signed with the key 8C6BFD92EE0F42EDF91A6A736D1A7F052E5924BB -sha256 201d40730b1135b1b3cdea09f2c28ac634d73181ccd0172ceddee3649c5792fc Linux-PAM-1.5.1.tar.xz -# Locally computed -sha256 133d98e7a2ab3ffd330b4debb0bfc10fea21e4b2b5a5b09de2e924293be5ff08 Copyright diff --git a/buildroot-2021.05/package/linux-pam/linux-pam.mk b/buildroot-2021.05/package/linux-pam/linux-pam.mk deleted file mode 100644 index 9c0815db..00000000 --- a/buildroot-2021.05/package/linux-pam/linux-pam.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# linux-pam -# -################################################################################ - -LINUX_PAM_VERSION = 1.5.1 -LINUX_PAM_SOURCE = Linux-PAM-$(LINUX_PAM_VERSION).tar.xz -LINUX_PAM_SITE = https://github.com/linux-pam/linux-pam/releases/download/v$(LINUX_PAM_VERSION) -LINUX_PAM_INSTALL_STAGING = YES -LINUX_PAM_CONF_OPTS = \ - --disable-prelude \ - --disable-isadir \ - --disable-nis \ - --disable-db \ - --disable-regenerate-docu \ - --enable-securedir=/lib/security \ - --libdir=/lib -LINUX_PAM_DEPENDENCIES = flex host-flex host-pkgconf \ - $(TARGET_NLS_DEPENDENCIES) -LINUX_PAM_LICENSE = BSD-3-Clause -LINUX_PAM_LICENSE_FILES = Copyright -LINUX_PAM_MAKE_OPTS += LIBS=$(TARGET_NLS_LIBS) -LINUX_PAM_CPE_ID_VENDOR = linux-pam - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -LINUX_PAM_CONF_OPTS += --enable-selinux -LINUX_PAM_DEPENDENCIES += libselinux -define LINUX_PAM_SELINUX_PAMFILE_TWEAK - $(SED) 's/^# \(.*pam_selinux.so.*\)$$/\1/' \ - $(TARGET_DIR)/etc/pam.d/login -endef -else -LINUX_PAM_CONF_OPTS += --disable-selinux -endif - -ifeq ($(BR2_PACKAGE_AUDIT),y) -LINUX_PAM_CONF_OPTS += --enable-audit -LINUX_PAM_DEPENDENCIES += audit -else -LINUX_PAM_CONF_OPTS += --disable-audit -endif - -# Install default pam config (deny everything except login) -define LINUX_PAM_INSTALL_CONFIG - $(INSTALL) -m 0644 -D package/linux-pam/login.pam \ - $(TARGET_DIR)/etc/pam.d/login - $(INSTALL) -m 0644 -D package/linux-pam/other.pam \ - $(TARGET_DIR)/etc/pam.d/other - $(LINUX_PAM_SELINUX_PAMFILE_TWEAK) -endef - -LINUX_PAM_POST_INSTALL_TARGET_HOOKS += LINUX_PAM_INSTALL_CONFIG - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/linux-tools/Config.in b/buildroot-2021.05/package/linux-tools/Config.in deleted file mode 100644 index ceb58c66..00000000 --- a/buildroot-2021.05/package/linux-tools/Config.in +++ /dev/null @@ -1,157 +0,0 @@ -menu "Linux Kernel Tools" - -# No prompt, this is sourced by linux/Config.in as this -# is no real package and really belongs to the kernel. -config BR2_PACKAGE_LINUX_TOOLS - bool - -config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER - bool "cpupower" - select BR2_PACKAGE_LINUX_TOOLS - select BR2_PACKAGE_PCIUTILS - help - cpupower is a collection of tools to examine and tune power - saving related features of your processor. - -config BR2_PACKAGE_LINUX_TOOLS_GPIO - bool "gpio" - select BR2_PACKAGE_LINUX_TOOLS - help - gpio is a collection of tools to get information about, - control and monitor gpios present on system. - - These tools use new gpio ABI which will deprecate sysfs gpio - interface in the future. - - These tools are available only from kernel version 4.8. - -config BR2_PACKAGE_LINUX_TOOLS_IIO - bool "iio" - select BR2_PACKAGE_LINUX_TOOLS - help - iio is a collection of tools to get information about, - control and monitor iio devices present on system. - - These tools are available only from kernel version 4.7. - -config BR2_PACKAGE_LINUX_TOOLS_PCI - bool "pci" - select BR2_PACKAGE_LINUX_TOOLS - help - pcitest is a tool for testing capabilities related to a - PCI Endpoint (only works with specific Endpoints). - - These tools are available only from kernel version 4.20. - -config BR2_PACKAGE_LINUX_TOOLS_PERF - bool "perf" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_LINUX_TOOLS - help - perf (sometimes "Perf Events" or perf tools, originally - "Performance Counters for Linux") - is a performance - analyzing tool in Linux, available from kernel version - 2.6.31. User-space controlling utility, called 'perf' has - git-like interface with subcommands. It is capable of - statistical profiling of entire system (both kernel and user - code), single CPU or severals threads. - - This will build and install the userspace 'perf' - command. - - Your kernel must have CONFIG_PERF_EVENTS enabled to use perf - profiling. Buildroot automatically enables this in the kernel - configuration. - - https://perf.wiki.kernel.org/ - -if BR2_PACKAGE_LINUX_TOOLS_PERF - -config BR2_PACKAGE_LINUX_TOOLS_PERF_TUI - bool "enable perf TUI" - depends on BR2_USE_MMU # slang - select BR2_PACKAGE_SLANG - help - Enable the TUI interface for perf which requires a TTY and - enables zooming into DSOs and threads as well as other - features. - -endif - -config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS - bool"selftests" - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash - depends on BR2_USE_MMU # bash - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LINUX_TOOLS - select BR2_PACKAGE_BASH # runtime - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_NCURSES_TARGET_PROGS # runtime (tput) - select BR2_PACKAGE_KMOD - select BR2_PACKAGE_KMOD_TOOLS # runtime (modprobe -n) - select BR2_PACKAGE_POPT - select BR2_PACKAGE_LIBCAP_NG - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS # runtime (taskset) - help - Build and install (to /usr/lib/kselftests) kernel selftests. - - Use of this option implies you know the process of using and - compiling the kernel selftests. The Makefile to build and - install these is very noisy and may appear to cause your - build to fail for strange reasons. - - This is very much a use at your risk option and may not work - for every setup or every architecture. - -comment "selftests needs BR2_PACKAGE_BUSYBOX_SHOW_OTHERS and a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS || BR2_STATIC_LIBS - -config BR2_PACKAGE_LINUX_TOOLS_TMON - bool "tmon" - select BR2_PACKAGE_LINUX_TOOLS - select BR2_PACKAGE_NCURSES - help - tmon is a terminal-based tool (using curses) that allows the - user to access thermal information about the system. - -config BR2_PACKAGE_LINUX_TOOLS_HV - bool "hv" - depends on BR2_i386 || BR2_x86_64 - select BR2_PACKAGE_LINUX_TOOLS - select BR2_PACKAGE_LINUX_TOOLS_HV_KVP_DAEMON if !BR2_PACKAGE_LINUX_TOOLS_HV_HAS_ONE - help - Microsoft HyperV integration services - - Relevant kernel configuration options: CONFIG_HYPERV, - CONFIG_HYPERV_UTILS. - -if BR2_PACKAGE_LINUX_TOOLS_HV - -config BR2_PACKAGE_LINUX_TOOLS_HV_HAS_ONE - bool - -config BR2_PACKAGE_LINUX_TOOLS_HV_KVP_DAEMON - bool "hypervkvpd (hv_kvp_daemon)" - help - HyperV uses hypervkvpd (Key/Value Pair daemon) to retrieve - status information from your virtualized guest OS - -config BR2_PACKAGE_LINUX_TOOLS_HV_FCOPY_DAEMON - bool "hypervfcopyd (hv_fcopy_daemon)" - select BR2_PACKAGE_LINUX_TOOLS_HV_HAS_ONE - help - HyperV uses hypervfcopyd (File Copy daemon) to easily transfer - files to and from your virtualized guest OS - -config BR2_PACKAGE_LINUX_TOOLS_HV_VSS_DAEMON - bool "hypervvssd (hv_vss_daemon)" - select BR2_PACKAGE_LINUX_TOOLS_HV_HAS_ONE - help - HyperV uses hypervvssd (Volume Snapshot Service daemon) to - freeze your filesystems during snapshots and backups - -endif # BR2_PACKAGE_LINUX_TOOLS_HV - -endmenu diff --git a/buildroot-2021.05/package/linux-tools/linux-tool-perf.mk.in b/buildroot-2021.05/package/linux-tools/linux-tool-perf.mk.in deleted file mode 100644 index efa747cf..00000000 --- a/buildroot-2021.05/package/linux-tools/linux-tool-perf.mk.in +++ /dev/null @@ -1,173 +0,0 @@ -################################################################################ -# -# perf -# -################################################################################ - -LINUX_TOOLS += perf - -PERF_DEPENDENCIES = host-flex host-bison - -ifeq ($(KERNEL_ARCH),x86_64) -PERF_ARCH=x86 -else -PERF_ARCH=$(KERNEL_ARCH) -endif - -PERF_MAKE_FLAGS = \ - $(LINUX_MAKE_FLAGS) \ - JOBS=$(PARALLEL_JOBS) \ - ARCH=$(PERF_ARCH) \ - DESTDIR=$(TARGET_DIR) \ - prefix=/usr \ - WERROR=0 \ - NO_GTK2=1 \ - NO_LIBPERL=1 \ - NO_LIBPYTHON=1 \ - NO_LIBBIONIC=1 - -# We need to pass an argument to ld for setting the emulation when -# building for MIPS architecture, otherwise the default one will always -# be used and the compilation for most variants will fail. -ifeq ($(BR2_mips),y) -PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32btsmip" -else ifeq ($(BR2_mipsel),y) -PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32ltsmip" -else ifeq ($(BR2_mips64),y) -ifeq ($(BR2_MIPS_NABI32),y) -PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32btsmipn32" -else -PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf64btsmip" -endif -else ifeq ($(BR2_mips64el),y) -ifeq ($(BR2_MIPS_NABI32),y) -PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32ltsmipn32" -else -PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf64ltsmip" -endif -endif - -# The call to backtrace() function fails for ARC, because for some -# reason the unwinder from libgcc returns early. Thus the usage of -# backtrace() should be disabled in perf explicitly: at build time -# backtrace() appears to be available, but it fails at runtime: the -# backtrace will contain only several functions from the top of stack, -# instead of the complete backtrace. -ifeq ($(BR2_arc),y) -PERF_MAKE_FLAGS += NO_BACKTRACE=1 -endif - -ifeq ($(BR2_PACKAGE_LINUX_TOOLS_PERF_TUI),y) -PERF_DEPENDENCIES += slang -else -PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1 -endif - -ifeq ($(BR2_PACKAGE_AUDIT),y) -PERF_DEPENDENCIES += audit -else -PERF_MAKE_FLAGS += NO_LIBAUDIT=1 -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -PERF_DEPENDENCIES += zstd -endif - -ifeq ($(BR2_PACKAGE_LIBUNWIND),y) -PERF_DEPENDENCIES += libunwind -else -PERF_MAKE_FLAGS += NO_LIBUNWIND=1 -endif - -ifeq ($(BR2_PACKAGE_NUMACTL),y) -PERF_DEPENDENCIES += numactl -else -PERF_MAKE_FLAGS += NO_LIBNUMA=1 -endif - -ifeq ($(BR2_PACKAGE_ELFUTILS),y) -PERF_DEPENDENCIES += elfutils -else -PERF_MAKE_FLAGS += NO_LIBELF=1 NO_DWARF=1 -endif - -ifeq ($(BR2_PACKAGE_BINUTILS),y) -PERF_DEPENDENCIES += binutils -else -PERF_MAKE_FLAGS += NO_DEMANGLE=1 -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -PERF_DEPENDENCIES += openssl -else -PERF_MAKE_FLAGS += NO_LIBCRYPTO=1 -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -PERF_DEPENDENCIES += zlib -else -PERF_MAKE_FLAGS += NO_ZLIB=1 -endif - -# lzma is provided by xz -ifeq ($(BR2_PACKAGE_XZ),y) -PERF_DEPENDENCIES += xz -else -PERF_MAKE_FLAGS += NO_LZMA=1 -endif - -# We really do not want to build the perf documentation, because it -# has stringent requirement on the documentation generation tools, -# like xmlto and asciidoc), which may be lagging behind on some -# distributions. -# We name it 'GNUmakefile' so that GNU make will use it instead of -# the existing 'Makefile'. -define PERF_DISABLE_DOCUMENTATION - if [ -f $(LINUX_DIR)/tools/perf/Documentation/Makefile ]; then \ - printf "%%:\n\t@:\n" >$(LINUX_DIR)/tools/perf/Documentation/GNUmakefile; \ - fi -endef -LINUX_POST_PATCH_HOOKS += PERF_DISABLE_DOCUMENTATION - -# O must be redefined here to overwrite the one used by Buildroot for -# out of tree build. We build perf in $(LINUX_DIR)/tools/perf/ and not just -# $(LINUX_DIR) so that it isn't built in the root directory of the kernel -# sources. -define PERF_BUILD_CMDS - $(Q)if test ! -f $(LINUX_DIR)/tools/perf/Makefile ; then \ - echo "Your kernel version is too old and does not have the perf tool." ; \ - echo "At least kernel 2.6.31 must be used." ; \ - exit 1 ; \ - fi - $(Q)if test "$(BR2_PACKAGE_ELFUTILS)" = "" ; then \ - if ! grep -q NO_LIBELF $(LINUX_DIR)/tools/perf/Makefile* ; then \ - if ! test -r $(LINUX_DIR)/tools/perf/config/Makefile ; then \ - echo "The perf tool in your kernel cannot be built without libelf." ; \ - echo "Either upgrade your kernel to >= 3.7, or enable the elfutils package." ; \ - exit 1 ; \ - fi \ - fi \ - fi - $(Q)if test "$(BR2_PACKAGE_LINUX_TOOLS_PERF_TUI)" = "y" ; then \ - if ! grep -q NO_SLANG $(LINUX_DIR)/tools/perf/Makefile* ; then \ - echo "The perf tool in your kernel cannot be build with the TUI." ; \ - echo "Either upgrade your kernel to >= 3.10, or disable the TUI." ; \ - exit 1 ; \ - fi \ - fi - $(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \ - -C $(LINUX_DIR)/tools/perf O=$(LINUX_DIR)/tools/perf/ -endef - -# After installation, we remove the Perl and Python scripts from the -# target. -define PERF_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \ - -C $(LINUX_DIR)/tools/perf O=$(LINUX_DIR)/tools/perf/ install - $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/ - $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/tests/ -endef - -define PERF_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS) -endef diff --git a/buildroot-2021.05/package/linux-tools/linux-tool-selftests.mk.in b/buildroot-2021.05/package/linux-tools/linux-tool-selftests.mk.in deleted file mode 100644 index c4e5bf0f..00000000 --- a/buildroot-2021.05/package/linux-tools/linux-tool-selftests.mk.in +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# selftests -# -################################################################################ - -LINUX_TOOLS += selftests - -ifeq ($(KERNEL_ARCH),x86_64) -SELFTESTS_ARCH=x86 -else -ifeq ($(KERNEL_ARCH),i386) -SELFTESTS_ARCH=x86 -else -SELFTESTS_ARCH=$(KERNEL_ARCH) -endif -endif - -SELFTESTS_DEPENDENCIES = libcap-ng popt - -SELFTESTS_MAKE_FLAGS = \ - $(LINUX_MAKE_FLAGS) \ - ARCH=$(SELFTESTS_ARCH) - -# O must be redefined here to overwrite the one used by Buildroot for -# out of tree build. We build the selftests in $(LINUX_DIR)/tools/selftests and -# not just $(LINUX_DIR) so that it isn't built in the root directory of the kernel -# sources. -# -# The headers_install step here is important as some kernel selftests use a -# hardcoded CFLAGS to find kernel headers e.g: -# CFLAGS += -I../../../../usr/include/ -# The headers_install target will install the kernel headers locally inside -# the Linux build dir -define SELFTESTS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(LINUX_DIR) $(SELFTESTS_MAKE_FLAGS) \ - headers_install - $(TARGET_MAKE_ENV) $(MAKE1) -C $(LINUX_DIR)/tools/testing/selftests \ - $(SELFTESTS_MAKE_FLAGS) O=$(LINUX_DIR)/tools/testing/selftests -endef - -define SELFTESTS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(LINUX_DIR)/tools/testing/selftests \ - $(SELFTESTS_MAKE_FLAGS) O=$(LINUX_DIR)/tools/testing/selftests \ - INSTALL_PATH=$(TARGET_DIR)/usr/lib/kselftests install -endef diff --git a/buildroot-2021.05/package/linuxconsoletools/linuxconsoletools.hash b/buildroot-2021.05/package/linuxconsoletools/linuxconsoletools.hash deleted file mode 100644 index caacf70e..00000000 --- a/buildroot-2021.05/package/linuxconsoletools/linuxconsoletools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 95d112f06393806116341d593bda002c8bc44119c1538407623268fed90d8c34 linuxconsoletools-1.7.0.tar.bz2 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/linuxconsoletools/linuxconsoletools.mk b/buildroot-2021.05/package/linuxconsoletools/linuxconsoletools.mk deleted file mode 100644 index f26d874d..00000000 --- a/buildroot-2021.05/package/linuxconsoletools/linuxconsoletools.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# linuxconsoletools -# -################################################################################ - -LINUXCONSOLETOOLS_VERSION = 1.7.0 -LINUXCONSOLETOOLS_SOURCE = linuxconsoletools-$(LINUXCONSOLETOOLS_VERSION).tar.bz2 -LINUXCONSOLETOOLS_SITE = https://downloads.sourceforge.net/project/linuxconsole -LINUXCONSOLETOOLS_LICENSE = GPL-2.0+ -LINUXCONSOLETOOLS_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH),y) -LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_INPUTATTACH=1 -endif - -ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK),y) -LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_JOYSTICK=1 -endif - -ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK),y) -LINUXCONSOLETOOLS_MAKE_OPTS += \ - ENABLE_FORCEFEEDBACK=1 \ - CFLAGS="$(TARGET_CFLAGS) -std=gnu99" -LINUXCONSOLETOOLS_DEPENDENCIES += sdl2 host-pkgconf -endif - -define LINUXCONSOLETOOLS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(LINUXCONSOLETOOLS_MAKE_OPTS) -endef - -define LINUXCONSOLETOOLS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(LINUXCONSOLETOOLS_MAKE_OPTS) \ - DESTDIR="$(TARGET_DIR)" \ - PREFIX=/usr \ - install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/linuxptp/linuxptp.hash b/buildroot-2021.05/package/linuxptp/linuxptp.hash deleted file mode 100644 index 4f8a1f89..00000000 --- a/buildroot-2021.05/package/linuxptp/linuxptp.hash +++ /dev/null @@ -1,9 +0,0 @@ -# From https://sourceforge.net/projects/linuxptp/files/v3.0/ -sha1 9a3869dbd322252c9a6bc0dbdfe8941586810a7f linuxptp-3.1.tgz -md5 2264cb69c9af947028835c12c89a7572 linuxptp-3.1.tgz - -# Locally computed: -sha256 f58f5b11cf14dc7c4f7c9efdfb27190e43d02cf20c3525f6639edac10528ce7d linuxptp-3.1.tgz - -# Hash for license file: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/linuxptp/linuxptp.mk b/buildroot-2021.05/package/linuxptp/linuxptp.mk deleted file mode 100644 index f91be921..00000000 --- a/buildroot-2021.05/package/linuxptp/linuxptp.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# linuxptp -# -################################################################################ - -LINUXPTP_VERSION = 3.1 -LINUXPTP_SOURCE = linuxptp-$(LINUXPTP_VERSION).tgz -LINUXPTP_SITE = http://downloads.sourceforge.net/linuxptp -LINUXPTP_LICENSE = GPL-2.0+ -LINUXPTP_LICENSE_FILES = COPYING - -LINUXPTP_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - KBUILD_OUTPUT=$(STAGING_DIR) - -LINUXPTP_MAKE_OPTS = \ - prefix=/usr \ - EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ - EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" - -define LINUXPTP_BUILD_CMDS - $(LINUXPTP_MAKE_ENV) $(MAKE) $(LINUXPTP_MAKE_OPTS) -C $(@D) all -endef - -define LINUXPTP_INSTALL_TARGET_CMDS - $(LINUXPTP_MAKE_ENV) $(MAKE) $(LINUXPTP_MAKE_OPTS) \ - DESTDIR=$(TARGET_DIR) -C $(@D) install - - $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/linuxptp.cfg \ - $(TARGET_DIR)/etc/linuxptp.cfg -endef - -define LINUXPTP_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D $(LINUXPTP_PKGDIR)/S65ptp4l \ - $(TARGET_DIR)/etc/init.d/S65ptp4l - $(INSTALL) -m 755 -D $(LINUXPTP_PKGDIR)/S66phc2sys \ - $(TARGET_DIR)/etc/init.d/S66phc2sys -endef - -define LINUXPTP_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/ptp4l.service \ - $(TARGET_DIR)/usr/lib/systemd/system/ptp4l.service - $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/phc2sys.service \ - $(TARGET_DIR)/usr/lib/systemd/system/phc2sys.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/lirc-tools/lirc-tools.mk b/buildroot-2021.05/package/lirc-tools/lirc-tools.mk deleted file mode 100644 index d66f4e99..00000000 --- a/buildroot-2021.05/package/lirc-tools/lirc-tools.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# lirc-tools -# -################################################################################ - -LIRC_TOOLS_VERSION = 0.10.1 -LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2 -LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION) -LIRC_TOOLS_LICENSE = GPL-2.0+ -LIRC_TOOLS_LICENSE_FILES = COPYING -LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf host-python3 -LIRC_TOOLS_INSTALL_STAGING = YES -# Patching configure.ac and Makefile.am -LIRC_TOOLS_AUTORECONF = YES - -LIRC_TOOLS_CONF_ENV = XSLTPROC=yes HAVE_WORKING_POLL=yes -LIRC_TOOLS_CONF_OPTS = --without-x --enable-devinput --enable-uinput - -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4),y) -LIRC_TOOLS_CONF_ENV += \ - DEVINPUT_HEADER=$(STAGING_DIR)/usr/include/linux/input-event-codes.h -else -LIRC_TOOLS_CONF_ENV += \ - DEVINPUT_HEADER=$(STAGING_DIR)/usr/include/linux/input.h -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -LIRC_TOOLS_DEPENDENCIES += udev -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -LIRC_TOOLS_DEPENDENCIES += alsa-lib -endif - -ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) -LIRC_TOOLS_DEPENDENCIES += libusb-compat -endif - -ifeq ($(BR2_PACKAGE_PORTAUDIO),y) -LIRC_TOOLS_DEPENDENCIES += portaudio -endif - -ifeq ($(BR2_PACKAGE_LIBFTDI1),y) -LIRC_TOOLS_DEPENDENCIES += libftdi1 -endif - -ifeq ($(BR2_PACKAGE_PYTHON3),y) -LIRC_TOOLS_DEPENDENCIES += python3 host-python3-setuptools -LIRC_TOOLS_MAKE_ENV += SETUPTOOLS_ENV='$(PKG_PYTHON_SETUPTOOLS_ENV)' -endif - -define LIRC_TOOLS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \ - $(TARGET_DIR)/etc/init.d/S25lircd -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/llvm/Config.in b/buildroot-2021.05/package/llvm/Config.in deleted file mode 100644 index 1d21d879..00000000 --- a/buildroot-2021.05/package/llvm/Config.in +++ /dev/null @@ -1,60 +0,0 @@ -config BR2_PACKAGE_LLVM_ARCH_SUPPORTS - bool - default y if BR2_i386 - default y if BR2_x86_64 - default y if BR2_aarch64 - default y if BR2_arm || BR2_armeb - -config BR2_PACKAGE_LLVM_TARGET_ARCH - string - default "AArch64" if BR2_aarch64 - default "ARM" if BR2_arm || BR2_armeb - default "X86" if BR2_i386 || BR2_x86_64 - -config BR2_PACKAGE_LLVM - bool "llvm" - depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future - depends on !BR2_STATIC_LIBS - depends on BR2_USE_WCHAR # std::wstring - help - The LLVM Project is a collection of modular and reusable - compiler and toolchain technologies. - - http://llvm.org - -if BR2_PACKAGE_LLVM - -config BR2_PACKAGE_LLVM_AMDGPU - bool "AMDGPU backend" - help - Build AMDGPU target. Select this option if you are going - to install mesa3d with llvm and use Gallium Radeon driver. - -config BR2_PACKAGE_LLVM_RTTI - bool "enable rtti" - help - Build LLVM with run-time type information. LLVM can be built - without rtti, but turning it off changes the ABI of C++ - programs. - - This features is needed to build the Gallium Nouveau driver - or the Clover OpenCL state tracker when llvm support is - enabled. - - https://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html - -endif - -comment "llvm needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library" - depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ - || BR2_STATIC_LIBS || !BR2_USE_WCHAR - -comment "llvm needs a toolchain not affected by GCC bug 64735" - depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/llvm/llvm.mk b/buildroot-2021.05/package/llvm/llvm.mk deleted file mode 100644 index 7d60fe7f..00000000 --- a/buildroot-2021.05/package/llvm/llvm.mk +++ /dev/null @@ -1,298 +0,0 @@ -################################################################################ -# -# llvm -# -################################################################################ - -# LLVM, Clang and lld should be version bumped together -LLVM_VERSION = 9.0.1 -LLVM_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_VERSION) -LLVM_SOURCE = llvm-$(LLVM_VERSION).src.tar.xz -LLVM_LICENSE = Apache-2.0 with exceptions -LLVM_LICENSE_FILES = LICENSE.TXT -LLVM_CPE_ID_VENDOR = llvm -LLVM_SUPPORTS_IN_SOURCE_BUILD = NO -LLVM_INSTALL_STAGING = YES - -# LLVM >= 9.0 can use python3 to build. -HOST_LLVM_DEPENDENCIES = host-python3 -LLVM_DEPENDENCIES = host-llvm - -# LLVM >= 9.0 will soon require C++14 support, building llvm 8.x using a -# toolchain using gcc < 5.1 gives an error but actually still works. Setting -# this option makes it still build with gcc >= 4.8. -# https://reviews.llvm.org/D57264 -HOST_LLVM_CONF_OPTS += -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON -LLVM_CONF_OPTS += -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON - -# Don't build clang libcxx libcxxabi lldb compiler-rt lld polly as llvm subprojects -# This flag assumes that projects are checked out side-by-side and not nested -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_PROJECTS="" -LLVM_CONF_OPTS += -DLLVM_ENABLE_PROJECTS="" - -HOST_LLVM_CONF_OPTS += -DLLVM_CCACHE_BUILD=$(if $(BR2_CCACHE),ON,OFF) -LLVM_CONF_OPTS += -DLLVM_CCACHE_BUILD=$(if $(BR2_CCACHE),ON,OFF) - -# This option prevents AddLLVM.cmake from adding $ORIGIN/../lib to -# binaries. Otherwise, llvm-config (host variant installed in STAGING) -# will try to use target's libc. -HOST_LLVM_CONF_OPTS += -DCMAKE_INSTALL_RPATH="$(HOST_DIR)/lib" - -# Get target architecture -LLVM_TARGET_ARCH = $(call qstrip,$(BR2_PACKAGE_LLVM_TARGET_ARCH)) - -# Build backend for target architecture. This include backends like AMDGPU. -LLVM_TARGETS_TO_BUILD = $(LLVM_TARGET_ARCH) -HOST_LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" -LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" - -# LLVM target to use for native code generation. This is required for JIT generation. -# It must be set to LLVM_TARGET_ARCH for host and target, otherwise we get -# "No available targets are compatible for this triple" with llvmpipe when host -# and target architectures are different. -HOST_LLVM_CONF_OPTS += -DLLVM_TARGET_ARCH=$(LLVM_TARGET_ARCH) -LLVM_CONF_OPTS += -DLLVM_TARGET_ARCH=$(LLVM_TARGET_ARCH) - -# Build AMDGPU backend -# We need to build AMDGPU backend for both host and target because -# llvm-config --targets built (host variant installed in STAGING) will -# output only $(LLVM_TARGET_ARCH) if not, and mesa3d won't build as -# it thinks AMDGPU backend is not installed on the target. -ifeq ($(BR2_PACKAGE_LLVM_AMDGPU),y) -LLVM_TARGETS_TO_BUILD += AMDGPU -endif - -# Use native llvm-tblgen from host-llvm (needed for cross-compilation) -LLVM_CONF_OPTS += -DLLVM_TABLEGEN=$(HOST_DIR)/bin/llvm-tblgen - -# Use native llvm-config from host-llvm (needed for cross-compilation) -LLVM_CONF_OPTS += -DLLVM_CONFIG_PATH=$(HOST_DIR)/bin/llvm-config - -# BUILD_SHARED_LIBS has a misleading name. It is in fact an option for -# LLVM developers to build all LLVM libraries as separate shared libraries. -# For normal use of LLVM, it is recommended to build a single -# shared library, which is achieved by BUILD_SHARED_LIBS=OFF and -# LLVM_BUILD_LLVM_DYLIB=ON. -HOST_LLVM_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF -LLVM_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF - -# Generate libLLVM.so. This library contains a default set of LLVM components -# that can be overwritten with "LLVM_DYLIB_COMPONENTS". The default contains -# most of LLVM and is defined in "tools/llvm-shlib/CMakelists.txt". -HOST_LLVM_CONF_OPTS += -DLLVM_BUILD_LLVM_DYLIB=ON -LLVM_CONF_OPTS += -DLLVM_BUILD_LLVM_DYLIB=ON - -# LLVM_BUILD_LLVM_DYLIB to ON. We need to enable this option for the -# host as llvm-config for the host will be used in STAGING_DIR by packages -# linking against libLLVM and if this option is not selected, then llvm-config -# does not work properly. For example, it assumes that LLVM is built statically -# and cannot find libLLVM.so. -HOST_LLVM_CONF_OPTS += -DLLVM_LINK_LLVM_DYLIB=ON -LLVM_CONF_OPTS += -DLLVM_LINK_LLVM_DYLIB=ON - -LLVM_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 - -# Disabled for the host since no host-libedit. -# Fall back to "Simple fgets-based implementation" of llvm line editor. -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBEDIT=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBEDIT=OFF - -# We want to install llvm libraries and modules. -HOST_LLVM_CONF_OPTS += -DLLVM_INSTALL_TOOLCHAIN_ONLY=OFF -LLVM_CONF_OPTS += -DLLVM_INSTALL_TOOLCHAIN_ONLY=OFF - -# We build from a release archive without vcs files. -HOST_LLVM_CONF_OPTS += -DLLVM_APPEND_VC_REV=OFF -LLVM_CONF_OPTS += -DLLVM_APPEND_VC_REV=OFF - -# No backtrace package in Buildroot. -# https://documentation.backtrace.io -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_BACKTRACES=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_BACKTRACES=OFF - -# Enable signal handlers overrides support. -HOST_LLVM_CONF_OPTS += -DENABLE_CRASH_OVERRIDES=ON -LLVM_CONF_OPTS += -DENABLE_CRASH_OVERRIDES=ON - -# Disable ffi for now. -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_FFI=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_FFI=OFF - -# Disable terminfo database (needs ncurses libtinfo.so) -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_TERMINFO=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_TERMINFO=OFF - -# Enable thread support -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_THREADS=ON -LLVM_CONF_OPTS += -DLLVM_ENABLE_THREADS=ON - -# Enable optional host-zlib support for LLVM Machine Code (llvm-mc) to add -# compression/uncompression capabilities. -# Not needed on the target. -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_ZLIB=ON -HOST_LLVM_DEPENDENCIES += host-zlib -LLVM_CONF_OPTS += -DLLVM_ENABLE_ZLIB=OFF - -# libxml2 can be disabled as it is used for LLVM Windows builds where COFF -# files include manifest info -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBXML2=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBXML2=OFF - -# Disable optional Z3Prover since there is no such package in Buildroot. -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_Z3_SOLVER=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_Z3_SOLVER=OFF - -# We don't use llvm for static only build, so enable PIC -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_PIC=ON -LLVM_CONF_OPTS += -DLLVM_ENABLE_PIC=ON - -# Default is Debug build, which requires considerably more disk space and -# build time. Release build is selected for host and target because the linker -# can run out of memory in Debug mode. -HOST_LLVM_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release -LLVM_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release - -# Disable C++1y (ISO C++ 2014 standard) -# Disable C++1z (ISO C++ 2017 standard) -# Compile llvm with the C++11 (ISO C++ 2011 standard) which is the fallback. -HOST_LLVM_CONF_OPTS += \ - -DLLVM_ENABLE_CXX1Y=OFF \ - -DLLVM_ENABLE_CXX1Z=OFF -LLVM_CONF_OPTS += \ - -DLLVM_ENABLE_CXX1Y=OFF \ - -DLLVM_ENABLE_CXX1Z=OFF - -# Disabled, requires sys/ndir.h header -# Disable debug in module -HOST_LLVM_CONF_OPTS += \ - -DLLVM_ENABLE_MODULES=OFF \ - -DLLVM_ENABLE_MODULE_DEBUGGING=OFF -LLVM_CONF_OPTS += \ - -DLLVM_ENABLE_MODULES=OFF \ - -DLLVM_ENABLE_MODULE_DEBUGGING=OFF - -# Don't change the standard library to libc++. -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBCXX=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBCXX=OFF - -# Don't use lld as a linker. -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LLD=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_LLD=OFF - -# Generate code for the target. LLVM selects a target by looking at the -# toolchain tuple -HOST_LLVM_CONF_OPTS += -DLLVM_DEFAULT_TARGET_TRIPLE=$(GNU_TARGET_NAME) -LLVM_CONF_OPTS += -DLLVM_DEFAULT_TARGET_TRIPLE=$(GNU_TARGET_NAME) - -# LLVM_HOST_TRIPLE has a misleading name, it is in fact the triple of the -# system where llvm is going to run on. We need to specify triple for native -# code generation on the target. -# This solves "No available targets are compatible for this triple" with llvmpipe -LLVM_CONF_OPTS += -DLLVM_HOST_TRIPLE=$(GNU_TARGET_NAME) - -# Building the Go and OCaml bindings is yet unsupported. -HOST_LLVM_CONF_OPTS += \ - -DLLVM_ENABLE_BINDINGS=OFF - -# Builds a release host tablegen that gets used during the LLVM build. -HOST_LLVM_CONF_OPTS += -DLLVM_OPTIMIZED_TABLEGEN=ON - -# Keep llvm utility binaries for the host. llvm-tblgen is built anyway as -# CMakeLists.txt has add_subdirectory(utils/TableGen) unconditionally. -HOST_LLVM_CONF_OPTS += \ - -DLLVM_BUILD_UTILS=ON \ - -DLLVM_INCLUDE_UTILS=ON \ - -DLLVM_INSTALL_UTILS=ON -LLVM_CONF_OPTS += \ - -DLLVM_BUILD_UTILS=OFF \ - -DLLVM_INCLUDE_UTILS=OFF \ - -DLLVM_INSTALL_UTILS=OFF - -HOST_LLVM_CONF_OPTS += \ - -DLLVM_INCLUDE_TOOLS=ON \ - -DLLVM_BUILD_TOOLS=ON - -# We need to activate LLVM_INCLUDE_TOOLS, otherwise it does not generate -# libLLVM.so -LLVM_CONF_OPTS += \ - -DLLVM_INCLUDE_TOOLS=ON \ - -DLLVM_BUILD_TOOLS=OFF - -ifeq ($(BR2_PACKAGE_LLVM_RTTI),y) -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=ON -LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=ON -else -HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=OFF -LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=OFF -endif - -# Compiler-rt not in the source tree. -# llvm runtime libraries are not in the source tree. -# Polly is not in the source tree. -HOST_LLVM_CONF_OPTS += \ - -DLLVM_BUILD_EXTERNAL_COMPILER_RT=OFF \ - -DLLVM_BUILD_RUNTIME=OFF \ - -DLLVM_INCLUDE_RUNTIMES=OFF \ - -DLLVM_POLLY_BUILD=OFF -LLVM_CONF_OPTS += \ - -DLLVM_BUILD_EXTERNAL_COMPILER_RT=OFF \ - -DLLVM_BUILD_RUNTIME=OFF \ - -DLLVM_INCLUDE_RUNTIMES=OFF \ - -DLLVM_POLLY_BUILD=OFF - -HOST_LLVM_CONF_OPTS += \ - -DLLVM_ENABLE_WARNINGS=ON \ - -DLLVM_ENABLE_PEDANTIC=ON \ - -DLLVM_ENABLE_WERROR=OFF -LLVM_CONF_OPTS += \ - -DLLVM_ENABLE_WARNINGS=ON \ - -DLLVM_ENABLE_PEDANTIC=ON \ - -DLLVM_ENABLE_WERROR=OFF - -HOST_LLVM_CONF_OPTS += \ - -DLLVM_BUILD_EXAMPLES=OFF \ - -DLLVM_BUILD_DOCS=OFF \ - -DLLVM_BUILD_TESTS=OFF \ - -DLLVM_ENABLE_DOXYGEN=OFF \ - -DLLVM_ENABLE_OCAMLDOC=OFF \ - -DLLVM_ENABLE_SPHINX=OFF \ - -DLLVM_INCLUDE_EXAMPLES=OFF \ - -DLLVM_INCLUDE_DOCS=OFF \ - -DLLVM_INCLUDE_GO_TESTS=OFF \ - -DLLVM_INCLUDE_TESTS=OFF -LLVM_CONF_OPTS += \ - -DLLVM_BUILD_EXAMPLES=OFF \ - -DLLVM_BUILD_DOCS=OFF \ - -DLLVM_BUILD_TESTS=OFF \ - -DLLVM_ENABLE_DOXYGEN=OFF \ - -DLLVM_ENABLE_OCAMLDOC=OFF \ - -DLLVM_ENABLE_SPHINX=OFF \ - -DLLVM_INCLUDE_EXAMPLES=OFF \ - -DLLVM_INCLUDE_DOCS=OFF \ - -DLLVM_INCLUDE_GO_TESTS=OFF \ - -DLLVM_INCLUDE_TESTS=OFF - -# Copy llvm-config (host variant) to STAGING_DIR -# llvm-config (host variant) returns include and lib directories -# for the host if it's installed in host/bin: -# output/host/bin/llvm-config --includedir -# output/host/include -# When installed in STAGING_DIR, llvm-config returns include and lib -# directories from STAGING_DIR. -# output/staging/usr/bin/llvm-config --includedir -# output/staging/usr/include -define HOST_LLVM_COPY_LLVM_CONFIG_TO_STAGING_DIR - $(INSTALL) -D -m 0755 $(HOST_DIR)/bin/llvm-config \ - $(STAGING_DIR)/usr/bin/llvm-config -endef -HOST_LLVM_POST_INSTALL_HOOKS = HOST_LLVM_COPY_LLVM_CONFIG_TO_STAGING_DIR - -# By default llvm-tblgen is built and installed on the target but it is -# not necessary. Also erase LLVMHello.so from /usr/lib -define LLVM_DELETE_LLVM_TBLGEN_TARGET - rm -f $(TARGET_DIR)/usr/bin/llvm-tblgen $(TARGET_DIR)/usr/lib/LLVMHello.so -endef -LLVM_POST_INSTALL_TARGET_HOOKS = LLVM_DELETE_LLVM_TBLGEN_TARGET - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/lm-sensors/lm-sensors.hash b/buildroot-2021.05/package/lm-sensors/lm-sensors.hash deleted file mode 100644 index 0ca07b7e..00000000 --- a/buildroot-2021.05/package/lm-sensors/lm-sensors.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197 lm-sensors-3-6-0.tar.gz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/buildroot-2021.05/package/lm-sensors/lm-sensors.mk b/buildroot-2021.05/package/lm-sensors/lm-sensors.mk deleted file mode 100644 index 8975efaf..00000000 --- a/buildroot-2021.05/package/lm-sensors/lm-sensors.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# lm-sensors -# -################################################################################ - -LM_SENSORS_VERSION = 3-6-0 -LM_SENSORS_SITE = $(call github,lm-sensors,lm-sensors,V$(LM_SENSORS_VERSION)) -LM_SENSORS_INSTALL_STAGING = YES -LM_SENSORS_DEPENDENCIES = host-bison host-flex -LM_SENSORS_LICENSE = LGPL-2.1+ (libsensors), GPL-2.0+ (programs) -LM_SENSORS_LICENSE_FILES = COPYING.LGPL COPYING - -LM_SENSORS_BINS_ = bin/sensors-conf-convert -LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_SENSORS) += bin/sensors -LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_FANCONTROL) += sbin/fancontrol -LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_ISADUMP) += sbin/isadump -LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_ISASET) += sbin/isaset -LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_PWMCONFIG) += sbin/pwmconfig -LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_SENSORS_DETECT) += sbin/sensors-detect - -LM_SENSORS_MAKE_OPTS = \ - $(TARGET_CONFIGURE_OPTS) \ - PREFIX=/usr - -ifeq ($(BR2_STATIC_LIBS),y) -LM_SENSORS_MAKE_OPTS += BUILD_SHARED_LIB=0 EXLDFLAGS=-static -else -LM_SENSORS_MAKE_OPTS += BUILD_SHARED_LIB=1 -endif - -ifeq ($(BR2_SHARED_LIBS),y) -LM_SENSORS_MAKE_OPTS += BUILD_STATIC_LIB=0 -else -LM_SENSORS_MAKE_OPTS += BUILD_STATIC_LIB=1 -endif - -define LM_SENSORS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(LM_SENSORS_MAKE_OPTS) -C $(@D) -endef - -define LM_SENSORS_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LM_SENSORS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install - rm -f $(addprefix $(STAGING_DIR)/usr/,$(LM_SENSORS_BINS_) $(LM_SENSORS_BINS_y)) -endef - -define LM_SENSORS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LM_SENSORS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install - rm -f $(addprefix $(TARGET_DIR)/usr/,$(LM_SENSORS_BINS_)) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/lmbench/lmbench.mk b/buildroot-2021.05/package/lmbench/lmbench.mk deleted file mode 100644 index 2f3b19b5..00000000 --- a/buildroot-2021.05/package/lmbench/lmbench.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# lmbench -# -################################################################################ - -LMBENCH_VERSION = 3.0-a9 -LMBENCH_SOURCE = lmbench-$(LMBENCH_VERSION).tgz -LMBENCH_SITE = http://downloads.sourceforge.net/project/lmbench/development/lmbench-$(LMBENCH_VERSION) -LMBENCH_LICENSE = lmbench license (based on GPL-2.0) -LMBENCH_LICENSE_FILES = COPYING COPYING-2 - -LMBENCH_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -LMBENCH_DEPENDENCIES += host-pkgconf libtirpc -LMBENCH_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc` -LMBENCH_LDLIBS = `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc` -endif - -LMBENCH_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK - -define LMBENCH_CONFIGURE_CMDS - sed -i 's/CFLAGS=/CFLAGS+=/g' $(@D)/src/Makefile - sed -i 's/LDLIBS=/LDLIBS+=/g' $(@D)/scripts/build - sed -i '/cd .*doc/d' $(@D)/src/Makefile - sed -i '/include/d' $(@D)/src/Makefile - touch $@ -endef - -# Note: there is a second stage 'make' invocation from the 'scripts/build' -# script. So the variables override below don't take direct effect in -# src/Makefile. -define LMBENCH_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CFLAGS="$(LMBENCH_CFLAGS)" LDLIBS="$(LMBENCH_LDLIBS)" OS=$(ARCH) CC="$(TARGET_CC)" -C $(@D)/src -endef - -define LMBENCH_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CFLAGS="$(TARGET_CFLAGS)" OS=$(ARCH) CC="$(TARGET_CC)" BASE=$(TARGET_DIR)/usr -C $(@D)/src install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0001-HACK-only-build-and-install-localedef.patch b/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0001-HACK-only-build-and-install-localedef.patch deleted file mode 100644 index d327008c..00000000 --- a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0001-HACK-only-build-and-install-localedef.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Michael Olbrich -Date: Mon, 21 May 2018 16:45:02 +0200 -Subject: [PATCH] HACK: only build and install localedef - -Signed-off-by: Michael Olbrich - -Upstream: https://git.pengutronix.de/cgit/ptxdist/plain/patches/localedef-glibc-2.27/0001-HACK-only-build-and-install-localedef.patch?id=47116f66f411d4dadfce42c2fdd6d41b351ccfd4 -Signed-off-by: Peter Seiderer ---- - Rules | 14 ++++++++++---- - locale/Makefile | 6 +++--- - 2 files changed, 13 insertions(+), 7 deletions(-) - -diff --git a/Rules b/Rules -index 16afa6acaa..6c208db788 100644 ---- a/Rules -+++ b/Rules -@@ -190,10 +190,16 @@ binaries-shared-notests = $(filter-out $(binaries-pie) $(binaries-static), \ - $(binaries-all-notests)) - - ifneq "$(strip $(binaries-shared-notests))" "" --$(addprefix $(objpfx),$(binaries-shared-notests)): %: %.o \ -- $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \ -- $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit) -- $(+link) -+$(addprefix $(objpfx),$(binaries-shared-notests)): %: %.o -+ $(CC) -o $@ \ -+ $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \ -+ $(combreloc-LDFLAGS) $(relro-LDFLAGS) $(hashstyle-LDFLAGS) \ -+ $(filter-out $(addprefix $(csu-objpfx),start.o \ -+ $(start-installed-name))\ -+ $(+preinit) \ -+ $(link-extra-libs) \ -+ $(common-objpfx)libc% $(+postinit),$^) \ -+ $(link-extra-libs) - endif - - ifneq "$(strip $(binaries-shared-tests))" "" -diff --git a/locale/Makefile b/locale/Makefile -index 764e751c36..c28322d71f 100644 ---- a/locale/Makefile -+++ b/locale/Makefile -@@ -32,15 +32,15 @@ categories = ctype messages monetary numeric time paper name \ - address telephone measurement identification collate - aux = $(categories:%=lc-%) $(categories:%=C-%) SYS_libc C_name \ - xlocale localename global-locale coll-lookup --others = localedef locale -+others = localedef - #others-static = localedef locale --install-bin = localedef locale -+install-bin = localedef - extra-objs = $(localedef-modules:=.o) $(localedef-aux:=.o) \ - $(locale-modules:=.o) $(lib-modules:=.o) - generated += C-translit.h - before-compile += $(objpfx)C-translit.h - --extra-libs = libBrokenLocale -+#extra-libs = libBrokenLocale - extra-libs-others = $(extra-libs) - - libBrokenLocale-routines = broken_cur_max --- -2.21.0 - diff --git a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch b/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch deleted file mode 100644 index a6e87cc3..00000000 --- a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 313e04bfbd281f9b46fdde097aacb59d501820a3 Mon Sep 17 00:00:00 2001 -From: Matt Weber -Date: Thu, 6 Feb 2020 14:36:21 -0600 -Subject: [PATCH] relax dependency on GCC to 4.8 and binutils to 2.24 - -The glibc package has been updating the toolchain version -dependency since 2.28.x. The dependencies don't currently -apply to the localedef build of the package, so this -patchset relaxes the restriction such that builds can still -occur on older host machines. - -Here's a related post from 2018 for a similar patchset. -http://lists.busybox.net/pipermail/buildroot/2018-December/237949.html - -Timeline of relevant commits that adjust the dependency upstream. -GCC 4.9+ - https://sourceware.org/git/?p=glibc.git;a=commit;h=4add86749a31f302674599b69d2eea691d69341a -Binutils 2.25+ - https://sourceware.org/git/?p=glibc.git;a=commit;h=073e8fa7739ed453d6854b834f290c263a6cdb9f - https://sourceware.org/git/?p=glibc.git;a=commit;h=b4396163aa8666f970aaf43eaca25f3a92b18c1b -GCC 5+ - https://sourceware.org/git/?p=glibc.git;a=commit;h=192963be49678b48f60218f1f794991cdd9fe472 -GCC 6.2+ - https://sourceware.org/git/?p=glibc.git;a=commit;h=4dcbbc3b28aaeafe23e1a30db84055aa6f6fa987 - -Signed-off-by: Matthew Weber ---- - configure | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/configure b/configure -index 6d26b824..9ac2e5e9 100755 ---- a/configure -+++ b/configure -@@ -4601,7 +4601,7 @@ $as_echo_n "checking version of $AS... " >&6; } - ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'` - case $ac_prog_version in - '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; -- 2.1[0-9][0-9]*|2.2[5-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) -+ 2.1[0-9][0-9]*|2.2[4-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) - ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; - -@@ -4731,7 +4731,7 @@ $as_echo_n "checking version of $LD... " >&6; } - ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` - case $ac_prog_version in - '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; -- 2.1[0-9][0-9]*|2.2[5-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) -+ 2.1[0-9][0-9]*|2.2[4-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) - ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; - -@@ -5140,7 +5140,7 @@ int - main () - { - --#if !defined __GNUC__ || __GNUC__ < 6 || (__GNUC__ == 6 && __GNUC_MINOR__ < 2) -+#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) - #error insufficient compiler - #endif - ; --- -2.18.0 - diff --git a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0003-Fix-GCC-11-Warray-parameter-warning-for-__sigsetjmp-.patch b/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0003-Fix-GCC-11-Warray-parameter-warning-for-__sigsetjmp-.patch deleted file mode 100644 index 888d27fe..00000000 --- a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0003-Fix-GCC-11-Warray-parameter-warning-for-__sigsetjmp-.patch +++ /dev/null @@ -1,155 +0,0 @@ -From 44f1469daff3a0bfe67fb5839243f114ace3bad8 Mon Sep 17 00:00:00 2001 -From: Joseph Myers -Date: Mon, 5 Oct 2020 16:46:46 +0000 -Subject: [PATCH 3/4] Fix GCC 11 -Warray-parameter warning for __sigsetjmp (bug - 26647) - -This patch fixes part of bug 26647 (-Werror=array-parameter error -building with GCC 11 because of __sigsetjmp being declared using an -array parameter in one header and a pointer parameter in another). - -The fix is to split the struct __jmp_buf_tag definition out to a -separate bits/types/ header so it can be included in pthread.h, so -that pthread.h can declare __sigsetjmp with the type contents visible, -so can use an array (as in setjmp.h) rather than a pointer in the -declaration. - -Note that several other build failures with GCC 11 remain. This does -not fix the jmp_buf-related -Wstringop-overflow errors (also discussed -in bug 26647), or -Warray-parameter errors for other functions (bug -26686), or -Warray-bounds errors (bug 26687). - -Tested, with older compilers, natively for x86_64 and with -build-many-glibc.py for aarch64-linux-gnu. Tested with -build-many-glibcs.py with GCC mainline for aarch64-linux-gnu that this -gets past the -Warray-parameter issue for __sigsetjmp (with the next -build failure being the other one discussed in bug 26647). - -[Upstream: https://github.com/bminor/glibc/commit/19302b27bdacfe87e861ff46fc0fbad60dd6602d.patch] -Signed-off-by: Peter Seiderer ---- - include/bits/types/struct___jmp_buf_tag.h | 1 + - setjmp/Makefile | 3 +- - setjmp/bits/types/struct___jmp_buf_tag.h | 37 +++++++++++++++++++++++ - setjmp/setjmp.h | 15 +-------- - sysdeps/nptl/pthread.h | 5 +-- - 5 files changed, 44 insertions(+), 17 deletions(-) - create mode 100644 include/bits/types/struct___jmp_buf_tag.h - create mode 100644 setjmp/bits/types/struct___jmp_buf_tag.h - -diff --git a/include/bits/types/struct___jmp_buf_tag.h b/include/bits/types/struct___jmp_buf_tag.h -new file mode 100644 -index 00000000..e3250150 ---- /dev/null -+++ b/include/bits/types/struct___jmp_buf_tag.h -@@ -0,0 +1 @@ -+#include -diff --git a/setjmp/Makefile b/setjmp/Makefile -index dcac5693..603f61d7 100644 ---- a/setjmp/Makefile -+++ b/setjmp/Makefile -@@ -22,7 +22,8 @@ subdir := setjmp - - include ../Makeconfig - --headers := setjmp.h bits/setjmp.h bits/setjmp2.h -+headers := setjmp.h bits/setjmp.h bits/setjmp2.h \ -+ bits/types/struct___jmp_buf_tag.h - - routines := setjmp sigjmp bsd-setjmp bsd-_setjmp \ - longjmp __longjmp jmp-unwind -diff --git a/setjmp/bits/types/struct___jmp_buf_tag.h b/setjmp/bits/types/struct___jmp_buf_tag.h -new file mode 100644 -index 00000000..9d8634f1 ---- /dev/null -+++ b/setjmp/bits/types/struct___jmp_buf_tag.h -@@ -0,0 +1,37 @@ -+/* Define struct __jmp_buf_tag. -+ Copyright (C) 1991-2020 Free Software Foundation, Inc. -+ This file is part of the GNU C Library. -+ -+ The GNU C Library is free software; you can redistribute it and/or -+ modify it under the terms of the GNU Lesser General Public -+ License as published by the Free Software Foundation; either -+ version 2.1 of the License, or (at your option) any later version. -+ -+ The GNU C Library is distributed in the hope that it will be useful, -+ but WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Lesser General Public License for more details. -+ -+ You should have received a copy of the GNU Lesser General Public -+ License along with the GNU C Library; if not, see -+ . */ -+ -+#ifndef __jmp_buf_tag_defined -+#define __jmp_buf_tag_defined 1 -+ -+#include /* Get `__jmp_buf'. */ -+#include -+ -+/* Calling environment, plus possibly a saved signal mask. */ -+struct __jmp_buf_tag -+ { -+ /* NOTE: The machine-dependent definitions of `__sigsetjmp' -+ assume that a `jmp_buf' begins with a `__jmp_buf' and that -+ `__mask_was_saved' follows it. Do not move these members -+ or add others before it. */ -+ __jmp_buf __jmpbuf; /* Calling environment. */ -+ int __mask_was_saved; /* Saved the signal mask? */ -+ __sigset_t __saved_mask; /* Saved signal mask. */ -+ }; -+ -+#endif -diff --git a/setjmp/setjmp.h b/setjmp/setjmp.h -index 4e3443c3..c6c59f40 100644 ---- a/setjmp/setjmp.h -+++ b/setjmp/setjmp.h -@@ -27,20 +27,7 @@ - __BEGIN_DECLS - - #include /* Get `__jmp_buf'. */ --#include -- --/* Calling environment, plus possibly a saved signal mask. */ --struct __jmp_buf_tag -- { -- /* NOTE: The machine-dependent definitions of `__sigsetjmp' -- assume that a `jmp_buf' begins with a `__jmp_buf' and that -- `__mask_was_saved' follows it. Do not move these members -- or add others before it. */ -- __jmp_buf __jmpbuf; /* Calling environment. */ -- int __mask_was_saved; /* Saved the signal mask? */ -- __sigset_t __saved_mask; /* Saved signal mask. */ -- }; -- -+#include - - typedef struct __jmp_buf_tag jmp_buf[1]; - -diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h -index 8a403cbf..d4194da7 100644 ---- a/sysdeps/nptl/pthread.h -+++ b/sysdeps/nptl/pthread.h -@@ -28,6 +28,7 @@ - #include - #include - #include -+#include - - - /* Detach state. */ -@@ -730,8 +731,8 @@ extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) - #endif - - /* Function used in the macros. */ --struct __jmp_buf_tag; --extern int __sigsetjmp (struct __jmp_buf_tag *__env, int __savemask) __THROWNL; -+extern int __sigsetjmp (struct __jmp_buf_tag __env[1], -+ int __savemask) __THROWNL; - - - /* Mutex handling. */ --- -2.31.1 - diff --git a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0004-Avoid-Wstringop-overflow-warning-in-pthread_cleanup_.patch b/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0004-Avoid-Wstringop-overflow-warning-in-pthread_cleanup_.patch deleted file mode 100644 index 83f3f15e..00000000 --- a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/0004-Avoid-Wstringop-overflow-warning-in-pthread_cleanup_.patch +++ /dev/null @@ -1,125 +0,0 @@ -From ea50889c35fb73ed9e140d800303aae9148c2888 Mon Sep 17 00:00:00 2001 -From: Joseph Myers -Date: Fri, 30 Oct 2020 22:25:42 +0000 -Subject: [PATCH 4/4] Avoid -Wstringop-overflow warning in pthread_cleanup_push - macros - -GCC 11 introduces a -Wstringop-overflow warning for calls to functions -with an array argument passed as a pointer to memory not large enough -for that array. This includes the __sigsetjmp calls from -pthread_cleanup_push macros, because those use a structure in -__pthread_unwind_buf_t, which has a common initial subsequence with -jmp_buf but does not include the saved signal mask; this is OK in this -case because the second argument to __sigsetjmp is 0 so the signal -mask is not accessed. - -To avoid this warning, use a function alias __sigsetjmp_cancel with -first argument an array of exactly the type used in the calls to the -function, if using GCC 11 or later. With older compilers, continue to -use __sigsetjmp with a cast, to avoid any issues with compilers -predating the returns_twice attribute not applying the same special -handling to __sigsetjmp_cancel as to __sigsetjmp. - -Tested with build-many-glibcs.py for arm-linux-gnueabi that this fixes -the testsuite build failures. - -[Upstream: https://github.com/bminor/glibc/commit/548f467fa14ffe7d955beeb31b30e2aeae4467e0.patch] -Signed-off-by: Peter Seiderer ---- - misc/sys/cdefs.h | 8 ++++++++ - sysdeps/nptl/pthread.h | 37 +++++++++++++++++++++++++++---------- - 2 files changed, 35 insertions(+), 10 deletions(-) - -diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h -index 38221d0b..ce877487 100644 ---- a/misc/sys/cdefs.h -+++ b/misc/sys/cdefs.h -@@ -556,4 +556,12 @@ _Static_assert (0, "IEEE 128-bits long double requires redirection on this platf - # define __attr_access(x) - #endif - -+/* Specify that a function such as setjmp or vfork may return -+ twice. */ -+#if __GNUC_PREREQ (4, 1) -+# define __attribute_returns_twice__ __attribute__ ((__returns_twice__)) -+#else -+# define __attribute_returns_twice__ /* Ignore. */ -+#endif -+ - #endif /* sys/cdefs.h */ -diff --git a/sysdeps/nptl/pthread.h b/sysdeps/nptl/pthread.h -index d4194da7..3a34d823 100644 ---- a/sysdeps/nptl/pthread.h -+++ b/sysdeps/nptl/pthread.h -@@ -512,13 +512,15 @@ extern void pthread_testcancel (void); - - /* Cancellation handling with integration into exception handling. */ - -+struct __cancel_jmp_buf_tag -+{ -+ __jmp_buf __cancel_jmp_buf; -+ int __mask_was_saved; -+}; -+ - typedef struct - { -- struct -- { -- __jmp_buf __cancel_jmp_buf; -- int __mask_was_saved; -- } __cancel_jmp_buf[1]; -+ struct __cancel_jmp_buf_tag __cancel_jmp_buf[1]; - void *__pad[4]; - } __pthread_unwind_buf_t __attribute__ ((__aligned__)); - -@@ -658,8 +660,8 @@ __pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame) - __pthread_unwind_buf_t __cancel_buf; \ - void (*__cancel_routine) (void *) = (routine); \ - void *__cancel_arg = (arg); \ -- int __not_first_call = __sigsetjmp ((struct __jmp_buf_tag *) (void *) \ -- __cancel_buf.__cancel_jmp_buf, 0); \ -+ int __not_first_call = __sigsetjmp_cancel (__cancel_buf.__cancel_jmp_buf, \ -+ 0); \ - if (__glibc_unlikely (__not_first_call)) \ - { \ - __cancel_routine (__cancel_arg); \ -@@ -693,8 +695,8 @@ extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) - __pthread_unwind_buf_t __cancel_buf; \ - void (*__cancel_routine) (void *) = (routine); \ - void *__cancel_arg = (arg); \ -- int __not_first_call = __sigsetjmp ((struct __jmp_buf_tag *) (void *) \ -- __cancel_buf.__cancel_jmp_buf, 0); \ -+ int __not_first_call = __sigsetjmp_cancel (__cancel_buf.__cancel_jmp_buf, \ -+ 0); \ - if (__glibc_unlikely (__not_first_call)) \ - { \ - __cancel_routine (__cancel_arg); \ -@@ -730,9 +732,24 @@ extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) - ; - #endif - --/* Function used in the macros. */ -+/* Function used in the macros. Calling __sigsetjmp, with its first -+ argument declared as an array, results in a -Wstringop-overflow -+ warning from GCC 11 because struct pthread_unwind_buf is smaller -+ than jmp_buf. The calls from the macros have __SAVEMASK set to 0, -+ so nothing beyond the common prefix is used and this warning is a -+ false positive. Use an alias with its first argument declared to -+ use the type in the macros if possible to avoid this warning. */ -+#if __GNUC_PREREQ (11, 0) -+extern int __REDIRECT_NTHNL (__sigsetjmp_cancel, -+ (struct __cancel_jmp_buf_tag __env[1], -+ int __savemask), -+ __sigsetjmp) __attribute_returns_twice__; -+#else -+# define __sigsetjmp_cancel(env, savemask) \ -+ __sigsetjmp ((struct __jmp_buf_tag *) (void *) (env), (savemask)) - extern int __sigsetjmp (struct __jmp_buf_tag __env[1], - int __savemask) __THROWNL; -+#endif - - - /* Mutex handling. */ --- -2.31.1 - diff --git a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedef.hash b/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedef.hash deleted file mode 100644 index b1d5243f..00000000 --- a/buildroot-2021.05/package/localedef/2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2/localedef.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally calculated (fetched from Github) -sha256 f4710e9a435a7b83e1d23dd75434f0d36b898eba9b4249c946c32b467d852fd4 glibc-2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2.tar.gz - -# Hashes for license files -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB -sha256 b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc LICENSES diff --git a/buildroot-2021.05/package/localedef/localedef.mk b/buildroot-2021.05/package/localedef/localedef.mk deleted file mode 100644 index 57ab5a34..00000000 --- a/buildroot-2021.05/package/localedef/localedef.mk +++ /dev/null @@ -1,56 +0,0 @@ -################################################################################ -# -# localedef -# -################################################################################ - -# Use the same VERSION and SITE as target glibc -# As in glibc.mk, generate version string using: -# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- -LOCALEDEF_VERSION = 2.32-37-g760e1d287825fa91d4d5a0cc921340c740d803e2 -LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz -LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) -HOST_LOCALEDEF_DL_SUBDIR = glibc - -HOST_LOCALEDEF_DEPENDENCIES = \ - $(BR2_MAKE_HOST_DEPENDENCY) \ - $(BR2_PYTHON3_HOST_DEPENDENCY) \ - host-bison \ - host-gawk - -HOST_LOCALEDEF_CONF_ENV += ac_cv_prog_MAKE="$(BR2_MAKE)" - -# Even though we use the autotools-package infrastructure, we have to override -# the default configure commands for since we have to build out-of-tree, but we -# can't use the same 'symbolic link to configure' used with the gcc packages. -define HOST_LOCALEDEF_CONFIGURE_CMDS - mkdir -p $(@D)/build - # Do the configuration - (cd $(@D)/build; \ - $(HOST_LOCALEDEF_CONF_ENV) \ - $(HOST_CONFIGURE_OPTS) \ - $(SHELL) $(@D)/configure \ - libc_cv_forced_unwind=yes \ - libc_cv_ssp=no \ - --target=$(GNU_HOST_NAME) \ - --host=$(GNU_HOST_NAME) \ - --build=$(GNU_HOST_NAME) \ - --prefix=/usr \ - --with-pkgversion="Buildroot" \ - --without-cvs \ - --disable-profile \ - --without-gd \ - --enable-obsolete-rpc) -endef - -define HOST_LOCALEDEF_BUILD_CMDS - $(HOST_MAKE_ENV) $(BR2_MAKE1) $(HOST_LOCALEDEF_MAKE_OPTS) \ - -C $(@D)/build locale/others -endef - -# The makefile does not implement an install target for localedef -define HOST_LOCALEDEF_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/build/locale/localedef $(HOST_DIR)/bin/localedef -endef - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/lockfile-progs/Config.in b/buildroot-2021.05/package/lockfile-progs/Config.in deleted file mode 100644 index de101a9a..00000000 --- a/buildroot-2021.05/package/lockfile-progs/Config.in +++ /dev/null @@ -1,5 +0,0 @@ -config BR2_PACKAGE_LOCKFILE_PROGS - bool "lockfile programs" - select BR2_PACKAGE_LIBLOCKFILE - help - Build lockfile utility programs. diff --git a/buildroot-2021.05/package/lockfile-progs/lockfile-progs.hash b/buildroot-2021.05/package/lockfile-progs/lockfile-progs.hash deleted file mode 100644 index fc3d4b68..00000000 --- a/buildroot-2021.05/package/lockfile-progs/lockfile-progs.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://snapshot.debian.org/archive/debian/20180903T205652Z/pool/main/l/lockfile-progs/lockfile-progs_0.1.18.tar.gz -sha256 a42995a4b97e6188efc90fcc1a761163c4b2cff5c81b936f85c84301ddb05ce6 lockfile-progs_0.1.18.tar.gz - -# Hash for license file -sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING diff --git a/buildroot-2021.05/package/lockfile-progs/lockfile-progs.mk b/buildroot-2021.05/package/lockfile-progs/lockfile-progs.mk deleted file mode 100644 index d2f8f611..00000000 --- a/buildroot-2021.05/package/lockfile-progs/lockfile-progs.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# lockfile-progs -# -################################################################################ - -LOCKFILE_PROGS_VERSION = 0.1.18 -LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz -LOCKFILE_PROGS_SITE = http://snapshot.debian.org/archive/debian/20180903T205652Z/pool/main/l/lockfile-progs -LOCKFILE_PROGS_DEPENDENCIES = liblockfile -LOCKFILE_PROGS_LICENSE = GPL-2.0 -LOCKFILE_PROGS_LICENSE_FILES = COPYING - -LOCKFILE_PROGS_BINS = \ - $(addprefix lockfile-,check create remove touch) \ - $(addprefix mail-,lock touchlock unlock) - -define LOCKFILE_PROGS_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -endef - -define LOCKFILE_PROGS_INSTALL_TARGET_CMDS - for i in $(LOCKFILE_PROGS_BINS); do \ - $(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \ - done -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/log4cplus/log4cplus.hash b/buildroot-2021.05/package/log4cplus/log4cplus.hash deleted file mode 100644 index 28e5b204..00000000 --- a/buildroot-2021.05/package/log4cplus/log4cplus.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 73519a5e47c40cf375aa6cd28a703b01908b5dcd3f4cb4290db2fef237c8180c log4cplus-2.0.6.tar.xz -sha256 91d7e42ff80e74c4c94e5ad353375fa0358cd0abbf43f5fe957097cdbd4e2c4d LICENSE diff --git a/buildroot-2021.05/package/log4cplus/log4cplus.mk b/buildroot-2021.05/package/log4cplus/log4cplus.mk deleted file mode 100644 index 8b62fb8f..00000000 --- a/buildroot-2021.05/package/log4cplus/log4cplus.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# log4cplus -# -################################################################################ - -LOG4CPLUS_VERSION = 2.0.6 -LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz -LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION) -LOG4CPLUS_LICENSE = Apache-2.0, BSD-2-Clause, BSD-like (threadpool) -LOG4CPLUS_LICENSE_FILES = LICENSE -LOG4CPLUS_INSTALL_STAGING = YES - -ifeq ($(BR2_GCC_ENABLE_LTO),y) -LOG4CPLUS_CONF_OPTS += --enable-lto -else -LOG4CPLUS_CONF_OPTS += --disable-lto -endif - -ifeq ($(BR2_PACKAGE_QT5BASE),y) -LOG4CPLUS_DEPENDENCIES += host-pkgconf qt5base -LOG4CPLUS_CONF_OPTS += --with-qt5 -else -LOG4CPLUS_CONF_OPTS += --without-qt5 -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/log4cxx/0001-fix-build-without-wchar.patch b/buildroot-2021.05/package/log4cxx/0001-fix-build-without-wchar.patch deleted file mode 100644 index fc0e7be5..00000000 --- a/buildroot-2021.05/package/log4cxx/0001-fix-build-without-wchar.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 1fa70eaf24d75e84625f22779ec347fd29bf1ae6 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 24 Sep 2020 08:47:37 +0200 -Subject: [PATCH] fix build without wchar - -Disable wencode without wchar or the build will fail on: - -odbcappender.cpp: In static member function 'static void log4cxx::db::ODBCAppender::encode(wchar_t**, const LogString&, log4cxx::helpers::Pool&)': -odbcappender.cpp:362:22: error: 'wencode' is not a member of 'log4cxx::helpers::Transcoder' - *dest = Transcoder::wencode(src, p); - ^~~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/bab5329fdeb894471bfd5192ce04d3fbd2f9be5c - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/apache/logging-log4cxx/commit/f171f818c798d48631d5b45851e4593953f31d9c] ---- - src/main/cpp/odbcappender.cpp | 2 ++ - src/main/include/log4cxx/db/odbcappender.h | 2 ++ - 2 files changed, 4 insertions(+) - -diff --git a/src/main/cpp/odbcappender.cpp b/src/main/cpp/odbcappender.cpp -index 6bfa519e..218df132 100644 ---- a/src/main/cpp/odbcappender.cpp -+++ b/src/main/cpp/odbcappender.cpp -@@ -357,10 +357,12 @@ void ODBCAppender::setSql(const LogString& s) - } - } - -+#if LOG4CXX_WCHAR_T_API || LOG4CXX_LOGCHAR_IS_WCHAR_T || defined(WIN32) || defined(_WIN32) - void ODBCAppender::encode(wchar_t** dest, const LogString& src, Pool& p) - { - *dest = Transcoder::wencode(src, p); - } -+#endif - - void ODBCAppender::encode(unsigned short** dest, - const LogString& src, Pool& p) -diff --git a/src/main/include/log4cxx/db/odbcappender.h b/src/main/include/log4cxx/db/odbcappender.h -index a26bc35b..fdc144ff 100644 ---- a/src/main/include/log4cxx/db/odbcappender.h -+++ b/src/main/include/log4cxx/db/odbcappender.h -@@ -300,8 +300,10 @@ class LOG4CXX_EXPORT ODBCAppender : public AppenderSkeleton - private: - ODBCAppender(const ODBCAppender&); - ODBCAppender& operator=(const ODBCAppender&); -+#if LOG4CXX_WCHAR_T_API || LOG4CXX_LOGCHAR_IS_WCHAR_T || defined(WIN32) || defined(_WIN32) - static void encode(wchar_t** dest, const LogString& src, - log4cxx::helpers::Pool& p); -+#endif - static void encode(unsigned short** dest, const LogString& src, - log4cxx::helpers::Pool& p); - }; // class ODBCAppender diff --git a/buildroot-2021.05/package/log4cxx/Config.in b/buildroot-2021.05/package/log4cxx/Config.in deleted file mode 100644 index bf739a43..00000000 --- a/buildroot-2021.05/package/log4cxx/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_LOG4CXX - bool "log4cxx" - # apr really needs shared library support - depends on !BR2_STATIC_LIBS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # apr - select BR2_PACKAGE_APR - select BR2_PACKAGE_APR_UTIL - help - Apache log4cxx is a logging framework for C++ patterned - after Apache log4j. - - https://logging.apache.org/log4cxx/ - -comment "log4cxx needs a toolchain w/ C++, threads, dynamic library" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/log4cxx/log4cxx.hash b/buildroot-2021.05/package/log4cxx/log4cxx.hash deleted file mode 100644 index 535a0c4a..00000000 --- a/buildroot-2021.05/package/log4cxx/log4cxx.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.apache.org/dist/logging/log4cxx/0.11.0/apache-log4cxx-0.11.0.tar.gz.sha512 -sha512 f8aa37c9c094e7a4d6ca92dff13c032f69f1e078c51ea55e284fcb931c13256b08950af3ea6eaf7a12282240f6073e9acab19bfe217f88dbd62a5d2360f3fbdd apache-log4cxx-0.11.0.tar.gz -# Locally computed -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2021.05/package/log4cxx/log4cxx.mk b/buildroot-2021.05/package/log4cxx/log4cxx.mk deleted file mode 100644 index 0ddea946..00000000 --- a/buildroot-2021.05/package/log4cxx/log4cxx.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# log4cxx -# -################################################################################ - -LOG4CXX_VERSION = 0.11.0 -LOG4CXX_SITE = http://archive.apache.org/dist/logging/log4cxx/$(LOG4CXX_VERSION) -LOG4CXX_SOURCE = apache-log4cxx-$(LOG4CXX_VERSION).tar.gz -LOG4CXX_INSTALL_STAGING = YES -LOG4CXX_LICENSE = Apache-2.0 -LOG4CXX_LICENSE_FILES = LICENSE -# error: required file './compile' not found -LOG4CXX_AUTORECONF = YES - -LOG4CXX_CONF_OPTS = \ - --with-apr=$(STAGING_DIR)/usr/bin/apr-1-config \ - --with-apr-util=$(STAGING_DIR)/usr/bin/apu-1-config \ - --disable-dot \ - --disable-doxygen \ - --disable-html-docs - -LOG4CXX_DEPENDENCIES = apr apr-util - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lrzip/Config.in b/buildroot-2021.05/package/lrzip/Config.in deleted file mode 100644 index 885b84db..00000000 --- a/buildroot-2021.05/package/lrzip/Config.in +++ /dev/null @@ -1,24 +0,0 @@ -config BR2_PACKAGE_LRZIP - bool "lrzip" - depends on BR2_USE_MMU # fork() - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_LZO - select BR2_PACKAGE_BZIP2 - help - A compression utility that excels at compressing large files - (usually > 10-50 MB). Larger files and/or more free RAM means - that the utility will be able to more effectively compress - your files (ie: faster / smaller size), especially if the - filesize(s) exceed 100 MB. You can either choose to optimise - for speed (fast compression / decompression) or size, - but not both. - - https://github.com/ckolivas/lrzip - -comment "lrzip needs a toolchain w/ wchar, threads, C++" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/lrzip/lrzip.hash b/buildroot-2021.05/package/lrzip/lrzip.hash deleted file mode 100644 index 3e188c41..00000000 --- a/buildroot-2021.05/package/lrzip/lrzip.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 4d31c429491f1378e868afe06867f68f8b1332fdca0758de24cc4da22103acfb lrzip-7f3bf46203bf45ea115d8bd9f310ea219be88af4.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/lrzip/lrzip.mk b/buildroot-2021.05/package/lrzip/lrzip.mk deleted file mode 100644 index 7419bb1e..00000000 --- a/buildroot-2021.05/package/lrzip/lrzip.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# lrzip -# -################################################################################ - -LRZIP_VERSION = 7f3bf46203bf45ea115d8bd9f310ea219be88af4 -LRZIP_SITE = $(call github,ckolivas,lrzip,$(LRZIP_VERSION)) -LRZIP_AUTORECONF = YES -LRZIP_LICENSE = GPL-2.0+ -LRZIP_LICENSE_FILES = COPYING -LRZIP_DEPENDENCIES = zlib lzo bzip2 - -ifeq ($(BR2_i386)$(BR2_x86_64),y) -LRZIP_DEPENDENCIES += host-nasm -LRZIP_CONF_OPTS += --enable-asm -else -LRZIP_CONF_OPTS += --disable-asm -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lrzsz/lrzsz.mk b/buildroot-2021.05/package/lrzsz/lrzsz.mk deleted file mode 100644 index 6c682328..00000000 --- a/buildroot-2021.05/package/lrzsz/lrzsz.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# lrzsz -# -################################################################################ - -LRZSZ_VERSION = 0.12.20 -LRZSZ_SITE = http://www.ohse.de/uwe/releases -LRZSZ_CONF_OPTS = --disable-timesync -LRZSZ_LICENSE = GPL-2.0+ -LRZSZ_LICENSE_FILES = COPYING -LRZSZ_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -LRZSZ_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) - -define LRZSZ_POST_CONFIGURE_HOOKS - $(SED) "s/-lnsl//;" $(@D)/src/Makefile - $(SED) "s~\(#define ENABLE_SYSLOG.*\)~/* \1 */~;" $(@D)/config.h -endef - -define LRZSZ_BUILD_HOOKS - $(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(@D) -endef - -define LRZSZ_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/src/lrz $(TARGET_DIR)/usr/bin/rz - $(INSTALL) -m 0755 -D $(@D)/src/lsz $(TARGET_DIR)/usr/bin/sz - ln -sf rz $(TARGET_DIR)/usr/bin/lrz - ln -sf sz $(TARGET_DIR)/usr/bin/lsz - ln -sf rz $(TARGET_DIR)/usr/bin/rb - ln -sf sz $(TARGET_DIR)/usr/bin/sb - ln -sf rz $(TARGET_DIR)/usr/bin/rx - ln -sf sz $(TARGET_DIR)/usr/bin/sx -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lsof/lsof.hash b/buildroot-2021.05/package/lsof/lsof.hash deleted file mode 100644 index c7432ffb..00000000 --- a/buildroot-2021.05/package/lsof/lsof.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 3df912bd966fc24dc73ddea3e36a61d79270b21b085936a4caabca56e5b486a2 lsof-4.93.2.tar.gz -sha256 32a728188b19bf86917659d904ab29d0a294b4506e1c98b8b7f1c70ab4975fe1 dialects/linux/dproto.h diff --git a/buildroot-2021.05/package/lsof/lsof.mk b/buildroot-2021.05/package/lsof/lsof.mk deleted file mode 100644 index 6aa829c2..00000000 --- a/buildroot-2021.05/package/lsof/lsof.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# lsof -# -################################################################################ - -LSOF_VERSION = 4.93.2 -LSOF_SITE = $(call github,lsof-org,lsof,$(LSOF_VERSION)) -LSOF_LICENSE = lsof license -# License is repeated in each file, this is a relatively small one. -# It is also defined in 00README, but that contains a lot of other cruft. -LSOF_LICENSE_FILES = dialects/linux/dproto.h - -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -LSOF_DEPENDENCIES += libtirpc -endif - -ifeq ($(BR2_USE_WCHAR),) -define LSOF_CONFIGURE_WCHAR_FIXUPS - $(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' \ - $(@D)/machine.h -endef -endif - -ifeq ($(BR2_ENABLE_LOCALE),) -define LSOF_CONFIGURE_LOCALE_FIXUPS - $(SED) 's,^#define[[:space:]]*HASSETLOCALE.*,#undef HASSETLOCALE,' \ - $(@D)/machine.h -endef -endif - -define LSOF_CONFIGURE_CMDS - (cd $(@D) ; \ - echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ - LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ - LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ - ./Configure linux) - $(LSOF_CONFIGURE_WCHAR_FIXUPS) - $(LSOF_CONFIGURE_LOCALE_FIXUPS) -endef - -define LSOF_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D) -endef - -define LSOF_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/lsof $(TARGET_DIR)/usr/bin/lsof -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/lsscsi/lsscsi.hash b/buildroot-2021.05/package/lsscsi/lsscsi.hash deleted file mode 100644 index d444c7e0..00000000 --- a/buildroot-2021.05/package/lsscsi/lsscsi.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 12bf1973014803c6fd6d547e7594a4c049f0eef3bf5d22190d4be29d7c09f3ca lsscsi-0.31.tgz -sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING diff --git a/buildroot-2021.05/package/lsscsi/lsscsi.mk b/buildroot-2021.05/package/lsscsi/lsscsi.mk deleted file mode 100644 index e9a52553..00000000 --- a/buildroot-2021.05/package/lsscsi/lsscsi.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# lsscsi -# -################################################################################ - -LSSCSI_VERSION = 0.31 -LSSCSI_SOURCE = lsscsi-$(LSSCSI_VERSION).tgz -LSSCSI_SITE = http://sg.danny.cz/scsi -LSSCSI_LICENSE = GPL-2.0+ -LSSCSI_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ltp-testsuite/0002-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch b/buildroot-2021.05/package/ltp-testsuite/0002-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch deleted file mode 100644 index 2893026c..00000000 --- a/buildroot-2021.05/package/ltp-testsuite/0002-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch +++ /dev/null @@ -1,211 +0,0 @@ -From ac3e262cba81889c0bb04ce87a50a1709f2726e7 Mon Sep 17 00:00:00 2001 -From: Petr Vorel -Date: Thu, 1 Oct 2020 23:28:39 +0200 -Subject: [PATCH] lapi: Add sysinfo.h to fix build with MUSL libc -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The reason is to avoid indirect include when using -some network headers: or others -> --> - -This indirect include causes on MUSL redefinition of struct sysinfo when -included both and some of UAPI headers: - -In file included from x86_64-buildroot-linux-musl/sysroot/usr/include/linux/kernel.h:5, - from x86_64-buildroot-linux-musl/sysroot/usr/include/linux/netlink.h:5, - from ../include/tst_netlink.h:14, - from tst_crypto.c:13: -x86_64-buildroot-linux-musl/sysroot/usr/include/linux/sysinfo.h:8:8: error: redefinition of ‘struct sysinfo’ - struct sysinfo { - ^~~~~~~ -In file included from ../include/tst_safe_macros.h:15, - from ../include/tst_test.h:93, - from tst_crypto.c:11: -x86_64-buildroot-linux-musl/sysroot/usr/include/sys/sysinfo.h:10:8: note: originally defined here - -Signed-off-by: Petr Vorel - -[ upstream status: https://patchwork.ozlabs.org/project/ltp/patch/20201001231256.6930-1-petr.vorel@gmail.com/ - -But this patch is not going to get upstreamed because it got fixed in Linux kernel: -a85cbe6159ff "uapi: move constants from to " - -This patch was also backported to stable and LTS versions, -which we use since buildroot 54584d233b "{linux, linux-headers}: bump -5.{4, 10}.x 4.{4, 9, 14, 19} series". -We just wait for all musl based toolchains to be rebuilt. ] ---- - include/lapi/sysinfo.h | 22 +++++++++++++++++++ - include/tst_safe_macros.h | 2 +- - lib/safe_macros.c | 2 +- - lib/tst_memutils.c | 2 +- - testcases/kernel/mem/mtest01/mtest01.c | 2 +- - testcases/kernel/syscalls/madvise/madvise06.c | 2 +- - testcases/kernel/syscalls/sysinfo/sysinfo01.c | 2 +- - testcases/kernel/syscalls/sysinfo/sysinfo02.c | 2 +- - testcases/kernel/syscalls/sysinfo/sysinfo03.c | 2 +- - 9 files changed, 30 insertions(+), 8 deletions(-) - create mode 100644 include/lapi/sysinfo.h - -diff --git a/include/lapi/sysinfo.h b/include/lapi/sysinfo.h -new file mode 100644 -index 000000000..d0e0e93d7 ---- /dev/null -+++ b/include/lapi/sysinfo.h -@@ -0,0 +1,22 @@ -+// SPDX-License-Identifier: GPL-2.0-or-later -+/* -+ * Copyright (c) 2020 Petr Vorel -+ */ -+ -+#ifndef SYSINFO_H__ -+ -+/* -+ * Don't use as it breaks build MUSL toolchain. -+ * Use instead. -+ * -+ * Some kernel UAPI headers do indirect include: -+ * or others -> -> -+ * -+ * This indirect include causes on MUSL redefinition of struct sysinfo when -+ * included both and some of UAPI headers: -+ */ -+#include -+ -+#define SYSINFO_H__ -+ -+#endif /* SYSINFO_H__ */ -diff --git a/include/tst_safe_macros.h b/include/tst_safe_macros.h -index ee3df4142..3cb1623f9 100644 ---- a/include/tst_safe_macros.h -+++ b/include/tst_safe_macros.h -@@ -12,7 +12,7 @@ - #include - #include - #include --#include -+#include - #include - #include - #include -diff --git a/lib/safe_macros.c b/lib/safe_macros.c -index a5b6bc504..20d01d304 100644 ---- a/lib/safe_macros.c -+++ b/lib/safe_macros.c -@@ -11,7 +11,6 @@ - #include - #include - #include --#include - #include - #include - #include -@@ -23,6 +22,7 @@ - #include - #include "test.h" - #include "safe_macros.h" -+#include "lapi/sysinfo.h" - - char *safe_basename(const char *file, const int lineno, - void (*cleanup_fn) (void), char *path) -diff --git a/lib/tst_memutils.c b/lib/tst_memutils.c -index dd09db490..085392365 100644 ---- a/lib/tst_memutils.c -+++ b/lib/tst_memutils.c -@@ -5,11 +5,11 @@ - - #include - #include --#include - #include - - #define TST_NO_DEFAULT_MAIN - #include "tst_test.h" -+#include "lapi/sysinfo.h" - - #define BLOCKSIZE (16 * 1024 * 1024) - -diff --git a/testcases/kernel/mem/mtest01/mtest01.c b/testcases/kernel/mem/mtest01/mtest01.c -index 9676ea4b5..33b2ac822 100644 ---- a/testcases/kernel/mem/mtest01/mtest01.c -+++ b/testcases/kernel/mem/mtest01/mtest01.c -@@ -20,7 +20,6 @@ - */ - - #include --#include - #include - #include - #include -@@ -29,6 +28,7 @@ - #include - - #include "lapi/abisize.h" -+#include "lapi/sysinfo.h" - #include "tst_test.h" - - #define FIVE_HUNDRED_MB (500ULL*1024*1024) -diff --git a/testcases/kernel/syscalls/madvise/madvise06.c b/testcases/kernel/syscalls/madvise/madvise06.c -index 962554163..aa4d3bc91 100644 ---- a/testcases/kernel/syscalls/madvise/madvise06.c -+++ b/testcases/kernel/syscalls/madvise/madvise06.c -@@ -41,7 +41,7 @@ - #include - #include - #include --#include -+#include "lapi/sysinfo.h" - #include "tst_test.h" - - #define CHUNK_SZ (400*1024*1024L) -diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo01.c b/testcases/kernel/syscalls/sysinfo/sysinfo01.c -index 2ea44a2be..a95066bf5 100644 ---- a/testcases/kernel/syscalls/sysinfo/sysinfo01.c -+++ b/testcases/kernel/syscalls/sysinfo/sysinfo01.c -@@ -69,9 +69,9 @@ - #include - #include - #include --#include - - #include "test.h" -+#include "lapi/sysinfo.h" - - void setup(); - void cleanup(); -diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo02.c b/testcases/kernel/syscalls/sysinfo/sysinfo02.c -index 678b8f1d3..5ce65d20e 100644 ---- a/testcases/kernel/syscalls/sysinfo/sysinfo02.c -+++ b/testcases/kernel/syscalls/sysinfo/sysinfo02.c -@@ -65,10 +65,10 @@ - #include - #include - #include --#include - #include - - #include "test.h" -+#include "lapi/sysinfo.h" - - #define INVALID_ADDRESS ((uintptr_t)-1) - -diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo03.c b/testcases/kernel/syscalls/sysinfo/sysinfo03.c -index af7cb6421..3b61a05b1 100644 ---- a/testcases/kernel/syscalls/sysinfo/sysinfo03.c -+++ b/testcases/kernel/syscalls/sysinfo/sysinfo03.c -@@ -13,9 +13,9 @@ - - */ - --#include - #include "lapi/namespaces_constants.h" - #include "lapi/posix_clocks.h" -+#include "lapi/sysinfo.h" - #include "tst_test.h" - - static int offsets[] = { --- -2.30.0 - diff --git a/buildroot-2021.05/package/ltp-testsuite/Config.in b/buildroot-2021.05/package/ltp-testsuite/Config.in deleted file mode 100644 index 32e1b6ad..00000000 --- a/buildroot-2021.05/package/ltp-testsuite/Config.in +++ /dev/null @@ -1,26 +0,0 @@ -config BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS - bool - # Needs __sync*() built-ins for 4-byte data, except on a few - # architectures for which a specific implementation is - # provided in ltp-testsuite - default y if BR2_TOOLCHAIN_HAS_SYNC_4 - default y if BR2_arc - # does not build on nios2, cachectl.h issue - depends on !BR2_nios2 - -config BR2_PACKAGE_LTP_TESTSUITE - bool "ltp-testsuite" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS - select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC - help - The Linux Test Project provides a huge testsuite for Linux. - - http://linux-test-project.github.io - -comment "ltp-testsuite needs a toolchain w/ NPTL" - depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL diff --git a/buildroot-2021.05/package/ltp-testsuite/ltp-testsuite.hash b/buildroot-2021.05/package/ltp-testsuite/ltp-testsuite.hash deleted file mode 100644 index f0b2c897..00000000 --- a/buildroot-2021.05/package/ltp-testsuite/ltp-testsuite.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From: https://github.com/linux-test-project/ltp/releases/download/20210121/ltp-full-20210121.tar.xz.sha1 -sha1 ac9c1c711aed4319c5fbd0b665d36f75236a4ec2 ltp-full-20210121.tar.xz -# Locally computed -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/ltp-testsuite/ltp-testsuite.mk b/buildroot-2021.05/package/ltp-testsuite/ltp-testsuite.mk deleted file mode 100644 index 43ee134d..00000000 --- a/buildroot-2021.05/package/ltp-testsuite/ltp-testsuite.mk +++ /dev/null @@ -1,94 +0,0 @@ -################################################################################ -# -# ltp-testsuite -# -################################################################################ - -LTP_TESTSUITE_VERSION = 20210121 -LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz -LTP_TESTSUITE_SITE = https://github.com/linux-test-project/ltp/releases/download/$(LTP_TESTSUITE_VERSION) - -LTP_TESTSUITE_LICENSE = GPL-2.0, GPL-2.0+ -LTP_TESTSUITE_LICENSE_FILES = COPYING - -LTP_TESTSUITE_CONF_OPTS += \ - --with-realtime-testsuite --with-open-posix-testsuite \ - --disable-metadata - -ifeq ($(BR2_LINUX_KERNEL),y) -LTP_TESTSUITE_DEPENDENCIES += linux -LTP_TESTSUITE_MAKE_ENV += $(LINUX_MAKE_FLAGS) -LTP_TESTSUITE_CONF_OPTS += --with-linux-dir=$(LINUX_DIR) -else -LTP_TESTSUITE_CONF_OPTS += --without-modules -endif - -# We change the prefix to a custom one, otherwise we get scripts and -# directories directly in /usr, such as /usr/runalltests.sh -LTP_TESTSUITE_CONF_OPTS += --prefix=/usr/lib/ltp-testsuite - -# Needs libcap with file attrs which needs attr, so both required -ifeq ($(BR2_PACKAGE_LIBCAP)$(BR2_PACKAGE_ATTR),yy) -LTP_TESTSUITE_DEPENDENCIES += libcap -else -LTP_TESTSUITE_CONF_ENV += ac_cv_lib_cap_cap_compare=no -endif - -# No explicit enable/disable options -ifeq ($(BR2_PACKAGE_NUMACTL),y) -LTP_TESTSUITE_DEPENDENCIES += numactl -else -LTP_TESTSUITE_CONF_ENV += have_numa_headers=no -endif - -# ltp-testsuite uses , which isn't compatible with largefile -# support. -LTP_TESTSUITE_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS)) -LTP_TESTSUITE_CPPFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS)) -LTP_TESTSUITE_LIBS = - -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -LTP_TESTSUITE_DEPENDENCIES += libtirpc host-pkgconf -LTP_TESTSUITE_CFLAGS += "`$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" -LTP_TESTSUITE_LIBS += "`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`" -endif - -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) -LTP_TESTSUITE_DEPENDENCIES += musl-fts -LTP_TESTSUITE_LIBS += -lfts -endif - -LTP_TESTSUITE_CONF_ENV += \ - CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \ - CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \ - LIBS="$(LTP_TESTSUITE_LIBS)" \ - SYSROOT="$(STAGING_DIR)" - -# uclibc: bessel support normally not enabled -LTP_TESTSUITE_UNSUPPORTED_TEST_CASES_$(BR2_TOOLCHAIN_USES_UCLIBC) += \ - testcases/misc/math/float/bessel/ \ - testcases/misc/math/float/float_bessel.c - -LTP_TESTSUITE_UNSUPPORTED_TEST_CASES_$(BR2_TOOLCHAIN_USES_MUSL) += \ - testcases/kernel/sched/process_stress/process.c \ - testcases/kernel/syscalls/confstr/confstr01.c \ - testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \ - testcases/kernel/syscalls/getcontext/getcontext01.c \ - testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \ - testcases/kernel/syscalls/timer_create/timer_create01.c \ - testcases/kernel/syscalls/timer_create/timer_create03.c \ - utils/benchmark/ebizzy-0.3 - -# ldd command build system tries to build a shared library unconditionally. -LTP_TESTSUITE_UNSUPPORTED_TEST_CASES_$(BR2_STATIC_LIBS) += \ - testcases/commands/ldd - -define LTP_TESTSUITE_REMOVE_UNSUPPORTED_TESTCASES - $(foreach f,$(LTP_TESTSUITE_UNSUPPORTED_TEST_CASES_y), - rm -rf $(@D)/$(f) - ) -endef - -LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_UNSUPPORTED_TESTCASES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lttng-libust/lttng-libust.hash b/buildroot-2021.05/package/lttng-libust/lttng-libust.hash deleted file mode 100644 index 40bd870e..00000000 --- a/buildroot-2021.05/package/lttng-libust/lttng-libust.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://lttng.org/files/lttng-ust/lttng-ust-2.12.1.tar.bz2.sha256 -sha256 48a3948b168195123a749d22818809bd25127bb5f1a66458c3c012b210d2a051 lttng-ust-2.12.1.tar.bz2 - -# Hash for license file -sha256 74125a84c2166300776980166e29de40d5f98d1a75e487f0bbc0c03b4cd2342e COPYING diff --git a/buildroot-2021.05/package/lttng-libust/lttng-libust.mk b/buildroot-2021.05/package/lttng-libust/lttng-libust.mk deleted file mode 100644 index 608e8781..00000000 --- a/buildroot-2021.05/package/lttng-libust/lttng-libust.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# lttng-libust -# -################################################################################ - -LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust -LTTNG_LIBUST_VERSION = 2.12.1 -LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2 -LTTNG_LIBUST_LICENSE = LGPL-2.1, MIT (system headers), GPL-2.0 (liblttng-ust-ctl/ustctl.c used by lttng-sessiond) -LTTNG_LIBUST_LICENSE_FILES = COPYING -LTTNG_LIBUST_INSTALL_STAGING = YES -LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux -LTTNG_LIBUST_CONF_OPTS = \ - --disable-man-pages \ - --disable-examples \ - --with-lttng-system-rundir=/run/lttng - -ifeq ($(BR2_PACKAGE_PYTHON),y) -LTTNG_LIBUST_DEPENDENCIES += python -LTTNG_LIBUST_CONF_OPTS += --enable-python-agent -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -LTTNG_LIBUST_DEPENDENCIES += python3 -LTTNG_LIBUST_CONF_OPTS += --enable-python-agent -else -LTTNG_LIBUST_CONF_ENV = am_cv_pathless_PYTHON="none" -LTTNG_LIBUST_CONF_OPTS += --disable-python-agent -endif - -ifeq ($(BR2_PACKAGE_NUMACTL),y) -LTTNG_LIBUST_DEPENDENCIES += numactl -LTTNG_LIBUST_CONF_OPTS += --enable-numa -else -LTTNG_LIBUST_CONF_OPTS += --disable-numa -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lttng-modules/Config.in b/buildroot-2021.05/package/lttng-modules/Config.in deleted file mode 100644 index e8ba9bad..00000000 --- a/buildroot-2021.05/package/lttng-modules/Config.in +++ /dev/null @@ -1,37 +0,0 @@ -config BR2_PACKAGE_LTTNG_MODULES - bool "lttng-modules" - depends on BR2_LINUX_KERNEL - help - Linux kernel modules for the LTTng 2.x kernel tracing - infrastructure. - - Make sure your target kernel has the following config - options enabled: - - * CONFIG_MODULES: loadable module support - * CONFIG_KALLSYMS: this is necessary until the few - required missing symbols are exported to GPL - modules from mainline - * CONFIG_HIGH_RES_TIMERS: needed for LTTng 2.x - clock source - * CONFIG_TRACEPOINTS: kernel tracepoint instrumentation - (enabled as a side-effect of any of the - perf/ftrace/blktrace instrumentation features) - - The following kernel configuration options will - affect the features available from LTTng: - - * CONFIG_HAVE_SYSCALL_TRACEPOINTS: system call tracing - * CONFIG_PERF_EVENTS: performance counters - * CONFIG_EVENT_TRACING: needed to allow block layer tracing - * CONFIG_KPROBES: dynamic probes - * CONFIG_KRETPROBES: dynamic function entry/return probes - * CONFIG_KALLSYMS_ALL: state dump of mapping between block - device number and name - - The packaged version is compatible with Linux 2.6.38 to 3.16. - - http://lttng.org - -comment "lttng-modules needs a Linux kernel to be built" - depends on !BR2_LINUX_KERNEL diff --git a/buildroot-2021.05/package/lttng-modules/lttng-modules.hash b/buildroot-2021.05/package/lttng-modules/lttng-modules.hash deleted file mode 100644 index f04247ab..00000000 --- a/buildroot-2021.05/package/lttng-modules/lttng-modules.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://lttng.org/files/lttng-modules/lttng-modules-2.11.0.tar.bz2.sha256 -sha256 98af92d8c2e00f4eb63bc637a6967103cf6997434493f36e7a535a491e4fad5f lttng-modules-2.11.0.tar.bz2 - -# Hash for license files -sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 lgpl-2.1.txt -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 gpl-2.0.txt -sha256 2f801b7c2494850c3d91da820eb230502dc0192c9d0db024db37ec08d0be1434 mit-license.txt -sha256 6334b377a5bd56b56a1e8a495830f2d28ed1b5cbedc7493aec9fba979efcdfe1 LICENSE diff --git a/buildroot-2021.05/package/lttng-modules/lttng-modules.mk b/buildroot-2021.05/package/lttng-modules/lttng-modules.mk deleted file mode 100644 index b8f9be86..00000000 --- a/buildroot-2021.05/package/lttng-modules/lttng-modules.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# lttng-modules -# -################################################################################ - -LTTNG_MODULES_VERSION = 2.11.0 -LTTNG_MODULES_SITE = http://lttng.org/files/lttng-modules -LTTNG_MODULES_SOURCE = lttng-modules-$(LTTNG_MODULES_VERSION).tar.bz2 -LTTNG_MODULES_LICENSE = LGPL-2.1/GPL-2.0 (kernel modules), MIT (lib/bitfield.h, lib/prio_heap/*) -LTTNG_MODULES_LICENSE_FILES = lgpl-2.1.txt gpl-2.0.txt mit-license.txt LICENSE -LTTNG_MODULES_MODULE_MAKE_OPTS = CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/lttng-tools/0001-configure.ac-add-disable-tests.patch b/buildroot-2021.05/package/lttng-tools/0001-configure.ac-add-disable-tests.patch deleted file mode 100644 index f569c7ec..00000000 --- a/buildroot-2021.05/package/lttng-tools/0001-configure.ac-add-disable-tests.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 8c3a5d0921090e2fc3c4e2561509d23eb9ffa6dd Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 2 Apr 2021 21:07:07 +0200 -Subject: [PATCH] configure.ac: add --disable-tests - -Allow the user to explicitly disable tests - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/lttng/lttng-tools/pull/162] ---- - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 04f9cef4..372cdf3d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -862,6 +862,8 @@ AC_ARG_ENABLE([bin-lttng-sessiond], AS_HELP_STRING([--disable-bin-lttng-sessiond - [Disable the build of lttng-sessiond binaries])) - AC_ARG_ENABLE([extras], AS_HELP_STRING([--disable-extras], - [Disable the build of the extra components])) -+AC_ARG_ENABLE([tests], AS_HELP_STRING([--disable-tests], -+ [Disable the build of the test components])) - - - # Always build libconfig since it a dependency of libcommon -@@ -1027,6 +1029,7 @@ AM_CONDITIONAL([BUILD_BIN_LTTNG_SESSIOND], [test x$enable_bin_lttng_sessiond != - - # Export the tests and extras build conditions. - AS_IF([\ -+test "x$enable_tests" != "xno" && \ - test "x$enable_bin_lttng" != "xno" && \ - test "x$enable_bin_lttng_consumerd" != "xno" && \ - test "x$enable_bin_lttng_crash" != "xno" && \ --- -2.30.2 - diff --git a/buildroot-2021.05/package/lttng-tools/lttng-tools.hash b/buildroot-2021.05/package/lttng-tools/lttng-tools.hash deleted file mode 100644 index a94ecc4a..00000000 --- a/buildroot-2021.05/package/lttng-tools/lttng-tools.hash +++ /dev/null @@ -1,10 +0,0 @@ -# From https://lttng.org/files/lttng-tools/lttng-tools-2.12.3.tar.bz2.sha256 -sha256 2890da230edd523fcf497e9eb28133b7606d64fa01bcbffadbfcba42104db153 lttng-tools-2.12.3.tar.bz2 - -# Locally computed -sha256 068e55c7dbe597400199aee75ac5e71bdb2ca88c4c9a4cfa8e1fbc61f933eda5 LICENSE -sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd LICENSES/BSD-2-Clause -sha256 7a83b1aeb460458db9a4bd521d7f237c45b1650f6e60ea5ffc71e49472454de3 LICENSES/BSD-3-Clause -sha256 6841c85b94f9dab319356e3aaf9e969fcedad51d3aaadf665bf86f34f4186b62 LICENSES/GPL-2.0 -sha256 d72921266bc8452a8789f8a04a82755373990d00b7e0b0f1a8edb8f854e94d1c LICENSES/LGPL-2.1 -sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/MIT diff --git a/buildroot-2021.05/package/lttng-tools/lttng-tools.mk b/buildroot-2021.05/package/lttng-tools/lttng-tools.mk deleted file mode 100644 index fdc5c33b..00000000 --- a/buildroot-2021.05/package/lttng-tools/lttng-tools.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# lttng-tools -# -################################################################################ - -LTTNG_TOOLS_VERSION = 2.12.3 -LTTNG_TOOLS_SITE = https://lttng.org/files/lttng-tools -LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2 -LTTNG_TOOLS_INSTALL_STAGING = YES -LTTNG_TOOLS_LICENSE = GPL-2.0, LGPL-2.1 (include/lttng/*, src/lib/lttng-ctl/*) -LTTNG_TOOLS_LICENSE_FILES = LICENSE $(addprefix LICENSES/,BSD-2-Clause BSD-3-Clause GPL-2.0 LGPL-2.1 MIT) -LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt util-linux -# We're patching configure.ac -LTTNG_TOOLS_AUTORECONF = YES -LTTNG_TOOLS_CONF_OPTS = \ - --disable-man-pages \ - --disable-tests \ - --with-lttng-system-rundir=/run/lttng - -ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y) -LTTNG_TOOLS_CONF_OPTS += --with-lttng-ust -LTTNG_TOOLS_DEPENDENCIES += lttng-libust -else -LTTNG_TOOLS_CONF_OPTS += --without-lttng-ust -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lua-livr/lua-livr.hash b/buildroot-2021.05/package/lua-livr/lua-livr.hash deleted file mode 100644 index a891420b..00000000 --- a/buildroot-2021.05/package/lua-livr/lua-livr.hash +++ /dev/null @@ -1,3 +0,0 @@ -# computed by luarocks/buildroot -sha256 a3890301ed5f393b585cab26ac944eddc9df41bfa2ab87c11785925193453493 lua-livr-0.2.1-1.src.rock -sha256 8f09089acf52cfabcc2a44ec3a492dc261e0ae9df3c618f43b33805e696e02d8 lua-LIVR-0.2.1/COPYRIGHT diff --git a/buildroot-2021.05/package/lua-livr/lua-livr.mk b/buildroot-2021.05/package/lua-livr/lua-livr.mk deleted file mode 100644 index 25034b89..00000000 --- a/buildroot-2021.05/package/lua-livr/lua-livr.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# lua-livr -# -################################################################################ - -LUA_LIVR_VERSION = 0.2.1-1 -LUA_LIVR_NAME_UPSTREAM = lua-LIVR -LUA_LIVR_LICENSE = MIT -LUA_LIVR_LICENSE_FILES = $(LUA_LIVR_SUBDIR)/COPYRIGHT - -$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-rotas/lua-rotas.hash b/buildroot-2021.05/package/lua-rotas/lua-rotas.hash deleted file mode 100644 index 6f8d0df4..00000000 --- a/buildroot-2021.05/package/lua-rotas/lua-rotas.hash +++ /dev/null @@ -1,3 +0,0 @@ -# computed by luarocks/buildroot -sha256 be47e72ec703ffc319fe4fd539b531bbe8a8c0c52e0cc9774273028f1599a0cf lua-rotas-0.2.0-1.src.rock -sha256 4a7fdc0e44509d79c9bf18560cfb98368f70bb3832abe07e3cdba5c06466b0bb lua-Rotas-0.2.0/COPYRIGHT diff --git a/buildroot-2021.05/package/lua-rotas/lua-rotas.mk b/buildroot-2021.05/package/lua-rotas/lua-rotas.mk deleted file mode 100644 index 6ace963a..00000000 --- a/buildroot-2021.05/package/lua-rotas/lua-rotas.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# lua-rotas -# -################################################################################ - -LUA_ROTAS_VERSION = 0.2.0-1 -LUA_ROTAS_NAME_UPSTREAM = lua-Rotas -LUA_ROTAS_LICENSE = MIT -LUA_ROTAS_LICENSE_FILES = $(LUA_ROTAS_SUBDIR)/COPYRIGHT - -$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-silva/lua-silva.hash b/buildroot-2021.05/package/lua-silva/lua-silva.hash deleted file mode 100644 index 7bb04da9..00000000 --- a/buildroot-2021.05/package/lua-silva/lua-silva.hash +++ /dev/null @@ -1,3 +0,0 @@ -# computed by luarocks/buildroot -sha256 89cfdf6c67b69ff5e18591fb79cfe10c7e5f4923494ed92f426f44e475a9b522 lua-silva-0.1.6-1.src.rock -sha256 166beeb47e49a35b3ff8c6af91a399046a9cc5e29a8072618b4ca90f5b7a6c95 lua-Silva-0.1.6/COPYRIGHT diff --git a/buildroot-2021.05/package/lua-silva/lua-silva.mk b/buildroot-2021.05/package/lua-silva/lua-silva.mk deleted file mode 100644 index 949e2d36..00000000 --- a/buildroot-2021.05/package/lua-silva/lua-silva.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# lua-silva -# -################################################################################ - -LUA_SILVA_VERSION = 0.1.6-1 -LUA_SILVA_NAME_UPSTREAM = lua-Silva -LUA_SILVA_LICENSE = MIT -LUA_SILVA_LICENSE_FILES = $(LUA_SILVA_SUBDIR)/COPYRIGHT - -$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-testmore/lua-testmore.hash b/buildroot-2021.05/package/lua-testmore/lua-testmore.hash deleted file mode 100644 index 752fc17f..00000000 --- a/buildroot-2021.05/package/lua-testmore/lua-testmore.hash +++ /dev/null @@ -1,3 +0,0 @@ -# computed by luarocks/buildroot -sha256 4875103611683b13fdd0bc3658c0cbe302b4db491043a03ea002726810d371c5 lua-testmore-0.3.5-2.src.rock -sha256 0fa63370a149eda33e25987dd63bd096a616a3e47d2cfc45ca2fd66e8d2bfb35 lua-TestMore-0.3.5/COPYRIGHT diff --git a/buildroot-2021.05/package/lua-testmore/lua-testmore.mk b/buildroot-2021.05/package/lua-testmore/lua-testmore.mk deleted file mode 100644 index 5d6dc053..00000000 --- a/buildroot-2021.05/package/lua-testmore/lua-testmore.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# lua-testmore -# -################################################################################ - -LUA_TESTMORE_VERSION = 0.3.5-2 -LUA_TESTMORE_NAME_UPSTREAM = lua-TestMore -LUA_TESTMORE_LICENSE = MIT -LUA_TESTMORE_LICENSE_FILES = $(LUA_TESTMORE_SUBDIR)/COPYRIGHT - -$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua/5.4.3/0011-linenoise.patch b/buildroot-2021.05/package/lua/5.4.3/0011-linenoise.patch deleted file mode 100644 index 7b9d6d76..00000000 --- a/buildroot-2021.05/package/lua/5.4.3/0011-linenoise.patch +++ /dev/null @@ -1,25 +0,0 @@ -Add support of linenoise (replace readline) - -see discussion, http://lua-users.org/lists/lua-l/2010-03/msg00879.html - -Signed-off-by: Francois Perrad - -Index: b/src/lua.c -=================================================================== ---- a/src/lua.c -+++ b/src/lua.c -@@ -421,6 +421,14 @@ - #define lua_saveline(L,line) ((void)L, add_history(line)) - #define lua_freeline(L,b) ((void)L, free(b)) - -+#elif defined(LUA_USE_LINENOISE) -+ -+#include -+#define lua_initreadline(L) ((void)L) -+#define lua_readline(L,b,p) ((void)L, ((b)=linenoise(p)) != NULL) -+#define lua_saveline(L,line) ((void)L, linenoiseHistoryAdd(line)) -+#define lua_freeline(L,b) ((void)L, free(b)) -+ - #else /* }{ */ - - #define lua_initreadline(L) ((void)L) diff --git a/buildroot-2021.05/package/lua/5.4.3/lua.hash b/buildroot-2021.05/package/lua/5.4.3/lua.hash deleted file mode 100644 index be360483..00000000 --- a/buildroot-2021.05/package/lua/5.4.3/lua.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Hashes from: https://www.lua.org/ftp/ -md5 ef63ed2ecfb713646a7fcc583cf5f352 lua-5.4.3.tar.gz -sha1 1dda2ef23a9828492b4595c0197766de6e784bc7 lua-5.4.3.tar.gz - -# Locally computed -sha256 d205bfea131113bcdd64d4ebe4a50ce34063b42bad24b93e44b4b0d853ae4d49 doc/readme.html diff --git a/buildroot-2021.05/package/lua/Config.in b/buildroot-2021.05/package/lua/Config.in deleted file mode 100644 index 5d4cee5d..00000000 --- a/buildroot-2021.05/package/lua/Config.in +++ /dev/null @@ -1,70 +0,0 @@ -config BR2_PACKAGE_LUA - bool "lua" - select BR2_PACKAGE_HAS_LUAINTERPRETER - help - Lua is a powerful, fast, light-weight, embeddable scripting - language. - - http://www.lua.org/ - -if BR2_PACKAGE_LUA - -config BR2_PACKAGE_PROVIDES_LUAINTERPRETER - default "lua" - -choice - prompt "Lua Version" - default BR2_PACKAGE_LUA_5_3 - help - Select the version of Lua API/ABI you wish to use. - -config BR2_PACKAGE_LUA_5_1 - bool "Lua 5.1.x" - select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - -config BR2_PACKAGE_LUA_5_3 - bool "Lua 5.3.x" - select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_3 - -config BR2_PACKAGE_LUA_5_4 - bool "Lua 5.4.x" - select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_4 - -endchoice - -if BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4 -config BR2_PACKAGE_LUA_32BITS - bool "Use 32 bit numbers" - default y if !BR2_ARCH_IS_64 - help - Use a 32 bit data type for numbers / integers instead of the - default 64 bit type. This option is particularly attractive - for small machines and embedded systems. - -endif - -choice - prompt "Lua command-line editing" - default BR2_PACKAGE_LUA_EDITING_NONE - -config BR2_PACKAGE_LUA_EDITING_NONE - bool "none" - help - None. - -config BR2_PACKAGE_LUA_READLINE - bool "readline support" - select BR2_PACKAGE_READLINE - select BR2_PACKAGE_NCURSES - help - Enables command-line editing in the Lua interpreter. - -config BR2_PACKAGE_LUA_LINENOISE - bool "linenoise support" - select BR2_PACKAGE_LINENOISE - help - Enables command-line editing in the Lua interpreter. - -endchoice - -endif diff --git a/buildroot-2021.05/package/lua/lua.mk b/buildroot-2021.05/package/lua/lua.mk deleted file mode 100644 index b385b78b..00000000 --- a/buildroot-2021.05/package/lua/lua.mk +++ /dev/null @@ -1,113 +0,0 @@ -################################################################################ -# -# lua -# -################################################################################ - -ifeq ($(BR2_PACKAGE_LUA_5_4),y) -LUA_VERSION = 5.4.3 -else ifeq ($(BR2_PACKAGE_LUA_5_3),y) -LUA_VERSION = 5.3.6 -else -LUA_VERSION = 5.1.5 -endif -LUA_SITE = https://www.lua.org/ftp -LUA_INSTALL_STAGING = YES -LUA_LICENSE = MIT -ifeq ($(BR2_PACKAGE_LUA_5_3)$(BR2_PACKAGE_LUA_5_4),y) -LUA_LICENSE_FILES = doc/readme.html -else -LUA_LICENSE_FILES = COPYRIGHT -endif -LUA_CPE_ID_VENDOR = lua - -LUA_PROVIDES = luainterpreter - -LUA_CFLAGS = -Wall -fPIC -DLUA_USE_POSIX - -ifeq ($(BR2_PACKAGE_LUA_5_4),y) -LUA_CFLAGS += -DLUA_COMPAT_5_3 -else ifeq ($(BR2_PACKAGE_LUA_5_3),y) -LUA_CFLAGS += -DLUA_COMPAT_5_2 -endif - -ifeq ($(BR2_STATIC_LIBS),y) -LUA_BUILDMODE = static -else -LUA_BUILDMODE = dynamic -LUA_CFLAGS += -DLUA_USE_DLOPEN -LUA_MYLIBS += -ldl -endif - -ifeq ($(BR2_PACKAGE_LUA_READLINE),y) -LUA_DEPENDENCIES = readline ncurses -LUA_MYLIBS += -lreadline -lhistory -lncurses -LUA_CFLAGS += -DLUA_USE_READLINE -else -ifeq ($(BR2_PACKAGE_LUA_LINENOISE),y) -LUA_DEPENDENCIES = linenoise -LUA_MYLIBS += -llinenoise -LUA_CFLAGS += -DLUA_USE_LINENOISE -endif -endif - -ifeq ($(BR2_PACKAGE_LUA_32BITS),y) -define LUA_32BITS_LUACONF - $(SED) 's/\/\* #define LUA_32BITS \*\//#define LUA_32BITS/' $(@D)/src/luaconf.h -endef - -LUA_POST_PATCH_HOOKS += LUA_32BITS_LUACONF -endif - -define HOST_LUA_LUACONF - $(SED) 's|#define LUA_ROOT.*|#define LUA_ROOT "$(HOST_DIR)/usr/"|' $(@D)/src/luaconf.h -endef -HOST_LUA_POST_PATCH_HOOKS += HOST_LUA_LUACONF - -HOST_LUA_CFLAGS = -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -ifeq ($(BR2_PACKAGE_LUA_5_3),y) -HOST_LUA_CFLAGS += -DLUA_COMPAT_5_2 -endif -HOST_LUA_MYLIBS = -ldl - -define LUA_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) \ - CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \ - CFLAGS="$(TARGET_CFLAGS) $(LUA_CFLAGS)" \ - MYLIBS="$(LUA_MYLIBS)" AR="$(TARGET_CROSS)ar rcu" \ - MYLDFLAGS="$(TARGET_LDFLAGS)" \ - BUILDMODE=$(LUA_BUILDMODE) \ - PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all - sed -e "s/@VERSION@/$(LUA_VERSION)/;s/@ABI@/$(LUAINTERPRETER_ABIVER)/;s/@MYLIBS@/$(LUA_MYLIBS)/" \ - package/lua/lua.pc.in > $(@D)/lua.pc -endef - -define HOST_LUA_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) \ - CFLAGS="$(HOST_LUA_CFLAGS)" \ - MYLDFLAGS="$(HOST_LDFLAGS)" \ - MYLIBS="$(HOST_LUA_MYLIBS)" \ - BUILDMODE=dynamic \ - PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all - sed -e "s/@VERSION@/$(LUA_VERSION)/;s/@ABI@/$(LUAINTERPRETER_ABIVER)/;s/@MYLIBS@/$(HOST_LUA_MYLIBS)/" \ - package/lua/lua.pc.in > $(@D)/lua.pc -endef - -define LUA_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) INSTALL_TOP="$(STAGING_DIR)/usr" -C $(@D) install - $(INSTALL) -m 0644 -D $(@D)/lua.pc \ - $(STAGING_DIR)/usr/lib/pkgconfig/lua.pc -endef - -define LUA_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) INSTALL_TOP="$(TARGET_DIR)/usr" -C $(@D) install -endef - -define HOST_LUA_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) INSTALL_TOP="$(HOST_DIR)" -C $(@D) install - $(INSTALL) -m 0644 -D $(@D)/lua.pc \ - $(HOST_DIR)/lib/pkgconfig/lua.pc -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/luajit/Config.in b/buildroot-2021.05/package/luajit/Config.in deleted file mode 100644 index eb3eb019..00000000 --- a/buildroot-2021.05/package/luajit/Config.in +++ /dev/null @@ -1,45 +0,0 @@ -config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS - bool - default y if BR2_i386 || \ - (BR2_x86_64 && BR2_HOSTARCH='x86_64') || \ - BR2_powerpc || BR2_arm || BR2_armeb || BR2_aarch64 || \ - ((BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT && \ - !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6) - # -m32 flag is used for 32bit builds and host-luajit has - # limited architecture support - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - -config BR2_PACKAGE_LUAJIT - bool "luajit" - depends on !BR2_STATIC_LIBS # dlopen - # Luajit is only available for some target architectures, and - # has some complexity wrt 32/64. See luajit.mk for details. - depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS - # luajit.mk uses the "-m32" compiler option to build 32bit - # binaries, so check if that option is supported. See - # luajit.mk for details. - select BR2_PACKAGE_HAS_LUAINTERPRETER - select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64 - help - LuaJIT implements the full set of language features defined - by Lua 5.1. The virtual machine (VM) is API- and - ABI-compatible to the standard Lua interpreter and can be - deployed as a drop-in replacement. - - https://github.com/moonjit/moonjit - -if BR2_PACKAGE_LUAJIT - -config BR2_PACKAGE_PROVIDES_LUAINTERPRETER - default "luajit" - -config BR2_PACKAGE_LUAJIT_COMPAT52 - bool "Lua 5.2 compatibility" - help - Compile with Lua 5.2 compatibility. - -endif - -comment "luajit needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/luajit/luajit.hash b/buildroot-2021.05/package/luajit/luajit.hash deleted file mode 100644 index 532ec0b2..00000000 --- a/buildroot-2021.05/package/luajit/luajit.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 c3de8e29aa617fc594c043f57636ab9ad71af2b4a3a513932b05f5cdaa4320b2 luajit-2.1.2.tar.gz - -# Locally calculated -sha256 aa64a7706ded773011b933f4230d7b35ba662598197f82ac2c7bca62abdaa4d7 COPYRIGHT diff --git a/buildroot-2021.05/package/luajit/luajit.mk b/buildroot-2021.05/package/luajit/luajit.mk deleted file mode 100644 index defa21dd..00000000 --- a/buildroot-2021.05/package/luajit/luajit.mk +++ /dev/null @@ -1,78 +0,0 @@ -################################################################################ -# -# luajit -# -################################################################################ - -LUAJIT_VERSION = 2.1.2 -LUAJIT_SITE = $(call github,moonjit,moonjit,$(LUAJIT_VERSION)) -LUAJIT_LICENSE = MIT -LUAJIT_LICENSE_FILES = COPYRIGHT - -LUAJIT_INSTALL_STAGING = YES - -LUAJIT_PROVIDES = luainterpreter - -ifeq ($(BR2_PACKAGE_LUAJIT_COMPAT52),y) -LUAJIT_XCFLAGS += -DLUAJIT_ENABLE_LUA52COMPAT -endif - -# The luajit build procedure requires the host compiler to have the -# same bitness as the target compiler. Therefore, on a x86 build -# machine, we can't build luajit for x86_64, which is checked in -# Config.in. When the target is a 32 bits target, we pass -m32 to -# ensure that even on 64 bits build machines, a compiler of the same -# bitness is used. Of course, this assumes that the 32 bits multilib -# libraries are installed. -ifeq ($(BR2_ARCH_IS_64),y) -LUAJIT_HOST_CC = $(HOSTCC) -else -LUAJIT_HOST_CC = $(HOSTCC) -m32 -endif - -# We unfortunately can't use TARGET_CONFIGURE_OPTS, because the luajit -# build system uses non conventional variable names. -define LUAJIT_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" \ - STATIC_CC="$(TARGET_CC)" \ - DYNAMIC_CC="$(TARGET_CC) -fPIC" \ - TARGET_LD="$(TARGET_CC)" \ - TARGET_AR="$(TARGET_AR) rcus" \ - TARGET_STRIP=true \ - TARGET_CFLAGS="$(TARGET_CFLAGS)" \ - TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \ - HOST_CC="$(LUAJIT_HOST_CC)" \ - HOST_CFLAGS="$(HOST_CFLAGS)" \ - HOST_LDFLAGS="$(HOST_LDFLAGS)" \ - BUILDMODE=dynamic \ - XCFLAGS=$(LUAJIT_XCFLAGS) \ - -C $(@D) amalg -endef - -define LUAJIT_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" DESTDIR="$(STAGING_DIR)" LDCONFIG=true -C $(@D) install -endef - -define LUAJIT_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" LDCONFIG=true -C $(@D) install -endef - -define LUAJIT_INSTALL_SYMLINK - ln -fs luajit $(TARGET_DIR)/usr/bin/lua -endef -LUAJIT_POST_INSTALL_TARGET_HOOKS += LUAJIT_INSTALL_SYMLINK - -# host-efl package needs host-luajit to be linked dynamically. -define HOST_LUAJIT_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) PREFIX="$(HOST_DIR)" BUILDMODE=dynamic \ - TARGET_LDFLAGS="$(HOST_LDFLAGS)" \ - XCFLAGS=$(LUAJIT_XCFLAGS) \ - -C $(@D) amalg -endef - -define HOST_LUAJIT_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) PREFIX="$(HOST_DIR)" LDCONFIG=true -C $(@D) install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/lualdap/lualdap.hash b/buildroot-2021.05/package/lualdap/lualdap.hash deleted file mode 100644 index 488deb4e..00000000 --- a/buildroot-2021.05/package/lualdap/lualdap.hash +++ /dev/null @@ -1,3 +0,0 @@ -# computed by luarocks/buildroot -sha256 0fcd82a77b20f7cee00050b63b4241d462564421bbd464f6fd0c1bebc62bff32 lualdap-1.2.6-1.src.rock -sha256 b9b75da18d1e1147ec47bff508ffdce831da07dc371891b9057cf1c422660af4 lualdap/docs/license.md diff --git a/buildroot-2021.05/package/lualdap/lualdap.mk b/buildroot-2021.05/package/lualdap/lualdap.mk deleted file mode 100644 index acfcbdfc..00000000 --- a/buildroot-2021.05/package/lualdap/lualdap.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# lualdap -# -################################################################################ - -LUALDAP_VERSION = 1.2.6-1 -LUALDAP_SUBDIR = lualdap -LUALDAP_LICENSE = MIT -LUALDAP_LICENSE_FILES = $(LUALDAP_SUBDIR)/docs/license.md -LUALDAP_DEPENDENCIES = openldap - -$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lualogging/lualogging.hash b/buildroot-2021.05/package/lualogging/lualogging.hash deleted file mode 100644 index 45f18688..00000000 --- a/buildroot-2021.05/package/lualogging/lualogging.hash +++ /dev/null @@ -1,3 +0,0 @@ -# computed by luarocks/buildroot -sha256 70451dbec500dbc760f0eae666a10b19a0ba9bcbfa5dd8d3134908e5ae6d28b1 lualogging-1.5.1-1.src.rock -sha256 4d95b123e667a13615f567a829aa39211dd55b0b48c9f247bf3fcc5c0b485da7 lualogging/COPYRIGHT diff --git a/buildroot-2021.05/package/lualogging/lualogging.mk b/buildroot-2021.05/package/lualogging/lualogging.mk deleted file mode 100644 index 9c94e588..00000000 --- a/buildroot-2021.05/package/lualogging/lualogging.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# lualogging -# -################################################################################ - -LUALOGGING_VERSION = 1.5.1-1 -LUALOGGING_SUBDIR = lualogging -LUALOGGING_LICENSE = MIT -LUALOGGING_LICENSE_FILES = $(LUALOGGING_SUBDIR)/COPYRIGHT - -$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/luaossl/Config.in b/buildroot-2021.05/package/luaossl/Config.in deleted file mode 100644 index d8763e76..00000000 --- a/buildroot-2021.05/package/luaossl/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_LUAOSSL - bool "luaossl" - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_OPENSSL - help - luaossl is a comprehensive binding to OpenSSL for Lua 5.1, - 5.2, and later. - - It includes support for certificate and key management, - key generation, signature verification, and deep bindings - to the distinguished name, alternative name, and X.509v3 - extension interfaces. It also binds OpenSSL's bignum, message - digest, HMAC, cipher, and CSPRNG interfaces. - - http://25thandclement.com/~william/projects/luaossl.html - -comment "luaossl needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/luaposix/luaposix.hash b/buildroot-2021.05/package/luaposix/luaposix.hash deleted file mode 100644 index 54617853..00000000 --- a/buildroot-2021.05/package/luaposix/luaposix.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 a4edf2f715feff65acb009e8d1689e57ec665eb79bc36a6649fae55eafd56809 luaposix-35.0.tar.gz -sha256 e5d496c903dc3989bb2f6f175cda52d26e3494ad1fdd67ae1c3b3e5f76ffb86f LICENSE diff --git a/buildroot-2021.05/package/luaposix/luaposix.mk b/buildroot-2021.05/package/luaposix/luaposix.mk deleted file mode 100644 index d04881df..00000000 --- a/buildroot-2021.05/package/luaposix/luaposix.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# luaposix -# -################################################################################ - -LUAPOSIX_VERSION = 35.0 -LUAPOSIX_SITE = $(call github,luaposix,luaposix,v$(LUAPOSIX_VERSION)) -LUAPOSIX_LICENSE = MIT -LUAPOSIX_LICENSE_FILES = LICENSE -LUAPOSIX_DEPENDENCIES = luainterpreter host-lua - -define LUAPOSIX_BUILD_CMDS - (cd $(@D); \ - $(LUA_RUN) build-aux/luke \ - CC="$(TARGET_CC)" \ - CFLAGS="$(TARGET_CFLAGS)" \ - LUA_INCDIR=$(STAGING_DIR)/usr/include \ - ) -endef - -define LUAPOSIX_INSTALL_TARGET_CMDS - (cd $(@D); \ - $(LUA_RUN) build-aux/luke install \ - INST_LIBDIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \ - INST_LUADIR="$(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)" \ - ) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/luarocks/luarocks.hash b/buildroot-2021.05/package/luarocks/luarocks.hash deleted file mode 100644 index 42e03921..00000000 --- a/buildroot-2021.05/package/luarocks/luarocks.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 9255d97fee95cec5b54fc6ac718b11bf5029e45bed7873e053314919cd448551 luarocks-3.7.0.tar.gz -sha256 542ad0ee9b8ba582437ca7b4d0959c9b9432f25d2067f144d017188a7a84dd2f COPYING diff --git a/buildroot-2021.05/package/luarocks/luarocks.mk b/buildroot-2021.05/package/luarocks/luarocks.mk deleted file mode 100644 index 28a42192..00000000 --- a/buildroot-2021.05/package/luarocks/luarocks.mk +++ /dev/null @@ -1,53 +0,0 @@ -################################################################################ -# -# luarocks -# -################################################################################ - -LUAROCKS_VERSION = 3.7.0 -LUAROCKS_SITE = http://luarocks.org/releases -LUAROCKS_LICENSE = MIT -LUAROCKS_LICENSE_FILES = COPYING - -HOST_LUAROCKS_DEPENDENCIES = host-luainterpreter - -LUAROCKS_CONFIG_DIR = $(HOST_DIR)/etc -LUAROCKS_CONFIG_FILE_DEFAULT = $(LUAROCKS_CONFIG_DIR)/luarocks/config-$(LUAINTERPRETER_ABIVER).lua -LUAROCKS_CONFIG_FILE = $(LUAROCKS_CONFIG_DIR)/luarocks/config.lua -HOST_LUAROCKS_CONFIG_FILE = $(LUAROCKS_CONFIG_DIR)/luarocks/host-config.lua - -define LUAROCKS_ADDON_EXTRACT - $(INSTALL) -D -m 0644 package/luarocks/buildroot.lua $(@D)/src/luarocks/cmd/external/buildroot.lua -endef -HOST_LUAROCKS_POST_EXTRACT_HOOKS += LUAROCKS_ADDON_EXTRACT - -HOST_LUAROCKS_CONF_OPTS = \ - --prefix=$(HOST_DIR) \ - --sysconfdir=$(LUAROCKS_CONFIG_DIR) \ - --with-lua=$(HOST_DIR) - -define HOST_LUAROCKS_CONFIGURE_CMDS - cd $(@D) && ./configure $(HOST_LUAROCKS_CONF_OPTS) -endef - -define HOST_LUAROCKS_INSTALL_CMDS - rm -f $(LUAROCKS_CONFIG_FILE_DEFAULT) - $(MAKE1) -C $(@D) install - cp $(LUAROCKS_CONFIG_FILE_DEFAULT) $(LUAROCKS_CONFIG_FILE) - echo "-- BR cross-compilation" >> $(LUAROCKS_CONFIG_FILE) - echo "gcc_rpath = false" >> $(LUAROCKS_CONFIG_FILE) - echo "wrap_bin_scripts = false" >> $(LUAROCKS_CONFIG_FILE) - cp $(LUAROCKS_CONFIG_FILE_DEFAULT) $(HOST_LUAROCKS_CONFIG_FILE) - rm -f $(LUAROCKS_CONFIG_FILE_DEFAULT) -endef - -$(eval $(host-generic-package)) - -define LUAROCKS_FINALIZE_TARGET - rm -rf $(TARGET_DIR)/usr/lib/luarocks -endef - -# Apply to global variable directly, as pkg-generic does not -ifneq ($(BR2_PACKAGE_LUAJIT)$(BR2_PACKAGE_LUA),) -TARGET_FINALIZE_HOOKS += LUAROCKS_FINALIZE_TARGET -endif diff --git a/buildroot-2021.05/package/luasec/luasec.hash b/buildroot-2021.05/package/luasec/luasec.hash deleted file mode 100644 index 1ea422aa..00000000 --- a/buildroot-2021.05/package/luasec/luasec.hash +++ /dev/null @@ -1,3 +0,0 @@ -# computed by luarocks/buildroot -sha256 b7e18f475c64896fe4921d367adabae765914f7526a68487a5fa6831040e7138 luasec-1.0-1.src.rock -sha256 0d3431dad143f41c8902e4ee867e386a702ebad856c45239fb86460e27dabfbf luasec/LICENSE diff --git a/buildroot-2021.05/package/luasec/luasec.mk b/buildroot-2021.05/package/luasec/luasec.mk deleted file mode 100644 index 3ef0c14d..00000000 --- a/buildroot-2021.05/package/luasec/luasec.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# luasec -# -################################################################################ - -LUASEC_VERSION = 1.0-1 -LUASEC_SUBDIR = luasec -LUASEC_LICENSE = MIT -LUASEC_LICENSE_FILES = $(LUASEC_SUBDIR)/LICENSE -LUASEC_DEPENDENCIES = openssl - -$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/luasyslog/luasyslog.hash b/buildroot-2021.05/package/luasyslog/luasyslog.hash deleted file mode 100644 index bcb6a7e0..00000000 --- a/buildroot-2021.05/package/luasyslog/luasyslog.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 7f7dad64117407f2484ff5b53e90804f923a99fcbde5872e54f6aba53f482da0 luasyslog-2.2.0.tar.gz -sha256 833457938f5155e65dabda12a5c9d4b6fd7fb92dd7ead584c1c30cfb0c84adf4 COPYING diff --git a/buildroot-2021.05/package/luasyslog/luasyslog.mk b/buildroot-2021.05/package/luasyslog/luasyslog.mk deleted file mode 100644 index 049e068a..00000000 --- a/buildroot-2021.05/package/luasyslog/luasyslog.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# luasyslog -# -################################################################################ - -LUASYSLOG_VERSION = 2.2.0 -LUASYSLOG_SITE = $(call github,ntd,luasyslog,$(LUASYSLOG_VERSION)) -LUASYSLOG_DEPENDENCIES = host-luarocks luainterpreter -LUASYSLOG_LICENSE = MIT -LUASYSLOG_LICENSE_FILES = COPYING -# fetching from github -# 0001-remove-AX_LUA_LIBS.patch touches configure.ac -LUASYSLOG_AUTORECONF = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/luv/luv.hash b/buildroot-2021.05/package/luv/luv.hash deleted file mode 100644 index a619db2c..00000000 --- a/buildroot-2021.05/package/luv/luv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 4018f293d71c2d75757b64fcdacf982729c9dc8b0bf8eda4015a8818a5a29321 luv-1.41.0-0.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt diff --git a/buildroot-2021.05/package/luv/luv.mk b/buildroot-2021.05/package/luv/luv.mk deleted file mode 100644 index 1a24a33b..00000000 --- a/buildroot-2021.05/package/luv/luv.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# luv -# -################################################################################ - -LUV_VERSION = 1.41.0-0 -LUV_SITE = https://github.com/luvit/luv/releases/download/$(LUV_VERSION) -LUV_LICENSE = Apache-2.0 -LUV_LICENSE_FILES = LICENSE.txt -LUV_DEPENDENCIES = libuv -LUV_INSTALL_STAGING = YES - -LUV_CONF_OPTS += \ - -DBUILD_MODULE=OFF \ - -DWITH_SHARED_LIBUV=ON \ - -DLUA_BUILD_TYPE=System - -ifeq ($(BR2_PACKAGE_LUAJIT),y) -LUV_DEPENDENCIES += luajit -LUV_CONF_OPTS += \ - -DWITH_LUA_ENGINE=LuaJIT -else -LUV_DEPENDENCIES += lua -LUV_CONF_OPTS += \ - -DWITH_LUA_ENGINE=Lua -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/luvi/Config.in b/buildroot-2021.05/package/luvi/Config.in deleted file mode 100644 index c9fd4173..00000000 --- a/buildroot-2021.05/package/luvi/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_LUVI - bool "luvi" - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv - depends on BR2_USE_MMU # libuv - depends on !BR2_STATIC_LIBS # libuv - depends on BR2_PACKAGE_LUAJIT - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv - select BR2_PACKAGE_LIBUV - select BR2_PACKAGE_LUV - help - A project in-between luv and luvit. The goal of this is to - make building luvit and derivatives much easier. - - luvi extends LuaJIT with asynchronous I/O and several optional - modules to run Lua applications and build self-contained - binaries on systems that don't have a compiler. - - The luvi core can be extended with several Lua modules by - adding its bundled Lua binding libraries. - To get the Lua module... - * 'rex' select PCRE (BR2_PACKAGE_PCRE) - * 'ssl' select OpenSSL (BR2_PACKAGE_OPENSSL) - * 'zlib' select zlib (BR2_PACKAGE_ZLIB) - - https://github.com/luvit/luvi - -comment "luvi needs a toolchain w/ NPTL, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - -comment "luvi needs LuaJIT" - depends on !BR2_PACKAGE_LUAJIT diff --git a/buildroot-2021.05/package/luvi/luvi.mk b/buildroot-2021.05/package/luvi/luvi.mk deleted file mode 100644 index 386daafc..00000000 --- a/buildroot-2021.05/package/luvi/luvi.mk +++ /dev/null @@ -1,64 +0,0 @@ -################################################################################ -# -# luvi -# -################################################################################ - -LUVI_VERSION = 2.12.0 -LUVI_SOURCE = luvi-src-v$(LUVI_VERSION).tar.gz -LUVI_SITE = https://github.com/luvit/luvi/releases/download/v$(LUVI_VERSION) -LUVI_LICENSE = Apache-2.0 -LUVI_LICENSE_FILES = LICENSE.txt -LUVI_DEPENDENCIES = libuv luajit luv host-luajit - -# Dispatch all architectures of LuaJIT -ifeq ($(BR2_i386),y) -LUVI_TARGET_ARCH = x86 -else ifeq ($(BR2_x86_64),y) -LUVI_TARGET_ARCH = x64 -else ifeq ($(BR2_powerpc),y) -LUVI_TARGET_ARCH = ppc -else ifeq ($(BR2_arm)$(BR2_armeb),y) -LUVI_TARGET_ARCH = arm -else ifeq ($(BR2_aarch64),y) -LUVI_TARGET_ARCH = arm64 -else ifeq ($(BR2_mips),y) -LUVI_TARGET_ARCH = mips -else ifeq ($(BR2_mipsel),y) -LUVI_TARGET_ARCH = mipsel -else -LUVI_TARGET_ARCH = $(BR2_ARCH) -endif - -# Bundled lua bindings have to be linked statically into the luvi executable -LUVI_CONF_OPTS = \ - -DBUILD_SHARED_LIBS=OFF \ - -DWithSharedLibluv=ON \ - -DTARGET_ARCH=$(LUVI_TARGET_ARCH) \ - -DLUA_PATH=$(HOST_DIR)/share/luajit-$(LUAJIT_VERSION)/?.lua - -# Add "rex" module (PCRE via bundled lrexlib) -ifeq ($(BR2_PACKAGE_PCRE),y) -LUVI_DEPENDENCIES += pcre -LUVI_CONF_OPTS += -DWithPCRE=ON -DWithSharedPCRE=ON -else -LUVI_CONF_OPTS += -DWithPCRE=OFF -DWithSharedPCRE=OFF -endif - -# Add "ssl" module (via bundled lua-openssl) -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LUVI_DEPENDENCIES += openssl -LUVI_CONF_OPTS += -DWithOpenSSL=ON -DWithOpenSSLASM=ON -DWithSharedOpenSSL=ON -else -LUVI_CONF_OPTS += -DWithOpenSSL=OFF -DWithOpenSSLASM=OFF -DWithSharedOpenSSL=OFF -endif - -# Add "zlib" module (via bundled lua-zlib) -ifeq ($(BR2_PACKAGE_ZLIB),y) -LUVI_DEPENDENCIES += zlib -LUVI_CONF_OPTS += -DWithZLIB=ON -DWithSharedZLIB=ON -else -LUVI_CONF_OPTS += -DWithZLIB=OFF -DWithSharedZLIB=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/lvm2/Config.in b/buildroot-2021.05/package/lvm2/Config.in deleted file mode 100644 index 31702792..00000000 --- a/buildroot-2021.05/package/lvm2/Config.in +++ /dev/null @@ -1,42 +0,0 @@ -config BR2_PACKAGE_LVM2 - bool "lvm2 & device mapper" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # needs fork() - depends on !BR2_STATIC_LIBS # It fails to build statically - select BR2_PACKAGE_LIBAIO - help - This is LVM2, the rewrite of The Linux Logical Volume Manager. - LVM supports enterprise level volume management of disk and - disk subsystems by grouping arbitrary disks into volume - groups. The total capacity of volume groups can be allocated - to logical volumes, which are accessed as regular block - devices. - - The Linux Kernel Device Mapper is the LVM - (Linux Logical Volume Management) Team's implementation of a - minimalistic kernel-space driver that handles volume - management, while keeping knowledge of the underlying device - layout in user-space. This makes it useful for not only LVM, - but EVMS, software raid, and other drivers that create - "virtual" block devices. - - http://www.sourceware.org/lvm2/ - -if BR2_PACKAGE_LVM2 - -config BR2_PACKAGE_LVM2_STANDARD_INSTALL - bool "standard install instead of only dmsetup" - # http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html - depends on !BR2_TOOLCHAIN_USES_MUSL - help - Install the standard suite of lvm2 programs. When this option - is not set, only dmsetup is installed. - -comment "lvm2 standard install needs a glibc or uClibc toolchain" - depends on BR2_TOOLCHAIN_USES_MUSL - -endif - -comment "lvm2 needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/lvm2/lvm2.hash b/buildroot-2021.05/package/lvm2/lvm2.hash deleted file mode 100644 index 12606694..00000000 --- a/buildroot-2021.05/package/lvm2/lvm2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://sources.redhat.com/pub/lvm2/sha512.sum -sha512 e4d3bfb38b346251a2ea2cee7b79f2e12ed407652b659b35b65f58c8bb252943cee1c511713aeec8ff3400790e0e99ea6b83e8740050defe5cbb118f18bf7700 LVM2.2.03.12.tgz -# Locally computed sha256 checksums -sha256 e76fbcd2fb97cf202da330301327754d2db5c58b5b4bebd3a8a749393e7603d1 COPYING -sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING.LIB diff --git a/buildroot-2021.05/package/lvm2/lvm2.mk b/buildroot-2021.05/package/lvm2/lvm2.mk deleted file mode 100644 index 6726e165..00000000 --- a/buildroot-2021.05/package/lvm2/lvm2.mk +++ /dev/null @@ -1,80 +0,0 @@ -################################################################################ -# -# lvm2 -# -################################################################################ - -LVM2_VERSION = 2.03.12 -LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz -LVM2_SITE = http://sources.redhat.com/pub/lvm2 -LVM2_INSTALL_STAGING = YES -LVM2_LICENSE = GPL-2.0, LGPL-2.1 -LVM2_LICENSE_FILES = COPYING COPYING.LIB -LVM2_CPE_ID_PRODUCT = redhat -# parallel build issues -LVM2_MAKE = $(MAKE1) - -# Make sure that binaries and libraries are installed with write -# permissions for the owner. We disable NLS because it's broken, and -# the package anyway doesn't provide any translation files. -LVM2_CONF_OPTS += \ - --enable-write_install \ - --enable-pkgconfig \ - --enable-cmdlib \ - --enable-dmeventd \ - --disable-nls \ - --with-symvers=no - -LVM2_DEPENDENCIES += host-pkgconf libaio - -# LVM2 uses autoconf, but not automake, and the build system does not -# take into account the toolchain passed at configure time. -LVM2_MAKE_ENV = $(TARGET_CONFIGURE_OPTS) - -# package/readline is GPL-3.0+, so not license compatible -LVM2_CONF_OPTS += --disable-readline - -LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) -LVM2_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -LVM2_CONF_OPTS += --enable-udev_rules -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -LVM2_CONF_OPTS += --enable-selinux -LVM2_DEPENDENCIES += libselinux -else -LVM2_CONF_OPTS += --disable-selinux -endif - -ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),y) -LVM2_INSTALL_STAGING_OPTS += install -LVM2_INSTALL_TARGET_OPTS += install -ifeq ($(BR2_INIT_SYSTEMD),y) -LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators -endif -else -LVM2_MAKE_OPTS = device-mapper -LVM2_INSTALL_STAGING_OPTS += install_device-mapper -LVM2_INSTALL_TARGET_OPTS += install_device-mapper -endif - -ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) -LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no -endif - -HOST_LVM2_DEPENDENCIES = host-pkgconf host-libaio -HOST_LVM2_CONF_OPTS = \ - --enable-write_install \ - --enable-pkgconfig \ - --disable-cmdlib \ - --disable-dmeventd \ - --disable-fsadm \ - --disable-readline \ - --disable-selinux -HOST_LVM2_MAKE_OPTS = device-mapper -HOST_LVM2_INSTALL_OPTS = install_device-mapper - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/lxc/Config.in b/buildroot-2021.05/package/lxc/Config.in deleted file mode 100644 index 72b67511..00000000 --- a/buildroot-2021.05/package/lxc/Config.in +++ /dev/null @@ -1,24 +0,0 @@ -config BR2_PACKAGE_LXC - bool "lxc" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - # build system forcefully builds a shared library - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # setns() system call - depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve - help - Linux Containers (LXC), provides the ability to group and - isolate of a set of processes in a jail by virtualizing and - accounting the kernel resources. It is similar to - Linux-Vserver or Openvz. - - https://linuxcontainers.org/ - -comment "lxc needs a glibc or musl toolchain w/ threads, headers >= 3.0, dynamic library, gcc >= 4.7" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 \ - || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \ - || BR2_STATIC_LIBS \ - || BR2_TOOLCHAN_USES_UCLIBC diff --git a/buildroot-2021.05/package/lxc/lxc.hash b/buildroot-2021.05/package/lxc/lxc.hash deleted file mode 100644 index 85cdecce..00000000 --- a/buildroot-2021.05/package/lxc/lxc.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 9165dabc0bb6ef7f2fda2009aee90b20fbefe77ed8008347e9f06048eba1e463 lxc-4.0.6.tar.gz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 diff --git a/buildroot-2021.05/package/lxc/lxc.mk b/buildroot-2021.05/package/lxc/lxc.mk deleted file mode 100644 index 24a1f3c5..00000000 --- a/buildroot-2021.05/package/lxc/lxc.mk +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# -# lxc -# -################################################################################ - -LXC_VERSION = 4.0.6 -LXC_SITE = https://linuxcontainers.org/downloads/lxc -LXC_LICENSE = GPL-2.0 (some tools), LGPL-2.1+ -LXC_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1 -LXC_CPE_ID_VENDOR = linuxcontainers -LXC_DEPENDENCIES = host-pkgconf -LXC_INSTALL_STAGING = YES - -LXC_CONF_OPTS = \ - --disable-apparmor \ - --disable-examples \ - --with-distro=buildroot \ - --disable-werror \ - $(if $(BR2_PACKAGE_BASH),,--disable-bash) - -ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) -LXC_DEPENDENCIES += bash-completion -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -LXC_CONF_OPTS += --enable-capabilities -LXC_DEPENDENCIES += libcap -else -LXC_CONF_OPTS += --disable-capabilities -endif - -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -LXC_CONF_OPTS += --enable-seccomp -LXC_DEPENDENCIES += libseccomp -else -LXC_CONF_OPTS += --disable-seccomp -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -LXC_CONF_OPTS += --enable-selinux -LXC_DEPENDENCIES += libselinux -else -LXC_CONF_OPTS += --disable-selinux -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LXC_CONF_OPTS += --enable-openssl -LXC_DEPENDENCIES += openssl -else -LXC_CONF_OPTS += --disable-openssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lynx/lynx.hash b/buildroot-2021.05/package/lynx/lynx.hash deleted file mode 100644 index 76d7614a..00000000 --- a/buildroot-2021.05/package/lynx/lynx.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated: -sha256 387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595 lynx2.8.9rel.1.tar.bz2 -sha256 8406a30ff3134ec23cf752d1ceda92ddaabbe41b4f2dc07ea3cfa139de12d6d6 COPYING diff --git a/buildroot-2021.05/package/lynx/lynx.mk b/buildroot-2021.05/package/lynx/lynx.mk deleted file mode 100644 index d115682d..00000000 --- a/buildroot-2021.05/package/lynx/lynx.mk +++ /dev/null @@ -1,53 +0,0 @@ -################################################################################ -# -# lynx -# -################################################################################ - -LYNX_VERSION = 2.8.9rel.1 -LYNX_SOURCE = lynx$(LYNX_VERSION).tar.bz2 -LYNX_SITE = ftp://ftp.invisible-island.net/lynx/tarballs -LYNX_LICENSE = GPL-2.0 -LYNX_LICENSE_FILES = COPYING - -LYNX_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) - -ifeq ($(BR2_REPRODUCIBLE),y) -# configuration info leaks build paths -LYNX_CONF_OPTS += --disable-config-info -# disable build timestamp -LYNX_CFLAGS += -DNO_BUILDSTAMP -endif - -ifeq ($(BR2_PACKAGE_NCURSES),y) -LYNX_DEPENDENCIES += ncurses -LYNX_CONF_OPTS += --with-screen=ncurses$(if $(BR2_PACKAGE_NCURSES_WCHAR),w) -else ifeq ($(BR2_PACKAGE_SLANG),y) -LYNX_DEPENDENCIES += slang -LYNX_CONF_OPTS += --with-screen=slang -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -LYNX_DEPENDENCIES += openssl -LYNX_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr -LYNX_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` -else ifeq ($(BR2_PACKAGE_GNUTLS),y) -LYNX_DEPENDENCIES += gnutls -LYNX_CONF_OPTS += --with-gnutls -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -LYNX_DEPENDENCIES += zlib -LYNX_CONF_OPTS += --with-zlib -else -LYNX_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_LIBIDN),y) -LYNX_DEPENDENCIES += libidn -LYNX_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libidn` -endif - -LYNX_CONF_ENV = LIBS="$(LYNX_LIBS)" CFLAGS="$(TARGET_CFLAGS) $(LYNX_CFLAGS)" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lzip/lzip.hash b/buildroot-2021.05/package/lzip/lzip.hash deleted file mode 100644 index 57e7eb43..00000000 --- a/buildroot-2021.05/package/lzip/lzip.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://lists.nongnu.org/archive/html/lzip-bug/2021-01/msg00008.html -sha256 c3342d42e67139c165b8b128d033b5c96893a13ac5f25933190315214e87a948 lzip-1.22.tar.gz -# Locally calculated -sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING diff --git a/buildroot-2021.05/package/lzip/lzip.mk b/buildroot-2021.05/package/lzip/lzip.mk deleted file mode 100644 index cca6da07..00000000 --- a/buildroot-2021.05/package/lzip/lzip.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# lzip -# -################################################################################ - -LZIP_VERSION = 1.22 -LZIP_SITE = http://download.savannah.gnu.org/releases/lzip -LZIP_LICENSE = GPL-2.0+ -LZIP_LICENSE_FILES = COPYING - -define LZIP_CONFIGURE_CMDS - (cd $(@D); $(TARGET_MAKE_ENV) ./configure --prefix=/usr \ - $(TARGET_CONFIGURE_OPTS) ) -endef - -define HOST_LZIP_CONFIGURE_CMDS - (cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=$(HOST_DIR) \ - $(HOST_CONFIGURE_OPTS) CC="$(HOSTCC_NOCCACHE)" CXX="$(HOSTCXX_NOCCACHE)") -endef - -define LZIP_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define HOST_LZIP_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define LZIP_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -define HOST_LZIP_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install -endef - -# It's not autotools-based -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/lzop/0001-build-with-gcc6.patch b/buildroot-2021.05/package/lzop/0001-build-with-gcc6.patch deleted file mode 100644 index 774ee54a..00000000 --- a/buildroot-2021.05/package/lzop/0001-build-with-gcc6.patch +++ /dev/null @@ -1,37 +0,0 @@ -From: Jaap Crezee -Date: Sat, 25 june 2016 13:13:00 +0200 -Subject: [PATCH 1/1] fix compilation host-lzop with gcc-6 - -This patch allows host-lzop to be compiled with host systems containing gcc-6 - -Upstream patch found here: -https://build.opensuse.org/package/view_file/Archiving/lzop/lzop-1.03-gcc6.patch?expand=1 - -Signed-off-by: Jaap Crezee - ---- a/src/miniacc.h.orig 2016-02-10 16:09:23.247315866 +0100 -+++ b/src/miniacc.h 2016-02-10 16:12:14.973297054 +0100 -@@ -4469,12 +4469,12 @@ - #if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150) - #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) - #else -- ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0) -+ ACCCHK_ASSERT((int)(1u << (8*SIZEOF_INT-1)) < 0) - #endif - ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0) - #if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) - #else -- ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0) -+ ACCCHK_ASSERT((long)(1ul << (8*SIZEOF_LONG-1)) < 0) - #endif - ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0) - #if defined(acc_int16e_t) -@@ -4703,7 +4703,7 @@ - #elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC) - #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) - #elif !(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1) -- ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) -+ ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) - #endif - #if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560)) - # pragma option pop diff --git a/buildroot-2021.05/package/m4/0001-fflush-adjust-to-glibc-2.28-libio.h-removal.patch b/buildroot-2021.05/package/m4/0001-fflush-adjust-to-glibc-2.28-libio.h-removal.patch deleted file mode 100644 index 5c5c11b9..00000000 --- a/buildroot-2021.05/package/m4/0001-fflush-adjust-to-glibc-2.28-libio.h-removal.patch +++ /dev/null @@ -1,166 +0,0 @@ -From 4af4a4a71827c0bc5e0ec67af23edef4f15cee8e Mon Sep 17 00:00:00 2001 -From: Paul Eggert -Date: Mon, 5 Mar 2018 10:56:29 -0800 -Subject: [PATCH] fflush: adjust to glibc 2.28 libio.h removal -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Problem reported by Daniel P. Berrangé in: -https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html -* lib/fbufmode.c (fbufmode): -* lib/fflush.c (clear_ungetc_buffer_preserving_position) -(disable_seek_optimization, rpl_fflush): -* lib/fpending.c (__fpending): -* lib/fpurge.c (fpurge): -* lib/freadable.c (freadable): -* lib/freadahead.c (freadahead): -* lib/freading.c (freading): -* lib/freadptr.c (freadptr): -* lib/freadseek.c (freadptrinc): -* lib/fseeko.c (fseeko): -* lib/fseterr.c (fseterr): -* lib/fwritable.c (fwritable): -* lib/fwriting.c (fwriting): -Check _IO_EOF_SEEN instead of _IO_ftrylockfile. -* lib/stdio-impl.h (_IO_IN_BACKUP) [_IO_EOF_SEEN]: -Define if not already defined. - -[yann.morin.1998@free.fr: partially backport from upstream gnulib] -Signed-off-by: "Yann E. MORIN" - ---- - lib/fflush.c | 6 +++--- - lib/fpending.c | 2 +- - lib/fpurge.c | 2 +- - lib/freadahead.c | 2 +- - lib/freading.c | 2 +- - lib/fseeko.c | 4 ++-- - lib/stdio-impl.h | 6 ++++++ - 7 files changed, 15 insertions(+), 9 deletions(-) - -diff --git a/lib/fflush.c b/build-aux/gnulib/lib/fflush.c -index 983ade0ff..a6edfa105 100644 ---- a/lib/fflush.c -+++ b/lib/fflush.c -@@ -33,7 +33,7 @@ - #undef fflush - - --#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - - /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */ - static void -@@ -72,7 +72,7 @@ clear_ungetc_buffer (FILE *fp) - - #endif - --#if ! (defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */) -+#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */) - - # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT - /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ -@@ -148,7 +148,7 @@ rpl_fflush (FILE *stream) - if (stream == NULL || ! freading (stream)) - return fflush (stream); - --#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - - clear_ungetc_buffer_preserving_position (stream); - -diff --git a/lib/fpending.c b/build-aux/gnulib/lib/fpending.c -index c84e3a5b4..789f50e4e 100644 ---- a/lib/fpending.c -+++ b/lib/fpending.c -@@ -32,7 +32,7 @@ __fpending (FILE *fp) - /* Most systems provide FILE as a struct and the necessary bitmask in - , because they need it for implementing getc() and putc() as - fast macros. */ --#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - return fp->_IO_write_ptr - fp->_IO_write_base; - #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ - /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ -diff --git a/lib/fpurge.c b/build-aux/gnulib/lib/fpurge.c -index b1d417c7a..3aedcc373 100644 ---- a/lib/fpurge.c -+++ b/lib/fpurge.c -@@ -62,7 +62,7 @@ fpurge (FILE *fp) - /* Most systems provide FILE as a struct and the necessary bitmask in - , because they need it for implementing getc() and putc() as - fast macros. */ --# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - fp->_IO_read_end = fp->_IO_read_ptr; - fp->_IO_write_ptr = fp->_IO_write_base; - /* Avoid memory leak when there is an active ungetc buffer. */ -diff --git a/lib/freadahead.c b/build-aux/gnulib/lib/freadahead.c -index c2ecb5b28..23ec76ee5 100644 ---- a/lib/freadahead.c -+++ b/lib/freadahead.c -@@ -30,7 +30,7 @@ extern size_t __sreadahead (FILE *); - size_t - freadahead (FILE *fp) - { --#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - if (fp->_IO_write_ptr > fp->_IO_write_base) - return 0; - return (fp->_IO_read_end - fp->_IO_read_ptr) -diff --git a/lib/freading.c b/build-aux/gnulib/lib/freading.c -index 73c28acdd..c24d0c88a 100644 ---- a/lib/freading.c -+++ b/lib/freading.c -@@ -31,7 +31,7 @@ freading (FILE *fp) - /* Most systems provide FILE as a struct and the necessary bitmask in - , because they need it for implementing getc() and putc() as - fast macros. */ --# if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - return ((fp->_flags & _IO_NO_WRITES) != 0 - || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0 - && fp->_IO_read_base != NULL)); -diff --git a/lib/fseeko.c b/build-aux/gnulib/lib/fseeko.c -index 0101ab55f..193f4e8ce 100644 ---- a/lib/fseeko.c -+++ b/lib/fseeko.c -@@ -47,7 +47,7 @@ fseeko (FILE *fp, off_t offset, int whence) - #endif - - /* These tests are based on fpurge.c. */ --#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - if (fp->_IO_read_end == fp->_IO_read_ptr - && fp->_IO_write_ptr == fp->_IO_write_base - && fp->_IO_save_base == NULL) -@@ -123,7 +123,7 @@ fseeko (FILE *fp, off_t offset, int whence) - return -1; - } - --#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - fp->_flags &= ~_IO_EOF_SEEN; - fp->_offset = pos; - #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ -diff --git a/lib/stdio-impl.h b/build-aux/gnulib/lib/stdio-impl.h -index 78d896e9f..05c5752a2 100644 ---- a/lib/stdio-impl.h -+++ b/lib/stdio-impl.h -@@ -18,6 +18,12 @@ - the same implementation of stdio extension API, except that some fields - have different naming conventions, or their access requires some casts. */ - -+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this -+ problem by defining it ourselves. FIXME: Do not rely on glibc -+ internals. */ -+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN -+# define _IO_IN_BACKUP 0x100 -+#endif - - /* BSD stdio derived implementations. */ - --- -2.14.1 - diff --git a/buildroot-2021.05/package/m4/0002-fflush-be-more-paranoid-about-libio.h-change.patch b/buildroot-2021.05/package/m4/0002-fflush-be-more-paranoid-about-libio.h-change.patch deleted file mode 100644 index a820ca8c..00000000 --- a/buildroot-2021.05/package/m4/0002-fflush-be-more-paranoid-about-libio.h-change.patch +++ /dev/null @@ -1,151 +0,0 @@ -From 74d9d6a293d7462dea8f83e7fc5ac792e956a0ad Mon Sep 17 00:00:00 2001 -From: Paul Eggert -Date: Thu, 8 Mar 2018 16:42:45 -0800 -Subject: [PATCH 2/2] fflush: be more paranoid about libio.h change - -Suggested by Eli Zaretskii in: -https://lists.gnu.org/r/emacs-devel/2018-03/msg00270.html -* lib/fbufmode.c (fbufmode): -* lib/fflush.c (clear_ungetc_buffer_preserving_position) -(disable_seek_optimization, rpl_fflush): -* lib/fpending.c (__fpending): -* lib/fpurge.c (fpurge): -* lib/freadable.c (freadable): -* lib/freadahead.c (freadahead): -* lib/freading.c (freading): -* lib/freadptr.c (freadptr): -* lib/freadseek.c (freadptrinc): -* lib/fseeko.c (fseeko): -* lib/fseterr.c (fseterr): -* lib/fwritable.c (fwritable): -* lib/fwriting.c (fwriting): -Look at _IO_ftrylockfile as well as at _IO_EOF_SEEN. ---- - lib/fflush.c | 9 ++++++--- - lib/fpending.c | 3 ++- - lib/fpurge.c | 3 ++- - lib/freadahead.c | 3 ++- - lib/freading.c | 3 ++- - lib/fseeko.c | 6 ++++-- - 6 files changed, 18 insertions(+), 9 deletions(-) - -[yann.morin.1998@free.fr: partially backport from upstream gnulib] -Signed-off-by: "Yann E. MORIN" - -diff --git a/lib/fflush.c b/build-aux/gnulib/lib/fflush.c -index a6edfa105..a140b7ad9 100644 ---- a/lib/fflush.c -+++ b/lib/fflush.c -@@ -33,7 +33,8 @@ - #undef fflush - - --#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 -+/* GNU libc, BeOS, Haiku, Linux libc5 */ - - /* Clear the stream's ungetc buffer, preserving the value of ftello (fp). */ - static void -@@ -72,7 +73,8 @@ clear_ungetc_buffer (FILE *fp) - - #endif - --#if ! (defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */) -+#if ! (defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1) -+/* GNU libc, BeOS, Haiku, Linux libc5 */ - - # if (defined __sferror || defined __DragonFly__ || defined __ANDROID__) && defined __SNPT - /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ -@@ -148,7 +150,8 @@ rpl_fflush (FILE *stream) - if (stream == NULL || ! freading (stream)) - return fflush (stream); - --#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 -+ /* GNU libc, BeOS, Haiku, Linux libc5 */ - - clear_ungetc_buffer_preserving_position (stream); - -diff --git a/lib/fpending.c b/build-aux/gnulib/lib/fpending.c -index 789f50e4e..7bc235ded 100644 ---- a/lib/fpending.c -+++ b/lib/fpending.c -@@ -32,7 +32,8 @@ __fpending (FILE *fp) - /* Most systems provide FILE as a struct and the necessary bitmask in - , because they need it for implementing getc() and putc() as - fast macros. */ --#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 -+ /* GNU libc, BeOS, Haiku, Linux libc5 */ - return fp->_IO_write_ptr - fp->_IO_write_base; - #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ - /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ -diff --git a/lib/fpurge.c b/build-aux/gnulib/lib/fpurge.c -index 3aedcc373..554790b56 100644 ---- a/lib/fpurge.c -+++ b/lib/fpurge.c -@@ -62,7 +62,8 @@ fpurge (FILE *fp) - /* Most systems provide FILE as a struct and the necessary bitmask in - , because they need it for implementing getc() and putc() as - fast macros. */ --# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+# if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 -+ /* GNU libc, BeOS, Haiku, Linux libc5 */ - fp->_IO_read_end = fp->_IO_read_ptr; - fp->_IO_write_ptr = fp->_IO_write_base; - /* Avoid memory leak when there is an active ungetc buffer. */ -diff --git a/lib/freadahead.c b/build-aux/gnulib/lib/freadahead.c -index 23ec76ee5..ed3dd0ebd 100644 ---- a/lib/freadahead.c -+++ b/lib/freadahead.c -@@ -30,7 +30,8 @@ extern size_t __sreadahead (FILE *); - size_t - freadahead (FILE *fp) - { --#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 -+ /* GNU libc, BeOS, Haiku, Linux libc5 */ - if (fp->_IO_write_ptr > fp->_IO_write_base) - return 0; - return (fp->_IO_read_end - fp->_IO_read_ptr) -diff --git a/lib/freading.c b/build-aux/gnulib/lib/freading.c -index c24d0c88a..790f92ca3 100644 ---- a/lib/freading.c -+++ b/lib/freading.c -@@ -31,7 +31,8 @@ freading (FILE *fp) - /* Most systems provide FILE as a struct and the necessary bitmask in - , because they need it for implementing getc() and putc() as - fast macros. */ --# if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+# if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 -+ /* GNU libc, BeOS, Haiku, Linux libc5 */ - return ((fp->_flags & _IO_NO_WRITES) != 0 - || ((fp->_flags & (_IO_NO_READS | _IO_CURRENTLY_PUTTING)) == 0 - && fp->_IO_read_base != NULL)); -diff --git a/lib/fseeko.c b/build-aux/gnulib/lib/fseeko.c -index 193f4e8ce..e5c5172e7 100644 ---- a/lib/fseeko.c -+++ b/lib/fseeko.c -@@ -47,7 +47,8 @@ fseeko (FILE *fp, off_t offset, int whence) - #endif - - /* These tests are based on fpurge.c. */ --#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 -+ /* GNU libc, BeOS, Haiku, Linux libc5 */ - if (fp->_IO_read_end == fp->_IO_read_ptr - && fp->_IO_write_ptr == fp->_IO_write_base - && fp->_IO_save_base == NULL) -@@ -123,7 +124,8 @@ fseeko (FILE *fp, off_t offset, int whence) - return -1; - } - --#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 -+ /* GNU libc, BeOS, Haiku, Linux libc5 */ - fp->_flags &= ~_IO_EOF_SEEN; - fp->_offset = pos; - #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ --- -2.14.1 - diff --git a/buildroot-2021.05/package/m4/0003-c-stack-stop-using-SIGSTKSZ.patch b/buildroot-2021.05/package/m4/0003-c-stack-stop-using-SIGSTKSZ.patch deleted file mode 100644 index f262fc81..00000000 --- a/buildroot-2021.05/package/m4/0003-c-stack-stop-using-SIGSTKSZ.patch +++ /dev/null @@ -1,106 +0,0 @@ -c-stack: stop using SIGSTKSZ - -It’s been proposed to stop making SIGSTKSZ an integer constant: -https://sourceware.org/pipermail/libc-alpha/2020-September/118028.html -Also, using SIGSTKSZ in #if did not conform to current POSIX. -Also, avoiding SIGSTKSZ makes the code simpler and easier to grok. -* lib/c-stack.c (SIGSTKSZ): Remove. -(alternate_signal_stack): Now a 64 KiB array, for simplicity. -All uses changed. - -[Retrieved (and backported) from: -https://git.savannah.gnu.org/cgit/gnulib.git/patch/?id=f9e2b20a12a230efa30f1d479563ae07d276a94b] -Signed-off-by: Fabrice Fontaine - -diff -Nura m4-1.4.18.orig/lib/c-stack.c m4-1.4.18/lib/c-stack.c ---- m4-1.4.18.orig/lib/c-stack.c 2021-04-11 19:12:14.086494029 +0200 -+++ m4-1.4.18/lib/c-stack.c 2021-04-11 19:48:46.316862760 +0200 -@@ -50,15 +50,16 @@ - #if ! HAVE_STACK_T && ! defined stack_t - typedef struct sigaltstack stack_t; - #endif --#ifndef SIGSTKSZ --# define SIGSTKSZ 16384 --#elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384 --/* libsigsegv 2.6 through 2.8 have a bug where some architectures use -- more than the Linux default of an 8k alternate stack when deciding -- if a fault was caused by stack overflow. */ --# undef SIGSTKSZ --# define SIGSTKSZ 16384 --#endif -+ -+/* Storage for the alternate signal stack. -+ 64 KiB is not too large for Gnulib-using apps, and is large enough -+ for all known platforms. Smaller sizes may run into trouble. -+ For example, libsigsegv 2.6 through 2.8 have a bug where some -+ architectures use more than the Linux default of an 8 KiB alternate -+ stack when deciding if a fault was caused by stack overflow. */ -+static max_align_t alternate_signal_stack[(64 * 1024 -+ + sizeof (max_align_t) - 1) -+ / sizeof (max_align_t)]; - - #include - #include -@@ -128,19 +129,6 @@ - #if (HAVE_SIGALTSTACK && HAVE_DECL_SIGALTSTACK \ - && HAVE_STACK_OVERFLOW_HANDLING) || HAVE_LIBSIGSEGV - --/* Storage for the alternate signal stack. */ --static union --{ -- char buffer[SIGSTKSZ]; -- -- /* These other members are for proper alignment. There's no -- standard way to guarantee stack alignment, but this seems enough -- in practice. */ -- long double ld; -- long l; -- void *p; --} alternate_signal_stack; -- - static void - null_action (int signo __attribute__ ((unused))) - { -@@ -205,8 +193,8 @@ - - /* Always install the overflow handler. */ - if (stackoverflow_install_handler (overflow_handler, -- alternate_signal_stack.buffer, -- sizeof alternate_signal_stack.buffer)) -+ alternate_signal_stack, -+ sizeof alternate_signal_stack)) - { - errno = ENOTSUP; - return -1; -@@ -279,14 +267,14 @@ - stack_t st; - struct sigaction act; - st.ss_flags = 0; -+ st.ss_sp = alternate_signal_stack; -+ st.ss_size = sizeof alternate_signal_stack; - # if SIGALTSTACK_SS_REVERSED - /* Irix mistakenly treats ss_sp as the upper bound, rather than - lower bound, of the alternate stack. */ -- st.ss_sp = alternate_signal_stack.buffer + SIGSTKSZ - sizeof (void *); -- st.ss_size = sizeof alternate_signal_stack.buffer - sizeof (void *); --# else -- st.ss_sp = alternate_signal_stack.buffer; -- st.ss_size = sizeof alternate_signal_stack.buffer; -+ st.ss_size -= sizeof (void *); -+ char *ss_sp = st.ss_sp; -+ st.ss_sp = ss_sp + st.ss_size; - # endif - r = sigaltstack (&st, NULL); - if (r != 0) -diff -Nura m4-1.4.18.orig/lib/c-stack.h m4-1.4.18/lib/c-stack.h ---- m4-1.4.18.orig/lib/c-stack.h 2021-04-11 19:12:14.098494042 +0200 -+++ m4-1.4.18/lib/c-stack.h 2021-04-11 19:17:42.138848378 +0200 -@@ -34,7 +34,7 @@ - A null ACTION acts like an action that does nothing. - - ACTION must be async-signal-safe. ACTION together with its callees -- must not require more than SIGSTKSZ bytes of stack space. Also, -+ must not require more than 64 KiB bytes of stack space. Also, - ACTION should not call longjmp, because this implementation does - not guarantee that it is safe to return to the original stack. - diff --git a/buildroot-2021.05/package/m4/m4.hash b/buildroot-2021.05/package/m4/m4.hash deleted file mode 100644 index e665fc14..00000000 --- a/buildroot-2021.05/package/m4/m4.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07 m4-1.4.18.tar.xz -# License files, locally calculated -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/m4/m4.mk b/buildroot-2021.05/package/m4/m4.mk deleted file mode 100644 index 849e7f4a..00000000 --- a/buildroot-2021.05/package/m4/m4.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# m4 -# -################################################################################ - -M4_VERSION = 1.4.18 -M4_SOURCE = m4-$(M4_VERSION).tar.xz -M4_SITE = $(BR2_GNU_MIRROR)/m4 -M4_LICENSE = GPL-3.0+ -M4_LICENSE_FILES = COPYING -HOST_M4_CONF_OPTS = --disable-static - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/makedevs/makedevs.c b/buildroot-2021.05/package/makedevs/makedevs.c deleted file mode 100644 index c57b964f..00000000 --- a/buildroot-2021.05/package/makedevs/makedevs.c +++ /dev/null @@ -1,647 +0,0 @@ -/* vi: set sw=4 ts=4: */ -/* - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Library General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - */ - -#define _GNU_SOURCE -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#ifndef __APPLE__ -#include /* major() and minor() */ -#endif -#include -#ifdef EXTENDED_ATTRIBUTES -#include -#endif /* EXTENDED_ATTRIBUTES */ - -const char *bb_applet_name; -uid_t recursive_uid; -gid_t recursive_gid; -unsigned int recursive_mode; -#define PASSWD_PATH "etc/passwd" /* MUST be relative */ -#define GROUP_PATH "etc/group" /* MUST be relative */ - -void bb_verror_msg(const char *s, va_list p) -{ - fflush(stdout); - fprintf(stderr, "%s: ", bb_applet_name); - vfprintf(stderr, s, p); -} - -void bb_error_msg(const char *s, ...) -{ - va_list p; - - va_start(p, s); - bb_verror_msg(s, p); - va_end(p); - putc('\n', stderr); -} - -void bb_error_msg_and_die(const char *s, ...) -{ - va_list p; - - va_start(p, s); - bb_verror_msg(s, p); - va_end(p); - putc('\n', stderr); - exit(1); -} - -void bb_vperror_msg(const char *s, va_list p) -{ - int err=errno; - if(s == 0) s = ""; - bb_verror_msg(s, p); - if (*s) s = ": "; - fprintf(stderr, "%s%s\n", s, strerror(err)); -} - -void bb_perror_msg(const char *s, ...) -{ - va_list p; - - va_start(p, s); - bb_vperror_msg(s, p); - va_end(p); -} - -void bb_perror_msg_and_die(const char *s, ...) -{ - va_list p; - - va_start(p, s); - bb_vperror_msg(s, p); - va_end(p); - exit(1); -} - -FILE *bb_xfopen(const char *path, const char *mode) -{ - FILE *fp; - if ((fp = fopen(path, mode)) == NULL) - bb_perror_msg_and_die("%s", path); - return fp; -} - -enum { - FILEUTILS_PRESERVE_STATUS = 1, - FILEUTILS_DEREFERENCE = 2, - FILEUTILS_RECUR = 4, - FILEUTILS_FORCE = 8, - FILEUTILS_INTERACTIVE = 16 -}; -int bb_make_directory (char *path, long mode, int flags) -{ - mode_t mask; - const char *fail_msg; - char *s = path; - char c; - struct stat st; - - mask = umask(0); - if (mode == -1) { - umask(mask); - mode = (S_IXUSR | S_IXGRP | S_IXOTH | - S_IWUSR | S_IWGRP | S_IWOTH | - S_IRUSR | S_IRGRP | S_IROTH) & ~mask; - } else { - umask(mask & ~0300); - } - - do { - c = 0; - - if (flags & FILEUTILS_RECUR) { /* Get the parent. */ - /* Bypass leading non-'/'s and then subsequent '/'s. */ - while (*s) { - if (*s == '/') { - do { - ++s; - } while (*s == '/'); - c = *s; /* Save the current char */ - *s = 0; /* and replace it with nul. */ - break; - } - ++s; - } - } - - if (mkdir(path, 0777) < 0) { - /* If we failed for any other reason than the directory - * already exists, output a diagnostic and return -1.*/ - if ((errno != EEXIST && errno != EISDIR) - || !(flags & FILEUTILS_RECUR) - || (stat(path, &st) < 0 || !S_ISDIR(st.st_mode))) { - fail_msg = "create"; - umask(mask); - break; - } - /* Since the directory exists, don't attempt to change - * permissions if it was the full target. Note that - * this is not an error conditon. */ - if (!c) { - umask(mask); - return 0; - } - } - - if (!c) { - /* Done. If necessary, updated perms on the newly - * created directory. Failure to update here _is_ - * an error.*/ - umask(mask); - if ((mode != -1) && (chmod(path, mode) < 0)){ - fail_msg = "set permissions of"; - break; - } - return 0; - } - - /* Remove any inserted nul from the path (recursive mode). */ - *s = c; - - } while (1); - - bb_perror_msg ("Cannot %s directory `%s'", fail_msg, path); - return -1; -} - -const char * const bb_msg_memory_exhausted = "memory exhausted"; - -void *xmalloc(size_t size) -{ - void *ptr = malloc(size); - if (ptr == NULL && size != 0) - bb_error_msg_and_die(bb_msg_memory_exhausted); - return ptr; -} - -void *xcalloc(size_t nmemb, size_t size) -{ - void *ptr = calloc(nmemb, size); - if (ptr == NULL && nmemb != 0 && size != 0) - bb_error_msg_and_die(bb_msg_memory_exhausted); - return ptr; -} - -void *xrealloc(void *ptr, size_t size) -{ - ptr = realloc(ptr, size); - if (ptr == NULL && size != 0) - bb_error_msg_and_die(bb_msg_memory_exhausted); - return ptr; -} - -char *private_get_line_from_file(FILE *file, int c) -{ -#define GROWBY (80) /* how large we will grow strings by */ - - int ch; - int idx = 0; - char *linebuf = NULL; - int linebufsz = 0; - - while ((ch = getc(file)) != EOF) { - /* grow the line buffer as necessary */ - if (idx > linebufsz - 2) { - linebuf = xrealloc(linebuf, linebufsz += GROWBY); - } - linebuf[idx++] = (char)ch; - if (!ch) return linebuf; - if (c<2 && ch == '\n') { - if (c) { - --idx; - } - break; - } - } - if (linebuf) { - if (ferror(file)) { - free(linebuf); - return NULL; - } - linebuf[idx] = 0; - } - return linebuf; -} - -char *bb_get_chomped_line_from_file(FILE *file) -{ - return private_get_line_from_file(file, 1); -} - -long my_getpwnam(const char *name) -{ - struct passwd *myuser; - FILE *stream; - - stream = bb_xfopen(PASSWD_PATH, "r"); - while(1) { - errno = 0; - myuser = fgetpwent(stream); - if (myuser == NULL) - bb_error_msg_and_die("unknown user name: %s", name); - if (errno) - bb_perror_msg_and_die("fgetpwent"); - if (!strcmp(name, myuser->pw_name)) - break; - } - fclose(stream); - - return myuser->pw_uid; -} - -long my_getgrnam(const char *name) -{ - struct group *mygroup; - FILE *stream; - - stream = bb_xfopen(GROUP_PATH, "r"); - while(1) { - errno = 0; - mygroup = fgetgrent(stream); - if (mygroup == NULL) - bb_error_msg_and_die("unknown group name: %s", name); - if (errno) - bb_perror_msg_and_die("fgetgrent"); - if (!strcmp(name, mygroup->gr_name)) - break; - } - fclose(stream); - - return mygroup->gr_gid; -} - -unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *)) -{ - unsigned long r; - char *p; - - r = strtoul(s, &p, 10); - if (*p || (s == p)) { - r = my_getxxnam(s); - } - - return r; -} - -char * last_char_is(const char *s, int c) -{ - char *sret = (char *)s; - if (sret) { - sret = strrchr(sret, c); - if(sret != NULL && *(sret+1) != 0) - sret = NULL; - } - return sret; -} - -void bb_xasprintf(char **string_ptr, const char *format, ...) -{ - va_list p; - int r; - - va_start(p, format); - r = vasprintf(string_ptr, format, p); - va_end(p); - - if (r < 0) { - bb_perror_msg_and_die("bb_xasprintf"); - } -} - -char *concat_path_file(const char *path, const char *filename) -{ - char *outbuf; - char *lc; - - if (!path) - path = ""; - lc = last_char_is(path, '/'); - while (*filename == '/') - filename++; - bb_xasprintf(&outbuf, "%s%s%s", path, (lc==NULL ? "/" : ""), filename); - - return outbuf; -} - -#ifdef EXTENDED_ATTRIBUTES -int bb_set_xattr(const char *fpath, const char *xattr) -{ - cap_t cap, cap_file, cap_new; - char *cap_file_text, *cap_new_text; - ssize_t length; - - cap = cap_from_text(xattr); - if (cap == NULL) - bb_perror_msg_and_die("cap_from_text failed for %s", xattr); - - cap_file = cap_get_file(fpath); - if (cap_file == NULL) { - /* if no capability was set before, we initialize cap_file */ - if (errno != ENODATA) - bb_perror_msg_and_die("cap_get_file failed on %s", fpath); - - cap_file = cap_init(); - if (!cap_file) - bb_perror_msg_and_die("cap_init failed"); - } - - if ((cap_file_text = cap_to_text(cap_file, &length)) == NULL) - bb_perror_msg_and_die("cap_to_name failed on %s", fpath); - - bb_xasprintf(&cap_new_text, "%s %s", cap_file_text, xattr); - - if ((cap_new = cap_from_text(cap_new_text)) == NULL) - bb_perror_msg_and_die("cap_from_text failed on %s", cap_new_text); - - if (cap_set_file(fpath, cap_new) == -1) - bb_perror_msg_and_die("cap_set_file failed for %s (xattr = %s)", fpath, xattr); - - cap_free(cap); - cap_free(cap_file); - cap_free(cap_file_text); - cap_free(cap_new); - cap_free(cap_new_text); - - return 0; -} -#endif /* EXTENDED_ATTRIBUTES */ - -void bb_show_usage(void) -{ - fprintf(stderr, "%s: [-d device_table] rootdir\n\n", bb_applet_name); - fprintf(stderr, "Creates a batch of special files as specified in a device table.\n"); - fprintf(stderr, "Device table entries take the form of:\n"); - fprintf(stderr, "name type mode user group major minor start increment count\n\n"); - fprintf(stderr, "Where name is the file name, type can be one of:\n"); - fprintf(stderr, " f A regular file\n"); - fprintf(stderr, " d Directory\n"); - fprintf(stderr, " r Directory recursively\n"); - fprintf(stderr, " c Character special device file\n"); - fprintf(stderr, " b Block special device file\n"); - fprintf(stderr, " p Fifo (named pipe)\n"); - fprintf(stderr, "uid is the user id for the target file, gid is the group id for the\n"); - fprintf(stderr, "target file. The rest of the entries (major, minor, etc) apply to\n"); - fprintf(stderr, "to device special files. A '-' may be used for blank entries.\n\n"); - fprintf(stderr, "For example:\n"); - fprintf(stderr, " \n"); - fprintf(stderr, "/dev d 755 0 0 - - - - -\n"); - fprintf(stderr, "/dev/console c 666 0 0 5 1 - - -\n"); - fprintf(stderr, "/dev/null c 666 0 0 1 3 0 0 -\n"); - fprintf(stderr, "/dev/zero c 666 0 0 1 5 0 0 -\n"); - fprintf(stderr, "/dev/hda b 640 0 0 3 0 0 0 -\n"); - fprintf(stderr, "/dev/hda b 640 0 0 3 1 1 1 15\n"); - fprintf(stderr, "/dev/rtp b 640 0 0 250 0 0 1 5\n"); - fprintf(stderr, "/dev/gps b 640 0 0 251 0 1 1 5\n"); - fprintf(stderr, "/dev/uio b 640 0 0 252 0 1 2 5\n"); - fprintf(stderr, "/dev/uio b 640 0 0 252 1 6 2 5\n\n"); - fprintf(stderr, "Will Produce:\n"); - fprintf(stderr, "/dev\n"); - fprintf(stderr, "/dev/console\n"); - fprintf(stderr, "/dev/null\n"); - fprintf(stderr, "/dev/zero\n"); - fprintf(stderr, "/dev/hda\n"); - fprintf(stderr, "/dev/hda[1-15] with minor numbers [1-15]\n"); - fprintf(stderr, "/dev/rtp[0-4] with minor numbers [0-4]\n"); - fprintf(stderr, "/dev/gps[1-5] with minor numbers [0-4]\n"); - fprintf(stderr, "/dev/uio[1-5] with minor numbers 0,2,4,6,8\n"); - fprintf(stderr, "/dev/uio[6-10] with minor numbers 1,3,5,7,9\n"); - exit(1); -} - -int bb_recursive(const char *fpath, const struct stat *sb, - int tflag, struct FTW *ftwbuf){ - - if (chown(fpath, recursive_uid, recursive_gid) == -1) { - bb_perror_msg("chown failed for %s", fpath); - return -1; - } - if (recursive_mode != -1) { - if (chmod(fpath, recursive_mode) < 0) { - bb_perror_msg("chmod failed for %s", fpath); - return -1; - } - } - - return 0; -} - -int main(int argc, char **argv) -{ - int opt; - FILE *table = stdin; - char *rootdir = NULL; - char *full_name = NULL; - char *line = NULL; - int linenum = 0; - int ret = EXIT_SUCCESS; - - bb_applet_name = basename(argv[0]); - - while ((opt = getopt(argc, argv, "d:")) != -1) { - switch(opt) { - case 'd': - table = bb_xfopen((line=optarg), "r"); - break; - default: - bb_show_usage(); - } - } - - if (optind >= argc || (rootdir=argv[optind])==NULL) { - bb_error_msg_and_die("root directory not speficied"); - } - - if (chdir(rootdir) != 0) { - bb_perror_msg_and_die("Couldnt chdir to %s", rootdir); - } - - umask(0); - - printf("rootdir=%s\n", rootdir); - if (line) { - printf("table='%s'\n", line); - } else { - printf("table=\n"); - } - - while ((line = bb_get_chomped_line_from_file(table))) { - char type; - unsigned int mode = 0755; - unsigned int major = 0; - unsigned int minor = 0; - unsigned int count = 0; - unsigned int increment = 0; - unsigned int start = 0; - char xattr[255]; - char name[4096]; - char user[41]; - char group[41]; - uid_t uid; - gid_t gid; - - linenum++; - - if (1 == sscanf(line, " |xattr %254s", xattr)) { -#ifdef EXTENDED_ATTRIBUTES - if (!full_name) - bb_error_msg_and_die("line %d should be after a file\n", linenum); - - if (bb_set_xattr(full_name, xattr) < 0) - bb_error_msg_and_die("can't set cap %s on file %s\n", xattr, full_name); -#else - bb_error_msg_and_die("line %d not supported: '%s'\nDid you forget to enable " - "BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES?\n", - linenum, line); -#endif /* EXTENDED_ATTRIBUTES */ - continue; - } - - if ((2 > sscanf(line, "%4095s %c %o %40s %40s %u %u %u %u %u", name, - &type, &mode, user, group, &major, - &minor, &start, &increment, &count)) || - ((major | minor | start | count | increment) > 0xfffff)) - { - if (*line=='\0' || *line=='#' || isspace(*line)) - continue; - bb_error_msg("line %d invalid: '%s'\n", linenum, line); - ret = EXIT_FAILURE; - continue; - } - if (name[0] == '#') { - continue; - } - if (*group) { - gid = get_ug_id(group, my_getgrnam); - } else { - gid = getgid(); - } - if (*user) { - uid = get_ug_id(user, my_getpwnam); - } else { - uid = getuid(); - } - - /* - * free previous full name - * we don't de-allocate full_name at the end of the parsing, - * because we may need it if the next line is an xattr. - */ - free(full_name); - full_name = concat_path_file(rootdir, name); - - if (type == 'd') { - bb_make_directory(full_name, mode | S_IFDIR, FILEUTILS_RECUR); - if (chown(full_name, uid, gid) == -1) { - bb_perror_msg("line %d: chown failed for %s", linenum, full_name); - ret = EXIT_FAILURE; - goto loop; - } - if ((mode != -1) && (chmod(full_name, mode) < 0)){ - bb_perror_msg("line %d: chmod failed for %s", linenum, full_name); - ret = EXIT_FAILURE; - goto loop; - } - } else if (type == 'f' || type == 'F') { - struct stat st; - if ((stat(full_name, &st) < 0 || !S_ISREG(st.st_mode))) { - if (type == 'F') { - continue; /*Ignore optional files*/ - } - bb_perror_msg("line %d: regular file '%s' does not exist", linenum, full_name); - ret = EXIT_FAILURE; - goto loop; - } - if (chown(full_name, uid, gid) == -1) { - bb_perror_msg("line %d: chown failed for %s", linenum, full_name); - ret = EXIT_FAILURE; - goto loop; - } - if ((mode != -1) && (chmod(full_name, mode) < 0)){ - bb_perror_msg("line %d: chmod failed for %s", linenum, full_name); - ret = EXIT_FAILURE; - goto loop; - } - } else if (type == 'r') { - recursive_uid = uid; - recursive_gid = gid; - recursive_mode = mode; - if (nftw(full_name, bb_recursive, 20, FTW_MOUNT | FTW_PHYS) < 0) { - bb_perror_msg("line %d: recursive failed for %s", linenum, full_name); - ret = EXIT_FAILURE; - goto loop; - } - } else - { - dev_t rdev; - unsigned i; - char *full_name_inc; - - if (type == 'p') { - mode |= S_IFIFO; - } - else if (type == 'c') { - mode |= S_IFCHR; - } - else if (type == 'b') { - mode |= S_IFBLK; - } else { - bb_error_msg("line %d: Unsupported file type %c", linenum, type); - ret = EXIT_FAILURE; - goto loop; - } - - full_name_inc = xmalloc(strlen(full_name) + sizeof(int)*3 + 2); - if (count) - count--; - for (i = start; i <= start + count; i++) { - sprintf(full_name_inc, count ? "%s%u" : "%s", full_name, i); - rdev = makedev(major, minor + (i - start) * increment); - if (mknod(full_name_inc, mode, rdev) < 0) { - bb_perror_msg("line %d: can't create node %s", linenum, full_name_inc); - ret = EXIT_FAILURE; - } else if (chown(full_name_inc, uid, gid) < 0) { - bb_perror_msg("line %d: can't chown %s", linenum, full_name_inc); - ret = EXIT_FAILURE; - } else if (chmod(full_name_inc, mode) < 0) { - bb_perror_msg("line %d: can't chmod %s", linenum, full_name_inc); - ret = EXIT_FAILURE; - } - } - free(full_name_inc); - } -loop: - free(line); - } - fclose(table); - - return ret; -} diff --git a/buildroot-2021.05/package/makedumpfile/0002-makedumpfile.h-fix-build-on-sparc64.patch b/buildroot-2021.05/package/makedumpfile/0002-makedumpfile.h-fix-build-on-sparc64.patch deleted file mode 100644 index defc1019..00000000 --- a/buildroot-2021.05/package/makedumpfile/0002-makedumpfile.h-fix-build-on-sparc64.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 2c132ac5e6656723821acdb0ee57b34c42851fed Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 4 Feb 2021 20:15:56 +0100 -Subject: [PATCH] makedumpfile.h: fix build on sparc64 - -Fix the following build failure on sparc64: - -/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: /tmp/ccylTux8.o: in function `find_kaslr_offsets': -/home/giuliobenetti/autobuild/run/instance-0/output-1/build/makedumpfile-1.6.8/makedumpfile.c:4017: undefined reference to `get_kaslr_offset' - -Fixes: - - http://autobuild.buildroot.org/results/1421f54f7599bba62c0a4bd5c65ce21c8cc7ee1a - -Signed-off-by: Fabrice Fontaine -[Upstream status: -http://lists.infradead.org/pipermail/kexec/2021-February/021996.html] ---- - makedumpfile.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/makedumpfile.h b/makedumpfile.h -index 97a5554..dfc1a77 100644 ---- a/makedumpfile.h -+++ b/makedumpfile.h -@@ -1139,6 +1139,7 @@ unsigned long long vaddr_to_paddr_sparc64(unsigned long vaddr); - #define get_machdep_info() TRUE - #define get_phys_base() get_phys_base_sparc64() - #define get_versiondep_info() get_versiondep_info_sparc64() -+#define get_kaslr_offset(X) stub_false() - #define vaddr_to_paddr(X) vaddr_to_paddr_sparc64(X) - #define paddr_to_vaddr(X) paddr_to_vaddr_general(X) - #define is_phys_addr(X) stub_true_ul(X) --- -2.29.2 - diff --git a/buildroot-2021.05/package/makedumpfile/makedumpfile.hash b/buildroot-2021.05/package/makedumpfile/makedumpfile.hash deleted file mode 100644 index 1b2df008..00000000 --- a/buildroot-2021.05/package/makedumpfile/makedumpfile.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 85d79b7090e9a8ce0d426795d3bc1de2858def7e12954d9bc6ae03de160b694c makedumpfile-1.6.8.tar.gz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/makedumpfile/makedumpfile.mk b/buildroot-2021.05/package/makedumpfile/makedumpfile.mk deleted file mode 100644 index 99fb3a71..00000000 --- a/buildroot-2021.05/package/makedumpfile/makedumpfile.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# makedumpfile -# -################################################################################ - -MAKEDUMPFILE_VERSION = 1.6.8 -MAKEDUMPFILE_SITE = $(call github,makedumpfile,makedumpfile,$(MAKEDUMPFILE_VERSION)) -MAKEDUMPFILE_DEPENDENCIES = bzip2 elfutils xz zlib -MAKEDUMPFILE_LICENSE = GPL-2.0 -MAKEDUMPFILE_LICENSE_FILES = COPYING - -ifeq ($(BR2_powerpc),y) -MAKEDUMPFILE_TARGET = powerpc32 -else -MAKEDUMPFILE_TARGET = $(BR2_ARCH) -endif - -MAKEDUMPFILE_MAKE_OPTS = \ - TARGET=$(MAKEDUMPFILE_TARGET) \ - LINKTYPE=dynamic - -ifeq ($(BR2_PACKAGE_LZO),y) -MAKEDUMPFILE_DEPENDENCIES += lzo -MAKEDUMPFILE_MAKE_OPTS += USELZO=on -endif - -ifeq ($(BR2_PACKAGE_SNAPPY),y) -MAKEDUMPFILE_DEPENDENCIES += snappy -MAKEDUMPFILE_MAKE_OPTS += USESNAPPY=on -endif - -define MAKEDUMPFILE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(MAKEDUMPFILE_MAKE_OPTS) -endef - -define MAKEDUMPFILE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \ - DESTDIR="$(TARGET_DIR)" -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mariadb/0001-add-extra-check-for-librt.patch b/buildroot-2021.05/package/mariadb/0001-add-extra-check-for-librt.patch deleted file mode 100644 index 90aa626a..00000000 --- a/buildroot-2021.05/package/mariadb/0001-add-extra-check-for-librt.patch +++ /dev/null @@ -1,29 +0,0 @@ -From e6244400dfd3547531a3a3289fadbbe19873f096 Mon Sep 17 00:00:00 2001 -From: Ryan Coe -Date: Thu, 27 Oct 2016 20:33:21 -0700 -Subject: [PATCH] add extra check for librt - -https://jira.mariadb.org/browse/MDEV-10841 - -Signed-off-by: Ryan Coe ---- - configure.cmake | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/configure.cmake b/configure.cmake -index 896226de954f4642a238ca6a72e0930590dc1681..77ca485fb05e6b63bb69f9561b4eabfaa208a419 100644 ---- a/configure.cmake -+++ b/configure.cmake -@@ -126,6 +126,9 @@ IF(UNIX) - IF(NOT LIBRT) - MY_SEARCH_LIBS(clock_gettime rt LIBRT) - ENDIF() -+ IF(NOT LIBRT) -+ MY_SEARCH_LIBS(posix_spawn_file_actions_addclose rt LIBRT) -+ ENDIF() - FIND_PACKAGE(Threads) - - SET(CMAKE_REQUIRED_LIBRARIES --- -2.9.3 - diff --git a/buildroot-2021.05/package/mariadb/mariadb.hash b/buildroot-2021.05/package/mariadb/mariadb.hash deleted file mode 100644 index 26faf529..00000000 --- a/buildroot-2021.05/package/mariadb/mariadb.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://downloads.mariadb.org/mariadb/10.3.28 -sha256 e8c912cae2e5800d0da364cc23437907ed4be767f2cbdf198cf3afc03db6a6a3 mariadb-10.3.28.tar.gz -sha512 f6941bcc818f9b3640e4b5fdbdd3a32b45c62c04087e583f1f0e1c0258b09a21c7639abd1c902e183c057838308ad5eedc00ffee76d44a02043e8e349015fb20 mariadb-10.3.28.tar.gz - -# Hash for license files -sha256 a4665c1189fe31e0bbc27e9b55439df7dad6e99805407fe58d78da7aabe678f8 README.md -sha256 240a15a1d0f34d3abca462cdb7e5fb89470967563f16b0e71169e51c1e74cf2b COPYING diff --git a/buildroot-2021.05/package/mariadb/mariadb.mk b/buildroot-2021.05/package/mariadb/mariadb.mk deleted file mode 100644 index 56d6afab..00000000 --- a/buildroot-2021.05/package/mariadb/mariadb.mk +++ /dev/null @@ -1,139 +0,0 @@ -################################################################################ -# -# mariadb -# -################################################################################ - -MARIADB_VERSION = 10.3.28 -MARIADB_SITE = https://downloads.mariadb.org/interstitial/mariadb-$(MARIADB_VERSION)/source -MARIADB_LICENSE = GPL-2.0 (server), GPL-2.0 with FLOSS exception (GPL client library), LGPL-2.0 (LGPL client library) -# Tarball no longer contains LGPL license text -# https://jira.mariadb.org/browse/MDEV-12297 -MARIADB_LICENSE_FILES = README.md COPYING -MARIADB_CPE_ID_VENDOR = mariadb -MARIADB_INSTALL_STAGING = YES -MARIADB_PROVIDES = mysql - -MARIADB_DEPENDENCIES = \ - host-mariadb \ - ncurses \ - openssl \ - zlib \ - libaio \ - libxml2 - -# use bundled GPL-2.0+ licensed readline as package/readline is GPL-3.0+ -MARIADB_CONF_OPTS += -DWITH_READLINE=ON - -# We won't need unit tests -MARIADB_CONF_OPTS += -DWITH_UNIT_TESTS=0 - -# Mroonga needs libstemmer. Some work still needs to be done before it can be -# included in buildroot. Disable it for now. -MARIADB_CONF_OPTS += -DWITHOUT_MROONGA=1 - -# This value is determined automatically during straight compile by compiling -# and running a test code. You cannot do that during cross-compile. However the -# stack grows downward in most if not all modern systems. The only exception I -# am aware of is PA-RISC which is not supported by buildroot. Therefore it makes -# sense to hardcode the value. If an arch is added the stack of which grows up -# one should expect unpredictable behavior at run time. -MARIADB_CONF_OPTS += -DSTACK_DIRECTION=-1 - -# Jemalloc was added for TokuDB. Since its configure script seems somewhat broken -# when it comes to cross-compilation we shall disable it and also disable TokuDB. -MARIADB_CONF_OPTS += -DWITH_JEMALLOC=no -DWITHOUT_TOKUDB=1 - -# RocksDB fails to build in some configurations with the following build error: -# ./output/build/mariadb-10.2.17/storage/rocksdb/rocksdb/utilities/backupable/backupable_db.cc:327:38: -# error: field 'result' has incomplete type 'std::promise' -# std::promise result; -# -# To work around the issue, we disable RocksDB -MARIADB_CONF_OPTS += -DWITHOUT_ROCKSDB=1 - -# Make it explicit that we are cross-compiling -MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 - -# Explicitly disable dtrace to avoid detection of a host version -MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 - -ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) -ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) -MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON -else -MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=OFF -endif -else -MARIADB_CONF_OPTS += -DWITHOUT_SERVER=ON -endif - -MARIADB_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -MARIADB_CXXFLAGS += -latomic -endif - -MARIADB_CONF_OPTS += \ - -DCMAKE_CXX_FLAGS="$(MARIADB_CXXFLAGS)" \ - -DINSTALL_DOCDIR=share/doc/mariadb-$(MARIADB_VERSION) \ - -DINSTALL_DOCREADMEDIR=share/doc/mariadb-$(MARIADB_VERSION) \ - -DINSTALL_MANDIR=share/man \ - -DINSTALL_MYSQLSHAREDIR=share/mysql \ - -DINSTALL_MYSQLTESTDIR=share/mysql/test \ - -DINSTALL_PLUGINDIR=lib/mysql/plugin \ - -DINSTALL_SBINDIR=sbin \ - -DINSTALL_SCRIPTDIR=bin \ - -DINSTALL_SQLBENCHDIR=share/mysql/bench \ - -DINSTALL_SUPPORTFILESDIR=share/mysql \ - -DMYSQL_DATADIR=/var/lib/mysql \ - -DMYSQL_UNIX_ADDR=$(MYSQL_SOCKET) - -HOST_MARIADB_DEPENDENCIES = host-openssl -HOST_MARIADB_CONF_OPTS += -DWITH_SSL=system - -# Some helpers must be compiled for host in order to crosscompile mariadb for -# the target. They are then included by import_executables.cmake which is -# generated during the build of the host helpers. It is not necessary to build -# the whole host package, only the "import_executables" target. -# -DIMPORT_EXECUTABLES=$(HOST_MARIADB_BUILDDIR)/import_executables.cmake -# must then be passed to cmake during target build. -# see also https://mariadb.com/kb/en/mariadb/cross-compiling-mariadb/ -HOST_MARIADB_MAKE_OPTS = import_executables - -MARIADB_CONF_OPTS += \ - -DIMPORT_EXECUTABLES=$(HOST_MARIADB_BUILDDIR)/import_executables.cmake - -# Don't install host-mariadb. We just need to build import_executable -# Therefore only run 'true' and do nothing, not even the default action. -HOST_MARIADB_INSTALL_CMDS = true - -ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) -define MARIADB_USERS - mysql -1 mysql -1 * /var/lib/mysql - - MySQL Server -endef - -define MARIADB_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/mariadb/S97mysqld \ - $(TARGET_DIR)/etc/init.d/S97mysqld -endef - -define MARIADB_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/mariadb/mysqld.service \ - $(TARGET_DIR)/usr/lib/systemd/system/mysqld.service -endef -endif - -# We don't need mysql_config or mariadb_config on the target as it's -# only useful in staging. We also don't need the test suite on the target. -define MARIADB_POST_INSTALL - mkdir -p $(TARGET_DIR)/var/lib/mysql - $(RM) $(TARGET_DIR)/usr/bin/mysql_config - $(RM) $(TARGET_DIR)/usr/bin/mariadb_config - $(RM) -r $(TARGET_DIR)/usr/share/mysql/test -endef - -MARIADB_POST_INSTALL_TARGET_HOOKS += MARIADB_POST_INSTALL - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/mariadb/mysqld.service b/buildroot-2021.05/package/mariadb/mysqld.service deleted file mode 100644 index d9ea74eb..00000000 --- a/buildroot-2021.05/package/mariadb/mysqld.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=MySQL database server - -[Service] -ExecStartPre=/bin/sh -c 'test "`ls -1 /var/lib/mysql | wc -l`" != "0" || mysql_install_db --basedir=/usr --datadir=/var/lib/mysql && chown -R mysql:mysql /var/lib/mysql' -ExecStartPre=install -d -o mysql -g root -m 0755 /var/log/mysql -ExecStart=/usr/bin/mysqld_safe --log-error=/var/log/mysql/mysqld.log -Restart=always -User=mysql -RuntimeDirectory=mysql -RuntimeDirectoryMode=0755 - -[Install] -WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/matchbox-fakekey/matchbox-fakekey.hash b/buildroot-2021.05/package/matchbox-fakekey/matchbox-fakekey.hash deleted file mode 100644 index 516e0b63..00000000 --- a/buildroot-2021.05/package/matchbox-fakekey/matchbox-fakekey.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://downloads.yoctoproject.org/releases/matchbox/libfakekey/0.1/libfakekey-0.1.tar.bz2.md5 -md5 83dbde4d77e8baf0176fe4291d8a2303 libfakekey-0.1.tar.bz2 -# Locally computed -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/matchbox-fakekey/matchbox-fakekey.mk b/buildroot-2021.05/package/matchbox-fakekey/matchbox-fakekey.mk deleted file mode 100644 index e607c48c..00000000 --- a/buildroot-2021.05/package/matchbox-fakekey/matchbox-fakekey.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# matchbox-fakekey -# -################################################################################ - -MATCHBOX_FAKEKEY_VERSION = 0.1 -MATCHBOX_FAKEKEY_SOURCE = libfakekey-$(MATCHBOX_FAKEKEY_VERSION).tar.bz2 -MATCHBOX_FAKEKEY_SITE = http://downloads.yoctoproject.org/releases/matchbox/libfakekey/$(MATCHBOX_FAKEKEY_VERSION) -MATCHBOX_FAKEKEY_LICENSE = GPL-2.0+ -MATCHBOX_FAKEKEY_LICENSE_FILES = COPYING -MATCHBOX_FAKEKEY_INSTALL_STAGING = YES -MATCHBOX_FAKEKEY_DEPENDENCIES = matchbox-lib xlib_libXtst -MATCHBOX_FAKEKEY_CONF_OPTS = --enable-expat - -define MATCHBOX_FAKEKEY_POST_CONFIGURE_FIXES - $(SED) 's:^SUBDIRS = fakekey src tests.*:SUBDIRS = fakekey src:g' \ - $(@D)/Makefile -endef - -MATCHBOX_FAKEKEY_POST_CONFIGURE_HOOKS += MATCHBOX_FAKEKEY_POST_CONFIGURE_FIXES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/matchbox-lib/0002-libpng15.patch b/buildroot-2021.05/package/matchbox-lib/0002-libpng15.patch deleted file mode 100644 index 3d68573b..00000000 --- a/buildroot-2021.05/package/matchbox-lib/0002-libpng15.patch +++ /dev/null @@ -1,26 +0,0 @@ -Support for libpng 1.5+ shamelessly taken from Gentoo. - -Signed-off-by: Gustavo Zacarias - ---- a/libmb/mbpixbuf.c -+++ b/libmb/mbpixbuf.c -@@ -247,7 +247,7 @@ - return NULL; - } - -- if ( setjmp( png_ptr->jmpbuf ) ) { -+ if ( setjmp( png_jmpbuf(png_ptr) ) ) { - png_destroy_read_struct( &png_ptr, &info_ptr, NULL); - fclose(fd); - return NULL; -@@ -269,8 +269,8 @@ - ( color_type == PNG_COLOR_TYPE_GRAY_ALPHA )) - png_set_gray_to_rgb(png_ptr); - -- if ( info_ptr->color_type == PNG_COLOR_TYPE_RGB_ALPHA -- || info_ptr->color_type == PNG_COLOR_TYPE_GRAY_ALPHA -+ if ( color_type == PNG_COLOR_TYPE_RGB_ALPHA -+ || color_type == PNG_COLOR_TYPE_GRAY_ALPHA - ) - *has_alpha = 1; - else diff --git a/buildroot-2021.05/package/matchbox-lib/0003-include-setjmp-h.patch b/buildroot-2021.05/package/matchbox-lib/0003-include-setjmp-h.patch deleted file mode 100644 index 72e1e45d..00000000 --- a/buildroot-2021.05/package/matchbox-lib/0003-include-setjmp-h.patch +++ /dev/null @@ -1,17 +0,0 @@ -matchbox-lib: include setjmp.h - -Based on this upstream patch: - - http://git.yoctoproject.org/cgit/cgit.cgi/libmatchbox/commit/?id=9315bcce1f01e7d6c00161442d61d3c676794d9d - -Signed-off-by: Vicente Olivert Riera ---- libmatchbox-1.9/libmb/mbpixbuf.c.orig 2014-02-21 12:45:46.867035956 +0000 -+++ libmatchbox-1.9/libmb/mbpixbuf.c 2014-02-21 12:46:43.482949583 +0000 -@@ -22,6 +22,7 @@ - - #include - #include "mbpixbuf.h" -+#include - - #define BYTE_ORD_24_RGB 0 - #define BYTE_ORD_24_RBG 1 diff --git a/buildroot-2021.05/package/matchbox-lib/matchbox-lib.hash b/buildroot-2021.05/package/matchbox-lib/matchbox-lib.hash deleted file mode 100644 index d48fb320..00000000 --- a/buildroot-2021.05/package/matchbox-lib/matchbox-lib.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://downloads.yoctoproject.org/releases/matchbox/libmatchbox/1.9/libmatchbox-1.9.tar.bz2.md5 -md5 9f73e7515cc4679171a5db180dc1343b libmatchbox-1.9.tar.bz2 -# Locally computed -sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING diff --git a/buildroot-2021.05/package/matchbox-lib/matchbox-lib.mk b/buildroot-2021.05/package/matchbox-lib/matchbox-lib.mk deleted file mode 100644 index 55418676..00000000 --- a/buildroot-2021.05/package/matchbox-lib/matchbox-lib.mk +++ /dev/null @@ -1,59 +0,0 @@ -################################################################################ -# -# matchbox-lib -# -################################################################################ - -MATCHBOX_LIB_VERSION = 1.9 -MATCHBOX_LIB_SOURCE = libmatchbox-$(MATCHBOX_LIB_VERSION).tar.bz2 -MATCHBOX_LIB_SITE = http://downloads.yoctoproject.org/releases/matchbox/libmatchbox/$(MATCHBOX_LIB_VERSION) -MATCHBOX_LIB_LICENSE = LGPL-2.1+ -MATCHBOX_LIB_LICENSE_FILES = COPYING -MATCHBOX_LIB_INSTALL_STAGING = YES -MATCHBOX_LIB_DEPENDENCIES = host-pkgconf xlib_libXext -MATCHBOX_LIB_CONF_OPTS = --disable-doxygen-docs -MATCHBOX_LIB_CONF_ENV = LIBS="-lX11" - -define MATCHBOX_LIB_POST_INSTALL_FIXES - $(SED) 's:-I$(STAGING_DIR)/:-I/:g' \ - -e 's:-I/usr/include\( \|$$\)::g' \ - $(STAGING_DIR)/usr/lib/pkgconfig/libmb.pc -endef - -MATCHBOX_LIB_POST_INSTALL_STAGING_HOOKS += MATCHBOX_LIB_POST_INSTALL_FIXES - -ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) -ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y) -MATCHBOX_LIB_DEPENDENCIES += xlib_libXpm -endif -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -MATCHBOX_LIB_CONF_OPTS += --enable-jpeg -MATCHBOX_LIB_DEPENDENCIES += jpeg -else -MATCHBOX_LIB_CONF_OPTS += --disable-jpeg -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -MATCHBOX_LIB_CONF_OPTS += --enable-png -MATCHBOX_LIB_DEPENDENCIES += libpng -else -MATCHBOX_LIB_CONF_OPTS += --disable-png -endif - -ifeq ($(BR2_PACKAGE_PANGO)$(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yyy) -MATCHBOX_LIB_CONF_OPTS += --enable-pango -MATCHBOX_LIB_DEPENDENCIES += pango -else -MATCHBOX_LIB_CONF_OPTS += --disable-pango -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) -MATCHBOX_LIB_CONF_OPTS += --enable-xft -MATCHBOX_LIB_DEPENDENCIES += xlib_libXft -else -MATCHBOX_LIB_CONF_OPTS += --disable-xft -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/matio/matio.hash b/buildroot-2021.05/package/matio/matio.hash deleted file mode 100644 index 55e57338..00000000 --- a/buildroot-2021.05/package/matio/matio.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://sourceforge.net/projects/matio/files/matio/1.5.18/ -sha512 c43e562a101348d64139a056f28bce37c59c6667d701200255ccf9d8b6adf7a92ae9c11c8d921ec8a652cdc81c5de9ab247907279c54c52905adfd65bc3fb90f matio-1.5.18.tar.gz -# Locally computed -sha256 19494e9c9154a5e3f834e99d65fab0653b84280df7c98d1886a98d2bd28369c1 COPYING diff --git a/buildroot-2021.05/package/matio/matio.mk b/buildroot-2021.05/package/matio/matio.mk deleted file mode 100644 index 0ebba134..00000000 --- a/buildroot-2021.05/package/matio/matio.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# matio -# -################################################################################ - -MATIO_VERSION = 1.5.18 -MATIO_SITE = http://downloads.sourceforge.net/project/matio/matio/$(MATIO_VERSION) -MATIO_LICENSE = BSD-2-Clause -MATIO_LICENSE_FILES = COPYING -MATIO_CPE_ID_VENDOR = matio_project -MATIO_DEPENDENCIES = zlib -MATIO_INSTALL_STAGING = YES - -# va_copy() -MATIO_CONF_ENV = ac_cv_va_copy=yes - -# mat73 require hdf5 (not available), extented-sparse take 2KB -MATIO_CONF_OPTS = --disable-mat73 --enable-extended-sparse - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mbedtls/mbedtls.hash b/buildroot-2021.05/package/mbedtls/mbedtls.hash deleted file mode 100644 index d9912a50..00000000 --- a/buildroot-2021.05/package/mbedtls/mbedtls.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.10: -sha256 96257bb03b30300b2f35f861ffe204ed957e9fd0329d80646fe57fc49f589b29 mbedtls-2.16.10.tar.gz -# Locally calculated -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 apache-2.0.txt diff --git a/buildroot-2021.05/package/mbedtls/mbedtls.mk b/buildroot-2021.05/package/mbedtls/mbedtls.mk deleted file mode 100644 index 8776fb91..00000000 --- a/buildroot-2021.05/package/mbedtls/mbedtls.mk +++ /dev/null @@ -1,73 +0,0 @@ -################################################################################ -# -# mbedtls -# -################################################################################ - -MBEDTLS_VERSION = 2.16.10 -MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) -MBEDTLS_CONF_OPTS = \ - -DENABLE_PROGRAMS=$(if $(BR2_PACKAGE_MBEDTLS_PROGRAMS),ON,OFF) \ - -DENABLE_TESTING=OFF -MBEDTLS_INSTALL_STAGING = YES -MBEDTLS_LICENSE = Apache-2.0 -MBEDTLS_LICENSE_FILES = apache-2.0.txt -MBEDTLS_CPE_ID_VENDOR = arm -MBEDTLS_CPE_ID_PRODUCT = mbed_tls - -# This is mandatory for hiawatha -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -define MBEDTLS_ENABLE_THREADING - $(SED) "s://#define MBEDTLS_THREADING_C:#define MBEDTLS_THREADING_C:" \ - $(@D)/include/mbedtls/config.h - $(SED) "s://#define MBEDTLS_THREADING_PTHREAD:#define MBEDTLS_THREADING_PTHREAD:" \ - $(@D)/include/mbedtls/config.h -endef -MBEDTLS_POST_PATCH_HOOKS += MBEDTLS_ENABLE_THREADING -ifeq ($(BR2_STATIC_LIBS),y) -MBEDTLS_CONF_OPTS += -DLINK_WITH_PTHREAD=ON -endif -endif - -ifeq ($(BR2_STATIC_LIBS),y) -MBEDTLS_CONF_OPTS += \ - -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -MBEDTLS_CONF_OPTS += \ - -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=ON -else ifeq ($(BR2_SHARED_LIBS),y) -MBEDTLS_CONF_OPTS += \ - -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=OFF -endif - -ifeq ($(BR2_PACKAGE_MBEDTLS_COMPRESSION),y) -MBEDTLS_CONF_OPTS += -DENABLE_ZLIB_SUPPORT=ON -MBEDTLS_DEPENDENCIES += zlib -define MBEDTLS_ENABLE_ZLIB - $(SED) "s://#define MBEDTLS_ZLIB_SUPPORT:#define MBEDTLS_ZLIB_SUPPORT:" \ - $(@D)/include/mbedtls/config.h -endef -MBEDTLS_POST_PATCH_HOOKS += MBEDTLS_ENABLE_ZLIB -else -MBEDTLS_CONF_OPTS += -DENABLE_ZLIB_SUPPORT=OFF -endif - -define MBEDTLS_DISABLE_ASM - $(SED) '/^#define MBEDTLS_AESNI_C/d' \ - $(@D)/include/mbedtls/config.h - $(SED) '/^#define MBEDTLS_HAVE_ASM/d' \ - $(@D)/include/mbedtls/config.h - $(SED) '/^#define MBEDTLS_PADLOCK_C/d' \ - $(@D)/include/mbedtls/config.h -endef - -# ARM in thumb mode breaks debugging with asm optimizations -# Microblaze asm optimizations are broken in general -# MIPS R6 asm is not yet supported -ifeq ($(BR2_ENABLE_DEBUG)$(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_ARM_INSTRUCTIONS_THUMB2),yy) -MBEDTLS_POST_CONFIGURE_HOOKS += MBEDTLS_DISABLE_ASM -else ifeq ($(BR2_microblaze)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) -MBEDTLS_POST_CONFIGURE_HOOKS += MBEDTLS_DISABLE_ASM -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/mbuffer/mbuffer.hash b/buildroot-2021.05/package/mbuffer/mbuffer.hash deleted file mode 100644 index 73a8d3cf..00000000 --- a/buildroot-2021.05/package/mbuffer/mbuffer.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From http://www.maier-komor.de/mbuffer.html -md5 e2b4f3b0d0944c08d52c167841bde3c0 mbuffer-20200929.tgz - -# Locally computed after checking signature upstream -sha256 53a6e3c14e9a049f18a09840653dd84f18e7ec7560f2dcf2b61c0ab5f0ead4e8 mbuffer-20200929.tgz - -# Hash for license file -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE diff --git a/buildroot-2021.05/package/mbuffer/mbuffer.mk b/buildroot-2021.05/package/mbuffer/mbuffer.mk deleted file mode 100644 index 90a72ce6..00000000 --- a/buildroot-2021.05/package/mbuffer/mbuffer.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# mbuffer -# -################################################################################ - -MBUFFER_VERSION = 20200929 -MBUFFER_SOURCE = mbuffer-$(MBUFFER_VERSION).tgz -MBUFFER_SITE = http://www.maier-komor.de/software/mbuffer -MBUFFER_LICENSE = GPL-3.0+ -MBUFFER_LICENSE_FILES = LICENSE -MBUFFER_CONF_OPTS = --disable-debug - -# we don't need tests & co. so we specify a target -# so that the others don't get built, e.g idev.so -MBUFFER_MAKE_OPTS += mbuffer - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mc/0001-Ticket-4181-FTBFS-against-NCurses-on-OS-X-10-9-5.patch b/buildroot-2021.05/package/mc/0001-Ticket-4181-FTBFS-against-NCurses-on-OS-X-10-9-5.patch deleted file mode 100644 index 6dfae52a..00000000 --- a/buildroot-2021.05/package/mc/0001-Ticket-4181-FTBFS-against-NCurses-on-OS-X-10-9-5.patch +++ /dev/null @@ -1,32 +0,0 @@ -From ba62dd32add2767d6d13f9abb82f43304418740f Mon Sep 17 00:00:00 2001 -From: Andrew Borodin -Date: Sun, 24 Jan 2021 14:19:22 +0300 -Subject: [PATCH] Ticket #4181: FTBFS against NCurses on OS X 10.9.5. - -lib/tty/tty-ncurses.h: define _XOPEN_SOURCE_EXTENDED to use cchar_t, -getcchar(), setcchar(). - -Signed-off-by: Andrew Borodin -[Retrieved from: -https://github.com/MidnightCommander/mc/commit/ba62dd32add2767d6d13f9abb82f43304418740f] -Signed-off-by: Fabrice Fontaine ---- - lib/tty/tty-ncurses.h | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/lib/tty/tty-ncurses.h b/lib/tty/tty-ncurses.h -index 9962c7c413..d75df9533a 100644 ---- a/lib/tty/tty-ncurses.h -+++ b/lib/tty/tty-ncurses.h -@@ -2,6 +2,11 @@ - #ifndef MC__TTY_NCURSES_H - #define MC__TTY_NCURSES_H - -+/* for cchar_t, getcchar(), setcchar() */ -+#ifndef _XOPEN_SOURCE_EXTENDED -+#define _XOPEN_SOURCE_EXTENDED -+#endif -+ - #ifdef USE_NCURSES - #ifdef HAVE_NCURSES_CURSES_H - #include diff --git a/buildroot-2021.05/package/mc/mc.hash b/buildroot-2021.05/package/mc/mc.hash deleted file mode 100644 index 63fbfa32..00000000 --- a/buildroot-2021.05/package/mc/mc.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Hash from http://ftp.midnight-commander.org/mc-4.8.26.sha256 -sha256 c6deadc50595f2d9a22dc6c299a9f28b393e358346ebf6ca444a8469dc166c27 mc-4.8.26.tar.xz -# sha256 locally computed: -sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING diff --git a/buildroot-2021.05/package/mc/mc.mk b/buildroot-2021.05/package/mc/mc.mk deleted file mode 100644 index 50dc50f6..00000000 --- a/buildroot-2021.05/package/mc/mc.mk +++ /dev/null @@ -1,47 +0,0 @@ -################################################################################ -# -# mc -# -################################################################################ - -MC_VERSION = 4.8.26 -MC_SOURCE = mc-$(MC_VERSION).tar.xz -MC_SITE = http://ftp.midnight-commander.org -MC_LICENSE = GPL-3.0+ -MC_LICENSE_FILES = COPYING -MC_DEPENDENCIES = libglib2 host-pkgconf $(TARGET_NLS_DEPENDENCIES) -MC_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) - -ifeq ($(BR2_PACKAGE_GPM),y) -MC_CONF_OPTS += --with-gpm-mouse -MC_DEPENDENCIES += gpm -else -MC_CONF_OPTS += --without-gpm-mouse -endif - -ifeq ($(BR2_PACKAGE_LIBSSH2),y) -MC_CONF_OPTS += --enable-vfs-sftp -MC_DEPENDENCIES += libssh2 -else -MC_CONF_OPTS += --disable-vfs-sftp -endif - -# mc prefers slang, so use that if enabled, otherwise -# fallback to using ncurses. -# Either or both will be enabled, but we prefer slang. -ifeq ($(BR2_PACKAGE_SLANG),y) -MC_DEPENDENCIES += slang -MC_CONF_OPTS += --with-screen=slang -else -MC_DEPENDENCIES += ncurses -MC_CONF_OPTS += --with-screen=ncurses -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) -MC_CONF_OPTS += --with-x -MC_DEPENDENCIES += xlib_libX11 -else -MC_CONF_OPTS += --without-x -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mcelog/mcelog.hash b/buildroot-2021.05/package/mcelog/mcelog.hash deleted file mode 100644 index 49f29e24..00000000 --- a/buildroot-2021.05/package/mcelog/mcelog.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 d21dfddaaa8e6f4ebd59ce353165c8d8079d0d5ed563492a0415af2248d8b3a5 mcelog-172.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/mcelog/mcelog.mk b/buildroot-2021.05/package/mcelog/mcelog.mk deleted file mode 100644 index 92458254..00000000 --- a/buildroot-2021.05/package/mcelog/mcelog.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# mcelog -# -################################################################################ - -MCELOG_VERSION = 172 -MCELOG_SITE = $(call github,andikleen,mcelog,v$(MCELOG_VERSION)) -MCELOG_LICENSE = GPL-2.0 -MCELOG_LICENSE_FILES = LICENSE -MCELOG_SELINUX_MODULES = mcelog - -define MCELOG_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all -endef - -define MCELOG_INSTALL_TARGET_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -define MCELOG_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(@D)/mcelog.service \ - $(TARGET_DIR)/usr/lib/systemd/system/mcelog.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mcrypt/0001-CVE-2012-4409.patch b/buildroot-2021.05/package/mcrypt/0001-CVE-2012-4409.patch deleted file mode 100644 index 97c658bb..00000000 --- a/buildroot-2021.05/package/mcrypt/0001-CVE-2012-4409.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 3efb40e17ce4f76717ae17a1ce1e1f747ddf59fd Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev -Date: Sat, 22 Dec 2012 22:37:06 +0200 -Subject: [PATCH] cleanup: buffer overflow - ---- - src/extra.c | 2 ++ - 1 files changed, 2 insertions(+), 0 deletions(-) - -diff --git a/src/extra.c b/src/extra.c -index 3082f82..c7a1ac0 100644 ---- a/src/extra.c -+++ b/src/extra.c -@@ -241,6 +241,8 @@ int check_file_head(FILE * fstream, char *algorithm, char *mode, - if (m_getbit(6, flags) == 1) { /* if the salt bit is set */ - if (m_getbit(0, sflag) != 0) { /* if the first bit is set */ - *salt_size = m_setbit(0, sflag, 0); -+ if (*salt_size > sizeof(tmp_buf)) -+ err_quit(_("Salt is too long\n")); - if (*salt_size > 0) { - fread(tmp_buf, 1, *salt_size, - fstream); --- -1.7.8.6 - diff --git a/buildroot-2021.05/package/mcrypt/0002-CVE-2012-4426.patch b/buildroot-2021.05/package/mcrypt/0002-CVE-2012-4426.patch deleted file mode 100644 index 708d4a57..00000000 --- a/buildroot-2021.05/package/mcrypt/0002-CVE-2012-4426.patch +++ /dev/null @@ -1,35 +0,0 @@ -Patch taken from gentoo. - -Signed-off-by: Gustavo Zacarias - ---- a/src/errors.c -+++ b/src/errors.c -@@ -25,24 +25,24 @@ - - void err_quit(char *errmsg) - { -- fprintf(stderr, errmsg); -+ fprintf(stderr, "%s", errmsg); - exit(-1); - } - - void err_warn(char *errmsg) - { - if (quiet <= 1) -- fprintf(stderr, errmsg); -+ fprintf(stderr, "%s", errmsg); - } - - void err_info(char *errmsg) - { - if (quiet == 0) -- fprintf(stderr, errmsg); -+ fprintf(stderr, "%s", errmsg); - } - - void err_crit(char *errmsg) - { - if (quiet <= 2) -- fprintf(stderr, errmsg); -+ fprintf(stderr, "%s", errmsg); - } diff --git a/buildroot-2021.05/package/mcrypt/0003-CVE-2012-4527.patch b/buildroot-2021.05/package/mcrypt/0003-CVE-2012-4527.patch deleted file mode 100644 index a8cf6f44..00000000 --- a/buildroot-2021.05/package/mcrypt/0003-CVE-2012-4527.patch +++ /dev/null @@ -1,99 +0,0 @@ -Fix for CVE-2012-4527. -Authored by Attila Bogar and Jean-Michel Vourgère - -Signed-off-by: Gustavo Zacarias - -diff -Nura mcrypt-2.6.8.orig/src/mcrypt.c mcrypt-2.6.8/src/mcrypt.c ---- mcrypt-2.6.8.orig/src/mcrypt.c 2013-01-14 19:15:49.465925072 -0300 -+++ mcrypt-2.6.8/src/mcrypt.c 2013-01-14 19:28:13.711478000 -0300 -@@ -44,7 +44,9 @@ - static char rcsid[] = - "$Id: mcrypt.c,v 1.2 2007/11/07 17:10:21 nmav Exp $"; - --char tmperr[128]; -+/* Temporary error message can contain one file name and 1k of text */ -+#define ERRWIDTH ((PATH_MAX)+1024) -+char tmperr[ERRWIDTH]; - unsigned int stream_flag = FALSE; - char *keymode = NULL; - char *mode = NULL; -@@ -482,7 +484,7 @@ - #ifdef HAVE_STAT - if (stream_flag == FALSE) { - if (is_normal_file(file[i]) == FALSE) { -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("%s: %s is not a regular file. Skipping...\n"), - program_name, file[i]); -@@ -501,7 +503,7 @@ - dinfile = file[i]; - if ((isatty(fileno((FILE *) (stdin))) == 1) - && (stream_flag == TRUE) && (force == 0)) { /* not a tty */ -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("%s: Encrypted data will not be read from a terminal.\n"), - program_name); -@@ -520,7 +522,7 @@ - einfile = file[i]; - if ((isatty(fileno((FILE *) (stdout))) == 1) - && (stream_flag == TRUE) && (force == 0)) { /* not a tty */ -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("%s: Encrypted data will not be written to a terminal.\n"), - program_name); -@@ -544,7 +546,7 @@ - strcpy(outfile, einfile); - /* if file has already the .nc ignore it */ - if (strstr(outfile, ".nc") != NULL) { -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("%s: file %s has the .nc suffix... skipping...\n"), - program_name, outfile); -@@ -590,10 +592,10 @@ - - if (x == 0) { - if (stream_flag == FALSE) { -- sprintf(tmperr, _("File %s was decrypted.\n"), dinfile); -+ snprintf(tmperr, ERRWIDTH, _("File %s was decrypted.\n"), dinfile); - err_warn(tmperr); - } else { -- sprintf(tmperr, _("Stdin was decrypted.\n")); -+ snprintf(tmperr, ERRWIDTH, _("Stdin was decrypted.\n")); - err_warn(tmperr); - } - #ifdef HAVE_STAT -@@ -610,7 +612,7 @@ - - } else { - if (stream_flag == FALSE) { -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("File %s was NOT decrypted successfully.\n"), - dinfile); -@@ -636,10 +638,10 @@ - - if (x == 0) { - if (stream_flag == FALSE) { -- sprintf(tmperr, _("File %s was encrypted.\n"), einfile); -+ snprintf(tmperr, ERRWIDTH, _("File %s was encrypted.\n"), einfile); - err_warn(tmperr); - } else { -- sprintf(tmperr, _("Stdin was encrypted.\n")); -+ snprintf(tmperr, ERRWIDTH, _("Stdin was encrypted.\n")); - err_warn(tmperr); - } - #ifdef HAVE_STAT -@@ -655,7 +657,7 @@ - - } else { - if (stream_flag == FALSE) { -- sprintf(tmperr, -+ snprintf(tmperr, ERRWIDTH, - _ - ("File %s was NOT encrypted successfully.\n"), - einfile); diff --git a/buildroot-2021.05/package/mcrypt/0004-no-rpath.patch b/buildroot-2021.05/package/mcrypt/0004-no-rpath.patch deleted file mode 100644 index a0813bcf..00000000 --- a/buildroot-2021.05/package/mcrypt/0004-no-rpath.patch +++ /dev/null @@ -1,17 +0,0 @@ -Patch out rpath hardcoding since it completely ignores --disable-rpath -and other configure ways. - -Signed-off-by: Gustavo Zacarias - -diff -Nura mcrypt-2.6.8.orig/config.rpath mcrypt-2.6.8/config.rpath ---- mcrypt-2.6.8.orig/config.rpath 2013-01-07 13:05:22.626883480 -0300 -+++ mcrypt-2.6.8/config.rpath 2013-01-07 13:12:47.196090608 -0300 -@@ -153,7 +153,7 @@ - # here allows them to be overridden if necessary. - # Unlike libtool, we use -rpath here, not --rpath, since the documented - # option of GNU ld is called -rpath, not --rpath. -- hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' -+ hardcode_libdir_flag_spec= - case "$host_os" in - aix3* | aix4* | aix5*) - # On AIX/PPC, the GNU linker is very broken diff --git a/buildroot-2021.05/package/mcrypt/Config.in b/buildroot-2021.05/package/mcrypt/Config.in deleted file mode 100644 index e3b9541f..00000000 --- a/buildroot-2021.05/package/mcrypt/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_MCRYPT - bool "mcrypt" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LIBMCRYPT - select BR2_PACKAGE_LIBMHASH - help - MCrypt is a replacement for the old crypt() package and - crypt(1) command, with extensions. - It allows developers to use a wide range of encryption - functions, without making drastic changes to their code. - - http://mcrypt.sourceforge.net/ diff --git a/buildroot-2021.05/package/mcrypt/mcrypt.hash b/buildroot-2021.05/package/mcrypt/mcrypt.hash deleted file mode 100644 index c6c8871f..00000000 --- a/buildroot-2021.05/package/mcrypt/mcrypt.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 5145aa844e54cca89ddab6fb7dd9e5952811d8d787c4f4bf27eb261e6c182098 mcrypt-2.6.8.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/mcrypt/mcrypt.mk b/buildroot-2021.05/package/mcrypt/mcrypt.mk deleted file mode 100644 index a04b9737..00000000 --- a/buildroot-2021.05/package/mcrypt/mcrypt.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# mcrypt -# -################################################################################ - -MCRYPT_VERSION = 2.6.8 -MCRYPT_SITE = http://downloads.sourceforge.net/project/mcrypt/MCrypt/$(MCRYPT_VERSION) -MCRYPT_DEPENDENCIES = libmcrypt libmhash \ - $(if $(BR2_PACKAGE_ZLIB),zlib) \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ - $(TARGET_NLS_DEPENDENCIES) -MCRYPT_CONF_OPTS = --with-libmcrypt-prefix=$(STAGING_DIR)/usr -MCRYPT_LICENSE = GPL-3.0 -MCRYPT_LICENSE_FILES = COPYING - -# 0001-CVE-2012-4409.patch -MCRYPT_IGNORE_CVES += CVE-2012-4409 -# 0002-CVE-2012-4426.patch -MCRYPT_IGNORE_CVES += CVE-2012-4426 -# 0003-CVE-2012-4527.patch -MCRYPT_IGNORE_CVES += CVE-2012-4527 - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mdadm/0001-add-install-targets-for-mdadm-and-mdmon.patch b/buildroot-2021.05/package/mdadm/0001-add-install-targets-for-mdadm-and-mdmon.patch deleted file mode 100644 index 15df7557..00000000 --- a/buildroot-2021.05/package/mdadm/0001-add-install-targets-for-mdadm-and-mdmon.patch +++ /dev/null @@ -1,32 +0,0 @@ -From a1a9243671b1e23123f57e879890325154b8e00d Mon Sep 17 00:00:00 2001 -From: Christophe Vu-Brugier -Date: Wed, 6 Mar 2013 16:03:14 +0100 -Subject: [PATCH] Add install targets for mdadm and mdmon - - -Signed-off-by: Christophe Vu-Brugier ---- - Makefile | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 315455b..27d8eeb 100644 ---- a/Makefile -+++ b/Makefile -@@ -231,8 +231,12 @@ $(MON_OBJS) : $(INCL) mdmon.h - sha1.o : sha1.c sha1.h md5.h - $(CC) $(CFLAGS) -DHAVE_STDINT_H -o sha1.o -c sha1.c - --install : mdadm mdmon install-man install-udev -+install : install-mdadm install-mdmon install-man install-udev -+ -+install-mdadm : - $(INSTALL) -D $(STRIP) -m 755 mdadm $(DESTDIR)$(BINDIR)/mdadm -+ -+install-mdmon : - $(INSTALL) -D $(STRIP) -m 755 mdmon $(DESTDIR)$(BINDIR)/mdmon - - install-static : mdadm.static install-man --- -1.7.10.4 - diff --git a/buildroot-2021.05/package/mdadm/0002-mdadm.h-include-sysmacros.h-unconditionally.patch b/buildroot-2021.05/package/mdadm/0002-mdadm.h-include-sysmacros.h-unconditionally.patch deleted file mode 100644 index c8944c84..00000000 --- a/buildroot-2021.05/package/mdadm/0002-mdadm.h-include-sysmacros.h-unconditionally.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 6c781ad75d92c6f65832810c44afcba1b2dffc41 Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Tue, 6 Aug 2019 16:01:15 +0300 -Subject: [PATCH] mdadm.h: include sysmacros.h unconditionally - -musl libc now also requires sys/sysmacros.h for the major/minor macros. -All supported libc implementations carry sys/sysmacros.h, including -diet-libc, klibc, and uclibc-ng. - -Cc: Hauke Mehrtens -Signed-off-by: Baruch Siach ---- -Upstream status: https://marc.info/?l=linux-raid&m=156509677018508 - - mdadm.h | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/mdadm.h b/mdadm.h -index c36d7fdb10f6..d61a9ca82dc1 100644 ---- a/mdadm.h -+++ b/mdadm.h -@@ -45,10 +45,8 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence)); - #include - #include - #include --#ifdef __GLIBC__ - /* Newer glibc requires sys/sysmacros.h directly for makedev() */ - #include --#endif - #ifdef __dietlibc__ - #include - /* dietlibc has deprecated random and srandom!! */ --- -2.20.1 - diff --git a/buildroot-2021.05/package/mdadm/mdadm.hash b/buildroot-2021.05/package/mdadm/mdadm.hash deleted file mode 100644 index b15cb4e0..00000000 --- a/buildroot-2021.05/package/mdadm/mdadm.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/linux/utils/raid/mdadm/sha256sums.asc -sha256 ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1934f4a mdadm-4.1.tar.xz -# Locally calculated -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/mdadm/mdadm.mk b/buildroot-2021.05/package/mdadm/mdadm.mk deleted file mode 100644 index 17178271..00000000 --- a/buildroot-2021.05/package/mdadm/mdadm.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# mdadm -# -################################################################################ - -MDADM_VERSION = 4.1 -MDADM_SOURCE = mdadm-$(MDADM_VERSION).tar.xz -MDADM_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/raid/mdadm -MDADM_LICENSE = GPL-2.0+ -MDADM_LICENSE_FILES = COPYING - -MDADM_BUILD_OPTS = $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -DNO_COROSYNC -DNO_DLM" \ - CPPFLAGS="$(TARGET_CPPFLAGS) -DBINDIR=\\\"/sbin\\\"" \ - CHECK_RUN_DIR=0 - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) -MDADM_BUILD_OPTS += USE_PTHREADS= -endif - -define MDADM_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(MDADM_BUILD_OPTS) mdadm mdmon -endef - -define MDADM_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - DESTDIR=$(TARGET_DIR) \ - install-mdadm install-mdmon -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/memcached/memcached.hash b/buildroot-2021.05/package/memcached/memcached.hash deleted file mode 100644 index a86a6f9f..00000000 --- a/buildroot-2021.05/package/memcached/memcached.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From http://www.memcached.org/files/memcached-1.6.9.tar.gz.sha1 -sha1 42ae062094fdf083cfe7b21ff377c781011c2be1 memcached-1.6.9.tar.gz - -# Locally computed -sha256 d5a62ce377314dbffdb37c4467e7763e3abae376a16171e613cbe69956f092d1 memcached-1.6.9.tar.gz -sha256 bc887c4ad8051fe690ace9528fe37a2e0bb362e6d963331d82e845ca9b585a0c COPYING diff --git a/buildroot-2021.05/package/memcached/memcached.mk b/buildroot-2021.05/package/memcached/memcached.mk deleted file mode 100644 index 1c695411..00000000 --- a/buildroot-2021.05/package/memcached/memcached.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# memcached -# -################################################################################ - -MEMCACHED_VERSION = 1.6.9 -MEMCACHED_SITE = http://www.memcached.org/files -MEMCACHED_DEPENDENCIES = libevent -MEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' -MEMCACHED_CONF_OPTS = --disable-coverage -MEMCACHED_LICENSE = BSD-3-Clause -MEMCACHED_LICENSE_FILES = COPYING -MEMCACHED_CPE_ID_VENDOR = memcached - -ifeq ($(BR2_ENDIAN),"BIG") -MEMCACHED_CONF_ENV += ac_cv_c_endian=big -else -MEMCACHED_CONF_ENV += ac_cv_c_endian=little -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mender-artifact/mender-artifact.hash b/buildroot-2021.05/package/mender-artifact/mender-artifact.hash deleted file mode 100644 index 175865bb..00000000 --- a/buildroot-2021.05/package/mender-artifact/mender-artifact.hash +++ /dev/null @@ -1,37 +0,0 @@ -# Locally computed: -sha256 8f5b69a6598dc071e6a0f2102dbd38a003e7db6be5794116d701531d6a740a46 mender-artifact-3.5.1.tar.gz -sha256 0afbd1092d57f70da125041350363c3761802e807be80c7f1dfc005fea962b25 LIC_FILES_CHKSUM.sha256 - -# License hash extracted from LIC_FILES_CHKSUM.sha256 using the -# following command: -# -# sed '/^[A-Za-z0-9_]/s/^/sha256 /' LIC_FILES_CHKSUM.sha256 - -# Apache 2.0 licenses. -sha256 b4acfcfa2a0ba1a8c82ec3965fbcee886cff8394ca4214e0ddac0a36beb1e05a LICENSE -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 vendor/github.com/minio/sha256-simd/LICENSE -sha256 f4a394d9345ba64dd2796dc552c31af99c4b686a46c0eeda6538038732f771a9 vendor/github.com/mendersoftware/progressbar/LICENSE -# -# BSD 2 Clause licenses. -sha256 8d427fd87bc9579ea368fde3d49f9ca22eac857f91a9dec7e3004bdfab7dee86 vendor/github.com/pkg/errors/LICENSE -# -# BSD 3 Clause licenses. -sha256 2eb550be6801c1ea434feba53bf6d12e7c71c90253e0a9de4a4f46cf88b56477 vendor/github.com/pmezard/go-difflib/LICENSE -sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/sys/LICENSE -sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/crypto/LICENSE -sha256 a284e538f3e5649ae6a8f32da2bbd18e9daabf2c1ebbfb99ed92e797b159be1a vendor/github.com/remyoudompheng/go-liblzma/LICENSE -sha256 16f848582e4b276a7392cd34496b7a33d6f65c0e190c163ff3a056a7c61219ce vendor/github.com/klauspost/compress/LICENSE -sha256 75e1ca97a84a9da6051dee0114333388216f2c4a5a028296b882ff3d57274735 vendor/github.com/russross/blackfriday/v2/LICENSE.txt -# -# ISC licenses. -sha256 1b93a317849ee09d3d7e4f1d20c2b78ddb230b4becb12d7c224c927b9d470251 vendor/github.com/davecgh/go-spew/LICENSE -# -# MIT licenses. -sha256 f8e536c1c7b695810427095dc85f5f80d44ff7c10535e8a9486cf393e2599189 vendor/github.com/stretchr/testify/LICENSE -sha256 da277af11b85227490377fbcac6afccc68be560c4fff36ac05ca62de55345fd7 vendor/github.com/urfave/cli/LICENSE -sha256 51a0c9ec7f8b7634181b8d4c03e5b5d204ac21d6e72f46c313973424664b2e6b vendor/github.com/sirupsen/logrus/LICENSE -sha256 6d2de1cde19c4d2bd8bcd9aaa1d581f4cfa3db9cf71896140330eaa2f2687685 vendor/github.com/klauspost/pgzip/LICENSE -sha256 a55959c4e3e8917bfa857359bb641115336276a6cc97408fd8197e079fb18470 vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md -sha256 c8024e31c1de453fea90f22a221968835cc7af9d520274a2576c9ec9976055b0 vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE -sha256 d18f6323b71b0b768bb5e9616e36da390fbd39369a81807cca352de4e4e6aa0b vendor/gopkg.in/yaml.v3/LICENSE -sha256 08eab1118c80885fa1fa6a6dd7303f65a379fcb3733e063d20d1bbc2c76e6fa1 vendor/github.com/mattn/go-isatty/LICENSE diff --git a/buildroot-2021.05/package/mender-artifact/mender-artifact.mk b/buildroot-2021.05/package/mender-artifact/mender-artifact.mk deleted file mode 100644 index 8a77e67b..00000000 --- a/buildroot-2021.05/package/mender-artifact/mender-artifact.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# host-mender-artifact -# -################################################################################ - -HOST_MENDER_ARTIFACT_VERSION = 3.5.1 -HOST_MENDER_ARTIFACT_SITE = $(call github,mendersoftware,mender-artifact,$(HOST_MENDER_ARTIFACT_VERSION)) -HOST_MENDER_ARTIFACT_LICENSE = Apache2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT -HOST_MENDER_ARTIFACT_LICENSE_FILES = \ - LICENSE \ - LIC_FILES_CHKSUM.sha256 \ - vendor/github.com/minio/sha256-simd/LICENSE \ - vendor/github.com/mendersoftware/progressbar/LICENSE \ - vendor/github.com/pkg/errors/LICENSE \ - vendor/github.com/pmezard/go-difflib/LICENSE \ - vendor/golang.org/x/sys/LICENSE \ - vendor/golang.org/x/crypto/LICENSE \ - vendor/github.com/remyoudompheng/go-liblzma/LICENSE \ - vendor/github.com/klauspost/compress/LICENSE \ - vendor/github.com/russross/blackfriday/v2/LICENSE.txt \ - vendor/github.com/davecgh/go-spew/LICENSE \ - vendor/github.com/stretchr/testify/LICENSE \ - vendor/github.com/urfave/cli/LICENSE \ - vendor/github.com/sirupsen/logrus/LICENSE \ - vendor/github.com/klauspost/pgzip/LICENSE \ - vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md \ - vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE \ - vendor/gopkg.in/yaml.v3/LICENSE \ - vendor/github.com/mattn/go-isatty/LICENSE - -HOST_MENDER_ARTIFACT_DEPENDENCIES = host-xz - -# By default, go will attempt to download needed modules before building, which -# is not desirable. This behavior also causes permission issues when cleaning, -# as go downloads modules as read-only by default. Because mender-artifact -# includes the modules in the vendor directory, mod=vendor prevents the package -# from downloading the go modules during the build process and prevents -# permission issues when cleaning. -HOST_MENDER_ARTIFACT_GO_ENV = GOFLAGS="-mod=vendor" - -HOST_MENDER_ARTIFACT_LDFLAGS = -X main.Version=$(HOST_MENDER_ARTIFACT_VERSION) - -HOST_MENDER_ARTIFACT_BUILD_TARGETS = cli/mender-artifact - -HOST_MENDER_ARTIFACT_BIN_NAME = mender-artifact -HOST_MENDER_ARTIFACT_INSTALL_BINS = $(HOST_MENDER_ARTIFACT_BIN_NAME) - -$(eval $(host-golang-package)) diff --git a/buildroot-2021.05/package/mender-grubenv/Config.in b/buildroot-2021.05/package/mender-grubenv/Config.in deleted file mode 100644 index 28b4bb70..00000000 --- a/buildroot-2021.05/package/mender-grubenv/Config.in +++ /dev/null @@ -1,43 +0,0 @@ -config BR2_PACKAGE_MENDER_GRUBENV - bool "mender-grubenv" - depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS - depends on BR2_PACKAGE_MENDER # runtime - # grubenv provides it's own fw_printenv. - depends on !BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV - depends on BR2_TARGET_GRUB2 - help - Contains the boot scripts and tools used by Mender to - integrate with the GRUB bootloader. - - The following Grub modules must be selected for this package: - loadenv hashsum echo halt gcry_sha256 test - - https://github.com/mendersoftware/grub-mender-grubenv - -if BR2_PACKAGE_MENDER_GRUBENV - -config BR2_PACKAGE_MENDER_GRUBENV_DEFINES - string "path to grubenv defines" - help - Specify a path to the mender grubenv defines file. - If no path is specified, the example file in the source - directory will be used. - - The example file in the source directory sets the following: - mender_rootfsa_part=2 - mender_rootfsb_part=3 - mender_kernel_root_base=/dev/mmcblk0p - mender_grub_storage_device=hd0 - kernel_imagetype=bzImage - -endif - -comment "mender-grubenv needs a grub2 bootloader" - depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS - depends on BR2_PACKAGE_MENDER - depends on !BR2_TARGET_GRUB2 - -comment "mender-grubenv does not work with uboot-tools fw_printenv" - depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS - depends on BR2_PACKAGE_MENDER - depends on BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV diff --git a/buildroot-2021.05/package/mender-grubenv/mender-grubenv.hash b/buildroot-2021.05/package/mender-grubenv/mender-grubenv.hash deleted file mode 100644 index b6b9db72..00000000 --- a/buildroot-2021.05/package/mender-grubenv/mender-grubenv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 5be4222a6934813da431ae472a633e766b73f4614020745b777c15c65bcfd032 mender-grubenv-f39c2c7ec7c9c24aae0108a9b04a0e6e61a3e96b.tar.gz -sha256 32714818ad6f98ee0185a52e23a475d89122e3efd2b2c26c733781c28e798c99 LICENSE diff --git a/buildroot-2021.05/package/mender-grubenv/mender-grubenv.mk b/buildroot-2021.05/package/mender-grubenv/mender-grubenv.mk deleted file mode 100644 index f06dbbe3..00000000 --- a/buildroot-2021.05/package/mender-grubenv/mender-grubenv.mk +++ /dev/null @@ -1,74 +0,0 @@ -################################################################################ -# -# mender-grubenv -# -################################################################################ - -MENDER_GRUBENV_VERSION = f39c2c7ec7c9c24aae0108a9b04a0e6e61a3e96b -MENDER_GRUBENV_SITE = $(call github,mendersoftware,grub-mender-grubenv,$(MENDER_GRUBENV_VERSION)) -MENDER_GRUBENV_LICENSE = Apache-2.0 -MENDER_GRUBENV_LICENSE_FILES = LICENSE -# Grub2 must be built first so this package can overwrite the config files -# provided by grub. -MENDER_GRUBENV_DEPENDENCIES = grub2 -MENDER_GRUBENV_INSTALL_IMAGES = YES - -ifeq ($(BR2_TARGET_GRUB2_I386_PC)$(BR2_TARGET_GRUB2_ARM_UBOOT),y) -MENDER_GRUBENV_ENV_DIR = /boot/grub -else -MENDER_GRUBENV_ENV_DIR = /boot/EFI/BOOT -endif - -MENDER_GRUBENV_MAKE_ENV = \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_MAKE_ENV) \ - ENV_DIR=$(MENDER_GRUBENV_ENV_DIR) - -MENDER_GRUBENV_DEFINES = \ - $(or $(call qstrip,$(BR2_PACKAGE_MENDER_GRUBENV_DEFINES)),\ - $(@D)/mender_grubenv_defines.example) - -# These grub modules must be built in for the grub scripts to work properly. -# Without them, the system will not boot. -MENDER_GRUBENV_MANDATORY_MODULES=loadenv hashsum echo halt gcry_sha256 test regexp -MENDER_GRUBENV_MODULES_MISSING = \ - $(filter-out $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_MODULES)),\ - $(MENDER_GRUBENV_MANDATORY_MODULES)) - -ifeq ($(BR2_PACKAGE_MENDER_GRUBENV)$(BR_BUILDING),yy) -ifneq ($(MENDER_GRUBENV_MODULES_MISSING),) -$(error The following missing grub2 modules must be enabled for mender-grubenv \ - to work: $(MENDER_GRUBENV_MODULES_MISSING)) -endif -endif - -define MENDER_GRUBENV_CONFIGURE_CMDS - $(INSTALL) -m 0644 $(MENDER_GRUBENV_DEFINES) $(@D)/mender_grubenv_defines -endef - -define MENDER_GRUBENV_BUILD_CMDS - $(MENDER_GRUBENV_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define MENDER_GRUBENV_INSTALL_TARGET_CMDS - $(MENDER_GRUBENV_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install -endef - -# Overwrite the default grub2 config files with the ones in this package. -ifeq ($(BR2_TARGET_GRUB2_I386_PC)$(BR2_TARGET_GRUB2_ARM_UBOOT),y) -define MENDER_GRUBENV_INSTALL_IMAGES_CMDS - mkdir -p $(BINARIES_DIR)/boot-part/grub - cp -dpfr $(TARGET_DIR)/boot/grub/grub.cfg \ - $(TARGET_DIR)/boot/grub/mender_grubenv* \ - $(BINARIES_DIR)/boot-part/grub -endef -else -define MENDER_GRUBENV_INSTALL_IMAGES_CMDS - mkdir -p $(BINARIES_DIR)/efi-part/EFI/BOOT - cp -dpfr $(TARGET_DIR)/boot/EFI/BOOT/grub.cfg \ - $(TARGET_DIR)/boot/EFI/BOOT/mender_grubenv* \ - $(BINARIES_DIR)/efi-part/EFI/BOOT -endef -endif - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mender/Config.in b/buildroot-2021.05/package/mender/Config.in deleted file mode 100644 index 5ac8bb16..00000000 --- a/buildroot-2021.05/package/mender/Config.in +++ /dev/null @@ -1,40 +0,0 @@ -config BR2_PACKAGE_MENDER - bool "mender" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_OPENSSL - help - Mender is an open source over-the-air (OTA) software updater - for embedded Linux devices. Mender comprises a client - running at the embedded device, as well as a server that - manages deployments across many devices. - - Notes: - For systems using uboot as the bootloader: - - uboot must have the mender uboot patches applied. - - uboot-tools must be selected. - - fw_printenv must be functional on the device. - The Mender Uboot patches are at: - https://github.com/mendersoftware/meta-mender/ - - For more information on Manual U-Boot integration, see: - https://docs.mender.io/2.6/system-updates-yocto-project/board-integration/bootloader-support/u-boot/manual-u-boot-integration - - For systems using Grub2 as the bootloader: - - Mender depends on the mender-grubenv package. - - The mender-grubenv package provides a fw_printenv script, - which is not compatible with the uboot-tools fw_printenv - script. - - The mender project recommends using uboot to load Grub2 as a - secondary bootloader whenever possible. Using Grub2 as a - secondary bootloader prevents users from porting the patches - for uboot to each new device. - - https://github.com/mendersoftware/mender - -comment "mender needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/mender/S42mender b/buildroot-2021.05/package/mender/S42mender deleted file mode 100644 index 108fecfe..00000000 --- a/buildroot-2021.05/package/mender/S42mender +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh -# -# Starts mender service. -# - -start() { - # If /var/lib/mender is a symlink to /var/run/mender, and - # - the filesystem is RO (i.e. we can not rm the symlink), - # create the directory pointed to by the symlink. - # - the filesystem is RW (i.e. we can rm the symlink), - # replace the symlink with an actual directory - if [ -L /var/lib/mender \ - -a "$(readlink /var/lib/mender)" = "/var/run/mender" ] - then - if rm -f /var/lib/mender >/dev/null 2>&1; then - mkdir -p /var/lib/mender - else - echo "No persistent location to store mender data. Data will be lost" - echo "at reboot. Are you sure this is what you want to do?" - mkdir -p "$(readlink /var/lib/mender)" - fi - fi - - printf "Starting mender service: " - umask 077 - - start-stop-daemon -S -q -b -m -p /var/run/mender.pid \ - --exec /usr/bin/mender -- -daemon - [ $? = 0 ] && echo "OK" || echo "FAIL" -} -stop() { - printf "Stopping mender service: " - start-stop-daemon -K -q -p /var/run/mender.pid - [ $? = 0 ] && echo "OK" || echo "FAIL" -} -restart() { - stop - start -} - -case "$1" in - start) - start - ;; - stop) - stop - ;; - restart|reload) - restart - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? diff --git a/buildroot-2021.05/package/mender/mender-client.service b/buildroot-2021.05/package/mender/mender-client.service deleted file mode 100644 index 2a5f476e..00000000 --- a/buildroot-2021.05/package/mender/mender-client.service +++ /dev/null @@ -1,24 +0,0 @@ -[Unit] -Description=Mender OTA update service -After=systemd-resolved.service - -[Service] -Type=idle -User=root -Group=root -ExecStartPre=/bin/sh -c '\ -if [ -L /var/lib/mender \ - -a "$(readlink /var/lib/mender)" = "/var/run/mender" ]; then \ - if rm -f /var/lib/mender >/dev/null 2>&1; then \ - mkdir -p /var/lib/mender; \ - else \ - echo "No persistent location to store mender data. Data will be lost" \ - echo "at reboot. Are you sure this is what you want to do?"; \ - mkdir -p "$(readlink /var/lib/mender)"; \ - fi; \ -fi' -ExecStart=/usr/bin/mender -daemon -Restart=on-abort - -[Install] -WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/mender/mender.hash b/buildroot-2021.05/package/mender/mender.hash deleted file mode 100644 index c2bbbe5f..00000000 --- a/buildroot-2021.05/package/mender/mender.hash +++ /dev/null @@ -1,44 +0,0 @@ -# Locally computed: -sha256 d68839eb493175a05371eec8e6ec8691ccc22c999614b9954923a0b5ebe56840 2.6.0.tar.gz - -# Vendor licenses -# Generated with sed '/^[A-Za-z0-9_]/s/^/sha256 /' LIC_FILES_CHKSUM.sha256 - -# Apache-2.0 license. -sha256 b4acfcfa2a0ba1a8c82ec3965fbcee886cff8394ca4214e0ddac0a36beb1e05a LICENSE -sha256 32714818ad6f98ee0185a52e23a475d89122e3efd2b2c26c733781c28e798c99 vendor/github.com/mendersoftware/mender-artifact/LICENSE -sha256 73ba74dfaa520b49a401b5d21459a8523a146f3b7518a833eea5efa85130bf68 vendor/github.com/mendersoftware/openssl/LICENSE -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 vendor/github.com/minio/sha256-simd/LICENSE -sha256 8f5d89b47d7a05a199b77b7e0f362dad391d451ebda4ef48ba11c50c071564c7 vendor/github.com/mendersoftware/progressbar/LICENSE -# -# BSD 2 Clause license. -sha256 8d427fd87bc9579ea368fde3d49f9ca22eac857f91a9dec7e3004bdfab7dee86 vendor/github.com/pkg/errors/LICENSE -sha256 e4646a82a976369d7ae8f6ed5c11d35dc0af18433a8ccc24c85b459ad8b95128 vendor/github.com/godbus/dbus/LICENSE -# -# BSD 3 Clause license. -sha256 16f848582e4b276a7392cd34496b7a33d6f65c0e190c163ff3a056a7c61219ce vendor/github.com/klauspost/compress/LICENSE -sha256 2eb550be6801c1ea434feba53bf6d12e7c71c90253e0a9de4a4f46cf88b56477 vendor/github.com/pmezard/go-difflib/LICENSE -sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/crypto/LICENSE -sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/sys/LICENSE -sha256 0634b008cee55ca01f0888d2f5aba2d34e66c3f52c31a4e16a5d5d33d0c2a03e vendor/github.com/bmatsuo/lmdb-go/LICENSE.md -sha256 87640bc4df2ceb1559f268a3db1ba859ab780f7ba5b1b4545173d4680a3d918b vendor/github.com/remyoudompheng/go-liblzma/LICENSE -# -# ISC license. -sha256 1b93a317849ee09d3d7e4f1d20c2b78ddb230b4becb12d7c224c927b9d470251 vendor/github.com/davecgh/go-spew/LICENSE -# -# MIT license. -sha256 6d2de1cde19c4d2bd8bcd9aaa1d581f4cfa3db9cf71896140330eaa2f2687685 vendor/github.com/klauspost/pgzip/LICENSE -sha256 51a0c9ec7f8b7634181b8d4c03e5b5d204ac21d6e72f46c313973424664b2e6b vendor/github.com/sirupsen/logrus/LICENSE -sha256 f8e536c1c7b695810427095dc85f5f80d44ff7c10535e8a9486cf393e2599189 vendor/github.com/stretchr/testify/LICENSE -sha256 ffa15bdce332058a03a1d923910864fb6e58bf6df66a0e3914284725b327183e vendor/github.com/ungerik/go-sysfs/LICENSE -sha256 da277af11b85227490377fbcac6afccc68be560c4fff36ac05ca62de55345fd7 vendor/github.com/urfave/cli/v2/LICENSE -sha256 b2663894033a05fd80261176cd8da1d72546e25842d5c1abcc852ca23b6b61b0 vendor/github.com/stretchr/objx/LICENSE -sha256 95b8ef9c4137a8f75ddd3101ffdc4cfd594fa875b261697b68baddc16b0e537c vendor/github.com/konsorten/go-windows-terminal-sequences/LICENSE -sha256 d18f6323b71b0b768bb5e9616e36da390fbd39369a81807cca352de4e4e6aa0b vendor/gopkg.in/yaml.v3/LICENSE -sha256 08eab1118c80885fa1fa6a6dd7303f65a379fcb3733e063d20d1bbc2c76e6fa1 vendor/github.com/mattn/go-isatty/LICENSE -# -# OpenLDAP Public License -sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 vendor/github.com/bmatsuo/lmdb-go/LICENSE.mdb.md - -# sha256 of all the vendor licenses combined -sha256 4f3541ea69b9b6e3959679576c146b42ba9a840a9dc4e593bff43e5e3a313d24 LIC_FILES_CHKSUM.sha256 diff --git a/buildroot-2021.05/package/mender/mender.mk b/buildroot-2021.05/package/mender/mender.mk deleted file mode 100644 index a110caf5..00000000 --- a/buildroot-2021.05/package/mender/mender.mk +++ /dev/null @@ -1,111 +0,0 @@ -################################################################################ -# -# mender -# -################################################################################ - -MENDER_VERSION = 2.6.0 -MENDER_SITE = https://github.com/mendersoftware/mender/archive -MENDER_SOURCE = $(MENDER_VERSION).tar.gz -MENDER_LICENSE = Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT, OLDAP-2.8 - -# Vendor license paths generated with: -# awk '{print $2}' LIC_FILES_CHKSUM.sha256 | grep vendor -MENDER_LICENSE_FILES = \ - LICENSE \ - LIC_FILES_CHKSUM.sha256 \ - vendor/github.com/mendersoftware/mender-artifact/LICENSE \ - vendor/github.com/mendersoftware/openssl/LICENSE \ - vendor/github.com/minio/sha256-simd/LICENSE \ - vendor/github.com/mendersoftware/progressbar/LICENSE \ - vendor/github.com/pkg/errors/LICENSE \ - vendor/github.com/godbus/dbus/LICENSE \ - vendor/github.com/klauspost/compress/LICENSE \ - vendor/github.com/pmezard/go-difflib/LICENSE \ - vendor/golang.org/x/crypto/LICENSE \ - vendor/golang.org/x/sys/LICENSE \ - vendor/github.com/bmatsuo/lmdb-go/LICENSE.md \ - vendor/github.com/remyoudompheng/go-liblzma/LICENSE \ - vendor/github.com/davecgh/go-spew/LICENSE \ - vendor/github.com/klauspost/pgzip/LICENSE \ - vendor/github.com/sirupsen/logrus/LICENSE \ - vendor/github.com/stretchr/testify/LICENSE \ - vendor/github.com/ungerik/go-sysfs/LICENSE \ - vendor/github.com/urfave/cli/v2/LICENSE \ - vendor/github.com/stretchr/objx/LICENSE \ - vendor/github.com/konsorten/go-windows-terminal-sequences/LICENSE \ - vendor/gopkg.in/yaml.v3/LICENSE \ - vendor/github.com/mattn/go-isatty/LICENSE \ - vendor/github.com/bmatsuo/lmdb-go/LICENSE.mdb.md - -MENDER_DEPENDENCIES = host-pkgconf openssl - -MENDER_LDFLAGS = -X github.com/mendersoftware/mender/conf.Version=$(MENDER_VERSION) - -MENDER_UPDATE_MODULES_FILES = \ - directory \ - script \ - single-file \ - $(if $(BR2_PACKAGE_DOCKER_CLI),docker) \ - $(if $(BR2_PACKAGE_RPM),rpm) - -define MENDER_INSTALL_CONFIG_FILES - $(INSTALL) -d -m 755 $(TARGET_DIR)/etc/mender/scripts - echo -n "3" > $(TARGET_DIR)/etc/mender/scripts/version - - $(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/mender.conf \ - $(TARGET_DIR)/etc/mender/mender.conf - $(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/server.crt \ - $(TARGET_DIR)/etc/mender/server.crt - - $(INSTALL) -D -m 0755 $(@D)/support/mender-device-identity \ - $(TARGET_DIR)/usr/share/mender/identity/mender-device-identity - $(foreach f,hostinfo network os rootfs-type, \ - $(INSTALL) -D -m 0755 $(@D)/support/mender-inventory-$(f) \ - $(TARGET_DIR)/usr/share/mender/inventory/mender-inventory-$(f) - ) - - $(INSTALL) -D -m 0755 $(MENDER_PKGDIR)/artifact_info \ - $(TARGET_DIR)/etc/mender/artifact_info - - $(INSTALL) -D -m 0755 $(MENDER_PKGDIR)/device_type \ - $(TARGET_DIR)/etc/mender/device_type - - mkdir -p $(TARGET_DIR)/var/lib - ln -snf /var/run/mender $(TARGET_DIR)/var/lib/mender - $(foreach f,$(MENDER_UPDATE_MODULES_FILES), \ - $(INSTALL) -D -m 0755 $(@D)/support/modules/$(notdir $(f)) \ - $(TARGET_DIR)/usr/share/mender/modules/v3/$(notdir $(f)) - ) -endef - -MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_CONFIG_FILES - -ifeq ($(BR2_PACKAGE_XZ),y) -MENDER_DEPENDENCIES += xz -else -MENDER_TAGS += nolzma -endif - -ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBGLIB2),yy) -MENDER_DEPENDENCIES += libglib2 -define MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF - $(INSTALL) -D -m 0755 $(@D)/support/dbus/io.mender.AuthenticationManager.conf \ - $(TARGET_DIR)/etc/dbus-1/system.d/io.mender.AuthenticationManager.conf -endef -MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF -else -MENDER_TAGS += nodbus -endif - -define MENDER_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/mender-client.service \ - $(TARGET_DIR)/usr/lib/systemd/system/mender-client.service -endef - -define MENDER_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 $(MENDER_PKGDIR)/S42mender \ - $(TARGET_DIR)/etc/init.d/S42mender -endef - -$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/mesa3d-demos/mesa3d-demos.mk b/buildroot-2021.05/package/mesa3d-demos/mesa3d-demos.mk deleted file mode 100644 index 4289acff..00000000 --- a/buildroot-2021.05/package/mesa3d-demos/mesa3d-demos.mk +++ /dev/null @@ -1,80 +0,0 @@ -################################################################################ -# -# mesa3d-demos -# -################################################################################ - -MESA3D_DEMOS_VERSION = 8.4.0 -MESA3D_DEMOS_SOURCE = mesa-demos-$(MESA3D_DEMOS_VERSION).tar.bz2 -MESA3D_DEMOS_SITE = ftp://ftp.freedesktop.org/pub/mesa/demos -# 0001-demos-makes-opengl-an-optional-component.patch -MESA3D_DEMOS_AUTORECONF = YES -MESA3D_DEMOS_DEPENDENCIES = host-pkgconf -MESA3D_DEMOS_LICENSE = MIT - -MESA3D_DEMOS_CONF_OPTS += \ - --disable-gles1 - -ifeq ($(BR2_PACKAGE_XORG7)$(BR2_PACKAGE_HAS_LIBGL),yy) -MESA3D_DEMOS_DEPENDENCIES += libgl libglew libglu xlib_libX11 xlib_libXext -MESA3D_DEMOS_CONF_OPTS += --enable-gl --enable-x11 -else -MESA3D_DEMOS_CONF_OPTS += --disable-gl --disable-x11 -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y) -MESA3D_DEMOS_DEPENDENCIES += libegl -MESA3D_DEMOS_CONF_OPTS += --enable-egl -else -MESA3D_DEMOS_CONF_OPTS += --disable-egl -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) -MESA3D_DEMOS_DEPENDENCIES += libgles -MESA3D_DEMOS_CONF_OPTS += --enable-gles2 -else -MESA3D_DEMOS_CONF_OPTS += --disable-gles2 -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBOPENVG),y) -MESA3D_DEMOS_DEPENDENCIES += libopenvg -MESA3D_DEMOS_CONF_OPTS += --enable-vg -else -MESA3D_DEMOS_CONF_OPTS += --disable-vg -endif - -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y) -MESA3D_DEMOS_DEPENDENCIES += mesa3d -MESA3D_DEMOS_CONF_OPTS += --enable-gbm -else -MESA3D_DEMOS_CONF_OPTS += --disable-gbm -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -MESA3D_DEMOS_DEPENDENCIES += freetype -MESA3D_DEMOS_CONF_OPTS += --enable-freetype2 -else -MESA3D_DEMOS_CONF_OPTS += --disable-freetype2 -endif - -ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y) -MESA3D_DEMOS_DEPENDENCIES += libfreeglut -MESA3D_DEMOS_CONF_OPTS += --with-glut=$(STAGING_DIR)/usr -# osmesa support depends on glut -ifeq ($(BR2_PACKAGE_MESA3D_OSMESA_GALLIUM),y) -MESA3D_DEMOS_CONF_OPTS += --enable-osmesa -else -MESA3D_DEMOS_CONF_OPTS += --disable-osmesa -endif -else -MESA3D_DEMOS_CONF_OPTS += --without-glut --disable-osmesa -endif - -ifeq ($(BR2_PACKAGE_WAYLAND),y) -MESA3D_DEMOS_DEPENDENCIES += wayland -MESA3D_DEMOS_CONF_OPTS += --enable-wayland -else -MESA3D_DEMOS_CONF_OPTS += --disable-wayland -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mesa3d-headers/mesa3d-headers.mk b/buildroot-2021.05/package/mesa3d-headers/mesa3d-headers.mk deleted file mode 100644 index de245a46..00000000 --- a/buildroot-2021.05/package/mesa3d-headers/mesa3d-headers.mk +++ /dev/null @@ -1,77 +0,0 @@ -################################################################################ -# -# mesa3d-headers -# -################################################################################ - -# mesa3d-headers is inherently incompatible with mesa3d, so error out -# if both are enabled. -ifeq ($(BR2_PACKAGE_MESA3D)$(BR2_PACKAGE_MESA3D_HEADERS),yy) -$(error mesa3d-headers enabled, but mesa3d enabled too) -endif - -# Not possible to directly refer to mesa3d variables, because of -# first/second expansion trickery... -MESA3D_HEADERS_VERSION = 21.0.3 -MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz -MESA3D_HEADERS_SITE = https://mesa.freedesktop.org/archive -MESA3D_HEADERS_DL_SUBDIR = mesa3d -MESA3D_HEADERS_LICENSE = MIT, SGI, Khronos -MESA3D_HEADERS_LICENSE_FILES = docs/license.rst -MESA3D_HEADERS_CPE_ID_VENDOR = mesa3d -MESA3D_HEADERS_CPE_ID_PRODUCT = mesa - -# Only installs header files -MESA3D_HEADERS_INSTALL_STAGING = YES -MESA3D_HEADERS_INSTALL_TARGET = NO - -MESA3D_HEADERS_DIRS = KHR - -ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) - -MESA3D_HEADERS_DIRS += GL - -ifeq ($(BR2_PACKAGE_XORG7),y) - -# Not using $(SED) because we do not want to work in-place, and $(SED) -# contains -i. -define MESA3D_HEADERS_BUILD_DRI_PC - sed -e 's:@VERSION@:$(MESA3D_HEADERS_VERSION):' \ - package/mesa3d-headers/dri.pc \ - >$(@D)/src/mesa/drivers/dri/dri.pc -endef - -define MESA3D_HEADERS_INSTALL_DRI_PC - $(INSTALL) -D -m 0644 $(@D)/include/GL/internal/dri_interface.h \ - $(STAGING_DIR)/usr/include/GL/internal/dri_interface.h - $(INSTALL) -D -m 0644 $(@D)/src/mesa/drivers/dri/dri.pc \ - $(STAGING_DIR)/usr/lib/pkgconfig/dri.pc -endef - -endif # Xorg - -endif # OpenGL - -ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y) -MESA3D_HEADERS_DIRS += EGL -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) -MESA3D_HEADERS_DIRS += GLES GLES2 -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBOPENCL),y) -MESA3D_HEADERS_DIRS += CL -endif - -define MESA3D_HEADERS_BUILD_CMDS - $(MESA3D_HEADERS_BUILD_DRI_PC) -endef - -define MESA3D_HEADERS_INSTALL_STAGING_CMDS - $(foreach d,$(MESA3D_HEADERS_DIRS),\ - cp -dpfr $(@D)/include/$(d) $(STAGING_DIR)/usr/include/ || exit 1$(sep)) - $(MESA3D_HEADERS_INSTALL_DRI_PC) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mesa3d/0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch b/buildroot-2021.05/package/mesa3d/0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch deleted file mode 100644 index 39e40236..00000000 --- a/buildroot-2021.05/package/mesa3d/0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch +++ /dev/null @@ -1,84 +0,0 @@ -From e3b47c1b84964c62b3e1fa782f1ffa4be0ae62f9 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Mon, 9 Mar 2020 13:01:14 +0100 -Subject: [PATCH] vc4: add meson option to disable optional neon support - -Not all toolchains are able to compile the runtime -optional vc4 neon support, so add an meson option -to force disabling it at compile time. - -[Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4114] -Signed-off-by: Peter Seiderer -Signed-off-by: Bernd Kuhls -[rebased for 20.2.0 & 20.3.0] ---- - meson_options.txt | 7 +++++++ - src/gallium/drivers/vc4/meson.build | 4 ++-- - src/gallium/drivers/vc4/vc4_tiling.h | 4 ++-- - 3 files changed, 11 insertions(+), 4 deletions(-) - -diff --git a/meson_options.txt b/meson_options.txt -index a39596a6f19..0f6b6c62b55 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -123,6 +123,13 @@ option( - choices : ['auto', 'true', 'false', 'enabled', 'disabled'], - description : 'enable gallium va frontend.', - ) -+option( -+ 'gallium-vc4-neon', -+ type : 'combo', -+ value : 'auto', -+ choices : ['auto', 'disabled'], -+ description : 'enable gallium vc4 optional neon support.', -+) - option( - 'va-libs-path', - type : 'string', -diff --git a/src/gallium/drivers/vc4/meson.build b/src/gallium/drivers/vc4/meson.build -index 5ce5af5f6b4..e3f7d8d62ae 100644 ---- a/src/gallium/drivers/vc4/meson.build -+++ b/src/gallium/drivers/vc4/meson.build -@@ -84,7 +84,7 @@ files_libvc4 = files( - vc4_c_args = [] - - libvc4_neon = [] --if host_machine.cpu_family() == 'arm' -+if host_machine.cpu_family() == 'arm' and get_option('gallium-vc4-neon') != 'disabled' - libvc4_neon = static_library( - 'vc4_neon', - 'vc4_tiling_lt_neon.c', -@@ -93,7 +93,7 @@ if host_machine.cpu_family() == 'arm' - ], - c_args : '-mfpu=neon', - ) -- vc4_c_args += '-DUSE_ARM_ASM' -+ vc4_c_args += '-DVC4_TILING_LT_NEON' - endif - - if dep_simpenrose.found() -diff --git a/src/gallium/drivers/vc4/vc4_tiling.h b/src/gallium/drivers/vc4/vc4_tiling.h -index 66767e7f1f8..7446f1c3d0c 100644 ---- a/src/gallium/drivers/vc4/vc4_tiling.h -+++ b/src/gallium/drivers/vc4/vc4_tiling.h -@@ -89,7 +89,7 @@ vc4_load_lt_image(void *dst, uint32_t dst_stride, - void *src, uint32_t src_stride, - int cpp, const struct pipe_box *box) - { --#ifdef USE_ARM_ASM -+#ifdef VC4_TILING_LT_NEON - if (util_cpu_caps.has_neon) { - vc4_load_lt_image_neon(dst, dst_stride, src, src_stride, - cpp, box); -@@ -105,7 +105,7 @@ vc4_store_lt_image(void *dst, uint32_t dst_stride, - void *src, uint32_t src_stride, - int cpp, const struct pipe_box *box) - { --#ifdef USE_ARM_ASM -+#ifdef VC4_TILING_LT_NEON - if (util_cpu_caps.has_neon) { - vc4_store_lt_image_neon(dst, dst_stride, src, src_stride, - cpp, box); --- -2.25.1 - diff --git a/buildroot-2021.05/package/mesa3d/Config.in b/buildroot-2021.05/package/mesa3d/Config.in deleted file mode 100644 index 0a9e95a7..00000000 --- a/buildroot-2021.05/package/mesa3d/Config.in +++ /dev/null @@ -1,464 +0,0 @@ -menuconfig BR2_PACKAGE_MESA3D - bool "mesa3d" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_1 - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_PACKAGE_EXPAT - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_ZLIB - help - Mesa 3D, an open-source implementation of the OpenGL - specification. - - http://mesa3d.org - -if BR2_PACKAGE_MESA3D - -# Some Gallium driver needs libelf when built with LLVM support -config BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS - bool - -config BR2_PACKAGE_MESA3D_LLVM - bool "llvm support" - depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future - depends on !BR2_STATIC_LIBS - depends on BR2_USE_WCHAR # std::wstring - select BR2_PACKAGE_LLVM - -comment "llvm support needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library" - depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ - || BR2_STATIC_LIBS || !BR2_USE_WCHAR - -comment "llvm support needs a toolchain not affected by GCC bug 64735" - depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -# clang and libclc dependencies are satisfied by -# BR2_PACKAGE_MESA3D_LLVM -config BR2_PACKAGE_MESA3D_OPENCL - bool "OpenCL support" - depends on BR2_PACKAGE_MESA3D_LLVM - depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 || \ - BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI - select BR2_PACKAGE_LLVM_RTTI - select BR2_PACKAGE_CLANG - select BR2_PACKAGE_LIBCLC - select BR2_PACKAGE_HAS_LIBOPENCL - -# inform the .mk file of gallium, dri or vulkan driver selection -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - bool - select BR2_PACKAGE_MESA3D_DRIVER - -config BR2_PACKAGE_MESA3D_DRI_DRIVER - bool - select BR2_PACKAGE_MESA3D_DRIVER - select BR2_PACKAGE_MESA3D_GBM if \ - !BR2_PACKAGE_MESA3D_OPENGL_GLX && \ - !BR2_PACKAGE_MESA3D_OPENGL_EGL && \ - !BR2_PACKAGE_MESA3D_OSMESA_GALLIUM - select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \ - (BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4) - -config BR2_PACKAGE_MESA3D_VULKAN_DRIVER - bool - select BR2_PACKAGE_MESA3D_DRIVER - -config BR2_PACKAGE_MESA3D_DRIVER - bool - -# Gallium xa state tracker. -# Quote from mesa3d meson.build: "XA state tracker requires at least -# one of the following gallium drivers: nouveau, freedreno, i915, svga. -config BR2_PACKAGE_MESA3D_NEEDS_XA - bool - -# Quote from mesa3d meson.build: "kmsro driver requires one or more -# renderonly drivers (vc4, etnaviv, freedreno)". -config BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - bool - -# OpenGL GLX and Gallium VDPAU both needs X11 -config BR2_PACKAGE_MESA3D_NEEDS_X11 - bool - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_LIBXCB - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXDAMAGE - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXFIXES - select BR2_PACKAGE_XLIB_LIBXRANDR - select BR2_PACKAGE_XLIB_LIBXXF86VM - select BR2_PACKAGE_XORGPROTO - -comment "Gallium drivers" - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV - bool "Gallium Etnaviv driver" - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_LIBDRM_ETNAVIV - select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - help - Mesa driver for Vivante GPUs. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO - bool "Gallium freedreno driver" - depends on BR2_arm || BR2_aarch64 || BR2_aarch64_be # libdrm-freedreno - # libdrm's freedreno option depends on LIBDRM_HAS_ATOMIC. Propagating - # that dependency here causes a circular dependency that Kconfig - # can't see is just spurious. However, that dependency is about - # the toolchain having sync4 primitives, which is always a given - # for arm/aarch64. - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_LIBDRM_FREEDRENO - select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - help - Mesa driver for Freedreno GPUs. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915 - bool "Gallium i915 driver" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_LIBDRM_INTEL - help - Support for i915-based Intel GPUs. - -comment "Gallium i915: Only one i915 provider can be built" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS - bool "Gallium iris driver" - depends on BR2_i386 || BR2_x86_64 - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - help - Mesa driver for iris-based Intel GPUs. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO - bool "Gallium KMSRO driver" - depends on BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - help - Support various sorts of KMS displays with the - renderonly layer used to attach a GPU. - -comment "Gallium KMSRO needs one or more renderonly drivers" - depends on !BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA - bool "Gallium lima driver" - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - help - Mesa driver for ARM Mali Utgard GPUs. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU - bool "Gallium nouveau driver" - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_LIBDRM_NOUVEAU - select BR2_PACKAGE_MESA3D_NEEDS_XA - select BR2_PACKAGE_LLVM_RTTI if BR2_PACKAGE_MESA3D_LLVM - help - Supports all Nvidia GPUs. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST - bool "Gallium panfrost driver" - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - help - Mesa driver for ARM Mali Midgard and Bifrost GPUs. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 - bool "Gallium Radeon R300 driver" - depends on BR2_i386 || BR2_x86_64 - # lbdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating - # that dependency here causes a circular dependency that Kconfig - # can't see is just spurious. However, that dependency is about - # the toolchain having sync4 primitives, which is always a given - # for x86. - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_LIBDRM_RADEON - help - Driver for ATI/AMD Radeon R300/R400/R500 GPUs. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 - bool "Gallium Radeon R600 driver" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_PACKAGE_MESA3D_LLVM || \ - (BR2_PACKAGE_MESA3D_LLVM && (BR2_TOOLCHAIN_USES_UCLIBC || \ - BR2_TOOLCHAIN_USES_GLIBC)) # elfutils - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_LIBDRM_RADEON - select BR2_PACKAGE_LLVM_AMDGPU if BR2_PACKAGE_MESA3D_LLVM - select BR2_PACKAGE_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM - select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM - help - Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs. - -# R600 needs libelf when Mesa3D is built with LLVM support -# musl is not currently compatible with elfutils -comment "R600 driver needs a uClibc or glibc toolchain when llvm is enabled" - depends on BR2_PACKAGE_MESA3D_LLVM - depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI - bool "Gallium Radeon SI driver" - depends on BR2_USE_MMU # libdrm - depends on BR2_i386 || BR2_x86_64 - depends on BR2_PACKAGE_MESA3D_LLVM - depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_LIBDRM_AMDGPU - select BR2_PACKAGE_LIBDRM_RADEON - select BR2_PACKAGE_LLVM_AMDGPU - select BR2_PACKAGE_ELFUTILS - select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS - help - Driver for ATI/AMD Radeon HD7000/HD8000/Rx200 GPUs. - -# Radeon SI needs libelf -# musl is not currently compatible with elfutils -comment "Radeon SI driver needs a uClibc or glibc toolchain" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_MESA3D_LLVM - depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA - bool "Gallium vmware svga driver" - depends on BR2_i386 || BR2_x86_64 - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_LIBDRM_VMWGFX - select BR2_PACKAGE_MESA3D_NEEDS_XA - help - This is a virtual GPU driver for VMWare virtual machines. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST - bool "Gallium swrast driver" - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - help - This is a software opengl implementation using the Gallium3D - infrastructure. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA - bool "Gallium tegra driver" - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU - select BR2_PACKAGE_LIBDRM_NOUVEAU - select BR2_PACKAGE_MESA3D_NEEDS_XA - help - Adds support for Nvidia Tegra GPUs, requires nouveau. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D - bool "Gallium v3d driver" - depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - select BR2_PACKAGE_LIBDRM_VC4 - select BR2_PACKAGE_MESA3D_OPENGL_EGL - help - Driver for Broadcom VC6 (rpi4) GPUs (needs kmsro and vc4). - - It requires a kernel 4.18+ with DRM V3D support enabled: - - - CONFIG_DRM_V3D - - CONFIG_DRM_VC4 - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 - bool "Gallium vc4 driver" - depends on BR2_arm || BR2_aarch64 - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_MESA3D_GALLIUM_KMSRO - select BR2_PACKAGE_LIBDRM_VC4 - select BR2_PACKAGE_MESA3D_OPENGL_EGL - help - Driver for Broadcom VC4 (rpi2/3) GPUs. - It requires a vanilla 4.5+ kernel with drm vc4 (open) support. - -config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL - bool "Gallium virgl driver" - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER - select BR2_PACKAGE_MESA3D_OPENGL_EGL - help - virgl is the 3D acceleration backend for the virtio-gpu - shipping with qemu. - -config BR2_PACKAGE_MESA3D_VDPAU - bool "Gallium VDPAU state tracker" - depends on BR2_PACKAGE_XORG7 - depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ - || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 \ - || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \ - || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI - select BR2_PACKAGE_MESA3D_NEEDS_X11 - select BR2_PACKAGE_LIBVDPAU - help - VDPAU state tracker (needs r300, r600, radeonsi or nouveau - gallium drivers). - -comment "Gallium VDPAU state tracker needs X.org and gallium drivers r300, r600, radeonsi or nouveau" - depends on !BR2_PACKAGE_XORG7 || \ - !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ - || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 \ - || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \ - || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) - -config BR2_PACKAGE_MESA3D_XVMC - bool "Gallium XvMC state tracker" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_PACKAGE_XORG7 - depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ - || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 - select BR2_PACKAGE_MESA3D_NEEDS_X11 - select BR2_PACKAGE_XLIB_LIBXV - select BR2_PACKAGE_XLIB_LIBXVMC - help - XvMC state tracker (needs r600 or nouveau gallium drivers). - -comment "Gallium XvMC state tracker needs X.org and gallium drivers r600 or nouveau" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_PACKAGE_XORG7 || \ - !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ - || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600) - -comment "DRI drivers" - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 - bool "DRI i915 driver" - depends on BR2_i386 || BR2_x86_64 - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_INTEL - help - Support for i915-based Intel GPUs. - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965 - bool "DRI i965 driver" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_INTEL - help - Support for i965-based Intel GPUs. - -comment "DRI i965 driver needs a toolchain w/ headers >= 3.17" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU - bool "DRI nouveau driver" - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_NOUVEAU - help - Support for Nvidia-based GPUs. - -config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON - bool "DRI radeon r100 driver" - depends on BR2_i386 || BR2_x86_64 - # libdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating - # that dependency here causes a circular dependency that Kconfig - # can't see is just spurious. However, that dependency is about - # the toolchain having sync4 primitives, which is always a given - # for i386 and x86_64. - select BR2_PACKAGE_MESA3D_DRI_DRIVER - select BR2_PACKAGE_LIBDRM_RADEON - help - Legacy Radeon driver for R100 series GPUs. - -comment "Vulkan drivers" - -config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL - bool "Vulkan Intel driver" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libxshmfence - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h - depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert - depends on BR2_PACKAGE_XORG7 # xorgproto - select BR2_PACKAGE_MESA3D_VULKAN_DRIVER - select BR2_PACKAGE_XORGPROTO - select BR2_PACKAGE_XLIB_LIBXSHMFENCE - help - Vulkan driver for Intel hardware from Ivy Bridge onward. - -comment "intel vulkan depends on X.org and needs a glibc toolchain w/ headers >= 3.17" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || \ - !BR2_TOOLCHAIN_USES_GLIBC || !BR2_PACKAGE_XORG7 - -comment "Off-screen Rendering" - -config BR2_PACKAGE_MESA3D_OSMESA_GALLIUM - bool "OSMesa (Gallium) library" - select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST - help - The OSMesa API provides functions for off-screen rendering. - -if BR2_PACKAGE_MESA3D_DRIVER - -comment "OpenGL API Support" - -config BR2_PACKAGE_MESA3D_GBM - bool "gbm" - depends on BR2_PACKAGE_MESA3D_DRI_DRIVER \ - || (BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) - help - Enable Generic Buffer Management (gbm) - -comment "gbm support needs a dri driver or a gallium driver w/ EGL support." - depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER \ - && !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) - -config BR2_PACKAGE_MESA3D_OPENGL_GLX - bool "OpenGL GLX" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_MESA3D_NEEDS_X11 - help - Enable GLX graphic acceleration (OpenGL + X11). - -comment "OpenGL GLX support needs X11" - depends on !BR2_PACKAGE_XORG7 - -config BR2_PACKAGE_MESA3D_OPENGL_EGL - bool "OpenGL EGL" - select BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_HAS_LIBEGL_WAYLAND - select BR2_PACKAGE_MESA3D_GBM - help - Use the Khronos EGL APIs. EGL is a window manager for OpenGL - applications similar to GLX, for X, and WGL, for Windows. - -config BR2_PACKAGE_MESA3D_OPENGL_ES - bool "OpenGL ES" - select BR2_PACKAGE_HAS_LIBGLES - help - Use the Khronos OpenGL ES APIs. This is commonly used on - embedded systems and represents a subset of the OpenGL API. - -endif # BR2_PACKAGE_MESA3D_DRIVER - -config BR2_PACKAGE_PROVIDES_LIBGL - default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_GLX - -config BR2_PACKAGE_PROVIDES_LIBEGL - default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL - -config BR2_PACKAGE_PROVIDES_LIBGLES - default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES - -config BR2_PACKAGE_PROVIDES_LIBOPENCL - default "mesa3d" if BR2_PACKAGE_MESA3D_OPENCL - -endif # BR2_PACKAGE_MESA3D - -comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_1 diff --git a/buildroot-2021.05/package/mesa3d/mesa3d.hash b/buildroot-2021.05/package/mesa3d/mesa3d.hash deleted file mode 100644 index 6a70e8a1..00000000 --- a/buildroot-2021.05/package/mesa3d/mesa3d.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.freedesktop.org/archives/mesa-announce/2021-April/000627.html -sha256 565c6f4bd2d5747b919454fc1d439963024fc78ca56fd05158c3b2cde2f6912b mesa-21.0.3.tar.xz -sha512 4a8aee48a8ea7f32e8aa3bbbd91db26c6053b9a43e62ff88256929e6bc147884f0fef988726b5a3d59d7008663f017c746a0352fd3fcc1c476b8190af4a2531f mesa-21.0.3.tar.xz - -# License -sha256 1361129baa4519b6ed27a1bf4aeee33a58b060bf7bb9b6ea415ecede04e35e46 docs/license.rst diff --git a/buildroot-2021.05/package/mesa3d/mesa3d.mk b/buildroot-2021.05/package/mesa3d/mesa3d.mk deleted file mode 100644 index ca44a66e..00000000 --- a/buildroot-2021.05/package/mesa3d/mesa3d.mk +++ /dev/null @@ -1,263 +0,0 @@ -################################################################################ -# -# mesa3d -# -################################################################################ - -# When updating the version, please also update mesa3d-headers -MESA3D_VERSION = 21.0.3 -MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz -MESA3D_SITE = https://mesa.freedesktop.org/archive -MESA3D_LICENSE = MIT, SGI, Khronos -MESA3D_LICENSE_FILES = docs/license.rst -MESA3D_CPE_ID_VENDOR = mesa3d -MESA3D_CPE_ID_PRODUCT = mesa - -MESA3D_INSTALL_STAGING = YES - -MESA3D_PROVIDES = - -MESA3D_DEPENDENCIES = \ - host-bison \ - host-flex \ - host-python3-mako \ - expat \ - libdrm \ - zlib - -MESA3D_CONF_OPTS = \ - -Dgallium-omx=disabled \ - -Dpower8=disabled - -# Codesourcery ARM 2014.05 fail to link libmesa_dri_drivers.so with --as-needed linker -# flag due to a linker bug between binutils 2.24 and 2.25 (2.24.51.20140217). -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM),y) -MESA3D_CONF_OPTS += -Db_asneeded=false -endif - -ifeq ($(BR2_PACKAGE_MESA3D_LLVM),y) -MESA3D_DEPENDENCIES += host-llvm llvm -MESA3D_MESON_EXTRA_BINARIES += llvm-config='$(STAGING_DIR)/usr/bin/llvm-config' -MESA3D_CONF_OPTS += -Dllvm=enabled -else -# Avoid automatic search of llvm-config -MESA3D_CONF_OPTS += -Dllvm=disabled -endif - -# Disable opencl-icd: OpenCL lib will be named libOpenCL instead of -# libMesaOpenCL and CL headers are installed -ifeq ($(BR2_PACKAGE_MESA3D_OPENCL),y) -MESA3D_PROVIDES += libopencl -MESA3D_DEPENDENCIES += clang libclc -MESA3D_CONF_OPTS += -Dgallium-opencl=standalone -else -MESA3D_CONF_OPTS += -Dgallium-opencl=disabled -endif - -ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS),y) -MESA3D_DEPENDENCIES += elfutils -endif - -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y) -# Disable-mangling not yet supported by meson build system. -# glx: -# dri : dri based GLX requires at least one DRI driver || dri based GLX requires shared-glapi -# xlib : xlib conflicts with any dri driver -# gallium-xlib : Gallium-xlib based GLX requires at least one gallium driver || Gallium-xlib based GLX requires softpipe or llvmpipe || gallium-xlib conflicts with any dri driver. -MESA3D_CONF_OPTS += -Dglx=dri -ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_XA),y) -MESA3D_CONF_OPTS += -Dgallium-xa=enabled -else -MESA3D_CONF_OPTS += -Dgallium-xa=disabled -endif -else -MESA3D_CONF_OPTS += \ - -Dglx=disabled \ - -Dgallium-xa=disabled -endif - -ifeq ($(BR2_ARM_CPU_HAS_NEON),y) -MESA3D_CONF_OPTS += -Dgallium-vc4-neon=auto -else -MESA3D_CONF_OPTS += -Dgallium-vc4-neon=disabled -endif - -# Drivers - -#Gallium Drivers -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO) += freedreno -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915) += i915 -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS) += iris -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_KMSRO) += kmsro -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU) += nouveau -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST) += panfrost -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300) += r300 -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600) += r600 -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) += radeonsi -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA) += svga -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST) += swrast -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA) += tegra -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D) += v3d -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) += vc4 -MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl -# DRI Drivers -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I915) += i915 -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I965) += i965 -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU) += nouveau -MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON) += r100 -# Vulkan Drivers -MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL) += intel - -ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER),) -MESA3D_CONF_OPTS += \ - -Dgallium-drivers= \ - -Dgallium-extra-hud=false -else -MESA3D_CONF_OPTS += \ - -Dshared-glapi=enabled \ - -Dgallium-drivers=$(subst $(space),$(comma),$(MESA3D_GALLIUM_DRIVERS-y)) \ - -Dgallium-extra-hud=true -endif - -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -MESA3D_CONF_OPTS += \ - -Ddri-drivers= -Ddri3=disabled -else -ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE),y) -MESA3D_DEPENDENCIES += xlib_libxshmfence -MESA3D_CONF_OPTS += -Ddri3=enabled -else -MESA3D_CONF_OPTS += -Ddri3=disabled -endif -MESA3D_CONF_OPTS += \ - -Dshared-glapi=enabled \ - -Dglx-direct=true \ - -Ddri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y)) -endif - -ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),) -MESA3D_CONF_OPTS += \ - -Dvulkan-drivers= -else -MESA3D_DEPENDENCIES += xlib_libxshmfence -MESA3D_CONF_OPTS += \ - -Ddri3=enabled \ - -Dvulkan-drivers=$(subst $(space),$(comma),$(MESA3D_VULKAN_DRIVERS-y)) -endif - -# APIs - -ifeq ($(BR2_PACKAGE_MESA3D_OSMESA_GALLIUM),y) -MESA3D_CONF_OPTS += -Dosmesa=true -else -MESA3D_CONF_OPTS += -Dosmesa=false -endif - -# Always enable OpenGL: -# - Building OpenGL ES without OpenGL is not supported, so always keep opengl enabled. -MESA3D_CONF_OPTS += -Dopengl=true - -# libva and mesa3d have a circular dependency -# we do not need libva support in mesa3d, therefore disable this option -MESA3D_CONF_OPTS += -Dgallium-va=disabled - -# libGL is only provided for a full xorg stack -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y) -MESA3D_PROVIDES += libgl -else -define MESA3D_REMOVE_OPENGL_HEADERS - rm -rf $(STAGING_DIR)/usr/include/GL/ -endef - -MESA3D_POST_INSTALL_STAGING_HOOKS += MESA3D_REMOVE_OPENGL_HEADERS -endif - -ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_X11),y) -MESA3D_DEPENDENCIES += \ - xlib_libX11 \ - xlib_libXext \ - xlib_libXdamage \ - xlib_libXfixes \ - xlib_libXrandr \ - xlib_libXxf86vm \ - xorgproto \ - libxcb -MESA3D_PLATFORMS += x11 -endif -ifeq ($(BR2_PACKAGE_WAYLAND),y) -MESA3D_DEPENDENCIES += wayland wayland-protocols -MESA3D_PLATFORMS += wayland -endif - -MESA3D_CONF_OPTS += \ - -Dplatforms=$(subst $(space),$(comma),$(MESA3D_PLATFORMS)) - -ifeq ($(BR2_PACKAGE_MESA3D_GBM),y) -MESA3D_CONF_OPTS += \ - -Dgbm=enabled -else -MESA3D_CONF_OPTS += \ - -Dgbm=disabled -endif - -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y) -MESA3D_PROVIDES += libegl -MESA3D_CONF_OPTS += \ - -Degl=enabled -else -MESA3D_CONF_OPTS += \ - -Degl=disabled -endif - -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES),y) -MESA3D_PROVIDES += libgles -MESA3D_CONF_OPTS += -Dgles1=enabled -Dgles2=enabled -else -MESA3D_CONF_OPTS += -Dgles1=disabled -Dgles2=disabled -endif - -ifeq ($(BR2_PACKAGE_MESA3D_XVMC),y) -MESA3D_DEPENDENCIES += xlib_libXv xlib_libXvMC -MESA3D_CONF_OPTS += -Dgallium-xvmc=enabled -else -MESA3D_CONF_OPTS += -Dgallium-xvmc=disabled -endif - -ifeq ($(BR2_PACKAGE_VALGRIND),y) -MESA3D_CONF_OPTS += -Dvalgrind=enabled -MESA3D_DEPENDENCIES += valgrind -else -MESA3D_CONF_OPTS += -Dvalgrind=disabled -endif - -ifeq ($(BR2_PACKAGE_LIBUNWIND),y) -MESA3D_CONF_OPTS += -Dlibunwind=enabled -MESA3D_DEPENDENCIES += libunwind -else -MESA3D_CONF_OPTS += -Dlibunwind=disabled -endif - -ifeq ($(BR2_PACKAGE_MESA3D_VDPAU),y) -MESA3D_DEPENDENCIES += libvdpau -MESA3D_CONF_OPTS += -Dgallium-vdpau=enabled -else -MESA3D_CONF_OPTS += -Dgallium-vdpau=disabled -endif - -ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -MESA3D_CONF_OPTS += -Dlmsensors=enabled -MESA3D_DEPENDENCIES += lm-sensors -else -MESA3D_CONF_OPTS += -Dlmsensors=disabled -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -MESA3D_CONF_OPTS += -Dzstd=enabled -MESA3D_DEPENDENCIES += zstd -else -MESA3D_CONF_OPTS += -Dzstd=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch b/buildroot-2021.05/package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch deleted file mode 100644 index 4a1325bd..00000000 --- a/buildroot-2021.05/package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch +++ /dev/null @@ -1,47 +0,0 @@ -From cf9ad9b79a924081ce3d1e045bba3544815ea5f8 Mon Sep 17 00:00:00 2001 -From: Matt Weber -Date: Sat, 26 Oct 2019 09:17:29 -0500 -Subject: [PATCH] Prefer ext static libs when --default-library=static - -This patch adds a case in the library pattern logic to prefer static -libraries when the Meson Core option for "default_library" is set to -solely static. - -The existing library search order makes sense for cases of shared and -shared / static mixed. However if using a prebuilt cross-toolchain, -they usually provide both a static and shared version of sysroot -libraries. This presents a problem in a complete static build where -there won't be shared libraries at runtime and during build time there -are failures like "ld: attempted static link of dynamic object". - -Bug: -https://github.com/mesonbuild/meson/issues/6108 - -Fixes: -http://autobuild.buildroot.net/results/db1740b4777f436324218c52bc7b08e5c21b667d/ -http://autobuild.buildroot.net/results/c17/c17bbb12d9deadd64a441b36e324cfbbe8aba5be/ - -Signed-off-by: Matthew Weber -[Updated for 0.57.1 - get_builtin_option() vs. get_option(OptionKey())] -Signed-off-by: Peter Seiderer ---- - mesonbuild/compilers/mixins/clike.py | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py -index ad3bfae..4733910 100644 ---- a/mesonbuild/compilers/mixins/clike.py -+++ b/mesonbuild/compilers/mixins/clike.py -@@ -999,6 +999,9 @@ class CLikeCompiler(Compiler): - elif env.machines[self.for_machine].is_cygwin(): - shlibext = ['dll', 'dll.a'] - prefixes = ['cyg'] + prefixes -+ elif env.coredata.get_option(OptionKey('default_library')) == 'static': -+ # Linux/BSDs -+ shlibext = ['a'] - else: - # Linux/BSDs - shlibext = ['so'] --- -2.30.1 - diff --git a/buildroot-2021.05/package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch b/buildroot-2021.05/package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch deleted file mode 100644 index 9dbe22c8..00000000 --- a/buildroot-2021.05/package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 885af6ab2e02cca6bd190b8b29a355fdb6516936 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 15 Feb 2020 15:13:59 +0100 -Subject: [PATCH] mesonbuild/dependencies/base.py: add pkg_config_static - -Allow the user to always call pkg-config with --static thanks to a -pkg_config_static property. This will allow to fix static build failures -with libglib2: - -FAILED: gio/gio -/home/naourr/work/instance-0/output-1/host/bin/arm-linux-gcc -o gio/gio 'gio/6ae6c9e@@gio@exe/gio-tool.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-cat.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-copy.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-info.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-list.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-mime.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-mkdir.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-monitor.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-mount.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-move.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-open.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-rename.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-remove.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-save.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-set.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-trash.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-tree.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -static -Wl,--start-group gio/libgio-2.0.a glib/libglib-2.0.a gobject/libgobject-2.0.a gmodule/libgmodule-2.0.a -pthread /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libz.a /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libmount.a /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpcre.a -lm /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libffi.a -Wl,--end-group '-Wl,-rpath,$ORIGIN/:$ORIGIN/../glib:$ORIGIN/../gobject:$ORIGIN/../gmodule' -Wl,-rpath-link,/home/naourr/work/instance-0/output-1/build/libglib2-2.62.4/build/gio -Wl,-rpath-link,/home/naourr/work/instance-0/output-1/build/libglib2-2.62.4/build/glib -Wl,-rpath-link,/home/naourr/work/instance-0/output-1/build/libglib2-2.62.4/build/gobject -Wl,-rpath-link,/home/naourr/work/instance-0/output-1/build/libglib2-2.62.4/build/gmodule -/home/naourr/work/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libmount.a(la-fs.o): in function `__mnt_fs_set_source_ptr': -fs.c:(.text+0x5ec): undefined reference to `blkid_parse_tag_string' - -Fixes: - - http://autobuild.buildroot.org/results/0d36952def63cb69628697fa6408aeb6ce10cb5b - -Signed-off-by: Fabrice Fontaine -[Romain: Fix if condition, pkg_config_static is a string not a boolean] -Signed-off-by: Romain Naour -[Rebased on 0.57.1] -Signed-off-by: Peter Seiderer ---- - mesonbuild/dependencies/base.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py -index cd77b4b..08675e6 100644 ---- a/mesonbuild/dependencies/base.py -+++ b/mesonbuild/dependencies/base.py -@@ -883,7 +883,8 @@ class PkgConfigDependency(ExternalDependency): - env = None - libcmd = ['--libs'] - -- if self.static: -+ if self.static or \ -+ (self.env.properties[self.for_machine].get('pkg_config_static', None) == 'true'): - libcmd.append('--static') - - libcmd.append(self.name) --- -2.30.1 - diff --git a/buildroot-2021.05/package/meson/cross-compilation.conf.in b/buildroot-2021.05/package/meson/cross-compilation.conf.in deleted file mode 100644 index 37b49eea..00000000 --- a/buildroot-2021.05/package/meson/cross-compilation.conf.in +++ /dev/null @@ -1,31 +0,0 @@ -# Note: Buildroot's and Meson's terminologies differ about the meaning -# of 'build', 'host' and 'target': -# - Buildroot's 'host' is Meson's 'build' -# - Buildroot's 'target' is Meson's 'host' - -[binaries] -c = '@TARGET_CROSS@gcc' -cpp = '@TARGET_CROSS@g++' -ar = '@TARGET_CROSS@ar' -strip = '@TARGET_CROSS@strip' -pkgconfig = '@HOST_DIR@/bin/pkgconf' -g-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler' -g-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner' - -[built-in options] -c_args = [@TARGET_CFLAGS@] -c_link_args = [@TARGET_LDFLAGS@] -cpp_args = [@TARGET_CXXFLAGS@] -cpp_link_args = [@TARGET_LDFLAGS@] - -[properties] -needs_exe_wrapper = true -sys_root = '@STAGING_DIR@' -pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' -pkg_config_static = '@STATIC@' - -[host_machine] -system = 'linux' -cpu_family = '@TARGET_ARCH@' -cpu = '@TARGET_CPU@' -endian = '@TARGET_ENDIAN@' diff --git a/buildroot-2021.05/package/meson/meson.hash b/buildroot-2021.05/package/meson/meson.hash deleted file mode 100644 index 252e56ba..00000000 --- a/buildroot-2021.05/package/meson/meson.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -# https://github.com/mesonbuild/meson/releases/download/0.57.2/meson-0.57.2.tar.gz.asc -sha256 3a83e7b1c5de94fa991ec34d9b198d94f38ed699d3524cb0fdf3b99fd23d4cc5 meson-0.57.2.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING diff --git a/buildroot-2021.05/package/meson/meson.mk b/buildroot-2021.05/package/meson/meson.mk deleted file mode 100644 index 4b0f4fde..00000000 --- a/buildroot-2021.05/package/meson/meson.mk +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################ -# -# meson -# -################################################################################ - -MESON_VERSION = 0.57.2 -MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) -MESON_LICENSE = Apache-2.0 -MESON_LICENSE_FILES = COPYING -MESON_SETUP_TYPE = setuptools - -HOST_MESON_DEPENDENCIES = host-ninja -HOST_MESON_NEEDS_HOST_PYTHON = python3 - -HOST_MESON_TARGET_ENDIAN = $(call qstrip,$(call LOWERCASE,$(BR2_ENDIAN))) -HOST_MESON_TARGET_CPU = $(GCC_TARGET_CPU) - -# https://mesonbuild.com/Reference-tables.html#cpu-families -ifeq ($(BR2_arcle)$(BR2_arceb),y) -HOST_MESON_TARGET_CPU_FAMILY = arc -else ifeq ($(BR2_arm)$(BR2_armeb),y) -HOST_MESON_TARGET_CPU_FAMILY = arm -else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) -HOST_MESON_TARGET_CPU_FAMILY = aarch64 -else ifeq ($(BR2_i386),y) -HOST_MESON_TARGET_CPU_FAMILY = x86 -else ifeq ($(BR2_m68k),y) -HOST_MESON_TARGET_CPU_FAMILY = m68k -else ifeq ($(BR2_microblazeel)$(BR2_microblazebe),y) -HOST_MESON_TARGET_CPU_FAMILY = microblaze -else ifeq ($(BR2_mips)$(BR2_mipsel),y) -HOST_MESON_TARGET_CPU_FAMILY = mips -else ifeq ($(BR2_mips64)$(BR2_mips64el),y) -HOST_MESON_TARGET_CPU_FAMILY = mips64 -else ifeq ($(BR2_powerpc),y) -HOST_MESON_TARGET_CPU_FAMILY = ppc -else ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y) -HOST_MESON_TARGET_CPU_FAMILY = ppc64 -else ifeq ($(BR2_riscv),y) -HOST_MESON_TARGET_CPU_FAMILY = riscv64 -else ifeq ($(BR2_sh4)$(BR2_sh4eb)$(BR2_sh4a)$(BR2_sh4aeb),y) -HOST_MESON_TARGET_CPU_FAMILY = sh4 -else ifeq ($(BR2_sparc),y) -HOST_MESON_TARGET_CPU_FAMILY = sparc -else ifeq ($(BR2_sparc64),y) -HOST_MESON_TARGET_CPU_FAMILY = sparc64 -else ifeq ($(BR2_x86_64),y) -HOST_MESON_TARGET_CPU_FAMILY = x86_64 -else -HOST_MESON_TARGET_CPU_FAMILY = $(ARCH) -endif - -# Avoid interpreter shebang longer than 128 chars -define HOST_MESON_SET_INTERPRETER - $(SED) '1s:.*:#!/usr/bin/env python3:' $(HOST_DIR)/bin/meson -endef -HOST_MESON_POST_INSTALL_HOOKS += HOST_MESON_SET_INTERPRETER - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/mg/0001-src-def.h-fix-build-with-gcc-10.patch b/buildroot-2021.05/package/mg/0001-src-def.h-fix-build-with-gcc-10.patch deleted file mode 100644 index d88e2f44..00000000 --- a/buildroot-2021.05/package/mg/0001-src-def.h-fix-build-with-gcc-10.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 29c83c917bd4f5d0c37ff0ab5da1a85762bd5530 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 5 Sep 2020 14:50:20 +0200 -Subject: [PATCH] src/def.h: fix build with gcc 10 - -Define hlp as extern to avoid the following build failure with gcc 10 -(which defaults to -fno-common): - - CCLD mg -/home/buildroot/autobuild/run/instance-1/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/10.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: mg-bell.o:(.bss+0x0): multiple definition of `hlp'; mg-basic.o:(.bss+0x0): first defined here - -Fixes: - - http://autobuild.buildroot.org/results/aacc02abf41e120e0d0b22faa38642e6d149d73f - -[backport of upstream 29c83c917bd4f5d0c37ff0ab5da1a85762bd5530] -Signed-off-by: Fabrice Fontaine -[yann.morin.1998@free.fr: backport actual patch after MR was accepted] -Signed-off-by: Yann E. MORIN ---- - src/def.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/def.h b/src/def.h -index e4c049c..cd59725 100644 ---- a/src/def.h -+++ b/src/def.h -@@ -650,7 +650,7 @@ int excline(char *); - char *skipwhite(char *); - - /* help.c X */ --const char *hlp; -+extern const char *hlp; - int desckey(int, int); - int wallchart(int, int); - int help_help(int, int); --- -2.28.0 - diff --git a/buildroot-2021.05/package/mg/mg.hash b/buildroot-2021.05/package/mg/mg.hash deleted file mode 100644 index 758a5232..00000000 --- a/buildroot-2021.05/package/mg/mg.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/troglobit/mg/releases/tag/v3.4 -md5 6b79855d54770bcb23e5457ebde8296c mg-3.4.tar.gz -# Locally computed: -sha256 1a620cf5b2dd4b00006d6c929ac8e2a70eeab5f807a0d6e5334b878aa182b713 mg-3.4.tar.gz -sha256 7e12e5df4bae12cb21581ba157ced20e1986a0508dd10d0e8a4ab9a4cf94e85c UNLICENSE diff --git a/buildroot-2021.05/package/mg/mg.mk b/buildroot-2021.05/package/mg/mg.mk deleted file mode 100644 index e3b79da0..00000000 --- a/buildroot-2021.05/package/mg/mg.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# mg -# -################################################################################ - -MG_VERSION = 3.4 -MG_SITE = https://github.com/troglobit/mg/releases/download/v$(MG_VERSION) -MG_LICENSE = Public Domain -MG_LICENSE_FILES = UNLICENSE - -ifeq ($(BR2_PACKAGE_NCURSES),y) -MG_DEPENDENCIES += ncurses -MG_CONF_OPTS += --with-curses -else -MG_CONF_OPTS += --without-curses -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/micropython/micropython.hash b/buildroot-2021.05/package/micropython/micropython.hash deleted file mode 100644 index fe47ee09..00000000 --- a/buildroot-2021.05/package/micropython/micropython.hash +++ /dev/null @@ -1,3 +0,0 @@ -#locally computed -sha256 542eb120df8d9eb6f200bcd856294e143813adea9dda0d7189405c218d4b16f7 micropython-1.14.tar.gz -sha256 9c6089e26c8638a0645bcb0db2c85051f82de8022dcd07fb22baa0c5f9362085 LICENSE diff --git a/buildroot-2021.05/package/micropython/micropython.mk b/buildroot-2021.05/package/micropython/micropython.mk deleted file mode 100644 index fa28da9b..00000000 --- a/buildroot-2021.05/package/micropython/micropython.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# micropython -# -################################################################################ - -MICROPYTHON_VERSION = 1.14 -MICROPYTHON_SITE = $(call github,micropython,micropython,v$(MICROPYTHON_VERSION)) -MICROPYTHON_LICENSE = MIT -MICROPYTHON_LICENSE_FILES = LICENSE -MICROPYTHON_DEPENDENCIES = host-pkgconf libffi $(BR2_PYTHON3_HOST_DEPENDENCY) - -# Set GIT_DIR so package won't use buildroot's version number -MICROPYTHON_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - GIT_DIR=. - -# Use fallback implementation for exception handling on architectures that don't -# have explicit support. -ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_arm)$(BR2_armeb),) -MICROPYTHON_CFLAGS = -DMICROPY_GCREGS_SETJMP=1 -endif - -# xtensa has problems with nlr_push, use setjmp based implementation instead -ifeq ($(BR2_xtensa),y) -MICROPYTHON_CFLAGS = -DMICROPY_NLR_SETJMP=1 -endif - -# When building from a tarball we don't have some of the dependencies that are in -# the git repository as submodules -MICROPYTHON_MAKE_OPTS += \ - MICROPY_PY_BTREE=0 \ - MICROPY_PY_USSL=0 \ - CROSS_COMPILE=$(TARGET_CROSS) \ - CFLAGS_EXTRA=$(MICROPYTHON_CFLAGS) \ - CWARN= - -define MICROPYTHON_BUILD_CMDS - $(MICROPYTHON_MAKE_ENV) $(MAKE) -C $(@D)/mpy-cross - $(MICROPYTHON_MAKE_ENV) $(MAKE) -C $(@D)/ports/unix \ - $(MICROPYTHON_MAKE_OPTS) -endef - -define MICROPYTHON_INSTALL_TARGET_CMDS - $(MICROPYTHON_MAKE_ENV) $(MAKE) -C $(@D)/ports/unix \ - $(MICROPYTHON_MAKE_OPTS) \ - DESTDIR=$(TARGET_DIR) \ - PREFIX=/usr \ - install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/midori/0001-fix-bug-1492932.patch b/buildroot-2021.05/package/midori/0001-fix-bug-1492932.patch deleted file mode 100644 index 27ad283a..00000000 --- a/buildroot-2021.05/package/midori/0001-fix-bug-1492932.patch +++ /dev/null @@ -1,44 +0,0 @@ -Fix for https://bugs.launchpad.net/midori/+bug/1492932 -Patch status: upstream - -Signed-off-by: Gustavo Zacarias - ---- a/midori/midori-browser.c 2015-07-11 16:03:43 +0000 -+++ b/midori/midori-browser.c 2015-09-25 21:30:31 +0000 -@@ -5953,11 +5953,6 @@ - G_CALLBACK (midori_browser_destroy_cb), NULL); - gtk_window_set_role (GTK_WINDOW (browser), "browser"); - gtk_window_set_icon_name (GTK_WINDOW (browser), MIDORI_STOCK_WEB_BROWSER); -- #if GTK_CHECK_VERSION (3, 4, 0) -- #ifndef HAVE_GRANITE -- gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (browser), TRUE); -- #endif -- #endif - vbox = gtk_vbox_new (FALSE, 0); - /* gtk_container_add (GTK_CONTAINER (browser), vbox); - gtk_widget_show (vbox); */ - ---- a/midori/midori-view.c 2015-07-06 21:26:46 +0000 -+++ b/midori/midori-view.c 2015-09-25 21:30:31 +0000 -@@ -3495,9 +3495,6 @@ - } - else - gtk_window_set_icon_name (GTK_WINDOW (window), icon_name); -- #if GTK_CHECK_VERSION (3, 4, 0) -- gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (window), TRUE); -- #endif - gtk_widget_set_size_request (GTK_WIDGET (inspector_view), 700, 100); - #if GTK_CHECK_VERSION (3, 0, 0) - scrolled = gtk_scrolled_window_new (NULL, NULL); - ---- a/midori/midori-window.vala 2015-08-16 00:14:26 +0000 -+++ b/midori/midori-window.vala 2015-09-25 21:30:31 +0000 -@@ -28,7 +28,6 @@ - toolbar.show_arrow = true; - #if HAVE_GTK3 - toolbar.get_style_context ().add_class ("primary-toolbar"); -- hide_titlebar_when_maximized = true; - #endif - toolbar.popup_context_menu.connect ((x, y, button) => { - return button == 3 && context_menu (toolbar); }); - diff --git a/buildroot-2021.05/package/midori/0002-gcr-for-x11-only.patch b/buildroot-2021.05/package/midori/0002-gcr-for-x11-only.patch deleted file mode 100644 index 85e76976..00000000 --- a/buildroot-2021.05/package/midori/0002-gcr-for-x11-only.patch +++ /dev/null @@ -1,32 +0,0 @@ -GCR support only works/is useful with X11 support. - -Reported upstream: https://bugs.launchpad.net/midori/+bug/1515985 - -Signed-off-by: Gustavo Zacarias - -diff -Nura midori-0.5.11.orig/CMakeLists.txt midori-0.5.11/CMakeLists.txt ---- midori-0.5.11.orig/CMakeLists.txt 2015-11-12 13:41:02.045898814 -0300 -+++ midori-0.5.11/CMakeLists.txt 2015-11-12 14:00:09.765545018 -0300 -@@ -175,18 +175,14 @@ - set(PKGS ${PKGS} zeitgeist-2.0) - endif() - --if (WIN32) -- add_definitions("-DGCR_VERSION=\"No\"") --else () -- if (USE_GTK3) -- pkg_check_modules(GCR REQUIRED gcr-3>=2.32) -- else () -- pkg_check_modules(GCR REQUIRED gcr-base-3>=2.32) -- endif () -+if (USE_GTK3 AND X11) -+ pkg_check_modules(GCR REQUIRED gcr-3>=2.32) - add_definitions("-DGCR_VERSION=\"${GCR_VERSION}\"") - add_definitions("-DHAVE_GCR") - set(OPTS_INCLUDE_DIRS ${OPTS_INCLUDE_DIRS} ${GCR_INCLUDE_DIRS}) - set(OPTS_LIBRARIES ${OPTS_LIBRARIES} ${GCR_LIBRARIES}) -+else () -+ add_definitions("-DGCR_VERSION=\"No\"") - endif () - - if (HALF_BRO_INCOM_WEBKIT2) diff --git a/buildroot-2021.05/package/midori/Config.in b/buildroot-2021.05/package/midori/Config.in deleted file mode 100644 index e2cc2ac6..00000000 --- a/buildroot-2021.05/package/midori/Config.in +++ /dev/null @@ -1,31 +0,0 @@ -comment "midori needs libgtk3 and a glibc toolchain w/ C++, gcc >= 7, host gcc >= 4.9" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS - depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 || \ - !BR2_TOOLCHAIN_USES_GLIBC - -config BR2_PACKAGE_MIDORI - bool "midori" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt, gcr, gnupg2 - depends on BR2_PACKAGE_LIBGTK3 - depends on BR2_HOST_GCC_AT_LEAST_4_9 # webkitgtk - depends on BR2_INSTALL_LIBSTDCPP # webkitgtk - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # webkitgtk - depends on BR2_TOOLCHAIN_USES_GLIBC # webkitgtk - depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS - # GCR can only be used with the X11 backend - select BR2_PACKAGE_GCR if BR2_PACKAGE_LIBGTK3_X11 - select BR2_PACKAGE_GRANITE - select BR2_PACKAGE_LIBSOUP - select BR2_PACKAGE_LIBSOUP_GNOME - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_SQLITE - select BR2_PACKAGE_WEBKITGTK - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - Midori is a lightweight web browser based on WebKit - - http://www.midori-browser.org/ diff --git a/buildroot-2021.05/package/midori/midori.hash b/buildroot-2021.05/package/midori/midori.hash deleted file mode 100644 index d8fd1b7a..00000000 --- a/buildroot-2021.05/package/midori/midori.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From download link @ http://midori-browser.org/download/source/ -sha1 64c86935028feb5f89d799c2acacaad67764da6f midori_0.5.11_all_.tar.bz2 - -# Locally computed -sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2021.05/package/midori/midori.mk b/buildroot-2021.05/package/midori/midori.mk deleted file mode 100644 index eebec815..00000000 --- a/buildroot-2021.05/package/midori/midori.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# midori -# -################################################################################ - -MIDORI_VERSION = 0.5.11 -MIDORI_SOURCE = midori_$(MIDORI_VERSION)_all_.tar.bz2 -MIDORI_SITE = http://midori-browser.org/downloads -MIDORI_LICENSE = LGPL-2.1+ -MIDORI_LICENSE_FILES = COPYING -MIDORI_CPE_ID_VENDOR = midori-browser -MIDORI_DEPENDENCIES = \ - host-intltool \ - host-librsvg \ - host-pkgconf \ - host-vala \ - host-python \ - $(if $(BR2_PACKAGE_LIBGTK3_X11),gcr) \ - granite \ - libgtk3 \ - libsoup \ - libxml2 \ - sqlite \ - webkitgtk \ - $(TARGET_NLS_DEPENDENCIES) \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) - -MIDORI_CONF_OPTS = \ - -DHALF_BRO_INCOM_WEBKIT2=ON \ - -DUSE_GRANITE=ON \ - -DUSE_GTK3=ON \ - -DUSE_ZEITGEIST=OFF - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/minicom/minicom.mk b/buildroot-2021.05/package/minicom/minicom.mk deleted file mode 100644 index b81ee521..00000000 --- a/buildroot-2021.05/package/minicom/minicom.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# minicom -# -################################################################################ - -MINICOM_VERSION = 2.8 -MINICOM_SOURCE = minicom-$(MINICOM_VERSION).tar.bz2 -MINICOM_SITE = \ - https://salsa.debian.org/minicom-team/minicom/-/archive/$(MINICOM_VERSION) -MINICOM_LICENSE = GPL-2.0+ -MINICOM_LICENSE_FILES = COPYING -MINICOM_CPE_ID_VENDOR = minicom_project -MINICOM_AUTORECONF = YES - -MINICOM_DEPENDENCIES = ncurses $(if $(BR2_ENABLE_LOCALE),,libiconv) \ - $(TARGET_NLS_DEPENDENCIES) host-pkgconf -# add host-gettext for AM_ICONV macro -MINICOM_DEPENDENCIES += host-gettext - -MINICOM_CONF_OPTS = \ - --enable-dfl-port=/dev/ttyS1 \ - --enable-lock-dir=/var/lock - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/minidlna/minidlna.mk b/buildroot-2021.05/package/minidlna/minidlna.mk deleted file mode 100644 index 86a2bb36..00000000 --- a/buildroot-2021.05/package/minidlna/minidlna.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# minidlna -# -################################################################################ - -MINIDLNA_VERSION = 1.3.0 -MINIDLNA_SITE = https://downloads.sourceforge.net/project/minidlna/minidlna/$(MINIDLNA_VERSION) -MINIDLNA_LICENSE = GPL-2.0, BSD-3-Clause -MINIDLNA_LICENSE_FILES = COPYING LICENCE.miniupnpd -MINIDLNA_CPE_ID_VENDOR = readymedia_project -MINIDLNA_CPE_ID_PRODUCT = readymedia - -MINIDLNA_DEPENDENCIES = \ - $(TARGET_NLS_DEPENDENCIES) \ - ffmpeg flac libvorbis libogg libid3tag libexif jpeg sqlite \ - host-xutil_makedepend - -MINIDLNA_CONF_OPTS = \ - --disable-static - -define MINIDLNA_INSTALL_CONF - $(INSTALL) -D -m 644 $(@D)/minidlna.conf $(TARGET_DIR)/etc/minidlna.conf -endef - -MINIDLNA_POST_INSTALL_TARGET_HOOKS += MINIDLNA_INSTALL_CONF - -define MINIDLNA_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/minidlna/S60minidlnad \ - $(TARGET_DIR)/etc/init.d/S60minidlnad -endef - -define MINIDLNA_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/minidlna/minidlnad.service \ - $(TARGET_DIR)/usr/lib/systemd/system/minidlnad.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/minissdpd/minissdpd.hash b/buildroot-2021.05/package/minissdpd/minissdpd.hash deleted file mode 100644 index 385a5a0c..00000000 --- a/buildroot-2021.05/package/minissdpd/minissdpd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 177ab1907cc0fd20c8cafd13ca8674c7ec1828aa6101da9bb066408ccada7350 minissdpd-1.5.20200928.tar.gz -sha256 00c8368dd1574b025df65f24f61c32d1297ff9b6dc695fda964b1b1efc7a53d3 LICENSE diff --git a/buildroot-2021.05/package/minissdpd/minissdpd.mk b/buildroot-2021.05/package/minissdpd/minissdpd.mk deleted file mode 100644 index 214af763..00000000 --- a/buildroot-2021.05/package/minissdpd/minissdpd.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# minissdpd -# -################################################################################ - -MINISSDPD_VERSION = 1.5.20200928 -MINISSDPD_SITE = http://miniupnp.free.fr/files -MINISSDPD_LICENSE = BSD-3-Clause -MINISSDPD_LICENSE_FILES = LICENSE -MINISSDPD_CPE_ID_VENDOR = miniupnp_project -MINISSDPD_DEPENDENCIES = libnfnetlink - -define MINISSDPD_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ - -C $(@D) -endef - -define MINISSDPD_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - PREFIX=$(TARGET_DIR) install -endef - -# Use dedicated init scripts for systemV and systemd instead of using -# minissdpd.init.d.script as it is not compatible with buildroot init system -define MINISSDPD_INSTALL_INIT_SYSV - $(RM) $(TARGET_DIR)/etc/init.d/minissdpd - $(INSTALL) -D -m 0755 package/minissdpd/S50minissdpd \ - $(TARGET_DIR)/etc/init.d/S50minissdpd -endef - -define MINISSDPD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/minissdpd/minissdpd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/minissdpd.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/minizip/minizip.hash b/buildroot-2021.05/package/minizip/minizip.hash deleted file mode 100644 index f150770a..00000000 --- a/buildroot-2021.05/package/minizip/minizip.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 c2889690b1a1f55898d37d3fb51f05183a4861fb7d53ab702c6a5777bf232b75 minizip-2.10.6.tar.gz -sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE diff --git a/buildroot-2021.05/package/minizip/minizip.mk b/buildroot-2021.05/package/minizip/minizip.mk deleted file mode 100644 index 53f33fb9..00000000 --- a/buildroot-2021.05/package/minizip/minizip.mk +++ /dev/null @@ -1,74 +0,0 @@ -################################################################################ -# -# minizip -# -################################################################################ - -MINIZIP_VERSION = 2.10.6 -MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) -MINIZIP_DEPENDENCIES = host-pkgconf -MINIZIP_INSTALL_STAGING = YES -MINIZIP_CONF_OPTS = \ - $(if $(BR2_PACKAGE_MINIZIP_DEMOS),-DMZ_BUILD_TEST=ON) \ - -DMZ_COMPAT=OFF \ - -DMZ_FETCH_LIBS=OFF -MINIZIP_LICENSE = Zlib -MINIZIP_LICENSE_FILES = LICENSE -MINIZIP_CPE_ID_VENDOR = minizip_project - -ifeq ($(BR2_PACKAGE_BZIP2),y) -MINIZIP_DEPENDENCIES += bzip2 -MINIZIP_CONF_OPTS += -DMZ_BZIP2=ON -else -MINIZIP_CONF_OPTS += -DMZ_BZIP2=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -MINIZIP_DEPENDENCIES += libiconv -MINIZIP_CONF_OPTS += -DMZ_ICONV=ON -else -MINIZIP_CONF_OPTS += -DMZ_ICONV=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBBSD),y) -MINIZIP_DEPENDENCIES += libbsd -MINIZIP_CONF_OPTS += -DMZ_LIBBSD=ON -else -MINIZIP_CONF_OPTS += -DMZ_LIBBSD=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -MINIZIP_DEPENDENCIES += openssl -MINIZIP_CONF_OPTS += \ - -DMZ_OPENSSL=ON \ - -DMZ_PKCRYPT=ON \ - -DMZ_WZAES=ON -else -MINIZIP_CONF_OPTS += \ - -DMZ_OPENSSL=OFF \ - -DMZ_PKCRYPT=OFF \ - -DMZ_WZAES=OFF -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -MINIZIP_DEPENDENCIES += xz -MINIZIP_CONF_OPTS += -DMZ_LZMA=ON -else -MINIZIP_CONF_OPTS += -DMZ_LZMA=OFF -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -MINIZIP_DEPENDENCIES += zlib -MINIZIP_CONF_OPTS += -DMZ_ZLIB=ON -else -MINIZIP_CONF_OPTS += -DMZ_ZLIB=OFF -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -MINIZIP_DEPENDENCIES += zstd -MINIZIP_CONF_OPTS += -DMZ_ZSTD=ON -else -MINIZIP_CONF_OPTS += -DMZ_ZSTD=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/mjpegtools/0001-PROGRAM_NOPIC-apparently-causes-problems-on-some-x86_64-systems.patch b/buildroot-2021.05/package/mjpegtools/0001-PROGRAM_NOPIC-apparently-causes-problems-on-some-x86_64-systems.patch deleted file mode 100644 index f5de8ee9..00000000 --- a/buildroot-2021.05/package/mjpegtools/0001-PROGRAM_NOPIC-apparently-causes-problems-on-some-x86_64-systems.patch +++ /dev/null @@ -1,73 +0,0 @@ -From e69557bea18eb7c3069c9527cc30f7cd91be27b7 Mon Sep 17 00:00:00 2001 -From: sms00 -Date: Thu, 28 Nov 2013 22:39:41 +0000 -Subject: [PATCH] PROGRAM_NOPIC apparently causes problems on some x86_64 - systems, has little to no performance effect on x86_64 systems and even on - x86 systems most programs are I/O bound anyhow. So remove the 4 uses of the - flag - -git-svn-id: https://svn.code.sf.net/p/mjpeg/Code/trunk/mjpeg_play@3359 3be20b7b-d6de-45d7-9b51-1db703c412de - -[Retrieved (and backported by removing INSTALL updates) from: -https://github.com/jaystevens/mjpegtools/commit/e69557bea18eb7c3069c9527cc30f7cd91be27b7] -Signed-off-by: Fabrice Fontaine ---- - y4mdenoise/Makefile.am | 4 +- - y4munsharp/Makefile.am | 2 +- - y4mutils/Makefile.am | 2 +- - yuvscaler/Makefile.am | 2 +- - 5 files changed, 26 insertions(+), 94 deletions(-) - -diff --git a/y4mdenoise/Makefile.am b/y4mdenoise/Makefile.am -index dee9064f..d7fa76e2 100644 ---- a/y4mdenoise/Makefile.am -+++ b/y4mdenoise/Makefile.am -@@ -4,8 +4,8 @@ MAINTAINERCLEANFILES = Makefile.in - - EXTRA_DIST = implementation.html - --AM_CFLAGS = -DNDEBUG -finline-functions @PROGRAM_NOPIC@ --AM_CXXFLAGS = -DNDEBUG -finline-functions @PROGRAM_NOPIC@ -+AM_CFLAGS = -DNDEBUG -finline-functions -+AM_CXXFLAGS = -DNDEBUG -finline-functions - - INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/utils - -diff --git a/y4munsharp/Makefile.am b/y4munsharp/Makefile.am -index a7f98acc..f99ff5cf 100644 ---- a/y4munsharp/Makefile.am -+++ b/y4munsharp/Makefile.am -@@ -4,7 +4,7 @@ MAINTAINERCLEANFILES = Makefile.in - - INCLUDES = -I $(top_srcdir)/utils -I $(top_srcdir) - --y4munharp_CFLAGS=@PROGRAM_NOPIC@ -+y4munharp_CFLAGS= - - bin_PROGRAMS = y4munsharp - -diff --git a/y4mutils/Makefile.am b/y4mutils/Makefile.am -index f3b0a671..7b8b1881 100644 ---- a/y4mutils/Makefile.am -+++ b/y4mutils/Makefile.am -@@ -2,7 +2,7 @@ - - MAINTAINERCLEANFILES = Makefile.in - --AM_CFLAGS = @PROGRAM_NOPIC@ -+AM_CFLAGS = - AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/utils - - LIBMJPEGUTILS = $(top_builddir)/utils/libmjpegutils.la -diff --git a/yuvscaler/Makefile.am b/yuvscaler/Makefile.am -index 1fe4d757..6d2adaca 100644 ---- a/yuvscaler/Makefile.am -+++ b/yuvscaler/Makefile.am -@@ -18,6 +18,6 @@ noinst_HEADERS = \ - - EXTRA_DIST = yuvscaler_implementation.txt - --yuvscaler_CFLAGS=@PROGRAM_NOPIC@ -+yuvscaler_CFLAGS= - yuvscaler_SOURCES = yuvscaler.c yuvscaler_resample.c yuvscaler_bicubic.c - yuvscaler_LDADD = $(LIBMJPEGUTILS) $(LIBM_LIBS) diff --git a/buildroot-2021.05/package/mjpegtools/mjpegtools.hash b/buildroot-2021.05/package/mjpegtools/mjpegtools.hash deleted file mode 100644 index 76e9403f..00000000 --- a/buildroot-2021.05/package/mjpegtools/mjpegtools.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://sourceforge.net/projects/mjpeg/files/mjpegtools/2.1.0/ -md5 57bf5dd78976ca9bac972a6511b236f3 mjpegtools-2.1.0.tar.gz -sha1 b9effa86280e23d67369e842e5cb645948583097 mjpegtools-2.1.0.tar.gz -# Locally computed -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/mjpegtools/mjpegtools.mk b/buildroot-2021.05/package/mjpegtools/mjpegtools.mk deleted file mode 100644 index e2c6b7d8..00000000 --- a/buildroot-2021.05/package/mjpegtools/mjpegtools.mk +++ /dev/null @@ -1,65 +0,0 @@ -################################################################################ -# -# mjpegtools -# -################################################################################ - -MJPEGTOOLS_VERSION = 2.1.0 -MJPEGTOOLS_SITE = http://sourceforge.net/projects/mjpeg/files/mjpegtools/$(MJPEGTOOLS_VERSION) -MJPEGTOOLS_DEPENDENCIES = host-pkgconf jpeg -MJPEGTOOLS_INSTALL_STAGING = YES -MJPEGTOOLS_LICENSE = GPL-2.0+ -MJPEGTOOLS_LICENSE_FILES = COPYING -# We're patching Makefile.am -MJPEGTOOLS_AUTORECONF = YES - -ifeq ($(BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT),y) -MJPEGTOOLS_CONF_OPTS += --enable-simd-accel -else -MJPEGTOOLS_CONF_OPTS += --disable-simd-accel -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -MJPEGTOOLS_CONF_OPTS += --with-libpng -MJPEGTOOLS_DEPENDENCIES += libpng -else -MJPEGTOOLS_CONF_OPTS += --without-libpng -endif - -# expects X11 backend in sdl -ifeq ($(BR2_PACKAGE_SDL_X11),y) -MJPEGTOOLS_CONF_OPTS += --with-libsdl -MJPEGTOOLS_DEPENDENCIES += sdl -else -MJPEGTOOLS_CONF_OPTS += --without-libsdl -endif - -ifeq ($(BR2_PACKAGE_SDL_GFX),y) -MJPEGTOOLS_CONF_OPTS += --with-sdlgfx -MJPEGTOOLS_DEPENDENCIES += sdl_gfx -else -MJPEGTOOLS_CONF_OPTS += --without-sdlgfx -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) -MJPEGTOOLS_CONF_OPTS += --with-x -MJPEGTOOLS_DEPENDENCIES += xlib_libX11 -else -MJPEGTOOLS_CONF_OPTS += --without-x -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86DGA),y) -MJPEGTOOLS_CONF_OPTS += --with-dga -MJPEGTOOLS_DEPENDENCIES += xlib_libXxf86dga -else -MJPEGTOOLS_CONF_OPTS += --without-dga -endif - -ifeq ($(BR2_PACKAGE_LIBGTK2),y) -MJPEGTOOLS_CONF_OPTS += --with-gtk -MJPEGTOOLS_DEPENDENCIES += libgtk2 -else -MJPEGTOOLS_CONF_OPTS += --without-gtk -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mkpasswd/mkpasswd.c b/buildroot-2021.05/package/mkpasswd/mkpasswd.c deleted file mode 100644 index fd162304..00000000 --- a/buildroot-2021.05/package/mkpasswd/mkpasswd.c +++ /dev/null @@ -1,461 +0,0 @@ -/* - * Copyright (C) 2001-2008 Marco d'Itri - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - */ - -/* for crypt, snprintf and strcasecmp */ -#define _XOPEN_SOURCE -#define _BSD_SOURCE - -/* System library */ -#include -#include -#include -#include "config.h" -#ifdef HAVE_GETOPT_LONG -#include -#endif -#include -#include -#include -#include -#ifdef HAVE_XCRYPT -#include -#include -#endif -#ifdef HAVE_LINUX_CRYPT_GENSALT -#define _OW_SOURCE -#include -#endif -#ifdef HAVE_GETTIMEOFDAY -#include -#endif - -/* glibc without crypt() */ -#ifndef _XOPEN_CRYPT -#include -#endif - -/* Application-specific */ -#include "utils.h" - -/* Global variables */ -#ifdef HAVE_GETOPT_LONG -static const struct option longopts[] = { - {"method", optional_argument, NULL, 'm'}, - /* for backward compatibility with versions < 4.7.25 (< 20080321): */ - {"hash", optional_argument, NULL, 'H'}, - {"help", no_argument, NULL, 'h'}, - {"password-fd", required_argument, NULL, 'P'}, - {"stdin", no_argument, NULL, 's'}, - {"salt", required_argument, NULL, 'S'}, - {"rounds", required_argument, NULL, 'R'}, - {"version", no_argument, NULL, 'V'}, - {NULL, 0, NULL, 0 } -}; -#else -extern char *optarg; -extern int optind; -#endif - -static const char valid_salts[] = "abcdefghijklmnopqrstuvwxyz" -"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./"; - -struct crypt_method { - const char *method; /* short name used by the command line option */ - const char *prefix; /* salt prefix */ - const unsigned int minlen; /* minimum salt length */ - const unsigned int maxlen; /* maximum salt length */ - const unsigned int rounds; /* supports a variable number of rounds */ - const char *desc; /* long description for the methods list */ -}; - -static const struct crypt_method methods[] = { - /* method prefix minlen, maxlen rounds description */ - { "des", "", 2, 2, 0, - N_("standard 56 bit DES-based crypt(3)") }, - { "md5", "$1$", 8, 8, 0, "MD5" }, -#if defined OpenBSD || defined FreeBSD || (defined __SVR4 && defined __sun) - { "bf", "$2a$", 22, 22, 1, "Blowfish" }, -#endif -#if defined HAVE_LINUX_CRYPT_GENSALT - { "bf", "$2a$", 22, 22, 1, "Blowfish, system-specific on 8-bit chars" }, - /* algorithm 2y fixes CVE-2011-2483 */ - { "bfy", "$2y$", 22, 22, 1, "Blowfish, correct handling of 8-bit chars" }, -#endif -#if defined FreeBSD - { "nt", "$3$", 0, 0, 0, "NT-Hash" }, -#endif -#if defined HAVE_SHA_CRYPT - /* http://people.redhat.com/drepper/SHA-crypt.txt */ - { "sha-256", "$5$", 8, 16, 1, "SHA-256" }, - { "sha-512", "$6$", 8, 16, 1, "SHA-512" }, -#endif - /* http://www.crypticide.com/dropsafe/article/1389 */ - /* - * Actually the maximum salt length is arbitrary, but Solaris by default - * always uses 8 characters: - * http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/ \ - * usr/src/lib/crypt_modules/sunmd5/sunmd5.c#crypt_gensalt_impl - */ -#if defined __SVR4 && defined __sun - { "sunmd5", "$md5$", 8, 8, 1, "SunMD5" }, -#endif - { NULL, NULL, 0, 0, 0, NULL } -}; - -void generate_salt(char *const buf, const unsigned int len); -void *get_random_bytes(const int len); -void display_help(int error); -void display_version(void); -void display_methods(void); - -int main(int argc, char *argv[]) -{ - int ch, i; - int password_fd = -1; - unsigned int salt_minlen = 0; - unsigned int salt_maxlen = 0; - unsigned int rounds_support = 0; - const char *salt_prefix = NULL; - const char *salt_arg = NULL; - unsigned int rounds = 0; - char *salt = NULL; - char rounds_str[30]; - char *password = NULL; - -#ifdef ENABLE_NLS - setlocale(LC_ALL, ""); - bindtextdomain(NLS_CAT_NAME, LOCALEDIR); - textdomain(NLS_CAT_NAME); -#endif - - /* prepend options from environment */ - argv = merge_args(getenv("MKPASSWD_OPTIONS"), argv, &argc); - - while ((ch = GETOPT_LONGISH(argc, argv, "hH:m:5P:R:sS:V", longopts, 0)) - > 0) { - switch (ch) { - case '5': - optarg = (char *) "md5"; - /* fall through */ - case 'm': - case 'H': - if (!optarg || strcaseeq("help", optarg)) { - display_methods(); - exit(0); - } - for (i = 0; methods[i].method != NULL; i++) - if (strcaseeq(methods[i].method, optarg)) { - salt_prefix = methods[i].prefix; - salt_minlen = methods[i].minlen; - salt_maxlen = methods[i].maxlen; - rounds_support = methods[i].rounds; - break; - } - if (!salt_prefix) { - fprintf(stderr, _("Invalid method '%s'.\n"), optarg); - exit(1); - } - break; - case 'P': - { - char *p; - password_fd = strtol(optarg, &p, 10); - if (p == NULL || *p != '\0' || password_fd < 0) { - fprintf(stderr, _("Invalid number '%s'.\n"), optarg); - exit(1); - } - } - break; - case 'R': - { - char *p; - rounds = strtol(optarg, &p, 10); - if (p == NULL || *p != '\0' || rounds < 0) { - fprintf(stderr, _("Invalid number '%s'.\n"), optarg); - exit(1); - } - } - break; - case 's': - password_fd = 0; - break; - case 'S': - salt_arg = optarg; - break; - case 'V': - display_version(); - exit(0); - case 'h': - display_help(EXIT_SUCCESS); - default: - fprintf(stderr, _("Try '%s --help' for more information.\n"), - argv[0]); - exit(1); - } - } - argc -= optind; - argv += optind; - - if (argc == 2 && !salt_arg) { - password = argv[0]; - salt_arg = argv[1]; - } else if (argc == 1) { - password = argv[0]; - } else if (argc == 0) { - } else { - display_help(EXIT_FAILURE); - } - - /* default: DES password */ - if (!salt_prefix) { - salt_minlen = methods[0].minlen; - salt_maxlen = methods[0].maxlen; - salt_prefix = methods[0].prefix; - } - - if (streq(salt_prefix, "$2a$") || streq(salt_prefix, "$2y$")) { - /* OpenBSD Blowfish and derivatives */ - if (rounds <= 5) - rounds = 5; - /* actually for 2a/2y it is the logarithm of the number of rounds */ - snprintf(rounds_str, sizeof(rounds_str), "%02u$", rounds); - } else if (rounds_support && rounds) - snprintf(rounds_str, sizeof(rounds_str), "rounds=%u$", rounds); - else - rounds_str[0] = '\0'; - - if (salt_arg) { - unsigned int c = strlen(salt_arg); - if (c < salt_minlen || c > salt_maxlen) { - if (salt_minlen == salt_maxlen) - fprintf(stderr, ngettext( - "Wrong salt length: %d byte when %d expected.\n", - "Wrong salt length: %d bytes when %d expected.\n", c), - c, salt_maxlen); - else - fprintf(stderr, ngettext( - "Wrong salt length: %d byte when %d <= n <= %d" - " expected.\n", - "Wrong salt length: %d bytes when %d <= n <= %d" - " expected.\n", c), - c, salt_minlen, salt_maxlen); - exit(1); - } - while (c-- > 0) { - if (strchr(valid_salts, salt_arg[c]) == NULL) { - fprintf(stderr, _("Illegal salt character '%c'.\n"), - salt_arg[c]); - exit(1); - } - } - - salt = NOFAIL(malloc(strlen(salt_prefix) + strlen(rounds_str) - + strlen(salt_arg) + 1)); - *salt = '\0'; - strcat(salt, salt_prefix); - strcat(salt, rounds_str); - strcat(salt, salt_arg); - } else { -#ifdef HAVE_SOLARIS_CRYPT_GENSALT -#error "This code path is untested on Solaris. Please send a patch." - salt = crypt_gensalt(salt_prefix, NULL); - if (!salt) - perror(stderr, "crypt_gensalt"); -#elif defined HAVE_LINUX_CRYPT_GENSALT - void *entropy = get_random_bytes(64); - - salt = crypt_gensalt(salt_prefix, rounds, entropy, 64); - if (!salt) { - fprintf(stderr, "crypt_gensalt failed.\n"); - exit(2); - } - free(entropy); -#else - unsigned int salt_len = salt_maxlen; - - if (salt_minlen != salt_maxlen) { /* salt length can vary */ - srand(time(NULL) + getpid()); - salt_len = rand() % (salt_maxlen - salt_minlen + 1) + salt_minlen; - } - - salt = NOFAIL(malloc(strlen(salt_prefix) + strlen(rounds_str) - + salt_len + 1)); - *salt = '\0'; - strcat(salt, salt_prefix); - strcat(salt, rounds_str); - generate_salt(salt + strlen(salt), salt_len); -#endif - } - - if (password) { - } else if (password_fd != -1) { - FILE *fp; - char *p; - - if (isatty(password_fd)) - fprintf(stderr, _("Password: ")); - password = NOFAIL(malloc(128)); - fp = fdopen(password_fd, "r"); - if (!fp) { - perror("fdopen"); - exit(2); - } - if (!fgets(password, 128, fp)) { - perror("fgets"); - exit(2); - } - - p = strpbrk(password, "\n\r"); - if (p) - *p = '\0'; - } else { - password = getpass(_("Password: ")); - if (!password) { - perror("getpass"); - exit(2); - } - } - - { - const char *result; - result = crypt(password, salt); - /* xcrypt returns "*0" on errors */ - if (!result || result[0] == '*') { - fprintf(stderr, "crypt failed.\n"); - exit(2); - } - /* yes, using strlen(salt_prefix) on salt. It's not - * documented whether crypt_gensalt may change the prefix */ - if (!strneq(result, salt, strlen(salt_prefix))) { - fprintf(stderr, _("Method not supported by crypt(3).\n")); - exit(2); - } - printf("%s\n", result); - } - - exit(0); -} - -#ifdef RANDOM_DEVICE -void* get_random_bytes(const int count) -{ - char *buf; - int fd; - - buf = NOFAIL(malloc(count)); - fd = open(RANDOM_DEVICE, O_RDONLY); - if (fd < 0) { - perror("open(" RANDOM_DEVICE ")"); - exit(2); - } - if (read(fd, buf, count) != count) { - if (count < 0) - perror("read(" RANDOM_DEVICE ")"); - else - fprintf(stderr, "Short read of %s.\n", RANDOM_DEVICE); - exit(2); - } - close(fd); - - return buf; -} -#endif - -#ifdef RANDOM_DEVICE - -void generate_salt(char *const buf, const unsigned int len) -{ - unsigned int i; - - unsigned char *entropy = get_random_bytes(len * sizeof(unsigned char)); - for (i = 0; i < len; i++) - buf[i] = valid_salts[entropy[i] % (sizeof valid_salts - 1)]; - buf[i] = '\0'; -} - -#else /* RANDOM_DEVICE */ - -void generate_salt(char *const buf, const unsigned int len) -{ - unsigned int i; - -# ifdef HAVE_GETTIMEOFDAY - struct timeval tv; - - gettimeofday(&tv, NULL); - srand(tv.tv_sec ^ tv.tv_usec); - -# else /* HAVE_GETTIMEOFDAY */ -# warning "This system lacks a strong enough random numbers generator!" - - /* - * The possible values of time over one year are 31536000, which is - * two orders of magnitude less than the allowed entropy range (2^32). - */ - srand(time(NULL) + getpid()); - -# endif /* HAVE_GETTIMEOFDAY */ - - for (i = 0; i < len; i++) - buf[i] = valid_salts[rand() % (sizeof valid_salts - 1)]; - buf[i] = '\0'; -} - -#endif /* RANDOM_DEVICE */ - -void display_help(int error) -{ - fprintf((EXIT_SUCCESS == error) ? stdout : stderr, - _("Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n" - "Crypts the PASSWORD using crypt(3).\n\n")); - fprintf(stderr, _( -" -m, --method=TYPE select method TYPE\n" -" -5 like --method=md5\n" -" -S, --salt=SALT use the specified SALT\n" -" -R, --rounds=NUMBER use the specified NUMBER of rounds\n" -" -P, --password-fd=NUM read the password from file descriptor NUM\n" -" instead of /dev/tty\n" -" -s, --stdin like --password-fd=0\n" -" -h, --help display this help and exit\n" -" -V, --version output version information and exit\n" -"\n" -"If PASSWORD is missing then it is asked interactively.\n" -"If no SALT is specified, a random one is generated.\n" -"If TYPE is 'help', available methods are printed.\n" -"\n" -"Report bugs to %s.\n"), ""); - exit(error); -} - -void display_version(void) -{ - printf("mkpasswd %s\n\n", VERSION); - puts("Copyright (C) 2001-2008 Marco d'Itri\n" -"This is free software; see the source for copying conditions. There is NO\n" -"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."); -} - -void display_methods(void) -{ - unsigned int i; - - printf(_("Available methods:\n")); - for (i = 0; methods[i].method != NULL; i++) - printf("%s\t%s\n", methods[i].method, methods[i].desc); -} - diff --git a/buildroot-2021.05/package/mksh/Config.in b/buildroot-2021.05/package/mksh/Config.in deleted file mode 100644 index e6ccc906..00000000 --- a/buildroot-2021.05/package/mksh/Config.in +++ /dev/null @@ -1,25 +0,0 @@ -config BR2_PACKAGE_MKSH - bool "mksh" - depends on BR2_USE_MMU # fork() - help - The MirBSD Korn Shell, - - mksh is a successor of pdksh but not affiliated with the - pdksh developers or contributors. mksh is not affiliated - with the AT&T Korn Shell, its past or present owners, - other than that both attempt to implement the Korn Shell - programming language. - - mksh targets users who desire a compact, fast, reliable, - secure shell not cut off modern extensions; a shell with - Unicode support; an actively developed, current, and - portable product; one with developers that listen to - their users' requests and implement them if they - actually make sense. - - mksh aims to replace pdksh in all but very rare use cases - (such as support for checking the Unix mbox) and in all - operating environments - (thus including patches from pdksh on e.g. Debian). - - http://mirbsd.de/mksh diff --git a/buildroot-2021.05/package/mksh/mksh.mk b/buildroot-2021.05/package/mksh/mksh.mk deleted file mode 100644 index 386b1bd0..00000000 --- a/buildroot-2021.05/package/mksh/mksh.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# mksh -# -################################################################################ - -MKSH_VERSION = 59c -MKSH_SOURCE = mksh-R$(MKSH_VERSION).tgz -MKSH_SITE = https://www.mirbsd.org/MirOS/dist/mir/mksh -# For MirOS License see https://www.mirbsd.org/TaC-mksh.txt -MKSH_LICENSE = MirOS, ISC -MKSH_LICENSE_FILES = mksh.1 - -define MKSH_BUILD_CMDS - cd $(@D) && $(TARGET_MAKE_ENV) \ - TARGET_OS=Linux $(TARGET_CONFIGURE_OPTS) \ - sh ./Build.sh -endef - -define MKSH_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/mksh $(TARGET_DIR)/bin/mksh -endef - -# Add /bin/mksh to /etc/shells otherwise some login tools like dropbear -# can reject the user connection. See man shells. -define MKSH_ADD_MKSH_TO_SHELLS - grep -qsE '^/bin/mksh$$' $(TARGET_DIR)/etc/shells \ - || echo "/bin/mksh" >> $(TARGET_DIR)/etc/shells -endef -MKSH_TARGET_FINALIZE_HOOKS += MKSH_ADD_MKSH_TO_SHELLS - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mmc-utils/mmc-utils.mk b/buildroot-2021.05/package/mmc-utils/mmc-utils.mk deleted file mode 100644 index 8c264a45..00000000 --- a/buildroot-2021.05/package/mmc-utils/mmc-utils.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# mmc-utils -# -################################################################################ - -MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 -MMC_UTILS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git -MMC_UTILS_LICENSE = GPL-2.0 -MMC_UTILS_LICENSE_FILES = mmc.h - -# override AM_CFLAGS as the project Makefile uses it to pass -# -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2, and the latter conflicts -# with the _FORTIFY_SOURCE that we pass when hardening options are -# enabled. -define MMC_UTILS_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) AM_CFLAGS= -endef - -define MMC_UTILS_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D) prefix=/usr DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/moarvm/Config.in b/buildroot-2021.05/package/moarvm/Config.in deleted file mode 100644 index acef8f5d..00000000 --- a/buildroot-2021.05/package/moarvm/Config.in +++ /dev/null @@ -1,30 +0,0 @@ -config BR2_PACKAGE_MOARVM - bool "moarvm" - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv - depends on !BR2_STATIC_LIBS # libuv - depends on BR2_USE_MMU # libuv - depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops - # needs AO_fetch_compare_and_swap, not implemented for sparcv8/sparcv9 - depends on !BR2_sparc64 && !BR2_sparc - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv - select BR2_PACKAGE_LIBUV - select BR2_PACKAGE_LIBTOMMATH - select BR2_PACKAGE_LIBATOMIC_OPS - # dyncall does not work on MIPS; libffi needs to be used. - # See: https://github.com/MoarVM/MoarVM/issues/222 - # dyncall does not work also on powerpc64 and powerpc64le - select BR2_PACKAGE_LIBFFI if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_powerpc64 || BR2_powerpc64le - select BR2_PACKAGE_ZSTD - help - Short for "Metamodel On A Runtime", MoarVM is a virtual - machine built especially for Rakudo Perl 6 and the NQP - Compiler Toolchain. - - http://moarvm.com - -comment "moarvm needs a toolchain w/ NPTL, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS - depends on BR2_USE_MMU - depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS - depends on !BR2_sparc64 && !BR2_sparc - depends on BR2_TOOLCHAIN_HAS_SYNC_4 diff --git a/buildroot-2021.05/package/moarvm/moarvm.hash b/buildroot-2021.05/package/moarvm/moarvm.hash deleted file mode 100644 index 5464c4e1..00000000 --- a/buildroot-2021.05/package/moarvm/moarvm.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 e094728536da421dc9a3e8651160ab6a5e8d0eafa834e8953feecf33285a11e7 MoarVM-2021.04.tar.gz -sha256 c53c6b96081b0a5b9b2fb4d0133d55c20e5e00e4c127ade62f03434ee7b3d2de Artistic2.txt diff --git a/buildroot-2021.05/package/moarvm/moarvm.mk b/buildroot-2021.05/package/moarvm/moarvm.mk deleted file mode 100644 index b6b9b690..00000000 --- a/buildroot-2021.05/package/moarvm/moarvm.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# moarvm -# -################################################################################ - -MOARVM_VERSION = 2021.04 -MOARVM_SITE = http://moarvm.com/releases -MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz -MOARVM_LICENSE = Artistic-2.0 -MOARVM_LICENSE_FILES = Artistic2.txt -MOARVM_INSTALL_STAGING = YES -MOARVM_DEPENDENCIES = host-pkgconf libuv libtommath libatomic_ops zstd - -MOARVM_CONF_OPTS = \ - --build=$(GNU_HOST_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --ar="$(TARGET_AR)" \ - --cc="$(TARGET_CC)" \ - --ld="$(TARGET_CC)" \ - --prefix="/usr" \ - --pkgconfig=$(PKG_CONFIG_HOST_BINARY) \ - --has-libuv \ - --has-libtommath \ - --has-libatomic - -ifeq ($(BR2_PACKAGE_LIBFFI),y) -MOARVM_CONF_OPTS += --has-libffi -MOARVM_DEPENDENCIES += libffi -endif - -ifeq ($(BR2_ENDIAN),"BIG") -MOARVM_CONF_OPTS += --big-endian -endif - -define MOARVM_CONFIGURE_CMDS - (cd $(@D); $(TARGET_MAKE_ENV) perl Configure.pl $(MOARVM_CONF_OPTS)) -endef - -define MOARVM_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define MOARVM_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install -endef - -define MOARVM_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/modem-manager/modem-manager.hash b/buildroot-2021.05/package/modem-manager/modem-manager.hash deleted file mode 100644 index 39cdf8cc..00000000 --- a/buildroot-2021.05/package/modem-manager/modem-manager.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 167e60b26fa05887f87a0b3fb54143d7845e6e4d8c2f2dd93afac059f41e7edf ModemManager-1.16.4.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/modem-manager/modem-manager.mk b/buildroot-2021.05/package/modem-manager/modem-manager.mk deleted file mode 100644 index 9377d9a9..00000000 --- a/buildroot-2021.05/package/modem-manager/modem-manager.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# modem-manager -# -################################################################################ - -MODEM_MANAGER_VERSION = 1.16.4 -MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz -MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager -MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib) -MODEM_MANAGER_LICENSE_FILES = COPYING COPYING.LIB -MODEM_MANAGER_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES) -MODEM_MANAGER_INSTALL_STAGING = YES -MODEM_MANAGER_CONF_OPTS = --disable-more-warnings - -ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y) -MODEM_MANAGER_DEPENDENCIES += libqmi -MODEM_MANAGER_CONF_OPTS += --with-qmi -else -MODEM_MANAGER_CONF_OPTS += --without-qmi -endif - -ifeq ($(BR2_PACKAGE_LIBGUDEV),y) -MODEM_MANAGER_DEPENDENCIES += libgudev -MODEM_MANAGER_CONF_OPTS += --with-udev -else -MODEM_MANAGER_CONF_OPTS += --without-udev -endif - -ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBMBIM),y) -MODEM_MANAGER_DEPENDENCIES += libmbim -MODEM_MANAGER_CONF_OPTS += --with-mbim -else -MODEM_MANAGER_CONF_OPTS += --without-mbim -endif - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -MODEM_MANAGER_DEPENDENCIES += gobject-introspection -MODEM_MANAGER_CONF_OPTS += --enable-introspection -else -MODEM_MANAGER_CONF_OPTS += --disable-introspection -endif - -define MODEM_MANAGER_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/modem-manager/S44modem-manager \ - $(TARGET_DIR)/etc/init.d/S44modem-manager -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mongodb/Config.in b/buildroot-2021.05/package/mongodb/Config.in deleted file mode 100644 index 493c5924..00000000 --- a/buildroot-2021.05/package/mongodb/Config.in +++ /dev/null @@ -1,41 +0,0 @@ -# from https://docs.mongodb.com/manual/installation/#supported-platforms -config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS - bool - # ARM needs LDREX/STREX, so ARMv6+ - default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 - default y if BR2_aarch64 || BR2_x86_64 - -config BR2_PACKAGE_MONGODB - bool "mongodb" - depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_IOSTREAMS - select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_PCRE - select BR2_PACKAGE_PCRE_UTF # runtime - select BR2_PACKAGE_SNAPPY - select BR2_PACKAGE_SQLITE - select BR2_PACKAGE_YAML_CPP - select BR2_PACKAGE_ZLIB - help - MongoDB is a cross-platform document-oriented database - (NoSQL). - - It uses JSON-like documents with dynamic schemas (BSON), - making the integration of data in certain types of - applications easier and faster. - - https://www.mongodb.org/ - -comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 7" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 - depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS diff --git a/buildroot-2021.05/package/mongodb/mongodb.hash b/buildroot-2021.05/package/mongodb/mongodb.hash deleted file mode 100644 index 3b2580cc..00000000 --- a/buildroot-2021.05/package/mongodb/mongodb.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 ab5a8b6e967614a8ad67c0ca87124c4f380d4a476508973a7995d54ed902b02e mongodb-src-r4.2.11.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 APACHE-2.0.txt -sha256 09d99ca61eb07873d5334077acba22c33e7f7d0a9fa08c92734e0ac8430d6e27 LICENSE-Community.txt diff --git a/buildroot-2021.05/package/mongodb/mongodb.mk b/buildroot-2021.05/package/mongodb/mongodb.mk deleted file mode 100644 index 377484a0..00000000 --- a/buildroot-2021.05/package/mongodb/mongodb.mk +++ /dev/null @@ -1,103 +0,0 @@ -################################################################################ -# -# mongodb -# -################################################################################ - -MONGODB_VERSION = 4.2.11 -MONGODB_SITE = https://fastdl.mongodb.org/src -MONGODB_SOURCE = mongodb-src-r$(MONGODB_VERSION).tar.gz - -MONGODB_LICENSE = Apache-2.0 (drivers), SSPL (database) -MONGODB_LICENSE_FILES = APACHE-2.0.txt LICENSE-Community.txt - -MONGODB_CPE_ID_VENDOR = mongodb - -MONGODB_DEPENDENCIES = \ - boost \ - host-python3-cheetah \ - host-python3-psutil \ - host-python3-pyyaml \ - host-python3-regex \ - host-python3-requests \ - host-scons \ - pcre \ - snappy \ - sqlite \ - yaml-cpp \ - zlib - -MONGODB_SCONS_TARGETS = mongod mongos - -MONGODB_SCONS_ENV = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" \ - -j"$(PARALLEL_JOBS)" - -MONGODB_SCONS_OPTS = \ - --disable-minimum-compiler-version-enforcement \ - --disable-warnings-as-errors \ - --use-system-boost \ - --use-system-pcre \ - --use-system-snappy \ - --use-system-sqlite \ - --use-system-yaml \ - --use-system-zlib - -# need to pass mongo version when not building from git repo -MONGODB_SCONS_OPTS += MONGO_VERSION=$(MONGODB_VERSION)- - -# WiredTiger database storage engine only supported on 64 bits -ifeq ($(BR2_ARCH_IS_64),y) -MONGODB_SCONS_OPTS += --wiredtiger=on -else -MONGODB_SCONS_OPTS += --wiredtiger=off -endif - -# JavaScript scripting engine and tcmalloc supported only on -# x86/x86-64 systems. Mongo target is a shell interface that -# depends on the javascript engine, so it will also only be -# built on x86/x86-64 systems. -ifeq ($(BR2_i386)$(BR2_x86_64),y) -MONGODB_SCONS_OPTS += --js-engine=mozjs --allocator=tcmalloc -MONGODB_SCONS_TARGETS += mongo -else -MONGODB_SCONS_OPTS += --js-engine=none --allocator=system -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -MONGODB_DEPENDENCIES += libcurl -MONGODB_SCONS_OPTS += \ - --enable-free-mon=on \ - --enable-http-client=on -else -MONGODB_SCONS_OPTS += \ - --enable-free-mon=off \ - --enable-http-client=off -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -MONGODB_DEPENDENCIES += openssl -MONGODB_SCONS_OPTS += \ - --ssl=on \ - --ssl-provider=openssl -else -MONGODB_SCONS_OPTS += --ssl=off -endif - -define MONGODB_BUILD_CMDS - (cd $(@D); \ - $(HOST_DIR)/bin/python3 $(SCONS) \ - $(MONGODB_SCONS_ENV) \ - $(MONGODB_SCONS_OPTS) \ - $(MONGODB_SCONS_TARGETS)) -endef - -define MONGODB_INSTALL_TARGET_CMDS - (cd $(@D); \ - $(HOST_DIR)/bin/python3 $(SCONS) \ - $(MONGODB_SCONS_ENV) \ - $(MONGODB_SCONS_OPTS) \ - --prefix=$(TARGET_DIR)/usr \ - install) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mongrel2/0001-Do-not-run-tests.patch b/buildroot-2021.05/package/mongrel2/0001-Do-not-run-tests.patch deleted file mode 100644 index 557c27ed..00000000 --- a/buildroot-2021.05/package/mongrel2/0001-Do-not-run-tests.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 3cbef2195533f357c8a80c2840108662461273b7 Mon Sep 17 00:00:00 2001 -From: Lionel Orry -Date: Wed, 27 Mar 2013 14:48:19 +0100 -Subject: [PATCH 4/4] Do not run tests. - -This patch is specific to cross-compiled environments and avoids running -the tests on the host. It is not meant to be applied upstream. - -Signed-off-by: Lionel Orry ---- - Makefile | 2 +- - tools/m2sh/Makefile | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 7dc4089..ca72630 100644 ---- a/Makefile -+++ b/Makefile -@@ -16,7 +16,7 @@ TEST_SRC=$(wildcard tests/*_tests.c) - TESTS=$(patsubst %.c,%,${TEST_SRC}) - MAKEOPTS=OPTFLAGS="${NOEXTCFLAGS} ${OPTFLAGS}" OPTLIBS="${OPTLIBS}" LIBS="${LIBS}" DESTDIR="${DESTDIR}" PREFIX="${PREFIX}" - --all: bin/mongrel2 tests m2sh procer -+all: bin/mongrel2 m2sh procer filters config_modules - - dev: CFLAGS=-g -Wall -Isrc -Wall -Wextra $(OPTFLAGS) -D_FILE_OFFSET_BITS=64 - dev: all -diff --git a/tools/m2sh/Makefile b/tools/m2sh/Makefile -index b50d8a0..334e4da 100644 ---- a/tools/m2sh/Makefile -+++ b/tools/m2sh/Makefile -@@ -9,7 +9,7 @@ TESTS=$(patsubst %.c,%,${TEST_SRC}) - LIB_SRC=$(filter-out src/m2sh.c,${SOURCES}) - LIB_OBJ=$(filter-out src/m2sh.o,${OBJECTS}) - --all: ../lemon/lemon tests build/m2sh -+all: ../lemon/lemon build/m2sh - - dev: CFLAGS=-g -Wall -Wextra -Isrc -I../../src $(OPTFLAGS) - dev: all --- -1.8.1.4 - diff --git a/buildroot-2021.05/package/mongrel2/0003-fix-multiple-definition-error-when-building-with-gcc10.patch b/buildroot-2021.05/package/mongrel2/0003-fix-multiple-definition-error-when-building-with-gcc10.patch deleted file mode 100644 index e1b57884..00000000 --- a/buildroot-2021.05/package/mongrel2/0003-fix-multiple-definition-error-when-building-with-gcc10.patch +++ /dev/null @@ -1,25 +0,0 @@ -From c51815b10c39c6e802bd1b56549f1d479b480fcc Mon Sep 17 00:00:00 2001 -From: Andrew Sun -Date: Sat, 18 Jul 2020 09:11:11 -0400 -Subject: [PATCH] fix multiple definition error when building with gcc10 - -[Retrieved from: -https://github.com/mongrel2/mongrel2/pull/343/commits/c51815b10c39c6e802bd1b56549f1d479b480fcc] -Signed-off-by: Fabrice Fontaine ---- - src/unixy.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/unixy.h b/src/unixy.h -index 045e7c28..4225220c 100644 ---- a/src/unixy.h -+++ b/src/unixy.h -@@ -38,7 +38,7 @@ - #include - #include - --char *m2program; -+extern char *m2program; - - int Unixy_chroot(bstring path); - diff --git a/buildroot-2021.05/package/mongrel2/0004-Support-urandom-inside-chroot.patch b/buildroot-2021.05/package/mongrel2/0004-Support-urandom-inside-chroot.patch deleted file mode 100644 index 468ddb83..00000000 --- a/buildroot-2021.05/package/mongrel2/0004-Support-urandom-inside-chroot.patch +++ /dev/null @@ -1,113 +0,0 @@ -From 330e8c8352eb0ed3c178ac6e0102403c0a835492 Mon Sep 17 00:00:00 2001 -From: Jason Miller -Date: Thu, 5 Jul 2018 20:53:51 -0700 -Subject: [PATCH] Support urandom inside chroot - -This adds a new default entropy function that uses a /dev/urandom stream -opened before the chroot. If initializing that fails, it fallsback on -HAVEGE only if HAVEGE is supported by the mbedTLS. - -This should remove the hard requirement on HAVEGE - -resolves #326 -resolves #327 - -[Upstream status: https://github.com/mongrel2/mongrel2/pull/328] -Signed-off-by: Fabrice Fontaine ---- - src/mongrel2.c | 7 ------- - src/server.c | 36 +++++++++++++++++++++++------------- - 2 files changed, 23 insertions(+), 20 deletions(-) - -diff --git a/src/mongrel2.c b/src/mongrel2.c -index da632d95..48ece8a5 100644 ---- a/src/mongrel2.c -+++ b/src/mongrel2.c -@@ -404,13 +404,6 @@ void taskmain(int argc, char **argv) - rc = attempt_chroot_drop(srv); - check(rc == 0, "Major failure in chroot/droppriv, aborting."); - -- // set up rng after chroot -- // TODO: once mbedtls is updated, we can move this back into Server_create -- if(srv->use_ssl) { -- rc = Server_init_rng(srv); -- check(rc == 0, "Failed to initialize rng for server %s", bdata(srv->uuid)); -- } -- - final_setup(); - - taskcreate(tickertask, NULL, TICKER_TASK_STACK); -diff --git a/src/server.c b/src/server.c -index 45761db4..e44e199b 100644 ---- a/src/server.c -+++ b/src/server.c -@@ -149,35 +149,45 @@ static int Server_load_ciphers(Server *srv, bstring ssl_ciphers_val) - return -1; - } - -+static int urandom_entropy_func(void *data, unsigned char *output, size_t len) -+{ -+ FILE* urandom = (FILE *)data; -+ size_t rc = fread(output, 1, len, urandom); -+ -+ if (rc != len) return MBEDTLS_ERR_ENTROPY_SOURCE_FAILED; -+ -+ return 0; -+} -+ - int Server_init_rng(Server *srv) - { - int rc; -- unsigned char buf[MBEDTLS_ENTROPY_BLOCK_SIZE]; - void *ctx = NULL; - -- mbedtls_entropy_init( &srv->entropy ); -+ FILE *urandom = fopen("/dev/urandom","r"); - -- // test the entropy source -- rc = mbedtls_entropy_func(&srv->entropy, buf, MBEDTLS_ENTROPY_BLOCK_SIZE); -- -- if(rc == 0) { -+ if(urandom != NULL) { - ctx = calloc(sizeof(mbedtls_ctr_drbg_context), 1); - - mbedtls_ctr_drbg_init((mbedtls_ctr_drbg_context *)ctx); - rc = mbedtls_ctr_drbg_seed((mbedtls_ctr_drbg_context *)ctx, -- mbedtls_entropy_func, &srv->entropy, NULL, 0); -+ urandom_entropy_func, urandom, NULL, 0); - check(rc == 0, "Init rng failed: ctr_drbg_init returned %d\n", rc); - - srv->rng_func = mbedtls_ctr_drbg_random; - srv->rng_ctx = ctx; - } else { -- log_warn("entropy source unavailable. falling back to havege rng"); - -+#if defined(MBEDTLS_HAVEGE_C) -+ log_warn("entropy source unavailable. falling back to havege rng"); - ctx = calloc(sizeof(mbedtls_havege_state), 1); - mbedtls_havege_init((mbedtls_havege_state *)ctx); -- - srv->rng_func = mbedtls_havege_random; - srv->rng_ctx = ctx; -+#else -+ log_err("Unable to initialize urandom entropy source, and mbedTLS compiled without HAVEGE"); -+ goto error; -+#endif - } - - return 0; -@@ -278,10 +288,10 @@ Server *Server_create(bstring uuid, bstring default_host, - - // TODO: once mbedtls supports opening urandom early and keeping it open, - // put the rng initialization back here (before chroot) -- //if(use_ssl) { -- // rc = Server_init_rng(srv); -- // check(rc == 0, "Failed to initialize rng for server %s", bdata(uuid)); -- //} -+ if(use_ssl) { -+ rc = Server_init_rng(srv); -+ check(rc == 0, "Failed to initialize rng for server %s", bdata(uuid)); -+ } - - if(blength(chroot) > 0) { - srv->chroot = bstrcpy(chroot); check_mem(srv->chroot); diff --git a/buildroot-2021.05/package/mongrel2/mongrel2.hash b/buildroot-2021.05/package/mongrel2/mongrel2.hash deleted file mode 100644 index ea3a1cb4..00000000 --- a/buildroot-2021.05/package/mongrel2/mongrel2.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://mongrel2.org -sha1 6f81fa747a1e198d1a655c3677b6de686a5a51f7 mongrel2-v1.12.2.tar.bz2 - -# Locally computed -sha256 3bffeae198c37a1efc9c12f77d5f1eb61cdf62b35d661babc2527dd030aa7d8f mongrel2-v1.12.2.tar.bz2 -sha256 eb6e2a2baa637d06f6aa762886fbc8939934eb5fdb0b3a5b3882f2a61e9a4357 LICENSE diff --git a/buildroot-2021.05/package/mongrel2/mongrel2.mk b/buildroot-2021.05/package/mongrel2/mongrel2.mk deleted file mode 100644 index cbe7e3fb..00000000 --- a/buildroot-2021.05/package/mongrel2/mongrel2.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# mongrel2 -# -################################################################################ - -MONGREL2_VERSION = 1.12.2 -MONGREL2_SOURCE = mongrel2-v$(MONGREL2_VERSION).tar.bz2 -# Do not use the github helper here, the generated tarball is *NOT* the same -# as the one uploaded by upstream for the release. -MONGREL2_SITE = https://github.com/mongrel2/mongrel2/releases/download/v$(MONGREL2_VERSION) -MONGREL2_LICENSE = BSD-3-Clause -MONGREL2_LICENSE_FILES = LICENSE -MONGREL2_DEPENDENCIES = mbedtls sqlite zeromq - -define MONGREL2_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - PREFIX=/usr all -endef - -define MONGREL2_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - PREFIX=/usr DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/monit/monit.mk b/buildroot-2021.05/package/monit/monit.mk deleted file mode 100644 index 93e310ff..00000000 --- a/buildroot-2021.05/package/monit/monit.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# monit -# -################################################################################ - -MONIT_VERSION = 5.26.0 -MONIT_SITE = http://mmonit.com/monit/dist -MONIT_LICENSE = AGPL-3.0 with OpenSSL exception -MONIT_LICENSE_FILES = COPYING -# -# Touching Makefile.am: -MONIT_AUTORECONF = YES - -MONIT_CONF_ENV = \ - libmonit_cv_setjmp_available=yes \ - libmonit_cv_vsnprintf_c99_conformant=yes - -MONIT_CONF_OPTS += \ - --without-pam \ - --with-largefiles - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -MONIT_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr -MONIT_DEPENDENCIES += openssl -else -MONIT_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -MONIT_CONF_OPTS += --with-zlib -MONIT_DEPENDENCIES += zlib -else -MONIT_CONF_OPTS += --without-zlib -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mono/mono.mk b/buildroot-2021.05/package/mono/mono.mk deleted file mode 100644 index df3481a4..00000000 --- a/buildroot-2021.05/package/mono/mono.mk +++ /dev/null @@ -1,66 +0,0 @@ -################################################################################ -# -# mono -# -################################################################################ - -MONO_VERSION = 6.12.0.90 -MONO_SITE = http://download.mono-project.com/sources/mono -MONO_SOURCE = mono-$(MONO_VERSION).tar.xz -MONO_LICENSE = GPL-2.0 or MIT (compiler, tools), MIT (libs) or commercial -MONO_LICENSE_FILES = LICENSE mcs/COPYING \ - external/Newtonsoft.Json/Tools/7-zip/copying.txt -MONO_CPE_ID_VENDOR = mono-project -MONO_INSTALL_STAGING = YES - -## Mono native - -# patching configure.ac -MONO_AUTORECONF = YES - -MONO_COMMON_CONF_OPTS = --with-mcs-docs=no \ - --with-ikvm-native=no \ - --enable-minimal=profiler,debug \ - --enable-static \ - --disable-btls \ - --disable-system-aot - -# Disable managed code (mcs folder) from building -MONO_CONF_OPTS = $(MONO_COMMON_CONF_OPTS) --disable-mcs-build - -# The libraries have been built by the host-mono build. Since they are -# architecture-independent, we simply copy them to the target. -define MONO_INSTALL_LIBS - rsync -av --exclude=*.so --exclude=*.mdb \ - $(HOST_DIR)/lib/mono $(TARGET_DIR)/usr/lib/ -endef - -MONO_POST_INSTALL_TARGET_HOOKS += MONO_INSTALL_LIBS - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -MONO_DEPENDENCIES += libiconv -endif - -MONO_DEPENDENCIES += \ - host-mono \ - $(if $(BR2_PACKAGE_LIBUNWIND),libunwind) \ - libatomic_ops - -## Mono managed - -HOST_MONO_CONF_OPTS = $(MONO_COMMON_CONF_OPTS) --disable-libraries - -# ensure monolite is used -HOST_MONO_MAKE_OPTS += EXTERNAL_MCS=false - -HOST_MONO_DEPENDENCIES = host-monolite host-gettext - -define HOST_MONO_SETUP_MONOLITE - rm -rf $(@D)/mcs/class/lib/monolite - (cd $(@D)/mcs/class/lib; ln -s $(HOST_DIR)/lib/monolite monolite) -endef - -HOST_MONO_POST_CONFIGURE_HOOKS += HOST_MONO_SETUP_MONOLITE - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/mosquitto/mosquitto.hash b/buildroot-2021.05/package/mosquitto/mosquitto.hash deleted file mode 100644 index aa052979..00000000 --- a/buildroot-2021.05/package/mosquitto/mosquitto.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Locally calculated after checking gpg signature -# from https://mosquitto.org/files/source/mosquitto-2.0.10.tar.gz.asc -sha256 0188f7b21b91d6d80e992b8d6116ba851468b3bd154030e8a003ed28fb6f4a44 mosquitto-2.0.10.tar.gz - -# License files -sha256 d3c4ccace4e5d3cc89d34cf2a0bc85b8596bfc0a32b815d0d77f9b7c41b5350c LICENSE.txt -sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 -sha256 e8cf7d54ea46c19aba793983889b7f7425e1ebfcaaccec764a7db091646e203c edl-v10 diff --git a/buildroot-2021.05/package/mosquitto/mosquitto.mk b/buildroot-2021.05/package/mosquitto/mosquitto.mk deleted file mode 100644 index 7820e8fe..00000000 --- a/buildroot-2021.05/package/mosquitto/mosquitto.mk +++ /dev/null @@ -1,131 +0,0 @@ -################################################################################ -# -# mosquitto -# -################################################################################ - -MOSQUITTO_VERSION = 2.0.10 -MOSQUITTO_SITE = https://mosquitto.org/files/source -MOSQUITTO_LICENSE = EPL-2.0 or EDLv1.0 -MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v20 edl-v10 -MOSQUITTO_CPE_ID_VENDOR = eclipse -MOSQUITTO_INSTALL_STAGING = YES - -MOSQUITTO_MAKE_OPTS = \ - CLIENT_STATIC_LDADD="$(MOSQUITTO_STATIC_LIBS)" \ - UNAME=Linux \ - STRIP=true \ - prefix=/usr \ - WITH_WRAP=no \ - WITH_DOCS=no - -ifeq ($(BR2_SHARED_LIBS),y) -MOSQUITTO_MAKE_OPTS += WITH_STATIC_LIBRARIES=no -else -MOSQUITTO_MAKE_OPTS += WITH_STATIC_LIBRARIES=yes -endif - -ifeq ($(BR2_STATIC_LIBS),y) -MOSQUITTO_MAKE_OPTS += WITH_SHARED_LIBRARIES=no -else -MOSQUITTO_MAKE_OPTS += WITH_SHARED_LIBRARIES=yes -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -MOSQUITTO_MAKE_OPTS += WITH_SYSTEMD=yes -MOSQUITTO_DEPENDENCIES += systemd -endif - -# adns uses getaddrinfo_a -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) -MOSQUITTO_MAKE_OPTS += WITH_ADNS=yes -else -MOSQUITTO_MAKE_OPTS += WITH_ADNS=no -endif - -# threaded API uses pthread_setname_np -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) -MOSQUITTO_MAKE_OPTS += WITH_THREADING=yes -else -MOSQUITTO_MAKE_OPTS += WITH_THREADING=no -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -MOSQUITTO_DEPENDENCIES += host-pkgconf openssl -MOSQUITTO_MAKE_OPTS += WITH_TLS=yes -MOSQUITTO_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` -else -MOSQUITTO_MAKE_OPTS += WITH_TLS=no -endif - -ifeq ($(BR2_PACKAGE_CJSON),y) -MOSQUITTO_DEPENDENCIES += cjson -MOSQUITTO_MAKE_OPTS += WITH_CJSON=yes -MOSQUITTO_STATIC_LIBS += -lcjson -else -MOSQUITTO_MAKE_OPTS += WITH_CJSON=no -endif - -ifeq ($(BR2_PACKAGE_C_ARES),y) -MOSQUITTO_DEPENDENCIES += c-ares -MOSQUITTO_MAKE_OPTS += WITH_SRV=yes -else -MOSQUITTO_MAKE_OPTS += WITH_SRV=no -endif - -ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) -MOSQUITTO_DEPENDENCIES += libwebsockets -MOSQUITTO_MAKE_OPTS += WITH_WEBSOCKETS=yes -else -MOSQUITTO_MAKE_OPTS += WITH_WEBSOCKETS=no -endif - -# C++ support is only used to create a wrapper library -ifneq ($(BR2_INSTALL_LIBSTDCPP),y) -define MOSQUITTO_DISABLE_CPP - $(SED) '/-C cpp/d' $(@D)/lib/Makefile -endef - -MOSQUITTO_POST_PATCH_HOOKS += MOSQUITTO_DISABLE_CPP -endif - -MOSQUITTO_MAKE_DIRS = lib client -ifeq ($(BR2_PACKAGE_MOSQUITTO_BROKER),y) -MOSQUITTO_MAKE_DIRS += src -endif - -define MOSQUITTO_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) DIRS="$(MOSQUITTO_MAKE_DIRS)" \ - $(MOSQUITTO_MAKE_OPTS) -endef - -define MOSQUITTO_INSTALL_STAGING_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) DIRS="$(MOSQUITTO_MAKE_DIRS)" \ - $(MOSQUITTO_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install -endef - -define MOSQUITTO_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) DIRS="$(MOSQUITTO_MAKE_DIRS)" \ - $(MOSQUITTO_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install - rm -f $(TARGET_DIR)/etc/mosquitto/*.example - $(INSTALL) -D -m 0644 $(@D)/mosquitto.conf \ - $(TARGET_DIR)/etc/mosquitto/mosquitto.conf -endef - -ifeq ($(BR2_PACKAGE_MOSQUITTO_BROKER),y) -define MOSQUITTO_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/mosquitto/S50mosquitto \ - $(TARGET_DIR)/etc/init.d/S50mosquitto -endef - -define MOSQUITTO_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(@D)/service/systemd/mosquitto.service.notify \ - $(TARGET_DIR)/usr/lib/systemd/system/mosquitto.service -endef - -define MOSQUITTO_USERS - mosquitto -1 nobody -1 * - - - Mosquitto user -endef -endif - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/motion/motion.hash b/buildroot-2021.05/package/motion/motion.hash deleted file mode 100644 index 96ab1c43..00000000 --- a/buildroot-2021.05/package/motion/motion.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 dafa4264b2d8e4778f8be5871f09b6c0ec710d5a836182c583469c18db944d70 motion-4.3.2.tar.gz -sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad doc/COPYING diff --git a/buildroot-2021.05/package/motion/motion.mk b/buildroot-2021.05/package/motion/motion.mk deleted file mode 100644 index 29b70fd8..00000000 --- a/buildroot-2021.05/package/motion/motion.mk +++ /dev/null @@ -1,71 +0,0 @@ -################################################################################ -# -# motion -# -################################################################################ - -MOTION_VERSION = 4.3.2 -MOTION_SITE = $(call github,Motion-Project,motion,release-$(MOTION_VERSION)) -MOTION_LICENSE = GPL-2.0 -MOTION_LICENSE_FILES = doc/COPYING -MOTION_DEPENDENCIES = host-pkgconf jpeg libmicrohttpd $(TARGET_NLS_DEPENDENCIES) -# From git -MOTION_AUTORECONF = YES -MOTION_GETTEXTIZE = YES - -MOTION_CONF_OPTS += --without-optimizecpu - -ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y) -MOTION_DEPENDENCIES += ffmpeg -MOTION_CONF_OPTS += --with-ffmpeg -else -MOTION_CONF_OPTS += --without-ffmpeg -endif - -ifeq ($(BR2_PACKAGE_MYSQL),y) -MOTION_DEPENDENCIES += mysql -MOTION_CONF_OPTS += --with-mysql -else -MOTION_CONF_OPTS += --without-mysql -endif - -ifeq ($(BR2_PACKAGE_POSTGRESQL),y) -MOTION_DEPENDENCIES += postgresql -MOTION_CONF_OPTS += --with-pgsql -else -MOTION_CONF_OPTS += --without-pgsql -endif - -ifeq ($(BR2_PACKAGE_SQLITE),y) -MOTION_DEPENDENCIES += sqlite -MOTION_CONF_OPTS += --with-sqlite3 -else -MOTION_CONF_OPTS += --without-sqlite3 -endif - -ifeq ($(BR2_PACKAGE_WEBP_MUX),y) -MOTION_DEPENDENCIES += webp -MOTION_CONF_OPTS += --with-webp -else -MOTION_CONF_OPTS += --without-webp -endif - -# Do not use default install target as it installs many unneeded files and -# directories: docs, examples and init scripts -define MOTION_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/data/motion-dist.conf \ - $(TARGET_DIR)/etc/motion/motion.conf - $(INSTALL) -D -m 0755 $(@D)/src/motion $(TARGET_DIR)/usr/bin/motion -endef - -define MOTION_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/motion/S99motion \ - $(TARGET_DIR)/etc/init.d/S99motion -endef - -define MOTION_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/motion/motion.service \ - $(TARGET_DIR)/usr/lib/systemd/system/motion.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mp4v2/0001-Fix-GCC7-build.patch b/buildroot-2021.05/package/mp4v2/0001-Fix-GCC7-build.patch deleted file mode 100644 index 4e39be4a..00000000 --- a/buildroot-2021.05/package/mp4v2/0001-Fix-GCC7-build.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 855e9674232808ff3be7191b697dfb56917db21f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= -Date: Wed, 8 Feb 2017 00:56:32 +0000 -Subject: [PATCH] Fix GCC7 build - -if (*pSlash != '\0') { - -As it stands the body of that if will always execute and when there are -no encoding parameters ppEncodingParams will be returned as a pointer to -an empty string rather than as a null pointer - -Signed-off-by: Peter Korsgaard -[Upstream status: https://github.com/TechSmith/mp4v2/pull/36] ---- - src/rtphint.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/rtphint.cpp b/src/rtphint.cpp -index e07309d..1eb01f5 100644 ---- a/src/rtphint.cpp -+++ b/src/rtphint.cpp -@@ -339,7 +339,7 @@ void MP4RtpHintTrack::GetPayload( - pSlash = strchr(pSlash, '/'); - if (pSlash != NULL) { - pSlash++; -- if (pSlash != '\0') { -+ if (*pSlash != '\0') { - length = (uint32_t)strlen(pRtpMap) - (pSlash - pRtpMap); - *ppEncodingParams = (char *)MP4Calloc(length + 1); - strncpy(*ppEncodingParams, pSlash, length); --- -2.11.0 - diff --git a/buildroot-2021.05/package/mp4v2/0002-src-mp4track.cpp-replace-nullptr-by-NULL.patch b/buildroot-2021.05/package/mp4v2/0002-src-mp4track.cpp-replace-nullptr-by-NULL.patch deleted file mode 100644 index 72bae463..00000000 --- a/buildroot-2021.05/package/mp4v2/0002-src-mp4track.cpp-replace-nullptr-by-NULL.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 78cf76b5d661e37e958163c37c0ad95940c09591 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 30 May 2020 11:42:19 +0200 -Subject: [PATCH] src/mp4track.cpp: replace nullptr by NULL - -Commit 15ec11166ba9ee7b77631d0d9234522f656cfd66 added code that uses -nullptr. nullptr is C++11, it will break the build with gcc < 5. - -Semantically, NULL and nullptr are different, so should not be mixed. -In this situaiton, m_File.FindAtom() indeed does not return nullptr, -but NULL (on error, that is). - -Switch back to comparing against NULL. - -Fixes: - - http://autobuild.buildroot.org/results/14937c96a82fb3d10e5d83bd7b2905b846fb09f9 - -Signed-off-by: Fabrice Fontaine -[Upstream status: not sent yet] ---- - src/mp4track.cpp | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/mp4track.cpp b/src/mp4track.cpp -index 4b8fc9d..42489eb 100644 ---- a/src/mp4track.cpp -+++ b/src/mp4track.cpp -@@ -908,16 +908,16 @@ File* MP4Track::GetSampleFile( MP4SampleId sampleId ) - MP4FtypAtom *pFtypAtom = reinterpret_cast( m_File.FindAtom( "ftyp" ) ); - - // MOV spec does not require "ftyp" atom... -- if ( pFtypAtom == nullptr ) -+ if ( pFtypAtom == NULL ) - { -- return nullptr; -+ return NULL; - } - else - { - // ... but most often it is present with a "qt " value - const char *majorBrand = pFtypAtom->majorBrand.GetValue(); - if ( ::strcmp( pFtypAtom->majorBrand.GetValue(), "qt " ) == 0 ) -- return nullptr; -+ return NULL; - } - throw new Exception( "invalid stsd entry", __FILE__, __LINE__, __FUNCTION__ ); - } --- -2.26.2 - diff --git a/buildroot-2021.05/package/mp4v2/Config.in b/buildroot-2021.05/package/mp4v2/Config.in deleted file mode 100644 index 172d1baa..00000000 --- a/buildroot-2021.05/package/mp4v2/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_MP4V2 - bool "mp4v2" - depends on BR2_INSTALL_LIBSTDCPP - help - The MP4v2 library provides functions to read, create, and - modify mp4 files. - - https://github.com/TechSmith/mp4v2/ - -if BR2_PACKAGE_MP4V2 - -config BR2_PACKAGE_MP4V2_UTIL - bool "Install mp4 command line tools" - help - Enable to install the mp4 command line tools mp4art, - mp4chaps, mp4extract, mp4info, mp4subtitle, mp4tags, and - mp4trackdump. - -endif - -comment "mp4v2 needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/mp4v2/mp4v2.hash b/buildroot-2021.05/package/mp4v2/mp4v2.hash deleted file mode 100644 index 85fce493..00000000 --- a/buildroot-2021.05/package/mp4v2/mp4v2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 e3ad6c2dc451b0875dbe34bfe7f51f4fe278b391434c886083e6d3ecd5fa08c2 mp4v2-4.1.3.tar.gz -sha256 15e38684c940176e2fc76331a2299d2ab5115ac997078f768ef31b896af69fc5 COPYING diff --git a/buildroot-2021.05/package/mp4v2/mp4v2.mk b/buildroot-2021.05/package/mp4v2/mp4v2.mk deleted file mode 100644 index 478d10d4..00000000 --- a/buildroot-2021.05/package/mp4v2/mp4v2.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# mp4v2 -# -################################################################################ - -MP4V2_VERSION = 4.1.3 -MP4V2_SITE = \ - $(call github,TechSmith,mp4v2,Release-ThirdParty-MP4v2-$(MP4V2_VERSION)) -MP4V2_INSTALL_STAGING = YES -MP4V2_LICENSE = MPL-1.1 -MP4V2_LICENSE_FILES = COPYING - -# help2man expects to be able to run utilities on the build machine to -# grab --help output which doesn't work when cross compiling, so -# disable it -MP4V2_CONF_ENV = ac_cv_prog_FOUND_HELP2MAN=no - -ifeq ($(BR2_PACKAGE_MP4V2_UTIL),y) -MP4V2_CONF_OPTS += --enable-util -else -MP4V2_CONF_OPTS += --disable-util -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mpd-mpc/mpd-mpc.hash b/buildroot-2021.05/package/mpd-mpc/mpd-mpc.hash deleted file mode 100644 index 9c55bcf0..00000000 --- a/buildroot-2021.05/package/mpd-mpc/mpd-mpc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 4f40ccbe18f5095437283cfc525a97815e983cbfd3a29e48ff610fa4f1bf1296 mpc-0.33.tar.xz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/mpd-mpc/mpd-mpc.mk b/buildroot-2021.05/package/mpd-mpc/mpd-mpc.mk deleted file mode 100644 index 6eebc63c..00000000 --- a/buildroot-2021.05/package/mpd-mpc/mpd-mpc.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# mpd-mpc -# -################################################################################ - -MPD_MPC_VERSION_MAJOR = 0 -MPD_MPC_VERSION = $(MPD_MPC_VERSION_MAJOR).33 -MPD_MPC_SITE = http://www.musicpd.org/download/mpc/$(MPD_MPC_VERSION_MAJOR) -MPD_MPC_SOURCE = mpc-$(MPD_MPC_VERSION).tar.xz -MPD_MPC_LICENSE = GPL-2.0+ -MPD_MPC_LICENSE_FILES = COPYING -MPD_MPC_DEPENDENCIES = host-pkgconf libmpdclient - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch b/buildroot-2021.05/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch deleted file mode 100644 index 81bd981d..00000000 --- a/buildroot-2021.05/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch +++ /dev/null @@ -1,39 +0,0 @@ -From cb190801706da046823c74f89472af83ff947ce1 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 17 Aug 2019 22:25:06 +0200 -Subject: [PATCH] src/event/meson.build: add atomic dependency for sparc - -Linking with libatomic is needed on sparc otherwise build fails on: -/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/event/libevent.a(MaskMonitor.cxx.o): undefined reference to symbol '__atomic_fetch_or_4@@LIBATOMIC_1.0' - -Fixes: - - http://autobuild.buildroot.org/results/7a9fdb7e323892fb6ed85a2441054303e889c089 - -Signed-off-by: Fabrice Fontaine -[Upstream status: not sent (the same kind of patch for ncmpc was -refused: https://github.com/MusicPlayerDaemon/ncmpc/pull/45)] ---- - src/event/meson.build | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/src/event/meson.build b/src/event/meson.build -index bc13bbcd2..88370c03a 100644 ---- a/src/event/meson.build -+++ b/src/event/meson.build -@@ -21,9 +21,13 @@ event = static_library( - ], - ) - -+# Needed on sparc -+atomic_dep = c_compiler.find_library('atomic', required: false) -+ - event_dep = declare_dependency( - link_with: event, - dependencies: [ -+ atomic_dep, - thread_dep, - system_dep, - boost_dep, --- -2.20.1 - diff --git a/buildroot-2021.05/package/mpd/Config.in b/buildroot-2021.05/package/mpd/Config.in deleted file mode 100644 index 9748c7d0..00000000 --- a/buildroot-2021.05/package/mpd/Config.in +++ /dev/null @@ -1,407 +0,0 @@ -menuconfig BR2_PACKAGE_MPD - bool "mpd" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR # flac - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 - depends on BR2_HOST_GCC_AT_LEAST_7 # C++17 - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - MPD is a flexible, powerful, server-side application - for playing music. Through plugins and libraries - it can play a variety of sound files while being - controlled by its network protocol. - - http://www.musicpd.org - -if BR2_PACKAGE_MPD - -comment "Archive plugins" - -config BR2_PACKAGE_MPD_BZIP2 - bool "bzip2" - select BR2_PACKAGE_BZIP2 - help - Enable bzip2 archive support. - -config BR2_PACKAGE_MPD_SQLITE - bool "sqlite" - select BR2_PACKAGE_SQLITE - help - Enable sqlite database support. - If you don't use sqlite it will use an ASCII database. - -config BR2_PACKAGE_MPD_ZZIP - bool "zzip" - select BR2_PACKAGE_ZZIPLIB - help - Enable ZIP archive support. - -comment "Commercial services" - -config BR2_PACKAGE_MPD_QOBUZ - bool "qobuz" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS - select BR2_PACKAGE_MPD_CURL - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_YAJL - help - Play songs from the commercial streaming service Qobuz. - -config BR2_PACKAGE_MPD_SOUNDCLOUD - bool "soundcloud" - select BR2_PACKAGE_MPD_CURL - select BR2_PACKAGE_YAJL - help - Enable soundcloud.com playlist support. - -config BR2_PACKAGE_MPD_TIDAL - bool "tidal" - select BR2_PACKAGE_MPD_CURL - select BR2_PACKAGE_YAJL - help - Play songs from the commercial streaming service TIDAL. - -comment "Converter plugins" - -config BR2_PACKAGE_MPD_LIBSAMPLERATE - bool "libsamplerate" - select BR2_PACKAGE_LIBSAMPLERATE - help - Enable libsamplerate input support. - Select this for software sample rate conversion. - -config BR2_PACKAGE_MPD_LIBSOXR - bool "libsoxr" - select BR2_PACKAGE_LIBSOXR - help - Enable libsoxr resampler support. - The SoX Resampler library performs software sample-rate - conversion. - -comment "Decoder plugins" - -config BR2_PACKAGE_MPD_DSD - bool "dsd" - help - Enable Digital Speech Decoder (DSD) support to play audio - files encoded in a digital speech format. - -config BR2_PACKAGE_MPD_FAAD2 - bool "faad2" - select BR2_PACKAGE_FAAD2 - help - Enable faad2 input support. - Select this if you want to play back MP4/AAC files. - -config BR2_PACKAGE_MPD_FFMPEG - bool "ffmpeg" - depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - select BR2_PACKAGE_FFMPEG - help - Enable ffmpeg input support. - Select this if you want to play back files supported by - ffmpeg. - -config BR2_PACKAGE_MPD_FLAC - bool "flac" - select BR2_PACKAGE_FLAC - help - Enable flac input/streaming support. - Select this if you want to play back FLAC files. - -config BR2_PACKAGE_MPD_FLUIDSYNTH - bool "fluidsynth" - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_FLUIDSYNTH - help - Enable fluidsynth MIDI decoder support. - -comment "fluidsynth support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_MPD_LIBSNDFILE - bool "libsndfile" - select BR2_PACKAGE_LIBSNDFILE - help - Enable libsndfile input/streaming support. - Select this if you want to play back WAV files. - -config BR2_PACKAGE_MPD_MAD - bool "mad" - default y - select BR2_PACKAGE_LIBID3TAG - select BR2_PACKAGE_LIBMAD - help - Enable mad input support. - Select this if you want to play back MP3 files. - -config BR2_PACKAGE_MPD_MODPLUG - bool "modplug" - select BR2_PACKAGE_LIBMODPLUG - help - Enable Modplug decoder support. - -config BR2_PACKAGE_MPD_MPG123 - bool "mpg123" - select BR2_PACKAGE_LIBID3TAG - select BR2_PACKAGE_MPG123 - help - Enable mpg123 input support. - Select this if you want to play back MP3 files. - -config BR2_PACKAGE_MPD_MUSEPACK - bool "musepack" - select BR2_PACKAGE_LIBCUEFILE - select BR2_PACKAGE_LIBREPLAYGAIN - select BR2_PACKAGE_MUSEPACK - help - Enable musepack input support. - Select this if you want to play back MPC files. - -config BR2_PACKAGE_MPD_OPUS - bool "opus" - select BR2_PACKAGE_OPUS - select BR2_PACKAGE_LIBOGG - help - Enable opus input support. - Select this if you want to play back OPUS encoded files. - -config BR2_PACKAGE_MPD_SIDPLAY - bool "sidplay" - select BR2_PACKAGE_LIBSIDPLAY2 - help - Enable C64 SID support. - -config BR2_PACKAGE_MPD_TREMOR - bool "tremor" - depends on !BR2_PACKAGE_MPD_VORBIS - select BR2_PACKAGE_LIBOGG - select BR2_PACKAGE_TREMOR - help - Enable vorbis input support. - Select this if you want to play back OGG files on softfloat - targets. - -config BR2_PACKAGE_MPD_VORBIS - bool "vorbis" - select BR2_PACKAGE_LIBOGG - select BR2_PACKAGE_LIBVORBIS - help - Enable vorbis input/streaming support. - Select this if you want to play back OGG files on hardfloat - targets. - -config BR2_PACKAGE_MPD_WAVPACK - bool "wavpack" - select BR2_PACKAGE_WAVPACK - help - Enable wavpack input support. - Select this if you want to play back WV files. - -comment "Encoder plugins" - -config BR2_PACKAGE_MPD_LAME - bool "lame" - select BR2_PACKAGE_LAME - help - Enable lame (mp3) encoding support. - -config BR2_PACKAGE_MPD_TWOLAME - bool "twolame" - select BR2_PACKAGE_TWOLAME - help - Enable TwoLAME mp2 encoding. - -comment "Input plugins" - -config BR2_PACKAGE_MPD_CDIO_PARANOIA - bool "cdio-paranoia" - select BR2_PACKAGE_LIBCDIO_PARANOIA - help - Enable cdio-paranoia support. - -config BR2_PACKAGE_MPD_CURL - bool "curl" - select BR2_PACKAGE_LIBCURL - help - Enable curl streaming (http) support. - -config BR2_PACKAGE_MPD_LIBMMS - bool "mms" - select BR2_PACKAGE_LIBMMS - help - Enable MMS support. - -config BR2_PACKAGE_MPD_LIBNFS - bool "nfs" - # libnfs -> libtirpc - depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBNFS - help - Enable Network File System (NFS) support. - -comment "nfs support needs a toolchain w/ threads support" - depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) - -comment "samba support needs a glibc toolchain w/ dynamic library, RPC" - depends on !BR2_nios2 - depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_NATIVE_RPC - -config BR2_PACKAGE_MPD_LIBSMBCLIENT - bool "samba" - depends on !BR2_nios2 # samba - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_SAMBA4 - help - Enable Samba support. - -comment "Output plugins" - -config BR2_PACKAGE_MPD_ALSA - bool "alsa" - default y - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_ALSA_LIB_PCM - select BR2_PACKAGE_ALSA_LIB_MIXER - help - Enable alsa output support. - -config BR2_PACKAGE_MPD_AO - bool "ao" - select BR2_PACKAGE_LIBAO - help - Enable libao output support. - -config BR2_PACKAGE_MPD_HTTPD_OUTPUT - bool "httpd output" - help - Enable httpd output support. - -config BR2_PACKAGE_MPD_JACK2 - bool "jack2" - depends on !BR2_STATIC_LIBS # jack2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_JACK2 - help - Enable jack output support. - -comment "jack support needs a toolchain w/ dynamic library" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_MPD_OPENAL - bool "openal" - depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_PACKAGE_OPENAL - help - Enable OpenAL output support. - -comment "openal support needs a toolchain w/ NPTL" - depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL - -config BR2_PACKAGE_MPD_OSS - bool "oss" - help - Enable OSS (Open Sound System) output support. - -config BR2_PACKAGE_MPD_PULSEAUDIO - bool "pulseaudio" - depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU - select BR2_PACKAGE_PULSEAUDIO - help - Enable pulseaudio output support. - -comment "pulseaudio support needs a toolchain w/ threads, wchar, dynamic library" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || !BR2_USE_WCHAR - -config BR2_PACKAGE_MPD_SHOUTCAST - bool "shoutcast" - select BR2_PACKAGE_LIBSHOUT - help - Enable shoutcast streaming output support. - -comment "Miscellaneous plugins" - -config BR2_PACKAGE_MPD_AVAHI_SUPPORT - bool "avahi (zeroconf) support" - depends on !BR2_STATIC_LIBS # avahi - select BR2_PACKAGE_AVAHI - select BR2_PACKAGE_AVAHI_DAEMON - select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY - help - Enable Avahi (zeroconf) support. - Select this for multicast DNS/DNS-SD service discovery - support. This allows MPD to publish service information on a - local network. - -comment "avahi support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_MPD_LIBMPDCLIENT - bool "libmpdclient" - select BR2_PACKAGE_LIBMPDCLIENT - help - Enable libmpdclient support. - -config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT - bool "neighbor discovery support" - depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || BR2_PACKAGE_MPD_UPNP - help - Enable support for neighbor discovery. - This option can be used in conjunction with the smbclient - plugin to provide a list of SMB/CIFS servers or with the - UPnP plugin to provide a list of UPnP servers on the local - network. The neighbor plugin needs configuration in - mpd.conf. For further information take a look at the MPD - documentation. - -config BR2_PACKAGE_MPD_TCP - bool "tcp sockets" - default y - help - Enable MPD to listen on tcp sockets. - - You want this on if MPD and the client(s) work - on different machines (the usual scenario). - -config BR2_PACKAGE_MPD_UPNP - bool "UPnP" - select BR2_PACKAGE_EXPAT - select BR2_PACKAGE_LIBUPNP - select BR2_PACKAGE_MPD_CURL - help - Enable MPD UPnP client support. - -comment "Tag plugins" - -config BR2_PACKAGE_MPD_ID3TAG - bool "id3tag" - select BR2_PACKAGE_LIBID3TAG - help - Enable ID3 support. - -endif - -comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 7, host gcc >= 7" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ - !BR2_HOST_GCC_AT_LEAST_7 diff --git a/buildroot-2021.05/package/mpd/mpd.hash b/buildroot-2021.05/package/mpd/mpd.hash deleted file mode 100644 index 4c3b4982..00000000 --- a/buildroot-2021.05/package/mpd/mpd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 2be149a4895c3cb613477f8cf1193593e3d8a1d38a75ffa7d32da8c8316a4d5e mpd-0.22.6.tar.xz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/mpd/mpd.mk b/buildroot-2021.05/package/mpd/mpd.mk deleted file mode 100644 index 06dc7e15..00000000 --- a/buildroot-2021.05/package/mpd/mpd.mk +++ /dev/null @@ -1,343 +0,0 @@ -################################################################################ -# -# mpd -# -################################################################################ - -MPD_VERSION_MAJOR = 0.22 -MPD_VERSION = $(MPD_VERSION_MAJOR).6 -MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz -MPD_SITE = http://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR) -MPD_DEPENDENCIES = host-pkgconf boost -MPD_LICENSE = GPL-2.0+ -MPD_LICENSE_FILES = COPYING -MPD_CONF_OPTS = \ - -Daudiofile=disabled \ - -Ddocumentation=disabled - -# Zeroconf support depends on libdns_sd from avahi. -ifeq ($(BR2_PACKAGE_MPD_AVAHI_SUPPORT),y) -MPD_DEPENDENCIES += avahi -MPD_CONF_OPTS += -Dzeroconf=avahi -else -MPD_CONF_OPTS += -Dzeroconf=disabled -endif - -# MPD prefers libicu for utf8 collation instead of libglib2. -ifeq ($(BR2_PACKAGE_ICU),y) -MPD_DEPENDENCIES += icu -MPD_CONF_OPTS += -Dicu=enabled -else -MPD_CONF_OPTS += -Dicu=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_ALSA),y) -MPD_DEPENDENCIES += alsa-lib -MPD_CONF_OPTS += -Dalsa=enabled -else -MPD_CONF_OPTS += -Dalsa=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_AO),y) -MPD_DEPENDENCIES += libao -MPD_CONF_OPTS += -Dao=enabled -else -MPD_CONF_OPTS += -Dao=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_BZIP2),y) -MPD_DEPENDENCIES += bzip2 -MPD_CONF_OPTS += -Dbzip2=enabled -else -MPD_CONF_OPTS += -Dbzip2=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_CDIO_PARANOIA),y) -MPD_DEPENDENCIES += libcdio-paranoia -MPD_CONF_OPTS += -Dcdio_paranoia=enabled -else -MPD_CONF_OPTS += -Dcdio_paranoia=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_CURL),y) -MPD_DEPENDENCIES += libcurl -MPD_CONF_OPTS += -Dcurl=enabled -else -MPD_CONF_OPTS += -Dcurl=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_DSD),y) -MPD_CONF_OPTS += -Ddsd=true -else -MPD_CONF_OPTS += -Ddsd=false -endif - -ifeq ($(BR2_PACKAGE_MPD_FAAD2),y) -MPD_DEPENDENCIES += faad2 -MPD_CONF_OPTS += -Dfaad=enabled -else -MPD_CONF_OPTS += -Dfaad=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_FFMPEG),y) -MPD_DEPENDENCIES += ffmpeg -MPD_CONF_OPTS += -Dffmpeg=enabled -else -MPD_CONF_OPTS += -Dffmpeg=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_FLAC),y) -MPD_DEPENDENCIES += flac -MPD_CONF_OPTS += -Dflac=enabled -else -MPD_CONF_OPTS += -Dflac=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_FLUIDSYNTH),y) -MPD_DEPENDENCIES += fluidsynth -MPD_CONF_OPTS += -Dfluidsynth=enabled -else -MPD_CONF_OPTS += -Dfluidsynth=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_HTTPD_OUTPUT),y) -MPD_CONF_OPTS += -Dhttpd=true -else -MPD_CONF_OPTS += -Dhttpd=false -endif - -ifeq ($(BR2_PACKAGE_MPD_ID3TAG),y) -MPD_DEPENDENCIES += libid3tag -MPD_CONF_OPTS += -Did3tag=enabled -else -MPD_CONF_OPTS += -Did3tag=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_JACK2),y) -MPD_DEPENDENCIES += jack2 -MPD_CONF_OPTS += -Djack=enabled -else -MPD_CONF_OPTS += -Djack=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_LAME),y) -MPD_DEPENDENCIES += lame -MPD_CONF_OPTS += -Dlame=enabled -else -MPD_CONF_OPTS += -Dlame=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_LIBMPDCLIENT),y) -MPD_DEPENDENCIES += libmpdclient -MPD_CONF_OPTS += -Dlibmpdclient=enabled -else -MPD_CONF_OPTS += -Dlibmpdclient=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_LIBMMS),y) -MPD_DEPENDENCIES += libmms -MPD_CONF_OPTS += -Dmms=enabled -else -MPD_CONF_OPTS += -Dmms=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_LIBNFS),y) -MPD_DEPENDENCIES += libnfs -MPD_CONF_OPTS += -Dnfs=enabled -else -MPD_CONF_OPTS += -Dnfs=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_LIBSMBCLIENT),y) -MPD_DEPENDENCIES += samba4 -MPD_CONF_OPTS += -Dsmbclient=enabled -else -MPD_CONF_OPTS += -Dsmbclient=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_LIBSAMPLERATE),y) -MPD_DEPENDENCIES += libsamplerate -MPD_CONF_OPTS += -Dlibsamplerate=enabled -else -MPD_CONF_OPTS += -Dlibsamplerate=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_LIBSNDFILE),y) -MPD_DEPENDENCIES += libsndfile -MPD_CONF_OPTS += -Dsndfile=enabled -else -MPD_CONF_OPTS += -Dsndfile=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_LIBSOXR),y) -MPD_DEPENDENCIES += libsoxr -MPD_CONF_OPTS += -Dsoxr=enabled -else -MPD_CONF_OPTS += -Dsoxr=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_MAD),y) -MPD_DEPENDENCIES += libid3tag libmad -MPD_CONF_OPTS += -Dmad=enabled -else -MPD_CONF_OPTS += -Dmad=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_MODPLUG),y) -MPD_DEPENDENCIES += libmodplug -MPD_CONF_OPTS += -Dmodplug=enabled -else -MPD_CONF_OPTS += -Dmodplug=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_MPG123),y) -MPD_DEPENDENCIES += libid3tag mpg123 -MPD_CONF_OPTS += -Dmpg123=enabled -else -MPD_CONF_OPTS += -Dmpg123=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_MUSEPACK),y) -MPD_DEPENDENCIES += musepack -MPD_CONF_OPTS += -Dmpcdec=enabled -else -MPD_CONF_OPTS += -Dmpcdec=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT),y) -MPD_CONF_OPTS += -Dneighbor=true -else -MPD_CONF_OPTS += -Dneighbor=false -endif - -ifeq ($(BR2_PACKAGE_MPD_OPENAL),y) -MPD_DEPENDENCIES += openal -MPD_CONF_OPTS += -Dopenal=enabled -else -MPD_CONF_OPTS += -Dopenal=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_OPUS),y) -MPD_DEPENDENCIES += opus libogg -MPD_CONF_OPTS += -Dopus=enabled -else -MPD_CONF_OPTS += -Dopus=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_OSS),y) -MPD_CONF_OPTS += -Doss=enabled -else -MPD_CONF_OPTS += -Doss=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y) -MPD_DEPENDENCIES += pulseaudio -MPD_CONF_OPTS += -Dpulse=enabled -else -MPD_CONF_OPTS += -Dpulse=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_QOBUZ),y) -MPD_DEPENDENCIES += libgcrypt yajl -MPD_CONF_OPTS += -Dqobuz=enabled -else -MPD_CONF_OPTS += -Dqobuz=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_SHOUTCAST),y) -MPD_DEPENDENCIES += libshout -MPD_CONF_OPTS += -Dshout=enabled -else -MPD_CONF_OPTS += -Dshout=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_SIDPLAY),y) -MPD_DEPENDENCIES += libsidplay2 -MPD_CONF_OPTS += -Dsidplay=enabled -else -MPD_CONF_OPTS += -Dsidplay=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y) -MPD_DEPENDENCIES += yajl -MPD_CONF_OPTS += -Dsoundcloud=enabled -else -MPD_CONF_OPTS += -Dsoundcloud=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_SQLITE),y) -MPD_DEPENDENCIES += sqlite -MPD_CONF_OPTS += -Dsqlite=enabled -else -MPD_CONF_OPTS += -Dsqlite=disabled -endif - -ifneq ($(BR2_PACKAGE_MPD_TCP),y) -MPD_CONF_OPTS += -Dtcp=true -endif - -ifeq ($(BR2_PACKAGE_MPD_TIDAL),y) -MPD_DEPENDENCIES += yajl -MPD_CONF_OPTS += -Dtidal=enabled -else -MPD_CONF_OPTS += -Dtidal=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_TREMOR),y) -MPD_DEPENDENCIES += tremor -MPD_CONF_OPTS += -Dtremor=enabled -else -MPD_CONF_OPTS += -Dtremor=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_TWOLAME),y) -MPD_DEPENDENCIES += twolame -MPD_CONF_OPTS += -Dtwolame=enabled -else -MPD_CONF_OPTS += -Dtwolame=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_UPNP),y) -MPD_DEPENDENCIES += \ - expat \ - libupnp -MPD_CONF_OPTS += -Dupnp=enabled -else -MPD_CONF_OPTS += -Dupnp=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_VORBIS),y) -MPD_DEPENDENCIES += libvorbis -MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled -else -MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_WAVPACK),y) -MPD_DEPENDENCIES += wavpack -MPD_CONF_OPTS += -Dwavpack=enabled -else -MPD_CONF_OPTS += -Dwavpack=disabled -endif - -ifeq ($(BR2_PACKAGE_MPD_ZZIP),y) -MPD_DEPENDENCIES += zziplib -MPD_CONF_OPTS += -Dzzip=enabled -else -MPD_CONF_OPTS += -Dzzip=disabled -endif - -define MPD_INSTALL_EXTRA_FILES - $(INSTALL) -m 0644 -D package/mpd/mpd.conf $(TARGET_DIR)/etc/mpd.conf - mkdir -p $(TARGET_DIR)/var/lib/mpd/music - mkdir -p $(TARGET_DIR)/var/lib/mpd/playlists -endef - -MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES - -define MPD_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/mpd/S95mpd \ - $(TARGET_DIR)/etc/init.d/S95mpd -endef - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/mpdecimal/0001-Add-minimal-support-for-enable-disable-shared-static.patch b/buildroot-2021.05/package/mpdecimal/0001-Add-minimal-support-for-enable-disable-shared-static.patch deleted file mode 100644 index 60d6b4bb..00000000 --- a/buildroot-2021.05/package/mpdecimal/0001-Add-minimal-support-for-enable-disable-shared-static.patch +++ /dev/null @@ -1,147 +0,0 @@ -From c349964887901848fb4cd5db53a5bcb6dae27aaa Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sun, 23 Nov 2014 10:16:33 +0100 -Subject: [PATCH] Add minimal support for --{enable,disable}-{shared,static} - -mpdecimal uses autoconf, but not automake or libtool, so this commit -adds some basic handling of --{enable,disable}-{shared,static}, so -that building the shared library can be disabled in pure static -library contexts. - -Signed-off-by: Thomas Petazzoni -[Fabrice: update for 2.5.0 (add libmpdec++)] -Signed-off-by: Fabrice Fontaine ---- - Makefile.in | 6 ++++++ - configure.ac | 13 +++++++++++++ - libmpdec/Makefile.in | 11 ++++++++++- - 3 files changed, 29 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 2c91891..0c44f36 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -9,6 +9,8 @@ LIBSTATIC = @LIBSTATIC@ - LIBSONAME = @LIBSONAME@ - LIBSHARED = @LIBSHARED@ - INSTALL = @INSTALL@ -+BUILD_SHARED = @BUILD_SHARED@ -+BUILD_STATIC = @BUILD_STATIC@ - - prefix = @prefix@ - exec_prefix = @exec_prefix@ -@@ -32,9 +34,13 @@ install: FORCE - $(INSTALL) -d -m 755 $(DESTDIR)$(includedir) - $(INSTALL) -m 644 libmpdec/mpdecimal.h $(DESTDIR)$(includedir) - $(INSTALL) -d -m 755 $(DESTDIR)$(libdir) -+ifeq ($(BUILD_STATIC),yes) - $(INSTALL) -m 644 libmpdec/$(LIBSTATIC) $(DESTDIR)$(libdir) -+endif -+ifeq ($(BUILD_SHARED),yes) - $(INSTALL) -m 755 libmpdec/$(LIBSHARED) $(DESTDIR)$(libdir) - cd $(DESTDIR)$(libdir) && ln -sf $(LIBSHARED) $(LIBSONAME) && ln -sf $(LIBSHARED) $(LIBNAME) -+endif - $(INSTALL) -d -m 755 $(DESTDIR)$(docdir) - cp -R doc/* $(DESTDIR)$(docdir) - -@@ -74,9 +80,13 @@ install_libcxx: install_lib - $(INSTALL) -d -m 755 $(DESTDIR)$(includedir) - $(INSTALL) -m 644 libmpdec++/decimal.hh $(DESTDIR)$(includedir) - $(INSTALL) -d -m 755 $(DESTDIR)$(libdir) -+ifeq ($(BUILD_STATIC),yes) - $(INSTALL) -m 644 libmpdec++/$(LIBSTATIC_CXX) $(DESTDIR)$(libdir) -+endif -+ifeq ($(BUILD_SHARED),yes) - $(INSTALL) -m 755 libmpdec++/$(LIBSHARED_CXX) $(DESTDIR)$(libdir) - cd $(DESTDIR)$(libdir) && ln -sf $(LIBSHARED_CXX) $(LIBSONAME_CXX) && ln -sf $(LIBSHARED_CXX) $(LIBNAME_CXX) -+endif - cp -R doc/libmpdec++ $(DESTDIR)$(docdir) - - -diff --git a/configure.ac b/configure.ac -index 7ee8f86..2b3e505 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -88,6 +88,19 @@ CFLAGS="$saved_cflags" - AC_PROG_INSTALL - AC_SUBST(INSTALL) - -+AC_ARG_ENABLE([shared], -+ [AS_HELP_STRING([--enable-shared], [build shared library])], -+ [BUILD_SHARED=$enableval], -+ [BUILD_SHARED=yes]) -+ -+AC_ARG_ENABLE([static], -+ [AS_HELP_STRING([--enable-static], [build static library])], -+ [BUILD_STATIC=$enableval], -+ [BUILD_STATIC=yes]) -+ -+AC_SUBST(BUILD_SHARED) -+AC_SUBST(BUILD_STATIC) -+ - # _FORTIFY_SOURCE wrappers for memmove and bcopy are incorrect: - # http://sourceware.org/ml/libc-alpha/2010-12/msg00009.html - AC_MSG_CHECKING(for glibc _FORTIFY_SOURCE/memmove bug) -diff --git a/libmpdec/Makefile.in b/libmpdec/Makefile.in -index d9619a3..985c73c 100644 ---- a/libmpdec/Makefile.in -+++ b/libmpdec/Makefile.in -@@ -7,6 +7,8 @@ - LIBSTATIC = @LIBSTATIC@ - LIBSONAME = @LIBSONAME@ - LIBSHARED = @LIBSHARED@ -+BUILD_SHARED = @BUILD_SHARED@ -+BUILD_STATIC = @BUILD_STATIC@ - - CC = @CC@ - LD = @LD@ -@@ -32,8 +34,15 @@ ifeq ($(MAKECMDGOALS), profile_use) - MPD_LDFLAGS += $(MPD_PUSE) - endif - -+ifeq ($(BUILD_SHARED),yes) -+TARGETS += $(LIBSHARED) -+endif -+ -+ifeq ($(BUILD_STATIC),yes) -+TARGETS += $(LIBSTATIC) -+endif - --default: $(LIBSTATIC) $(LIBSHARED) -+default: $(TARGETS) - - - OBJS := basearith.o context.o constants.o convolute.o crt.o mpdecimal.o \ -diff --git a/libmpdec/Makefile.in b/libmpdec/Makefile.in -index d9619a3..985c73c 100644 ---- a/libmpdec++/Makefile.in -+++ b/libmpdec++/Makefile.in -@@ -13,6 +13,8 @@ LIBSTATIC_CXX = @LIBSTATIC_CXX@ - LIBNAME_CXX = @LIBNAME_CXX@ - LIBSONAME_CXX = @LIBSONAME_CXX@ - LIBSHARED_CXX = @LIBSHARED_CXX@ -+BUILD_SHARED = @BUILD_SHARED@ -+BUILD_STATIC = @BUILD_STATIC@ - - CXX = @CXX@ - LDXX = @LDXX@ -@@ -39,8 +41,15 @@ ifeq ($(MAKECMDGOALS), profile_use) - MPD_LDXXFLAGS += $(MPD_PUSE) - endif - -+ifeq ($(BUILD_SHARED),yes) -+TARGETS += $(LIBSHARED_CXX) -+endif -+ -+ifeq ($(BUILD_STATIC),yes) -+TARGETS += $(LIBSTATIC_CXX) -+endif - --default: $(LIBSTATIC_CXX) $(LIBSHARED_CXX) -+default: $(TARGETS) - - - OBJS := decimal.o --- -2.1.0 - diff --git a/buildroot-2021.05/package/mpdecimal/mpdecimal.hash b/buildroot-2021.05/package/mpdecimal/mpdecimal.hash deleted file mode 100644 index c931ee4a..00000000 --- a/buildroot-2021.05/package/mpdecimal/mpdecimal.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://www.bytereef.org/mpdecimal/download.html -sha256 15417edc8e12a57d1d9d75fa7e3f22b158a3b98f44db9d694cfd2acde8dfa0ca mpdecimal-2.5.0.tar.gz -# Locally computed -sha256 b07528d8b1dbf1e2d2741052996f0876e23342ce2d30d0effa39c5457716c25a LICENSE.txt diff --git a/buildroot-2021.05/package/mpdecimal/mpdecimal.mk b/buildroot-2021.05/package/mpdecimal/mpdecimal.mk deleted file mode 100644 index fa310a22..00000000 --- a/buildroot-2021.05/package/mpdecimal/mpdecimal.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# mpdecimal -# -################################################################################ - -MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases -MPDECIMAL_VERSION = 2.5.0 -MPDECIMAL_INSTALL_STAGING = YES -MPDECIMAL_LICENSE = BSD-2-Clause -MPDECIMAL_LICENSE_FILES = LICENSE.txt -MPDECIMAL_CONF_OPTS = LD="$(TARGET_CC)" -MPDECIMAL_AUTORECONF = YES - -# On i386, by default, mpdecimal tries to uses which is not -# available in musl/uclibc. So in this case, we tell mpdecimal to use -# the generic 32 bits code, which is anyway the one used on ARM, -# PowerPC, etc. -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) -ifeq ($(BR2_i386),y) -MPDECIMAL_CONF_ENV += MACHINE=ansi32 -endif -endif - -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -MPDECIMAL_CONF_OPTS += --enable-cxx -else -MPDECIMAL_CONF_OPTS += --disable-cxx -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mpg123/mpg123.hash b/buildroot-2021.05/package/mpg123/mpg123.hash deleted file mode 100644 index 02c40ad0..00000000 --- a/buildroot-2021.05/package/mpg123/mpg123.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://sourceforge.net/projects/mpg123/files/mpg123/1.25.13/ -sha1 2b6428dc563c56fb1374191d1244c8ac928e4d89 mpg123-1.25.13.tar.bz2 -md5 294a6c30546504ec3d0deac2b2ea22be mpg123-1.25.13.tar.bz2 -# Locally calculated -sha256 90306848359c793fd43b9906e52201df18775742dc3c81c06ab67a806509890a mpg123-1.25.13.tar.bz2 -# License file -sha256 f40e0dd86b27b52e429b693a87b3ca63ae0a98a4d142e77207aa6bdf1db7a295 COPYING diff --git a/buildroot-2021.05/package/mpg123/mpg123.mk b/buildroot-2021.05/package/mpg123/mpg123.mk deleted file mode 100644 index 588a4ffc..00000000 --- a/buildroot-2021.05/package/mpg123/mpg123.mk +++ /dev/null @@ -1,85 +0,0 @@ -################################################################################ -# -# mpg123 -# -################################################################################ - -MPG123_VERSION = 1.25.13 -MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2 -MPG123_SITE = http://downloads.sourceforge.net/project/mpg123/mpg123/$(MPG123_VERSION) -MPG123_CONF_OPTS = --disable-lfs-alias -MPG123_INSTALL_STAGING = YES -MPG123_LICENSE = LGPL-2.1 -MPG123_LICENSE_FILES = COPYING -MPG123_CPE_ID_VENDOR = mpg123 -MPG123_DEPENDENCIES = host-pkgconf - -MPG123_CPU = $(if $(BR2_SOFT_FLOAT),generic_nofpu,generic_fpu) - -ifeq ($(BR2_aarch64),y) -MPG123_CPU = aarch64 -endif - -ifeq ($(BR2_arm),y) -ifeq ($(or $(BR2_ARM_CPU_HAS_NEON),$(BR2_ARM_CPU_HAS_VFPV2)),y) -MPG123_CPU = arm_fpu -else -MPG123_CPU = arm_nofpu -endif -endif - -ifeq ($(BR2_i386),y) -MPG123_CPU = x86 -endif - -ifeq ($(BR2_powerpc),y) -ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) -MPG123_CPU = altivec -endif -ifeq ($(BR2_SOFT_FLOAT),y) -MPG123_CPU = ppc_nofpu -endif -endif # powerpc - -ifeq ($(BR2_x86_64),y) -MPG123_CPU = x86-64 -endif - -MPG123_CONF_OPTS += --with-cpu=$(MPG123_CPU) - -MPG123_AUDIO = dummy oss - -ifeq ($(BR2_PACKAGE_PORTAUDIO),y) -MPG123_AUDIO += portaudio -MPG123_CONF_OPTS += --with-default-audio=portaudio -MPG123_DEPENDENCIES += portaudio -# configure script does NOT use pkg-config to figure out how to link -# with portaudio, breaking static linking as portaudio uses pthreads -MPG123_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs portaudio-2.0`" -endif - -ifeq ($(BR2_PACKAGE_SDL),y) -MPG123_AUDIO += sdl -MPG123_CONF_OPTS += --with-default-audio=sdl -MPG123_DEPENDENCIES += sdl -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -MPG123_AUDIO += alsa -MPG123_CONF_OPTS += --with-default-audio=alsa -MPG123_DEPENDENCIES += alsa-lib -# configure script does NOT use pkg-config to figure out how to link -# with alsa, breaking static linking as alsa uses pthreads -MPG123_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs alsa`" -endif - -MPG123_CONF_OPTS += --with-audio=$(subst $(space),$(comma),$(MPG123_AUDIO)) - -# output modules are loaded with dlopen() -ifeq ($(BR2_STATIC_LIBS),y) -MPG123_CONF_OPTS += --disable-modules -else -MPG123_CONF_OPTS += --enable-modules -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mpv/Config.in b/buildroot-2021.05/package/mpv/Config.in deleted file mode 100644 index 812491e3..00000000 --- a/buildroot-2021.05/package/mpv/Config.in +++ /dev/null @@ -1,35 +0,0 @@ -config BR2_PACKAGE_MPV - bool "mpv" - depends on BR2_INSTALL_LIBSTDCPP # libass - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h - depends on BR2_TOOLCHAIN_HAS_ATOMIC - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - select BR2_PACKAGE_FFMPEG - select BR2_PACKAGE_FFMPEG_SWSCALE - select BR2_PACKAGE_LIBASS - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND - # Select xkbcommon for wayland to avoid being mysterious - select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND - # Select all necessary X11 dependencies if X.org is enabled - select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXINERAMA if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7 - help - mpv is a fork of mplayer2 and MPlayer. It shares some features - with the former projects while introducing many more. - - https://mpv.io/ - -comment "mpv needs a toolchain w/ C++, threads, gcc >= 4.9" - depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/mpv/mpv.mk b/buildroot-2021.05/package/mpv/mpv.mk deleted file mode 100644 index 25ac783b..00000000 --- a/buildroot-2021.05/package/mpv/mpv.mk +++ /dev/null @@ -1,211 +0,0 @@ -################################################################################ -# -# mpv -# -################################################################################ - -MPV_VERSION = 0.33.1 -MPV_SITE = $(call github,mpv-player,mpv,v$(MPV_VERSION)) -MPV_DEPENDENCIES = \ - host-pkgconf ffmpeg libass zlib \ - $(if $(BR2_PACKAGE_LIBICONV),libiconv) -MPV_LICENSE = GPL-2.0+ -MPV_LICENSE_FILES = LICENSE.GPL -MPV_CPE_ID_VENDOR = mpv - -MPV_NEEDS_EXTERNAL_WAF = YES - -# Some of these options need testing and/or tweaks -MPV_CONF_OPTS = \ - --prefix=/usr \ - --disable-android \ - --disable-caca \ - --disable-cocoa \ - --disable-coreaudio \ - --disable-cuda-hwaccel \ - --disable-opensles \ - --disable-rubberband \ - --disable-uchardet \ - --disable-vapoursynth - -ifeq ($(BR2_STATIC_LIBS),y) -MPV_CONF_OPTS += --disable-libmpv-shared --enable-libmpv-static -else -MPV_CONF_OPTS += --enable-libmpv-shared --disable-libmpv-static -endif - -# ALSA support requires pcm+mixer -ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy) -MPV_CONF_OPTS += --enable-alsa -MPV_DEPENDENCIES += alsa-lib -else -MPV_CONF_OPTS += --disable-alsa -endif - -# GBM support is provided by mesa3d when EGL=y -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y) -MPV_CONF_OPTS += --enable-gbm -MPV_DEPENDENCIES += mesa3d -else -MPV_CONF_OPTS += --disable-gbm -endif - -# jack support -# It also requires 64-bit sync intrinsics -ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_JACK2),yy) -MPV_CONF_OPTS += --enable-jack -MPV_DEPENDENCIES += jack2 -else -MPV_CONF_OPTS += --disable-jack -endif - -# jpeg support -ifeq ($(BR2_PACKAGE_JPEG),y) -MPV_CONF_OPTS += --enable-jpeg -MPV_DEPENDENCIES += jpeg -else -MPV_CONF_OPTS += --disable-jpeg -endif - -# lcms2 support -ifeq ($(BR2_PACKAGE_LCMS2),y) -MPV_CONF_OPTS += --enable-lcms2 -MPV_DEPENDENCIES += lcms2 -else -MPV_CONF_OPTS += --disable-lcms2 -endif - -# libarchive support -ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) -MPV_CONF_OPTS += --enable-libarchive -MPV_DEPENDENCIES += libarchive -else -MPV_CONF_OPTS += --disable-libarchive -endif - -# bluray support -ifeq ($(BR2_PACKAGE_LIBBLURAY),y) -MPV_CONF_OPTS += --enable-libbluray -MPV_DEPENDENCIES += libbluray -else -MPV_CONF_OPTS += --disable-libbluray -endif - -# libcdio-paranoia -ifeq ($(BR2_PACKAGE_LIBCDIO_PARANOIA),y) -MPV_CONF_OPTS += --enable-cdda -MPV_DEPENDENCIES += libcdio-paranoia -else -MPV_CONF_OPTS += --disable-cdda -endif - -# libdvdnav -ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) -MPV_CONF_OPTS += --enable-dvdnav -MPV_DEPENDENCIES += libdvdnav -else -MPV_CONF_OPTS += --disable-dvdnav -endif - -# libdrm -ifeq ($(BR2_PACKAGE_LIBDRM),y) -MPV_CONF_OPTS += --enable-drm -MPV_DEPENDENCIES += libdrm -else -MPV_CONF_OPTS += --disable-drm -endif - -# libvdpau -ifeq ($(BR2_PACKAGE_LIBVDPAU),y) -MPV_CONF_OPTS += --enable-vdpau -MPV_DEPENDENCIES += libvdpau -else -MPV_CONF_OPTS += --disable-vdpau -endif - -# LUA support, only for lua51/lua52/luajit -# This enables the controller (OSD) together with libass -ifeq ($(BR2_PACKAGE_LUA_5_1)$(BR2_PACKAGE_LUAJIT),y) -MPV_CONF_OPTS += --enable-lua -MPV_DEPENDENCIES += luainterpreter -else -MPV_CONF_OPTS += --disable-lua -endif - -# OpenGL support -ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) -MPV_CONF_OPTS += --enable-gl -MPV_DEPENDENCIES += libgl -else -MPV_CONF_OPTS += --disable-gl -endif - -# pulseaudio support -ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) -MPV_CONF_OPTS += --enable-pulse -MPV_DEPENDENCIES += pulseaudio -else -MPV_CONF_OPTS += --disable-pulse -endif - -# SDL support -# Sdl2 requires 64-bit sync intrinsics -ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_SDL2),yy) -MPV_CONF_OPTS += --enable-sdl2 -MPV_DEPENDENCIES += sdl2 -else -MPV_CONF_OPTS += --disable-sdl2 -endif - -# Raspberry Pi support -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) -MPV_CONF_OPTS += --enable-rpi --enable-gl -MPV_DEPENDENCIES += rpi-userland -else -MPV_CONF_OPTS += --disable-rpi -endif - -# va-api support -# This requires one or more of the egl-drm, wayland, x11 backends -# For now we support wayland and x11 -ifeq ($(BR2_PACKAGE_LIBVA),y) -ifneq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_XORG7),) -MPV_CONF_OPTS += --enable-vaapi -MPV_DEPENDENCIES += libva -else -MPV_CONF_OPTS += --disable-vaapi -endif -else -MPV_CONF_OPTS += --disable-vaapi -endif - -# wayland support -ifeq ($(BR2_PACKAGE_WAYLAND),y) -MPV_CONF_OPTS += --enable-wayland -MPV_DEPENDENCIES += libxkbcommon wayland wayland-protocols -else -MPV_CONF_OPTS += --disable-wayland -endif - -# Base X11 support. Config.in ensures that if BR2_PACKAGE_XORG7 is -# enabled, xlib_libX11, xlib_libXext, xlib_libXinerama, -# xlib_libXrandr, xlib_libXScrnSaver. -ifeq ($(BR2_PACKAGE_XORG7),y) -MPV_CONF_OPTS += --enable-x11 -MPV_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXinerama xlib_libXrandr xlib_libXScrnSaver -# XVideo -ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y) -MPV_CONF_OPTS += --enable-xv -MPV_DEPENDENCIES += xlib_libXv -else -MPV_CONF_OPTS += --disable-xv -endif -else -MPV_CONF_OPTS += --disable-x11 -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -MPV_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -latomic" -endif - -$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch b/buildroot-2021.05/package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch deleted file mode 100644 index b3a1f5a0..00000000 --- a/buildroot-2021.05/package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch +++ /dev/null @@ -1,29 +0,0 @@ -From dbb5961f106ec42cd70689d933674c9c37aedfe1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= -Date: Mon, 13 Apr 2020 20:12:11 +0200 -Subject: [PATCH] include: Declare gVERSION global as 'extern'. - -Fixes build with '-fno-common'. - -[Retrieved from: -https://github.com/eclipse/mraa/pull/1012/commits/dbb5961f106ec42cd70689d933674c9c37aedfe1] -Signed-off-by: Fabrice Fontaine ---- - include/version.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/version.h b/include/version.h -index 47366ef6f..3a567a1d5 100644 ---- a/include/version.h -+++ b/include/version.h -@@ -11,8 +11,8 @@ - extern "C" { - #endif - --const char* gVERSION; --const char* gVERSION_SHORT; -+extern const char* gVERSION; -+extern const char* gVERSION_SHORT; - - #ifdef __cplusplus - } diff --git a/buildroot-2021.05/package/mraa/0002-CMakeLists.txt-add-BUILDCPP-option.patch b/buildroot-2021.05/package/mraa/0002-CMakeLists.txt-add-BUILDCPP-option.patch deleted file mode 100644 index fbadfe79..00000000 --- a/buildroot-2021.05/package/mraa/0002-CMakeLists.txt-add-BUILDCPP-option.patch +++ /dev/null @@ -1,193 +0,0 @@ -From cb88e4dd1fbbb9d24e625dba2768b88ed99da309 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 13 Jun 2020 22:51:37 +0200 -Subject: [PATCH] CMakeLists.txt: add BUILDCPP option - -C++ is a mandatory dependency since version 1.4.0 and -https://github.com/eclipse/mraa/commit/122cab1f1e53b7c9c7cd82905b962071f9bad9dc - -As a result, build on embedded toolchains that do not support C++ fails -on: - -CMake Error at CMakeLists.txt:2 (project): - The CMAKE_CXX_COMPILER: - - /home/naourr/work/instance-1/output-1/per-package/mraa/host/bin/arm-linux-g++ - - is not a full path to an existing compiler tool. - -Fixes: - - http://autobuild.buildroot.org/results/31086422e03611c16ab59c4418e3669b580bc0c0 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/eclipse/mraa/commit/cb88e4dd1fbbb9d24e625dba2768b88ed99da309] ---- - CMakeLists.txt | 69 +++++++++++++++++++---------------- - src/java/CMakeLists.txt | 4 +- - src/javascript/CMakeLists.txt | 34 +++++++++-------- - 3 files changed, 59 insertions(+), 48 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 250d9106e..90c0dc920 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,5 +1,5 @@ - cmake_minimum_required (VERSION 2.8.11) --project (mraa C CXX) -+project (mraa C) - - FIND_PACKAGE (Threads REQUIRED) - -@@ -11,6 +11,8 @@ else () - set (CMAKE_C_STANDARD 99) - endif () - -+option (BUILDCPP "Enable C++ (needed by FTDI4222 and tests)" ON) -+ - ############################################################################### - # Detect supported warning flags - # Modified from work By Dan Liew (fpbench - MIT) -@@ -33,15 +35,18 @@ set (MRAA_C_WARNING_FLAGS - -Werror=missing-parameter-type - ) - --# Warning flags for the C++ compiler only --set (MRAA_CXX_WARNING_FLAGS -- -Wnon-virtual-dtor -- -Woverloaded-virtual -- -Wreorder --) -- - include (CheckCCompilerFlag) --include (CheckCXXCompilerFlag) -+if (BUILDCPP) -+ # Warning flags for the C++ compiler only -+ set (MRAA_CXX_WARNING_FLAGS -+ -Wnon-virtual-dtor -+ -Woverloaded-virtual -+ -Wreorder -+ ) -+ -+ enable_language (CXX) -+ include (CheckCXXCompilerFlag) -+endif () - function (MRAA_SANITIZE_FLAG_NAME OUTPUT_VAR FLAG) - string (REPLACE "-" "_" SANITIZED_FLAG_NAME "${FLAG}") - string (REPLACE "/" "_" SANITIZED_FLAG_NAME "${SANITIZED_FLAG_NAME}") -@@ -62,28 +67,30 @@ foreach (flag ${MRAA_BOTH_WARNING_FLAGS} ${MRAA_C_WARNING_FLAGS}) - endif () - endforeach () - --# Globally set C++ compiler warning flags that are supported and emit --# a warning about unsupported flags --foreach (flag ${MRAA_BOTH_WARNING_FLAGS} ${MRAA_CXX_WARNING_FLAGS}) -- MRAA_SANITIZE_FLAG_NAME (SANITIZED_FLAG_NAME "${flag}") -- CHECK_CXX_COMPILER_FLAG ("${flag}" HAS_CXX_${SANITIZED_FLAG_NAME}) -- if (HAS_CXX_${SANITIZED_FLAG_NAME}) -- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}") -- else () -- message (WARNING "C++ compiler does not support flag \"${flag}\"") -- endif () --endforeach () -- --# This function adds the c++11 flag to a c++ target (if supported) --function(use_cxx_11 targetname) -- include(CheckCXXCompilerFlag) -- CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) -- if (COMPILER_SUPPORTS_CXX11) -- set_target_properties(${targetname} PROPERTIES COMPILE_FLAGS "-std=c++11") -- else() -- message(FATAL_ERROR "Target '${targetname}' requires c++11 which is not supported by this compiler") -- endif() --endfunction() -+if (BUILDCPP) -+ # Globally set C++ compiler warning flags that are supported and emit -+ # a warning about unsupported flags -+ foreach (flag ${MRAA_BOTH_WARNING_FLAGS} ${MRAA_CXX_WARNING_FLAGS}) -+ MRAA_SANITIZE_FLAG_NAME (SANITIZED_FLAG_NAME "${flag}") -+ CHECK_CXX_COMPILER_FLAG ("${flag}" HAS_CXX_${SANITIZED_FLAG_NAME}) -+ if (HAS_CXX_${SANITIZED_FLAG_NAME}) -+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}") -+ else () -+ message (WARNING "C++ compiler does not support flag \"${flag}\"") -+ endif () -+ endforeach () -+ -+ # This function adds the c++11 flag to a c++ target (if supported) -+ function(use_cxx_11 targetname) -+ include(CheckCXXCompilerFlag) -+ CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) -+ if (COMPILER_SUPPORTS_CXX11) -+ set_target_properties(${targetname} PROPERTIES COMPILE_FLAGS "-std=c++11") -+ else() -+ message(FATAL_ERROR "Target '${targetname}' requires c++11 which is not supported by this compiler") -+ endif() -+ endfunction() -+endif() - - # Set CMAKE_INSTALL_LIBDIR if not defined - include(GNUInstallDirs) -diff --git a/src/java/CMakeLists.txt b/src/java/CMakeLists.txt -index 231c755fa..cfa72a0df 100644 ---- a/src/java/CMakeLists.txt -+++ b/src/java/CMakeLists.txt -@@ -16,7 +16,9 @@ include_directories ( - set_source_files_properties (mraajava.i PROPERTIES SWIG_FLAGS ";-package;mraa;-I${CMAKE_BINARY_DIR}/src") - set_source_files_properties (mraajava.i PROPERTIES CPLUSPLUS ON) - --set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -DJAVACALLBACK") -+if (BUILDCPP) -+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -DJAVACALLBACK") -+endif() - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DJAVACALLBACK") - - if (NOT DEFINED ENV{JAVA_HOME_NATIVE}) -diff --git a/src/javascript/CMakeLists.txt b/src/javascript/CMakeLists.txt -index 25fd36275..99a96b49d 100644 ---- a/src/javascript/CMakeLists.txt -+++ b/src/javascript/CMakeLists.txt -@@ -36,25 +36,27 @@ set_target_properties (mraajs PROPERTIES - ) - - message (STATUS "INFO - swig Version ${SWIG_VERSION}") --message (STATUS "INFO - CXX compiler Version ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}") -+if (BUILDCPP) -+ message (STATUS "INFO - CXX compiler Version ${CMAKE_CXX_COMPILER_ID} ${CMAKE_CXX_COMPILER_VERSION}") - --if (${V8_VERSION_MAJOR} GREATER 3) -- message (STATUS "INFO - Using V8 version > 3 so requiring C++11 compiler") -- # Node 0.12.x V8 engine major version is '3'. -- # Node 2.1.0 V8 engine major version is '4'. -- set_property (TARGET mraajs PROPERTY CXX_STANDARD 11) -- set_property (TARGET mraajs PROPERTY CXX_STANDARD_REQUIRED ON) -- if (CMAKE_VERSION VERSION_LESS "3.1") -- message (WARNING "Need to use CMAKE version 3.1+, but it is ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}, using a workaround.") -- if (CMAKE_COMPILER_IS_GNUCXX) -- if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7") -- message (FATAL_ERROR "GNU gcc compiler is also too old (need 4.7+, but ${CMAKE_CXX_COMPILER_VERSION}) and does not support C++11 standard.") -+ if (${V8_VERSION_MAJOR} GREATER 3) -+ message (STATUS "INFO - Using V8 version > 3 so requiring C++11 compiler") -+ # Node 0.12.x V8 engine major version is '3'. -+ # Node 2.1.0 V8 engine major version is '4'. -+ set_property (TARGET mraajs PROPERTY CXX_STANDARD 11) -+ set_property (TARGET mraajs PROPERTY CXX_STANDARD_REQUIRED ON) -+ if (CMAKE_VERSION VERSION_LESS "3.1") -+ message (WARNING "Need to use CMAKE version 3.1+, but it is ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}, using a workaround.") -+ if (CMAKE_COMPILER_IS_GNUCXX) -+ if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7") -+ message (FATAL_ERROR "GNU gcc compiler is also too old (need 4.7+, but ${CMAKE_CXX_COMPILER_VERSION}) and does not support C++11 standard.") -+ endif () -+ set (MRAA_CXX11_WORKAROUND_OPTION "-std=gnu++11") -+ else () -+ set (MRAA_CXX11_WORKAROUND_OPTION "-std=c++11") - endif () -- set (MRAA_CXX11_WORKAROUND_OPTION "-std=gnu++11") -- else () -- set (MRAA_CXX11_WORKAROUND_OPTION "-std=c++11") -+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MRAA_CXX11_WORKAROUND_OPTION} ") - endif () -- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${MRAA_CXX11_WORKAROUND_OPTION} ") - endif () - endif () - diff --git a/buildroot-2021.05/package/mraa/mraa.hash b/buildroot-2021.05/package/mraa/mraa.hash deleted file mode 100644 index f29a5ce8..00000000 --- a/buildroot-2021.05/package/mraa/mraa.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 5351ce9eb654014d8ea7f43bdb2d17e6d1955536938a2ea0d467f4008e614345 mraa-2.1.0.tar.gz -sha256 fac52622ed3badd86b34857b21777ab90296d6ccbc2ac0fd457c09fdeefa9ef1 COPYING diff --git a/buildroot-2021.05/package/mraa/mraa.mk b/buildroot-2021.05/package/mraa/mraa.mk deleted file mode 100644 index 910339b3..00000000 --- a/buildroot-2021.05/package/mraa/mraa.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# mraa -# -################################################################################ - -MRAA_VERSION = 2.1.0 -MRAA_SITE = $(call github,eclipse,mraa,v$(MRAA_VERSION)) -MRAA_LICENSE = MIT -MRAA_LICENSE_FILES = COPYING -MRAA_INSTALL_STAGING = YES - -ifeq ($(BR2_i386),y) -MRAA_ARCH = i386 -else ifeq ($(BR2_x86_64),y) -MRAA_ARCH = x86_64 -else ifeq ($(BR2_arm)$(BR2_armeb),y) -MRAA_ARCH = arm -else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) -MRAA_ARCH = aarch64 -else ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) -MRAA_ARCH = mips -endif - -# USBPLAT only makes sense with FTDI4222, which requires the ftd2xx library, -# which doesn't exist in buildroot -# Disable C++ as it is used only by FTDI4222 and tests -MRAA_CONF_OPTS += \ - -DBUILDARCH=$(MRAA_ARCH) \ - -DBUILDCPP=OFF \ - -DBUILDSWIG=OFF \ - -DUSBPLAT=OFF \ - -DFTDI4222=OFF \ - -DENABLEEXAMPLES=OFF \ - -DBUILDTESTS=OFF - -ifeq ($(BR2_PACKAGE_JSON_C),y) -MRAA_CONF_OPTS += -DJSONPLAT=ON -MRAA_DEPENDENCIES += json-c -else -MRAA_CONF_OPTS += -DJSONPLAT=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/mrouted/Config.in b/buildroot-2021.05/package/mrouted/Config.in deleted file mode 100644 index f8dd173c..00000000 --- a/buildroot-2021.05/package/mrouted/Config.in +++ /dev/null @@ -1,26 +0,0 @@ -config BR2_PACKAGE_MROUTED - bool "mrouted" - depends on BR2_USE_MMU # fork() - help - An implementation of the DVMRP multicast routing protocol. - Unlike PIM a DVMRP router has a distance vector protocol (like - RIP) built-in to figure out the reverse-path to the multicast - source. This package comes with mrouted and mroutectl. Where - the latter is used to query status and control operation. - - Note: at least two interfaces with MULTICAST flag is requried. - - http://github.com/troglobit/mrouted - -if BR2_PACKAGE_MROUTED - -config BR2_PACKAGE_MROUTED_RSRR - bool "enable RSRR for RSVP" - help - Routing Support for Resource Reservation, currently used by - RSVP. This is an EXPERIMENTAL feature. - - For details, see: - http://tools.ietf.org/html/draft-ietf-rsvp-routing-02 - -endif diff --git a/buildroot-2021.05/package/mrouted/mrouted.hash b/buildroot-2021.05/package/mrouted/mrouted.hash deleted file mode 100644 index 18829302..00000000 --- a/buildroot-2021.05/package/mrouted/mrouted.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://github.com/troglobit/mrouted/releases/download/4.2/mrouted-4.2.tar.gz.md5 -md5 b921f9e152e039efdac745438ef8362c mrouted-4.2.tar.gz - -# Locally calculated -sha256 689541334ea951286054b771640e9d0f26b6a3242ff7f3894a3ef1b680811b34 mrouted-4.2.tar.gz -sha256 834f45ed282fd010f354ecc0a50538af519a1cfcc4d2866de3be06982fa9ed29 LICENSE diff --git a/buildroot-2021.05/package/mrouted/mrouted.mk b/buildroot-2021.05/package/mrouted/mrouted.mk deleted file mode 100644 index 95da0c62..00000000 --- a/buildroot-2021.05/package/mrouted/mrouted.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# mrouted -# -################################################################################ - -MROUTED_VERSION = 4.2 -MROUTED_SITE = \ - https://github.com/troglobit/mrouted/releases/download/$(MROUTED_VERSION) -MROUTED_DEPENDENCIES = host-bison -MROUTED_LICENSE = BSD-3-Clause -MROUTED_LICENSE_FILES = LICENSE -MROUTED_CPE_ID_VENDOR = troglobit - -ifeq ($(BR2_PACKAGE_MROUTED_RSRR),y) -MROUTED_CONF_OPTS += --enable-rsrr -else -MROUTED_CONF_OPTS += --disable-rsrr -endif - -define MROUTED_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/mrouted/S41mrouted \ - $(TARGET_DIR)/etc/init.d/S41mrouted -endef - -define MROUTED_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(@D)/mrouted.service \ - $(TARGET_DIR)/usr/lib/systemd/system/mrouted.service -endef - -# We will asume that CONFIG_NET and CONFIG_INET are already -# set in the kernel configuration provided by the user. -define MROUTED_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_IP_MULTICAST) - $(call KCONFIG_ENABLE_OPT,CONFIG_IP_MROUTE) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mrp/Config.in b/buildroot-2021.05/package/mrp/Config.in deleted file mode 100644 index 0ca18a4e..00000000 --- a/buildroot-2021.05/package/mrp/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_MRP - bool "mrp" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 - select BR2_PACKAGE_LIBEV - select BR2_PACKAGE_LIBMNL - select BR2_PACKAGE_LIBNL - help - This is the userspace application that configures the kernel - to run MRP protocol. The userspace application is made of 2 - applications, one daemon and a client. - - https://github.com/microchip-ung/mrp - -comment "mrp needs a toolchain w/ threads, kernel headers >= 5.0" - depends on !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 diff --git a/buildroot-2021.05/package/mrp/mrp.hash b/buildroot-2021.05/package/mrp/mrp.hash deleted file mode 100644 index 02a848c7..00000000 --- a/buildroot-2021.05/package/mrp/mrp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally calculated -sha256 1a6c76d058bb425a7ec8b69a65de797650961161ec016b51ac8a1965e1ac304f mrp-1.1.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/mrp/mrp.mk b/buildroot-2021.05/package/mrp/mrp.mk deleted file mode 100644 index 7e31e442..00000000 --- a/buildroot-2021.05/package/mrp/mrp.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# mrp -# -################################################################################ - -MRP_VERSION = 1.1 -MRP_SITE = $(call github,microchip-ung,mrp,v$(MRP_VERSION)) -MRP_DEPENDENCIES = libev libmnl libnl -MRP_LICENSE = GPL-2.0 -MRP_LICENSE_FILES = LICENSE - -define MRP_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D $(MRP_PKGDIR)/S65mrp \ - $(TARGET_DIR)/etc/init.d/S65mrp -endef - -define MRP_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(MRP_PKGDIR)/mrp.service \ - $(TARGET_DIR)/usr/lib/systemd/system/mrp.service -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/msgpack/msgpack.hash b/buildroot-2021.05/package/msgpack/msgpack.hash deleted file mode 100644 index 3829a702..00000000 --- a/buildroot-2021.05/package/msgpack/msgpack.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 464f46744a6be778626d11452c4db3c2d09461080c6db42e358e21af19d542f6 msgpack-3.2.1.tar.gz -sha256 664550b43996452a5a2c7471bb0ff77185a58c69ccafa60f983dc4c162e1ee22 COPYING -sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE_1_0.txt diff --git a/buildroot-2021.05/package/msgpack/msgpack.mk b/buildroot-2021.05/package/msgpack/msgpack.mk deleted file mode 100644 index 81670ded..00000000 --- a/buildroot-2021.05/package/msgpack/msgpack.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# msgpack -# -################################################################################ - -MSGPACK_VERSION = 3.2.1 -MSGPACK_SITE = $(call github,msgpack,msgpack-c,cpp-$(MSGPACK_VERSION)) -MSGPACK_LICENSE = BSL-1.0 -MSGPACK_LICENSE_FILES = COPYING LICENSE_1_0.txt -MSGPACK_INSTALL_STAGING = YES -MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_BUILD_TESTS=OFF - -ifeq ($(BR2_STATIC_LIBS),y) -MSGPACK_CONF_OPTS += -DMSGPACK_ENABLE_SHARED=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/mtd/Config.in b/buildroot-2021.05/package/mtd/Config.in deleted file mode 100644 index 590ca7f5..00000000 --- a/buildroot-2021.05/package/mtd/Config.in +++ /dev/null @@ -1,211 +0,0 @@ -config BR2_PACKAGE_MTD - bool "mtd, jffs2 and ubi/ubifs tools" - help - Build mtd, jffs2 and ubi/ubifs tools - - http://www.linux-mtd.infradead.org/ - -if BR2_PACKAGE_MTD - -# The two hidden options below match mtd configure script options -# --enable-jffs and --enable-ubifs - -config BR2_PACKAGE_MTD_JFFS_UTILS - bool - select BR2_PACKAGE_LZO - select BR2_PACKAGE_ZLIB - -config BR2_PACKAGE_MTD_UBIFS_UTILS - bool - select BR2_PACKAGE_LZO - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - select BR2_PACKAGE_ZLIB - -comment "MTD tools selection" - -config BR2_PACKAGE_MTD_DOCFDISK - bool "docfdisk" - -config BR2_PACKAGE_MTD_DOC_LOADBIOS - bool "doc_loadbios" - -config BR2_PACKAGE_MTD_FLASHCP - bool "flashcp" - default y - -config BR2_PACKAGE_MTD_FLASH_ERASE - bool "flash_erase" - default y - -config BR2_PACKAGE_MTD_FLASH_LOCK - bool "flash_lock" - default y - -config BR2_PACKAGE_MTD_FLASH_OTP_DUMP - bool "flash_otp_dump" - -config BR2_PACKAGE_MTD_FLASH_OTP_INFO - bool "flash_otp_info" - -config BR2_PACKAGE_MTD_FLASH_OTP_LOCK - bool "flash_otp_lock" - -config BR2_PACKAGE_MTD_FLASH_OTP_WRITE - bool "flash_otp_write" - -config BR2_PACKAGE_MTD_FLASH_UNLOCK - bool "flash_unlock" - default y - -config BR2_PACKAGE_MTD_FTL_CHECK - bool "ftl_check" - -config BR2_PACKAGE_MTD_FTL_FORMAT - bool "ftl_format" - -config BR2_PACKAGE_MTD_JFFS2DUMP - bool "jffs2dump" - select BR2_PACKAGE_MTD_JFFS_UTILS - -config BR2_PACKAGE_MTD_MKFSJFFS2 - bool "mkfs.jffs2" - select BR2_PACKAGE_MTD_JFFS_UTILS - -config BR2_PACKAGE_MTD_MKFSUBIFS - bool "mkfs.ubifs" - select BR2_PACKAGE_MTD_UBIFS_UTILS - -config BR2_PACKAGE_MTD_MTD_DEBUG - bool "mtd_debug" - default y - -config BR2_PACKAGE_MTD_MTDPART - bool "mtdpart" - -config BR2_PACKAGE_MTD_NANDDUMP - bool "nanddump" - default y - -config BR2_PACKAGE_MTD_NANDTEST - bool "nandtest" - default y - -config BR2_PACKAGE_MTD_NANDWRITE - bool "nandwrite" - default y - -config BR2_PACKAGE_MTD_NFTLDUMP - bool "nftldump" - -config BR2_PACKAGE_MTD_NFTL_FORMAT - bool "nftl_format" - -config BR2_PACKAGE_MTD_RECV_IMAGE - bool "recv_image" - -config BR2_PACKAGE_MTD_RFDDUMP - bool "rfddump" - -config BR2_PACKAGE_MTD_RFDFORMAT - bool "rfdformat" - -config BR2_PACKAGE_MTD_SERVE_IMAGE - bool "serve_image" - -config BR2_PACKAGE_MTD_SUMTOOL - bool "sumtool" - select BR2_PACKAGE_MTD_JFFS_UTILS - -config BR2_PACKAGE_MTD_MTDINFO - bool "mtdinfo" - default y - -config BR2_PACKAGE_MTD_UBIATTACH - bool "ubiattach" - default y - -config BR2_PACKAGE_MTD_UBICRC32 - bool "ubicrc32" - default y - -config BR2_PACKAGE_MTD_UBIDETACH - bool "ubidetach" - default y - -config BR2_PACKAGE_MTD_UBIFORMAT - bool "ubiformat" - default y - -config BR2_PACKAGE_MTD_UBIMKVOL - bool "ubimkvol" - default y - -config BR2_PACKAGE_MTD_UBINFO - bool "ubinfo" - default y - -config BR2_PACKAGE_MTD_UBINIZE - bool "ubinize" - default y - -config BR2_PACKAGE_MTD_UBIRENAME - bool "ubirename" - default y - -config BR2_PACKAGE_MTD_UBIRMVOL - bool "ubirmvol" - default y - -config BR2_PACKAGE_MTD_UBIRSVOL - bool "ubirsvol" - default y - -config BR2_PACKAGE_MTD_UBIUPDATEVOL - bool "ubiupdatevol" - default y - -config BR2_PACKAGE_MTD_UBIBLOCK - bool "ubiblock" - default y - -config BR2_PACKAGE_MTD_TESTS - bool "MTD test tools" - depends on BR2_USE_MMU # fork() in fstests - depends on BR2_TOOLCHAIN_HAS_THREADS - help - Build and install tools for testing MTD devices and drivers. - -if BR2_PACKAGE_MTD_TESTS - -config BR2_PACKAGE_MTD_FLASH_READTEST - bool "flash_readtest" - -config BR2_PACKAGE_MTD_FLASH_SPEED - bool "flash_speed" - -config BR2_PACKAGE_MTD_FLASH_STRESS - bool "flash_stress" - -config BR2_PACKAGE_MTD_FLASH_TORTURE - bool "flash_torture" - -config BR2_PACKAGE_MTD_INTEGCK - bool "integck" - -config BR2_PACKAGE_MTD_NANDBITERRS - bool "nandbiterrs" - -config BR2_PACKAGE_MTD_NANDPAGETEST - bool "nandpagetest" - -config BR2_PACKAGE_MTD_NANDSUBPAGETEST - bool "nandsubpagetest" - -endif - -comment "MTD test tools need a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS - -endif diff --git a/buildroot-2021.05/package/mtd/mtd.hash b/buildroot-2021.05/package/mtd/mtd.hash deleted file mode 100644 index fda5a6ea..00000000 --- a/buildroot-2021.05/package/mtd/mtd.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -# ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-2.1.2.tar.bz2.asc -sha256 8ad4c5f34716d40646aa28724a2f5616d325a6f119254f914e26976f1f76e9d6 mtd-utils-2.1.2.tar.bz2 -sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING diff --git a/buildroot-2021.05/package/mtd/mtd.mk b/buildroot-2021.05/package/mtd/mtd.mk deleted file mode 100644 index c4fa56d2..00000000 --- a/buildroot-2021.05/package/mtd/mtd.mk +++ /dev/null @@ -1,136 +0,0 @@ -################################################################################ -# -# mtd -# -################################################################################ - -MTD_VERSION = 2.1.2 -MTD_SOURCE = mtd-utils-$(MTD_VERSION).tar.bz2 -MTD_SITE = ftp://ftp.infradead.org/pub/mtd-utils -MTD_LICENSE = GPL-2.0 -MTD_LICENSE_FILES = COPYING -MTD_CPE_ID_VENDOR = mtd-utils_project -MTD_CPE_ID_PRODUCT = mtd-utils -MTD_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_MTD_JFFS_UTILS),y) -MTD_DEPENDENCIES += zlib lzo host-pkgconf -MTD_CONF_OPTS += --with-jffs -else -MTD_CONF_OPTS += --without-jffs -endif - -ifeq ($(BR2_PACKAGE_MTD_UBIFS_UTILS),y) -MTD_DEPENDENCIES += util-linux zlib lzo host-pkgconf -MTD_CONF_OPTS += --with-ubifs -# crypto needs linux/hash_info.h -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12)$(BR2_PACKAGE_OPENSSL),yy) -MTD_DEPENDENCIES += openssl -MTD_CONF_OPTS += --with-crypto -else -MTD_CONF_OPTS += --without-crypto -endif -ifeq ($(BR2_PACKAGE_ZSTD),y) -MTD_DEPENDENCIES += zstd -MTD_CONF_OPTS += --with-zstd -else -MTD_CONF_OPTS += --without-zstd -endif -else -MTD_CONF_OPTS += --without-ubifs -endif - -ifeq ($(BR2_PACKAGE_MTD_TESTS),y) -MTD_CONF_OPTS += --enable-tests --enable-install-tests -else -MTD_CONF_OPTS += --disable-tests --disable-install-tests -endif - -# If extended attributes are required, the acl package must -# also be enabled which will also include the attr package. -ifeq ($(BR2_PACKAGE_ACL),y) -MTD_DEPENDENCIES += acl -MTD_CONF_OPTS += --with-xattr -else -MTD_CONF_OPTS += --without-xattr -endif - -HOST_MTD_DEPENDENCIES = host-acl host-zlib host-lzo host-util-linux host-zstd -HOST_MTD_CONF_OPTS = \ - --with-jffs \ - --with-ubifs \ - --without-crypto \ - --disable-tests - -MKFS_JFFS2 = $(HOST_DIR)/sbin/mkfs.jffs2 -SUMTOOL = $(HOST_DIR)/sbin/sumtool - -MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk -MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASHCP) += flashcp -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_LOCK) += flash_lock -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_DUMP) += flash_otp_dump -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_INFO) += flash_otp_info -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_LOCK) += flash_otp_lock -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_WRITE) += flash_otp_write -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock -MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check -MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format -MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS2DUMP) += jffs2dump -MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS2) += mkfs.jffs2 -MTD_TARGETS_$(BR2_PACKAGE_MTD_MTD_DEBUG) += mtd_debug -MTD_TARGETS_$(BR2_PACKAGE_MTD_MTDPART) += mtdpart -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDDUMP) += nanddump -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDTEST) += nandtest -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDWRITE) += nandwrite -MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTLDUMP) += nftldump -MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTL_FORMAT) += nftl_format -MTD_TARGETS_$(BR2_PACKAGE_MTD_RECV_IMAGE) += recv_image -MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDDUMP) += rfddump -MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDFORMAT) += rfdformat -MTD_TARGETS_$(BR2_PACKAGE_MTD_SERVE_IMAGE) += serve_image -MTD_TARGETS_$(BR2_PACKAGE_MTD_SUMTOOL) += sumtool -MTD_TARGETS_$(BR2_PACKAGE_MTD_MTDINFO) += mtdinfo -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIATTACH) += ubiattach -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBICRC32) += ubicrc32 -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIDETACH) += ubidetach -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIFORMAT) += ubiformat -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIMKVOL) += ubimkvol -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBINFO) += ubinfo -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBINIZE) += ubinize -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIRENAME) += ubirename -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIRMVOL) += ubirmvol -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIRSVOL) += ubirsvol -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol -MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIBLOCK) += ubiblock -MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSUBIFS) += mkfs.ubifs -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_READTEST) += flash_readtest -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_SPEED) += flash_speed -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_STRESS) += flash_stress -MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_TORTURE) += flash_torture -MTD_TARGETS_$(BR2_PACKAGE_MTD_INTEGCK) += integck -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDBITERRS) += nandbiterrs -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDPAGETEST) += nandpagetest -MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDSUBPAGETEST) += nandsubpagetest - -define MTD_INSTALL_TARGET_CMDS - $(foreach f,$(MTD_TARGETS_y), \ - $(INSTALL) -D -m 0755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(notdir $(f)) - ) -endef - -# Those libraries are not installed by "make install", but are needed -# by other packages, such as swupdate. -define MTD_INSTALL_LIBS - $(INSTALL) -D -m 0755 $(@D)/include/libmtd.h $(STAGING_DIR)/usr/include/mtd/libmtd.h - $(INSTALL) -D -m 0755 $(@D)/include/libubi.h $(STAGING_DIR)/usr/include/mtd/libubi.h - $(INSTALL) -D -m 0755 $(@D)/include/mtd/ubi-media.h $(STAGING_DIR)/usr/include/mtd/ubi-media.h - $(INSTALL) -D -m 0755 $(@D)/libmtd.a $(STAGING_DIR)/usr/lib/libmtd.a - $(INSTALL) -D -m 0755 $(@D)/libubi.a $(STAGING_DIR)/usr/lib/libubi.a -endef - -MTD_POST_INSTALL_STAGING_HOOKS += MTD_INSTALL_LIBS - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/mtools/mtools.hash b/buildroot-2021.05/package/mtools/mtools.hash deleted file mode 100644 index 86cfe693..00000000 --- a/buildroot-2021.05/package/mtools/mtools.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 d09cff66d7277ad36a7573fc3e9803bfa558cdda83baabaafbf7761317462283 mtools-4.0.26.tar.lz - -# Locally calculated -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/mtools/mtools.mk b/buildroot-2021.05/package/mtools/mtools.mk deleted file mode 100644 index 6d63a565..00000000 --- a/buildroot-2021.05/package/mtools/mtools.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# mtools -# -################################################################################ - -MTOOLS_VERSION = 4.0.26 -MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.lz -MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools -MTOOLS_LICENSE = GPL-3.0+ -MTOOLS_LICENSE_FILES = COPYING -MTOOLS_CONF_OPTS = --without-x -# info documentation not needed -MTOOLS_CONF_ENV = \ - ac_cv_func_setpgrp_void=yes \ - ac_cv_lib_bsd_gethostbyname=no \ - ac_cv_lib_bsd_main=no \ - ac_cv_path_INSTALL_INFO= - -HOST_MTOOLS_CONF_ENV = \ - ac_cv_lib_bsd_gethostbyname=no \ - ac_cv_lib_bsd_main=no \ - ac_cv_path_INSTALL_INFO= - -# link with iconv if enabled -ifeq ($(BR2_PACKAGE_LIBICONV),y) -MTOOLS_DEPENDENCIES += libiconv -MTOOLS_CONF_ENV += LIBS=-liconv -endif - -# Package does not build in parallel due to improper make rules -MTOOLS_MAKE = $(MAKE1) - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/mtr/mtr.hash b/buildroot-2021.05/package/mtr/mtr.hash deleted file mode 100644 index 7771e091..00000000 --- a/buildroot-2021.05/package/mtr/mtr.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 3a1ab330104ddee3135af3cfa567b9608001c5deecbf200c08b545ed6d7a4c8f mtr-0.93.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/mtr/mtr.mk b/buildroot-2021.05/package/mtr/mtr.mk deleted file mode 100644 index 26348253..00000000 --- a/buildroot-2021.05/package/mtr/mtr.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# mtr -# -################################################################################ - -MTR_VERSION = 0.93 -MTR_SITE = $(call github,traviscross,mtr,v$(MTR_VERSION)) -MTR_AUTORECONF = YES -MTR_CONF_OPTS = --without-gtk -MTR_DEPENDENCIES = host-pkgconf $(if $(BR2_PACKAGE_NCURSES),ncurses) -MTR_LICENSE = GPL-2.0 -MTR_LICENSE_FILES = COPYING -MTR_SELINUX_MODULES = netutils - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/multipath-tools/multipath-tools.hash b/buildroot-2021.05/package/multipath-tools/multipath-tools.hash deleted file mode 100644 index 7b8cfe98..00000000 --- a/buildroot-2021.05/package/multipath-tools/multipath-tools.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally computed: -sha256 ba781d981bd6e8efa5f9f3af6727f85520af6395958e852c1907f59f6124f08e multipath-tools-0.8.6.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0 -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSES/GPL-3.0 -sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c LICENSES/LGPL-2.0 -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1 -sha256 b1bd70cc61ab014cc2e744af6b117db481ef4fa5d59cb3a21d86059935c666df README.md diff --git a/buildroot-2021.05/package/multipath-tools/multipath-tools.mk b/buildroot-2021.05/package/multipath-tools/multipath-tools.mk deleted file mode 100644 index e9db8022..00000000 --- a/buildroot-2021.05/package/multipath-tools/multipath-tools.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# multipath-tools -# -################################################################################ - -MULTIPATH_TOOLS_VERSION = 0.8.6 -MULTIPATH_TOOLS_SITE = $(call github,opensvc,multipath-tools,$(MULTIPATH_TOOLS_VERSION)) - -MULTIPATH_TOOLS_LICENSE = \ - LGPL-2.0 (default), \ - LGPL-2.1+ (libmpathcmd), \ - GPL-2.0+ (libmultipath), \ - GPL-3.0+ (libdmmp) -MULTIPATH_TOOLS_LICENSE_FILES = \ - LICENSES/GPL-2.0 \ - LICENSES/GPL-3.0 \ - LICENSES/LGPL-2.0 \ - LICENSES/LGPL-2.1 \ - README.md - -MULTIPATH_TOOLS_DEPENDENCIES = lvm2 json-c readline udev liburcu libaio host-pkgconf -MULTIPATH_TOOLS_MAKE_OPTS = \ - LIB="lib" \ - RUN="run" \ - OPTFLAGS="" \ - STACKPROT="" \ - WARNFLAGS="" - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -MULTIPATH_TOOLS_DEPENDENCIES += systemd -MULTIPATH_TOOLS_MAKE_OPTS += ENABLE_SYSTEMD=1 -endif - -define MULTIPATH_TOOLS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(MULTIPATH_TOOLS_MAKE_OPTS) -endef - -define MULTIPATH_TOOLS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \ - $(MULTIPATH_TOOLS_MAKE_OPTS) DESTDIR="$(TARGET_DIR)" -endef - -define MULTIPATH_TOOLS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/multipath-tools/S60multipathd \ - $(TARGET_DIR)/etc/init.d/S60multipathd -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/musepack/0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch b/buildroot-2021.05/package/musepack/0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch deleted file mode 100644 index 4bfeca0a..00000000 --- a/buildroot-2021.05/package/musepack/0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch +++ /dev/null @@ -1,43 +0,0 @@ -From d2f01ba6fa2a065156fad686d1849309c661e527 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sun, 31 Aug 2014 12:07:31 +0200 -Subject: [PATCH 2/2] cmake: use the standard CMake flag to drive the shared - object build - -If BUILD_SHARED_LIBS is set and SHARED undefined, then drive SHARED with -the BUILD_SHARED_LIBS value. - -Signed-off-by: Samuel Martin ---- - CMakeLists.txt | 15 ++++++++++----- - 1 file changed, 10 insertions(+), 5 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index b13f78c..db75510 100755 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -7,11 +7,16 @@ project(libmpc C) - set(CMAKE_VERBOSE_MAKEFILE false) - TEST_BIG_ENDIAN(MPC_ENDIANNESS) - --if(WIN32) -- option(SHARED "Use shared libmpcdec" OFF) --else(WIN32) -- option(SHARED "Use shared libmpcdec" ON) --endif(WIN32) -+# Use the standard CMake flag to drive the shared object build. -+if(DEFINED BUILD_SHARED_LIBS AND NOT DEFINED SHARED) -+ set(SHARED ${BUILD_SHARED_LIBS}) -+else() -+ if(WIN32) -+ option(SHARED "Use shared libmpcdec" OFF) -+ else(WIN32) -+ option(SHARED "Use shared libmpcdec" ON) -+ endif(WIN32) -+endif() - - add_definitions(-DFAST_MATH -DCVD_FASTLOG) - --- -2.1.0 - diff --git a/buildroot-2021.05/package/musl/musl.mk b/buildroot-2021.05/package/musl/musl.mk deleted file mode 100644 index d4f26b50..00000000 --- a/buildroot-2021.05/package/musl/musl.mk +++ /dev/null @@ -1,65 +0,0 @@ -################################################################################ -# -# musl -# -################################################################################ - -MUSL_VERSION = 1.2.2 -MUSL_SITE = http://www.musl-libc.org/releases -MUSL_LICENSE = MIT -MUSL_LICENSE_FILES = COPYRIGHT -MUSL_CPE_ID_VENDOR = musl-libc - -# Before musl is configured, we must have the first stage -# cross-compiler and the kernel headers -MUSL_DEPENDENCIES = host-gcc-initial linux-headers - -# musl does not provide an implementation for sys/queue.h or sys/cdefs.h. -# So, add the musl-compat-headers package that will install those files, -# into the staging directory: -# sys/queue.h: header from NetBSD -# sys/cdefs.h: minimalist header bundled in Buildroot -MUSL_DEPENDENCIES += musl-compat-headers - -# musl is part of the toolchain so disable the toolchain dependency -MUSL_ADD_TOOLCHAIN_DEPENDENCY = NO - -MUSL_INSTALL_STAGING = YES - -# Thumb build is broken, build in ARM mode, since all architectures -# that support Thumb1 also support ARM. -ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) -MUSL_EXTRA_CFLAGS += -marm -endif - -define MUSL_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(filter-out -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS)) $(MUSL_EXTRA_CFLAGS)" \ - CPPFLAGS="$(filter-out -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ - ./configure \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --prefix=/usr \ - --libdir=/lib \ - --disable-gcc-wrapper \ - --enable-static \ - $(if $(BR2_STATIC_LIBS),--disable-shared,--enable-shared)) -endef - -define MUSL_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define MUSL_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - DESTDIR=$(STAGING_DIR) install-libs install-tools install-headers -endef - -define MUSL_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - DESTDIR=$(TARGET_DIR) install-libs - $(RM) $(addprefix $(TARGET_DIR)/lib/,crt1.o crtn.o crti.o rcrt1.o Scrt1.o) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mutt/mutt.hash b/buildroot-2021.05/package/mutt/mutt.hash deleted file mode 100644 index 6e1ca328..00000000 --- a/buildroot-2021.05/package/mutt/mutt.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 957688c6a521561992d4f2f27cf9feb239c7c6c0042c6061c0e474a7dd26cc91 mutt-2.0.7.tar.gz -sha256 732f24b69a6c71cd8e01e4672bb8e12cc1cbb88a50a4665e6ca4fd95000a57ee GPL diff --git a/buildroot-2021.05/package/mutt/mutt.mk b/buildroot-2021.05/package/mutt/mutt.mk deleted file mode 100644 index d7fcc01a..00000000 --- a/buildroot-2021.05/package/mutt/mutt.mk +++ /dev/null @@ -1,113 +0,0 @@ -################################################################################ -# -# mutt -# -################################################################################ - -MUTT_VERSION = 2.0.7 -MUTT_SITE = https://bitbucket.org/mutt/mutt/downloads -MUTT_LICENSE = GPL-2.0+ -MUTT_LICENSE_FILES = GPL -MUTT_CPE_ID_VENDOR = mutt -MUTT_DEPENDENCIES = ncurses -MUTT_CONF_OPTS = --disable-doc --disable-smtp - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -MUTT_DEPENDENCIES += libiconv -MUTT_CONF_OPTS += --enable-iconv -endif - -# Both options can't be selected at the same time so prefer libidn2 -ifeq ($(BR2_PACKAGE_LIBIDN2),y) -MUTT_DEPENDENCIES += libidn2 -MUTT_CONF_OPTS += --with-idn2 --without-idn -else ifeq ($(BR2_PACKAGE_LIBIDN),y) -MUTT_DEPENDENCIES += libidn -MUTT_CONF_OPTS += --with-idn --without-idn2 -else -MUTT_CONF_OPTS += --without-idn --without-idn2 -endif - -ifeq ($(BR2_PACKAGE_LIBGPGME),y) -MUTT_DEPENDENCIES += libgpgme -MUTT_CONF_OPTS += \ - --enable-gpgme \ - --with-gpgme-prefix=$(STAGING_DIR)/usr -else -MUTT_CONF_OPTS += --disable-gpgme -endif - -ifeq ($(BR2_PACKAGE_MUTT_IMAP),y) -MUTT_CONF_OPTS += --enable-imap -else -MUTT_CONF_OPTS += --disable-imap -endif - -ifeq ($(BR2_PACKAGE_MUTT_POP3),y) -MUTT_CONF_OPTS += --enable-pop -else -MUTT_CONF_OPTS += --disable-pop -endif - -# SSL support is only used by imap or pop3 module -ifneq ($(BR2_PACKAGE_MUTT_IMAP)$(BR2_PACKAGE_MUTT_POP3),) -ifeq ($(BR2_PACKAGE_OPENSSL),y) -MUTT_DEPENDENCIES += openssl -MUTT_CONF_OPTS += \ - --without-gnutls \ - --with-ssl=$(STAGING_DIR)/usr -else ifeq ($(BR2_PACKAGE_GNUTLS),y) -MUTT_DEPENDENCIES += gnutls -MUTT_CONF_OPTS += \ - --with-gnutls=$(STAGING_DIR)/usr \ - --without-ssl -else -MUTT_CONF_OPTS += \ - --without-gnutls \ - --without-ssl -endif -else -MUTT_CONF_OPTS += \ - --without-gnutls \ - --without-ssl -endif - -ifeq ($(BR2_PACKAGE_SQLITE),y) -MUTT_DEPENDENCIES += sqlite -MUTT_CONF_OPTS += --with-sqlite3 -else -MUTT_CONF_OPTS += --without-sqlite3 -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -MUTT_DEPENDENCIES += zlib -MUTT_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr -else -MUTT_CONF_OPTS += --without-zlib -endif - -# Avoid running tests to check for: -# - target system is *BSD -# - C99 conformance (snprintf, vsnprintf) -# - behaviour of the regex library -# - if mail spool directory is world/group writable -# - we have a working libiconv -MUTT_CONF_ENV += \ - mutt_cv_bsdish=no \ - mutt_cv_c99_snprintf=yes \ - mutt_cv_c99_vsnprintf=yes \ - mutt_cv_regex_broken=no \ - mutt_cv_worldwrite=yes \ - mutt_cv_groupwrite=yes \ - mutt_cv_iconv_good=yes \ - mutt_cv_iconv_nontrans=no - -MUTT_CONF_OPTS += --with-mailpath=/var/mail - -define MUTT_VAR_MAIL - mkdir -p $(TARGET_DIR)/var - ln -sf /tmp $(TARGET_DIR)/var/mail -endef -MUTT_POST_INSTALL_TARGET_HOOKS += MUTT_VAR_MAIL - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mxml/mxml.hash b/buildroot-2021.05/package/mxml/mxml.hash deleted file mode 100644 index 70f82cad..00000000 --- a/buildroot-2021.05/package/mxml/mxml.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 b894f6c64964f2e77902564c17ba00f5d077a7a24054e7c1937903b0bd42c974 mxml-3.2.tar.gz -sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE -sha256 ed63aec4c75b9c21a5156b40052138032269bd27fd6f4bc0c51389807cdc7db9 NOTICE diff --git a/buildroot-2021.05/package/mxml/mxml.mk b/buildroot-2021.05/package/mxml/mxml.mk deleted file mode 100644 index 85930ab3..00000000 --- a/buildroot-2021.05/package/mxml/mxml.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# mxml -# -################################################################################ - -MXML_VERSION = 3.2 -MXML_SITE = https://github.com/michaelrsweet/mxml/releases/download/v$(MXML_VERSION) -MXML_LICENSE = Apache-2.0 with exceptions -MXML_LICENSE_FILES = LICENSE NOTICE -MXML_INSTALL_STAGING = YES - -MXML_INSTALL_STAGING_OPTS = DSTROOT=$(STAGING_DIR) install -MXML_INSTALL_TARGET_OPTS = DSTROOT=$(TARGET_DIR) install - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mxsldr/mxsldr.mk b/buildroot-2021.05/package/mxsldr/mxsldr.mk deleted file mode 100644 index 239b40ad..00000000 --- a/buildroot-2021.05/package/mxsldr/mxsldr.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# mxsldr -# -################################################################################ - -MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 -MXSLDR_SITE = git://git.denx.de/mxsldr.git -MXSLDR_LICENSE = GPL-2.0+ -MXSLDR_LICENSE_FILES = COPYING -HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf - -define HOST_MXSLDR_BUILD_CMDS - $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -define HOST_MXSLDR_INSTALL_CMDS - $(INSTALL) -m 0755 -D $(@D)/mxsldr $(HOST_DIR)/bin/mxsldr -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/nano/nano.hash b/buildroot-2021.05/package/nano/nano.hash deleted file mode 100644 index cbb49772..00000000 --- a/buildroot-2021.05/package/nano/nano.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -# https://www.nano-editor.org/dist/v5/nano-5.6.1.tar.xz.asc -# using key BFD009061E535052AD0DF2150D28D4D2A0ACE884 -sha256 760d7059e0881ca0ee7e2a33b09d999ec456ff7204df86bee58eb6f523ee8b09 nano-5.6.1.tar.xz -sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING diff --git a/buildroot-2021.05/package/nano/nano.mk b/buildroot-2021.05/package/nano/nano.mk deleted file mode 100644 index 77126fd4..00000000 --- a/buildroot-2021.05/package/nano/nano.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# nano -# -################################################################################ - -NANO_VERSION_MAJOR = 5 -NANO_VERSION = $(NANO_VERSION_MAJOR).6.1 -NANO_SITE = https://www.nano-editor.org/dist/v$(NANO_VERSION_MAJOR) -NANO_SOURCE = nano-$(NANO_VERSION).tar.xz -NANO_LICENSE = GPL-3.0+ -NANO_LICENSE_FILES = COPYING -NANO_DEPENDENCIES = ncurses - -ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) -NANO_CONF_ENV += ac_cv_prog_NCURSESW_CONFIG=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) -else -NANO_CONF_ENV += ac_cv_prog_NCURSESW_CONFIG=false -NANO_MAKE_ENV += CURSES_LIB="-lncurses" -endif - -ifeq ($(BR2_PACKAGE_NANO_TINY),y) -NANO_CONF_OPTS += \ - --enable-tiny \ - --disable-libmagic \ - --disable-color \ - --disable-nanorc -define NANO_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano -endef -else -NANO_CONF_OPTS += --disable-tiny -ifeq ($(BR2_PACKAGE_FILE),y) -NANO_DEPENDENCIES += file -NANO_CONF_OPTS += --enable-libmagic --enable-color --enable-nanorc -else -NANO_CONF_OPTS += --disable-libmagic --disable-libmagic --disable-color -endif # BR2_PACKAGE_FILE -endif # BR2_PACKAGE_NANO_TINY - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nbd/0001-Also-close-the-file-descriptor-before-returning.patch b/buildroot-2021.05/package/nbd/0001-Also-close-the-file-descriptor-before-returning.patch deleted file mode 100644 index 70330c8e..00000000 --- a/buildroot-2021.05/package/nbd/0001-Also-close-the-file-descriptor-before-returning.patch +++ /dev/null @@ -1,25 +0,0 @@ -From d2480de925e83c8bf60faa96141f4198bdf7f619 Mon Sep 17 00:00:00 2001 -From: Wouter Verhelst -Date: Fri, 2 Aug 2019 10:33:00 +0200 -Subject: [PATCH] Also close the file descriptor before returning - -Coverity CID#1162721 -[Retrieved from: -https://github.com/NetworkBlockDevice/nbd/commit/d2480de925e83c8bf60faa96141f4198bdf7f619] -Signed-off-by: Fabrice Fontaine ---- - nbd-client.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/nbd-client.c b/nbd-client.c -index e9ec0a86..94035886 100644 ---- a/nbd-client.c -+++ b/nbd-client.c -@@ -930,6 +930,7 @@ void disconnect(char* device) { - if (ioctl(nbd, NBD_CLEAR_SOCK)<0) - err("Ioctl failed: %m\n"); - printf("done\n"); -+ close(nbd); - } - - #if HAVE_NETLINK diff --git a/buildroot-2021.05/package/nbd/nbd.hash b/buildroot-2021.05/package/nbd/nbd.hash deleted file mode 100644 index d856953c..00000000 --- a/buildroot-2021.05/package/nbd/nbd.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From http://sourceforge.net/projects/nbd/files/nbd/3.20/ -md5 910fe6c152f8c30ad8608388e6a4ce89 nbd-3.20.tar.xz -sha1 9240430266ff4bfb2316ef6d880056a9974a59fd nbd-3.20.tar.xz - -# Locally calculated -sha256 e0e1b3538ab7ae5accf56180afd1a9887d415b98d21223b8ad42592b4af7d6cd nbd-3.20.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/nbd/nbd.mk b/buildroot-2021.05/package/nbd/nbd.mk deleted file mode 100644 index 6c77bffd..00000000 --- a/buildroot-2021.05/package/nbd/nbd.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# nbd -# -################################################################################ - -NBD_VERSION = 3.20 -NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz -NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) -NBD_CONF_OPTS = --enable-lfs -NBD_DEPENDENCIES = host-pkgconf libglib2 -NBD_LICENSE = GPL-2.0 -NBD_LICENSE_FILES = COPYING -NBD_CPE_ID_VENDOR = network_block_device_project -NBD_CPE_ID_PRODUCT = network_block_device - -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -# We have linux/falloc.h -# but uClibc lacks fallocate(2) which is a glibc-ism -NBD_CONF_ENV = ac_cv_header_linux_falloc_h=no -endif - -ifneq ($(BR2_PACKAGE_NBD_CLIENT),y) -NBD_TOREMOVE += /usr/sbin/nbd-client -endif -ifneq ($(BR2_PACKAGE_NBD_SERVER),y) -NBD_TOREMOVE += /usr/bin/nbd-server -endif -ifneq ($(BR2_PACKAGE_NBD_TRDUMP),y) -NBD_TOREMOVE += /usr/bin/nbd-trdump -endif - -define NBD_CLEANUP_AFTER_INSTALL - rm -f $(addprefix $(TARGET_DIR), $(NBD_TOREMOVE)) -endef - -NBD_POST_INSTALL_TARGET_HOOKS += NBD_CLEANUP_AFTER_INSTALL - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ncdu/ncdu.hash b/buildroot-2021.05/package/ncdu/ncdu.hash deleted file mode 100644 index be2b6e07..00000000 --- a/buildroot-2021.05/package/ncdu/ncdu.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://dev.yorhel.nl/ncdu -sha256 b02ddc4dbf1db139cc6fbbe2f54a282770380f0ca5c17089855eab52a9ea3fb0 ncdu-1.15.1.tar.gz - -# computed locally -sha256 978f49428f21714c973706030c0ef09983cc1e2889a1b7b521dbf8860870cf05 COPYING diff --git a/buildroot-2021.05/package/ncdu/ncdu.mk b/buildroot-2021.05/package/ncdu/ncdu.mk deleted file mode 100644 index 532f145b..00000000 --- a/buildroot-2021.05/package/ncdu/ncdu.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# ncdu -# -################################################################################ - -NCDU_VERSION = 1.15.1 -NCDU_SITE = http://dev.yorhel.nl/download - -NCDU_DEPENDENCIES = ncurses - -NCDU_LICENSE = MIT -NCDU_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ncmpc/Config.in b/buildroot-2021.05/package/ncmpc/Config.in deleted file mode 100644 index 0e062460..00000000 --- a/buildroot-2021.05/package/ncmpc/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_NCMPC - bool "ncmpc" - depends on BR2_USE_MMU # fork() - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR # boost - depends on BR2_TOOLCHAIN_HAS_THREADS # boost - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_LIBMPDCLIENT - select BR2_PACKAGE_NCURSES - help - ncmpc is a fully featured MPD client, which runs in a terminal - (using ncurses). Its goal is to provide a keyboard oriented - and consistent interface to MPD, without wasting resources. - - http://www.musicpd.org/clients/ncmpc/ - -comment "ncmpc needs a toolchain w/ C++, wchar, threads, gcc >= 7" - depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 diff --git a/buildroot-2021.05/package/ncmpc/ncmpc.hash b/buildroot-2021.05/package/ncmpc/ncmpc.hash deleted file mode 100644 index b8f79a70..00000000 --- a/buildroot-2021.05/package/ncmpc/ncmpc.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 17ff446447e002f2ed4342b7324263a830df7d76bcf177dce928f7d3a6f1f785 ncmpc-0.45.tar.xz - -# Hash for license file: -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/ncmpc/ncmpc.mk b/buildroot-2021.05/package/ncmpc/ncmpc.mk deleted file mode 100644 index 9a394ba3..00000000 --- a/buildroot-2021.05/package/ncmpc/ncmpc.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# ncmpc -# -################################################################################ - -NCMPC_VERSION_MAJOR = 0 -NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).45 -NCMPC_SOURCE = ncmpc-$(NCMPC_VERSION).tar.xz -NCMPC_SITE = http://www.musicpd.org/download/ncmpc/$(NCMPC_VERSION_MAJOR) -NCMPC_DEPENDENCIES = \ - boost \ - host-pkgconf \ - libmpdclient \ - ncurses \ - $(TARGET_NLS_DEPENDENCIES) -NCMPC_LICENSE = GPL-2.0+ -NCMPC_LICENSE_FILES = COPYING -NCMPC_CPE_ID_VENDOR = ncmpc_project - -NCMPC_CONF_OPTS = \ - -Dcurses=ncurses \ - -Ddocumentation=disabled \ - $(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=disabled) - -ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y) -NCMPC_DEPENDENCIES += lirc-tools -NCMPC_CONF_OPTS += -Dlirc=enabled -else -NCMPC_CONF_OPTS += -Dlirc=disabled -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -NCMPC_DEPENDENCIES += pcre -NCMPC_CONF_OPTS += -Dregex=enabled -else -NCMPC_CONF_OPTS += -Dregex=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/ndisc6/0001-Fix-musl-build.patch b/buildroot-2021.05/package/ndisc6/0001-Fix-musl-build.patch deleted file mode 100644 index 6a13a435..00000000 --- a/buildroot-2021.05/package/ndisc6/0001-Fix-musl-build.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 12787f5936c79b56b24ffe0a92f4370804070223 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Thu, 7 Nov 2019 21:41:34 +0100 -Subject: [PATCH] Fix musl build - -Fixes -src/trace-tcp.c:67:24: error: 'TH_SYN' undeclared (first use in this function); did you mean 'TH_CWR'? - packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0); - -Musl guards TH_SYN with if defined(_GNU_SOURCE): -https://git.musl-libc.org/cgit/musl/tree/include/netinet/tcp.h#n82 - -Patch sent via email to upstream. - -Signed-off-by: Bernd Kuhls ---- - src/trace-tcp.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/src/trace-tcp.c b/src/trace-tcp.c -index 5aba9d4..1b367ae 100644 ---- a/src/trace-tcp.c -+++ b/src/trace-tcp.c -@@ -21,7 +21,6 @@ - # include - #endif - --#undef _GNU_SOURCE - #define _DEFAULT_SOURCE 1 - - #include --- -2.20.1 - diff --git a/buildroot-2021.05/package/ndisc6/ndisc6.hash b/buildroot-2021.05/package/ndisc6/ndisc6.hash deleted file mode 100644 index 381667c2..00000000 --- a/buildroot-2021.05/package/ndisc6/ndisc6.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 abb1da4a98d94e5abe1dd7b1c975de540306b0581cbbd36aff035118b2f25c1f ndisc6-1.0.4.tar.bz2 -# Locally computed -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/ndisc6/ndisc6.mk b/buildroot-2021.05/package/ndisc6/ndisc6.mk deleted file mode 100644 index 9845aa2c..00000000 --- a/buildroot-2021.05/package/ndisc6/ndisc6.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# ndisc6 -# -################################################################################ - -NDISC6_VERSION = 1.0.4 -NDISC6_SOURCE = ndisc6-$(NDISC6_VERSION).tar.bz2 -NDISC6_SITE = http://www.remlab.net/files/ndisc6 -NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=c11" LIBS=$(TARGET_NLS_LIBS) -NDISC6_CONF_OPTS = --disable-rpath --disable-suid-install -NDISC6_LICENSE = GPL-2.0 or GPL-3.0 -NDISC6_LICENSE_FILES = COPYING -NDISC6_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) - -NDISC6_BIN_ += dnssort # perl script -NDISC6_BIN_$(BR2_PACKAGE_NDISC6_NAME2ADDR) += name2addr addr2name -NDISC6_BIN_$(BR2_PACKAGE_NDISC6_TCPSPRAY) += tcpspray tcpspray6 - -NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_NDISC6) += ndisc6 -NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDISC6) += rdisc6 -NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDNSSD) += rdnssd -NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RLTRACEROUTE6) += rltraceroute6 tracert6 -NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_TCPTRACEROUTE6) += tcptraceroute6 - -define NDISC6_REMOVE_UNNEEDED - rm -rf $(addprefix $(TARGET_DIR)/usr/bin/,$(NDISC6_BIN_)) \ - $(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_)) - $(if $(BR2_PACKAGE_NDISC6_RDNSSD),,\ - rm -rf $(TARGET_DIR)/etc/rdnssd $(TARGET_DIR)/var/run/rdnssd) -endef - -NDISC6_POST_INSTALL_TARGET_HOOKS += NDISC6_REMOVE_UNNEEDED - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/neard/Config.in b/buildroot-2021.05/package/neard/Config.in deleted file mode 100644 index 277e467c..00000000 --- a/buildroot-2021.05/package/neard/Config.in +++ /dev/null @@ -1,32 +0,0 @@ -config BR2_PACKAGE_NEARD - bool "neard" - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libnl, dbus, libglib2 - depends on BR2_USE_MMU # dbus, libglib2 - depends on !BR2_STATIC_LIBS # dlopen - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBNL - help - Near Field Communication (NFC) manager. This userspace - daemon is a part of the NFC stack provided by the Linux NFC - project. - - http://git.kernel.org/?p=network/nfc/neard.git;a=summary - - https://01.org/linux-nfc/ - -if BR2_PACKAGE_NEARD - -config BR2_PACKAGE_NEARD_TOOLS - bool "neard tools" - help - Build and install neard tools. - -endif - -comment "neard needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/neard/neard.hash b/buildroot-2021.05/package/neard/neard.hash deleted file mode 100644 index 948314dd..00000000 --- a/buildroot-2021.05/package/neard/neard.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/linux/network/nfc/sha256sums.asc -sha256 eae3b11c541a988ec11ca94b7deab01080cd5b58cfef3ced6ceac9b6e6e65b36 neard-0.16.tar.xz -# Locally computed -sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING diff --git a/buildroot-2021.05/package/neard/neard.mk b/buildroot-2021.05/package/neard/neard.mk deleted file mode 100644 index a3514691..00000000 --- a/buildroot-2021.05/package/neard/neard.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# neard -# -################################################################################ - -NEARD_VERSION = 0.16 -NEARD_SOURCE = neard-$(NEARD_VERSION).tar.xz -NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc -NEARD_LICENSE = GPL-2.0 -NEARD_LICENSE_FILES = COPYING - -NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl -NEARD_CONF_OPTS = --disable-traces - -ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y) -NEARD_CONF_OPTS += --enable-tools -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -NEARD_CONF_OPTS += --enable-systemd -NEARD_DEPENDENCIES += systemd -else -NEARD_CONF_OPTS += --disable-systemd -endif - -define NEARD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/neard/S53neard \ - $(TARGET_DIR)/etc/init.d/S53neard -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/neon/Config.in b/buildroot-2021.05/package/neon/Config.in deleted file mode 100644 index 98313433..00000000 --- a/buildroot-2021.05/package/neon/Config.in +++ /dev/null @@ -1,41 +0,0 @@ -config BR2_PACKAGE_NEON - bool "libneon" - help - HTTP and WebDAV client library, with a C interface. - - http://www.webdav.org/neon/ - -if BR2_PACKAGE_NEON - -config BR2_PACKAGE_NEON_ZLIB - bool "ZLIB support" - select BR2_PACKAGE_ZLIB - help - build with ZLIB support - -config BR2_PACKAGE_NEON_SSL - bool "SSL support" - select BR2_PACKAGE_OPENSSL - help - build with SSL support - -# This is an hidden symbol other packages can select to ensure that -# Neon has XML support, either provided by Expat or libxml2. -config BR2_PACKAGE_NEON_XML - bool - select BR2_PACKAGE_NEON_EXPAT if !BR2_PACKAGE_NEON_LIBXML2 - -config BR2_PACKAGE_NEON_EXPAT - bool "XML support with expat" - depends on !BR2_PACKAGE_NEON_LIBXML2 - select BR2_PACKAGE_EXPAT - help - Enable XML support in neon, using the Expat XML library. - -config BR2_PACKAGE_NEON_LIBXML2 - bool "XML support with libxml2" - select BR2_PACKAGE_LIBXML2 - help - Enable XML support in neon, using the libxml2 XML library. - -endif diff --git a/buildroot-2021.05/package/neon/neon.hash b/buildroot-2021.05/package/neon/neon.hash deleted file mode 100644 index 2ebefbe5..00000000 --- a/buildroot-2021.05/package/neon/neon.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca neon-0.30.2.tar.gz -# Locally computed -sha256 95f77624e96f6728145826fc895142275451f43f41c073766db3dbbcc8b790b0 README -sha256 d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f src/COPYING.LIB -sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad test/COPYING diff --git a/buildroot-2021.05/package/neon/neon.mk b/buildroot-2021.05/package/neon/neon.mk deleted file mode 100644 index da53735d..00000000 --- a/buildroot-2021.05/package/neon/neon.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# neon -# -################################################################################ - -NEON_VERSION = 0.30.2 -NEON_SITE = http://www.webdav.org/neon -NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests) -NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README -NEON_CPE_ID_VENDOR = webdav -NEON_INSTALL_STAGING = YES -NEON_CONF_OPTS = --without-gssapi --disable-rpath -NEON_CONFIG_SCRIPTS = neon-config -NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) -NEON_CONF_ENV = ne_cv_libsfor_bindtextdomain=$(TARGET_NLS_LIBS) - -ifeq ($(BR2_PACKAGE_NEON_ZLIB),y) -NEON_CONF_OPTS += --with-zlib=$(STAGING_DIR) -NEON_DEPENDENCIES += zlib -else -NEON_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_NEON_SSL),y) -NEON_CONF_OPTS += --with-ssl -NEON_DEPENDENCIES += openssl -else -NEON_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_NEON_EXPAT),y) -NEON_CONF_OPTS += --with-expat=yes -NEON_DEPENDENCIES += expat -else -NEON_CONF_OPTS += --with-expat=no -endif - -ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y) -NEON_CONF_OPTS += --with-libxml2=yes -NEON_CONF_ENV += ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config -NEON_DEPENDENCIES += libxml2 -else -NEON_CONF_OPTS += --with-libxml2=no -endif - -ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),) -# webdav needs xml support -NEON_CONF_OPTS += --disable-webdav -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/net-tools/net-tools.hash b/buildroot-2021.05/package/net-tools/net-tools.hash deleted file mode 100644 index e29415b8..00000000 --- a/buildroot-2021.05/package/net-tools/net-tools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 4c68ef33d97cc807fe437fa64a801355c36d638774c0c8a4342742f6bdceea78 net-tools-479bb4a7e11a4084e2935c0a576388f92469225b-br1.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/net-tools/net-tools.mk b/buildroot-2021.05/package/net-tools/net-tools.mk deleted file mode 100644 index 985fe2e3..00000000 --- a/buildroot-2021.05/package/net-tools/net-tools.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# net-tools -# -################################################################################ - -NET_TOOLS_VERSION = 479bb4a7e11a4084e2935c0a576388f92469225b -NET_TOOLS_SITE = git://git.code.sf.net/p/net-tools/code -NET_TOOLS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -NET_TOOLS_LICENSE = GPL-2.0+ -NET_TOOLS_LICENSE_FILES = COPYING - -define NET_TOOLS_CONFIGURE_CMDS - (cd $(@D); yes "" | ./configure.sh config.in ) -endef - -# Enable I18N when appropiate -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -define NET_TOOLS_ENABLE_I18N - $(SED) 's:I18N 0:I18N 1:' $(@D)/config.h -endef -endif - -# Enable IPv6 -define NET_TOOLS_ENABLE_IPV6 - $(SED) 's:_AFINET6 0:_AFINET6 1:' $(@D)/config.h -endef - -NET_TOOLS_POST_CONFIGURE_HOOKS += NET_TOOLS_ENABLE_I18N NET_TOOLS_ENABLE_IPV6 - -define NET_TOOLS_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) \ - LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" \ - $(MAKE) -C $(@D) -endef - -# install renames conflicting binaries, update does not -# ifconfig & route reside in /sbin for busybox, so ensure we don't end -# up with two versions of those. -define NET_TOOLS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) update - mv -f $(TARGET_DIR)/bin/ifconfig $(TARGET_DIR)/sbin/ifconfig - mv -f $(TARGET_DIR)/bin/route $(TARGET_DIR)/sbin/route -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/netatalk/0002-fix-ftbs-multiple-def-of-invalid_dircache_entries.patch b/buildroot-2021.05/package/netatalk/0002-fix-ftbs-multiple-def-of-invalid_dircache_entries.patch deleted file mode 100644 index e7ccc525..00000000 --- a/buildroot-2021.05/package/netatalk/0002-fix-ftbs-multiple-def-of-invalid_dircache_entries.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 32df6e155ccfc83216321925273c3e75e631ebe6 Mon Sep 17 00:00:00 2001 -From: Andrew Bauer -Date: Wed, 22 Jan 2020 09:59:47 -0600 -Subject: [PATCH] fix ftbs multiple def of invalid_dircache_entries - -[Retrieved from: -https://github.com/Netatalk/Netatalk/pull/125/commits/32df6e155ccfc83216321925273c3e75e631ebe6] -Signed-off-by: Fabrice Fontaine ---- - etc/afpd/directory.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/etc/afpd/directory.h b/etc/afpd/directory.h -index eb89c606..81bfa9cb 100644 ---- a/etc/afpd/directory.h -+++ b/etc/afpd/directory.h -@@ -91,7 +91,7 @@ struct maccess { - #define AR_UWRITE (1<<2) - #define AR_UOWN (1<<7) - --q_t *invalid_dircache_entries; -+extern q_t *invalid_dircache_entries; - - typedef int (*dir_loop)(struct dirent *, char *, void *); - diff --git a/buildroot-2021.05/package/netatalk/Config.in b/buildroot-2021.05/package/netatalk/Config.in deleted file mode 100644 index 1560a187..00000000 --- a/buildroot-2021.05/package/netatalk/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_NETATALK - bool "netatalk" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_BERKELEYDB - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBEVENT - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_LIBGPG_ERROR - help - Netatalk can be used to turn a *NIX machine into an - extremely high-performance and reliable file server for - Macintosh computers. - - http://netatalk.sourceforge.net/ - -comment "netatalk needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/netatalk/netatalk.hash b/buildroot-2021.05/package/netatalk/netatalk.hash deleted file mode 100644 index 6c3250a0..00000000 --- a/buildroot-2021.05/package/netatalk/netatalk.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From http://sourceforge.net/projects/netatalk/files/netatalk/3.1.12/ -md5 021d2330cb7f7cd2977aec46299dcc1b netatalk-3.1.12.tar.bz2 -sha1 cc1fe1ebdbdb4da9cf82835c440e82ba28a832c5 netatalk-3.1.12.tar.bz2 -# Locally computed -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING -sha256 7599ae145e53be03a08f8b558b2f2e0c828e1630f1843cc04f41981b8cefcd65 COPYRIGHT diff --git a/buildroot-2021.05/package/netatalk/netatalk.mk b/buildroot-2021.05/package/netatalk/netatalk.mk deleted file mode 100644 index 0c219a23..00000000 --- a/buildroot-2021.05/package/netatalk/netatalk.mk +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# -# netatalk -# -################################################################################ - -NETATALK_VERSION = 3.1.12 -NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION) -NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2 -# For 0001-Fix-setting-of-LD_LIBRARY_FLAGS-shlibpath_var.patch -NETATALK_AUTORECONF = YES -NETATALK_CONFIG_SCRIPTS = netatalk-config -NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error \ - libevent -NETATALK_LICENSE = GPL-2.0+, LGPL-3.0+, MIT-like -NETATALK_LICENSE_FILES = COPYING COPYRIGHT -NETATALK_CPE_ID_VENDOR = netatalk_project - -# Don't run ldconfig! -NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99" \ - ac_cv_path_NETA_LDCONFIG="" -NETATALK_CONF_OPTS += \ - --with-cnid-cdb-backend \ - --with-bdb=$(STAGING_DIR)/usr \ - --with-ssl-dir=$(STAGING_DIR)/usr \ - --with-libgcrypt-dir=$(STAGING_DIR)/usr \ - --with-shadow \ - --disable-shell-check \ - --without-kerberos \ - --without-pam \ - --with-libevent=no \ - --with-dtrace=no \ - --with-mysql-config=no - -ifeq ($(BR2_PACKAGE_ACL),y) -NETATALK_DEPENDENCIES += acl -else -NETATALK_CONF_OPTS += --with-acls=no -endif - -ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy) -NETATALK_DEPENDENCIES += avahi -NETATALK_CONF_OPTS += --enable-zeroconf=$(STAGING_DIR)/usr -else -NETATALK_CONF_OPTS += --disable-zeroconf -endif - -ifeq ($(BR2_PACKAGE_CUPS),y) -NETATALK_DEPENDENCIES += cups -NETATALK_CONF_ENV += ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config -NETATALK_CONF_OPTS += --enable-cups -else -NETATALK_CONF_OPTS += --disable-cups -endif - -define NETATALK_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \ - $(TARGET_DIR)/etc/init.d/S50netatalk -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/netcat-openbsd/netcat-openbsd.hash b/buildroot-2021.05/package/netcat-openbsd/netcat-openbsd.hash deleted file mode 100644 index b70cae88..00000000 --- a/buildroot-2021.05/package/netcat-openbsd/netcat-openbsd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 55e578f652cbf6ffc95f75ea3e2645ab335fab63649568bd7cdb0a6331ca87de netcat-openbsd-debian_1.195-2-br1.tar.gz -sha256 e2e86d58c38f044a49f51e45515747585db58a2305419c73323eaad88fcaef5c debian/copyright diff --git a/buildroot-2021.05/package/netcat-openbsd/netcat-openbsd.mk b/buildroot-2021.05/package/netcat-openbsd/netcat-openbsd.mk deleted file mode 100644 index a2333531..00000000 --- a/buildroot-2021.05/package/netcat-openbsd/netcat-openbsd.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# netcat-openbsd -# -################################################################################ - -NETCAT_OPENBSD_VERSION = debian/1.195-2 -NETCAT_OPENBSD_SITE = https://salsa.debian.org/debian/netcat-openbsd.git -NETCAT_OPENBSD_SITE_METHOD = git -NETCAT_OPENBSD_LICENSE = BSD-3-Clause -NETCAT_OPENBSD_LICENSE_FILES = debian/copyright -NETCAT_OPENBSD_DEPENDENCIES = host-pkgconf libbsd - -define NETCAT_OPENBSD_APPLY_DEBIAN_PATCHES - if [ -d $(@D)/debian/patches ]; then \ - $(APPLY_PATCHES) $(@D) $(@D)/debian/patches *.dpatch; \ - fi -endef - -NETCAT_OPENBSD_POST_PATCH_HOOKS += NETCAT_OPENBSD_APPLY_DEBIAN_PATCHES - -define NETCAT_OPENBSD_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -endef - -define NETCAT_OPENBSD_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/nc $(TARGET_DIR)/usr/bin/nc -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/netdata/Config.in b/buildroot-2021.05/package/netdata/Config.in deleted file mode 100644 index 88f88cb7..00000000 --- a/buildroot-2021.05/package/netdata/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_NETDATA - bool "netdata" - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS # libuv - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv - select BR2_PACKAGE_LIBUV - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - select BR2_PACKAGE_ZLIB - help - Netdata is distributed, real-time, performance and health - monitoring for systems and applications. It is a highly - optimized monitoring agent you install on all your systems and - containers. - - https://github.com/netdata/netdata - -comment "netdata needs a toolchain w/ NPTL, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 diff --git a/buildroot-2021.05/package/netdata/netdata.mk b/buildroot-2021.05/package/netdata/netdata.mk deleted file mode 100644 index 1c20c49d..00000000 --- a/buildroot-2021.05/package/netdata/netdata.mk +++ /dev/null @@ -1,59 +0,0 @@ -################################################################################ -# -# netdata -# -################################################################################ - -NETDATA_VERSION = 1.21.1 -NETDATA_SITE = $(call github,netdata,netdata,v$(NETDATA_VERSION)) -NETDATA_LICENSE = GPL-3.0+ -NETDATA_LICENSE_FILES = LICENSE -# netdata's source code is released without a generated configure script -NETDATA_AUTORECONF = YES -NETDATA_CONF_OPTS = --disable-dbengine -NETDATA_DEPENDENCIES = libuv util-linux zlib - -ifeq ($(BR2_GCC_ENABLE_LTO),y) -NETDATA_CONF_OPTS += --enable-lto -else -NETDATA_CONF_OPTS += --disable-lto -endif - -ifeq ($(BR2_PACKAGE_CUPS),y) -NETDATA_CONF_OPTS += --enable-plugin-cups -NETDATA_DEPENDENCIES += cups -else -NETDATA_CONF_OPTS += --disable-plugin-cups -endif - -ifeq ($(BR2_PACKAGE_JSON_C),y) -NETDATA_CONF_OPTS += --enable-jsonc -NETDATA_DEPENDENCIES += json-c -else -NETDATA_CONF_OPTS += --disable-jsonc -endif - -ifeq ($(BR2_PACKAGE_NFACCT),y) -NETDATA_CONF_OPTS += --enable-plugin-nfacct -NETDATA_DEPENDENCIES += nfacct -else -NETDATA_CONF_OPTS += --disable-plugin-nfacct -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -NETDATA_CONF_OPTS += --enable-https -NETDATA_DEPENDENCIES += openssl -else -NETDATA_CONF_OPTS += --disable-https -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -NETDATA_CONF_ENV += LIBS=-latomic -endif - -define NETDATA_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/netdata/S60netdata \ - $(TARGET_DIR)/etc/init.d/S60netdata -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/netopeer2/Config.in b/buildroot-2021.05/package/netopeer2/Config.in deleted file mode 100644 index 763b1f23..00000000 --- a/buildroot-2021.05/package/netopeer2/Config.in +++ /dev/null @@ -1,34 +0,0 @@ -comment "netopeer2 needs a toolchain w/ gcc >= 4.8, C++, threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -config BR2_PACKAGE_NETOPEER2 - bool "netopeer2" - depends on BR2_USE_MMU # libnetconf2, libssh, sysrepo - depends on !BR2_STATIC_LIBS # libnetconf2, libssh, libyang, sysrepo - depends on BR2_INSTALL_LIBSTDCPP # sysrepo - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sysrepo - select BR2_PACKAGE_LIBNETCONF2 - select BR2_PACKAGE_LIBSSH - select BR2_PACKAGE_LIBSSH_SERVER # For libnetconf2 to have SSH - select BR2_PACKAGE_LIBYANG - select BR2_PACKAGE_OPENSSL # For libnetconf2 to have TLS - select BR2_PACKAGE_SYSREPO - help - Netopeer2 is a set of tools implementing network configuration - tools based on the NETCONF Protocol. - - This is the server part. - - https://github.com/CESNET/Netopeer2 - -if BR2_PACKAGE_NETOPEER2 - -config BR2_PACKAGE_NETOPEER2_CLI - bool "cli" - help - Enable netopeer2 CLI. - -endif diff --git a/buildroot-2021.05/package/netopeer2/netopeer2.hash b/buildroot-2021.05/package/netopeer2/netopeer2.hash deleted file mode 100644 index 4386e566..00000000 --- a/buildroot-2021.05/package/netopeer2/netopeer2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 7fc1a3520ee4bb488112f502e34cea465464dc933d2a5742a72eb32a6dfe3b3f netopeer2-1.1.70.tar.gz -sha256 b46f161fbdcf127d3ef22602e15958c3092fe3294f71a2dc8cdf8f6689cba95b LICENSE diff --git a/buildroot-2021.05/package/netopeer2/netopeer2.mk b/buildroot-2021.05/package/netopeer2/netopeer2.mk deleted file mode 100644 index c9fa0976..00000000 --- a/buildroot-2021.05/package/netopeer2/netopeer2.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# netopeer2 -# -################################################################################ - -NETOPEER2_VERSION = 1.1.70 -NETOPEER2_SITE = $(call github,CESNET,Netopeer2,v$(NETOPEER2_VERSION)) -NETOPEER2_DL_SUBDIR = netopeer2 -NETOPEER2_LICENSE = BSD-3-Clause -NETOPEER2_LICENSE_FILES = LICENSE -NETOPEER2_DEPENDENCIES = libnetconf2 libyang sysrepo host-sysrepo - -NETOPEER2_CONF_OPTS = -DBUILD_CLI=$(if $(BR2_PACKAGE_NETOPEER2_CLI),ON,OFF) - -# Set a build specific SYSREPO_SHM_PREFIX to ensure we can safely delete the -# files. This also ensures that concurrent parallel builds will not be -# affected mutualy. -NETOPEER2_SYSREPO_SHM_PREFIX = sr_buildroot$(subst /,_,$(CONFIG_DIR))_netopeer2 - -NETOPEER2_MAKE_ENV = \ - SYSREPOCTL_EXECUTABLE=$(HOST_DIR)/bin/sysrepoctl \ - SYSREPO_SHM_PREFIX=$(NETOPEER2_SYSREPO_SHM_PREFIX) - -define NETOPEER2_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/netopeer2/S52netopeer2 \ - $(TARGET_DIR)/etc/init.d/S52netopeer2 -endef - -# The host sysrepo used to install the netopeer2 modules will leave -# its shared memory files lingering about. Clean up in its stead... -# We need to clean up both before and after installation, to catch -# the case of a previous build that failed before we run that hook. -define NETOPEER2_CLEANUP - rm -f /dev/shm/$(NETOPEER2_SYSREPO_SHM_PREFIX)* -endef -NETOPEER2_PRE_INSTALL_TARGET_HOOKS += NETOPEER2_CLEANUP -NETOPEER2_POST_INSTALL_TARGET_HOOKS += NETOPEER2_CLEANUP - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/netsniff-ng/netsniff-ng.mk b/buildroot-2021.05/package/netsniff-ng/netsniff-ng.mk deleted file mode 100644 index f45246da..00000000 --- a/buildroot-2021.05/package/netsniff-ng/netsniff-ng.mk +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# -# netsniff-ng -# -################################################################################ - -NETSNIFF_NG_VERSION = 0.6.8 -NETSNIFF_NG_SITE = http://pub.netsniff-ng.org/netsniff-ng -NETSNIFF_NG_SOURCE = netsniff-ng-$(NETSNIFF_NG_VERSION).tar.xz -NETSNIFF_NG_LICENSE = GPL-2.0 -NETSNIFF_NG_LICENSE_FILES = README COPYING -# Prevent netsniff-ng configure script from finding a host installed nacl -NETSNIFF_NG_CONF_ENV = \ - NACL_INC_DIR=/dev/null \ - NACL_LIB_DIR=/dev/null -NETSNIFF_NG_DEPENDENCIES = libnl libpcap libnetfilter_conntrack liburcu - -ifeq ($(BR2_PACKAGE_NETSNIFF_NG_MAUSEZAHN),y) -NETSNIFF_NG_DEPENDENCIES += libcli libnet -NETSNIFF_NG_BUILD_MAKE_TARGET = all -NETSNIFF_NG_INSTALL_MAKE_TARGET = install -else -NETSNIFF_NG_BUILD_MAKE_TARGET = allbutmausezahn -NETSNIFF_NG_INSTALL_MAKE_TARGET = install_allbutmausezahn -endif - -ifeq ($(BR2_PACKAGE_GEOIP),y) -NETSNIFF_NG_DEPENDENCIES += geoip -endif - -ifeq ($(BR2_PACKAGE_NCURSES),y) -NETSNIFF_NG_DEPENDENCIES += ncurses -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -NETSNIFF_NG_DEPENDENCIES += zlib -endif - -# hand-written configure script and makefile -define NETSNIFF_NG_CONFIGURE_CMDS - (cd $(@D); \ - $(NETSNIFF_NG_CONF_ENV) \ - $(TARGET_CONFIGURE_ARGS) \ - $(TARGET_CONFIGURE_OPTS) \ - ./configure \ - --prefix=$(TARGET_DIR)/usr \ - ) -endef - -define NETSNIFF_NG_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - $(NETSNIFF_NG_BUILD_MAKE_TARGET) -endef - -define NETSNIFF_NG_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - PREFIX=$(TARGET_DIR)/usr ETCDIR=$(TARGET_DIR)/etc \ - -C $(@D) $(NETSNIFF_NG_INSTALL_MAKE_TARGET) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/netsnmp/0003-configure-fix-AC_CHECK_FUNCS-EVP_sha224-EVP_sha384-..patch b/buildroot-2021.05/package/netsnmp/0003-configure-fix-AC_CHECK_FUNCS-EVP_sha224-EVP_sha384-..patch deleted file mode 100644 index 08290421..00000000 --- a/buildroot-2021.05/package/netsnmp/0003-configure-fix-AC_CHECK_FUNCS-EVP_sha224-EVP_sha384-..patch +++ /dev/null @@ -1,39 +0,0 @@ -From 8e273c688aa235ed9c68570a700d31596bac14df Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Mon, 15 Oct 2018 19:07:05 +0200 -Subject: [PATCH 1/2] configure: fix AC_CHECK_FUNCS(EVP_sha224 EVP_sha384 ...) - failure on static linking - -If building as static lib, AC_CHECK_FUNCS(EVP_sha224 EVP_sha384 ...) -fails due to missing -lz in $LIBS. -At the moment, $LIBS contains $LIBCRYPTO only discarding previous $LIBS -content. - -Add $LIBS to: -LIBS="$LIBCRYPTO" -as: -LIBS="$LIBCRYPTO $LIBS" -This way $LIBS will contain -lz at the end of linking command that in -static linking build is mandatory. - -Signed-off-by: Giulio Benetti ---- - configure.d/config_os_libs2 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2 -index 81788a209..93044000b 100644 ---- a/configure.d/config_os_libs2 -+++ b/configure.d/config_os_libs2 -@@ -321,7 +321,7 @@ if test "x$tryopenssl" != "xno" -a "x$tryopenssl" != "xinternal"; then - AC_DEFINE(HAVE_LIBCRYPTO, 1, - [Define to 1 if you have the OpenSSL library (-lcrypto or -leay32).]) - netsnmp_save_LIBS="$LIBS" -- LIBS="$LIBCRYPTO" -+ LIBS="$LIBCRYPTO $LIBS" - AC_CHECK_FUNCS([AES_cfb128_encrypt]dnl - [EVP_sha224 EVP_sha384 ]dnl - [EVP_MD_CTX_create EVP_MD_CTX_destroy]dnl --- -2.17.1 - diff --git a/buildroot-2021.05/package/netsnmp/0004-configure-fix-AC_CHECK_FUNCS-TLS_method-TLSv1_method.patch b/buildroot-2021.05/package/netsnmp/0004-configure-fix-AC_CHECK_FUNCS-TLS_method-TLSv1_method.patch deleted file mode 100644 index 2618cbee..00000000 --- a/buildroot-2021.05/package/netsnmp/0004-configure-fix-AC_CHECK_FUNCS-TLS_method-TLSv1_method.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 1ab6e3fc3cf61fa5a7b7363e59095e868474524b Mon Sep 17 00:00:00 2001 -From: Giulio Benetti -Date: Mon, 15 Oct 2018 19:34:26 +0200 -Subject: [PATCH 2/2] configure: fix AC_CHECK_FUNCS(TLS_method TLSv1_method - ...) failure on static linking - -If building as static lib, AC_CHECK_FUNCS(TLS_method TLSv1_method ...) -fails due to missing -lz in $LIBS. -At the moment, $LIBS contains "-lssl $LIBCRYPTO" only discarding -previous $LIBS content. - -Add $LIBS to: -LIBS="-lssl $LIBCRYPTO" -as: -LIBS="-lssl $LIBCRYPTO $LIBS" -This way $LIBS will contain -lz at the end of linking command that in -static linking build is mandatory. - -Signed-off-by: Giulio Benetti ---- - configure.d/config_os_libs2 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2 -index 93044000b..c811c63ec 100644 ---- a/configure.d/config_os_libs2 -+++ b/configure.d/config_os_libs2 -@@ -349,7 +349,7 @@ if test "x$tryopenssl" != "xno" -a "x$tryopenssl" != "xinternal"; then - LIBS="$netsnmp_save_LIBS" - fi - netsnmp_save_LIBS="$LIBS" -- LIBS="-lssl $LIBCRYPTO" -+ LIBS="-lssl $LIBCRYPTO $LIBS" - AC_CHECK_FUNCS([TLS_method TLSv1_method DTLS_method DTLSv1_method]dnl - [SSL_library_init SSL_load_error_strings]dnl - [ERR_get_error_all]) --- -2.17.1 - diff --git a/buildroot-2021.05/package/netsnmp/Config.in b/buildroot-2021.05/package/netsnmp/Config.in deleted file mode 100644 index f22e38b3..00000000 --- a/buildroot-2021.05/package/netsnmp/Config.in +++ /dev/null @@ -1,60 +0,0 @@ -config BR2_PACKAGE_NETSNMP - bool "netsnmp" - depends on BR2_USE_MMU # fork() - help - Suite of applications used to implement SNMP v1, SNMP v2c, and - SNMP v3 using both IPv4 and IPv6. - - http://net-snmp.sourceforge.net/ - -if BR2_PACKAGE_NETSNMP - -config BR2_PACKAGE_NETSNMP_SERVER - bool "server" - default y - help - The snmpd server. - -config BR2_PACKAGE_NETSNMP_CLIENTS - bool "clients" - default y - help - The net-snmp clients (snmpget, snmpwalk, etc). - -config BR2_PACKAGE_NETSNMP_ENABLE_MIBS - bool "Install MIB files on target and enable MIB loading code" - default y - help - The net-snmp package contains a selection of MIB files. - Say yes if you want those MIB files installed on the target - and enable the code that parses the MIB files. - -config BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES - string "Build with these MIB modules" - default "host ucd-snmp/dlmod agentx" if !BR2_STATIC_LIBS - default "host agentx" if BR2_STATIC_LIBS - help - Specify which MIB modules to include. - -config BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES - string "Build without these MIB modules" - default "disman/event disman/schedule utilities" - help - Specify which MIB modules to exclude. - -config BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING - bool "Enable debugging code" - help - By default net-snmp is compiled without debugging support - (--disable-debugging). Enable this options if you need - debugging support, including the ability to log with - DEBUGMSG(), DEBUGMSGTL() and companion macros. - -config BR2_PACKAGE_NETSNMP_OPENSSL_INTERNAL - bool "Enable minimal internal OpenSSL code" - depends on !BR2_PACKAGE_OPENSSL - help - Enable a minimal internal copy of OpenSSL usable for USM - security. It will not enable the usage of SNMP over (D)TLS. - -endif diff --git a/buildroot-2021.05/package/netsnmp/netsnmp.hash b/buildroot-2021.05/package/netsnmp/netsnmp.hash deleted file mode 100644 index e3adb28c..00000000 --- a/buildroot-2021.05/package/netsnmp/netsnmp.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature at -# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9/net-snmp-5.9.tar.gz.asc -# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 -sha256 04303a66f85d6d8b16d3cc53bde50428877c82ab524e17591dfceaeb94df6071 net-snmp-5.9.tar.gz diff --git a/buildroot-2021.05/package/netsnmp/netsnmp.mk b/buildroot-2021.05/package/netsnmp/netsnmp.mk deleted file mode 100644 index 1a9a7760..00000000 --- a/buildroot-2021.05/package/netsnmp/netsnmp.mk +++ /dev/null @@ -1,109 +0,0 @@ -################################################################################ -# -# netsnmp -# -################################################################################ - -NETSNMP_VERSION = 5.9 -NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) -NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz -NETSNMP_LICENSE = Various BSD-like -NETSNMP_LICENSE_FILES = COPYING -NETSNMP_CPE_ID_VENDOR = net-snmp -NETSNMP_CPE_ID_PRODUCT = $(NETSNMP_CPE_ID_VENDOR) -NETSNMP_INSTALL_STAGING = YES -NETSNMP_CONF_ENV = \ - ac_cv_NETSNMP_CAN_USE_SYSCTL=no \ - ac_cv_path_PSPROG=/bin/ps -NETSNMP_CONF_OPTS = \ - --with-persistent-directory=/var/lib/snmp \ - --with-defaults \ - --enable-mini-agent \ - --without-rpm \ - --with-logfile=none \ - --without-kmem-usage \ - --enable-as-needed \ - --without-perl-modules \ - --disable-embedded-perl \ - --disable-perl-cc-checks \ - --disable-scripts \ - --with-default-snmp-version="1" \ - --enable-silent-libtool \ - --enable-mfd-rewrites \ - --with-sys-contact="root@localhost" \ - --with-sys-location="Unknown" \ - --with-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES))" \ - --with-out-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES))" \ - --disable-manuals -NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install -NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install -NETSNMP_MAKE = $(MAKE1) -NETSNMP_CONFIG_SCRIPTS = net-snmp-config -NETSNMP_AUTORECONF = YES - -ifeq ($(BR2_ENDIAN),"BIG") -NETSNMP_CONF_OPTS += --with-endianness=big -else -NETSNMP_CONF_OPTS += --with-endianness=little -endif - -ifeq ($(BR2_PACKAGE_LIBNL),y) -NETSNMP_DEPENDENCIES += host-pkgconf libnl -NETSNMP_CONF_OPTS += --with-nl -else -NETSNMP_CONF_OPTS += --without-nl -endif - -# OpenSSL -ifeq ($(BR2_PACKAGE_OPENSSL),y) -NETSNMP_DEPENDENCIES += host-pkgconf openssl -NETSNMP_CONF_OPTS += \ - --with-openssl=$(STAGING_DIR)/usr/include/openssl \ - --with-security-modules="tsm,usm" \ - --with-transports="DTLSUDP,TLSTCP" -NETSNMP_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -else ifeq ($(BR2_PACKAGE_NETSNMP_OPENSSL_INTERNAL),y) -NETSNMP_CONF_OPTS += --with-openssl=internal -else -NETSNMP_CONF_OPTS += --without-openssl -endif - -# There's no option to forcibly enable or disable it -ifeq ($(BR2_PACKAGE_PCIUTILS),y) -NETSNMP_DEPENDENCIES += pciutils -endif - -# For ucd-snmp/lmsensorsMib -ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -NETSNMP_DEPENDENCIES += lm-sensors -endif - -ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y) -NETSNMP_CONF_OPTS += --disable-mib-loading -NETSNMP_CONF_OPTS += --disable-mibs -endif - -ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y) -NETSNMP_CONF_OPTS += --disable-debugging -endif - -ifeq ($(BR2_PACKAGE_NETSNMP_SERVER),y) -NETSNMP_CONF_OPTS += --enable-agent -else -NETSNMP_CONF_OPTS += --disable-agent -endif - -ifeq ($(BR2_PACKAGE_NETSNMP_CLIENTS),y) -NETSNMP_CONF_OPTS += --enable-applications -else -NETSNMP_CONF_OPTS += --disable-applications -endif - -ifeq ($(BR2_PACKAGE_NETSNMP_SERVER),y) -define NETSNMP_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \ - $(TARGET_DIR)/etc/init.d/S59snmpd -endef -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nettle/nettle.hash b/buildroot-2021.05/package/nettle/nettle.hash deleted file mode 100644 index 09652dcc..00000000 --- a/buildroot-2021.05/package/nettle/nettle.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/nettle/nettle-3.7.2.tar.gz.sig -sha256 8d2a604ef1cde4cd5fb77e422531ea25ad064679ff0adf956e78b3352e0ef162 nettle-3.7.2.tar.gz -# Locally calculated -sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LESSERv3 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2 diff --git a/buildroot-2021.05/package/nettle/nettle.mk b/buildroot-2021.05/package/nettle/nettle.mk deleted file mode 100644 index bf833eb2..00000000 --- a/buildroot-2021.05/package/nettle/nettle.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# nettle -# -################################################################################ - -NETTLE_VERSION = 3.7.2 -NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive -NETTLE_DEPENDENCIES = gmp -NETTLE_INSTALL_STAGING = YES -NETTLE_LICENSE = Dual GPL-2.0+/LGPL-3.0+ -NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2 -NETTLE_CPE_ID_VENDOR = nettle_project -# don't include openssl support for (unused) examples as it has problems -# with static linking -NETTLE_CONF_OPTS = --disable-openssl - -# ARM assembly requires v6+ ISA -ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y) -NETTLE_CONF_OPTS += --disable-assembler -endif - -ifeq ($(BR2_ARM_CPU_HAS_NEON),y) -NETTLE_CONF_OPTS += --enable-arm-neon -else -NETTLE_CONF_OPTS += --disable-arm-neon -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/network-manager/Config.in b/buildroot-2021.05/package/network-manager/Config.in deleted file mode 100644 index 7d447684..00000000 --- a/buildroot-2021.05/package/network-manager/Config.in +++ /dev/null @@ -1,69 +0,0 @@ -config BR2_PACKAGE_NETWORK_MANAGER - bool "network-manager" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt - depends on !BR2_STATIC_LIBS # gnutls - depends on BR2_USE_MMU # dbus - depends on BR2_PACKAGE_HAS_UDEV - # Tested with 3.2, but may even work with earlier versions - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 - depends on BR2_TOOLCHAIN_USES_GLIBC # CLOCK_BOOTTIME, IPTOS_CLASS_* - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_WCHAR # libglib2 - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_GNUTLS - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - select BR2_PACKAGE_WIRELESS_TOOLS - select BR2_PACKAGE_WIRELESS_TOOLS_LIB - select BR2_PACKAGE_READLINE - select BR2_PACKAGE_LIBNDP - help - NetworkManager is a set of co-operative tools that make - networking simple and straightforward. Whether WiFi, wired, - 3G, or Bluetooth, NetworkManager allows you to quickly move - from one network to another: once a network has been - configured and joined once, it can be detected and re-joined - automatically the next time it's available. - - http://projects.gnome.org/NetworkManager/ - -if BR2_PACKAGE_NETWORK_MANAGER - -config BR2_PACKAGE_NETWORK_MANAGER_TUI - bool "nmtui support" - select BR2_PACKAGE_NEWT - help - This option enables terminal based UI - -config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER - bool "modem-manager support" - select BR2_PACKAGE_MODEM_MANAGER - help - This option enables support for ModemManager - -config BR2_PACKAGE_NETWORK_MANAGER_PPPD - bool "pppd support" - depends on !BR2_TOOLCHAIN_USES_MUSL # pppd - select BR2_PACKAGE_PPPD - help - This option enables support for PPPD daemon - -comment "pppd support needs a glibc or uClibc toolchain" - depends on BR2_TOOLCHAIN_USES_MUSL - -config BR2_PACKAGE_NETWORK_MANAGER_OVS - bool "OpenVSwitch support" - select BR2_PACKAGE_JANSSON - help - This option enables support for OpenVSwitch - -endif - -comment "NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 3.2, dynamic library, wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_HAS_UDEV || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 || \ - !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ - !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/network-manager/network-manager.hash b/buildroot-2021.05/package/network-manager/network-manager.hash deleted file mode 100644 index aef06dde..00000000 --- a/buildroot-2021.05/package/network-manager/network-manager.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://download.gnome.org/sources/NetworkManager/1.22/NetworkManager-1.22.16.sha256sum -sha256 377aa053752eaa304b72c9906f9efcd9fbd5f7f6cb4cd4ad72425a68982cffc6 NetworkManager-1.22.16.tar.xz -# Locally computed -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL -sha256 f0543c137bc0eece552d42642d1bab31707ca3b3663d9c7a81ac3b270a4780e7 CONTRIBUTING diff --git a/buildroot-2021.05/package/network-manager/network-manager.mk b/buildroot-2021.05/package/network-manager/network-manager.mk deleted file mode 100644 index 607c2b40..00000000 --- a/buildroot-2021.05/package/network-manager/network-manager.mk +++ /dev/null @@ -1,98 +0,0 @@ -################################################################################ -# -# network-manager -# -################################################################################ - -NETWORK_MANAGER_VERSION_MAJOR = 1.22 -NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).16 -NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz -NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) -NETWORK_MANAGER_INSTALL_STAGING = YES -NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev gnutls libglib2 \ - libgcrypt wireless_tools util-linux host-intltool readline libndp -NETWORK_MANAGER_LICENSE = GPL-2.0+ (app), LGPL-2.1+ (libnm) -NETWORK_MANAGER_LICENSE_FILES = COPYING COPYING.LGPL CONTRIBUTING -NETWORK_MANAGER_CPE_ID_VENDOR = gnome -NETWORK_MANAGER_CPE_ID_PRODUCT = networkmanager -NETWORK_MANAGER_SELINUX_MODULES = networkmanager - -NETWORK_MANAGER_CONF_ENV = \ - ac_cv_path_LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \ - ac_cv_file__etc_fedora_release=no \ - ac_cv_file__etc_mandriva_release=no \ - ac_cv_file__etc_debian_version=no \ - ac_cv_file__etc_redhat_release=no \ - ac_cv_file__etc_SuSE_release=no - -NETWORK_MANAGER_CONF_OPTS = \ - --disable-introspection \ - --disable-tests \ - --disable-qt \ - --disable-more-warnings \ - --with-crypto=gnutls \ - --with-iptables=/usr/sbin/iptables \ - --disable-ifupdown \ - --without-nm-cloud-setup - -ifeq ($(BR2_PACKAGE_OFONO),y) -NETWORK_MANAGER_DEPENDENCIES += ofono -NETWORK_MANAGER_CONF_OPTS += --with-ofono -else -NETWORK_MANAGER_CONF_OPTS += --without-ofono -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -NETWORK_MANAGER_DEPENDENCIES += libcurl -NETWORK_MANAGER_CONF_OPTS += --enable-concheck -else -NETWORK_MANAGER_CONF_OPTS += --disable-concheck -endif - -ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_TUI),y) -NETWORK_MANAGER_DEPENDENCIES += newt -NETWORK_MANAGER_CONF_OPTS += --with-nmtui=yes -else -NETWORK_MANAGER_CONF_OPTS += --with-nmtui=no -endif - -ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_PPPD),y) -NETWORK_MANAGER_DEPENDENCIES += pppd -NETWORK_MANAGER_CONF_OPTS += --enable-ppp -else -NETWORK_MANAGER_CONF_OPTS += --disable-ppp -endif - -ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER),y) -NETWORK_MANAGER_DEPENDENCIES += modem-manager -NETWORK_MANAGER_CONF_OPTS += --with-modem-manager-1 -else -NETWORK_MANAGER_CONF_OPTS += --without-modem-manager-1 -endif - -ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y) -NETWORK_MANAGER_CONF_OPTS += --with-dhclient=/sbin/dhclient -endif - -ifeq ($(BR2_PACKAGE_DHCPCD),y) -NETWORK_MANAGER_CONF_OPTS += --with-dhcpcd=/sbin/dhcpcd -endif - -ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_OVS),y) -NETWORK_MANAGER_CONF_OPTS += --enable-ovs -NETWORK_MANAGER_DEPENDENCIES += jansson -else -NETWORK_MANAGER_CONF_OPTS += --disable-ovs -endif - -define NETWORK_MANAGER_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/network-manager/S45network-manager $(TARGET_DIR)/etc/init.d/S45network-manager -endef - -define NETWORK_MANAGER_INSTALL_INIT_SYSTEMD - ln -sf /usr/lib/systemd/system/NetworkManager.service \ - $(TARGET_DIR)/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service - -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nfs-utils/Config.in b/buildroot-2021.05/package/nfs-utils/Config.in deleted file mode 100644 index da563db0..00000000 --- a/buildroot-2021.05/package/nfs-utils/Config.in +++ /dev/null @@ -1,39 +0,0 @@ -comment "nfs-utils needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_NFS_UTILS - bool "nfs-utils" - depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LIBTIRPC # IPv6 requires libtirpc - help - The NFS Linux kernel server. - - http://linux-nfs.org/ - -if BR2_PACKAGE_NFS_UTILS - -config BR2_PACKAGE_NFS_UTILS_RPCDEBUG - bool "rpcdebug" - help - The RPC debugging utility - -config BR2_PACKAGE_NFS_UTILS_RPC_LOCKD - bool "rpc.lockd" - help - NFS lock manager for Linux kernels older than 2.4 - -config BR2_PACKAGE_NFS_UTILS_RPC_NFSD - bool "rpc.nfsd" - default y - select BR2_PACKAGE_RPCBIND # runtime - help - NFS server - -config BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD - bool "rpc.rquotad" - help - NFS remote quota server - -endif diff --git a/buildroot-2021.05/package/nfs-utils/nfs-utils.hash b/buildroot-2021.05/package/nfs-utils/nfs-utils.hash deleted file mode 100644 index 25c11cb6..00000000 --- a/buildroot-2021.05/package/nfs-utils/nfs-utils.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/linux/utils/nfs-utils/2.5.3/sha256sums.asc -sha256 b54d6d8ea2ee62d64111278301ba4631b7bb19174e7f717a724fe5d463900c80 nfs-utils-2.5.3.tar.xz -# Locally computed -sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING diff --git a/buildroot-2021.05/package/nfs-utils/nfs-utils.mk b/buildroot-2021.05/package/nfs-utils/nfs-utils.mk deleted file mode 100644 index c384e939..00000000 --- a/buildroot-2021.05/package/nfs-utils/nfs-utils.mk +++ /dev/null @@ -1,103 +0,0 @@ -################################################################################ -# -# nfs-utils -# -################################################################################ - -NFS_UTILS_VERSION = 2.5.3 -NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.xz -NFS_UTILS_SITE = https://www.kernel.org/pub/linux/utils/nfs-utils/$(NFS_UTILS_VERSION) -NFS_UTILS_LICENSE = GPL-2.0+ -NFS_UTILS_LICENSE_FILES = COPYING -NFS_UTILS_DEPENDENCIES = host-nfs-utils host-pkgconf libtirpc -NFS_UTILS_CPE_ID_VENDOR = linux-nfs -NFS_UTILS_AUTORECONF = YES - -NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no - -NFS_UTILS_CONF_OPTS = \ - --disable-nfsv4 \ - --disable-nfsv41 \ - --disable-gss \ - --disable-uuid \ - --enable-tirpc \ - --enable-ipv6 \ - --without-tcp-wrappers \ - --with-statedir=/run/nfs \ - --with-rpcgen=$(HOST_DIR)/bin/rpcgen - -HOST_NFS_UTILS_CONF_OPTS = \ - --disable-nfsv4 \ - --disable-nfsv41 \ - --disable-gss \ - --disable-uuid \ - --disable-ipv6 \ - --without-tcp-wrappers \ - --with-statedir=/run/nfs \ - --disable-caps \ - --disable-tirpc \ - --without-systemd \ - --with-rpcgen=internal -HOST_NFS_UTILS_DEPENDENCIES = host-pkgconf host-libtirpc - -NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPCDEBUG) += usr/sbin/rpcdebug -NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_LOCKD) += usr/sbin/rpc.lockd -NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad -NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_NFSD) += usr/sbin/exportfs \ - usr/sbin/rpc.mountd usr/sbin/rpc.nfsd usr/lib/systemd/system/nfs-server.service - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -NFS_UTILS_CONF_OPTS += --enable-caps -NFS_UTILS_DEPENDENCIES += libcap -else -NFS_UTILS_CONF_OPTS += --disable-caps -endif - -define NFS_UTILS_INSTALL_FIXUP - cd $(TARGET_DIR) && rm -f $(NFS_UTILS_TARGETS_) - touch $(TARGET_DIR)/etc/exports - $(INSTALL) -D -m 644 \ - $(@D)/utils/mount/nfsmount.conf $(TARGET_DIR)/etc/nfsmount.conf -endef -NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP - -ifeq ($(BR2_INIT_SYSTEMD),y) -NFS_UTILS_CONF_OPTS += --with-systemd=/usr/lib/systemd/system -NFS_UTILS_DEPENDENCIES += systemd -else -NFS_UTILS_CONF_OPTS += --without-systemd -endif - -ifeq ($(BR2_PACKAGE_NFS_UTILS_RPC_NFSD),y) -define NFS_UTILS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/nfs-utils/S60nfs \ - $(TARGET_DIR)/etc/init.d/S60nfs -endef - -endif - -define NFS_UTILS_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0755 package/nfs-utils/nfs-utils_env.sh \ - $(TARGET_DIR)/usr/libexec/nfs-utils/nfs-utils_env.sh - - $(INSTALL) -D -m 0644 package/nfs-utils/nfs-utils_tmpfiles.conf \ - $(TARGET_DIR)/usr/lib/tmpfiles.d/nfs-utils.conf -endef - -define NFS_UTILS_REMOVE_NFSIOSTAT - rm -f $(TARGET_DIR)/usr/sbin/nfsiostat -endef - -# nfsiostat is interpreted python, so remove it unless it's in the target -NFS_UTILS_POST_INSTALL_TARGET_HOOKS += $(if $(BR2_PACKAGE_PYTHON),,NFS_UTILS_REMOVE_NFSIOSTAT) - -define HOST_NFS_UTILS_BUILD_CMDS - $(MAKE) -C $(@D)/tools/rpcgen -endef - -define HOST_NFS_UTILS_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/tools/rpcgen/rpcgen $(HOST_DIR)/bin/rpcgen -endef - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/nftables/nftables.hash b/buildroot-2021.05/package/nftables/nftables.hash deleted file mode 100644 index 1112b7a8..00000000 --- a/buildroot-2021.05/package/nftables/nftables.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://netfilter.org/projects/nftables/downloads.html -sha256 68d6fdfe8ab02303e6b1f13968a4022da5b0120110eaee3233d806857937b66e nftables-0.9.6.tar.bz2 -sha256 c17bc4fa5b2434c6f283ffcb2312e5bf3c7cdf5787b79505f094d8de734ac53e COPYING diff --git a/buildroot-2021.05/package/nftables/nftables.mk b/buildroot-2021.05/package/nftables/nftables.mk deleted file mode 100644 index f9468c52..00000000 --- a/buildroot-2021.05/package/nftables/nftables.mk +++ /dev/null @@ -1,56 +0,0 @@ -################################################################################ -# -# nftables -# -################################################################################ - -NFTABLES_VERSION = 0.9.6 -NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2 -NFTABLES_SITE = https://www.netfilter.org/projects/nftables/files -NFTABLES_DEPENDENCIES = libmnl libnftnl host-pkgconf $(TARGET_NLS_DEPENDENCIES) -NFTABLES_LICENSE = GPL-2.0 -NFTABLES_LICENSE_FILES = COPYING -NFTABLES_CONF_OPTS = --disable-man-doc --disable-pdf-doc -NFTABLES_SELINUX_MODULES = iptables - -ifeq ($(BR2_PACKAGE_GMP),y) -NFTABLES_DEPENDENCIES += gmp -NFTABLES_CONF_OPTS += --without-mini-gmp -else -NFTABLES_CONF_OPTS += --with-mini-gmp -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -NFTABLES_DEPENDENCIES += readline -NFTABLES_LIBS += -lncurses -else -NFTABLES_CONF_OPTS += --without-cli -endif - -ifeq ($(BR2_PACKAGE_JANSSON),y) -NFTABLES_DEPENDENCIES += jansson -NFTABLES_CONF_OPTS += --with-json -else -NFTABLES_CONF_OPTS += --without-json -endif - -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -NFTABLES_CONF_OPTS += --enable-python -NFTABLES_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) -else -NFTABLES_CONF_OPTS += --disable-python -endif - -ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy) -NFTABLES_LIBS += -ljansson -lm -endif - -NFTABLES_CONF_ENV = LIBS="$(NFTABLES_LIBS)" - -define NFTABLES_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) - $(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES) - $(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES_INET) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nginx-dav-ext/Config.in b/buildroot-2021.05/package/nginx-dav-ext/Config.in deleted file mode 100644 index 1e60321f..00000000 --- a/buildroot-2021.05/package/nginx-dav-ext/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_NGINX_DAV_EXT - bool "nginx-dav-ext" - depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE - select BR2_PACKAGE_EXPAT - help - NGINX WebDAV missing commands support (PROPFIND & OPTIONS). - - https://github.com/arut/nginx-dav-ext-module diff --git a/buildroot-2021.05/package/nginx-dav-ext/nginx-dav-ext.hash b/buildroot-2021.05/package/nginx-dav-ext/nginx-dav-ext.hash deleted file mode 100644 index fbed87f0..00000000 --- a/buildroot-2021.05/package/nginx-dav-ext/nginx-dav-ext.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 6b004eed8ea16ad8de4d304027bf0413cc323a95914e58625a7dc066481aae3a nginx-dav-ext-0.1.0.tar.gz -sha256 40581cf424621965adaf1461e97129520ff4fcfb62ed9965ec6fd50b7f4ddfca LICENSE diff --git a/buildroot-2021.05/package/nginx-dav-ext/nginx-dav-ext.mk b/buildroot-2021.05/package/nginx-dav-ext/nginx-dav-ext.mk deleted file mode 100644 index 695287ee..00000000 --- a/buildroot-2021.05/package/nginx-dav-ext/nginx-dav-ext.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# nginx-dav-ext -# -################################################################################ - -NGINX_DAV_EXT_VERSION = 0.1.0 -NGINX_DAV_EXT_SITE = $(call github,arut,nginx-dav-ext-module,v$(NGINX_DAV_EXT_VERSION)) -NGINX_DAV_EXT_LICENSE = BSD-2-Clause -NGINX_DAV_EXT_LICENSE_FILES = LICENSE -NGINX_DAV_EXT_DEPENDENCIES = expat - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/nginx-modsecurity/Config.in b/buildroot-2021.05/package/nginx-modsecurity/Config.in deleted file mode 100644 index 2af11eee..00000000 --- a/buildroot-2021.05/package/nginx-modsecurity/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_NGINX_MODSECURITY - bool "nginx-modsecurity" - depends on BR2_PACKAGE_NGINX_HTTP - depends on BR2_INSTALL_LIBSTDCPP # libmodsecurity - depends on !BR2_STATIC_LIBS # libmodsecurity - depends on BR2_TOOLCHAIN_HAS_THREADS # libmodsecurity - select BR2_PACKAGE_PCRE # libmodsecurity - select BR2_PACKAGE_LIBMODSECURITY - help - The ModSecurity-nginx connector is the connection - point between nginx and libmodsecurity - (ModSecurity v3). - - https://github.com/SpiderLabs/ModSecurity-nginx - -comment "nginx-modsecurity needs a toolchain w/ C++, dynamic library, threads" - depends on BR2_PACKAGE_NGINX_HTTP - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/nginx-modsecurity/nginx-modsecurity.hash b/buildroot-2021.05/package/nginx-modsecurity/nginx-modsecurity.hash deleted file mode 100644 index d2dd266a..00000000 --- a/buildroot-2021.05/package/nginx-modsecurity/nginx-modsecurity.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v1.0.1/modsecurity-nginx-v1.0.1.tar.gz.sha256 -sha256 def45a8db5bc9da14765eda75363457209a86c89538ccf5bfbd3aa02fa10833c modsecurity-nginx-v1.0.1.tar.gz -# Localy calculated -sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE diff --git a/buildroot-2021.05/package/nginx-modsecurity/nginx-modsecurity.mk b/buildroot-2021.05/package/nginx-modsecurity/nginx-modsecurity.mk deleted file mode 100644 index 6d33403d..00000000 --- a/buildroot-2021.05/package/nginx-modsecurity/nginx-modsecurity.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# nginx-modsecurity -# -################################################################################ - -NGINX_MODSECURITY_VERSION = 1.0.1 -NGINX_MODSECURITY_SOURCE = modsecurity-nginx-v$(NGINX_MODSECURITY_VERSION).tar.gz -NGINX_MODSECURITY_SITE = https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v$(NGINX_MODSECURITY_VERSION) -NGINX_MODSECURITY_LICENSE = Apache-2.0 -NGINX_MODSECURITY_LICENSE_FILES = LICENSE -NGINX_MODSECURITY_DEPENDENCIES = libmodsecurity - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/nginx-naxsi/nginx-naxsi.hash b/buildroot-2021.05/package/nginx-naxsi/nginx-naxsi.hash deleted file mode 100644 index 1f289c56..00000000 --- a/buildroot-2021.05/package/nginx-naxsi/nginx-naxsi.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 0a66dcadd32432460fab180be9f2efe24e911e3798917b2787ee710e02901eb4 nginx-naxsi-0.56.tar.gz -sha256 046812ddc8f250f85b5d6e04218c185849c618b309271ef9d8b01e92c6f7a6ac naxsi_src/naxsi_json.c diff --git a/buildroot-2021.05/package/nginx-naxsi/nginx-naxsi.mk b/buildroot-2021.05/package/nginx-naxsi/nginx-naxsi.mk deleted file mode 100644 index 7cfa94a5..00000000 --- a/buildroot-2021.05/package/nginx-naxsi/nginx-naxsi.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# nginx-naxsi -# -################################################################################ - -NGINX_NAXSI_VERSION = 0.56 -NGINX_NAXSI_SITE = $(call github,nbs-system,naxsi,$(NGINX_NAXSI_VERSION)) -NGINX_NAXSI_LICENSE = GPL-2.0+ with OpenSSL exception -NGINX_NAXSI_LICENSE_FILES = naxsi_src/naxsi_json.c - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch b/buildroot-2021.05/package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch deleted file mode 100644 index f186becd..00000000 --- a/buildroot-2021.05/package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch +++ /dev/null @@ -1,213 +0,0 @@ -From 57d9d632be9a9f7e3ac00f9eb10b069afd0b1543 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Thu, 29 May 2014 18:52:10 +0200 -Subject: [PATCH] auto/*: set ngx_feature_run_force_result for each feature - requiring run test - -Each feature requiring a run test has a matching preset variable (called -ngx_force_*) used to set ngx_feature_run_force_result. - -These ngx_force_* variables are passed through the environment at configure -time. - -Signed-off-by: Samuel Martin - -Refresh for 1.8.0. - -Signed-off-by: Danomi Manchego ---- - auto/cc/conf | 3 +++ - auto/cc/name | 1 + - auto/lib/libatomic/conf | 1 + - auto/os/darwin | 3 +++ - auto/os/linux | 4 ++++ - auto/unix | 8 ++++++++ - 6 files changed, 20 insertions(+) - -diff --git a/auto/cc/conf b/auto/cc/conf -index afbca62b..ad42c800 100644 ---- a/auto/cc/conf -+++ b/auto/cc/conf -@@ -184,6 +184,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then - ngx_feature="gcc builtin atomic operations" - ngx_feature_name=NGX_HAVE_GCC_ATOMIC - ngx_feature_run=yes -+ ngx_feature_run_force_result="$ngx_force_gcc_have_atomic" - ngx_feature_incs= - ngx_feature_path= - ngx_feature_libs= -@@ -205,6 +206,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then - ngx_feature="C99 variadic macros" - ngx_feature_name="NGX_HAVE_C99_VARIADIC_MACROS" - ngx_feature_run=yes -+ ngx_feature_run_force_result="$ngx_force_c99_have_variadic_macros" - ngx_feature_incs="#include - #define var(dummy, ...) sprintf(__VA_ARGS__)" - ngx_feature_path= -@@ -219,6 +221,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then - ngx_feature="gcc variadic macros" - ngx_feature_name="NGX_HAVE_GCC_VARIADIC_MACROS" - ngx_feature_run=yes -+ ngx_feature_run_force_result="$ngx_force_gcc_have_variadic_macros" - ngx_feature_incs="#include - #define var(dummy, args...) sprintf(args)" - ngx_feature_path= -diff --git a/auto/cc/name b/auto/cc/name -index ded93f5b..7c3cb74a 100644 ---- a/auto/cc/name -+++ b/auto/cc/name -@@ -8,6 +8,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then - ngx_feature="C compiler" - ngx_feature_name= - ngx_feature_run=yes -+ ngx_feature_run_force_result="$ngx_force_c_compiler" - ngx_feature_incs= - ngx_feature_path= - ngx_feature_libs= -diff --git a/auto/lib/libatomic/conf b/auto/lib/libatomic/conf -index d1e484ab..37249161 100644 ---- a/auto/lib/libatomic/conf -+++ b/auto/lib/libatomic/conf -@@ -15,6 +15,7 @@ else - ngx_feature="atomic_ops library" - ngx_feature_name=NGX_HAVE_LIBATOMIC - ngx_feature_run=yes -+ ngx_feature_run_force_result="$ngx_force_have_libatomic" - ngx_feature_incs="#define AO_REQUIRE_CAS - #include " - ngx_feature_path= -diff --git a/auto/os/darwin b/auto/os/darwin -index 429468f7..1ed47cca 100644 ---- a/auto/os/darwin -+++ b/auto/os/darwin -@@ -33,6 +33,7 @@ NGX_KQUEUE_CHECKED=YES - ngx_feature="kqueue's EVFILT_TIMER" - ngx_feature_name="NGX_HAVE_TIMER_EVENT" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_timer_event" - ngx_feature_incs="#include - #include " - ngx_feature_path= -@@ -63,6 +64,7 @@ ngx_feature_test="int kq; - ngx_feature="Darwin 64-bit kqueue millisecond timeout bug" - ngx_feature_name=NGX_DARWIN_KEVENT_BUG - ngx_feature_run=bug -+ngx_feature_run_force_result="$ngx_force_kevent_bug" - ngx_feature_incs="#include - #include " - ngx_feature_path= -@@ -92,6 +94,7 @@ ngx_feature_test="int kq; - ngx_feature="sendfile()" - ngx_feature_name="NGX_HAVE_SENDFILE" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_sendfile" - ngx_feature_incs="#include - #include - #include -diff --git a/auto/os/linux b/auto/os/linux -index 2c8a9bb8..eb4513ee 100644 ---- a/auto/os/linux -+++ b/auto/os/linux -@@ -37,6 +37,7 @@ fi - ngx_feature="epoll" - ngx_feature_name="NGX_HAVE_EPOLL" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_epoll" - ngx_feature_incs="#include " - ngx_feature_path= - ngx_feature_libs= -@@ -111,6 +112,7 @@ CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE" - ngx_feature="sendfile()" - ngx_feature_name="NGX_HAVE_SENDFILE" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_sendfile" - ngx_feature_incs="#include - #include " - ngx_feature_path= -@@ -132,6 +134,7 @@ CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" - ngx_feature="sendfile64()" - ngx_feature_name="NGX_HAVE_SENDFILE64" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_sendfile64" - ngx_feature_incs="#include - #include " - ngx_feature_path= -@@ -150,6 +153,7 @@ ngx_include="sys/prctl.h"; . auto/include - ngx_feature="prctl(PR_SET_DUMPABLE)" - ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_pr_set_dumpable" - ngx_feature_incs="#include " - ngx_feature_path= - ngx_feature_libs= -diff --git a/auto/unix b/auto/unix -index 43d3b25a..3da00537 100644 ---- a/auto/unix -+++ b/auto/unix -@@ -100,6 +100,7 @@ if test -z "$NGX_KQUEUE_CHECKED"; then - ngx_feature="kqueue's EVFILT_TIMER" - ngx_feature_name="NGX_HAVE_TIMER_EVENT" - ngx_feature_run=yes -+ ngx_feature_run_force_result="$ngx_force_have_timer_event" - ngx_feature_incs="#include - #include " - ngx_feature_path= -@@ -730,6 +731,7 @@ ngx_feature_test="char buf[1]; struct iovec vec[1]; ssize_t n; - ngx_feature="sys_nerr" - ngx_feature_name="NGX_SYS_NERR" - ngx_feature_run=value -+ngx_feature_run_force_result="$ngx_force_sys_nerr" - ngx_feature_incs='#include - #include ' - ngx_feature_path= -@@ -744,6 +746,7 @@ if [ $ngx_found = no ]; then - ngx_feature="_sys_nerr" - ngx_feature_name="NGX_SYS_NERR" - ngx_feature_run=value -+ ngx_feature_run_force_result="$ngx_force_sys_nerr" - ngx_feature_incs='#include - #include ' - ngx_feature_path= -@@ -759,6 +762,7 @@ if [ $ngx_found = no ]; then - ngx_feature='maximum errno' - ngx_feature_name=NGX_SYS_NERR - ngx_feature_run=value -+ ngx_feature_run_force_result="$ngx_force_sys_nerr" - ngx_feature_incs='#include - #include - #include ' -@@ -841,6 +845,7 @@ ngx_feature_test="void *p; p = memalign(4096, 4096); - ngx_feature="mmap(MAP_ANON|MAP_SHARED)" - ngx_feature_name="NGX_HAVE_MAP_ANON" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_map_anon" - ngx_feature_incs="#include " - ngx_feature_path= - ngx_feature_libs= -@@ -854,6 +859,7 @@ ngx_feature_test="void *p; - ngx_feature='mmap("/dev/zero", MAP_SHARED)' - ngx_feature_name="NGX_HAVE_MAP_DEVZERO" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_map_devzero" - ngx_feature_incs="#include - #include - #include " -@@ -869,6 +875,7 @@ ngx_feature_test='void *p; int fd; - ngx_feature="System V shared memory" - ngx_feature_name="NGX_HAVE_SYSVSHM" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_sysvshm" - ngx_feature_incs="#include - #include " - ngx_feature_path= -@@ -883,6 +890,7 @@ ngx_feature_test="int id; - ngx_feature="POSIX semaphores" - ngx_feature_name="NGX_HAVE_POSIX_SEM" - ngx_feature_run=yes -+ngx_feature_run_force_result="$ngx_force_have_posix_sem" - ngx_feature_incs="#include " - ngx_feature_path= - ngx_feature_libs= --- -2.17.1 - diff --git a/buildroot-2021.05/package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch b/buildroot-2021.05/package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch deleted file mode 100644 index 747a034a..00000000 --- a/buildroot-2021.05/package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch +++ /dev/null @@ -1,138 +0,0 @@ -From 08617a8d29ee22831175697555558fec8f52772c Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Sun, 1 Jun 2014 16:05:04 +0200 -Subject: [PATCH] auto/unix: make sys_nerr guessing cross-friendly - -This patch replaces the default sys_nerr runtest with a test done at -buildtime. - -The idea behind this buildtime test is finding the value of the ERR_MAX -macro if defined, or the EHWPOISON (which is currently the last errno) -otherwise. - -Signed-off-by: Samuel Martin - -Refresh for 1.8.0. - -Signed-off-by: Danomi Manchego ---- - auto/os/sys_nerr | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - auto/unix | 10 ++++++++ - 2 files changed, 88 insertions(+) - create mode 100644 auto/os/sys_nerr - -diff --git a/auto/os/sys_nerr b/auto/os/sys_nerr -new file mode 100644 -index 0000000..8970f5f ---- /dev/null -+++ b/auto/os/sys_nerr -@@ -0,0 +1,78 @@ -+ -+# Copyright (C) Samuel Martin -+ -+ -+echo $ngx_n "checking for sys_nerr value...$ngx_c" -+ -+# sys_nerr guessing is done using a (very) poor (but working) -+# heuristics, by checking for the value of ERR_MAX if defined, or -+# EHWPOISON otherwise. -+ -+cat << END >> $NGX_AUTOCONF_ERR -+ -+---------------------------------------- -+checking for sys_nerr value -+ -+END -+ -+ngx_sys_nerr= -+ -+cat << _EOF > $NGX_AUTOTEST.c -+ -+#include -+#include -+ -+static char sys_nerr_test[ERR_MAX]; -+int main(void) -+{ -+ return 0; -+} -+ -+_EOF -+ -+if $CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ -+ $NGX_AUTOTEST.c -o $NGX_AUTOTEST \ -+ $NGX_LD_OPT $ngx_feature_libs >/dev/null 2>&1 ; then -+ _ngx_max_err_macro=ERR_MAX -+else -+ # the +2 has been empirically found! -+ _ngx_max_err_macro="EHWPOISON + 2" -+fi -+ -+cat << _EOF > $NGX_AUTOTEST.c -+ -+#include -+#include -+ -+static char sys_nerr_test[(TEST_ERR_MAX == $_ngx_max_err_macro) ? 1 : -1]; -+int main(void) -+{ -+ return 0; -+} -+ -+_EOF -+ -+ -+ngx_sys_nerr=`for i in $(seq 0 2000) ; do \ -+ $CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ -+ -DTEST_ERR_MAX="$i" \ -+ $NGX_AUTOTEST.c -o $NGX_AUTOTEST \ -+ $NGX_LD_OPT $ngx_feature_libs >/dev/null 2>&1 || continue ;\ -+ echo $i ; break ; done` -+ -+rm -rf $NGX_AUTOTEST* -+ -+if test -z $ngx_sys_nerr ; then -+ ngx_size=0 -+ ngx_sys_nerr=0 -+fi -+ -+cat << END >> $NGX_AUTO_CONFIG_H -+ -+#ifndef $ngx_feature_name -+#define $ngx_feature_name $ngx_sys_nerr -+#endif -+ -+END -+ -+echo " $ngx_sys_nerr" -diff --git a/auto/unix b/auto/unix -index 7dbf9d1..00a7370 100755 ---- a/auto/unix -+++ b/auto/unix -@@ -736,6 +736,10 @@ ngx_feature_incs='#include - #include ' - ngx_feature_path= - ngx_feature_libs= -+ -+if false ; then -+# Disabled because only valid for native build. -+ - ngx_feature_test='printf("%d", sys_nerr);' - . auto/feature - -@@ -784,6 +788,12 @@ if [ $ngx_found = no ]; then - . auto/feature - fi - -+else -+ # Cross-compilation support -+ . auto/os/sys_nerr -+ -+fi -+ - - ngx_feature="localtime_r()" - ngx_feature_name="NGX_HAVE_LOCALTIME_R" --- -1.9.1 - diff --git a/buildroot-2021.05/package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch b/buildroot-2021.05/package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch deleted file mode 100644 index 7e430ffc..00000000 --- a/buildroot-2021.05/package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 79f1fe5251afc4e22a138b0c8f44fc9c94093b8b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 2 Apr 2021 09:18:26 +0200 -Subject: [PATCH] auto/os/linux: fix build with libxcrypt - -If crypt_r is found in libcrypt, add -lcrypt to CORE_LIBS to avoid the -following build failure with libxcrypt: - -objs/ngx_modules.o \ --lpcre -L/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -lxslt -lxml2 -lGeoIP \ --Wl,-E -/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: objs/src/os/unix/ngx_user.o:/home/giuliobenetti/autobuild/run/instance-3/output-1/build/nginx-1.18.0/src/os/unix/ngx_user.c:18: undefined reference to `crypt_r' - -Fixes: - - http://autobuild.buildroot.org/results/79a51b0d348e756517b5c9ce815a67f5c657e7e6 - -Signed-off-by: Fabrice Fontaine ---- - auto/os/linux | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/auto/os/linux b/auto/os/linux -index 5e280eca..04682812 100644 ---- a/auto/os/linux -+++ b/auto/os/linux -@@ -203,6 +203,9 @@ ngx_feature_test="struct crypt_data cd; - crypt_r(\"key\", \"salt\", &cd);" - . auto/feature - -+if [ $ngx_found = yes ]; then -+ CORE_LIBS="$CORE_LIBS $ngx_feature_libs" -+fi - - ngx_include="sys/vfs.h"; . auto/include - --- -2.30.2 - diff --git a/buildroot-2021.05/package/nginx/0010-Resolver-fixed-off-by-one-write-in-ngx_resolver_copy.patch b/buildroot-2021.05/package/nginx/0010-Resolver-fixed-off-by-one-write-in-ngx_resolver_copy.patch deleted file mode 100644 index ba47768f..00000000 --- a/buildroot-2021.05/package/nginx/0010-Resolver-fixed-off-by-one-write-in-ngx_resolver_copy.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 9f1dcb0c0473641730b871dee984016ff19d2c53 Mon Sep 17 00:00:00 2001 -From: Maxim Dounin -Date: Tue, 25 May 2021 15:17:36 +0300 -Subject: [PATCH] Resolver: fixed off-by-one write in ngx_resolver_copy(). - -Reported by Luis Merino, Markus Vervier, Eric Sesterhenn, X41 D-Sec GmbH. - -[peter@korsgaard.com: backport from upstream] -Signed-off-by: Peter Korsgaard ---- - src/core/ngx_resolver.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/core/ngx_resolver.c b/src/core/ngx_resolver.c -index 79390701..63b26193 100644 ---- a/src/core/ngx_resolver.c -+++ b/src/core/ngx_resolver.c -@@ -4008,15 +4008,15 @@ done: - n = *src++; - - } else { -+ if (dst != name->data) { -+ *dst++ = '.'; -+ } -+ - ngx_strlow(dst, src, n); - dst += n; - src += n; - - n = *src++; -- -- if (n != 0) { -- *dst++ = '.'; -- } - } - - if (n == 0) { --- -2.20.1 - diff --git a/buildroot-2021.05/package/nginx/Config.in b/buildroot-2021.05/package/nginx/Config.in deleted file mode 100644 index 6ae790a9..00000000 --- a/buildroot-2021.05/package/nginx/Config.in +++ /dev/null @@ -1,446 +0,0 @@ -menuconfig BR2_PACKAGE_NGINX - bool "nginx" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LIBATOMIC_OPS if BR2_sparc_v8 || BR2_sparc_leon3 - help - nginx is an HTTP and reverse proxy server, as well as a mail - proxy server. - - http://nginx.org/ - -if BR2_PACKAGE_NGINX - -config BR2_PACKAGE_NGINX_FILE_AIO - bool "file AIO support" - # Does not build, because nginx hardcodes using SYS_eventfd, - # but it's available on neither AArch64 nor ARC where only - # eventfd() is available. See - # https://bugs.launchpad.net/linaro-aarch64/+bug/1160013 - depends on !BR2_aarch64 - depends on !BR2_arc - -config BR2_PACKAGE_NGINX_THREADS - bool "thread pool support" - depends on BR2_TOOLCHAIN_HAS_THREADS - -comment "thread pool support needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_NGINX_HTTP - bool "http server" - default y - -if BR2_PACKAGE_NGINX_HTTP - -config BR2_PACKAGE_NGINX_HTTP_CACHE - bool "http cache support" - select BR2_PACKAGE_OPENSSL - -comment "http modules" - -config BR2_PACKAGE_NGINX_HTTP_SSL_MODULE - bool "ngx_http_ssl_module" - select BR2_PACKAGE_OPENSSL - help - Enable ngx_http_ssl_module - -config BR2_PACKAGE_NGINX_HTTP_V2_MODULE - bool "ngx_http_v2_module" - select BR2_PACKAGE_ZLIB - help - Enable ngx_http_spdy_module - -config BR2_PACKAGE_NGINX_HTTP_REALIP_MODULE - bool "ngx_http_realip_module" - help - Enable ngx_http_realip_module - -config BR2_PACKAGE_NGINX_HTTP_ADDITION_MODULE - bool "ngx_http_addition_module" - help - Enable ngx_http_addition_module - -config BR2_PACKAGE_NGINX_HTTP_XSLT_MODULE - bool "ngx_http_xslt_module" - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_LIBXSLT - help - Enable ngx_http_xslt_module - -config BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE - bool "ngx_http_image_filter_module" - select BR2_PACKAGE_GD - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBPNG - help - Enable ngx_http_image_filter_module - -config BR2_PACKAGE_NGINX_HTTP_GEOIP_MODULE - bool "ngx_http_geoip_module" - select BR2_PACKAGE_GEOIP - help - Enable ngx_http_geoip_module - -config BR2_PACKAGE_NGINX_HTTP_SUB_MODULE - bool "ngx_http_sub_module" - help - Enable ngx_http_sub_module - -config BR2_PACKAGE_NGINX_HTTP_DAV_MODULE - bool "ngx_http_dav_module" - help - Enable ngx_http_dav_module - -config BR2_PACKAGE_NGINX_HTTP_FLV_MODULE - bool "ngx_http_flv_module" - help - Enable ngx_http_flv_module - -config BR2_PACKAGE_NGINX_HTTP_MP4_MODULE - bool "ngx_http_mp4_module" - help - Enable ngx_http_mp4_module - -config BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE - bool "ngx_http_gunzip_module" - select BR2_PACKAGE_ZLIB - help - Enable ngx_http_gunzip_module - -config BR2_PACKAGE_NGINX_HTTP_GZIP_STATIC_MODULE - bool "ngx_http_gzip_static_module" - select BR2_PACKAGE_ZLIB - help - Enable ngx_http_gzip_static_module - -config BR2_PACKAGE_NGINX_HTTP_AUTH_REQUEST_MODULE - bool "ngx_http_auth_request_module" - help - Enable ngx_http_auth_request_module - -config BR2_PACKAGE_NGINX_HTTP_RANDOM_INDEX_MODULE - bool "ngx_http_random_index_module" - help - Enable ngx_http_random_index_module - -config BR2_PACKAGE_NGINX_HTTP_SECURE_LINK_MODULE - bool "ngx_http_secure_link_module" - select BR2_PACKAGE_OPENSSL - help - Enable ngx_http_secure_link_module - -config BR2_PACKAGE_NGINX_HTTP_DEGRADATION_MODULE - bool "ngx_http_degradation_module" - help - Enable ngx_http_degradation_module - -config BR2_PACKAGE_NGINX_HTTP_SLICE_MODULE - bool "ngx_http_slice_module" - help - Enable ngx_http_slice_module - -config BR2_PACKAGE_NGINX_HTTP_STUB_STATUS_MODULE - bool "ngx_http_stub_status_module" - help - Enable ngx_http_stub_status_module - -config BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE - bool "ngx_http_charset_module" - default y - help - Enable ngx_http_charset_module - -config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE - bool "ngx_http_gzip_module" - default y - select BR2_PACKAGE_ZLIB - help - Enable ngx_http_gzip_module - -config BR2_PACKAGE_NGINX_HTTP_SSI_MODULE - bool "ngx_http_ssi_module" - default y - help - Enable ngx_http_ssi_module - -config BR2_PACKAGE_NGINX_HTTP_USERID_MODULE - bool "ngx_http_userid_module" - default y - help - Enable ngx_http_userid_module - -config BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE - bool "ngx_http_access_module" - default y - help - Enable ngx_http_access_module - -config BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE - bool "ngx_http_auth_basic_module" - default y - help - Enable ngx_http_auth_basic_module - -config BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE - bool "ngx_http_autoindex_module" - default y - help - Enable ngx_http_autoindex_module - -config BR2_PACKAGE_NGINX_HTTP_GEO_MODULE - bool "ngx_http_geo_module" - default y - help - Enable ngx_http_geo_module - -config BR2_PACKAGE_NGINX_HTTP_MAP_MODULE - bool "ngx_http_map_module" - default y - help - Enable ngx_http_map_module - -config BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE - bool "ngx_http_split_clients_module" - default y - help - Enable ngx_http_split_clients_module - -config BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE - bool "ngx_http_referer_module" - default y - help - Enable ngx_http_referer_module - -config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE - bool "ngx_http_rewrite_module" - default y - select BR2_PACKAGE_PCRE - help - Enable ngx_http_rewrite_module - -config BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE - bool "ngx_http_proxy_module" - default y - help - Enable ngx_http_proxy_module - -config BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE - bool "ngx_http_fastcgi_module" - default y - help - Enable ngx_http_fastcgi_module - -config BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE - bool "ngx_http_uwsgi_module" - default y - help - Enable ngx_http_uwsgi_module - -config BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE - bool "ngx_http_scgi_module" - default y - help - Enable ngx_http_scgi_module - -config BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE - bool "ngx_http_memcached_module" - default y - help - Enable ngx_http_memcached_module - -config BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE - bool "ngx_http_limit_conn_module" - default y - help - Enable ngx_http_limit_conn_module - -config BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE - bool "ngx_http_limit_req_module" - default y - help - Enable ngx_http_limit_req_module - -config BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE - bool "ngx_http_empty_gif_module" - default y - help - Enable ngx_http_empty_gif_module - -config BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE - bool "ngx_http_browser_module" - default y - help - Enable ngx_http_browser_module - -config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE - bool "ngx_http_upstream_ip_hash_module" - default y - help - Enable ngx_http_upstream_ip_hash_module - -config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE - bool "ngx_http_upstream_least_conn_module" - default y - help - Enable ngx_http_upstream_least_conn_module - -config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE - bool "ngx_http_upstream_keepalive_module" - default y - help - Enable ngx_http_upstream_keepalive_module - -config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_RANDOM_MODULE - bool "ngx_http_upstream_random_module" - default y - help - Enable ngx_http_upstream_random_module - -endif #BR2_PACKAGE_NGINX_HTTP - -config BR2_PACKAGE_NGINX_MAIL - bool "mail proxy modules" - -if BR2_PACKAGE_NGINX_MAIL - -config BR2_PACKAGE_NGINX_MAIL_SSL_MODULE - bool "ngx_mail_ssl_module" - select BR2_PACKAGE_OPENSSL - help - Enable ngx_mail_ssl_module - -config BR2_PACKAGE_NGINX_MAIL_POP3_MODULE - bool "ngx_mail_pop3_module" - default y - help - Enable ngx_mail_pop3_module - -config BR2_PACKAGE_NGINX_MAIL_IMAP_MODULE - bool "ngx_mail_imap_module" - default y - help - Enable ngx_mail_imap_module - -config BR2_PACKAGE_NGINX_MAIL_SMTP_MODULE - bool "ngx_mail_smtp_module" - default y - help - Enable ngx_mail_smtp_module - -endif #BR2_PACKAGE_NGINX_MAIL - -config BR2_PACKAGE_NGINX_STREAM - bool "stream proxy modules" - -if BR2_PACKAGE_NGINX_STREAM - -config BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE - bool "ngx_stream_realip_module" - help - Enable ngx_stream_realip_module - -config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE - bool "ngx_stream_ssl_module" - select BR2_PACKAGE_OPENSSL - help - Enable ngx_stream_ssl_module - -config BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE - bool "ngx_stream_geoip_module" - select BR2_PACKAGE_GEOIP - help - Enable ngx_stream_geoip_module - -config BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE - bool "ngx_stream_ssl_preread_module" - help - Enable ngx_stream_ssl_preread_module - -config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE - bool "ngx_stream_limit_conn_module" - default y - help - Enable ngx_stream_limit_conn_module - -config BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE - bool "ngx_stream_access_module" - default y - help - Enable ngx_stream_access_module - -config BR2_PACKAGE_NGINX_STREAM_GEO_MODULE - bool "ngx_stream_geo_module" - default y - help - Enable ngx_stream_geo_module - -config BR2_PACKAGE_NGINX_STREAM_MAP_MODULE - bool "ngx_stream_map_module" - default y - help - Enable ngx_stream_map_module - -config BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE - bool "ngx_stream_split_clients_module" - default y - help - Enable ngx_stream_split_clients_module - -config BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE - bool "ngx_stream_return_module" - default y - help - Enable ngx_stream_return_module - -config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE - bool "ngx_stream_upstream_hash_module" - default y - help - Enable ngx_stream_upstream_hash_module - -config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE - bool "ngx_stream_upstream_least_conn_module" - default y - help - Enable ngx_stream_upstream_least_conn_module - -config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_RANDOM_MODULE - bool "ngx_stream_upstream_random_module" - default y - help - Enable ngx_stream_upstream_random_module - -config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE - bool "ngx_stream_upstream_zone_module" - default y - help - Enable ngx_stream_upstream_zone_module - -endif #BR2_PACKAGE_NGINX_STREAM - -config BR2_PACKAGE_NGINX_DEBUG - bool "debug logging" - help - Enable debug logging. The debug level should be set with - the error_log directive. For example - - error_log /var/log/nginx/error.log debug; - -comment "misc. modules" - -config BR2_PACKAGE_NGINX_SELECT_MODULE - bool "ngx_select_module" - help - Enable ngx_select_module - -config BR2_PACKAGE_NGINX_POLL_MODULE - bool "ngx_poll_module" - help - Enable ngx_poll_module - -config BR2_PACKAGE_NGINX_ADD_MODULES - string "additional modules" - help - Space separated list of urls of the additional modules - -endif diff --git a/buildroot-2021.05/package/nginx/nginx.hash b/buildroot-2021.05/package/nginx/nginx.hash deleted file mode 100644 index 8d17931a..00000000 --- a/buildroot-2021.05/package/nginx/nginx.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 4c373e7ab5bf91d34a4f11a0c9496561061ba5eee6020db272a17a7228d35f99 nginx-1.18.0.tar.gz -# License files, locally calculated -sha256 28ad30e2f64bd89ac1287b4606906bb99ed04d9f4e13fb6564a0be9c8a23f509 LICENSE diff --git a/buildroot-2021.05/package/nginx/nginx.mk b/buildroot-2021.05/package/nginx/nginx.mk deleted file mode 100644 index e93e802f..00000000 --- a/buildroot-2021.05/package/nginx/nginx.mk +++ /dev/null @@ -1,324 +0,0 @@ -################################################################################ -# -# nginx -# -################################################################################ - -NGINX_VERSION = 1.18.0 -NGINX_SITE = http://nginx.org/download -NGINX_LICENSE = BSD-2-Clause -NGINX_LICENSE_FILES = LICENSE -NGINX_CPE_ID_VENDOR = nginx -NGINX_DEPENDENCIES = \ - host-pkgconf \ - $(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) - -# 0010-Resolver-fixed-off-by-one-write-in-ngx_resolver_copy.patch -NGINX_IGNORE_CVES += CVE-2021-23017 - -NGINX_CONF_OPTS = \ - --crossbuild=Linux::$(BR2_ARCH) \ - --with-cc="$(TARGET_CC)" \ - --with-cpp="$(TARGET_CC)" \ - --with-ld-opt="$(TARGET_LDFLAGS)" - -# www-data user and group are used for nginx. Because these user and group -# are already set by buildroot, it is not necessary to redefine them. -# See system/skeleton/etc/passwd -# username: www-data uid: 33 -# groupname: www-data gid: 33 -# -# So, we just need to create the directories used by nginx with the right -# ownership. -define NGINX_PERMISSIONS - /var/lib/nginx d 755 33 33 - - - - - -endef - -# disable external libatomic_ops because its detection fails. -NGINX_CONF_ENV += \ - ngx_force_c_compiler=yes \ - ngx_force_c99_have_variadic_macros=yes \ - ngx_force_gcc_have_variadic_macros=yes \ - ngx_force_gcc_have_atomic=yes \ - ngx_force_have_epoll=yes \ - ngx_force_have_sendfile=yes \ - ngx_force_have_sendfile64=yes \ - ngx_force_have_pr_set_dumpable=yes \ - ngx_force_have_timer_event=yes \ - ngx_force_have_map_anon=yes \ - ngx_force_have_map_devzero=yes \ - ngx_force_have_sysvshm=yes \ - ngx_force_have_posix_sem=yes - -# prefix: nginx root configuration location -NGINX_CONF_OPTS += \ - --prefix=/usr \ - --conf-path=/etc/nginx/nginx.conf \ - --sbin-path=/usr/sbin/nginx \ - --pid-path=/run/nginx.pid \ - --lock-path=/run/lock/nginx.lock \ - --user=www-data \ - --group=www-data \ - --error-log-path=/var/log/nginx/error.log \ - --http-log-path=/var/log/nginx/access.log \ - --http-client-body-temp-path=/var/cache/nginx/client-body \ - --http-proxy-temp-path=/var/cache/nginx/proxy \ - --http-fastcgi-temp-path=/var/cache/nginx/fastcgi \ - --http-scgi-temp-path=/var/cache/nginx/scgi \ - --http-uwsgi-temp-path=/var/cache/nginx/uwsgi - -NGINX_CONF_OPTS += \ - $(if $(BR2_PACKAGE_NGINX_FILE_AIO),--with-file-aio) \ - $(if $(BR2_PACKAGE_NGINX_THREADS),--with-threads) - -ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) -NGINX_DEPENDENCIES += libatomic_ops -NGINX_CONF_OPTS += --with-libatomic -NGINX_CONF_ENV += ngx_force_have_libatomic=yes -ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) -NGINX_CFLAGS += "-DAO_NO_SPARC_V9" -endif -else -NGINX_CONF_ENV += ngx_force_have_libatomic=no -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -NGINX_DEPENDENCIES += pcre -NGINX_CONF_OPTS += --with-pcre -else -NGINX_CONF_OPTS += --without-pcre -endif - -# modules disabled or not activated because of missing dependencies: -# - google_perftools (googleperftools) -# - http_perl_module (host-perl) -# - pcre-jit (want to rebuild pcre) - -# Notes: -# * Feature/module option are *not* symetric. -# If a feature is on by default, only its --without-xxx option exists; -# if a feature is off by default, only its --with-xxx option exists. -# * The configure script fails if unknown options are passed on the command -# line. - -# misc. modules -NGINX_CONF_OPTS += \ - $(if $(BR2_PACKAGE_NGINX_SELECT_MODULE),--with-select_module,--without-select_module) \ - $(if $(BR2_PACKAGE_NGINX_POLL_MODULE),--with-poll_module,--without-poll_module) - -ifneq ($(BR2_PACKAGE_NGINX_ADD_MODULES),) -NGINX_CONF_OPTS += \ - $(addprefix --add-module=,$(call qstrip,$(BR2_PACKAGE_NGINX_ADD_MODULES))) -endif - -# http server modules -ifeq ($(BR2_PACKAGE_NGINX_HTTP),y) -ifeq ($(BR2_PACKAGE_NGINX_HTTP_CACHE),y) -NGINX_DEPENDENCIES += openssl -else -NGINX_CONF_OPTS += --without-http-cache -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_V2_MODULE),y) -NGINX_DEPENDENCIES += zlib -NGINX_CONF_OPTS += --with-http_v2_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_SSL_MODULE),y) -NGINX_DEPENDENCIES += openssl -NGINX_CONF_OPTS += --with-http_ssl_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_XSLT_MODULE),y) -NGINX_DEPENDENCIES += libxml2 libxslt -NGINX_CONF_OPTS += --with-http_xslt_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE),y) -NGINX_DEPENDENCIES += gd jpeg libpng -NGINX_CONF_OPTS += --with-http_image_filter_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_GEOIP_MODULE),y) -NGINX_DEPENDENCIES += geoip -NGINX_CONF_OPTS += --with-http_geoip_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE),y) -NGINX_DEPENDENCIES += zlib -NGINX_CONF_OPTS += --with-http_gunzip_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_GZIP_STATIC_MODULE),y) -NGINX_DEPENDENCIES += zlib -NGINX_CONF_OPTS += --with-http_gzip_static_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_SECURE_LINK_MODULE),y) -NGINX_DEPENDENCIES += openssl -NGINX_CONF_OPTS += --with-http_secure_link_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE),y) -NGINX_DEPENDENCIES += zlib -else -NGINX_CONF_OPTS += --without-http_gzip_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE),y) -NGINX_DEPENDENCIES += pcre -else -NGINX_CONF_OPTS += --without-http_rewrite_module -endif - -NGINX_CONF_OPTS += \ - $(if $(BR2_PACKAGE_NGINX_HTTP_REALIP_MODULE),--with-http_realip_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_ADDITION_MODULE),--with-http_addition_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_SUB_MODULE),--with-http_sub_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_DAV_MODULE),--with-http_dav_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_FLV_MODULE),--with-http_flv_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_MP4_MODULE),--with-http_mp4_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_AUTH_REQUEST_MODULE),--with-http_auth_request_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_RANDOM_INDEX_MODULE),--with-http_random_index_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_DEGRADATION_MODULE),--with-http_degradation_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_SLICE_MODULE),--with-http_slice_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_STUB_STATUS_MODULE),--with-http_stub_status_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE),,--without-http_charset_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_SSI_MODULE),,--without-http_ssi_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_USERID_MODULE),,--without-http_userid_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE),,--without-http_access_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE),,--without-http_auth_basic_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE),,--without-http_autoindex_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_GEO_MODULE),,--without-http_geo_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_MAP_MODULE),,--without-http_map_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE),,--without-http_split_clients_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE),,--without-http_referer_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE),,--without-http_proxy_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE),,--without-http_fastcgi_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE),,--without-http_uwsgi_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE),,--without-http_scgi_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE),,--without-http_memcached_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE),,--without-http_limit_conn_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE),,--without-http_limit_req_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE),,--without-http_empty_gif_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE),,--without-http_browser_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE),,--without-http_upstream_ip_hash_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE),,--without-http_upstream_least_conn_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_UPSTREAM_RANDOM_MODULE),,--without-http_upstream_random_module) \ - $(if $(BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE),,--without-http_upstream_keepalive_module) - -else # !BR2_PACKAGE_NGINX_HTTP -NGINX_CONF_OPTS += --without-http -endif # BR2_PACKAGE_NGINX_HTTP - -# mail modules -ifeq ($(BR2_PACKAGE_NGINX_MAIL),y) -NGINX_CONF_OPTS += --with-mail - -ifeq ($(BR2_PACKAGE_NGINX_MAIL_SSL_MODULE),y) -NGINX_DEPENDENCIES += openssl -NGINX_CONF_OPTS += --with-mail_ssl_module -endif - -NGINX_CONF_OPTS += \ - $(if $(BR2_PACKAGE_NGINX_MAIL_POP3_MODULE),,--without-mail_pop3_module) \ - $(if $(BR2_PACKAGE_NGINX_MAIL_IMAP_MODULE),,--without-mail_imap_module) \ - $(if $(BR2_PACKAGE_NGINX_MAIL_SMTP_MODULE),,--without-mail_smtp_module) - -endif # BR2_PACKAGE_NGINX_MAIL - -# stream modules -ifeq ($(BR2_PACKAGE_NGINX_STREAM),y) -NGINX_CONF_OPTS += --with-stream - -ifeq ($(BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE),y) -NGINX_CONF_OPTS += --with-stream_realip_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_MODULE),y) -NGINX_DEPENDENCIES += openssl -NGINX_CONF_OPTS += --with-stream_ssl_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE),y) -NGINX_DEPENDENCIES += geoip -NGINX_CONF_OPTS += --with-stream_geoip_module -endif - -ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE),y) -NGINX_CONF_OPTS += --with-stream_ssl_preread_module -endif - -NGINX_CONF_OPTS += \ - $(if $(BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE),,--without-stream_limit_conn_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE),,--without-stream_access_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_GEO_MODULE),,--without-stream_geo_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_MAP_MODULE),,--without-stream_map_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE),,--without-stream_split_clients_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE),,--without-stream_return_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE),,--without-stream_upstream_hash_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE),,--without-stream_upstream_least_conn_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_RANDOM_MODULE),,--without-stream_upstream_random_module) \ - $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE),,--without-stream_upstream_zone_module) - -endif # BR2_PACKAGE_NGINX_STREAM - -# external modules -ifeq ($(BR2_PACKAGE_NGINX_UPLOAD),y) -NGINX_CONF_OPTS += $(addprefix --add-module=,$(NGINX_UPLOAD_DIR)) -NGINX_DEPENDENCIES += nginx-upload -endif - -ifeq ($(BR2_PACKAGE_NGINX_DAV_EXT),y) -NGINX_CONF_OPTS += --add-module=$(NGINX_DAV_EXT_DIR) -NGINX_DEPENDENCIES += nginx-dav-ext -endif - -ifeq ($(BR2_PACKAGE_NGINX_NAXSI),y) -NGINX_DEPENDENCIES += nginx-naxsi -NGINX_CONF_OPTS += --add-module=$(NGINX_NAXSI_DIR)/naxsi_src -endif - -ifeq ($(BR2_PACKAGE_NGINX_MODSECURITY),y) -NGINX_DEPENDENCIES += nginx-modsecurity -NGINX_CONF_OPTS += --add-module=$(NGINX_MODSECURITY_DIR) -endif - -# Debug logging -NGINX_CONF_OPTS += $(if $(BR2_PACKAGE_NGINX_DEBUG),--with-debug) - -define NGINX_DISABLE_WERROR - $(SED) 's/-Werror//g' -i $(@D)/auto/cc/* -endef - -NGINX_PRE_CONFIGURE_HOOKS += NGINX_DISABLE_WERROR - -define NGINX_CONFIGURE_CMDS - cd $(@D) ; $(NGINX_CONF_ENV) \ - PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - ./configure $(NGINX_CONF_OPTS) \ - --with-cc-opt="$(TARGET_CFLAGS) $(NGINX_CFLAGS)" -endef - -define NGINX_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define NGINX_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install - $(RM) $(TARGET_DIR)/usr/sbin/nginx.old - $(INSTALL) -D -m 0664 package/nginx/nginx.logrotate \ - $(TARGET_DIR)/etc/logrotate.d/nginx -endef - -define NGINX_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/nginx/nginx.service \ - $(TARGET_DIR)/usr/lib/systemd/system/nginx.service -endef - -define NGINX_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/nginx/S50nginx \ - $(TARGET_DIR)/etc/init.d/S50nginx -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/nmap/Config.in b/buildroot-2021.05/package/nmap/Config.in deleted file mode 100644 index 51dd3423..00000000 --- a/buildroot-2021.05/package/nmap/Config.in +++ /dev/null @@ -1,60 +0,0 @@ -config BR2_PACKAGE_NMAP - bool "nmap" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBLINEAR - select BR2_PACKAGE_LIBPCAP - select BR2_PACKAGE_NMAP_NMAP \ - if !BR2_PACKAGE_NMAP_NCAT && !BR2_PACKAGE_NMAP_NPING && !BR2_PACKAGE_NMAP_NDIFF - help - Nmap ("Network Mapper") is a free and open source (license) - utility for network discovery and security auditing. - - http://nmap.org - -if BR2_PACKAGE_NMAP - -config BR2_PACKAGE_NMAP_NCAT - bool "install ncat" - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - help - Ncat is a feature-packed networking utility which reads and - writes data across networks from the command line. Ncat was - written for the Nmap Project as a much-improved - reimplementation of the venerable Netcat. - - If symlink to "nc" is installed if neither netcat or - netcat-openbsd is selected. - -comment "a symlink from ncat to 'nc' will be installed" - depends on BR2_PACKAGE_NMAP_NCAT - depends on !BR2_PACKAGE_NETCAT - depends on !BR2_PACKAGE_NETCAT_OPENBSD - -config BR2_PACKAGE_NMAP_NDIFF - bool "install ndiff" - # ndiff only works with python2.x - depends on BR2_PACKAGE_PYTHON - help - This option installs the 'ndiff' tool. - -comment "ndiff needs Python 2.x" - depends on !BR2_PACKAGE_PYTHON - -config BR2_PACKAGE_NMAP_NMAP - bool "install nmap" - select BR2_PACKAGE_PCRE - help - This option installs 'nmap' itself. - -config BR2_PACKAGE_NMAP_NPING - bool "install nping" - help - This option installs the 'nping' tool. - -endif - -comment "nmap-nmap needs a toolchain w/ C++, threads" - depends on BR2_USE_MMU - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) diff --git a/buildroot-2021.05/package/nmap/nmap.hash b/buildroot-2021.05/package/nmap/nmap.hash deleted file mode 100644 index 8f69bbf6..00000000 --- a/buildroot-2021.05/package/nmap/nmap.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://nmap.org/dist/sigs/nmap-7.91.tar.bz2.digest.txt (lowercase) -sha256 18cc4b5070511c51eb243cdd2b0b30ff9b2c4dc4544c6312f75ce3a67a593300 nmap-7.91.tar.bz2 - -# Locally calculated -sha256 8254a9bc733f3312c6dcfe0d5a129c29e96ecb8b33408c652a8c7beb2e25b471 LICENSE diff --git a/buildroot-2021.05/package/nmap/nmap.mk b/buildroot-2021.05/package/nmap/nmap.mk deleted file mode 100644 index 13414a56..00000000 --- a/buildroot-2021.05/package/nmap/nmap.mk +++ /dev/null @@ -1,89 +0,0 @@ -################################################################################ -# -# nmap -# -################################################################################ - -NMAP_VERSION = 7.91 -NMAP_SITE = https://nmap.org/dist -NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2 -NMAP_DEPENDENCIES = liblinear libpcap -NMAP_CONF_OPTS = --without-liblua --without-zenmap \ - --with-libdnet=included -NMAP_LICENSE = nmap license -NMAP_LICENSE_FILES = LICENSE -NMAP_CPE_ID_VENDOR = nmap -NMAP_SELINUX_MODULES = netutils - -# needed by libpcap -NMAP_LIBS_FOR_STATIC_LINK += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs` - -ifeq ($(BR2_STATIC_LIBS),y) -NMAP_CONF_ENV += LIBS="$(NMAP_LIBS_FOR_STATIC_LINK)" -endif - -# for 0001-libdnet-wrapper-configure.patch -define NMAP_WRAPPER_EXEC - chmod +x $(@D)/libdnet-stripped/configure.gnu -endef -NMAP_POST_PATCH_HOOKS += NMAP_WRAPPER_EXEC - -ifeq ($(BR2_PACKAGE_LIBSSH2),y) -NMAP_CONF_OPTS += --with-libssh2="$(STAGING_DIR)/usr" -NMAP_DEPENDENCIES += libssh2 -NMAP_LIBS_FOR_STATIC_LINK += `$(PKG_CONFIG_HOST_BINARY) --libs libssh2` -else -NMAP_CONF_OPTS += --without-libssh2 -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -NMAP_CONF_OPTS += --with-openssl="$(STAGING_DIR)/usr" -NMAP_DEPENDENCIES += host-pkgconf openssl -NMAP_LIBS_FOR_STATIC_LINK += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` -else -NMAP_CONF_OPTS += --without-openssl -endif - -NMAP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) - -ifeq ($(BR2_PACKAGE_NMAP_NCAT),y) -NMAP_CONF_OPTS += --with-ncat -NMAP_MAKE_OPTS += build-ncat -NMAP_INSTALL_TARGET_OPTS += install-ncat -else -NMAP_CONF_OPTS += --without-ncat -endif - -ifeq ($(BR2_PACKAGE_NMAP_NDIFF),y) -NMAP_DEPENDENCIES += python -NMAP_CONF_OPTS += --with-ndiff -NMAP_MAKE_OPTS += build-ndiff -NMAP_INSTALL_TARGET_OPTS += install-ndiff -else -NMAP_CONF_OPTS += --without-ndiff -endif - -ifeq ($(BR2_PACKAGE_NMAP_NMAP),y) -NMAP_DEPENDENCIES += pcre -NMAP_CONF_OPTS += --with-libpcre="$(STAGING_DIR)/usr" -NMAP_MAKE_OPTS += nmap -NMAP_INSTALL_TARGET_OPTS += install-nmap -endif - -ifeq ($(BR2_PACKAGE_NMAP_NPING),y) -NMAP_CONF_OPTS += --with-nping -NMAP_MAKE_OPTS += build-nping -NMAP_INSTALL_TARGET_OPTS += install-nping -else -NMAP_CONF_OPTS += --without-nping -endif - -# Add a symlink to "nc" if none of the competing netcats is selected -ifeq ($(BR2_PACKAGE_NMAP_NCAT):$(BR2_PACKAGE_NETCAT)$(BR2_PACKAGE_NETCAT_OPENBSD),y:) -define NMAP_INSTALL_NCAT_SYMLINK - ln -fs ncat $(TARGET_DIR)/usr/bin/nc -endef -NMAP_POST_INSTALL_TARGET_HOOKS += NMAP_INSTALL_NCAT_SYMLINK -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nmon/nmon.hash b/buildroot-2021.05/package/nmon/nmon.hash deleted file mode 100644 index fd3f09c6..00000000 --- a/buildroot-2021.05/package/nmon/nmon.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://sourceforge.net/projects/nmon/files/ -md5 df67f07ea4006c6204acff586beada81 lmon16m.c -sha1 68cd02be19036a287fe352823db93223e73a9411 lmon16m.c -# Locally computed -sha256 2bed4d45fdfdf1d1387ec91e139c04975d5f838e3e0d53c0fe2d803a707e5fc1 lmon16m.c diff --git a/buildroot-2021.05/package/nmon/nmon.mk b/buildroot-2021.05/package/nmon/nmon.mk deleted file mode 100644 index 8b39748c..00000000 --- a/buildroot-2021.05/package/nmon/nmon.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# nmon -# -################################################################################ - -NMON_VERSION = 16m -NMON_SITE = https://sourceforge.net/projects/nmon/files -NMON_SOURCE = lmon$(NMON_VERSION).c -NMON_LICENSE = GPL-3.0+ -NMON_LICENSE_FILES = $(NMON_SOURCE) -NMON_DEPENDENCIES = ncurses -NMON_CFLAGS = $(TARGET_CFLAGS) -D JFS -D GETUSER -D LARGEMEM -D DEBIAN - -define NMON_EXTRACT_CMDS - cp $(NMON_DL_DIR)/$(NMON_SOURCE) $(@D) -endef - -define NMON_BUILD_CMDS - $(TARGET_CC) $(NMON_CFLAGS) $(TARGET_LDFLAGS) -o $(@D)/nmon \ - $(@D)/$(NMON_SOURCE) -lncurses -lm -endef - -define NMON_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/nmon $(TARGET_DIR)/usr/bin/ -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/nodejs/Config.in b/buildroot-2021.05/package/nodejs/Config.in deleted file mode 100644 index ba3fde88..00000000 --- a/buildroot-2021.05/package/nodejs/Config.in +++ /dev/null @@ -1,81 +0,0 @@ -config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS - bool - # On ARM, at least ARMv6+ with VFPv2+ is needed - default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2 - default y if BR2_mipsel && !BR2_MIPS_SOFT_FLOAT - default y if BR2_aarch64 || BR2_i386 || BR2_x86_64 - # libuv - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - -comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 4.9, wchar" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_HOST_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR - -config BR2_PACKAGE_NODEJS - bool "nodejs" - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS - depends on BR2_HOST_GCC_AT_LEAST_4_9 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - depends on BR2_USE_WCHAR - # uses fork() - depends on BR2_USE_MMU - # uses dlopen(). On ARMv5, we could technically support static - # linking, but that's too much of a corner case to support it. - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_LIBUV - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_NGHTTP2 - help - Event-driven I/O server-side JavaScript environment based on - V8. - - http://nodejs.org/ - -if BR2_PACKAGE_NODEJS - -config BR2_PACKAGE_NODEJS_NPM - bool "NPM for the target" - select BR2_PACKAGE_OPENSSL - help - NPM is the package manager for the Node JavaScript platform. - Note that enabling NPM on the target also selects OpenSSL - for the target. - - http://www.npmjs.org - - Note that NPM is always built for the buildroot host. - -config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL - string "Additional modules" - help - List of space-separated nodejs modules to install via npm. - See https://npmjs.org/ to find modules and 'npm help install' - for available installation methods. For repeatable builds, - download and save tgz files or clone git repos for the - components you care about. - - Example: - serialport uglify-js@1.3.4 /my/module/mymodule.tgz \ - git://github.com/someuser/somemodule.git#v1.2 - - This would install the serialport module (at the newest - version), the uglify-js module at 1.3.4, a module from a - filesystem path, and a module from a git repository. - -config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS - string "Additional module dependencies" - help - List of space-separated buildroot recipes which must be - built before your npms can be installed. For example, if in - 'Additional modules' you specified 'node-curl' (see: - https://github.com/jiangmiao/node-curl), you could then - specify 'libcurl' here, to ensure that buildroot builds the - libcurl package, and does so before building your node - modules. - -endif diff --git a/buildroot-2021.05/package/nodejs/nodejs.hash b/buildroot-2021.05/package/nodejs/nodejs.hash deleted file mode 100644 index 1e035877..00000000 --- a/buildroot-2021.05/package/nodejs/nodejs.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://nodejs.org/dist/v12.22.1/SHASUMS256.txt -sha256 dd650df7773a6ed3e390320ba51ef33cba6499f0e9397709ea3d1debdcbcb989 node-v12.22.1.tar.xz - -# Hash for license file -sha256 221417a7ca275112a5ac54639b36ee3c5184e74631ea1e1b01b701293b655190 LICENSE diff --git a/buildroot-2021.05/package/nodejs/nodejs.mk b/buildroot-2021.05/package/nodejs/nodejs.mk deleted file mode 100644 index 108fce09..00000000 --- a/buildroot-2021.05/package/nodejs/nodejs.mk +++ /dev/null @@ -1,250 +0,0 @@ -################################################################################ -# -# nodejs -# -################################################################################ - -NODEJS_VERSION = 12.22.1 -NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz -NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) -NODEJS_DEPENDENCIES = host-python host-nodejs c-ares \ - libuv zlib nghttp2 \ - $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) -HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python host-zlib -NODEJS_INSTALL_STAGING = YES -NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) -NODEJS_LICENSE_FILES = LICENSE -NODEJS_CPE_ID_VENDOR = nodejs -NODEJS_CPE_ID_PRODUCT = node.js - -NODEJS_CONF_OPTS = \ - --without-snapshot \ - --shared-zlib \ - --shared-cares \ - --shared-libuv \ - --shared-nghttp2 \ - --without-dtrace \ - --without-etw \ - --cross-compiling \ - --dest-os=linux - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -NODEJS_DEPENDENCIES += openssl -NODEJS_CONF_OPTS += --shared-openssl -else -NODEJS_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_ICU),y) -NODEJS_DEPENDENCIES += icu -NODEJS_CONF_OPTS += --with-intl=system-icu -else -NODEJS_CONF_OPTS += --with-intl=none -endif - -ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) -NODEJS_CONF_OPTS += --without-npm -endif - -# nodejs build system is based on python, but only support python-2.6 or -# python-2.7. So, we have to enforce PYTHON interpreter to be python2. -define HOST_NODEJS_CONFIGURE_CMDS - # The build system directly calls python. Work around this by forcing python2 - # into PATH. See https://github.com/nodejs/node/issues/2735 - mkdir -p $(@D)/bin - ln -sf $(HOST_DIR)/bin/python2 $(@D)/bin/python - - (cd $(@D); \ - $(HOST_CONFIGURE_OPTS) \ - PATH=$(@D)/bin:$(BR_PATH) \ - PYTHON=$(HOST_DIR)/bin/python2 \ - $(HOST_DIR)/bin/python2 ./configure \ - --prefix=$(HOST_DIR) \ - --without-snapshot \ - --without-dtrace \ - --without-etw \ - --shared-openssl \ - --shared-openssl-includes=$(HOST_DIR)/include/openssl \ - --shared-openssl-libpath=$(HOST_DIR)/lib \ - --shared-zlib \ - --no-cross-compiling \ - --with-intl=system-icu \ - ) -endef - -NODEJS_HOST_TOOLS_V8 = \ - torque \ - gen-regexp-special-case \ - bytecode_builtins_list_generator -NODEJS_HOST_TOOLS_NODE = mkcodecache -NODEJS_HOST_TOOLS = $(NODEJS_HOST_TOOLS_V8) $(NODEJS_HOST_TOOLS_NODE) - -HOST_NODEJS_CXXFLAGS = $(HOST_CXXFLAGS) -DU_DISABLE_RENAMING=1 - -define HOST_NODEJS_BUILD_CMDS - $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \ - $(MAKE) -C $(@D) \ - $(HOST_CONFIGURE_OPTS) \ - CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ - LDFLAGS.host="$(HOST_LDFLAGS)" \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) -endef - -define HOST_NODEJS_INSTALL_CMDS - $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \ - $(MAKE) -C $(@D) install \ - $(HOST_CONFIGURE_OPTS) \ - CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ - LDFLAGS.host="$(HOST_LDFLAGS)" \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) - - $(foreach f,$(NODEJS_HOST_TOOLS), \ - $(INSTALL) -m755 -D $(@D)/out/Release/$(f) $(HOST_DIR)/bin/$(f) - ) -endef - -ifeq ($(BR2_i386),y) -NODEJS_CPU = ia32 -else ifeq ($(BR2_x86_64),y) -NODEJS_CPU = x64 -else ifeq ($(BR2_mips),y) -NODEJS_CPU = mips -else ifeq ($(BR2_mipsel),y) -NODEJS_CPU = mipsel -else ifeq ($(BR2_arm),y) -NODEJS_CPU = arm -# V8 needs to know what floating point ABI the target is using. -NODEJS_ARM_FP = $(GCC_TARGET_FLOAT_ABI) -# it also wants to know which FPU to use, but only has support for -# vfp, vfpv3, vfpv3-d16 and neon. -ifeq ($(BR2_ARM_FPU_VFPV2),y) -NODEJS_ARM_FPU = vfp -# vfpv4 is a superset of vfpv3 -else ifeq ($(BR2_ARM_FPU_VFPV3)$(BR2_ARM_FPU_VFPV4),y) -NODEJS_ARM_FPU = vfpv3 -# vfpv4-d16 is a superset of vfpv3-d16 -else ifeq ($(BR2_ARM_FPU_VFPV3D16)$(BR2_ARM_FPU_VFPV4D16),y) -NODEJS_ARM_FPU = vfpv3-d16 -else ifeq ($(BR2_ARM_FPU_NEON),y) -NODEJS_ARM_FPU = neon -endif -else ifeq ($(BR2_aarch64),y) -NODEJS_CPU = arm64 -endif - -# MIPS architecture specific options -ifeq ($(BR2_mips)$(BR2_mipsel),y) -ifeq ($(BR2_MIPS_CPU_MIPS32R6),y) -NODEJS_MIPS_ARCH_VARIANT = r6 -NODEJS_MIPS_FPU_MODE = fp64 -else ifeq ($(BR2_MIPS_CPU_MIPS32R2),y) -NODEJS_MIPS_ARCH_VARIANT = r2 -else ifeq ($(BR2_MIPS_CPU_MIPS32),y) -NODEJS_MIPS_ARCH_VARIANT = r1 -endif -endif - -NODEJS_LDFLAGS = $(TARGET_LDFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -NODEJS_LDFLAGS += -latomic -endif - -define NODEJS_CONFIGURE_CMDS - mkdir -p $(@D)/bin - ln -sf $(HOST_DIR)/bin/python2 $(@D)/bin/python - - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) \ - PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" \ - PYTHON=$(HOST_DIR)/bin/python2 \ - $(HOST_DIR)/bin/python2 ./configure \ - --prefix=/usr \ - --dest-cpu=$(NODEJS_CPU) \ - $(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \ - $(if $(NODEJS_ARM_FPU),--with-arm-fpu=$(NODEJS_ARM_FPU)) \ - $(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \ - $(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \ - $(NODEJS_CONF_OPTS) \ - ) - - $(foreach f,$(NODEJS_HOST_TOOLS_V8), \ - $(SED) "s#<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)$(f)<(EXECUTABLE_SUFFIX)#$(HOST_DIR)/bin/$(f)#" \ - $(@D)/tools/v8_gypfiles/v8.gyp - ) - $(foreach f,$(NODEJS_HOST_TOOLS_NODE), \ - $(SED) "s#<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)$(f)<(EXECUTABLE_SUFFIX)#$(HOST_DIR)/bin/$(f)#" \ - -i $(@D)/node.gyp - ) -endef - -define NODEJS_BUILD_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \ - $(MAKE) -C $(@D) \ - $(TARGET_CONFIGURE_OPTS) \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" -endef - -# -# Build the list of modules to install. -# -NODEJS_MODULES_LIST= $(call qstrip,\ - $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) - -# Define NPM for other packages to use -NPM = $(TARGET_CONFIGURE_OPTS) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" \ - npm_config_arch=$(NODEJS_CPU) \ - npm_config_target_arch=$(NODEJS_CPU) \ - npm_config_build_from_source=true \ - npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \ - npm_config_prefix=$(TARGET_DIR)/usr \ - npm_config_cache=$(BUILD_DIR)/.npm-cache \ - $(HOST_DIR)/bin/npm - -# -# We can only call NPM if there's something to install. -# -ifneq ($(NODEJS_MODULES_LIST),) -define NODEJS_INSTALL_MODULES - # If you're having trouble with module installation, adding -d to the - # npm install call below and setting npm_config_rollback=false can both - # help in diagnosing the problem. - $(NPM) install -g $(NODEJS_MODULES_LIST) -endef -endif - -define NODEJS_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \ - $(MAKE) -C $(@D) install \ - DESTDIR=$(STAGING_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" -endef - -define NODEJS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python2 \ - $(MAKE) -C $(@D) install \ - DESTDIR=$(TARGET_DIR) \ - $(TARGET_CONFIGURE_OPTS) \ - NO_LOAD=cctest.target.mk \ - PATH=$(@D)/bin:$(BR_PATH) \ - LDFLAGS="$(NODEJS_LDFLAGS)" \ - LD="$(TARGET_CXX)" - $(NODEJS_INSTALL_MODULES) -endef - -# node.js configure is a Python script and does not use autotools -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/nss-myhostname/nss-myhostname.mk b/buildroot-2021.05/package/nss-myhostname/nss-myhostname.mk deleted file mode 100644 index 08683a54..00000000 --- a/buildroot-2021.05/package/nss-myhostname/nss-myhostname.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -## nss-myhostname -# -################################################################################ - -NSS_MYHOSTNAME_VERSION = 0.3 -NSS_MYHOSTNAME_SITE = http://0pointer.de/lennart/projects/nss-myhostname -NSS_MYHOSTNAME_LICENSE = LGPL-2.1+ -NSS_MYHOSTNAME_LICENSE_FILES = LICENSE - -# add myhostname after files if missing -define MYHOSTNAME_SET_NSSWITCH - $(SED) '/^hosts:/ {/myhostname/! s/files/files myhostname/}' \ - $(TARGET_DIR)/etc/nsswitch.conf -endef - -NSS_MYHOSTNAME_TARGET_FINALIZE_HOOKS += MYHOSTNAME_SET_NSSWITCH - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nss-pam-ldapd/nss-pam-ldapd.hash b/buildroot-2021.05/package/nss-pam-ldapd/nss-pam-ldapd.hash deleted file mode 100644 index 47864c4f..00000000 --- a/buildroot-2021.05/package/nss-pam-ldapd/nss-pam-ldapd.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.9.11.tar.gz.md5 -md5 91df9d46a548aa7aa95d0e7c672215d0 nss-pam-ldapd-0.9.8.tar.gz -# Locally computed: -sha256 d0d71be06d1a90940b7566ce00cef1a465aae7171d5d062785506a83411ecab6 nss-pam-ldapd-0.9.11.tar.gz -sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2021.05/package/nss-pam-ldapd/nss-pam-ldapd.mk b/buildroot-2021.05/package/nss-pam-ldapd/nss-pam-ldapd.mk deleted file mode 100644 index 223a9eea..00000000 --- a/buildroot-2021.05/package/nss-pam-ldapd/nss-pam-ldapd.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# nss-pam-ldapd -# -################################################################################ - -NSS_PAM_LDAPD_VERSION = 0.9.11 -NSS_PAM_LDAPD_SITE = http://arthurdejong.org/nss-pam-ldapd -NSS_PAM_LDAPD_LICENSE = LGPL-2.1+ -NSS_PAM_LDAPD_LICENSE_FILES = COPYING -NSS_PAM_LDAPD_INSTALL_STAGING = YES - -NSS_PAM_LDAPD_CONF_OPTS = --disable-sasl -NSS_PAM_LDAPD_DEPENDENCIES = openldap - -ifeq ($(BR2_PACKAGE_NSS_PAM_LDAPD_UTILITIES),y) -NSS_PAM_LDAPD_CONF_OPTS += --enable-utils -else -NSS_PAM_LDAPD_CONF_OPTS += --disable-utils -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -NSS_PAM_LDAPD_CONF_OPTS += --enable-pam -NSS_PAM_LDAPD_DEPENDENCIES += linux-pam -else -NSS_PAM_LDAPD_CONF_OPTS += --disable-pam -endif - -define NSS_PAM_LDAPD_INSTALL_INIT_SYSTEMD - $(INSTALL) -m 644 -D package/nss-pam-ldapd/nslcd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/nslcd.service -endef - -define NSS_PAM_LDAPD_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/nss-pam-ldapd/S45nslcd \ - $(TARGET_DIR)/etc/init.d/S45nslcd -endef - -define NSS_PAM_LDAPD_USERS - nslcd -1 nslcd -1 * - - - nslcd user -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ntfs-3g/0001-Fixed-reporting-an-error-when-failed-to-build-the-mo.patch b/buildroot-2021.05/package/ntfs-3g/0001-Fixed-reporting-an-error-when-failed-to-build-the-mo.patch deleted file mode 100644 index 9ba8aae5..00000000 --- a/buildroot-2021.05/package/ntfs-3g/0001-Fixed-reporting-an-error-when-failed-to-build-the-mo.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 85c1634a26faa572d3c558d4cf8aaaca5202d4e9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= -Date: Wed, 19 Dec 2018 15:57:50 +0100 -Subject: [PATCH] Fixed reporting an error when failed to build the mountpoint - -The size check was inefficient because getcwd() uses an unsigned int -argument. - -Fixes CVE-2019-9755: An integer underflow issue exists in ntfs-3g 2017.3.23. -A local attacker could potentially exploit this by running /bin/ntfs-3g with -specially crafted arguments from a specially crafted directory to cause a -heap buffer overflow, resulting in a crash or the ability to execute -arbitrary code. In installations where /bin/ntfs-3g is a setuid-root -binary, this could lead to a local escalation of privileges. - -Signed-off-by: Peter Korsgaard ---- - src/lowntfs-3g.c | 6 +++++- - src/ntfs-3g.c | 6 +++++- - 2 files changed, 10 insertions(+), 2 deletions(-) - -diff --git a/src/lowntfs-3g.c b/src/lowntfs-3g.c -index 993867fa..0660439b 100644 ---- a/src/lowntfs-3g.c -+++ b/src/lowntfs-3g.c -@@ -4411,7 +4411,8 @@ int main(int argc, char *argv[]) - else { - ctx->abs_mnt_point = (char*)ntfs_malloc(PATH_MAX); - if (ctx->abs_mnt_point) { -- if (getcwd(ctx->abs_mnt_point, -+ if ((strlen(opts.mnt_point) < PATH_MAX) -+ && getcwd(ctx->abs_mnt_point, - PATH_MAX - strlen(opts.mnt_point) - 1)) { - strcat(ctx->abs_mnt_point, "/"); - strcat(ctx->abs_mnt_point, opts.mnt_point); -@@ -4419,6 +4420,9 @@ int main(int argc, char *argv[]) - /* Solaris also wants the absolute mount point */ - opts.mnt_point = ctx->abs_mnt_point; - #endif /* defined(__sun) && defined (__SVR4) */ -+ } else { -+ free(ctx->abs_mnt_point); -+ ctx->abs_mnt_point = (char*)NULL; - } - } - } -diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c -index 6ce89fef..4e0912ae 100644 ---- a/src/ntfs-3g.c -+++ b/src/ntfs-3g.c -@@ -4148,7 +4148,8 @@ int main(int argc, char *argv[]) - else { - ctx->abs_mnt_point = (char*)ntfs_malloc(PATH_MAX); - if (ctx->abs_mnt_point) { -- if (getcwd(ctx->abs_mnt_point, -+ if ((strlen(opts.mnt_point) < PATH_MAX) -+ && getcwd(ctx->abs_mnt_point, - PATH_MAX - strlen(opts.mnt_point) - 1)) { - strcat(ctx->abs_mnt_point, "/"); - strcat(ctx->abs_mnt_point, opts.mnt_point); -@@ -4156,6 +4157,9 @@ int main(int argc, char *argv[]) - /* Solaris also wants the absolute mount point */ - opts.mnt_point = ctx->abs_mnt_point; - #endif /* defined(__sun) && defined (__SVR4) */ -+ } else { -+ free(ctx->abs_mnt_point); -+ ctx->abs_mnt_point = (char*)NULL; - } - } - } --- -2.20.1 - diff --git a/buildroot-2021.05/package/ntfs-3g/ntfs-3g.hash b/buildroot-2021.05/package/ntfs-3g/ntfs-3g.hash deleted file mode 100644 index 63c999f2..00000000 --- a/buildroot-2021.05/package/ntfs-3g/ntfs-3g.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 3e5a021d7b761261836dcb305370af299793eedbded731df3d6943802e1262d5 ntfs-3g_ntfsprogs-2017.3.23.tgz -sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING -sha256 d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f COPYING.LIB diff --git a/buildroot-2021.05/package/ntfs-3g/ntfs-3g.mk b/buildroot-2021.05/package/ntfs-3g/ntfs-3g.mk deleted file mode 100644 index 1a388af7..00000000 --- a/buildroot-2021.05/package/ntfs-3g/ntfs-3g.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# ntfs-3g -# -################################################################################ - -NTFS_3G_VERSION = 2017.3.23 -NTFS_3G_SOURCE = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION).tgz -NTFS_3G_SITE = http://tuxera.com/opensource -NTFS_3G_CONF_OPTS = --disable-ldconfig -NTFS_3G_INSTALL_STAGING = YES -NTFS_3G_DEPENDENCIES = host-pkgconf -NTFS_3G_LICENSE = GPL-2.0+, LGPL-2.0+ -NTFS_3G_LICENSE_FILES = COPYING COPYING.LIB -NTFS_3G_CPE_ID_VENDOR = tuxera - -# 0001-Fixed-reporting-an-error-when-failed-to-build-the-mo.patch -NTFS_3G_IGNORE_CVES += CVE-2019-9755 - -ifeq ($(BR2_PACKAGE_LIBFUSE),y) -NTFS_3G_CONF_OPTS += --with-fuse=external -NTFS_3G_DEPENDENCIES += libfuse -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) -NTFS_3G_DEPENDENCIES += util-linux -endif - -ifeq ($(BR2_PACKAGE_NTFS_3G_ENCRYPTED),y) -NTFS_3G_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config -NTFS_3G_CONF_OPTS += --enable-crypto -NTFS_3G_DEPENDENCIES += gnutls libgcrypt -endif - -ifneq ($(BR2_PACKAGE_NTFS_3G_NTFSPROGS),y) -NTFS_3G_CONF_OPTS += --disable-ntfsprogs -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ntp/S49ntp b/buildroot-2021.05/package/ntp/S49ntp deleted file mode 100644 index 66c5f70a..00000000 --- a/buildroot-2021.05/package/ntp/S49ntp +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh -# -# Starts Network Time Protocol daemon -# - -DAEMON="ntpd" -PIDFILE="/var/run/$DAEMON.pid" - -NTPD_ARGS="-g" - -# shellcheck source=/dev/null -[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" - -start() { - printf 'Starting %s: ' "$DAEMON" - # shellcheck disable=SC2086 # we need the word splitting - start-stop-daemon -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ - -- $NTPD_ARGS -p "$PIDFILE" - status=$? - if [ "$status" -eq 0 ]; then - echo "OK" - else - echo "FAIL" - fi - return "$status" -} - -stop() { - printf 'Stopping %s: ' "$DAEMON" - start-stop-daemon -K -q -p "$PIDFILE" - status=$? - if [ "$status" -eq 0 ]; then - rm -f "$PIDFILE" - echo "OK" - else - echo "FAIL" - fi - return "$status" -} - -restart() { - stop - sleep 1 - start -} - -case "$1" in - start|stop|restart) - "$1";; - reload) - # Restart, since there is no true "reload" feature. - restart;; - *) - echo "Usage: $0 {start|stop|restart|reload}" - exit 1 -esac diff --git a/buildroot-2021.05/package/ntp/ntp.mk b/buildroot-2021.05/package/ntp/ntp.mk deleted file mode 100644 index 0dc75a7a..00000000 --- a/buildroot-2021.05/package/ntp/ntp.mk +++ /dev/null @@ -1,124 +0,0 @@ -################################################################################ -# -# ntp -# -################################################################################ - -NTP_VERSION_MAJOR = 4.2 -NTP_VERSION_MINOR = 8 -NTP_VERSION_POINT = 15 -NTP_VERSION = $(NTP_VERSION_MAJOR).$(NTP_VERSION_MINOR)p$(NTP_VERSION_POINT) -NTP_SITE = https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(NTP_VERSION_MAJOR) -NTP_DEPENDENCIES = host-pkgconf libevent -NTP_LICENSE = NTP -NTP_LICENSE_FILES = COPYRIGHT -NTP_CPE_ID_VENDOR = ntp -NTP_CPE_ID_VERSION = $(NTP_VERSION_MAJOR).$(NTP_VERSION_MINOR) -NTP_CPE_ID_UPDATE = p$(NTP_VERSION_POINT) -NTP_CONF_ENV = ac_cv_lib_md5_MD5Init=no POSIX_SHELL=/bin/sh -NTP_CONF_OPTS = \ - --with-shared \ - --program-transform-name=s,,, \ - --disable-tickadj \ - --disable-debugging \ - --with-yielding-select=yes \ - --disable-local-libevent - -# 0002-ntp-syscalls-fallback.patch -NTP_AUTORECONF = YES - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -NTP_CONF_OPTS += --with-crypto --enable-openssl-random -NTP_DEPENDENCIES += openssl -else -NTP_CONF_OPTS += --without-crypto --disable-openssl-random -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y) -NTP_CONF_OPTS += --with-hardenfile=linux -else -NTP_CONF_OPTS += --with-hardenfile=default -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -NTP_CONF_OPTS += --enable-linuxcaps -NTP_DEPENDENCIES += libcap -else -NTP_CONF_OPTS += --disable-linuxcaps -endif - -ifeq ($(BR2_PACKAGE_LIBEDIT),y) -NTP_CONF_OPTS += --with-lineeditlibs=edit -NTP_DEPENDENCIES += libedit -else -NTP_CONF_OPTS += --without-lineeditlibs -endif - -ifeq ($(BR2_PACKAGE_NTP_NTPSNMPD),y) -NTP_CONF_OPTS += \ - --with-net-snmp-config=$(STAGING_DIR)/usr/bin/net-snmp-config -NTP_DEPENDENCIES += netsnmp -else -NTP_CONF_OPTS += --without-ntpsnmpd -endif - -ifeq ($(BR2_PACKAGE_NTP_NTPD_ATOM_PPS),y) -NTP_CONF_OPTS += --enable-ATOM -NTP_DEPENDENCIES += pps-tools -else -NTP_CONF_OPTS += --disable-ATOM -endif - -ifeq ($(BR2_PACKAGE_NTP_NTP_SHM_CLK),y) -NTP_CONF_OPTS += --enable-SHM -else -NTP_CONF_OPTS += --disable-SHM -endif - -ifeq ($(BR2_PACKAGE_NTP_SNTP),y) -NTP_CONF_OPTS += --with-sntp -else -NTP_CONF_OPTS += --without-sntp -endif - -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_KEYGEN) += util/ntp-keygen -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_WAIT) += scripts/ntp-wait/ntp-wait -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDATE) += ntpdate/ntpdate -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDC) += ntpdc/ntpdc -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPQ) += ntpq/ntpq -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPSNMPD) += ntpsnmpd/ntpsnmpd -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTIME) += util/ntptime -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTRACE) += scripts/ntptrace/ntptrace -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_SNTP) += sntp/sntp -NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_TICKADJ) += util/tickadj - -define NTP_INSTALL_TARGET_CMDS - $(if $(BR2_PACKAGE_NTP_NTPD), install -m 755 $(@D)/ntpd/ntpd $(TARGET_DIR)/usr/sbin/ntpd) - test -z "$(NTP_INSTALL_FILES_y)" || install -m 755 $(addprefix $(@D)/,$(NTP_INSTALL_FILES_y)) $(TARGET_DIR)/usr/bin/ - $(INSTALL) -m 644 package/ntp/ntpd.etc.conf $(TARGET_DIR)/etc/ntp.conf -endef - -# This script will step the time if there is a large difference -# before ntpd takes over the necessary slew adjustments -ifeq ($(BR2_PACKAGE_NTP_SNTP),y) -define NTP_INSTALL_INIT_SYSV_SNTP - $(INSTALL) -D -m 755 package/ntp/S48sntp $(TARGET_DIR)/etc/init.d/S48sntp -endef -endif - -ifeq ($(BR2_PACKAGE_NTP_NTPD),y) -define NTP_INSTALL_INIT_SYSV_NTPD - $(INSTALL) -D -m 755 package/ntp/S49ntp $(TARGET_DIR)/etc/init.d/S49ntp -endef - -define NTP_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/ntp/ntpd.service $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service -endef -endif - -define NTP_INSTALL_INIT_SYSV - $(NTP_INSTALL_INIT_SYSV_NTPD) - $(NTP_INSTALL_INIT_SYSV_SNTP) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ntp/ntpd.service b/buildroot-2021.05/package/ntp/ntpd.service deleted file mode 100644 index 7964c538..00000000 --- a/buildroot-2021.05/package/ntp/ntpd.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Network Time Service -After=network.target - -[Service] -Type=forking -PIDFile=/run/ntpd.pid -ExecStart=/usr/sbin/ntpd -g -p /run/ntpd.pid - -[Install] -WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/numactl/numactl.mk b/buildroot-2021.05/package/numactl/numactl.mk deleted file mode 100644 index 3364f6c5..00000000 --- a/buildroot-2021.05/package/numactl/numactl.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# numactl -# -################################################################################ - -NUMACTL_VERSION = 2.0.14 -NUMACTL_SITE = $(call github,numactl,numactl,v$(NUMACTL_VERSION)) -NUMACTL_LICENSE = LGPL-2.1 (libnuma), GPL-2.0 (programs) -NUMACTL_LICENSE_FILES = README.md -NUMACTL_INSTALL_STAGING = YES -NUMACTL_AUTORECONF = YES -NUMACTL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC" - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -NUMACTL_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -latomic" -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nut/nut.mk b/buildroot-2021.05/package/nut/nut.mk deleted file mode 100644 index 1cb494e5..00000000 --- a/buildroot-2021.05/package/nut/nut.mk +++ /dev/null @@ -1,104 +0,0 @@ -################################################################################ -# -# nut -# -################################################################################ - -NUT_VERSION = 03c3bbe8df9a2caf3c09c120ae7045d35af99b76 -NUT_SITE = $(call github,networkupstools,nut,$(NUT_VERSION)) -NUT_LICENSE = GPL-2.0+, GPL-3.0+ (python scripts), GPL/Artistic (perl client) -NUT_LICENSE_FILES = COPYING LICENSE-GPL2 LICENSE-GPL3 -NUT_INSTALL_STAGING = YES -NUT_DEPENDENCIES = host-pkgconf host-perl - -# From git: -NUT_AUTORECONF = YES - -# Generate files otherwise generated by autogen.sh -# buildroot does not support augeas, creating an empty file prevents -# us from adding a dependency to host-python -define NUT_PREGEN - touch $(@D)/scripts/augeas/nutupsconf.aug.in - cd $(@D)/tools && PATH=$(BR_PATH) ./nut-usbinfo.pl -endef -NUT_PRE_CONFIGURE_HOOKS += NUT_PREGEN - -# Race condition in tools generation -NUT_MAKE = $(MAKE1) - -# Put the PID files in a read-write place (/var/run is a tmpfs) -# since the default location (/var/state/ups) maybe readonly. -NUT_CONF_OPTS = \ - --with-altpidpath=/var/run/upsd \ - --with-dev - -NUT_CONF_ENV = ax_cv__printf_string_null=yes - -# For uClibc-based toolchains, nut forgets to link with -lm -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -NUT_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lm" -endif - -ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) -NUT_CONF_OPTS += --with-drivers=all -else -NUT_CONF_OPTS += --with-drivers=$(BR2_PACKAGE_NUT_DRIVERS) -endif - -ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_DBUS),yy) -NUT_DEPENDENCIES += avahi dbus -NUT_CONF_OPTS += --with-avahi -else -NUT_CONF_OPTS += --without-avahi -endif - -# gd with support for png is required for the CGI -ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy) -NUT_DEPENDENCIES += gd libpng -NUT_CONF_OPTS += --with-cgi -else -NUT_CONF_OPTS += --without-cgi -endif - -# nut-scanner needs libltdl, which is a wrapper arounf dlopen/dlsym, -# so is not available for static-only builds. -# There is no flag to directly enable/disable nut-scanner, it's done -# via the --enable/disable-libltdl flag. -ifeq ($(BR2_STATIC_LIBS):$(BR2_PACKAGE_LIBTOOL),:y) -NUT_DEPENDENCIES += libtool -NUT_CONF_OPTS += --with-libltdl -else -NUT_CONF_OPTS += --without-libltdl -endif - -ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) -NUT_DEPENDENCIES += libusb-compat -NUT_CONF_OPTS += --with-usb -else -NUT_CONF_OPTS += --without-usb -endif - -ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),y) -NUT_DEPENDENCIES += neon -NUT_CONF_OPTS += --with-neon -else -NUT_CONF_OPTS += --without-neon -endif - -ifeq ($(BR2_PACKAGE_NETSNMP),y) -NUT_DEPENDENCIES += netsnmp -NUT_CONF_OPTS += \ - --with-snmp \ - --with-net-snmp-config=$(STAGING_DIR)/usr/bin/net-snmp-config -else -NUT_CONF_OPTS += --without-snmp -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -NUT_DEPENDENCIES += openssl -NUT_CONF_OPTS += --with-ssl -else -NUT_CONF_OPTS += --without-ssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nvidia-driver/Config.in b/buildroot-2021.05/package/nvidia-driver/Config.in deleted file mode 100644 index 9631b3e7..00000000 --- a/buildroot-2021.05/package/nvidia-driver/Config.in +++ /dev/null @@ -1,93 +0,0 @@ -comment "nvidia-driver needs a glibc toolchain" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_TOOLCHAIN_USES_GLIBC - -config BR2_PACKAGE_NVIDIA_DRIVER - bool "nvidia-driver" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_TOOLCHAIN_USES_GLIBC - help - The binary-only driver blob for NVidia cards. - This is the userland part only. - - http://www.nvidia.com/ - -if BR2_PACKAGE_NVIDIA_DRIVER - -comment "nvidia-driver X.org drivers needs a modular Xorg server" - depends on !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR - -config BR2_PACKAGE_NVIDIA_DRIVER_XORG - bool "X.org drivers" - default y - depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR - select BR2_PACKAGE_MESA3D_HEADERS - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_HAS_LIBEGL_WAYLAND - select BR2_PACKAGE_HAS_LIBGLES - -if BR2_PACKAGE_NVIDIA_DRIVER_XORG - -config BR2_PACKAGE_PROVIDES_LIBGL - default "nvidia-driver" - -config BR2_PACKAGE_PROVIDES_LIBEGL - default "nvidia-driver" - -config BR2_PACKAGE_PROVIDES_LIBGLES - default "nvidia-driver" - -config BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS - bool "Install private libraries" - help - Two libraries require special agreement with NVidia to - develop code linking to those libraries: libnvidia-ifr.so - and libnvidia-fbc.so (to grab and encode an OpenGL buffer or - an X framebuffer.) - - Say 'y' here if you plan on running a program that uses - those private libraries. - -endif # BR2_PACKAGE_NVIDIA_DRIVER_XORG - -config BR2_PACKAGE_NVIDIA_DRIVER_CUDA - bool "CUDA support" - -if BR2_PACKAGE_NVIDIA_DRIVER_CUDA - -config BR2_PACKAGE_NVIDIA_DRIVER_OPENCL - bool "OpenCL support" - select BR2_PACKAGE_MESA3D_HEADERS - select BR2_PACKAGE_HAS_LIBOPENCL - -config BR2_PACKAGE_PROVIDES_LIBOPENCL - default "nvidia-driver" if BR2_PACKAGE_NVIDIA_DRIVER_OPENCL - -config BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS - bool "CUDA MPS server and control" - help - Say 'y' here if you need to run more than one program - doing CUDA at the same time. The MPS server will be - launched automatically when needed. - -endif # BR2_PACKAGE_NVIDIA_DRIVER_CUDA - -comment "nvidia kernel module needs a kernel to be built" - depends on !BR2_LINUX_KERNEL - -config BR2_PACKAGE_NVIDIA_DRIVER_MODULE - bool "nvidia kernel module" - depends on BR2_LINUX_KERNEL - select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra - help - Build the nvidia.ko kernel module. - - If CUDA support (above) is set, and the target is x86_64, then - this will also build the nvidia-uvm.ko kernel module, which - provides Unified Memory access to the GPU and CPU memories for - CUDA programs. - -endif # BR2_PACKAGE_NVIDIA_DRIVER diff --git a/buildroot-2021.05/package/nvidia-driver/nvidia-driver.hash b/buildroot-2021.05/package/nvidia-driver/nvidia-driver.hash deleted file mode 100644 index 79ac0526..00000000 --- a/buildroot-2021.05/package/nvidia-driver/nvidia-driver.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 6f4af70ee3d03ed31c497a5d555164c56057b53ecedfc0d2c8de4b0b90728805 NVIDIA-Linux-x86-390.67.run -sha256 6df2ca1a7420b6751bcaf257d321b14f4e5f7ca54d77a43514912a3792ece65a NVIDIA-Linux-x86_64-390.67.run -sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526 LICENSE diff --git a/buildroot-2021.05/package/nvidia-driver/nvidia-driver.mk b/buildroot-2021.05/package/nvidia-driver/nvidia-driver.mk deleted file mode 100644 index 44e34cb7..00000000 --- a/buildroot-2021.05/package/nvidia-driver/nvidia-driver.mk +++ /dev/null @@ -1,198 +0,0 @@ -################################################################################ -# -# nvidia-driver -# -################################################################################ - -NVIDIA_DRIVER_VERSION = 390.67 -NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64) -NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION) -NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION).run -NVIDIA_DRIVER_LICENSE = NVIDIA Software License -NVIDIA_DRIVER_LICENSE_FILES = LICENSE -NVIDIA_DRIVER_REDISTRIBUTE = NO -NVIDIA_DRIVER_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_XORG),y) - -# Since nvidia-driver are binary blobs, the below dependencies are not -# strictly speaking build dependencies of nvidia-driver. However, they -# are build dependencies of packages that depend on nvidia-driver, so -# they should be built prior to those packages, and the only simple -# way to do so is to make nvidia-driver depend on them. -NVIDIA_DRIVER_DEPENDENCIES += mesa3d-headers xlib_libX11 xlib_libXext -NVIDIA_DRIVER_PROVIDES += libgl libegl libgles - -# libGL.so.$(NVIDIA_DRIVER_VERSION) is the legacy libGL.so library; it -# has been replaced with libGL.so.1.0.0. Installing both is technically -# possible, but great care must be taken to ensure they do not conflict, -# so that EGL still works. The legacy library exposes an NVidia-specific -# API, so it should not be needed, except for legacy, binary-only -# applications (in other words: we don't care). -# -# libGL.so.1.0.0 is the new vendor-neutral library, aimed at replacing -# the old libGL.so.$(NVIDIA_DRIVER_VERSION) library. The latter contains -# NVidia extensions (which is deemed bad now), while the former follows -# the newly-introduced vendor-neutral "dispatching" API/ABI: -# https://github.com/aritger/linux-opengl-abi-proposal/blob/master/linux-opengl-abi-proposal.txt -# However, this is not very useful to us, as we don't support multiple -# GL providers at the same time on the system, which this proposal is -# aimed at supporting. -# -# So we only install the legacy library for now. -NVIDIA_DRIVER_LIBS_GL = \ - libGLX.so.0 \ - libGL.so.$(NVIDIA_DRIVER_VERSION) \ - libGLX_nvidia.so.$(NVIDIA_DRIVER_VERSION) - -NVIDIA_DRIVER_LIBS_EGL = \ - libEGL.so.1.1.0 \ - libGLdispatch.so.0 \ - libEGL_nvidia.so.$(NVIDIA_DRIVER_VERSION) - -NVIDIA_DRIVER_LIBS_GLES = \ - libGLESv1_CM.so.1.2.0 \ - libGLESv2.so.2.1.0 \ - libGLESv1_CM_nvidia.so.$(NVIDIA_DRIVER_VERSION) \ - libGLESv2_nvidia.so.$(NVIDIA_DRIVER_VERSION) - -NVIDIA_DRIVER_LIBS_MISC = \ - libnvidia-eglcore.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-egl-wayland.so.1.0.2 \ - libnvidia-glcore.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-glsi.so.$(NVIDIA_DRIVER_VERSION) \ - tls/libnvidia-tls.so.$(NVIDIA_DRIVER_VERSION) \ - libvdpau_nvidia.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-ml.so.$(NVIDIA_DRIVER_VERSION) - -NVIDIA_DRIVER_LIBS += \ - $(NVIDIA_DRIVER_LIBS_GL) \ - $(NVIDIA_DRIVER_LIBS_EGL) \ - $(NVIDIA_DRIVER_LIBS_GLES) \ - $(NVIDIA_DRIVER_LIBS_MISC) - -# Install the gl.pc file -define NVIDIA_DRIVER_INSTALL_GL_DEV - $(INSTALL) -D -m 0644 $(@D)/libGL.la $(STAGING_DIR)/usr/lib/libGL.la - $(SED) 's:__GENERATED_BY__:Buildroot:' $(STAGING_DIR)/usr/lib/libGL.la - $(SED) 's:__LIBGL_PATH__:/usr/lib:' $(STAGING_DIR)/usr/lib/libGL.la - $(SED) 's:-L[^[:space:]]\+::' $(STAGING_DIR)/usr/lib/libGL.la - $(INSTALL) -D -m 0644 package/nvidia-driver/gl.pc $(STAGING_DIR)/usr/lib/pkgconfig/gl.pc - $(INSTALL) -D -m 0644 package/nvidia-driver/egl.pc $(STAGING_DIR)/usr/lib/pkgconfig/egl.pc -endef - -# Those libraries are 'private' libraries requiring an agreement with -# NVidia to develop code for those libs. There seems to be no restriction -# on using those libraries (e.g. if the user has such an agreement, or -# wants to run a third-party program developed under such an agreement). -ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS),y) -NVIDIA_DRIVER_LIBS += \ - libnvidia-ifr.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-fbc.so.$(NVIDIA_DRIVER_VERSION) -endif - -# We refer to the destination path; the origin file has no directory component -NVIDIA_DRIVER_X_MODS = \ - drivers/nvidia_drv.so \ - extensions/libglx.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-wfb.so.$(NVIDIA_DRIVER_VERSION) - -endif # X drivers - -ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_CUDA),y) -NVIDIA_DRIVER_LIBS += \ - libcuda.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-compiler.so.$(NVIDIA_DRIVER_VERSION) \ - libnvcuvid.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-fatbinaryloader.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-ptxjitcompiler.so.$(NVIDIA_DRIVER_VERSION) \ - libnvidia-encode.so.$(NVIDIA_DRIVER_VERSION) -ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS),y) -NVIDIA_DRIVER_PROGS = nvidia-cuda-mps-control nvidia-cuda-mps-server -endif -endif - -ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_OPENCL),y) -NVIDIA_DRIVER_LIBS += \ - libOpenCL.so.1.0.0 \ - libnvidia-opencl.so.$(NVIDIA_DRIVER_VERSION) -NVIDIA_DRIVER_DEPENDENCIES += mesa3d-headers -NVIDIA_DRIVER_PROVIDES += libopencl -endif - -# Build and install the kernel modules if needed -ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_MODULE),y) - -NVIDIA_DRIVER_MODULES = nvidia nvidia-modeset nvidia-drm -ifeq ($(BR2_x86_64),y) -NVIDIA_DRIVER_MODULES += nvidia-uvm -endif - -# They can't do everything like everyone. They need those variables, -# because they don't recognise the usual variables set by the kernel -# build system. We also need to tell them what modules to build. -NVIDIA_DRIVER_MODULE_MAKE_OPTS = \ - NV_KERNEL_SOURCES="$(LINUX_DIR)" \ - NV_KERNEL_OUTPUT="$(LINUX_DIR)" \ - NV_KERNEL_MODULES="$(NVIDIA_DRIVER_MODULES)" - -NVIDIA_DRIVER_MODULE_SUBDIRS = kernel - -$(eval $(kernel-module)) - -endif # BR2_PACKAGE_NVIDIA_DRIVER_MODULE == y - -# The downloaded archive is in fact an auto-extract script. So, it can run -# virtually everywhere, and it is fine enough to provide useful options. -# Except it can't extract into an existing (even empty) directory. -define NVIDIA_DRIVER_EXTRACT_CMDS - $(SHELL) $(NVIDIA_DRIVER_DL_DIR)/$(NVIDIA_DRIVER_SOURCE) --extract-only --target \ - $(@D)/tmp-extract - chmod u+w -R $(@D) - mv $(@D)/tmp-extract/* $(@D)/tmp-extract/.manifest $(@D) - rm -rf $(@D)/tmp-extract -endef - -# Helper to install libraries -# $1: destination directory (target or staging) -# -# For all libraries, we install them and create a symlink using -# their SONAME, so we can link to them at runtime; we also create -# the no-version symlink, so we can link to them at build time. -define NVIDIA_DRIVER_INSTALL_LIBS - $(foreach lib,$(NVIDIA_DRIVER_LIBS),\ - $(INSTALL) -D -m 0644 $(@D)/$(lib) $(1)/usr/lib/$(notdir $(lib)) - libsoname="$$( $(TARGET_READELF) -d "$(@D)/$(lib)" \ - |sed -r -e '/.*\(SONAME\).*\[(.*)\]$$/!d; s//\1/;' )"; \ - if [ -n "$${libsoname}" -a "$${libsoname}" != "$(notdir $(lib))" ]; then \ - ln -sf $(notdir $(lib)) \ - $(1)/usr/lib/$${libsoname}; \ - fi - baseso=$(firstword $(subst .,$(space),$(notdir $(lib)))).so; \ - if [ -n "$${baseso}" -a "$${baseso}" != "$(notdir $(lib))" ]; then \ - ln -sf $(notdir $(lib)) $(1)/usr/lib/$${baseso}; \ - fi - ) -endef - -# For staging, install libraries and development files -define NVIDIA_DRIVER_INSTALL_STAGING_CMDS - $(call NVIDIA_DRIVER_INSTALL_LIBS,$(STAGING_DIR)) - $(NVIDIA_DRIVER_INSTALL_GL_DEV) -endef - -# For target, install libraries and X.org modules -define NVIDIA_DRIVER_INSTALL_TARGET_CMDS - $(call NVIDIA_DRIVER_INSTALL_LIBS,$(TARGET_DIR)) - $(foreach m,$(NVIDIA_DRIVER_X_MODS), \ - $(INSTALL) -D -m 0644 $(@D)/$(notdir $(m)) \ - $(TARGET_DIR)/usr/lib/xorg/modules/$(m) - ) - $(foreach p,$(NVIDIA_DRIVER_PROGS), \ - $(INSTALL) -D -m 0755 $(@D)/$(p) \ - $(TARGET_DIR)/usr/bin/$(p) - ) - $(NVIDIA_DRIVER_INSTALL_KERNEL_MODULE) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/odb/odb.mk b/buildroot-2021.05/package/odb/odb.mk deleted file mode 100644 index 85c7ccb8..00000000 --- a/buildroot-2021.05/package/odb/odb.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# odb -# -################################################################################ - -ODB_VERSION_MAJOR = 2.4 -ODB_VERSION = $(ODB_VERSION_MAJOR).0 -ODB_SOURCE = odb-$(ODB_VERSION).tar.bz2 -ODB_SITE = https://www.codesynthesis.com/download/odb/$(ODB_VERSION_MAJOR) -ODB_LICENSE = GPL-3.0 -ODB_LICENSE_FILES = LICENSE -HOST_ODB_DEPENDENCIES = host-libcutl -HOST_ODB_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11" - -# Prevent odb from trying to install the gcc plugin into the hosts -# gcc plugin directory. Instead, this will install the gcc plugin -# into host/libexec/odb -HOST_ODB_CONF_OPTS = --with-gcc-plugin-dir=no - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/ofono/ofono.hash b/buildroot-2021.05/package/ofono/ofono.hash deleted file mode 100644 index 02245a46..00000000 --- a/buildroot-2021.05/package/ofono/ofono.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/linux/network/ofono/sha256sums.asc -sha256 a15c5d28096c10eb30e47a68b6dc2e7c4a5a99d7f4cfedf0b69624f33d859e9b ofono-1.31.tar.xz -# Locally computed -sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/buildroot-2021.05/package/ofono/ofono.mk b/buildroot-2021.05/package/ofono/ofono.mk deleted file mode 100644 index 57d6cab4..00000000 --- a/buildroot-2021.05/package/ofono/ofono.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# ofono -# -################################################################################ - -OFONO_VERSION = 1.31 -OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz -OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono -OFONO_LICENSE = GPL-2.0 -OFONO_LICENSE_FILES = COPYING -OFONO_DEPENDENCIES = \ - host-pkgconf \ - dbus \ - ell \ - libcap-ng \ - libglib2 \ - mobile-broadband-provider-info - -OFONO_CONF_OPTS = \ - --enable-external-ell \ - --disable-test \ - --with-dbusconfdir=/etc \ - $(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system) - -# N.B. Qualcomm QMI modem support requires O_CLOEXEC; so -# make sure that it is defined. -OFONO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" - -define OFONO_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/ofono/S46ofono $(TARGET_DIR)/etc/init.d/S46ofono -endef - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -OFONO_CONF_OPTS += --enable-udev -OFONO_DEPENDENCIES += udev -else -OFONO_CONF_OPTS += --disable-udev -endif - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) -OFONO_CONF_OPTS += --enable-bluetooth -OFONO_DEPENDENCIES += bluez5_utils -else -OFONO_CONF_OPTS += --disable-bluetooth -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ogre/0001-CMake-Utils-PrecompiledHeader.cmake-Add-c-argument-t.patch b/buildroot-2021.05/package/ogre/0001-CMake-Utils-PrecompiledHeader.cmake-Add-c-argument-t.patch deleted file mode 100644 index 97f4e248..00000000 --- a/buildroot-2021.05/package/ogre/0001-CMake-Utils-PrecompiledHeader.cmake-Add-c-argument-t.patch +++ /dev/null @@ -1,57 +0,0 @@ -From f480ac538eb69086d4b7db855c2a457d5d6420d4 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 10 Feb 2020 14:05:12 +0100 -Subject: [PATCH] CMake/Utils/PrecompiledHeader.cmake: Add -c argument to build - precompiled headers - -Add "-c" argument when building precompiled headers to fix build with -RELRO. - -More information on a similar issue with domoticz can be found here: -https://patchwork.ozlabs.org/patch/1187328: - -"The problem AFAICS is that if no -c or similar option is given, GCC -decides what needs to be done based on the rest of the arguments. If the -rest of the arguments include a -Wl,... option, it decides that linking -needs to be done. If the rest of the arguments are just header files, it -decides to create a precompiled header." - -Fixes: - - http://autobuild.buildroot.org/results/8fabf8d270b9257c3a9db6a2f17f1c08ec9428d3 - -Signed-off-by: Fabrice Fontaine -[Upstream: https://github.com/OGRECave/ogre/commit/de4d5c920e23e1e2b21dc5c8192ef74ba6210cca] ---- - CMake/Utils/PrecompiledHeader.cmake | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/CMake/Utils/PrecompiledHeader.cmake b/CMake/Utils/PrecompiledHeader.cmake -index a02d99acd..bfb0059db 100644 ---- a/CMake/Utils/PrecompiledHeader.cmake -+++ b/CMake/Utils/PrecompiledHeader.cmake -@@ -133,11 +133,11 @@ MACRO(_PCH_GET_COMPILE_COMMAND out_command _input _output) - STRING(REGEX REPLACE "^ +" "" pchsupport_compiler_cxx_arg1 ${CMAKE_CXX_COMPILER_ARG1}) - - SET(${out_command} -- ${CMAKE_CXX_COMPILER} ${pchsupport_compiler_cxx_arg1} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input} -+ ${CMAKE_CXX_COMPILER} ${pchsupport_compiler_cxx_arg1} ${_compile_FLAGS} -x c++-header -c -o ${_output} ${_input} - ) - ELSE(CMAKE_CXX_COMPILER_ARG1) - SET(${out_command} -- ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input} -+ ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} -x c++-header -c -o ${_output} ${_input} - ) - ENDIF(CMAKE_CXX_COMPILER_ARG1) - ELSE(CMAKE_COMPILER_IS_GNUCXX) -@@ -291,7 +291,7 @@ MACRO(ADD_PRECOMPILED_HEADER _targetName _input) - set_target_properties(${_targetName}_pch_dephelp PROPERTIES INCLUDE_DIRECTORIES "${DIRINC}") - - #MESSAGE("_compile_FLAGS: ${_compile_FLAGS}") -- #message("COMMAND ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} -x c++-header -o ${_output} ${_input}") -+ #message("COMMAND ${CMAKE_CXX_COMPILER} ${_compile_FLAGS} -x c++-header -c -o ${_output} ${_input}") - - ADD_CUSTOM_COMMAND( - OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${_name}" --- -2.24.1 - diff --git a/buildroot-2021.05/package/ogre/Config.in b/buildroot-2021.05/package/ogre/Config.in deleted file mode 100644 index 1d778471..00000000 --- a/buildroot-2021.05/package/ogre/Config.in +++ /dev/null @@ -1,41 +0,0 @@ -config BR2_PACKAGE_OGRE - bool "ogre" - depends on BR2_PACKAGE_HAS_LIBGL # libglu - depends on BR2_PACKAGE_XORG7 - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU - depends on BR2_USE_WCHAR # use wchar_t - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_LIBFREEIMAGE - select BR2_PACKAGE_SDL2 - select BR2_PACKAGE_SDL2_OPENGL - select BR2_PACKAGE_SDL2_X11 # use wmInfo.info.x11 - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXAW - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXRANDR - select BR2_PACKAGE_ZZIPLIB - help - OGRE is a scene-oriented, flexible 3D engine written in C++ - designed to make it easier and more intuitive for developers - to produce games and demos utilising 3D hardware. The class - library abstracts all the details of using the underlying - system libraries like Direct3D and OpenGL and provides an - interface based on world objects and other intuitive classes. - - https://ogrecave.github.io/ogre - -comment "ogre needs X11 and an OpenGL provider" - depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7 - depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ - && BR2_INSTALL_LIBSTDCPP && !BR2_STATIC_LIBS && BR2_USE_WCHAR - depends on BR2_USE_MMU - -comment "ogre needs a toolchain w/ C++, dynamic library, gcc >= 4.8, threads, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_USE_WCHAR - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/ogre/ogre.hash b/buildroot-2021.05/package/ogre/ogre.hash deleted file mode 100644 index 8bb4ae96..00000000 --- a/buildroot-2021.05/package/ogre/ogre.hash +++ /dev/null @@ -1,3 +0,0 @@ -# sha256 locally computed -sha256 163e7700e319532d4389ecba91e3ab88551f78610886fa36f8f262f9a5080988 ogre-1.12.0.tar.gz -sha256 82758e8d1d72139904b9b7472ef0f6544413d2871b58540307fdcc20e473e5f8 LICENSE diff --git a/buildroot-2021.05/package/ogre/ogre.mk b/buildroot-2021.05/package/ogre/ogre.mk deleted file mode 100644 index 2df685a2..00000000 --- a/buildroot-2021.05/package/ogre/ogre.mk +++ /dev/null @@ -1,51 +0,0 @@ -################################################################################ -# -# ogre -# -################################################################################ - -OGRE_VERSION = 1.12.0 -OGRE_SITE = $(call github,OGRECave,ogre,v$(OGRE_VERSION)) -OGRE_LICENSE = MIT (main library, DeferredShadingMedia samples), Public Domain (samples and plugins), Zlib (tinyxml) -OGRE_LICENSE_FILES = LICENSE -OGRE_INSTALL_STAGING = YES - -# Ogre use a bundled version of tinyxml -OGRE_DEPENDENCIES = host-pkgconf \ - freetype \ - libfreeimage \ - libgl \ - sdl2 \ - xlib_libX11 \ - xlib_libXaw \ - xlib_libXext \ - xlib_libXrandr \ - zziplib - -OGRE_CFLAGS = $(TARGET_CFLAGS) -DGLEW_NO_GLU -OGRE_CXXFLAGS = $(TARGET_CXXFLAGS) -DGLEW_NO_GLU - -# Unbundle freetype and zziplib. -# Disable java and nvidia cg support. -OGRE_CONF_OPTS = -DOGRE_BUILD_DEPENDENCIES=OFF \ - -DOGRE_BUILD_COMPONENT_JAVA=OFF \ - -DOGRE_BUILD_PLUGIN_CG=OFF \ - -DOGRE_INSTALL_DOCS=OFF \ - -DCMAKE_C_FLAGS="$(OGRE_CFLAGS)" \ - -DCMAKE_CXX_FLAGS="$(OGRE_CXXFLAGS)" - -# Enable optional python component if python interpreter is present on the target. -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -OGRE_DEPENDENCIES += host-swig \ - $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) -OGRE_CONF_OPTS += -DOGRE_BUILD_COMPONENT_PYTHON=ON -else -OGRE_CONF_OPTS += -DOGRE_BUILD_COMPONENT_PYTHON=OFF -endif - -# Uses __atomic_fetch_add_8 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -OGRE_CXXFLAGS += -latomic -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/olsr/olsr.mk b/buildroot-2021.05/package/olsr/olsr.mk deleted file mode 100644 index b2c8e7e0..00000000 --- a/buildroot-2021.05/package/olsr/olsr.mk +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################ -# -# olsr -# -################################################################################ - -OLSR_VERSION = 0.9.8 -OLSR_SITE = $(call github,OLSR,olsrd,v$(OLSR_VERSION)) -OLSR_PLUGINS = arprefresh bmf dot_draw dyn_gw dyn_gw_plain httpinfo jsoninfo \ - mdns nameservice netjson poprouting p2pd pgraph secure txtinfo watchdog -# Doesn't really need quagga but not very useful without it -OLSR_PLUGINS += $(if $(BR2_PACKAGE_QUAGGA),quagga) -OLSR_LICENSE = BSD-3-Clause -OLSR_LICENSE_FILES = license.txt -OLSR_DEPENDENCIES = host-flex host-bison - -OLSR_CFLAGS = $(TARGET_CFLAGS) - -# it needs -fPIC to link on lot of architectures -OLSR_CFLAGS += -fPIC - -ifeq ($(BR2_PACKAGE_GPSD),y) -OLSR_LICENSE += , LGPL-2.1+ (nmealib) -OLSR_LICENSE_FILES += lib/pud/nmealib/LICENSE -OLSR_DEPENDENCIES += gpsd -OLSR_PLUGINS += pud -endif - -define OLSR_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) ARCH=$(KERNEL_ARCH) \ - CFLAGS="$(OLSR_CFLAGS)" -C $(@D) olsrd - $(foreach p,$(OLSR_PLUGINS), \ - $(TARGET_CONFIGURE_OPTS) $(MAKE) ARCH=$(KERNEL_ARCH) \ - CFLAGS="$(OLSR_CFLAGS)" -C $(@D)/lib/$(p) - ) -endef - -define OLSR_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \ - prefix="/usr" install_bin - $(foreach p,$(OLSR_PLUGINS), \ - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/lib/$(p) \ - LDCONFIG=/bin/true DESTDIR=$(TARGET_DIR) \ - prefix="/usr" install - ) - $(INSTALL) -D -m 0644 $(@D)/files/olsrd.conf.default.lq \ - $(TARGET_DIR)/etc/olsrd/olsrd.conf -endef - -define OLSR_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/olsr/S50olsr \ - $(TARGET_DIR)/etc/init.d/S50olsr -endef - -define OLSR_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/olsr/olsr.service \ - $(TARGET_DIR)/usr/lib/systemd/system/olsr.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/omniorb/omniorb.hash b/buildroot-2021.05/package/omniorb/omniorb.hash deleted file mode 100644 index 5ac86146..00000000 --- a/buildroot-2021.05/package/omniorb/omniorb.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://sourceforge.net/projects/omniorb/files/omniORB/omniORB-4.2.4/ -sha1 a6f3c8e96fc09c4ef8d75bd495bbc5256a4773ee omniORB-4.2.4.tar.bz2 -md5 de961e8aa29f3eed95ea40a94c1cccdf omniORB-4.2.4.tar.bz2 - -# Locally generated -sha256 28c01cd0df76c1e81524ca369dc9e6e75f57dc70f30688c99c67926e4bdc7a6f omniORB-4.2.4.tar.bz2 -sha256 126647a6ee062fe46f8f3766965dc62e031c0a31238a347e4bc07aab2ac1e2a7 COPYING -sha256 eaf5b13ffd5355da7c0b83074e4b798152ff7086c95c4f3045122a06e2673eb9 COPYING.LIB diff --git a/buildroot-2021.05/package/omniorb/omniorb.mk b/buildroot-2021.05/package/omniorb/omniorb.mk deleted file mode 100644 index 4ecbb9d2..00000000 --- a/buildroot-2021.05/package/omniorb/omniorb.mk +++ /dev/null @@ -1,75 +0,0 @@ -################################################################################ -# -# omniorb -# -################################################################################ - -OMNIORB_VERSION = 4.2.4 -OMNIORB_SITE = http://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-$(OMNIORB_VERSION) -OMNIORB_SOURCE = omniORB-$(OMNIORB_VERSION).tar.bz2 -OMNIORB_INSTALL_STAGING = YES -OMNIORB_LICENSE = GPL2+, LGPL-2.1+ -OMNIORB_LICENSE_FILES = COPYING COPYING.LIB -OMNIORB_DEPENDENCIES = host-omniorb -HOST_OMNIORB_DEPENDENCIES = host-python - -# omniorb is not python3 friendly, so force the python interpreter -OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2 -HOST_OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2 - -# Defaulting long double support to a safe option for the -# mix of embedded targets, this could later be automated -# based on checking the capability of the cross toolchain -# for "__LONG_DOUBLE_128__". Currently the host and target -# need to match because of the code generation done by the -# host tools during the target compile (ie headers generated -# on host are used in target build). -OMNIORB_CONF_OPTS += --disable-longdouble -HOST_OMNIORB_CONF_OPTS += --disable-longdouble - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -OMNIORB_CONF_OPTS += --with-openssl -OMNIORB_DEPENDENCIES += openssl -else -OMNIORB_CONF_OPTS += --without-openssl -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -OMNIORB_DEPENDENCIES += zlib -endif - -# The EmbeddedSystem define (set below in OMNIORB_ADJUST_TOOLDIR) -# enables building of just the lib and disables building of -# tools/apps/services. In some cases the apps/services are still -# required. The tools however are host related and should never -# be required on target. -define OMNIORB_ENABLE_EXTRA_APPS - $(SED) 's:SUBDIRS += lib:SUBDIRS += lib appl services:g' $(@D)/src/dir.mk -endef - -ifeq ($(BR2_PACKAGE_OMNIORB_WITH_APPS),y) -OMNIORB_POST_PATCH_HOOKS += OMNIORB_ENABLE_EXTRA_APPS -endif - -ifeq ($(BR2_STATIC_LIBS),y) -define OMNIORB_DISABLE_SHARED - echo "BuildSharedLibrary =" >> $(@D)/mk/beforeauto.mk -endef -OMNIORB_POST_CONFIGURE_HOOKS += OMNIORB_DISABLE_SHARED -endif - -# omniORB is not completely cross-compile friendly and has some -# assumptions where a couple host tools must be built and then -# used by the target build. The host tools generate code from -# the IDL description language, which is then built into the -# cross compiled target OMNIORB application. -define OMNIORB_ADJUST_TOOLDIR - # Point to the host folder to get HOST_OMNIORB tools - $(SED) 's:TOOLBINDIR = $$(TOP)/$$(BINDIR):TOOLBINDIR = $(HOST_DIR)/bin:g' $(@D)/mk/beforeauto.mk - # Disables OMNIORB app/service/tool building - echo "EmbeddedSystem=1" >> $(@D)/mk/beforeauto.mk -endef -OMNIORB_POST_CONFIGURE_HOOKS += OMNIORB_ADJUST_TOOLDIR - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch b/buildroot-2021.05/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch deleted file mode 100644 index 94ee76ad..00000000 --- a/buildroot-2021.05/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch +++ /dev/null @@ -1,37 +0,0 @@ -From a312e82124fb8c9f139d5a40fa5a28123bb77a33 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 10 Jan 2021 14:25:56 +0100 -Subject: [PATCH] arch/posix/CMakeLists.txt: fix build without threads - -Fix the following build failure without threads: - -[100%] Linking C shared library bin/libopen62541.so -/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: cannot find -lpthread -collect2: error: ld returned 1 exit status -CMakeFiles/open62541.dir/build.make:192: recipe for target 'bin/libopen62541.so.0.0.0' failed -make[3]: *** [bin/libopen62541.so.0.0.0] Error 1 - -Fixes: - - http://autobuild.buildroot.org/results/87ec3c987c991f790757276316d6caf81e635fa2 - -Signed-off-by: Fabrice Fontaine ---- - arch/posix/CMakeLists.txt | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/arch/posix/CMakeLists.txt b/arch/posix/CMakeLists.txt -index bb24757c..a53c9f2c 100644 ---- a/arch/posix/CMakeLists.txt -+++ b/arch/posix/CMakeLists.txt -@@ -20,8 +20,6 @@ if (${_index} GREATER -1 OR "${UA_ARCHITECTURE}" STREQUAL "posix") - ua_architecture_append_to_library(netdb ndblib socket) - else() - ua_architecture_append_to_library(m) -- #TODO - Error on first make run if pthread is included conditional? -- ua_architecture_append_to_library(pthread) - if(UA_ENABLE_MULTITHREADING OR UA_BUILD_UNIT_TESTS) - ua_architecture_append_to_library(pthread) - endif() --- -2.29.2 - diff --git a/buildroot-2021.05/package/open62541/open62541.hash b/buildroot-2021.05/package/open62541/open62541.hash deleted file mode 100644 index 3da8c8f5..00000000 --- a/buildroot-2021.05/package/open62541/open62541.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 36273793e5247586fadaa73c0edad89be610100cbc839d1fb5f567f20c3cbc44 open62541-1.0-br1.tar.gz -sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 LICENSE diff --git a/buildroot-2021.05/package/open62541/open62541.mk b/buildroot-2021.05/package/open62541/open62541.mk deleted file mode 100644 index 102e09a4..00000000 --- a/buildroot-2021.05/package/open62541/open62541.mk +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# -# open62541 -# -################################################################################ - -OPEN62541_VERSION = 1.0 -OPEN62541_DL_VERSION = v$(OPEN62541_VERSION) -OPEN62541_SITE_METHOD = git -OPEN62541_SITE = git://github.com/open62541/open62541.git -OPEN62541_GIT_SUBMODULES = YES -OPEN62541_INSTALL_STAGING = YES -OPEN62541_LICENSE = MPL-2.0 -OPEN62541_LICENSE_FILES = LICENSE - -# Force Release build to remove -Werror. -# Don't use git describe to get the version number. -# Disable hardening options to let Buildroot handle it. -OPEN62541_CONF_OPTS = \ - -DCMAKE_BUILD_TYPE=Release \ - -DGIT_EXECUTABLE=NO \ - -DOPEN62541_VERSION=v$(OPEN62541_VERSION) \ - -DUA_ENABLE_HARDENING=OFF - -ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL),y) -OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=MINIMAL -else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED),y) -OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=REDUCED -else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL),y) -OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=FULL -endif - -ifeq ($(BR2_PACKAGE_OPEN62541_JSON_ENCODING),y) -OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=ON -else -OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=OFF -endif - -ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB),y) -OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB=ON -else -OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB=OFF -endif - -ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_DELTAFRAMES),y) -OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_DELTAFRAMES=ON -else -OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_DELTAFRAMES=OFF -endif - -ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL),y) -OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON -else -OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/openal/openal.hash b/buildroot-2021.05/package/openal/openal.hash deleted file mode 100644 index 1592dd56..00000000 --- a/buildroot-2021.05/package/openal/openal.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 c32d10473457a8b545aab50070fe84be2b5b041e1f2099012777ee6be0057c13 openal-1.20.1.tar.gz -sha256 d808ce217e5b611854da622b57ec29fe545584c48bc5352fae72a4b6e5074a15 COPYING diff --git a/buildroot-2021.05/package/openal/openal.mk b/buildroot-2021.05/package/openal/openal.mk deleted file mode 100644 index ed63abfb..00000000 --- a/buildroot-2021.05/package/openal/openal.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# openal -# -################################################################################ - -OPENAL_VERSION = 1.20.1 -OPENAL_SITE = $(call github,kcat,openal-soft,openal-soft-$(OPENAL_VERSION)) -OPENAL_LICENSE = LGPL-2.0+ -OPENAL_LICENSE_FILES = COPYING -OPENAL_INSTALL_STAGING = YES - -# We don't need examples, tests and utilities, Distros don't ship them either -OPENAL_CONF_OPTS += -DALSOFT_UTILS=OFF -DALSOFT_EXAMPLES=OFF -DALSOFT_TESTS=OFF - -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),y) -OPENAL_CONF_OPTS += -DEXTRA_LIBS=atomic -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -OPENAL_DEPENDENCIES += alsa-lib -OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_ALSA=ON -else -OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_ALSA=OFF -endif - -ifeq ($(BR2_PACKAGE_JACK2),y) -OPENAL_DEPENDENCIES += jack2 -OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_JACK=ON -else -OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_JACK=OFF -endif - -ifeq ($(BR2_PACKAGE_PORTAUDIO),y) -OPENAL_DEPENDENCIES += portaudio -OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PORTAUDIO=ON -else -OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PORTAUDIO=OFF -endif - -ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) -OPENAL_DEPENDENCIES += pulseaudio -OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PULSEAUDIO=ON -else -OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PULSEAUDIO=OFF -endif - -ifeq ($(BR2_STATIC_LIBS),y) -OPENAL_CONF_OPTS += -DLIBTYPE=STATIC -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/openblas/0001-fix-gfortran-detection.patch b/buildroot-2021.05/package/openblas/0001-fix-gfortran-detection.patch deleted file mode 100644 index 1fecdac3..00000000 --- a/buildroot-2021.05/package/openblas/0001-fix-gfortran-detection.patch +++ /dev/null @@ -1,30 +0,0 @@ -From ece3ce581e3ec530eaccfe7f284c52e115ec7aa9 Mon Sep 17 00:00:00 2001 -From: Martin Kroeker -Date: Wed, 10 Feb 2021 14:22:59 +0100 -Subject: [PATCH] Strip parenthesized (pkgversion) data from GCC version string - to avoid misinterpretation - -See https://github.com/xianyi/OpenBLAS/issues/3099 for details. - -Upstream-status: backport - -[for import into Buildroot] -Signed-off-by: Thomas De Schampheleire - - ---- - f_check | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/f_check b/f_check -index e9aca4ff9..ffe9c6b46 100644 ---- a/f_check -+++ b/f_check -@@ -75,6 +75,7 @@ if ($compiler eq "") { - - } elsif ($data =~ /GNU/ || $data =~ /GCC/ ) { - -+ $data =~ s/\(+.*?\)+//g; - $data =~ /(\d+)\.(\d+).(\d+)/; - $major = $1; - $minor = $2; diff --git a/buildroot-2021.05/package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch b/buildroot-2021.05/package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch deleted file mode 100644 index 72b387b9..00000000 --- a/buildroot-2021.05/package/openblas/0002-Makefile-fix-support-for-passing-FFLAGS-on-the-make-.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 4d3829fa52240c2b7e48770ab19584db33ba7863 Mon Sep 17 00:00:00 2001 -From: Thomas De Schampheleire -Date: Fri, 5 Mar 2021 11:17:59 +0100 -Subject: [PATCH] Makefile: fix support for passing FFLAGS on the make - command line - -When openblas is built while passing FFLAGS on the make command line, the -compilation of lapack objects will not contain the flags specified in -Makefile but _only_ those passed in FFLAGS. - -This can lead to build failure, e.g. because -fPIC is not passed to the -compilation of most lapack objects, but is given to the link command: - -.../buildroot/output/host/bin/x86_64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -O2 -DMAX_STACK_ALLOC=2048 -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DNO_WARMUP -DMAX_CPU_NUMBER=4 -DMAX_PARALLEL_NUMBER=1 -DVERSION=\"0.3.9\" -DASMNAME= -DASMFNAME=_ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -shared -o ../libopenblas_nehalem-r0.3.9.so \ --Wl,--whole-archive ../libopenblas_nehalem-r0.3.9.a -Wl,--no-whole-archive \ --Wl,-soname,libopenblas.so.0 -lm -lgfortran -lm -lgfortran -.../buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-musl/9.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: ../libopenblas_nehalem-r0.3.9.a(sbdsvdx.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC - -In the initial support for this principle, added in commit -d0e731e8b825e7a554f245aa8f1118dcec9e2728, the flags specified in the -makefile were appended to the flags specified on the command-line. - -Fix this situation by using 'override' for 'FFLAGS' in -lapack-netlib/make.inc. The flags passed on the command-line are already -part of the LAPACK_FFLAGS variable, so no '+=' is needed here. - -Signed-off-by: Thomas De Schampheleire ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index fc5fe3f5..8ae1ff47 100644 ---- a/Makefile -+++ b/Makefile -@@ -248,7 +248,7 @@ prof_lapack : lapack_prebuild - lapack_prebuild : - ifeq ($(NOFORTRAN), $(filter 0,$(NOFORTRAN))) - -@echo "FC = $(FC)" > $(NETLIB_LAPACK_DIR)/make.inc -- -@echo "FFLAGS = $(LAPACK_FFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc -+ -@echo "override FFLAGS = $(LAPACK_FFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc - -@echo "POPTS = $(LAPACK_FPFLAGS)" >> $(NETLIB_LAPACK_DIR)/make.inc - -@echo "FFLAGS_NOOPT = -O0 $(LAPACK_NOOPT)" >> $(NETLIB_LAPACK_DIR)/make.inc - -@echo "PNOOPT = $(LAPACK_FPFLAGS) -O0" >> $(NETLIB_LAPACK_DIR)/make.inc --- -2.26.2 - diff --git a/buildroot-2021.05/package/openblas/openblas.hash b/buildroot-2021.05/package/openblas/openblas.hash deleted file mode 100644 index c58def9d..00000000 --- a/buildroot-2021.05/package/openblas/openblas.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 17d4677264dfbc4433e97076220adc79b050e4f8a083ea3f853a53af253bc380 openblas-0.3.9.tar.gz -sha256 190b5a9c8d9723fe958ad33916bd7346d96fab3c5ea90832bb02d854f620fcff LICENSE diff --git a/buildroot-2021.05/package/openblas/openblas.mk b/buildroot-2021.05/package/openblas/openblas.mk deleted file mode 100644 index 21d05cf3..00000000 --- a/buildroot-2021.05/package/openblas/openblas.mk +++ /dev/null @@ -1,79 +0,0 @@ -################################################################################ -# -# openblas -# -################################################################################ - -OPENBLAS_VERSION = 0.3.9 -OPENBLAS_SITE = $(call github,xianyi,OpenBLAS,v$(OPENBLAS_VERSION)) -OPENBLAS_LICENSE = BSD-3-Clause -OPENBLAS_LICENSE_FILES = LICENSE -OPENBLAS_INSTALL_STAGING = YES - -# Initialise OpenBLAS make options to $(TARGET_CONFIGURE_OPTS) -OPENBLAS_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) - -# Enable cross-compiling -OPENBLAS_MAKE_OPTS += CROSS=1 - -# Set OpenBLAS target -OPENBLAS_MAKE_OPTS += TARGET=$(BR2_PACKAGE_OPENBLAS_TARGET) - -# When Fortran is not available, only build the C version of BLAS -ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),) -OPENBLAS_MAKE_OPTS += ONLY_CBLAS=1 -endif - -# Enable/Disable multi-threading (not for static-only since it uses dlfcn.h) -ifeq ($(BR2_PACKAGE_OPENBLAS_USE_THREAD),y) -OPENBLAS_MAKE_OPTS += USE_THREAD=1 -else -OPENBLAS_MAKE_OPTS += USE_THREAD=0 -endif - -ifeq ($(BR2_PACKAGE_OPENBLAS_USE_LOCKING),y) -OPENBLAS_MAKE_OPTS += USE_LOCKING=1 -else -# not passing USE_LOCKING=0 as this could be confusing: its effect is implicit -# in case of USE_THREAD=1. -endif - -# We don't know if OpenMP is available or not, so disable -OPENBLAS_MAKE_OPTS += USE_OPENMP=0 - -# Static-only/Shared-only toggle -ifeq ($(BR2_STATIC_LIBS),y) -OPENBLAS_MAKE_OPTS += NO_SHARED=1 -else ifeq ($(BR2_SHARED_LIBS),y) -OPENBLAS_MAKE_OPTS += NO_STATIC=1 -endif - -# binutils version <= 2.23.2 has a bug -# (https://sourceware.org/bugzilla/show_bug.cgi?id=14887) where -# whitespaces in ARM register specifications such as [ r1, #12 ] or [ -# r2 ] cause the assembler to reject the code. Since there are -# numerous instances of such cases in the code, we use sed rather than -# a patch. We simply replace [ foobar ] by [foobar] to work around the -# problem. -define OPENBLAS_FIXUP_ARM_ASSEMBLY - $(SED) 's%\[\s*%\[%;s%\s*\]%\]%' $(@D)/kernel/arm/*.S -endef - -OPENBLAS_POST_PATCH_HOOKS += OPENBLAS_FIXUP_ARM_ASSEMBLY - -define OPENBLAS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(OPENBLAS_MAKE_OPTS) \ - -C $(@D) -endef - -define OPENBLAS_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(OPENBLAS_MAKE_OPTS) \ - -C $(@D) install PREFIX=$(STAGING_DIR)/usr -endef - -define OPENBLAS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(OPENBLAS_MAKE_OPTS) \ - -C $(@D) install PREFIX=$(TARGET_DIR)/usr -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openbox/Config.in b/buildroot-2021.05/package/openbox/Config.in deleted file mode 100644 index fe6e8868..00000000 --- a/buildroot-2021.05/package/openbox/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -config BR2_PACKAGE_OPENBOX - bool "openbox" - depends on BR2_PACKAGE_XORG7 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz - depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_PANGO - select BR2_PACKAGE_XLIB_LIBX11 - # libxft and libxrender are needed to get xft support in pango - select BR2_PACKAGE_XLIB_LIBXFT - select BR2_PACKAGE_XLIB_LIBXRENDER - help - Openbox is a highly configurable, next generation window - manager with extensive standards support. - - http://openbox.org - -comment "openbox needs a toolchain w/ C++, threads, wchar, gcc >= 4.8" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_XORG7 diff --git a/buildroot-2021.05/package/opencv3/opencv3.hash b/buildroot-2021.05/package/opencv3/opencv3.hash deleted file mode 100644 index 04eed67c..00000000 --- a/buildroot-2021.05/package/opencv3/opencv3.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 70230049194ae03ed8bfaab6cd1388569aa1b5c482d8b50d3af1cd2ae5a0b95d opencv3-3.4.13.tar.gz -sha256 a5a7cf90fe5ac9763baad852cf69cf9d9b89bff934a679fdc5c8fcecaeba9a25 LICENSE diff --git a/buildroot-2021.05/package/opencv3/opencv3.mk b/buildroot-2021.05/package/opencv3/opencv3.mk deleted file mode 100644 index 5c82da99..00000000 --- a/buildroot-2021.05/package/opencv3/opencv3.mk +++ /dev/null @@ -1,376 +0,0 @@ -################################################################################ -# -# opencv3 -# -################################################################################ - -OPENCV3_VERSION = 3.4.13 -OPENCV3_SITE = $(call github,opencv,opencv,$(OPENCV3_VERSION)) -OPENCV3_INSTALL_STAGING = YES -OPENCV3_LICENSE = BSD-3-Clause -OPENCV3_LICENSE_FILES = LICENSE -OPENCV3_CPE_ID_VENDOR = opencv -OPENCV3_CPE_ID_PRODUCT = opencv -OPENCV3_SUPPORTS_IN_SOURCE_BUILD = NO - -OPENCV3_CXXFLAGS = $(TARGET_CXXFLAGS) - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -OPENCV3_CXXFLAGS += -latomic -endif - -# Fix c++11 build with missing std::exception_ptr -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_64735),y) -OPENCV3_CXXFLAGS += -DCV__EXCEPTION_PTR=0 -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) -OPENCV3_CXXFLAGS += -O0 -endif - -# OpenCV component options -OPENCV3_CONF_OPTS += \ - -DCMAKE_CXX_FLAGS="$(OPENCV3_CXXFLAGS)" \ - -DBUILD_DOCS=OFF \ - -DBUILD_PERF_TESTS=$(if $(BR2_PACKAGE_OPENCV3_BUILD_PERF_TESTS),ON,OFF) \ - -DBUILD_TESTS=$(if $(BR2_PACKAGE_OPENCV3_BUILD_TESTS),ON,OFF) \ - -DBUILD_WITH_DEBUG_INFO=OFF \ - -DDOWNLOAD_EXTERNAL_TEST_DATA=OFF \ - -DOPENCV_ENABLE_PKG_CONFIG=ON - -ifeq ($(BR2_PACKAGE_OPENCV3_BUILD_TESTS)$(BR2_PACKAGE_OPENCV3_BUILD_PERF_TESTS),) -OPENCV3_CONF_OPTS += -DINSTALL_TEST=OFF -else -OPENCV3_CONF_OPTS += -DINSTALL_TEST=ON -endif - -# OpenCV build options -OPENCV3_CONF_OPTS += \ - -DBUILD_WITH_STATIC_CRT=OFF \ - -DENABLE_CCACHE=OFF \ - -DENABLE_COVERAGE=OFF \ - -DENABLE_FAST_MATH=ON \ - -DENABLE_IMPL_COLLECTION=OFF \ - -DENABLE_NOISY_WARNINGS=OFF \ - -DENABLE_OMIT_FRAME_POINTER=ON \ - -DENABLE_PRECOMPILED_HEADERS=OFF \ - -DENABLE_PROFILING=OFF \ - -DOPENCV_WARNINGS_ARE_ERRORS=OFF - -# OpenCV link options -OPENCV3_CONF_OPTS += \ - -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \ - -DCMAKE_SKIP_RPATH=OFF \ - -DCMAKE_USE_RELATIVE_PATHS=OFF - -# OpenCV packaging options: -OPENCV3_CONF_OPTS += \ - -DBUILD_PACKAGE=OFF \ - -DENABLE_SOLUTION_FOLDERS=OFF \ - -DINSTALL_CREATE_DISTRIB=OFF - -# OpenCV module selection -# * Modules on: -# - core: if not set, opencv does not build anything -# - hal: core's dependency -# * Modules off: -# - android*: android stuff -# - apps: programs for training classifiers -# - java: java bindings -# - viz: missing VTK dependency -# - world: all-in-one module -# -# * Contrib modules from [1] are disabled: -# - opencv_contrib package is not available in Buildroot; -# - OPENCV3_EXTRA_MODULES_PATH is not set. -# -# [1] https://github.com/Itseez/opencv_contrib -OPENCV3_CONF_OPTS += \ - -DBUILD_opencv_androidcamera=OFF \ - -DBUILD_opencv_apps=OFF \ - -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV3_LIB_CALIB3D),ON,OFF) \ - -DBUILD_opencv_core=ON \ - -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV3_LIB_FEATURES2D),ON,OFF) \ - -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV3_LIB_FLANN),ON,OFF) \ - -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV3_LIB_HIGHGUI),ON,OFF) \ - -DBUILD_opencv_imgcodecs=$(if $(BR2_PACKAGE_OPENCV3_LIB_IMGCODECS),ON,OFF) \ - -DBUILD_opencv_imgproc=$(if $(BR2_PACKAGE_OPENCV3_LIB_IMGPROC),ON,OFF) \ - -DBUILD_opencv_java=OFF \ - -DBUILD_opencv_ml=$(if $(BR2_PACKAGE_OPENCV3_LIB_ML),ON,OFF) \ - -DBUILD_opencv_objdetect=$(if $(BR2_PACKAGE_OPENCV3_LIB_OBJDETECT),ON,OFF) \ - -DBUILD_opencv_photo=$(if $(BR2_PACKAGE_OPENCV3_LIB_PHOTO),ON,OFF) \ - -DBUILD_opencv_shape=$(if $(BR2_PACKAGE_OPENCV3_LIB_SHAPE),ON,OFF) \ - -DBUILD_opencv_stitching=$(if $(BR2_PACKAGE_OPENCV3_LIB_STITCHING),ON,OFF) \ - -DBUILD_opencv_superres=$(if $(BR2_PACKAGE_OPENCV3_LIB_SUPERRES),ON,OFF) \ - -DBUILD_opencv_ts=$(if $(BR2_PACKAGE_OPENCV3_LIB_TS),ON,OFF) \ - -DBUILD_opencv_video=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEO),ON,OFF) \ - -DBUILD_opencv_videoio=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEOIO),ON,OFF) \ - -DBUILD_opencv_videostab=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEOSTAB),ON,OFF) \ - -DBUILD_opencv_viz=OFF \ - -DBUILD_opencv_world=OFF - -# Hardware support options. -# -# * PowerPC and VFPv3 support are turned off since their only effects -# are altering CFLAGS, adding '-mcpu=G3 -mtune=G5' or '-mfpu=vfpv3' -# to them, which is already handled by Buildroot. -# * NEON logic is needed as it is not only used to add CFLAGS, but -# also to enable additional NEON code. -OPENCV3_CONF_OPTS += \ - -DENABLE_POWERPC=OFF \ - -DENABLE_NEON=$(if $(BR2_ARM_CPU_HAS_NEON),ON,OFF) \ - -DENABLE_VFPV3=OFF - -# Cuda stuff -OPENCV3_CONF_OPTS += \ - -DBUILD_CUDA_STUBS=OFF \ - -DBUILD_opencv_cudaarithm=OFF \ - -DBUILD_opencv_cudabgsegm=OFF \ - -DBUILD_opencv_cudacodec=OFF \ - -DBUILD_opencv_cudafeatures2d=OFF \ - -DBUILD_opencv_cudafilters=OFF \ - -DBUILD_opencv_cudaimgproc=OFF \ - -DBUILD_opencv_cudalegacy=OFF \ - -DBUILD_opencv_cudaobjdetect=OFF \ - -DBUILD_opencv_cudaoptflow=OFF \ - -DBUILD_opencv_cudastereo=OFF \ - -DBUILD_opencv_cudawarping=OFF \ - -DBUILD_opencv_cudev=OFF \ - -DWITH_CUBLAS=OFF \ - -DWITH_CUDA=OFF \ - -DWITH_CUFFT=OFF - -# NVidia stuff -OPENCV3_CONF_OPTS += -DWITH_NVCUVID=OFF - -# AMD stuff -OPENCV3_CONF_OPTS += \ - -DWITH_OPENCLAMDBLAS=OFF \ - -DWITH_OPENCLAMDFFT=OFF - -# Intel stuff -OPENCV3_CONF_OPTS += \ - -DBUILD_WITH_DYNAMIC_IPP=OFF \ - -DWITH_INTELPERC=OFF \ - -DWITH_IPP=OFF \ - -DWITH_IPP_A=OFF \ - -DWITH_TBB=OFF - -# Smartek stuff -OPENCV3_CONF_OPTS += -DWITH_GIGEAPI=OFF - -# Prosilica stuff -OPENCV3_CONF_OPTS += -DWITH_PVAPI=OFF - -# Ximea stuff -OPENCV3_CONF_OPTS += -DWITH_XIMEA=OFF - -# Non-Linux support (Android options) must remain OFF: -OPENCV3_CONF_OPTS += \ - -DANDROID=OFF \ - -DBUILD_ANDROID_CAMERA_WRAPPER=OFF \ - -DBUILD_ANDROID_EXAMPLES=OFF \ - -DBUILD_ANDROID_SERVICE=OFF \ - -DBUILD_FAT_JAVA_LIB=OFF \ - -DINSTALL_ANDROID_EXAMPLES=OFF \ - -DWITH_ANDROID_CAMERA=OFF - -# Non-Linux support (Mac OSX options) must remain OFF: -OPENCV3_CONF_OPTS += \ - -DWITH_AVFOUNDATION=OFF \ - -DWITH_CARBON=OFF \ - -DWITH_QUICKTIME=OFF - -# Non-Linux support (Windows options) must remain OFF: -OPENCV3_CONF_OPTS += \ - -DWITH_CSTRIPES=OFF \ - -DWITH_DSHOW=OFF \ - -DWITH_MSMF=OFF \ - -DWITH_VFW=OFF \ - -DWITH_VIDEOINPUT=OFF \ - -DWITH_WIN32UI=OFF - -# Software/3rd-party support options: -# - disable all examples -OPENCV3_CONF_OPTS += \ - -DBUILD_EXAMPLES=OFF \ - -DBUILD_JASPER=OFF \ - -DBUILD_JPEG=OFF \ - -DBUILD_OPENEXR=OFF \ - -DBUILD_PNG=OFF \ - -DBUILD_PROTOBUF=OFF \ - -DBUILD_TIFF=OFF \ - -DBUILD_ZLIB=OFF \ - -DINSTALL_C_EXAMPLES=OFF \ - -DINSTALL_PYTHON_EXAMPLES=OFF \ - -DINSTALL_TO_MANGLED_PATHS=OFF - -# Disabled features (mostly because they are not available in Buildroot), but -# - eigen: OpenCV does not use it, not take any benefit from it. -OPENCV3_CONF_OPTS += \ - -DWITH_1394=OFF \ - -DWITH_CLP=OFF \ - -DWITH_EIGEN=OFF \ - -DWITH_GDAL=OFF \ - -DWITH_GPHOTO2=OFF \ - -DWITH_GSTREAMER_0_10=OFF \ - -DWITH_LAPACK=OFF \ - -DWITH_MATLAB=OFF \ - -DWITH_OPENCL=OFF \ - -DWITH_OPENCL_SVM=OFF \ - -DWITH_OPENEXR=OFF \ - -DWITH_OPENNI2=OFF \ - -DWITH_OPENNI=OFF \ - -DWITH_UNICAP=OFF \ - -DWITH_VA=OFF \ - -DWITH_VA_INTEL=OFF \ - -DWITH_VTK=OFF \ - -DWITH_XINE=OFF - -OPENCV3_DEPENDENCIES += host-pkgconf zlib - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_FFMPEG),y) -OPENCV3_CONF_OPTS += -DWITH_FFMPEG=ON -OPENCV3_DEPENDENCIES += ffmpeg bzip2 -else -OPENCV3_CONF_OPTS += -DWITH_FFMPEG=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GSTREAMER1),y) -OPENCV3_CONF_OPTS += -DWITH_GSTREAMER=ON -OPENCV3_DEPENDENCIES += gstreamer1 gst1-plugins-base -else -OPENCV3_CONF_OPTS += -DWITH_GSTREAMER=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK)$(BR2_PACKAGE_OPENCV3_WITH_GTK3),) -OPENCV3_CONF_OPTS += -DWITH_GTK=OFF -DWITH_GTK_2_X=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK),y) -OPENCV3_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=ON -OPENCV3_DEPENDENCIES += libgtk2 -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK3),y) -OPENCV3_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=OFF -OPENCV3_DEPENDENCIES += libgtk3 -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_JASPER),y) -OPENCV3_CONF_OPTS += -DWITH_JASPER=ON -OPENCV3_DEPENDENCIES += jasper -else -OPENCV3_CONF_OPTS += -DWITH_JASPER=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_JPEG),y) -OPENCV3_CONF_OPTS += -DWITH_JPEG=ON -OPENCV3_DEPENDENCIES += jpeg -else -OPENCV3_CONF_OPTS += -DWITH_JPEG=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_OPENGL),y) -OPENCV3_CONF_OPTS += -DWITH_OPENGL=ON -OPENCV3_DEPENDENCIES += libgl -else -OPENCV3_CONF_OPTS += -DWITH_OPENGL=OFF -endif - -OPENCV3_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_TOOLCHAIN_HAS_OPENMP),ON,OFF) - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_PNG),y) -OPENCV3_CONF_OPTS += -DWITH_PNG=ON -OPENCV3_DEPENDENCIES += libpng -else -OPENCV3_CONF_OPTS += -DWITH_PNG=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_PROTOBUF),y) -# protobuf needs c++11 (since 3.6.0) -OPENCV3_CONF_OPTS += \ - -DENABLE_CXX11=ON \ - -DPROTOBUF_UPDATE_FILES=ON \ - -DWITH_PROTOBUF=ON -OPENCV3_DEPENDENCIES += protobuf -else -OPENCV3_CONF_OPTS += -DWITH_PROTOBUF=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_QT5),y) -OPENCV3_CONF_OPTS += -DWITH_QT=5 -OPENCV3_DEPENDENCIES += qt5base -else -OPENCV3_CONF_OPTS += -DWITH_QT=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_TIFF),y) -OPENCV3_CONF_OPTS += -DWITH_TIFF=ON -OPENCV3_DEPENDENCIES += tiff -else -OPENCV3_CONF_OPTS += -DWITH_TIFF=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_V4L),y) -OPENCV3_CONF_OPTS += \ - -DWITH_LIBV4L=$(if $(BR2_PACKAGE_LIBV4L),ON,OFF) \ - -DWITH_V4L=ON -OPENCV3_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBV4L),libv4l) -else -OPENCV3_CONF_OPTS += -DWITH_V4L=OFF -DWITH_LIBV4L=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_WITH_WEBP),y) -OPENCV3_CONF_OPTS += -DWITH_WEBP=ON -OPENCV3_DEPENDENCIES += webp -else -OPENCV3_CONF_OPTS += -DWITH_WEBP=OFF -endif - -ifeq ($(BR2_PACKAGE_OPENCV3_LIB_PYTHON),y) -OPENCV3_CONF_OPTS += \ - -DBUILD_opencv_python2=OFF \ - -DBUILD_opencv_python3=ON \ - -DPYTHON3_EXECUTABLE=$(HOST_DIR)/bin/python3 \ - -DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ - -DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR).so \ - -DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \ - -DPYTHON3_PACKAGES_PATH=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ - -DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION) -OPENCV3_DEPENDENCIES += python3 -OPENCV3_KEEP_PY_FILES += usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/cv2/config*.py -OPENCV3_CONF_ENV += $(PKG_PYTHON_DISTUTILS_ENV) -OPENCV3_DEPENDENCIES += python-numpy -else -OPENCV3_CONF_OPTS += \ - -DBUILD_opencv_python2=OFF \ - -DBUILD_opencv_python3=OFF -endif - -# Installation hooks: -define OPENCV3_CLEAN_INSTALL_LICENSE - $(RM) -fr $(TARGET_DIR)/usr/share/licenses/opencv3 -endef -OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_LICENSE - -define OPENCV3_CLEAN_INSTALL_CMAKE - $(RM) -f $(TARGET_DIR)/usr/share/OpenCV/OpenCV*.cmake -endef -OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_CMAKE - -define OPENCV3_CLEAN_INSTALL_VALGRIND - $(RM) -f $(TARGET_DIR)/usr/share/OpenCV/valgrind* -endef -OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_VALGRIND - -ifneq ($(BR2_PACKAGE_OPENCV3_INSTALL_DATA),y) -define OPENCV3_CLEAN_INSTALL_DATA - $(RM) -fr $(TARGET_DIR)/usr/share/OpenCV/haarcascades \ - $(TARGET_DIR)/usr/share/OpenCV/lbpcascades -endef -OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_DATA -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/openfpgaloader/Config.in b/buildroot-2021.05/package/openfpgaloader/Config.in deleted file mode 100644 index f1b34ef5..00000000 --- a/buildroot-2021.05/package/openfpgaloader/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_OPENFPGALOADER - bool "openfpgaloader" - depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi1 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi1 -> libusb - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_LIBFTDI1 - help - Universal utility for programming FPGA - - https://github.com/trabucayre/openFPGALoader/ - -comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/openfpgaloader/openfpgaloader.hash b/buildroot-2021.05/package/openfpgaloader/openfpgaloader.hash deleted file mode 100644 index 990149cd..00000000 --- a/buildroot-2021.05/package/openfpgaloader/openfpgaloader.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 ef3ed60297ab560f15cd4362d61b7da86c44b84e18937e0411023f8d1cf6a606 openfpgaloader-381c67de00a3102cf6e9bb20ca84030a71c7a0f2.tar.gz -sha256 8486a10c4393cee1c25392769ddd3b2d6c242d6ec7928e1414efff7dfb2f07ef LICENSE diff --git a/buildroot-2021.05/package/openfpgaloader/openfpgaloader.mk b/buildroot-2021.05/package/openfpgaloader/openfpgaloader.mk deleted file mode 100644 index 1bb3de37..00000000 --- a/buildroot-2021.05/package/openfpgaloader/openfpgaloader.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# openfpgaloader -# -################################################################################ - -OPENFPGALOADER_VERSION = 381c67de00a3102cf6e9bb20ca84030a71c7a0f2 -OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,$(OPENFPGALOADER_VERSION)) -OPENFPGALOADER_LICENSE = AGPL-3.0 -OPENFPGALOADER_LICENSE_FILES = LICENSE -OPENFPGALOADER_DEPENDENCIES = libftdi1 - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -OPENFPGALOADER_DEPENDENCIES += udev -OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=ON -else -OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/opengl/Config.in b/buildroot-2021.05/package/opengl/Config.in deleted file mode 100644 index cbc00142..00000000 --- a/buildroot-2021.05/package/opengl/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -source "package/opengl/libgl/Config.in" -source "package/opengl/libegl/Config.in" -source "package/opengl/libgles/Config.in" -source "package/opengl/libopencl/Config.in" -source "package/opengl/libopenvg/Config.in" -source "package/opengl/libopenmax/Config.in" diff --git a/buildroot-2021.05/package/openipmi/0001-Avoid-searching-host-library-path.patch b/buildroot-2021.05/package/openipmi/0001-Avoid-searching-host-library-path.patch deleted file mode 100644 index 44a57dcf..00000000 --- a/buildroot-2021.05/package/openipmi/0001-Avoid-searching-host-library-path.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Wed, 22 Jul 2015 07:04:33 +0300 -Subject: [PATCH] Avoid searching host library path - -The $(libdir) variable points to the location of the directory on the target -system, /usr/lib by default. When cross compiling this directory contains the -host libraries which may be different than target libraries. Don't use -$(libdir) in the library search path. - -Signed-off-by: Baruch Siach -Signed-off-by: Joel Stanley ---- - cmdlang/Makefile.am | 3 +-- - unix/Makefile.am | 6 ++---- - 2 files changed, 3 insertions(+), 6 deletions(-) - -diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am -index 264ee12be79f..0b3843784656 100644 ---- a/cmdlang/Makefile.am -+++ b/cmdlang/Makefile.am -@@ -15,8 +15,7 @@ libOpenIPMIcmdlang_la_SOURCES = cmdlang.c cmd_domain.c cmd_entity.c cmd_mc.c \ - libOpenIPMIcmdlang_la_LIBADD = -lm \ - $(top_builddir)/utils/libOpenIPMIutils.la \ - $(top_builddir)/lib/libOpenIPMI.la --libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ -- -L$(libdir) -+libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) - - bin_PROGRAMS = openipmish - -diff --git a/unix/Makefile.am b/unix/Makefile.am -index 5128839dad13..bd0f897ba8d6 100644 ---- a/unix/Makefile.am -+++ b/unix/Makefile.am -@@ -10,14 +10,12 @@ lib_LTLIBRARIES = libOpenIPMIposix.la libOpenIPMIpthread.la - libOpenIPMIpthread_la_SOURCES = posix_thread_os_hnd.c selector.c - libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \ - $(top_builddir)/utils/libOpenIPMIutils.la $(RT_LIB) --libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ -- -L$(libdir) -+libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) - - libOpenIPMIposix_la_SOURCES = posix_os_hnd.c selector.c - libOpenIPMIposix_la_LIBADD = $(top_builddir)/utils/libOpenIPMIutils.la \ - $(GDBM_LIB) $(RT_LIB) --libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ -- -L$(libdir) -+libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) - - noinst_HEADERS = heap.h - diff --git a/buildroot-2021.05/package/openipmi/openipmi.hash b/buildroot-2021.05/package/openipmi/openipmi.hash deleted file mode 100644 index 2ec9dd31..00000000 --- a/buildroot-2021.05/package/openipmi/openipmi.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library/ -sha1 be0c87743a38e2fa00586df931f021c0b480385b OpenIPMI-2.0.28.tar.gz -md5 ba37f08e306062ec73c7ed2a2bd4d5f4 OpenIPMI-2.0.28.tar.gz -# Locally computed -sha256 8e8b1de2a9a041b419133ecb21f956e999841cf2e759e973eeba9a36f8b40996 OpenIPMI-2.0.28.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING -sha256 185323a62589e7ee80f86bf2ea29caad9a09fdda0ea3f1c00db8b778c7edf60e COPYING.BSD -sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING.LIB diff --git a/buildroot-2021.05/package/openipmi/openipmi.mk b/buildroot-2021.05/package/openipmi/openipmi.mk deleted file mode 100644 index 3240b898..00000000 --- a/buildroot-2021.05/package/openipmi/openipmi.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# openipmi -# -################################################################################ - -OPENIPMI_VERSION = 2.0.28 -OPENIPMI_SITE = https://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library -OPENIPMI_SOURCE = OpenIPMI-$(OPENIPMI_VERSION).tar.gz -OPENIPMI_LICENSE = LGPL-2.0+, GPL-2.0+, BSD-3-Clause -OPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD -OPENIPMI_DEPENDENCIES = popt ncurses readline host-pkgconf -OPENIPMI_INSTALL_STAGING = YES -# Patching Makefile.am -OPENIPMI_AUTORECONF = YES -OPENIPMI_CONF_ENV = ac_cv_path_pkgprog="$(PKG_CONFIG_HOST_BINARY)" -OPENIPMI_CONF_OPTS = \ - --with-glib=no \ - --with-tcl=no \ - --with-perl=no \ - --with-python=no \ - --with-swig=no - -ifeq ($(BR2_PACKAGE_GDBM),y) -OPENIPMI_DEPENDENCIES += gdbm -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -OPENIPMI_DEPENDENCIES += openssl -OPENIPMI_CONF_OPTS += --with-openssl=yes -else -OPENIPMI_CONF_OPTS += --with-openssl=no -endif - -ifeq ($(BR2_PACKAGE_NETSNMP),y) -OPENIPMI_DEPENDENCIES += netsnmp -OPENIPMI_CONF_OPTS += --with-ucdsnmp=yes -else -OPENIPMI_CONF_OPTS += --with-ucdsnmp=no -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/openjdk-bin/openjdk-bin.hash b/buildroot-2021.05/package/openjdk-bin/openjdk-bin.hash deleted file mode 100644 index 04b3c42d..00000000 --- a/buildroot-2021.05/package/openjdk-bin/openjdk-bin.hash +++ /dev/null @@ -1,9 +0,0 @@ -# From https://github.com/AdoptOpenJDK/openjdk16-binaries/releases -sha256 7fdda042207efcedd30cd76d6295ed56b9c2e248cb3682c50898a560d4aa1c6f OpenJDK16U-jdk_x64_linux_hotspot_16.0.1_9.tar.gz - -# From https://github.com/AdoptOpenJDK/openjdk11-binaries/releases -sha256 e99b98f851541202ab64401594901e583b764e368814320eba442095251e78cb OpenJDK11U-jdk_x64_linux_hotspot_11.0.11_9.tar.gz - -# Locally calculated -sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE -sha256 a44eb7b5caf5534c6ef536b21edb40b4d6babf91bf97d9d45596868618b2c6fb legal/java.prefs/ASSEMBLY_EXCEPTION diff --git a/buildroot-2021.05/package/openjdk-bin/openjdk-bin.mk b/buildroot-2021.05/package/openjdk-bin/openjdk-bin.mk deleted file mode 100644 index b48155dc..00000000 --- a/buildroot-2021.05/package/openjdk-bin/openjdk-bin.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# host-openjdk-bin -# -################################################################################ - -ifeq ($(BR2_OPENJDK_VERSION_LATEST),y) -HOST_OPENJDK_BIN_VERSION_MAJOR = 16 -HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_9 -else -HOST_OPENJDK_BIN_VERSION_MAJOR = 11 -HOST_OPENJDK_BIN_VERSION_MINOR = 0.11_9 -endif -HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) -HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz -HOST_OPENJDK_BIN_SITE = https://github.com/AdoptOpenJDK/openjdk$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) - -HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception -HOST_OPENJDK_BIN_LICENSE_FILES = legal/java.prefs/LICENSE legal/java.prefs/ASSEMBLY_EXCEPTION - -HOST_OPENJDK_BIN_ROOT_DIR = $(HOST_DIR)/usr/lib/jvm - -# unpack200 has an invalid RPATH and relies on libzlib. When -# host-libzlib is installed on the system, the error "ERROR: package -# host-libzlib installs executables without proper RPATH: will occur. -# Because unpack200 is a deprecated tool, removing it to fix this -# issue is safe. -define HOST_OPENJDK_BIN_INSTALL_CMDS - mkdir -p $(HOST_OPENJDK_BIN_ROOT_DIR) - cp -dpfr $(@D)/* $(HOST_OPENJDK_BIN_ROOT_DIR) - $(RM) -f $(HOST_OPENJDK_BIN_ROOT_DIR)/bin/unpack200 -endef - -$(eval $(host-generic-package)) - -# variables used by other packages -JAVAC = $(HOST_OPENJDK_BIN_ROOT_DIR)/bin/javac diff --git a/buildroot-2021.05/package/openjdk/Config.in b/buildroot-2021.05/package/openjdk/Config.in deleted file mode 100644 index f2b7f5ff..00000000 --- a/buildroot-2021.05/package/openjdk/Config.in +++ /dev/null @@ -1,168 +0,0 @@ -config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS - bool - default y if BR2_HOSTARCH = "x86_64" - -# Taken from make/autoconf/platform.m4 -config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS - bool - default y if BR2_aarch64 - default y if BR2_arm - default y if BR2_i386 || BR2_x86_64 - default y if BR2_m68k - default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le - default y if BR2_sh - -config BR2_PACKAGE_OPENJDK - bool "openjdk" - depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS - depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS - depends on !BR2_SOFT_FLOAT - depends on !BR2_STATIC_LIBS # glibc - depends on BR2_INSTALL_LIBSTDCPP # cups - depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, cups, libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on BR2_USE_MMU # cups - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_ALSA_LIB_MIXER - select BR2_PACKAGE_ALSA_LIB_PCM - select BR2_PACKAGE_ALSA_LIB_RAWMIDI - select BR2_PACKAGE_ALSA_LIB_SEQ - select BR2_PACKAGE_CUPS - select BR2_PACKAGE_FONTCONFIG - select BR2_PACKAGE_GIFLIB - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LCMS2 - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_XLIB_LIBXRANDR - select BR2_PACKAGE_XLIB_LIBXRENDER - select BR2_PACKAGE_XLIB_LIBXT - select BR2_PACKAGE_XLIB_LIBXTST - select BR2_PACKAGE_ZLIB - help - OpenJDK is a free and open-source implementation of the - Java Platform. - - http://openjdk.java.net/ - -if BR2_PACKAGE_OPENJDK - -choice - prompt "openjdk version" - default BR2_OPENJDK_VERSION_LATEST - help - Select the version of OpenJDK you wish to use. - -config BR2_OPENJDK_VERSION_LTS - bool "LTS (OpenJDK 11)" - -config BR2_OPENJDK_VERSION_LATEST - bool "latest (OpenJDK 16)" - -endchoice - -config BR2_PACKAGE_OPENJDK_FULL_JDK - bool "Build the full JDK" - help - Install the full JDK instead of just the run time. - The full JDK includes several packages used for debugging and - development. Some useful tools included with the JDK are: - - javaws - Command line tool for launching Java Web Start and setting - various options. - - - jcmd: - JVM Diagnostic Commands tool: Sends diagnostic command - requests to a running Java Virtual Machine. - - - jinfo - Configuration Info for Java: Prints configuration - information for a given process or core file or a remote - debug server. - - - jmap - Memory Map for Java: Prints shared object memory maps or - heap memory details of a given process or core file or a - remote debug server. - - - jsadebugd - Serviceability Agent Debug Daemon for Java: Attaches to a - process or core file and acts as a debug server. - - - jstack - Stack Trace for Java - Prints a stack trace of threads for - a given process or core file or remote debug server. - - - jstat - JVM Statistics Monitoring Tool: Attaches to an - instrumented HotSpot Java virtual machine and collects and - logs performance statistics as specified by the command - line options. - - - jstatd - JVM jstat Daemon - Launches an RMI server application that - monitors for the creation and termination of instrumented - HotSpot Java virtual machines and provides an interface to - allow remote monitoring tools to attach to Java virtual - machines running on the local system. - - Note: - While the JDK also comes with several tools which can be used - for developing java applications on a target, Buildroot does - not support development on a target. Building the full JDK is - supported for debugging purposes only. - - Selecting this option increases the file system by - approximately 110M. - -choice - prompt "openjdk variant" - default BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER if !BR2_powerpc - default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_powerpc - -config BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT - bool "client" - depends on !BR2_powerpc - help - Quick loading, but slower run-time performance. - -config BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER - bool "server" - depends on !BR2_powerpc - help - Slower loading, but faster run-time performance. - -config BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO - bool "zero" - select BR2_PACKAGE_LIBFFI - help - A non-assembler variant with wide arch support, however - performance is less then client/server. - - http://openjdk.java.net/projects/zero - -endchoice -endif - -comment "openjdk needs X.Org" - depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_XORG7 - -comment "openjdk needs glibc, and a toolchain w/ wchar, dynamic library, threads, C++, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -comment "openjdk does not support soft float configurations" - depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on BR2_SOFT_FLOAT diff --git a/buildroot-2021.05/package/openjdk/openjdk.hash b/buildroot-2021.05/package/openjdk/openjdk.hash deleted file mode 100644 index ba6c4385..00000000 --- a/buildroot-2021.05/package/openjdk/openjdk.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 3b3aca61fe2834322e51636d99bcd09c4abba7d8a2cde231dbcbcbdedf829baf openjdk-16.0.1+9.tar.gz -sha256 55841c01dbe6606e0d5f88045fb2da02632ce3a2d9d9b25d030a06eadeee0f62 openjdk-11.0.11+9.tar.gz -sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE diff --git a/buildroot-2021.05/package/openjdk/openjdk.mk b/buildroot-2021.05/package/openjdk/openjdk.mk deleted file mode 100644 index cbb975ca..00000000 --- a/buildroot-2021.05/package/openjdk/openjdk.mk +++ /dev/null @@ -1,160 +0,0 @@ -################################################################################ -# -# openjdk -# -################################################################################ - -ifeq ($(BR2_OPENJDK_VERSION_LATEST),y) -OPENJDK_VERSION_MAJOR = 16 -OPENJDK_VERSION_MINOR = 0.1+9 -else -OPENJDK_VERSION_MAJOR = 11 -OPENJDK_VERSION_MINOR = 0.11+9 -endif -OPENJDK_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR) -OPENJDK_SITE = $(call github,openjdk,jdk$(OPENJDK_VERSION_MAJOR)u,jdk-$(OPENJDK_VERSION)) - -OPENJDK_LICENSE = GPL-2.0+ with exception -OPENJDK_LICENSE_FILES = LICENSE -OPENJDK_INSTALL_STAGING = YES - -# OpenJDK requires Alsa, cups, and X11 even for a headless build. -# host-zip is needed for the zip executable. -OPENJDK_DEPENDENCIES = \ - host-gawk \ - host-openjdk-bin \ - host-pkgconf \ - host-zip \ - host-zlib \ - alsa-lib \ - cups \ - fontconfig \ - giflib \ - jpeg \ - lcms2 \ - libpng \ - libusb \ - xlib_libXrandr \ - xlib_libXrender \ - xlib_libXt \ - xlib_libXtst \ - zlib - -# JVM variants -ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT),y) -OPENJDK_JVM_VARIANT = client -endif -ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER),y) -OPENJDK_JVM_VARIANT = server -endif -ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO),y) -OPENJDK_JVM_VARIANT = zero -OPENJDK_DEPENDENCIES += libffi -endif - -ifeq ($(BR2_PACKAGE_OPENJDK_FULL_JDK),y) -OPENJDK_VARIANT = jdk -OPENJDK_MAKE_TARGET = jdk-image -else -OPENJDK_VARIANT = jre -OPENJDK_MAKE_TARGET = legacy-jre-image -endif - -# OpenJDK installs a file named 'modules' in jre/lib, which gets installed as -# /usr/lib/modules. However, with a merged /usr, this conflicts with the -# directory named 'modules' installed by the kernel. If OpenJDK gets built -# after the kernel, this manifests itself with: "cp: cannot overwrite -# directory '/usr/lib/modules with non-directory." -OPENJDK_INSTALL_BASE = /usr/lib/jvm - -# OpenJDK ignores some variables unless passed via the environment. -# These variables are PATH, LD, CC, CXX, and CPP. -# OpenJDK defaults ld to the ld binary but passes -Xlinker and -z as -# arguments during the linking process, which causes compilation failures. -# To fix this issue, LD is set to point to gcc. -OPENJDK_CONF_ENV = \ - PATH=$(BR_PATH) \ - CC=$(TARGET_CC) \ - CPP=$(TARGET_CPP) \ - CXX=$(TARGET_CXX) \ - LD=$(TARGET_CC) \ - BUILD_SYSROOT_CFLAGS="$(HOST_CFLAGS)" \ - BUILD_SYSROOT_LDFLAGS="$(HOST_LDFLAGS)" - -OPENJDK_CONF_OPTS = \ - --disable-full-docs \ - --disable-hotspot-gtest \ - --disable-manpages \ - --disable-warnings-as-errors \ - --enable-headless-only \ - --enable-openjdk-only \ - --enable-unlimited-crypto \ - --openjdk-target=$(GNU_TARGET_NAME) \ - --with-boot-jdk=$(HOST_OPENJDK_BIN_ROOT_DIR) \ - --with-stdc++lib=dynamic \ - --with-debug-level=release \ - --with-devkit=$(HOST_DIR) \ - --with-extra-cflags="$(TARGET_CFLAGS)" \ - --with-extra-cxxflags="$(TARGET_CXXFLAGS)" \ - --with-extra-ldflags="-Wl,-rpath,$(OPENJDK_INSTALL_BASE)/lib,-rpath,$(OPENJDK_INSTALL_BASE)/lib/$(OPENJDK_JVM_VARIANT)" \ - --with-giflib=system \ - --with-jobs=$(PARALLEL_JOBS) \ - --with-jvm-variants=$(OPENJDK_JVM_VARIANT) \ - --with-lcms=system \ - --with-libjpeg=system \ - --with-libpng=system \ - --with-zlib=system \ - --with-native-debug-symbols=none \ - --without-version-pre \ - --with-sysroot=$(STAGING_DIR) \ - --with-version-build="$(OPENJDK_VERSION_MAJOR)" \ - --with-version-string="$(OPENJDK_VERSION_MAJOR)" - -# If building for AArch64, use the provided CPU port. -ifeq ($(BR2_aarch64),y) -OPENJDK_CONF_OPTS += --with-abi-profile=aarch64 -endif - -ifeq ($(BR2_CCACHE),y) -OPENJDK_CONF_OPTS += \ - --enable-ccache \ - --with-ccache-dir=$(BR2_CCACHE_DIR) -endif - -# Autogen and configure are performed in a single step. -define OPENJDK_CONFIGURE_CMDS - chmod +x $(@D)/configure - cd $(@D); $(OPENJDK_CONF_ENV) ./configure autogen $(OPENJDK_CONF_OPTS) -endef - -# Make -jn is unsupported. Instead, set the "--with-jobs=" configure option, -# and use $(MAKE1). -define OPENJDK_BUILD_CMDS - $(TARGET_MAKE_ENV) $(OPENJDK_CONF_ENV) $(MAKE1) -C $(@D) $(OPENJDK_MAKE_TARGET) -endef - -# Calling make install always builds and installs the JDK instead of the JRE, -# which makes manual installation necessary. -define OPENJDK_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)$(OPENJDK_INSTALL_BASE) - cp -dpfr $(@D)/build/linux-*-release/images/$(OPENJDK_VARIANT)/* \ - $(TARGET_DIR)$(OPENJDK_INSTALL_BASE)/ - cd $(TARGET_DIR)/usr/bin && ln -snf ../..$(OPENJDK_INSTALL_BASE)/bin/* . -endef - -define OPENJDK_INSTALL_STAGING_CMDS - mkdir -p $(STAGING_DIR)/usr/include/jvm - cp -dpfr $(@D)/build/linux-*-release/jdk/include/* \ - $(STAGING_DIR)/usr/include/jvm -endef - -# Demos and includes are not needed on the target -ifeq ($(BR2_PACKAGE_OPENJDK_FULL_JDK),y) -define OPENJDK_REMOVE_UNEEDED_JDK_DIRECTORIES - $(RM) -r $(TARGET_DIR)$(OPENJDK_INSTALL_BASE)/include/ - $(RM) -r $(TARGET_DIR)$(OPENJDK_INSTALL_BASE)/demo/ -endef -OPENJDK_TARGET_FINALIZE_HOOKS += OPENJDK_REMOVE_UNEEDED_JDK_DIRECTORIES -endif - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openlayers/openlayers.hash b/buildroot-2021.05/package/openlayers/openlayers.hash deleted file mode 100644 index 23683bd6..00000000 --- a/buildroot-2021.05/package/openlayers/openlayers.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed: -sha256 ab80014b15963404ec269a71f563fd3568581c55de160d5663600ea0787cf568 v6.5.0-dist.zip diff --git a/buildroot-2021.05/package/openlayers/openlayers.mk b/buildroot-2021.05/package/openlayers/openlayers.mk deleted file mode 100644 index db464ef8..00000000 --- a/buildroot-2021.05/package/openlayers/openlayers.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# openlayers -# -################################################################################ - -OPENLAYERS_VERSION = 6.5.0 -OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-dist.zip -OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION) -OPENLAYERS_LICENSE = BSD-2-Clause -# There's no separate license file in the archive, only minified files. - -define OPENLAYERS_EXTRACT_CMDS - unzip $(OPENLAYERS_DL_DIR)/$(OPENLAYERS_SOURCE) -d $(@D) - mv $(@D)/v$(OPENLAYERS_VERSION)-dist/* $(@D) - rmdir $(@D)/v$(OPENLAYERS_VERSION)-dist/ -endef - -define OPENLAYERS_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/ol.css $(TARGET_DIR)/var/www/ol.css - $(INSTALL) -D -m 0644 $(@D)/ol.js $(TARGET_DIR)/var/www/ol.js -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openldap/Config.in b/buildroot-2021.05/package/openldap/Config.in deleted file mode 100644 index bd39d0d0..00000000 --- a/buildroot-2021.05/package/openldap/Config.in +++ /dev/null @@ -1,27 +0,0 @@ -config BR2_PACKAGE_OPENLDAP - bool "openldap" - depends on BR2_USE_WCHAR - depends on BR2_USE_MMU # needs fork() - help - OpenLDAP Software is an open source implementation of the - Lightweight Directory Access Protocol. - - This only installs client-side support. - - http://www.openldap.org/ - -if BR2_PACKAGE_OPENLDAP - -config BR2_PACKAGE_OPENLDAP_CLIENTS - bool "openldap client binaries" - default y - help - Install the OpenLDAP client tools (ldapadd, ldapcompare, - ldapdelete, ldapexop, ldapmodify, ldapmodrdn, ldappasswd, - ldapsearch, ldapurl, ldapwhoami) - -endif - -comment "openldap needs a toolchain w/ wchar" - depends on BR2_USE_MMU # needs fork() - depends on !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/openldap/openldap.hash b/buildroot-2021.05/package/openldap/openldap.hash deleted file mode 100644 index 8ce50d61..00000000 --- a/buildroot-2021.05/package/openldap/openldap.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.58.md5 -md5 c203d735ba69976e5b28dc39006f29b5 openldap-2.4.58.tgz -# From https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.58.sha1 -sha1 875416827be3ad63f20004510a354db0aaceb2ed openldap-2.4.58.tgz -# Locally computed -sha256 57b59254be15d0bf6a9ab3d514c1c05777b02123291533134a87c94468f8f47b openldap-2.4.58.tgz -sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/buildroot-2021.05/package/openldap/openldap.mk b/buildroot-2021.05/package/openldap/openldap.mk deleted file mode 100644 index 3b35b4da..00000000 --- a/buildroot-2021.05/package/openldap/openldap.mk +++ /dev/null @@ -1,73 +0,0 @@ -################################################################################ -# -# openldap -# -################################################################################ - -OPENLDAP_VERSION = 2.4.58 -OPENLDAP_SOURCE = openldap-$(OPENLDAP_VERSION).tgz -OPENLDAP_SITE = https://www.openldap.org/software/download/OpenLDAP/openldap-release -OPENLDAP_LICENSE = OpenLDAP Public License -OPENLDAP_LICENSE_FILES = LICENSE -OPENLDAP_CPE_ID_VENDOR = openldap -OPENLDAP_INSTALL_STAGING = YES -OPENLDAP_DEPENDENCIES = host-pkgconf - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -OPENLDAP_TLS = openssl -OPENLDAP_DEPENDENCIES += openssl -else ifeq ($(BR2_PACKAGE_GNUTLS),y) -OPENLDAP_TLS = gnutls -OPENLDAP_DEPENDENCIES += gnutls -else ifeq ($(BR2_PACKAGE_LIBNSS),y) -OPENLDAP_TLS = moznss -OPENLDAP_DEPENDENCIES += libnss -OPENLDAP_CPPFLAGS = \ - -I$(STAGING_DIR)/usr/include/nss \ - -I$(STAGING_DIR)/usr/include/nspr -else -OPENLDAP_TLS = no -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -OPENLDAP_MP = bignum -OPENLDAP_DEPENDENCIES += openssl -OPENLDAP_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" -else ifeq ($(BR2_PACKAGE_GMP),y) -OPENLDAP_MP = gmp -OPENLDAP_DEPENDENCIES += gmp -else -OPENLDAP_MP = longlong -endif - -OPENLDAP_CONF_ENV += ac_cv_func_memcmp_working=yes - -OPENLDAP_CONF_OPTS += \ - --enable-syslog \ - --disable-proctitle \ - --disable-slapd \ - --with-yielding-select \ - --sysconfdir=/etc \ - --enable-dynamic=$(if $(BR2_STATIC_LIBS),no,yes) \ - --with-tls=$(OPENLDAP_TLS) \ - --with-mp=$(OPENLDAP_MP) \ - CPPFLAGS="$(TARGET_CPPFLAGS) $(OPENLDAP_CPPFLAGS)" - -# Somehow, ${STRIP} does not percolates through to the shtool script -# used to install the executables; thus, that script tries to run the -# executable it is supposed to install, resulting in an error. -OPENLDAP_MAKE_ENV = STRIP="$(TARGET_STRIP)" - -ifeq ($(BR2_PACKAGE_OPENLDAP_CLIENTS),) -OPENLDAP_CLIENTS = \ - ldapurl ldapexop ldapcompare ldapwhoami \ - ldappasswd ldapmodrdn ldapdelete ldapmodify \ - ldapsearch -define OPENLDAP_REMOVE_CLIENTS - $(RM) -f $(foreach p,$(OPENLDAP_CLIENTS),$(TARGET_DIR)/usr/bin/$(p)) - $(RM) -rf $(TARGET_DIR)/etc/openldap -endef -OPENLDAP_POST_INSTALL_TARGET_HOOKS += OPENLDAP_REMOVE_CLIENTS -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/openmpi/openmpi-mips32-fortran.cache b/buildroot-2021.05/package/openmpi/openmpi-mips32-fortran.cache deleted file mode 100644 index 473f73a2..00000000 --- a/buildroot-2021.05/package/openmpi/openmpi-mips32-fortran.cache +++ /dev/null @@ -1,51 +0,0 @@ -ompi_cv_fortran_sizeof_CHARACTER=1 -ompi_cv_fortran_sizeof_LOGICAL=4 -ompi_cv_fortran_sizeof_LOGICALp1=1 -ompi_cv_fortran_sizeof_LOGICALp2=2 -ompi_cv_fortran_sizeof_LOGICALp4=4 -ompi_cv_fortran_sizeof_LOGICALp8=8 -ompi_cv_fortran_sizeof_INTEGER=4 -ompi_cv_fortran_sizeof_INTEGERp1=1 -ompi_cv_fortran_sizeof_INTEGERp2=2 -ompi_cv_fortran_sizeof_INTEGERp4=4 -ompi_cv_fortran_sizeof_INTEGERp8=8 -ompi_cv_fortran_sizeof_REAL=4 -ompi_cv_fortran_sizeof_REALp4=4 -ompi_cv_fortran_sizeof_REALp8=8 -ompi_cv_fortran_sizeof_DOUBLE_PRECISION=8 -ompi_cv_fortran_sizeof_COMPLEX=8 -ompi_cv_fortran_sizeof_COMPLEXp8=8 -ompi_cv_fortran_sizeof_COMPLEXp16=16 -ompi_cv_fortran_sizeof_DOUBLE_COMPLEX=16 -ompi_cv_fortran_alignment_CHARACTER=1 -ompi_cv_fortran_alignment_LOGICAL=4 -ompi_cv_fortran_alignment_LOGICALp1=1 -ompi_cv_fortran_alignment_LOGICALp2=2 -ompi_cv_fortran_alignment_LOGICALp4=4 -ompi_cv_fortran_alignment_LOGICALp8=8 -ompi_cv_fortran_alignment_INTEGER=4 -ompi_cv_fortran_alignment_INTEGERp1=1 -ompi_cv_fortran_alignment_INTEGERp2=2 -ompi_cv_fortran_alignment_INTEGERp4=4 -ompi_cv_fortran_alignment_INTEGERp8=8 -ompi_cv_fortran_alignment_REAL=4 -ompi_cv_fortran_alignment_REALp4=4 -ompi_cv_fortran_alignment_REALp8=8 -ompi_cv_fortran_alignment_DOUBLE_PRECISION=8 -ompi_cv_fortran_alignment_COMPLEX=4 -ompi_cv_fortran_alignment_COMPLEXp8=4 -ompi_cv_fortran_alignment_COMPLEXp16=8 -ompi_cv_fortran_alignment_DOUBLE_COMPLEX=8 -ompi_cv_fortran_kind_value_C_SIGNED_CHAR=1 -ompi_cv_fortran_kind_value_C_SHORT=2 -ompi_cv_fortran_kind_value_C_INT=4 -ompi_cv_fortran_kind_value_C_INT16_T=2 -ompi_cv_fortran_kind_value_C_INT32_T=4 -ompi_cv_fortran_kind_value_C_INT64_T=8 -ompi_cv_fortran_kind_value_C_LONG_LONG=8 -ompi_cv_fortran_kind_value_C_FLOAT=4 -ompi_cv_fortran_kind_value_C_FLOAT_COMPLEX=4 -ompi_cv_fortran_kind_value_C_DOUBLE=8 -ompi_cv_fortran_kind_value_C_DOUBLE_COMPLEX=8 -ompi_cv_fortran_true_value=1 -ompi_cv_fortran_sizeof_type_test_mpi_handle_=4 diff --git a/buildroot-2021.05/package/openmpi/openmpi-mips64-fortran.cache b/buildroot-2021.05/package/openmpi/openmpi-mips64-fortran.cache deleted file mode 100644 index 7f020997..00000000 --- a/buildroot-2021.05/package/openmpi/openmpi-mips64-fortran.cache +++ /dev/null @@ -1,60 +0,0 @@ -ompi_cv_fortran_sizeof_CHARACTER=1 -ompi_cv_fortran_sizeof_LOGICAL=4 -ompi_cv_fortran_sizeof_LOGICALp1=1 -ompi_cv_fortran_sizeof_LOGICALp2=2 -ompi_cv_fortran_sizeof_LOGICALp4=4 -ompi_cv_fortran_sizeof_LOGICALp8=8 -ompi_cv_fortran_sizeof_INTEGER=4 -ompi_cv_fortran_sizeof_INTEGERp1=1 -ompi_cv_fortran_sizeof_INTEGERp2=2 -ompi_cv_fortran_sizeof_INTEGERp4=4 -ompi_cv_fortran_sizeof_INTEGERp8=8 -ompi_cv_fortran_sizeof_INTEGERp16=16 -ompi_cv_fortran_sizeof_REAL=4 -ompi_cv_fortran_sizeof_REALp4=4 -ompi_cv_fortran_sizeof_REALp8=8 -ompi_cv_fortran_sizeof_REALp16=16 -ompi_cv_fortran_sizeof_DOUBLE_PRECISION=8 -ompi_cv_fortran_sizeof_COMPLEX=8 -ompi_cv_fortran_sizeof_COMPLEXp8=8 -ompi_cv_fortran_sizeof_COMPLEXp16=16 -ompi_cv_fortran_sizeof_COMPLEXp32=32 -ompi_cv_fortran_sizeof_DOUBLE_COMPLEX=16 -ompi_cv_fortran_alignment_CHARACTER=1 -ompi_cv_fortran_alignment_LOGICAL=4 -ompi_cv_fortran_alignment_LOGICALp1=1 -ompi_cv_fortran_alignment_LOGICALp2=2 -ompi_cv_fortran_alignment_LOGICALp4=4 -ompi_cv_fortran_alignment_LOGICALp8=8 -ompi_cv_fortran_alignment_INTEGER=4 -ompi_cv_fortran_alignment_INTEGERp1=1 -ompi_cv_fortran_alignment_INTEGERp2=2 -ompi_cv_fortran_alignment_INTEGERp4=4 -ompi_cv_fortran_alignment_INTEGERp8=8 -ompi_cv_fortran_alignment_REAL=4 -ompi_cv_fortran_alignment_REALp4=4 -ompi_cv_fortran_alignment_REALp8=8 -ompi_cv_fortran_alignment_REALp16=16 -ompi_cv_fortran_alignment_DOUBLE_PRECISION=8 -ompi_cv_fortran_alignment_COMPLEX=4 -ompi_cv_fortran_alignment_COMPLEXp8=4 -ompi_cv_fortran_alignment_COMPLEXp16=8 -ompi_cv_fortran_alignment_COMPLEXp32=16 -ompi_cv_fortran_alignment_DOUBLE_COMPLEX=8 -ompi_cv_fortran_kind_value_C_SIGNED_CHAR=1 -ompi_cv_fortran_kind_value_C_SHORT=2 -ompi_cv_fortran_kind_value_C_INT=4 -ompi_cv_fortran_kind_value_C_INT16_T=2 -ompi_cv_fortran_kind_value_C_INT32_T=4 -ompi_cv_fortran_kind_value_C_INT64_T=8 -ompi_cv_fortran_kind_value_C_LONG_LONG=8 -ompi_cv_fortran_kind_value_C_LONG_DOUBLE=16 -ompi_cv_fortran_kind_value_C_LONG_DOUBLE_COMPLEX=16 -ompi_cv_fortran_kind_value_C_FLOAT=4 -ompi_cv_fortran_kind_value_C_FLOAT_COMPLEX=4 -ompi_cv_fortran_kind_value_C_DOUBLE=8 -ompi_cv_fortran_kind_value_C_DOUBLE_COMPLEX=8 -ompi_cv_fortran_kind_value_0=0 -ompi_cv_real16_c_equiv=yes -ompi_cv_fortran_true_value=1 -ompi_cv_fortran_sizeof_type_test_mpi_handle_=4 diff --git a/buildroot-2021.05/package/openntpd/ntpd.service b/buildroot-2021.05/package/openntpd/ntpd.service deleted file mode 100644 index a4ffa731..00000000 --- a/buildroot-2021.05/package/openntpd/ntpd.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=OpenNTP Daemon -After=network.target -Conflicts=systemd-timesyncd.service - -[Service] -Type=simple -ExecStart=/usr/sbin/ntpd -s -d - -[Install] -WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/openocd/0002-CVE-2018-5704-Prevent-some-forms-of-Cross-Protocol-S.patch b/buildroot-2021.05/package/openocd/0002-CVE-2018-5704-Prevent-some-forms-of-Cross-Protocol-S.patch deleted file mode 100644 index ba19bf57..00000000 --- a/buildroot-2021.05/package/openocd/0002-CVE-2018-5704-Prevent-some-forms-of-Cross-Protocol-S.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 3a223ca3ebc7ac24d7726a0cd58e5695bc813657 Mon Sep 17 00:00:00 2001 -From: Andreas Fritiofson -Date: Sat, 13 Jan 2018 21:00:47 +0100 -Subject: [PATCH] CVE-2018-5704: Prevent some forms of Cross Protocol Scripting - attacks - -OpenOCD can be targeted by a Cross Protocol Scripting attack from -a web browser running malicious code, such as the following PoC: - -var x = new XMLHttpRequest(); -x.open("POST", "http://127.0.0.1:4444", true); -x.send("exec xcalc\r\n"); - -This mitigation should provide some protection from browser-based -attacks and is based on the corresponding fix in Redis: - -https://github.com/antirez/redis/blob/8075572207b5aebb1385c4f233f5302544439325/src/networking.c#L1758 - - -Upstream-status: Under review: http://openocd.zylin.com/#/c/4335/ -Change-Id: Ia96ebe19b74b5805dc228bf7364c7971a90a4581 -Signed-off-by: Andreas Fritiofson -Reported-by: Josef Gajdusek -Signed-off-by: Peter Korsgaard ---- - src/server/startup.tcl | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/src/server/startup.tcl b/src/server/startup.tcl -index 64ace407..dd1b31e4 100644 ---- a/src/server/startup.tcl -+++ b/src/server/startup.tcl -@@ -8,3 +8,14 @@ proc ocd_gdb_restart {target_id} { - # one target - reset halt - } -+ -+proc prevent_cps {} { -+ echo "Possible SECURITY ATTACK detected." -+ echo "It looks like somebody is sending POST or Host: commands to OpenOCD." -+ echo "This is likely due to an attacker attempting to use Cross Protocol Scripting" -+ echo "to compromise your OpenOCD instance. Connection aborted." -+ exit -+} -+ -+proc POST {args} { prevent_cps } -+proc Host: {args} { prevent_cps } --- -2.11.0 - diff --git a/buildroot-2021.05/package/openocd/0003-bitbang-Fix-FTBFS-with-GCC-10.patch b/buildroot-2021.05/package/openocd/0003-bitbang-Fix-FTBFS-with-GCC-10.patch deleted file mode 100644 index cf835152..00000000 --- a/buildroot-2021.05/package/openocd/0003-bitbang-Fix-FTBFS-with-GCC-10.patch +++ /dev/null @@ -1,37 +0,0 @@ -From c60252ac2b636c4d99b766a574b9df0966151696 Mon Sep 17 00:00:00 2001 -From: Andreas Fritiofson -Date: Fri, 17 Apr 2020 13:49:28 +0200 -Subject: [PATCH] bitbang: Fix FTBFS with GCC 10 - -GCC 10 defaults to -fno-common which breaks the sharing of bitbang_swd -struct between bitbang drivers due to a missing extern. - -Change-Id: I2b4122f7939cec91a72284006748f99a23548324 -Signed-off-by: Andreas Fritiofson -Reviewed-on: http://openocd.zylin.com/5592 -Tested-by: jenkins -Reviewed-by: Antonio Borneo -Reviewed-by: Jonathan McDowell - -Patch taken from upstream: https://github.com/ntfreak/openocd/commit/c60252ac2b636c4d99b766a574b9df0966151696 -Signed-off-by: Heiko Thiery ---- - src/jtag/drivers/bitbang.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/jtag/drivers/bitbang.h b/src/jtag/drivers/bitbang.h -index edb779ca..bbbc693d 100644 ---- a/src/jtag/drivers/bitbang.h -+++ b/src/jtag/drivers/bitbang.h -@@ -56,7 +56,7 @@ struct bitbang_interface { - void (*swdio_drive)(bool on); - }; - --const struct swd_driver bitbang_swd; -+extern const struct swd_driver bitbang_swd; - - extern bool swd_mode; - --- -2.20.1 - diff --git a/buildroot-2021.05/package/openocd/Config.in b/buildroot-2021.05/package/openocd/Config.in deleted file mode 100644 index f2e79f29..00000000 --- a/buildroot-2021.05/package/openocd/Config.in +++ /dev/null @@ -1,236 +0,0 @@ -config BR2_PACKAGE_OPENOCD - bool "openocd" - select BR2_PACKAGE_JIMTCL - help - OpenOCD - Open On-Chip Debugger - - http://openocd.sourceforge.net/ - -if BR2_PACKAGE_OPENOCD - -comment "Adapters" - -config BR2_PACKAGE_OPENOCD_CMSIS_DAP - bool "CMSIS-DAP compliant debuggers" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - depends on BR2_PACKAGE_HAS_UDEV # hidapi - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_HIDAPI - help - Enable support for CMSIS-DAP compliant debuggers (i.e - Atmel/Microchip EDBG, etc.) - -config BR2_PACKAGE_OPENOCD_FTDI - bool "MPSSE mode of FTDI based devices" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Enable building support for the MPSSE mode of FTDI - (FT2xxx/FT4xxx) based devices (default is auto) - -config BR2_PACKAGE_OPENOCD_STLINK - bool "ST-Link JTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Enable building support for the ST-Link JTAG - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_TI_ICDI - bool "TI ICDI JTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Enable building support for the TI ICDI JTAG - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_ULINK - bool "Keil ULINK JTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Enable building support for the Keil ULINK JTAG - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_UBLASTER2 - bool "Altera USB-Blaster II Compatible" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Enable building support for the Altera USB-Blaster - II Compatible (default is auto) - -config BR2_PACKAGE_OPENOCD_JLINK - bool "Segger J-Link JTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Segger J-Link JTAG Programmer and clone such as Atmel - SAM-ICE - -config BR2_PACKAGE_OPENOCD_OSDBM - bool "OSDBM JTAG (only) Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Enable building support for the OSBDM (JTAG only) - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_OPENDOUS - bool "eStick/opendous JTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Enable building support for the eStick/opendous JTAG - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_AICE - bool "Andes JTAG Programmer" - depends on BR2_USE_MMU # use fork() - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - Enable building support for the Andes JTAG - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_VSLLINK - bool "Versaloon-Link JTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT - help - Enable building support for the Versaloon-Link JTAG - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_USBPROG - bool "USBProg JTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT - help - Enable building support for the USBProg JTAG - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_RLINK - bool "Raisonance RLink JTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT - help - Enable building support for the Raisonance RLink - JTAG Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_ARMEW - bool "Olimex ARM-JTAG-EW Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT - help - Enable building support for the Olimex ARM-JTAG-EW - Programmer (default is auto) - -config BR2_PACKAGE_OPENOCD_PARPORT - bool "pc parallel port driver" - help - Enable building the pc parallel port driver - -config BR2_PACKAGE_OPENOCD_VPI - bool "JTAG VPI" - help - Enable building support for JTAG VPI - -config BR2_PACKAGE_OPENOCD_UBLASTER - bool "Altera USB-Blaster" - depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb - select BR2_PACKAGE_LIBFTDI1 - help - Enable building support for the Altera USB-Blaster - using the libftdi driver, opensource alternate of - FTD2XX - -config BR2_PACKAGE_OPENOCD_AMTJT - bool "Amontec JTAG-Accelerator" - help - Enable building the Amontec JTAG-Accelerator driver - -if BR2_arm - -config BR2_PACKAGE_OPENOCD_EP93XX - bool "EP93xx based SBCs" - help - Enable building support for EP93xx based SBCs - -config BR2_PACKAGE_OPENOCD_AT91RM - bool "AT91RM9200 based SBCs" - help - Enable building support for AT91RM9200 based SBCs - -config BR2_PACKAGE_OPENOCD_BCM2835 - bool "bitbanging on BCM2835" - help - Enable building support for bitbanging on BCM2835 - (as found in Raspberry Pi) - -endif # BR2_arm - -config BR2_PACKAGE_OPENOCD_GW16012 - bool "Gateworks GW16012 JTAG Programmer" - help - Enable building support for the Gateworks GW16012 - JTAG Programmer - -config BR2_PACKAGE_OPENOCD_PRESTO - bool "ASIX Presto Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb - select BR2_PACKAGE_LIBFTDI1 - help - Enable building support for ASIX Presto Programmer - using the libftdi driver - -config BR2_PACKAGE_OPENOCD_OPENJTAG - bool "OpenJTAG Programmer" - depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb - select BR2_PACKAGE_LIBFTDI1 - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT # needs usb.h - help - Enable building support for the OpenJTAG Programmer - with ftdi driver - -config BR2_PACKAGE_OPENOCD_BUSPIRATE - bool "Buspirate" - help - Enable building support for the Buspirate - -config BR2_PACKAGE_OPENOCD_SYSFS - bool "programming via sysfs gpios" - help - Enable building support for programming driven via - sysfs gpios. - -# Many adapters need libusb or libusb-compat, which require threads and -# gcc >= 4.9 but we don't want to duplicate this comment for all -# adapters that select libusb or libusb-compat. -comment "many openocd adapters needs a toolchain w/ threads, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -endif # BR2_PACKAGE_OPENOCD diff --git a/buildroot-2021.05/package/openocd/openocd.hash b/buildroot-2021.05/package/openocd/openocd.hash deleted file mode 100644 index 3fb817b4..00000000 --- a/buildroot-2021.05/package/openocd/openocd.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://sourceforge.net/projects/openocd/files/openocd/0.10.0/ -sha1 3245d43d60a1a93f8b0f6b1ce20b53e38cab7a4a openocd-0.10.0.tar.bz2 -md5 b412bdef0481a3859c6585eb69f6f6ba openocd-0.10.0.tar.bz2 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/openocd/openocd.mk b/buildroot-2021.05/package/openocd/openocd.mk deleted file mode 100644 index 7887f3a6..00000000 --- a/buildroot-2021.05/package/openocd/openocd.mk +++ /dev/null @@ -1,122 +0,0 @@ -################################################################################ -# -# openocd -# -################################################################################ - -OPENOCD_VERSION = 0.10.0 -OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2 -OPENOCD_SITE = http://sourceforge.net/projects/openocd/files/openocd/$(OPENOCD_VERSION) -OPENOCD_LICENSE = GPL-2.0+ -OPENOCD_LICENSE_FILES = COPYING -# 0002-configure-enable-build-on-uclinux.patch patches configure.ac -OPENOCD_AUTORECONF = YES -OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" - -OPENOCD_CONF_OPTS = \ - --oldincludedir=$(STAGING_DIR)/usr/include \ - --includedir=$(STAGING_DIR)/usr/include \ - --disable-doxygen-html \ - --disable-internal-jimtcl \ - --disable-shared \ - --enable-dummy \ - --disable-werror - -# Rely on the Config.in options of each individual adapter selecting -# the dependencies they need. - -OPENOCD_DEPENDENCIES = \ - host-pkgconf \ - jimtcl \ - $(if $(BR2_PACKAGE_LIBFTDI1),libftdi1) \ - $(if $(BR2_PACKAGE_LIBUSB),libusb) \ - $(if $(BR2_PACKAGE_LIBUSB_COMPAT),libusb-compat) \ - $(if $(BR2_PACKAGE_LIBHID),libhid) \ - $(if $(BR2_PACKAGE_HIDAPI),hidapi) - -# Adapters -OPENOCD_CONF_OPTS += \ - $(if $(BR2_PACKAGE_OPENOCD_FTDI),--enable-ftdi,--disable-ftdi) \ - $(if $(BR2_PACKAGE_OPENOCD_STLINK),--enable-stlink,--disable-stlink) \ - $(if $(BR2_PACKAGE_OPENOCD_TI_ICDI),--enable-ti-icdi,--disable-ti-icdi) \ - $(if $(BR2_PACKAGE_OPENOCD_ULINK),--enable-ulink,--disable-ulink) \ - $(if $(BR2_PACKAGE_OPENOCD_UBLASTER2),--enable-usb-blaster-2,--disable-usb-blaster-2) \ - $(if $(BR2_PACKAGE_OPENOCD_JLINK),--enable-jlink,--disable-jlink) \ - $(if $(BR2_PACKAGE_OPENOCD_OSDBM),--enable-osbdm,--disable-osbdm) \ - $(if $(BR2_PACKAGE_OPENOCD_OPENDOUS),--enable-opendous,--disable-opendous) \ - $(if $(BR2_PACKAGE_OPENOCD_AICE),--enable-aice,--disable-aice) \ - $(if $(BR2_PACKAGE_OPENOCD_VSLLINK),--enable-vsllink,--disable-vsllink) \ - $(if $(BR2_PACKAGE_OPENOCD_USBPROG),--enable-usbprog,--disable-usbprog) \ - $(if $(BR2_PACKAGE_OPENOCD_RLINK),--enable-rlink,--disable-rlink) \ - $(if $(BR2_PACKAGE_OPENOCD_ARMEW),--enable-armjtagew,--disable-armjtagew) \ - $(if $(BR2_PACKAGE_OPENOCD_CMSIS_DAP),--enable-cmsis-dap,--disable-cmsis-dap) \ - $(if $(BR2_PACKAGE_OPENOCD_PARPORT),--enable-parport,--disable-parport) \ - $(if $(BR2_PACKAGE_OPENOCD_VPI),--enable-jtag_vpi,--disable-jtag_vpi) \ - $(if $(BR2_PACKAGE_OPENOCD_UBLASTER),--enable-usb-blaster,--disable-usb-blaster) \ - $(if $(BR2_PACKAGE_OPENOCD_AMTJT),--enable-amtjtagaccel,--disable-amjtagaccel) \ - $(if $(BR2_PACKAGE_OPENOCD_ZY1000_MASTER),--enable-zy1000-master,--disable-zy1000-master) \ - $(if $(BR2_PACKAGE_OPENOCD_ZY1000),--enable-zy1000,--disable-zy1000) \ - $(if $(BR2_PACKAGE_OPENOCD_EP93XX),--enable-ep93xx,--disable-ep93xx) \ - $(if $(BR2_PACKAGE_OPENOCD_AT91RM),--enable-at91rm9200,--disable-at91rm9200) \ - $(if $(BR2_PACKAGE_OPENOCD_BCM2835),--enable-bcm2835gpio,--disable-bcm2835gpio) \ - $(if $(BR2_PACKAGE_OPENOCD_GW16012),--enable-gw16012,--disable-gw16012) \ - $(if $(BR2_PACKAGE_OPENOCD_PRESTO),--enable-presto,--disable-presto) \ - $(if $(BR2_PACKAGE_OPENOCD_OPENJTAG),--enable-openjtag,--disable-openjtag) \ - $(if $(BR2_PACKAGE_OPENOCD_BUSPIRATE),--enable-buspirate,--disable-buspirate) \ - $(if $(BR2_PACKAGE_OPENOCD_SYSFS),--enable-sysfsgpio,--disable-sysfsgpio) - -# Enable all configuration options for host build. -# -# Note that deprecated options have been removed. CMSIS_DAP needs -# hidapi (currently not included in buildroot) and zy1000 stuff fails -# to build, so they've been removed too. -# -HOST_OPENOCD_CONF_OPTS = \ - --enable-ftdi \ - --enable-stlink \ - --enable-ti-icdi \ - --enable-ulink \ - --enable-usb-blaster-2 \ - --enable-jlink \ - --enable-osbdm \ - --enable-opendous \ - --enable-aice \ - --enable-vsllink \ - --enable-usbprog \ - --enable-rlink \ - --enable-armjtagew \ - --enable-parport \ - --enable-jtag_vpi \ - --enable-usb-blaster \ - --enable-amtjtagaccel \ - --enable-gw16012 \ - --enable-presto \ - --enable-openjtag \ - --enable-buspirate \ - --enable-sysfsgpio \ - --oldincludedir=$(HOST_DIR)/include \ - --includedir=$(HOST_DIR)/include \ - --disable-doxygen-html \ - --disable-internal-jimtcl \ - --disable-shared \ - --enable-dummy \ - --disable-werror - -HOST_OPENOCD_DEPENDENCIES = host-jimtcl host-libftdi host-libusb host-libusb-compat - -# Avoid documentation rebuild. On PowerPC64(le), we patch the -# configure script. Due to this, the version.texi files gets -# regenerated, and then since it has a newer date than openocd.info, -# openocd build system rebuilds the documentation. Unfortunately, this -# documentation rebuild fails on old machines. We work around this by -# faking the date of the generated version.texi file, to make the -# build system believe the documentation doesn't need to be -# regenerated. -define OPENOCD_FIX_VERSION_TEXI - touch -r $(@D)/doc/openocd.info $(@D)/doc/version.texi -endef -OPENOCD_POST_BUILD_HOOKS += OPENOCD_FIX_VERSION_TEXI -HOST_OPENOCD_POST_BUILD_HOOKS += OPENOCD_FIX_VERSION_TEXI - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/buildroot-2021.05/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch deleted file mode 100644 index 66bbba42..00000000 --- a/buildroot-2021.05/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 5ae8209afad9a4284723712b46d8685e7f7fd72c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20=C5=81yszczek?= -Date: Mon, 6 May 2019 00:06:39 +0200 -Subject: [PATCH] sh/init.sh.Linux.in: change /run/lock from root:uucp to - root:daemon -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -On gentoo /run/lock is owned by uucp group because of historical -reasons. However uucp does not exist on buildroot by default, and -it makes more sense that 'daemon' group should own this directory. - -Signed-off-by: Michał Łyszczek ---- - sh/init.sh.Linux.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in -index 222bbd3b..7f1a88db 100644 ---- a/sh/init.sh.Linux.in -+++ b/sh/init.sh.Linux.in -@@ -85,7 +85,7 @@ fi - - [ -x /sbin/restorecon ] && /sbin/restorecon -rF /run - checkpath -d $RC_SVCDIR --checkpath -d -m 0775 -o root:uucp /run/lock -+checkpath -d -m 0775 -o root:daemon /run/lock - - # Try to mount xenfs as early as possible, otherwise rc_sys() will always - # return RC_SYS_XENU and will think that we are in a domU while it's not. --- -2.18.1 - diff --git a/buildroot-2021.05/package/openrc/0006-src-rc-rc-logger.h-fix-build-failure-against-gcc-10.patch b/buildroot-2021.05/package/openrc/0006-src-rc-rc-logger.h-fix-build-failure-against-gcc-10.patch deleted file mode 100644 index 9fded3ca..00000000 --- a/buildroot-2021.05/package/openrc/0006-src-rc-rc-logger.h-fix-build-failure-against-gcc-10.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 375ef42393f3dc6edbaa2cb70c79b2366072db38 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Sun, 19 Jan 2020 15:24:20 +0000 -Subject: [PATCH] src/rc/rc-logger.h: fix build failure against gcc-10 - -On gcc-10 (and gcc-9 -fno-common) build fails as: - -``` -cc -L../librc -L../libeinfo -O2 -g -std=c99 -Wall -Wextra -Wimplicit -Wshadow \ - -Wformat=2 -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn \ - -Wmissing-format-attribute -Wnested-externs -Winline -Wwrite-strings \ - -Wcast-align -Wcast-qual -Wpointer-arith -Wdeclaration-after-statement \ - -Wsequence-point -Werror=implicit-function-declaration \ - -Wl,-rpath=/lib -o openrc rc.o rc-logger.o rc-misc.o rc-plugin.o _usage.o -lutil -lrc -leinfo -Wl,-Bdynamic -ldl -ld: rc-logger.o:/home/slyfox/dev/git/openrc/src/rc/rc-logger.h:16: - multiple definition of `rc_logger_pid'; rc.o:openrc/src/rc/rc-logger.h:16: first defined here -ld: rc-logger.o:/home/slyfox/dev/git/openrc/src/rc/rc-logger.h:17: - multiple definition of `rc_logger_tty'; rc.o:openrc/src/rc/rc-logger.h:17: first defined here -``` - -gcc-10 will change the default from -fcommon to fno-common: -https://gcc.gnu.org/PR85678. - -The error also happens if CFLAGS=-fno-common passed explicitly. - -This fixes #348. - -[Patch taken from upstream: -https://github.com/OpenRC/openrc/commit/375ef42393f3dc6edbaa2cb70c79b2366072db38] -Signed-off-by: Heiko Thiery ---- - src/rc/rc-logger.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/rc/rc-logger.h b/src/rc/rc-logger.h -index bf6e3e57..1da294b0 100644 ---- a/src/rc/rc-logger.h -+++ b/src/rc/rc-logger.h -@@ -13,8 +13,8 @@ - #ifndef RC_LOGGER_H - #define RC_LOGGER_H - --pid_t rc_logger_pid; --int rc_logger_tty; -+extern pid_t rc_logger_pid; -+extern int rc_logger_tty; - extern bool rc_in_logger; - - void rc_logger_open(const char *runlevel); --- -2.20.1 - diff --git a/buildroot-2021.05/package/openrc/0007-checkpath-fix-CVE-2018-21269.patch b/buildroot-2021.05/package/openrc/0007-checkpath-fix-CVE-2018-21269.patch deleted file mode 100644 index 121f2298..00000000 --- a/buildroot-2021.05/package/openrc/0007-checkpath-fix-CVE-2018-21269.patch +++ /dev/null @@ -1,251 +0,0 @@ -From b6fef599bf8493480664b766040fa9b0d4b1e335 Mon Sep 17 00:00:00 2001 -From: William Hubbs -Date: Fri, 20 Nov 2020 09:15:59 -0600 -Subject: [PATCH] checkpath: fix CVE-2018-21269 - -This walks the directory path to the file we are going to manipulate to make -sure that when we create the file and change the ownership and permissions -we are working on the same file. -Also, all non-terminal symbolic links must be owned by root. This will -keep a non-root user from making a symbolic link as described in the -bug. If root creates the symbolic link, it is assumed to be trusted. - -On non-linux platforms, we no longer follow non-terminal symbolic links -by default. If you need to do that, add the -s option on the checkpath -command line, but keep in mind that this is not secure. - -This fixes #201. - -[Patch taken from upstream: -https://github.com/OpenRC/openrc/commit/b6fef599bf8493480664b766040fa9b0d4b1e335] -Signed-off-by: Heiko Thiery ---- - man/openrc-run.8 | 6 +++ - src/rc/checkpath.c | 103 ++++++++++++++++++++++++++++++++++++++++++--- - 2 files changed, 102 insertions(+), 7 deletions(-) - -diff --git a/man/openrc-run.8 b/man/openrc-run.8 -index 1102daaa..ec4b88de 100644 ---- a/man/openrc-run.8 -+++ b/man/openrc-run.8 -@@ -461,6 +461,7 @@ Mark the service as inactive. - .Op Fl p , -pipe - .Op Fl m , -mode Ar mode - .Op Fl o , -owner Ar owner -+.Op Fl s , -symlinks - .Op Fl W , -writable - .Op Fl q , -quiet - .Ar path ... -@@ -481,6 +482,11 @@ or with names, and are separated by a colon. - The truncate options (-D and -F) cause the directory or file to be - cleared of all contents. - .Pp -+If -s is not specified on a non-linux platform, checkpath will refuse to -+allow non-terminal symbolic links to exist in the path. This is for -+security reasons so that a non-root user can't create a symbolic link to -+a root-owned file and take ownership of that file. -+.Pp - If -W is specified, checkpath checks to see if the first path given on - the command line is writable. This is different from how the test - command in the shell works, because it also checks to make sure the file -diff --git a/src/rc/checkpath.c b/src/rc/checkpath.c -index 448c9cf8..ff54a892 100644 ---- a/src/rc/checkpath.c -+++ b/src/rc/checkpath.c -@@ -16,6 +16,7 @@ - * except according to the terms contained in the LICENSE file. - */ - -+#define _GNU_SOURCE - #include - #include - -@@ -23,6 +24,7 @@ - #include - #include - #include -+#include - #include - #include - #include -@@ -44,7 +46,7 @@ typedef enum { - - const char *applet = NULL; - const char *extraopts ="path1 [path2] [...]"; --const char *getoptstring = "dDfFpm:o:W" getoptstring_COMMON; -+const char *getoptstring = "dDfFpm:o:sW" getoptstring_COMMON; - const struct option longopts[] = { - { "directory", 0, NULL, 'd'}, - { "directory-truncate", 0, NULL, 'D'}, -@@ -53,6 +55,7 @@ const struct option longopts[] = { - { "pipe", 0, NULL, 'p'}, - { "mode", 1, NULL, 'm'}, - { "owner", 1, NULL, 'o'}, -+ { "symlinks", 0, NULL, 's'}, - { "writable", 0, NULL, 'W'}, - longopts_COMMON - }; -@@ -64,15 +67,92 @@ const char * const longopts_help[] = { - "Create a named pipe (FIFO) if not exists", - "Mode to check", - "Owner to check (user:group)", -+ "follow symbolic links (irrelivent on linux)", - "Check whether the path is writable or not", - longopts_help_COMMON - }; - const char *usagestring = NULL; - -+static int get_dirfd(char *path, bool symlinks) { -+ char *ch; -+ char *item; -+ char *linkpath = NULL; -+ char *path_dupe; -+ char *str; -+ int components = 0; -+ int dirfd; -+ int flags = 0; -+ int new_dirfd; -+ struct stat st; -+ ssize_t linksize; -+ -+ if (!path || *path != '/') -+ eerrorx("%s: empty or relative path", applet); -+ dirfd = openat(dirfd, "/", O_RDONLY); -+ if (dirfd == -1) -+ eerrorx("%s: unable to open the root directory: %s", -+ applet, strerror(errno)); -+ path_dupe = xstrdup(path); -+ ch = path_dupe; -+ while (*ch) { -+ if (*ch == '/') -+ components++; -+ ch++; -+ } -+ item = strtok(path_dupe, "/"); -+#ifdef O_PATH -+ flags |= O_PATH; -+#endif -+ if (!symlinks) -+ flags |= O_NOFOLLOW; -+ flags |= O_RDONLY; -+ while (dirfd > 0 && item && components > 1) { -+ str = xstrdup(linkpath ? linkpath : item); -+ new_dirfd = openat(dirfd, str, flags); -+ if (new_dirfd == -1) -+ eerrorx("%s: %s: could not open %s: %s", applet, path, str, -+ strerror(errno)); -+ if (fstat(new_dirfd, &st) == -1) -+ eerrorx("%s: %s: unable to stat %s: %s", applet, path, item, -+ strerror(errno)); -+ if (S_ISLNK(st.st_mode) ) { -+ if (st.st_uid != 0) -+ eerrorx("%s: %s: synbolic link %s not owned by root", -+ applet, path, str); -+ linksize = st.st_size+1; -+ if (linkpath) -+ free(linkpath); -+ linkpath = xmalloc(linksize); -+ memset(linkpath, 0, linksize); -+ if (readlinkat(new_dirfd, "", linkpath, linksize) != st.st_size) -+ eerrorx("%s: symbolic link destination changed", applet); -+ /* -+ * now follow the symlink. -+ */ -+ close(new_dirfd); -+ } else { -+ close(dirfd); -+ dirfd = new_dirfd; -+ free(linkpath); -+ linkpath = NULL; -+ item = strtok(NULL, "/"); -+ components--; -+ } -+ } -+ free(path_dupe); -+ if (linkpath) { -+ free(linkpath); -+ linkpath = NULL; -+ } -+ return dirfd; -+} -+ - static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode, -- inode_t type, bool trunc, bool chowner, bool selinux_on) -+ inode_t type, bool trunc, bool chowner, bool symlinks, bool selinux_on) - { - struct stat st; -+ char *name = NULL; -+ int dirfd; - int fd; - int flags; - int r; -@@ -93,14 +173,16 @@ static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode, - #endif - if (trunc) - flags |= O_TRUNC; -- readfd = open(path, readflags); -+ xasprintf(&name, "%s", basename_c(path)); -+ dirfd = get_dirfd(path, symlinks); -+ readfd = openat(dirfd, name, readflags); - if (readfd == -1 || (type == inode_file && trunc)) { - if (type == inode_file) { - einfo("%s: creating file", path); - if (!mode) /* 664 */ - mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH; - u = umask(0); -- fd = open(path, flags, mode); -+ fd = openat(dirfd, name, flags, mode); - umask(u); - if (fd == -1) { - eerror("%s: open: %s", applet, strerror(errno)); -@@ -122,7 +204,7 @@ static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode, - strerror (errno)); - return -1; - } -- readfd = open(path, readflags); -+ readfd = openat(dirfd, name, readflags); - if (readfd == -1) { - eerror("%s: unable to open directory: %s", applet, - strerror(errno)); -@@ -140,7 +222,7 @@ static int do_check(char *path, uid_t uid, gid_t gid, mode_t mode, - strerror (errno)); - return -1; - } -- readfd = open(path, readflags); -+ readfd = openat(dirfd, name, readflags); - if (readfd == -1) { - eerror("%s: unable to open fifo: %s", applet, - strerror(errno)); -@@ -259,6 +341,7 @@ int main(int argc, char **argv) - int retval = EXIT_SUCCESS; - bool trunc = false; - bool chowner = false; -+ bool symlinks = false; - bool writable = false; - bool selinux_on = false; - -@@ -293,6 +376,11 @@ int main(int argc, char **argv) - eerrorx("%s: owner `%s' not found", - applet, optarg); - break; -+ case 's': -+#ifndef O_PATH -+ symlinks = true; -+#endif -+ break; - case 'W': - writable = true; - break; -@@ -320,7 +408,8 @@ int main(int argc, char **argv) - while (optind < argc) { - if (writable) - exit(!is_writable(argv[optind])); -- if (do_check(argv[optind], uid, gid, mode, type, trunc, chowner, selinux_on)) -+ if (do_check(argv[optind], uid, gid, mode, type, trunc, chowner, -+ symlinks, selinux_on)) - retval = EXIT_FAILURE; - optind++; - } --- -2.20.1 - diff --git a/buildroot-2021.05/package/openrc/openrc.hash b/buildroot-2021.05/package/openrc/openrc.hash deleted file mode 100644 index bb588080..00000000 --- a/buildroot-2021.05/package/openrc/openrc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 91a01ca6d930a0688fb91338209985de57cac7aa2d37feddacb78fd3d95308e2 openrc-0.42.1.tar.gz -sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE diff --git a/buildroot-2021.05/package/openrc/openrc.mk b/buildroot-2021.05/package/openrc/openrc.mk deleted file mode 100644 index d9010a60..00000000 --- a/buildroot-2021.05/package/openrc/openrc.mk +++ /dev/null @@ -1,96 +0,0 @@ -################################################################################ -# -# openrc -# -################################################################################ - -OPENRC_VERSION = 0.42.1 -OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) -OPENRC_LICENSE = BSD-2-Clause -OPENRC_LICENSE_FILES = LICENSE -OPENRC_CPE_ID_VENDOR = openrc_project - -# 0007-checkpath-fix-CVE-2018-21269.patch -OPENRC_IGNORE_CVES += CVE-2018-21269 - -OPENRC_DEPENDENCIES = ncurses - -# set LIBNAME so openrc puts files in proper directories and sets proper -# paths in installed files. Since in buildroot /lib64 and /lib32 always -# points to /lib, it's safe to hardcode it to "lib" -OPENRC_MAKE_OPTS = \ - LIBNAME=lib \ - LIBEXECDIR=/usr/libexec/rc \ - MKPKGCONFIG=no \ - MKSYSVINIT=yes \ - BRANDING="Buildroot $(BR2_VERSION_FULL)" \ - CC=$(TARGET_CC) - -ifeq ($(BR2_SHARED_LIBS),y) -OPENRC_MAKE_OPTS += MKSTATICLIBS=no -else -OPENRC_MAKE_OPTS += MKSTATICLIBS=yes -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENRC_MAKE_OPTS += MKSELINUX=yes -OPENRC_DEPENDENCIES += libselinux -else -OPENRC_MAKE_OPTS += MKSELINUX=no -endif - -define OPENRC_BUILD_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) -endef - -define OPENRC_INSTALL_TARGET_CMDS - $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install - $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ - $(TARGET_DIR)/etc/init.d/sysv-rcs -endef - -ifeq ($(BR2_PACKAGE_KBD),) -# keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so -# remove them if the kbd package is not selected (e.g. devices with serial -# console, only). -define OPENRC_NO_KBD - $(RM) $(TARGET_DIR)/etc/runlevels/boot/{keymaps,save-keymaps} - $(RM) $(TARGET_DIR)/etc/init.d/{keymaps,save-keymaps} - $(RM) $(TARGET_DIR)/etc/conf.d/keymaps -endef -OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_NO_KBD -endif - -ifeq ($(BR2_PACKAGE_NETIFRC),y) -# netifrc replaces network, staticroute and loopback services which are -# installed by openrc -define OPENRC_NO_NET - $(RM) $(TARGET_DIR)/etc/runlevels/boot/{network,staticroute,loopback} - $(RM) $(TARGET_DIR)/etc/init.d/{network,staticroute,loopback} - $(RM) $(TARGET_DIR)/etc/conf.d/{network,staticroute,loopback} -endef -OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_NO_NET -endif - -define OPENRC_REMOVE_UNNEEDED - $(RM) -r $(TARGET_DIR)/usr/share/openrc -endef -OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_REMOVE_UNNEEDED - -ifeq ($(BR2_TARGET_GENERIC_GETTY),y) -OPENRC_GETTY_SVCNAME = agetty.$(SYSTEM_GETTY_PORT) -OPENRC_GETTY_CONF_D = $(TARGET_DIR)/etc/conf.d/$(OPENRC_GETTY_SVCNAME) -define OPENRC_SET_GETTY - { \ - echo "baud=\"$(SYSTEM_GETTY_BAUDRATE)\""; \ - echo "term_type=\"$(SYSTEM_GETTY_TERM)\"" ; \ - echo "agetty_options=\"-L $(SYSTEM_GETTY_OPTIONS)\""; \ - } > $(OPENRC_GETTY_CONF_D) - ln -sf agetty $(TARGET_DIR)/etc/init.d/$(OPENRC_GETTY_SVCNAME) - ln -sf /etc/init.d/$(OPENRC_GETTY_SVCNAME) \ - $(TARGET_DIR)/etc/runlevels/default/$(OPENRC_GETTY_SVCNAME) -endef -OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY -endif # BR2_TARGET_GENERIC_GETTY - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openresolv/openresolv.hash b/buildroot-2021.05/package/openresolv/openresolv.hash deleted file mode 100644 index f2a101df..00000000 --- a/buildroot-2021.05/package/openresolv/openresolv.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 7d74c669849183ecefdfcec30d25664b1ca24ba1ca8c2ad5de50fcaeef3b4810 openresolv-3.10.0.tar.gz -sha256 384740bf5e19e7628d20f4dcc22925062fdc6020e9a6f074e567d4d797be57a0 LICENSE diff --git a/buildroot-2021.05/package/openresolv/openresolv.mk b/buildroot-2021.05/package/openresolv/openresolv.mk deleted file mode 100644 index 55ec7fd8..00000000 --- a/buildroot-2021.05/package/openresolv/openresolv.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# openresolv -# -################################################################################ - -OPENRESOLV_VERSION = 3.10.0 -OPENRESOLV_SITE = $(call github,rsmarples,openresolv,openresolv-$(OPENRESOLV_VERSION)) -OPENRESOLV_LICENSE = BSD-2-Clause -OPENRESOLV_LICENSE_FILES = LICENSE -OPENRESOLV_CPE_ID_VENDOR = openresolv_project - -define OPENRESOLV_CONFIGURE_CMDS - cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure --sysconfdir=/etc -endef - -define OPENRESOLV_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define OPENRESOLV_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openssh/openssh.hash b/buildroot-2021.05/package/openssh/openssh.hash deleted file mode 100644 index 0dcd725d..00000000 --- a/buildroot-2021.05/package/openssh/openssh.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.openssh.com/txt/release-8.6 (base64 encoded) -sha256 c3e6e4da1621762c850d03b47eed1e48dff4cc9608ddeb547202a234df8ed7ae openssh-8.6p1.tar.gz -# Locally calculated -sha256 432abf7480fb31473a6706627212913fc70032e3fb71b90fecb28ae26a2d741d LICENCE diff --git a/buildroot-2021.05/package/openssh/openssh.mk b/buildroot-2021.05/package/openssh/openssh.mk deleted file mode 100644 index 61b2c97c..00000000 --- a/buildroot-2021.05/package/openssh/openssh.mk +++ /dev/null @@ -1,131 +0,0 @@ -################################################################################ -# -# openssh -# -################################################################################ - -OPENSSH_VERSION_MAJOR = 8.6 -OPENSSH_VERSION_MINOR = p1 -OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR) -OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR) -OPENSSH_CPE_ID_UPDATE = $(OPENSSH_VERSION_MINOR) -OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable -OPENSSH_LICENSE = BSD-4-Clause, BSD-3-Clause, BSD-2-Clause, Public Domain -OPENSSH_LICENSE_FILES = LICENCE -OPENSSH_CONF_ENV = \ - LD="$(TARGET_CC)" \ - LDFLAGS="$(TARGET_CFLAGS)" \ - LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -OPENSSH_CPE_ID_VENDOR = openbsd -OPENSSH_CONF_OPTS = \ - --sysconfdir=/etc/ssh \ - --with-default-path=$(BR2_SYSTEM_DEFAULT_PATH) \ - --disable-lastlog \ - --disable-utmp \ - --disable-utmpx \ - --disable-wtmp \ - --disable-wtmpx \ - --disable-strip - -define OPENSSH_PERMISSIONS - /var/empty d 755 root root - - - - - -endef - -ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) -OPENSSH_CONF_OPTS += --without-pie -endif - -OPENSSH_DEPENDENCIES = host-pkgconf zlib openssl - -ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y) -OPENSSH_DEPENDENCIES += cryptodev-linux -OPENSSH_CONF_OPTS += --with-ssl-engine -else -OPENSSH_CONF_OPTS += --without-ssl-engine -endif - -ifeq ($(BR2_PACKAGE_AUDIT),y) -OPENSSH_DEPENDENCIES += audit -OPENSSH_CONF_OPTS += --with-audit=linux -else -OPENSSH_CONF_OPTS += --without-audit -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -define OPENSSH_INSTALL_PAM_CONF - $(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd - $(SED) '\%password required /lib/security/pam_cracklib.so%d' $(TARGET_DIR)/etc/pam.d/sshd - $(SED) 's/\#UsePAM no/UsePAM yes/' $(TARGET_DIR)/etc/ssh/sshd_config -endef - -OPENSSH_DEPENDENCIES += linux-pam -OPENSSH_CONF_OPTS += --with-pam -OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_PAM_CONF -else -OPENSSH_CONF_OPTS += --without-pam -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENSSH_DEPENDENCIES += libselinux -OPENSSH_CONF_OPTS += --with-selinux -else -OPENSSH_CONF_OPTS += --without-selinux -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) -define OPENSSH_INSTALL_SYSTEMD_SYSUSERS - $(INSTALL) -m 0644 -D package/openssh/sshd-sysusers.conf \ - $(TARGET_DIR)/usr/lib/sysusers.d/sshd.conf -endef -else -define OPENSSH_USERS - sshd -1 sshd -1 * /var/empty - - SSH drop priv user -endef -endif - -# Let the default install rule only install the configuration file. -# The programs will be installed based on the config options selected. -OPENSSH_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-sysconf - -ifeq ($(BR2_PACKAGE_OPENSSH_CLIENT),y) -define OPENSSH_INSTALL_CLIENT_PROGRAMS - $(INSTALL) -D -m 0755 $(@D)/ssh $(TARGET_DIR)/usr/bin/ssh - $(INSTALL) -D -m 0755 $(@D)/scp $(TARGET_DIR)/usr/bin/scp - $(INSTALL) -D -m 0755 $(@D)/sftp $(TARGET_DIR)/usr/bin/sftp - $(INSTALL) -D -m 0755 $(@D)/ssh-agent $(TARGET_DIR)/usr/bin/ssh-agent - $(INSTALL) -D -m 0755 $(@D)/ssh-add $(TARGET_DIR)/usr/bin/ssh-add - $(INSTALL) -D -m 4711 $(@D)/ssh-keysign $(TARGET_DIR)/usr/libexec/ssh-keysign - $(INSTALL) -D -m 0755 $(@D)/ssh-pkcs11-helper $(TARGET_DIR)/usr/libexec/ssh-pkcs11-helper - $(INSTALL) -D -m 0755 $(@D)/contrib/ssh-copy-id $(TARGET_DIR)/usr/bin/ssh-copy-id -endef -OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_CLIENT_PROGRAMS -endif - -ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y) -define OPENSSH_INSTALL_SERVER_PROGRAMS - $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd - $(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server -endef -OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS - -define OPENSSH_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/openssh/sshd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/sshd.service - $(OPENSSH_INSTALL_SYSTEMD_SYSUSERS) -endef - -define OPENSSH_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/openssh/S50sshd \ - $(TARGET_DIR)/etc/init.d/S50sshd -endef -endif - -ifeq ($(BR2_PACKAGE_OPENSSH_KEY_UTILS),y) -define OPENSSH_INSTALL_KEY_UTILS - $(INSTALL) -D -m 0755 $(@D)/ssh-keygen $(TARGET_DIR)/usr/bin/ssh-keygen - $(INSTALL) -D -m 0755 $(@D)/ssh-keyscan $(TARGET_DIR)/usr/bin/ssh-keyscan -endef -OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_KEY_UTILS -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/openssl/Config.in b/buildroot-2021.05/package/openssl/Config.in deleted file mode 100644 index f69e8597..00000000 --- a/buildroot-2021.05/package/openssl/Config.in +++ /dev/null @@ -1,66 +0,0 @@ -config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL - bool - -config BR2_PACKAGE_OPENSSL - bool "openssl support" - select BR2_PACKAGE_HAS_OPENSSL - help - Select the desired ssl library provider. - -if BR2_PACKAGE_OPENSSL - -choice - prompt "ssl library" - help - Select OpenSSL or LibreSSL. - -config BR2_PACKAGE_LIBOPENSSL - bool "openssl" - select BR2_PACKAGE_ZLIB - help - A collaborative effort to develop a robust, commercial-grade, - fully featured, and Open Source toolkit implementing the - Secure Sockets Layer (SSL v2/v3) and Transport Security - (TLS v1) as well as a full-strength general-purpose - cryptography library. - - http://www.openssl.org/ - - Note: Some helper scripts need perl. - -source "package/libopenssl/Config.in" - -config BR2_PACKAGE_LIBRESSL - bool "libressl" - depends on !BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL - # uClibc on noMMU doesn't provide __register_atfork() - depends on !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU) - help - LibreSSL is a version of the TLS/crypto stack forked from - OpenSSL in 2014, with goals of modernizing the codebase, - improving security, and applying best practice development - processes. - - http://www.libressl.org/ - -source "package/libressl/Config.in" - -# openssl from br2-external trees, if any -source "$BR2_BASE_DIR/.br2-external.in.openssl" - -endchoice - -config BR2_PACKAGE_HAS_OPENSSL - bool - -config BR2_PACKAGE_PROVIDES_OPENSSL - string - default "libopenssl" if BR2_PACKAGE_LIBOPENSSL - default "libressl" if BR2_PACKAGE_LIBRESSL - -endif - -# ensure libopenssl is used for the host variant -config BR2_PACKAGE_PROVIDES_HOST_OPENSSL - string - default "host-libopenssl" diff --git a/buildroot-2021.05/package/openswan/openswan.mk b/buildroot-2021.05/package/openswan/openswan.mk deleted file mode 100644 index 7f083f69..00000000 --- a/buildroot-2021.05/package/openswan/openswan.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# openswan -# -################################################################################ - -OPENSWAN_VERSION = 3.0.0 -OPENSWAN_SITE = $(call github,xelerance,Openswan,v$(OPENSWAN_VERSION)) -OPENSWAN_LICENSE = GPL-2.0+, BSD-3-Clause -OPENSWAN_LICENSE_FILES = COPYING LICENSE -OPENSWAN_CPE_ID_VENDOR = xelerance - -OPENSWAN_DEPENDENCIES = host-bison host-flex gmp iproute2 -OPENSWAN_MAKE_OPTS = ARCH=$(BR2_ARCH) CC="$(TARGET_CC)" POD2MAN="" XMLTO="" \ - USERCOMPILE="$(TARGET_CFLAGS) $(if $(BR2_TOOLCHAIN_SUPPORTS_PIE),-fPIE)" \ - USERLINK="$(TARGET_LDFLAGS) $(if $(BR2_TOOLCHAIN_SUPPORTS_PIE),-fPIE)" \ - INC_USRLOCAL=/usr USE_KLIPS=false USE_MAST=false USE_NM=false \ - USE_NOMANINSTALL=true - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -OPENSWAN_DEPENDENCIES += libcurl -OPENSWAN_MAKE_OPTS += USE_LIBCURL=true -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -OPENSWAN_DEPENDENCIES += openssl -OPENSWAN_MAKE_OPTS += HAVE_OPENSSL=true -ifeq ($(BR2_PACKAGE_OCF_LINUX),y) -OPENSWAN_MAKE_OPTS += HAVE_OCF=true -endif -endif - -define OPENSWAN_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \ - $(OPENSWAN_MAKE_OPTS) programs -endef - -define OPENSWAN_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \ - $(OPENSWAN_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openvpn/Config.in b/buildroot-2021.05/package/openvpn/Config.in deleted file mode 100644 index 3f4a617f..00000000 --- a/buildroot-2021.05/package/openvpn/Config.in +++ /dev/null @@ -1,38 +0,0 @@ -config BR2_PACKAGE_OPENVPN - bool "openvpn" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS - help - OpenVPN is a full-featured SSL VPN solution which can - accomodate a wide range of configurations, including road - warrior access, home/office/campus telecommuting, WiFi - security, secure branch office linking, and enterprise-scale - remote access solutions with load balancing, failover, and - fine-grained access-controls. - - http://openvpn.net/ - -if BR2_PACKAGE_OPENVPN - -config BR2_PACKAGE_OPENVPN_LZ4 - bool "LZ4 compression" - default y - select BR2_PACKAGE_LZ4 - help - Enable LZ4 compression. - -config BR2_PACKAGE_OPENVPN_LZO - bool "LZO compression" - default y - select BR2_PACKAGE_LZO - help - Enable LZO compression. - -config BR2_PACKAGE_OPENVPN_SMALL - bool "Optimize for small size" - help - Make OpenVPN as small as possible. - You loose eurephia, debugging info, help messages and more. - It saves around 100 KiB in binary file size. - -endif diff --git a/buildroot-2021.05/package/openvpn/openvpn.hash b/buildroot-2021.05/package/openvpn/openvpn.hash deleted file mode 100644 index 36f90ff1..00000000 --- a/buildroot-2021.05/package/openvpn/openvpn.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated after checking signature -sha256 b12743836901f365efaf82ab2493967e1b21c21eb43ce9a8da1002a17c9c1dc8 openvpn-2.5.2.tar.xz -sha256 1fcb78d7e478bb8a9408010bdc91b36e213b1facfad093df3f7ce7e28af19043 COPYRIGHT.GPL diff --git a/buildroot-2021.05/package/openvpn/openvpn.mk b/buildroot-2021.05/package/openvpn/openvpn.mk deleted file mode 100644 index 9b3802fd..00000000 --- a/buildroot-2021.05/package/openvpn/openvpn.mk +++ /dev/null @@ -1,78 +0,0 @@ -################################################################################ -# -# openvpn -# -################################################################################ - -OPENVPN_VERSION = 2.5.2 -OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz -OPENVPN_SITE = http://swupdate.openvpn.net/community/releases -OPENVPN_DEPENDENCIES = host-pkgconf -OPENVPN_LICENSE = GPL-2.0 -OPENVPN_LICENSE_FILES = COPYRIGHT.GPL -OPENVPN_CPE_ID_VENDOR = openvpn -OPENVPN_CONF_OPTS = \ - --disable-unit-tests \ - $(if $(BR2_STATIC_LIBS),--disable-plugins) -OPENVPN_CONF_ENV = NETSTAT=/bin/netstat - -ifeq ($(BR2_PACKAGE_OPENVPN_SMALL),y) -OPENVPN_CONF_OPTS += \ - --enable-small \ - --disable-plugins -endif - -ifeq ($(BR2_PACKAGE_OPENVPN_LZ4),y) -OPENVPN_DEPENDENCIES += lz4 -else -OPENVPN_CONF_OPTS += --disable-lz4 -endif - -ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y) -OPENVPN_DEPENDENCIES += lzo -else -OPENVPN_CONF_OPTS += --disable-lzo -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -OPENVPN_DEPENDENCIES += libselinux -OPENVPN_CONF_OPTS += --enable-selinux -else -OPENVPN_CONF_OPTS += --disable-selinux -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -OPENVPN_DEPENDENCIES += linux-pam -OPENVPN_CONF_OPTS += --enable-plugin-auth-pam -else -OPENVPN_CONF_OPTS += --disable-plugin-auth-pam -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -OPENVPN_DEPENDENCIES += openssl -OPENVPN_CONF_OPTS += --with-crypto-library=openssl -else ifeq ($(BR2_PACKAGE_MBEDTLS),y) -OPENVPN_DEPENDENCIES += mbedtls -OPENVPN_CONF_OPTS += --with-crypto-library=mbedtls -endif - -ifeq ($(BR2_PACKAGE_PKCS11_HELPER),y) -OPENVPN_DEPENDENCIES += pkcs11-helper -OPENVPN_CONF_OPTS += --enable-pkcs11 -else -OPENVPN_CONF_OPTS += --disable-pkcs11 -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -OPENVPN_DEPENDENCIES += systemd -OPENVPN_CONF_OPTS += --enable-systemd -else -OPENVPN_CONF_OPTS += --disable-systemd -endif - -define OPENVPN_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/openvpn/S60openvpn \ - $(TARGET_DIR)/etc/init.d/S60openvpn -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/openzwave/openzwave.mk b/buildroot-2021.05/package/openzwave/openzwave.mk deleted file mode 100644 index 357d19f3..00000000 --- a/buildroot-2021.05/package/openzwave/openzwave.mk +++ /dev/null @@ -1,59 +0,0 @@ -################################################################################ -# -# openzwave -# -################################################################################ - -OPENZWAVE_VERSION = 62444b0f979c337d2091d77d89cf63c2ae9775cf -OPENZWAVE_SITE = $(call github,OpenZWave,open-zwave,$(OPENZWAVE_VERSION)) -OPENZWAVE_LICENSE = LGPL-3.0+, GPL-3.0 (examples), Apache-2.0 (sh2ju.sh) -OPENZWAVE_LICENSE_FILES = LICENSE licenses/license.txt licenses/lgpl.txt \ - licenses/gpl.txt licenses/Apache-License-2.0.txt -OPENZWAVE_DEPENDENCIES = tinyxml - -OPENZWAVE_INSTALL_STAGING = YES - -# Set instlibdir to install libopenzwave.so* in the correct directory -# otherwise openzwave will check that /lib64 exists (on the host) to -# know if the library should be installed in $(PREFIX)/lib or $(PREFIX)/lib64. -# Set pkgconfigdir to /lib/pkgconfig to install libopenzwave.pc in the -# correct directory otherwise openzwave will call -# "pkg-config --variable pc_path pkg-config" which returns an incorrect value. -# Set sysconfdir to /etc/openzwave to install openzwave configuration files in -# the correct directory otherwise openzwave will install configuration files in -# $(PREFIX)/etc/openzwave. -# Disable doxygen documentation. -OPENZWAVE_MAKE_OPTS = \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - PREFIX=/usr \ - instlibdir=/usr/lib \ - pkgconfigdir=/usr/lib/pkgconfig \ - sysconfdir=/etc/openzwave \ - DOXYGEN= \ - USE_BI_TXML=0 - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -OPENZWAVE_DEPENDENCIES += host-pkgconf udev -OPENZWAVE_MAKE_OPTS += USE_HID=1 -else -OPENZWAVE_MAKE_OPTS += USE_HID=0 -endif - -define OPENZWAVE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(OPENZWAVE_MAKE_OPTS) -C $(@D) -endef - -define OPENZWAVE_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(OPENZWAVE_MAKE_OPTS) -C $(@D) \ - DESTDIR=$(STAGING_DIR) install -endef - -# Delete unneeded ozw_config binary from target directory as this is an utility -# application used to get the openzwave build configuration. -define OPENZWAVE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(OPENZWAVE_MAKE_OPTS) -C $(@D) \ - DESTDIR=$(TARGET_DIR) install - rm -f $(TARGET_DIR)/usr/bin/ozw_config -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/opkg-utils/0001-Makefile-seperate-manpages-and-utils-install.patch b/buildroot-2021.05/package/opkg-utils/0001-Makefile-seperate-manpages-and-utils-install.patch deleted file mode 100644 index 140187ca..00000000 --- a/buildroot-2021.05/package/opkg-utils/0001-Makefile-seperate-manpages-and-utils-install.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 74ccbee0f798822041dba5c6564df62a0c60d86b Mon Sep 17 00:00:00 2001 -From: Ryan Barnett -Date: Mon, 22 Feb 2021 07:09:34 -0600 -Subject: Makefile: separate manpages and utils install - -The installation of opkg-build man page introduces a host dependency -on perl for the pod2man package to generate the man page. - -To allow the opkg-utils scripts to be installed separately from the -manpages, break apart the install step into two install steps: -install-utils and install-docs - -Backported from: 74ccbee0f798822041dba5c6564df62a0c60d86b - -CC: Christian Hermann -Signed-off-by: Ryan Barnett -Signed-off-by: Alex Stewart -Signed-off-by: Ryan Barnett ---- - Makefile | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/Makefile b/Makefile -index 4049654..fe96d5a 100644 ---- a/Makefile -+++ b/Makefile -@@ -27,9 +27,11 @@ mandir ?= $(PREFIX)/man - - all: $(UTILS) $(MANPAGES) - --install: all -+install-utils: $(UTILS) - install -d $(DESTDIR)$(bindir) - install -m 755 $(UTILS) $(DESTDIR)$(bindir) -+ -+install-docs: $(MANPAGES) - install -d $(DESTDIR)$(mandir) - for m in $(MANPAGES); \ - do \ -@@ -37,4 +39,6 @@ install: all - install -m 644 "$$m" $(DESTDIR)$(mandir)/man$${m##*.}; \ - done - --.PHONY: install all -+install: install-utils install-docs -+ -+.PHONY: install install-utils install-docs all --- -cgit v1.2.2-1-g5e49 - diff --git a/buildroot-2021.05/package/opkg-utils/Config.in b/buildroot-2021.05/package/opkg-utils/Config.in deleted file mode 100644 index 3c5a3ee3..00000000 --- a/buildroot-2021.05/package/opkg-utils/Config.in +++ /dev/null @@ -1,34 +0,0 @@ -config BR2_PACKAGE_OPKG_UTILS - bool "opkg-utils" - depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX # binutils - depends on BR2_USE_MMU # bash, python3 - depends on BR2_USE_WCHAR # python3 - depends on BR2_TOOLCHAIN_HAS_THREADS # python3 <- libffi - depends on !BR2_STATIC_LIBS # python3 - depends on !BR2_PACKAGE_PYTHON # python3 - select BR2_PACKAGE_BINUTILS if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_BINUTILS_TARGET if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_COREUTILS if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_DIFFUTILS if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_FINDUTILS if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_GREP if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_GZIP if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_SED if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_TAR if !BR2_PACKAGE_BUSYBOX # runtime - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash - select BR2_PACKAGE_BASH # runtime - select BR2_PACKAGE_PYTHON3 # runtime - help - Helper scripts for use with the opkg package manager. - - https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/ - -comment "opkg-utils needs a toolchain w/ wchar, threads, dynamic library" - depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -comment "opkg-utils needs python3" - depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PYTHON diff --git a/buildroot-2021.05/package/opkg-utils/opkg-utils.hash b/buildroot-2021.05/package/opkg-utils/opkg-utils.hash deleted file mode 100644 index 779852d9..00000000 --- a/buildroot-2021.05/package/opkg-utils/opkg-utils.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 552c074630b6d6b39a32a35243fb34d7c5888b8a4f18118abb4daf92d0e847f2 opkg-utils-0.4.3-br1.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/opkg-utils/opkg-utils.mk b/buildroot-2021.05/package/opkg-utils/opkg-utils.mk deleted file mode 100644 index cdffd6f1..00000000 --- a/buildroot-2021.05/package/opkg-utils/opkg-utils.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# opkg-utils -# -################################################################################ - -OPKG_UTILS_VERSION = 0.4.3 -OPKG_UTILS_SITE = http://git.yoctoproject.org/git/opkg-utils -OPKG_UTILS_SITE_METHOD = git -OPKG_UTILS_LICENSE = GPL-2.0+ -OPKG_UTILS_LICENSE_FILES = COPYING - -HOST_OPKG_UTILS_DEPENDENCIES = \ - $(BR2_PYTHON3_HOST_DEPENDENCY) \ - host-diffutils \ - host-lz4 \ - host-xz - -# Nothing to build; only scripts to install. -define OPKG_UTILS_INSTALL_CMDS - $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install-utils -endef - -# Nothing to build; only scripts to install. -define HOST_OPKG_UTILS_INSTALL_CMDS - $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install-utils -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/opkg/opkg.hash b/buildroot-2021.05/package/opkg/opkg.hash deleted file mode 100644 index b1ead67a..00000000 --- a/buildroot-2021.05/package/opkg/opkg.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From http://downloads.yoctoproject.org/releases/opkg/SHA256SUMS -sha256 86887852c43457edfff9d8b6d9520f3f1cdd55f25eb600a6eb31e1c4e151e106 opkg-0.4.2.tar.gz -# Locally calculated -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/opkg/opkg.mk b/buildroot-2021.05/package/opkg/opkg.mk deleted file mode 100644 index e25e51b9..00000000 --- a/buildroot-2021.05/package/opkg/opkg.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# opkg -# -################################################################################ - -OPKG_VERSION = 0.4.2 -OPKG_SITE = http://downloads.yoctoproject.org/releases/opkg -OPKG_DEPENDENCIES = host-pkgconf libarchive -OPKG_LICENSE = GPL-2.0+ -OPKG_LICENSE_FILES = COPYING -OPKG_INSTALL_STAGING = YES -OPKG_CONF_OPTS = --disable-curl - -# Ensure directory for lockfile exists -define OPKG_CREATE_LOCKDIR - mkdir -p $(TARGET_DIR)/usr/lib/opkg -endef - -ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y) -OPKG_CONF_OPTS += --enable-gpg -OPKG_CONF_ENV += \ - ac_cv_path_GPGME_CONFIG=$(STAGING_DIR)/usr/bin/gpgme-config \ - ac_cv_path_GPGERR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config -OPKG_DEPENDENCIES += libgpgme libgpg-error -else -OPKG_CONF_OPTS += --disable-gpg -endif - -OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/oprofile/oprofile.mk b/buildroot-2021.05/package/oprofile/oprofile.mk deleted file mode 100644 index 85bc4efa..00000000 --- a/buildroot-2021.05/package/oprofile/oprofile.mk +++ /dev/null @@ -1,64 +0,0 @@ -################################################################################ -# -# oprofile -# -################################################################################ - -OPROFILE_VERSION = 1.4.0 -OPROFILE_SITE = http://downloads.sourceforge.net/project/oprofile/oprofile/oprofile-$(OPROFILE_VERSION) -OPROFILE_LICENSE = GPL-2.0+ -OPROFILE_LICENSE_FILES = COPYING -OPROFILE_CPE_ID_VENDOR = maynard_johnson -OPROFILE_CONF_OPTS = \ - --disable-account-check \ - --enable-gui=no \ - --with-kernel=$(STAGING_DIR)/usr - -OPROFILE_BINARIES = \ - utils/ophelp pp/opannotate pp/oparchive pp/opgprof \ - pp/opreport opjitconv/opjitconv \ - utils/op-check-perfevents libabi/opimport \ - pe_counting/ocount pe_profiling/operf - -ifeq ($(BR2_i386),y) -OPROFILE_ARCH = i386 -endif -ifeq ($(BR2_mipsel),y) -OPROFILE_ARCH = mips -endif -ifeq ($(BR2_powerpc),y) -OPROFILE_ARCH = ppc -endif -ifeq ($(BR2_x86_64),y) -OPROFILE_ARCH = x86-64 -endif -ifeq ($(OPROFILE_ARCH),) -OPROFILE_ARCH = $(BR2_ARCH) -endif - -OPROFILE_DEPENDENCIES = popt binutils host-pkgconf - -ifeq ($(BR2_PACKAGE_LIBPFM4),y) -OPROFILE_DEPENDENCIES += libpfm4 -endif - -ifeq ($(BR2_STATIC_LIBS),) -define OPROFILE_INSTALL_SHARED_LIBRARY - $(INSTALL) -m 755 $(@D)/libopagent/.libs/*.so* $(TARGET_DIR)/usr/lib/oprofile -endef -endif - -define OPROFILE_INSTALL_TARGET_CMDS - $(INSTALL) -d -m 755 $(TARGET_DIR)/usr/bin - $(INSTALL) -d -m 755 $(TARGET_DIR)/usr/share/oprofile - $(INSTALL) -d -m 755 $(TARGET_DIR)/usr/lib/oprofile - if [ -d $(@D)/events/$(OPROFILE_ARCH) ]; then \ - cp -dpfr $(@D)/events/$(OPROFILE_ARCH) \ - $(TARGET_DIR)/usr/share/oprofile; \ - fi - $(INSTALL) -m 644 $(@D)/libregex/stl.pat $(TARGET_DIR)/usr/share/oprofile - $(INSTALL) -m 755 $(addprefix $(@D)/, $(OPROFILE_BINARIES)) $(TARGET_DIR)/usr/bin - $(OPROFILE_INSTALL_SHARED_LIBRARY) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/optee-benchmark/Config.in b/buildroot-2021.05/package/optee-benchmark/Config.in deleted file mode 100644 index 5fd365a9..00000000 --- a/buildroot-2021.05/package/optee-benchmark/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_OPTEE_BENCHMARK - bool "optee-benchmark" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client - select BR2_PACKAGE_OPTEE_CLIENT - select BR2_PACKAGE_LIBYAML - help - Enable the OP-TEE benchmark package that brings facilities - for profiling traversal and execution timings when - invoking OP-TEE. OP-TEE benchmark is a component delivered - by the OP-TEE project. - - http://github.com/linaro-swg/optee_benchmark - -comment "optee-benchmark needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/optee-benchmark/optee-benchmark.hash b/buildroot-2021.05/package/optee-benchmark/optee-benchmark.hash deleted file mode 100644 index 144069b6..00000000 --- a/buildroot-2021.05/package/optee-benchmark/optee-benchmark.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/linaro-swg/optee_benchmark/archive/3.12.0/optee-benchmark-3.12.0.tar.gz -sha256 468635656fa483911cf605a96711d848f8e0f6b4a6137208226de364dee25fe4 optee-benchmark-3.12.0.tar.gz -# Locally computed -sha256 0571be5b739142dc3e40e0a4e7e30d4ab8bff0d4d606a3f2db2010745587d383 LICENSE diff --git a/buildroot-2021.05/package/optee-benchmark/optee-benchmark.mk b/buildroot-2021.05/package/optee-benchmark/optee-benchmark.mk deleted file mode 100644 index c17a7045..00000000 --- a/buildroot-2021.05/package/optee-benchmark/optee-benchmark.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# optee-benchmark -# -################################################################################ - -OPTEE_BENCHMARK_VERSION = 3.12.0 -OPTEE_BENCHMARK_SITE = $(call github,linaro-swg,optee_benchmark,$(OPTEE_BENCHMARK_VERSION)) -OPTEE_BENCHMARK_LICENSE = BSD-2-Clause -OPTEE_BENCHMARK_LICENSE_FILES = LICENSE - -OPTEE_BENCHMARK_DEPENDENCIES = optee-client libyaml - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/optee-client/0001-libckteec-add-missing-unistd.h-for-gid_t.patch b/buildroot-2021.05/package/optee-client/0001-libckteec-add-missing-unistd.h-for-gid_t.patch deleted file mode 100644 index 534f1d3b..00000000 --- a/buildroot-2021.05/package/optee-client/0001-libckteec-add-missing-unistd.h-for-gid_t.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 6b908687d37dc4e5c00df90058990da034506628 Mon Sep 17 00:00:00 2001 -From: Etienne Carriere -Date: Tue, 9 Mar 2021 11:52:32 +0100 -Subject: [PATCH 1/1] libckteec: add missing for gid_t - -Include missing unistd.h to support type gid_t. This change fixes [1]. - -Link: [1] http://autobuild.buildroot.net/results/34b9946e6d59112a7eead304933534ad4739a84c/build-end.log -Signed-off-by: Etienne Carriere -Acked-by: Jerome Forissier -[yann.morin.1998@free.fr: actual backport now that upstream applied it] -Signed-off-by: Yann E. MORIN ---- - libckteec/src/invoke_ta.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libckteec/src/invoke_ta.c b/libckteec/src/invoke_ta.c -index 6236719..70575d0 100644 ---- a/libckteec/src/invoke_ta.c -+++ b/libckteec/src/invoke_ta.c -@@ -18,6 +18,7 @@ - #include - #include - #include -+#include - - #include "ck_helpers.h" - #include "invoke_ta.h" --- -2.25.1 - diff --git a/buildroot-2021.05/package/optee-client/Config.in b/buildroot-2021.05/package/optee-client/Config.in deleted file mode 100644 index 1ef0a140..00000000 --- a/buildroot-2021.05/package/optee-client/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -config BR2_PACKAGE_OPTEE_CLIENT - bool "optee-client" - depends on BR2_TOOLCHAIN_HAS_THREADS - help - Enable the OP-TEE client package that brings non-secure - client application resources for OP-TEE support. OP-TEE - client is a component delivered by the OP-TEE project. - - The client API library allows application to invoke trusted - applications hosted in the OP-TEE OS secure world. The - supplicant provides services hosted by the non-secure world - and invoked by the secure world. - - https://github.com/OP-TEE/optee_client - -if BR2_PACKAGE_OPTEE_CLIENT - -config BR2_PACKAGE_OPTEE_CLIENT_TEE_FS_PATH - string "Path for normal world OS secure storage" - default "/data/tee" - help - Path to storage area for secure storage based on the - normal world OS providing the actual storage via - tee-supplicant. - -endif - -comment "optee-client needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/optee-client/optee-client.hash b/buildroot-2021.05/package/optee-client/optee-client.hash deleted file mode 100644 index 253c29e2..00000000 --- a/buildroot-2021.05/package/optee-client/optee-client.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/OP-TEE/optee_client/archive/3.12.0/optee-client-3.12.0.tar.gz -sha256 f75c45b40147217fa8f4a2ae1e4c06b24eb45d35167854fa9ad3ec3d6a73e858 optee-client-3.12.0.tar.gz -# Locally computed -sha256 fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f LICENSE diff --git a/buildroot-2021.05/package/optee-client/optee-client.mk b/buildroot-2021.05/package/optee-client/optee-client.mk deleted file mode 100644 index 22f205e4..00000000 --- a/buildroot-2021.05/package/optee-client/optee-client.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# optee-client -# -################################################################################ - -OPTEE_CLIENT_VERSION = 3.12.0 -OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION)) -OPTEE_CLIENT_LICENSE = BSD-2-Clause -OPTEE_CLIENT_LICENSE_FILES = LICENSE -OPTEE_CLIENT_INSTALL_STAGING = YES - -OPTEE_CLIENT_CONF_OPTS = \ - -DCFG_TEE_FS_PARENT_PATH=$(BR2_PACKAGE_OPTEE_CLIENT_TEE_FS_PATH) \ - -DCFG_WERROR=OFF - -define OPTEE_CLIENT_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D $(OPTEE_CLIENT_PKGDIR)/S30optee \ - $(TARGET_DIR)/etc/init.d/S30optee -endef - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/optee-examples/Config.in b/buildroot-2021.05/package/optee-examples/Config.in deleted file mode 100644 index c0fecfdf..00000000 --- a/buildroot-2021.05/package/optee-examples/Config.in +++ /dev/null @@ -1,23 +0,0 @@ -config BR2_PACKAGE_OPTEE_EXAMPLES - bool "optee-examples" - depends on BR2_TARGET_OPTEE_OS - depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client - select BR2_PACKAGE_OPTEE_CLIENT - select BR2_TARGET_OPTEE_OS_SDK - help - Enable the OP-TEE examples package that brings examples of - implementation of OP-TEE non-secure client applications and - secure trusted applications. OP-TEE examples is a - component delivered by the OP-TEE project. - - Trusted application binary files are installed in the target - directory /lib/optee_armtz as other trusted applications. - At runtime OP-TEE OS can load trusted applications from this - non-secure filesystem/directory into the secure world for - execution. - - https://github.com/linaro-swg/optee_examples - -comment "optee-examples needs a toolchain w/ threads" - depends on BR2_TARGET_OPTEE_OS - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/optee-examples/optee-examples.hash b/buildroot-2021.05/package/optee-examples/optee-examples.hash deleted file mode 100644 index d4353483..00000000 --- a/buildroot-2021.05/package/optee-examples/optee-examples.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/linaro-swg/optee_examples/archive/3.12.0/optee-examples-3.12.0.tar.gz -sha256 d3ae2cc4c51900a887f4c93e58571305bd37d60718a281953c3d775b3113f1f8 optee-examples-3.12.0.tar.gz -# Locally computed -sha256 6f1ef8449cb82ae79d2155605f7985bdf0f08e7ab5007de9b4362e8bf28733b9 LICENSE diff --git a/buildroot-2021.05/package/optee-examples/optee-examples.mk b/buildroot-2021.05/package/optee-examples/optee-examples.mk deleted file mode 100644 index ca7956e5..00000000 --- a/buildroot-2021.05/package/optee-examples/optee-examples.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# optee-examples -# -################################################################################ - -OPTEE_EXAMPLES_VERSION = 3.12.0 -OPTEE_EXAMPLES_SITE = $(call github,linaro-swg,optee_examples,$(OPTEE_EXAMPLES_VERSION)) -OPTEE_EXAMPLES_LICENSE = BSD-2-Clause -OPTEE_EXAMPLES_LICENSE_FILES = LICENSE - -OPTEE_EXAMPLES_DEPENDENCIES = optee-client optee-os - -# Trusted Application are not built from CMake due to ta_dev_kit dependencies. -# We must build and install them on target. -define OPTEE_EXAMPLES_BUILD_TAS - $(foreach f,$(wildcard $(@D)/*/ta/Makefile), \ - $(TARGET_CONFIGURE_OPTS) \ - $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) \ - TA_DEV_KIT_DIR=$(OPTEE_OS_SDK) \ - O=out -C $(dir $f) all - ) -endef -define OPTEE_EXAMPLES_INSTALL_TAS - @mkdir -p $(TARGET_DIR)/lib/optee_armtz - @$(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz $(@D)/*/ta/out/*.ta -endef -OPTEE_EXAMPLES_POST_BUILD_HOOKS += OPTEE_EXAMPLES_BUILD_TAS -OPTEE_EXAMPLES_POST_INSTALL_TARGET_HOOKS += OPTEE_EXAMPLES_INSTALL_TAS - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/optee-test/Config.in b/buildroot-2021.05/package/optee-test/Config.in deleted file mode 100644 index 357a6b0c..00000000 --- a/buildroot-2021.05/package/optee-test/Config.in +++ /dev/null @@ -1,28 +0,0 @@ -config BR2_PACKAGE_OPTEE_TEST - bool "optee-test" - depends on BR2_TARGET_OPTEE_OS - depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_OPTEE_CLIENT - select BR2_TARGET_OPTEE_OS_SDK - help - This build option enables OP-TEE test package from the - OP-TEE project. It helps platforms to verify the OP-TEE - installation against a set of regression and performance - tests. - - The package generates userspace test applications and - data files for the Linux userland. It also generates - OP-TEE trusted applications. - - Trusted application binary files are installed in the target - directory /lib/optee_armtz as other trusted applications. - At runtime OP-TEE OS can load trusted applications from this - non-secure filesystem/directory into the secure world for - execution. - - http://github.com/OP-TEE/optee_test - -comment "optee-test needs a toolchain w/ threads and C++" - depends on BR2_TARGET_OPTEE_OS - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/optee-test/optee-test.hash b/buildroot-2021.05/package/optee-test/optee-test.hash deleted file mode 100644 index 0c789e1c..00000000 --- a/buildroot-2021.05/package/optee-test/optee-test.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://github.com/OP-TEE/optee_test/archive/3.12.0/optee-test-3.12.0.tar.gz -sha256 beebdc98e95af2e7a20595f7d6ca716872efde1ec74a48ab07be599f21e8ad70 optee-test-3.12.0.tar.gz -# Locally computed -sha256 6e6810981f0ddab9e0d44399d0700a15d9f760a3c2843cc866659c2074139ae7 LICENSE.md diff --git a/buildroot-2021.05/package/optee-test/optee-test.mk b/buildroot-2021.05/package/optee-test/optee-test.mk deleted file mode 100644 index a2d18dad..00000000 --- a/buildroot-2021.05/package/optee-test/optee-test.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# optee-test -# -################################################################################ - -OPTEE_TEST_VERSION = 3.12.0 -OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION)) -OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause, -OPTEE_TEST_LICENSE_FILES = LICENSE.md - -OPTEE_TEST_DEPENDENCIES = optee-client optee-os - -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) -OPTEE_TEST_DEPENDENCIES += libopenssl -endif - -OPTEE_TEST_CONF_OPTS = -DOPTEE_TEST_SDK=$(OPTEE_OS_SDK) - -# Trusted Application are not built from CMake due to ta_dev_kit -# dependencies. We must build and install them on target. -define OPTEE_TEST_BUILD_TAS - $(foreach f,$(wildcard $(@D)/ta/*_lib/Makefile) $(wildcard $(@D)/ta/*/Makefile), \ - $(TARGET_CONFIGURE_OPTS) \ - $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) \ - TA_DEV_KIT_DIR=$(OPTEE_OS_SDK) \ - -C $(dir $f) all - ) -endef -define OPTEE_TEST_INSTALL_TAS - @mkdir -p $(TARGET_DIR)/lib/optee_armtz - @$(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz $(@D)/ta/*/*.ta -endef -OPTEE_TEST_POST_BUILD_HOOKS += OPTEE_TEST_BUILD_TAS -OPTEE_TEST_POST_INSTALL_TARGET_HOOKS += OPTEE_TEST_INSTALL_TAS - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/opus/opus.mk b/buildroot-2021.05/package/opus/opus.mk deleted file mode 100644 index 3fb2d5d6..00000000 --- a/buildroot-2021.05/package/opus/opus.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# opus -# -################################################################################ - -OPUS_VERSION = 1.3.1 -OPUS_SITE = https://downloads.xiph.org/releases/opus -OPUS_LICENSE = BSD-3-Clause -OPUS_LICENSE_FILES = COPYING -OPUS_INSTALL_STAGING = YES - -OPUS_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -OPUS_CFLAGS += -O0 -endif - -OPUS_CONF_ENV = CFLAGS="$(OPUS_CFLAGS)" - -ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y) -OPUS_CONF_OPTS += --enable-fixed-point -endif - -# When we're on ARM, but we don't have ARM instructions (only -# Thumb-2), disable the usage of assembly as it is not Thumb-ready. -ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) -OPUS_CONF_OPTS += --disable-asm -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/oracle-mysql/oracle-mysql.mk b/buildroot-2021.05/package/oracle-mysql/oracle-mysql.mk deleted file mode 100644 index ccfa40cf..00000000 --- a/buildroot-2021.05/package/oracle-mysql/oracle-mysql.mk +++ /dev/null @@ -1,136 +0,0 @@ -################################################################################ -# -# oracle-mysql -# -################################################################################ - -ORACLE_MYSQL_VERSION_MAJOR = 5.1 -ORACLE_MYSQL_VERSION = $(ORACLE_MYSQL_VERSION_MAJOR).73 -ORACLE_MYSQL_SOURCE = mysql-$(ORACLE_MYSQL_VERSION).tar.gz -ORACLE_MYSQL_SITE = http://dev.mysql.com/get/Downloads/MySQL-$(ORACLE_MYSQL_VERSION_MAJOR) -ORACLE_MYSQL_INSTALL_STAGING = YES -ORACLE_MYSQL_DEPENDENCIES = ncurses -ORACLE_MYSQL_AUTORECONF = YES -ORACLE_MYSQL_LICENSE = GPL-2.0 -ORACLE_MYSQL_LICENSE_FILES = README COPYING -ORACLE_MYSQL_PROVIDES = mysql - -# Unix socket. This variable can also be consulted by other buildroot packages -MYSQL_SOCKET = /run/mysql/mysql.sock - -ORACLE_MYSQL_CONF_ENV = \ - ac_cv_sys_restartable_syscalls=yes \ - ac_cv_path_PS=/bin/ps \ - ac_cv_path_HOSTNAME=/bin/hostname \ - ac_cv_FIND_PROC="/bin/ps p \$\$PID | grep -v grep | grep mysqld > /dev/null" \ - ac_cv_have_decl_HAVE_IB_ATOMIC_PTHREAD_T_GCC=yes \ - ac_cv_have_decl_HAVE_IB_ATOMIC_PTHREAD_T_SOLARIS=no \ - ac_cv_have_decl_HAVE_IB_GCC_ATOMIC_BUILTINS=yes \ - mysql_cv_new_rl_interface=yes - -ORACLE_MYSQL_CONF_OPTS = \ - --without-ndb-binlog \ - --without-docs \ - --without-man \ - --without-libedit \ - --with-readline \ - --with-low-memory \ - --enable-thread-safe-client \ - --with-unix-socket-path=$(MYSQL_SOCKET) \ - --disable-mysql-maintainer-mode - -# host-oracle-mysql only installs what is needed to build mysql, i.e. the -# gen_lex_hash tool, and it only builds the parts that are needed to -# create this tool -HOST_ORACLE_MYSQL_DEPENDENCIES = host-zlib host-ncurses - -HOST_ORACLE_MYSQL_CONF_OPTS = \ - --with-embedded-server \ - --disable-mysql-maintainer-mode - -define HOST_ORACLE_MYSQL_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/include my_config.h - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mysys libmysys.a - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/strings libmystrings.a - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/vio libvio.a - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/dbug libdbug.a - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/regex libregex.a - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sql gen_lex_hash -endef - -define HOST_ORACLE_MYSQL_INSTALL_CMDS - $(INSTALL) -m 0755 $(@D)/sql/gen_lex_hash $(HOST_DIR)/bin/ -endef - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -ORACLE_MYSQL_DEPENDENCIES += openssl -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -ORACLE_MYSQL_DEPENDENCIES += zlib -ORACLE_MYSQL_CONF_OPTS += --with-zlib-dir=$(STAGING_DIR)/usr -else -ORACLE_MYSQL_CONF_OPTS += --without-zlib-dir -endif - -ifeq ($(BR2_PACKAGE_ORACLE_MYSQL_SERVER),y) -ORACLE_MYSQL_DEPENDENCIES += host-oracle-mysql host-bison - -ORACLE_MYSQL_CONF_OPTS += \ - --localstatedir=/var/mysql \ - --with-atomic-ops=up \ - --with-embedded-server \ - --without-query-cache \ - --without-plugin-partition \ - --without-plugin-daemon_example \ - --without-plugin-ftexample \ - --without-plugin-archive \ - --without-plugin-blackhole \ - --without-plugin-example \ - --without-plugin-federated \ - --without-plugin-ibmdb2i \ - --without-plugin-innobase \ - --without-plugin-innodb_plugin \ - --without-plugin-ndbcluster - -# Debugging is only available for the server, so no need for -# this if-block outside of the server if-block -ifeq ($(BR2_ENABLE_DEBUG),y) -ORACLE_MYSQL_CONF_OPTS += --with-debug=full -else -ORACLE_MYSQL_CONF_OPTS += --without-debug -endif - -define ORACLE_MYSQL_USERS - mysql -1 nobody -1 * /var/mysql - - MySQL daemon -endef - -define ORACLE_MYSQL_ADD_FOLDER - $(INSTALL) -d $(TARGET_DIR)/var/mysql -endef - -ORACLE_MYSQL_POST_INSTALL_TARGET_HOOKS += ORACLE_MYSQL_ADD_FOLDER - -define ORACLE_MYSQL_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(ORACLE_MYSQL_PKGDIR)/S97mysqld \ - $(TARGET_DIR)/etc/init.d/S97mysqld -endef - -define ORACLE_MYSQL_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(ORACLE_MYSQL_PKGDIR)/mysqld.service \ - $(TARGET_DIR)/usr/lib/systemd/system/mysqld.service -endef - -else -ORACLE_MYSQL_CONF_OPTS += \ - --without-server -endif - -define ORACLE_MYSQL_REMOVE_TEST_PROGS - rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench -endef - -ORACLE_MYSQL_POST_INSTALL_TARGET_HOOKS += ORACLE_MYSQL_REMOVE_TEST_PROGS - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/owfs/0001-Fix-compilation-with-GCC10.patch b/buildroot-2021.05/package/owfs/0001-Fix-compilation-with-GCC10.patch deleted file mode 100644 index 49b703ee..00000000 --- a/buildroot-2021.05/package/owfs/0001-Fix-compilation-with-GCC10.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 43a4bc6b750c37f585d03b14941f3633ed5348d8 Mon Sep 17 00:00:00 2001 -From: "Azamat H. Hackimov" -Date: Tue, 9 Jun 2020 11:30:38 +0300 -Subject: [PATCH] Fix compilation with GCC10 - -Fixed compilation with -fno-common, which enabled in GCC 10 by default. -See https://bugs.gentoo.org/707438. -[Retrieved from: -https://github.com/owfs/owfs/commit/43a4bc6b750c37f585d03b14941f3633ed5348d8] -Signed-off-by: Fabrice Fontaine ---- - module/owserver/src/c/owserver.c | 2 ++ - module/owserver/src/include/owserver.h | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/module/owserver/src/c/owserver.c b/module/owserver/src/c/owserver.c -index db29988e..2ed29161 100644 ---- a/module/owserver/src/c/owserver.c -+++ b/module/owserver/src/c/owserver.c -@@ -36,6 +36,8 @@ - - #include "owserver.h" - -+pthread_mutex_t persistence_mutex ; -+ - /* --- Prototypes ------------ */ - static void SetupAntiloop(int argc, char **argv); - -diff --git a/module/owserver/src/include/owserver.h b/module/owserver/src/include/owserver.h -index 8be582f0..a257ed02 100644 ---- a/module/owserver/src/include/owserver.h -+++ b/module/owserver/src/include/owserver.h -@@ -18,7 +18,7 @@ - #include "ow.h" - #include "ow_connection.h" - --pthread_mutex_t persistence_mutex ; -+extern pthread_mutex_t persistence_mutex ; - #define PERSISTENCELOCK _MUTEX_LOCK( persistence_mutex ) ; - #define PERSISTENCEUNLOCK _MUTEX_UNLOCK( persistence_mutex ) ; - diff --git a/buildroot-2021.05/package/owfs/owfs.hash b/buildroot-2021.05/package/owfs/owfs.hash deleted file mode 100644 index 4c6b15a4..00000000 --- a/buildroot-2021.05/package/owfs/owfs.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 b8d33eba57d4a2f6c8a11ff23f233e3248bd75a42c8219b058a888846edd8717 owfs-3.2p3.tar.gz -sha256 1f0527ab035eefb5197c68633d06f50f5077c719d82a99344702ceaca29150b9 COPYING -sha256 8a6601b893d5784d931b2ede64a406fac463acfbb7014914e27de4d6e68457c3 COPYING.LIB diff --git a/buildroot-2021.05/package/owfs/owfs.mk b/buildroot-2021.05/package/owfs/owfs.mk deleted file mode 100644 index ffc0b309..00000000 --- a/buildroot-2021.05/package/owfs/owfs.mk +++ /dev/null @@ -1,117 +0,0 @@ -################################################################################ -# -# owfs -# -################################################################################ - -OWFS_VERSION = 3.2p3 -OWFS_SITE = https://github.com/owfs/owfs/releases/download/v$(OWFS_VERSION) -OWFS_DEPENDENCIES = host-pkgconf -OWFS_CONF_OPTS = --disable-owperl --without-perl5 --disable-owtcl --without-tcl - -# owtcl license is declared in module/ownet/c/src/include/ow_functions.h -OWFS_LICENSE = GPL-2.0+, LGPL-2.0 (owtcl) -OWFS_LICENSE_FILES = COPYING COPYING.LIB -OWFS_INSTALL_STAGING = YES - -# owfs PHP support is not PHP 7 compliant -# https://sourceforge.net/p/owfs/support-requests/32/ -OWFS_CONF_OPTS += --disable-owphp --without-php - -# Skip man pages processing -OWFS_CONF_ENV += ac_cv_path_SOELIM=true - -ifeq ($(BR2_PACKAGE_LIBFUSE),y) -OWFS_DEPENDENCIES += libfuse -OWFS_CONF_OPTS += \ - --enable-owfs \ - --with-fuseinclude=$(STAGING_DIR)/usr/include \ - --with-fuselib=$(STAGING_DIR)/usr/lib -define OWFS_INSTALL_FUSE_INIT_SYSV - $(INSTALL) -D -m 0755 $(OWFS_PKGDIR)S60owfs \ - $(TARGET_DIR)/etc/init.d/S60owfs -endef -define OWFS_CREATE_MOUNTPOINT - mkdir -p $(TARGET_DIR)/dev/1wire -endef -OWFS_POST_INSTALL_TARGET_HOOKS += OWFS_CREATE_MOUNTPOINT -else -OWFS_CONF_OPTS += --disable-owfs -endif - -ifeq ($(BR2_PACKAGE_LIBFTDI1),y) -OWFS_CONF_OPTS += \ - --enable-ftdi \ - --with-libftdi-config=$(STAGING_DIR)/usr/bin/libftdi1-config -OWFS_DEPENDENCIES += libftdi1 -else ifeq ($(BR2_PACKAGE_LIBFTDI),y) -OWFS_CONF_OPTS += \ - --enable-ftdi \ - --with-libftdi-config=$(STAGING_DIR)/usr/bin/libftdi-config -OWFS_DEPENDENCIES += libftdi -else -OWFS_CONF_OPTS += --disable-ftdi -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -OWFS_CONF_OPTS += --enable-usb -OWFS_DEPENDENCIES += libusb -else -OWFS_CONF_OPTS += --disable-usb -endif - -ifeq ($(BR2_PACKAGE_AVAHI),y) -OWFS_CONF_OPTS += --enable-avahi -OWFS_DEPENDENCIES += avahi -else -OWFS_CONF_OPTS += --disable-avahi -endif - -# setup.py isn't python3 compliant -ifeq ($(BR2_PACKAGE_PYTHON),y) -OWFS_CONF_OPTS += \ - --enable-owpython \ - --with-python \ - --with-pythonconfig=$(STAGING_DIR)/usr/bin/python-config -OWFS_MAKE_ENV += \ - CC="$(TARGET_CC)" \ - PYTHONPATH="$(PYTHON_PATH)" \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr -OWFS_DEPENDENCIES += python host-swig -# The configure scripts finds PYSITEDIR as the python_lib directory of -# host-python, and then prepends DESTDIR in front of it. So we end up -# installing things in $(TARGET_DIR)/$(HOST_DIR)/lib/python which is -# clearly wrong. -# Patching owfs to do the right thing is not trivial, it's much easier to -# override the PYSITEDIR variable in make. -OWFS_EXTRA_MAKE_OPTS += PYSITEDIR=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -define OWFS_FIXUP_PYTHON_SYSCONFIGDATA - find $(HOST_DIR)/lib/python* $(STAGING_DIR)/usr/lib/python* \ - -name "_sysconfigdata*.py" | xargs --no-run-if-empty \ - $(SED) "s:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/owfs/:g" -endef -OWFS_PRE_CONFIGURE_HOOKS += OWFS_FIXUP_PYTHON_SYSCONFIGDATA -endif - -else -OWFS_CONF_OPTS += --disable-owpython --without-python -endif - -ifeq ($(BR2_STATIC_LIBS),y) -# zeroconf support uses dlopen() -OWFS_CONF_OPTS += --disable-zero -endif - -OWFS_MAKE = $(MAKE) $(OWFS_EXTRA_MAKE_OPTS) - -define OWFS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(OWFS_PKGDIR)S55owserver \ - $(TARGET_DIR)/etc/init.d/S55owserver - $(OWFS_INSTALL_FUSE_INIT_SYSV) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/p11-kit/0001-p11-kit-lists-c-Add-stdint-h-to-fix-compilation.patch b/buildroot-2021.05/package/p11-kit/0001-p11-kit-lists-c-Add-stdint-h-to-fix-compilation.patch deleted file mode 100644 index d4828666..00000000 --- a/buildroot-2021.05/package/p11-kit/0001-p11-kit-lists-c-Add-stdint-h-to-fix-compilation.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 507c394cfcf4edffc5e4450c5d737e545c26b857 Mon Sep 17 00:00:00 2001 -From: Daniel Engberg -Date: Sat, 12 Dec 2020 18:56:38 +0100 -Subject: [PATCH] p11-kit/lists.c: Add stdint.h to fix compilation - -Add stdint.h otherwise compilation fails on FreeBSD 13-CURRENT with "use of undeclared identifier 'SIZE_MAX'" - -Signed-off-by: Daniel Engberg - -[Retrieved from: -https://github.com/p11-glue/p11-kit/commit/507c394cfcf4edffc5e4450c5d737e545c26b857] -Signed-off-by: Fabrice Fontaine ---- - p11-kit/lists.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/p11-kit/lists.c b/p11-kit/lists.c -index 365a6d89..1d9062be 100644 ---- a/p11-kit/lists.c -+++ b/p11-kit/lists.c -@@ -39,6 +39,7 @@ - - #include - #include -+#include - #include - #include - #include diff --git a/buildroot-2021.05/package/p11-kit/p11-kit.hash b/buildroot-2021.05/package/p11-kit/p11-kit.hash deleted file mode 100644 index 3481a40b..00000000 --- a/buildroot-2021.05/package/p11-kit/p11-kit.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 8a8f40153dd5a3f8e7c03e641f8db400133fb2a6a9ab2aee1b6d0cb0495ec6b6 p11-kit-0.23.22.tar.xz -# Locally computed -sha256 2e1ba993904df807a10c3eda1e5c272338edc35674b679773a8b3ad460731054 COPYING diff --git a/buildroot-2021.05/package/p11-kit/p11-kit.mk b/buildroot-2021.05/package/p11-kit/p11-kit.mk deleted file mode 100644 index 284eb0fa..00000000 --- a/buildroot-2021.05/package/p11-kit/p11-kit.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# p11-kit -# -################################################################################ - -P11_KIT_VERSION = 0.23.22 -P11_KIT_SOURCE = p11-kit-$(P11_KIT_VERSION).tar.xz -P11_KIT_SITE = https://github.com/p11-glue/p11-kit/releases/download/$(P11_KIT_VERSION) -P11_KIT_INSTALL_STAGING = YES -P11_KIT_CONF_OPTS = --disable-static -P11_KIT_CONF_ENV = ac_cv_have_decl_program_invocation_short_name=yes \ - ac_cv_have_decl___progname=no -P11_KIT_LICENSE = BSD-3-Clause -P11_KIT_LICENSE_FILES = COPYING -P11_KIT_CPE_ID_VENDOR = p11-kit_project - -ifeq ($(BR2_PACKAGE_LIBFFI),y) -P11_KIT_DEPENDENCIES += host-pkgconf libffi -P11_KIT_CONF_OPTS += --with-libffi -else -P11_KIT_CONF_OPTS += --without-libffi -endif - -ifeq ($(BR2_PACKAGE_LIBTASN1),y) -P11_KIT_DEPENDENCIES += host-pkgconf libtasn1 -P11_KIT_CONF_OPTS += \ - --enable-trust-module \ - --with-libtasn1 -ifeq ($(BR2_PACKAGE_CA_CERTIFICATES),y) -P11_KIT_CONF_OPTS += --with-trust-paths=/etc/ssl/certs/ca-certificates.crt -else -P11_KIT_CONF_OPTS += --without-trust-paths -endif -else -P11_KIT_CONF_OPTS += \ - --disable-trust-module \ - --without-libtasn1 -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/p7zip/0001-CVE-2016-9296.patch b/buildroot-2021.05/package/p7zip/0001-CVE-2016-9296.patch deleted file mode 100644 index 6e6fc9f5..00000000 --- a/buildroot-2021.05/package/p7zip/0001-CVE-2016-9296.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Robert Luberda -Date: Sat, 19 Nov 2016 08:48:08 +0100 -Subject: Fix nullptr dereference (CVE-2016-9296) - -Patch taken from https://sourceforge.net/p/p7zip/bugs/185/ - -Signed-off-by: André Hentschel ---- - CPP/7zip/Archive/7z/7zIn.cpp | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/CPP/7zip/Archive/7z/7zIn.cpp b/CPP/7zip/Archive/7z/7zIn.cpp -index b0c6b98..7c6dde2 100644 ---- a/CPP/7zip/Archive/7z/7zIn.cpp -+++ b/CPP/7zip/Archive/7z/7zIn.cpp -@@ -1097,7 +1097,8 @@ HRESULT CInArchive::ReadAndDecodePackedStreams( - if (CrcCalc(data, unpackSize) != folders.FolderCRCs.Vals[i]) - ThrowIncorrect(); - } -- HeadersSize += folders.PackPositions[folders.NumPackStreams]; -+ if (folders.PackPositions) -+ HeadersSize += folders.PackPositions[folders.NumPackStreams]; - return S_OK; - } - diff --git a/buildroot-2021.05/package/p7zip/0002-CVE-2017-17969.patch b/buildroot-2021.05/package/p7zip/0002-CVE-2017-17969.patch deleted file mode 100644 index 9198127c..00000000 --- a/buildroot-2021.05/package/p7zip/0002-CVE-2017-17969.patch +++ /dev/null @@ -1,37 +0,0 @@ -From: =?utf-8?q?Antoine_Beaupr=C3=A9?= -Date: Fri, 2 Feb 2018 11:11:41 +0100 -Subject: Heap-based buffer overflow in 7zip/Compress/ShrinkDecoder.cpp - -Origin: vendor, https://sourceforge.net/p/p7zip/bugs/_discuss/thread/0920f369/27d7/attachment/CVE-2017-17969.patch -Forwarded: https://sourceforge.net/p/p7zip/bugs/_discuss/thread/0920f369/#27d7 -Bug: https://sourceforge.net/p/p7zip/bugs/204/ -Bug-Debian: https://bugs.debian.org/888297 -Bug-Debian-Security: https://security-tracker.debian.org/tracker/CVE-2017-17969 -Reviewed-by: Salvatore Bonaccorso -Last-Update: 2018-02-01 -Applied-Upstream: 18.00-beta - -Signed-off-by: André Hentschel ---- - CPP/7zip/Compress/ShrinkDecoder.cpp | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/CPP/7zip/Compress/ShrinkDecoder.cpp b/CPP/7zip/Compress/ShrinkDecoder.cpp -index 80b7e67..ca37764 100644 ---- a/CPP/7zip/Compress/ShrinkDecoder.cpp -+++ b/CPP/7zip/Compress/ShrinkDecoder.cpp -@@ -121,8 +121,13 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream * - { - _stack[i++] = _suffixes[cur]; - cur = _parents[cur]; -+ if (cur >= kNumItems || i >= kNumItems) -+ break; - } -- -+ -+ if (cur >= kNumItems || i >= kNumItems) -+ break; -+ - _stack[i++] = (Byte)cur; - lastChar2 = (Byte)cur; - diff --git a/buildroot-2021.05/package/p7zip/0003-CVE-2018-5996.patch b/buildroot-2021.05/package/p7zip/0003-CVE-2018-5996.patch deleted file mode 100644 index dc3e90ad..00000000 --- a/buildroot-2021.05/package/p7zip/0003-CVE-2018-5996.patch +++ /dev/null @@ -1,223 +0,0 @@ -From: Robert Luberda -Date: Sun, 28 Jan 2018 23:47:40 +0100 -Subject: CVE-2018-5996 - -Hopefully fix Memory Corruptions via RAR PPMd (CVE-2018-5996) by -applying a few changes from 7Zip 18.00-beta. - -Bug-Debian: https://bugs.debian.org/#888314 - -Signed-off-by: André Hentschel ---- - CPP/7zip/Compress/Rar1Decoder.cpp | 13 +++++++++---- - CPP/7zip/Compress/Rar1Decoder.h | 1 + - CPP/7zip/Compress/Rar2Decoder.cpp | 10 +++++++++- - CPP/7zip/Compress/Rar2Decoder.h | 1 + - CPP/7zip/Compress/Rar3Decoder.cpp | 23 ++++++++++++++++++++--- - CPP/7zip/Compress/Rar3Decoder.h | 2 ++ - 6 files changed, 42 insertions(+), 8 deletions(-) - -diff --git a/CPP/7zip/Compress/Rar1Decoder.cpp b/CPP/7zip/Compress/Rar1Decoder.cpp -index 1aaedcc..68030c7 100644 ---- a/CPP/7zip/Compress/Rar1Decoder.cpp -+++ b/CPP/7zip/Compress/Rar1Decoder.cpp -@@ -29,7 +29,7 @@ public: - }; - */ - --CDecoder::CDecoder(): m_IsSolid(false) { } -+CDecoder::CDecoder(): m_IsSolid(false), _errorMode(false) { } - - void CDecoder::InitStructures() - { -@@ -406,9 +406,14 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream * - InitData(); - if (!m_IsSolid) - { -+ _errorMode = false; - InitStructures(); - InitHuff(); - } -+ -+ if (_errorMode) -+ return S_FALSE; -+ - if (m_UnpackSize > 0) - { - GetFlagsBuf(); -@@ -477,9 +482,9 @@ STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream - const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progress) - { - try { return CodeReal(inStream, outStream, inSize, outSize, progress); } -- catch(const CInBufferException &e) { return e.ErrorCode; } -- catch(const CLzOutWindowException &e) { return e.ErrorCode; } -- catch(...) { return S_FALSE; } -+ catch(const CInBufferException &e) { _errorMode = true; return e.ErrorCode; } -+ catch(const CLzOutWindowException &e) { _errorMode = true; return e.ErrorCode; } -+ catch(...) { _errorMode = true; return S_FALSE; } - } - - STDMETHODIMP CDecoder::SetDecoderProperties2(const Byte *data, UInt32 size) -diff --git a/CPP/7zip/Compress/Rar1Decoder.h b/CPP/7zip/Compress/Rar1Decoder.h -index 630f089..01b606b 100644 ---- a/CPP/7zip/Compress/Rar1Decoder.h -+++ b/CPP/7zip/Compress/Rar1Decoder.h -@@ -39,6 +39,7 @@ public: - - Int64 m_UnpackSize; - bool m_IsSolid; -+ bool _errorMode; - - UInt32 ReadBits(int numBits); - HRESULT CopyBlock(UInt32 distance, UInt32 len); -diff --git a/CPP/7zip/Compress/Rar2Decoder.cpp b/CPP/7zip/Compress/Rar2Decoder.cpp -index b3f2b4b..0580c8d 100644 ---- a/CPP/7zip/Compress/Rar2Decoder.cpp -+++ b/CPP/7zip/Compress/Rar2Decoder.cpp -@@ -80,7 +80,8 @@ static const UInt32 kHistorySize = 1 << 20; - static const UInt32 kWindowReservSize = (1 << 22) + 256; - - CDecoder::CDecoder(): -- m_IsSolid(false) -+ m_IsSolid(false), -+ m_TablesOK(false) - { - } - -@@ -100,6 +101,8 @@ UInt32 CDecoder::ReadBits(unsigned numBits) { return m_InBitStream.ReadBits(numB - - bool CDecoder::ReadTables(void) - { -+ m_TablesOK = false; -+ - Byte levelLevels[kLevelTableSize]; - Byte newLevels[kMaxTableSize]; - m_AudioMode = (ReadBits(1) == 1); -@@ -170,6 +173,8 @@ bool CDecoder::ReadTables(void) - } - - memcpy(m_LastLevels, newLevels, kMaxTableSize); -+ m_TablesOK = true; -+ - return true; - } - -@@ -344,6 +349,9 @@ HRESULT CDecoder::CodeReal(ISequentialInStream *inStream, ISequentialOutStream * - return S_FALSE; - } - -+ if (!m_TablesOK) -+ return S_FALSE; -+ - UInt64 startPos = m_OutWindowStream.GetProcessedSize(); - while (pos < unPackSize) - { -diff --git a/CPP/7zip/Compress/Rar2Decoder.h b/CPP/7zip/Compress/Rar2Decoder.h -index 3a0535c..0e9005f 100644 ---- a/CPP/7zip/Compress/Rar2Decoder.h -+++ b/CPP/7zip/Compress/Rar2Decoder.h -@@ -139,6 +139,7 @@ class CDecoder : - - UInt64 m_PackSize; - bool m_IsSolid; -+ bool m_TablesOK; - - void InitStructures(); - UInt32 ReadBits(unsigned numBits); -diff --git a/CPP/7zip/Compress/Rar3Decoder.cpp b/CPP/7zip/Compress/Rar3Decoder.cpp -index 3bf2513..6cb8a6a 100644 ---- a/CPP/7zip/Compress/Rar3Decoder.cpp -+++ b/CPP/7zip/Compress/Rar3Decoder.cpp -@@ -92,7 +92,8 @@ CDecoder::CDecoder(): - _writtenFileSize(0), - _vmData(0), - _vmCode(0), -- m_IsSolid(false) -+ m_IsSolid(false), -+ _errorMode(false) - { - Ppmd7_Construct(&_ppmd); - } -@@ -545,6 +546,9 @@ HRESULT CDecoder::ReadTables(bool &keepDecompressing) - return InitPPM(); - } - -+ TablesRead = false; -+ TablesOK = false; -+ - _lzMode = true; - PrevAlignBits = 0; - PrevAlignCount = 0; -@@ -606,6 +610,9 @@ HRESULT CDecoder::ReadTables(bool &keepDecompressing) - } - } - } -+ if (InputEofError()) -+ return S_FALSE; -+ - TablesRead = true; - - // original code has check here: -@@ -623,6 +630,9 @@ HRESULT CDecoder::ReadTables(bool &keepDecompressing) - RIF(m_LenDecoder.Build(&newLevels[kMainTableSize + kDistTableSize + kAlignTableSize])); - - memcpy(m_LastLevels, newLevels, kTablesSizesSum); -+ -+ TablesOK = true; -+ - return S_OK; - } - -@@ -824,7 +834,12 @@ HRESULT CDecoder::CodeReal(ICompressProgressInfo *progress) - PpmEscChar = 2; - PpmError = true; - InitFilters(); -+ _errorMode = false; - } -+ -+ if (_errorMode) -+ return S_FALSE; -+ - if (!m_IsSolid || !TablesRead) - { - bool keepDecompressing; -@@ -838,6 +853,8 @@ HRESULT CDecoder::CodeReal(ICompressProgressInfo *progress) - bool keepDecompressing; - if (_lzMode) - { -+ if (!TablesOK) -+ return S_FALSE; - RINOK(DecodeLZ(keepDecompressing)) - } - else -@@ -901,8 +918,8 @@ STDMETHODIMP CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream - _unpackSize = outSize ? *outSize : (UInt64)(Int64)-1; - return CodeReal(progress); - } -- catch(const CInBufferException &e) { return e.ErrorCode; } -- catch(...) { return S_FALSE; } -+ catch(const CInBufferException &e) { _errorMode = true; return e.ErrorCode; } -+ catch(...) { _errorMode = true; return S_FALSE; } - // CNewException is possible here. But probably CNewException is caused - // by error in data stream. - } -diff --git a/CPP/7zip/Compress/Rar3Decoder.h b/CPP/7zip/Compress/Rar3Decoder.h -index c130cec..2f72d7d 100644 ---- a/CPP/7zip/Compress/Rar3Decoder.h -+++ b/CPP/7zip/Compress/Rar3Decoder.h -@@ -192,6 +192,7 @@ class CDecoder: - UInt32 _lastFilter; - - bool m_IsSolid; -+ bool _errorMode; - - bool _lzMode; - bool _unsupportedFilter; -@@ -200,6 +201,7 @@ class CDecoder: - UInt32 PrevAlignCount; - - bool TablesRead; -+ bool TablesOK; - - CPpmd7 _ppmd; - int PpmEscChar; diff --git a/buildroot-2021.05/package/p7zip/0004-Fix-build-with-gcc-10.patch b/buildroot-2021.05/package/p7zip/0004-Fix-build-with-gcc-10.patch deleted file mode 100644 index b01833db..00000000 --- a/buildroot-2021.05/package/p7zip/0004-Fix-build-with-gcc-10.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 78b760eae21d7b340c69e8abab8ca706e1e00adc Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Stefan=20S=C3=B8rensen?= -Date: Mon, 4 May 2020 09:19:46 +0200 -Subject: [PATCH] Fix build with gcc 10. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add cast to code that mixes HRESULT (aka long) and DWORD (aka unsigned -int) which causes an narrowing error with gcc 10. - -Signed-off-by: Stefan Sørensen ---- - CPP/Windows/ErrorMsg.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CPP/Windows/ErrorMsg.cpp b/CPP/Windows/ErrorMsg.cpp -index 99684ae..ab48352 100644 ---- a/CPP/Windows/ErrorMsg.cpp -+++ b/CPP/Windows/ErrorMsg.cpp -@@ -13,7 +13,7 @@ UString MyFormatMessage(DWORD errorCode) - const char * txt = 0; - AString msg; - -- switch(errorCode) { -+ switch((HRESULT)errorCode) { - case ERROR_NO_MORE_FILES : txt = "No more files"; break ; - case E_NOTIMPL : txt = "E_NOTIMPL"; break ; - case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ; --- -2.26.2 - diff --git a/buildroot-2021.05/package/p7zip/Config.in b/buildroot-2021.05/package/p7zip/Config.in deleted file mode 100644 index a3adab5b..00000000 --- a/buildroot-2021.05/package/p7zip/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_P7ZIP - bool "p7zip" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_WCHAR - help - p7zip is a quick port of the command line version of 7-zip - for Unix (see http://www.7-zip.org) - - 7-Zip is a file archiver with highest compression ratio. - - http://sourceforge.net/projects/p7zip - -comment "p7zip needs a toolchain w/ threads, wchar, C++" - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/p7zip/p7zip.hash b/buildroot-2021.05/package/p7zip/p7zip.hash deleted file mode 100644 index a63a0b4a..00000000 --- a/buildroot-2021.05/package/p7zip/p7zip.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceforge.net/projects/p7zip/files/p7zip/16.02/ -md5 a0128d661cfe7cc8c121e73519c54fbf p7zip_16.02_src_all.tar.bz2 -sha1 e8819907132811aa1afe5ef296181d3a15cc8f22 p7zip_16.02_src_all.tar.bz2 -# Locally computed -sha256 5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f p7zip_16.02_src_all.tar.bz2 -sha256 555806657dcf0f1e720b581c52643c195ec86ae3f00bd18cc66d2e0f88ffa210 DOC/License.txt diff --git a/buildroot-2021.05/package/p7zip/p7zip.mk b/buildroot-2021.05/package/p7zip/p7zip.mk deleted file mode 100644 index 43fbe775..00000000 --- a/buildroot-2021.05/package/p7zip/p7zip.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# p7zip -# -################################################################################ - -P7ZIP_VERSION = 16.02 -P7ZIP_SOURCE = p7zip_$(P7ZIP_VERSION)_src_all.tar.bz2 -P7ZIP_SITE = http://downloads.sourceforge.net/project/p7zip/p7zip/$(P7ZIP_VERSION) -P7ZIP_LICENSE = LGPL-2.1+ with unRAR restriction -P7ZIP_LICENSE_FILES = DOC/License.txt -P7ZIP_CPE_ID_VENDOR = 7-zip - -# 0001-CVE-2016-9296.patch -P7ZIP_IGNORE_CVES += CVE-2016-9296 -# 0002-CVE-2017-17969.patch -P7ZIP_IGNORE_CVES += CVE-2017-17969 -# 0003-CVE-2018-5996.patch -P7ZIP_IGNORE_CVES += CVE-2018-5996 - -# p7zip buildsystem is a mess: it plays dirty tricks with CFLAGS and -# CXXFLAGS, so we can't pass them. Instead, it accepts ALLFLAGS_C -# and ALLFLAGS_CPP as variables to pass the CFLAGS and CXXFLAGS. -define P7ZIP_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" ALLFLAGS_C="$(TARGET_CFLAGS)" \ - CXX="$(TARGET_CXX)" ALLFLAGS_CPP="$(TARGET_CXXFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - -C $(@D) 7zr -endef - -define P7ZIP_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/bin/7zr $(TARGET_DIR)/usr/bin/7zr -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/paho-mqtt-c/paho-mqtt-c.hash b/buildroot-2021.05/package/paho-mqtt-c/paho-mqtt-c.hash deleted file mode 100644 index 4cdedfbf..00000000 --- a/buildroot-2021.05/package/paho-mqtt-c/paho-mqtt-c.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed: -sha256 386c9b5fa1cf6d0d516db12d57fd8f6a410dd0fdc5e9a2da870aae437a2535ed paho-mqtt-c-1.3.9.tar.gz -sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 -sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 -sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/buildroot-2021.05/package/paho-mqtt-c/paho-mqtt-c.mk b/buildroot-2021.05/package/paho-mqtt-c/paho-mqtt-c.mk deleted file mode 100644 index 68b58f2e..00000000 --- a/buildroot-2021.05/package/paho-mqtt-c/paho-mqtt-c.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# paho-mqtt-c -# -################################################################################ - -PAHO_MQTT_C_VERSION = 1.3.9 -PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) -PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause -PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE -PAHO_MQTT_C_INSTALL_STAGING = YES - -PAHO_MQTT_C_CONF_OPTS = \ - -DPAHO_ENABLE_TESTING=FALSE \ - -DPAHO_ENABLE_CPACK=FALSE \ - -DPAHO_HIGH_PERFORMANCE=TRUE - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -PAHO_MQTT_C_DEPENDENCIES += openssl -PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=TRUE -else -PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=FALSE -endif - -ifeq ($(BR2_SHARED_LIBS),y) -PAHO_MQTT_C_CONF_OPTS += \ - -DPAHO_BUILD_SHARED=TRUE \ - -DPAHO_BUILD_STATIC=FALSE -else ifeq ($(BR2_STATIC_LIBS),y) -PAHO_MQTT_C_CONF_OPTS += \ - -DPAHO_BUILD_SHARED=FALSE \ - -DPAHO_BUILD_STATIC=TRUE -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -PAHO_MQTT_C_CONF_OPTS += \ - -DPAHO_BUILD_SHARED=TRUE \ - -DPAHO_BUILD_STATIC=TRUE -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/paho-mqtt-cpp/0001-cmake-FindMahoMqttC.cmake-fix-static-build.patch b/buildroot-2021.05/package/paho-mqtt-cpp/0001-cmake-FindMahoMqttC.cmake-fix-static-build.patch deleted file mode 100644 index 934dca21..00000000 --- a/buildroot-2021.05/package/paho-mqtt-cpp/0001-cmake-FindMahoMqttC.cmake-fix-static-build.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 8aeafa1c2ec90b0e95ba5944266eda115457e10d Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 15 Jun 2020 13:40:22 +0200 -Subject: [PATCH] cmake/FindMahoMqttC.cmake: fix static build - -Static libraries of paho-mqtt-c are not suffixed with -static since -version 1.3.2 and -https://github.com/eclipse/paho.mqtt.c/commit/8cc51c78b76a1eabd1df3124b0887ce8b01070ff - -See: https://github.com/eclipse/paho.mqtt.c/pull/704 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/eclipse/paho.mqtt.cpp/pull/275] ---- - cmake/FindPahoMqttC.cmake | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/cmake/FindPahoMqttC.cmake b/cmake/FindPahoMqttC.cmake -index 53f15a3..0ec95bd 100644 ---- a/cmake/FindPahoMqttC.cmake -+++ b/cmake/FindPahoMqttC.cmake -@@ -5,10 +5,6 @@ if(PAHO_WITH_SSL) - else() - set(_PAHO_MQTT_C_LIB_NAME paho-mqtt3a) - endif() --# add suffix when using static Paho MQTT C library variant --if(PAHO_BUILD_STATIC) -- set(_PAHO_MQTT_C_LIB_NAME ${_PAHO_MQTT_C_LIB_NAME}-static) --endif() - - find_library(PAHO_MQTT_C_LIBRARIES NAMES ${_PAHO_MQTT_C_LIB_NAME}) - unset(_PAHO_MQTT_C_LIB_NAME) --- -2.26.2 - diff --git a/buildroot-2021.05/package/paho-mqtt-cpp/paho-mqtt-cpp.hash b/buildroot-2021.05/package/paho-mqtt-cpp/paho-mqtt-cpp.hash deleted file mode 100644 index e5406e0b..00000000 --- a/buildroot-2021.05/package/paho-mqtt-cpp/paho-mqtt-cpp.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 cb0343349ed91ef51d0e76ae860d19435a730d3d355e57886bb090014cb70bbe paho-mqtt-cpp-1.1.tar.gz -sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 -sha256 44277b2bec6093e4ac313afec251a4de599d24c4e768f8574d95b13a9d2d97b5 epl-v10 diff --git a/buildroot-2021.05/package/paho-mqtt-cpp/paho-mqtt-cpp.mk b/buildroot-2021.05/package/paho-mqtt-cpp/paho-mqtt-cpp.mk deleted file mode 100644 index 161e53d4..00000000 --- a/buildroot-2021.05/package/paho-mqtt-cpp/paho-mqtt-cpp.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# paho-mqtt-cpp -# -################################################################################ - -PAHO_MQTT_CPP_VERSION = 1.1 -PAHO_MQTT_CPP_SITE = $(call github,eclipse,paho.mqtt.cpp,v$(PAHO_MQTT_CPP_VERSION)) -PAHO_MQTT_CPP_LICENSE = EPL-1.0 or BSD-3-Clause -PAHO_MQTT_CPP_LICENSE_FILES = epl-v10 edl-v10 -PAHO_MQTT_CPP_INSTALL_STAGING = YES -PAHO_MQTT_CPP_DEPENDENCIES = paho-mqtt-c - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -PAHO_MQTT_CPP_DEPENDENCIES += openssl -PAHO_MQTT_CPP_CONF_OPTS += -DPAHO_WITH_SSL=TRUE -else -PAHO_MQTT_CPP_CONF_OPTS += -DPAHO_WITH_SSL=FALSE -endif - -ifeq ($(BR2_SHARED_LIBS),y) -PAHO_MQTT_CPP_CONF_OPTS += \ - -DPAHO_BUILD_SHARED=TRUE \ - -DPAHO_BUILD_STATIC=FALSE -else ifeq ($(BR2_STATIC_LIBS),y) -PAHO_MQTT_CPP_CONF_OPTS += \ - -DPAHO_BUILD_SHARED=FALSE \ - -DPAHO_BUILD_STATIC=TRUE -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -PAHO_MQTT_CPP_CONF_OPTS += \ - -DPAHO_BUILD_SHARED=TRUE \ - -DPAHO_BUILD_STATIC=TRUE -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/pango/Config.in b/buildroot-2021.05/package/pango/Config.in deleted file mode 100644 index cf5170c8..00000000 --- a/buildroot-2021.05/package/pango/Config.in +++ /dev/null @@ -1,32 +0,0 @@ -config BR2_PACKAGE_PANGO - bool "pango" - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - depends on BR2_INSTALL_LIBSTDCPP # freetype support - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # harfbuzz - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBFRIBIDI - select BR2_PACKAGE_EXPAT - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_FONTCONFIG - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_HARFBUZZ - select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 - help - Pango is a library for laying out and rendering of text, - with an emphasis on internationalization. Pango can be used - anywhere that text layout is needed, though most of the work - on Pango so far has been done in the context of the GTK+ - widget toolkit. Pango forms the core of text and font - handling for GTK+-2.x. - - https://pango.gnome.org/ - -comment "pango needs a toolchain w/ wchar, threads, C++, gcc >= 4.8" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/pango/pango.hash b/buildroot-2021.05/package/pango/pango.hash deleted file mode 100644 index a672b7cf..00000000 --- a/buildroot-2021.05/package/pango/pango.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.48/pango-1.48.0.sha256sum -sha256 391f26f3341c2d7053e0fb26a956bd42360dadd825efe7088b1e9340a65e74e6 pango-1.48.0.tar.xz - -# Locally computed -sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/buildroot-2021.05/package/pango/pango.mk b/buildroot-2021.05/package/pango/pango.mk deleted file mode 100644 index 803e46f1..00000000 --- a/buildroot-2021.05/package/pango/pango.mk +++ /dev/null @@ -1,53 +0,0 @@ -################################################################################ -# -# pango -# -################################################################################ - -PANGO_VERSION_MAJOR = 1.48 -PANGO_VERSION = $(PANGO_VERSION_MAJOR).0 -PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz -PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) -PANGO_INSTALL_STAGING = YES -PANGO_LICENSE = LGPL-2.0+ -PANGO_LICENSE_FILES = COPYING -PANGO_CPE_ID_VENDOR = pango - -PANGO_CONF_OPTS = -Duse_fontconfig=true -HOST_PANGO_CONF_OPTS = -Duse_fontconfig=true -Dintrospection=disabled - -PANGO_DEPENDENCIES = \ - $(TARGET_NLS_DEPENDENCIES) \ - host-pkgconf \ - libglib2 \ - libfribidi \ - cairo \ - harfbuzz \ - fontconfig \ - freetype -HOST_PANGO_DEPENDENCIES = \ - host-pkgconf \ - host-libglib2 \ - host-libfribidi \ - host-cairo \ - host-harfbuzz \ - host-fontconfig \ - host-freetype - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -PANGO_CONF_OPTS += -Dintrospection=enabled -PANGO_DEPENDENCIES += gobject-introspection -else -PANGO_CONF_OPTS += -Dintrospection=disabled -endif - -ifeq ($(BR2_PACKAGE_XORG7),y) -PANGO_DEPENDENCIES += xlib_libX11 -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy) -PANGO_DEPENDENCIES += xlib_libXft xlib_libXrender -endif - -$(eval $(meson-package)) -$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/pangomm/Config.in b/buildroot-2021.05/package/pangomm/Config.in deleted file mode 100644 index 0702b8c5..00000000 --- a/buildroot-2021.05/package/pangomm/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_PANGOMM - bool "pangomm" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz - depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 - depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/pango -> libglib2 - depends on BR2_USE_MMU # *mm/pango -> libglib2 - depends on BR2_USE_WCHAR # *mm/pango -> libglib2 - select BR2_PACKAGE_CAIROMM - select BR2_PACKAGE_GLIBMM - select BR2_PACKAGE_PANGO - select BR2_PACKAGE_LIBSIGC - help - The pangomm package is a set of C++ bindings for Pango. - - http://www.gtkmm.org/ - -comment "pangomm needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ - || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/pangomm/pangomm.hash b/buildroot-2021.05/package/pangomm/pangomm.hash deleted file mode 100644 index bde53e4f..00000000 --- a/buildroot-2021.05/package/pangomm/pangomm.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://ftp.gnome.org/pub/gnome/sources/pangomm/2.40/pangomm-2.40.1.sha256sum -sha256 9762ee2a2d5781be6797448d4dd2383ce14907159b30bc12bf6b08e7227be3af pangomm-2.40.1.tar.xz -# Locally computed -sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools diff --git a/buildroot-2021.05/package/pangomm/pangomm.mk b/buildroot-2021.05/package/pangomm/pangomm.mk deleted file mode 100644 index 9edcb164..00000000 --- a/buildroot-2021.05/package/pangomm/pangomm.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# pangomm -# -################################################################################ - -PANGOMM_VERSION_MAJOR = 2.40 -PANGOMM_VERSION = $(PANGOMM_VERSION_MAJOR).1 -PANGOMM_SOURCE = pangomm-$(PANGOMM_VERSION).tar.xz -PANGOMM_SITE = http://ftp.gnome.org/pub/gnome/sources/pangomm/$(PANGOMM_VERSION_MAJOR) -PANGOMM_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) -PANGOMM_LICENSE_FILES = COPYING COPYING.tools -PANGOMM_INSTALL_STAGING = YES -PANGOMM_DEPENDENCIES = glibmm cairomm libsigc pango host-pkgconf - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pciutils/pciutils.mk b/buildroot-2021.05/package/pciutils/pciutils.mk deleted file mode 100644 index 9b83b62b..00000000 --- a/buildroot-2021.05/package/pciutils/pciutils.mk +++ /dev/null @@ -1,69 +0,0 @@ -################################################################################ -# -# pciutils -# -################################################################################ - -PCIUTILS_VERSION = 3.7.0 -PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils -PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz -PCIUTILS_INSTALL_STAGING = YES -PCIUTILS_LICENSE = GPL-2.0+ -PCIUTILS_LICENSE_FILES = COPYING -PCIUTILS_MAKE_OPTS = \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - HOST="$(KERNEL_ARCH)-linux" \ - OPT="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - DNS=no \ - STRIP= - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -PCIUTILS_DEPENDENCIES += udev -PCIUTILS_MAKE_OPTS += HWDB=yes -else -PCIUTILS_MAKE_OPTS += HWDB=no -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -PCIUTILS_MAKE_OPTS += ZLIB=yes -PCIUTILS_DEPENDENCIES += zlib -else -PCIUTILS_MAKE_OPTS += ZLIB=no -endif - -ifeq ($(BR2_PACKAGE_KMOD),y) -PCIUTILS_DEPENDENCIES += kmod -PCIUTILS_MAKE_OPTS += LIBKMOD=yes -else -PCIUTILS_MAKE_OPTS += LIBKMOD=no -endif - -ifeq ($(BR2_STATIC_LIBS),y) -PCIUTILS_MAKE_OPTS += SHARED=no -else -PCIUTILS_MAKE_OPTS += SHARED=yes -endif - -define PCIUTILS_CONFIGURE_CMDS - $(SED) 's/wget --no-timestamping/wget/' $(PCIUTILS_DIR)/update-pciids.sh -endef - -define PCIUTILS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(PCIUTILS_MAKE_OPTS) \ - PREFIX=/usr -endef - -define PCIUTILS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \ - PREFIX=$(TARGET_DIR)/usr SBINDIR=$(TARGET_DIR)/usr/bin \ - install install-lib install-pcilib -endef - -define PCIUTILS_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \ - PREFIX=$(STAGING_DIR)/usr SBINDIR=$(STAGING_DIR)/usr/bin \ - install install-lib install-pcilib -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/pcm-tools/0001-Look-for-pcm-core-at-the-default-path.patch b/buildroot-2021.05/package/pcm-tools/0001-Look-for-pcm-core-at-the-default-path.patch deleted file mode 100644 index 933eec02..00000000 --- a/buildroot-2021.05/package/pcm-tools/0001-Look-for-pcm-core-at-the-default-path.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 53b6161d2413406778fa222274069c82846f0297 Mon Sep 17 00:00:00 2001 -From: Carlos Santos -Date: Thu, 6 Dec 2018 21:17:02 -0200 -Subject: [PATCH] Look for pcm-core at the default path - -On Buildroot, pcm-core.x is installed as /usr/bin/pcm-core. Remove the -platform test, since we know that it's neither CigWin nor Windows, and -use the default path. - -It's not nice to have a Buildroot specific patch but let's use one while -we look for a solution that is acceptable upstream. - -Signed-off-by: Carlos Santos ---- - pmu-query.py | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -diff --git a/pmu-query.py b/pmu-query.py -index 4c596c7..dc39df6 100755 ---- a/pmu-query.py -+++ b/pmu-query.py -@@ -3,7 +3,6 @@ import urllib2 - import json, csv - import subprocess - import sys --import platform - import getopt - - all_flag = False -@@ -38,12 +37,7 @@ if filename == None: - except StopIteration: - break - -- if platform.system() == 'CYGWIN_NT-6.1': -- p = subprocess.Popen(['./pcm-core.exe -c'],stdout=subprocess.PIPE,shell=True) -- elif platform.system() == 'Windows': -- p = subprocess.Popen(['pcm-core.exe -c'],stdout=subprocess.PIPE,shell=True) -- else: -- p = subprocess.Popen(['./pcm-core.x -c'],stdout=subprocess.PIPE,shell=True) -+ p = subprocess.Popen(['/usr/bin/pcm-core -c'],stdout=subprocess.PIPE,shell=True) - - (output, err) = p.communicate() - p_status = p.wait() --- -2.19.2 - diff --git a/buildroot-2021.05/package/pcm-tools/Config.in b/buildroot-2021.05/package/pcm-tools/Config.in deleted file mode 100644 index f347a265..00000000 --- a/buildroot-2021.05/package/pcm-tools/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -comment "pcm-tools needs a toolchain w/ C++" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_PCM_TOOLS - bool "pcm-tools" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_HWDATA - select BR2_PACKAGE_HWDATA_PCI_IDS - help - Processor Counter Monitor (PCM) is an application programming - interface (API) and a set of tools based on the API to monitor - performance and energy metrics of Intel(R) Core(TM), Xeon(R), - Atom(TM) and Xeon Phi(TM) processors. - - https://github.com/opcm/pcm - -if BR2_PACKAGE_PCM_TOOLS - -# The pmu-query script is not compatible with Python 3 -config BR2_PACKAGE_PCM_TOOLS_PMU_QUERY - bool "install the pmu-query script" - default y - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_CA_CERTIFICATES # https - select BR2_PACKAGE_PYTHON_HASHLIB # urllib2 - select BR2_PACKAGE_PYTHON_SSL # urllib2 - -comment "pmu-query needs Python 2.x" - depends on !BR2_PACKAGE_PYTHON - -endif diff --git a/buildroot-2021.05/package/pcm-tools/pcm-tools.hash b/buildroot-2021.05/package/pcm-tools/pcm-tools.hash deleted file mode 100644 index 77f14824..00000000 --- a/buildroot-2021.05/package/pcm-tools/pcm-tools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 798eb1bc5d9c34fa107de21b2100e8d4326cb45b613bc35baa1e1efb1dd13b04 pcm-tools-201812.tar.gz -sha256 fac73f62c4d665c82622862a2be2b89713e0f480c93e593af2d8ef29a13d814b LICENSE diff --git a/buildroot-2021.05/package/pcm-tools/pcm-tools.mk b/buildroot-2021.05/package/pcm-tools/pcm-tools.mk deleted file mode 100644 index 6de11c0d..00000000 --- a/buildroot-2021.05/package/pcm-tools/pcm-tools.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# pcm-tools -# -################################################################################ - -PCM_TOOLS_VERSION = 201812 -PCM_TOOLS_SITE = $(call github,opcm,pcm,$(PCM_TOOLS_VERSION)) -PCM_TOOLS_LICENSE = BSD-3-Clause -PCM_TOOLS_LICENSE_FILES = LICENSE - -PCM_TOOLS_EXE_FILES = \ - pcm-core pcm-iio pcm-lspci pcm-memory pcm-msr pcm-numa \ - pcm-pcicfg pcm-pcie pcm-power pcm-sensor pcm-tsx pcm - -define PCM_TOOLS_BUILD_CMDS - touch $(@D)/daemon-binaries - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" \ - UNAME=Linux HOST=_LINUX -endef - -ifeq ($(BR2_PACKAGE_PCM_TOOLS_PMU_QUERY),y) -define PCM_TOOLS_INSTALL_PMU_QUERY - $(INSTALL) -D -m 755 $(@D)/pmu-query.py $(TARGET_DIR)/usr/bin/pmu-query -endef -endif - -define PCM_TOOLS_INSTALL_TARGET_CMDS - $(foreach f,$(PCM_TOOLS_EXE_FILES),\ - $(INSTALL) -D -m 755 $(@D)/$(f).x $(TARGET_DIR)/usr/bin/$(f) - ) - $(PCM_TOOLS_INSTALL_PMU_QUERY) -endef - -define PCM_TOOLS_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_X86_MSR) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/pcmanfm/Config.in b/buildroot-2021.05/package/pcmanfm/Config.in deleted file mode 100644 index f2815996..00000000 --- a/buildroot-2021.05/package/pcmanfm/Config.in +++ /dev/null @@ -1,27 +0,0 @@ -config BR2_PACKAGE_PCMANFM - bool "pcmanfm" - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_MMU # libglib2 - depends on BR2_INSTALL_LIBSTDCPP # libgtk2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2 -> pango -> harfbuzz - select BR2_PACKAGE_LIBFM - select BR2_PACKAGE_MENU_CACHE - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBGTK2 if !BR2_PACKAGE_LIBGTK3_X11 - help - PCMan File Manager (PCManFM) is a file manager application - developed by Hong Jen Yee from Taiwan which is meant to be a - replacement for Nautilus, Konqueror and Thunar. - - http://wiki.lxde.org/en/PCManFM - -comment "pcmanfm needs a toolchain w/ wchar, threads, C++, gcc >= 4.8" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_XORG7 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/pcre/0002-Disable-C-unit-tests.patch b/buildroot-2021.05/package/pcre/0002-Disable-C-unit-tests.patch deleted file mode 100644 index c5c1a49f..00000000 --- a/buildroot-2021.05/package/pcre/0002-Disable-C-unit-tests.patch +++ /dev/null @@ -1,42 +0,0 @@ -From e3c636b8c7f9912d8d3a9fabdaa0a96ba69f7b29 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Tue, 14 Jun 2016 20:32:44 -0300 -Subject: [PATCH] Disable C++ unit tests - -They fail to build on static targets and they're not installed anyway. - -Signed-off-by: Gustavo Zacarias ---- - Makefile.in | 9 --------- - 1 file changed, 9 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 6d03912..2c42b3e 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -133,12 +133,6 @@ noinst_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) - @WITH_PCRE8_TRUE@am__append_20 = libpcreposix.la - @WITH_GCOV_TRUE@@WITH_PCRE8_TRUE@am__append_21 = $(GCOV_CFLAGS) - @WITH_PCRE_CPP_TRUE@am__append_22 = libpcrecpp.la --@WITH_PCRE_CPP_TRUE@am__append_23 = pcrecpp_unittest \ --@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest \ --@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest --@WITH_PCRE_CPP_TRUE@am__append_24 = pcrecpp_unittest \ --@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest \ --@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest - @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_25 = $(GCOV_CXXFLAGS) - @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_26 = $(GCOV_LIBS) - @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_27 = $(GCOV_LIBS) -@@ -362,9 +356,6 @@ libpcreposix_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - @WITH_PCRE8_TRUE@am__EXEEXT_1 = pcregrep$(EXEEXT) - @WITH_REBUILD_CHARTABLES_TRUE@am__EXEEXT_2 = dftables$(EXEEXT) - @WITH_JIT_TRUE@am__EXEEXT_3 = pcre_jit_test$(EXEEXT) --@WITH_PCRE_CPP_TRUE@am__EXEEXT_4 = pcrecpp_unittest$(EXEEXT) \ --@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest$(EXEEXT) \ --@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest$(EXEEXT) - PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) - am__dftables_SOURCES_DIST = dftables.c - @WITH_REBUILD_CHARTABLES_TRUE@am_dftables_OBJECTS = \ --- -2.7.3 - diff --git a/buildroot-2021.05/package/pcre/pcre.hash b/buildroot-2021.05/package/pcre/pcre.hash deleted file mode 100644 index 628d6173..00000000 --- a/buildroot-2021.05/package/pcre/pcre.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 19108658b23b3ec5058edc9f66ac545ea19f9537234be1ec62b714c84399366d pcre-8.44.tar.bz2 -# License files, locally calculated -sha256 0dd9c13864dbb9ee4d77a1557e96be29b2d719fb6584192ee36611aae264c4a3 LICENCE diff --git a/buildroot-2021.05/package/pcre/pcre.mk b/buildroot-2021.05/package/pcre/pcre.mk deleted file mode 100644 index c8498b7a..00000000 --- a/buildroot-2021.05/package/pcre/pcre.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# pcre -# -################################################################################ - -PCRE_VERSION = 8.44 -PCRE_SITE = https://ftp.pcre.org/pub/pcre -PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2 -PCRE_LICENSE = BSD-3-Clause -PCRE_LICENSE_FILES = LICENCE -PCRE_CPE_ID_VENDOR = pcre -PCRE_INSTALL_STAGING = YES -PCRE_CONFIG_SCRIPTS = pcre-config - -# They're required for host-libglib2 -HOST_PCRE_CONF_OPTS = --enable-unicode-properties - -ifneq ($(BR2_INSTALL_LIBSTDCPP),y) -# pcre will use the host g++ if a cross version isn't available -PCRE_CONF_OPTS = --disable-cpp -endif - -PCRE_CONF_OPTS += --enable-pcre8 -PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16) -PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32) -PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UTF),--enable-utf,--disable-utf) -PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UCP),--enable-unicode-properties,--disable-unicode-properties) - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/pcre2/pcre2.hash b/buildroot-2021.05/package/pcre2/pcre2.hash deleted file mode 100644 index b30a2909..00000000 --- a/buildroot-2021.05/package/pcre2/pcre2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -# https://ftp.pcre.org/pub/pcre/pcre2-10.36.tar.bz2.sig -sha256 a9ef39278113542968c7c73a31cfcb81aca1faa64690f400b907e8ab6b4a665c pcre2-10.36.tar.bz2 -# Locally computed -sha256 8937734bbb1ba65d9f8ac7a7c8fc9016759a09aa2fb37d2175c06c9e7a856a24 LICENCE diff --git a/buildroot-2021.05/package/pcre2/pcre2.mk b/buildroot-2021.05/package/pcre2/pcre2.mk deleted file mode 100644 index 858ef597..00000000 --- a/buildroot-2021.05/package/pcre2/pcre2.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# pcre2 -# -################################################################################ - -PCRE2_VERSION = 10.36 -PCRE2_SITE = https://ftp.pcre.org/pub/pcre -PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2 -PCRE2_LICENSE = BSD-3-Clause -PCRE2_LICENSE_FILES = LICENCE -PCRE2_INSTALL_STAGING = YES -PCRE2_CONFIG_SCRIPTS = pcre2-config - -PCRE2_CONF_OPTS += --enable-pcre2-8 -PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_16),--enable-pcre2-16,--disable-pcre2-16) -PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_32),--enable-pcre2-32,--disable-pcre2-32) - -ifeq ($(BR2_PACKAGE_PCRE2_JIT),y) -PCRE2_CONF_OPTS += --enable-jit -else -PCRE2_CONF_OPTS += --disable-jit -endif - -# disable fork usage if not available -ifeq ($(BR2_USE_MMU),) -PCRE2_CONF_OPTS += --disable-pcre2grep-callout -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/pcsc-lite/pcsc-lite.hash b/buildroot-2021.05/package/pcsc-lite/pcsc-lite.hash deleted file mode 100644 index 4d31b25a..00000000 --- a/buildroot-2021.05/package/pcsc-lite/pcsc-lite.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 73c4789b7876a833a70f493cda21655dfe85689d9b7e29701c243276e55e683a pcsc-lite-1.9.1.tar.bz2 -sha256 40d4358bb8dc8d30f5365ae6d999b6f820bbc051b292912482f2e4d0ebd837e1 COPYING -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-3.0.txt diff --git a/buildroot-2021.05/package/pcsc-lite/pcsc-lite.mk b/buildroot-2021.05/package/pcsc-lite/pcsc-lite.mk deleted file mode 100644 index 3091da41..00000000 --- a/buildroot-2021.05/package/pcsc-lite/pcsc-lite.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# pcsc-lite -# -################################################################################ - -PCSC_LITE_VERSION = 1.9.1 -PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2 -PCSC_LITE_SITE = https://pcsclite.apdu.fr/files -PCSC_LITE_INSTALL_STAGING = YES -PCSC_LITE_DEPENDENCIES = host-pkgconf -PCSC_LITE_LICENSE = BSD-2-Clause (auth), BSD-3-Clause, GPL-3.0+ (demo, spy, tests), ISC (simclist) -PCSC_LITE_LICENSE_FILES = COPYING GPL-3.0.txt - -# - libudev and libusb are optional -# - libudev and libusb can't be used together -# - libudev has a priority over libusb - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -PCSC_LITE_CONF_OPTS += --enable-libudev --disable-libusb -PCSC_LITE_DEPENDENCIES += udev -else -ifeq ($(BR2_PACKAGE_LIBUSB),y) -PCSC_LITE_CONF_OPTS += --enable-libusb --disable-libudev -PCSC_LITE_DEPENDENCIES += libusb -else -PCSC_LITE_CONF_OPTS += --disable-libusb --disable-libudev -endif -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -PCSC_LITE_CONF_OPTS += --enable-libsystemd -PCSC_LITE_DEPENDENCIES += systemd -else -PCSC_LITE_CONF_OPTS += --disable-libsystemd -endif - -ifeq ($(PACKAGE_PCSC_LITE_DEBUGATR),y) -PCSC_LITE_CONF_OPTS += --enable-debugatr -endif - -ifeq ($(PACKAGE_PCSC_LITE_EMBEDDED),y) -PCSC_LITE_CONF_OPTS += --enable-embedded -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pdbg/pdbg.hash b/buildroot-2021.05/package/pdbg/pdbg.hash deleted file mode 100644 index bc9f99b1..00000000 --- a/buildroot-2021.05/package/pdbg/pdbg.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 c47adcac1c404266217be8c4acb408d9eba59562b094c941e96e4f77f3ced7d2 pdbg-3.2.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING diff --git a/buildroot-2021.05/package/pdbg/pdbg.mk b/buildroot-2021.05/package/pdbg/pdbg.mk deleted file mode 100644 index e8bb36c3..00000000 --- a/buildroot-2021.05/package/pdbg/pdbg.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# pdbg -# -################################################################################ - -PDBG_VERSION = 3.2 -PDBG_SITE = $(call github,open-power,pdbg,v$(PDBG_VERSION)) -PDBG_LICENSE = Apache-2.0 -PDBG_LICENSE_FILES = COPYING -PDBG_AUTORECONF = YES -PDBG_DEPENDENCIES = host-dtc - -PDBG_MAKE_OPTS = "GIT_SHA1=\"v$(PDBG_VERSION)\"" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/perl-convert-asn1/perl-convert-asn1.hash b/buildroot-2021.05/package/perl-convert-asn1/perl-convert-asn1.hash deleted file mode 100644 index 4fd7d3eb..00000000 --- a/buildroot-2021.05/package/perl-convert-asn1/perl-convert-asn1.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 68723e96be0b258a9e20480276e8a62c Convert-ASN1-0.27.tar.gz -sha256 74a4a78ae0c5e973100ac0a8f203a110f76fb047b79dae4fc1fd7d6814d3d58a Convert-ASN1-0.27.tar.gz - -# computed by scancpan -sha256 4ef46cc39d9e2b4c767503457a1f8fda5bcf9c0c164923e2a54a3863209cf237 LICENSE diff --git a/buildroot-2021.05/package/perl-convert-asn1/perl-convert-asn1.mk b/buildroot-2021.05/package/perl-convert-asn1/perl-convert-asn1.mk deleted file mode 100644 index b6ba76a7..00000000 --- a/buildroot-2021.05/package/perl-convert-asn1/perl-convert-asn1.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-convert-asn1 -# -################################################################################ - -PERL_CONVERT_ASN1_VERSION = 0.27 -PERL_CONVERT_ASN1_SOURCE = Convert-ASN1-$(PERL_CONVERT_ASN1_VERSION).tar.gz -PERL_CONVERT_ASN1_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GB/GBARR -PERL_CONVERT_ASN1_LICENSE = Artistic or GPL-1.0+ -PERL_CONVERT_ASN1_LICENSE_FILES = LICENSE -PERL_CONVERT_ASN1_DISTNAME = Convert-ASN1 - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-crypt-openssl-rsa/Config.in b/buildroot-2021.05/package/perl-crypt-openssl-rsa/Config.in deleted file mode 100644 index e58a921b..00000000 --- a/buildroot-2021.05/package/perl-crypt-openssl-rsa/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PERL_CRYPT_OPENSSL_RSA - bool "perl-crypt-openssl-rsa" - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_PERL_CRYPT_OPENSSL_RANDOM # runtime - help - RSA encoding and decoding, using the openSSL libraries. - - http://github.com/toddr/Crypt-OpenSSL-RSA - -comment "perl-crypt-openssl-rsa needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk b/buildroot-2021.05/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk deleted file mode 100644 index b1615234..00000000 --- a/buildroot-2021.05/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# perl-crypt-openssl-rsa -# -################################################################################ - -PERL_CRYPT_OPENSSL_RSA_VERSION = 0.31 -PERL_CRYPT_OPENSSL_RSA_SOURCE = Crypt-OpenSSL-RSA-$(PERL_CRYPT_OPENSSL_RSA_VERSION).tar.gz -PERL_CRYPT_OPENSSL_RSA_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR -PERL_CRYPT_OPENSSL_RSA_DEPENDENCIES = \ - host-perl-crypt-openssl-guess \ - perl-crypt-openssl-random -PERL_CRYPT_OPENSSL_RSA_LICENSE = Artistic or GPL-1.0+ -PERL_CRYPT_OPENSSL_RSA_LICENSE_FILES = LICENSE -PERL_CRYPT_OPENSSL_RSA_DISTNAME = Crypt-OpenSSL-RSA - -# Try as hard as possible to remedy to the brain-damage their build-system -# suffers from: don't search for openssl, they pick the host-system one. -PERL_CRYPT_OPENSSL_RSA_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-data-dump/perl-data-dump.hash b/buildroot-2021.05/package/perl-data-dump/perl-data-dump.hash deleted file mode 100644 index 87850326..00000000 --- a/buildroot-2021.05/package/perl-data-dump/perl-data-dump.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 762c111e525c82ff23d62c90821b26e9 Data-Dump-1.23.tar.gz -sha256 af53b05ef1387b4cab4427e6789179283e4f0da8cf036e8db516ddb344512b65 Data-Dump-1.23.tar.gz - -# computed by scancpan -sha256 31d1b6482bcc3db87a38ad02065554f9d3bc13321d4ef8e96042464045e2abcf README diff --git a/buildroot-2021.05/package/perl-data-dump/perl-data-dump.mk b/buildroot-2021.05/package/perl-data-dump/perl-data-dump.mk deleted file mode 100644 index 54d3a925..00000000 --- a/buildroot-2021.05/package/perl-data-dump/perl-data-dump.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-data-dump -# -################################################################################ - -PERL_DATA_DUMP_VERSION = 1.23 -PERL_DATA_DUMP_SOURCE = Data-Dump-$(PERL_DATA_DUMP_VERSION).tar.gz -PERL_DATA_DUMP_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GAAS -PERL_DATA_DUMP_LICENSE = Artistic or GPL-1.0+ -PERL_DATA_DUMP_LICENSE_FILES = README -PERL_DATA_DUMP_DISTNAME = Data-Dump - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-data-optlist/perl-data-optlist.hash b/buildroot-2021.05/package/perl-data-optlist/perl-data-optlist.hash deleted file mode 100644 index 93df0064..00000000 --- a/buildroot-2021.05/package/perl-data-optlist/perl-data-optlist.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 f9236c9ea5607134ad8a2b3dc901c4c5 Data-OptList-0.110.tar.gz -sha256 366117cb2966473f2559f2f4575ff6ae69e84c69a0f30a0773e1b51a457ef5c3 Data-OptList-0.110.tar.gz - -# computed by scancpan -sha256 73c7bd4c8e4adc474f9dae32b9aa08f6ce27327940751dd6e8373404beabdffa LICENSE diff --git a/buildroot-2021.05/package/perl-data-optlist/perl-data-optlist.mk b/buildroot-2021.05/package/perl-data-optlist/perl-data-optlist.mk deleted file mode 100644 index 49aeb820..00000000 --- a/buildroot-2021.05/package/perl-data-optlist/perl-data-optlist.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-data-optlist -# -################################################################################ - -PERL_DATA_OPTLIST_VERSION = 0.110 -PERL_DATA_OPTLIST_SOURCE = Data-OptList-$(PERL_DATA_OPTLIST_VERSION).tar.gz -PERL_DATA_OPTLIST_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RJ/RJBS -PERL_DATA_OPTLIST_LICENSE = Artistic or GPL-1.0+ -PERL_DATA_OPTLIST_LICENSE_FILES = LICENSE -PERL_DATA_OPTLIST_DISTNAME = Data-OptList - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-date-manip/perl-date-manip.hash b/buildroot-2021.05/package/perl-date-manip/perl-date-manip.hash deleted file mode 100644 index d40aa087..00000000 --- a/buildroot-2021.05/package/perl-date-manip/perl-date-manip.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 ce3447409d83d16e6dd7bea0a18f24b4 Date-Manip-6.85.tar.gz -sha256 1662393943b7c588478ea9d975200d825f500d26fe9996f2bf7f829cfaa5ccdc Date-Manip-6.85.tar.gz - -# computed by scancpan -sha256 8ba2a138654f8b59b7e1e3ad0d4c81918b9148ff95078b172ccbb45fa241431d LICENSE diff --git a/buildroot-2021.05/package/perl-date-manip/perl-date-manip.mk b/buildroot-2021.05/package/perl-date-manip/perl-date-manip.mk deleted file mode 100644 index 4ee81d34..00000000 --- a/buildroot-2021.05/package/perl-date-manip/perl-date-manip.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-date-manip -# -################################################################################ - -PERL_DATE_MANIP_VERSION = 6.85 -PERL_DATE_MANIP_SOURCE = Date-Manip-$(PERL_DATE_MANIP_VERSION).tar.gz -PERL_DATE_MANIP_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SB/SBECK -PERL_DATE_MANIP_LICENSE = Artistic or GPL-1.0+ -PERL_DATE_MANIP_LICENSE_FILES = LICENSE -PERL_DATE_MANIP_DISTNAME = Date-Manip - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-http-message/perl-http-message.hash b/buildroot-2021.05/package/perl-http-message/perl-http-message.hash deleted file mode 100644 index a074bb4c..00000000 --- a/buildroot-2021.05/package/perl-http-message/perl-http-message.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 058f0598ee52a816ccb1d9dceb798520 HTTP-Message-6.29.tar.gz -sha256 f4417970679e08f6deb0609009aa9515dee0c8d91dbadd6b86a26e2b8e0d6341 HTTP-Message-6.29.tar.gz - -# computed by scancpan -sha256 1379396dcd2291f17a741d2d6bf14d379f5f2ab91b3c7e7b92c5f82856e2d7ac LICENSE diff --git a/buildroot-2021.05/package/perl-http-message/perl-http-message.mk b/buildroot-2021.05/package/perl-http-message/perl-http-message.mk deleted file mode 100644 index 1b3a93d7..00000000 --- a/buildroot-2021.05/package/perl-http-message/perl-http-message.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-http-message -# -################################################################################ - -PERL_HTTP_MESSAGE_VERSION = 6.29 -PERL_HTTP_MESSAGE_SOURCE = HTTP-Message-$(PERL_HTTP_MESSAGE_VERSION).tar.gz -PERL_HTTP_MESSAGE_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS -PERL_HTTP_MESSAGE_LICENSE = Artistic or GPL-1.0+ -PERL_HTTP_MESSAGE_LICENSE_FILES = LICENSE -PERL_HTTP_MESSAGE_DISTNAME = HTTP-Message - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-io-socket-ssl/perl-io-socket-ssl.hash b/buildroot-2021.05/package/perl-io-socket-ssl/perl-io-socket-ssl.hash deleted file mode 100644 index 076e145a..00000000 --- a/buildroot-2021.05/package/perl-io-socket-ssl/perl-io-socket-ssl.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 3c8df96b5249c02025e2eb48596c213b IO-Socket-SSL-2.070.tar.gz -sha256 876fe09763e7a474519431aff248cb1f1abaf070d6bdc791f60bf9abe781cd3b IO-Socket-SSL-2.070.tar.gz - -# computed by scancpan -sha256 090aff5421fd55a9dceeaf6c612c36360402e8d29c1284aef88c87be565ce032 README diff --git a/buildroot-2021.05/package/perl-io-socket-ssl/perl-io-socket-ssl.mk b/buildroot-2021.05/package/perl-io-socket-ssl/perl-io-socket-ssl.mk deleted file mode 100644 index 1751bef0..00000000 --- a/buildroot-2021.05/package/perl-io-socket-ssl/perl-io-socket-ssl.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-io-socket-ssl -# -################################################################################ - -PERL_IO_SOCKET_SSL_VERSION = 2.070 -PERL_IO_SOCKET_SSL_SOURCE = IO-Socket-SSL-$(PERL_IO_SOCKET_SSL_VERSION).tar.gz -PERL_IO_SOCKET_SSL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SU/SULLR -PERL_IO_SOCKET_SSL_LICENSE = Artistic or GPL-1.0+ -PERL_IO_SOCKET_SSL_LICENSE_FILES = README -PERL_IO_SOCKET_SSL_DISTNAME = IO-Socket-SSL - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-libwww-perl/perl-libwww-perl.hash b/buildroot-2021.05/package/perl-libwww-perl/perl-libwww-perl.hash deleted file mode 100644 index 8081e127..00000000 --- a/buildroot-2021.05/package/perl-libwww-perl/perl-libwww-perl.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 33fdb6415018b8bf94242cace1b06479 libwww-perl-6.53.tar.gz -sha256 9cbb7c688416a20c1aba9a32568504af1143ced58b572c502a1b2fb8a500f535 libwww-perl-6.53.tar.gz - -# computed by scancpan -sha256 e84ac5ab84ace59952d2640e0ca4522eb0aaa8c2aa696352d1252aa109ea20bc LICENSE diff --git a/buildroot-2021.05/package/perl-libwww-perl/perl-libwww-perl.mk b/buildroot-2021.05/package/perl-libwww-perl/perl-libwww-perl.mk deleted file mode 100644 index d96035e4..00000000 --- a/buildroot-2021.05/package/perl-libwww-perl/perl-libwww-perl.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-libwww-perl -# -################################################################################ - -PERL_LIBWWW_PERL_VERSION = 6.53 -PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz -PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS -PERL_LIBWWW_PERL_LICENSE = Artistic or GPL-1.0+ -PERL_LIBWWW_PERL_LICENSE_FILES = LICENSE -PERL_LIBWWW_PERL_DISTNAME = libwww-perl - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/Config.in b/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/Config.in deleted file mode 100644 index 4fa01806..00000000 --- a/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION - bool "perl-mojolicious-plugin-authentication" - select BR2_PACKAGE_PERL_MOJOLICIOUS # runtime - help - A plugin to make authentication a bit easier. - - https://metacpan.org/release/Mojolicious-Plugin-Authentication diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.hash b/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.hash deleted file mode 100644 index dc14b7e6..00000000 --- a/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 7eda1fadc272de097aa8d58abb9197ad Mojolicious-Plugin-Authentication-1.36.tar.gz -sha256 8bc48363925261b253e3e10eacf60d71d9930de772936b7f3e5221691841f9bb Mojolicious-Plugin-Authentication-1.36.tar.gz - -# computed by scancpan -sha256 37d219684a6c5f8754435fb0dd36a779121e416553fd6a75e22a7545039d1021 LICENSE diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.mk b/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.mk deleted file mode 100644 index 63500864..00000000 --- a/buildroot-2021.05/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-mojolicious-plugin-authentication -# -################################################################################ - -PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_VERSION = 1.36 -PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_SOURCE = Mojolicious-Plugin-Authentication-$(PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_VERSION).tar.gz -PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_SITE = $(BR2_CPAN_MIRROR)/authors/id/J/JJ/JJATRIA -PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_LICENSE = Artistic or GPL-1.0+ -PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_LICENSE_FILES = LICENSE -PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_DISTNAME = Mojolicious-Plugin-Authentication - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash b/buildroot-2021.05/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash deleted file mode 100644 index c55eefe2..00000000 --- a/buildroot-2021.05/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 9c009599cf397e3eacf5d7cd0dec45b8 Mojolicious-Plugin-Authorization-1.05.tar.gz -sha256 87f84092d5698595ad0d01e745eca1d6affd1f3d662786f39f3583c54ffed0e3 Mojolicious-Plugin-Authorization-1.05.tar.gz - -# computed by scancpan -sha256 fd9632faca5a3d6af4cb9cf776514de87d2b34bff3a6cf06c23eea0f9cc3ab06 LICENSE diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk b/buildroot-2021.05/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk deleted file mode 100644 index 3fcee08a..00000000 --- a/buildroot-2021.05/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# perl-mojolicious-plugin-authorization -# -################################################################################ - -PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_VERSION = 1.05 -PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_SOURCE = Mojolicious-Plugin-Authorization-$(PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_VERSION).tar.gz -PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_SITE = $(BR2_CPAN_MIRROR)/authors/id/B/BY/BYTEROCK -PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_DEPENDENCIES = host-perl-module-build -PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_LICENSE = Artistic or GPL-1.0+ -PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_LICENSE_FILES = LICENSE -PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_DISTNAME = Mojolicious-Plugin-Authorization - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-mojolicious/perl-mojolicious.hash b/buildroot-2021.05/package/perl-mojolicious/perl-mojolicious.hash deleted file mode 100644 index ee70e1d9..00000000 --- a/buildroot-2021.05/package/perl-mojolicious/perl-mojolicious.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 fe7be8d6cf24a860987f72d441bec547 Mojolicious-9.17.tar.gz -sha256 0da6e60701bdb8ac063d69616c925ff2ecc6a31c6bf5b58a0b10b6013294bd8d Mojolicious-9.17.tar.gz - -# computed by scancpan -sha256 19e2e0f2079ea1ce1576eb4ecc0575b33fe45b2b8e71f4aa589d6bedd1da4e0a LICENSE diff --git a/buildroot-2021.05/package/perl-mojolicious/perl-mojolicious.mk b/buildroot-2021.05/package/perl-mojolicious/perl-mojolicious.mk deleted file mode 100644 index 54b5c018..00000000 --- a/buildroot-2021.05/package/perl-mojolicious/perl-mojolicious.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-mojolicious -# -################################################################################ - -PERL_MOJOLICIOUS_VERSION = 9.17 -PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz -PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI -PERL_MOJOLICIOUS_LICENSE = Artistic-2.0 -PERL_MOJOLICIOUS_LICENSE_FILES = LICENSE -PERL_MOJOLICIOUS_DISTNAME = Mojolicious - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-mozilla-ca/perl-mozilla-ca.hash b/buildroot-2021.05/package/perl-mozilla-ca/perl-mozilla-ca.hash deleted file mode 100644 index c577d488..00000000 --- a/buildroot-2021.05/package/perl-mozilla-ca/perl-mozilla-ca.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 8ac3fe1a83c45da3f468f78ab8133ea6 Mozilla-CA-20200520.tar.gz -sha256 b3ca0002310bf24a16c0d5920bdea97a2f46e77e7be3e7377e850d033387c726 Mozilla-CA-20200520.tar.gz - -# computed by scancpan -sha256 95cd63dae5c2bf6e7cf33435981614a36c85ef01fc7a02464e05e58a5355398e README diff --git a/buildroot-2021.05/package/perl-mozilla-ca/perl-mozilla-ca.mk b/buildroot-2021.05/package/perl-mozilla-ca/perl-mozilla-ca.mk deleted file mode 100644 index 3bcb947f..00000000 --- a/buildroot-2021.05/package/perl-mozilla-ca/perl-mozilla-ca.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-mozilla-ca -# -################################################################################ - -PERL_MOZILLA_CA_VERSION = 20200520 -PERL_MOZILLA_CA_SOURCE = Mozilla-CA-$(PERL_MOZILLA_CA_VERSION).tar.gz -PERL_MOZILLA_CA_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AB/ABH -PERL_MOZILLA_CA_LICENSE = MPL-2.0 -PERL_MOZILLA_CA_LICENSE_FILES = README -PERL_MOZILLA_CA_DISTNAME = Mozilla-CA - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-net-dns/perl-net-dns.hash b/buildroot-2021.05/package/perl-net-dns/perl-net-dns.hash deleted file mode 100644 index 6eb9e2e0..00000000 --- a/buildroot-2021.05/package/perl-net-dns/perl-net-dns.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 2d0751f5f1a92e4cc95835cd4b9a1d8e Net-DNS-1.30.tar.gz -sha256 055e70b67255615724d91ec41788f75af317561c519971f6e6e384273b30a5da Net-DNS-1.30.tar.gz - -# computed by scancpan -sha256 e4f3224d86bd79ac3d11ea513fcb83c68c20701346653699225331e2b7a2d447 README diff --git a/buildroot-2021.05/package/perl-net-dns/perl-net-dns.mk b/buildroot-2021.05/package/perl-net-dns/perl-net-dns.mk deleted file mode 100644 index fc244992..00000000 --- a/buildroot-2021.05/package/perl-net-dns/perl-net-dns.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-net-dns -# -################################################################################ - -PERL_NET_DNS_VERSION = 1.30 -PERL_NET_DNS_SOURCE = Net-DNS-$(PERL_NET_DNS_VERSION).tar.gz -PERL_NET_DNS_SITE = $(BR2_CPAN_MIRROR)/authors/id/N/NL/NLNETLABS -PERL_NET_DNS_LICENSE = MIT -PERL_NET_DNS_LICENSE_FILES = README -PERL_NET_DNS_DISTNAME = Net-DNS - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-net-ssh2/perl-net-ssh2.mk b/buildroot-2021.05/package/perl-net-ssh2/perl-net-ssh2.mk deleted file mode 100644 index 5572e232..00000000 --- a/buildroot-2021.05/package/perl-net-ssh2/perl-net-ssh2.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# perl-net-ssh2 -# -################################################################################ - -PERL_NET_SSH2_VERSION = 0.72 -PERL_NET_SSH2_SOURCE = Net-SSH2-$(PERL_NET_SSH2_VERSION).tar.gz -PERL_NET_SSH2_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SA/SALVA -PERL_NET_SSH2_LICENSE = Artistic or GPL-1.0+ -PERL_NET_SSH2_LICENSE_FILES = README.pod -PERL_NET_SSH2_DEPENDENCIES = libssh2 zlib -PERL_NET_SSH2_DISTNAME = Net-SSH2 - -# build system will use host search paths by default -PERL_NET_SSH2_CONF_OPTS += \ - lib="$(STAGING_DIR)/usr/lib" \ - inc="$(STAGING_DIR)/usr/include" - -ifeq ($(BR2_PACKAGE_LIBSSH2_LIBGCRYPT),y) -PERL_NET_SSH2_CONF_OPTS += gcrypt -endif - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-net-ssleay/Config.in b/buildroot-2021.05/package/perl-net-ssleay/Config.in deleted file mode 100644 index 6998553e..00000000 --- a/buildroot-2021.05/package/perl-net-ssleay/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PERL_NET_SSLEAY - bool "perl-net-ssleay" - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_OPENSSL - help - Perl extension for using OpenSSL. - - https://metacpan.org/release/Net-SSLeay - -comment "perl-net-ssleay needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/perl-net-telnet/perl-net-telnet.hash b/buildroot-2021.05/package/perl-net-telnet/perl-net-telnet.hash deleted file mode 100644 index cf1def6a..00000000 --- a/buildroot-2021.05/package/perl-net-telnet/perl-net-telnet.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 d2514080116c1b0fa5f96295c84538e3 Net-Telnet-3.04.tar.gz -sha256 e64d567a4e16295ecba949368e7a6b8b5ae2a16b3ad682121d9b007dc5d2a37a Net-Telnet-3.04.tar.gz - -# computed by scancpan -sha256 05beca683093827706ef45a4958bf23bcd91990e0beeb0b098f97c661478c90d README diff --git a/buildroot-2021.05/package/perl-net-telnet/perl-net-telnet.mk b/buildroot-2021.05/package/perl-net-telnet/perl-net-telnet.mk deleted file mode 100644 index 0b9cce0a..00000000 --- a/buildroot-2021.05/package/perl-net-telnet/perl-net-telnet.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-net-telnet -# -################################################################################ - -PERL_NET_TELNET_VERSION = 3.04 -PERL_NET_TELNET_SOURCE = Net-Telnet-$(PERL_NET_TELNET_VERSION).tar.gz -PERL_NET_TELNET_SITE = $(BR2_CPAN_MIRROR)/authors/id/J/JR/JROGERS -PERL_NET_TELNET_LICENSE = Artistic or GPL-1.0+ -PERL_NET_TELNET_LICENSE_FILES = README -PERL_NET_TELNET_DISTNAME = Net-Telnet - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-netaddr-ip/perl-netaddr-ip.mk b/buildroot-2021.05/package/perl-netaddr-ip/perl-netaddr-ip.mk deleted file mode 100644 index 4824b4e9..00000000 --- a/buildroot-2021.05/package/perl-netaddr-ip/perl-netaddr-ip.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# perl-netaddr-ip -# -################################################################################ - -PERL_NETADDR_IP_VERSION = 4.079 -PERL_NETADDR_IP_SOURCE = NetAddr-IP-$(PERL_NETADDR_IP_VERSION).tar.gz -PERL_NETADDR_IP_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MI/MIKER -PERL_NETADDR_IP_LICENSE = Artistic or GPL-1.0+ -PERL_NETADDR_IP_LICENSE_FILES = Artistic Copying -PERL_NETADDR_IP_DISTNAME = NetAddr-IP - -ifeq ($(BR2_STATIC_LIBS),y) -PERL_NETADDR_IP_CONF_OPTS = -noxs -endif - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-path-tiny/perl-path-tiny.hash b/buildroot-2021.05/package/perl-path-tiny/perl-path-tiny.hash deleted file mode 100644 index 855af46e..00000000 --- a/buildroot-2021.05/package/perl-path-tiny/perl-path-tiny.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 cb34fd356725ec12b78e88ddac37db08 Path-Tiny-0.118.tar.gz -sha256 32138d8d0f4c9c1a84d2a8f91bc5e913d37d8a7edefbb15a10961bfed560b0fd Path-Tiny-0.118.tar.gz - -# computed by scancpan -sha256 a999b03d2b80e5c7f987289ac835fa2d88cafa9f0df24adf8a1fd21e175acd79 LICENSE diff --git a/buildroot-2021.05/package/perl-path-tiny/perl-path-tiny.mk b/buildroot-2021.05/package/perl-path-tiny/perl-path-tiny.mk deleted file mode 100644 index 08cc6671..00000000 --- a/buildroot-2021.05/package/perl-path-tiny/perl-path-tiny.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-path-tiny -# -################################################################################ - -PERL_PATH_TINY_VERSION = 0.118 -PERL_PATH_TINY_SOURCE = Path-Tiny-$(PERL_PATH_TINY_VERSION).tar.gz -PERL_PATH_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DA/DAGOLDEN -PERL_PATH_TINY_LICENSE = Apache-2.0 -PERL_PATH_TINY_LICENSE_FILES = LICENSE -PERL_PATH_TINY_DISTNAME = Path-Tiny - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-try-tiny/perl-try-tiny.hash b/buildroot-2021.05/package/perl-try-tiny/perl-try-tiny.hash deleted file mode 100644 index ed4d8ac7..00000000 --- a/buildroot-2021.05/package/perl-try-tiny/perl-try-tiny.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 eb362c3cb32c42f9f28de9ddb7f2ead6 Try-Tiny-0.30.tar.gz -sha256 da5bd0d5c903519bbf10bb9ba0cb7bcac0563882bcfe4503aee3fb143eddef6b Try-Tiny-0.30.tar.gz - -# computed by scancpan -sha256 f1864ede834871a1207fcd19838b6bd5e1ff0a8704f5cc523fc397126041ed0b LICENCE diff --git a/buildroot-2021.05/package/perl-try-tiny/perl-try-tiny.mk b/buildroot-2021.05/package/perl-try-tiny/perl-try-tiny.mk deleted file mode 100644 index f13e2ee5..00000000 --- a/buildroot-2021.05/package/perl-try-tiny/perl-try-tiny.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-try-tiny -# -################################################################################ - -PERL_TRY_TINY_VERSION = 0.30 -PERL_TRY_TINY_SOURCE = Try-Tiny-$(PERL_TRY_TINY_VERSION).tar.gz -PERL_TRY_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/E/ET/ETHER -PERL_TRY_TINY_LICENSE = MIT -PERL_TRY_TINY_LICENSE_FILES = LICENCE -PERL_TRY_TINY_DISTNAME = Try-Tiny - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-type-tiny/perl-type-tiny.hash b/buildroot-2021.05/package/perl-type-tiny/perl-type-tiny.hash deleted file mode 100644 index 2e2726e3..00000000 --- a/buildroot-2021.05/package/perl-type-tiny/perl-type-tiny.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 7feab0f3f99810290a3fdea8dbf24d7b Type-Tiny-1.012001.tar.gz -sha256 f907e5ad880fcc42fddb7e0de53c59429282abcbb3afb1a8651bf5ec6c42954d Type-Tiny-1.012001.tar.gz - -# computed by scancpan -sha256 34427749499bd6d6e5d206089bc03d76c647a1350f8b5f95ea628d2b6ff56e4c LICENSE diff --git a/buildroot-2021.05/package/perl-type-tiny/perl-type-tiny.mk b/buildroot-2021.05/package/perl-type-tiny/perl-type-tiny.mk deleted file mode 100644 index 2a475e53..00000000 --- a/buildroot-2021.05/package/perl-type-tiny/perl-type-tiny.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-type-tiny -# -################################################################################ - -PERL_TYPE_TINY_VERSION = 1.012001 -PERL_TYPE_TINY_SOURCE = Type-Tiny-$(PERL_TYPE_TINY_VERSION).tar.gz -PERL_TYPE_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TOBYINK -PERL_TYPE_TINY_LICENSE = Artistic or GPL-1.0+ -PERL_TYPE_TINY_LICENSE_FILES = LICENSE -PERL_TYPE_TINY_DISTNAME = Type-Tiny - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-uri/perl-uri.hash b/buildroot-2021.05/package/perl-uri/perl-uri.hash deleted file mode 100644 index 578beed9..00000000 --- a/buildroot-2021.05/package/perl-uri/perl-uri.hash +++ /dev/null @@ -1,6 +0,0 @@ -# retrieved by scancpan from http://cpan.metacpan.org/ -md5 bd66b0c620d076c4b0de9507b5f1fbdf URI-5.09.tar.gz -sha256 03e63ada499d2645c435a57551f041f3943970492baa3b3338246dab6f1fae0a URI-5.09.tar.gz - -# computed by scancpan -sha256 65cd6f88516a30f56fd4e0080fb78ea69424fc89067470dc994e4abfba08664e LICENSE diff --git a/buildroot-2021.05/package/perl-uri/perl-uri.mk b/buildroot-2021.05/package/perl-uri/perl-uri.mk deleted file mode 100644 index d588e820..00000000 --- a/buildroot-2021.05/package/perl-uri/perl-uri.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# perl-uri -# -################################################################################ - -PERL_URI_VERSION = 5.09 -PERL_URI_SOURCE = URI-$(PERL_URI_VERSION).tar.gz -PERL_URI_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS -PERL_URI_LICENSE = Artistic or GPL-1.0+ -PERL_URI_LICENSE_FILES = LICENSE -PERL_URI_DISTNAME = URI - -$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl/perl.hash b/buildroot-2021.05/package/perl/perl.hash deleted file mode 100644 index 42b7cc66..00000000 --- a/buildroot-2021.05/package/perl/perl.hash +++ /dev/null @@ -1,12 +0,0 @@ -# Hashes from: https://www.cpan.org/src/5.0/perl-5.32.1.tar.xz.{md5,sha1,sha256}.txt -md5 7f104064b906ad8c7329ca5e409a32d7 perl-5.32.1.tar.xz -sha1 1fb4f710d139da1e1a3e1fa4eaba201fcaa8e18e perl-5.32.1.tar.xz -sha256 57cc47c735c8300a8ce2fa0643507b44c4ae59012bfdad0121313db639e02309 perl-5.32.1.tar.xz - -# Hashes from: https://github.com/arsv/perl-cross/releases/download/1.3.5/perl-cross-1.3.5.hash -sha256 91c66f6b2b99fccfd4fee14660b677380b0c98f9456359e91449798c2ad2ef25 perl-cross-1.3.5.tar.gz - -# Locally calculated -sha256 dd90d4f42e4dcadf5a7c09eea0189d93c7b37ae560c91f0f6d5233ed3b9292a2 Artistic -sha256 d77d235e41d54594865151f4751e835c5a82322b0e87ace266567c3391a4b912 Copying -sha256 df6ad59aefea68676c38325f25f6707f026ddde6c71291b2ca231b6247859907 README diff --git a/buildroot-2021.05/package/perl/perl.mk b/buildroot-2021.05/package/perl/perl.mk deleted file mode 100644 index f661fef0..00000000 --- a/buildroot-2021.05/package/perl/perl.mk +++ /dev/null @@ -1,126 +0,0 @@ -################################################################################ -# -# perl -# -################################################################################ - -# When updating the version here, also update utils/scancpan -PERL_VERSION_MAJOR = 32 -PERL_VERSION = 5.$(PERL_VERSION_MAJOR).1 -PERL_SITE = https://www.cpan.org/src/5.0 -PERL_SOURCE = perl-$(PERL_VERSION).tar.xz -PERL_LICENSE = Artistic or GPL-1.0+ -PERL_LICENSE_FILES = Artistic Copying README -PERL_CPE_ID_VENDOR = perl -PERL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -PERL_INSTALL_STAGING = YES - -PERL_CROSS_VERSION = 1.3.5 -# DO NOT refactor with the github helper (the result is not the same) -PERL_CROSS_SITE = https://github.com/arsv/perl-cross/releases/download/$(PERL_CROSS_VERSION) -PERL_CROSS_SOURCE = perl-cross-$(PERL_CROSS_VERSION).tar.gz -PERL_EXTRA_DOWNLOADS = $(PERL_CROSS_SITE)/$(PERL_CROSS_SOURCE) - -# We use the perlcross hack to cross-compile perl. It should -# be extracted over the perl sources, so we don't define that -# as a separate package. Instead, it is downloaded and extracted -# together with perl -define PERL_CROSS_EXTRACT - $(call suitable-extractor,$(PERL_CROSS_SOURCE)) $(PERL_DL_DIR)/$(PERL_CROSS_SOURCE) | \ - $(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) - -endef -PERL_POST_EXTRACT_HOOKS += PERL_CROSS_EXTRACT - -# Even though perl is not an autotools-package, it uses config.sub and -# config.guess. Up-to-date versions of these files may be needed to build perl -# on newer host architectures, so we borrow the hook which updates them from the -# autotools infrastructure. -PERL_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK - -ifeq ($(BR2_PACKAGE_BERKELEYDB),y) -PERL_DEPENDENCIES += berkeleydb -endif -ifeq ($(BR2_PACKAGE_GDBM),y) -PERL_DEPENDENCIES += gdbm -endif - -# We have to override LD, because an external multilib toolchain ld is not -# wrapped to provide the required sysroot options. -PERL_CONF_OPTS = \ - --target=$(GNU_TARGET_NAME) \ - --target-tools-prefix=$(TARGET_CROSS) \ - --prefix=/usr \ - -Dld="$(TARGET_CC)" \ - -Dccflags="$(TARGET_CFLAGS)" \ - -Dldflags="$(TARGET_LDFLAGS) -lm $(TARGET_NLS_LIBS)" \ - -Dmydomain="" \ - -Dmyhostname="noname" \ - -Dmyuname="Buildroot $(BR2_VERSION_FULL)" \ - -Dosname=linux \ - -Dosvers=$(LINUX_VERSION) \ - -Dperladmin=root - -ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1) -PERL_CONF_OPTS += -Dusedevel -endif - -ifeq ($(BR2_PACKAGE_PERL_THREADS),y) -PERL_CONF_OPTS += -Dusethreads -endif - -ifeq ($(BR2_STATIC_LIBS),y) -PERL_CONF_OPTS += --all-static --no-dynaloader -endif - -PERL_MODULES = $(call qstrip,$(BR2_PACKAGE_PERL_MODULES)) -ifneq ($(PERL_MODULES),) -PERL_CONF_OPTS += --only-mod=$(subst $(space),$(comma),$(PERL_MODULES)) -endif - -define PERL_CONFIGURE_CMDS - (cd $(@D); $(TARGET_MAKE_ENV) HOSTCC='$(HOSTCC_NOCCACHE)' \ - ./configure $(PERL_CONF_OPTS)) - $(SED) 's/UNKNOWN-/Buildroot $(subst /,\/,$(BR2_VERSION_FULL)) /' $(@D)/patchlevel.h -endef - -define PERL_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) all -endef - -define PERL_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR="$(STAGING_DIR)" install.perl install.sym -endef - -define PERL_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" install.perl install.sym -endef - -HOST_PERL_CONF_OPTS = \ - -des \ - -Dprefix="$(HOST_DIR)" \ - -Dcc="$(HOSTCC)" - -define HOST_PERL_CONFIGURE_CMDS - (cd $(@D); $(HOST_MAKE_ENV) HOSTCC='$(HOSTCC_NOCCACHE)' \ - ./Configure $(HOST_PERL_CONF_OPTS)) -endef - -define HOST_PERL_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define HOST_PERL_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALL_DEPENDENCE='' install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) - -define PERL_FINALIZE_TARGET - rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/pod - rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE - find $(TARGET_DIR)/usr/lib/perl5/ -name 'extralibs.ld' -print0 | xargs -0 rm -f - find $(TARGET_DIR)/usr/lib/perl5/ -name '*.bs' -print0 | xargs -0 rm -f - find $(TARGET_DIR)/usr/lib/perl5/ -name '.packlist' -print0 | xargs -0 rm -f -endef -PERL_TARGET_FINALIZE_HOOKS += PERL_FINALIZE_TARGET diff --git a/buildroot-2021.05/package/phidgetwebservice/phidgetwebservice.hash b/buildroot-2021.05/package/phidgetwebservice/phidgetwebservice.hash deleted file mode 100644 index e369049c..00000000 --- a/buildroot-2021.05/package/phidgetwebservice/phidgetwebservice.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 904af15ecd13ae4e807ed8af181e3a4521e59f8f3791be0aa4ceb1afdbf764a2 phidgetwebservice_2.1.8.20170607.tar.gz -sha256 ea8af5e789cb2d4e9b10bce3874982ade163b749b6bfbdb32e2df21c4d106de1 COPYING diff --git a/buildroot-2021.05/package/phidgetwebservice/phidgetwebservice.mk b/buildroot-2021.05/package/phidgetwebservice/phidgetwebservice.mk deleted file mode 100644 index bdcc388b..00000000 --- a/buildroot-2021.05/package/phidgetwebservice/phidgetwebservice.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# phidgetwebservice -# -################################################################################ - -PHIDGETWEBSERVICE_VERSION = 2.1.8.20170607 -PHIDGETWEBSERVICE_SOURCE = phidgetwebservice_$(PHIDGETWEBSERVICE_VERSION).tar.gz -PHIDGETWEBSERVICE_SITE = http://www.phidgets.com/downloads/libraries -PHIDGETWEBSERVICE_DEPENDENCIES = libphidget -PHIDGETWEBSERVICE_LICENSE = LGPL-3.0 -PHIDGETWEBSERVICE_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-amqp/php-amqp.hash b/buildroot-2021.05/package/php-amqp/php-amqp.hash deleted file mode 100644 index c061efab..00000000 --- a/buildroot-2021.05/package/php-amqp/php-amqp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 b66b8b8264749cb7a69ae4d09665dad1559b6c4f01430206c8e4187bcd8c782d amqp-1.9.4.tgz -sha256 ecd004e9ae3fcf54896b562d5e8008e36041f2620076effd58e5f4187299cee8 LICENSE diff --git a/buildroot-2021.05/package/php-amqp/php-amqp.mk b/buildroot-2021.05/package/php-amqp/php-amqp.mk deleted file mode 100644 index c808ecdb..00000000 --- a/buildroot-2021.05/package/php-amqp/php-amqp.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# php-amqp -# -################################################################################ - -PHP_AMQP_VERSION = 1.9.4 -PHP_AMQP_SOURCE = amqp-$(PHP_AMQP_VERSION).tgz -PHP_AMQP_SITE = https://pecl.php.net/get -PHP_AMQP_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ - --with-amqp=$(STAGING_DIR)/usr -# phpize does the autoconf magic -PHP_AMQP_DEPENDENCIES = rabbitmq-c php host-autoconf -PHP_AMQP_LICENSE = PHP-3.01 -PHP_AMQP_LICENSE_FILES = LICENSE - -define PHP_AMQP_PHPIZE - (cd $(@D); \ - PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ - PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ - $(STAGING_DIR)/usr/bin/phpize) -endef - -PHP_AMQP_PRE_CONFIGURE_HOOKS += PHP_AMQP_PHPIZE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-gnupg/php-gnupg.hash b/buildroot-2021.05/package/php-gnupg/php-gnupg.hash deleted file mode 100644 index 8d142cda..00000000 --- a/buildroot-2021.05/package/php-gnupg/php-gnupg.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 35e16bee11345a7d6bf57bea3cadf45e371ad1ed4e0218b0c06f6f637e4e1772 gnupg-1.4.0.tgz -sha256 da1136d4d9326317cbd320dadddf7e9b4b4edffd973eb083cb7b9754fb6a15d9 LICENSE diff --git a/buildroot-2021.05/package/php-gnupg/php-gnupg.mk b/buildroot-2021.05/package/php-gnupg/php-gnupg.mk deleted file mode 100644 index ae0a7811..00000000 --- a/buildroot-2021.05/package/php-gnupg/php-gnupg.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# php-gnupg -# -################################################################################ - -PHP_GNUPG_VERSION = 1.4.0 -PHP_GNUPG_SOURCE = gnupg-$(PHP_GNUPG_VERSION).tgz -PHP_GNUPG_SITE = https://pecl.php.net/get -# phpize does the autoconf magic -PHP_GNUPG_DEPENDENCIES = php libgpgme host-autoconf host-pkgconf -PHP_GNUPG_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ - --with-gnupg=$(STAGING_DIR)/usr/include --with-gpg=/usr/bin/gpg -PHP_GNUPG_LICENSE = BSD-2-Clause -PHP_GNUPG_LICENSE_FILES = LICENSE - -define PHP_GNUPG_PHPIZE - (cd $(@D); \ - PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ - PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ - $(STAGING_DIR)/usr/bin/phpize) -endef - -PHP_GNUPG_PRE_CONFIGURE_HOOKS += PHP_GNUPG_PHPIZE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-imagick/php-imagick.hash b/buildroot-2021.05/package/php-imagick/php-imagick.hash deleted file mode 100644 index 8b62ed1d..00000000 --- a/buildroot-2021.05/package/php-imagick/php-imagick.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 1f3c5b5eeaa02800ad22f506cd100e8889a66b2ec937e192eaaa30d74562567c imagick-3.4.3.tgz -sha256 b6e00df9cb3b91977c0d64a7c4db48cb6f5041f6eeda6583c236775f70a35b78 LICENSE diff --git a/buildroot-2021.05/package/php-imagick/php-imagick.mk b/buildroot-2021.05/package/php-imagick/php-imagick.mk deleted file mode 100644 index 6fb43de0..00000000 --- a/buildroot-2021.05/package/php-imagick/php-imagick.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# php-imagick -# -################################################################################ - -PHP_IMAGICK_VERSION = 3.4.3 -PHP_IMAGICK_SOURCE = imagick-$(PHP_IMAGICK_VERSION).tgz -PHP_IMAGICK_SITE = http://pecl.php.net/get -PHP_IMAGICK_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ - --with-imagick=$(STAGING_DIR)/usr -# phpize does the autoconf magic -PHP_IMAGICK_DEPENDENCIES = imagemagick php host-autoconf -PHP_IMAGICK_LICENSE = PHP-3.01 -PHP_IMAGICK_LICENSE_FILES = LICENSE -PHP_IMAGICK_CPE_ID_VENDOR = php -PHP_IMAGICK_CPE_ID_PRODUCT = imagick - -define PHP_IMAGICK_PHPIZE - (cd $(@D); \ - PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ - PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ - $(STAGING_DIR)/usr/bin/phpize) -endef - -PHP_IMAGICK_PRE_CONFIGURE_HOOKS += PHP_IMAGICK_PHPIZE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-memcached/php-memcached.hash b/buildroot-2021.05/package/php-memcached/php-memcached.hash deleted file mode 100644 index dd294f46..00000000 --- a/buildroot-2021.05/package/php-memcached/php-memcached.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 20786213ff92cd7ebdb0d0ac10dde1e9580a2f84296618b666654fd76ea307d4 memcached-3.1.3.tgz -sha256 24e8e3a9529204ead9422fa17cf3ddd75d292a8763b87fdb20591964f2e6ebe0 LICENSE -sha256 a453a7a272fbd24105b39959f76996d50dad80b22d1c310f6c67f74f62ae4054 fastlz/LICENSE -sha256 bba8cb50c660842c5ca459c5004395bdef8f01c1b64f97a9978f1053f173cb82 g_fmt.h diff --git a/buildroot-2021.05/package/php-memcached/php-memcached.mk b/buildroot-2021.05/package/php-memcached/php-memcached.mk deleted file mode 100644 index 4607d099..00000000 --- a/buildroot-2021.05/package/php-memcached/php-memcached.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# php-memcached -# -################################################################################ - -PHP_MEMCACHED_VERSION = 3.1.3 -PHP_MEMCACHED_SOURCE = memcached-$(PHP_MEMCACHED_VERSION).tgz -PHP_MEMCACHED_SITE = https://pecl.php.net/get -PHP_MEMCACHED_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ - --disable-memcached-sasl \ - --with-libmemcached-dir=$(STAGING_DIR)/usr \ - --with-zlib-dir=$(STAGING_DIR)/usr -# phpize does the autoconf magic -PHP_MEMCACHED_DEPENDENCIES = libmemcached php zlib host-autoconf host-pkgconf -PHP_MEMCACHED_LICENSE = PHP-3.01, MIT (fastlz), ISC-like (g_fmt.c, g_fmt.h) -PHP_MEMCACHED_LICENSE_FILES = LICENSE fastlz/LICENSE g_fmt.h - -define PHP_MEMCACHED_PHPIZE - (cd $(@D); \ - PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ - PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ - $(STAGING_DIR)/usr/bin/phpize) -endef - -PHP_MEMCACHED_PRE_CONFIGURE_HOOKS += PHP_MEMCACHED_PHPIZE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-ssh2/0001-fix-php_url-fields-usage-for-PHP-7-3.patch b/buildroot-2021.05/package/php-ssh2/0001-fix-php_url-fields-usage-for-PHP-7-3.patch deleted file mode 100644 index afc5de99..00000000 --- a/buildroot-2021.05/package/php-ssh2/0001-fix-php_url-fields-usage-for-PHP-7-3.patch +++ /dev/null @@ -1,302 +0,0 @@ -From a8835aab2c15e794fce13bd927295719e384ad2d Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Thu, 28 Jun 2018 07:10:35 +0200 -Subject: [PATCH] fix php_url fields usage for PHP 7.3 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/php/pecl-networking-ssh2/commit/a8835aab2c15e794fce13bd927295719e384ad2d] ---- - php_ssh2.h | 8 +++++++ - ssh2_fopen_wrappers.c | 55 +++++++++++++++++++++++++++---------------- - ssh2_sftp.c | 20 ++++++++-------- - 3 files changed, 53 insertions(+), 30 deletions(-) - -diff --git a/php_ssh2.h b/php_ssh2.h -index 734b795..d010ff9 100644 ---- a/php_ssh2.h -+++ b/php_ssh2.h -@@ -166,6 +166,14 @@ extern php_stream_wrapper php_ssh2_sftp_wrapper; - extern int le_ssh2_session; - extern int le_ssh2_sftp; - -+#if PHP_VERSION_ID < 70300 -+#define SSH2_URL_STR(a) (a) -+#define SSH2_URL_LEN(a) strlen(a) -+#else -+#define SSH2_URL_STR(a) ZSTR_VAL(a) -+#define SSH2_URL_LEN(a) ZSTR_LEN(a) -+#endif -+ - #endif /* PHP_SSH2_H */ - - /* -diff --git a/ssh2_fopen_wrappers.c b/ssh2_fopen_wrappers.c -index 2f96ca4..f2f3475 100644 ---- a/ssh2_fopen_wrappers.c -+++ b/ssh2_fopen_wrappers.c -@@ -215,7 +215,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - php_url *resource; - zval *methods = NULL, *callbacks = NULL, zsession, *tmpzval; - zend_long resource_id; -- char *h, *s, *username = NULL, *password = NULL, *pubkey_file = NULL, *privkey_file = NULL; -+ char *h, *username = NULL, *password = NULL, *pubkey_file = NULL, *privkey_file = NULL; - int username_len = 0, password_len = 0; - - h = strstr(path, "Resource id #"); -@@ -233,13 +233,13 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - return NULL; - } - -- if (strncmp(resource->scheme, "ssh2.", sizeof("ssh2.") - 1)) { -+ if (strncmp(SSH2_URL_STR(resource->scheme), "ssh2.", sizeof("ssh2.") - 1)) { - /* Not an ssh wrapper */ - php_url_free(resource); - return NULL; - } - -- if (strcmp(resource->scheme + sizeof("ssh2.") - 1, type)) { -+ if (strcmp(SSH2_URL_STR(resource->scheme) + sizeof("ssh2.") - 1, type)) { - /* Wrong ssh2. wrapper type */ - php_url_free(resource); - return NULL; -@@ -253,13 +253,27 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - Find resource->path in the path string, then copy the entire string from the original path. - This includes ?query#fragment in the path string - */ -+// TODO copy seems uneeded -+#if PHP_VERSION_ID < 70300 -+ { -+ char * s; -+ - s = resource->path; - resource->path = estrdup(strstr(path, resource->path)); - efree(s); -+ } -+#else -+ { -+ zend_string *tmp; -+ -+ tmp = resource->path; -+ resource->path = zend_string_init(ZSTR_VAL(resource->path), ZSTR_LEN(resource->path), 0); -+ zend_string_release(tmp); -+ } -+#endif - - /* Look for a resource ID to reuse a session */ -- s = resource->host; -- if (is_numeric_string(s, strlen(s), &resource_id, NULL, 0) == IS_LONG) { -+ if (is_numeric_string(SSH2_URL_STR(resource->host), SSH2_URL_LEN(resource->host), &resource_id, NULL, 0) == IS_LONG) { - php_ssh2_sftp_data *sftp_data; - zval *zresource; - -@@ -309,7 +323,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - } - - /* Fallback on finding it in the context */ -- if (resource->host[0] == 0 && context && psftp && -+ if (SSH2_URL_STR(resource->host)[0] == 0 && context && psftp && - (tmpzval = php_stream_context_get_option(context, "ssh2", "sftp")) != NULL && - Z_TYPE_P(tmpzval) == IS_RESOURCE) { - php_ssh2_sftp_data *sftp_data; -@@ -323,7 +337,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - return resource; - } - } -- if (resource->host[0] == 0 && context && -+ if (SSH2_URL_STR(resource->host)[0] == 0 && context && - (tmpzval = php_stream_context_get_option(context, "ssh2", "session")) != NULL && - Z_TYPE_P(tmpzval) == IS_RESOURCE) { - session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); -@@ -399,19 +413,19 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - } - - if (resource->user) { -- int len = strlen(resource->user); -+ int len = SSH2_URL_LEN(resource->user); - - if (len) { -- username = resource->user; -+ username = SSH2_URL_STR(resource->user); - username_len = len; - } - } - - if (resource->pass) { -- int len = strlen(resource->pass); -+ int len = SSH2_URL_LEN(resource->pass); - - if (len) { -- password = resource->pass; -+ password = SSH2_URL_STR(resource->pass); - password_len = len; - } - } -@@ -422,7 +436,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - return NULL; - } - -- session = php_ssh2_session_connect(resource->host, resource->port, methods, callbacks); -+ session = php_ssh2_session_connect(SSH2_URL_STR(resource->host), resource->port, methods, callbacks); - if (!session) { - /* Unable to connect! */ - php_url_free(resource); -@@ -482,6 +496,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - *psftp = sftp; - } - -+ //TODO may be undefined - *presource_id = Z_LVAL(zsession); - *psession = session; - -@@ -527,7 +542,7 @@ static php_stream *php_ssh2_shell_open(LIBSSH2_SESSION *session, int resource_id - zval_copy_ctor(©val); - convert_to_string(©val); - if (libssh2_channel_setenv_ex(channel, key->val, key->len, Z_STRVAL(copyval), Z_STRLEN(copyval))) { -- php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", key, Z_STRVAL(copyval)); -+ php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", ZSTR_VAL(key), Z_STRVAL(copyval)); - } - zval_dtor(©val); - } -@@ -631,7 +646,7 @@ static php_stream *php_ssh2_fopen_wrapper_shell(php_stream_wrapper *wrapper, con - zval_ptr_dtor(©val); - } - -- s = resource->path ? resource->path : NULL; -+ s = resource->path ? SSH2_URL_STR(resource->path) : NULL; - - if (s && s[0] == '/') { - /* Terminal type encoded into URL overrides context terminal type */ -@@ -766,7 +781,7 @@ static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, int resource_ - zval_copy_ctor(©val); - convert_to_string(©val); - if (libssh2_channel_setenv_ex(channel, key->val, key->len, Z_STRVAL(copyval), Z_STRLEN(copyval))) { -- php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", key, Z_STRVAL(copyval)); -+ php_error_docref(NULL, E_WARNING, "Failed setting %s=%s on remote end", ZSTR_VAL(key), Z_STRVAL(copyval)); - } - zval_dtor(©val); - } -@@ -878,7 +893,7 @@ static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, cons - zval_ptr_dtor(copyval); - } - -- stream = php_ssh2_exec_command(session, resource_id, resource->path + 1, terminal, terminal_len, environment, width, height, type); -+ stream = php_ssh2_exec_command(session, resource_id, SSH2_URL_STR(resource->path) + 1, terminal, terminal_len, environment, width, height, type); - if (!stream) { - // TODO Sean-Der - //zend_list_delete(resource_id); -@@ -1021,7 +1036,7 @@ static php_stream *php_ssh2_fopen_wrapper_scp(php_stream_wrapper *wrapper, const - return NULL; - } - -- stream = php_ssh2_scp_xfer(session, resource_id, resource->path); -+ stream = php_ssh2_scp_xfer(session, resource_id, SSH2_URL_STR(resource->path)); - if (!stream) { - //TODO Sean-Der - //zend_list_delete(resource_id); -@@ -1147,7 +1162,7 @@ PHP_FUNCTION(ssh2_scp_send) - char *error_msg = NULL; - - last_error = libssh2_session_last_error(session, &error_msg, NULL, 0); -- php_error_docref(NULL, E_WARNING, "Failure creating remote file: %s", error_msg); -+ php_error_docref(NULL, E_WARNING, "Failure creating remote file: %s (%d)", error_msg, last_error); - php_stream_close(local_file); - RETURN_FALSE; - } -@@ -1262,10 +1277,10 @@ static php_stream *php_ssh2_fopen_wrapper_tunnel(php_stream_wrapper *wrapper, co - return NULL; - } - -- if (resource->path && resource->path[0] == '/') { -+ if (resource->path && SSH2_URL_STR(resource->path)[0] == '/') { - char *colon; - -- host = resource->path + 1; -+ host = SSH2_URL_STR(resource->path) + 1; - if (*host == '[') { - /* IPv6 Encapsulated Format */ - host++; -diff --git a/ssh2_sftp.c b/ssh2_sftp.c -index 13f89f0..6332be8 100644 ---- a/ssh2_sftp.c -+++ b/ssh2_sftp.c -@@ -238,7 +238,7 @@ static php_stream *php_ssh2_sftp_stream_opener(php_stream_wrapper *wrapper, cons - - flags = php_ssh2_parse_fopen_modes((char *)mode); - -- handle = libssh2_sftp_open(sftp, resource->path, flags, perms); -+ handle = libssh2_sftp_open(sftp, SSH2_URL_STR(resource->path), flags, perms); - if (!handle) { - php_error_docref(NULL, E_WARNING, "Unable to open %s on remote host", filename); - php_url_free(resource); -@@ -341,7 +341,7 @@ static php_stream *php_ssh2_sftp_dirstream_opener(php_stream_wrapper *wrapper, c - return NULL; - } - -- handle = libssh2_sftp_opendir(sftp, resource->path); -+ handle = libssh2_sftp_opendir(sftp, SSH2_URL_STR(resource->path)); - if (!handle) { - php_error_docref(NULL, E_WARNING, "Unable to open %s on remote host", filename); - php_url_free(resource); -@@ -386,7 +386,7 @@ static int php_ssh2_sftp_urlstat(php_stream_wrapper *wrapper, const char *url, i - return -1; - } - -- if (libssh2_sftp_stat_ex(sftp, resource->path, strlen(resource->path), -+ if (libssh2_sftp_stat_ex(sftp, SSH2_URL_STR(resource->path), SSH2_URL_LEN(resource->path), - (flags & PHP_STREAM_URL_STAT_LINK) ? LIBSSH2_SFTP_LSTAT : LIBSSH2_SFTP_STAT, &attrs)) { - php_url_free(resource); - //zend_list_delete(sftp_rsrcid); -@@ -420,7 +420,7 @@ static int php_ssh2_sftp_unlink(php_stream_wrapper *wrapper, const char *url, in - return 0; - } - -- result = libssh2_sftp_unlink(sftp, resource->path); -+ result = libssh2_sftp_unlink(sftp, SSH2_URL_STR(resource->path)); - php_url_free(resource); - - //zend_list_delete(sftp_rsrcid); -@@ -462,7 +462,7 @@ static int php_ssh2_sftp_rename(php_stream_wrapper *wrapper, const char *url_fro - return 0; - } - -- result = libssh2_sftp_rename(sftp, resource->path, resource_to->path); -+ result = libssh2_sftp_rename(sftp, SSH2_URL_STR(resource->path), SSH2_URL_STR(resource_to->path)); - php_url_free(resource); - php_url_free(resource_to); - -@@ -493,13 +493,13 @@ static int php_ssh2_sftp_mkdir(php_stream_wrapper *wrapper, const char *url, int - - if (options & PHP_STREAM_MKDIR_RECURSIVE) { - /* Just attempt to make every directory, some will fail, but we only care about the last success/failure */ -- char *p = resource->path; -+ char *p = SSH2_URL_STR(resource->path); - while ((p = strchr(p + 1, '/'))) { -- libssh2_sftp_mkdir_ex(sftp, resource->path, p - resource->path, mode); -+ libssh2_sftp_mkdir_ex(sftp, SSH2_URL_STR(resource->path), p - SSH2_URL_STR(resource->path), mode); - } - } - -- result = libssh2_sftp_mkdir(sftp, resource->path, mode); -+ result = libssh2_sftp_mkdir(sftp, SSH2_URL_STR(resource->path), mode); - php_url_free(resource); - - //zend_list_delete(sftp_rsrcid); -@@ -527,7 +527,7 @@ static int php_ssh2_sftp_rmdir(php_stream_wrapper *wrapper, const char *url, int - return 0; - } - -- result = libssh2_sftp_rmdir(sftp, resource->path); -+ result = libssh2_sftp_rmdir(sftp, SSH2_URL_STR(resource->path)); - php_url_free(resource); - - //zend_list_delete(sftp_rsrcid); -@@ -836,7 +836,7 @@ PHP_FUNCTION(ssh2_sftp_readlink) - } - - if ((targ_len = libssh2_sftp_symlink_ex(data->sftp, link->val, link->len, targ, 8192, LIBSSH2_SFTP_READLINK)) < 0) { -- php_error_docref(NULL, E_WARNING, "Unable to read link '%s'", link); -+ php_error_docref(NULL, E_WARNING, "Unable to read link '%s'", ZSTR_VAL(link)); - RETURN_FALSE; - } - diff --git a/buildroot-2021.05/package/php-ssh2/0002-dstogov-Fixed-PHP7-port-Restored-commented-reference-counting.patch b/buildroot-2021.05/package/php-ssh2/0002-dstogov-Fixed-PHP7-port-Restored-commented-reference-counting.patch deleted file mode 100644 index d6d62947..00000000 --- a/buildroot-2021.05/package/php-ssh2/0002-dstogov-Fixed-PHP7-port-Restored-commented-reference-counting.patch +++ /dev/null @@ -1,746 +0,0 @@ -From 073067ba96ac99ed5696d27f13ca6c8124986e74 Mon Sep 17 00:00:00 2001 -From: Jan-E -Date: Thu, 28 Jun 2018 08:43:48 +0200 -Subject: [PATCH] @dstogov Fixed PHP7 port. Restored commented reference - counting. - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/php/pecl-networking-ssh2/commit/073067ba96ac99ed5696d27f13ca6c8124986e74] ---- - php_ssh2.h | 14 ++--- - ssh2.c | 26 ++++----- - ssh2_fopen_wrappers.c | 129 ++++++++++++++++++------------------------ - ssh2_sftp.c | 59 +++++++++---------- - 4 files changed, 102 insertions(+), 126 deletions(-) - -diff --git a/php_ssh2.h b/php_ssh2.h -index d010ff9..2bbaa26 100644 ---- a/php_ssh2.h -+++ b/php_ssh2.h -@@ -73,14 +73,14 @@ typedef struct _php_ssh2_sftp_data { - LIBSSH2_SESSION *session; - LIBSSH2_SFTP *sftp; - -- int session_rsrcid; -+ zend_resource *session_rsrc; - } php_ssh2_sftp_data; - - typedef struct _php_ssh2_listener_data { - LIBSSH2_SESSION *session; - LIBSSH2_LISTENER *listener; - -- int session_rsrcid; -+ zend_resource *session_rsrc; - } php_ssh2_listener_data; - - #include "libssh2_publickey.h" -@@ -89,7 +89,7 @@ typedef struct _php_ssh2_pkey_subsys_data { - LIBSSH2_SESSION *session; - LIBSSH2_PUBLICKEY *pkey; - -- int session_rsrcid; -+ zend_resource *session_rsrc; - } php_ssh2_pkey_subsys_data; - - #define SSH2_FETCH_NONAUTHENTICATED_SESSION(session, zsession) \ -@@ -118,8 +118,8 @@ typedef struct _php_ssh2_channel_data { - char is_blocking; - long timeout; - -- /* Resource ID */ -- int session_rsrcid; -+ /* Resource */ -+ zend_resource *session_rsrc; - - /* Allow one stream to be closed while the other is kept open */ - unsigned char *refcount; -@@ -151,8 +151,8 @@ PHP_FUNCTION(ssh2_sftp_realpath); - LIBSSH2_SESSION *php_ssh2_session_connect(char *host, int port, zval *methods, zval *callbacks); - void php_ssh2_sftp_dtor(zend_resource *rsrc); - php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stream_context *context, -- LIBSSH2_SESSION **psession, int *presource_id, -- LIBSSH2_SFTP **psftp, int *psftp_rsrcid); -+ LIBSSH2_SESSION **psession, zend_resource **presource, -+ LIBSSH2_SFTP **psftp, zend_resource **psftp_rsrc); - - extern php_stream_ops php_ssh2_channel_stream_ops; - -diff --git a/ssh2.c b/ssh2.c -index e73867e..849766b 100644 ---- a/ssh2.c -+++ b/ssh2.c -@@ -772,9 +772,8 @@ PHP_FUNCTION(ssh2_forward_listen) - - data = emalloc(sizeof(php_ssh2_listener_data)); - data->session = session; -- data->session_rsrcid = Z_LVAL_P(zsession); -- //TODO Sean-Der -- //zend_list_addref(data->session_rsrcid); -+ data->session_rsrc = Z_RES_P(zsession); -+ Z_ADDREF_P(zsession); - data->listener = listener; - - RETURN_RES(zend_register_resource(data, le_ssh2_listener)); -@@ -810,7 +809,7 @@ PHP_FUNCTION(ssh2_forward_accept) - channel_data->channel = channel; - channel_data->streamid = 0; - channel_data->is_blocking = 0; -- channel_data->session_rsrcid = data->session_rsrcid; -+ channel_data->session_rsrc = data->session_rsrc; - channel_data->refcount = NULL; - - stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r+"); -@@ -820,8 +819,12 @@ PHP_FUNCTION(ssh2_forward_accept) - libssh2_channel_free(channel); - RETURN_FALSE; - } -- //TODO Sean-Der -- //zend_list_addref(channel_data->session_rsrcid); -+ -+#if PHP_VERSION_ID < 70300 -+ GC_REFCOUNT(channel_data->session_rsrc)++; -+#else -+ GC_ADDREF(channel_data->session_rsrc); -+#endif - - php_stream_to_zval(stream, return_value); - } -@@ -975,9 +978,8 @@ PHP_FUNCTION(ssh2_publickey_init) - - data = emalloc(sizeof(php_ssh2_pkey_subsys_data)); - data->session = session; -- data->session_rsrcid = Z_RES_P(zsession)->handle; -- //TODO Sean-Der -- //zend_list_addref(data->session_rsrcid); -+ data->session_rsrc = Z_RES_P(zsession); -+ Z_ADDREF_P(zsession); - data->pkey = pkey; - - RETURN_RES(zend_register_resource(data, le_ssh2_pkey_subsys)); -@@ -1280,8 +1282,7 @@ static void php_ssh2_listener_dtor(zend_resource *rsrc) - LIBSSH2_LISTENER *listener = data->listener; - - libssh2_channel_forward_cancel(listener); -- // TODO Sean-Der -- //zend_list_delete(data->session_rsrcid); -+ zend_list_delete(data->session_rsrc); - efree(data); - } - -@@ -1291,8 +1292,7 @@ static void php_ssh2_pkey_subsys_dtor(zend_resource *rsrc) - LIBSSH2_PUBLICKEY *pkey = data->pkey; - - libssh2_publickey_shutdown(pkey); -- // TODO Sean-Der -- //zend_list_delete(data->session_rsrcid); -+ zend_list_delete(data->session_rsrc); - efree(data); - } - -diff --git a/ssh2_fopen_wrappers.c b/ssh2_fopen_wrappers.c -index f2f3475..c4eb9dc 100644 ---- a/ssh2_fopen_wrappers.c -+++ b/ssh2_fopen_wrappers.c -@@ -47,11 +47,9 @@ static size_t php_ssh2_channel_stream_write(php_stream *stream, const char *buf, - php_ssh2_channel_data *abstract = (php_ssh2_channel_data*)stream->abstract; - size_t writestate; - LIBSSH2_SESSION *session; -- zval *zresource; - - libssh2_channel_set_blocking(abstract->channel, abstract->is_blocking); -- zresource = php_ssh2_zval_from_resource_handle(abstract->session_rsrcid); -- session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); -+ session = (LIBSSH2_SESSION *)zend_fetch_resource(abstract->session_rsrc, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); - - - -@@ -90,12 +88,10 @@ static size_t php_ssh2_channel_stream_read(php_stream *stream, char *buf, size_t - php_ssh2_channel_data *abstract = (php_ssh2_channel_data*)stream->abstract; - ssize_t readstate; - LIBSSH2_SESSION *session; -- zval *zresource; - - stream->eof = libssh2_channel_eof(abstract->channel); - libssh2_channel_set_blocking(abstract->channel, abstract->is_blocking); -- zresource = php_ssh2_zval_from_resource_handle(abstract->session_rsrcid); -- session = (LIBSSH2_SESSION *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); -+ session = (LIBSSH2_SESSION *)zend_fetch_resource(abstract->session_rsrc, PHP_SSH2_SESSION_RES_NAME, le_ssh2_session); - - #ifdef PHP_SSH2_SESSION_TIMEOUT - if (abstract->is_blocking) { -@@ -137,8 +133,7 @@ static int php_ssh2_channel_stream_close(php_stream *stream, int close_handle) - } - libssh2_channel_eof(abstract->channel); - libssh2_channel_free(abstract->channel); -- //TODO Sean-Der -- //zend_list_delete(abstract->session_rsrcid); -+ zend_list_delete(abstract->session_rsrc); - } - efree(abstract); - -@@ -207,8 +202,8 @@ php_stream_ops php_ssh2_channel_stream_ops = { - * Parse an ssh2.*:// path - */ - php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stream_context *context, -- LIBSSH2_SESSION **psession, int *presource_id, -- LIBSSH2_SFTP **psftp, int *psftp_rsrcid) -+ LIBSSH2_SESSION **psession, zend_resource **presource, -+ LIBSSH2_SFTP **psftp, zend_resource **psftp_rsrc) - { - php_ssh2_sftp_data *sftp_data = NULL; - LIBSSH2_SESSION *session; -@@ -283,11 +278,10 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(zresource), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); - if (sftp_data) { - /* Want the sftp layer */ -- //TODO Sean-Der -- //zend_list_addref(resource_id); -- *psftp_rsrcid = resource_id; -+ Z_ADDREF_P(zresource); -+ *psftp_rsrc = Z_RES_P(zresource); - *psftp = sftp_data->sftp; -- *presource_id = sftp_data->session_rsrcid; -+ *presource = sftp_data->session_rsrc; - *psession = sftp_data->session; - return resource; - } -@@ -305,18 +299,16 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - sftp_data = emalloc(sizeof(php_ssh2_sftp_data)); - sftp_data->sftp = sftp; - sftp_data->session = session; -- sftp_data->session_rsrcid = resource_id; -- //TODO Sean-Der -- //zend_list_addref(resource_id); -- *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; -+ sftp_data->session_rsrc = Z_RES_P(zresource); -+ Z_ADDREF_P(zresource); -+ *psftp_rsrc = zend_register_resource(sftp_data, le_ssh2_sftp); - *psftp = sftp; -- *presource_id = resource_id; -+ *presource = Z_RES_P(zresource); - *psession = session; - return resource; - } -- //TODO Sean-Der -- //zend_list_addref(resource_id); -- *presource_id = resource_id; -+ Z_ADDREF_P(zresource); -+ *presource = Z_RES_P(zresource); - *psession = session; - return resource; - } -@@ -330,9 +322,9 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - sftp_data = (php_ssh2_sftp_data *)zend_fetch_resource(Z_RES_P(tmpzval), PHP_SSH2_SFTP_RES_NAME, le_ssh2_sftp); - if (sftp_data) { - Z_ADDREF_P(tmpzval); -- *psftp_rsrcid = Z_LVAL_P(tmpzval); -+ *psftp_rsrc = Z_RES_P(tmpzval); - *psftp = sftp_data->sftp; -- *presource_id = sftp_data->session_rsrcid; -+ *presource = sftp_data->session_rsrc; - *psession = sftp_data->session; - return resource; - } -@@ -354,17 +346,17 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - sftp_data = emalloc(sizeof(php_ssh2_sftp_data)); - sftp_data->sftp = sftp; - sftp_data->session = session; -- sftp_data->session_rsrcid = Z_LVAL_P(tmpzval); -+ sftp_data->session_rsrc = Z_RES_P(tmpzval); - Z_ADDREF_P(tmpzval); -- *psftp_rsrcid = zend_register_resource(sftp_data, le_ssh2_sftp)->handle; -+ *psftp_rsrc = zend_register_resource(sftp_data, le_ssh2_sftp); - *psftp = sftp; -- *presource_id = Z_RES_P(tmpzval)->handle; -+ *presource = Z_RES_P(tmpzval); - *psession = session; - return resource; - } - Z_ADDREF_P(tmpzval); - *psession = session; -- *presource_id = Z_LVAL_P(tmpzval); -+ *presource = Z_RES_P(tmpzval); - return resource; - } - } -@@ -465,8 +457,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - - /* Auth failure */ - php_url_free(resource); -- //TODO Sean-Der -- //zend_list_delete(Z_LVAL(zsession)); -+ zend_list_delete(Z_RES(zsession)); - return NULL; - - session_authed: -@@ -480,24 +471,22 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - sftp = libssh2_sftp_init(session); - if (!sftp) { - php_url_free(resource); -- //TODO Sean-Der -- //zend_list_delete(Z_LVAL(zsession)); -+ zend_list_delete(Z_RES(zsession)); - return NULL; - } - - sftp_data = emalloc(sizeof(php_ssh2_sftp_data)); - sftp_data->session = session; - sftp_data->sftp = sftp; -- sftp_data->session_rsrcid = Z_LVAL(zsession); -+ sftp_data->session_rsrc = Z_RES(zsession); - - //TODO Sean-Der - //ZEND_REGISTER_RESOURCE(sftp_data, le_ssh2_sftp); -- *psftp_rsrcid = Z_LVAL(zsftp); -+ *psftp_rsrc = Z_RES(zsftp); - *psftp = sftp; - } - -- //TODO may be undefined -- *presource_id = Z_LVAL(zsession); -+ *presource = Z_RES(zsession); - *psession = session; - - return resource; -@@ -511,7 +500,7 @@ php_url *php_ssh2_fopen_wraper_parse_path(const char *path, char *type, php_stre - /* {{{ php_ssh2_shell_open - * Make a stream from a session - */ --static php_stream *php_ssh2_shell_open(LIBSSH2_SESSION *session, int resource_id, char *term, int term_len, zval *environment, long width, long height, long type) -+static php_stream *php_ssh2_shell_open(LIBSSH2_SESSION *session, zend_resource *resource, char *term, int term_len, zval *environment, long width, long height, long type) - { - LIBSSH2_CHANNEL *channel; - php_ssh2_channel_data *channel_data; -@@ -578,7 +567,7 @@ static php_stream *php_ssh2_shell_open(LIBSSH2_SESSION *session, int resource_id - channel_data->streamid = 0; - channel_data->is_blocking = 0; - channel_data->timeout = 0; -- channel_data->session_rsrcid = resource_id; -+ channel_data->session_rsrc = resource; - channel_data->refcount = NULL; - - stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r+"); -@@ -599,11 +588,12 @@ static php_stream *php_ssh2_fopen_wrapper_shell(php_stream_wrapper *wrapper, con - zend_long width = PHP_SSH2_DEFAULT_TERM_WIDTH; - zend_long height = PHP_SSH2_DEFAULT_TERM_HEIGHT; - zend_long type = PHP_SSH2_DEFAULT_TERM_UNIT; -- int resource_id = 0, terminal_len = sizeof(PHP_SSH2_DEFAULT_TERMINAL) - 1; -+ zend_resource *rsrc = NULL; -+ int terminal_len = sizeof(PHP_SSH2_DEFAULT_TERMINAL) - 1; - php_url *resource; - char *s; - -- resource = php_ssh2_fopen_wraper_parse_path(path, "shell", context, &session, &resource_id, NULL, NULL); -+ resource = php_ssh2_fopen_wraper_parse_path(path, "shell", context, &session, &rsrc, NULL, NULL); - if (!resource || !session) { - return NULL; - } -@@ -677,10 +667,9 @@ static php_stream *php_ssh2_fopen_wrapper_shell(php_stream_wrapper *wrapper, con - /* TODO: Accept resolution and environment vars as URL style parameters - * ssh2.shell://hostorresource/terminal/99x99c?envvar=envval&envvar=envval.... - */ -- stream = php_ssh2_shell_open(session, resource_id, terminal, terminal_len, environment, width, height, type); -+ stream = php_ssh2_shell_open(session, rsrc, terminal, terminal_len, environment, width, height, type); - if (!stream) { -- //TODO Sean-Der -- //zend_list_delete(resource_id); -+ zend_list_delete(rsrc); - } - php_url_free(resource); - -@@ -730,7 +719,7 @@ PHP_FUNCTION(ssh2_shell) - - SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); - -- stream = php_ssh2_shell_open(session, Z_RES_P(zsession)->handle, term, term_len, environment, width, height, type); -+ stream = php_ssh2_shell_open(session, Z_RES_P(zsession), term, term_len, environment, width, height, type); - if (!stream) { - RETURN_FALSE; - } -@@ -749,7 +738,7 @@ PHP_FUNCTION(ssh2_shell) - /* {{{ php_ssh2_exec_command - * Make a stream from a session - */ --static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, int resource_id, char *command, char *term, int term_len, zval *environment, long width, long height, long type) -+static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, zend_resource *rsrc, char *command, char *term, int term_len, zval *environment, long width, long height, long type) - { - LIBSSH2_CHANNEL *channel; - php_ssh2_channel_data *channel_data; -@@ -819,7 +808,7 @@ static php_stream *php_ssh2_exec_command(LIBSSH2_SESSION *session, int resource_ - channel_data->streamid = 0; - channel_data->is_blocking = 0; - channel_data->timeout = 0; -- channel_data->session_rsrcid = resource_id; -+ channel_data->session_rsrc = rsrc; - channel_data->refcount = NULL; - - stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r+"); -@@ -836,7 +825,7 @@ static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, cons - LIBSSH2_SESSION *session = NULL; - php_stream *stream; - zval *tmpzval, *environment = NULL; -- int resource_id = 0; -+ zend_resource *rsrc = NULL; - php_url *resource; - char *terminal = NULL; - int terminal_len = 0; -@@ -844,14 +833,13 @@ static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, cons - long height = PHP_SSH2_DEFAULT_TERM_HEIGHT; - long type = PHP_SSH2_DEFAULT_TERM_UNIT; - -- resource = php_ssh2_fopen_wraper_parse_path(path, "exec", context, &session, &resource_id, NULL, NULL); -+ resource = php_ssh2_fopen_wraper_parse_path(path, "exec", context, &session, &rsrc, NULL, NULL); - if (!resource || !session) { - return NULL; - } - if (!resource->path) { - php_url_free(resource); -- //TODO Sean-Der -- //zend_list_delete(resource_id); -+ zend_list_delete(rsrc); - return NULL; - } - -@@ -893,10 +881,9 @@ static php_stream *php_ssh2_fopen_wrapper_exec(php_stream_wrapper *wrapper, cons - zval_ptr_dtor(copyval); - } - -- stream = php_ssh2_exec_command(session, resource_id, SSH2_URL_STR(resource->path) + 1, terminal, terminal_len, environment, width, height, type); -+ stream = php_ssh2_exec_command(session, rsrc, SSH2_URL_STR(resource->path) + 1, terminal, terminal_len, environment, width, height, type); - if (!stream) { -- // TODO Sean-Der -- //zend_list_delete(resource_id); -+ zend_list_delete(rsrc); - } - php_url_free(resource); - -@@ -963,7 +950,7 @@ PHP_FUNCTION(ssh2_exec) - - SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); - -- stream = php_ssh2_exec_command(session, Z_RES_P(zsession)->handle, command, term, term_len, environment, width, height, type); -+ stream = php_ssh2_exec_command(session, Z_RES_P(zsession), command, term, term_len, environment, width, height, type); - if (!stream) { - RETURN_FALSE; - } -@@ -982,7 +969,7 @@ PHP_FUNCTION(ssh2_exec) - /* {{{ php_ssh2_scp_xfer - * Make a stream from a session - */ --static php_stream *php_ssh2_scp_xfer(LIBSSH2_SESSION *session, int resource_id, char *filename) -+static php_stream *php_ssh2_scp_xfer(LIBSSH2_SESSION *session, zend_resource *rsrc, char *filename) - { - LIBSSH2_CHANNEL *channel; - php_ssh2_channel_data *channel_data; -@@ -1002,7 +989,7 @@ static php_stream *php_ssh2_scp_xfer(LIBSSH2_SESSION *session, int resource_id, - channel_data->streamid = 0; - channel_data->is_blocking = 0; - channel_data->timeout = 0; -- channel_data->session_rsrcid = resource_id; -+ channel_data->session_rsrc = rsrc; - channel_data->refcount = NULL; - - stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r"); -@@ -1018,28 +1005,26 @@ static php_stream *php_ssh2_fopen_wrapper_scp(php_stream_wrapper *wrapper, const - { - LIBSSH2_SESSION *session = NULL; - php_stream *stream; -- int resource_id = 0; -+ zend_resource *rsrc = NULL; - php_url *resource; - - if (strchr(mode, '+') || strchr(mode, 'a') || strchr(mode, 'w')) { - return NULL; - } - -- resource = php_ssh2_fopen_wraper_parse_path(path, "scp", context, &session, &resource_id, NULL, NULL); -+ resource = php_ssh2_fopen_wraper_parse_path(path, "scp", context, &session, &rsrc, NULL, NULL); - if (!resource || !session) { - return NULL; - } - if (!resource->path) { - php_url_free(resource); -- //TODO Sean-Der -- //zend_list_delete(resource_id); -+ zend_list_delete(rsrc); - return NULL; - } - -- stream = php_ssh2_scp_xfer(session, resource_id, SSH2_URL_STR(resource->path)); -+ stream = php_ssh2_scp_xfer(session, rsrc, SSH2_URL_STR(resource->path)); - if (!stream) { -- //TODO Sean-Der -- //zend_list_delete(resource_id); -+ zend_list_delete(rsrc); - } - php_url_free(resource); - -@@ -1231,7 +1216,7 @@ PHP_FUNCTION(ssh2_scp_send) - /* {{{ php_ssh2_direct_tcpip - * Make a stream from a session - */ --static php_stream *php_ssh2_direct_tcpip(LIBSSH2_SESSION *session, int resource_id, char *host, int port) -+static php_stream *php_ssh2_direct_tcpip(LIBSSH2_SESSION *session, zend_resource *rsrc, char *host, int port) - { - LIBSSH2_CHANNEL *channel; - php_ssh2_channel_data *channel_data; -@@ -1251,7 +1236,7 @@ static php_stream *php_ssh2_direct_tcpip(LIBSSH2_SESSION *session, int resource_ - channel_data->streamid = 0; - channel_data->is_blocking = 0; - channel_data->timeout = 0; -- channel_data->session_rsrcid = resource_id; -+ channel_data->session_rsrc = rsrc; - channel_data->refcount = NULL; - - stream = php_stream_alloc(&php_ssh2_channel_stream_ops, channel_data, 0, "r+"); -@@ -1270,9 +1255,9 @@ static php_stream *php_ssh2_fopen_wrapper_tunnel(php_stream_wrapper *wrapper, co - php_url *resource; - char *host = NULL; - int port = 0; -- int resource_id = 0; -+ zend_resource *rsrc; - -- resource = php_ssh2_fopen_wraper_parse_path(path, "tunnel", context, &session, &resource_id, NULL, NULL); -+ resource = php_ssh2_fopen_wraper_parse_path(path, "tunnel", context, &session, &rsrc, NULL, NULL); - if (!resource || !session) { - return NULL; - } -@@ -1303,15 +1288,13 @@ static php_stream *php_ssh2_fopen_wrapper_tunnel(php_stream_wrapper *wrapper, co - if ((port <= 0) || (port > 65535) || !host || (strlen(host) == 0)) { - /* Invalid connection criteria */ - php_url_free(resource); -- //TODO Sean-Der -- //zend_list_delete(resource_id); -+ zend_list_delete(rsrc); - return NULL; - } - -- stream = php_ssh2_direct_tcpip(session, resource_id, host, port); -+ stream = php_ssh2_direct_tcpip(session, rsrc, host, port); - if (!stream) { -- // TODO Sean-Der -- //zend_list_delete(resource_id); -+ zend_list_delete(rsrc); - } - php_url_free(resource); - -@@ -1352,7 +1335,7 @@ PHP_FUNCTION(ssh2_tunnel) - - SSH2_FETCH_AUTHENTICATED_SESSION(session, zsession); - -- stream = php_ssh2_direct_tcpip(session, Z_RES_P(zsession)->handle, host, port); -+ stream = php_ssh2_direct_tcpip(session, Z_RES_P(zsession), host, port); - if (!stream) { - RETURN_FALSE; - } -diff --git a/ssh2_sftp.c b/ssh2_sftp.c -index 6332be8..256fc70 100644 ---- a/ssh2_sftp.c -+++ b/ssh2_sftp.c -@@ -40,8 +40,7 @@ void php_ssh2_sftp_dtor(zend_resource *rsrc) - - libssh2_sftp_shutdown(data->sftp); - -- // TODO Sean-Der -- //zend_list_delete(data->session_rsrcid); -+ zend_list_delete(data->session_rsrc); - - efree(data); - } -@@ -50,7 +49,7 @@ void php_ssh2_sftp_dtor(zend_resource *rsrc) - * SFTP File Ops * - ***************** */ - --inline unsigned long php_ssh2_parse_fopen_modes(char *openmode) { -+unsigned long php_ssh2_parse_fopen_modes(char *openmode) { - unsigned long flags = 0; - - if (strchr(openmode, 'a')) { -@@ -101,7 +100,7 @@ inline int php_ssh2_sftp_attr2ssb(php_stream_statbuf *ssb, LIBSSH2_SFTP_ATTRIBUT - typedef struct _php_ssh2_sftp_handle_data { - LIBSSH2_SFTP_HANDLE *handle; - -- long sftp_rsrcid; -+ zend_resource *sftp_rsrc; - } php_ssh2_sftp_handle_data; - - /* {{{ php_ssh2_sftp_stream_write -@@ -139,8 +138,7 @@ static int php_ssh2_sftp_stream_close(php_stream *stream, int close_handle) - php_ssh2_sftp_handle_data *data = (php_ssh2_sftp_handle_data*)stream->abstract; - - libssh2_sftp_close(data->handle); -- //TODO Sean-Der -- //zend_list_delete(data->sftp_rsrcid); -+ zend_list_delete(data->sftp_rsrc); - efree(data); - - return 0; -@@ -226,12 +224,12 @@ static php_stream *php_ssh2_sftp_stream_opener(php_stream_wrapper *wrapper, cons - LIBSSH2_SFTP *sftp = NULL; - LIBSSH2_SFTP_HANDLE *handle; - php_stream *stream; -- int resource_id = 0, sftp_rsrcid = 0; -+ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; - php_url *resource; - unsigned long flags; - long perms = 0644; - -- resource = php_ssh2_fopen_wraper_parse_path(filename, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); -+ resource = php_ssh2_fopen_wraper_parse_path(filename, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); - if (!resource || !session || !sftp) { - return NULL; - } -@@ -242,20 +240,18 @@ static php_stream *php_ssh2_sftp_stream_opener(php_stream_wrapper *wrapper, cons - if (!handle) { - php_error_docref(NULL, E_WARNING, "Unable to open %s on remote host", filename); - php_url_free(resource); -- //TODO Sean-Der -- //zend_list_delete(sftp_rsrcid); -+ zend_list_delete(sftp_rsrc); - return NULL; - } - - data = emalloc(sizeof(php_ssh2_sftp_handle_data)); - data->handle = handle; -- data->sftp_rsrcid = sftp_rsrcid; -+ data->sftp_rsrc = sftp_rsrc; - - stream = php_stream_alloc(&php_ssh2_sftp_stream_ops, data, 0, mode); - if (!stream) { - libssh2_sftp_close(handle); -- // TODO Sean-Der -- //zend_list_delete(sftp_rsrcid); -+ zend_list_delete(sftp_rsrc); - efree(data); - } - php_url_free(resource); -@@ -303,8 +299,7 @@ static int php_ssh2_sftp_dirstream_close(php_stream *stream, int close_handle) - php_ssh2_sftp_handle_data *data = (php_ssh2_sftp_handle_data*)stream->abstract; - - libssh2_sftp_close(data->handle); -- //TODO Sean_der -- //zend_list_delete(data->sftp_rsrcid); -+ zend_list_delete(data->sftp_rsrc); - efree(data); - - return 0; -@@ -333,10 +328,10 @@ static php_stream *php_ssh2_sftp_dirstream_opener(php_stream_wrapper *wrapper, c - LIBSSH2_SFTP *sftp = NULL; - LIBSSH2_SFTP_HANDLE *handle; - php_stream *stream; -- int resource_id = 0, sftp_rsrcid = 0; -+ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; - php_url *resource; - -- resource = php_ssh2_fopen_wraper_parse_path(filename, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); -+ resource = php_ssh2_fopen_wraper_parse_path(filename, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); - if (!resource || !session || !sftp) { - return NULL; - } -@@ -345,20 +340,18 @@ static php_stream *php_ssh2_sftp_dirstream_opener(php_stream_wrapper *wrapper, c - if (!handle) { - php_error_docref(NULL, E_WARNING, "Unable to open %s on remote host", filename); - php_url_free(resource); -- //TODO Sean-Der -- //zend_list_delete(sftp_rsrcid); -+ zend_list_delete(sftp_rsrc); - return NULL; - } - - data = emalloc(sizeof(php_ssh2_sftp_handle_data)); - data->handle = handle; -- data->sftp_rsrcid = sftp_rsrcid; -+ data->sftp_rsrc = sftp_rsrc; - - stream = php_stream_alloc(&php_ssh2_sftp_dirstream_ops, data, 0, mode); - if (!stream) { - libssh2_sftp_close(handle); -- //TODO Sean-Der -- //zend_list_delete(sftp_rsrcid); -+ zend_list_delete(sftp_rsrc); - efree(data); - } - php_url_free(resource); -@@ -378,10 +371,10 @@ static int php_ssh2_sftp_urlstat(php_stream_wrapper *wrapper, const char *url, i - LIBSSH2_SFTP_ATTRIBUTES attrs; - LIBSSH2_SESSION *session = NULL; - LIBSSH2_SFTP *sftp = NULL; -- int resource_id = 0, sftp_rsrcid = 0; -+ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; - php_url *resource; - -- resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); -+ resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); - if (!resource || !session || !sftp || !resource->path) { - return -1; - } -@@ -408,11 +401,11 @@ static int php_ssh2_sftp_unlink(php_stream_wrapper *wrapper, const char *url, in - { - LIBSSH2_SESSION *session = NULL; - LIBSSH2_SFTP *sftp = NULL; -- int resource_id = 0, sftp_rsrcid = 0; -+ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; - php_url *resource; - int result; - -- resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); -+ resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); - if (!resource || !session || !sftp || !resource->path) { - if (resource) { - php_url_free(resource); -@@ -436,7 +429,7 @@ static int php_ssh2_sftp_rename(php_stream_wrapper *wrapper, const char *url_fro - { - LIBSSH2_SESSION *session = NULL; - LIBSSH2_SFTP *sftp = NULL; -- int resource_id = 0, sftp_rsrcid = 0; -+ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; - php_url *resource, *resource_to; - int result; - -@@ -453,7 +446,7 @@ static int php_ssh2_sftp_rename(php_stream_wrapper *wrapper, const char *url_fro - return 0; - } - -- resource = php_ssh2_fopen_wraper_parse_path(url_from, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); -+ resource = php_ssh2_fopen_wraper_parse_path(url_from, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); - if (!resource || !session || !sftp || !resource->path) { - if (resource) { - php_url_free(resource); -@@ -479,11 +472,11 @@ static int php_ssh2_sftp_mkdir(php_stream_wrapper *wrapper, const char *url, int - { - LIBSSH2_SESSION *session = NULL; - LIBSSH2_SFTP *sftp = NULL; -- int resource_id = 0, sftp_rsrcid = 0; -+ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; - php_url *resource; - int result; - -- resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); -+ resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); - if (!resource || !session || !sftp || !resource->path) { - if (resource) { - php_url_free(resource); -@@ -515,11 +508,11 @@ static int php_ssh2_sftp_rmdir(php_stream_wrapper *wrapper, const char *url, int - { - LIBSSH2_SESSION *session = NULL; - LIBSSH2_SFTP *sftp = NULL; -- int resource_id = 0, sftp_rsrcid = 0; -+ zend_resource *rsrc = NULL, *sftp_rsrc = NULL; - php_url *resource; - int result; - -- resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &resource_id, &sftp, &sftp_rsrcid); -+ resource = php_ssh2_fopen_wraper_parse_path(url, "sftp", context, &session, &rsrc, &sftp, &sftp_rsrc); - if (!resource || !session || !sftp || !resource->path) { - if (resource) { - php_url_free(resource); -@@ -591,7 +584,7 @@ PHP_FUNCTION(ssh2_sftp) - data = emalloc(sizeof(php_ssh2_sftp_data)); - data->session = session; - data->sftp = sftp; -- data->session_rsrcid = Z_RES_P(zsession)->handle; -+ data->session_rsrc = Z_RES_P(zsession); - Z_ADDREF_P(zsession); - - RETURN_RES(zend_register_resource(data, le_ssh2_sftp)); diff --git a/buildroot-2021.05/package/php-ssh2/php-ssh2.hash b/buildroot-2021.05/package/php-ssh2/php-ssh2.hash deleted file mode 100644 index 36e04f47..00000000 --- a/buildroot-2021.05/package/php-ssh2/php-ssh2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 87618d6a0981afe8c24b36d6b38c21a0aa0237b62e60347d0170bd86b51f79fb ssh2-1.1.2.tgz -sha256 ac7c56f1e416ce6e60abcf26269395128bc9e5a2e4f3293e5dcc124aac606508 LICENSE diff --git a/buildroot-2021.05/package/php-ssh2/php-ssh2.mk b/buildroot-2021.05/package/php-ssh2/php-ssh2.mk deleted file mode 100644 index c9c13010..00000000 --- a/buildroot-2021.05/package/php-ssh2/php-ssh2.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# php-ssh2 -# -################################################################################ - -PHP_SSH2_VERSION = 1.1.2 -PHP_SSH2_SOURCE = ssh2-$(PHP_SSH2_VERSION).tgz -PHP_SSH2_SITE = https://pecl.php.net/get -PHP_SSH2_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ - --with-ssh2=$(STAGING_DIR)/usr -# phpize does the autoconf magic -PHP_SSH2_DEPENDENCIES = libssh2 php host-autoconf -PHP_SSH2_LICENSE = PHP-3.01 -PHP_SSH2_LICENSE_FILES = LICENSE - -define PHP_SSH2_PHPIZE - (cd $(@D); \ - PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ - PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ - $(STAGING_DIR)/usr/bin/phpize) -endef - -PHP_SSH2_PRE_CONFIGURE_HOOKS += PHP_SSH2_PHPIZE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-xdebug/php-xdebug.hash b/buildroot-2021.05/package/php-xdebug/php-xdebug.hash deleted file mode 100644 index 8b90352e..00000000 --- a/buildroot-2021.05/package/php-xdebug/php-xdebug.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 ef479ee1a3da3f933e0d046ca8cd0c14601f29b2c0c41cc60c9388546a4e0272 LICENSE -sha256 e330c5ccb77890b06dd7bf093567051450b2438b79fed8e7e6c4834278d46092 php-xdebug-2.9.6.tar.gz diff --git a/buildroot-2021.05/package/php-xdebug/php-xdebug.mk b/buildroot-2021.05/package/php-xdebug/php-xdebug.mk deleted file mode 100644 index ab6ade4c..00000000 --- a/buildroot-2021.05/package/php-xdebug/php-xdebug.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# php-xdebug -# -################################################################################ - -PHP_XDEBUG_VERSION = 2.9.6 -PHP_XDEBUG_SITE = $(call github,xdebug,xdebug,$(PHP_XDEBUG_VERSION)) -PHP_XDEBUG_INSTALL_STAGING = YES -PHP_XDEBUG_LICENSE = Xdebug License (PHP-3.0-like) -PHP_XDEBUG_LICENSE_FILES = LICENSE -# phpize does the autoconf magic -PHP_XDEBUG_DEPENDENCIES = php host-autoconf -PHP_XDEBUG_CONF_OPTS = \ - --enable-xdebug \ - --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ - --with-xdebug=$(STAGING_DIR)/usr - -define PHP_XDEBUG_PHPIZE - (cd $(@D); \ - PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ - PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ - $(STAGING_DIR)/usr/bin/phpize) -endef - -PHP_XDEBUG_PRE_CONFIGURE_HOOKS += PHP_XDEBUG_PHPIZE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-yaml/php-yaml.hash b/buildroot-2021.05/package/php-yaml/php-yaml.hash deleted file mode 100644 index c29c3e66..00000000 --- a/buildroot-2021.05/package/php-yaml/php-yaml.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 9786b0386e648f12cc18a038358bd57bee4906e350a2e9ab776d6a5f18fc6680 yaml-2.0.4.tgz -sha256 68d9700294396c72089bfc7bf38a5b3654a53ae415f3bd37768848c14e86f338 LICENSE diff --git a/buildroot-2021.05/package/php-yaml/php-yaml.mk b/buildroot-2021.05/package/php-yaml/php-yaml.mk deleted file mode 100644 index e23d8979..00000000 --- a/buildroot-2021.05/package/php-yaml/php-yaml.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# php-yaml -# -################################################################################ - -PHP_YAML_VERSION = 2.0.4 -PHP_YAML_SOURCE = yaml-$(PHP_YAML_VERSION).tgz -PHP_YAML_SITE = https://pecl.php.net/get -PHP_YAML_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ - --with-yaml=$(STAGING_DIR)/usr -# phpize does the autoconf magic -PHP_YAML_DEPENDENCIES = libyaml php host-autoconf -PHP_YAML_LICENSE = MIT -PHP_YAML_LICENSE_FILES = LICENSE - -define PHP_YAML_PHPIZE - (cd $(@D); \ - PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ - PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ - $(STAGING_DIR)/usr/bin/phpize) -endef - -PHP_YAML_PRE_CONFIGURE_HOOKS += PHP_YAML_PHPIZE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-zmq/0001-PHP-7.3-compatibility-and-bugfixes.patch b/buildroot-2021.05/package/php-zmq/0001-PHP-7.3-compatibility-and-bugfixes.patch deleted file mode 100644 index 83cdb045..00000000 --- a/buildroot-2021.05/package/php-zmq/0001-PHP-7.3-compatibility-and-bugfixes.patch +++ /dev/null @@ -1,271 +0,0 @@ -From 6ea688eff5157785267d2b671cf62d296288847f Mon Sep 17 00:00:00 2001 -From: Alex/AT -Date: Mon, 10 Dec 2018 06:02:27 +0300 -Subject: [PATCH] PHP 7.3 compatibility and bugfixes - -- Define new GC_ADDREF/DELREF/SET_REFCOUNT macros for older PHP versions and use them instead of direct GC reference counter access - -- Fixup all necessary 'long' type parameters to 'zend_long', PHP 7.3 makes it mandatory, also fixup some direct function implementations to accept the same - -- In php_zmq_recv(), zend_string_init() was wrongly called with third parameter as '1', marking new string with IS_STR_PERSISTENT, this caused heap corruption and/or segfaults with PHP 7.3 and could possibly cause other sorts of bugs under any 7.x version - With ZVAL_STRINGL macro, this last '1' parameter meant to copy the string and was seemingly erroneously moved to zend_string_init(). zend_string_init() copies string by default, and last parameter has totally different meaning here - -- In poll(), flag ZVAL separation on passed arrays (PHP 7.3 makes it mandatory) - -- Test 19 (exception on connect callback with forced reference parameter): skip on PHP 7.1 and higher, PHP >= 7.1 started to fallback to passing argument by value instead of failing - -- Test 21 (warning generation from callback): it is ok, but PHP 7.3 uses 'int' instead of 'integer' for constants, so allow any word in place of the word 'integer' - -[Frank: backport from upstream PR https://github.com/mkoppanen/php-zmq/pull/195] -Signed-off-by: Frank Hunleth ---- - php_zmq.h | 6 ++++ - tests/019-callbackinvalidsignature.phpt | 3 +- - tests/021-callbackwarning.phpt | 2 +- - zmq.c | 40 ++++++++++++------------- - zmq_sockopt.c | 4 +-- - 5 files changed, 30 insertions(+), 25 deletions(-) - -diff --git a/php_zmq.h b/php_zmq.h -index ef50bfb..3833967 100644 ---- a/php_zmq.h -+++ b/php_zmq.h -@@ -44,6 +44,12 @@ - - #include "php.h" - -+#if PHP_VERSION_ID < 70300 -+#define GC_ADDREF(p) ++GC_REFCOUNT(p) -+#define GC_DELREF(p) --GC_REFCOUNT(p) -+#define GC_SET_REFCOUNT(p, rc) GC_REFCOUNT(p) = rc -+#endif -+ - extern zend_module_entry zmq_module_entry; - #define phpext_zmq_ptr &zmq_module_entry - -diff --git a/tests/019-callbackinvalidsignature.phpt b/tests/019-callbackinvalidsignature.phpt -index 753de31..b5bb20c 100644 ---- a/tests/019-callbackinvalidsignature.phpt -+++ b/tests/019-callbackinvalidsignature.phpt -@@ -1,7 +1,8 @@ - --TEST-- - Test callback edge-cases - --SKIPIF-- -- -+= 70100) die("skip PHP 7.1 and higher fallback to passing argument by value even when forced to reference"); ?> - --FILE-- - val, plist_key->len, &le, sizeof(le)) == NULL) { -@@ -369,7 +369,7 @@ PHP_METHOD(zmq, curvekeypair) - PHP_METHOD(zmqcontext, __construct) - { - php_zmq_context_object *intern; -- long io_threads = 1; -+ zend_long io_threads = 1; - zend_bool is_persistent = 1; - - if (zend_parse_parameters(ZEND_NUM_ARGS(), "|lb", &io_threads, &is_persistent) == FAILURE) { -@@ -495,7 +495,7 @@ PHP_METHOD(zmqcontext, getOpt) - Create a new zmq socket - */ - static --php_zmq_socket *php_zmq_socket_new(php_zmq_context *context, int type, zend_bool is_persistent) -+php_zmq_socket *php_zmq_socket_new(php_zmq_context *context, zend_long type, zend_bool is_persistent) - { - php_zmq_socket *zmq_sock; - -@@ -503,7 +503,7 @@ php_zmq_socket *php_zmq_socket_new(php_zmq_context *context, int type, zend_bool - zmq_sock->z_socket = zmq_socket(context->z_ctx, type); - zmq_sock->pid = getpid(); - zmq_sock->ctx = context; -- zmq_sock->socket_type = type; -+ zmq_sock->socket_type = type; - - if (!zmq_sock->z_socket) { - pefree(zmq_sock, is_persistent); -@@ -535,7 +535,7 @@ void php_zmq_socket_store(php_zmq_socket *zmq_sock_p, zend_long type, zend_strin - le.type = php_zmq_socket_list_entry(); - le.ptr = zmq_sock_p; - -- GC_REFCOUNT(&le) = 1; -+ GC_SET_REFCOUNT(&le, 1); - - plist_key = php_zmq_socket_plist_key(type, persistent_id, use_shared_ctx); - -@@ -796,7 +796,7 @@ PHP_METHOD(zmqsocket, __construct) - - /* {{{ static zend_bool php_zmq_send(php_zmq_socket_object *intern, char *message_param, long flags) - */ --static zend_bool php_zmq_send(php_zmq_socket_object *intern, zend_string *message_param, long flags) -+static zend_bool php_zmq_send(php_zmq_socket_object *intern, zend_string *message_param, zend_long flags) - { - int rc, errno_; - zmq_msg_t message; -@@ -828,7 +828,7 @@ static void php_zmq_sendmsg_impl(INTERNAL_FUNCTION_PARAMETERS) - { - php_zmq_socket_object *intern; - zend_string *message_param; -- long flags = 0; -+ zend_long flags = 0; - zend_bool ret; - - if (zend_parse_parameters(ZEND_NUM_ARGS(), "S|l", &message_param, &flags) == FAILURE) { -@@ -890,7 +890,7 @@ PHP_METHOD(zmqsocket, sendmulti) - zval *messages; - php_zmq_socket_object *intern; - int to_send, ret = 0; -- long flags = 0; -+ zend_long flags = 0; - - if (zend_parse_parameters(ZEND_NUM_ARGS(), "a|l", &messages, &flags) == FAILURE) { - return; -@@ -910,7 +910,7 @@ PHP_METHOD(zmqsocket, sendmulti) - /* {{{ static zend_bool php_zmq_recv(php_zmq_socket_object *intern, long flags, zval *return_value) - */ - static --zend_string *php_zmq_recv(php_zmq_socket_object *intern, long flags) -+zend_string *php_zmq_recv(php_zmq_socket_object *intern, zend_long flags) - { - int rc, errno_; - zmq_msg_t message; -@@ -933,7 +933,7 @@ zend_string *php_zmq_recv(php_zmq_socket_object *intern, long flags) - return NULL; - } - -- str = zend_string_init(zmq_msg_data(&message), zmq_msg_size(&message), 1); -+ str = zend_string_init(zmq_msg_data(&message), zmq_msg_size(&message), 0); - zmq_msg_close(&message); - return str; - } -@@ -943,7 +943,7 @@ static void php_zmq_recvmsg_impl(INTERNAL_FUNCTION_PARAMETERS) - { - zend_string *str = NULL; - php_zmq_socket_object *intern; -- long flags = 0; -+ zend_long flags = 0; - - if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &flags) == FAILURE) { - return; -@@ -974,7 +974,7 @@ PHP_METHOD(zmqsocket, recvmulti) - { - php_zmq_socket_object *intern; - size_t value_len; -- long flags = 0; -+ zend_long flags = 0; - #if ZMQ_VERSION_MAJOR < 3 - int64_t value; - #else -@@ -1303,7 +1303,7 @@ PHP_METHOD(zmqpoll, add) - { - php_zmq_poll_object *intern; - zval *object; -- long events; -+ zend_long events; - int error; - zend_string *key; - -@@ -1423,10 +1423,10 @@ PHP_METHOD(zmqpoll, poll) - php_zmq_poll_object *intern; - zval *r_array, *w_array; - -- long timeout = -1; -+ zend_long timeout = -1; - int rc; - -- if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!|l", &r_array, &w_array, &timeout) == FAILURE) { -+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!/a!/|l", &r_array, &w_array, &timeout) == FAILURE) { - return; - } - -@@ -1592,7 +1592,7 @@ void s_clear_device_callback (php_zmq_device_cb_t *cb) - } - - static --void s_init_device_callback (php_zmq_device_cb_t *cb, zend_fcall_info *fci, zend_fcall_info_cache *fci_cache, long timeout, zval *user_data) -+void s_init_device_callback (php_zmq_device_cb_t *cb, zend_fcall_info *fci, zend_fcall_info_cache *fci_cache, zend_long timeout, zval *user_data) - { - memcpy (&cb->fci, fci, sizeof (zend_fcall_info)); - memcpy (&cb->fci_cache, fci_cache, sizeof (zend_fcall_info_cache)); -@@ -1615,7 +1615,7 @@ void s_init_device_callback (php_zmq_device_cb_t *cb, zend_fcall_info *fci, zend - PHP_METHOD(zmqdevice, setidletimeout) - { - php_zmq_device_object *intern; -- long timeout; -+ zend_long timeout; - - if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &timeout) == FAILURE) { - return; -@@ -1644,7 +1644,7 @@ PHP_METHOD(zmqdevice, getidletimeout) - PHP_METHOD(zmqdevice, settimertimeout) - { - php_zmq_device_object *intern; -- long timeout; -+ zend_long timeout; - - if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &timeout) == FAILURE) { - return; -@@ -1676,7 +1676,7 @@ PHP_METHOD(zmqdevice, setidlecallback) - zval *user_data = NULL; - zend_fcall_info fci; - zend_fcall_info_cache fci_cache; -- long timeout = 0; -+ zend_long timeout = 0; - - if (ZEND_NUM_ARGS() == 2) { - php_error_docref(NULL, E_DEPRECATED, "The signature for setIdleCallback has changed, please update your code"); -@@ -1718,7 +1718,7 @@ PHP_METHOD(zmqdevice, settimercallback) - zval *user_data = NULL; - zend_fcall_info fci; - zend_fcall_info_cache fci_cache; -- long timeout; -+ zend_long timeout; - - if (zend_parse_parameters(ZEND_NUM_ARGS(), "fl|z!", &fci, &fci_cache, &timeout, &user_data) == FAILURE) { - return; -diff --git a/zmq_sockopt.c b/zmq_sockopt.c -index 1357032..3a00421 100644 ---- a/zmq_sockopt.c -+++ b/zmq_sockopt.c -@@ -1,5 +1,3 @@ -- -- - /* - +-----------------------------------------------------------------------------------+ - | ZMQ extension for PHP | -@@ -2033,7 +2031,7 @@ PHP_METHOD(zmqsocket, getsockopt) - PHP_METHOD(zmqsocket, setsockopt) - { - php_zmq_socket_object *intern; -- long key; -+ zend_long key; - zval *zv; - - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz/", &key, &zv) == FAILURE) { --- -2.17.1 - diff --git a/buildroot-2021.05/package/php/0001-acinclude.m4-don-t-unset-variables.patch b/buildroot-2021.05/package/php/0001-acinclude.m4-don-t-unset-variables.patch deleted file mode 100644 index 982857a3..00000000 --- a/buildroot-2021.05/package/php/0001-acinclude.m4-don-t-unset-variables.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 7a4168062fbab2e33ef9a42bca9f87a5921afac2 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Tue, 9 Aug 2016 11:49:56 +0200 -Subject: [PATCH] acinclude.m4: don't unset variables - -Unsetting ac_cv_{func,lib}_* is bad, you can't feed the configure cache. -Terminate them with extreme prejudice. - -Signed-off-by: Gustavo Zacarias -Signed-off-by: Adam Duskett -[aduskett@gmail.com: Update for 7.3.0] ---- - build/php.m4 | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/build/php.m4 b/build/php.m4 -index e91ef988..9586c490 100644 ---- a/build/php.m4 -+++ b/build/php.m4 -@@ -1587,8 +1587,6 @@ dnl PHP_CHECK_FUNC_LIB - dnl - AC_DEFUN([PHP_CHECK_FUNC_LIB],[ - ifelse($2,,:,[ -- unset ac_cv_lib_$2[]_$1 -- unset ac_cv_lib_$2[]___$1 - unset found - AC_CHECK_LIB($2, $1, [found=yes], [ - AC_CHECK_LIB($2, __$1, [found=yes], [found=no]) -@@ -1620,8 +1618,6 @@ dnl and as a fall back in the specified library. Defines HAVE_func and - dnl HAVE_library if found and adds the library to LIBS. - dnl - AC_DEFUN([PHP_CHECK_FUNC],[ -- unset ac_cv_func_$1 -- unset ac_cv_func___$1 - unset found - - AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ]) --- -2.7.4 - diff --git a/buildroot-2021.05/package/php/0002-iconv-tweak-iconv-detection.patch b/buildroot-2021.05/package/php/0002-iconv-tweak-iconv-detection.patch deleted file mode 100644 index 65ed6055..00000000 --- a/buildroot-2021.05/package/php/0002-iconv-tweak-iconv-detection.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 1357df0196806d5697b1f84497ef72aab5faa8a3 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Tue, 9 Aug 2016 11:50:49 +0200 -Subject: [PATCH] iconv: tweak iconv detection - -Tweak PHP_SETUP_ICONV from aclocal/build/php.m4 to not -PHP_ADD_INCLUDE $ICONV_DIR/include since the tests use -test instead of AC_TRY_LINK to find headers which is bad, -specially when adding /usr and /usr/local to the mix. -Do basically the same with ext/iconv/config.m4 by tweaking -PHP_ICONV_H_PATH which, again, uses test and absolute paths. - -Signed-off-by: Gustavo Zacarias -[Gustavo: convert to nice m4 instead of patching configure] -[Gustavo: update for 5.6.10] -Signed-off-by: Adam Duskett -[aduskett@gmail.com: Update for 7.3.0] -Signed-off-by: Bernd Kuhls -[Bernd: rebased for 7.4.10 & 7.4.13] ---- - build/php.m4 | 2 +- - ext/iconv/config.m4 | 22 ---------------------- - 2 files changed, 1 insertion(+), 23 deletions(-) - -diff --git a/build/php.m4 b/build/php.m4 -index 9586c490..8b3d47ed 100644 ---- a/build/php.m4 -+++ b/build/php.m4 -@@ -1973,7 +1973,7 @@ AC_DEFUN([PHP_SETUP_ICONV], [ - dnl Check external libs for iconv funcs. - if test "$found_iconv" = "no"; then - -- for i in $PHP_ICONV /usr/local /usr; do -+ for i in $PHP_ICONV; do - if test -r $i/include/giconv.h; then - AC_DEFINE(HAVE_GICONV_H, 1, [ ]) - ICONV_DIR=$i -diff --git a/ext/iconv/config.m4 b/ext/iconv/config.m4 -index fe9b47aa..70599694 100644 ---- a/ext/iconv/config.m4 -+++ b/ext/iconv/config.m4 -@@ -13,28 +13,6 @@ if test "$PHP_ICONV" != "no"; then - ]) - - if test "$iconv_avail" != "no"; then -- if test -z "$ICONV_DIR"; then -- for i in /usr/local /usr; do -- if test -f "$i/include/iconv.h" || test -f "$i/include/giconv.h"; then -- PHP_ICONV_PREFIX="$i" -- break -- fi -- done -- if test -z "$PHP_ICONV_PREFIX"; then -- PHP_ICONV_PREFIX="/usr" -- fi -- else -- PHP_ICONV_PREFIX="$ICONV_DIR" -- fi -- -- CFLAGS="-I$PHP_ICONV_PREFIX/include $CFLAGS" -- LDFLAGS="-L$PHP_ICONV_PREFIX/$PHP_LIBDIR $LDFLAGS" -- -- if test -r "$PHP_ICONV_PREFIX/include/giconv.h"; then -- PHP_ICONV_H_PATH="$PHP_ICONV_PREFIX/include/giconv.h" -- else -- PHP_ICONV_H_PATH="$PHP_ICONV_PREFIX/include/iconv.h" -- fi - - AC_MSG_CHECKING([if iconv is glibc's]) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]], [[gnu_get_libc_version();]])],[ --- -2.7.4 - diff --git a/buildroot-2021.05/package/php/0003-configure-disable-the-phar-tool.patch b/buildroot-2021.05/package/php/0003-configure-disable-the-phar-tool.patch deleted file mode 100644 index 4a25ec05..00000000 --- a/buildroot-2021.05/package/php/0003-configure-disable-the-phar-tool.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 5ba6355e489f647c88ca48afbc75965468193181 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Tue, 9 Aug 2016 11:51:53 +0200 -Subject: [PATCH] configure: disable the 'phar' tool - -Disable the 'phar' command-line tool build/installation since it requires -php to run and pack up phar itself in phar format. This would require -a host-php instance and really probably nobody needs the phar tool -on the target. - -Signed-off-by: Gustavo Zacarias -[Gustavo: update for autoreconf/configure.in] -Signed-off-by: Adam Duskett -[Aduskett: update for 7.3.0] -Signed-off-by: Bernd Kuhls -[Bernd: rebased for 7.4.10 & 7.4.13] ---- - configure.ac | 9 ++------- - 1 file changed, 2 insertions(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 0dfab302..6026fb66 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1454,13 +1454,8 @@ CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag" - INLINE_CFLAGS="$INLINE_CFLAGS $standard_libtool_flag" - CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)" - --if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then -- pharcmd=pharcmd -- pharcmd_install=install-pharcmd --else -- pharcmd= -- pharcmd_install= --fi; -+pharcmd= -+pharcmd_install= - - all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd" - install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install" --- -2.14.3 - diff --git a/buildroot-2021.05/package/php/0004-Call-apxs-with-correct-prefix.patch b/buildroot-2021.05/package/php/0004-Call-apxs-with-correct-prefix.patch deleted file mode 100644 index a0a07157..00000000 --- a/buildroot-2021.05/package/php/0004-Call-apxs-with-correct-prefix.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 4342bdea7a1a21430ce0d051fa4387441166c473 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 11 Dec 2016 23:12:46 +0100 -Subject: [PATCH] Call apxs with correct prefix - -php uses apache's apxs script from staging directory to install libphp -dynamic library and update /etc/apache2/httpd.conf in the staging and target -directories. Here is the full command line: -"apxs -S LIBEXECDIR='$(INSTALL_ROOT)/usr/modules' - -S SYSCONFDIR='$(INSTALL_ROOT)/etc/apache2' -i -a -n php7" -This does not work for target directory as apxs sets the full path of the -library and not the relative one. Indeed, apxs is smart enough to substitute -away the prefix specified in $(STAGING_DIR)/usr/build/config_vars.mk so -httpd.conf will only be correct in the staging directory. -To fix this, add -S PREFIX='$(INSTALL_ROOT)/usr' to apxs call in configure - -Signed-off-by: Fabrice Fontaine -Signed-off-by: Adam Duskett -[aduskett@gmail.com: Update for 7.3.0] ---- - sapi/apache2handler/config.m4 | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/sapi/apache2handler/config.m4 b/sapi/apache2handler/config.m4 -index 55c16179..68ce66c0 100644 ---- a/sapi/apache2handler/config.m4 -+++ b/sapi/apache2handler/config.m4 -@@ -63,10 +63,12 @@ if test "$PHP_APXS2" != "no"; then - AC_MSG_ERROR([Please note that Apache version >= 2.0.44 is required]) - fi - -+ APXS_PREFIX='$(INSTALL_ROOT)'/usr - APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR` - if test -z `$APXS -q SYSCONFDIR`; then - INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \ - $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \ -+ -S PREFIX='$APXS_PREFIX' \ - -i -n php7" - else - APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR` -@@ -74,6 +76,7 @@ if test "$PHP_APXS2" != "no"; then - \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \ - $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \ - -S SYSCONFDIR='$APXS_SYSCONFDIR' \ -+ -S PREFIX='$APXS_PREFIX' \ - -i -a -n php7" - fi - --- -2.5.0 - diff --git a/buildroot-2021.05/package/php/Config.ext b/buildroot-2021.05/package/php/Config.ext deleted file mode 100644 index 44afea01..00000000 --- a/buildroot-2021.05/package/php/Config.ext +++ /dev/null @@ -1,434 +0,0 @@ -menu "Extensions" - -config BR2_PACKAGE_PHP_EXT_CALENDAR - bool "Calendar" - help - Calendar and event support - -config BR2_PACKAGE_PHP_EXT_FILEINFO - bool "Fileinfo" - help - File Information support - -config BR2_PACKAGE_PHP_EXT_OPCACHE - bool "OPcache" - help - Enable the Zend OPcache accelerator. - -comment "Readline needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_PHP_EXT_READLINE - bool "Readline" - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_READLINE - help - Readline support - -config BR2_PACKAGE_PHP_EXT_SESSION - bool "Session" - default y - help - Session support - -comment "Compression extensions" - -config BR2_PACKAGE_PHP_EXT_BZIP2 - bool "bzip2" - select BR2_PACKAGE_BZIP2 - help - bzip2 read/write support - -config BR2_PACKAGE_PHP_EXT_PHAR - bool "phar" - help - PHP Archive support - -comment "zip needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_PHP_EXT_ZIP - bool "zip" - depends on !BR2_STATIC_LIBS # libzip - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_LIBZIP - help - Zip read/write support - -config BR2_PACKAGE_PHP_EXT_ZLIB - bool "zlib" - default y - select BR2_PACKAGE_ZLIB - help - zlib support - -comment "Cryptography extensions" - -comment "libargon2 needs a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_PHP_EXT_LIBARGON2 - bool "libargon2" - depends on BR2_USE_MMU # libargon2 - depends on !BR2_STATIC_LIBS # libargon2 - select BR2_PACKAGE_LIBARGON2 - help - libargon2 support - -config BR2_PACKAGE_PHP_EXT_LIBSODIUM - bool "libsodium" - select BR2_PACKAGE_LIBSODIUM - help - libsodium support - -config BR2_PACKAGE_PHP_EXT_MCRYPT - bool "mcrypt" - select BR2_PACKAGE_LIBMCRYPT - help - mcrypt support - -config BR2_PACKAGE_PHP_EXT_OPENSSL - bool "openssl" - select BR2_PACKAGE_OPENSSL - help - openssl support - -comment "Database extensions" - -config BR2_PACKAGE_PHP_EXT_DBA - bool "DBA" - help - Database Abstraction Layer - -if BR2_PACKAGE_PHP_EXT_DBA - -config BR2_PACKAGE_PHP_EXT_DBA_CDB - bool "cdb" - help - CDB handler - -config BR2_PACKAGE_PHP_EXT_DBA_DB4 - bool "db4/5" - select BR2_PACKAGE_BERKELEYDB - help - BerkeleyDB version 4/5 handler - -config BR2_PACKAGE_PHP_EXT_DBA_FLAT - bool "flat" - default y - help - Flat file handler - -config BR2_PACKAGE_PHP_EXT_DBA_INI - bool "ini" - default y - help - INI file handler - -endif - -config BR2_PACKAGE_PHP_EXT_MYSQLI - bool "Mysqli" - help - MySQL Improved extension support - -config BR2_PACKAGE_PHP_EXT_PGSQL - bool "PostgreSQL" - depends on BR2_USE_MMU # postgresql - depends on !BR2_STATIC_LIBS - depends on BR2_USE_WCHAR # postgresql - select BR2_PACKAGE_POSTGRESQL - help - PostgreSQL support - -comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR - -config BR2_PACKAGE_PHP_EXT_SQLITE - bool "SQLite3" - select BR2_PACKAGE_SQLITE - help - SQLite3 support - -config BR2_PACKAGE_PHP_EXT_PDO - bool "PDO" - help - PHP Data Objects support - -if BR2_PACKAGE_PHP_EXT_PDO - -config BR2_PACKAGE_PHP_EXT_PDO_MYSQL - bool "MySQL" - help - PDO driver for MySQL - -config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL - bool "PostgreSQL" - depends on BR2_USE_MMU # postgresql - depends on !BR2_STATIC_LIBS - depends on BR2_USE_WCHAR # postgresql - select BR2_PACKAGE_POSTGRESQL - help - PDO driver for PostgreSQL - -comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR - -config BR2_PACKAGE_PHP_EXT_PDO_SQLITE - bool "SQLite3" - select BR2_PACKAGE_SQLITE - help - SQLite3 driver for PDO - -config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC - bool "unixODBC" - depends on !BR2_STATIC_LIBS # unixodbc - select BR2_PACKAGE_UNIXODBC - help - unixODBC driver for PDO - -comment "unixodbc driver needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -endif - -comment "Human language and character encoding support" - -config BR2_PACKAGE_PHP_EXT_GETTEXT - bool "Gettext" - depends on BR2_SYSTEM_ENABLE_NLS - help - Gettext support - -comment "Gettext support needs NLS enabled" - depends on !BR2_SYSTEM_ENABLE_NLS - -config BR2_PACKAGE_PHP_EXT_ICONV - bool "iconv" - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - iconv character set conversion support - -config BR2_PACKAGE_PHP_EXT_INTL - bool "intl" - depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu - depends on !BR2_BINFMT_FLAT # icu - depends on BR2_TOOLCHAIN_HAS_THREADS # icu - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_ICU - help - Internationalization support - -comment "intl support needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9" - depends on !BR2_BINFMT_FLAT - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_PHP_EXT_MBSTRING - bool "mbstring" - select BR2_PACKAGE_ONIGURUMA - help - multibyte string support - -comment "Image processing" - -config BR2_PACKAGE_PHP_EXT_EXIF - bool "EXIF" - help - EXIF support - -config BR2_PACKAGE_PHP_EXT_GD - bool "GD" - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_ZLIB - help - GD support - -comment "Mathematical extensions" - -config BR2_PACKAGE_PHP_EXT_BCMATH - bool "BC math" - help - BCMath arbitrary precision mathematics support - -config BR2_PACKAGE_PHP_EXT_GMP - bool "GMP" - select BR2_PACKAGE_GMP - help - GNU Multiple Precision support - -comment "Other basic extensions" - -config BR2_PACKAGE_PHP_EXT_JSON - bool "JSON" - help - JavaScript Object Serialization support - -config BR2_PACKAGE_PHP_EXT_TOKENIZER - bool "Tokenizer" - help - Tokenizer functions support - -comment "Other services" - -config BR2_PACKAGE_PHP_EXT_CURL - bool "cURL" - select BR2_PACKAGE_LIBCURL - help - cURL for URL streams - -config BR2_PACKAGE_PHP_EXT_FTP - bool "FTP" - help - FTP support - -config BR2_PACKAGE_PHP_EXT_SNMP - bool "SNMP" - depends on BR2_USE_MMU # netsnmp fork() - select BR2_PACKAGE_NETSNMP - select BR2_PACKAGE_NETSNMP_ENABLE_MIBS - help - SNMP support - -config BR2_PACKAGE_PHP_EXT_SOCKETS - bool "sockets" - help - Sockets support - -comment "Process Control" - -config BR2_PACKAGE_PHP_EXT_PCNTL - bool "PCNTL" - depends on BR2_USE_MMU # fork() - help - Process control support - -config BR2_PACKAGE_PHP_EXT_POSIX - bool "Posix" - default y - help - POSIX.1 (IEEE 1003.1) function support - -config BR2_PACKAGE_PHP_EXT_SHMOP - bool "shmop" - help - Shared memory support - -config BR2_PACKAGE_PHP_EXT_SYSVMSG - bool "sysvmsg" - help - System V message queue support - -config BR2_PACKAGE_PHP_EXT_SYSVSEM - bool "sysvsem" - help - System V semaphore support - -config BR2_PACKAGE_PHP_EXT_SYSVSHM - bool "sysvshm" - help - System V shared memory support - -comment "Variable and Type related" - -config BR2_PACKAGE_PHP_EXT_CTYPE - bool "Ctype" - help - Character type checking support - -config BR2_PACKAGE_PHP_EXT_FILTER - bool "Filter" - help - Input filter support - -comment "Web services" - -config BR2_PACKAGE_PHP_EXT_SOAP - bool "SOAP" - select BR2_PACKAGE_PHP_EXT_LIBXML2 - help - SOAP support - -config BR2_PACKAGE_PHP_EXT_XMLRPC - bool "XML-RPC" - select BR2_PACKAGE_PHP_EXT_LIBXML2 - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - XML-RPC support - -comment "XML manipulation" - -config BR2_PACKAGE_PHP_EXT_DOM - bool "DOM" - select BR2_PACKAGE_PHP_EXT_LIBXML2 - help - Document Object Model support - -config BR2_PACKAGE_PHP_EXT_LIBXML2 - bool "libxml" - select BR2_PACKAGE_LIBXML2 - help - libxml2 support - -config BR2_PACKAGE_PHP_EXT_SIMPLEXML - bool "SimpleXML" - select BR2_PACKAGE_PHP_EXT_LIBXML2 - help - SimpleXML support - -config BR2_PACKAGE_PHP_EXT_WDDX - bool "WDDX" - select BR2_PACKAGE_EXPAT - select BR2_PACKAGE_PHP_EXT_LIBXML2 - help - WDDX support - -config BR2_PACKAGE_PHP_EXT_XML - bool "XML Parser" - select BR2_PACKAGE_PHP_EXT_LIBXML2 - help - XML Parser support - -config BR2_PACKAGE_PHP_EXT_XMLREADER - bool "XMLReader" - select BR2_PACKAGE_PHP_EXT_LIBXML2 - help - XMLReader support - -config BR2_PACKAGE_PHP_EXT_XMLWRITER - bool "XMLWriter" - select BR2_PACKAGE_PHP_EXT_LIBXML2 - help - XMLWriter support - -config BR2_PACKAGE_PHP_EXT_XSL - bool "XSL" - select BR2_PACKAGE_PHP_EXT_DOM - select BR2_PACKAGE_PHP_EXT_LIBXML2 - select BR2_PACKAGE_LIBXSLT - help - XSL transformation support - -config BR2_PACKAGE_PHP_EXT_FFI - bool "FFI" - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_LIBFFI - help - Foreign Function Interface support - -comment "PHP FFI extension needs a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -endmenu diff --git a/buildroot-2021.05/package/php/Config.in b/buildroot-2021.05/package/php/Config.in deleted file mode 100644 index 6fa42042..00000000 --- a/buildroot-2021.05/package/php/Config.in +++ /dev/null @@ -1,51 +0,0 @@ -config BR2_PACKAGE_PHP - bool "php" - # PHP uses -export-dynamic, which breaks with elf2flt with a - # message like "ld.real: section .junk LMA [...,...] overlaps - # section .text LMA [...,...]" - depends on !BR2_BINFMT_FLAT - select BR2_PACKAGE_PHP_SAPI_CGI if \ - !BR2_PACKAGE_PHP_SAPI_APACHE && \ - !BR2_PACKAGE_PHP_SAPI_CLI && \ - !BR2_PACKAGE_PHP_SAPI_FPM && \ - BR2_USE_MMU - select BR2_PACKAGE_PHP_SAPI_CLI if !BR2_USE_MMU - select BR2_PACKAGE_PCRE2 - help - PHP is a widely-used general-purpose scripting - language that is especially suited for Web development - and can be embedded into HTML. - - http://www.php.net - -if BR2_PACKAGE_PHP - -config BR2_PACKAGE_PHP_SAPI_APACHE - bool "Apache interface" - depends on BR2_PACKAGE_APACHE - help - Apache module - -config BR2_PACKAGE_PHP_SAPI_CGI - bool "CGI interface" - # CGI uses fork() - depends on BR2_USE_MMU - help - Common Gateway Interface - -config BR2_PACKAGE_PHP_SAPI_CLI - bool "CLI interface" - help - Command Line Interface - -config BR2_PACKAGE_PHP_SAPI_FPM - bool "FPM interface" - depends on BR2_USE_MMU - # "Sparc v8 and predecessors are not and will not be supported" - depends on !BR2_sparc - help - PHP-FPM (FastCGI Process Manager) - -source "package/php/Config.ext" - -endif diff --git a/buildroot-2021.05/package/php/php.hash b/buildroot-2021.05/package/php/php.hash deleted file mode 100644 index 3fb0d09d..00000000 --- a/buildroot-2021.05/package/php/php.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.php.net/downloads.php -sha256 6c17172c4a411ccb694d9752de899bb63c72a0a3ebe5089116bc13658a1467b2 php-7.4.19.tar.xz - -# License file -sha256 a188db807d711536f71e27b7d36879d63480f7994dc18adc08e624b3c5430fff LICENSE diff --git a/buildroot-2021.05/package/php/php.mk b/buildroot-2021.05/package/php/php.mk deleted file mode 100644 index 73553e03..00000000 --- a/buildroot-2021.05/package/php/php.mk +++ /dev/null @@ -1,369 +0,0 @@ -################################################################################ -# -# php -# -################################################################################ - -PHP_VERSION = 7.4.19 -PHP_SITE = http://www.php.net/distributions -PHP_SOURCE = php-$(PHP_VERSION).tar.xz -PHP_INSTALL_STAGING = YES -PHP_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install -PHP_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install -PHP_DEPENDENCIES = host-pkgconf pcre2 -PHP_LICENSE = PHP-3.01 -PHP_LICENSE_FILES = LICENSE -PHP_CPE_ID_VENDOR = php -PHP_CONF_OPTS = \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --with-config-file-scan-dir=/etc/php.d \ - --disable-all \ - --with-external-pcre \ - --without-pear \ - --with-config-file-path=/etc \ - --disable-phpdbg \ - --disable-rpath -PHP_CONF_ENV = \ - EXTRA_LIBS="$(PHP_EXTRA_LIBS)" - -ifeq ($(BR2_STATIC_LIBS),y) -PHP_CONF_ENV += LIBS="$(PHP_STATIC_LIBS)" -endif - -ifeq ($(BR2_STATIC_LIBS)$(BR2_TOOLCHAIN_HAS_THREADS),yy) -PHP_STATIC_LIBS += -lpthread -endif - -ifeq ($(call qstrip,$(BR2_TARGET_LOCALTIME)),) -PHP_LOCALTIME = UTC -else -# Not q-stripping this value, as we need quotes in the php.ini file -PHP_LOCALTIME = $(BR2_TARGET_LOCALTIME) -endif - -# PHP can't be AUTORECONFed the standard way unfortunately -PHP_DEPENDENCIES += host-autoconf host-automake host-libtool -define PHP_BUILDCONF - cd $(@D) ; $(TARGET_MAKE_ENV) ./buildconf --force -endef -PHP_PRE_CONFIGURE_HOOKS += PHP_BUILDCONF - -ifeq ($(BR2_ENDIAN),"BIG") -PHP_CONF_ENV += ac_cv_c_bigendian_php=yes -else -PHP_CONF_ENV += ac_cv_c_bigendian_php=no -endif -PHP_CONFIG_SCRIPTS = php-config - -PHP_CFLAGS = $(TARGET_CFLAGS) -PHP_CXXFLAGS = $(TARGET_CXXFLAGS) - -# The OPcache extension isn't cross-compile friendly -# Throw some defines here to avoid patching heavily -ifeq ($(BR2_PACKAGE_PHP_EXT_OPCACHE),y) -PHP_CONF_OPTS += --enable-opcache -PHP_CONF_ENV += ac_cv_func_mprotect=yes -PHP_CFLAGS += \ - -DHAVE_SHM_IPC \ - -DHAVE_SHM_MMAP_ANON \ - -DHAVE_SHM_MMAP_ZERO \ - -DHAVE_SHM_MMAP_POSIX \ - -DHAVE_SHM_MMAP_FILE -endif - -# We need to force dl "detection" -ifeq ($(BR2_STATIC_LIBS),) -PHP_CONF_ENV += ac_cv_func_dlopen=yes ac_cv_lib_dl_dlopen=yes -PHP_EXTRA_LIBS += -ldl -else -PHP_CONF_ENV += ac_cv_func_dlopen=no ac_cv_lib_dl_dlopen=no -endif - -PHP_CONF_OPTS += $(if $(BR2_PACKAGE_PHP_SAPI_CLI),--enable-cli,--disable-cli) -PHP_CONF_OPTS += $(if $(BR2_PACKAGE_PHP_SAPI_CGI),--enable-cgi,--disable-cgi) -PHP_CONF_OPTS += $(if $(BR2_PACKAGE_PHP_SAPI_FPM),--enable-fpm,--disable-fpm) - -ifeq ($(BR2_PACKAGE_PHP_SAPI_APACHE),y) -PHP_DEPENDENCIES += apache -PHP_CONF_OPTS += --with-apxs2=$(STAGING_DIR)/usr/bin/apxs - -# Enable thread safety option if Apache MPM is event or worker -ifeq ($(BR2_PACKAGE_APACHE_MPM_EVENT)$(BR2_PACKAGE_APACHE_MPM_WORKER),y) -PHP_CONF_OPTS += --enable-maintainer-zts -endif -endif - -### Extensions -PHP_CONF_OPTS += \ - $(if $(BR2_PACKAGE_PHP_EXT_SOCKETS),--enable-sockets) \ - $(if $(BR2_PACKAGE_PHP_EXT_POSIX),--enable-posix) \ - $(if $(BR2_PACKAGE_PHP_EXT_SESSION),--enable-session) \ - $(if $(BR2_PACKAGE_PHP_EXT_DOM),--enable-dom) \ - $(if $(BR2_PACKAGE_PHP_EXT_SIMPLEXML),--enable-simplexml) \ - $(if $(BR2_PACKAGE_PHP_EXT_SOAP),--enable-soap) \ - $(if $(BR2_PACKAGE_PHP_EXT_XML),--enable-xml) \ - $(if $(BR2_PACKAGE_PHP_EXT_XMLREADER),--enable-xmlreader) \ - $(if $(BR2_PACKAGE_PHP_EXT_XMLWRITER),--enable-xmlwriter) \ - $(if $(BR2_PACKAGE_PHP_EXT_EXIF),--enable-exif) \ - $(if $(BR2_PACKAGE_PHP_EXT_FTP),--enable-ftp) \ - $(if $(BR2_PACKAGE_PHP_EXT_JSON),--enable-json) \ - $(if $(BR2_PACKAGE_PHP_EXT_TOKENIZER),--enable-tokenizer) \ - $(if $(BR2_PACKAGE_PHP_EXT_PCNTL),--enable-pcntl) \ - $(if $(BR2_PACKAGE_PHP_EXT_SHMOP),--enable-shmop) \ - $(if $(BR2_PACKAGE_PHP_EXT_SYSVMSG),--enable-sysvmsg) \ - $(if $(BR2_PACKAGE_PHP_EXT_SYSVSEM),--enable-sysvsem) \ - $(if $(BR2_PACKAGE_PHP_EXT_SYSVSHM),--enable-sysvshm) \ - $(if $(BR2_PACKAGE_PHP_EXT_ZIP),--with-zip) \ - $(if $(BR2_PACKAGE_PHP_EXT_CTYPE),--enable-ctype) \ - $(if $(BR2_PACKAGE_PHP_EXT_FILTER),--enable-filter) \ - $(if $(BR2_PACKAGE_PHP_EXT_CALENDAR),--enable-calendar) \ - $(if $(BR2_PACKAGE_PHP_EXT_FILEINFO),--enable-fileinfo) \ - $(if $(BR2_PACKAGE_PHP_EXT_BCMATH),--enable-bcmath) \ - $(if $(BR2_PACKAGE_PHP_EXT_PHAR),--enable-phar) - -ifeq ($(BR2_PACKAGE_PHP_EXT_LIBARGON2),y) -PHP_CONF_OPTS += --with-password-argon2=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += libargon2 -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_LIBSODIUM),y) -PHP_CONF_OPTS += --with-sodium=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += libsodium -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_MBSTRING),y) -PHP_CONF_OPTS += --enable-mbstring -PHP_DEPENDENCIES += oniguruma -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_MCRYPT),y) -PHP_CONF_OPTS += --with-mcrypt=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += libmcrypt -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_OPENSSL),y) -PHP_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += openssl -# openssl needs zlib, but the configure script forgets to link against -# it causing detection failures with static linking -PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y) -PHP_CONF_ENV += php_cv_libxml_build_works=yes -PHP_CONF_OPTS += --with-libxml -PHP_DEPENDENCIES += libxml2 -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_WDDX),y) -PHP_CONF_OPTS += --enable-wddx --with-libexpat-dir=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += expat -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_XMLRPC),y) -PHP_CONF_OPTS += \ - --with-xmlrpc \ - $(if $(BR2_PACKAGE_LIBICONV),--with-iconv-dir=$(STAGING_DIR)/usr) -PHP_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_ZIP),y) -PHP_DEPENDENCIES += libzip -endif - -ifneq ($(BR2_PACKAGE_PHP_EXT_ZLIB)$(BR2_PACKAGE_PHP_EXT_ZIP),) -PHP_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += zlib -else -PHP_CONF_OPTS += --disable-mysqlnd_compression_support -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_GETTEXT),y) -PHP_CONF_OPTS += --with-gettext=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_ICONV),y) -ifeq ($(BR2_PACKAGE_LIBICONV),y) -PHP_CONF_OPTS += --with-iconv=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += libiconv -else -PHP_CONF_OPTS += --with-iconv -endif -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_INTL),y) -PHP_CONF_OPTS += --enable-intl --with-icu-dir=$(STAGING_DIR)/usr -PHP_CXXFLAGS += "`$(STAGING_DIR)/usr/bin/icu-config --cxxflags`" -PHP_DEPENDENCIES += icu -# The intl module is implemented in C++, but PHP fails to use -# g++ as the compiler for the final link. As a workaround, -# tell it to link libstdc++. -PHP_EXTRA_LIBS += -lstdc++ -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_GMP),y) -PHP_CONF_OPTS += --with-gmp=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += gmp -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_READLINE),y) -PHP_CONF_OPTS += --with-readline=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += readline -endif - -### Native SQL extensions -ifeq ($(BR2_PACKAGE_PHP_EXT_MYSQLI),y) -PHP_CONF_OPTS += --with-mysqli -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_PGSQL),y) -PHP_CONF_OPTS += --with-pgsql=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += postgresql -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y) -PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += sqlite -PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs sqlite3` -endif - -### PDO -ifeq ($(BR2_PACKAGE_PHP_EXT_PDO),y) -PHP_CONF_OPTS += --enable-pdo -ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_SQLITE),y) -PHP_CONF_OPTS += --with-pdo-sqlite=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += sqlite -PHP_CFLAGS += -DSQLITE_OMIT_LOAD_EXTENSION -endif -ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),y) -PHP_CONF_OPTS += --with-pdo-mysql -endif -ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL),y) -PHP_CONF_OPTS += --with-pdo-pgsql=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += postgresql -endif -ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC),y) -PHP_CONF_OPTS += --with-pdo-odbc=unixODBC,$(STAGING_DIR)/usr -PHP_DEPENDENCIES += unixodbc -endif -endif - -ifneq ($(BR2_PACKAGE_PHP_EXT_MYSQLI)$(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),) -# Set default MySQL unix socket to what the MySQL server is using by default -PHP_CONF_OPTS += --with-mysql-sock=$(MYSQL_SOCKET) -endif - -define PHP_DISABLE_VALGRIND - $(SED) '/^#define HAVE_VALGRIND/d' $(@D)/main/php_config.h -endef -PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND - -ifeq ($(BR2_PACKAGE_PCRE2_JIT),y) -PHP_CONF_OPTS += --with-pcre-jit=yes -PHP_CONF_ENV += ac_cv_have_pcre2_jit=yes -else -PHP_CONF_OPTS += --with-pcre-jit=no -PHP_CONF_ENV += ac_cv_have_pcre2_jit=no -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_CURL),y) -PHP_CONF_OPTS += --with-curl -PHP_DEPENDENCIES += libcurl -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_XSL),y) -PHP_CONF_OPTS += --with-xsl=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += libxslt -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_BZIP2),y) -PHP_CONF_OPTS += --with-bz2=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += bzip2 -endif - -### DBA -ifeq ($(BR2_PACKAGE_PHP_EXT_DBA),y) -PHP_CONF_OPTS += --enable-dba -ifneq ($(BR2_PACKAGE_PHP_EXT_DBA_CDB),y) -PHP_CONF_OPTS += --without-cdb -endif -ifneq ($(BR2_PACKAGE_PHP_EXT_DBA_FLAT),y) -PHP_CONF_OPTS += --without-flatfile -endif -ifneq ($(BR2_PACKAGE_PHP_EXT_DBA_INI),y) -PHP_CONF_OPTS += --without-inifile -endif -ifeq ($(BR2_PACKAGE_PHP_EXT_DBA_DB4),y) -PHP_CONF_OPTS += --with-db4=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += berkeleydb -endif -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_SNMP),y) -PHP_CONF_OPTS += --with-snmp=$(STAGING_DIR)/usr -PHP_DEPENDENCIES += netsnmp -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_GD),y) -PHP_CONF_OPTS += \ - --enable-gd \ - --with-jpeg \ - --with-freetype -PHP_DEPENDENCIES += jpeg libpng freetype zlib -endif - -ifeq ($(BR2_PACKAGE_PHP_EXT_FFI),y) -PHP_CONF_OPTS += --with-ffi -PHP_DEPENDENCIES += libffi -endif - -ifeq ($(BR2_PACKAGE_PHP_SAPI_FPM),y) -define PHP_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(@D)/sapi/fpm/init.d.php-fpm \ - $(TARGET_DIR)/etc/init.d/S49php-fpm -endef - -define PHP_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(@D)/sapi/fpm/php-fpm.service \ - $(TARGET_DIR)/usr/lib/systemd/system/php-fpm.service -endef - -define PHP_INSTALL_FPM_CONF - $(INSTALL) -D -m 0644 package/php/php-fpm.conf \ - $(TARGET_DIR)/etc/php-fpm.conf - rm -f $(TARGET_DIR)/etc/php-fpm.d/www.conf.default - # remove unused sample status page /usr/php/php/fpm/status.html - rm -rf $(TARGET_DIR)/usr/php -endef - -PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FPM_CONF -endif - -define PHP_EXTENSIONS_FIXUP - $(SED) "/prefix/ s:/usr:$(STAGING_DIR)/usr:" \ - $(STAGING_DIR)/usr/bin/phpize - $(SED) "/extension_dir/ s:/usr:$(TARGET_DIR)/usr:" \ - $(STAGING_DIR)/usr/bin/php-config -endef - -PHP_POST_INSTALL_TARGET_HOOKS += PHP_EXTENSIONS_FIXUP - -define PHP_INSTALL_FIXUP - rm -rf $(TARGET_DIR)/usr/lib/php/build - rm -f $(TARGET_DIR)/usr/bin/phpize - $(INSTALL) -D -m 0755 $(PHP_DIR)/php.ini-production \ - $(TARGET_DIR)/etc/php.ini - $(SED) 's%;date.timezone =.*%date.timezone = $(PHP_LOCALTIME)%' \ - $(TARGET_DIR)/etc/php.ini - $(if $(BR2_PACKAGE_PHP_EXT_OPCACHE), - $(SED) '/;extension=php_xsl.dll/azend_extension=opcache.so' \ - $(TARGET_DIR)/etc/php.ini) -endef - -PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FIXUP - -PHP_CONF_ENV += CFLAGS="$(PHP_CFLAGS)" CXXFLAGS="$(PHP_CXXFLAGS)" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pinentry/Config.in b/buildroot-2021.05/package/pinentry/Config.in deleted file mode 100644 index 684e4eed..00000000 --- a/buildroot-2021.05/package/pinentry/Config.in +++ /dev/null @@ -1,91 +0,0 @@ -menuconfig BR2_PACKAGE_PINENTRY - bool "pinentry" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error - depends on BR2_USE_MMU # libassuan - select BR2_PACKAGE_LIBASSUAN - select BR2_PACKAGE_LIBGPG_ERROR - # At least one backend is needed to avoid build breakage - select BR2_PACKAGE_PINENTRY_NCURSES if \ - !BR2_PACKAGE_PINENTRY_GTK2 && \ - !BR2_PACKAGE_PINENTRY_QT5 - help - A collection of simple PIN or pass-phrase entry dialogs - - https://www.gnupg.org/related_software/pinentry/ - -if BR2_PACKAGE_PINENTRY - -config BR2_PACKAGE_PINENTRY_EFL - bool "pinentry-efl" - depends on BR2_PACKAGE_EFL - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_EFL_X_XLIB - help - The pinentry-efl tool - -comment "pinentry-efl needs efl and X" - depends on !BR2_PACKAGE_EFL || !BR2_PACKAGE_XORG7 - -config BR2_PACKAGE_PINENTRY_FLTK - bool "pinentry-fltk" - depends on BR2_USE_MMU # fltk - depends on BR2_INSTALL_LIBSTDCPP # fltk - depends on BR2_PACKAGE_XORG7 # fltk - select BR2_PACKAGE_FLTK - help - The pinentry-fltk tool - -comment "pinentry-fltk needs X and a toolchain w/ C++" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_XORG7 || !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_PINENTRY_NCURSES - bool "pinentry-ncurses" - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - The pinentry-ncurses tool - -config BR2_PACKAGE_PINENTRY_GTK2 - bool "pinentry-gtk2" - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2 -> pango -> harfbuzz - select BR2_PACKAGE_LIBGTK2 - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - The pinentry-gtk2 tool - -comment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++, gcc >= 4.8" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_PINENTRY_QT5 - bool "pinentry-qt5" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_HOST_GCC_AT_LEAST_5 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 - depends on !BR2_arc - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_QT5 - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_QT5BASE_WIDGETS - help - The pinentry-qt5 tool - -comment "pinentry-qt5 needs a host gcc >= 5.0, and a toolchain w/ wchar, NPTL, gcc >= 5.0, C++, dynamic library" - depends on !BR2_arc - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \ - BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_5 - -endif diff --git a/buildroot-2021.05/package/pipewire/0001-meson-prefer-libintl-on-FreeBSD.patch b/buildroot-2021.05/package/pipewire/0001-meson-prefer-libintl-on-FreeBSD.patch deleted file mode 100644 index b19715b2..00000000 --- a/buildroot-2021.05/package/pipewire/0001-meson-prefer-libintl-on-FreeBSD.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 4d064a37183a0bf8198914dd68b063b2c9def17e Mon Sep 17 00:00:00 2001 -From: Evgeniy Khramtsov -Date: Fri, 23 Apr 2021 22:57:51 +0300 -Subject: [PATCH] meson: prefer libintl on FreeBSD - -FreeBSD does not have gettext in libc. -It is implemented in the third-party library. - -[Retrieved from: -https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/4d064a37183a0bf8198914dd68b063b2c9def17e] -Signed-off-by: Fabrice Fontaine ---- - meson.build | 3 +++ - src/pipewire/meson.build | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 99a4b2d1c..0a9963fbb 100644 ---- a/meson.build -+++ b/meson.build -@@ -351,6 +351,9 @@ libinotify_dep = (build_machine.system() == 'freebsd' - ? dependency('libinotify', required: true) - : dependency('', required: false)) - -+# On FreeBSD, libintl library is required for gettext -+libintl_dep = cc.find_library('intl', required: false) -+ - alsa_dep = dependency('alsa', version : '>=1.1.7', required: get_option('pipewire-alsa')) - - installed_tests_metadir = pipewire_datadir / 'installed-tests' / pipewire_name -diff --git a/src/pipewire/meson.build b/src/pipewire/meson.build -index 7f2d42a7a..d4c271373 100644 ---- a/src/pipewire/meson.build -+++ b/src/pipewire/meson.build -@@ -101,7 +101,7 @@ libpipewire = shared_library(pipewire_name, pipewire_sources, - c_args : libpipewire_c_args, - include_directories : [pipewire_inc, configinc, spa_inc], - install : true, -- dependencies : [dl_lib, mathlib, pthread_lib, ], -+ dependencies : [dl_lib, mathlib, pthread_lib, libintl_dep, ], - ) - - pipewire_dep = declare_dependency(link_with : libpipewire, --- -GitLab - diff --git a/buildroot-2021.05/package/pipewire/0002-meson.build-fix-build-with-uclibc-ng.patch b/buildroot-2021.05/package/pipewire/0002-meson.build-fix-build-with-uclibc-ng.patch deleted file mode 100644 index 36b14d3f..00000000 --- a/buildroot-2021.05/package/pipewire/0002-meson.build-fix-build-with-uclibc-ng.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 8f1de87381d270a8f4e5927187ae0466a9c9504a Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 4 May 2021 22:56:54 +0200 -Subject: [PATCH] meson.build: fix build with uclibc-ng - -Build with uclib-ng fails since commit -a4b0b9afe5a782a7f4a8fe153ecf51bcb0180ae3 on: - -FAILED: src/pipewire/libpipewire-0.3.so.0.326.0.p/impl-core.c.o -/srv/storage/autobuild/run/instance-2/output-1/host/bin/mips64el-linux-gcc -Isrc/pipewire/libpipewire-0.3.so.0.326.0.p -Isrc/pipewire -I../src/pipewire -Isrc -I../src -I. -I.. -Ispa/include -I../spa/include -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Wextra -Wpedantic -std=gnu99 -O3 -fvisibility=hidden -Werror=suggest-attribute=format -Wsign-compare -Wpointer-arith -Wpointer-sign -Wformat -Wformat-security -Wimplicit-fallthrough -Wmissing-braces -Wtype-limits -Wvariadic-macros -Wno-missing-field-initializers -Wno-unused-parameter -Wno-pedantic -Wold-style-declaration -Wunused-result -DFASTPATH -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -pthread -DHAVE_CONFIG_H -D_GNU_SOURCE -D_POSIX_C_SOURCE -MD -MQ src/pipewire/libpipewire-0.3.so.0.326.0.p/impl-core.c.o -MF src/pipewire/libpipewire-0.3.so.0.326.0.p/impl-core.c.o.d -o src/pipewire/libpipewire-0.3.so.0.326.0.p/impl-core.c.o -c ../src/pipewire/impl-core.c -../src/pipewire/impl-core.c:54:9: error: conflicting types for 'getrandom' - ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) { - ^~~~~~~~~ -In file included from ../src/pipewire/impl-core.c:34: -/srv/storage/autobuild/run/instance-2/output-1/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:28:12: note: previous declaration of 'getrandom' was here - extern int getrandom(void *__buf, size_t count, unsigned int flags) - ^~~~~~~~~ - -Fix this build failure by adding -D_GNU_SOURCE as getrandom is protected -by: - -if defined __UCLIBC_LINUX_SPECIFIC__ && defined __USE_GNU - -Extracted from: - - https://github.com/wbx-github/uclibc-ng/blob/master/libc/sysdeps/linux/common/sys/random.h - -Fixes: - - http://autobuild.buildroot.org/results/a45f0ee009d90cef867dee4b1093225610fa10df - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/649] ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 0a9963fb..11b63c08 100644 ---- a/meson.build -+++ b/meson.build -@@ -274,7 +274,7 @@ if cc.has_function('memfd_create', prefix : '#include ', args : [ '- - cdata.set('HAVE_MEMFD_CREATE', 1) - endif - --if cc.has_function('getrandom', prefix : '#include ') -+if cc.has_function('getrandom', prefix : '#include ', args : [ '-D_GNU_SOURCE' ]) - cdata.set('HAVE_GETRANDOM', 1) - endif - --- -2.30.2 - diff --git a/buildroot-2021.05/package/pipewire/0003-fix-linking-with-latomic.patch b/buildroot-2021.05/package/pipewire/0003-fix-linking-with-latomic.patch deleted file mode 100644 index 77132173..00000000 --- a/buildroot-2021.05/package/pipewire/0003-fix-linking-with-latomic.patch +++ /dev/null @@ -1,108 +0,0 @@ -From 5068aa54bde4e40d6faa8de43d93216bc3001a3e Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 21 May 2021 07:47:46 +0200 -Subject: [PATCH] fix linking with -latomic - -Linking with -latomic has been added to pipewire-jack since -https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b8c58c74d835ee2918f9e391abd65f9e0132bdb4 - -However, this is not the right place to add this dependency, atomic_dep -should be added to pipewire_dep to avoid the following build failure: - -/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/pipewire/libpipewire-0.3.so.0.326.0.p/filter.c.o: in function `impl_node_process': -filter.c:(.text+0xf28): undefined reference to `__atomic_fetch_add_4' - -Indeed, atomic operation such as __atomic_fetch_add is used in libcamera -as well as in ./spa/plugins/libcamera/libcamera_wrapper.cpp, -./spa/include/spa/utils/ringbuffer.h and ./spa/include/spa/graph/graph.h - -Fixes: - - http://autobuild.buildroot.org/results/b5305e8e7dd1a5e8bfaba72b06251056ba7d1af1 - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.freedesktop.org/pipewire/pipewire/-/merge_requests/689] ---- - meson.build | 11 +++++------ - pipewire-jack/src/meson.build | 4 ++-- - src/pipewire/meson.build | 4 ++-- - 3 files changed, 9 insertions(+), 10 deletions(-) - -diff --git a/meson.build b/meson.build -index b6b4553b..1308373a 100644 ---- a/meson.build -+++ b/meson.build -@@ -157,7 +157,7 @@ test_8_byte_atomic = ''' - int main(void) - { - int64_t eight; -- __atomic_store_n(&eight, 123, __ATOMIC_SEQ_CST); -+ __atomic_fetch_add(&eight, 123, __ATOMIC_SEQ_CST); - return 0; - } - ''' -@@ -166,16 +166,15 @@ int main(void) - # operations on any reasonable architecture. - if cc.links( - test_8_byte_atomic, -- name : '8-byte __atomic_store_n without libatomic') -+ name : '8-byte __atomic_fetch_add without libatomic') - atomic_dep = dependency('', required: false) - elif cc.links( - test_8_byte_atomic, - dependencies : libatomic, -- name : '8-byte __atomic_store_n with libatomic') -+ name : '8-byte __atomic_fetch_add with libatomic') - atomic_dep = libatomic --elif get_option('pipewire-jack').enabled() -- # Currently only required for the JACK backend -- error('8-byte atomic operations are required for pipewire-jack') -+else -+ error('8-byte atomic operations are required') - endif - - cdata = configuration_data() -diff --git a/pipewire-jack/src/meson.build b/pipewire-jack/src/meson.build -index 83e340ba..386abc7f 100644 ---- a/pipewire-jack/src/meson.build -+++ b/pipewire-jack/src/meson.build -@@ -42,7 +42,7 @@ pipewire_jack = shared_library('jack', - version : libversion, - c_args : pipewire_jack_c_args, - include_directories : [configinc, jack_inc], -- dependencies : [pipewire_dep, atomic_dep, mathlib], -+ dependencies : [pipewire_dep, mathlib], - install : true, - install_dir : libjack_path, - ) -@@ -53,7 +53,7 @@ pipewire_jackserver = shared_library('jackserver', - version : libversion, - c_args : pipewire_jack_c_args, - include_directories : [configinc, jack_inc], -- dependencies : [pipewire_dep, atomic_dep, mathlib], -+ dependencies : [pipewire_dep, mathlib], - install : true, - install_dir : libjack_path, - ) -diff --git a/src/pipewire/meson.build b/src/pipewire/meson.build -index e80f3633..0fa6643a 100644 ---- a/src/pipewire/meson.build -+++ b/src/pipewire/meson.build -@@ -102,12 +102,12 @@ libpipewire = shared_library(pipewire_name, pipewire_sources, - c_args : libpipewire_c_args, - include_directories : [pipewire_inc, configinc, spa_inc], - install : true, -- dependencies : [dl_lib, mathlib, pthread_lib, libintl_dep, ], -+ dependencies : [dl_lib, mathlib, pthread_lib, libintl_dep, atomic_dep, ], - ) - - pipewire_dep = declare_dependency(link_with : libpipewire, - include_directories : [pipewire_inc, configinc, spa_inc], -- dependencies : [pthread_lib, ], -+ dependencies : [pthread_lib, atomic_dep, ], - ) - - pkgconfig.generate(filebase : 'lib@0@'.format(pipewire_name), --- -2.30.2 - diff --git a/buildroot-2021.05/package/pipewire/Config.in b/buildroot-2021.05/package/pipewire/Config.in deleted file mode 100644 index b6809c22..00000000 --- a/buildroot-2021.05/package/pipewire/Config.in +++ /dev/null @@ -1,47 +0,0 @@ -config BR2_PACKAGE_PIPEWIRE - bool "pipewire" - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS # dbus - depends on BR2_USE_MMU # dbus - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 - select BR2_PACKAGE_DBUS - help - PipeWire is a server and user space API to deal with - multimedia pipelines. - - https://pipewire.org/ - -if BR2_PACKAGE_PIPEWIRE - -config BR2_PACKAGE_PIPEWIRE_GSTREAMER - bool "pipewire gstreamer plugins" - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_MMU # libglib2 - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_GSTREAMER1 - select BR2_PACKAGE_GST1_PLUGINS_BASE - help - Build GStreamer plugins - -comment "pipewire gstreamer support needs a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_PIPEWIRE_V4L2 - bool "pipewire v4l2 plugin" - depends on BR2_PACKAGE_HAS_UDEV - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - help - Build v4l2 plugin - -comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" - depends on !BR2_PACKAGE_HAS_UDEV || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - -endif - -comment "pipewire needs a toolchain w/ dynamic library, threads, gcc >= 5" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2021.05/package/pipewire/pipewire.hash b/buildroot-2021.05/package/pipewire/pipewire.hash deleted file mode 100644 index 4d2548e3..00000000 --- a/buildroot-2021.05/package/pipewire/pipewire.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 05cc9d25de45290c025da5da1b94fc705bddacd93cf3690d0b2988c1ac501ee1 pipewire-0.3.26.tar.gz -sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING -sha256 7db6138b0385e260ae8f09f050ea66c4e4fe775a11060d7f6ca2beb47f192d6f LICENSE diff --git a/buildroot-2021.05/package/pipewire/pipewire.mk b/buildroot-2021.05/package/pipewire/pipewire.mk deleted file mode 100644 index 847798e6..00000000 --- a/buildroot-2021.05/package/pipewire/pipewire.mk +++ /dev/null @@ -1,119 +0,0 @@ -################################################################################ -# -# pipewire -# -################################################################################ - -PIPEWIRE_VERSION = 0.3.26 -PIPEWIRE_SITE = $(call github,PipeWire,pipewire,$(PIPEWIRE_VERSION)) -PIPEWIRE_LICENSE = MIT -PIPEWIRE_LICENSE_FILES = COPYING LICENSE -PIPEWIRE_INSTALL_STAGING = YES -PIPEWIRE_DEPENDENCIES = host-pkgconf dbus $(TARGET_NLS_DEPENDENCIES) - -PIPEWIRE_CONF_OPTS += \ - -Ddocs=disabled \ - -Dexamples=disabled \ - -Dman=disabled \ - -Dtests=disabled \ - -Dspa-plugins=enabled \ - -Daudiomixer=enabled \ - -Daudioconvert=enabled \ - -Dcontrol=enabled \ - -Daudiotestsrc=enabled \ - -Dsupport=enabled \ - -Devl=disabled \ - -Dtest=disabled \ - -Dvideoconvert=enabled \ - -Dvideotestsrc=enabled \ - -Dvolume=enabled - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -PIPEWIRE_CONF_OPTS += -Dudev=enabled -PIPEWIRE_DEPENDENCIES += udev -else -PIPEWIRE_CONF_OPTS += -Dudev=disabled -endif - -ifeq ($(BR2_PACKAGE_PIPEWIRE_GSTREAMER),y) -PIPEWIRE_CONF_OPTS += -Dgstreamer=enabled -PIPEWIRE_DEPENDENCIES += libglib2 gstreamer1 gst1-plugins-base -else -PIPEWIRE_CONF_OPTS += -Dgstreamer=disabled -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -PIPEWIRE_CONF_OPTS += -Dsystemd=enabled -PIPEWIRE_DEPENDENCIES += systemd -else -PIPEWIRE_CONF_OPTS += -Dsystemd=disabled -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -PIPEWIRE_CONF_OPTS += -Dpipewire-alsa=enabled -PIPEWIRE_DEPENDENCIES += alsa-lib -ifeq ($(BR2_PACKAGE_ALSA_LIB_UCM)$(BR2_PACKAGE_HAS_UDEV),yy) -PIPEWIRE_CONF_OPTS += -Dalsa=enabled -else -PIPEWIRE_CONF_OPTS += -Dalsa=disabled -endif -else -PIPEWIRE_CONF_OPTS += -Dalsa=disabled -Dpipewire-alsa=disabled -endif - -ifeq ($(BR2_PACKAGE_JACK2),y) -PIPEWIRE_CONF_OPTS += -Dpipewire-jack=enabled -Djack=enabled -PIPEWIRE_DEPENDENCIES += jack2 -else -PIPEWIRE_CONF_OPTS += -Dpipewire-jack=disabled -Djack=disabled -endif - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS)$(BR2_PACKAGE_SBC),yy) -PIPEWIRE_CONF_OPTS += -Dbluez5=enabled -PIPEWIRE_DEPENDENCIES += bluez5_utils sbc -else -PIPEWIRE_CONF_OPTS += -Dbluez5=disabled -endif - -ifeq ($(BR2_PACKAGE_FFMPEG),y) -PIPEWIRE_CONF_OPTS += -Dffmpeg=enabled -PIPEWIRE_DEPENDENCIES += ffmpeg -else -PIPEWIRE_CONF_OPTS += -Dffmpeg=disabled -endif - -ifeq ($(BR2_PACKAGE_PIPEWIRE_V4L2),y) -PIPEWIRE_CONF_OPTS += -Dv4l2=enabled -else -PIPEWIRE_CONF_OPTS += -Dv4l2=disabled -endif - -ifeq ($(BR2_PACKAGE_LIBCAMERA)$(BR2_PACKAGE_HAS_UDEV),yy) -PIPEWIRE_CONF_OPTS += -Dlibcamera=enabled -PIPEWIRE_DEPENDENCIES += libcamera -else -PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled -endif - -ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),y) -PIPEWIRE_CONF_OPTS += -Dvulkan=enabled -PIPEWIRE_DEPENDENCIES += mesa3d -else -PIPEWIRE_CONF_OPTS += -Dvulkan=disabled -endif - -ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) -PIPEWIRE_CONF_OPTS += -Dpw-cat=enabled -Dsndfile=enabled -PIPEWIRE_DEPENDENCIES += libsndfile -else -PIPEWIRE_CONF_OPTS += -Dpw-cat=disabled -Dsndfile=disabled -endif - -ifeq ($(BR2_PACKAGE_SDL2),y) -PIPEWIRE_DEPENDENCIES += sdl2 -PIPEWIRE_CONF_OPTS += -Dsdl2=enabled -else -PIPEWIRE_CONF_OPTS += -Dsdl2=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/pistache/Config.in b/buildroot-2021.05/package/pistache/Config.in deleted file mode 100644 index 64d63408..00000000 --- a/buildroot-2021.05/package/pistache/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_PISTACHE - bool "pistache" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_TOOLCHAIN_USES_UCLIBC - help - Pistache is a modern and elegant HTTP and REST framework - for C++. It is entirely written in pure C++14 and provides - a clear and pleasant API. - - https://github.com/oktal/pistache - -comment "pistache needs a glibc toolchain w/ C++, gcc >= 4.9, threads, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || \ - BR2_TOOLCHAIN_USES_UCLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/pixman/pixman.mk b/buildroot-2021.05/package/pixman/pixman.mk deleted file mode 100644 index d99005ec..00000000 --- a/buildroot-2021.05/package/pixman/pixman.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# pixman -# -################################################################################ - -PIXMAN_VERSION = 0.40.0 -PIXMAN_SOURCE = pixman-$(PIXMAN_VERSION).tar.xz -PIXMAN_SITE = https://xorg.freedesktop.org/releases/individual/lib -PIXMAN_LICENSE = MIT -PIXMAN_LICENSE_FILES = COPYING -PIXMAN_CPE_ID_VENDOR = pixman - -PIXMAN_INSTALL_STAGING = YES -PIXMAN_DEPENDENCIES = host-pkgconf -HOST_PIXMAN_DEPENDENCIES = host-pkgconf - -# For 0001-Disable-tests.patch -PIXMAN_AUTORECONF = YES - -# don't build gtk based demos -PIXMAN_CONF_OPTS = --disable-gtk - -# The ARM SIMD code from pixman requires a recent enough ARM core, but -# there is a runtime CPU check that makes sure it doesn't get used if -# the HW doesn't support it. The only case where the ARM SIMD code -# cannot be *built* at all is when the platform doesn't support ARM -# instructions at all, so we have to disable that explicitly. -ifeq ($(BR2_ARM_CPU_HAS_ARM),y) -PIXMAN_CONF_OPTS += --enable-arm-simd -else -PIXMAN_CONF_OPTS += --disable-arm-simd -endif - -ifeq ($(BR2_ARM_CPU_HAS_ARM)$(BR2_ARM_CPU_HAS_NEON),yy) -PIXMAN_CONF_OPTS += --enable-arm-neon -else -PIXMAN_CONF_OPTS += --disable-arm-neon -endif - -# disable iwmmxt support for CPU's that don't have -# this feature -ifneq ($(BR2_iwmmxt),y) -PIXMAN_CONF_OPTS += --disable-arm-iwmmxt -endif - -# toolchain gets confused about TLS access through GOT (PIC), so disable TLS -# movhi r4, %got_hiadj(%tls_ldo(fast_path_cache)) -# {standard input}:172: Error: bad expression -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII),y) -PIXMAN_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DPIXMAN_NO_TLS" -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/pkcs11-helper/pkcs11-helper.hash b/buildroot-2021.05/package/pkcs11-helper/pkcs11-helper.hash deleted file mode 100644 index 276ed2e2..00000000 --- a/buildroot-2021.05/package/pkcs11-helper/pkcs11-helper.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed -sha256 e5e2eefeda6c3db3d8862b42b180a6a5b2f41285f35b0ad0d622c6767683fd84 pkcs11-helper-1.26.tar.gz -sha256 808705ac1daafe07a76431929575c5712a8693977a39ec9102aed25f030754d9 COPYING -sha256 865496cf23a6c792739ff2f9ea11e95ac99db89cfe3780a295b4e1495a9c19fe COPYING.BSD -sha256 cd2e7d63a11058f19c58b06fb8c759140ce70788369dce6e6e9db40d3475021e COPYING.GPL diff --git a/buildroot-2021.05/package/pkcs11-helper/pkcs11-helper.mk b/buildroot-2021.05/package/pkcs11-helper/pkcs11-helper.mk deleted file mode 100644 index a651be98..00000000 --- a/buildroot-2021.05/package/pkcs11-helper/pkcs11-helper.mk +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# -# pkcs11-helper -# -################################################################################ - -PKCS11_HELPER_VERSION = 1.26 -PKCS11_HELPER_SITE = $(call github,OpenSC,pkcs11-helper,pkcs11-helper-$(PKCS11_HELPER_VERSION)) -PKCS11_HELPER_LICENSE = GPL-2.0 or BSD-3-Clause -PKCS11_HELPER_LICENSE_FILES = COPYING COPYING.BSD COPYING.GPL -PKCS11_HELPER_DEPENDENCIES = host-pkgconf -PKCS11_HELPER_AUTORECONF = YES -PKCS11_HELPER_INSTALL_STAGING = YES - -PKCS11_HELPER_CONF_OPTS = \ - --disable-crypto-engine-polarssl \ - --disable-crypto-engine-cryptoapi - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -PKCS11_HELPER_CONF_OPTS += --enable-slotevent --enable-threading -else -PKCS11_HELPER_CONF_OPTS += --disable-slotevent --disable-threading -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -PKCS11_HELPER_DEPENDENCIES += gnutls -PKCS11_HELPER_CONF_OPTS += --enable-crypto-engine-gnutls -else -PKCS11_HELPER_CONF_OPTS += --disable-crypto-engine-gnutls -endif - -ifeq ($(BR2_PACKAGE_LIBNSS),y) -PKCS11_HELPER_DEPENDENCIES += libnss -PKCS11_HELPER_CONF_OPTS += --enable-crypto-engine-nss -else -PKCS11_HELPER_CONF_OPTS += --disable-crypto-engine-nss -endif - -ifeq ($(BR2_PACKAGE_MBEDTLS),y) -PKCS11_HELPER_DEPENDENCIES += mbedtls -PKCS11_HELPER_CONF_OPTS += --enable-crypto-engine-mbedtls -else -PKCS11_HELPER_CONF_OPTS += --disable-crypto-engine-mbedtls -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -PKCS11_HELPER_DEPENDENCIES += openssl -PKCS11_HELPER_CONF_OPTS += \ - --enable-openssl \ - --enable-crypto-engine-openssl -else -PKCS11_HELPER_CONF_OPTS += \ - --disable-openssl \ - --disable-crypto-engine-openssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pkg-autotools.mk b/buildroot-2021.05/package/pkg-autotools.mk deleted file mode 100644 index daa688da..00000000 --- a/buildroot-2021.05/package/pkg-autotools.mk +++ /dev/null @@ -1,332 +0,0 @@ -################################################################################ -# Autotools package infrastructure -# -# This file implements an infrastructure that eases development of -# package .mk files for autotools packages. It should be used for all -# packages that use the autotools as their build system. -# -# See the Buildroot documentation for details on the usage of this -# infrastructure -# -# In terms of implementation, this autotools infrastructure requires -# the .mk file to only specify metadata information about the -# package: name, version, download URL, etc. -# -# We still allow the package .mk file to override what the different -# steps are doing, if needed. For example, if _BUILD_CMDS is -# already defined, it is used as the list of commands to perform to -# build the package, instead of the default autotools behaviour. The -# package can also define some post operation hooks. -# -################################################################################ - - -# -# Utility function to upgrade config.sub and config.guess files -# -# argument 1 : directory into which config.guess and config.sub need -# to be updated. Note that config.sub and config.guess are searched -# recursively in this directory. -# -define CONFIG_UPDATE - for file in config.guess config.sub; do \ - for i in $$(find $(1) -name $$file); do \ - cp support/gnuconfig/$$file $$i; \ - done; \ - done -endef - -# This function generates the ac_cv_file_ value for a given -# filename. This is needed to convince configure script doing -# AC_CHECK_FILE() tests that the file actually exists, since such -# tests cannot be done in a cross-compilation context. This function -# takes as argument the path of the file. An example usage is: -# -# FOOBAR_CONF_ENV = \ -# $(call AUTOCONF_AC_CHECK_FILE_VAL,/dev/random)=yes -AUTOCONF_AC_CHECK_FILE_VAL = ac_cv_file_$(subst -,_,$(subst /,_,$(subst .,_,$(1)))) - -# -# Hook to update config.sub and config.guess if needed -# -define UPDATE_CONFIG_HOOK - @$(call MESSAGE,"Updating config.sub and config.guess") - $(call CONFIG_UPDATE,$(@D)) -endef - -# -# Hook to patch libtool to make it work properly for cross-compilation -# -define LIBTOOL_PATCH_HOOK - @$(call MESSAGE,"Patching libtool") - $(Q)for i in `find $($(PKG)_DIR) -name ltmain.sh`; do \ - ltmain_version=`sed -n '/^[ \t]*VERSION=/{s/^[ \t]*VERSION=//;p;q;}' $$i | \ - sed -e 's/\([0-9]*\.[0-9]*\).*/\1/' -e 's/\"//'`; \ - ltmain_patchlevel=`sed -n '/^[ \t]*VERSION=/{s/^[ \t]*VERSION=//;p;q;}' $$i | \ - sed -e 's/\([0-9]*\.[0-9]*\.*\)\([0-9]*\).*/\2/' -e 's/\"//'`; \ - if test $${ltmain_version} = '1.5'; then \ - patch -i support/libtool/buildroot-libtool-v1.5.patch $${i}; \ - elif test $${ltmain_version} = "2.2"; then\ - patch -i support/libtool/buildroot-libtool-v2.2.patch $${i}; \ - elif test $${ltmain_version} = "2.4"; then\ - if test $${ltmain_patchlevel:-0} -gt 2; then\ - patch -i support/libtool/buildroot-libtool-v2.4.4.patch $${i}; \ - else \ - patch -i support/libtool/buildroot-libtool-v2.4.patch $${i}; \ - fi \ - fi \ - done -endef - -# -# Hook to patch common issue with configure on powerpc64{,le} failing -# to detect shared library support: -# -define CONFIGURE_FIX_POWERPC64_HOOK - @$(call MESSAGE,"Checking configure (powerpc64/powerpc64le)") - support/scripts/fix-configure-powerpc64.sh $($(PKG)_DIR) -endef - -# -# Hook to gettextize the package if needed -# -define GETTEXTIZE_HOOK - @$(call MESSAGE,"Gettextizing") - $(Q)cd $($(PKG)_SRCDIR) && $(GETTEXTIZE) $($(PKG)_GETTEXTIZE_OPTS) -endef - -# -# Hook to autoreconf the package if needed -# -define AUTORECONF_HOOK - @$(call MESSAGE,"Autoreconfiguring") - $(Q)cd $($(PKG)_SRCDIR) && $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS) -endef - -################################################################################ -# inner-autotools-package -- defines how the configuration, compilation and -# installation of an autotools package should be done, implements a -# few hooks to tune the build process for autotools specifities and -# calls the generic package infrastructure to generate the necessary -# make targets -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -# argument 3 is the uppercase package name, without the HOST_ prefix -# for host packages -# argument 4 is the type (target or host) -################################################################################ - -define inner-autotools-package - -ifndef $(2)_LIBTOOL_PATCH - ifdef $(3)_LIBTOOL_PATCH - $(2)_LIBTOOL_PATCH = $$($(3)_LIBTOOL_PATCH) - else - $(2)_LIBTOOL_PATCH ?= YES - endif -endif - -ifndef $(2)_MAKE - ifdef $(3)_MAKE - $(2)_MAKE = $$($(3)_MAKE) - else - $(2)_MAKE ?= $$(MAKE) - endif -endif - -ifndef $(2)_AUTORECONF - ifdef $(3)_AUTORECONF - $(2)_AUTORECONF = $$($(3)_AUTORECONF) - else - $(2)_AUTORECONF ?= NO - endif -endif - -ifndef $(2)_GETTEXTIZE - ifdef $(3)_GETTEXTIZE - $(2)_GETTEXTIZE = $$($(3)_GETTEXTIZE) - else - $(2)_GETTEXTIZE ?= NO - endif -endif - -ifeq ($(4),host) - $(2)_GETTEXTIZE_OPTS ?= $$($(3)_GETTEXTIZE_OPTS) -endif - -ifeq ($(4),host) - $(2)_AUTORECONF_OPTS ?= $$($(3)_AUTORECONF_OPTS) -endif - -$(2)_CONF_ENV ?= -$(2)_CONF_OPTS ?= -$(2)_MAKE_ENV ?= -$(2)_MAKE_OPTS ?= -$(2)_INSTALL_OPTS ?= install -$(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install -$(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install - -# -# Configure step. Only define it if not already defined by the package -# .mk file. And take care of the differences between host and target -# packages. -# -ifndef $(2)_CONFIGURE_CMDS -ifeq ($(4),target) - -# Configure package for target -define $(2)_CONFIGURE_CMDS - (cd $$($$(PKG)_SRCDIR) && rm -rf config.cache && \ - $$(TARGET_CONFIGURE_OPTS) \ - $$(TARGET_CONFIGURE_ARGS) \ - $$($$(PKG)_CONF_ENV) \ - CONFIG_SITE=/dev/null \ - ./configure \ - --target=$$(GNU_TARGET_NAME) \ - --host=$$(GNU_TARGET_NAME) \ - --build=$$(GNU_HOST_NAME) \ - --prefix=/usr \ - --exec-prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --program-prefix="" \ - --disable-gtk-doc \ - --disable-gtk-doc-html \ - --disable-doc \ - --disable-docs \ - --disable-documentation \ - --with-xmlto=no \ - --with-fop=no \ - $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ - --enable-ipv6 \ - $$(NLS_OPTS) \ - $$(SHARED_STATIC_LIBS_OPTS) \ - $$(QUIET) $$($$(PKG)_CONF_OPTS) \ - ) -endef -else - -# Configure package for host -# disable all kind of documentation generation in the process, -# because it often relies on host tools which may or may not be -# installed. -define $(2)_CONFIGURE_CMDS - (cd $$($$(PKG)_SRCDIR) && rm -rf config.cache; \ - $$(HOST_CONFIGURE_OPTS) \ - CFLAGS="$$(HOST_CFLAGS)" \ - LDFLAGS="$$(HOST_LDFLAGS)" \ - $$($$(PKG)_CONF_ENV) \ - CONFIG_SITE=/dev/null \ - ./configure \ - --prefix="$$(HOST_DIR)" \ - --sysconfdir="$$(HOST_DIR)/etc" \ - --localstatedir="$$(HOST_DIR)/var" \ - --enable-shared --disable-static \ - --disable-gtk-doc \ - --disable-gtk-doc-html \ - --disable-doc \ - --disable-docs \ - --disable-documentation \ - --disable-debug \ - --with-xmlto=no \ - --with-fop=no \ - --disable-nls \ - $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ - $$(QUIET) $$($$(PKG)_CONF_OPTS) \ - ) -endef -endif -endif - -$(2)_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK - -ifeq ($$($(2)_AUTORECONF),YES) - -# This has to come before autoreconf -ifeq ($$($(2)_GETTEXTIZE),YES) -$(2)_PRE_CONFIGURE_HOOKS += GETTEXTIZE_HOOK -$(2)_DEPENDENCIES += host-gettext -endif -$(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK -# default values are not evaluated yet, so don't rely on this defaulting to YES -ifneq ($$($(2)_LIBTOOL_PATCH),NO) -$(2)_PRE_CONFIGURE_HOOKS += LIBTOOL_PATCH_HOOK -endif -$(2)_DEPENDENCIES += host-automake host-autoconf host-libtool - -else # ! AUTORECONF = YES - -# default values are not evaluated yet, so don't rely on this defaulting to YES -ifneq ($$($(2)_LIBTOOL_PATCH),NO) -$(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK -endif - -endif - -# Append a configure hook if building for a powerpc64 (or powerpc64le) arch. -# Must be added after other pre-configure hooks that might regenerate the -# configure script and overwrite the changes made here. -ifneq ($$(filter powerpc64%,$$(if $$(filter target,$(4)),$$(ARCH),$$(HOSTARCH))),) -$(2)_PRE_CONFIGURE_HOOKS += CONFIGURE_FIX_POWERPC64_HOOK -endif - -# -# Build step. Only define it if not already defined by the package .mk -# file. -# -ifndef $(2)_BUILD_CMDS -ifeq ($(4),target) -define $(2)_BUILD_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) -C $$($$(PKG)_SRCDIR) -endef -else -define $(2)_BUILD_CMDS - $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) -C $$($$(PKG)_SRCDIR) -endef -endif -endif - -# -# Host installation step. Only define it if not already defined by the -# package .mk file. -# -ifndef $(2)_INSTALL_CMDS -define $(2)_INSTALL_CMDS - $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_OPTS) -C $$($$(PKG)_SRCDIR) -endef -endif - -# -# Staging installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_STAGING_CMDS -define $(2)_INSTALL_STAGING_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_STAGING_OPTS) -C $$($$(PKG)_SRCDIR) -endef -endif - -# -# Target installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_TARGET_CMDS -define $(2)_INSTALL_TARGET_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_TARGET_OPTS) -C $$($$(PKG)_SRCDIR) -endef -endif - -# Call the generic package infrastructure to generate the necessary -# make targets -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -endef - -################################################################################ -# autotools-package -- the target generator macro for autotools packages -################################################################################ - -autotools-package = $(call inner-autotools-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) -host-autotools-package = $(call inner-autotools-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) diff --git a/buildroot-2021.05/package/pkg-cmake.mk b/buildroot-2021.05/package/pkg-cmake.mk deleted file mode 100644 index 37078f3c..00000000 --- a/buildroot-2021.05/package/pkg-cmake.mk +++ /dev/null @@ -1,276 +0,0 @@ -################################################################################ -# CMake package infrastructure -# -# This file implements an infrastructure that eases development of -# package .mk files for CMake packages. It should be used for all -# packages that use CMake as their build system. -# -# See the Buildroot documentation for details on the usage of this -# infrastructure -# -# In terms of implementation, this CMake infrastructure requires -# the .mk file to only specify metadata information about the -# package: name, version, download URL, etc. -# -# We still allow the package .mk file to override what the different -# steps are doing, if needed. For example, if _BUILD_CMDS is -# already defined, it is used as the list of commands to perform to -# build the package, instead of the default CMake behaviour. The -# package can also define some post operation hooks. -# -################################################################################ - -# Set compiler variables. -ifeq ($(BR2_CCACHE),y) -CMAKE_HOST_C_COMPILER = $(HOSTCC_NOCCACHE) -CMAKE_HOST_CXX_COMPILER = $(HOSTCXX_NOCCACHE) -CMAKE_HOST_C_COMPILER_LAUNCHER = $(HOST_DIR)/bin/ccache -CMAKE_HOST_CXX_COMPILER_LAUNCHER = $(HOST_DIR)/bin/ccache -else -CMAKE_HOST_C_COMPILER = $(HOSTCC) -CMAKE_HOST_CXX_COMPILER = $(HOSTCXX) -endif - -ifneq ($(QUIET),) -CMAKE_QUIET = -DCMAKE_RULE_MESSAGES=OFF -DCMAKE_INSTALL_MESSAGE=NEVER -endif - -################################################################################ -# inner-cmake-package -- defines how the configuration, compilation and -# installation of a CMake package should be done, implements a few hooks to -# tune the build process and calls the generic package infrastructure to -# generate the necessary make targets -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -# argument 3 is the uppercase package name, without the HOST_ prefix -# for host packages -# argument 4 is the type (target or host) -################################################################################ - -define inner-cmake-package - -$(2)_CONF_ENV ?= -$(2)_CONF_OPTS ?= -$(2)_MAKE ?= $$(MAKE) -$(2)_MAKE_ENV ?= -$(2)_MAKE_OPTS ?= -$(2)_INSTALL_OPTS ?= install -$(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install/fast -$(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install/fast - -$(3)_SUPPORTS_IN_SOURCE_BUILD ?= YES - - -ifeq ($$($(3)_SUPPORTS_IN_SOURCE_BUILD),YES) -$(2)_BUILDDIR = $$($(2)_SRCDIR) -else -$(2)_BUILDDIR = $$($(2)_SRCDIR)/buildroot-build -endif - -# -# Configure step. Only define it if not already defined by the package -# .mk file. And take care of the differences between host and target -# packages. -# -ifndef $(2)_CONFIGURE_CMDS -ifeq ($(4),target) - -# Configure package for target -# -# - We are passing BUILD_SHARED_LIBS because it is documented as a -# standard CMake variable to control the build of shared libraries -# (see https://cmake.org/cmake/help/v3.8/manual/cmake-variables.7.html#variables-that-change-behavior) -# - We are not passing BUILD_STATIC_LIBS because it is *not* -# documented as a standard CMake variable. If a package supports it, -# it must handle it explicitly. -# -define $(2)_CONFIGURE_CMDS - (mkdir -p $$($$(PKG)_BUILDDIR) && \ - cd $$($$(PKG)_BUILDDIR) && \ - rm -f CMakeCache.txt && \ - PATH=$$(BR_PATH) \ - $$($$(PKG)_CONF_ENV) $$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \ - -DCMAKE_TOOLCHAIN_FILE="$$(HOST_DIR)/share/buildroot/toolchainfile.cmake" \ - -DCMAKE_INSTALL_PREFIX="/usr" \ - -DCMAKE_COLOR_MAKEFILE=OFF \ - -DBUILD_DOC=OFF \ - -DBUILD_DOCS=OFF \ - -DBUILD_EXAMPLE=OFF \ - -DBUILD_EXAMPLES=OFF \ - -DBUILD_TEST=OFF \ - -DBUILD_TESTS=OFF \ - -DBUILD_TESTING=OFF \ - -DBUILD_SHARED_LIBS=$$(if $$(BR2_STATIC_LIBS),OFF,ON) \ - $$(CMAKE_QUIET) \ - $$($$(PKG)_CONF_OPTS) \ - ) -endef -else - -# Configure package for host -define $(2)_CONFIGURE_CMDS - (mkdir -p $$($$(PKG)_BUILDDIR) && \ - cd $$($$(PKG)_BUILDDIR) && \ - rm -f CMakeCache.txt && \ - PATH=$$(BR_PATH) \ - PKG_CONFIG="$$(PKG_CONFIG_HOST_BINARY)" \ - PKG_CONFIG_SYSROOT_DIR="/" \ - PKG_CONFIG_LIBDIR="$$(HOST_DIR)/lib/pkgconfig:$$(HOST_DIR)/share/pkgconfig" \ - PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ - PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ - $$($$(PKG)_CONF_ENV) $$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \ - -DCMAKE_INSTALL_SO_NO_EXE=0 \ - -DCMAKE_FIND_ROOT_PATH="$$(HOST_DIR)" \ - -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="BOTH" \ - -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="BOTH" \ - -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH" \ - -DCMAKE_INSTALL_PREFIX="$$(HOST_DIR)" \ - -DCMAKE_C_FLAGS="$$(HOST_CFLAGS)" \ - -DCMAKE_CXX_FLAGS="$$(HOST_CXXFLAGS)" \ - -DCMAKE_EXE_LINKER_FLAGS="$$(HOST_LDFLAGS)" \ - -DCMAKE_SHARED_LINKER_FLAGS="$$(HOST_LDFLAGS)" \ - -DCMAKE_ASM_COMPILER="$$(HOSTAS)" \ - -DCMAKE_C_COMPILER="$$(CMAKE_HOST_C_COMPILER)" \ - -DCMAKE_CXX_COMPILER="$$(CMAKE_HOST_CXX_COMPILER)" \ - $(if $$(CMAKE_HOST_C_COMPILER_LAUNCHER),\ - -DCMAKE_C_COMPILER_LAUNCHER="$$(CMAKE_HOST_C_COMPILER_LAUNCHER)" \ - -DCMAKE_CXX_COMPILER_LAUNCHER="$$(CMAKE_HOST_CXX_COMPILER_LAUNCHER)" \ - ) \ - -DCMAKE_COLOR_MAKEFILE=OFF \ - -DBUILD_DOC=OFF \ - -DBUILD_DOCS=OFF \ - -DBUILD_EXAMPLE=OFF \ - -DBUILD_EXAMPLES=OFF \ - -DBUILD_TEST=OFF \ - -DBUILD_TESTS=OFF \ - -DBUILD_TESTING=OFF \ - -DBUILD_SHARED_LIBS=ON \ - $$(CMAKE_QUIET) \ - $$($$(PKG)_CONF_OPTS) \ - ) -endef -endif -endif - -# Since some CMake modules (even upstream ones) use pgk_check_modules -# primitives to find {C,LD}FLAGS, add it to the dependency list. -$(2)_DEPENDENCIES += host-pkgconf - -$(2)_DEPENDENCIES += $(BR2_CMAKE_HOST_DEPENDENCY) - -# -# Build step. Only define it if not already defined by the package .mk -# file. -# -ifndef $(2)_BUILD_CMDS -ifeq ($(4),target) -define $(2)_BUILD_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) -C $$($$(PKG)_BUILDDIR) -endef -else -define $(2)_BUILD_CMDS - $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) -C $$($$(PKG)_BUILDDIR) -endef -endif -endif - -# -# Host installation step. Only define it if not already defined by the -# package .mk file. -# -ifndef $(2)_INSTALL_CMDS -define $(2)_INSTALL_CMDS - $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_OPTS) -C $$($$(PKG)_BUILDDIR) -endef -endif - -# -# Staging installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_STAGING_CMDS -define $(2)_INSTALL_STAGING_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_STAGING_OPTS) -C $$($$(PKG)_BUILDDIR) -endef -endif - -# -# Target installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_TARGET_CMDS -define $(2)_INSTALL_TARGET_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_TARGET_OPTS) -C $$($$(PKG)_BUILDDIR) -endef -endif - -# Call the generic package infrastructure to generate the necessary -# make targets -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -endef - -################################################################################ -# cmake-package -- the target generator macro for CMake packages -################################################################################ - -cmake-package = $(call inner-cmake-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) -host-cmake-package = $(call inner-cmake-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) - -################################################################################ -# Generation of the CMake toolchain file -################################################################################ - -# CMAKE_SYSTEM_PROCESSOR should match uname -m -ifeq ($(BR2_ARM_CPU_ARMV4),y) -CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv4 -else ifeq ($(BR2_ARM_CPU_ARMV5),y) -CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv5 -else ifeq ($(BR2_ARM_CPU_ARMV6),y) -CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv6 -else ifeq ($(BR2_ARM_CPU_ARMV7A),y) -CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv7 -else ifeq ($(BR2_ARM_CPU_ARMV8A),y) -CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv8 -endif - -ifeq ($(BR2_arm),y) -CMAKE_SYSTEM_PROCESSOR = $(CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT)l -else ifeq ($(BR2_armeb),y) -CMAKE_SYSTEM_PROCESSOR = $(CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT)b -else ifeq ($(call qstrip,$(BR2_ARCH)),powerpc64) -CMAKE_SYSTEM_PROCESSOR = ppc64 -else ifeq ($(call qstrip,$(BR2_ARCH)),powerpc64le) -CMAKE_SYSTEM_PROCESSOR = ppc64le -else -CMAKE_SYSTEM_PROCESSOR = $(BR2_ARCH) -endif - -# In order to allow the toolchain to be relocated, we calculate the HOST_DIR -# based on the toolchainfile.cmake file's location: $(HOST_DIR)/share/buildroot -# In all the other variables, HOST_DIR will be replaced by RELOCATED_HOST_DIR, -# so we have to strip "$(HOST_DIR)/" from the paths that contain it. -define TOOLCHAIN_CMAKE_INSTALL_FILES - @mkdir -p $(HOST_DIR)/share/buildroot - sed \ - -e 's#@@STAGING_SUBDIR@@#$(call qstrip,$(STAGING_SUBDIR))#' \ - -e 's#@@TARGET_CFLAGS@@#$(call qstrip,$(TARGET_CFLAGS))#' \ - -e 's#@@TARGET_CXXFLAGS@@#$(call qstrip,$(TARGET_CXXFLAGS))#' \ - -e 's#@@TARGET_FCFLAGS@@#$(call qstrip,$(TARGET_FCFLAGS))#' \ - -e 's#@@TARGET_LDFLAGS@@#$(call qstrip,$(TARGET_LDFLAGS))#' \ - -e 's#@@TARGET_CC@@#$(subst $(HOST_DIR)/,,$(call qstrip,$(TARGET_CC)))#' \ - -e 's#@@TARGET_CXX@@#$(subst $(HOST_DIR)/,,$(call qstrip,$(TARGET_CXX)))#' \ - -e 's#@@TARGET_FC@@#$(subst $(HOST_DIR)/,,$(call qstrip,$(TARGET_FC)))#' \ - -e 's#@@CMAKE_SYSTEM_PROCESSOR@@#$(call qstrip,$(CMAKE_SYSTEM_PROCESSOR))#' \ - -e 's#@@TOOLCHAIN_HAS_CXX@@#$(if $(BR2_INSTALL_LIBSTDCPP),1,0)#' \ - -e 's#@@TOOLCHAIN_HAS_FORTRAN@@#$(if $(BR2_TOOLCHAIN_HAS_FORTRAN),1,0)#' \ - -e 's#@@CMAKE_BUILD_TYPE@@#$(if $(BR2_ENABLE_DEBUG),Debug,Release)#' \ - $(TOPDIR)/support/misc/toolchainfile.cmake.in \ - > $(HOST_DIR)/share/buildroot/toolchainfile.cmake - $(Q)$(INSTALL) -D -m 0644 support/misc/Buildroot.cmake \ - $(HOST_DIR)/share/buildroot/Platform/Buildroot.cmake -endef - -TOOLCHAIN_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_CMAKE_INSTALL_FILES diff --git a/buildroot-2021.05/package/pkg-download.mk b/buildroot-2021.05/package/pkg-download.mk deleted file mode 100644 index 2527ba5c..00000000 --- a/buildroot-2021.05/package/pkg-download.mk +++ /dev/null @@ -1,125 +0,0 @@ -################################################################################ -# -# This file contains the download helpers for the various package -# infrastructures. It is used to handle downloads from HTTP servers, -# FTP servers, Git repositories, Subversion repositories, Mercurial -# repositories, Bazaar repositories, and SCP servers. -# -################################################################################ - -# Download method commands -export WGET := $(call qstrip,$(BR2_WGET)) -export SVN := $(call qstrip,$(BR2_SVN)) -export CVS := $(call qstrip,$(BR2_CVS)) -export BZR := $(call qstrip,$(BR2_BZR)) -export GIT := $(call qstrip,$(BR2_GIT)) -export HG := $(call qstrip,$(BR2_HG)) -export SCP := $(call qstrip,$(BR2_SCP)) -export LOCALFILES := $(call qstrip,$(BR2_LOCALFILES)) - -# Version of the format of the archives we generate in the corresponding -# download backend: -BR_FMT_VERSION_git = -br1 -BR_FMT_VERSION_svn = -br2 - -DL_WRAPPER = support/download/dl-wrapper - -# DL_DIR may have been set already from the environment -ifeq ($(origin DL_DIR),undefined) -DL_DIR ?= $(call qstrip,$(BR2_DL_DIR)) -ifeq ($(DL_DIR),) -DL_DIR := $(TOPDIR)/dl -endif -else -# Restore the BR2_DL_DIR that was overridden by the .config file -BR2_DL_DIR = $(DL_DIR) -endif - -# ensure it exists and a absolute path, derefrecing symlinks -DL_DIR := $(shell mkdir -p $(DL_DIR) && cd $(DL_DIR) >/dev/null && pwd -P) - -# -# URI scheme helper functions -# Example URIs: -# * http://www.example.com/dir/file -# * scp://www.example.com:dir/file (with domainseparator :) -# -# geturischeme: http -geturischeme = $(firstword $(subst ://, ,$(call qstrip,$(1)))) -# getschemeplusuri: git|parameter+http://example.com -getschemeplusuri = $(call geturischeme,$(1))$(if $(2),\|$(2))+$(1) -# stripurischeme: www.example.com/dir/file -stripurischeme = $(lastword $(subst ://, ,$(call qstrip,$(1)))) -# domain: www.example.com -domain = $(firstword $(subst $(call domainseparator,$(2)), ,$(call stripurischeme,$(1)))) -# notdomain: dir/file -notdomain = $(patsubst $(call domain,$(1),$(2))$(call domainseparator,$(2))%,%,$(call stripurischeme,$(1))) -# -# default domainseparator is /, specify alternative value as first argument -domainseparator = $(if $(1),$(1),/) - -# github(user,package,version): returns site of GitHub repository -github = https://github.com/$(1)/$(2)/archive/$(3) - -# gitlab(user,package,version): returns site of Gitlab-generated tarball -gitlab = https://gitlab.com/$(1)/$(2)/-/archive/$(3) - -# Expressly do not check hashes for those files -# Exported variables default to immediately expanded in some versions of -# make, but we need it to be recursively-epxanded, so explicitly assign it. -export BR_NO_CHECK_HASH_FOR = - -################################################################################ -# DOWNLOAD_URIS - List the candidates URIs where to get the package from: -# 1) BR2_PRIMARY_SITE if enabled -# 2) Download site, unless BR2_PRIMARY_SITE_ONLY is set -# 3) BR2_BACKUP_SITE if enabled, unless BR2_PRIMARY_SITE_ONLY is set -# -# Argument 1 is the source location -# Argument 2 is the upper-case package name -# -################################################################################ - -ifneq ($(call qstrip,$(BR2_PRIMARY_SITE)),) -DOWNLOAD_URIS += \ - $(call getschemeplusuri,$(call qstrip,$(BR2_PRIMARY_SITE)/$($(2)_DL_SUBDIR)),urlencode) \ - $(call getschemeplusuri,$(call qstrip,$(BR2_PRIMARY_SITE)),urlencode) -endif - -ifeq ($(BR2_PRIMARY_SITE_ONLY),) -DOWNLOAD_URIS += \ - $(patsubst %/,%,$(dir $(call qstrip,$(1)))) -ifneq ($(call qstrip,$(BR2_BACKUP_SITE)),) -DOWNLOAD_URIS += \ - $(call getschemeplusuri,$(call qstrip,$(BR2_BACKUP_SITE)/$($(2)_DL_SUBDIR)),urlencode) \ - $(call getschemeplusuri,$(call qstrip,$(BR2_BACKUP_SITE)),urlencode) -endif -endif - -################################################################################ -# DOWNLOAD -- Download helper. Will call DL_WRAPPER which will try to download -# source from the list returned by DOWNLOAD_URIS. -# -# Argument 1 is the source location -# Argument 2 is the upper-case package name -# -################################################################################ - -define DOWNLOAD - $(Q)mkdir -p $($(2)_DL_DIR) - $(Q)$(EXTRA_ENV) $($(2)_DL_ENV) \ - flock $($(2)_DL_DIR)/.lock $(DL_WRAPPER) \ - -c '$($(2)_DL_VERSION)' \ - -d '$($(2)_DL_DIR)' \ - -D '$(DL_DIR)' \ - -f '$(notdir $(1))' \ - -H '$($(2)_HASH_FILE)' \ - -n '$($(2)_BASENAME_RAW)' \ - -N '$($(2)_RAWNAME)' \ - -o '$($(2)_DL_DIR)/$(notdir $(1))' \ - $(if $($(2)_GIT_SUBMODULES),-r) \ - $(foreach uri,$(call DOWNLOAD_URIS,$(1),$(2)),-u $(uri)) \ - $(QUIET) \ - -- \ - $($(2)_DL_OPTS) -endef diff --git a/buildroot-2021.05/package/pkg-generic.mk b/buildroot-2021.05/package/pkg-generic.mk deleted file mode 100644 index 9fbc63d1..00000000 --- a/buildroot-2021.05/package/pkg-generic.mk +++ /dev/null @@ -1,1265 +0,0 @@ -################################################################################ -# Generic package infrastructure -# -# This file implements an infrastructure that eases development of -# package .mk files. It should be used for packages that do not rely -# on a well-known build system for which Buildroot has a dedicated -# infrastructure (so far, Buildroot has special support for -# autotools-based and CMake-based packages). -# -# See the Buildroot documentation for details on the usage of this -# infrastructure -# -# In terms of implementation, this generic infrastructure requires the -# .mk file to specify: -# -# 1. Metadata information about the package: name, version, -# download URL, etc. -# -# 2. Description of the commands to be executed to configure, build -# and install the package -################################################################################ - -################################################################################ -# Helper functions to catch start/end of each step -################################################################################ - -# Those two functions are called by each step below. -# They are responsible for calling all hooks defined in -# $(GLOBAL_INSTRUMENTATION_HOOKS) and pass each of them -# three arguments: -# $1: either 'start' or 'end' -# $2: the name of the step -# $3: the name of the package - -# Start step -# $1: step name -define step_start - $(foreach hook,$(GLOBAL_INSTRUMENTATION_HOOKS),$(call $(hook),start,$(1),$($(PKG)_NAME))$(sep)) -endef - -# End step -# $1: step name -define step_end - $(foreach hook,$(GLOBAL_INSTRUMENTATION_HOOKS),$(call $(hook),end,$(1),$($(PKG)_NAME))$(sep)) -endef - -####################################### -# Actual steps hooks - -# Time steps -define step_time - printf "%s:%-5.5s:%-20.20s: %s\n" \ - "$$(date +%s.%N)" "$(1)" "$(2)" "$(3)" \ - >>"$(BUILD_DIR)/build-time.log" -endef -GLOBAL_INSTRUMENTATION_HOOKS += step_time - -# This hook checks that host packages that need libraries that we build -# have a proper DT_RPATH or DT_RUNPATH tag -define check_host_rpath - $(if $(filter install-host,$(2)),\ - $(if $(filter end,$(1)),support/scripts/check-host-rpath $(3) $(HOST_DIR) $(PER_PACKAGE_DIR))) -endef -GLOBAL_INSTRUMENTATION_HOOKS += check_host_rpath - -define step_check_build_dir_one - if [ -d $(2) ]; then \ - printf "%s: installs files in %s\n" $(1) $(2) >&2; \ - exit 1; \ - fi -endef - -define step_check_build_dir - $(if $(filter install-staging,$(2)),\ - $(if $(filter end,$(1)),$(call step_check_build_dir_one,$(3),$(STAGING_DIR)/$(O)))) - $(if $(filter install-target,$(2)),\ - $(if $(filter end,$(1)),$(call step_check_build_dir_one,$(3),$(TARGET_DIR)/$(O)))) -endef -GLOBAL_INSTRUMENTATION_HOOKS += step_check_build_dir - -# User-supplied script -ifneq ($(BR2_INSTRUMENTATION_SCRIPTS),) -define step_user - @$(foreach user_hook, $(BR2_INSTRUMENTATION_SCRIPTS), \ - $(EXTRA_ENV) $(user_hook) "$(1)" "$(2)" "$(3)"$(sep)) -endef -GLOBAL_INSTRUMENTATION_HOOKS += step_user -endif - -####################################### -# Helper functions - -# Make sure .la files only reference the current per-package -# directory. - -# $1: package name (lower case) -# $2: staging directory of the package -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -define fixup-libtool-files - $(Q)find $(2)/usr/lib* -name "*.la" | xargs --no-run-if-empty \ - $(SED) "s:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$(1)/:g" -endef -endif - -# Functions to collect statistics about installed files - -# $(1): base directory to search in -# $(2): suffix of file (optional) -define pkg_size_before - cd $(1); \ - LC_ALL=C find . -not -path './$(STAGING_SUBDIR)/*' \( -type f -o -type l \) -printf '%T@:%i:%#m:%y:%s,%p\n' \ - | LC_ALL=C sort > $($(PKG)_DIR)/.files-list$(2).before -endef - -# $(1): base directory to search in -# $(2): suffix of file (optional) -define pkg_size_after - cd $(1); \ - LC_ALL=C find . -not -path './$(STAGING_SUBDIR)/*' \( -type f -o -type l \) -printf '%T@:%i:%#m:%y:%s,%p\n' \ - | LC_ALL=C sort > $($(PKG)_DIR)/.files-list$(2).after - LC_ALL=C comm -13 \ - $($(PKG)_DIR)/.files-list$(2).before \ - $($(PKG)_DIR)/.files-list$(2).after \ - | sed -r -e 's/^[^,]+/$($(PKG)_NAME)/' \ - > $($(PKG)_DIR)/.files-list$(2).txt - rm -f $($(PKG)_DIR)/.files-list$(2).before - rm -f $($(PKG)_DIR)/.files-list$(2).after -endef - -define check_bin_arch - support/scripts/check-bin-arch -p $($(PKG)_NAME) \ - -l $($(PKG)_DIR)/.files-list.txt \ - $(foreach i,$($(PKG)_BIN_ARCH_EXCLUDE),-i "$(i)") \ - -r $(TARGET_READELF) \ - -a $(BR2_READELF_ARCH_NAME) -endef - -################################################################################ -# Implicit targets -- produce a stamp file for each step of a package build -################################################################################ - -# Retrieve the archive -$(BUILD_DIR)/%/.stamp_downloaded: - @$(call step_start,download) - $(call prepare-per-package-directory,$($(PKG)_FINAL_DOWNLOAD_DEPENDENCIES)) - $(foreach hook,$($(PKG)_PRE_DOWNLOAD_HOOKS),$(call $(hook))$(sep)) -# Only show the download message if it isn't already downloaded - $(Q)for p in $($(PKG)_ALL_DOWNLOADS); do \ - if test ! -e $($(PKG)_DL_DIR)/`basename $$p` ; then \ - $(call MESSAGE,"Downloading") ; \ - break ; \ - fi ; \ - done - $(foreach p,$($(PKG)_ALL_DOWNLOADS),$(call DOWNLOAD,$(p),$(PKG))$(sep)) - $(foreach hook,$($(PKG)_POST_DOWNLOAD_HOOKS),$(call $(hook))$(sep)) - $(Q)mkdir -p $(@D) - @$(call step_end,download) - $(Q)touch $@ - -# Retrieve actual source archive, e.g. for prebuilt external toolchains -$(BUILD_DIR)/%/.stamp_actual_downloaded: - @$(call step_start,actual-download) - $(call DOWNLOAD,$($(PKG)_ACTUAL_SOURCE_SITE)/$($(PKG)_ACTUAL_SOURCE_TARBALL),$(PKG)) - $(Q)mkdir -p $(@D) - @$(call step_end,actual-download) - $(Q)touch $@ - -# Unpack the archive -$(BUILD_DIR)/%/.stamp_extracted: - @$(call step_start,extract) - @$(call MESSAGE,"Extracting") - $(call prepare-per-package-directory,$($(PKG)_FINAL_EXTRACT_DEPENDENCIES)) - $(foreach hook,$($(PKG)_PRE_EXTRACT_HOOKS),$(call $(hook))$(sep)) - $(Q)mkdir -p $(@D) - $($(PKG)_EXTRACT_CMDS) -# some packages have messed up permissions inside - $(Q)chmod -R +rw $(@D) - $(foreach hook,$($(PKG)_POST_EXTRACT_HOOKS),$(call $(hook))$(sep)) - @$(call step_end,extract) - $(Q)touch $@ - -# Rsync the source directory if the _OVERRIDE_SRCDIR feature is -# used. -$(BUILD_DIR)/%/.stamp_rsynced: - @$(call step_start,rsync) - @$(call MESSAGE,"Syncing from source dir $(SRCDIR)") - @mkdir -p $(@D) - $(foreach hook,$($(PKG)_PRE_RSYNC_HOOKS),$(call $(hook))$(sep)) - @test -d $(SRCDIR) || (echo "ERROR: $(SRCDIR) does not exist" ; exit 1) - rsync -au --chmod=u=rwX,go=rX $($(PKG)_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS) $(RSYNC_VCS_EXCLUSIONS) $(call qstrip,$(SRCDIR))/ $(@D) - $(foreach hook,$($(PKG)_POST_RSYNC_HOOKS),$(call $(hook))$(sep)) - @$(call step_end,rsync) - $(Q)touch $@ - -# Patch -# -# The RAWNAME variable is the lowercased package name, which allows to -# find the package directory (typically package/) and the -# prefix of the patches -# -# For BR2_GLOBAL_PATCH_DIR, only generate if it is defined -$(BUILD_DIR)/%/.stamp_patched: PATCH_BASE_DIRS = $(PKGDIR) -$(BUILD_DIR)/%/.stamp_patched: PATCH_BASE_DIRS += $(addsuffix /$(RAWNAME),$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) -$(BUILD_DIR)/%/.stamp_patched: - @$(call step_start,patch) - @$(call MESSAGE,"Patching") - $(foreach hook,$($(PKG)_PRE_PATCH_HOOKS),$(call $(hook))$(sep)) - $(foreach p,$($(PKG)_PATCH),$(APPLY_PATCHES) $(@D) $($(PKG)_DL_DIR) $(notdir $(p))$(sep)) - $(Q)( \ - for D in $(PATCH_BASE_DIRS); do \ - if test -d $${D}; then \ - if test -d $${D}/$($(PKG)_VERSION); then \ - $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch \*.patch.$(ARCH) || exit 1; \ - else \ - $(APPLY_PATCHES) $(@D) $${D} \*.patch \*.patch.$(ARCH) || exit 1; \ - fi; \ - fi; \ - done; \ - ) - $(foreach hook,$($(PKG)_POST_PATCH_HOOKS),$(call $(hook))$(sep)) - @$(call step_end,patch) - $(Q)touch $@ - -# Check that all directories specified in BR2_GLOBAL_PATCH_DIR exist. -$(foreach dir,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR)),\ - $(if $(wildcard $(dir)),,\ - $(error BR2_GLOBAL_PATCH_DIR contains nonexistent directory $(dir)))) - -# Configure -$(BUILD_DIR)/%/.stamp_configured: - @$(call step_start,configure) - @$(call MESSAGE,"Configuring") - $(Q)mkdir -p $(HOST_DIR) $(TARGET_DIR) $(STAGING_DIR) $(BINARIES_DIR) - $(call prepare-per-package-directory,$($(PKG)_FINAL_DEPENDENCIES)) - @$(call pkg_size_before,$(TARGET_DIR)) - @$(call pkg_size_before,$(STAGING_DIR),-staging) - @$(call pkg_size_before,$(HOST_DIR),-host) - $(call fixup-libtool-files,$(NAME),$(STAGING_DIR)) - $(foreach hook,$($(PKG)_PRE_CONFIGURE_HOOKS),$(call $(hook))$(sep)) - $($(PKG)_CONFIGURE_CMDS) - $(foreach hook,$($(PKG)_POST_CONFIGURE_HOOKS),$(call $(hook))$(sep)) - @$(call step_end,configure) - $(Q)touch $@ - -# Build -$(BUILD_DIR)/%/.stamp_built:: - @$(call step_start,build) - @$(call MESSAGE,"Building") - $(foreach hook,$($(PKG)_PRE_BUILD_HOOKS),$(call $(hook))$(sep)) - +$($(PKG)_BUILD_CMDS) - $(foreach hook,$($(PKG)_POST_BUILD_HOOKS),$(call $(hook))$(sep)) - @$(call step_end,build) - $(Q)touch $@ - -# Install to host dir -$(BUILD_DIR)/%/.stamp_host_installed: - @$(call step_start,install-host) - @$(call MESSAGE,"Installing to host directory") - $(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) - +$($(PKG)_INSTALL_CMDS) - $(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep)) - @$(call step_end,install-host) - $(Q)touch $@ - -# Install to staging dir -# -# Some packages install libtool .la files alongside any installed -# libraries. These .la files sometimes refer to paths relative to the -# sysroot, which libtool will interpret as absolute paths to host -# libraries instead of the target libraries. Since this is not what we -# want, these paths are fixed by prefixing them with $(STAGING_DIR). -# As we configure with --prefix=/usr, this fix needs to be applied to -# any path that starts with /usr. -# -# To protect against the case that the output or staging directories or -# the pre-installed external toolchain themselves are under /usr, we first -# substitute away any occurrences of these directories with @BASE_DIR@, -# @STAGING_DIR@ and @TOOLCHAIN_EXTERNAL_INSTALL_DIR@ respectively. -# -# Note that STAGING_DIR can be outside BASE_DIR when the user sets -# BR2_HOST_DIR to a custom value. Note that TOOLCHAIN_EXTERNAL_INSTALL_DIR -# can be under @BASE_DIR@ when it's a downloaded toolchain, and can be -# empty when we use an internal toolchain. -# -$(BUILD_DIR)/%/.stamp_staging_installed: - @$(call step_start,install-staging) - @$(call MESSAGE,"Installing to staging directory") - $(foreach hook,$($(PKG)_PRE_INSTALL_STAGING_HOOKS),$(call $(hook))$(sep)) - +$($(PKG)_INSTALL_STAGING_CMDS) - $(foreach hook,$($(PKG)_POST_INSTALL_STAGING_HOOKS),$(call $(hook))$(sep)) - $(Q)if test -n "$($(PKG)_CONFIG_SCRIPTS)" ; then \ - $(call MESSAGE,"Fixing package configuration files") ;\ - $(SED) "s,$(HOST_DIR),@HOST_DIR@,g" \ - -e "s,$(BASE_DIR),@BASE_DIR@,g" \ - -e "s,^\(exec_\)\?prefix=.*,\1prefix=@STAGING_DIR@/usr,g" \ - -e "s,-I/usr/,-I@STAGING_DIR@/usr/,g" \ - -e "s,-L/usr/,-L@STAGING_DIR@/usr/,g" \ - -e 's,@STAGING_DIR@,$$(dirname $$(readlink -e $$0))/../..,g' \ - -e 's,@HOST_DIR@,$$(dirname $$(readlink -e $$0))/../../../..,g' \ - -e "s,@BASE_DIR@,$(BASE_DIR),g" \ - $(addprefix $(STAGING_DIR)/usr/bin/,$($(PKG)_CONFIG_SCRIPTS)) ;\ - fi - @$(call MESSAGE,"Fixing libtool files") - for la in $$(find $(STAGING_DIR)/usr/lib* -name "*.la"); do \ - cp -a "$${la}" "$${la}.fixed" && \ - $(SED) "s:$(BASE_DIR):@BASE_DIR@:g" \ - -e "s:$(STAGING_DIR):@STAGING_DIR@:g" \ - $(if $(TOOLCHAIN_EXTERNAL_INSTALL_DIR),\ - -e "s:$(TOOLCHAIN_EXTERNAL_INSTALL_DIR):@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g") \ - -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ - -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ - $(if $(TOOLCHAIN_EXTERNAL_INSTALL_DIR),\ - -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:$(TOOLCHAIN_EXTERNAL_INSTALL_DIR):g") \ - -e "s:@STAGING_DIR@:$(STAGING_DIR):g" \ - -e "s:@BASE_DIR@:$(BASE_DIR):g" \ - "$${la}.fixed" && \ - if cmp -s "$${la}" "$${la}.fixed"; then \ - rm -f "$${la}.fixed"; \ - else \ - mv "$${la}.fixed" "$${la}"; \ - fi || exit 1; \ - done - @$(call step_end,install-staging) - $(Q)touch $@ - -# Install to images dir -$(BUILD_DIR)/%/.stamp_images_installed: - @$(call step_start,install-image) - @$(call MESSAGE,"Installing to images directory") - $(foreach hook,$($(PKG)_PRE_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep)) - +$($(PKG)_INSTALL_IMAGES_CMDS) - $(foreach hook,$($(PKG)_POST_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep)) - @$(call step_end,install-image) - $(Q)touch $@ - -# Install to target dir -$(BUILD_DIR)/%/.stamp_target_installed: - @$(call step_start,install-target) - @$(call MESSAGE,"Installing to target") - $(foreach hook,$($(PKG)_PRE_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep)) - +$($(PKG)_INSTALL_TARGET_CMDS) - $(if $(BR2_INIT_SYSTEMD),\ - $($(PKG)_INSTALL_INIT_SYSTEMD)) - $(if $(BR2_INIT_SYSV)$(BR2_INIT_BUSYBOX),\ - $($(PKG)_INSTALL_INIT_SYSV)) - $(if $(BR2_INIT_OPENRC), \ - $(or $($(PKG)_INSTALL_INIT_OPENRC), \ - $($(PKG)_INSTALL_INIT_SYSV))) - $(foreach hook,$($(PKG)_POST_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep)) - $(Q)if test -n "$($(PKG)_CONFIG_SCRIPTS)" ; then \ - $(RM) -f $(addprefix $(TARGET_DIR)/usr/bin/,$($(PKG)_CONFIG_SCRIPTS)) ; \ - fi - @$(call step_end,install-target) - $(Q)touch $@ - -# Final installation step, completed when all installation steps -# (host, images, staging, target) have completed -$(BUILD_DIR)/%/.stamp_installed: - @$(call pkg_size_after,$(TARGET_DIR)) - @$(call pkg_size_after,$(STAGING_DIR),-staging) - @$(call pkg_size_after,$(HOST_DIR),-host) - @$(call check_bin_arch) - $(Q)touch $@ - -# Remove package sources -$(BUILD_DIR)/%/.stamp_dircleaned: - $(if $(BR2_PER_PACKAGE_DIRECTORIES),rm -Rf $(PER_PACKAGE_DIR)/$(NAME)) - rm -Rf $(@D) - -################################################################################ -# virt-provides-single -- check that provider-pkg is the declared provider for -# the virtual package virt-pkg -# -# argument 1 is the lower-case name of the virtual package -# argument 2 is the upper-case name of the virtual package -# argument 3 is the lower-case name of the provider -# -# example: -# $(call virt-provides-single,libegl,LIBEGL,rpi-userland) -################################################################################ -define virt-provides-single -ifneq ($$(call qstrip,$$(BR2_PACKAGE_PROVIDES_$(2))),$(3)) -$$(error Configuration error: both "$(3)" and $$(BR2_PACKAGE_PROVIDES_$(2))\ -are selected as providers for virtual package "$(1)". Only one provider can\ -be selected at a time. Please fix your configuration) -endif -endef - -define pkg-graph-depends - @$$(INSTALL) -d $$(GRAPHS_DIR) - @cd "$$(CONFIG_DIR)"; \ - $$(TOPDIR)/support/scripts/graph-depends $$(BR2_GRAPH_DEPS_OPTS) \ - -p $(1) $(2) -o $$(GRAPHS_DIR)/$$(@).dot - dot $$(BR2_GRAPH_DOT_OPTS) -T$$(BR_GRAPH_OUT) \ - -o $$(GRAPHS_DIR)/$$(@).$$(BR_GRAPH_OUT) \ - $$(GRAPHS_DIR)/$$(@).dot -endef - -################################################################################ -# inner-generic-package -- generates the make targets needed to build a -# generic package -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -# argument 3 is the uppercase package name, without the HOST_ prefix -# for host packages -# argument 4 is the type (target or host) -# -# Note about variable and function references: inside all blocks that are -# evaluated with $(eval), which includes all 'inner-xxx-package' blocks, -# specific rules apply with respect to variable and function references. -# - Numbered variables (parameters to the block) can be referenced with a single -# dollar sign: $(1), $(2), $(3), etc. -# - pkgdir and pkgname should be referenced with a single dollar sign too. These -# functions rely on 'the most recently parsed makefile' which is supposed to -# be the package .mk file. If we defer the evaluation of these functions using -# double dollar signs, then they may be evaluated too late, when other -# makefiles have already been parsed. One specific case is when $$(pkgdir) is -# assigned to a variable using deferred evaluation with '=' and this variable -# is used in a target rule outside the eval'ed inner block. In this case, the -# pkgdir will be that of the last makefile parsed by buildroot, which is not -# the expected value. This mechanism is for example used for the TARGET_PATCH -# rule. -# - All other variables should be referenced with a double dollar sign: -# $$(TARGET_DIR), $$($(2)_VERSION), etc. Also all make functions should be -# referenced with a double dollar sign: $$(subst), $$(call), $$(filter-out), -# etc. This rule ensures that these variables and functions are only expanded -# during the $(eval) step, and not earlier. Otherwise, unintuitive and -# undesired behavior occurs with respect to these variables and functions. -# -################################################################################ - -define inner-generic-package - -# When doing a package, we're definitely not doing a rootfs, but we -# may inherit it via the dependency chain, so we reset it. -$(1): ROOTFS= - -# Ensure the package is only declared once, i.e. do not accept that a -# package be re-defined by a br2-external tree -ifneq ($(call strip,$(filter $(1),$(PACKAGES_ALL))),) -$$(error Package '$(1)' defined a second time in '$(pkgdir)'; \ - previous definition was in '$$($(2)_PKGDIR)') -endif -PACKAGES_ALL += $(1) - -# Define default values for various package-related variables, if not -# already defined. For some variables (version, source, site and -# subdir), if they are undefined, we try to see if a variable without -# the HOST_ prefix is defined. If so, we use such a variable, so that -# this information has only to be specified once, for both the -# target and host packages of a given .mk file. - -$(2)_TYPE = $(4) -$(2)_NAME = $(1) -$(2)_RAWNAME = $$(patsubst host-%,%,$(1)) -$(2)_PKGDIR = $(pkgdir) - -# Keep the package version that may contain forward slashes in the _DL_VERSION -# variable, then replace all forward slashes ('/') by underscores ('_') to -# sanitize the package version that is used in paths, directory and file names. -# Forward slashes may appear in the package's version when pointing to a -# version control system branch or tag, for example remotes/origin/1_10_stable. -# Similar for spaces and colons (:) that may appear in date-based revisions for -# CVS. -ifndef $(2)_VERSION - ifdef $(3)_DL_VERSION - $(2)_DL_VERSION := $$($(3)_DL_VERSION) - else ifdef $(3)_VERSION - $(2)_DL_VERSION := $$($(3)_VERSION) - endif -else - $(2)_DL_VERSION := $$(strip $$($(2)_VERSION)) -endif -$(2)_VERSION := $$(call sanitize,$$($(2)_DL_VERSION)) - -$(2)_HASH_FILE = \ - $$(strip \ - $$(if $$(wildcard $$($(2)_PKGDIR)/$$($(2)_VERSION)/$$($(2)_RAWNAME).hash),\ - $$($(2)_PKGDIR)/$$($(2)_VERSION)/$$($(2)_RAWNAME).hash,\ - $$($(2)_PKGDIR)/$$($(2)_RAWNAME).hash)) - -ifdef $(3)_OVERRIDE_SRCDIR - $(2)_OVERRIDE_SRCDIR ?= $$($(3)_OVERRIDE_SRCDIR) -endif - -$(2)_BASENAME = $$(if $$($(2)_VERSION),$(1)-$$($(2)_VERSION),$(1)) -$(2)_BASENAME_RAW = $$(if $$($(2)_VERSION),$$($(2)_RAWNAME)-$$($(2)_VERSION),$$($(2)_RAWNAME)) -$(2)_DL_SUBDIR ?= $$($(2)_RAWNAME) -$(2)_DL_DIR = $$(DL_DIR)/$$($(2)_DL_SUBDIR) -$(2)_DIR = $$(BUILD_DIR)/$$($(2)_BASENAME) - -ifndef $(2)_SUBDIR - ifdef $(3)_SUBDIR - $(2)_SUBDIR = $$($(3)_SUBDIR) - else - $(2)_SUBDIR ?= - endif -endif - -ifndef $(2)_STRIP_COMPONENTS - ifdef $(3)_STRIP_COMPONENTS - $(2)_STRIP_COMPONENTS = $$($(3)_STRIP_COMPONENTS) - else - $(2)_STRIP_COMPONENTS ?= 1 - endif -endif - -$(2)_SRCDIR = $$($(2)_DIR)/$$($(2)_SUBDIR) -$(2)_BUILDDIR ?= $$($(2)_SRCDIR) - -ifneq ($$($(2)_OVERRIDE_SRCDIR),) -$(2)_VERSION = custom -endif - -ifndef $(2)_SOURCE - ifdef $(3)_SOURCE - $(2)_SOURCE = $$($(3)_SOURCE) - else ifdef $(2)_VERSION - $(2)_SOURCE ?= $$($(2)_BASENAME_RAW)$$(call pkg_source_ext,$(2)) - endif -endif - -# If FOO_ACTUAL_SOURCE_TARBALL is explicitly defined, it means FOO_SOURCE is -# indeed a binary (e.g. external toolchain) and FOO_ACTUAL_SOURCE_TARBALL/_SITE -# point to the actual sources tarball. Use the actual sources for legal-info. -# For most packages the FOO_SITE/FOO_SOURCE pair points to real source code, -# so these are the defaults for FOO_ACTUAL_*. -$(2)_ACTUAL_SOURCE_TARBALL ?= $$($(2)_SOURCE) -$(2)_ACTUAL_SOURCE_SITE ?= $$(call qstrip,$$($(2)_SITE)) - -ifndef $(2)_PATCH - ifdef $(3)_PATCH - $(2)_PATCH = $$($(3)_PATCH) - endif -endif - -$(2)_ALL_DOWNLOADS = \ - $$(if $$($(2)_SOURCE),$$($(2)_SITE_METHOD)+$$($(2)_SITE)/$$($(2)_SOURCE)) \ - $$(foreach p,$$($(2)_PATCH) $$($(2)_EXTRA_DOWNLOADS),\ - $$(if $$(findstring ://,$$(p)),$$(p),\ - $$($(2)_SITE_METHOD)+$$($(2)_SITE)/$$(p))) - -ifndef $(2)_SITE - ifdef $(3)_SITE - $(2)_SITE = $$($(3)_SITE) - endif -endif - -ifndef $(2)_SITE_METHOD - ifdef $(3)_SITE_METHOD - $(2)_SITE_METHOD = $$($(3)_SITE_METHOD) - else - # Try automatic detection using the scheme part of the URI - $(2)_SITE_METHOD = $$(call geturischeme,$$($(2)_SITE)) - endif -endif - -ifndef $(2)_DL_OPTS - ifdef $(3)_DL_OPTS - $(2)_DL_OPTS = $$($(3)_DL_OPTS) - endif -endif - -ifneq ($$(filter bzr cvs hg,$$($(2)_SITE_METHOD)),) -BR_NO_CHECK_HASH_FOR += $$($(2)_SOURCE) -endif - -ifndef $(2)_GIT_SUBMODULES - ifdef $(3)_GIT_SUBMODULES - $(2)_GIT_SUBMODULES = $$($(3)_GIT_SUBMODULES) - endif -endif - -# Do not accept to download git submodule if not using the git method -ifneq ($$($(2)_GIT_SUBMODULES),) - ifneq ($$($(2)_SITE_METHOD),git) - $$(error $(2) declares having git sub-modules, but does not use the \ - 'git' method (uses '$$($(2)_SITE_METHOD)' instead)) - endif -endif - -ifeq ($$($(2)_SITE_METHOD),local) -ifeq ($$($(2)_OVERRIDE_SRCDIR),) -$(2)_OVERRIDE_SRCDIR = $$($(2)_SITE) -endif -ifeq ($$($(2)_OVERRIDE_SRCDIR),) -$$(error $(1) has local site method, but `$(2)_SITE` is not defined) -endif -endif - -ifndef $(2)_LICENSE - ifdef $(3)_LICENSE - $(2)_LICENSE = $$($(3)_LICENSE) - endif -endif - -$(2)_LICENSE ?= unknown - -ifndef $(2)_LICENSE_FILES - ifdef $(3)_LICENSE_FILES - $(2)_LICENSE_FILES = $$($(3)_LICENSE_FILES) - endif -endif - -ifndef $(2)_REDISTRIBUTE - ifdef $(3)_REDISTRIBUTE - $(2)_REDISTRIBUTE = $$($(3)_REDISTRIBUTE) - endif -endif - -$(2)_REDISTRIBUTE ?= YES - -$(2)_REDIST_SOURCES_DIR = $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4)))/$$($(2)_BASENAME_RAW) - -# If any of the _CPE_ID_* variables are set, we assume the CPE ID -# information is valid for this package. -ifneq ($$($(2)_CPE_ID_VENDOR)$$($(2)_CPE_ID_PRODUCT)$$($(2)_CPE_ID_VERSION)$$($(2)_CPE_ID_UPDATE)$$($(2)_CPE_ID_PREFIX),) -$(2)_CPE_ID_VALID = YES -endif - -# When we're a host package, make sure to use the variables of the -# corresponding target package, if any. -ifneq ($$($(3)_CPE_ID_VENDOR)$$($(3)_CPE_ID_PRODUCT)$$($(3)_CPE_ID_VERSION)$$($(3)_CPE_ID_UPDATE)$$($(3)_CPE_ID_PREFIX),) -$(2)_CPE_ID_VALID = YES -endif - -# If the CPE ID is valid for the target package so it is for the host -# package -ifndef $(2)_CPE_ID_VALID - ifdef $(3)_CPE_ID_VALID - $(2)_CPE_ID_VALID = $$($(3)_CPE_ID_VALID) - endif -endif - -ifeq ($$($(2)_CPE_ID_VALID),YES) - # CPE_ID_VENDOR - ifndef $(2)_CPE_ID_VENDOR - ifdef $(3)_CPE_ID_VENDOR - $(2)_CPE_ID_VENDOR = $$($(3)_CPE_ID_VENDOR) - else - $(2)_CPE_ID_VENDOR = $$($(2)_RAWNAME)_project - endif - endif - - # CPE_ID_PRODUCT - ifndef $(2)_CPE_ID_PRODUCT - ifdef $(3)_CPE_ID_PRODUCT - $(2)_CPE_ID_PRODUCT = $$($(3)_CPE_ID_PRODUCT) - else - $(2)_CPE_ID_PRODUCT = $$($(2)_RAWNAME) - endif - endif - - # CPE_ID_VERSION - ifndef $(2)_CPE_ID_VERSION - ifdef $(3)_CPE_ID_VERSION - $(2)_CPE_ID_VERSION = $$($(3)_CPE_ID_VERSION) - else - $(2)_CPE_ID_VERSION = $$($(2)_VERSION) - endif - endif - - # CPE_ID_UPDATE - ifndef $(2)_CPE_ID_UPDATE - ifdef $(3)_CPE_ID_UPDATE - $(2)_CPE_ID_UPDATE = $$($(3)_CPE_ID_UPDATE) - else - $(2)_CPE_ID_UPDATE = * - endif - endif - - # CPE_ID_PREFIX - ifndef $(2)_CPE_ID_PREFIX - ifdef $(3)_CPE_ID_PREFIX - $(2)_CPE_ID_PREFIX = $$($(3)_CPE_ID_PREFIX) - else - $(2)_CPE_ID_PREFIX = cpe:2.3:a - endif - endif - - # Calculate complete CPE ID - $(2)_CPE_ID = $$($(2)_CPE_ID_PREFIX):$$($(2)_CPE_ID_VENDOR):$$($(2)_CPE_ID_PRODUCT):$$($(2)_CPE_ID_VERSION):$$($(2)_CPE_ID_UPDATE):*:*:*:*:*:* -endif # ifeq ($$($(2)_CPE_ID_VALID),YES) - -# When a target package is a toolchain dependency set this variable to -# 'NO' so the 'toolchain' dependency is not added to prevent a circular -# dependency. -# Similarly for the skeleton. -$(2)_ADD_TOOLCHAIN_DEPENDENCY ?= YES -$(2)_ADD_SKELETON_DEPENDENCY ?= YES - - -ifeq ($(4),target) -ifeq ($$($(2)_ADD_SKELETON_DEPENDENCY),YES) -$(2)_DEPENDENCIES += skeleton -endif -ifeq ($$($(2)_ADD_TOOLCHAIN_DEPENDENCY),YES) -$(2)_DEPENDENCIES += toolchain -endif -endif - -ifneq ($(1),host-skeleton) -$(2)_DEPENDENCIES += host-skeleton -endif - -ifneq ($$(filter cvs git svn,$$($(2)_SITE_METHOD)),) -$(2)_DOWNLOAD_DEPENDENCIES += \ - $(BR2_GZIP_HOST_DEPENDENCY) \ - $(BR2_TAR_HOST_DEPENDENCY) -endif - -ifeq ($$(filter host-tar host-skeleton host-fakedate,$(1)),) -$(2)_EXTRACT_DEPENDENCIES += $$(BR2_TAR_HOST_DEPENDENCY) -endif - -ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate,$(1)),) -$(2)_EXTRACT_DEPENDENCIES += \ - $$(foreach dl,$$($(2)_ALL_DOWNLOADS),\ - $$(call extractor-pkg-dependency,$$(notdir $$(dl)))) -endif - -ifeq ($$(BR2_CCACHE),y) -ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate host-ccache,$(1)),) -$(2)_DEPENDENCIES += host-ccache -endif -endif - -ifeq ($$(BR2_REPRODUCIBLE),y) -ifeq ($$(filter host-skeleton host-fakedate,$(1)),) -$(2)_DEPENDENCIES += host-fakedate -endif -endif - -# Eliminate duplicates in dependencies -$(2)_FINAL_DEPENDENCIES = $$(sort $$($(2)_DEPENDENCIES)) -$(2)_FINAL_DOWNLOAD_DEPENDENCIES = $$(sort $$($(2)_DOWNLOAD_DEPENDENCIES)) -$(2)_FINAL_EXTRACT_DEPENDENCIES = $$(sort $$($(2)_EXTRACT_DEPENDENCIES)) -$(2)_FINAL_PATCH_DEPENDENCIES = $$(sort $$($(2)_PATCH_DEPENDENCIES)) -$(2)_FINAL_ALL_DEPENDENCIES = \ - $$(sort \ - $$($(2)_FINAL_DEPENDENCIES) \ - $$($(2)_FINAL_DOWNLOAD_DEPENDENCIES) \ - $$($(2)_FINAL_EXTRACT_DEPENDENCIES) \ - $$($(2)_FINAL_PATCH_DEPENDENCIES)) -$(2)_FINAL_RECURSIVE_DEPENDENCIES = $$(sort \ - $$(if $$(filter undefined,$$(origin $(2)_FINAL_RECURSIVE_DEPENDENCIES__X)), \ - $$(eval $(2)_FINAL_RECURSIVE_DEPENDENCIES__X := \ - $$(foreach p, \ - $$($(2)_FINAL_ALL_DEPENDENCIES), \ - $$(p) \ - $$($$(call UPPERCASE,$$(p))_FINAL_RECURSIVE_DEPENDENCIES) \ - ) \ - ) \ - ) \ - $$($(2)_FINAL_RECURSIVE_DEPENDENCIES__X)) - -$(2)_FINAL_RECURSIVE_RDEPENDENCIES = $$(sort \ - $$(if $$(filter undefined,$$(origin $(2)_FINAL_RECURSIVE_RDEPENDENCIES__X)), \ - $$(eval $(2)_FINAL_RECURSIVE_RDEPENDENCIES__X := \ - $$(foreach p, \ - $$($(2)_RDEPENDENCIES), \ - $$(p) \ - $$($$(call UPPERCASE,$$(p))_FINAL_RECURSIVE_RDEPENDENCIES) \ - ) \ - ) \ - ) \ - $$($(2)_FINAL_RECURSIVE_RDEPENDENCIES__X)) - -# define sub-target stamps -$(2)_TARGET_INSTALL = $$($(2)_DIR)/.stamp_installed -$(2)_TARGET_INSTALL_TARGET = $$($(2)_DIR)/.stamp_target_installed -$(2)_TARGET_INSTALL_STAGING = $$($(2)_DIR)/.stamp_staging_installed -$(2)_TARGET_INSTALL_IMAGES = $$($(2)_DIR)/.stamp_images_installed -$(2)_TARGET_INSTALL_HOST = $$($(2)_DIR)/.stamp_host_installed -$(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built -$(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured -$(2)_TARGET_RSYNC = $$($(2)_DIR)/.stamp_rsynced -$(2)_TARGET_PATCH = $$($(2)_DIR)/.stamp_patched -$(2)_TARGET_EXTRACT = $$($(2)_DIR)/.stamp_extracted -$(2)_TARGET_SOURCE = $$($(2)_DIR)/.stamp_downloaded -$(2)_TARGET_ACTUAL_SOURCE = $$($(2)_DIR)/.stamp_actual_downloaded -$(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned - -# default extract command -$(2)_EXTRACT_CMDS ?= \ - $$(if $$($(2)_SOURCE),$$(INFLATE$$(suffix $$($(2)_SOURCE))) $$($(2)_DL_DIR)/$$($(2)_SOURCE) | \ - $$(TAR) --strip-components=$$($(2)_STRIP_COMPONENTS) \ - -C $$($(2)_DIR) \ - $$(foreach x,$$($(2)_EXCLUDES),--exclude='$$(x)' ) \ - $$(TAR_OPTIONS) -) - -# pre/post-steps hooks -$(2)_PRE_DOWNLOAD_HOOKS ?= -$(2)_POST_DOWNLOAD_HOOKS ?= -$(2)_PRE_EXTRACT_HOOKS ?= -$(2)_POST_EXTRACT_HOOKS ?= -$(2)_PRE_RSYNC_HOOKS ?= -$(2)_POST_RSYNC_HOOKS ?= -$(2)_PRE_PATCH_HOOKS ?= -$(2)_POST_PATCH_HOOKS ?= -$(2)_PRE_CONFIGURE_HOOKS ?= -$(2)_POST_CONFIGURE_HOOKS ?= -$(2)_PRE_BUILD_HOOKS ?= -$(2)_POST_BUILD_HOOKS ?= -$(2)_PRE_INSTALL_HOOKS ?= -$(2)_POST_INSTALL_HOOKS ?= -$(2)_PRE_INSTALL_STAGING_HOOKS ?= -$(2)_POST_INSTALL_STAGING_HOOKS ?= -$(2)_PRE_INSTALL_TARGET_HOOKS ?= -$(2)_POST_INSTALL_TARGET_HOOKS ?= -$(2)_PRE_INSTALL_IMAGES_HOOKS ?= -$(2)_POST_INSTALL_IMAGES_HOOKS ?= -$(2)_PRE_LEGAL_INFO_HOOKS ?= -$(2)_POST_LEGAL_INFO_HOOKS ?= -$(2)_TARGET_FINALIZE_HOOKS ?= -$(2)_ROOTFS_PRE_CMD_HOOKS ?= - -ifeq ($$($(2)_TYPE),target) -ifneq ($$(HOST_$(2)_KCONFIG_VAR),) -$$(error "Package $(1) defines host variant before target variant!") -endif -endif - -# human-friendly targets and target sequencing -$(1): $(1)-install -$(1)-install: $$($(2)_TARGET_INSTALL) - -ifeq ($$($(2)_TYPE),host) -$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_INSTALL_HOST) -else -$(2)_INSTALL_STAGING ?= NO -$(2)_INSTALL_IMAGES ?= NO -$(2)_INSTALL_TARGET ?= YES -ifeq ($$($(2)_INSTALL_TARGET),YES) -$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_INSTALL_TARGET) -endif -ifeq ($$($(2)_INSTALL_STAGING),YES) -$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_INSTALL_STAGING) -endif -ifeq ($$($(2)_INSTALL_IMAGES),YES) -$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_INSTALL_IMAGES) -endif -endif - -ifeq ($$($(2)_INSTALL_TARGET),YES) -$(1)-install-target: $$($(2)_TARGET_INSTALL_TARGET) -$$($(2)_TARGET_INSTALL_TARGET): $$($(2)_TARGET_BUILD) -else -$(1)-install-target: -endif - -ifeq ($$($(2)_INSTALL_STAGING),YES) -$(1)-install-staging: $$($(2)_TARGET_INSTALL_STAGING) -$$($(2)_TARGET_INSTALL_STAGING): $$($(2)_TARGET_BUILD) -# Some packages use install-staging stuff for install-target -$$($(2)_TARGET_INSTALL_TARGET): $$($(2)_TARGET_INSTALL_STAGING) -else -$(1)-install-staging: -endif - -ifeq ($$($(2)_INSTALL_IMAGES),YES) -$(1)-install-images: $$($(2)_TARGET_INSTALL_IMAGES) -$$($(2)_TARGET_INSTALL_IMAGES): $$($(2)_TARGET_BUILD) -else -$(1)-install-images: -endif - -$(1)-install-host: $$($(2)_TARGET_INSTALL_HOST) -$$($(2)_TARGET_INSTALL_HOST): $$($(2)_TARGET_BUILD) - -$(1)-build: $$($(2)_TARGET_BUILD) -$$($(2)_TARGET_BUILD): $$($(2)_TARGET_CONFIGURE) - -# Since $(2)_FINAL_DEPENDENCIES are phony targets, they are always "newer" -# than $(2)_TARGET_CONFIGURE. This would force the configure step (and -# therefore the other steps as well) to be re-executed with every -# invocation of make. Therefore, make $(2)_FINAL_DEPENDENCIES an order-only -# dependency by using |. - -$(1)-configure: $$($(2)_TARGET_CONFIGURE) -$$($(2)_TARGET_CONFIGURE): | $$($(2)_FINAL_DEPENDENCIES) - -$$($(2)_TARGET_SOURCE) $$($(2)_TARGET_RSYNC): | prepare -$$($(2)_TARGET_SOURCE) $$($(2)_TARGET_RSYNC): | dependencies - -ifeq ($$($(2)_OVERRIDE_SRCDIR),) -# In the normal case (no package override), the sequence of steps is -# source, by downloading -# depends -# extract -# patch -# configure -$$($(2)_TARGET_CONFIGURE): $$($(2)_TARGET_PATCH) - -$(1)-patch: $$($(2)_TARGET_PATCH) -$$($(2)_TARGET_PATCH): $$($(2)_TARGET_EXTRACT) -# Order-only dependency -$$($(2)_TARGET_PATCH): | $$(patsubst %,%-patch,$$($(2)_FINAL_PATCH_DEPENDENCIES)) - -$(1)-extract: $$($(2)_TARGET_EXTRACT) -$$($(2)_TARGET_EXTRACT): $$($(2)_TARGET_SOURCE) -$$($(2)_TARGET_EXTRACT): | $$($(2)_FINAL_EXTRACT_DEPENDENCIES) - -$(1)-depends: $$($(2)_FINAL_ALL_DEPENDENCIES) - -$(1)-source: $$($(2)_TARGET_SOURCE) -$$($(2)_TARGET_SOURCE): | $$($(2)_FINAL_DOWNLOAD_DEPENDENCIES) - -$(1)-all-source: $(1)-legal-source -$(1)-legal-info: $(1)-legal-source -$(1)-legal-source: $(1)-source - -# Only download the actual source if it differs from the 'main' archive -ifneq ($$($(2)_ACTUAL_SOURCE_TARBALL),) -ifneq ($$($(2)_ACTUAL_SOURCE_TARBALL),$$($(2)_SOURCE)) -$(1)-legal-source: $$($(2)_TARGET_ACTUAL_SOURCE) -endif # actual sources != sources -endif # actual sources != "" - -$(1)-external-deps: - @for p in $$($(2)_SOURCE) $$($(2)_PATCH) $$($(2)_EXTRA_DOWNLOADS) ; do \ - echo `basename $$$$p` ; \ - done -else -# In the package override case, the sequence of steps -# source, by rsyncing -# depends -# configure - -# Use an order-only dependency so the "-clean-for-rebuild" rule -# can remove the stamp file without triggering the configure step. -$$($(2)_TARGET_CONFIGURE): | $$($(2)_TARGET_RSYNC) - -$(1)-depends: $$($(2)_FINAL_DEPENDENCIES) - -$(1)-patch: $(1)-rsync -$(1)-extract: $(1)-rsync - -$(1)-rsync: $$($(2)_TARGET_RSYNC) - -$(1)-source: -$(1)-legal-source: - -$(1)-external-deps: - @echo "file://$$($(2)_OVERRIDE_SRCDIR)" -endif - -$(1)-show-version: - @echo $$($(2)_VERSION) - -$(1)-show-depends: - @echo $$($(2)_FINAL_ALL_DEPENDENCIES) - -$(1)-show-recursive-depends: - @echo $$($(2)_FINAL_RECURSIVE_DEPENDENCIES) - -$(1)-show-rdepends: - @echo $$($(2)_RDEPENDENCIES) - -$(1)-show-recursive-rdepends: - @echo $$($(2)_FINAL_RECURSIVE_RDEPENDENCIES) - -$(1)-show-build-order: $$(patsubst %,%-show-build-order,$$($(2)_FINAL_ALL_DEPENDENCIES)) - @: - $$(info $(1)) - -$(1)-show-info: - @: - $$(info $$(call clean-json,{ $$(call json-info,$(2)) })) - -$(1)-graph-depends: graph-depends-requirements - $(call pkg-graph-depends,$(1),--direct) - -$(1)-graph-rdepends: graph-depends-requirements - $(call pkg-graph-depends,$(1),--reverse) - -$(1)-all-source: $(1)-source -$(1)-all-source: $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),$$(p)-all-source) - -$(1)-all-external-deps: $(1)-external-deps -$(1)-all-external-deps: $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),$$(p)-all-external-deps) - -$(1)-all-legal-info: $(1)-legal-info -$(1)-all-legal-info: $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),$$(p)-all-legal-info) - -$(1)-dirclean: $$($(2)_TARGET_DIRCLEAN) - -$(1)-clean-for-reinstall: -ifneq ($$($(2)_OVERRIDE_SRCDIR),) - rm -f $$($(2)_TARGET_RSYNC) -endif - rm -f $$($(2)_TARGET_INSTALL) - rm -f $$($(2)_TARGET_INSTALL_STAGING) - rm -f $$($(2)_TARGET_INSTALL_TARGET) - rm -f $$($(2)_TARGET_INSTALL_IMAGES) - rm -f $$($(2)_TARGET_INSTALL_HOST) - -$(1)-reinstall: $(1)-clean-for-reinstall $(1) - -$(1)-clean-for-rebuild: $(1)-clean-for-reinstall - rm -f $$($(2)_TARGET_BUILD) - -$(1)-rebuild: $(1)-clean-for-rebuild $(1) - -$(1)-clean-for-reconfigure: $(1)-clean-for-rebuild - rm -f $$($(2)_TARGET_CONFIGURE) - -$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) - -# define the PKG variable for all targets, containing the -# uppercase package variable prefix -$$($(2)_TARGET_INSTALL): PKG=$(2) -$$($(2)_TARGET_INSTALL_TARGET): PKG=$(2) -$$($(2)_TARGET_INSTALL_STAGING): PKG=$(2) -$$($(2)_TARGET_INSTALL_IMAGES): PKG=$(2) -$$($(2)_TARGET_INSTALL_HOST): PKG=$(2) -$$($(2)_TARGET_BUILD): PKG=$(2) -$$($(2)_TARGET_CONFIGURE): PKG=$(2) -$$($(2)_TARGET_CONFIGURE): NAME=$(1) -$$($(2)_TARGET_RSYNC): SRCDIR=$$($(2)_OVERRIDE_SRCDIR) -$$($(2)_TARGET_RSYNC): PKG=$(2) -$$($(2)_TARGET_PATCH): PKG=$(2) -$$($(2)_TARGET_PATCH): RAWNAME=$$(patsubst host-%,%,$(1)) -$$($(2)_TARGET_PATCH): PKGDIR=$(pkgdir) -$$($(2)_TARGET_EXTRACT): PKG=$(2) -$$($(2)_TARGET_SOURCE): PKG=$(2) -$$($(2)_TARGET_SOURCE): PKGDIR=$(pkgdir) -$$($(2)_TARGET_ACTUAL_SOURCE): PKG=$(2) -$$($(2)_TARGET_ACTUAL_SOURCE): PKGDIR=$(pkgdir) -$$($(2)_TARGET_DIRCLEAN): PKG=$(2) -$$($(2)_TARGET_DIRCLEAN): NAME=$(1) - -# Compute the name of the Kconfig option that correspond to the -# package being enabled. We handle three cases: the special Linux -# kernel case, the bootloaders case, and the normal packages case. -# Virtual packages are handled separately (see below). -ifeq ($(1),linux) -$(2)_KCONFIG_VAR = BR2_LINUX_KERNEL -else ifneq ($$(filter boot/% $$(foreach dir,$$(BR2_EXTERNAL_DIRS),$$(dir)/boot/%),$(pkgdir)),) -$(2)_KCONFIG_VAR = BR2_TARGET_$(2) -else ifneq ($$(filter toolchain/% $$(foreach dir,$$(BR2_EXTERNAL_DIRS),$$(dir)/toolchain/%),$(pkgdir)),) -$(2)_KCONFIG_VAR = BR2_$(2) -else -$(2)_KCONFIG_VAR = BR2_PACKAGE_$(2) -endif - -# legal-info: declare dependencies and set values used later for the manifest -ifneq ($$($(2)_LICENSE_FILES),) -$(2)_MANIFEST_LICENSE_FILES = $$($(2)_LICENSE_FILES) -endif - -# We need to extract and patch a package to be able to retrieve its -# license files (if any) and the list of patches applied to it (if -# any). -$(1)-legal-info: $(1)-patch - -# We only save the sources of packages we want to redistribute, that are -# non-overriden (local or true override). -ifeq ($$($(2)_REDISTRIBUTE),YES) -ifeq ($$($(2)_OVERRIDE_SRCDIR),) -# Packages that have a tarball need it downloaded beforehand -$(1)-legal-info: $(1)-source $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4))) -endif -endif - -# legal-info: produce legally relevant info. -$(1)-legal-info: PKG=$(2) -$(1)-legal-info: - @$$(call MESSAGE,"Collecting legal info") -# Packages without a source are assumed to be part of Buildroot, skip them. - $$(foreach hook,$$($(2)_PRE_LEGAL_INFO_HOOKS),$$(call $$(hook))$$(sep)) -ifneq ($$(call qstrip,$$($(2)_SOURCE)),) - -# Save license files if defined -# We save the license files for any kind of package: normal, local, -# overridden, or non-redistributable alike. -# The reason to save license files even for no-redistribute packages -# is that the license still applies to the files distributed as part -# of the rootfs, even if the sources are not themselves redistributed. -ifeq ($$(call qstrip,$$($(2)_LICENSE_FILES)),) - $(Q)$$(call legal-warning-pkg,$$($(2)_BASENAME_RAW),cannot save license ($(2)_LICENSE_FILES not defined)) -else - $(Q)$$(foreach F,$$($(2)_LICENSE_FILES),$$(call legal-license-file,$$($(2)_RAWNAME),$$($(2)_BASENAME_RAW),$$($(2)_HASH_FILE),$$(F),$$($(2)_DIR)/$$(F),$$(call UPPERCASE,$(4)))$$(sep)) -endif # license files - -ifeq ($$($(2)_SITE_METHOD),local) -# Packages without a tarball: don't save and warn - @$$(call legal-warning-nosource,$$($(2)_RAWNAME),local) - -else ifneq ($$($(2)_OVERRIDE_SRCDIR),) - @$$(call legal-warning-nosource,$$($(2)_RAWNAME),override) - -else -# Other packages - -ifeq ($$($(2)_REDISTRIBUTE),YES) -# Save the source tarball and any extra downloads, but not -# patches, as they are handled specially afterwards. - $$(foreach e,$$($(2)_ACTUAL_SOURCE_TARBALL) $$(notdir $$($(2)_EXTRA_DOWNLOADS)),\ - $$(Q)support/scripts/hardlink-or-copy \ - $$($(2)_DL_DIR)/$$(e) \ - $$($(2)_REDIST_SOURCES_DIR)$$(sep)) -# Save patches and generate the series file - $$(Q)while read f; do \ - support/scripts/hardlink-or-copy \ - $$$${f} \ - $$($(2)_REDIST_SOURCES_DIR) || exit 1; \ - printf "%s\n" "$$$${f##*/}" >>$$($(2)_REDIST_SOURCES_DIR)/series || exit 1; \ - done <$$($(2)_DIR)/.applied_patches_list -endif # redistribute - -endif # other packages - @$$(call legal-manifest,$$(call UPPERCASE,$(4)),$$($(2)_RAWNAME),$$($(2)_VERSION),$$(subst $$(space)$$(comma),$$(comma),$$($(2)_LICENSE)),$$($(2)_MANIFEST_LICENSE_FILES),$$($(2)_ACTUAL_SOURCE_TARBALL),$$($(2)_ACTUAL_SOURCE_SITE),$$(call legal-deps,$(1))) -endif # ifneq ($$(call qstrip,$$($(2)_SOURCE)),) - $$(foreach hook,$$($(2)_POST_LEGAL_INFO_HOOKS),$$(call $$(hook))$$(sep)) - -# add package to the general list of targets if requested by the buildroot -# configuration -ifeq ($$($$($(2)_KCONFIG_VAR)),y) - -# Ensure the calling package is the declared provider for all the virtual -# packages it claims to be an implementation of. -ifneq ($$($(2)_PROVIDES),) -$$(foreach pkg,$$($(2)_PROVIDES),\ - $$(eval $$(call virt-provides-single,$$(pkg),$$(call UPPERCASE,$$(pkg)),$(1))$$(sep))) -endif - -# Register package as a reverse-dependencies of all its dependencies -$$(eval $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),\ - $$(call UPPERCASE,$$(p))_RDEPENDENCIES += $(1)$$(sep))) - -# Ensure unified variable name conventions between all packages Some -# of the variables are used by more than one infrastructure; so, -# rather than duplicating the checks in each infrastructure, we check -# all variables here in pkg-generic, even though pkg-generic should -# have no knowledge of infra-specific variables. -$(eval $(call check-deprecated-variable,$(2)_MAKE_OPT,$(2)_MAKE_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_INSTALL_OPT,$(2)_INSTALL_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_INSTALL_TARGET_OPT,$(2)_INSTALL_TARGET_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_INSTALL_STAGING_OPT,$(2)_INSTALL_STAGING_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_INSTALL_HOST_OPT,$(2)_INSTALL_HOST_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_AUTORECONF_OPT,$(2)_AUTORECONF_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_CONF_OPT,$(2)_CONF_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_BUILD_OPT,$(2)_BUILD_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_GETTEXTIZE_OPT,$(2)_GETTEXTIZE_OPTS)) -$(eval $(call check-deprecated-variable,$(2)_KCONFIG_OPT,$(2)_KCONFIG_OPTS)) - -PACKAGES += $(1) - -ifneq ($$($(2)_PERMISSIONS),) -PACKAGES_PERMISSIONS_TABLE += $$($(2)_PERMISSIONS)$$(sep) -endif -ifneq ($$($(2)_DEVICES),) -PACKAGES_DEVICES_TABLE += $$($(2)_DEVICES)$$(sep) -endif -ifneq ($$($(2)_USERS),) -PACKAGES_USERS += $$($(2)_USERS)$$(sep) -endif -ifneq ($$($(2)_LINUX_CONFIG_FIXUPS),) -PACKAGES_LINUX_CONFIG_FIXUPS += $$($(2)_LINUX_CONFIG_FIXUPS)$$(sep) -endif -TARGET_FINALIZE_HOOKS += $$($(2)_TARGET_FINALIZE_HOOKS) -ROOTFS_PRE_CMD_HOOKS += $$($(2)_ROOTFS_PRE_CMD_HOOKS) -KEEP_PYTHON_PY_FILES += $$($(2)_KEEP_PY_FILES) - -ifneq ($$($(2)_SELINUX_MODULES),) -PACKAGES_SELINUX_MODULES += $$($(2)_SELINUX_MODULES) -endif -PACKAGES_SELINUX_EXTRA_MODULES_DIRS += \ - $$(if $$(wildcard $$($(2)_PKGDIR)/selinux),$$($(2)_PKGDIR)/selinux) - -ifeq ($$($(2)_SITE_METHOD),svn) -DL_TOOLS_DEPENDENCIES += svn -else ifeq ($$($(2)_SITE_METHOD),git) -DL_TOOLS_DEPENDENCIES += git -else ifeq ($$($(2)_SITE_METHOD),bzr) -DL_TOOLS_DEPENDENCIES += bzr -else ifeq ($$($(2)_SITE_METHOD),scp) -DL_TOOLS_DEPENDENCIES += scp ssh -else ifeq ($$($(2)_SITE_METHOD),hg) -DL_TOOLS_DEPENDENCIES += hg -else ifeq ($$($(2)_SITE_METHOD),cvs) -DL_TOOLS_DEPENDENCIES += cvs -endif # SITE_METHOD - -DL_TOOLS_DEPENDENCIES += $$(call extractor-system-dependency,$$($(2)_SOURCE)) - -# Ensure all virtual targets are PHONY. Listed alphabetically. -.PHONY: $(1) \ - $(1)-all-external-deps \ - $(1)-all-legal-info \ - $(1)-all-source \ - $(1)-build \ - $(1)-clean-for-rebuild \ - $(1)-clean-for-reconfigure \ - $(1)-clean-for-reinstall \ - $(1)-configure \ - $(1)-depends \ - $(1)-dirclean \ - $(1)-external-deps \ - $(1)-extract \ - $(1)-graph-depends \ - $(1)-graph-rdepends \ - $(1)-install \ - $(1)-install-host \ - $(1)-install-images \ - $(1)-install-staging \ - $(1)-install-target \ - $(1)-legal-info \ - $(1)-legal-source \ - $(1)-patch \ - $(1)-rebuild \ - $(1)-reconfigure \ - $(1)-reinstall \ - $(1)-rsync \ - $(1)-show-depends \ - $(1)-show-info \ - $(1)-show-version \ - $(1)-source - -ifneq ($$($(2)_SOURCE),) -ifeq ($$($(2)_SITE),) -$$(error $(2)_SITE cannot be empty when $(2)_SOURCE is not) -endif -endif - -ifeq ($$(patsubst %/,ERROR,$$($(2)_SITE)),ERROR) -$$(error $(2)_SITE ($$($(2)_SITE)) cannot have a trailing slash) -endif - -ifneq ($$($(2)_HELP_CMDS),) -HELP_PACKAGES += $(2) -endif - -# Virtual packages are not built but it's useful to allow them to have -# permission/device/user tables and target-finalize/rootfs-pre-cmd hooks. -else ifeq ($$(BR2_PACKAGE_HAS_$(2)),y) # $(2)_KCONFIG_VAR - -ifneq ($$($(2)_PERMISSIONS),) -PACKAGES_PERMISSIONS_TABLE += $$($(2)_PERMISSIONS)$$(sep) -endif -ifneq ($$($(2)_DEVICES),) -PACKAGES_DEVICES_TABLE += $$($(2)_DEVICES)$$(sep) -endif -ifneq ($$($(2)_USERS),) -PACKAGES_USERS += $$($(2)_USERS)$$(sep) -endif -TARGET_FINALIZE_HOOKS += $$($(2)_TARGET_FINALIZE_HOOKS) -ROOTFS_PRE_CMD_HOOKS += $$($(2)_ROOTFS_PRE_CMD_HOOKS) - -endif # $(2)_KCONFIG_VAR -endef # inner-generic-package - -################################################################################ -# generic-package -- the target generator macro for generic packages -################################################################################ - -# In the case of target packages, keep the package name "pkg" -generic-package = $(call inner-generic-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) -# In the case of host packages, turn the package name "pkg" into "host-pkg" -host-generic-package = $(call inner-generic-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) - -# :mode=makefile: diff --git a/buildroot-2021.05/package/pkg-golang.mk b/buildroot-2021.05/package/pkg-golang.mk deleted file mode 100644 index d0724231..00000000 --- a/buildroot-2021.05/package/pkg-golang.mk +++ /dev/null @@ -1,149 +0,0 @@ -################################################################################ -# Golang package infrastructure -# -# This file implements an infrastructure that eases development of package .mk -# files for Go packages. It should be used for all packages that are written in -# go. -# -# See the Buildroot documentation for details on the usage of this -# infrastructure -# -# -# In terms of implementation, this golang infrastructure requires the .mk file -# to only specify metadata information about the package: name, version, -# download URL, etc. -# -# We still allow the package .mk file to override what the different steps are -# doing, if needed. For example, if _BUILD_CMDS is already defined, it is -# used as the list of commands to perform to build the package, instead of the -# default golang behavior. The package can also define some post operation -# hooks. -# -################################################################################ - -GO_BIN = $(HOST_DIR)/bin/go - -################################################################################ -# inner-golang-package -- defines how the configuration, compilation and -# installation of a Go package should be done, implements a few hooks to tune -# the build process for Go specificities and calls the generic package -# infrastructure to generate the necessary make targets -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix for host -# packages -# argument 3 is the uppercase package name, without the HOST_ prefix for host -# packages -# argument 4 is the type (target or host) -# -################################################################################ - -define inner-golang-package - -$(2)_BUILD_OPTS += \ - -ldflags "$$($(2)_LDFLAGS)" \ - -tags "$$($(2)_TAGS)" \ - -trimpath \ - -p $(PARALLEL_JOBS) - -# Target packages need the Go compiler on the host. -$(2)_DEPENDENCIES += host-go - -$(2)_BUILD_TARGETS ?= . - -# If the build target is just ".", then we assume the binary to be -# produced is named after the package. If however, a build target has -# been specified, we assume that the binaries to be produced are named -# after each build target building them (below in _BUILD_CMDS). -ifeq ($$($(2)_BUILD_TARGETS),.) -$(2)_BIN_NAME ?= $(1) -endif - -$(2)_INSTALL_BINS ?= $(1) - -# Source files in Go usually use an import path resolved around -# domain/vendor/software. We infer domain/vendor/software from the upstream URL -# of the project. -$(2)_SRC_DOMAIN = $$(call domain,$$($(2)_SITE)) -$(2)_SRC_VENDOR = $$(word 1,$$(subst /, ,$$(call notdomain,$$($(2)_SITE)))) -$(2)_SRC_SOFTWARE = $$(word 2,$$(subst /, ,$$(call notdomain,$$($(2)_SITE)))) - -# $(2)_GOMOD is the root Go module path for the project, inferred if not set. -# If the go.mod file does not exist, one is written with this root path. -$(2)_GOMOD ?= $$($(2)_SRC_DOMAIN)/$$($(2)_SRC_VENDOR)/$$($(2)_SRC_SOFTWARE) - -# Generate a go.mod file if it doesn't exist. Note: Go is configured -# to use the "vendor" dir and not make network calls. -define $(2)_GEN_GOMOD - if [ ! -f $$(@D)/go.mod ]; then \ - printf "module $$($(2)_GOMOD)\n" > $$(@D)/go.mod; \ - fi -endef -$(2)_POST_PATCH_HOOKS += $(2)_GEN_GOMOD - -# Build step. Only define it if not already defined by the package .mk -# file. -ifndef $(2)_BUILD_CMDS -ifeq ($(4),target) - -ifeq ($(BR2_STATIC_LIBS),y) -$(2)_LDFLAGS += -extldflags '-static' -endif - -# Build package for target -define $(2)_BUILD_CMDS - $$(foreach d,$$($(2)_BUILD_TARGETS),\ - cd $$(@D); \ - $$(HOST_GO_TARGET_ENV) \ - $$($(2)_GO_ENV) \ - $$(GO_BIN) build -v $$($(2)_BUILD_OPTS) \ - -o $$(@D)/bin/$$(or $$($(2)_BIN_NAME),$$(notdir $$(d))) \ - $$($(2)_GOMOD)/$$(d) - ) -endef -else -# Build package for host -define $(2)_BUILD_CMDS - $$(foreach d,$$($(2)_BUILD_TARGETS),\ - cd $$(@D); \ - $$(HOST_GO_HOST_ENV) \ - $$($(2)_GO_ENV) \ - $$(GO_BIN) build -v $$($(2)_BUILD_OPTS) \ - -o $$(@D)/bin/$$(or $$($(2)_BIN_NAME),$$(notdir $$(d))) \ - $$($(2)_GOMOD)/$$(d) - ) -endef -endif -endif - -# Target installation step. Only define it if not already defined by the -# package .mk file. -ifndef $(2)_INSTALL_TARGET_CMDS -define $(2)_INSTALL_TARGET_CMDS - $$(foreach d,$$($(2)_INSTALL_BINS),\ - $(INSTALL) -D -m 0755 $$(@D)/bin/$$(d) $$(TARGET_DIR)/usr/bin/$$(d) - ) -endef -endif - -# Host installation step -ifndef $(2)_INSTALL_CMDS -define $(2)_INSTALL_CMDS - $$(foreach d,$$($(2)_INSTALL_BINS),\ - $(INSTALL) -D -m 0755 $$(@D)/bin/$$(d) $$(HOST_DIR)/bin/$$(d) - ) -endef -endif - -# Call the generic package infrastructure to generate the necessary make -# targets -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -endef # inner-golang-package - -################################################################################ -# golang-package -- the target generator macro for Go packages -################################################################################ - -golang-package = $(call inner-golang-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) -host-golang-package = $(call inner-golang-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) diff --git a/buildroot-2021.05/package/pkg-kconfig.mk b/buildroot-2021.05/package/pkg-kconfig.mk deleted file mode 100644 index dd727b72..00000000 --- a/buildroot-2021.05/package/pkg-kconfig.mk +++ /dev/null @@ -1,307 +0,0 @@ -################################################################################ -# Kconfig package infrastructure -# -# This file implements an infrastructure that eases development of -# package .mk files for packages that use kconfig for configuration files. -# It is based on the generic-package infrastructure, and inherits all of its -# features. -# -# See the Buildroot documentation for details on the usage of this -# infrastructure. -# -################################################################################ - -# Macro to update back the custom (def)config file -# $(1): file to copy from -define kconfig-package-update-config - @$(if $($(PKG)_KCONFIG_FRAGMENT_FILES), \ - echo "Unable to perform $(@) when fragment files are set"; exit 1) - @$(if $($(PKG)_KCONFIG_DEFCONFIG), \ - echo "Unable to perform $(@) when using a defconfig rule"; exit 1) - $(Q)if [ -d $($(PKG)_KCONFIG_FILE) ]; then \ - echo "Unable to perform $(@) when $($(PKG)_KCONFIG_FILE) is a directory"; \ - exit 1; \ - fi - $(Q)mkdir -p $(dir $($(PKG)_KCONFIG_FILE)) - cp -f $($(PKG)_DIR)/$(1) $($(PKG)_KCONFIG_FILE) - $(Q)touch --reference $($(PKG)_DIR)/$($(PKG)_KCONFIG_STAMP_DOTCONFIG) $($(PKG)_KCONFIG_FILE) -endef - -PKG_KCONFIG_COMMON_OPTS = \ - HOSTCC="$(HOSTCC_NOCCACHE)" - -# Macro to save the defconfig file -# $(1): the name of the package in upper-case letters -define kconfig-package-savedefconfig - $($(1)_MAKE_ENV) $($(1)_MAKE) -C $($(1)_DIR) \ - $(PKG_KCONFIG_COMMON_OPTS) $($(1)_KCONFIG_OPTS) savedefconfig -endef - -# The correct way to regenerate a .config file is to use 'make olddefconfig'. -# For historical reasons, the target name is 'oldnoconfig' between Linux kernel -# versions 2.6.36 and 3.6, and remains as an alias in later versions. -# In older versions, and in some other projects that use kconfig, the target is -# not supported at all, and we use 'yes "" | make oldconfig' as a fallback -# only, as this can fail in complex cases. -# $(1): the name of the package in upper-case letters -define kconfig-package-regen-dot-config - $(if $(filter olddefconfig,$($(1)_KCONFIG_RULES)), - $(Q)$($(1)_KCONFIG_MAKE) olddefconfig, - $(if $(filter oldnoconfig,$($(1)_KCONFIG_RULES)), - $(Q)$($(1)_KCONFIG_MAKE) oldnoconfig, - $(Q)(yes "" | $($(1)_KCONFIG_MAKE) oldconfig))) -endef - -# Macro to create a .config file where all given fragments are merged into. -# $(1): the name of the package in upper-case letters -# $(2): name of the .config file -# $(3): fragment files to merge -define kconfig-package-merge-config - $(Q)$(if $($(1)_KCONFIG_DEFCONFIG),\ - $($(1)_KCONFIG_MAKE) $($(1)_KCONFIG_DEFCONFIG),\ - $(INSTALL) -m 0644 -D $($(1)_KCONFIG_FILE) $(2)) - $(Q)support/kconfig/merge_config.sh -m -O $(dir $(2)) $(2) $(3) - $(call kconfig-package-regen-dot-config,$(1)) -endef - -################################################################################ -# inner-kconfig-package -- generates the make targets needed to support a -# kconfig package -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -# argument 3 is the uppercase package name, without the HOST_ prefix -# for host packages -# argument 4 is the type (target or host) -################################################################################ - -define inner-kconfig-package - -# Register the kconfig dependencies as regular dependencies, so that -# they are also accounted for in the generated graphs. -$(2)_DEPENDENCIES += $$($(2)_KCONFIG_DEPENDENCIES) - -# Call the generic package infrastructure to generate the necessary -# make targets. -# Note: this must be done _before_ attempting to use $$($(2)_DIR) in a -# dependency expression -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -# Default values -$(2)_MAKE ?= $$(MAKE) -$(2)_KCONFIG_EDITORS ?= menuconfig -$(2)_KCONFIG_OPTS ?= -$(2)_KCONFIG_FIXUP_CMDS ?= -$(2)_KCONFIG_FRAGMENT_FILES ?= -$(2)_KCONFIG_DOTCONFIG ?= .config - -# Do not use $(2)_KCONFIG_DOTCONFIG as stamp file, because the package -# buildsystem (e.g. linux >= 4.19) may touch it, thus rendering our -# timestamps out of date, thus re-trigerring the build of the package. -# Instead, use a specific file of our own as timestamp. -$(2)_KCONFIG_STAMP_DOTCONFIG = .stamp_dotconfig - -# The config file as well as the fragments could be in-tree, so before -# depending on them the package should be extracted (and patched) first. -# -# Since those files only have a order-only dependency, make would treat -# any missing one as a "force" target: -# https://www.gnu.org/software/make/manual/make.html#Force-Targets -# and would forcibly any rule that depend on those files, causing a -# rebuild of the kernel each time make is called. -# -# So, we provide a recipe that checks all of those files exist, to -# overcome that standard make behaviour. -# -$$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES): | $(1)-patch - for f in $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES); do \ - if [ ! -f "$$$${f}" ]; then \ - printf "Kconfig file or fragment '%s' for '%s' does not exist\n" "$$$${f}" "$(1)"; \ - exit 1; \ - fi; \ - done - -$(2)_KCONFIG_MAKE = \ - $$($(2)_MAKE_ENV) $$($(2)_MAKE) -C $$($(2)_DIR) \ - $$(PKG_KCONFIG_COMMON_OPTS) $$($(2)_KCONFIG_OPTS) - -# $(2)_KCONFIG_MAKE may already rely on shell expansion. As the $() syntax -# of the shell conflicts with Make's own syntax, this means that backticks -# are used with those shell constructs. Unfortunately, the backtick syntax -# does not nest, and we need to use Make instead of the shell to handle -# conditions. - -# A recursively expanded variable is necessary, to be sure that the shell -# command is called when the rule is processed during the build and not -# when the rule is created when parsing all packages. -$(2)_KCONFIG_RULES = \ - $$(shell $$($(2)_KCONFIG_MAKE) -pn config 2>/dev/null | \ - sed 's/^\([_0-9a-zA-Z]*config\):.*/\1/ p; d') - -# The specified source configuration file and any additional configuration file -# fragments are merged together to .config, after the package has been patched. -# Since the file could be a defconfig file it needs to be expanded to a -# full .config first. -$$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG): $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES) - $$(call prepare-per-package-directory,$$($(2)_KCONFIG_DEPENDENCIES)) - $$(call kconfig-package-merge-config,$(2),$$(@D)/$$($(2)_KCONFIG_DOTCONFIG),\ - $$($(2)_KCONFIG_FRAGMENT_FILES)) - $$(Q)touch $$(@D)/$$($(2)_KCONFIG_STAMP_DOTCONFIG) - -# If _KCONFIG_FILE or _KCONFIG_FRAGMENT_FILES exists, this dependency is -# already implied, but if we only have a _KCONFIG_DEFCONFIG we have to add -# it explicitly. It doesn't hurt to always have it though. -$$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG): | $(1)-patch - -# Some packages may need additional tools to be present by the time their -# kconfig structure is parsed (e.g. the linux kernel may need to call to -# the compiler to test its features). -$$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG): | $$($(2)_KCONFIG_DEPENDENCIES) - -# In order to get a usable, consistent configuration, some fixup may be needed. -# The exact rules are specified by the package .mk file. -define $(2)_FIXUP_DOT_CONFIG - $$($(2)_KCONFIG_FIXUP_CMDS) - $$(call kconfig-package-regen-dot-config,$(2)) - $$(Q)touch $$($(2)_DIR)/.stamp_kconfig_fixup_done -endef - -$$($(2)_DIR)/.stamp_kconfig_fixup_done: PKG=$(2) -$$($(2)_DIR)/.stamp_kconfig_fixup_done: $$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG) - $$($(2)_FIXUP_DOT_CONFIG) - -# Before running configure, the configuration file should be present and fixed -$$($(2)_TARGET_CONFIGURE): $$($(2)_DIR)/.stamp_kconfig_fixup_done - -# Force olddefconfig again on -reconfigure -$(1)-clean-for-reconfigure: $(1)-clean-kconfig-for-reconfigure - -$(1)-clean-kconfig-for-reconfigure: - rm -f $$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG) - -# Only enable the foo-*config targets when the package is actually enabled. -# Note: the variable $(2)_KCONFIG_VAR is not related to the kconfig -# infrastructure, but defined by pkg-generic.mk. The generic infrastructure is -# already called above, so we can effectively use this variable. -ifeq ($$($$($(2)_KCONFIG_VAR)),y) - -ifeq ($$(BR_BUILDING),y) -# Either FOO_KCONFIG_FILE or FOO_KCONFIG_DEFCONFIG is required... -ifeq ($$(or $$($(2)_KCONFIG_FILE),$$($(2)_KCONFIG_DEFCONFIG)),) -$$(error Internal error: no value specified for $(2)_KCONFIG_FILE or $(2)_KCONFIG_DEFCONFIG) -endif -# ... but not both: -ifneq ($$(and $$($(2)_KCONFIG_FILE),$$($(2)_KCONFIG_DEFCONFIG)),) -$$(error Internal error: $(2)_KCONFIG_FILE and $(2)_KCONFIG_DEFCONFIG are mutually exclusive but both are defined) -endif -endif - -# For the configurators, we do want to use the system-provided host -# tools, not the ones we build. This is particularly true for -# pkg-config; if we use our pkg-config (from host-pkgconf), then it -# would not look for the .pc from the host, but we do need them, -# especially to find ncurses, GTK+, Qt (resp. for menuconfig and -# nconfig, gconfig, xconfig). -# So we simply remove our PATH and PKG_CONFIG_* variables. -$(2)_CONFIGURATOR_MAKE_ENV = \ - $$(filter-out PATH=% PKG_CONFIG=% PKG_CONFIG_SYSROOT_DIR=% \ - PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=% PKG_CONFIG_ALLOW_SYSTEM_LIBS=% \ - PKG_CONFIG_LIBDIR=%,$$($(2)_MAKE_ENV)) \ - PKG_CONFIG_PATH="$(HOST_PKG_CONFIG_PATH)" - -# Configuration editors (menuconfig, ...) -# -# We need to apply the configuration fixups right after a configuration -# editor exits, so that it is possible to save the configuration right -# after exiting an editor, and so the user always sees a .config file -# that is clean wrt. our requirements. -# -# Because commands in $(1)_FIXUP_KCONFIG are probably using $(@D), we -# need to have a valid @D set. But, because the configurators rules are -# not real files and do not contain the path to the package build dir, -# @D would be just '.' in this case. So, we use an intermediate rule -# with a stamp-like file which path is in the package build dir, so we -# end up having a valid @D. -# -$$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS)): $(1)-%: $$($(2)_DIR)/.kconfig_editor_% -$$($(2)_DIR)/.kconfig_editor_%: PKG=$(2) -$$($(2)_DIR)/.kconfig_editor_%: $$($(2)_DIR)/.stamp_kconfig_fixup_done - $$($(2)_CONFIGURATOR_MAKE_ENV) $$($(2)_MAKE) -C $$($(2)_DIR) \ - $$(PKG_KCONFIG_COMMON_OPTS) $$($(2)_KCONFIG_OPTS) $$(*) - rm -f $$($(2)_DIR)/.stamp_{kconfig_fixup_done,configured,built} - rm -f $$($(2)_DIR)/.stamp_{target,staging,images}_installed - $$($(2)_FIXUP_DOT_CONFIG) - -# Saving back the configuration -# -# Ideally, that should directly depend on $$($(2)_DIR)/.stamp_kconfig_fixup_done, -# but that breaks the use-case in PR-8156 (from a clean tree): -# make menuconfig <- enable kernel, use an in-tree defconfig, save and exit -# make linux-menuconfig <- enable/disable whatever option, save and exit -# make menuconfig <- change to use a custom defconfig file, set a path, save and exit -# make linux-update-config <- should save to the new custom defconfig file -# -# Because of that use-case, saving the configuration can *not* directly -# depend on the stamp file, because it itself depends on the .config, -# which in turn depends on the (newly-set an non-existent) custom -# defconfig file. -# -# Instead, we use a PHONY rule that will catch that situation. -# -$(1)-check-configuration-done: - @if [ ! -f $$($(2)_DIR)/.stamp_kconfig_fixup_done ]; then \ - echo "$(1) is not yet configured"; \ - exit 1; \ - fi - -$(1)-savedefconfig: $(1)-check-configuration-done - $$(call kconfig-package-savedefconfig,$(2)) - -# Target to copy back the configuration to the source configuration file -# Even though we could use 'cp --preserve-timestamps' here, the separate -# cp and 'touch --reference' is used for symmetry with $(1)-update-defconfig. -$(1)-update-config: PKG=$(2) -$(1)-update-config: $(1)-check-configuration-done - $$(call kconfig-package-update-config,$$($(2)_KCONFIG_DOTCONFIG)) - -# Note: make sure the timestamp of the stored configuration is not newer than -# the .config to avoid a useless rebuild. Note that, contrary to -# $(1)-update-config, the reference for 'touch' is _not_ the file from which -# we copy. -$(1)-update-defconfig: PKG=$(2) -$(1)-update-defconfig: $(1)-savedefconfig - $$(call kconfig-package-update-config,defconfig) - -# Target to output differences between the configuration obtained via the -# defconfig + fragments (if any) and the current configuration. -# Note: it preserves the timestamp of the current configuration when moving it -# around. -$(1)-diff-config: $(1)-check-configuration-done - $$(Q)cp -a $$($(2)_DIR)/$$($(2)_KCONFIG_DOTCONFIG) $$($(2)_DIR)/.config.dc.bak - $$(call kconfig-package-merge-config,$(2),$$($(2)_DIR)/$$($(2)_KCONFIG_DOTCONFIG),\ - $$($(2)_KCONFIG_FRAGMENT_FILES)) - $$(Q)utils/diffconfig $$($(2)_DIR)/$$($(2)_KCONFIG_DOTCONFIG) \ - $$($(2)_DIR)/.config.dc.bak - $$(Q)cp -a $$($(2)_DIR)/.config.dc.bak $$($(2)_DIR)/$$($(2)_KCONFIG_DOTCONFIG) - $$(Q)rm -f $$($(2)_DIR)/.config.dc.bak - - -endif # package enabled - -.PHONY: \ - $(1)-update-config \ - $(1)-update-defconfig \ - $(1)-diff-config \ - $(1)-savedefconfig \ - $(1)-check-configuration-done \ - $$($(2)_DIR)/.kconfig_editor_% \ - $$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS)) - -endef # inner-kconfig-package - -################################################################################ -# kconfig-package -- the target generator macro for kconfig packages -################################################################################ - -kconfig-package = $(call inner-kconfig-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) diff --git a/buildroot-2021.05/package/pkg-meson.mk b/buildroot-2021.05/package/pkg-meson.mk deleted file mode 100644 index 18574505..00000000 --- a/buildroot-2021.05/package/pkg-meson.mk +++ /dev/null @@ -1,215 +0,0 @@ -################################################################################ -# Meson package infrastructure -# -# This file implements an infrastructure that eases development of -# package .mk files for Meson packages. It should be used for all -# packages that use Meson as their build system. -# -# See the Buildroot documentation for details on the usage of this -# infrastructure -# -# In terms of implementation, this Meson infrastructure requires -# the .mk file to only specify metadata information about the -# package: name, version, download URL, etc. -# -# We still allow the package .mk file to override what the different -# steps are doing, if needed. For example, if _BUILD_CMDS is -# already defined, it is used as the list of commands to perform to -# build the package, instead of the default Meson behaviour. The -# package can also define some post operation hooks. -# -################################################################################ - -# -# Pass PYTHONNOUSERSITE environment variable when invoking Meson or Ninja, so -# $(HOST_DIR)/bin/python3 will not look for Meson modules in -# $HOME/.local/lib/python3.x/site-packages -# -MESON = PYTHONNOUSERSITE=y $(HOST_DIR)/bin/meson -NINJA = PYTHONNOUSERSITE=y $(HOST_DIR)/bin/ninja -NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS) - -################################################################################ -# inner-meson-package -- defines how the configuration, compilation and -# installation of a Meson package should be done, implements a few hooks to -# tune the build process and calls the generic package infrastructure to -# generate the necessary make targets -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -# argument 3 is the uppercase package name, without the HOST_ prefix -# for host packages -# argument 4 is the type (target or host) -################################################################################ - -define inner-meson-package - -$(2)_CONF_ENV ?= -$(2)_CONF_OPTS ?= -$(2)_NINJA_ENV ?= - -# -# Configure step. Only define it if not already defined by the package -# .mk file. And take care of the differences between host and target -# packages. -# -ifndef $(2)_CONFIGURE_CMDS -ifeq ($(4),target) - -$(2)_CFLAGS ?= $$(TARGET_CFLAGS) -$(2)_LDFLAGS ?= $$(TARGET_LDFLAGS) -$(2)_CXXFLAGS ?= $$(TARGET_CXXFLAGS) - -# Configure package for target -# -# -define $(2)_CONFIGURE_CMDS - rm -rf $$($$(PKG)_SRCDIR)/build - mkdir -p $$($$(PKG)_SRCDIR)/build - sed -e 's%@TARGET_CROSS@%$$(TARGET_CROSS)%g' \ - -e 's%@TARGET_ARCH@%$$(HOST_MESON_TARGET_CPU_FAMILY)%g' \ - -e 's%@TARGET_CPU@%$$(HOST_MESON_TARGET_CPU)%g' \ - -e 's%@TARGET_ENDIAN@%$$(HOST_MESON_TARGET_ENDIAN)%g' \ - -e "s%@TARGET_CFLAGS@%$$(call make-sq-comma-list,$$($(2)_CFLAGS))%g" \ - -e "s%@TARGET_LDFLAGS@%$$(call make-sq-comma-list,$$($(2)_LDFLAGS))%g" \ - -e "s%@TARGET_CXXFLAGS@%$$(call make-sq-comma-list,$$($(2)_CXXFLAGS))%g" \ - -e 's%@HOST_DIR@%$$(HOST_DIR)%g' \ - -e 's%@STAGING_DIR@%$$(STAGING_DIR)%g' \ - -e 's%@STATIC@%$$(if $$(BR2_STATIC_LIBS),true,false)%g' \ - -e "/^\[binaries\]$$$$/s:$$$$:$$(foreach x,$$($(2)_MESON_EXTRA_BINARIES),\n$$(x)):" \ - -e "/^\[properties\]$$$$/s:$$$$:$$(foreach x,$$($(2)_MESON_EXTRA_PROPERTIES),\n$$(x)):" \ - package/meson/cross-compilation.conf.in \ - > $$($$(PKG)_SRCDIR)/build/cross-compilation.conf - PATH=$$(BR_PATH) \ - CC_FOR_BUILD="$$(HOSTCC)" \ - CXX_FOR_BUILD="$$(HOSTCXX)" \ - $$($$(PKG)_CONF_ENV) \ - $$(MESON) \ - --prefix=/usr \ - --libdir=lib \ - --default-library=$(if $(BR2_STATIC_LIBS),static,shared) \ - --buildtype=$(if $(BR2_ENABLE_DEBUG),debug,release) \ - --cross-file=$$($$(PKG)_SRCDIR)/build/cross-compilation.conf \ - -Db_pie=false \ - -Dstrip=false \ - -Dbuild.pkg_config_path=$$(HOST_DIR)/lib/pkgconfig \ - $$($$(PKG)_CONF_OPTS) \ - $$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build -endef -else - -# Configure package for host -define $(2)_CONFIGURE_CMDS - rm -rf $$($$(PKG)_SRCDIR)/build - mkdir -p $$($$(PKG)_SRCDIR)/build - $$(HOST_CONFIGURE_OPTS) \ - $$($$(PKG)_CONF_ENV) $$(MESON) \ - --prefix=$$(HOST_DIR) \ - --libdir=lib \ - --sysconfdir=$$(HOST_DIR)/etc \ - --localstatedir=$$(HOST_DIR)/var \ - --default-library=shared \ - --buildtype=release \ - -Dstrip=true \ - $$($$(PKG)_CONF_OPTS) \ - $$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build -endef -endif -endif - -$(2)_DEPENDENCIES += host-meson - -# -# Build step. Only define it if not already defined by the package .mk -# file. -# -ifndef $(2)_BUILD_CMDS -ifeq ($(4),target) -define $(2)_BUILD_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_NINJA_ENV) \ - $$(NINJA) $$(NINJA_OPTS) $$($$(PKG)_NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build -endef -else -define $(2)_BUILD_CMDS - $$(HOST_MAKE_ENV) $$($$(PKG)_NINJA_ENV) \ - $$(NINJA) $$(NINJA_OPTS) $$($$(PKG)_NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build -endef -endif -endif - -# -# Host installation step. Only define it if not already defined by the -# package .mk file. -# -ifndef $(2)_INSTALL_CMDS -define $(2)_INSTALL_CMDS - $$(HOST_MAKE_ENV) $$($$(PKG)_NINJA_ENV) \ - $$(NINJA) $$(NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build install -endef -endif - -# -# Staging installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_STAGING_CMDS -define $(2)_INSTALL_STAGING_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_NINJA_ENV) DESTDIR=$$(STAGING_DIR) \ - $$(NINJA) $$(NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build install -endef -endif - -# -# Target installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_TARGET_CMDS -define $(2)_INSTALL_TARGET_CMDS - $$(TARGET_MAKE_ENV) $$($$(PKG)_NINJA_ENV) DESTDIR=$$(TARGET_DIR) \ - $$(NINJA) $$(NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build install -endef -endif - -# Call the generic package infrastructure to generate the necessary -# make targets -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -endef - -################################################################################ -# meson-package -- the target generator macro for Meson packages -################################################################################ - -meson-package = $(call inner-meson-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) -host-meson-package = $(call inner-meson-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) - -################################################################################ -# Generation of the Meson cross-compilation.conf file -################################################################################ - -# Generate a Meson cross-compilation.conf suitable for use with the -# SDK; also install the file as a template for users to add their -# own flags if they need to. -define PKG_MESON_INSTALL_CROSS_CONF - mkdir -p $(HOST_DIR)/etc/meson - sed -e 's%@TARGET_CROSS@%$(TARGET_CROSS)%g' \ - -e 's%@TARGET_ARCH@%$(HOST_MESON_TARGET_CPU_FAMILY)%g' \ - -e 's%@TARGET_CPU@%$(HOST_MESON_TARGET_CPU)%g' \ - -e 's%@TARGET_ENDIAN@%$(HOST_MESON_TARGET_ENDIAN)%g' \ - -e "s%@TARGET_CFLAGS@%$(call make-sq-comma-list,$(TARGET_CFLAGS))@PKG_TARGET_CFLAGS@%g" \ - -e "s%@TARGET_LDFLAGS@%$(call make-sq-comma-list,$(TARGET_LDFLAGS))@PKG_TARGET_CFLAGS@%g" \ - -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$(TARGET_CXXFLAGS))@PKG_TARGET_CFLAGS@%g" \ - -e 's%@HOST_DIR@%$(HOST_DIR)%g' \ - -e 's%@STAGING_DIR@%$(STAGING_DIR)%g' \ - -e 's%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g' \ - $(HOST_MESON_PKGDIR)/cross-compilation.conf.in \ - > $(HOST_DIR)/etc/meson/cross-compilation.conf.in - sed -e 's%@PKG_TARGET_CFLAGS@%%g' \ - -e 's%@PKG_TARGET_LDFLAGS@%%g' \ - -e 's%@PKG_TARGET_CXXFLAGS@%%g' \ - $(HOST_DIR)/etc/meson/cross-compilation.conf.in \ - > $(HOST_DIR)/etc/meson/cross-compilation.conf -endef - -TOOLCHAIN_TARGET_FINALIZE_HOOKS += PKG_MESON_INSTALL_CROSS_CONF diff --git a/buildroot-2021.05/package/pkg-python.mk b/buildroot-2021.05/package/pkg-python.mk deleted file mode 100644 index 59a48e5a..00000000 --- a/buildroot-2021.05/package/pkg-python.mk +++ /dev/null @@ -1,315 +0,0 @@ -################################################################################ -# Python package infrastructure -# -# This file implements an infrastructure that eases development of -# package .mk files for Python packages. It should be used for all -# packages that use Python setup.py/setuptools as their build system. -# -# See the Buildroot documentation for details on the usage of this -# infrastructure -# -# In terms of implementation, this Python infrastructure requires the -# .mk file to only specify metadata information about the package: -# name, version, download URL, etc. -# -# We still allow the package .mk file to override what the different -# steps are doing, if needed. For example, if _BUILD_CMDS is -# already defined, it is used as the list of commands to perform to -# build the package, instead of the default Python behaviour. The -# package can also define some post operation hooks. -# -################################################################################ - -# basename does not evaluate if a file exists, so we must check to ensure -# the _sysconfigdata__linux_*.py file exists. The "|| true" is added to return -# an empty string if the file does not exist. -PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py -PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` - -# Target distutils-based packages -PKG_PYTHON_DISTUTILS_ENV = \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - LDSHARED="$(TARGET_CROSS)gcc -shared" \ - PYTHONPATH="$(if $(BR2_PACKAGE_PYTHON3),$(PYTHON3_PATH),$(PYTHON_PATH))" \ - PYTHONNOUSERSITE=1 \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr - -PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ - --executable=/usr/bin/python - -PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ - --prefix=/usr \ - --root=$(TARGET_DIR) - -PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ - --prefix=/usr \ - --root=$(STAGING_DIR) - -# Host distutils-based packages -HOST_PKG_PYTHON_DISTUTILS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - $(HOST_CONFIGURE_OPTS) - -HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ - --prefix=$(HOST_DIR) - -# Target setuptools-based packages -PKG_PYTHON_SETUPTOOLS_ENV = \ - _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ - PATH=$(BR_PATH) \ - $(TARGET_CONFIGURE_OPTS) \ - PYTHONPATH="$(if $(BR2_PACKAGE_PYTHON3),$(PYTHON3_PATH),$(PYTHON_PATH))" \ - PYTHONNOUSERSITE=1 \ - _python_sysroot=$(STAGING_DIR) \ - _python_prefix=/usr \ - _python_exec_prefix=/usr - -PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed \ - --root=$(TARGET_DIR) - -PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ - --prefix=/usr \ - --executable=/usr/bin/python \ - --single-version-externally-managed \ - --root=$(STAGING_DIR) - -# Host setuptools-based packages -HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ - PATH=$(BR_PATH) \ - PYTHONNOUSERSITE=1 \ - $(HOST_CONFIGURE_OPTS) - -HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ - --prefix=$(HOST_DIR) \ - --root=/ \ - --single-version-externally-managed - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -define PKG_PYTHON_FIXUP_SYSCONFIGDATA - find $(HOST_DIR)/lib/python* $(STAGING_DIR)/usr/lib/python* \ - -name "_sysconfigdata*.py" | xargs --no-run-if-empty \ - $(SED) "s:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/:g" -endef -endif - -################################################################################ -# inner-python-package -- defines how the configuration, compilation -# and installation of a Python package should be done, implements a -# few hooks to tune the build process and calls the generic package -# infrastructure to generate the necessary make targets -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -# argument 3 is the uppercase package name, without the HOST_ prefix -# for host packages -# argument 4 is the type (target or host) -################################################################################ - -define inner-python-package - -$(2)_ENV ?= -$(2)_BUILD_OPTS ?= -$(2)_INSTALL_OPTS ?= - -ifndef $(2)_SETUP_TYPE - ifdef $(3)_SETUP_TYPE - $(2)_SETUP_TYPE = $$($(3)_SETUP_TYPE) - else - $$(error "$(2)_SETUP_TYPE must be set") - endif -endif - -# Distutils -ifeq ($$($(2)_SETUP_TYPE),distutils) -ifeq ($(4),target) -$(2)_BASE_ENV = $$(PKG_PYTHON_DISTUTILS_ENV) -$(2)_BASE_BUILD_TGT = build -$(2)_BASE_BUILD_OPTS = $$(PKG_PYTHON_DISTUTILS_BUILD_OPTS) -$(2)_BASE_INSTALL_TARGET_OPTS = $$(PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS) -$(2)_BASE_INSTALL_STAGING_OPTS = $$(PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS) -else -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_DISTUTILS_ENV) -$(2)_BASE_BUILD_TGT = build -$(2)_BASE_BUILD_OPTS = -$(2)_BASE_INSTALL_OPTS = $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) -endif -# Setuptools -else ifeq ($$($(2)_SETUP_TYPE),setuptools) -ifeq ($(4),target) -$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) -$(2)_BASE_BUILD_TGT = build -$(2)_BASE_BUILD_OPTS = -$(2)_BASE_INSTALL_TARGET_OPTS = $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) -$(2)_BASE_INSTALL_STAGING_OPTS = $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) -else -$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) -$(2)_BASE_BUILD_TGT = build -$(2)_BASE_BUILD_OPTS = -$(2)_BASE_INSTALL_OPTS = $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) -endif -else -$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils' or 'setuptools'") -endif - -# Target packages need both the python interpreter on the target (for -# runtime) and the python interpreter on the host (for -# compilation). However, host packages only need the python -# interpreter on the host, whose version may be enforced by setting -# the *_NEEDS_HOST_PYTHON variable. -# -# So: -# - for target packages, we always depend on the default python interpreter -# (the one selected by the config); -# - for host packages: -# - if *_NEEDS_HOST_PYTHON is not set, then we depend on use the default -# interperter; -# - otherwise, we depend on the one requested by *_NEEDS_HOST_PYTHON. -# -ifeq ($(4),target) -$(2)_DEPENDENCIES += $$(if $$(BR2_PACKAGE_PYTHON3),host-python3 python3,host-python python) -else -ifeq ($$($(2)_NEEDS_HOST_PYTHON),) -$(2)_DEPENDENCIES += $$(if $$(BR2_PACKAGE_PYTHON3),host-python3,host-python) -else -ifeq ($$($(2)_NEEDS_HOST_PYTHON),python2) -$(2)_DEPENDENCIES += host-python -else ifeq ($$($(2)_NEEDS_HOST_PYTHON),python3) -$(2)_DEPENDENCIES += host-python3 -else -$$(error Incorrect value '$$($(2)_NEEDS_HOST_PYTHON)' for $(2)_NEEDS_HOST_PYTHON) -endif -endif # ($$($(2)_NEEDS_HOST_PYTHON),) -endif # ($(4),target) - -# Setuptools based packages will need setuptools for the host Python -# interpreter (both host and target). -# -# If we have a host package that says "I need Python 3", we install -# setuptools for python3. -# -# If we have a host packge that says "I need Python 2", we install -# setuptools for python2. -# -# If we have a target package, or a host package that doesn't have any -# _NEEDS_HOST_PYTHON, and BR2_PACKAGE_PYTHON3 is used, then -# Python 3.x is the default Python interpreter, so we install -# setuptools for python3. -# -# In all other cases, we install setuptools for python2. Those other -# cases are: a target package or host package with -# BR2_PACKAGE_PYTHON=y, or a host-package with neither -# BR2_PACKAGE_PYTHON3=y or BR2_PACKAGE_PYTHON=y. -ifeq ($$($(2)_SETUP_TYPE),setuptools) -ifeq ($(4):$$($(2)_NEEDS_HOST_PYTHON),host:python3) -$(2)_DEPENDENCIES += $$(if $$(filter host-python3-setuptools,$(1)),,host-python3-setuptools) -else ifeq ($(4):$$($(2)_NEEDS_HOST_PYTHON),host:python2) -$(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) -else ifeq ($$(BR2_PACKAGE_PYTHON3),y) -$(2)_DEPENDENCIES += $$(if $$(filter host-python3-setuptools,$(1)),,host-python3-setuptools) -else -$(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) -endif -endif # SETUP_TYPE - -# Python interpreter to use for building the package. -# -# We may want to specify the python interpreter to be used for building a -# package, especially for host-packages (target packages must be built using -# the same version of the interpreter as the one installed on the target). -# -# So: -# - for target packages, we always use the default python interpreter (which -# is the same version as the one built and installed on the target); -# - for host packages: -# - if *_NEEDS_HOST_PYTHON is not set, then we use use the default -# interperter; -# - otherwise, we use the one requested by *_NEEDS_HOST_PYTHON. -# -ifeq ($(4),target) -$(2)_PYTHON_INTERPRETER = $$(HOST_DIR)/bin/python -else -ifeq ($$($(2)_NEEDS_HOST_PYTHON),) -$(2)_PYTHON_INTERPRETER = $$(HOST_DIR)/bin/python -else -$(2)_PYTHON_INTERPRETER = $$(HOST_DIR)/bin/$$($(2)_NEEDS_HOST_PYTHON) -endif -endif - -$(2)_PRE_CONFIGURE_HOOKS += PKG_PYTHON_FIXUP_SYSCONFIGDATA - -# -# Build step. Only define it if not already defined by the package .mk -# file. -# -ifndef $(2)_BUILD_CMDS -define $(2)_BUILD_CMDS - (cd $$($$(PKG)_BUILDDIR)/; \ - $$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \ - $$($(2)_PYTHON_INTERPRETER) setup.py \ - $$($$(PKG)_BASE_BUILD_TGT) \ - $$($$(PKG)_BASE_BUILD_OPTS) $$($$(PKG)_BUILD_OPTS)) -endef -endif - -# -# Host installation step. Only define it if not already defined by the -# package .mk file. -# -ifndef $(2)_INSTALL_CMDS -define $(2)_INSTALL_CMDS - (cd $$($$(PKG)_BUILDDIR)/; \ - $$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \ - $$($(2)_PYTHON_INTERPRETER) setup.py install \ - $$($$(PKG)_BASE_INSTALL_OPTS) $$($$(PKG)_INSTALL_OPTS)) -endef -endif - -# -# Target installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_TARGET_CMDS -define $(2)_INSTALL_TARGET_CMDS - (cd $$($$(PKG)_BUILDDIR)/; \ - $$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \ - $$($(2)_PYTHON_INTERPRETER) setup.py install --no-compile \ - $$($$(PKG)_BASE_INSTALL_TARGET_OPTS) \ - $$($$(PKG)_INSTALL_TARGET_OPTS)) -endef -endif - -# -# Staging installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_STAGING_CMDS -define $(2)_INSTALL_STAGING_CMDS - (cd $$($$(PKG)_BUILDDIR)/; \ - $$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \ - $$($(2)_PYTHON_INTERPRETER) setup.py install \ - $$($$(PKG)_BASE_INSTALL_STAGING_OPTS) \ - $$($$(PKG)_INSTALL_STAGING_OPTS)) -endef -endif - -# Call the generic package infrastructure to generate the necessary -# make targets -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -endef - -################################################################################ -# python-package -- the target generator macro for Python packages -################################################################################ - -python-package = $(call inner-python-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) -host-python-package = $(call inner-python-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) diff --git a/buildroot-2021.05/package/pkg-qmake.mk b/buildroot-2021.05/package/pkg-qmake.mk deleted file mode 100644 index a77286fe..00000000 --- a/buildroot-2021.05/package/pkg-qmake.mk +++ /dev/null @@ -1,122 +0,0 @@ -################################################################################ -# QMake package infrastructure -# -# This file implements an infrastructure that eases development of package -# .mk files for QMake packages. It should be used for all packages that use -# Qmake as their build system. -# -# See the Buildroot documentation for details on the usage of this -# infrastructure -# -# In terms of implementation, this QMake infrastructure requires the .mk file -# to only specify metadata information about the package: name, version, -# download URL, etc. -# -# We still allow the package .mk file to override what the different steps -# are doing, if needed. For example, if _BUILD_CMDS is already defined, -# it is used as the list of commands to perform to build the package, -# instead of the default QMake behaviour. The package can also define some -# post operation hooks. -# -################################################################################ - -# -# Hook to sync Qt headers -# -define QT_HEADERS_SYNC_HOOK - $(Q)cd $($(PKG)_BUILDDIR) && $(HOST_DIR)/bin/syncqt.pl -version $(QT5_VERSION) -endef - -################################################################################ -# inner-qmake-package -- defines how the configuration, compilation and -# installation of a qmake package should be done, implements a few hooks -# to tune the build process for qmake specifities and calls the generic -# package infrastructure to generate the necessary make targets -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -################################################################################ - -define inner-qmake-package - -$(2)_CONF_ENV ?= -$(2)_CONF_OPTS ?= -$(2)_MAKE_ENV ?= -$(2)_MAKE_OPTS ?= -$(2)_INSTALL_STAGING_OPTS ?= install -$(2)_INSTALL_TARGET_OPTS ?= $$($(2)_INSTALL_STAGING_OPTS) - -ifneq ($(1),qt5base) -$(2)_DEPENDENCIES += qt5base -endif - -ifeq ($$($(2)_SYNC_QT_HEADERS),YES) -$(2)_DEPENDENCIES += host-perl -$(2)_PRE_CONFIGURE_HOOKS += QT_HEADERS_SYNC_HOOK -endif - -# -# Configure step. Only define it if not already defined by the package -# .mk file. -# -ifndef $(2)_CONFIGURE_CMDS -define $(2)_CONFIGURE_CMDS - $$(QT5_QT_CONF_FIXUP) - cd $$($(2)_BUILDDIR) && \ - $$(TARGET_MAKE_ENV) $$($(2)_CONF_ENV) $$(QT5_QMAKE) $$($(2)_CONF_OPTS) -endef -endif - -# -# Build step. Only define it if not already defined by the package .mk -# file. -# -ifndef $(2)_BUILD_CMDS -define $(2)_BUILD_CMDS - $$(TARGET_MAKE_ENV) $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_BUILDDIR) $$($(2)_MAKE_OPTS) -endef -endif - -# -# Staging installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_STAGING_CMDS -define $(2)_INSTALL_STAGING_CMDS - $$(TARGET_MAKE_ENV) $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_BUILDDIR) $$($(2)_INSTALL_STAGING_OPTS) -endef -endif - -# -# Target installation step. Only define it if not already defined by -# the package .mk file. -# -# Unfortunately we can't use INSTALL_ROOT to directly install to TARGET_DIR -# because in a crosscompile setup, the qmake generated install destinations -# are prefixed with the hardcoded sysroot (=STAGING_DIR) and hostprefix -# (=HOST_DIR). -# Instead we set INSTALL_ROOT, which comes before the install path, to a -# temporary folder inside the build directory and effectively install to -# $(@D)/tmp-target-install/$(STAGING_DIR) and $(@D)/tmp-target-install/$(HOST_DIR). -# We subsequently rsync only the files from the temporary staging dir and that -# way exclude files for the build host from target. -# -ifndef $(2)_INSTALL_TARGET_CMDS -define $(2)_INSTALL_TARGET_CMDS - $$(TARGET_MAKE_ENV) $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_BUILDDIR) INSTALL_ROOT=$$($(2)_BUILDDIR)tmp-target-install $$($(2)_INSTALL_TARGET_OPTS) - rsync -arv $$($(2)_BUILDDIR)tmp-target-install$$(STAGING_DIR)/ $$(TARGET_DIR)/ -endef -endif - -# Call the generic package infrastructure to generate the necessary -# make targets -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -endef - -################################################################################ -# qmake-package -- the target generator macro for QMake packages -################################################################################ - -qmake-package = $(call inner-qmake-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) diff --git a/buildroot-2021.05/package/pkg-utils.mk b/buildroot-2021.05/package/pkg-utils.mk deleted file mode 100644 index d0fcdd4e..00000000 --- a/buildroot-2021.05/package/pkg-utils.mk +++ /dev/null @@ -1,240 +0,0 @@ -################################################################################ -# -# This file contains various utility functions used by the package -# infrastructure, or by the packages themselves. -# -################################################################################ - -# -# Manipulation of .config files based on the Kconfig -# infrastructure. Used by the BusyBox package, the Linux kernel -# package, and more. -# - -# KCONFIG_DOT_CONFIG ([file]) -# Returns the path to the .config file that should be used, which will -# be $(1) if provided, or the current package .config file otherwise. -KCONFIG_DOT_CONFIG = $(strip \ - $(if $(strip $(1)), $(1), \ - $($(PKG)_BUILDDIR)/$($(PKG)_KCONFIG_DOTCONFIG) \ - ) \ -) - -# KCONFIG_MUNGE_DOT_CONFIG (option, newline [, file]) -define KCONFIG_MUNGE_DOT_CONFIG - $(SED) "/\\<$(strip $(1))\\>/d" $(call KCONFIG_DOT_CONFIG,$(3)) - echo '$(strip $(2))' >> $(call KCONFIG_DOT_CONFIG,$(3)) -endef - -# KCONFIG_ENABLE_OPT (option [, file]) -KCONFIG_ENABLE_OPT = $(call KCONFIG_MUNGE_DOT_CONFIG, $(1), $(1)=y, $(2)) -# KCONFIG_SET_OPT (option, value [, file]) -KCONFIG_SET_OPT = $(call KCONFIG_MUNGE_DOT_CONFIG, $(1), $(1)=$(2), $(3)) -# KCONFIG_DISABLE_OPT (option [, file]) -KCONFIG_DISABLE_OPT = $(call KCONFIG_MUNGE_DOT_CONFIG, $(1), $(SHARP_SIGN) $(1) is not set, $(2)) - -# Helper functions to determine the name of a package and its -# directory from its makefile directory, using the $(MAKEFILE_LIST) -# variable provided by make. This is used by the *-package macros to -# automagically find where the package is located. -pkgdir = $(dir $(lastword $(MAKEFILE_LIST))) -pkgname = $(lastword $(subst /, ,$(pkgdir))) - -# Helper to build the extension for a package archive, based on various -# conditions. -# $(1): upper-case package name -pkg_source_ext = $(BR_FMT_VERSION_$($(1)_SITE_METHOD)).tar.gz - -# Define extractors for different archive suffixes -INFLATE.bz2 = $(BZCAT) -INFLATE.gz = $(ZCAT) -INFLATE.lz = $(LZCAT) -INFLATE.lzma = $(XZCAT) -INFLATE.tbz = $(BZCAT) -INFLATE.tbz2 = $(BZCAT) -INFLATE.tgz = $(ZCAT) -INFLATE.xz = $(XZCAT) -INFLATE.tar = cat -# suitable-extractor(filename): returns extractor based on suffix -suitable-extractor = $(INFLATE$(suffix $(1))) - -EXTRACTOR_PKG_DEPENDENCY.lzma = $(BR2_XZCAT_HOST_DEPENDENCY) -EXTRACTOR_PKG_DEPENDENCY.xz = $(BR2_XZCAT_HOST_DEPENDENCY) -EXTRACTOR_PKG_DEPENDENCY.lz = $(BR2_LZIP_HOST_DEPENDENCY) - -# extractor-pkg-dependency(filename): returns a Buildroot package -# dependency needed to extract file based on suffix -extractor-pkg-dependency = $(EXTRACTOR_PKG_DEPENDENCY$(suffix $(1))) - -# extractor-system-dependency(filename): returns the name of the tool -# needed to extract 'filename', and is meant to be used with -# DL_TOOLS_DEPENDENCIES, in order to check that the necesary tool is -# provided by the system Buildroot runs on. -# -# $(firstword) is used here because the extractor can have arguments, -# like ZCAT="gzip -d -c", and to check for the dependency we only want -# 'gzip'. -extractor-system-dependency = $(if $(EXTRACTOR_PKG_DEPENDENCY$(suffix $(1))),,\ - $(firstword $(INFLATE$(suffix $(1))))) - -# check-deprecated-variable -- throw an error on deprecated variables -# example: -# $(eval $(call check-deprecated-variable,FOO_MAKE_OPT,FOO_MAKE_OPTS)) -define check-deprecated-variable # (deprecated var, new var) -ifneq ($$(origin $(1)),undefined) -$$(error Package error: use $(2) instead of $(1). Please fix your .mk file) -endif -endef - -# $(1): YES or NO -define yesno-to-bool - $(subst NO,false,$(subst YES,true,$(1))) -endef - -# json-info -- return package or filesystem metadata formatted as an entry -# of a JSON dictionnary -# $(1): upper-case package or filesystem name -define json-info - "$($(1)_NAME)": { - "name": "$($(1)_RAWNAME)", - "type": "$($(1)_TYPE)", - $(if $(filter rootfs,$($(1)_TYPE)), \ - $(call _json-info-fs,$(1)), \ - $(call _json-info-pkg,$(1)), \ - ) - } -endef - -# _json-info-pkg, _json-info-pkg-details, _json-info-fs: private helpers -# for json-info, above -define _json-info-pkg - $(if $($(1)_IS_VIRTUAL), \ - "virtual": true$(comma), - "virtual": false$(comma) - $(call _json-info-pkg-details,$(1)) \ - ) - "build_dir": "$(patsubst $(BASE_DIR)/%,%,$($(1)_BUILDDIR))", - $(if $(filter target,$($(1)_TYPE)), \ - "install_target": $(call yesno-to-bool,$($(1)_INSTALL_TARGET))$(comma) \ - "install_staging": $(call yesno-to-bool,$($(1)_INSTALL_STAGING))$(comma) \ - "install_images": $(call yesno-to-bool,$($(1)_INSTALL_IMAGES))$(comma) \ - ) - "dependencies": [ - $(call make-comma-list,$(sort $($(1)_FINAL_ALL_DEPENDENCIES))) - ], - "reverse_dependencies": [ - $(call make-comma-list,$(sort $($(1)_RDEPENDENCIES))) - ] - $(if $($(1)_CPE_ID_VALID), \ - $(comma) "cpe-id": "$($(1)_CPE_ID)" \ - ) - $(if $($(1)_IGNORE_CVES), - $(comma) "ignore_cves": [ - $(call make-comma-list,$(sort $($(1)_IGNORE_CVES))) - ] - ) -endef - -define _json-info-pkg-details - "version": "$($(1)_DL_VERSION)", - "licenses": "$($(1)_LICENSE)", - "dl_dir": "$($(1)_DL_SUBDIR)", - "downloads": [ - $(foreach dl,$(sort $($(1)_ALL_DOWNLOADS)), - { - "source": "$(notdir $(dl))", - "uris": [ - $(call make-comma-list, - $(subst \|,|, - $(call DOWNLOAD_URIS,$(dl),$(1)) - ) - ) - ] - }, - ) - ], -endef - -define _json-info-fs - "dependencies": [ - $(call make-comma-list,$(sort $($(1)_DEPENDENCIES))) - ] -endef - -# clean-json -- cleanup pseudo-json into clean json: -# - remove commas before closing ] and } -# - minify with $(strip) -clean-json = $(strip \ - $(subst $(comma)},}, $(subst $(comma)$(space)},$(space)}, \ - $(subst $(comma)],], $(subst $(comma)$(space)],$(space)], \ - $(subst \,\\, \ - $(strip $(1)) \ - ))))) \ -) - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -# rsync the contents of per-package directories -# $1: space-separated list of packages to rsync from -# $2: 'host' or 'target' -# $3: destination directory -define per-package-rsync - mkdir -p $(3) - $(foreach pkg,$(1),\ - rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ - $(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ - $(3)$(sep)) -endef - -# prepares the per-package HOST_DIR and TARGET_DIR of the current -# package, by rsync the host and target directories of the -# dependencies of this package. The list of dependencies is passed as -# argument, so that this function can be used to prepare with -# different set of dependencies (download, extract, configure, etc.) -# -# $1: space-separated list of packages to rsync from -define prepare-per-package-directory - $(call per-package-rsync,$(1),host,$(HOST_DIR)) - $(call per-package-rsync,$(1),target,$(TARGET_DIR)) -endef -endif - -# -# legal-info helper functions -# -LEGAL_INFO_SEPARATOR = "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::" - -define legal-warning # text - echo "WARNING: $(1)" >>$(LEGAL_WARNINGS) -endef - -define legal-warning-pkg # pkg, text - echo "WARNING: $(1): $(2)" >>$(LEGAL_WARNINGS) -endef - -define legal-warning-nosource # pkg, {local|override} - $(call legal-warning-pkg,$(1),sources not saved ($(2) packages not handled)) -endef - -define legal-manifest # {HOST|TARGET}, pkg, version, license, license-files, source, url, dependencies - echo '"$(2)","$(3)","$(4)","$(5)","$(6)","$(7)","$(8)"' >>$(LEGAL_MANIFEST_CSV_$(1)) -endef - -define legal-license-file # pkgname, pkgname-pkgver, pkg-hashfile, filename, file-fullpath, {HOST|TARGET} - mkdir -p $(LICENSE_FILES_DIR_$(6))/$(2)/$(dir $(4)) && \ - { \ - support/download/check-hash $(3) $(5) $(4); \ - case $${?} in (0|3) ;; (*) exit 1;; esac; \ - } && \ - cp $(5) $(LICENSE_FILES_DIR_$(6))/$(2)/$(4) -endef - -non-virtual-deps = $(foreach p,$(1),$(if $($(call UPPERCASE,$(p))_IS_VIRTUAL),,$(p))) - -# Returns the list of recursive dependencies and their licensing terms -# for the package specified in parameter (in lowercase). If that -# package is a target package, remove host packages from the list. -legal-deps = \ - $(foreach p,\ - $(filter-out $(if $(1:host-%=),host-%),\ - $(call non-virtual-deps,\ - $($(call UPPERCASE,$(1))_FINAL_RECURSIVE_DEPENDENCIES))),$(p) [$($(call UPPERCASE,$(p))_LICENSE)]) diff --git a/buildroot-2021.05/package/pkg-waf.mk b/buildroot-2021.05/package/pkg-waf.mk deleted file mode 100644 index 038d8945..00000000 --- a/buildroot-2021.05/package/pkg-waf.mk +++ /dev/null @@ -1,125 +0,0 @@ -################################################################################ -# WAF package infrastructure -# -# This file implements an infrastructure that eases development of package -# .mk files for WAF packages. It should be used for all packages that use -# WAF as their build system. -# -# See the Buildroot documentation for details on the usage of this -# infrastructure -# -# In terms of implementation, this WAF infrastructure requires the .mk file -# to only specify metadata information about the package: name, version, -# download URL, etc. -# -# We still allow the package .mk file to override what the different steps -# are doing, if needed. For example, if _BUILD_CMDS is already defined, -# it is used as the list of commands to perform to build the package, -# instead of the default WAF behaviour. The package can also define some -# post operation hooks. -# -################################################################################ - -################################################################################ -# inner-waf-package -- defines how the configuration, compilation and -# installation of a waf package should be done, implements a few hooks -# to tune the build process for waf specifities and calls the generic -# package infrastructure to generate the necessary make targets -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -# argument 3 is the uppercase package name, without the HOST_ prefix -# for host packages -# argument 4 is the type (target or host) -################################################################################ - -define inner-waf-package - -# We need host-python3 to run waf -$(2)_DEPENDENCIES += host-python3 - -$(2)_NEEDS_EXTERNAL_WAF ?= NO - -# If the package does not have its own waf, use our own. -ifeq ($$($(2)_NEEDS_EXTERNAL_WAF),YES) -$(2)_DEPENDENCIES += host-waf -$(2)_WAF = $$(HOST_DIR)/bin/waf -else -$(2)_WAF ?= ./waf -endif - -$(2)_BUILD_OPTS ?= -$(2)_INSTALL_STAGING_OPTS ?= -$(2)_INSTALL_TARGET_OPTS ?= -$(2)_WAF_OPTS ?= - -# -# Configure step. Only define it if not already defined by the package -# .mk file. -# -ifndef $(2)_CONFIGURE_CMDS -define $(2)_CONFIGURE_CMDS - cd $$($$(PKG)_SRCDIR) && \ - $$(TARGET_CONFIGURE_OPTS) \ - $$($(2)_CONF_ENV) \ - $$(HOST_DIR)/bin/python3 $$($(2)_WAF) configure \ - --prefix=/usr \ - --libdir=/usr/lib \ - $$($(2)_CONF_OPTS) \ - $$($(2)_WAF_OPTS) -endef -endif - -# -# Build step. Only define it if not already defined by the package .mk -# file. -# -ifndef $(2)_BUILD_CMDS -define $(2)_BUILD_CMDS - cd $$($$(PKG)_SRCDIR) && \ - $$(TARGET_MAKE_ENV) $$(HOST_DIR)/bin/python3 $$($(2)_WAF) \ - build -j $$(PARALLEL_JOBS) $$($(2)_BUILD_OPTS) \ - $$($(2)_WAF_OPTS) -endef -endif - -# -# Staging installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_STAGING_CMDS -define $(2)_INSTALL_STAGING_CMDS - cd $$($$(PKG)_SRCDIR) && \ - $$(TARGET_MAKE_ENV) $$(HOST_DIR)/bin/python3 $$($(2)_WAF) \ - install --destdir=$$(STAGING_DIR) \ - $$($(2)_INSTALL_STAGING_OPTS) \ - $$($(2)_WAF_OPTS) -endef -endif - -# -# Target installation step. Only define it if not already defined by -# the package .mk file. -# -ifndef $(2)_INSTALL_TARGET_CMDS -define $(2)_INSTALL_TARGET_CMDS - cd $$($$(PKG)_SRCDIR) && \ - $$(TARGET_MAKE_ENV) $$(HOST_DIR)/bin/python3 $$($(2)_WAF) \ - install --destdir=$$(TARGET_DIR) \ - $$($(2)_INSTALL_TARGET_OPTS) \ - $$($(2)_WAF_OPTS) -endef -endif - -# Call the generic package infrastructure to generate the necessary -# make targets -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -endef - -################################################################################ -# waf-package -- the target generator macro for WAF packages -################################################################################ - -waf-package = $(call inner-waf-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) diff --git a/buildroot-2021.05/package/ply/0001-configure.ac-fix-error-with-version-string.patch b/buildroot-2021.05/package/ply/0001-configure.ac-fix-error-with-version-string.patch deleted file mode 100644 index e80599c6..00000000 --- a/buildroot-2021.05/package/ply/0001-configure.ac-fix-error-with-version-string.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 684bae6043fa2242a5c6551c3f260c9db0cf7dc8 Mon Sep 17 00:00:00 2001 -From: Andreas Klinger -Date: Mon, 4 Jan 2021 08:40:50 +0100 -Subject: [PATCH] configure.ac: fix error with version string - -When autoreconfiguring there's an error: "configure.ac:6: error: AC_INIT -should be called with package and version arguments". - -Put version string in square brackets to satisfy autoconfigure. - -Signed-off-by: Andreas Klinger ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 65387d6..7a0054e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1,5 +1,5 @@ - AC_PREREQ(2.61) --AC_INIT(ply, m4_esyscmd_s(git describe --always --dirty), -+AC_INIT(ply, [2.1.1], - https://github.com/wkz/ply/issues) - - AC_GNU_SOURCE --- -2.20.1 - diff --git a/buildroot-2021.05/package/ply/0002-printxf.h-add-stdarg.h-in-include.patch b/buildroot-2021.05/package/ply/0002-printxf.h-add-stdarg.h-in-include.patch deleted file mode 100644 index f56e9a8e..00000000 --- a/buildroot-2021.05/package/ply/0002-printxf.h-add-stdarg.h-in-include.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 3fb3cb779c535ec28cbba80573bbea42435108c0 Mon Sep 17 00:00:00 2001 -From: Andreas Klinger -Date: Mon, 4 Jan 2021 20:48:41 +0100 -Subject: [PATCH] printxf.h: add stdarg.h in include - -Include of is needed for va_list. - -Signed-off-by: Andreas Klinger ---- - include/ply/printxf.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/include/ply/printxf.h b/include/ply/printxf.h -index a59f0d2..e985936 100644 ---- a/include/ply/printxf.h -+++ b/include/ply/printxf.h -@@ -8,6 +8,7 @@ - #define _PRINTXF_H - - #include -+#include - - struct printxf; - --- -2.20.1 - diff --git a/buildroot-2021.05/package/ply/ply.hash b/buildroot-2021.05/package/ply/ply.hash deleted file mode 100644 index 0ee2709b..00000000 --- a/buildroot-2021.05/package/ply/ply.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 cecf0913c65027750ac3272e936110c9f843435938f9ca2edbc34e99ba6c00e2 ply-2.1.1.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/ply/ply.mk b/buildroot-2021.05/package/ply/ply.mk deleted file mode 100644 index b72b29f3..00000000 --- a/buildroot-2021.05/package/ply/ply.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# ply -# -################################################################################ - -PLY_VERSION = 2.1.1 -PLY_SITE = $(call github,wkz,ply,$(PLY_VERSION)) -PLY_AUTORECONF = YES -PLY_LICENSE = GPL-2.0 -PLY_LICENSE_FILES = COPYING -PLY_INSTALL_STAGING = YES -PLY_DEPENDENCIES = host-flex host-bison - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pngquant/pngquant.hash b/buildroot-2021.05/package/pngquant/pngquant.hash deleted file mode 100644 index c7332167..00000000 --- a/buildroot-2021.05/package/pngquant/pngquant.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://pngquant.org/releases.html -sha256 4b911a11aa0c35d364b608c917d13002126185c8c314ba4aa706b62fd6a95a7a pngquant-2.13.1-src.tar.gz -# Locally computed -sha256 e4f467f7abf860b4e620f5f60fdd88bc3a63a0fdb98a481fb002b5e511c9b826 COPYRIGHT diff --git a/buildroot-2021.05/package/pngquant/pngquant.mk b/buildroot-2021.05/package/pngquant/pngquant.mk deleted file mode 100644 index 1729ff19..00000000 --- a/buildroot-2021.05/package/pngquant/pngquant.mk +++ /dev/null @@ -1,56 +0,0 @@ -################################################################################ -# -# pngquant -# -################################################################################ - -PNGQUANT_VERSION = 2.13.1 -PNGQUANT_SOURCE = pngquant-$(PNGQUANT_VERSION)-src.tar.gz -PNGQUANT_SITE = https://pngquant.org -PNGQUANT_LICENSE = GPL-3.0+ -PNGQUANT_LICENSE_FILES = COPYRIGHT -PNGQUANT_CPE_ID_VENDOR = pngquant -HOST_PNGQUANT_DEPENDENCIES = host-libpng -PNGQUANT_DEPENDENCIES = libpng - -ifeq ($(BR2_PACKAGE_LCMS2),y) -PNGQUANT_DEPENDENCIES += lcms2 -endif - -define PNGQUANT_CONFIGURE_CMDS - (cd $(@D) && \ - $(TARGET_CONFIGURE_OPTS) \ - ./configure --prefix=/usr \ - $(if $(BR2_PACKAGE_LCMS2),--with-lcms2,--without-lcms2) \ - $(if $(BR2_X86_CPU_HAS_SSE),--enable-sse,--disable-sse) \ - $(TARGET_CONFIGURE_OPTS) \ - ) -endef - -define PNGQUANT_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define PNGQUANT_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install -endef - -define HOST_PNGQUANT_CONFIGURE_CMDS - (cd $(@D) && \ - $(HOST_CONFIGURE_OPTS) \ - CC=$(HOSTCC_NOCCACHE) \ - ./configure --prefix=$(HOST_DIR) \ - --without-lcms2 \ - ) -endef - -define HOST_PNGQUANT_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define HOST_PNGQUANT_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/poco/Config.in b/buildroot-2021.05/package/poco/Config.in deleted file mode 100644 index 24514a37..00000000 --- a/buildroot-2021.05/package/poco/Config.in +++ /dev/null @@ -1,104 +0,0 @@ -config BR2_PACKAGE_POCO_ARCH_SUPPORTS - bool - default y - depends on !BR2_arc - depends on !BR2_microblaze - depends on !BR2_mipsel - depends on !BR2_or1k - depends on !BR2_RISCV_32 - depends on !BR2_xtensa - -config BR2_PACKAGE_POCO - bool "poco" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 - # pthread_condattr_setclock - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on !BR2_STATIC_LIBS # dlopen() - depends on BR2_PACKAGE_POCO_ARCH_SUPPORTS - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_PCRE - help - The C++ Portable Components Libraries - - http://pocoproject.org - -if BR2_PACKAGE_POCO - -comment "poco components" - -config BR2_PACKAGE_POCO_JSON - bool "json" - -config BR2_PACKAGE_POCO_XML - bool "xml" - select BR2_PACKAGE_EXPAT - -config BR2_PACKAGE_POCO_UTIL - bool "util" - select BR2_PACKAGE_POCO_XML - -config BR2_PACKAGE_POCO_NET - bool "net" - -config BR2_PACKAGE_POCO_CRYPTO - bool "crypto" - select BR2_PACKAGE_OPENSSL - -config BR2_PACKAGE_POCO_NETSSL_OPENSSL - bool "netssl_openssl" - select BR2_PACKAGE_POCO_NET - select BR2_PACKAGE_POCO_CRYPTO - select BR2_PACKAGE_POCO_UTIL - select BR2_PACKAGE_OPENSSL - -config BR2_PACKAGE_POCO_ZIP - bool "zip" - select BR2_PACKAGE_POCO_XML - select BR2_PACKAGE_POCO_NET - select BR2_PACKAGE_POCO_UTIL - -config BR2_PACKAGE_POCO_CPP_PARSER - bool "cpp_parser" - -config BR2_PACKAGE_POCO_PDF - bool "pdf" - select BR2_PACKAGE_POCO_JSON - select BR2_PACKAGE_POCO_UTIL - select BR2_PACKAGE_POCO_XML - -config BR2_PACKAGE_POCO_REDIS - bool "redis" - select BR2_PACKAGE_POCO_NET - -config BR2_PACKAGE_POCO_MONGODB - bool "mongodb" - select BR2_PACKAGE_POCO_NET - -config BR2_PACKAGE_POCO_DATA - bool - -config BR2_PACKAGE_POCO_DATA_SQLITE - bool "sqlite" - select BR2_PACKAGE_POCO_DATA - select BR2_PACKAGE_SQLITE - -config BR2_PACKAGE_POCO_DATA_MYSQL - bool "mysql" - depends on BR2_USE_MMU # mysql - select BR2_PACKAGE_POCO_DATA - select BR2_PACKAGE_MYSQL - -config BR2_PACKAGE_POCO_JWT - bool "jwt" - select BR2_PACKAGE_POCO_JSON - select BR2_PACKAGE_POCO_CRYPTO - -endif # BR2_PACKAGE_POCO - -comment "poco needs a toolchain w/ wchar, NPTL, C++, dynamic library, gcc >= 5 w/ C++14" - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 - depends on BR2_PACKAGE_POCO_ARCH_SUPPORTS diff --git a/buildroot-2021.05/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch b/buildroot-2021.05/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch deleted file mode 100644 index 57833d81..00000000 --- a/buildroot-2021.05/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 85763549c53b2907dab094163f1404b2233f8029 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 9 Oct 2017 16:51:20 -0400 -Subject: [PATCH] Add DESTDIR to setfiles - -The addition of this patch makes the use of DESTDIR -mandatory as there are conditional checks which would fail if it's not -defined. - -This patch was updated from the patch provided by Niranjan Reddy to -accomodate version 2.5 - -Signed-off-by: Clayton Shotwell -Signed-off-by: Niranjan Reddy -Signed-off-by: Adam Duskett -Signed-off-by: Fabrice Fontaine -[Update for 2.8] ---- - setfiles/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setfiles/Makefile b/setfiles/Makefile -index c08e2dd..36c0638 100644 ---- a/setfiles/Makefile -+++ b/setfiles/Makefile -@@ -3,7 +3,7 @@ PREFIX ?= $(DESTDIR)/usr - PREFIX ?= /usr - SBINDIR ?= /sbin - MANDIR = $(PREFIX)/share/man --AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) -+AUDITH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/libaudit.h && echo y) - - ABORT_ON_ERRORS=$(shell grep "^\#define ABORT_ON_ERRORS" setfiles.c | awk -S '{ print $$3 }') - --- -2.13.6 - diff --git a/buildroot-2021.05/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch b/buildroot-2021.05/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch deleted file mode 100644 index ffe5fcbd..00000000 --- a/buildroot-2021.05/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch +++ /dev/null @@ -1,56 +0,0 @@ -From a221304344b3f9db7e86d928cf97d77542bcf456 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Mon, 9 Oct 2017 16:47:19 -0400 -Subject: [PATCH] Add PREFIX to host paths - -Updates the remaining hardcoded host paths used in the build to be -prefixed with a PREFIX path to allow cross compilation. - -Updated to work with version 2.5 - -Signed-off-by: Clayton Shotwell -Signed-off-by: Niranjan Reddy -Signed-off-by: Adam Duskett -Signed-off-by: Fabrice Fontaine -[Update for 2.8] ---- - load_policy/Makefile | 2 +- - newrole/Makefile | 6 +++--- - run_init/Makefile | 6 +++--- - 3 files changed, 7 insertions(+), 7 deletions(-) - -diff --git a/newrole/Makefile b/newrole/Makefile -index 196af92..896708f 100644 ---- a/newrole/Makefile -+++ b/newrole/Makefile -@@ -3,9 +3,9 @@ PREFIX ?= $(DESTDIR)/usr - BINDIR ?= $(PREFIX)/bin - MANDIR ?= $(PREFIX)/share/man - ETCDIR ?= /etc - LOCALEDIR = $(DESTDIR)$(PREFIX)/share/locale --PAMH ?= $(shell test -f /usr/include/security/pam_appl.h && echo y) --AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) -+PAMH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/security/pam_appl.h && echo y) -+AUDITH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/libaudit.h && echo y) - # Enable capabilities to permit newrole to generate audit records. - # This will make newrole a setuid root program. - # The capabilities used are: CAP_AUDIT_WRITE. -diff --git a/run_init/Makefile b/run_init/Makefile -index 921f0b0..e1566fc 100644 ---- a/run_init/Makefile -+++ b/run_init/Makefile -@@ -4,9 +4,9 @@ PREFIX ?= $(DESTDIR)/usr - SBINDIR ?= $(PREFIX)/sbin - MANDIR ?= $(PREFIX)/share/man - ETCDIR ?= /etc - LOCALEDIR ?= $(DESTDIR)$(PREFIX)/share/locale --PAMH ?= $(shell test -f /usr/include/security/pam_appl.h && echo y) --AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) -+PAMH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/security/pam_appl.h && echo y) -+AUDITH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/libaudit.h && echo y) - - CFLAGS ?= -Werror -Wall -W - override CFLAGS += -DUSE_NLS -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" --- -2.13.6 - diff --git a/buildroot-2021.05/package/policycoreutils/Config.in b/buildroot-2021.05/package/policycoreutils/Config.in deleted file mode 100644 index 81900b4e..00000000 --- a/buildroot-2021.05/package/policycoreutils/Config.in +++ /dev/null @@ -1,34 +0,0 @@ -comment "policycoreutils needs a toolchain w/ threads, dynamic library" - depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -config BR2_PACKAGE_POLICYCOREUTILS - bool "policycoreutils" - depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage - depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage - depends on !BR2_STATIC_LIBS #libsemanage - select BR2_PACKAGE_LIBSEMANAGE - select BR2_PACKAGE_LIBCAP_NG - help - Policycoreutils is a collection of policy utilities - (originally the "core" set of utilities needed to use - SELinux, although it has grown a bit over time), which have - different dependencies. sestatus, secon, run_init, and - newrole only use libselinux. load_policy and setfiles only - use libselinux and libsepol. semodule and semanage use - libsemanage (and thus bring in dependencies on libsepol and - libselinux as well). setsebool uses libselinux to make - non-persistent boolean changes (via the kernel interface) - and uses libsemanage to make persistent boolean changes. - - The base package will install the following utilities: - load_policy - newrole - run_init - secon - semodule - sestatus - setfiles - setsebool - - http://selinuxproject.org/page/Main_Page diff --git a/buildroot-2021.05/package/policycoreutils/policycoreutils.hash b/buildroot-2021.05/package/policycoreutils/policycoreutils.hash deleted file mode 100644 index 5dae18f1..00000000 --- a/buildroot-2021.05/package/policycoreutils/policycoreutils.hash +++ /dev/null @@ -1,3 +0,0 @@ -# https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 c889f62ee80f8b6a369469a9b8af51f5b797975aeaa291f5c5960cc12eed1934 policycoreutils-3.1.tar.gz -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2021.05/package/policycoreutils/policycoreutils.mk b/buildroot-2021.05/package/policycoreutils/policycoreutils.mk deleted file mode 100644 index 0dfdc7af..00000000 --- a/buildroot-2021.05/package/policycoreutils/policycoreutils.mk +++ /dev/null @@ -1,97 +0,0 @@ -################################################################################ -# -# policycoreutils -# -################################################################################ - -POLICYCOREUTILS_VERSION = 3.1 -POLICYCOREUTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 -POLICYCOREUTILS_LICENSE = GPL-2.0 -POLICYCOREUTILS_LICENSE_FILES = COPYING -POLICYCOREUTILS_CPE_ID_VENDOR = selinuxproject - -POLICYCOREUTILS_DEPENDENCIES = libsemanage libcap-ng $(TARGET_NLS_DEPENDENCIES) -POLICYCOREUTILS_MAKE_OPTS = LDLIBS=$(TARGET_NLS_LIBS) - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -POLICYCOREUTILS_DEPENDENCIES += linux-pam -POLICYCOREUTILS_MAKE_OPTS += NAMESPACE_PRIV=y -define POLICYCOREUTILS_INSTALL_TARGET_LINUX_PAM_CONFS - $(INSTALL) -D -m 0644 $(@D)/newrole/newrole-lspp.pamd $(TARGET_DIR)/etc/pam.d/newrole - $(INSTALL) -D -m 0644 $(@D)/run_init/run_init.pamd $(TARGET_DIR)/etc/pam.d/run_init -endef -endif - -ifeq ($(BR2_PACKAGE_AUDIT),y) -POLICYCOREUTILS_DEPENDENCIES += audit -POLICYCOREUTILS_MAKE_OPTS += AUDIT_LOG_PRIV=y -endif - -# Enable LSPP_PRIV if both audit and linux pam are enabled -ifeq ($(BR2_PACKAGE_LINUX_PAM)$(BR2_PACKAGE_AUDIT),yy) -POLICYCOREUTILS_MAKE_OPTS += LSPP_PRIV=y -endif - -# Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h -# large file support. -# See https://bugzilla.redhat.com/show_bug.cgi?id=574992 for more information -POLICYCOREUTILS_MAKE_OPTS += \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS" \ - CPPFLAGS="$(TARGET_CPPFLAGS) -U_FILE_OFFSET_BITS" - -POLICYCOREUTILS_MAKE_DIRS = \ - load_policy newrole run_init \ - secon semodule sestatus setfiles \ - setsebool - -# We need to pass DESTDIR at build time because it's used by -# policycoreutils build system to find headers and libraries. -define POLICYCOREUTILS_BUILD_CMDS - $(foreach d,$(POLICYCOREUTILS_MAKE_DIRS), - $(MAKE) -C $(@D)/$(d) $(POLICYCOREUTILS_MAKE_OPTS) \ - DESTDIR=$(STAGING_DIR) all - ) -endef - -define POLICYCOREUTILS_INSTALL_TARGET_CMDS - $(foreach d,$(POLICYCOREUTILS_MAKE_DIRS), - $(MAKE) -C $(@D)/$(d) $(POLICYCOREUTILS_MAKE_OPTS) \ - DESTDIR=$(TARGET_DIR) install - ) -endef - -HOST_POLICYCOREUTILS_DEPENDENCIES = host-libsemanage - -# Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h -# large file support. -# See https://bugzilla.redhat.com/show_bug.cgi?id=574992 for more information -# We also need to pass PREFIX because it defaults to $(DESTDIR)/usr -HOST_POLICYCOREUTILS_MAKE_OPTS = \ - $(HOST_CONFIGURE_OPTS) \ - CFLAGS="$(HOST_CFLAGS) -U_FILE_OFFSET_BITS" \ - CPPFLAGS="$(HOST_CPPFLAGS) -U_FILE_OFFSET_BITS" \ - PREFIX=$(HOST_DIR) \ - ETCDIR=$(HOST_DIR)/etc \ - SBINDIR=$(HOST_DIR)/sbin - -# Note: We are only building the programs required by the refpolicy build -HOST_POLICYCOREUTILS_MAKE_DIRS = \ - load_policy newrole run_init \ - secon semodule sestatus setfiles \ - setsebool - -define HOST_POLICYCOREUTILS_BUILD_CMDS - $(foreach d,$(HOST_POLICYCOREUTILS_MAKE_DIRS), - $(MAKE) -C $(@D)/$(d) $(HOST_POLICYCOREUTILS_MAKE_OPTS) all - ) -endef - -define HOST_POLICYCOREUTILS_INSTALL_CMDS - $(foreach d,$(HOST_POLICYCOREUTILS_MAKE_DIRS), - $(MAKE) -C $(@D)/$(d) $(HOST_POLICYCOREUTILS_MAKE_OPTS) install - ) -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/polkit/0001-make-netgroup-support-optional.patch b/buildroot-2021.05/package/polkit/0001-make-netgroup-support-optional.patch deleted file mode 100644 index 86916aba..00000000 --- a/buildroot-2021.05/package/polkit/0001-make-netgroup-support-optional.patch +++ /dev/null @@ -1,403 +0,0 @@ -From 1b854ef4bb15032091a33fed587e5ba6f3e582eb Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 22 May 2019 13:18:55 -0700 -Subject: [PATCH] make netgroup support optional - -On at least Linux/musl and Linux/uclibc, netgroup -support is not available. PolKit fails to compile on these systems -for that reason. - -This change makes netgroup support conditional on the presence of the -setnetgrent(3) function which is required for the support to work. If -that function is not available on the system, an error will be returned -to the administrator if unix-netgroup: is specified in configuration. - -Fixes bug 50145. - -Signed-off-by: A. Wilcox -Signed-off-by: Khem Raj -Signed-off-by: Adam Duskett -[Thomas: add introspection.m4.] -Signed-off-by: Thomas Petazzoni ---- - buildutil/introspection.m4 | 142 ++++++++++++++++++ - configure.ac | 2 +- - src/polkit/polkitidentity.c | 16 ++ - src/polkit/polkitunixnetgroup.c | 3 + - .../polkitbackendinteractiveauthority.c | 14 +- - .../polkitbackendjsauthority.cpp | 2 + - test/polkit/polkitidentitytest.c | 9 +- - test/polkit/polkitunixnetgrouptest.c | 3 + - .../test-polkitbackendjsauthority.c | 2 + - 9 files changed, 185 insertions(+), 8 deletions(-) - create mode 100644 buildutil/introspection.m4 - -diff --git a/buildutil/introspection.m4 b/buildutil/introspection.m4 -new file mode 100644 -index 0000000..b0ccd68 ---- /dev/null -+++ b/buildutil/introspection.m4 -@@ -0,0 +1,142 @@ -+dnl -*- mode: autoconf -*- -+dnl Copyright 2009 Johan Dahlin -+dnl -+dnl This file is free software; the author(s) gives unlimited -+dnl permission to copy and/or distribute it, with or without -+dnl modifications, as long as this notice is preserved. -+dnl -+ -+# serial 1 -+ -+dnl This is a copy of AS_AC_EXPAND -+dnl -+dnl (C) 2003, 2004, 2005 Thomas Vander Stichele -+dnl Copying and distribution of this file, with or without modification, -+dnl are permitted in any medium without royalty provided the copyright -+dnl notice and this notice are preserved. -+m4_define([_GOBJECT_INTROSPECTION_AS_AC_EXPAND], -+[ -+ EXP_VAR=[$1] -+ FROM_VAR=[$2] -+ -+ dnl first expand prefix and exec_prefix if necessary -+ prefix_save=$prefix -+ exec_prefix_save=$exec_prefix -+ -+ dnl if no prefix given, then use /usr/local, the default prefix -+ if test "x$prefix" = "xNONE"; then -+ prefix="$ac_default_prefix" -+ fi -+ dnl if no exec_prefix given, then use prefix -+ if test "x$exec_prefix" = "xNONE"; then -+ exec_prefix=$prefix -+ fi -+ -+ full_var="$FROM_VAR" -+ dnl loop until it doesn't change anymore -+ while true; do -+ new_full_var="`eval echo $full_var`" -+ if test "x$new_full_var" = "x$full_var"; then break; fi -+ full_var=$new_full_var -+ done -+ -+ dnl clean up -+ full_var=$new_full_var -+ AC_SUBST([$1], "$full_var") -+ -+ dnl restore prefix and exec_prefix -+ prefix=$prefix_save -+ exec_prefix=$exec_prefix_save -+]) -+ -+m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], -+[ -+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first -+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first -+ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first -+ -+ dnl enable/disable introspection -+ m4_if([$2], [require], -+ [dnl -+ enable_introspection=yes -+ ],[dnl -+ AC_ARG_ENABLE(introspection, -+ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], -+ [Enable introspection for this build]),, -+ [enable_introspection=auto]) -+ ])dnl -+ -+ AC_MSG_CHECKING([for gobject-introspection]) -+ -+ dnl presence/version checking -+ AS_CASE([$enable_introspection], -+ [no], [dnl -+ found_introspection="no (disabled, use --enable-introspection to enable)" -+ ],dnl -+ [yes],[dnl -+ PKG_CHECK_EXISTS([gobject-introspection-1.0],, -+ AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) -+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], -+ found_introspection=yes, -+ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) -+ ],dnl -+ [auto],[dnl -+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) -+ dnl Canonicalize enable_introspection -+ enable_introspection=$found_introspection -+ ],dnl -+ [dnl -+ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) -+ ])dnl -+ -+ AC_MSG_RESULT([$found_introspection]) -+ -+ dnl expand datadir/libdir so we can pass them to pkg-config -+ dnl and get paths relative to our target directories -+ _GOBJECT_INTROSPECTION_AS_AC_EXPAND(_GI_EXP_DATADIR, "$datadir") -+ _GOBJECT_INTROSPECTION_AS_AC_EXPAND(_GI_EXP_LIBDIR, "$libdir") -+ -+ INTROSPECTION_SCANNER= -+ INTROSPECTION_COMPILER= -+ INTROSPECTION_GENERATE= -+ INTROSPECTION_GIRDIR= -+ INTROSPECTION_TYPELIBDIR= -+ if test "x$found_introspection" = "xyes"; then -+ INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` -+ INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` -+ INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` -+ INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0` -+ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)" -+ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` -+ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` -+ INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection -+ fi -+ AC_SUBST(INTROSPECTION_SCANNER) -+ AC_SUBST(INTROSPECTION_COMPILER) -+ AC_SUBST(INTROSPECTION_GENERATE) -+ AC_SUBST(INTROSPECTION_GIRDIR) -+ AC_SUBST(INTROSPECTION_TYPELIBDIR) -+ AC_SUBST(INTROSPECTION_CFLAGS) -+ AC_SUBST(INTROSPECTION_LIBS) -+ AC_SUBST(INTROSPECTION_MAKEFILE) -+ -+ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") -+]) -+ -+ -+dnl Usage: -+dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) -+ -+AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], -+[ -+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) -+]) -+ -+dnl Usage: -+dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) -+ -+ -+AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], -+[ -+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) -+]) -diff --git a/configure.ac b/configure.ac -index 5cedb4e..87aa0ad 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -99,7 +99,7 @@ AC_CHECK_LIB(expat,XML_ParserCreate,[EXPAT_LIBS="-lexpat"], - [AC_MSG_ERROR([Can't find expat library. Please install expat.])]) - AC_SUBST(EXPAT_LIBS) - --AC_CHECK_FUNCS(clearenv fdatasync) -+AC_CHECK_FUNCS(clearenv fdatasync setnetgrent) - - if test "x$GCC" = "xyes"; then - LDFLAGS="-Wl,--as-needed $LDFLAGS" -diff --git a/src/polkit/polkitidentity.c b/src/polkit/polkitidentity.c -index 3aa1f7f..10e9c17 100644 ---- a/src/polkit/polkitidentity.c -+++ b/src/polkit/polkitidentity.c -@@ -182,7 +182,15 @@ polkit_identity_from_string (const gchar *str, - } - else if (g_str_has_prefix (str, "unix-netgroup:")) - { -+#ifndef HAVE_SETNETGRENT -+ g_set_error (error, -+ POLKIT_ERROR, -+ POLKIT_ERROR_FAILED, -+ "Netgroups are not available on this machine ('%s')", -+ str); -+#else - identity = polkit_unix_netgroup_new (str + sizeof "unix-netgroup:" - 1); -+#endif - } - - if (identity == NULL && (error != NULL && *error == NULL)) -@@ -344,6 +352,13 @@ polkit_identity_new_for_gvariant (GVariant *variant, - GVariant *v; - const char *name; - -+#ifndef HAVE_SETNETGRENT -+ g_set_error (error, -+ POLKIT_ERROR, -+ POLKIT_ERROR_FAILED, -+ "Netgroups are not available on this machine"); -+ goto out; -+#else - v = lookup_asv (details_gvariant, "name", G_VARIANT_TYPE_STRING, error); - if (v == NULL) - { -@@ -353,6 +368,7 @@ polkit_identity_new_for_gvariant (GVariant *variant, - name = g_variant_get_string (v, NULL); - ret = polkit_unix_netgroup_new (name); - g_variant_unref (v); -+#endif - } - else - { -diff --git a/src/polkit/polkitunixnetgroup.c b/src/polkit/polkitunixnetgroup.c -index 8a2b369..83f8d4a 100644 ---- a/src/polkit/polkitunixnetgroup.c -+++ b/src/polkit/polkitunixnetgroup.c -@@ -194,6 +194,9 @@ polkit_unix_netgroup_set_name (PolkitUnixNetgroup *group, - PolkitIdentity * - polkit_unix_netgroup_new (const gchar *name) - { -+#ifndef HAVE_SETNETGRENT -+ g_assert_not_reached(); -+#endif - g_return_val_if_fail (name != NULL, NULL); - return POLKIT_IDENTITY (g_object_new (POLKIT_TYPE_UNIX_NETGROUP, - "name", name, -diff --git a/src/polkitbackend/polkitbackendinteractiveauthority.c b/src/polkitbackend/polkitbackendinteractiveauthority.c -index 056d9a8..36c2f3d 100644 ---- a/src/polkitbackend/polkitbackendinteractiveauthority.c -+++ b/src/polkitbackend/polkitbackendinteractiveauthority.c -@@ -2233,25 +2233,26 @@ get_users_in_net_group (PolkitIdentity *group, - GList *ret; - - ret = NULL; -+#ifdef HAVE_SETNETGRENT - name = polkit_unix_netgroup_get_name (POLKIT_UNIX_NETGROUP (group)); - --#ifdef HAVE_SETNETGRENT_RETURN -+# ifdef HAVE_SETNETGRENT_RETURN - if (setnetgrent (name) == 0) - { - g_warning ("Error looking up net group with name %s: %s", name, g_strerror (errno)); - goto out; - } --#else -+# else - setnetgrent (name); --#endif -+# endif /* HAVE_SETNETGRENT_RETURN */ - - for (;;) - { --#if defined(HAVE_NETBSD) || defined(HAVE_OPENBSD) -+# if defined(HAVE_NETBSD) || defined(HAVE_OPENBSD) - const char *hostname, *username, *domainname; --#else -+# else - char *hostname, *username, *domainname; --#endif -+# endif /* defined(HAVE_NETBSD) || defined(HAVE_OPENBSD) */ - PolkitIdentity *user; - GError *error = NULL; - -@@ -2282,6 +2283,7 @@ get_users_in_net_group (PolkitIdentity *group, - - out: - endnetgrent (); -+#endif /* HAVE_SETNETGRENT */ - return ret; - } - -diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp -index 9b752d1..09b2878 100644 ---- a/src/polkitbackend/polkitbackendjsauthority.cpp -+++ b/src/polkitbackend/polkitbackendjsauthority.cpp -@@ -1502,6 +1502,7 @@ js_polkit_user_is_in_netgroup (JSContext *cx, - - JS::CallArgs args = JS::CallArgsFromVp (argc, vp); - -+#ifdef HAVE_SETNETGRENT - JS::RootedString usrstr (authority->priv->cx); - usrstr = args[0].toString(); - user = JS_EncodeStringToUTF8 (cx, usrstr); -@@ -1519,6 +1520,7 @@ js_polkit_user_is_in_netgroup (JSContext *cx, - - JS_free (cx, netgroup); - JS_free (cx, user); -+#endif - - ret = true; - -diff --git a/test/polkit/polkitidentitytest.c b/test/polkit/polkitidentitytest.c -index e91967b..e829aaa 100644 ---- a/test/polkit/polkitidentitytest.c -+++ b/test/polkit/polkitidentitytest.c -@@ -19,6 +19,7 @@ - * Author: Nikki VonHollen - */ - -+#include "config.h" - #include "glib.h" - #include - #include -@@ -145,11 +146,15 @@ struct ComparisonTestData comparison_test_data [] = { - {"unix-group:root", "unix-group:jane", FALSE}, - {"unix-group:jane", "unix-group:jane", TRUE}, - -+#ifdef HAVE_SETNETGRENT - {"unix-netgroup:foo", "unix-netgroup:foo", TRUE}, - {"unix-netgroup:foo", "unix-netgroup:bar", FALSE}, -+#endif - - {"unix-user:root", "unix-group:root", FALSE}, -+#ifdef HAVE_SETNETGRENT - {"unix-user:jane", "unix-netgroup:foo", FALSE}, -+#endif - - {NULL}, - }; -@@ -181,11 +186,13 @@ main (int argc, char *argv[]) - g_test_add_data_func ("/PolkitIdentity/group_string_2", "unix-group:jane", test_string); - g_test_add_data_func ("/PolkitIdentity/group_string_3", "unix-group:users", test_string); - -+#ifdef HAVE_SETNETGRENT - g_test_add_data_func ("/PolkitIdentity/netgroup_string", "unix-netgroup:foo", test_string); -+ g_test_add_data_func ("/PolkitIdentity/netgroup_gvariant", "unix-netgroup:foo", test_gvariant); -+#endif - - g_test_add_data_func ("/PolkitIdentity/user_gvariant", "unix-user:root", test_gvariant); - g_test_add_data_func ("/PolkitIdentity/group_gvariant", "unix-group:root", test_gvariant); -- g_test_add_data_func ("/PolkitIdentity/netgroup_gvariant", "unix-netgroup:foo", test_gvariant); - - add_comparison_tests (); - -diff --git a/test/polkit/polkitunixnetgrouptest.c b/test/polkit/polkitunixnetgrouptest.c -index 3701ba1..e3352eb 100644 ---- a/test/polkit/polkitunixnetgrouptest.c -+++ b/test/polkit/polkitunixnetgrouptest.c -@@ -19,6 +19,7 @@ - * Author: Nikki VonHollen - */ - -+#include "config.h" - #include "glib.h" - #include - #include -@@ -69,7 +70,9 @@ int - main (int argc, char *argv[]) - { - g_test_init (&argc, &argv, NULL); -+#ifdef HAVE_SETNETGRENT - g_test_add_func ("/PolkitUnixNetgroup/new", test_new); - g_test_add_func ("/PolkitUnixNetgroup/set_name", test_set_name); -+#endif - return g_test_run (); - } -diff --git a/test/polkitbackend/test-polkitbackendjsauthority.c b/test/polkitbackend/test-polkitbackendjsauthority.c -index 71aad23..fdd28f3 100644 ---- a/test/polkitbackend/test-polkitbackendjsauthority.c -+++ b/test/polkitbackend/test-polkitbackendjsauthority.c -@@ -137,12 +137,14 @@ test_get_admin_identities (void) - "unix-group:users" - } - }, -+#ifdef HAVE_SETNETGRENT - { - "net.company.action3", - { - "unix-netgroup:foo" - } - }, -+#endif - }; - guint n; - --- -2.25.1 - diff --git a/buildroot-2021.05/package/polkit/0002-jsauthority-memleak.patch b/buildroot-2021.05/package/polkit/0002-jsauthority-memleak.patch deleted file mode 100644 index 4f073318..00000000 --- a/buildroot-2021.05/package/polkit/0002-jsauthority-memleak.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 28e3a6653d8c3777b07e0128a0d97d46e586e311 Mon Sep 17 00:00:00 2001 -From: Jan Rybar -Date: Tue, 8 Oct 2019 13:28:18 +0000 -Subject: [PATCH] jsauthority: Fix two minor memory leaks - -(cherry picked from commit 28e3a6653d8c3777b07e0128a0d97d46e586e311) -Signed-off-by: Jan Rybar -Signed-off-by: Adam Duskett ---- - src/polkitbackend/polkitbackendjsauthority.cpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp -index 9b752d1..e97b8aa 100644 ---- a/src/polkitbackend/polkitbackendjsauthority.cpp -+++ b/src/polkitbackend/polkitbackendjsauthority.cpp -@@ -567,6 +567,8 @@ polkit_backend_js_authority_finalize (GObject *object) - g_strfreev (authority->priv->rules_dirs); - - delete authority->priv->ac; -+ delete authority->priv->js_global; -+ delete authority->priv->js_polkit; - - JS_DestroyContext (authority->priv->cx); - /* JS_ShutDown (); */ --- -2.24.1 - diff --git a/buildroot-2021.05/package/polkit/0003-polkit-0.116-pkttyagent-sigttou-bg-job.patch b/buildroot-2021.05/package/polkit/0003-polkit-0.116-pkttyagent-sigttou-bg-job.patch deleted file mode 100644 index fb41df3a..00000000 --- a/buildroot-2021.05/package/polkit/0003-polkit-0.116-pkttyagent-sigttou-bg-job.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 76aae4fce586b400f5fe08df31497db19d624609 Mon Sep 17 00:00:00 2001 -From: Jan Rybar -Date: Thu, 1 Aug 2019 06:46:10 +0000 -Subject: [PATCH] pkttyagent: process stopped by SIGTTOU if run in background - job - - -(cherry picked from commit 76aae4fce586b400f5fe08df31497db19d624609) -Signed-off-by: Jan Rybar -Signed-off-by: Adam Duskett ---- - src/programs/pkttyagent.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/programs/pkttyagent.c b/src/programs/pkttyagent.c -index 3c8d502..13879a2 100644 ---- a/src/programs/pkttyagent.c -+++ b/src/programs/pkttyagent.c -@@ -264,6 +264,12 @@ main (int argc, char *argv[]) - - memset (&sa, 0, sizeof (sa)); - sa.sa_handler = &tty_handler; -+/* If tty_handler() resets terminal while pkttyagent is run in background job, -+ the process gets stopped by SIGTTOU. This impacts systemctl, hence it must -+ be blocked for a while and then the process gets killed anyway. -+ */ -+ sigemptyset(&sa.sa_mask); -+ sigaddset(&sa.sa_mask, SIGTTOU); - sigaction (SIGTERM, &sa, &savesigterm); - sigaction (SIGINT, &sa, &savesigint); - sigaction (SIGTSTP, &sa, &savesigtstp); --- -2.24.1 - diff --git a/buildroot-2021.05/package/polkit/Config.in b/buildroot-2021.05/package/polkit/Config.in deleted file mode 100644 index f54b6b4c..00000000 --- a/buildroot-2021.05/package/polkit/Config.in +++ /dev/null @@ -1,32 +0,0 @@ -config BR2_PACKAGE_POLKIT - bool "polkit" - depends on BR2_HOST_GCC_AT_LEAST_4_9 # spidermonkey - depends on BR2_INSTALL_LIBSTDCPP # spidermonkey - depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS # spidermonkey - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # spidermonkey - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # spidermonkey - depends on BR2_USE_MMU # libglib2, dbus - depends on BR2_USE_WCHAR # libglib2 - depends on !BR2_STATIC_LIBS # spidermonkey - depends on !BR2_TOOLCHAIN_USES_UCLIBC # spidermonkey - select BR2_PACKAGE_DBUS # runtime - select BR2_PACKAGE_EXPAT - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_SPIDERMONKEY - help - PolicyKit is a toolkit for defining and handling - authorizations. It is used for allowing unprivileged - processes to speak to privileged processes. - - http://www.freedesktop.org/wiki/Software/polkit - -comment "polkit needs a glibc or musl toolchain with C++, wchar, dynamic library, NPTL, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC || \ - !BR2_INSTALL_LIBSTDCPP || \ - BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_HOST_GCC_AT_LEAST_4_9 || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/polkit/polkit.hash b/buildroot-2021.05/package/polkit/polkit.hash deleted file mode 100644 index bacd6821..00000000 --- a/buildroot-2021.05/package/polkit/polkit.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 88170c9e711e8db305a12fdb8234fac5706c61969b94e084d0f117d8ec5d34b1 polkit-0.116.tar.gz - -# Locally calculated -sha256 d2e2aa973e29c75e1b492e67ea7b7da9de2d501d49a934657971fd74f9a0b0a8 COPYING diff --git a/buildroot-2021.05/package/polkit/polkit.mk b/buildroot-2021.05/package/polkit/polkit.mk deleted file mode 100644 index bf9b5a71..00000000 --- a/buildroot-2021.05/package/polkit/polkit.mk +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################ -# -# polkit -# -################################################################################ - -POLKIT_VERSION = 0.116 -POLKIT_SITE = http://www.freedesktop.org/software/polkit/releases -POLKIT_LICENSE = GPL-2.0 -POLKIT_LICENSE_FILES = COPYING -POLKIT_CPE_ID_VENDOR = polkit_project -POLKIT_AUTORECONF = YES -POLKIT_INSTALL_STAGING = YES - -POLKIT_DEPENDENCIES = \ - libglib2 host-intltool expat spidermonkey $(TARGET_NLS_DEPENDENCIES) - -# spidermonkey needs C++11 -POLKIT_CONF_ENV = \ - CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" \ - LIBS=$(TARGET_NLS_LIBS) - -POLKIT_CONF_OPTS = \ - --with-os-type=unknown \ - --disable-man-pages \ - --disable-examples \ - --disable-libelogind \ - --disable-libsystemd-login - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -POLKIT_CONF_OPTS += --enable-introspection -POLKIT_DEPENDENCIES += gobject-introspection -else -POLKIT_CONF_OPTS += --disable-introspection -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -POLKIT_DEPENDENCIES += linux-pam -POLKIT_CONF_OPTS += --with-authfw=pam -else -POLKIT_CONF_OPTS += --with-authfw=shadow -endif - -define POLKIT_USERS - polkitd -1 polkitd -1 * - - - Polkit Daemon -endef - -define POLKIT_PERMISSIONS - /etc/polkit-1 r 750 root polkitd - - - - - - /usr/share/polkit-1 r 750 root polkitd - - - - - - /usr/bin/pkexec f 4755 root root - - - - - -endef - -define POLKIT_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(POLKIT_PKGDIR)/polkit.service \ - $(TARGET_DIR)/usr/lib/systemd/system/polkit.service - -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/poppler/Config.in b/buildroot-2021.05/package/poppler/Config.in deleted file mode 100644 index 521e3e65..00000000 --- a/buildroot-2021.05/package/poppler/Config.in +++ /dev/null @@ -1,36 +0,0 @@ -config BR2_PACKAGE_POPPLER - bool "poppler" - depends on BR2_USE_WCHAR - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14, constexpr - select BR2_PACKAGE_FONTCONFIG - help - Poppler is a PDF rendering library based on the xpdf-3.0 - code base. - - http://poppler.freedesktop.org/ - -if BR2_PACKAGE_POPPLER - -config BR2_PACKAGE_POPPLER_QT5 - bool "Qt5 support" - depends on BR2_PACKAGE_QT5 - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_QT5BASE_WIDGETS - select BR2_PACKAGE_QT5BASE_XML - help - Build Qt support into the Poppler library - -config BR2_PACKAGE_POPPLER_UTILS - bool "command line utils" - help - Compile poppler command line utils. - -endif - -comment "poppler needs a toolchain w/ wchar, C++, threads, dynamic library, gcc >= 5" - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2021.05/package/poppler/poppler.hash b/buildroot-2021.05/package/poppler/poppler.hash deleted file mode 100644 index a06def66..00000000 --- a/buildroot-2021.05/package/poppler/poppler.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 c7a130da743b38a548f7a21fe5940506fb1949f4ebdd3209f0e5b302fa139731 poppler-0.84.0.tar.xz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/poppler/poppler.mk b/buildroot-2021.05/package/poppler/poppler.mk deleted file mode 100644 index a5a97d97..00000000 --- a/buildroot-2021.05/package/poppler/poppler.mk +++ /dev/null @@ -1,127 +0,0 @@ -################################################################################ -# -# poppler -# -################################################################################ - -POPPLER_VERSION = 0.84.0 -POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz -POPPLER_SITE = http://poppler.freedesktop.org -POPPLER_DEPENDENCIES = fontconfig host-pkgconf -POPPLER_LICENSE = GPL-2.0+ -POPPLER_LICENSE_FILES = COPYING -POPPLER_CPE_ID_VENDOR = freedesktop -POPPLER_INSTALL_STAGING = YES - -POPPLER_CONF_OPTS = \ - -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ - -DBUILD_GTK_TESTS=OFF \ - -DBUILD_QT5_TESTS=OFF \ - -DBUILD_CPP_TESTS=OFF \ - -DENABLE_GTK_DOC=OFF - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -POPPLER_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -endif - -ifeq ($(BR2_PACKAGE_BOOST),y) -POPPLER_DEPENDENCIES += boost -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -POPPLER_DEPENDENCIES += jpeg -POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=libjpeg -DWITH_JPEG=ON -else -POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=none -DWITH_JPEG=OFF -endif - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -POPPLER_DEPENDENCIES += gobject-introspection -POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=ON -else -POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -POPPLER_DEPENDENCIES += libpng -POPPLER_CONF_OPTS += -DWITH_PNG=ON -else -POPPLER_CONF_OPTS += -DWITH_PNG=OFF -endif - -ifeq ($(BR2_PACKAGE_LCMS2),y) -POPPLER_DEPENDENCIES += lcms2 -POPPLER_CONF_OPTS += -DENABLE_CMS=lcms2 -else -POPPLER_CONF_OPTS += -DENABLE_CMS=none -endif - -ifeq ($(BR2_PACKAGE_OPENJPEG),y) -POPPLER_DEPENDENCIES += openjpeg -POPPLER_CONF_OPTS += -DENABLE_LIBOPENJPEG=openjpeg2 -else -POPPLER_CONF_OPTS += -DENABLE_LIBOPENJPEG=none -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -POPPLER_DEPENDENCIES += libcurl -POPPLER_CONF_OPTS += -DENABLE_LIBCURL=ON -else -POPPLER_CONF_OPTS += -DENABLE_LIBCURL=OFF -endif - -ifeq ($(BR2_PACKAGE_POPPLER_QT5),y) -POPPLER_DEPENDENCIES += qt5base -POPPLER_CONF_OPTS += -DENABLE_QT5=ON -else -POPPLER_CONF_OPTS += -DENABLE_QT5=OFF -endif - -ifeq ($(BR2_PACKAGE_POPPLER_UTILS),y) -POPPLER_CONF_OPTS += -DENABLE_UTILS=ON -else -POPPLER_CONF_OPTS += -DENABLE_UTILS=OFF -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -POPPLER_DEPENDENCIES += zlib -POPPLER_CONF_OPTS += -DENABLE_ZLIB=ON -else -POPPLER_CONF_OPTS += -DENABLE_ZLIB=OFF -endif - -ifeq ($(BR2_PACKAGE_CAIRO),y) -POPPLER_DEPENDENCIES += cairo -POPPLER_CONF_OPTS += -DWITH_Cairo=ON -else -POPPLER_CONF_OPTS += -DWITH_Cairo=OFF -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -POPPLER_DEPENDENCIES += tiff -POPPLER_CONF_OPTS += -DWITH_TIFF=ON -else -POPPLER_CONF_OPTS += -DWITH_TIFF=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -POPPLER_DEPENDENCIES += libglib2 -POPPLER_CONF_OPTS += -DENABLE_GLIB=ON -else -POPPLER_CONF_OPTS += -DENABLE_GLIB=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBNSS),y) -POPPLER_DEPENDENCIES += libnss -POPPLER_CONF_OPTS += -DWITH_NSS3=ON -else -POPPLER_CONF_OPTS += -DWITH_NSS3=OFF -endif - -ifeq ($(BR2_SOFT_FLOAT),y) -POPPLER_CONF_OPTS += -DUSE_FLOAT=OFF -else -POPPLER_CONF_OPTS += -DUSE_FLOAT=ON -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/portaudio/portaudio.hash b/buildroot-2021.05/package/portaudio/portaudio.hash deleted file mode 100644 index 903d760c..00000000 --- a/buildroot-2021.05/package/portaudio/portaudio.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513 pa_stable_v190600_20161030.tgz -sha256 ec52a1952d701f94e5135719a47376da4ee0b4a0201f1cafb49f61db6480ac3d LICENSE.txt diff --git a/buildroot-2021.05/package/portaudio/portaudio.mk b/buildroot-2021.05/package/portaudio/portaudio.mk deleted file mode 100644 index 0cf754c7..00000000 --- a/buildroot-2021.05/package/portaudio/portaudio.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# portaudio -# -################################################################################ - -PORTAUDIO_VERSION = v190600_20161030 -PORTAUDIO_SITE = http://www.portaudio.com/archives -PORTAUDIO_SOURCE = pa_stable_$(PORTAUDIO_VERSION).tgz -PORTAUDIO_INSTALL_STAGING = YES -PORTAUDIO_MAKE = $(MAKE1) -PORTAUDIO_LICENSE = portaudio license (MIT-like plus special clause) -PORTAUDIO_LICENSE_FILES = LICENSE.txt - -PORTAUDIO_DEPENDENCIES = \ - $(if $(BR2_PACKAGE_PORTAUDIO_ALSA),alsa-lib) - -PORTAUDIO_CONF_OPTS = \ - $(if $(BR2_PACKAGE_PORTAUDIO_ALSA),--with-alsa,--without-alsa) \ - $(if $(BR2_PACKAGE_PORTAUDIO_OSS),--with-oss,--without-oss) \ - $(if $(BR2_PACKAGE_PORTAUDIO_CXX),--enable-cxx,--disable-cxx) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/postgis/0001-Add-HAVE_VASPRINTF-HAVE_ASPRINTF-templates.patch b/buildroot-2021.05/package/postgis/0001-Add-HAVE_VASPRINTF-HAVE_ASPRINTF-templates.patch deleted file mode 100644 index 3a40afdd..00000000 --- a/buildroot-2021.05/package/postgis/0001-Add-HAVE_VASPRINTF-HAVE_ASPRINTF-templates.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 7bf2fc388df10bc1760cd06594f50da0c78ee3a2 Mon Sep 17 00:00:00 2001 -From: fidomax -Date: Tue, 26 Jan 2021 07:33:17 +0300 -Subject: [PATCH] Add HAVE_VASPRINTF HAVE_ASPRINTF templates - -It fixes autoreconf error: -autoheader: warning: missing template: HAVE_ASPRINTF -autoheader: Use AC_DEFINE([HAVE_ASPRINTF], [], [Description]) -autoheader: warning: missing template: HAVE_VASPRINTF - -Signed-off-by: Maxim Kochetkov -Fetch from: https://github.com/postgis/postgis/commit/d0ac5df49961d1d1a74b894f9941b973c0695c11.patch ---- - configure.ac | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 9ac7051bb..dddb3aef7 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -11,6 +11,8 @@ dnl ********************************************************************** - - AC_INIT() - AC_CONFIG_HEADERS([postgis_config.h]) -+AH_TEMPLATE([HAVE_VASPRINTF]) -+AH_TEMPLATE([HAVE_ASPRINTF]) - AC_CONFIG_MACRO_DIR([macros]) - AC_CONFIG_AUX_DIR([build-aux]) - AC_PROG_INSTALL --- -2.30.0 - diff --git a/buildroot-2021.05/package/postgis/0002-Add-POSTGIS_DEBUG_LEVEL-define-to-configure.ac.patch b/buildroot-2021.05/package/postgis/0002-Add-POSTGIS_DEBUG_LEVEL-define-to-configure.ac.patch deleted file mode 100644 index 71409ca5..00000000 --- a/buildroot-2021.05/package/postgis/0002-Add-POSTGIS_DEBUG_LEVEL-define-to-configure.ac.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 97d0cb4f4a6f3bec50729e3f896d4a84b796c5c6 Mon Sep 17 00:00:00 2001 -From: fidomax -Date: Tue, 26 Jan 2021 09:17:17 +0300 -Subject: [PATCH] Add POSTGIS_DEBUG_LEVEL define to configure.ac - -In case of using autoreconf "#define POSTGIS_DEBUG_LEVEL 0" is removed from postgis_config.h.in so build failed with undefined POSTGIS_DEBUG_LEVEL. - -Signed-off-by: Maxim Kochetkov -Fetch from: https://github.com/postgis/postgis/commit/2b2c2cb159cfcaacb75a4e74f17bd2834d61acd0.patch ---- - configure.ac | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/configure.ac b/configure.ac -index dddb3aef7..86e1597ee 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1131,6 +1131,8 @@ else - CPPFLAGS="-DNDEBUG $CPPFLAGS" - fi - -+AC_DEFINE([POSTGIS_DEBUG_LEVEL], [0], [Define debug level. Default 0]) -+ - dnl =========================================================================== - dnl Allow the developer to disable the automatic updates of postgis_revision.h - dnl with --without-phony-revision --- -2.30.0 - diff --git a/buildroot-2021.05/package/postgis/0004-Use-pkg-config-to-get-PROJ-version-if-available.patch b/buildroot-2021.05/package/postgis/0004-Use-pkg-config-to-get-PROJ-version-if-available.patch deleted file mode 100644 index 1e65b98d..00000000 --- a/buildroot-2021.05/package/postgis/0004-Use-pkg-config-to-get-PROJ-version-if-available.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 876a04a795fcb179e0dc802e260353012c4890f9 Mon Sep 17 00:00:00 2001 -From: Maxim Kochetkov -Date: Thu, 28 Jan 2021 08:12:57 +0300 -Subject: [PATCH] Use pkg-config to get PROJ version if available - -In case of cross-compile AC_PROJ_VERSION([POSTGIS_PROJ_VERSION]) fails. -So try to get version by pkg-config first - -Signed-off-by: Maxim Kochetkov -Fetch from: https://github.com/postgis/postgis/commit/671a878982550e3c590d642620a6621b52c230c7.patch ---- - configure.ac | 7 +++++-- - 1 file changed, 5 insertions(+), 2 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 86e1597ee..016f81c7d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -866,6 +866,7 @@ elif test ! -z "$PKG_CONFIG"; then - [ - PROJ_CPPFLAGS="$PROJ_CFLAGS" - PROJ_LDFLAGS="$PROJ_LIBS" -+ POSTGIS_PROJ_VERSION=`$PKG_CONFIG proj --modversion | sed 's/\([[0-9]]\).*\([[0-9]]\).*\([[0-9]]\)/\1\2/'` - ], - [ - PROJ_LDFLAGS="-lproj" -@@ -887,8 +888,10 @@ AC_CHECK_HEADER([proj_api.h], - )] - ) - --dnl Return the PROJ.4 version number --AC_PROJ_VERSION([POSTGIS_PROJ_VERSION]) -+dnl Return the PROJ.4 version number if not detected by pkg-config -+if test "x$POSTGIS_PROJ_VERSION" = "x"; then -+ AC_PROJ_VERSION([POSTGIS_PROJ_VERSION]) -+fi - AC_DEFINE_UNQUOTED([POSTGIS_PROJ_VERSION], [$POSTGIS_PROJ_VERSION], [PROJ library version]) - AC_SUBST([POSTGIS_PROJ_VERSION]) - CPPFLAGS="$CPPFLAGS_SAVE" --- -2.30.0 - diff --git a/buildroot-2021.05/package/postgis/0005-configure.ac-fix-cross-compilation-with-protobuf-c.patch b/buildroot-2021.05/package/postgis/0005-configure.ac-fix-cross-compilation-with-protobuf-c.patch deleted file mode 100644 index b415edf0..00000000 --- a/buildroot-2021.05/package/postgis/0005-configure.ac-fix-cross-compilation-with-protobuf-c.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 8b80c4bd848ff3d71b998dc8a4bd42627ed72581 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 17 Apr 2021 11:58:19 +0200 -Subject: [PATCH] configure.ac: fix cross-compilation with protobuf-c - -Try to retrieve the version from pkg-config to avoid the following -error: - -checking protobuf-c version... configure: error: in `/home/fabrice/buildroot/output/build/postgis-3.1.1': -configure: error: cannot run test program while cross compiling - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/postgis/postgis/commit/8b80c4bd848ff3d71b998dc8a4bd42627ed72581] ---- - configure.ac | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 48ba070a40..df75fe6601 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1004,6 +1004,7 @@ if test "$CHECK_PROTOBUF" != "no"; then - PKG_CHECK_MODULES([PROTOBUFC], [libprotobuf-c >= 1.1.0], [ - PROTOBUF_CPPFLAGS="$PROTOBUFC_CFLAGS"; - PROTOBUF_LDFLAGS="$PROTOBUFC_LIBS"; -+ PROTOC_VERSION=`$PKG_CONFIG libprotobuf-c --modversion | sed 's/\([[0-9]]\).*\([[0-9]]\).*\([[0-9]]\)/\100\200\3/'` - ], [ - AC_MSG_RESULT([libprotobuf-c not found in pkg-config]) - ]) -@@ -1054,7 +1055,10 @@ if test "$CHECK_PROTOBUF" != "no"; then - []) - - AC_MSG_CHECKING([protobuf-c version]) -- AC_PROTOBUFC_VERSION([PROTOC_VERSION]) -+ dnl Return the protobuf-c version number if not detected by pkg-config -+ if test "x$PROTOC_VERSION" = "x"; then -+ AC_PROTOBUFC_VERSION([PROTOC_VERSION]) -+ fi - if test ! "$PROTOC_VERSION" -ge 1001000; then - AC_MSG_ERROR("Old protobuf-c release found but 1.1.0 is required. You can disable MVT and Geobuf support using --without-protobuf") - fi diff --git a/buildroot-2021.05/package/postgis/Config.in b/buildroot-2021.05/package/postgis/Config.in deleted file mode 100644 index 04705f7e..00000000 --- a/buildroot-2021.05/package/postgis/Config.in +++ /dev/null @@ -1,28 +0,0 @@ -config BR2_PACKAGE_POSTGIS - bool "postgis" - depends on BR2_PACKAGE_POSTGRESQL_FULL - depends on !BR2_microblazeel && !BR2_microblazebe # ICE - depends on BR2_INSTALL_LIBSTDCPP # proj - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, proj - depends on BR2_TOOLCHAIN_HAS_THREADS # proj - depends on BR2_USE_WCHAR # libgeos, proj - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 # libgeos - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 # libgeos - select BR2_PACKAGE_LIBGEOS - select BR2_PACKAGE_PROJ - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - PostGIS is a spatial database extender for PostgreSQL - object-relational database. It adds support for - geographic objects allowing location queries - to be run in SQL. - - https://postgis.net/ - -comment "postgis needs a toolchain w/ C++, threads, wchar, gcc >= 4.7, not binutils bug 21464, 27597" - depends on !BR2_microblazeel && !BR2_microblazebe # ICE - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \ - !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ - BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 || \ - BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 diff --git a/buildroot-2021.05/package/postgis/postgis.hash b/buildroot-2021.05/package/postgis/postgis.hash deleted file mode 100644 index 2f0d6272..00000000 --- a/buildroot-2021.05/package/postgis/postgis.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 0e96afef586db6939d48fb22fbfbc9d0de5e6bc1722d6d553d63bb41441a2a7d postgis-3.1.1.tar.gz -sha256 55b69f22e1752830dd565852dc7ff242daf289dbd3a6bfede5db43f90d2e28c9 LICENSE.TXT diff --git a/buildroot-2021.05/package/postgis/postgis.mk b/buildroot-2021.05/package/postgis/postgis.mk deleted file mode 100644 index 442872ae..00000000 --- a/buildroot-2021.05/package/postgis/postgis.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# postgis -# -################################################################################ - -POSTGIS_VERSION = 3.1.1 -POSTGIS_SITE = https://download.osgeo.org/postgis/source -# parallel build issues -POSTGIS_MAKE = $(MAKE1) -POSTGIS_LICENSE = GPL-2.0+ (PostGIS), BSD-2-Clause, MIT, Apache-2.0, ISC, BSL-1.0, CC-BY-SA-3.0 -POSTGIS_LICENSE_FILES = LICENSE.TXT -POSTGIS_CPE_ID_VENDOR = postgis -# configure.ac is patched so need to run autoreconf -POSTGIS_AUTORECONF = YES - -POSTGIS_DEPENDENCIES = postgresql libgeos proj libxml2 - -POSTGIS_CONF_OPTS += \ - --with-pgconfig=$(STAGING_DIR)/usr/bin/pg_config \ - --with-geosconfig=$(STAGING_DIR)/usr/bin/geos-config \ - --with-xml2config=$(STAGING_DIR)/usr/bin/xml2-config - -ifeq ($(BR2_PACKAGE_LIBGDAL),y) -POSTGIS_DEPENDENCIES += libgdal -POSTGIS_CONF_OPTS += --with-raster -else -POSTGIS_CONF_OPTS += --without-raster -endif - -ifeq ($(BR2_PACKAGE_JSON_C),y) -POSTGIS_DEPENDENCIES += json-c -POSTGIS_CONF_OPTS += --with-json -else -POSTGIS_CONF_OPTS += --without-json -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -POSTGIS_DEPENDENCIES += pcre -endif - -ifeq ($(BR2_PACKAGE_PROTOBUF_C),y) -POSTGIS_DEPENDENCIES += protobuf-c -POSTGIS_CONF_OPTS += --with-protobuf -else -POSTGIS_CONF_OPTS += --without-protobuf -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/postgresql/Config.in b/buildroot-2021.05/package/postgresql/Config.in deleted file mode 100644 index 2debdc24..00000000 --- a/buildroot-2021.05/package/postgresql/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_POSTGRESQL - bool "postgresql" - depends on BR2_USE_MMU # fork() - depends on BR2_USE_WCHAR - # fails to build in a pure static linking scenario, and - # postgresql is unlikely to be used in a pure statically - # linked environment. - depends on !BR2_STATIC_LIBS - help - PostgreSQL is a powerful, open source object-relational - database system. - - Enable the readline package to gain readline support in - psql (the command line interpreter), which offers - command history and edit functions. - - Enable the zlib package to gain builtin compression for - archives with pg_dump and pg_restore. - - http://www.postgresql.org - -if BR2_PACKAGE_POSTGRESQL - -config BR2_PACKAGE_POSTGRESQL_FULL - bool "postgresql-full" - help - Build PostgreSQL, contrib, and documentation. - -endif - -comment "postgresql needs a toolchain w/ dynamic library, wchar" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/postgresql/pg_config b/buildroot-2021.05/package/postgresql/pg_config deleted file mode 100644 index 3b0cb35f..00000000 --- a/buildroot-2021.05/package/postgresql/pg_config +++ /dev/null @@ -1,75 +0,0 @@ -#!/bin/sh - -# -# Minimal pg_config implementation as replacement for the native pg_config application -# - -prefix=/usr - -case "$1" in - --includedir) - echo "$prefix/include" - ;; - --pkgincludedir) - echo "$prefix/include/postgresql" - ;; - --includedir-server) - echo "$prefix/include/postgresql/server" - ;; - --libdir) - echo "$prefix/lib" - ;; - --version) - echo "PostgreSQL @POSTGRESQL_VERSION@" - ;; - --configure) - echo "@POSTGRESQL_CONF_OPTIONS@" - ;; - --pgxs) - echo "$prefix/lib/postgresql/pgxs/src/makefiles/pgxs.mk" - ;; - --cflags) - echo "@TARGET_CFLAGS@" - ;; - --cc) - echo "@TARGET_CC@" - ;; - --pkglibdir) - echo "/usr/lib/postgresql" - ;; - --bindir) - echo "/usr/bin" - ;; - --sharedir) - echo "/usr/share/postgresql" - ;; - --localedir) - echo "/usr/share/locale" - ;; - --docdir) - echo "/usr/share/doc/postgresql" - ;; - --mandir) - echo "/usr/share/man" - ;; - *) - echo "Usage: $0 {OPTION}" - echo - echo "Options:" - echo - echo " --includedir show location of C header files of the client interfaces" - echo " --pkgincludedir show location of other C header files" - echo " --includedir-server show location of C header files for the server" - echo " --libdir show location of object code libraries" - echo " --version show the PostgreSQL version" - echo " --configure show options given to configure script" - echo " --pgxs show location of extension makefile" - echo " --cflags show CFLAGS value used when PostgreSQL was built" - echo " --cc show CC value used when PostgreSQL was built" - echo " --pkglibdir show location of dynamically loadable modules" - echo " --bindir show location of user executables" - echo " --sharedir show location of architecture-independent support files" - echo " --localedir show location of locale support files" - echo " --docdir show location of documentation files" - echo " --mandir show location of manual pages" -esac diff --git a/buildroot-2021.05/package/postgresql/postgresql.hash b/buildroot-2021.05/package/postgresql/postgresql.hash deleted file mode 100644 index caa8a1f5..00000000 --- a/buildroot-2021.05/package/postgresql/postgresql.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://ftp.postgresql.org/pub/source/v13.3/postgresql-13.3.tar.bz2.sha256 -sha256 3cd9454fa8c7a6255b6743b767700925ead1b9ab0d7a0f9dcb1151010f8eb4a1 postgresql-13.3.tar.bz2 - -# License file, Locally calculated -sha256 31ccadc0a70e8e0e8a35c5833567b64388dfe34987d962e1911554e271294105 COPYRIGHT diff --git a/buildroot-2021.05/package/postgresql/postgresql.mk b/buildroot-2021.05/package/postgresql/postgresql.mk deleted file mode 100644 index cab55538..00000000 --- a/buildroot-2021.05/package/postgresql/postgresql.mk +++ /dev/null @@ -1,141 +0,0 @@ -################################################################################ -# -# postgresql -# -################################################################################ - -POSTGRESQL_VERSION = 13.3 -POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2 -POSTGRESQL_SITE = https://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION) -POSTGRESQL_LICENSE = PostgreSQL -POSTGRESQL_LICENSE_FILES = COPYRIGHT -POSTGRESQL_CPE_ID_VENDOR = postgresql -POSTGRESQL_INSTALL_STAGING = YES -POSTGRESQL_CONFIG_SCRIPTS = pg_config -POSTGRESQL_CONF_ENV = \ - ac_cv_type_struct_sockaddr_in6=yes \ - LIBS=$(TARGET_NLS_LIBS) -POSTGRESQL_CONF_OPTS = --disable-rpath -POSTGRESQL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) - -# https://www.postgresql.org/docs/11/static/install-procedure.html: -# "If you want to invoke the build from another makefile rather than -# manually, you must unset MAKELEVEL or set it to zero" -POSTGRESQL_MAKE_OPTS = MAKELEVEL=0 - -ifeq ($(BR2_PACKAGE_POSTGRESQL_FULL),y) -POSTGRESQL_MAKE_OPTS += world -POSTGRESQL_INSTALL_TARGET_OPTS += DESTDIR=$(TARGET_DIR) install-world -POSTGRESQL_INSTALL_STAGING_OPTS += DESTDIR=$(STAGING_DIR) install-world -endif - -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -# PostgreSQL does not build against uClibc with locales -# enabled, due to an uClibc bug, see -# http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html -# so overwrite automatic detection and disable locale support -POSTGRESQL_CONF_ENV += pgac_cv_type_locale_t=no -endif - -ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -POSTGRESQL_CONF_OPTS += --disable-thread-safety -endif - -ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_nios2)$(BR2_riscv)$(BR2_xtensa)$(BR2_nds32),y) -POSTGRESQL_CONF_OPTS += --disable-spinlocks -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -POSTGRESQL_DEPENDENCIES += readline -else -POSTGRESQL_CONF_OPTS += --without-readline -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -POSTGRESQL_DEPENDENCIES += zlib -else -POSTGRESQL_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_TZDATA),y) -POSTGRESQL_DEPENDENCIES += tzdata -POSTGRESQL_CONF_OPTS += --with-system-tzdata=/usr/share/zoneinfo -else -POSTGRESQL_DEPENDENCIES += host-zic -POSTGRESQL_CONF_ENV += ZIC="$(ZIC)" -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -POSTGRESQL_DEPENDENCIES += openssl -POSTGRESQL_CONF_OPTS += --with-openssl -else -# PostgreSQL checks for /dev/urandom and fails if it's being cross-compiled and -# an SSL library isn't found. Since /dev/urandom is guaranteed to be provided -# on Linux systems, explicitly tell the configure script it's available. -POSTGRESQL_CONF_ENV += ac_cv_file__dev_urandom=yes -endif - -ifeq ($(BR2_PACKAGE_OPENLDAP),y) -POSTGRESQL_DEPENDENCIES += openldap -POSTGRESQL_CONF_OPTS += --with-ldap -else -POSTGRESQL_CONF_OPTS += --without-ldap -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -POSTGRESQL_DEPENDENCIES += libxml2 -POSTGRESQL_CONF_OPTS += --with-libxml -POSTGRESQL_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config -else -POSTGRESQL_CONF_OPTS += --without-libxml -endif - -# required for postgresql.service Type=notify -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -POSTGRESQL_DEPENDENCIES += systemd -POSTGRESQL_CONF_OPTS += --with-systemd -else -POSTGRESQL_CONF_OPTS += --without-systemd -endif - -POSTGRESQL_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -POSTGRESQL_CFLAGS += -O0 -endif - -POSTGRESQL_CONF_ENV += CFLAGS="$(POSTGRESQL_CFLAGS)" - -define POSTGRESQL_USERS - postgres -1 postgres -1 * /var/lib/pgsql /bin/sh - PostgreSQL Server -endef - -define POSTGRESQL_INSTALL_TARGET_FIXUP - $(INSTALL) -dm 0700 $(TARGET_DIR)/var/lib/pgsql - $(RM) -rf $(TARGET_DIR)/usr/lib/postgresql/pgxs -endef - -POSTGRESQL_POST_INSTALL_TARGET_HOOKS += POSTGRESQL_INSTALL_TARGET_FIXUP - -define POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG - $(INSTALL) -m 0755 -D package/postgresql/pg_config \ - $(STAGING_DIR)/usr/bin/pg_config - $(SED) "s|@POSTGRESQL_CONF_OPTIONS@|$(POSTGRESQL_CONF_OPTS)|g" $(STAGING_DIR)/usr/bin/pg_config - $(SED) "s|@POSTGRESQL_VERSION@|$(POSTGRESQL_VERSION)|g" $(STAGING_DIR)/usr/bin/pg_config - $(SED) "s|@TARGET_CFLAGS@|$(TARGET_CFLAGS)|g" $(STAGING_DIR)/usr/bin/pg_config - $(SED) "s|@TARGET_CC@|$(TARGET_CC)|g" $(STAGING_DIR)/usr/bin/pg_config -endef - -POSTGRESQL_POST_INSTALL_STAGING_HOOKS += POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG - -define POSTGRESQL_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/postgresql/S50postgresql \ - $(TARGET_DIR)/etc/init.d/S50postgresql -endef - -define POSTGRESQL_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/postgresql/postgresql.service \ - $(TARGET_DIR)/usr/lib/systemd/system/postgresql.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pppd/0001-pppd-Fix-bounds-check.patch b/buildroot-2021.05/package/pppd/0001-pppd-Fix-bounds-check.patch deleted file mode 100644 index 5d7c51bc..00000000 --- a/buildroot-2021.05/package/pppd/0001-pppd-Fix-bounds-check.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 8d7970b8f3db727fe798b65f3377fe6787575426 Mon Sep 17 00:00:00 2001 -From: Paul Mackerras -Date: Mon, 3 Feb 2020 15:53:28 +1100 -Subject: [PATCH] pppd: Fix bounds check in EAP code - -Given that we have just checked vallen < len, it can never be the case -that vallen >= len + sizeof(rhostname). This fixes the check so we -actually avoid overflowing the rhostname array. - -Reported-by: Ilja Van Sprundel -Signed-off-by: Paul Mackerras ---- - pppd/eap.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/pppd/eap.c b/pppd/eap.c -index 94407f56..1b93db01 100644 ---- a/pppd/eap.c -+++ b/pppd/eap.c -@@ -1420,7 +1420,7 @@ int len; - } - - /* Not so likely to happen. */ -- if (vallen >= len + sizeof (rhostname)) { -+ if (len - vallen >= sizeof (rhostname)) { - dbglog("EAP: trimming really long peer name down"); - BCOPY(inp + vallen, rhostname, sizeof (rhostname) - 1); - rhostname[sizeof (rhostname) - 1] = '\0'; -@@ -1846,7 +1846,7 @@ int len; - } - - /* Not so likely to happen. */ -- if (vallen >= len + sizeof (rhostname)) { -+ if (len - vallen >= sizeof (rhostname)) { - dbglog("EAP: trimming really long peer name down"); - BCOPY(inp + vallen, rhostname, sizeof (rhostname) - 1); - rhostname[sizeof (rhostname) - 1] = '\0'; diff --git a/buildroot-2021.05/package/pppd/Config.in b/buildroot-2021.05/package/pppd/Config.in deleted file mode 100644 index 7db5674b..00000000 --- a/buildroot-2021.05/package/pppd/Config.in +++ /dev/null @@ -1,43 +0,0 @@ -config BR2_PACKAGE_PPPD - bool "pppd" - depends on !BR2_STATIC_LIBS - depends on !BR2_TOOLCHAIN_USES_MUSL # Use __P() macro all over the tree - depends on BR2_USE_MMU - select BR2_PACKAGE_OPENSSL if BR2_TOOLCHAIN_USES_GLIBC - help - An implementation of the Point-to-point protocol. - - http://www.samba.org/ppp/ - -if BR2_PACKAGE_PPPD - -config BR2_PACKAGE_PPPD_FILTER - bool "filtering" - select BR2_PACKAGE_LIBPCAP - help - Packet filtering abilities for pppd. If enabled, - the pppd active-filter and pass-filter options - are available. - -config BR2_PACKAGE_PPPD_RADIUS - bool "radius" - help - Install RADIUS support for pppd - -config BR2_PACKAGE_PPPD_OVERWRITE_RESOLV_CONF - bool "overwrite /etc/resolv.conf" - default y - help - Overwrite /etc/resolv.conf instead of maintaining the - separate list of nameservers in /etc/ppp/resolv.conf - - Note that the pppd default of writing to /etc/ppp/resolv.conf - does not work on a read-only rootfs unless you make it - writable in your rootfs customizations (e.g. by linking it to - a file in tmpfs or by mounting a writable filesystem on it). - -endif - -comment "pppd needs a uClibc or glibc toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/pppd/pppd.hash b/buildroot-2021.05/package/pppd/pppd.hash deleted file mode 100644 index a9231585..00000000 --- a/buildroot-2021.05/package/pppd/pppd.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally calculated -sha256 91fbff784ad16a1111a7f22df4675aeb161d958bb79f1cc4c1f0c81944e7cb40 pppd-2.4.8.tar.gz -sha256 3990c65c506885f7bb75455d1d6188743a14ad46f5b62e136ef3739aed52c532 pppd/tdb.c -sha256 1822ead9d2854adfbd282322b29730a3fec4cc67f6f6a2e487aad3476e3afd59 pppd/plugins/pppoatm/COPYING -sha256 91a5e9c173e0e001e081e15bf7850cfd782a0baa02f5921e327ae3b449beff3f pppdump/bsd-comp.c -sha256 ee1c28551c87cdcdaf80eb3922726f015201614cb560a5ed18a7a0c15f2b4aa4 pppd/ccp.c -sha256 6fa4c3dad059f6ef15c1c5e5219d9d0d40991dd3a162098a89967a1720de059e pppd/plugins/passprompt.c diff --git a/buildroot-2021.05/package/pppd/pppd.mk b/buildroot-2021.05/package/pppd/pppd.mk deleted file mode 100644 index 08560090..00000000 --- a/buildroot-2021.05/package/pppd/pppd.mk +++ /dev/null @@ -1,122 +0,0 @@ -################################################################################ -# -# pppd -# -################################################################################ - -PPPD_VERSION = 2.4.8 -PPPD_SITE = $(call github,paulusmack,ppp,ppp-$(PPPD_VERSION)) -PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+ -PPPD_LICENSE_FILES = \ - pppd/tdb.c pppd/plugins/pppoatm/COPYING \ - pppdump/bsd-comp.c pppd/ccp.c pppd/plugins/passprompt.c -PPPD_CPE_ID_VENDOR = samba -PPPD_CPE_ID_PRODUCT = ppp - -# 0001-pppd-Fix-bounds-check.patch -PPPD_IGNORE_CVES += CVE-2020-8597 - -PPPD_MAKE_OPTS = HAVE_INET6=y -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) -PPPD_DEPENDENCIES += openssl -else -PPPD_MAKE_OPTS += USE_CRYPT=y -endif - -PPPD_INSTALL_STAGING = YES -PPPD_TARGET_BINS = chat pppd pppdump pppstats -PPPD_RADIUS_CONF = \ - dictionary dictionary.ascend dictionary.compat \ - dictionary.merit dictionary.microsoft \ - issue port-id-map realms servers radiusclient.conf - -ifeq ($(BR2_PACKAGE_PPPD_FILTER),y) -PPPD_DEPENDENCIES += libpcap -PPPD_MAKE_OPTS += FILTER=y -endif - -# pppd bundles some but not all of the needed kernel headers. The embedded -# if_pppol2tp.h is unfortunately not compatible with kernel headers > 2.6.34, -# and has been part of the kernel headers since 2.6.23, so drop it -define PPPD_DROP_INTERNAL_IF_PPOL2TP_H - $(RM) $(@D)/include/linux/if_pppol2tp.h -endef - -PPPD_POST_EXTRACT_HOOKS += PPPD_DROP_INTERNAL_IF_PPOL2TP_H - -# pppd defaults to /etc/ppp/resolv.conf, which not be writable and is -# definitely not useful since the C library only uses -# /etc/resolv.conf. Therefore, we change pppd to use /etc/resolv.conf -# instead. -define PPPD_SET_RESOLV_CONF - $(SED) 's,ppp/resolv.conf,resolv.conf,' $(@D)/pppd/pathnames.h -endef -ifeq ($(BR2_PACKAGE_PPPD_OVERWRITE_RESOLV_CONF),y) -PPPD_POST_EXTRACT_HOOKS += PPPD_SET_RESOLV_CONF -endif - -define PPPD_CONFIGURE_CMDS - $(SED) 's/FILTER=y/#FILTER=y/' $(PPPD_DIR)/pppd/Makefile.linux - $(SED) 's/ifneq ($$(wildcard \/usr\/include\/pcap-bpf.h),)/ifdef FILTER/' $(PPPD_DIR)/*/Makefile.linux - ( cd $(@D); $(TARGET_MAKE_ENV) ./configure --prefix=/usr ) -endef - -define PPPD_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" COPTS="$(TARGET_CFLAGS)" \ - -C $(@D) $(PPPD_MAKE_OPTS) -endef - -ifeq ($(BR2_PACKAGE_PPPD_RADIUS),y) -define PPPD_INSTALL_RADIUS - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radattr.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radattr.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radius.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radius.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radrealms.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radrealms.so - for m in $(PPPD_RADIUS_CONF); do \ - $(INSTALL) -m 644 -D $(PPPD_DIR)/pppd/plugins/radius/etc/$$m \ - $(TARGET_DIR)/etc/ppp/radius/$$m; \ - done - $(SED) 's:/usr/local/etc:/etc:' \ - $(TARGET_DIR)/etc/ppp/radius/radiusclient.conf - $(SED) 's:/usr/local/sbin:/usr/sbin:' \ - $(TARGET_DIR)/etc/ppp/radius/radiusclient.conf - $(SED) 's:/etc/radiusclient:/etc/ppp/radius:g' \ - $(TARGET_DIR)/etc/ppp/radius/* -endef -endif - -define PPPD_INSTALL_TARGET_CMDS - for sbin in $(PPPD_TARGET_BINS); do \ - $(INSTALL) -D $(PPPD_DIR)/$$sbin/$$sbin \ - $(TARGET_DIR)/usr/sbin/$$sbin; \ - done - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/minconn.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/minconn.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/passprompt.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/passprompt.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/passwordfd.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/passwordfd.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoatm/pppoatm.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppoatm.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/rp-pppoe/rp-pppoe.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/rp-pppoe.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/rp-pppoe/pppoe-discovery \ - $(TARGET_DIR)/usr/sbin/pppoe-discovery - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/winbind.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/winbind.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/openl2tp.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/openl2tp.so - $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/pppol2tp.so \ - $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppol2tp.so - $(INSTALL) -D -m 0755 $(PPPD_DIR)/scripts/pon $(TARGET_DIR)/usr/bin/pon - $(INSTALL) -D -m 0755 $(PPPD_DIR)/scripts/poff $(TARGET_DIR)/usr/bin/poff - $(PPPD_INSTALL_RADIUS) -endef - -define PPPD_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) INSTROOT=$(STAGING_DIR)/ -C $(@D) $(PPPD_MAKE_OPTS) install-devel -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/privoxy/privoxy.hash b/buildroot-2021.05/package/privoxy/privoxy.hash deleted file mode 100644 index 92ecd1dd..00000000 --- a/buildroot-2021.05/package/privoxy/privoxy.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceforge.net/projects/ijbswa/files/Sources/3.0.32%20%28stable%29/ -md5 3a0a8ebdf80e0a29154683e74cbf510b privoxy-3.0.32-stable-src.tar.gz -sha1 3a298ab2599fc92555c86dc29a37742d7396a0d3 privoxy-3.0.32-stable-src.tar.gz -# Locally computed -sha256 c61de4008c62445ec18f1f270407cbf2372eaba93beaccdc9e3238bb2defeed7 privoxy-3.0.32-stable-src.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/privoxy/privoxy.mk b/buildroot-2021.05/package/privoxy/privoxy.mk deleted file mode 100644 index adb5af28..00000000 --- a/buildroot-2021.05/package/privoxy/privoxy.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# privoxy -# -################################################################################ - -PRIVOXY_VERSION = 3.0.32 -PRIVOXY_SITE = http://downloads.sourceforge.net/project/ijbswa/Sources/$(PRIVOXY_VERSION)%20%28stable%29 -PRIVOXY_SOURCE = privoxy-$(PRIVOXY_VERSION)-stable-src.tar.gz -# configure not shipped -PRIVOXY_AUTORECONF = YES -PRIVOXY_DEPENDENCIES = pcre zlib -PRIVOXY_LICENSE = GPL-2.0+ -PRIVOXY_LICENSE_FILES = LICENSE -PRIVOXY_CPE_ID_VENDOR = privoxy - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/procps-ng/procps-ng.hash b/buildroot-2021.05/package/procps-ng/procps-ng.hash deleted file mode 100644 index 123db992..00000000 --- a/buildroot-2021.05/package/procps-ng/procps-ng.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From http://sourceforge.net/projects/procps-ng/files/Production/ -md5 2b0717a7cb474b3d6dfdeedfbad2eccc procps-ng-3.3.15.tar.xz -sha1 2929bc64f0cf7b2db997eef79b7187658e47230d procps-ng-3.3.15.tar.xz -# Locally calculated after checking signature -# http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-3.3.15.tar.xz.asc -sha256 10bd744ffcb3de2d591d2f6acf1a54a7ba070fdcc432a855931a5057149f0465 procps-ng-3.3.15.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 681e386e44a19d7d0674b4320272c90e66b6610b741e7e6305f8219c42e85366 COPYING.LIB diff --git a/buildroot-2021.05/package/procps-ng/procps-ng.mk b/buildroot-2021.05/package/procps-ng/procps-ng.mk deleted file mode 100644 index 84ada1b1..00000000 --- a/buildroot-2021.05/package/procps-ng/procps-ng.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# procps-ng -# -################################################################################ - -PROCPS_NG_VERSION = 3.3.15 -PROCPS_NG_SOURCE = procps-ng-$(PROCPS_NG_VERSION).tar.xz -PROCPS_NG_SITE = http://downloads.sourceforge.net/project/procps-ng/Production -PROCPS_NG_LICENSE = GPL-2.0+, LGPL-2.0+ (libproc and libps) -PROCPS_NG_LICENSE_FILES = COPYING COPYING.LIB -PROCPS_NG_CPE_ID_VENDOR = procps-ng_project -PROCPS_NG_INSTALL_STAGING = YES -PROCPS_NG_DEPENDENCIES = ncurses host-pkgconf $(TARGET_NLS_DEPENDENCIES) -PROCPS_NG_CONF_OPTS = LIBS=$(TARGET_NLS_LIBS) - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -PROCPS_NG_DEPENDENCIES += systemd -PROCPS_NG_CONF_OPTS += --with-systemd -else -PROCPS_NG_CONF_OPTS += --without-systemd -endif - -# Make sure binaries get installed in /bin, as busybox does, so that we -# don't end up with two versions. -# Make sure libprocps.pc is installed in STAGING_DIR/usr/lib/pkgconfig/ -# otherwise it's installed in STAGING_DIR/lib/pkgconfig/ breaking -# pkg-config --libs libprocps. -PROCPS_NG_CONF_OPTS += --exec-prefix=/ \ - --libdir=/usr/lib - -# Allows unicode characters to show in 'watch' -ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) -PROCPS_NG_CONF_OPTS += \ - --enable-watch8bit -endif - -ifeq ($(BR2_USE_WCHAR),) -PROCPS_NG_CONF_OPTS += CPPFLAGS=-DOFF_XTRAWIDE -endif - -# numa support requires libdl, so explicitly disable it when -# BR2_STATIC_LIBS=y -ifeq ($(BR2_STATIC_LIBS),y) -PROCPS_NG_CONF_OPTS += --disable-numa -endif - -# Avoid installing S02sysctl, since openrc provides /etc/init.d/sysctl. -define PROCPS_NG_INSTALL_INIT_OPENRC - @: -endef - -define PROCPS_NG_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/procps-ng/S02sysctl \ - $(TARGET_DIR)/etc/init.d/S02sysctl -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/proftpd/Config.in b/buildroot-2021.05/package/proftpd/Config.in deleted file mode 100644 index 4898f49d..00000000 --- a/buildroot-2021.05/package/proftpd/Config.in +++ /dev/null @@ -1,104 +0,0 @@ -config BR2_PACKAGE_PROFTPD - bool "proftpd" - depends on BR2_USE_MMU # fork() - help - ProFTPD, a highly configurable FTP server. - - http://www.proftpd.org/ - -if BR2_PACKAGE_PROFTPD - -config BR2_PACKAGE_PROFTPD_MOD_CAP - bool "mod_cap support" - select BR2_PACKAGE_LIBCAP - help - Compile ProFTPD with mod_cap support - -config BR2_PACKAGE_PROFTPD_MOD_REWRITE - bool "mod_rewrite support" - help - Compile ProFTPD with mod_rewrite support - -config BR2_PACKAGE_PROFTPD_MOD_REDIS - bool "mod_redis support" - select BR2_PACKAGE_HIREDIS - help - The mod_redis module enables ProFTPD support for caching - data in Redis servers, using the hiredis client library. - -config BR2_PACKAGE_PROFTPD_MOD_SFTP - bool "mod_sftp support" - select BR2_PACKAGE_OPENSSL - help - Compile ProFTPD with mod_sftp support - -config BR2_PACKAGE_PROFTPD_MOD_SQL - bool "mod_sql support" - help - Compile ProFTPD with mod_sql support. - -if BR2_PACKAGE_PROFTPD_MOD_SQL - -config BR2_PACKAGE_PROFTPD_MOD_SQL_SQLITE - bool "mod_sql_sqlite support" - select BR2_PACKAGE_SQLITE - help - Compile ProFTPD with mod_sql_sqlite support. - -endif - -config BR2_PACKAGE_PROFTPD_MOD_SFTP_SQL - bool "mod_sftp_sql support" - select BR2_PACKAGE_PROFTPD_MOD_SQL - select BR2_PACKAGE_PROFTPD_MOD_SFTP - help - Compile ProFTPD with mod_sftp_sql support - -config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB - bool "mod_quotatab support" - help - Compile ProFTPD with mod_quotatab support. This module - is required in order to support quota tables: - 1. mod_quotatab_file - 2. mod_quotatab_ldap - 3. mod_quotatab_radius - 4. mod_quotatab_sql - -if BR2_PACKAGE_PROFTPD_MOD_QUOTATAB - -config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_FILE - bool "mod_quotatab_file table support" - help - Compile mod_quotatab with mod_quotatab_file table. - -config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_LDAP - bool "mod_quotatab_ldap table support" - help - Compile mod_quotatab with mod_quotatab_ldap table. - -config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_RADIUS - bool "mod_quotatab_radius table support" - help - Compile mod_quotatab with mod_quotatab_radius table. - -config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_SQL - bool "mod_quotatab_sql table support" - select BR2_PACKAGE_PROFTPD_MOD_SQL - help - Compile mod_quotatab with mod_quotatab_sql table. - -endif - -config BR2_PACKAGE_PROFTPD_BUFFER_SIZE - int "buffer size in bytes (0 for default)" - default "0" - help - By increasing the buffer size above the default of 1K, - proftpd reads and writes data in larger chunks, and makes - fewer expensive system calls. Use of this option to set buffer - sizes of 8K or more has been reported to drastically increase - transfer speeds (depending on network configurations). - - 0 uses the default size of 1024. - -endif diff --git a/buildroot-2021.05/package/proftpd/proftpd.mk b/buildroot-2021.05/package/proftpd/proftpd.mk deleted file mode 100644 index 7dc3f267..00000000 --- a/buildroot-2021.05/package/proftpd/proftpd.mk +++ /dev/null @@ -1,138 +0,0 @@ -################################################################################ -# -# proftpd -# -################################################################################ - -PROFTPD_VERSION = 1.3.6e -PROFTPD_SITE = $(call github,proftpd,proftpd,v$(PROFTPD_VERSION)) -PROFTPD_LICENSE = GPL-2.0+ -PROFTPD_LICENSE_FILES = COPYING -PROFTPD_CPE_ID_VENDOR = proftpd - -PROFTPD_CONF_ENV = \ - ac_cv_func_setpgrp_void=yes \ - ac_cv_func_setgrent_void=yes - -PROFTPD_CONF_OPTS = \ - --localstatedir=/var/run \ - --disable-static \ - --disable-curses \ - --disable-ncurses \ - --disable-facl \ - --disable-dso \ - --enable-sendfile \ - --enable-shadow \ - --with-gnu-ld \ - --without-openssl-cmdline - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_CAP),y) -PROFTPD_CONF_OPTS += --enable-cap -PROFTPD_DEPENDENCIES += libcap -else -PROFTPD_CONF_OPTS += --disable-cap -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y) -PROFTPD_MODULES += mod_rewrite -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REDIS),y) -PROFTPD_CONF_OPTS += --enable-redis -PROFTPD_DEPENDENCIES += hiredis -else -PROFTPD_CONF_OPTS += --disable-redis -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SFTP),y) -PROFTPD_CONF_OPTS += --enable-openssl -PROFTPD_MODULES += mod_sftp -PROFTPD_DEPENDENCIES += openssl -else -PROFTPD_CONF_OPTS += --disable-openssl -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SQL),y) -PROFTPD_MODULES += mod_sql -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SQL_SQLITE),y) -PROFTPD_MODULES += mod_sql_sqlite -PROFTPD_DEPENDENCIES += sqlite -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SFTP_SQL),y) -PROFTPD_MODULES += mod_sftp_sql -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB),y) -PROFTPD_MODULES += mod_quotatab -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_FILE),y) -PROFTPD_MODULES += mod_quotatab_file -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_LDAP),y) -PROFTPD_MODULES += mod_quotatab_ldap -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_RADIUS),y) -PROFTPD_MODULES += mod_quotatab_radius -endif - -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_SQL),y) -PROFTPD_MODULES += mod_quotatab_sql -endif - -PROFTPD_CONF_OPTS += --with-modules=$(subst $(space),:,$(PROFTPD_MODULES)) - -# configure script doesn't handle detection of %llu format string -# support for printing the file size when cross compiling, breaking -# access for large files. -# We unfortunately cannot AUTORECONF the package, so instead force it -# on if we know we support it -define PROFTPD_USE_LLU - $(SED) 's/HAVE_LU/HAVE_LLU/' $(@D)/configure -endef -PROFTPD_PRE_CONFIGURE_HOOKS += PROFTPD_USE_LLU - -PROFTPD_MAKE = $(MAKE1) - -# install Perl based scripts in target -ifeq ($(BR2_PACKAGE_PERL),y) -ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB),y) -define PROFTPD_INSTALL_FTPQUOTA - $(INSTALL) -D -m 0755 $(@D)/contrib/ftpquota $(TARGET_DIR)/usr/sbin/ftpquota -endef -endif -define PROFTPD_INSTALL_FTPASSWD - $(INSTALL) -D -m 0755 $(@D)/contrib/ftpasswd $(TARGET_DIR)/usr/sbin/ftpasswd -endef -endif - -define PROFTPD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd - $(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf - $(PROFTPD_INSTALL_FTPQUOTA) - $(PROFTPD_INSTALL_FTPASSWD) -endef - -define PROFTPD_USERS - ftp -1 ftp -1 * /home/ftp - - Anonymous FTP User -endef - -define PROFTPD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d/S50proftpd -endef - -define PROFTPD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/proftpd/proftpd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/proftpd.service -endef - -ifneq ($(BR2_PACKAGE_PROFTPD_BUFFER_SIZE),0) -PROFTPD_CONF_OPTS += --enable-buffer-size=$(BR2_PACKAGE_PROFTPD_BUFFER_SIZE) -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/proj/proj.hash b/buildroot-2021.05/package/proj/proj.hash deleted file mode 100644 index 27cbc384..00000000 --- a/buildroot-2021.05/package/proj/proj.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Fetched from http://download.osgeo.org/proj/proj-7.2.1.tar.gz.md5 -md5 befbafd25e65ddf0c26a8321d8bcdcd2 proj-7.2.1.tar.gz -# Locally calculated -sha256 b384f42e5fb9c6d01fe5fa4d31da2e91329668863a684f97be5d4760dbbf0a14 proj-7.2.1.tar.gz -sha256 2dcac4af6990093ef48b896bfb81452d46a31b08d46cce34b27e83f93b2e37f6 COPYING diff --git a/buildroot-2021.05/package/proj/proj.mk b/buildroot-2021.05/package/proj/proj.mk deleted file mode 100644 index 03ed9c0a..00000000 --- a/buildroot-2021.05/package/proj/proj.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# proj -# -################################################################################ - -PROJ_VERSION = 7.2.1 -PROJ_SITE = http://download.osgeo.org/proj -PROJ_LICENSE = MIT -PROJ_LICENSE_FILES = COPYING -PROJ_INSTALL_STAGING = YES -PROJ_DEPENDENCIES = host-pkgconf host-sqlite sqlite - -PROJ_CFLAGS = $(TARGET_CFLAGS) -PROJ_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) -PROJ_CFLAGS += -O0 -PROJ_CXXFLAGS += -O0 -endif - -PROJ_CONF_ENV = \ - CFLAGS="$(PROJ_CFLAGS)" \ - CXXFLAGS="$(PROJ_CXXFLAGS)" - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -PROJ_DEPENDENCIES += libcurl -PROJ_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr/bin/curl-config -else -PROJ_CONF_OPTS += --without-curl -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -PROJ_DEPENDENCIES += tiff -PROJ_CONF_OPTS += --enable-tiff -else -PROJ_CONF_OPTS += --disable-tiff -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/prosody/0001-enable-syslog.patch b/buildroot-2021.05/package/prosody/0001-enable-syslog.patch deleted file mode 100644 index 16acc89c..00000000 --- a/buildroot-2021.05/package/prosody/0001-enable-syslog.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 267b5d195be0f3a8f00ccf4ccb62e25a9c4e48eb Mon Sep 17 00:00:00 2001 -From: Francois Perrad -Date: Sun, 22 Oct 2017 08:44:01 +0200 -Subject: [PATCH] enable syslog - -note: the posix module is auto-loaded by default - -Signed-off-by: Francois Perrad - -diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist -index a0fc6c9e..af3cc0e4 100644 ---- a/prosody.cfg.lua.dist -+++ b/prosody.cfg.lua.dist -@@ -155,7 +155,7 @@ archive_expires_after = "1w" -- Remove archived messages after 1 week - log = { - info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging - error = "prosody.err"; -- -- "*syslog"; -- Uncomment this for logging to syslog -+ "*syslog"; -- Uncomment this for logging to syslog - -- "*console"; -- Log to the console, useful for debugging with daemonize=false - } - --- -2.11.0 - diff --git a/buildroot-2021.05/package/prosody/0002-add-pidfile.patch b/buildroot-2021.05/package/prosody/0002-add-pidfile.patch deleted file mode 100644 index 6221fd08..00000000 --- a/buildroot-2021.05/package/prosody/0002-add-pidfile.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 124d479195ac8ec1747b5b89fe4860d0e92c2aae Mon Sep 17 00:00:00 2001 -From: Francois Perrad -Date: Sun, 22 Oct 2017 08:58:11 +0200 -Subject: [PATCH] add pidfile - -see https://prosody.im/doc/configure#posix-only_options - -Signed-off-by: Francois Perrad - -diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist -index af3cc0e4..675db12f 100644 ---- a/prosody.cfg.lua.dist -+++ b/prosody.cfg.lua.dist -@@ -176,6 +176,9 @@ log = { - -- HTTPS currently only supports a single certificate, specify it here: - --https_certificate = "certs/localhost.crt" - -+-- This must match the PIDFILE used in S50prosody -+pidfile = "/var/run/prosody/prosody.pid" -+ - ----------- Virtual hosts ----------- - -- You need to add a VirtualHost entry for each domain you wish Prosody to serve. - -- Settings under each VirtualHost entry apply *only* to that host. --- -2.11.0 - diff --git a/buildroot-2021.05/package/prosody/prosody.hash b/buildroot-2021.05/package/prosody/prosody.hash deleted file mode 100644 index 50d59647..00000000 --- a/buildroot-2021.05/package/prosody/prosody.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Locally computed: -md5 be7e1c66c06b0eb4bdce37b67bcc6b51 prosody-0.11.9.tar.gz -sha1 632c2dd7794d344d4edbcea18fc1b5f623da5ca4 prosody-0.11.9.tar.gz -sha256 ccc032aea49d858635fb93644db276de6812be83073a8d80e9b4508095deff09 prosody-0.11.9.tar.gz -sha512 fabbbbb1acb3de4ff01e3e8c6e9e4dc37cb161259f1649683a1f9d925ed9f1709e052bfc831cba3f1861a9cca599f2b725ee739bfcb57164d6f50ac07011b52a prosody-0.11.9.tar.gz - -# Hash for license file: -sha256 bbbdc1c5426e5944cf869fc0faeaf19d88a220cd2b39ea98b7b8e86b0e88a2ef COPYING diff --git a/buildroot-2021.05/package/prosody/prosody.mk b/buildroot-2021.05/package/prosody/prosody.mk deleted file mode 100644 index 92c812eb..00000000 --- a/buildroot-2021.05/package/prosody/prosody.mk +++ /dev/null @@ -1,63 +0,0 @@ -################################################################################ -# -# prosody -# -################################################################################ - -PROSODY_VERSION = 0.11.9 -PROSODY_SITE = https://prosody.im/downloads/source -PROSODY_LICENSE = MIT -PROSODY_LICENSE_FILES = COPYING -PROSODY_CPE_ID_VENDOR = prosody -PROSODY_DEPENDENCIES = host-luainterpreter luainterpreter libidn openssl - -PROSODY_CFLAGS = $(TARGET_CFLAGS) -fPIC -std=c99 \ - $(if BR2_TOOLCHAIN_USES_MUSL,-DWITHOUT_MALLINFO) - -PROSODY_CONF_OPTS = \ - --with-lua-bin=$(HOST_DIR)/bin \ - --with-lua=$(STAGING_DIR)/usr \ - --lua-version=$(LUAINTERPRETER_ABIVER) \ - --c-compiler=$(TARGET_CC) \ - --cflags="$(PROSODY_CFLAGS)" \ - --linker=$(TARGET_CC) \ - --ldflags="$(TARGET_LDFLAGS) -shared" \ - --sysconfdir=/etc/prosody \ - --prefix=/usr - -ifeq ($(BR2_PACKAGE_LUAJIT),y) -PROSODY_CONF_OPTS += --runwith=luajit -endif - -define PROSODY_CONFIGURE_CMDS - cd $(@D) && \ - $(TARGET_CONFIGURE_OPTS) \ - ./configure $(PROSODY_CONF_OPTS) -endef - -define PROSODY_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define PROSODY_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install -endef - -define PROSODY_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/prosody/S50prosody \ - $(TARGET_DIR)/etc/init.d/S50prosody -endef - -define PROSODY_USERS - prosody -1 prosody -1 * - - - Prosody user -endef - -# make install installs a Makefile and meta data to generate certs -define PROSODY_REMOVE_CERT_GENERATOR - rm -f $(TARGET_DIR)/etc/prosody/certs/Makefile - rm -f $(TARGET_DIR)/etc/prosody/certs/*.cnf -endef - -PROSODY_POST_INSTALL_TARGET_HOOKS += PROSODY_REMOVE_CERT_GENERATOR - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/protobuf-c/protobuf-c.hash b/buildroot-2021.05/package/protobuf-c/protobuf-c.hash deleted file mode 100644 index abc11afc..00000000 --- a/buildroot-2021.05/package/protobuf-c/protobuf-c.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 8515da8b84ea36768ae69a52f9ede8d718936d6058077265b6e458cfc55f8bdb protobuf-c-1.3.3.tar.gz -sha256 20e800cad4550f4b19bb37fc9577dac21de13333ae66497c4c45ae489c35c34a LICENSE diff --git a/buildroot-2021.05/package/protobuf-c/protobuf-c.mk b/buildroot-2021.05/package/protobuf-c/protobuf-c.mk deleted file mode 100644 index f28f5ff5..00000000 --- a/buildroot-2021.05/package/protobuf-c/protobuf-c.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# protobuf-c -# -################################################################################ - -PROTOBUF_C_VERSION = 1.3.3 -PROTOBUF_C_SITE = $(call github,protobuf-c,protobuf-c,v$(PROTOBUF_C_VERSION)) -PROTOBUF_C_DEPENDENCIES = host-protobuf-c -HOST_PROTOBUF_C_DEPENDENCIES = host-protobuf host-pkgconf -PROTOBUF_C_MAKE = $(MAKE1) -PROTOBUF_C_CONF_OPTS = --disable-protoc -PROTOBUF_C_INSTALL_STAGING = YES -PROTOBUF_C_LICENSE = BSD-2-Clause -PROTOBUF_C_LICENSE_FILES = LICENSE -PROTOBUF_C_AUTORECONF = YES -HOST_PROTOBUF_C_AUTORECONF = YES - -# host-protobuf needs c++11 (since 3.6.0) -HOST_PROTOBUF_C_CONF_ENV += CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11" - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/protobuf/Config.in b/buildroot-2021.05/package/protobuf/Config.in deleted file mode 100644 index 30050950..00000000 --- a/buildroot-2021.05/package/protobuf/Config.in +++ /dev/null @@ -1,46 +0,0 @@ -# See src/google/protobuf/stubs/platform_macros.h for supported archs. -# -# On PowerPC, the __atomic_*() built-ins for 1-byte, 2-byte and 4-byte -# types are available built-in. However, the __atomic_*() built-ins for -# 8-byte types is implemented via libatomic, so only available since gcc -# 4.8. -# -# In Buildroot, to simplify things, we've decided to simply require gcc -# 4.8 as soon as the architectures has at least one __atomic_*() built-in -# variant that requires libatomic. -# -# Since protobuf most likely only uses the 1, 2 and 4-byte variants, it -# *could* technically build with gcc 4.7. This is probably not a big deal, -# and we can live with requiring gcc 4.8 on PowerPC to build protobuf. -# -# host-protobuf only builds on certain architectures -config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - bool - default y if BR2_arm - default y if BR2_i386 - default y if BR2_mipsel - default y if BR2_x86_64 - default y if BR2_sparc64 - default y if BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - depends on BR2_USE_MMU # fork() - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 - -config BR2_PACKAGE_PROTOBUF - bool "protobuf" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - depends on !BR2_STATIC_LIBS - help - Protocol buffers are Google's language-neutral, - platform-neutral, extensible mechanism for serializing - structured data. - - https://developers.google.com/protocol-buffers - -comment "protobuf needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.8" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS diff --git a/buildroot-2021.05/package/protobuf/protobuf.hash b/buildroot-2021.05/package/protobuf/protobuf.hash deleted file mode 100644 index 79d3184f..00000000 --- a/buildroot-2021.05/package/protobuf/protobuf.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE -sha256 bbdfb7455431d7d58666e8a2996d14b236718ff238eecde10646581e4c87f168 protobuf-cpp-3.15.6.tar.gz diff --git a/buildroot-2021.05/package/protobuf/protobuf.mk b/buildroot-2021.05/package/protobuf/protobuf.mk deleted file mode 100644 index ea754800..00000000 --- a/buildroot-2021.05/package/protobuf/protobuf.mk +++ /dev/null @@ -1,47 +0,0 @@ -################################################################################ -# -# protobuf -# -################################################################################ - -# When bumping this package, make sure to also verify if the -# python-protobuf package still works and to update its hash, -# as they share the same version/site variables. -PROTOBUF_VERSION = 3.15.6 -PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz -PROTOBUF_SITE = https://github.com/google/protobuf/releases/download/v$(PROTOBUF_VERSION) -PROTOBUF_LICENSE = BSD-3-Clause -PROTOBUF_LICENSE_FILES = LICENSE -PROTOBUF_CPE_ID_VENDOR = google - -# N.B. Need to use host protoc during cross compilation. -PROTOBUF_DEPENDENCIES = host-protobuf -PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/bin/protoc - -PROTOBUF_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -PROTOBUF_CXXFLAGS += -O0 -endif - -PROTOBUF_CONF_ENV = CXXFLAGS="$(PROTOBUF_CXXFLAGS)" - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -PROTOBUF_CONF_ENV += LIBS=-latomic -endif - -PROTOBUF_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_ZLIB),y) -PROTOBUF_DEPENDENCIES += zlib -endif - -define PROTOBUF_REMOVE_UNNECESSARY_TARGET_FILES - rm -rf $(TARGET_DIR)/usr/bin/protoc - rm -rf $(TARGET_DIR)/usr/lib/libprotoc.so* -endef - -PROTOBUF_POST_INSTALL_TARGET_HOOKS += PROTOBUF_REMOVE_UNNECESSARY_TARGET_FILES - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/protozero/0001-CMakeLists.txt-respect-BUILD_TESTING.patch b/buildroot-2021.05/package/protozero/0001-CMakeLists.txt-respect-BUILD_TESTING.patch deleted file mode 100644 index d0267e32..00000000 --- a/buildroot-2021.05/package/protozero/0001-CMakeLists.txt-respect-BUILD_TESTING.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 03daae49c8fa94513b508bd12f1597e8e5e086f2 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 17 Apr 2021 13:06:44 +0200 -Subject: [PATCH] CMakeLists.txt: respect BUILD_TESTING - -Don't build tests if the standard cmake BUILD_TESTING variable is set to -OFF. - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/mapbox/protozero/pull/105] ---- - CMakeLists.txt | 9 +++++---- - 1 file changed, 5 insertions(+), 4 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index f9702d6..7a40212 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -23,6 +23,7 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) - - #----------------------------------------------------------------------------- - -+option(BUILD_TESTING "Build tests" ON) - option(WERROR "Add -Werror flag to build (turns warnings into errors)" ON) - - if(MSVC) -@@ -134,13 +135,13 @@ install(DIRECTORY include/protozero DESTINATION include) - - #----------------------------------------------------------------------------- - --enable_testing() -- - add_subdirectory(doc) - - add_subdirectory(tools) - --add_subdirectory(test) -- -+if(BUILD_TESTING) -+ enable_testing() -+ add_subdirectory(test) -+endif() - - #----------------------------------------------------------------------------- --- -2.30.2 - diff --git a/buildroot-2021.05/package/protozero/protozero.hash b/buildroot-2021.05/package/protozero/protozero.hash deleted file mode 100644 index 5453e01e..00000000 --- a/buildroot-2021.05/package/protozero/protozero.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 beffbdfab060854fd770178a8db9c028b5b6ee4a059a2fed82c46390a85f3f31 protozero-1.7.0.tar.gz -sha256 1f4d477e3c2d74d8706c8f05437bd86804abe46853b1f233ce1549a4de76fa49 LICENSE.md -sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.from_folly diff --git a/buildroot-2021.05/package/protozero/protozero.mk b/buildroot-2021.05/package/protozero/protozero.mk deleted file mode 100644 index 80d16192..00000000 --- a/buildroot-2021.05/package/protozero/protozero.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# protozero -# -################################################################################ - -PROTOZERO_VERSION = 1.7.0 -PROTOZERO_SITE = $(call github,mapbox,protozero,v$(PROTOZERO_VERSION)) -PROTOZERO_LICENSE = BSD-2-Clause, Apache-2.0 -PROTOZERO_LICENSE_FILES = LICENSE.md LICENSE.from_folly -PROTOZERO_INSTALL_STAGING = YES - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/proxychains-ng/proxychains-ng.hash b/buildroot-2021.05/package/proxychains-ng/proxychains-ng.hash deleted file mode 100644 index 9781b77a..00000000 --- a/buildroot-2021.05/package/proxychains-ng/proxychains-ng.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceforge.net/projects/proxychains-ng/files/ -md5 34d840eb184e96bff418201c28a935c5 proxychains-ng-4.11.tar.bz2 -sha1 00bc3dc18f2b638c79112c99f082a7a2878beaad proxychains-ng-4.11.tar.bz2 -# Locally computed: -sha256 dcc4149808cd1fb5d9663cc09791f478805816b1f017381f424414c47f6376b6 proxychains-ng-4.11.tar.bz2 -sha256 86728623caeff60e9bcc37e03b432fd191de927eed48a72a3bb4ac4e53fe20df COPYING diff --git a/buildroot-2021.05/package/proxychains-ng/proxychains-ng.mk b/buildroot-2021.05/package/proxychains-ng/proxychains-ng.mk deleted file mode 100644 index 0437f7d9..00000000 --- a/buildroot-2021.05/package/proxychains-ng/proxychains-ng.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# proxychains-ng -# -################################################################################ - -PROXYCHAINS_NG_VERSION = 4.11 -PROXYCHAINS_NG_SOURCE = proxychains-ng-$(PROXYCHAINS_NG_VERSION).tar.bz2 -PROXYCHAINS_NG_SITE = http://downloads.sourceforge.net/project/proxychains-ng -PROXYCHAINS_NG_LICENSE = GPL-2.0+ -PROXYCHAINS_NG_LICENSE_FILES = COPYING -PROXYCHAINS_NG_CPE_ID_VENDOR = proxychains-ng_project - -define PROXYCHAINS_NG_CONFIGURE_CMDS - cd $(@D) && \ - $(TARGET_CONFIGURE_OPTS) ./configure --prefix=/usr --sysconfdir=/etc -endef - -define PROXYCHAINS_NG_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -define PROXYCHAINS_NG_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install install-config -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/pru-software-support/pru-software-support.hash b/buildroot-2021.05/package/pru-software-support/pru-software-support.hash deleted file mode 100644 index cd81488e..00000000 --- a/buildroot-2021.05/package/pru-software-support/pru-software-support.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally-calculated hash -sha256 57e47128dc5437c5a64d4ef94f419d9ea38e894c0c31ab10cad99c0da614b296 pru-software-support-package-v5.7.0.tar.gz -sha256 62a2f56498cd1bac2d4ea6ea1c941affba1e4bb65bfdf2dcffd8e5079fa34399 PRU-Package-v6.1-Manifest.html diff --git a/buildroot-2021.05/package/pru-software-support/pru-software-support.mk b/buildroot-2021.05/package/pru-software-support/pru-software-support.mk deleted file mode 100644 index 91f41bcb..00000000 --- a/buildroot-2021.05/package/pru-software-support/pru-software-support.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# pru-software-support -# -################################################################################ - -PRU_SOFTWARE_SUPPORT_VERSION = 5.7.0 -PRU_SOFTWARE_SUPPORT_SITE = https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/snapshot -PRU_SOFTWARE_SUPPORT_SOURCE = $(PRU_SOFTWARE_SUPPORT_NAME)-package-v$(PRU_SOFTWARE_SUPPORT_VERSION).tar.gz -PRU_SOFTWARE_SUPPORT_LICENSE = BSD-3-Clause, Public Domain -PRU_SOFTWARE_SUPPORT_LICENSE_FILES = PRU-Package-v6.1-Manifest.html -PRU_SOFTWARE_SUPPORT_DEPENDENCIES = host-ti-cgt-pru host-pru-software-support -HOST_PRU_SOFTWARE_SUPPORT_DEPENDENCIES = host-ti-cgt-pru - -define HOST_PRU_SOFTWARE_SUPPORT_BUILD_CMDS - $(MAKE) PRU_CGT=$(TI_CGT_PRU_INSTALLDIR) -C $(@D)/lib/src -endef - -# install this library support alongside PRU toolchain i.e. -# everything in TI_CGT_PRU_INSTALLDIR as PRU_CGT -define HOST_PRU_SOFTWARE_SUPPORT_INSTALL_CMDS - mkdir -p $(TI_CGT_PRU_INSTALLDIR)/usr/include - cp -dpfr $(@D)/include/* $(TI_CGT_PRU_INSTALLDIR)/usr/include - mkdir -p $(TI_CGT_PRU_INSTALLDIR)/usr/lib - cp -dpfr $(@D)/lib/src/*/gen/*.lib $(TI_CGT_PRU_INSTALLDIR)/usr/lib/ -endef - -define PRU_SOFTWARE_SUPPORT_BUILD_CMDS - $(MAKE) PRU_CGT=$(TI_CGT_PRU_INSTALLDIR) -C $(@D)/examples -endef - -define PRU_SOFTWARE_SUPPORT_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/usr/share/pru-software-support - cp -dpfr $(@D)/examples/* $(TARGET_DIR)/usr/share/pru-software-support/ -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/psmisc/psmisc.mk b/buildroot-2021.05/package/psmisc/psmisc.mk deleted file mode 100644 index 3d0d2c53..00000000 --- a/buildroot-2021.05/package/psmisc/psmisc.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# psmisc -# -################################################################################ - -PSMISC_VERSION = 23.4 -PSMISC_SITE = http://downloads.sourceforge.net/project/psmisc/psmisc -PSMISC_SOURCE = psmisc-$(PSMISC_VERSION).tar.xz -PSMISC_LICENSE = GPL-2.0+ -PSMISC_LICENSE_FILES = COPYING -PSMISC_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) - -ifeq ($(BR2_TOOLCHAIN_HAS_SSP),) -# Don't force -fstack-protector when SSP is not available in toolchain -PSMISC_CONF_OPTS = --disable-harden-flags -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/psplash/Config.in b/buildroot-2021.05/package/psplash/Config.in deleted file mode 100644 index 5053ebac..00000000 --- a/buildroot-2021.05/package/psplash/Config.in +++ /dev/null @@ -1,31 +0,0 @@ -config BR2_PACKAGE_PSPLASH - bool "psplash" - depends on BR2_USE_WCHAR - help - PSplash is a userspace graphical boot splash screen for - mainly embedded Linux devices supporting a 16bpp or 32bpp - framebuffer. It has few dependencies (just libc), supports - basic images and text and handles rotation. Its visual look - is configurable by basic source changes. - - Also included is a 'client' command utility for sending - information to psplash such as boot progress information. - - Start the drawing process with 'psplash -n&' as early as - possible. Note: psplash creates a FIFO in /tmp for - communication with psplash-write. - - Usage: - * Set progress bar to 50 percent: - psplash-write "PROGRESS 50" - - * Display message "foobar" above progress bar: - psplash-write "MSG foobar" - - * Terminate psplash: - psplash-write "QUIT" - - http://git.yoctoproject.org/cgit/cgit.cgi/psplash/ - -comment "psplash needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/psplash/psplash.hash b/buildroot-2021.05/package/psplash/psplash.hash deleted file mode 100644 index 87fcdadd..00000000 --- a/buildroot-2021.05/package/psplash/psplash.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 2c1344dd8414415d80a01484b1cc29e78f99c31d5266189540e5966a7dc6e10e psplash-fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c-br1.tar.gz -sha256 f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505 COPYING diff --git a/buildroot-2021.05/package/psplash/psplash.mk b/buildroot-2021.05/package/psplash/psplash.mk deleted file mode 100644 index a0f01869..00000000 --- a/buildroot-2021.05/package/psplash/psplash.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# psplash -# -################################################################################ - -PSPLASH_VERSION = fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c -PSPLASH_SITE = git://git.yoctoproject.org/psplash -PSPLASH_LICENSE = GPL-2.0+ -PSPLASH_LICENSE_FILES = COPYING -PSPLASH_AUTORECONF = YES -PSPLASH_DEPENDENCIES = host-gdk-pixbuf host-pkgconf - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -PSPLASH_DEPENDENCIES += systemd -PSPLASH_CONF_OPTS += --with-systemd -else -PSPLASH_CONF_OPTS += --without-systemd -endif - -define PSPLASH_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/psplash/psplash-start.service \ - $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service - - $(INSTALL) -D -m 644 package/psplash/psplash-systemd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/psplash-systemd.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pugixml/pugixml.mk b/buildroot-2021.05/package/pugixml/pugixml.mk deleted file mode 100644 index ddda5a3c..00000000 --- a/buildroot-2021.05/package/pugixml/pugixml.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# pugixml -# -################################################################################ - -PUGIXML_VERSION = 1.11.4 -PUGIXML_SITE = http://github.com/zeux/pugixml/releases/download/v$(PUGIXML_VERSION) -PUGIXML_LICENSE = MIT -PUGIXML_LICENSE_FILES = LICENSE.md -PUGIXML_CPE_ID_VENDOR = pugixml_project - -PUGIXML_INSTALL_STAGING = YES - -# Pugixml will automatically enable 'long long' support on C++11 compilers, -# which means gcc 4.8+. As gcc always supports the 'long long' type, -# force-enable this option to support older gcc versions. See also: -# https://gcc.gnu.org/onlinedocs/gcc/Long-Long.html -PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG -HOST_PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG - -ifeq ($(BR2_PACKAGE_PUGIXML_XPATH_SUPPORT),) -PUGIXML_BUILD_DEFINES += PUGIXML_NO_XPATH -endif -ifeq ($(BR2_PACKAGE_PUGIXML_COMPACT),y) -PUGIXML_BUILD_DEFINES += PUGIXML_COMPACT -endif -ifeq ($(BR2_PACKAGE_PUGIXML_HEADER_ONLY),y) -PUGIXML_BUILD_DEFINES += PUGIXML_HEADER_ONLY -endif - -ifdef PUGIXML_BUILD_DEFINES -PUGIXML_CONF_OPTS += -DBUILD_DEFINES="$(subst $(space),;,$(PUGIXML_BUILD_DEFINES))" -endif - -HOST_PUGIXML_CONF_OPTS += \ - -DBUILD_PKGCONFIG=ON \ - -DBUILD_DEFINES="$(subst $(space),;,$(HOST_PUGIXML_BUILD_DEFINES))" - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/pulseaudio/Config.in b/buildroot-2021.05/package/pulseaudio/Config.in deleted file mode 100644 index 6600006a..00000000 --- a/buildroot-2021.05/package/pulseaudio/Config.in +++ /dev/null @@ -1,46 +0,0 @@ -config BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC - bool - default y if BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS || \ - BR2_TOOLCHAIN_HAS_SYNC_4 - -config BR2_PACKAGE_PULSEAUDIO_ENABLE_ATOMIC - bool - select BR2_PACKAGE_LIBATOMIC_OPS if !BR2_TOOLCHAIN_HAS_SYNC_4 - -config BR2_PACKAGE_PULSEAUDIO - bool "pulseaudio" - depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LIBTOOL - select BR2_PACKAGE_LIBSNDFILE - select BR2_PACKAGE_PULSEAUDIO_ENABLE_ATOMIC - select BR2_PACKAGE_SPEEX - help - PulseAudio is a sound system for POSIX OSes, meaning that it - is a proxy for your sound applications. It allows you to do - advanced operations on your sound data as it passes between - your application and your hardware. Things like transferring - the audio to a different machine, changing the sample format - or channel count and mixing several sounds into one are - easily achieved using a sound server. - - http://pulseaudio.org - -if BR2_PACKAGE_PULSEAUDIO - -config BR2_PACKAGE_PULSEAUDIO_DAEMON - bool "start as a system daemon" - help - PulseAudio can be started as a system daemon. This is not the - recommended way of using PulseAudio unless you are building a - headless system. - -endif - -comment "pulseaudio needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/pulseaudio/pulseaudio.mk b/buildroot-2021.05/package/pulseaudio/pulseaudio.mk deleted file mode 100644 index 19e08f55..00000000 --- a/buildroot-2021.05/package/pulseaudio/pulseaudio.mk +++ /dev/null @@ -1,177 +0,0 @@ -################################################################################ -# -# pulseaudio -# -################################################################################ - -PULSEAUDIO_VERSION = 14.2 -PULSEAUDIO_SOURCE = pulseaudio-$(PULSEAUDIO_VERSION).tar.xz -PULSEAUDIO_SITE = https://freedesktop.org/software/pulseaudio/releases -PULSEAUDIO_INSTALL_STAGING = YES -PULSEAUDIO_LICENSE = LGPL-2.1+ (specific license for modules, see LICENSE file) -PULSEAUDIO_LICENSE_FILES = LICENSE GPL LGPL -PULSEAUDIO_CPE_ID_VENDOR = pulseaudio -PULSEAUDIO_CONF_OPTS = \ - --disable-default-build-tests \ - --disable-legacy-database-entry-format \ - --disable-manpages \ - --disable-running-from-build-tree - -PULSEAUDIO_DEPENDENCIES = \ - host-pkgconf libtool libsndfile speex \ - $(TARGET_NLS_DEPENDENCIES) \ - $(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \ - $(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \ - $(if $(BR2_PACKAGE_DBUS),dbus) \ - $(if $(BR2_PACKAGE_NCURSES),ncurses) \ - $(if $(BR2_PACKAGE_OPENSSL),openssl) \ - $(if $(BR2_PACKAGE_FFTW_SINGLE),fftw-single) \ - $(if $(BR2_PACKAGE_SYSTEMD),systemd) - -ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) -PULSEAUDIO_CONF_OPTS += --enable-samplerate -PULSEAUDIO_DEPENDENCIES += libsamplerate -else -PULSEAUDIO_CONF_OPTS += --disable-samplerate -endif - -ifeq ($(BR2_PACKAGE_GDBM),y) -PULSEAUDIO_CONF_OPTS += --with-database=gdbm -PULSEAUDIO_DEPENDENCIES += gdbm -else -PULSEAUDIO_CONF_OPTS += --with-database=simple -endif - -ifeq ($(BR2_PACKAGE_JACK2),y) -PULSEAUDIO_CONF_OPTS += --enable-jack -PULSEAUDIO_DEPENDENCIES += jack2 -else -PULSEAUDIO_CONF_OPTS += --disable-jack -endif - -ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) -PULSEAUDIO_DEPENDENCIES += libatomic_ops -ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) -PULSEAUDIO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9" -endif -endif - -ifeq ($(BR2_PACKAGE_ORC),y) -PULSEAUDIO_DEPENDENCIES += orc -PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/bin/orcc -PULSEAUDIO_CONF_OPTS += --enable-orc -else -PULSEAUDIO_CONF_OPTS += --disable-orc -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -PULSEAUDIO_DEPENDENCIES += libcap -PULSEAUDIO_CONF_OPTS += --with-caps -else -PULSEAUDIO_CONF_OPTS += --without-caps -endif - -# gtk3 support needs X11 backend -ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) -PULSEAUDIO_DEPENDENCIES += libgtk3 -PULSEAUDIO_CONF_OPTS += --enable-gtk3 -else -PULSEAUDIO_CONF_OPTS += --disable-gtk3 -endif - -ifeq ($(BR2_PACKAGE_LIBSOXR),y) -PULSEAUDIO_CONF_OPTS += --with-soxr -PULSEAUDIO_DEPENDENCIES += libsoxr -else -PULSEAUDIO_CONF_OPTS += --without-soxr -endif - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS)$(BR2_PACKAGE_SBC),yy) -PULSEAUDIO_CONF_OPTS += --enable-bluez5 -PULSEAUDIO_DEPENDENCIES += bluez5_utils sbc -else -PULSEAUDIO_CONF_OPTS += --disable-bluez5 -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -PULSEAUDIO_CONF_OPTS += --enable-udev -PULSEAUDIO_DEPENDENCIES += udev -else -PULSEAUDIO_CONF_OPTS += --disable-udev -endif - -ifeq ($(BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING),y) -PULSEAUDIO_CONF_OPTS += --enable-webrtc-aec -PULSEAUDIO_DEPENDENCIES += webrtc-audio-processing -else -PULSEAUDIO_CONF_OPTS += --disable-webrtc-aec -endif - -# neon intrinsics not available with float-abi=soft -ifeq ($(BR2_ARM_SOFT_FLOAT),) -ifeq ($(BR2_ARM_CPU_HAS_NEON),y) -PULSEAUDIO_USE_NEON = y -endif -endif - -ifeq ($(PULSEAUDIO_USE_NEON),y) -PULSEAUDIO_CONF_OPTS += --enable-neon-opt=yes -else -PULSEAUDIO_CONF_OPTS += --enable-neon-opt=no -endif - -# pulseaudio alsa backend needs pcm/mixer apis -ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy) -PULSEAUDIO_DEPENDENCIES += alsa-lib -PULSEAUDIO_CONF_OPTS += --enable-alsa -else -PULSEAUDIO_CONF_OPTS += --disable-alsa -endif - -ifeq ($(BR2_PACKAGE_LIBXCB)$(BR2_PACKAGE_XLIB_LIBSM)$(BR2_PACKAGE_XLIB_LIBXTST),yyy) -PULSEAUDIO_DEPENDENCIES += libxcb xlib_libSM xlib_libXtst - -# .desktop file generation needs nls support, so fake it for !locale builds -# https://bugs.freedesktop.org/show_bug.cgi?id=54658 -ifeq ($(BR2_SYSTEM_ENABLE_NLS),) -define PULSEAUDIO_FIXUP_DESKTOP_FILES - cp $(@D)/src/daemon/pulseaudio.desktop.in \ - $(@D)/src/daemon/pulseaudio.desktop -endef -PULSEAUDIO_POST_PATCH_HOOKS += PULSEAUDIO_FIXUP_DESKTOP_FILES -endif - -else -PULSEAUDIO_CONF_OPTS += --disable-x11 -endif - -# ConsoleKit module init failure breaks user daemon startup -define PULSEAUDIO_REMOVE_CONSOLE_KIT - rm -f $(TARGET_DIR)/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules/module-console-kit.so -endef - -define PULSEAUDIO_REMOVE_VALA - rm -rf $(TARGET_DIR)/usr/share/vala -endef - -PULSEAUDIO_POST_INSTALL_TARGET_HOOKS += PULSEAUDIO_REMOVE_VALA \ - PULSEAUDIO_REMOVE_CONSOLE_KIT - -ifeq ($(BR2_PACKAGE_PULSEAUDIO_DAEMON),y) -define PULSEAUDIO_USERS - pulse -1 pulse -1 * /var/run/pulse - audio,pulse-access -endef - -define PULSEAUDIO_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/pulseaudio/S50pulseaudio \ - $(TARGET_DIR)/etc/init.d/S50pulseaudio -endef - -define PULSEAUDIO_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/pulseaudio/pulseaudio.service \ - $(TARGET_DIR)/usr/lib/systemd/system/pulseaudio.service -endef - -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pulseview/Config.in b/buildroot-2021.05/package/pulseview/Config.in deleted file mode 100644 index b8d94332..00000000 --- a/buildroot-2021.05/package/pulseview/Config.in +++ /dev/null @@ -1,38 +0,0 @@ -config BR2_PACKAGE_PULSEVIEW - bool "pulseview" - depends on BR2_PACKAGE_QT5 - # libsigrok->libglib2: - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU - depends on BR2_INSTALL_LIBSTDCPP - # libsigrok->libzip - depends on !BR2_STATIC_LIBS - # libsigrok - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - depends on BR2_HOST_GCC_AT_LEAST_4_9 - depends on BR2_ENABLE_LOCALE - select BR2_PACKAGE_LIBSIGROK - select BR2_PACKAGE_LIBSIGROKCXX - select BR2_PACKAGE_QT5BASE_WIDGETS - select BR2_PACKAGE_QT5BASE_PNG - select BR2_PACKAGE_QT5SVG - select BR2_PACKAGE_QT5TOOLS - select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_SERIALIZATION - help - PulseView is a Qt based logic analyzer, oscilloscope - and MSO GUI for sigrok. - - http://sigrok.org/wiki/PulseView - -comment "pulseview needs a toolchain w/ locale, wchar, threads, dynamic library, C++, gcc >= 4.9, host gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_QT5 - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_USE_WCHAR \ - || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \ - || BR2_STATIC_LIBS || !BR2_ENABLE_LOCALE || \ - !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/pure-ftpd/0001-listdir-reuse-a-single-buffer-to-store-every-file-name-to-display.patch b/buildroot-2021.05/package/pure-ftpd/0001-listdir-reuse-a-single-buffer-to-store-every-file-name-to-display.patch deleted file mode 100644 index 2f791d1d..00000000 --- a/buildroot-2021.05/package/pure-ftpd/0001-listdir-reuse-a-single-buffer-to-store-every-file-name-to-display.patch +++ /dev/null @@ -1,70 +0,0 @@ -From aea56f4bcb9948d456f3fae4d044fd3fa2e19706 Mon Sep 17 00:00:00 2001 -From: Frank Denis -Date: Mon, 30 Dec 2019 17:40:04 +0100 -Subject: [PATCH] listdir(): reuse a single buffer to store every file name to - display - -Allocating a new buffer for each entry is useless. - -And as these buffers are allocated on the stack, on systems with a -small stack size, with many entries, the limit can easily be reached, -causing a stack exhaustion and aborting the user session. - -Reported by Antonio Morales from the GitHub Security Lab team, thanks! -[Retrieved from: -https://github.com/jedisct1/pure-ftpd/commit/aea56f4bcb9948d456f3fae4d044fd3fa2e19706] -Signed-off-by: Fabrice Fontaine ---- - src/ls.c | 15 ++++++++------- - 1 file changed, 8 insertions(+), 7 deletions(-) - -diff --git a/src/ls.c b/src/ls.c -index cf804c7..f8a588f 100644 ---- a/src/ls.c -+++ b/src/ls.c -@@ -661,6 +661,8 @@ static void listdir(unsigned int depth, int f, void * const tls_fd, - char *names; - PureFileInfo *s; - PureFileInfo *r; -+ char *alloca_subdir; -+ size_t sizeof_subdir; - int d; - - if (depth >= max_ls_depth || matches >= max_ls_files) { -@@ -690,14 +692,12 @@ static void listdir(unsigned int depth, int f, void * const tls_fd, - } - outputfiles(f, tls_fd); - r = dir; -+ sizeof_subdir = PATH_MAX + 1U; -+ if ((alloca_subdir = ALLOCA(sizeof_subdir)) == NULL) { -+ goto toomany; -+ } - while (opt_R && r != s) { - if (r->name_offset != (size_t) -1 && !chdir(FI_NAME(r))) { -- char *alloca_subdir; -- const size_t sizeof_subdir = PATH_MAX + 1U; -- -- if ((alloca_subdir = ALLOCA(sizeof_subdir)) == NULL) { -- goto toomany; -- } - if (SNCHECK(snprintf(alloca_subdir, sizeof_subdir, "%s/%s", - name, FI_NAME(r)), sizeof_subdir)) { - goto nolist; -@@ -706,8 +706,8 @@ static void listdir(unsigned int depth, int f, void * const tls_fd, - wrstr(f, tls_fd, alloca_subdir); - wrstr(f, tls_fd, ":\r\n\r\n"); - listdir(depth + 1U, f, tls_fd, alloca_subdir); -+ - nolist: -- ALLOCA_FREE(alloca_subdir); - if (matches >= max_ls_files) { - goto toomany; - } -@@ -720,6 +720,7 @@ static void listdir(unsigned int depth, int f, void * const tls_fd, - r++; - } - toomany: -+ ALLOCA_FREE(alloca_subdir); - free(names); - free(dir); - names = NULL; diff --git a/buildroot-2021.05/package/pure-ftpd/0002-pure_strcmp-len-s2-can-be-len-s1.patch b/buildroot-2021.05/package/pure-ftpd/0002-pure_strcmp-len-s2-can-be-len-s1.patch deleted file mode 100644 index 3de3cbd2..00000000 --- a/buildroot-2021.05/package/pure-ftpd/0002-pure_strcmp-len-s2-can-be-len-s1.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 36c6d268cb190282a2c17106acfd31863121b58e Mon Sep 17 00:00:00 2001 -From: Frank Denis -Date: Mon, 24 Feb 2020 15:19:43 +0100 -Subject: [PATCH] pure_strcmp(): len(s2) can be > len(s1) - -Reported by Antonio Morales from GitHub Security Labs, thanks! -[Retrieved from: -https://github.com/jedisct1/pure-ftpd/commit/36c6d268cb190282a2c17106acfd31863121b] -Signed-off-by: Fabrice Fontaine ---- - src/utils.c | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/src/utils.c b/src/utils.c -index f41492d..a7f0381 100644 ---- a/src/utils.c -+++ b/src/utils.c -@@ -45,5 +45,11 @@ int pure_memcmp(const void * const b1_, const void * const b2_, size_t len) - - int pure_strcmp(const char * const s1, const char * const s2) - { -- return pure_memcmp(s1, s2, strlen(s1) + 1U); -+ const size_t s1_len = strlen(s1); -+ const size_t s2_len = strlen(s2); -+ -+ if (s1_len != s2_len) { -+ return -1; -+ } -+ return pure_memcmp(s1, s2, s1_len); - } diff --git a/buildroot-2021.05/package/pure-ftpd/0003-diraliases-always-set-the-tail-of-the-list-to-NULL.patch b/buildroot-2021.05/package/pure-ftpd/0003-diraliases-always-set-the-tail-of-the-list-to-NULL.patch deleted file mode 100644 index 6c58eb74..00000000 --- a/buildroot-2021.05/package/pure-ftpd/0003-diraliases-always-set-the-tail-of-the-list-to-NULL.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 8d0d42542e2cb7a56d645fbe4d0ef436e38bcefa Mon Sep 17 00:00:00 2001 -From: Frank Denis -Date: Tue, 18 Feb 2020 18:36:58 +0100 -Subject: [PATCH] diraliases: always set the tail of the list to NULL - -Spotted and reported by Antonio Norales from GitHub Security Labs. -Thanks! - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/jedisct1/pure-ftpd/commit/8d0d42542e2cb7a56d645fbe4d0ef436e38bcefa] ---- - src/diraliases.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/diraliases.c b/src/diraliases.c -index 4002a36..fb70273 100644 ---- a/src/diraliases.c -+++ b/src/diraliases.c -@@ -93,7 +93,6 @@ int init_aliases(void) - (tail->dir = strdup(dir)) == NULL) { - die_mem(); - } -- tail->next = NULL; - } else { - DirAlias *curr; - -@@ -105,6 +104,7 @@ int init_aliases(void) - tail->next = curr; - tail = curr; - } -+ tail->next = NULL; - } - fclose(fp); - aliases_up++; diff --git a/buildroot-2021.05/package/pure-ftpd/pure-ftpd.hash b/buildroot-2021.05/package/pure-ftpd/pure-ftpd.hash deleted file mode 100644 index 8fe73e4f..00000000 --- a/buildroot-2021.05/package/pure-ftpd/pure-ftpd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 8a727dfef810f275fba3eb6099760d4f8a0bdeae2c1197d0d5bfeb8c1b2f61b6 pure-ftpd-1.0.49.tar.bz2 -sha256 3a9e94382a69d04aa434d69b20ff2c01dbbfcb7191f05f69a7109c0ee1559c19 COPYING diff --git a/buildroot-2021.05/package/pure-ftpd/pure-ftpd.mk b/buildroot-2021.05/package/pure-ftpd/pure-ftpd.mk deleted file mode 100644 index 7e3d18b4..00000000 --- a/buildroot-2021.05/package/pure-ftpd/pure-ftpd.mk +++ /dev/null @@ -1,95 +0,0 @@ -################################################################################ -# -# pure-ftpd -# -################################################################################ - -PURE_FTPD_VERSION = 1.0.49 -PURE_FTPD_SITE = https://download.pureftpd.org/pub/pure-ftpd/releases -PURE_FTPD_SOURCE = pure-ftpd-$(PURE_FTPD_VERSION).tar.bz2 -PURE_FTPD_LICENSE = ISC -PURE_FTPD_LICENSE_FILES = COPYING -PURE_FTPD_CPE_ID_VENDOR = pureftpd -PURE_FTPD_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) - -# 0001-listdir-reuse-a-single-buffer-to-store-every-file-name-to-display.patch -PURE_FTPD_IGNORE_CVES += CVE-2019-20176 - -# 0002-pure_strcmp-len-s2-can-be-len-s1.patch -PURE_FTPD_IGNORE_CVES += CVE-2020-9365 - -# 0003-diraliases-always-set-the-tail-of-the-list-to-NULL.patch -PURE_FTPD_IGNORE_CVES += CVE-2020-9274 - -PURE_FTPD_CONF_OPTS = \ - --with-altlog \ - --with-puredb - -ifeq ($(BR2_PACKAGE_ELFUTILS),y) -PURE_FTPD_DEPENDENCIES += elfutils -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -PURE_FTPD_CONF_OPTS += --with-capabilities -PURE_FTPD_DEPENDENCIES += libcap -else -PURE_FTPD_CONF_OPTS += --without-capabilities -endif - -ifeq ($(BR2_PACKAGE_LIBSODIUM),y) -PURE_FTPD_DEPENDENCIES += libsodium -endif - -ifeq ($(BR2_PACKAGE_MYSQL),y) -PURE_FTPD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr -PURE_FTPD_DEPENDENCIES += mysql -else -PURE_FTPD_CONF_OPTS += --without-mysql -endif - -ifeq ($(BR2_PACKAGE_OPENLDAP),y) -PURE_FTPD_CONF_OPTS += --with-ldap -PURE_FTPD_DEPENDENCIES += openldap -else -PURE_FTPD_CONF_OPTS += --without-ldap -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -PURE_FTPD_CONF_OPTS += --with-tls -PURE_FTPD_DEPENDENCIES += host-pkgconf openssl -PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -else -PURE_FTPD_CONF_OPTS += --without-tls -endif - -ifeq ($(BR2_PACKAGE_POSTGRESQL),y) -PURE_FTPD_CONF_OPTS += --with-pgsql=$(STAGING_DIR)/usr -PURE_FTPD_DEPENDENCIES += postgresql -else -PURE_FTPD_CONF_OPTS += --without-pgsql -endif - -ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) -PURE_FTPD_CONF_ENV += ax_cv_check_cflags___fPIE=no ax_cv_check_ldflags___fPIE=no -endif - -ifeq ($(BR2_PACKAGE_PURE_FTPD_FTPWHO),y) -PURE_FTPD_CONF_OPTS += --with-ftpwho -endif - -ifeq ($(BR2_PACKAGE_PURE_FTPD_QUOTAS),y) -PURE_FTPD_CONF_OPTS += --with-quotas -endif - -ifeq ($(BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT),y) -PURE_FTPD_CONF_OPTS += --with-uploadscript -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -PURE_FTPD_CONF_OPTS += --with-pam -PURE_FTPD_DEPENDENCIES += linux-pam -else -PURE_FTPD_CONF_OPTS += --without-pam -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/putty/putty.hash b/buildroot-2021.05/package/putty/putty.hash deleted file mode 100644 index 8974aaac..00000000 --- a/buildroot-2021.05/package/putty/putty.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Hashes from: http://the.earth.li/~sgtatham/putty/0.75/{md5,sha1,sha256,sha512}sums -md5 fae57a9ab209f303cc9e9f83eecaa27c putty-0.75.tar.gz -sha1 cdb976811a35eed67c5a2c588908b08edf6e3e1d putty-0.75.tar.gz -sha256 d3173b037eddbe9349abe978101277b4ba9f9959e25dedd44f87e7b85cc8f9f5 putty-0.75.tar.gz -sha512 3dbc15485008a98daf60236061253e66b94a6e5da123fc84c5f0ac006c84e17c70fe748987677775e3b54a12297eb826cccf70a4fc039b633bc2d512938b3028 putty-0.75.tar.gz - -# Locally calculated -sha256 3f3e870dd3d0867d79370b1d433602c60bb91b59de04e5d8f2a149b788530d53 LICENCE diff --git a/buildroot-2021.05/package/putty/putty.mk b/buildroot-2021.05/package/putty/putty.mk deleted file mode 100644 index 1e5a89ea..00000000 --- a/buildroot-2021.05/package/putty/putty.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# putty -# -################################################################################ - -PUTTY_VERSION = 0.75 -PUTTY_SITE = http://the.earth.li/~sgtatham/putty/$(PUTTY_VERSION) -PUTTY_LICENSE = MIT -PUTTY_LICENSE_FILES = LICENCE -PUTTY_CPE_ID_VENDOR = putty -PUTTY_CONF_OPTS = --disable-gtktest - -ifeq ($(BR2_PACKAGE_LIBGTK2),y) -PUTTY_CONF_OPTS += --with-gtk=2 -PUTTY_DEPENDENCIES += libgtk2 -else -PUTTY_CONF_OPTS += --without-gtk -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pv/0001-configure.in-tighten-AIX-test.patch b/buildroot-2021.05/package/pv/0001-configure.in-tighten-AIX-test.patch deleted file mode 100644 index 2e0d2af2..00000000 --- a/buildroot-2021.05/package/pv/0001-configure.in-tighten-AIX-test.patch +++ /dev/null @@ -1,57 +0,0 @@ -From cd7605723eb8e6d8231644f1cf62f1e80badf074 Mon Sep 17 00:00:00 2001 -From: Peter Korsgaard -Date: Mon, 20 Aug 2018 15:57:22 +0200 -Subject: [PATCH] configure.in: tighten AIX test - -Depending on the configuration, the cpp output may contain the string 'yes' -in a comment if built under a path containing 'yes', confusing the _AIX -test: - -${CROSS}-cpp conftest.h -\# 1 "conftest.h" -\# 1 "" -\# 1 "" -\# 31 "" -\# 1 "/home/peko/source/buildroot/output-yes/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdc-predef.h" 1 3 4 -\# 32 "" 2 -\# 1 "conftest.txt" - -Fix it by only matching on 'yes' on a line by itself. - -Upstream-status: submitted to author -Signed-off-by: Peter Korsgaard ---- - - autoconf/configure.in | 2 +- - configure | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/autoconf/configure.in b/autoconf/configure.in -index bd45004..487c42b 100644 ---- a/autoconf/configure.in -+++ b/autoconf/configure.in -@@ -86,7 +86,7 @@ AC_PROG_MAKE_SET - - dnl AIX needs -lc128 - dnl --AC_EGREP_CPP([yes], [#ifdef _AIX -+AC_EGREP_CPP([^yes$], [#ifdef _AIX - yes - #endif - ], [LIBS="$LIBS -lc128"]) -diff --git a/configure b/configure -index 7c11be0..59267b9 100755 ---- a/configure -+++ b/configure -@@ -3377,7 +3377,7 @@ yes - - _ACEOF - if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | -- $EGREP "yes" >/dev/null 2>&1; then -+ $EGREP "^yes$" >/dev/null 2>&1; then - LIBS="$LIBS -lc128" - fi - rm -f conftest* --- -2.11.0 - diff --git a/buildroot-2021.05/package/pv/pv.hash b/buildroot-2021.05/package/pv/pv.hash deleted file mode 100644 index 1ce1191d..00000000 --- a/buildroot-2021.05/package/pv/pv.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 608ef935f7a377e1439c181c4fc188d247da10d51a19ef79bcdee5043b0973f1 pv-1.6.6.tar.bz2 - -# Hash for license file -sha256 280e182171df3e9bb4a9b407326e88521151fcb8f4f8557255f26177d5900ccf doc/COPYING diff --git a/buildroot-2021.05/package/pv/pv.mk b/buildroot-2021.05/package/pv/pv.mk deleted file mode 100644 index 122cc0c5..00000000 --- a/buildroot-2021.05/package/pv/pv.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# pv -# -################################################################################ - -PV_VERSION = 1.6.6 -PV_SOURCE = pv-$(PV_VERSION).tar.bz2 -PV_SITE = http://www.ivarch.com/programs/sources -PV_LICENSE = Artistic-2.0 -PV_LICENSE_FILES = doc/COPYING -PV_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) - -# --relax linker option is enabled by default on sparc/sparc64 -# architectures, and it can't be used together with -r option, so -# disable it. -ifeq ($(BR2_sparc)$(BR2_sparc64),y) -PV_LDFLAGS = "-Wl,--no-relax" -endif - -# While 'pv' uses autoconf, it does not use automake for its -# makefiles. It uses $(LD) $(LDFLAGS) to achieve partial linking, but -# using 'ld' directly doesn't work well with some toolchain -# configuration, as the ld default emulation may not necessarily be -# the correct one. By passing the below values for LD and LDFLAGS, we -# ensure that 'gcc' is used to do these partial linking steps. -PV_MAKE_OPTS = \ - LD="$(TARGET_CC)" \ - LDFLAGS="-Wl,-r -nostdlib $(PV_LDFLAGS)" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/python-aenum/python-aenum.hash b/buildroot-2021.05/package/python-aenum/python-aenum.hash deleted file mode 100644 index 16ee23ab..00000000 --- a/buildroot-2021.05/package/python-aenum/python-aenum.hash +++ /dev/null @@ -1,4 +0,0 @@ -# sha256 from https://pypi.org/pypi/aenum/json -sha256 a4334cabf47c167d44ab5a6198837b80deec5d5bad1b5cf70c966c3a330260e8 aenum-2.2.3.tar.gz -# locally calculated -sha256 0db837e38002017b352666c83c8d3216ee5b9b2229375eb2cf4487f8c24e1f8c aenum/LICENSE diff --git a/buildroot-2021.05/package/python-aenum/python-aenum.mk b/buildroot-2021.05/package/python-aenum/python-aenum.mk deleted file mode 100644 index 97fcbb5e..00000000 --- a/buildroot-2021.05/package/python-aenum/python-aenum.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# python-aenum -# -################################################################################ - -PYTHON_AENUM_VERSION = 2.2.3 -PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz -PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/6f/6a/8ed729e0add885d7a559ebb06133029b1f8c4bd66cbf1bdee1ec969fb310 -PYTHON_AENUM_SETUP_TYPE = setuptools -PYTHON_AENUM_LICENSE = BSD-3-Clause -PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE - -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_AENUM_RM_PY3_FILE - rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/aenum/test_v3.py -endef - -PYTHON_AENUM_POST_INSTALL_TARGET_HOOKS += PYTHON_AENUM_RM_PY3_FILE -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aioblescan/0001-Move-README-to-reStructured-text.patch b/buildroot-2021.05/package/python-aioblescan/0001-Move-README-to-reStructured-text.patch deleted file mode 100644 index 3db03bd8..00000000 --- a/buildroot-2021.05/package/python-aioblescan/0001-Move-README-to-reStructured-text.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 62260e0a42dd6c1c10660f68a531c49bd6cade2e Mon Sep 17 00:00:00 2001 -From: Francois Wautier -Date: Thu, 25 Feb 2021 20:07:08 +0700 -Subject: [PATCH] Move README to reStructured text - -Signed-off-by: Grzegorz Blach ---- - setup.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/setup.py b/setup.py -index 582a994..315b3bb 100644 ---- a/setup.py -+++ b/setup.py -@@ -4,7 +4,7 @@ import setuptools - - version = "0.2.7" - --with open("README.md", "r") as fh: -+with open("README.rst", "r") as fh: - long_description = fh.read() - - setuptools.setup( -@@ -16,7 +16,7 @@ setuptools.setup( - author_email="francois@wautier.eu", - description="Scanning Bluetooth for advertised info with asyncio.", - long_description=long_description, -- long_description_content_type="text/markdown", -+ long_description_content_type="text/x-rst", - url="http://github.com/frawau/aioblescan", - keywords=["bluetooth", "advertising", "hci", "ble"], - license="MIT", --- -2.27.0 - diff --git a/buildroot-2021.05/package/python-aioblescan/Config.in b/buildroot-2021.05/package/python-aioblescan/Config.in deleted file mode 100644 index dd1acfa0..00000000 --- a/buildroot-2021.05/package/python-aioblescan/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOBLESCAN - bool "python-aioblescan" - depends on BR2_PACKAGE_PYTHON3 - help - Scanning Bluetooth for advertised info with asyncio. - - https://github.com/frawau/aioblescan diff --git a/buildroot-2021.05/package/python-aioblescan/python-aioblescan.hash b/buildroot-2021.05/package/python-aioblescan/python-aioblescan.hash deleted file mode 100644 index 99a715dc..00000000 --- a/buildroot-2021.05/package/python-aioblescan/python-aioblescan.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aioblescan/json -md5 fbcbf92260269d401a197636412f0c99 aioblescan-0.2.7.tar.gz -sha256 2987f575c5129a21e42ad59e439feb3c96e0ad7210ef73af8eba1344106e5f5f aioblescan-0.2.7.tar.gz -# Locally computed sha256 checksums -sha256 c2066cd44079e0c706234001af18cb6ad4b62fc68d0d08d29fdc7319916647e0 LICENSE.txt diff --git a/buildroot-2021.05/package/python-aioblescan/python-aioblescan.mk b/buildroot-2021.05/package/python-aioblescan/python-aioblescan.mk deleted file mode 100644 index 2ace1050..00000000 --- a/buildroot-2021.05/package/python-aioblescan/python-aioblescan.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aioblescan -# -################################################################################ - -PYTHON_AIOBLESCAN_VERSION = 0.2.7 -PYTHON_AIOBLESCAN_SOURCE = aioblescan-$(PYTHON_AIOBLESCAN_VERSION).tar.gz -PYTHON_AIOBLESCAN_SITE = https://files.pythonhosted.org/packages/78/2c/c09d8f83ed6c2ca6c4f803f2e5c349698eb78b82c8d5e9302a8eed1a7480 -PYTHON_AIOBLESCAN_SETUP_TYPE = setuptools -PYTHON_AIOBLESCAN_LICENSE = MIT -PYTHON_AIOBLESCAN_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiocoap/Config.in b/buildroot-2021.05/package/python-aiocoap/Config.in deleted file mode 100644 index cf5ca4e8..00000000 --- a/buildroot-2021.05/package/python-aiocoap/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOCOAP - bool "python-aiocoap" - depends on BR2_PACKAGE_PYTHON3 - help - Python CoAP library. - - https://github.com/chrysn/aiocoap diff --git a/buildroot-2021.05/package/python-aiocoap/python-aiocoap.hash b/buildroot-2021.05/package/python-aiocoap/python-aiocoap.hash deleted file mode 100644 index 6df482aa..00000000 --- a/buildroot-2021.05/package/python-aiocoap/python-aiocoap.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5 from https://pypi.python.org/pypi/aiocoap/json, sha256 locally computed -md5 f5fed00767b4197f2fbaa0ff95cbbf78 aiocoap-0.3.tar.gz -sha256 402d4151db6d8d0b1d66af5b6e10e0de1521decbf12140637e5b8d2aa9c5aef6 aiocoap-0.3.tar.gz -sha256 2bb211d412a6bfa4b2a9cf01123c7fe90e5e6185938896e23ab07b84f8494180 LICENSE diff --git a/buildroot-2021.05/package/python-aiocoap/python-aiocoap.mk b/buildroot-2021.05/package/python-aiocoap/python-aiocoap.mk deleted file mode 100644 index a2db70b8..00000000 --- a/buildroot-2021.05/package/python-aiocoap/python-aiocoap.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiocoap -# -################################################################################ - -PYTHON_AIOCOAP_VERSION = 0.3 -PYTHON_AIOCOAP_SOURCE = aiocoap-$(PYTHON_AIOCOAP_VERSION).tar.gz -PYTHON_AIOCOAP_SITE = https://pypi.python.org/packages/9c/f6/d839e4b14258d76e74a39810829c13f8dd31de2bfe0915579b2a609d1bbe -PYTHON_AIOCOAP_SETUP_TYPE = setuptools -PYTHON_AIOCOAP_LICENSE = MIT -PYTHON_AIOCOAP_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aioconsole/Config.in b/buildroot-2021.05/package/python-aioconsole/Config.in deleted file mode 100644 index cd52eecf..00000000 --- a/buildroot-2021.05/package/python-aioconsole/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOCONSOLE - bool "python-aioconsole" - depends on BR2_PACKAGE_PYTHON3 - help - Asynchronous console and interfaces for asyncio. - - https://github.com/vxgmichel/aioconsole diff --git a/buildroot-2021.05/package/python-aioconsole/python-aioconsole.hash b/buildroot-2021.05/package/python-aioconsole/python-aioconsole.hash deleted file mode 100644 index dea2216f..00000000 --- a/buildroot-2021.05/package/python-aioconsole/python-aioconsole.hash +++ /dev/null @@ -1,3 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aioconsole/json -md5 66d4b05e3bc75267daf0f773d839f62b aioconsole-0.3.1.tar.gz -sha256 7c038bb40b7690bf5be6b17154830b7bff25e7be1c02d8420a346c3efbd5d8e5 aioconsole-0.3.1.tar.gz diff --git a/buildroot-2021.05/package/python-aioconsole/python-aioconsole.mk b/buildroot-2021.05/package/python-aioconsole/python-aioconsole.mk deleted file mode 100644 index b32d2bea..00000000 --- a/buildroot-2021.05/package/python-aioconsole/python-aioconsole.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-aioconsole -# -################################################################################ - -PYTHON_AIOCONSOLE_VERSION = 0.3.1 -PYTHON_AIOCONSOLE_SOURCE = aioconsole-$(PYTHON_AIOCONSOLE_VERSION).tar.gz -PYTHON_AIOCONSOLE_SITE = https://files.pythonhosted.org/packages/5a/12/fce04ddc0a8ebd6482e5ec293d8bda47c9e05c82826b061f7b73523b8601 -PYTHON_AIOCONSOLE_SETUP_TYPE = setuptools -PYTHON_AIOCONSOLE_LICENSE = GPL-3.0 - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiodns/Config.in b/buildroot-2021.05/package/python-aiodns/Config.in deleted file mode 100644 index aa597059..00000000 --- a/buildroot-2021.05/package/python-aiodns/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIODNS - bool "python-aiodns" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_PYCARES # runtime - help - Simple DNS resolver for asyncio. - - http://github.com/saghul/aiodns diff --git a/buildroot-2021.05/package/python-aiodns/python-aiodns.hash b/buildroot-2021.05/package/python-aiodns/python-aiodns.hash deleted file mode 100644 index c9511ce7..00000000 --- a/buildroot-2021.05/package/python-aiodns/python-aiodns.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiodns/json -md5 3e121f9eb7ef3ba3556ba7ec28c6f63a aiodns-2.0.0.tar.gz -sha256 815fdef4607474295d68da46978a54481dd1e7be153c7d60f9e72773cd38d77d aiodns-2.0.0.tar.gz -# Locally computed sha256 checksums -sha256 eb0455d35129425ed399883cd710923de3e246a510e2eb84d9f00032d0bbec97 LICENSE diff --git a/buildroot-2021.05/package/python-aiodns/python-aiodns.mk b/buildroot-2021.05/package/python-aiodns/python-aiodns.mk deleted file mode 100644 index f02b4b75..00000000 --- a/buildroot-2021.05/package/python-aiodns/python-aiodns.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiodns -# -################################################################################ - -PYTHON_AIODNS_VERSION = 2.0.0 -PYTHON_AIODNS_SOURCE = aiodns-$(PYTHON_AIODNS_VERSION).tar.gz -PYTHON_AIODNS_SITE = https://files.pythonhosted.org/packages/30/2e/b86ce168485b68d40c6a810838669deacf0abf41845c383659c2b613e69f -PYTHON_AIODNS_SETUP_TYPE = setuptools -PYTHON_AIODNS_LICENSE = MIT -PYTHON_AIODNS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiofiles/Config.in b/buildroot-2021.05/package/python-aiofiles/Config.in deleted file mode 100644 index 9cc3d7fe..00000000 --- a/buildroot-2021.05/package/python-aiofiles/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOFILES - bool "python-aiofiles" - depends on BR2_PACKAGE_PYTHON3 - help - aiofiles aims to handle local disk files in - asyncio applications. - - https://pypi.org/project/aiofiles diff --git a/buildroot-2021.05/package/python-aiofiles/python-aiofiles.hash b/buildroot-2021.05/package/python-aiofiles/python-aiofiles.hash deleted file mode 100644 index 3c3e8565..00000000 --- a/buildroot-2021.05/package/python-aiofiles/python-aiofiles.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiofiles/json -md5 2243eff06072115e8afe8907677ca51d aiofiles-0.5.0.tar.gz -sha256 98e6bcfd1b50f97db4980e182ddd509b7cc35909e903a8fe50d8849e02d815af aiofiles-0.5.0.tar.gz -# Locally computed sha256 checksums -sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE diff --git a/buildroot-2021.05/package/python-aiofiles/python-aiofiles.mk b/buildroot-2021.05/package/python-aiofiles/python-aiofiles.mk deleted file mode 100644 index 28f41e39..00000000 --- a/buildroot-2021.05/package/python-aiofiles/python-aiofiles.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiofiles -# -################################################################################ - -PYTHON_AIOFILES_VERSION = 0.5.0 -PYTHON_AIOFILES_SOURCE = aiofiles-$(PYTHON_AIOFILES_VERSION).tar.gz -PYTHON_AIOFILES_SITE = https://files.pythonhosted.org/packages/2b/64/437053d6a4ba3b3eea1044131a25b458489320cb9609e19ac17261e4dc9b -PYTHON_AIOFILES_SETUP_TYPE = setuptools -PYTHON_AIOFILES_LICENSE = Apache-2.0 -PYTHON_AIOFILES_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiohttp-cors/Config.in b/buildroot-2021.05/package/python-aiohttp-cors/Config.in deleted file mode 100644 index 1c97cf3f..00000000 --- a/buildroot-2021.05/package/python-aiohttp-cors/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP_CORS - bool "python-aiohttp-cors" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - help - CORS support for aiohttp. - - https://github.com/aio-libs/aiohttp-cors diff --git a/buildroot-2021.05/package/python-aiohttp-debugtoolbar/Config.in b/buildroot-2021.05/package/python-aiohttp-debugtoolbar/Config.in deleted file mode 100644 index b22d2cf9..00000000 --- a/buildroot-2021.05/package/python-aiohttp-debugtoolbar/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP_DEBUGTOOLBAR - bool "python-aiohttp-debugtoolbar" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - select BR2_PACKAGE_PYTHON_AIOHTTP_JINJA2 # runtime - help - debugtoolbar for aiohttp. - - https://github.com/aio-libs/aiohttp_debugtoolbar diff --git a/buildroot-2021.05/package/python-aiohttp-jinja2/Config.in b/buildroot-2021.05/package/python-aiohttp-jinja2/Config.in deleted file mode 100644 index dd4bb0d2..00000000 --- a/buildroot-2021.05/package/python-aiohttp-jinja2/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP_JINJA2 - bool "python-aiohttp-jinja2" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - select BR2_PACKAGE_PYTHON_JINJA2 # runtime - help - Jinja2 template renderer for aiohttp.web (http server for - asyncio). - - https://github.com/aio-libs/aiohttp_jinja2/ diff --git a/buildroot-2021.05/package/python-aiohttp-jinja2/python-aiohttp-jinja2.hash b/buildroot-2021.05/package/python-aiohttp-jinja2/python-aiohttp-jinja2.hash deleted file mode 100644 index 44e2ae46..00000000 --- a/buildroot-2021.05/package/python-aiohttp-jinja2/python-aiohttp-jinja2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiohttp-jinja2/json -md5 d474a6440ac906a9d818a03a540830ba aiohttp-jinja2-1.4.2.tar.gz -sha256 9c22a0e48e3b277fc145c67dd8c3b8f609dab36bce9eb337f70dfe716663c9a0 aiohttp-jinja2-1.4.2.tar.gz -# Locally computed sha256 checksums -sha256 d9d867affaeac220a60381cc544681dcd37c668ed6ea5ddbf9948617f828889a LICENSE diff --git a/buildroot-2021.05/package/python-aiohttp-jinja2/python-aiohttp-jinja2.mk b/buildroot-2021.05/package/python-aiohttp-jinja2/python-aiohttp-jinja2.mk deleted file mode 100644 index 724acdb6..00000000 --- a/buildroot-2021.05/package/python-aiohttp-jinja2/python-aiohttp-jinja2.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiohttp-jinja2 -# -################################################################################ - -PYTHON_AIOHTTP_JINJA2_VERSION = 1.4.2 -PYTHON_AIOHTTP_JINJA2_SOURCE = aiohttp-jinja2-$(PYTHON_AIOHTTP_JINJA2_VERSION).tar.gz -PYTHON_AIOHTTP_JINJA2_SITE = https://files.pythonhosted.org/packages/da/4f/3b1a0c7177fdb0417308a95bfa8340f19cf84b44f8f2d734cd3052f56644 -PYTHON_AIOHTTP_JINJA2_SETUP_TYPE = setuptools -PYTHON_AIOHTTP_JINJA2_LICENSE = Apache-2.0 -PYTHON_AIOHTTP_JINJA2_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiohttp-mako/Config.in b/buildroot-2021.05/package/python-aiohttp-mako/Config.in deleted file mode 100644 index 8c5df6a4..00000000 --- a/buildroot-2021.05/package/python-aiohttp-mako/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP_MAKO - bool "python-aiohttp-mako" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - select BR2_PACKAGE_PYTHON_MAKO # runtime - help - mako template renderer for aiohttp.web (http server for - asyncio). - - https://github.com/aio-libs/aiohttp-mako/ diff --git a/buildroot-2021.05/package/python-aiohttp-remotes/Config.in b/buildroot-2021.05/package/python-aiohttp-remotes/Config.in deleted file mode 100644 index e44696ba..00000000 --- a/buildroot-2021.05/package/python-aiohttp-remotes/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP_REMOTES - bool "python-aiohttp-remotes" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - help - Control remote side information. - - https://github.com/aio-libs/aiohttp-remotes diff --git a/buildroot-2021.05/package/python-aiohttp-remotes/python-aiohttp-remotes.hash b/buildroot-2021.05/package/python-aiohttp-remotes/python-aiohttp-remotes.hash deleted file mode 100644 index a9a6cad2..00000000 --- a/buildroot-2021.05/package/python-aiohttp-remotes/python-aiohttp-remotes.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiohttp-remotes/json -md5 e90fad4b7aa088207f831698fddd9eea aiohttp_remotes-1.0.0.tar.gz -sha256 caec1681de70bac82daa676078d9b125758fb3952fdaa893a6b42bdd995562ef aiohttp_remotes-1.0.0.tar.gz -# Locally computed sha256 checksums -sha256 4e7d0edf250abe2a28027788b8c55a53d1b5c9ff961b8a00643c76aed637ba13 LICENSE diff --git a/buildroot-2021.05/package/python-aiohttp-remotes/python-aiohttp-remotes.mk b/buildroot-2021.05/package/python-aiohttp-remotes/python-aiohttp-remotes.mk deleted file mode 100644 index f04cecd8..00000000 --- a/buildroot-2021.05/package/python-aiohttp-remotes/python-aiohttp-remotes.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiohttp-remotes -# -################################################################################ - -PYTHON_AIOHTTP_REMOTES_VERSION = 1.0.0 -PYTHON_AIOHTTP_REMOTES_SOURCE = aiohttp_remotes-$(PYTHON_AIOHTTP_REMOTES_VERSION).tar.gz -PYTHON_AIOHTTP_REMOTES_SITE = https://files.pythonhosted.org/packages/40/b6/1178bd1e26e88f9f29b7d1bbfae7b38d39ec9cf787d4685f83ade2e7aa7f -PYTHON_AIOHTTP_REMOTES_SETUP_TYPE = distutils -PYTHON_AIOHTTP_REMOTES_LICENSE = MIT -PYTHON_AIOHTTP_REMOTES_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiohttp-security/Config.in b/buildroot-2021.05/package/python-aiohttp-security/Config.in deleted file mode 100644 index f92c4585..00000000 --- a/buildroot-2021.05/package/python-aiohttp-security/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP_SECURITY - bool "python-aiohttp-security" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - help - Security for aiohttp.web. - - https://github.com/aio-libs/aiohttp_security/ diff --git a/buildroot-2021.05/package/python-aiohttp-session/Config.in b/buildroot-2021.05/package/python-aiohttp-session/Config.in deleted file mode 100644 index c148165f..00000000 --- a/buildroot-2021.05/package/python-aiohttp-session/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP_SESSION - bool "python-aiohttp-session" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - help - Sessions for aiohttp.web. - - https://github.com/aio-libs/aiohttp_session/ diff --git a/buildroot-2021.05/package/python-aiohttp-session/python-aiohttp-session.hash b/buildroot-2021.05/package/python-aiohttp-session/python-aiohttp-session.hash deleted file mode 100644 index f10827b6..00000000 --- a/buildroot-2021.05/package/python-aiohttp-session/python-aiohttp-session.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiohttp-session/json -md5 993ec277ece4765472d0edc0f6c0bba3 aiohttp-session-2.9.0.tar.gz -sha256 959413468b84e30e7ca09719617cfb0000066a2e0f6c20062d043433e82aeb74 aiohttp-session-2.9.0.tar.gz -# Locally computed sha256 checksums -sha256 2a86817fedf0c52baaa47d7dd975073639dfaaebd37312bd279de54d7f841791 LICENSE diff --git a/buildroot-2021.05/package/python-aiohttp-session/python-aiohttp-session.mk b/buildroot-2021.05/package/python-aiohttp-session/python-aiohttp-session.mk deleted file mode 100644 index fa724fdb..00000000 --- a/buildroot-2021.05/package/python-aiohttp-session/python-aiohttp-session.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-aiohttp-session -# -################################################################################ - -PYTHON_AIOHTTP_SESSION_VERSION = 2.9.0 -PYTHON_AIOHTTP_SESSION_SOURCE = aiohttp-session-$(PYTHON_AIOHTTP_SESSION_VERSION).tar.gz -PYTHON_AIOHTTP_SESSION_SITE = https://files.pythonhosted.org/packages/f8/fe/53dfd35f5c7fcc7f2d0866cb29e722303e3fae7f749c1f3d4d11d361dc38 -PYTHON_AIOHTTP_SESSION_SETUP_TYPE = setuptools -PYTHON_AIOHTTP_SESSION_LICENSE = Apache-2.0 -PYTHON_AIOHTTP_SESSION_LICENSE_FILES = LICENSE -PYTHON_AIOHTTP_SESSION_CPE_ID_VENDOR = aiohttp-session_project -PYTHON_AIOHTTP_SESSION_CPE_ID_PRODUCT = aiohttp-session - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiohttp-sse/Config.in b/buildroot-2021.05/package/python-aiohttp-sse/Config.in deleted file mode 100644 index 781bbf4d..00000000 --- a/buildroot-2021.05/package/python-aiohttp-sse/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP_SSE - bool "python-aiohttp-sse" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - help - Server-sent events support for aiohttp. - - https://github.com/aio-libs/aiohttp_sse/ diff --git a/buildroot-2021.05/package/python-aiohttp-sse/python-aiohttp-sse.hash b/buildroot-2021.05/package/python-aiohttp-sse/python-aiohttp-sse.hash deleted file mode 100644 index 2f21da46..00000000 --- a/buildroot-2021.05/package/python-aiohttp-sse/python-aiohttp-sse.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiohttp-sse/json -md5 d2f394fb75f591045b2c94fc17c8533d aiohttp-sse-2.0.0.tar.gz -sha256 547e1eaa129749f090d02b31956215edbcde74ce99721f5f0ac902a9ccb1202e aiohttp-sse-2.0.0.tar.gz -# Locally computed sha256 checksums -sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE diff --git a/buildroot-2021.05/package/python-aiohttp-sse/python-aiohttp-sse.mk b/buildroot-2021.05/package/python-aiohttp-sse/python-aiohttp-sse.mk deleted file mode 100644 index 7a7a0d0a..00000000 --- a/buildroot-2021.05/package/python-aiohttp-sse/python-aiohttp-sse.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiohttp-sse -# -################################################################################ - -PYTHON_AIOHTTP_SSE_VERSION = 2.0.0 -PYTHON_AIOHTTP_SSE_SOURCE = aiohttp-sse-$(PYTHON_AIOHTTP_SSE_VERSION).tar.gz -PYTHON_AIOHTTP_SSE_SITE = https://files.pythonhosted.org/packages/2b/50/e127729f7df53c32c96b5c71932a7262cad40c83f1e19c218b068c816d51 -PYTHON_AIOHTTP_SSE_SETUP_TYPE = setuptools -PYTHON_AIOHTTP_SSE_LICENSE = Apache-2.0 -PYTHON_AIOHTTP_SSE_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiohttp/Config.in b/buildroot-2021.05/package/python-aiohttp/Config.in deleted file mode 100644 index 9ffea088..00000000 --- a/buildroot-2021.05/package/python-aiohttp/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOHTTP - bool "python-aiohttp" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIODNS # runtime - select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime - select BR2_PACKAGE_PYTHON_ATTRS # runtime - select BR2_PACKAGE_PYTHON_CCHARDET if BR2_INSTALL_LIBSTDCPP # runtime - select BR2_PACKAGE_PYTHON_CHARDET if !BR2_INSTALL_LIBSTDCPP # runtime - select BR2_PACKAGE_PYTHON_MULTIDICT # runtime - select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime - select BR2_PACKAGE_PYTHON_YARL # runtime - select BR2_PACKAGE_PYTHON3_ZLIB # runtime - help - Async http client/server framework (asyncio). - - https://github.com/aio-libs/aiohttp diff --git a/buildroot-2021.05/package/python-aiohttp/python-aiohttp.hash b/buildroot-2021.05/package/python-aiohttp/python-aiohttp.hash deleted file mode 100644 index db7dfd6b..00000000 --- a/buildroot-2021.05/package/python-aiohttp/python-aiohttp.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiohttp/json -md5 586eb4e4dcb1e41242ede0c5bcfd4014 aiohttp-3.7.4.tar.gz -sha256 5d84ecc73141d0a0d61ece0742bb7ff5751b0657dab8405f899d3ceb104cc7de aiohttp-3.7.4.tar.gz -# Locally computed sha256 checksums -sha256 96627bed0ad08e9b2efa9f4e04e80837cd0550e7694a0fec33b1dab2550282ab LICENSE.txt diff --git a/buildroot-2021.05/package/python-aiohttp/python-aiohttp.mk b/buildroot-2021.05/package/python-aiohttp/python-aiohttp.mk deleted file mode 100644 index e878ac1a..00000000 --- a/buildroot-2021.05/package/python-aiohttp/python-aiohttp.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-aiohttp -# -################################################################################ - -PYTHON_AIOHTTP_VERSION = 3.7.4 -PYTHON_AIOHTTP_SOURCE = aiohttp-$(PYTHON_AIOHTTP_VERSION).tar.gz -PYTHON_AIOHTTP_SITE = https://files.pythonhosted.org/packages/7a/95/eb60aaad7943e18c9d091de93c9b0b5ed40aa67c7d5e3c5ee9b36f100a38 -PYTHON_AIOHTTP_SETUP_TYPE = setuptools -PYTHON_AIOHTTP_LICENSE = Apache-2.0 -PYTHON_AIOHTTP_LICENSE_FILES = LICENSE.txt -PYTHON_AIOHTTP_CPE_ID_VENDOR = aiohttp_project -PYTHON_AIOHTTP_CPE_ID_PRODUCT = aiohttp - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiojobs/Config.in b/buildroot-2021.05/package/python-aiojobs/Config.in deleted file mode 100644 index ab619851..00000000 --- a/buildroot-2021.05/package/python-aiojobs/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOJOBS - bool "python-aiojobs" - depends on BR2_PACKAGE_PYTHON3 - help - Jobs scheduler for managing background task (asyncio). - - https://github.com/aio-libs/aiojobs diff --git a/buildroot-2021.05/package/python-aiojobs/python-aiojobs.hash b/buildroot-2021.05/package/python-aiojobs/python-aiojobs.hash deleted file mode 100644 index 56a8bb11..00000000 --- a/buildroot-2021.05/package/python-aiojobs/python-aiojobs.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiojobs/json -md5 8fd929e4ef9bc6560c675a5b11ac6077 aiojobs-0.2.2.tar.gz -sha256 8e4b3e3d1bdb970bdaf8f8cd5eb4e4ff3e0e01a4abd22b4f73a87002a5ae4005 aiojobs-0.2.2.tar.gz -# Locally computed sha256 checksums -sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE diff --git a/buildroot-2021.05/package/python-aiojobs/python-aiojobs.mk b/buildroot-2021.05/package/python-aiojobs/python-aiojobs.mk deleted file mode 100644 index 7a95f990..00000000 --- a/buildroot-2021.05/package/python-aiojobs/python-aiojobs.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiojobs -# -################################################################################ - -PYTHON_AIOJOBS_VERSION = 0.2.2 -PYTHON_AIOJOBS_SOURCE = aiojobs-$(PYTHON_AIOJOBS_VERSION).tar.gz -PYTHON_AIOJOBS_SITE = https://files.pythonhosted.org/packages/57/c5/9eb091930d6574002d1721dab5ca15a1bd69ed5dc8e654159d27223cdd3b -PYTHON_AIOJOBS_SETUP_TYPE = distutils -PYTHON_AIOJOBS_LICENSE = Apache-2.0 -PYTHON_AIOJOBS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiologstash/Config.in b/buildroot-2021.05/package/python-aiologstash/Config.in deleted file mode 100644 index e70c232f..00000000 --- a/buildroot-2021.05/package/python-aiologstash/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOLOGSTASH - bool "python-aiologstash" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime - select BR2_PACKAGE_PYTHON_LOGSTASH # runtime - help - asyncio-compatible logstash logging handler. - - https://github.com/aio-libs/aiologstash diff --git a/buildroot-2021.05/package/python-aiomonitor/Config.in b/buildroot-2021.05/package/python-aiomonitor/Config.in deleted file mode 100644 index c76c952c..00000000 --- a/buildroot-2021.05/package/python-aiomonitor/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOMONITOR - bool "python-aiomonitor" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_TERMINALTABLES # runtime - select BR2_PACKAGE_PYTHON_AIOCONSOLE # runtime - help - aiomonitor adds monitor and python REPL capabilities for - asyncio application. - - https://github.com/aio-libs/aiomonitor diff --git a/buildroot-2021.05/package/python-aioredis/Config.in b/buildroot-2021.05/package/python-aioredis/Config.in deleted file mode 100644 index dc2ee01d..00000000 --- a/buildroot-2021.05/package/python-aioredis/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOREDIS - bool "python-aioredis" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime - select BR2_PACKAGE_PYTHON_HIREDIS # runtime - help - Provides simple and clear interface to Redis based on asyncio. - - https://github.com/aio-libs/aioredis diff --git a/buildroot-2021.05/package/python-aioredis/python-aioredis.hash b/buildroot-2021.05/package/python-aioredis/python-aioredis.hash deleted file mode 100644 index 7162890c..00000000 --- a/buildroot-2021.05/package/python-aioredis/python-aioredis.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aioredis/json -md5 950d2092ad96bb1145e9af7bd780fe38 aioredis-1.3.1.tar.gz -sha256 15f8af30b044c771aee6787e5ec24694c048184c7b9e54c3b60c750a4b93273a aioredis-1.3.1.tar.gz -# Locally computed sha256 checksums -sha256 a288b4f41b5531ff7e9e2df9cd3f17a1844badebc52d7a9205b131f8b8a50744 LICENSE diff --git a/buildroot-2021.05/package/python-aioredis/python-aioredis.mk b/buildroot-2021.05/package/python-aioredis/python-aioredis.mk deleted file mode 100644 index 750f37b6..00000000 --- a/buildroot-2021.05/package/python-aioredis/python-aioredis.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aioredis -# -################################################################################ - -PYTHON_AIOREDIS_VERSION = 1.3.1 -PYTHON_AIOREDIS_SOURCE = aioredis-$(PYTHON_AIOREDIS_VERSION).tar.gz -PYTHON_AIOREDIS_SITE = https://files.pythonhosted.org/packages/2c/2a/662e5e79dde5d00964b995d50e38ecdefeeeb09b37edafff193c7e850f46 -PYTHON_AIOREDIS_SETUP_TYPE = setuptools -PYTHON_AIOREDIS_LICENSE = MIT -PYTHON_AIOREDIS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiorwlock/Config.in b/buildroot-2021.05/package/python-aiorwlock/Config.in deleted file mode 100644 index afdc27dd..00000000 --- a/buildroot-2021.05/package/python-aiorwlock/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIORWLOCK - bool "python-aiorwlock" - depends on BR2_PACKAGE_PYTHON3 - help - Read write lock for asyncio. - - https://github.com/aio-libs/aiorwlock diff --git a/buildroot-2021.05/package/python-aiorwlock/python-aiorwlock.hash b/buildroot-2021.05/package/python-aiorwlock/python-aiorwlock.hash deleted file mode 100644 index 2398b154..00000000 --- a/buildroot-2021.05/package/python-aiorwlock/python-aiorwlock.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiorwlock/json -md5 8d89ed0d80820aad8d9320204779fd62 aiorwlock-1.0.0.tar.gz -sha256 4f773e31d78037e3ec27056a22200af482768b43da66e2cc33dd64aa5ea6518a aiorwlock-1.0.0.tar.gz -# Locally computed sha256 checksums -sha256 fa99ee9d7727194a9f8994c67d1948dc42e8e00ab809fd4a47acfae119d11403 LICENSE diff --git a/buildroot-2021.05/package/python-aiorwlock/python-aiorwlock.mk b/buildroot-2021.05/package/python-aiorwlock/python-aiorwlock.mk deleted file mode 100644 index f6f3c974..00000000 --- a/buildroot-2021.05/package/python-aiorwlock/python-aiorwlock.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiorwlock -# -################################################################################ - -PYTHON_AIORWLOCK_VERSION = 1.0.0 -PYTHON_AIORWLOCK_SOURCE = aiorwlock-$(PYTHON_AIORWLOCK_VERSION).tar.gz -PYTHON_AIORWLOCK_SITE = https://files.pythonhosted.org/packages/40/af/e55b3266352f3383c723e0a3304b0df46a59dfc6235b0b1a0a416afd60c1 -PYTHON_AIORWLOCK_SETUP_TYPE = setuptools -PYTHON_AIORWLOCK_LICENSE = Apache-2.0 -PYTHON_AIORWLOCK_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiosignal/Config.in b/buildroot-2021.05/package/python-aiosignal/Config.in deleted file mode 100644 index 6b7753de..00000000 --- a/buildroot-2021.05/package/python-aiosignal/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOSIGNAL - bool "python-aiosignal" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_FROZENLIST # runtime - help - aiosignal: a list of registered asynchronous callbacks. - - https://github.com/aio-libs/aiosignal diff --git a/buildroot-2021.05/package/python-aiosignal/python-aiosignal.hash b/buildroot-2021.05/package/python-aiosignal/python-aiosignal.hash deleted file mode 100644 index 17c69c81..00000000 --- a/buildroot-2021.05/package/python-aiosignal/python-aiosignal.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiosignal/json -md5 0831ab9e46799842ed84529dbaa86196 aiosignal-1.0.0.tar.gz -sha256 7cd33cbe05bc2d83e77f80d688b4717e424d15eecf6d65384e173b2873e62f13 aiosignal-1.0.0.tar.gz -# Locally computed sha256 checksums -sha256 6fd5243e92dd7f98ec69c7ac377728e74905709ff527a5bf98d6d0263c04f5b6 LICENSE.txt diff --git a/buildroot-2021.05/package/python-aiosignal/python-aiosignal.mk b/buildroot-2021.05/package/python-aiosignal/python-aiosignal.mk deleted file mode 100644 index 14b42646..00000000 --- a/buildroot-2021.05/package/python-aiosignal/python-aiosignal.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiosignal -# -################################################################################ - -PYTHON_AIOSIGNAL_VERSION = 1.0.0 -PYTHON_AIOSIGNAL_SOURCE = aiosignal-$(PYTHON_AIOSIGNAL_VERSION).tar.gz -PYTHON_AIOSIGNAL_SITE = https://files.pythonhosted.org/packages/ca/b7/5ae01ed039ea51cc8280d87b8a1269ba2f1343d7466c1e50c618558352e5 -PYTHON_AIOSIGNAL_SETUP_TYPE = setuptools -PYTHON_AIOSIGNAL_LICENSE = Apache-2.0 -PYTHON_AIOSIGNAL_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-aiozipkin/Config.in b/buildroot-2021.05/package/python-aiozipkin/Config.in deleted file mode 100644 index 643fc9a4..00000000 --- a/buildroot-2021.05/package/python-aiozipkin/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_AIOZIPKIN - bool "python-aiozipkin" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - help - Distributed tracing instrumentation for asyncio application - with zipkin. - - https://github.com/aio-libs/aiozipkin diff --git a/buildroot-2021.05/package/python-aiozipkin/python-aiozipkin.hash b/buildroot-2021.05/package/python-aiozipkin/python-aiozipkin.hash deleted file mode 100644 index af07285c..00000000 --- a/buildroot-2021.05/package/python-aiozipkin/python-aiozipkin.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/aiozipkin/json -md5 7be9acaa48d4d4dc14abcc79edfd6c16 aiozipkin-0.7.1.tar.gz -sha256 aa99984832225378d900a5cd0d4e8e89af7ec9f359612c2e311f55b9039ed501 aiozipkin-0.7.1.tar.gz -# Locally computed sha256 checksums -sha256 9b42fe3a288996988c552e387e7877be7525a1649e62086aedd6b32d3cb56365 LICENSE diff --git a/buildroot-2021.05/package/python-aiozipkin/python-aiozipkin.mk b/buildroot-2021.05/package/python-aiozipkin/python-aiozipkin.mk deleted file mode 100644 index e351dbac..00000000 --- a/buildroot-2021.05/package/python-aiozipkin/python-aiozipkin.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-aiozipkin -# -################################################################################ - -PYTHON_AIOZIPKIN_VERSION = 0.7.1 -PYTHON_AIOZIPKIN_SOURCE = aiozipkin-$(PYTHON_AIOZIPKIN_VERSION).tar.gz -PYTHON_AIOZIPKIN_SITE = https://files.pythonhosted.org/packages/9e/33/120925f90470b7f52f46e2b9f71caf2514e389f42b3ed3b62f6389baee95 -PYTHON_AIOZIPKIN_SETUP_TYPE = setuptools -PYTHON_AIOZIPKIN_LICENSE = Apache-2.0 -PYTHON_AIOZIPKIN_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-argon2-cffi/Config.in b/buildroot-2021.05/package/python-argon2-cffi/Config.in deleted file mode 100644 index 16bbe6c4..00000000 --- a/buildroot-2021.05/package/python-argon2-cffi/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_ARGON2_CFFI - bool "python-argon2-cffi" - depends on BR2_USE_MMU # libargon2 - depends on !BR2_STATIC_LIBS # libargon2 - select BR2_PACKAGE_PYTHON_CFFI # runtime - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_LIBARGON2 - help - The secure Argon2 password hashing algorithm. - - https://argon2-cffi.readthedocs.io/ diff --git a/buildroot-2021.05/package/python-argon2-cffi/python-argon2-cffi.hash b/buildroot-2021.05/package/python-argon2-cffi/python-argon2-cffi.hash deleted file mode 100644 index 730a9b6c..00000000 --- a/buildroot-2021.05/package/python-argon2-cffi/python-argon2-cffi.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/argon2_cffi/json -md5 e49ccb29351387fd853f31bf19b67f59 argon2-cffi-20.1.0.tar.gz -sha256 d8029b2d3e4b4cea770e9e5a0104dd8fa185c1724a0f01528ae4826a6d25f97d argon2-cffi-20.1.0.tar.gz -# Locally computed sha256 checksums -sha256 bf659a28b49240602f56bbdf490cbe2ec509b15b98f99d7b19a52c740e327863 LICENSE diff --git a/buildroot-2021.05/package/python-argon2-cffi/python-argon2-cffi.mk b/buildroot-2021.05/package/python-argon2-cffi/python-argon2-cffi.mk deleted file mode 100644 index 674e089e..00000000 --- a/buildroot-2021.05/package/python-argon2-cffi/python-argon2-cffi.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# python-argon2-cffi -# -################################################################################ - -PYTHON_ARGON2_CFFI_VERSION = 20.1.0 -PYTHON_ARGON2_CFFI_SOURCE = argon2-cffi-$(PYTHON_ARGON2_CFFI_VERSION).tar.gz -PYTHON_ARGON2_CFFI_SITE = https://files.pythonhosted.org/packages/74/fd/d78e003a79c453e8454197092fce9d1c6099445b7e7da0b04eb4fe1dbab7 -PYTHON_ARGON2_CFFI_SETUP_TYPE = setuptools -PYTHON_ARGON2_CFFI_LICENSE = MIT -PYTHON_ARGON2_CFFI_LICENSE_FILES = LICENSE -PYTHON_ARGON2_CFFI_DEPENDENCIES = host-python-cffi libargon2 -PYTHON_ARGON2_CFFI_ENV = ARGON2_CFFI_USE_SYSTEM=1 - -ifeq ($(BR2_X86_CPU_HAS_SSE2),y) -PYTHON_ARGON2_CFFI_ENV += ARGON2_CFFI_USE_SSE2=1 -else -PYTHON_ARGON2_CFFI_ENV += ARGON2_CFFI_USE_SSE2=0 -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-arrow/Config.in b/buildroot-2021.05/package/python-arrow/Config.in deleted file mode 100644 index 14585568..00000000 --- a/buildroot-2021.05/package/python-arrow/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_ARROW - bool "python-arrow" - select BR2_PACKAGE_PYTHON_DATEUTIL # runtime - select BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE \ - if BR2_PACKAGE_PYTHON # runtime - help - Better dates and times for Python. - - https://github.com/crsmithdev/arrow/ diff --git a/buildroot-2021.05/package/python-arrow/python-arrow.hash b/buildroot-2021.05/package/python-arrow/python-arrow.hash deleted file mode 100644 index 90e05332..00000000 --- a/buildroot-2021.05/package/python-arrow/python-arrow.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/arrow/json -md5 554f18b0e23182ee0e8cb2a882d2f607 arrow-0.15.2.tar.gz -sha256 10257c5daba1a88db34afa284823382f4963feca7733b9107956bed041aff24f arrow-0.15.2.tar.gz -# Locally computed sha256 checksums -sha256 a4b7601be50569c2c96a9818fc809b0149410c84c99714d60c9d4fb0ae861fa2 LICENSE diff --git a/buildroot-2021.05/package/python-arrow/python-arrow.mk b/buildroot-2021.05/package/python-arrow/python-arrow.mk deleted file mode 100644 index f8326288..00000000 --- a/buildroot-2021.05/package/python-arrow/python-arrow.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-arrow -# -################################################################################ - -PYTHON_ARROW_VERSION = 0.15.2 -PYTHON_ARROW_SOURCE = arrow-$(PYTHON_ARROW_VERSION).tar.gz -PYTHON_ARROW_SITE = https://files.pythonhosted.org/packages/43/0e/47416c54ad7742981bf77fdfc405987551ab14b181a6140c8cd2a5823872 -PYTHON_ARROW_SETUP_TYPE = setuptools -PYTHON_ARROW_LICENSE = Apache-2.0 -PYTHON_ARROW_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-asgiref/Config.in b/buildroot-2021.05/package/python-asgiref/Config.in deleted file mode 100644 index e131f476..00000000 --- a/buildroot-2021.05/package/python-asgiref/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_PYTHON_ASGIREF - bool "python-asgiref" - depends on BR2_PACKAGE_PYTHON3 - help - ASGI is a standard for Python asynchronous web apps and - servers to communicate with each other, and positioned as - an asynchronous successor to WSGI. - - This package includes ASGI base libraries, such as: - - Sync-to-async and async-to-sync function wrappers, - asgiref.sync - - Server base classes, asgiref.server - - A WSGI-to-ASGI adapter, in asgiref.wsgi - - http://github.com/django/asgiref/ diff --git a/buildroot-2021.05/package/python-asn1crypto/python-asn1crypto.hash b/buildroot-2021.05/package/python-asn1crypto/python-asn1crypto.hash deleted file mode 100644 index b00474bd..00000000 --- a/buildroot-2021.05/package/python-asn1crypto/python-asn1crypto.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/asn1crypto/json -md5 daad112940181917e3ff169b47b9bd9a asn1crypto-1.3.0.tar.gz -sha256 5a215cb8dc12f892244e3a113fe05397ee23c5c4ca7a69cd6e69811755efc42d asn1crypto-1.3.0.tar.gz -# Locally computed sha256 checksums -sha256 a88480656ec98943fb04344f6a477ee74062896f3ddb1a6f99e5f05f0109a286 LICENSE diff --git a/buildroot-2021.05/package/python-asn1crypto/python-asn1crypto.mk b/buildroot-2021.05/package/python-asn1crypto/python-asn1crypto.mk deleted file mode 100644 index 2d8d384c..00000000 --- a/buildroot-2021.05/package/python-asn1crypto/python-asn1crypto.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-asn1crypto -# -################################################################################ - -PYTHON_ASN1CRYPTO_VERSION = 1.3.0 -PYTHON_ASN1CRYPTO_SOURCE = asn1crypto-$(PYTHON_ASN1CRYPTO_VERSION).tar.gz -PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/9f/3d/8beae739ed8c1c8f00ceac0ab6b0e97299b42da869e24cf82851b27a9123 -PYTHON_ASN1CRYPTO_SETUP_TYPE = setuptools -PYTHON_ASN1CRYPTO_LICENSE = MIT -PYTHON_ASN1CRYPTO_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-async-lru/Config.in b/buildroot-2021.05/package/python-async-lru/Config.in deleted file mode 100644 index 794f504e..00000000 --- a/buildroot-2021.05/package/python-async-lru/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_ASYNC_LRU - bool "python-async-lru" - depends on BR2_PACKAGE_PYTHON3 - help - Simple lru_cache for asyncio. - - https://github.com/aio-libs/async_lru diff --git a/buildroot-2021.05/package/python-async-timeout/Config.in b/buildroot-2021.05/package/python-async-timeout/Config.in deleted file mode 100644 index 659a0fde..00000000 --- a/buildroot-2021.05/package/python-async-timeout/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT - bool "python-async-timeout" - depends on BR2_PACKAGE_PYTHON3 - help - asyncio-compatible timeout context manager. - - https://github.com/aio-libs/async-timeout diff --git a/buildroot-2021.05/package/python-async-timeout/python-async-timeout.hash b/buildroot-2021.05/package/python-async-timeout/python-async-timeout.hash deleted file mode 100644 index f99e1dad..00000000 --- a/buildroot-2021.05/package/python-async-timeout/python-async-timeout.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.python.org/pypi/async_timeout/json -md5 305c4fa529f2485c403d0dbe14390175 async-timeout-3.0.1.tar.gz -sha256 0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f async-timeout-3.0.1.tar.gz -# Locally computed sha256 checksums -sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE diff --git a/buildroot-2021.05/package/python-async-timeout/python-async-timeout.mk b/buildroot-2021.05/package/python-async-timeout/python-async-timeout.mk deleted file mode 100644 index 093adc5c..00000000 --- a/buildroot-2021.05/package/python-async-timeout/python-async-timeout.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-async-timeout -# -################################################################################ - -PYTHON_ASYNC_TIMEOUT_VERSION = 3.0.1 -PYTHON_ASYNC_TIMEOUT_SOURCE = async-timeout-$(PYTHON_ASYNC_TIMEOUT_VERSION).tar.gz -PYTHON_ASYNC_TIMEOUT_SITE = https://files.pythonhosted.org/packages/a1/78/aae1545aba6e87e23ecab8d212b58bb70e72164b67eb090b81bb17ad38e3 -PYTHON_ASYNC_TIMEOUT_LICENSE = Apache-2.0 -PYTHON_ASYNC_TIMEOUT_LICENSE_FILES = LICENSE -PYTHON_ASYNC_TIMEOUT_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-attrs/python-attrs.hash b/buildroot-2021.05/package/python-attrs/python-attrs.hash deleted file mode 100644 index 38415957..00000000 --- a/buildroot-2021.05/package/python-attrs/python-attrs.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/attrs/json -md5 5b2db50fcc31be34d32798183c9bd062 attrs-19.3.0.tar.gz -sha256 f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72 attrs-19.3.0.tar.gz -# Locally computed sha256 -sha256 bf659a28b49240602f56bbdf490cbe2ec509b15b98f99d7b19a52c740e327863 LICENSE diff --git a/buildroot-2021.05/package/python-attrs/python-attrs.mk b/buildroot-2021.05/package/python-attrs/python-attrs.mk deleted file mode 100644 index 72b280c3..00000000 --- a/buildroot-2021.05/package/python-attrs/python-attrs.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-attrs -# -################################################################################ - -PYTHON_ATTRS_VERSION = 19.3.0 -PYTHON_ATTRS_SOURCE = attrs-$(PYTHON_ATTRS_VERSION).tar.gz -PYTHON_ATTRS_SITE = https://files.pythonhosted.org/packages/98/c3/2c227e66b5e896e15ccdae2e00bbc69aa46e9a8ce8869cc5fa96310bf612 -PYTHON_ATTRS_SETUP_TYPE = setuptools -PYTHON_ATTRS_LICENSE = MIT -PYTHON_ATTRS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-autobahn/Config.in b/buildroot-2021.05/package/python-autobahn/Config.in deleted file mode 100644 index 78b16897..00000000 --- a/buildroot-2021.05/package/python-autobahn/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_PYTHON_AUTOBAHN - bool "python-autobahn" - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography -> python-pyasn - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime - select BR2_PACKAGE_PYTHON_TXAIO # runtime - help - WebSocket client and server library, WAMP real-time - framework. - - https://pypi.python.org/pypi/autobahn - -comment "python-autobahn needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/python-autobahn/python-autobahn.hash b/buildroot-2021.05/package/python-autobahn/python-autobahn.hash deleted file mode 100644 index a5aa2a5a..00000000 --- a/buildroot-2021.05/package/python-autobahn/python-autobahn.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/autobahn/json -md5 dcae3cf26203aa4bbd9912137e5c9512 autobahn-20.4.3.tar.gz -sha256 c6fe745d52ba9f9eecf791cd31f558df42aebfc4f9ee558a8f1d18c707e1ae1f autobahn-20.4.3.tar.gz -# Locally computed sha256 checksums -sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE diff --git a/buildroot-2021.05/package/python-autobahn/python-autobahn.mk b/buildroot-2021.05/package/python-autobahn/python-autobahn.mk deleted file mode 100644 index 81e2b7a4..00000000 --- a/buildroot-2021.05/package/python-autobahn/python-autobahn.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-autobahn -# -################################################################################ - -PYTHON_AUTOBAHN_VERSION = 20.4.3 -PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz -PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/cb/16/38d27874ef827974f44acb6dd64a92a9248b624734c0e84b91083c2d9350 -PYTHON_AUTOBAHN_LICENSE = MIT -PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE -PYTHON_AUTOBAHN_CPE_ID_VENDOR = crossbar -PYTHON_AUTOBAHN_CPE_ID_PRODUCT = autobahn -PYTHON_AUTOBAHN_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-avro/Config.in b/buildroot-2021.05/package/python-avro/Config.in deleted file mode 100644 index e1d7fc83..00000000 --- a/buildroot-2021.05/package/python-avro/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_PYTHON_AVRO - bool "python-avro" - depends on BR2_PACKAGE_PYTHON3 - help - Select this option to install the Avro Python3 language - bindings, and the `avro` command line tool - - Apache Avro is a data serialization system. - Avro provides: - - Rich data structures. - - A compact, fast, binary data format. - - A container file, to store persistent data. - - Remote procedure call (RPC). - - Simple integration with dynamic languages. - - Code generation is not required to read or write data - files nor to use or implement RPC protocols. - - Code generation as an optional optimization, - only worth implementing for statically typed languages. - - http://avro.apache.org/ diff --git a/buildroot-2021.05/package/python-babel/python-babel.hash b/buildroot-2021.05/package/python-babel/python-babel.hash deleted file mode 100644 index 95f9d725..00000000 --- a/buildroot-2021.05/package/python-babel/python-babel.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/babel/json -md5 83c158b7dae9135750a7cf204e6e2eea Babel-2.7.0.tar.gz -sha256 e86135ae101e31e2c8ec20a4e0c5220f4eed12487d5cf3f78be7e98d3a57fc28 Babel-2.7.0.tar.gz -# Locally computed sha256 checksums -sha256 5a0df5d46e8cb14bd5d4c2cd77338b22f681fe88bd34236626b1a3ae3b50101a LICENSE diff --git a/buildroot-2021.05/package/python-babel/python-babel.mk b/buildroot-2021.05/package/python-babel/python-babel.mk deleted file mode 100644 index cf0a8ab1..00000000 --- a/buildroot-2021.05/package/python-babel/python-babel.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-babel -# -################################################################################ - -PYTHON_BABEL_VERSION = 2.7.0 -PYTHON_BABEL_SOURCE = Babel-$(PYTHON_BABEL_VERSION).tar.gz -PYTHON_BABEL_SITE = https://files.pythonhosted.org/packages/bd/78/9fb975cbb3f4b136de2cd4b5e5ce4a3341169ebf4c6c03630996d05428f1 -PYTHON_BABEL_SETUP_TYPE = setuptools -PYTHON_BABEL_LICENSE = BSD-3-Clause -PYTHON_BABEL_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-backports-abc/Config.in b/buildroot-2021.05/package/python-backports-abc/Config.in deleted file mode 100644 index 43566279..00000000 --- a/buildroot-2021.05/package/python-backports-abc/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_BACKPORTS_ABC - bool "python-backports-abc" - depends on BR2_PACKAGE_PYTHON - help - A backport of recent additions to the 'collections.abc' - module. - - https://pypi.python.org/pypi/backports_abc diff --git a/buildroot-2021.05/package/python-backports-abc/python-backports-abc.hash b/buildroot-2021.05/package/python-backports-abc/python-backports-abc.hash deleted file mode 100644 index 4f4c9bd1..00000000 --- a/buildroot-2021.05/package/python-backports-abc/python-backports-abc.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/backports_abc/json -md5 7d1936ec183a3586290adf60f6f96764 backports_abc-0.5.tar.gz -# Locally computed -sha256 033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde backports_abc-0.5.tar.gz -sha256 0a4f3b38055f50f047a42521568fa6ddb9a5976c2884f6ae138796d0f71150ca LICENSE diff --git a/buildroot-2021.05/package/python-backports-abc/python-backports-abc.mk b/buildroot-2021.05/package/python-backports-abc/python-backports-abc.mk deleted file mode 100644 index 66cea170..00000000 --- a/buildroot-2021.05/package/python-backports-abc/python-backports-abc.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-backports-abc -# -################################################################################ - -PYTHON_BACKPORTS_ABC_VERSION = 0.5 -PYTHON_BACKPORTS_ABC_SOURCE = backports_abc-$(PYTHON_BACKPORTS_ABC_VERSION).tar.gz -PYTHON_BACKPORTS_ABC_SITE = https://pypi.python.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8 -PYTHON_BACKPORTS_ABC_LICENSE = Python-2.0 -PYTHON_BACKPORTS_ABC_LICENSE_FILES = LICENSE -PYTHON_BACKPORTS_ABC_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-backports-functools-lru-cache/Config.in b/buildroot-2021.05/package/python-backports-functools-lru-cache/Config.in deleted file mode 100644 index a5b7771e..00000000 --- a/buildroot-2021.05/package/python-backports-functools-lru-cache/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE - bool "python-backports-functools-lru-cache" - depends on BR2_PACKAGE_PYTHON - help - Backport of functools.lru_cache from Python 3.3 - - https://github.com/jaraco/backports.functools_lru_cache diff --git a/buildroot-2021.05/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.hash b/buildroot-2021.05/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.hash deleted file mode 100644 index 3db4aec1..00000000 --- a/buildroot-2021.05/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/backports.functools_lru_cache/json -md5 20f53f54cd3f04b3346ce75a54959754 backports.functools_lru_cache-1.5.tar.gz -sha256 9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a backports.functools_lru_cache-1.5.tar.gz -# Localy computed sha256 checksumms -sha256 a55e2ffe9b44998e621d51d8c094bed09acc4b5236ee73d7df395a33ba3c18fd LICENSE diff --git a/buildroot-2021.05/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.mk b/buildroot-2021.05/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.mk deleted file mode 100644 index 334d6d8c..00000000 --- a/buildroot-2021.05/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-backports-functools-lru-cache -# -################################################################################ - -PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_VERSION = 1.5 -PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_SOURCE = backports.functools_lru_cache-$(PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_VERSION).tar.gz -PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_SITE = https://files.pythonhosted.org/packages/57/d4/156eb5fbb08d2e85ab0a632e2bebdad355798dece07d4752f66a8d02d1ea -PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_SETUP_TYPE = setuptools -PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_DEPENDENCIES = host-python-setuptools-scm -PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_LICENSE = MIT -PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/Config.in b/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/Config.in deleted file mode 100644 index 392e05a2..00000000 --- a/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE - bool "python-backports-shutil-get-terminal-size" - depends on BR2_PACKAGE_PYTHON - help - A backport of the get_terminal_size function from Python - 3.3's shutil. - - https://pypi.python.org/pypi/backports.shutil_get_terminal_size diff --git a/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash b/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash deleted file mode 100644 index 40883a4e..00000000 --- a/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/backports.shutil_get_terminal_size/json -md5 03267762480bd86b50580dc19dff3c66 backports.shutil_get_terminal_size-1.0.0.tar.gz -# Locally computed -sha256 713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80 backports.shutil_get_terminal_size-1.0.0.tar.gz -sha256 9edd99f8c339cddbfe36a9707e671fccf245b3e50b80eec0877dccec87a2dfe4 LICENSE diff --git a/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk b/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk deleted file mode 100644 index 7c24b196..00000000 --- a/buildroot-2021.05/package/python-backports-shutil-get-terminal-size/python-backports-shutil-get-terminal-size.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-backports-shutil-get-terminal-size -# -################################################################################ - -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION = 1.0.0 -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SOURCE = backports.shutil_get_terminal_size-$(PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_VERSION).tar.gz -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SITE = https://pypi.python.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_SETUP_TYPE = setuptools -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE = MIT -PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-backports-ssl-match-hostname/Config.in b/buildroot-2021.05/package/python-backports-ssl-match-hostname/Config.in deleted file mode 100644 index 8e55191a..00000000 --- a/buildroot-2021.05/package/python-backports-ssl-match-hostname/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME - bool "python-backports-ssl-match-hostname" - depends on BR2_PACKAGE_PYTHON - help - The ssl.match_hostname() function from Python 3.5. - - http://bitbucket.org/brandon/backports.ssl_match_hostname diff --git a/buildroot-2021.05/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash b/buildroot-2021.05/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash deleted file mode 100644 index 145174cd..00000000 --- a/buildroot-2021.05/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/backports.ssl_match_hostname/json -md5 32d2f593af01a046bec3d2f5181a420a backports.ssl_match_hostname-3.7.0.1.tar.gz -sha256 bb82e60f9fbf4c080eabd957c39f0641f0fc247d9a16e31e26d594d8f42b9fd2 backports.ssl_match_hostname-3.7.0.1.tar.gz -# Locally computed sha256 checksums -sha256 bfc8a75a4b9aec224aa7973c0c9d7cc0134bdcbf8eefd008936b58554d66e97e LICENSE.txt diff --git a/buildroot-2021.05/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk b/buildroot-2021.05/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk deleted file mode 100644 index 30096166..00000000 --- a/buildroot-2021.05/package/python-backports-ssl-match-hostname/python-backports-ssl-match-hostname.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-backports-ssl-match-hostname -# -################################################################################ - -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_VERSION = 3.7.0.1 -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SOURCE = backports.ssl_match_hostname-$(PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_VERSION).tar.gz -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SITE = https://files.pythonhosted.org/packages/ff/2b/8265224812912bc5b7a607c44bf7b027554e1b9775e9ee0de8032e3de4b2 -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_SETUP_TYPE = distutils -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_LICENSE = Python-2.0 -PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-bcrypt/Config.in b/buildroot-2021.05/package/python-bcrypt/Config.in deleted file mode 100644 index 4fa6c31a..00000000 --- a/buildroot-2021.05/package/python-bcrypt/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_BCRYPT - bool "python-bcrypt" - select BR2_PACKAGE_PYTHON_CFFI # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - help - Modern password hashing for your software and your servers. - - https://github.com/pyca/bcrypt/ diff --git a/buildroot-2021.05/package/python-bcrypt/python-bcrypt.hash b/buildroot-2021.05/package/python-bcrypt/python-bcrypt.hash deleted file mode 100644 index a9c070f2..00000000 --- a/buildroot-2021.05/package/python-bcrypt/python-bcrypt.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/bcrypt/json -md5 5d6f93b575ce52470af37a8e7dce76fe bcrypt-3.1.7.tar.gz -sha256 0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42 bcrypt-3.1.7.tar.gz -# Locally computed sha256 checksums -sha256 8173d5c29b4f956d532781d2b86e4e30f83e6b7878dce18c919451d6ba707c90 LICENSE diff --git a/buildroot-2021.05/package/python-bcrypt/python-bcrypt.mk b/buildroot-2021.05/package/python-bcrypt/python-bcrypt.mk deleted file mode 100644 index 381d0034..00000000 --- a/buildroot-2021.05/package/python-bcrypt/python-bcrypt.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-bcrypt -# -################################################################################ - -PYTHON_BCRYPT_VERSION = 3.1.7 -PYTHON_BCRYPT_SOURCE = bcrypt-$(PYTHON_BCRYPT_VERSION).tar.gz -PYTHON_BCRYPT_SITE = https://files.pythonhosted.org/packages/fa/aa/025a3ab62469b5167bc397837c9ffc486c42a97ef12ceaa6699d8f5a5416 -PYTHON_BCRYPT_SETUP_TYPE = setuptools -PYTHON_BCRYPT_LICENSE = Apache-2.0 -PYTHON_BCRYPT_LICENSE_FILES = LICENSE -PYTHON_BCRYPT_DEPENDENCIES = host-python-cffi - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-beautifulsoup4/python-beautifulsoup4.hash b/buildroot-2021.05/package/python-beautifulsoup4/python-beautifulsoup4.hash deleted file mode 100644 index 8b8c51de..00000000 --- a/buildroot-2021.05/package/python-beautifulsoup4/python-beautifulsoup4.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/beautifulsoup4/json -md5 be03d778cf61cf6734a480e2010d6657 beautifulsoup4-4.8.1.tar.gz -sha256 6135db2ba678168c07950f9a16c4031822c6f4aec75a65e0a97bc5ca09789931 beautifulsoup4-4.8.1.tar.gz -# Locally computed sha256 checksums -sha256 a47ea51236098464fe0b4f559743590b533056d9e00f49ecbf80299fab47e231 COPYING.txt diff --git a/buildroot-2021.05/package/python-beautifulsoup4/python-beautifulsoup4.mk b/buildroot-2021.05/package/python-beautifulsoup4/python-beautifulsoup4.mk deleted file mode 100644 index 6364a366..00000000 --- a/buildroot-2021.05/package/python-beautifulsoup4/python-beautifulsoup4.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-beautifulsoup4 -# -################################################################################ - -PYTHON_BEAUTIFULSOUP4_VERSION = 4.8.1 -PYTHON_BEAUTIFULSOUP4_SOURCE = beautifulsoup4-$(PYTHON_BEAUTIFULSOUP4_VERSION).tar.gz -PYTHON_BEAUTIFULSOUP4_SITE = https://files.pythonhosted.org/packages/86/cd/495c68f0536dcd25f016e006731ba7be72e072280305ec52590012c1e6f2 -PYTHON_BEAUTIFULSOUP4_SETUP_TYPE = setuptools -PYTHON_BEAUTIFULSOUP4_LICENSE = MIT -PYTHON_BEAUTIFULSOUP4_LICENSE_FILES = COPYING.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-bitstring/python-bitstring.hash b/buildroot-2021.05/package/python-bitstring/python-bitstring.hash deleted file mode 100644 index 04e49146..00000000 --- a/buildroot-2021.05/package/python-bitstring/python-bitstring.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/bitstring/json -md5 18661a3e5c47c59bd926dd0fefae0baa bitstring-3.1.7.tar.gz -sha256 fdf3eb72b229d2864fb507f8f42b1b2c57af7ce5fec035972f9566de440a864a bitstring-3.1.7.tar.gz -# Locally computed sha256 checksums -sha256 ea3c0e2288994d3dfeaac0fd2163f2cf5f9671c3ae70a9e9d563795e28cfb0b9 LICENSE diff --git a/buildroot-2021.05/package/python-bitstring/python-bitstring.mk b/buildroot-2021.05/package/python-bitstring/python-bitstring.mk deleted file mode 100644 index c3699341..00000000 --- a/buildroot-2021.05/package/python-bitstring/python-bitstring.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-bitstring -# -################################################################################ - -PYTHON_BITSTRING_VERSION = 3.1.7 -PYTHON_BITSTRING_SOURCE = bitstring-$(PYTHON_BITSTRING_VERSION).tar.gz -PYTHON_BITSTRING_SITE = https://files.pythonhosted.org/packages/c3/fc/ffac2c199d2efe1ec5111f55efeb78f5f2972456df6939fea849f103f9f5 -PYTHON_BITSTRING_SETUP_TYPE = distutils -PYTHON_BITSTRING_LICENSE = MIT -PYTHON_BITSTRING_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-bleak/Config.in b/buildroot-2021.05/package/python-bleak/Config.in deleted file mode 100644 index 60153618..00000000 --- a/buildroot-2021.05/package/python-bleak/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_BLEAK - bool "python-bleak" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_TXDBUS # runtime - help - Bluetooth Low Energy platform Agnostic Klient. - - https://github.com/hbldh/bleak diff --git a/buildroot-2021.05/package/python-bleak/python-bleak.hash b/buildroot-2021.05/package/python-bleak/python-bleak.hash deleted file mode 100644 index 9506822c..00000000 --- a/buildroot-2021.05/package/python-bleak/python-bleak.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/bleak/json -md5 e891b33804b69f0247eb770ca27fa0d5 bleak-0.10.0.tar.gz -sha256 5c3a873965f2910865895e572e7a4f10533d6e150e6ba17936397426bf8d1eee bleak-0.10.0.tar.gz -# Locally computed sha256 checksums -sha256 c4029a2b63b3824ab68be841f414addbdde20cb79cdbe272fa80c0b2abe65374 LICENSE diff --git a/buildroot-2021.05/package/python-bleak/python-bleak.mk b/buildroot-2021.05/package/python-bleak/python-bleak.mk deleted file mode 100644 index 040d64ed..00000000 --- a/buildroot-2021.05/package/python-bleak/python-bleak.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-bleak -# -################################################################################ - -PYTHON_BLEAK_VERSION = 0.10.0 -PYTHON_BLEAK_SOURCE = bleak-$(PYTHON_BLEAK_VERSION).tar.gz -PYTHON_BLEAK_SITE = https://files.pythonhosted.org/packages/80/37/c8c88709e4f1ca4636bf11c96d1ec046d7426cd02670ae80a3542280558b -PYTHON_BLEAK_SETUP_TYPE = setuptools -PYTHON_BLEAK_LICENSE = MIT -PYTHON_BLEAK_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-bluezero/Config.in b/buildroot-2021.05/package/python-bluezero/Config.in deleted file mode 100644 index c391bfa8..00000000 --- a/buildroot-2021.05/package/python-bluezero/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_PYTHON_BLUEZERO - bool "python-bluezero" - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # python-gobject -> gobject-introspection - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection - depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_DBUS # runtime - select BR2_PACKAGE_DBUS_PYTHON # runtime - select BR2_PACKAGE_PYTHON_GOBJECT # runtime - help - Python library for Bluetooth Low Energy (BLE) on Linux. - - https://github.com/ukBaz/python-bluezero - -comment "python-bluezero needs a glibc toolchain, gcc >= 4.9" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/python-boto3/python-boto3.hash b/buildroot-2021.05/package/python-boto3/python-boto3.hash deleted file mode 100644 index 6752a2cc..00000000 --- a/buildroot-2021.05/package/python-boto3/python-boto3.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/boto3/json -md5 8cecdbf7ef6702837d7ddabaa3e39a89 boto3-1.16.50.tar.gz -sha256 4d502a842b81fdac4b950d3b88a5b9067ce118213b122b20f4192003cb067986 boto3-1.16.50.tar.gz -# Locally computed sha256 checksums -sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE diff --git a/buildroot-2021.05/package/python-boto3/python-boto3.mk b/buildroot-2021.05/package/python-boto3/python-boto3.mk deleted file mode 100644 index a5c2b6ab..00000000 --- a/buildroot-2021.05/package/python-boto3/python-boto3.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-boto3 -# -################################################################################ - -PYTHON_BOTO3_VERSION = 1.16.50 -PYTHON_BOTO3_SOURCE = boto3-$(PYTHON_BOTO3_VERSION).tar.gz -PYTHON_BOTO3_SITE = https://files.pythonhosted.org/packages/c8/c6/b4d9547a493ac2837f296f4a004dff6e7136cf6750d181769b8a61d63813 -PYTHON_BOTO3_SETUP_TYPE = setuptools -PYTHON_BOTO3_LICENSE = Apache-2.0 -PYTHON_BOTO3_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-botocore/Config.in b/buildroot-2021.05/package/python-botocore/Config.in deleted file mode 100644 index f34d774f..00000000 --- a/buildroot-2021.05/package/python-botocore/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_BOTOCORE - bool "python-botocore" - select BR2_PACKAGE_PYTHON_JMESPATH # runtime - select BR2_PACKAGE_PYTHON_DATEUTIL # runtime - select BR2_PACKAGE_PYTHON_URLLIB3 # runtime - help - Low-level, data-driven core of boto 3. - - https://github.com/boto/botocore diff --git a/buildroot-2021.05/package/python-botocore/python-botocore.hash b/buildroot-2021.05/package/python-botocore/python-botocore.hash deleted file mode 100644 index afaac12b..00000000 --- a/buildroot-2021.05/package/python-botocore/python-botocore.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/botocore/json -md5 870be84c9b418430ad9d0cb5640e76ef botocore-1.12.210.tar.gz -sha256 b954c596f8bdf31d5fdf1eff8a2296bde8094e1e22961a79b83bb62ddeba8a49 botocore-1.19.48.tar.gz -# Locally computed sha256 checksums -sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.txt diff --git a/buildroot-2021.05/package/python-botocore/python-botocore.mk b/buildroot-2021.05/package/python-botocore/python-botocore.mk deleted file mode 100644 index 76c59d0a..00000000 --- a/buildroot-2021.05/package/python-botocore/python-botocore.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-botocore -# -################################################################################ - -PYTHON_BOTOCORE_VERSION = 1.19.48 -PYTHON_BOTOCORE_SOURCE = botocore-$(PYTHON_BOTOCORE_VERSION).tar.gz -PYTHON_BOTOCORE_SITE = https://files.pythonhosted.org/packages/35/73/c6fe3fafb74cc86a2a9ddf565a2b8956777e668c6248927e6d76b66f61a4 -PYTHON_BOTOCORE_SETUP_TYPE = setuptools -PYTHON_BOTOCORE_LICENSE = Apache-2.0 -PYTHON_BOTOCORE_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-brotli/Config.in b/buildroot-2021.05/package/python-brotli/Config.in deleted file mode 100644 index 1c09c268..00000000 --- a/buildroot-2021.05/package/python-brotli/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_BROTLI - bool "python-brotli" - depends on BR2_INSTALL_LIBSTDCPP - help - Python bindings for the Brotli compression library. - - https://github.com/google/brotli diff --git a/buildroot-2021.05/package/python-bsdiff4/Config.in b/buildroot-2021.05/package/python-bsdiff4/Config.in deleted file mode 100644 index a383cda0..00000000 --- a/buildroot-2021.05/package/python-bsdiff4/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_BSDIFF4 - bool "python-bsdiff4" - select BR2_PACKAGE_PYTHON_BZIP2 if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_BZIP2 if BR2_PACKAGE_PYTHON3 # runtime - help - binary diff and patch using the BSDIFF4-format. - - https://github.com/ilanschnell/bsdiff4 diff --git a/buildroot-2021.05/package/python-bsdiff4/python-bsdiff4.hash b/buildroot-2021.05/package/python-bsdiff4/python-bsdiff4.hash deleted file mode 100644 index e64e817f..00000000 --- a/buildroot-2021.05/package/python-bsdiff4/python-bsdiff4.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/bsdiff4/json -md5 a0d047e91429ce67a3b0231facf41169 bsdiff4-1.2.0.tar.gz -sha256 3c2f7f5504f41a54d238b54b00b4544d0eb4276179edabf02b9d00415a03cc9d bsdiff4-1.2.0.tar.gz -# Locally computed sha256 -sha256 c6c921c90383f1c43beb53c49a652d28309a410a7c394c729fd8870271451cf0 LICENSE diff --git a/buildroot-2021.05/package/python-bsdiff4/python-bsdiff4.mk b/buildroot-2021.05/package/python-bsdiff4/python-bsdiff4.mk deleted file mode 100644 index 3b789ac9..00000000 --- a/buildroot-2021.05/package/python-bsdiff4/python-bsdiff4.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-bsdiff4 -# -################################################################################ - -PYTHON_BSDIFF4_VERSION = 1.2.0 -PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz -PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/9b/ca/06cd939630ca78125c36489f92b52918980cbcfee2dcc0969411eb5ae8a8 -PYTHON_BSDIFF4_LICENSE = BSD-2-Clause, BSD-Protection (core.c) -PYTHON_BSDIFF4_LICENSE_FILES = LICENSE -PYTHON_BSDIFF4_CPE_ID_VENDOR = pypi -PYTHON_BSDIFF4_CPE_ID_PRODUCT = bsdiff4 -PYTHON_BSDIFF4_SETUP_TYPE = distutils - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cached-property/python-cached-property.hash b/buildroot-2021.05/package/python-cached-property/python-cached-property.hash deleted file mode 100644 index cfe34ca1..00000000 --- a/buildroot-2021.05/package/python-cached-property/python-cached-property.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/cached-property/json -md5 4b6f3cd429da5f487f4ebf3242bb991f cached-property-1.5.1.tar.gz -sha256 9217a59f14a5682da7c4b8829deadbfc194ac22e9908ccf7c8820234e80a1504 cached-property-1.5.1.tar.gz -# Locally computed sha256 checksums -sha256 ba4756c8039b25b66e3c456cc5bf635aa528cf459b97ee1499d06684ccd89b9a LICENSE diff --git a/buildroot-2021.05/package/python-cached-property/python-cached-property.mk b/buildroot-2021.05/package/python-cached-property/python-cached-property.mk deleted file mode 100644 index f83a1f18..00000000 --- a/buildroot-2021.05/package/python-cached-property/python-cached-property.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-cached-property -# -################################################################################ - -PYTHON_CACHED_PROPERTY_VERSION = 1.5.1 -PYTHON_CACHED_PROPERTY_SOURCE = cached-property-$(PYTHON_CACHED_PROPERTY_VERSION).tar.gz -PYTHON_CACHED_PROPERTY_SITE = https://files.pythonhosted.org/packages/57/8e/0698e10350a57d46b3bcfe8eff1d4181642fd1724073336079cb13c5cf7f -PYTHON_CACHED_PROPERTY_SETUP_TYPE = setuptools -PYTHON_CACHED_PROPERTY_LICENSE = BSD-3-Clause -PYTHON_CACHED_PROPERTY_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-can/Config.in b/buildroot-2021.05/package/python-can/Config.in deleted file mode 100644 index 3d06374c..00000000 --- a/buildroot-2021.05/package/python-can/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_PYTHON_CAN - bool "python-can" - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SQLITE if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SQLITE if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_TYPING if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_AENUM # runtime - select BR2_PACKAGE_PYTHON_WRAPT # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - This module provides controller area network support for - Python. - - https://github.com/hardbyte/python-can diff --git a/buildroot-2021.05/package/python-cbor2/python-cbor2.hash b/buildroot-2021.05/package/python-cbor2/python-cbor2.hash deleted file mode 100644 index 073d071a..00000000 --- a/buildroot-2021.05/package/python-cbor2/python-cbor2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/cbor2/json -md5 0940aa8bfd1a07f06a983bb6dc78f1ca cbor2-5.2.0.tar.gz -sha256 a33aa2e5534fd74401ac95686886e655e3b2ce6383b3f958199b6e70a87c94bf cbor2-5.2.0.tar.gz -# Locally computed sha256 checksums -sha256 a6afd126d8f545a15166a22f25fadff4b9fb4978bbdd17e97d97d950b66d2fef LICENSE.txt diff --git a/buildroot-2021.05/package/python-cbor2/python-cbor2.mk b/buildroot-2021.05/package/python-cbor2/python-cbor2.mk deleted file mode 100644 index 17639ccf..00000000 --- a/buildroot-2021.05/package/python-cbor2/python-cbor2.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-cbor2 -# -################################################################################ - -PYTHON_CBOR2_VERSION = 5.2.0 -PYTHON_CBOR2_SOURCE = cbor2-$(PYTHON_CBOR2_VERSION).tar.gz -PYTHON_CBOR2_SITE = https://files.pythonhosted.org/packages/02/15/f4d7fb47753099fcd9d7f7c81920d422a3ab2e710400ec0f4a1b511b51ae -PYTHON_CBOR2_SETUP_TYPE = setuptools -PYTHON_CBOR2_LICENSE = MIT -PYTHON_CBOR2_LICENSE_FILES = LICENSE.txt -PYTHON_CBOR2_DEPENDENCIES = host-python-setuptools-scm - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cchardet/python-cchardet.hash b/buildroot-2021.05/package/python-cchardet/python-cchardet.hash deleted file mode 100644 index 960801f8..00000000 --- a/buildroot-2021.05/package/python-cchardet/python-cchardet.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/cchardet/json -md5 ee884e2c7762e56e8a0600aa34ad4fa3 cchardet-2.1.6.tar.gz -sha256 b76afb2059ad69eab576949980a17413c1e9e5a5624abf9e43542d8853f146b3 cchardet-2.1.6.tar.gz -# Locally computed sha256 checksums -sha256 107a29ccdd2d778aa2df5462f85dddfa099059abd22e064e07ec2cc9bafc37cd COPYING diff --git a/buildroot-2021.05/package/python-cchardet/python-cchardet.mk b/buildroot-2021.05/package/python-cchardet/python-cchardet.mk deleted file mode 100644 index 78daf607..00000000 --- a/buildroot-2021.05/package/python-cchardet/python-cchardet.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-cchardet -# -################################################################################ - -PYTHON_CCHARDET_VERSION = 2.1.6 -PYTHON_CCHARDET_SOURCE = cchardet-$(PYTHON_CCHARDET_VERSION).tar.gz -PYTHON_CCHARDET_SITE = https://files.pythonhosted.org/packages/41/e6/2e2184a3bc887bfb6e6b97aef5e94af9b8de43806ce14b023ddbbcb0b30d -PYTHON_CCHARDET_SETUP_TYPE = setuptools -PYTHON_CCHARDET_LICENSE = MPL-1.1 -PYTHON_CCHARDET_LICENSE_FILES = COPYING - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-certifi/python-certifi.hash b/buildroot-2021.05/package/python-certifi/python-certifi.hash deleted file mode 100644 index 76056725..00000000 --- a/buildroot-2021.05/package/python-certifi/python-certifi.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/certifi/json -md5 522f9abe26e5d603a668d812aa6accca certifi-2020.12.5.tar.gz -sha256 1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c certifi-2020.12.5.tar.gz -# Locally computed sha256 checksums -sha256 6a70a4bf6b010016d59a64b8ae4ad8dc7f5ef16f1fb453cc2ecd771c5a341131 LICENSE diff --git a/buildroot-2021.05/package/python-certifi/python-certifi.mk b/buildroot-2021.05/package/python-certifi/python-certifi.mk deleted file mode 100644 index 4e4cbfdc..00000000 --- a/buildroot-2021.05/package/python-certifi/python-certifi.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-certifi -# -################################################################################ - -PYTHON_CERTIFI_VERSION = 2020.12.5 -PYTHON_CERTIFI_SOURCE = certifi-$(PYTHON_CERTIFI_VERSION).tar.gz -PYTHON_CERTIFI_SITE = https://files.pythonhosted.org/packages/06/a9/cd1fd8ee13f73a4d4f491ee219deeeae20afefa914dfb4c130cfc9dc397a -PYTHON_CERTIFI_SETUP_TYPE = setuptools -PYTHON_CERTIFI_LICENSE = ISC (Python code), MPL-2.0 (cacert.pem) -PYTHON_CERTIFI_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cffi/python-cffi.hash b/buildroot-2021.05/package/python-cffi/python-cffi.hash deleted file mode 100644 index 37676f26..00000000 --- a/buildroot-2021.05/package/python-cffi/python-cffi.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/cffi/json -md5 3cc2f1daf62dd66eda79b4d6281cebfc cffi-1.14.2.tar.gz -sha256 ae8f34d50af2c2154035984b8b5fc5d9ed63f32fe615646ab435b05b132ca91b cffi-1.14.2.tar.gz -# Locally computed sha256 checksums -sha256 04b80f5b077bbed68808cfebadeb5e3523f2a8c9a96495c587bd96df1eac2a33 LICENSE diff --git a/buildroot-2021.05/package/python-cffi/python-cffi.mk b/buildroot-2021.05/package/python-cffi/python-cffi.mk deleted file mode 100644 index f0b5b456..00000000 --- a/buildroot-2021.05/package/python-cffi/python-cffi.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# python-cffi -# -################################################################################ - -# Please keep in sync with package/python3-cffi/python3-cffi.mk -PYTHON_CFFI_VERSION = 1.14.2 -PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz -PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/f7/09/88bbe20b76ca76be052c366fe77aa5e3cd6e5f932766e5597fecdd95b2a8 -PYTHON_CFFI_SETUP_TYPE = setuptools -PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi -PYTHON_CFFI_LICENSE = MIT -PYTHON_CFFI_LICENSE_FILES = LICENSE - -# This host package uses pkg-config to find libffi, so we have to -# provide the proper hints for pkg-config to behave properly for host -# packages. -HOST_PYTHON_CFFI_ENV = \ - PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ - PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ - PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - PKG_CONFIG_SYSROOT_DIR="/" \ - PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig" -HOST_PYTHON_CFFI_DEPENDENCIES = host-pkgconf host-python-pycparser host-libffi - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-channels-redis/Config.in b/buildroot-2021.05/package/python-channels-redis/Config.in deleted file mode 100644 index 89466701..00000000 --- a/buildroot-2021.05/package/python-channels-redis/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_PYTHON_CHANNELS_REDIS - bool "python-channels-redis" - depends on BR2_INSTALL_LIBSTDCPP # python-channels -> python-daphne - depends on BR2_PACKAGE_PYTHON3 # python-channels - select BR2_PACKAGE_PYTHON_AIOREDIS # runtime - select BR2_PACKAGE_PYTHON_ASGIREF # runtime - select BR2_PACKAGE_PYTHON_CHANNELS # runtime - select BR2_PACKAGE_PYTHON_MSGPACK # runtime - help - A Django Channels channel layer that uses Redis as its - backing store, and supports both a single-server and - sharded configurations, as well as group support. - - http://github.com/django/channels_redis/ - -comment "python-channels-redis needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/python-channels/Config.in b/buildroot-2021.05/package/python-channels/Config.in deleted file mode 100644 index 5c70f20d..00000000 --- a/buildroot-2021.05/package/python-channels/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_PYTHON_CHANNELS - bool "python-channels" - depends on BR2_INSTALL_LIBSTDCPP # python-daphne -> python-autobahn -> python-cryptography - depends on BR2_PACKAGE_PYTHON3 # python-daphne - select BR2_PACKAGE_PYTHON_ASGIREF # runtime - select BR2_PACKAGE_PYTHON_DAPHNE # runtime - select BR2_PACKAGE_PYTHON_DJANGO # runtime - help - Channels augments Django to bring WebSocket, long-poll - HTTP, task offloading and other async support to your - code, using familiar Django design patterns and a - flexible underlying framework that lets you not only - customize behaviours but also write support for your - own protocols and needs. - - http://github.com/django/channels - -comment "python-channels needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/python-cheetah/python-cheetah.hash b/buildroot-2021.05/package/python-cheetah/python-cheetah.hash deleted file mode 100644 index 286b41fd..00000000 --- a/buildroot-2021.05/package/python-cheetah/python-cheetah.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://pypi.org/pypi/Cheetah3/json -md5 8c0ac643263ffc3454fb321342284d0a Cheetah3-3.2.4.tar.gz -sha256 caabb9c22961a3413ac85cd1e5525ec9ca80daeba6555f4f60802b6c256e252b Cheetah3-3.2.4.tar.gz -# Locally computed sha256 checksums -sha256 635349ae512fafc2e60eb74a50d0a5276fa06c00b5ecb20da53546449ddc45ea LICENSE diff --git a/buildroot-2021.05/package/python-cheetah/python-cheetah.mk b/buildroot-2021.05/package/python-cheetah/python-cheetah.mk deleted file mode 100644 index 3dfd1fc5..00000000 --- a/buildroot-2021.05/package/python-cheetah/python-cheetah.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-cheetah -# -################################################################################ - -# Please keep in sync with package/python3-cheetah/python3-cheetah.mk -PYTHON_CHEETAH_VERSION = 3.2.4 -PYTHON_CHEETAH_SOURCE = Cheetah3-$(PYTHON_CHEETAH_VERSION).tar.gz -PYTHON_CHEETAH_SITE = https://files.pythonhosted.org/packages/4e/72/e6a7d92279e3551db1b68fd336fd7a6e3d2f2ec742bf486486e6150d77d2 -PYTHON_CHEETAH_LICENSE = MIT -PYTHON_CHEETAH_LICENSE_FILES = LICENSE -PYTHON_CHEETAH_SETUP_TYPE = setuptools - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-cheroot/Config.in b/buildroot-2021.05/package/python-cheroot/Config.in deleted file mode 100644 index 45dd2d8a..00000000 --- a/buildroot-2021.05/package/python-cheroot/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_CHEROOT - bool "python-cheroot" - depends on BR2_PACKAGE_PYTHON3 # python-more-itertools, python-jaraco-functools - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime - select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime - help - Cheroot is the high-performance, pure-Python - HTTP server used by CherryPy. - - https://github.com/cherrypy/cheroot diff --git a/buildroot-2021.05/package/python-cherrypy/Config.in b/buildroot-2021.05/package/python-cherrypy/Config.in deleted file mode 100644 index eb83054b..00000000 --- a/buildroot-2021.05/package/python-cherrypy/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_CHERRYPY - bool "python-cherrypy" - depends on BR2_PACKAGE_PYTHON3 # python-cheroot, python-portend - select BR2_PACKAGE_PYTHON_CHEROOT # runtime - select BR2_PACKAGE_PYTHON_JARACO_CLASSES # runtime - select BR2_PACKAGE_PYTHON_PORTEND # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON3_ZLIB # runtime - help - A minimalist web framework - - http://www.cherrypy.org diff --git a/buildroot-2021.05/package/python-coherence/0001-Fix-twisted-detection.patch b/buildroot-2021.05/package/python-coherence/0001-Fix-twisted-detection.patch deleted file mode 100644 index c0e51b9e..00000000 --- a/buildroot-2021.05/package/python-coherence/0001-Fix-twisted-detection.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 3cf8d89cbb44b5c7a0693d0b5d665e68acc3927c Mon Sep 17 00:00:00 2001 -From: Thomas Klausner -Date: Tue, 10 May 2016 00:14:33 +0200 -Subject: [PATCH] Fix twisted detection. - -Addresses https://github.com/coherence-project/Coherence/issues/25 - -Signed-off-by: Thomas Klausner -Signed-off-by: Yegor Yefremov ---- - coherence/__init__.py | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/coherence/__init__.py b/coherence/__init__.py -index 2e4e8f1..4c4d73d 100644 ---- a/coherence/__init__.py -+++ b/coherence/__init__.py -@@ -24,8 +24,6 @@ try: - if twisted_version < Version("twisted", 2, 5, 0): - raise ImportError("Twisted >= 2.5 is required. Please install it.") - -- if twisted_web_version < Version("twisted.web", 2, 5, 0): -- raise ImportError("Twisted.Web >= 2.5 is required. Please install it") - except ImportError, exc: - # log error to stderr, might be useful for debugging purpose - for arg in exc.args: --- -2.8.1 - diff --git a/buildroot-2021.05/package/python-coherence/Config.in b/buildroot-2021.05/package/python-coherence/Config.in deleted file mode 100644 index 0f50080e..00000000 --- a/buildroot-2021.05/package/python-coherence/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_COHERENCE - bool "python-coherence" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_TWISTED - select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE - select BR2_PACKAGE_PYTHON_PYASN1 - help - A DLNA/UPnP Media Server and Framework for the Digital Living. - - https://github.com/coherence-project/Coherence diff --git a/buildroot-2021.05/package/python-coherence/python-coherence.hash b/buildroot-2021.05/package/python-coherence/python-coherence.hash deleted file mode 100644 index 3c2d45b5..00000000 --- a/buildroot-2021.05/package/python-coherence/python-coherence.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 97c8b700b3fe73d48eacb259008f410d6567e5d7d1b8e96386f8cc2422135ca5 python-coherence-b7856985fd496689ca1f9024925ae737297c00d1.tar.gz -sha256 7713ed8484b4d3364c7f6f2c02aed427b06a0159b1f77aecf907d47016812e81 LICENCE diff --git a/buildroot-2021.05/package/python-coherence/python-coherence.mk b/buildroot-2021.05/package/python-coherence/python-coherence.mk deleted file mode 100644 index 24da7f70..00000000 --- a/buildroot-2021.05/package/python-coherence/python-coherence.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-coherence -# -################################################################################ - -PYTHON_COHERENCE_VERSION = b7856985fd496689ca1f9024925ae737297c00d1 -PYTHON_COHERENCE_SITE = $(call github,coherence-project,Coherence,$(PYTHON_COHERENCE_VERSION)) -PYTHON_COHERENCE_SETUP_TYPE = setuptools -PYTHON_COHERENCE_LICENSE = MIT -PYTHON_COHERENCE_LICENSE_FILES = LICENCE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-colorlog/python-colorlog.hash b/buildroot-2021.05/package/python-colorlog/python-colorlog.hash deleted file mode 100644 index 7c6fb73b..00000000 --- a/buildroot-2021.05/package/python-colorlog/python-colorlog.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/colorlog/json -md5 2111508f7c512976a34b107c17586f79 colorlog-4.8.0.tar.gz -sha256 59b53160c60902c405cdec28d38356e09d40686659048893e026ecbd589516b1 colorlog-4.8.0.tar.gz -# Locally computed sha256 checksums -sha256 915d2c0c578d5015fb561f69ce2970a0d0ed566f0b99bdb6a4ebb439e9c81b0d LICENSE diff --git a/buildroot-2021.05/package/python-colorlog/python-colorlog.mk b/buildroot-2021.05/package/python-colorlog/python-colorlog.mk deleted file mode 100644 index eb4074d4..00000000 --- a/buildroot-2021.05/package/python-colorlog/python-colorlog.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-colorlog -# -################################################################################ - -PYTHON_COLORLOG_VERSION = 4.8.0 -PYTHON_COLORLOG_SOURCE = colorlog-$(PYTHON_COLORLOG_VERSION).tar.gz -PYTHON_COLORLOG_SITE = https://files.pythonhosted.org/packages/75/32/cdfba08674d72fe7895a8ec7be8f171e8502274999cae9497e4545404873 -PYTHON_COLORLOG_SETUP_TYPE = setuptools -PYTHON_COLORLOG_LICENSE = MIT -PYTHON_COLORLOG_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-colorzero/Config.in b/buildroot-2021.05/package/python-colorzero/Config.in deleted file mode 100644 index a1deada5..00000000 --- a/buildroot-2021.05/package/python-colorzero/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_COLORZERO - bool "python-colorzero" - depends on BR2_PACKAGE_PYTHON3 - help - A color manipulation library for Python. - - https://github.com/waveform80/colorzero diff --git a/buildroot-2021.05/package/python-configobj/Config.in b/buildroot-2021.05/package/python-configobj/Config.in deleted file mode 100644 index fc57e26f..00000000 --- a/buildroot-2021.05/package/python-configobj/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_CONFIGOBJ - bool "python-configobj" - depends on BR2_PACKAGE_PYTHON - help - ConfigObj is a simple but powerful config file reader and - writer: an ini file round tripper. Its main feature is that - it is very easy to use, with a straightforward programmer's - interface and a simple syntax for config files. - - http://www.voidspace.org.uk/python/configobj.html diff --git a/buildroot-2021.05/package/python-configobj/python-configobj.hash b/buildroot-2021.05/package/python-configobj/python-configobj.hash deleted file mode 100644 index d43c4537..00000000 --- a/buildroot-2021.05/package/python-configobj/python-configobj.hash +++ /dev/null @@ -1,3 +0,0 @@ -# md5 from https://pypi.python.org/pypi/configobj/json, sha256 locally computed -md5 e472a3a1c2a67bb0ec9b5d54c13a47d6 configobj-5.0.6.tar.gz -sha256 a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902 configobj-5.0.6.tar.gz diff --git a/buildroot-2021.05/package/python-configobj/python-configobj.mk b/buildroot-2021.05/package/python-configobj/python-configobj.mk deleted file mode 100644 index 9e281d28..00000000 --- a/buildroot-2021.05/package/python-configobj/python-configobj.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-configobj -# -################################################################################ - -PYTHON_CONFIGOBJ_VERSION = 5.0.6 -PYTHON_CONFIGOBJ_SOURCE = configobj-$(PYTHON_CONFIGOBJ_VERSION).tar.gz -PYTHON_CONFIGOBJ_SITE = https://pypi.python.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab -PYTHON_CONFIGOBJ_LICENSE = BSD-3-Clause -# License only mentioned in the source -PYTHON_CONFIGOBJ_SETUP_TYPE = distutils - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-configshell-fb/Config.in b/buildroot-2021.05/package/python-configshell-fb/Config.in deleted file mode 100644 index 90a295fc..00000000 --- a/buildroot-2021.05/package/python-configshell-fb/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_CONFIGSHELL_FB - bool "python-configshell-fb" - select BR2_PACKAGE_PYTHON_PYPARSING - select BR2_PACKAGE_PYTHON3_READLINE if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_READLINE if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_SIX - select BR2_PACKAGE_PYTHON_URWID - help - configshell-fb is a Python library that provides a framework - for building simple but nice CLI-based applications. - - https://github.com/open-iscsi/configshell-fb diff --git a/buildroot-2021.05/package/python-configshell-fb/python-configshell-fb.hash b/buildroot-2021.05/package/python-configshell-fb/python-configshell-fb.hash deleted file mode 100644 index 0903e284..00000000 --- a/buildroot-2021.05/package/python-configshell-fb/python-configshell-fb.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 3685446d6ee02881930bb2fdc5fdd254938da66ce9843a5b3676c4246b058e4b python-configshell-fb-1.1.fb18.tar.gz -sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 COPYING diff --git a/buildroot-2021.05/package/python-configshell-fb/python-configshell-fb.mk b/buildroot-2021.05/package/python-configshell-fb/python-configshell-fb.mk deleted file mode 100644 index 94b6fed5..00000000 --- a/buildroot-2021.05/package/python-configshell-fb/python-configshell-fb.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-configshell-fb -# -################################################################################ - -# When upgrading the version, be sure to also upgrade python-rtslib-fb -# and targetcli-fb at the same time. -PYTHON_CONFIGSHELL_FB_VERSION = 1.1.fb18 -PYTHON_CONFIGSHELL_FB_SITE = $(call github,open-iscsi,configshell-fb,v$(PYTHON_CONFIGSHELL_FB_VERSION)) -PYTHON_CONFIGSHELL_FB_LICENSE = Apache-2.0 -PYTHON_CONFIGSHELL_FB_LICENSE_FILES = COPYING -PYTHON_CONFIGSHELL_FB_SETUP_TYPE = setuptools -PYTHON_CONFIGSHELL_FB_DEPENDENCIES = python-pyparsing python-six python-urwid - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-couchdb/Config.in b/buildroot-2021.05/package/python-couchdb/Config.in deleted file mode 100644 index 9156883b..00000000 --- a/buildroot-2021.05/package/python-couchdb/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_COUCHDB - bool "python-couchdb" - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - help - Python client library for working with CouchDB. - - https://github.com/djc/couchdb-python/ diff --git a/buildroot-2021.05/package/python-crayons/Config.in b/buildroot-2021.05/package/python-crayons/Config.in deleted file mode 100644 index 10f3ece0..00000000 --- a/buildroot-2021.05/package/python-crayons/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_CRAYONS - bool "python-crayons" - depends on BR2_PACKAGE_PYTHON3 - help - This module is really simple, it gives you - colored strings for terminal usage. - - https://pypi.org/project/crayons diff --git a/buildroot-2021.05/package/python-crontab/python-crontab.hash b/buildroot-2021.05/package/python-crontab/python-crontab.hash deleted file mode 100644 index 2247cf3d..00000000 --- a/buildroot-2021.05/package/python-crontab/python-crontab.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/python-crontab/json -md5 7731a2253e853abfb6eceb8045368f22 python-crontab-2.5.1.tar.gz -sha256 4bbe7e720753a132ca4ca9d4094915f40e9d9dc8a807a4564007651018ce8c31 python-crontab-2.5.1.tar.gz -# Locally computed sha256 checksums -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING diff --git a/buildroot-2021.05/package/python-crontab/python-crontab.mk b/buildroot-2021.05/package/python-crontab/python-crontab.mk deleted file mode 100644 index ddb1067d..00000000 --- a/buildroot-2021.05/package/python-crontab/python-crontab.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-crontab -# -################################################################################ - -PYTHON_CRONTAB_VERSION = 2.5.1 -PYTHON_CRONTAB_SITE = https://files.pythonhosted.org/packages/1b/7e/fb78b96de58a49b8ef807c321870ef4de3de5928fd71a40a400aed714310 -PYTHON_CRONTAB_SETUP_TYPE = setuptools -PYTHON_CRONTAB_LICENSE = LGPL-3.0+ -PYTHON_CRONTAB_LICENSE_FILES = COPYING - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-crossbar/0002-Remove-idna-requirement.patch b/buildroot-2021.05/package/python-crossbar/0002-Remove-idna-requirement.patch deleted file mode 100644 index 4948b91b..00000000 --- a/buildroot-2021.05/package/python-crossbar/0002-Remove-idna-requirement.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 9164d21cc66c1f78de37c9383528c5d528cbdbeb Mon Sep 17 00:00:00 2001 -From: Asaf Kahlon -Date: Wed, 26 Sep 2018 15:33:43 +0300 -Subject: [PATCH] Remove idna requirement. - -The latest version of idna is 2.7, but it seems like idna is not a direct -dependency anymore (a short "git grep" shows it's only written in requirement -and readme files). - -Signed-off-by: Asaf Kahlon ---- - requirements-min.txt | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/requirements-min.txt b/requirements-min.txt -index 92fb0f8f..13cdac87 100644 ---- a/requirements-min.txt -+++ b/requirements-min.txt -@@ -6,7 +6,6 @@ click>=6.7 - constantly>=15.1.0 - cryptography>=1.9 - h2>=3.0,<4.0 --idna<2.6,>=2.5 - incremental>=17.5.0 - jinja2>=2.9.6 - lmdb>=0.92 --- -2.17.1 - diff --git a/buildroot-2021.05/package/python-crossbar/Config.in b/buildroot-2021.05/package/python-crossbar/Config.in deleted file mode 100644 index 50b70b8e..00000000 --- a/buildroot-2021.05/package/python-crossbar/Config.in +++ /dev/null @@ -1,54 +0,0 @@ -config BR2_PACKAGE_PYTHON_CROSSBAR - bool "python-crossbar" - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography - depends on BR2_PACKAGE_PYTHON3 - # All the following dependencies are runtime dependencies - select BR2_PACKAGE_PYTHON_ATTRS - select BR2_PACKAGE_PYTHON_AUTOBAHN - select BR2_PACKAGE_PYTHON_BITSTRING - select BR2_PACKAGE_PYTHON_CBOR - select BR2_PACKAGE_PYTHON_CBOR2 - select BR2_PACKAGE_PYTHON_CLICK - select BR2_PACKAGE_PYTHON_CONSTANTLY - select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY - select BR2_PACKAGE_PYTHON_H2 - select BR2_PACKAGE_PYTHON_IDNA - select BR2_PACKAGE_PYTHON_INCREMENTAL - select BR2_PACKAGE_PYTHON_JINJA2 - select BR2_PACKAGE_PYTHON_LMDB - select BR2_PACKAGE_PYTHON_MISTUNE - select BR2_PACKAGE_PYTHON_NETADDR - select BR2_PACKAGE_PYTHON_PASSLIB - select BR2_PACKAGE_PYTHON_PRIORITY - select BR2_PACKAGE_PYTHON_PSUTIL - select BR2_PACKAGE_PYTHON_PYASN1 - select BR2_PACKAGE_PYTHON_PYASN1_MODULES - select BR2_PACKAGE_PYTHON_PYGMENTS - select BR2_PACKAGE_PYTHON_PYNACL - select BR2_PACKAGE_PYTHON_PYOPENSSL - select BR2_PACKAGE_PYTHON_PYQRCODE - select BR2_PACKAGE_PYTHON_PYTRIE - select BR2_PACKAGE_PYTHON_PYYAML - select BR2_PACKAGE_PYTHON_SDNOTIFY - select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY - select BR2_PACKAGE_PYTHON_SETPROCTITLE - select BR2_PACKAGE_PYTHON_SETUPTOOLS - select BR2_PACKAGE_PYTHON_TREQ - select BR2_PACKAGE_PYTHON_TWISTED - select BR2_PACKAGE_PYTHON_TXAIO - select BR2_PACKAGE_PYTHON_TXTORCON - select BR2_PACKAGE_PYTHON_U_MSGPACK - select BR2_PACKAGE_PYTHON_UBJSON - select BR2_PACKAGE_PYTHON_WATCHDOG - select BR2_PACKAGE_PYTHON_WERKZEUG - select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE - help - Crossbar.io is an open-source WAMP application router that - allows to build advanced applications from loosely-coupled - components that can talk in real-time with each other. - - https://pypi.python.org/pypi/crossbar - -comment "python-crossbar needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/python-crossbar/python-crossbar.hash b/buildroot-2021.05/package/python-crossbar/python-crossbar.hash deleted file mode 100644 index 486b4d56..00000000 --- a/buildroot-2021.05/package/python-crossbar/python-crossbar.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/crossbar/json -md5 f1756c5a7eac95aa0ff3e307cdd960df crossbar-20.4.2.tar.gz -sha256 67a14864850b562c2b5586eca37f39b2eff3d650ba955bace894e6b5d0633dbb crossbar-20.4.2.tar.gz -# Locally computed -sha256 57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6 crossbar/LICENSE diff --git a/buildroot-2021.05/package/python-crossbar/python-crossbar.mk b/buildroot-2021.05/package/python-crossbar/python-crossbar.mk deleted file mode 100644 index 99ddc67d..00000000 --- a/buildroot-2021.05/package/python-crossbar/python-crossbar.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-crossbar -# -################################################################################ - -PYTHON_CROSSBAR_VERSION = 20.4.2 -PYTHON_CROSSBAR_SOURCE = crossbar-$(PYTHON_CROSSBAR_VERSION).tar.gz -PYTHON_CROSSBAR_SITE = https://files.pythonhosted.org/packages/3f/a2/d8aff4b366b565669236e6bbb09d9f1bbe9162eb542822e89210141dd738 -PYTHON_CROSSBAR_LICENSE = AGPL-3.0 -PYTHON_CROSSBAR_LICENSE_FILES = crossbar/LICENSE -PYTHON_CROSSBAR_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cryptography/Config.in b/buildroot-2021.05/package/python-cryptography/Config.in deleted file mode 100644 index d1c2917e..00000000 --- a/buildroot-2021.05/package/python-cryptography/Config.in +++ /dev/null @@ -1,24 +0,0 @@ -config BR2_PACKAGE_PYTHON_CRYPTOGRAPHY - bool "python-cryptography" - depends on BR2_INSTALL_LIBSTDCPP # python-pyasn - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PYTHON_CFFI # runtime - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_IDNA # runtime - select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_ASN1CRYPTO # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - help - cryptography is a package designed to expose cryptographic - primitives and recipes to Python developers. - - https://cryptography.io - -comment "python-cryptography needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-cryptography/python-cryptography.hash b/buildroot-2021.05/package/python-cryptography/python-cryptography.hash deleted file mode 100644 index c6768ff2..00000000 --- a/buildroot-2021.05/package/python-cryptography/python-cryptography.hash +++ /dev/null @@ -1,7 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/cryptography/json -md5 163608a7cb838c6b39360e1e64377d54 cryptography-3.0.tar.gz -sha256 8e924dbc025206e97756e8903039662aa58aa9ba357d8e1d8fc29e3092322053 cryptography-3.0.tar.gz -# Locally computed sha256 checksums -sha256 35452b557fab0efb1e80d7edb9c4e5118b9384082adaa051dde342102cb9de8d LICENSE -sha256 aac73b3148f6d1d7111dbca32099f68d26c644c6813ae1e4f05f6579aa2663fe LICENSE.APACHE -sha256 602c4c7482de6479dd2e9793cda275e5e63d773dacd1eca689232ab7008fb4fb LICENSE.BSD diff --git a/buildroot-2021.05/package/python-cryptography/python-cryptography.mk b/buildroot-2021.05/package/python-cryptography/python-cryptography.mk deleted file mode 100644 index eff0fa14..00000000 --- a/buildroot-2021.05/package/python-cryptography/python-cryptography.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# python-cryptography -# -################################################################################ - -# Please keep in sync with package/python3-cryptography/python3-cryptography.mk -PYTHON_CRYPTOGRAPHY_VERSION = 3.0 -PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz -PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/bf/ac/552fc8729d90393845cc3a2062facf4a89dcbe206fa78771d60ddaae7554 -PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools -PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause -PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD -PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project -PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography -PYTHON_CRYPTOGRAPHY_DEPENDENCIES = host-python-cffi openssl - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cssutils/Config.in b/buildroot-2021.05/package/python-cssutils/Config.in deleted file mode 100644 index 74de742c..00000000 --- a/buildroot-2021.05/package/python-cssutils/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_CSSUTILS - bool "python-cssutils" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - help - A CSS Cascading Style Sheets library for Python. - - http://cthedot.de/cssutils/ diff --git a/buildroot-2021.05/package/python-cssutils/python-cssutils.hash b/buildroot-2021.05/package/python-cssutils/python-cssutils.hash deleted file mode 100644 index 393daffb..00000000 --- a/buildroot-2021.05/package/python-cssutils/python-cssutils.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/cssutils/json -md5 dc66d96c2d78f1687f59ac412fe9d318 cssutils-1.0.2.tar.gz -sha256 a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf cssutils-1.0.2.tar.gz -# Locally computed sha256 checksums -sha256 03c570a068086ee577dcd795519ea93462b2ed2fcb6dcc4dfce56a71a2fd6e5a COPYING.LESSER diff --git a/buildroot-2021.05/package/python-cssutils/python-cssutils.mk b/buildroot-2021.05/package/python-cssutils/python-cssutils.mk deleted file mode 100644 index 513c3a87..00000000 --- a/buildroot-2021.05/package/python-cssutils/python-cssutils.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-cssutils -# -################################################################################ - -PYTHON_CSSUTILS_VERSION = 1.0.2 -PYTHON_CSSUTILS_SOURCE = cssutils-$(PYTHON_CSSUTILS_VERSION).tar.gz -PYTHON_CSSUTILS_SITE = https://files.pythonhosted.org/packages/5c/0b/c5f29d29c037e97043770b5e7c740b6252993e4b57f029b3cd03c78ddfec -PYTHON_CSSUTILS_LICENSE = LGPL-3.0+ -PYTHON_CSSUTILS_LICENSE_FILES = COPYING.LESSER -PYTHON_CSSUTILS_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cycler/python-cycler.hash b/buildroot-2021.05/package/python-cycler/python-cycler.hash deleted file mode 100644 index 8255458b..00000000 --- a/buildroot-2021.05/package/python-cycler/python-cycler.hash +++ /dev/null @@ -1,4 +0,0 @@ -# sha256 from https://pypi.org/project/cyclic/#files -sha256 cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8 cycler-0.10.0.tar.gz -# Locally computed sha256 checksums -sha256 f1218143d766da3fea66f13396b7f15df46a83303f29bf96ba6e98eb4d42f408 LICENSE diff --git a/buildroot-2021.05/package/python-cycler/python-cycler.mk b/buildroot-2021.05/package/python-cycler/python-cycler.mk deleted file mode 100644 index 4f1f4019..00000000 --- a/buildroot-2021.05/package/python-cycler/python-cycler.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-cycler -# -################################################################################ - -PYTHON_CYCLER_VERSION = 0.10.0 -PYTHON_CYCLER_SOURCE = cycler-$(PYTHON_CYCLER_VERSION).tar.gz -PYTHON_CYCLER_SITE = https://files.pythonhosted.org/packages/c2/4b/137dea450d6e1e3d474e1d873cd1d4f7d3beed7e0dc973b06e8e10d32488 -PYTHON_CYCLER_LICENSE = BSD -PYTHON_CYCLER_LICENSE_FILES = LICENSE -PYTHON_CYCLER_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cython/python-cython.hash b/buildroot-2021.05/package/python-cython/python-cython.hash deleted file mode 100644 index 168d1688..00000000 --- a/buildroot-2021.05/package/python-cython/python-cython.hash +++ /dev/null @@ -1,6 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/cython/json -md5 12c5e45af71dcc6dff28cdcbcbef6f39 Cython-0.29.21.tar.gz -sha256 e57acb89bd55943c8d8bf813763d20b9099cc7165c0f16b707631a7654be9cad Cython-0.29.21.tar.gz -# Locally computed sha256 checksums -sha256 a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9 LICENSE.txt -sha256 e1eb1c49a8508e8173dac30157e4a6439a44ad8846194746c424fbc3fc2b95d7 COPYING.txt diff --git a/buildroot-2021.05/package/python-cython/python-cython.mk b/buildroot-2021.05/package/python-cython/python-cython.mk deleted file mode 100644 index c8dcf382..00000000 --- a/buildroot-2021.05/package/python-cython/python-cython.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-cython -# -################################################################################ - -# Please keep in sync with package/python3-cython/python3-cython.mk -PYTHON_CYTHON_VERSION = 0.29.21 -PYTHON_CYTHON_SOURCE = Cython-$(PYTHON_CYTHON_VERSION).tar.gz -PYTHON_CYTHON_SITE = https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160 -PYTHON_CYTHON_SETUP_TYPE = setuptools -PYTHON_CYTHON_LICENSE = Apache-2.0 -PYTHON_CYTHON_LICENSE_FILES = COPYING.txt LICENSE.txt - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-daphne/Config.in b/buildroot-2021.05/package/python-daphne/Config.in deleted file mode 100644 index 601b2e1d..00000000 --- a/buildroot-2021.05/package/python-daphne/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_PYTHON_DAPHNE - bool "python-daphne" - depends on BR2_INSTALL_LIBSTDCPP # python-autobahn -> python-cryptography - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_ASGIREF # runtime - select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime - select BR2_PACKAGE_PYTHON_TWISTED # runtime - select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime - help - Daphne is a HTTP, HTTP2 and WebSocket protocol server for - ASGI and ASGI-HTTP, developed to power Django Channels. - It supports automatic negotiation of protocols; there's no - need for URL prefixing to determine WebSocket endpoints - versus HTTP endpoints. - - https://github.com/django/daphne - -comment "python-daphne needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/python-dataproperty/Config.in b/buildroot-2021.05/package/python-dataproperty/Config.in deleted file mode 100644 index 2c5da40f..00000000 --- a/buildroot-2021.05/package/python-dataproperty/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_DATAPROPERTY - bool "python-dataproperty" - depends on BR2_PACKAGE_PYTHON3 # python-mbstrdecoder - select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_TYPEPY # runtime - help - Python library for extract property from data. - - https://github.com/thombashi/DataProperty diff --git a/buildroot-2021.05/package/python-dataproperty/python-dataproperty.hash b/buildroot-2021.05/package/python-dataproperty/python-dataproperty.hash deleted file mode 100644 index bd23c461..00000000 --- a/buildroot-2021.05/package/python-dataproperty/python-dataproperty.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/dataproperty/json -md5 14a3e13d611d063df43304c3adeb6d12 DataProperty-0.48.1.tar.gz -sha256 96bd47c14b4aaba4780d77fa4d2c876cf35eb6848ab1df1a6338447b6c2c10e4 DataProperty-0.48.1.tar.gz -# Locally computed sha256 checksums -sha256 a93d75bcb0774e2990106380cadad6dcb2de193c55d435ffc56ba345a08b1dc2 LICENSE diff --git a/buildroot-2021.05/package/python-dataproperty/python-dataproperty.mk b/buildroot-2021.05/package/python-dataproperty/python-dataproperty.mk deleted file mode 100644 index 33e07bc6..00000000 --- a/buildroot-2021.05/package/python-dataproperty/python-dataproperty.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-dataproperty -# -################################################################################ - -PYTHON_DATAPROPERTY_VERSION = 0.48.1 -PYTHON_DATAPROPERTY_SOURCE = DataProperty-$(PYTHON_DATAPROPERTY_VERSION).tar.gz -PYTHON_DATAPROPERTY_SITE = https://files.pythonhosted.org/packages/2e/b5/d644919656adf4e7ae94b5479a3fec7497060c89292c335b27e59d66706f -PYTHON_DATAPROPERTY_SETUP_TYPE = setuptools -PYTHON_DATAPROPERTY_LICENSE = MIT -PYTHON_DATAPROPERTY_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-dateutil/python-dateutil.hash b/buildroot-2021.05/package/python-dateutil/python-dateutil.hash deleted file mode 100644 index f3dc69f2..00000000 --- a/buildroot-2021.05/package/python-dateutil/python-dateutil.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/python-dateutil/json -md5 f2a1d4b680b297b367a974664ca3a4f6 python-dateutil-2.8.1.tar.gz -sha256 73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c python-dateutil-2.8.1.tar.gz -# Locally computed sha256 checksums -sha256 ba00f51a0d92823b5a1cde27d8b5b9d2321e67ed8da9bc163eff96d5e17e577e LICENSE diff --git a/buildroot-2021.05/package/python-dateutil/python-dateutil.mk b/buildroot-2021.05/package/python-dateutil/python-dateutil.mk deleted file mode 100644 index 759261d2..00000000 --- a/buildroot-2021.05/package/python-dateutil/python-dateutil.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-dateutil -# -################################################################################ - -PYTHON_DATEUTIL_VERSION = 2.8.1 -PYTHON_DATEUTIL_SITE = https://files.pythonhosted.org/packages/be/ed/5bbc91f03fa4c839c4c7360375da77f9659af5f7086b7a7bdda65771c8e0 -PYTHON_DATEUTIL_SETUP_TYPE = setuptools -PYTHON_DATEUTIL_LICENSE = BSD-3-Clause -PYTHON_DATEUTIL_LICENSE_FILES = LICENSE -PYTHON_DATEUTIL_DEPENDENCIES = host-python-setuptools-scm - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-decorator/python-decorator.hash b/buildroot-2021.05/package/python-decorator/python-decorator.hash deleted file mode 100644 index 77b48d84..00000000 --- a/buildroot-2021.05/package/python-decorator/python-decorator.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/decorator/json -md5 933981f288c4230816b5beee8d40e6ea decorator-4.4.1.tar.gz -sha256 54c38050039232e1db4ad7375cfce6748d7b41c29e95a081c8a6d2c30364a2ce decorator-4.4.1.tar.gz -# Locally computed sha256 checksums -sha256 fd11660cabf0532082c45706862fafc294907ec7f8e217818240a4999806782e LICENSE.txt diff --git a/buildroot-2021.05/package/python-decorator/python-decorator.mk b/buildroot-2021.05/package/python-decorator/python-decorator.mk deleted file mode 100644 index 7c4b353a..00000000 --- a/buildroot-2021.05/package/python-decorator/python-decorator.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-decorator -# -################################################################################ - -# Please keep in sync with package/python3-decorator/python3-decorator.mk -PYTHON_DECORATOR_VERSION = 4.4.1 -PYTHON_DECORATOR_SITE = https://files.pythonhosted.org/packages/dc/c3/9d378af09f5737cfd524b844cd2fbb0d2263a35c11d712043daab290144d -PYTHON_DECORATOR_SOURCE = decorator-$(PYTHON_DECORATOR_VERSION).tar.gz -PYTHON_DECORATOR_LICENSE = BSD-2-Clause -PYTHON_DECORATOR_LICENSE_FILES = LICENSE.txt -PYTHON_DECORATOR_CPE_ID_VENDOR = python -PYTHON_DECORATOR_CPE_ID_PRODUCT = decorator -PYTHON_DECORATOR_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-defusedxml/python-defusedxml.hash b/buildroot-2021.05/package/python-defusedxml/python-defusedxml.hash deleted file mode 100644 index c782a97b..00000000 --- a/buildroot-2021.05/package/python-defusedxml/python-defusedxml.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/defusedxml/json -md5 a59741f675c4cba649de40a99f732897 defusedxml-0.6.0.tar.gz -sha256 f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5 defusedxml-0.6.0.tar.gz -# Locally computed sha256 checksums -sha256 b80ce9da8c42a1f91079627fbbe2bf27210ae108a0ffe5f077d5b08e076c24c8 LICENSE diff --git a/buildroot-2021.05/package/python-defusedxml/python-defusedxml.mk b/buildroot-2021.05/package/python-defusedxml/python-defusedxml.mk deleted file mode 100644 index 6d2a9aff..00000000 --- a/buildroot-2021.05/package/python-defusedxml/python-defusedxml.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-defusedxml -# -################################################################################ - -PYTHON_DEFUSEDXML_VERSION = 0.6.0 -PYTHON_DEFUSEDXML_SOURCE = defusedxml-$(PYTHON_DEFUSEDXML_VERSION).tar.gz -PYTHON_DEFUSEDXML_SITE = https://files.pythonhosted.org/packages/a4/5f/f8aa58ca0cf01cbcee728abc9d88bfeb74e95e6cb4334cfd5bed5673ea77 -PYTHON_DEFUSEDXML_SETUP_TYPE = setuptools -PYTHON_DEFUSEDXML_LICENSE = Python-2.0 -PYTHON_DEFUSEDXML_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-dialog/Config.in b/buildroot-2021.05/package/python-dialog/Config.in deleted file mode 100644 index c1fdb237..00000000 --- a/buildroot-2021.05/package/python-dialog/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_DIALOG - bool "python-dialog" - depends on BR2_PACKAGE_PYTHON - depends on BR2_USE_MMU # dialog - select BR2_PACKAGE_DIALOG - help - A Python interface to the UNIX dialog utility and - mostly-compatible programs. - - http://pythondialog.sourceforge.net/ diff --git a/buildroot-2021.05/package/python-dialog/python-dialog.hash b/buildroot-2021.05/package/python-dialog/python-dialog.hash deleted file mode 100644 index 8f84e198..00000000 --- a/buildroot-2021.05/package/python-dialog/python-dialog.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed after verifying -# https://sourceforge.net/projects/pythondialog/files/pythondialog/3.4.0/python3-pythondialog-3.4.0.tar.bz2.asc -# with key 9B6F19FB52965E6C21FE76142A205688F8489BDD -sha256 8978d355c8db6728eeb9e23b39449b14597f1c76cb06dc72462642ca7cde46a0 python2-pythondialog-3.4.0.tar.bz2 -sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING diff --git a/buildroot-2021.05/package/python-dialog/python-dialog.mk b/buildroot-2021.05/package/python-dialog/python-dialog.mk deleted file mode 100644 index d5d4a4ce..00000000 --- a/buildroot-2021.05/package/python-dialog/python-dialog.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-dialog -# -################################################################################ - -PYTHON_DIALOG_VERSION = 3.4.0 -PYTHON_DIALOG_SOURCE = python2-pythondialog-$(PYTHON_DIALOG_VERSION).tar.bz2 -PYTHON_DIALOG_SITE = http://downloads.sourceforge.net/project/pythondialog/pythondialog/$(PYTHON_DIALOG_VERSION) -PYTHON_DIALOG_LICENSE = LGPL-2.1+ -PYTHON_DIALOG_LICENSE_FILES = COPYING -PYTHON_DIALOG_SETUP_TYPE = distutils -PYTHON_DIALOG_DEPENDENCIES = dialog - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-dialog3/Config.in b/buildroot-2021.05/package/python-dialog3/Config.in deleted file mode 100644 index cd076085..00000000 --- a/buildroot-2021.05/package/python-dialog3/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_DIALOG3 - bool "python-dialog3" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_USE_MMU # dialog - select BR2_PACKAGE_DIALOG - help - A Python 3 only interface to the UNIX dialog utility and - mostly-compatible programs. - - http://pythondialog.sourceforge.net/ diff --git a/buildroot-2021.05/package/python-dicttoxml/Config.in b/buildroot-2021.05/package/python-dicttoxml/Config.in deleted file mode 100644 index e38a5f79..00000000 --- a/buildroot-2021.05/package/python-dicttoxml/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_DICTTOXML - bool "python-dicttoxml" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 - help - Converts a Python dictionary or other native data type into - a valid XML string. - - https://github.com/quandyfactory/dicttoxml diff --git a/buildroot-2021.05/package/python-django-enumfields/Config.in b/buildroot-2021.05/package/python-django-enumfields/Config.in deleted file mode 100644 index 58dea365..00000000 --- a/buildroot-2021.05/package/python-django-enumfields/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_DJANGO_ENUMFIELDS - bool "python-django-enumfields" - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime - help - Real Python Enums for Django. - - https://github.com/hzdg/django-enumfields diff --git a/buildroot-2021.05/package/python-django-enumfields/python-django-enumfields.hash b/buildroot-2021.05/package/python-django-enumfields/python-django-enumfields.hash deleted file mode 100644 index 84eb028e..00000000 --- a/buildroot-2021.05/package/python-django-enumfields/python-django-enumfields.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/django-enumfields/json -md5 c9725a2c31ca2949d111815742335279 django-enumfields-1.0.0.tar.gz -sha256 5b0e2dd5973337717ca6bd5a7d9e167e6ae01203c160d4761b88837c4678f219 django-enumfields-1.0.0.tar.gz -# Locally computed sha256 checksums -sha256 5548de8c163dc57bd0a4f5772f1509f2c04f1390251c98ebf060c9d52a223f57 LICENSE diff --git a/buildroot-2021.05/package/python-django-enumfields/python-django-enumfields.mk b/buildroot-2021.05/package/python-django-enumfields/python-django-enumfields.mk deleted file mode 100644 index 0121bd11..00000000 --- a/buildroot-2021.05/package/python-django-enumfields/python-django-enumfields.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-django-enumfields -# -################################################################################ - -PYTHON_DJANGO_ENUMFIELDS_VERSION = 1.0.0 -PYTHON_DJANGO_ENUMFIELDS_SOURCE = django-enumfields-$(PYTHON_DJANGO_ENUMFIELDS_VERSION).tar.gz -PYTHON_DJANGO_ENUMFIELDS_SITE = https://files.pythonhosted.org/packages/b7/56/3f4e8d8ef6d5577a1b75b3cfae6dff819afd030e3a519a326ec7a7a0b74f -PYTHON_DJANGO_ENUMFIELDS_SETUP_TYPE = setuptools -PYTHON_DJANGO_ENUMFIELDS_LICENSE = MIT -PYTHON_DJANGO_ENUMFIELDS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-django/Config.in b/buildroot-2021.05/package/python-django/Config.in deleted file mode 100644 index 6748d42e..00000000 --- a/buildroot-2021.05/package/python-django/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_PYTHON_DJANGO - bool "python-django" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON3_UNICODEDATA - select BR2_PACKAGE_PYTHON3_PYEXPAT - select BR2_PACKAGE_PYTHON_ASGIREF # runtime - select BR2_PACKAGE_PYTHON_PYTZ # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SQLPARSE # runtime - - help - Django is a high-level Python Web framework that encourages - rapid development and clean, pragmatic design. It takes your - Web applications from concept to launch in a matter of - hours. Django takes care of user authentication, content - administration, site maps, RSS feeds, user comments and many - more tasks. Django takes security seriously and helps - developers avoid many common security mistakes - - https://www.djangoproject.com/ diff --git a/buildroot-2021.05/package/python-django/python-django.hash b/buildroot-2021.05/package/python-django/python-django.hash deleted file mode 100644 index 1c7d7b88..00000000 --- a/buildroot-2021.05/package/python-django/python-django.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/django/json -md5 43784c090a8805605e3d0b768cd21cb2 Django-3.2.2.tar.gz -sha256 0a1d195ad65c52bf275b8277b3d49680bd1137a5f55039a806f25f6b9752ce3d Django-3.2.2.tar.gz -# Locally computed sha256 checksums -sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE diff --git a/buildroot-2021.05/package/python-django/python-django.mk b/buildroot-2021.05/package/python-django/python-django.mk deleted file mode 100644 index 0e36a530..00000000 --- a/buildroot-2021.05/package/python-django/python-django.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-django -# -################################################################################ - -PYTHON_DJANGO_VERSION = 3.2.2 -PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz -# The official Django site has an unpractical URL -PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/da/24/e2e6e534464f8e0bd010401f06d2cfc773141776d2952d6418d01c97f12c -PYTHON_DJANGO_LICENSE = BSD-3-Clause -PYTHON_DJANGO_LICENSE_FILES = LICENSE -PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject -PYTHON_DJANGO_CPE_ID_PRODUCT = django -PYTHON_DJANGO_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-dnspython/python-dnspython.hash b/buildroot-2021.05/package/python-dnspython/python-dnspython.hash deleted file mode 100644 index af09d51c..00000000 --- a/buildroot-2021.05/package/python-dnspython/python-dnspython.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/dnspython/json -md5 bc9ca3b3a82164667d5730ec6d5248a2 dnspython-1.16.0.zip -sha256 36c5e8e38d4369a08b6780b7f27d790a292b2b08eea01607865bf0936c558e01 dnspython-1.16.0.zip -# Locally computed sha256 checksums -sha256 c3ea3ff5654b329c19d3bc5f7481af623c3dded4a6145585499f843ad3d741cd LICENSE diff --git a/buildroot-2021.05/package/python-dnspython/python-dnspython.mk b/buildroot-2021.05/package/python-dnspython/python-dnspython.mk deleted file mode 100644 index ed116872..00000000 --- a/buildroot-2021.05/package/python-dnspython/python-dnspython.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# python-dnspython -# -################################################################################ - -PYTHON_DNSPYTHON_VERSION = 1.16.0 -PYTHON_DNSPYTHON_SOURCE = dnspython-$(PYTHON_DNSPYTHON_VERSION).zip -PYTHON_DNSPYTHON_SITE = https://files.pythonhosted.org/packages/ec/c5/14bcd63cb6d06092a004793399ec395405edf97c2301dfdc146dfbd5beed -PYTHON_DNSPYTHON_LICENSE = ISC -PYTHON_DNSPYTHON_LICENSE_FILES = LICENSE -PYTHON_DNSPYTHON_SETUP_TYPE = setuptools - -define PYTHON_DNSPYTHON_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(PYTHON_DNSPYTHON_DL_DIR)/$(PYTHON_DNSPYTHON_SOURCE) - mv $(@D)/dnspython-$(PYTHON_DNSPYTHON_VERSION)/* $(@D) - $(RM) -r $(@D)/dnspython-$(PYTHON_DNSPYTHON_VERSION) -endef - -define HOST_PYTHON_DNSPYTHON_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(HOST_PYTHON_DNSPYTHON_DL_DIR)/$(HOST_PYTHON_DNSPYTHON_SOURCE) - mv $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION)/* $(@D) - $(RM) -r $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION) -endef - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-docker/Config.in b/buildroot-2021.05/package/python-docker/Config.in deleted file mode 100644 index df5e4887..00000000 --- a/buildroot-2021.05/package/python-docker/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_PYTHON_DOCKER - bool "python-docker" - # docker-engine may be running on another host, so no dependency - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME \ - if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime - help - A Python library for the Docker Engine API. - - https://github.com/docker/docker-py diff --git a/buildroot-2021.05/package/python-docutils/0001-Update-setup.py.patch b/buildroot-2021.05/package/python-docutils/0001-Update-setup.py.patch deleted file mode 100644 index 3fb34a97..00000000 --- a/buildroot-2021.05/package/python-docutils/0001-Update-setup.py.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 583e59ccf72a02c2a6f0399f29f622c7f2f4a932 Mon Sep 17 00:00:00 2001 -From: milde -Date: Sun, 1 Sep 2019 19:39:36 +0000 -Subject: [PATCH] Update setup.py - -Python 3.4 no longer supported, -more languages supported (and Lithuanian accepted by PyPi). - -git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8383 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 - -[Asaf: adjust upstream patch to 0.15.2] -Signed-off-by: Asaf Kahlon ---- - setup.py | 14 +++++++++++++- - 1 file changed, 13 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index f801ea2..5c1ebfd 100755 ---- a/setup.py -+++ b/setup.py -@@ -7,6 +7,10 @@ import os - import glob - try: - import setuptools -+except ImportError: -+ print('Warning: Could not load package `setuptools`.') -+ print('Actions requiring `setuptools` instead of `distutils` will fail') -+try: - from distutils.core import setup, Command - from distutils.command.build import build - from distutils.command.build_py import build_py -@@ -123,7 +127,7 @@ what-you-see-is-what-you-get plaintext markup syntax.""", # wrap at col 60 - 'maintainer_email': 'docutils-develop@lists.sourceforge.net', - 'license': 'public domain, Python, 2-Clause BSD, GPL 3 (see COPYING.txt)', - 'platforms': 'OS-independent', -- 'python_requires': '>=2.6, !=3.0.*, !=3.1.*, !=3.2.*', -+ 'python_requires': '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', - 'package_dir': {'docutils': 'docutils', - 'docutils.tools': 'tools'}, - 'packages': ['docutils', -@@ -213,14 +219,20 @@ classifiers = [ - 'Natural Language :: Chinese (Simplified)', - 'Natural Language :: Chinese (Traditional)', - 'Natural Language :: Czech', -+ 'Natural Language :: Danish', - 'Natural Language :: Dutch', - 'Natural Language :: Esperanto', - 'Natural Language :: Finnish', - 'Natural Language :: French', - 'Natural Language :: Galician', - 'Natural Language :: German', -+ 'Natural Language :: Hebrew', - 'Natural Language :: Italian', - 'Natural Language :: Japanese', -+ 'Natural Language :: Korean', -+ 'Natural Language :: Latvian', -+ 'Natural Language :: Lithuanian', -+ 'Natural Language :: Persian', - 'Natural Language :: Polish', - 'Natural Language :: Portuguese (Brazilian)', - 'Natural Language :: Russian', --- -2.20.1 -k diff --git a/buildroot-2021.05/package/python-docutils/python-docutils.hash b/buildroot-2021.05/package/python-docutils/python-docutils.hash deleted file mode 100644 index ccccca10..00000000 --- a/buildroot-2021.05/package/python-docutils/python-docutils.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5 from https://pypi.python.org/pypi/docutils/json, sha256 locally computed -md5 e26a308d8000b0bed7416a633217c676 docutils-0.15.2.tar.gz -sha256 a2aeea129088da402665e92e0b25b04b073c04b2dce4ab65caaa38b7ce2e1a99 docutils-0.15.2.tar.gz -sha256 efa0c85aa99ea5b4781240031b0d02af54d7b5554c87ad2b2bea9ba490f6663f COPYING.txt diff --git a/buildroot-2021.05/package/python-docutils/python-docutils.mk b/buildroot-2021.05/package/python-docutils/python-docutils.mk deleted file mode 100644 index 9a42d3e5..00000000 --- a/buildroot-2021.05/package/python-docutils/python-docutils.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-docutils -# -################################################################################ - -PYTHON_DOCUTILS_VERSION = 0.15.2 -PYTHON_DOCUTILS_SOURCE = docutils-$(PYTHON_DOCUTILS_VERSION).tar.gz -PYTHON_DOCUTILS_SITE = https://files.pythonhosted.org/packages/93/22/953e071b589b0b1fee420ab06a0d15e5aa0c7470eb9966d60393ce58ad61 -PYTHON_DOCUTILS_LICENSE = Public Domain, BSD-2-Clause, GPL-3.0 (emacs mode), other -PYTHON_DOCUTILS_LICENSE_FILES = COPYING.txt -PYTHON_DOCUTILS_SETUP_TYPE = distutils - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-dominate/python-dominate.hash b/buildroot-2021.05/package/python-dominate/python-dominate.hash deleted file mode 100644 index 168e56e7..00000000 --- a/buildroot-2021.05/package/python-dominate/python-dominate.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/dominate/json -md5 27d3aa7e0d67902c505e248e705e5e2e dominate-2.4.0.tar.gz -sha256 a92474b4312bd8b4c1789792f3ec8c571cd8afa8e7502a2b1c64dd48cd67e59c dominate-2.4.0.tar.gz -# Locally computed sha256 checksums -sha256 9ccf26cfe845e0eb8bb58053e47366e7ab6b697ae010f7650978d4b71b7d1fc1 LICENSE.txt diff --git a/buildroot-2021.05/package/python-dominate/python-dominate.mk b/buildroot-2021.05/package/python-dominate/python-dominate.mk deleted file mode 100644 index e87b6842..00000000 --- a/buildroot-2021.05/package/python-dominate/python-dominate.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-dominate -# -################################################################################ - -PYTHON_DOMINATE_VERSION = 2.4.0 -PYTHON_DOMINATE_SOURCE = dominate-$(PYTHON_DOMINATE_VERSION).tar.gz -PYTHON_DOMINATE_SITE = https://files.pythonhosted.org/packages/46/dd/0fde17069c908951941475eee110c84467591caa1cd8ca30136294c26621 -PYTHON_DOMINATE_SETUP_TYPE = setuptools -PYTHON_DOMINATE_LICENSE = LGPL-3.0+ -PYTHON_DOMINATE_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-dpkt/Config.in b/buildroot-2021.05/package/python-dpkt/Config.in deleted file mode 100644 index 9bd7a98d..00000000 --- a/buildroot-2021.05/package/python-dpkt/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_DPKT - bool "python-dpkt" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - Fast, simple packet creation / parsing, with definitions - for the basic TCP/IP protocols. - - https://github.com/kbandla/dpkt diff --git a/buildroot-2021.05/package/python-dpkt/python-dpkt.hash b/buildroot-2021.05/package/python-dpkt/python-dpkt.hash deleted file mode 100644 index b8b53fd0..00000000 --- a/buildroot-2021.05/package/python-dpkt/python-dpkt.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/dpkt/json -md5 b204a5434fe29749de539150e00e762e dpkt-1.9.2.tar.gz -sha256 52a92ecd5ca04d5bd852bb11cb2eac4bbe38b42a7c472e0d950eeb9f82a81e54 dpkt-1.9.2.tar.gz -# Locally computed sha256 checksums -sha256 4c5ffde575425591cbd51410219a6b98bbbb717e0c5784187e356653da8e5095 LICENSE diff --git a/buildroot-2021.05/package/python-dpkt/python-dpkt.mk b/buildroot-2021.05/package/python-dpkt/python-dpkt.mk deleted file mode 100644 index aade014f..00000000 --- a/buildroot-2021.05/package/python-dpkt/python-dpkt.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-dpkt -# -################################################################################ - -PYTHON_DPKT_VERSION = 1.9.2 -PYTHON_DPKT_SOURCE = dpkt-$(PYTHON_DPKT_VERSION).tar.gz -PYTHON_DPKT_SITE = https://files.pythonhosted.org/packages/1c/25/0aebea939ea70d31a7ff8884e5ca577eddb9cfeac626398fe782d4e2f6a2 -PYTHON_DPKT_SETUP_TYPE = setuptools -PYTHON_DPKT_LICENSE = BSD-3-Clause -PYTHON_DPKT_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ecdsa/Config.in b/buildroot-2021.05/package/python-ecdsa/Config.in deleted file mode 100644 index eb0d6580..00000000 --- a/buildroot-2021.05/package/python-ecdsa/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_ECDSA - bool "python-ecdsa" - select BR2_PACKAGE_PYTHON_SIX # runtime - help - ECDSA cryptographic signature library (pure python). - - http://github.com/warner/python-ecdsa diff --git a/buildroot-2021.05/package/python-ecdsa/python-ecdsa.hash b/buildroot-2021.05/package/python-ecdsa/python-ecdsa.hash deleted file mode 100644 index fcb80938..00000000 --- a/buildroot-2021.05/package/python-ecdsa/python-ecdsa.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ecdsa/json -md5 98c0da4c046286e892fdba727f93edea ecdsa-0.16.1.tar.gz -sha256 cfc046a2ddd425adbd1a78b3c46f0d1325c657811c0f45ecc3a0a6236c1e50ff ecdsa-0.16.1.tar.gz -# Locally computed sha256 checksums -sha256 3eca9845773d2e5b8cc9d8c119d345f00a4806e4bd660d4a3d6cdf9c0e9d8bb2 LICENSE diff --git a/buildroot-2021.05/package/python-ecdsa/python-ecdsa.mk b/buildroot-2021.05/package/python-ecdsa/python-ecdsa.mk deleted file mode 100644 index 75c97051..00000000 --- a/buildroot-2021.05/package/python-ecdsa/python-ecdsa.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-ecdsa -# -################################################################################ - -PYTHON_ECDSA_VERSION = 0.16.1 -PYTHON_ECDSA_SOURCE = ecdsa-$(PYTHON_ECDSA_VERSION).tar.gz -PYTHON_ECDSA_SITE = https://files.pythonhosted.org/packages/1d/d4/0684a83b3c16a9d1446ace27a506cef1db9b23984ac7ed6aaf764fdd56e8 -PYTHON_ECDSA_SETUP_TYPE = setuptools -PYTHON_ECDSA_LICENSE = MIT -PYTHON_ECDSA_LICENSE_FILES = LICENSE -PYTHON_ECDSA_CPE_ID_VENDOR = python-ecdsa_project - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-engineio/Config.in b/buildroot-2021.05/package/python-engineio/Config.in deleted file mode 100644 index b12db922..00000000 --- a/buildroot-2021.05/package/python-engineio/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_ENGINEIO - bool "python-engineio" - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - Engine.IO server. - - http://github.com/miguelgrinberg/python-engineio/ diff --git a/buildroot-2021.05/package/python-engineio/python-engineio.hash b/buildroot-2021.05/package/python-engineio/python-engineio.hash deleted file mode 100644 index ef852cf1..00000000 --- a/buildroot-2021.05/package/python-engineio/python-engineio.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/python-engineio/json -md5 e6ea8b3f2f32eeeb02014c46092f2adb python-engineio-3.12.1.tar.gz -sha256 2481732d93646998f7372ef0ecf003af7817b82720b881db173c3d50b4887916 python-engineio-3.12.1.tar.gz -# Locally computed sha256 checksums -sha256 c9e97d3dbc1fbbcdb4f7808b282cd646db887aff4f5313fe6bbe8d4c31405a9c LICENSE diff --git a/buildroot-2021.05/package/python-engineio/python-engineio.mk b/buildroot-2021.05/package/python-engineio/python-engineio.mk deleted file mode 100644 index 4f835da0..00000000 --- a/buildroot-2021.05/package/python-engineio/python-engineio.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# python-engineio -# -################################################################################ - -PYTHON_ENGINEIO_VERSION = 3.12.1 -PYTHON_ENGINEIO_SITE = https://files.pythonhosted.org/packages/71/5d/620b75396ce993001cbccc80dd786ab09a16a8e3f6c4878ad05f051064d6 -PYTHON_ENGINEIO_SETUP_TYPE = setuptools -PYTHON_ENGINEIO_LICENSE = MIT -PYTHON_ENGINEIO_LICENSE_FILES = LICENSE -PYTHON_ENGINEIO_CPE_ID_VENDOR = python-engineio_project - -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_ENGINEIO_RM_PY3_FILES - rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/engineio/async_drivers \ - $(TARGET_DIR)/usr/lib/python*/site-packages/engineio/asyncio_*.py -endef - -PYTHON_ENGINEIO_POST_INSTALL_TARGET_HOOKS += PYTHON_ENGINEIO_RM_PY3_FILES -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-enum/Config.in b/buildroot-2021.05/package/python-enum/Config.in deleted file mode 100644 index e26ae8bf..00000000 --- a/buildroot-2021.05/package/python-enum/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_ENUM - bool "python-enum" - depends on BR2_PACKAGE_PYTHON - help - Robust enumerated type support in Python - - An enumeration object is an immutable sequence object built - from a sequence of strings. Each value is also available as - an attribute. Such values are constant. Comparisons and - enumeration are supported. - - https://pypi.python.org/pypi/enum diff --git a/buildroot-2021.05/package/python-enum/python-enum.hash b/buildroot-2021.05/package/python-enum/python-enum.hash deleted file mode 100644 index 4b4b369e..00000000 --- a/buildroot-2021.05/package/python-enum/python-enum.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/enum/json -md5 e7d170e3f84435b77058de625c96ef58 enum-0.4.7.tar.gz -sha256 8c7cf3587eda51008bcc1eed99ea2c331ccd265c231dbaa95ec5258d3dc03100 enum-0.4.7.tar.gz -# Locally computed sha256 checksums -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL-3 diff --git a/buildroot-2021.05/package/python-enum/python-enum.mk b/buildroot-2021.05/package/python-enum/python-enum.mk deleted file mode 100644 index f1de8a93..00000000 --- a/buildroot-2021.05/package/python-enum/python-enum.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-enum -# -################################################################################ - -PYTHON_ENUM_VERSION = 0.4.7 -PYTHON_ENUM_SOURCE = enum-$(PYTHON_ENUM_VERSION).tar.gz -PYTHON_ENUM_SITE = https://files.pythonhosted.org/packages/02/a0/32e1d5a21b703f600183e205aafc6773577e16429af5ad3c3f9b956b07ca -PYTHON_ENUM_SETUP_TYPE = setuptools -PYTHON_ENUM_LICENSE = GPL-3.0+ -PYTHON_ENUM_LICENSE_FILES = LICENSE.GPL-3 - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-enum34/Config.in b/buildroot-2021.05/package/python-enum34/Config.in deleted file mode 100644 index 2511a350..00000000 --- a/buildroot-2021.05/package/python-enum34/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_ENUM34 - bool "python-enum34" - depends on BR2_PACKAGE_PYTHON - help - Python 3.4 Enum backported to 2.x. - - An enumeration is a set of symbolic names (members) bound to - unique, constant values. Within an enumeration, the members - can be compared by identity, and the enumeration itself can - be iterated over. - - https://pypi.python.org/pypi/enum34 diff --git a/buildroot-2021.05/package/python-enum34/python-enum34.hash b/buildroot-2021.05/package/python-enum34/python-enum34.hash deleted file mode 100644 index e43e00a5..00000000 --- a/buildroot-2021.05/package/python-enum34/python-enum34.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/enum34/json -md5 b5ac0bb5ea9e830029599e410d09d3b5 enum34-1.1.10.tar.gz -# Locally computed -sha256 cce6a7477ed816bd2542d03d53db9f0db935dd013b70f336a95c73979289f248 enum34-1.1.10.tar.gz -sha256 88ec6a6c8eafa3b9757e745783938bef3f5e4d5e3c76b1db576aa3ab520e5e1d enum/LICENSE diff --git a/buildroot-2021.05/package/python-enum34/python-enum34.mk b/buildroot-2021.05/package/python-enum34/python-enum34.mk deleted file mode 100644 index 0bd00508..00000000 --- a/buildroot-2021.05/package/python-enum34/python-enum34.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-enum34 -# -################################################################################ - -PYTHON_ENUM34_VERSION = 1.1.10 -PYTHON_ENUM34_SOURCE = enum34-$(PYTHON_ENUM34_VERSION).tar.gz -PYTHON_ENUM34_SITE = https://files.pythonhosted.org/packages/11/c4/2da1f4952ba476677a42f25cd32ab8aaf0e1c0d0e00b89822b835c7e654c -PYTHON_ENUM34_SETUP_TYPE = setuptools -PYTHON_ENUM34_LICENSE = BSD-3-Clause -PYTHON_ENUM34_LICENSE_FILES = enum/LICENSE -PYTHON_ENUM34_CPE_ID_VENDOR = python -PYTHON_ENUM34_CPE_ID_PRODUCT = enum34 - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-esptool/Config.in b/buildroot-2021.05/package/python-esptool/Config.in deleted file mode 100644 index 570f9aa4..00000000 --- a/buildroot-2021.05/package/python-esptool/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_ESPTOOL - bool "python-esptool" - select BR2_PACKAGE_PYTHON_ECDSA # runtime - select BR2_PACKAGE_PYTHON_PYAES # runtime - select BR2_PACKAGE_PYTHON_SERIAL # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - A serial utility to communicate & flash code to Espressif - ESP8266 & ESP32 chips. - - https://github.com/espressif/esptool diff --git a/buildroot-2021.05/package/python-esptool/python-esptool.hash b/buildroot-2021.05/package/python-esptool/python-esptool.hash deleted file mode 100644 index 3b030ec7..00000000 --- a/buildroot-2021.05/package/python-esptool/python-esptool.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/esptool/json -md5 ccd2855e14c298712aeb37ac063baad5 esptool-3.0.tar.gz -sha256 87953d235fed2c9adb1292b3769df0149686c9afdb1896dd963f730453cbc934 esptool-3.0.tar.gz -# Locally computed sha256 checksums -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/python-esptool/python-esptool.mk b/buildroot-2021.05/package/python-esptool/python-esptool.mk deleted file mode 100644 index e9e3eb6b..00000000 --- a/buildroot-2021.05/package/python-esptool/python-esptool.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-esptool -# -################################################################################ - -PYTHON_ESPTOOL_VERSION = 3.0 -PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz -PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/dd/3d/d1d4c004927e6e6807c441ce70330ed969c725d2906053fbd2ff994b4439 -PYTHON_ESPTOOL_SETUP_TYPE = setuptools -PYTHON_ESPTOOL_LICENSE = GPL-2.0+ -PYTHON_ESPTOOL_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-falcon/Config.in b/buildroot-2021.05/package/python-falcon/Config.in deleted file mode 100644 index f90ef55b..00000000 --- a/buildroot-2021.05/package/python-falcon/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_FALCON - bool "python-falcon" - depends on BR2_PACKAGE_PYTHON3 - help - An unladen web framework for building APIs and app - backends. - - https://falconframework.org diff --git a/buildroot-2021.05/package/python-filelock/python-filelock.hash b/buildroot-2021.05/package/python-filelock/python-filelock.hash deleted file mode 100644 index d50d2d56..00000000 --- a/buildroot-2021.05/package/python-filelock/python-filelock.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/filelock/json -md5 c1fe6d9a7433a7ca6ce4f36e273317d1 filelock-3.0.12.tar.gz -sha256 18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59 filelock-3.0.12.tar.gz -# Locally computed sha256 checksums -sha256 88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd LICENSE diff --git a/buildroot-2021.05/package/python-filelock/python-filelock.mk b/buildroot-2021.05/package/python-filelock/python-filelock.mk deleted file mode 100644 index 35b3374d..00000000 --- a/buildroot-2021.05/package/python-filelock/python-filelock.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-filelock -# -################################################################################ - -PYTHON_FILELOCK_VERSION = 3.0.12 -PYTHON_FILELOCK_SOURCE = filelock-$(PYTHON_FILELOCK_VERSION).tar.gz -PYTHON_FILELOCK_SITE = https://files.pythonhosted.org/packages/14/ec/6ee2168387ce0154632f856d5cc5592328e9cf93127c5c9aeca92c8c16cb -PYTHON_FILELOCK_SETUP_TYPE = setuptools -PYTHON_FILELOCK_LICENSE = Public Domain -PYTHON_FILELOCK_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-fire/Config.in b/buildroot-2021.05/package/python-fire/Config.in deleted file mode 100644 index b718ddac..00000000 --- a/buildroot-2021.05/package/python-fire/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_FIRE - bool "python-fire" - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_TERMCOLOR # runtime - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime - help - A library for automatically generating command line - interfaces. - - https://github.com/google/python-fire diff --git a/buildroot-2021.05/package/python-fire/python-fire.mk b/buildroot-2021.05/package/python-fire/python-fire.mk deleted file mode 100644 index 7ba971ab..00000000 --- a/buildroot-2021.05/package/python-fire/python-fire.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# python-fire -# -################################################################################ - -PYTHON_FIRE_VERSION = 0.4.0 -PYTHON_FIRE_SOURCE = fire-$(PYTHON_FIRE_VERSION).tar.gz -PYTHON_FIRE_SITE = https://files.pythonhosted.org/packages/11/07/a119a1aa04d37bc819940d95ed7e135a7dcca1c098123a3764a6dcace9e7 -PYTHON_FIRE_SETUP_TYPE = setuptools -PYTHON_FIRE_LICENSE = Apache-2.0 -PYTHON_FIRE_LICENSE_FILES = LICENSE - -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_FIRE_RM_PY3_FILE - rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/fire/test_components_py3.py -endef - -PYTHON_FIRE_POST_INSTALL_TARGET_HOOKS += PYTHON_FIRE_RM_PY3_FILE -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-flask-wtf/Config.in b/buildroot-2021.05/package/python-flask-wtf/Config.in deleted file mode 100644 index bb154899..00000000 --- a/buildroot-2021.05/package/python-flask-wtf/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_FLASK_WTF - bool "python-flask-wtf" - select BR2_PACKAGE_PYTHON_FLASK # runtime - select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime - select BR2_PACKAGE_PYTHON_WTFORMS # runtime - help - Simple integration of Flask and WTForms. - - https://github.com/lepture/flask-wtf diff --git a/buildroot-2021.05/package/python-flask-wtf/python-flask-wtf.hash b/buildroot-2021.05/package/python-flask-wtf/python-flask-wtf.hash deleted file mode 100644 index cff36618..00000000 --- a/buildroot-2021.05/package/python-flask-wtf/python-flask-wtf.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://pypi.org/project/Flask-WTF/#copy-hash-modal-d090dbe5-8665-4c96-a565-57134e470a60 -md5 1b60b7dd1245b0d0173c21123717af61 Flask-WTF-0.14.3.tar.gz -sha256 d417e3a0008b5ba583da1763e4db0f55a1269d9dd91dcc3eb3c026d3c5dbd720 Flask-WTF-0.14.3.tar.gz - -# License files -sha256 a075f8d98acfdb05dd98716242b9e2c1b3ab98722926b3c4cf6c916ac14e8350 LICENSE diff --git a/buildroot-2021.05/package/python-flask-wtf/python-flask-wtf.mk b/buildroot-2021.05/package/python-flask-wtf/python-flask-wtf.mk deleted file mode 100644 index a334e3c0..00000000 --- a/buildroot-2021.05/package/python-flask-wtf/python-flask-wtf.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-flask-wtf -# -################################################################################ - -PYTHON_FLASK_WTF_VERSION = 0.14.3 -PYTHON_FLASK_WTF_SOURCE = Flask-WTF-$(PYTHON_FLASK_WTF_VERSION).tar.gz -PYTHON_FLASK_WTF_SITE = https://files.pythonhosted.org/packages/2e/f4/3d9e1905ffad67e20ef4f5963d711e8e29ab9439120d7ffec3d2922020e3 -PYTHON_FLASK_WTF_LICENSE = BSD-3-Clause -PYTHON_FLASK_WTF_LICENSE_FILES = LICENSE -PYTHON_FLASK_WTF_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-flask/Config.in b/buildroot-2021.05/package/python-flask/Config.in deleted file mode 100644 index 0e5b64ce..00000000 --- a/buildroot-2021.05/package/python-flask/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_FLASK - bool "python-flask" - select BR2_PACKAGE_PYTHON_CLICK # runtime - select BR2_PACKAGE_PYTHON_JINJA2 # runtime - select BR2_PACKAGE_PYTHON_WERKZEUG # runtime - select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - Flask is a microframework for Python based on Werkzeug, - Jinja 2 and good intentions. - - https://palletsprojects.com/p/flask diff --git a/buildroot-2021.05/package/python-flatbuffers/python-flatbuffers.hash b/buildroot-2021.05/package/python-flatbuffers/python-flatbuffers.hash deleted file mode 100644 index ba7df6ba..00000000 --- a/buildroot-2021.05/package/python-flatbuffers/python-flatbuffers.hash +++ /dev/null @@ -1,3 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/flatbuffers/json -md5 b9a5b8dfbbb4751788529310118ea6db flatbuffers-1.12.tar.gz -sha256 63bb9a722d5e373701913e226135b28a6f6ac200d5cc7b4d919fa38d73b44610 flatbuffers-1.12.tar.gz diff --git a/buildroot-2021.05/package/python-flatbuffers/python-flatbuffers.mk b/buildroot-2021.05/package/python-flatbuffers/python-flatbuffers.mk deleted file mode 100644 index 33bb57dd..00000000 --- a/buildroot-2021.05/package/python-flatbuffers/python-flatbuffers.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-flatbuffers -# -################################################################################ - -PYTHON_FLATBUFFERS_VERSION = 1.12 -PYTHON_FLATBUFFERS_SOURCE = flatbuffers-$(PYTHON_FLATBUFFERS_VERSION).tar.gz -PYTHON_FLATBUFFERS_SITE = https://files.pythonhosted.org/packages/4d/c4/7b995ab9bf0c7eaf10c386d29a03408dfcf72648df4102b1f18896c3aeea -PYTHON_FLATBUFFERS_LICENSE = Apache-2.0 -PYTHON_FLATBUFFERS_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-flup/Config.in b/buildroot-2021.05/package/python-flup/Config.in deleted file mode 100644 index f40f2501..00000000 --- a/buildroot-2021.05/package/python-flup/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_FLUP - bool "python-flup" - depends on BR2_PACKAGE_PYTHON3 - help - flup provides of a collection of WSGI modules for Python. - It allows a webserver to use scgi-mod and fastcgi-mod - with python. - - https://pypi.python.org/pypi/flup diff --git a/buildroot-2021.05/package/python-frozenlist/Config.in b/buildroot-2021.05/package/python-frozenlist/Config.in deleted file mode 100644 index 67a58b40..00000000 --- a/buildroot-2021.05/package/python-frozenlist/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_FROZENLIST - bool "python-frozenlist" - depends on BR2_PACKAGE_PYTHON3 - help - A list-like structure which implements - collections.abc.MutableSequence. - - https://github.com/aio-libs/frozenlist diff --git a/buildroot-2021.05/package/python-frozenlist/python-frozenlist.hash b/buildroot-2021.05/package/python-frozenlist/python-frozenlist.hash deleted file mode 100644 index 0ecc5f9c..00000000 --- a/buildroot-2021.05/package/python-frozenlist/python-frozenlist.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/frozenlist/json -md5 2a83a520014203d0a56993c332ff7e23 frozenlist-1.1.0.tar.gz -sha256 d167a5050628323fcb3db410375eb06390ab135454fd85fd79c5832f5ec2b8ed frozenlist-1.1.0.tar.gz -# Locally computed sha256 checksums -sha256 6fd5243e92dd7f98ec69c7ac377728e74905709ff527a5bf98d6d0263c04f5b6 LICENSE.txt diff --git a/buildroot-2021.05/package/python-frozenlist/python-frozenlist.mk b/buildroot-2021.05/package/python-frozenlist/python-frozenlist.mk deleted file mode 100644 index b113c380..00000000 --- a/buildroot-2021.05/package/python-frozenlist/python-frozenlist.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-frozenlist -# -################################################################################ - -PYTHON_FROZENLIST_VERSION = 1.1.0 -PYTHON_FROZENLIST_SOURCE = frozenlist-$(PYTHON_FROZENLIST_VERSION).tar.gz -PYTHON_FROZENLIST_SITE = https://files.pythonhosted.org/packages/12/0e/119f1f186e93c21d078db1ddd7b21247a8a49261689d9284dec28be3b08e -PYTHON_FROZENLIST_SETUP_TYPE = setuptools -PYTHON_FROZENLIST_LICENSE = Apache-2.0 -PYTHON_FROZENLIST_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-functools32/Config.in b/buildroot-2021.05/package/python-functools32/Config.in deleted file mode 100644 index 606341d8..00000000 --- a/buildroot-2021.05/package/python-functools32/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_FUNCTOOLS32 - bool "python-functools32" - depends on BR2_PACKAGE_PYTHON - help - Backport of the functools module from Python 3.2.3 for use on - 2.7 and PyPy. - - https://github.com/MiCHiLU/python-functools32 diff --git a/buildroot-2021.05/package/python-functools32/python-functools32.hash b/buildroot-2021.05/package/python-functools32/python-functools32.hash deleted file mode 100644 index 606de817..00000000 --- a/buildroot-2021.05/package/python-functools32/python-functools32.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5 from https://pypi.python.org/pypi/functools32/json, sha256 locally computed -md5 09f24ffd9af9f6cd0f63cb9f4e23d4b2 functools32-3.2.3-2.tar.gz -sha256 f6253dfbe0538ad2e387bd8fdfd9293c925d63553f5813c4e587745416501e6d functools32-3.2.3-2.tar.gz -sha256 3f9ea6b89abe1556b72aff67b987d64c8272564815cd6a2832e6c4f6abdfe3b1 LICENSE diff --git a/buildroot-2021.05/package/python-functools32/python-functools32.mk b/buildroot-2021.05/package/python-functools32/python-functools32.mk deleted file mode 100644 index 8a88bb2a..00000000 --- a/buildroot-2021.05/package/python-functools32/python-functools32.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-functools32 -# -################################################################################ - -PYTHON_FUNCTOOLS32_VERSION = 3.2.3-2 -PYTHON_FUNCTOOLS32_SOURCE = functools32-$(PYTHON_FUNCTOOLS32_VERSION).tar.gz -PYTHON_FUNCTOOLS32_SITE = https://pypi.python.org/packages/c5/60/6ac26ad05857c601308d8fb9e87fa36d0ebf889423f47c3502ef034365db -PYTHON_FUNCTOOLS32_SETUP_TYPE = distutils -PYTHON_FUNCTOOLS32_LICENSE = Python-2.0 -PYTHON_FUNCTOOLS32_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-futures/Config.in b/buildroot-2021.05/package/python-futures/Config.in deleted file mode 100644 index 2eb40e93..00000000 --- a/buildroot-2021.05/package/python-futures/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_FUTURES - bool "python-futures" - depends on BR2_PACKAGE_PYTHON # not needed for python3 - help - Backport of the concurrent.futures package from Python 3.2. - - https://github.com/agronholm/pythonfutures diff --git a/buildroot-2021.05/package/python-futures/python-futures.hash b/buildroot-2021.05/package/python-futures/python-futures.hash deleted file mode 100644 index a4fbdf4f..00000000 --- a/buildroot-2021.05/package/python-futures/python-futures.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/futures/json -md5 b43a39ae1475e3fd6940f2b4f7214675 futures-3.3.0.tar.gz -sha256 7e033af76a5e35f58e56da7a91e687706faf4e7bdfb2cbc3f2cca6b9bcda9794 futures-3.3.0.tar.gz -# Locally computed sha256 checksums -sha256 a698bd5d441e4a16af6c992b8e80cbfa12755d72d910854fa1fb11d4deb0059a LICENSE diff --git a/buildroot-2021.05/package/python-futures/python-futures.mk b/buildroot-2021.05/package/python-futures/python-futures.mk deleted file mode 100644 index 06669481..00000000 --- a/buildroot-2021.05/package/python-futures/python-futures.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-futures -# -################################################################################ - -PYTHON_FUTURES_VERSION = 3.3.0 -PYTHON_FUTURES_SOURCE = futures-$(PYTHON_FUTURES_VERSION).tar.gz -PYTHON_FUTURES_SITE = https://files.pythonhosted.org/packages/47/04/5fc6c74ad114032cd2c544c575bffc17582295e9cd6a851d6026ab4b2c00 -PYTHON_FUTURES_SETUP_TYPE = setuptools -PYTHON_FUTURES_LICENSE = BSD-2-Clause -PYTHON_FUTURES_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-gitdb2/Config.in b/buildroot-2021.05/package/python-gitdb2/Config.in deleted file mode 100644 index a5962e7b..00000000 --- a/buildroot-2021.05/package/python-gitdb2/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_GITDB2 - bool "python-gitdb2" - select BR2_PACKAGE_PYTHON_SMMAP2 # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - GitDB allows you to access bare git repositories for reading - and writing. It aims at allowing full access to loose objects - as well as packs with performance and scalability in mind. It - operates exclusively on streams, allowing to handle large - objects with a small memory footprint. - - https://github.com/gitpython-developers/gitdb diff --git a/buildroot-2021.05/package/python-gitdb2/python-gitdb2.hash b/buildroot-2021.05/package/python-gitdb2/python-gitdb2.hash deleted file mode 100644 index e97d25cf..00000000 --- a/buildroot-2021.05/package/python-gitdb2/python-gitdb2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/gitdb2/json -md5 1a7ea3362e405f8a5634f7ee53636094 gitdb2-2.0.6.tar.gz -sha256 1b6df1433567a51a4a9c1a5a0de977aa351a405cc56d7d35f3388bad1f630350 gitdb2-2.0.6.tar.gz -# Locally computed sha256 checksums -sha256 efd29f596a08e8857e68e7694a50bcda72839792da7c3f041bcbff5f18009239 LICENSE diff --git a/buildroot-2021.05/package/python-gitdb2/python-gitdb2.mk b/buildroot-2021.05/package/python-gitdb2/python-gitdb2.mk deleted file mode 100644 index 7664a135..00000000 --- a/buildroot-2021.05/package/python-gitdb2/python-gitdb2.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-gitdb2 -# -################################################################################ - -PYTHON_GITDB2_VERSION = 2.0.6 -PYTHON_GITDB2_SOURCE = gitdb2-$(PYTHON_GITDB2_VERSION).tar.gz -PYTHON_GITDB2_SITE = https://files.pythonhosted.org/packages/c5/62/ed7205331e8d7cc377e2512cb32f8f8f075c0defce767551d0a76e102ce2 -PYTHON_GITDB2_SETUP_TYPE = setuptools -PYTHON_GITDB2_LICENSE = BSD-3-Clause -PYTHON_GITDB2_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-gobject/Config.in b/buildroot-2021.05/package/python-gobject/Config.in deleted file mode 100644 index 1c9303b0..00000000 --- a/buildroot-2021.05/package/python-gobject/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_PYTHON_GOBJECT - bool "python-gobject" - depends on BR2_USE_MMU # libglib2, gobject-introspection - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection - depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection - depends on BR2_PACKAGE_PYTHON3 # gobject-introspection - select BR2_PACKAGE_GOBJECT_INTROSPECTION - select BR2_PACKAGE_LIBGLIB2 - help - Python bindings for the GLib/GObject library - - https://wiki.gnome.org/action/show/Projects/PyGObject - -comment "python-gobject needs a glibc toolchain, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/python-gobject/python-gobject.hash b/buildroot-2021.05/package/python-gobject/python-gobject.hash deleted file mode 100644 index fd2235f2..00000000 --- a/buildroot-2021.05/package/python-gobject/python-gobject.hash +++ /dev/null @@ -1,3 +0,0 @@ -# from http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.36/pygobject-3.36.1.sha256sum -sha256 d1bf42802d1cec113b5adaa0e7bf7f3745b44521dc2163588d276d5cd61d718f pygobject-3.36.1.tar.xz -sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/buildroot-2021.05/package/python-gobject/python-gobject.mk b/buildroot-2021.05/package/python-gobject/python-gobject.mk deleted file mode 100644 index 0cada82f..00000000 --- a/buildroot-2021.05/package/python-gobject/python-gobject.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# python-gobject -# -################################################################################ - -PYTHON_GOBJECT_VERSION_MAJOR = 3.36 -PYTHON_GOBJECT_VERSION = $(PYTHON_GOBJECT_VERSION_MAJOR).1 -PYTHON_GOBJECT_SOURCE = pygobject-$(PYTHON_GOBJECT_VERSION).tar.xz -PYTHON_GOBJECT_SITE = https://ftp.gnome.org/pub/gnome/sources/pygobject/$(PYTHON_GOBJECT_VERSION_MAJOR) -PYTHON_GOBJECT_LICENSE = LGPL-2.1+ -PYTHON_GOBJECT_LICENSE_FILES = COPYING -PYTHON_GOBJECT_INSTALL_STAGING = YES -PYTHON_GOBJECT_DEPENDENCIES = \ - gobject-introspection \ - host-pkgconf \ - libglib2 \ - python3 - -PYTHON_GOBJECT_CONF_OPTS += \ - -Dpycairo=false \ - -Dtests=false - -# A sysconfigdata_name must be manually specified or the resulting .so -# will have a x86_64 prefix, which causes "import gi" to fail. -# A pythonpath must be specified or the host python path will be used resulting -# in a "not a valid python" error. -PYTHON_GOBJECT_CONF_ENV += \ - _PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \ - PYTHONPATH=$(PYTHON3_PATH) - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/python-gpiozero/Config.in b/buildroot-2021.05/package/python-gpiozero/Config.in deleted file mode 100644 index 13506ae4..00000000 --- a/buildroot-2021.05/package/python-gpiozero/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_GPIOZERO - bool "python-gpiozero" - depends on BR2_arm - depends on BR2_PACKAGE_PYTHON3 # python-colorzero - select BR2_PACKAGE_PYTHON_COLORZERO # runtime - select BR2_PACKAGE_PYTHON_RPI_GPIO # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - help - A simple interface to GPIO devices with Raspberry Pi. - - https://github.com/gpiozero/gpiozero diff --git a/buildroot-2021.05/package/python-greenlet/python-greenlet.hash b/buildroot-2021.05/package/python-greenlet/python-greenlet.hash deleted file mode 100644 index eed8e597..00000000 --- a/buildroot-2021.05/package/python-greenlet/python-greenlet.hash +++ /dev/null @@ -1,6 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/greenlet/json -md5 9aebea08f7beb6b87143d0588578c984 greenlet-0.4.16.tar.gz -sha256 6e06eac722676797e8fce4adb8ad3dc57a1bb3adfb0dd3fdf8306c055a38456c greenlet-0.4.16.tar.gz -# Locally computed sha256 checksums -sha256 bbde55d5456a1e912633ed3f66d1dbd9504e3e3dce4f4c2015043cdcbc56e697 LICENSE -sha256 e5ff3c23c110e494cd7d736c10fd96d462457bafeca310840db6527298c7d46b LICENSE.PSF diff --git a/buildroot-2021.05/package/python-greenlet/python-greenlet.mk b/buildroot-2021.05/package/python-greenlet/python-greenlet.mk deleted file mode 100644 index 9243afe5..00000000 --- a/buildroot-2021.05/package/python-greenlet/python-greenlet.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-greenlet -# -################################################################################ - -PYTHON_GREENLET_VERSION = 0.4.16 -PYTHON_GREENLET_SOURCE = greenlet-$(PYTHON_GREENLET_VERSION).tar.gz -PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/20/5e/b989a19f4597b825f44125345cd8a8574216fae7fafe69e2cb1238ebd18a -PYTHON_GREENLET_SETUP_TYPE = distutils -PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 -PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-gunicorn/Config.in b/buildroot-2021.05/package/python-gunicorn/Config.in deleted file mode 100644 index b3d11cf1..00000000 --- a/buildroot-2021.05/package/python-gunicorn/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_GUNICORN - bool "python-gunicorn" - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - help - Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for - UNIX. It's a pre-fork worker model ported from Ruby's - Unicorn project. The Gunicorn server is broadly compatible - with various web frameworks, simply implemented, light on - server resource usage, and fairly speedy. - - http://gunicorn.org/ diff --git a/buildroot-2021.05/package/python-gunicorn/python-gunicorn.hash b/buildroot-2021.05/package/python-gunicorn/python-gunicorn.hash deleted file mode 100644 index 402250ea..00000000 --- a/buildroot-2021.05/package/python-gunicorn/python-gunicorn.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.python.org/pypi/gunicorn/json -md5 f581937e9d8569ebd3fd6af1f9ab809f gunicorn-19.9.0.tar.gz -sha256 fa2662097c66f920f53f70621c6c58ca4a3c4d3434205e608e121b5b3b71f4f3 gunicorn-19.9.0.tar.gz -# Locally computed sha256 -sha256 789fe11b92e1cabfbcf744b5fcc392c9bd5c6798603a4e89f925b6337984d1df LICENSE diff --git a/buildroot-2021.05/package/python-gunicorn/python-gunicorn.mk b/buildroot-2021.05/package/python-gunicorn/python-gunicorn.mk deleted file mode 100644 index d113f751..00000000 --- a/buildroot-2021.05/package/python-gunicorn/python-gunicorn.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# python-gunicorn -# -################################################################################ - -PYTHON_GUNICORN_VERSION = 19.9.0 -PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz -PYTHON_GUNICORN_SITE = https://files.pythonhosted.org/packages/47/52/68ba8e5e8ba251e54006a49441f7ccabca83b6bef5aedacb4890596c7911 -PYTHON_GUNICORN_SETUP_TYPE = setuptools -PYTHON_GUNICORN_LICENSE = MIT -PYTHON_GUNICORN_LICENSE_FILES = LICENSE - -# At the end of the build, we try to compile all py files using the host python -# that has been built. -# The GAIO HTTP Worker is only compatible with Python3.4.2 and up. So don't try -# to compile it with python 2.x -ifeq ($(BR2_PACKAGE_PYTHON),y) -define PYTHON_GUNICORN_REMOVE_GAIO_WORKER - find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/ \ - -name "_gaiohttp.py" -exec rm -f {} \; -endef -PYTHON_GUNICORN_POST_INSTALL_TARGET_HOOKS += PYTHON_GUNICORN_REMOVE_GAIO_WORKER -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-h2/Config.in b/buildroot-2021.05/package/python-h2/Config.in deleted file mode 100644 index dccee9b9..00000000 --- a/buildroot-2021.05/package/python-h2/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_H2 - bool "python-h2" - select BR2_PACKAGE_PYTHON_HYPERFRAME # runtime - select BR2_PACKAGE_PYTHON_HPACK # runtime - help - HTTP/2 State-Machine based protocol implementation. - - http://hyper.rtfd.org diff --git a/buildroot-2021.05/package/python-h2/python-h2.hash b/buildroot-2021.05/package/python-h2/python-h2.hash deleted file mode 100644 index 4193567d..00000000 --- a/buildroot-2021.05/package/python-h2/python-h2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/h2/json -md5 197a99c09f344a0dd987fab9801dc8d0 h2-3.2.0.tar.gz -sha256 875f41ebd6f2c44781259005b157faed1a5031df3ae5aa7bcb4628a6c0782f14 h2-3.2.0.tar.gz -# Locally computed sha256 checksums -sha256 663f9253e13519b82ab4a6b1caab6bed05aada70517f28cd0254be8a9fa19ed6 LICENSE diff --git a/buildroot-2021.05/package/python-h2/python-h2.mk b/buildroot-2021.05/package/python-h2/python-h2.mk deleted file mode 100644 index 81397bbb..00000000 --- a/buildroot-2021.05/package/python-h2/python-h2.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-h2 -# -################################################################################ - -PYTHON_H2_VERSION = 3.2.0 -PYTHON_H2_SOURCE = h2-$(PYTHON_H2_VERSION).tar.gz -PYTHON_H2_SITE = https://files.pythonhosted.org/packages/08/0a/033df0fc05fe94f72517ccd393dd9ff99b1773fd198307638e6d3568a518 -PYTHON_H2_SETUP_TYPE = setuptools -PYTHON_H2_LICENSE = MIT -PYTHON_H2_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-hiredis/Config.in b/buildroot-2021.05/package/python-hiredis/Config.in deleted file mode 100644 index aacdc87c..00000000 --- a/buildroot-2021.05/package/python-hiredis/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_HIREDIS - bool "python-hiredis" - depends on BR2_PACKAGE_PYTHON3 - help - Python wrapper for hiredis. - - https://github.com/redis/hiredis-py diff --git a/buildroot-2021.05/package/python-hpack/0001-Convert-HISTORY.rst-from-UTF-8-format-to-ASCII.patch b/buildroot-2021.05/package/python-hpack/0001-Convert-HISTORY.rst-from-UTF-8-format-to-ASCII.patch deleted file mode 100644 index 015b8a24..00000000 --- a/buildroot-2021.05/package/python-hpack/0001-Convert-HISTORY.rst-from-UTF-8-format-to-ASCII.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 3d195f4f599f37c89419f1db1302f94acb38c264 Mon Sep 17 00:00:00 2001 -From: Yegor Yefremov -Date: Tue, 1 Aug 2017 10:15:33 +0200 -Subject: [PATCH] Convert HISTORY.rst from UTF-8 format to ASCII -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -UTF-8 formatted file breaks installations on some systems: - -Traceback (most recent call last): - File "setup.py", line 34, in - long_description=open('README.rst').read() + '\n\n' + open('HISTORY.rst').read(), - File "/home/peko/autobuild/instance-1/output/target/usr/lib/python3.6/encodings/ascii.py", line 26, in decode - return codecs.ascii_decode(input, self.errors)[0] -UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1125: ordinal not in range(128) - -To fix this error just replace '§' with 'S' meaning 'Section'. - -Signed-off-by: Yegor Yefremov ---- - HISTORY.rst | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/HISTORY.rst b/HISTORY.rst -index 37b2d9c..b9310f5 100644 ---- a/HISTORY.rst -+++ b/HISTORY.rst -@@ -27,7 +27,7 @@ Release History - - HPACK now tolerates receiving multiple header table size changes in sequence, - rather than only one. - - HPACK now forbids header table size changes anywhere but first in a header -- block, as required by RFC 7541 § 4.2. -+ block, as required by RFC 7541 S 4.2. - - Other miscellaneous performance improvements. - - 2.3.0 (2016-08-04) --- -2.11.0 - diff --git a/buildroot-2021.05/package/python-hpack/Config.in b/buildroot-2021.05/package/python-hpack/Config.in deleted file mode 100644 index b0ea03bc..00000000 --- a/buildroot-2021.05/package/python-hpack/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_PYTHON_HPACK - bool "python-hpack" - help - Pure-Python HPACK header compression. - - http://hyper.rtfd.org diff --git a/buildroot-2021.05/package/python-hpack/python-hpack.hash b/buildroot-2021.05/package/python-hpack/python-hpack.hash deleted file mode 100644 index 72886b0e..00000000 --- a/buildroot-2021.05/package/python-hpack/python-hpack.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/hpack/json -md5 556b0ae66180f54c2ce8029a0952088b hpack-3.0.0.tar.gz -# Locally computed -sha256 8eec9c1f4bfae3408a3f30500261f7e6a65912dc138526ea054f9ad98892e9d2 hpack-3.0.0.tar.gz -sha256 763a9342a04df62046c9dc748a5287934eb0a5331c6863b3ca0aee20e18cb4ed LICENSE diff --git a/buildroot-2021.05/package/python-hpack/python-hpack.mk b/buildroot-2021.05/package/python-hpack/python-hpack.mk deleted file mode 100644 index d6b96649..00000000 --- a/buildroot-2021.05/package/python-hpack/python-hpack.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-hpack -# -################################################################################ - -PYTHON_HPACK_VERSION = 3.0.0 -PYTHON_HPACK_SOURCE = hpack-$(PYTHON_HPACK_VERSION).tar.gz -PYTHON_HPACK_SITE = https://pypi.python.org/packages/44/f1/b4440e46e265a29c0cb7b09b6daec6edf93c79eae713cfed93fbbf8716c5 -PYTHON_HPACK_SETUP_TYPE = setuptools -PYTHON_HPACK_LICENSE = MIT -PYTHON_HPACK_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-html5lib/python-html5lib.hash b/buildroot-2021.05/package/python-html5lib/python-html5lib.hash deleted file mode 100644 index 04c64c10..00000000 --- a/buildroot-2021.05/package/python-html5lib/python-html5lib.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/html5lib/json -md5 942a0688d6bdf20d087c9805c40182ad html5lib-1.0.1.tar.gz -sha256 66cb0dcfdbbc4f9c3ba1a63fdb511ffdbd4f513b2b6d81b80cd26ce6b3fb3736 html5lib-1.0.1.tar.gz -# Locally computed sha256 checksums -sha256 16a39991619e92f18680932da2a9199fdf7d95df3ecaedc52ea06218aabafd6f LICENSE diff --git a/buildroot-2021.05/package/python-html5lib/python-html5lib.mk b/buildroot-2021.05/package/python-html5lib/python-html5lib.mk deleted file mode 100644 index 1d6aef1a..00000000 --- a/buildroot-2021.05/package/python-html5lib/python-html5lib.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-html5lib -# -################################################################################ - -PYTHON_HTML5LIB_VERSION = 1.0.1 -PYTHON_HTML5LIB_SOURCE = html5lib-$(PYTHON_HTML5LIB_VERSION).tar.gz -PYTHON_HTML5LIB_SITE = https://files.pythonhosted.org/packages/85/3e/cf449cf1b5004e87510b9368e7a5f1acd8831c2d6691edd3c62a0823f98f -PYTHON_HTML5LIB_LICENSE = MIT -PYTHON_HTML5LIB_LICENSE_FILES = LICENSE -PYTHON_HTML5LIB_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-httplib2/Config.in b/buildroot-2021.05/package/python-httplib2/Config.in deleted file mode 100644 index 39671f23..00000000 --- a/buildroot-2021.05/package/python-httplib2/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_HTTPLIB2 - bool "python-httplib2" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_PYPARSING # runtime - help - httplib2 is a comprehensive HTTP client library, httplib2.py - supports many features left out of other HTTP libraries. - - https://pypi.python.org/pypi/httplib2 diff --git a/buildroot-2021.05/package/python-humanize/python-humanize.hash b/buildroot-2021.05/package/python-humanize/python-humanize.hash deleted file mode 100644 index 47b5f70c..00000000 --- a/buildroot-2021.05/package/python-humanize/python-humanize.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/humanize/json -md5 e8473d9dc1b220911cac2edd53b1d973 humanize-0.5.1.tar.gz -# Locally computed -sha256 a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19 humanize-0.5.1.tar.gz -sha256 2ee89d331213b5886ae5416ead178694ac0eb13bb79c83bf92287f95d3597377 LICENCE diff --git a/buildroot-2021.05/package/python-humanize/python-humanize.mk b/buildroot-2021.05/package/python-humanize/python-humanize.mk deleted file mode 100644 index 60ec82bd..00000000 --- a/buildroot-2021.05/package/python-humanize/python-humanize.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-humanize -# -################################################################################ - -PYTHON_HUMANIZE_VERSION = 0.5.1 -PYTHON_HUMANIZE_SOURCE = humanize-$(PYTHON_HUMANIZE_VERSION).tar.gz -PYTHON_HUMANIZE_SITE = https://pypi.python.org/packages/8c/e0/e512e4ac6d091fc990bbe13f9e0378f34cf6eecd1c6c268c9e598dcf5bb9 -PYTHON_HUMANIZE_SETUP_TYPE = setuptools -PYTHON_HUMANIZE_LICENSE = MIT -PYTHON_HUMANIZE_LICENSE_FILES = LICENCE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-hyperframe/Config.in b/buildroot-2021.05/package/python-hyperframe/Config.in deleted file mode 100644 index f3318a20..00000000 --- a/buildroot-2021.05/package/python-hyperframe/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_PYTHON_HYPERFRAME - bool "python-hyperframe" - help - HTTP/2 framing layer for Python. - - http://hyper.rtfd.org diff --git a/buildroot-2021.05/package/python-hyperframe/python-hyperframe.hash b/buildroot-2021.05/package/python-hyperframe/python-hyperframe.hash deleted file mode 100644 index 3e686a4a..00000000 --- a/buildroot-2021.05/package/python-hyperframe/python-hyperframe.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/hyperframe/json -md5 6919183242feb26d8bce3b4cba81defd hyperframe-5.2.0.tar.gz -sha256 a9f5c17f2cc3c719b917c4f33ed1c61bd1f8dfac4b1bd23b7c80b3400971b41f hyperframe-5.2.0.tar.gz -# Locally computed sha256 checksums -sha256 763a9342a04df62046c9dc748a5287934eb0a5331c6863b3ca0aee20e18cb4ed LICENSE diff --git a/buildroot-2021.05/package/python-hyperframe/python-hyperframe.mk b/buildroot-2021.05/package/python-hyperframe/python-hyperframe.mk deleted file mode 100644 index 7640ade5..00000000 --- a/buildroot-2021.05/package/python-hyperframe/python-hyperframe.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-hyperframe -# -################################################################################ - -PYTHON_HYPERFRAME_VERSION = 5.2.0 -PYTHON_HYPERFRAME_SOURCE = hyperframe-$(PYTHON_HYPERFRAME_VERSION).tar.gz -PYTHON_HYPERFRAME_SITE = https://files.pythonhosted.org/packages/e6/7f/9a4834af1010dc1d570d5f394dfd9323a7d7ada7d25586bd299fc4cb0356 -PYTHON_HYPERFRAME_SETUP_TYPE = setuptools -PYTHON_HYPERFRAME_LICENSE = MIT -PYTHON_HYPERFRAME_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-hyperlink/python-hyperlink.hash b/buildroot-2021.05/package/python-hyperlink/python-hyperlink.hash deleted file mode 100644 index 94535002..00000000 --- a/buildroot-2021.05/package/python-hyperlink/python-hyperlink.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/hyperlink/json -md5 4772fb4d87c26a1ab22a6161424e3cba hyperlink-19.0.0.tar.gz -sha256 4288e34705da077fada1111a24a0aa08bb1e76699c9ce49876af722441845654 hyperlink-19.0.0.tar.gz -# Locally computed sha256 checksums -sha256 9577b66fb599aa5700b4981078ab0a319416a086beee646cd282aa9f33c8c74c LICENSE diff --git a/buildroot-2021.05/package/python-hyperlink/python-hyperlink.mk b/buildroot-2021.05/package/python-hyperlink/python-hyperlink.mk deleted file mode 100644 index deff4fea..00000000 --- a/buildroot-2021.05/package/python-hyperlink/python-hyperlink.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-hyperlink -# -################################################################################ - -PYTHON_HYPERLINK_VERSION = 19.0.0 -PYTHON_HYPERLINK_SOURCE = hyperlink-$(PYTHON_HYPERLINK_VERSION).tar.gz -PYTHON_HYPERLINK_SITE = https://files.pythonhosted.org/packages/e0/46/1451027b513a75edf676d25a47f601ca00b06a6a7a109e5644d921e7462d -PYTHON_HYPERLINK_SETUP_TYPE = setuptools -PYTHON_HYPERLINK_LICENSE = MIT -PYTHON_HYPERLINK_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ibmiotf/Config.in b/buildroot-2021.05/package/python-ibmiotf/Config.in deleted file mode 100644 index 0f5f75be..00000000 --- a/buildroot-2021.05/package/python-ibmiotf/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_IBMIOTF - bool "python-ibmiotf" - select BR2_PACKAGE_PYTHON_ISO8601 # runtime - select BR2_PACKAGE_PYTHON_PAHO_MQTT # runtime - select BR2_PACKAGE_PYTHON_PYTZ # runtime - select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - help - Python Client for IBM Watson IoT Platform. - - https://github.com/ibm-watson-iot/iot-python diff --git a/buildroot-2021.05/package/python-id3/Config.in b/buildroot-2021.05/package/python-id3/Config.in deleted file mode 100644 index 6ddfd541..00000000 --- a/buildroot-2021.05/package/python-id3/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_ID3 - bool "python-id3" - depends on BR2_PACKAGE_PYTHON - help - This module allows one to read and manipulate so-called ID3 - informational tags on MP3 files through an object-oriented - Python interface. - - http://id3-py.sourceforge.net/ diff --git a/buildroot-2021.05/package/python-id3/python-id3.hash b/buildroot-2021.05/package/python-id3/python-id3.hash deleted file mode 100644 index c83b34a2..00000000 --- a/buildroot-2021.05/package/python-id3/python-id3.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 ba612342b59a49cbf9a7eb23a646667757ffda96dc23b67245fc6cd8d90c2022 id3-py_1.2.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/python-id3/python-id3.mk b/buildroot-2021.05/package/python-id3/python-id3.mk deleted file mode 100644 index d4cdded0..00000000 --- a/buildroot-2021.05/package/python-id3/python-id3.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-id3 -# -################################################################################ - -PYTHON_ID3_VERSION = 1.2 -PYTHON_ID3_SOURCE = id3-py_$(PYTHON_ID3_VERSION).tar.gz -PYTHON_ID3_SITE = http://downloads.sourceforge.net/project/id3-py/id3-py/$(PYTHON_ID3_VERSION) -PYTHON_ID3_SETUP_TYPE = distutils -PYTHON_ID3_LICENSE = GPL-2.0+ -PYTHON_ID3_LICENSE_FILES = COPYING - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-idna/Config.in b/buildroot-2021.05/package/python-idna/Config.in deleted file mode 100644 index e3e548d4..00000000 --- a/buildroot-2021.05/package/python-idna/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_IDNA - bool "python-idna" - select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3 - help - A library to support the Internationalised Domain Names in - Applications (IDNA) protocol as specified in RFC 5891. This - version of the protocol is often referred to as 'IDNA2008' - and can produce different results from the earlier standard - from 2003. - - https://github.com/kjd/idna diff --git a/buildroot-2021.05/package/python-idna/python-idna.hash b/buildroot-2021.05/package/python-idna/python-idna.hash deleted file mode 100644 index c5f7378f..00000000 --- a/buildroot-2021.05/package/python-idna/python-idna.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/idna/json -md5 7a910c706db30d758f377db2762c0f9a idna-2.10.tar.gz -sha256 b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 idna-2.10.tar.gz -# Locally computed sha256 checksums -sha256 412014420d2473dba06117c3d4d9e0eecaa6dde0ca30cd951f4ec2be39426f32 LICENSE.rst diff --git a/buildroot-2021.05/package/python-idna/python-idna.mk b/buildroot-2021.05/package/python-idna/python-idna.mk deleted file mode 100644 index b4d9839e..00000000 --- a/buildroot-2021.05/package/python-idna/python-idna.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-idna -# -################################################################################ - -PYTHON_IDNA_VERSION = 2.10 -PYTHON_IDNA_SOURCE = idna-$(PYTHON_IDNA_VERSION).tar.gz -PYTHON_IDNA_SITE = https://files.pythonhosted.org/packages/ea/b7/e0e3c1c467636186c39925827be42f16fee389dc404ac29e930e9136be70 -PYTHON_IDNA_LICENSE = BSD-3-Clause -PYTHON_IDNA_LICENSE_FILES = LICENSE.rst -PYTHON_IDNA_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-incremental/Config.in b/buildroot-2021.05/package/python-incremental/Config.in deleted file mode 100644 index 64f86233..00000000 --- a/buildroot-2021.05/package/python-incremental/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_PYTHON_INCREMENTAL - bool "python-incremental" - help - A library for versioning your Python projects. - - https://github.com/hawkowl/incremental diff --git a/buildroot-2021.05/package/python-incremental/python-incremental.hash b/buildroot-2021.05/package/python-incremental/python-incremental.hash deleted file mode 100644 index c897f6e4..00000000 --- a/buildroot-2021.05/package/python-incremental/python-incremental.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/incremental/json -md5 602746e0d438e075a5a9e0678140bba2 incremental-17.5.0.tar.gz -sha256 7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3 incremental-17.5.0.tar.gz -# Locally computed sha256 -sha256 d043bc8899b4695de1f4511d8f507b927e11723b981ce600fa3ef7b73954afa5 LICENSE diff --git a/buildroot-2021.05/package/python-incremental/python-incremental.mk b/buildroot-2021.05/package/python-incremental/python-incremental.mk deleted file mode 100644 index 9c9d3a44..00000000 --- a/buildroot-2021.05/package/python-incremental/python-incremental.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-incremental -# -################################################################################ - -PYTHON_INCREMENTAL_VERSION = 17.5.0 -PYTHON_INCREMENTAL_SOURCE = incremental-$(PYTHON_INCREMENTAL_VERSION).tar.gz -PYTHON_INCREMENTAL_SITE = https://files.pythonhosted.org/packages/8f/26/02c4016aa95f45479eea37c90c34f8fab6775732ae62587a874b619ca097 -PYTHON_INCREMENTAL_SETUP_TYPE = setuptools -PYTHON_INCREMENTAL_LICENSE = MIT -PYTHON_INCREMENTAL_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-inflection/Config.in b/buildroot-2021.05/package/python-inflection/Config.in deleted file mode 100644 index 427275bc..00000000 --- a/buildroot-2021.05/package/python-inflection/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_INFLECTION - bool "python-inflection" - select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3 - help - A string transformation library that singularizes and - pluralizes English words, and transforms strings from - CamelCase to underscored string. - - Inflection is a port of Ruby on Rails' inflector to Python - - https://github.com/jpvanhal/inflection diff --git a/buildroot-2021.05/package/python-inflection/python-inflection.hash b/buildroot-2021.05/package/python-inflection/python-inflection.hash deleted file mode 100644 index bdad35ad..00000000 --- a/buildroot-2021.05/package/python-inflection/python-inflection.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hashes from https://pypi.python.org/pypi/inflection/json -md5 7941165e9f148e0520023941c0886b40 inflection-0.3.1.tar.gz -sha256 18ea7fb7a7d152853386523def08736aa8c32636b047ade55f7578c4edeb16ca inflection-0.3.1.tar.gz -# License file, locally calculated -sha256 4a3f52ac1012a90db398e4c55f1d1bea501dddafef8a4b3adb7533b1d820e148 LICENSE diff --git a/buildroot-2021.05/package/python-inflection/python-inflection.mk b/buildroot-2021.05/package/python-inflection/python-inflection.mk deleted file mode 100644 index 7309880c..00000000 --- a/buildroot-2021.05/package/python-inflection/python-inflection.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-inflection -# -################################################################################ - -PYTHON_INFLECTION_VERSION = 0.3.1 -PYTHON_INFLECTION_SOURCE = inflection-$(PYTHON_INFLECTION_VERSION).tar.gz -PYTHON_INFLECTION_SITE = https://pypi.python.org/packages/d5/35/a6eb45b4e2356fe688b21570864d4aa0d0a880ce387defe9c589112077f8 -PYTHON_INFLECTION_SETUP_TYPE = setuptools -PYTHON_INFLECTION_LICENSE = MIT -PYTHON_INFLECTION_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-ipaddr/Config.in b/buildroot-2021.05/package/python-ipaddr/Config.in deleted file mode 100644 index 57279273..00000000 --- a/buildroot-2021.05/package/python-ipaddr/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_IPADDR - bool "python-ipaddr" - depends on BR2_PACKAGE_PYTHON # included since python3.3 - help - An IPv4/IPv6 manipulation library in Python. This library is - used to create/poke/manipulate IPv4 and IPv6 addresses and - prefixes. - - https://github.com/google/ipaddr-py diff --git a/buildroot-2021.05/package/python-ipaddr/python-ipaddr.hash b/buildroot-2021.05/package/python-ipaddr/python-ipaddr.hash deleted file mode 100644 index d9963a29..00000000 --- a/buildroot-2021.05/package/python-ipaddr/python-ipaddr.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ipaddr/json -md5 f88353e40dec06410acfa075b8209b27 ipaddr-2.2.0.tar.gz -sha256 4092dfe667588d16aa12b59acb7c8a4024e5dcb23a681cd0b0b602373eca88d6 ipaddr-2.2.0.tar.gz -# Locally computed sha256 checksums -sha256 175b3b509d5c840db72ad8c22d22a690d15c67b317f34de8a8bb0a66059e8215 COPYING diff --git a/buildroot-2021.05/package/python-ipaddr/python-ipaddr.mk b/buildroot-2021.05/package/python-ipaddr/python-ipaddr.mk deleted file mode 100644 index 9a5d1475..00000000 --- a/buildroot-2021.05/package/python-ipaddr/python-ipaddr.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-ipaddr -# -################################################################################ - -PYTHON_IPADDR_VERSION = 2.2.0 -PYTHON_IPADDR_SOURCE = ipaddr-$(PYTHON_IPADDR_VERSION).tar.gz -PYTHON_IPADDR_SITE = https://files.pythonhosted.org/packages/9d/a7/1b39a16cb90dfe491f57e1cab3103a15d4e8dd9a150872744f531b1106c1 -PYTHON_IPADDR_SETUP_TYPE = distutils -PYTHON_IPADDR_LICENSE = Apache-2.0 -PYTHON_IPADDR_LICENSE_FILES = COPYING - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ipaddress/Config.in b/buildroot-2021.05/package/python-ipaddress/Config.in deleted file mode 100644 index b2b9f0b1..00000000 --- a/buildroot-2021.05/package/python-ipaddress/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_IPADDRESS - bool "python-ipaddress" - depends on BR2_PACKAGE_PYTHON - help - Python 3.3's ipaddress for older Python versions. - - https://github.com/phihag/ipaddress diff --git a/buildroot-2021.05/package/python-ipaddress/python-ipaddress.hash b/buildroot-2021.05/package/python-ipaddress/python-ipaddress.hash deleted file mode 100644 index e61835e1..00000000 --- a/buildroot-2021.05/package/python-ipaddress/python-ipaddress.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ipaddress/json -md5 aaee67a8026782af1831148beb0d9060 ipaddress-1.0.23.tar.gz -sha256 b7f8e0369580bb4a24d5ba1d7cc29660a4a6987763faf1d8a8046830e020e7e2 ipaddress-1.0.23.tar.gz -# Locally computed sha256 checksums -sha256 38675419eb4a79ec616396d70f1254b3a433fb7088fb3f4cc9b6c0bcdcec6162 LICENSE diff --git a/buildroot-2021.05/package/python-ipaddress/python-ipaddress.mk b/buildroot-2021.05/package/python-ipaddress/python-ipaddress.mk deleted file mode 100644 index 8f1ad5ff..00000000 --- a/buildroot-2021.05/package/python-ipaddress/python-ipaddress.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-ipaddress -# -################################################################################ - -PYTHON_IPADDRESS_VERSION = 1.0.23 -PYTHON_IPADDRESS_SOURCE = ipaddress-$(PYTHON_IPADDRESS_VERSION).tar.gz -PYTHON_IPADDRESS_SITE = https://files.pythonhosted.org/packages/b9/9a/3e9da40ea28b8210dd6504d3fe9fe7e013b62bf45902b458d1cdc3c34ed9 -PYTHON_IPADDRESS_LICENSE = Python-2.0 -PYTHON_IPADDRESS_LICENSE_FILES = LICENSE -PYTHON_IPADDRESS_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ipdb/Config.in b/buildroot-2021.05/package/python-ipdb/Config.in deleted file mode 100644 index 4a89bf75..00000000 --- a/buildroot-2021.05/package/python-ipdb/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_IPDB - bool "python-ipdb" - depends on BR2_PACKAGE_PYTHON3 # python-ipython - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_IPYTHON # runtime - help - IPython-enabled pdb. - - https://github.com/gotcha/ipdb diff --git a/buildroot-2021.05/package/python-ipdb/python-ipdb.hash b/buildroot-2021.05/package/python-ipdb/python-ipdb.hash deleted file mode 100644 index c7cd9322..00000000 --- a/buildroot-2021.05/package/python-ipdb/python-ipdb.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ipdb/json -md5 7db72771b279924ac4e5905d7eee184e ipdb-0.13.2.tar.gz -sha256 77fb1c2a6fccdfee0136078c9ed6fe547ab00db00bebff181f1e8c9e13418d49 ipdb-0.13.2.tar.gz -# Locally computed sha256 checksums -sha256 4eeb49de04f4894f8ea1f69a04f500799041b750b3d554c06de5ca877258e734 COPYING.txt diff --git a/buildroot-2021.05/package/python-ipdb/python-ipdb.mk b/buildroot-2021.05/package/python-ipdb/python-ipdb.mk deleted file mode 100644 index c98f9700..00000000 --- a/buildroot-2021.05/package/python-ipdb/python-ipdb.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-ipdb -# -################################################################################ - -PYTHON_IPDB_VERSION = 0.13.2 -PYTHON_IPDB_SOURCE = ipdb-$(PYTHON_IPDB_VERSION).tar.gz -PYTHON_IPDB_SITE = https://files.pythonhosted.org/packages/2c/bb/a3e1a441719ebd75c6dac8170d3ddba884b7ee8a5c0f9aefa7297386627a -PYTHON_IPDB_SETUP_TYPE = setuptools -PYTHON_IPDB_LICENSE = BSD-3-Clause -PYTHON_IPDB_LICENSE_FILES = COPYING.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-iptables/Config.in b/buildroot-2021.05/package/python-iptables/Config.in deleted file mode 100644 index a35577ba..00000000 --- a/buildroot-2021.05/package/python-iptables/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_IPTABLES - bool "python-iptables" - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_IPTABLES # runtime dependency - help - Python bindings for iptables. - - https://github.com/ldx/python-iptables - -comment "python-iptables needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/python-iptables/python-iptables.mk b/buildroot-2021.05/package/python-iptables/python-iptables.mk deleted file mode 100644 index 72bf292c..00000000 --- a/buildroot-2021.05/package/python-iptables/python-iptables.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-iptables -# -################################################################################ - -PYTHON_IPTABLES_VERSION = 1.0.0 -PYTHON_IPTABLES_SITE = https://files.pythonhosted.org/packages/ca/6e/cba9c6f4b5a1963b7f5b015f5ed5e2eec7a94ac460570e3474177c4004d6 -PYTHON_IPTABLES_SETUP_TYPE = setuptools -PYTHON_IPTABLES_LICENSE = Apache-2.0 -PYTHON_IPTABLES_LICENSE_FILES = NOTICE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ipy/Config.in b/buildroot-2021.05/package/python-ipy/Config.in deleted file mode 100644 index bead932d..00000000 --- a/buildroot-2021.05/package/python-ipy/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_IPY - bool "python-ipy" - depends on BR2_PACKAGE_PYTHON - help - IPy - class and tools for handling of IPv4 and - IPv6 addresses and networks. - - https://github.com/haypo/python-ipy/ diff --git a/buildroot-2021.05/package/python-ipy/python-ipy.hash b/buildroot-2021.05/package/python-ipy/python-ipy.hash deleted file mode 100644 index 641a2eb2..00000000 --- a/buildroot-2021.05/package/python-ipy/python-ipy.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ipy/json -md5 1a90c68174234672241a7e60c7ea0fb9 IPy-1.00.tar.gz -sha256 2f2bf658a858d43868d8a4352b3889cf78c66e2ce678b300dcf518c9149ba621 IPy-1.00.tar.gz -# Locally computed sha256 checksums -sha256 078bb46799e46e51e7239c24ff130d345db911c11efafef5e3c45dfb7adb0a61 COPYING diff --git a/buildroot-2021.05/package/python-ipy/python-ipy.mk b/buildroot-2021.05/package/python-ipy/python-ipy.mk deleted file mode 100644 index 817b531e..00000000 --- a/buildroot-2021.05/package/python-ipy/python-ipy.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-ipy -# -################################################################################ - -PYTHON_IPY_VERSION = 1.00 -PYTHON_IPY_SOURCE = IPy-$(PYTHON_IPY_VERSION).tar.gz -PYTHON_IPY_SITE = https://files.pythonhosted.org/packages/e1/66/b6dd22472bb027556849876beae2dd4dca3a4eaf2dd3039277b4edb8c6af -PYTHON_IPY_LICENSE = BSD-3-Clause -PYTHON_IPY_LICENSE_FILES = COPYING -PYTHON_IPY_SETUP_TYPE = distutils - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ipython/Config.in b/buildroot-2021.05/package/python-ipython/Config.in deleted file mode 100644 index c151ac2d..00000000 --- a/buildroot-2021.05/package/python-ipython/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_PYTHON_IPYTHON - bool "python-ipython" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_BACKCALL # runtime - select BR2_PACKAGE_PYTHON_DECORATOR # runtime - select BR2_PACKAGE_PYTHON_JEDI # runtime - select BR2_PACKAGE_PYTHON_PICKLESHARE # runtime - select BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT # runtime - select BR2_PACKAGE_PYTHON_PYGMENTS # runtime - select BR2_PACKAGE_PYTHON_PEXPECT # runtime - select BR2_PACKAGE_PYTHON_TRAITLETS # runtime - help - IPython is a command shell for interactive computing in - multiple programming languages, originally developed for the - Python programming language, that offers enhanced - introspection, rich media, additional shell syntax, tab - completion, and rich history. - - http://ipython.org/ diff --git a/buildroot-2021.05/package/python-ipython/python-ipython.hash b/buildroot-2021.05/package/python-ipython/python-ipython.hash deleted file mode 100644 index e8e25f5c..00000000 --- a/buildroot-2021.05/package/python-ipython/python-ipython.hash +++ /dev/null @@ -1,6 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ipython/json -md5 68542bca2ebf39af7d9d0557e7fb5708 ipython-7.9.0.tar.gz -sha256 dfd303b270b7b5232b3d08bd30ec6fd685d8a58cabd54055e3d69d8f029f7280 ipython-7.9.0.tar.gz -# Locally computed sha256 checksums -sha256 341afcbd729887b7046fe7b98fc4f4edff3aed8d38f06eefd9b30670f043df17 COPYING.rst -sha256 e0e390748ed440ab893ca1f135a88a920aaf5409dbb90a5b427c75c5e51268fb LICENSE diff --git a/buildroot-2021.05/package/python-ipython/python-ipython.mk b/buildroot-2021.05/package/python-ipython/python-ipython.mk deleted file mode 100644 index 8136353a..00000000 --- a/buildroot-2021.05/package/python-ipython/python-ipython.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-ipython -# -################################################################################ - -PYTHON_IPYTHON_VERSION = 7.9.0 -PYTHON_IPYTHON_SOURCE = ipython-$(PYTHON_IPYTHON_VERSION).tar.gz -PYTHON_IPYTHON_SITE = https://files.pythonhosted.org/packages/c0/e5/ba19ae58e9bdd80832332873cb4e11a90cf2049df052c1aadeabc2cdadeb -PYTHON_IPYTHON_LICENSE = BSD-3-Clause -PYTHON_IPYTHON_LICENSE_FILES = COPYING.rst LICENSE -PYTHON_IPYTHON_CPE_ID_VENDOR = ipython -PYTHON_IPYTHON_CPE_ID_PRODUCT = ipython -PYTHON_IPYTHON_SETUP_TYPE = distutils - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-itsdangerous/Config.in b/buildroot-2021.05/package/python-itsdangerous/Config.in deleted file mode 100644 index 39ec0b77..00000000 --- a/buildroot-2021.05/package/python-itsdangerous/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_ITSDANGEROUS - bool "python-itsdangerous" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - Itsdangerous contains various helpers to pass data to - untrusted environments and to get it back safe and sound. - - http://pythonhosted.org/itsdangerous/ diff --git a/buildroot-2021.05/package/python-itsdangerous/python-itsdangerous.hash b/buildroot-2021.05/package/python-itsdangerous/python-itsdangerous.hash deleted file mode 100644 index 0904a911..00000000 --- a/buildroot-2021.05/package/python-itsdangerous/python-itsdangerous.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/itsdangerous/json -md5 9b7f5afa7f1e3acfb7786eeca3d99307 itsdangerous-1.1.0.tar.gz -sha256 321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19 itsdangerous-1.1.0.tar.gz -sha256 feb28bfa348d816b0e7dbaeddf18499ee7e8007c67813db8d6ab37c65e046cd4 LICENSE.rst diff --git a/buildroot-2021.05/package/python-itsdangerous/python-itsdangerous.mk b/buildroot-2021.05/package/python-itsdangerous/python-itsdangerous.mk deleted file mode 100644 index 94292337..00000000 --- a/buildroot-2021.05/package/python-itsdangerous/python-itsdangerous.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-itsdangerous -# -################################################################################ - -PYTHON_ITSDANGEROUS_VERSION = 1.1.0 -PYTHON_ITSDANGEROUS_SOURCE = itsdangerous-$(PYTHON_ITSDANGEROUS_VERSION).tar.gz -PYTHON_ITSDANGEROUS_SITE = https://files.pythonhosted.org/packages/68/1a/f27de07a8a304ad5fa817bbe383d1238ac4396da447fa11ed937039fa04b -PYTHON_ITSDANGEROUS_SETUP_TYPE = setuptools -PYTHON_ITSDANGEROUS_LICENSE = BSD-3-Clause -PYTHON_ITSDANGEROUS_LICENSE_FILES = LICENSE.rst - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-janus/Config.in b/buildroot-2021.05/package/python-janus/Config.in deleted file mode 100644 index a1ba0463..00000000 --- a/buildroot-2021.05/package/python-janus/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_JANUS - bool "python-janus" - depends on BR2_PACKAGE_PYTHON3 - help - Mixed sync-async queue to interoperate between asyncio - tasks and classic threads. - - https://github.com/aio-libs/janus/ diff --git a/buildroot-2021.05/package/python-janus/python-janus.hash b/buildroot-2021.05/package/python-janus/python-janus.hash deleted file mode 100644 index 7d914389..00000000 --- a/buildroot-2021.05/package/python-janus/python-janus.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/janus/json -md5 dad6a03e7664cb800ce45ef8bcf12439 janus-0.6.1.tar.gz -sha256 4712e0ef75711fe5947c2db855bc96221a9a03641b52e5ae8e25c2b705dd1d0c janus-0.6.1.tar.gz -# Locally computed sha256 checksums -sha256 8b177cccb6ddec12a9fc97bd49e7e2bbcd92464625624bd8bdbfad799ae606e9 LICENSE diff --git a/buildroot-2021.05/package/python-janus/python-janus.mk b/buildroot-2021.05/package/python-janus/python-janus.mk deleted file mode 100644 index 2b08733c..00000000 --- a/buildroot-2021.05/package/python-janus/python-janus.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-janus -# -################################################################################ - -PYTHON_JANUS_VERSION = 0.6.1 -PYTHON_JANUS_SOURCE = janus-$(PYTHON_JANUS_VERSION).tar.gz -PYTHON_JANUS_SITE = https://files.pythonhosted.org/packages/7c/1b/8769c2dca84dd8ca92e48b14750c7106ff4313df4fee651dbc3cd9e345a9 -PYTHON_JANUS_SETUP_TYPE = setuptools -PYTHON_JANUS_LICENSE = Apache-2.0 -PYTHON_JANUS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-jaraco-functools/Config.in b/buildroot-2021.05/package/python-jaraco-functools/Config.in deleted file mode 100644 index 6c914f38..00000000 --- a/buildroot-2021.05/package/python-jaraco-functools/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS - bool "python-jaraco-functools" - depends on BR2_PACKAGE_PYTHON3 # python-more-itertools - select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime - help - Additional functools in the spirit of stdlib’s - functools. - - https://github.com/jaraco/jaraco.functools diff --git a/buildroot-2021.05/package/python-jedi/Config.in b/buildroot-2021.05/package/python-jedi/Config.in deleted file mode 100644 index e14fa54f..00000000 --- a/buildroot-2021.05/package/python-jedi/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_JEDI - bool "python-jedi" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_PARSO # runtime - help - An autocompletion tool for Python that can be used for text - editors. - - https://github.com/davidhalter/jedi diff --git a/buildroot-2021.05/package/python-jedi/python-jedi.hash b/buildroot-2021.05/package/python-jedi/python-jedi.hash deleted file mode 100644 index 018429bd..00000000 --- a/buildroot-2021.05/package/python-jedi/python-jedi.hash +++ /dev/null @@ -1,7 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/jedi/json -md5 72707c00e8d6d0b190a5e5664be1cac5 jedi-0.18.0.tar.gz -sha256 92550a404bad8afed881a137ec9a461fed49eca661414be45059329614ed0707 jedi-0.18.0.tar.gz -# Locally computed sha256 checksums -sha256 78e60cd0b8f28694f30195482c33d76908d846b0d15278deb7332aa22ba8e412 LICENSE.txt -sha256 235e993965d399a25e7d493d25c8622f78718510884b9c051f1f1866b6f34e9d jedi/third_party/django-stubs/LICENSE.txt -sha256 b41b78f562a2e65b75cab44354335f6f435d4ef73065509600ac910cf4e22fe0 jedi/third_party/typeshed/LICENSE diff --git a/buildroot-2021.05/package/python-jedi/python-jedi.mk b/buildroot-2021.05/package/python-jedi/python-jedi.mk deleted file mode 100644 index bfe56b7c..00000000 --- a/buildroot-2021.05/package/python-jedi/python-jedi.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-jedi -# -################################################################################ - -PYTHON_JEDI_VERSION = 0.18.0 -PYTHON_JEDI_SOURCE = jedi-$(PYTHON_JEDI_VERSION).tar.gz -PYTHON_JEDI_SITE = https://files.pythonhosted.org/packages/ac/11/5c542bf206efbae974294a61febc61e09d74cb5d90d8488793909db92537 -PYTHON_JEDI_SETUP_TYPE = setuptools -PYTHON_JEDI_LICENSE = MIT, Apache-2.0 (typeshed) -PYTHON_JEDI_LICENSE_FILES = LICENSE.txt jedi/third_party/django-stubs/LICENSE.txt jedi/third_party/typeshed/LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-jinja2/Config.in b/buildroot-2021.05/package/python-jinja2/Config.in deleted file mode 100644 index 5b99df75..00000000 --- a/buildroot-2021.05/package/python-jinja2/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_JINJA2 - bool "python-jinja2" - select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime - select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3 - help - Jinja2 is a template engine written in pure Python. It - provides a Django inspired non-XML syntax but supports - inline expressions and an optional sandboxed environment. - - http://jinja.pocoo.org/ diff --git a/buildroot-2021.05/package/python-jinja2/python-jinja2.hash b/buildroot-2021.05/package/python-jinja2/python-jinja2.hash deleted file mode 100644 index 51590b17..00000000 --- a/buildroot-2021.05/package/python-jinja2/python-jinja2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/jinja2/json -md5 231dc00d34afb2672c497713fa9cdaaa Jinja2-2.11.3.tar.gz -sha256 a6d58433de0ae800347cab1fa3043cebbabe8baa9d29e668f1c768cb87a333c6 Jinja2-2.11.3.tar.gz -# Locally computed sha256 checksums -sha256 3b49dcee4105eb37bac10faf1be260408fe85d252b8e9df2e0979fc1e094437b LICENSE.rst diff --git a/buildroot-2021.05/package/python-jinja2/python-jinja2.mk b/buildroot-2021.05/package/python-jinja2/python-jinja2.mk deleted file mode 100644 index f91cac69..00000000 --- a/buildroot-2021.05/package/python-jinja2/python-jinja2.mk +++ /dev/null @@ -1,33 +0,0 @@ -################################################################################ -# -# python-jinja2 -# -################################################################################ - -# Please keep in sync with package/python3-jinja2/python3-jinja2.mk -PYTHON_JINJA2_VERSION = 2.11.3 -PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz -PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/4f/e7/65300e6b32e69768ded990494809106f87da1d436418d5f1367ed3966fd7 -PYTHON_JINJA2_SETUP_TYPE = setuptools -PYTHON_JINJA2_LICENSE = BSD-3-Clause -PYTHON_JINJA2_LICENSE_FILES = LICENSE.rst -PYTHON_JINJA2_CPE_ID_VENDOR = pocoo -PYTHON_JINJA2_CPE_ID_PRODUCT = jinja2 - -# In host build, setup.py tries to download markupsafe if it is not installed -HOST_PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe - -# Both asyncsupport.py and asyncfilters.py use async feature, that is -# not available in Python 2 and some features available in Python 3.6. -# So in both cases *.py compilation would produce compiler errors. -# Hence remove both files after package extraction. -ifeq ($(BR2_PACKAGE_PYTHON),y) -define PYTHON_JINJA2_REMOVE_ASYNC_SUPPORT - rm $(@D)/src/jinja2/asyncsupport.py $(@D)/src/jinja2/asyncfilters.py -endef - -PYTHON_JINJA2_POST_EXTRACT_HOOKS = PYTHON_JINJA2_REMOVE_ASYNC_SUPPORT -endif - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-jsonschema/Config.in b/buildroot-2021.05/package/python-jsonschema/Config.in deleted file mode 100644 index b547f4ae..00000000 --- a/buildroot-2021.05/package/python-jsonschema/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_JSONSCHEMA - bool "python-jsonschema" - select BR2_PACKAGE_PYTHON_FUNCTOOLS32 if BR2_PACKAGE_PYTHON # runtime - help - An implementation of JSON Schema validation for Python. - - http://github.com/Julian/jsonschema diff --git a/buildroot-2021.05/package/python-keyring/Config.in b/buildroot-2021.05/package/python-keyring/Config.in deleted file mode 100644 index 18fad840..00000000 --- a/buildroot-2021.05/package/python-keyring/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_PYTHON_KEYRING - bool "python-keyring" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_INSTALL_LIBSTDCPP # python-secretstorage - select BR2_PACKAGE_PYTHON_ENTRYPOINTS # runtime - select BR2_PACKAGE_PYTHON_SECRETSTORAGE # runtime - help - The Python keyring lib provides a easy way to access the - system keyring service from Python. - - https://pypi.python.org/pypi/keyring - -comment "python-keyring needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-libconfig/python-libconfig.mk b/buildroot-2021.05/package/python-libconfig/python-libconfig.mk deleted file mode 100644 index 2db7e99c..00000000 --- a/buildroot-2021.05/package/python-libconfig/python-libconfig.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# python-libconfig -# -################################################################################ - -PYTHON_LIBCONFIG_VERSION = b271c3d9dac938ad5cd29b67bd08cc5536a5a391 -PYTHON_LIBCONFIG_SITE = $(call github,cnangel,python-libconfig,$(PYTHON_LIBCONFIG_VERSION)) - -PYTHON_LIBCONFIG_LICENSE = BSD -PYTHON_LIBCONFIG_LICENSE_FILES = README - -PYTHON_LIBCONFIG_SETUP_TYPE = setuptools - -PYTHON_LIBCONFIG_DEPENDENCIES = libconfig boost - -ifeq ($(BR2_PACKAGE_PYTHON),y) -PYTHON_LIBCONFIG_PYVER = $(PYTHON_VERSION_MAJOR) -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -PYTHON_LIBCONFIG_PYVER = $(PYTHON3_VERSION_MAJOR) -endif - -define PYTHON_LIBCONFIG_FIX_SETUP - $(SED) 's/boost_python/boost_python$(subst .,,$(PYTHON_LIBCONFIG_PYVER))/g' \ - $(@D)/setup.py -endef -PYTHON_LIBCONFIG_POST_PATCH_HOOKS += PYTHON_LIBCONFIG_FIX_SETUP - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-libusb1/python-libusb1.hash b/buildroot-2021.05/package/python-libusb1/python-libusb1.hash deleted file mode 100644 index 21f48406..00000000 --- a/buildroot-2021.05/package/python-libusb1/python-libusb1.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5 from https://pypi.python.org/pypi/libusb1/json, sha256 locally computed -md5 cb4073182fef4cee6ab9c6666b48d1a1 libusb1-1.7.1.tar.gz -sha256 adf64a4f3f5c94643a1286f8153bcf4bc787c348b38934aacd7fe17fbeebc571 libusb1-1.7.1.tar.gz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER diff --git a/buildroot-2021.05/package/python-libusb1/python-libusb1.mk b/buildroot-2021.05/package/python-libusb1/python-libusb1.mk deleted file mode 100644 index 075f50f4..00000000 --- a/buildroot-2021.05/package/python-libusb1/python-libusb1.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-libusb1 -# -################################################################################ - -PYTHON_LIBUSB1_VERSION = 1.7.1 -PYTHON_LIBUSB1_SOURCE = libusb1-$(PYTHON_LIBUSB1_VERSION).tar.gz -PYTHON_LIBUSB1_SITE = https://files.pythonhosted.org/packages/80/bb/4ee9d760dd29499d877ee384f1d2bc6bb9923defd4c69843aef5e729972d -PYTHON_LIBUSB1_SETUP_TYPE = setuptools -PYTHON_LIBUSB1_LICENSE = LGPL-2.1+ -PYTHON_LIBUSB1_LICENSE_FILES = COPYING.LESSER -PYTHON_LIBUSB1_DEPENDENCIES = libusb - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-lmdb/python-lmdb.hash b/buildroot-2021.05/package/python-lmdb/python-lmdb.hash deleted file mode 100644 index cb28536d..00000000 --- a/buildroot-2021.05/package/python-lmdb/python-lmdb.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/lmdb/json -md5 507049767b995c3c6a93b3bd97567c71 lmdb-0.99.tar.gz -sha256 f9eb844aaaacc8a4bc175e1c1f8a8fb538c330e378fd9eb40e8708d4dca7dc89 lmdb-0.99.tar.gz -# Locally computed sha256 checksums -sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/buildroot-2021.05/package/python-lmdb/python-lmdb.mk b/buildroot-2021.05/package/python-lmdb/python-lmdb.mk deleted file mode 100644 index bf98ba19..00000000 --- a/buildroot-2021.05/package/python-lmdb/python-lmdb.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-lmdb -# -################################################################################ - -PYTHON_LMDB_VERSION = 0.99 -PYTHON_LMDB_SOURCE = lmdb-$(PYTHON_LMDB_VERSION).tar.gz -PYTHON_LMDB_SITE = https://files.pythonhosted.org/packages/3b/66/aa6f3a3e338a3ca263575ce6f722c2fdcd21039a03b55c722e0ae0b216db -PYTHON_LMDB_LICENSE = OLDAP-2.8 -PYTHON_LMDB_LICENSE_FILES = LICENSE -PYTHON_LMDB_SETUP_TYPE = setuptools -PYTHON_LMDB_DEPENDENCIES = host-python-cffi - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-logbook/Config.in b/buildroot-2021.05/package/python-logbook/Config.in deleted file mode 100644 index d4fbf0fe..00000000 --- a/buildroot-2021.05/package/python-logbook/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_LOGBOOK - bool "python-logbook" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - A logging replacement for Python. - - http://logbook.pocoo.org/ diff --git a/buildroot-2021.05/package/python-lxml/Config.in b/buildroot-2021.05/package/python-lxml/Config.in deleted file mode 100644 index fcb30d56..00000000 --- a/buildroot-2021.05/package/python-lxml/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_LXML - bool "python-lxml" - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_LIBXSLT - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - The lxml XML toolkit is a Pythonic binding for the C libraries - libxml2 and libxslt. - - http://lxml.de/ diff --git a/buildroot-2021.05/package/python-lxml/python-lxml.hash b/buildroot-2021.05/package/python-lxml/python-lxml.hash deleted file mode 100644 index dd6446e6..00000000 --- a/buildroot-2021.05/package/python-lxml/python-lxml.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally computed -sha256 39b78571b3b30645ac77b95f7c69d1bffc4cf8c3b157c435a34da72e78c82468 lxml-4.6.3.tar.gz -sha256 41d49dd406aa0e1548a6d5f21a30d6bf638b3cd96eb7289dd348d83ed2e40392 LICENSES.txt -sha256 69edb445c1335a8312d4c09271847e9956d84f0d9f724d125340cc3fad767b2a doc/licenses/BSD.txt -sha256 0497ae8138811ef4466ede653bab7a59feb3d3c14f9ed50fc33a00aeb5bec32e doc/licenses/elementtree.txt -sha256 56c5b13f28b78958890c36e3249c34c169041e42ebcfdce8080f3324ba2bf4de src/lxml/isoschematron/resources/rng/iso-schematron.rng diff --git a/buildroot-2021.05/package/python-lxml/python-lxml.mk b/buildroot-2021.05/package/python-lxml/python-lxml.mk deleted file mode 100644 index 0d3775a1..00000000 --- a/buildroot-2021.05/package/python-lxml/python-lxml.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# python-lxml -# -################################################################################ - -PYTHON_LXML_VERSION = 4.6.3 -PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/e5/21/a2e4517e3d216f0051687eea3d3317557bde68736f038a3b105ac3809247 -PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tar.gz - -# Not including the GPL, because it is used only for the test scripts. -PYTHON_LXML_LICENSE = BSD-3-Clause, Others -PYTHON_LXML_LICENSE_FILES = \ - LICENSES.txt \ - doc/licenses/BSD.txt \ - doc/licenses/elementtree.txt \ - src/lxml/isoschematron/resources/rng/iso-schematron.rng -PYTHON_LXML_CPE_ID_VENDOR = lxml -PYTHON_LXML_CPE_ID_PRODUCT = lxml - -# python-lxml can use either setuptools, or distutils as a fallback. -# So, we use setuptools. -PYTHON_LXML_SETUP_TYPE = setuptools - -PYTHON_LXML_DEPENDENCIES = libxml2 libxslt zlib -HOST_PYTHON_LXML_DEPENDENCIES = host-libxml2 host-libxslt host-zlib - -# python-lxml needs these scripts in order to properly detect libxml2 and -# libxslt compiler and linker flags -PYTHON_LXML_BUILD_OPTS = \ - --xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ - --xml2-config=$(STAGING_DIR)/usr/bin/xml2-config -HOST_PYTHON_LXML_BUILD_OPTS = \ - --xslt-config=$(HOST_DIR)/bin/xslt-config \ - --xml2-config=$(HOST_DIR)/bin/xml2-config - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-m2crypto/Config.in b/buildroot-2021.05/package/python-m2crypto/Config.in deleted file mode 100644 index 7481d49e..00000000 --- a/buildroot-2021.05/package/python-m2crypto/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_M2CRYPTO - bool "python-m2crypto" - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_TYPING if BR2_PACKAGE_PYTHON # runtime - help - M2Crypto: A Python crypto and SSL toolkit. - - https://gitlab.com/m2crypto/m2crypto diff --git a/buildroot-2021.05/package/python-m2crypto/python-m2crypto.hash b/buildroot-2021.05/package/python-m2crypto/python-m2crypto.hash deleted file mode 100644 index 1ccc786f..00000000 --- a/buildroot-2021.05/package/python-m2crypto/python-m2crypto.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/m2crypto/json -md5 1f3095440092ca5e54007d1f3fa2562a M2Crypto-0.37.1.tar.gz -sha256 e4e42f068b78ccbf113e5d0a72ae5f480f6c3ace4940b91e4fff5598cfff6fb3 M2Crypto-0.37.1.tar.gz -# Locally computed sha256 checksums -sha256 4eca478396f4b2b020729a111fce3f096456d74500bfd8f2b0388c3c69f997c0 LICENCE diff --git a/buildroot-2021.05/package/python-m2crypto/python-m2crypto.mk b/buildroot-2021.05/package/python-m2crypto/python-m2crypto.mk deleted file mode 100644 index 995c5cd6..00000000 --- a/buildroot-2021.05/package/python-m2crypto/python-m2crypto.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# python-m2crypto -# -################################################################################ - -PYTHON_M2CRYPTO_VERSION = 0.37.1 -PYTHON_M2CRYPTO_SOURCE = M2Crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz -PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/aa/36/9fef97358e378c1d3bd567c4e8f8ca0428a8d7e869852cef445ee6da91fd -PYTHON_M2CRYPTO_SETUP_TYPE = setuptools -PYTHON_M2CRYPTO_LICENSE = MIT -PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE -PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project -PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto -PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig -PYTHON_M2CRYPTO_BUILD_OPTS = --openssl=$(STAGING_DIR)/usr - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-mad/Config.in b/buildroot-2021.05/package/python-mad/Config.in deleted file mode 100644 index 25354213..00000000 --- a/buildroot-2021.05/package/python-mad/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_MAD - bool "python-mad" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_LIBMAD - help - python-mad is a Python binding for the MAD library, a - high-quality integer-only MPEG decoder. - - http://spacepants.org/src/pymad/ diff --git a/buildroot-2021.05/package/python-mad/python-mad.hash b/buildroot-2021.05/package/python-mad/python-mad.hash deleted file mode 100644 index 7b19ae5a..00000000 --- a/buildroot-2021.05/package/python-mad/python-mad.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 1c9fc529b78de7d26e9e47cf182c9f8bf43838d8f62a9c1773540d57f5ebc522 pymad-0.6.tar.gz -sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/buildroot-2021.05/package/python-mad/python-mad.mk b/buildroot-2021.05/package/python-mad/python-mad.mk deleted file mode 100644 index a2221487..00000000 --- a/buildroot-2021.05/package/python-mad/python-mad.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# python-mad -# -################################################################################ - -PYTHON_MAD_VERSION = 0.6 -PYTHON_MAD_SOURCE = pymad-$(PYTHON_MAD_VERSION).tar.gz -PYTHON_MAD_SITE = http://spacepants.org/src/pymad/download -PYTHON_MAD_SETUP_TYPE = distutils -PYTHON_MAD_LICENSE = GPL-2.0+ -PYTHON_MAD_LICENSE_FILES = COPYING - -PYTHON_MAD_DEPENDENCIES = libmad - -ifeq ($(BR2_ENDIAN),"LITTLE") -PYTHON_MAD_ENDIAN = little -else -PYTHON_MAD_ENDIAN = big -endif - -define PYTHON_MAD_CONFIGURE_CMDS - echo "endian = $(PYTHON_MAD_ENDIAN)" > $(@D)/Setup - echo "mad_libs = mad" >> $(@D)/Setup - echo "mad_lib_dir = $(STAGING_DIR)/usr/lib" >> $(@D)/Setup - echo "mad_include_dir = $(STAGING_DIR)/usr/include" >> $(@D)/Setup -endef - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-mako/python-mako.hash b/buildroot-2021.05/package/python-mako/python-mako.hash deleted file mode 100644 index 35379992..00000000 --- a/buildroot-2021.05/package/python-mako/python-mako.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/mako/json -md5 184bb2ba4b937127e7c557b93db89377 Mako-1.1.3.tar.gz -sha256 8195c8c1400ceb53496064314c6736719c6f25e7479cd24c77be3d9361cddc27 Mako-1.1.3.tar.gz -# Locally computed sha256 checksums -sha256 47cd0d41b1092f9161cfb629ed15e5cea185144710ff4633a4281ef088ff5de7 LICENSE diff --git a/buildroot-2021.05/package/python-mako/python-mako.mk b/buildroot-2021.05/package/python-mako/python-mako.mk deleted file mode 100644 index d5d49f25..00000000 --- a/buildroot-2021.05/package/python-mako/python-mako.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# python-mako -# -################################################################################ - -# Please keep in sync with -# package/python3-mako/python3-mako.mk -PYTHON_MAKO_VERSION = 1.1.3 -PYTHON_MAKO_SOURCE = Mako-$(PYTHON_MAKO_VERSION).tar.gz -PYTHON_MAKO_SITE = https://files.pythonhosted.org/packages/72/89/402d2b4589e120ca76a6aed8fee906a0f5ae204b50e455edd36eda6e778d -PYTHON_MAKO_SETUP_TYPE = setuptools -PYTHON_MAKO_LICENSE = MIT -PYTHON_MAKO_LICENSE_FILES = LICENSE - -# In host build, setup.py tries to download markupsafe if it is not installed -HOST_PYTHON_MAKO_DEPENDENCIES = host-python-markupsafe - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-markdown/Config.in b/buildroot-2021.05/package/python-markdown/Config.in deleted file mode 100644 index 454c2729..00000000 --- a/buildroot-2021.05/package/python-markdown/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_MARKDOWN - bool "python-markdown" - depends on BR2_PACKAGE_PYTHON3 - # runtime dependency on Python's xml module - select BR2_PACKAGE_PYTHON3_PYEXPAT - help - This is a Python implementation of John Gruber's Markdown - - https://pypi.python.org/pypi/Markdown diff --git a/buildroot-2021.05/package/python-markdown/python-markdown.hash b/buildroot-2021.05/package/python-markdown/python-markdown.hash deleted file mode 100644 index 4d54ce92..00000000 --- a/buildroot-2021.05/package/python-markdown/python-markdown.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/markdown/json -md5 7a894dc55992b37cdbcba5c4049455fc Markdown-3.2.1.tar.gz -sha256 90fee683eeabe1a92e149f7ba74e5ccdc81cd397bd6c516d93a8da0ef90b6902 Markdown-3.2.1.tar.gz -# Locally computed sha256 -sha256 6f1193cb634718e65c3a537d6e25ebd614820ec0ef693cfc12248112638d64da LICENSE.md diff --git a/buildroot-2021.05/package/python-markdown/python-markdown.mk b/buildroot-2021.05/package/python-markdown/python-markdown.mk deleted file mode 100644 index 1f352fd7..00000000 --- a/buildroot-2021.05/package/python-markdown/python-markdown.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-markdown -# -################################################################################ - -PYTHON_MARKDOWN_VERSION = 3.2.1 -PYTHON_MARKDOWN_SOURCE = Markdown-$(PYTHON_MARKDOWN_VERSION).tar.gz -PYTHON_MARKDOWN_SITE = https://files.pythonhosted.org/packages/98/79/ce6984767cb9478e6818bd0994283db55c423d733cc62a88a3ffb8581e11 -PYTHON_MARKDOWN_LICENSE = BSD-3-Clause -PYTHON_MARKDOWN_LICENSE_FILES = LICENSE.md -PYTHON_MARKDOWN_SETUP_TYPE = setuptools - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-markdown2/python-markdown2.hash b/buildroot-2021.05/package/python-markdown2/python-markdown2.hash deleted file mode 100644 index 03315fd3..00000000 --- a/buildroot-2021.05/package/python-markdown2/python-markdown2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/markdown2/json -md5 5c1f9002060cf534bde0bdd584d6b70a markdown2-2.3.9.tar.gz -sha256 89526090907ae5ece66d783c434b35c29ee500c1986309e306ce2346273ada6a markdown2-2.3.9.tar.gz -# Locally computed sha256 checksums -sha256 f8c7c4d554409cf621b8d653dbfffb719745fd36f5c49b8305258649b403ef9c LICENSE.txt diff --git a/buildroot-2021.05/package/python-markdown2/python-markdown2.mk b/buildroot-2021.05/package/python-markdown2/python-markdown2.mk deleted file mode 100644 index 3ffa3579..00000000 --- a/buildroot-2021.05/package/python-markdown2/python-markdown2.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-markdown2 -# -################################################################################ - -PYTHON_MARKDOWN2_VERSION = 2.3.9 -PYTHON_MARKDOWN2_SOURCE = markdown2-$(PYTHON_MARKDOWN2_VERSION).tar.gz -PYTHON_MARKDOWN2_SITE = https://files.pythonhosted.org/packages/14/69/c542025f80916457ff4fe962404a27ab6417d43822fe54bf88ee2dd1b36f -PYTHON_MARKDOWN2_SETUP_TYPE = setuptools -PYTHON_MARKDOWN2_LICENSE = MIT -PYTHON_MARKDOWN2_LICENSE_FILES = LICENSE.txt -PYTHON_MARKDOWN2_CPE_ID_VENDOR = python-markdown2_project - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-markupsafe/python-markupsafe.hash b/buildroot-2021.05/package/python-markupsafe/python-markupsafe.hash deleted file mode 100644 index df07662a..00000000 --- a/buildroot-2021.05/package/python-markupsafe/python-markupsafe.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5 from https://pypi.python.org/pypi/markupsafe/json, sha256 locally computed -md5 43fd756864fe42063068e092e220c57b MarkupSafe-1.1.1.tar.gz -sha256 29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b MarkupSafe-1.1.1.tar.gz -sha256 489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea LICENSE.rst diff --git a/buildroot-2021.05/package/python-markupsafe/python-markupsafe.mk b/buildroot-2021.05/package/python-markupsafe/python-markupsafe.mk deleted file mode 100644 index f067d94f..00000000 --- a/buildroot-2021.05/package/python-markupsafe/python-markupsafe.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-markupsafe -# -################################################################################ - -# Please keep in sync with package/python3-markupsafe/python3-markupsafe.mk -PYTHON_MARKUPSAFE_VERSION = 1.1.1 -PYTHON_MARKUPSAFE_SOURCE = MarkupSafe-$(PYTHON_MARKUPSAFE_VERSION).tar.gz -PYTHON_MARKUPSAFE_SITE = https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094 -PYTHON_MARKUPSAFE_SETUP_TYPE = setuptools -PYTHON_MARKUPSAFE_LICENSE = BSD-3-Clause -PYTHON_MARKUPSAFE_LICENSE_FILES = LICENSE.rst - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-matplotlib/0001-Fix-invalid-inclusion-headers.patch b/buildroot-2021.05/package/python-matplotlib/0001-Fix-invalid-inclusion-headers.patch deleted file mode 100644 index b10bfb32..00000000 --- a/buildroot-2021.05/package/python-matplotlib/0001-Fix-invalid-inclusion-headers.patch +++ /dev/null @@ -1,29 +0,0 @@ -From b0232c3cf1051749dd1e2bd0ec7c5c0a3a008d2f Mon Sep 17 00:00:00 2001 -From: Jugurtha BELKALEM -Date: Thu, 9 May 2019 15:06:36 +0200 -Subject: [PATCH] Fix invalid inclusion headers - -By default, matplotlib includes headers from host -machine which breaks the build process. - -Signed-off-by: Jugurtha BELKALEM ---- - python-matplotlib-3.0.3/setupext.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setupext.py b/setupext.py -index fc82d5d..eb978d2 100644 ---- a/setupext.py -+++ b/setupext.py -@@ -267,7 +267,7 @@ def get_base_dirs(): - 'gnu0': ['/usr'], - 'aix5': ['/usr/local'], - } -- return basedir_map.get(sys.platform, ['/usr/local', '/usr']) -+ return basedir_map.get(sys.platform, []) - - - def get_include_dirs(): --- -2.7.4 - diff --git a/buildroot-2021.05/package/python-matplotlib/0002-Merge-pull-request-11983-from-anntzer-builddepchecks.patch b/buildroot-2021.05/package/python-matplotlib/0002-Merge-pull-request-11983-from-anntzer-builddepchecks.patch deleted file mode 100644 index b3a22acb..00000000 --- a/buildroot-2021.05/package/python-matplotlib/0002-Merge-pull-request-11983-from-anntzer-builddepchecks.patch +++ /dev/null @@ -1,170 +0,0 @@ -From 923ce72409f184bd8e8c61b196260891036ba87e Mon Sep 17 00:00:00 2001 -From: Antony Lee -Date: Thu, 30 Aug 2018 15:27:55 +0200 -Subject: [PATCH] Simplify version checks for freetype and libpng. - -Currently, setupext.py replicates a lot of work done by the compiler to -check whether header files are present, and whether freetype and libpng -have sufficiently recent versions. - -Instead, we can just add a small stub source file at the top of the -extension sources which just tries to include the header and checks the -version macros. If the header is not found, compilation will -immediately abort with `foo.h: No such file or directory`; if the -version is too old, we can emit an appropriate error message (`#pragma -message` is supported by all major compilers and allows expanding of -macros in the error message). - -[Retrieved from: -https://github.com/matplotlib/matplotlib/commit/d1060a885309ec7ac19ca912d3011a5eb1673bd5] -Signed-off-by: Fabrice Fontaine ---- - setupext.py | 83 +++++----------------------------------- - src/checkdep_freetype2.c | 13 +++++++ - src/checkdep_libpng.c | 5 +++ - 3 files changed, 28 insertions(+), 73 deletions(-) - create mode 100644 src/checkdep_freetype2.c - create mode 100644 src/checkdep_libpng.c - -diff --git a/setupext.py b/setupext.py -index d5f4b81f562..a5163e39288 100644 ---- a/setupext.py -+++ b/setupext.py -@@ -814,6 +814,13 @@ def add_flags(self, ext, add_sources=True): - for x in agg_sources) - - -+# For FreeType2 and libpng, we add a separate checkdep_foo.c source to at the -+# top of the extension sources. This file is compiled first and immediately -+# aborts the compilation either with "foo.h: No such file or directory" if the -+# header is not found, or an appropriate error message if the header indicates -+# a too-old version. -+ -+ - class FreeType(SetupPackage): - name = "freetype" - pkg_names = { -@@ -825,59 +832,8 @@ class FreeType(SetupPackage): - "windows_url": "http://gnuwin32.sourceforge.net/packages/freetype.htm" - } - -- def check(self): -- if options.get('local_freetype'): -- return "Using local version for testing" -- -- if sys.platform == 'win32': -- try: -- check_include_file(get_include_dirs(), 'ft2build.h', 'freetype') -- except CheckFailed: -- check_include_file(get_include_dirs(), os.path.join('freetype2', 'ft2build.h'), 'freetype') -- return 'Using unknown version found on system.' -- -- status, output = subprocess.getstatusoutput( -- "freetype-config --ftversion") -- if status == 0: -- version = output -- else: -- version = None -- -- # Early versions of freetype grep badly inside freetype-config, -- # so catch those cases. (tested with 2.5.3). -- if version is None or 'No such file or directory\ngrep:' in version: -- version = self.version_from_header() -- -- # pkg_config returns the libtool version rather than the -- # freetype version so we need to explicitly pass the version -- # to _check_for_pkg_config -- return self._check_for_pkg_config( -- 'freetype2', 'ft2build.h', -- min_version='2.3', version=version) -- -- def version_from_header(self): -- version = 'unknown' -- ext = self.get_extension() -- if ext is None: -- return version -- # Return the first version found in the include dirs. -- for include_dir in ext.include_dirs: -- header_fname = os.path.join(include_dir, 'freetype.h') -- if os.path.exists(header_fname): -- major, minor, patch = 0, 0, 0 -- with open(header_fname, 'r') as fh: -- for line in fh: -- if line.startswith('#define FREETYPE_'): -- value = line.rsplit(' ', 1)[1].strip() -- if 'MAJOR' in line: -- major = value -- elif 'MINOR' in line: -- minor = value -- else: -- patch = value -- return '.'.join([major, minor, patch]) -- - def add_flags(self, ext): -+ ext.sources.insert(0, 'src/checkdep_freetype2.c') - if options.get('local_freetype'): - src_path = os.path.join( - 'build', 'freetype-{0}'.format(LOCAL_FREETYPE_VERSION)) -@@ -1058,30 +1014,11 @@ class Png(SetupPackage): - "windows_url": "http://gnuwin32.sourceforge.net/packages/libpng.htm" - } - -- def check(self): -- if sys.platform == 'win32': -- check_include_file(get_include_dirs(), 'png.h', 'png') -- return 'Using unknown version found on system.' -- -- status, output = subprocess.getstatusoutput("libpng-config --version") -- if status == 0: -- version = output -- else: -- version = None -- -- try: -- return self._check_for_pkg_config( -- 'libpng', 'png.h', -- min_version='1.2', version=version) -- except CheckFailed as e: -- if has_include_file(get_include_dirs(), 'png.h'): -- return str(e) + ' Using unknown version found on system.' -- raise -- - def get_extension(self): - sources = [ -+ 'src/checkdep_libpng.c', - 'src/_png.cpp', -- 'src/mplutils.cpp' -+ 'src/mplutils.cpp', - ] - ext = make_extension('matplotlib._png', sources) - pkg_config.setup_extension( -diff --git a/src/checkdep_freetype2.c b/src/checkdep_freetype2.c -new file mode 100644 -index 00000000000..bf9a8c94e38 ---- /dev/null -+++ b/src/checkdep_freetype2.c -@@ -0,0 +1,13 @@ -+#include -+#include FT_FREETYPE_H -+ -+#define XSTR(x) STR(x) -+#define STR(x) #x -+ -+#pragma message("Compiling with FreeType version " \ -+ XSTR(FREETYPE_MAJOR) "." XSTR(FREETYPE_MINOR) "." XSTR(FREETYPE_PATCH) ".") -+#if FREETYPE_MAJOR << 16 + FREETYPE_MINOR << 8 + FREETYPE_PATCH < 0x020300 -+ #error "FreeType version 2.3 or higher is required." \ -+ "Consider setting the MPLLOCALFREETYPE environment variable to 1." -+ #error -+#endif -diff --git a/src/checkdep_libpng.c b/src/checkdep_libpng.c -new file mode 100644 -index 00000000000..5ebe5cbe4d7 ---- /dev/null -+++ b/src/checkdep_libpng.c -@@ -0,0 +1,5 @@ -+#include -+#pragma message("Compiling with libpng version " PNG_LIBPNG_VER_STRING ".") -+#if PNG_LIBPNG_VER < 10200 -+ #error "libpng version 1.2 or higher is required." -+#endif diff --git a/buildroot-2021.05/package/python-matplotlib/Config.in b/buildroot-2021.05/package/python-matplotlib/Config.in deleted file mode 100644 index e7e2804b..00000000 --- a/buildroot-2021.05/package/python-matplotlib/Config.in +++ /dev/null @@ -1,41 +0,0 @@ -config BR2_PACKAGE_PYTHON_MATPLOTLIB - bool "python-matplotlib" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy - select BR2_PACKAGE_FREETYPE # runtime - select BR2_PACKAGE_LIBPNG # runtime - select BR2_PACKAGE_PYTHON_CYCLER - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_DATEUTIL # runtime - select BR2_PACKAGE_PYTHON_KIWISOLVER # runtime - select BR2_PACKAGE_PYTHON_NUMPY # runtime - select BR2_PACKAGE_PYTHON_PYPARSING # runtime - select BR2_PACKAGE_PYTHON3_ZLIB # runtime - select BR2_PACKAGE_ZLIB # runtime - help - Matplotlib strives to produce publication quality 2D - graphics for interactive graphing, scientific publishing, - user interface development and web application servers - targeting multiple user interfaces and hardcopy output - formats. - - https://matplotlib.org/ - -if BR2_PACKAGE_PYTHON_MATPLOTLIB - -config BR2_PACKAGE_PYTHON_MATPLOTLIB_QT - bool "qt display" - depends on BR2_PACKAGE_QT5 # python-pyqt5 - select BR2_PACKAGE_PYTHON_PYQT5 - select BR2_PACKAGE_QT5BASE_FONTCONFIG - select BR2_PACKAGE_QT5BASE_WIDGETS - -endif - -comment "python-matplotlib needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - -comment "python-matplotlib needs glibc or musl" - depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) diff --git a/buildroot-2021.05/package/python-matplotlib/python-matplotlib.hash b/buildroot-2021.05/package/python-matplotlib/python-matplotlib.hash deleted file mode 100644 index ccb22eef..00000000 --- a/buildroot-2021.05/package/python-matplotlib/python-matplotlib.hash +++ /dev/null @@ -1,4 +0,0 @@ -# sha256 from https://pypi.org/project/matplotlib/#files -sha256 e1d33589e32f482d0a7d1957bf473d43341115d40d33f578dad44432e47df7b7 matplotlib-3.0.3.tar.gz -# Locally computed sha256 checksums -sha256 5a1a81ea301728c8bba2933da832c0cd62229daf20893a024ab3d53244468dbc LICENSE/LICENSE diff --git a/buildroot-2021.05/package/python-matplotlib/python-matplotlib.mk b/buildroot-2021.05/package/python-matplotlib/python-matplotlib.mk deleted file mode 100644 index 8d00ac8a..00000000 --- a/buildroot-2021.05/package/python-matplotlib/python-matplotlib.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# python-matplotlib -# -################################################################################ - -PYTHON_MATPLOTLIB_VERSION = 3.0.3 -PYTHON_MATPLOTLIB_SOURCE = matplotlib-$(PYTHON_MATPLOTLIB_VERSION).tar.gz -PYTHON_MATPLOTLIB_SITE = https://files.pythonhosted.org/packages/26/04/8b381d5b166508cc258632b225adbafec49bbe69aa9a4fa1f1b461428313 -PYTHON_MATPLOTLIB_LICENSE = Python-2.0 -PYTHON_MATPLOTLIB_LICENSE_FILES = LICENSE/LICENSE -PYTHON_MATPLOTLIB_DEPENDENCIES = host-pkgconf freetype host-python-numpy \ - libpng python-cycler -PYTHON_MATPLOTLIB_SETUP_TYPE = setuptools - -ifeq ($(BR2_PACKAGE_PYTHON_MATPLOTLIB_QT),y) -PYTHON_MATPLOTLIB_DEPENDENCIES += python-pyqt5 -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-mbstrdecoder/Config.in b/buildroot-2021.05/package/python-mbstrdecoder/Config.in deleted file mode 100644 index 5ba3a19c..00000000 --- a/buildroot-2021.05/package/python-mbstrdecoder/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_MBSTRDECODER - bool "python-mbstrdecoder" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_CHARDET # runtime - help - multi-byte character string decoder. - - https://github.com/thombashi/mbstrdecoder diff --git a/buildroot-2021.05/package/python-mbstrdecoder/python-mbstrdecoder.hash b/buildroot-2021.05/package/python-mbstrdecoder/python-mbstrdecoder.hash deleted file mode 100644 index 296930f6..00000000 --- a/buildroot-2021.05/package/python-mbstrdecoder/python-mbstrdecoder.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/mbstrdecoder/json -md5 aa377cfa117318583dffa1fd96123bdf mbstrdecoder-1.0.1.tar.gz -sha256 f895e1fb97496855ab5e43de99588787169c01f782c71625142d1a62729e9f9d mbstrdecoder-1.0.1.tar.gz -# Locally computed sha256 checksums -sha256 7588265082eed5e9f4afd5090c57e610b740ec547b16aaaab739ba07c5eefb15 LICENSE diff --git a/buildroot-2021.05/package/python-mbstrdecoder/python-mbstrdecoder.mk b/buildroot-2021.05/package/python-mbstrdecoder/python-mbstrdecoder.mk deleted file mode 100644 index 6474324b..00000000 --- a/buildroot-2021.05/package/python-mbstrdecoder/python-mbstrdecoder.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-mbstrdecoder -# -################################################################################ - -PYTHON_MBSTRDECODER_VERSION = 1.0.1 -PYTHON_MBSTRDECODER_SOURCE = mbstrdecoder-$(PYTHON_MBSTRDECODER_VERSION).tar.gz -PYTHON_MBSTRDECODER_SITE = https://files.pythonhosted.org/packages/b7/3b/2524dd4771dfca572269036fb08356715cb78a1c1c2a4dae3a810a86b777 -PYTHON_MBSTRDECODER_SETUP_TYPE = setuptools -PYTHON_MBSTRDECODER_LICENSE = MIT -PYTHON_MBSTRDECODER_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-meld3/Config.in b/buildroot-2021.05/package/python-meld3/Config.in deleted file mode 100644 index 9366b3cd..00000000 --- a/buildroot-2021.05/package/python-meld3/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_MELD3 - bool "python-meld3" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 - help - A HTML/XML templating system. - - https://github.com/supervisor/meld3 diff --git a/buildroot-2021.05/package/python-meld3/python-meld3.hash b/buildroot-2021.05/package/python-meld3/python-meld3.hash deleted file mode 100644 index f423b0bf..00000000 --- a/buildroot-2021.05/package/python-meld3/python-meld3.hash +++ /dev/null @@ -1,6 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/meld3/json -md5 56fff5d6599efeefc81cf2d3b8cf6b4e meld3-2.0.0.tar.gz -sha256 1efda676264490db2e30bfb81b27a918cc6d9c2de6d609491aa43410b9537eb9 meld3-2.0.0.tar.gz -# Locally computed sha256 checksums -sha256 5fe11cd858707131b6ec1338b5c2cd68dd1fdb875e3ec967149bc6fea858ecec LICENSE.txt -sha256 2422945b49554688d529e1f8d4ac6e0ab77a817e8889158e1e56cf963ecf5c4d COPYRIGHT.txt diff --git a/buildroot-2021.05/package/python-meld3/python-meld3.mk b/buildroot-2021.05/package/python-meld3/python-meld3.mk deleted file mode 100644 index f67172e6..00000000 --- a/buildroot-2021.05/package/python-meld3/python-meld3.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-meld3 -# -################################################################################ - -PYTHON_MELD3_VERSION = 2.0.0 -PYTHON_MELD3_SOURCE = meld3-$(PYTHON_MELD3_VERSION).tar.gz -PYTHON_MELD3_SITE = https://files.pythonhosted.org/packages/00/3b/023446ddc1bf0b519c369cbe88269c30c6a64bd10af4817c73f560c302f7 -PYTHON_MELD3_LICENSE = ZPL-2.1 -PYTHON_MELD3_LICENSE_FILES = COPYRIGHT.txt LICENSE.txt -PYTHON_MELD3_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-more-itertools/Config.in b/buildroot-2021.05/package/python-more-itertools/Config.in deleted file mode 100644 index 1a7f95c2..00000000 --- a/buildroot-2021.05/package/python-more-itertools/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_MORE_ITERTOOLS - bool "python-more-itertools" - depends on BR2_PACKAGE_PYTHON3 - help - More routines for operating on iterables, beyond itertools. - - https://github.com/erikrose/more-itertools diff --git a/buildroot-2021.05/package/python-more-itertools/python-more-itertools.hash b/buildroot-2021.05/package/python-more-itertools/python-more-itertools.hash deleted file mode 100644 index 189498ec..00000000 --- a/buildroot-2021.05/package/python-more-itertools/python-more-itertools.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/more-itertools/json -md5 0912041c05148ed079984cff69af2e99 more-itertools-8.4.0.tar.gz -sha256 68c70cc7167bdf5c7c9d8f6954a7837089c6a36bf565383919bb595efb8a17e5 more-itertools-8.4.0.tar.gz -# Locally computed sha256 checksums -sha256 09f1c8c9e941af3e584d59641ea9b87d83c0cb0fd007eb5ef391a7e2643c1a46 LICENSE diff --git a/buildroot-2021.05/package/python-more-itertools/python-more-itertools.mk b/buildroot-2021.05/package/python-more-itertools/python-more-itertools.mk deleted file mode 100644 index ef21f4d2..00000000 --- a/buildroot-2021.05/package/python-more-itertools/python-more-itertools.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-more-itertools -# -################################################################################ - -PYTHON_MORE_ITERTOOLS_VERSION = 8.4.0 -PYTHON_MORE_ITERTOOLS_SOURCE = more-itertools-$(PYTHON_MORE_ITERTOOLS_VERSION).tar.gz -PYTHON_MORE_ITERTOOLS_SITE = https://files.pythonhosted.org/packages/67/4a/16cb3acf64709eb0164e49ba463a42dc45366995848c4f0cf770f57b8120 -PYTHON_MORE_ITERTOOLS_SETUP_TYPE = setuptools -PYTHON_MORE_ITERTOOLS_LICENSE = MIT -PYTHON_MORE_ITERTOOLS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-msgfy/Config.in b/buildroot-2021.05/package/python-msgfy/Config.in deleted file mode 100644 index f5a47163..00000000 --- a/buildroot-2021.05/package/python-msgfy/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_MSGFY - bool "python-msgfy" - depends on BR2_PACKAGE_PYTHON3 - help - msgfy is a Python library for convert Exception instance to - a human-readable error message. - - https://github.com/thombashi/msgfy diff --git a/buildroot-2021.05/package/python-msgpack/python-msgpack.hash b/buildroot-2021.05/package/python-msgpack/python-msgpack.hash deleted file mode 100644 index e34ea118..00000000 --- a/buildroot-2021.05/package/python-msgpack/python-msgpack.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/msgpack/json -md5 c35ee8f991dad3969884e9585e56ebba msgpack-1.0.0.tar.gz -sha256 9534d5cc480d4aff720233411a1f765be90885750b07df772380b34c10ecb5c0 msgpack-1.0.0.tar.gz -# Locally computed sha256 checksums -sha256 492dedba85da5872f78e6091bcd1fea474d660d35acb4dee964b8aab3f007427 COPYING diff --git a/buildroot-2021.05/package/python-msgpack/python-msgpack.mk b/buildroot-2021.05/package/python-msgpack/python-msgpack.mk deleted file mode 100644 index 18d5a998..00000000 --- a/buildroot-2021.05/package/python-msgpack/python-msgpack.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-msgpack -# -################################################################################ - -PYTHON_MSGPACK_VERSION = 1.0.0 -PYTHON_MSGPACK_SOURCE = msgpack-$(PYTHON_MSGPACK_VERSION).tar.gz -PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/e4/4f/057549afbd12fdd5d9aae9df19a6773a3d91988afe7be45b277e8cee2f4d -PYTHON_MSGPACK_LICENSE = Apache-2.0 -PYTHON_MSGPACK_LICENSE_FILES = COPYING -PYTHON_MSGPACK_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-multidict/Config.in b/buildroot-2021.05/package/python-multidict/Config.in deleted file mode 100644 index 7bfaa36d..00000000 --- a/buildroot-2021.05/package/python-multidict/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_MULTIDICT - bool "python-multidict" - depends on BR2_PACKAGE_PYTHON3 - help - Multidict is dict-like collection of key-value pairs where a - key may occur more than once in the container. - - https://github.com/aio-libs/multidict diff --git a/buildroot-2021.05/package/python-multidict/python-multidict.hash b/buildroot-2021.05/package/python-multidict/python-multidict.hash deleted file mode 100644 index 6b783012..00000000 --- a/buildroot-2021.05/package/python-multidict/python-multidict.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/multidict/json -md5 b1dab3349efe90934ae3612f1202b733 multidict-5.0.2.tar.gz -sha256 e5bf89fe57f702a046c7ec718fe330ed50efd4bcf74722940db2eb0919cddb1c multidict-5.0.2.tar.gz -# Locally computed sha256 checksums -sha256 a1c5825513279d3085a0ba46880e148ea3710c149bbaedcf2d11605a5ed3c4ad LICENSE diff --git a/buildroot-2021.05/package/python-multidict/python-multidict.mk b/buildroot-2021.05/package/python-multidict/python-multidict.mk deleted file mode 100644 index a7043643..00000000 --- a/buildroot-2021.05/package/python-multidict/python-multidict.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-multidict -# -################################################################################ - -PYTHON_MULTIDICT_VERSION = 5.0.2 -PYTHON_MULTIDICT_SOURCE = multidict-$(PYTHON_MULTIDICT_VERSION).tar.gz -PYTHON_MULTIDICT_SITE = https://files.pythonhosted.org/packages/da/e6/50c7f52781f45c2b37c77e962c30a3944a9e79a46ea92956e826c24d3432 -PYTHON_MULTIDICT_SETUP_TYPE = setuptools -PYTHON_MULTIDICT_LICENSE = Apache-2.0 -PYTHON_MULTIDICT_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-mutagen/Config.in b/buildroot-2021.05/package/python-mutagen/Config.in deleted file mode 100644 index 3c95e374..00000000 --- a/buildroot-2021.05/package/python-mutagen/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_PYTHON_MUTAGEN - bool "python-mutagen" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - Mutagen is a Python module to handle audio metadata. It - supports ASF, FLAC, MP4, Monkey's Audio, MP3, Musepack, Ogg - Opus, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg Vorbis, True - Audio, WavPack, OptimFROG, and AIFF audio files. All - versions of ID3v2 are supported, and all standard ID3v2.4 - frames are parsed. - - It can read Xing headers to accurately calculate the bitrate - and length of MP3s. ID3 and APEv2 tags can be edited - regardless of audio format. It can also manipulate Ogg - streams on an individual packet/page level. - - https://mutagen.readthedocs.io/en/latest/ diff --git a/buildroot-2021.05/package/python-mutagen/python-mutagen.hash b/buildroot-2021.05/package/python-mutagen/python-mutagen.hash deleted file mode 100644 index 5ee8ed17..00000000 --- a/buildroot-2021.05/package/python-mutagen/python-mutagen.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5 from https://pypi.python.org/pypi/mutagen/json, sha256 locally computed -md5 3729218f974c3a79ee9972ffa5ca5d12 mutagen-1.42.0.tar.gz -sha256 bb61e2456f59a9a4a259fbc08def6d01ba45a42da8eeaa97d00633b0ec5de71c mutagen-1.42.0.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/python-mutagen/python-mutagen.mk b/buildroot-2021.05/package/python-mutagen/python-mutagen.mk deleted file mode 100644 index 5477d6f4..00000000 --- a/buildroot-2021.05/package/python-mutagen/python-mutagen.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-mutagen -# -################################################################################ - -PYTHON_MUTAGEN_VERSION = 1.42.0 -PYTHON_MUTAGEN_SOURCE = mutagen-$(PYTHON_MUTAGEN_VERSION).tar.gz -PYTHON_MUTAGEN_SITE = https://files.pythonhosted.org/packages/30/4c/5ad1a6e1ccbcfaf6462db727989c302d9d721beedd9b09c11e6f0c7065b0 -PYTHON_MUTAGEN_LICENSE = GPL-2.0 -PYTHON_MUTAGEN_LICENSE_FILES = COPYING -PYTHON_MUTAGEN_SETUP_TYPE = distutils - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-mwscrape/Config.in b/buildroot-2021.05/package/python-mwscrape/Config.in deleted file mode 100644 index cb1e3050..00000000 --- a/buildroot-2021.05/package/python-mwscrape/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_MWSCRAPE - bool "python-mwscrape" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_COUCHDB # runtime - select BR2_PACKAGE_PYTHON_MWCLIENT # runtime - select BR2_PACKAGE_PYTHON_PYLRU # runtime - help - Download rendered articles from MediaWiki API to CouchDB - - https://github.com/itkach/mwscrape diff --git a/buildroot-2021.05/package/python-mwscrape2slob/Config.in b/buildroot-2021.05/package/python-mwscrape2slob/Config.in deleted file mode 100644 index 6d543bda..00000000 --- a/buildroot-2021.05/package/python-mwscrape2slob/Config.in +++ /dev/null @@ -1,23 +0,0 @@ -config BR2_PACKAGE_PYTHON_MWSCRAPE2SLOB - bool "python-mwscrape2slob" - depends on !BR2_BINFMT_FLAT # python-slob -> python-pyicu -> icu - depends on BR2_HOST_GCC_AT_LEAST_4_9 # python-slob -> python-pyicu -> icu - depends on BR2_INSTALL_LIBSTDCPP # python-slob -> python-pyicu -> icu - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-slob -> python-pyicu -> icu - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_COUCHDB # runtime - select BR2_PACKAGE_PYTHON_CSSSELECT # runtime - select BR2_PACKAGE_PYTHON_CSSUTILS # runtime - select BR2_PACKAGE_PYTHON_LXML # runtime - select BR2_PACKAGE_PYTHON_SLOB # runtime - help - A tool to create slob with content from a MediaWiki CouchDB - created by mwscrape. - - https://github.com/itkach/mwscrape2slob - -comment "python-mwscrape2slob needs a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9" - depends on BR2_PACKAGE_PYTHON3 && !BR2_BINFMT_FLAT - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/python-netifaces/python-netifaces.hash b/buildroot-2021.05/package/python-netifaces/python-netifaces.hash deleted file mode 100644 index f5920801..00000000 --- a/buildroot-2021.05/package/python-netifaces/python-netifaces.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/netifaces/json -md5 de92cc322b4f56047c073f802ad77860 netifaces-0.10.9.tar.gz -sha256 2dee9ffdd16292878336a58d04a20f0ffe95555465fee7c9bd23b3490ef2abf3 netifaces-0.10.9.tar.gz -# Locally computed sha256 checksums -sha256 b20b895164b72b9cc0170e6c0d60b14f9aaacc6862c0556eed41eaa348883705 LICENSE diff --git a/buildroot-2021.05/package/python-netifaces/python-netifaces.mk b/buildroot-2021.05/package/python-netifaces/python-netifaces.mk deleted file mode 100644 index 502529c0..00000000 --- a/buildroot-2021.05/package/python-netifaces/python-netifaces.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-netifaces -# -################################################################################ - -PYTHON_NETIFACES_VERSION = 0.10.9 -PYTHON_NETIFACES_SOURCE = netifaces-$(PYTHON_NETIFACES_VERSION).tar.gz -PYTHON_NETIFACES_SITE = https://files.pythonhosted.org/packages/0d/18/fd6e9c71a35b67a73160ec80a49da63d1eed2d2055054cc2995714949132 -PYTHON_NETIFACES_LICENSE = MIT -PYTHON_NETIFACES_LICENSE_FILES = LICENSE -PYTHON_NETIFACES_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-networkx/Config.in b/buildroot-2021.05/package/python-networkx/Config.in deleted file mode 100644 index 2ae3841d..00000000 --- a/buildroot-2021.05/package/python-networkx/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_NETWORKX - bool "python-networkx" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_DECORATOR # runtime - help - A Python package for the creation, manipulation, - and study of the structure, dynamics, and - functions of complex networks. - - https://pypi.python.org/pypi/networkx diff --git a/buildroot-2021.05/package/python-networkx/python-networkx.hash b/buildroot-2021.05/package/python-networkx/python-networkx.hash deleted file mode 100644 index 6c4b793e..00000000 --- a/buildroot-2021.05/package/python-networkx/python-networkx.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From: https://pypi.org/project/networkx/ -sha256 f8f4ff0b6f96e4f9b16af6b84622597b5334bf9cae8cf9b2e42e7985d5c95c64 networkx-2.4.tar.gz -# Locally computed -sha256 f421f7c5d30022aa268174976e43e488b856ad953f32cdd13f0675630996d8c0 LICENSE.txt diff --git a/buildroot-2021.05/package/python-networkx/python-networkx.mk b/buildroot-2021.05/package/python-networkx/python-networkx.mk deleted file mode 100644 index 8ebbc84b..00000000 --- a/buildroot-2021.05/package/python-networkx/python-networkx.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# python-networkx -# -################################################################################ - -PYTHON_NETWORKX_VERSION = 2.4 -PYTHON_NETWORKX_SOURCE = networkx-$(PYTHON_NETWORKX_VERSION).tar.gz -PYTHON_NETWORKX_SITE = https://pypi.python.org/packages/bf/63/7b579dd3b1c49ce6b7fd8f6f864038f255201410905dd183cf7f4a3845cf -PYTHON_NETWORKX_LICENSE = BSD-3-Clause -PYTHON_NETWORKX_LICENSE_FILES = LICENSE.txt -PYTHON_NETWORKX_CPE_ID_VENDOR = python -PYTHON_NETWORKX_CPE_ID_PRODUCT = networkx -PYTHON_NETWORKX_SETUP_TYPE = setuptools -HOST_PYTHON_NETWORKX_DEPENDENCIES = host-python3-decorator -HOST_PYTHON_NETWORKX_NEEDS_HOST_PYTHON = python3 - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-nfc/Config.in b/buildroot-2021.05/package/python-nfc/Config.in deleted file mode 100644 index 7008723f..00000000 --- a/buildroot-2021.05/package/python-nfc/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_NFC - bool "python-nfc" - depends on BR2_PACKAGE_PYTHON - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - select BR2_PACKAGE_LIBUSB_COMPAT - help - Python module for near field communication. - - https://launchpad.net/nfcpy - -comment "python-nfc needs a toolchain w/ threads, gcc >= 4.9" - depends on BR2_PACKAGE_PYTHON - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/python-nfc/python-nfc.hash b/buildroot-2021.05/package/python-nfc/python-nfc.hash deleted file mode 100644 index 6514973f..00000000 --- a/buildroot-2021.05/package/python-nfc/python-nfc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 7ff9265e393e9e70173ecef5a1f9124e67d3b6e481c2dc3a9537b6a769ebe16f python-nfc-0.13.5.tar.gz -sha256 0dc4b0a3362f197e250604567a6b4eb16bbc34c186425401e2201a193a82549f LICENSE diff --git a/buildroot-2021.05/package/python-nfc/python-nfc.mk b/buildroot-2021.05/package/python-nfc/python-nfc.mk deleted file mode 100644 index f5417410..00000000 --- a/buildroot-2021.05/package/python-nfc/python-nfc.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-nfc -# -################################################################################ - -PYTHON_NFC_VERSION = 0.13.5 -PYTHON_NFC_SITE = $(call github,nfcpy,nfcpy,v$(PYTHON_NFC_VERSION)) -PYTHON_NFC_DEPENDENCIES = libusb libusb-compat -PYTHON_NFC_SETUP_TYPE = setuptools -PYTHON_NFC_LICENSE = EUPL-1.1+ -PYTHON_NFC_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-numpy/Config.in b/buildroot-2021.05/package/python-numpy/Config.in deleted file mode 100644 index 23dcbc79..00000000 --- a/buildroot-2021.05/package/python-numpy/Config.in +++ /dev/null @@ -1,34 +0,0 @@ -config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - bool - # Numpy has some CPU specific code - default y if BR2_arc - default y if BR2_aarch64 - default y if BR2_arm - default y if BR2_armeb - default y if BR2_i386 - default y if BR2_mips - default y if BR2_mipsel - default y if BR2_powerpc - default y if BR2_powerpc64 - default y if BR2_sh - default y if BR2_x86_64 - -config BR2_PACKAGE_PYTHON_NUMPY - bool "python-numpy" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - # python-numpy needs fenv.h which is not provided by uclibc - depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL - help - NumPy is the fundamental package for scientific computing - with Python. - - Note that NumPy needs fenv.h fully supported by the - C library. - - http://www.numpy.org/ - -comment "python-numpy needs glibc or musl" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) diff --git a/buildroot-2021.05/package/python-numpy/python-numpy.hash b/buildroot-2021.05/package/python-numpy/python-numpy.hash deleted file mode 100644 index ff9d0264..00000000 --- a/buildroot-2021.05/package/python-numpy/python-numpy.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Copied from https://github.com/numpy/numpy/releases/tag/v1.18.1 -sha256 da204ce460aa4247e595b7c7189d2fb2ed5f796bc03197055de01dac61d0125e numpy-1.18.2.tar.gz -# License files, locally calculated -sha256 ad81d0c21843ba6ce6fe5fa3eaacb61120be70cd798c52f63df3f4c12a843f0c LICENSE.txt -sha256 d3045980e80a6b39f98586c24bc7f39a7625b4b9f08ce72e367d12814743d047 numpy/core/src/multiarray/dragon4.c -sha256 426a5a484480f57a295db48c2c04f47bb3274752dd82a7fd6541dfa2cb90f641 doc/sphinxext/LICENSE.txt -sha256 154a8706fa0fdeff1073bf6239c4ecf51f562ab107066eef839dade1a45c824c doc/scipy-sphinx-theme/LICENSE.txt -sha256 a14cc25e10d40a3aa705b7de2fb764a6535d8ee9b2db4e1724900585457dfd55 numpy/linalg/lapack_lite/LICENSE.txt -sha256 badf51c7e3e7de9c7630bd069780f5c197b846ef7660b342a1e58d5553592d8e tools/npy_tempita/license.txt diff --git a/buildroot-2021.05/package/python-numpy/python-numpy.mk b/buildroot-2021.05/package/python-numpy/python-numpy.mk deleted file mode 100644 index 8260de7e..00000000 --- a/buildroot-2021.05/package/python-numpy/python-numpy.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# python-numpy -# -################################################################################ - -PYTHON_NUMPY_VERSION = 1.18.2 -PYTHON_NUMPY_SOURCE = numpy-$(PYTHON_NUMPY_VERSION).tar.gz -PYTHON_NUMPY_SITE = https://github.com/numpy/numpy/releases/download/v$(PYTHON_NUMPY_VERSION) -PYTHON_NUMPY_LICENSE = BSD-3-Clause, BSD-2-Clause, PSF, Apache-2.0, MIT, Zlib -PYTHON_NUMPY_LICENSE_FILES = LICENSE.txt doc/sphinxext/LICENSE.txt \ - doc/scipy-sphinx-theme/LICENSE.txt \ - numpy/linalg/lapack_lite/LICENSE.txt \ - tools/npy_tempita/license.txt \ - numpy/core/src/multiarray/dragon4.c -PYTHON_NUMPY_SETUP_TYPE = setuptools -PYTHON_NUMPY_DEPENDENCIES = host-python-cython -HOST_PYTHON_NUMPY_DEPENDENCIES = host-python-cython - -ifeq ($(BR2_PACKAGE_CLAPACK),y) -PYTHON_NUMPY_DEPENDENCIES += clapack -else -PYTHON_NUMPY_ENV += BLAS=None LAPACK=None -endif - -PYTHON_NUMPY_BUILD_OPTS = --fcompiler=None - -define PYTHON_NUMPY_CONFIGURE_CMDS - -rm -f $(@D)/site.cfg - echo "[DEFAULT]" >> $(@D)/site.cfg - echo "library_dirs = $(STAGING_DIR)/usr/lib" >> $(@D)/site.cfg - echo "include_dirs = $(STAGING_DIR)/usr/include" >> $(@D)/site.cfg -endef - -# Some package may include few headers from NumPy, so let's install it -# in the staging area. -PYTHON_NUMPY_INSTALL_STAGING = YES - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-oauthlib/python-oauthlib.hash b/buildroot-2021.05/package/python-oauthlib/python-oauthlib.hash deleted file mode 100644 index 2bf7f797..00000000 --- a/buildroot-2021.05/package/python-oauthlib/python-oauthlib.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/oauthlib/json -md5 43cb2b5bac983712ee55076b61181cc2 oauthlib-3.1.0.tar.gz -sha256 bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889 oauthlib-3.1.0.tar.gz -# Locally computed sha256 checksums -sha256 3d1e12d8ac52c0b6c148af6d291f72400b8720ed16c0ac4a89868b6d14b1c939 LICENSE diff --git a/buildroot-2021.05/package/python-oauthlib/python-oauthlib.mk b/buildroot-2021.05/package/python-oauthlib/python-oauthlib.mk deleted file mode 100644 index 407abc76..00000000 --- a/buildroot-2021.05/package/python-oauthlib/python-oauthlib.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-oauthlib -# -################################################################################ - -PYTHON_OAUTHLIB_VERSION = 3.1.0 -PYTHON_OAUTHLIB_SOURCE = oauthlib-$(PYTHON_OAUTHLIB_VERSION).tar.gz -PYTHON_OAUTHLIB_SITE = https://files.pythonhosted.org/packages/fc/c7/829c73c64d3749da7811c06319458e47f3461944da9d98bb4df1cb1598c2 -PYTHON_OAUTHLIB_SETUP_TYPE = setuptools -PYTHON_OAUTHLIB_LICENSE = BSD-3-Clause -PYTHON_OAUTHLIB_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-opcua-asyncio/Config.in b/buildroot-2021.05/package/python-opcua-asyncio/Config.in deleted file mode 100644 index 3700e00e..00000000 --- a/buildroot-2021.05/package/python-opcua-asyncio/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_PYTHON_OPCUA_ASYNCIO - bool "python-opcua-asyncio" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOFILES # runtime - select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime - select BR2_PACKAGE_PYTHON_DATEUTIL # runtime - select BR2_PACKAGE_PYTHON_LXML # runtime - select BR2_PACKAGE_PYTHON_PYTZ # runtime - help - opcua-asyncio is an asyncio-based asynchronous - OPC UA client based on python-opcua, removing - hacks for support of python < 3.6. - - https://github.com/FreeOpcUa/opcua-asyncio diff --git a/buildroot-2021.05/package/python-packaging/python-packaging.hash b/buildroot-2021.05/package/python-packaging/python-packaging.hash deleted file mode 100644 index b3145dfe..00000000 --- a/buildroot-2021.05/package/python-packaging/python-packaging.hash +++ /dev/null @@ -1,7 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/packaging/json -md5 5377308b3ba89f2d78c05e7f485be65d packaging-20.9.tar.gz -sha256 5b327ac1320dc863dca72f4514ecc086f31186744b84a230374cc1fd776feae5 packaging-20.9.tar.gz -# Locally computed sha256 checksums -sha256 cad1ef5bd340d73e074ba614d26f7deaca5c7940c3d8c34852e65c4909686c48 LICENSE -sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.APACHE -sha256 b70e7e9b742f1cc6f948b34c16aa39ffece94196364bc88ff0d2180f0028fac5 LICENSE.BSD diff --git a/buildroot-2021.05/package/python-packaging/python-packaging.mk b/buildroot-2021.05/package/python-packaging/python-packaging.mk deleted file mode 100644 index 5fdf7616..00000000 --- a/buildroot-2021.05/package/python-packaging/python-packaging.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-packaging -# -################################################################################ - -PYTHON_PACKAGING_VERSION = 20.9 -PYTHON_PACKAGING_SOURCE = packaging-$(PYTHON_PACKAGING_VERSION).tar.gz -PYTHON_PACKAGING_SITE = https://files.pythonhosted.org/packages/86/3c/bcd09ec5df7123abcf695009221a52f90438d877a2f1499453c6938f5728 -PYTHON_PACKAGING_SETUP_TYPE = setuptools -PYTHON_PACKAGING_LICENSE = Apache-2.0 or BSD-2-Clause -PYTHON_PACKAGING_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pam/0001-dealloc.patch b/buildroot-2021.05/package/python-pam/0001-dealloc.patch deleted file mode 100644 index dd4f9610..00000000 --- a/buildroot-2021.05/package/python-pam/0001-dealloc.patch +++ /dev/null @@ -1,25 +0,0 @@ -[PATCH] fix two bugs in the PAM object deallocation - -Fixes https://bugzilla.redhat.com/show_bug.cgi?id=658955 - -Downloaded from: -http://pkgs.fedoraproject.org/cgit/PyPAM.git/plain/PyPAM-0.5.0-dealloc.patch - -Signed-off-by: Peter Korsgaard -diff -up PyPAM-0.5.0/PAMmodule.c.dealloc PyPAM-0.5.0/PAMmodule.c ---- PyPAM-0.5.0/PAMmodule.c.dealloc 2011-01-17 22:48:22.000000000 +0100 -+++ PyPAM-0.5.0/PAMmodule.c 2011-01-18 21:24:59.000000000 +0100 -@@ -538,10 +538,11 @@ static void PyPAM_dealloc(PyPAMObject *s - free(self->service); - free(self->user); - free(self->conv); -- pam_end(self->pamh, PAM_SUCCESS); -+ if (self->pamh) -+ pam_end(self->pamh, PAM_SUCCESS); - dlclose(self->dlh2); - dlclose(self->dlh1); -- PyMem_DEL(self); -+ PyObject_Del(self); - } - - static PyObject * PyPAM_getattr(PyPAMObject *self, char *name) diff --git a/buildroot-2021.05/package/python-pam/0002-nofree.patch b/buildroot-2021.05/package/python-pam/0002-nofree.patch deleted file mode 100644 index 7de88017..00000000 --- a/buildroot-2021.05/package/python-pam/0002-nofree.patch +++ /dev/null @@ -1,68 +0,0 @@ -[PATCH] deallocate the conversation response only in case of error - -Fixes https://bugzilla.redhat.com/show_bug.cgi?id=679714 - -Downloaded from: -http://pkgs.fedoraproject.org/cgit/PyPAM.git/plain/PyPAM-0.5.0-nofree.patch - -Signed-off-by: Peter Korsgaard -diff --git a/PAMmodule.c b/PAMmodule.c -index 03cb799..a7ff8a5 100644 ---- a/PAMmodule.c -+++ b/PAMmodule.c -@@ -24,8 +24,6 @@ typedef struct { - char *service; - char *user; - PyObject *callback; -- struct pam_response *response_data; -- int response_len; - PyObject *user_data; - void *dlh1, *dlh2; - } PyPAMObject; -@@ -54,15 +52,6 @@ static int PyPAM_conv(int num_msg, const struct pam_message **msg, - - Py_INCREF(self); - -- if (NULL != self->response_data) { -- for (int i = 0; i < self->response_len; i++) { -- free(self->response_data[0].resp); -- } -- free(self->response_data); -- self->response_data = NULL; -- self->response_len = 0; -- } -- - PyObject* msgList = PyList_New(num_msg); - - for (int i = 0; i < num_msg; i++) { -@@ -92,6 +81,10 @@ static int PyPAM_conv(int num_msg, const struct pam_message **msg, - char* resp_text; - int resp_retcode = 0; - if (!PyArg_ParseTuple(respTuple, "si", &resp_text, &resp_retcode)) { -+ while (i > 0) { -+ free((--spr)->resp); -+ --i; -+ } - free(*resp); - Py_DECREF(respList); - return PAM_CONV_ERR; -@@ -100,10 +93,6 @@ static int PyPAM_conv(int num_msg, const struct pam_message **msg, - spr->resp_retcode = resp_retcode; - Py_DECREF(respTuple); - } -- -- // Save this so we can free it later. -- self->response_data = *resp; -- self->response_len = PyList_Size(respList); - - Py_DECREF(respList); - -@@ -144,8 +133,6 @@ static PyObject * PyPAM_pam(PyObject *self, PyObject *args) - p->user = NULL; - Py_INCREF(Py_None); - p->callback = Py_None; -- p->response_data = NULL; -- p->response_len = 0; - Py_INCREF(Py_None); - p->user_data = Py_None; - diff --git a/buildroot-2021.05/package/python-pam/0003-memory-errors-CVE2012-1502.patch b/buildroot-2021.05/package/python-pam/0003-memory-errors-CVE2012-1502.patch deleted file mode 100644 index 62405db0..00000000 --- a/buildroot-2021.05/package/python-pam/0003-memory-errors-CVE2012-1502.patch +++ /dev/null @@ -1,136 +0,0 @@ -[PATCH] Fix Double Free Corruption (CVE2012-1502) - -Downloaded from: -http://pkgs.fedoraproject.org/cgit/PyPAM.git/plain/PyPAM-0.5.0-memory-errors.patch - -For details, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1502 - -Signed-off-by: Peter Korsgaard -diff -up PyPAM-0.5.0/PAMmodule.c.memory PyPAM-0.5.0/PAMmodule.c ---- PyPAM-0.5.0/PAMmodule.c.memory 2012-05-07 17:22:54.503914026 +0200 -+++ PyPAM-0.5.0/PAMmodule.c 2012-05-07 17:23:15.644381942 +0200 -@@ -37,33 +37,48 @@ static void PyPAM_Err(PyPAMObject *self, - - err_msg = pam_strerror(self->pamh, result); - error = Py_BuildValue("(si)", err_msg, result); -- Py_INCREF(PyPAM_Error); - PyErr_SetObject(PyPAM_Error, error); -+ Py_XDECREF(error); - } - - static int PyPAM_conv(int num_msg, const struct pam_message **msg, - struct pam_response **resp, void *appdata_ptr) - { -- PyObject *args; -- -+ PyObject *args, *msgList, *respList, *item; -+ struct pam_response *response, *spr; - PyPAMObject* self = (PyPAMObject *) appdata_ptr; -+ - if (self->callback == NULL) - return PAM_CONV_ERR; - - Py_INCREF(self); - -- PyObject* msgList = PyList_New(num_msg); -- -+ msgList = PyList_New(num_msg); -+ if (msgList == NULL) { -+ Py_DECREF(self); -+ return PAM_CONV_ERR; -+ } -+ - for (int i = 0; i < num_msg; i++) { -- PyList_SetItem(msgList, i, -- Py_BuildValue("(si)", msg[i]->msg, msg[i]->msg_style)); -+ item = Py_BuildValue("(si)", msg[i]->msg, msg[i]->msg_style); -+ if (item == NULL) { -+ Py_DECREF(msgList); -+ Py_DECREF(self); -+ return PAM_CONV_ERR; -+ } -+ PyList_SetItem(msgList, i, item); - } -- -+ - args = Py_BuildValue("(OO)", self, msgList); -- PyObject* respList = PyEval_CallObject(self->callback, args); -+ if (args == NULL) { -+ Py_DECREF(self); -+ Py_DECREF(msgList); -+ return PAM_CONV_ERR; -+ } -+ respList = PyEval_CallObject(self->callback, args); - Py_DECREF(args); - Py_DECREF(self); -- -+ - if (respList == NULL) - return PAM_CONV_ERR; - -@@ -71,11 +86,15 @@ static int PyPAM_conv(int num_msg, const - Py_DECREF(respList); - return PAM_CONV_ERR; - } -- -- *resp = (struct pam_response *) malloc( -+ -+ response = (struct pam_response *) malloc( - PyList_Size(respList) * sizeof(struct pam_response)); -+ if (response == NULL) { -+ Py_DECREF(respList); -+ return PAM_CONV_ERR; -+ } -+ spr = response; - -- struct pam_response* spr = *resp; - for (int i = 0; i < PyList_Size(respList); i++, spr++) { - PyObject* respTuple = PyList_GetItem(respList, i); - char* resp_text; -@@ -85,7 +104,7 @@ static int PyPAM_conv(int num_msg, const - free((--spr)->resp); - --i; - } -- free(*resp); -+ free(response); - Py_DECREF(respList); - return PAM_CONV_ERR; - } -@@ -95,7 +114,8 @@ static int PyPAM_conv(int num_msg, const - } - - Py_DECREF(respList); -- -+ *resp = response; -+ - return PAM_SUCCESS; - } - -@@ -122,7 +142,11 @@ static PyObject * PyPAM_pam(PyObject *se - PyPAMObject_Type.ob_type = &PyType_Type; - p = (PyPAMObject *) PyObject_NEW(PyPAMObject, &PyPAMObject_Type); - -+ if (p == NULL) -+ return NULL; -+ - if ((spc = (struct pam_conv *) malloc(sizeof(struct pam_conv))) == NULL) { -+ Py_DECREF((PyObject *)p); - PyErr_SetString(PyExc_MemoryError, "out of memory"); - return NULL; - } -@@ -455,9 +479,15 @@ static PyObject * PyPAM_getenvlist(PyObj - } - - retval = PyList_New(0); -+ if (retval == NULL) -+ return NULL; - - while ((cp = *(result++)) != NULL) { - entry = Py_BuildValue("s", cp); -+ if (entry == NULL) { -+ Py_DECREF(retval); -+ return NULL; -+ } - PyList_Append(retval, entry); - Py_DECREF(entry); - } diff --git a/buildroot-2021.05/package/python-pam/Config.in b/buildroot-2021.05/package/python-pam/Config.in deleted file mode 100644 index 92ba105e..00000000 --- a/buildroot-2021.05/package/python-pam/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -comment "python-pam needs a toolchain w/ wchar, locale, dynamic library" - depends on BR2_PACKAGE_PYTHON - depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR || BR2_STATIC_LIBS - -config BR2_PACKAGE_PYTHON_PAM - bool "python-pam" - depends on BR2_PACKAGE_PYTHON # C extension not compatible with python3 - depends on BR2_ENABLE_LOCALE # linux-pam - depends on BR2_USE_WCHAR # linux-pam - depends on BR2_USE_MMU # linux-pam - depends on !BR2_STATIC_LIBS # linux-pam - select BR2_PACKAGE_LINUX_PAM - help - PAM (Pluggable Authentication Module) bindings for Python. - - https://admin.fedoraproject.org/pkgdb/package/PyPAM/ diff --git a/buildroot-2021.05/package/python-pam/python-pam.hash b/buildroot-2021.05/package/python-pam/python-pam.hash deleted file mode 100644 index 303455ae..00000000 --- a/buildroot-2021.05/package/python-pam/python-pam.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 796ac019b9ee805696d0d277d8fb912fa2391b6ac070dc6f9f1a9a0fadbc3a5a PyPAM-0.5.0.tar.gz -sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING diff --git a/buildroot-2021.05/package/python-pam/python-pam.mk b/buildroot-2021.05/package/python-pam/python-pam.mk deleted file mode 100644 index 943e01dd..00000000 --- a/buildroot-2021.05/package/python-pam/python-pam.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-pam -# -################################################################################ - -PYTHON_PAM_VERSION = 0.5.0 -PYTHON_PAM_SOURCE = PyPAM-$(PYTHON_PAM_VERSION).tar.gz -# pangalactic.org gone -PYTHON_PAM_SITE = http://pkgs.fedoraproject.org/repo/pkgs/PyPAM/PyPAM-0.5.0.tar.gz/f1e7c2c56421dda28a75ace59a3c8871 -PYTHON_PAM_SETUP_TYPE = distutils -PYTHON_PAM_LICENSE = LGPL-2.1 -PYTHON_PAM_LICENSE_FILES = COPYING -PYTHON_PAM_DEPENDENCIES = linux-pam - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-paramiko/Config.in b/buildroot-2021.05/package/python-paramiko/Config.in deleted file mode 100644 index 993c84ef..00000000 --- a/buildroot-2021.05/package/python-paramiko/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_PYTHON_PARAMIKO - bool "python-paramiko" - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography - select BR2_PACKAGE_PYTHON_BCRYPT # runtime - select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime - select BR2_PACKAGE_PYTHON_PYNACL # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - SSH2 protocol library. - - https://github.com/paramiko/paramiko/ - -comment "python-paramiko needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-paramiko/python-paramiko.hash b/buildroot-2021.05/package/python-paramiko/python-paramiko.hash deleted file mode 100644 index b11acf1d..00000000 --- a/buildroot-2021.05/package/python-paramiko/python-paramiko.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/paramiko/json -md5 44136d79da4cd7619e368018ad022619 paramiko-2.7.2.tar.gz -sha256 7f36f4ba2c0d81d219f4595e35f70d56cc94f9ac40a6acdf51d6ca210ce65035 paramiko-2.7.2.tar.gz -# Locally computed sha256 checksums -sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE diff --git a/buildroot-2021.05/package/python-paramiko/python-paramiko.mk b/buildroot-2021.05/package/python-paramiko/python-paramiko.mk deleted file mode 100644 index 3c135cf9..00000000 --- a/buildroot-2021.05/package/python-paramiko/python-paramiko.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-paramiko -# -################################################################################ - -PYTHON_PARAMIKO_VERSION = 2.7.2 -PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz -PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/cf/a1/20d00ce559a692911f11cadb7f94737aca3ede1c51de16e002c7d3a888e0 -PYTHON_PARAMIKO_SETUP_TYPE = setuptools -PYTHON_PARAMIKO_LICENSE = LGPL-2.1+ -PYTHON_PARAMIKO_LICENSE_FILES = LICENSE -PYTHON_PARAMIKO_CPE_ID_VENDOR = paramiko -PYTHON_PARAMIKO_CPE_ID_PRODUCT = paramiko - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-parso/Config.in b/buildroot-2021.05/package/python-parso/Config.in deleted file mode 100644 index 4f5482d8..00000000 --- a/buildroot-2021.05/package/python-parso/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_PARSO - bool "python-parso" - depends on BR2_PACKAGE_PYTHON3 - help - A Python Parser. - - https://github.com/davidhalter/parso diff --git a/buildroot-2021.05/package/python-parso/python-parso.hash b/buildroot-2021.05/package/python-parso/python-parso.hash deleted file mode 100644 index 538ffccf..00000000 --- a/buildroot-2021.05/package/python-parso/python-parso.hash +++ /dev/null @@ -1,7 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/parso/json -md5 dd8fed40ceb890d3e277ad44a678c1f1 parso-0.8.2.tar.gz -sha256 12b83492c6239ce32ff5eed6d3639d6a536170723c6f3f1506869f1ace413398 parso-0.8.2.tar.gz -# Locally computed sha256 checksums -sha256 fa67973073753d17624caf8684d5ee816d70c89d912c5bca7ca0f08e7b150edb LICENSE.txt -sha256 9c1e620a5cf8e74fe81c1fd4c55e9cc0b189fc04e677cfc7ef915de746c3f59e docs/_themes/flask/LICENSE -sha256 368780dd953e09148834e8d8c6cc1b09b3d621e77dbd1c4f5e8873561acda873 test/normalizer_issue_files/LICENSE diff --git a/buildroot-2021.05/package/python-parso/python-parso.mk b/buildroot-2021.05/package/python-parso/python-parso.mk deleted file mode 100644 index 6862a7e9..00000000 --- a/buildroot-2021.05/package/python-parso/python-parso.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-parso -# -################################################################################ - -PYTHON_PARSO_VERSION = 0.8.2 -PYTHON_PARSO_SOURCE = parso-$(PYTHON_PARSO_VERSION).tar.gz -PYTHON_PARSO_SITE = https://files.pythonhosted.org/packages/5e/61/d119e2683138a934550e47fc8ec023eb7f11b194883e9085dca3af5d4951 -PYTHON_PARSO_SETUP_TYPE = setuptools -PYTHON_PARSO_LICENSE = MIT, Python-2.0, BSD-3-Clause (flask theme) -PYTHON_PARSO_LICENSE_FILES = LICENSE.txt docs/_themes/flask/LICENSE test/normalizer_issue_files/LICENSE -PYTHON_PARSO_CPE_ID_VENDOR = parso_project -PYTHON_PARSO_CPE_ID_PRODUCT = parso - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-passlib/Config.in b/buildroot-2021.05/package/python-passlib/Config.in deleted file mode 100644 index 23546a18..00000000 --- a/buildroot-2021.05/package/python-passlib/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_PASSLIB - bool "python-passlib" - help - comprehensive password hashing framework supporting over 30 - schemes. - - https://bitbucket.org/ecollins/passlib diff --git a/buildroot-2021.05/package/python-passlib/python-passlib.hash b/buildroot-2021.05/package/python-passlib/python-passlib.hash deleted file mode 100644 index 867223e1..00000000 --- a/buildroot-2021.05/package/python-passlib/python-passlib.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/passlib/json -md5 b908529cfd4c33057c244324c692eae7 passlib-1.7.2.tar.gz -sha256 8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8 passlib-1.7.2.tar.gz -# Locally computed sha256 checksums -sha256 49a74ad666f456493d6b9e2cda7c55e46ad512ce2c67db4accaddb27bb240bb9 LICENSE diff --git a/buildroot-2021.05/package/python-passlib/python-passlib.mk b/buildroot-2021.05/package/python-passlib/python-passlib.mk deleted file mode 100644 index 6ab94fd6..00000000 --- a/buildroot-2021.05/package/python-passlib/python-passlib.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-passlib -# -################################################################################ - -PYTHON_PASSLIB_VERSION = 1.7.2 -PYTHON_PASSLIB_SOURCE = passlib-$(PYTHON_PASSLIB_VERSION).tar.gz -PYTHON_PASSLIB_SITE = https://files.pythonhosted.org/packages/6d/6b/4bfca0c13506535289b58f9c9761d20f56ed89439bfe6b8e07416ce58ee1 -PYTHON_PASSLIB_SETUP_TYPE = setuptools -PYTHON_PASSLIB_LICENSE = BSD-3-Clause -PYTHON_PASSLIB_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pathlib2/Config.in b/buildroot-2021.05/package/python-pathlib2/Config.in deleted file mode 100644 index e28de4c1..00000000 --- a/buildroot-2021.05/package/python-pathlib2/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_PATHLIB2 - bool "python-pathlib2" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_SIX # runtime - help - Object-oriented filesystem paths. - - The goal of pathlib2 is to provide a backport of standard - pathlib module which tracks the standard library module, so - all the newest features of the standard pathlib can be used - also on older Python versions. - - https://pypi.python.org/pypi/pathlib2 diff --git a/buildroot-2021.05/package/python-pathlib2/python-pathlib2.hash b/buildroot-2021.05/package/python-pathlib2/python-pathlib2.hash deleted file mode 100644 index 986049d9..00000000 --- a/buildroot-2021.05/package/python-pathlib2/python-pathlib2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pathlib2/json -md5 f2bd0a363eb0f8fa0556f35c1d9e66fb pathlib2-2.3.5.tar.gz -sha256 6cd9a47b597b37cc57de1c05e56fb1a1c9cc9fab04fe78c29acd090418529868 pathlib2-2.3.5.tar.gz -# Locally computed sha256 checksums -sha256 f8e02f1a07e4c6fc59a4bee831ddde26b97064105c423b9e24340f35aaa80262 LICENSE.rst diff --git a/buildroot-2021.05/package/python-pathlib2/python-pathlib2.mk b/buildroot-2021.05/package/python-pathlib2/python-pathlib2.mk deleted file mode 100644 index d813b77d..00000000 --- a/buildroot-2021.05/package/python-pathlib2/python-pathlib2.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pathlib2 -# -################################################################################ - -PYTHON_PATHLIB2_VERSION = 2.3.5 -PYTHON_PATHLIB2_SOURCE = pathlib2-$(PYTHON_PATHLIB2_VERSION).tar.gz -PYTHON_PATHLIB2_SITE = https://files.pythonhosted.org/packages/94/d8/65c86584e7e97ef824a1845c72bbe95d79f5b306364fa778a3c3e401b309 -PYTHON_PATHLIB2_LICENSE = MIT -PYTHON_PATHLIB2_LICENSE_FILES = LICENSE.rst -PYTHON_PATHLIB2_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pathpy/Config.in b/buildroot-2021.05/package/python-pathpy/Config.in deleted file mode 100644 index 7c7ffc9e..00000000 --- a/buildroot-2021.05/package/python-pathpy/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_PATHPY - bool "python-pathpy" - depends on BR2_PACKAGE_PYTHON3 - help - path.py implements a path objects as first-class - entities, allowing common operations on files to - be invoked on those path objects directly. - - https://github.com/jaraco/path.py diff --git a/buildroot-2021.05/package/python-pathvalidate/python-pathvalidate.hash b/buildroot-2021.05/package/python-pathvalidate/python-pathvalidate.hash deleted file mode 100644 index db1190fc..00000000 --- a/buildroot-2021.05/package/python-pathvalidate/python-pathvalidate.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pathvalidate/json -md5 b0a8242d124a9e760ca2d084a4f8fa75 pathvalidate-0.29.0.tar.gz -sha256 bf250828f40d94881df764950cffca14bb3fa83783d9f239125a6b5e23a5646e pathvalidate-0.29.0.tar.gz -# Locally computed sha256 checksums -sha256 a93d75bcb0774e2990106380cadad6dcb2de193c55d435ffc56ba345a08b1dc2 LICENSE diff --git a/buildroot-2021.05/package/python-pathvalidate/python-pathvalidate.mk b/buildroot-2021.05/package/python-pathvalidate/python-pathvalidate.mk deleted file mode 100644 index ee707e4e..00000000 --- a/buildroot-2021.05/package/python-pathvalidate/python-pathvalidate.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pathvalidate -# -################################################################################ - -PYTHON_PATHVALIDATE_VERSION = 0.29.0 -PYTHON_PATHVALIDATE_SOURCE = pathvalidate-$(PYTHON_PATHVALIDATE_VERSION).tar.gz -PYTHON_PATHVALIDATE_SITE = https://files.pythonhosted.org/packages/fc/3f/7a96e26d36b7e99abc9c236ff6db2de2d98e59fed45f9932eb0d17d48473 -PYTHON_PATHVALIDATE_SETUP_TYPE = setuptools -PYTHON_PATHVALIDATE_LICENSE = MIT -PYTHON_PATHVALIDATE_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pbr/python-pbr.hash b/buildroot-2021.05/package/python-pbr/python-pbr.hash deleted file mode 100644 index cca9de01..00000000 --- a/buildroot-2021.05/package/python-pbr/python-pbr.hash +++ /dev/null @@ -1,6 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pbr/json -md5 477d2aa285ad97250a172b199f4060b7 pbr-5.4.3.tar.gz -sha256 2c8e420cd4ed4cec4e7999ee47409e876af575d4c35a45840d59e8b5f3155ab8 pbr-5.4.3.tar.gz -# Locally computed sha256 checksums -sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 LICENSE -sha256 eb4a8c8791f6caab1cf36df26db2b6f4e2ddda52657b060ff7f02abc63910aef pbr/tests/testpackage/LICENSE.txt diff --git a/buildroot-2021.05/package/python-pbr/python-pbr.mk b/buildroot-2021.05/package/python-pbr/python-pbr.mk deleted file mode 100644 index 12b5b568..00000000 --- a/buildroot-2021.05/package/python-pbr/python-pbr.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pbr -# -################################################################################ - -PYTHON_PBR_VERSION = 5.4.3 -PYTHON_PBR_SOURCE = pbr-$(PYTHON_PBR_VERSION).tar.gz -PYTHON_PBR_SITE = https://files.pythonhosted.org/packages/99/f1/7807d3409c79905a907f1c616d910c921b2a8e73c17b2969930318f44777 -PYTHON_PBR_SETUP_TYPE = setuptools -PYTHON_PBR_LICENSE = Apache-2.0 (module), BSD-3-Clause (test package) -PYTHON_PBR_LICENSE_FILES = LICENSE pbr/tests/testpackage/LICENSE.txt - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pexpect/python-pexpect.mk b/buildroot-2021.05/package/python-pexpect/python-pexpect.mk deleted file mode 100644 index a9609cbe..00000000 --- a/buildroot-2021.05/package/python-pexpect/python-pexpect.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# python-pexpect -# -################################################################################ - -PYTHON_PEXPECT_VERSION = 4.8.0 -PYTHON_PEXPECT_SOURCE = pexpect-$(PYTHON_PEXPECT_VERSION).tar.gz -PYTHON_PEXPECT_SITE = https://files.pythonhosted.org/packages/e5/9b/ff402e0e930e70467a7178abb7c128709a30dfb22d8777c043e501bc1b10 -PYTHON_PEXPECT_LICENSE = ISC -PYTHON_PEXPECT_LICENSE_FILES = LICENSE -PYTHON_PEXPECT_SETUP_TYPE = distutils - -# async.py is not usable with Python 2, and removing is the solution -# recommended by upstream: -# https://github.com/pexpect/pexpect/issues/290 -ifeq ($(BR2_PACKAGE_PYTHON),y) -define PYTHON_PEXPECT_REMOVE_ASYNC_PY - $(RM) $(@D)/pexpect/_async.py -endef -PYTHON_PEXPECT_POST_PATCH_HOOKS += PYTHON_PEXPECT_REMOVE_ASYNC_PY -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pickleshare/Config.in b/buildroot-2021.05/package/python-pickleshare/Config.in deleted file mode 100644 index 35a26637..00000000 --- a/buildroot-2021.05/package/python-pickleshare/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_PICKLESHARE - bool "python-pickleshare" - select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON # runtime - help - Tiny 'shelve'-like database with concurrency support - - https://pypi.python.org/pypi/pickleshare diff --git a/buildroot-2021.05/package/python-piexif/Config.in b/buildroot-2021.05/package/python-piexif/Config.in deleted file mode 100644 index 2f7eff80..00000000 --- a/buildroot-2021.05/package/python-piexif/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_PIEXIF - bool "python-piexif" - depends on BR2_PACKAGE_PYTHON3 - help - Piexif simplifies interacting with EXIF data in Python. It - includes the tools necessary for extracting, creating, - manipulating, converting and writing EXIF data to JPEG, WebP - and TIFF files. - - https://github.com/hMatoba/Piexif diff --git a/buildroot-2021.05/package/python-pillow/Config.in b/buildroot-2021.05/package/python-pillow/Config.in deleted file mode 100644 index ae6d8c83..00000000 --- a/buildroot-2021.05/package/python-pillow/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_PILLOW - bool "python-pillow" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime - select BR2_PACKAGE_PYTHON3_ZLIB - help - Pillow is the "friendly" PIL fork by Alex Clark and - Contributors. PIL is the Python Imaging Library by Fredrik - Lundh and Contributors. - - Pillow relies on external libraries to provide support - various image formats. Select the corresponding package(s) - to get this support. Pillow can use jpeg, zlib (for PNG), - tiff, freetype, webp, and openjpeg (JPEG-2000). - - https://pypi.python.org/pypi/Pillow/ diff --git a/buildroot-2021.05/package/python-pillow/python-pillow.hash b/buildroot-2021.05/package/python-pillow/python-pillow.hash deleted file mode 100644 index 562cb2c1..00000000 --- a/buildroot-2021.05/package/python-pillow/python-pillow.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pillow/json -md5 21c03274a9f59b9c00419852a8faebe7 Pillow-8.2.0.tar.gz -sha256 a787ab10d7bb5494e5f76536ac460741788f1fbce851068d73a87ca7c35fc3e1 Pillow-8.2.0.tar.gz -# Locally computed sha256 checksums -sha256 5bb11d96b393a698df70018069a986248021f286344c437a13f299c3daf1dfd4 LICENSE diff --git a/buildroot-2021.05/package/python-pillow/python-pillow.mk b/buildroot-2021.05/package/python-pillow/python-pillow.mk deleted file mode 100644 index 42607e0b..00000000 --- a/buildroot-2021.05/package/python-pillow/python-pillow.mk +++ /dev/null @@ -1,89 +0,0 @@ -################################################################################ -# -# python-pillow -# -################################################################################ - -PYTHON_PILLOW_VERSION = 8.2.0 -PYTHON_PILLOW_SITE = https://files.pythonhosted.org/packages/21/23/af6bac2a601be6670064a817273d4190b79df6f74d8012926a39bc7aa77f -PYTHON_PILLOW_SOURCE = Pillow-$(PYTHON_PILLOW_VERSION).tar.gz -PYTHON_PILLOW_LICENSE = HPND -PYTHON_PILLOW_LICENSE_FILES = LICENSE -PYTHON_PILLOW_CPE_ID_VENDOR = python -PYTHON_PILLOW_CPE_ID_PRODUCT = pillow -PYTHON_PILLOW_SETUP_TYPE = setuptools -PYTHON_PILLOW_BUILD_OPTS = --disable-platform-guessing - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -PYTHON_PILLOW_DEPENDENCIES += freetype -PYTHON_PILLOW_BUILD_OPTS += --enable-freetype -else -PYTHON_PILLOW_BUILD_OPTS += --disable-freetype -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -PYTHON_PILLOW_DEPENDENCIES += jpeg -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg -else -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg -endif - -ifeq ($(BR2_PACKAGE_LCMS2),y) -PYTHON_PILLOW_DEPENDENCIES += lcms2 -PYTHON_PILLOW_BUILD_OPTS += --enable-lcms -else -PYTHON_PILLOW_BUILD_OPTS += --disable-lcms -endif - -ifeq ($(BR2_PACKAGE_LIBXCB),y) -PYTHON_PILLOW_DEPENDENCIES += libxcb -PYTHON_PILLOW_BUILD_OPTS += --enable-xcb -else -PYTHON_PILLOW_BUILD_OPTS += --disable-xcb -endif - -ifeq ($(BR2_PACKAGE_OPENJPEG),y) -PYTHON_PILLOW_DEPENDENCIES += openjpeg -PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000 -else -PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg2000 -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -PYTHON_PILLOW_DEPENDENCIES += tiff -PYTHON_PILLOW_BUILD_OPTS += --enable-tiff -else -PYTHON_PILLOW_BUILD_OPTS += --disable-tiff -endif - -ifeq ($(BR2_PACKAGE_WEBP),y) -PYTHON_PILLOW_DEPENDENCIES += webp -PYTHON_PILLOW_BUILD_OPTS += --enable-webp -ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) -PYTHON_PILLOW_BUILD_OPTS += --enable-webpmux -else -PYTHON_PILLOW_BUILD_OPTS += --disable-webpmux -endif -else -PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux -endif - -define PYTHON_PILLOW_BUILD_CMDS - cd $(PYTHON_PILLOW_BUILDDIR); \ - PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ - $(PYTHON_PILLOW_BASE_ENV) $(PYTHON_PILLOW_ENV) \ - $(PYTHON_PILLOW_PYTHON_INTERPRETER) setup.py build_ext \ - $(PYTHON_PILLOW_BASE_BUILD_OPTS) $(PYTHON_PILLOW_BUILD_OPTS) -endef - -define PYTHON_PILLOW_INSTALL_TARGET_CMDS - cd $(PYTHON_PILLOW_BUILDDIR); \ - PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ - $(PYTHON_PILLOW_BASE_ENV) $(PYTHON_PILLOW_ENV) \ - $(PYTHON_PILLOW_PYTHON_INTERPRETER) setup.py build_ext \ - $(PYTHON_PILLOW_BUILD_OPTS) install \ - $(PYTHON_PILLOW_BASE_INSTALL_TARGET_OPTS) \ - $(PYTHON_PILLOW_INSTALL_TARGET_OPTS) -endef - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pip/Config.in b/buildroot-2021.05/package/python-pip/Config.in deleted file mode 100644 index 61d8d7d3..00000000 --- a/buildroot-2021.05/package/python-pip/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_PIP - bool "python-pip" - select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - help - The PyPA recommended tool for installing Python packages. - - https://pip.pypa.io/ diff --git a/buildroot-2021.05/package/python-pip/python-pip.hash b/buildroot-2021.05/package/python-pip/python-pip.hash deleted file mode 100644 index 58bc2391..00000000 --- a/buildroot-2021.05/package/python-pip/python-pip.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pip/json -md5 7d42ba49b809604f0df3d55df1c3fd86 pip-20.0.2.tar.gz -sha256 7db0c8ea4c7ea51c8049640e8e6e7fde949de672bfa4949920675563a5a6967f pip-20.0.2.tar.gz -# Locally computed sha256 checksums -sha256 5ba21fbb0964f936ad7d15362d1ed6d4931cc8c8f9ff2d4d91190e109be74431 LICENSE.txt diff --git a/buildroot-2021.05/package/python-pip/python-pip.mk b/buildroot-2021.05/package/python-pip/python-pip.mk deleted file mode 100644 index 71f76e28..00000000 --- a/buildroot-2021.05/package/python-pip/python-pip.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-pip -# -################################################################################ - -# Please keep in sync with package/python3-pip/python3-pip.mk -PYTHON_PIP_VERSION = 20.0.2 -PYTHON_PIP_SOURCE = pip-$(PYTHON_PIP_VERSION).tar.gz -PYTHON_PIP_SITE = https://files.pythonhosted.org/packages/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f -PYTHON_PIP_SETUP_TYPE = setuptools -PYTHON_PIP_LICENSE = MIT -PYTHON_PIP_LICENSE_FILES = LICENSE.txt -PYTHON_PIP_CPE_ID_VENDOR = pypa -PYTHON_PIP_CPE_ID_PRODUCT = pip - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pluggy/Config.in b/buildroot-2021.05/package/python-pluggy/Config.in deleted file mode 100644 index 7179bc42..00000000 --- a/buildroot-2021.05/package/python-pluggy/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_PLUGGY - bool "python-pluggy" - depends on BR2_PACKAGE_PYTHON3 - help - plugin and hook calling mechanisms for python. - - https://github.com/pytest-dev/pluggy diff --git a/buildroot-2021.05/package/python-pluggy/python-pluggy.hash b/buildroot-2021.05/package/python-pluggy/python-pluggy.hash deleted file mode 100644 index 24e207bf..00000000 --- a/buildroot-2021.05/package/python-pluggy/python-pluggy.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pluggy/json -md5 7f610e28b8b34487336b585a3dfb803d pluggy-0.13.1.tar.gz -sha256 15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 pluggy-0.13.1.tar.gz -# Locally computed sha256 checksums -sha256 d6b65e6c213a5d0b577911d34d6e5949b9f59d76c238c5071a2f3fc16cfb2606 LICENSE diff --git a/buildroot-2021.05/package/python-pluggy/python-pluggy.mk b/buildroot-2021.05/package/python-pluggy/python-pluggy.mk deleted file mode 100644 index 03cdecf4..00000000 --- a/buildroot-2021.05/package/python-pluggy/python-pluggy.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-pluggy -# -################################################################################ - -PYTHON_PLUGGY_VERSION = 0.13.1 -PYTHON_PLUGGY_SOURCE = pluggy-$(PYTHON_PLUGGY_VERSION).tar.gz -PYTHON_PLUGGY_SITE = https://files.pythonhosted.org/packages/f8/04/7a8542bed4b16a65c2714bf76cf5a0b026157da7f75e87cc88774aa10b14 -PYTHON_PLUGGY_SETUP_TYPE = setuptools -PYTHON_PLUGGY_LICENSE = MIT -PYTHON_PLUGGY_LICENSE_FILES = LICENSE -PYTHON_PLUGGY_DEPENDENCIES = host-python-setuptools-scm - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ply/python-ply.mk b/buildroot-2021.05/package/python-ply/python-ply.mk deleted file mode 100644 index 50a3e32b..00000000 --- a/buildroot-2021.05/package/python-ply/python-ply.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-ply -# -################################################################################ - -# Please keep in sync with package/python3-ply/python3-ply.mk -PYTHON_PLY_VERSION = 3.11 -PYTHON_PLY_SOURCE = ply-$(PYTHON_PLY_VERSION).tar.gz -PYTHON_PLY_SITE = https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da -PYTHON_PLY_SETUP_TYPE = setuptools -PYTHON_PLY_LICENSE = BSD-3-Clause -PYTHON_PLY_LICENSE_FILES = README.md - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-portend/Config.in b/buildroot-2021.05/package/python-portend/Config.in deleted file mode 100644 index 30a50c7f..00000000 --- a/buildroot-2021.05/package/python-portend/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_PORTEND - bool "python-portend" - depends on BR2_PACKAGE_PYTHON3 # python-tempora - select BR2_PACKAGE_PYTHON_TEMPORA # runtime - help - TCP port monitoring utilities. - - https://github.com/jaraco/portend diff --git a/buildroot-2021.05/package/python-posix-ipc/python-posix-ipc.hash b/buildroot-2021.05/package/python-posix-ipc/python-posix-ipc.hash deleted file mode 100644 index d267cabc..00000000 --- a/buildroot-2021.05/package/python-posix-ipc/python-posix-ipc.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/posix-ipc/json -md5 c4fd0065244ccb2f59cb8ceedf287cf6 posix_ipc-1.0.4.tar.gz -sha256 ff6c9077633fc62a491d6997c43b094d885bb45a7ca1f36c9a0d647c54b74b14 posix_ipc-1.0.4.tar.gz -# Locally computed sha256 checksums -sha256 61f0669e70518e6d32f87e485965fe9309de60e4bef938b29cecd068b3db9a98 LICENSE diff --git a/buildroot-2021.05/package/python-posix-ipc/python-posix-ipc.mk b/buildroot-2021.05/package/python-posix-ipc/python-posix-ipc.mk deleted file mode 100644 index d4429f11..00000000 --- a/buildroot-2021.05/package/python-posix-ipc/python-posix-ipc.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-posix-ipc -# -################################################################################ - -PYTHON_POSIX_IPC_VERSION = 1.0.4 -PYTHON_POSIX_IPC_SOURCE = posix_ipc-$(PYTHON_POSIX_IPC_VERSION).tar.gz -PYTHON_POSIX_IPC_SITE = https://files.pythonhosted.org/packages/c9/3e/54217da71aa26b488295d878df4d3132093253b4ae5798ac66fcb6921ef0 -PYTHON_POSIX_IPC_LICENSE = BSD-3-Clause -PYTHON_POSIX_IPC_LICENSE_FILES = LICENSE -PYTHON_POSIX_IPC_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-priority/python-priority.hash b/buildroot-2021.05/package/python-priority/python-priority.hash deleted file mode 100644 index c9473757..00000000 --- a/buildroot-2021.05/package/python-priority/python-priority.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/priority/json -md5 4f1ff52f7fa448e9d9cb46337ae86d1e priority-1.3.0.tar.gz -# Locally computed -sha256 6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe priority-1.3.0.tar.gz -sha256 f3e9c29e3db36dc305a4be68a8a225f93949852ce2d19b5b0a3c099eee6509c5 LICENSE diff --git a/buildroot-2021.05/package/python-priority/python-priority.mk b/buildroot-2021.05/package/python-priority/python-priority.mk deleted file mode 100644 index 8b6dbc1e..00000000 --- a/buildroot-2021.05/package/python-priority/python-priority.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-priority -# -################################################################################ - -PYTHON_PRIORITY_VERSION = 1.3.0 -PYTHON_PRIORITY_SOURCE = priority-$(PYTHON_PRIORITY_VERSION).tar.gz -PYTHON_PRIORITY_SITE = https://pypi.python.org/packages/ba/96/7d0b024087062418dfe02a68cd6b195399266ac002fb517aad94cc93e076 -PYTHON_PRIORITY_SETUP_TYPE = setuptools -PYTHON_PRIORITY_LICENSE = MIT -PYTHON_PRIORITY_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-prompt-toolkit/Config.in b/buildroot-2021.05/package/python-prompt-toolkit/Config.in deleted file mode 100644 index 1066e166..00000000 --- a/buildroot-2021.05/package/python-prompt-toolkit/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT - bool "python-prompt-toolkit" - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_WCWIDTH # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - help - Library for building powerful interactive command lines in - Python. - - https://github.com/jonathanslenders/python-prompt-toolkit diff --git a/buildroot-2021.05/package/python-prompt-toolkit/python-prompt-toolkit.hash b/buildroot-2021.05/package/python-prompt-toolkit/python-prompt-toolkit.hash deleted file mode 100644 index 2d0c7ec9..00000000 --- a/buildroot-2021.05/package/python-prompt-toolkit/python-prompt-toolkit.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/prompt-toolkit/json -md5 5016c523e603cd7119644fbc0f00ce53 prompt_toolkit-2.0.10.tar.gz -sha256 f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db prompt_toolkit-2.0.10.tar.gz -# Locally computed sha256 checksums -sha256 303574d9bdd85c757d6025017942bf17baeedf2778f62bd7f425d07d880f4c4a LICENSE diff --git a/buildroot-2021.05/package/python-prompt-toolkit/python-prompt-toolkit.mk b/buildroot-2021.05/package/python-prompt-toolkit/python-prompt-toolkit.mk deleted file mode 100644 index 183c7d25..00000000 --- a/buildroot-2021.05/package/python-prompt-toolkit/python-prompt-toolkit.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-prompt-toolkit -# -################################################################################ - -PYTHON_PROMPT_TOOLKIT_VERSION = 2.0.10 -PYTHON_PROMPT_TOOLKIT_SOURCE = prompt_toolkit-$(PYTHON_PROMPT_TOOLKIT_VERSION).tar.gz -PYTHON_PROMPT_TOOLKIT_SITE = https://files.pythonhosted.org/packages/0c/37/7ad3bf3c6dbe96facf9927ddf066fdafa0f86766237cff32c3c7355d3b7c -PYTHON_PROMPT_TOOLKIT_SETUP_TYPE = setuptools -PYTHON_PROMPT_TOOLKIT_LICENSE = BSD-3-Clause -PYTHON_PROMPT_TOOLKIT_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-protobuf/python-protobuf.hash b/buildroot-2021.05/package/python-protobuf/python-protobuf.hash deleted file mode 100644 index 0d3665b7..00000000 --- a/buildroot-2021.05/package/python-protobuf/python-protobuf.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 7e8c58a14950ac7a727864d5c521f48c81feb66ff7df325487fc930c9aa50d8b protobuf-python-3.15.6.tar.gz -sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE diff --git a/buildroot-2021.05/package/python-psutil/python-psutil.hash b/buildroot-2021.05/package/python-psutil/python-psutil.hash deleted file mode 100644 index 1a053cc3..00000000 --- a/buildroot-2021.05/package/python-psutil/python-psutil.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/psutil/json -md5 50bf39b4faa268ba1da8a9730bb38bb6 psutil-5.7.2.tar.gz -sha256 90990af1c3c67195c44c9a889184f84f5b2320dce3ee3acbd054e3ba0b4a7beb psutil-5.7.2.tar.gz -# Locally computed sha256 checksums -sha256 24c12984500caa07ffdce19eebc06396c5e6d244b573bc6c438f4a6ef8e56c1b LICENSE diff --git a/buildroot-2021.05/package/python-psutil/python-psutil.mk b/buildroot-2021.05/package/python-psutil/python-psutil.mk deleted file mode 100644 index 9dbc4722..00000000 --- a/buildroot-2021.05/package/python-psutil/python-psutil.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-psutil -# -################################################################################ - -# Please keep in sync with package/python3-psutil/python3-psutil.mk -PYTHON_PSUTIL_VERSION = 5.7.2 -PYTHON_PSUTIL_SOURCE = psutil-$(PYTHON_PSUTIL_VERSION).tar.gz -PYTHON_PSUTIL_SITE = https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1 -PYTHON_PSUTIL_SETUP_TYPE = setuptools -PYTHON_PSUTIL_LICENSE = BSD-3-Clause -PYTHON_PSUTIL_LICENSE_FILES = LICENSE -PYTHON_PSUTIL_CPE_ID_VENDOR = psutil_project -PYTHON_PSUTIL_CPE_ID_PRODUCT = psutil - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-psycopg2/Config.in b/buildroot-2021.05/package/python-psycopg2/Config.in deleted file mode 100644 index 5ffe1795..00000000 --- a/buildroot-2021.05/package/python-psycopg2/Config.in +++ /dev/null @@ -1,25 +0,0 @@ -config BR2_PACKAGE_PYTHON_PSYCOPG2 - bool "python-psycopg2" - depends on BR2_USE_WCHAR # postgresql - select BR2_PACKAGE_POSTGRESQL - help - Psycopg is the most popular PostgreSQL database adapter for - the Python programming language. Its main features are the - complete implementation of the Python DB API 2.0 specification - and the thread safety (several threads can share the same - connection). It was designed for heavily multi-threaded - applications that create and destroy lots of cursors and make - a large number of concurrent INSERTs or UPDATEs. - - Psycopg 2 is mostly implemented in C as a libpq wrapper, - resulting in being both efficient and secure. It features - client-side and server-side cursors, asynchronous - communication and notifications, COPY support. Many Python - types are supported out-of-the-box and adapted to matching - PostgreSQL data types; adaptation can be extended and - customized thanks to a flexible objects adaptation system. - Psycopg 2 is both Unicode and Python 3 friendly. - - http://initd.org/psycopg/ -comment "python-psycopg2 needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/python-psycopg2/python-psycopg2.hash b/buildroot-2021.05/package/python-psycopg2/python-psycopg2.hash deleted file mode 100644 index bf73f8ad..00000000 --- a/buildroot-2021.05/package/python-psycopg2/python-psycopg2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/psycopg2/json -md5 c232ff3e3bfee35e1a0e15bc089cb294 psycopg2-2.8.5.tar.gz -sha256 f7d46240f7a1ae1dd95aab38bd74f7428d46531f69219954266d669da60c0818 psycopg2-2.8.5.tar.gz -# Locally computed sha256 checksums -sha256 9614b85dfc9a72c5b2ca33144c1d7e1ed3b1c297459d9fb28a6a5762c2e8d71b LICENSE diff --git a/buildroot-2021.05/package/python-psycopg2/python-psycopg2.mk b/buildroot-2021.05/package/python-psycopg2/python-psycopg2.mk deleted file mode 100644 index b6f1f6ab..00000000 --- a/buildroot-2021.05/package/python-psycopg2/python-psycopg2.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# python-psycopg2 -# -################################################################################ - -PYTHON_PSYCOPG2_VERSION = 2.8.5 -PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz -PYTHON_PSYCOPG2_SITE = https://files.pythonhosted.org/packages/a8/8f/1c5690eebf148d1d1554fc00ccf9101e134636553dbb75bdfef4f85d7647 -PYTHON_PSYCOPG2_SETUP_TYPE = setuptools -PYTHON_PSYCOPG2_LICENSE = LGPL-3.0+ -PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE -PYTHON_PSYCOPG2_DEPENDENCIES = postgresql -# Force psycopg2 to use the Buildroot provided postgresql version -# instead of the one from the host machine -PYTHON_PSYCOPG2_BUILD_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config -PYTHON_PSYCOPG2_INSTALL_TARGET_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ptyprocess/python-ptyprocess.hash b/buildroot-2021.05/package/python-ptyprocess/python-ptyprocess.hash deleted file mode 100644 index 3af431a7..00000000 --- a/buildroot-2021.05/package/python-ptyprocess/python-ptyprocess.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/ptyprocess/json -md5 37402d69f3b50913d4d483587bffad8f ptyprocess-0.6.0.tar.gz -sha256 923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0 ptyprocess-0.6.0.tar.gz -# Locally computed sha256 checksums -sha256 c822d385b1a73329846241799becf18690b5d44764c1bed69300b536a405030a LICENSE diff --git a/buildroot-2021.05/package/python-ptyprocess/python-ptyprocess.mk b/buildroot-2021.05/package/python-ptyprocess/python-ptyprocess.mk deleted file mode 100644 index 45102e9a..00000000 --- a/buildroot-2021.05/package/python-ptyprocess/python-ptyprocess.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-ptyprocess -# -################################################################################ - -PYTHON_PTYPROCESS_VERSION = 0.6.0 -PYTHON_PTYPROCESS_SITE = https://files.pythonhosted.org/packages/7d/2d/e4b8733cf79b7309d84c9081a4ab558c89d8c89da5961bf4ddb050ca1ce0 -PYTHON_PTYPROCESS_SOURCE = ptyprocess-$(PYTHON_PTYPROCESS_VERSION).tar.gz -PYTHON_PTYPROCESS_LICENSE = ISC -PYTHON_PTYPROCESS_LICENSE_FILES = LICENSE -PYTHON_PTYPROCESS_SETUP_TYPE = distutils - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pudb/Config.in b/buildroot-2021.05/package/python-pudb/Config.in deleted file mode 100644 index b3a93058..00000000 --- a/buildroot-2021.05/package/python-pudb/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_PUDB - bool "python-pudb" - depends on BR2_PACKAGE_PYTHON3 # pygments - select BR2_PACKAGE_PYTHON_URWID # runtime - select BR2_PACKAGE_PYTHON_PYGMENTS # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON3_CURSES # runtime - help - A full-screen, console-based Python debugger. - - https://github.com/inducer/pudb diff --git a/buildroot-2021.05/package/python-pudb/python-pudb.hash b/buildroot-2021.05/package/python-pudb/python-pudb.hash deleted file mode 100644 index b3c089b8..00000000 --- a/buildroot-2021.05/package/python-pudb/python-pudb.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pudb/json -md5 4c024311d3f53bc189084821e7ef7d5e pudb-2019.1.tar.gz -sha256 ac30cfc64580958ab7265decb4cabb9141f08781ff072e9a336d5a7942ce35a6 pudb-2019.1.tar.gz -# Locally computed sha256 checksums -sha256 a95343fffff49cde3d9bf33cf6bb71cb3bf0ed83f47d98a7ba04b175d29c79ab LICENSE diff --git a/buildroot-2021.05/package/python-pudb/python-pudb.mk b/buildroot-2021.05/package/python-pudb/python-pudb.mk deleted file mode 100644 index 6a462bf3..00000000 --- a/buildroot-2021.05/package/python-pudb/python-pudb.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pudb -# -################################################################################ - -PYTHON_PUDB_VERSION = 2019.1 -PYTHON_PUDB_SOURCE = pudb-$(PYTHON_PUDB_VERSION).tar.gz -PYTHON_PUDB_SITE = https://files.pythonhosted.org/packages/32/2a/96f72649e5dfc90cf69d8590c00884c6897d6cbc54f727fb40f47b4faae3 -PYTHON_PUDB_SETUP_TYPE = setuptools -PYTHON_PUDB_LICENSE = MIT -PYTHON_PUDB_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyalsa/python-pyalsa.hash b/buildroot-2021.05/package/python-pyalsa/python-pyalsa.hash deleted file mode 100644 index c484313b..00000000 --- a/buildroot-2021.05/package/python-pyalsa/python-pyalsa.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed -sha256 2771291a5d2cf700f0abbe6629ea37468d1463a01b2330d84ef976e1e918676c pyalsa-1.1.6.tar.bz2 diff --git a/buildroot-2021.05/package/python-pyalsa/python-pyalsa.mk b/buildroot-2021.05/package/python-pyalsa/python-pyalsa.mk deleted file mode 100644 index 74f0347d..00000000 --- a/buildroot-2021.05/package/python-pyalsa/python-pyalsa.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pyalsa -# -################################################################################ - -PYTHON_PYALSA_VERSION = 1.1.6 -PYTHON_PYALSA_SOURCE = pyalsa-$(PYTHON_PYALSA_VERSION).tar.bz2 -PYTHON_PYALSA_SITE = ftp://ftp.alsa-project.org/pub/pyalsa -PYTHON_PYALSA_SETUP_TYPE = distutils -PYTHON_PYALSA_LICENSE = LGPL-2.1+ -PYTHON_PYALSA_DEPENDENCIES = alsa-lib - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pybind/python-pybind.hash b/buildroot-2021.05/package/python-pybind/python-pybind.hash deleted file mode 100644 index a68ac846..00000000 --- a/buildroot-2021.05/package/python-pybind/python-pybind.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 cdbe326d357f18b83d10322ba202d69f11b2f49e2d87ade0dc2be0c5c34f8e2a python-pybind-2.6.1.tar.gz -# License files, locally calculated -sha256 83965b843b98f670d3a85bd041ed4b372c8ec50d7b4a5995a83ac697ba675dcb LICENSE diff --git a/buildroot-2021.05/package/python-pybind/python-pybind.mk b/buildroot-2021.05/package/python-pybind/python-pybind.mk deleted file mode 100644 index a6a1bdb9..00000000 --- a/buildroot-2021.05/package/python-pybind/python-pybind.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-pybind -# -################################################################################ - -PYTHON_PYBIND_VERSION = 2.6.1 -PYTHON_PYBIND_SITE = $(call github,pybind,pybind11,v$(PYTHON_PYBIND_VERSION)) -PYTHON_PYBIND_LICENSE = BSD-3-Clause -PYTHON_PYBIND_LICENSE_FILES = LICENSE -PYTHON_PYBIND_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pycairo/Config.in b/buildroot-2021.05/package/python-pycairo/Config.in deleted file mode 100644 index a44a0421..00000000 --- a/buildroot-2021.05/package/python-pycairo/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYCAIRO - bool "python-pycairo" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_CAIRO - help - Python interface for cairo. - - https://pycairo.readthedocs.io diff --git a/buildroot-2021.05/package/python-pycares/Config.in b/buildroot-2021.05/package/python-pycares/Config.in deleted file mode 100644 index 3452ae6b..00000000 --- a/buildroot-2021.05/package/python-pycares/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYCARES - bool "python-pycares" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_CFFI # runtime - help - Python interface for c-ares. - - http://github.com/saghul/pycares diff --git a/buildroot-2021.05/package/python-pycares/python-pycares.hash b/buildroot-2021.05/package/python-pycares/python-pycares.hash deleted file mode 100644 index c8c46175..00000000 --- a/buildroot-2021.05/package/python-pycares/python-pycares.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pycares/json -md5 8ac802d79b318efa27d3a9949d0604d1 pycares-3.1.1.tar.gz -sha256 18dfd4fd300f570d6c4536c1d987b7b7673b2a9d14346592c5d6ed716df0d104 pycares-3.1.1.tar.gz -# Locally computed sha256 checksums -sha256 427bb3a5372024a26e2c290b24382512bcc7ca123431c4dd178dd613beea7eee LICENSE diff --git a/buildroot-2021.05/package/python-pycares/python-pycares.mk b/buildroot-2021.05/package/python-pycares/python-pycares.mk deleted file mode 100644 index dea34f82..00000000 --- a/buildroot-2021.05/package/python-pycares/python-pycares.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-pycares -# -################################################################################ - -PYTHON_PYCARES_VERSION = 3.1.1 -PYTHON_PYCARES_SOURCE = pycares-$(PYTHON_PYCARES_VERSION).tar.gz -PYTHON_PYCARES_SITE = https://files.pythonhosted.org/packages/4e/09/f49ef1c4b6a5ad50fc08a8acd015f1938594dd7a6b4a6a96d049d9bbec7d -PYTHON_PYCARES_SETUP_TYPE = setuptools -PYTHON_PYCARES_LICENSE = MIT -PYTHON_PYCARES_LICENSE_FILES = LICENSE -PYTHON_PYCARES_DEPENDENCIES = host-python-cffi - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pycli/Config.in b/buildroot-2021.05/package/python-pycli/Config.in deleted file mode 100644 index e1ce3b99..00000000 --- a/buildroot-2021.05/package/python-pycli/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYCLI - bool "python-pycli" - help - The cli package is a framework for making simple, correct - command line applications in Python. - - https://pythonhosted.org/pyCLI/ diff --git a/buildroot-2021.05/package/python-pycli/python-pycli.hash b/buildroot-2021.05/package/python-pycli/python-pycli.hash deleted file mode 100644 index f0890e83..00000000 --- a/buildroot-2021.05/package/python-pycli/python-pycli.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/pycli/json -md5 89c487e7c8068ce05d63394d2ae7ebad pyCLI-2.0.3.tar.gz -# Locally computed -sha256 bc53e6c5db031ae1c05d131641f153d22a201c5e82cc8c9324a945752efbb622 pyCLI-2.0.3.tar.gz -sha256 591490b2ef462a4ad2be1aae5dd47738cb17e191c82d3ba38c3ae906d288e6ba lib/cli/__init__.py diff --git a/buildroot-2021.05/package/python-pycli/python-pycli.mk b/buildroot-2021.05/package/python-pycli/python-pycli.mk deleted file mode 100644 index 7aff1c62..00000000 --- a/buildroot-2021.05/package/python-pycli/python-pycli.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pycli -# -################################################################################ - -PYTHON_PYCLI_VERSION = 2.0.3 -PYTHON_PYCLI_SOURCE = pyCLI-$(PYTHON_PYCLI_VERSION).tar.gz -PYTHON_PYCLI_SITE = https://pypi.python.org/packages/95/fc/b2d86a5fbdac4072bcf70b01674b612e1a13026f54962c878fe3eca36fd1 -PYTHON_PYCLI_LICENSE = ISC-like -PYTHON_PYCLI_LICENSE_FILES = lib/cli/__init__.py -PYTHON_PYCLI_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pycparser/python-pycparser.hash b/buildroot-2021.05/package/python-pycparser/python-pycparser.hash deleted file mode 100644 index 04264443..00000000 --- a/buildroot-2021.05/package/python-pycparser/python-pycparser.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pycparser/json -md5 b8f88de737db8c346ee8d31c07c7a25a pycparser-2.20.tar.gz -sha256 2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0 pycparser-2.20.tar.gz -# Locally computed sha256 checksums -sha256 3c76629880aec2f8578ed914701a4ff9e5da8b60acb8b7ec675abf83c90c5168 LICENSE diff --git a/buildroot-2021.05/package/python-pycparser/python-pycparser.mk b/buildroot-2021.05/package/python-pycparser/python-pycparser.mk deleted file mode 100644 index 5f44a562..00000000 --- a/buildroot-2021.05/package/python-pycparser/python-pycparser.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-pycparser -# -################################################################################ - -# Please keep in sync with package/python3-pycparser/python3-pycparser.mk -PYTHON_PYCPARSER_VERSION = 2.20 -PYTHON_PYCPARSER_SOURCE = pycparser-$(PYTHON_PYCPARSER_VERSION).tar.gz -PYTHON_PYCPARSER_SITE = https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd -PYTHON_PYCPARSER_SETUP_TYPE = setuptools -PYTHON_PYCPARSER_LICENSE = BSD-3-Clause -PYTHON_PYCPARSER_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pycryptodomex/Config.in b/buildroot-2021.05/package/python-pycryptodomex/Config.in deleted file mode 100644 index c7127fee..00000000 --- a/buildroot-2021.05/package/python-pycryptodomex/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYCRYPTODOMEX - bool "python-pycryptodomex" - help - Cryptographic library for Python. - - http://www.pycryptodome.org diff --git a/buildroot-2021.05/package/python-pycryptodomex/python-pycryptodomex.hash b/buildroot-2021.05/package/python-pycryptodomex/python-pycryptodomex.hash deleted file mode 100644 index 1016672a..00000000 --- a/buildroot-2021.05/package/python-pycryptodomex/python-pycryptodomex.hash +++ /dev/null @@ -1,6 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pycryptodomex/json -md5 08bc8fbbcd6060c06f1f10e2dc18b834 pycryptodomex-3.9.9.tar.gz -sha256 7b5b7c5896f8172ea0beb283f7f9428e0ab88ec248ce0a5b8c98d73e26267d51 pycryptodomex-3.9.9.tar.gz -# Locally computed sha256 checksums -sha256 d1af3fab2ef8cc53b6c7f48bdeb178ac874b04faf4ba0159a96b6109f1d393e2 LICENSE.rst -sha256 8e563c767164faa0831a333b57d23d4311cf566eb1b15d93250f4606be4eb549 Doc/LEGAL/COPYRIGHT.pycrypto diff --git a/buildroot-2021.05/package/python-pycryptodomex/python-pycryptodomex.mk b/buildroot-2021.05/package/python-pycryptodomex/python-pycryptodomex.mk deleted file mode 100644 index 341d1fa0..00000000 --- a/buildroot-2021.05/package/python-pycryptodomex/python-pycryptodomex.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# python-pycryptodomex -# -################################################################################ - -# Please keep in sync with package/python3-pycryptodomex/python3-pycryptodomex.mk -PYTHON_PYCRYPTODOMEX_VERSION = 3.9.9 -PYTHON_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON_PYCRYPTODOMEX_VERSION).tar.gz -PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/14/90/f4a934bffae029e16fb33f3bd87014a0a18b4bec591249c4fc01a18d3ab6 -PYTHON_PYCRYPTODOMEX_SETUP_TYPE = setuptools -PYTHON_PYCRYPTODOMEX_LICENSE = \ - BSD-2-Clause, \ - Public Domain (pycrypto original code), \ - OCB patent license (OCB mode) -PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pycups/Config.in b/buildroot-2021.05/package/python-pycups/Config.in deleted file mode 100644 index 61c2ba21..00000000 --- a/buildroot-2021.05/package/python-pycups/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYCUPS - bool "python-pycups" - depends on BR2_PACKAGE_CUPS - depends on BR2_PACKAGE_PYTHON3 - help - Python bindings for libcups. - - https://github.com/zdohnal/pycups diff --git a/buildroot-2021.05/package/python-pydal/python-pydal.hash b/buildroot-2021.05/package/python-pydal/python-pydal.hash deleted file mode 100644 index 224f3285..00000000 --- a/buildroot-2021.05/package/python-pydal/python-pydal.hash +++ /dev/null @@ -1,3 +0,0 @@ -# sha256 locally computed -sha256 df54be164bcdab8ffc8db88cb72333cc4b27997ce58c302dd8ade36462d799ea python-pydal-20200910.1.tar.gz -sha256 1f711e93f1e0c2eec576e2e60597dc2ed6f0a661e4749c6b8a39f0d4a72be468 LICENSE.txt diff --git a/buildroot-2021.05/package/python-pydal/python-pydal.mk b/buildroot-2021.05/package/python-pydal/python-pydal.mk deleted file mode 100644 index 2cac839a..00000000 --- a/buildroot-2021.05/package/python-pydal/python-pydal.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pydal -# -################################################################################ - -PYTHON_PYDAL_VERSION = 20200910.1 -PYTHON_PYDAL_SITE = $(call github,web2py,pydal,v$(PYTHON_PYDAL_VERSION)) -PYTHON_PYDAL_LICENSE = BSD-3-Clause -PYTHON_PYDAL_LICENSE_FILES = LICENSE.txt -PYTHON_PYDAL_SETUP_TYPE = setuptools - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pydantic/Config.in b/buildroot-2021.05/package/python-pydantic/Config.in deleted file mode 100644 index 07b506a2..00000000 --- a/buildroot-2021.05/package/python-pydantic/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYDANTIC - bool "python-pydantic" - depends on BR2_PACKAGE_PYTHON3 - help - Data validation and settings management using python 3.6 - type hinting. - - https://github.com/samuelcolvin/pydantic diff --git a/buildroot-2021.05/package/python-pydantic/python-pydantic.hash b/buildroot-2021.05/package/python-pydantic/python-pydantic.hash deleted file mode 100644 index 7bb076fe..00000000 --- a/buildroot-2021.05/package/python-pydantic/python-pydantic.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pydantic/json -md5 ce0c1824d1797bc7d67953428c4fe965 pydantic-1.3.tar.gz -sha256 2eab7d548b0e530bf65bee7855ad8164c2f6a889975d5e9c4eefd1e7c98245dc pydantic-1.3.tar.gz -# Locally computed sha256 checksums -sha256 66badbfe56618ec52ddcbfda62450e43752d16fe1e7cae78d346c7ed10a35306 LICENSE diff --git a/buildroot-2021.05/package/python-pydantic/python-pydantic.mk b/buildroot-2021.05/package/python-pydantic/python-pydantic.mk deleted file mode 100644 index 0f9dd66a..00000000 --- a/buildroot-2021.05/package/python-pydantic/python-pydantic.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pydantic -# -################################################################################ - -PYTHON_PYDANTIC_VERSION = 1.3 -PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz -PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/3e/69/b22c0eb3157115e1e3d111f574a6a41552539f1e53b064121ef4e9ac1368 -PYTHON_PYDANTIC_SETUP_TYPE = setuptools -PYTHON_PYDANTIC_LICENSE = MIT -PYTHON_PYDANTIC_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyelftools/python-pyelftools.mk b/buildroot-2021.05/package/python-pyelftools/python-pyelftools.mk deleted file mode 100644 index 3ae0a4ff..00000000 --- a/buildroot-2021.05/package/python-pyelftools/python-pyelftools.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-pyelftools -# -################################################################################ - -# Please keep in sync with package/python3-pyelftools/python3-pyelftools.mk -PYTHON_PYELFTOOLS_VERSION = 0.27 -PYTHON_PYELFTOOLS_SOURCE = pyelftools-$(PYTHON_PYELFTOOLS_VERSION).tar.gz -PYTHON_PYELFTOOLS_SITE = https://files.pythonhosted.org/packages/6b/b5/f7022f2d950327ba970ec85fb8f85c79244031092c129b6f34ab17514ae0 -PYTHON_PYELFTOOLS_LICENSE = Public domain -PYTHON_PYELFTOOLS_LICENSE_FILES = LICENSE -PYTHON_PYELFTOOLS_SETUP_TYPE = setuptools - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pyftpdlib/python-pyftpdlib.hash b/buildroot-2021.05/package/python-pyftpdlib/python-pyftpdlib.hash deleted file mode 100644 index 7f8da955..00000000 --- a/buildroot-2021.05/package/python-pyftpdlib/python-pyftpdlib.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pyftpdlib/json -md5 7f8089520d60171bee5dab2b721e8d00 pyftpdlib-1.5.5.tar.gz -sha256 1adf1c03d1508749e7c2f26dc9850ec0ef834318d725b7ae5ac91698f5c86752 pyftpdlib-1.5.5.tar.gz -# Locally computed sha256 checksums -sha256 18a4ff1ddf890838e36504b307581e3eb42c890a7272ce28b18b3ce1205b7ea8 LICENSE diff --git a/buildroot-2021.05/package/python-pyftpdlib/python-pyftpdlib.mk b/buildroot-2021.05/package/python-pyftpdlib/python-pyftpdlib.mk deleted file mode 100644 index dbbb9e28..00000000 --- a/buildroot-2021.05/package/python-pyftpdlib/python-pyftpdlib.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pyftpdlib -# -################################################################################ - -PYTHON_PYFTPDLIB_VERSION = 1.5.5 -PYTHON_PYFTPDLIB_SOURCE = pyftpdlib-$(PYTHON_PYFTPDLIB_VERSION).tar.gz -PYTHON_PYFTPDLIB_SITE = https://files.pythonhosted.org/packages/27/64/06a574350c79873e908fa9f48b617e7961de50fc468acc0a05d76771bce9 -PYTHON_PYFTPDLIB_SETUP_TYPE = setuptools -PYTHON_PYFTPDLIB_LICENSE = MIT -PYTHON_PYFTPDLIB_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pygame/python-pygame.mk b/buildroot-2021.05/package/python-pygame/python-pygame.mk deleted file mode 100644 index 8deb42a9..00000000 --- a/buildroot-2021.05/package/python-pygame/python-pygame.mk +++ /dev/null @@ -1,111 +0,0 @@ -################################################################################ -# -# python-pygame -# -################################################################################ - -# stable 1.9.1 release requires V4L which has been wiped out of recent Linux -# kernels, so use latest mercurial revision until next stable release is out. -PYTHON_PYGAME_VERSION = d61ea8eabd56 -PYTHON_PYGAME_SOURCE = pygame-$(PYTHON_PYGAME_VERSION).tar.gz -PYTHON_PYGAME_SITE = https://bitbucket.org/pygame/pygame -PYTHON_PYGAME_SITE_METHOD = hg -PYTHON_PYGAME_SETUP_TYPE = distutils -PYTHON_PYGAME_LICENSE = LGPL-2.1+ -PYTHON_PYGAME_LICENSE_FILES = LGPL - -ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_IMAGE),y) -PYTHON_PYGAME_OPT_DEPENDS += sdl_image -endif - -ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_FONT),y) -PYTHON_PYGAME_OPT_DEPENDS += sdl_ttf -endif - -ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_MIXER),y) -PYTHON_PYGAME_OPT_DEPENDS += sdl_mixer -endif - -PYTHON_PYGAME_DEPENDENCIES = sdl $(PYTHON_PYGAME_OPT_DEPENDS) - -ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_IMAGE),y) -define PYTHON_PYGAME_UNCONFIGURE_IMAGE - $(SED) 's/^imageext/#imageext/' $(@D)/Setup -endef -endif - -ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_FONT),y) -define PYTHON_PYGAME_UNCONFIGURE_FONT - $(SED) 's/^font/#font/' $(@D)/Setup -endef -endif - -ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_MIXER),y) -define PYTHON_PYGAME_UNCONFIGURE_MIXER - $(SED) 's/^mixer/#mixer/g' $(@D)/Setup -endef -endif - -# Both require numpy or numeric python module -define PYTHON_PYGAME_UNCONFIGURE_SNDARRAY - $(SED) 's/^_numericsndarray/#_numericsndarray/' $(@D)/Setup -endef - -define PYTHON_PYGAME_UNCONFIGURE_SURFARRAY - $(SED) 's/^_numericsurfarray/#_numericsurfarray/' $(@D)/Setup -endef - -# Requires smpeg -define PYTHON_PYGAME_UNCONFIGURE_MOVIE - $(SED) 's/^movie/#movie/' $(@D)/Setup -endef - -ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_SCRAP),y) -define PYTHON_PYGAME_UNCONFIGURE_SCRAP - $(SED) 's/^scrap/#scrap/' $(@D)/Setup -endef -endif - -define PYTHON_PYGAME_UNCONFIGURE_FREETYPE - $(SED) 's/^_freetype/#_freetype/' $(@D)/Setup -endef - -PYTHON_PYGAME_SDL_FLAGS = `$(STAGING_DIR)/usr/bin/sdl-config --cflags` -PYTHON_PYGAME_SDL_FLAGS += `$(STAGING_DIR)/usr/bin/sdl-config --libs` - -# Pygame needs a Setup file where options should be commented out if -# dependencies are not available -define PYTHON_PYGAME_CONFIGURE_CMDS - cp -f $(@D)/Setup.in $(@D)/Setup - $(SED) "s~^SDL = ~SDL = $(PYTHON_PYGAME_SDL_FLAGS) \n#~" $(@D)/Setup - $(SED) 's/^pypm/#pypm/' $(@D)/Setup - $(PYTHON_PYGAME_UNCONFIGURE_IMAGE) - $(PYTHON_PYGAME_UNCONFIGURE_FONT) - $(PYTHON_PYGAME_UNCONFIGURE_MIXER) - $(PYTHON_PYGAME_UNCONFIGURE_SNDARRAY) - $(PYTHON_PYGAME_UNCONFIGURE_SURFARRAY) - $(PYTHON_PYGAME_UNCONFIGURE_MOVIE) - $(PYTHON_PYGAME_UNCONFIGURE_SCRAP) - $(PYTHON_PYGAME_UNCONFIGURE_FREETYPE) -endef - -define PYTHON_PYGAME_REMOVE_DOC - rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/docs -endef - -PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_DOC - -define PYTHON_PYGAME_REMOVE_TESTS - rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/tests -endef - -PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_TESTS - -ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES),y) -define PYTHON_PYGAME_REMOVE_EXAMPLES - rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/pygame/examples -endef -PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_EXAMPLES -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pygments/Config.in b/buildroot-2021.05/package/python-pygments/Config.in deleted file mode 100644 index d74e53d4..00000000 --- a/buildroot-2021.05/package/python-pygments/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYGMENTS - bool "python-pygments" - depends on BR2_PACKAGE_PYTHON3 - help - Pygments is a syntax highlighting package written in Python. - - https://pypi.python.org/pypi/Pygments diff --git a/buildroot-2021.05/package/python-pyhamcrest/python-pyhamcrest.hash b/buildroot-2021.05/package/python-pyhamcrest/python-pyhamcrest.hash deleted file mode 100644 index 0c1660e0..00000000 --- a/buildroot-2021.05/package/python-pyhamcrest/python-pyhamcrest.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pyhamcrest/json -md5 8b833a3fa30197455df79424f30c8c3f PyHamcrest-1.9.0.tar.gz -sha256 8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd PyHamcrest-1.9.0.tar.gz -# Locally computed sha256 checksums -sha256 ec76c04449607010d061b1e29c9d20a5ffae74db9d04670ae82538ccfe68b941 LICENSE.txt diff --git a/buildroot-2021.05/package/python-pyhamcrest/python-pyhamcrest.mk b/buildroot-2021.05/package/python-pyhamcrest/python-pyhamcrest.mk deleted file mode 100644 index 244aa8c6..00000000 --- a/buildroot-2021.05/package/python-pyhamcrest/python-pyhamcrest.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pyhamcrest -# -################################################################################ - -PYTHON_PYHAMCREST_VERSION = 1.9.0 -PYTHON_PYHAMCREST_SOURCE = PyHamcrest-$(PYTHON_PYHAMCREST_VERSION).tar.gz -PYTHON_PYHAMCREST_SITE = https://files.pythonhosted.org/packages/a4/89/a469aad9256aedfbb47a29ec2b2eeb855d9f24a7a4c2ff28bd8d1042ef02 -PYTHON_PYHAMCREST_SETUP_TYPE = setuptools -PYTHON_PYHAMCREST_LICENSE = BSD-3-Clause -PYTHON_PYHAMCREST_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyjwt/Config.in b/buildroot-2021.05/package/python-pyjwt/Config.in deleted file mode 100644 index f8d4f8a9..00000000 --- a/buildroot-2021.05/package/python-pyjwt/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYJWT - bool "python-pyjwt" - depends on BR2_PACKAGE_PYTHON3 - help - JSON Web Token implementation in Python. - - http://github.com/jpadilla/pyjwt diff --git a/buildroot-2021.05/package/python-pyjwt/python-pyjwt.hash b/buildroot-2021.05/package/python-pyjwt/python-pyjwt.hash deleted file mode 100644 index f3bc5d48..00000000 --- a/buildroot-2021.05/package/python-pyjwt/python-pyjwt.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/PyJWT/json -md5 34c235e02746683bfc81a61f9ec4dc85 PyJWT-2.1.0.tar.gz -sha256 fba44e7898bbca160a2b2b501f492824fc8382485d3a6f11ba5d0c1937ce6130 PyJWT-2.1.0.tar.gz -# Locally computed sha256 checksums -sha256 ec82af815b5f9da8685afb300cc5beb7949e1c22b79b6c1c054796cefdf6cac6 LICENSE diff --git a/buildroot-2021.05/package/python-pyjwt/python-pyjwt.mk b/buildroot-2021.05/package/python-pyjwt/python-pyjwt.mk deleted file mode 100644 index 5600459c..00000000 --- a/buildroot-2021.05/package/python-pyjwt/python-pyjwt.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-pyjwt -# -################################################################################ - -PYTHON_PYJWT_VERSION = 2.1.0 -PYTHON_PYJWT_SOURCE = PyJWT-$(PYTHON_PYJWT_VERSION).tar.gz -PYTHON_PYJWT_SITE = https://files.pythonhosted.org/packages/0c/c6/3cdc7cb1289b35186fd7fd61836b6d83632ca0f7eee552516777361667b1 -PYTHON_PYJWT_SETUP_TYPE = setuptools -PYTHON_PYJWT_LICENSE = MIT -PYTHON_PYJWT_LICENSE_FILES = LICENSE -PYTHON_PYJWT_CPE_ID_VENDOR = pyjwt_project -PYTHON_PYJWT_CPE_ID_PRODUCT = pyjwt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pymodbus/python-pymodbus.mk b/buildroot-2021.05/package/python-pymodbus/python-pymodbus.mk deleted file mode 100644 index 9135a4d0..00000000 --- a/buildroot-2021.05/package/python-pymodbus/python-pymodbus.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# python-pymodbus -# -################################################################################ - -PYTHON_PYMODBUS_VERSION = 2.2.0 -PYTHON_PYMODBUS_SOURCE = pymodbus-$(PYTHON_PYMODBUS_VERSION).tar.gz -PYTHON_PYMODBUS_SITE = $(call github,riptideio,pymodbus,v$(PYTHON_PYMODBUS_VERSION)) -PYTHON_PYMODBUS_SETUP_TYPE = setuptools -PYTHON_PYMODBUS_LICENSE = BSD-3-Clause -PYTHON_PYMODBUS_LICENSE_FILES = doc/LICENSE - -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_PYMODBUS_RM_PY3_FILES - rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pymodbus/client/asynchronous/asyncio -endef - -PYTHON_PYMODBUS_POST_INSTALL_TARGET_HOOKS += PYTHON_PYMODBUS_RM_PY3_FILES -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pymysql/python-pymysql.hash b/buildroot-2021.05/package/python-pymysql/python-pymysql.hash deleted file mode 100644 index 36323ca7..00000000 --- a/buildroot-2021.05/package/python-pymysql/python-pymysql.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pymysql/json -md5 e5d9183cc0a775ac29f9e0365cca6556 PyMySQL-0.9.3.tar.gz -sha256 d8c059dcd81dedb85a9f034d5e22dcb4442c0b201908bede99e306d65ea7c8e7 PyMySQL-0.9.3.tar.gz -# Locally computed sha256 checksums -sha256 314120dc65f0800f738a4b31400c76ee14decd1fbe77ce9c3540a421b86ea7b6 LICENSE diff --git a/buildroot-2021.05/package/python-pymysql/python-pymysql.mk b/buildroot-2021.05/package/python-pymysql/python-pymysql.mk deleted file mode 100644 index edb08ee0..00000000 --- a/buildroot-2021.05/package/python-pymysql/python-pymysql.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pymysql -# -################################################################################ - -PYTHON_PYMYSQL_VERSION = 0.9.3 -PYTHON_PYMYSQL_SOURCE = PyMySQL-$(PYTHON_PYMYSQL_VERSION).tar.gz -PYTHON_PYMYSQL_SITE = https://files.pythonhosted.org/packages/da/15/23ba6592920e21cb40eb0fe0ea002d2b6177beb1ca8a4c1add5a8f32754d -PYTHON_PYMYSQL_LICENSE = MIT -PYTHON_PYMYSQL_LICENSE_FILES = LICENSE -PYTHON_PYMYSQL_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pynacl/0001-Remove-spurious-requirement-for-wheel-596.patch b/buildroot-2021.05/package/python-pynacl/0001-Remove-spurious-requirement-for-wheel-596.patch deleted file mode 100644 index 4f4a76ce..00000000 --- a/buildroot-2021.05/package/python-pynacl/0001-Remove-spurious-requirement-for-wheel-596.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 44fb453931c611d4822343debe902cca8e1c8afe Mon Sep 17 00:00:00 2001 -From: Scott Kitterman -Date: Tue, 26 May 2020 20:08:16 -0400 -Subject: [PATCH] Remove spurious requirement for wheel (#596) - -* Remove spurious requirement for wheel - -* Put wheel back in pyproject.toml - -Co-authored-by: Scott Kitterman -Signed-off-by: James Hilliard -[james.hilliard1@gmail.com: backport from upstream commit -44fb453931c611d4822343debe902cca8e1c8afe] ---- - setup.py | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/setup.py b/setup.py -index 9319c1c..d82a7fe 100644 ---- a/setup.py -+++ b/setup.py -@@ -35,8 +35,7 @@ except ImportError: - - - requirements = ["six"] --setup_requirements = ["setuptools", -- "wheel"] -+setup_requirements = ["setuptools"] - test_requirements = ["pytest>=3.2.1,!=3.3.0", - "hypothesis>=3.27.0"] - docs_requirements = ["sphinx>=1.6.5", --- -2.25.1 - diff --git a/buildroot-2021.05/package/python-pynacl/Config.in b/buildroot-2021.05/package/python-pynacl/Config.in deleted file mode 100644 index 256f9d5e..00000000 --- a/buildroot-2021.05/package/python-pynacl/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYNACL - bool "python-pynacl" - select BR2_PACKAGE_LIBSODIUM - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_CFFI # runtime - help - Python binding to the Networking and Cryptography (NaCl) - library. - - https://pypi.python.org/pypi/PyNaCl diff --git a/buildroot-2021.05/package/python-pynacl/python-pynacl.hash b/buildroot-2021.05/package/python-pynacl/python-pynacl.hash deleted file mode 100644 index b6ee2baf..00000000 --- a/buildroot-2021.05/package/python-pynacl/python-pynacl.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pynacl/json -md5 8c6c57893327a694c72510fb620e4744 PyNaCl-1.4.0.tar.gz -sha256 54e9a2c849c742006516ad56a88f5c74bf2ce92c9f67435187c3c5953b346505 PyNaCl-1.4.0.tar.gz -# Locally computed sha256 checksums -sha256 d3174ad63e721d4c9dccb8ad4320848992d314369bc46319720b5802c9153fe9 LICENSE diff --git a/buildroot-2021.05/package/python-pynacl/python-pynacl.mk b/buildroot-2021.05/package/python-pynacl/python-pynacl.mk deleted file mode 100644 index 1e415599..00000000 --- a/buildroot-2021.05/package/python-pynacl/python-pynacl.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-pynacl -# -################################################################################ - -PYTHON_PYNACL_VERSION = 1.4.0 -PYTHON_PYNACL_SOURCE = PyNaCl-$(PYTHON_PYNACL_VERSION).tar.gz -PYTHON_PYNACL_SITE = https://files.pythonhosted.org/packages/cf/5a/25aeb636baeceab15c8e57e66b8aa930c011ec1c035f284170cacb05025e -PYTHON_PYNACL_LICENSE = Apache-2.0 -PYTHON_PYNACL_LICENSE_FILES = LICENSE -PYTHON_PYNACL_SETUP_TYPE = setuptools -PYTHON_PYNACL_DEPENDENCIES = libsodium host-python-cffi -PYTHON_PYNACL_ENV = SODIUM_INSTALL=system - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyopenssl/Config.in b/buildroot-2021.05/package/python-pyopenssl/Config.in deleted file mode 100644 index c32e211e..00000000 --- a/buildroot-2021.05/package/python-pyopenssl/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYOPENSSL - bool "python-pyopenssl" - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography - select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - help - Python wrapper module around the OpenSSL library. - - https://github.com/pyca/pyopenssl - -comment "python-pyopenssl needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-pyopenssl/python-pyopenssl.hash b/buildroot-2021.05/package/python-pyopenssl/python-pyopenssl.hash deleted file mode 100644 index b457aeac..00000000 --- a/buildroot-2021.05/package/python-pyopenssl/python-pyopenssl.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pyopenssl/json -md5 d9804fedbd1eb0c7d9243397b1fbf972 pyOpenSSL-19.1.0.tar.gz -sha256 9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507 pyOpenSSL-19.1.0.tar.gz -# Locally computed sha256 -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2021.05/package/python-pyopenssl/python-pyopenssl.mk b/buildroot-2021.05/package/python-pyopenssl/python-pyopenssl.mk deleted file mode 100644 index a7ea7edf..00000000 --- a/buildroot-2021.05/package/python-pyopenssl/python-pyopenssl.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-pyopenssl -# -################################################################################ - -PYTHON_PYOPENSSL_VERSION = 19.1.0 -PYTHON_PYOPENSSL_SOURCE = pyOpenSSL-$(PYTHON_PYOPENSSL_VERSION).tar.gz -PYTHON_PYOPENSSL_SITE = https://files.pythonhosted.org/packages/0d/1d/6cc4bd4e79f78be6640fab268555a11af48474fac9df187c3361a1d1d2f0 -PYTHON_PYOPENSSL_LICENSE = Apache-2.0 -PYTHON_PYOPENSSL_LICENSE_FILES = LICENSE -PYTHON_PYOPENSSL_CPE_ID_VENDOR = pyopenssl -PYTHON_PYOPENSSL_CPE_ID_PRODUCT = pyopenssl -PYTHON_PYOPENSSL_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyparsing/python-pyparsing.hash b/buildroot-2021.05/package/python-pyparsing/python-pyparsing.hash deleted file mode 100644 index 2c52ff08..00000000 --- a/buildroot-2021.05/package/python-pyparsing/python-pyparsing.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pyparsing/json -md5 f0953e47a0112f7a65aec2305ffdf7b4 pyparsing-2.4.7.tar.gz -sha256 c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1 pyparsing-2.4.7.tar.gz -# Locally computed sha256 checksums -sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE diff --git a/buildroot-2021.05/package/python-pyparsing/python-pyparsing.mk b/buildroot-2021.05/package/python-pyparsing/python-pyparsing.mk deleted file mode 100644 index 0dacf237..00000000 --- a/buildroot-2021.05/package/python-pyparsing/python-pyparsing.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pyparsing -# -################################################################################ - -PYTHON_PYPARSING_VERSION = 2.4.7 -PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz -PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/c1/47/dfc9c342c9842bbe0036c7f763d2d6686bcf5eb1808ba3e170afdb282210 -PYTHON_PYPARSING_LICENSE = MIT -PYTHON_PYPARSING_LICENSE_FILES = LICENSE -PYTHON_PYPARSING_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyparted/Config.in b/buildroot-2021.05/package/python-pyparted/Config.in deleted file mode 100644 index 0ed24f88..00000000 --- a/buildroot-2021.05/package/python-pyparted/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYPARTED - bool "python-pyparted" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_ENABLE_LOCALE # parted - depends on BR2_USE_WCHAR - select BR2_PACKAGE_PARTED - help - Python bindings for GNU parted (libparted). - - https://github.com/rhinstaller/pyparted - -comment "pyparted needs a toolchain w/ locale, wchar" - depends on BR2_PACKAGE_PYTHON3 - depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/python-pypcap/Config.in b/buildroot-2021.05/package/python-pypcap/Config.in deleted file mode 100644 index 9b410ecc..00000000 --- a/buildroot-2021.05/package/python-pypcap/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYPCAP - bool "python-pypcap" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_LIBPCAP - help - The pypcap module is an object-oriented wrapper of the C - libpcap library. - - https://github.com/dugsong/pypcap diff --git a/buildroot-2021.05/package/python-pypcap/python-pypcap.hash b/buildroot-2021.05/package/python-pypcap/python-pypcap.hash deleted file mode 100644 index 40db6b4f..00000000 --- a/buildroot-2021.05/package/python-pypcap/python-pypcap.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 5716d97b39d40b79daf7b0c6a8c8c514f5f1de8f20561c8621ee62a90b93fb03 python-pypcap-6f46e7bf29a648256ddc732a7d0ec83d3ffca390.tar.gz -sha256 48306c284fdbdf836b880528c3bdd658deac47ed78ffeb24a4ca5a8c39a39304 LICENSE diff --git a/buildroot-2021.05/package/python-pypcap/python-pypcap.mk b/buildroot-2021.05/package/python-pypcap/python-pypcap.mk deleted file mode 100644 index fc6fc6ed..00000000 --- a/buildroot-2021.05/package/python-pypcap/python-pypcap.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# python-pypcap -# -################################################################################ - -PYTHON_PYPCAP_VERSION = 6f46e7bf29a648256ddc732a7d0ec83d3ffca390 -PYTHON_PYPCAP_SITE = $(call github,dugsong,pypcap,$(PYTHON_PYPCAP_VERSION)) -PYTHON_PYPCAP_LICENSE = BSD-3-Clause -PYTHON_PYPCAP_LICENSE_FILES = LICENSE -PYTHON_PYPCAP_SETUP_TYPE = distutils -PYTHON_PYPCAP_DEPENDENCIES = host-python-pyrex libpcap - -define PYTHON_PYPCAP_CONFIGURE_CMDS - $(HOST_DIR)/bin/python2 $(HOST_DIR)/bin/pyrexc $(@D)/pcap.pyx - (cd $(@D); \ - $(HOST_DIR)/bin/python setup.py \ - config --with-pcap=$(STAGING_DIR)/usr) -endef - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyqrcode/Config.in b/buildroot-2021.05/package/python-pyqrcode/Config.in deleted file mode 100644 index 01b7ae81..00000000 --- a/buildroot-2021.05/package/python-pyqrcode/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYQRCODE - bool "python-pyqrcode" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_CODECSCJK if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_CODECSCJK if BR2_PACKAGE_PYTHON3 # runtime - help - A QR code generator written purely in Python with SVG, EPS, - PNG and terminal output. - - https://github.com/mnooner256/pyqrcode diff --git a/buildroot-2021.05/package/python-pyqt5/python-pyqt5.mk b/buildroot-2021.05/package/python-pyqt5/python-pyqt5.mk deleted file mode 100644 index 8f28c90d..00000000 --- a/buildroot-2021.05/package/python-pyqt5/python-pyqt5.mk +++ /dev/null @@ -1,188 +0,0 @@ -################################################################################ -# -# python-pyqt5 -# -################################################################################ - -PYTHON_PYQT5_VERSION = 5.7 -PYTHON_PYQT5_SOURCE = PyQt5_gpl-$(PYTHON_PYQT5_VERSION).tar.gz -PYTHON_PYQT5_SITE = http://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-$(PYTHON_PYQT5_VERSION) -PYTHON_PYQT5_LICENSE = GPL-3.0 -PYTHON_PYQT5_LICENSE_FILES = LICENSE - -PYTHON_PYQT5_DEPENDENCIES = python-sip host-python-sip qt5base -PYTHON_PYQT5_MODULES = \ - QtCore QtGui \ - $(if $(BR2_PACKAGE_QT5BASE_DBUS),QtDBus) \ - $(if $(BR2_PACKAGE_QT5BASE_NETWORK),QtNetwork) \ - $(if $(BR2_PACKAGE_QT5BASE_OPENGL_LIB),QtOpenGL) \ - $(if $(BR2_PACKAGE_QT5BASE_PRINTSUPPORT),QtPrintSupport) \ - $(if $(BR2_PACKAGE_QT5BASE_XML),QtXml) - -ifeq ($(BR2_PACKAGE_PYTHON),y) -PYTHON_PYQT5_PYTHON_DIR = python$(PYTHON_VERSION_MAJOR) -PYTHON_PYQT5_RM_PORT_BASE = port_v3 -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -PYTHON_PYQT5_PYTHON_DIR = python$(PYTHON3_VERSION_MAJOR) -PYTHON_PYQT5_RM_PORT_BASE = port_v2 -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) -PYTHON_PYQT5_MODULES += QtWidgets - -# QtSql needs QtWidgets -ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y) -PYTHON_PYQT5_MODULES += QtSql -endif - -# QtTest needs QtWidgets -ifeq ($(BR2_PACKAGE_QT5BASE_TEST),y) -PYTHON_PYQT5_MODULES += QtTest -endif - -# QtSvg needs QtWidgets -ifeq ($(BR2_PACKAGE_QT5SVG),y) -PYTHON_PYQT5_DEPENDENCIES += qt5svg -PYTHON_PYQT5_MODULES += QtSvg -endif -endif - -ifeq ($(BR2_PACKAGE_QT5CONNECTIVITY),y) -PYTHON_PYQT5_DEPENDENCIES += qt5connectivity -PYTHON_PYQT5_MODULES += QtBluetooth QtNfc -endif - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -PYTHON_PYQT5_DEPENDENCIES += qt5declarative -PYTHON_PYQT5_MODULES += QtQml - -# QtQuick module needs opengl -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK)$(BR2_PACKAGE_QT5BASE_OPENGL_LIB),yy) -PYTHON_PYQT5_MODULES += \ - QtQuick \ - $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtQuickWidgets) -endif -endif - -ifeq ($(BR2_PACKAGE_QT5ENGINIO),y) -PYTHON_PYQT5_DEPENDENCIES += qt5enginio -PYTHON_PYQT5_MODULES += Enginio -endif - -ifeq ($(BR2_PACKAGE_QT5LOCATION),y) -PYTHON_PYQT5_DEPENDENCIES += qt5location -PYTHON_PYQT5_MODULES += QtPositioning -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y) -PYTHON_PYQT5_MODULES += QtLocation -endif -endif - -ifeq ($(BR2_PACKAGE_QT5MULTIMEDIA),y) -PYTHON_PYQT5_DEPENDENCIES += qt5multimedia -PYTHON_PYQT5_MODULES += \ - QtMultimedia \ - $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtMultimediaWidgets) -endif - -ifeq ($(BR2_PACKAGE_QT5SENSORS),y) -PYTHON_PYQT5_DEPENDENCIES += qt5sensors -PYTHON_PYQT5_MODULES += QtSensors -endif - -ifeq ($(BR2_PACKAGE_QT5SERIALPORT),y) -PYTHON_PYQT5_DEPENDENCIES += qt5serialport -PYTHON_PYQT5_MODULES += QtSerialPort -endif - -ifeq ($(BR2_PACKAGE_QT5WEBCHANNEL),y) -PYTHON_PYQT5_DEPENDENCIES += qt5webchannel -PYTHON_PYQT5_MODULES += QtWebChannel -endif - -ifeq ($(BR2_PACKAGE_QT5WEBENGINE),y) -PYTHON_PYQT5_DEPENDENCIES += qt5webengine -PYTHON_PYQT5_MODULES += \ - QtWebEngineCore \ - $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtWebEngineWidgets) -endif - -ifeq ($(BR2_PACKAGE_QT5WEBKIT),y) -PYTHON_PYQT5_DEPENDENCIES += qt5webkit -PYTHON_PYQT5_MODULES += \ - QtWebKit \ - $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtWebKitWidgets) -endif - -ifeq ($(BR2_PACKAGE_QT5WEBSOCKETS),y) -PYTHON_PYQT5_DEPENDENCIES += qt5websockets -PYTHON_PYQT5_MODULES += QtWebSockets -endif - -ifeq ($(BR2_PACKAGE_QT5X11EXTRAS),y) -PYTHON_PYQT5_DEPENDENCIES += qt5x11extras -PYTHON_PYQT5_MODULES += QtX11Extras -endif - -ifeq ($(BR2_PACKAGE_QT5XMLPATTERNS),y) -PYTHON_PYQT5_DEPENDENCIES += qt5xmlpatterns -PYTHON_PYQT5_MODULES += QtXmlPatterns -endif - -PYTHON_PYQT5_QTDETAIL_LICENSE = Open Source - -PYTHON_PYQT5_QTDETAIL_TYPE = shared - -# Turn off features that aren't available in current qt configuration -PYTHON_PYQT5_QTDETAIL_DISABLE_FEATURES += $(if $(BR2_PACKAGE_QT5BASE_OPENGL),,PyQt_OpenGL) -PYTHON_PYQT5_QTDETAIL_DISABLE_FEATURES += $(if $(BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP),,PyQt_Desktop_OpenGL) -PYTHON_PYQT5_QTDETAIL_DISABLE_FEATURES += $(if $(BR2_PACKAGE_OPENSSL),,PyQt_SSL) - -define PYTHON_PYQT5_QTDETAIL - echo $(1) >> $(2)/qtdetail.out -endef - -# Since we can't run generate qtdetail.out by running qtdetail on target device -# we must generate the configuration. -define PYTHON_PYQT5_GENERATE_QTDETAIL - $(RM) -f $(1)/qtdetail.out - $(call PYTHON_PYQT5_QTDETAIL,$(PYTHON_PYQT5_QTDETAIL_LICENSE),$(1)) - $(call PYTHON_PYQT5_QTDETAIL,$(PYTHON_PYQT5_QTDETAIL_TYPE),$(1)) - $(foreach f,$(PYTHON_PYQT5_QTDETAIL_DISABLE_FEATURES), - $(call PYTHON_PYQT5_QTDETAIL,$(f),$(1)) \ - ) -endef - -PYTHON_PYQT5_CONF_OPTS = \ - --bindir $(TARGET_DIR)/usr/bin \ - --destdir $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT5_PYTHON_DIR)/site-packages \ - --qmake $(HOST_DIR)/bin/qmake \ - --sysroot $(STAGING_DIR)/usr \ - -w --confirm-license \ - --no-designer-plugin \ - --no-docstrings \ - --no-sip-files \ - $(foreach module,$(PYTHON_PYQT5_MODULES),--enable=$(module)) - -define PYTHON_PYQT5_CONFIGURE_CMDS - $(call PYTHON_PYQT5_GENERATE_QTDETAIL,$(@D)) - (cd $(@D); \ - $(TARGET_MAKE_ENV) \ - $(TARGET_CONFIGURE_OPTS) \ - $(HOST_DIR)/bin/python configure.py \ - $(PYTHON_PYQT5_CONF_OPTS) \ - ) -endef - -define PYTHON_PYQT5_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -# __init__.py is needed to import PyQt5 -# __init__.pyc is needed if BR2_PACKAGE_PYTHON_PYC_ONLY is set -define PYTHON_PYQT5_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install - touch $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT5_PYTHON_DIR)/site-packages/PyQt5/__init__.py - $(RM) -rf $(TARGET_DIR)/usr/lib/$(PYTHON_PYQT5_PYTHON_DIR)/site-packages/PyQt5/uic/$(PYTHON_PYQT5_RM_PORT_BASE) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/python-pyrex/python-pyrex.hash b/buildroot-2021.05/package/python-pyrex/python-pyrex.hash deleted file mode 100644 index e8963558..00000000 --- a/buildroot-2021.05/package/python-pyrex/python-pyrex.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 5f87df06831d0b3412eb4bc9d3fc2ee7bfae1b913d7da8c23ab2bf5699fb6b50 Pyrex-0.9.9.tar.gz -sha256 5c1aec55fc8c399ec23968ddb2117eec8f7a53f002c15472a8b0aa7426790700 LICENSE.txt diff --git a/buildroot-2021.05/package/python-pyrex/python-pyrex.mk b/buildroot-2021.05/package/python-pyrex/python-pyrex.mk deleted file mode 100644 index 6284a5f2..00000000 --- a/buildroot-2021.05/package/python-pyrex/python-pyrex.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-pyrex -# -################################################################################ - -PYTHON_PYREX_VERSION = 0.9.9 -PYTHON_PYREX_SOURCE = Pyrex-$(PYTHON_PYREX_VERSION).tar.gz -PYTHON_PYREX_SITE = http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex -PYTHON_PYREX_LICENSE = Apache-2.0 -PYTHON_PYREX_LICENSE_FILES = LICENSE.txt -PYTHON_PYREX_SETUP_TYPE = distutils -HOST_PYTHON_PYREX_NEEDS_HOST_PYTHON = python2 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pyro/Config.in b/buildroot-2021.05/package/python-pyro/Config.in deleted file mode 100644 index 6372a1d3..00000000 --- a/buildroot-2021.05/package/python-pyro/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYRO - bool "python-pyro" - depends on BR2_PACKAGE_PYTHON - help - python-pyro is a Python library stands for PYthon Remote - Objects. It is an advanced and powerful Distributed Object - Technology system written entirely in Python, that is - designed to be very easy to use.. - - https://pypi.python.org/pypi/Pyro/ diff --git a/buildroot-2021.05/package/python-pyro/python-pyro.hash b/buildroot-2021.05/package/python-pyro/python-pyro.hash deleted file mode 100644 index c22b66dd..00000000 --- a/buildroot-2021.05/package/python-pyro/python-pyro.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/pyro/json -md5 59d4d3f4a8786776c9d7f9051b8f1a69 Pyro-3.16.tar.gz -# Locally computed -sha256 1bed508453ef7a7556b51424a58101af2349b662baab7e7331c5cb85dbe7e578 Pyro-3.16.tar.gz -sha256 7c14017a2f543384bfcde86043758b68d023b47bf09700a7df6dacbae9c82103 LICENSE diff --git a/buildroot-2021.05/package/python-pyro/python-pyro.mk b/buildroot-2021.05/package/python-pyro/python-pyro.mk deleted file mode 100644 index 235575c1..00000000 --- a/buildroot-2021.05/package/python-pyro/python-pyro.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-pyro -# -################################################################################ - -PYTHON_PYRO_VERSION = 3.16 -PYTHON_PYRO_SOURCE = Pyro-$(PYTHON_PYRO_VERSION).tar.gz -PYTHON_PYRO_SITE = https://pypi.python.org/packages/61/68/0978adae315261b87acd216517c2c7f00780396e4d1426c5412458c6a28f -PYTHON_PYRO_LICENSE = MIT -PYTHON_PYRO_LICENSE_FILES = LICENSE -PYTHON_PYRO_CPE_ID_VENDOR = pyro_project -PYTHON_PYRO_CPE_ID_PRODUCT = pyro -PYTHON_PYRO_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyroute2/Config.in b/buildroot-2021.05/package/python-pyroute2/Config.in deleted file mode 100644 index 5df0a63d..00000000 --- a/buildroot-2021.05/package/python-pyroute2/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYROUTE2 - bool "python-pyroute2" - select BR2_PACKAGE_PYTHON_SQLITE if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_SQLITE if BR2_PACKAGE_PYTHON3 - help - Python netlink library - Linux network / netns / wireless / - ipset configuration. - - https://github.com/svinota/pyroute2 diff --git a/buildroot-2021.05/package/python-pysftp/Config.in b/buildroot-2021.05/package/python-pysftp/Config.in deleted file mode 100644 index 06f883f6..00000000 --- a/buildroot-2021.05/package/python-pysftp/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYSFTP - bool "python-pysftp" - select BR2_PACKAGE_PYTHON_PARAMIKO # runtime - help - A friendly face on SFTP. - - https://bitbucket.org/dundeemt/pysftp diff --git a/buildroot-2021.05/package/python-pysmb/python-pysmb.hash b/buildroot-2021.05/package/python-pysmb/python-pysmb.hash deleted file mode 100644 index 94ff33ea..00000000 --- a/buildroot-2021.05/package/python-pysmb/python-pysmb.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/pysmb/json -md5 e6f9ce0032db528aae060f7019bd409c pysmb-1.1.19.tar.gz -# Locally computed -sha256 fa4e6b4a4f2afbfbd71e9179c491f8c77bc2ad19e0bc866d7c6cbfa9ae272602 pysmb-1.1.19.tar.gz -sha256 2b1a0a56543c1bda07f5583dddaf544442c139d3f46747d4700c7031ef354c14 LICENSE diff --git a/buildroot-2021.05/package/python-pysmb/python-pysmb.mk b/buildroot-2021.05/package/python-pysmb/python-pysmb.mk deleted file mode 100644 index 1b4c1879..00000000 --- a/buildroot-2021.05/package/python-pysmb/python-pysmb.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pysmb -# -################################################################################ - -PYTHON_PYSMB_VERSION = 1.1.19 -PYTHON_PYSMB_SOURCE = pysmb-$(PYTHON_PYSMB_VERSION).tar.gz -PYTHON_PYSMB_SITE = https://pypi.python.org/packages/f9/e7/1fd7faaa946cc6b43ce85bb7a177b75a4718d9c5e291201fec00112b497c -PYTHON_PYSMB_LICENSE = Libpng -PYTHON_PYSMB_LICENSE_FILES = LICENSE -PYTHON_PYSMB_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pytablereader/Config.in b/buildroot-2021.05/package/python-pytablereader/Config.in deleted file mode 100644 index e6b2a4a3..00000000 --- a/buildroot-2021.05/package/python-pytablereader/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYTABLEREADER - bool "python-pytablereader" - depends on BR2_PACKAGE_PYTHON3 # python-mbstrdecoder, python-pathpy - select BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4 # runtime - select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime - select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime - select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime - select BR2_PACKAGE_PYTHON_PATHPY # runtime - select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_TABLEDATA # runtime - select BR2_PACKAGE_PYTHON_TYPEPY # runtime - help - A python library to load structured table data from - files/URL with various data formats: - CSV/Excel/HTML/JSON/LTSV/Markdown/TSV. - - https://github.com/thombashi/pytablereader diff --git a/buildroot-2021.05/package/python-pytablewriter/Config.in b/buildroot-2021.05/package/python-pytablewriter/Config.in deleted file mode 100644 index b95ee357..00000000 --- a/buildroot-2021.05/package/python-pytablewriter/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYTABLEWRITER - bool "python-pytablewriter" - depends on BR2_PACKAGE_PYTHON3 # python-dataproperty, python-mbstrdecoder - select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime - select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime - select BR2_PACKAGE_PYTHON_MSGFY # runtime - select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_TABLEDATA # runtime - select BR2_PACKAGE_PYTHON_TYPEPY # runtime - help - pytablewriter is a python library to write a table in various - formats: CSV, HTML, JavaScript, JSON, Markdown, Excel, Pandas, - Python, reStructuredText. - - https://github.com/thombashi/pytablewriter diff --git a/buildroot-2021.05/package/python-pytest-asyncio/Config.in b/buildroot-2021.05/package/python-pytest-asyncio/Config.in deleted file mode 100644 index 3fa90e4e..00000000 --- a/buildroot-2021.05/package/python-pytest-asyncio/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYTEST_ASYNCIO - bool "python-pytest-asyncio" - depends on BR2_PACKAGE_PYTHON3 # pytest - select BR2_PACKAGE_PYTHON_PYTEST # runtime - help - Pytest support for asyncio. - - https://github.com/pytest-dev/pytest-asyncio diff --git a/buildroot-2021.05/package/python-pytest-asyncio/python-pytest-asyncio.hash b/buildroot-2021.05/package/python-pytest-asyncio/python-pytest-asyncio.hash deleted file mode 100644 index 40541f54..00000000 --- a/buildroot-2021.05/package/python-pytest-asyncio/python-pytest-asyncio.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pytest-asyncio/json -md5 b63593bc08f445f6e3f14c34128a68ed pytest-asyncio-0.14.0.tar.gz -sha256 9882c0c6b24429449f5f969a5158b528f39bde47dc32e85b9f0403965017e700 pytest-asyncio-0.14.0.tar.gz -# Locally computed sha256 checksums -sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE diff --git a/buildroot-2021.05/package/python-pytest-asyncio/python-pytest-asyncio.mk b/buildroot-2021.05/package/python-pytest-asyncio/python-pytest-asyncio.mk deleted file mode 100644 index 0645db3e..00000000 --- a/buildroot-2021.05/package/python-pytest-asyncio/python-pytest-asyncio.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pytest-asyncio -# -################################################################################ - -PYTHON_PYTEST_ASYNCIO_VERSION = 0.14.0 -PYTHON_PYTEST_ASYNCIO_SOURCE = pytest-asyncio-$(PYTHON_PYTEST_ASYNCIO_VERSION).tar.gz -PYTHON_PYTEST_ASYNCIO_SITE = https://files.pythonhosted.org/packages/65/09/9472d4db0625cf56d40f4e405f955faf6469be00858a273b71332f3fcd1f -PYTHON_PYTEST_ASYNCIO_SETUP_TYPE = setuptools -PYTHON_PYTEST_ASYNCIO_LICENSE = Apache-2.0 -PYTHON_PYTEST_ASYNCIO_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pytest/Config.in b/buildroot-2021.05/package/python-pytest/Config.in deleted file mode 100644 index ebbaeeea..00000000 --- a/buildroot-2021.05/package/python-pytest/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYTEST - bool "python-pytest" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_ATTRS # runtime - select BR2_PACKAGE_PYTHON_INICONFIG # runtime - select BR2_PACKAGE_PYTHON_PACKAGING # runtime - select BR2_PACKAGE_PYTHON_PLUGGY # runtime - select BR2_PACKAGE_PYTHON_PY # runtime - select BR2_PACKAGE_PYTHON_TOML # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime - help - pytest is a framework that makes building simple and scalable - tests easy. Tests are expressive and readable—no boilerplate - code required. - - https://docs.pytest.org/en/latest/ diff --git a/buildroot-2021.05/package/python-pytest/python-pytest.hash b/buildroot-2021.05/package/python-pytest/python-pytest.hash deleted file mode 100644 index 667493a5..00000000 --- a/buildroot-2021.05/package/python-pytest/python-pytest.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pytest/json -md5 78d75c37901f5df462afc86acaa443cd pytest-6.2.4.tar.gz -sha256 50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b pytest-6.2.4.tar.gz -# Locally computer sha256 -sha256 7898b9b164d4f93fd9a562fd0f592935518b48c4745303964110eb7f7fe64faf LICENSE diff --git a/buildroot-2021.05/package/python-pytest/python-pytest.mk b/buildroot-2021.05/package/python-pytest/python-pytest.mk deleted file mode 100644 index 6463b236..00000000 --- a/buildroot-2021.05/package/python-pytest/python-pytest.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-pytest -# -################################################################################ - -PYTHON_PYTEST_VERSION = 6.2.4 -PYTHON_PYTEST_SOURCE = pytest-$(PYTHON_PYTEST_VERSION).tar.gz -PYTHON_PYTEST_SITE = https://files.pythonhosted.org/packages/5b/98/92bbda5f83ed995ef8953349ef30c77c934abcc251c42ab3d7787a40c49c -PYTHON_PYTEST_SETUP_TYPE = setuptools -PYTHON_PYTEST_LICENSE = MIT -PYTHON_PYTEST_LICENSE_FILES = LICENSE -PYTHON_PYTEST_DEPENDENCIES = host-python-setuptools-scm - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pytrie/Config.in b/buildroot-2021.05/package/python-pytrie/Config.in deleted file mode 100644 index 722d263d..00000000 --- a/buildroot-2021.05/package/python-pytrie/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYTRIE - bool "python-pytrie" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_SORTEDCONTAINERS # runtime - help - A pure Python implementation of the trie data structure. - - https://pypi.python.org/pypi/PyTrie diff --git a/buildroot-2021.05/package/python-pytz/python-pytz.hash b/buildroot-2021.05/package/python-pytz/python-pytz.hash deleted file mode 100644 index d1ce81e5..00000000 --- a/buildroot-2021.05/package/python-pytz/python-pytz.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pytz/json -md5 c3d84a465fc56a4edd52cca8873ac0df pytz-2019.3.tar.gz -sha256 b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be pytz-2019.3.tar.gz -# Locally computed sha256 checksums -sha256 39f07c72a1bfda349cbd27bac9bcb1e6f8c5b4e5cc3fadf56900406e8cc0b792 LICENSE.txt diff --git a/buildroot-2021.05/package/python-pytz/python-pytz.mk b/buildroot-2021.05/package/python-pytz/python-pytz.mk deleted file mode 100644 index 888f3c45..00000000 --- a/buildroot-2021.05/package/python-pytz/python-pytz.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-pytz -# -################################################################################ - -PYTHON_PYTZ_VERSION = 2019.3 -PYTHON_PYTZ_SOURCE = pytz-$(PYTHON_PYTZ_VERSION).tar.gz -PYTHON_PYTZ_SITE = https://files.pythonhosted.org/packages/82/c3/534ddba230bd4fbbd3b7a3d35f3341d014cca213f369a9940925e7e5f691 -PYTHON_PYTZ_SETUP_TYPE = setuptools -PYTHON_PYTZ_LICENSE = MIT -PYTHON_PYTZ_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyudev/0001-Workaround-finding-libudev-on-systems-without-ldconf.patch b/buildroot-2021.05/package/python-pyudev/0001-Workaround-finding-libudev-on-systems-without-ldconf.patch deleted file mode 100644 index 67c27664..00000000 --- a/buildroot-2021.05/package/python-pyudev/0001-Workaround-finding-libudev-on-systems-without-ldconf.patch +++ /dev/null @@ -1,49 +0,0 @@ -From e86a1c199d45c9751da67f947af202927dee07f8 Mon Sep 17 00:00:00 2001 -From: Yegor Yefremov -Date: Thu, 10 Dec 2015 08:44:55 +0100 -Subject: [PATCH] Workaround finding libudev on systems without ldconf - -This patch tries to load libudev.so directly without relying on -Python's find_library(). find_library() fails on systems -without library cache mechanism. - -Taken from pyudev issue 117 discussion: -https://github.com/pyudev/pyudev/pull/117 - -Signed-off-by: Yegor Yefremov -[Marcin: adjust to 0.22.0] -Signed-off-by: Marcin Niestroj ---- - src/pyudev/_ctypeslib/utils.py | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/src/pyudev/_ctypeslib/utils.py b/src/pyudev/_ctypeslib/utils.py -index 9dffb3c..aa9942f 100644 ---- a/src/pyudev/_ctypeslib/utils.py -+++ b/src/pyudev/_ctypeslib/utils.py -@@ -28,7 +28,7 @@ - from __future__ import print_function - from __future__ import unicode_literals - --from ctypes import CDLL -+from ctypes import cdll, CDLL - from ctypes.util import find_library - - -@@ -50,10 +50,10 @@ def load_ctypes_library(name, signatures, error_checkers): - :rtype: ctypes.CDLL - :raises ImportError: if the library is not found - """ -- library_name = find_library(name) -- if not library_name: -+ try: -+ lib = cdll.LoadLibrary(f'lib{name}.so') -+ except OSError: - raise ImportError('No library named %s' % name) -- lib = CDLL(library_name, use_errno=True) - # Add function signatures - for funcname, signature in signatures.items(): - function = getattr(lib, funcname, None) --- -2.29.1 - diff --git a/buildroot-2021.05/package/python-pyudev/Config.in b/buildroot-2021.05/package/python-pyudev/Config.in deleted file mode 100644 index fb853956..00000000 --- a/buildroot-2021.05/package/python-pyudev/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYUDEV - bool "python-pyudev" - depends on BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - help - pyudev is a LGPL licenced, pure Python 2/3 binding to - libudev, the device and hardware management and information - library of Linux. - - https://github.com/pyudev/pyudev - -comment "python-pyudev needs udev /dev management" - depends on !BR2_PACKAGE_HAS_UDEV diff --git a/buildroot-2021.05/package/python-pyusb/Config.in b/buildroot-2021.05/package/python-pyusb/Config.in deleted file mode 100644 index 13080a9f..00000000 --- a/buildroot-2021.05/package/python-pyusb/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYUSB - bool "python-pyusb" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_TOOLCHAIN_HAS_THREADS # libusb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - The PyUSB module provides easy access to the Universal - Serial Bus (USB) from Python. - - http://sourceforge.net/apps/trac/pyusb/ - -comment "python-pyusb needs a toolchain w/ threads, gcc >= 4.9" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/python-pyusb/python-pyusb.hash b/buildroot-2021.05/package/python-pyusb/python-pyusb.hash deleted file mode 100644 index 9c634ef7..00000000 --- a/buildroot-2021.05/package/python-pyusb/python-pyusb.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi/pyusb/json -md5 a9db479f1fb914e91d3106e67a13ae09 pyusb-1.1.1.tar.gz -# Locally computed -sha256 7d449ad916ce58aff60b89aae0b65ac130f289c24d6a5b7b317742eccffafc38 pyusb-1.1.1.tar.gz -sha256 03e39fdcee9c18f2f9d0c3500a993ddeac050695eb81070ea41347587c76a7fe LICENSE diff --git a/buildroot-2021.05/package/python-pyusb/python-pyusb.mk b/buildroot-2021.05/package/python-pyusb/python-pyusb.mk deleted file mode 100644 index dc81efde..00000000 --- a/buildroot-2021.05/package/python-pyusb/python-pyusb.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-pyusb -# -################################################################################ - -PYTHON_PYUSB_VERSION = 1.1.1 -PYTHON_PYUSB_SOURCE = pyusb-$(PYTHON_PYUSB_VERSION).tar.gz -PYTHON_PYUSB_SITE = https://files.pythonhosted.org/packages/b9/8d/25c4e446a07e918eb39b5af25c4a83a89db95ae44e4ed5a46c3c53b0a4d6 -PYTHON_PYUSB_LICENSE = BSD-3-Clause -PYTHON_PYUSB_LICENSE_FILES = LICENSE -PYTHON_PYUSB_SETUP_TYPE = setuptools -PYTHON_PYUSB_DEPENDENCIES = host-python-setuptools-scm libusb - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyyaml/python-pyyaml.hash b/buildroot-2021.05/package/python-pyyaml/python-pyyaml.hash deleted file mode 100644 index 82b2f4f8..00000000 --- a/buildroot-2021.05/package/python-pyyaml/python-pyyaml.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/PyYAML/json -md5 46e25294c7efec23d4072ed6a7777f46 PyYAML-5.4.1.tar.gz -sha256 607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e PyYAML-5.4.1.tar.gz -# Locally computed sha256 checksums -sha256 8d3928f9dc4490fd635707cb88eb26bd764102a7282954307d3e5167a577e8a4 LICENSE diff --git a/buildroot-2021.05/package/python-pyyaml/python-pyyaml.mk b/buildroot-2021.05/package/python-pyyaml/python-pyyaml.mk deleted file mode 100644 index c9013de8..00000000 --- a/buildroot-2021.05/package/python-pyyaml/python-pyyaml.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# python-pyyaml -# -################################################################################ - -# Please keep in sync package/python3-pyyaml/python3-pyyaml.mk -PYTHON_PYYAML_VERSION = 5.4.1 -PYTHON_PYYAML_SOURCE = PyYAML-$(PYTHON_PYYAML_VERSION).tar.gz -PYTHON_PYYAML_SITE = https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d -PYTHON_PYYAML_SETUP_TYPE = setuptools -PYTHON_PYYAML_LICENSE = MIT -PYTHON_PYYAML_LICENSE_FILES = LICENSE -PYTHON_PYYAML_CPE_ID_VENDOR = pyyaml -PYTHON_PYYAML_CPE_ID_PRODUCT = pyyaml -PYTHON_PYYAML_DEPENDENCIES = libyaml -HOST_PYTHON_PYYAML_DEPENDENCIES = host-libyaml - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pyzmq/Config.in b/buildroot-2021.05/package/python-pyzmq/Config.in deleted file mode 100644 index 8f33a635..00000000 --- a/buildroot-2021.05/package/python-pyzmq/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_PYZMQ - bool "python-pyzmq" - depends on BR2_INSTALL_LIBSTDCPP # zeromq - depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq - select BR2_PACKAGE_ZEROMQ - help - This package contains the python language binding for zeromq. - - http://zeromq.org/bindings:python - -comment "python-pyzmq needs a toolchain w/ C++, threads" - depends on BR2_PACKAGE_PYTHON - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) diff --git a/buildroot-2021.05/package/python-raven/Config.in b/buildroot-2021.05/package/python-raven/Config.in deleted file mode 100644 index 0d4b26c0..00000000 --- a/buildroot-2021.05/package/python-raven/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_RAVEN - bool "python-raven" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_UNICODEDATA if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_UNICODEDATA if BR2_PACKAGE_PYTHON3 - help - Raven is a client for Sentry (https://getsentry.com). - - https://github.com/getsentry/raven-python diff --git a/buildroot-2021.05/package/python-reentry/Config.in b/buildroot-2021.05/package/python-reentry/Config.in deleted file mode 100644 index 8ebbe395..00000000 --- a/buildroot-2021.05/package/python-reentry/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_REENTRY - bool "python-reentry" - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_CLICK # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_PATHLIB2 if BR2_PACKAGE_PYTHON # runtime - help - A plugin manager based on setuptools entry points mechanism. - - https://pypi.org/project/reentry/ diff --git a/buildroot-2021.05/package/python-reentry/python-reentry.hash b/buildroot-2021.05/package/python-reentry/python-reentry.hash deleted file mode 100644 index 089d8594..00000000 --- a/buildroot-2021.05/package/python-reentry/python-reentry.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/reentry/json -md5 819931cd0a766a7c226879e57ccea9c7 reentry-1.3.1.tar.gz -sha256 2fe18c1a6946f3e2a51e1d5aa78228a11e879fbb0da14da5bf1e6252e83d26b1 reentry-1.3.1.tar.gz -# Locally computed sha256 checksums -sha256 4ae7f3216208a7e2327236e95bcd2397b2495f1c2298c708986c893bea608509 LICENSE diff --git a/buildroot-2021.05/package/python-reentry/python-reentry.mk b/buildroot-2021.05/package/python-reentry/python-reentry.mk deleted file mode 100644 index 428dbf2b..00000000 --- a/buildroot-2021.05/package/python-reentry/python-reentry.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-reentry -# -################################################################################ - -PYTHON_REENTRY_VERSION = 1.3.1 -PYTHON_REENTRY_SOURCE = reentry-$(PYTHON_REENTRY_VERSION).tar.gz -PYTHON_REENTRY_SITE = https://files.pythonhosted.org/packages/ee/3f/a90789e01c4d2b67a57e9bd758e60ecb9338d428604f66130b57684ba8cc -PYTHON_REENTRY_SETUP_TYPE = setuptools -PYTHON_REENTRY_LICENSE = MIT -PYTHON_REENTRY_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-regex/python-regex.hash b/buildroot-2021.05/package/python-regex/python-regex.hash deleted file mode 100644 index 4749cd61..00000000 --- a/buildroot-2021.05/package/python-regex/python-regex.hash +++ /dev/null @@ -1,3 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/regex/json -md5 cd206281327b4c087bb20bf93cee4ab9 regex-2021.4.4.tar.gz -sha256 52ba3d3f9b942c49d7e4bc105bb28551c44065f139a65062ab7912bef10c9afb regex-2021.4.4.tar.gz diff --git a/buildroot-2021.05/package/python-regex/python-regex.mk b/buildroot-2021.05/package/python-regex/python-regex.mk deleted file mode 100644 index c46c4d16..00000000 --- a/buildroot-2021.05/package/python-regex/python-regex.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-regex -# -################################################################################ - -# Please keep in sync with package/python3-regex/python3-regex.mk -PYTHON_REGEX_VERSION = 2021.4.4 -PYTHON_REGEX_SOURCE = regex-$(PYTHON_REGEX_VERSION).tar.gz -PYTHON_REGEX_SITE = https://files.pythonhosted.org/packages/38/3f/4c42a98c9ad7d08c16e7d23b2194a0e4f3b2914662da8bc88986e4e6de1f -PYTHON_REGEX_SETUP_TYPE = setuptools -PYTHON_REGEX_LICENSE = CNRI-Python - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-remi/Config.in b/buildroot-2021.05/package/python-remi/Config.in deleted file mode 100644 index e0c5e9bf..00000000 --- a/buildroot-2021.05/package/python-remi/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_REMI - bool "python-remi" - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - help - Remi is a GUI library for Python applications which transpiles - an application's interface into HTML to be rendered in a web - browser. This removes platform-specific dependencies and lets - you easily develop cross-platform applications in Python! - - https://github.com/dddomodossola/remi/tree/master diff --git a/buildroot-2021.05/package/python-remi/python-remi.hash b/buildroot-2021.05/package/python-remi/python-remi.hash deleted file mode 100644 index 832bf915..00000000 --- a/buildroot-2021.05/package/python-remi/python-remi.hash +++ /dev/null @@ -1,2 +0,0 @@ -# sha256 from https://pypi.org/pypi/remi/json -sha256 2a32658146b63d33a88aff7362679873c9df9e42a9e651c9e6642da834b3cca1 remi-2020.11.20.tar.gz diff --git a/buildroot-2021.05/package/python-remi/python-remi.mk b/buildroot-2021.05/package/python-remi/python-remi.mk deleted file mode 100644 index 56667339..00000000 --- a/buildroot-2021.05/package/python-remi/python-remi.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-remi -# -################################################################################ - -PYTHON_REMI_VERSION = 2020.11.20 -PYTHON_REMI_SOURCE = remi-$(PYTHON_REMI_VERSION).tar.gz -PYTHON_REMI_SITE = https://files.pythonhosted.org/packages/47/45/3110334859199be84d9b230fd31e2333b4c69832e15facc0868bed2aa3f3 -PYTHON_REMI_LICENSE = Apache-2.0 -PYTHON_REMI_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-request-id/python-request-id.hash b/buildroot-2021.05/package/python-request-id/python-request-id.hash deleted file mode 100644 index ecf9d650..00000000 --- a/buildroot-2021.05/package/python-request-id/python-request-id.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/request-id/json -md5 81d6159edc745384181cb97f045c51b4 request-id-1.0.tar.gz -sha256 4928002c8e4c767f3f8319194c9f3080ff98f14cabf44c0674a81ee58ec20fc4 request-id-1.0.tar.gz -# Locally computed sha256 checksums -sha256 2d65d17b4df34f184557b8031df05e4c264d2fa6b82e560be074967eff3b326c LICENSE.txt diff --git a/buildroot-2021.05/package/python-request-id/python-request-id.mk b/buildroot-2021.05/package/python-request-id/python-request-id.mk deleted file mode 100644 index 4812e53c..00000000 --- a/buildroot-2021.05/package/python-request-id/python-request-id.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-request-id -# -################################################################################ - -PYTHON_REQUEST_ID_VERSION = 1.0 -PYTHON_REQUEST_ID_SOURCE = request-id-$(PYTHON_REQUEST_ID_VERSION).tar.gz -PYTHON_REQUEST_ID_SITE = https://files.pythonhosted.org/packages/bc/b6/ade909d4af3dffe492789d36ea58a0ecbd637f8200bc480b282d455fe497 -PYTHON_REQUEST_ID_SETUP_TYPE = setuptools -PYTHON_REQUEST_ID_LICENSE = MIT -PYTHON_REQUEST_ID_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-requests/Config.in b/buildroot-2021.05/package/python-requests/Config.in deleted file mode 100644 index 30158b8d..00000000 --- a/buildroot-2021.05/package/python-requests/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_REQUESTS - bool "python-requests" - select BR2_PACKAGE_PYTHON_CERTIFI # runtime - select BR2_PACKAGE_PYTHON_CHARDET # runtime - select BR2_PACKAGE_PYTHON_IDNA # runtime - select BR2_PACKAGE_PYTHON_URLLIB3 # runtime - select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - Requests is an Apache2 Licensed HTTP library, written in - Python, for human beings. - - http://www.python-requests.org/ diff --git a/buildroot-2021.05/package/python-requests/python-requests.hash b/buildroot-2021.05/package/python-requests/python-requests.hash deleted file mode 100644 index e07c7bf5..00000000 --- a/buildroot-2021.05/package/python-requests/python-requests.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/requests/json -md5 514d6f7eba77ada0b8c98ec7818828db requests-2.25.1.tar.gz -sha256 27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804 requests-2.25.1.tar.gz -# Locally computed sha256 checksums -sha256 09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b LICENSE diff --git a/buildroot-2021.05/package/python-requests/python-requests.mk b/buildroot-2021.05/package/python-requests/python-requests.mk deleted file mode 100644 index 5d0f545f..00000000 --- a/buildroot-2021.05/package/python-requests/python-requests.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-requests -# -################################################################################ - -# Please keep in sync with package/python3-requests/python3-requests.mk -PYTHON_REQUESTS_VERSION = 2.25.1 -PYTHON_REQUESTS_SOURCE = requests-$(PYTHON_REQUESTS_VERSION).tar.gz -PYTHON_REQUESTS_SITE = https://files.pythonhosted.org/packages/6b/47/c14abc08432ab22dc18b9892252efaf005ab44066de871e72a38d6af464b -PYTHON_REQUESTS_SETUP_TYPE = setuptools -PYTHON_REQUESTS_LICENSE = Apache-2.0 -PYTHON_REQUESTS_LICENSE_FILES = LICENSE -PYTHON_REQUESTS_CPE_ID_VENDOR = python -PYTHON_REQUESTS_CPE_ID_PRODUCT = requests - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-rpi-gpio/Config.in b/buildroot-2021.05/package/python-rpi-gpio/Config.in deleted file mode 100644 index 4f59ebdb..00000000 --- a/buildroot-2021.05/package/python-rpi-gpio/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_RPI_GPIO - bool "python-rpi-gpio" - depends on BR2_arm - help - A Python module to control the GPIO on a Raspberry Pi. - - http://sourceforge.net/p/raspberry-gpio-python diff --git a/buildroot-2021.05/package/python-rpi-ws281x/0001-ws2811.c-fix-build-with-gcc-4.8.patch b/buildroot-2021.05/package/python-rpi-ws281x/0001-ws2811.c-fix-build-with-gcc-4.8.patch deleted file mode 100644 index 9b534ac6..00000000 --- a/buildroot-2021.05/package/python-rpi-ws281x/0001-ws2811.c-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 8faa5c2fb2b04b4fb062255aa807abafc50bff66 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 3 Apr 2021 10:27:20 +0200 -Subject: [PATCH] ws2811.c: fix build with gcc 4.8 - -Fix the following build failure with gcc 4.8 (which has been added by -commit 391f6e856d28510bd9ae4efd3a166da7f73613ab): - -lib/ws2811.c: In function 'ws2811_set_custom_gamma_factor': -lib/ws2811.c:1289:5: error: 'for' loop initial declarations are only allowed in C99 mode - for (int chan = 0; chan < RPI_PWM_CHANNELS; chan++) - ^ -lib/ws2811.c:1289:5: note: use option -std=c99 or -std=gnu99 to compile your code -lib/ws2811.c:1295:11: error: 'for' loop initial declarations are only allowed in C99 mode - for(int counter = 0; counter < 256; counter++) - ^ - -Fixes: - - http://autobuild.buildroot.org/results/3d037922484bfc45d0f985f87b38f20c5a4ab064 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/jgarff/rpi_ws281x/commit/0814bae544f0184ab1600bc2660486874eef5970] ---- - ws2811.c | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/ws2811.c b/ws2811.c -index f5cdebd..6482796 100644 ---- a/lib/ws2811.c -+++ b/lib/ws2811.c -@@ -1286,13 +1286,14 @@ const char * ws2811_get_return_t_str(const ws2811_return_t state) - - void ws2811_set_custom_gamma_factor(ws2811_t *ws2811, double gamma_factor) - { -- for (int chan = 0; chan < RPI_PWM_CHANNELS; chan++) -+ int chan, counter; -+ for (chan = 0; chan < RPI_PWM_CHANNELS; chan++) - { - ws2811_channel_t *channel = &ws2811->channel[chan]; - - if (channel->gamma) - { -- for(int counter = 0; counter < 256; counter++) -+ for(counter = 0; counter < 256; counter++) - { - - channel->gamma[counter] = (gamma_factor > 0)? (int)(pow((float)counter / (float)255.00, gamma_factor) * 255.00 + 0.5) : counter; --- -2.30.2 - diff --git a/buildroot-2021.05/package/python-rpi-ws281x/python-rpi-ws281x.hash b/buildroot-2021.05/package/python-rpi-ws281x/python-rpi-ws281x.hash deleted file mode 100644 index cb021a82..00000000 --- a/buildroot-2021.05/package/python-rpi-ws281x/python-rpi-ws281x.hash +++ /dev/null @@ -1,6 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/rpi-ws281x/json -md5 5da00a092ac3755c4913f5a53451744b rpi_ws281x-4.2.6.tar.gz -sha256 65a9918fbdd9df1ac612ccc1a385d4a550f1bc74cc6bbf6b9035ad26dc41b3ce rpi_ws281x-4.2.6.tar.gz -# Locally computed sha256 checksums -sha256 7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9 LICENSE -sha256 7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9 lib/LICENSE diff --git a/buildroot-2021.05/package/python-rpi-ws281x/python-rpi-ws281x.mk b/buildroot-2021.05/package/python-rpi-ws281x/python-rpi-ws281x.mk deleted file mode 100644 index b8ba1199..00000000 --- a/buildroot-2021.05/package/python-rpi-ws281x/python-rpi-ws281x.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-rpi-ws281x -# -################################################################################ - -PYTHON_RPI_WS281X_VERSION = 4.2.6 -PYTHON_RPI_WS281X_SOURCE = rpi_ws281x-$(PYTHON_RPI_WS281X_VERSION).tar.gz -PYTHON_RPI_WS281X_SITE = https://files.pythonhosted.org/packages/7f/1e/ea9ff56d9823fc55c79748630ffe0ceb30f619c9218743050bbf96d08704 -PYTHON_RPI_WS281X_SETUP_TYPE = setuptools -PYTHON_RPI_WS281X_LICENSE = BSD-2-Clause -PYTHON_RPI_WS281X_LICENSE_FILES = LICENSE lib/LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-rtslib-fb/python-rtslib-fb.hash b/buildroot-2021.05/package/python-rtslib-fb/python-rtslib-fb.hash deleted file mode 100644 index f67231d3..00000000 --- a/buildroot-2021.05/package/python-rtslib-fb/python-rtslib-fb.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 d5d81a78046b4c228d29ba88d9950e0f63858e5fcf601e3d0f8bf107fbaadc03 python-rtslib-fb-2.1.fb57.tar.gz -sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 COPYING diff --git a/buildroot-2021.05/package/python-rtslib-fb/python-rtslib-fb.mk b/buildroot-2021.05/package/python-rtslib-fb/python-rtslib-fb.mk deleted file mode 100644 index 421fbed0..00000000 --- a/buildroot-2021.05/package/python-rtslib-fb/python-rtslib-fb.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-rtslib-fb -# -################################################################################ - -# When upgrading the version, be sure to also upgrade -# python-configshell-fb and targetcli-fb at the same time. -PYTHON_RTSLIB_FB_VERSION = 2.1.fb57 -# Do not switch site to PyPI: it does not contain the latest version. -PYTHON_RTSLIB_FB_SITE = $(call github,open-iscsi,rtslib-fb,v$(PYTHON_RTSLIB_FB_VERSION)) -PYTHON_RTSLIB_FB_LICENSE = Apache-2.0 -PYTHON_RTSLIB_FB_LICENSE_FILES = COPYING -PYTHON_RTSLIB_FB_SETUP_TYPE = setuptools -PYTHON_RTSLIB_FB_DEPENDENCIES = python-six - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-s3transfer/Config.in b/buildroot-2021.05/package/python-s3transfer/Config.in deleted file mode 100644 index 6587a5fe..00000000 --- a/buildroot-2021.05/package/python-s3transfer/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_S3TRANSFER - bool "python-s3transfer" - select BR2_PACKAGE_PYTHON_BOTOCORE # runtime - # runtime, not needed for python3: - select BR2_PACKAGE_PYTHON_FUTURES if BR2_PACKAGE_PYTHON - help - An Amazon S3 Transfer Manager. - - https://github.com/boto/s3transfer diff --git a/buildroot-2021.05/package/python-s3transfer/python-s3transfer.hash b/buildroot-2021.05/package/python-s3transfer/python-s3transfer.hash deleted file mode 100644 index 496acc04..00000000 --- a/buildroot-2021.05/package/python-s3transfer/python-s3transfer.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/s3transfer/json -md5 e351d246498fca53e2ca2bf75c550d60 s3transfer-0.3.3.tar.gz -sha256 921a37e2aefc64145e7b73d50c71bb4f26f46e4c9f414dc648c6245ff92cf7db s3transfer-0.3.3.tar.gz -# Locally computed sha256 checksums -sha256 8c6db340475136df3c1201d458fa5755698eace76e510471ecc9d857d6083dac LICENSE.txt diff --git a/buildroot-2021.05/package/python-s3transfer/python-s3transfer.mk b/buildroot-2021.05/package/python-s3transfer/python-s3transfer.mk deleted file mode 100644 index 946be261..00000000 --- a/buildroot-2021.05/package/python-s3transfer/python-s3transfer.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-s3transfer -# -################################################################################ - -PYTHON_S3TRANSFER_VERSION = 0.3.3 -PYTHON_S3TRANSFER_SOURCE = s3transfer-$(PYTHON_S3TRANSFER_VERSION).tar.gz -PYTHON_S3TRANSFER_SITE = https://files.pythonhosted.org/packages/50/de/2b688c062107942486c81a739383b1432a72717d9a85a6a1a692f003c70c -PYTHON_S3TRANSFER_SETUP_TYPE = setuptools -PYTHON_S3TRANSFER_LICENSE = Apache-2.0 -PYTHON_S3TRANSFER_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-scapy/Config.in b/buildroot-2021.05/package/python-scapy/Config.in deleted file mode 100644 index 6575a33a..00000000 --- a/buildroot-2021.05/package/python-scapy/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_SCAPY - bool "python-scapy" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - Scapy: interactive packet manipulation tool. - - http://www.secdev.org/projects/scapy diff --git a/buildroot-2021.05/package/python-scapy/python-scapy.hash b/buildroot-2021.05/package/python-scapy/python-scapy.hash deleted file mode 100644 index 8618e54f..00000000 --- a/buildroot-2021.05/package/python-scapy/python-scapy.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/scapy/json -md5 01e52ff5d1f04364e17fc2d42872282e scapy-2.4.4.tar.gz -sha256 ecfd7a14cd9c3ef0eb08d28d5bb71d97219edff1454ccbdff229f676b27900ee scapy-2.4.4.tar.gz -# Locally computed sha256 checksums -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/python-scapy/python-scapy.mk b/buildroot-2021.05/package/python-scapy/python-scapy.mk deleted file mode 100644 index 3083a844..00000000 --- a/buildroot-2021.05/package/python-scapy/python-scapy.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-scapy -# -################################################################################ - -PYTHON_SCAPY_VERSION = 2.4.4 -PYTHON_SCAPY_SOURCE = scapy-$(PYTHON_SCAPY_VERSION).tar.gz -PYTHON_SCAPY_SITE = https://files.pythonhosted.org/packages/c6/8f/438d4d0bab4c8e22906a7401dd082b4c0f914daf2bbdc7e7e8390d81a5c3 -PYTHON_SCAPY_SETUP_TYPE = setuptools -PYTHON_SCAPY_LICENSE = GPL-2.0 -PYTHON_SCAPY_LICENSE_FILES = LICENSE -PYTHON_SCAPY_CPE_ID_VENDOR = scapy -PYTHON_SCAPY_CPE_ID_PRODUCT = scapy - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-schedule/python-schedule.hash b/buildroot-2021.05/package/python-schedule/python-schedule.hash deleted file mode 100644 index 79777829..00000000 --- a/buildroot-2021.05/package/python-schedule/python-schedule.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/schedule/json -md5 e29fd3b436b03220e147a4ed8191d220 schedule-0.6.0.tar.gz -sha256 f9fb5181283de4db6e701d476dd01b6a3dd81c38462a54991ddbb9d26db857c9 schedule-0.6.0.tar.gz -# Locally computed sha256 checksums -sha256 30a8352c318ce1b645acde0299697342d4380ed2637d7ca18a8ad25661e3b41b LICENSE.txt diff --git a/buildroot-2021.05/package/python-schedule/python-schedule.mk b/buildroot-2021.05/package/python-schedule/python-schedule.mk deleted file mode 100644 index c0cc7dce..00000000 --- a/buildroot-2021.05/package/python-schedule/python-schedule.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-schedule -# -################################################################################ - -PYTHON_SCHEDULE_VERSION = 0.6.0 -PYTHON_SCHEDULE_SOURCE = schedule-$(PYTHON_SCHEDULE_VERSION).tar.gz -PYTHON_SCHEDULE_SITE = https://files.pythonhosted.org/packages/00/07/6a9953ff83e003eaadebf0a51d33c6b596f9451fcbea36a3a2e575f6af99 -PYTHON_SCHEDULE_SETUP_TYPE = setuptools -PYTHON_SCHEDULE_LICENSE = MIT -PYTHON_SCHEDULE_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-secretstorage/Config.in b/buildroot-2021.05/package/python-secretstorage/Config.in deleted file mode 100644 index 78a0a2ae..00000000 --- a/buildroot-2021.05/package/python-secretstorage/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_SECRETSTORAGE - bool "python-secretstorage" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_INSTALL_LIBSTDCPP # python-cryptography - select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime - help - Python bindings to FreeDesktop.org Secret Service API. - - https://github.com/mitya57/secretstorage - -comment "python-secretstorage needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-semver/Config.in b/buildroot-2021.05/package/python-semver/Config.in deleted file mode 100644 index c66231a7..00000000 --- a/buildroot-2021.05/package/python-semver/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_PYTHON_SEMVER - bool "python-semver" - help - Python helper for Semantic Versioning (http://semver.org/). - - https://github.com/k-bx/python-semver diff --git a/buildroot-2021.05/package/python-semver/python-semver.hash b/buildroot-2021.05/package/python-semver/python-semver.hash deleted file mode 100644 index 5c13764e..00000000 --- a/buildroot-2021.05/package/python-semver/python-semver.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/semver/json -md5 3e11ae9782121e8ffe9f8a8b763a8cb5 semver-2.10.2.tar.gz -sha256 c0a4a9d1e45557297a722ee9bac3de2ec2ea79016b6ffcaca609b0bc62cf4276 semver-2.10.2.tar.gz -# Locally computed -sha256 cda490c32e61d3884dc17791fc8078f2a3e564fba98dd18b4dc64eb2720b2b6f LICENSE.txt diff --git a/buildroot-2021.05/package/python-semver/python-semver.mk b/buildroot-2021.05/package/python-semver/python-semver.mk deleted file mode 100644 index 32ed6b97..00000000 --- a/buildroot-2021.05/package/python-semver/python-semver.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-semver -# -################################################################################ - -PYTHON_SEMVER_VERSION = 2.10.2 -PYTHON_SEMVER_SOURCE = semver-$(PYTHON_SEMVER_VERSION).tar.gz -PYTHON_SEMVER_SITE = https://files.pythonhosted.org/packages/aa/e8/cb894f70a52887f001aff5f264f68272c21fa58268495aca17df396c161f -PYTHON_SEMVER_SETUP_TYPE = setuptools -PYTHON_SEMVER_LICENSE = BSD-3-Clause -PYTHON_SEMVER_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-sentry-sdk/python-sentry-sdk.hash b/buildroot-2021.05/package/python-sentry-sdk/python-sentry-sdk.hash deleted file mode 100644 index feade89f..00000000 --- a/buildroot-2021.05/package/python-sentry-sdk/python-sentry-sdk.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/sentry-sdk/json -md5 5d4abcc416cbd0b9443bf56588b02b55 sentry-sdk-0.17.3.tar.gz -sha256 0af429c221670e602f960fca85ca3f607c85510a91f11e8be8f742a978127f78 sentry-sdk-0.17.3.tar.gz -# Locally computed sha256 checksums -sha256 59404d4c854e579097d41bfccd5006afde9d6d70e646cf55074cdbfead5ecf1c LICENSE diff --git a/buildroot-2021.05/package/python-sentry-sdk/python-sentry-sdk.mk b/buildroot-2021.05/package/python-sentry-sdk/python-sentry-sdk.mk deleted file mode 100644 index 256aafa6..00000000 --- a/buildroot-2021.05/package/python-sentry-sdk/python-sentry-sdk.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# python-sentry-sdk -# -################################################################################ - -PYTHON_SENTRY_SDK_VERSION = 0.17.3 -PYTHON_SENTRY_SDK_SOURCE = sentry-sdk-$(PYTHON_SENTRY_SDK_VERSION).tar.gz -PYTHON_SENTRY_SDK_SITE = https://files.pythonhosted.org/packages/64/7e/f1725d8649ef8f7d58cbec582157c454884238e59fef00b1707d555c7bea -PYTHON_SENTRY_SDK_SETUP_TYPE = setuptools -PYTHON_SENTRY_SDK_LICENSE = BSD-2-Clause -PYTHON_SENTRY_SDK_LICENSE_FILES = LICENSE - -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_SENTRY_SDK_RM_PY3_FILES - rm -f $(addprefix $(TARGET_DIR)/usr/lib/python*/site-packages/sentry_sdk/integrations/,\ - aiohttp.py asgi.py django/asgi.py sanic.py tornado.py) -endef - -PYTHON_SENTRY_SDK_POST_INSTALL_TARGET_HOOKS += PYTHON_SENTRY_SDK_RM_PY3_FILES -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-serial-asyncio/Config.in b/buildroot-2021.05/package/python-serial-asyncio/Config.in deleted file mode 100644 index 5520b725..00000000 --- a/buildroot-2021.05/package/python-serial-asyncio/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_SERIAL_ASYNCIO - bool "python-serial-asyncio" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_SERIAL - help - asyncio extension package for pyserial. - - https://github.com/pyserial/pyserial-asyncio diff --git a/buildroot-2021.05/package/python-serial-asyncio/python-serial-asyncio.hash b/buildroot-2021.05/package/python-serial-asyncio/python-serial-asyncio.hash deleted file mode 100644 index f5d1d9e4..00000000 --- a/buildroot-2021.05/package/python-serial-asyncio/python-serial-asyncio.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/pyserial-asyncio/json -md5 64d15bfb20982b2129b02070321f49f3 pyserial-asyncio-0.5.tar.gz -sha256 1641e5433a866eeaf6464b3ab88b741e7a89dd8cd0f851b3343b15f425138d33 pyserial-asyncio-0.5.tar.gz -# Locally computed sha256 checksums -sha256 ebc84abdbdec7f9fa6962612c110123897db47b79529d5ae41191ef584b88f2c LICENSE.txt diff --git a/buildroot-2021.05/package/python-serial-asyncio/python-serial-asyncio.mk b/buildroot-2021.05/package/python-serial-asyncio/python-serial-asyncio.mk deleted file mode 100644 index bc95f2c4..00000000 --- a/buildroot-2021.05/package/python-serial-asyncio/python-serial-asyncio.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-serial-asyncio -# -################################################################################ - -PYTHON_SERIAL_ASYNCIO_VERSION = 0.5 -PYTHON_SERIAL_ASYNCIO_SOURCE = pyserial-asyncio-$(PYTHON_SERIAL_ASYNCIO_VERSION).tar.gz -PYTHON_SERIAL_ASYNCIO_SITE = https://files.pythonhosted.org/packages/e1/97/8dd1bf656796668ed4bd86058c815b130303a00a7b70cf79758e4918814a -PYTHON_SERIAL_ASYNCIO_LICENSE = BSD-3-Clause -PYTHON_SERIAL_ASYNCIO_LICENSE_FILES = LICENSE.txt -PYTHON_SERIAL_ASYNCIO_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-service-identity/Config.in b/buildroot-2021.05/package/python-service-identity/Config.in deleted file mode 100644 index 0260ab40..00000000 --- a/buildroot-2021.05/package/python-service-identity/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY - bool "python-service-identity" - depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl - select BR2_PACKAGE_PYTHON_ATTRS # runtime - select BR2_PACKAGE_PYTHON_CHARACTERISTIC # runtime - select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_PYASN1 # runtime - select BR2_PACKAGE_PYTHON_PYASN1_MODULES # runtime - select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime - help - Service identity verification for pyOpenSSL. - - https://pypi.python.org/pypi/service_identity - -comment "python-service-identify needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-setproctitle/python-setproctitle.hash b/buildroot-2021.05/package/python-setproctitle/python-setproctitle.hash deleted file mode 100644 index 6bade7bb..00000000 --- a/buildroot-2021.05/package/python-setproctitle/python-setproctitle.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=2dcdd1b761700a5a13252fea3dfd1977 -md5 2dcdd1b761700a5a13252fea3dfd1977 setproctitle-1.1.10.tar.gz -# Locally computed -sha256 6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398 setproctitle-1.1.10.tar.gz -sha256 40e85df0511ccacd29b6b5898e7e09b76889fc2f5d94b2670ece847977d3bbed COPYRIGHT diff --git a/buildroot-2021.05/package/python-setproctitle/python-setproctitle.mk b/buildroot-2021.05/package/python-setproctitle/python-setproctitle.mk deleted file mode 100644 index ff33c0c1..00000000 --- a/buildroot-2021.05/package/python-setproctitle/python-setproctitle.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-setproctitle -# -################################################################################ - -PYTHON_SETPROCTITLE_VERSION = 1.1.10 -PYTHON_SETPROCTITLE_SOURCE = setproctitle-$(PYTHON_SETPROCTITLE_VERSION).tar.gz -PYTHON_SETPROCTITLE_SITE = https://pypi.python.org/packages/5a/0d/dc0d2234aacba6cf1a729964383e3452c52096dc695581248b548786f2b3 -PYTHON_SETPROCTITLE_LICENSE = BSD-3-Clause -PYTHON_SETPROCTITLE_LICENSE_FILES = COPYRIGHT -PYTHON_SETPROCTITLE_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-setuptools-rust/python-setuptools-rust.hash b/buildroot-2021.05/package/python-setuptools-rust/python-setuptools-rust.hash deleted file mode 100644 index a93e98e8..00000000 --- a/buildroot-2021.05/package/python-setuptools-rust/python-setuptools-rust.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/setuptools-rust/json -md5 33c3fd3bcde2877483ab782353bee54c setuptools-rust-0.12.1.tar.gz -sha256 647009e924f0ae439c7f3e0141a184a69ad247ecb9044c511dabde232d3d570e setuptools-rust-0.12.1.tar.gz -# Locally computed sha256 checksums -sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/buildroot-2021.05/package/python-setuptools-rust/python-setuptools-rust.mk b/buildroot-2021.05/package/python-setuptools-rust/python-setuptools-rust.mk deleted file mode 100644 index fe299e80..00000000 --- a/buildroot-2021.05/package/python-setuptools-rust/python-setuptools-rust.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-setuptools-rust -# -################################################################################ - -PYTHON_SETUPTOOLS_RUST_VERSION = 0.12.1 -PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz -PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/12/22/6ba3031e7cbd6eb002e13ffc7397e136df95813b6a2bd71ece52a8f89613 -PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools -PYTHON_SETUPTOOLS_RUST_LICENSE = MIT -PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE -HOST_PYTHON_SETUPTOOLS_RUST_DEPENDENCIES = host-rustc host-python-setuptools-scm host-python-toml host-python-semantic-version -HOST_PYTHON_SETUPTOOLS_RUST_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-setuptools-scm/python-setuptools-scm.hash b/buildroot-2021.05/package/python-setuptools-scm/python-setuptools-scm.hash deleted file mode 100644 index 79999fca..00000000 --- a/buildroot-2021.05/package/python-setuptools-scm/python-setuptools-scm.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/setuptools-scm/json -md5 c11bf23d80224691a46ee5deb84c42db setuptools_scm-5.0.1.tar.gz -sha256 c85b6b46d0edd40d2301038cdea96bb6adc14d62ef943e75afb08b3e7bcf142a setuptools_scm-5.0.1.tar.gz -# sha256 locally computed -sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSE diff --git a/buildroot-2021.05/package/python-setuptools-scm/python-setuptools-scm.mk b/buildroot-2021.05/package/python-setuptools-scm/python-setuptools-scm.mk deleted file mode 100644 index caca6d43..00000000 --- a/buildroot-2021.05/package/python-setuptools-scm/python-setuptools-scm.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-setuptools-scm -# -################################################################################ - -PYTHON_SETUPTOOLS_SCM_VERSION = 5.0.1 -PYTHON_SETUPTOOLS_SCM_SOURCE = setuptools_scm-$(PYTHON_SETUPTOOLS_SCM_VERSION).tar.gz -PYTHON_SETUPTOOLS_SCM_SITE = https://files.pythonhosted.org/packages/af/df/f8aa8a78d4d29e0cffa4512e9bc223ed02f24893fe1837c6cee2749ebd67 -PYTHON_SETUPTOOLS_SCM_LICENSE = MIT -PYTHON_SETUPTOOLS_SCM_LICENSE_FILES = LICENSE -PYTHON_SETUPTOOLS_SCM_SETUP_TYPE = setuptools - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-setuptools/0001-add-executable.patch b/buildroot-2021.05/package/python-setuptools/0001-add-executable.patch deleted file mode 100644 index 1f8714ea..00000000 --- a/buildroot-2021.05/package/python-setuptools/0001-add-executable.patch +++ /dev/null @@ -1,72 +0,0 @@ -From 9b3d307f8f6a1af88f3f810f5a6cf0835830e1e8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=B6rg=20Krause?= -Date: Mon, 7 Dec 2015 01:14:33 +0100 -Subject: [PATCH 1/1] add executable -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add a new --executable option to distribute so that we can -force the shebang line in installed python scripts. - -[Thomas: refresh for setuptools 5.8.] -[Jörg: refresh for setuptools 18.7.1] - -Signed-off-by: Gustavo Zacarias -Signed-off-by: Thomas Petazzoni -Signed-off-by: Jörg Krause ---- - setuptools/command/install.py | 2 ++ - setuptools/command/install_scripts.py | 9 +++++++++ - 2 files changed, 11 insertions(+) - -diff --git a/setuptools/command/install.py b/setuptools/command/install.py -index d2bca2e..b60ef19 100644 ---- a/setuptools/command/install.py -+++ b/setuptools/command/install.py -@@ -16,6 +16,7 @@ class install(orig.install): - """Use easy_install to install the package, w/dependencies""" - - user_options = orig.install.user_options + [ -+ ('executable=', 'e', "specify final destination interpreter path"), - ('old-and-unmanageable', None, "Try not to use this!"), - ('single-version-externally-managed', None, - "used by system package builders to create 'flat' eggs"), -@@ -31,6 +32,7 @@ class install(orig.install): - - def initialize_options(self): - orig.install.initialize_options(self) -+ self.executable = None - self.old_and_unmanageable = None - self.single_version_externally_managed = None - -diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py -index be66cb2..07afaf8 100755 ---- a/setuptools/command/install_scripts.py -+++ b/setuptools/command/install_scripts.py -@@ -11,6 +11,13 @@ class install_scripts(orig.install_scripts): - def initialize_options(self): - orig.install_scripts.initialize_options(self) - self.no_ep = False -+ self.executable = None -+ -+ def finalize_options(self): -+ orig.install_scripts.finalize_options(self) -+ self.set_undefined_options('install', -+ ('executable','executable') -+ ) - - def run(self): - import setuptools.command.easy_install as ei -@@ -31,6 +38,8 @@ class install_scripts(orig.install_scripts): - ) - bs_cmd = self.get_finalized_command('build_scripts') - exec_param = getattr(bs_cmd, 'executable', None) -+ if self.executable is not None: -+ exec_param = self.executable - bw_cmd = self.get_finalized_command("bdist_wininst") - is_wininst = getattr(bw_cmd, '_is_running', False) - writer = ei.ScriptWriter --- -2.6.3 - diff --git a/buildroot-2021.05/package/python-setuptools/Config.in b/buildroot-2021.05/package/python-setuptools/Config.in deleted file mode 100644 index f203d0f8..00000000 --- a/buildroot-2021.05/package/python-setuptools/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_SETUPTOOLS - bool "python-setuptools" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - help - Download, build, install, upgrade, and uninstall Python - packages. - - http://pypi.python.org/pypi/setuptools diff --git a/buildroot-2021.05/package/python-setuptools/python-setuptools.hash b/buildroot-2021.05/package/python-setuptools/python-setuptools.hash deleted file mode 100644 index 769b68c3..00000000 --- a/buildroot-2021.05/package/python-setuptools/python-setuptools.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://pypi.org/pypi/setuptools/json -md5 32b6cdce670ce462086d246bea181e9d setuptools-44.0.0.zip -sha256 e5baf7723e5bb8382fc146e33032b241efc63314211a3a120aaa55d62d2bb008 setuptools-44.0.0.zip -sha256 c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a LICENSE diff --git a/buildroot-2021.05/package/python-setuptools/python-setuptools.mk b/buildroot-2021.05/package/python-setuptools/python-setuptools.mk deleted file mode 100644 index 08a180ce..00000000 --- a/buildroot-2021.05/package/python-setuptools/python-setuptools.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# python-setuptools -# -################################################################################ - -# Please keep in sync with -# package/python3-setuptools/python3-setuptools.mk -PYTHON_SETUPTOOLS_VERSION = 44.0.0 -PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).zip -PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485 -PYTHON_SETUPTOOLS_LICENSE = MIT -PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE -PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python -PYTHON_SETUPTOOLS_CPE_ID_PRODUCT = setuptools -PYTHON_SETUPTOOLS_SETUP_TYPE = setuptools -HOST_PYTHON_SETUPTOOLS_NEEDS_HOST_PYTHON = python2 - -define PYTHON_SETUPTOOLS_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(PYTHON_SETUPTOOLS_DL_DIR)/$(PYTHON_SETUPTOOLS_SOURCE) - mv $(@D)/setuptools-$(PYTHON_SETUPTOOLS_VERSION)/* $(@D) - $(RM) -r $(@D)/setuptools-$(PYTHON_SETUPTOOLS_VERSION) -endef - -define HOST_PYTHON_SETUPTOOLS_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(HOST_PYTHON_SETUPTOOLS_DL_DIR)/$(PYTHON_SETUPTOOLS_SOURCE) - mv $(@D)/setuptools-$(PYTHON_SETUPTOOLS_VERSION)/* $(@D) - $(RM) -r $(@D)/setuptools-$(PYTHON_SETUPTOOLS_VERSION) -endef - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-sh/python-sh.hash b/buildroot-2021.05/package/python-sh/python-sh.hash deleted file mode 100644 index fffdd20c..00000000 --- a/buildroot-2021.05/package/python-sh/python-sh.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/sh/json -md5 7e3dd3a6b49c06db93746994a68cb8cf sh-1.13.1.tar.gz -sha256 97a3d2205e3c6a842d87ebbc9ae93acae5a352b1bc4609b428d0fd5bb9e286a3 sh-1.13.1.tar.gz -# Locally computed -sha256 d8491c6e236568d04f7c8c07f2f1b8f5d142706dab6ab88f6e0d2dd476b6c706 LICENSE.txt diff --git a/buildroot-2021.05/package/python-sh/python-sh.mk b/buildroot-2021.05/package/python-sh/python-sh.mk deleted file mode 100644 index 21c0fb3d..00000000 --- a/buildroot-2021.05/package/python-sh/python-sh.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-sh -# -################################################################################ - -PYTHON_SH_VERSION = 1.13.1 -PYTHON_SH_SOURCE = sh-$(PYTHON_SH_VERSION).tar.gz -PYTHON_SH_SITE = https://files.pythonhosted.org/packages/c9/3b/2c9a22bf1c48ced7ff3a11d4a862682c21d825c35f9d025811ad9808d263 -PYTHON_SH_SETUP_TYPE = setuptools -PYTHON_SH_LICENSE = MIT -PYTHON_SH_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-simpleaudio/Config.in b/buildroot-2021.05/package/python-simpleaudio/Config.in deleted file mode 100644 index c6fcd8b0..00000000 --- a/buildroot-2021.05/package/python-simpleaudio/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_PYTHON_SIMPLEAUDIO - bool "python-simpleaudio" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib - select BR2_PACKAGE_ALSA_LIB - help - The simplaudio package provides cross-platform, - dependency-free audio playback capability for Python 3 on - OSX, Windows, and Linux. - - https://github.com/hamiltron/py-simple-audio - -comment "python-simpleaudio needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/python-simplejson/python-simplejson.hash b/buildroot-2021.05/package/python-simplejson/python-simplejson.hash deleted file mode 100644 index d89d824d..00000000 --- a/buildroot-2021.05/package/python-simplejson/python-simplejson.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/simplejson/json -md5 8a5ed75c367b90fedc3d685742e2a1c7 simplejson-3.17.0.tar.gz -sha256 2b4b2b738b3b99819a17feaf118265d0753d5536049ea570b3c43b51c4701e81 simplejson-3.17.0.tar.gz -# Locally computed sha256 checksums -sha256 fcaa1e313a99304322e2e0836ea4ee7d839ce9a480438f3922a853edfdde129f LICENSE.txt diff --git a/buildroot-2021.05/package/python-simplejson/python-simplejson.mk b/buildroot-2021.05/package/python-simplejson/python-simplejson.mk deleted file mode 100644 index cf5bd3a4..00000000 --- a/buildroot-2021.05/package/python-simplejson/python-simplejson.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-simplejson -# -################################################################################ - -PYTHON_SIMPLEJSON_VERSION = 3.17.0 -PYTHON_SIMPLEJSON_SOURCE = simplejson-$(PYTHON_SIMPLEJSON_VERSION).tar.gz -PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/98/87/a7b98aa9256c8843f92878966dc3d8d914c14aad97e2c5ce4798d5743e07 -PYTHON_SIMPLEJSON_LICENSE = Academic Free License (AFL), MIT -PYTHON_SIMPLEJSON_LICENSE_FILES = LICENSE.txt -PYTHON_SIMPLEJSON_CPE_ID_VENDOR = simplejson_project -PYTHON_SIMPLEJSON_CPE_ID_PRODUCT = simplejson -PYTHON_SIMPLEJSON_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-simplesqlite/Config.in b/buildroot-2021.05/package/python-simplesqlite/Config.in deleted file mode 100644 index 7e5484f4..00000000 --- a/buildroot-2021.05/package/python-simplesqlite/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_PYTHON_SIMPLESQLITE - bool "python-simplesqlite" - depends on BR2_PACKAGE_PYTHON3 # python-mbstrdecoder - select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime - select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime - select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON3_SQLITE # runtime - select BR2_PACKAGE_PYTHON_SQLITESCHEMA # runtime - select BR2_PACKAGE_PYTHON_TABLEDATA # runtime - select BR2_PACKAGE_PYTHON_TYPEPY # runtime - help - SimpleSQLite is a Python library to simplify SQLite database - operations: table creation, data insertion and get data as - other data formats. - - https://github.com/thombashi/SimpleSQLite diff --git a/buildroot-2021.05/package/python-singledispatch/Config.in b/buildroot-2021.05/package/python-singledispatch/Config.in deleted file mode 100644 index 4abc219f..00000000 --- a/buildroot-2021.05/package/python-singledispatch/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_SINGLEDISPATCH - bool "python-singledispatch" - depends on BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_SIX # runtime - help - This library brings functools.singledispatch from - Python 3.4 to Python 2.6-3.3 - - https://pypi.python.org/pypi/singledispatch diff --git a/buildroot-2021.05/package/python-singledispatch/python-singledispatch.hash b/buildroot-2021.05/package/python-singledispatch/python-singledispatch.hash deleted file mode 100644 index c4eec53e..00000000 --- a/buildroot-2021.05/package/python-singledispatch/python-singledispatch.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=af2fc6a3d6cc5a02d0bf54d909785fcb -md5 af2fc6a3d6cc5a02d0bf54d909785fcb singledispatch-3.4.0.3.tar.gz -# Locally computed -sha256 5b06af87df13818d14f08a028e42f566640aef80805c3b50c5056b086e3c2b9c singledispatch-3.4.0.3.tar.gz -sha256 5a724c436f88585973787af91cecf58503cbf09e5c1721c516880614700767ef setup.py diff --git a/buildroot-2021.05/package/python-singledispatch/python-singledispatch.mk b/buildroot-2021.05/package/python-singledispatch/python-singledispatch.mk deleted file mode 100644 index 7e1d5ac8..00000000 --- a/buildroot-2021.05/package/python-singledispatch/python-singledispatch.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-singledispatch -# -################################################################################ - -PYTHON_SINGLEDISPATCH_VERSION = 3.4.0.3 -PYTHON_SINGLEDISPATCH_SOURCE = singledispatch-$(PYTHON_SINGLEDISPATCH_VERSION).tar.gz -PYTHON_SINGLEDISPATCH_SITE = https://pypi.python.org/packages/source/s/singledispatch -PYTHON_SINGLEDISPATCH_LICENSE = MIT -PYTHON_SINGLEDISPATCH_LICENSE_FILES = setup.py -PYTHON_SINGLEDISPATCH_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-sip/python-sip.mk b/buildroot-2021.05/package/python-sip/python-sip.mk deleted file mode 100644 index 1d6c2053..00000000 --- a/buildroot-2021.05/package/python-sip/python-sip.mk +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# -# python-sip -# -################################################################################ - -PYTHON_SIP_VERSION = 4.18 -PYTHON_SIP_SOURCE = sip-$(PYTHON_SIP_VERSION).tar.gz -PYTHON_SIP_SITE = http://downloads.sourceforge.net/project/pyqt/sip/sip-$(PYTHON_SIP_VERSION) -PYTHON_SIP_LICENSE = SIP license or GPL-2.0 or GPL-3.0 -PYTHON_SIP_LICENSE_FILES = LICENSE LICENSE-GPL2 LICENSE-GPL3 - -PYTHON_SIP_DEPENDENCIES = qt5base - -ifeq ($(BR2_PACKAGE_PYTHON),y) -PYTHON_SIP_DEPENDENCIES += python -HOST_PYTHON_SIP_DEPENDENCIES += host-python -PYTHON_SIP_LIB_DIR = usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages -PYTHON_SIP_INCLUDE_DIR = usr/include/python$(PYTHON_VERSION_MAJOR) -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -PYTHON_SIP_DEPENDENCIES += python3 -HOST_PYTHON_SIP_DEPENDENCIES += host-python3 -PYTHON_SIP_LIB_DIR = usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages -PYTHON_SIP_INCLUDE_DIR = usr/include/python$(PYTHON3_VERSION_MAJOR) -endif - -define HOST_PYTHON_SIP_CONFIGURE_CMDS - (cd $(@D); \ - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(HOST_DIR)/bin/python configure.py) -endef - -define HOST_PYTHON_SIP_BUILD_CMDS - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -define HOST_PYTHON_SIP_INSTALL_CMDS - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) install -C $(@D) -endef - -define PYTHON_SIP_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(HOST_DIR)/bin/python configure.py \ - --bindir $(TARGET_DIR)/usr/bin \ - --destdir $(TARGET_DIR)/$(PYTHON_SIP_LIB_DIR) \ - --incdir $(STAGING_DIR)/$(PYTHON_SIP_INCLUDE_DIR) \ - --sipdir $(TARGET_DIR)/usr/share/sip \ - --sysroot $(STAGING_DIR)/usr \ - --use-qmake && \ - $(HOST_DIR)/bin/qmake) -endef - -define PYTHON_SIP_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -define PYTHON_SIP_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/python-six/python-six.hash b/buildroot-2021.05/package/python-six/python-six.hash deleted file mode 100644 index 9945ffd1..00000000 --- a/buildroot-2021.05/package/python-six/python-six.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/six/json -md5 9f90a0eaa0ea7747fda01ca79d21ebcb six-1.15.0.tar.gz -sha256 30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259 six-1.15.0.tar.gz -# Locally computed sha256 checksums -sha256 8bb850c565aa389fdc16f3a46965ad23d82adff60f2393fc2762b63185e8e6c9 LICENSE diff --git a/buildroot-2021.05/package/python-six/python-six.mk b/buildroot-2021.05/package/python-six/python-six.mk deleted file mode 100644 index 7c298d6f..00000000 --- a/buildroot-2021.05/package/python-six/python-six.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-six -# -################################################################################ - -# Please keep in sync with package/python3-six/python3-six.mk -PYTHON_SIX_VERSION = 1.15.0 -PYTHON_SIX_SOURCE = six-$(PYTHON_SIX_VERSION).tar.gz -PYTHON_SIX_SITE = https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426 -PYTHON_SIX_SETUP_TYPE = setuptools -PYTHON_SIX_LICENSE = MIT -PYTHON_SIX_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-slob/Config.in b/buildroot-2021.05/package/python-slob/Config.in deleted file mode 100644 index 07d04d49..00000000 --- a/buildroot-2021.05/package/python-slob/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_PYTHON_SLOB - bool "python-slob" - depends on !BR2_BINFMT_FLAT # python-pyicu -> icu - depends on BR2_HOST_GCC_AT_LEAST_4_9 # python-pyicu -> icu - depends on BR2_INSTALL_LIBSTDCPP # python-pyicu -> icu - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-pyicu -> icu - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_PYICU # runtime - # although optional, it is used as default compression - select BR2_PACKAGE_PYTHON3_XZ # runtime - help - slob.py is a reference implementation of slob format reader - and writer. - - https://github.com/itkach/slob - -comment "python-slob needs a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9" - depends on BR2_PACKAGE_PYTHON3 && !BR2_BINFMT_FLAT - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/python-smmap2/python-smmap2.hash b/buildroot-2021.05/package/python-smmap2/python-smmap2.hash deleted file mode 100644 index 8a7ea42a..00000000 --- a/buildroot-2021.05/package/python-smmap2/python-smmap2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/smmap2/json -md5 1c59a985be5aa645c4c5a4e063a40dd5 smmap2-2.0.5.tar.gz -sha256 29a9ffa0497e7f2be94ca0ed1ca1aa3cd4cf25a1f6b4f5f87f74b46ed91d609a smmap2-2.0.5.tar.gz -# Locally computed sha256 checksums -sha256 88e9d93f708d110b328a834302dd1d5c6afbda530e7721d15d80b3511d86f235 LICENSE diff --git a/buildroot-2021.05/package/python-smmap2/python-smmap2.mk b/buildroot-2021.05/package/python-smmap2/python-smmap2.mk deleted file mode 100644 index daf379fe..00000000 --- a/buildroot-2021.05/package/python-smmap2/python-smmap2.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-smmap2 -# -################################################################################ - -PYTHON_SMMAP2_VERSION = 2.0.5 -PYTHON_SMMAP2_SOURCE = smmap2-$(PYTHON_SMMAP2_VERSION).tar.gz -PYTHON_SMMAP2_SITE = https://files.pythonhosted.org/packages/3b/ba/e49102b3e8ffff644edded25394b2d22ebe3e645f3f6a8139129c4842ffe -PYTHON_SMMAP2_SETUP_TYPE = setuptools -PYTHON_SMMAP2_LICENSE = BSD-3-Clause -PYTHON_SMMAP2_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-socketio/Config.in b/buildroot-2021.05/package/python-socketio/Config.in deleted file mode 100644 index af0f6f32..00000000 --- a/buildroot-2021.05/package/python-socketio/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_SOCKETIO - bool "python-socketio" - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_ENGINEIO # runtime - help - Socket.IO server. - - http://github.com/miguelgrinberg/python-socketio/ diff --git a/buildroot-2021.05/package/python-socketio/python-socketio.hash b/buildroot-2021.05/package/python-socketio/python-socketio.hash deleted file mode 100644 index d0d8a87d..00000000 --- a/buildroot-2021.05/package/python-socketio/python-socketio.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/python-socketio/json -md5 86cd47dddea1785ce7a6c72f55c93fe7 python-socketio-4.3.1.tar.gz -sha256 506b2cf7a520b40ea0b3f25e1272eff8de134dce6f471c1f6bc0de8c90fe8c57 python-socketio-4.3.1.tar.gz -# Locally computed sha256 checksums -sha256 c9e97d3dbc1fbbcdb4f7808b282cd646db887aff4f5313fe6bbe8d4c31405a9c LICENSE diff --git a/buildroot-2021.05/package/python-socketio/python-socketio.mk b/buildroot-2021.05/package/python-socketio/python-socketio.mk deleted file mode 100644 index 73dab26f..00000000 --- a/buildroot-2021.05/package/python-socketio/python-socketio.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# python-socketio -# -################################################################################ - -PYTHON_SOCKETIO_VERSION = 4.3.1 -PYTHON_SOCKETIO_SITE = https://files.pythonhosted.org/packages/36/87/e9128a4da04df991fbdb01f44dc4d6dd8f6c03bfd4d1f42dcd6779fd975a -PYTHON_SOCKETIO_SETUP_TYPE = setuptools -PYTHON_SOCKETIO_LICENSE = MIT -PYTHON_SOCKETIO_LICENSE_FILES = LICENSE - -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_SOCKETIO_RM_PY3_FILES - rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/socketio/asgi.py \ - $(TARGET_DIR)/usr/lib/python*/site-packages/socketio/asyncio_*.py -endef - -PYTHON_SOCKETIO_POST_INSTALL_TARGET_HOOKS += PYTHON_SOCKETIO_RM_PY3_FILES -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-sockjs/Config.in b/buildroot-2021.05/package/python-sockjs/Config.in deleted file mode 100644 index 583d7ec7..00000000 --- a/buildroot-2021.05/package/python-sockjs/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_SOCKJS - bool "python-sockjs" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_AIOHTTP # runtime - help - SockJS server implementation for aiohttp. - - https://github.com/aio-libs/sockjs/ diff --git a/buildroot-2021.05/package/python-sortedcontainers/python-sortedcontainers.hash b/buildroot-2021.05/package/python-sortedcontainers/python-sortedcontainers.hash deleted file mode 100644 index d97687dd..00000000 --- a/buildroot-2021.05/package/python-sortedcontainers/python-sortedcontainers.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/sortedcontainers/json -md5 660260df593a3769c7b5854f13d574c0 sortedcontainers-2.3.0.tar.gz -sha256 59cc937650cf60d677c16775597c89a960658a09cf7c1a668f86e1e4464b10a1 sortedcontainers-2.3.0.tar.gz -# Locally computed sha256 checksums -sha256 1db7cae7fce6452e2e608e401a0f953e0133e4c2d75db69fb8ae851d2086f5b6 LICENSE diff --git a/buildroot-2021.05/package/python-sortedcontainers/python-sortedcontainers.mk b/buildroot-2021.05/package/python-sortedcontainers/python-sortedcontainers.mk deleted file mode 100644 index 31cab76f..00000000 --- a/buildroot-2021.05/package/python-sortedcontainers/python-sortedcontainers.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-sortedcontainers -# -################################################################################ - -PYTHON_SORTEDCONTAINERS_VERSION = 2.3.0 -PYTHON_SORTEDCONTAINERS_SOURCE = sortedcontainers-$(PYTHON_SORTEDCONTAINERS_VERSION).tar.gz -PYTHON_SORTEDCONTAINERS_SITE = https://files.pythonhosted.org/packages/14/10/6a9481890bae97da9edd6e737c9c3dec6aea3fc2fa53b0934037b35c89ea -PYTHON_SORTEDCONTAINERS_SETUP_TYPE = setuptools -PYTHON_SORTEDCONTAINERS_LICENSE = Apache-2.0 -PYTHON_SORTEDCONTAINERS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-soupsieve/Config.in b/buildroot-2021.05/package/python-soupsieve/Config.in deleted file mode 100644 index c42e9758..00000000 --- a/buildroot-2021.05/package/python-soupsieve/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_SOUPSIEVE - bool "python-soupsieve" - select BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE \ - if BR2_PACKAGE_PYTHON # runtime - help - A modern CSS selector implementation for Beautiful Soup. - - https://github.com/facelessuser/soupsieve diff --git a/buildroot-2021.05/package/python-soupsieve/python-soupsieve.hash b/buildroot-2021.05/package/python-soupsieve/python-soupsieve.hash deleted file mode 100644 index c4c1273e..00000000 --- a/buildroot-2021.05/package/python-soupsieve/python-soupsieve.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/soupsieve/json -md5 43d8ea20c58494446aa65ba5cc6320fe soupsieve-1.9.4.tar.gz -sha256 605f89ad5fdbfefe30cdc293303665eff2d188865d4dbe4eb510bba1edfbfce3 soupsieve-1.9.4.tar.gz -# Locally computed sha256 checksums -sha256 0eee19bf360e5f7a8180e2f6d613d716f7115a456f670e3d8bb35c45a0db1838 LICENSE.md diff --git a/buildroot-2021.05/package/python-soupsieve/python-soupsieve.mk b/buildroot-2021.05/package/python-soupsieve/python-soupsieve.mk deleted file mode 100644 index 1203b26c..00000000 --- a/buildroot-2021.05/package/python-soupsieve/python-soupsieve.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-soupsieve -# -################################################################################ - -PYTHON_SOUPSIEVE_VERSION = 1.9.4 -PYTHON_SOUPSIEVE_SOURCE = soupsieve-$(PYTHON_SOUPSIEVE_VERSION).tar.gz -PYTHON_SOUPSIEVE_SITE = https://files.pythonhosted.org/packages/7f/4e/95a13527e18b6f1a15c93f1c634b86d5fa634c5619dce695f4e0cd68182f -PYTHON_SOUPSIEVE_SETUP_TYPE = setuptools -PYTHON_SOUPSIEVE_LICENSE = MIT -PYTHON_SOUPSIEVE_LICENSE_FILES = LICENSE.md - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-sqliteschema/Config.in b/buildroot-2021.05/package/python-sqliteschema/Config.in deleted file mode 100644 index 83836471..00000000 --- a/buildroot-2021.05/package/python-sqliteschema/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_SQLITESCHEMA - bool "python-sqliteschema" - depends on BR2_PACKAGE_PYTHON3 # python-mbstrdecoder - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_TABLEDATA # runtime - select BR2_PACKAGE_PYTHON_TYPEPY # runtime - help - A Python library to dump table schema of a SQLite database - file. - - https://github.com/thombashi/sqliteschema diff --git a/buildroot-2021.05/package/python-sqliteschema/python-sqliteschema.hash b/buildroot-2021.05/package/python-sqliteschema/python-sqliteschema.hash deleted file mode 100644 index b25b0ae1..00000000 --- a/buildroot-2021.05/package/python-sqliteschema/python-sqliteschema.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/sqliteschema/json -md5 175afa008a628f6dc32392a72d4c6b74 sqliteschema-0.16.2.tar.gz -sha256 023a443abdc12796928c04441fabbbe12e1fe8608f562b4650ae1f9a19504139 sqliteschema-0.16.2.tar.gz -# Locally computed sha256 checksums -sha256 7588265082eed5e9f4afd5090c57e610b740ec547b16aaaab739ba07c5eefb15 LICENSE diff --git a/buildroot-2021.05/package/python-sqliteschema/python-sqliteschema.mk b/buildroot-2021.05/package/python-sqliteschema/python-sqliteschema.mk deleted file mode 100644 index 890bfb9d..00000000 --- a/buildroot-2021.05/package/python-sqliteschema/python-sqliteschema.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-sqliteschema -# -################################################################################ - -PYTHON_SQLITESCHEMA_VERSION = 0.16.2 -PYTHON_SQLITESCHEMA_SOURCE = sqliteschema-$(PYTHON_SQLITESCHEMA_VERSION).tar.gz -PYTHON_SQLITESCHEMA_SITE = https://files.pythonhosted.org/packages/91/b6/87a9218d37afd061a8b26c0ec058299b85c3f859f1c80aff10752188e056 -PYTHON_SQLITESCHEMA_SETUP_TYPE = setuptools -PYTHON_SQLITESCHEMA_LICENSE = MIT -PYTHON_SQLITESCHEMA_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-subprocess32/Config.in b/buildroot-2021.05/package/python-subprocess32/Config.in deleted file mode 100644 index d7fe84f1..00000000 --- a/buildroot-2021.05/package/python-subprocess32/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_PYTHON_SUBPROCESS32 - bool "python-subprocess32" - depends on BR2_PACKAGE_PYTHON - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || !BR2_MIPS_NABI64 - help - A backport of the Python 3 subprocess module for use - on Python 2. - - https://github.com/google/python-subprocess32 - -comment "python-subprocess32 needs a toolchain w/ headers >= 3.10 on MIPS N64" - depends on BR2_MIPS_NABI64 - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 diff --git a/buildroot-2021.05/package/python-subprocess32/python-subprocess32.hash b/buildroot-2021.05/package/python-subprocess32/python-subprocess32.hash deleted file mode 100644 index 65d18763..00000000 --- a/buildroot-2021.05/package/python-subprocess32/python-subprocess32.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/subprocess32/json -md5 748844d560be5f0c707931cba1cdb48b subprocess32-3.5.4.tar.gz -sha256 eb2937c80497978d181efa1b839ec2d9622cf9600a039a79d0e108d1f9aec79d subprocess32-3.5.4.tar.gz -# Locally computed sha256 checksums -sha256 826b43437249d39422642f695154d064da64de92eb1476048a615f50bc1beb4a LICENSE diff --git a/buildroot-2021.05/package/python-subprocess32/python-subprocess32.mk b/buildroot-2021.05/package/python-subprocess32/python-subprocess32.mk deleted file mode 100644 index fb8a47f9..00000000 --- a/buildroot-2021.05/package/python-subprocess32/python-subprocess32.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# python-subprocess32 -# -################################################################################ - -PYTHON_SUBPROCESS32_VERSION = 3.5.4 -PYTHON_SUBPROCESS32_SOURCE = subprocess32-$(PYTHON_SUBPROCESS32_VERSION).tar.gz -PYTHON_SUBPROCESS32_SITE = https://files.pythonhosted.org/packages/32/c8/564be4d12629b912ea431f1a50eb8b3b9d00f1a0b1ceff17f266be190007 -PYTHON_SUBPROCESS32_SETUP_TYPE = setuptools -PYTHON_SUBPROCESS32_LICENSE = Python-2.0 -PYTHON_SUBPROCESS32_LICENSE_FILES = LICENSE - -# The configure step needs to be run outside of the setup.py since it isn't -# run correctly for cross-compiling -define PYTHON_SUBPROCESS32_CONFIGURE_CMDS - (cd $(@D) && \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - ./configure \ - --target=$(GNU_TARGET_NAME) \ - --host=$(GNU_TARGET_NAME) \ - --build=$(GNU_HOST_NAME) \ - --prefix=/usr \ - --exec-prefix=/usr \ - --sysconfdir=/etc \ - --program-prefix="" \ - ) -endef - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-tabledata/Config.in b/buildroot-2021.05/package/python-tabledata/Config.in deleted file mode 100644 index a73207f9..00000000 --- a/buildroot-2021.05/package/python-tabledata/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_PYTHON_TABLEDATA - bool "python-tabledata" - depends on BR2_PACKAGE_PYTHON3 # python-dataproperty, python-typepy - select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_TYPEPY # runtime - help - A Python library to represent tabular data for - pytablewriter/pytablereader/SimpleSQLite. - - https://github.com/thombashi/tabledata diff --git a/buildroot-2021.05/package/python-tabledata/python-tabledata.hash b/buildroot-2021.05/package/python-tabledata/python-tabledata.hash deleted file mode 100644 index 5c9a538f..00000000 --- a/buildroot-2021.05/package/python-tabledata/python-tabledata.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/tabledata/json -md5 7d1ab52001d85d19d86f08a5ad8aab58 tabledata-1.1.2.tar.gz -sha256 db893596ab9066e5c4f002ae0fed70657e3b75cceb52dd1de5a0e145e338d830 tabledata-1.1.2.tar.gz -# Locally computed sha256 checksums -sha256 bebbdf0524a147f89a615fff53d79bdc90cbc7631550fb4b725cd3f3bdcd24f6 LICENSE diff --git a/buildroot-2021.05/package/python-tabledata/python-tabledata.mk b/buildroot-2021.05/package/python-tabledata/python-tabledata.mk deleted file mode 100644 index c1503e69..00000000 --- a/buildroot-2021.05/package/python-tabledata/python-tabledata.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-tabledata -# -################################################################################ - -PYTHON_TABLEDATA_VERSION = 1.1.2 -PYTHON_TABLEDATA_SOURCE = tabledata-$(PYTHON_TABLEDATA_VERSION).tar.gz -PYTHON_TABLEDATA_SITE = https://files.pythonhosted.org/packages/73/7c/67eec8e92504b8e00e5cc0053a3401bd1441eefc70cecfa4427bfcf76b89 -PYTHON_TABLEDATA_SETUP_TYPE = setuptools -PYTHON_TABLEDATA_LICENSE = MIT -PYTHON_TABLEDATA_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-tempora/Config.in b/buildroot-2021.05/package/python-tempora/Config.in deleted file mode 100644 index 06ccbfc2..00000000 --- a/buildroot-2021.05/package/python-tempora/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_TEMPORA - bool "python-tempora" - depends on BR2_PACKAGE_PYTHON3 # python-jaraco-functools - select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_PYTZ # runtime - help - Objects and routines pertaining to date and time. - - https://github.com/jaraco/tempora diff --git a/buildroot-2021.05/package/python-terminaltables/Config.in b/buildroot-2021.05/package/python-terminaltables/Config.in deleted file mode 100644 index 8f3c4296..00000000 --- a/buildroot-2021.05/package/python-terminaltables/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_TERMINALTABLES - bool "python-terminaltables" - help - Generate simple tables in terminals from a nested list of - strings. - - https://github.com/Robpol86/terminaltables diff --git a/buildroot-2021.05/package/python-terminaltables/python-terminaltables.hash b/buildroot-2021.05/package/python-terminaltables/python-terminaltables.hash deleted file mode 100644 index 3184f5f7..00000000 --- a/buildroot-2021.05/package/python-terminaltables/python-terminaltables.hash +++ /dev/null @@ -1,3 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/terminaltables/json -md5 863797674d8f75d22e16e6c1fdcbeb41 terminaltables-3.1.0.tar.gz -sha256 f3eb0eb92e3833972ac36796293ca0906e998dc3be91fbe1f8615b331b853b81 terminaltables-3.1.0.tar.gz diff --git a/buildroot-2021.05/package/python-terminaltables/python-terminaltables.mk b/buildroot-2021.05/package/python-terminaltables/python-terminaltables.mk deleted file mode 100644 index 763f82e9..00000000 --- a/buildroot-2021.05/package/python-terminaltables/python-terminaltables.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-terminaltables -# -################################################################################ - -PYTHON_TERMINALTABLES_VERSION = 3.1.0 -PYTHON_TERMINALTABLES_SOURCE = terminaltables-$(PYTHON_TERMINALTABLES_VERSION).tar.gz -PYTHON_TERMINALTABLES_SITE = https://files.pythonhosted.org/packages/9b/c4/4a21174f32f8a7e1104798c445dacdc1d4df86f2f26722767034e4de4bff -PYTHON_TERMINALTABLES_SETUP_TYPE = setuptools -PYTHON_TERMINALTABLES_LICENSE = MIT - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-texttable/python-texttable.hash b/buildroot-2021.05/package/python-texttable/python-texttable.hash deleted file mode 100644 index a69e8ed4..00000000 --- a/buildroot-2021.05/package/python-texttable/python-texttable.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/texttable/json -md5 68e6b31d36f5c20221da7d5db3eca772 texttable-1.6.3.tar.gz -sha256 ce0faf21aa77d806bbff22b107cc22cce68dc9438f97a2df32c93e9afa4ce436 texttable-1.6.3.tar.gz -# Locally computed sha256 checksums -sha256 4ba7bdab54504a3bc44eb33ecca873a26a63ab902822101a87bb46235da63594 LICENSE diff --git a/buildroot-2021.05/package/python-texttable/python-texttable.mk b/buildroot-2021.05/package/python-texttable/python-texttable.mk deleted file mode 100644 index 6af23917..00000000 --- a/buildroot-2021.05/package/python-texttable/python-texttable.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-texttable -# -################################################################################ - -PYTHON_TEXTTABLE_VERSION = 1.6.3 -PYTHON_TEXTTABLE_SOURCE = texttable-$(PYTHON_TEXTTABLE_VERSION).tar.gz -PYTHON_TEXTTABLE_SITE = https://files.pythonhosted.org/packages/f5/be/716342325d6d6e05608e3a10e15f192f3723e454a25ce14bc9b9d1332772 -PYTHON_TEXTTABLE_SETUP_TYPE = setuptools -PYTHON_TEXTTABLE_LICENSE = MIT -PYTHON_TEXTTABLE_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-tinyrpc/Config.in b/buildroot-2021.05/package/python-tinyrpc/Config.in deleted file mode 100644 index 3194b782..00000000 --- a/buildroot-2021.05/package/python-tinyrpc/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_TINYRPC - bool "python-tinyrpc" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_SIX # runtime - help - A small, modular, transport and protocol neutral RPC - library that, among other things, supports JSON-RPC and - zmq. - - http://github.com/mbr/tinyrpc diff --git a/buildroot-2021.05/package/python-tinyrpc/python-tinyrpc.hash b/buildroot-2021.05/package/python-tinyrpc/python-tinyrpc.hash deleted file mode 100644 index b4bc7ae8..00000000 --- a/buildroot-2021.05/package/python-tinyrpc/python-tinyrpc.hash +++ /dev/null @@ -1,4 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/tinyrpc/json -sha256 4b41fab967fb1c978f573bf0d609a3b12cc3b6ed62bd3108f43f575563746396 tinyrpc-1.0.4.tar.gz -md5 cd61e3cbc01ea940abc97d3a87abf4a7 tinyrpc-1.0.4.tar.gz -sha256 587f1ea174824613f4a7e0d7fb95fda000a7f58ca17df12416e014c9ee82e619 LICENSE diff --git a/buildroot-2021.05/package/python-tinyrpc/python-tinyrpc.mk b/buildroot-2021.05/package/python-tinyrpc/python-tinyrpc.mk deleted file mode 100644 index 0ac0470f..00000000 --- a/buildroot-2021.05/package/python-tinyrpc/python-tinyrpc.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-tinyrpc -# -################################################################################ - -PYTHON_TINYRPC_VERSION = 1.0.4 -PYTHON_TINYRPC_SOURCE = tinyrpc-$(PYTHON_TINYRPC_VERSION).tar.gz -PYTHON_TINYRPC_SITE = https://files.pythonhosted.org/packages/9d/91/c639ba014aada92446516c5fc4b04f2cee3539ab2d0758a6a87a6da973cb -PYTHON_TINYRPC_SETUP_TYPE = setuptools -PYTHON_TINYRPC_LICENSE = MIT -PYTHON_TINYRPC_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-tomako/Config.in b/buildroot-2021.05/package/python-tomako/Config.in deleted file mode 100644 index 1521035b..00000000 --- a/buildroot-2021.05/package/python-tomako/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_TOMAKO - bool "python-tomako" - depends on BR2_PACKAGE_PYTHON3 # python-tornado - select BR2_PACKAGE_PYTHON_TORNADO # runtime - select BR2_PACKAGE_PYTHON_MAKO # runtime - help - Tomako is the easiest way to use Mako as a template engine for - Tornado. - - https://github.com/rcmachado/tomako diff --git a/buildroot-2021.05/package/python-tornado/Config.in b/buildroot-2021.05/package/python-tornado/Config.in deleted file mode 100644 index e1bf8343..00000000 --- a/buildroot-2021.05/package/python-tornado/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_TORNADO - bool "python-tornado" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON3_ZLIB - select BR2_PACKAGE_PYTHON3_SSL - help - Tornado is a Python web framework and asynchronous networking - library, originally developed at FriendFeed. - - http://www.tornadoweb.org diff --git a/buildroot-2021.05/package/python-traitlets/Config.in b/buildroot-2021.05/package/python-traitlets/Config.in deleted file mode 100644 index f1804e55..00000000 --- a/buildroot-2021.05/package/python-traitlets/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_TRAITLETS - bool "python-traitlets" - select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS # runtime - select BR2_PACKAGE_PYTHON_DECORATOR # runtime - help - A configuration system for Python applications. - - https://pypi.python.org/pypi/traitlets diff --git a/buildroot-2021.05/package/python-traitlets/python-traitlets.hash b/buildroot-2021.05/package/python-traitlets/python-traitlets.hash deleted file mode 100644 index 068db553..00000000 --- a/buildroot-2021.05/package/python-traitlets/python-traitlets.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/traitlets/json -md5 3a4f263af65d3d79f1c279f0247077ef traitlets-4.3.3.tar.gz -sha256 d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7 traitlets-4.3.3.tar.gz -# Locally computed sha256 checksums -sha256 71c89129039b870cc92309466c4fbe8f285a82fa0ea36f0e840fa83979cbe31f COPYING.md diff --git a/buildroot-2021.05/package/python-traitlets/python-traitlets.mk b/buildroot-2021.05/package/python-traitlets/python-traitlets.mk deleted file mode 100644 index 5973caf3..00000000 --- a/buildroot-2021.05/package/python-traitlets/python-traitlets.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-traitlets -# -################################################################################ - -PYTHON_TRAITLETS_VERSION = 4.3.3 -PYTHON_TRAITLETS_SOURCE = traitlets-$(PYTHON_TRAITLETS_VERSION).tar.gz -PYTHON_TRAITLETS_SITE = https://files.pythonhosted.org/packages/75/b0/43deb021bc943f18f07cbe3dac1d681626a48997b7ffa1e7fb14ef922b21 -PYTHON_TRAITLETS_LICENSE = BSD-3-Clause -PYTHON_TRAITLETS_LICENSE_FILES = COPYING.md -PYTHON_TRAITLETS_SETUP_TYPE = distutils - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-treq/Config.in b/buildroot-2021.05/package/python-treq/Config.in deleted file mode 100644 index 23056e72..00000000 --- a/buildroot-2021.05/package/python-treq/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_PYTHON_TREQ - bool "python-treq" - depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl - select BR2_PACKAGE_PYTHON_ATTRS # runtime - select BR2_PACKAGE_PYTHON_IDNA # runtime - select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime - select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime - select BR2_PACKAGE_PYTHON_REQUESTS # runtime - select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_TWISTED # runtime - help - treq is an HTTP library inspired by requests but written on - top of Twisted's Agents. It provides a simple, higher level - API for making HTTP requests when using Twisted. - - https://github.com/twisted/treq - -comment "python-treq needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-treq/python-treq.hash b/buildroot-2021.05/package/python-treq/python-treq.hash deleted file mode 100644 index 288279cb..00000000 --- a/buildroot-2021.05/package/python-treq/python-treq.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/treq/json -md5 b75f6c89fd481989a9cfdec8d61a6d84 treq-20.3.0.tar.gz -sha256 a72d7587d6f81c7a32620b00175825b4334bafbde73d37098d139ac7b11dca98 treq-20.3.0.tar.gz -# Locally computed sha256 checksums -sha256 7cc1b65e1937b1cc07052bb864ec96d8e5fd413400c0842e5b89a8201a600293 LICENSE diff --git a/buildroot-2021.05/package/python-treq/python-treq.mk b/buildroot-2021.05/package/python-treq/python-treq.mk deleted file mode 100644 index 320f57b6..00000000 --- a/buildroot-2021.05/package/python-treq/python-treq.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-treq -# -################################################################################ - -PYTHON_TREQ_VERSION = 20.3.0 -PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz -PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/98/09/25064d7224efde9fd51e8865353d516c53306e476eab27ab21fb258cf7d4 -PYTHON_TREQ_LICENSE = MIT -PYTHON_TREQ_LICENSE_FILES = LICENSE -PYTHON_TREQ_SETUP_TYPE = setuptools -PYTHON_TREQ_DEPENDENCIES = host-python-incremental - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-twisted/Config.in b/buildroot-2021.05/package/python-twisted/Config.in deleted file mode 100644 index 4e24a3f7..00000000 --- a/buildroot-2021.05/package/python-twisted/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_PYTHON_TWISTED - bool "python-twisted" - select BR2_PACKAGE_PYTHON_INCREMENTAL - select BR2_PACKAGE_PYTHON_ATTRS # runtime - select BR2_PACKAGE_PYTHON_AUTOMAT # runtime - select BR2_PACKAGE_PYTHON_CONSTANTLY # runtime - select BR2_PACKAGE_PYTHON_HYPERLINK # runtime - select BR2_PACKAGE_PYTHON_PYHAMCREST # runtime - select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime - help - Twisted is an event-driven networking engine written in - Python. - - https://twistedmatrix.com/trac/ - -if BR2_PACKAGE_PYTHON_TWISTED - -config BR2_PACKAGE_PYTHON_TWISTED_HTTP2 - bool "HTTP2 support" - select BR2_PACKAGE_PYTHON_H2 # runtime - select BR2_PACKAGE_PYTHON_PRIORITY # runtime - -config BR2_PACKAGE_PYTHON_TWISTED_TLS - bool "TLS support" - depends on BR2_INSTALL_LIBSTDCPP # python-{pyopenssl,service-identity} - select BR2_PACKAGE_PYTHON_IDNA # runtime - select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime - select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime - -comment "TLS support needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - -endif diff --git a/buildroot-2021.05/package/python-twisted/python-twisted.hash b/buildroot-2021.05/package/python-twisted/python-twisted.hash deleted file mode 100644 index c633112e..00000000 --- a/buildroot-2021.05/package/python-twisted/python-twisted.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/twisted/json -md5 fc16d575730db7d0cddd09fc35af3eea Twisted-20.3.0.tar.bz2 -sha256 d72c55b5d56e176563b91d11952d13b01af8725c623e498db5507b6614fc1e10 Twisted-20.3.0.tar.bz2 -# Locally computed sha256 -sha256 98426fd47315df70098e0d85efbb5d7dd8001c9c536386937354640d6d8d75b9 LICENSE diff --git a/buildroot-2021.05/package/python-twisted/python-twisted.mk b/buildroot-2021.05/package/python-twisted/python-twisted.mk deleted file mode 100644 index 49d97af0..00000000 --- a/buildroot-2021.05/package/python-twisted/python-twisted.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-twisted -# -################################################################################ - -PYTHON_TWISTED_VERSION = 20.3.0 -PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.bz2 -PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/4a/b4/4973c7ccb5be2ec0abc779b7d5f9d5f24b17b0349e23240cfc9dc3bd83cc -PYTHON_TWISTED_SETUP_TYPE = setuptools -PYTHON_TWISTED_LICENSE = MIT -PYTHON_TWISTED_LICENSE_FILES = LICENSE -PYTHON_TWISTED_CPE_ID_VENDOR = twistedmatrix -PYTHON_TWISTED_CPE_ID_PRODUCT = twisted -PYTHON_TWISTED_DEPENDENCIES = python-incremental host-python-incremental - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-txaio/Config.in b/buildroot-2021.05/package/python-txaio/Config.in deleted file mode 100644 index 19a318a9..00000000 --- a/buildroot-2021.05/package/python-txaio/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_TXAIO - bool "python-txaio" - depends on BR2_PACKAGE_PYTHON3 - help - Compatibility API between asyncio/Twisted/Trollius. - - https://pypi.python.org/pypi/txaio diff --git a/buildroot-2021.05/package/python-txaio/python-txaio.hash b/buildroot-2021.05/package/python-txaio/python-txaio.hash deleted file mode 100644 index 15b1f5f2..00000000 --- a/buildroot-2021.05/package/python-txaio/python-txaio.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/txaio/json -md5 c998be8d5837218c809266c0fce94687 txaio-20.4.1.tar.gz -sha256 17938f2bca4a9cabce61346758e482ca4e600160cbc28e861493eac74a19539d txaio-20.4.1.tar.gz -# Locally computed sha256 checksums -sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE diff --git a/buildroot-2021.05/package/python-txaio/python-txaio.mk b/buildroot-2021.05/package/python-txaio/python-txaio.mk deleted file mode 100644 index 2dd028f4..00000000 --- a/buildroot-2021.05/package/python-txaio/python-txaio.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-txaio -# -################################################################################ - -PYTHON_TXAIO_VERSION = 20.4.1 -PYTHON_TXAIO_SOURCE = txaio-$(PYTHON_TXAIO_VERSION).tar.gz -PYTHON_TXAIO_SITE = https://files.pythonhosted.org/packages/e7/dd/c0c90b080c3fad0ac8e2382eddbe86591d4fa1a5c1aea652de0adf245fc0 -PYTHON_TXAIO_LICENSE = MIT -PYTHON_TXAIO_LICENSE_FILES = LICENSE -PYTHON_TXAIO_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-txdbus/Config.in b/buildroot-2021.05/package/python-txdbus/Config.in deleted file mode 100644 index f38bbf93..00000000 --- a/buildroot-2021.05/package/python-txdbus/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_TXDBUS - bool "python-txdbus" - select BR2_PACKAGE_PYTHON_TWISTED # runtime - select BR2_PACKAGE_PYTHON_SIX # runtime - help - A native Python implementation of the DBus protocol for - Twisted applications. - - https://github.com/cocagne/txdbus diff --git a/buildroot-2021.05/package/python-txtorcon/Config.in b/buildroot-2021.05/package/python-txtorcon/Config.in deleted file mode 100644 index 4f91e7b0..00000000 --- a/buildroot-2021.05/package/python-txtorcon/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_PYTHON_TXTORCON - bool "python-txtorcon" - depends on BR2_INSTALL_LIBSTDCPP # python-pyopenssl, python-service-identity - select BR2_PACKAGE_PYTHON_AUTOMAT # runtime - select BR2_PACKAGE_PYTHON_IDNA # runtime - select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime - select BR2_PACKAGE_PYTHON_IPADDRESS if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime - select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime - select BR2_PACKAGE_PYTHON_TWISTED # runtime - select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime - help - Twisted-based Tor controller client, with state-tracking and - configuration abstractions. - - https://github.com/meejah/txtorcon - -comment "python-txtorcon needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-txtorcon/python-txtorcon.hash b/buildroot-2021.05/package/python-txtorcon/python-txtorcon.hash deleted file mode 100644 index 803933f1..00000000 --- a/buildroot-2021.05/package/python-txtorcon/python-txtorcon.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/txtorcon/json -md5 fb323f9874298a8145dbe8d43c387932 txtorcon-19.1.0.tar.gz -sha256 25d8e52c3eac45bb90ff958ca7cdd7674fb3284e3a50826a58ab7b9578b15ea5 txtorcon-19.1.0.tar.gz -# Locally computed sha256 checksums -sha256 3ada1c32ef38c23d96d7f4e8f4a226c527f51e0202883c7543b06f9cc5228a2b LICENSE diff --git a/buildroot-2021.05/package/python-txtorcon/python-txtorcon.mk b/buildroot-2021.05/package/python-txtorcon/python-txtorcon.mk deleted file mode 100644 index 4df400c3..00000000 --- a/buildroot-2021.05/package/python-txtorcon/python-txtorcon.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# python-txtorcon -# -################################################################################ - -PYTHON_TXTORCON_VERSION = 19.1.0 -PYTHON_TXTORCON_SOURCE = txtorcon-$(PYTHON_TXTORCON_VERSION).tar.gz -PYTHON_TXTORCON_SITE = https://files.pythonhosted.org/packages/8c/26/d5b2fba4ffbcb23957ff2cee4d7d0a2d667372b9eb04807058bd561c8e8f -PYTHON_TXTORCON_SETUP_TYPE = setuptools -PYTHON_TXTORCON_LICENSE = MIT -PYTHON_TXTORCON_LICENSE_FILES = LICENSE - -ifeq ($(BR2_PACKAGE_PYTHON),y) -# only needed/valid for python 3.x -define PYTHON_TXTORCON_RM_PY3_FILE - rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/txtorcon/controller_py3.py -endef - -PYTHON_TXTORCON_POST_INSTALL_TARGET_HOOKS += PYTHON_TXTORCON_RM_PY3_FILE -endif - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-typepy/Config.in b/buildroot-2021.05/package/python-typepy/Config.in deleted file mode 100644 index fd3b9831..00000000 --- a/buildroot-2021.05/package/python-typepy/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_TYPEPY - bool "python-typepy" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime - help - A Python library for variable type - checker/validator/converter at a run time. - - https://github.com/thombashi/typepy diff --git a/buildroot-2021.05/package/python-typepy/python-typepy.hash b/buildroot-2021.05/package/python-typepy/python-typepy.hash deleted file mode 100644 index e4d84e9b..00000000 --- a/buildroot-2021.05/package/python-typepy/python-typepy.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/typepy/json -md5 cc9ceef1f04a8ff4b979dc23b96f2e80 typepy-1.1.5.tar.gz -sha256 1bbe790bb8d1b43b4541b235678974d5aee2357e1948cdf17cb4c14cbe4a2a82 typepy-1.1.5.tar.gz -# Locally computed sha256 checksums -sha256 bebbdf0524a147f89a615fff53d79bdc90cbc7631550fb4b725cd3f3bdcd24f6 LICENSE diff --git a/buildroot-2021.05/package/python-typepy/python-typepy.mk b/buildroot-2021.05/package/python-typepy/python-typepy.mk deleted file mode 100644 index 6d8433e1..00000000 --- a/buildroot-2021.05/package/python-typepy/python-typepy.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-typepy -# -################################################################################ - -PYTHON_TYPEPY_VERSION = 1.1.5 -PYTHON_TYPEPY_SOURCE = typepy-$(PYTHON_TYPEPY_VERSION).tar.gz -PYTHON_TYPEPY_SITE = https://files.pythonhosted.org/packages/08/c8/ebfa4381563f1946a7cd2b03fab14df641c3a9acf8e6ca5f5787dd1f735a -PYTHON_TYPEPY_SETUP_TYPE = setuptools -PYTHON_TYPEPY_LICENSE = MIT -PYTHON_TYPEPY_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-typing-extensions/Config.in b/buildroot-2021.05/package/python-typing-extensions/Config.in deleted file mode 100644 index 0c7c74c5..00000000 --- a/buildroot-2021.05/package/python-typing-extensions/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS - bool "python-typing-extensions" - select BR2_PACKAGE_PYTHON_TYPING if BR2_PACKAGE_PYTHON # runtime - help - Backported and Experimental Type Hints for Python 3.5+. - - https://github.com/python/typing/blob/master/typing_extensions/README.rst diff --git a/buildroot-2021.05/package/python-typing-extensions/python-typing-extensions.hash b/buildroot-2021.05/package/python-typing-extensions/python-typing-extensions.hash deleted file mode 100644 index 4c76caba..00000000 --- a/buildroot-2021.05/package/python-typing-extensions/python-typing-extensions.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/typing_extensions/json -md5 5fcbfcb22e6f8c9bf23fb9f8e020f6ee typing_extensions-3.7.4.3.tar.gz -sha256 99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c typing_extensions-3.7.4.3.tar.gz -# Locally computed sha256 checksums -sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE diff --git a/buildroot-2021.05/package/python-typing-extensions/python-typing-extensions.mk b/buildroot-2021.05/package/python-typing-extensions/python-typing-extensions.mk deleted file mode 100644 index 2bcf1342..00000000 --- a/buildroot-2021.05/package/python-typing-extensions/python-typing-extensions.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-typing-extensions -# -################################################################################ - -PYTHON_TYPING_EXTENSIONS_VERSION = 3.7.4.3 -PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz -PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/16/06/0f7367eafb692f73158e5c5cbca1aec798cdf78be5167f6415dd4205fa32 -PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = setuptools -PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0 -PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-typing/Config.in b/buildroot-2021.05/package/python-typing/Config.in deleted file mode 100644 index 81b7d71b..00000000 --- a/buildroot-2021.05/package/python-typing/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_TYPING - bool "python-typing" - depends on BR2_PACKAGE_PYTHON - help - Type Hints for Python. This is a backport of the standard - library typing module to Python versions older than 3.5. - - https://docs.python.org/3/library/typing.html diff --git a/buildroot-2021.05/package/python-typing/python-typing.hash b/buildroot-2021.05/package/python-typing/python-typing.hash deleted file mode 100644 index 438ecb07..00000000 --- a/buildroot-2021.05/package/python-typing/python-typing.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/typing/json -md5 276296e7b6b617d4f8b5e8874f240bd4 typing-3.7.4.3.tar.gz -sha256 1187fb9c82fd670d10aa07bbb6cfcfe4bdda42d6fab8d5134f04e8c4d0b71cc9 typing-3.7.4.3.tar.gz -# Locally computed sha256 checksums -sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE diff --git a/buildroot-2021.05/package/python-typing/python-typing.mk b/buildroot-2021.05/package/python-typing/python-typing.mk deleted file mode 100644 index efb21962..00000000 --- a/buildroot-2021.05/package/python-typing/python-typing.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-typing -# -################################################################################ - -PYTHON_TYPING_VERSION = 3.7.4.3 -PYTHON_TYPING_SOURCE = typing-$(PYTHON_TYPING_VERSION).tar.gz -PYTHON_TYPING_SITE = https://files.pythonhosted.org/packages/05/d9/6eebe19d46bd05360c9a9aae822e67a80f9242aabbfc58b641b957546607 -PYTHON_TYPING_SETUP_TYPE = setuptools -PYTHON_TYPING_LICENSE = Python-2.0, others -PYTHON_TYPING_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-u-msgpack/python-u-msgpack.hash b/buildroot-2021.05/package/python-u-msgpack/python-u-msgpack.hash deleted file mode 100644 index 70c67c72..00000000 --- a/buildroot-2021.05/package/python-u-msgpack/python-u-msgpack.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/u-msgpack-python/json -md5 bbeedd924f3d8c8ee90611914b3594e6 u-msgpack-python-2.5.2.tar.gz -sha256 09c85a8af77376034396681e76bf30c249a4fd8e5ebb239f8a468d3655f210d0 u-msgpack-python-2.5.2.tar.gz -# Locally computed sha256 -sha256 0603a3e697a80b13640e3023bb534727f683ada5c4b0b0149d001ec5272d64f4 LICENSE diff --git a/buildroot-2021.05/package/python-u-msgpack/python-u-msgpack.mk b/buildroot-2021.05/package/python-u-msgpack/python-u-msgpack.mk deleted file mode 100644 index 6d98e552..00000000 --- a/buildroot-2021.05/package/python-u-msgpack/python-u-msgpack.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-u-msgpack -# -################################################################################ - -PYTHON_U_MSGPACK_VERSION = 2.5.2 -PYTHON_U_MSGPACK_SOURCE = u-msgpack-python-$(PYTHON_U_MSGPACK_VERSION).tar.gz -PYTHON_U_MSGPACK_SITE = https://files.pythonhosted.org/packages/75/c4/d9404382d0f7d9be27b5d13498d033a4faa83f325b3893e1c29a0faa83b9 -PYTHON_U_MSGPACK_SETUP_TYPE = setuptools -PYTHON_U_MSGPACK_LICENSE = MIT -PYTHON_U_MSGPACK_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ubjson/python-ubjson.hash b/buildroot-2021.05/package/python-ubjson/python-ubjson.hash deleted file mode 100644 index a7e954ce..00000000 --- a/buildroot-2021.05/package/python-ubjson/python-ubjson.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/py-ubjson/json -md5 26c07be8e4c9f2b0ee7c42a9aca118ed py-ubjson-0.14.0.tar.gz -sha256 f742c87bccc8653329d3f79b8b3f40d44d11d17cce7f6d7025a73c52ebf91c66 py-ubjson-0.14.0.tar.gz -# Locally computed sha256 checksums -sha256 ca182abcb84ad9984c9af2e30cb70c4fe0e1772674355207e8fcdb85e8c5e75f LICENSE diff --git a/buildroot-2021.05/package/python-ubjson/python-ubjson.mk b/buildroot-2021.05/package/python-ubjson/python-ubjson.mk deleted file mode 100644 index 58bba2ac..00000000 --- a/buildroot-2021.05/package/python-ubjson/python-ubjson.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-ubjson -# -################################################################################ - -PYTHON_UBJSON_VERSION = 0.14.0 -PYTHON_UBJSON_SOURCE = py-ubjson-$(PYTHON_UBJSON_VERSION).tar.gz -PYTHON_UBJSON_SITE = https://files.pythonhosted.org/packages/10/31/0d8297c33d681aafa3fe900ca072a96d5acb97e79082fbb593e835376c93 -PYTHON_UBJSON_LICENSE = Apache-2.0 -PYTHON_UBJSON_LICENSE_FILES = LICENSE -PYTHON_UBJSON_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ujson/Config.in b/buildroot-2021.05/package/python-ujson/Config.in deleted file mode 100644 index d185c985..00000000 --- a/buildroot-2021.05/package/python-ujson/Config.in +++ /dev/null @@ -1,7 +0,0 @@ -config BR2_PACKAGE_PYTHON_UJSON - bool "python-ujson" - help - UltraJSON is an ultra fast JSON encoder and decoder written - in pure C with bindings for Python 2.5+ and 3. - - https://pypi.python.org/pypi/ujson diff --git a/buildroot-2021.05/package/python-ujson/python-ujson.hash b/buildroot-2021.05/package/python-ujson/python-ujson.hash deleted file mode 100644 index 21320346..00000000 --- a/buildroot-2021.05/package/python-ujson/python-ujson.hash +++ /dev/null @@ -1,3 +0,0 @@ -# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=42f77b0cce686dfa4da2e68480b1dd24,sha256 locally computed. -md5 42f77b0cce686dfa4da2e68480b1dd24 ujson-1.35.tar.gz -sha256 f66073e5506e91d204ab0c614a148d5aa938bdbf104751be66f8ad7a222f5f86 ujson-1.35.tar.gz diff --git a/buildroot-2021.05/package/python-ujson/python-ujson.mk b/buildroot-2021.05/package/python-ujson/python-ujson.mk deleted file mode 100644 index 60a4ecf8..00000000 --- a/buildroot-2021.05/package/python-ujson/python-ujson.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-ujson -# -################################################################################ - -PYTHON_UJSON_VERSION = 1.35 -PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz -PYTHON_UJSON_SITE = https://pypi.python.org/packages/source/u/ujson -PYTHON_UJSON_LICENSE = BSD-3-Clause -PYTHON_UJSON_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-urllib3/Config.in b/buildroot-2021.05/package/python-urllib3/Config.in deleted file mode 100644 index 21d3f674..00000000 --- a/buildroot-2021.05/package/python-urllib3/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_URLLIB3 - bool "python-urllib3" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - Python HTTP library with thread-safe connection pooling, file - post support, sanity friendly, and more. - - http://urllib3.readthedocs.org/ diff --git a/buildroot-2021.05/package/python-urllib3/python-urllib3.hash b/buildroot-2021.05/package/python-urllib3/python-urllib3.hash deleted file mode 100644 index 820156b4..00000000 --- a/buildroot-2021.05/package/python-urllib3/python-urllib3.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/urllib3/json -md5 e2a2039e22fc29b751e26b7042e8db2f urllib3-1.26.4.tar.gz -sha256 e7b021f7241115872f92f43c6508082facffbd1c048e3c6e2bb9c2a157e28937 urllib3-1.26.4.tar.gz -# Locally computed sha256 checksums -sha256 c37bf186e27cf9dbe9619e55edfe3cea7b30091ceb3da63c7dacbe0e6d77907b LICENSE.txt diff --git a/buildroot-2021.05/package/python-urllib3/python-urllib3.mk b/buildroot-2021.05/package/python-urllib3/python-urllib3.mk deleted file mode 100644 index d5a04163..00000000 --- a/buildroot-2021.05/package/python-urllib3/python-urllib3.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python-urllib3 -# -################################################################################ - -PYTHON_URLLIB3_VERSION = 1.26.4 -PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz -PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/cb/cf/871177f1fc795c6c10787bc0e1f27bb6cf7b81dbde399fd35860472cecbc -PYTHON_URLLIB3_LICENSE = MIT -PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt -PYTHON_URLLIB3_CPE_ID_VENDOR = python -PYTHON_URLLIB3_CPE_ID_PRODUCT = urllib3 -PYTHON_URLLIB3_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-urwid/python-urwid.hash b/buildroot-2021.05/package/python-urwid/python-urwid.hash deleted file mode 100644 index 51a6e12e..00000000 --- a/buildroot-2021.05/package/python-urwid/python-urwid.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/urwid/json -md5 c70a7016fa1ad2c2a979dbebd4de78c2 urwid-2.0.1.tar.gz -sha256 644d3e3900867161a2fc9287a9762753d66bd194754679adb26aede559bcccbc urwid-2.0.1.tar.gz -# Locally computed sha256 -sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING diff --git a/buildroot-2021.05/package/python-urwid/python-urwid.mk b/buildroot-2021.05/package/python-urwid/python-urwid.mk deleted file mode 100644 index f8a37023..00000000 --- a/buildroot-2021.05/package/python-urwid/python-urwid.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-urwid -# -################################################################################ - -PYTHON_URWID_VERSION = 2.0.1 -PYTHON_URWID_SOURCE = urwid-$(PYTHON_URWID_VERSION).tar.gz -PYTHON_URWID_SITE = https://files.pythonhosted.org/packages/c7/90/415728875c230fafd13d118512bde3184d810d7bf798a631abc05fac09d0 -PYTHON_URWID_LICENSE = LGPL-2.1+ -PYTHON_URWID_LICENSE_FILES = COPYING -PYTHON_URWID_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-uvloop/Config.in b/buildroot-2021.05/package/python-uvloop/Config.in deleted file mode 100644 index 76e06ac3..00000000 --- a/buildroot-2021.05/package/python-uvloop/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_PYTHON_UVLOOP - bool "python-uvloop" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv - depends on BR2_USE_MMU # libuv - depends on !BR2_STATIC_LIBS # libuv - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv - select BR2_PACKAGE_LIBUV - select BR2_PACKAGE_PYTHON3_SSL - help - Fast implementation of asyncio event loop on top of libuv. - - http://github.com/MagicStack/uvloop - -comment "python-uvloop needs a toolchain w/ NPTL, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/python-uvloop/python-uvloop.hash b/buildroot-2021.05/package/python-uvloop/python-uvloop.hash deleted file mode 100644 index baed0b3e..00000000 --- a/buildroot-2021.05/package/python-uvloop/python-uvloop.hash +++ /dev/null @@ -1,6 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/uvloop/json -md5 c97447b8b386971be5e6f4328563be42 uvloop-0.15.0.tar.gz -sha256 1a503d5b49da6e3dd5607d6e533a5315b1caedbf629901807c65a23a09cad065 uvloop-0.15.0.tar.gz -# Locally computed sha256 checksums -sha256 2fdc436a67077941295c58647f521fbef8f50e46db0970552fa1a4dd8ae261c6 LICENSE-APACHE -sha256 9185f3c77e9f6ef8859a6ba4c94128ac1329876be3e813aad32d7645e51ae409 LICENSE-MIT diff --git a/buildroot-2021.05/package/python-uvloop/python-uvloop.mk b/buildroot-2021.05/package/python-uvloop/python-uvloop.mk deleted file mode 100644 index ff98d747..00000000 --- a/buildroot-2021.05/package/python-uvloop/python-uvloop.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python-uvloop -# -################################################################################ - -PYTHON_UVLOOP_VERSION = 0.15.0 -PYTHON_UVLOOP_SOURCE = uvloop-$(PYTHON_UVLOOP_VERSION).tar.gz -PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/df/fb/0e1b479ac5502f3d4531a2fc3f046312616f1ad020c686da353c2ff3bbc6 -PYTHON_UVLOOP_SETUP_TYPE = setuptools -PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT -PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT -PYTHON_UVLOOP_BUILD_OPTS = build_ext --inplace --use-system-libuv -PYTHON_UVLOOP_INSTALL_TARGET_OPTS = build_ext --inplace --use-system-libuv -PYTHON_UVLOOP_DEPENDENCIES = libuv - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-validators/Config.in b/buildroot-2021.05/package/python-validators/Config.in deleted file mode 100644 index 802b1dde..00000000 --- a/buildroot-2021.05/package/python-validators/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_VALIDATORS - bool "python-validators" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_DECORATOR # runtime - help - Python Data Validation for Humans. - - https://github.com/kvesteri/validators diff --git a/buildroot-2021.05/package/python-watchdog/python-watchdog.hash b/buildroot-2021.05/package/python-watchdog/python-watchdog.hash deleted file mode 100644 index 701c7991..00000000 --- a/buildroot-2021.05/package/python-watchdog/python-watchdog.hash +++ /dev/null @@ -1,7 +0,0 @@ -# md5, sha256 from https://pypi.python.org/pypi/watchdog/json -md5 7cdc103f607e72fc32c206301a72d1b2 watchdog-0.9.0.tar.gz -sha256 965f658d0732de3188211932aeb0bb457587f04f63ab4c1e33eab878e9de961d watchdog-0.9.0.tar.gz - -# Hash for license files -sha256 14e636faf5889138a1bb7a8498ccbb0266aee31d2dc475201a10448e56ed3d96 COPYING -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2021.05/package/python-watchdog/python-watchdog.mk b/buildroot-2021.05/package/python-watchdog/python-watchdog.mk deleted file mode 100644 index 44929a65..00000000 --- a/buildroot-2021.05/package/python-watchdog/python-watchdog.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-watchdog -# -################################################################################ - -PYTHON_WATCHDOG_VERSION = 0.9.0 -PYTHON_WATCHDOG_SOURCE = watchdog-$(PYTHON_WATCHDOG_VERSION).tar.gz -PYTHON_WATCHDOG_SITE = https://pypi.python.org/packages/bb/e3/5a55d48a29300160779f0a0d2776d17c1b762a2039b36de528b093b87d5b -PYTHON_WATCHDOG_SETUP_TYPE = setuptools -PYTHON_WATCHDOG_LICENSE = Apache-2.0 -PYTHON_WATCHDOG_LICENSE_FILES = LICENSE COPYING - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-web2py/Config.in b/buildroot-2021.05/package/python-web2py/Config.in deleted file mode 100644 index a0452060..00000000 --- a/buildroot-2021.05/package/python-web2py/Config.in +++ /dev/null @@ -1,37 +0,0 @@ -config BR2_PACKAGE_PYTHON_WEB2PY - bool "python-web2py" - select BR2_PACKAGE_PYTHON_PYDAL # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_SQLITE if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SQLITE if BR2_PACKAGE_PYTHON3 # runtime - select BR2_PACKAGE_PYTHON_YATL # runtime - help - web2py is a free open source full-stack framework for rapid - development of fast, scalable, secure and portable - database-driven web-based applications. - - http://web2py.com - -if BR2_PACKAGE_PYTHON_WEB2PY - -config BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN - bool "install admin panel application" - default y - help - This option install web2py admin panel application. - It can be removed to save space on embedded systems. - -if BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN - -config BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD - string "admin panel password" - default web2py - help - Set the admin panel password. - -endif - -endif diff --git a/buildroot-2021.05/package/python-web2py/python-web2py.hash b/buildroot-2021.05/package/python-web2py/python-web2py.hash deleted file mode 100644 index 4ff85668..00000000 --- a/buildroot-2021.05/package/python-web2py/python-web2py.hash +++ /dev/null @@ -1,3 +0,0 @@ -# sha256 locally computed -sha256 e3f05266b4b97650b76bfb85028df5e2194955674c9b98cfc065c72ed5791690 python-web2py-2.20.4.tar.gz -sha256 2aae96826184a492bc799add49aed7b29036e7aba2d2294fb65053bd30fe55fe LICENSE diff --git a/buildroot-2021.05/package/python-web2py/python-web2py.mk b/buildroot-2021.05/package/python-web2py/python-web2py.mk deleted file mode 100644 index 26214a81..00000000 --- a/buildroot-2021.05/package/python-web2py/python-web2py.mk +++ /dev/null @@ -1,76 +0,0 @@ -################################################################################ -# -# python-web2py -# -################################################################################ - -PYTHON_WEB2PY_VERSION = 2.20.4 -PYTHON_WEB2PY_SITE = $(call github,web2py,web2py,v$(PYTHON_WEB2PY_VERSION)) -PYTHON_WEB2PY_LICENSE = LGPL-3.0 -PYTHON_WEB2PY_LICENSE_FILES = LICENSE -PYTHON_WEB2PY_CPE_ID_VENDOR = web2py -PYTHON_WEB2PY_CPE_ID_PRODUCT = web2py -PYTHON_WEB2PY_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3 python3,host-python python) \ - host-python-pydal host-python-yatl - -PYTHON_WEB2PY_EXCLUSIONS = \ - welcome.w2p \ - applications/examples \ - applications/welcome \ - deposit \ - docs \ - examples \ - extras \ - handlers \ - scripts \ - ABOUT \ - anyserver.py \ - CHANGELOG \ - Makefile \ - MANIFEST.in \ - README.markdown \ - setup.py \ - tox.ini - -define PYTHON_WEB2PY_GENERATE_PASSWORD - $(HOST_DIR)/bin/python -c 'import os; \ - os.chdir("$(@D)"); \ - from gluon.main import save_password; \ - save_password($(BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD),8000)' -endef - -ifeq ($(BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN),y) -PYTHON_WEB2PY_POST_BUILD_HOOKS += PYTHON_WEB2PY_GENERATE_PASSWORD -else -PYTHON_WEB2PY_EXCLUSIONS += applications/admin -endif - -define PYTHON_WEB2PY_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/var/www/web2py - rsync -a $(@D)/ $(TARGET_DIR)/var/www/web2py/ \ - $(addprefix --exclude=,$(PYTHON_WEB2PY_EXCLUSIONS)) -endef - -define PYTHON_WEB2PY_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/python-web2py/S51web2py \ - $(TARGET_DIR)/etc/init.d/S51web2py -endef - -define PYTHON_WEB2PY_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/python-web2py/web2py.service \ - $(TARGET_DIR)/usr/lib/systemd/system/web2py.service -endef - -# www-data user and group are used for web2py. Because these user and group -# are already set by buildroot, it is not necessary to redefine them. -# See system/skeleton/etc/passwd -# username: www-data uid: 33 -# groupname: www-data gid: 33 -# -# So, we just need to create the directories used by web2py with the right -# ownership. -define PYTHON_WEB2PY_PERMISSIONS - /var/www/web2py r 750 33 33 - - - - - -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/python-webob/Config.in b/buildroot-2021.05/package/python-webob/Config.in deleted file mode 100644 index fe77723f..00000000 --- a/buildroot-2021.05/package/python-webob/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_WEBOB - bool "python-webob" - select BR2_PACKAGE_PYTHON_HASHLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - WSGI request and response object. - - http://webob.org/ diff --git a/buildroot-2021.05/package/python-webob/python-webob.hash b/buildroot-2021.05/package/python-webob/python-webob.hash deleted file mode 100644 index aab2f1d9..00000000 --- a/buildroot-2021.05/package/python-webob/python-webob.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/webob/json -md5 dc3cc8c317d4acd03a6fd97cb0a9121a WebOb-1.8.6.tar.gz -sha256 aa3a917ed752ba3e0b242234b2a373f9c4e2a75d35291dcbe977649bd21fd108 WebOb-1.8.6.tar.gz -# Locally computed sha256 checksums -sha256 27bc4919e7e9e6b6cda40644517ca74d32203e32fba89ef832aba1ed93e457b3 docs/license.txt diff --git a/buildroot-2021.05/package/python-webob/python-webob.mk b/buildroot-2021.05/package/python-webob/python-webob.mk deleted file mode 100644 index 051c1175..00000000 --- a/buildroot-2021.05/package/python-webob/python-webob.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-webob -# -################################################################################ - -PYTHON_WEBOB_VERSION = 1.8.6 -PYTHON_WEBOB_SOURCE = WebOb-$(PYTHON_WEBOB_VERSION).tar.gz -PYTHON_WEBOB_SITE = https://files.pythonhosted.org/packages/2a/32/5f3f43d0784bdd9392db0cb98434d7cd23a0d8a420c4d243ad4cb8517f2a -PYTHON_WEBOB_SETUP_TYPE = setuptools -PYTHON_WEBOB_LICENSE = MIT -PYTHON_WEBOB_LICENSE_FILES = docs/license.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-webpy/Config.in b/buildroot-2021.05/package/python-webpy/Config.in deleted file mode 100644 index 419a4a18..00000000 --- a/buildroot-2021.05/package/python-webpy/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_WEBPY - bool "python-webpy" - depends on BR2_PACKAGE_PYTHON3 # python-cheroot - select BR2_PACKAGE_PYTHON_CHEROOT # runtime - select BR2_PACKAGE_PYTHON_MARKDOWN # runtime - help - web.py is a web framework for Python that is as simple as it - is powerful. - - http://webpy.org/ diff --git a/buildroot-2021.05/package/python-websocket-client/Config.in b/buildroot-2021.05/package/python-websocket-client/Config.in deleted file mode 100644 index 0fbb15b3..00000000 --- a/buildroot-2021.05/package/python-websocket-client/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT - bool "python-websocket-client" - select BR2_PACKAGE_PYTHON_SIX # runtime - select BR2_PACKAGE_PYTHON_SSL if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_SSL if BR2_PACKAGE_PYTHON3 # runtime - help - WebSocket client for python. hybi13 is supported. - - https://github.com/websocket-client/websocket-client.git diff --git a/buildroot-2021.05/package/python-websockets/Config.in b/buildroot-2021.05/package/python-websockets/Config.in deleted file mode 100644 index 888bec61..00000000 --- a/buildroot-2021.05/package/python-websockets/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_PYTHON_WEBSOCKETS - bool "python-websockets" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON3_ZLIB - select BR2_PACKAGE_PYTHON3_SSL - help - An implementation of the WebSocket Protocol (RFC 6455 & - 7692). - - https://github.com/aaugustin/websockets diff --git a/buildroot-2021.05/package/python-websockets/python-websockets.hash b/buildroot-2021.05/package/python-websockets/python-websockets.hash deleted file mode 100644 index ec387c9a..00000000 --- a/buildroot-2021.05/package/python-websockets/python-websockets.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/websockets/json -md5 a37f0e22c3aa5f1cf12a6a3ae22b36ca websockets-8.0.2.tar.gz -sha256 882a7266fa867a2ebb2c0baaa0f9159cabf131cf18c1b4270d79ad42f9208dc5 websockets-8.0.2.tar.gz -# Locally computed sha256 checksums -sha256 8a88960c0d6aa8b38faa6ee614597dbf18e0ea22ba20884ef3dd31d34b2a6d09 LICENSE diff --git a/buildroot-2021.05/package/python-websockets/python-websockets.mk b/buildroot-2021.05/package/python-websockets/python-websockets.mk deleted file mode 100644 index 013881f9..00000000 --- a/buildroot-2021.05/package/python-websockets/python-websockets.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-websockets -# -################################################################################ - -PYTHON_WEBSOCKETS_VERSION = 8.0.2 -PYTHON_WEBSOCKETS_SOURCE = websockets-$(PYTHON_WEBSOCKETS_VERSION).tar.gz -PYTHON_WEBSOCKETS_SITE = https://files.pythonhosted.org/packages/79/78/17e97a159dc55308b1468a638c7267f19765281f6205ec9c15253c154022 -PYTHON_WEBSOCKETS_SETUP_TYPE = setuptools -PYTHON_WEBSOCKETS_LICENSE = BSD-3-Clause -PYTHON_WEBSOCKETS_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-werkzeug/Config.in b/buildroot-2021.05/package/python-werkzeug/Config.in deleted file mode 100644 index 79e9a456..00000000 --- a/buildroot-2021.05/package/python-werkzeug/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_WERKZEUG - bool "python-werkzeug" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - Werkzeug is a WSGI utility library for Python. It's widely - used and BSD licensed. - - http://werkzeug.pocoo.org/ diff --git a/buildroot-2021.05/package/python-whoosh/Config.in b/buildroot-2021.05/package/python-whoosh/Config.in deleted file mode 100644 index 1128ce64..00000000 --- a/buildroot-2021.05/package/python-whoosh/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_WHOOSH - bool "python-whoosh" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 # runtime - help - Whoosh is a fast, pure-Python full text indexing, search and - spell checking library. - - https://pypi.python.org/pypi/Whoosh/ diff --git a/buildroot-2021.05/package/python-wrapt/python-wrapt.hash b/buildroot-2021.05/package/python-wrapt/python-wrapt.hash deleted file mode 100644 index feab3f05..00000000 --- a/buildroot-2021.05/package/python-wrapt/python-wrapt.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/wrapt/json -md5 cc15c001b129f81eb2f79b15eb99ffe5 wrapt-1.11.2.tar.gz -sha256 565a021fd19419476b9362b05eeaa094178de64f8361e44468f9e9d7843901e1 wrapt-1.11.2.tar.gz -# Locally computed sha256 checksums -sha256 e37c13f84fb3c9a54161b0fcf75f4d302fb86ce42cd6106147bda79e4197d9f2 LICENSE diff --git a/buildroot-2021.05/package/python-wrapt/python-wrapt.mk b/buildroot-2021.05/package/python-wrapt/python-wrapt.mk deleted file mode 100644 index 91f9d7f5..00000000 --- a/buildroot-2021.05/package/python-wrapt/python-wrapt.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-wrapt -# -################################################################################ - -PYTHON_WRAPT_VERSION = 1.11.2 -PYTHON_WRAPT_SOURCE = wrapt-$(PYTHON_WRAPT_VERSION).tar.gz -PYTHON_WRAPT_SITE = https://files.pythonhosted.org/packages/23/84/323c2415280bc4fc880ac5050dddfb3c8062c2552b34c2e512eb4aa68f79 -PYTHON_WRAPT_SETUP_TYPE = distutils -PYTHON_WRAPT_LICENSE = BSD-2-Clause -PYTHON_WRAPT_LICENSE_FILES = LICENSE - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ws4py/0001-Adjust-ws4py-for-Python-3.7-syntax.patch b/buildroot-2021.05/package/python-ws4py/0001-Adjust-ws4py-for-Python-3.7-syntax.patch deleted file mode 100644 index 07fbb6cc..00000000 --- a/buildroot-2021.05/package/python-ws4py/0001-Adjust-ws4py-for-Python-3.7-syntax.patch +++ /dev/null @@ -1,55 +0,0 @@ -From dfe6f65b7078315c32cebb727e9c47ead7603475 Mon Sep 17 00:00:00 2001 -From: Asaf Kahlon -Date: Sun, 13 Oct 2019 16:44:44 +0300 -Subject: [PATCH 1/1] Adjust ws4py for Python 3.7 syntax - -Since Python 3.7, "async" has become a keyword and cannot be used. -Thus, instead of asyncio.async we will use asyncio.ensure_future. - -There's also a pull request with this change: -https://github.com/Lawouach/WebSocket-for-Python/pull/245 - -Signed-off-by: Asaf Kahlon ---- - ws4py/async_websocket.py | 4 ++-- - ws4py/server/tulipserver.py | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/ws4py/async_websocket.py b/ws4py/async_websocket.py -index 9e2a4c7..ea296b4 100644 ---- a/ws4py/async_websocket.py -+++ b/ws4py/async_websocket.py -@@ -84,7 +84,7 @@ class WebSocket(_WebSocket): - def closeit(): - yield from self.proto.writer.drain() - self.proto.writer.close() -- asyncio.async(closeit()) -+ asyncio.ensure_future(closeit()) - - def _write(self, data): - """ -@@ -94,7 +94,7 @@ class WebSocket(_WebSocket): - def sendit(data): - self.proto.writer.write(data) - yield from self.proto.writer.drain() -- asyncio.async(sendit(data)) -+ asyncio.ensure_future(sendit(data)) - - @asyncio.coroutine - def run(self): -diff --git a/ws4py/server/tulipserver.py b/ws4py/server/tulipserver.py -index 2786c16..85312a2 100644 ---- a/ws4py/server/tulipserver.py -+++ b/ws4py/server/tulipserver.py -@@ -40,7 +40,7 @@ class WebSocketProtocol(asyncio.StreamReaderProtocol): - #self.stream.set_transport(transport) - asyncio.StreamReaderProtocol.connection_made(self, transport) - # Let make it concurrent for others to tag along -- f = asyncio.async(self.handle_initial_handshake()) -+ f = asyncio.ensure_future(self.handle_initial_handshake()) - f.add_done_callback(self.terminated) - - @property --- -2.20.1 - diff --git a/buildroot-2021.05/package/python-wsaccel/python-wsaccel.hash b/buildroot-2021.05/package/python-wsaccel/python-wsaccel.hash deleted file mode 100644 index a02b5a87..00000000 --- a/buildroot-2021.05/package/python-wsaccel/python-wsaccel.hash +++ /dev/null @@ -1,3 +0,0 @@ -# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=2b4ea3d6847855c0587d37fca9db0557, sha256 locally computed. -md5 2b4ea3d6847855c0587d37fca9db0557 wsaccel-0.6.2.tar.gz -sha256 425706acf0724d2f6bfa391ec37b4ef121d3432c956029de3cea4e101c218e0c wsaccel-0.6.2.tar.gz diff --git a/buildroot-2021.05/package/python-wsaccel/python-wsaccel.mk b/buildroot-2021.05/package/python-wsaccel/python-wsaccel.mk deleted file mode 100644 index 016ff2d7..00000000 --- a/buildroot-2021.05/package/python-wsaccel/python-wsaccel.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# python-wsaccel -# -################################################################################ - -PYTHON_WSACCEL_VERSION = 0.6.2 -PYTHON_WSACCEL_SOURCE = wsaccel-$(PYTHON_WSACCEL_VERSION).tar.gz -PYTHON_WSACCEL_SITE = https://pypi.python.org/packages/source/w/wsaccel -PYTHON_WSACCEL_LICENSE = Apache-2.0 -PYTHON_WSACCEL_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-xlrd/Config.in b/buildroot-2021.05/package/python-xlrd/Config.in deleted file mode 100644 index 40920f7b..00000000 --- a/buildroot-2021.05/package/python-xlrd/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_PYTHON_XLRD - bool "python-xlrd" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - Library for developers to extract data from Microsoft - Excel(tm) spreadsheet files. - - http://www.python-excel.org/ diff --git a/buildroot-2021.05/package/python-xlrd/python-xlrd.hash b/buildroot-2021.05/package/python-xlrd/python-xlrd.hash deleted file mode 100644 index 0a66a211..00000000 --- a/buildroot-2021.05/package/python-xlrd/python-xlrd.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/xlrd/json -md5 e5d5b96924d791b22898b622eb3e918e xlrd-1.2.0.tar.gz -sha256 546eb36cee8db40c3eaa46c351e67ffee6eeb5fa2650b71bc4c758a29a1b29b2 xlrd-1.2.0.tar.gz -# locally calculated -sha256 b5a5dbce60265e305a815a6cb83ed07f24519d8ba644f2a307994488bced8815 LICENSE diff --git a/buildroot-2021.05/package/python-xlrd/python-xlrd.mk b/buildroot-2021.05/package/python-xlrd/python-xlrd.mk deleted file mode 100644 index c94e054b..00000000 --- a/buildroot-2021.05/package/python-xlrd/python-xlrd.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-xlrd -# -################################################################################ - -PYTHON_XLRD_VERSION = 1.2.0 -PYTHON_XLRD_SOURCE = xlrd-$(PYTHON_XLRD_VERSION).tar.gz -PYTHON_XLRD_SITE = https://files.pythonhosted.org/packages/aa/05/ec9d4fcbbb74bbf4da9f622b3b61aec541e4eccf31d3c60c5422ec027ce2 -PYTHON_XLRD_SETUP_TYPE = setuptools -PYTHON_XLRD_LICENSE = BSD-3-Clause -PYTHON_XLRD_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-xlsxwriter/Config.in b/buildroot-2021.05/package/python-xlsxwriter/Config.in deleted file mode 100644 index 3641bd05..00000000 --- a/buildroot-2021.05/package/python-xlsxwriter/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_XLSXWRITER - bool "python-xlsxwriter" - select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3 - help - A Python module for creating Excel XLSX files. - - https://github.com/jmcnamara/XlsxWriter diff --git a/buildroot-2021.05/package/python-xlsxwriter/python-xlsxwriter.hash b/buildroot-2021.05/package/python-xlsxwriter/python-xlsxwriter.hash deleted file mode 100644 index 59890b72..00000000 --- a/buildroot-2021.05/package/python-xlsxwriter/python-xlsxwriter.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/XlsxWriter/json -md5 799bf9c16ff58a7c38509b1895b7bc63 XlsxWriter-1.2.2.tar.gz -sha256 5a5e2195a4672d17db79839bbdf1006a521adb57eaceea1c335ae4b3d19f088f XlsxWriter-1.2.2.tar.gz -# Locally computed sha256 checksums -sha256 777cb44c00ba1c2905686fa32f2ca3ba17422b96fc229be3d8f0f1333bc4ecfe LICENSE.txt diff --git a/buildroot-2021.05/package/python-xlsxwriter/python-xlsxwriter.mk b/buildroot-2021.05/package/python-xlsxwriter/python-xlsxwriter.mk deleted file mode 100644 index ccc2fc7e..00000000 --- a/buildroot-2021.05/package/python-xlsxwriter/python-xlsxwriter.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-xlsxwriter -# -################################################################################ - -PYTHON_XLSXWRITER_VERSION = 1.2.2 -PYTHON_XLSXWRITER_SOURCE = XlsxWriter-$(PYTHON_XLSXWRITER_VERSION).tar.gz -PYTHON_XLSXWRITER_SITE = https://files.pythonhosted.org/packages/73/78/3ea62c5ad7255a0ff676c87ea88b152090b2178cb27325ba3bb0bb4122c9 -PYTHON_XLSXWRITER_SETUP_TYPE = setuptools -PYTHON_XLSXWRITER_LICENSE = BSD-2-Clause -PYTHON_XLSXWRITER_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-xmltodict/Config.in b/buildroot-2021.05/package/python-xmltodict/Config.in deleted file mode 100644 index cb12392c..00000000 --- a/buildroot-2021.05/package/python-xmltodict/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_XMLTODICT - bool "python-xmltodict" - select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON # runtime - select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3 # runtime - help - Makes working with XML feel like you are working with JSON. - - https://github.com/martinblech/xmltodict diff --git a/buildroot-2021.05/package/python-yarl/Config.in b/buildroot-2021.05/package/python-yarl/Config.in deleted file mode 100644 index e5205045..00000000 --- a/buildroot-2021.05/package/python-yarl/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_YARL - bool "python-yarl" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_MULTIDICT - select BR2_PACKAGE_PYTHON_IDNA - help - Yet another URL library. - - http://yarl.readthedocs.io/ diff --git a/buildroot-2021.05/package/python-yarl/python-yarl.hash b/buildroot-2021.05/package/python-yarl/python-yarl.hash deleted file mode 100644 index 783702c7..00000000 --- a/buildroot-2021.05/package/python-yarl/python-yarl.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/yarl/json -md5 3b6f2da3db8c645a9440375fd6a414eb yarl-1.6.3.tar.gz -sha256 8a9066529240171b68893d60dca86a763eae2139dd42f42106b03cf4b426bf10 yarl-1.6.3.tar.gz -# Locally computed sha256 checksums -sha256 14c0820503ceef15e814a89b037d9efc066870087018294b6ae0f27163872cc5 LICENSE diff --git a/buildroot-2021.05/package/python-yarl/python-yarl.mk b/buildroot-2021.05/package/python-yarl/python-yarl.mk deleted file mode 100644 index 32ec4770..00000000 --- a/buildroot-2021.05/package/python-yarl/python-yarl.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-yarl -# -################################################################################ - -PYTHON_YARL_VERSION = 1.6.3 -PYTHON_YARL_SOURCE = yarl-$(PYTHON_YARL_VERSION).tar.gz -PYTHON_YARL_SITE = https://files.pythonhosted.org/packages/97/e7/af7219a0fe240e8ef6bb555341a63c43045c21ab0392b4435e754b716fa1 -PYTHON_YARL_LICENSE = Apache-2.0 -PYTHON_YARL_LICENSE_FILES = LICENSE -PYTHON_YARL_SETUP_TYPE = setuptools - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-yatl/python-yatl.hash b/buildroot-2021.05/package/python-yatl/python-yatl.hash deleted file mode 100644 index 6f4623c5..00000000 --- a/buildroot-2021.05/package/python-yatl/python-yatl.hash +++ /dev/null @@ -1,3 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/yatl/json -md5 2954413784ced7e52513ae12b2183c88 yatl-20210326.1.tar.gz -sha256 add729efdc2c9c06e0fcf640d97d4c500de611a38d5fdcc2ec12545d5ab14ca1 yatl-20210326.1.tar.gz diff --git a/buildroot-2021.05/package/python-yatl/python-yatl.mk b/buildroot-2021.05/package/python-yatl/python-yatl.mk deleted file mode 100644 index 3a9e2748..00000000 --- a/buildroot-2021.05/package/python-yatl/python-yatl.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-yatl -# -################################################################################ - -PYTHON_YATL_VERSION = 20210326.1 -PYTHON_YATL_SOURCE = yatl-$(PYTHON_YATL_VERSION).tar.gz -PYTHON_YATL_SITE = https://files.pythonhosted.org/packages/9d/76/5906d641f452dc2ee56795e2152dafc1d212cd411d1cb893af29a7d06e33 -PYTHON_YATL_SETUP_TYPE = setuptools -PYTHON_YATL_LICENSE = BSD-3-Clause - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-yieldfrom/Config.in b/buildroot-2021.05/package/python-yieldfrom/Config.in deleted file mode 100644 index 1a063d31..00000000 --- a/buildroot-2021.05/package/python-yieldfrom/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_PYTHON_YIELDFROM - bool "python-yieldfrom" - depends on BR2_PACKAGE_PYTHON - help - A backport of the `yield from` semantic from Python 3.x to - Python 2.7. - - https://github.com/Nurdok/yieldfrom/ diff --git a/buildroot-2021.05/package/python-yieldfrom/python-yieldfrom.hash b/buildroot-2021.05/package/python-yieldfrom/python-yieldfrom.hash deleted file mode 100644 index 7730a1e5..00000000 --- a/buildroot-2021.05/package/python-yieldfrom/python-yieldfrom.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/yieldfrom/json -md5 fd94120625ac1e69bb5946d5e63182da yieldfrom-1.0.5.tar.gz -sha256 eb75e58641410f06083f85013a438f28bceaabfe5af9c3206d5049362c37aca0 yieldfrom-1.0.5.tar.gz -# Locally computed sha256 checksums -sha256 b3092d61cce29e25f3799285495095d220e5e015b88c1c70e1e72dae052f21e8 LICENSE diff --git a/buildroot-2021.05/package/python-yieldfrom/python-yieldfrom.mk b/buildroot-2021.05/package/python-yieldfrom/python-yieldfrom.mk deleted file mode 100644 index c926936a..00000000 --- a/buildroot-2021.05/package/python-yieldfrom/python-yieldfrom.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# python-yieldfrom -# -################################################################################ - -PYTHON_YIELDFROM_VERSION = 1.0.5 -PYTHON_YIELDFROM_SOURCE = yieldfrom-$(PYTHON_YIELDFROM_VERSION).tar.gz -PYTHON_YIELDFROM_SITE = https://files.pythonhosted.org/packages/4d/f9/395917f574ace618eb234bcbae8df3fabaa9624532d96d1fbd3a20678b1e -PYTHON_YIELDFROM_SETUP_TYPE = setuptools -PYTHON_YIELDFROM_LICENSE = MIT -PYTHON_YIELDFROM_LICENSE_FILES = LICENSE - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-zeroconf/Config.in b/buildroot-2021.05/package/python-zeroconf/Config.in deleted file mode 100644 index a56bf7c1..00000000 --- a/buildroot-2021.05/package/python-zeroconf/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_PYTHON_ZEROCONF - bool "python-zeroconf" - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_IFADDR # runtime - help - Pure Python Multicast DNS Service Discovery Library - (Bonjour/Avahi compatible). - - https://github.com/jstasiak/python-zeroconf diff --git a/buildroot-2021.05/package/python-zope-interface/python-zope-interface.hash b/buildroot-2021.05/package/python-zope-interface/python-zope-interface.hash deleted file mode 100644 index 6c2f7530..00000000 --- a/buildroot-2021.05/package/python-zope-interface/python-zope-interface.hash +++ /dev/null @@ -1,5 +0,0 @@ -# md5, sha256 from https://pypi.org/pypi/zope-interface/json -md5 291fd76bd83dda946674af1526b6c2cd zope.interface-5.3.0.tar.gz -sha256 b18a855f8504743e0a2d8b75d008c7720d44e4c76687e13f959e35d9a13eb397 zope.interface-5.3.0.tar.gz -# Locally computed sha256 checksums -sha256 3e671db11df687516cc1db5b3d65e4aa383eaca3c20cea3faf53a0f7335d0a3c LICENSE.txt diff --git a/buildroot-2021.05/package/python-zope-interface/python-zope-interface.mk b/buildroot-2021.05/package/python-zope-interface/python-zope-interface.mk deleted file mode 100644 index db073940..00000000 --- a/buildroot-2021.05/package/python-zope-interface/python-zope-interface.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# python-zope-interface -# -################################################################################ - -PYTHON_ZOPE_INTERFACE_VERSION = 5.3.0 -PYTHON_ZOPE_INTERFACE_SOURCE = zope.interface-$(PYTHON_ZOPE_INTERFACE_VERSION).tar.gz -PYTHON_ZOPE_INTERFACE_SITE = https://files.pythonhosted.org/packages/b1/f8/aa59109d5345ece4820e8e7a05a97203ef21a0ac2c0460c6c929ea5be889 -PYTHON_ZOPE_INTERFACE_SETUP_TYPE = setuptools -PYTHON_ZOPE_INTERFACE_LICENSE = ZPL-2.1 -PYTHON_ZOPE_INTERFACE_LICENSE_FILES = LICENSE.txt - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python/0001-setup.py-do-not-add-invalid-header-locations.patch b/buildroot-2021.05/package/python/0001-setup.py-do-not-add-invalid-header-locations.patch deleted file mode 100644 index 3b2c9833..00000000 --- a/buildroot-2021.05/package/python/0001-setup.py-do-not-add-invalid-header-locations.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 3dc31a435b67de2ba3dd3457f0c939e20b58e8de Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:17:06 +0100 -Subject: [PATCH] setup.py: do not add invalid header locations - -This piece of code incorrectly adds /usr/include to -self.compiler.include_dirs, and results in the following invalid -compilation line: - -/home/thomas/projets/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc -fPIC \ - -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \ - -pipe -Os -DNDEBUG -g -O3 -Wall -Wstrict-prototypes \ - -I/usr/include -I. -IInclude -I./Include \ - -I/home/thomas/projets/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include \ - -I/home/thomas/projets/buildroot/output/build/python-2.7.6/Include \ - -I/home/thomas/projets/buildroot/output/build/python-2.7.6 \ - -c /home/thomas/projets/buildroot/output/build/python-2.7.6/Modules/mathmodule.c \ - -o build/temp.linux2-arm-2.7/home/thomas/projets/buildroot/output/build/python-2.7.6/Modules/mathmodule.o -cc1: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories] -[...] - -Signed-off-by: Thomas Petazzoni ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 54054c2..64001e2 100644 ---- a/setup.py -+++ b/setup.py -@@ -496,7 +496,7 @@ class PyBuildExt(build_ext): - for directory in reversed(options.dirs): - add_dir_to_list(dir_list, directory) - -- if os.path.normpath(sys.prefix) != '/usr' \ -+ if False and os.path.normpath(sys.prefix) != '/usr' \ - and not sysconfig.get_config_var('PYTHONFRAMEWORK'): - # OSX note: Don't add LIBDIR and INCLUDEDIR to building a framework - # (PYTHONFRAMEWORK is set) to avoid # linking problems when --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/0002-Fix-get_python_inc-for-cross-compilation.patch b/buildroot-2021.05/package/python/0002-Fix-get_python_inc-for-cross-compilation.patch deleted file mode 100644 index 1fa4e927..00000000 --- a/buildroot-2021.05/package/python/0002-Fix-get_python_inc-for-cross-compilation.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 367ee7d103cf9f670c3925d555edf6f6a5b9d8d5 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:17:25 +0100 -Subject: [PATCH] Fix get_python_inc() for cross-compilation - -When we are cross compiling, doing os.path.dirname(sys.executable) to -get the build directory is incorrect, because we're executing the host -Python to build things for the target. Instead, we should use the -project_base variable. - -This fixes cross-compilation, which was adding incorrect header paths -pointing to the location where the host Python was built: - -/home/thomas/projets/buildroot/output/host/usr/bin/arm-none-linux-gnueabi-gcc -fPIC -fno-strict-aliasing \ - -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -DNDEBUG -g -O3 -Wall -Wstrict-prototypes \ - -I/usr/include -I. -IInclude -I./Include -I/home/thomas/projets/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/include \ - -I/home/thomas/projets/buildroot/output/host/usr/bin/Include -I/home/thomas/projets/buildroot/output/host/usr/bin \ - -c /home/thomas/projets/buildroot/output/build/python-2.7.6/Modules/_struct.c \ - -o build/temp.linux2-arm-2.7/home/thomas/projets/buildroot/output/build/python-2.7.6/Modules/_struct.o - -This patch allows to fix the -/home/thomas/projets/buildroot/output/host/usr/bin/Include and -/home/thomas/projets/buildroot/output/host/usr/bin paths that are -incorrectly added to the header paths. - -Signed-off-by: Thomas Petazzoni -[Asaf: update for 2.7.17] -Signed-off-by: Asaf Kahlon ---- - Lib/distutils/sysconfig.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py -index 1a4b792644..14c7d81c48 100644 ---- a/Lib/distutils/sysconfig.py -+++ b/Lib/distutils/sysconfig.py -@@ -85,7 +85,7 @@ def get_python_inc(plat_specific=0, prefix=None): - if os.name == "posix": - if python_build: - if sys.executable: -- buildir = os.path.dirname(sys.executable) -+ buildir = project_base - else: - # sys.executable can be empty if argv[0] has been changed - # and Python is unable to retrieve the real program name --- -2.20.1 - diff --git a/buildroot-2021.05/package/python/0003-Change-the-install-location-of-_sysconfigdata.py.patch b/buildroot-2021.05/package/python/0003-Change-the-install-location-of-_sysconfigdata.py.patch deleted file mode 100644 index 9e05af2e..00000000 --- a/buildroot-2021.05/package/python/0003-Change-the-install-location-of-_sysconfigdata.py.patch +++ /dev/null @@ -1,88 +0,0 @@ -From e3f3c454ec4992a2283640cef0a35da5a05fb399 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:17:59 +0100 -Subject: [PATCH] Change the install location of _sysconfigdata.py - -The _sysconfigdata.py module contains definitions that are needed when -building Python modules. In cross-compilation mode, when building -Python extensions for the target, we need to use the _sysconfigdata.py -of the target Python while executing the host Python. - -However until now, the _sysconfigdata.py module was installed in -build/lib.- directory, together with a number of -architecture-specific shared objects, which cannot be used with the -host Python. - -To solve this problem, this patch moves _sysconfigdata.py to a -separate location, build/sysconfigdata.-/, and only -this directory gets added to the PYTHONPATH of the host Python -interpreter when building Python modules for the target. - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 12 ++++++++++-- - configure.ac | 2 +- - 2 files changed, 11 insertions(+), 3 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 9297e7fc89..49d3c0926f 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -509,6 +509,9 @@ pybuilddir.txt: $(BUILDPYTHON) - rm -f ./pybuilddir.txt ; \ - exit 1 ; \ - fi -+ echo `cat pybuilddir.txt`/sysconfigdata > pysysconfigdatadir.txt -+ mkdir -p `cat pysysconfigdatadir.txt` -+ cp `cat pybuilddir.txt`/_sysconfigdata.py `cat pysysconfigdatadir.txt` - - # This is shared by the math and cmath modules - Modules/_math.o: Modules/_math.c Modules/_math.h -@@ -1091,7 +1094,7 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - else true; \ - fi; \ - done -- @for i in $(srcdir)/Lib/*.py `cat pybuilddir.txt`/_sysconfigdata.py $(srcdir)/Lib/*.doc $(srcdir)/Lib/*.egg-info ; \ -+ @for i in $(srcdir)/Lib/*.py $(srcdir)/Lib/*.doc $(srcdir)/Lib/*.egg-info ; \ - do \ - if test -x $$i; then \ - $(INSTALL_SCRIPT) $$i $(DESTDIR)$(LIBDEST); \ -@@ -1101,6 +1104,11 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - echo $(INSTALL_DATA) $$i $(LIBDEST); \ - fi; \ - done -+ $(INSTALL_DATA) `cat pysysconfigdatadir.txt`/_sysconfigdata.py \ -+ $(DESTDIR)$(LIBDEST) -+ mkdir -p $(DESTDIR)$(LIBDEST)/sysconfigdata -+ $(INSTALL_DATA) `cat pysysconfigdatadir.txt`/_sysconfigdata.py \ -+ $(DESTDIR)$(LIBDEST)/sysconfigdata - @for d in $(LIBSUBDIRS); \ - do \ - a=$(srcdir)/Lib/$$d; \ -@@ -1426,7 +1434,7 @@ distclean: clobber - Modules/Setup Modules/Setup.local Modules/Setup.config \ - Modules/ld_so_aix Modules/python.exp Misc/python.pc - -rm -f python*-gdb.py -- -rm -f pybuilddir.txt -+ -rm -f pybuilddir.txt pysysconfigdatadir.txt - # Issue #28258: set LC_ALL to avoid issues with Estonian locale. - # Expansion is performed here by shell (spawned by make) itself before - # arguments are passed to find. So LC_ALL=C must be set as a separate -diff --git a/configure.ac b/configure.ac -index aecf6066e8..7143172b98 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -36,7 +36,7 @@ if test "$cross_compiling" = yes; then - AC_MSG_ERROR([python$PACKAGE_VERSION interpreter not found]) - fi - AC_MSG_RESULT($interp) -- PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pybuilddir.txt && echo $(abs_builddir)/`cat pybuilddir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp -+ PYTHON_FOR_BUILD='_PYTHON_PROJECT_BASE=$(abs_builddir) _PYTHON_HOST_PLATFORM=$(_PYTHON_HOST_PLATFORM) PYTHONPATH=$(shell test -f pysysconfigdatadir.txt && echo $(abs_builddir)/`cat pysysconfigdatadir.txt`:)$(srcdir)/Lib:$(srcdir)/Lib/$(PLATDIR) '$interp - fi - elif test "$cross_compiling" = maybe; then - AC_MSG_ERROR([Cross compiling required --host=HOST-TUPLE and --build=ARCH]) --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0004-Make-the-compilation-of-.pyc-and-.pyo-conditional.patch b/buildroot-2021.05/package/python/0004-Make-the-compilation-of-.pyc-and-.pyo-conditional.patch deleted file mode 100644 index ef1eb040..00000000 --- a/buildroot-2021.05/package/python/0004-Make-the-compilation-of-.pyc-and-.pyo-conditional.patch +++ /dev/null @@ -1,78 +0,0 @@ -From 57ab41fa019d3ce276decd488938e5a00049cb9d Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:18:57 +0100 -Subject: [PATCH] Make the compilation of .pyc and .pyo conditional - -This commit adds --{enable,disable}-{pyc,pyo} options to enable/disable -the compilation of pyc/pyo files. - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 8 ++++++++ - configure.ac | 11 +++++++++++ - 2 files changed, 19 insertions(+) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 49d3c0926f..247d3c2902 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1139,24 +1139,32 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ - $(DESTDIR)$(LIBDEST)/distutils/tests ; \ - fi -+ifeq (@PYC_BUILD@,yes) - PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -Wi -tt $(DESTDIR)$(LIBDEST)/compileall.py \ - -d $(LIBDEST) -f \ - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ - $(DESTDIR)$(LIBDEST) -+endif -+ifeq (@PYO_BUILD@,yes) - PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -Wi -tt -O $(DESTDIR)$(LIBDEST)/compileall.py \ - -d $(LIBDEST) -f \ - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ - $(DESTDIR)$(LIBDEST) -+endif -+ifeq (@PYC_BUILD@,yes) - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -Wi -t $(DESTDIR)$(LIBDEST)/compileall.py \ - -d $(LIBDEST)/site-packages -f \ - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages -+endif -+ifeq (@PYO_BUILD@,yes) - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \ - -d $(LIBDEST)/site-packages -f \ - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages -+endif - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ -diff --git a/configure.ac b/configure.ac -index 7143172b98..6bd8369105 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -773,6 +773,17 @@ SunOS*) - ;; - esac - -+AC_SUBST(PYC_BUILD) -+ -+AC_ARG_ENABLE(pyc-build, -+ AS_HELP_STRING([--disable-pyc-build], [disable build of pyc files]), -+ [ PYC_BUILD="${enableval}" ], [ PYC_BUILD=yes ]) -+ -+AC_SUBST(PYO_BUILD) -+ -+AC_ARG_ENABLE(pyo-build, -+ AS_HELP_STRING([--disable-pyo-build], [disable build of pyo files]), -+ [ PYO_BUILD="${enableval}" ], [ PYO_BUILD=yes ]) - - AC_SUBST(LIBRARY) - AC_MSG_CHECKING(LIBRARY) --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0005-Adjust-getaddrinfo-test-for-cross-compilation.patch b/buildroot-2021.05/package/python/0005-Adjust-getaddrinfo-test-for-cross-compilation.patch deleted file mode 100644 index c910ae71..00000000 --- a/buildroot-2021.05/package/python/0005-Adjust-getaddrinfo-test-for-cross-compilation.patch +++ /dev/null @@ -1,31 +0,0 @@ -From e674e29ceba34e55c9149ce99489e543aa4ebb01 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:19:47 +0100 -Subject: [PATCH] Adjust getaddrinfo() test for cross-compilation - -The getaddrinfo() test in configure.ac uses AC_RUN_IFELSE(), which isn't -cross-compilation friendly. - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 6bd8369105..77ca6d86ca 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3563,7 +3563,7 @@ fi - - AC_MSG_RESULT($ac_cv_buggy_getaddrinfo) - --if test $have_getaddrinfo = no -o "$ac_cv_buggy_getaddrinfo" = yes -+if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes - then - if test $ipv6 = yes - then --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0006-Add-minimal-infrastructure-to-be-able-to-disable-ext.patch b/buildroot-2021.05/package/python/0006-Add-minimal-infrastructure-to-be-able-to-disable-ext.patch deleted file mode 100644 index b1a20eb0..00000000 --- a/buildroot-2021.05/package/python/0006-Add-minimal-infrastructure-to-be-able-to-disable-ext.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 94ec96dd8827adfb5e272d28a4d76510e28657b3 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:21:28 +0100 -Subject: [PATCH] Add minimal infrastructure to be able to disable extensions - -This commit adds some logic to the Python build system to be able to -disable Python extensions. Follow-up commits actually add options to -disable specific extensions. - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 6 +++++- - configure.ac | 2 ++ - setup.py | 5 ++++- - 3 files changed, 11 insertions(+), 2 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 247d3c2902..c1c98ecc5a 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -160,6 +160,8 @@ FILEMODE= 644 - # configure script arguments - CONFIG_ARGS= @CONFIG_ARGS@ - -+# disabled extensions -+DISABLED_EXTENSIONS= @DISABLED_EXTENSIONS@ - - # Subdirectories with code - SRCDIRS= @SRCDIRS@ -@@ -528,6 +530,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o - esac; \ - $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ - _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ -+ DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" \ - $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build - - # Build static library -@@ -1280,7 +1283,8 @@ libainstall: @DEF_MAKE_RULE@ python-config - # Install the dynamically loadable modules - # This goes into $(exec_prefix) - sharedinstall: sharedmods -- $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ -+ $(RUNSHARED) DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" \ -+ $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ - --prefix=$(prefix) \ - --install-scripts=$(BINDIR) \ - --install-platlib=$(DESTSHARED) \ -diff --git a/configure.ac b/configure.ac -index 77ca6d86ca..13f90b3ddd 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2491,6 +2491,8 @@ LIBS="$withval $LIBS" - - PKG_PROG_PKG_CONFIG - -+AC_SUBST(DISABLED_EXTENSIONS) -+ - # Check for use of the system expat library - AC_MSG_CHECKING(for --with-system-expat) - AC_ARG_WITH(system_expat, -diff --git a/setup.py b/setup.py -index 812d53d560..d426dd02ea 100644 ---- a/setup.py -+++ b/setup.py -@@ -33,7 +33,10 @@ host_platform = get_platform() - COMPILED_WITH_PYDEBUG = ('--with-pydebug' in sysconfig.get_config_var("CONFIG_ARGS")) - - # This global variable is used to hold the list of modules to be disabled. --disabled_module_list = [] -+try: -+ disabled_module_list = sysconfig.get_config_var("DISABLED_EXTENSIONS").split(" ") -+except KeyError: -+ disabled_module_list = list() - - def add_dir_to_list(dirlist, dir): - """Add the directory 'dir' to the list 'dirlist' (at the front) if --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0007-Adjust-library-header-paths-for-cross-compilation.patch b/buildroot-2021.05/package/python/0007-Adjust-library-header-paths-for-cross-compilation.patch deleted file mode 100644 index c68f1bf7..00000000 --- a/buildroot-2021.05/package/python/0007-Adjust-library-header-paths-for-cross-compilation.patch +++ /dev/null @@ -1,64 +0,0 @@ -From f3e0a677c4736f95338825a022a884f8dc7a5c14 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:22:19 +0100 -Subject: [PATCH] Adjust library/header paths for cross-compilation - -When cross-compiling third-party extensions, the get_python_inc() or -get_python_lib() can be called, to return the path to headers or -libraries. However, they use the sys.prefix of the host Python, which -returns incorrect paths when cross-compiling (paths pointing to host -headers and libraries). - -In order to fix this, we introduce the _python_sysroot, _python_prefix -and _python_exec_prefix variables, that allow to override these -values, and get correct header/library paths when cross-compiling -third-party Python modules. - -The _python_sysroot variable is also used to prefix the LIBDIR value -taken from the sysconfigdata module. - -Signed-off-by: Thomas Petazzoni ---- - Lib/distutils/command/build_ext.py | 5 ++++- - Lib/distutils/sysconfig.py | 9 +++++++-- - 2 files changed, 11 insertions(+), 3 deletions(-) - -diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py -index 2c68be3..375b08c 100644 ---- a/Lib/distutils/command/build_ext.py -+++ b/Lib/distutils/command/build_ext.py -@@ -240,7 +240,10 @@ class build_ext (Command): - if (sysconfig.get_config_var('Py_ENABLE_SHARED')): - if not sysconfig.python_build: - # building third party extensions -- self.library_dirs.append(sysconfig.get_config_var('LIBDIR')) -+ libdir = sysconfig.get_config_var('LIBDIR') -+ if "_python_sysroot" in os.environ: -+ libdir = os.environ.get("_python_sysroot") + libdir -+ self.library_dirs.append(libdir) - else: - # building python standard extensions - self.library_dirs.append('.') -diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py -index d72b6e5..72151df 100644 ---- a/Lib/distutils/sysconfig.py -+++ b/Lib/distutils/sysconfig.py -@@ -19,8 +19,13 @@ import sys - from distutils.errors import DistutilsPlatformError - - # These are needed in a couple of spots, so just compute them once. --PREFIX = os.path.normpath(sys.prefix) --EXEC_PREFIX = os.path.normpath(sys.exec_prefix) -+if "_python_sysroot" in os.environ: -+ _sysroot=os.environ.get('_python_sysroot') -+ PREFIX = os.path.normpath(_sysroot + os.environ.get('_python_prefix')) -+ EXEC_PREFIX = os.path.normpath(_sysroot + os.environ.get('_python_exec_prefix')) -+else: -+ PREFIX = os.path.normpath(sys.prefix) -+ EXEC_PREFIX = os.path.normpath(sys.exec_prefix) - - # Path to the base directory of the project. On Windows the binary may - # live in project/PCBuild9. If we're dealing with an x64 Windows build, --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/0008-Don-t-look-in-usr-lib-termcap-for-libraries.patch b/buildroot-2021.05/package/python/0008-Don-t-look-in-usr-lib-termcap-for-libraries.patch deleted file mode 100644 index d523b746..00000000 --- a/buildroot-2021.05/package/python/0008-Don-t-look-in-usr-lib-termcap-for-libraries.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 87b627d8845e67fd798449b414bece04f18bd450 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:22:40 +0100 -Subject: [PATCH] Don't look in /usr/lib/termcap for libraries - -Signed-off-by: Thomas Petazzoni ---- - setup.py | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/setup.py b/setup.py -index 3b51c0a..fa32532 100644 ---- a/setup.py -+++ b/setup.py -@@ -784,12 +784,9 @@ class PyBuildExt(build_ext): - pass # Issue 7384: Already linked against curses or tinfo. - elif curses_library: - readline_libs.append(curses_library) -- elif self.compiler.find_library_file(lib_dirs + -- ['/usr/lib/termcap'], -- 'termcap'): -+ elif self.compiler.find_library_file(lib_dirs, 'termcap'): - readline_libs.append('termcap') - exts.append( Extension('readline', ['readline.c'], -- library_dirs=['/usr/lib/termcap'], - extra_link_args=readline_extra_link_args, - libraries=readline_libs) ) - else: --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/0009-Fix-python-config-for-cross-builds.patch b/buildroot-2021.05/package/python/0009-Fix-python-config-for-cross-builds.patch deleted file mode 100644 index 3cf8797c..00000000 --- a/buildroot-2021.05/package/python/0009-Fix-python-config-for-cross-builds.patch +++ /dev/null @@ -1,229 +0,0 @@ -From 1522c6c00ee88eb1148d3b2021d32d819b416375 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -Date: Tue, 7 Mar 2017 22:23:14 +0100 -Subject: [PATCH] Fix python-config for cross-builds - -Add a backport of http://bugs.python.org/issue16235 so we can use -python-config for cross builds. - -This basically replaces the python version of python-config with a -pure-shell version that's already preprocessed when installed and -doesn't depend on the sysconfig import that usually leads to bad -data/results. - -Signed-off-by: Gustavo Zacarias -[Bernd: rebased for Python 2.7.15] -Signed-off-by: Bernd Kuhls -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 13 +++--- - Misc/python-config.sh.in | 102 +++++++++++++++++++++++++++++++++++++++++++++++ - configure.ac | 7 +++- - 3 files changed, 116 insertions(+), 6 deletions(-) - create mode 100644 Misc/python-config.sh.in - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index c1c98ecc5a..727a92af42 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -170,7 +170,7 @@ SRCDIRS= @SRCDIRS@ - SUBDIRSTOO= Include Lib Misc Demo - - # Files and directories to be distributed --CONFIGFILES= configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in -+CONFIGFILES= configure configure.ac acconfig.h pyconfig.h.in Makefile.pre.in Misc/python-config.sh - DISTFILES= README ChangeLog $(CONFIGFILES) - DISTDIRS= $(SUBDIRS) $(SUBDIRSTOO) Ext-dummy - DIST= $(DISTFILES) $(DISTDIRS) -@@ -403,7 +403,7 @@ LIBRARY_OBJS= \ - - # Default target - all: @DEF_MAKE_ALL_RULE@ --build_all: check-clean-src $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks -+build_all: check-clean-src $(BUILDPYTHON) oldsharedmods sharedmods gdbhooks python-config - - # Check that the source is clean when building out of source. - check-clean-src: -@@ -1190,10 +1190,12 @@ $(srcdir)/Lib/$(PLATDIR): - fi; \ - cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen - --python-config: $(srcdir)/Misc/python-config.in -+python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh - # Substitution happens here, as the completely-expanded BINDIR - # is not available in configure -- sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config -+ sed -e "s,@EXENAME@,$(BINDIR)/python$(VERSION)$(EXE)," < $(srcdir)/Misc/python-config.in >python-config.py -+ # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR} -+ sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' Misc/python-config.sh >python-config - - # Install the include files - INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY) -@@ -1252,7 +1254,7 @@ libainstall: @DEF_MAKE_RULE@ python-config - $(INSTALL_SCRIPT) $(srcdir)/Modules/makesetup $(DESTDIR)$(LIBPL)/makesetup - $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh - $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(VERSION)-config -- rm python-config -+ $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py - @if [ -s Modules/python.exp -a \ - "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \ - echo; echo "Installing support files for building shared extension modules on AIX:"; \ -@@ -1434,6 +1436,7 @@ clobber: clean profile-removal - config.cache config.log pyconfig.h Modules/config.c - -rm -rf build platform - -rm -rf $(PYTHONFRAMEWORKDIR) -+ -rm -f python-config.py python-config - - # Make things extra clean, before making a distribution: - # remove all generated files, even Makefile[.pre] -diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in -new file mode 100644 -index 0000000000..10db4c12eb ---- /dev/null -+++ b/Misc/python-config.sh.in -@@ -0,0 +1,102 @@ -+#!/bin/sh -+ -+exit_with_usage () -+{ -+ echo "Usage: $0 --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--configdir" -+ exit $1 -+} -+ -+if [ "$1" = "" ] ; then -+ exit_with_usage 1 -+fi -+ -+# Returns the actual prefix where this script was installed to. -+installed_prefix () -+{ -+ RESULT=$(dirname $(cd $(dirname "$1") && pwd -P)) -+ if which readlink >/dev/null 2>&1 ; then -+ RESULT=$(readlink -f "$RESULT") -+ fi -+ echo $RESULT -+} -+ -+prefix_build="@prefix@" -+prefix_real=$(installed_prefix "$0") -+ -+# Use sed to fix paths from their built to locations to their installed to locations. -+prefix=$(echo "$prefix_build" | sed "s#$prefix_build#$prefix_real#") -+exec_prefix_build="@exec_prefix@" -+exec_prefix=$(echo "$exec_prefix_build" | sed "s#$exec_prefix_build#$prefix_real#") -+includedir=$(echo "@includedir@") -+libdir=$(echo "@libdir@" | sed "s#$prefix_build#$prefix_real#") -+CFLAGS=$(echo "@CFLAGS@" | sed "s#$prefix_build#$prefix_real#") -+VERSION="@VERSION@" -+LIBM="@LIBM@" -+LIBC="@LIBC@" -+SYSLIBS="$LIBM $LIBC" -+LIBS="@LIBS@ $SYSLIBS -lpython${VERSION}" -+BASECFLAGS="@BASECFLAGS@" -+LDLIBRARY="@LDLIBRARY@" -+LINKFORSHARED="@LINKFORSHARED@" -+OPT="@OPT@" -+PY_ENABLE_SHARED="@PY_ENABLE_SHARED@" -+LDVERSION="@LDVERSION@" -+LIBDEST=${prefix}/lib/python${VERSION} -+LIBPL=$(echo "@LIBPL@" | sed "s#$prefix_build#$prefix_real#") -+SO="@SO@" -+PYTHONFRAMEWORK="@PYTHONFRAMEWORK@" -+INCDIR="-I$includedir/python${VERSION}" -+PLATINCDIR="-I$includedir/python${VERSION}" -+ -+# Scan for --help or unknown argument. -+for ARG in $* -+do -+ case $ARG in -+ --help) -+ exit_with_usage 0 -+ ;; -+ --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--abiflags|--configdir) -+ ;; -+ *) -+ exit_with_usage 1 -+ ;; -+esac -+done -+ -+for ARG in "$@" -+do -+ case "$ARG" in -+ --prefix) -+ echo "$prefix" -+ ;; -+ --exec-prefix) -+ echo "$exec_prefix" -+ ;; -+ --includes) -+ echo "$INCDIR $PLATINCDIR" -+ ;; -+ --cflags) -+ echo "$INCDIR $PLATINCDIR $BASECFLAGS $CFLAGS $OPT" -+ ;; -+ --libs) -+ echo "$LIBS" -+ ;; -+ --ldflags) -+ LINKFORSHAREDUSED= -+ if [ -z "$PYTHONFRAMEWORK" ] ; then -+ LINKFORSHAREDUSED=$LINKFORSHARED -+ fi -+ LIBPLUSED= -+ if [ "$PY_ENABLE_SHARED" = "0" ] ; then -+ LIBPLUSED="-L$LIBPL" -+ fi -+ echo "$LIBPLUSED -L$libdir $LIBS $LINKFORSHAREDUSED" -+ ;; -+ --extension-suffix) -+ echo "$SO" -+ ;; -+ --configdir) -+ echo "$LIBPL" -+ ;; -+esac -+done -diff --git a/configure.ac b/configure.ac -index 13f90b3ddd..3f28ef1371 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -919,6 +919,7 @@ fi - - # Other platforms follow - if test $enable_shared = "yes"; then -+ PY_ENABLE_SHARED=1 - AC_DEFINE(Py_ENABLE_SHARED, 1, [Defined if Python is built as a shared library.]) - case $ac_sys_system in - BeOS*) -@@ -979,6 +980,7 @@ if test $enable_shared = "yes"; then - - esac - else # shared is disabled -+ PY_ENABLE_SHARED=0 - case $ac_sys_system in - CYGWIN*) - BLDLIBRARY='$(LIBRARY)' -@@ -2128,6 +2130,9 @@ AC_SUBST(LDCXXSHARED) - AC_SUBST(BLDSHARED) - AC_SUBST(CCSHARED) - AC_SUBST(LINKFORSHARED) -+AC_SUBST(PY_ENABLE_SHARED) -+LIBPL="${prefix}/lib/python${VERSION}/config" -+AC_SUBST(LIBPL) - # SO is the extension of shared libraries `(including the dot!) - # -- usually .so, .sl on HP-UX, .dll on Cygwin - AC_MSG_CHECKING(SO) -@@ -4944,7 +4949,7 @@ AC_MSG_RESULT($ENSUREPIP) - AC_SUBST(ENSUREPIP) - - # generate output files --AC_CONFIG_FILES(Makefile.pre Modules/Setup.config Misc/python.pc) -+AC_CONFIG_FILES(Makefile.pre Modules/Setup.config Misc/python.pc Misc/python-config.sh) - AC_CONFIG_FILES([Modules/ld_so_aix], [chmod +x Modules/ld_so_aix]) - AC_OUTPUT - --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0010-Remove-the-python-symlink-install-rules.patch b/buildroot-2021.05/package/python/0010-Remove-the-python-symlink-install-rules.patch deleted file mode 100644 index 4a2116b1..00000000 --- a/buildroot-2021.05/package/python/0010-Remove-the-python-symlink-install-rules.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 706d62599fb3c3cb9b9941364aaf4a1ef4ebd276 Mon Sep 17 00:00:00 2001 -From: Samuel Martin -Date: Tue, 7 Mar 2017 22:23:58 +0100 -Subject: [PATCH] Remove the python symlink install rules - -The python symlink installation will be handled by Buildroot itself, -because Buildroot needs to control to what python interpreter (python2 -or python3) the python symlink points to. - -Signed-off-by: Samuel Martin -[Bernd: rebased against version 2.7.12.] -Signed-off-by: Bernd Kuhls -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 7 ------- - 1 file changed, 7 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 727a92af42..37b2ff3a5f 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -978,17 +978,10 @@ bininstall: altbininstall - echo "Creating directory $(LIBPC)"; \ - $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \ - fi -- -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \ -- then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \ -- else true; \ -- fi -- (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON)) - -rm -f $(DESTDIR)$(BINDIR)/python2$(EXE) - (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python2$(EXE)) - -rm -f $(DESTDIR)$(BINDIR)/python2-config - (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python2-config) -- -rm -f $(DESTDIR)$(BINDIR)/python-config -- (cd $(DESTDIR)$(BINDIR); $(LN) -s python2-config python-config) - -test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC) - -rm -f $(DESTDIR)$(LIBPC)/python2.pc - (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc) --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0011-Don-t-add-multiarch-paths.patch b/buildroot-2021.05/package/python/0011-Don-t-add-multiarch-paths.patch deleted file mode 100644 index b84c9077..00000000 --- a/buildroot-2021.05/package/python/0011-Don-t-add-multiarch-paths.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 50a243a9c90f95e9248ac720e42e802b5922ab90 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:24:28 +0100 -Subject: [PATCH] Don't add multiarch paths - -The add_multiarch_paths() function leads, in certain build -environments, to the addition of host header paths to the CFLAGS, -which is not appropriate for cross-compilation. This patch fixes that -by simply removing the call to add_multiarch_paths() when we're -cross-compiling. - -Investigation done by David . - -Signed-off-by: Thomas Petazzoni ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index fa32532..0b9ea57 100644 ---- a/setup.py -+++ b/setup.py -@@ -461,9 +461,9 @@ class PyBuildExt(build_ext): - if not cross_compiling: - add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') - add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') -+ self.add_multiarch_paths() - if cross_compiling: - self.add_gcc_paths() -- self.add_multiarch_paths() - - # Add paths specified in the environment variables LDFLAGS and - # CPPFLAGS for header and library files. --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/0012-Abort-on-failed-module-build.patch b/buildroot-2021.05/package/python/0012-Abort-on-failed-module-build.patch deleted file mode 100644 index 7d952ca5..00000000 --- a/buildroot-2021.05/package/python/0012-Abort-on-failed-module-build.patch +++ /dev/null @@ -1,30 +0,0 @@ -From a131e2ff219872d97eef6585117bd2f8ff9e310d Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:24:48 +0100 -Subject: [PATCH] Abort on failed module build - -When building a Python module fails, the setup.py script currently -doesn't exit with an error, and simply continues. This is not a really -nice behavior, so this patch changes setup.py to abort with an error, -so that the build issue is clearly noticeable. - -Signed-off-by: Thomas Petazzoni ---- - setup.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/setup.py b/setup.py -index 0b9ea57..9a5c2b8 100644 ---- a/setup.py -+++ b/setup.py -@@ -299,6 +299,7 @@ class PyBuildExt(build_ext): - print "Failed to build these modules:" - print_three_column(failed) - print -+ sys.exit(1) - - def build_extension(self, ext): - --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/0013-sqlite3-fix-build-when-threads-are-not-used-availabl.patch b/buildroot-2021.05/package/python/0013-sqlite3-fix-build-when-threads-are-not-used-availabl.patch deleted file mode 100644 index dfc11efc..00000000 --- a/buildroot-2021.05/package/python/0013-sqlite3-fix-build-when-threads-are-not-used-availabl.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 0f0be88526ece7d2f6ee21c1f59b1546ec6dc7c0 Mon Sep 17 00:00:00 2001 -From: "Yann E. MORIN" -Date: Tue, 7 Mar 2017 22:25:14 +0100 -Subject: [PATCH] sqlite3: fix build when threads are not used/available - -When threads are not used/available, a function in the sqlite3 extension -ends up with a label at the end: - - void _pysqlite_final_callback(sqlite3_context* context) - { - PyObject* function_result; - PyObject** aggregate_instance; - int ok; - - #ifdef WITH_THREAD - PyGILState_STATE threadstate; - - threadstate = PyGILState_Ensure(); - #endif - - aggregate_instance = (PyObject**)sqlite3_aggregate_context(context, sizeof(PyObject*)); - if (!*aggregate_instance) { - goto error; - } - - [......] - - error: - #ifdef WITH_THREAD - PyGILState_Release(threadstate); - #endif - } - -This is not valid, and gcc complains. - -Fix that by adding a dummy statement after the label, so that the label -is never the last statement of the function. - -Signed-off-by: "Yann E. MORIN" ---- - Modules/_sqlite/connection.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c -index 237d6e4..cdf69ab 100644 ---- a/Modules/_sqlite/connection.c -+++ b/Modules/_sqlite/connection.c -@@ -794,6 +794,7 @@ error: - #ifdef WITH_THREAD - PyGILState_Release(threadstate); - #endif -+ ; /* Make gcc happy: a label can't be at the end of a function */ - } - - static void _pysqlite_drop_unused_statement_references(pysqlite_Connection* self) --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/0014-Serial-ioctl-workaround.patch b/buildroot-2021.05/package/python/0014-Serial-ioctl-workaround.patch deleted file mode 100644 index 468d535a..00000000 --- a/buildroot-2021.05/package/python/0014-Serial-ioctl-workaround.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 22e5a4c5d29ddf0856d7f68f5a613aec00e26168 Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Tue, 7 Mar 2017 22:25:36 +0100 -Subject: [PATCH] Serial ioctl() workaround - -The ioctls.h of some architectures (notably xtensa) references structs from -linux/serial.h. Make sure to include this header as well. - -Also, undef TIOCTTYGSTRUCT that require reference to internal kernel tty_struct, -but isn't actually referenced in modern kernels. - -Signed-off-by: Baruch Siach ---- - Modules/termios.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Modules/termios.c b/Modules/termios.c -index 57f30dc..a8c9855 100644 ---- a/Modules/termios.c -+++ b/Modules/termios.c -@@ -16,7 +16,9 @@ - * so this needs to be included first on that platform. */ - #include - #endif -+#include - #include -+#undef TIOCTTYGSTRUCT - - /* HP-UX requires that this be included to pick up MDCD, MCTS, MDSR, - * MDTR, MRI, and MRTS (appearantly used internally by some things --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/0015-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch b/buildroot-2021.05/package/python/0015-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch deleted file mode 100644 index fecf29f4..00000000 --- a/buildroot-2021.05/package/python/0015-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 70049366ddf1fc9084bb02cf4459380976cdf8f7 Mon Sep 17 00:00:00 2001 -From: Christophe Vu-Brugier -Date: Tue, 7 Mar 2017 22:26:09 +0100 -Subject: [PATCH] Do not adjust the shebang of Python scripts for - cross-compilation - -The copy_scripts() method in distutils copies the scripts listed in -the setup file and adjusts the first line to refer to the current -Python interpreter. When cross-compiling, this means that the adjusted -shebang refers to the host Python interpreter. - -This patch modifies copy_scripts() to preserve the shebang when -cross-compilation is detected. - -Signed-off-by: Christophe Vu-Brugier ---- - Lib/distutils/command/build_scripts.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Lib/distutils/command/build_scripts.py b/Lib/distutils/command/build_scripts.py -index 567df65..4922d50 100644 ---- a/Lib/distutils/command/build_scripts.py -+++ b/Lib/distutils/command/build_scripts.py -@@ -89,7 +89,7 @@ class build_scripts (Command): - adjust = 1 - post_interp = match.group(1) or '' - -- if adjust: -+ if adjust and not '_python_sysroot' in os.environ: - log.info("copying and adjusting %s -> %s", script, - self.build_dir) - if not self.dry_run: --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/0016-Add-an-option-to-disable-installation-of-test-module.patch b/buildroot-2021.05/package/python/0016-Add-an-option-to-disable-installation-of-test-module.patch deleted file mode 100644 index 600fc40b..00000000 --- a/buildroot-2021.05/package/python/0016-Add-an-option-to-disable-installation-of-test-module.patch +++ /dev/null @@ -1,105 +0,0 @@ -From 2c1810fb002128a6d33cc3a391a157e316479d15 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:27:16 +0100 -Subject: [PATCH] Add an option to disable installation of test modules - -The Python standard distribution comes with many test modules, that -are not necessarly useful on embedded targets. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[Bernd: rebased against version 2.7.14] -Signed-off-by: Bernd Kuhls -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 50 +++++++++++++++++++++++++++++++++----------------- - configure.ac | 6 ++++++ - 2 files changed, 39 insertions(+), 17 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 37b2ff3a5f..2a5e8adc61 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1048,28 +1048,44 @@ PLATMACDIRS= plat-mac plat-mac/Carbon plat-mac/lib-scriptpackages \ - plat-mac/lib-scriptpackages/SystemEvents \ - plat-mac/lib-scriptpackages/Terminal - PLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages --LIBSUBDIRS= lib-tk lib-tk/test lib-tk/test/test_tkinter \ -- lib-tk/test/test_ttk site-packages test test/audiodata test/capath \ -- test/data test/cjkencodings test/decimaltestdata test/xmltestdata \ -- test/imghdrdata \ -- test/subprocessdata \ -- test/support \ -- test/tracedmodules \ -+LIBSUBDIRS= lib-tk site-packages \ - encodings compiler hotshot \ -- email email/mime email/test email/test/data \ -+ email email/mime \ - ensurepip ensurepip/_bundled \ -- json json/tests \ -- sqlite3 sqlite3/test \ -- logging bsddb bsddb/test csv importlib wsgiref \ -- lib2to3 lib2to3/fixes lib2to3/pgen2 lib2to3/tests \ -- lib2to3/tests/data lib2to3/tests/data/fixers lib2to3/tests/data/fixers/myfixes \ -- ctypes ctypes/test ctypes/macholib \ -- idlelib idlelib/Icons idlelib/idle_test \ -- distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \ -+ json \ -+ sqlite3 \ -+ logging bsddb csv importlib wsgiref \ -+ lib2to3 lib2to3/fixes lib2to3/pgen2 \ -+ ctypes ctypes/macholib \ -+ idlelib idlelib/Icons \ -+ distutils distutils/command $(XMLLIBSUBDIRS) \ - multiprocessing multiprocessing/dummy \ -- unittest unittest/test \ -+ unittest \ - lib-old \ - curses pydoc_data $(MACHDEPS) -+ -+TESTSUBDIRS = lib-tk/test lib-tk/test/test_tkinter \ -+ lib-tk/test/test_ttk test test/audiodata test/capath test/data \ -+ test/cjkencodings test/decimaltestdata test/xmltestdata \ -+ test/imghdrdata \ -+ test/subprocessdata \ -+ test/support \ -+ test/tracedmodules \ -+ email/test email/test/data \ -+ json/tests \ -+ sqlite3/test \ -+ bsddb/test \ -+ lib2to3/tests \ -+ lib2to3/tests/data lib2to3/tests/data/fixers lib2to3/tests/data/fixers/myfixes \ -+ ctypes/test \ -+ idlelib/idle_test \ -+ distutils/tests \ -+ unittest/test -+ -+ifeq (@TEST_MODULES@,yes) -+LIBSUBDIRS += $(TESTSUBDIRS) -+endif -+ - libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index 3f28ef1371..f257a25620 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2835,6 +2835,12 @@ if test "$posix_threads" = "yes"; then - fi - - -+AC_SUBST(TEST_MODULES) -+ -+AC_ARG_ENABLE(test-modules, -+ AS_HELP_STRING([--disable-test-modules], [disable test modules]), -+ [ TEST_MODULES="${enableval}" ], [ TEST_MODULES=yes ]) -+ - # Check for enable-ipv6 - AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified]) - AC_MSG_CHECKING([if --enable-ipv6 is specified]) --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0017-Add-an-option-to-disable-pydoc.patch b/buildroot-2021.05/package/python/0017-Add-an-option-to-disable-pydoc.patch deleted file mode 100644 index 48c1b570..00000000 --- a/buildroot-2021.05/package/python/0017-Add-an-option-to-disable-pydoc.patch +++ /dev/null @@ -1,89 +0,0 @@ -From f98c3f981643411449aba6f93178b2ca14f9a68c Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:27:34 +0100 -Subject: [PATCH] Add an option to disable pydoc - -It removes 0.5 MB of data from the target plus the pydoc script -itself. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 6 +++++- - configure.ac | 5 +++++ - setup.py | 10 +++++++--- - 3 files changed, 17 insertions(+), 4 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 2a5e8adc61..d3ba1aeb4e 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1062,7 +1062,7 @@ LIBSUBDIRS= lib-tk site-packages \ - multiprocessing multiprocessing/dummy \ - unittest \ - lib-old \ -- curses pydoc_data $(MACHDEPS) -+ curses $(MACHDEPS) - - TESTSUBDIRS = lib-tk/test lib-tk/test/test_tkinter \ - lib-tk/test/test_ttk test test/audiodata test/capath test/data \ -@@ -1086,6 +1086,10 @@ ifeq (@TEST_MODULES@,yes) - LIBSUBDIRS += $(TESTSUBDIRS) - endif - -+ifeq (@PYDOC@,yes) -+LIBSUBDIRS += pydoc_data -+endif -+ - libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index f257a25620..2ed4119478 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2834,6 +2834,11 @@ if test "$posix_threads" = "yes"; then - AC_CHECK_FUNCS(pthread_atfork) - fi - -+AC_SUBST(PYDOC) -+ -+AC_ARG_ENABLE(pydoc, -+ AS_HELP_STRING([--disable-pydoc], [disable pydoc]), -+ [ PYDOC="${enableval}" ], [ PYDOC=yes ]) - - AC_SUBST(TEST_MODULES) - -diff --git a/setup.py b/setup.py -index 2ef5b07189..49f810f72e 100644 ---- a/setup.py -+++ b/setup.py -@@ -2277,6 +2277,12 @@ def main(): - # turn off warnings when deprecated modules are imported - import warnings - warnings.filterwarnings("ignore",category=DeprecationWarning) -+ -+ scripts = ['Tools/scripts/idle', 'Tools/scripts/2to3', -+ 'Lib/smtpd.py'] -+ if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): -+ scripts += [ 'Tools/scripts/pydoc' ] -+ - setup(# PyPI Metadata (PEP 301) - name = "Python", - version = sys.version.split()[0], -@@ -2297,9 +2303,7 @@ def main(): - ext_modules=[Extension('_struct', ['_struct.c'])], - - # Scripts to install -- scripts = ['Tools/scripts/pydoc', 'Tools/scripts/idle', -- 'Tools/scripts/2to3', -- 'Lib/smtpd.py'] -+ scripts = scripts, - ) - - # --install-platlib --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0018-Add-an-option-to-disable-lib2to3.patch b/buildroot-2021.05/package/python/0018-Add-an-option-to-disable-lib2to3.patch deleted file mode 100644 index 2c539fac..00000000 --- a/buildroot-2021.05/package/python/0018-Add-an-option-to-disable-lib2to3.patch +++ /dev/null @@ -1,92 +0,0 @@ -From d7f419246681e12f05e2eefc79286959c6aa18ab Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:27:49 +0100 -Subject: [PATCH] Add an option to disable lib2to3 - -lib2to3 is a library to convert Python 2.x code to Python 3.x. As -such, it is probably not very useful on embedded system targets. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 11 ++++++++--- - configure.ac | 6 ++++++ - setup.py | 5 +++-- - 3 files changed, 17 insertions(+), 5 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index d3ba1aeb4e..0e15b6d6f4 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1055,7 +1055,6 @@ LIBSUBDIRS= lib-tk site-packages \ - json \ - sqlite3 \ - logging bsddb csv importlib wsgiref \ -- lib2to3 lib2to3/fixes lib2to3/pgen2 \ - ctypes ctypes/macholib \ - idlelib idlelib/Icons \ - distutils distutils/command $(XMLLIBSUBDIRS) \ -@@ -1075,8 +1074,6 @@ TESTSUBDIRS = lib-tk/test lib-tk/test/test_tkinter \ - json/tests \ - sqlite3/test \ - bsddb/test \ -- lib2to3/tests \ -- lib2to3/tests/data lib2to3/tests/data/fixers lib2to3/tests/data/fixers/myfixes \ - ctypes/test \ - idlelib/idle_test \ - distutils/tests \ -@@ -1090,6 +1087,14 @@ ifeq (@PYDOC@,yes) - LIBSUBDIRS += pydoc_data - endif - -+ifeq (@LIB2TO3@,yes) -+LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2 -+TESTSUBDIRS += lib2to3/tests \ -+ lib2to3/tests/data \ -+ lib2to3/tests/data/fixers \ -+ lib2to3/tests/data/fixers/myfixes -+endif -+ - libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index 2ed4119478..a2810ab8ed 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2846,6 +2846,12 @@ AC_ARG_ENABLE(test-modules, - AS_HELP_STRING([--disable-test-modules], [disable test modules]), - [ TEST_MODULES="${enableval}" ], [ TEST_MODULES=yes ]) - -+AC_SUBST(LIB2TO3) -+ -+AC_ARG_ENABLE(lib2to3, -+ AS_HELP_STRING([--disable-lib2to3], [disable lib2to3]), -+ [ LIB2TO3="${enableval}" ], [ LIB2TO3=yes ]) -+ - # Check for enable-ipv6 - AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified]) - AC_MSG_CHECKING([if --enable-ipv6 is specified]) -diff --git a/setup.py b/setup.py -index 49f810f72e..9130819454 100644 ---- a/setup.py -+++ b/setup.py -@@ -2278,10 +2278,11 @@ def main(): - import warnings - warnings.filterwarnings("ignore",category=DeprecationWarning) - -- scripts = ['Tools/scripts/idle', 'Tools/scripts/2to3', -- 'Lib/smtpd.py'] -+ scripts = ['Tools/scripts/idle', 'Lib/smtpd.py'] - if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): - scripts += [ 'Tools/scripts/pydoc' ] -+ if not '--disable-lib2to3' in sysconfig.get_config_var("CONFIG_ARGS"): -+ scripts += [ 'Tools/scripts/2to3' ] - - setup(# PyPI Metadata (PEP 301) - name = "Python", --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0019-Add-option-to-disable-the-sqlite3-module.patch b/buildroot-2021.05/package/python/0019-Add-option-to-disable-the-sqlite3-module.patch deleted file mode 100644 index 433bb297..00000000 --- a/buildroot-2021.05/package/python/0019-Add-option-to-disable-the-sqlite3-module.patch +++ /dev/null @@ -1,69 +0,0 @@ -From 123ecc50932e3ad3f7a2d90d430b74822c9695d4 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:28:06 +0100 -Subject: [PATCH] Add option to disable the sqlite3 module - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 7 +++++-- - configure.ac | 9 +++++++++ - 2 files changed, 14 insertions(+), 2 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 0e15b6d6f4..a2e5ac6d41 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1053,7 +1053,6 @@ LIBSUBDIRS= lib-tk site-packages \ - email email/mime \ - ensurepip ensurepip/_bundled \ - json \ -- sqlite3 \ - logging bsddb csv importlib wsgiref \ - ctypes ctypes/macholib \ - idlelib idlelib/Icons \ -@@ -1072,7 +1071,6 @@ TESTSUBDIRS = lib-tk/test lib-tk/test/test_tkinter \ - test/tracedmodules \ - email/test email/test/data \ - json/tests \ -- sqlite3/test \ - bsddb/test \ - ctypes/test \ - idlelib/idle_test \ -@@ -1095,6 +1093,11 @@ TESTSUBDIRS += lib2to3/tests \ - lib2to3/tests/data/fixers/myfixes - endif - -+ifeq (@SQLITE3@,yes) -+LIBSUBDIRS += sqlite3 -+TESTSUBDIRS += sqlite3/test -+endif -+ - libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index a2810ab8ed..4ee3c60501 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2834,6 +2834,15 @@ if test "$posix_threads" = "yes"; then - AC_CHECK_FUNCS(pthread_atfork) - fi - -+AC_SUBST(SQLITE3) -+AC_ARG_ENABLE(sqlite3, -+ AS_HELP_STRING([--disable-sqlite3], [disable sqlite3]), -+ [ SQLITE3="${enableval}" ], [ SQLITE3=yes ]) -+ -+if test "$SQLITE3" = "no" ; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" -+fi -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0020-Add-an-option-to-disable-the-tk-module.patch b/buildroot-2021.05/package/python/0020-Add-an-option-to-disable-the-tk-module.patch deleted file mode 100644 index 26ae1799..00000000 --- a/buildroot-2021.05/package/python/0020-Add-an-option-to-disable-the-tk-module.patch +++ /dev/null @@ -1,73 +0,0 @@ -From f0dc1198360c6875ed846a961e85dc41e239aa29 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:28:57 +0100 -Subject: [PATCH] Add an option to disable the tk module - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 11 ++++++++--- - configure.ac | 9 +++++++++ - 2 files changed, 17 insertions(+), 3 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index a2e5ac6d41..37ed70ab1d 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1048,7 +1048,7 @@ PLATMACDIRS= plat-mac plat-mac/Carbon plat-mac/lib-scriptpackages \ - plat-mac/lib-scriptpackages/SystemEvents \ - plat-mac/lib-scriptpackages/Terminal - PLATMACPATH=:plat-mac:plat-mac/lib-scriptpackages --LIBSUBDIRS= lib-tk site-packages \ -+LIBSUBDIRS= site-packages \ - encodings compiler hotshot \ - email email/mime \ - ensurepip ensurepip/_bundled \ -@@ -1062,8 +1062,7 @@ LIBSUBDIRS= lib-tk site-packages \ - lib-old \ - curses $(MACHDEPS) - --TESTSUBDIRS = lib-tk/test lib-tk/test/test_tkinter \ -- lib-tk/test/test_ttk test test/audiodata test/capath test/data \ -+TESTSUBDIRS = test test/audiodata test/capath test/data \ - test/cjkencodings test/decimaltestdata test/xmltestdata \ - test/imghdrdata \ - test/subprocessdata \ -@@ -1098,6 +1097,12 @@ LIBSUBDIRS += sqlite3 - TESTSUBDIRS += sqlite3/test - endif - -+ifeq (@TK@,yes) -+LIBSUBDIRS += lib-tk -+TESTSUBDIRS += lib-tk/test lib-tk/test/test_tkinter \ -+ lib-tk/test/test_ttk -+endif -+ - libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index 4ee3c60501..2c20f826c5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2843,6 +2843,15 @@ if test "$SQLITE3" = "no" ; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" - fi - -+AC_SUBST(TK) -+AC_ARG_ENABLE(tk, -+ AS_HELP_STRING([--disable-tk], [disable tk]), -+ [ TK="${enableval}" ], [ TK=yes ]) -+ -+if test "$TK" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _tkinter" -+fi -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0021-Add-an-option-to-disable-the-curses-module.patch b/buildroot-2021.05/package/python/0021-Add-an-option-to-disable-the-curses-module.patch deleted file mode 100644 index 3b1ab7fb..00000000 --- a/buildroot-2021.05/package/python/0021-Add-an-option-to-disable-the-curses-module.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 3e51eef24c51b986c37b354f3de98218eb76909c Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:29:06 +0100 -Subject: [PATCH] Add an option to disable the curses module - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 6 +++++- - configure.ac | 9 +++++++++ - 2 files changed, 14 insertions(+), 1 deletion(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 37ed70ab1d..458f4ad55b 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1060,7 +1060,7 @@ LIBSUBDIRS= site-packages \ - multiprocessing multiprocessing/dummy \ - unittest \ - lib-old \ -- curses $(MACHDEPS) -+ $(MACHDEPS) - - TESTSUBDIRS = test test/audiodata test/capath test/data \ - test/cjkencodings test/decimaltestdata test/xmltestdata \ -@@ -1103,6 +1103,10 @@ TESTSUBDIRS += lib-tk/test lib-tk/test/test_tkinter \ - lib-tk/test/test_ttk - endif - -+ifeq (@CURSES@,yes) -+LIBSUBDIRS += curses -+endif -+ - libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index 2c20f826c5..a7ebcd091e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2852,6 +2852,15 @@ if test "$TK" = "no"; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _tkinter" - fi - -+AC_SUBST(CURSES) -+AC_ARG_ENABLE(curses, -+ AS_HELP_STRING([--disable-curses], [disable curses]), -+ [ CURSES="${enableval}" ], [ CURSES=yes ]) -+ -+if test "$CURSES" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" -+fi -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0022-Add-an-option-to-disable-expat.patch b/buildroot-2021.05/package/python/0022-Add-an-option-to-disable-expat.patch deleted file mode 100644 index 2ebe7eab..00000000 --- a/buildroot-2021.05/package/python/0022-Add-an-option-to-disable-expat.patch +++ /dev/null @@ -1,92 +0,0 @@ -From 548413a659cc5320560d6b794fe8edd06dd1d22e Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:29:20 +0100 -Subject: [PATCH] Add an option to disable expat - -This patch replaces the existing --with-system-expat option with a ---with-expat={system,builtin,none} option, which allows to tell Python -whether we want to use the system expat (already installed), the expat -builtin the Python sources, or no expat at all (which disables the -installation of XML modules). - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 6 +++++- - configure.ac | 18 +++++++++++++----- - setup.py | 2 +- - 3 files changed, 19 insertions(+), 7 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 458f4ad55b..8dee345539 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1056,7 +1056,7 @@ LIBSUBDIRS= site-packages \ - logging bsddb csv importlib wsgiref \ - ctypes ctypes/macholib \ - idlelib idlelib/Icons \ -- distutils distutils/command $(XMLLIBSUBDIRS) \ -+ distutils distutils/command \ - multiprocessing multiprocessing/dummy \ - unittest \ - lib-old \ -@@ -1107,6 +1107,10 @@ ifeq (@CURSES@,yes) - LIBSUBDIRS += curses - endif - -+ifeq (@EXPAT@,yes) -+LIBSUBDIRS += $(XMLLIBSUBDIRS) -+endif -+ - libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index a7ebcd091e..2f5759a890 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2499,13 +2499,21 @@ PKG_PROG_PKG_CONFIG - AC_SUBST(DISABLED_EXTENSIONS) - - # Check for use of the system expat library --AC_MSG_CHECKING(for --with-system-expat) --AC_ARG_WITH(system_expat, -- AS_HELP_STRING([--with-system-expat], [build pyexpat module using an installed expat library]), -+AC_MSG_CHECKING(for --with-expat) -+AC_ARG_WITH(expat, -+ AS_HELP_STRING([--with-expat], [select which expat version to use: system, builtin, none]), - [], -- [with_system_expat="no"]) -+ [with_expat="builtin"]) - --AC_MSG_RESULT($with_system_expat) -+AC_MSG_RESULT($with_expat) -+ -+if test "$with_expat" != "none"; then -+ EXPAT=yes -+else -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} pyexpat" -+ EXPAT=no -+fi -+AC_SUBST(EXPAT) - - # Check for use of the system libffi library - AC_MSG_CHECKING(for --with-system-ffi) -diff --git a/setup.py b/setup.py -index 9130819454..f439cbadc2 100644 ---- a/setup.py -+++ b/setup.py -@@ -1475,7 +1475,7 @@ class PyBuildExt(build_ext): - # - # More information on Expat can be found at www.libexpat.org. - # -- if '--with-system-expat' in sysconfig.get_config_var("CONFIG_ARGS"): -+ if '--with-expat=system' in sysconfig.get_config_var("CONFIG_ARGS"): - expat_inc = [] - define_macros = [] - expat_lib = ['expat'] --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0023-Add-an-option-to-disable-CJK-codecs.patch b/buildroot-2021.05/package/python/0023-Add-an-option-to-disable-CJK-codecs.patch deleted file mode 100644 index 3ee77fec..00000000 --- a/buildroot-2021.05/package/python/0023-Add-an-option-to-disable-CJK-codecs.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 6761066addfb6028e183d7fe4322b283af18117f Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:29:31 +0100 -Subject: [PATCH] Add an option to disable CJK codecs - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 2f5759a890..862c8ae516 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2851,6 +2851,12 @@ if test "$SQLITE3" = "no" ; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" - fi - -+AC_ARG_ENABLE(codecs-cjk, -+ AS_HELP_STRING([--disable-codecs-cjk], [disable CJK codecs]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0024-Add-an-option-to-disable-NIS.patch b/buildroot-2021.05/package/python/0024-Add-an-option-to-disable-NIS.patch deleted file mode 100644 index bad4ba68..00000000 --- a/buildroot-2021.05/package/python/0024-Add-an-option-to-disable-NIS.patch +++ /dev/null @@ -1,35 +0,0 @@ -From ecd8e926bd364d866f492df87d7c46d029445480 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:29:41 +0100 -Subject: [PATCH] Add an option to disable NIS - -NIS is not necessarily available in uClibc, so we need an option to -not compile support for it. - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 862c8ae516..354212fb16 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2857,6 +2857,12 @@ AC_ARG_ENABLE(codecs-cjk, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk" - fi]) - -+AC_ARG_ENABLE(nis, -+ AS_HELP_STRING([--disable-nis], [disable NIS]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0025-Add-an-option-to-disable-unicodedata.patch b/buildroot-2021.05/package/python/0025-Add-an-option-to-disable-unicodedata.patch deleted file mode 100644 index 687ea502..00000000 --- a/buildroot-2021.05/package/python/0025-Add-an-option-to-disable-unicodedata.patch +++ /dev/null @@ -1,32 +0,0 @@ -From dc99b7a0331fe75d70ccb87dc0877ac5bbba51ca Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:29:52 +0100 -Subject: [PATCH] Add an option to disable unicodedata - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 354212fb16..4e430d82b8 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2863,6 +2863,12 @@ AC_ARG_ENABLE(nis, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" - fi]) - -+AC_ARG_ENABLE(unicodedata, -+ AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0026-Add-an-option-to-disable-bsddb.patch b/buildroot-2021.05/package/python/0026-Add-an-option-to-disable-bsddb.patch deleted file mode 100644 index f216e8bb..00000000 --- a/buildroot-2021.05/package/python/0026-Add-an-option-to-disable-bsddb.patch +++ /dev/null @@ -1,87 +0,0 @@ -From a4bbbf0c5f1f68298d5f4e2c2cd80de7e758763c Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:30:06 +0100 -Subject: [PATCH] Add an option to disable bsddb - -bsddb has an external dependency on Berkeley DB. Since we want to be -able to build Python without it, this patch adds an option to disable -the build/installation of this Python module. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 8 ++++++-- - configure.ac | 22 ++++++++++++++++++++++ - 2 files changed, 28 insertions(+), 2 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 8dee345539..a0473096c1 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1053,7 +1053,7 @@ LIBSUBDIRS= site-packages \ - email email/mime \ - ensurepip ensurepip/_bundled \ - json \ -- logging bsddb csv importlib wsgiref \ -+ logging csv importlib wsgiref \ - ctypes ctypes/macholib \ - idlelib idlelib/Icons \ - distutils distutils/command \ -@@ -1070,7 +1070,6 @@ TESTSUBDIRS = test test/audiodata test/capath test/data \ - test/tracedmodules \ - email/test email/test/data \ - json/tests \ -- bsddb/test \ - ctypes/test \ - idlelib/idle_test \ - distutils/tests \ -@@ -1111,6 +1110,11 @@ ifeq (@EXPAT@,yes) - LIBSUBDIRS += $(XMLLIBSUBDIRS) - endif - -+ifeq (@BSDDB@,yes) -+LIBSUBDIRS += bsddb -+TESTSUBDIRS += bsddb/test -+endif -+ - libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index 4e430d82b8..361e8c120e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2863,6 +2863,28 @@ AC_ARG_ENABLE(nis, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" - fi]) - -+AC_ARG_ENABLE(dbm, -+ AS_HELP_STRING([--disable-dbm], [disable DBM]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} dbm" -+ fi]) -+ -+AC_ARG_ENABLE(gdbm, -+ AS_HELP_STRING([--disable-gdbm], [disable GDBM]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} gdbm" -+ fi]) -+ -+AC_SUBST(BSDDB) -+AC_ARG_ENABLE(bsddb, -+ AS_HELP_STRING([--disable-bsddb], [disable BerkeyleyDB]), -+ [ if test "$enableval" = "no"; then -+ BSDDB=no -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _bsddb" -+ else -+ BSDDB=yes -+ fi], [ BSDDB=yes ]) -+ - AC_ARG_ENABLE(unicodedata, - AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]), - [ if test "$enableval" = "no"; then --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0027-Add-an-option-to-disable-the-ssl-module.patch b/buildroot-2021.05/package/python/0027-Add-an-option-to-disable-the-ssl-module.patch deleted file mode 100644 index d62408e4..00000000 --- a/buildroot-2021.05/package/python/0027-Add-an-option-to-disable-the-ssl-module.patch +++ /dev/null @@ -1,32 +0,0 @@ -From a0e56b96c3bfb04a5c8ecc0987cdd294d8ce116b Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:30:22 +0100 -Subject: [PATCH] Add an option to disable the ssl module - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 361e8c120e..8fe47d8c37 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2863,6 +2863,12 @@ AC_ARG_ENABLE(nis, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" - fi]) - -+AC_ARG_ENABLE(ssl, -+ AS_HELP_STRING([--disable-ssl], [disable SSL]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _ssl" -+ fi]) -+ - AC_ARG_ENABLE(dbm, - AS_HELP_STRING([--disable-dbm], [disable DBM]), - [ if test "$enableval" = "no"; then --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0028-Add-an-option-to-disable-the-bz2-module.patch b/buildroot-2021.05/package/python/0028-Add-an-option-to-disable-the-bz2-module.patch deleted file mode 100644 index 5b89e8ef..00000000 --- a/buildroot-2021.05/package/python/0028-Add-an-option-to-disable-the-bz2-module.patch +++ /dev/null @@ -1,32 +0,0 @@ -From d1236c6f4d8d893709fa36f751af47b8ad9055c1 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:30:33 +0100 -Subject: [PATCH] Add an option to disable the bz2 module - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 8fe47d8c37..85df7b1478 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2869,6 +2869,12 @@ AC_ARG_ENABLE(ssl, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _ssl" - fi]) - -+AC_ARG_ENABLE(bz2, -+ AS_HELP_STRING([--disable-bz2], [disable BZIP2]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2" -+ fi]) -+ - AC_ARG_ENABLE(dbm, - AS_HELP_STRING([--disable-dbm], [disable DBM]), - [ if test "$enableval" = "no"; then --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0029-Add-an-option-to-disable-the-zlib-module.patch b/buildroot-2021.05/package/python/0029-Add-an-option-to-disable-the-zlib-module.patch deleted file mode 100644 index 95da586e..00000000 --- a/buildroot-2021.05/package/python/0029-Add-an-option-to-disable-the-zlib-module.patch +++ /dev/null @@ -1,32 +0,0 @@ -From a9c7314e069036f74b503dfaef261e5f45477b7e Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:30:45 +0100 -Subject: [PATCH] Add an option to disable the zlib module - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 85df7b1478..3848b16b9f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2875,6 +2875,12 @@ AC_ARG_ENABLE(bz2, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} bz2" - fi]) - -+AC_ARG_ENABLE(zlib, -+ AS_HELP_STRING([--disable-zlib], [disable ZLIB]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib" -+ fi]) -+ - AC_ARG_ENABLE(dbm, - AS_HELP_STRING([--disable-dbm], [disable DBM]), - [ if test "$enableval" = "no"; then --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0030-Do-not-install-the-idle-editor.patch b/buildroot-2021.05/package/python/0030-Do-not-install-the-idle-editor.patch deleted file mode 100644 index e101e6a1..00000000 --- a/buildroot-2021.05/package/python/0030-Do-not-install-the-idle-editor.patch +++ /dev/null @@ -1,55 +0,0 @@ -From e789487c783f75c17a8951bd5324c86ceefde407 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:30:56 +0100 -Subject: [PATCH] Do not install the idle editor - -IDLE is the Python IDE built with the tkinter GUI toolkit. Since it's -highly unlikely to ever be useful in an embedded Linux system -generated by Buildroot, this patch simply disables the installation of -idle and the related Python modules. It saves 800 KB-900 KB of -installed .pyc files. - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - Makefile.pre.in | 2 -- - setup.py | 2 +- - 2 files changed, 1 insertion(+), 3 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index a0473096c1..750057fb96 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1055,7 +1055,6 @@ LIBSUBDIRS= site-packages \ - json \ - logging csv importlib wsgiref \ - ctypes ctypes/macholib \ -- idlelib idlelib/Icons \ - distutils distutils/command \ - multiprocessing multiprocessing/dummy \ - unittest \ -@@ -1071,7 +1070,6 @@ TESTSUBDIRS = test test/audiodata test/capath test/data \ - email/test email/test/data \ - json/tests \ - ctypes/test \ -- idlelib/idle_test \ - distutils/tests \ - unittest/test - -diff --git a/setup.py b/setup.py -index f439cbadc2..227187681e 100644 ---- a/setup.py -+++ b/setup.py -@@ -2278,7 +2278,7 @@ def main(): - import warnings - warnings.filterwarnings("ignore",category=DeprecationWarning) - -- scripts = ['Tools/scripts/idle', 'Lib/smtpd.py'] -+ scripts = ['Lib/smtpd.py'] - if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): - scripts += [ 'Tools/scripts/pydoc' ] - if not '--disable-lib2to3' in sysconfig.get_config_var("CONFIG_ARGS"): --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0031-Add-an-option-to-disable-the-ossaudiodev-module.patch b/buildroot-2021.05/package/python/0031-Add-an-option-to-disable-the-ossaudiodev-module.patch deleted file mode 100644 index 9768faf6..00000000 --- a/buildroot-2021.05/package/python/0031-Add-an-option-to-disable-the-ossaudiodev-module.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 4ab280b8a7626de2565cf4ef6cf08a5c7326574b Mon Sep 17 00:00:00 2001 -From: Zoltan Gyarmati -Date: Tue, 7 Mar 2017 22:31:22 +0100 -Subject: [PATCH] Add an option to disable the ossaudiodev module - -Signed-off-by: Zoltan Gyarmati -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 3848b16b9f..6d19cdee95 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2927,6 +2927,12 @@ if test "$CURSES" = "no"; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" - fi - -+AC_ARG_ENABLE(ossaudiodev, -+ AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev" -+ fi]) -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0032-Add-option-to-disable-the-hashlib-module.patch b/buildroot-2021.05/package/python/0032-Add-option-to-disable-the-hashlib-module.patch deleted file mode 100644 index 82ef3a13..00000000 --- a/buildroot-2021.05/package/python/0032-Add-option-to-disable-the-hashlib-module.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 479bef8182c4f6b678a86820ccc06760ca60c286 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:33:02 +0100 -Subject: [PATCH] Add option to disable the hashlib module - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 6d19cdee95..ddccc79c2c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2869,6 +2869,12 @@ AC_ARG_ENABLE(ssl, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _ssl" - fi]) - -+AC_ARG_ENABLE(hashlib, -+ AS_HELP_STRING([--disable-hashlib], [disable hashlib]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _hashlib" -+ fi]) -+ - AC_ARG_ENABLE(bz2, - AS_HELP_STRING([--disable-bz2], [disable BZIP2]), - [ if test "$enableval" = "no"; then --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0033-Add-an-option-to-disable-readline-module.patch b/buildroot-2021.05/package/python/0033-Add-an-option-to-disable-readline-module.patch deleted file mode 100644 index 02b13151..00000000 --- a/buildroot-2021.05/package/python/0033-Add-an-option-to-disable-readline-module.patch +++ /dev/null @@ -1,32 +0,0 @@ -From abea92958b073dfbf0c78bcb31ce9cfc709c20ca Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 22:33:55 +0100 -Subject: [PATCH] Add an option to disable readline module - -Signed-off-by: Thomas Petazzoni -[Peter: update for 2.7.16] -Signed-off-by: Peter Korsgaard ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index ddccc79c2c..dae266326e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2875,6 +2875,12 @@ AC_ARG_ENABLE(hashlib, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _hashlib" - fi]) - -+AC_ARG_ENABLE(readline, -+ AS_HELP_STRING([--disable-readline], [disable readline]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline" -+ fi]) -+ - AC_ARG_ENABLE(bz2, - AS_HELP_STRING([--disable-bz2], [disable BZIP2]), - [ if test "$enableval" = "no"; then --- -2.11.0 - diff --git a/buildroot-2021.05/package/python/0034-Override-system-locale-and-set-to-default-when-addin.patch b/buildroot-2021.05/package/python/0034-Override-system-locale-and-set-to-default-when-addin.patch deleted file mode 100644 index 8fe722bc..00000000 --- a/buildroot-2021.05/package/python/0034-Override-system-locale-and-set-to-default-when-addin.patch +++ /dev/null @@ -1,37 +0,0 @@ -From d2bfa8805206db8c57c182094396d20a9d94bd8f Mon Sep 17 00:00:00 2001 -From: Samuel Cabrero -Date: Sat, 1 Apr 2017 09:31:52 +0200 -Subject: [PATCH] Override system locale and set to default when adding gcc - paths - -Forces the use of the default locale in the function -add_gcc_paths, which is called when cross compiling to add the -include and library paths. This is necessary because otherwise -the gcc output is localized and the output parsing fails, which -results in no paths added and detect_modules not able to find -any system library (eg. libz, libssl, etc.) - -[Thomas: patch taken from https://bugs.python.org/issue23767.] - -Signed-off-by: Samuel Cabrero -Signed-off-by: Thomas Petazzoni ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 8045a9b..c14f4ab 100644 ---- a/setup.py -+++ b/setup.py -@@ -430,7 +430,7 @@ class PyBuildExt(build_ext): - tmpfile = os.path.join(self.build_temp, 'gccpaths') - if not os.path.exists(self.build_temp): - os.makedirs(self.build_temp) -- ret = os.system('%s -E -v - %s 1>/dev/null' % (gcc, tmpfile)) -+ ret = os.system('LC_ALL=C %s -E -v - %s 1>/dev/null' % (gcc, tmpfile)) - is_gcc = False - in_incdirs = False - inc_dirs = [] --- -2.7.4 - diff --git a/buildroot-2021.05/package/python/Config.in b/buildroot-2021.05/package/python/Config.in deleted file mode 100644 index ab6950ca..00000000 --- a/buildroot-2021.05/package/python/Config.in +++ /dev/null @@ -1,139 +0,0 @@ -comment "python needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -config BR2_PACKAGE_PYTHON - bool "python2.7 (deprecated)" - depends on BR2_USE_WCHAR - # uses fork() - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_THREADS # libffi - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LIBFFI - help - The python language interpreter. - - http://www.python.org/ - -if BR2_PACKAGE_PYTHON - -choice - prompt "python module format to install" - default BR2_PACKAGE_PYTHON_PYC_ONLY - help - Select Python module format to install on target (py, pyc or - both) - -config BR2_PACKAGE_PYTHON_PY_ONLY - bool ".py sources only" - -config BR2_PACKAGE_PYTHON_PYC_ONLY - bool ".pyc compiled sources only" - -config BR2_PACKAGE_PYTHON_PY_PYC - bool ".py sources and .pyc compiled" - -endchoice - -menu "core python modules" - -comment "The following modules are unusual or require extra libraries" - -config BR2_PACKAGE_PYTHON_2TO3 - bool "2to3 module" - help - code translation from python 2 to 3 - -config BR2_PACKAGE_PYTHON_BZIP2 - bool "bzip2 module" - select BR2_PACKAGE_BZIP2 - help - bzip2 module for Python - -config BR2_PACKAGE_PYTHON_BSDDB - bool "bsddb module" - select BR2_PACKAGE_BERKELEYDB - help - bsddb module for Python. - -config BR2_PACKAGE_PYTHON_CODECSCJK - bool "codecscjk module" - help - Chinese/Japanese/Korean codecs module for Python (large). - -config BR2_PACKAGE_PYTHON_CURSES - bool "curses module" - select BR2_PACKAGE_NCURSES - help - curses module for Python. - -config BR2_PACKAGE_PYTHON_OSSAUDIODEV - bool "ossaudiodev module" - help - ossaudiodev module for Python. - -config BR2_PACKAGE_PYTHON_READLINE - bool "readline" - select BR2_PACKAGE_READLINE - help - readline module for Python (required for command-line - editing in the Python shell). - -config BR2_PACKAGE_PYTHON_SSL - bool "ssl" - select BR2_PACKAGE_OPENSSL - help - _ssl module for Python (required for https in urllib etc). - -config BR2_PACKAGE_PYTHON_UNICODEDATA - bool "unicodedata module" - default y - help - Unicode character database (used by stringprep module) - (large). - -if BR2_PACKAGE_PYTHON_UNICODEDATA - -choice - prompt "Python unicode database format" - default BR2_PACKAGE_PYTHON_UCS2 - help - Select Python unicode database format for target - -config BR2_PACKAGE_PYTHON_UCS2 - bool "Universal Character Set 2-byte (UCS2)" - -config BR2_PACKAGE_PYTHON_UCS4 - bool "Universal Character Set 4-byte (UCS4)" - -endchoice - -endif - -config BR2_PACKAGE_PYTHON_SQLITE - bool "sqlite module" - select BR2_PACKAGE_SQLITE - help - SQLite database support - -config BR2_PACKAGE_PYTHON_PYEXPAT - bool "xml module" - select BR2_PACKAGE_EXPAT - help - pyexpat and xml libraries for Python - -config BR2_PACKAGE_PYTHON_ZLIB - bool "zlib module" - select BR2_PACKAGE_ZLIB - help - zlib support in Python - -config BR2_PACKAGE_PYTHON_HASHLIB - bool "hashlib module" - select BR2_PACKAGE_OPENSSL - help - hashlib support in Python - -endmenu - -endif diff --git a/buildroot-2021.05/package/python/Config.in.host b/buildroot-2021.05/package/python/Config.in.host deleted file mode 100644 index 724e5e22..00000000 --- a/buildroot-2021.05/package/python/Config.in.host +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_HOST_PYTHON - bool "host python" - help - The python language interpreter. Host package. - - http://www.python.org/ - -if BR2_PACKAGE_HOST_PYTHON - -config BR2_PACKAGE_HOST_PYTHON_SSL - bool "ssl" - select BR2_PACKAGE_HOST_OPENSSL - help - _ssl module for host Python. - -endif diff --git a/buildroot-2021.05/package/python/python.hash b/buildroot-2021.05/package/python/python.hash deleted file mode 100644 index f5e51d96..00000000 --- a/buildroot-2021.05/package/python/python.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.python.org/downloads/release/python-2718/ -md5 fd6cc8ec0a78c44036f825e739f36e5a Python-2.7.18.tar.xz -# Locally calculated -sha256 b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43 Python-2.7.18.tar.xz -sha256 de4d1f2d2ad5ad0cfd1657a106476b31cb5db5ef9d1ff842b237c0c81f0c8a23 LICENSE diff --git a/buildroot-2021.05/package/python/python.mk b/buildroot-2021.05/package/python/python.mk deleted file mode 100644 index f4f9f856..00000000 --- a/buildroot-2021.05/package/python/python.mk +++ /dev/null @@ -1,301 +0,0 @@ -################################################################################ -# -# python -# -################################################################################ - -PYTHON_VERSION_MAJOR = 2.7 -PYTHON_VERSION = $(PYTHON_VERSION_MAJOR).18 -PYTHON_SOURCE = Python-$(PYTHON_VERSION).tar.xz -PYTHON_SITE = https://python.org/ftp/python/$(PYTHON_VERSION) -PYTHON_LICENSE = Python-2.0, others -PYTHON_LICENSE_FILES = LICENSE -PYTHON_CPE_ID_VENDOR = python -PYTHON_LIBTOOL_PATCH = NO - -# Python needs itself to be built, so in order to cross-compile -# Python, we need to build a host Python first. This host Python is -# also installed in $(HOST_DIR), as it is needed when cross-compiling -# third-party Python modules. - -HOST_PYTHON_CONF_OPTS += \ - --enable-static \ - --without-cxx-main \ - --disable-sqlite3 \ - --disable-tk \ - --with-expat=system \ - --disable-curses \ - --disable-codecs-cjk \ - --disable-nis \ - --enable-unicodedata \ - --disable-dbm \ - --disable-gdbm \ - --disable-bsddb \ - --disable-test-modules \ - --disable-bz2 \ - --disable-ossaudiodev \ - --disable-pyo-build - -# Make sure that LD_LIBRARY_PATH overrides -rpath. -# This is needed because libpython may be installed at the same time that -# python is called. -# Make python believe we don't have 'hg' and 'svn', so that it doesn't -# try to communicate over the network during the build. -HOST_PYTHON_CONF_ENV += \ - LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" \ - ac_cv_prog_HAS_HG=/bin/false \ - ac_cv_prog_SVNVERSION=/bin/false - -# Building host python in parallel sometimes triggers a "Bus error" -# during the execution of "./python setup.py build" in the -# installation step. It is probably due to the installation of a -# shared library taking place in parallel to the execution of -# ./python, causing spurious Bus error. Building host-python with -# MAKE1 has shown to workaround the problem. -HOST_PYTHON_MAKE = $(MAKE1) - -PYTHON_DEPENDENCIES = host-python libffi $(TARGET_NLS_DEPENDENCIES) - -HOST_PYTHON_DEPENDENCIES = host-expat host-zlib - -ifeq ($(BR2_PACKAGE_HOST_PYTHON_SSL),y) -HOST_PYTHON_DEPENDENCIES += host-openssl -else -HOST_PYTHON_CONF_OPTS += --disable-ssl -endif - -PYTHON_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_PYTHON_READLINE),y) -PYTHON_DEPENDENCIES += readline -else -PYTHON_CONF_OPTS += --disable-readline -endif - -ifeq ($(BR2_PACKAGE_PYTHON_CURSES),y) -PYTHON_DEPENDENCIES += ncurses -else -PYTHON_CONF_OPTS += --disable-curses -endif - -ifeq ($(BR2_PACKAGE_PYTHON_PYEXPAT),y) -PYTHON_DEPENDENCIES += expat -PYTHON_CONF_OPTS += --with-expat=system -else -PYTHON_CONF_OPTS += --with-expat=none -endif - -ifeq ($(BR2_PACKAGE_PYTHON_BSDDB),y) -PYTHON_DEPENDENCIES += berkeleydb -else -PYTHON_CONF_OPTS += --disable-bsddb -endif - -ifeq ($(BR2_PACKAGE_PYTHON_SQLITE),y) -PYTHON_DEPENDENCIES += sqlite -else -PYTHON_CONF_OPTS += --disable-sqlite3 -endif - -ifeq ($(BR2_PACKAGE_PYTHON_SSL),y) -PYTHON_DEPENDENCIES += openssl -else -PYTHON_CONF_OPTS += --disable-ssl -endif - -ifneq ($(BR2_PACKAGE_PYTHON_CODECSCJK),y) -PYTHON_CONF_OPTS += --disable-codecs-cjk -endif - -ifneq ($(BR2_PACKAGE_PYTHON_UNICODEDATA),y) -PYTHON_CONF_OPTS += --disable-unicodedata -endif - -# Default is UCS2 w/o a conf opt -ifeq ($(BR2_PACKAGE_PYTHON_UCS4),y) -# host-python must have the same UCS2/4 configuration as the target -# python -HOST_PYTHON_CONF_OPTS += --enable-unicode=ucs4 -PYTHON_CONF_OPTS += --enable-unicode=ucs4 -endif - -ifeq ($(BR2_PACKAGE_PYTHON_2TO3),y) -PYTHON_CONF_OPTS += --enable-lib2to3 -else -PYTHON_CONF_OPTS += --disable-lib2to3 -endif - -ifeq ($(BR2_PACKAGE_PYTHON_BZIP2),y) -PYTHON_DEPENDENCIES += bzip2 -else -PYTHON_CONF_OPTS += --disable-bz2 -endif - -ifeq ($(BR2_PACKAGE_PYTHON_ZLIB),y) -PYTHON_DEPENDENCIES += zlib -else -PYTHON_CONF_OPTS += --disable-zlib -endif - -ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y) -PYTHON_DEPENDENCIES += openssl -else -PYTHON_CONF_OPTS += --disable-hashlib -endif - -ifeq ($(BR2_PACKAGE_PYTHON_OSSAUDIODEV),y) -PYTHON_CONF_OPTS += --enable-ossaudiodev -else -PYTHON_CONF_OPTS += --disable-ossaudiodev -endif - -# Make python believe we don't have 'hg' and 'svn', so that it doesn't -# try to communicate over the network during the build. -PYTHON_CONF_ENV += \ - ac_cv_have_long_long_format=yes \ - ac_cv_file__dev_ptmx=yes \ - ac_cv_file__dev_ptc=yes \ - ac_cv_working_tzset=yes \ - ac_cv_prog_HAS_HG=/bin/false \ - ac_cv_prog_SVNVERSION=/bin/false - -# GCC is always compliant with IEEE754 -ifeq ($(BR2_ENDIAN),"LITTLE") -PYTHON_CONF_ENV += ac_cv_little_endian_double=yes -else -PYTHON_CONF_ENV += ac_cv_big_endian_double=yes -endif - -PYTHON_CONF_OPTS += \ - --without-cxx-main \ - --without-doc-strings \ - --with-system-ffi \ - --disable-pydoc \ - --disable-test-modules \ - --disable-gdbm \ - --disable-tk \ - --disable-nis \ - --disable-dbm \ - --disable-pyo-build \ - --disable-pyc-build - -# This is needed to make sure the Python build process doesn't try to -# regenerate those files with the pgen program. Otherwise, it builds -# pgen for the target, and tries to run it on the host. - -define PYTHON_TOUCH_GRAMMAR_FILES - touch $(@D)/Include/graminit.h $(@D)/Python/graminit.c -endef - -PYTHON_POST_PATCH_HOOKS += PYTHON_TOUCH_GRAMMAR_FILES - -# -# Remove useless files. In the config/ directory, only the Makefile -# and the pyconfig.h files are needed at runtime. -# -# idle & smtpd.py have bad shebangs and are mostly samples -# -define PYTHON_REMOVE_USELESS_FILES - rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON_VERSION_MAJOR)-config - rm -f $(TARGET_DIR)/usr/bin/python2-config - rm -f $(TARGET_DIR)/usr/bin/python-config - rm -f $(TARGET_DIR)/usr/bin/smtpd.py - rm -f $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/distutils/command/wininst*.exe - for i in `find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/config/ \ - -type f -not -name pyconfig.h -a -not -name Makefile` ; do \ - rm -f $$i ; \ - done -endef - -PYTHON_POST_INSTALL_TARGET_HOOKS += PYTHON_REMOVE_USELESS_FILES - -# -# Make sure libpython gets stripped out on target -# -define PYTHON_ENSURE_LIBPYTHON_STRIPPED - chmod u+w $(TARGET_DIR)/usr/lib/libpython$(PYTHON_VERSION_MAJOR)*.so -endef - -PYTHON_POST_INSTALL_TARGET_HOOKS += PYTHON_ENSURE_LIBPYTHON_STRIPPED - -# Always install the python symlink in the target tree -define PYTHON_INSTALL_TARGET_PYTHON_SYMLINK - ln -sf python2 $(TARGET_DIR)/usr/bin/python -endef - -PYTHON_POST_INSTALL_TARGET_HOOKS += PYTHON_INSTALL_TARGET_PYTHON_SYMLINK - -# Always install the python-config symlink in the staging tree -define PYTHON_INSTALL_STAGING_PYTHON_CONFIG_SYMLINK - ln -sf python2-config $(STAGING_DIR)/usr/bin/python-config -endef - -PYTHON_POST_INSTALL_STAGING_HOOKS += PYTHON_INSTALL_STAGING_PYTHON_CONFIG_SYMLINK - -PYTHON_AUTORECONF = YES - -# Some packages may have build scripts requiring python2. -# Only install the python symlink in the host tree if python3 is not enabled -# for the target, otherwise the default python program may be missing. -ifneq ($(BR2_PACKAGE_PYTHON3),y) -define HOST_PYTHON_INSTALL_PYTHON_SYMLINK - ln -sf python2 $(HOST_DIR)/bin/python - ln -sf python2-config $(HOST_DIR)/bin/python-config -endef - -HOST_PYTHON_POST_INSTALL_HOOKS += HOST_PYTHON_INSTALL_PYTHON_SYMLINK -endif - -# Provided to other packages -PYTHON_PATH = $(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/sysconfigdata/ - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) - -ifeq ($(BR2_REPRODUCIBLE),y) -define PYTHON_FIX_TIME - find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR) -name '*.py' -print0 | \ - xargs -0 --no-run-if-empty touch -d @$(SOURCE_DATE_EPOCH) -endef -endif - -define PYTHON_CREATE_PYC_FILES - $(PYTHON_FIX_TIME) - PYTHONPATH="$(PYTHON_PATH)" \ - $(HOST_DIR)/bin/python$(PYTHON_VERSION_MAJOR) \ - $(TOPDIR)/support/scripts/pycompile.py \ - $(if $(VERBOSE),--verbose) \ - --strip-root $(TARGET_DIR) \ - $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR) -endef - -ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY)$(BR2_PACKAGE_PYTHON_PY_PYC),y) -PYTHON_TARGET_FINALIZE_HOOKS += PYTHON_CREATE_PYC_FILES -endif - -ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY),y) -define PYTHON_REMOVE_PY_FILES - find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR) -name '*.py' \ - $(if $(strip $(KEEP_PYTHON_PY_FILES)),-not \( $(call finddirclauses,$(TARGET_DIR),$(KEEP_PYTHON_PY_FILES)) \) ) \ - -print0 | \ - xargs -0 --no-run-if-empty rm -f -endef -PYTHON_TARGET_FINALIZE_HOOKS += PYTHON_REMOVE_PY_FILES -endif - -# Normally, *.pyc files should not have been compiled, but just in -# case, we make sure we remove all of them. -ifeq ($(BR2_PACKAGE_PYTHON_PY_ONLY),y) -define PYTHON_REMOVE_PYC_FILES - find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR) -name '*.pyc' -print0 | \ - xargs -0 --no-run-if-empty rm -f -endef -PYTHON_TARGET_FINALIZE_HOOKS += PYTHON_REMOVE_PYC_FILES -endif - -# In all cases, we don't want to keep the optimized .pyo files -define PYTHON_REMOVE_PYO_FILES - find $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR) -name '*.pyo' -print0 | \ - xargs -0 --no-run-if-empty rm -f -endef -PYTHON_TARGET_FINALIZE_HOOKS += PYTHON_REMOVE_PYO_FILES diff --git a/buildroot-2021.05/package/python3-cffi/python3-cffi.hash b/buildroot-2021.05/package/python3-cffi/python3-cffi.hash deleted file mode 120000 index 1f98d8df..00000000 --- a/buildroot-2021.05/package/python3-cffi/python3-cffi.hash +++ /dev/null @@ -1 +0,0 @@ -../python-cffi/python-cffi.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-cffi/python3-cffi.mk b/buildroot-2021.05/package/python3-cffi/python3-cffi.mk deleted file mode 100644 index 7541e71b..00000000 --- a/buildroot-2021.05/package/python3-cffi/python3-cffi.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# python3-cffi -# -################################################################################ - -# Please keep in sync with package/python-cffi/python-cffi.mk -PYTHON3_CFFI_VERSION = 1.14.2 -PYTHON3_CFFI_SOURCE = cffi-$(PYTHON3_CFFI_VERSION).tar.gz -PYTHON3_CFFI_SITE = https://files.pythonhosted.org/packages/f7/09/88bbe20b76ca76be052c366fe77aa5e3cd6e5f932766e5597fecdd95b2a8 -PYTHON3_CFFI_SETUP_TYPE = setuptools -PYTHON3_CFFI_LICENSE = MIT -PYTHON3_CFFI_LICENSE_FILES = LICENSE - -# This host package uses pkg-config to find libffi, so we have to -# provide the proper hints for pkg-config to behave properly for host -# packages. -HOST_PYTHON3_CFFI_ENV = \ - PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ - PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ - PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - PKG_CONFIG_SYSROOT_DIR="/" \ - PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig" -HOST_PYTHON3_CFFI_DEPENDENCIES = host-pkgconf host-python3-pycparser host-libffi - -HOST_PYTHON3_CFFI_DL_SUBDIR = python-cffi -HOST_PYTHON3_CFFI_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-cheetah/python3-cheetah.hash b/buildroot-2021.05/package/python3-cheetah/python3-cheetah.hash deleted file mode 120000 index c29a76ea..00000000 --- a/buildroot-2021.05/package/python3-cheetah/python3-cheetah.hash +++ /dev/null @@ -1 +0,0 @@ -../python-cheetah/python-cheetah.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-cheetah/python3-cheetah.mk b/buildroot-2021.05/package/python3-cheetah/python3-cheetah.mk deleted file mode 100644 index 8876f8d7..00000000 --- a/buildroot-2021.05/package/python3-cheetah/python3-cheetah.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# python3-cheetah -# -################################################################################ - -# Please keep in sync with -# package/python-cheetah/python-cheetah.mk -PYTHON3_CHEETAH_VERSION = 3.2.4 -PYTHON3_CHEETAH_SOURCE = Cheetah3-$(PYTHON3_CHEETAH_VERSION).tar.gz -PYTHON3_CHEETAH_SITE = https://files.pythonhosted.org/packages/4e/72/e6a7d92279e3551db1b68fd336fd7a6e3d2f2ec742bf486486e6150d77d2 -PYTHON3_CHEETAH_LICENSE = MIT -PYTHON3_CHEETAH_LICENSE_FILES = LICENSE -PYTHON3_CHEETAH_SETUP_TYPE = setuptools -HOST_PYTHON3_CHEETAH_DL_SUBDIR = python-cheetah -HOST_PYTHON3_CHEETAH_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-cryptography/python3-cryptography.hash b/buildroot-2021.05/package/python3-cryptography/python3-cryptography.hash deleted file mode 120000 index 73fa25f5..00000000 --- a/buildroot-2021.05/package/python3-cryptography/python3-cryptography.hash +++ /dev/null @@ -1 +0,0 @@ -../python-cryptography/python-cryptography.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-cryptography/python3-cryptography.mk b/buildroot-2021.05/package/python3-cryptography/python3-cryptography.mk deleted file mode 100644 index 03112e41..00000000 --- a/buildroot-2021.05/package/python3-cryptography/python3-cryptography.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# python3-cryptography -# -################################################################################ - -# Please keep in sync with package/python-cryptography/python-cryptography.mk -PYTHON3_CRYPTOGRAPHY_VERSION = 3.0 -PYTHON3_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON3_CRYPTOGRAPHY_VERSION).tar.gz -PYTHON3_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/bf/ac/552fc8729d90393845cc3a2062facf4a89dcbe206fa78771d60ddaae7554 -PYTHON3_CRYPTOGRAPHY_SETUP_TYPE = setuptools -PYTHON3_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause -PYTHON3_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD -PYTHON3_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project -PYTHON3_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography -HOST_PYTHON3_CRYPTOGRAPHY_DL_SUBDIR = python-cryptography -HOST_PYTHON3_CRYPTOGRAPHY_NEEDS_HOST_PYTHON = python3 -HOST_PYTHON3_CRYPTOGRAPHY_DEPENDENCIES = \ - host-openssl \ - host-python3-cffi \ - host-python3-pip \ - host-python3-six - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-cython/python3-cython.hash b/buildroot-2021.05/package/python3-cython/python3-cython.hash deleted file mode 120000 index 70dde641..00000000 --- a/buildroot-2021.05/package/python3-cython/python3-cython.hash +++ /dev/null @@ -1 +0,0 @@ -../python-cython/python-cython.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-cython/python3-cython.mk b/buildroot-2021.05/package/python3-cython/python3-cython.mk deleted file mode 100644 index 6e3bd142..00000000 --- a/buildroot-2021.05/package/python3-cython/python3-cython.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python3-cython -# -################################################################################ - -# Please keep in sync with package/python-cython/python-cython.mk -PYTHON3_CYTHON_VERSION = 0.29.21 -PYTHON3_CYTHON_SOURCE = Cython-$(PYTHON3_CYTHON_VERSION).tar.gz -PYTHON3_CYTHON_SITE = https://files.pythonhosted.org/packages/6c/9f/f501ba9d178aeb1f5bf7da1ad5619b207c90ac235d9859961c11829d0160 -PYTHON3_CYTHON_SETUP_TYPE = setuptools -PYTHON3_CYTHON_LICENSE = Apache-2.0 -PYTHON3_CYTHON_LICENSE_FILES = COPYING.txt LICENSE.txt -HOST_PYTHON3_CYTHON_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-decorator/python3-decorator.hash b/buildroot-2021.05/package/python3-decorator/python3-decorator.hash deleted file mode 120000 index f515d313..00000000 --- a/buildroot-2021.05/package/python3-decorator/python3-decorator.hash +++ /dev/null @@ -1 +0,0 @@ -../python-decorator/python-decorator.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-decorator/python3-decorator.mk b/buildroot-2021.05/package/python3-decorator/python3-decorator.mk deleted file mode 100644 index ed6d86fe..00000000 --- a/buildroot-2021.05/package/python3-decorator/python3-decorator.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# python3-decorator -# -################################################################################ - -# Please keep in sync with package/python-decorator/python-decorator.mk -PYTHON3_DECORATOR_VERSION = 4.4.1 -PYTHON3_DECORATOR_SITE = https://files.pythonhosted.org/packages/dc/c3/9d378af09f5737cfd524b844cd2fbb0d2263a35c11d712043daab290144d -PYTHON3_DECORATOR_SOURCE = decorator-$(PYTHON3_DECORATOR_VERSION).tar.gz -PYTHON3_DECORATOR_LICENSE = BSD-2-Clause -PYTHON3_DECORATOR_LICENSE_FILES = LICENSE.txt -PYTHON3_DECORATOR_CPE_ID_VENDOR = python -PYTHON3_DECORATOR_CPE_ID_PRODUCT = decorator -PYTHON3_DECORATOR_SETUP_TYPE = setuptools -HOST_PYTHON3_DECORATOR_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-jinja2/python3-jinja2.hash b/buildroot-2021.05/package/python3-jinja2/python3-jinja2.hash deleted file mode 120000 index 543e981a..00000000 --- a/buildroot-2021.05/package/python3-jinja2/python3-jinja2.hash +++ /dev/null @@ -1 +0,0 @@ -../python-jinja2/python-jinja2.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-jinja2/python3-jinja2.mk b/buildroot-2021.05/package/python3-jinja2/python3-jinja2.mk deleted file mode 100644 index 5d29e1d8..00000000 --- a/buildroot-2021.05/package/python3-jinja2/python3-jinja2.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# python3-jinja2 -# -################################################################################ - -PYTHON3_JINJA2_VERSION = 2.11.3 -PYTHON3_JINJA2_SOURCE = Jinja2-$(PYTHON3_JINJA2_VERSION).tar.gz -PYTHON3_JINJA2_SITE = https://files.pythonhosted.org/packages/4f/e7/65300e6b32e69768ded990494809106f87da1d436418d5f1367ed3966fd7 -PYTHON3_JINJA2_SETUP_TYPE = setuptools -PYTHON3_JINJA2_LICENSE = BSD-3-Clause -PYTHON3_JINJA2_LICENSE_FILES = LICENSE.rst -PYTHON3_JINJA2_CPE_ID_VENDOR = pocoo -PYTHON3_JINJA2_CPE_ID_PRODUCT = jinja2 - -HOST_PYTHON3_JINJA2_NEEDS_HOST_PYTHON = python3 -# In host build, setup.py tries to download markupsafe if it is not installed -HOST_PYTHON3_JINJA2_DEPENDENCIES = host-python3-markupsafe - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-mako/python3-mako.hash b/buildroot-2021.05/package/python3-mako/python3-mako.hash deleted file mode 120000 index 068be91f..00000000 --- a/buildroot-2021.05/package/python3-mako/python3-mako.hash +++ /dev/null @@ -1 +0,0 @@ -../python-mako/python-mako.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-mako/python3-mako.mk b/buildroot-2021.05/package/python3-mako/python3-mako.mk deleted file mode 100644 index fd6b2ed4..00000000 --- a/buildroot-2021.05/package/python3-mako/python3-mako.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# python3-mako -# -################################################################################ - -# Please keep in sync with -# package/python-mako/python-mako.mk -PYTHON3_MAKO_VERSION = 1.1.3 -PYTHON3_MAKO_SOURCE = Mako-$(PYTHON3_MAKO_VERSION).tar.gz -PYTHON3_MAKO_SITE = https://files.pythonhosted.org/packages/42/64/fc7c506d14d8b6ed363e7798ffec2dfe4ba21e14dda4cfab99f4430cba3a -PYTHON3_MAKO_SETUP_TYPE = setuptools -PYTHON3_MAKO_LICENSE = MIT -PYTHON3_MAKO_LICENSE_FILES = LICENSE -HOST_PYTHON3_MAKO_DL_SUBDIR = python-mako -HOST_PYTHON3_MAKO_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-markupsafe/python3-markupsafe.hash b/buildroot-2021.05/package/python3-markupsafe/python3-markupsafe.hash deleted file mode 120000 index 947cfa12..00000000 --- a/buildroot-2021.05/package/python3-markupsafe/python3-markupsafe.hash +++ /dev/null @@ -1 +0,0 @@ -../python-markupsafe/python-markupsafe.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-markupsafe/python3-markupsafe.mk b/buildroot-2021.05/package/python3-markupsafe/python3-markupsafe.mk deleted file mode 100644 index 58f6e67b..00000000 --- a/buildroot-2021.05/package/python3-markupsafe/python3-markupsafe.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python3-markupsafe -# -################################################################################ - -PYTHON3_MARKUPSAFE_VERSION = 1.1.1 -PYTHON3_MARKUPSAFE_SOURCE = MarkupSafe-$(PYTHON3_MARKUPSAFE_VERSION).tar.gz -PYTHON3_MARKUPSAFE_SITE = https://files.pythonhosted.org/packages/b9/2e/64db92e53b86efccfaea71321f597fa2e1b2bd3853d8ce658568f7a13094 -PYTHON3_MARKUPSAFE_SETUP_TYPE = setuptools -PYTHON3_MARKUPSAFE_LICENSE = BSD-3-Clause -PYTHON3_MARKUPSAFE_LICENSE_FILES = LICENSE.rst - -HOST_PYTHON3_MARKUPSAFE_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-pip/python3-pip.hash b/buildroot-2021.05/package/python3-pip/python3-pip.hash deleted file mode 120000 index d90fb3d0..00000000 --- a/buildroot-2021.05/package/python3-pip/python3-pip.hash +++ /dev/null @@ -1 +0,0 @@ -../python-pip/python-pip.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-pip/python3-pip.mk b/buildroot-2021.05/package/python3-pip/python3-pip.mk deleted file mode 100644 index 58e3c06c..00000000 --- a/buildroot-2021.05/package/python3-pip/python3-pip.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# python3-pip -# -################################################################################ - -# Please keep in sync with package/python-pip/python-pip.mk -PYTHON3_PIP_VERSION = 20.0.2 -PYTHON3_PIP_SOURCE = pip-$(PYTHON_PIP_VERSION).tar.gz -PYTHON3_PIP_SITE = https://files.pythonhosted.org/packages/8e/76/66066b7bc71817238924c7e4b448abdb17eb0c92d645769c223f9ace478f -PYTHON3_PIP_SETUP_TYPE = setuptools -PYTHON3_PIP_LICENSE = MIT -PYTHON3_PIP_LICENSE_FILES = LICENSE.txt -PYTHON3_PIP_CPE_ID_VENDOR = pypa -PYTHON3_PIP_CPE_ID_PRODUCT = pip -HOST_PYTHON3_PIP_DL_SUBDIR = python-pip -HOST_PYTHON3_PIP_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-ply/python3-ply.hash b/buildroot-2021.05/package/python3-ply/python3-ply.hash deleted file mode 120000 index 5e07165c..00000000 --- a/buildroot-2021.05/package/python3-ply/python3-ply.hash +++ /dev/null @@ -1 +0,0 @@ -../python-ply/python-ply.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-ply/python3-ply.mk b/buildroot-2021.05/package/python3-ply/python3-ply.mk deleted file mode 100644 index 15f66a49..00000000 --- a/buildroot-2021.05/package/python3-ply/python3-ply.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python3-ply -# -################################################################################ - -PYTHON3_PLY_VERSION = 3.11 -PYTHON3_PLY_SOURCE = ply-$(PYTHON3_PLY_VERSION).tar.gz -PYTHON3_PLY_SITE = https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da -PYTHON3_PLY_SETUP_TYPE = setuptools -PYTHON3_PLY_LICENSE = BSD-3-Clause -PYTHON3_PLY_LICENSE_FILES = README.md - -HOST_PYTHON3_PLY_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-psutil/python3-psutil.hash b/buildroot-2021.05/package/python3-psutil/python3-psutil.hash deleted file mode 120000 index ff688fab..00000000 --- a/buildroot-2021.05/package/python3-psutil/python3-psutil.hash +++ /dev/null @@ -1 +0,0 @@ -../python-psutil/python-psutil.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-psutil/python3-psutil.mk b/buildroot-2021.05/package/python3-psutil/python3-psutil.mk deleted file mode 100644 index 029e1b1c..00000000 --- a/buildroot-2021.05/package/python3-psutil/python3-psutil.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# python3-psutil -# -################################################################################ - -# Please keep in sync with package/python-psutil/python-psutil.mk -PYTHON3_PSUTIL_VERSION = 5.7.2 -PYTHON3_PSUTIL_SOURCE = psutil-$(PYTHON3_PSUTIL_VERSION).tar.gz -PYTHON3_PSUTIL_SITE = https://files.pythonhosted.org/packages/aa/3e/d18f2c04cf2b528e18515999b0c8e698c136db78f62df34eee89cee205f1 -PYTHON3_PSUTIL_SETUP_TYPE = setuptools -PYTHON3_PSUTIL_LICENSE = BSD-3-Clause -PYTHON3_PSUTIL_LICENSE_FILES = LICENSE -PYTHON3_PSUTIL_CPE_ID_VENDOR = psutil_project -PYTHON3_PSUTIL_CPE_ID_PRODUCT = psutil -HOST_PYTHON3_PSUTIL_DL_SUBDIR = python-psutil -HOST_PYTHON3_PSUTIL_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-pycparser/python3-pycparser.hash b/buildroot-2021.05/package/python3-pycparser/python3-pycparser.hash deleted file mode 120000 index 7a1912ca..00000000 --- a/buildroot-2021.05/package/python3-pycparser/python3-pycparser.hash +++ /dev/null @@ -1 +0,0 @@ -../python-pycparser/python-pycparser.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-pycparser/python3-pycparser.mk b/buildroot-2021.05/package/python3-pycparser/python3-pycparser.mk deleted file mode 100644 index 68769ceb..00000000 --- a/buildroot-2021.05/package/python3-pycparser/python3-pycparser.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python3-pycparser -# -################################################################################ - -# Please keep in sync with package/python-pycparser/python-pycparser.mk -PYTHON3_PYCPARSER_VERSION = 2.20 -PYTHON3_PYCPARSER_SOURCE = pycparser-$(PYTHON3_PYCPARSER_VERSION).tar.gz -PYTHON3_PYCPARSER_SITE = https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd -PYTHON3_PYCPARSER_SETUP_TYPE = setuptools -PYTHON3_PYCPARSER_LICENSE = BSD-3-Clause -PYTHON3_PYCPARSER_LICENSE_FILES = LICENSE -HOST_PYTHON3_PYCPARSER_DL_SUBDIR = python-pycparser -HOST_PYTHON3_PYCPARSER_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-pycryptodomex/python3-pycryptodomex.hash b/buildroot-2021.05/package/python3-pycryptodomex/python3-pycryptodomex.hash deleted file mode 120000 index 0c6761d8..00000000 --- a/buildroot-2021.05/package/python3-pycryptodomex/python3-pycryptodomex.hash +++ /dev/null @@ -1 +0,0 @@ -../python-pycryptodomex/python-pycryptodomex.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-pycryptodomex/python3-pycryptodomex.mk b/buildroot-2021.05/package/python3-pycryptodomex/python3-pycryptodomex.mk deleted file mode 100644 index bd7602c9..00000000 --- a/buildroot-2021.05/package/python3-pycryptodomex/python3-pycryptodomex.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# python3-pycryptodomex -# -################################################################################ - -# Please keep in sync with package/python-pycryptodomex/python-pycryptodomex.mk -PYTHON3_PYCRYPTODOMEX_VERSION = 3.9.9 -PYTHON3_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON3_PYCRYPTODOMEX_VERSION).tar.gz -PYTHON3_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/14/90/f4a934bffae029e16fb33f3bd87014a0a18b4bec591249c4fc01a18d3ab6 -PYTHON3_PYCRYPTODOMEX_SETUP_TYPE = setuptools -PYTHON3_PYCRYPTODOMEX_LICENSE = \ - BSD-2-Clause, \ - Public Domain (pycrypto original code), \ - OCB patent license (OCB mode) -PYTHON3_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto -HOST_PYTHON3_PYCRYPTODOMEX_DL_SUBDIR = python-pycryptodomex -HOST_PYTHON3_PYCRYPTODOMEX_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-pyelftools/python3-pyelftools.hash b/buildroot-2021.05/package/python3-pyelftools/python3-pyelftools.hash deleted file mode 120000 index e8eebeda..00000000 --- a/buildroot-2021.05/package/python3-pyelftools/python3-pyelftools.hash +++ /dev/null @@ -1 +0,0 @@ -../python-pyelftools/python-pyelftools.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-pyelftools/python3-pyelftools.mk b/buildroot-2021.05/package/python3-pyelftools/python3-pyelftools.mk deleted file mode 100644 index 3d21d304..00000000 --- a/buildroot-2021.05/package/python3-pyelftools/python3-pyelftools.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python3-pyelftools -# -################################################################################ - -# Please keep in sync with package/python-pyelftools/python-pyelftools.mk -PYTHON3_PYELFTOOLS_VERSION = 0.27 -PYTHON3_PYELFTOOLS_SOURCE = pyelftools-$(PYTHON3_PYELFTOOLS_VERSION).tar.gz -PYTHON3_PYELFTOOLS_SITE = https://files.pythonhosted.org/packages/6b/b5/f7022f2d950327ba970ec85fb8f85c79244031092c129b6f34ab17514ae0 -PYTHON3_PYELFTOOLS_LICENSE = Public domain -PYTHON3_PYELFTOOLS_LICENSE_FILES = LICENSE -PYTHON3_PYELFTOOLS_SETUP_TYPE = setuptools -HOST_PYTHON3_PYELFTOOLS_DL_SUBDIR = python-pyelftools -HOST_PYTHON3_PYELFTOOLS_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-pyyaml/python3-pyyaml.hash b/buildroot-2021.05/package/python3-pyyaml/python3-pyyaml.hash deleted file mode 120000 index afa4932e..00000000 --- a/buildroot-2021.05/package/python3-pyyaml/python3-pyyaml.hash +++ /dev/null @@ -1 +0,0 @@ -../python-pyyaml/python-pyyaml.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-pyyaml/python3-pyyaml.mk b/buildroot-2021.05/package/python3-pyyaml/python3-pyyaml.mk deleted file mode 100644 index f7583415..00000000 --- a/buildroot-2021.05/package/python3-pyyaml/python3-pyyaml.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# python3-pyyaml -# -################################################################################ - -# Please keep in sync with package/python-pyyaml/python-pyyaml.mk -PYTHON3_PYYAML_VERSION = 5.4.1 -PYTHON3_PYYAML_SOURCE = PyYAML-$(PYTHON3_PYYAML_VERSION).tar.gz -PYTHON3_PYYAML_SITE = https://files.pythonhosted.org/packages/a0/a4/d63f2d7597e1a4b55aa3b4d6c5b029991d3b824b5bd331af8d4ab1ed687d -PYTHON3_PYYAML_SETUP_TYPE = setuptools -PYTHON3_PYYAML_LICENSE = MIT -PYTHON3_PYYAML_LICENSE_FILES = LICENSE -PYTHON3_PYYAML_CPE_ID_VENDOR = pyyaml -PYTHON3_PYYAML_CPE_ID_PRODUCT = pyyaml -HOST_PYTHON3_PYYAML_DL_SUBDIR = python-pyyaml -HOST_PYTHON3_PYYAML_NEEDS_HOST_PYTHON = python3 -HOST_PYTHON3_PYYAML_DEPENDENCIES = host-libyaml - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-regex/python3-regex.hash b/buildroot-2021.05/package/python3-regex/python3-regex.hash deleted file mode 120000 index 274f4dc2..00000000 --- a/buildroot-2021.05/package/python3-regex/python3-regex.hash +++ /dev/null @@ -1 +0,0 @@ -../python-regex/python-regex.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-regex/python3-regex.mk b/buildroot-2021.05/package/python3-regex/python3-regex.mk deleted file mode 100644 index 0b71768e..00000000 --- a/buildroot-2021.05/package/python3-regex/python3-regex.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# python3-regex -# -################################################################################ - -# Please keep in sync with package/python-regex/python-regex.mk -PYTHON3_REGEX_VERSION = 2021.4.4 -PYTHON3_REGEX_SOURCE = regex-$(PYTHON3_REGEX_VERSION).tar.gz -PYTHON3_REGEX_SITE = https://files.pythonhosted.org/packages/38/3f/4c42a98c9ad7d08c16e7d23b2194a0e4f3b2914662da8bc88986e4e6de1f -PYTHON3_REGEX_SETUP_TYPE = setuptools -PYTHON3_REGEX_LICENSE = CNRI-Python -HOST_PYTHON3_REGEX_DL_SUBDIR = python-regex -HOST_PYTHON3_REGEX_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-requests/python3-requests.hash b/buildroot-2021.05/package/python3-requests/python3-requests.hash deleted file mode 120000 index 19e182d4..00000000 --- a/buildroot-2021.05/package/python3-requests/python3-requests.hash +++ /dev/null @@ -1 +0,0 @@ -../python-requests/python-requests.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-requests/python3-requests.mk b/buildroot-2021.05/package/python3-requests/python3-requests.mk deleted file mode 100644 index dbb3f214..00000000 --- a/buildroot-2021.05/package/python3-requests/python3-requests.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# python3-requests -# -################################################################################ - -# Please keep in sync with package/python-requests/python-requests.mk -PYTHON3_REQUESTS_VERSION = 2.25.1 -PYTHON3_REQUESTS_SOURCE = requests-$(PYTHON3_REQUESTS_VERSION).tar.gz -PYTHON3_REQUESTS_SITE = https://files.pythonhosted.org/packages/6b/47/c14abc08432ab22dc18b9892252efaf005ab44066de871e72a38d6af464b -PYTHON3_REQUESTS_SETUP_TYPE = setuptools -PYTHON3_REQUESTS_LICENSE = Apache-2.0 -PYTHON3_REQUESTS_LICENSE_FILES = LICENSE -PYTHON3_REQUESTS_CPE_ID_VENDOR = python -PYTHON3_REQUESTS_CPE_ID_PRODUCT = requests -HOST_PYTHON3_REQUESTS_DL_SUBDIR = python-requests -HOST_PYTHON3_REQUESTS_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-setuptools/0001-add-executable.patch b/buildroot-2021.05/package/python3-setuptools/0001-add-executable.patch deleted file mode 120000 index 5bab3d96..00000000 --- a/buildroot-2021.05/package/python3-setuptools/0001-add-executable.patch +++ /dev/null @@ -1 +0,0 @@ -../python-setuptools/0001-add-executable.patch \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-setuptools/python3-setuptools.hash b/buildroot-2021.05/package/python3-setuptools/python3-setuptools.hash deleted file mode 120000 index a3af7f0f..00000000 --- a/buildroot-2021.05/package/python3-setuptools/python3-setuptools.hash +++ /dev/null @@ -1 +0,0 @@ -../python-setuptools/python-setuptools.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-setuptools/python3-setuptools.mk b/buildroot-2021.05/package/python3-setuptools/python3-setuptools.mk deleted file mode 100644 index 34d59931..00000000 --- a/buildroot-2021.05/package/python3-setuptools/python3-setuptools.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# python3-setuptools -# -################################################################################ - -# Please keep in sync with -# package/python-setuptools/python-setuptools.mk -PYTHON3_SETUPTOOLS_VERSION = 44.0.0 -PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).zip -PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485 -PYTHON3_SETUPTOOLS_LICENSE = MIT -PYTHON3_SETUPTOOLS_LICENSE_FILES = LICENSE -PYTHON3_SETUPTOOLS_CPE_ID_VENDOR = python -PYTHON3_SETUPTOOLS_CPE_ID_PRODUCT = setuptools -PYTHON3_SETUPTOOLS_SETUP_TYPE = setuptools -HOST_PYTHON3_SETUPTOOLS_DL_SUBDIR = python-setuptools -HOST_PYTHON3_SETUPTOOLS_NEEDS_HOST_PYTHON = python3 - -define HOST_PYTHON3_SETUPTOOLS_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(HOST_PYTHON3_SETUPTOOLS_DL_DIR)/$(PYTHON3_SETUPTOOLS_SOURCE) - mv $(@D)/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)/* $(@D) - $(RM) -r $(@D)/setuptools-$(PYTHON3_SETUPTOOLS_VERSION) -endef - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3-six/python3-six.hash b/buildroot-2021.05/package/python3-six/python3-six.hash deleted file mode 120000 index ed8cb89a..00000000 --- a/buildroot-2021.05/package/python3-six/python3-six.hash +++ /dev/null @@ -1 +0,0 @@ -../python-six/python-six.hash \ No newline at end of file diff --git a/buildroot-2021.05/package/python3-six/python3-six.mk b/buildroot-2021.05/package/python3-six/python3-six.mk deleted file mode 100644 index debd338a..00000000 --- a/buildroot-2021.05/package/python3-six/python3-six.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# python3-six -# -################################################################################ - -# Please keep in sync with package/python-six/python-six.mk -PYTHON3_SIX_VERSION = 1.15.0 -PYTHON3_SIX_SOURCE = six-$(PYTHON3_SIX_VERSION).tar.gz -PYTHON3_SIX_SITE = https://files.pythonhosted.org/packages/6b/34/415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426 -PYTHON3_SIX_SETUP_TYPE = setuptools -PYTHON3_SIX_LICENSE = MIT -PYTHON3_SIX_LICENSE_FILES = LICENSE -HOST_PYTHON3_SIX_DL_SUBDIR = python-six -HOST_PYTHON3_SIX_NEEDS_HOST_PYTHON = python3 - -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch b/buildroot-2021.05/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch deleted file mode 100644 index 5eb296c6..00000000 --- a/buildroot-2021.05/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 322724e166d7ec0393aec577c12fdf6ef2b61e1d Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 16:21:31 -0800 -Subject: [PATCH] Make the build of pyc files conditional - -This commit adds a new configure option --disable-pyc-build to disable -the compilation of pyc. - -Signed-off-by: Thomas Petazzoni -[ Andrey Smrinov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 2 ++ - configure.ac | 6 ++++++ - 2 files changed, 8 insertions(+) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 77f91e72b1..0c809f3d8a 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1528,6 +1528,7 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c - $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ - $(DESTDIR)$(LIBDEST)/distutils/tests ; \ - fi -+ifeq (@PYC_BUILD@,yes) - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ - -j0 -d $(LIBDEST) -f \ -@@ -1555,6 +1556,7 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c - $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \ - -j0 -d $(LIBDEST)/site-packages -f \ - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages -+endif - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ -diff --git a/configure.ac b/configure.ac -index d60f05251a..1ee5a09588 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1112,6 +1112,12 @@ fi - - AC_MSG_CHECKING(LDLIBRARY) - -+AC_SUBST(PYC_BUILD) -+ -+AC_ARG_ENABLE(pyc-build, -+ AS_HELP_STRING([--disable-pyc-build], [disable build of pyc files]), -+ [ PYC_BUILD="${enableval}" ], [ PYC_BUILD=yes ]) -+ - # MacOSX framework builds need more magic. LDLIBRARY is the dynamic - # library that we build, but we do not want to link against it (we - # will find it with a -framework option). For this reason there is an --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch b/buildroot-2021.05/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch deleted file mode 100644 index c291d144..00000000 --- a/buildroot-2021.05/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 72e20220f3a592b3ab9f440fbe74efa9f9e82d49 Mon Sep 17 00:00:00 2001 -From: Vanya Sergeev -Date: Wed, 23 Dec 2015 11:30:33 +0100 -Subject: [PATCH] Disable buggy_getaddrinfo configure test when cross-compiling - with IPv6 support - -Signed-off-by: Vanya Sergeev ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 1ee5a09588..c2445edc88 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -4175,7 +4175,7 @@ fi - - AC_MSG_RESULT($ac_cv_buggy_getaddrinfo) - --if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes -+if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes - then - if test $ipv6 = yes - then --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch b/buildroot-2021.05/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch deleted file mode 100644 index b0dcce7d..00000000 --- a/buildroot-2021.05/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch +++ /dev/null @@ -1,108 +0,0 @@ -From df7c95b4ceecf390b961d843a556c470ac9080b2 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 16:33:22 -0800 -Subject: [PATCH] Add infrastructure to disable the build of certain extensions - -Some of the extensions part of the Python core have dependencies on -external libraries (sqlite, tk, etc.) or are relatively big and not -necessarly always useful (CJK codecs for example). By extensions, we -mean part of Python modules that are written in C and therefore -compiled to binary code. - -Therefore, we introduce a small infrastructure that allows to disable -some of those extensions. This can be done inside the configure.ac by -adding values to the DISABLED_EXTENSIONS variable (which is a -word-separated list of extensions). - -The implementation works as follow : - - * configure.ac defines a DISABLED_EXTENSIONS variable, which is - substituted (so that when Makefile.pre is generated from - Makefile.pre.in, the value of the variable is substituted). For - now, this DISABLED_EXTENSIONS variable is empty, later patches will - use it. - - * Makefile.pre.in passes the DISABLED_EXTENSIONS value down to the - variables passed in the environment when calling the setup.py - script that actually builds and installs those extensions. - - * setup.py is modified so that the existing "disabled_module_list" is - filled with those pre-disabled extensions listed in - DISABLED_EXTENSIONS. - -Patch ported to python2.7 by Maxime Ripard , and -then extended by Thomas Petazzoni -. - -Signed-off-by: Thomas Petazzoni -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 6 +++++- - configure.ac | 2 ++ - setup.py | 5 ++++- - 3 files changed, 11 insertions(+), 2 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 0c809f3d8a..7c3dde8dd4 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -213,6 +213,8 @@ FILEMODE= 644 - # configure script arguments - CONFIG_ARGS= @CONFIG_ARGS@ - -+# disabled extensions -+DISABLED_EXTENSIONS= @DISABLED_EXTENSIONS@ - - # Subdirectories with code - SRCDIRS= @SRCDIRS@ -@@ -629,6 +631,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o - esac; \ - echo "$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ - _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ -+ DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" \ - $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build"; \ - $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ - _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ -@@ -1674,7 +1677,8 @@ libainstall: @DEF_MAKE_RULE@ python-config - # Install the dynamically loadable modules - # This goes into $(exec_prefix) - sharedinstall: sharedmods -- $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ -+ $(RUNSHARED) DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" \ -+ $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ - --prefix=$(prefix) \ - --install-scripts=$(BINDIR) \ - --install-platlib=$(DESTSHARED) \ -diff --git a/configure.ac b/configure.ac -index c2445edc88..73d66167de 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3052,6 +3052,8 @@ LIBS="$withval $LIBS" - - PKG_PROG_PKG_CONFIG - -+AC_SUBST(DISABLED_EXTENSIONS) -+ - # Check for use of the system expat library - AC_MSG_CHECKING(for --with-system-expat) - AC_ARG_WITH(system_expat, -diff --git a/setup.py b/setup.py -index 770866bca7..b6c829b3a5 100644 ---- a/setup.py -+++ b/setup.py -@@ -43,7 +43,10 @@ from distutils.spawn import find_executable - TEST_EXTENSIONS = True - - # This global variable is used to hold the list of modules to be disabled. --DISABLED_MODULE_LIST = [] -+try: -+ DISABLED_MODULE_LIST = sysconfig.get_config_var("DISABLED_EXTENSIONS").split(" ") -+except KeyError: -+ DISABLED_MODULE_LIST = list() - - - def get_platform(): --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch b/buildroot-2021.05/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch deleted file mode 100644 index 24f369f8..00000000 --- a/buildroot-2021.05/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 61af65485f1dade4aa08d0cf2b24082aeda24c51 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:33:14 +0100 -Subject: [PATCH] Adjust library/header paths for cross-compilation - -When cross-compiling third-party extensions, the get_python_inc() or -get_python_lib() can be called, to return the path to headers or -libraries. However, they use the sys.prefix of the host Python, which -returns incorrect paths when cross-compiling (paths pointing to host -headers and libraries). - -In order to fix this, we introduce the _python_sysroot, _python_prefix -and _python_exec_prefix variables, that allow to override these -values, and get correct header/library paths when cross-compiling -third-party Python modules. - -Signed-off-by: Thomas Petazzoni ---- - Lib/distutils/command/build_ext.py | 5 ++++- - Lib/distutils/sysconfig.py | 15 +++++++++++---- - 2 files changed, 15 insertions(+), 5 deletions(-) - -diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py -index 1a9bd1200f..3cf7d6746e 100644 ---- a/Lib/distutils/command/build_ext.py -+++ b/Lib/distutils/command/build_ext.py -@@ -234,7 +234,10 @@ class build_ext(Command): - if (sysconfig.get_config_var('Py_ENABLE_SHARED')): - if not sysconfig.python_build: - # building third party extensions -- self.library_dirs.append(sysconfig.get_config_var('LIBDIR')) -+ libdir = sysconfig.get_config_var('LIBDIR') -+ if "_python_sysroot" in os.environ: -+ libdir = os.environ.get("_python_sysroot") + libdir -+ self.library_dirs.append(libdir) - else: - # building python standard extensions - self.library_dirs.append('.') -diff --git a/Lib/distutils/sysconfig.py b/Lib/distutils/sysconfig.py -index 37feae5df7..e9c3a27856 100644 ---- a/Lib/distutils/sysconfig.py -+++ b/Lib/distutils/sysconfig.py -@@ -17,10 +17,17 @@ import sys - from .errors import DistutilsPlatformError - - # These are needed in a couple of spots, so just compute them once. --PREFIX = os.path.normpath(sys.prefix) --EXEC_PREFIX = os.path.normpath(sys.exec_prefix) --BASE_PREFIX = os.path.normpath(sys.base_prefix) --BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix) -+if "_python_sysroot" in os.environ: -+ _sysroot=os.environ.get('_python_sysroot') -+ PREFIX = os.path.normpath(_sysroot + os.environ.get('_python_prefix')) -+ EXEC_PREFIX = os.path.normpath(_sysroot + os.environ.get('_python_exec_prefix')) -+ BASE_PREFIX = PREFIX -+ BASE_EXEC_PREFIX = EXEC_PREFIX -+else: -+ PREFIX = os.path.normpath(sys.prefix) -+ EXEC_PREFIX = os.path.normpath(sys.exec_prefix) -+ BASE_PREFIX = os.path.normpath(sys.base_prefix) -+ BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix) - - # Path to the base directory of the project. On Windows the binary may - # live in project/PCbuild/win32 or project/PCbuild/amd64. --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch b/buildroot-2021.05/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch deleted file mode 100644 index 83c88ff3..00000000 --- a/buildroot-2021.05/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 60d71e37d167ea89445250be436170a6cfee84e7 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:36:00 +0100 -Subject: [PATCH] Don't look in /usr/lib/termcap for libraries - -Signed-off-by: Thomas Petazzoni ---- - setup.py | 5 +---- - 1 file changed, 1 insertion(+), 4 deletions(-) - -diff --git a/setup.py b/setup.py -index b6c829b3a5..ec3ba60607 100644 ---- a/setup.py -+++ b/setup.py -@@ -1056,12 +1056,9 @@ class PyBuildExt(build_ext): - pass # Issue 7384: Already linked against curses or tinfo. - elif curses_library: - readline_libs.append(curses_library) -- elif self.compiler.find_library_file(self.lib_dirs + -- ['/usr/lib/termcap'], -- 'termcap'): -+ elif self.compiler.find_library_file(self.lib_dirs, 'termcap'): - readline_libs.append('termcap') - self.add(Extension('readline', ['readline.c'], -- library_dirs=['/usr/lib/termcap'], - extra_link_args=readline_extra_link_args, - libraries=readline_libs)) - else: --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0006-Don-t-add-multiarch-paths.patch b/buildroot-2021.05/package/python3/0006-Don-t-add-multiarch-paths.patch deleted file mode 100644 index f55238d0..00000000 --- a/buildroot-2021.05/package/python3/0006-Don-t-add-multiarch-paths.patch +++ /dev/null @@ -1,37 +0,0 @@ -From f5933b8f973cd11698b52d535a10d0474e49f5a5 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:36:27 +0100 -Subject: [PATCH] Don't add multiarch paths - -The add_multiarch_paths() function leads, in certain build -environments, to the addition of host header paths to the CFLAGS, -which is not appropriate for cross-compilation. This patch fixes that -by simply removing the call to add_multiarch_paths() when we're -cross-compiling. - -Investigation done by David . - -Signed-off-by: Thomas Petazzoni ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index ec3ba60607..e27620035c 100644 ---- a/setup.py -+++ b/setup.py -@@ -749,10 +749,10 @@ class PyBuildExt(build_ext): - if not CROSS_COMPILING: - add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') - add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') -+ self.add_multiarch_paths() - # only change this for cross builds for 3.3, issues on Mageia - if CROSS_COMPILING: - self.add_cross_compiling_paths() -- self.add_multiarch_paths() - self.add_ldflags_cppflags() - - def init_inc_lib_dirs(self): --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0007-Abort-on-failed-module-build.patch b/buildroot-2021.05/package/python3/0007-Abort-on-failed-module-build.patch deleted file mode 100644 index 0e96e752..00000000 --- a/buildroot-2021.05/package/python3/0007-Abort-on-failed-module-build.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 188c0ebfdb71f5252fa7701013b8d1209f28aef7 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:43:24 +0100 -Subject: [PATCH] Abort on failed module build - -When building a Python module fails, the setup.py script currently -doesn't exit with an error, and simply continues. This is not a really -nice behavior, so this patch changes setup.py to abort with an error, -so that the build issue is clearly noticeable. - -Signed-off-by: Thomas Petazzoni ---- - setup.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/setup.py b/setup.py -index e27620035c..d3f0e663f2 100644 ---- a/setup.py -+++ b/setup.py -@@ -539,6 +539,7 @@ class PyBuildExt(build_ext): - print("Failed to build these modules:") - print_three_column(failed) - print() -+ sys.exit(1) - - if self.failed_on_import: - failed = self.failed_on_import[:] --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/buildroot-2021.05/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch deleted file mode 100644 index 57f1bb5a..00000000 --- a/buildroot-2021.05/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch +++ /dev/null @@ -1,39 +0,0 @@ -From e4ae670e3489544a49dabd1618c32fe73504a7ba Mon Sep 17 00:00:00 2001 -From: Samuel Cabrero -Date: Wed, 23 Dec 2015 11:45:48 +0100 -Subject: [PATCH] Override system locale and set to default when adding gcc - paths - -Forces the use of the default locale in the function -add_gcc_paths, which is called when cross compiling to add the -include and library paths. This is necessary because otherwise -the gcc output is localized and the output parsing fails, which -results in no paths added and detect_modules not able to find -any system library (eg. libz, libssl, etc.) - -[Thomas: patch taken from https://bugs.python.org/issue23767.] - -Signed-off-by: Samuel Cabrero -Signed-off-by: Thomas Petazzoni -[james.hilliard1@gmail.com: adapt to python 3.9] -Signed-off-by: James Hilliard ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index d3f0e663f2..926c16f58f 100644 ---- a/setup.py -+++ b/setup.py -@@ -695,7 +695,7 @@ class PyBuildExt(build_ext): - tmpfile = os.path.join(self.build_temp, 'ccpaths') - if not os.path.exists(self.build_temp): - os.makedirs(self.build_temp) -- ret = run_command('%s -E -v - %s 1>/dev/null' % (cc, tmpfile)) -+ ret = run_command('LC_ALL=C %s -E -v - %s 1>/dev/null' % (cc, tmpfile)) - is_gcc = False - is_clang = False - in_incdirs = False --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/buildroot-2021.05/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch deleted file mode 100644 index 42dfa0d6..00000000 --- a/buildroot-2021.05/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch +++ /dev/null @@ -1,105 +0,0 @@ -From e2ea659eac1849db471d3c01a0d0af9d6fca2e9a Mon Sep 17 00:00:00 2001 -From: Christophe Vu-Brugier -Date: Wed, 22 Feb 2017 16:48:49 -0800 -Subject: [PATCH] Add importlib fix for PEP 3147 issue - -Python 3 has a new standard for installing .pyc file, called PEP -3147. Unfortunately, this standard requires both the .py and .pyc -files to be installed for a Python module to be found. This is quite -annoying on space-constrained embedded systems, since the .py file is -technically not required for execution. - -This patch changes cache_from_source() and source_from_cache() in -importlib to get rid of the "__pycache__" directory. -This effectively disables PEP 3147 for: - -* The python standard library -* Packages built with distutils or setuptools -* Packages built with automake that use the `py-compile` helper - -Signed-off-by: Christophe Vu-Brugier -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Lib/importlib/_bootstrap_external.py | 44 ++++------------------------ - 1 file changed, 5 insertions(+), 39 deletions(-) - -diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py -index 25a3f8c0e0..2cb9a9aa52 100644 ---- a/Lib/importlib/_bootstrap_external.py -+++ b/Lib/importlib/_bootstrap_external.py -@@ -313,8 +313,6 @@ def cache_from_source(path, debug_override=None, *, optimization=None): - a True value is the same as setting 'optimization' to the empty string - while a False value is equivalent to setting 'optimization' to '1'. - -- If sys.implementation.cache_tag is None then NotImplementedError is raised. -- - """ - if debug_override is not None: - _warnings.warn('the debug_override parameter is deprecated; use ' -@@ -326,10 +324,7 @@ def cache_from_source(path, debug_override=None, *, optimization=None): - path = _os.fspath(path) - head, tail = _path_split(path) - base, sep, rest = tail.rpartition('.') -- tag = sys.implementation.cache_tag -- if tag is None: -- raise NotImplementedError('sys.implementation.cache_tag is None') -- almost_filename = ''.join([(base if base else rest), sep, tag]) -+ almost_filename = ''.join([(base if base else rest)]) - if optimization is None: - if sys.flags.optimize == 0: - optimization = '' -@@ -366,46 +361,17 @@ def cache_from_source(path, debug_override=None, *, optimization=None): - head.lstrip(path_separators), - filename, - ) -- return _path_join(head, _PYCACHE, filename) -+ return _path_join(head, filename) - - - def source_from_cache(path): - """Given the path to a .pyc. file, return the path to its .py file. - - The .pyc file does not need to exist; this simply returns the path to -- the .py file calculated to correspond to the .pyc file. If path does -- not conform to PEP 3147/488 format, ValueError will be raised. If -- sys.implementation.cache_tag is None then NotImplementedError is raised. -- -+ the .py file calculated to correspond to the .pyc file. - """ -- if sys.implementation.cache_tag is None: -- raise NotImplementedError('sys.implementation.cache_tag is None') -- path = _os.fspath(path) -- head, pycache_filename = _path_split(path) -- found_in_pycache_prefix = False -- if sys.pycache_prefix is not None: -- stripped_path = sys.pycache_prefix.rstrip(path_separators) -- if head.startswith(stripped_path + path_sep): -- head = head[len(stripped_path):] -- found_in_pycache_prefix = True -- if not found_in_pycache_prefix: -- head, pycache = _path_split(head) -- if pycache != _PYCACHE: -- raise ValueError(f'{_PYCACHE} not bottom-level directory in ' -- f'{path!r}') -- dot_count = pycache_filename.count('.') -- if dot_count not in {2, 3}: -- raise ValueError(f'expected only 2 or 3 dots in {pycache_filename!r}') -- elif dot_count == 3: -- optimization = pycache_filename.rsplit('.', 2)[-2] -- if not optimization.startswith(_OPT): -- raise ValueError("optimization portion of filename does not start " -- f"with {_OPT!r}") -- opt_level = optimization[len(_OPT):] -- if not opt_level.isalnum(): -- raise ValueError(f"optimization level {optimization!r} is not an " -- "alphanumeric value") -- base_filename = pycache_filename.partition('.')[0] -+ head, filename = _path_split(path) -+ base_filename = filename.partition('.')[0] - return _path_join(head, base_filename + SOURCE_SUFFIXES[0]) - - --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch b/buildroot-2021.05/package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch deleted file mode 100644 index b3380fd5..00000000 --- a/buildroot-2021.05/package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch +++ /dev/null @@ -1,117 +0,0 @@ -From 0337342d413d13f437fd089de91faee70a8bf3f9 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 17:01:18 -0800 -Subject: [PATCH] Add an option to disable installation of test modules - -The Python standard distribution comes with many test modules, that -are not necessarly useful on embedded targets. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov -[james.hilliard1@gmail.com: adapt to python 3.9] -Signed-off-by: James Hilliard ---- - Makefile.pre.in | 56 ++++++++++++++++++++++++++++++++----------------- - configure.ac | 5 +++++ - 2 files changed, 42 insertions(+), 19 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 7c3dde8dd4..204f293d53 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1385,8 +1385,29 @@ maninstall: altmaninstall - - # Install the library - XMLLIBSUBDIRS= xml xml/dom xml/etree xml/parsers xml/sax --LIBSUBDIRS= tkinter tkinter/test tkinter/test/test_tkinter \ -- tkinter/test/test_ttk site-packages test \ -+ -+LIBSUBDIRS= tkinter site-packages \ -+ asyncio \ -+ collections concurrent concurrent/futures encodings \ -+ email email/mime \ -+ ensurepip ensurepip/_bundled \ -+ html json http dbm xmlrpc \ -+ sqlite3 \ -+ logging csv wsgiref urllib \ -+ lib2to3 lib2to3/fixes lib2to3/pgen2 \ -+ ctypes ctypes/macholib \ -+ idlelib idlelib/Icons \ -+ distutils distutils/command $(XMLLIBSUBDIRS) \ -+ importlib \ -+ turtledemo \ -+ multiprocessing multiprocessing/dummy \ -+ unittest \ -+ venv venv/scripts venv/scripts/common venv/scripts/posix \ -+ curses pydoc_data \ -+ zoneinfo -+ -+TESTSUBDIRS= tkinter/test tkinter/test/test_tkinter \ -+ tkinter/test/test_ttk test \ - test/audiodata \ - test/capath test/data \ - test/cjkencodings test/decimaltestdata \ -@@ -1446,28 +1467,25 @@ LIBSUBDIRS= tkinter tkinter/test tkinter/test/test_tkinter \ - test/test_importlib/zipdata02 \ - test/test_zoneinfo test/test_zoneinfo/data \ - test/ziptestdata \ -- asyncio \ - test/test_asyncio \ -- collections concurrent concurrent/futures encodings \ -- email email/mime test/test_email test/test_email/data \ -- ensurepip ensurepip/_bundled \ -- html json test/test_json http dbm xmlrpc \ -- sqlite3 sqlite3/test \ -- logging csv wsgiref urllib \ -- lib2to3 lib2to3/fixes lib2to3/pgen2 lib2to3/tests \ -+ test/test_email test/test_email/data \ -+ test/test_json \ -+ sqlite3/test \ -+ lib2to3/tests \ - lib2to3/tests/data lib2to3/tests/data/fixers \ - lib2to3/tests/data/fixers/myfixes \ -- ctypes ctypes/test ctypes/macholib \ -- idlelib idlelib/Icons idlelib/idle_test \ -- distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \ -+ ctypes/test \ -+ idlelib/idle_test \ -+ distutils/tests \ - test/test_peg_generator \ -+ test/test_importlib test/test_importlib/builtin \ - test/test_tools test/test_warnings test/test_warnings/data \ -- turtledemo \ -- multiprocessing multiprocessing/dummy \ -- unittest unittest/test unittest/test/testmock \ -- venv venv/scripts venv/scripts/common venv/scripts/posix \ -- curses pydoc_data \ -- zoneinfo -+ unittest/test unittest/test/testmock -+ -+ifeq (@TEST_MODULES@,yes) -+LIBSUBDIRS += $(TESTSUBDIRS) -+endif -+ - libinstall: build_all $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index 73d66167de..92e28d02ee 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3329,6 +3329,11 @@ if test "$posix_threads" = "yes"; then - AC_CHECK_FUNCS(pthread_getcpuclockid) - fi - -+AC_SUBST(TEST_MODULES) -+ -+AC_ARG_ENABLE(test-modules, -+ AS_HELP_STRING([--disable-test-modules], [disable test modules]), -+ [ TEST_MODULES="${enableval}" ], [ TEST_MODULES=yes ]) - - # Check for enable-ipv6 - AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified]) --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0014-Add-an-option-to-disable-pydoc.patch b/buildroot-2021.05/package/python3/0014-Add-an-option-to-disable-pydoc.patch deleted file mode 100644 index abb86ea0..00000000 --- a/buildroot-2021.05/package/python3/0014-Add-an-option-to-disable-pydoc.patch +++ /dev/null @@ -1,99 +0,0 @@ -From a65e5d3caf8e076d531191164c23c6240461f675 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 17:07:56 -0800 -Subject: [PATCH] Add an option to disable pydoc - -It removes 0.5 MB of data from the target plus the pydoc script -itself. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 8 +++++++- - configure.ac | 6 ++++++ - setup.py | 9 +++++++-- - 3 files changed, 20 insertions(+), 3 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 204f293d53..63e3df0470 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1357,7 +1357,9 @@ bininstall: altbininstall - -rm -f $(DESTDIR)$(BINDIR)/idle3 - (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3) - -rm -f $(DESTDIR)$(BINDIR)/pydoc3 -+ifeq (@PYDOC@,yes) - (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) -+endif - -rm -f $(DESTDIR)$(BINDIR)/2to3 - (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3) - if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \ -@@ -1403,7 +1405,7 @@ LIBSUBDIRS= tkinter site-packages \ - multiprocessing multiprocessing/dummy \ - unittest \ - venv venv/scripts venv/scripts/common venv/scripts/posix \ -- curses pydoc_data \ -+ curses \ - zoneinfo - - TESTSUBDIRS= tkinter/test tkinter/test/test_tkinter \ -@@ -1486,6 +1488,10 @@ ifeq (@TEST_MODULES@,yes) - LIBSUBDIRS += $(TESTSUBDIRS) - endif - -+ifeq (@PYDOC@,yes) -+LIBSUBDIRS += pydoc_data -+endif -+ - libinstall: build_all $(srcdir)/Modules/xxmodule.c - @for i in $(SCRIPTDIR) $(LIBDEST); \ - do \ -diff --git a/configure.ac b/configure.ac -index 92e28d02ee..174ed85a7c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3329,6 +3329,12 @@ if test "$posix_threads" = "yes"; then - AC_CHECK_FUNCS(pthread_getcpuclockid) - fi - -+AC_SUBST(PYDOC) -+ -+AC_ARG_ENABLE(pydoc, -+ AS_HELP_STRING([--disable-pydoc], [disable pydoc]), -+ [ PYDOC="${enableval}" ], [ PYDOC=yes ]) -+ - AC_SUBST(TEST_MODULES) - - AC_ARG_ENABLE(test-modules, -diff --git a/setup.py b/setup.py -index 926c16f58f..1fc5fac90c 100644 ---- a/setup.py -+++ b/setup.py -@@ -2586,6 +2586,12 @@ def main(): - # turn off warnings when deprecated modules are imported - import warnings - warnings.filterwarnings("ignore",category=DeprecationWarning) -+ -+ scripts = ['Tools/scripts/idle3', 'Tools/scripts/2to3', -+ 'Lib/smtpd.py'] -+ if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): -+ scripts += [ 'Tools/scripts/pydoc3' ] -+ - setup(# PyPI Metadata (PEP 301) - name = "Python", - version = sys.version.split()[0], -@@ -2610,8 +2616,7 @@ def main(): - # If you change the scripts installed here, you also need to - # check the PyBuildScripts command above, and change the links - # created by the bininstall target in Makefile.pre.in -- scripts = ["Tools/scripts/pydoc3", "Tools/scripts/idle3", -- "Tools/scripts/2to3"] -+ scripts = scripts - ) - - # --install-platlib --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0015-Add-an-option-to-disable-lib2to3.patch b/buildroot-2021.05/package/python3/0015-Add-an-option-to-disable-lib2to3.patch deleted file mode 100644 index 5cec11a0..00000000 --- a/buildroot-2021.05/package/python3/0015-Add-an-option-to-disable-lib2to3.patch +++ /dev/null @@ -1,116 +0,0 @@ -From f034b1b0f33a7bd4dde23f0bc1fa8e00e3518c9d Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 17:15:31 -0800 -Subject: [PATCH] Add an option to disable lib2to3 - -lib2to3 is a library to convert Python 2.x code to Python 3.x. As -such, it is probably not very useful on embedded system targets. - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 16 ++++++++++++---- - configure.ac | 6 ++++++ - setup.py | 5 +++-- - 3 files changed, 21 insertions(+), 6 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 63e3df0470..8b7de12999 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1361,7 +1361,9 @@ ifeq (@PYDOC@,yes) - (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) - endif - -rm -f $(DESTDIR)$(BINDIR)/2to3 -+ifeq (@LIB2TO3@,yes) - (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3) -+endif - if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \ - rm -f $(DESTDIR)$(BINDIR)/python3-32$(EXE); \ - (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-32$(EXE) python3-32$(EXE)) \ -@@ -1396,7 +1398,6 @@ LIBSUBDIRS= tkinter site-packages \ - html json http dbm xmlrpc \ - sqlite3 \ - logging csv wsgiref urllib \ -- lib2to3 lib2to3/fixes lib2to3/pgen2 \ - ctypes ctypes/macholib \ - idlelib idlelib/Icons \ - distutils distutils/command $(XMLLIBSUBDIRS) \ -@@ -1473,9 +1474,6 @@ TESTSUBDIRS= tkinter/test tkinter/test/test_tkinter \ - test/test_email test/test_email/data \ - test/test_json \ - sqlite3/test \ -- lib2to3/tests \ -- lib2to3/tests/data lib2to3/tests/data/fixers \ -- lib2to3/tests/data/fixers/myfixes \ - ctypes/test \ - idlelib/idle_test \ - distutils/tests \ -@@ -1484,6 +1482,14 @@ TESTSUBDIRS= tkinter/test tkinter/test/test_tkinter \ - test/test_tools test/test_warnings test/test_warnings/data \ - unittest/test unittest/test/testmock - -+ifeq (@LIB2TO3@,yes) -+LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2 -+TESTSUBDIRS += lib2to3/tests \ -+ lib2to3/tests/data \ -+ lib2to3/tests/data/fixers \ -+ lib2to3/tests/data/fixers/myfixes -+endif -+ - ifeq (@TEST_MODULES@,yes) - LIBSUBDIRS += $(TESTSUBDIRS) - endif -@@ -1584,10 +1590,12 @@ ifeq (@PYC_BUILD@,yes) - -j0 -d $(LIBDEST)/site-packages -f \ - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages - endif -+ifeq (@LIB2TO3@,yes) - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ - $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt -+endif - - # bpo-21536: Misc/python-config.sh is generated in the build directory - # from $(srcdir)Misc/python-config.sh.in. -diff --git a/configure.ac b/configure.ac -index 174ed85a7c..f1f5e9a7b0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3341,6 +3341,12 @@ AC_ARG_ENABLE(test-modules, - AS_HELP_STRING([--disable-test-modules], [disable test modules]), - [ TEST_MODULES="${enableval}" ], [ TEST_MODULES=yes ]) - -+AC_SUBST(LIB2TO3) -+ -+AC_ARG_ENABLE(lib2to3, -+ AS_HELP_STRING([--disable-lib2to3], [disable lib2to3]), -+ [ LIB2TO3="${enableval}" ], [ LIB2TO3=yes ]) -+ - # Check for enable-ipv6 - AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified]) - AC_MSG_CHECKING([if --enable-ipv6 is specified]) -diff --git a/setup.py b/setup.py -index 1fc5fac90c..4063d7ffa5 100644 ---- a/setup.py -+++ b/setup.py -@@ -2587,10 +2587,11 @@ def main(): - import warnings - warnings.filterwarnings("ignore",category=DeprecationWarning) - -- scripts = ['Tools/scripts/idle3', 'Tools/scripts/2to3', -- 'Lib/smtpd.py'] -+ scripts = ['Tools/scripts/idle3', 'Lib/smtpd.py'] - if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): - scripts += [ 'Tools/scripts/pydoc3' ] -+ if not '--disable-lib2to3' in sysconfig.get_config_var("CONFIG_ARGS"): -+ scripts += [ 'Tools/scripts/2to3' ] - - setup(# PyPI Metadata (PEP 301) - name = "Python", --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch b/buildroot-2021.05/package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch deleted file mode 100644 index 47ee112e..00000000 --- a/buildroot-2021.05/package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch +++ /dev/null @@ -1,69 +0,0 @@ -From dd2722dec08eb9c72c36313e93661eeca3ad64d8 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 17:20:45 -0800 -Subject: [PATCH] Add option to disable the sqlite3 module - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 7 +++++-- - configure.ac | 9 +++++++++ - 2 files changed, 14 insertions(+), 2 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 8b7de12999..d826d8ac4b 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1396,7 +1396,6 @@ LIBSUBDIRS= tkinter site-packages \ - email email/mime \ - ensurepip ensurepip/_bundled \ - html json http dbm xmlrpc \ -- sqlite3 \ - logging csv wsgiref urllib \ - ctypes ctypes/macholib \ - idlelib idlelib/Icons \ -@@ -1473,7 +1472,6 @@ TESTSUBDIRS= tkinter/test tkinter/test/test_tkinter \ - test/test_asyncio \ - test/test_email test/test_email/data \ - test/test_json \ -- sqlite3/test \ - ctypes/test \ - idlelib/idle_test \ - distutils/tests \ -@@ -1490,6 +1488,11 @@ TESTSUBDIRS += lib2to3/tests \ - lib2to3/tests/data/fixers/myfixes - endif - -+ifeq (@SQLITE3@,yes) -+LIBSUBDIRS += sqlite3 -+TESTSUBDIRS += sqlite3/test -+endif -+ - ifeq (@TEST_MODULES@,yes) - LIBSUBDIRS += $(TESTSUBDIRS) - endif -diff --git a/configure.ac b/configure.ac -index f1f5e9a7b0..8b5c65974c 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3329,6 +3329,15 @@ if test "$posix_threads" = "yes"; then - AC_CHECK_FUNCS(pthread_getcpuclockid) - fi - -+AC_SUBST(SQLITE3) -+AC_ARG_ENABLE(sqlite3, -+ AS_HELP_STRING([--disable-sqlite3], [disable sqlite3]), -+ [ SQLITE3="${enableval}" ], [ SQLITE3=yes ]) -+ -+if test "$SQLITE3" = "no" ; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" -+fi -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0017-Add-an-option-to-disable-the-tk-module.patch b/buildroot-2021.05/package/python3/0017-Add-an-option-to-disable-the-tk-module.patch deleted file mode 100644 index 132fd173..00000000 --- a/buildroot-2021.05/package/python3/0017-Add-an-option-to-disable-the-tk-module.patch +++ /dev/null @@ -1,73 +0,0 @@ -From ad6b66b34f71ff6b60b3be5f6fd3e781cdeecd59 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 17:23:42 -0800 -Subject: [PATCH] Add an option to disable the tk module - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 11 ++++++++--- - configure.ac | 9 +++++++++ - 2 files changed, 17 insertions(+), 3 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index d826d8ac4b..dc84384680 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1390,7 +1390,7 @@ maninstall: altmaninstall - # Install the library - XMLLIBSUBDIRS= xml xml/dom xml/etree xml/parsers xml/sax - --LIBSUBDIRS= tkinter site-packages \ -+LIBSUBDIRS= site-packages \ - asyncio \ - collections concurrent concurrent/futures encodings \ - email email/mime \ -@@ -1408,8 +1408,7 @@ LIBSUBDIRS= tkinter site-packages \ - curses \ - zoneinfo - --TESTSUBDIRS= tkinter/test tkinter/test/test_tkinter \ -- tkinter/test/test_ttk test \ -+TESTSUBDIRS= test \ - test/audiodata \ - test/capath test/data \ - test/cjkencodings test/decimaltestdata \ -@@ -1480,6 +1479,12 @@ TESTSUBDIRS= tkinter/test tkinter/test/test_tkinter \ - test/test_tools test/test_warnings test/test_warnings/data \ - unittest/test unittest/test/testmock - -+ifeq (@TK@,yes) -+LIBSUBDIRS += tkinter -+TESTSUBDIRS += tkinter/test tkinter/test/test_tkinter \ -+ tkinter/test/test_ttk -+endif -+ - ifeq (@LIB2TO3@,yes) - LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2 - TESTSUBDIRS += lib2to3/tests \ -diff --git a/configure.ac b/configure.ac -index 8b5c65974c..4c72dae960 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3338,6 +3338,15 @@ if test "$SQLITE3" = "no" ; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" - fi - -+AC_SUBST(TK) -+AC_ARG_ENABLE(tk, -+ AS_HELP_STRING([--disable-tk], [disable tk]), -+ [ TK="${enableval}" ], [ TK=yes ]) -+ -+if test "$TK" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _tkinter" -+fi -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0018-Add-an-option-to-disable-the-curses-module.patch b/buildroot-2021.05/package/python3/0018-Add-an-option-to-disable-the-curses-module.patch deleted file mode 100644 index d51267bb..00000000 --- a/buildroot-2021.05/package/python3/0018-Add-an-option-to-disable-the-curses-module.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 962deb43f5f340a8472d432ae8e6d61186f9040e Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 17:31:51 -0800 -Subject: [PATCH] Add an option to disable the curses module - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 5 ++++- - configure.ac | 9 +++++++++ - 2 files changed, 13 insertions(+), 1 deletion(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index dc84384680..2a82f3308f 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1405,7 +1405,6 @@ LIBSUBDIRS= site-packages \ - multiprocessing multiprocessing/dummy \ - unittest \ - venv venv/scripts venv/scripts/common venv/scripts/posix \ -- curses \ - zoneinfo - - TESTSUBDIRS= test \ -@@ -1485,6 +1484,10 @@ TESTSUBDIRS += tkinter/test tkinter/test/test_tkinter \ - tkinter/test/test_ttk - endif - -+ifeq (@CURSES@,yes) -+LIBSUBDIRS += curses -+endif -+ - ifeq (@LIB2TO3@,yes) - LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2 - TESTSUBDIRS += lib2to3/tests \ -diff --git a/configure.ac b/configure.ac -index 4c72dae960..acd98381a3 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3347,6 +3347,15 @@ if test "$TK" = "no"; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _tkinter" - fi - -+AC_SUBST(CURSES) -+AC_ARG_ENABLE(curses, -+ AS_HELP_STRING([--disable-curses], [disable curses]), -+ [ CURSES="${enableval}" ], [ CURSES=yes ]) -+ -+if test "$CURSES" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" -+fi -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0019-Add-an-option-to-disable-expat.patch b/buildroot-2021.05/package/python3/0019-Add-an-option-to-disable-expat.patch deleted file mode 100644 index af6e1ebc..00000000 --- a/buildroot-2021.05/package/python3/0019-Add-an-option-to-disable-expat.patch +++ /dev/null @@ -1,92 +0,0 @@ -From 7e0e7dc25f50acd6922493ae620ee5cbf107a79a Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 22 Feb 2017 17:40:45 -0800 -Subject: [PATCH] Add an option to disable expat - -This patch replaces the existing --with-system-expat option with a ---with-expat={system,builtin,none} option, which allows to tell Python -whether we want to use the system expat (already installed), the expat -builtin the Python sources, or no expat at all (which disables the -installation of XML modules). - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Samuel Martin -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 6 +++++- - configure.ac | 18 +++++++++++++----- - setup.py | 2 +- - 3 files changed, 19 insertions(+), 7 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index 2a82f3308f..e678c8817e 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1399,7 +1399,7 @@ LIBSUBDIRS= site-packages \ - logging csv wsgiref urllib \ - ctypes ctypes/macholib \ - idlelib idlelib/Icons \ -- distutils distutils/command $(XMLLIBSUBDIRS) \ -+ distutils distutils/command \ - importlib \ - turtledemo \ - multiprocessing multiprocessing/dummy \ -@@ -1488,6 +1488,10 @@ ifeq (@CURSES@,yes) - LIBSUBDIRS += curses - endif - -+ifeq (@EXPAT@,yes) -+LIBSUBDIRS += $(XMLLIBSUBDIRS) -+endif -+ - ifeq (@LIB2TO3@,yes) - LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2 - TESTSUBDIRS += lib2to3/tests \ -diff --git a/configure.ac b/configure.ac -index acd98381a3..9ef0ecd42f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3055,13 +3055,21 @@ PKG_PROG_PKG_CONFIG - AC_SUBST(DISABLED_EXTENSIONS) - - # Check for use of the system expat library --AC_MSG_CHECKING(for --with-system-expat) --AC_ARG_WITH(system_expat, -- AS_HELP_STRING([--with-system-expat], [build pyexpat module using an installed expat library, see Doc/library/pyexpat.rst (default is no)]), -+AC_MSG_CHECKING(for --with-expat) -+AC_ARG_WITH(expat, -+ AS_HELP_STRING([--with-expat], [select which expat version to use: system, builtin, none]), - [], -- [with_system_expat="no"]) -+ [with_expat="builtin"]) - --AC_MSG_RESULT($with_system_expat) -+AC_MSG_RESULT($with_expat) -+ -+if test "$with_expat" != "none"; then -+ EXPAT=yes -+else -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} pyexpat" -+ EXPAT=no -+fi -+AC_SUBST(EXPAT) - - # Check for use of the system libffi library - AC_MSG_CHECKING(for --with-system-ffi) -diff --git a/setup.py b/setup.py -index 4063d7ffa5..211a160f29 100644 ---- a/setup.py -+++ b/setup.py -@@ -1681,7 +1681,7 @@ class PyBuildExt(build_ext): - # - # More information on Expat can be found at www.libexpat.org. - # -- if '--with-system-expat' in sysconfig.get_config_var("CONFIG_ARGS"): -+ if '--with-expat=system' in sysconfig.get_config_var("CONFIG_ARGS"): - expat_inc = [] - define_macros = [] - extra_compile_args = [] --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch b/buildroot-2021.05/package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch deleted file mode 100644 index ede78c9b..00000000 --- a/buildroot-2021.05/package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 2c0d31bb91fc7f94283c3ab632925fbbe24e94d6 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:49:55 +0100 -Subject: [PATCH] Add an option to disable CJK codecs - -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 9ef0ecd42f..18e6fd70a0 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3346,6 +3346,12 @@ if test "$SQLITE3" = "no" ; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" - fi - -+AC_ARG_ENABLE(codecs-cjk, -+ AS_HELP_STRING([--disable-codecs-cjk], [disable CJK codecs]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0021-Add-an-option-to-disable-NIS.patch b/buildroot-2021.05/package/python3/0021-Add-an-option-to-disable-NIS.patch deleted file mode 100644 index b2668c6e..00000000 --- a/buildroot-2021.05/package/python3/0021-Add-an-option-to-disable-NIS.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 2041d0c8dba87991edaf088b16e37b5189a3466d Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:50:11 +0100 -Subject: [PATCH] Add an option to disable NIS - -NIS is not necessarily available in uClibc, so we need an option to -not compile support for it. - -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 18e6fd70a0..46d2a8131e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3352,6 +3352,12 @@ AC_ARG_ENABLE(codecs-cjk, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022" - fi]) - -+AC_ARG_ENABLE(nis, -+ AS_HELP_STRING([--disable-nis], [disable NIS]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0022-Add-an-option-to-disable-unicodedata.patch b/buildroot-2021.05/package/python3/0022-Add-an-option-to-disable-unicodedata.patch deleted file mode 100644 index 7a0157fd..00000000 --- a/buildroot-2021.05/package/python3/0022-Add-an-option-to-disable-unicodedata.patch +++ /dev/null @@ -1,30 +0,0 @@ -From dd82a401ff6ba4ba116bf4d520e981a1808ed443 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:50:27 +0100 -Subject: [PATCH] Add an option to disable unicodedata - -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 46d2a8131e..5844e3b73f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3358,6 +3358,12 @@ AC_ARG_ENABLE(nis, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" - fi]) - -+AC_ARG_ENABLE(unicodedata, -+ AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0023-Add-an-option-to-disable-IDLE.patch b/buildroot-2021.05/package/python3/0023-Add-an-option-to-disable-IDLE.patch deleted file mode 100644 index 0611e3a3..00000000 --- a/buildroot-2021.05/package/python3/0023-Add-an-option-to-disable-IDLE.patch +++ /dev/null @@ -1,89 +0,0 @@ -From f1b15834045d0641c43014b970721df066fa71f7 Mon Sep 17 00:00:00 2001 -From: Maxime Ripard -Date: Wed, 22 Feb 2017 17:45:14 -0800 -Subject: [PATCH] Add an option to disable IDLE - -IDLE is an IDE embedded into python, written using Tk, so it doesn't make -much sense to have it into our build. - -Signed-off-by: Maxime Ripard -[ Andrey Smirnov: ported to Python 3.6 ] -Signed-off-by: Andrey Smirnov ---- - Makefile.pre.in | 7 ++++++- - configure.ac | 6 ++++++ - setup.py | 4 +++- - 3 files changed, 15 insertions(+), 2 deletions(-) - -diff --git a/Makefile.pre.in b/Makefile.pre.in -index e678c8817e..1148bd8708 100644 ---- a/Makefile.pre.in -+++ b/Makefile.pre.in -@@ -1355,7 +1355,9 @@ bininstall: altbininstall - -rm -f $(DESTDIR)$(LIBPC)/python3-embed.pc - (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc python3-embed.pc) - -rm -f $(DESTDIR)$(BINDIR)/idle3 -+ifeq (@IDLE@,yes) - (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3) -+endif - -rm -f $(DESTDIR)$(BINDIR)/pydoc3 - ifeq (@PYDOC@,yes) - (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) -@@ -1398,7 +1400,6 @@ LIBSUBDIRS= site-packages \ - html json http dbm xmlrpc \ - logging csv wsgiref urllib \ - ctypes ctypes/macholib \ -- idlelib idlelib/Icons \ - distutils distutils/command \ - importlib \ - turtledemo \ -@@ -1492,6 +1493,10 @@ ifeq (@EXPAT@,yes) - LIBSUBDIRS += $(XMLLIBSUBDIRS) - endif - -+ifeq (@IDLE@,yes) -+LIBSUBDIRS += idlelib idlelib/Icons -+endif -+ - ifeq (@LIB2TO3@,yes) - LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2 - TESTSUBDIRS += lib2to3/tests \ -diff --git a/configure.ac b/configure.ac -index 5844e3b73f..7bd4623ccd 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3400,6 +3400,12 @@ AC_ARG_ENABLE(lib2to3, - AS_HELP_STRING([--disable-lib2to3], [disable lib2to3]), - [ LIB2TO3="${enableval}" ], [ LIB2TO3=yes ]) - -+AC_SUBST(IDLE) -+ -+AC_ARG_ENABLE(idle3, -+ AS_HELP_STRING([--disable-idle3], [disable idle3 IDE]), -+ [ IDLE="${enableval}" ], [ IDLE=yes ]) -+ - # Check for enable-ipv6 - AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified]) - AC_MSG_CHECKING([if --enable-ipv6 is specified]) -diff --git a/setup.py b/setup.py -index 211a160f29..c4ee989ba3 100644 ---- a/setup.py -+++ b/setup.py -@@ -2587,11 +2587,13 @@ def main(): - import warnings - warnings.filterwarnings("ignore",category=DeprecationWarning) - -- scripts = ['Tools/scripts/idle3', 'Lib/smtpd.py'] -+ scripts = [ 'Lib/smtpd.py'] - if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): - scripts += [ 'Tools/scripts/pydoc3' ] - if not '--disable-lib2to3' in sysconfig.get_config_var("CONFIG_ARGS"): - scripts += [ 'Tools/scripts/2to3' ] -+ if not '--disable-idle3' in sysconfig.get_config_var("CONFIG_ARGS"): -+ scripts += [ 'Tools/scripts/idle3' ] - - setup(# PyPI Metadata (PEP 301) - name = "Python", --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0024-Add-an-option-to-disable-decimal.patch b/buildroot-2021.05/package/python3/0024-Add-an-option-to-disable-decimal.patch deleted file mode 100644 index 438b76b9..00000000 --- a/buildroot-2021.05/package/python3/0024-Add-an-option-to-disable-decimal.patch +++ /dev/null @@ -1,66 +0,0 @@ -From d5fe81cbd51da2a84ed89d1e4c80d921d4efce26 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:51:31 +0100 -Subject: [PATCH] Add an option to disable decimal - -This patch replaces the existing --with-system-libmpdec option with a ---with-libmpdec={system,builtin,none} option, which allows to tell -Python whether we want to use the system libmpdec (already installed), -the libmpdec builtin the Python sources, or no libmpdec at all. - -Signed-off-by: Thomas Petazzoni -[aduskett@gmail.com: Update for python 3.7.0] -Signed-off-by: Adam Duskett -[james.hilliard1@gmail.com: adapt to python 3.9] -Signed-off-by: James Hilliard ---- - configure.ac | 17 ++++++++++++----- - setup.py | 2 +- - 2 files changed, 13 insertions(+), 6 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 7bd4623ccd..e513ef6a20 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3106,13 +3106,20 @@ fi - AC_SUBST(LIBFFI_INCLUDEDIR) - - # Check for use of the system libmpdec library --AC_MSG_CHECKING(for --with-system-libmpdec) --AC_ARG_WITH(system_libmpdec, -- AS_HELP_STRING([--with-system-libmpdec], [build _decimal module using an installed libmpdec library, see Doc/library/decimal.rst (default is no)]), -+AC_MSG_CHECKING(for --with-libmpdec) -+AC_ARG_WITH(libmpdec, -+ AS_HELP_STRING([--with-libmpdec], [select which libmpdec version to use: system, builtin, none]), - [], -- [with_system_libmpdec="no"]) -+ [with_libmpdec="builtin"]) - --AC_MSG_RESULT($with_system_libmpdec) -+AC_MSG_RESULT($with_libmpdec) -+if test "$with_libmpdec" != "none"; then -+ MPDEC=yes -+else -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _decimal" -+ MPDEC=no -+fi -+AC_SUBST(MPDEC) - - # Check whether _decimal should use a coroutine-local or thread-local context - AC_MSG_CHECKING(for --with-decimal-contextvar) -diff --git a/setup.py b/setup.py -index c4ee989ba3..3d0c74bb7f 100644 ---- a/setup.py -+++ b/setup.py -@@ -2221,7 +2221,7 @@ class PyBuildExt(build_ext): - # Stefan Krah's _decimal module - extra_compile_args = [] - undef_macros = [] -- if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"): -+ if '--with-libmpdec=system' in sysconfig.get_config_var("CONFIG_ARGS"): - include_dirs = [] - libraries = [':libmpdec.so.2'] - sources = ['_decimal/_decimal.c'] --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch b/buildroot-2021.05/package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch deleted file mode 100644 index 8a792c1f..00000000 --- a/buildroot-2021.05/package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 9bedc56d2a4b8856162650a11c1fcb6ec38f160b Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Wed, 23 Dec 2015 11:51:58 +0100 -Subject: [PATCH] Add an option to disable the ossaudiodev module - -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index e513ef6a20..c07505e89e 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3136,6 +3136,12 @@ fi - - AC_MSG_RESULT($with_decimal_contextvar) - -+AC_ARG_ENABLE(ossaudiodev, -+ AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev" -+ fi]) -+ - # Check for support for loadable sqlite extensions - AC_MSG_CHECKING(for --enable-loadable-sqlite-extensions) - AC_ARG_ENABLE(loadable-sqlite-extensions, --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0026-Add-an-option-to-disable-openssl-support.patch b/buildroot-2021.05/package/python3/0026-Add-an-option-to-disable-openssl-support.patch deleted file mode 100644 index d9e9d13f..00000000 --- a/buildroot-2021.05/package/python3/0026-Add-an-option-to-disable-openssl-support.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 90ed5c692b8b5596ca0b3ae1436276c8181251d8 Mon Sep 17 00:00:00 2001 -From: Nicolas Cavallari -Date: Wed, 22 Feb 2017 17:55:59 -0800 -Subject: [PATCH] Add an option to disable openssl support. - -Signed-off-by: Nicolas Cavallari ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index c07505e89e..612e32faf5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3377,6 +3377,12 @@ AC_ARG_ENABLE(unicodedata, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata" - fi]) - -+AC_ARG_ENABLE(openssl, -+ AS_HELP_STRING([--disable-openssl], [disable openssl support]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0027-Add-an-option-to-disable-the-readline-module.patch b/buildroot-2021.05/package/python3/0027-Add-an-option-to-disable-the-readline-module.patch deleted file mode 100644 index 2324ffdc..00000000 --- a/buildroot-2021.05/package/python3/0027-Add-an-option-to-disable-the-readline-module.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 049e7a51e1ffd0d28d6608c707ab4b54e816d338 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 23:29:05 +0100 -Subject: [PATCH] Add an option to disable the readline module - -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 612e32faf5..2a6aaeff60 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3383,6 +3383,12 @@ AC_ARG_ENABLE(openssl, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib" - fi]) - -+AC_ARG_ENABLE(readline, -+ AS_HELP_STRING([--disable-readline], [disable readline]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/buildroot-2021.05/package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch deleted file mode 100644 index 04d0ab31..00000000 --- a/buildroot-2021.05/package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 146730a04dfe98e3d7971ebf5410801ceae88e11 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Tue, 7 Mar 2017 23:31:11 +0100 -Subject: [PATCH] Add options to disable zlib, bzip2 and xz modules - -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 18 ++++++++++++++++++ - 1 file changed, 18 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 2a6aaeff60..21479bbd7d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3389,6 +3389,24 @@ AC_ARG_ENABLE(readline, - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline" - fi]) - -+AC_ARG_ENABLE(bzip2, -+ AS_HELP_STRING([--disable-bzip2], [disable bzip2]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _bz2" -+ fi]) -+ -+AC_ARG_ENABLE(zlib, -+ AS_HELP_STRING([--disable-zlib], [disable zlib]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib" -+ fi]) -+ -+AC_ARG_ENABLE(xz, -+ AS_HELP_STRING([--disable-xz], [disable xz]), -+ [ if test "$enableval" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _lzma" -+ fi]) -+ - AC_SUBST(TK) - AC_ARG_ENABLE(tk, - AS_HELP_STRING([--disable-tk], [disable tk]), --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0029-python-config.sh-don-t-reassign-prefix.patch b/buildroot-2021.05/package/python3/0029-python-config.sh-don-t-reassign-prefix.patch deleted file mode 100644 index 4478b401..00000000 --- a/buildroot-2021.05/package/python3/0029-python-config.sh-don-t-reassign-prefix.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 106d9378c61e7fa9cad0a63ba068668d54cd11b8 Mon Sep 17 00:00:00 2001 -From: Matt Weber -Date: Fri, 6 Oct 2017 09:54:15 -0500 -Subject: [PATCH] python-config.sh: don't reassign ${prefix} - -When prefix is set to a path like /usr during crossbuild -the sed operations end up executing twice, once for the prefix -reassignment and another for includedir if it is set as a string -including the ${prefix} variable. This results in an issue -when the build directory is under /usr. - -This patch updates the remaining location which uses the prefix -variable to also sed and update to use the real path. - -Upstream bug report: -https://bugs.python.org/issue31713 - -Buildroot bug: -https://bugs.busybox.net/show_bug.cgi?id=10361 - -Fixes failures like the following: -dbus-python-1.2.4 | NOK | http://autobuild.buildroot.net/results/758858efa97b6273c1b470513f5492258a6d8853 - -Signed-off-by: Matthew Weber ---- - Misc/python-config.sh.in | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in -index a1bc3cd5f7..164d2d3603 100644 ---- a/Misc/python-config.sh.in -+++ b/Misc/python-config.sh.in -@@ -31,7 +31,7 @@ prefix_real=$(installed_prefix "$0") - # locations. Keep prefix & exec_prefix using their original values in case - # they are referenced in other configure variables, to prevent double - # substitution, issue #22140. --prefix=$(echo "$prefix_build" | sed "s#^$prefix_build#$prefix_real#") -+prefix=$prefix_build - exec_prefix=$(echo "$exec_prefix_build" | sed "s#^$exec_prefix_build#$prefix_real#") - exec_prefix_real=${prefix_real} - includedir=$(echo "@includedir@" | sed "s#^$prefix_build#$prefix_real#") -@@ -49,7 +49,7 @@ LDLIBRARY="@LDLIBRARY@" - OPT="@OPT@" - PY_ENABLE_SHARED="@PY_ENABLE_SHARED@" - LDVERSION="@LDVERSION@" --LIBDEST=${prefix_real}/lib/python${VERSION} -+LIBDEST=$( echo "${prefix}/lib/python${VERSION}" | sed "s#^$prefix_build#$prefix_real#") - LIBPL=$(echo "@LIBPL@" | sed "s#^$prefix_build#$prefix_real#") - SO="@EXT_SUFFIX@" - PYTHONFRAMEWORK="@PYTHONFRAMEWORK@" --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0030-Fix-cross-compiling-the-uuid-module.patch b/buildroot-2021.05/package/python3/0030-Fix-cross-compiling-the-uuid-module.patch deleted file mode 100644 index 806801b2..00000000 --- a/buildroot-2021.05/package/python3/0030-Fix-cross-compiling-the-uuid-module.patch +++ /dev/null @@ -1,38 +0,0 @@ -From d7b90b157eddefbd0ed59e35c90b083c0c03b644 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Fri, 20 Jul 2018 10:17:39 -0400 -Subject: [PATCH] Fix cross compiling the uuid module - -Python 3.7 has a new _uuid module, however, the include directory -search path for uuid.h is hardcoded to /usr/include/uuid, which should -not be used when cross-compiling. - -To fix this, use the same solution as the one used by the NIS -detection: append "uuid" to each of the include directories in -"inc_dirs", instead of hardcoding /usr/include/uuid. - -Signed-off-by: Adam Duskett -[Thomas: drop STAGING_DIR based solution, use a solution similar to -the one used for the NIS detection.] -Signed-off-by: Thomas Petazzoni ---- - setup.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 3d0c74bb7f..c7be85f352 100644 ---- a/setup.py -+++ b/setup.py -@@ -1779,7 +1779,8 @@ class PyBuildExt(build_ext): - - def detect_uuid(self): - # Build the _uuid module if possible -- uuid_incs = find_file("uuid.h", self.inc_dirs, ["/usr/include/uuid"]) -+ uuid_incs = find_file("uuid.h", self.inc_dirs, -+ [os.path.join(inc_dir, 'uuid') for inc_dir in self.inc_dirs]) - if uuid_incs is not None: - if self.compiler.find_library_file(self.lib_dirs, 'uuid'): - uuid_libs = ['uuid'] --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0031-Add-an-option-to-disable-uuid-module.patch b/buildroot-2021.05/package/python3/0031-Add-an-option-to-disable-uuid-module.patch deleted file mode 100644 index 6ea57d2c..00000000 --- a/buildroot-2021.05/package/python3/0031-Add-an-option-to-disable-uuid-module.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 3bb693408eda77dda145ec5fecee56ea73031e9f Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 18 Aug 2018 10:54:56 +0200 -Subject: [PATCH] Add an option to disable uuid module - -Signed-off-by: Thomas Petazzoni ---- - configure.ac | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 21479bbd7d..615c16aced 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -3425,6 +3425,15 @@ if test "$CURSES" = "no"; then - DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" - fi - -+AC_SUBST(UUID) -+AC_ARG_ENABLE(uuid, -+ AS_HELP_STRING([--disable-uuid], [disable uuid]), -+ [ UUID="${enableval}" ], [ UUID=yes ]) -+ -+if test "$UUID" = "no"; then -+ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _uuid" -+fi -+ - AC_SUBST(PYDOC) - - AC_ARG_ENABLE(pydoc, --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch b/buildroot-2021.05/package/python3/0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch deleted file mode 100644 index 304a595f..00000000 --- a/buildroot-2021.05/package/python3/0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch +++ /dev/null @@ -1,48 +0,0 @@ -From edc0757c56090364e0a95aabfa9f645a16a27569 Mon Sep 17 00:00:00 2001 -From: Peter Korsgaard -Date: Fri, 2 Aug 2019 15:53:16 +0200 -Subject: [PATCH] configure.ac: fixup $CC --print-multiarch output for - musl/uclibc GCC 8+ toolchains - -GCC commit 6834b83784dcf0364eb820e8 (multiarch support for non-glibc linux -systems), which is part of GCC 8+, changed the multiarch logic to use -$arch-linux-musl / $arch-linux-uclibc rather than $arch-linux-gnu. - -This then causes the python3 configure script to error out: - -checking for the platform triplet based on compiler characteristics... powerpc-linux-gnu -configure: error: internal configure error for the platform triplet, please file a bug report - -http://autobuild.buildroot.net/results/cb4/cb49c539501342e45cbe5ade82e588fcdf51f05b - -As it requires that the --print-multiarch output (if not empty) matches the -deduced triplet (which always uses -linux-gnu). - -It isn't quite clear why --print-multiarch returns something for a -non-multiarch toolchain on some architectures (E.G. PowerPC), but as a -workaround, rewrite the --print-multiarch output to match older GCC versions -to keep the configure script happy. - -Signed-off-by: Peter Korsgaard ---- - configure.ac | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 615c16aced..241298e6cf 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -718,7 +718,9 @@ then - fi - - --MULTIARCH=$($CC --print-multiarch 2>/dev/null) -+# GCC 8+ returns $arch-linux-{musl,uclibc} for musl/uClibc based -+# toolchains confusing python. Fix that up -+MULTIARCH=$($CC --print-multiarch 2>/dev/null | sed -E 's/-linux-(musl|uclibc)*$/-linux-gnu/') - AC_SUBST(MULTIARCH) - - AC_MSG_CHECKING([for the platform triplet based on compiler characteristics]) --- -2.25.1 - diff --git a/buildroot-2021.05/package/python3/Config.in b/buildroot-2021.05/package/python3/Config.in deleted file mode 100644 index 3a9dd4b2..00000000 --- a/buildroot-2021.05/package/python3/Config.in +++ /dev/null @@ -1,123 +0,0 @@ -comment "python3 needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -config BR2_PACKAGE_PYTHON3 - bool "python3" - depends on !BR2_PACKAGE_PYTHON - depends on BR2_USE_WCHAR - # uses fork() - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_THREADS # libffi - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_LIBFFI - select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS - help - The python language interpreter. - - http://www.python.org/ - -if BR2_PACKAGE_PYTHON3 - -choice - prompt "python3 module format to install" - default BR2_PACKAGE_PYTHON3_PYC_ONLY - help - Select Python module format to install on target (py, pyc or - both) - -config BR2_PACKAGE_PYTHON3_PY_ONLY - bool ".py sources only" - -config BR2_PACKAGE_PYTHON3_PYC_ONLY - bool ".pyc compiled sources only" - -config BR2_PACKAGE_PYTHON3_PY_PYC - bool ".py sources and .pyc compiled" - -endchoice - -menu "core python3 modules" - -comment "The following modules are unusual or require extra libraries" - -config BR2_PACKAGE_PYTHON3_2TO3 - bool "2to3 module" - help - code translation from python 2 to 3 - -config BR2_PACKAGE_PYTHON3_BZIP2 - bool "bz2 module" - select BR2_PACKAGE_BZIP2 - help - bzip2 module for Python3 - -config BR2_PACKAGE_PYTHON3_CODECSCJK - bool "codecscjk module" - help - Chinese/Japanese/Korean codecs module for Python (large). - -config BR2_PACKAGE_PYTHON3_CURSES - bool "curses module" - select BR2_PACKAGE_NCURSES - help - curses module for Python3. - -config BR2_PACKAGE_PYTHON3_DECIMAL - bool "decimal module" - select BR2_PACKAGE_MPDECIMAL - help - decimal module for Python3. - -config BR2_PACKAGE_PYTHON3_OSSAUDIODEV - bool "ossaudiodev module" - help - ossaudiodev module for Python3. - -config BR2_PACKAGE_PYTHON3_READLINE - bool "readline" - select BR2_PACKAGE_READLINE - help - readline module for Python3 (required for command-line - editing in the Python shell). - -config BR2_PACKAGE_PYTHON3_SSL - bool "ssl" - select BR2_PACKAGE_OPENSSL - help - _ssl module for Python3 (required for https in urllib etc). - -config BR2_PACKAGE_PYTHON3_UNICODEDATA - bool "unicodedata module" - default y - help - Unicode character database (used by stringprep module) - (large). - -config BR2_PACKAGE_PYTHON3_SQLITE - bool "sqlite module" - select BR2_PACKAGE_SQLITE - help - SQLite database support - -config BR2_PACKAGE_PYTHON3_PYEXPAT - bool "xml module" - select BR2_PACKAGE_EXPAT - help - pyexpat and xml libraries for Python3. - -config BR2_PACKAGE_PYTHON3_XZ - bool "xz module" - select BR2_PACKAGE_XZ - help - xz (a.k.a lzma) module for Python3 - -config BR2_PACKAGE_PYTHON3_ZLIB - bool "zlib module" - select BR2_PACKAGE_ZLIB - help - zlib support in Python3 - -endmenu - -endif diff --git a/buildroot-2021.05/package/python3/Config.in.host b/buildroot-2021.05/package/python3/Config.in.host deleted file mode 100644 index 70b5dacd..00000000 --- a/buildroot-2021.05/package/python3/Config.in.host +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_HOST_PYTHON3 - bool "host python3" - help - The python language interpreter. Host package. - - http://www.python.org/ - -if BR2_PACKAGE_HOST_PYTHON3 - -config BR2_PACKAGE_HOST_PYTHON3_SSL - bool "ssl" - select BR2_PACKAGE_HOST_OPENSSL - help - _ssl module for host Python3. - -endif diff --git a/buildroot-2021.05/package/python3/python3.hash b/buildroot-2021.05/package/python3/python3.hash deleted file mode 100644 index 78571b5e..00000000 --- a/buildroot-2021.05/package/python3/python3.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.python.org/downloads/release/python-395/ -md5 71f7ada6bec9cdbf4538adc326120cfd Python-3.9.5.tar.xz -# Locally computed -sha256 0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83 Python-3.9.5.tar.xz -sha256 599826df92bfdcd2702eac691072498bb096c55af04ee984cf90f70ed77b5a70 LICENSE diff --git a/buildroot-2021.05/package/python3/python3.mk b/buildroot-2021.05/package/python3/python3.mk deleted file mode 100644 index b492e091..00000000 --- a/buildroot-2021.05/package/python3/python3.mk +++ /dev/null @@ -1,327 +0,0 @@ -################################################################################ -# -# python3 -# -################################################################################ - -PYTHON3_VERSION_MAJOR = 3.9 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).5 -PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz -PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) -PYTHON3_LICENSE = Python-2.0, others -PYTHON3_LICENSE_FILES = LICENSE -PYTHON3_CPE_ID_VENDOR = python -PYTHON3_CPE_ID_PRODUCT = python - -# This host Python is installed in $(HOST_DIR), as it is needed when -# cross-compiling third-party Python modules. - -HOST_PYTHON3_CONF_OPTS += \ - --without-ensurepip \ - --without-cxx-main \ - --disable-sqlite3 \ - --disable-tk \ - --with-expat=system \ - --disable-curses \ - --disable-codecs-cjk \ - --disable-nis \ - --enable-unicodedata \ - --disable-test-modules \ - --disable-idle3 \ - --disable-ossaudiodev - -# Make sure that LD_LIBRARY_PATH overrides -rpath. -# This is needed because libpython may be installed at the same time that -# python is called. -# Make python believe we don't have 'hg', so that it doesn't try to -# communicate over the network during the build. -HOST_PYTHON3_CONF_ENV += \ - LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" \ - ac_cv_prog_HAS_HG=/bin/false - -PYTHON3_DEPENDENCIES = host-python3 libffi - -HOST_PYTHON3_DEPENDENCIES = host-autoconf-archive host-expat host-zlib host-libffi - -ifeq ($(BR2_PACKAGE_HOST_PYTHON3_SSL),y) -HOST_PYTHON3_DEPENDENCIES += host-openssl -else -HOST_PYTHON3_CONF_OPTS += --disable-openssl -endif - -PYTHON3_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_PYTHON3_2TO3),y) -PYTHON3_CONF_OPTS += --enable-lib2to3 -else -PYTHON3_CONF_OPTS += --disable-lib2to3 -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_READLINE),y) -PYTHON3_DEPENDENCIES += readline -else -PYTHON3_CONF_OPTS += --disable-readline -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_CURSES),y) -PYTHON3_DEPENDENCIES += ncurses -else -PYTHON3_CONF_OPTS += --disable-curses -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_DECIMAL),y) -PYTHON3_DEPENDENCIES += mpdecimal -PYTHON3_CONF_OPTS += --with-libmpdec=system -else -PYTHON3_CONF_OPTS += --with-libmpdec=none -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_PYEXPAT),y) -PYTHON3_DEPENDENCIES += expat -PYTHON3_CONF_OPTS += --with-expat=system -else -PYTHON3_CONF_OPTS += --with-expat=none -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_SQLITE),y) -PYTHON3_DEPENDENCIES += sqlite -else -PYTHON3_CONF_OPTS += --disable-sqlite3 -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y) -PYTHON3_DEPENDENCIES += openssl -else -PYTHON3_CONF_OPTS += --disable-openssl -endif - -ifneq ($(BR2_PACKAGE_PYTHON3_CODECSCJK),y) -PYTHON3_CONF_OPTS += --disable-codecs-cjk -endif - -ifneq ($(BR2_PACKAGE_PYTHON3_UNICODEDATA),y) -PYTHON3_CONF_OPTS += --disable-unicodedata -endif - -# Disable auto-detection of uuid.h (util-linux) -# which would add _uuid module support, instead -# default to the pure python implementation -PYTHON3_CONF_OPTS += --disable-uuid - -ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y) -PYTHON3_DEPENDENCIES += bzip2 -else -PYTHON3_CONF_OPTS += --disable-bzip2 -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_XZ),y) -PYTHON3_DEPENDENCIES += xz -else -PYTHON3_CONF_OPTS += --disable-xz -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_ZLIB),y) -PYTHON3_DEPENDENCIES += zlib -else -PYTHON3_CONF_OPTS += --disable-zlib -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_OSSAUDIODEV),y) -PYTHON3_CONF_OPTS += --enable-ossaudiodev -else -PYTHON3_CONF_OPTS += --disable-ossaudiodev -endif - -# Make python believe we don't have 'hg', so that it doesn't try to -# communicate over the network during the build. -PYTHON3_CONF_ENV += \ - ac_cv_have_long_long_format=yes \ - ac_cv_file__dev_ptmx=yes \ - ac_cv_file__dev_ptc=yes \ - ac_cv_working_tzset=yes \ - ac_cv_prog_HAS_HG=/bin/false - -# GCC is always compliant with IEEE754 -ifeq ($(BR2_ENDIAN),"LITTLE") -PYTHON3_CONF_ENV += ac_cv_little_endian_double=yes -else -PYTHON3_CONF_ENV += ac_cv_big_endian_double=yes -endif - -# uClibc is known to have a broken wcsftime() implementation, so tell -# Python 3 to fall back to strftime() instead. -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -PYTHON3_CONF_ENV += ac_cv_func_wcsftime=no -endif - -ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) -PYTHON3_DEPENDENCIES += gettext -endif - -PYTHON3_CONF_OPTS += \ - --without-ensurepip \ - --without-cxx-main \ - --with-system-ffi \ - --disable-pydoc \ - --disable-test-modules \ - --disable-tk \ - --disable-nis \ - --disable-idle3 \ - --disable-pyc-build - -# -# Some of CPython's source code is generated using Python interpreter -# and some helper tools such as "Programs/_freeze_importlib" or -# "Parser/pgen" (look for regen-* targets in Makefile.pre.in for more -# info). Normally CPython codebase ships with those files -# pre-generated, so just regular "make" with no additional steps -# should be sufficient for a succesfull build, however due to -# Buildroot's "Add importlib fix for PEP 3147 issue" custom patch we -# end up modifying "Lib/importlib/_bootstrap_external.py" which means -# we have to do "regen-importlib" step before building CPython -# (Importlib is a builtin module that needs to be "frozen"/converted -# to a C array of bytecode using "Programs/_freeze_importlib") -# -# To achive that we add pre-build steps to host-python3 as well as -# python3 that execute "regen-importlib" target. -# -# Unfortunately, for the target Python, "Programs/_freeze_importlib" -# is built for the target, while we need to run them at build time. So -# when installing host-python3, we copy them to $(HOST_DIR)/bin... -# -define HOST_PYTHON3_MAKE_REGEN_IMPORTLIB - $(HOST_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) regen-importlib - cp $(@D)/Programs/_freeze_importlib $(HOST_DIR)/bin/python-freeze-importlib -endef - -HOST_PYTHON3_PRE_BUILD_HOOKS += HOST_PYTHON3_MAKE_REGEN_IMPORTLIB -# -# ... And then, when building the target python we first buid -# 'Programs/_freeze_importlib' to force GNU Make to update all of the -# prerequisites of 'Programs/_freeze_importlib', then copy our stashed -# "host-usable" version over the one that was just build and then -# build "regen-importlib" target -# -define PYTHON3_MAKE_REGEN_IMPORTLIB - $(TARGET_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) Programs/_freeze_importlib - cp $(HOST_DIR)/bin/python-freeze-importlib $(@D)/Programs/_freeze_importlib - $(TARGET_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) regen-importlib -endef - -PYTHON3_PRE_BUILD_HOOKS += PYTHON3_MAKE_REGEN_IMPORTLIB - -# -# Remove useless files. In the config/ directory, only the Makefile -# and the pyconfig.h files are needed at runtime. -# -define PYTHON3_REMOVE_USELESS_FILES - rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)-config - rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)m-config - rm -f $(TARGET_DIR)/usr/bin/python3-config - rm -f $(TARGET_DIR)/usr/bin/smtpd.py.3 - rm -f $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/distutils/command/wininst*.exe - for i in `find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/config-$(PYTHON3_VERSION_MAJOR)m-*/ \ - -type f -not -name Makefile` ; do \ - rm -f $$i ; \ - done - rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/__pycache__/ - rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/lib-dynload/sysconfigdata/__pycache__ - rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/collections/__pycache__ - rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/importlib/__pycache__ -endef - -PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_REMOVE_USELESS_FILES - -# -# Make sure libpython gets stripped out on target -# -define PYTHON3_ENSURE_LIBPYTHON_STRIPPED - chmod u+w $(TARGET_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)*.so -endef - -PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_ENSURE_LIBPYTHON_STRIPPED - -PYTHON3_AUTORECONF = YES -PYTHON3_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive - -define PYTHON3_INSTALL_SYMLINK - ln -fs python3 $(TARGET_DIR)/usr/bin/python -endef - -ifneq ($(BR2_PACKAGE_PYTHON),y) -PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_INSTALL_SYMLINK -endif - -# Some packages may have build scripts requiring python3, whatever is the -# python version chosen for the target. -# Only install the python symlink in the host tree if python3 is enabled -# for the target. -ifeq ($(BR2_PACKAGE_PYTHON3),y) -define HOST_PYTHON3_INSTALL_SYMLINK - ln -fs python3 $(HOST_DIR)/bin/python - ln -fs python3-config $(HOST_DIR)/bin/python-config -endef - -HOST_PYTHON3_POST_INSTALL_HOOKS += HOST_PYTHON3_INSTALL_SYMLINK -endif - -# Provided to other packages -PYTHON3_PATH = $(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/ - -# Support for socket.AF_BLUETOOTH -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),y) -PYTHON3_DEPENDENCIES += bluez5_utils-headers -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) - -ifeq ($(BR2_REPRODUCIBLE),y) -define PYTHON3_FIX_TIME - find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -name '*.py' -print0 | \ - xargs -0 --no-run-if-empty touch -d @$(SOURCE_DATE_EPOCH) -endef -endif - -define PYTHON3_CREATE_PYC_FILES - $(PYTHON3_FIX_TIME) - PYTHONPATH="$(PYTHON3_PATH)" \ - $(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) \ - $(TOPDIR)/support/scripts/pycompile.py \ - $(if $(VERBOSE),--verbose) \ - --strip-root $(TARGET_DIR) \ - $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -endef - -ifeq ($(BR2_PACKAGE_PYTHON3_PYC_ONLY)$(BR2_PACKAGE_PYTHON3_PY_PYC),y) -PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_CREATE_PYC_FILES -endif - -ifeq ($(BR2_PACKAGE_PYTHON3_PYC_ONLY),y) -define PYTHON3_REMOVE_PY_FILES - find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -name '*.py' \ - $(if $(strip $(KEEP_PYTHON_PY_FILES)),-not \( $(call finddirclauses,$(TARGET_DIR),$(KEEP_PYTHON_PY_FILES)) \) ) \ - -print0 | \ - xargs -0 --no-run-if-empty rm -f -endef -PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_REMOVE_PY_FILES -endif - -# Normally, *.pyc files should not have been compiled, but just in -# case, we make sure we remove all of them. -ifeq ($(BR2_PACKAGE_PYTHON3_PY_ONLY),y) -define PYTHON3_REMOVE_PYC_FILES - find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -name '*.pyc' -print0 | \ - xargs -0 --no-run-if-empty rm -f -endef -PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_REMOVE_PYC_FILES -endif - -# In all cases, we don't want to keep the optimized .opt-1.pyc and -# .opt-2.pyc files, since they can't work without their non-optimized -# variant. -define PYTHON3_REMOVE_OPTIMIZED_PYC_FILES - find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -name '*.opt-1.pyc' -print0 -o -name '*.opt-2.pyc' -print0 | \ - xargs -0 --no-run-if-empty rm -f -endef -PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_REMOVE_OPTIMIZED_PYC_FILES diff --git a/buildroot-2021.05/package/qdecoder/qdecoder.mk b/buildroot-2021.05/package/qdecoder/qdecoder.mk deleted file mode 100644 index 12784fc4..00000000 --- a/buildroot-2021.05/package/qdecoder/qdecoder.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# qdecoder -# -################################################################################ - -QDECODER_VERSION = 12.0.8 -QDECODER_SITE = $(call github,wolkykim,qdecoder,v$(QDECODER_VERSION)) -QDECODER_LICENSE = BSD-2 -QDECODER_LICENSE_FILES = COPYING -QDECODER_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' - -QDECODER_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch b/buildroot-2021.05/package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch deleted file mode 100644 index 84170899..00000000 --- a/buildroot-2021.05/package/qemu/0001-user-exec-fix-usage-of-mcontext-structure-on-ARM-uCl.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 923d25365fbdff17fa4c8c2883960be07c3dad56 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Fri, 5 May 2017 09:07:15 +0200 -Subject: [PATCH] user-exec: fix usage of mcontext structure on ARM/uClibc - -user-exec.c has some conditional code to decide how to use the -mcontext structure. Unfortunately, since uClibc defines __GLIBC__, but -with old versions of __GLIBC__ and __GLIBC_MINOR__, an old code path -gets used, which doesn't apply to uClibc. - -Fix this by excluding __UCLIBC__, which ensures we fall back to the -general case of using uc_mcontext.arm_pc, which works fine with -uClibc. - -Signed-off-by: Thomas Petazzoni ---- - accel/tcg/user-exec.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c -index 4ebe25461a..0496674fbd 100644 ---- a/accel/tcg/user-exec.c -+++ b/accel/tcg/user-exec.c -@@ -536,7 +536,7 @@ int cpu_signal_handler(int host_signum, void *pinfo, - - #if defined(__NetBSD__) - pc = uc->uc_mcontext.__gregs[_REG_R15]; --#elif defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3)) -+#elif defined(__GLIBC__) && !defined(__UCLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 3)) - pc = uc->uc_mcontext.gregs[R15]; - #else - pc = uc->uc_mcontext.arm_pc; --- -2.25.3 - diff --git a/buildroot-2021.05/package/qemu/0002-Fix-build-with-64-bits-time_t.patch b/buildroot-2021.05/package/qemu/0002-Fix-build-with-64-bits-time_t.patch deleted file mode 100644 index 7a720471..00000000 --- a/buildroot-2021.05/package/qemu/0002-Fix-build-with-64-bits-time_t.patch +++ /dev/null @@ -1,98 +0,0 @@ -From 839e51aa452345b440f8d2d0df84ab58bdedfcd1 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 14 Nov 2020 21:54:17 +0100 -Subject: [PATCH] Fix build with 64 bits time_t - -time element is deprecated on new input_event structure in kernel's -input.h [1] - -This will avoid the following build failure: - -hw/input/virtio-input-host.c: In function 'virtio_input_host_handle_status': -hw/input/virtio-input-host.c:198:28: error: 'struct input_event' has no member named 'time' - 198 | if (gettimeofday(&evdev.time, NULL)) { - | ^ - -Fixes: - - http://autobuild.buildroot.org/results/a538167e288c14208d557cd45446df86d3d599d5 - - http://autobuild.buildroot.org/results/efd4474fb4b6c0ce0ab3838ce130429c51e43bbb - -[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f - -Signed-off-by: Fabrice Fontaine ---- - contrib/vhost-user-input/main.c | 10 +++++++++- - hw/input/virtio-input-host.c | 10 +++++++++- - 2 files changed, 18 insertions(+), 2 deletions(-) - -diff --git a/contrib/vhost-user-input/main.c b/contrib/vhost-user-input/main.c -index 6020c6f33a..e688c3e0a9 100644 ---- a/contrib/vhost-user-input/main.c -+++ b/contrib/vhost-user-input/main.c -@@ -17,6 +17,11 @@ - #include "standard-headers/linux/virtio_input.h" - #include "qapi/error.h" - -+#ifndef input_event_sec -+#define input_event_sec time.tv_sec -+#define input_event_usec time.tv_usec -+#endif -+ - enum { - VHOST_USER_INPUT_MAX_QUEUES = 2, - }; -@@ -115,13 +120,16 @@ vi_evdev_watch(VuDev *dev, int condition, void *data) - static void vi_handle_status(VuInput *vi, virtio_input_event *event) - { - struct input_event evdev; -+ struct timeval tval; - int rc; - -- if (gettimeofday(&evdev.time, NULL)) { -+ if (gettimeofday(&tval, NULL)) { - perror("vi_handle_status: gettimeofday"); - return; - } - -+ evdev.input_event_sec = tval.tv_sec; -+ evdev.input_event_usec = tval.tv_usec; - evdev.type = le16toh(event->type); - evdev.code = le16toh(event->code); - evdev.value = le32toh(event->value); -diff --git a/hw/input/virtio-input-host.c b/hw/input/virtio-input-host.c -index 85daf73f1a..2e261737e1 100644 ---- a/hw/input/virtio-input-host.c -+++ b/hw/input/virtio-input-host.c -@@ -16,6 +16,11 @@ - #include - #include "standard-headers/linux/input.h" - -+#ifndef input_event_sec -+#define input_event_sec time.tv_sec -+#define input_event_usec time.tv_usec -+#endif -+ - /* ----------------------------------------------------------------- */ - - static struct virtio_input_config virtio_input_host_config[] = { -@@ -193,13 +198,16 @@ static void virtio_input_host_handle_status(VirtIOInput *vinput, - { - VirtIOInputHost *vih = VIRTIO_INPUT_HOST(vinput); - struct input_event evdev; -+ struct timeval tval; - int rc; - -- if (gettimeofday(&evdev.time, NULL)) { -+ if (gettimeofday(&tval, NULL)) { - perror("virtio_input_host_handle_status: gettimeofday"); - return; - } - -+ evdev.input_event_sec = tval.tv_sec; -+ evdev.input_event_usec = tval.tv_usec; - evdev.type = le16_to_cpu(event->type); - evdev.code = le16_to_cpu(event->code); - evdev.value = le32_to_cpu(event->value); --- -2.29.2 - diff --git a/buildroot-2021.05/package/qemu/0003-hw-usb-host-libusb.c-fix-build-with-kernel-5.0.patch b/buildroot-2021.05/package/qemu/0003-hw-usb-host-libusb.c-fix-build-with-kernel-5.0.patch deleted file mode 100644 index 2510dc9c..00000000 --- a/buildroot-2021.05/package/qemu/0003-hw-usb-host-libusb.c-fix-build-with-kernel-5.0.patch +++ /dev/null @@ -1,43 +0,0 @@ -From ecd615dfe328e3ab551cea3ba243d908936ed382 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 13 Dec 2020 21:27:31 +0100 -Subject: [PATCH] hw/usb/host-libusb.c: fix build with kernel < 5.0 - -USBDEVFS_GET_SPEED is used since version 5.2.0 and -https://gitlab.com/qemu-project/qemu/-/commit/202d69a715a4b1824dcd7ec1683d027ed2bae6d3 -resulting in the following build failure with kernel < 5.0: - -../hw/usb/host-libusb.c: In function 'usb_host_open': -../hw/usb/host-libusb.c:953:32: error: 'USBDEVFS_GET_SPEED' undeclared (first use in this function); did you mean 'USBDEVFS_GETDRIVER'? - int rc = ioctl(hostfd, USBDEVFS_GET_SPEED, NULL); - ^~~~~~~~~~~~~~~~~~ - USBDEVFS_GETDRIVER - -A tentative was made to fix this build failure with -https://gitlab.com/qemu-project/qemu/-/commit/4969e697c15ac536d5c0700381d5d026ef7f0588 - -However, the assumtion that distros with old kernels also have old -libusb is just wrong so also add a check for defined(USBDEVFS_GET_SPEED) - -Signed-off-by: Fabrice Fontaine -[Upstream status: sent to qemu-devel@nongnu.org] ---- - hw/usb/host-libusb.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/hw/usb/host-libusb.c b/hw/usb/host-libusb.c -index b950501d10..0343300d3e 100644 ---- a/hw/usb/host-libusb.c -+++ b/hw/usb/host-libusb.c -@@ -941,7 +941,7 @@ static int usb_host_open(USBHostDevice *s, libusb_device *dev, int hostfd) - usb_host_ep_update(s); - - libusb_speed = libusb_get_device_speed(dev); --#if LIBUSB_API_VERSION >= 0x01000107 && defined(CONFIG_LINUX) -+#if LIBUSB_API_VERSION >= 0x01000107 && defined(CONFIG_LINUX) && defined(USBDEVFS_GET_SPEED) - if (hostfd && libusb_speed == 0) { - /* - * Workaround libusb bug: libusb_get_device_speed() does not --- -2.29.2 - diff --git a/buildroot-2021.05/package/qemu/0004-meson-add-tests-option.patch b/buildroot-2021.05/package/qemu/0004-meson-add-tests-option.patch deleted file mode 100644 index aff8a0f9..00000000 --- a/buildroot-2021.05/package/qemu/0004-meson-add-tests-option.patch +++ /dev/null @@ -1,92 +0,0 @@ -From c24f6cc8f847a4f90cd8fe0f94604862c5ac4a5e Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Mon, 21 Dec 2020 22:12:14 +0100 -Subject: [PATCH] meson: add tests option - -tests/fp/fp-bench.c use fenv.h that is not always provided -by the libc (uClibc). - -To workaround this issue, add an new meson option to -disable tests while building Qemu. - -Fixes: -http://autobuild.buildroot.net/results/53f5d8baa994d599b9da013ee643b82353366ec3/build-end.log - -Signed-off-by: Romain Naour ---- - configure | 7 +++++++ - meson.build | 5 ++++- - meson_options.txt | 2 ++ - 3 files changed, 13 insertions(+), 1 deletion(-) - -diff --git a/configure b/configure -index 18c26e0389..7cceae4418 100755 ---- a/configure -+++ b/configure -@@ -449,6 +449,7 @@ meson="" - ninja="" - skip_meson=no - gettext="" -+tests="auto" - - bogus_os="no" - malloc_trim="auto" -@@ -1525,6 +1526,10 @@ for opt do - ;; - --disable-libdaxctl) libdaxctl=no - ;; -+ --disable-tests) tests="disabled" -+ ;; -+ --enable-tests) tests="enabled" -+ ;; - *) - echo "ERROR: unknown option $opt" - echo "Try '$0 --help' for more information" -@@ -1850,6 +1855,7 @@ disabled with --disable-FEATURE, default is enabled if available: - xkbcommon xkbcommon support - rng-none dummy RNG, avoid using /dev/(u)random and getrandom() - libdaxctl libdaxctl support -+ tests build tests - - NOTE: The object files are built at the place where configure is launched - EOF -@@ -7014,6 +7020,7 @@ NINJA=$ninja $meson setup \ - -Diconv=$iconv -Dcurses=$curses -Dlibudev=$libudev\ - -Ddocs=$docs -Dsphinx_build=$sphinx_build -Dinstall_blobs=$blobs \ - -Dvhost_user_blk_server=$vhost_user_blk_server \ -+ -Dtests=$tests \ - $cross_arg \ - "$PWD" "$source_path" - -diff --git a/meson.build b/meson.build -index e3386196ba..7f4efdc347 100644 ---- a/meson.build -+++ b/meson.build -@@ -1944,7 +1944,10 @@ subdir('scripts') - subdir('tools') - subdir('pc-bios') - subdir('docs') --subdir('tests') -+if get_option('tests').enabled() -+ subdir('tests') -+endif -+ - if 'CONFIG_GTK' in config_host - subdir('po') - endif -diff --git a/meson_options.txt b/meson_options.txt -index f6f64785fe..81bffbfe87 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -66,6 +66,8 @@ option('virtiofsd', type: 'feature', value: 'auto', - description: 'build virtiofs daemon (virtiofsd)') - option('vhost_user_blk_server', type: 'feature', value: 'auto', - description: 'build vhost-user-blk server') -+option('tests', type : 'feature', value : 'auto', -+ description: 'Tests build support') - - option('capstone', type: 'combo', value: 'auto', - choices: ['disabled', 'enabled', 'auto', 'system', 'internal'], --- -2.29.2 - diff --git a/buildroot-2021.05/package/qemu/0005-build-no-pie-is-no-functional-linker-flag.patch b/buildroot-2021.05/package/qemu/0005-build-no-pie-is-no-functional-linker-flag.patch deleted file mode 100644 index 6a219491..00000000 --- a/buildroot-2021.05/package/qemu/0005-build-no-pie-is-no-functional-linker-flag.patch +++ /dev/null @@ -1,79 +0,0 @@ -From bbd2d5a8120771ec59b86a80a1f51884e0a26e53 Mon Sep 17 00:00:00 2001 -From: Christian Ehrhardt -Date: Mon, 14 Dec 2020 16:09:38 +0100 -Subject: [PATCH] build: -no-pie is no functional linker flag - -Recent binutils changes dropping unsupported options [1] caused a build -issue in regard to the optionroms. - - ld -m elf_i386 -T /<>/pc-bios/optionrom//flat.lds -no-pie \ - -s -o multiboot.img multiboot.o - ld.bfd: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?) - -This isn't really a regression in ld.bfd, filing the bug upstream -revealed that this never worked as a ld flag [2] - in fact it seems we -were by accident setting --nmagic). - -Since it never had the wanted effect this usage of LDFLAGS_NOPIE, should be -droppable without any effect. This also is the only use-case of LDFLAGS_NOPIE -in .mak, therefore we can also remove it from being added there. - -[1]: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=983d925d -[2]: https://sourceware.org/bugzilla/show_bug.cgi?id=27050#c5 - -Signed-off-by: Christian Ehrhardt -Message-Id: <20201214150938.1297512-1-christian.ehrhardt@canonical.com> -Cc: qemu-stable@nongnu.org -Signed-off-by: Paolo Bonzini - -[Retrieved from: -https://gitlab.com/qemu-project/qemu/-/commit/bbd2d5a8120771ec59b86a80a1f51884e0a26e53] -Signed-off-by: Fabrice Fontaine ---- - configure | 3 --- - pc-bios/optionrom/Makefile | 1 - - 2 files changed, 4 deletions(-) - -diff --git a/configure b/configure -index cb21108d34..c228f7c21e 100755 ---- a/configure -+++ b/configure -@@ -2137,7 +2137,6 @@ EOF - # Check we support --no-pie first; we will need this for building ROMs. - if compile_prog "-Werror -fno-pie" "-no-pie"; then - CFLAGS_NOPIE="-fno-pie" -- LDFLAGS_NOPIE="-no-pie" - fi - - if test "$static" = "yes"; then -@@ -2153,7 +2152,6 @@ if test "$static" = "yes"; then - fi - elif test "$pie" = "no"; then - CONFIGURE_CFLAGS="$CFLAGS_NOPIE $CONFIGURE_CFLAGS" -- CONFIGURE_LDFLAGS="$LDFLAGS_NOPIE $CONFIGURE_LDFLAGS" - elif compile_prog "-Werror -fPIE -DPIE" "-pie"; then - CONFIGURE_CFLAGS="-fPIE -DPIE $CONFIGURE_CFLAGS" - CONFIGURE_LDFLAGS="-pie $CONFIGURE_LDFLAGS" -@@ -6714,7 +6712,6 @@ echo "QEMU_CXXFLAGS=$QEMU_CXXFLAGS" >> $config_host_mak - echo "GLIB_CFLAGS=$glib_cflags" >> $config_host_mak - echo "GLIB_LIBS=$glib_libs" >> $config_host_mak - echo "QEMU_LDFLAGS=$QEMU_LDFLAGS" >> $config_host_mak --echo "LDFLAGS_NOPIE=$LDFLAGS_NOPIE" >> $config_host_mak - echo "LD_I386_EMULATION=$ld_i386_emulation" >> $config_host_mak - echo "EXESUF=$EXESUF" >> $config_host_mak - echo "HOST_DSOSUF=$HOST_DSOSUF" >> $config_host_mak -diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile -index 084fc10f05..30771f8d17 100644 ---- a/pc-bios/optionrom/Makefile -+++ b/pc-bios/optionrom/Makefile -@@ -41,7 +41,6 @@ override CFLAGS += $(call cc-option, $(Wa)-32) - - LD_I386_EMULATION ?= elf_i386 - override LDFLAGS = -m $(LD_I386_EMULATION) -T $(SRC_DIR)/flat.lds --override LDFLAGS += $(LDFLAGS_NOPIE) - - all: multiboot.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bin pvh.bin - --- -GitLab - diff --git a/buildroot-2021.05/package/qemu/Config.in b/buildroot-2021.05/package/qemu/Config.in deleted file mode 100644 index 391fd5fa..00000000 --- a/buildroot-2021.05/package/qemu/Config.in +++ /dev/null @@ -1,152 +0,0 @@ -config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET - bool - # Only tested on these architectures - default y if BR2_aarch64 || BR2_i386 || BR2_mips || BR2_mipsel \ - || BR2_x86_64 || BR2_arm \ - || BR2_powerpc64 || BR2_powerpc64le - -comment "QEMU requires a toolchain with wchar, threads" - depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET - depends on BR2_USE_MMU - depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR) - -config BR2_PACKAGE_QEMU - bool "QEMU" - depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_WCHAR # gettext - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_PIXMAN - select BR2_PACKAGE_ZLIB - help - QEMU is a generic and open source machine emulator and - virtualizer. - - When used as a machine emulator, QEMU can run OSes and - programs made for one machine (e.g. an ARM board) on a - different machine (e.g. your own PC). By using dynamic - translation, it achieves very good performance. - - When used as a virtualizer, QEMU achieves near native - performances by executing the guest code directly on the - host CPU. QEMU supports virtualization when executing under - the Xen hypervisor or using the KVM kernel module in - Linux. When using KVM, QEMU can virtualize x86, server and - embedded PowerPC, and S390 guests. - - http://qemu.org/ - -if BR2_PACKAGE_QEMU - -comment "Emulators selection" - -config BR2_PACKAGE_QEMU_CUSTOM_TARGETS - string "Enable specific targets" - help - Enter here the list of QEMU targets you want to build. For - example: - - System emulation | User-land emulation - ----------------------+----------------------- - i386-softmmu | i386-linux-user - arm-softmmu | ppc-linux-user - x86_64-softmmu | sparc-bsd-user - ... | ... - -comment "Networking options" - -config BR2_PACKAGE_QEMU_SLIRP - bool "Enable user mode networking (SLIRP)" - select BR2_PACKAGE_SLIRP - help - Enable user mode network stack, which is the default - networking backend. It requires no administrator privileges - and generally is the easiest to use but has some - limitations: - - - there is a lot of overhead so the performance is poor; - - in general ICMP does not work (can't ping from/to a guest) - - on Linux hosts, ping does work from within the guest, but it - needs initial setup by root (once per host) - - the guest is not directly accessible from the host or the - external network - - User Networking is implemented using "slirp", which provides a - full TCP/IP stack within QEMU and uses that stack to implement - a virtual NAT'd network. - - Notice that this option does not disable other networking - modes. - -if BR2_PACKAGE_QEMU_CUSTOM_TARGETS = "" - -comment "... or you can select emulator families to enable, below:" - -config BR2_PACKAGE_QEMU_SYSTEM - bool "Enable all systems emulation" - depends on !BR2_STATIC_LIBS # dtc - select BR2_PACKAGE_QEMU_FDT - help - Say 'y' to build all system emulators/virtualisers that QEMU - supports. - -comment "systems emulation needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_QEMU_LINUX_USER - bool "Enable all Linux user-land emulation" - # Incompatible "struct sigevent" definition on musl - depends on !BR2_TOOLCHAIN_USES_MUSL - help - Say 'y' to build all Linux user-land emulators that QEMU - supports. - -# Note: bsd-user can not be build on Linux - -comment "Linux user-land emulation needs a glibc or uClibc toolchain" - depends on BR2_TOOLCHAIN_USES_MUSL - -endif # BR2_PACKAGE_QEMU_CUSTOM_TARGETS == "" - -config BR2_PACKAGE_QEMU_HAS_EMULS - def_bool y - depends on BR2_PACKAGE_QEMU_SYSTEM || BR2_PACKAGE_QEMU_LINUX_USER || BR2_PACKAGE_QEMU_CUSTOM_TARGETS != "" - -if BR2_PACKAGE_QEMU_HAS_EMULS - -comment "Frontends" - -config BR2_PACKAGE_QEMU_SDL - bool "Enable SDL frontend" - depends on !BR2_STATIC_LIBS # sdl2 - select BR2_PACKAGE_SDL2 - help - Say 'y' to enable the SDL frontend, that is, a graphical - window presenting the VM's display. - -comment "SDL frontend needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -comment "Misc. features" - -config BR2_PACKAGE_QEMU_FDT - bool "Enable FDT" - depends on !BR2_STATIC_LIBS # dtc - select BR2_PACKAGE_DTC - help - Say 'y' here to have QEMU capable of constructing Device - Trees, and passing them to the VMs. - -comment "FDT support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -endif # BR2_PACKAGE_QEMU_HAS_EMULS - -config BR2_PACKAGE_QEMU_TOOLS - bool "Enable tools" - help - Say 'y' here to include tools packaged with QEMU - (e.g. qemu-img). - -endif # BR2_PACKAGE_QEMU diff --git a/buildroot-2021.05/package/qemu/Config.in.host b/buildroot-2021.05/package/qemu/Config.in.host deleted file mode 100644 index 31637970..00000000 --- a/buildroot-2021.05/package/qemu/Config.in.host +++ /dev/null @@ -1,98 +0,0 @@ -config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS - bool - default y if BR2_arm - default y if BR2_armeb - default y if BR2_aarch64 - default y if BR2_i386 - default y if BR2_m68k - default y if BR2_microblazeel - default y if BR2_microblazebe - default y if BR2_mips - default y if BR2_mipsel - default y if BR2_nios2 - default y if BR2_or1k - default y if BR2_powerpc - default y if BR2_powerpc64 - default y if BR2_powerpc64le - default y if BR2_riscv - default y if BR2_s390x - default y if BR2_sh - default y if BR2_sparc - default y if BR2_sparc64 - default y if BR2_xtensa - default y if BR2_x86_64 - depends on !BR2_x86_steamroller && !BR2_x86_core_avx2 - depends on !BR2_powerpc_620 && !BR2_powerpc_630 && !BR2_powerpc_970 - -config BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS - bool - default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS - default y if BR2_mips64 - default y if BR2_mips64el - -config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS - bool - default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS - -config BR2_PACKAGE_HOST_QEMU - bool "host qemu" - depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS - select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE \ - if !BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE && BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS - select BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE \ - if !BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS - help - QEMU is a generic and open source machine emulator and - virtualizer. - - This option builds an emulator for your selected architecture. - - http://www.qemu.org - -if BR2_PACKAGE_HOST_QEMU - -comment "Emulators selection" - -config BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE - bool "Enable system emulation" - depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS - help - Enables the build of the system emulator, which allows to - boot an entire system in Qemu. - -config BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE - bool "Enable Linux user-land emulation" - depends on BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS - help - Enables the build of the user-land emulator, which allows to - run user-space applications. - - Note that system calls made by the emulated user-land are - serviced by the running host kernel. Therefore, if the - kernel headers used by your target are more recent than - the running host kernel, you may run into invalid system - calls, which may yield surprising effects. - -config BR2_PACKAGE_HOST_QEMU_VDE2 - bool "VDE2 support" - help - Enables VDE2 support. VDE2 stands for Virtual Distributed - Ethernet and can be used to create virtual switches to - "plug" both physical and virtual machines in them. - -config BR2_PACKAGE_HOST_QEMU_VIRTFS - bool "Virtual filesystem support" - help - Enables support for virtual filesystem in Qemu allowing - shared filesystem between Qemu and its emulated target. - -config BR2_PACKAGE_HOST_QEMU_USB - bool "USB passthrough support" - depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb - help - Enables USB passthrough support from guest to host. - -comment "USB passthrough support needs a toolchain w/ host gcc >= 4.9" - depends on !BR2_HOST_GCC_AT_LEAST_4_9 - -endif diff --git a/buildroot-2021.05/package/qemu/qemu.hash b/buildroot-2021.05/package/qemu/qemu.hash deleted file mode 100644 index 7d9936ad..00000000 --- a/buildroot-2021.05/package/qemu/qemu.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed, tarball verified with GPG signature -sha256 cb18d889b628fbe637672b0326789d9b0e3b8027e0445b936537c78549df17bc qemu-5.2.0.tar.xz -sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/qemu/qemu.mk b/buildroot-2021.05/package/qemu/qemu.mk deleted file mode 100644 index b552ea13..00000000 --- a/buildroot-2021.05/package/qemu/qemu.mk +++ /dev/null @@ -1,369 +0,0 @@ -################################################################################ -# -# qemu -# -################################################################################ - -QEMU_VERSION = 5.2.0 -QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz -QEMU_SITE = http://download.qemu.org -QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c -QEMU_LICENSE_FILES = COPYING COPYING.LIB -# NOTE: there is no top-level license file for non-(L)GPL licenses; -# the non-(L)GPL license texts are specified in the affected -# individual source files. -QEMU_CPE_ID_VENDOR = qemu - -#------------------------------------------------------------- - -# The build system is now partly based on Meson. -# However, building is still done with configure and make as in previous versions of QEMU. - -# Target-qemu -QEMU_DEPENDENCIES = host-meson host-pkgconf libglib2 zlib pixman host-python3 - -# Need the LIBS variable because librt and libm are -# not automatically pulled. :-( -QEMU_LIBS = -lrt -lm - -QEMU_OPTS = - -QEMU_VARS = LIBTOOL=$(HOST_DIR)/bin/libtool - -# If we want to specify only a subset of targets, we must still enable all -# of them, so that QEMU properly builds its list of default targets, from -# which it then checks if the specified sub-set is valid. That's what we -# do in the first part of the if-clause. -# Otherwise, if we do not want to pass a sub-set of targets, we then need -# to either enable or disable -user and/or -system emulation appropriately. -# That's what we do in the else-clause. -ifneq ($(call qstrip,$(BR2_PACKAGE_QEMU_CUSTOM_TARGETS)),) -QEMU_OPTS += --enable-system --enable-linux-user -QEMU_OPTS += --target-list="$(call qstrip,$(BR2_PACKAGE_QEMU_CUSTOM_TARGETS))" -else - -ifeq ($(BR2_PACKAGE_QEMU_SYSTEM),y) -QEMU_OPTS += --enable-system -else -QEMU_OPTS += --disable-system -endif - -ifeq ($(BR2_PACKAGE_QEMU_LINUX_USER),y) -QEMU_OPTS += --enable-linux-user -else -QEMU_OPTS += --disable-linux-user -endif - -endif - -ifeq ($(BR2_PACKAGE_QEMU_SLIRP),y) -QEMU_OPTS += --enable-slirp=system -QEMU_DEPENDENCIES += slirp -else -QEMU_OPTS += --disable-slirp -endif - -ifeq ($(BR2_PACKAGE_QEMU_SDL),y) -QEMU_OPTS += --enable-sdl -QEMU_DEPENDENCIES += sdl2 -QEMU_VARS += SDL2_CONFIG=$(BR2_STAGING_DIR)/usr/bin/sdl2-config -else -QEMU_OPTS += --disable-sdl -endif - -ifeq ($(BR2_PACKAGE_QEMU_FDT),y) -QEMU_OPTS += --enable-fdt -QEMU_DEPENDENCIES += dtc -else -QEMU_OPTS += --disable-fdt -endif - -ifeq ($(BR2_PACKAGE_QEMU_TOOLS),y) -QEMU_OPTS += --enable-tools -else -QEMU_OPTS += --disable-tools -endif - -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -QEMU_OPTS += --enable-seccomp -QEMU_DEPENDENCIES += libseccomp -else -QEMU_OPTS += --disable-seccomp -endif - -ifeq ($(BR2_PACKAGE_LIBSSH),y) -QEMU_OPTS += --enable-libssh -QEMU_DEPENDENCIES += libssh -else -QEMU_OPTS += --disable-libssh -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -QEMU_OPTS += --enable-libusb -QEMU_DEPENDENCIES += libusb -else -QEMU_OPTS += --disable-libusb -endif - -ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) -QEMU_OPTS += \ - --enable-vnc \ - --disable-vnc-sasl -QEMU_DEPENDENCIES += libvncserver -ifeq ($(BR2_PACKAGE_LIBPNG),y) -QEMU_OPTS += --enable-vnc-png -QEMU_DEPENDENCIES += libpng -else -QEMU_OPTS += --disable-vnc-png -endif -ifeq ($(BR2_PACKAGE_JPEG),y) -QEMU_OPTS += --enable-vnc-jpeg -QEMU_DEPENDENCIES += jpeg -else -QEMU_OPTS += --disable-vnc-jpeg -endif -else -QEMU_OPTS += --disable-vnc -endif - -ifeq ($(BR2_PACKAGE_NETTLE),y) -QEMU_OPTS += --enable-nettle -QEMU_DEPENDENCIES += nettle -else -QEMU_OPTS += --disable-nettle -endif - -ifeq ($(BR2_PACKAGE_NUMACTL),y) -QEMU_OPTS += --enable-numa -QEMU_DEPENDENCIES += numactl -else -QEMU_OPTS += --disable-numa -endif - -ifeq ($(BR2_PACKAGE_SPICE),y) -QEMU_OPTS += --enable-spice -QEMU_DEPENDENCIES += spice -else -QEMU_OPTS += --disable-spice -endif - -ifeq ($(BR2_PACKAGE_USBREDIR),y) -QEMU_OPTS += --enable-usb-redir -QEMU_DEPENDENCIES += usbredir -else -QEMU_OPTS += --disable-usb-redir -endif - -# Override CPP, as it expects to be able to call it like it'd -# call the compiler. -define QEMU_CONFIGURE_CMDS - unset TARGET_DIR; \ - cd $(@D); \ - LIBS='$(QEMU_LIBS)' \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - CPP="$(TARGET_CC) -E" \ - $(QEMU_VARS) \ - ./configure \ - --prefix=/usr \ - --cross-prefix=$(TARGET_CROSS) \ - --audio-drv-list= \ - --meson=$(HOST_DIR)/bin/meson \ - --ninja=$(HOST_DIR)/bin/ninja \ - --enable-kvm \ - --enable-attr \ - --enable-vhost-net \ - --disable-bsd-user \ - --disable-containers \ - --disable-xen \ - --disable-virtfs \ - --disable-brlapi \ - --disable-curses \ - --disable-curl \ - --disable-vde \ - --disable-linux-aio \ - --disable-linux-io-uring \ - --disable-cap-ng \ - --disable-docs \ - --disable-rbd \ - --disable-libiscsi \ - --disable-strip \ - --disable-sparse \ - --disable-mpath \ - --disable-sanitizers \ - --disable-hvf \ - --disable-whpx \ - --disable-malloc-trim \ - --disable-membarrier \ - --disable-vhost-crypto \ - --disable-libxml2 \ - --disable-capstone \ - --disable-git-update \ - --disable-opengl \ - --disable-vhost-user-blk-server \ - --disable-virtiofsd \ - --disable-tests \ - $(QEMU_OPTS) -endef - -define QEMU_BUILD_CMDS - unset TARGET_DIR; \ - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define QEMU_INSTALL_TARGET_CMDS - unset TARGET_DIR; \ - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(QEMU_MAKE_ENV) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) - -#------------------------------------------------------------- -# Host-qemu - -HOST_QEMU_DEPENDENCIES = host-meson host-pkgconf host-zlib host-libglib2 host-pixman host-python3 - -# BR ARCH qemu -# ------- ---- -# arm arm -# armeb armeb -# i486 i386 -# i586 i386 -# i686 i386 -# x86_64 x86_64 -# m68k m68k -# microblaze microblaze -# mips mips -# mipsel mipsel -# mips64 mips64 -# mips64el mips64el -# nios2 nios2 -# or1k or1k -# powerpc ppc -# powerpc64 ppc64 -# powerpc64le ppc64 (system) / ppc64le (usermode) -# sh2a not supported -# sh4 sh4 -# sh4eb sh4eb -# sh4a sh4 -# sh4aeb sh4eb -# sparc sparc -# sparc64 sparc64 -# xtensa xtensa - -HOST_QEMU_ARCH = $(ARCH) -ifeq ($(HOST_QEMU_ARCH),i486) -HOST_QEMU_ARCH = i386 -endif -ifeq ($(HOST_QEMU_ARCH),i586) -HOST_QEMU_ARCH = i386 -endif -ifeq ($(HOST_QEMU_ARCH),i686) -HOST_QEMU_ARCH = i386 -endif -ifeq ($(HOST_QEMU_ARCH),powerpc) -HOST_QEMU_ARCH = ppc -endif -ifeq ($(HOST_QEMU_ARCH),powerpc64) -HOST_QEMU_ARCH = ppc64 -endif -ifeq ($(HOST_QEMU_ARCH),powerpc64le) -HOST_QEMU_ARCH = ppc64le -HOST_QEMU_SYS_ARCH = ppc64 -endif -ifeq ($(HOST_QEMU_ARCH),sh4a) -HOST_QEMU_ARCH = sh4 -endif -ifeq ($(HOST_QEMU_ARCH),sh4aeb) -HOST_QEMU_ARCH = sh4eb -endif -HOST_QEMU_SYS_ARCH ?= $(HOST_QEMU_ARCH) - -HOST_QEMU_CFLAGS = $(HOST_CFLAGS) - -ifeq ($(BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE),y) -HOST_QEMU_TARGETS += $(HOST_QEMU_SYS_ARCH)-softmmu -HOST_QEMU_OPTS += --enable-system --enable-fdt -HOST_QEMU_CFLAGS += -I$(HOST_DIR)/include/libfdt -HOST_QEMU_DEPENDENCIES += host-dtc -else -HOST_QEMU_OPTS += --disable-system -endif - -ifeq ($(BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE),y) -HOST_QEMU_TARGETS += $(HOST_QEMU_ARCH)-linux-user -HOST_QEMU_OPTS += --enable-linux-user - -HOST_QEMU_HOST_SYSTEM_TYPE = $(shell uname -s) -ifneq ($(HOST_QEMU_HOST_SYSTEM_TYPE),Linux) -$(error "qemu-user can only be used on Linux hosts") -endif - -else # BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE -HOST_QEMU_OPTS += --disable-linux-user -endif # BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE - -ifeq ($(BR2_PACKAGE_HOST_QEMU_VDE2),y) -HOST_QEMU_OPTS += --enable-vde -HOST_QEMU_DEPENDENCIES += host-vde2 -endif - -# virtfs-proxy-helper is the only user of libcap-ng. -ifeq ($(BR2_PACKAGE_HOST_QEMU_VIRTFS),y) -HOST_QEMU_OPTS += --enable-virtfs --enable-cap-ng -HOST_QEMU_DEPENDENCIES += host-libcap-ng -else -HOST_QEMU_OPTS += --disable-virtfs --disable-cap-ng -endif - -ifeq ($(BR2_PACKAGE_HOST_QEMU_USB),y) -HOST_QEMU_OPTS += --enable-libusb -HOST_QEMU_DEPENDENCIES += host-libusb -else -HOST_QEMU_OPTS += --disable-libusb -endif - -# Override CPP, as it expects to be able to call it like it'd -# call the compiler. -define HOST_QEMU_CONFIGURE_CMDS - unset TARGET_DIR; \ - cd $(@D); $(HOST_CONFIGURE_OPTS) CPP="$(HOSTCC) -E" \ - ./configure \ - --target-list="$(HOST_QEMU_TARGETS)" \ - --prefix="$(HOST_DIR)" \ - --interp-prefix=$(STAGING_DIR) \ - --cc="$(HOSTCC)" \ - --host-cc="$(HOSTCC)" \ - --extra-cflags="$(HOST_QEMU_CFLAGS)" \ - --extra-ldflags="$(HOST_LDFLAGS)" \ - --meson=$(HOST_DIR)/bin/meson \ - --ninja=$(HOST_DIR)/bin/ninja \ - --disable-bzip2 \ - --disable-containers \ - --disable-curl \ - --disable-libssh \ - --disable-linux-io-uring \ - --disable-sdl \ - --disable-vhost-user-blk-server \ - --disable-virtiofsd \ - --disable-vnc-jpeg \ - --disable-vnc-png \ - --disable-vnc-sasl \ - --disable-tests \ - $(HOST_QEMU_OPTS) -endef - -define HOST_QEMU_BUILD_CMDS - unset TARGET_DIR; \ - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define HOST_QEMU_INSTALL_CMDS - unset TARGET_DIR; \ - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install -endef - -$(eval $(host-generic-package)) - -# variable used by other packages -QEMU_USER = $(HOST_DIR)/bin/qemu-$(HOST_QEMU_ARCH) diff --git a/buildroot-2021.05/package/qhull/qhull.mk b/buildroot-2021.05/package/qhull/qhull.mk deleted file mode 100644 index c11bed03..00000000 --- a/buildroot-2021.05/package/qhull/qhull.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# qhull -# -################################################################################ - -QHULL_VERSION = 8.0.2 -QHULL_SITE = http://www.qhull.org/download -QHULL_SOURCE = qhull-2020-src-$(QHULL_VERSION).tgz -QHULL_INSTALL_STAGING = YES -QHULL_LICENSE = BSD-Style -QHULL_LICENSE_FILES = COPYING.txt - -# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable -# although BUILD_STATIC_LIBS=ON is default, make it explicit, -# cmake and static/shared libs is confusing enough already. -ifeq ($(BR2_STATIC_LIBS),y) -QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=ON -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=ON -else ifeq ($(BR2_SHARED_LIBS),y) -QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/qoriq-rcw/Config.in.host b/buildroot-2021.05/package/qoriq-rcw/Config.in.host deleted file mode 100644 index 1f69c038..00000000 --- a/buildroot-2021.05/package/qoriq-rcw/Config.in.host +++ /dev/null @@ -1,28 +0,0 @@ -config BR2_PACKAGE_HOST_QORIQ_RCW - bool "host qoriq-rcw" - help - This package provides an reset configuration word(RCW) - compiler to build NXP QoriQ/LS PBL/RCW binary(s). - - The package installs example configurations and scripts - for each devkit supported in the current release see - $(HOST_DIR)/share/rcw. Either a SDK or post scripts can - then use this toolset and examples. - - https://source.codeaurora.org/external/qoriq/qoriq-components/rcw/ - -if BR2_PACKAGE_HOST_QORIQ_RCW - -config BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH - string "RCW Source file paths" - help - Space-separated list of .rcw and .rcwi files, that will be - used to generate a RCW binary. The entire list of .rcwi files - used by the .rcw file must be specified. There must be a - single .rcw file in the list. - - This is optional. If left empty, the rcw package will be - included for use in the SDK or with post scripts but no - RCW binary will not be generated. - -endif diff --git a/buildroot-2021.05/package/qoriq-rcw/qoriq-rcw.mk b/buildroot-2021.05/package/qoriq-rcw/qoriq-rcw.mk deleted file mode 100644 index ecc5ce5e..00000000 --- a/buildroot-2021.05/package/qoriq-rcw/qoriq-rcw.mk +++ /dev/null @@ -1,67 +0,0 @@ -################################################################################ -# -# qoriq-rcw -# -################################################################################ - -QORIQ_RCW_VERSION = LSDK-20.12 -QORIQ_RCW_SITE = https://source.codeaurora.org/external/qoriq/qoriq-components/rcw -QORIQ_RCW_SITE_METHOD = git -QORIQ_RCW_LICENSE = BSD-3-Clause -QORIQ_RCW_LICENSE_FILES = LICENSE - -HOST_QORIQ_RCW_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY) - -QORIQ_RCW_FILES = $(call qstrip,$(BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH)) - -ifneq ($(QORIQ_RCW_FILES),) -QORIQ_RCW_INCLUDES = $(filter-out %.rcw,$(QORIQ_RCW_FILES)) -# Get the name of the custom rcw file from the custom list -QORIQ_RCW_PROJECT = $(notdir $(filter %.rcw,$(QORIQ_RCW_FILES))) - -# Error if there are no or more than one .rcw file -ifeq ($(BR_BUILDING),y) -ifneq ($(words $(QORIQ_RCW_PROJECT)),1) -$(error BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH must have exactly one .rcw file) -endif -endif - -ifneq ($(QORIQ_RCW_INCLUDES),) -define HOST_QORIQ_RCW_ADD_CUSTOM_RCW_INCLUDES - mkdir -p $(@D)/custom_board - cp -f $(QORIQ_RCW_INCLUDES) $(@D)/custom_board -endef -HOST_QORIQ_RCW_POST_PATCH_HOOKS += HOST_QORIQ_RCW_ADD_CUSTOM_RCW_INCLUDES -endif - -define HOST_QORIQ_RCW_ADD_CUSTOM_RCW_FILES - mkdir -p $(@D)/custom_board/rcw - cp -f $(filter %.rcw,$(QORIQ_RCW_FILES)) $(@D)/custom_board/rcw -endef -HOST_QORIQ_RCW_POST_PATCH_HOOKS += HOST_QORIQ_RCW_ADD_CUSTOM_RCW_FILES - -# rcw.py is a python3-only script, and we can be using either the -# system-provided python3, or our own built with host-python3. -# Fortunately, rcw.py uses #!/usr/bin/env python3, so it will -# easily find it from PATH. -define HOST_QORIQ_RCW_BUILD_CMDS - PATH=$(BR_PATH) \ - $(@D)/rcw.py \ - -i $(@D)/custom_board/rcw/$(QORIQ_RCW_PROJECT) \ - -I $(@D)/custom_board -o $(@D)/PBL.bin -endef - -define HOST_QORIQ_RCW_INSTALL_DELIVERY_FILE - $(INSTALL) -D -m 0644 $(@D)/PBL.bin $(BINARIES_DIR)/PBL.bin -endef -endif - -# Copy source files and script into $(HOST_DIR)/share/rcw/ so a developer -# could use a post image or SDK to build/install PBL files. -define HOST_QORIQ_RCW_INSTALL_CMDS - mkdir -p $(HOST_DIR)/share/rcw - cp -a $(@D)/* $(HOST_DIR)/share/rcw - $(HOST_QORIQ_RCW_INSTALL_DELIVERY_FILE) -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/qpdf/0001-libtests-cxx11.cc-fix-build-with-gcc-4.8.patch b/buildroot-2021.05/package/qpdf/0001-libtests-cxx11.cc-fix-build-with-gcc-4.8.patch deleted file mode 100644 index 76504c74..00000000 --- a/buildroot-2021.05/package/qpdf/0001-libtests-cxx11.cc-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,38 +0,0 @@ -From e70c2605a11d12a8eeee3e7eec46077956e11e1f Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 17 Feb 2020 22:36:08 +0100 -Subject: [PATCH] libtests/cxx11.cc: fix build with gcc 4.8 - -Build fails on gcc 4.8 since version 9.1.1 and commit -752416554086d5d34323bc14164d5084db83cfbd: - -libtests/cxx11.cc: In function 'void do_regex()': -libtests/cxx11.cc:347:42: error: 'strlen' is not a member of 'std' - std::cregex_iterator m3(str7, str7 + std::strlen(str7), expr4); - ^ - -To fix the build failure, add missing include on cstring - -Fixes: - - http://autobuild.buildroot.org/results/ad7fb68ae87850a85509eed80fd0cae8721b10c5 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/qpdf/qpdf/pull/400] ---- - libtests/cxx11.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libtests/cxx11.cc b/libtests/cxx11.cc -index fa1dc6b..91ed7b1 100644 ---- a/libtests/cxx11.cc -+++ b/libtests/cxx11.cc -@@ -1,5 +1,6 @@ - #include - #include -+#include - #include - #include - #include --- -2.24.1 - diff --git a/buildroot-2021.05/package/qpdf/Config.in b/buildroot-2021.05/package/qpdf/Config.in deleted file mode 100644 index 56a96e4f..00000000 --- a/buildroot-2021.05/package/qpdf/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_QPDF - bool "qpdf" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_JPEG - help - QPDF is a command-line program that does structural, - content- preserving transformations on PDF files. It could - have been called something like pdf-to-pdf. It also provides - many useful capabilities to developers of PDF-producing - software or for people who just want to look at the innards - of a PDF file to learn more about how they work. - - http://qpdf.sourceforge.net/ - -comment "qpdf needs a toolchain w/ C++, wchar, gcc >= 4.7" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 diff --git a/buildroot-2021.05/package/qpdf/qpdf.hash b/buildroot-2021.05/package/qpdf/qpdf.hash deleted file mode 100644 index 050c9d9a..00000000 --- a/buildroot-2021.05/package/qpdf/qpdf.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://sourceforge.net/projects/qpdf/files/qpdf/9.1.1/qpdf-9.1.1.sha512/download -sha512 008a11fef663a57ca173631f2053988023babea6c333cfe01db0ef955c8cd36d387ed9f2039f55bd5f9ca94c7a8e400461a09a15c5f89e03bc0817fdd0d3d585 qpdf-9.1.1.tar.gz -# Locally computed: -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt -sha256 fb929ac30decb4dc3a2eea2bec6c43296a797c5d2d602deb3784ee39430583d5 Artistic-2.0 diff --git a/buildroot-2021.05/package/qpdf/qpdf.mk b/buildroot-2021.05/package/qpdf/qpdf.mk deleted file mode 100644 index ec3d3f89..00000000 --- a/buildroot-2021.05/package/qpdf/qpdf.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# qpdf -# -################################################################################ - -QPDF_VERSION = 9.1.1 -QPDF_SITE = http://downloads.sourceforge.net/project/qpdf/qpdf/$(QPDF_VERSION) -QPDF_INSTALL_STAGING = YES -QPDF_LICENSE = Apache-2.0 or Artistic-2.0 -QPDF_LICENSE_FILES = LICENSE.txt Artistic-2.0 -QPDF_CPE_ID_VENDOR = qpdf_project -QPDF_DEPENDENCIES = host-pkgconf zlib jpeg - -QPDF_CONF_OPTS = --with-random=/dev/urandom - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -QPDF_CONF_OPTS += --enable-crypto-gnutls -QPDF_DEPENDENCIES += gnutls -else -QPDF_CONF_OPTS += --disable-crypto-gnutls -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/qpid-proton/0001-c-src-proactor-epoll-internal.h-fix-build-on-musl.patch b/buildroot-2021.05/package/qpid-proton/0001-c-src-proactor-epoll-internal.h-fix-build-on-musl.patch deleted file mode 100644 index 1806a7a7..00000000 --- a/buildroot-2021.05/package/qpid-proton/0001-c-src-proactor-epoll-internal.h-fix-build-on-musl.patch +++ /dev/null @@ -1,43 +0,0 @@ -From e4211aa978606b9201dc0eb2399d1af6c010a46a Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Wed, 17 Mar 2021 17:21:52 +0100 -Subject: [PATCH] c/src/proactor/epoll-internal.h: fix build on musl - -Build with epoll proactor on musl is broken since at least version 0.23.0 and -https://github.com/apache/qpid-proton/commit/37136940e3077f25ce58c94775f48c66f666f4a8 -because musl does not define PTHREAD_MUTEX_ADAPTIVE_NP resulting in the -following build failure: - -In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll.c:60: -/home/giuliobenetti/autobuild/run/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll-internal.h: In function 'pmutex_init': -/home/giuliobenetti/autobuild/run/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll-internal.h:319:36: error: 'PTHREAD_MUTEX_ADAPTIVE_NP' undeclared (first use in this function); did you mean 'PTHREAD_MUTEX_STALLED'? - 319 | pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ - | PTHREAD_MUTEX_STALLED - -Fixes: - - http://autobuild.buildroot.org/results/6a901b9ff68b7f52cabf8273d1017025fbd93b0d - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://issues.apache.org/jira/browse/PROTON-2346] ---- - c/src/proactor/epoll-internal.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/c/src/proactor/epoll-internal.h b/c/src/proactor/epoll-internal.h -index e8c9f0a9..fa6a6f2a 100644 ---- a/c/src/proactor/epoll-internal.h -+++ b/c/src/proactor/epoll-internal.h -@@ -315,7 +315,9 @@ static inline void pmutex_init(pthread_mutex_t *pm){ - pthread_mutexattr_t attr; - - pthread_mutexattr_init(&attr); -+#ifdef PTHREAD_MUTEX_ADAPTIVE_NP - pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); -+#endif - if (pthread_mutex_init(pm, &attr)) { - perror("pthread failure"); - abort(); --- -2.30.1 - diff --git a/buildroot-2021.05/package/qpid-proton/0002-PROTON-2355-Fix-build-with-DPROACTOR-none.patch b/buildroot-2021.05/package/qpid-proton/0002-PROTON-2355-Fix-build-with-DPROACTOR-none.patch deleted file mode 100644 index c99a65f2..00000000 --- a/buildroot-2021.05/package/qpid-proton/0002-PROTON-2355-Fix-build-with-DPROACTOR-none.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 2e3b81296020340692139f1a0d05c3bc7383b40e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= -Date: Thu, 1 Apr 2021 19:24:33 +0200 -Subject: [PATCH] PROTON-2355: Fix build with -DPROACTOR=none (#302) - -epoll proactor unconditionally uses pthread.h which will result in the -following build failure: - -[ 3%] Building C object c/CMakeFiles/qpid-proton-proactor-objects.dir/src/proactor/epoll.c.o -In file included from /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll.c:60: -/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll-internal.h:37:10: fatal error: pthread.h: No such file or directory - 37 | #include - | ^~~~~~~~~~~ - -To fix this failure, the user could use -DPROACTOR=none but it also -fails on: - -CMake Error at c/CMakeLists.txt:481 (add_library): - Error evaluating generator expression: - - $ - - Objects of target "qpid-proton-proactor-objects" referenced but no such - target exists. - -Co-authored-by: Fabrice Fontaine -[Retrieved from: -https://github.com/apache/qpid-proton/commit/2e3b81296020340692139f1a0d05c3bc7383b40e] ---- - c/CMakeLists.txt | 11 +++++++++-- - 1 file changed, 9 insertions(+), 2 deletions(-) - -diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt -index 2146a5c96..e1119d11d 100644 ---- a/c/CMakeLists.txt -+++ b/c/CMakeLists.txt -@@ -464,7 +464,11 @@ set(qpid-proton-noncore-src - ${qpid-proton-include-extra} - ) - --add_library (qpid-proton SHARED $ $ $ ${qpid-proton-noncore-src}) -+add_library (qpid-proton SHARED -+ $ -+ $ -+ $<$:$> -+ ${qpid-proton-noncore-src}) - target_link_libraries (qpid-proton LINK_PRIVATE ${SSL_LIB} ${SASL_LIB} ${TIME_LIB} ${PLATFORM_LIBS} ${PROACTOR_LIBS}) - set_target_properties (qpid-proton - PROPERTIES -@@ -480,7 +484,10 @@ if (BUILD_STATIC_LIBS) - C_EXTENSIONS ON) - add_library(qpid-proton-static STATIC $ ${qpid-proton-noncore-src}) - target_compile_definitions(qpid-proton-static PUBLIC PROTON_DECLARE_STATIC) -- target_link_libraries (qpid-proton-static qpid-proton-core-static qpid-proton-proactor-static ${SSL_LIB} ${SASL_LIB} ${TIME_LIB} ${PLATFORM_LIBS} ${PROACTOR_LIBS}) -+ target_link_libraries (qpid-proton-static -+ qpid-proton-core-static -+ $<$:qpid-proton-proactor-static> -+ ${SSL_LIB} ${SASL_LIB} ${TIME_LIB} ${PLATFORM_LIBS} ${PROACTOR_LIBS}) - endif(BUILD_STATIC_LIBS) - - # Install executables and libraries diff --git a/buildroot-2021.05/package/qpid-proton/qpid-proton.hash b/buildroot-2021.05/package/qpid-proton/qpid-proton.hash deleted file mode 100644 index 22600e47..00000000 --- a/buildroot-2021.05/package/qpid-proton/qpid-proton.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: https://www.apache.org/dist/qpid/proton/0.33.0/qpid-proton-0.33.0.tar.gz.sha512 -sha512 d82cade354fd01f2cf7a3e0c17d48cdfa3bde263c8571762cdeb0b4da6ef2d6fd6f97cdba4fa4e8fc1b5368c54ccd2ca860fb56f46f58091c91deab843a17cf2 qpid-proton-0.33.0.tar.gz - -# Locally computed -sha256 52310e65489d30afeefc8589479fc02862a875349c19edd165658a915009da82 LICENSE.txt diff --git a/buildroot-2021.05/package/qpid-proton/qpid-proton.mk b/buildroot-2021.05/package/qpid-proton/qpid-proton.mk deleted file mode 100644 index 4e033572..00000000 --- a/buildroot-2021.05/package/qpid-proton/qpid-proton.mk +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# -# qpid-proton -# -################################################################################ - -QPID_PROTON_VERSION = 0.33.0 -QPID_PROTON_SITE = \ - https://downloads.apache.org/qpid/proton/$(QPID_PROTON_VERSION) -QPID_PROTON_LICENSE = Apache-2.0 -QPID_PROTON_LICENSE_FILES = LICENSE.txt -QPID_PROTON_CPE_ID_VENDOR = apache -QPID_PROTON_CPE_ID_PRODUCT = qpid_proton -QPID_PROTON_INSTALL_STAGING = YES -QPID_PROTON_DEPENDENCIES = \ - host-python \ - util-linux \ - $(if $(BR2_PACKAGE_LIBUV),libuv) \ - $(if $(BR2_PACKAGE_OPENSSL),openssl) - -# python and ruby language bindings are enabled when host-swig tool is present -# in HOST_DIR. -# go language binding is enabled when host-go is present -# For now, disable all of them. -QPID_PROTON_CONF_OPTS = \ - -DBUILD_GO=OFF \ - -DBUILD_PYTHON=OFF \ - -DBUILD_RUBY=OFF \ - -DENABLE_FUZZ_TESTING=OFF \ - -DENABLE_VALGRIND=OFF \ - -DENABLE_WARNING_ERROR=OFF \ - -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python2 - -# epoll proactor unconditionally uses pthread and cpp (C++) bindings -# unconditionally use proactor -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -QPID_PROTON_CONF_OPTS += -DBUILD_CPP=ON -else -QPID_PROTON_CONF_OPTS += -DBUILD_CPP=OFF -endif -else -QPID_PROTON_CONF_OPTS += \ - -DBUILD_CPP=OFF \ - -DPROACTOR=none -endif - -ifeq ($(BR2_PACKAGE_JSONCPP),y) -QPID_PROTON_DEPENDENCIES += jsoncpp -QPID_PROTON_CONF_OPTS += -DENABLE_JSONCPP=ON -else -QPID_PROTON_CONF_OPTS += -DENABLE_JSONCPP=OFF -endif - -define QPID_PROTON_REMOVE_USELESS_FILES - rm -fr $(TARGET_DIR)/usr/share/proton/ -endef - -QPID_PROTON_POST_INSTALL_TARGET_HOOKS += QPID_PROTON_REMOVE_USELESS_FILES - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/qt5/Config.in b/buildroot-2021.05/package/qt5/Config.in deleted file mode 100644 index 6714c627..00000000 --- a/buildroot-2021.05/package/qt5/Config.in +++ /dev/null @@ -1,75 +0,0 @@ -config BR2_PACKAGE_QT5_GL_AVAILABLE - bool - default y - depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES - -config BR2_PACKAGE_QT5_JSCORE_AVAILABLE - bool - default y - # Javascript engine is only available on certain architectures - depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_mipsel - # ARM needs BLX, so v5t+ - depends on !BR2_ARM_CPU_ARMV4 - -comment "Qt5 needs host g++ >= 5.0, and a toolchain w/ gcc >= 5.0, wchar, NPTL, C++, dynamic library" - depends on !BR2_ARM_CPU_ARMV4 - depends on !BR2_arc - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \ - !BR2_HOST_GCC_AT_LEAST_5 || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 - -menuconfig BR2_PACKAGE_QT5 - bool "Qt5" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_HOST_GCC_AT_LEAST_5 # Full C++11 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11, GCC_BUG_57694 - depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+ - # no built-in double-conversion support - depends on !BR2_arc - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_QT5BASE - help - This option enables the Qt5 framework. Sub-options allow to - select which modules should be built. - - http://qt.io - -if BR2_PACKAGE_QT5 -source "package/qt5/qt53d/Config.in" -source "package/qt5/qt5base/Config.in" -source "package/qt5/qt5charts/Config.in" -source "package/qt5/qt5coap/Config.in" -source "package/qt5/qt5connectivity/Config.in" -source "package/qt5/qt5declarative/Config.in" -source "package/qt5/qt5enginio/Config.in" -source "package/qt5/qt5graphicaleffects/Config.in" -source "package/qt5/qt5imageformats/Config.in" -source "package/qt5/qt5knx/Config.in" -source "package/qt5/qt5location/Config.in" -source "package/qt5/qt5lottie/Config.in" -source "package/qt5/qt5mqtt/Config.in" -source "package/qt5/qt5multimedia/Config.in" -source "package/qt5/qt5quickcontrols/Config.in" -source "package/qt5/qt5quickcontrols2/Config.in" -source "package/qt5/qt5quicktimeline/Config.in" -source "package/qt5/qt5remoteobjects/Config.in" -source "package/qt5/qt5script/Config.in" -source "package/qt5/qt5scxml/Config.in" -source "package/qt5/qt5sensors/Config.in" -source "package/qt5/qt5serialbus/Config.in" -source "package/qt5/qt5serialport/Config.in" -source "package/qt5/qt5svg/Config.in" -source "package/qt5/qt5tools/Config.in" -source "package/qt5/qt5virtualkeyboard/Config.in" -source "package/qt5/qt5wayland/Config.in" -source "package/qt5/qt5webchannel/Config.in" -source "package/qt5/qt5webkit/Config.in" -source "package/qt5/qt5webkit-examples/Config.in" -source "package/qt5/qt5webengine/Config.in" -source "package/qt5/qt5websockets/Config.in" -source "package/qt5/qt5webview/Config.in" -source "package/qt5/qt5x11extras/Config.in" -source "package/qt5/qt5xmlpatterns/Config.in" -endif diff --git a/buildroot-2021.05/package/qt5/qt5.mk b/buildroot-2021.05/package/qt5/qt5.mk deleted file mode 100644 index db6ccd2b..00000000 --- a/buildroot-2021.05/package/qt5/qt5.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# qt5 -# -################################################################################ - -QT5_VERSION_MAJOR = 5.15 -QT5_VERSION = $(QT5_VERSION_MAJOR).2 -QT5_SOURCE_TARBALL_PREFIX = everywhere-src -QT5_SITE = https://download.qt.io/archive/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules - -include $(sort $(wildcard package/qt5/*/*.mk)) - -# The file "qt.conf" can be used to override the hard-coded paths that are -# compiled into the Qt library. We need it to make "qmake" relocatable and -# tweak the per-package install pathes -define QT5_INSTALL_QT_CONF - sed -e "s|@@HOST_DIR@@|$(HOST_DIR)|" -e "s|@@STAGING_DIR@@|$(STAGING_DIR)|" \ - $(QT5BASE_PKGDIR)/qt.conf.in > $(HOST_DIR)/bin/qt.conf -endef - -ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) -define QT5_QT_CONF_FIXUP - $(QT5_INSTALL_QT_CONF) -endef -endif - -# Variable for other Qt applications to use -QT5_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++ diff --git a/buildroot-2021.05/package/qt5/qt53d/Config.in b/buildroot-2021.05/package/qt5/qt53d/Config.in deleted file mode 100644 index 5126078d..00000000 --- a/buildroot-2021.05/package/qt5/qt53d/Config.in +++ /dev/null @@ -1,24 +0,0 @@ -config BR2_PACKAGE_QT53D - bool "qt53d" - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative - depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative_quick - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_QT5DECLARATIVE - select BR2_PACKAGE_QT5DECLARATIVE_QUICK - help - Qt is a cross-platform application and UI framework for - developers using C++. - - This package corresponds to the qt53d module. - - This module was in tech preview in Qt 5.6, and promoted - to a core module in Qt 5.7.0. - - Enable the assimp package to gain the assimp sceneparser - plugin. - - http://doc.qt.io/qt-5/qt3d-index.html - -comment "qt53d module needs an OpenGL-capable backend" - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE - depends on !BR2_PACKAGE_QT5_GL_AVAILABLE diff --git a/buildroot-2021.05/package/qt5/qt53d/qt53d.hash b/buildroot-2021.05/package/qt5/qt53d/qt53d.hash deleted file mode 100644 index 43b2132c..00000000 --- a/buildroot-2021.05/package/qt5/qt53d/qt53d.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qt3d-everywhere-src-5.15.2.tar.xz.sha256 -sha256 03ed6a48c813c75296c19f5d721184ab168280b69d2656cf16f877d3d4c55c1d qt3d-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPL -sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 -sha256 9ae1959e86bd49b9680f78e0b49d4e52ae88a3f234d497e175e42a7e8ed59216 LICENSE.LGPLv3 diff --git a/buildroot-2021.05/package/qt5/qt53d/qt53d.mk b/buildroot-2021.05/package/qt5/qt53d/qt53d.mk deleted file mode 100644 index f3eff9ed..00000000 --- a/buildroot-2021.05/package/qt5/qt53d/qt53d.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# qt53d -# -################################################################################ - -QT53D_VERSION = $(QT5_VERSION) -QT53D_SITE = $(QT5_SITE) -QT53D_SOURCE = qt3d-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT53D_VERSION).tar.xz -QT53D_DEPENDENCIES = qt5declarative -QT53D_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_ASSIMP),y) -QT53D_DEPENDENCIES += assimp -endif - -QT53D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0 -QT53D_LICENSE_FILES = LICENSE.GPL LICENSE.GPLv3 LICENSE.LGPLv3 - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5base/0006-Fix-build-with-GCC-11-include-limits.patch b/buildroot-2021.05/package/qt5/qt5base/0006-Fix-build-with-GCC-11-include-limits.patch deleted file mode 100644 index f014a160..00000000 --- a/buildroot-2021.05/package/qt5/qt5base/0006-Fix-build-with-GCC-11-include-limits.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 9c56d4da2ff631a8c1c30475bd792f6c86bda53c Mon Sep 17 00:00:00 2001 -From: Thiago Macieira -Date: Mon, 18 Jan 2021 07:40:54 -0800 -Subject: [PATCH] Fix build with GCC 11: include - -Fixes: QTBUG-90395 -Pick-to: 6.0 -Change-Id: Iecc74d2000eb40dfbe7bfffd165b5dd3708b7a40 -Reviewed-by: Edward Welbourne - -[Retrieved (and backported) from: -https://github.com/qt/qtbase/commit/9c56d4da2ff631a8c1c30475bd792f6c86bda53c] -Signed-off-by: Fabrice Fontaine ---- - src/corelib/global/qendian.h | 6 ++++-- - src/corelib/global/qfloat16.h | 1 + - 2 files changed, 5 insertions(+), 2 deletions(-) - -diff --git a/src/corelib/global/qendian.h b/src/corelib/global/qendian.h -index 99b529f17cd..c874c5e47ab 100644 ---- a/src/corelib/global/qendian.h -+++ b/src/corelib/global/qendian.h -@@ -1,7 +1,7 @@ - /**************************************************************************** - ** --** Copyright (C) 2016 The Qt Company Ltd. --** Copyright (C) 2016 Intel Corporation. -+** Copyright (C) 2021 The Qt Company Ltd. -+** Copyright (C) 2021 Intel Corporation. - ** Contact: https://www.qt.io/licensing/ - ** - ** This file is part of the QtCore module of the Qt Toolkit. -@@ -44,6 +44,8 @@ - #include - #include - -+#include -+ - // include stdlib.h and hope that it defines __GLIBC__ for glibc-based systems - #include - #include -diff --git a/src/corelib/global/qfloat16.h b/src/corelib/global/qfloat16.h -index e9477d2ecec..a25fac28862 100644 ---- a/src/corelib/global/qfloat16.h -+++ b/src/corelib/global/qfloat16.h -@@ -44,6 +44,7 @@ - - #include - #include -+#include - #include - - #if defined(QT_COMPILER_SUPPORTS_F16C) && defined(__AVX2__) && !defined(__F16C__) diff --git a/buildroot-2021.05/package/qt5/qt5base/Config.in b/buildroot-2021.05/package/qt5/qt5base/Config.in deleted file mode 100644 index ee7c757c..00000000 --- a/buildroot-2021.05/package/qt5/qt5base/Config.in +++ /dev/null @@ -1,300 +0,0 @@ -config BR2_PACKAGE_QT5BASE - bool "qt5base" - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_PCRE2 - select BR2_PACKAGE_PCRE2_16 - help - Qt is a cross-platform application and UI framework for - developers using C++. - - This package corresponds to the qt5base module, which - contains the base Qt libraries: QtCore, QtNetwork, QtGui, - QtWidgets, etc. - - http://qt.io - -if BR2_PACKAGE_QT5BASE - -config BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS - string "Custom configuration options" - help - Define custom qt5 configuration options which can be used to - enable or disable options not managed by buildroot. These - options are appended to the ones generated by buildroot and - passed to qt5base during configuration. - - E.g. to remove the Windows Vista style option, add the option - -no-feature-style_windowsvista. - -config BR2_PACKAGE_QT5BASE_CONFIG_FILE - string "Config file" - help - Configure options allow to set which modules are being - compiled or not in Qt, but Qt also provide a more - fine-grained mechanism to configure which features should be - enabled or disabled, through a header file. Examples of such - header files can be found in src/corelib/global/qconfig-*.h - in the Qt sources. - - This option allows to set the path of such a configuration - file, which Buildroot will give to Qt at compile time. - -config BR2_PACKAGE_QT5BASE_EXAMPLES - bool "Compile and install examples (with code)" - select BR2_PACKAGE_QT5BASE_NETWORK - select BR2_PACKAGE_QT5BASE_XML - help - If unsure, say N. - -config BR2_PACKAGE_QT5BASE_NETWORK - def_bool y - -config BR2_PACKAGE_QT5BASE_CONCURRENT - bool "concurrent module" - help - This options enables the Qt5Concurrent library. - -config BR2_PACKAGE_QT5BASE_SQL - def_bool y - -if BR2_PACKAGE_QT5BASE_SQL -config BR2_PACKAGE_QT5BASE_MYSQL - bool "MySQL Plugin" - depends on BR2_USE_MMU # mysql - select BR2_PACKAGE_MYSQL - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_READLINE - help - Build MySQL plugin - If unsure, say n. - -config BR2_PACKAGE_QT5BASE_PSQL - bool "PostgreSQL Plugin" - depends on BR2_USE_MMU # postgresql - depends on !BR2_STATIC_LIBS - depends on BR2_USE_WCHAR # postgresql - select BR2_PACKAGE_POSTGRESQL - help - Build PostgreSQL plugin - If unsure, say n. - -comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR - -choice - prompt "SQLite 3 support" - default BR2_PACKAGE_QT5BASE_SQLITE_NONE - help - Select SQLite support. - -config BR2_PACKAGE_QT5BASE_SQLITE_NONE - bool "No sqlite support" - help - Do not compile any kind of SQLite support. - -config BR2_PACKAGE_QT5BASE_SQLITE_QT - bool "Qt SQLite" - help - Use Qt bundled SQLite support. - -config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM - bool "System SQLite" - select BR2_PACKAGE_SQLITE - select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA - help - Use system SQLite. - -endchoice - -endif - -config BR2_PACKAGE_QT5BASE_TEST - def_bool y - -config BR2_PACKAGE_QT5BASE_XML - def_bool y - -config BR2_PACKAGE_QT5BASE_GUI - bool "gui module" - select BR2_PACKAGE_FREETYPE - # At least one graphic backend must be enabled, so enable - # linuxfb if nothing is enabled. - select BR2_PACKAGE_QT5BASE_LINUXFB if \ - !BR2_PACKAGE_QT5BASE_DIRECTFB && \ - !BR2_PACKAGE_QT5BASE_XCB && \ - !BR2_PACKAGE_QT5BASE_EGLFS - help - This option enables the Qt5Gui library. - -if BR2_PACKAGE_QT5BASE_GUI - -config BR2_PACKAGE_QT5BASE_WIDGETS - bool "widgets module" - select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB - help - This option enables the Qt5Widgets library. - -comment "OpenGL support needs an OpenGL-capable backend" - depends on !BR2_PACKAGE_QT5_GL_AVAILABLE - -config BR2_PACKAGE_QT5BASE_OPENGL - bool "OpenGL support" - depends on BR2_PACKAGE_QT5_GL_AVAILABLE - help - This option enables OpenGL support. - -if BR2_PACKAGE_QT5BASE_OPENGL - -choice - prompt "OpenGL API" - help - Select OpenGL API. - -config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP - bool "Desktop OpenGL" - depends on BR2_PACKAGE_HAS_LIBGL - help - Use desktop OpenGL. - -config BR2_PACKAGE_QT5BASE_OPENGL_ES2 - bool "OpenGL ES 2.0+" - depends on BR2_PACKAGE_HAS_LIBGLES - help - Use OpenGL ES 2.0 and later versions. - -endchoice - -config BR2_PACKAGE_QT5BASE_OPENGL_LIB - bool "opengl module" - select BR2_PACKAGE_QT5BASE_WIDGETS - help - This option enables the Qt5OpenGL library. This library - includes OpenGL support classes provided to ease porting - from Qt 4.x. - -endif - -config BR2_PACKAGE_QT5BASE_LINUXFB - bool "linuxfb support" - -config BR2_PACKAGE_QT5BASE_DIRECTFB - bool "directfb support" - depends on BR2_PACKAGE_DIRECTFB - -comment "directfb backend available if directfb is enabled" - depends on !BR2_PACKAGE_DIRECTFB - -config BR2_PACKAGE_QT5BASE_XCB - bool "X.org XCB support" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_LIBXCB - select BR2_PACKAGE_XCB_UTIL_IMAGE - select BR2_PACKAGE_XCB_UTIL_KEYSYMS - select BR2_PACKAGE_XCB_UTIL_RENDERUTIL - select BR2_PACKAGE_XCB_UTIL_WM - select BR2_PACKAGE_LIBXKBCOMMON - -comment "X.org XCB backend available if X.org is enabled" - depends on !BR2_PACKAGE_XORG7 - -config BR2_PACKAGE_QT5BASE_EGLFS - bool "eglfs support" - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_QT5_GL_AVAILABLE - select BR2_PACKAGE_QT5BASE_OPENGL - -comment "eglfs backend available if OpenGL and EGL are enabled" - depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE - -config BR2_PACKAGE_QT5BASE_DEFAULT_QPA - string "Default graphical platform" - help - Choose the default platform abstraction to use for graphical - applications (e.g xcb, linuxfb, eglfs, ...). If this is - empty, the default for your architecture will be used - (usually this is eglfs). - - You can get a list of supported platforms by running a Qt - application with the option "-platform help" on your - target. You can choose a different platform at runtime with - the -platform option. - -config BR2_PACKAGE_QT5BASE_PRINTSUPPORT - depends on BR2_PACKAGE_QT5BASE_WIDGETS - def_bool y - -config BR2_PACKAGE_QT5BASE_FONTCONFIG - bool "fontconfig support" - select BR2_PACKAGE_FONTCONFIG - help - This option enables Fontconfig and Freetype support using - the system fontconfig and freetype2 libraries. - -config BR2_PACKAGE_QT5BASE_HARFBUZZ - bool "harfbuzz support" - select BR2_PACKAGE_HARFBUZZ if \ - BR2_TOOLCHAIN_HAS_SYNC_4 && \ - BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - help - This option enables HarfBuzz support (either system harfbuzz - if the toolchain supports __sync for 4 bytes, or the qt - provided one which avoids this dependency by using QAtomic). - -config BR2_PACKAGE_QT5BASE_GIF - bool "GIF support" - help - This compiles and installs the plugin for GIF reading support. - -config BR2_PACKAGE_QT5BASE_JPEG - bool "JPEG support" - select BR2_PACKAGE_JPEG - help - This option enables JPEG support using the system libjpeg - library. - -config BR2_PACKAGE_QT5BASE_PNG - bool "PNG support" - select BR2_PACKAGE_LIBPNG - help - This option enables PNG support using the system libpng - library. - -endif - -config BR2_PACKAGE_QT5BASE_SYSLOG - bool "syslog support" - help - Logs to the standard UNIX logging mechanism. - -config BR2_PACKAGE_QT5BASE_DBUS - bool "DBus module" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU - select BR2_PACKAGE_DBUS - help - This option enables the D-Bus module. - -config BR2_PACKAGE_QT5BASE_ICU - bool "Enable ICU support" - depends on !BR2_BINFMT_FLAT # icu - depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu - select BR2_PACKAGE_ICU - help - This option enables ICU support in Qt5. This is for example - needed for Qt5Webkit. - -comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9" - depends on !BR2_BINFMT_FLAT - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_QT5BASE_TSLIB - bool "Enable Tslib support" - select BR2_PACKAGE_TSLIB - help - This options enables the Tslib plugin - -endif diff --git a/buildroot-2021.05/package/qt5/qt5base/qt5base.hash b/buildroot-2021.05/package/qt5/qt5base/qt5base.hash deleted file mode 100644 index a824890e..00000000 --- a/buildroot-2021.05/package/qt5/qt5base/qt5base.hash +++ /dev/null @@ -1,10 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtbase-everywhere-src-5.15.2.tar.xz.sha256 -sha256 909fad2591ee367993a75d7e2ea50ad4db332f05e1c38dd7a5a274e156a4e0f8 qtbase-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 88ec689407cf2df9b2eb5c45952564d51ce73c129a3bdffb15c0d2d161ad7558 LICENSE.LGPLv3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL -sha256 2a886915de4f296cdae5ed67064f86dba01d0c55286d86e8487f2a5caaf40216 src/3rdparty/harfbuzz-ng/COPYING diff --git a/buildroot-2021.05/package/qt5/qt5base/qt5base.mk b/buildroot-2021.05/package/qt5/qt5base/qt5base.mk deleted file mode 100644 index 84e9fa4e..00000000 --- a/buildroot-2021.05/package/qt5/qt5base/qt5base.mk +++ /dev/null @@ -1,328 +0,0 @@ -################################################################################ -# -# qt5base -# -################################################################################ - -QT5BASE_VERSION = $(QT5_VERSION) -QT5BASE_SITE = $(QT5_SITE) -QT5BASE_SOURCE = qtbase-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5BASE_VERSION).tar.xz - -QT5BASE_DEPENDENCIES = host-pkgconf pcre2 zlib -QT5BASE_INSTALL_STAGING = YES - -# A few comments: -# * -no-pch to workaround the issue described at -# http://comments.gmane.org/gmane.comp.lib.qt.devel/5933. -# * -system-zlib because zlib is mandatory for Qt build, and we -# want to use the Buildroot packaged zlib -# * -system-pcre because pcre is mandatory to build Qt, and we -# want to use the one packaged in Buildroot -# * -no-feature-relocatable to work around path mismatch -# while searching qml files and buildroot BR2_ROOTFS_MERGED_USR -# feature enabled -QT5BASE_CONFIGURE_OPTS += \ - -optimized-qmake \ - -no-iconv \ - -system-zlib \ - -system-pcre \ - -no-pch \ - -shared \ - -no-feature-relocatable - -# starting from version 5.9.0, -optimize-debug is enabled by default -# for debug builds and it overrides -O* with -Og which is not what we -# want. -QT5BASE_CONFIGURE_OPTS += -no-optimize-debug - -QT5BASE_CFLAGS = $(TARGET_CFLAGS) -QT5BASE_CXXFLAGS = $(TARGET_CXXFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_90620),y) -QT5BASE_CFLAGS += -O0 -QT5BASE_CXXFLAGS += -O0 -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE2),) -QT5BASE_CONFIGURE_OPTS += -no-sse2 -else ifeq ($(BR2_X86_CPU_HAS_SSE3),) -QT5BASE_CONFIGURE_OPTS += -no-sse3 -else ifeq ($(BR2_X86_CPU_HAS_SSSE3),) -QT5BASE_CONFIGURE_OPTS += -no-ssse3 -else ifeq ($(BR2_X86_CPU_HAS_SSE4),) -QT5BASE_CONFIGURE_OPTS += -no-sse4.1 -else ifeq ($(BR2_X86_CPU_HAS_SSE42),) -QT5BASE_CONFIGURE_OPTS += -no-sse4.2 -else ifeq ($(BR2_X86_CPU_HAS_AVX),) -QT5BASE_CONFIGURE_OPTS += -no-avx -else ifeq ($(BR2_X86_CPU_HAS_AVX2),) -QT5BASE_CONFIGURE_OPTS += -no-avx2 -else -# no buildroot BR2_X86_CPU_HAS_AVX512 option yet for qt configure -# option '-no-avx512' -endif - -ifeq ($(BR2_PACKAGE_LIBDRM),y) -QT5BASE_CONFIGURE_OPTS += -kms -QT5BASE_DEPENDENCIES += libdrm -else -QT5BASE_CONFIGURE_OPTS += -no-kms -endif - -# Uses libgbm from mesa3d -ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y) -QT5BASE_CONFIGURE_OPTS += -gbm -QT5BASE_DEPENDENCIES += mesa3d -else ifeq ($(BR2_PACKAGE_GCNANO_BINARIES),y) -QT5BASE_CONFIGURE_OPTS += -gbm -QT5BASE_DEPENDENCIES += gcnano-binaries -else ifeq ($(BR2_PACKAGE_TI_SGX_UM),y) -QT5BASE_CONFIGURE_OPTS += -gbm -QT5BASE_DEPENDENCIES += ti-sgx-um -else ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL),y) -QT5BASE_CONFIGURE_OPTS += -gbm -QT5BASE_DEPENDENCIES += imx-gpu-viv -else -QT5BASE_CONFIGURE_OPTS += -no-gbm -endif - -ifeq ($(BR2_ENABLE_DEBUG),y) -QT5BASE_CONFIGURE_OPTS += -debug -else -QT5BASE_CONFIGURE_OPTS += -release -endif - -QT5BASE_CONFIGURE_OPTS += -opensource -confirm-license -QT5BASE_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5BASE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5BASE_LICENSE += , BSD-3-Clause (examples) -endif - -QT5BASE_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_QT5BASE_CONFIG_FILE)) - -ifneq ($(QT5BASE_CONFIG_FILE),) -QT5BASE_CONFIGURE_OPTS += -qconfig buildroot -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -QT5BASE_DEPENDENCIES += udev -endif - -ifeq ($(BR2_PACKAGE_CUPS), y) -QT5BASE_DEPENDENCIES += cups -QT5BASE_CONFIGURE_OPTS += -cups -else -QT5BASE_CONFIGURE_OPTS += -no-cups -endif - -# Qt5 SQL Plugins -ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y) -ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y) -QT5BASE_CONFIGURE_OPTS += -plugin-sql-mysql -mysql_config $(STAGING_DIR)/usr/bin/mysql_config -QT5BASE_DEPENDENCIES += mysql -else -QT5BASE_CONFIGURE_OPTS += -no-sql-mysql -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_PSQL),y) -QT5BASE_CONFIGURE_OPTS += -plugin-sql-psql -psql_config $(STAGING_DIR)/usr/bin/pg_config -QT5BASE_DEPENDENCIES += postgresql -else -QT5BASE_CONFIGURE_OPTS += -no-sql-psql -endif - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_QT),-plugin-sql-sqlite) -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM),-system-sqlite) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM),sqlite) -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_NONE),-no-sql-sqlite) -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_GUI),y) -QT5BASE_CONFIGURE_OPTS += -gui -system-freetype -QT5BASE_DEPENDENCIES += freetype -else -QT5BASE_CONFIGURE_OPTS += -no-gui -no-freetype -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_HARFBUZZ),y) -ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),y) -# system harfbuzz in case __sync for 4 bytes is supported -QT5BASE_CONFIGURE_OPTS += -system-harfbuzz -QT5BASE_DEPENDENCIES += harfbuzz -else -# qt harfbuzz otherwise (using QAtomic instead) -QT5BASE_CONFIGURE_OPTS += -qt-harfbuzz -QT5BASE_LICENSE += , MIT (harfbuzz) -QT5BASE_LICENSE_FILES += src/3rdparty/harfbuzz-ng/COPYING -endif -else -QT5BASE_CONFIGURE_OPTS += -no-harfbuzz -endif - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),-widgets,-no-widgets) -# We have to use --enable-linuxfb, otherwise Qt thinks that -linuxfb -# is to add a link against the "inuxfb" library. -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_LINUXFB),--enable-linuxfb,-no-linuxfb) -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),-directfb,-no-directfb) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),directfb) - -ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) -QT5BASE_CONFIGURE_OPTS += -xcb -QT5BASE_CONFIGURE_OPTS += -xkbcommon - -QT5BASE_DEPENDENCIES += \ - libxcb \ - xcb-util-wm \ - xcb-util-image \ - xcb-util-keysyms \ - xcb-util-renderutil \ - xlib_libX11 \ - libxkbcommon -ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) -QT5BASE_DEPENDENCIES += xlib_libXext -endif -else -QT5BASE_CONFIGURE_OPTS += -no-xcb -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP),y) -QT5BASE_CONFIGURE_OPTS += -opengl desktop -QT5BASE_DEPENDENCIES += libgl -else ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_ES2),y) -QT5BASE_CONFIGURE_OPTS += -opengl es2 -QT5BASE_DEPENDENCIES += libgles -else -QT5BASE_CONFIGURE_OPTS += -no-opengl -endif - -QT5BASE_DEFAULT_QPA = $(call qstrip,$(BR2_PACKAGE_QT5BASE_DEFAULT_QPA)) -QT5BASE_CONFIGURE_OPTS += $(if $(QT5BASE_DEFAULT_QPA),-qpa $(QT5BASE_DEFAULT_QPA)) - -ifeq ($(BR2_PACKAGE_QT5BASE_EGLFS),y) -QT5BASE_CONFIGURE_OPTS += -eglfs -QT5BASE_DEPENDENCIES += libegl -else -QT5BASE_CONFIGURE_OPTS += -no-eglfs -endif - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_OPENSSL),openssl) - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),-fontconfig,-no-fontconfig) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),fontconfig) -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_GIF),,-no-gif) -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_JPEG),-system-libjpeg,-no-libjpeg) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_JPEG),jpeg) -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_PNG),-system-libpng,-no-libpng) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_PNG),libpng) - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DBUS),-dbus,-no-dbus) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DBUS),dbus) - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),-tslib,-no-tslib) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),tslib) - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBGLIB2),-glib,-no-glib) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBGLIB2),libglib2) - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_ICU),-icu,-no-icu) -QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_ICU),icu) - -QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_EXAMPLES),-make,-nomake) examples - -ifeq ($(BR2_PACKAGE_LIBINPUT),y) -QT5BASE_CONFIGURE_OPTS += -libinput -QT5BASE_DEPENDENCIES += libinput -else -QT5BASE_CONFIGURE_OPTS += -no-libinput -endif - -# only enable gtk support if libgtk3 X11 backend is enabled -ifeq ($(BR2_PACKAGE_LIBGTK3)$(BR2_PACKAGE_LIBGTK3_X11),yy) -QT5BASE_CONFIGURE_OPTS += -gtk -QT5BASE_DEPENDENCIES += libgtk3 -else -QT5BASE_CONFIGURE_OPTS += -no-gtk -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -QT5BASE_CONFIGURE_OPTS += -journald -QT5BASE_DEPENDENCIES += systemd -else -QT5BASE_CONFIGURE_OPTS += -no-journald -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_SYSLOG),y) -QT5BASE_CONFIGURE_OPTS += -syslog -else -QT5BASE_CONFIGURE_OPTS += -no-syslog -endif - -ifeq ($(BR2_PACKAGE_IMX_GPU_VIV),y) -# use vivante backend -QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_viv -else ifeq ($(BR2_PACKAGE_SUNXI_MALI_MAINLINE),y) -# use mali backend -QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_mali -endif - -ifneq ($(QT5BASE_CONFIG_FILE),) -define QT5BASE_CONFIGURE_CONFIG_FILE - cp $(QT5BASE_CONFIG_FILE) $(@D)/src/corelib/global/qconfig-buildroot.h -endef -endif - -QT5BASE_ARCH_CONFIG_FILE = $(@D)/mkspecs/devices/linux-buildroot-g++/arch.conf -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -# Qt 5.8 needs atomics, which on various architectures are in -latomic -define QT5BASE_CONFIGURE_ARCH_CONFIG - printf 'LIBS += -latomic\n' >$(QT5BASE_ARCH_CONFIG_FILE) -endef -endif - -# This allows to use ccache when available -define QT5BASE_CONFIGURE_HOSTCC - $(SED) 's,^QMAKE_CC\s*=.*,QMAKE_CC = $(HOSTCC),' $(@D)/mkspecs/common/g++-base.conf - $(SED) 's,^QMAKE_CXX\s*=.*,QMAKE_CXX = $(HOSTCXX),' $(@D)/mkspecs/common/g++-base.conf -endef - -# Must be last so can override all options set by Buildroot -QT5BASE_CONFIGURE_OPTS += $(call qstrip,$(BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS)) - -define QT5BASE_CONFIGURE_CMDS - mkdir -p $(@D)/mkspecs/devices/linux-buildroot-g++/ - sed 's/@EGLFS_DEVICE@/$(QT5BASE_EGLFS_DEVICE)/g' \ - $(QT5BASE_PKGDIR)/qmake.conf.in > \ - $(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf - $(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qplatformdefs.h \ - $(@D)/mkspecs/devices/linux-buildroot-g++/qplatformdefs.h - $(QT5BASE_CONFIGURE_CONFIG_FILE) - touch $(QT5BASE_ARCH_CONFIG_FILE) - $(QT5BASE_CONFIGURE_ARCH_CONFIG) - $(QT5BASE_CONFIGURE_HOSTCC) - (cd $(@D); \ - $(TARGET_MAKE_ENV) \ - PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - MAKEFLAGS="-j$(PARALLEL_JOBS) $(MAKEFLAGS)" \ - ./configure \ - -v \ - -prefix /usr \ - -hostprefix $(HOST_DIR) \ - -headerdir /usr/include/qt5 \ - -sysroot $(STAGING_DIR) \ - -plugindir /usr/lib/qt/plugins \ - -examplesdir /usr/lib/qt/examples \ - -no-rpath \ - -nomake tests \ - -device buildroot \ - -device-option CROSS_COMPILE="$(TARGET_CROSS)" \ - -device-option BR_COMPILER_CFLAGS="$(QT5BASE_CFLAGS)" \ - -device-option BR_COMPILER_CXXFLAGS="$(QT5BASE_CXXFLAGS)" \ - $(QT5BASE_CONFIGURE_OPTS) \ - ) -endef - -QT5BASE_POST_INSTALL_STAGING_HOOKS += QT5_INSTALL_QT_CONF - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5charts/qt5charts.hash b/buildroot-2021.05/package/qt5/qt5charts/qt5charts.hash deleted file mode 100644 index b52be714..00000000 --- a/buildroot-2021.05/package/qt5/qt5charts/qt5charts.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtcharts-everywhere-src-5.15.2.tar.xz.sha256 -sha256 e0750e4195bd8a8b9758ab4d98d437edbe273cd3d289dd6a8f325df6d13f3d11 qtcharts-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/buildroot-2021.05/package/qt5/qt5charts/qt5charts.mk b/buildroot-2021.05/package/qt5/qt5charts/qt5charts.mk deleted file mode 100644 index 2c40ac1c..00000000 --- a/buildroot-2021.05/package/qt5/qt5charts/qt5charts.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# qt5charts -# -################################################################################ - -QT5CHARTS_VERSION = $(QT5_VERSION) -QT5CHARTS_SITE = $(QT5_SITE) -QT5CHARTS_SOURCE = qtcharts-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5CHARTS_VERSION).tar.xz -QT5CHARTS_INSTALL_STAGING = YES - -QT5CHARTS_LICENSE = GPL-3.0 -QT5CHARTS_LICENSE_FILES = LICENSE.GPL3 - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5CHARTS_DEPENDENCIES += qt5declarative -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5coap/qt5coap.mk b/buildroot-2021.05/package/qt5/qt5coap/qt5coap.mk deleted file mode 100644 index 24de8691..00000000 --- a/buildroot-2021.05/package/qt5/qt5coap/qt5coap.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# qt5coap -# -################################################################################ - -QT5COAP_VERSION = $(QT5_VERSION) -QT5COAP_SITE = https://code.qt.io/cgit/qt/qtcoap.git -QT5COAP_SITE_METHOD = git -QT5COAP_INSTALL_STAGING = YES -QT5COAP_LICENSE = GPL-3.0, GFDL-1.3 -QT5COAP_LICENSE_FILES = LICENSE.GPL3 LICENSE.FDL -QT5COAP_SYNC_QT_HEADERS = YES - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5connectivity/Config.in b/buildroot-2021.05/package/qt5/qt5connectivity/Config.in deleted file mode 100644 index 51e8978f..00000000 --- a/buildroot-2021.05/package/qt5/qt5connectivity/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_QT5CONNECTIVITY - bool "qt5connectivity" - depends on BR2_PACKAGE_NEARD || BR2_PACKAGE_BLUEZ5_UTILS - select BR2_PACKAGE_QT5BASE_CONCURRENT - select BR2_PACKAGE_QT5BASE_DBUS - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Qt Connectivity module provides support for Bluetooth/NFC - peripherials. - - http://doc.qt.io/qt-5/qtbluetooth-index.html - http://doc.qt.io/qt-5/qtnfc-index.html - -comment "qt5connectivity needs neard and/or bluez5_utils" - depends on !BR2_PACKAGE_NEARD && !BR2_PACKAGE_BLUEZ5_UTILS diff --git a/buildroot-2021.05/package/qt5/qt5connectivity/qt5connectivity.hash b/buildroot-2021.05/package/qt5/qt5connectivity/qt5connectivity.hash deleted file mode 100644 index 3edc2d66..00000000 --- a/buildroot-2021.05/package/qt5/qt5connectivity/qt5connectivity.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtconnectivity-everywhere-src-5.15.2.tar.xz.sha256 -sha256 0380327871f76103e5b8c2a305988d76d352b6a982b3e7b3bc3cdc184c64bfa0 qtconnectivity-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5connectivity/qt5connectivity.mk b/buildroot-2021.05/package/qt5/qt5connectivity/qt5connectivity.mk deleted file mode 100644 index 6402b505..00000000 --- a/buildroot-2021.05/package/qt5/qt5connectivity/qt5connectivity.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# qt5connectivity -# -################################################################################ - -QT5CONNECTIVITY_VERSION = $(QT5_VERSION) -QT5CONNECTIVITY_SITE = $(QT5_SITE) -QT5CONNECTIVITY_SOURCE = qtconnectivity-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5CONNECTIVITY_VERSION).tar.xz -QT5CONNECTIVITY_INSTALL_STAGING = YES - -QT5CONNECTIVITY_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5CONNECTIVITY_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5CONNECTIVITY_LICENSE += , BSD-3-Clause (examples) -endif - -QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5DECLARATIVE),qt5declarative) -QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_BLUEZ5_UTILS),bluez5_utils) -QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_NEARD),neard) - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5declarative/Config.in b/buildroot-2021.05/package/qt5/qt5declarative/Config.in deleted file mode 100644 index 3ba9224c..00000000 --- a/buildroot-2021.05/package/qt5/qt5declarative/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_QT5DECLARATIVE - bool "qt5declarative" - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE - select BR2_PACKAGE_QT5BASE_GUI - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Qt Declarative module provides the Qt QML and Qt Quick - modules for developing UIs with the QML language - - http://doc.qt.io/qt-5/qtqml-index.html - http://doc.qt.io/qt-5/qtquick-index.html - -if BR2_PACKAGE_QT5DECLARATIVE - -config BR2_PACKAGE_QT5DECLARATIVE_QUICK - bool "quick module" - select BR2_PACKAGE_QT5BASE_OPENGL if BR2_PACKAGE_QT5_GL_AVAILABLE - -endif diff --git a/buildroot-2021.05/package/qt5/qt5declarative/qt5declarative.hash b/buildroot-2021.05/package/qt5/qt5declarative/qt5declarative.hash deleted file mode 100644 index ab83b718..00000000 --- a/buildroot-2021.05/package/qt5/qt5declarative/qt5declarative.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtdeclarative-everywhere-src-5.15.2.tar.xz.sha256 -sha256 c600d09716940f75d684f61c5bdaced797f623a86db1627da599027f6c635651 qtdeclarative-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5declarative/qt5declarative.mk b/buildroot-2021.05/package/qt5/qt5declarative/qt5declarative.mk deleted file mode 100644 index 3318cd24..00000000 --- a/buildroot-2021.05/package/qt5/qt5declarative/qt5declarative.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# qt5declarative -# -################################################################################ - -QT5DECLARATIVE_VERSION = $(QT5_VERSION) -QT5DECLARATIVE_SITE = $(QT5_SITE) -QT5DECLARATIVE_SOURCE = qtdeclarative-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5DECLARATIVE_VERSION).tar.xz -QT5DECLARATIVE_INSTALL_STAGING = YES - -QT5DECLARATIVE_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5DECLARATIVE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5enginio/Config.in b/buildroot-2021.05/package/qt5/qt5enginio/Config.in deleted file mode 100644 index d445d91d..00000000 --- a/buildroot-2021.05/package/qt5/qt5enginio/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_QT5ENGINIO - bool "qt5enginio" - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_QT5BASE_NETWORK - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Enginio is a Backend-as-a-Service solution for simplifying - backend development of connected and data-driven applications. - - This package has been tagged as deprecated since version - 5.6 and not recommended for new design. - - http://doc.qt.io/archives/qt-5.5/enginio-index.html diff --git a/buildroot-2021.05/package/qt5/qt5graphicaleffects/Config.in b/buildroot-2021.05/package/qt5/qt5graphicaleffects/Config.in deleted file mode 100644 index 69b7fca4..00000000 --- a/buildroot-2021.05/package/qt5/qt5graphicaleffects/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_QT5GRAPHICALEFFECTS - bool "qt5graphicaleffects" - depends on BR2_PACKAGE_QT5_GL_AVAILABLE - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE - select BR2_PACKAGE_QT5DECLARATIVE - select BR2_PACKAGE_QT5DECLARATIVE_QUICK - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt Graphical Effects module provides a set of QML types - for adding visually impressive and configurable effects to - user interfaces. - - http://doc.qt.io/qt-5/qtgraphicaleffects-index.html - -comment "qt5graphicaleffects needs an OpenGL-capable backend" - depends on !BR2_PACKAGE_QT5_GL_AVAILABLE - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE diff --git a/buildroot-2021.05/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash b/buildroot-2021.05/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash deleted file mode 100644 index 9d7a837b..00000000 --- a/buildroot-2021.05/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtgraphicaleffects-everywhere-src-5.15.2.tar.xz.sha256 -sha256 ec8d67f64967d5046410490b549c576f9b9e8b47ec68594ae84aa8870173dfe4 qtgraphicaleffects-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk b/buildroot-2021.05/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk deleted file mode 100644 index a9ddff45..00000000 --- a/buildroot-2021.05/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# qt5graphicaleffects -# -################################################################################ - -QT5GRAPHICALEFFECTS_VERSION = $(QT5_VERSION) -QT5GRAPHICALEFFECTS_SITE = $(QT5_SITE) -QT5GRAPHICALEFFECTS_SOURCE = qtgraphicaleffects-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5GRAPHICALEFFECTS_VERSION).tar.xz -QT5GRAPHICALEFFECTS_DEPENDENCIES = qt5declarative -QT5GRAPHICALEFFECTS_INSTALL_STAGING = YES - -QT5GRAPHICALEFFECTS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5GRAPHICALEFFECTS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5imageformats/Config.in b/buildroot-2021.05/package/qt5/qt5imageformats/Config.in deleted file mode 100644 index 991f22f5..00000000 --- a/buildroot-2021.05/package/qt5/qt5imageformats/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_QT5IMAGEFORMATS - bool "qt5imageformats" - select BR2_PACKAGE_QT5BASE_GUI - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt Image Formats module provides plugins for - additional image formats: TIFF, MNG, TGA, WBMP - - http://doc.qt.io/qt-5/qtimageformats-index.html diff --git a/buildroot-2021.05/package/qt5/qt5imageformats/qt5imageformats.hash b/buildroot-2021.05/package/qt5/qt5imageformats/qt5imageformats.hash deleted file mode 100644 index b4281e71..00000000 --- a/buildroot-2021.05/package/qt5/qt5imageformats/qt5imageformats.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtimageformats-everywhere-src-5.15.2.tar.xz.sha256 -sha256 bf8285c7ce04284527ab823ddc7cf48a1bb79131db3a7127342167f4814253d7 qtimageformats-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 -sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5imageformats/qt5imageformats.mk b/buildroot-2021.05/package/qt5/qt5imageformats/qt5imageformats.mk deleted file mode 100644 index ffb094d5..00000000 --- a/buildroot-2021.05/package/qt5/qt5imageformats/qt5imageformats.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# qt5imageformats -# -################################################################################ - -QT5IMAGEFORMATS_VERSION = $(QT5_VERSION) -QT5IMAGEFORMATS_SITE = $(QT5_SITE) -QT5IMAGEFORMATS_SOURCE = qtimageformats-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5IMAGEFORMATS_VERSION).tar.xz -QT5IMAGEFORMATS_INSTALL_STAGING = YES - -QT5IMAGEFORMATS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5IMAGEFORMATS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5knx/qt5knx.mk b/buildroot-2021.05/package/qt5/qt5knx/qt5knx.mk deleted file mode 100644 index 9fc12111..00000000 --- a/buildroot-2021.05/package/qt5/qt5knx/qt5knx.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# qt5knx -# -################################################################################ - -QT5KNX_VERSION = $(QT5_VERSION) -QT5KNX_SITE = https://code.qt.io/cgit/qt/qtknx.git -QT5KNX_SITE_METHOD = git -QT5KNX_INSTALL_STAGING = YES -QT5KNX_LICENSE = GPL-3.0 with exception -QT5KNX_LICENSE_FILES = LICENSE.GPL3 LICENSE.GPL3-EXCEPT -QT5KNX_SYNC_QT_HEADERS = YES - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5location/Config.in b/buildroot-2021.05/package/qt5/qt5location/Config.in deleted file mode 100644 index c68deb10..00000000 --- a/buildroot-2021.05/package/qt5/qt5location/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_QT5LOCATION - bool "qt5location" - select BR2_PACKAGE_QT5BASE_GUI - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt Location API helps you create viable mapping - solutions using the data available from some of the - popular location services. - - http://doc.qt.io/qt-5/qtlocation-index.html diff --git a/buildroot-2021.05/package/qt5/qt5location/qt5location.hash b/buildroot-2021.05/package/qt5/qt5location/qt5location.hash deleted file mode 100644 index 0bb29330..00000000 --- a/buildroot-2021.05/package/qt5/qt5location/qt5location.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtlocation-everywhere-src-5.15.2.tar.xz.sha256 -sha256 984fcb09e108df49a8dac35d5ce6dffc49caafd2acb1c2f8a5173a6a21f392a0 qtlocation-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5location/qt5location.mk b/buildroot-2021.05/package/qt5/qt5location/qt5location.mk deleted file mode 100644 index ea741d0d..00000000 --- a/buildroot-2021.05/package/qt5/qt5location/qt5location.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# qt5location -# -################################################################################ - -QT5LOCATION_VERSION = $(QT5_VERSION) -QT5LOCATION_SITE = $(QT5_SITE) -QT5LOCATION_SOURCE = qtlocation-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5LOCATION_VERSION).tar.xz -QT5LOCATION_INSTALL_STAGING = YES - -QT5LOCATION_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5LOCATION_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5LOCATION_DEPENDENCIES += qt5declarative -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5lottie/qt5lottie.hash b/buildroot-2021.05/package/qt5/qt5lottie/qt5lottie.hash deleted file mode 100644 index 740f9072..00000000 --- a/buildroot-2021.05/package/qt5/qt5lottie/qt5lottie.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Hash from: http://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtlottie-everywhere-src-5.15.2.tar.xz.sha256 -sha256 cec6095ab8f714e609d2ad3ea8c4fd819461ce8793adc42abe37d0f6dc432517 qtlottie-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT diff --git a/buildroot-2021.05/package/qt5/qt5lottie/qt5lottie.mk b/buildroot-2021.05/package/qt5/qt5lottie/qt5lottie.mk deleted file mode 100644 index 1423a629..00000000 --- a/buildroot-2021.05/package/qt5/qt5lottie/qt5lottie.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# qt5lottie -# -################################################################################ - -QT5LOTTIE_VERSION = $(QT5_VERSION) -QT5LOTTIE_SITE = $(QT5_SITE) -QT5LOTTIE_SOURCE = qtlottie-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5LOTTIE_VERSION).tar.xz -QT5LOTTIE_DEPENDENCIES = qt5declarative -QT5LOTTIE_INSTALL_STAGING = YES - -QT5LOTTIE_LICENSE = GPL-3.0 -QT5LOTTIE_LICENSE_FILES = LICENSE.GPL3 LICENSE.GPL3-EXCEPT - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5mqtt/qt5mqtt.mk b/buildroot-2021.05/package/qt5/qt5mqtt/qt5mqtt.mk deleted file mode 100644 index 54cc1de6..00000000 --- a/buildroot-2021.05/package/qt5/qt5mqtt/qt5mqtt.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# qt5mqtt -# -################################################################################ - -QT5MQTT_VERSION = $(QT5_VERSION) -QT5MQTT_SITE = https://code.qt.io/cgit/qt/qtmqtt.git -QT5MQTT_SITE_METHOD = git -QT5MQTT_INSTALL_STAGING = YES -QT5MQTT_LICENSE = GPL-3.0 with exception -QT5MQTT_LICENSE_FILES = LICENSE.GPL3 LICENSE.GPL3-EXCEPT -QT5MQTT_SYNC_QT_HEADERS = YES - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5multimedia/Config.in b/buildroot-2021.05/package/qt5/qt5multimedia/Config.in deleted file mode 100644 index dd46575d..00000000 --- a/buildroot-2021.05/package/qt5/qt5multimedia/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_QT5MULTIMEDIA - bool "qt5multimedia" - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_QT5BASE_NETWORK - select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE_OPENGL - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt Multimedia module provides a rich feature set that - enables you to easily take advantage of a platform's - multimedia capabilities such as media playback and the use - of camera and radio devices. - - http://doc.qt.io/qt-5/multimediaoverview.html diff --git a/buildroot-2021.05/package/qt5/qt5multimedia/qt5multimedia.hash b/buildroot-2021.05/package/qt5/qt5multimedia/qt5multimedia.hash deleted file mode 100644 index b70a4ecf..00000000 --- a/buildroot-2021.05/package/qt5/qt5multimedia/qt5multimedia.hash +++ /dev/null @@ -1,10 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtmultimedia-everywhere-src-5.15.2.tar.xz.sha256 -sha256 0c3758810e5131aabcf76e4965e4c18b8911af54d9edd9305d2a8278d8346df5 qtmultimedia-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL -sha256 c1d75c15db4409bcbb182180d582f410a263dc9a631cd546b256e95f1da42165 examples/multimedia/spectrum/3rdparty/fftreal/license.txt diff --git a/buildroot-2021.05/package/qt5/qt5multimedia/qt5multimedia.mk b/buildroot-2021.05/package/qt5/qt5multimedia/qt5multimedia.mk deleted file mode 100644 index 39eddc3a..00000000 --- a/buildroot-2021.05/package/qt5/qt5multimedia/qt5multimedia.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# qt5multimedia -# -################################################################################ - -QT5MULTIMEDIA_VERSION = $(QT5_VERSION) -QT5MULTIMEDIA_SITE = $(QT5_SITE) -QT5MULTIMEDIA_SOURCE = qtmultimedia-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5MULTIMEDIA_VERSION).tar.xz -QT5MULTIMEDIA_INSTALL_STAGING = YES - -QT5MULTIMEDIA_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5MULTIMEDIA_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) -QT5MULTIMEDIA_DEPENDENCIES += gst1-plugins-base -endif - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5MULTIMEDIA_DEPENDENCIES += qt5declarative -endif - -ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_PULSEAUDIO),yy) -QT5MULTIMEDIA_DEPENDENCIES += libglib2 pulseaudio -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -QT5MULTIMEDIA_DEPENDENCIES += alsa-lib -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5MULTIMEDIA_LICENSE += , LGPL-2.1+ (examples/multimedia/spectrum/3rdparty/fftreal) -QT5MULTIMEDIA_LICENSE_FILES += examples/multimedia/spectrum/3rdparty/fftreal/license.txt -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5quickcontrols/Config.in b/buildroot-2021.05/package/qt5/qt5quickcontrols/Config.in deleted file mode 100644 index 56fcaf70..00000000 --- a/buildroot-2021.05/package/qt5/qt5quickcontrols/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_QT5QUICKCONTROLS - bool "qt5quickcontrols" - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE - select BR2_PACKAGE_QT5DECLARATIVE - select BR2_PACKAGE_QT5DECLARATIVE_QUICK - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt Quick Controls module provides a set of controls - that can be used to build complete interfaces in Qt Quick. - - http://doc.qt.io/qt-5/qtquickcontrols-index.html diff --git a/buildroot-2021.05/package/qt5/qt5quickcontrols/qt5quickcontrols.hash b/buildroot-2021.05/package/qt5/qt5quickcontrols/qt5quickcontrols.hash deleted file mode 100644 index 1fa0d643..00000000 --- a/buildroot-2021.05/package/qt5/qt5quickcontrols/qt5quickcontrols.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtquickcontrols-everywhere-src-5.15.2.tar.xz.sha256 -sha256 c393fb7384b1f047f10e91a6832cf3e6a4c2a41408b8cb2d05af2283e8549fb5 qtquickcontrols-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5quickcontrols/qt5quickcontrols.mk b/buildroot-2021.05/package/qt5/qt5quickcontrols/qt5quickcontrols.mk deleted file mode 100644 index 1ac8689d..00000000 --- a/buildroot-2021.05/package/qt5/qt5quickcontrols/qt5quickcontrols.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# qt5quickcontrols -# -################################################################################ - -QT5QUICKCONTROLS_VERSION = $(QT5_VERSION) -QT5QUICKCONTROLS_SITE = $(QT5_SITE) -QT5QUICKCONTROLS_SOURCE = qtquickcontrols-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5QUICKCONTROLS_VERSION).tar.xz -QT5QUICKCONTROLS_DEPENDENCIES = qt5declarative -QT5QUICKCONTROLS_INSTALL_STAGING = YES - -QT5QUICKCONTROLS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs) -QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.LGPL3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5quickcontrols2/Config.in b/buildroot-2021.05/package/qt5/qt5quickcontrols2/Config.in deleted file mode 100644 index 3f81e20d..00000000 --- a/buildroot-2021.05/package/qt5/qt5quickcontrols2/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_QT5QUICKCONTROLS2 - bool "qt5quickcontrols2" - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative/quick - select BR2_PACKAGE_QT5DECLARATIVE - select BR2_PACKAGE_QT5DECLARATIVE_QUICK - help - Qt is a cross-platform application and UI framework for - developers using C++. - - This package corresponds to the qt5quickcontrols2 module. - - This module was in tech preview in Qt 5.6, and promoted - to a core module in Qt 5.7.0. - - https://doc.qt.io/qt-5/qtquickcontrols2-index.html diff --git a/buildroot-2021.05/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash b/buildroot-2021.05/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash deleted file mode 100644 index f66a1186..00000000 --- a/buildroot-2021.05/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtquickcontrols2-everywhere-src-5.15.2.tar.xz.sha256 -sha256 671b6ce5f4b8ecc94db622d5d5fb29ef4ff92819be08e5ea55bfcab579de8919 qtquickcontrols2-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 d2cfc059acb4abd8e513cd0a73cd8489f34cbafa7bc34d5d31fb3210821cf8ca LICENSE.GPLv3 -sha256 9e63a04ce021b8bf811b30881fa51c8c3db88afeead942cd59322f2fb69c75bc LICENSE.LGPLv3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk b/buildroot-2021.05/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk deleted file mode 100644 index 2f6dcd1f..00000000 --- a/buildroot-2021.05/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# qt5quickcontrols2 -# -################################################################################ - -QT5QUICKCONTROLS2_VERSION = $(QT5_VERSION) -QT5QUICKCONTROLS2_SITE = $(QT5_SITE) -QT5QUICKCONTROLS2_SOURCE = qtquickcontrols2-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5QUICKCONTROLS2_VERSION).tar.xz -QT5QUICKCONTROLS2_DEPENDENCIES = qt5declarative -QT5QUICKCONTROLS2_INSTALL_STAGING = YES - -QT5QUICKCONTROLS2_LICENSE = GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs) -QT5QUICKCONTROLS2_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5quicktimeline/qt5quicktimeline.hash b/buildroot-2021.05/package/qt5/qt5quicktimeline/qt5quicktimeline.hash deleted file mode 100644 index ac97fc31..00000000 --- a/buildroot-2021.05/package/qt5/qt5quicktimeline/qt5quicktimeline.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtquicktimeline-everywhere-src-5.15.2.tar.xz.sha256 -sha256 b9c247227607437acec7c7dd18ad46179d20369c9d22bdb1e9fc128dfb832a28 qtquicktimeline-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/buildroot-2021.05/package/qt5/qt5quicktimeline/qt5quicktimeline.mk b/buildroot-2021.05/package/qt5/qt5quicktimeline/qt5quicktimeline.mk deleted file mode 100644 index ef6927f9..00000000 --- a/buildroot-2021.05/package/qt5/qt5quicktimeline/qt5quicktimeline.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# qt5quicktimeline -# -################################################################################ - -QT5QUICKTIMELINE_VERSION = $(QT5_VERSION) -QT5QUICKTIMELINE_SITE = $(QT5_SITE) -QT5QUICKTIMELINE_SOURCE = qtquicktimeline-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5QUICKTIMELINE_VERSION).tar.xz -QT5QUICKTIMELINE_DEPENDENCIES = qt5declarative -QT5QUICKTIMELINE_INSTALL_STAGING = YES - -QT5QUICKTIMELINE_LICENSE = GPL-3.0, GFDL-1.3 (docs) -QT5QUICKTIMELINE_LICENSE_FILES = LICENSE.GPL3 - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5remoteobjects/qt5remoteobjects.hash b/buildroot-2021.05/package/qt5/qt5remoteobjects/qt5remoteobjects.hash deleted file mode 100644 index 30c5bfc5..00000000 --- a/buildroot-2021.05/package/qt5/qt5remoteobjects/qt5remoteobjects.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtremoteobjects-everywhere-src-5.15.2.tar.xz.sha256 -sha256 6781b6bc90888254ea77ce812736dac00c67fa4eeb3095f5cd65e4b9c15dcfc2 qtremoteobjects-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 diff --git a/buildroot-2021.05/package/qt5/qt5remoteobjects/qt5remoteobjects.mk b/buildroot-2021.05/package/qt5/qt5remoteobjects/qt5remoteobjects.mk deleted file mode 100644 index a6b5f095..00000000 --- a/buildroot-2021.05/package/qt5/qt5remoteobjects/qt5remoteobjects.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# qt5remoteobjects -# -################################################################################ - -QT5REMOTEOBJECTS_VERSION = $(QT5_VERSION) -QT5REMOTEOBJECTS_SITE = $(QT5_SITE) -QT5REMOTEOBJECTS_SOURCE = qtremoteobjects-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5REMOTEOBJECTS_VERSION).tar.xz -QT5REMOTEOBJECTS_DEPENDENCIES = qt5base -QT5REMOTEOBJECTS_INSTALL_STAGING = YES -QT5REMOTEOBJECTS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception (tools), GFDL-1.3 (docs) -QT5REMOTEOBJECTS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5REMOTEOBJECTS_DEPENDENCIES += qt5declarative -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5script/Config.in b/buildroot-2021.05/package/qt5/qt5script/Config.in deleted file mode 100644 index 1926813e..00000000 --- a/buildroot-2021.05/package/qt5/qt5script/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_QT5SCRIPT - bool "qt5script" - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Qt Script provides support for making Qt applications - scriptable. Provided for Qt 4.x compatibility. - - This package has been tagged as deprecated since version - 5.5.0 and should be replaced by Qt QML module in new - design. - - http://doc.qt.io/qt-5/qtscript-index.html diff --git a/buildroot-2021.05/package/qt5/qt5script/qt5script.hash b/buildroot-2021.05/package/qt5/qt5script/qt5script.hash deleted file mode 100644 index 78359804..00000000 --- a/buildroot-2021.05/package/qt5/qt5script/qt5script.hash +++ /dev/null @@ -1,10 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtscript-everywhere-src-5.15.2.tar.xz.sha256 -sha256 a299715369afbd1caa4d7fa2875d442eab91adcaacafce54a36922442624673e qtscript-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL -sha256 5094ecb9c9dcd0eadc34f3c11511d9b5535063032bc150164ecd1a5d5a445547 src/3rdparty/javascriptcore/JavaScriptCore/COPYING.LIB -sha256 43b007cd3ac7b7ea5284b13e9580334028e6f42e859059605d57558f39374197 src/3rdparty/javascriptcore/JavaScriptCore/pcre/COPYING diff --git a/buildroot-2021.05/package/qt5/qt5script/qt5script.mk b/buildroot-2021.05/package/qt5/qt5script/qt5script.mk deleted file mode 100644 index 77254fec..00000000 --- a/buildroot-2021.05/package/qt5/qt5script/qt5script.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# qt5script -# -################################################################################ - -QT5SCRIPT_VERSION = $(QT5_VERSION) -QT5SCRIPT_SITE = $(QT5_SITE) -QT5SCRIPT_SOURCE = qtscript-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5SCRIPT_VERSION).tar.xz -QT5SCRIPT_INSTALL_STAGING = YES - -# JavaScriptCore contains files under BSD-2-Clause, BSD-3-Clause, and LGPL-2+. -# This is linked into libQt5Script, which also contains Qt sources under -# LGPL-2.1 (only). Therefore, the library is LGPL-2.1 and BSD-3-Clause. -# libQt5ScriptTools is under the normal Qt opensource license. -QT5SCRIPT_LICENSE = LGPL-2.1, BSD-3-Clause, LGPL-3.0 or GPL-2.0+ (libQt5ScriptTools), GFDL-1.3 (docs) -# LGPL-2.1 license file is missing -QT5SCRIPT_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.LGPL3 LICENSE.FDL -# License files from JavaScriptCore -QT5SCRIPT_LICENSE_FILES += \ - src/3rdparty/javascriptcore/JavaScriptCore/COPYING.LIB \ - src/3rdparty/javascriptcore/JavaScriptCore/pcre/COPYING - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5scxml/qt5scxml.hash b/buildroot-2021.05/package/qt5/qt5scxml/qt5scxml.hash deleted file mode 100644 index 6f816548..00000000 --- a/buildroot-2021.05/package/qt5/qt5scxml/qt5scxml.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtscxml-everywhere-src-5.15.2.tar.xz.sha256 -sha256 60b9590b9a41c60cee7b8a8c8410ee4625f0389c1ff8d79883ec5a985638a7dc qtscxml-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 diff --git a/buildroot-2021.05/package/qt5/qt5scxml/qt5scxml.mk b/buildroot-2021.05/package/qt5/qt5scxml/qt5scxml.mk deleted file mode 100644 index 186a2d38..00000000 --- a/buildroot-2021.05/package/qt5/qt5scxml/qt5scxml.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# qt5scxml -# -################################################################################ - -QT5SCXML_VERSION = $(QT5_VERSION) -QT5SCXML_SITE = $(QT5_SITE) -QT5SCXML_SOURCE = qtscxml-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5SCXML_VERSION).tar.xz -QT5SCXML_DEPENDENCIES = qt5declarative -QT5SCXML_INSTALL_STAGING = YES - -QT5SCXML_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5SCXML_LICENSE_FILES = LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5SCXML_LICENSE += , BSD-3-Clause (examples) -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5sensors/Config.in b/buildroot-2021.05/package/qt5/qt5sensors/Config.in deleted file mode 100644 index 5e8ee653..00000000 --- a/buildroot-2021.05/package/qt5/qt5sensors/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_QT5SENSORS - bool "qt5sensors" - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt Sensors API provides access to sensor hardware - via QML and C++ interfaces. - - http://doc.qt.io/qt-5/qtsensors-index.html diff --git a/buildroot-2021.05/package/qt5/qt5sensors/qt5sensors.hash b/buildroot-2021.05/package/qt5/qt5sensors/qt5sensors.hash deleted file mode 100644 index 179c9833..00000000 --- a/buildroot-2021.05/package/qt5/qt5sensors/qt5sensors.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtsensors-everywhere-src-5.15.2.tar.xz.sha256 -sha256 3f0011f9e9942cad119146b54d960438f4568a22a274cdad4fae06bb4e0e4839 qtsensors-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5sensors/qt5sensors.mk b/buildroot-2021.05/package/qt5/qt5sensors/qt5sensors.mk deleted file mode 100644 index f928aad1..00000000 --- a/buildroot-2021.05/package/qt5/qt5sensors/qt5sensors.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# qt5sensors -# -################################################################################ - -QT5SENSORS_VERSION = $(QT5_VERSION) -QT5SENSORS_SITE = $(QT5_SITE) -QT5SENSORS_SOURCE = qtsensors-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5SENSORS_VERSION).tar.xz -QT5SENSORS_INSTALL_STAGING = YES -QT5SENSORS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5SENSORS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5SENSORS_DEPENDENCIES += qt5declarative -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5serialbus/Config.in b/buildroot-2021.05/package/qt5/qt5serialbus/Config.in deleted file mode 100644 index bcfec29b..00000000 --- a/buildroot-2021.05/package/qt5/qt5serialbus/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_QT5SERIALBUS - bool "qt5serialbus" - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 # CAN FD - select BR2_PACKAGE_QT5SERIALPORT - help - Qt is a cross-platform application and UI framework for - developers using C++. - - This package corresponds to the qt5serialbus module. - - This module was in tech preview in Qt 5.6, and promoted - to a core module in Qt 5.8.0. - - http://doc.qt.io/qt-5/qtserialbus-index.html - -comment "qt5serialbus needs headers >= 3.6" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 diff --git a/buildroot-2021.05/package/qt5/qt5serialbus/qt5serialbus.hash b/buildroot-2021.05/package/qt5/qt5serialbus/qt5serialbus.hash deleted file mode 100644 index 4f05049b..00000000 --- a/buildroot-2021.05/package/qt5/qt5serialbus/qt5serialbus.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtserialbus-everywhere-src-5.15.2.tar.xz.sha256 -sha256 aeeb7e5c0d3f8503215b22e1a84c0002ca67cf63862f6e3c6ef44a67ca31bd88 qtserialbus-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 -sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 -sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5serialbus/qt5serialbus.mk b/buildroot-2021.05/package/qt5/qt5serialbus/qt5serialbus.mk deleted file mode 100644 index 412a2556..00000000 --- a/buildroot-2021.05/package/qt5/qt5serialbus/qt5serialbus.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# qt5serialbus -# -################################################################################ - -QT5SERIALBUS_VERSION = $(QT5_VERSION) -QT5SERIALBUS_SITE = $(QT5_SITE) -QT5SERIALBUS_SOURCE = qtserialbus-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5SERIALBUS_VERSION).tar.xz -QT5SERIALBUS_DEPENDENCIES = qt5serialport -QT5SERIALBUS_INSTALL_STAGING = YES - -QT5SERIALBUS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs) -QT5SERIALBUS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5serialport/Config.in b/buildroot-2021.05/package/qt5/qt5serialport/Config.in deleted file mode 100644 index 16c2eaa6..00000000 --- a/buildroot-2021.05/package/qt5/qt5serialport/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_QT5SERIALPORT - bool "qt5serialport" - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Qt Serial Port provides the basic functionality, which - includes configuring, I/O operations, getting and setting - the control signals of the RS-232 pinouts. - - http://doc.qt.io/qt-5/qtserialport-index.html diff --git a/buildroot-2021.05/package/qt5/qt5serialport/qt5serialport.hash b/buildroot-2021.05/package/qt5/qt5serialport/qt5serialport.hash deleted file mode 100644 index 37bc8401..00000000 --- a/buildroot-2021.05/package/qt5/qt5serialport/qt5serialport.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtserialport-everywhere-src-5.15.2.tar.xz.sha256 -sha256 59c559d748417306bc1b2cf2315c1e63eed011ace38ad92946af71f23e2ef79d qtserialport-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5serialport/qt5serialport.mk b/buildroot-2021.05/package/qt5/qt5serialport/qt5serialport.mk deleted file mode 100644 index 902967c7..00000000 --- a/buildroot-2021.05/package/qt5/qt5serialport/qt5serialport.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# qt5serialport -# -################################################################################ - -QT5SERIALPORT_VERSION = $(QT5_VERSION) -QT5SERIALPORT_SITE = $(QT5_SITE) -QT5SERIALPORT_SOURCE = qtserialport-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5SERIALPORT_VERSION).tar.xz -QT5SERIALPORT_INSTALL_STAGING = YES -QT5SERIALPORT_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5SERIALPORT_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5svg/Config.in b/buildroot-2021.05/package/qt5/qt5svg/Config.in deleted file mode 100644 index e9284913..00000000 --- a/buildroot-2021.05/package/qt5/qt5svg/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_QT5SVG - bool "qt5svg" - select BR2_PACKAGE_QT5BASE_GUI - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Qt SVG provides classes for rendering and displaying SVG - drawings in widgets and on other paint devices. - - http://doc.qt.io/qt-5/qtsvg-index.html diff --git a/buildroot-2021.05/package/qt5/qt5svg/qt5svg.hash b/buildroot-2021.05/package/qt5/qt5svg/qt5svg.hash deleted file mode 100644 index 7773a940..00000000 --- a/buildroot-2021.05/package/qt5/qt5svg/qt5svg.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtsvg-everywhere-src-5.15.2.tar.xz.sha256 -sha256 8bc3c2c1bc2671e9c67d4205589a8309b57903721ad14c60ea21a5d06acb585e qtsvg-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 -sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5svg/qt5svg.mk b/buildroot-2021.05/package/qt5/qt5svg/qt5svg.mk deleted file mode 100644 index d4b31c23..00000000 --- a/buildroot-2021.05/package/qt5/qt5svg/qt5svg.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# qt5svg -# -################################################################################ - -QT5SVG_VERSION = $(QT5_VERSION) -QT5SVG_SITE = $(QT5_SITE) -QT5SVG_SOURCE = qtsvg-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5SVG_VERSION).tar.xz -QT5SVG_INSTALL_STAGING = YES -QT5SVG_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5SVG_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5tools/Config.in b/buildroot-2021.05/package/qt5/qt5tools/Config.in deleted file mode 100644 index 60106c1e..00000000 --- a/buildroot-2021.05/package/qt5/qt5tools/Config.in +++ /dev/null @@ -1,59 +0,0 @@ -config BR2_PACKAGE_QT5TOOLS - bool "qt5tools" - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Qt Tools provides tools facilitate the development - and design of applications. - - http://doc.qt.io/qt-5/qtmodules.html#qt-tools - -if BR2_PACKAGE_QT5TOOLS - -config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS - bool "Linguist host tools (lconvert, lrelease, lupdate)" - help - This option enables the linguist host tools - lconvert, lrelease and lupdate. - -config BR2_PACKAGE_QT5TOOLS_QDOC_TOOL - bool "qdoc host tool" - # Needs llvm-config and libclang for the host, which is not - # currently supported in Buildroot, unless the target is - # already supported by llvm. - depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS # llvm, clang - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # llvm, clang - depends on BR2_TOOLCHAIN_HAS_THREADS # llvm, clang - depends on BR2_INSTALL_LIBSTDCPP # llvm, clang - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # llvm, clang - depends on !BR2_STATIC_LIBS # llvm, clang - depends on BR2_USE_WCHAR # llvm, clang - help - This option enables the qdoc host tool. - -config BR2_PACKAGE_QT5TOOLS_PIXELTOOL - bool "pixeltool" - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_QT5BASE_WIDGETS - select BR2_PACKAGE_QT5BASE_PNG # saving png images - help - Compile and install the pixeltool program. - -config BR2_PACKAGE_QT5TOOLS_QTDIAG - bool "qtdiag" - select BR2_PACKAGE_QT5BASE_GUI - help - Compile and install the qtdiag program. - -config BR2_PACKAGE_QT5TOOLS_QTPATHS - bool "qtpaths" - help - Compile and install the qtpaths program. - -config BR2_PACKAGE_QT5TOOLS_QTPLUGININFO - bool "qtplugininfo" - help - Compile and install the qtplugininfo program. - -endif diff --git a/buildroot-2021.05/package/qt5/qt5tools/qt5tools.hash b/buildroot-2021.05/package/qt5/qt5tools/qt5tools.hash deleted file mode 100644 index e52d8e6d..00000000 --- a/buildroot-2021.05/package/qt5/qt5tools/qt5tools.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qttools-everywhere-src-5.15.2.tar.xz.sha256 -sha256 c189d0ce1ff7c739db9a3ace52ac3e24cb8fd6dbf234e49f075249b38f43c1cc qttools-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5tools/qt5tools.mk b/buildroot-2021.05/package/qt5/qt5tools/qt5tools.mk deleted file mode 100644 index 0543afd8..00000000 --- a/buildroot-2021.05/package/qt5/qt5tools/qt5tools.mk +++ /dev/null @@ -1,64 +0,0 @@ -################################################################################ -# -# qt5tools -# -################################################################################ - -QT5TOOLS_VERSION = $(QT5_VERSION) -QT5TOOLS_SITE = $(QT5_SITE) -QT5TOOLS_SOURCE = qttools-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5TOOLS_VERSION).tar.xz - -QT5TOOLS_INSTALL_STAGING = YES - -# linguist tools compile conditionally on qtHaveModule(qmldevtools-private), -# but the condition is used only used to decide if lupdate will support -# parsing qml files (via setting QT_NO_QML define), no linking against -# target qt5 will happen -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5TOOLS_DEPENDENCIES += qt5declarative -endif - -QT5TOOLS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5TOOLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS) += \ - linguist/lconvert linguist/lrelease linguist/lupdate -QT5TOOLS_INSTALL_STAGING_DIR_$(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS) += \ - linguist - -ifeq ($(BR2_PACKAGE_QT5TOOLS_QDOC_TOOL),y) -QT5TOOLS_BUILD_DIRS_y += qdoc -QT5TOOLS_INSTALL_STAGING_DIR_y += qdoc -QT5TOOLS_DEPENDENCIES += host-clang -endif - -QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_PIXELTOOL) += pixeltool -QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_PIXELTOOL) += pixeltool - -QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTDIAG) += qtdiag -QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTDIAG) += qtdiag - -QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTPATHS) += qtpaths -QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTPATHS) += qtpaths - -QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTPLUGININFO) += qtplugininfo -QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTPLUGININFO) += qtplugininfo - -define QT5TOOLS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) sub-src-qmake_all - $(foreach p,$(QT5TOOLS_BUILD_DIRS_y), \ - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src/$(p)$(sep)) -endef - -# use install target to copy cmake module files -define QT5TOOLS_INSTALL_STAGING_CMDS - $(foreach p,$(QT5TOOLS_INSTALL_STAGING_DIR_y), \ - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src/$(p) install$(sep)) -endef - -define QT5TOOLS_INSTALL_TARGET_CMDS - $(foreach p,$(QT5TOOLS_INSTALL_TARGET_y), \ - $(INSTALL) -D -m0755 $(@D)/bin/$(p) $(TARGET_DIR)/usr/bin/$(p)$(sep)) -endef - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash b/buildroot-2021.05/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash deleted file mode 100644 index 82f13237..00000000 --- a/buildroot-2021.05/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtvirtualkeyboard-everywhere-src-5.15.2.tar.xz.sha256 -sha256 9a3193913be30f09a896e3b8c2f9696d2e9b3f88a63ae9ca8c97a2786b68cf55 qtvirtualkeyboard-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 7a45a9769d19545480a241230e6ea520b5156fac00930dcd69b6886749743d10 src/plugins/lipi-toolkit/3rdparty/lipi-toolkit/MIT_LICENSE.txt -sha256 05cc719deafd0ab083b03296bb2911de10d116953b626a7629b9ca59938038b1 src/plugins/openwnn/3rdparty/openwnn/NOTICE -sha256 b5830d96fb5a7e7e7ebcc295f352846b4b998e78fdc8f9aa68e134d2e4b39986 src/plugins/pinyin/3rdparty/pinyin/NOTICE -sha256 9400a6128693d2f25653698e695f554660c71efccc8c21af28bf143e35199db6 src/plugins/tcime/3rdparty/tcime/COPYING diff --git a/buildroot-2021.05/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk b/buildroot-2021.05/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk deleted file mode 100644 index 3984c986..00000000 --- a/buildroot-2021.05/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# qt5virtualkeyboard -# -################################################################################ - -QT5VIRTUALKEYBOARD_VERSION = $(QT5_VERSION) -QT5VIRTUALKEYBOARD_SITE = $(QT5_SITE) -QT5VIRTUALKEYBOARD_SOURCE = qtvirtualkeyboard-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5VIRTUALKEYBOARD_VERSION).tar.xz -QT5VIRTUALKEYBOARD_DEPENDENCIES = qt5declarative qt5svg -QT5VIRTUALKEYBOARD_INSTALL_STAGING = YES - -QT5VIRTUALKEYBOARD_LICENSE = GPL-3.0 -QT5VIRTUALKEYBOARD_LICENSE_FILES = LICENSE.GPL3 - -QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS = $(call qstrip,$(BR2_PACKAGE_QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)) -ifneq ($(strip $(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),) -QT5VIRTUALKEYBOARD_QMAKEFLAGS += CONFIG+="$(foreach lang,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS),lang-$(lang))" - -ifneq ($(filter ja_JP all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),) -QT5VIRTUALKEYBOARD_LICENSE += , Apache-2.0 (openwnn) -QT5VIRTUALKEYBOARD_LICENSE_FILES += src/plugins/openwnn/3rdparty/openwnn/NOTICE -endif - -ifneq ($(filter zh_CN all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),) -QT5VIRTUALKEYBOARD_LICENSE += , Apache-2.0 (pinyin) -QT5VIRTUALKEYBOARD_LICENSE_FILES += src/plugins/pinyin/3rdparty/pinyin/NOTICE -endif - -ifneq ($(filter zh_TW all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),) -QT5VIRTUALKEYBOARD_LICENSE += , Apache-2.0 (tcime), BSD-3-Clause (tcime) -QT5VIRTUALKEYBOARD_LICENSE_FILES += src/plugins/tcime/3rdparty/tcime/COPYING -endif -endif - -ifeq ($(BR2_PACKAGE_QT5VIRTUALKEYBOARD_HANDWRITING),y) -QT5VIRTUALKEYBOARD_CONF_OPTS += CONFIG+=handwriting -QT5VIRTUALKEYBOARD_LICENSE += , MIT (lipi-toolkit) -QT5VIRTUALKEYBOARD_LICENSE_FILES += src/plugins/lipi-toolkit/3rdparty/lipi-toolkit/MIT_LICENSE.txt -endif - -ifeq ($(BR2_PACKAGE_QT5VIRTUALKEYBOARD_ARROW_KEY_NAVIGATION),y) -QT5VIRTUALKEYBOARD_CONF_OPTS += CONFIG+=arrow-key-navigation -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5wayland/Config.in b/buildroot-2021.05/package/qt5/qt5wayland/Config.in deleted file mode 100644 index 0d5a1089..00000000 --- a/buildroot-2021.05/package/qt5/qt5wayland/Config.in +++ /dev/null @@ -1,24 +0,0 @@ -comment "qt5wayland needs an OpenGL-capable backend" - depends on !BR2_PACKAGE_QT5_GL_AVAILABLE - -config BR2_PACKAGE_QT5WAYLAND - bool "qt5wayland" - depends on BR2_PACKAGE_QT5_GL_AVAILABLE - select BR2_PACKAGE_WAYLAND - help - Qt is a cross-platform application and UI framework for - developers using C++. - - This package corresponds to the qt5wayland module. - - http://qt.io - -if BR2_PACKAGE_QT5WAYLAND - -config BR2_PACKAGE_QT5WAYLAND_COMPOSITOR - bool "Enable compositor (experimental)" - help - The compositor API is still experimental, and not built by - default. - -endif diff --git a/buildroot-2021.05/package/qt5/qt5wayland/qt5wayland.hash b/buildroot-2021.05/package/qt5/qt5wayland/qt5wayland.hash deleted file mode 100644 index b17dbdd1..00000000 --- a/buildroot-2021.05/package/qt5/qt5wayland/qt5wayland.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtwayland-everywhere-src-5.15.2.tar.xz.sha256 -sha256 193732229ff816f3aaab9a5e2f6bed71ddddbf1988ce003fe8dd84a92ce9aeb5 qtwayland-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5wayland/qt5wayland.mk b/buildroot-2021.05/package/qt5/qt5wayland/qt5wayland.mk deleted file mode 100644 index 0076bbfe..00000000 --- a/buildroot-2021.05/package/qt5/qt5wayland/qt5wayland.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# qt5wayland -# -################################################################################ - -QT5WAYLAND_VERSION = $(QT5_VERSION) -QT5WAYLAND_SITE = $(QT5_SITE) -QT5WAYLAND_SOURCE = qtwayland-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5WAYLAND_VERSION).tar.xz -QT5WAYLAND_DEPENDENCIES = wayland -QT5WAYLAND_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y) -QT5WAYLAND_DEPENDENCIES += qt5declarative -endif - -ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) -QT5WAYLAND_DEPENDENCIES += libxkbcommon -endif - -QT5WAYLAND_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5WAYLAND_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -ifeq ($(BR2_PACKAGE_QT5WAYLAND_COMPOSITOR),y) -QT5WAYLAND_CONF_OPTS += CONFIG+=wayland-compositor -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5webchannel/Config.in b/buildroot-2021.05/package/qt5/qt5webchannel/Config.in deleted file mode 100644 index 436e3abb..00000000 --- a/buildroot-2021.05/package/qt5/qt5webchannel/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_QT5WEBCHANNEL - bool "qt5webchannel" - select BR2_PACKAGE_QT5WEBSOCKETS - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Qt WebChannel enables peer-to-peer communication between - a server (QML/C++ application) and a client - (HTML/JavaScript or QML application). - - http://doc.qt.io/qt-5/qtwebchannel-index.html diff --git a/buildroot-2021.05/package/qt5/qt5webchannel/qt5webchannel.hash b/buildroot-2021.05/package/qt5/qt5webchannel/qt5webchannel.hash deleted file mode 100644 index 47c7da33..00000000 --- a/buildroot-2021.05/package/qt5/qt5webchannel/qt5webchannel.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtwebchannel-everywhere-src-5.15.2.tar.xz.sha256 -sha256 127fe79c43b386713f151ed7d411cd81e45e29f9c955584f29736f78c9303ec1 qtwebchannel-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5webchannel/qt5webchannel.mk b/buildroot-2021.05/package/qt5/qt5webchannel/qt5webchannel.mk deleted file mode 100644 index 176c0fd7..00000000 --- a/buildroot-2021.05/package/qt5/qt5webchannel/qt5webchannel.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# qt5webchannel -# -################################################################################ - -QT5WEBCHANNEL_VERSION = $(QT5_VERSION) -QT5WEBCHANNEL_SITE = $(QT5_SITE) -QT5WEBCHANNEL_SOURCE = qtwebchannel-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5WEBCHANNEL_VERSION).tar.xz -QT5WEBCHANNEL_DEPENDENCIES = qt5websockets -QT5WEBCHANNEL_INSTALL_STAGING = YES -QT5WEBCHANNEL_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5WEBCHANNEL_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5WEBCHANNEL_LICENSE += , BSD-3-Clause (examples) -endif - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5WEBCHANNEL_DEPENDENCIES += qt5declarative -endif - -define QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT - $(INSTALL) -m 0644 -D $(@D)/examples/webchannel/shared/qwebchannel.js \ - $(TARGET_DIR)/var/www/qwebchannel.js -endef -QT5WEBCHANNEL_POST_INSTALL_TARGET_HOOKS += QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5webengine/Config.in b/buildroot-2021.05/package/qt5/qt5webengine/Config.in deleted file mode 100644 index 4e923c7f..00000000 --- a/buildroot-2021.05/package/qt5/qt5webengine/Config.in +++ /dev/null @@ -1,98 +0,0 @@ -config BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS - bool - default y if BR2_aarch64 || BR2_arm || \ - BR2_i386 || BR2_x86_64 || \ - BR2_mips || BR2_mips64 - # -m32 flag is used for 32bit builds and host tools have - # limited architecture support - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative - depends on !BR2_BINFMT_FLAT # qt5base-icu - depends on BR2_USE_MMU # libglib2, qt5base-dbus - -comment "qt5webengine needs udev /dev management and a glibc toolchain w/ gcc >= 4.9, host gcc >= 4.9, threads, wchar" - depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS - depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 || \ - !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR - -comment "qt5webengine needs an OpenGL and EGL-capable backend" - depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS - depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL - -config BR2_PACKAGE_QT5WEBENGINE - bool "qt5webengine" - depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h, mallinfo - depends on BR2_HOST_GCC_AT_LEAST_4_9 # qt5base-icu - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # qt5base-icu - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libvpx, qt5base-dbus - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative, qt5base-eglfs - depends on BR2_PACKAGE_HAS_LIBEGL # qt5base-eglfs - depends on BR2_PACKAGE_HAS_UDEV - # v8 (a chromium 3rd-party) compiles its internal host-tools with the - # same word size as the target. For 32-bits targets, it adds the -m32 - # flag (for 64-bits, it adds the -m64 flag). - # https://github.com/v8/v8/blob/5.6.326.55/gypfiles/toolchain.gypi#L1036-L1037 - select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64 # v8/chromium - select BR2_PACKAGE_FFMPEG - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBNSS - select BR2_PACKAGE_LIBVPX - select BR2_PACKAGE_LIBXKBCOMMON - select BR2_PACKAGE_OPUS - select BR2_PACKAGE_WEBP - select BR2_PACKAGE_WEBP_DEMUX - select BR2_PACKAGE_QT5BASE_DBUS - select BR2_PACKAGE_QT5BASE_EGLFS - select BR2_PACKAGE_QT5BASE_FONTCONFIG - select BR2_PACKAGE_QT5BASE_ICU - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_QT5BASE_WIDGETS - select BR2_PACKAGE_QT5DECLARATIVE - select BR2_PACKAGE_QT5DECLARATIVE_QUICK - select BR2_PACKAGE_QT5QUICKCONTROLS - select BR2_PACKAGE_QT5QUICKCONTROLS2 - select BR2_PACKAGE_QT5SVG if BR2_PACKAGE_QT5BASE_EXAMPLES - select BR2_PACKAGE_QT5WEBCHANNEL - select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB - select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_QT5BASE_XCB - select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_QT5BASE_XCB - select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_QT5BASE_XCB - select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_QT5BASE_XCB - select BR2_PACKAGE_XLIB_LIBXTST if BR2_PACKAGE_QT5BASE_XCB - help - The Qt WebEngine module provides a web browser engine that - makes it easy to embed content from the World Wide Web into - your Qt application. - - Qt WebEngine provides C++ classes and QML types for rendering - HTML, XHTML, and SVG documents, styled using Cascading Style - Sheets (CSS) and scripted with JavaScript. HTML documents can - be made fully editable by the user through the use of the - contenteditable attribute on HTML elements. - - http://doc.qt.io/qt-5/qtwebengine-index.html - -if BR2_PACKAGE_QT5WEBENGINE - -config BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS - bool "proprietary codecs" - help - Qt WebEngine supports the MPEG-4 Part 14 (MP4) file format, - which includes required proprietary audio and video codecs, - such as H.264 and MPEG layer-3 (MP3). - -config BR2_PACKAGE_QT5WEBENGINE_ALSA - bool "alsa" - select BR2_PACKAGE_ALSA_LIB - select BR2_PACKAGE_ALSA_LIB_MIXER - select BR2_PACKAGE_ALSA_LIB_RAWMIDI - select BR2_PACKAGE_ALSA_LIB_HWDEP - select BR2_PACKAGE_ALSA_LIB_SEQ - help - Enable ALSA support. - -endif diff --git a/buildroot-2021.05/package/qt5/qt5webengine/qt5webengine.mk b/buildroot-2021.05/package/qt5/qt5webengine/qt5webengine.mk deleted file mode 100644 index 64c9c96c..00000000 --- a/buildroot-2021.05/package/qt5/qt5webengine/qt5webengine.mk +++ /dev/null @@ -1,66 +0,0 @@ -################################################################################ -# -# qt5webengine -# -################################################################################ - -QT5WEBENGINE_VERSION = $(QT5_VERSION) -QT5WEBENGINE_SITE = $(QT5_SITE) -QT5WEBENGINE_SOURCE = qtwebengine-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5WEBENGINE_VERSION).tar.xz -QT5WEBENGINE_DEPENDENCIES = ffmpeg libglib2 libvpx libxkbcommon opus webp \ - qt5declarative qt5webchannel host-bison host-flex host-gperf \ - host-pkgconf host-python -QT5WEBENGINE_INSTALL_STAGING = YES - -include package/qt5/qt5webengine/chromium-latest.inc - -QT5WEBENGINE_LICENSE = GPL-2.0 or LGPL-3.0 or GPL-3.0 or GPL-3.0 with exception -QT5WEBENGINE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT \ - LICENSE.GPLv3 LICENSE.LGPL3 $(QT5WEBENGINE_CHROMIUM_LICENSE_FILES) - -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5WEBENGINE_DEPENDENCIES += qt5svg -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) -QT5WEBENGINE_DEPENDENCIES += xlib_libXScrnSaver xlib_libXcomposite \ - xlib_libXcursor xlib_libXi xlib_libXrandr xlib_libXtst -endif - -QT5WEBENGINE_DEPENDENCIES += host-libpng host-libnss libnss - -QT5WEBENGINE_CONF_OPTS += WEBENGINE_CONFIG+=use_system_ffmpeg - -ifeq ($(BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS),y) -QT5WEBENGINE_CONF_OPTS += WEBENGINE_CONFIG+=use_proprietary_codecs -endif - -ifeq ($(BR2_PACKAGE_QT5WEBENGINE_ALSA),y) -QT5WEBENGINE_DEPENDENCIES += alsa-lib -else -QT5WEBENGINE_CONF_OPTS += QT_CONFIG-=alsa -endif - -# QtWebengine's build system uses python, but only supports python2. We work -# around this by forcing python2 early in the PATH, via a python->python2 -# symlink. -QT5WEBENGINE_ENV = PATH=$(@D)/host-bin:$(BR_PATH) -define QT5WEBENGINE_PYTHON2_SYMLINK - mkdir -p $(@D)/host-bin - ln -sf $(HOST_DIR)/bin/python2 $(@D)/host-bin/python -endef -QT5WEBENGINE_PRE_CONFIGURE_HOOKS += QT5WEBENGINE_PYTHON2_SYMLINK - -QT5WEBENGINE_ENV += NINJAFLAGS="-j$(PARALLEL_JOBS)" - -define QT5WEBENGINE_CREATE_HOST_PKG_CONFIG - sed s%@HOST_DIR@%$(HOST_DIR)%g $(QT5WEBENGINE_PKGDIR)/host-pkg-config.in > $(@D)/host-bin/host-pkg-config - chmod +x $(@D)/host-bin/host-pkg-config -endef -QT5WEBENGINE_PRE_CONFIGURE_HOOKS += QT5WEBENGINE_CREATE_HOST_PKG_CONFIG -QT5WEBENGINE_ENV += GN_PKG_CONFIG_HOST=$(@D)/host-bin/host-pkg-config - -QT5WEBENGINE_CONF_ENV = $(QT5WEBENGINE_ENV) -QT5WEBENGINE_MAKE_ENV = $(QT5WEBENGINE_ENV) - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5webkit-examples/0001-Build-examples.patch b/buildroot-2021.05/package/qt5/qt5webkit-examples/0001-Build-examples.patch deleted file mode 100644 index 6303006f..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit-examples/0001-Build-examples.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 78f558df35860484711a600d155ae7a13ebf44b2 Mon Sep 17 00:00:00 2001 -From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= -Date: Tue, 28 Nov 2017 23:14:42 -0500 -Subject: [PATCH 1/1] Build examples -MIME-Version: 1.0 -Content-Type: text/plain; charset=utf-8 -Content-Transfer-Encoding: 8bit - -This patch improves the qt5webkit examples build for 2 aspects: - - - Allows to build even if qt5base examples are not enabled - - Builds xmlpatterns example only if the qt5xmlpattern package - has been built - -Signed-off-by: Massimo Callegari -Signed-off-by: Gaël PORTAY -[gportay: build imageanalyzer example if concurrent module is built] ---- - examples/webkitwidgets/webkitwidgets.pro | 7 ++++--- - qtwebkit-examples.pro | 1 + - 2 files changed, 5 insertions(+), 3 deletions(-) - -diff --git a/examples/webkitwidgets/webkitwidgets.pro b/examples/webkitwidgets/webkitwidgets.pro -index ab20df4..67f6785 100644 ---- a/examples/webkitwidgets/webkitwidgets.pro -+++ b/examples/webkitwidgets/webkitwidgets.pro -@@ -4,9 +4,10 @@ SUBDIRS += domtraversal \ - previewer \ - fancybrowser \ - simpleselector \ -- imageanalyzer \ - framecapture \ - browser \ - embedded \ -- scroller \ -- xmlpatterns -+ scroller -+ -+qtHaveModule(xmlpatterns): SUBDIRS += xmlpatterns -+qtHaveModule(concurrent): SUBDIRS += imageanalyzer -diff --git a/qtwebkit-examples.pro b/qtwebkit-examples.pro -index 3fcecf1..2ade7ff 100644 ---- a/qtwebkit-examples.pro -+++ b/qtwebkit-examples.pro -@@ -3,3 +3,4 @@ requires(qtHaveModule(webkit)) - load(qt_parts) - - SUBDIRS += doc -+SUBDIRS += examples --- -2.15.0 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit-examples/0002-Fix-QWebView-path.patch b/buildroot-2021.05/package/qt5/qt5webkit-examples/0002-Fix-QWebView-path.patch deleted file mode 100644 index 30aab301..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit-examples/0002-Fix-QWebView-path.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 9fa73707216bd55dff380031a33aca701a7d9c8b Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sun, 12 May 2019 23:29:05 +0200 -Subject: [PATCH] Fix QWebView path - -QWebView is installed under QtWebKitWidgets - -Fixes: - - http://autobuild.buildroot.org/results/68dd6f1ffed49f8e2570f7364e5e635573807d3e - -Signed-off-by: Fabrice Fontaine ---- - examples/webkitwidgets/formextractor/formextractor.ui | 2 +- - examples/webkitwidgets/previewer/previewer.ui | 2 +- - examples/webkitwidgets/simpleselector/window.ui | 2 +- - .../xmlpatterns/qobjectxmlmodel/forms/mainwindow.ui | 2 +- - 4 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/examples/webkitwidgets/formextractor/formextractor.ui b/examples/webkitwidgets/formextractor/formextractor.ui -index 5c4afec..a38bdd5 100644 ---- a/examples/webkitwidgets/formextractor/formextractor.ui -+++ b/examples/webkitwidgets/formextractor/formextractor.ui -@@ -151,7 +151,7 @@ - - QWebView - QWidget --
QtWebKit/QWebView
-+
QtWebKitWidgets/QWebView
-
- - -diff --git a/examples/webkitwidgets/previewer/previewer.ui b/examples/webkitwidgets/previewer/previewer.ui -index d4c9992..69adb2e 100644 ---- a/examples/webkitwidgets/previewer/previewer.ui -+++ b/examples/webkitwidgets/previewer/previewer.ui -@@ -74,7 +74,7 @@ - - QWebView - QWidget --
QtWebKit/QWebView
-+
QtWebKitWidgets/QWebView
-
- - -diff --git a/examples/webkitwidgets/simpleselector/window.ui b/examples/webkitwidgets/simpleselector/window.ui -index aa824df..7906186 100644 ---- a/examples/webkitwidgets/simpleselector/window.ui -+++ b/examples/webkitwidgets/simpleselector/window.ui -@@ -64,7 +64,7 @@ - - QWebView - QWidget --
QtWebKit/QWebView
-+
QtWebKitWidgets/QWebView
-
- - -diff --git a/examples/webkitwidgets/xmlpatterns/qobjectxmlmodel/forms/mainwindow.ui b/examples/webkitwidgets/xmlpatterns/qobjectxmlmodel/forms/mainwindow.ui -index ad43284..000cae7 100644 ---- a/examples/webkitwidgets/xmlpatterns/qobjectxmlmodel/forms/mainwindow.ui -+++ b/examples/webkitwidgets/xmlpatterns/qobjectxmlmodel/forms/mainwindow.ui -@@ -188,7 +188,7 @@ p, li { white-space: pre-wrap; } - - QWebView - QWidget --
QtWebKit/QWebView
-+
QtWebKitWidgets/QWebView
-
- - --- -2.20.1 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit-examples/0003-Fix-QPainterPath-include.patch b/buildroot-2021.05/package/qt5/qt5webkit-examples/0003-Fix-QPainterPath-include.patch deleted file mode 100644 index 2d5e8fae..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit-examples/0003-Fix-QPainterPath-include.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 452123a4491b26c5b078934477bd5864f1d004e4 Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Thu, 28 May 2020 20:58:26 +0200 -Subject: [PATCH] Fix QPainterPath include -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Add missing QPainterPath (needed for Qt-5.15.0 compile). - -Fixes: - - searchlineedit.cpp:121:18: error: aggregate ‘QPainterPath myPath’ has incomplete type and cannot be defined - QPainterPath myPath; - ^~~~~~ - -Signed-off-by: Peter Seiderer ---- - examples/webkitwidgets/browser/searchlineedit.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/examples/webkitwidgets/browser/searchlineedit.cpp b/examples/webkitwidgets/browser/searchlineedit.cpp -index fbd73cb..7462c82 100644 ---- a/examples/webkitwidgets/browser/searchlineedit.cpp -+++ b/examples/webkitwidgets/browser/searchlineedit.cpp -@@ -34,6 +34,7 @@ - #include "searchlineedit.h" - - #include -+#include - #include - #include - #include --- -2.26.2 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit-examples/Config.in b/buildroot-2021.05/package/qt5/qt5webkit-examples/Config.in deleted file mode 100644 index 47bbcbaa..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit-examples/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_QT5WEBKIT_EXAMPLES - bool "qt5webkit-examples" - depends on BR2_PACKAGE_QT5WEBKIT - help - Qt is a cross-platform application and UI framework for - developers using C++. - - This package contains examples for the qt5webkit module. - - http://qt.io diff --git a/buildroot-2021.05/package/qt5/qt5webkit-examples/qt5webkit-examples.hash b/buildroot-2021.05/package/qt5/qt5webkit-examples/qt5webkit-examples.hash deleted file mode 100644 index ea64f6f1..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit-examples/qt5webkit-examples.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-examples-opensource-src-5.9.1.tar.xz.mirrorlist -sha256 e4ce4de6b468243abad2baabbe8ddfb05d25b186529bfe88cb8662fc983f54d0 qtwebkit-examples-opensource-src-5.9.1.tar.xz - -# Hashes for license files: -sha256 a3db6c7f3027aa27489c25a2fa259185cdee945780c32e01c60cbfabf4743b6c LICENSE.LGPLv21 -sha256 04505ee290cbe7b29b3766e00ff81987e84658f620cb43bd6e7bb52ee4234e1b LICENSE.LGPLv3 -sha256 6c3f3c31b93985f1b93bfbb35fb609d37281697d0efc220c9f91cf4b59eaabde LICENSE.GPLv2 -sha256 d3d9052b838761dbe00067168ed9ebc437734d53ebf71dea1c8e9f7532a5333b LICENSE.GPLv3 diff --git a/buildroot-2021.05/package/qt5/qt5webkit-examples/qt5webkit-examples.mk b/buildroot-2021.05/package/qt5/qt5webkit-examples/qt5webkit-examples.mk deleted file mode 100644 index 84bc2917..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit-examples/qt5webkit-examples.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# qt5webkit-examples -# -################################################################################ - -QT5WEBKIT_EXAMPLES_VERSION = 5.9.1 -QT5WEBKIT_EXAMPLES_SITE = https://download.qt.io/official_releases/qt/5.9/5.9.1/submodules -QT5WEBKIT_EXAMPLES_SOURCE = qtwebkit-examples-opensource-src-$(QT5WEBKIT_VERSION).tar.xz -QT5WEBKIT_EXAMPLES_DEPENDENCIES = qt5webkit - -QT5WEBKIT_EXAMPLES_LICENSE_FILES = LICENSE.LGPLv21 LICENSE.LGPLv3 LICENSE.GPLv2 LICENSE.GPLv3 - -QT5WEBKIT_EXAMPLES_LICENSE = LGPL-2.1 with exception or LGPL-3 or GPL-2 or GPL-3 -# Source files contain references to LGPL_EXCEPTION.txt but it is not included -# in the archive. - -ifeq ($(BR2_PACKAGE_QT5XMLPATTERNS),y) -QT5WEBKIT_EXAMPLES_DEPENDENCIES += qt5xmlpatterns -endif - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5WEBKIT_EXAMPLES_DEPENDENCIES += qt5declarative -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch b/buildroot-2021.05/package/qt5/qt5webkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch deleted file mode 100644 index 669c7e6a..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0001-qtwebkit-fix-QA-issue-bad-RPATH.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 1735a8484ef9ae336f8d607b56bda64c8af10c79 Mon Sep 17 00:00:00 2001 -From: Trevor Woerner -Date: Fri, 7 Feb 2014 04:07:17 +0100 -Subject: [PATCH] qtwebkit: fix QA issue (bad RPATH) - -Building qtwebkit causes a QA issue such that QtWebPluginProcess and -QtWebProcess contain bad RPATHs which point into the build location. This fix -adds a patch to not include the rpath.prf which causes this problem. - -Signed-off-by: Trevor Woerner -Signed-off-by: Martin Jansa - -Downloaded from: -https://github.com/meta-qt5/meta-qt5/blob/krogoth/recipes-qt/qt5/qtwebkit/ -0001-qtwebkit-fix-QA-issue-bad-RPATH.patch - -Signed-off-by: Gary Bisson ---- - Tools/qmake/mkspecs/features/unix/default_post.prf | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/Tools/qmake/mkspecs/features/unix/default_post.prf b/Tools/qmake/mkspecs/features/unix/default_post.prf -index fd66af6..ef754c3 100644 ---- a/Tools/qmake/mkspecs/features/unix/default_post.prf -+++ b/Tools/qmake/mkspecs/features/unix/default_post.prf -@@ -61,7 +61,6 @@ linux-*g++* { - } - } - --contains(TEMPLATE, app): CONFIG += rpath - - CONFIG(debug, debug|release)|force_debug_info { - # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase. --- -2.7.0 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0002-Exclude-backtrace-API-for-non-glibc-libraries.patch b/buildroot-2021.05/package/qt5/qt5webkit/0002-Exclude-backtrace-API-for-non-glibc-libraries.patch deleted file mode 100644 index a2597a54..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0002-Exclude-backtrace-API-for-non-glibc-libraries.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 6c36f0ff8c1f5852c33d2b23714f9f187cc6ff26 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 5 Jun 2015 19:55:05 -0700 -Subject: [PATCH] Exclude backtrace() API for non-glibc libraries - -It was excluding musl with current checks, so lets make it such that it -considers only glibc when using backtrace API - -Signed-off-by: Khem Raj - -Downloaded from: -https://github.com/meta-qt5/meta-qt5/blob/krogoth/recipes-qt/qt5/qtwebkit/ -0003-Exclude-backtrace-API-for-non-glibc-libraries.patch - -Signed-off-by: Gary Bisson ---- - Source/WTF/wtf/Assertions.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Source/WTF/wtf/Assertions.cpp b/Source/WTF/wtf/Assertions.cpp -index 1b2091f..ba03a28 100644 ---- a/Source/WTF/wtf/Assertions.cpp -+++ b/Source/WTF/wtf/Assertions.cpp -@@ -61,7 +61,7 @@ - #include - #endif - --#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) -+#if (OS(DARWIN) || (OS(LINUX) && defined (__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID) - #include - #include - #include -@@ -245,7 +245,7 @@ void WTFReportArgumentAssertionFailure(const char* file, int line, const char* f - - void WTFGetBacktrace(void** stack, int* size) - { --#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID) -+#if (OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))) && !OS(ANDROID) - *size = backtrace(stack, *size); - #elif OS(WINDOWS) && !OS(WINCE) - // The CaptureStackBackTrace function is available in XP, but it is not defined --- -2.7.0 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0003-Detect-32-bits-armv8-a-architecture.patch b/buildroot-2021.05/package/qt5/qt5webkit/0003-Detect-32-bits-armv8-a-architecture.patch deleted file mode 100644 index 9c2205dd..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0003-Detect-32-bits-armv8-a-architecture.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 068bf2d2d91382ea0d8ec24a142a30ea429704db Mon Sep 17 00:00:00 2001 -From: =?utf-8?q?Ga=C3=ABl=20PORTAY?= -Date: Tue, 15 Aug 2017 18:28:49 -0400 -Subject: [PATCH] Detect 32-bits armv8-a architecture -MIME-Version: 1.0 -Content-Type: text/plain; charset=utf-8 -Content-Transfer-Encoding: 8bit - -Adds WTF platform support for the 32-bits armv8-a architectures. - -Theses toolchains define __ARM_ARCH_8A__ (for ARM architecture version) -and __arm__ (for 32-bits word-size; __aarch64__ for 64-bits). - -This commit catches this new architecture (armv8a) within a #ifdef/#endif -inside the if statement dedicated for 32-bits ARM detection. - -Fixes: - - In file included from ./config.h:30:0, - from ... - ./wtf/Platform.h:323:6: error: #error "Not supported ARM architecture" - # error "Not supported ARM architecture" - ^~~~~ - -Upstream-Status: Backport [with adaptations] -Signed-off-by: Gaël PORTAY ---- - Source/WTF/wtf/Platform.h | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h -index 562840cf7..9cf656845 100644 ---- a/Source/WTF/wtf/Platform.h -+++ b/Source/WTF/wtf/Platform.h -@@ -243,6 +243,10 @@ - || defined(__ARM_ARCH_7S__) - #define WTF_ARM_ARCH_VERSION 7 - -+#elif defined(__ARM_ARCH_8__) \ -+ || defined(__ARM_ARCH_8A__) -+#define WTF_ARM_ARCH_VERSION 8 -+ - /* MSVC sets _M_ARM */ - #elif defined(_M_ARM) - #define WTF_ARM_ARCH_VERSION _M_ARM --- -2.16.1 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0004-Fix-installation-of-class-headers.patch b/buildroot-2021.05/package/qt5/qt5webkit/0004-Fix-installation-of-class-headers.patch deleted file mode 100644 index 92aab571..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0004-Fix-installation-of-class-headers.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 7d763d441fd4fa78553a818ee75ac477eb6dbcbe Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Ga=C3=ABl=20PORTAY?= -Date: Sun, 2 Feb 2020 10:48:50 +0100 -Subject: [PATCH] Fix installation of class headers -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Since Qt 5.11 (see commit [1]), the key word HEADER_CLASSES has been -removed. It has been replaced by a new variable GENERATED_HEADER_FILES. - -The class headers were not generated, this commit moves them directly to -HEADER_FILES. - -[1]: https://github.com/qt/qtbase/commit/9c4c136bc9f29bab1cc9684dfced55a92a8bbe96 - -Signed-off-by: Gaël PORTAY -[Converted to git formated patch] -Signed-off-by: Peter Seiderer ---- - include/QtWebKit/headers.pri | 3 +-- - include/QtWebKitWidgets/headers.pri | 3 +-- - 2 files changed, 2 insertions(+), 4 deletions(-) - -diff --git a/include/QtWebKit/headers.pri b/include/QtWebKit/headers.pri -index 6775f3a6..3a5c14cd 100644 ---- a/include/QtWebKit/headers.pri -+++ b/include/QtWebKit/headers.pri -@@ -1,5 +1,4 @@ --SYNCQT.HEADER_FILES = WebKit/qt/Api/qwebdatabase.h WebKit/qt/Api/qwebelement.h WebKit/qt/Api/qwebhistory.h WebKit/qt/Api/qwebhistoryinterface.h WebKit/qt/Api/qwebkitglobal.h WebKit/qt/Api/qwebkitplatformplugin.h WebKit/qt/Api/qwebpluginfactory.h WebKit/qt/Api/qwebsecurityorigin.h WebKit/qt/Api/qwebsettings.h ../include/QtWebKit/qtwebkitversion.h ../include/QtWebKit/QtWebKit --SYNCQT.HEADER_CLASSES = ../include/QtWebKit/QWebDatabase ../include/QtWebKit/QWebElement ../include/QtWebKit/QWebElementCollection ../include/QtWebKit/QWebHistoryItem ../include/QtWebKit/QWebHistory ../include/QtWebKit/QWebHistoryInterface ../include/QtWebKit/QWebSelectData ../include/QtWebKit/QWebSelectMethod ../include/QtWebKit/QWebNotificationData ../include/QtWebKit/QWebNotificationPresenter ../include/QtWebKit/QWebHapticFeedbackPlayer ../include/QtWebKit/QWebTouchModifier ../include/QtWebKit/QWebFullScreenVideoHandler ../include/QtWebKit/QWebSpellChecker ../include/QtWebKit/QWebKitPlatformPlugin ../include/QtWebKit/QWebPluginFactory ../include/QtWebKit/QWebSecurityOrigin ../include/QtWebKit/QWebSettings ../include/QtWebKit/QtWebKitVersion -+SYNCQT.HEADER_FILES = WebKit/qt/Api/qwebdatabase.h WebKit/qt/Api/qwebelement.h WebKit/qt/Api/qwebhistory.h WebKit/qt/Api/qwebhistoryinterface.h WebKit/qt/Api/qwebkitglobal.h WebKit/qt/Api/qwebkitplatformplugin.h WebKit/qt/Api/qwebpluginfactory.h WebKit/qt/Api/qwebsecurityorigin.h WebKit/qt/Api/qwebsettings.h ../include/QtWebKit/qtwebkitversion.h ../include/QtWebKit/QtWebKit ../include/QtWebKit/QWebDatabase ../include/QtWebKit/QWebElement ../include/QtWebKit/QWebElementCollection ../include/QtWebKit/QWebHistoryItem ../include/QtWebKit/QWebHistory ../include/QtWebKit/QWebHistoryInterface ../include/QtWebKit/QWebSelectData ../include/QtWebKit/QWebSelectMethod ../include/QtWebKit/QWebNotificationData ../include/QtWebKit/QWebNotificationPresenter ../include/QtWebKit/QWebHapticFeedbackPlayer ../include/QtWebKit/QWebTouchModifier ../include/QtWebKit/QWebFullScreenVideoHandler ../include/QtWebKit/QWebSpellChecker ../include/QtWebKit/QWebKitPlatformPlugin ../include/QtWebKit/QWebPluginFactory ../include/QtWebKit/QWebSecurityOrigin ../include/QtWebKit/QWebSettings ../include/QtWebKit/QtWebKitVersion - SYNCQT.PRIVATE_HEADER_FILES = WebKit/qt/Api/qhttpheader_p.h WebKit/qt/Api/qwebdatabase_p.h WebKit/qt/Api/qwebelement_p.h WebKit/qt/Api/qwebhistory_p.h WebKit/qt/Api/qwebplugindatabase_p.h WebKit/qt/Api/qwebscriptworld.h WebKit/qt/Api/qwebscriptworld_p.h WebKit/qt/Api/qwebsecurityorigin_p.h WebKit2/UIProcess/API/qt/qquicknetworkreply_p.h WebKit2/UIProcess/API/qt/qquicknetworkrequest_p.h WebKit2/UIProcess/API/qt/qquickurlschemedelegate_p.h WebKit2/UIProcess/API/qt/qquickwebpage_p.h WebKit2/UIProcess/API/qt/qquickwebpage_p_p.h WebKit2/UIProcess/API/qt/qquickwebview_p.h WebKit2/UIProcess/API/qt/qquickwebview_p_p.h WebKit2/UIProcess/API/qt/qtwebsecurityorigin_p.h WebKit2/UIProcess/API/qt/qwebchannelwebkittransport_p.h WebKit2/UIProcess/API/qt/qwebdownloaditem_p.h WebKit2/UIProcess/API/qt/qwebdownloaditem_p_p.h WebKit2/UIProcess/API/qt/qwebiconimageprovider_p.h WebKit2/UIProcess/API/qt/qwebkittest_p.h WebKit2/UIProcess/API/qt/qwebloadrequest_p.h WebKit2/UIProcess/API/qt/qwebnavigationhistory_p.h WebKit2/UIProcess/API/qt/qwebnavigationhistory_p_p.h WebKit2/UIProcess/API/qt/qwebnavigationrequest_p.h WebKit2/UIProcess/API/qt/qwebpermissionrequest_p.h WebKit2/UIProcess/API/qt/qwebpreferences_p.h WebKit2/UIProcess/API/qt/qwebpreferences_p_p.h WebKit2/UIProcess/API/qt/raw/qrawwebview_p.h WebKit2/UIProcess/API/qt/raw/qrawwebview_p_p.h WebKit2/UIProcess/API/qt/tests/bytearraytestdata.h WebKit2/UIProcess/API/qt/tests/testwindow.h WebKit2/UIProcess/API/qt/tests/util.h - SYNCQT.INJECTED_PRIVATE_HEADER_FILES = - SYNCQT.QPA_HEADER_FILES = -diff --git a/include/QtWebKitWidgets/headers.pri b/include/QtWebKitWidgets/headers.pri -index 9d386e29..2b8b095c 100644 ---- a/include/QtWebKitWidgets/headers.pri -+++ b/include/QtWebKitWidgets/headers.pri -@@ -1,5 +1,4 @@ --SYNCQT.HEADER_FILES = WebKit/qt/WidgetApi/qgraphicswebview.h WebKit/qt/WidgetApi/qwebframe.h WebKit/qt/WidgetApi/qwebinspector.h WebKit/qt/WidgetApi/qwebpage.h WebKit/qt/WidgetApi/qwebview.h ../include/QtWebKitWidgets/qtwebkitwidgetsversion.h ../include/QtWebKitWidgets/QtWebKitWidgets --SYNCQT.HEADER_CLASSES = ../include/QtWebKitWidgets/QGraphicsWebView ../include/QtWebKitWidgets/QWebHitTestResult ../include/QtWebKitWidgets/QWebFrame ../include/QtWebKitWidgets/QWebInspector ../include/QtWebKitWidgets/QWebPage ../include/QtWebKitWidgets/QWebView ../include/QtWebKitWidgets/QtWebKitWidgetsVersion -+SYNCQT.HEADER_FILES = WebKit/qt/WidgetApi/qgraphicswebview.h WebKit/qt/WidgetApi/qwebframe.h WebKit/qt/WidgetApi/qwebinspector.h WebKit/qt/WidgetApi/qwebpage.h WebKit/qt/WidgetApi/qwebview.h ../include/QtWebKitWidgets/qtwebkitwidgetsversion.h ../include/QtWebKitWidgets/QtWebKitWidgets ../include/QtWebKitWidgets/QGraphicsWebView ../include/QtWebKitWidgets/QWebHitTestResult ../include/QtWebKitWidgets/QWebFrame ../include/QtWebKitWidgets/QWebInspector ../include/QtWebKitWidgets/QWebPage ../include/QtWebKitWidgets/QWebView ../include/QtWebKitWidgets/QtWebKitWidgetsVersion - SYNCQT.PRIVATE_HEADER_FILES = WebKit/qt/WidgetApi/qwebframe_p.h WebKit/qt/WidgetApi/qwebinspector_p.h WebKit/qt/WidgetApi/qwebpage_p.h WebKit/qt/WidgetApi/qwebviewaccessible_p.h - SYNCQT.INJECTED_PRIVATE_HEADER_FILES = - SYNCQT.QPA_HEADER_FILES = --- -2.25.0 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0005-Fix-ICU-related-compile-failures.patch b/buildroot-2021.05/package/qt5/qt5webkit/0005-Fix-ICU-related-compile-failures.patch deleted file mode 100644 index 1a99eb7f..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0005-Fix-ICU-related-compile-failures.patch +++ /dev/null @@ -1,67 +0,0 @@ -From 38e3436db7222ac403a405db7e0fd1d472f1704a Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Sun, 2 Feb 2020 10:51:00 +0100 -Subject: [PATCH] Fix ICU related compile failures. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The ICU macro U16_NEXT() needs a trailing semicolon. - -Fixes: - - platform/graphics/SegmentedFontData.cpp:65:9: error: expected ‘;’ before ‘if’ - dom/Document.cpp:3850:5: error: expected ‘;’ before ‘if’ - dom/Document.cpp:3855:9: error: expected ‘;’ before ‘if’ - dom/Document.cpp:3918:9: error: expected ‘;’ before ‘if’ - -Signed-off-by: Peter Seiderer ---- - Source/WebCore/dom/Document.cpp | 6 +++--- - Source/WebCore/platform/graphics/SegmentedFontData.cpp | 2 +- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/Source/WebCore/dom/Document.cpp b/Source/WebCore/dom/Document.cpp -index af63b141..26f7312b 100644 ---- a/Source/WebCore/dom/Document.cpp -+++ b/Source/WebCore/dom/Document.cpp -@@ -3846,12 +3846,12 @@ static bool isValidNameNonASCII(const UChar* characters, unsigned length) - unsigned i = 0; - - UChar32 c; -- U16_NEXT(characters, i, length, c) -+ U16_NEXT(characters, i, length, c); - if (!isValidNameStart(c)) - return false; - - while (i < length) { -- U16_NEXT(characters, i, length, c) -+ U16_NEXT(characters, i, length, c); - if (!isValidNamePart(c)) - return false; - } -@@ -3914,7 +3914,7 @@ bool Document::parseQualifiedName(const String& qualifiedName, String& prefix, S - const UChar* s = qualifiedName.characters(); - for (unsigned i = 0; i < length;) { - UChar32 c; -- U16_NEXT(s, i, length, c) -+ U16_NEXT(s, i, length, c); - if (c == ':') { - if (sawColon) { - ec = NAMESPACE_ERR; -diff --git a/Source/WebCore/platform/graphics/SegmentedFontData.cpp b/Source/WebCore/platform/graphics/SegmentedFontData.cpp -index efb20a8c..99b3e86c 100644 ---- a/Source/WebCore/platform/graphics/SegmentedFontData.cpp -+++ b/Source/WebCore/platform/graphics/SegmentedFontData.cpp -@@ -61,7 +61,7 @@ bool SegmentedFontData::containsCharacters(const UChar* characters, int length) - { - UChar32 c; - for (int i = 0; i < length; ) { -- U16_NEXT(characters, i, length, c) -+ U16_NEXT(characters, i, length, c); - if (!containsCharacter(c)) - return false; - } --- -2.25.0 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0006-configure-remove-legacy-reference-to-qtConfig-mircli.patch b/buildroot-2021.05/package/qt5/qt5webkit/0006-configure-remove-legacy-reference-to-qtConfig-mircli.patch deleted file mode 100644 index d9b94697..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0006-configure-remove-legacy-reference-to-qtConfig-mircli.patch +++ /dev/null @@ -1,34 +0,0 @@ -From c408484e3a442ecf99d3cc61402f20c45c894b7c Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Mon, 3 Feb 2020 21:19:57 +0100 -Subject: [PATCH] configure: remove legacy reference to qtConfig(mirclient) - -The optio mirclient is removed since Qt-5.14.x (see [1]) -Fixes: - - Project ERROR: Could not find feature mirclient. - -[1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=8c73ddd8e3fb43cc22fa111b855ab1f9f5b83405 - -Signed-off-by: Peter Seiderer ---- - Tools/qmake/mkspecs/features/configure.prf | 3 --- - 1 file changed, 3 deletions(-) - -diff --git a/Tools/qmake/mkspecs/features/configure.prf b/Tools/qmake/mkspecs/features/configure.prf -index 23d99040..783f6752 100644 ---- a/Tools/qmake/mkspecs/features/configure.prf -+++ b/Tools/qmake/mkspecs/features/configure.prf -@@ -130,9 +130,6 @@ defineTest(finalizeConfigure) { - addReasonForSkippingBuild("Build not supported on Android.") - } - QT_FOR_CONFIG += gui-private -- production_build:qtConfig(mirclient) { -- addReasonForSkippingBuild("Build not supported on Ubuntu Touch.") -- } - !gnu_thin_archives:!win32-msvc2013:!mingw:qtConfig(static) { - addReasonForSkippingBuild("QtWebKit cannot be built as a static library on this platform. Check your configuration in qtbase/config.summary.") - } --- -2.25.0 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0007-Let-Bison-generate-the-header-directly-to-fix-build-.patch b/buildroot-2021.05/package/qt5/qt5webkit/0007-Let-Bison-generate-the-header-directly-to-fix-build-.patch deleted file mode 100644 index 7bb81b12..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0007-Let-Bison-generate-the-header-directly-to-fix-build-.patch +++ /dev/null @@ -1,52 +0,0 @@ -From 894a5448ee8ce0f134845c877b4c0a2a660e4ab3 Mon Sep 17 00:00:00 2001 -From: Dmitry Shachnev -Date: Tue, 4 Aug 2020 21:04:06 +0300 -Subject: [PATCH] Let Bison generate the header directly, to fix build with - Bison 3.7 - -Starting with Bison 3.7, the generated C++ file #include's the header -by default, instead of duplicating it. So we should not delete it. - -Remove the code to add #ifdef guards to the header, since Bison adds -them itself since version 2.6.3. - -[Original patch taken from -https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-bison-3.7.patch?id=69e618c88a9134f754264efc11aa0b1fdc028b88 -ported to qtwebkit-opensource-src-5.9.1] -Signed-off-by: Peter Seiderer ---- - Source/WebCore/css/makegrammar.pl | 21 +-------------------- - 1 file changed, 1 insertion(+), 20 deletions(-) - -diff --git a/Source/WebCore/css/makegrammar.pl b/Source/WebCore/css/makegrammar.pl -index 4e0452ed..9ef32963 100644 ---- a/Source/WebCore/css/makegrammar.pl -+++ b/Source/WebCore/css/makegrammar.pl -@@ -73,23 +73,4 @@ if ($suffix eq ".y.in") { - } - - my $fileBase = File::Spec->join($outputDir, $filename); --system("$bison -d -p $symbolsPrefix $grammarFilePath -o $fileBase.cpp"); -- --open HEADER, ">$fileBase.h" or die; --print HEADER << "EOF"; --#ifndef CSSGRAMMAR_H --#define CSSGRAMMAR_H --EOF -- --open HPP, "<$fileBase.cpp.h" or open HPP, "<$fileBase.hpp" or die; --while () { -- print HEADER; --} --close HPP; -- --print HEADER "#endif\n"; --close HEADER; -- --unlink("$fileBase.cpp.h"); --unlink("$fileBase.hpp"); -- -+system("$bison --defines=$fileBase.h -p $symbolsPrefix $grammarFilePath -o $fileBase.cpp"); --- -2.28.0 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0008-let-bison-generate-the-header-directly-to-fix-build-.patch b/buildroot-2021.05/package/qt5/qt5webkit/0008-let-bison-generate-the-header-directly-to-fix-build-.patch deleted file mode 100644 index 9deb2d8c..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0008-let-bison-generate-the-header-directly-to-fix-build-.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 8959e226fac7f73b9a40e202610bd5e12334561b Mon Sep 17 00:00:00 2001 -From: Peter Seiderer -Date: Tue, 15 Sep 2020 19:11:18 +0200 -Subject: [PATCH] let bison generate the header directly, to fix build with - bison 3.7 - -Do the same as the patch taken from [1] for the bison call in -Source/WebCore/DerivedSources.pri to fix file generation -for bison 3.7. - -Signed-off-by: Peter Seiderer ---- - Source/WebCore/DerivedSources.pri | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Source/WebCore/DerivedSources.pri b/Source/WebCore/DerivedSources.pri -index 57a6b0f7..e9f52614 100644 ---- a/Source/WebCore/DerivedSources.pri -+++ b/Source/WebCore/DerivedSources.pri -@@ -987,7 +987,7 @@ GENERATORS += pluginsresources - # GENERATOR 11: XPATH grammar - xpathbison.output = ${QMAKE_FILE_BASE}.cpp - xpathbison.input = XPATHBISON --xpathbison.commands = bison -d -p xpathyy ${QMAKE_FILE_NAME} -o ${QMAKE_FUNC_FILE_OUT_PATH}/${QMAKE_FILE_BASE}.tab.c && $(MOVE) ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.tab.c ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.cpp && $(MOVE) ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.tab.h ${QMAKE_FUNC_FILE_OUT_PATH}$${QMAKE_DIR_SEP}${QMAKE_FILE_BASE}.h -+xpathbison.commands = bison --defines=${QMAKE_FUNC_FILE_OUT_PATH}/${QMAKE_FILE_BASE}.h -p xpathyy ${QMAKE_FILE_NAME} -o ${QMAKE_FUNC_FILE_OUT_PATH}/${QMAKE_FILE_BASE}.cpp - xpathbison.depends = ${QMAKE_FILE_NAME} - GENERATORS += xpathbison - --- -2.28.0 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/0009-Fix-ICU-related-compile-failures-from-capital-bool-d.patch b/buildroot-2021.05/package/qt5/qt5webkit/0009-Fix-ICU-related-compile-failures-from-capital-bool-d.patch deleted file mode 100644 index 7d941a56..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/0009-Fix-ICU-related-compile-failures-from-capital-bool-d.patch +++ /dev/null @@ -1,99 +0,0 @@ -From 37ee268d9d07a8dad02c1d8db3bf96e0b30df10b Mon Sep 17 00:00:00 2001 -From: Henri Roosen -Date: Thu, 18 Mar 2021 11:53:57 +0100 -Subject: [PATCH] Fix ICU related compile failures from capital bool defines - -See ICU-21267 - -Signed-off-by: Henri Roosen ---- - .../platform/text/TextBreakIteratorICU.cpp | 16 ++++++++-------- - Source/WebCore/platform/text/TextCodecICU.cpp | 2 +- - 2 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/Source/WebCore/platform/text/TextBreakIteratorICU.cpp b/Source/WebCore/platform/text/TextBreakIteratorICU.cpp -index b4046ac9..832890a2 100644 ---- a/Source/WebCore/platform/text/TextBreakIteratorICU.cpp -+++ b/Source/WebCore/platform/text/TextBreakIteratorICU.cpp -@@ -214,12 +214,12 @@ static inline bool textInChunkOrOutOfRange(UText* text, int64_t nativeIndex, int - // Ensure chunk offset is well formed if computed offset exceeds int32_t range. - ASSERT(offset < numeric_limits::max()); - text->chunkOffset = offset < numeric_limits::max() ? static_cast(offset) : 0; -- isAccessible = TRUE; -+ isAccessible = true; - return true; - } - if (nativeIndex >= nativeLength && text->chunkNativeLimit == nativeLength) { - text->chunkOffset = text->chunkLength; -- isAccessible = FALSE; -+ isAccessible = false; - return true; - } - } else { -@@ -228,12 +228,12 @@ static inline bool textInChunkOrOutOfRange(UText* text, int64_t nativeIndex, int - // Ensure chunk offset is well formed if computed offset exceeds int32_t range. - ASSERT(offset < numeric_limits::max()); - text->chunkOffset = offset < numeric_limits::max() ? static_cast(offset) : 0; -- isAccessible = TRUE; -+ isAccessible = true; - return true; - } - if (nativeIndex <= 0 && !text->chunkNativeStart) { - text->chunkOffset = 0; -- isAccessible = FALSE; -+ isAccessible = false; - return true; - } - } -@@ -243,7 +243,7 @@ static inline bool textInChunkOrOutOfRange(UText* text, int64_t nativeIndex, int - static UBool textLatin1Access(UText* text, int64_t nativeIndex, UBool forward) - { - if (!text->context) -- return FALSE; -+ return false; - int64_t nativeLength = textNativeLength(text); - UBool isAccessible; - if (textInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible)) -@@ -263,7 +263,7 @@ static UBool textLatin1Access(UText* text, int64_t nativeIndex, UBool forward) - ASSERT(newContext == PriorContext); - textLatin1SwitchToPriorContext(text, nativeIndex, nativeLength, forward); - } -- return TRUE; -+ return true; - } - - static const struct UTextFuncs textLatin1Funcs = { -@@ -364,7 +364,7 @@ static void textUTF16SwitchToPriorContext(UText* text, int64_t nativeIndex, int6 - static UBool textUTF16Access(UText* text, int64_t nativeIndex, UBool forward) - { - if (!text->context) -- return FALSE; -+ return false; - int64_t nativeLength = textNativeLength(text); - UBool isAccessible; - if (textInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible)) -@@ -384,7 +384,7 @@ static UBool textUTF16Access(UText* text, int64_t nativeIndex, UBool forward) - ASSERT(newContext == PriorContext); - textUTF16SwitchToPriorContext(text, nativeIndex, nativeLength, forward); - } -- return TRUE; -+ return true; - } - - static const struct UTextFuncs textUTF16Funcs = { -diff --git a/Source/WebCore/platform/text/TextCodecICU.cpp b/Source/WebCore/platform/text/TextCodecICU.cpp -index 86d4ea17..da152edd 100644 ---- a/Source/WebCore/platform/text/TextCodecICU.cpp -+++ b/Source/WebCore/platform/text/TextCodecICU.cpp -@@ -269,7 +269,7 @@ void TextCodecICU::createICUConverter() const - m_converterICU = ucnv_open(m_canonicalConverterName, &err); - ASSERT(U_SUCCESS(err)); - if (m_converterICU) -- ucnv_setFallback(m_converterICU, TRUE); -+ ucnv_setFallback(m_converterICU, true); - } - - int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err) --- -2.20.1 - diff --git a/buildroot-2021.05/package/qt5/qt5webkit/Config.in b/buildroot-2021.05/package/qt5/qt5webkit/Config.in deleted file mode 100644 index 65f08d1c..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/Config.in +++ /dev/null @@ -1,39 +0,0 @@ -config BR2_PACKAGE_QT5WEBKIT - bool "qt5webkit" - depends on !BR2_STATIC_LIBS - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE - depends on BR2_INSTALL_LIBSTDCPP # leveldb - depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu - depends on BR2_TOOLCHAIN_HAS_THREADS # leveldb - depends on !BR2_BINFMT_FLAT # icu - # assumes a FPU is available on MIPS - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_PACKAGE_LEVELDB - select BR2_PACKAGE_QT5BASE_ICU - select BR2_PACKAGE_QT5BASE_GUI - select BR2_PACKAGE_SQLITE - select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB - select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_QT5BASE_XCB - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt WebKit module provides the WebView API, which - allows QML applications to render regions of dynamic - web content. - - This package has been removed from the official release - packages since Qt5.6.0, but it is still available for users - to build it from source. This is useful for platforms - without GPU since the successor (QtWebEngine) requires - OpenGL support. - - http://doc.qt.io/archives/qt-5.5/qtwebkit-index.html - -comment "qt5webkit needs a toolchain w/ dynamic library, gcc >= 4.9, host gcc >= 4.9" - depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 - depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE - depends on !BR2_BINFMT_FLAT - depends on !BR2_MIPS_SOFT_FLOAT diff --git a/buildroot-2021.05/package/qt5/qt5webkit/qt5webkit.hash b/buildroot-2021.05/package/qt5/qt5webkit/qt5webkit.hash deleted file mode 100644 index 312d5827..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/qt5webkit.hash +++ /dev/null @@ -1,7 +0,0 @@ -# hash from: https://download.qt.io/official_releases/qt/5.9/5.9.1/submodules/qtwebkit-opensource-src-5.9.1.tar.xz.mirrorlist -sha256 28a560becd800a4229bfac317c2e5407cd3cc95308bc4c3ca90dba2577b052cf qtwebkit-opensource-src-5.9.1.tar.xz - -# Hashes for license files: -sha256 7555fa34bc131a75ca56d65c40cc1ea8f9515d23e353d4c15d58573a042f7805 Source/WebCore/LICENSE-LGPL-2 -sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1 -sha256 a3db6c7f3027aa27489c25a2fa259185cdee945780c32e01c60cbfabf4743b6c LICENSE.LGPLv21 diff --git a/buildroot-2021.05/package/qt5/qt5webkit/qt5webkit.mk b/buildroot-2021.05/package/qt5/qt5webkit/qt5webkit.mk deleted file mode 100644 index dd99661b..00000000 --- a/buildroot-2021.05/package/qt5/qt5webkit/qt5webkit.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# qt5webkit -# -################################################################################ - -QT5WEBKIT_VERSION = 5.9.1 -QT5WEBKIT_SITE = https://download.qt.io/official_releases/qt/5.9/5.9.1/submodules -QT5WEBKIT_SOURCE = qtwebkit-opensource-src-$(QT5WEBKIT_VERSION).tar.xz -QT5WEBKIT_DEPENDENCIES = \ - host-bison host-flex host-gperf host-python host-ruby \ - leveldb sqlite -QT5WEBKIT_INSTALL_STAGING = YES - -QT5WEBKIT_LICENSE_FILES = Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1 - -QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause -# Source files contain references to LGPL_EXCEPTION.txt but it is not included -# in the archive. -QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21 - -ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) -QT5WEBKIT_DEPENDENCIES += xlib_libXext xlib_libXrender -endif - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5WEBKIT_DEPENDENCIES += qt5declarative -endif - -# QtWebkit's build system uses python, but only supports python2. We work -# around this by forcing python2 early in the PATH, via a python->python2 -# symlink. -QT5WEBKIT_CONF_ENV = PATH=$(@D)/host-bin:$(BR_PATH) -QT5WEBKIT_MAKE_ENV = PATH=$(@D)/host-bin:$(BR_PATH) -define QT5WEBKIT_PYTHON2_SYMLINK - mkdir -p $(@D)/host-bin - ln -sf $(HOST_DIR)/bin/python2 $(@D)/host-bin/python -endef -QT5WEBKIT_PRE_CONFIGURE_HOOKS += QT5WEBKIT_PYTHON2_SYMLINK - -QT5WEBKIT_CONF_OPTS = WEBKIT_CONFIG+=use_system_leveldb - -define QT5WEBKIT_INSTALL_TARGET_EXTRAS - cp -dpf $(@D)/bin/* $(TARGET_DIR)/usr/bin/ -endef - -QT5WEBKIT_POST_INSTALL_TARGET_HOOKS += QT5WEBKIT_INSTALL_TARGET_EXTRAS - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5websockets/Config.in b/buildroot-2021.05/package/qt5/qt5websockets/Config.in deleted file mode 100644 index 678fb6fa..00000000 --- a/buildroot-2021.05/package/qt5/qt5websockets/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_QT5WEBSOCKETS - bool "qt5websockets" - select BR2_PACKAGE_QT5BASE_NETWORK - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt WebSockets module provides C++ and QML interfaces - that enable Qt applications to act as a server that can - process WebSocket requests, or a client that can - consume data received from the server, or both. - - http://doc.qt.io/qt-5/qtwebsockets-index.html diff --git a/buildroot-2021.05/package/qt5/qt5websockets/qt5websockets.hash b/buildroot-2021.05/package/qt5/qt5websockets/qt5websockets.hash deleted file mode 100644 index 29a9ebe4..00000000 --- a/buildroot-2021.05/package/qt5/qt5websockets/qt5websockets.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtwebsockets-everywhere-src-5.15.2.tar.xz.sha256 -sha256 a0b42d85dd34ff6e2d23400e02f83d8b85bcd80e60efd1521d12d9625d4a233f qtwebsockets-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 diff --git a/buildroot-2021.05/package/qt5/qt5websockets/qt5websockets.mk b/buildroot-2021.05/package/qt5/qt5websockets/qt5websockets.mk deleted file mode 100644 index a35cdc57..00000000 --- a/buildroot-2021.05/package/qt5/qt5websockets/qt5websockets.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# qt5websockets -# -################################################################################ - -QT5WEBSOCKETS_VERSION = $(QT5_VERSION) -QT5WEBSOCKETS_SITE = $(QT5_SITE) -QT5WEBSOCKETS_SOURCE = qtwebsockets-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5WEBSOCKETS_VERSION).tar.xz -QT5WEBSOCKETS_INSTALL_STAGING = YES -QT5WEBSOCKETS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools) -QT5WEBSOCKETS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 - -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5WEBSOCKETS_LICENSE += , BSD-3-Clause (examples) -endif - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5WEBSOCKETS_DEPENDENCIES += qt5declarative -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5webview/qt5webview.hash b/buildroot-2021.05/package/qt5/qt5webview/qt5webview.hash deleted file mode 100644 index c1cee9cf..00000000 --- a/buildroot-2021.05/package/qt5/qt5webview/qt5webview.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtwebview-everywhere-src-5.15.2.tar.xz.sha256 -sha256 be9f46167e4977ead5ef5ecf883fdb812a4120f2436383583792f65557e481e7 qtwebview-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL -sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 -sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 -sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3 diff --git a/buildroot-2021.05/package/qt5/qt5webview/qt5webview.mk b/buildroot-2021.05/package/qt5/qt5webview/qt5webview.mk deleted file mode 100644 index 0f37f3eb..00000000 --- a/buildroot-2021.05/package/qt5/qt5webview/qt5webview.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# qt5webview -# -################################################################################ - -QT5WEBVIEW_VERSION = $(QT5_VERSION) -QT5WEBVIEW_SITE = $(QT5_SITE) -QT5WEBVIEW_SOURCE = qtwebview-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5WEBVIEW_VERSION).tar.xz -QT5WEBVIEW_DEPENDENCIES = qt5webengine -QT5WEBVIEW_INSTALL_STAGING = YES -QT5WEBVIEW_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0, GFDL-1.3 (docs) -QT5WEBVIEW_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL - -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5WEBVIEW_LICENSE += , BSD-3-Clause (examples) -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5x11extras/Config.in b/buildroot-2021.05/package/qt5/qt5x11extras/Config.in deleted file mode 100644 index ff4cc115..00000000 --- a/buildroot-2021.05/package/qt5/qt5x11extras/Config.in +++ /dev/null @@ -1,12 +0,0 @@ -config BR2_PACKAGE_QT5X11EXTRAS - bool "qt5x11extras" - depends on BR2_PACKAGE_QT5BASE_XCB - select BR2_PACKAGE_QT5BASE_WIDGETS - help - Qt is a cross-platform application and UI framework for - developers using C++. - - Qt X11 Extras enables the Qt programmer to write - applications for the Linux/X11 platform. - - http://doc.qt.io/qt-5/qtx11extras-index.html diff --git a/buildroot-2021.05/package/qt5/qt5x11extras/qt5x11extras.hash b/buildroot-2021.05/package/qt5/qt5x11extras/qt5x11extras.hash deleted file mode 100644 index 08e6753f..00000000 --- a/buildroot-2021.05/package/qt5/qt5x11extras/qt5x11extras.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtx11extras-everywhere-src-5.15.2.tar.xz.sha256 -sha256 7014702ee9a644a5a93da70848ac47c18851d4f8ed622b29a72eed9282fc6e3e qtx11extras-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5x11extras/qt5x11extras.mk b/buildroot-2021.05/package/qt5/qt5x11extras/qt5x11extras.mk deleted file mode 100644 index 075d36dc..00000000 --- a/buildroot-2021.05/package/qt5/qt5x11extras/qt5x11extras.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# qt5x11extras -# -################################################################################ - -QT5X11EXTRAS_VERSION = $(QT5_VERSION) -QT5X11EXTRAS_SITE = $(QT5_SITE) -QT5X11EXTRAS_SOURCE = qtx11extras-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5X11EXTRAS_VERSION).tar.xz -QT5X11EXTRAS_INSTALL_STAGING = YES -QT5X11EXTRAS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5X11EXTRAS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5xmlpatterns/Config.in b/buildroot-2021.05/package/qt5/qt5xmlpatterns/Config.in deleted file mode 100644 index 2f3eb24f..00000000 --- a/buildroot-2021.05/package/qt5/qt5xmlpatterns/Config.in +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_QT5XMLPATTERNS - bool "qt5xmlpatterns" - help - Qt is a cross-platform application and UI framework for - developers using C++. - - The Qt XML Patterns module provides support for XPath, - XQuery, XSLT, and XML Schema validation. - - http://doc.qt.io/qt-5/qtxmlpatterns-index.html diff --git a/buildroot-2021.05/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash b/buildroot-2021.05/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash deleted file mode 100644 index 682e114a..00000000 --- a/buildroot-2021.05/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash +++ /dev/null @@ -1,9 +0,0 @@ -# Hash from: https://download.qt.io/official_releases/qt/5.15/5.15.2/submodules/qtxmlpatterns-everywhere-src-5.15.2.tar.xz.sha256 -sha256 76ea2162a7c349188d7e7e4f6c77b78e8a205494c90fee3cea3487a1ae2cf2fa qtxmlpatterns-everywhere-src-5.15.2.tar.xz - -# Hashes for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 -sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT -sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 -sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2021.05/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk b/buildroot-2021.05/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk deleted file mode 100644 index 68454833..00000000 --- a/buildroot-2021.05/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# qt5xmlpatterns -# -################################################################################ - -QT5XMLPATTERNS_VERSION = $(QT5_VERSION) -QT5XMLPATTERNS_SITE = $(QT5_SITE) -QT5XMLPATTERNS_SOURCE = qtxmlpatterns-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5XMLPATTERNS_VERSION).tar.xz -QT5XMLPATTERNS_INSTALL_STAGING = YES -QT5XMLPATTERNS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) -QT5XMLPATTERNS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL - -ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) -QT5XMLPATTERNS_DEPENDENCIES += qt5declarative -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) -QT5XMLPATTERNS_LICENSE += , BSD-3-Clause (examples) -endif - -$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/quagga/quagga.mk b/buildroot-2021.05/package/quagga/quagga.mk deleted file mode 100644 index adf80850..00000000 --- a/buildroot-2021.05/package/quagga/quagga.mk +++ /dev/null @@ -1,109 +0,0 @@ -################################################################################ -# -# quagga -# -################################################################################ - -QUAGGA_VERSION = 1.2.4 -QUAGGA_SITE = http://download.savannah.gnu.org/releases/quagga -QUAGGA_INSTALL_STAGING = YES -QUAGGA_DEPENDENCIES = host-gawk host-pkgconf -QUAGGA_LICENSE = GPL-2.0+ -QUAGGA_LICENSE_FILES = COPYING -QUAGGA_CPE_ID_VENDOR = quagga - -# We need to override the sysconf and localstate directories so that -# quagga can create files as the quagga user without extra -# intervention -QUAGGA_CONF_OPTS = \ - --program-transform-name='' \ - --sysconfdir=/etc/quagga \ - --localstatedir=/var/run/quagga - -# quagga has its own internal copy of getopt_long. To avoid conflicts with libc's -# getopt, we need to make sure that the getopt function itself is also built. -QUAGGA_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) -DREALLY_NEED_PLAIN_GETOPT" - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -QUAGGA_CONF_OPTS += --enable-capabilities -QUAGGA_DEPENDENCIES += libcap -else -QUAGGA_CONF_OPTS += --disable-capabilities -endif - -ifeq ($(BR2_PACKAGE_PROTOBUF_C),y) -QUAGGA_CONF_OPTS += --enable-protobuf -QUAGGA_DEPENDENCIES += protobuf-c -else -QUAGGA_CONF_OPTS += --disable-protobuf -endif - -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_ZEBRA),--enable-zebra,--disable-zebra) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_BGPD),--enable-bgpd,--disable-bgpd) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_RIPD),--enable-ripd,--disable-ripd) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_RIPNGD),--enable-ripngd,--disable-ripngd) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_OSPFD),--enable-ospfd,--disable-ospfd --disable-ospfapi) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_OSPF6D),--enable-ospf6d,--disable-ospf6d) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_PIMD),--enable-pimd,--disable-pimd) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_WATCHQUAGGA),--enable-watchquagga,--disable-watchquagga) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_ISISD),--enable-isisd,--disable-isisd) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE),--enable-bgp-announce,--disable-bgp-announce) -QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_TCP_ZEBRA),--enable-tcp-zebra,--disable-tcp-zebra) - -define QUAGGA_USERS - quagga -1 quagga -1 * - - - Quagga priv drop user -endef - -# Set the permissions of /etc/quagga such that quagga (through vtysh) -# can save the configuration - set the folder recursively as the files -# need to be 600, and then set the folder (non-recursively) to 755 so -# it can used. Quagga also needs to write to the folder as it moves -# and creates, rather than overwriting. -define QUAGGA_PERMISSIONS - /etc/quagga r 600 quagga quagga - - - - - - /etc/quagga d 755 quagga quagga - - - - - -endef - -# In order for the QUAGGA_PERMISSIONS variable above to work, -# /etc/quagga has to exist. However, this package without any -# sub-option enabled will not create /etc/quagga, so let's create it -# unconditionally in a post-install hook, in case it hasn't been -# already created by the quagga installation. -define QUAGGA_CREATE_ETC_QUAGGA - mkdir -p $(TARGET_DIR)/etc/quagga -endef -QUAGGA_POST_INSTALL_TARGET_HOOKS += QUAGGA_CREATE_ETC_QUAGGA - -ifeq ($(BR2_PACKAGE_QUAGGA_NHRPD),y) -QUAGGA_CONF_OPTS += --enable-nhrpd -QUAGGA_DEPENDENCIES += c-ares -else -QUAGGA_CONF_OPTS += --disable-nhrpd -endif - -ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y) -QUAGGA_CONF_ENV += ac_cv_path_NETSNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config -QUAGGA_CONF_OPTS += --enable-snmp=agentx -QUAGGA_DEPENDENCIES += netsnmp -endif - -ifeq ($(BR2_PACKAGE_QUAGGA_VTYSH),y) -QUAGGA_CONF_OPTS += --enable-vtysh -QUAGGA_DEPENDENCIES += readline -else -QUAGGA_CONF_OPTS += --disable-vtysh -endif - -ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) -QUAGGA_CONF_OPTS += --disable-pie -endif - -define QUAGGA_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/quagga/quagga_tmpfiles.conf \ - $(TARGET_DIR)/usr/lib/tmpfiles.d/quagga.conf - $(INSTALL) -D -m 644 package/quagga/quagga@.service \ - $(TARGET_DIR)/usr/lib/systemd/system/quagga@.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/quota/quota.mk b/buildroot-2021.05/package/quota/quota.mk deleted file mode 100644 index 12d12b12..00000000 --- a/buildroot-2021.05/package/quota/quota.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# quota -# -################################################################################ - -QUOTA_VERSION = 4.06 -QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION) -QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils -QUOTA_LICENSE = GPL-2.0+ -QUOTA_LICENSE_FILES = COPYING -QUOTA_CPE_ID_VENDOR = jan_kara -QUOTA_CPE_ID_PRODUCT = linux_diskquota -QUOTA_CONF_ENV = LIBS="$(TARGET_NLS_LIBS)" -QUOTA_CONF_OPTS = --disable-pie - -ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy) -QUOTA_DEPENDENCIES += host-pkgconf dbus libnl -QUOTA_CONF_OPTS += --enable-netlink -else -QUOTA_CONF_OPTS += --disable-netlink -endif - -ifeq ($(BR2_PACKAGE_E2FSPROGS),y) -QUOTA_DEPENDENCIES += host-pkgconf e2fsprogs -QUOTA_CONF_OPTS += --enable-ext2direct -else -QUOTA_CONF_OPTS += --disable-ext2direct -endif - -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -QUOTA_DEPENDENCIES += libtirpc host-pkgconf -endif - -ifeq ($(BR2_PACKAGE_OPENLDAP):$(BR2_STATIC_LIBS),y:) -QUOTA_DEPENDENCIES += openldap -QUOTA_CONF_OPTS += --enable-ldapmail -else -QUOTA_CONF_OPTS += --disable-ldapmail -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rabbitmq-server/rabbitmq-server.mk b/buildroot-2021.05/package/rabbitmq-server/rabbitmq-server.mk deleted file mode 100644 index c5d3190d..00000000 --- a/buildroot-2021.05/package/rabbitmq-server/rabbitmq-server.mk +++ /dev/null @@ -1,68 +0,0 @@ -################################################################################ -# -# rabbitmq-server -# -################################################################################ - -RABBITMQ_SERVER_VERSION = 3.8.2 -RABBITMQ_SERVER_SITE = https://github.com/rabbitmq/rabbitmq-server/releases/download/v$(RABBITMQ_SERVER_VERSION) -RABBITMQ_SERVER_SOURCE = rabbitmq-server-$(RABBITMQ_SERVER_VERSION).tar.xz -RABBITMQ_SERVER_LICENSE = MPL-1.1, Apache-2.0, BSD-3-Clause, BSD-2-Clause, MIT, MPL-2.0, ISC -RABBITMQ_SERVER_LICENSE_FILES = \ - LICENSE \ - LICENSE-APACHE2 \ - LICENSE-APACHE2-excanvas \ - LICENSE-APACHE2-ExplorerCanvas \ - LICENSE-APL2-Stomp-Websocket \ - LICENSE-BSD-base64js \ - LICENSE-BSD-recon \ - LICENSE-erlcloud \ - LICENSE-httpc_aws \ - LICENSE-ISC-cowboy \ - LICENSE-MIT-EJS \ - LICENSE-MIT-EJS10 \ - LICENSE-MIT-Erlware-Commons \ - LICENSE-MIT-Flot \ - LICENSE-MIT-jQuery \ - LICENSE-MIT-jQuery164 \ - LICENSE-MIT-Mochi \ - LICENSE-MIT-Sammy \ - LICENSE-MIT-Sammy060 \ - LICENSE-MPL \ - LICENSE-MPL-RabbitMQ \ - LICENSE-MPL2 \ - LICENSE-rabbitmq_aws -RABBITMQ_SERVER_CPE_ID_VENDOR = pivotal_software -RABBITMQ_SERVER_CPE_ID_PRODUCT = rabbitmq - -RABBITMQ_SERVER_DEPENDENCIES = host-elixir host-libxslt host-zip erlang libxslt -RABBITMQ_SERVER_TARGET_BINS = rabbitmq-plugins rabbitmq-server rabbitmqctl rabbitmq-env rabbitmq-defaults - -define RABBITMQ_SERVER_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define RABBITMQ_SERVER_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install - - for bin in $(RABBITMQ_SERVER_TARGET_BINS); do \ - ln -sf ../lib/erlang/lib/rabbitmq_server-$(RABBITMQ_SERVER_VERSION)/sbin/$$bin \ - $(TARGET_DIR)/usr/sbin/$$bin; \ - done -endef - -define RABBITMQ_SERVER_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/rabbitmq-server/rabbitmq-server.service \ - $(TARGET_DIR)/usr/lib/systemd/system/rabbitmq-server.service -endef - -define RABBITMQ_SERVER_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/rabbitmq-server/S50rabbitmq-server \ - $(TARGET_DIR)/etc/init.d/S50rabbitmq-server -endef - -define RABBITMQ_SERVER_USERS - rabbitmq -1 rabbitmq -1 * /var/lib/rabbitmq /bin/sh - rabbitmq-server daemon -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/radvd/radvd.mk b/buildroot-2021.05/package/radvd/radvd.mk deleted file mode 100644 index bed63678..00000000 --- a/buildroot-2021.05/package/radvd/radvd.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# radvd -# -################################################################################ - -RADVD_VERSION = 2.19 -RADVD_SITE = http://www.litech.org/radvd/dist -RADVD_DEPENDENCIES = host-bison host-flex host-pkgconf -# We need to ignore , because radvd already includes -# , which conflicts with . -RADVD_CONF_ENV = \ - ac_cv_prog_cc_c99='-std=gnu99' \ - ac_cv_header_linux_if_arp_h=no -RADVD_LICENSE = BSD-4-Clause-like -RADVD_LICENSE_FILES = COPYRIGHT - -ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y) -RADVD_CONF_OPTS += --with-stack-protector -else -RADVD_CONF_OPTS += --without-stack-protector -endif - -# We don't provide /etc/radvd.conf, so disable the service by default. -define RADVD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/radvd/50-radvd.preset \ - $(TARGET_DIR)/usr/lib/systemd/system-preset/50-radvd.preset -endef - -define RADVD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d/S50radvd -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ranger/Config.in b/buildroot-2021.05/package/ranger/Config.in deleted file mode 100644 index ee0ffecd..00000000 --- a/buildroot-2021.05/package/ranger/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_RANGER - bool "ranger" - depends on BR2_USE_MMU # python3 - depends on BR2_USE_WCHAR # python3 - depends on BR2_TOOLCHAIN_HAS_THREADS # python3 - depends on !BR2_STATIC_LIBS # python3 - select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON_CURSES if BR2_PACKAGE_PYTHON - select BR2_PACKAGE_PYTHON3_CURSES if BR2_PACKAGE_PYTHON3 - help - ranger is a console file manager with VI key bindings. It - provides a minimalistic and nice curses interface with a - view on the directory hierarchy. It ships with "rifle", a - file launcher that is good at automatically finding out - which program to use for what file type. - - http://ranger.nongnu.org - -comment "ranger needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/raptor/raptor.mk b/buildroot-2021.05/package/raptor/raptor.mk deleted file mode 100644 index 6d21fad5..00000000 --- a/buildroot-2021.05/package/raptor/raptor.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# raptor -# -################################################################################ - -RAPTOR_VERSION = 2.0.15 -RAPTOR_SOURCE = raptor2-$(RAPTOR_VERSION).tar.gz -RAPTOR_SITE = http://download.librdf.org/source -RAPTOR_DEPENDENCIES = libxml2 libxslt -RAPTOR_LICENSE = GPL-2.0+ or LGPL-2.1+ or Apache-2.0+ -RAPTOR_LICENSE_FILES = LICENSE.txt -RAPTOR_CPE_ID_VENDOR = librdf -RAPTOR_CPE_ID_PRODUCT = raptor_rdf_syntax_library -RAPTOR_INSTALL_STAGING = YES - -# Flag is added to make sure the patch is applied for the configure.ac of raptor. -RAPTOR_AUTORECONF = YES - -# 0002-Calcualte-max-nspace-declarations-correctly-for-XML-.patch -RAPTOR_IGNORE_CVES += CVE-2017-18926 - -RAPTOR_CONF_OPTS =\ - --with-xml2-config=$(STAGING_DIR)/usr/bin/xml2-config \ - --with-xslt-config=$(STAGING_DIR)/usr/bin/xslt-config - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -RAPTOR_DEPENDENCIES += libcurl -RAPTOR_CONF_OPTS += --with-curl-config=$(STAGING_DIR)/usr/bin/curl-config -else -RAPTOR_CONF_OPTS += --with-curl-config=no -endif - -ifeq ($(BR2_PACKAGE_YAJL),y) -RAPTOR_DEPENDENCIES += yajl -RAPTOR_CONF_ENV += LIBS="-lm" -RAPTOR_CONF_OPTS += --with-yajl=$(STAGING_DIR)/usr -else -RAPTOR_CONF_OPTS += --with-yajl=no -endif - -ifeq ($(BR2_PACKAGE_ICU),y) -RAPTOR_DEPENDENCIES += icu -RAPTOR_CONF_OPTS += --with-icu-config=$(STAGING_DIR)/usr/bin/icu-config -else -RAPTOR_CONF_OPTS += --with-icu-config=no -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch b/buildroot-2021.05/package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch deleted file mode 100644 index cdab6070..00000000 --- a/buildroot-2021.05/package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 5b015e67af27679f4ca8f7f5f2f71020ec054b0c Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Fri, 2 Dec 2016 23:09:44 +0100 -Subject: [PATCH] Makefile: allow passing CFLAGS/LDFLAGS - -This might be needed to pass some custom CFLAGS/LDFLAGS when building -rpiboot. - -Submitted-upstream: https://github.com/raspberrypi/usbboot/pull/2 -Signed-off-by: Thomas Petazzoni ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 3e7d1e4..d9a7220 100755 ---- a/Makefile -+++ b/Makefile -@@ -1,5 +1,5 @@ - rpiboot: main.c -- $(CC) -g -o $@ $< -lusb-1.0 -+ $(CC) -g $(CFLAGS) -o $@ $< -lusb-1.0 $(LDFLAGS) - - install: rpiboot - cp rpiboot /usr/bin --- -2.7.4 - diff --git a/buildroot-2021.05/package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch b/buildroot-2021.05/package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch deleted file mode 100644 index a757cb0e..00000000 --- a/buildroot-2021.05/package/raspberrypi-usbboot/0002-Makefile-add-DESTDIR-support.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 905bc741b189d67160b27551b8ad01459c2707a0 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Fri, 2 Dec 2016 23:10:37 +0100 -Subject: [PATCH] Makefile: add DESTDIR support - -This allows installing rpiboot outside of /usr if needed. - -Submitted-upstream: https://github.com/raspberrypi/usbboot/pull/2 -Signed-off-by: Thomas Petazzoni -[Arnout: remove /usr] -Signed-off-by: Arnout Vandecappelle (Essensium/Mind) ---- - Makefile | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -diff --git a/Makefile b/Makefile -index d9a7220..7835b7f 100755 ---- a/Makefile -+++ b/Makefile -@@ -2,18 +2,18 @@ rpiboot: main.c - $(CC) -g $(CFLAGS) -o $@ $< -lusb-1.0 $(LDFLAGS) - - install: rpiboot -- cp rpiboot /usr/bin -- mkdir -p /usr/share/rpiboot -- cp usbbootcode.bin /usr/share/rpiboot -- cp msd.elf /usr/share/rpiboot -- cp buildroot.elf /usr/share/rpiboot -+ cp rpiboot $(DESTDIR)bin -+ mkdir -p $(DESTDIR)/share/rpiboot -+ cp usbbootcode.bin $(DESTDIR)/share/rpiboot -+ cp msd.elf $(DESTDIR)/share/rpiboot -+ cp buildroot.elf $(DESTDIR)/share/rpiboot - - uninstall: -- rm -f /usr/bin/rpiboot -- rm -f /usr/share/rpiboot/usbbootcode.bin -- rm -f /usr/share/rpiboot/msd.elf -- rm -f /usr/share/rpiboot/buildroot.elf -- rmdir --ignore-fail-on-non-empty /usr/share/rpiboot/ -+ rm -f $(DESTDIR)/bin/rpiboot -+ rm -f $(DESTDIR)/share/rpiboot/usbbootcode.bin -+ rm -f $(DESTDIR)/share/rpiboot/msd.elf -+ rm -f $(DESTDIR)/share/rpiboot/buildroot.elf -+ rmdir --ignore-fail-on-non-empty $(DESTDIR)/share/rpiboot/ - - clean: - rm rpiboot --- -2.7.4 - diff --git a/buildroot-2021.05/package/raspberrypi-usbboot/0003-main.c-rework-logic-to-find-def1-def2-and-def3-files.patch b/buildroot-2021.05/package/raspberrypi-usbboot/0003-main.c-rework-logic-to-find-def1-def2-and-def3-files.patch deleted file mode 100644 index 30cde49f..00000000 --- a/buildroot-2021.05/package/raspberrypi-usbboot/0003-main.c-rework-logic-to-find-def1-def2-and-def3-files.patch +++ /dev/null @@ -1,127 +0,0 @@ -From 935894908dc24acda0acea7d211a9d80e55ecadb Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Fri, 2 Dec 2016 23:43:23 +0100 -Subject: [PATCH] main.c: rework logic to find def1, def2 and def3 files - -The current logic to find def1, def2 and def3 first tries to find them -in the local directory, and if they are not available, find them in -/usr/share. - -However, this doesn't work if rpiboot and its related files are -installed, but not in /usr. In order to address this use-case, this -commit reworks the logic to find the file path. - -A new function, getfilepath() is created. If the requested file is -available in the current directory, it is used. If not, then the path to -the file is inferred from the location of the currently running -program. I.e if we run /home/foo/sys/bin/rpiboot, then we will search -def1 in usbbootcode.bin in -/home/foo/sys/bin/../share/rpiboot/usbbootcode.bin. - -This continues to address the case of an installation in /usr, while -allowing installation in other locations as well. - -Submitted-upstream: https://github.com/raspberrypi/usbboot/pull/2 -Signed-off-by: Thomas Petazzoni ---- - main.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++++------------- - 1 file changed, 48 insertions(+), 13 deletions(-) - -diff --git a/main.c b/main.c -index 1b4e042..7c571d6 100755 ---- a/main.c -+++ b/main.c -@@ -1,10 +1,12 @@ --#include "libusb-1.0/libusb.h" -+#define _GNU_SOURCE - #include - #include - #include -- -+#include - #include - -+#include "libusb-1.0/libusb.h" -+ - int verbose = 0; - int out_ep = 1; - int in_ep = 2; -@@ -146,6 +148,37 @@ int ep_read(unsigned char *buf, int len, libusb_device_handle * usb_device) - return len; - } - -+char *getfilepath(char *filename) -+{ -+ char *progpath, *filepath, *progdir; -+ ssize_t len; -+ -+ /* If file is available locally, use it */ -+ if (access(filename, F_OK) != -1) -+ return filename; -+ -+ /* Otherwise, use the installed version */ -+ progpath = malloc(PATH_MAX); -+ len = readlink("/proc/self/exe", progpath, PATH_MAX - 1); -+ if (len == -1) -+ { -+ free(progpath); -+ return NULL; -+ } -+ -+ progpath[len] = '\0'; -+ progdir = dirname(progpath); -+ if (asprintf(&filepath, "%s/../share/rpiboot/%s", progdir, filename) < 0) -+ { -+ free(progpath); -+ return NULL; -+ } -+ -+ free(progpath); -+ -+ return filepath; -+} -+ - int main(int argc, char *argv[]) - { - int result; -@@ -157,13 +190,9 @@ int main(int argc, char *argv[]) - int last_serial = -1; - FILE *fp1, *fp2, *fp; - -- char def1_inst[] = "/usr/share/rpiboot/usbbootcode.bin"; -- char def2_inst[] = "/usr/share/rpiboot/msd.elf"; -- char def3_inst[] = "/usr/share/rpiboot/buildroot.elf"; -- -- char def1_loc[] = "./usbbootcode.bin"; -- char def2_loc[] = "./msd.elf"; -- char def3_loc[] = "./buildroot.elf"; -+ char def1_name[] = "usbbootcode.bin"; -+ char def2_name[] = "msd.elf"; -+ char def3_name[] = "buildroot.elf"; - - char *def1, *def2, *def3; - -@@ -171,10 +200,16 @@ int main(int argc, char *argv[]) - char *fatimage = NULL, *executable = NULL; - int loop = 0; - --// if local file version exists use it else use installed -- if( access( def1_loc, F_OK ) != -1 ) { def1 = def1_loc; } else { def1 = def1_inst; } -- if( access( def2_loc, F_OK ) != -1 ) { def2 = def2_loc; } else { def2 = def2_inst; } -- if( access( def3_loc, F_OK ) != -1 ) { def3 = def3_loc; } else { def3 = def3_inst; } -+ def1 = getfilepath(def1_name); -+ def2 = getfilepath(def2_name); -+ def3 = getfilepath(def3_name); -+ -+ if (!def1 || !def2 || !def3) -+ { -+ fprintf(stderr, "One of %s, %s or %s cannot be found\n", -+ def1_name, def2_name, def3_name); -+ exit(1); -+ } - - stage1 = def1; - stage2 = def2; --- -2.7.4 - diff --git a/buildroot-2021.05/package/raspberrypi-usbboot/Config.in.host b/buildroot-2021.05/package/raspberrypi-usbboot/Config.in.host deleted file mode 100644 index b1a434f3..00000000 --- a/buildroot-2021.05/package/raspberrypi-usbboot/Config.in.host +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT - bool "host raspberrypi-usbboot" - depends on BR2_arm - depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb - help - This package builds and install the "rpiboot" tool for the - host machine. This tool allows to boot the Broadcom BCM - processor used in the RaspberryPi to boot over USB, and have - it expose a USB mass storage device in order to reflash the - built-in storage of the RaspberryPi (useful for the eMMC - built into the Compute module). - - https://github.com/raspberrypi/usbboot - -comment "host raspberrypi-usbboot needs a toolchain w/ host gcc >= 4.9" - depends on BR2_arm - depends on !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/raspberrypi-usbboot/raspberrypi-usbboot.hash b/buildroot-2021.05/package/raspberrypi-usbboot/raspberrypi-usbboot.hash deleted file mode 100644 index 94860a9d..00000000 --- a/buildroot-2021.05/package/raspberrypi-usbboot/raspberrypi-usbboot.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 a8893f8a10522bd58866eb34e7f0d7731c43200d585f122681f428cdef76e676 raspberrypi-usbboot-f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051.tar.gz diff --git a/buildroot-2021.05/package/raspberrypi-usbboot/raspberrypi-usbboot.mk b/buildroot-2021.05/package/raspberrypi-usbboot/raspberrypi-usbboot.mk deleted file mode 100644 index 70186179..00000000 --- a/buildroot-2021.05/package/raspberrypi-usbboot/raspberrypi-usbboot.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# raspberrypi-usbboot -# -################################################################################ - -RASPBERRYPI_USBBOOT_VERSION = f4e3f0f9a3c64d846ba53ec3367e33a4f9a7d051 -RASPBERRYPI_USBBOOT_SITE = $(call github,raspberrypi,usbboot,$(RASPBERRYPI_USBBOOT_VERSION)) - -HOST_RASPBERRYPI_USBBOOT_DEPENDENCIES = host-libusb - -define HOST_RASPBERRYPI_USBBOOT_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) -endef - -define HOST_RASPBERRYPI_USBBOOT_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) \ - DESTDIR=$(HOST_DIR) install -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/rauc/Config.in b/buildroot-2021.05/package/rauc/Config.in deleted file mode 100644 index 676ff42b..00000000 --- a/buildroot-2021.05/package/rauc/Config.in +++ /dev/null @@ -1,40 +0,0 @@ -config BR2_PACKAGE_RAUC - bool "rauc" - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - depends on BR2_USE_MMU # glib2 - depends on BR2_USE_WCHAR # glib2 - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_SQUASHFS # run-time dependency - select BR2_PACKAGE_UBOOT_TOOLS if BR2_TARGET_UBOOT # run-time dependency - select BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV if BR2_TARGET_UBOOT - help - RAUC is the Robust Auto-Update Controller developed by - Pengutronix. It supports updating embedded Linux - systems over the network or from disks and provides a - d-bus interface. - - http://rauc.io/ - -if BR2_PACKAGE_RAUC - -config BR2_PACKAGE_RAUC_NETWORK - bool "network support" - select BR2_PACKAGE_LIBCURL - help - This option enables support for updating firmware over - the network using libcurl. - -config BR2_PACKAGE_RAUC_JSON - bool "JSON output support" - select BR2_PACKAGE_JSON_GLIB - help - This option enables support for providing output in - JSON format. - -endif - -comment "rauc needs a toolchain w/ wchar, threads" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/rauc/rauc.hash b/buildroot-2021.05/package/rauc/rauc.hash deleted file mode 100644 index a0252578..00000000 --- a/buildroot-2021.05/package/rauc/rauc.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated, after verifying against -# https://github.com/rauc/rauc/releases/download/v1.5.1/rauc-1.5.1.tar.xz.asc -sha256 d4ea009ce702bcb083d942398ccfedec959c6bbb7adc0fd77ae9314ce11d9d91 rauc-1.5.1.tar.xz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/rauc/rauc.mk b/buildroot-2021.05/package/rauc/rauc.mk deleted file mode 100644 index 4fb3ddde..00000000 --- a/buildroot-2021.05/package/rauc/rauc.mk +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# -# rauc -# -################################################################################ - -RAUC_VERSION = 1.5.1 -RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION) -RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz -RAUC_LICENSE = LGPL-2.1 -RAUC_LICENSE_FILES = COPYING -RAUC_CPE_ID_VENDOR = pengutronix -RAUC_DEPENDENCIES = host-pkgconf openssl libglib2 dbus - -ifeq ($(BR2_PACKAGE_RAUC_NETWORK),y) -RAUC_CONF_OPTS += --enable-network -RAUC_DEPENDENCIES += libcurl -else -RAUC_CONF_OPTS += --disable-network -endif - -ifeq ($(BR2_PACKAGE_RAUC_JSON),y) -RAUC_CONF_OPTS += --enable-json -RAUC_DEPENDENCIES += json-glib -else -RAUC_CONF_OPTS += --disable-json -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -# configure uses pkg-config --variable=systemdsystemunitdir systemd -RAUC_DEPENDENCIES += systemd -endif - -define RAUC_INSTALL_INIT_SYSTEMD - mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/rauc.service.d - printf '[Install]\nWantedBy=multi-user.target\n' \ - >$(TARGET_DIR)/usr/lib/systemd/system/rauc.service.d/buildroot-enable.conf -endef - -HOST_RAUC_DEPENDENCIES = \ - host-pkgconf \ - host-openssl \ - host-libglib2 \ - host-squashfs \ - $(if $(BR2_PACKAGE_HOST_LIBP11),host-libp11) -HOST_RAUC_CONF_OPTS += \ - --disable-network \ - --disable-json \ - --disable-service \ - --without-dbuspolicydir \ - --with-systemdunitdir=no - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/rcw-smarc-sal28/rcw-smarc-sal28.mk b/buildroot-2021.05/package/rcw-smarc-sal28/rcw-smarc-sal28.mk deleted file mode 100644 index 4928f1a7..00000000 --- a/buildroot-2021.05/package/rcw-smarc-sal28/rcw-smarc-sal28.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# rcw-smarc-sal28 -# -################################################################################ - -RCW_SMARC_SAL28_VERSION = 11 -RCW_SMARC_SAL28_SITE = $(call github,kontron,rcw-smarc-sal28,v$(RCW_SMARC_SAL28_VERSION)) -RCW_SMARC_SAL28_LICENSE = BSD-2-Clause -RCW_SMARC_SAL28_LICENSE_FILES = COPYING -RCW_SMARC_SAL28_INSTALL_TARGET = NO -RCW_SMARC_SAL28_INSTALL_IMAGES = YES - -RCW_SMARC_SAL28_BOOT_VARIANT = $(call qstrip,$(BR2_PACKAGE_RCW_SMARC_SAL28_BOOT_VARIANT)) - -ifeq ($(BR2_PACKAGE_RCW_SMARC_SAL28_BUILD_UPDATE_SCRIPT),y) -RCW_SMARC_SAL28_DEPENDENCIES = host-uboot-tools -define RCW_SMARC_SAL28_UPDATE_SCRIPT_BUILD_CMDS - MKIMAGE=$(HOST_DIR)/bin/mkimage $(MAKE) -C $(@D)/contrib all -endef -define RCW_SMARC_SAL28_UPDATE_SCRIPT_INSTALL_CMDS - $(INSTALL) -D -m 0644 $(@D)/contrib/update-rcw.img $(BINARIES_DIR)/ -endef -endif - -define RCW_SMARC_SAL28_BUILD_CMDS - $(RCW_SMARC_SAL28_UPDATE_SCRIPT_BUILD_CMDS) -endef - -define RCW_SMARC_SAL28_INSTALL_IMAGES_CMDS - $(INSTALL) -d $(BINARIES_DIR)/rcw - $(INSTALL) -D -m 0644 $(@D)/sl28-*.bin $(BINARIES_DIR)/rcw/ - ln -sf rcw/sl28-$(RCW_SMARC_SAL28_BOOT_VARIANT).bin $(BINARIES_DIR)/rcw.bin - $(RCW_SMARC_SAL28_UPDATE_SCRIPT_INSTALL_CMDS) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/re2/re2.hash b/buildroot-2021.05/package/re2/re2.hash deleted file mode 100644 index a2ed659b..00000000 --- a/buildroot-2021.05/package/re2/re2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally calculated -sha256 1396ab50c06c1a8885fb68bf49a5ecfd989163015fd96699a180d6414937f33f re2-2021-02-02.tar.gz -sha256 6040cda75d90b1738292a631d89934c411ef7ffd543c4d6a1b7edfc8edf29449 LICENSE diff --git a/buildroot-2021.05/package/re2/re2.mk b/buildroot-2021.05/package/re2/re2.mk deleted file mode 100644 index 028079cb..00000000 --- a/buildroot-2021.05/package/re2/re2.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# re2 -# -################################################################################ - -RE2_VERSION = 2021-02-02 -RE2_SITE = $(call github,google,re2,$(RE2_VERSION)) -RE2_LICENSE = BSD-3-Clause -RE2_LICENSE_FILES = LICENSE -RE2_INSTALL_STAGING = YES - -RE2_CONF_OPTS += -DRE2_BUILD_TESTING=OFF -HOST_RE2_CONF_OPTS += -DRE2_BUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/readline/readline.hash b/buildroot-2021.05/package/readline/readline.hash deleted file mode 100644 index 63172f11..00000000 --- a/buildroot-2021.05/package/readline/readline.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02 readline-8.1.tar.gz - -# Hash for license file -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/readline/readline.mk b/buildroot-2021.05/package/readline/readline.mk deleted file mode 100644 index 06a96b67..00000000 --- a/buildroot-2021.05/package/readline/readline.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# readline -# -################################################################################ - -READLINE_VERSION = 8.1 -READLINE_SITE = $(BR2_GNU_MIRROR)/readline -READLINE_INSTALL_STAGING = YES -READLINE_DEPENDENCIES = ncurses host-autoconf -HOST_READLINE_DEPENDENCIES = host-ncurses host-autoconf -READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes \ - bash_cv_wcwidth_broken=no -READLINE_CONF_OPTS = --disable-install-examples -READLINE_LICENSE = GPL-3.0+ -READLINE_LICENSE_FILES = COPYING -READLINE_CPE_ID_VENDOR = gnu - -ifeq ($(BR2_PACKAGE_READLINE_BRACKETED_PASTE),y) -READLINE_CONF_OPTS += --enable-bracketed-paste-default -else -READLINE_CONF_OPTS += --disable-bracketed-paste-default -endif - -define READLINE_INSTALL_INPUTRC - $(INSTALL) -D -m 644 package/readline/inputrc $(TARGET_DIR)/etc/inputrc -endef -READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_INPUTRC - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/redis/redis.hash b/buildroot-2021.05/package/redis/redis.hash deleted file mode 100644 index 06e6884d..00000000 --- a/buildroot-2021.05/package/redis/redis.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/redis/redis-hashes/blob/master/README -sha256 98ed7d532b5e9671f5df0825bb71f0f37483a16546364049384c63db8764512b redis-6.2.3.tar.gz - -# Locally calculated -sha256 97f0a15b7bbae580d2609dad2e11f1956ae167be296ab60f4691ab9c30ee9828 COPYING diff --git a/buildroot-2021.05/package/redis/redis.mk b/buildroot-2021.05/package/redis/redis.mk deleted file mode 100644 index cea2d3b2..00000000 --- a/buildroot-2021.05/package/redis/redis.mk +++ /dev/null @@ -1,69 +0,0 @@ -################################################################################ -# -# redis -# -################################################################################ - -REDIS_VERSION = 6.2.3 -REDIS_SITE = http://download.redis.io/releases -REDIS_LICENSE = BSD-3-Clause (core); MIT and BSD family licenses (Bundled components) -REDIS_LICENSE_FILES = COPYING -REDIS_CPE_ID_VENDOR = redislabs - -define REDIS_USERS - redis -1 redis -1 * /var/lib/redis /bin/false - Redis Server -endef - -# Uses __atomic_fetch_add_4. Adding -latomic to LDFLAGS does not work, -# because LDFLAGS is used before the list of object files. We need to -# add -latomic to FINAL_LIBS to provide -latomic at the correct place -# in the linking command. -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -define REDIS_FIX_MAKEFILE - $(SED) 's/FINAL_LIBS=-lm/FINAL_LIBS=-lm -latomic/' $(@D)/src/Makefile -endef -REDIS_POST_PATCH_HOOKS = REDIS_FIX_MAKEFILE -endif - -# Redis doesn't support DESTDIR (yet, see -# https://github.com/antirez/redis/pull/609). We set PREFIX -# instead. -REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \ - PREFIX=$(TARGET_DIR)/usr MALLOC=libc - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -REDIS_DEPENDENCIES += systemd -REDIS_BUILDOPTS += USE_SYSTEMD=yes -else -REDIS_BUILDOPTS += USE_SYSTEMD=no -endif - -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) -REDIS_DEPENDENCIES += libopenssl -REDIS_BUILDOPTS += BUILD_TLS=yes -else -REDIS_BUILDOPTS += BUILD_TLS=no -endif - -define REDIS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) -endef - -define REDIS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) \ - LDCONFIG=true install - $(INSTALL) -D -m 0644 $(@D)/redis.conf \ - $(TARGET_DIR)/etc/redis.conf -endef - -define REDIS_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/redis/S50redis \ - $(TARGET_DIR)/etc/init.d/S50redis -endef - -define REDIS_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/redis/redis.service \ - $(TARGET_DIR)/usr/lib/systemd/system/redis.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/refpolicy/Config.in b/buildroot-2021.05/package/refpolicy/Config.in deleted file mode 100644 index c529b85e..00000000 --- a/buildroot-2021.05/package/refpolicy/Config.in +++ /dev/null @@ -1,117 +0,0 @@ -config BR2_PACKAGE_REFPOLICY - bool "refpolicy" - depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol - # Even though libsepol is not necessary for building, we get - # the policy version from libsepol, so we select it, and treat - # it like a runtime dependency. - select BR2_PACKAGE_LIBSEPOL - help - The SELinux Reference Policy project (refpolicy) is a - complete SELinux policy that can be used as the system - policy for a variety of systems and used as the basis for - creating other policies. Reference Policy was originally - based on the NSA example policy, but aims to accomplish many - additional goals. - - The current refpolicy does not fully support Buildroot and - needs modifications to work with the default system file - layout. These changes should be added as patches to the - refpolicy that modify a single SELinux policy. - - The refpolicy works for the most part in permissive - mode. Only the basic set of utilities are enabled in the - example policy config and some of the pathing in the - policies is not correct. Individual policies would need to - be tweaked to get everything functioning properly. - - https://github.com/TresysTechnology/refpolicy - -if BR2_PACKAGE_REFPOLICY - -choice - prompt "Refpolicy version" - default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION - -config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION - bool "Upstream version" - help - Use the refpolicy as provided by Buildroot. - -config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT - bool "Custom git repository" - help - Allows to get the refpolicy from a custom git repository. - - The custom refpolicy must define the full policy explicitly, - and must be a fork of the original refpolicy, to have the - same build system. When this is selected, only the custom - policy definition are taken into account and all the modules - of the policy are built into the binary policy. - -endchoice - -if BR2_PACKAGE_REFPOLICY_CUSTOM_GIT - -config BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL - string "URL of custom repository" - -config BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_VERSION - string "Custom repository version" - help - Revision to use in the typical format used by Git. - E.g. a sha id, tag, branch... - -endif - -choice - prompt "SELinux default state" - default BR2_PACKAGE_REFPOLICY_POLICY_STATE_PERMISSIVE - -config BR2_PACKAGE_REFPOLICY_POLICY_STATE_ENFORCING - bool "Enforcing" - help - SELinux security policy is enforced - -config BR2_PACKAGE_REFPOLICY_POLICY_STATE_PERMISSIVE - bool "Permissive" - help - SELinux prints warnings instead of enforcing - -config BR2_PACKAGE_REFPOLICY_POLICY_STATE_DISABLED - bool "Disabled" - help - No SELinux policy is loaded -endchoice - -config BR2_PACKAGE_REFPOLICY_POLICY_STATE - string - default "permissive" if BR2_PACKAGE_REFPOLICY_POLICY_STATE_PERMISSIVE - default "enforcing" if BR2_PACKAGE_REFPOLICY_POLICY_STATE_ENFORCING - default "disabled" if BR2_PACKAGE_REFPOLICY_POLICY_STATE_DISABLED - -if BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION - -config BR2_REFPOLICY_EXTRA_MODULES_DIRS - string "Extra modules directories" - help - Specify a space-separated list of directories containing - SELinux modules that will be built into the SELinux - policy. The modules will be automatically enabled in the - policy. - - Each of those directories must contain the SELinux policy - .fc, .if and .te files directly at the top-level, with no - sub-directories. Also, you cannot have several modules with - the same name in different directories. - -config BR2_REFPOLICY_EXTRA_MODULES - string "Extra modules to enable" - help - List of extra SELinux modules to enable in the refpolicy. - -endif - -endif - -comment "refpolicy needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/refpolicy/refpolicy.hash b/buildroot-2021.05/package/refpolicy/refpolicy.hash deleted file mode 100644 index 6c33a4d9..00000000 --- a/buildroot-2021.05/package/refpolicy/refpolicy.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/SELinuxProject/refpolicy/releases -sha256 48cbf2c63ff9003bef05e03c8d3cdddb4e8f63fef2a072ae51c987301f0b874d refpolicy-2.20210203.tar.bz2 - -# Locally computed -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2021.05/package/refpolicy/refpolicy.mk b/buildroot-2021.05/package/refpolicy/refpolicy.mk deleted file mode 100644 index a42483db..00000000 --- a/buildroot-2021.05/package/refpolicy/refpolicy.mk +++ /dev/null @@ -1,132 +0,0 @@ -################################################################################ -# -# refpolicy -# -################################################################################ - -REFPOLICY_LICENSE = GPL-2.0 -REFPOLICY_LICENSE_FILES = COPYING -REFPOLICY_CPE_ID_VENDOR = selinuxproject -REFPOLICY_INSTALL_STAGING = YES -REFPOLICY_DEPENDENCIES = \ - host-m4 \ - host-checkpolicy \ - host-policycoreutils \ - host-python3 \ - host-setools \ - host-gawk - -ifeq ($(BR2_PACKAGE_REFPOLICY_CUSTOM_GIT),y) -REFPOLICY_VERSION = $(call qstrip,$(BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_VERSION)) -REFPOLICY_SITE = $(call qstrip,$(BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL)) -REFPOLICY_SITE_METHOD = git -BR_NO_CHECK_HASH_FOR += $(REFPOLICY_SOURCE) -else -REFPOLICY_VERSION = 2.20210203 -REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 -REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_2_20210203 -endif - -# Cannot use multiple threads to build the reference policy -REFPOLICY_MAKE = \ - PYTHON=$(HOST_DIR)/usr/bin/python3 \ - TEST_TOOLCHAIN=$(HOST_DIR) \ - $(TARGET_MAKE_ENV) \ - $(MAKE1) - -REFPOLICY_POLICY_VERSION = $(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION) -REFPOLICY_POLICY_STATE = \ - $(call qstrip,$(BR2_PACKAGE_REFPOLICY_POLICY_STATE)) - -ifeq ($(BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION),y) - -# Allow to provide out-of-tree SELinux modules in addition to the ones -# in the refpolicy. -REFPOLICY_EXTRA_MODULES_DIRS = \ - $(strip \ - $(call qstrip,$(BR2_REFPOLICY_EXTRA_MODULES_DIRS)) \ - $(PACKAGES_SELINUX_EXTRA_MODULES_DIRS)) -$(foreach dir,$(REFPOLICY_EXTRA_MODULES_DIRS),\ - $(if $(wildcard $(dir)),,\ - $(error BR2_REFPOLICY_EXTRA_MODULES_DIRS contains nonexistent directory $(dir)))) - -REFPOLICY_MODULES = \ - application \ - authlogin \ - getty \ - init \ - libraries \ - locallogin \ - logging \ - miscfiles \ - modutils \ - mount \ - selinuxutil \ - storage \ - sysadm \ - sysnetwork \ - unconfined \ - userdomain \ - $(PACKAGES_SELINUX_MODULES) \ - $(call qstrip,$(BR2_REFPOLICY_EXTRA_MODULES)) \ - $(foreach d,$(REFPOLICY_EXTRA_MODULES_DIRS),\ - $(basename $(notdir $(wildcard $(d)/*.te)))) - -define REFPOLICY_COPY_EXTRA_MODULES - mkdir -p $(@D)/policy/modules/buildroot - rsync -au $(addsuffix /*,$(REFPOLICY_EXTRA_MODULES_DIRS)) \ - $(@D)/policy/modules/buildroot/ - if [ ! -f $(@D)/policy/modules/buildroot/metadata.xml ]; then \ - echo "Buildroot extra modules" > \ - $(@D)/policy/modules/buildroot/metadata.xml; \ - fi -endef - -# In the context of a monolithic policy enabling a piece of the policy as -# 'base' or 'module' is equivalent, so we enable them as 'base'. -define REFPOLICY_CONFIGURE_MODULES - $(SED) "s/ = module/ = no/g" $(@D)/policy/modules.conf - $(foreach m,$(sort $(REFPOLICY_MODULES)), - $(SED) "/^$(m) =/c\$(m) = base" $(@D)/policy/modules.conf - ) -endef - -endif # BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION = y - -ifeq ($(BR2_INIT_SYSTEMD),y) -define REFPOLICY_CONFIGURE_SYSTEMD - $(SED) "/SYSTEMD/c\SYSTEMD = y" $(@D)/build.conf -endef -endif - -define REFPOLICY_CONFIGURE_CMDS - $(SED) "/OUTPUT_POLICY/c\OUTPUT_POLICY = $(REFPOLICY_POLICY_VERSION)" \ - $(@D)/build.conf - $(SED) "/MONOLITHIC/c\MONOLITHIC = y" $(@D)/build.conf - $(SED) "/NAME/c\NAME = targeted" $(@D)/build.conf - $(REFPOLICY_CONFIGURE_SYSTEMD) - $(if $(REFPOLICY_EXTRA_MODULES_DIRS), \ - $(REFPOLICY_COPY_EXTRA_MODULES) - ) - $(REFPOLICY_MAKE) -C $(@D) bare conf - $(REFPOLICY_CONFIGURE_MODULES) -endef - -define REFPOLICY_BUILD_CMDS - $(REFPOLICY_MAKE) -C $(@D) policy -endef - -define REFPOLICY_INSTALL_STAGING_CMDS - $(REFPOLICY_MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) \ - install-src install-headers -endef - -define REFPOLICY_INSTALL_TARGET_CMDS - $(REFPOLICY_MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install - $(INSTALL) -m 0755 -D package/refpolicy/config \ - $(TARGET_DIR)/etc/selinux/config - $(SED) "/^SELINUX=/c\SELINUX=$(REFPOLICY_POLICY_STATE)" \ - $(TARGET_DIR)/etc/selinux/config -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/resiprocate/Config.in b/buildroot-2021.05/package/resiprocate/Config.in deleted file mode 100644 index 509c11ff..00000000 --- a/buildroot-2021.05/package/resiprocate/Config.in +++ /dev/null @@ -1,49 +0,0 @@ -comment "resiprocate needs a toolchain w/ C++, threads, wchar" - depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR - -config BR2_PACKAGE_RESIPROCATE - bool "resiprocate" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_WCHAR - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_C_ARES - help - reSIProcate is a framework that aims to fully implement the - SIP protocol in first class C++. It is intended for use in - other applications, such as the repro SIP proxy. - - By default this package provides the core libraries: librutil - (utilities), libresip (SIP stack/RFC compliant message - parsing) and libdum (SIP Dialog Usage Manager, a state - machine for SIP dialogs). - - https://www.resiprocate.org/ - -if BR2_PACKAGE_RESIPROCATE - -config BR2_PACKAGE_RESIPROCATE_DTLS_SUPPORT - bool "DTLS support" - select BR2_PACKAGE_OPENSSL - help - Enable DTLS support (requires OpenSSL) - -config BR2_PACKAGE_RESIPROCATE_REND - bool "resiprocate-rend" - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_POPT - help - Rend is tool that is was created specifically to load test - gtSIP based presence servers. - -config BR2_PACKAGE_RESIPROCATE_APPS - bool "resiprocate-apps" - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PCRE - help - Build apps clicktocall and sipdial - -endif # BR2_PACKAGE_RESIPROCATE diff --git a/buildroot-2021.05/package/resiprocate/resiprocate.mk b/buildroot-2021.05/package/resiprocate/resiprocate.mk deleted file mode 100644 index b31712b4..00000000 --- a/buildroot-2021.05/package/resiprocate/resiprocate.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# resiprocate -# -################################################################################ - -RESIPROCATE_VERSION = 1.12.0 -RESIPROCATE_SITE = https://www.resiprocate.org/files/pub/reSIProcate/releases -# For complete details see https://www.resiprocate.org/License -RESIPROCATE_LICENSE = VSL-1.0, BSD-3-Clause -RESIPROCATE_LICENSE_FILES = COPYING -RESIPROCATE_CPE_ID_VENDOR = resiprocate -RESIPROCATE_INSTALL_STAGING = YES - -# Utilize c-ares from buildroot instead built in ARES library -# NOTE: resiprocate doesn't support --without- syntax as it will try -# to build with package if specified -RESIPROCATE_DEPENDENCIES = c-ares -RESIPROCATE_CONF_OPTS = -with-c-ares \ - --with-sysroot="$(STAGING_DIR)" - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -RESIPROCATE_DEPENDENCIES += openssl host-pkgconf -RESIPROCATE_CONF_OPTS += --with-ssl -# Configure.ac does not include '-lz' when statically linking against openssl -RESIPROCATE_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -endif - -ifeq ($(BR2_PACKAGE_POPT),y) -RESIPROCATE_CONF_OPTS += --with-popt -RESIPROCATE_DEPENDENCIES += popt -endif - -ifeq ($(BR2_PACKAGE_RESIPROCATE_DTLS_SUPPORT),y) -RESIPROCATE_CONF_OPTS += --with-dtls -endif - -ifeq ($(BR2_PACKAGE_RESIPROCATE_REND),y) -RESIPROCATE_CONF_OPTS += --with-rend -RESIPROCATE_DEPENDENCIES += boost -endif - -ifeq ($(BR2_PACKAGE_RESIPROCATE_APPS),y) -RESIPROCATE_CONF_OPTS += --with-apps -RESIPROCATE_DEPENDENCIES += pcre -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/restclient-cpp/restclient-cpp.mk b/buildroot-2021.05/package/restclient-cpp/restclient-cpp.mk deleted file mode 100644 index 826be870..00000000 --- a/buildroot-2021.05/package/restclient-cpp/restclient-cpp.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# restclient-cpp -# -################################################################################ - -RESTCLIENT_CPP_VERSION = 0.5.2 -RESTCLIENT_CPP_SITE = $(call github,mrtazz,restclient-cpp,$(RESTCLIENT_CPP_VERSION)) -RESTCLIENT_CPP_LICENSE = MIT -RESTCLIENT_CPP_LICENSE_FILES = LICENSE -RESTCLIENT_CPP_INSTALL_STAGING = YES - -# Source from github, no configure script provided -RESTCLIENT_CPP_AUTORECONF = YES - -RESTCLIENT_CPP_DEPENDENCIES = libcurl - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/restorecond/Config.in b/buildroot-2021.05/package/restorecond/Config.in deleted file mode 100644 index 31f85f28..00000000 --- a/buildroot-2021.05/package/restorecond/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_RESTORECOND - bool "restorecond" - depends on BR2_USE_MMU # libglib2 - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on !BR2_STATIC_LIBS # libselinux - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_DBUS_GLIB - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_LIBSELINUX - select BR2_PACKAGE_LIBSEPOL - help - restorecond is a daemon that watches for file creation and - then sets the default SELinux file context for that file. - - https://github.com/SELinuxProject/selinux/wiki/Releases - -comment "restorecond needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ - BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/restorecond/restorecond.hash b/buildroot-2021.05/package/restorecond/restorecond.hash deleted file mode 100644 index e30e62a8..00000000 --- a/buildroot-2021.05/package/restorecond/restorecond.hash +++ /dev/null @@ -1,5 +0,0 @@ -# https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 82ca45099685a45d718f11f8859963c1ba83d98e510312cbf0b7dc5664c60ad0 restorecond-3.1.tar.gz - -# Hash for license file -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2021.05/package/restorecond/restorecond.mk b/buildroot-2021.05/package/restorecond/restorecond.mk deleted file mode 100644 index 7ab7e978..00000000 --- a/buildroot-2021.05/package/restorecond/restorecond.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# restorecond -# -################################################################################ - -RESTORECOND_VERSION = 3.1 -RESTORECOND_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 -RESTORECOND_LICENSE = GPL-2.0 -RESTORECOND_LICENSE_FILES = COPYING - -RESTORECOND_DEPENDENCIES = libglib2 libsepol libselinux dbus-glib - -# Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h -# large file support. -# See https://bugzilla.redhat.com/show_bug.cgi?id=574992 for more information -RESTORECOND_MAKE_OPTS += \ - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS" \ - CPPFLAGS="$(TARGET_CPPFLAGS) -U_FILE_OFFSET_BITS" \ - ARCH="$(BR2_ARCH)" - -# We need to pass DESTDIR at build time because it's used by -# restorecond build system to find headers and libraries. -define RESTORECOND_BUILD_CMDS - $(MAKE) -C $(@D) $(RESTORECOND_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all -endef - -define RESTORECOND_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D $(@D)/restorecond.init \ - $(TARGET_DIR)/etc/init.d/S20restorecond -endef - -define RESTORECOND_INSTALL_INIT_SYSTEMD - $(INSTALL) -m 0644 -D $(@D)/restorecond.service \ - $(TARGET_DIR)/usr/lib/systemd/system/restorecond.service - - mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants - ln -fs ../../../../usr/lib/systemd/system/restorecond.service \ - $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/restorecond.service - - $(INSTALL) -m 0600 -D $(@D)/org.selinux.Restorecond.service \ - $(TARGET_DIR)/etc/systemd/system/org.selinux.Restorecond.service -endef - -define RESTORECOND_INSTALL_TARGET_CMDS - $(INSTALL) -m 0644 -D $(@D)/restorecond.conf $(TARGET_DIR)/etc/selinux/restorecond.conf - $(INSTALL) -m 0644 -D $(@D)/restorecond_user.conf $(TARGET_DIR)/etc/selinux/restorecond_user.conf - $(INSTALL) -m 0755 -D $(@D)/restorecond $(TARGET_DIR)/usr/sbin/restorecond -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rhash/0001-configure-allow-cross-compilation.patch b/buildroot-2021.05/package/rhash/0001-configure-allow-cross-compilation.patch deleted file mode 100644 index 6a8f40f1..00000000 --- a/buildroot-2021.05/package/rhash/0001-configure-allow-cross-compilation.patch +++ /dev/null @@ -1,57 +0,0 @@ -From a3d0ef352529217c9c32ce1a1b1db1420798cbe5 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 10 Oct 2020 11:07:39 +0200 -Subject: [PATCH] configure: allow cross-compilation - -Some compilers are in fact a wrapper (e.g. to speed compilation with -ccache or distcc, or as a cross-compiler wrapper). Those wrappers may -not properly recognise the -v option, or may internally enforce some -flags that conflict with -v. - -Use --version as a fall-back. - -With --version. the compiler will report its executable's basename, e.g. -arm-linux-gcc not gcc. Catter for that by grepping for the compiler -family name. - -Signed-off-by: Fabrice Fontaine -[yann.morin.1998@free.fr: - - retain "$CC -v" as default, fallback to "$CC --version" -] -Signed-off-by: Yann E. MORIN ---- - configure | 9 +++++++-- - 1 file changed, 7 insertions(+), 2 deletions(-) - -diff --git a/configure b/configure -index 9d72895..46491f7 100755 ---- a/configure -+++ b/configure -@@ -513,9 +513,14 @@ else - CC_TMP="$CC" - test -n "$OPT_CC" && OTHER_CC= || OTHER_CC="gcc cc" - for CC in "$CC_TMP" $OTHER_CC; do -+ cc_name_tmp= - if run_cmd "$CC -v"; then - cc_name_tmp=$($CC -v 2>&1 | tail -n 1 | cut -d ' ' -f 1) -- if test "$cc_name_tmp" = "gcc"; then -+ elif run_cmd "$CC --version"; then -+ cc_name_tmp=$($CC --version 2>&1 | head -n 1 | cut -d ' ' -f 1) -+ fi -+ if test "${cc_name_tmp}"; then -+ if echo "$cc_name_tmp" | grep -q "gcc"; then - cc_name=$cc_name_tmp - start_check "$CC version" - cc_vendor=gnu -@@ -539,7 +544,7 @@ else - finish_check "$cc_name $cc_version" - break - fi -- if $CC -v 2>&1 | grep -q "clang"; then -+ if echo "$cc_name_tmp" | grep -q "clang"; then - start_check "$CC version" - cc_vendor=clang - cc_version=$($CC -dumpversion 2>&1) --- -2.25.1 - diff --git a/buildroot-2021.05/package/rhash/0002-configure-add-uclinux-target.patch b/buildroot-2021.05/package/rhash/0002-configure-add-uclinux-target.patch deleted file mode 100644 index ca4a5564..00000000 --- a/buildroot-2021.05/package/rhash/0002-configure-add-uclinux-target.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 683f6875313cab9643402bb1710ebabb76e7c018 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 14 Jan 2021 08:37:06 +0100 -Subject: [PATCH] configure: add uclinux target - -Fix the following build failure with ---target=arm-buildroot-uclinux-uclibcgnueabi: - -Checking for target OS ... UNKNOWN - -Error: Unknown target OS, please specify the --target option - -Fixes: - - http://autobuild.buildroot.org/results/598ca65cf0c7ecf9ceaecb75868b656570ae00d2 - -Signed-off-by: Fabrice Fontaine ---- - configure | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure b/configure -index c8e1ea7..aae4dce 100755 ---- a/configure -+++ b/configure -@@ -426,7 +426,7 @@ else - component=$1 - part=$(echo $BUILD_TARGET | cut -d '-' -f $component) - case "$(echo $part | tr '[A-Z]' '[a-z]')" in -- linux) TARGET_OS=Linux ;; -+ linux|uclinux) TARGET_OS=Linux ;; - freebsd*) TARGET_OS=FreeBSD ;; - gnu/kfreebsd) TARGET_OS=FreeBSD ;; - netbsd) TARGET_OS=NetBSD ;; --- -2.29.2 - diff --git a/buildroot-2021.05/package/rhash/Config.in b/buildroot-2021.05/package/rhash/Config.in deleted file mode 100644 index 2ddcb00f..00000000 --- a/buildroot-2021.05/package/rhash/Config.in +++ /dev/null @@ -1,23 +0,0 @@ -config BR2_PACKAGE_RHASH - bool "rhash" - help - LibRHash is a professional, portable, thread-safe C library - for computing a wide variety of hash sums, such as CRC32, - MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, Tiger, - DC++ TTH, BitTorrent BTIH, GOST R 34.11-94, RIPEMD-160, - HAS-160, EDON-R, Whirlpool and Snefru. - - https://github.com/rhash/RHash - -if BR2_PACKAGE_RHASH - -config BR2_PACKAGE_RHASH_BIN - bool "rhash binary" - depends on !BR2_STATIC_LIBS - help - Install rhash console utility - -comment "rhash binary needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -endif diff --git a/buildroot-2021.05/package/rhash/rhash.hash b/buildroot-2021.05/package/rhash/rhash.hash deleted file mode 100644 index ba7bbb8a..00000000 --- a/buildroot-2021.05/package/rhash/rhash.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://sourceforge.net/projects/rhash/files/rhash/1.4.1/ -sha1 e1f559d060fd07bfca854c8ae3384798bd2ef266 rhash-1.4.1-src.tar.gz -# Locally calculated -sha256 430c812733e69b78f07ce30a05db69563450e41e217ae618507a4ce2e144a297 rhash-1.4.1-src.tar.gz -sha256 953e55838353335148c90b5a38a4894292680b1d4c37228ffddddbf18ce54bf5 COPYING diff --git a/buildroot-2021.05/package/rhash/rhash.mk b/buildroot-2021.05/package/rhash/rhash.mk deleted file mode 100644 index 92abcd29..00000000 --- a/buildroot-2021.05/package/rhash/rhash.mk +++ /dev/null @@ -1,74 +0,0 @@ -################################################################################ -# -# rhash -# -################################################################################ - -RHASH_VERSION = 1.4.1 -RHASH_SOURCE = rhash-$(RHASH_VERSION)-src.tar.gz -RHASH_SITE = https://sourceforge.net/projects/rhash/files/rhash/$(RHASH_VERSION) -RHASH_LICENSE = 0BSD -RHASH_LICENSE_FILES = COPYING -RHASH_CPE_ID_VENDOR = rhash_project -RHASH_INSTALL_STAGING = YES -RHASH_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) -RHASH_ADDLDFLAGS = $(TARGET_NLS_LIBS) - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -RHASH_CONF_OPTS += --disable-gettext -else -RHASH_CONF_OPTS += --enable-gettext -endif - -ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) -RHASH_CONF_OPTS += --enable-openssl -RHASH_DEPENDENCIES += openssl -else -RHASH_CONF_OPTS += --disable-openssl -endif - -define RHASH_CONFIGURE_CMDS - (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure \ - --prefix=/usr \ - --cc=$(TARGET_CC) \ - --target=$(GNU_TARGET_NAME) \ - $(RHASH_CONF_OPTS) \ - ) -endef - -ifeq ($(BR2_SHARED_LIBS),y) -RHASH_BUILD_TARGETS = lib-shared build-shared -RHASH_INSTALL_TARGETS = install-lib-shared install-so-link -else ifeq ($(BR2_STATIC_LIBS),y) -RHASH_BUILD_TARGETS = lib-static -RHASH_INSTALL_TARGETS = install-lib-static -else -RHASH_BUILD_TARGETS = lib-static lib-shared build-shared -RHASH_INSTALL_TARGETS = install-lib-static install-lib-shared install-so-link -endif - -define RHASH_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - $(RHASH_MAKE_OPTS) $(RHASH_BUILD_TARGETS) -endef - -define RHASH_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/librhash \ - DESTDIR="$(STAGING_DIR)" $(RHASH_MAKE_OPTS) $(RHASH_INSTALL_TARGETS) \ - install-lib-headers -endef - -ifeq ($(BR2_PACKAGE_RHASH_BIN),y) -define RHASH_INSTALL_TARGET_RHASH_BIN - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ - DESTDIR="$(TARGET_DIR)" $(RHASH_MAKE_OPTS) build-install-binary -endef -endif - -define RHASH_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/librhash \ - DESTDIR="$(TARGET_DIR)" $(RHASH_MAKE_OPTS) $(RHASH_INSTALL_TARGETS) - $(RHASH_INSTALL_TARGET_RHASH_BIN) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ripgrep/ripgrep.hash b/buildroot-2021.05/package/ripgrep/ripgrep.hash deleted file mode 100644 index 0841c018..00000000 --- a/buildroot-2021.05/package/ripgrep/ripgrep.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 7035379fce0c1e32552e8ee528b92c3d01b8d3935ea31d26c51a73287be74bb3 ripgrep-0.8.1.tar.gz -sha256 0f96a83840e146e43c0ec96a22ec1f392e0680e6c1226e6f3ba87e0740af850f LICENSE-MIT diff --git a/buildroot-2021.05/package/ripgrep/ripgrep.mk b/buildroot-2021.05/package/ripgrep/ripgrep.mk deleted file mode 100644 index 9dd8d58d..00000000 --- a/buildroot-2021.05/package/ripgrep/ripgrep.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# ripgrep -# -################################################################################ - -RIPGREP_VERSION = 0.8.1 -RIPGREP_SITE = $(call github,burntsushi,ripgrep,$(RIPGREP_VERSION)) -RIPGREP_LICENSE = MIT -RIPGREP_LICENSE_FILES = LICENSE-MIT - -RIPGREP_DEPENDENCIES = host-rustc -RIPGREP_CARGO_ENV = CARGO_HOME=$(HOST_DIR)/share/cargo - -RIPGREP_BIN_DIR = target/$(RUSTC_TARGET_NAME)/$(RIPGREP_CARGO_BIN_SUBDIR) - -RIPGREP_CARGO_OPTS = \ - --target=$(RUSTC_TARGET_NAME) \ - --manifest-path=$(@D)/Cargo.toml - -ifeq ($(BR2_ENABLE_DEBUG),y) -RIPGREP_CARGO_BIN_SUBDIR = debug -else -RIPGREP_CARGO_OPTS += --release -RIPGREP_CARGO_BIN_SUBDIR = release -endif - -define RIPGREP_BUILD_CMDS - $(TARGET_MAKE_ENV) $(RIPGREP_CARGO_ENV) \ - cargo build $(RIPGREP_CARGO_OPTS) -endef - -define RIPGREP_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/$(RIPGREP_BIN_DIR)/rg \ - $(TARGET_DIR)/usr/bin/rg -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rng-tools/rng-tools.hash b/buildroot-2021.05/package/rng-tools/rng-tools.hash deleted file mode 100644 index 0ba2dc83..00000000 --- a/buildroot-2021.05/package/rng-tools/rng-tools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 6fd5b52a700edec85eb1043970e22e8e2ad06a4b43851f35d33d90e09570e9d3 rng-tools-6.12.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/rng-tools/rng-tools.mk b/buildroot-2021.05/package/rng-tools/rng-tools.mk deleted file mode 100644 index 46688b2d..00000000 --- a/buildroot-2021.05/package/rng-tools/rng-tools.mk +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# -# rng-tools -# -################################################################################ - -RNG_TOOLS_VERSION = 6.12 -RNG_TOOLS_SITE = $(call github,nhorman,$(RNG_TOOLS_NAME),v$(RNG_TOOLS_VERSION)) -RNG_TOOLS_LICENSE = GPL-2.0 -RNG_TOOLS_LICENSE_FILES = COPYING -RNG_TOOLS_CPE_ID_VENDOR = rng-tools_project - -RNG_TOOLS_DEPENDENCIES = host-pkgconf openssl -# From git -RNG_TOOLS_AUTORECONF = YES - -RNG_TOOLS_CONF_OPTS = --without-pkcs11 - -# Work around for uClibc or musl toolchains which lack argp_*() -# functions. -ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -RNG_TOOLS_CONF_ENV += LIBS="-largp" -RNG_TOOLS_DEPENDENCIES += argp-standalone -endif - -ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) -RNG_TOOLS_DEPENDENCIES += librtlsdr -RNG_TOOLS_CONF_OPTS += --with-rtlsdr -else -RNG_TOOLS_CONF_OPTS += --without-rtlsdr -endif - -ifeq ($(BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY),y) -RNG_TOOLS_DEPENDENCIES += jitterentropy-library -RNG_TOOLS_CONF_OPTS += --enable-jitterentropy -else -RNG_TOOLS_CONF_OPTS += --disable-jitterentropy -endif - -ifeq ($(BR2_PACKAGE_RNG_TOOLS_NISTBEACON),y) -RNG_TOOLS_DEPENDENCIES += jansson libcurl libxml2 -RNG_TOOLS_CONF_OPTS += --with-nistbeacon -else -RNG_TOOLS_CONF_OPTS += --without-nistbeacon -endif - -define RNG_TOOLS_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/rng-tools/S21rngd \ - $(TARGET_DIR)/etc/init.d/S21rngd -endef - -define RNG_TOOLS_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/rng-tools/rngd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/rngd.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rp-pppoe/0001-krn-plugin.patch b/buildroot-2021.05/package/rp-pppoe/0001-krn-plugin.patch deleted file mode 100644 index c386e85f..00000000 --- a/buildroot-2021.05/package/rp-pppoe/0001-krn-plugin.patch +++ /dev/null @@ -1,27 +0,0 @@ -[Fabrice: update patch for 3.14] -Signed-off-by: Fabrice Fontaine -diff -Nura rp-pppoe-3.11.orig/src/configure rp-pppoe-3.11/src/configure ---- rp-pppoe-3.11.orig/src/configure 2012-08-21 10:01:10.536440032 -0300 -+++ rp-pppoe-3.11/src/configure 2012-08-21 10:01:45.353442397 -0300 -@@ -4517,7 +4517,7 @@ - modprobe pppoe > /dev/null 2>&1 - fi - if test "$cross_compiling" = yes; then : -- ac_cv_linux_kernel_pppoe=no; echo "cross-compiling, default: " -+ ac_cv_linux_kernel_pppoe=yes; echo "cross-compiling, default: " - else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext - /* end confdefs.h. */ -diff -Nura rp-pppoe-3.11.orig/src/pppoe-server.c rp-pppoe-3.11/src/pppoe-server.c ---- rp-pppoe-3.11.orig/src/pppoe-server.c 2012-08-21 10:01:10.535440032 -0300 -+++ rp-pppoe-3.11/src/pppoe-server.c 2012-08-21 10:02:02.597443569 -0300 -@@ -20,6 +20,9 @@ - - #include "config.h" - -+/* Patched hack to make this cross compile */ -+#define HAVE_LINUX_KERNEL_PPPOE 1 -+ - #if defined(HAVE_NETPACKET_PACKET_H) || defined(HAVE_LINUX_IF_PACKET_H) - #define _POSIX_SOURCE 1 /* For sigaction defines */ - #endif diff --git a/buildroot-2021.05/package/rp-pppoe/Config.in b/buildroot-2021.05/package/rp-pppoe/Config.in deleted file mode 100644 index 12f981d8..00000000 --- a/buildroot-2021.05/package/rp-pppoe/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -comment "rp-pppoe needs a uClibc or glibc toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL - depends on BR2_USE_MMU - -config BR2_PACKAGE_RP_PPPOE - bool "rp-pppoe" - depends on !BR2_STATIC_LIBS - depends on !BR2_TOOLCHAIN_USES_MUSL # pppd - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_PPPD - help - An implementation of the Point-to-point protocol over - Ethernet. Has userspace client and server deamons. You - likely only need this package if you are implementing the - pppoe server that will service other pppoe client - devices. Otherwise the normal client functionality already - exists in the pppd package (and kernel). - - https://dianne.skoll.ca/projects/rp-pppoe/ diff --git a/buildroot-2021.05/package/rp-pppoe/rp-pppoe.hash b/buildroot-2021.05/package/rp-pppoe/rp-pppoe.hash deleted file mode 100644 index 806bab1b..00000000 --- a/buildroot-2021.05/package/rp-pppoe/rp-pppoe.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 7825232f64ab4d618ef074d62d145ae43d6edc91b9a718c6130a4742bac40e2a rp-pppoe-3.14.tar.gz -# Locally computed -sha256 464006ba771074f4022db14f58a29a0b447b6fdde9529cf0331be396b6279162 doc/LICENSE diff --git a/buildroot-2021.05/package/rp-pppoe/rp-pppoe.mk b/buildroot-2021.05/package/rp-pppoe/rp-pppoe.mk deleted file mode 100644 index ce85da11..00000000 --- a/buildroot-2021.05/package/rp-pppoe/rp-pppoe.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# rp-pppoe -# -################################################################################ - -RP_PPPOE_VERSION = 3.14 -RP_PPPOE_SITE = https://dianne.skoll.ca/projects/rp-pppoe/download -RP_PPPOE_LICENSE = GPL-2.0 -RP_PPPOE_LICENSE_FILES = doc/LICENSE -RP_PPPOE_CPE_ID_VENDOR = rp-pppoe_project - -RP_PPPOE_DEPENDENCIES = pppd -RP_PPPOE_SUBDIR = src -RP_PPPOE_TARGET_FILES = pppoe pppoe-server pppoe-relay pppoe-sniff -RP_PPPOE_TARGET_SCRIPTS = pppoe-connect pppoe-init pppoe-setup pppoe-start \ - pppoe-status pppoe-stop -RP_PPPOE_MAKE_OPTS = PLUGIN_DIR=/usr/lib/pppd/$(PPPD_VERSION) -RP_PPPOE_CONF_OPTS = --disable-debugging - -# The pppd, echo, setsid and id paths must be the ones on the -# target. Indeed, the result of these checks is used to replace -# variables in scripts that are installed in the target. -RP_PPPOE_CONF_ENV = \ - rpppoe_cv_pack_bitfields=normal \ - ac_cv_path_PPPD=/usr/sbin/pppd \ - ac_cv_path_ECHO=/bin/echo \ - ac_cv_path_SETSID=/usr/bin/setsid \ - ac_cv_path_ID=/usr/bin/id \ - PPPD_H=$(PPPD_DIR)/pppd/pppd.h - -define RP_PPPOE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/configs/pppoe.conf \ - $(TARGET_DIR)/etc/ppp/pppoe.conf - for ff in $(RP_PPPOE_TARGET_FILES); do \ - $(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \ - done - for ff in $(RP_PPPOE_TARGET_SCRIPTS); do \ - $(INSTALL) -m 0755 $(@D)/scripts/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \ - done -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rpcbind/0001-Remove-yellow-pages-support.patch b/buildroot-2021.05/package/rpcbind/0001-Remove-yellow-pages-support.patch deleted file mode 100644 index 314e32e9..00000000 --- a/buildroot-2021.05/package/rpcbind/0001-Remove-yellow-pages-support.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 226b9c57ff403b407dbf1ff8a615da455a4cbd23 Mon Sep 17 00:00:00 2001 -From: Thomas Petazzoni -Date: Sat, 10 Nov 2012 22:03:43 +0100 -Subject: [PATCH] Remove yellow pages support - -This support requires yellow pages support in libtirpc, which isn't -available. As most Buildroot users are most likely never going to need -such feature, get rid of it. - -Signed-off-by: Thomas Petazzoni ---- - src/security.c | 18 ------------------ - 1 file changed, 18 deletions(-) - -diff --git a/src/security.c b/src/security.c -index 0c9453f..abc81bb 100644 ---- a/src/security.c -+++ b/src/security.c -@@ -24,9 +24,6 @@ - #include - #include - #include --#include --#include --#include - #else - # define MOUNTPROC_MNT 1 - # define MOUNTPROC_UMNT 3 -@@ -325,24 +322,9 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum /*__unused* - args->rmt_proc != MOUNTPROC_UMNT) - break; - goto deny; -- case YPBINDPROG: -- if (args->rmt_proc != YPBINDPROC_SETDOM) -- break; -- /* FALLTHROUGH */ -- case YPPASSWDPROG: - case NFS_PROGRAM: - case RQUOTAPROG: - goto deny; -- case YPPROG: -- switch (args->rmt_proc) { -- case YPPROC_ALL: -- case YPPROC_MATCH: -- case YPPROC_FIRST: -- case YPPROC_NEXT: -- goto deny; -- default: -- break; -- } - default: - break; - } --- -2.4.5 - diff --git a/buildroot-2021.05/package/rpcbind/rpcbind.hash b/buildroot-2021.05/package/rpcbind/rpcbind.hash deleted file mode 100644 index 1960b86c..00000000 --- a/buildroot-2021.05/package/rpcbind/rpcbind.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 2ce360683963b35c19c43f0ee2c7f18aa5b81ef41c3fdbd15ffcb00b8bffda7a rpcbind-1.2.5.tar.bz2 -sha256 2b9477d2f4ab277b29702958f0058546edc120aae4b5fb8b8d1a9652104e1ba3 COPYING diff --git a/buildroot-2021.05/package/rpcbind/rpcbind.mk b/buildroot-2021.05/package/rpcbind/rpcbind.mk deleted file mode 100644 index 25916f0b..00000000 --- a/buildroot-2021.05/package/rpcbind/rpcbind.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# rpcbind -# -################################################################################ - -RPCBIND_VERSION = 1.2.5 -RPCBIND_SITE = http://downloads.sourceforge.net/project/rpcbind/rpcbind/$(RPCBIND_VERSION) -RPCBIND_SOURCE = rpcbind-$(RPCBIND_VERSION).tar.bz2 -RPCBIND_LICENSE = BSD-3-Clause -RPCBIND_LICENSE_FILES = COPYING -RPCBIND_CPE_ID_VENDOR = rpcbind_project - -RPCBIND_CONF_ENV += \ - CFLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" -RPCBIND_DEPENDENCIES += libtirpc host-pkgconf -RPCBIND_CONF_OPTS += --with-rpcuser=root - -ifeq ($(BR2_INIT_SYSTEMD),y) -RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system -RPCBIND_DEPENDENCIES += systemd -else -RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no -endif - -define RPCBIND_INSTALL_INIT_SYSTEMD - $(INSTALL) -m 0644 -D package/rpcbind/rpcbind.service \ - $(TARGET_DIR)/usr/lib/systemd/system/rpcbind.service - $(INSTALL) -m 0644 -D package/rpcbind/rpcbind.socket \ - $(TARGET_DIR)/usr/lib/systemd/system/rpcbind.socket -endef - -define RPCBIND_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \ - $(TARGET_DIR)/etc/init.d/S30rpcbind -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rpcbind/rpcbind.service b/buildroot-2021.05/package/rpcbind/rpcbind.service deleted file mode 100644 index e41931df..00000000 --- a/buildroot-2021.05/package/rpcbind/rpcbind.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=RPC bind service -Requires=rpcbind.socket - -[Service] -Type=forking -ExecStart=/usr/sbin/rpcbind - -[Install] -Also=rpcbind.socket diff --git a/buildroot-2021.05/package/rpcbind/rpcbind.socket b/buildroot-2021.05/package/rpcbind/rpcbind.socket deleted file mode 100644 index d63c1d97..00000000 --- a/buildroot-2021.05/package/rpcbind/rpcbind.socket +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=RPCbind Server Activation Socket - -[Socket] -ListenStream=/var/run/rpcbind.sock - -[Install] -WantedBy=sockets.target diff --git a/buildroot-2021.05/package/rpi-bt-firmware/Config.in b/buildroot-2021.05/package/rpi-bt-firmware/Config.in deleted file mode 100644 index 45643d6a..00000000 --- a/buildroot-2021.05/package/rpi-bt-firmware/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_RPI_BT_FIRMWARE - bool "rpi-bt-firmware" - depends on BR2_arm || BR2_aarch64 - help - Raspberry Pi 3 and Zero W Broadcom BCM43438 Bluetooth module - firmware. Raspberry Pi 3 Model B+ Broadcom BCM4345C0 - Bluetooth module firmware. - - https://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi diff --git a/buildroot-2021.05/package/rpi-bt-firmware/rpi-bt-firmware.hash b/buildroot-2021.05/package/rpi-bt-firmware/rpi-bt-firmware.hash deleted file mode 100644 index 2520c91c..00000000 --- a/buildroot-2021.05/package/rpi-bt-firmware/rpi-bt-firmware.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 ae665baa465a09dddf7f4bdec67e108a74b2a3787550cc9ee53c2bea9651f327 rpi-bt-firmware-4c47758bed7cd547dff3618a1739dcf64b5a52a7.tar.gz -sha256 b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d LICENCE.broadcom_bcm43xx diff --git a/buildroot-2021.05/package/rpi-bt-firmware/rpi-bt-firmware.mk b/buildroot-2021.05/package/rpi-bt-firmware/rpi-bt-firmware.mk deleted file mode 100644 index f63564de..00000000 --- a/buildroot-2021.05/package/rpi-bt-firmware/rpi-bt-firmware.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# rpi-bt-firmware -# -################################################################################ - -RPI_BT_FIRMWARE_VERSION = 4c47758bed7cd547dff3618a1739dcf64b5a52a7 -RPI_BT_FIRMWARE_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware-rpi,$(RPI_BT_FIRMWARE_VERSION)) -RPI_BT_FIRMWARE_LICENSE = PROPRIETARY -RPI_BT_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx - -define RPI_BT_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -d $(TARGET_DIR)/lib/firmware/brcm - $(INSTALL) -m 0644 $(@D)/firmware/brcm/*.hcd $(TARGET_DIR)/lib/firmware/brcm -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rpi-firmware/Config.in b/buildroot-2021.05/package/rpi-firmware/Config.in deleted file mode 100644 index f5a25c56..00000000 --- a/buildroot-2021.05/package/rpi-firmware/Config.in +++ /dev/null @@ -1,109 +0,0 @@ -config BR2_PACKAGE_RPI_FIRMWARE - bool "rpi-firmware" - depends on BR2_arm || BR2_aarch64 - help - RaspberryPi Firmware - - Pre-compiled binaries of the current bootloader and GPU - firmware - - https://github.com/raspberrypi/firmware - -if BR2_PACKAGE_RPI_FIRMWARE - -choice - bool "rpi variant" - help - The Raspberry Pi 4 introduced a slightly different naming - convention and set of boot files. This option controls which - format to use. - -config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI - bool "rpi 0/1/2/3" - help - The default set of files, for versions pre-4 - -config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 - bool "rpi 4" - help - The Raspberry Pi 4 files -endchoice - -choice - bool "Firmware to boot" - default BR2_PACKAGE_RPI_FIRMWARE_DEFAULT - help - There are three different firmware files: - - the default firmware, that enables standard GPU - features; - - the extended firmware, that enables additional GPU - features (eg. more audio/video codecs); - - the cut-down firmware, for emergency situations, with - only features required to boot a Linux kernel. - -config BR2_PACKAGE_RPI_FIRMWARE_DEFAULT - bool "default" - help - The default firmware, that enables standard GPU features. - -config BR2_PACKAGE_RPI_FIRMWARE_X - bool "extended ('x', more codecs)" - help - The extended firmware, that enables additional GPU features - (eg. more audio/video codecs). - -config BR2_PACKAGE_RPI_FIRMWARE_CD - bool "cut-down ('cd', emergency)" - help - The cut-down firmware, for emergency situations, with only - features required to boot a Linux kernel. - -endchoice - -config BR2_PACKAGE_RPI_FIRMWARE_BOOT - string - default "" if BR2_PACKAGE_RPI_FIRMWARE_DEFAULT && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI - default "4" if BR2_PACKAGE_RPI_FIRMWARE_DEFAULT && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 - default "_x" if BR2_PACKAGE_RPI_FIRMWARE_X && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI - default "4x" if BR2_PACKAGE_RPI_FIRMWARE_X && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 - default "_cd" if BR2_PACKAGE_RPI_FIRMWARE_CD && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI - default "4cd" if BR2_PACKAGE_RPI_FIRMWARE_CD && BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 - -config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS - bool "Install Device Tree Blobs (DTBs)" - default y - depends on !BR2_LINUX_KERNEL_DTS_SUPPORT - help - If you are using a Linux kernel <= 3.18, you should say 'y' - here. - - If you are using a Linux kernel >= 3.19, you should say 'n' - here, and enable BR2_LINUX_KERNEL_DTS_SUPPORT to let the - kernel build the DTB. - -config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS - bool "Install DTB overlays" - default y - depends on BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS \ - || BR2_LINUX_KERNEL_DTS_SUPPORT - select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT \ - if BR2_LINUX_KERNEL_DTS_SUPPORT - help - Say 'y' here if you need to load one or more of the DTB - overlays, to support HATs (Hardware Attached on Top, add-on - modules). - -config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG - bool "vcdbg" - depends on BR2_arm # prebuilt arm binary, rpi-userland - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on BR2_INSTALL_LIBSTDCPP # rpi-userland - select BR2_PACKAGE_RPI_USERLAND - help - Install vcdbg, to help debug communication with the GPU. - -comment "vcdbg needs a glibc toolchain w/ C++" - depends on BR2_arm - depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP - -endif # BR2_PACKAGE_RPI_FIRMWARE diff --git a/buildroot-2021.05/package/rpi-firmware/config.txt b/buildroot-2021.05/package/rpi-firmware/config.txt deleted file mode 100644 index 4a92a4dd..00000000 --- a/buildroot-2021.05/package/rpi-firmware/config.txt +++ /dev/null @@ -1,25 +0,0 @@ -# Please note that this is only a sample, we recommend you to change it to fit -# your needs. -# You should override this file using a post-build script. -# See http://buildroot.org/manual.html#rootfs-custom -# and http://elinux.org/RPiconfig for a description of config.txt syntax - -# We always use the same names, the real used variant is selected by -# BR2_PACKAGE_RPI_FIRMWARE_{DEFAULT,X,CD} choice -start_file=start.elf -fixup_file=fixup.dat - -kernel=zImage - -# To use an external initramfs file -#initramfs rootfs.cpio.gz - -# Disable overscan assuming the display supports displaying the full resolution -# If the text shown on the screen disappears off the edge, comment this out -disable_overscan=1 - -# How much memory in MB to assign to the GPU on Pi models having -# 256, 512 or 1024 MB total memory -gpu_mem_256=100 -gpu_mem_512=100 -gpu_mem_1024=100 diff --git a/buildroot-2021.05/package/rpi-firmware/rpi-firmware.hash b/buildroot-2021.05/package/rpi-firmware/rpi-firmware.hash deleted file mode 100644 index ff2b7495..00000000 --- a/buildroot-2021.05/package/rpi-firmware/rpi-firmware.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 ac4e6bd0741e2cb1b99042af12c3ef4adc00ba9c9147cdd91b1ae4faf0928952 rpi-firmware-1a46874494146f470d7a61b0b6f4f15a07dd8b35.tar.gz -sha256 c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b boot/LICENCE.broadcom diff --git a/buildroot-2021.05/package/rpi-firmware/rpi-firmware.mk b/buildroot-2021.05/package/rpi-firmware/rpi-firmware.mk deleted file mode 100644 index f3bda830..00000000 --- a/buildroot-2021.05/package/rpi-firmware/rpi-firmware.mk +++ /dev/null @@ -1,61 +0,0 @@ -################################################################################ -# -# rpi-firmware -# -################################################################################ - -RPI_FIRMWARE_VERSION = 1a46874494146f470d7a61b0b6f4f15a07dd8b35 -RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) -RPI_FIRMWARE_LICENSE = BSD-3-Clause -RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom -RPI_FIRMWARE_INSTALL_IMAGES = YES - -ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS),y) -define RPI_FIRMWARE_INSTALL_DTB - $(foreach dtb,$(wildcard $(@D)/boot/*.dtb), \ - $(INSTALL) -D -m 0644 $(dtb) $(BINARIES_DIR)/rpi-firmware/$(notdir $(dtb)) - ) -endef -endif - -ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS),y) -define RPI_FIRMWARE_INSTALL_DTB_OVERLAYS - for ovldtb in $(@D)/boot/overlays/*.dtbo; do \ - $(INSTALL) -D -m 0644 $${ovldtb} $(BINARIES_DIR)/rpi-firmware/overlays/$${ovldtb##*/} || exit 1; \ - done -endef -else -# Still create the directory, so a genimage.cfg can include it independently of -# whether _INSTALL_DTB_OVERLAYS is selected or not. -define RPI_FIRMWARE_INSTALL_DTB_OVERLAYS - $(INSTALL) -d $(BINARIES_DIR)/rpi-firmware/overlays -endef -endif - -ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG),y) -define RPI_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0700 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/bin/vcdbg \ - $(TARGET_DIR)/usr/sbin/vcdbg - $(INSTALL) -D -m 0644 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/lib/libelftoolchain.so \ - $(TARGET_DIR)/usr/lib/libelftoolchain.so -endef -endif # INSTALL_VCDBG - -ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI),y) -# bootcode.bin is not used on rpi4, because it has been replaced by boot code in the onboard EEPROM -define RPI_FIRMWARE_INSTALL_BOOTCODE_BIN - $(INSTALL) -D -m 0644 $(@D)/boot/bootcode.bin $(BINARIES_DIR)/rpi-firmware/bootcode.bin -endef -endif - -define RPI_FIRMWARE_INSTALL_IMAGES_CMDS - $(INSTALL) -D -m 0644 package/rpi-firmware/config.txt $(BINARIES_DIR)/rpi-firmware/config.txt - $(INSTALL) -D -m 0644 package/rpi-firmware/cmdline.txt $(BINARIES_DIR)/rpi-firmware/cmdline.txt - $(INSTALL) -D -m 0644 $(@D)/boot/start$(BR2_PACKAGE_RPI_FIRMWARE_BOOT).elf $(BINARIES_DIR)/rpi-firmware/start.elf - $(INSTALL) -D -m 0644 $(@D)/boot/fixup$(BR2_PACKAGE_RPI_FIRMWARE_BOOT).dat $(BINARIES_DIR)/rpi-firmware/fixup.dat - $(RPI_FIRMWARE_INSTALL_BOOTCODE_BIN) - $(RPI_FIRMWARE_INSTALL_DTB) - $(RPI_FIRMWARE_INSTALL_DTB_OVERLAYS) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rpi-userland/rpi-userland.hash b/buildroot-2021.05/package/rpi-userland/rpi-userland.hash deleted file mode 100644 index 91f1f0a9..00000000 --- a/buildroot-2021.05/package/rpi-userland/rpi-userland.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 61b5c22789bf3d7e2725588529bc417275be47071b76e701673ea26963c20328 rpi-userland-45a0022ac64b4d0788def3c5230c972430f6fc23.tar.gz -sha256 bee6f1249175683d8610651706e1aa7dffcbfd3f9c4c05bc1e5ab34f313c2db5 LICENCE diff --git a/buildroot-2021.05/package/rpi-userland/rpi-userland.mk b/buildroot-2021.05/package/rpi-userland/rpi-userland.mk deleted file mode 100644 index 4e57fbad..00000000 --- a/buildroot-2021.05/package/rpi-userland/rpi-userland.mk +++ /dev/null @@ -1,45 +0,0 @@ -################################################################################ -# -# rpi-userland -# -################################################################################ - -RPI_USERLAND_VERSION = 45a0022ac64b4d0788def3c5230c972430f6fc23 -RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION)) -RPI_USERLAND_LICENSE = BSD-3-Clause -RPI_USERLAND_LICENSE_FILES = LICENCE -RPI_USERLAND_INSTALL_STAGING = YES -RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr - -RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg - -ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y) - -RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON - -define RPI_USERLAND_EXTRA_LIBS_TARGET - $(INSTALL) -m 0644 -D \ - $(@D)/build/lib/libilclient.so \ - $(TARGET_DIR)/usr/lib/libilclient.so -endef -RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_EXTRA_LIBS_TARGET - -define RPI_USERLAND_EXTRA_LIBS_STAGING - $(INSTALL) -m 0644 -D \ - $(@D)/build/lib/libilclient.so \ - $(STAGING_DIR)/usr/lib/libilclient.so -endef -RPI_USERLAND_POST_INSTALL_STAGING_HOOKS += RPI_USERLAND_EXTRA_LIBS_STAGING - -else - -RPI_USERLAND_CONF_OPTS += -DALL_APPS=OFF - -endif # BR2_PACKAGE_RPI_USERLAND_HELLO - -define RPI_USERLAND_POST_TARGET_CLEANUP - rm -Rf $(TARGET_DIR)/usr/src -endef -RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/rpi-wifi-firmware/Config.in b/buildroot-2021.05/package/rpi-wifi-firmware/Config.in deleted file mode 100644 index 7e81b286..00000000 --- a/buildroot-2021.05/package/rpi-wifi-firmware/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_RPI_WIFI_FIRMWARE - bool "rpi-wifi-firmware" - depends on BR2_arm || BR2_aarch64 - depends on !BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX - help - Raspberry Pi 3 and Zero W Broadcom BCM43430 wifi module - NVRAM data. Raspberry Pi 3 Model B+ Broadcom BCM43455 - wifi module NVRAM data. - - https://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi - -comment "rpi-wifi-firmware conflicts with linux-firmware Broadcom BRCM bcm43xx" - depends on BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX diff --git a/buildroot-2021.05/package/rpi-wifi-firmware/rpi-wifi-firmware.hash b/buildroot-2021.05/package/rpi-wifi-firmware/rpi-wifi-firmware.hash deleted file mode 100644 index 4db3e15c..00000000 --- a/buildroot-2021.05/package/rpi-wifi-firmware/rpi-wifi-firmware.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 ae665baa465a09dddf7f4bdec67e108a74b2a3787550cc9ee53c2bea9651f327 rpi-wifi-firmware-4c47758bed7cd547dff3618a1739dcf64b5a52a7.tar.gz -sha256 b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d LICENCE.broadcom_bcm43xx diff --git a/buildroot-2021.05/package/rpi-wifi-firmware/rpi-wifi-firmware.mk b/buildroot-2021.05/package/rpi-wifi-firmware/rpi-wifi-firmware.mk deleted file mode 100644 index a643c4df..00000000 --- a/buildroot-2021.05/package/rpi-wifi-firmware/rpi-wifi-firmware.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# rpi-wifi-firmware -# -################################################################################ - -RPI_WIFI_FIRMWARE_VERSION = 4c47758bed7cd547dff3618a1739dcf64b5a52a7 -RPI_WIFI_FIRMWARE_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware-rpi,$(RPI_WIFI_FIRMWARE_VERSION)) -RPI_WIFI_FIRMWARE_LICENSE = PROPRIETARY -RPI_WIFI_FIRMWARE_LICENSE_FILES = LICENCE.broadcom_bcm43xx - -define RPI_WIFI_FIRMWARE_INSTALL_TARGET_CMDS - $(INSTALL) -d $(TARGET_DIR)/lib/firmware/brcm - $(INSTALL) -m 0644 $(@D)/firmware/brcm/brcmfmac* $(TARGET_DIR)/lib/firmware/brcm -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rpm/Config.in b/buildroot-2021.05/package/rpm/Config.in deleted file mode 100644 index ac979fdb..00000000 --- a/buildroot-2021.05/package/rpm/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -comment "rpm needs a toolchain w/ dynamic library and threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - depends on BR2_USE_MMU - -config BR2_PACKAGE_RPM - bool "rpm" - depends on !BR2_STATIC_LIBS # dlfcn.h - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_BEECRYPT if !BR2_PACKAGE_LIBGCRYPT && !BR2_PACKAGE_LIBNSS && !BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_FILE - select BR2_PACKAGE_POPT - select BR2_PACKAGE_ZLIB - help - The RPM Package Manager (RPM). - - http://www.rpm.org/ diff --git a/buildroot-2021.05/package/rpm/rpm.hash b/buildroot-2021.05/package/rpm/rpm.hash deleted file mode 100644 index 9389f829..00000000 --- a/buildroot-2021.05/package/rpm/rpm.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://rpm.org/wiki/Releases/4.16.1.3.html -sha256 513dc7f972b6e7ccfc9fc7f9c01d5310cc56ee853892e4314fa2cad71478e21d rpm-4.16.1.3.tar.bz2 - -# Hash for license file -sha256 171d94d9f1641316bff7f157a903237dc69cdb5fca405fed8c832c76ed8370f9 COPYING diff --git a/buildroot-2021.05/package/rpm/rpm.mk b/buildroot-2021.05/package/rpm/rpm.mk deleted file mode 100644 index 0d8c14a0..00000000 --- a/buildroot-2021.05/package/rpm/rpm.mk +++ /dev/null @@ -1,119 +0,0 @@ -################################################################################ -# -# rpm -# -################################################################################ - -RPM_VERSION_MAJOR = 4.16 -RPM_VERSION = $(RPM_VERSION_MAJOR).1.3 -RPM_SOURCE = rpm-$(RPM_VERSION).tar.bz2 -RPM_SITE = http://ftp.rpm.org/releases/rpm-$(RPM_VERSION_MAJOR).x -RPM_DEPENDENCIES = \ - host-pkgconf \ - $(if $(BR2_PACKAGE_BZIP2),bzip2) \ - $(if $(BR2_PACKAGE_ELFUTILS),elfutils) \ - file \ - popt \ - $(if $(BR2_PACKAGE_XZ),xz) \ - zlib \ - $(TARGET_NLS_DEPENDENCIES) -RPM_LICENSE = GPL-2.0 or LGPL-2.0 (library only) -RPM_LICENSE_FILES = COPYING -RPM_CPE_ID_VENDOR = rpm - -# Don't set --{dis,en}-openmp as upstream wants to abort the build if -# --enable-openmp is provided and OpenMP is < 4.5: -# https://github.com/rpm-software-management/rpm/pull/1433 -RPM_CONF_OPTS = \ - --disable-python \ - --disable-rpath \ - --with-external-db \ - --with-gnu-ld \ - --without-hackingdocs \ - --without-lua - -ifeq ($(BR2_PACKAGE_ACL),y) -RPM_DEPENDENCIES += acl -RPM_CONF_OPTS += --with-acl -else -RPM_CONF_OPTS += --without-acl -endif - -ifeq ($(BR2_PACKAGE_BERKELEYDB),y) -RPM_DEPENDENCIES += berkeleydb -RPM_CONF_OPTS += --enable-bdb -else -RPM_CONF_OPTS += --disable-bdb -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -RPM_DEPENDENCIES += dbus -RPM_CONF_OPTS += --enable-plugins -else -RPM_CONF_OPTS += --disable-plugins -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -RPM_DEPENDENCIES += libcap -RPM_CONF_OPTS += --with-cap -else -RPM_CONF_OPTS += --without-cap -endif - -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -RPM_DEPENDENCIES += libgcrypt -RPM_CONF_OPTS += --with-crypto=libgcrypt -else ifeq ($(BR2_PACKAGE_LIBNSS),y) -RPM_DEPENDENCIES += libnss -RPM_CONF_OPTS += --with-crypto=nss -RPM_CFLAGS += -I$(STAGING_DIR)/usr/include/nss -I$(STAGING_DIR)/usr/include/nspr -else ifeq ($(BR2_PACKAGE_BEECRYPT),y) -RPM_DEPENDENCIES += beecrypt -RPM_CONF_OPTS += --with-crypto=beecrypt -RPM_CFLAGS += -I$(STAGING_DIR)/usr/include/beecrypt -else -RPM_DEPENDENCIES += openssl -RPM_CONF_OPTS += --with-crypto=openssl -endif - -ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) -RPM_CONF_OPTS += --with-libintl-prefix=$(STAGING_DIR)/usr -else -RPM_CONF_OPTS += --without-libintl-prefix -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) -RPM_DEPENDENCIES += libarchive -RPM_CONF_OPTS += --with-archive -else -RPM_CONF_OPTS += --without-archive -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -RPM_DEPENDENCIES += libselinux -RPM_CONF_OPTS += --with-selinux -else -RPM_CONF_OPTS += --without-selinux -endif - -ifeq ($(BR2_PACKAGE_SQLITE),y) -RPM_DEPENDENCIES += sqlite -RPM_CONF_OPTS += --enable-sqlite -else -RPM_CONF_OPTS += --disable-sqlite -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -RPM_DEPENDENCIES += zstd -RPM_CONF_OPTS += --enable-zstd -else -RPM_CONF_OPTS += --disable-zstd -endif - -# ac_cv_prog_cc_c99: RPM uses non-standard GCC extensions (ex. `asm`). -RPM_CONF_ENV = \ - ac_cv_prog_cc_c99='-std=gnu99' \ - CFLAGS="$(TARGET_CFLAGS) $(RPM_CFLAGS)" \ - LIBS=$(TARGET_NLS_LIBS) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rrdtool/Config.in b/buildroot-2021.05/package/rrdtool/Config.in deleted file mode 100644 index 54513531..00000000 --- a/buildroot-2021.05/package/rrdtool/Config.in +++ /dev/null @@ -1,40 +0,0 @@ -config BR2_PACKAGE_RRDTOOL - bool "rrdtool" - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - depends on BR2_USE_MMU # libglib2 - select BR2_PACKAGE_LIBGLIB2 - help - RRDtool is the OpenSource industry standard, high performance - data logging and graphing system for time series data. - - http://oss.oetiker.ch/rrdtool/ - -if BR2_PACKAGE_RRDTOOL - -config BR2_PACKAGE_RRDTOOL_RRDGRAPH - bool "rrd_graph" - default y - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # pango -> harfbuzz - depends on BR2_INSTALL_LIBSTDCPP # freetype support from pango - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_CAIRO_PDF - select BR2_PACKAGE_CAIRO_PNG - select BR2_PACKAGE_CAIRO_PS - select BR2_PACKAGE_CAIRO_SVG - select BR2_PACKAGE_PANGO - help - This enables the graphing capabilities ('rrdgraph'). - Without this it will only act as a database backend. - -comment "rrd_graph support needs a toolchain w/ C++, gcc >= 4.8" - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - -endif - -comment "rrdtool needs a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/rsh-redone/rsh-redone.mk b/buildroot-2021.05/package/rsh-redone/rsh-redone.mk deleted file mode 100644 index f63da648..00000000 --- a/buildroot-2021.05/package/rsh-redone/rsh-redone.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# rsh-redone -# -################################################################################ - -RSH_REDONE_VERSION = 85 -RSH_REDONE_SOURCE = rsh-redone_$(RSH_REDONE_VERSION).orig.tar.gz -RSH_REDONE_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/r/rsh-redone -RSH_REDONE_LICENSE = GPL-2.0 -RSH_REDONE_LICENSE_FILES = rsh.c - -RSH_REDONE_BINS-y = -RSH_REDONE_BINS-$(BR2_PACKAGE_RSH_REDONE_RLOGIN) += rlogin -RSH_REDONE_BINS-$(BR2_PACKAGE_RSH_REDONE_RSH) += rsh -RSH_REDONE_SBINS-y = -RSH_REDONE_SBINS-$(BR2_PACKAGE_RSH_REDONE_RLOGIND) += in.rlogind -RSH_REDONE_SBINS-$(BR2_PACKAGE_RSH_REDONE_RSHD) += in.rshd - -RSH_REDONE_MAKE_FLAGS = \ - BIN="$(RSH_REDONE_BINS-y)" SBIN="$(RSH_REDONE_SBINS-y)" - -ifneq ($(BR2_PACKAGE_RSH_REDONE_RSHD)$(BR2_PACKAGE_RSH_REDONE_RLOGIND),) -RSH_REDONE_DEPENDENCIES = linux-pam -endif - -define RSH_REDONE_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(RSH_REDONE_MAKE_FLAGS) -endef - -define RSH_REDONE_INSTALL_TARGET_CMDS - $(if $(RSH_REDONE_BINS-y)$(RSH_REDONE_SBINS-y), - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(RSH_REDONE_MAKE_FLAGS) DESTDIR=$(TARGET_DIR) \ - $(if $(RSH_REDONE_BINS-y),install-bin) \ - $(if $(RSH_REDONE_SBINS-y),install-sbin)) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rsync/rsync.mk b/buildroot-2021.05/package/rsync/rsync.mk deleted file mode 100644 index 3ebf3a68..00000000 --- a/buildroot-2021.05/package/rsync/rsync.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# rsync -# -################################################################################ - -RSYNC_VERSION = 3.2.3 -RSYNC_SITE = http://rsync.samba.org/ftp/rsync/src -RSYNC_LICENSE = GPL-3.0+ with exceptions -RSYNC_LICENSE_FILES = COPYING -RSYNC_CPE_ID_VENDOR = samba -RSYNC_DEPENDENCIES = zlib popt -RSYNC_CONF_OPTS = \ - --with-included-zlib=no \ - --with-included-popt=no \ - --disable-simd \ - --disable-openssl \ - --disable-xxhash \ - --disable-zstd \ - --disable-lz4 \ - --disable-asm - -ifeq ($(BR2_PACKAGE_ACL),y) -RSYNC_DEPENDENCIES += acl -else -RSYNC_CONF_OPTS += --disable-acl-support -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rsyslog/rsyslog.mk b/buildroot-2021.05/package/rsyslog/rsyslog.mk deleted file mode 100644 index 6cf53ccb..00000000 --- a/buildroot-2021.05/package/rsyslog/rsyslog.mk +++ /dev/null @@ -1,126 +0,0 @@ -################################################################################ -# -# rsyslog -# -################################################################################ - -RSYSLOG_VERSION = 8.2010.0 -RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog -RSYSLOG_LICENSE = GPL-3.0, LGPL-3.0, Apache-2.0 -RSYSLOG_LICENSE_FILES = COPYING COPYING.LESSER COPYING.ASL20 -RSYSLOG_CPE_ID_VENDOR = rsyslog -# rsyslog uses weak permissions for generating log files. -# Ignoring this CVE as Buildroot normally doesn't have local users and a build -# could customize the rsyslog.conf to be more restrictive ($FileCreateMode 0640) -RSYSLOG_IGNORE_CVES += CVE-2015-3243 -RSYSLOG_DEPENDENCIES = zlib libestr liblogging libfastjson host-pkgconf -RSYSLOG_CONF_ENV = ac_cv_prog_cc_c99='-std=c99' -RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ - mmanon mmaudit mmfields mmjsonparse mmpstrucdata mmsequence mmutf8fix \ - mail omprog omruleset omstdout omuxsock \ - pmaixforwardedfrom pmciscoios pmcisconames pmlastmsg pmsnare - -ifeq ($(BR2_PACKAGE_LIBRELP),y) -RSYSLOG_DEPENDENCIES += librelp -RSYSLOG_PLUGINS += relp -endif - -RSYSLOG_CONF_OPTS = --disable-generate-man-pages \ - $(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x)) - -# Disable items requiring libcurl -RSYSLOG_CONF_OPTS += --disable-elasticsearch \ - --disable-clickhouse \ - --disable-omhttp \ - --disable-fmhttp \ - --disable-imdocker \ - --disable-omhttpfs \ - --disable-mmkubernetes - -ifeq ($(BR2_PACKAGE_CIVETWEB_LIB),y) -RSYSLOG_DEPENDENCIES += civetweb -RSYSLOG_CONF_OPTS += --enable-imhttp -else -RSYSLOG_CONF_OPTS += --disable-imhttp -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -RSYSLOG_DEPENDENCIES += gnutls -RSYSLOG_CONF_OPTS += --enable-gnutls -else -RSYSLOG_CONF_OPTS += --disable-gnutls -endif - -ifeq ($(BR2_PACKAGE_LIBEE),y) -RSYSLOG_DEPENDENCIES += libee -endif - -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -RSYSLOG_DEPENDENCIES += libgcrypt -RSYSLOG_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config -RSYSLOG_CONF_OPTS += --enable-libgcrypt -else -RSYSLOG_CONF_OPTS += --disable-libgcrypt -endif - -ifeq ($(BR2_PACKAGE_LIBPCAP),y) -RSYSLOG_DEPENDENCIES += libpcap -RSYSLOG_CONF_OPTS += --enable-impcap -else -RSYSLOG_CONF_OPTS += --disable-impcap -endif - -ifeq ($(BR2_PACKAGE_MYSQL),y) -RSYSLOG_DEPENDENCIES += mysql -RSYSLOG_CONF_OPTS += --enable-mysql -RSYSLOG_CONF_ENV += ac_cv_prog_MYSQL_CONFIG=$(STAGING_DIR)/usr/bin/mysql_config -else -RSYSLOG_CONF_OPTS += --disable-mysql -endif - -ifeq ($(BR2_PACKAGE_POSTGRESQL),y) -RSYSLOG_DEPENDENCIES += postgresql -RSYSLOG_CONF_OPTS += --enable-pgsql -RSYSLOG_CONF_ENV += ac_cv_prog_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config -else -RSYSLOG_CONF_OPTS += --disable-pgsql -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) -RSYSLOG_DEPENDENCIES += util-linux -RSYSLOG_CONF_OPTS += --enable-uuid -else -RSYSLOG_CONF_OPTS += --disable-uuid -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -RSYSLOG_CONF_OPTS += \ - --enable-imjournal \ - --enable-omjournal \ - --with-systemdsystemunitdir=/usr/lib/systemd/system -RSYSLOG_DEPENDENCIES += systemd -else -RSYSLOG_CONF_OPTS += \ - --disable-imjournal \ - --disable-omjournal -endif - -define RSYSLOG_INSTALL_INIT_SYSTEMD - $(INSTALL) -m 0755 -D package/rsyslog/rsyslog.service \ - $(TARGET_DIR)/usr/lib/systemd/system/rsyslog.service -endef - -define RSYSLOG_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/rsyslog/S01rsyslogd \ - $(TARGET_DIR)/etc/init.d/S01rsyslogd -endef - -define RSYSLOG_INSTALL_CONF - $(INSTALL) -m 0644 -D $(@D)/platform/redhat/rsyslog.conf \ - $(TARGET_DIR)/etc/rsyslog.conf - mkdir -p $(TARGET_DIR)/etc/rsyslog.d -endef - -RSYSLOG_POST_INSTALL_TARGET_HOOKS += RSYSLOG_INSTALL_CONF - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rt-tests/Config.in b/buildroot-2021.05/package/rt-tests/Config.in deleted file mode 100644 index 477fa288..00000000 --- a/buildroot-2021.05/package/rt-tests/Config.in +++ /dev/null @@ -1,35 +0,0 @@ -config BR2_PACKAGE_RT_TESTS - bool "rt-tests" - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 # deadline scheduler syscall - depends on BR2_USE_MMU # fork(), numactl - depends on !BR2_STATIC_LIBS # dlopen - depends on !BR2_TOOLCHAIN_USES_MUSL # cyclictest - select BR2_PACKAGE_NUMACTL - help - Set of utilities for testing the real-time behaviour of a - Linux system. - - All tools are simple C programs with no dependencies, except - the hwlatdetect utility, which is a Python script and - therefore requires the Python interpreter. It will only be - installed if a Python interpreter has been selected in the - Buildroot configuration. - - Note that this package requires a toolchain built with the - NPTL implementation of the pthread API (this is always the - case with glibc toolchains, but may not necessarily be the - case with uClibc toolchains, since the thread implementation - is configurable). - - https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rt-tests - -comment "rt-tests may not work on MIPS with an external uClibc toolchain" - depends on BR2_PACKAGE_RT_TESTS - depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC - depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - -comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 3.14, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ - || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/rt-tests/rt-tests.hash b/buildroot-2021.05/package/rt-tests/rt-tests.hash deleted file mode 100644 index f56500c2..00000000 --- a/buildroot-2021.05/package/rt-tests/rt-tests.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://mirrors.edge.kernel.org/pub/linux/utils/rt-tests/sha256sums.asc -sha256 3740ad97b164a1cd77d9ee32bba23a4a0b2495a76468bcf40ff60b55c2a3a709 rt-tests-1.10.tar.xz -# locally computed hash -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/rt-tests/rt-tests.mk b/buildroot-2021.05/package/rt-tests/rt-tests.mk deleted file mode 100644 index 0d959bda..00000000 --- a/buildroot-2021.05/package/rt-tests/rt-tests.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# rt-tests -# -################################################################################ - -RT_TESTS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/rt-tests -RT_TESTS_SOURCE = rt-tests-$(RT_TESTS_VERSION).tar.xz -RT_TESTS_VERSION = 1.10 -RT_TESTS_LICENSE = GPL-2.0+ -RT_TESTS_LICENSE_FILES = COPYING - -RT_TESTS_DEPENDENCIES = numactl -RT_TESTS_CPE_ID_VENDOR = kernel - -define RT_TESTS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - CC="$(TARGET_CC)" \ - CFLAGS="$(TARGET_CFLAGS)" \ - prefix=/usr -endef - -define RT_TESTS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - DESTDIR="$(TARGET_DIR)" \ - prefix=/usr \ - PYLIB="$(if $(BR2_PACKAGE_PYTHON3),/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/)" \ - install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtc-tools/rtc-tools.mk b/buildroot-2021.05/package/rtc-tools/rtc-tools.mk deleted file mode 100644 index 2ef850a8..00000000 --- a/buildroot-2021.05/package/rtc-tools/rtc-tools.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# rtc-tools -# -################################################################################ - -RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 -RTC_TOOLS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git -RTC_TOOLS_LICENSE = GPL-2.0 -RTC_TOOLS_LICENSE_FILES = COPYING - -RTC_TOOLS_BINARIES = rtc rtc-range - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -RTC_TOOLS_BINARIES += rtc-sync -endif - -define RTC_TOOLS_BUILD_CMDS - $(foreach bin,$(RTC_TOOLS_BINARIES),\ - $(TARGET_CC) $(TARGET_CFLAGS) -o $(@D)/$(bin) $(@D)/$(bin).c - ) -endef - -define RTC_TOOLS_INSTALL_TARGET_CMDS - $(foreach bin,$(RTC_TOOLS_BINARIES),\ - $(INSTALL) -D -m 0755 $(@D)/$(bin) $(TARGET_DIR)/usr/bin/$(bin) - ) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtl8189fs/rtl8189fs.hash b/buildroot-2021.05/package/rtl8189fs/rtl8189fs.hash deleted file mode 100644 index f1524a6f..00000000 --- a/buildroot-2021.05/package/rtl8189fs/rtl8189fs.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally calculated -sha256 f3f8bcc1e75f095350f12c36f7b8af88eebf3913d4bc921083489f1758cb5068 rtl8189fs-54bd6808e38f213126e7d6447ae9d80c656179f3.tar.gz diff --git a/buildroot-2021.05/package/rtl8189fs/rtl8189fs.mk b/buildroot-2021.05/package/rtl8189fs/rtl8189fs.mk deleted file mode 100644 index 39122bc7..00000000 --- a/buildroot-2021.05/package/rtl8189fs/rtl8189fs.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# rtl8189fs -# -################################################################################ - -RTL8189FS_VERSION = 54bd6808e38f213126e7d6447ae9d80c656179f3 -RTL8189FS_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189FS_VERSION)) -RTL8189FS_LICENSE = GPL-2.0 - -RTL8189FS_MODULE_MAKE_OPTS = \ - CONFIG_RTL8189FS=m \ - KVER=$(LINUX_VERSION_PROBED) \ - KSRC=$(LINUX_DIR) - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtl8723bu/rtl8723bu.hash b/buildroot-2021.05/package/rtl8723bu/rtl8723bu.hash deleted file mode 100644 index 04bc776a..00000000 --- a/buildroot-2021.05/package/rtl8723bu/rtl8723bu.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed -sha256 4c7314dccebda1e55ec8dcf0d5ca8915c2490d17a9f56923f25e6e0e945c10cc rtl8723bu-9ce1c38439f4f574bb7adaf33949835c25536a28.tar.gz diff --git a/buildroot-2021.05/package/rtl8723bu/rtl8723bu.mk b/buildroot-2021.05/package/rtl8723bu/rtl8723bu.mk deleted file mode 100644 index c35fad58..00000000 --- a/buildroot-2021.05/package/rtl8723bu/rtl8723bu.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# rtl8723bu -# -################################################################################ - -RTL8723BU_VERSION = 9ce1c38439f4f574bb7adaf33949835c25536a28 -RTL8723BU_SITE = $(call github,lwfinger,rtl8723bu,$(RTL8723BU_VERSION)) -RTL8723BU_LICENSE = GPL-2.0, proprietary (*.bin firmware blobs) - -RTL8723BU_MODULE_MAKE_OPTS = \ - KVER=$(LINUX_VERSION_PROBED) \ - KSRC=$(LINUX_DIR) - -define RTL8723BU_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 644 $(@D)/rtl8723b_fw.bin $(TARGET_DIR)/lib/firmware/rtlwifi/rtl8723b_fw.bin -endef - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtmpdump/rtmpdump.mk b/buildroot-2021.05/package/rtmpdump/rtmpdump.mk deleted file mode 100644 index db79a796..00000000 --- a/buildroot-2021.05/package/rtmpdump/rtmpdump.mk +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# -# rtmpdump -# -################################################################################ - -RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 -RTMPDUMP_SITE = git://git.ffmpeg.org/rtmpdump -RTMPDUMP_INSTALL_STAGING = YES -# Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only -# care about librtmp, it's LGPL-2.1+ -RTMPDUMP_LICENSE = LGPL-2.1+ -RTMPDUMP_LICENSE_FILES = librtmp/COPYING -RTMPDUMP_CPE_ID_VENDOR = rtmpdump_project -RTMPDUMP_DEPENDENCIES = zlib - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -RTMPDUMP_DEPENDENCIES += gnutls -RTMPDUMP_CRYPTO = GNUTLS -else -# no crypto -RTMPDUMP_CRYPTO = -endif - -RTMPDUMP_CFLAGS = $(TARGET_CFLAGS) - -ifneq ($(BR2_STATIC_LIBS),y) -RTMPDUMP_CFLAGS += -fPIC -else -RTMPDUMP_SHARED = "SHARED=" -endif - -RTMPDUMP_MAKE_FLAGS = \ - CRYPTO=$(RTMPDUMP_CRYPTO) \ - prefix=/usr \ - $(RTMPDUMP_SHARED) - -define RTMPDUMP_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(RTMPDUMP_MAKE_FLAGS) \ - XCFLAGS="$(RTMPDUMP_CFLAGS)" \ - XLDFLAGS="$(TARGET_LDFLAGS)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - -C $(@D)/librtmp -endef - -define RTMPDUMP_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR) $(RTMPDUMP_MAKE_FLAGS) -endef - -define RTMPDUMP_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR) $(RTMPDUMP_MAKE_FLAGS) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtorrent/rtorrent.mk b/buildroot-2021.05/package/rtorrent/rtorrent.mk deleted file mode 100644 index bc3afe80..00000000 --- a/buildroot-2021.05/package/rtorrent/rtorrent.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# rtorrent -# -################################################################################ - -RTORRENT_VERSION = 0.9.8 -RTORRENT_SITE = http://rtorrent.net/downloads -RTORRENT_DEPENDENCIES = host-pkgconf libcurl libtorrent ncurses -RTORRENT_LICENSE = GPL-2.0 -RTORRENT_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rtty/rtty.hash b/buildroot-2021.05/package/rtty/rtty.hash deleted file mode 100644 index 283a5d1d..00000000 --- a/buildroot-2021.05/package/rtty/rtty.hash +++ /dev/null @@ -1,2 +0,0 @@ -sha256 4c60eacd7a653988a1907284de2ecf360c74f55ef9e21c40b9ebd87af6570908 rtty-7.3.2.tar.gz -sha256 99efed4bbc0b62f96f999ef23399e38234fb91651af734fd389a52b033a85b55 LICENSE diff --git a/buildroot-2021.05/package/rtty/rtty.mk b/buildroot-2021.05/package/rtty/rtty.mk deleted file mode 100644 index dc914452..00000000 --- a/buildroot-2021.05/package/rtty/rtty.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# rtty -# -################################################################################ - -RTTY_VERSION = 7.3.2 -RTTY_SITE = https://github.com/zhaojh329/rtty/releases/download/v$(RTTY_VERSION) -RTTY_LICENSE = MIT -RTTY_LICENSE_FILES = LICENSE -RTTY_DEPENDENCIES = libev - -ifeq ($(BR2_PACKAGE_MBEDTLS),y) -RTTY_DEPENDENCIES += mbedtls -RTTY_CONF_OPTS += \ - -DRTTY_SSL_SUPPORT=ON \ - -DRTTY_USE_MBEDTLS=ON \ - -DRTTY_USE_OPENSSL=OFF \ - -DRTTY_USE_WOLFSSL=OFF -else ifeq ($(BR2_PACKAGE_OPENSSL),y) -RTTY_DEPENDENCIES += host-pkgconf openssl -RTTY_CONF_OPTS += \ - -DRTTY_SSL_SUPPORT=ON \ - -DRTTY_USE_MBEDTLS=OFF \ - -DRTTY_USE_OPENSSL=ON \ - -DRTTY_USE_WOLFSSL=OFF -else ifeq ($(BR2_PACKAGE_WOLFSSL),y) -RTTY_DEPENDENCIES += wolfssl -RTTY_CONF_OPTS += \ - -DRTTY_SSL_SUPPORT=ON \ - -DRTTY_USE_MBEDTLS=OFF \ - -DRTTY_USE_OPENSSL=OFF \ - -DRTTY_USE_WOLFSSL=ON -else -RTTY_CONF_OPTS += -DRTTY_SSL_SUPPORT=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/ruby/0001-fix-default-coroutine-selection.patch b/buildroot-2021.05/package/ruby/0001-fix-default-coroutine-selection.patch deleted file mode 100644 index ea84aa9b..00000000 --- a/buildroot-2021.05/package/ruby/0001-fix-default-coroutine-selection.patch +++ /dev/null @@ -1,21 +0,0 @@ -fixed default coroutine selection for musl/uclibc - -https://github.com/ruby/ruby/pull/3567/commits/b570e7de87aaad8c903176d835e8124127f627b3 - -Signed-off-by: Waldemar Brodkorb - -diff -Nur ruby-3.0.0.orig/configure.ac ruby-3.0.0/configure.ac ---- ruby-3.0.0.orig/configure.ac 2020-12-25 04:33:01.000000000 +0100 -+++ ruby-3.0.0/configure.ac 2021-02-22 13:00:53.990314464 +0100 -@@ -2441,7 +2441,10 @@ - rb_cv_coroutine=copy - ], - [ -- rb_cv_coroutine=ucontext -+ AC_CHECK_FUNCS([getcontext swapcontext makecontext], -+ [rb_cv_coroutine=ucontext], -+ [rb_cv_coroutine=copy; break] -+ ) - ] - ) - AC_MSG_RESULT(${rb_cv_coroutine}) diff --git a/buildroot-2021.05/package/ruby/Config.in b/buildroot-2021.05/package/ruby/Config.in deleted file mode 100644 index 141db901..00000000 --- a/buildroot-2021.05/package/ruby/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_RUBY - bool "ruby" - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - help - Object Oriented Scripting Language. - - http://www.ruby-lang.org/ - -comment "ruby needs a toolchain w/ wchar, threads, dynamic library" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/ruby/ruby.hash b/buildroot-2021.05/package/ruby/ruby.hash deleted file mode 100644 index b79596e5..00000000 --- a/buildroot-2021.05/package/ruby/ruby.hash +++ /dev/null @@ -1,6 +0,0 @@ -# https://www.ruby-lang.org/en/news/2021/04/05/ruby-3-0-1-released/ -sha512 97d2e883656060846b304368d9d836e2f3ef39859c36171c9398a0573818e4ed75bfd7460f901a9553f7f53518c505327a66e74f83704a881469f5ac61fe13d7 ruby-3.0.1.tar.xz -# License files, Locally calculated -sha256 274f8d7983052448e7fd691c81043465c92ee6fb7bd8ab3f20a7997862f2778e LEGAL -sha256 967586d538a28955ec2541910cf63c5ac345fcdea94bfb1f1705a1f6eb36bcbb COPYING -sha256 36a9a6e7347214bbba599a412617204e65bff065dcbe5c46f5cb454c80de9eb0 BSDL diff --git a/buildroot-2021.05/package/ruby/ruby.mk b/buildroot-2021.05/package/ruby/ruby.mk deleted file mode 100644 index a71ca3a8..00000000 --- a/buildroot-2021.05/package/ruby/ruby.mk +++ /dev/null @@ -1,92 +0,0 @@ -################################################################################ -# -# ruby -# -################################################################################ - -RUBY_VERSION_MAJOR = 3.0 -RUBY_VERSION = $(RUBY_VERSION_MAJOR).1 -RUBY_VERSION_EXT = 3.0.1 -RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR) -RUBY_SOURCE = ruby-$(RUBY_VERSION).tar.xz -RUBY_DEPENDENCIES = host-pkgconf host-ruby -HOST_RUBY_DEPENDENCIES = host-pkgconf host-openssl -RUBY_MAKE_ENV = $(TARGET_MAKE_ENV) -RUBY_CONF_OPTS = --disable-install-doc --disable-rpath --disable-rubygems -HOST_RUBY_CONF_OPTS = \ - --disable-install-doc \ - --with-out-ext=curses,readline \ - --without-gmp -RUBY_LICENSE = Ruby or BSD-2-Clause, BSD-3-Clause, others -RUBY_LICENSE_FILES = LEGAL COPYING BSDL -RUBY_CPE_ID_VENDOR = ruby-lang -# 0001-fix-default-coroutine-selection.patch -RUBY_AUTORECONF = YES - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -RUBY_CONF_ENV += LIBS=-latomic -endif - -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -# On uClibc, finite, isinf and isnan are not directly implemented as -# functions. Instead math.h #define's these to __finite, __isinf and -# __isnan, confusing the Ruby configure script. Tell it that they -# really are available. -RUBY_CONF_ENV += \ - ac_cv_func_finite=yes \ - ac_cv_func_isinf=yes \ - ac_cv_func_isnan=yes -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_SSP),) -RUBY_CONF_ENV += stack_protector=no -endif - -# Force optionals to build before we do -ifeq ($(BR2_PACKAGE_BERKELEYDB),y) -RUBY_DEPENDENCIES += berkeleydb -endif -ifeq ($(BR2_PACKAGE_LIBFFI),y) -RUBY_DEPENDENCIES += libffi -else -# Disable fiddle to avoid a build failure with bundled-libffi on MIPS -RUBY_CONF_OPTS += --with-out-ext=fiddle -endif -ifeq ($(BR2_PACKAGE_GDBM),y) -RUBY_DEPENDENCIES += gdbm -endif -ifeq ($(BR2_PACKAGE_LIBYAML),y) -RUBY_DEPENDENCIES += libyaml -endif -ifeq ($(BR2_PACKAGE_NCURSES),y) -RUBY_DEPENDENCIES += ncurses -endif -ifeq ($(BR2_PACKAGE_OPENSSL),y) -RUBY_DEPENDENCIES += openssl -endif -ifeq ($(BR2_PACKAGE_READLINE),y) -RUBY_DEPENDENCIES += readline -endif -ifeq ($(BR2_PACKAGE_ZLIB),y) -RUBY_DEPENDENCIES += zlib -endif -ifeq ($(BR2_PACKAGE_GMP),y) -RUBY_DEPENDENCIES += gmp -RUBY_CONF_OPTS += --with-gmp -else -RUBY_CONF_OPTS += --without-gmp -endif - -# Remove rubygems and friends, as they need extensions that aren't -# built and a target compiler. -RUBY_EXTENSIONS_REMOVE = rake* rdoc* rubygems* -define RUBY_REMOVE_RUBYGEMS - rm -f $(addprefix $(TARGET_DIR)/usr/bin/, gem rdoc ri rake) - rm -rf $(TARGET_DIR)/usr/lib/ruby/gems - rm -rf $(addprefix $(TARGET_DIR)/usr/lib/ruby/$(RUBY_VERSION_EXT)/, \ - $(RUBY_EXTENSIONS_REMOVE)) -endef -RUBY_POST_INSTALL_TARGET_HOOKS += RUBY_REMOVE_RUBYGEMS - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/runc/Config.in b/buildroot-2021.05/package/runc/Config.in deleted file mode 100644 index f181ee33..00000000 --- a/buildroot-2021.05/package/runc/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_RUNC - bool "runc" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve - help - runC is a CLI tool for spawning and running containers - according to the OCP specification. - - https://github.com/opencontainers/runc - -comment "runc needs a glibc or musl toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS && \ - BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAN_USES_UCLIBC diff --git a/buildroot-2021.05/package/runc/runc.hash b/buildroot-2021.05/package/runc/runc.hash deleted file mode 100644 index 598bd306..00000000 --- a/buildroot-2021.05/package/runc/runc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 02dac7f1a0dcfe55dd9820df787adedf030060870354915e7bba86f8487ce93c runc-1.0.0-rc95.tar.gz -sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE diff --git a/buildroot-2021.05/package/runc/runc.mk b/buildroot-2021.05/package/runc/runc.mk deleted file mode 100644 index 62b9f09b..00000000 --- a/buildroot-2021.05/package/runc/runc.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# runc -# -################################################################################ - -RUNC_VERSION_MAJOR = 1.0.0 -RUNC_VERSION_MINOR = rc95 -RUNC_VERSION = $(RUNC_VERSION_MAJOR)-$(RUNC_VERSION_MINOR) -RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) -RUNC_LICENSE = Apache-2.0 -RUNC_LICENSE_FILES = LICENSE -RUNC_CPE_ID_VENDOR = linuxfoundation -RUNC_CPE_ID_VERSION = $(RUNC_VERSION_MAJOR) -RUNC_CPE_ID_UPDATE = $(RUNC_VERSION_MINOR) - -RUNC_LDFLAGS = -X main.version=$(RUNC_VERSION) -RUNC_TAGS = cgo static_build - -ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) -RUNC_DEPENDENCIES += libapparmor -RUNC_TAGS += apparmor -endif - -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -RUNC_TAGS += seccomp -RUNC_DEPENDENCIES += libseccomp host-pkgconf -endif - -$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/rust-bin/rust-bin.hash b/buildroot-2021.05/package/rust-bin/rust-bin.hash deleted file mode 100644 index 0800dcca..00000000 --- a/buildroot-2021.05/package/rust-bin/rust-bin.hash +++ /dev/null @@ -1,51 +0,0 @@ -# From https://static.rust-lang.org/dist/rust-1.52.0-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.52.0-i686-unknown-linux-gnu.tar.xz.asc -sha256 b0f504d3dcd744988a1a69716bbf6e2dac872c55e546748ceab8ff1d4fd2da5c rust-1.52.0-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-1.52.0-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-1.52.0-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 d440cb932bbaaf43b600bd47b2dd4a05bc669a74d88addeeb943d694638d8e6e rust-1.52.0-x86_64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-aarch64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-aarch64-unknown-linux-gnu.tar.xz.asc -sha256 3720d98988302bc1f676cef2ea3b2a641404cbbe2d47d0f28f8954658586aa12 rust-std-1.52.0-aarch64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-arm-unknown-linux-gnueabi.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-arm-unknown-linux-gnueabi.tar.xz.asc -sha256 593ec073c273028f60cf49d6084ee1809e075682f3e65f9cc86067f84f71d5f7 rust-std-1.52.0-arm-unknown-linux-gnueabi.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-arm-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-arm-unknown-linux-gnueabihf.tar.xz.asc -sha256 c251bf48962ff8f96e3572cecee12b1b3286477e66cb9c42c1fbe0118d6bdaf5 rust-std-1.52.0-arm-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-armv7-unknown-linux-gnueabihf.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-armv7-unknown-linux-gnueabihf.tar.xz.asc -sha256 c28c6870b9717c6c2e2015a6a5581ccb130f9d393db8166da4513680fe03d4ea rust-std-1.52.0-armv7-unknown-linux-gnueabihf.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-i586-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-i586-unknown-linux-gnu.tar.xz.asc -sha256 f4d094e1cd73372f1565473b072e22278afeb2b728a178e6e9f1c813a9b76c23 rust-std-1.52.0-i586-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-i686-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-i686-unknown-linux-gnu.tar.xz.asc -sha256 54749b579a8426dd46afe67feb3c206b0b129e59873a443dcd93ed51232a37d6 rust-std-1.52.0-i686-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-mips-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-mips-unknown-linux-gnu.tar.xz.asc -sha256 51492598343e5490c620fd04a16c3f41e2fe9f52232dc67fc1bc937233a2e85d rust-std-1.52.0-mips-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-mips64-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-mips64-unknown-linux-gnuabi64.tar.xz.asc -sha256 8db8fac92466389629055d590ca06b7ef1c82621f05cba709413f2ce2c3c5407 rust-std-1.52.0-mips64-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-mips64el-unknown-linux-gnuabi64.tar.xz.asc -sha256 824391b79c9b28be7a18feab1adb0eed1a9459667e93572fc8b343985ca965ba rust-std-1.52.0-mips64el-unknown-linux-gnuabi64.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-mipsel-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-mipsel-unknown-linux-gnu.tar.xz.asc -sha256 a6de773dfcdc8cac832ac6c356e2c0ecfd94fd7f7242aac82f8922f5bd1639e9 rust-std-1.52.0-mipsel-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-powerpc-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-powerpc-unknown-linux-gnu.tar.xz.asc -sha256 2ad7e17bcb8f632eb4206294ab977bbe1b7562009a3ca84a8d753ff454b1ee07 rust-std-1.52.0-powerpc-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-powerpc64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-powerpc64-unknown-linux-gnu.tar.xz.asc -sha256 a792384afe034322b4b430049f57ed5e5fe9efbcf74c13c3edaf04062392727a rust-std-1.52.0-powerpc64-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-powerpc64le-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-powerpc64le-unknown-linux-gnu.tar.xz.asc -sha256 af5256a5f1cb189415b0d6b3e349312bbe8a78331a817c8da79ccfe9a07c0aed rust-std-1.52.0-powerpc64le-unknown-linux-gnu.tar.xz -# From https://static.rust-lang.org/dist/rust-std-1.52.0-x86_64-unknown-linux-gnu.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rust-std-1.52.0-x86_64-unknown-linux-gnu.tar.xz.asc -sha256 dcdc0083facd6484527494ee5b8f72e040a095ab346bb658ce176be573d5c9b4 rust-std-1.52.0-x86_64-unknown-linux-gnu.tar.xz -# Locally generated -sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE -sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/buildroot-2021.05/package/rust-bin/rust-bin.mk b/buildroot-2021.05/package/rust-bin/rust-bin.mk deleted file mode 100644 index 71cd8361..00000000 --- a/buildroot-2021.05/package/rust-bin/rust-bin.mk +++ /dev/null @@ -1,62 +0,0 @@ -################################################################################ -# -# rust-bin -# -################################################################################ - -RUST_BIN_VERSION = 1.52.0 -RUST_BIN_SITE = https://static.rust-lang.org/dist -RUST_BIN_LICENSE = Apache-2.0 or MIT -RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT - -HOST_RUST_BIN_PROVIDES = host-rustc - -HOST_RUST_BIN_SOURCE = rust-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz - -ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) -HOST_RUST_BIN_EXTRA_DOWNLOADS += rust-std-$(RUST_BIN_VERSION)-$(RUSTC_TARGET_NAME).tar.xz -endif - -HOST_RUST_BIN_LIBSTD_HOST_PREFIX = rust-std-$(RUSTC_HOST_NAME) - -define HOST_RUST_BIN_LIBSTD_EXTRACT - mkdir -p $(@D)/std - $(foreach f,$(HOST_RUST_BIN_EXTRA_DOWNLOADS), \ - $(call suitable-extractor,$(f)) $(HOST_RUST_BIN_DL_DIR)/$(f) | \ - $(TAR) -C $(@D)/std $(TAR_OPTIONS) - - ) - mkdir -p $(@D)/rustc/lib/rustlib/$(RUSTC_HOST_NAME)/lib - cd $(@D)/rustc/lib/rustlib/$(RUSTC_HOST_NAME)/lib; \ - ln -sf ../../../../../$(HOST_RUST_BIN_LIBSTD_HOST_PREFIX)/lib/rustlib/$(RUSTC_HOST_NAME)/lib/* . -endef - -HOST_RUST_BIN_POST_EXTRACT_HOOKS += HOST_RUST_BIN_LIBSTD_EXTRACT - -HOST_RUST_BIN_INSTALL_COMMON_OPTS = \ - --prefix=$(HOST_DIR) \ - --disable-ldconfig - -HOST_RUST_BIN_INSTALL_OPTS = \ - $(HOST_RUST_BIN_INSTALL_COMMON_OPTS) \ - --components=rustc,cargo,rust-std-$(RUSTC_HOST_NAME) - -define HOST_RUST_BIN_INSTALL_RUSTC - (cd $(@D); \ - ./install.sh $(HOST_RUST_BIN_INSTALL_OPTS)) -endef - -ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) -define HOST_RUST_BIN_INSTALL_LIBSTD_TARGET - (cd $(@D)/std/rust-std-$(RUST_BIN_VERSION)-$(RUSTC_TARGET_NAME); \ - ./install.sh $(HOST_RUST_BIN_INSTALL_COMMON_OPTS)) -endef -endif - -define HOST_RUST_BIN_INSTALL_CMDS - $(HOST_RUST_BIN_INSTALL_RUSTC) - $(HOST_RUST_BIN_INSTALL_LIBSTD_TARGET) -endef - -HOST_RUST_BIN_POST_INSTALL_HOOKS += HOST_RUST_INSTALL_CARGO_CONFIG - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/rust/rust.hash b/buildroot-2021.05/package/rust/rust.hash deleted file mode 100644 index faf2db5c..00000000 --- a/buildroot-2021.05/package/rust/rust.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://static.rust-lang.org/dist/rustc-1.52.0-src.tar.xz.sha256 -# Verified using https://static.rust-lang.org/dist/rustc-1.52.0-src.tar.xz.asc -sha256 2393e923087f3f8f98190eb0743f1b4a8956a35274ae5d3c0fae6e43238c6af8 rustc-1.52.0-src.tar.xz -# Locally generated -sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE -sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/buildroot-2021.05/package/rust/rust.mk b/buildroot-2021.05/package/rust/rust.mk deleted file mode 100644 index 66a0c0c8..00000000 --- a/buildroot-2021.05/package/rust/rust.mk +++ /dev/null @@ -1,82 +0,0 @@ -################################################################################ -# -# rust -# -################################################################################ - -RUST_VERSION = 1.52.0 -RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz -RUST_SITE = https://static.rust-lang.org/dist -RUST_LICENSE = Apache-2.0 or MIT -RUST_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT - -HOST_RUST_PROVIDES = host-rustc - -HOST_RUST_DEPENDENCIES = \ - toolchain \ - host-rust-bin \ - host-openssl \ - $(BR2_CMAKE_HOST_DEPENDENCY) - -ifeq ($(BR2_PACKAGE_PYTHON3),y) -HOST_RUST_PYTHON_VERSION = $(PYTHON3_VERSION_MAJOR) -HOST_RUST_DEPENDENCIES += host-python3 -else -HOST_RUST_PYTHON_VERSION = $(PYTHON_VERSION_MAJOR) -HOST_RUST_DEPENDENCIES += host-python -endif - -HOST_RUST_VERBOSITY = $(if $(VERBOSE),2,0) - -# Some vendor crates contain Cargo.toml.orig files. The associated -# .cargo-checksum.json file will contain a checksum for Cargo.toml.orig but -# support/scripts/apply-patches.sh will delete them. This will cause the build -# to fail, as Cargo will not be able to find the file and verify the checksum. -# So, remove all Cargo.toml.orig entries from the affected .cargo-checksum.json -# files -define HOST_RUST_EXCLUDE_ORIG_FILES - for file in $$(find $(@D) -name '*.orig'); do \ - crate=$$(dirname $${file}); \ - fn=$${crate}/.cargo-checksum.json; \ - sed -i -e 's/"Cargo.toml.orig":"[a-z0-9]\+",//g' $${fn}; \ - done -endef - -HOST_RUST_POST_EXTRACT_HOOKS += HOST_RUST_EXCLUDE_ORIG_FILES - -define HOST_RUST_CONFIGURE_CMDS - ( \ - echo '[build]'; \ - echo 'target = ["$(RUSTC_TARGET_NAME)"]'; \ - echo 'cargo = "$(HOST_RUST_BIN_DIR)/cargo/bin/cargo"'; \ - echo 'rustc = "$(HOST_RUST_BIN_DIR)/rustc/bin/rustc"'; \ - echo 'python = "$(HOST_DIR)/bin/python$(HOST_RUST_PYTHON_VERSION)"'; \ - echo 'submodules = false'; \ - echo 'vendor = true'; \ - echo 'extended = true'; \ - echo 'tools = ["cargo"]'; \ - echo 'compiler-docs = false'; \ - echo 'docs = false'; \ - echo 'verbose = $(HOST_RUST_VERBOSITY)'; \ - echo '[install]'; \ - echo 'prefix = "$(HOST_DIR)"'; \ - echo 'sysconfdir = "$(HOST_DIR)/etc"'; \ - echo '[rust]'; \ - echo 'channel = "stable"'; \ - echo '[target.$(RUSTC_TARGET_NAME)]'; \ - echo 'cc = "$(TARGET_CROSS)gcc"'; \ - echo '[llvm]'; \ - echo 'ninja = false'; \ - ) > $(@D)/config.toml -endef - -define HOST_RUST_BUILD_CMDS - cd $(@D); $(HOST_MAKE_ENV) $(HOST_DIR)/bin/python$(HOST_RUST_PYTHON_VERSION) x.py build -endef - -define HOST_RUST_INSTALL_CMDS - cd $(@D); $(HOST_MAKE_ENV) $(HOST_DIR)/bin/python$(HOST_RUST_PYTHON_VERSION) x.py dist - cd $(@D); $(HOST_MAKE_ENV) $(HOST_DIR)/bin/python$(HOST_RUST_PYTHON_VERSION) x.py install -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/rustc/Config.in.host b/buildroot-2021.05/package/rustc/Config.in.host deleted file mode 100644 index 1df25ae3..00000000 --- a/buildroot-2021.05/package/rustc/Config.in.host +++ /dev/null @@ -1,81 +0,0 @@ -# All host rust packages should depend on this option -config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS - bool - default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - -# All target rust packages should depend on this option -config BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - bool - # The pre-built Rust standard library is only available for the - # following architectures/ABIs, and is built against glibc. - default y if BR2_i386 - default y if BR2_x86_64 - default y if BR2_aarch64 - default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 \ - && !(BR2_ARM_CPU_ARMV7A && BR2_ARM_EABI) - default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le - default y if (BR2_mips || BR2_mipsel) && !BR2_MIPS_CPU_MIPS32R6 - default y if (BR2_mips64 || BR2_mips64el) && !BR2_MIPS_CPU_MIPS64R6 \ - && BR2_MIPS_NABI64 - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS - -config BR2_PACKAGE_HOST_RUSTC_ARCH - string - default "armv7" if BR2_ARM_CPU_ARMV7A - default BR2_ARCH if !BR2_ARM_CPU_ARMV7A - -config BR2_PACKAGE_HOST_RUSTC_ABI - string - default "eabi" if BR2_ARM_EABI - default "eabihf" if BR2_ARM_EABIHF - default "abi64" if BR2_MIPS_NABI64 - -config BR2_PACKAGE_HOST_RUSTC - bool "host rustc" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS - help - Compiler for the Rust language - - http://www.rust-lang.org - -if BR2_PACKAGE_HOST_RUSTC - -choice - prompt "Rust compiler variant" - default BR2_PACKAGE_HOST_RUST_BIN - help - Select a Rust compiler - -config BR2_PACKAGE_HOST_RUST - bool "host rust" - # RUSTC_TARGET_NAME must be set for building host-rust - # otherwise config.toml is broken. - depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS - # triggers ICE on trunc_int_for_mode, at explow.c:56 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 || !BR2_aarch64 - help - This package will build the compiler for the host as well as - two flavors of the standard library: one for the host, another - for the target. Both are installed in the host directory. - -comment "host-rust needs a toolchain w/ gcc >= 5" - depends on BR2_aarch64 - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 - -config BR2_PACKAGE_HOST_RUST_BIN - bool "host rust (pre-built)" - help - This package will install pre-built versions of the compiler - for the host and the Rust standard library for the target. - -endchoice - -endif - -config BR2_PACKAGE_PROVIDES_HOST_RUSTC - string - default "host-rust" if BR2_PACKAGE_HOST_RUST - # Default to host-rust-bin as long as host arch supports it - default "host-rust-bin" if !BR2_PACKAGE_HOST_RUST - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS diff --git a/buildroot-2021.05/package/rustc/cargo-config.in b/buildroot-2021.05/package/rustc/cargo-config.in deleted file mode 100644 index 47fad026..00000000 --- a/buildroot-2021.05/package/rustc/cargo-config.in +++ /dev/null @@ -1,2 +0,0 @@ -[target.@RUSTC_TARGET_NAME@] -linker = "@CROSS_PREFIX@gcc" diff --git a/buildroot-2021.05/package/rustc/rustc.mk b/buildroot-2021.05/package/rustc/rustc.mk deleted file mode 100644 index 35ffc361..00000000 --- a/buildroot-2021.05/package/rustc/rustc.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# rustc -# -################################################################################ - -RUSTC_ARCH = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ARCH)) -RUSTC_ABI = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ABI)) - -ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) -RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-gnu$(RUSTC_ABI) -endif - -ifeq ($(HOSTARCH),x86) -RUSTC_HOST_ARCH = i686 -else -RUSTC_HOST_ARCH = $(HOSTARCH) -endif - -RUSTC_HOST_NAME = $(RUSTC_HOST_ARCH)-unknown-linux-gnu - -$(eval $(host-virtual-package)) - -ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) -define RUSTC_INSTALL_CARGO_CONFIG - mkdir -p $(HOST_DIR)/share/cargo - sed -e 's/@RUSTC_TARGET_NAME@/$(RUSTC_TARGET_NAME)/' \ - -e 's/@CROSS_PREFIX@/$(notdir $(TARGET_CROSS))/' \ - package/rustc/cargo-config.in \ - > $(HOST_DIR)/share/cargo/config -endef -# check-package disable TypoInPackageVariable - TOOLCHAIN intended -TOOLCHAIN_POST_INSTALL_STAGING_HOOKS += RUSTC_INSTALL_CARGO_CONFIG -endif diff --git a/buildroot-2021.05/package/rygel/Config.in b/buildroot-2021.05/package/rygel/Config.in deleted file mode 100644 index 86d6a38e..00000000 --- a/buildroot-2021.05/package/rygel/Config.in +++ /dev/null @@ -1,51 +0,0 @@ -config BR2_PACKAGE_RYGEL - bool "rygel" - depends on BR2_USE_WCHAR # gupnp-av - depends on BR2_TOOLCHAIN_HAS_THREADS # gupnp-av - depends on BR2_USE_MMU # gupnp-av - select BR2_PACKAGE_GUPNP_AV - select BR2_PACKAGE_LIBGEE - select BR2_PACKAGE_LIBMEDIAART - select BR2_PACKAGE_SQLITE - help - Rygel is a home media solution (UPnP AV MediaServer) that - allows you to easily share audio, video and pictures to other - devices. - - Additionally, media player software may use Rygel to become a - MediaRenderer that may be controlled remotely by a UPnP or - DLNA Controller. - - Rygel achieves interoperability with other devices in the - market by trying to conform to the very strict requirements of - DLNA and by converting media on-the-fly to formats that client - devices can handle. - - Most Rygel functionality is implemented through a plug-in - mechanism. - - https://wiki.gnome.org/Projects/Rygel - -if BR2_PACKAGE_RYGEL - -choice - prompt "media engine" - default BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE - -config BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE - bool "simple" - -config BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1 - bool "gstreamer1" - select BR2_PACKAGE_GDK_PIXBUF - select BR2_PACKAGE_GUPNP_DLNA - select BR2_PACKAGE_GSTREAMER1 - select BR2_PACKAGE_GST1_PLUGINS_BASE - -endchoice - -comment "rygel needs a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS - -endif # BR2_PACKAGE_RYGEL diff --git a/buildroot-2021.05/package/rygel/rygel.hash b/buildroot-2021.05/package/rygel/rygel.hash deleted file mode 100644 index 33b44aec..00000000 --- a/buildroot-2021.05/package/rygel/rygel.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Hash from: http://ftp.gnome.org/pub/gnome/sources/rygel/0.38/rygel-0.38.3.sha256sum: -sha256 08c21a577f7bdad26446a75ffa32778b26842c3b1188165f0b19818559747d00 rygel-0.38.3.tar.xz - -# Locally calculated -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING -sha256 c7d881be8ae01162510e982a32001446c6d6d18a9cecc89cc41a28bd215a0262 COPYING.logo diff --git a/buildroot-2021.05/package/rygel/rygel.mk b/buildroot-2021.05/package/rygel/rygel.mk deleted file mode 100644 index 21c8ebee..00000000 --- a/buildroot-2021.05/package/rygel/rygel.mk +++ /dev/null @@ -1,78 +0,0 @@ -################################################################################ -# -# rygel -# -################################################################################ - -RYGEL_VERSION_MAJOR = 0.38 -RYGEL_VERSION = $(RYGEL_VERSION_MAJOR).3 -RYGEL_SOURCE = rygel-$(RYGEL_VERSION).tar.xz -RYGEL_SITE = http://ftp.gnome.org/pub/gnome/sources/rygel/$(RYGEL_VERSION_MAJOR) -RYGEL_LICENSE = LGPL-2.1+, CC-BY-SA-3.0 (logo) -RYGEL_LICENSE_FILES = COPYING COPYING.logo -RYGEL_DEPENDENCIES = \ - gupnp-av \ - libgee \ - libmediaart \ - sqlite \ - $(TARGET_NLS_DEPENDENCIES) -RYGEL_INSTALL_STAGING = YES - -RYGEL_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) -RYGEL_CONF_OPTS += \ - --disable-apidocs \ - --disable-coverage \ - --disable-example-plugins \ - --enable-external-plugin \ - --enable-lms-plugin \ - --enable-mpris-plugin \ - --enable-ruih-plugin \ - --disable-tracker-plugin - -ifeq ($(BR2_PACKAGE_GDK_PIXBUF),y) -RYGEL_DEPENDENCIES += gdk-pixbuf -endif - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -RYGEL_CONF_OPTS += --enable-introspection -RYGEL_DEPENDENCIES += gobject-introspection -else -RYGEL_CONF_OPTS += --disable-introspection -endif - -ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1),y) -RYGEL_CONF_OPTS += \ - --with-media-engine=gstreamer \ - --enable-playbin-plugin \ - --enable-media_export-plugin \ - --enable-gst-launch-plugin -RYGEL_DEPENDENCIES += \ - gupnp-dlna \ - gst1-plugins-base \ - gstreamer1 -else ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE),y) -RYGEL_CONF_OPTS += \ - --with-media-engine=simple \ - --disable-playbin-plugin \ - --disable-media_export-plugin \ - --disable-gst-launch-plugin -endif - -ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) -RYGEL_CONF_OPTS += --with-ui -RYGEL_DEPENDENCIES += libgtk3 -else -RYGEL_CONF_OPTS += --without-ui -endif - -define RYGEL_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/rygel/S99rygel \ - $(TARGET_DIR)/etc/init.d/S99rygel -endef - -define RYGEL_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/rygel/rygel.service \ - $(TARGET_DIR)/usr/lib/systemd/system/rygel.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/s390-tools/0001-osasnmpd-Makefile-fix-cross-compilation.patch b/buildroot-2021.05/package/s390-tools/0001-osasnmpd-Makefile-fix-cross-compilation.patch deleted file mode 100644 index 8e3d1399..00000000 --- a/buildroot-2021.05/package/s390-tools/0001-osasnmpd-Makefile-fix-cross-compilation.patch +++ /dev/null @@ -1,41 +0,0 @@ -From d7faa31a871d14ab02b290bdf2b2fa085766d2ac Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 27 Nov 2020 23:43:15 +0100 -Subject: [PATCH] osasnmpd/Makefile: fix cross-compilation - -Fix the following build failure by allowing the user to provide -NET_SNMP_CONFIG: - -/bin/sh: net-snmp-config: command not found -/home/buildroot/autobuild/run/instance-2/output-1/host/lib/gcc/s390x-buildroot-linux-gnu/9.3.0/../../../../s390x-buildroot-linux-gnu/bin/ld: osasnmpd.o: in function `main': -osasnmpd.c:(.text.startup+0xcc): undefined reference to `snmp_log_perror' - -Fixes: - - http://autobuild.buildroot.org/results/00796f2ebd5fb0e08ac7a05a9ee566f2bc4bd1c3 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/ibm-s390-tools/s390-tools/pull/99] ---- - osasnmpd/Makefile | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/osasnmpd/Makefile b/osasnmpd/Makefile -index 15496b2..8ce0932 100644 ---- a/osasnmpd/Makefile -+++ b/osasnmpd/Makefile -@@ -1,9 +1,10 @@ - include ../common.mak --LDLIBS = `net-snmp-config --agent-libs` -+NET_SNMP_CONFIG = net-snmp-config -+LDLIBS = `$(NET_SNMP_CONFIG) --agent-libs` - # On some Linux systems `net-snmp-config --agent-libs` introduces -pie, - # therefore add -fPIC to prevent link failures. - ALL_CFLAGS += -fPIC --ALL_CFLAGS += `net-snmp-config --cflags` -+ALL_CFLAGS += `$(NET_SNMP_CONFIG) --cflags` - - OBJS = ibmOSAMib.o ibmOSAMibUtil.o osasnmpd.o - --- -2.29.2 - diff --git a/buildroot-2021.05/package/s390-tools/0002-zkey-Fix-build-error-when-the-compiler-flags-are-overridden.patch b/buildroot-2021.05/package/s390-tools/0002-zkey-Fix-build-error-when-the-compiler-flags-are-overridden.patch deleted file mode 100644 index ee725d39..00000000 --- a/buildroot-2021.05/package/s390-tools/0002-zkey-Fix-build-error-when-the-compiler-flags-are-overridden.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 3f3f063c98278f53ad3b34e68b70fca62eaea8fb Mon Sep 17 00:00:00 2001 -From: Ingo Franzki -Date: Tue, 23 Feb 2021 08:52:26 +0100 -Subject: [PATCH] zkey: Fix build error when the compiler flags are overridden -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -When the compiler flags are overridden, the build of zkey may fail with: - -kms.c:44:2: error: #error KMS_PLUGIN_LOCATION must be defined - 44 | #error KMS_PLUGIN_LOCATION must be defined - | ^~~~~ - -The Makefile uses CFLAGS variable for defining the KMS_PLUGIN_LOCATION, -but it should rather use ALL_CFLAGS. - -Also use ALL_CPPFLAGS for defining HAVE_LUKS2_SUPPORT. - -Fixes: https://github.com/ibm-s390-linux/s390-tools/issues/108 - -Signed-off-by: Ingo Franzki -Reviewed-by: Jan Hoeppner -Signed-off-by: Jan Höppner - -[Retrieved from: -https://github.com/ibm-s390-linux/s390-tools/commit/3f3f063c98278f53ad3b34e68b70fca62eaea8fb] -Signed-off-by: Fabrice Fontaine ---- - zkey/Makefile | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/zkey/Makefile b/zkey/Makefile -index 41129bcf..f74e2091 100644 ---- a/zkey/Makefile -+++ b/zkey/Makefile -@@ -18,7 +18,7 @@ ifneq (${HAVE_CRYPTSETUP2},0) - ifneq (${HAVE_OPENSSL},0) - BUILD_TARGETS += zkey-cryptsetup - INSTALL_TARGETS += install-zkey-cryptsetup -- CPPFLAGS += -DHAVE_LUKS2_SUPPORT -+ ALL_CPPFLAGS += -DHAVE_LUKS2_SUPPORT - else - BUILD_TARGETS += zkey-cryptsetup-skip-openssl - INSTALL_TARGETS += zkey-cryptsetup-skip-openssl -@@ -34,7 +34,7 @@ endif - - libs = $(rootdir)/libutil/libutil.a - --CFLAGS += -DKMS_PLUGIN_LOCATION=\"$(ZKEYKMSPLUGINDIR)\" -+ALL_CFLAGS += -DKMS_PLUGIN_LOCATION=\"$(ZKEYKMSPLUGINDIR)\" - - detect-libcryptsetup.dep: - echo "#include " > detect-libcryptsetup.dep diff --git a/buildroot-2021.05/package/s390-tools/s390-tools.hash b/buildroot-2021.05/package/s390-tools/s390-tools.hash deleted file mode 100644 index bf007286..00000000 --- a/buildroot-2021.05/package/s390-tools/s390-tools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 b789d5c9d8587b288e1fd9b1c1c4512bb3439e1f389519cb257f1c7c302da58f s390-tools-2.16.0.tar.gz -sha256 cca17a9a944ebec769adee4aebd805c912c357785ff2705a99ffe68563021f75 LICENSE diff --git a/buildroot-2021.05/package/s390-tools/s390-tools.mk b/buildroot-2021.05/package/s390-tools/s390-tools.mk deleted file mode 100644 index 326262b4..00000000 --- a/buildroot-2021.05/package/s390-tools/s390-tools.mk +++ /dev/null @@ -1,98 +0,0 @@ -################################################################################ -# -# s390-tools -# -################################################################################ - -S390_TOOLS_VERSION = 2.16.0 -S390_TOOLS_SITE = $(call github,ibm-s390-linux,s390-tools,v$(S390_TOOLS_VERSION)) -S390_TOOLS_LICENSE = MIT -S390_TOOLS_LICENSE_FILES = LICENSE -S390_TOOLS_DEPENDENCIES = zlib - -S390_TOOLS_MAKE_OPTS = \ - ARCH=$(BR2_ARCH) \ - CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ - LINK="$(TARGET_CC)" \ - LINKXX="$(TARGET_CXX)" - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -S390_TOOLS_DEPENDENCIES += libcurl -S390_TOOLS_MAKE_OPTS += \ - HAVE_CURL=1 \ - HAVE_LIBCURL=1 -else -S390_TOOLS_MAKE_OPTS += \ - HAVE_CURL=0 \ - HAVE_LIBCURL=0 -endif - -ifeq ($(BR2_PACKAGE_JSON_C),y) -S390_TOOLS_DEPENDENCIES += json-c -S390_TOOLS_MAKE_OPTS += HAVE_JSONC=1 -else -S390_TOOLS_MAKE_OPTS += HAVE_JSONC=0 -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -S390_TOOLS_DEPENDENCIES += openssl -S390_TOOLS_MAKE_OPTS += HAVE_OPENSSL=1 -else -S390_TOOLS_MAKE_OPTS += HAVE_OPENSSL=0 -endif - -ifeq ($(BR2_PACKAGE_CRYPTSETUP),y) -S390_TOOLS_DEPENDENCIES += cryptsetup -S390_TOOLS_MAKE_OPTS += HAVE_CRYPTSETUP2=1 -else -S390_TOOLS_MAKE_OPTS += HAVE_CRYPTSETUP2=0 -endif - -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -S390_TOOLS_DEPENDENCIES += libglib2 -S390_TOOLS_MAKE_OPTS += HAVE_GLIB2=1 -else -S390_TOOLS_MAKE_OPTS += HAVE_GLIB2=0 -endif - -ifeq ($(BR2_PACKAGE_NCURSES),y) -S390_TOOLS_DEPENDENCIES += ncurses -S390_TOOLS_MAKE_OPTS += HAVE_NCURSES=1 -else -S390_TOOLS_MAKE_OPTS += HAVE_NCURSES=0 -endif - -ifeq ($(BR2_PACKAGE_LIBPFM4),y) -S390_TOOLS_DEPENDENCIES += libpfm4 -S390_TOOLS_MAKE_OPTS += HAVE_PFM=1 -else -S390_TOOLS_MAKE_OPTS += HAVE_PFM=0 -endif - -ifeq ($(BR2_PACKAGE_LIBFUSE),y) -S390_TOOLS_DEPENDENCIES += libfuse -S390_TOOLS_MAKE_OPTS += HAVE_FUSE=1 -else -S390_TOOLS_MAKE_OPTS += HAVE_FUSE=0 -endif - -ifeq ($(BR2_PACKAGE_NETSNMP),y) -S390_TOOLS_DEPENDENCIES += netsnmp -S390_TOOLS_MAKE_OPTS += \ - NET_SNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config \ - HAVE_SNMP=1 -else -S390_TOOLS_MAKE_OPTS += HAVE_SNMP=0 -endif - -define S390_TOOLS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ - $(S390_TOOLS_MAKE_OPTS) -endef - -define S390_TOOLS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) install \ - $(S390_TOOLS_MAKE_OPTS) DESTDIR="$(TARGET_DIR)" -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/safeclib/safeclib.hash b/buildroot-2021.05/package/safeclib/safeclib.hash deleted file mode 100644 index 7e1c6794..00000000 --- a/buildroot-2021.05/package/safeclib/safeclib.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/rurban/safeclib/releases/tag/v08112019 -sha256 bc2f25875522c50a3a5901981020d906db0b6a7d365619b8d72412c126be3923 libsafec-08112019.0-gad76c7.tar.bz2 - -# Hash for license file -sha256 c33e77efd5781e3d59a2bb648c82d2a615035ef0d24cf58880380e3af906510b COPYING diff --git a/buildroot-2021.05/package/safeclib/safeclib.mk b/buildroot-2021.05/package/safeclib/safeclib.mk deleted file mode 100644 index 3af8fbb1..00000000 --- a/buildroot-2021.05/package/safeclib/safeclib.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# safeclib -# -################################################################################ - -SAFECLIB_VERSION = 08112019 -SAFECLIB_SITE = \ - https://github.com/rurban/safeclib/releases/download/v$(SAFECLIB_VERSION) -SAFECLIB_SOURCE = libsafec-$(SAFECLIB_VERSION).0-gad76c7.tar.bz2 -SAFECLIB_LICENSE = MIT -SAFECLIB_LICENSE_FILES = COPYING -SAFECLIB_INSTALL_STAGING = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sam-ba/Config.in.host b/buildroot-2021.05/package/sam-ba/Config.in.host deleted file mode 100644 index 2236b5f4..00000000 --- a/buildroot-2021.05/package/sam-ba/Config.in.host +++ /dev/null @@ -1,10 +0,0 @@ -config BR2_PACKAGE_HOST_SAM_BA - bool "host sam-ba" - depends on BR2_HOSTARCH = "x86_64" - select BR2_HOSTARCH_NEEDS_IA32_LIBS - help - Atmel SAM-BA software provides an open set of tools for - programming the Atmel SAM3, SAM7 and SAM9 ARM-based - microcontrollers. - - http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools diff --git a/buildroot-2021.05/package/sam-ba/sam-ba.hash b/buildroot-2021.05/package/sam-ba/sam-ba.hash deleted file mode 100644 index 1bc14f3f..00000000 --- a/buildroot-2021.05/package/sam-ba/sam-ba.hash +++ /dev/null @@ -1,3 +0,0 @@ -# sha256 locally computed -sha256 dc32c49688bbfab5aa687042caae5f611fe3d9e722098a561f8f5d2fbc57249d sam-ba_3.3.1-linux_x86_64.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.txt diff --git a/buildroot-2021.05/package/sam-ba/sam-ba.mk b/buildroot-2021.05/package/sam-ba/sam-ba.mk deleted file mode 100644 index 3082d491..00000000 --- a/buildroot-2021.05/package/sam-ba/sam-ba.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# sam-ba -# -################################################################################ - -SAM_BA_VERSION = 3.3.1 -SAM_BA_SITE = https://github.com/atmelcorp/sam-ba/releases/download/v$(SAM_BA_VERSION) -SAM_BA_SOURCE = sam-ba_$(SAM_BA_VERSION)-linux_x86_64.tar.gz -SAM_BA_LICENSE = GPLv2 -SAM_BA_LICENSE_FILES = LICENSE.txt - -# Since it's a prebuilt application and it does not conform to the -# usual Unix hierarchy, we install it in $(HOST_DIR)/opt/sam-ba and -# then create a symbolic link from $(HOST_DIR)/bin to the -# application binary, for easier usage. - -define HOST_SAM_BA_INSTALL_CMDS - mkdir -p $(HOST_DIR)/opt/sam-ba/ - cp -a $(@D)/* $(HOST_DIR)/opt/sam-ba/ - mkdir -p $(HOST_DIR)/bin/ - ln -sf ../opt/sam-ba/sam-ba $(HOST_DIR)/bin/sam-ba -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/samba4/0002-build-find-pre-built-heimdal-build-tools-in-case-of-.patch b/buildroot-2021.05/package/samba4/0002-build-find-pre-built-heimdal-build-tools-in-case-of-.patch deleted file mode 100644 index b8636958..00000000 --- a/buildroot-2021.05/package/samba4/0002-build-find-pre-built-heimdal-build-tools-in-case-of-.patch +++ /dev/null @@ -1,87 +0,0 @@ -From e002d2ef2688d5433d2bd03aa4d77a0ec5ac4e63 Mon Sep 17 00:00:00 2001 -From: Uri Simchoni -Date: Sun, 20 Oct 2019 00:03:14 +0300 -Subject: [PATCH] build: find pre-built heimdal build tools in case of embedded - heimdal - -This patch fixes the case of finding asn1_compile and compile_et for -building embedded heimdal, by setting ---bundled-libraries='!asn1_compile,!compile_et' as configure flags. - -The Heimdal build tools compile_et and asn1_compile are needed *only* -if we use the embedded heimdal (otherwise we don't build heimdal and -use headers that have been generated by those tools elsewhere). - -For cross-compilation with embedded heimdal, it is vital to use host build -tools, and so asn1_compile and compile_et must be supplied and not -built. One way of doing this would be to set the COMPILE_ET and -ASN1_COMPILE env vars to the location of supplied binaries. Another way, -which is more commonly used, is to exclude asn1_compile and compile_et -from bundled packages via the switch --bundled-libraries='!asn1_compile,!compile_et'. When this is done, -the build script searches the path for those tools and sets the -ASN1_COMPILE and COMPILE_ET vars accordingly. (this is admittedly -kind of a round-about way of doing things but this has become the -de-facto standard amongst embedded distro builders). - -In commit 8061983d4882f3ba3f12da71443b035d7b672eec, this process of -finding the binaris has been moved to be carried out only in the -system heimdal case. As explained above, we only need these tools, -and hence the check, in bundled mode. - -BUG: https://bugzilla.samba.org/show_bug.cgi?id=14164 - -Signed-off-by: Uri Simchoni -Signed-off-by: Bernd Kuhls -[Bernd: rebased for version 4.11.13] ---- - wscript_configure_embedded_heimdal | 11 +++++++++++ - wscript_configure_system_heimdal | 11 ----------- - 2 files changed, 11 insertions(+), 11 deletions(-) - -diff --git a/wscript_configure_embedded_heimdal b/wscript_configure_embedded_heimdal -index 8c55ae2a938..4fdae8062c5 100644 ---- a/wscript_configure_embedded_heimdal -+++ b/wscript_configure_embedded_heimdal -@@ -1 +1,12 @@ - conf.RECURSE('source4/heimdal_build') -+ -+def check_system_heimdal_binary(name): -+ if conf.LIB_MAY_BE_BUNDLED(name): -+ return False -+ if not conf.find_program(name, var=name.upper()): -+ return False -+ conf.define('USING_SYSTEM_%s' % name.upper(), 1) -+ return True -+ -+check_system_heimdal_binary("compile_et") -+check_system_heimdal_binary("asn1_compile") -diff --git a/wscript_configure_system_heimdal b/wscript_configure_system_heimdal -index 0ff6dad2f55..f77c177442f 100644 ---- a/wscript_configure_system_heimdal -+++ b/wscript_configure_system_heimdal -@@ -37,14 +37,6 @@ def check_system_heimdal_lib(name, functions='', headers='', onlyif=None): - conf.define('USING_SYSTEM_%s' % name.upper(), 1) - return True - --def check_system_heimdal_binary(name): -- if conf.LIB_MAY_BE_BUNDLED(name): -- return False -- if not conf.find_program(name, var=name.upper()): -- return False -- conf.define('USING_SYSTEM_%s' % name.upper(), 1) -- return True -- - check_system_heimdal_lib("com_err", "com_right_r com_err", "com_err.h") - - if check_system_heimdal_lib("roken", "rk_socket_set_reuseaddr", "roken.h"): -@@ -96,7 +96,4 @@ - #if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'): - # conf.define('USING_SYSTEM_TOMMATH', 1) - --check_system_heimdal_binary("compile_et") --check_system_heimdal_binary("asn1_compile") -- - conf.define('USING_SYSTEM_KRB5', 1) --- -2.20.1 diff --git a/buildroot-2021.05/package/samba4/0003-Fix-unistd.h-include.patch b/buildroot-2021.05/package/samba4/0003-Fix-unistd.h-include.patch deleted file mode 100644 index f01b899a..00000000 --- a/buildroot-2021.05/package/samba4/0003-Fix-unistd.h-include.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 85c33f89df8607ace0707e1360ff0f79f3e8f5f3 Mon Sep 17 00:00:00 2001 -From: Andy Walsh -Date: Wed, 6 Nov 2019 19:28:30 +0100 -Subject: [PATCH] Fix unistd.h include - -Fixes build error - -source4/heimdal/lib/asn1/asn1_err.c:47:23: error: 'link' redeclared as different kind of symbol - static struct et_list link = { 0, 0 }; - -Downloaded from -https://github.com/Andy2244/openwrt-extra/blob/samba-4.10/samba4/patches/006-samba-4-10-musl_rm_unistd_incl.patch - -Upstream bug report: https://bugzilla.samba.org/show_bug.cgi?id=13856 - -Signed-off-by: Bernd Kuhls ---- - lib/replace/replace.h | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/lib/replace/replace.h b/lib/replace/replace.h -index 1658465866e..e6768c4ae51 100644 ---- a/lib/replace/replace.h -+++ b/lib/replace/replace.h -@@ -168,10 +168,6 @@ - #include - #endif - --#ifdef HAVE_UNISTD_H --#include --#endif -- - #ifdef HAVE_STRING_H - #include - #endif --- -2.20.1 - diff --git a/buildroot-2021.05/package/samba4/0005-dcesrv_core-fix-build.patch b/buildroot-2021.05/package/samba4/0005-dcesrv_core-fix-build.patch deleted file mode 100644 index 75835acd..00000000 --- a/buildroot-2021.05/package/samba4/0005-dcesrv_core-fix-build.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 44bccdf7d158ae93ba9a5515038aac2a5ac4fd85 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sat, 27 Mar 2021 17:17:34 +0100 -Subject: [PATCH] dcesrv_core: fix build -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Move include of system/network.h to avoid a build error: - -In file included from ../../lib/replace/system/network.h:35, - from ../../librpc/rpc/dcesrv_core.c:2658: -usr/include/unistd.h: At top level: -usr/include/unistd.h:675:16: error: conflicting types for ‘geteuid’ - 675 | extern __uid_t geteuid (void) __THROW; - -Patch sent upstream: -https://gitlab.com/samba-team/samba/-/merge_requests/1871 - -Signed-off-by: Bernd Kuhls ---- - librpc/rpc/dcesrv_core.c | 11 +---------- - 1 file changed, 1 insertion(+), 10 deletions(-) - -diff --git a/librpc/rpc/dcesrv_core.c b/librpc/rpc/dcesrv_core.c -index 70e0245532e..e761329d157 100644 ---- a/librpc/rpc/dcesrv_core.c -+++ b/librpc/rpc/dcesrv_core.c -@@ -32,6 +32,7 @@ - #include "lib/tsocket/tsocket.h" - #include "librpc/gen_ndr/ndr_dcerpc.h" - #include "lib/util/tevent_ntstatus.h" -+#include "system/network.h" - - - #undef DBGC_CLASS -@@ -2633,16 +2634,6 @@ _PUBLIC_ void dcesrv_cleanup_broken_connections(struct dcesrv_context *dce_ctx) - } - } - --/* We need this include to be able to compile on some plateforms -- * (ie. freebsd 7.2) as it seems that is not included -- * correctly. -- * It has to be that deep because otherwise we have a conflict on -- * const struct dcesrv_interface declaration. -- * This is mostly due to socket_wrapper defining #define bind swrap_bind -- * which conflict with the bind used before. -- */ --#include "system/network.h" -- - struct dcesrv_sock_reply_state { - struct dcesrv_connection *dce_conn; - struct dcesrv_call_state *call; --- -2.29.2 - diff --git a/buildroot-2021.05/package/samba4/samba4-cache.txt b/buildroot-2021.05/package/samba4/samba4-cache.txt deleted file mode 100644 index 75d0343d..00000000 --- a/buildroot-2021.05/package/samba4/samba4-cache.txt +++ /dev/null @@ -1,45 +0,0 @@ -Checking simple C program: OK -rpath library support: OK --Wl,--version-script support: OK -Checking getconf LFS_CFLAGS: NO -Checking for large file support without additional flags: OK -Checking for -D_LARGE_FILES: OK -Checking correct behavior of strtoll: NO -Checking for working strptime: OK -Checking for C99 vsnprintf: OK -Checking for HAVE_SHARED_MMAP: OK -Checking for HAVE_MREMAP: OK -Checking for HAVE_INCOHERENT_MMAP: NO -Checking for HAVE_SECURE_MKSTEMP: OK -Checking for HAVE_IFACE_GETIFADDRS: OK -Checking for kernel change notify support: OK -Checking for Linux kernel oplocks: OK -Checking for kernel share modes: OK -Checking if can we convert from CP850 to UCS-2LE: OK -Checking if can we convert from UTF-8 to UCS-2LE: OK -Checking whether we can use Linux thread-specific credentials with 32-bit system calls: OK -Checking whether we can use Linux thread-specific credentials: OK -Checking whether setreuid is available: OK -Checking whether setresuid is available: OK -Checking whether seteuid is available: OK -Checking whether fcntl locking is available: OK -Checking whether fcntl lock supports open file description locks: OK -Checking for the maximum value of the 'time_t' type: OK -Checking whether the realpath function allows a NULL argument: OK -Checking whether POSIX capabilities are available: OK -Checking for ftruncate extend: OK -vfs_fileid checking for statfs() and struct statfs.f_fsid: OK -getcwd takes a NULL argument: OK -Checking uname sysname type: "Linux" -Checking uname release type: "3.0.0" -Checking uname version type: "#1 Tue Nov 1 12:34:56 UTC 2013" -Checking value of NSIG: "65" -Checking value of _NSIG: "65" -Checking value of SIGRTMAX: "64" -Checking value of SIGRTMIN: "34" -Checking errno of iconv for illegal multibyte sequence: "0" -checking for clnt_create(): OK -Checking for a 64-bit host to support lmdb: NO -Checking value of GNUTLS_CIPHER_AES_128_CFB8: 29 -Checking value of GNUTLS_MAC_AES_CMAC_128: 203 -Checking whether fcntl supports flags to send direct I/O availability signals: OK diff --git a/buildroot-2021.05/package/samba4/samba4.hash b/buildroot-2021.05/package/samba4/samba4.hash deleted file mode 100644 index 905ec14c..00000000 --- a/buildroot-2021.05/package/samba4/samba4.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -# https://download.samba.org/pub/samba/stable/samba-4.14.4.tar.asc -sha256 89af092a0b00f5354ed287f0aa37b8c2cf9ba2ce67ea6464192e2c18528f89b9 samba-4.14.4.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/samba4/samba4.mk b/buildroot-2021.05/package/samba4/samba4.mk deleted file mode 100644 index 409e2c7a..00000000 --- a/buildroot-2021.05/package/samba4/samba4.mk +++ /dev/null @@ -1,197 +0,0 @@ -################################################################################ -# -# samba4 -# -################################################################################ - -SAMBA4_VERSION = 4.14.4 -SAMBA4_SITE = https://download.samba.org/pub/samba/stable -SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz -SAMBA4_INSTALL_STAGING = YES -SAMBA4_LICENSE = GPL-3.0+ -SAMBA4_LICENSE_FILES = COPYING -SAMBA4_CPE_ID_VENDOR = samba -SAMBA4_CPE_ID_PRODUCT = samba -SAMBA4_DEPENDENCIES = \ - host-e2fsprogs host-heimdal host-nfs-utils \ - host-perl host-perl-parse-yapp host-python3 \ - cmocka e2fsprogs gnutls popt zlib \ - $(if $(BR2_PACKAGE_LIBAIO),libaio) \ - $(if $(BR2_PACKAGE_LIBCAP),libcap) \ - $(if $(BR2_PACKAGE_READLINE),readline) \ - $(TARGET_NLS_DEPENDENCIES) -SAMBA4_CFLAGS = $(TARGET_CFLAGS) -SAMBA4_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) -SAMBA4_CONF_ENV = \ - CFLAGS="$(SAMBA4_CFLAGS)" \ - LDFLAGS="$(SAMBA4_LDFLAGS)" \ - XSLTPROC=false \ - WAF_NO_PREFORK=1 - -SAMBA4_PYTHON = PYTHON="$(HOST_DIR)/bin/python3" -ifeq ($(BR2_PACKAGE_PYTHON3),y) -SAMBA4_PYTHON += PYTHON_CONFIG="$(STAGING_DIR)/usr/bin/python3-config" -SAMBA4_DEPENDENCIES += python3 -else -SAMBA4_CONF_OPTS += --disable-python -endif - -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -SAMBA4_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc` -SAMBA4_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc` -SAMBA4_DEPENDENCIES += libtirpc host-pkgconf -endif - -ifeq ($(BR2_PACKAGE_ACL),y) -SAMBA4_CONF_OPTS += --with-acl-support -SAMBA4_DEPENDENCIES += acl -else -SAMBA4_CONF_OPTS += --without-acl-support -endif - -ifeq ($(BR2_PACKAGE_CUPS),y) -SAMBA4_CONF_ENV += CUPS_CONFIG="$(STAGING_DIR)/usr/bin/cups-config" -SAMBA4_CONF_OPTS += --enable-cups -SAMBA4_DEPENDENCIES += cups -else -SAMBA4_CONF_OPTS += --disable-cups -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -SAMBA4_DEPENDENCIES += dbus -SAMBA4_SHARED_MODULES += vfs_snapper -else -SAMBA4_SHARED_MODULES += !vfs_snapper -endif - -ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_AVAHI_DAEMON),yy) -SAMBA4_CONF_OPTS += --enable-avahi -SAMBA4_DEPENDENCIES += avahi -else -SAMBA4_CONF_OPTS += --disable-avahi -endif - -ifeq ($(BR2_PACKAGE_GAMIN),y) -SAMBA4_CONF_OPTS += --with-fam -SAMBA4_DEPENDENCIES += gamin -else -SAMBA4_CONF_OPTS += --without-fam -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) -SAMBA4_CONF_OPTS += --with-libarchive -SAMBA4_DEPENDENCIES += libarchive -else -SAMBA4_CONF_OPTS += --without-libarchive -endif - -ifeq ($(BR2_PACKAGE_NCURSES),y) -SAMBA4_CONF_ENV += NCURSES_CONFIG="$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)" -SAMBA4_DEPENDENCIES += ncurses -else -SAMBA4_CONF_OPTS += --without-regedit -endif - -# The ctdb tests (cluster) need bash and take up some space -# They're normally intended for debugging so remove them -define SAMBA4_REMOVE_CTDB_TESTS - rm -rf $(TARGET_DIR)/usr/lib/ctdb-tests - rm -rf $(TARGET_DIR)/usr/share/ctdb-tests - rm -f $(TARGET_DIR)/usr/bin/ctdb_run_*tests -endef -SAMBA4_POST_INSTALL_TARGET_HOOKS += SAMBA4_REMOVE_CTDB_TESTS - -define SAMBA4_CONFIGURE_CMDS - $(INSTALL) -m 0644 package/samba4/samba4-cache.txt $(@D)/cache.txt; - echo 'Checking whether fcntl supports setting/geting hints: $(if $(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13),OK,NO)' >>$(@D)/cache.txt; - echo 'Checking uname machine type: $(BR2_ARCH)' >>$(@D)/cache.txt; - (cd $(@D); \ - $(SAMBA4_PYTHON) \ - python_LDFLAGS="" \ - python_LIBDIR="" \ - PERL="$(HOST_DIR)/bin/perl" \ - $(TARGET_CONFIGURE_OPTS) \ - $(SAMBA4_CONF_ENV) \ - ./buildtools/bin/waf configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --with-libiconv=$(STAGING_DIR)/usr \ - --enable-fhs \ - --cross-compile \ - --cross-answers=$(@D)/cache.txt \ - --hostcc=gcc \ - --disable-rpath \ - --disable-rpath-install \ - --disable-iprint \ - --without-pam \ - --without-dmapi \ - --without-gpgme \ - --without-ldb-lmdb \ - --disable-glusterfs \ - --with-cluster-support \ - --bundled-libraries='!asn1_compile,!compile_et' \ - --with-shared-modules=$(subst $(space),$(comma),$(strip $(SAMBA4_SHARED_MODULES))) \ - $(SAMBA4_CONF_OPTS) \ - ) -endef - -define SAMBA4_BUILD_CMDS - $(TARGET_MAKE_ENV) $(SAMBA4_PYTHON) $(MAKE) -C $(@D) -endef - -define SAMBA4_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(SAMBA4_PYTHON) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install -endef - -define SAMBA4_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(SAMBA4_PYTHON) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -ifeq ($(BR2_PACKAGE_SAMBA4_AD_DC),y) -# host-python-dnspython and host-python-markdown are not strictly -# needed on the host, but on the target. however, samba's configure -# tests for their availability on the host. -SAMBA4_DEPENDENCIES += \ - jansson \ - host-python-dnspython \ - host-python-markdown \ - python-dnspython \ - python-markdown -else -SAMBA4_CONF_OPTS += --without-ad-dc --without-json -endif - -ifeq ($(BR2_PACKAGE_SAMBA4_ADS),y) -SAMBA4_CONF_OPTS += --with-ads --with-ldap -SAMBA4_DEPENDENCIES += openldap -SAMBA4_SHARED_MODULES += idmap_ad -else -SAMBA4_CONF_OPTS += --without-ads --without-ldap -SAMBA4_SHARED_MODULES += !idmap_ad -endif - -ifeq ($(BR2_PACKAGE_SAMBA4_SMBTORTURE),) -define SAMBA4_REMOVE_SMBTORTURE - rm -f $(TARGET_DIR)/usr/bin/smbtorture -endef -SAMBA4_POST_INSTALL_TARGET_HOOKS += SAMBA4_REMOVE_SMBTORTURE -endif - -define SAMBA4_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/samba4/S91smb \ - $(TARGET_DIR)/etc/init.d/S91smb -endef - -ifeq ($(BR2_INIT_SYSTEMD),y) -SAMBA4_CONF_OPTS += --systemd-install-services -SAMBA4_DEPENDENCIES += systemd -endif - -define SAMBA4_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(@D)/packaging/systemd/samba.conf.tmp \ - $(TARGET_DIR)/usr/lib/tmpfiles.d/samba.conf - printf "d /var/log/samba 755 root root\n" >>$(TARGET_DIR)/usr/lib/tmpfiles.d/samba.conf -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sbc/sbc.hash b/buildroot-2021.05/package/sbc/sbc.hash deleted file mode 100644 index d703f234..00000000 --- a/buildroot-2021.05/package/sbc/sbc.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc -sha256 518bf46e6bb3dc808a95e1eabad26fdebe8a099c1e781c27ed7fca6c2f4a54c9 sbc-1.4.tar.xz - -# sha256 locally computed -sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING -sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB diff --git a/buildroot-2021.05/package/sbc/sbc.mk b/buildroot-2021.05/package/sbc/sbc.mk deleted file mode 100644 index 73e4aceb..00000000 --- a/buildroot-2021.05/package/sbc/sbc.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# sbc -# -################################################################################ - -SBC_VERSION = 1.4 -SBC_SOURCE = sbc-$(SBC_VERSION).tar.xz -SBC_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth -SBC_INSTALL_STAGING = YES -SBC_DEPENDENCIES = libsndfile host-pkgconf -SBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) -SBC_LICENSE_FILES = COPYING COPYING.LIB - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sconeserver/sconeserver.mk b/buildroot-2021.05/package/sconeserver/sconeserver.mk deleted file mode 100644 index 17407c29..00000000 --- a/buildroot-2021.05/package/sconeserver/sconeserver.mk +++ /dev/null @@ -1,98 +0,0 @@ -################################################################################ -# -# sconeserver -# -################################################################################ - -SCONESERVER_VERSION = 6b932d7d8dbb700b830205e7111e469cefff490c -SCONESERVER_SITE = $(call github,sconemad,sconeserver,$(SCONESERVER_VERSION)) -SCONESERVER_LICENSE = GPL-2.0+ -SCONESERVER_LICENSE_FILES = COPYING -# fetching from Git, we need to generate the configure script -SCONESERVER_AUTORECONF = YES -SCONESERVER_DEPENDENCIES = \ - host-pkgconf \ - $(if $(BR2_PACKAGE_PCRE),pcre) \ - zlib -# disable image as it fails to build with ImageMagick -# disable markdown module because its git submodule cmark -# https://github.com/sconemad/sconeserver/tree/master/markdown -# has no cross-compile support provided by the sconeserver build system -SCONESERVER_CONF_OPTS += \ - --with-ip \ - --with-local \ - --with-ip6 \ - --without-image \ - --without-markdown - -# Sconeserver configure script fails to find the libxml2 headers. -ifeq ($(BR2_PACKAGE_LIBXML2),y) -SCONESERVER_CONF_OPTS += \ - --with-xml2-config="$(STAGING_DIR)/usr/bin/xml2-config" -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SCONESERVER_DEPENDENCIES += openssl -SCONESERVER_CONF_OPTS += --with-ssl -else -SCONESERVER_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_EXAMPLES),y) -SCONESERVER_CONF_OPTS += --with-examples -else -SCONESERVER_CONF_OPTS += --without-examples -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE),y) -SCONESERVER_DEPENDENCIES += libxml2 -SCONESERVER_CONF_OPTS += --with-sconesite -else -SCONESERVER_CONF_OPTS += --without-sconesite -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y) -SCONESERVER_DEPENDENCIES += mysql -SCONESERVER_CONF_OPTS += \ - --with-mysql \ - --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \ - LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql" -else -SCONESERVER_CONF_OPTS += --without-mysql -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_BLUETOOTH),y) -SCONESERVER_DEPENDENCIES += bluez5_utils -SCONESERVER_CONF_OPTS += --with-bluetooth -else -SCONESERVER_CONF_OPTS += --without-bluetooth -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_RSS),y) -SCONESERVER_DEPENDENCIES += libxml2 -SCONESERVER_CONF_OPTS += --with-rss -else -SCONESERVER_CONF_OPTS += --without-rss -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_LOCATION),y) -SCONESERVER_DEPENDENCIES += gpsd -SCONESERVER_CONF_OPTS += --with-location -else -SCONESERVER_CONF_OPTS += --without-location -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_MATHS),y) -SCONESERVER_DEPENDENCIES += mpfr -SCONESERVER_CONF_OPTS += --with-maths -else -SCONESERVER_CONF_OPTS += --without-maths -endif - -ifeq ($(BR2_PACKAGE_SCONESERVER_TESTBUILDER),y) -SCONESERVER_CONF_OPTS += --with-testbuilder -else -SCONESERVER_CONF_OPTS += --without-testbuilder -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/scons/scons.mk b/buildroot-2021.05/package/scons/scons.mk deleted file mode 100644 index da2ccceb..00000000 --- a/buildroot-2021.05/package/scons/scons.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# scons -# -################################################################################ - -SCONS_VERSION = 3.1.2 -SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION) -SCONS_LICENSE = MIT -SCONS_LICENSE_FILES = LICENSE.txt -SCONS_SETUP_TYPE = distutils - -HOST_SCONS_INSTALL_OPTS = \ - --install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION) - -$(eval $(host-python-package)) - -# variables used by other packages -SCONS = $(HOST_DIR)/bin/scons $(if $(QUIET),-s) diff --git a/buildroot-2021.05/package/screen/screen.mk b/buildroot-2021.05/package/screen/screen.mk deleted file mode 100644 index f75f92cb..00000000 --- a/buildroot-2021.05/package/screen/screen.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# screen -# -################################################################################ - -SCREEN_VERSION = 4.8.0 -SCREEN_SITE = $(BR2_GNU_MIRROR)/screen -SCREEN_LICENSE = GPL-3.0+ -SCREEN_LICENSE_FILES = COPYING -SCREEN_CPE_ID_VENDOR = gnu -SCREEN_DEPENDENCIES = ncurses -SCREEN_AUTORECONF = YES -SCREEN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS)" -SCREEN_CONF_OPTS = --enable-colors256 -SCREEN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin - -# 0008_CVE-2021-26937.patch -SCREEN_IGNORE_CVES += CVE-2021-26937 - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -SCREEN_DEPENDENCIES += linux-pam -SCREEN_CONF_OPTS += --enable-pam -else -SCREEN_CONF_OPTS += --disable-pam -endif - -define SCREEN_INSTALL_SCREENRC - $(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc -endef -SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC - -# Add /usr/bin/screen to /etc/shells otherwise some login tools like dropbear -# can reject the user connection. See man shells. -define SCREEN_ADD_SCREEN_TO_SHELLS - grep -qsE '^/usr/bin/screen$$' $(TARGET_DIR)/etc/shells \ - || echo "/usr/bin/screen" >> $(TARGET_DIR)/etc/shells -endef -SCREEN_TARGET_FINALIZE_HOOKS += SCREEN_ADD_SCREEN_TO_SHELLS - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sdbusplus/sdbusplus.mk b/buildroot-2021.05/package/sdbusplus/sdbusplus.mk deleted file mode 100644 index f4e25808..00000000 --- a/buildroot-2021.05/package/sdbusplus/sdbusplus.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# sdbusplus -# -################################################################################ - -SDBUSPLUS_VERSION = 4212292bcf136d04b38ba5116aa568b0fa312798 -SDBUSPLUS_SITE = $(call github,openbmc,sdbusplus,$(SDBUSPLUS_VERSION)) -SDBUSPLUS_DEPENDENCIES = host-autoconf-archive host-pkgconf systemd -HOST_SDBUSPLUS_DEPENDENCIES = \ - host-autoconf-archive \ - host-pkgconf \ - $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) \ - host-python-inflection \ - host-python-mako \ - host-python-pyyaml -SDBUSPLUS_CONF_OPTS = --disable-sdbuspp -HOST_SDBUSPLUS_CONF_OPTS = --disable-libsdbusplus -SDBUSPLUS_AUTORECONF = YES -SDBUSPLUS_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive -SDBUSPLUS_INSTALL_STAGING = YES -SDBUSPLUS_LICENSE = Apache-2.0 -SDBUSPLUS_LICENSE_FILES = LICENSE - -# Autoreconf is missing the m4/ directory, which might actually be missing -# iff it was the first argument, but unfortunately we are overriding the -# first include directory above. Thus we need that hook here. -define SDBUSPLUS_CREATE_M4 - mkdir -p $(@D)/m4 -endef -SDBUSPLUS_POST_PATCH_HOOKS += SDBUSPLUS_CREATE_M4 -HOST_SDBUSPLUS_POST_PATCH_HOOKS += SDBUSPLUS_CREATE_M4 - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/sdl2/0001-src-video-kmsdrm-SDL_kmsdrmvideo.c-fix-build.patch b/buildroot-2021.05/package/sdl2/0001-src-video-kmsdrm-SDL_kmsdrmvideo.c-fix-build.patch deleted file mode 100644 index 47a13300..00000000 --- a/buildroot-2021.05/package/sdl2/0001-src-video-kmsdrm-SDL_kmsdrmvideo.c-fix-build.patch +++ /dev/null @@ -1,39 +0,0 @@ -From d265b1ee94aa4faf5fa405f14cc731a25d7a00ab Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 24 Mar 2020 14:11:14 +0100 -Subject: [PATCH] src/video/kmsdrm/SDL_kmsdrmvideo.c: fix build - -Build is broken without EGL since version 2.0.12 and -https://hg.libsdl.org/SDL/rev/9761858bd6a3: - -/home/giuliobenetti/autobuild/run/instance-1/output-1/build/sdl2-2.0.12/src/video/kmsdrm/SDL_kmsdrmvideo.c: In function 'KMSDRM_CreateSurfaces': -/home/giuliobenetti/autobuild/run/instance-1/output-1/build/sdl2-2.0.12/src/video/kmsdrm/SDL_kmsdrmvideo.c:394:5: error: unknown type name 'EGLContext' - EGLContext egl_context; - ^ - -Fixes: - - http://autobuild.buildroot.org/results/fafd20a01591032662f9ca025fcea3478239cf3c - -Signed-off-by: Fabrice Fontaine - -[Upstream: https://hg.libsdl.org/SDL/rev/389ce8cfa2a3] - - -Fixes: - - Update patch to version 2.0.14 - -Signed-off-by: Michael Fischer - -diff -purN a/src/video/kmsdrm/SDL_kmsdrmvideo.c b/src/video/kmsdrm/SDL_kmsdrmvideo.c ---- a/src/video/kmsdrm/SDL_kmsdrmvideo.c 2021-01-08 09:56:44.028217792 +0100 -+++ b/src/video/kmsdrm/SDL_kmsdrmvideo.c 2021-01-08 09:55:52.295932111 +0100 -@@ -1407,7 +1407,9 @@ KMSDRM_CreateSurfaces(_THIS, SDL_Window - uint32_t surface_flags = GBM_BO_USE_SCANOUT | GBM_BO_USE_RENDERING; - uint32_t width, height; - -+#if SDL_VIDEO_OPENGL_EGL - EGLContext egl_context; -+#endif - - int ret = 0; - diff --git a/buildroot-2021.05/package/sdl2/Config.in b/buildroot-2021.05/package/sdl2/Config.in deleted file mode 100644 index f29b3c7c..00000000 --- a/buildroot-2021.05/package/sdl2/Config.in +++ /dev/null @@ -1,60 +0,0 @@ -config BR2_PACKAGE_SDL2 - bool "sdl2" - depends on !BR2_STATIC_LIBS - help - Simple DirectMedia Layer 2 - SDL2 is a library that allows - programs portable low level access to a video framebuffer, - audio output, mouse, and keyboard. It is not compatible with - SDL1. - - http://www.libsdl.org/ - -if BR2_PACKAGE_SDL2 - -config BR2_PACKAGE_SDL2_DIRECTFB - bool "DirectFB video driver" - depends on BR2_PACKAGE_DIRECTFB - -comment "DirectFB video driver needs directfb" - depends on !BR2_PACKAGE_DIRECTFB - -config BR2_PACKAGE_SDL2_X11 - bool "X11 video driver" - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - -comment "X11 video driver needs X.org" - depends on !BR2_PACKAGE_XORG7 - depends on BR2_USE_MMU - -config BR2_PACKAGE_SDL2_KMSDRM - bool "KMS/DRM video driver" - depends on BR2_PACKAGE_LIBDRM - -comment "KMS/DRM video driver needs libdrm" - depends on !BR2_PACKAGE_LIBDRM - -config BR2_PACKAGE_SDL2_OPENGL - bool "OpenGL (GLX)" - depends on BR2_PACKAGE_HAS_LIBGL - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_MMU # X11 video driver - select BR2_PACKAGE_SDL2_X11 - -comment "OpenGL support needs X11 and an OpenGL provider" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7 - -config BR2_PACKAGE_SDL2_OPENGLES - bool "OpenGL ES" - depends on BR2_PACKAGE_HAS_LIBGLES - -comment "OpenGL ES support needs an OpenGL ES provider" - depends on !BR2_PACKAGE_HAS_LIBGLES - -endif - -comment "sdl2 needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/sdl2/sdl2.hash b/buildroot-2021.05/package/sdl2/sdl2.hash deleted file mode 100644 index 6b818fb0..00000000 --- a/buildroot-2021.05/package/sdl2/sdl2.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking http://www.libsdl.org/release/SDL2-2.0.14.tar.gz.sig -sha256 d8215b571a581be1332d2106f8036fcb03d12a70bae01e20f424976d275432bc SDL2-2.0.14.tar.gz -# Locally calculated -sha256 ae4df3759a726538607b84c00ab8f8a5567d9f38ad5397486eb9b5c5f626caef COPYING.txt diff --git a/buildroot-2021.05/package/sdl2/sdl2.mk b/buildroot-2021.05/package/sdl2/sdl2.mk deleted file mode 100644 index a2e426e5..00000000 --- a/buildroot-2021.05/package/sdl2/sdl2.mk +++ /dev/null @@ -1,159 +0,0 @@ -################################################################################ -# -# sdl2 -# -################################################################################ - -SDL2_VERSION = 2.0.14 -SDL2_SOURCE = SDL2-$(SDL2_VERSION).tar.gz -SDL2_SITE = http://www.libsdl.org/release -SDL2_LICENSE = Zlib -SDL2_LICENSE_FILES = COPYING.txt -SDL2_CPE_ID_VENDOR = libsdl -SDL2_CPE_ID_PRODUCT = simple_directmedia_layer -SDL2_INSTALL_STAGING = YES -SDL2_CONFIG_SCRIPTS = sdl2-config - -SDL2_CONF_OPTS += \ - --disable-rpath \ - --disable-arts \ - --disable-esd \ - --disable-dbus \ - --disable-pulseaudio \ - --disable-video-wayland - -# We are using autotools build system for sdl2, so the sdl2-config.cmake -# include path are not resolved like for sdl2-config script. -# Remove sdl2-config.cmake file and avoid unsafe include path if this -# file is used by a cmake based package. -# https://bugzilla.libsdl.org/show_bug.cgi?id=4597 -define SDL2_REMOVE_SDL2_CONFIG_CMAKE - rm -rf $(STAGING_DIR)/usr/lib/cmake/SDL2 -endef -SDL2_POST_INSTALL_STAGING_HOOKS += SDL2_REMOVE_SDL2_CONFIG_CMAKE - -# We must enable static build to get compilation successful. -SDL2_CONF_OPTS += --enable-static - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -SDL2_DEPENDENCIES += udev -SDL2_CONF_OPTS += --enable-libudev -else -SDL2_CONF_OPTS += --disable-libudev -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE),y) -SDL2_CONF_OPTS += --enable-sse -else -SDL2_CONF_OPTS += --disable-sse -endif - -ifeq ($(BR2_X86_CPU_HAS_3DNOW),y) -SDL2_CONF_OPTS += --enable-3dnow -else -SDL2_CONF_OPTS += --disable-3dnow -endif - -ifeq ($(BR2_PACKAGE_SDL2_DIRECTFB),y) -SDL2_DEPENDENCIES += directfb -SDL2_CONF_OPTS += --enable-video-directfb -SDL2_CONF_ENV = ac_cv_path_DIRECTFBCONFIG=$(STAGING_DIR)/usr/bin/directfb-config -else -SDL2_CONF_OPTS += --disable-video-directfb -endif - -ifeq ($(BR2_PACKAGE_SDL2_OPENGLES)$(BR2_PACKAGE_RPI_USERLAND),yy) -SDL2_DEPENDENCIES += rpi-userland -SDL2_CONF_OPTS += --enable-video-rpi -else -SDL2_CONF_OPTS += --disable-video-rpi -endif - -# x-includes and x-libraries must be set for cross-compiling -# By default x_includes and x_libraries contains unsafe paths. -# (/usr/X11R6/include and /usr/X11R6/lib) -ifeq ($(BR2_PACKAGE_SDL2_X11),y) -SDL2_DEPENDENCIES += xlib_libX11 xlib_libXext - -# X11/extensions/shape.h is provided by libXext. -SDL2_CONF_OPTS += --enable-video-x11 \ - --with-x=$(STAGING_DIR) \ - --x-includes=$(STAGING_DIR)/usr/include \ - --x-libraries=$(STAGING_DIR)/usr/lib \ - --enable-video-x11-xshape - -ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) -SDL2_DEPENDENCIES += xlib_libXcursor -SDL2_CONF_OPTS += --enable-video-x11-xcursor -else -SDL2_CONF_OPTS += --disable-video-x11-xcursor -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) -SDL2_DEPENDENCIES += xlib_libXinerama -SDL2_CONF_OPTS += --enable-video-x11-xinerama -else -SDL2_CONF_OPTS += --disable-video-x11-xinerama -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) -SDL2_DEPENDENCIES += xlib_libXi -SDL2_CONF_OPTS += --enable-video-x11-xinput -else -SDL2_CONF_OPTS += --disable-video-x11-xinput -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) -SDL2_DEPENDENCIES += xlib_libXrandr -SDL2_CONF_OPTS += --enable-video-x11-xrandr -else -SDL2_CONF_OPTS += --disable-video-x11-xrandr -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXSCRNSAVER),y) -SDL2_DEPENDENCIES += xlib_libXScrnSaver -SDL2_CONF_OPTS += --enable-video-x11-scrnsaver -else -SDL2_CONF_OPTS += --disable-video-x11-scrnsaver -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) -SDL2_DEPENDENCIES += xlib_libXxf86vm -SDL2_CONF_OPTS += --enable-video-x11-vm -else -SDL2_CONF_OPTS += --disable-video-x11-vm -endif - -else -SDL2_CONF_OPTS += --disable-video-x11 --without-x -endif - -ifeq ($(BR2_PACKAGE_SDL2_OPENGL),y) -SDL2_CONF_OPTS += --enable-video-opengl -SDL2_DEPENDENCIES += libgl -else -SDL2_CONF_OPTS += --disable-video-opengl -endif - -ifeq ($(BR2_PACKAGE_SDL2_OPENGLES),y) -SDL2_CONF_OPTS += --enable-video-opengles -SDL2_DEPENDENCIES += libgles -else -SDL2_CONF_OPTS += --disable-video-opengles -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -SDL2_DEPENDENCIES += alsa-lib -SDL2_CONF_OPTS += --enable-alsa -else -SDL2_CONF_OPTS += --disable-alsa -endif - -ifeq ($(BR2_PACKAGE_SDL2_KMSDRM),y) -SDL2_DEPENDENCIES += libdrm -SDL2_CONF_OPTS += --enable-video-kmsdrm -else -SDL2_CONF_OPTS += --disable-video-kmsdrm -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sdl2_ttf/sdl2_ttf.hash b/buildroot-2021.05/package/sdl2_ttf/sdl2_ttf.hash deleted file mode 100644 index 16459e4a..00000000 --- a/buildroot-2021.05/package/sdl2_ttf/sdl2_ttf.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 a9eceb1ad88c1f1545cd7bd28e7cbc0b2c14191d40238f531a15b01b1b22cd33 SDL2_ttf-2.0.15.tar.gz -sha256 f6370809c9f644760920d9945c5be07aed17664975f2e4741013d4d9a2ec696f COPYING.txt diff --git a/buildroot-2021.05/package/sdl2_ttf/sdl2_ttf.mk b/buildroot-2021.05/package/sdl2_ttf/sdl2_ttf.mk deleted file mode 100644 index 326cb993..00000000 --- a/buildroot-2021.05/package/sdl2_ttf/sdl2_ttf.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# sdl2_ttf -# -################################################################################ - -SDL2_TTF_VERSION = 2.0.15 -SDL2_TTF_SOURCE = SDL2_ttf-$(SDL2_TTF_VERSION).tar.gz -SDL2_TTF_SITE = http://www.libsdl.org/projects/SDL_ttf/release -SDL2_TTF_LICENSE = Zlib -SDL2_TTF_LICENSE_FILES = COPYING.txt -SDL2_TTF_INSTALL_STAGING = YES -SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf - -SDL2_TTF_CONF_ENV = \ - FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config - -# x-includes and x-libraries must be set for cross-compiling -# By default x_includes and x_libraries contains unsafe paths. -# (/usr/include and /usr/lib) -ifeq ($(BR2_PACKAGE_SDL2_X11),y) -SDL2_TTF_CONF_OPTS += \ - --with-x \ - --x-includes=$(STAGING_DIR)/usr/include \ - --x-libraries=$(STAGING_DIR)/usr/lib -else -SDL2_TTF_CONF_OPTS += \ - --without-x -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch b/buildroot-2021.05/package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch deleted file mode 100644 index 07346001..00000000 --- a/buildroot-2021.05/package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch +++ /dev/null @@ -1,63 +0,0 @@ -From abf3a1b9c9cdacb574c2b9cdbf3f2a5e18c39ab9 Mon Sep 17 00:00:00 2001 -From: Rodrigo Rebello -Date: Mon, 29 Feb 2016 22:53:49 -0300 -Subject: [PATCH 1/1] Add 'Libs.private' field to pkg-config file - -In order to support static linking, SDL_mixer.pc should include a -'Libs.private' field listing all the libraries that SDL_mixer requires. - -This patch adds such a field and also modifies configure.ac so that -EXTRA_LDFLAGS (which is now also used as the value of 'Libs.private') -no longer includes SDL_LIBS. This is done so as to prevent libraries -required by SDL from being listed twice when 'pkg-config --libs --static -SDL_mixer' is run (they're already shown because of the 'Requires: sdl' -line in SDL_mixer.pc). Makefile.in is also adjusted accordingly. - -Upstream status: submitted -https://bugzilla.libsdl.org/show_bug.cgi?id=3278 - -Signed-off-by: Rodrigo Rebello ---- - Makefile.in | 2 +- - SDL_mixer.pc.in | 1 + - configure.ac | 1 - - 3 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 027a99b..18015a2 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -61,7 +61,7 @@ $(objects): - .PHONY: all install install-hdrs install-lib install-bin uninstall uninstall-hdrs uninstall-lib uninstall-bin clean distclean dist - - $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS) -- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) -+ $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(SDL_LIBS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) - - $(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET) - $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(LDFLAGS) $(objects)/$(TARGET) -diff --git a/SDL_mixer.pc.in b/SDL_mixer.pc.in -index 1c4965d..d793521 100644 ---- a/SDL_mixer.pc.in -+++ b/SDL_mixer.pc.in -@@ -8,5 +8,6 @@ Description: mixer library for Simple DirectMedia Layer - Version: @VERSION@ - Requires: sdl >= @SDL_VERSION@ - Libs: -L${libdir} -lSDL_mixer -+Libs.private: @EXTRA_LDFLAGS@ - Cflags: -I${includedir}/SDL - -diff --git a/configure.ac b/configure.ac -index 01a3d83..3ad3b4f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -200,7 +200,6 @@ AM_PATH_SDL($SDL_VERSION, - AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) - ) - EXTRA_CFLAGS="$EXTRA_CFLAGS $SDL_CFLAGS" --EXTRA_LDFLAGS="$EXTRA_LDFLAGS $SDL_LIBS" - - dnl Check for math library - AC_CHECK_LIB(m, pow, [LIBM="-lm"]) --- -2.27.0 diff --git a/buildroot-2021.05/package/sdl_ttf/sdl_ttf.mk b/buildroot-2021.05/package/sdl_ttf/sdl_ttf.mk deleted file mode 100644 index 25400044..00000000 --- a/buildroot-2021.05/package/sdl_ttf/sdl_ttf.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# sdl_ttf -# -################################################################################ - -# There is unlikely to be a new SDL_ttf release for the foreseeable future: -# https://bugzilla.libsdl.org/show_bug.cgi?id=5344#c1 -SDL_TTF_VERSION = 70b2940cc75e92aab02a67d2f827caf2836a2c74 -SDL_TTF_SITE = $(call github,libsdl-org,SDL_ttf,$(SDL_TTF_VERSION)) -SDL_TTF_LICENSE = Zlib -SDL_TTF_LICENSE_FILES = COPYING - -SDL_TTF_INSTALL_STAGING = YES -SDL_TTF_DEPENDENCIES = sdl freetype -SDL_TTF_CONF_OPTS = \ - --without-x \ - --with-freetype-prefix=$(STAGING_DIR)/usr \ - --with-sdl-prefix=$(STAGING_DIR)/usr - -SDL_TTF_MAKE_OPTS = INCLUDES="-I$(STAGING_DIR)/usr/include/SDL" LDFLAGS="-L$(STAGING_DIR)/usr/lib" -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/selinux-python/Config.in b/buildroot-2021.05/package/selinux-python/Config.in deleted file mode 100644 index 0f1c2817..00000000 --- a/buildroot-2021.05/package/selinux-python/Config.in +++ /dev/null @@ -1,48 +0,0 @@ -config BR2_PACKAGE_SELINUX_PYTHON - bool "selinux-python" - depends on !BR2_PACKAGE_PYTHON - depends on BR2_USE_MMU - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_PYTHON3 - help - A set of SELinux tools written in python that help with - managing a system with SELinux enabled. If no packages are - selected nothing will actually be built. - - https://github.com/SELinuxProject/selinux/wiki - -if BR2_PACKAGE_SELINUX_PYTHON - -config BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW - bool "audit2allow" - select BR2_PACKAGE_CHECKPOLICY - select BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN - select BR2_PACKAGE_SEMODULE_UTILS - help - This module installs two programs: - - audit2allow - Generate SELinux policy allow/dontaudit rules - from logs of denied operations. - - audit2why - translates SELinux audit messages into a - description of why the access was denied (audit2allow -w) - -config BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN - bool "sepolgen" - select BR2_PACKAGE_SEMODULE_UTILS - help - This package contains a Python module that allows you to - generate an initial SELinux policy module template. - -endif - -comment "selinux-python needs python3" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PYTHON - -comment "selinux-python packages needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/selinux-python/selinux-python.hash b/buildroot-2021.05/package/selinux-python/selinux-python.hash deleted file mode 100644 index f896168f..00000000 --- a/buildroot-2021.05/package/selinux-python/selinux-python.hash +++ /dev/null @@ -1,5 +0,0 @@ -# https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 f4d0a1a030bc291a6af498b26e0676b745075dd289a8ba16cdec86c3ea8f2f02 selinux-python-3.1.tar.gz - -# Hash for license file -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2021.05/package/selinux-python/selinux-python.mk b/buildroot-2021.05/package/selinux-python/selinux-python.mk deleted file mode 100644 index 3b1e15bd..00000000 --- a/buildroot-2021.05/package/selinux-python/selinux-python.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# selinux-python -# -################################################################################ - -SELINUX_PYTHON_VERSION = 3.1 -SELINUX_PYTHON_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 -SELINUX_PYTHON_LICENSE = GPL-2.0 -SELINUX_PYTHON_LICENSE_FILES = COPYING -SELINUX_PYTHON_DEPENDENCIES = python3 - -SELINUX_PYTHON_MAKE_OPTS += \ - $(TARGET_CONFIGURE_OPTS) \ - ARCH="$(BR2_ARCH)" \ - LIBDIR="$(STAGING_DIR)/usr/lib" \ - PYTHONLIBDIR="usr/lib/python$(PYTHON3_VERSION_MAJOR)" - -ifeq ($(BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW),y) -SELINUX_PYTHON_DEPENDENCIES += checkpolicy -SELINUX_PYTHON_MAKE_DIRS += audit2allow -endif - -ifeq ($(BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN),y) -SELINUX_PYTHON_MAKE_DIRS += sepolgen/src/sepolgen -endif - -define SELINUX_PYTHON_BUILD_CMDS - $(foreach d,$(SELINUX_PYTHON_MAKE_DIRS), - $(MAKE) -C $(@D)/$(d) $(SELINUX_PYTHON_MAKE_OPTS) \ - all - ) -endef - -define SELINUX_PYTHON_INSTALL_TARGET_CMDS - $(foreach d,$(SELINUX_PYTHON_MAKE_DIRS), - $(MAKE) -C $(@D)/$(d) $(SELINUX_PYTHON_MAKE_OPTS) \ - DESTDIR=$(TARGET_DIR) install - ) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/semodule-utils/Config.in b/buildroot-2021.05/package/semodule-utils/Config.in deleted file mode 100644 index 38e043dc..00000000 --- a/buildroot-2021.05/package/semodule-utils/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_SEMODULE_UTILS - bool "semodule-utils" - depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol - select BR2_PACKAGE_LIBSEPOL - help - semodule-utils is a package that contains tools for handling - selinux modules. - - The package will install the following utilities: - * semodule_deps - Show the dependencies between SELinux - policy packages. - * semodule_expand - Expand a SELinux policy module package. - * semodule_link - Link SELinux policy module packages together - * semodule_package - Create a SELinux policy module package. - - https://github.com/SELinuxProject/selinux/wiki/Releases - -comment "semodule-utils needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/semodule-utils/semodule-utils.hash b/buildroot-2021.05/package/semodule-utils/semodule-utils.hash deleted file mode 100644 index d015205d..00000000 --- a/buildroot-2021.05/package/semodule-utils/semodule-utils.hash +++ /dev/null @@ -1,5 +0,0 @@ -# https://github.com/SELinuxProject/selinux/wiki/Releases -sha256 0cc37f9cec751d9c2abb5f2b228b060567e973cb47c19b53b8a4a7378baaa853 semodule-utils-3.1.tar.gz - -# Hash for license file -sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2021.05/package/semodule-utils/semodule-utils.mk b/buildroot-2021.05/package/semodule-utils/semodule-utils.mk deleted file mode 100644 index c89f28d6..00000000 --- a/buildroot-2021.05/package/semodule-utils/semodule-utils.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# semodule-utils -# -################################################################################ - -SEMODULE_UTILS_VERSION = 3.1 -SEMODULE_UTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/20200710 -SEMODULE_UTILS_LICENSE = GPL-2.0 -SEMODULE_UTILS_LICENSE_FILES = COPYING -SEMODULE_UTILS_DEPENDENCIES = libsepol - -SEMODULE_UTILS_MAKE_OPTS += \ - $(TARGET_CONFIGURE_OPTS) \ - LIBSEPOLA=$(STAGING_DIR)/usr/lib/libsepol.a - -# We need to pass DESTDIR at build time because it's used by -# semodule-utils build system to find headers and libraries. -define SEMODULE_UTILS_BUILD_CMDS - $(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all -endef - -define SEMODULE_UTILS_INSTALL_TARGET_CMDS - $(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sentry-cli/sentry-cli.hash b/buildroot-2021.05/package/sentry-cli/sentry-cli.hash deleted file mode 100644 index 3b0733a2..00000000 --- a/buildroot-2021.05/package/sentry-cli/sentry-cli.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally calculated -sha256 5d0f7acf6a139d1c1716b9a8ff76c8bfaab09104ba663c957bb9a5dba2ffbabd sentry-cli-1.57.0.tar.gz -sha256 9503def7b54ceb6e3cd182fd59bc05d3a30d7eae481e65aaba4b495133c83c14 LICENSE diff --git a/buildroot-2021.05/package/sentry-cli/sentry-cli.mk b/buildroot-2021.05/package/sentry-cli/sentry-cli.mk deleted file mode 100644 index 7e53f160..00000000 --- a/buildroot-2021.05/package/sentry-cli/sentry-cli.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# sentry-cli -# -################################################################################ - -SENTRY_CLI_VERSION = 1.57.0 -SENTRY_CLI_SITE = $(call github,getsentry,sentry-cli,$(SENTRY_CLI_VERSION)) -SENTRY_CLI_LICENSE = BSD-3-clause -SENTRY_CLI_LICENSE_FILES = LICENSE - -HOST_SENTRY_CLI_DEPENDENCIES = host-rustc host-zlib - -HOST_SENTRY_CLI_CARGO_ENV = \ - CARGO_HOME=$(HOST_DIR)/share/cargo \ - RUSTFLAGS="$(addprefix -C link-args=,$(HOST_LDFLAGS))" - -HOST_SENTRY_CLI_CARGO_OPTS = \ - --release \ - --manifest-path=$(@D)/Cargo.toml - -define HOST_SENTRY_CLI_BUILD_CMDS - $(HOST_MAKE_ENV) $(HOST_SENTRY_CLI_CARGO_ENV) \ - cargo build $(HOST_SENTRY_CLI_CARGO_OPTS) -endef - -define HOST_SENTRY_CLI_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/target/release/sentry-cli \ - $(HOST_DIR)/bin/sentry-cli -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/ser2net/ser2net.hash b/buildroot-2021.05/package/ser2net/ser2net.hash deleted file mode 100644 index c6f0bb12..00000000 --- a/buildroot-2021.05/package/ser2net/ser2net.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://sourceforge.net/projects/ser2net/files/ser2net/ -md5 8209d3dc88a6e16b4f62adbc367e510a ser2net-4.3.3.tar.gz -sha1 d735a3f6daaa8334e0ef5d8d1a81f88b61dafb8f ser2net-4.3.3.tar.gz -# Locally computed: -sha256 f5be52033a690bd0dd711209a64ebaec024ee4542b1357350aad8489dc2bf720 ser2net-4.3.3.tar.gz -sha256 501f3108e6c03e5a0a5585ebaaa369171aead5319cd0a7a4dc1f66211c1f09f1 COPYING diff --git a/buildroot-2021.05/package/ser2net/ser2net.mk b/buildroot-2021.05/package/ser2net/ser2net.mk deleted file mode 100644 index 0650ba5b..00000000 --- a/buildroot-2021.05/package/ser2net/ser2net.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# ser2net -# -################################################################################ - -SER2NET_VERSION = 4.3.3 -SER2NET_SITE = https://downloads.sourceforge.net/project/ser2net/ser2net -SER2NET_LICENSE = GPL-2.0+ -SER2NET_LICENSE_FILES = COPYING -SER2NET_DEPENDENCIES = gensio libyaml - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -SER2NET_CONF_OPTS += --with-pthreads -else -SER2NET_CONF_OPTS += --without-pthreads -endif - -# fix gensio detection with openssl enabled -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SER2NET_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`" -endif - -define SER2NET_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/ser2net/S50ser2net \ - $(TARGET_DIR)/etc/init.d/S50ser2net -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/setools/0001-remove-werror-flag-from-setup.patch b/buildroot-2021.05/package/setools/0001-remove-werror-flag-from-setup.patch deleted file mode 100644 index 0ab40066..00000000 --- a/buildroot-2021.05/package/setools/0001-remove-werror-flag-from-setup.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 8ab5a49247d870d92a8287db6134877ebf7a4379 Mon Sep 17 00:00:00 2001 -From: Adam Duskett -Date: Thu, 12 Oct 2017 22:04:58 -0400 -Subject: [PATCH] remove werror flag from setup - -Compilers older than gcc6 will generate uninitialized variable warnings which -will cause compiling to fail. - -Signed-off-by: Antoine Tenart -[Refreshed for 4.3.0] -Signed-off-by: Adam Duskett ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index 457c83049ca5..4dcb30196abf 100644 ---- a/setup.py -+++ b/setup.py -@@ -106,7 +106,7 @@ ext_py_mods = [Extension('setools.policyrep', ['setools/policyrep.pyx'], - libraries=['selinux', 'sepol'], - library_dirs=lib_dirs, - define_macros=macros, -- extra_compile_args=['-Werror', '-Wextra', -+ extra_compile_args=['-Wextra', - '-Waggregate-return', - '-Wfloat-equal', - '-Wformat', '-Wformat=2', --- -2.26.2 - diff --git a/buildroot-2021.05/package/setools/0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch b/buildroot-2021.05/package/setools/0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch deleted file mode 100644 index f9519a07..00000000 --- a/buildroot-2021.05/package/setools/0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch +++ /dev/null @@ -1,144 +0,0 @@ -From ae84e5ef59bb24d5b8fd17e6756952f42c2d5c36 Mon Sep 17 00:00:00 2001 -From: rpm-build -Date: Thu, 23 Feb 2017 08:17:07 +0100 -Subject: [PATCH] Do not export/use setools.InfoFlowAnalysis and - setools.DomainTransitionAnalysis - -dta and infoflow modules require networkx which brings lot of dependencies. -These dependencies are not necessary for setools module itself as it's -used in policycoreutils. - -Therefore it's better to use setools.infoflow.InfoFlowAnalysis and -setools.dta.DomainTransitionAnalysis and let the package containing -sedta and seinfoflow to require python3-networkx - -Signed-off-by: Antoine Tenart -[Refreshed for 4.3.0] -Signed-off-by: Adam Duskett ---- - sedta | 3 ++- - seinfoflow | 5 +++-- - setools/__init__.py | 4 ++-- - setoolsgui/apol/dta.py | 2 +- - setoolsgui/apol/infoflow.py | 2 +- - tests/dta.py | 2 +- - tests/infoflow.py | 2 +- - 7 files changed, 11 insertions(+), 9 deletions(-) - -diff --git a/sedta b/sedta -index 60861ca630a5..0056172a55e5 100755 ---- a/sedta -+++ b/sedta -@@ -23,6 +23,7 @@ import logging - import signal - - import setools -+import setools.dta - - - def print_transition(trans): -@@ -114,7 +115,7 @@ else: - - try: - p = setools.SELinuxPolicy(args.policy) -- g = setools.DomainTransitionAnalysis(p, reverse=args.reverse, exclude=args.exclude) -+ g = setools.dta.DomainTransitionAnalysis(p, reverse=args.reverse, exclude=args.exclude) - - if args.shortest_path or args.all_paths: - if args.shortest_path: -diff --git a/seinfoflow b/seinfoflow -index f10c39de4d8e..fe733bbd0787 100755 ---- a/seinfoflow -+++ b/seinfoflow -@@ -18,6 +18,7 @@ - # - - import setools -+import setools.infoflow - import argparse - import sys - import logging -@@ -101,8 +102,8 @@ elif args.booleans is not None: - try: - p = setools.SELinuxPolicy(args.policy) - m = setools.PermissionMap(args.map) -- g = setools.InfoFlowAnalysis(p, m, min_weight=args.min_weight, exclude=args.exclude, -- booleans=booleans) -+ g = setools.infoflow.InfoFlowAnalysis(p, m, min_weight=args.min_weight, exclude=args.exclude, -+ booleans=booleans) - - if args.shortest_path or args.all_paths: - if args.shortest_path: -diff --git a/setools/__init__.py b/setools/__init__.py -index 26fa5aa34a19..9e9058a6bf90 100644 ---- a/setools/__init__.py -+++ b/setools/__init__.py -@@ -75,11 +75,11 @@ from .pcideviceconquery import PcideviceconQuery - from .devicetreeconquery import DevicetreeconQuery - - # Information Flow Analysis --from .infoflow import InfoFlowAnalysis -+# from .infoflow import InfoFlowAnalysis - from .permmap import PermissionMap - - # Domain Transition Analysis --from .dta import DomainTransitionAnalysis -+# from .dta import DomainTransitionAnalysis - - # Policy difference - from .diff import PolicyDifference -diff --git a/setoolsgui/apol/dta.py b/setoolsgui/apol/dta.py -index 4608b9dbf34e..2cde44c142e9 100644 ---- a/setoolsgui/apol/dta.py -+++ b/setoolsgui/apol/dta.py -@@ -23,7 +23,7 @@ from PyQt5.QtCore import pyqtSignal, Qt, QStringListModel, QThread - from PyQt5.QtGui import QPalette, QTextCursor - from PyQt5.QtWidgets import QCompleter, QHeaderView, QMessageBox, QProgressDialog, \ - QTreeWidgetItem --from setools import DomainTransitionAnalysis -+from setools.dta import DomainTransitionAnalysis - - from ..logtosignal import LogHandlerToSignal - from .analysistab import AnalysisTab -diff --git a/setoolsgui/apol/infoflow.py b/setoolsgui/apol/infoflow.py -index 7bca299d23fc..7fee2778f35f 100644 ---- a/setoolsgui/apol/infoflow.py -+++ b/setoolsgui/apol/infoflow.py -@@ -26,7 +26,7 @@ from PyQt5.QtCore import pyqtSignal, Qt, QStringListModel, QThread - from PyQt5.QtGui import QPalette, QTextCursor - from PyQt5.QtWidgets import QCompleter, QHeaderView, QMessageBox, QProgressDialog, \ - QTreeWidgetItem --from setools import InfoFlowAnalysis -+from setools.infoflow import InfoFlowAnalysis - from setools.exception import UnmappedClass, UnmappedPermission - - from ..logtosignal import LogHandlerToSignal -diff --git a/tests/dta.py b/tests/dta.py -index a0cc9381469c..177e6fb0b961 100644 ---- a/tests/dta.py -+++ b/tests/dta.py -@@ -18,7 +18,7 @@ - import os - import unittest - --from setools import DomainTransitionAnalysis -+from setools.dta import DomainTransitionAnalysis - from setools import TERuletype as TERT - from setools.exception import InvalidType - from setools.policyrep import Type -diff --git a/tests/infoflow.py b/tests/infoflow.py -index aa0e44a7e4f8..fca2848aeca5 100644 ---- a/tests/infoflow.py -+++ b/tests/infoflow.py -@@ -18,7 +18,7 @@ - import os - import unittest - --from setools import InfoFlowAnalysis -+from setools.infoflow import InfoFlowAnalysis - from setools import TERuletype as TERT - from setools.exception import InvalidType - from setools.permmap import PermissionMap --- -2.26.2 - diff --git a/buildroot-2021.05/package/setools/Config.in b/buildroot-2021.05/package/setools/Config.in deleted file mode 100644 index 3ab7f559..00000000 --- a/buildroot-2021.05/package/setools/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -config BR2_PACKAGE_SETOOLS - bool "setools" - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_WCHAR - depends on BR2_USE_MMU - depends on BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_NETWORKX # runtime - select BR2_PACKAGE_PYTHON_SETUPTOOLS - select BR2_PACKAGE_LIBSELINUX - help - SETools is an open source project designed to facilitate - SELinux policy analysis. The primary tools are: - * apol - analyze a SELinux policy. (requires python-qt5) - * sediff - semantic policy difference tool for SELinux. - * sedta - Perform domain transition analyses - * seinfoflow - information flow analysis for SELinux - * sesearch - Search rules (allow, type_transition, etc.) - - https://github.com/SELinuxProject/setools/ - -comment "setools needs a toolchain w/ threads, wchar, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ - !BR2_USE_WCHAR - -comment "setools needs python3" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/setools/setools.hash b/buildroot-2021.05/package/setools/setools.hash deleted file mode 100644 index 689b20a3..00000000 --- a/buildroot-2021.05/package/setools/setools.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed -sha256 da2c1d23edd24c4aa17d01d78e86c9e5fb5bf3aa38c71d5d63f41c750f6ef26c setools-4.3.0.tar.gz -sha256 2f7547e10f76a382c24c053595f38a5cc6dda9347f508f254ca490e0046a9624 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/buildroot-2021.05/package/setools/setools.mk b/buildroot-2021.05/package/setools/setools.mk deleted file mode 100644 index a07b1367..00000000 --- a/buildroot-2021.05/package/setools/setools.mk +++ /dev/null @@ -1,52 +0,0 @@ -################################################################################ -# -# setools -# -################################################################################ - -SETOOLS_VERSION = 4.3.0 -SETOOLS_SITE = $(call github,SELinuxProject,setools,$(SETOOLS_VERSION)) -SETOOLS_DEPENDENCIES = libselinux libsepol python-setuptools host-bison host-flex host-python-cython host-swig -SETOOLS_INSTALL_STAGING = YES -SETOOLS_LICENSE = GPL-2.0+, LGPL-2.1+ -SETOOLS_LICENSE_FILES = COPYING COPYING.GPL COPYING.LGPL -SETOOLS_CPE_ID_VENDOR = selinuxproject -SETOOLS_SETUP_TYPE = setuptools -HOST_SETOOLS_DEPENDENCIES = host-python3-cython host-libselinux host-libsepol host-python-networkx -HOST_SETOOLS_NEEDS_HOST_PYTHON = python3 - -define SETOOLS_FIX_SETUP - # By default, setup.py will look for libsepol.a in the host machines - # /usr/lib directory. This needs to be changed to the staging directory. - $(SED) "s@lib_dirs =.*@lib_dirs = ['$(STAGING_DIR)/usr/lib']@g" \ - $(@D)/setup.py -endef -SETOOLS_POST_PATCH_HOOKS += SETOOLS_FIX_SETUP - -define HOST_SETOOLS_FIX_SETUP - # By default, setup.py will look for libsepol.a in the host machines - # /usr/lib directory. This needs to be changed to the host directory. - $(SED) "s@lib_dirs =.*@lib_dirs = ['$(HOST_DIR)/lib']@g" \ - $(@D)/setup.py -endef -HOST_SETOOLS_POST_PATCH_HOOKS += HOST_SETOOLS_FIX_SETUP - -# apol requires pyqt5. However, the setools installation -# process will install apol even if pyqt5 is missing. -# Remove these scripts from the target it pyqt5 is not selected. -ifeq ($(BR2_PACKAGE_PYTHON_PYQT5),) -define SETOOLS_REMOVE_QT_SCRIPTS - $(RM) $(TARGET_DIR)/usr/bin/apol - $(RM) -r $(TARGET_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/setoolsgui/ -endef -SETOOLS_POST_INSTALL_TARGET_HOOKS += SETOOLS_REMOVE_QT_SCRIPTS -endif - -# pyqt5 is not a host-package, remove apol from the host directory. -define HOST_SETOOLS_REMOVE_BROKEN_SCRIPTS - $(RM) $(HOST_DIR)/bin/apol -endef -HOST_SETOOLS_POST_INSTALL_HOOKS += HOST_SETOOLS_REMOVE_BROKEN_SCRIPTS - -$(eval $(python-package)) -$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/sg3_utils/0001-support-uclinux-as-a-linux.patch b/buildroot-2021.05/package/sg3_utils/0001-support-uclinux-as-a-linux.patch deleted file mode 100644 index d9106cd9..00000000 --- a/buildroot-2021.05/package/sg3_utils/0001-support-uclinux-as-a-linux.patch +++ /dev/null @@ -1,16 +0,0 @@ -Recognise uclinux as a linux - -Signed-off-by: "Yann E. MORIN" - -diff -durN sg3_utils-1.42.orig/configure.ac sg3_utils-1.42/configure.ac ---- sg3_utils-1.42.orig/configure.ac 2015-10-21 01:10:59.000000000 +0200 -+++ sg3_utils-1.42/configure.ac 2016-08-14 19:30:37.841766149 +0200 -@@ -71,7 +71,7 @@ - - # Define platform-specific symbol. - AM_CONDITIONAL(OS_FREEBSD, [echo $host_os | grep 'freebsd' > /dev/null]) --AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep '^linux' > /dev/null]) -+AM_CONDITIONAL(OS_LINUX, [echo $host_os | grep -E '^(uc)?linux' > /dev/null]) - AM_CONDITIONAL(OS_OSF, [echo $host_os | grep '^osf' > /dev/null]) - AM_CONDITIONAL(OS_SOLARIS, [echo $host_os | grep '^solaris' > /dev/null]) - AM_CONDITIONAL(OS_WIN32_MINGW, [echo $host_os | grep '^mingw' > /dev/null]) diff --git a/buildroot-2021.05/package/sg3_utils/sg3_utils.hash b/buildroot-2021.05/package/sg3_utils/sg3_utils.hash deleted file mode 100644 index d6c7f03a..00000000 --- a/buildroot-2021.05/package/sg3_utils/sg3_utils.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated from download (no sig, hash) -sha256 c7dab547dc37381fa50e482d9da680fe64b88cfe0e3d79b61e478de14f58b2ee sg3_utils-1.45.tar.xz - -# Hash for license files -sha256 d516b8b337a77e3d4c65dffe708ca7fb25b1cb4ec77ec362cf11ed659b9250bc COPYING -sha256 8ddd1d82f2be2f5cbd5b5c3b5c2ee94a90d2ca7112958448da74dd78384fd96a BSD_LICENSE diff --git a/buildroot-2021.05/package/sg3_utils/sg3_utils.mk b/buildroot-2021.05/package/sg3_utils/sg3_utils.mk deleted file mode 100644 index 11b3691f..00000000 --- a/buildroot-2021.05/package/sg3_utils/sg3_utils.mk +++ /dev/null @@ -1,59 +0,0 @@ -################################################################################ -# -# sg3_utils -# -################################################################################ - -SG3_UTILS_VERSION = 1.45 -SG3_UTILS_SOURCE = sg3_utils-$(SG3_UTILS_VERSION).tar.xz -SG3_UTILS_SITE = http://sg.danny.cz/sg/p -SG3_UTILS_LICENSE = BSD-2-Clause (library) -# Some utils progs are GPL-2.0+ licensed while others are BSD-3-Clause -ifeq ($(BR2_PACKAGE_SG3_UTILS_PROGS),y) -SG3_UTILS_LICENSE += , GPL-2.0+ (programs), BSD-2-Clause (programs) -endif -SG3_UTILS_LICENSE_FILES = COPYING BSD_LICENSE - -# Patching configure.ac/Makefile.am -SG3_UTILS_AUTORECONF = YES - -# install the libsgutils2 library -SG3_UTILS_INSTALL_STAGING = YES - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -SG3_UTILS_CONF_ENV += LIBS="-latomic" -endif - -ifeq ($(BR2_PACKAGE_SG3_UTILS_PROGS),) -define SG3_UTILS_REMOVE_PROGS - for prog in \ - compare_and_write copy_results dd decode_sense \ - emc_trespass format get_config \ - get_lba_status ident inq logs luns map26 \ - map sgm_dd modes opcodes sgp_dd persist prevent \ - raw rbuf rdac read readcap read_block_limits \ - read_attr read_buffer read_long reassign referrals \ - rep_zones requests reset reset_wp rmsn rtpg safte sanitize \ - sat_identify sat_phy_event sat_read_gplog sat_set_features \ - scan senddiag ses ses_microcode start stpg sync test_rwbuf \ - timestamp turs unmap verify vpd write_buffer write_long \ - write_same write_verify wr_mode xcopy zone; do \ - $(RM) $(TARGET_DIR)/usr/bin/sg_$${prog} ; \ - done - for prog in \ - logging_level mandat readcap ready satl start stop \ - temperature; do \ - $(RM) $(TARGET_DIR)/usr/bin/scsi_$${prog} ; \ - done - for prog in \ - sginfo sgm_dd sgp_dd; do \ - $(RM) $(TARGET_DIR)/usr/bin/$${prog}; \ - done -endef - -SG3_UTILS_POST_INSTALL_TARGET_HOOKS += SG3_UTILS_REMOVE_PROGS -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/shairport-sync/shairport-sync.hash b/buildroot-2021.05/package/shairport-sync/shairport-sync.hash deleted file mode 100644 index c451edb9..00000000 --- a/buildroot-2021.05/package/shairport-sync/shairport-sync.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 7f8d4ecec53f2f681a962467bf09205568fc936c8c31a9ee07b1bd72d3d95b12 shairport-sync-3.3.7.tar.gz -sha256 1daaa904985807b7f9f2fa91f6b19f3faadf8df4e813f7451a691f89a6965e3f LICENSES diff --git a/buildroot-2021.05/package/shairport-sync/shairport-sync.mk b/buildroot-2021.05/package/shairport-sync/shairport-sync.mk deleted file mode 100644 index 1a02186d..00000000 --- a/buildroot-2021.05/package/shairport-sync/shairport-sync.mk +++ /dev/null @@ -1,86 +0,0 @@ -################################################################################ -# -# shairport-sync -# -################################################################################ - -SHAIRPORT_SYNC_VERSION = 3.3.7 -SHAIRPORT_SYNC_SITE = $(call github,mikebrady,shairport-sync,$(SHAIRPORT_SYNC_VERSION)) - -SHAIRPORT_SYNC_LICENSE = MIT, BSD-3-Clause -SHAIRPORT_SYNC_LICENSE_FILES = LICENSES -SHAIRPORT_SYNC_DEPENDENCIES = alsa-lib libconfig popt host-pkgconf - -# git clone, no configure -SHAIRPORT_SYNC_AUTORECONF = YES - -SHAIRPORT_SYNC_CONF_OPTS = --with-alsa \ - --with-metadata \ - --with-pipe \ - --with-stdout - -SHAIRPORT_SYNC_CONF_ENV += LIBS="$(SHAIRPORT_SYNC_CONF_LIBS)" - -# Avahi or tinysvcmdns (shaiport-sync bundles its own version of tinysvcmdns). -# Avahi support needs libavahi-client, which is built by avahi if avahi-daemon -# and dbus is selected. Since there is no BR2_PACKAGE_LIBAVAHI_CLIENT config -# option yet, use the avahi-daemon and dbus congig symbols to check for -# libavahi-client. -ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy) -SHAIRPORT_SYNC_DEPENDENCIES += avahi -SHAIRPORT_SYNC_CONF_OPTS += --with-avahi -else -SHAIRPORT_SYNC_CONF_OPTS += --with-tinysvcmdns -endif - -ifeq ($(BR2_PACKAGE_LIBDAEMON),y) -SHAIRPORT_SYNC_DEPENDENCIES += libdaemon -SHAIRPORT_SYNC_CONF_OPTS += --with-libdaemon -endif - -# OpenSSL or mbedTLS -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SHAIRPORT_SYNC_DEPENDENCIES += openssl -SHAIRPORT_SYNC_CONF_OPTS += --with-ssl=openssl -else -SHAIRPORT_SYNC_DEPENDENCIES += mbedtls -SHAIRPORT_SYNC_CONF_OPTS += --with-ssl=mbedtls -SHAIRPORT_SYNC_CONF_LIBS += -lmbedx509 -lmbedcrypto -ifeq ($(BR2_PACKAGE_MBEDTLS_COMPRESSION),y) -SHAIRPORT_SYNC_CONF_LIBS += -lz -endif -endif - -ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION),y) -SHAIRPORT_SYNC_DEPENDENCIES += libsndfile -SHAIRPORT_SYNC_CONF_OPTS += --with-convolution -endif - -ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_DBUS),y) -SHAIRPORT_SYNC_DEPENDENCIES += libglib2 -SHAIRPORT_SYNC_CONF_OPTS += --with-dbus-interface --with-mpris-interface -endif - -ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_LIBSOXR),y) -SHAIRPORT_SYNC_DEPENDENCIES += libsoxr -SHAIRPORT_SYNC_CONF_OPTS += --with-soxr -endif - -ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_MQTT),y) -SHAIRPORT_SYNC_DEPENDENCIES += avahi dbus mosquitto -SHAIRPORT_SYNC_CONF_OPTS += --with-mqtt-client -endif - -define SHAIRPORT_SYNC_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/shairport-sync \ - $(TARGET_DIR)/usr/bin/shairport-sync - $(INSTALL) -D -m 0644 $(@D)/scripts/shairport-sync.conf \ - $(TARGET_DIR)/etc/shairport-sync.conf -endef - -define SHAIRPORT_SYNC_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/shairport-sync/S99shairport-sync \ - $(TARGET_DIR)/etc/init.d/S99shairport-sync -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sigrok-cli/sigrok-cli.hash b/buildroot-2021.05/package/sigrok-cli/sigrok-cli.hash deleted file mode 100644 index 3231bf82..00000000 --- a/buildroot-2021.05/package/sigrok-cli/sigrok-cli.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 f52413429f47d457c333db0fd068416ab7a3f9e35ca76de8624dc5ac6fb07797 sigrok-cli-0.7.1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/sigrok-cli/sigrok-cli.mk b/buildroot-2021.05/package/sigrok-cli/sigrok-cli.mk deleted file mode 100644 index 3d1e1878..00000000 --- a/buildroot-2021.05/package/sigrok-cli/sigrok-cli.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# sigrok-cli -# -################################################################################ - -SIGROK_CLI_VERSION = 0.7.1 -SIGROK_CLI_SITE = http://sigrok.org/download/source/sigrok-cli -SIGROK_CLI_LICENSE = GPL-3.0+ -SIGROK_CLI_LICENSE_FILES = COPYING -SIGROK_CLI_DEPENDENCIES = host-pkgconf libsigrok - -ifeq ($(BR2_PACKAGE_LIBSIGROKDECODE),y) -SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode -SIGROK_CLI_DEPENDENCIES += libsigrokdecode -else -SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode=NO -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sispmctl/0001-src-schedule.c-fix-build-with-gcc-4.8.patch b/buildroot-2021.05/package/sispmctl/0001-src-schedule.c-fix-build-with-gcc-4.8.patch deleted file mode 100644 index 69dc31e3..00000000 --- a/buildroot-2021.05/package/sispmctl/0001-src-schedule.c-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 3ccbb67c71aa13b9a37a58363d37a18b8fdbf300 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 29 Oct 2020 13:36:00 +0100 -Subject: [PATCH] src/schedule.c: fix build with gcc 4.8 - -Fix the following build failure with gcc 4.8: - -schedule.c:19:2: error: 'for' loop initial declarations are only allowed in C99 mode - for (int i = 0; i < 4; ++i) { - ^ -schedule.c:19:2: note: use option -std=c99 or -std=gnu99 to compile your code -schedule.c: In function 'pms2_read_block': -schedule.c:39:2: error: 'for' loop initial declarations are only allowed in C99 mode - for (int i = 0; i < 4; ++i) { - ^ - -Fixes: - - http://autobuild.buildroot.org/results/079f1454121d38a83c49529c0f6cc8ed61fd5abb - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://sourceforge.net/p/sispmctl/git/merge-requests/1] ---- - src/schedule.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/src/schedule.c b/src/schedule.c -index 4dd908d..1725421 100644 ---- a/src/schedule.c -+++ b/src/schedule.c -@@ -15,8 +15,9 @@ - static unsigned char - *pms2_write_block(uint8_t action, uint32_t time, unsigned char *ptr) - { -+ int i; - *ptr++ = action; -- for (int i = 0; i < 4; ++i) { -+ for (i = 0; i < 4; ++i) { - *ptr++ = (uint8_t)time; - time >>= 8; - } -@@ -34,9 +35,10 @@ static unsigned char - static const unsigned char - *pms2_read_block(uint8_t *action, uint32_t *time, const unsigned char *ptr) - { -+ int i; - *action = *ptr++; - *time = 0; -- for (int i = 0; i < 4; ++i) { -+ for (i = 0; i < 4; ++i) { - *time >>= 8; - *time += (uint32_t)*ptr++ << 24; - } --- -2.28.0 - diff --git a/buildroot-2021.05/package/sispmctl/sispmctl.hash b/buildroot-2021.05/package/sispmctl/sispmctl.hash deleted file mode 100644 index 95129cec..00000000 --- a/buildroot-2021.05/package/sispmctl/sispmctl.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 0f8391f7e95cbf1fb96a68686a1dcf1e16747b050ae1b8ff90653c99976068db sispmctl-4.8.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/sispmctl/sispmctl.mk b/buildroot-2021.05/package/sispmctl/sispmctl.mk deleted file mode 100644 index 3e4252a8..00000000 --- a/buildroot-2021.05/package/sispmctl/sispmctl.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# sispmctl -# -################################################################################ - -SISPMCTL_VERSION = 4.8 -SISPMCTL_SITE = http://downloads.sourceforge.net/project/sispmctl/sispmctl/sispmctl-$(SISPMCTL_VERSION) -SISPMCTL_LICENSE = GPL-2.0+ -SISPMCTL_LICENSE_FILES = COPYING -SISPMCTL_DEPENDENCIES = libusb-compat - -SISPMCTL_CONF_OPTS = --enable-webless - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/lock b/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/lock deleted file mode 120000 index 1431b0e4..00000000 --- a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/lock +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/buildroot-2021.05/package/skeleton-init-systemd/skeleton-init-systemd.mk b/buildroot-2021.05/package/skeleton-init-systemd/skeleton-init-systemd.mk deleted file mode 100644 index 5d6b716f..00000000 --- a/buildroot-2021.05/package/skeleton-init-systemd/skeleton-init-systemd.mk +++ /dev/null @@ -1,68 +0,0 @@ -################################################################################ -# -# skeleton-init-systemd -# -################################################################################ - -# The skeleton can't depend on the toolchain, since all packages depends on the -# skeleton and the toolchain is a target package, as is skeleton. -# Hence, skeleton would depends on the toolchain and the toolchain would depend -# on skeleton. -SKELETON_INIT_SYSTEMD_ADD_TOOLCHAIN_DEPENDENCY = NO -SKELETON_INIT_SYSTEMD_ADD_SKELETON_DEPENDENCY = NO - -SKELETON_INIT_SYSTEMD_DEPENDENCIES = skeleton-init-common - -SKELETON_INIT_SYSTEMD_PROVIDES = skeleton - -ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) - -define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW - echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab -endef - -else - -# On a R/O rootfs, /var is a tmpfs filesystem. So, at build time, we -# redirect /var to the "factory settings" location. Just before the -# filesystem gets created, the /var symlink will be replaced with -# a real (but empty) directory, and the "factory files" will be copied -# back there by the tmpfiles.d mechanism. -define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW - mkdir -p $(TARGET_DIR)/etc/systemd/tmpfiles.d - echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab - echo "tmpfs /var tmpfs mode=1777 0 0" >>$(TARGET_DIR)/etc/fstab -endef - -define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR - rm -rf $(TARGET_DIR)/usr/share/factory/var - mv $(TARGET_DIR)/var $(TARGET_DIR)/usr/share/factory/var - mkdir -p $(TARGET_DIR)/var - for i in $(TARGET_DIR)/usr/share/factory/var/* \ - $(TARGET_DIR)/usr/share/factory/var/lib/* \ - $(TARGET_DIR)/usr/share/factory/var/lib/systemd/*; do \ - [ -e "$${i}" ] || continue; \ - j="$${i#$(TARGET_DIR)/usr/share/factory}"; \ - if [ -L "$${i}" ]; then \ - printf "L+! %s - - - - %s\n" \ - "$${j}" "../usr/share/factory/$${j}" \ - || exit 1; \ - else \ - printf "C! %s - - - -\n" "$${j}" \ - || exit 1; \ - fi; \ - done >$(TARGET_DIR)/etc/tmpfiles.d/var-factory.conf -endef -SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR - -endif - -define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/home - mkdir -p $(TARGET_DIR)/srv - mkdir -p $(TARGET_DIR)/var - ln -s ../run $(TARGET_DIR)/var/run - $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/lock b/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/lock deleted file mode 120000 index 1431b0e4..00000000 --- a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/lock +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/buildroot-2021.05/package/slirp/0001-slirp-check-pkt_len-before-reading-protocol-header.patch b/buildroot-2021.05/package/slirp/0001-slirp-check-pkt_len-before-reading-protocol-header.patch deleted file mode 100644 index 40461447..00000000 --- a/buildroot-2021.05/package/slirp/0001-slirp-check-pkt_len-before-reading-protocol-header.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 2e1dcbc0c2af64fcb17009eaf2ceedd81be2b27f Mon Sep 17 00:00:00 2001 -From: Prasad J Pandit -Date: Thu, 26 Nov 2020 19:27:06 +0530 -Subject: [PATCH] slirp: check pkt_len before reading protocol header -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -While processing ARP/NCSI packets in 'arp_input' or 'ncsi_input' -routines, ensure that pkt_len is large enough to accommodate the -respective protocol headers, lest it should do an OOB access. -Add check to avoid it. - -CVE-2020-29129 CVE-2020-29130 - QEMU: slirp: out-of-bounds access while processing ARP/NCSI packets - -> https://www.openwall.com/lists/oss-security/2020/11/27/1 - -Reported-by: Qiuhao Li -Signed-off-by: Prasad J Pandit -Message-Id: <20201126135706.273950-1-ppandit@redhat.com> -Reviewed-by: Marc-André Lureau -Signed-off-by: Peter Korsgaard ---- - src/ncsi.c | 4 ++++ - src/slirp.c | 4 ++++ - 2 files changed, 8 insertions(+) - -diff --git a/src/ncsi.c b/src/ncsi.c -index 3c1dfef..75dcc08 100644 ---- a/src/ncsi.c -+++ b/src/ncsi.c -@@ -148,6 +148,10 @@ void ncsi_input(Slirp *slirp, const uint8_t *pkt, int pkt_len) - uint32_t checksum; - uint32_t *pchecksum; - -+ if (pkt_len < ETH_HLEN + sizeof(struct ncsi_pkt_hdr)) { -+ return; /* packet too short */ -+ } -+ - memset(ncsi_reply, 0, sizeof(ncsi_reply)); - - memset(reh->h_dest, 0xff, ETH_ALEN); -diff --git a/src/slirp.c b/src/slirp.c -index 9bead0c..abb6f9a 100644 ---- a/src/slirp.c -+++ b/src/slirp.c -@@ -860,6 +860,10 @@ static void arp_input(Slirp *slirp, const uint8_t *pkt, int pkt_len) - return; - } - -+ if (pkt_len < ETH_HLEN + sizeof(struct slirp_arphdr)) { -+ return; /* packet too short */ -+ } -+ - ar_op = ntohs(ah->ar_op); - switch (ar_op) { - case ARPOP_REQUEST: --- -2.20.1 - diff --git a/buildroot-2021.05/package/slirp/slirp.hash b/buildroot-2021.05/package/slirp/slirp.hash deleted file mode 100644 index fe295b3b..00000000 --- a/buildroot-2021.05/package/slirp/slirp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 388b4b08a8cc0996cc5155cb027a097dc1a7f2cfe84b1121496608ab5366cc48 libslirp-4.3.1.tar.xz -sha256 b28aecf4796a6a22054167f0a976de13d9db335669d37afd2dc7ea4c335e1e13 COPYRIGHT diff --git a/buildroot-2021.05/package/slirp/slirp.mk b/buildroot-2021.05/package/slirp/slirp.mk deleted file mode 100644 index ff92c605..00000000 --- a/buildroot-2021.05/package/slirp/slirp.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# slirp -# -################################################################################ - -SLIRP_VERSION = 4.3.1 -SLIRP_SOURCE = libslirp-$(SLIRP_VERSION).tar.xz -# Other "official" tarballs don't ship .tarball-version resulting in a build -# failure: https://gitlab.freedesktop.org/slirp/libslirp/-/issues/24 -SLIRP_SITE = https://elmarco.fedorapeople.org -SLIRP_LICENSE = BSD-3-Clause -SLIRP_LICENSE_FILES = COPYRIGHT -SLIRP_CPE_ID_VENDOR = libslirp_project -SLIRP_CPE_ID_PRODUCT = libslirp -SLIRP_INSTALL_STAGING = YES -SLIRP_DEPENDENCIES = libglib2 - -# 0001-slirp-check-pkt_len-before-reading-protocol-header.patch -SLIRP_IGNORE_CVES += CVE-2020-29129 CVE-2020-29130 - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/smack/smack.mk b/buildroot-2021.05/package/smack/smack.mk deleted file mode 100644 index b7b656e6..00000000 --- a/buildroot-2021.05/package/smack/smack.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# smack -# -################################################################################ - -SMACK_VERSION = 1.3.1 -SMACK_SITE = $(call github,smack-team,smack,v$(SMACK_VERSION)) -SMACK_LICENSE = LGPL-2.1 -SMACK_LICENSE_FILES = COPYING -SMACK_INSTALL_STAGING = YES -SMACK_DEPENDENCIES = host-pkgconf - -# Sources from GitHub, no configure script included. -SMACK_AUTORECONF = YES - -define SMAKE_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY) - $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SMACK) - $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/smartmontools/smartmontools.mk b/buildroot-2021.05/package/smartmontools/smartmontools.mk deleted file mode 100644 index 215db1ae..00000000 --- a/buildroot-2021.05/package/smartmontools/smartmontools.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# smartmontools -# -################################################################################ - -SMARTMONTOOLS_VERSION = 7.2 -SMARTMONTOOLS_SITE = http://downloads.sourceforge.net/project/smartmontools/smartmontools/$(SMARTMONTOOLS_VERSION) -SMARTMONTOOLS_LICENSE = GPL-2.0+ -SMARTMONTOOLS_LICENSE_FILES = COPYING -SMARTMONTOOLS_CPE_ID_VENDOR = smartmontools - -ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) -SMARTMONTOOLS_CONF_OPTS += --with-libcap-ng -SMARTMONTOOLS_DEPENDENCIES += libcap-ng -else -SMARTMONTOOLS_CONF_OPTS += --without-libcap-ng -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -SMARTMONTOOLS_CONF_OPTS += --with-selinux -SMARTMONTOOLS_DEPENDENCIES += libselinux -else -SMARTMONTOOLS_CONF_OPTS += --without-selinux -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -SMARTMONTOOLS_CONF_OPTS += --with-libsystemd -SMARTMONTOOLS_DEPENDENCIES += systemd -else -SMARTMONTOOLS_CONF_OPTS += --without-libsystemd -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/smcroute/smcroute.hash b/buildroot-2021.05/package/smcroute/smcroute.hash deleted file mode 100644 index f79ce167..00000000 --- a/buildroot-2021.05/package/smcroute/smcroute.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally generated -sha256 431be94c46646767f69c85fee445277b7e765a55177d3ee29522416cfe2cc067 smcroute-2.4.4.tar.xz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING -# From https://github.com/troglobit/smcroute/releases/download/2.4.4/smcroute-2.4.4.tar.xz.md5 -md5 a1dc8c54c684e8c8de139444f73a0ba3 smcroute-2.4.4.tar.xz diff --git a/buildroot-2021.05/package/smcroute/smcroute.mk b/buildroot-2021.05/package/smcroute/smcroute.mk deleted file mode 100644 index 0db0e084..00000000 --- a/buildroot-2021.05/package/smcroute/smcroute.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# smcroute -# -################################################################################ - -SMCROUTE_VERSION = 2.4.4 -SMCROUTE_SOURCE = smcroute-$(SMCROUTE_VERSION).tar.xz -SMCROUTE_SITE = https://github.com/troglobit/smcroute/releases/download/$(SMCROUTE_VERSION) -SMCROUTE_LICENSE = GPL-2.0+ -SMCROUTE_LICENSE_FILES = COPYING -SMCROUTE_CPE_ID_VENDOR = troglobit - -SMCROUTE_CONF_OPTS = ac_cv_func_setpgrp_void=yes -#BUG:The package Makefile uses CC?= even though the package is autotools based -SMCROUTE_MAKE_ENV = $(TARGET_CONFIGURE_OPTS) - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -SMCROUTE_DEPENDENCIES = libcap -SMCROUTE_CONF_OPTS += --with-libcap -else -SMCROUTE_CONF_OPTS += --without-libcap -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/smstools3/smstools3.mk b/buildroot-2021.05/package/smstools3/smstools3.mk deleted file mode 100644 index 87d189ba..00000000 --- a/buildroot-2021.05/package/smstools3/smstools3.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# smstools3 -# -################################################################################ - -SMSTOOLS3_VERSION = 3.1.21 -SMSTOOLS3_SITE = http://smstools3.kekekasvi.com/packages -SMSTOOLS3_LICENSE = GPL-2.0+ -SMSTOOLS3_LICENSE_FILES = doc/license.html LICENSE - -SMSTOOLS3_CFLAGS = $(TARGET_CFLAGS) -SMSTOOLS3_CFLAGS += -D NUMBER_OF_MODEMS=$(BR2_PACKAGE_SMSTOOLS3_NB_MODEMS) -SMSTOOLS3_CFLAGS += -D NOSTATS - -define SMSTOOLS3_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(SMSTOOLS3_CFLAGS)" -C $(@D) -endef - -define SMSTOOLS3_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/smstools3/S50smsd \ - $(TARGET_DIR)/etc/init.d/S50smsd -endef - -define SMSTOOLS3_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/src/smsd \ - $(TARGET_DIR)/usr/bin/smsd - $(INSTALL) -m 0755 -D $(@D)/scripts/sendsms \ - $(TARGET_DIR)/usr/bin/sendsms - $(INSTALL) -m 0644 -D $(@D)/examples/smsd.conf.easy \ - $(TARGET_DIR)/etc/smsd.conf -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/snappy/snappy.hash b/buildroot-2021.05/package/snappy/snappy.hash deleted file mode 100644 index c08c5b7f..00000000 --- a/buildroot-2021.05/package/snappy/snappy.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 16b677f07832a612b0836178db7f374e414f94657c138e6993cbfc5dcc58651f snappy-1.1.8.tar.gz -sha256 55172044f7e241207117448a4d9d6ba1d0925c8ad66b5d4c08c70adfa9cc3de6 COPYING diff --git a/buildroot-2021.05/package/snappy/snappy.mk b/buildroot-2021.05/package/snappy/snappy.mk deleted file mode 100644 index e1fa28fb..00000000 --- a/buildroot-2021.05/package/snappy/snappy.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# snappy -# -################################################################################ - -SNAPPY_VERSION = 1.1.8 -SNAPPY_SITE = $(call github,google,snappy,$(SNAPPY_VERSION)) -SNAPPY_LICENSE = BSD-3-Clause -SNAPPY_LICENSE_FILES = COPYING -SNAPPY_CPE_ID_VENDOR = google -SNAPPY_INSTALL_STAGING = YES -SNAPPY_CONF_OPTS = -DSNAPPY_BUILD_TESTS=OFF - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/snmpclitools/Config.in b/buildroot-2021.05/package/snmpclitools/Config.in deleted file mode 100644 index 00bf5994..00000000 --- a/buildroot-2021.05/package/snmpclitools/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_SNMPCLITOOLS - bool "snmpclitools" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_PYSMI # runtime - select BR2_PACKAGE_PYTHON_PYSNMP # runtime - help - SNMP command-line tools. - - https://github.com/etingof/snmpclitools diff --git a/buildroot-2021.05/package/snmppp/Config.in b/buildroot-2021.05/package/snmppp/Config.in deleted file mode 100644 index de1a09ca..00000000 --- a/buildroot-2021.05/package/snmppp/Config.in +++ /dev/null @@ -1,36 +0,0 @@ -config BR2_PACKAGE_SNMPPP - bool "snmp++" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS - help - SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3. - - http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html - -if BR2_PACKAGE_SNMPPP - -config BR2_PACKAGE_SNMPPP_LOGGING - bool "enable logging" - help - Enable logging output for SNMP++. - According to the SNMP++ documentation, disabling logging - "increases performance drastically and minimizes memory - consumption". - -config BR2_PACKAGE_SNMPPP_SNMPV3 - bool "enable SNMPv3" - default y - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - select BR2_PACKAGE_OPENSSL - help - Enable optional support for SNMP++. This selects OpenSSL. - -comment "SNMPv3 needs a toolchain w/ gcc >= 4.8" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -endif - -comment "snmp++ needs a toolchain w/ threads, C++, dynamic library" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch b/buildroot-2021.05/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch deleted file mode 100644 index afe9672a..00000000 --- a/buildroot-2021.05/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch +++ /dev/null @@ -1,51 +0,0 @@ -From eae97632157b73f0ca7c099232617b2777d0fa54 Mon Sep 17 00:00:00 2001 -From: Sergio Prado -Date: Sat, 21 Dec 2019 12:00:42 -0300 -Subject: [PATCH] Fix error when building on a Fedora host machine. - -Remove the code that adds unsafe header/library path when -cross-compiling on a Fedora host machine. - -Signed-off-by: Sergio Prado ---- - configure.in | 24 ------------------------ - 1 file changed, 24 deletions(-) - -diff --git a/configure.in b/configure.in -index e6586f399898..fb35d4d7e3e3 100644 ---- a/configure.in -+++ b/configure.in -@@ -957,30 +957,6 @@ if test "x$enable_dlclose" = "xno"; then - AC_DEFINE([DISABLE_DLCLOSE_FOR_VALGRIND_TESTING],[1],[Don't close opened shared objects for valgrind leak testing of dynamic libraries]) - fi - --################################################## --# Fedora 28+ does not have inbuilt SunRPC support# --# in glibc and is separately availble in tirpc # --# package. Make sure we've got the library and # --# link it # --################################################## -- --if test -f /etc/fedora-release ; then -- DISTRO_VERSION=$(awk '{ print $3 }' /etc/fedora-release) -- if test $DISTRO_VERSION -ge 28 ; then -- TIRPC="" -- AC_CHECK_LIB(tirpc,bindresvport,, TIRPC="no") -- echo "$TIRPC" -- if test "x$TIRPC" = "xno"; then -- echo -- echo " ERROR! tirpc not found, get it by running " -- echo " yum install libtirpc-devel " -- exit -- fi -- LIBS="${LIBS} -ltirpc" -- extra_incl="-I/usr/include/tirpc" -- fi --fi -- - Z_LIB="" - AC_CHECK_HEADERS(zlib.h,, Z_LIB="no") - if test "x$Z_LIB" = "xno"; then --- -2.17.1 - diff --git a/buildroot-2021.05/package/snort/snort.hash b/buildroot-2021.05/package/snort/snort.hash deleted file mode 100644 index 115a8398..00000000 --- a/buildroot-2021.05/package/snort/snort.hash +++ /dev/null @@ -1,9 +0,0 @@ -# From https://www.snort.org/downloads/snort/md5s -md5 006d6b0d71c6c7bd23eac74670f5b4e6 snort-2.9.17.1.tar.gz - -# Locally computed: -sha256 303d3d5dc5affecfeaad3a331d3163f901d48d960fdd6598cb55c6d1591eed82 snort-2.9.17.1.tar.gz - -# Hash for license files: -sha256 f98260a6d3e5ef4ede8a2a6b698e5ac91d64c09243f7171e1c5b17b920a835c7 LICENSE -sha256 3f1cbfb20bb2c608e1a474421880d08b8cba6abb00ab7736d22c481d71656a6d COPYING diff --git a/buildroot-2021.05/package/snort/snort.mk b/buildroot-2021.05/package/snort/snort.mk deleted file mode 100644 index 3df29411..00000000 --- a/buildroot-2021.05/package/snort/snort.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# snort -# -################################################################################ - -SNORT_VERSION = 2.9.17.1 -SNORT_SITE = https://www.snort.org/downloads/snort -SNORT_LICENSE = GPL-2.0 -SNORT_LICENSE_FILES = LICENSE COPYING -SNORT_CPE_ID_VENDOR = snort - -SNORT_DEPENDENCIES = libpcap libdnet daq pcre zlib host-pkgconf - -# patching configure.in -SNORT_AUTORECONF = YES - -SNORT_CONF_OPTS = \ - --with-libpcre-includes=$(STAGING_DIR)/usr/include \ - --with-libpcre-libraries=$(STAGING_DIR)/usr/lib \ - --with-libpcap-includes=$(STAGING_DIR)/usr/include/pcap \ - --disable-static-daq - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -SNORT_CFLAGS += -O0 -endif - -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -SNORT_DEPENDENCIES += libtirpc -SNORT_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc` -SNORT_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc` -endif - -# luajit and openssl should be enabled to build with -# OpenAppID support -ifeq ($(BR2_PACKAGE_LUAJIT)$(BR2_PACKAGE_OPENSSL),yy) -SNORT_DEPENDENCIES += luajit openssl -SNORT_CONF_OPTS += --enable-open-appid -else -SNORT_CONF_OPTS += --disable-open-appid -endif - -SNORT_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) $(SNORT_CFLAGS)" \ - LIBS="$(SNORT_LIBS)" \ - have_inaddr_none=yes - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/socat/socat.hash b/buildroot-2021.05/package/socat/socat.hash deleted file mode 100644 index 5a4c5204..00000000 --- a/buildroot-2021.05/package/socat/socat.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From http://www.dest-unreach.org/socat/download.md5sum -md5 36cad050ecf4981ab044c3fbd75c643f socat-1.7.4.1.tar.bz2 -# From http://www.dest-unreach.org/socat/download.sha256sum -sha256 3faca25614e89123dff5045680549ecef519d02e331aaf3c4f5a8f6837c675e9 socat-1.7.4.1.tar.bz2 -# Locally calculated -sha256 b1ebebbce145027f4268211f36d121b083aeeabdc1736eb144b8afd8e86ce8da README -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 fd9e48ca316a5032069b9521f4f4b4d9b1c60365012bae1e62286bcd5bd2e761 COPYING.OpenSSL diff --git a/buildroot-2021.05/package/socat/socat.mk b/buildroot-2021.05/package/socat/socat.mk deleted file mode 100644 index 61c98525..00000000 --- a/buildroot-2021.05/package/socat/socat.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# socat -# -################################################################################ - -SOCAT_VERSION = 1.7.4.1 -SOCAT_SOURCE = socat-$(SOCAT_VERSION).tar.bz2 -SOCAT_SITE = http://www.dest-unreach.org/socat/download -SOCAT_LICENSE = GPL-2.0 with OpenSSL exception -SOCAT_LICENSE_FILES = README COPYING COPYING.OpenSSL -SOCAT_CPE_ID_VENDOR = dest-unreach - -ifeq ($(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le),y) -SOCAT_CONF_ENV += \ - sc_cv_sys_crdly_shift=12 \ - sc_cv_sys_tabdly_shift=10 \ - sc_cv_sys_csize_shift=8 -else -SOCAT_CONF_ENV += \ - sc_cv_sys_crdly_shift=9 \ - sc_cv_sys_tabdly_shift=11 \ - sc_cv_sys_csize_shift=4 -endif - -# We need to run autoconf to regenerate the configure script, since we patch -# configure.in and Makefile.in. However, the package only uses autoconf and not -# automake, so we can't use the normal autoreconf logic. - -SOCAT_DEPENDENCIES = host-autoconf -# incompatibile license (GPL-3.0+) -SOCAT_CONF_OPTS = --disable-readline - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SOCAT_DEPENDENCIES += openssl -else -SOCAT_CONF_OPTS += --disable-openssl -endif - -define SOCAT_RUN_AUTOCONF - (cd $(@D); $(AUTOCONF)) -endef - -SOCAT_PRE_CONFIGURE_HOOKS += SOCAT_RUN_AUTOCONF - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/socketcand/socketcand.mk b/buildroot-2021.05/package/socketcand/socketcand.mk deleted file mode 100644 index b11aa3c9..00000000 --- a/buildroot-2021.05/package/socketcand/socketcand.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# socketcand -# -################################################################################ - -SOCKETCAND_VERSION = 69e2201222f015a1abe7a58ecf61325012cd91b1 -SOCKETCAND_SITE = $(call github,linux-can,socketcand,$(SOCKETCAND_VERSION)) -SOCKETCAND_AUTORECONF = YES -SOCKETCAND_LICENSE = BSD-3-Clause or GPL-2.0 -SOCKETCAND_LICENSE_FILES = socketcand.c - -ifeq ($(BR2_PACKAGE_LIBCONFIG),y) -SOCKETCAND_DEPENDENCIES = libconfig -else -SOCKETCAND_CONF_OPTS = --without-config -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sofia-sip/sofia-sip.hash b/buildroot-2021.05/package/sofia-sip/sofia-sip.hash deleted file mode 100644 index 0484cc15..00000000 --- a/buildroot-2021.05/package/sofia-sip/sofia-sip.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 b539444a5d03e281b829ee9133ae9e717f2d2a03399808365e5ab85574e25d95 sofia-sip-1.13.3-8071e8accd.tar.gz -sha256 e1c0890440efe31b6cd2ee2abf895eb917c787799f079133f5809414d90d5d60 COPYING -sha256 b402ae58cf355b33be8fa023f704a039e3d41ecaccd2bbcda43ca31d703e4556 COPYRIGHTS diff --git a/buildroot-2021.05/package/sofia-sip/sofia-sip.mk b/buildroot-2021.05/package/sofia-sip/sofia-sip.mk deleted file mode 100644 index 5c383400..00000000 --- a/buildroot-2021.05/package/sofia-sip/sofia-sip.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# sofia-sip -# -################################################################################ - -SOFIA_SIP_VERSION = 1.13.3-8071e8accd -SOFIA_SIP_SITE = https://files.freeswitch.org/downloads/libs -SOFIA_SIP_INSTALL_STAGING = YES -SOFIA_SIP_DEPENDENCIES = host-pkgconf -SOFIA_SIP_LICENSE = LGPL-2.1+ -SOFIA_SIP_LICENSE_FILES = COPYING COPYRIGHTS -SOFIA_SIP_CONF_OPTS = --with-doxygen=no - -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -SOFIA_SIP_CONF_OPTS += --with-glib -SOFIA_SIP_DEPENDENCIES += libglib2 -else -SOFIA_SIP_CONF_OPTS += --without-glib -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SOFIA_SIP_CONF_OPTS += \ - --enable-nth \ - --with-openssl=pkg-config -SOFIA_SIP_DEPENDENCIES += openssl -else -SOFIA_SIP_CONF_OPTS += \ - --disable-nth \ - --without-openssl -endif - -ifeq ($(BR2_ENABLE_DEBUG),y) -SOFIA_SIP_CONF_OPTS += --enable-ndebug -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/softether/Config.in b/buildroot-2021.05/package/softether/Config.in deleted file mode 100644 index bfb45b03..00000000 --- a/buildroot-2021.05/package/softether/Config.in +++ /dev/null @@ -1,30 +0,0 @@ -config BR2_PACKAGE_SOFTETHER - bool "softether" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - depends on BR2_USE_WCHAR - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL - select BR2_PACKAGE_READLINE - help - The SoftEther Server is a fully integrated implementation of - the SSTP, L2TP, L2TPv3, OpenVPN, and IPSec virtual private - networking protocols on Linux and several other - platforms. It is generally compatible with other - implementations by Apple, Cisco, Juniper, Microsoft, et al. - - Convenient Layer-2 and Layer-3 bridging capabilities can - connect several branch offices into a single broadcast or - routing domain, even behind a NAT or without a static IPv4 - address. - - In addition to supporting most VPN protocols, the SoftEther - Client can penetrate hardened firewalls and captured - gateways through HTTPS, DNS, and ICMP exfiltration. - - http://www.softether.org - -comment "softether needs a toolchain w/ wchar, threads" - depends on BR2_USE_MMU - depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS) diff --git a/buildroot-2021.05/package/solarus/Config.in b/buildroot-2021.05/package/solarus/Config.in deleted file mode 100644 index b0f4121f..00000000 --- a/buildroot-2021.05/package/solarus/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_SOLARUS - bool "solarus" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # openal - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal - depends on !BR2_STATIC_LIBS # SDL2 - depends on BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_GLM - select BR2_PACKAGE_LIBMODPLUG - select BR2_PACKAGE_LIBOGG - select BR2_PACKAGE_LIBPNG # runtime - select BR2_PACKAGE_LIBVORBIS - select BR2_PACKAGE_OPENAL - select BR2_PACKAGE_PHYSFS - select BR2_PACKAGE_SDL2 - select BR2_PACKAGE_SDL2_IMAGE - select BR2_PACKAGE_SDL2_TTF - help - Solarus is an open-source Zelda-like 2D game engine written - in C++. It can run games scripted in Lua. This engine is used - by our Zelda fangames. Solarus is licensed under GPL v3. - - http://www.solarus-games.org - https://github.com/solarus-games/solarus - -comment "solarus needs OpenGL and a toolchain w/ C++, gcc >= 4.9, NPTL, dynamic library, and luajit or lua 5.1" - depends on !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ - || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ - || !BR2_PACKAGE_HAS_LIBGL diff --git a/buildroot-2021.05/package/solarus/solarus.mk b/buildroot-2021.05/package/solarus/solarus.mk deleted file mode 100644 index 90cbf3e7..00000000 --- a/buildroot-2021.05/package/solarus/solarus.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# solarus -# -################################################################################ - -SOLARUS_VERSION = 1.6.5 -SOLARUS_SITE = \ - https://gitlab.com/solarus-games/solarus/-/archive/v$(SOLARUS_VERSION) -SOLARUS_SOURCE = solarus-v$(SOLARUS_VERSION).tar.bz2 - -SOLARUS_LICENSE = GPL-3.0 (code), CC-BY-SA-4.0 (Solarus logos and icons), \ - CC-BY-SA-3.0 (GUI icons) -SOLARUS_LICENSE_FILES = license.txt - -# Install libsolarus.so -SOLARUS_INSTALL_STAGING = YES - -SOLARUS_DEPENDENCIES = glm libgl libmodplug libogg libvorbis openal physfs \ - sdl2 sdl2_image sdl2_ttf - -# Disable launcher GUI (requires Qt5) -SOLARUS_CONF_OPTS = \ - -DSOLARUS_GUI=OFF \ - -DSOLARUS_TESTS=OFF - -ifeq ($(BR2_PACKAGE_LUAJIT),y) -SOLARUS_CONF_OPTS += -DSOLARUS_USE_LUAJIT=ON -SOLARUS_DEPENDENCIES += luajit -else -SOLARUS_CONF_OPTS += -DSOLARUS_USE_LUAJIT=OFF -SOLARUS_DEPENDENCIES += lua -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/sox/sox.mk b/buildroot-2021.05/package/sox/sox.mk deleted file mode 100644 index dcc1a670..00000000 --- a/buildroot-2021.05/package/sox/sox.mk +++ /dev/null @@ -1,140 +0,0 @@ -################################################################################ -# -# sox -# -################################################################################ - -SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e -SOX_SITE = git://git.code.sf.net/p/sox/code -SOX_SITE_METHOD = git -SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf -SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) -SOX_LICENSE_FILES = LICENSE.GPL LICENSE.LGPL -SOX_CPE_ID_VENDOR = sound_exchange_project -SOX_CPE_ID_PRODUCT = sound_exchange -# From git and we're patching configure.ac -SOX_AUTORECONF = YES -SOX_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive - -SOX_IGNORE_CVES += CVE-2017-11332 CVE-2017-11358 CVE-2017-11359 \ - CVE-2017-15370 CVE-2017-15371 CVE-2017-15372 CVE-2017-15642 \ - CVE-2017-18189 CVE-2019-8354 CVE-2019-8355 CVE-2019-8356 \ - CVE-2019-8357 CVE-2019-13590 - -SOX_CONF_OPTS = \ - --with-distro="Buildroot" \ - --disable-stack-protector - -ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y) -SOX_DEPENDENCIES += alsa-lib -SOX_CONF_OPTS += --enable-alsa -else -SOX_CONF_OPTS += --disable-alsa -endif - -ifeq ($(BR2_PACKAGE_FILE),y) -SOX_DEPENDENCIES += file -SOX_CONF_OPTS += --enable-magic -else -SOX_CONF_OPTS += --disable-magic -endif - -ifeq ($(BR2_PACKAGE_FLAC),y) -SOX_DEPENDENCIES += flac -SOX_CONF_OPTS += --enable-flac -else -SOX_CONF_OPTS += --disable-flac -endif - -ifeq ($(BR2_PACKAGE_LAME),y) -SOX_DEPENDENCIES += lame -SOX_CONF_OPTS += --with-lame -else -SOX_CONF_OPTS += --without-lame -endif - -ifeq ($(BR2_PACKAGE_LIBAO),y) -SOX_DEPENDENCIES += libao -SOX_CONF_OPTS += --enable-ao -else -SOX_CONF_OPTS += --disable-ao -endif - -ifeq ($(BR2_PACKAGE_LIBGSM),y) -SOX_DEPENDENCIES += libgsm -SOX_CONF_OPTS += --enable-gsm -else -SOX_CONF_OPTS += --disable-gsm -endif - -ifeq ($(BR2_PACKAGE_LIBID3TAG),y) -SOX_DEPENDENCIES += libid3tag -SOX_CONF_OPTS += --with-id3tag -else -SOX_CONF_OPTS += --without-id3tag -endif - -ifeq ($(BR2_PACKAGE_LIBMAD),y) -SOX_DEPENDENCIES += libmad -SOX_CONF_OPTS += --with-mad -else -SOX_CONF_OPTS += --without-mad -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -SOX_DEPENDENCIES += libpng -SOX_CONF_OPTS += --with-png -else -SOX_CONF_OPTS += --without-png -endif - -ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) -SOX_DEPENDENCIES += libsndfile -SOX_CONF_OPTS += --enable-sndfile -else -SOX_CONF_OPTS += --disable-sndfile -endif - -ifeq ($(BR2_PACKAGE_LIBVORBIS),y) -SOX_DEPENDENCIES += libvorbis -SOX_CONF_OPTS += --enable-oggvorbis -else -SOX_CONF_OPTS += --disable-oggvorbis -endif - -ifeq ($(BR2_PACKAGE_OPENCORE_AMR),y) -SOX_DEPENDENCIES += opencore-amr -SOX_CONF_OPTS += --enable-amrwb --enable-amrnb -else -SOX_CONF_OPTS += --disable-amrwb --disable-amrnb -endif - -ifeq ($(BR2_PACKAGE_OPUSFILE),y) -SOX_DEPENDENCIES += opusfile -SOX_CONF_OPTS += --enable-opus -else -SOX_CONF_OPTS += --disable-opus -endif - -ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) -SOX_DEPENDENCIES += pulseaudio -SOX_CONF_OPTS += --enable-pulseaudio -else -SOX_CONF_OPTS += --disable-pulseaudio -endif - -ifeq ($(BR2_PACKAGE_TWOLAME),y) -SOX_DEPENDENCIES += twolame -SOX_CONF_OPTS += --with-twolame -else -SOX_CONF_OPTS += --without-twolame -endif - -ifeq ($(BR2_PACKAGE_WAVPACK),y) -SOX_DEPENDENCIES += wavpack -SOX_CONF_OPTS += --enable-wavpack -else -SOX_CONF_OPTS += --disable-wavpack -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/spdlog/spdlog.hash b/buildroot-2021.05/package/spdlog/spdlog.hash deleted file mode 100644 index 5d1ff2f5..00000000 --- a/buildroot-2021.05/package/spdlog/spdlog.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 944d0bd7c763ac721398dca2bb0f3b5ed16f67cef36810ede5061f35a543b4b8 spdlog-1.8.5.tar.gz -sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE diff --git a/buildroot-2021.05/package/spdlog/spdlog.mk b/buildroot-2021.05/package/spdlog/spdlog.mk deleted file mode 100644 index ee875ae5..00000000 --- a/buildroot-2021.05/package/spdlog/spdlog.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# spdlog -# -################################################################################ - -SPDLOG_VERSION = 1.8.5 -SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION)) -SPDLOG_LICENSE = MIT -SPDLOG_LICENSE_FILES = LICENSE -SPDLOG_INSTALL_STAGING = YES -SPDLOG_DEPENDENCIES = fmt -SPDLOG_CONF_OPTS += \ - -DSPDLOG_BUILD_TESTS=OFF \ - -DSPDLOG_BUILD_EXAMPLE=OFF \ - -DSPDLOG_BUILD_BENCH=OFF \ - -DSPDLOG_FMT_EXTERNAL=ON - -ifeq ($(BR2_STATIC_LIBS),y) -SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=OFF -else -SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=ON -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/speex/speex.mk b/buildroot-2021.05/package/speex/speex.mk deleted file mode 100644 index 522f8cc0..00000000 --- a/buildroot-2021.05/package/speex/speex.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# speex -# -################################################################################ - -SPEEX_VERSION = 1.2.0 -SPEEX_SITE = https://downloads.xiph.org/releases/speex -SPEEX_LICENSE = BSD-3-Clause -SPEEX_LICENSE_FILES = COPYING -SPEEX_INSTALL_STAGING = YES -SPEEX_DEPENDENCIES = host-pkgconf libogg -SPEEX_CONF_OPTS = \ - --enable-fixed-point - -ifeq ($(BR2_PACKAGE_SPEEXDSP),y) -SPEEX_DEPENDENCIES += speexdsp -endif - -ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y) -SPEEX_CONF_OPTS += --enable-arm4-asm -endif - -ifeq ($(BR2_PACKAGE_SPEEX_ARM5E),y) -SPEEX_CONF_OPTS += --enable-arm5e-asm -endif - -define SPEEX_LIBTOOL_FIXUP - $(SED) 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' $(@D)/libtool - $(SED) 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' $(@D)/libtool -endef - -SPEEX_POST_CONFIGURE_HOOKS += SPEEX_LIBTOOL_FIXUP - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/speexdsp/speexdsp.hash b/buildroot-2021.05/package/speexdsp/speexdsp.hash deleted file mode 100644 index fd9870dc..00000000 --- a/buildroot-2021.05/package/speexdsp/speexdsp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 c92c7e428cb5ca11b4e6f13118ff288332f330b6fefc93cb39bf7b43b13cb1f7 speexdsp-SpeexDSP-1.2.0-br1.tar.gz -sha256 671bb5d8fd3c6b05a2e831d90f978ac27965c92bd8ea6d16b3df76e3440c0e9f COPYING diff --git a/buildroot-2021.05/package/speexdsp/speexdsp.mk b/buildroot-2021.05/package/speexdsp/speexdsp.mk deleted file mode 100644 index 35c06dd8..00000000 --- a/buildroot-2021.05/package/speexdsp/speexdsp.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# speexdsp -# -################################################################################ - -SPEEXDSP_VERSION = SpeexDSP-1.2.0 -SPEEXDSP_SITE = https://gitlab.xiph.org/xiph/speexdsp.git -SPEEXDSP_SITE_METHOD = git -SPEEXDSP_LICENSE = BSD-3-Clause -SPEEXDSP_LICENSE_FILES = COPYING -SPEEXDSP_INSTALL_STAGING = YES -SPEEXDSP_DEPENDENCIES = host-pkgconf -SPEEXDSP_AUTORECONF = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/spi-tools/spi-tools.hash b/buildroot-2021.05/package/spi-tools/spi-tools.hash deleted file mode 100644 index 771f86e4..00000000 --- a/buildroot-2021.05/package/spi-tools/spi-tools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed hash -sha256 319ad6ab296111109ea4a820e216cef392429295de7e10e76f7146677337cf09 spi-tools-0.8.6.tar.gz -sha256 a01259a1b522cf0de95824f9860613b453153eebac468e96196d5d7dba84786c LICENSE diff --git a/buildroot-2021.05/package/spi-tools/spi-tools.mk b/buildroot-2021.05/package/spi-tools/spi-tools.mk deleted file mode 100644 index b2dd4db3..00000000 --- a/buildroot-2021.05/package/spi-tools/spi-tools.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# spi-tools -# -################################################################################ - -SPI_TOOLS_VERSION = 0.8.6 -SPI_TOOLS_SITE = $(call github,cpb-,spi-tools,$(SPI_TOOLS_VERSION)) -# autoreconf must be run as specified in package documentation -SPI_TOOLS_AUTORECONF = YES -SPI_TOOLS_LICENSE = GPL-2.0 -SPI_TOOLS_LICENSE_FILES = LICENSE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/spice/Config.in b/buildroot-2021.05/package/spice/Config.in deleted file mode 100644 index 2241b55b..00000000 --- a/buildroot-2021.05/package/spice/Config.in +++ /dev/null @@ -1,24 +0,0 @@ -comment "spice server needs a toolchain w/ wchar, threads" - depends on BR2_i386 || BR2_x86_64 - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_SPICE - bool "spice server" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_USE_WCHAR # libglib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_PIXMAN - select BR2_PACKAGE_SPICE_PROTOCOL - help - The Spice project aims to provide a complete open source - solution for interaction with virtualized desktop devices. - The Spice project deals with both the virtualized devices - and the front-end. Interaction between front-end and - back-end is done using VD-Interfaces. - - This package implements the server-part of Spice. - - http://www.spice-space.org/ diff --git a/buildroot-2021.05/package/spice/spice.hash b/buildroot-2021.05/package/spice/spice.hash deleted file mode 100644 index 8f84c232..00000000 --- a/buildroot-2021.05/package/spice/spice.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 551d4be4a07667cf0543f3c895beb6da8a93ef5a9829f2ae47817be5e616a114 spice-0.14.3.tar.bz2 -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/spice/spice.mk b/buildroot-2021.05/package/spice/spice.mk deleted file mode 100644 index b515431c..00000000 --- a/buildroot-2021.05/package/spice/spice.mk +++ /dev/null @@ -1,77 +0,0 @@ -################################################################################ -# -# spice -# -################################################################################ - -SPICE_VERSION = 0.14.3 -SPICE_SOURCE = spice-$(SPICE_VERSION).tar.bz2 -SPICE_SITE = http://www.spice-space.org/download/releases/spice-server -SPICE_LICENSE = LGPL-2.1+ -SPICE_LICENSE_FILES = COPYING -SPICE_CPE_ID_VENDOR = spice_project -SPICE_INSTALL_STAGING = YES -SPICE_DEPENDENCIES = \ - host-pkgconf \ - jpeg \ - libglib2 \ - openssl \ - pixman \ - spice-protocol - -# We disable everything for now, because the dependency tree can become -# quite deep if we try to enable some features, and I have not tested that. -SPICE_CONF_OPTS = \ - --disable-gstreamer \ - --disable-opengl \ - --disable-smartcard \ - --without-sasl \ - --disable-manual \ - --disable-tests - -SPICE_DEPENDENCIES += host-pkgconf - -ifeq ($(BR2_PACKAGE_LZ4),y) -SPICE_CONF_OPTS += --enable-lz4 -SPICE_DEPENDENCIES += lz4 -else -SPICE_CONF_OPTS += --disable-lz4 -endif - -ifeq ($(BR2_PACKAGE_OPUS),y) -SPICE_CONF_OPTS += --enable-opus -SPICE_DEPENDENCIES += opus -else -SPICE_CONF_OPTS += --disable-opus -endif - -# no enable/disable, detected using pkg-config -ifeq ($(BR2_PACKAGE_OPUS),y) -SPICE_DEPENDENCIES += opus -endif - -# We need to tweak spice.pc because it /forgets/ (for static linking) that -# it should link against libz and libjpeg. libz is pkg-config-aware, while -# libjpeg isn't, hence the two-line tweak -define SPICE_POST_INSTALL_STAGING_FIX_PC - $(SED) 's/^\(Requires.private:.*\)$$/\1 zlib/; s/^\(Libs.private:.*\)$$/\1 -ljpeg/;' \ - "$(STAGING_DIR)/usr/lib/pkgconfig/spice-server.pc" -endef -SPICE_POST_INSTALL_STAGING_HOOKS += SPICE_POST_INSTALL_STAGING_FIX_PC - -# It is currently not possible to detect if stack-protection is available -# or not, because it requires support from both the compiler *and* the -# C library, but the C library (eg. uClibc) can be compiled without that -# support, even if gcc accepts the -fstack-protector-all option. -# spice's ./configure only checks for gcc's -fstack-protector-all option, -# so it misses the case where the C library doe not provide the requires -# support. -# A correct fix would be to fix spice's ./configure to also check the C -# library, but it might be much more involved. -# So, we simply disable it for now. After all, as uClibc's help puts it: -# Note that NOEXECSTACK on a kernel with address space randomization -# is generally sufficient to prevent most buffer overflow exploits -# without increasing code size. -SPICE_CONF_OPTS += gl_cv_warn__fstack_protector_all=no - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/spidermonkey/0001-allow-newer-autoconf-versions.patch b/buildroot-2021.05/package/spidermonkey/0001-allow-newer-autoconf-versions.patch deleted file mode 100644 index 61becb68..00000000 --- a/buildroot-2021.05/package/spidermonkey/0001-allow-newer-autoconf-versions.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 646a78262b18e19721cd41ee515215221dd241b6 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia -Date: Thu, 12 Jul 2018 18:12:42 +0800 -Subject: [PATCH] allow newer autoconf versions - -Spidermonkey is hardcoded to use Autoconf 2.13, which is from 1999! -The reasoning behind using 2.13 is because newer versions of Autoconf at the -time did not work correctly with the custom m4 macros in the source code. -However: Because we are building just the spidermonkey engine instead of the -entire firefox package, and we are using a tarball with a pre-setup -old-configure file, there is no need for the old version of autoconf. - -See: https://bugzilla.mozilla.org/show_bug.cgi?id=104642 - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Hongxu Jia -Signed-off-by: Adam Duskett ---- - build/moz.configure/old.configure | 4 ++-- - js/src/old-configure | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/build/moz.configure/old.configure b/build/moz.configure/old.configure -index 17d0c5bf..436fcc5e 100644 ---- a/build/moz.configure/old.configure -+++ b/build/moz.configure/old.configure -@@ -33,7 +33,7 @@ def autoconf(mozconfig, autoconf): - autoconf = autoconf[0] if autoconf else None - - for ac in (mozconfig_autoconf, autoconf, 'autoconf-2.13', 'autoconf2.13', -- 'autoconf213'): -+ 'autoconf213', 'autoconf'): - if ac: - autoconf = find_program(ac) - if autoconf: -@@ -87,7 +87,7 @@ def prepare_configure(old_configure, mozconfig, autoconf, build_env, shell, - old_configure = os.path.join(old_configure_dir, 'js', 'src', - os.path.basename(old_configure)) - -- refresh = True -+ refresh = False - if exists(old_configure): - mtime = getmtime(old_configure) - aclocal = os.path.join(build_env.topsrcdir, 'build', 'autoconf', -diff --git a/js/src/old-configure b/js/src/old-configure -index 58cc646f..ebd2646e 100644 ---- a/js/src/old-configure -+++ b/js/src/old-configure -@@ -587,7 +587,7 @@ if test -z "$srcdir"; then - ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. -- srcdir=$ac_confdir -+ srcdir="$ac_confdir/../../" - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi --- -2.23.0 - diff --git a/buildroot-2021.05/package/spidermonkey/0002-allow-building-in-tree.patch b/buildroot-2021.05/package/spidermonkey/0002-allow-building-in-tree.patch deleted file mode 100644 index 533747cb..00000000 --- a/buildroot-2021.05/package/spidermonkey/0002-allow-building-in-tree.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 07d40f72e1ed1d84a5ddd98ae8490d41a2e19c46 Mon Sep 17 00:00:00 2001 -From: Arjan van de Ven -Date: Wed, 5 Sep 2018 11:39:01 +0000 -Subject: [PATCH] allow building in tree - -By default, spidermonkey must be configured and built out-of-tree, -otherwise the following error occurs: - -FATAL ERROR PROCESSING MOZBUILD FILE -============================== - -The error occurred while processing the following file or one of the files it -includes: - js/src/shell/moz.build - -The error occurred when validating the result of the execution. The reported -error is: - Path specified in LOCAL_INCLUDES is not allowed: - .. (resolved to js/src) - -Remove this check, as spidermonkey builds without issue in-tree. - -Signed-off-by: Arjan van de Ven -Signed-off-by: Adam Duskett ---- - python/mozbuild/mozbuild/frontend/emitter.py | 5 ----- - 1 file changed, 5 deletions(-) - -diff --git a/python/mozbuild/mozbuild/frontend/emitter.py b/python/mozbuild/mozbuild/frontend/emitter.py -index 642b381c..c37fbf5d 100644 ---- a/python/mozbuild/mozbuild/frontend/emitter.py -+++ b/python/mozbuild/mozbuild/frontend/emitter.py -@@ -1127,11 +1127,6 @@ class TreeMetadataEmitter(LoggingMixin): - raise SandboxValidationError('Path specified in LOCAL_INCLUDES ' - 'does not exist: %s (resolved to %s)' % (local_include, - full_path), context) -- if (full_path == context.config.topsrcdir or -- full_path == context.config.topobjdir): -- raise SandboxValidationError('Path specified in LOCAL_INCLUDES ' -- 'is not allowed: %s (resolved to %s)' % (local_include, -- full_path), context) - include_obj = LocalInclude(context, local_include) - local_includes.append(include_obj.path.full_path) - yield include_obj --- -2.23.0 - diff --git a/buildroot-2021.05/package/spidermonkey/0003-allow-unknown-configuration-options.patch b/buildroot-2021.05/package/spidermonkey/0003-allow-unknown-configuration-options.patch deleted file mode 100644 index b489075a..00000000 --- a/buildroot-2021.05/package/spidermonkey/0003-allow-unknown-configuration-options.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 4a06a1a6a71293decb83aee7adb74bc709493106 Mon Sep 17 00:00:00 2001 -From: Philip Chimento -Date: Wed, 5 Jul 2017 22:57:09 -0700 -Subject: [PATCH] allow unknown configuration options - -By default, if an unknown parameter is passed to configure, an error is raised. -Replace the raise with a pass and continue. - -Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1379540 - -Signed-off-by: Philip Chimento -Signed-off-by: Adam Duskett ---- - js/src/configure | 9 +++++++++ - python/mozbuild/mozbuild/configure/__init__.py | 2 +- - python/mozbuild/mozbuild/configure/options.py | 6 +++++- - 3 files changed, 15 insertions(+), 2 deletions(-) - create mode 100755 js/src/configure - -diff --git a/python/mozbuild/mozbuild/configure/__init__.py b/python/mozbuild/mozbuild/configure/__init__.py -index 0fe640ca..09b460d3 100644 ---- a/python/mozbuild/mozbuild/configure/__init__.py -+++ b/python/mozbuild/mozbuild/configure/__init__.py -@@ -421,7 +421,7 @@ def run(self, path=None): - # All options should have been removed (handled) by now. - for arg in self._helper: - without_value = arg.split('=', 1)[0] -- raise InvalidOptionError('Unknown option: %s' % without_value) -+ pass - - # Run the execution queue - for func, args in self._execution_queue: --- -2.23.0 - diff --git a/buildroot-2021.05/package/spidermonkey/0004-fix-building-with-musl.patch b/buildroot-2021.05/package/spidermonkey/0004-fix-building-with-musl.patch deleted file mode 100644 index 8d8b10fb..00000000 --- a/buildroot-2021.05/package/spidermonkey/0004-fix-building-with-musl.patch +++ /dev/null @@ -1,133 +0,0 @@ -From 0c9e8f586ba52a9aef5ed298e8315b2598b8fb72 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 25 May 2019 16:54:45 -0700 -Subject: [PATCH] fix building with musl - -The MIPS specific header is not provided by musl -linux kernel headers provide which has same definitions - -Upstream-Status: Pending - -Signed-off-by: Khem Raj -Signed-off-by: Adam Duskett ---- ---- - js/src/jsmath.cpp | 2 +- - memory/build/Mutex.h | 4 ++-- - mozglue/misc/TimeStamp_darwin.cpp | 1 - - mozglue/misc/TimeStamp_posix.cpp | 1 - - nsprpub/pr/src/misc/prsystem.c | 1 - - third_party/python/psutil/psutil/_psutil_bsd.c | 1 - - third_party/python/psutil/psutil/_psutil_osx.c | 1 - - third_party/python/psutil/psutil/arch/osx/process_info.c | 1 - - 8 files changed, 3 insertions(+), 9 deletions(-) - -diff --git a/js/src/jsmath.cpp b/js/src/jsmath.cpp -index a28968be..8facaa81 100644 ---- a/js/src/jsmath.cpp -+++ b/js/src/jsmath.cpp -@@ -71,7 +71,7 @@ - #elif defined(__s390__) - #define GETRANDOM_NR 349 - #elif defined(__mips__) --#include -+#include - #if _MIPS_SIM == _MIPS_SIM_ABI32 - #define GETRANDOM_NR 4353 - #elif _MIPS_SIM == _MIPS_SIM_ABI64 -diff --git a/memory/build/Mutex.h b/memory/build/Mutex.h -index cb8b1e7d..7b9eb1de 100644 ---- a/memory/build/Mutex.h -+++ b/memory/build/Mutex.h -@@ -42,7 +42,7 @@ struct Mutex { - if (pthread_mutexattr_init(&attr) != 0) { - return false; - } -- pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); -+ pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_STALLED); - if (pthread_mutex_init(&mMutex, &attr) != 0) { - pthread_mutexattr_destroy(&attr); - return false; -@@ -102,7 +102,7 @@ typedef Mutex StaticMutex; - - #if defined(XP_DARWIN) - #define STATIC_MUTEX_INIT OS_SPINLOCK_INIT --#elif defined(XP_LINUX) && !defined(ANDROID) -+#elif defined(XP_LINUX) && !defined(ANDROID) && defined(__GLIBC__) - #define STATIC_MUTEX_INIT PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP - #else - #define STATIC_MUTEX_INIT PTHREAD_MUTEX_INITIALIZER -diff --git a/mozglue/misc/TimeStamp_darwin.cpp b/mozglue/misc/TimeStamp_darwin.cpp -index d2abe9a5..d065649c 100644 ---- a/mozglue/misc/TimeStamp_darwin.cpp -+++ b/mozglue/misc/TimeStamp_darwin.cpp -@@ -19,7 +19,6 @@ - - #include - #include --#include - #include - #include - -diff --git a/mozglue/misc/TimeStamp_posix.cpp b/mozglue/misc/TimeStamp_posix.cpp -index 86c7609a..a37bd93a 100644 ---- a/mozglue/misc/TimeStamp_posix.cpp -+++ b/mozglue/misc/TimeStamp_posix.cpp -@@ -21,7 +21,6 @@ - #if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || \ - defined(__OpenBSD__) - #include --#include - #endif - - #if defined(__DragonFly__) || defined(__FreeBSD__) -diff --git a/nsprpub/pr/src/misc/prsystem.c b/nsprpub/pr/src/misc/prsystem.c -index eba85fb0..54b57bb9 100644 ---- a/nsprpub/pr/src/misc/prsystem.c -+++ b/nsprpub/pr/src/misc/prsystem.c -@@ -27,7 +27,6 @@ - || defined(OPENBSD) || defined(DRAGONFLY) || defined(DARWIN) - #define _PR_HAVE_SYSCTL - #include --#include - #endif - - #if defined(DARWIN) -diff --git a/third_party/python/psutil/psutil/_psutil_bsd.c b/third_party/python/psutil/psutil/_psutil_bsd.c -index 9a2ed04b..9e0d34cb 100644 ---- a/third_party/python/psutil/psutil/_psutil_bsd.c -+++ b/third_party/python/psutil/psutil/_psutil_bsd.c -@@ -29,7 +29,6 @@ - #include - #include - #include --#include - #include - #include - #include -diff --git a/third_party/python/psutil/psutil/_psutil_osx.c b/third_party/python/psutil/psutil/_psutil_osx.c -index 55dd64ca..ec356339 100644 ---- a/third_party/python/psutil/psutil/_psutil_osx.c -+++ b/third_party/python/psutil/psutil/_psutil_osx.c -@@ -13,7 +13,6 @@ - #include - #include - #include --#include - #include - #include - #include -diff --git a/third_party/python/psutil/psutil/arch/osx/process_info.c b/third_party/python/psutil/psutil/arch/osx/process_info.c -index 40c79a2c..8de0dcbd 100644 ---- a/third_party/python/psutil/psutil/arch/osx/process_info.c -+++ b/third_party/python/psutil/psutil/arch/osx/process_info.c -@@ -16,7 +16,6 @@ - #include - #include - #include --#include - #include - - #include "process_info.h" --- -2.23.0 diff --git a/buildroot-2021.05/package/spidermonkey/0005-add-riscv-support.patch b/buildroot-2021.05/package/spidermonkey/0005-add-riscv-support.patch deleted file mode 100644 index 6b7ea326..00000000 --- a/buildroot-2021.05/package/spidermonkey/0005-add-riscv-support.patch +++ /dev/null @@ -1,121 +0,0 @@ -From 64ad80e6d95871f17be4cd01da15581f41ac0b2b Mon Sep 17 00:00:00 2001 -From: Stefan O'Rear -Date: Fri, 11 Nov 2016 21:10:34 -0700 -Subject: [PATCH] Add RISC-V support - -These changes allow spidermonkey to cross-compile for riscv64 and riscv32. - -Upstream-status: Submitted -See: https://bugzilla.mozilla.org/show_bug.cgi?id=1318905 - -Signed-off-by: Stefan O'Rear -Signed-off-by: Ricardo Salveti -Signed-off-by: Adam Duskett ---- - build/autoconf/config.guess | 3 +++ - build/moz.configure/init.configure | 3 +++ - js/src/jit/AtomicOperations.h | 2 ++ - js/src/jit/none/AtomicOperations-feeling-lucky.h | 8 ++++++++ - mfbt/tests/TestPoisonArea.cpp | 3 +++ - python/mozbuild/mozbuild/configure/constants.py | 4 ++++ - 6 files changed, 23 insertions(+) - -diff --git a/build/autoconf/config.guess b/build/autoconf/config.guess -index d5d667d4..1277a862 100755 ---- a/build/autoconf/config.guess -+++ b/build/autoconf/config.guess -@@ -1029,6 +1029,9 @@ EOF - ppcle:Linux:*:*) - echo powerpcle-unknown-linux-${LIBC} - exit ;; -+ riscv32:Linux:*:* | riscv64:Linux:*:*) -+ echo ${UNAME_MACHINE}-unknown-linux-${LIBC} -+ exit ;; - s390:Linux:*:* | s390x:Linux:*:*) - echo ${UNAME_MACHINE}-ibm-linux-${LIBC} - exit ;; -diff --git a/build/moz.configure/init.configure b/build/moz.configure/init.configure -index 83b8d705..ef33db50 100644 ---- a/build/moz.configure/init.configure -+++ b/build/moz.configure/init.configure -@@ -676,6 +676,9 @@ def split_triplet(triplet, allow_unknown=False): - elif cpu == 'sh4': - canonical_cpu = 'sh4' - endianness = 'little' -+ elif cpu in ('riscv32', 'riscv64'): -+ canonical_cpu = cpu -+ endianness = 'little' - elif allow_unknown: - canonical_cpu = cpu - endianness = 'unknown' -diff --git a/js/src/jit/AtomicOperations.h b/js/src/jit/AtomicOperations.h -index 3501e65b..fda0b148 100644 ---- a/js/src/jit/AtomicOperations.h -+++ b/js/src/jit/AtomicOperations.h -@@ -393,6 +393,8 @@ inline bool AtomicOperations::isLockfreeJS(int32_t size) { - #include "jit/none/AtomicOperations-feeling-lucky.h" - #elif defined(__s390__) || defined(__s390x__) - #include "jit/none/AtomicOperations-feeling-lucky.h" -+#elif defined(__riscv) -+#include "jit/none/AtomicOperations-feeling-lucky.h" - #else - #error "No AtomicOperations support provided for this platform" - #endif -diff --git a/js/src/jit/none/AtomicOperations-feeling-lucky.h b/js/src/jit/none/AtomicOperations-feeling-lucky.h -index c0b43699..42b1f3e0 100644 ---- a/js/src/jit/none/AtomicOperations-feeling-lucky.h -+++ b/js/src/jit/none/AtomicOperations-feeling-lucky.h -@@ -80,6 +80,14 @@ - #define GNUC_COMPATIBLE - #endif - -+#ifdef __riscv -+#define GNUC_COMPATIBLE -+#ifdef __riscv_xlen == 64 -+#define HAS_64BIT_ATOMICS -+#define HAS_64BIT_LOCKFREE -+#endif -+#endif -+ - // The default implementation tactic for gcc/clang is to use the newer - // __atomic intrinsics added for use in C++11 . Where that - // isn't available, we use GCC's older __sync functions instead. -diff --git a/mfbt/tests/TestPoisonArea.cpp b/mfbt/tests/TestPoisonArea.cpp -index 06c24ed0..fba9263c 100644 ---- a/mfbt/tests/TestPoisonArea.cpp -+++ b/mfbt/tests/TestPoisonArea.cpp -@@ -168,6 +168,9 @@ static const ia64_instr _return_instr = - #define RETURN_INSTR _return_instr - #define RETURN_INSTR_TYPE ia64_instr - -+#elif defined __riscv -+#define RETURN_INSTR 0x80828082 /* ret; ret */ -+ - #else - #error "Need return instruction for this architecture" - #endif -diff --git a/python/mozbuild/mozbuild/configure/constants.py b/python/mozbuild/mozbuild/configure/constants.py -index 33ae5a45..1067b6a4 100644 ---- a/python/mozbuild/mozbuild/configure/constants.py -+++ b/python/mozbuild/mozbuild/configure/constants.py -@@ -50,6 +50,8 @@ CPU_bitness = { - 'mips64': 64, - 'ppc': 32, - 'ppc64': 64, -+ 'riscv32': 32, -+ 'riscv64': 64, - 's390': 32, - 's390x': 64, - 'sh4': 32, -@@ -82,6 +84,8 @@ CPU_preprocessor_checks = OrderedDict(( - ('s390', '__s390__'), - ('ppc64', '__powerpc64__'), - ('ppc', '__powerpc__'), -+ ('riscv32', '__riscv && __SIZEOF_POINTER__ == 4'), -+ ('riscv64', '__riscv && __SIZEOF_POINTER__ == 8'), - ('Alpha', '__alpha__'), - ('hppa', '__hppa__'), - ('sparc64', '__sparc__ && __arch64__'), --- -2.23.0 - diff --git a/buildroot-2021.05/package/spidermonkey/0006-copy-headers-on-install-instead-of-symlinking.patch b/buildroot-2021.05/package/spidermonkey/0006-copy-headers-on-install-instead-of-symlinking.patch deleted file mode 100644 index 10ca54c7..00000000 --- a/buildroot-2021.05/package/spidermonkey/0006-copy-headers-on-install-instead-of-symlinking.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 903a79a1efff18fc7cc50db09a3fe5d768adc9a8 Mon 19 Mar 2018 09:58:06 +0100 -From: Rico Tzschichholz -Date: Wed, 5 Jul 2017 22:45:59 -0700 -Subject: build: Copy headers on install instead of symlinking - -Patch ported from mozjs52 by Philip Chimento - -Signed-off-by: Rico Tzschichholz -Signed-off-by: Adam Duskett ---- - python/mozbuild/mozbuild/backend/recursivemake.py | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/python/mozbuild/mozbuild/backend/recursivemake.py b/python/mozbuild/mozbuild/backend/recursivemake.py -index dd9020d..6918ef8 100644 ---- a/python/mozbuild/mozbuild/backend/recursivemake.py -+++ b/python/mozbuild/mozbuild/backend/recursivemake.py -@@ -1427,11 +1427,11 @@ class RecursiveMakeBackend(CommonBackend): - raise Exception("Wildcards are only supported in the filename part of " - "srcdir-relative or absolute paths.") - -- install_manifest.add_pattern_link(basepath, wild, path) -+ install_manifest.add_pattern_copy(basepath, wild, path) - else: -- install_manifest.add_pattern_link(f.srcdir, f, path) -+ install_manifest.add_pattern_copy(f.srcdir, f, path) - else: -- install_manifest.add_link(f.full_path, dest) -+ install_manifest.add_copy(f.full_path, dest) - else: - install_manifest.add_optional_exists(dest) - backend_file.write('%s_FILES += %s\n' % ( --- -2.23.0 diff --git a/buildroot-2021.05/package/spidermonkey/0007-ensure-proper-running-on-64-bit-and-32-bit-be-platforms.patch b/buildroot-2021.05/package/spidermonkey/0007-ensure-proper-running-on-64-bit-and-32-bit-be-platforms.patch deleted file mode 100644 index 9ffd6938..00000000 --- a/buildroot-2021.05/package/spidermonkey/0007-ensure-proper-running-on-64-bit-and-32-bit-be-platforms.patch +++ /dev/null @@ -1,144 +0,0 @@ -From f66d410f3ba767efb91c6b9545d373267cd975f2 Mon Sep 17 00:00:00 2001 -From: Philip Chimento -Date: Sat, 7 Sep 2019 20:43:40 +0200 -Subject: [PATCH] ensure proper running on 64-bit and 32-bit BE platforms - -See: https://salsa.debian.org/gnome-team/mozjs60/blob/debian/master/debian/patches/jsproperty-endian.patch - -Signed-off-by: Philip Chimento -Signed-off-by: Adam Duskett ---- - js/src/gc/Marking-inl.h | 16 ++++++++++++++++ - js/src/gc/RelocationOverlay.h | 13 ++++++++++++- - js/src/jsfriendapi.h | 8 ++++++++ - js/src/vm/StringType.h | 13 +++++++++++++ - 4 files changed, 49 insertions(+), 1 deletion(-) - -diff --git a/js/src/gc/Marking-inl.h b/js/src/gc/Marking-inl.h -index 6d2a4c7..c773c21 100644 ---- a/js/src/gc/Marking-inl.h -+++ b/js/src/gc/Marking-inl.h -@@ -82,12 +82,28 @@ inline void RelocationOverlay::forwardTo(Cell* cell) { - MOZ_ASSERT(!isForwarded()); - // The location of magic_ is important because it must never be valid to see - // the value Relocated there in a GC thing that has not been moved. -+#if MOZ_LITTLE_ENDIAN || JS_BITS_PER_WORD == 32 -+ // On 32-bit, the magic_ aliases with whatever comes after the first -+ // pointer; on little-endian 64-bit, the magic_ aliases with the -+ // 32 most significant bits of the pointer, which are the second half. - static_assert(offsetof(RelocationOverlay, magic_) == - offsetof(JSObject, group_) + sizeof(uint32_t), - "RelocationOverlay::magic_ is in the wrong location"); - static_assert(offsetof(RelocationOverlay, magic_) == - offsetof(js::Shape, base_) + sizeof(uint32_t), - "RelocationOverlay::magic_ is in the wrong location"); -+#elif JS_BITS_PER_WORD == 64 -+ // On big-endian 64-bit, the magic_ aliases with the 32 most -+ // significant bits of the pointer, but now that's the first half. -+ static_assert(offsetof(RelocationOverlay, magic_) == -+ offsetof(JSObject, group_), -+ "RelocationOverlay::magic_ is in the wrong location"); -+ static_assert(offsetof(RelocationOverlay, magic_) == -+ offsetof(js::Shape, base_), -+ "RelocationOverlay::magic_ is in the wrong location"); -+#else -+# error "Unknown endianness or word size" -+#endif - static_assert( - offsetof(RelocationOverlay, magic_) == offsetof(JSString, d.u1.length), - "RelocationOverlay::magic_ is in the wrong location"); -diff --git a/js/src/gc/RelocationOverlay.h b/js/src/gc/RelocationOverlay.h -index a568843..399a541 100644 ---- a/js/src/gc/RelocationOverlay.h -+++ b/js/src/gc/RelocationOverlay.h -@@ -33,14 +33,25 @@ class RelocationOverlay { - /* See comment in js/public/HeapAPI.h. */ - static const uint32_t Relocated = js::gc::Relocated; - -+#if MOZ_LITTLE_ENDIAN || JS_BITS_PER_WORD == 32 - /* -- * Keep the low 32 bits untouched. Use them to distinguish strings from -+ * Keep the first 32 bits untouched. Use them to distinguish strings from - * objects in the nursery. - */ - uint32_t preserve_; - - /* Set to Relocated when moved. */ - uint32_t magic_; -+#elif JS_BITS_PER_WORD == 64 -+ /* -+ * On big-endian, we need to reorder to keep preserve_ lined up with the -+ * low 32 bits of the aligned group_ pointer in JSObject. -+ */ -+ uint32_t magic_; -+ uint32_t preserve_; -+#else -+# error "Unknown endianness or word size" -+#endif - - /* The location |this| was moved to. */ - Cell* newLocation_; -diff --git a/js/src/jsfriendapi.h b/js/src/jsfriendapi.h -index 4b8d18a..70ce0a1 100644 ---- a/js/src/jsfriendapi.h -+++ b/js/src/jsfriendapi.h -@@ -9,6 +9,7 @@ - - #include "mozilla/Atomics.h" - #include "mozilla/Casting.h" -+#include "mozilla/EndianUtils.h" - #include "mozilla/Maybe.h" - #include "mozilla/MemoryReporting.h" - #include "mozilla/UniquePtr.h" -@@ -609,8 +610,15 @@ struct String { - static const uint32_t LATIN1_CHARS_BIT = JS_BIT(6); - static const uint32_t EXTERNAL_FLAGS = LINEAR_BIT | NON_ATOM_BIT | JS_BIT(5); - static const uint32_t TYPE_FLAGS_MASK = JS_BIT(6) - 1; -+#if MOZ_LITTLE_ENDIAN || JS_BITS_PER_WORD == 32 - uint32_t flags; - uint32_t length; -+#elif JS_BITS_PER_WORD == 64 -+ uint32_t length; -+ uint32_t flags; -+#else -+# error "Unknown endianness or word size" -+#endif - union { - const JS::Latin1Char* nonInlineCharsLatin1; - const char16_t* nonInlineCharsTwoByte; -diff --git a/js/src/vm/StringType.h b/js/src/vm/StringType.h -index cde3427..c3400db 100644 ---- a/js/src/vm/StringType.h -+++ b/js/src/vm/StringType.h -@@ -7,6 +7,7 @@ - #ifndef vm_StringType_h - #define vm_StringType_h - -+#include "mozilla/EndianUtils.h" - #include "mozilla/MemoryReporting.h" - #include "mozilla/PodOperations.h" - #include "mozilla/Range.h" -@@ -168,8 +169,20 @@ class JSString : public js::gc::Cell { - struct Data { - union { - struct { -+#if MOZ_LITTLE_ENDIAN || JS_BITS_PER_WORD == 32 - uint32_t flags; /* JSString */ - uint32_t length; /* JSString */ -+#elif JS_BITS_PER_WORD == 64 -+ /* -+ * On big-endian, we need to reorder to keep flags lined up -+ * with the low 32 bits of the aligned group_ pointer in -+ * JSObject. -+ */ -+ uint32_t length; /* JSString */ -+ uint32_t flags; /* JSString */ -+#else -+# error "Unknown endianness or word size" -+#endif - }; - uintptr_t flattenData; /* JSRope (temporary while flattening) */ - } u1; --- -2.23.0 - diff --git a/buildroot-2021.05/package/spidermonkey/0008-save-and-restore-non-volatile-x28-on-ARM64-for-generated-unboxed-obje.patch b/buildroot-2021.05/package/spidermonkey/0008-save-and-restore-non-volatile-x28-on-ARM64-for-generated-unboxed-obje.patch deleted file mode 100644 index 9fd4340f..00000000 --- a/buildroot-2021.05/package/spidermonkey/0008-save-and-restore-non-volatile-x28-on-ARM64-for-generated-unboxed-obje.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 903a79a1efff18fc7cc50db09a3fe5d768adc9a8 Mon 19 Mar 2018 09:58:06 +0100 -From: Lars T Hansen -Date: Fri, 23 Mar 2018 22:01:33 +0000 -Subject: [PATCH] save and restore non-volatile x28 on ARM64 for generated unboxed object constructor - -Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1375074 - -Upsream-status: Applied -See: https://hg.mozilla.org/mozilla-central/rev/800abe66894d - -Signed-off-by: Lars T Hansen -Signed-off-by: Adam Duskett ---- - js/src/vm/UnboxedObject.cpp | 30 ++++++++++++++++++++++++++---- - 1 file changed, 26 insertions(+), 4 deletions(-) - -diff --git a/js/src/vm/UnboxedObject.cpp b/js/src/vm/UnboxedObject.cpp -index 35ca20d7405f..1c20a1093d13 100644 ---- a/js/src/vm/UnboxedObject.cpp -+++ b/js/src/vm/UnboxedObject.cpp -@@ -86,9 +86,16 @@ static const uintptr_t CLEAR_CONSTRUCTOR_CODE_TOKEN = 0x1; - #endif - - #ifdef JS_CODEGEN_ARM64 -- // ARM64 communicates stack address via sp, but uses a pseudo-sp for -- // addressing. -- masm.initStackPtr(); -+ // ARM64 communicates stack address via sp, but uses a pseudo-sp (PSP) for -+ // addressing. The register we use for PSP may however also be used by -+ // calling code, and it is nonvolatile, so save it. Do this as a special -+ // case first because the generic save/restore code needs the PSP to be -+ // initialized already. -+ MOZ_ASSERT(PseudoStackPointer64.Is(masm.GetStackPointer64())); -+ masm.Str(PseudoStackPointer64, vixl::MemOperand(sp, -16, vixl::PreIndex)); -+ -+ // Initialize the PSP from the SP. -+ masm.initStackPtr(); - #endif - - MOZ_ASSERT(propertiesReg.volatile_()); -@@ -239,7 +246,22 @@ static const uintptr_t CLEAR_CONSTRUCTOR_CODE_TOKEN = 0x1; - if (ScratchDoubleReg.volatile_()) masm.pop(ScratchDoubleReg); - masm.PopRegsInMask(savedNonVolatileRegisters); - -- masm.abiret(); -+#ifdef JS_CODEGEN_ARM64 -+ // Now restore the value that was in the PSP register on entry, and return. -+ -+ // Obtain the correct SP from the PSP. -+ masm.Mov(sp, PseudoStackPointer64); -+ -+ // Restore the saved value of the PSP register, this value is whatever the -+ // caller had saved in it, not any actual SP value, and it must not be -+ // overwritten subsequently. -+ masm.Ldr(PseudoStackPointer64, vixl::MemOperand(sp, 16, vixl::PostIndex)); -+ -+ // Perform a plain Ret(), as abiret() will move SP <- PSP and that is wrong. -+ masm.Ret(vixl::lr); -+#else -+ masm.abiret(); -+#endif - - masm.bind(&failureStoreOther); - --- -2.23.0 diff --git a/buildroot-2021.05/package/spidermonkey/0009-save-x28-before-clobbering-it-in-the-regex-compiler.patch b/buildroot-2021.05/package/spidermonkey/0009-save-x28-before-clobbering-it-in-the-regex-compiler.patch deleted file mode 100644 index b4623c59..00000000 --- a/buildroot-2021.05/package/spidermonkey/0009-save-x28-before-clobbering-it-in-the-regex-compiler.patch +++ /dev/null @@ -1,100 +0,0 @@ -From 903a79a1efff18fc7cc50db09a3fe5d768adc9a8 Mon 19 Mar 2018 09:58:06 +0100 -From: Lars T Hansen -Date: Fri, 23 Mar 2018 22:01:33 +0000 -Subject: [PATCH] save x28 before clobbering it in the regex compiler - -Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1445907 - -Upsream-status: Applied -See: https://hg.mozilla.org/mozilla-central/rev/903a79a1efff - -Signed-off-by: Lars T Hansen -Signed-off-by: Adam Duskett ---- -diff --git a/js/src/irregexp/NativeRegExpMacroAssembler.cpp b/js/src/irregexp/NativeRegExpMacroAssembler.cpp ---- a/js/src/irregexp/NativeRegExpMacroAssembler.cpp -+++ b/js/src/irregexp/NativeRegExpMacroAssembler.cpp -@@ -118,17 +118,25 @@ NativeRegExpMacroAssembler::GenerateCode - - Label return_temp0; - - // Finalize code - write the entry point code now we know how many - // registers we need. - masm.bind(&entry_label_); - - #ifdef JS_CODEGEN_ARM64 -- // ARM64 communicates stack address via sp, but uses a pseudo-sp for addressing. -+ // ARM64 communicates stack address via SP, but uses a pseudo-sp (PSP) for -+ // addressing. The register we use for PSP may however also be used by -+ // calling code, and it is nonvolatile, so save it. Do this as a special -+ // case first because the generic save/restore code needs the PSP to be -+ // initialized already. -+ MOZ_ASSERT(PseudoStackPointer64.Is(masm.GetStackPointer64())); -+ masm.Str(PseudoStackPointer64, vixl::MemOperand(sp, -16, vixl::PreIndex)); -+ -+ // Initialize the PSP from the SP. - masm.initStackPtr(); - #endif - - // Push non-volatile registers which might be modified by jitcode. - size_t pushedNonVolatileRegisters = 0; - for (GeneralRegisterForwardIterator iter(savedNonVolatileRegisters); iter.more(); ++iter) { - masm.Push(*iter); - pushedNonVolatileRegisters++; -@@ -416,17 +424,32 @@ NativeRegExpMacroAssembler::GenerateCode - masm.pop(temp0); - masm.movePtr(temp0, StackPointer); - #endif - - // Restore non-volatile registers which were saved on entry. - for (GeneralRegisterBackwardIterator iter(savedNonVolatileRegisters); iter.more(); ++iter) - masm.Pop(*iter); - -+#ifdef JS_CODEGEN_ARM64 -+ // Now restore the value that was in the PSP register on entry, and return. -+ -+ // Obtain the correct SP from the PSP. -+ masm.Mov(sp, PseudoStackPointer64); -+ -+ // Restore the saved value of the PSP register, this value is whatever the -+ // caller had saved in it, not any actual SP value, and it must not be -+ // overwritten subsequently. -+ masm.Ldr(PseudoStackPointer64, vixl::MemOperand(sp, 16, vixl::PostIndex)); -+ -+ // Perform a plain Ret(), as abiret() will move SP <- PSP and that is wrong. -+ masm.Ret(vixl::lr); -+#else - masm.abiret(); -+#endif - - // Backtrack code (branch target for conditional backtracks). - if (backtrack_label_.used()) { - masm.bind(&backtrack_label_); - Backtrack(); - } - - // Backtrack stack overflow code. -diff --git a/js/src/jit-test/tests/regexp/bug1445907.js b/js/src/jit-test/tests/regexp/bug1445907.js -new file mode 100644 ---- /dev/null -+++ b/js/src/jit-test/tests/regexp/bug1445907.js -@@ -0,0 +1,15 @@ -+// On ARM64, we failed to save x28 properly when generating code for the regexp -+// matcher. -+// -+// There's wasm and Debugger code here because the combination forces the use of -+// x28 and exposes the bug when running on the simulator. -+ -+if (!wasmIsSupported()) -+ quit(); -+ -+var g = newGlobal(''); -+var dbg = new Debugger(g); -+g.eval(`var m = new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary('(module (func (export "test")))')))`); -+var re = /./; -+dbg.onEnterFrame = function(frame) { re.exec("x") }; -+result = g.eval("m.exports.test()"); - --- -2.23.0 - diff --git a/buildroot-2021.05/package/spidermonkey/0010-always-use-the-equivalent-year-to-determine-the-time-zone.patch b/buildroot-2021.05/package/spidermonkey/0010-always-use-the-equivalent-year-to-determine-the-time-zone.patch deleted file mode 100644 index 7ebe80a8..00000000 --- a/buildroot-2021.05/package/spidermonkey/0010-always-use-the-equivalent-year-to-determine-the-time-zone.patch +++ /dev/null @@ -1,103 +0,0 @@ -From 903a79a1efff18fc7cc50db09a3fe5d768adc9a8 Mon 19 Mar 2018 09:58:06 +0100 -From: André Bargull -Date: Wed, 8 Nov 2017 03:23:41 -0800 -Subject: always use the equivalent year to determine the time zone offset and - name - -Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1415202 - -Upsream-status: Applied -See: https://hg.mozilla.org/mozilla-central/rev/ce9f1466ec78 - -Reviewed-by: Jeff Walden -Signed-off-by: André Bargull -Signed-off-by: Adam Duskett ---- - js/src/jsdate.cpp | 11 +++++++---- - js/src/vm/Time.cpp | 14 ++++---------- - js/src/vm/Time.h | 2 +- - 3 files changed, 12 insertions(+), 15 deletions(-) - -diff --git a/js/src/jsdate.cpp b/js/src/jsdate.cpp -index 07af3d18c865..ff8fd6c3763c 100644 ---- a/js/src/jsdate.cpp -+++ b/js/src/jsdate.cpp -@@ -2353,12 +2353,15 @@ static PRMJTime ToPRMJTime(double localTime, double utcTime) { - static size_t FormatTime(char* buf, int buflen, const char* fmt, double utcTime, - double localTime) { - PRMJTime prtm = ToPRMJTime(localTime, utcTime); -- int eqivalentYear = IsRepresentableAsTime32(utcTime) -- ? prtm.tm_year -- : EquivalentYearForDST(prtm.tm_year); -+ // If an equivalent year was used to compute the date/time components, use -+ // the same equivalent year to determine the time zone name and offset in -+ // PRMJ_FormatTime(...). -+ int timeZoneYear = IsRepresentableAsTime32(utcTime) -+ ? prtm.tm_year -+ : EquivalentYearForDST(prtm.tm_year); - int offsetInSeconds = (int)floor((localTime - utcTime) / msPerSecond); - -- return PRMJ_FormatTime(buf, buflen, fmt, &prtm, eqivalentYear, -+ return PRMJ_FormatTime(buf, buflen, fmt, &prtm, timeZoneYear, - offsetInSeconds); - } - -diff --git a/js/src/vm/Time.cpp b/js/src/vm/Time.cpp -index f59977f0d0e9..5ee4794b3e83 100644 ---- a/js/src/vm/Time.cpp -+++ b/js/src/vm/Time.cpp -@@ -247,7 +247,7 @@ static void PRMJ_InvalidParameterHandler(const wchar_t* expression, - - /* Format a time value into a buffer. Same semantics as strftime() */ - size_t PRMJ_FormatTime(char* buf, int buflen, const char* fmt, -- const PRMJTime* prtm, int equivalentYear, -+ const PRMJTime* prtm, int timeZoneYear, - int offsetInSeconds) { - size_t result = 0; - #if defined(XP_UNIX) || defined(XP_WIN) -@@ -280,7 +280,8 @@ size_t PRMJ_FormatTime(char* buf, int buflen, const char* fmt, - * Fill out |td| to the time represented by |prtm|, leaving the - * timezone fields zeroed out. localtime_r will then fill in the - * timezone fields for that local time according to the system's -- * timezone parameters. -+ * timezone parameters. Use |timeZoneYear| for the year to ensure the -+ * time zone name matches the time zone offset used by the caller. - */ - struct tm td; - memset(&td, 0, sizeof(td)); -@@ -290,19 +291,12 @@ size_t PRMJ_FormatTime(char* buf, int buflen, const char* fmt, - td.tm_mday = prtm->tm_mday; - td.tm_mon = prtm->tm_mon; - td.tm_wday = prtm->tm_wday; -- td.tm_year = prtm->tm_year - 1900; -+ td.tm_year = timeZoneYear - 1900; - td.tm_yday = prtm->tm_yday; - td.tm_isdst = prtm->tm_isdst; - - time_t t = mktime(&td); - -- // If |prtm| cannot be represented in |time_t| the year is probably -- // out of range, try again with the DST equivalent year. -- if (t == static_cast(-1)) { -- td.tm_year = equivalentYear - 1900; -- t = mktime(&td); -- } -- - // If either mktime or localtime_r failed, fill in the fallback time - // zone offset |offsetInSeconds| and set the time zone identifier to - // the empty string. -diff --git a/js/src/vm/Time.h b/js/src/vm/Time.h -index 3a51d869c922..37b7faeec028 100644 ---- a/js/src/vm/Time.h -+++ b/js/src/vm/Time.h -@@ -49,7 +49,7 @@ inline void PRMJ_NowShutdown() {} - - /* Format a time value into a buffer. Same semantics as strftime() */ - extern size_t PRMJ_FormatTime(char* buf, int buflen, const char* fmt, -- const PRMJTime* tm, int equivalentYear, -+ const PRMJTime* tm, int timeZoneYear, - int offsetInSeconds); - - /** --- -2.23.0 diff --git a/buildroot-2021.05/package/spidermonkey/0011-js-src-Makefile.in-install-shell-only-if-it-s-built.patch b/buildroot-2021.05/package/spidermonkey/0011-js-src-Makefile.in-install-shell-only-if-it-s-built.patch deleted file mode 100644 index f6092af7..00000000 --- a/buildroot-2021.05/package/spidermonkey/0011-js-src-Makefile.in-install-shell-only-if-it-s-built.patch +++ /dev/null @@ -1,28 +0,0 @@ -From b5e4a9926cf50d12e9c5c05c6d1b161e5b662d62 Mon Sep 17 00:00:00 2001 -From: Carlos Santos -Date: Sat, 7 Mar 2020 23:42:02 -0300 -Subject: [PATCH] js/src/Makefile.in: install shell only if it's built - -Prevents an installation error if we configure with --disable-js-shell. - -Signed-off-by: Carlos Santos ---- - js/src/Makefile.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/js/src/Makefile.in b/js/src/Makefile.in -index 4ac9f48..9c8fb64 100644 ---- a/js/src/Makefile.in -+++ b/js/src/Makefile.in -@@ -136,7 +136,7 @@ endif - - install:: - $(MAKE) -C build install -- $(MAKE) -C shell install -+ if [ -d shell ]; then $(MAKE) -C shell install; fi - - ifdef HAVE_DTRACE - javascript-trace.h: $(srcdir)/devtools/javascript-trace.d --- -2.18.2 - diff --git a/buildroot-2021.05/package/spidermonkey/Config.in b/buildroot-2021.05/package/spidermonkey/Config.in deleted file mode 100644 index e015e84a..00000000 --- a/buildroot-2021.05/package/spidermonkey/Config.in +++ /dev/null @@ -1,60 +0,0 @@ -config BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS - bool - default y if BR2_aarch64 - default y if BR2_arm || BR2_armeb - default y if BR2_i386 || BR2_x86_64 - default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le - default y if BR2_riscv - default y if BR2_sh4 || BR2_sh4a - default y if BR2_sparc || BR2_sparc64 - depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT # libnspr - -config BR2_PACKAGE_SPIDERMONKEY_JIT_ARCH_SUPPORTS - bool - default y if BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 || BR2_x86_64 - -config BR2_PACKAGE_SPIDERMONKEY - bool "spidermonkey" - depends on BR2_HOST_GCC_AT_LEAST_4_9 - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # needs pthread_getattr_np() - depends on BR2_USE_MMU # fork in executable tools. - depends on BR2_USE_WCHAR - depends on !BR2_TOOLCHAIN_USES_UCLIBC # No way to check for fenv support. - depends on !BR2_STATIC_LIBS # dlopen - select BR2_PACKAGE_HOST_PYTHON - select BR2_PACKAGE_HOST_PYTHON_SSL - select BR2_PACKAGE_LIBNSPR - select BR2_PACKAGE_ZLIB - help - SpiderMonkey is the code-name for Mozilla Firefox's C++ - implementation of JavaScript. It is intended to be embedded in - other applications that provide host environments for - JavaScript. - - https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey - -if BR2_PACKAGE_SPIDERMONKEY - -config BR2_PACKAGE_SPIDERMONKEY_JS_SHELL - bool "JS shell" - help - Build the JavaScript shell. - - WARNING: increases target image size by around 24 MiB. - -endif - -comment "spidermonkey needs a glibc or musl toolchain with C++, wchar, dynamic library, NPTL, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_UCLIBC || \ - !BR2_INSTALL_LIBSTDCPP || \ - BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_HOST_GCC_AT_LEAST_4_9 || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/spidermonkey/spidermonkey.hash b/buildroot-2021.05/package/spidermonkey/spidermonkey.hash deleted file mode 100644 index ccb02658..00000000 --- a/buildroot-2021.05/package/spidermonkey/spidermonkey.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 f51039c997415fd0f13f8e01966b4a8ff80cbf90deb8b14c18827104a369cc0d mozjs-60.5.2.tar.bz2 -sha256 aaac93a33bec26d5d1a9c5efc1e7dc6bd215d8a4f1e1a7fc5315a67adfd51338 moz.configure diff --git a/buildroot-2021.05/package/spidermonkey/spidermonkey.mk b/buildroot-2021.05/package/spidermonkey/spidermonkey.mk deleted file mode 100644 index 50afdc17..00000000 --- a/buildroot-2021.05/package/spidermonkey/spidermonkey.mk +++ /dev/null @@ -1,64 +0,0 @@ -################################################################################ -# -# spidermonkey -# -################################################################################ - -# Use a tarball with only the spidermonkey source code and a pre-setup -# old-configure in src/js.This prevents having to use autoconf 2.13 and -# makes the package much 31M instead of 257M -SPIDERMONKEY_VERSION = 60.5.2 -SPIDERMONKEY_SOURCE = mozjs-$(SPIDERMONKEY_VERSION).tar.bz2 -SPIDERMONKEY_SITE = https://gentoo.osuosl.org/distfiles/9a -SPIDERMONKEY_SUBDIR = js/src -SPIDERMONKEY_LICENSE = MPL-2.0 -SPIDERMONKEY_LICENSE_FILES = moz.configure -SPIDERMONKEY_INSTALL_STAGING = YES - -SPIDERMONKEY_DEPENDENCIES = \ - host-python \ - libnspr \ - zlib - -SPIDERMONKEY_CONF_ENV = \ - PYTHON="$(HOST_DIR)/bin/python2" - -# spidermonkey mixes up target and host. -# spidermonkey does not allow building against a system jemalloc, -# as it causes a conflict with glibc. -SPIDERMONKEY_CONF_OPTS = \ - --host=$(GNU_HOST_NAME) \ - --target=$(GNU_TARGET_NAME) \ - --disable-jemalloc \ - --enable-shared-js \ - --with-system-zlib \ - --with-system-nspr \ - --with-nspr-exec-prefix="$(STAGING_DIR)/usr" - -ifeq ($(BR2_PACKAGE_SPIDERMONKEY_JIT_ARCH_SUPPORTS),y) -SPIDERMONKEY_CONF_OPTS += --enable-ion -else -SPIDERMONKEY_CONF_OPTS += --disable-ion -endif - -ifeq ($(BR2_PACKAGE_SPIDERMONKEY_JS_SHELL),y) -SPIDERMONKEY_CONF_OPTS += --enable-js-shell -else -SPIDERMONKEY_CONF_OPTS += --disable-js-shell -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -SPIDERMONKEY_CONF_OPTS += --enable-readline -SPIDERMONKEY_DEPENDENCIES += readline -else -SPIDERMONKEY_CONF_OPTS += --disable-readline -endif - -# Remove unneeded files -define SPIDERMONKEY_CLEANUP - rm -rf $(TARGET_DIR)/usr/lib/libjs_static.ajs - rm -rf $(TARGET_DIR)/usr/bin/js60-config -endef -SPIDERMONKEY_POST_INSTALL_TARGET_HOOKS += SPIDERMONKEY_CLEANUP - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/spidev_test/Config.in b/buildroot-2021.05/package/spidev_test/Config.in deleted file mode 100644 index 44990c66..00000000 --- a/buildroot-2021.05/package/spidev_test/Config.in +++ /dev/null @@ -1,17 +0,0 @@ -config BR2_PACKAGE_SPIDEV_TEST - bool "spidev_test" - help - SPI testing utility (using spidev driver). - - This package builds and installs the userspace 'spidev_test' - command. It is up to the user to ensure that the kernel - configuration has all suitable options enabled to allow a - proper operation of 'spidev_test'. - - The version used is based on your toolchain headers version, - if it's older than 3.15 then 3.0 is used, otherwise 3.15 - is used. - This means you won't have quad-pumped SPI support if your - toolchain is too old. - - https://www.kernel.org/doc/html/latest/spi/index.html diff --git a/buildroot-2021.05/package/spidev_test/spidev_test.mk b/buildroot-2021.05/package/spidev_test/spidev_test.mk deleted file mode 100644 index 80998f34..00000000 --- a/buildroot-2021.05/package/spidev_test/spidev_test.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# spidev_test -# -################################################################################ - -# Build the latest version that is compatible with the toolchain's kernel headers -# v3.15+ requires SPI_TX_QUAD/SPI_RX_QUAD to build -# Normally kernel headers can't be newer than kernel so switch based on that. -# If you need quad-pumped spi support you need to upgrade your toolchain. -# Note that the location of spidev_test.c changes from v4.5 onwards. - -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) -SPIDEV_TEST_VERSION = 4.10 -SPIDEV_TEST_PATH = tools/spi -else -SPIDEV_TEST_VERSION = 3.0 -SPIDEV_TEST_PATH = Documentation/spi -endif - -SPIDEV_TEST_SITE = http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/$(SPIDEV_TEST_PATH) -SPIDEV_TEST_SOURCE = spidev_test.c?id=v$(SPIDEV_TEST_VERSION) -SPIDEV_TEST_LICENSE = GPL-2.0 - -# musl libc requires linux/ioctl.h for _IOC_SIZEBITS. Do a sed patch to keep -# compatibility with different spidev_test.c versions that we support. -define SPIDEV_ADD_LINUX_IOCTL - $(SED) 's~^#include ~#include \n#include ~' \ - $(@D)/spidev_test.c -endef - -SPIDEV_TEST_POST_PATCH_HOOKS += SPIDEV_ADD_LINUX_IOCTL - -define SPIDEV_TEST_EXTRACT_CMDS - cp $(SPIDEV_TEST_DL_DIR)/$(SPIDEV_TEST_SOURCE) $(@D)/spidev_test.c -endef - -define SPIDEV_TEST_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) \ - -o $(@D)/spidev_test $(@D)/spidev_test.c -endef - -define SPIDEV_TEST_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/spidev_test \ - $(TARGET_DIR)/usr/sbin/spidev_test -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sqlcipher/sqlcipher.hash b/buildroot-2021.05/package/sqlcipher/sqlcipher.hash deleted file mode 100644 index ddc78ef7..00000000 --- a/buildroot-2021.05/package/sqlcipher/sqlcipher.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 b8df69b998c042ce7f8a99f07cf11f45dfebe51110ef92de95f1728358853133 sqlcipher-4.4.3.tar.gz -sha256 3eee3c7964a9becc94d747bd36703d31fc86eb994680b06a61bfd4f2661eaac8 LICENSE diff --git a/buildroot-2021.05/package/sqlcipher/sqlcipher.mk b/buildroot-2021.05/package/sqlcipher/sqlcipher.mk deleted file mode 100644 index 776e2d0d..00000000 --- a/buildroot-2021.05/package/sqlcipher/sqlcipher.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# sqlcipher -# -################################################################################ - -SQLCIPHER_VERSION = 4.4.3 -SQLCIPHER_SITE = $(call github,sqlcipher,sqlcipher,v$(SQLCIPHER_VERSION)) -SQLCIPHER_LICENSE = BSD-3-Clause -SQLCIPHER_LICENSE_FILES = LICENSE -SQLCIPHER_CPE_ID_VENDOR = zetetic -SQLCIPHER_DEPENDENCIES = host-pkgconf openssl host-tcl -SQLCIPHER_INSTALL_STAGING = YES - -SQLCIPHER_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) $(SQLCIPHER_CFLAGS)" \ - TCLSH_CMD=$(HOST_DIR)/bin/tclsh$(TCL_VERSION_MAJOR) - -SQLCIPHER_CONF_OPTS = \ - --enable-threadsafe \ - --disable-tcl - -SQLCIPHER_CFLAGS += -DSQLITE_HAS_CODEC # Required according to the README -SQLCIPHER_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` - -ifeq ($(BR2_PACKAGE_SQLCIPHER_STAT3),y) -SQLCIPHER_CFLAGS += -DSQLITE_ENABLE_STAT3 -endif - -ifeq ($(BR2_PACKAGE_SQLCIPHER_READLINE),y) -SQLCIPHER_DEPENDENCIES += ncurses readline -SQLCIPHER_CONF_OPTS += --with-readline-inc="-I$(STAGING_DIR)/usr/include" -else -SQLCIPHER_CONF_OPTS += --disable-readline -endif - -ifeq ($(BR2_STATIC_LIBS),y) -SQLCIPHER_CONF_OPTS += --disable-load-extension -else -SQLCIPHER_CONF_OPTS += --enable-load-extension -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sqlite/Config.in b/buildroot-2021.05/package/sqlite/Config.in deleted file mode 100644 index 87c0f6c0..00000000 --- a/buildroot-2021.05/package/sqlite/Config.in +++ /dev/null @@ -1,73 +0,0 @@ -config BR2_PACKAGE_SQLITE - bool "sqlite" - help - SQLite is a small C library that implements a - self-contained, embeddable, zero-configuration SQL database - engine. - - http://www.sqlite.org/ - -if BR2_PACKAGE_SQLITE - -config BR2_PACKAGE_SQLITE_STAT4 - bool "Additional query optimizations (stat4)" - help - Adds additional logic to the ANALYZE command and to the - query planner that can help SQLite to choose a better query - plan under certain situations. - -config BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA - bool "Enable convenient access to meta-data about tables and queries" - help - When this option is defined there are some additional APIs - enabled to acces meta-data about tables and queries (see - https://sqlite.org/compile.html). - -config BR2_PACKAGE_SQLITE_ENABLE_FTS3 - bool "Enable version 3 of the full-text search engine" - help - When this option is defined in the amalgamation (see - http://www.sqlite.org/amalgamation.html), version 3 of the - full-text search engine is added to the build automatically. - -config BR2_PACKAGE_SQLITE_ENABLE_JSON1 - bool "Enable the JSON extensions for SQLite" - help - When this option is defined in the amalgamation, the JSON - extensions are added to the build automatically. - -config BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY - bool "Enable sqlite3_unlock_notify() interface" - help - This option enables the sqlite3_unlock_notify() interface - and its accosiated functionality. See the documentation - http://www.sqlite.org/unlock_notify.html for additional - information. - -config BR2_PACKAGE_SQLITE_SECURE_DELETE - bool "Set the secure_delete pragma on by default" - help - This compile-time option changes the default settings of the - secure_delete pragma. When this option is not used, - secure_delete defaults to off. When this option is present, - secure_delete defaults to on. - - The secure_delete setting causes deleted content to be - overwritten with zeros. There is a small performance penalty - for this since additional I/O must occur. On the other hand, - secure_delete can prevent sensitive information from - lingering in unused parts of the database file after it has - allegedly been deleted. See the documentation on the - http://www.sqlite.org/pragma.html#pragma_secure_delete for - additional information. - -config BR2_PACKAGE_SQLITE_NO_SYNC - bool "Disable fsync" - help - By default SQLite forces all database transactions to - storage immediately using fsync() to protect against data - loss in case of power failure. This option turns this - behavior off resulting in higher performance especially when - using slow flash storage. - -endif diff --git a/buildroot-2021.05/package/sqlite/sqlite.hash b/buildroot-2021.05/package/sqlite/sqlite.hash deleted file mode 100644 index 02b0e713..00000000 --- a/buildroot-2021.05/package/sqlite/sqlite.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 2a3bca581117b3b88e5361d0ef3803ba6d8da604b1c1a47d902ef785c1b53e89 sqlite-autoconf-3340100.tar.gz -sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms diff --git a/buildroot-2021.05/package/sqlite/sqlite.mk b/buildroot-2021.05/package/sqlite/sqlite.mk deleted file mode 100644 index 2c2928f2..00000000 --- a/buildroot-2021.05/package/sqlite/sqlite.mk +++ /dev/null @@ -1,79 +0,0 @@ -################################################################################ -# -# sqlite -# -################################################################################ - -SQLITE_VERSION = 3340100 -SQLITE_CPE_ID_VERSION = 3.34.1 -SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_VERSION).tar.gz -SQLITE_SITE = https://www.sqlite.org/2021 -SQLITE_LICENSE = Public domain -SQLITE_LICENSE_FILES = tea/license.terms -SQLITE_CPE_ID_VENDOR = sqlite -SQLITE_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_SQLITE_STAT4),y) -SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT4 -endif - -ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA),y) -SQLITE_CFLAGS += -DSQLITE_ENABLE_COLUMN_METADATA -endif - -ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_FTS3),y) -SQLITE_CFLAGS += -DSQLITE_ENABLE_FTS3 -endif - -ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_JSON1),y) -SQLITE_CFLAGS += -DSQLITE_ENABLE_JSON1 -endif - -ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY),y) -SQLITE_CFLAGS += -DSQLITE_ENABLE_UNLOCK_NOTIFY -endif - -ifeq ($(BR2_PACKAGE_SQLITE_SECURE_DELETE),y) -SQLITE_CFLAGS += -DSQLITE_SECURE_DELETE -endif - -ifeq ($(BR2_PACKAGE_SQLITE_NO_SYNC),y) -SQLITE_CFLAGS += -DSQLITE_NO_SYNC -endif - -# Building with Microblaze Gcc 4.9 makes compiling to hang. -# Work around using -O0 -ifeq ($(BR2_microblaze):$(BR2_TOOLCHAIN_GCC_AT_LEAST_5),y:) -SQLITE_CFLAGS += $(TARGET_CFLAGS) -O0 -else -# fallback to standard -O3 when -Ofast is present to avoid -ffast-math -SQLITE_CFLAGS += $(subst -Ofast,-O3,$(TARGET_CFLAGS)) -endif - -SQLITE_CONF_ENV = CFLAGS="$(SQLITE_CFLAGS)" - -ifeq ($(BR2_STATIC_LIBS),y) -SQLITE_CONF_OPTS += --enable-dynamic-extensions=no -else -SQLITE_CONF_OPTS += --disable-static-shell -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -SQLITE_CONF_OPTS += --enable-threadsafe -else -SQLITE_CONF_OPTS += --disable-threadsafe -SQLITE_CFLAGS += -DSQLITE_THREADSAFE=0 -endif - -ifeq ($(BR2_PACKAGE_NCURSES)$(BR2_PACKAGE_READLINE),yy) -SQLITE_DEPENDENCIES += ncurses readline -SQLITE_CONF_OPTS += --disable-editline --enable-readline -else ifeq ($(BR2_PACKAGE_LIBEDIT),y) -SQLITE_DEPENDENCIES += libedit -SQLITE_CONF_OPTS += --enable-editline --disable-readline -else -SQLITE_CONF_OPTS += --disable-editline --disable-readline -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/squashfs/0001-squashfs-tools-fix-build-failure-against-gcc-10.patch b/buildroot-2021.05/package/squashfs/0001-squashfs-tools-fix-build-failure-against-gcc-10.patch deleted file mode 100644 index a5fc487a..00000000 --- a/buildroot-2021.05/package/squashfs/0001-squashfs-tools-fix-build-failure-against-gcc-10.patch +++ /dev/null @@ -1,49 +0,0 @@ -From e1cdcfd94172a0b1ba4c9df70f4d69a41c687404 Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Sun, 26 Jan 2020 18:35:13 +0000 -Subject: [PATCH] squashfs-tools: fix build failure against gcc-10 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -On gcc-10 (and gcc-9 -fno-common) build fails as: - -``` -cc ... -o mksquashfs -ld: read_fs.o:(.bss+0x0): - multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here -ld: read_fs.o:(.bss+0x8): - multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here -``` - -gcc-10 will change the default from -fcommon to fno-common: -https://gcc.gnu.org/PR85678. - -The error also happens if CFLAGS=-fno-common passed explicitly. - -Reported-by: Toralf Förster -Bug: https://bugs.gentoo.org/706456 -Signed-off-by: Sergei Trofimovich - -[Upstream: https://github.com/plougher/squashfs-tools/commit/fe2f5da4b0f8994169c53e84b7cb8a0feefc97b5.patch] -Signed-off-by: Peter Seiderer ---- - squashfs-tools/mksquashfs.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/squashfs-tools/mksquashfs.h b/squashfs-tools/mksquashfs.h -index 1beefef..b650306 100644 ---- a/squashfs-tools/mksquashfs.h -+++ b/squashfs-tools/mksquashfs.h -@@ -143,7 +143,7 @@ struct append_file { - #endif - - extern struct cache *reader_buffer, *fragment_buffer, *reserve_cache; --struct cache *bwriter_buffer, *fwriter_buffer; -+extern struct cache *bwriter_buffer, *fwriter_buffer; - extern struct queue *to_reader, *to_deflate, *to_writer, *from_writer, - *to_frag, *locked_fragment, *to_process_frag; - extern struct append_file **file_mapping; --- -2.26.2 - diff --git a/buildroot-2021.05/package/squashfs/squashfs.hash b/buildroot-2021.05/package/squashfs/squashfs.hash deleted file mode 100644 index 1f08b530..00000000 --- a/buildroot-2021.05/package/squashfs/squashfs.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed -sha256 a7fa4845e9908523c38d4acf92f8a41fdfcd19def41bd5090d7ad767a6dc75c3 squashfs-4.4.tar.gz - -# License files -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/squashfs/squashfs.mk b/buildroot-2021.05/package/squashfs/squashfs.mk deleted file mode 100644 index cbc3c906..00000000 --- a/buildroot-2021.05/package/squashfs/squashfs.mk +++ /dev/null @@ -1,96 +0,0 @@ -################################################################################ -# -# squashfs -# -################################################################################ - -SQUASHFS_VERSION = 4.4 -SQUASHFS_SITE = $(call github,plougher,squashfs-tools,$(SQUASHFS_VERSION)) -SQUASHFS_LICENSE = GPL-2.0+ -SQUASHFS_LICENSE_FILES = COPYING -SQUASHFS_CPE_ID_VENDOR = squashfs_project -SQUASHFS_MAKE_ARGS = XATTR_SUPPORT=1 - -ifeq ($(BR2_PACKAGE_SQUASHFS_LZ4),y) -SQUASHFS_DEPENDENCIES += lz4 -SQUASHFS_MAKE_ARGS += LZ4_SUPPORT=1 COMP_DEFAULT=lz4 -else -SQUASHFS_MAKE_ARGS += LZ4_SUPPORT=0 -endif - -ifeq ($(BR2_PACKAGE_SQUASHFS_LZMA),y) -SQUASHFS_DEPENDENCIES += xz -SQUASHFS_MAKE_ARGS += LZMA_XZ_SUPPORT=1 COMP_DEFAULT=lzma -else -SQUASHFS_MAKE_ARGS += LZMA_XZ_SUPPORT=0 -endif - -ifeq ($(BR2_PACKAGE_SQUASHFS_XZ),y) -SQUASHFS_DEPENDENCIES += xz -SQUASHFS_MAKE_ARGS += XZ_SUPPORT=1 COMP_DEFAULT=xz -else -SQUASHFS_MAKE_ARGS += XZ_SUPPORT=0 -endif - -ifeq ($(BR2_PACKAGE_SQUASHFS_LZO),y) -SQUASHFS_DEPENDENCIES += lzo -SQUASHFS_MAKE_ARGS += LZO_SUPPORT=1 COMP_DEFAULT=lzo -else -SQUASHFS_MAKE_ARGS += LZO_SUPPORT=0 -endif - -ifeq ($(BR2_PACKAGE_SQUASHFS_ZSTD),y) -SQUASHFS_DEPENDENCIES += zstd -SQUASHFS_MAKE_ARGS += ZSTD_SUPPORT=1 COMP_DEFAULT=zstd -else -SQUASHFS_MAKE_ARGS += ZSTD_SUPPORT=0 -endif - -ifeq ($(BR2_PACKAGE_SQUASHFS_GZIP),y) -SQUASHFS_DEPENDENCIES += zlib -SQUASHFS_MAKE_ARGS += GZIP_SUPPORT=1 COMP_DEFAULT=gzip -else -SQUASHFS_MAKE_ARGS += GZIP_SUPPORT=0 -endif - -HOST_SQUASHFS_DEPENDENCIES = host-zlib host-lz4 host-lzo host-xz host-zstd - -HOST_SQUASHFS_MAKE_ARGS = \ - XATTR_SUPPORT=1 \ - XZ_SUPPORT=1 \ - GZIP_SUPPORT=1 \ - LZ4_SUPPORT=1 \ - LZO_SUPPORT=1 \ - LZMA_XZ_SUPPORT=1 \ - ZSTD_SUPPORT=1 - -define SQUASHFS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) \ - CC="$(TARGET_CC)" \ - EXTRA_CFLAGS="$(TARGET_CFLAGS) -fgnu89-inline" \ - EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \ - $(SQUASHFS_MAKE_ARGS) \ - -C $(@D)/squashfs-tools/ -endef - -define SQUASHFS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(SQUASHFS_MAKE_ARGS) \ - -C $(@D)/squashfs-tools/ INSTALL_DIR=$(TARGET_DIR)/usr/bin install -endef - -define HOST_SQUASHFS_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) \ - CC="$(HOSTCC)" \ - EXTRA_CFLAGS="$(HOST_CFLAGS)" \ - EXTRA_LDFLAGS="$(HOST_LDFLAGS)" \ - $(HOST_SQUASHFS_MAKE_ARGS) \ - -C $(@D)/squashfs-tools/ -endef - -define HOST_SQUASHFS_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) $(HOST_SQUASHFS_MAKE_ARGS) \ - -C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/bin install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/squid/Config.in b/buildroot-2021.05/package/squid/Config.in deleted file mode 100644 index 0df2aede..00000000 --- a/buildroot-2021.05/package/squid/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -comment "squid needs a toolchain w/ C++, gcc >= 4.8 not affected by bug 64735" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || \ - !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -config BR2_PACKAGE_SQUID - bool "squid" - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - # needs fork() - depends on BR2_USE_MMU - select BR2_PACKAGE_LIBCAP - select BR2_PACKAGE_LIBTOOL - select BR2_PACKAGE_LIBXML2 - help - Caching proxy for the Web supporting HTTP, HTTPS, FTP, and - more. - - http://www.squid-cache.org/ diff --git a/buildroot-2021.05/package/squid/squid.hash b/buildroot-2021.05/package/squid/squid.hash deleted file mode 100644 index a2aaba5f..00000000 --- a/buildroot-2021.05/package/squid/squid.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From http://www.squid-cache.org/Versions/v4/squid-4.14.tar.xz.asc -md5 7d9ba82703cd770b2ede169a0c1de94a squid-4.14.tar.xz -sha1 71ae13a845a6a7ffc69ce11086ea3e427625bc08 squid-4.14.tar.xz -# Locally calculated -sha256 f1097daa6434897c159bc100978b51347c0339041610845d0afa128151729ffc squid-4.14.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/squid/squid.mk b/buildroot-2021.05/package/squid/squid.mk deleted file mode 100644 index 7e6865f8..00000000 --- a/buildroot-2021.05/package/squid/squid.mk +++ /dev/null @@ -1,98 +0,0 @@ -################################################################################ -# -# squid -# -################################################################################ - -SQUID_VERSION = 4.14 -SQUID_SOURCE = squid-$(SQUID_VERSION).tar.xz -SQUID_SITE = http://www.squid-cache.org/Versions/v4 -SQUID_LICENSE = GPL-2.0+ -SQUID_LICENSE_FILES = COPYING -SQUID_CPE_ID_VENDOR = squid-cache -SQUID_DEPENDENCIES = libcap host-libcap libtool libxml2 host-pkgconf \ - $(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack) -SQUID_CONF_ENV = \ - ac_cv_epoll_works=yes \ - ac_cv_func_setresuid=yes \ - ac_cv_func_va_copy=yes \ - ac_cv_func___va_copy=yes \ - ac_cv_func_strnstr=no \ - ac_cv_have_squid=yes \ - BUILDCXX="$(HOSTCXX)" \ - BUILDCXXFLAGS="$(HOST_CXXFLAGS)" -SQUID_CONF_OPTS = \ - --enable-async-io=8 \ - --enable-linux-netfilter \ - --enable-removal-policies="lru,heap" \ - --with-filedescriptors=1024 \ - --disable-ident-lookups \ - --enable-auth-basic="fake getpwnam" \ - --enable-auth-digest="file" \ - --enable-auth-negotiate="wrapper" \ - --enable-auth-ntlm="fake" \ - --disable-strict-error-checking \ - --enable-external-acl-helpers="file_userip" \ - --disable-ltdl-install \ - --without-included-ltdl \ - --with-logdir=/var/log/squid/ \ - --with-pidfile=/var/run/squid.pid \ - --with-swapdir=/var/cache/squid/ \ - --with-default-user=squid - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -SQUID_CONF_ENV += LIBS=-latomic -endif - -ifeq ($(BR2_PACKAGE_LIBKRB5),y) -SQUID_CONF_OPTS += --with-mit-krb5 -SQUID_DEPENDENCIES += libkrb5 -else -SQUID_CONF_OPTS += --without-mit-krb5 -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SQUID_CONF_OPTS += --with-openssl -SQUID_DEPENDENCIES += openssl -else -SQUID_CONF_OPTS += --without-openssl -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -SQUID_CONF_OPTS += --with-gnutls -SQUID_DEPENDENCIES += gnutls -else -SQUID_CONF_OPTS += --without-gnutls -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -SQUID_CONF_OPTS += --with-systemd -SQUID_DEPENDENCIES += systemd -else -SQUID_CONF_OPTS += --without-systemd -endif - -define SQUID_CLEANUP_TARGET - rm -f $(addprefix $(TARGET_DIR)/usr/bin/, \ - RunCache RunAccel) - rm -f $(addprefix $(TARGET_DIR)/etc/, \ - cachemgr.conf mime.conf.default squid.conf.default) -endef - -SQUID_POST_INSTALL_TARGET_HOOKS += SQUID_CLEANUP_TARGET - -define SQUID_USERS - squid -1 squid -1 * - - - Squid proxy cache -endef - -define SQUID_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/squid/S97squid \ - $(TARGET_DIR)/etc/init.d/S97squid -endef - -define SQUID_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(@D)/tools/systemd/squid.service \ - $(TARGET_DIR)/usr/lib/systemd/system/squid.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sshguard/sshguard.hash b/buildroot-2021.05/package/sshguard/sshguard.hash deleted file mode 100644 index 9bbb4133..00000000 --- a/buildroot-2021.05/package/sshguard/sshguard.hash +++ /dev/null @@ -1,4 +0,0 @@ -# sha256 from https://sourceforge.net/projects/sshguard/files/sshguard/2.4.1/sshguard-2.4.1.sha256 -sha256 875d02e6e67dced614790ed5e36aef1160edea940f353a79306cbb1852af3c67 sshguard-2.4.1.tar.gz -# Locally calculated -sha256 c3ae64f12153a1bc55bc234d09f40a08ab0e0149fffc972c0b7f02d5a12c1a5c COPYING diff --git a/buildroot-2021.05/package/sshguard/sshguard.mk b/buildroot-2021.05/package/sshguard/sshguard.mk deleted file mode 100644 index 3616fba7..00000000 --- a/buildroot-2021.05/package/sshguard/sshguard.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# sshguard -# -################################################################################ - -SSHGUARD_VERSION = 2.4.1 -SSHGUARD_SITE = https://sourceforge.net/projects/sshguard/files/sshguard/$(SSHGUARD_VERSION) -SSHGUARD_LICENSE = ISC, Public Domain (fnv hash), BSD-3-Clause (SimCList) -SSHGUARD_LICENSE_FILES = COPYING - -define SSHGUARD_INSTALL_CONFIG - $(INSTALL) -D -m 0644 $(@D)/examples/sshguard.conf.sample \ - $(TARGET_DIR)/etc/sshguard.conf - $(SED) '/^#BACKEND/c\BACKEND="/usr/libexec/sshg-fw-iptables"' \ - -e '/^#FILES/c\FILES="/var/log/messages"' $(TARGET_DIR)/etc/sshguard.conf -endef -SSHGUARD_POST_INSTALL_TARGET_HOOKS += SSHGUARD_INSTALL_CONFIG - -define SSHGUARD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/sshguard/S49sshguard \ - $(TARGET_DIR)/etc/init.d/S49sshguard -endef - -define SSHGUARD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 $(@D)/examples/sshguard.service \ - $(TARGET_DIR)/usr/lib/systemd/system/sshguard.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sshpass/sshpass.hash b/buildroot-2021.05/package/sshpass/sshpass.hash deleted file mode 100644 index 9635a918..00000000 --- a/buildroot-2021.05/package/sshpass/sshpass.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 c6324fcee608b99a58f9870157dfa754837f8c48be3df0f5e2f3accf145dee60 sshpass-1.06.tar.gz -sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2021.05/package/sshpass/sshpass.mk b/buildroot-2021.05/package/sshpass/sshpass.mk deleted file mode 100644 index 6c14f0fe..00000000 --- a/buildroot-2021.05/package/sshpass/sshpass.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# sshpass -# -################################################################################ - -SSHPASS_VERSION = 1.06 -SSHPASS_SITE = http://downloads.sourceforge.net/project/sshpass/sshpass/$(SSHPASS_VERSION) -SSHPASS_LICENSE = GPL-2.0+ -SSHPASS_LICENSE_FILES = COPYING - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch b/buildroot-2021.05/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch deleted file mode 100644 index 5fc3296d..00000000 --- a/buildroot-2021.05/package/sslh/0001-Makefile-fix-static-linking-with-pcre.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 0d9e004d324cc030c173de04c40db51a0f22bb5c Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Thu, 15 Oct 2020 07:58:05 +0200 -Subject: [PATCH] Makefile: fix static linking with pcre - -Static build with pcre is broken since version 1.19b and -https://github.com/yrutschle/sslh/commit/cb90cc97ae64a445242e517847c6e44b7003eda4 -because -lpcre has been replaced by -lpcreposix which will result in -the following static build failure: - -/srv/storage/autobuild/run/instance-1/output-1/host/bin/mipsel-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static -o echosrv echosrv.o probe.o common.o tls.o -lpcreposix -lconfig -lcap -/srv/storage/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/8.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-1/output-1/host/mipsel-buildroot-linux-uclibc/sysroot/usr/lib/libpcreposix.a(libpcreposix_la-pcreposix.o): in function `regfree': -pcreposix.c:(.text+0x120): undefined reference to `pcre_free' - -So append -lpcre after -lpcreposix - -Fixes: - - http://autobuild.buildroot.org/results/a601824fc0c205a6a940e0f9f079ce2c39840605 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/yrutschle/sslh/pull/280] ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 986cf1c..ecadc22 100644 ---- a/Makefile -+++ b/Makefile -@@ -43,7 +43,7 @@ endif - - ifneq ($(strip $(USELIBPCRE)),) - CPPFLAGS+=-DLIBPCRE -- LIBS:=$(LIBS) -lpcreposix -+ LIBS:=$(LIBS) -lpcreposix -lpcre - endif - - ifneq ($(strip $(USELIBCONFIG)),) --- -2.28.0 - diff --git a/buildroot-2021.05/package/sslh/Config.in b/buildroot-2021.05/package/sslh/Config.in deleted file mode 100644 index f6b46f32..00000000 --- a/buildroot-2021.05/package/sslh/Config.in +++ /dev/null @@ -1,8 +0,0 @@ -config BR2_PACKAGE_SSLH - bool "sslh" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LIBCONFIG if BR2_PACKAGE_SYSTEMD - help - Applicative protocol multiplexer - - http://www.rutschle.net/tech/sslh.shtml diff --git a/buildroot-2021.05/package/sslh/sslh.hash b/buildroot-2021.05/package/sslh/sslh.hash deleted file mode 100644 index 00e5c12d..00000000 --- a/buildroot-2021.05/package/sslh/sslh.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 3bfe783726f82c1f5a4be630ddc494ebb08dbb69980662cd7ffdeb7bc9e1e706 sslh-v1.21c.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/sslh/sslh.mk b/buildroot-2021.05/package/sslh/sslh.mk deleted file mode 100644 index 4bde143c..00000000 --- a/buildroot-2021.05/package/sslh/sslh.mk +++ /dev/null @@ -1,63 +0,0 @@ -################################################################################ -# -# sslh -# -################################################################################ - -SSLH_VERSION = 1.21c -SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz -SSLH_SITE = http://www.rutschle.net/tech/sslh -SSLH_LICENSE = GPL-2.0+ -SSLH_LICENSE_FILES = COPYING - -SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) - -ifeq ($(BR2_PACKAGE_LIBBSD),y) -SSLH_DEPENDENCIES += libbsd -SSLH_MAKE_OPTS += USELIBBSD=1 -else -SSLH_MAKE_OPTS += USELIBBSD= -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -SSLH_DEPENDENCIES += libcap -SSLH_MAKE_OPTS += USELIBCAP=1 -else -SSLH_MAKE_OPTS += USELIBCAP= -endif - -ifeq ($(BR2_PACKAGE_LIBCONFIG),y) -SSLH_DEPENDENCIES += libconfig -SSLH_MAKE_OPTS += USELIBCONFIG=1 -else -SSLH_MAKE_OPTS += USELIBCONFIG= -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -SSLH_DEPENDENCIES += pcre -SSLH_MAKE_OPTS += USELIBPCRE=1 -else -SSLH_MAKE_OPTS += USELIBPCRE= -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -SSLH_DEPENDENCIES += systemd -SSLH_MAKE_OPTS += USESYSTEMD=1 -else -SSLH_MAKE_OPTS += USESYSTEMD= -endif - -define SSLH_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(SSLH_MAKE_OPTS) -C $(@D) -endef - -define SSLH_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(SSLH_MAKE_OPTS) -C $(@D) \ - DESTDIR=$(TARGET_DIR) install -endef - -define SSLH_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/sslh/S35sslh $(TARGET_DIR)/etc/init.d/S35sslh -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/stella/Config.in b/buildroot-2021.05/package/stella/Config.in deleted file mode 100644 index c14f4857..00000000 --- a/buildroot-2021.05/package/stella/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_STELLA - bool "stella" - depends on !BR2_STATIC_LIBS # sdl2 - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14 - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr - select BR2_PACKAGE_SDL2 - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_ZLIB - help - Stella is a multi-platform Atari 2600 VCS emulator. - - https://stella-emu.github.io/ - -comment "stella needs a toolchain w/ dynamic library, C++, threads, gcc >= 6" - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_6 - -comment "stella needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/stella/stella.hash b/buildroot-2021.05/package/stella/stella.hash deleted file mode 100644 index c40d9661..00000000 --- a/buildroot-2021.05/package/stella/stella.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed: -sha256 0346900e9ba4b6d532b72d956adc5078502a9bd6bbc1648bb3dd68f5ffd4859b stella-6.4-src.tar.xz -sha256 d207ee9e563fdd062582df8cbb6c8303b9879bd107692c0db2a32477e47dfa35 Copyright.txt -sha256 58530d09b6fcb91ae27071be0081af90e6c2d7fdf991d34a29e234a2a5e75455 License.txt diff --git a/buildroot-2021.05/package/stella/stella.mk b/buildroot-2021.05/package/stella/stella.mk deleted file mode 100644 index 2dcfbeac..00000000 --- a/buildroot-2021.05/package/stella/stella.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# stella -# -################################################################################ - -STELLA_VERSION = 6.4 -STELLA_SOURCE = stella-$(STELLA_VERSION)-src.tar.xz -STELLA_SITE = https://github.com/stella-emu/stella/releases/download/$(STELLA_VERSION) -STELLA_LICENSE = GPL-2.0+ -STELLA_LICENSE_FILES = Copyright.txt License.txt - -STELLA_DEPENDENCIES = sdl2 libpng zlib - -STELLA_CONF_OPTS = \ - --host=$(GNU_TARGET_NAME) \ - --prefix=/usr \ - --with-sdl-prefix=$(STAGING_DIR)/usr - -# The configure script is not autoconf based, so we use the -# generic-package infrastructure -define STELLA_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - ./configure $(STELLA_CONF_OPTS) \ - ) -endef - -define STELLA_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define STELLA_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/stellarium/stellarium.hash b/buildroot-2021.05/package/stellarium/stellarium.hash deleted file mode 100644 index b5290acc..00000000 --- a/buildroot-2021.05/package/stellarium/stellarium.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/Stellarium/stellarium/releases -sha1 0ada184a15729abb1b02490cb92d055ff3b61d7e stellarium-0.21.0.tar.gz -sha256 977fcd6776a47d34b1646727853d15968a1410c34c8ba1b3e5cfbf24b5126f13 stellarium-0.21.0.tar.gz -# Locally computed -sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/buildroot-2021.05/package/stellarium/stellarium.mk b/buildroot-2021.05/package/stellarium/stellarium.mk deleted file mode 100644 index 936a07c4..00000000 --- a/buildroot-2021.05/package/stellarium/stellarium.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# stellarium -# -################################################################################ - -STELLARIUM_VERSION = 0.21.0 -STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) -STELLARIUM_LICENSE = GPL-2.0+ -STELLARIUM_LICENSE_FILES = COPYING -STELLARIUM_DEPENDENCIES = \ - qt5base \ - qt5location \ - qt5multimedia \ - zlib -STELLARIUM_CONF_OPTS = \ - -DENABLE_MEDIA=ON \ - -DENABLE_NLS=OFF \ - -DUSE_SYSTEM_ZLIB=ON - -ifeq ($(BR2_PACKAGE_QT5SCRIPT),y) -STELLARIUM_DEPENDENCIES += qt5script -STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=ON -else -STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=OFF -endif - -ifeq ($(BR2_PACKAGE_QT5SERIALPORT),y) -STELLARIUM_DEPENDENCIES += qt5serialport -ifeq ($(BR2_PACKAGE_GPSD),y) -STELLARIUM_DEPENDENCIES += gpsd -endif -STELLARIUM_CONF_OPTS += \ - -DENABLE_GPS=ON \ - -DUSE_PLUGIN_TELESCOPECONTROL=ON -else -STELLARIUM_CONF_OPTS += \ - -DENABLE_GPS=OFF \ - -DUSE_PLUGIN_TELESCOPECONTROL=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/stm32flash/stm32flash.hash b/buildroot-2021.05/package/stm32flash/stm32flash.hash deleted file mode 100644 index 1b06a8f0..00000000 --- a/buildroot-2021.05/package/stm32flash/stm32flash.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 42b7d63f6016bd75911cbb87fe85fbc4f98adf3ceecfe6d91f7956b31d18095f stm32flash-3cebf121f7b32b9edfcb0d49f0fb43ccf33e5650-br1.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 gpl-2.0.txt diff --git a/buildroot-2021.05/package/stm32flash/stm32flash.mk b/buildroot-2021.05/package/stm32flash/stm32flash.mk deleted file mode 100644 index a8ae9b01..00000000 --- a/buildroot-2021.05/package/stm32flash/stm32flash.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# stm32flash -# -################################################################################ - -STM32FLASH_VERSION = 3cebf121f7b32b9edfcb0d49f0fb43ccf33e5650 -STM32FLASH_SITE = git://git.code.sf.net/p/stm32flash/code -STM32FLASH_LICENSE = GPL-2.0+ -STM32FLASH_LICENSE_FILES = gpl-2.0.txt - -define STM32FLASH_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -endef - -define STM32FLASH_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" PREFIX="/usr" \ - -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/strace/0001-disable_ptrace_get_syscall_info-disable_ptrace_getre.patch b/buildroot-2021.05/package/strace/0001-disable_ptrace_get_syscall_info-disable_ptrace_getre.patch deleted file mode 100644 index 1367d298..00000000 --- a/buildroot-2021.05/package/strace/0001-disable_ptrace_get_syscall_info-disable_ptrace_getre.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 84536a993417f3bfff4a54830fa34a3f91f5716e Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Thu, 11 Mar 2021 06:43:26 +0200 -Subject: [PATCH] disable_ptrace_get_syscall_info, disable_ptrace_getregset: - require fork() - -These helper programs require fork(), so they are incompatible with -no-MMU systems. Make the code depend on HAVE_FORK. - -Signed-off-by: Baruch Siach ---- -Upstream status: https://lists.strace.io/pipermail/strace-devel/2021-March/010421.html - - src/disable_ptrace_request.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/disable_ptrace_request.c b/src/disable_ptrace_request.c -index 57163e77f0f4..715006941572 100644 ---- a/src/disable_ptrace_request.c -+++ b/src/disable_ptrace_request.c -@@ -41,7 +41,8 @@ init(int argc, char **argv) - && defined PR_SET_NO_NEW_PRIVS \ - && defined PR_SET_SECCOMP \ - && defined BPF_JUMP \ -- && defined BPF_STMT -+ && defined BPF_STMT \ -+ && defined HAVE_FORK - - static unsigned int - get_arch(void) --- -2.30.1 - diff --git a/buildroot-2021.05/package/strace/strace.hash b/buildroot-2021.05/package/strace/strace.hash deleted file mode 100644 index e4fe690f..00000000 --- a/buildroot-2021.05/package/strace/strace.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking signature with RSA key 0xA8041FA839E16E36 -# https://strace.io/files/5.11/strace-5.11.tar.xz.asc -sha256 ffe340b10c145a0f85734271e9cce56457d23f21a7ea5931ab32f8cf4e793879 strace-5.11.tar.xz -sha256 f847d5ef26ad1151ca63bb88536b23a4cac5040c67917f3d5ee7ea1316e2b736 COPYING -sha256 7c379436436a562834aa7d2f5dcae1f80a25230fa74201046ca1fba4367d39aa LGPL-2.1-or-later diff --git a/buildroot-2021.05/package/strace/strace.mk b/buildroot-2021.05/package/strace/strace.mk deleted file mode 100644 index 013bfdcd..00000000 --- a/buildroot-2021.05/package/strace/strace.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# strace -# -################################################################################ - -STRACE_VERSION = 5.11 -STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz -STRACE_SITE = https://strace.io/files/$(STRACE_VERSION) -STRACE_LICENSE = LGPL-2.1+ -STRACE_LICENSE_FILES = COPYING LGPL-2.1-or-later -STRACE_CPE_ID_VENDOR = strace_project -STRACE_CONF_OPTS = --enable-mpers=no - -ifeq ($(BR2_PACKAGE_LIBUNWIND),y) -STRACE_DEPENDENCIES += libunwind -STRACE_CONF_OPTS += --with-libunwind -else -STRACE_CONF_OPTS += --without-libunwind -endif - -# Demangling symbols in stack trace needs libunwind and libiberty. -ifeq ($(BR2_PACKAGE_BINUTILS)$(BR2_PACKAGE_LIBUNWIND),yy) -STRACE_DEPENDENCIES += binutils -STRACE_CONF_OPTS += --with-libiberty=check -else -STRACE_CONF_OPTS += --without-libiberty -endif - -ifeq ($(BR2_PACKAGE_PERL),) -define STRACE_REMOVE_STRACE_GRAPH - rm -f $(TARGET_DIR)/usr/bin/strace-graph -endef - -STRACE_POST_INSTALL_TARGET_HOOKS += STRACE_REMOVE_STRACE_GRAPH -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/stress-ng/Config.in b/buildroot-2021.05/package/stress-ng/Config.in deleted file mode 100644 index 64b473b7..00000000 --- a/buildroot-2021.05/package/stress-ng/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_PACKAGE_STRESS_NG - bool "stress-ng" - depends on BR2_USE_MMU # fork() - # perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 - # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2 and ARC - depends on !BR2_nios2 - depends on !BR2_arc - help - stress-ng will stress test a computer system in various - selectable ways. It was designed to exercise various physical - subsystems of a computer as well as the various operating - system kernel interfaces. - - http://kernel.ubuntu.com/~cking/stress-ng/ - -comment "stress-ng needs a toolchain w/ headers >= 3.3" - depends on !BR2_nios2 && !BR2_arc - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 diff --git a/buildroot-2021.05/package/stress-ng/stress-ng.hash b/buildroot-2021.05/package/stress-ng/stress-ng.hash deleted file mode 100644 index 41e28019..00000000 --- a/buildroot-2021.05/package/stress-ng/stress-ng.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 f847be115f60d3ad7d37c806fd1bfb1412aa3c631fca581d6dc233322f50d6a5 stress-ng-0.12.02.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/stress-ng/stress-ng.mk b/buildroot-2021.05/package/stress-ng/stress-ng.mk deleted file mode 100644 index 53d7b7e5..00000000 --- a/buildroot-2021.05/package/stress-ng/stress-ng.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# stress-ng -# -################################################################################ - -STRESS_NG_VERSION = 0.12.02 -STRESS_NG_SOURCE = stress-ng-$(STRESS_NG_VERSION).tar.xz -STRESS_NG_SITE = https://kernel.ubuntu.com/~cking/tarballs/stress-ng -STRESS_NG_LICENSE = GPL-2.0+ -STRESS_NG_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_LIBBSD),y) -STRESS_NG_DEPENDENCIES += libbsd -endif - -ifeq ($(BR2_PACKAGE_KEYUTILS),y) -STRESS_NG_DEPENDENCIES += keyutils -endif - -define STRESS_NG_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -# Don't use make install otherwise stress-ng will be rebuild without -# required link libraries if any. Furthermore, using INSTALL allow to -# set the file permission correcly on the target. -define STRESS_NG_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/stress-ng $(TARGET_DIR)/usr/bin/stress-ng -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/strongswan/Config.in b/buildroot-2021.05/package/strongswan/Config.in deleted file mode 100644 index 47c7107f..00000000 --- a/buildroot-2021.05/package/strongswan/Config.in +++ /dev/null @@ -1,137 +0,0 @@ -comment "strongswan needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - -menuconfig BR2_PACKAGE_STRONGSWAN - bool "strongswan" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on !BR2_STATIC_LIBS - help - strongSwan is an OpenSource IPsec implementation for the - Linux operating system. It is based on the discontinued - FreeS/WAN project and the X.509 patch. - - The focus is on: - - simplicity of configuration - - strong encryption and authentication methods - - powerful IPsec policies supporting large and complex - VPN networks - - strongSwan provide many plugins. Only a few are presented - here. - - http://www.strongswan.org/ - -if BR2_PACKAGE_STRONGSWAN - -choice - prompt "Cryptographic backend" - default BR2_PACKAGE_STRONGSWAN_GMP - -config BR2_PACKAGE_STRONGSWAN_OPENSSL - bool "OpenSSL" - select BR2_PACKAGE_OPENSSL - -config BR2_PACKAGE_STRONGSWAN_GCRYPT - bool "libgcrypt" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt - select BR2_PACKAGE_LIBGCRYPT - -config BR2_PACKAGE_STRONGSWAN_GMP - bool "GNU MP (libgmp)" - select BR2_PACKAGE_GMP - -config BR2_PACKAGE_STRONGSWAN_WOLFSSL - bool "wolfssl" - select BR2_PACKAGE_WOLFSSL - -endchoice - -config BR2_PACKAGE_STRONGSWAN_AF_ALG - bool "Enable AF_ALG crypto interface to Linux Crypto API" - -config BR2_PACKAGE_STRONGSWAN_CURL - bool "Enable CURL fetcher plugin to fetch files via libcurl" - select BR2_PACKAGE_LIBCURL - -config BR2_PACKAGE_STRONGSWAN_CHARON - bool "Enable the IKEv1/IKEv2 keying daemon charon" - default y - -if BR2_PACKAGE_STRONGSWAN_CHARON - -config BR2_PACKAGE_STRONGSWAN_TNCCS_11 - bool "Enable TNCCS 1.1 protocol module" - select BR2_PACKAGE_LIBXML2 - -config BR2_PACKAGE_STRONGSWAN_TNCCS_20 - bool "Enable TNCCS 2.0 protocol module" - -config BR2_PACKAGE_STRONGSWAN_TNCCS_DYNAMIC - bool "Enable dynamic TNCCS protocol discovery module" - -config BR2_PACKAGE_STRONGSWAN_EAP - bool "Enable EAP protocols" - help - Enable various EAP protocols: - - mschapv2 - - tls - - ttls - - peap - - sim - - sim-file - - aka - - aka-3gpp2 - - simaka-sql - - simaka-pseudonym - - simaka-reauth - - identity - - md5 - - gtc - - tnc - - dynamic - - radius - -if BR2_PACKAGE_STRONGSWAN_EAP - -config BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC - bool "Enable EAP-SIM smart card backend" - depends on !BR2_STATIC_LIBS # pcsc-lite - select BR2_PACKAGE_PCSC_LITE - -endif - -config BR2_PACKAGE_STRONGSWAN_UNITY - bool "Enables Cisco Unity extension plugin" - -config BR2_PACKAGE_STRONGSWAN_STROKE - bool "Enable charons stroke configuration backend" - default y - -config BR2_PACKAGE_STRONGSWAN_SQL - bool "Enable SQL database configuration backend" - depends on BR2_PACKAGE_SQLITE || BR2_PACKAGE_MYSQL - -endif - -config BR2_PACKAGE_STRONGSWAN_PKI - bool "Enable pki certificate utility" - default y - -config BR2_PACKAGE_STRONGSWAN_SCEP - bool "Enable SCEP client tool" - -config BR2_PACKAGE_STRONGSWAN_SCRIPTS - bool "Enable additional utilities (found in scripts directory)" - default y - depends on BR2_PACKAGE_STRONGSWAN_CHARON - -config BR2_PACKAGE_STRONGSWAN_VICI - bool "Enable vici/swanctl" - default y - depends on BR2_PACKAGE_STRONGSWAN_CHARON - -endif diff --git a/buildroot-2021.05/package/strongswan/strongswan.hash b/buildroot-2021.05/package/strongswan/strongswan.hash deleted file mode 100644 index a19b3114..00000000 --- a/buildroot-2021.05/package/strongswan/strongswan.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From http://download.strongswan.org/strongswan-5.9.1.tar.bz2.md5 -md5 1f4db969d072e120dc12d1c116a0f658 strongswan-5.9.1.tar.bz2 -# Calculated based on the hash above -sha256 a337c9fb63d973b8440827755c784031648bf423b7114a04918b0b00fd42cafb strongswan-5.9.1.tar.bz2 -# Locally calculated -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 2292e21797754548dccdef9eef6aee7584e552fbd890fa914e1de8d3577d23f0 LICENSE diff --git a/buildroot-2021.05/package/strongswan/strongswan.mk b/buildroot-2021.05/package/strongswan/strongswan.mk deleted file mode 100644 index 322abfbd..00000000 --- a/buildroot-2021.05/package/strongswan/strongswan.mk +++ /dev/null @@ -1,92 +0,0 @@ -################################################################################ -# -# strongswan -# -################################################################################ - -STRONGSWAN_VERSION = 5.9.1 -STRONGSWAN_SOURCE = strongswan-$(STRONGSWAN_VERSION).tar.bz2 -STRONGSWAN_SITE = http://download.strongswan.org -STRONGSWAN_LICENSE = GPL-2.0+ -STRONGSWAN_LICENSE_FILES = COPYING LICENSE -STRONGSWAN_CPE_ID_VENDOR = strongswan -STRONGSWAN_DEPENDENCIES = host-pkgconf -STRONGSWAN_INSTALL_STAGING = YES -STRONGSWAN_CONF_OPTS += \ - --without-lib-prefix \ - --enable-led \ - --enable-pkcs11=yes \ - --enable-kernel-netlink=yes \ - --enable-socket-default=yes \ - --enable-openssl=$(if $(BR2_PACKAGE_STRONGSWAN_OPENSSL),yes,no) \ - --enable-gcrypt=$(if $(BR2_PACKAGE_STRONGSWAN_GCRYPT),yes,no) \ - --enable-gmp=$(if $(BR2_PACKAGE_STRONGSWAN_GMP),yes,no) \ - --enable-af-alg=$(if $(BR2_PACKAGE_STRONGSWAN_AF_ALG),yes,no) \ - --enable-curl=$(if $(BR2_PACKAGE_STRONGSWAN_CURL),yes,no) \ - --enable-charon=$(if $(BR2_PACKAGE_STRONGSWAN_CHARON),yes,no) \ - --enable-tnccs-11=$(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_11),yes,no) \ - --enable-tnccs-20=$(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_20),yes,no) \ - --enable-tnccs-dynamic=$(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_DYNAMIC),yes,no) \ - --enable-eap-sim-pcsc=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC),yes,no) \ - --enable-unity=$(if $(BR2_PACKAGE_STRONGSWAN_UNITY),yes,no) \ - --enable-stroke=$(if $(BR2_PACKAGE_STRONGSWAN_STROKE),yes,no) \ - --enable-sql=$(if $(BR2_PACKAGE_STRONGSWAN_SQL),yes,no) \ - --enable-pki=$(if $(BR2_PACKAGE_STRONGSWAN_PKI),yes,no) \ - --enable-scepclient=$(if $(BR2_PACKAGE_STRONGSWAN_SCEP),yes,no) \ - --enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no) \ - --enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \ - --enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \ - --enable-wolfssl=$(if $(BR2_PACKAGE_STRONGSWAN_WOLFSSL),yes,no) \ - --with-ipseclibdir=/usr/lib \ - --with-plugindir=/usr/lib/ipsec/plugins \ - --with-imcvdir=/usr/lib/ipsec/imcvs \ - --with-dev-headers=/usr/include - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -STRONGSWAN_CONF_ENV += LIBS='-latomic' -endif - -ifeq ($(BR2_PACKAGE_STRONGSWAN_EAP),y) -STRONGSWAN_CONF_OPTS += \ - --enable-eap-sim \ - --enable-eap-sim-file \ - --enable-eap-aka \ - --enable-eap-aka-3gpp2 \ - --enable-eap-simaka-sql \ - --enable-eap-simaka-pseudonym \ - --enable-eap-simaka-reauth \ - --enable-eap-identity \ - --enable-eap-md5 \ - --enable-eap-gtc \ - --enable-eap-mschapv2 \ - --enable-eap-tls \ - --enable-eap-ttls \ - --enable-eap-peap \ - --enable-eap-tnc \ - --enable-eap-dynamic \ - --enable-eap-radius -STRONGSWAN_DEPENDENCIES += gmp -endif - -STRONGSWAN_DEPENDENCIES += \ - $(if $(BR2_PACKAGE_STRONGSWAN_OPENSSL),openssl) \ - $(if $(BR2_PACKAGE_STRONGSWAN_GCRYPT),libgcrypt) \ - $(if $(BR2_PACKAGE_STRONGSWAN_GMP),gmp) \ - $(if $(BR2_PACKAGE_STRONGSWAN_CURL),libcurl) \ - $(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_11),libxml2) \ - $(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC),pcsc-lite) \ - $(if $(BR2_PACKAGE_STRONGSWAN_WOLFSSL),wolfssl) - -ifeq ($(BR2_PACKAGE_STRONGSWAN_SQL),y) -STRONGSWAN_DEPENDENCIES += \ - $(if $(BR2_PACKAGE_SQLITE),sqlite) \ - $(if $(BR2_PACKAGE_MYSQL),mysql) -endif - -# disable connmark/forecast until net/if.h vs. linux/if.h conflict resolved -# problem exist since linux 4.5 header changes -STRONGSWAN_CONF_OPTS += \ - --disable-connmark \ - --disable-forecast - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/stunnel/Config.in b/buildroot-2021.05/package/stunnel/Config.in deleted file mode 100644 index e4a95677..00000000 --- a/buildroot-2021.05/package/stunnel/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_STUNNEL - bool "stunnel" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_OPENSSL - help - Stunnel is a program that wraps any TCP connection with an SSL - connection. - - http://www.stunnel.org/ diff --git a/buildroot-2021.05/package/stunnel/stunnel.hash b/buildroot-2021.05/package/stunnel/stunnel.hash deleted file mode 100644 index a62fa076..00000000 --- a/buildroot-2021.05/package/stunnel/stunnel.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.stunnel.org/downloads/stunnel-5.58.tar.gz.sha256 -sha256 d4c14cc096577edca3f6a2a59c2f51869e35350b3988018ddf808c88e5973b79 stunnel-5.58.tar.gz -# Locally calculated -sha256 28b55d0157efd5ceb63640faeebb50fda13b1f49aec0b9c1240b9a3ea9f0eb4c COPYING.md -sha256 62f171d4d8b6726df61f18a6bbc0a70f79c4bc2134d837d35c81fc6289a2d84d COPYRIGHT.md diff --git a/buildroot-2021.05/package/stunnel/stunnel.mk b/buildroot-2021.05/package/stunnel/stunnel.mk deleted file mode 100644 index 2d066a43..00000000 --- a/buildroot-2021.05/package/stunnel/stunnel.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# stunnel -# -################################################################################ - -STUNNEL_VERSION_MAJOR = 5 -STUNNEL_VERSION = $(STUNNEL_VERSION_MAJOR).58 -STUNNEL_SITE = http://www.usenix.org.uk/mirrors/stunnel/archive/$(STUNNEL_VERSION_MAJOR).x -STUNNEL_DEPENDENCIES = host-pkgconf openssl -STUNNEL_CONF_OPTS = --with-ssl=$(STAGING_DIR)/usr --with-threads=fork \ - --disable-libwrap -STUNNEL_CONF_ENV = \ - ax_cv_check_cflags___fstack_protector=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) \ - LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` -STUNNEL_LICENSE = GPL-2.0+ -STUNNEL_LICENSE_FILES = COPYING.md COPYRIGHT.md -STUNNEL_CPE_ID_VENDOR = stunnel - -ifeq ($(BR2_INIT_SYSTEMD),y) -STUNNEL_DEPENDENCIES += systemd -else -STUNNEL_CONF_OPTS += --disable-systemd -endif - -define STUNNEL_INSTALL_CONF - $(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \ - $(TARGET_DIR)/etc/stunnel/stunnel.conf - rm -f $(TARGET_DIR)/etc/stunnel/stunnel.conf-sample -endef - -STUNNEL_POST_INSTALL_TARGET_HOOKS += STUNNEL_INSTALL_CONF - -define STUNNEL_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/stunnel/S50stunnel $(TARGET_DIR)/etc/init.d/S50stunnel -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sudo/sudo.hash b/buildroot-2021.05/package/sudo/sudo.hash deleted file mode 100644 index ee30b322..00000000 --- a/buildroot-2021.05/package/sudo/sudo.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From: http://www.sudo.ws/download.html -sha256 539e2ef43c8a55026697fb0474ab6a925a11206b5aa58710cb42a0e1c81f0978 sudo-1.9.5p2.tar.gz -# Locally calculated -sha256 505c5955c373514e2533a24a8346f44038e29cba874f5ca83beb171a7409089f doc/LICENSE diff --git a/buildroot-2021.05/package/sudo/sudo.mk b/buildroot-2021.05/package/sudo/sudo.mk deleted file mode 100644 index 57c22925..00000000 --- a/buildroot-2021.05/package/sudo/sudo.mk +++ /dev/null @@ -1,86 +0,0 @@ -################################################################################ -# -# sudo -# -################################################################################ - -SUDO_VERSION_MAJOR = 1.9.5 -SUDO_VERSION_MINOR = p2 -SUDO_VERSION = $(SUDO_VERSION_MAJOR)$(SUDO_VERSION_MINOR) -SUDO_SITE = https://www.sudo.ws/sudo/dist -SUDO_LICENSE = ISC, BSD-3-Clause -SUDO_LICENSE_FILES = doc/LICENSE -SUDO_CPE_ID_VERSION = $(SUDO_VERSION_MAJOR) -SUDO_CPE_ID_UPDATE = $(SUDO_VERSION_MINOR) -# This is to avoid sudo's make install from chown()ing files which fails -SUDO_INSTALL_TARGET_OPTS = INSTALL_OWNER="" DESTDIR="$(TARGET_DIR)" install -SUDO_CONF_OPTS = \ - --without-lecture \ - --without-sendmail \ - --without-umask \ - --with-logging=syslog \ - --without-interfaces \ - --with-env-editor - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -define SUDO_INSTALL_PAM_CONF - $(INSTALL) -D -m 0644 package/sudo/sudo.pam $(TARGET_DIR)/etc/pam.d/sudo -endef - -SUDO_DEPENDENCIES += linux-pam -SUDO_CONF_OPTS += --with-pam -SUDO_POST_INSTALL_TARGET_HOOKS += SUDO_INSTALL_PAM_CONF -else -SUDO_CONF_OPTS += --without-pam -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -SUDO_CONF_OPTS += --enable-zlib -SUDO_DEPENDENCIES += zlib -else -SUDO_CONF_OPTS += --disable-zlib -endif - -ifeq ($(BR2_PACKAGE_OPENLDAP),y) -SUDO_DEPENDENCIES += openldap -SUDO_CONF_OPTS += --with-ldap -# If we are building sudo statically and openldap was linked with openssl, then -# when we link sudo with openldap we need to specify the openssl libs, otherwise -# it will fail with "undefined reference" errors. -ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_OPENSSL),yy) -SUDO_DEPENDENCIES += host-pkgconf -SUDO_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" -endif -else -SUDO_CONF_OPTS += --without-ldap -endif - -# mksigname/mksiglist needs to run on build host to generate source files -define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST - $(MAKE) $(HOST_CONFIGURE_OPTS) \ - CPPFLAGS="$(HOST_CPPFLAGS) -I../../include -I../.." \ - -C $(@D)/lib/util mksigname mksiglist -endef - -SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST - -define SUDO_PERMISSIONS - /usr/bin/sudo f 4755 0 0 - - - - - -endef - -define SUDO_REMOVE_DIST_EXAMPLES - $(RM) $(TARGET_DIR)/etc/sudoers.dist - rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/etc/sudoers.d -endef -SUDO_POST_INSTALL_TARGET_HOOKS += SUDO_REMOVE_DIST_EXAMPLES - -define SUDO_USERS - - - sudo -1 - - - - -endef - -define SUDO_ENABLE_SUDO_GROUP_RULE - $(SED) '/^# \%sudo\tALL=(ALL) ALL/s/^# //' $(TARGET_DIR)/etc/sudoers -endef -SUDO_POST_INSTALL_TARGET_HOOKS += SUDO_ENABLE_SUDO_GROUP_RULE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sunxi-mali-mainline-driver/Config.in b/buildroot-2021.05/package/sunxi-mali-mainline-driver/Config.in deleted file mode 100644 index 5db66c5b..00000000 --- a/buildroot-2021.05/package/sunxi-mali-mainline-driver/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -comment "sunxi-mali-mainline-driver needs a Linux kernel to be built" - depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE - depends on !BR2_LINUX_KERNEL - -config BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER - bool "sunxi-mali-mainline-driver" - default y - depends on BR2_PACKAGE_SUNXI_MALI_MAINLINE # runtime - depends on BR2_LINUX_KERNEL - select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra - help - This package builds and installs the Linux kernel driver for - the Mali GPU on Allwinner platforms, compatible with recent - Linux kernels (>= 4.4). Note that it should be installed - together with the corresponding userspace OpenGL libraries, - which are provided as binaries only at: - https://github.com/bootlin/mali-blobs - - sunxi-mali-mainline-driver requires a Linux kernel >= 4.4 - with the following options enabled: - - - CONFIG_CMA - - CONFIG_DMA_CMA - - starting from Linux Kernel >= 4.20 following options must be - enabled: - - CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM - - https://github.com/mripard/sunxi-mali/blob/master/README.md diff --git a/buildroot-2021.05/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.hash b/buildroot-2021.05/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.hash deleted file mode 100644 index f08e80f1..00000000 --- a/buildroot-2021.05/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 0197271dbf503e866dd4873091f61bb3de1f2c3031701aac1ba205d1e2f267ac sunxi-mali-mainline-driver-e4a91c95096bb31450b556fcb13f3c4ba79f60b4.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk b/buildroot-2021.05/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk deleted file mode 100644 index feffaa7a..00000000 --- a/buildroot-2021.05/package/sunxi-mali-mainline-driver/sunxi-mali-mainline-driver.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# sunxi-mali-mainline-driver -# -################################################################################ - -SUNXI_MALI_MAINLINE_DRIVER_VERSION = e4a91c95096bb31450b556fcb13f3c4ba79f60b4 -SUNXI_MALI_MAINLINE_DRIVER_SITE = $(call github,mripard,sunxi-mali,$(SUNXI_MALI_MAINLINE_DRIVER_VERSION)) -SUNXI_MALI_MAINLINE_DRIVER_DEPENDENCIES = linux -SUNXI_MALI_MAINLINE_DRIVER_LICENSE = GPL-2.0 -SUNXI_MALI_MAINLINE_DRIVER_LICENSE_FILES = LICENSE - -SUNXI_MALI_MAINLINE_DRIVER_MAKE_OPTS = \ - $(LINUX_MAKE_FLAGS) \ - KDIR=$(LINUX_DIR) - -define SUNXI_MALI_MAINLINE_DRIVER_USE_APPLY_PATCHES - ln -sf $(SUNXI_MALI_MAINLINE_REV)/series $(@D)/patches - $(SED) 's|quilt push -a|$(TOPDIR)/support/scripts/apply-patches.sh . ../patches|' \ - $(@D)/build.sh -endef - -SUNXI_MALI_MAINLINE_DRIVER_POST_PATCH_HOOKS += SUNXI_MALI_MAINLINE_DRIVER_USE_APPLY_PATCHES - -define SUNXI_MALI_MAINLINE_DRIVER_BUILD_CMDS - cd $(@D) && $(SUNXI_MALI_MAINLINE_DRIVER_MAKE_OPTS) \ - $(SHELL) ./build.sh -r $(SUNXI_MALI_MAINLINE_REV) -j $(PARALLEL_JOBS) -b -endef - -define SUNXI_MALI_MAINLINE_DRIVER_INSTALL_TARGET_CMDS - cd $(@D) && $(SUNXI_MALI_MAINLINE_DRIVER_MAKE_OPTS) \ - $(SHELL) ./build.sh -r $(SUNXI_MALI_MAINLINE_REV) -j $(PARALLEL_JOBS) -i -endef - -define SUNXI_MALI_MAINLINE_DRIVER_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_CMA) - $(call KCONFIG_ENABLE_OPT,CONFIG_DMA_CMA) - $(call KCONFIG_ENABLE_OPT,CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sunxi-mali-mainline/Config.in b/buildroot-2021.05/package/sunxi-mali-mainline/Config.in deleted file mode 100644 index a2fb95bd..00000000 --- a/buildroot-2021.05/package/sunxi-mali-mainline/Config.in +++ /dev/null @@ -1,42 +0,0 @@ -config BR2_PACKAGE_SUNXI_MALI_MAINLINE - bool "sunxi-mali-mainline" - depends on BR2_aarch64 || (BR2_ARM_EABIHF && BR2_arm) - depends on BR2_TOOLCHAIN_USES_GLIBC - select BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_HAS_LIBGLES - help - Install userspace Allwinner OpenGL libraries. - - https://github.com/bootlin/mali-blobs - -if BR2_PACKAGE_SUNXI_MALI_MAINLINE - -config BR2_PACKAGE_PROVIDES_LIBEGL - default "sunxi-mali-mainline" - -config BR2_PACKAGE_PROVIDES_LIBGLES - default "sunxi-mali-mainline" - -choice - prompt "Version" - default BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2 - help - Select the version of the userspace module. - -config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2 - bool "r6p2" -config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1 - bool "r8p1" - -endchoice - -config BR2_PACKAGE_SUNXI_MALI_MAINLINE_REVISION - string - default "r6p2" if BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2 - default "r8p1" if BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1 - -endif - -comment "sunxi-mali needs an EABIhf glibc toolchain" - depends on BR2_arm - depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF diff --git a/buildroot-2021.05/package/sunxi-mali-mainline/sunxi-mali-mainline.hash b/buildroot-2021.05/package/sunxi-mali-mainline/sunxi-mali-mainline.hash deleted file mode 100644 index e1c18fd4..00000000 --- a/buildroot-2021.05/package/sunxi-mali-mainline/sunxi-mali-mainline.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 72969ecf470b9e5ce787c2f8f36242926e1e892af0891924ee59a2cd206de39f sunxi-mali-mainline-d691cb93884ca8ac67860502117bbec283dc19aa.tar.gz -sha256 8a06bcae44a41a886f339b4338422415a786787f113e9ed6456ae117104a0b6a EULA_for_Mali_400MP_AW.pdf diff --git a/buildroot-2021.05/package/sunxi-mali-mainline/sunxi-mali-mainline.mk b/buildroot-2021.05/package/sunxi-mali-mainline/sunxi-mali-mainline.mk deleted file mode 100644 index 701a1fbb..00000000 --- a/buildroot-2021.05/package/sunxi-mali-mainline/sunxi-mali-mainline.mk +++ /dev/null @@ -1,49 +0,0 @@ -################################################################################ -# -# sunxi-mali-mainline -# -################################################################################ - -SUNXI_MALI_MAINLINE_VERSION = d691cb93884ca8ac67860502117bbec283dc19aa -SUNXI_MALI_MAINLINE_SITE = $(call github,bootlin,mali-blobs,$(SUNXI_MALI_MAINLINE_VERSION)) -SUNXI_MALI_MAINLINE_INSTALL_STAGING = YES -SUNXI_MALI_MAINLINE_PROVIDES = libegl libgles -SUNXI_MALI_MAINLINE_LICENSE = Allwinner End User Licence Agreement -SUNXI_MALI_MAINLINE_EULA_ORIGINAL = EULA\ for\ Mali\ 400MP\ _AW.pdf -SUNXI_MALI_MAINLINE_EULA_NO_SPACES = EULA_for_Mali_400MP_AW.pdf -SUNXI_MALI_MAINLINE_LICENSE_FILES = $(SUNXI_MALI_MAINLINE_EULA_NO_SPACES) - -SUNXI_MALI_MAINLINE_REV = $(call qstrip,$(BR2_PACKAGE_SUNXI_MALI_MAINLINE_REVISION)) - -ifeq ($(BR2_arm),y) -SUNXI_MALI_MAINLINE_ARCH=arm -else ifeq ($(BR2_aarch64),y) -SUNXI_MALI_MAINLINE_ARCH=arm64 -endif - -define SUNXI_MALI_MAINLINE_INSTALL_STAGING_CMDS - mkdir -p $(STAGING_DIR)/usr/lib $(STAGING_DIR)/usr/include - - cp -rf $(@D)/$(SUNXI_MALI_MAINLINE_REV)/$(SUNXI_MALI_MAINLINE_ARCH)/fbdev/*.so* \ - $(STAGING_DIR)/usr/lib/ - cp -rf $(@D)/include/fbdev/* $(STAGING_DIR)/usr/include/ - - $(INSTALL) -D -m 0644 package/sunxi-mali-mainline/egl.pc \ - $(STAGING_DIR)/usr/lib/pkgconfig/egl.pc - $(INSTALL) -D -m 0644 package/sunxi-mali-mainline/glesv2.pc \ - $(STAGING_DIR)/usr/lib/pkgconfig/glesv2.pc -endef - -define SUNXI_MALI_MAINLINE_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/usr/lib - cp -rf $(@D)/$(SUNXI_MALI_MAINLINE_REV)/$(SUNXI_MALI_MAINLINE_ARCH)/fbdev/*.so* \ - $(TARGET_DIR)/usr/lib/ -endef - -define SUNXI_MALI_MAINLINE_FIXUP_LICENSE_FILE - mv $(@D)/$(SUNXI_MALI_MAINLINE_EULA_ORIGINAL) $(@D)/$(SUNXI_MALI_MAINLINE_EULA_NO_SPACES) -endef - -SUNXI_MALI_MAINLINE_POST_PATCH_HOOKS += SUNXI_MALI_MAINLINE_FIXUP_LICENSE_FILE - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sunxi-tools/sunxi-tools.mk b/buildroot-2021.05/package/sunxi-tools/sunxi-tools.mk deleted file mode 100644 index c2913ee8..00000000 --- a/buildroot-2021.05/package/sunxi-tools/sunxi-tools.mk +++ /dev/null @@ -1,63 +0,0 @@ -################################################################################ -# -# sunxi-tools -# -################################################################################ - -SUNXI_TOOLS_VERSION = 1.4.2 -SUNXI_TOOLS_SITE = $(call github,linux-sunxi,sunxi-tools,v$(SUNXI_TOOLS_VERSION)) -SUNXI_TOOLS_LICENSE = GPL-2.0+ -SUNXI_TOOLS_LICENSE_FILES = LICENSE.md -HOST_SUNXI_TOOLS_DEPENDENCIES = host-libusb host-pkgconf -FEX2BIN = $(HOST_DIR)/bin/fex2bin - -SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_FEXC) += sunxi-fexc -SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_BOOTINFO) += sunxi-bootinfo -SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_FEL) += sunxi-fel -SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_NAND_PART) += sunxi-nand-part -SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_PIO) += sunxi-pio -SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_MEMINFO) += sunxi-meminfo -SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_PHOENIX_INFO) += phoenix_info -SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_NAND_IMAGE_BUILDER) += \ - sunxi-nand-image-builder - -ifeq ($(BR2_PACKAGE_SUNXI_TOOLS_FEXC),y) -SUNXI_TOOLS_FEXC_LINKS += fex2bin bin2fex -endif - -ifeq ($(BR2_PACKAGE_SUNXI_TOOLS_FEL),y) -SUNXI_TOOLS_DEPENDENCIES += libusb host-pkgconf -endif - -define HOST_SUNXI_TOOLS_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) CROSS_COMPILE="" CC="$(HOSTCC)" \ - PREFIX=$(HOST_DIR) EXTRA_CFLAGS="$(HOST_CFLAGS)" \ - LDFLAGS="$(HOST_LDFLAGS)" -C $(@D) tools misc -endef - -define HOST_SUNXI_TOOLS_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) CROSS_COMPILE="" CC="$(HOSTCC)" \ - PREFIX=$(HOST_DIR) EXTRA_CFLAGS="$(HOST_CFLAGS)" \ - LDFLAGS="$(HOST_LDFLAGS)" -C $(@D) install-tools install-misc -endef - -define SUNXI_TOOLS_BUILD_CMDS - $(foreach t,$(SUNXI_TOOLS_TARGETS_y), \ - $(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" \ - CC="$(TARGET_CC)" PREFIX=/usr \ - EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) $(t) - ) -endef - -define SUNXI_TOOLS_INSTALL_TARGET_CMDS - $(foreach t,$(SUNXI_TOOLS_TARGETS_y), \ - $(INSTALL) -D -m 0755 $(@D)/$(t) $(TARGET_DIR)/usr/bin/$(t) - ) - $(foreach t,$(SUNXI_TOOLS_FEXC_LINKS), \ - ln -nfs sunxi-fexc $(TARGET_DIR)/usr/bin/$(t) - ) -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/supertux/0001-CMakeLists.txt-compile-squirrel-with-fPIC.patch b/buildroot-2021.05/package/supertux/0001-CMakeLists.txt-compile-squirrel-with-fPIC.patch deleted file mode 100644 index 9fac20a3..00000000 --- a/buildroot-2021.05/package/supertux/0001-CMakeLists.txt-compile-squirrel-with-fPIC.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 23d0bb0ef0fde52d1cffe235edead09287326fb4 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Sun, 4 Oct 2020 01:11:30 +0200 -Subject: [PATCH] CMakeLists.txt: compile squirrel with -fPIC - -Ensure that squirrel is compiled with -fPIC to allow linking the static -libraries with dynamically linked programs. This is not a requirement -for most architectures but is mandatory for ARM. - -Fixes: -x86_64-buildroot-linux-musl/bin/ld: CMakeFiles/sq_static.dir/sq.c.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC -x86_64-buildroot-linux-musl/bin/ld: final link failed: nonrepresentable section on output - -Signed-off-by: Romain Naour ---- - CMakeLists.txt | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 8b1dafa1e..07c603cce 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -412,7 +412,8 @@ ExternalProject_Add(squirrel - -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} - -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} - -DCMAKE_INSTALL_PREFIX=${SQUIRREL_PREFIX} -- -DINSTALL_INC_DIR=include) -+ -DINSTALL_INC_DIR=include -+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON) - - if(WIN32) - add_library(squirrel_lib SHARED IMPORTED) --- -2.25.4 - diff --git a/buildroot-2021.05/package/supertux/0001-Fix-build-on-PowerPC.patch b/buildroot-2021.05/package/supertux/0001-Fix-build-on-PowerPC.patch deleted file mode 100644 index e40abac6..00000000 --- a/buildroot-2021.05/package/supertux/0001-Fix-build-on-PowerPC.patch +++ /dev/null @@ -1,81 +0,0 @@ -From cfcd478fe69ca1b3923f388a349a4f67ac2c03aa Mon Sep 17 00:00:00 2001 -From: Shawn Anastasio -Date: Sun, 3 Feb 2019 13:22:57 -0600 -Subject: [PATCH] Fix build on PowerPC - -On PowerPC-based architectures, SDL includes the altivec.h header -for SIMD intrinsics. Unfortunately, altivec.h defines some types which -conflict with C++ types like bool and std::vector. This commit adds -a wrapper for altivec.h which resolves these conflicts and allows -supertux to build and run. - -Tested on a ppc64le workstation. - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://github.com/SuperTux/supertux/pull/1056/commits/cfcd478fe69ca1b3923f388a349a4f67ac2c03aa] ---- - CMakeLists.txt | 15 ++++++++++++++- - src/ppc/altivec.h | 6 ++++++ - 2 files changed, 20 insertions(+), 1 deletion(-) - create mode 100644 src/ppc/altivec.h - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 70b9673b50..b9b6ea3ea6 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -376,6 +376,11 @@ endif() - - include(ConfigureChecks) - -+# Include altivec wrapper on ppc -+if(CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc.*") -+ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/ppc) -+endif() -+ - - ## Also build external/squirrel - -@@ -420,6 +425,13 @@ if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/external/tinygettext/CMakeLists.txt) - message(FATAL_ERROR "tinygettext submodule is not checked out or ${CMAKE_CURRENT_SOURCE_DIR}/external/tinygettext/CMakeLists.txt is missing") - endif() - -+# Include altivec wrapper on ppc -+if(CMAKE_SYSTEM_PROCESSOR MATCHES "^ppc.*") -+ set(TINYGETTEXT_CXX_FLAGS "-isystem ${CMAKE_CURRENT_SOURCE_DIR}/src/ppc ${CMAKE_CXX_FLAGS}") -+else() -+ set(TINYGETTEXT_CXX_FLAGS "${CMAKE_CXX_FLAGS}") -+endif() -+ - set(TINYGETTEXT_PREFIX ${CMAKE_BINARY_DIR}/tinygettext/) - ExternalProject_Add(tinygettext - SOURCE_DIR "${CMAKE_SOURCE_DIR}/external/tinygettext/" -@@ -428,7 +440,7 @@ ExternalProject_Add(tinygettext - -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} - -DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} - -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -- -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS} -+ -DCMAKE_CXX_FLAGS=${TINYGETTEXT_CXX_FLAGS} - -DBUILD_SHARED_LIBS=OFF - -DHAVE_SDL=ON - -DVCPKG_BUILD=${VCPKG_BUILD} -@@ -443,6 +455,7 @@ set_target_properties(tinygettext_lib PROPERTIES IMPORTED_LOCATION "${TINYGETTEX - - include_directories(SYSTEM ${TINYGETTEXT_PREFIX}/include) - -+ - ## external/SDL_ttf with patches - find_package(Freetype REQUIRED) - find_package(RAQM) -diff --git a/src/ppc/altivec.h b/src/ppc/altivec.h -new file mode 100644 -index 0000000000..7ede8246ed ---- /dev/null -+++ b/src/ppc/altivec.h -@@ -0,0 +1,6 @@ -+#include_next -+ -+// The altivec headers redefine vector and bool which conflict -+// with C++'s bool type and std::vector. Undefine them here. -+#undef vector -+#undef bool diff --git a/buildroot-2021.05/package/supertux/0002-Fix-build-with-boost-1-73.patch b/buildroot-2021.05/package/supertux/0002-Fix-build-with-boost-1-73.patch deleted file mode 100644 index 000e5abc..00000000 --- a/buildroot-2021.05/package/supertux/0002-Fix-build-with-boost-1-73.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 4221d54385b69d6c40eff2c67bc6bad7ed165a44 Mon Sep 17 00:00:00 2001 -From: Lars Wendler -Date: Sat, 9 May 2020 03:04:02 +0200 -Subject: [PATCH] Fix build with boost-1.73 - -[Retrieved from: -https://github.com/SuperTux/supertux/commit/4221d54385b69d6c40eff2c67bc6bad7ed165a44] -Signed-off-by: Fabrice Fontaine ---- - src/editor/object_settings.hpp | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/editor/object_settings.hpp b/src/editor/object_settings.hpp -index bc9049a94e..15b77b1e46 100644 ---- a/src/editor/object_settings.hpp -+++ b/src/editor/object_settings.hpp -@@ -22,6 +22,8 @@ - - #include "editor/object_option.hpp" - -+#include -+ - class Color; - enum class Direction; - enum class WalkMode; diff --git a/buildroot-2021.05/package/supertux/Config.in b/buildroot-2021.05/package/supertux/Config.in deleted file mode 100644 index 5cacdd65..00000000 --- a/buildroot-2021.05/package/supertux/Config.in +++ /dev/null @@ -1,41 +0,0 @@ -config BR2_PACKAGE_SUPERTUX - bool "supertux" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_PACKAGE_HAS_LIBGL # libglew - depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS - depends on BR2_PACKAGE_XORG7 # libglew, SDL2 OpenGL (GLX) - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14 - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal - depends on BR2_USE_MMU # SDL2 OpenGL (GLX) - depends on !BR2_STATIC_LIBS # SDL2 - depends on BR2_USE_WCHAR # Boost - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_DATE_TIME - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_LOCALE - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBGLEW - select BR2_PACKAGE_LIBOGG - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_LIBVORBIS - select BR2_PACKAGE_OPENAL - select BR2_PACKAGE_PHYSFS - select BR2_PACKAGE_SDL2 - select BR2_PACKAGE_SDL2_IMAGE - select BR2_PACKAGE_SDL2_OPENGL - help - SuperTux is a free classic 2D jump'n run sidescroller game in - a style similar to the original Super Mario games covered - under the GNU GPL. - - http://supertux.github.io/ - -comment "supertux needs OpenGL and a toolchain w/ C++, gcc >= 6, NPTL, dynamic library, wchar" - depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_HAS_LIBGL || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_6 || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/supertux/supertux.hash b/buildroot-2021.05/package/supertux/supertux.hash deleted file mode 100644 index 2b3ca799..00000000 --- a/buildroot-2021.05/package/supertux/supertux.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 c4c3e5fa6f90e87b8c5ad6b22a179e9a9839bf997e7f219e22bbcd1c97223ac0 SuperTux-v0.6.0-Source.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.txt -sha256 35c61f69239ff2f55fe0fa5dee5bad6bff311a07c47fa049552e0973a47c07bb data/AUTHORS diff --git a/buildroot-2021.05/package/supertux/supertux.mk b/buildroot-2021.05/package/supertux/supertux.mk deleted file mode 100644 index e4a46309..00000000 --- a/buildroot-2021.05/package/supertux/supertux.mk +++ /dev/null @@ -1,73 +0,0 @@ -################################################################################ -# -# supertux -# -################################################################################ - -SUPERTUX_VERSION = 0.6.0 -SUPERTUX_SITE = https://github.com/SuperTux/supertux/releases/download/v$(SUPERTUX_VERSION) -SUPERTUX_SOURCE = SuperTux-v$(SUPERTUX_VERSION)-Source.tar.gz - -# Supertux itself is GPL-3.0+, but it bundles a few libraries with different -# licenses (sexp-cpp, squirrel, tinygettext) which are linked statically. -SUPERTUX_LICENSE = GPL-3.0+ (code), CC-BY-SA-2.0, CC-BY-SA-3.0, GPL-2.0+ (images music sounds) -SUPERTUX_LICENSE_FILES = LICENSE.txt data/AUTHORS - -# Use bundled squirrel, tinygettext sexp-cpp packages which are hardcoded in -# the CMake build system. -SUPERTUX_DEPENDENCIES = host-pkgconf boost freetype libcurl libgl libglew \ - libogg libpng libvorbis openal physfs sdl2 sdl2_image - -# CMAKE_BUILD_TYPE=Release: disable profiling code (-pg) -# ENABLE_BOOST_STATIC_LIBS=OFF: use boost shared libraries since supertux -# depends on !BR2_STATIC_LIBS and boost provide only shared libraries with -# BR2_SHARED_LIBS. -# ENABLE_OPENGL=ON: Can be disabled but will make SuperTux unplayable slow. -# GLBINDING_ENABLED=OFF: use GLEW (default) instead of glbinding. -# Install the game directly in /usr/bin and game data in /usr/share/supertux2. -# Force using physfs.so from staging since the check on PHYSFS_getPrefDir symbol -# in physfs.h (CHECK_SYMBOL_EXISTS) doesn't work. -# ENABLE_OPENGLES2=OFF: Disable opengles2 for now. -SUPERTUX_CONF_OPTS += \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -DGLEW_NO_GLU" \ - -DENABLE_BOOST_STATIC_LIBS=OFF \ - -DBUILD_DOCUMENTATION=OFF \ - -DENABLE_OPENGL=ON \ - -DGLBINDING_ENABLED=OFF \ - -DINSTALL_SUBDIR_BIN="bin" \ - -DINSTALL_SUBDIR_SHARE="share/supertux2" \ - -DUSE_SYSTEM_PHYSFS=ON \ - -DENABLE_OPENGLES2=OFF - -# Avoid incompatible posix_memalign declaration on x86 and x86_64 with -# musl. -# https://gcc.gnu.org/ml/gcc-patches/2015-05/msg01425.html -ifeq ($(BR2_TOOLCHAIN_USES_MUSL):$(BR2_i386)$(BR2_x86_64),y:y) -define SUPERTUX_REMOVE_PEDANTIC - $(SED) 's% -pedantic%%' $(@D)/CMakeLists.txt - $(SED) 's%CHECK_CXX_FLAG(pedantic)%%' $(@D)/external/tinygettext/CMakeLists.txt -endef -SUPERTUX_POST_PATCH_HOOKS += SUPERTUX_REMOVE_PEDANTIC -endif - -# From https://bugs.debian.org/cgi-bin/bugreport.cgi/?bug=770670 -# "The problem lies within SDL_cpuinfo.h. It includes altivec.h, which by -# definition provides an unconditional vector, pixel and bool define in -# standard-c++ mode. In GNU-c++ mode this names are only defined -# context-sensitive by cpp. SDL_cpuinfo.h is included by SDL.h. -# Including altivec.h makes arbitrary code break." -# -# Acording to a bug report in GCC [1]: -# "You need to use -std=g++11 or undefine bool after the include of altivec.h -# as context sensitive keywords is not part of the C++11 standard". -# So use gnu++11 instead of c++11 only for altivec system. -# [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241#c3 -ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) -define SUPERTUX_FIX_ALTIVEC_ISSUE - $(SED) 's%std=c++0x%std=gnu++0x%' $(@D)/external/tinygettext/CMakeLists.txt -endef -SUPERTUX_POST_PATCH_HOOKS += SUPERTUX_FIX_ALTIVEC_ISSUE -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/supertuxkart/Config.in b/buildroot-2021.05/package/supertuxkart/Config.in deleted file mode 100644 index 99f2310d..00000000 --- a/buildroot-2021.05/package/supertuxkart/Config.in +++ /dev/null @@ -1,46 +0,0 @@ -config BR2_PACKAGE_SUPERTUXKART - bool "supertuxkart" - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_USE_MMU # fork() - depends on BR2_INSTALL_LIBSTDCPP # openal - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # openal - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal - depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS # openal - depends on BR2_PACKAGE_HAS_LIBGL - depends on BR2_PACKAGE_XORG7 - depends on !BR2_TOOLCHAIN_USES_MUSL - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_ENET - select BR2_PACKAGE_HARFBUZZ - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBFRIBIDI - select BR2_PACKAGE_LIBGLEW - select BR2_PACKAGE_LIBOGG - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_LIBSQUISH - select BR2_PACKAGE_LIBVORBIS - select BR2_PACKAGE_NETTLE if !BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_OPENAL - select BR2_PACKAGE_XLIB_LIBXRANDR - select BR2_PACKAGE_ZLIB - help - Karts. Nitro. Action! SuperTuxKart is a free 3D arcade kart - racer with multiple karts, tracks and modes you can play. - Beat the evil Nolok by any means necessary, and make the - mascot kingdom safe once again! - - http://supertuxkart.sourceforge.net/Main_Page - -comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++, gcc >= 4.9" - depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_USE_MMU - depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS - depends on BR2_PACKAGE_XORG7 - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \ - || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ - || !BR2_PACKAGE_HAS_LIBGL \ - || BR2_TOOLCHAIN_USES_MUSL diff --git a/buildroot-2021.05/package/supertuxkart/supertuxkart.hash b/buildroot-2021.05/package/supertuxkart/supertuxkart.hash deleted file mode 100644 index 9654ad24..00000000 --- a/buildroot-2021.05/package/supertuxkart/supertuxkart.hash +++ /dev/null @@ -1,8 +0,0 @@ -# Locally computed -sha256 e9b02b0b11ab68aacaec38306903feffe59a501224805cd3645cebf10e880ae8 supertuxkart-1.1-src.tar.xz -# From https://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/1.1/ -sha1 68be26f4b15d30dede26563cbcc6de999036c5e0 supertuxkart-1.1-src.tar.xz -md5 731569c58428f32a0e46943fad7ba1e3 supertuxkart-1.1-src.tar.xz - -# Locally computed -sha256 d27207a5213f746aac53893e9ecc18456e9595d3ffa662bd1ec9eb10787c214a COPYING diff --git a/buildroot-2021.05/package/supertuxkart/supertuxkart.mk b/buildroot-2021.05/package/supertuxkart/supertuxkart.mk deleted file mode 100644 index 97cd2a40..00000000 --- a/buildroot-2021.05/package/supertuxkart/supertuxkart.mk +++ /dev/null @@ -1,68 +0,0 @@ -################################################################################ -# -# supertuxkart -# -################################################################################ - -SUPERTUXKART_VERSION = 1.1 -SUPERTUXKART_SOURCE = supertuxkart-$(SUPERTUXKART_VERSION)-src.tar.xz -SUPERTUXKART_SITE = http://downloads.sourceforge.net/project/supertuxkart/SuperTuxKart/$(SUPERTUXKART_VERSION) - -# Supertuxkart itself is GPL-3.0+, but it bundles a few libraries with different -# licenses. Irrlicht, bullet and angelscript have Zlib license, while glew is -# BSD-3-Clause. Since they are linked statically, the result is GPL-3.0+. -SUPERTUXKART_LICENSE = GPL-3.0+ -SUPERTUXKART_LICENSE_FILES = COPYING - -SUPERTUXKART_DEPENDENCIES = \ - host-pkgconf \ - freetype \ - enet \ - harfbuzz \ - jpeg \ - libcurl \ - libfribidi \ - libgl \ - libglew \ - libogg \ - libpng \ - libsquish \ - libvorbis \ - openal \ - xlib_libXrandr \ - zlib - -# Since supertuxkart is not installing libstkirrlicht.so, and since it is -# the only user of the bundled libraries, turn off shared libraries entirely. -# Disable In-game recorder (there is no libopenglrecorder package) -SUPERTUXKART_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF \ - -DBUILD_RECORDER=OFF \ - -DUSE_SYSTEM_GLEW=ON \ - -DUSE_SYSTEM_ENET=ON \ - -DUSE_SYSTEM_SQUISH=ON - -ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) -SUPERTUXKART_DEPENDENCIES += bluez5_utils -SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=ON -DUSE_SYSTEM_WIIUSE=ON -else -# Wiimote support relies on bluez5. -SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=OFF -endif - -# Prefer openssl (the default) over nettle. -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SUPERTUXKART_DEPENDENCIES += openssl -SUPERTUXKART_CONF_OPTS += -DUSE_CRYPTO_OPENSSL=ON -else -SUPERTUXKART_DEPENDENCIES += nettle -SUPERTUXKART_CONF_OPTS += -DUSE_CRYPTO_OPENSSL=OFF -endif - -ifeq ($(BR2_PACKAGE_SQLITE),y) -SUPERTUXKART_DEPENDENCIES += sqlite -SUPERTUXKART_CONF_OPTS += -DUSE_SQLITE3=ON -else -SUPERTUXKART_CONF_OPTS += -DUSE_SQLITE3=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/supervisor/Config.in b/buildroot-2021.05/package/supervisor/Config.in deleted file mode 100644 index 623c3a83..00000000 --- a/buildroot-2021.05/package/supervisor/Config.in +++ /dev/null @@ -1,14 +0,0 @@ -config BR2_PACKAGE_SUPERVISOR - bool "supervisor" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_MELD3 - select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime dependency - help - A client/server system that allows its users to control a - number of processes on UNIX-like operating systems. - - http://supervisord.org/ - -comment "supervisor needs a python interpreter" - depends on !BR2_PACKAGE_PYTHON - depends on !BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/supervisor/supervisor.hash b/buildroot-2021.05/package/supervisor/supervisor.hash deleted file mode 100644 index 98a03aa1..00000000 --- a/buildroot-2021.05/package/supervisor/supervisor.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 2dc86fe0476e945e61483d614ceb2cf4f93b95282eb243bdf792621994360383 supervisor-4.1.0.tar.gz -sha256 7b8dbd54ab1543b07b2fc5f6f5ab50d89d26c1c4952af93a579d8c52c56b8de4 COPYRIGHT.txt -sha256 4c35fda9f70bb7883fd94e5a4d5addd88ad1a6d5d15e21c9d17c4d96fdc5e369 LICENSES.txt diff --git a/buildroot-2021.05/package/supervisor/supervisor.mk b/buildroot-2021.05/package/supervisor/supervisor.mk deleted file mode 100644 index 92e83230..00000000 --- a/buildroot-2021.05/package/supervisor/supervisor.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# supervisor -# -################################################################################ - -SUPERVISOR_VERSION = 4.1.0 -SUPERVISOR_SITE = https://files.pythonhosted.org/packages/de/87/ee1ad8fa533a4b5f2c7623f4a2b585d3c1947af7bed8e65bc7772274320e -SUPERVISOR_LICENSE = BSD-like, rdflib (http_client.py), PSF (medusa) -SUPERVISOR_LICENSE_FILES = COPYRIGHT.txt LICENSES.txt -SUPERVISOR_CPE_ID_VENDOR = supervisord -SUPERVISOR_SETUP_TYPE = setuptools - -define SUPERVISOR_INSTALL_CONF_FILES - $(INSTALL) -d -m 755 $(TARGET_DIR)/etc/supervisor.d - $(INSTALL) -D -m 644 package/supervisor/supervisord.conf \ - $(TARGET_DIR)/etc/supervisord.conf -endef - -SUPERVISOR_POST_INSTALL_TARGET_HOOKS += SUPERVISOR_INSTALL_CONF_FILES - -define SUPERVISOR_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/supervisor/S99supervisord \ - $(TARGET_DIR)/etc/init.d/S99supervisord -endef - -define SUPERVISOR_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/supervisor/supervisord.service \ - $(TARGET_DIR)/usr/lib/systemd/system/supervisord.service -endef - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/suricata/suricata.hash b/buildroot-2021.05/package/suricata/suricata.hash deleted file mode 100644 index 83951778..00000000 --- a/buildroot-2021.05/package/suricata/suricata.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally computed: -sha256 5e4647a07cb31b5d6d0049972a45375c137de908a964a44e2d6d231fa3ad4b52 suricata-6.0.2.tar.gz - -# Hash for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/suricata/suricata.mk b/buildroot-2021.05/package/suricata/suricata.mk deleted file mode 100644 index ab8f27c3..00000000 --- a/buildroot-2021.05/package/suricata/suricata.mk +++ /dev/null @@ -1,135 +0,0 @@ -################################################################################ -# -# suricata -# -################################################################################ - -SURICATA_VERSION = 6.0.2 -SURICATA_SITE = https://www.openinfosecfoundation.org/download -SURICATA_LICENSE = GPL-2.0 -SURICATA_LICENSE_FILES = COPYING LICENSE -# 0001-python-ensure-proper-shabang-on-python-scripts.patch -# 0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch -SURICATA_AUTORECONF = YES - -SURICATA_DEPENDENCIES = \ - host-pkgconf \ - host-rustc \ - jansson \ - $(if $(BR2_PACKAGE_LIBCAP_NG),libcap-ng) \ - $(if $(BR2_PACKAGE_LIBEVENT),libevent) \ - libhtp \ - $(if $(BR2_PACKAGE_LIBNFNETLINK),libnfnetlink) \ - libpcap \ - libyaml \ - $(if $(BR2_PACKAGE_LZ4),lz4) \ - pcre \ - $(if $(BR2_PACKAGE_XZ),xz) - -SURICATA_CONF_ENV = \ - ac_cv_path_HAVE_SPHINXBUILD=no \ - CARGO_HOME=$(HOST_DIR)/share/cargo \ - RUST_TARGET=$(RUSTC_TARGET_NAME) - -SURICATA_CONF_OPTS = \ - --disable-gccprotect \ - --disable-pie \ - --disable-suricata-update \ - --enable-non-bundled-htp - -# install: install binaries -# install-conf: install initial configuration files -# install-full: install binaries, configuration and rules (rules will be -# download through wget/curl) -SURICATA_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install install-conf - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -SURICATA_CONF_ENV += LIBS=-latomic -endif - -ifeq ($(BR2_PACKAGE_FILE),y) -SURICATA_DEPENDENCIES += file -SURICATA_CONF_OPTS += --enable-libmagic -else -SURICATA_CONF_OPTS += --disable-libmagic -endif - -ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y) -SURICATA_DEPENDENCIES += libmaxminddb -SURICATA_CONF_OPTS += --enable-geoip -else -SURICATA_CONF_OPTS += --disable-geoip -endif - -ifeq ($(BR2_PACKAGE_HIREDIS),y) -SURICATA_DEPENDENCIES += hiredis -SURICATA_CONF_OPTS += --enable-hiredis -else -SURICATA_CONF_OPTS += --disable-hiredis -endif - -ifeq ($(BR2_PACKAGE_LIBNET),y) -SURICATA_DEPENDENCIES += libnet -SURICATA_CONF_OPTS += --with-libnet-includes=$(STAGING_DIR)/usr/include -endif - -ifeq ($(BR2_PACKAGE_LIBNETFILTER_LOG),y) -SURICATA_DEPENDENCIES += libnetfilter_log -SURICATA_CONF_OPTS += --enable-nflog -else -SURICATA_CONF_OPTS += --disable-nflog -endif - -ifeq ($(BR2_PACKAGE_LIBNETFILTER_QUEUE),y) -SURICATA_DEPENDENCIES += libnetfilter_queue -SURICATA_CONF_OPTS += --enable-nfqueue -else -SURICATA_CONF_OPTS += --disable-nfqueue -endif - -ifeq ($(BR2_PACKAGE_LIBNSPR),y) -SURICATA_DEPENDENCIES += libnspr -SURICATA_CONF_OPTS += --enable-nspr -else -SURICATA_CONF_OPTS += --disable-nspr -endif - -ifeq ($(BR2_PACKAGE_LIBNSS),y) -SURICATA_DEPENDENCIES += libnss -SURICATA_CONF_OPTS += --enable-nss -else -SURICATA_CONF_OPTS += --disable-nss -endif - -ifeq ($(BR2_PACKAGE_LUA),y) -SURICATA_CONF_OPTS += --enable-lua -SURICATA_DEPENDENCIES += lua -else -SURICATA_CONF_OPTS += --disable-lua -endif - -ifeq ($(BR2_PACKAGE_LUAJIT),y) -SURICATA_CONF_OPTS += --enable-luajit -SURICATA_DEPENDENCIES += luajit -else -SURICATA_CONF_OPTS += --disable-luajit -endif - -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -SURICATA_CONF_OPTS += --enable-python -SURICATA_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) -else -SURICATA_CONF_OPTS += --disable-python -endif - -define SURICATA_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/suricata/S99suricata \ - $(TARGET_DIR)/etc/init.d/S99suricata -endef - -define SURICATA_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/suricata/suricata.service \ - $(TARGET_DIR)/usr/lib/systemd/system/suricata.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/swupdate/0001-diskpart-force-kernel-to-reread-partition-table.patch b/buildroot-2021.05/package/swupdate/0001-diskpart-force-kernel-to-reread-partition-table.patch deleted file mode 100644 index 5964d1b9..00000000 --- a/buildroot-2021.05/package/swupdate/0001-diskpart-force-kernel-to-reread-partition-table.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 305a7a5a74a612801d9df2b2efc86dd952b8c4e7 Mon Sep 17 00:00:00 2001 -From: Stefano Babic -Date: Tue, 9 Jun 2020 13:58:06 +0000 -Subject: [PATCH] diskpart: force kernel to reread partition table - -After writing a partition table to disk, the kernel should be informed -(like the partconf tool does), else it is not possible to install images -in the new created partitions. - -Signed-off-by: Stefano Babic -Signed-off-by: Joris Offouga ---- - handlers/diskpart_handler.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/handlers/diskpart_handler.c b/handlers/diskpart_handler.c -index 16adc17..372412b 100644 ---- a/handlers/diskpart_handler.c -+++ b/handlers/diskpart_handler.c -@@ -273,7 +273,8 @@ static int diskpart(struct img_type *img, - /* - * Everything done, write into disk - */ -- ret = fdisk_write_disklabel(cxt); -+ ret = fdisk_write_disklabel(cxt) | -+ fdisk_reread_partition_table(cxt); - - handler_exit: - if (fdisk_deassign_device(cxt, 0)) --- -2.25.1 - diff --git a/buildroot-2021.05/package/swupdate/0002-Shellscript-stops-before-completing.patch b/buildroot-2021.05/package/swupdate/0002-Shellscript-stops-before-completing.patch deleted file mode 100644 index d9143889..00000000 --- a/buildroot-2021.05/package/swupdate/0002-Shellscript-stops-before-completing.patch +++ /dev/null @@ -1,52 +0,0 @@ -From bd08e45d7b25f06da2fc6dc824146b471db5f1f4 Mon Sep 17 00:00:00 2001 -From: Stefano Babic -Date: Tue, 16 Jun 2020 10:29:55 +0200 -Subject: [PATCH] Shellscript stops before completing - -Commit 8fb94d7 reworks the way shell script are called, redirecting -stdout and stderr to SWUpdate. A shell script runs then in a child -process. Under some circumstances, SWUpdate closes the forked process -before the child process completes. - -Be sure that the child process has terminated before to go on. - -Signed-off-by: Stefano Babic -Reported-by: Piotr Piwko -Tested-by: Piotr Piwko -Signed-off-by: Joris Offouga ---- - core/pctl.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/core/pctl.c b/core/pctl.c -index 8b1c667..01ad540 100644 ---- a/core/pctl.c -+++ b/core/pctl.c -@@ -263,6 +263,7 @@ int run_system_cmd(const char *cmd) - } - } else { - int fds[2]; -+ pid_t w; - - close(stdoutpipe[PIPE_WRITE]); - close(stderrpipe[PIPE_WRITE]); -@@ -276,7 +277,6 @@ int run_system_cmd(const char *cmd) - * and from stderr (of the child process) as ERROR - */ - do { -- pid_t w; - int n1 = 0; - struct timeval tv; - fd_set readfds; -@@ -373,7 +373,7 @@ int run_system_cmd(const char *cmd) - } - } - } while (ret > 0 && n1 > 0); -- } while (!WIFEXITED(wstatus)); -+ } while (w != process_id); - - close(stdoutpipe[PIPE_READ]); - close(stderrpipe[PIPE_READ]); --- -2.25.1 - diff --git a/buildroot-2021.05/package/swupdate/Config.in b/buildroot-2021.05/package/swupdate/Config.in deleted file mode 100644 index e87f6958..00000000 --- a/buildroot-2021.05/package/swupdate/Config.in +++ /dev/null @@ -1,75 +0,0 @@ -config BR2_PACKAGE_SWUPDATE - bool "swupdate" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - # swupdate requires a parser and uses libconfig as default - select BR2_PACKAGE_LIBCONFIG if !BR2_PACKAGE_JSON_C && \ - !BR2_PACKAGE_HAS_LUAINTERPRETER - help - swupdate provides a reliable way to update the software on - an embedded system. - - swupdate is highly configurable to fit the targets - requirements and to minimize the footprint. The provided - default configuration file BR2_PACKAGE_SWUPDATE_CONFIG will - enable swupdate with an embedded webserver, a parser and a - handler for raw NAND or NOR flash. - - The default configuration file builds a reasonable firmware - update system with minimal external dependencies in mind. - If you like to use your own modified configuration, - you have to select the necessary packages manually: - - * Select BR2_PACKAGE_LUA or BR2_PACKAGE_LUAJIT if you want - want to have Lua support. - * Select BR2_PACKAGE_LIBCURL if you want to use the download - feature. - * Select BR2_PACKAGE_OPENSSL or BR2_PACKAGE_MBEDTLS if you - want to add encryption support. - * Select BR2_PACKAGE_MTD if you want to use swupdate with - UBI partitions. - * Select BR2_PACKAGE_ZLIB if you want to deal with gzip - compressed archives. - * Select BR2_PACKAGE_ZSTD if you want to deal with zstd - compressed archives. - * Select BR2_PACKAGE_ZEROMQ to add support for using a - remote handler. - * Select BR2_PACKAGE_LIBRSYNC to add support for using - rdiff handler. - * Select BR2_PACKAGE_LIBUBOOTENV to add support for setting - the U-Boot environment. - * Select BR2_PACKAGE_LIBGPIOD to add support for - microcontroller firmware update. - * Select BR2_PACKAGE_EFIBOOTMGR to add support for EFI Boot - Guard. - * Select BR2_PACKAGE_LIBCURL, BR2_PACKAGE_JSON_C, - BR2_PACKAGE_LIBWEBSOCKETS, and BR2_PACKAGE_LIBURIPARSER - to add support for the SWU forwarder. - - https://sbabic.github.io/swupdate - -if BR2_PACKAGE_SWUPDATE - -config BR2_PACKAGE_SWUPDATE_CONFIG - string "swupdate configuration file" - default "package/swupdate/swupdate.config" - help - Path to the swupdate configuration file. - - I you wish to use your own modified swupdate configuration - file specify the config file location with this option. - -config BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE - bool "install default website" - default y - help - Install the provided website to /var/www/swupdate. - - This is necessary if you want to run swupdate with the - embedded webserver and do not provide an own website to be - installed to /var/www/swupdate. -endif - -comment "swupdate needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/swupdate/swupdate.hash b/buildroot-2021.05/package/swupdate/swupdate.hash deleted file mode 100644 index 40f978d2..00000000 --- a/buildroot-2021.05/package/swupdate/swupdate.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated -sha256 132df2ff1ad41c7aabd0fbef6a23d28607cbd5cad52aab050c4822977a107486 swupdate-2020.04.tar.gz -sha256 43492b377cf2fb67942d1dd231146bd4e6578646ad13ef289297c9dd75cbc478 Licenses/Exceptions -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 Licenses/lgpl-2.1.txt -sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e Licenses/mit.txt diff --git a/buildroot-2021.05/package/swupdate/swupdate.mk b/buildroot-2021.05/package/swupdate/swupdate.mk deleted file mode 100644 index d96a0c2e..00000000 --- a/buildroot-2021.05/package/swupdate/swupdate.mk +++ /dev/null @@ -1,208 +0,0 @@ -################################################################################ -# -# swupdate -# -################################################################################ - -SWUPDATE_VERSION = 2020.04 -SWUPDATE_SITE = $(call github,sbabic,swupdate,$(SWUPDATE_VERSION)) -SWUPDATE_LICENSE = GPL-2.0+ with OpenSSL exception, LGPL-2.1+, MIT -SWUPDATE_LICENSE_FILES = Licenses/Exceptions Licenses/gpl-2.0.txt \ - Licenses/lgpl-2.1.txt Licenses/mit.txt - -# swupdate uses $CROSS-cc instead of $CROSS-gcc, which is not -# available in all external toolchains, and use CC for linking. Ensure -# TARGET_CC is used for both. -SWUPDATE_MAKE_ENV = CC="$(TARGET_CC)" LD="$(TARGET_CC)" - -# swupdate bundles its own version of mongoose (version 6.16) - -ifeq ($(BR2_PACKAGE_EFIBOOTMGR),y) -SWUPDATE_DEPENDENCIES += efibootmgr -SWUPDATE_MAKE_ENV += HAVE_LIBEBGENV=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBEBGENV=n -endif - -ifeq ($(BR2_PACKAGE_JSON_C),y) -SWUPDATE_DEPENDENCIES += json-c -SWUPDATE_MAKE_ENV += HAVE_JSON_C=y -else -SWUPDATE_MAKE_ENV += HAVE_JSON_C=n -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) -SWUPDATE_DEPENDENCIES += libarchive -SWUPDATE_MAKE_ENV += HAVE_LIBARCHIVE=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBARCHIVE=n -endif - -ifeq ($(BR2_PACKAGE_LIBCONFIG),y) -SWUPDATE_DEPENDENCIES += libconfig -SWUPDATE_MAKE_ENV += HAVE_LIBCONFIG=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBCONFIG=n -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -SWUPDATE_DEPENDENCIES += libcurl -SWUPDATE_MAKE_ENV += HAVE_LIBCURL=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBCURL=n -endif - -ifeq ($(BR2_PACKAGE_LIBGPIOD),y) -SWUPDATE_DEPENDENCIES += libgpiod -SWUPDATE_MAKE_ENV += HAVE_LIBGPIOD=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBGPIOD=n -endif - -ifeq ($(BR2_PACKAGE_LIBURIPARSER),y) -SWUPDATE_DEPENDENCIES += liburiparser -SWUPDATE_MAKE_ENV += HAVE_URIPARSER=y -else -SWUPDATE_MAKE_ENV += HAVE_URIPARSER=n -endif - -ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) -SWUPDATE_DEPENDENCIES += libwebsockets -SWUPDATE_MAKE_ENV += HAVE_LIBWEBSOCKETS=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBWEBSOCKETS=n -endif - -ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER):$(BR2_STATIC_LIBS),y:) -SWUPDATE_DEPENDENCIES += luainterpreter host-pkgconf -# defines the base name for the pkg-config file ("lua" or "luajit") -define SWUPDATE_SET_LUA_VERSION - $(call KCONFIG_SET_OPT,CONFIG_LUAPKG,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER)) -endef -SWUPDATE_MAKE_ENV += HAVE_LUA=y -else -SWUPDATE_MAKE_ENV += HAVE_LUA=n -endif - -ifeq ($(BR2_PACKAGE_MTD),y) -SWUPDATE_DEPENDENCIES += mtd -SWUPDATE_MAKE_ENV += HAVE_LIBMTD=y -SWUPDATE_MAKE_ENV += HAVE_LIBUBI=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBMTD=n -SWUPDATE_MAKE_ENV += HAVE_LIBUBI=n -endif - -# OpenSSL or mbedTLS -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SWUPDATE_DEPENDENCIES += openssl -SWUPDATE_MAKE_ENV += HAVE_LIBSSL=y -SWUPDATE_MAKE_ENV += HAVE_LIBCRYPTO=y -SWUPDATE_MAKE_ENV += HAVE_MBEDTLS=n -else -SWUPDATE_MAKE_ENV += HAVE_LIBSSL=n -SWUPDATE_MAKE_ENV += HAVE_LIBCRYPTO=n -ifeq ($(BR2_PACKAGE_MBEDTLS),y) -SWUPDATE_DEPENDENCIES += mbedtls -SWUPDATE_MAKE_ENV += HAVE_MBEDTLS=y -else -SWUPDATE_MAKE_ENV += HAVE_MBEDTLS=n -endif -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -SWUPDATE_DEPENDENCIES += systemd -endif - -ifeq ($(BR2_PACKAGE_LIBUBOOTENV),y) -SWUPDATE_DEPENDENCIES += libubootenv -SWUPDATE_MAKE_ENV += HAVE_LIBUBOOTENV=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBUBOOTENV=n -endif - -ifeq ($(BR2_PACKAGE_ZEROMQ),y) -SWUPDATE_DEPENDENCIES += zeromq -SWUPDATE_MAKE_ENV += HAVE_LIBZEROMQ=y -else -SWUPDATE_MAKE_ENV += HAVE_LIBZEROMQ=n -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -SWUPDATE_DEPENDENCIES += zlib -SWUPDATE_MAKE_ENV += HAVE_ZLIB=y -else -SWUPDATE_MAKE_ENV += HAVE_ZLIB=n -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -SWUPDATE_DEPENDENCIES += zstd -SWUPDATE_MAKE_ENV += HAVE_ZSTD=y -else -SWUPDATE_MAKE_ENV += HAVE_ZSTD=n -endif - -ifeq ($(BR2_PACKAGE_LIBRSYNC),y) -SWUPDATE_DEPENDENCIES += librsync -endif - -SWUPDATE_BUILD_CONFIG = $(@D)/.config - -SWUPDATE_KCONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_SWUPDATE_CONFIG)) -SWUPDATE_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig - -ifeq ($(BR2_STATIC_LIBS),y) -define SWUPDATE_PREFER_STATIC - $(call KCONFIG_ENABLE_OPT,CONFIG_STATIC) -endef -endif - -SWUPDATE_MAKE_OPTS = \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - CONFIG_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ - CONFIG_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" - -define SWUPDATE_KCONFIG_FIXUP_CMDS - $(SWUPDATE_PREFER_STATIC) - $(SWUPDATE_SET_LUA_VERSION) -endef - -define SWUPDATE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(SWUPDATE_MAKE_ENV) $(MAKE) $(SWUPDATE_MAKE_OPTS) -C $(@D) -endef - -define SWUPDATE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/swupdate $(TARGET_DIR)/usr/bin/swupdate - $(if $(BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE), \ - mkdir -p $(TARGET_DIR)/var/www/swupdate; \ - cp -dpfr $(@D)/examples/www/v2/* $(TARGET_DIR)/var/www/swupdate) -endef - -# Checks to give errors that the user can understand -# Must be before we call to kconfig-package -ifeq ($(BR2_PACKAGE_SWUPDATE)$(BR_BUILDING),yy) -ifeq ($(call qstrip,$(BR2_PACKAGE_SWUPDATE_CONFIG)),) -$(error No Swupdate configuration file specified, check your BR2_PACKAGE_SWUPDATE_CONFIG setting) -endif -endif - -ifeq ($(BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE),y) -define SWUPDATE_INSTALL_COMMON - mkdir -p $(TARGET_DIR)/etc/swupdate/conf.d \ - $(TARGET_DIR)/usr/lib/swupdate/conf.d - $(INSTALL) -D -m 755 package/swupdate/swupdate.sh \ - $(TARGET_DIR)/usr/lib/swupdate/swupdate.sh -endef -define SWUPDATE_INSTALL_INIT_SYSTEMD - $(SWUPDATE_INSTALL_COMMON) - $(INSTALL) -D -m 644 package/swupdate/swupdate.service \ - $(TARGET_DIR)/usr/lib/systemd/system/swupdate.service -endef -define SWUPDATE_INSTALL_INIT_SYSV - $(SWUPDATE_INSTALL_COMMON) - $(INSTALL) -D -m 755 package/swupdate/S80swupdate \ - $(TARGET_DIR)/etc/init.d/S80swupdate -endef -endif - -$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/package/sylpheed/sylpheed.mk b/buildroot-2021.05/package/sylpheed/sylpheed.mk deleted file mode 100644 index 0453fba5..00000000 --- a/buildroot-2021.05/package/sylpheed/sylpheed.mk +++ /dev/null @@ -1,33 +0,0 @@ -################################################################################ -# -# sylpheed -# -################################################################################ - -SYLPHEED_VERSION_MAJOR = 3.7 -SYLPHEED_VERSION = $(SYLPHEED_VERSION_MAJOR).0 -SYLPHEED_SOURCE = sylpheed-$(SYLPHEED_VERSION).tar.xz -SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v$(SYLPHEED_VERSION_MAJOR) -SYLPHEED_LICENSE = GPL-2.0+ (executables), LGPL-2.1+ (library, attachment plugin) -SYLPHEED_LICENSE_FILES = COPYING COPYING.LIB -SYLPHEED_CONF_OPTS = --disable-gtkspell --disable-gpgme -SYLPHEED_DEPENDENCIES = host-pkgconf libgtk2 - -# Remove the -I$(includedir) from the Makefiles -# because it refers to the host /usr/include. -define SYLPHEED_PRECONFIGURE - for i in $$(find $(@D) -name "Makefile*"); do \ - sed -i 's:-I$$(includedir)::g' $$i; \ - done -endef - -SYLPHEED_PRE_CONFIGURE_HOOKS += SYLPHEED_PRECONFIGURE - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SYLPHEED_DEPENDENCIES += openssl -SYLPHEED_CONF_OPTS += --enable-ssl -else -SYLPHEED_CONF_OPTS += --disable-ssl -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sysdig/Config.in b/buildroot-2021.05/package/sysdig/Config.in deleted file mode 100644 index 7d3c5703..00000000 --- a/buildroot-2021.05/package/sysdig/Config.in +++ /dev/null @@ -1,33 +0,0 @@ -config BR2_PACKAGE_SYSDIG - bool "sysdig" - depends on BR2_LINUX_KERNEL - depends on BR2_INSTALL_LIBSTDCPP # libjson - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq - depends on !BR2_STATIC_LIBS # elfutils - depends on BR2_USE_WCHAR # elfutils - depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils - depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 - select BR2_PACKAGE_ELFUTILS - select BR2_PACKAGE_JQ - select BR2_PACKAGE_JSONCPP - select BR2_PACKAGE_LIBB64 - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_ZLIB - help - Sysdig is open source, system-level exploration: - capture system state and activity from a running Linux - instance, then save, filter and analyze. - Think of it as strace + tcpdump + lsof + awesome sauce. - With a little Lua cherry on top. - - https://github.com/draios/sysdig/wiki - -comment "sysdig needs a glibc or uclibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" - depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ - || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) \ - || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/buildroot-2021.05/package/sysklogd/sysklogd.hash b/buildroot-2021.05/package/sysklogd/sysklogd.hash deleted file mode 100644 index 6d3ba8f9..00000000 --- a/buildroot-2021.05/package/sysklogd/sysklogd.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Upstream .md5 and .sha256 from GitHub -md5 2c6749c49f52b8c5dad18e9a9315e7dd sysklogd-2.2.3.tar.gz -sha256 e7ea09c15511a63c430e84f65ce3bf55a0386ee419ab52e9341c4a9fabae59ad sysklogd-2.2.3.tar.gz - -# Locally calculated -sha256 7a71d7603a7c4456df441463e54da35acf151c1be0879246de63544f1f34f477 LICENSE diff --git a/buildroot-2021.05/package/sysklogd/sysklogd.mk b/buildroot-2021.05/package/sysklogd/sysklogd.mk deleted file mode 100644 index 7c5de957..00000000 --- a/buildroot-2021.05/package/sysklogd/sysklogd.mk +++ /dev/null @@ -1,44 +0,0 @@ -################################################################################ -# -# sysklogd -# -################################################################################ - -SYSKLOGD_VERSION = 2.2.3 -SYSKLOGD_SITE = https://github.com/troglobit/sysklogd/releases/download/v$(SYSKLOGD_VERSION) -SYSKLOGD_LICENSE = BSD-3-Clause -SYSKLOGD_LICENSE_FILES = LICENSE -SYSKLOGD_CPE_ID_VENDOR = sysklogd_project - -# Busybox install logger in /usr/bin, and syslogd in /sbin, so install in -# the same locations so that busybox does not install its applets in there. -SYSKLOGD_CONF_OPTS = \ - --bindir=/usr/bin \ - --sbindir=/sbin \ - --with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY) - -# Disable/Enable utilities -ifeq ($(BR2_PACKAGE_SYSKLOGD_LOGGER),y) -SYSKLOGD_CONF_OPTS += --with-logger -else -SYSKLOGD_CONF_OPTS += --without-logger -endif - -define SYSKLOGD_INSTALL_SAMPLE_CONFIG - $(INSTALL) -D -m 0644 $(@D)/syslog.conf \ - $(TARGET_DIR)/etc/syslog.conf -endef - -SYSKLOGD_POST_INSTALL_TARGET_HOOKS += SYSKLOGD_INSTALL_SAMPLE_CONFIG - -define SYSKLOGD_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/sysklogd/S01syslogd \ - $(TARGET_DIR)/etc/init.d/S01syslogd -endef - -define SYSKLOGD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(SYSKLOGD_PKGDIR)/syslogd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/syslogd.service -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/syslog-ng/syslog-ng.conf b/buildroot-2021.05/package/syslog-ng/syslog-ng.conf deleted file mode 100644 index 414e932f..00000000 --- a/buildroot-2021.05/package/syslog-ng/syslog-ng.conf +++ /dev/null @@ -1,16 +0,0 @@ -@version: 3.31 - -source s_sys { - file("/proc/kmsg" program_override("kernel")); - unix-stream ("/dev/log"); - internal(); -}; - -destination d_all { - file("/var/log/messages"); -}; - -log { - source(s_sys); - destination(d_all); -}; diff --git a/buildroot-2021.05/package/syslog-ng/syslog-ng.hash b/buildroot-2021.05/package/syslog-ng/syslog-ng.hash deleted file mode 100644 index 812655cd..00000000 --- a/buildroot-2021.05/package/syslog-ng/syslog-ng.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally computed -sha256 2eeb8e0dbbcb556fdd4e50bc9f29bc8c66c9b153026f87caa7567bd3139c186a syslog-ng-3.31.2.tar.gz -sha256 e912cf1e1c09b81d61c0154eb6c179588622c31ad07bfb4a90c612d07ff09d9b COPYING -sha256 ce3324c9f22299cfc7c281e5a6ab40fbe9c2ea1a67cee87226cb8cd39db1e1d2 GPL.txt -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LGPL.txt diff --git a/buildroot-2021.05/package/syslog-ng/syslog-ng.mk b/buildroot-2021.05/package/syslog-ng/syslog-ng.mk deleted file mode 100644 index b9d54954..00000000 --- a/buildroot-2021.05/package/syslog-ng/syslog-ng.mk +++ /dev/null @@ -1,135 +0,0 @@ -################################################################################ -# -# syslog-ng -# -################################################################################ - -# When updating the version, please check at runtime if the version in -# syslog-ng.conf header needs to be updated -SYSLOG_NG_VERSION = 3.31.2 -SYSLOG_NG_SITE = https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$(SYSLOG_NG_VERSION) -SYSLOG_NG_LICENSE = LGPL-2.1+ (syslog-ng core), GPL-2.0+ (modules) -SYSLOG_NG_LICENSE_FILES = COPYING GPL.txt LGPL.txt -SYSLOG_NG_CPE_ID_VENDOR = oneidentity -SYSLOG_NG_DEPENDENCIES = host-bison host-flex host-pkgconf \ - libglib2 openssl pcre -# We're patching configure.ac -SYSLOG_NG_AUTORECONF = YES -SYSLOG_NG_CONF_OPTS = --disable-manpages --localstatedir=/var/run \ - --disable-java --disable-java-modules --disable-mongodb - -ifeq ($(BR2_PACKAGE_GEOIP),y) -SYSLOG_NG_DEPENDENCIES += geoip -SYSLOG_NG_CONF_OPTS += --enable-geoip -else -SYSLOG_NG_CONF_OPTS += --disable-geoip -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -SYSLOG_NG_DEPENDENCIES += libcap -SYSLOG_NG_CONF_OPTS += --enable-linux-caps -else -SYSLOG_NG_CONF_OPTS += --disable-linux-caps -endif - -ifeq ($(BR2_PACKAGE_PYTHON),y) -SYSLOG_NG_DEPENDENCIES += python -SYSLOG_NG_CONF_OPTS += \ - --enable-python \ - --with-python=$(PYTHON_VERSION_MAJOR) -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -SYSLOG_NG_DEPENDENCIES += python3 -SYSLOG_NG_CONF_OPTS += \ - --enable-python \ - --with-python=$(PYTHON3_VERSION_MAJOR) -else -SYSLOG_NG_CONF_OPTS += --disable-python -endif - -ifeq ($(BR2_PACKAGE_LIBESMTP),y) -SYSLOG_NG_DEPENDENCIES += libesmtp -SYSLOG_NG_CONF_OPTS += --enable-smtp -SYSLOG_NG_CONF_OPTS += --with-libesmtp="$(STAGING_DIR)/usr" -else -SYSLOG_NG_CONF_OPTS += --disable-smtp -endif - -ifeq ($(BR2_PACKAGE_JSON_C),y) -SYSLOG_NG_DEPENDENCIES += json-c -SYSLOG_NG_CONF_OPTS += --enable-json -else -SYSLOG_NG_CONF_OPTS += --disable-json -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) -SYSLOG_NG_DEPENDENCIES += util-linux -endif - -ifeq ($(BR2_PACKAGE_LIBNET),y) -SYSLOG_NG_DEPENDENCIES += libnet -SYSLOG_NG_CONF_OPTS += \ - --with-libnet=$(STAGING_DIR)/usr/bin \ - --enable-spoof-source -else -SYSLOG_NG_CONF_OPTS += --disable-spoof-source -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -SYSLOG_NG_DEPENDENCIES += libcurl -SYSLOG_NG_CONF_OPTS += --enable-http -SYSLOG_NG_CONF_OPTS += --with-libcurl="$(STAGING_DIR)/usr" -else -SYSLOG_NG_CONF_OPTS += --disable-http -endif - -ifeq ($(BR2_PACKAGE_RABBITMQ_C),y) -SYSLOG_NG_DEPENDENCIES += rabbitmq-c -SYSLOG_NG_CONF_OPTS += --enable-amqp -else -SYSLOG_NG_CONF_OPTS += --disable-amqp -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -SYSLOG_NG_DEPENDENCIES += systemd -SYSLOG_NG_CONF_OPTS += \ - --enable-systemd \ - --with-systemdsystemunitdir=/usr/lib/systemd/system -else -SYSLOG_NG_CONF_OPTS += --disable-systemd -endif - -ifeq ($(BR2_PACKAGE_NETSNMP),y) -SYSLOG_NG_DEPENDENCIES += netsnmp -SYSLOG_NG_CONF_OPTS += --enable-afsnmp -SYSLOG_NG_CONF_OPTS += --with-net-snmp="$(STAGING_DIR)/usr/bin" -else -SYSLOG_NG_CONF_OPTS += --disable-afsnmp -endif - -define SYSLOG_NG_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/syslog-ng/S01syslog-ng \ - $(TARGET_DIR)/etc/init.d/S01syslog-ng -endef - -# By default syslog-ng installs a .service that requires a config file at -# /etc/default, so provide one with the default values. -define SYSLOG_NG_INSTALL_INIT_SYSTEMD - mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/syslog-ng@.service.d - printf '[Install]\nDefaultInstance=default\n' \ - >$(TARGET_DIR)/usr/lib/systemd/system/syslog-ng@.service.d/buildroot-default-instance.conf -endef - -# By default syslog-ng installs a number of sample configuration -# files. Some of these rely on optional features being -# enabled. Because of this buildroot uninstalls the shipped config -# files and provides a simplified configuration. -define SYSLOG_NG_FIXUP_CONFIG - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ - DESTDIR=$(TARGET_DIR) scl-uninstall-local - $(INSTALL) -D -m 0644 package/syslog-ng/syslog-ng.conf \ - $(TARGET_DIR)/etc/syslog-ng.conf -endef - -SYSLOG_NG_POST_INSTALL_TARGET_HOOKS = SYSLOG_NG_FIXUP_CONFIG - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sysrepo/Config.in b/buildroot-2021.05/package/sysrepo/Config.in deleted file mode 100644 index 8de141ef..00000000 --- a/buildroot-2021.05/package/sysrepo/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -config BR2_PACKAGE_SYSREPO - bool "sysrepo" - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - select BR2_PACKAGE_LIBYANG - select BR2_PACKAGE_PCRE - select BR2_PACKAGE_PCRE_UCP - help - Sysrepo is an YANG-based configuration and operational state - data store for Unix/Linux applications. - - https://github.com/sysrepo - -if BR2_PACKAGE_SYSREPO - -config BR2_PACKAGE_SYSREPO_EXAMPLES - bool "enable examples" - help - Enable sysrepo examples. - -endif - -comment "sysrepo needs a toolchain w/ C++, NPTL, dynamic library, gcc >= 4.8" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_TOOLCHAIN_HAS_THREADS_NPTL diff --git a/buildroot-2021.05/package/sysrepo/sysrepo.hash b/buildroot-2021.05/package/sysrepo/sysrepo.hash deleted file mode 100644 index 693a2bbf..00000000 --- a/buildroot-2021.05/package/sysrepo/sysrepo.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 2cc7537a03f48dc3c955436e1e0ed077bc3b31a755d6979d24ca42e1187fce01 sysrepo-1.4.122.tar.gz -sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE diff --git a/buildroot-2021.05/package/sysrepo/sysrepo.mk b/buildroot-2021.05/package/sysrepo/sysrepo.mk deleted file mode 100644 index dbc7b16b..00000000 --- a/buildroot-2021.05/package/sysrepo/sysrepo.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# sysrepo -# -################################################################################ - -SYSREPO_VERSION = 1.4.122 -SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION)) -SYSREPO_INSTALL_STAGING = YES -SYSREPO_LICENSE = Apache-2.0 -SYSREPO_LICENSE_FILES = LICENSE -SYSREPO_DEPENDENCIES = libyang pcre host-sysrepo -HOST_SYSREPO_DEPENDENCIES = host-libyang host-pcre - -SYSREPO_CONF_OPTS = \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_SYSREPO_EXAMPLES),ON,OFF) - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -SYSREPO_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic -endif - -define SYSREPO_INSTALL_INIT_SYSV - $(INSTALL) -m 755 -D package/sysrepo/S51sysrepo-plugind \ - $(TARGET_DIR)/etc/init.d/S51sysrepo-plugind -endef - -HOST_SYSREPO_CONF_OPTS = \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_EXAMPLES=OFF \ - -DREPO_PATH=$(TARGET_DIR)/etc/sysrepo - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/sysstat/sysstat.mk b/buildroot-2021.05/package/sysstat/sysstat.mk deleted file mode 100644 index 8ec49668..00000000 --- a/buildroot-2021.05/package/sysstat/sysstat.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# sysstat -# -################################################################################ - -SYSSTAT_VERSION = 12.4.2 -SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.xz -SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard -SYSSTAT_CONF_OPTS = --disable-file-attr -SYSSTAT_DEPENDENCIES = host-gettext $(TARGET_NLS_DEPENDENCIES) -SYSSTAT_LICENSE = GPL-2.0+ -SYSSTAT_LICENSE_FILES = COPYING -SYSSTAT_CPE_ID_VENDOR = sysstat_project - -ifeq ($(BR2_PACKAGE_LM_SENSORS),y) -SYSSTAT_DEPENDENCIES += lm-sensors -SYSSTAT_CONF_OPTS += --enable-sensors -else -SYSSTAT_CONF_OPTS += --disable-sensors -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/systemd/Config.in b/buildroot-2021.05/package/systemd/Config.in deleted file mode 100644 index d6583082..00000000 --- a/buildroot-2021.05/package/systemd/Config.in +++ /dev/null @@ -1,490 +0,0 @@ -config BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS - bool - # see src/basic/architecture.h - default y if BR2_arc - default y if BR2_aarch64 || BR2_aarch64_be - default y if BR2_arm || BR2_armeb - default y if BR2_i386 || BR2_x86_64 - default y if BR2_m68k - default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le - default y if BR2_nios2 - default y if BR2_riscv - default y if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb - default y if BR2_sparc || BR2_sparc64 - default y if BR2_s390x - -menuconfig BR2_PACKAGE_SYSTEMD - bool "systemd" - depends on BR2_INIT_SYSTEMD - depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS # kmod - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on BR2_TOOLCHAIN_HAS_SSP - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 - depends on BR2_HOST_GCC_AT_LEAST_5 # host-systemd - select BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_DBUS # runtime dependency only - select BR2_PACKAGE_LIBCAP - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBS - select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - select BR2_PACKAGE_UTIL_LINUX_AGETTY - select BR2_PACKAGE_UTIL_LINUX_MOUNT - select BR2_PACKAGE_UTIL_LINUX_FSCK - select BR2_PACKAGE_KMOD - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools - select BR2_PACKAGE_KMOD_TOOLS - select BR2_TARGET_TZ_INFO - select BR2_NEEDS_HOST_UTF8_LOCALE - select BR2_PACKAGE_HOST_SYSTEMD # for systemctl preset-all, during target-finalize - help - systemd is a system and service manager for Linux, - compatible with SysV and LSB init scripts. systemd provides - aggressive parallelization capabilities, uses socket and - D-Bus activation for starting services, offers on-demand - starting of daemons, keeps track of processes using Linux - cgroups, supports snapshotting and restoring of the system - state, maintains mount and automount points and implements - an elaborate transactional dependency-based service control - logic. It can work as a drop-in replacement for sysvinit. - - Systemd requires a Linux kernel >= 3.0 with the following - options enabled: - - - CONFIG_CGROUPS - - CONFIG_INOTIFY_USER - - CONFIG_FHANDLE - - CONFIG_AUTOFS4_FS - - CONFIG_TMPFS_POSIX_ACL - - CONFIG_TMPFS_XATTR - - These options will be automatically enabled by Buildroot if - it is responsible for building the kernel. Otherwise, if you - are building your kernel outside of Buildroot, make sure - these options are enabled. - - Systemd also provides udev, the userspace device daemon. - - The selection of other packages will enable some features: - - - acl package will add support for multi-seat. - - xz and/or l4 packages will add compression support in - journal and coredump. - - libcurl package will add support for systemd-journal-upload. - - libgcrypt package will add support for journal sealing and - DNSSEC verification in resolved. - - Notice that systemd selects the fsck wrapper from util-linux - but no particular fsck. is selected. You must choose - the apropriate ones (e.g. e2fsck, from the e2fsprogs - package) according to the system configuration. - - http://freedesktop.org/wiki/Software/systemd - -if BR2_PACKAGE_SYSTEMD - -config BR2_PACKAGE_PROVIDES_UDEV - default "systemd" - -config BR2_PACKAGE_SYSTEMD_BOOT - bool "systemd-boot" - depends on BR2_i386 || BR2_x86_64 - select BR2_PACKAGE_GNU_EFI - help - systemd-boot is a simple UEFI boot manager which executes - configured EFI images. The default entry is selected by a - configured pattern (glob) or an on-screen menu. - - systemd-boot operates on the EFI System Partition (ESP) - only. Configuration file fragments, kernels, initrds, other - EFI images need to reside on the ESP. Linux kernels need to - be built with CONFIG_EFI_STUB to be able to be directly - executed as an EFI image. - - See the Grub2 help text for details on preparing an EFI - capable disk image using systemd-boot: the instructions are - exactly the same, except that the systemd-boot configuration - files will be located in /loader/ inside the EFI partition. - - https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/ - -config BR2_PACKAGE_SYSTEMD_INITRD - bool "Services for booting from initrd" - help - Install various services that are only useful if systemd is - run from an initrd. - -config BR2_PACKAGE_SYSTEMD_KERNELINSTALL - bool "install kernel-install and related files" - help - kernel-install is used to install and remove kernel and - initramfs images to and from the boot loader partition. - The boot loader partition will usually be one of - /boot, /efi, or /boot/efi. - -config BR2_PACKAGE_SYSTEMD_ANALYZE - bool "systemd-analyze" - help - systemd-analyze may be used to determine system boot-up - performance statistics and retrieve other state and tracing - information from the system and service manager, and to - verify the correctness of unit files. - It is also used to access special functions useful for - advanced system manager debugging. - -config BR2_PACKAGE_SYSTEMD_BOOT_EFI_ARCH - string - default "ia32" if BR2_i386 - default "x64" if BR2_x86_64 - depends on BR2_PACKAGE_SYSTEMD_BOOT - -config BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE - bool "enable journal remote tools" - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBMICROHTTPD - help - journal remote functionality adds three tools: - - systemd-journal-gatewayd serves journal events over the - network. - - systemd-journal-remote is a command to receive serialized - journal events and store them to journal files. - - systemd-journal-upload will upload journal entries to the - URL specified with --url=. - - https://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html - https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.service.html - https://www.freedesktop.org/software/systemd/man/systemd-journal-upload.html - -config BR2_PACKAGE_SYSTEMD_BACKLIGHT - bool "enable backlight support" - help - systemd-backlight is a service that restores the display - backlight brightness at early boot and saves it at shutdown. - - http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html - -config BR2_PACKAGE_SYSTEMD_BINFMT - bool "enable binfmt tool" - help - systemd-binfmt is an early boot service that registers - additional binary formats for executables in the kernel. - - http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html - -config BR2_PACKAGE_SYSTEMD_COREDUMP - bool "enable coredump hook" - help - systemd-coredump can be used as a helper binary by the - kernel when a user space program receives a fatal signal and - dumps core. - - http://www.freedesktop.org/software/systemd/man/systemd-coredump.html - -config BR2_PACKAGE_SYSTEMD_PSTORE - bool "enable pstore support" - default y - help - When this features is enabled, additional tools and services - are built to support archiving contents of the persistent - storage filesytem. - - https://www.freedesktop.org/software/systemd/man/systemd-pstore.html - -config BR2_PACKAGE_SYSTEMD_FIRSTBOOT - bool "enable firstboot support" - help - systemd-firstboot initializes the most basic system settings - interactively on the first boot. - - http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html - -config BR2_PACKAGE_SYSTEMD_HIBERNATE - bool "enable hibernation support" - select BR2_PACKAGE_SYSTEMD_INITRD - help - When this features is enabled, additional tools and services - are built to support suspending and resuming the system. - - http://www.freedesktop.org/software/systemd/man/systemd-sleep.html - -config BR2_PACKAGE_SYSTEMD_HOMED - bool "enable home daemon" - depends on BR2_TOOLCHAIN_HAS_THREADS # cryptsetup -> lvm2 - depends on BR2_USE_MMU # cryptsetup -> lvm2 - depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # fscrypt_key - select BR2_PACKAGE_CRYPTSETUP - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_UTIL_LINUX_LIBFDISK - help - systemd-homed is a system service that may be used to create, - remove, change or inspect home directories. - - https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html - -comment "homed support needs a toolchain w/ threads, dynamic library, kernel headers >= 4.12" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 - -config BR2_PACKAGE_SYSTEMD_HOSTNAMED - bool "enable hostname daemon" - default y - help - systemd-hostnamed is a system service that may be used as a - mechanism to change the system's hostname. - - http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html - -config BR2_PACKAGE_SYSTEMD_HWDB - bool "enable hwdb installation" - default y - help - Enables hardware database installation to /usr/lib/udev/hwdb.d - - Disabling this option improves first boot time (or every boot - time in case of initramfs images) and saves several MB space. - - https://www.freedesktop.org/software/systemd/man/hwdb.html - -config BR2_PACKAGE_SYSTEMD_IMPORTD - bool "enable import daemon" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_XZ - select BR2_PACKAGE_ZLIB - help - systemd-importd is a system service that manages virtual - machine and container images for systemd-machined and - machinectl. - - http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands - -config BR2_PACKAGE_SYSTEMD_LOCALED - bool "enable locale daemon" - help - systemd-localed is a system service that may be used as - mechanism to change the system locale settings, as well as - the console key mapping and default X11 key mapping. - - http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html - -config BR2_PACKAGE_SYSTEMD_LOGIND - bool "enable login daemon" - help - systemd-logind is a system service that manages user logins. - - http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html - -config BR2_PACKAGE_SYSTEMD_MACHINED - bool "enable machine daemon" - help - systemd-machined is a system service that keeps track of - virtual machines and containers, and processes belonging to - them. - - http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html - -config BR2_PACKAGE_SYSTEMD_MYHOSTNAME - bool "enable myhostname NSS plugin" - default y - help - nss-myhostname is a plug-in module for the GNU Name Service - Switch (NSS) functionality of the GNU C Library (glibc), - primarily providing hostname resolution for the locally - configured system hostname as returned by gethostname(2). - - http://www.freedesktop.org/software/systemd/man/nss-myhostname.html - -config BR2_PACKAGE_SYSTEMD_NETWORKD - bool "enable network manager" - default y - help - systemd-networkd is a system service that manages networks. - It detects and configures network devices as they appear, as - well as creating virtual network devices. - - This simple network configuration solution is an alternative - to dhcpcd or ISC dhcp. - - http://www.freedesktop.org/software/systemd/man/systemd-networkd.html - -config BR2_PACKAGE_SYSTEMD_POLKIT - bool "enable polkit support" - depends on BR2_HOST_GCC_AT_LEAST_4_9 # polkit - depends on BR2_INSTALL_LIBSTDCPP # polkit - depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS # polkit - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # polkit - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # polkit - depends on BR2_USE_WCHAR # libglib2 - select BR2_PACKAGE_POLKIT - help - If enabled, systemd is built with polkit support and policy - files for its services are generated and installed. It is - useful for allowing unprivileged processes to speak to - systemd's many privileged processes. - - http://wiki.freedesktop.org/www/Software/polkit/ - -comment "polkit support needs a toolchain with C++, wchar, NPTL, gcc >= 4.9" - depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS - depends on !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_HOST_GCC_AT_LEAST_4_9 || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_USE_WCHAR - -config BR2_PACKAGE_SYSTEMD_PORTABLED - bool "enable portable services" - help - Portable services are systemd services that can be dynamically - attached and detached from the system. - - These services must come with their own root directory which - they are bound to through an automatically generated drop-in. - - They also have restrictions applied by the host system in the - form of profiles. - - This functionality is provided by the system service - systemd-portabled along with the corresponding CLI - portablectl. - - https://systemd.io/PORTABLE_SERVICES/ - -config BR2_PACKAGE_SYSTEMD_QUOTACHECK - bool "enable quotacheck tools" - help - systemd-quotacheck is a service responsible for file system - quota checks. It is run once at boot after all necessary - file systems are mounted. It is pulled in only if at least - one file system has quotas enabled. - - http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html - -config BR2_PACKAGE_SYSTEMD_RANDOMSEED - bool "enable random-seed support" - help - systemd-random-seed is a service that restores the random - seed of the system at early boot and saves it at - shutdown. Saving/restoring the random seed across boots - increases the amount of available entropy early at boot. - - http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html - -config BR2_PACKAGE_SYSTEMD_REPART - bool "enable repart support" - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_UTIL_LINUX_LIBFDISK - help - systemd-repart grows and adds partitions to a partition table, - based on the configuration files described in repart.d. - - https://www.freedesktop.org/software/systemd/man/systemd-repart.html - -config BR2_PACKAGE_SYSTEMD_RESOLVED - bool "enable resolve daemon" - default y - help - systemd-resolved is a system service that provides network - name resolution to local applications. It implements a - caching and validating DNS/DNSSEC stub resolver, as well as - an LLMNR resolver and responder. - - http://www.freedesktop.org/software/systemd/man/systemd-resolved.html - -config BR2_PACKAGE_SYSTEMD_RFKILL - bool "enable rfkill tools" - help - systemd-rfkill is a service that restores the RF kill switch - state at early boot and saves it at shutdown. - - http://www.freedesktop.org/software/systemd/man/systemd-rfkill@.service.html - -config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT - bool "enable SMACK support" - select BR2_PACKAGE_ATTR - select BR2_PACKAGE_SMACK - help - Enable support for SMACK, the Simple Mandatory Access - Control Kernel, a minimal approach to Access Control - implemented as a kernel LSM. - - This feature requires a kernel >= 3.8. - - When this feature is enabled, Systemd mounts smackfs and - manages security labels for sockets. - -config BR2_PACKAGE_SYSTEMD_SYSUSERS - bool "enable sysusers support" - help - systemd-sysusers creates system users and groups, based on - the file format and location specified in sysusers.d(5). - - http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html - -config BR2_PACKAGE_SYSTEMD_TIMEDATED - bool "enable timedate daemon" - default y - help - systemd-timedated is a system service that may be used as a - mechanism to change the system clock and timezone, as well - as to enable/disable NTP time synchronization. - - http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html - -config BR2_PACKAGE_SYSTEMD_TIMESYNCD - bool "enable timesync daemon" - default y - help - systemd-timesyncd is a service that may be used to - synchronize the local system clock with a Network Time - Protocol server. - - This simple NTP solution is an alternative to sntp/ntpd from - the ntp package. - - http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html - -config BR2_PACKAGE_SYSTEMD_TMPFILES - bool "enable tmpfiles support" - default y - help - systemd-tmpfiles creates, deletes, and cleans up volatile - and temporary files and directories, based on the - configuration file format and location specified in - tmpfiles.d(5). - - http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html - -config BR2_PACKAGE_SYSTEMD_USERDB - bool "enable userdb daemon" - help - systemd-userdbd is a system service that multiplexes - user/group lookups to all local services that provide JSON - user/group record definitions to the system. In addition it - synthesizes JSON user/group records from classic UNIX/glibc - NSS user/group records in order to provide full backwards - compatibility. - - https://www.freedesktop.org/software/systemd/man/systemd-userdbd.service.html - -config BR2_PACKAGE_SYSTEMD_VCONSOLE - bool "enable vconsole tool" - default y - help - systemd-vconsole-setup is an early boot service that - configures the virtual console font and console keymap. - - http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html - -endif diff --git a/buildroot-2021.05/package/systemd/systemd.hash b/buildroot-2021.05/package/systemd/systemd.hash deleted file mode 100644 index 20cd9222..00000000 --- a/buildroot-2021.05/package/systemd/systemd.hash +++ /dev/null @@ -1,6 +0,0 @@ -# sha256 locally computed -sha256 2869986e219a8dfc96cc0dffac66e0c13bb70a89e16b85a3948876c146cfa3e0 systemd-247.3.tar.gz -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 -sha256 6f22d19d35b00f35e0444e0bc9139e6d3bdf7277978f89c4e175e37b18c43f3d README -sha256 83bb6bd9ccd2cf5230cb1807ed16258289768dc4d9cb80069a814e04415a1275 tools/chromiumos/LICENSE diff --git a/buildroot-2021.05/package/systemd/systemd.mk b/buildroot-2021.05/package/systemd/systemd.mk deleted file mode 100644 index 74c561e6..00000000 --- a/buildroot-2021.05/package/systemd/systemd.mk +++ /dev/null @@ -1,744 +0,0 @@ -################################################################################ -# -# systemd -# -################################################################################ - -SYSTEMD_VERSION = 247.3 -SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) -SYSTEMD_LICENSE = LGPL-2.1+, GPL-2.0+ (udev), Public Domain (few source files, see README), BSD-3-Clause (tools/chromiumos) -SYSTEMD_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1 README tools/chromiumos/LICENSE -SYSTEMD_CPE_ID_VENDOR = freedesktop -SYSTEMD_INSTALL_STAGING = YES -SYSTEMD_DEPENDENCIES = \ - $(BR2_COREUTILS_HOST_DEPENDENCY) \ - $(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \ - host-gperf \ - kmod \ - libcap \ - util-linux-libs \ - $(TARGET_NLS_DEPENDENCIES) - -SYSTEMD_SELINUX_MODULES = systemd udev - -SYSTEMD_PROVIDES = udev - -SYSTEMD_CONF_OPTS += \ - -Ddefault-hierarchy=hybrid \ - -Didn=true \ - -Dima=false \ - -Dkexec-path=/usr/sbin/kexec \ - -Dkmod-path=/usr/bin/kmod \ - -Dldconfig=false \ - -Dloadkeys-path=/usr/bin/loadkeys \ - -Dman=false \ - -Dmount-path=/usr/bin/mount \ - -Dmode=release \ - -Dnss-systemd=true \ - -Dquotacheck-path=/usr/sbin/quotacheck \ - -Dquotaon-path=/usr/sbin/quotaon \ - -Drootlibdir='/usr/lib' \ - -Dsetfont-path=/usr/bin/setfont \ - -Dsplit-bin=true \ - -Dsplit-usr=false \ - -Dsulogin-path=/usr/sbin/sulogin \ - -Dsystem-gid-max=999 \ - -Dsystem-uid-max=999 \ - -Dsysvinit-path= \ - -Dsysvrcnd-path= \ - -Dtelinit-path= \ - -Dtests=false \ - -Dumount-path=/usr/bin/umount \ - -Dutmp=false - -ifeq ($(BR2_PACKAGE_ACL),y) -SYSTEMD_DEPENDENCIES += acl -SYSTEMD_CONF_OPTS += -Dacl=true -else -SYSTEMD_CONF_OPTS += -Dacl=false -endif - -ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) -SYSTEMD_DEPENDENCIES += libapparmor -SYSTEMD_CONF_OPTS += -Dapparmor=true -else -SYSTEMD_CONF_OPTS += -Dapparmor=false -endif - -ifeq ($(BR2_PACKAGE_AUDIT),y) -SYSTEMD_DEPENDENCIES += audit -SYSTEMD_CONF_OPTS += -Daudit=true -else -SYSTEMD_CONF_OPTS += -Daudit=false -endif - -ifeq ($(BR2_PACKAGE_CRYPTSETUP),y) -SYSTEMD_DEPENDENCIES += cryptsetup -SYSTEMD_CONF_OPTS += -Dlibcryptsetup=true -else -SYSTEMD_CONF_OPTS += -Dlibcryptsetup=false -endif - -ifeq ($(BR2_PACKAGE_ELFUTILS),y) -SYSTEMD_DEPENDENCIES += elfutils -SYSTEMD_CONF_OPTS += -Delfutils=true -else -SYSTEMD_CONF_OPTS += -Delfutils=false -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -SYSTEMD_DEPENDENCIES += gnutls -SYSTEMD_CONF_OPTS += -Dgnutls=true -else -SYSTEMD_CONF_OPTS += -Dgnutls=false -endif - -ifeq ($(BR2_PACKAGE_IPTABLES),y) -SYSTEMD_DEPENDENCIES += iptables -SYSTEMD_CONF_OPTS += -Dlibiptc=true -else -SYSTEMD_CONF_OPTS += -Dlibiptc=false -endif - -# Both options can't be selected at the same time so prefer libidn2 -ifeq ($(BR2_PACKAGE_LIBIDN2),y) -SYSTEMD_DEPENDENCIES += libidn2 -SYSTEMD_CONF_OPTS += -Dlibidn2=true -Dlibidn=false -else ifeq ($(BR2_PACKAGE_LIBIDN),y) -SYSTEMD_DEPENDENCIES += libidn -SYSTEMD_CONF_OPTS += -Dlibidn=true -Dlibidn2=false -else -SYSTEMD_CONF_OPTS += -Dlibidn=false -Dlibidn2=false -endif - -ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) -SYSTEMD_DEPENDENCIES += libseccomp -SYSTEMD_CONF_OPTS += -Dseccomp=true -else -SYSTEMD_CONF_OPTS += -Dseccomp=false -endif - -ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) -SYSTEMD_DEPENDENCIES += libxkbcommon -SYSTEMD_CONF_OPTS += -Dxkbcommon=true -else -SYSTEMD_CONF_OPTS += -Dxkbcommon=false -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -SYSTEMD_DEPENDENCIES += bzip2 -SYSTEMD_CONF_OPTS += -Dbzip2=true -else -SYSTEMD_CONF_OPTS += -Dbzip2=false -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -SYSTEMD_DEPENDENCIES += zstd -SYSTEMD_CONF_OPTS += -Dzstd=true -else -SYSTEMD_CONF_OPTS += -Dzstd=false -endif - -ifeq ($(BR2_PACKAGE_LZ4),y) -SYSTEMD_DEPENDENCIES += lz4 -SYSTEMD_CONF_OPTS += -Dlz4=true -else -SYSTEMD_CONF_OPTS += -Dlz4=false -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -SYSTEMD_DEPENDENCIES += linux-pam -SYSTEMD_CONF_OPTS += -Dpam=true -else -SYSTEMD_CONF_OPTS += -Dpam=false -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBFDISK),y) -SYSTEMD_CONF_OPTS += -Dfdisk=true -else -SYSTEMD_CONF_OPTS += -Dfdisk=false -endif - -ifeq ($(BR2_PACKAGE_VALGRIND),y) -SYSTEMD_DEPENDENCIES += valgrind -SYSTEMD_CONF_OPTS += -Dvalgrind=true -else -SYSTEMD_CONF_OPTS += -Dvalgrind=false -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -SYSTEMD_DEPENDENCIES += xz -SYSTEMD_CONF_OPTS += -Dxz=true -else -SYSTEMD_CONF_OPTS += -Dxz=false -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -SYSTEMD_DEPENDENCIES += zlib -SYSTEMD_CONF_OPTS += -Dzlib=true -else -SYSTEMD_CONF_OPTS += -Dzlib=false -endif - -ifeq ($(BR2_PACKAGE_LIBCURL),y) -SYSTEMD_DEPENDENCIES += libcurl -SYSTEMD_CONF_OPTS += -Dlibcurl=true -else -SYSTEMD_CONF_OPTS += -Dlibcurl=false -endif - -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -SYSTEMD_DEPENDENCIES += libgcrypt -SYSTEMD_CONF_OPTS += -Ddefault-dnssec=allow-downgrade -Dgcrypt=true -else -SYSTEMD_CONF_OPTS += -Ddefault-dnssec=no -Dgcrypt=false -endif - -ifeq ($(BR2_PACKAGE_P11_KIT),y) -SYSTEMD_DEPENDENCIES += p11-kit -SYSTEMD_CONF_OPTS += -Dp11kit=true -else -SYSTEMD_CONF_OPTS += -Dp11kit=false -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -SYSTEMD_DEPENDENCIES += openssl -SYSTEMD_CONF_OPTS += -Dopenssl=true -else -SYSTEMD_CONF_OPTS += -Dopenssl=false -endif - -ifeq ($(BR2_PACKAGE_PCRE2),y) -SYSTEMD_DEPENDENCIES += pcre2 -SYSTEMD_CONF_OPTS += -Dpcre2=true -else -SYSTEMD_CONF_OPTS += -Dpcre2=false -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y) -SYSTEMD_CONF_OPTS += -Dblkid=true -else -SYSTEMD_CONF_OPTS += -Dblkid=false -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_NOLOGIN),y) -SYSTEMD_CONF_OPTS += -Dnologin-path=/sbin/nologin -else -SYSTEMD_CONF_OPTS += -Dnologin-path=/bin/false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_INITRD),y) -SYSTEMD_CONF_OPTS += -Dinitrd=true -else -SYSTEMD_CONF_OPTS += -Dinitrd=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_KERNELINSTALL),y) -SYSTEMD_CONF_OPTS += -Dkernel-install=true -else -SYSTEMD_CONF_OPTS += -Dkernel-install=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_ANALYZE),y) -SYSTEMD_CONF_OPTS += -Danalyze=true -else -SYSTEMD_CONF_OPTS += -Danalyze=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE),y) -# remote also depends on libcurl, this is already added above. -SYSTEMD_DEPENDENCIES += libmicrohttpd -SYSTEMD_CONF_OPTS += -Dremote=true -Dmicrohttpd=true -SYSTEMD_REMOTE_USER = systemd-journal-remote -1 systemd-journal-remote -1 * - - - systemd Journal Remote -else -SYSTEMD_CONF_OPTS += -Dremote=false -Dmicrohttpd=false -endif - -ifeq ($(BR2_PACKAGE_LIBQRENCODE),y) -SYSTEMD_DEPENDENCIES += libqrencode -SYSTEMD_CONF_OPTS += -Dqrencode=true -else -SYSTEMD_CONF_OPTS += -Dqrencode=false -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -SYSTEMD_DEPENDENCIES += libselinux -SYSTEMD_CONF_OPTS += -Dselinux=true -else -SYSTEMD_CONF_OPTS += -Dselinux=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y) -SYSTEMD_CONF_OPTS += -Dhwdb=true -define SYSTEMD_BUILD_HWDB - $(HOST_DIR)/bin/udevadm hwdb --update --root $(TARGET_DIR) -endef -SYSTEMD_TARGET_FINALIZE_HOOKS += SYSTEMD_BUILD_HWDB -define SYSTEMD_RM_HWDB_SRV - rm -rf $(TARGET_DIR)/$(HOST_EUDEV_SYSCONFDIR)/udev/hwdb.d/ -endef -SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_RM_HWDB_SRV -else -SYSTEMD_CONF_OPTS += -Dhwdb=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_BINFMT),y) -SYSTEMD_CONF_OPTS += -Dbinfmt=true -else -SYSTEMD_CONF_OPTS += -Dbinfmt=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_VCONSOLE),y) -SYSTEMD_CONF_OPTS += -Dvconsole=true -else -SYSTEMD_CONF_OPTS += -Dvconsole=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_QUOTACHECK),y) -SYSTEMD_CONF_OPTS += -Dquotacheck=true -else -SYSTEMD_CONF_OPTS += -Dquotacheck=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_TMPFILES),y) -SYSTEMD_CONF_OPTS += -Dtmpfiles=true -else -SYSTEMD_CONF_OPTS += -Dtmpfiles=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) -SYSTEMD_CONF_OPTS += -Dsysusers=true -else -SYSTEMD_CONF_OPTS += -Dsysusers=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_FIRSTBOOT),y) -SYSTEMD_CONF_OPTS += -Dfirstboot=true -else -SYSTEMD_CONF_OPTS += -Dfirstboot=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_RANDOMSEED),y) -SYSTEMD_CONF_OPTS += -Drandomseed=true -else -SYSTEMD_CONF_OPTS += -Drandomseed=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_BACKLIGHT),y) -SYSTEMD_CONF_OPTS += -Dbacklight=true -else -SYSTEMD_CONF_OPTS += -Dbacklight=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_RFKILL),y) -SYSTEMD_CONF_OPTS += -Drfkill=true -else -SYSTEMD_CONF_OPTS += -Drfkill=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y) -SYSTEMD_CONF_OPTS += -Dlogind=true -else -SYSTEMD_CONF_OPTS += -Dlogind=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_MACHINED),y) -SYSTEMD_CONF_OPTS += -Dmachined=true -Dnss-mymachines=true -else -SYSTEMD_CONF_OPTS += -Dmachined=false -Dnss-mymachines=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_IMPORTD),y) -SYSTEMD_CONF_OPTS += -Dimportd=true -else -SYSTEMD_CONF_OPTS += -Dimportd=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_HOMED),y) -SYSTEMD_CONF_OPTS += -Dhomed=true -SYSTEMD_DEPENDENCIES += cryptsetup openssl -else -SYSTEMD_CONF_OPTS += -Dhomed=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_HOSTNAMED),y) -SYSTEMD_CONF_OPTS += -Dhostnamed=true -else -SYSTEMD_CONF_OPTS += -Dhostnamed=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_MYHOSTNAME),y) -SYSTEMD_CONF_OPTS += -Dnss-myhostname=true -else -SYSTEMD_CONF_OPTS += -Dnss-myhostname=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y) -SYSTEMD_CONF_OPTS += -Dtimedated=true -else -SYSTEMD_CONF_OPTS += -Dtimedated=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_LOCALED),y) -SYSTEMD_CONF_OPTS += -Dlocaled=true -else -SYSTEMD_CONF_OPTS += -Dlocaled=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_REPART),y) -SYSTEMD_CONF_OPTS += -Drepart=true -SYSTEMD_DEPENDENCIES += openssl -else -SYSTEMD_CONF_OPTS += -Drepart=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_USERDB),y) -SYSTEMD_CONF_OPTS += -Duserdb=true -else -SYSTEMD_CONF_OPTS += -Duserdb=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y) -SYSTEMD_CONF_OPTS += -Dcoredump=true -SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * - - - systemd core dump processing -else -SYSTEMD_CONF_OPTS += -Dcoredump=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_PSTORE),y) -SYSTEMD_CONF_OPTS += -Dpstore=true -else -SYSTEMD_CONF_OPTS += -Dpstore=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_POLKIT),y) -SYSTEMD_CONF_OPTS += -Dpolkit=true -SYSTEMD_DEPENDENCIES += polkit -else -SYSTEMD_CONF_OPTS += -Dpolkit=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_PORTABLED),y) -SYSTEMD_CONF_OPTS += -Dportabled=true -else -SYSTEMD_CONF_OPTS += -Dportabled=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) -SYSTEMD_CONF_OPTS += -Dnetworkd=true -SYSTEMD_NETWORKD_USER = systemd-network -1 systemd-network -1 * - - - systemd Network Management -SYSTEMD_NETWORKD_DHCP_IFACE = $(call qstrip,$(BR2_SYSTEM_DHCP)) -ifneq ($(SYSTEMD_NETWORKD_DHCP_IFACE),) -define SYSTEMD_INSTALL_NETWORK_CONFS - sed s/SYSTEMD_NETWORKD_DHCP_IFACE/$(SYSTEMD_NETWORKD_DHCP_IFACE)/ \ - $(SYSTEMD_PKGDIR)/dhcp.network > \ - $(TARGET_DIR)/etc/systemd/network/$(SYSTEMD_NETWORKD_DHCP_IFACE).network -endef -endif -else -SYSTEMD_CONF_OPTS += -Dnetworkd=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y) -define SYSTEMD_INSTALL_RESOLVCONF_HOOK - ln -sf ../run/systemd/resolve/resolv.conf \ - $(TARGET_DIR)/etc/resolv.conf -endef -SYSTEMD_CONF_OPTS += -Dnss-resolve=true -Dresolve=true -SYSTEMD_RESOLVED_USER = systemd-resolve -1 systemd-resolve -1 * - - - systemd Resolver -else -SYSTEMD_CONF_OPTS += -Dnss-resolve=false -Dresolve=false -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -SYSTEMD_CONF_OPTS += -Ddns-over-tls=gnutls -Ddefault-dns-over-tls=opportunistic -SYSTEMD_DEPENDENCIES += gnutls -else ifeq ($(BR2_PACKAGE_OPENSSL),y) -SYSTEMD_CONF_OPTS += -Ddns-over-tls=openssl -Ddefault-dns-over-tls=opportunistic -SYSTEMD_DEPENDENCIES += openssl -else -SYSTEMD_CONF_OPTS += -Ddns-over-tls=false -Ddefault-dns-over-tls=no -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_TIMESYNCD),y) -SYSTEMD_CONF_OPTS += -Dtimesyncd=true -SYSTEMD_TIMESYNCD_USER = systemd-timesync -1 systemd-timesync -1 * - - - systemd Time Synchronization -else -SYSTEMD_CONF_OPTS += -Dtimesyncd=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT),y) -SYSTEMD_CONF_OPTS += -Dsmack=true -else -SYSTEMD_CONF_OPTS += -Dsmack=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_HIBERNATE),y) -SYSTEMD_CONF_OPTS += -Dhibernate=true -else -SYSTEMD_CONF_OPTS += -Dhibernate=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_BOOT),y) -SYSTEMD_INSTALL_IMAGES = YES -SYSTEMD_DEPENDENCIES += gnu-efi -SYSTEMD_CONF_OPTS += \ - -Defi=true \ - -Dgnu-efi=true \ - -Defi-cc=$(TARGET_CC) \ - -Defi-ld=$(TARGET_LD) \ - -Defi-libdir=$(STAGING_DIR)/usr/lib \ - -Defi-ldsdir=$(STAGING_DIR)/usr/lib \ - -Defi-includedir=$(STAGING_DIR)/usr/include/efi - -SYSTEMD_BOOT_EFI_ARCH = $(call qstrip,$(BR2_PACKAGE_SYSTEMD_BOOT_EFI_ARCH)) -define SYSTEMD_INSTALL_BOOT_FILES - $(INSTALL) -D -m 0644 $(@D)/build/src/boot/efi/systemd-boot$(SYSTEMD_BOOT_EFI_ARCH).efi \ - $(BINARIES_DIR)/efi-part/EFI/BOOT/boot$(SYSTEMD_BOOT_EFI_ARCH).efi - echo "boot$(SYSTEMD_BOOT_EFI_ARCH).efi" > \ - $(BINARIES_DIR)/efi-part/startup.nsh - $(INSTALL) -D -m 0644 $(SYSTEMD_PKGDIR)/boot-files/loader.conf \ - $(BINARIES_DIR)/efi-part/loader/loader.conf - $(INSTALL) -D -m 0644 $(SYSTEMD_PKGDIR)/boot-files/buildroot.conf \ - $(BINARIES_DIR)/efi-part/loader/entries/buildroot.conf -endef - -else -SYSTEMD_CONF_OPTS += -Defi=false -Dgnu-efi=false -endif # BR2_PACKAGE_SYSTEMD_BOOT == y - -SYSTEMD_FALLBACK_HOSTNAME = $(call qstrip,$(BR2_TARGET_GENERIC_HOSTNAME)) -ifneq ($(SYSTEMD_FALLBACK_HOSTNAME),) -SYSTEMD_CONF_OPTS += -Dfallback-hostname=$(SYSTEMD_FALLBACK_HOSTNAME) -endif - -define SYSTEMD_INSTALL_INIT_HOOK - ln -fs multi-user.target \ - $(TARGET_DIR)/usr/lib/systemd/system/default.target -endef - -define SYSTEMD_INSTALL_MACHINEID_HOOK - touch $(TARGET_DIR)/etc/machine-id -endef - -SYSTEMD_POST_INSTALL_TARGET_HOOKS += \ - SYSTEMD_INSTALL_INIT_HOOK \ - SYSTEMD_INSTALL_MACHINEID_HOOK - -define SYSTEMD_INSTALL_IMAGES_CMDS - $(SYSTEMD_INSTALL_BOOT_FILES) -endef - -define SYSTEMD_USERS - # udev user groups - # systemd user groups - - - systemd-journal -1 * - - - Journal - $(SYSTEMD_REMOTE_USER) - $(SYSTEMD_COREDUMP_USER) - $(SYSTEMD_NETWORKD_USER) - $(SYSTEMD_RESOLVED_USER) - $(SYSTEMD_TIMESYNCD_USER) -endef - -define SYSTEMD_INSTALL_NSSCONFIG_HOOK - $(SED) '/^passwd:/ {/systemd/! s/$$/ systemd/}' \ - -e '/^group:/ {/systemd/! s/$$/ [SUCCESS=merge] systemd/}' \ - $(if $(BR2_PACKAGE_SYSTEMD_RESOLVED), \ - -e '/^hosts:/ s/[[:space:]]*mymachines//' \ - -e '/^hosts:/ {/resolve/! s/files/files resolve [!UNAVAIL=return]/}' ) \ - $(if $(BR2_PACKAGE_SYSTEMD_MYHOSTNAME), \ - -e '/^hosts:/ {/myhostname/! s/$$/ myhostname/}' ) \ - $(if $(BR2_PACKAGE_SYSTEMD_MACHINED), \ - -e '/^passwd:/ {/mymachines/! s/files/files mymachines/}' \ - -e '/^group:/ {/mymachines/! s/files/files [SUCCESS=merge] mymachines/}' \ - -e '/^hosts:/ {/mymachines/! s/files/files mymachines/}' ) \ - $(TARGET_DIR)/etc/nsswitch.conf -endef - -SYSTEMD_TARGET_FINALIZE_HOOKS += \ - SYSTEMD_INSTALL_NSSCONFIG_HOOK \ - SYSTEMD_INSTALL_RESOLVCONF_HOOK - -ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),) -# systemd provides multiple units to autospawn getty as neede -# * getty@.service to start a getty on normal TTY -# * sertial-getty@.service to start a getty on serial lines -# * console-getty.service for generic /dev/console -# * container-getty@.service for a getty on /dev/pts/* -# -# the generator systemd-getty-generator will -# * read the console= kernel command line parameter -# * enable one of the above units depending on what it finds -# -# Systemd defaults to enablinb getty@tty1.service -# -# What we want to do -# * Enable a getty on $BR2_TARGET_GENERIC_TTY_PATH -# * Set the baudrate for all units according to BR2_TARGET_GENERIC_GETTY_BAUDRATE -# * Always enable a getty on the console using systemd-getty-generator -# (backward compatibility with previous releases of buildroot) -# -# What we do -# * disable getty@tty1 (enabled by upstream systemd) -# * enable getty@xxx if $BR2_TARGET_GENERIC_TTY_PATH is a tty -# * enable serial-getty@xxx for other $BR2_TARGET_GENERIC_TTY_PATH -# * rewrite baudrates if a baudrate is provided -define SYSTEMD_INSTALL_SERVICE_TTY - mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/getty@.service.d; \ - printf '[Install]\nDefaultInstance=\n' \ - >$(TARGET_DIR)/usr/lib/systemd/system/getty@.service.d/buildroot-console.conf; \ - if [ $(BR2_TARGET_GENERIC_GETTY_PORT) = "console" ]; \ - then \ - : ; \ - elif echo $(BR2_TARGET_GENERIC_GETTY_PORT) | egrep -q 'tty[0-9]*$$'; \ - then \ - printf '[Install]\nDefaultInstance=%s\n' \ - $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)) \ - >$(TARGET_DIR)/usr/lib/systemd/system/getty@.service.d/buildroot-console.conf; \ - else \ - mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/serial-getty@.service.d;\ - printf '[Install]\nDefaultInstance=%s\n' \ - $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)) \ - >$(TARGET_DIR)/usr/lib/systemd/system/serial-getty@.service.d/buildroot-console.conf;\ - fi; \ - if [ $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_BAUDRATE)) -gt 0 ] ; \ - then \ - $(SED) 's/115200/$(BR2_TARGET_GENERIC_GETTY_BAUDRATE),115200/' $(TARGET_DIR)/lib/systemd/system/getty@.service; \ - $(SED) 's/115200/$(BR2_TARGET_GENERIC_GETTY_BAUDRATE),115200/' $(TARGET_DIR)/lib/systemd/system/serial-getty@.service; \ - $(SED) 's/115200/$(BR2_TARGET_GENERIC_GETTY_BAUDRATE),115200/' $(TARGET_DIR)/lib/systemd/system/console-getty@.service; \ - $(SED) 's/115200/$(BR2_TARGET_GENERIC_GETTY_BAUDRATE),115200/' $(TARGET_DIR)/lib/systemd/system/container-getty@.service; \ - fi -endef -endif - -define SYSTEMD_INSTALL_PRESET - $(INSTALL) -D -m 644 $(SYSTEMD_PKGDIR)/80-buildroot.preset $(TARGET_DIR)/usr/lib/systemd/system-preset/80-buildroot.preset -endef - -define SYSTEMD_INSTALL_INIT_SYSTEMD - $(SYSTEMD_INSTALL_PRESET) - $(SYSTEMD_INSTALL_SERVICE_TTY) - $(SYSTEMD_INSTALL_NETWORK_CONFS) -endef - -define SYSTEMD_PRESET_ALL - $(HOST_DIR)/bin/systemctl --root=$(TARGET_DIR) preset-all -endef -SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_PRESET_ALL - -SYSTEMD_CONF_ENV = $(HOST_UTF8_LOCALE_ENV) -SYSTEMD_NINJA_ENV = $(HOST_UTF8_LOCALE_ENV) - -define SYSTEMD_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS) - $(call KCONFIG_ENABLE_OPT,CONFIG_FHANDLE) - $(call KCONFIG_ENABLE_OPT,CONFIG_EPOLL) - $(call KCONFIG_ENABLE_OPT,CONFIG_SIGNALFD) - $(call KCONFIG_ENABLE_OPT,CONFIG_TIMERFD) - $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER) - $(call KCONFIG_ENABLE_OPT,CONFIG_PROC_FS) - $(call KCONFIG_ENABLE_OPT,CONFIG_SYSFS) - $(call KCONFIG_ENABLE_OPT,CONFIG_AUTOFS4_FS) - $(call KCONFIG_ENABLE_OPT,CONFIG_TMPFS_POSIX_ACL) - $(call KCONFIG_ENABLE_OPT,CONFIG_TMPFS_XATTR) -endef - -# We need a very minimal host variant, so we disable as much as possible. -HOST_SYSTEMD_CONF_OPTS = \ - -Dsplit-bin=true \ - -Dsplit-usr=false \ - --prefix=/usr \ - --libdir=lib \ - --sysconfdir=/etc \ - --localstatedir=/var \ - -Dmode=release \ - -Dutmp=false \ - -Dhibernate=false \ - -Dldconfig=false \ - -Dresolve=false \ - -Defi=false \ - -Dtpm=false \ - -Denvironment-d=false \ - -Dbinfmt=false \ - -Drepart=false \ - -Dcoredump=false \ - -Dpstore=false \ - -Dlogind=false \ - -Dhostnamed=false \ - -Dlocaled=false \ - -Dmachined=false \ - -Dportabled=false \ - -Duserdb=false \ - -Dhomed=false \ - -Dnetworkd=false \ - -Dtimedated=false \ - -Dtimesyncd=false \ - -Dremote=false \ - -Dcreate-log-dirs=false \ - -Dnss-myhostname=false \ - -Dnss-mymachines=false \ - -Dnss-resolve=false \ - -Dnss-systemd=false \ - -Dfirstboot=false \ - -Drandomseed=false \ - -Dbacklight=false \ - -Dvconsole=false \ - -Dquotacheck=false \ - -Dsysusers=false \ - -Dtmpfiles=false \ - -Dimportd=false \ - -Dhwdb=false \ - -Drfkill=false \ - -Dman=false \ - -Dhtml=false \ - -Dsmack=false \ - -Dpolkit=false \ - -Dblkid=false \ - -Didn=false \ - -Dadm-group=false \ - -Dwheel-group=false \ - -Dzlib=false \ - -Dgshadow=false \ - -Dima=false \ - -Dtests=false \ - -Dglib=false \ - -Dacl=false \ - -Dsysvinit-path='' \ - -Dinitrd=false \ - -Dxdg-autostart=false \ - -Dkernel-install=false \ - -Dsystemd-analyze=false \ - -Dlibcryptsetup=false \ - -Daudit=false \ - -Dzstd=false - -HOST_SYSTEMD_DEPENDENCIES = \ - $(BR2_COREUTILS_HOST_DEPENDENCY) \ - host-util-linux \ - host-patchelf \ - host-libcap \ - host-gperf - -HOST_SYSTEMD_NINJA_ENV = DESTDIR=$(HOST_DIR) - -# Fix RPATH After installation -# * systemd provides a install_rpath instruction to meson because the binaries -# need to link with libsystemd which is not in a standard path -# * meson can only replace the RPATH, not append to it -# * the original rpath is thus lost. -# * the original path had been tweaked by buildroot via LDFLAGS to add -# $(HOST_DIR)/lib -# * thus re-tweak rpath after the installation for all binaries that need it -HOST_SYSTEMD_HOST_TOOLS = busctl journalctl systemctl systemd-* udevadm - -define HOST_SYSTEMD_FIX_RPATH - for f in $(addprefix $(HOST_DIR)/bin/,$(HOST_SYSTEMD_HOST_TOOLS)); do \ - [ -e $$f ] || continue; \ - $(HOST_DIR)/bin/patchelf --set-rpath $(HOST_DIR)/lib:$(HOST_DIR)/lib/systemd $${f} \ - || exit 1; \ - done -endef -HOST_SYSTEMD_POST_INSTALL_HOOKS += HOST_SYSTEMD_FIX_RPATH - -$(eval $(meson-package)) -$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/sysvinit/inittab b/buildroot-2021.05/package/sysvinit/inittab deleted file mode 100644 index a3147103..00000000 --- a/buildroot-2021.05/package/sysvinit/inittab +++ /dev/null @@ -1,31 +0,0 @@ -# /etc/inittab -# -# This inittab is a basic inittab sample for sysvinit, which mimics -# Buildroot's default inittab for BusyBox. -id:3:initdefault: - -si0::sysinit:/bin/mount -t proc proc /proc -si1::sysinit:/bin/mount -o remount,rw / -si2::sysinit:/bin/mkdir -p /dev/pts /dev/shm -si3::sysinit:/bin/mount -a -si4::sysinit:/sbin/swapon -a -si5::sysinit:/bin/ln -sf /proc/self/fd /dev/fd 2>/dev/null -si6::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin 2>/dev/null -si7::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout 2>/dev/null -si8::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr 2>/dev/null -si9::sysinit:/bin/hostname -F /etc/hostname -rcS:12345:wait:/etc/init.d/rcS - -# S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL - -# Stuff to do for the 3-finger salute -#ca::ctrlaltdel:/sbin/reboot - -# Stuff to do before rebooting -shd0:06:wait:/etc/init.d/rcK -shd1:06:wait:/sbin/swapoff -a -shd2:06:wait:/bin/umount -a -r - -# The usual halt or reboot actions -hlt0:0:wait:/sbin/halt -dhp -reb0:6:wait:/sbin/reboot diff --git a/buildroot-2021.05/package/taglib/0001-fix-taglib-config-file-for-cross-compiling-906.patch b/buildroot-2021.05/package/taglib/0001-fix-taglib-config-file-for-cross-compiling-906.patch deleted file mode 100644 index 2c6ebd74..00000000 --- a/buildroot-2021.05/package/taglib/0001-fix-taglib-config-file-for-cross-compiling-906.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 7470f92a67375d00e53b3785a88fa7b26ad6f1da Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?J=C3=B6rg=20Krause?= -Date: Fri, 17 May 2019 13:13:35 +0200 -Subject: [PATCH] fix taglib-config file for cross compiling (#906) -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -The current taglib-config program does not work for cross-compiling as it only -returns the paths to the host, which breaks building programs which uses -`taglib-config` to link against taglib. - -Fix this by passing sysroot to the `prefix` and `exec_prefix` fields. - -Backported from: 7470f92a67375d00e53b3785a88fa7b26ad6f1da - -Signed-off-by: Jörg Krause ---- - CMakeLists.txt | 2 +- - taglib-config.cmake | 10 +++++----- - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 2de06324..1a0302c4 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -105,7 +105,7 @@ math(EXPR TAGLIB_SOVERSION_PATCH "${TAGLIB_SOVERSION_REVISION}") - include(ConfigureChecks.cmake) - - if(NOT WIN32) -- configure_file("${CMAKE_CURRENT_SOURCE_DIR}/taglib-config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/taglib-config") -+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/taglib-config.cmake" "${CMAKE_CURRENT_BINARY_DIR}/taglib-config" @ONLY) - install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/taglib-config" DESTINATION "${BIN_INSTALL_DIR}") - endif() - -diff --git a/taglib-config.cmake b/taglib-config.cmake -index 2bc2811a..96ef6883 100644 ---- a/taglib-config.cmake -+++ b/taglib-config.cmake -@@ -14,10 +14,10 @@ EOH - exit 1; - } - --prefix=${CMAKE_INSTALL_PREFIX} --exec_prefix=${CMAKE_INSTALL_PREFIX} --libdir=${LIB_INSTALL_DIR} --includedir=${INCLUDE_INSTALL_DIR} -+prefix=@CMAKE_SYSROOT@@CMAKE_INSTALL_PREFIX@ -+exec_prefix=@CMAKE_SYSROOT@@CMAKE_INSTALL_PREFIX@ -+libdir=${exec_prefix}/lib -+includedir=${prefix}/include - - flags="" - -@@ -35,7 +35,7 @@ do - flags="$flags -I$includedir/taglib" - ;; - --version) -- echo ${TAGLIB_LIB_VERSION_STRING} -+ echo @TAGLIB_LIB_VERSION_STRING@ - ;; - --prefix) - echo $prefix --- -2.22.0 - diff --git a/buildroot-2021.05/package/taglib/0002-Don-t-assume-TDRC-is-an-instance-of-TextIdentificationFrame.patch b/buildroot-2021.05/package/taglib/0002-Don-t-assume-TDRC-is-an-instance-of-TextIdentificationFrame.patch deleted file mode 100644 index c7ca9500..00000000 --- a/buildroot-2021.05/package/taglib/0002-Don-t-assume-TDRC-is-an-instance-of-TextIdentificationFrame.patch +++ /dev/null @@ -1,33 +0,0 @@ -From eb9ded1206f18f2c319157337edea2533a40bea6 Mon Sep 17 00:00:00 2001 -From: "Stephen F. Booth" -Date: Sun, 23 Jul 2017 10:11:09 -0400 -Subject: [PATCH] Don't assume TDRC is an instance of TextIdentificationFrame - -If TDRC is encrypted, FrameFactory::createFrame() returns UnknownFrame -which causes problems in rebuildAggregateFrames() when it is assumed -that TDRC is a TextIdentificationFrame -[Retrieved from: -https://github.com/taglib/taglib/pull/831/commits/eb9ded1206f18f2c319157337edea2533a40bea6] -Signed-off-by: Fabrice Fontaine ---- - taglib/mpeg/id3v2/id3v2framefactory.cpp | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/taglib/mpeg/id3v2/id3v2framefactory.cpp b/taglib/mpeg/id3v2/id3v2framefactory.cpp -index 759a9b7be..9347ab869 100644 ---- a/taglib/mpeg/id3v2/id3v2framefactory.cpp -+++ b/taglib/mpeg/id3v2/id3v2framefactory.cpp -@@ -334,10 +334,11 @@ void FrameFactory::rebuildAggregateFrames(ID3v2::Tag *tag) const - tag->frameList("TDAT").size() == 1) - { - TextIdentificationFrame *tdrc = -- static_cast(tag->frameList("TDRC").front()); -+ dynamic_cast(tag->frameList("TDRC").front()); - UnknownFrame *tdat = static_cast(tag->frameList("TDAT").front()); - -- if(tdrc->fieldList().size() == 1 && -+ if(tdrc && -+ tdrc->fieldList().size() == 1 && - tdrc->fieldList().front().size() == 4 && - tdat->data().size() >= 5) - { diff --git a/buildroot-2021.05/package/taglib/0003-Fixed-OOB-read-when-loading-invalid-ogg-flac-file.patch b/buildroot-2021.05/package/taglib/0003-Fixed-OOB-read-when-loading-invalid-ogg-flac-file.patch deleted file mode 100644 index b245659c..00000000 --- a/buildroot-2021.05/package/taglib/0003-Fixed-OOB-read-when-loading-invalid-ogg-flac-file.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 2c4ae870ec086f2ddd21a47861a3709c36faac45 Mon Sep 17 00:00:00 2001 -From: Scott Gayou -Date: Tue, 9 Oct 2018 18:46:55 -0500 -Subject: [PATCH] Fixed OOB read when loading invalid ogg flac file. (#868) - (#869) - -CVE-2018-11439 is caused by a failure to check the minimum length -of a ogg flac header. This header is detailed in full at: -https://xiph.org/flac/ogg_mapping.html. Added more strict checking -for entire header. -[Retrieved from: -https://github.com/taglib/taglib/commit/2c4ae870ec086f2ddd21a47861a3709c36faac45] -Signed-off-by: Fabrice Fontaine ---- - taglib/ogg/flac/oggflacfile.cpp | 14 ++++++++++++-- - 1 file changed, 12 insertions(+), 2 deletions(-) - -diff --git a/taglib/ogg/flac/oggflacfile.cpp b/taglib/ogg/flac/oggflacfile.cpp -index 53d04508a..07ea9dccc 100644 ---- a/taglib/ogg/flac/oggflacfile.cpp -+++ b/taglib/ogg/flac/oggflacfile.cpp -@@ -231,11 +231,21 @@ void Ogg::FLAC::File::scan() - - if(!metadataHeader.startsWith("fLaC")) { - // FLAC 1.1.2+ -+ // See https://xiph.org/flac/ogg_mapping.html for the header specification. -+ if(metadataHeader.size() < 13) -+ return; -+ -+ if(metadataHeader[0] != 0x7f) -+ return; -+ - if(metadataHeader.mid(1, 4) != "FLAC") - return; - -- if(metadataHeader[5] != 1) -- return; // not version 1 -+ if(metadataHeader[5] != 1 && metadataHeader[6] != 0) -+ return; // not version 1.0 -+ -+ if(metadataHeader.mid(9, 4) != "fLaC") -+ return; - - metadataHeader = metadataHeader.mid(13); - } diff --git a/buildroot-2021.05/package/taglib/taglib.hash b/buildroot-2021.05/package/taglib/taglib.hash deleted file mode 100644 index 4b99e86d..00000000 --- a/buildroot-2021.05/package/taglib/taglib.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated -sha256 b6d1a5a610aae6ff39d93de5efd0fdc787aa9e9dc1e7026fa4c961b26563526b taglib-1.11.1.tar.gz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL -sha256 53692a2ed6c6a2c6ec9b32dd0b820dfae91e0a1fcdf625ca9ed0bdf8705fcc4f COPYING.MPL diff --git a/buildroot-2021.05/package/taglib/taglib.mk b/buildroot-2021.05/package/taglib/taglib.mk deleted file mode 100644 index f31f1046..00000000 --- a/buildroot-2021.05/package/taglib/taglib.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# taglib -# -################################################################################ - -TAGLIB_VERSION = 1.11.1 -TAGLIB_SITE = http://taglib.github.io/releases -TAGLIB_INSTALL_STAGING = YES -TAGLIB_LICENSE = LGPL-2.1 or MPL-1.1 -TAGLIB_LICENSE_FILES = COPYING.LGPL COPYING.MPL -TAGLIB_CPE_ID_VENDOR = taglib - -# 0002-Don-t-assume-TDRC-is-an-instance-of-TextIdentificationFrame.patch -TAGLIB_IGNORE_CVES += CVE-2017-12678 - -# 0003-Fixed-OOB-read-when-loading-invalid-ogg-flac-file.patch -TAGLIB_IGNORE_CVES += CVE-2018-11439 - -ifeq ($(BR2_PACKAGE_ZLIB),y) -TAGLIB_DEPENDENCIES += zlib -endif - -define TAGLIB_REMOVE_DEVFILE - rm -f $(TARGET_DIR)/usr/bin/taglib-config -endef - -TAGLIB_POST_INSTALL_TARGET_HOOKS += TAGLIB_REMOVE_DEVFILE - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/targetcli-fb/Config.in b/buildroot-2021.05/package/targetcli-fb/Config.in deleted file mode 100644 index 24ff3145..00000000 --- a/buildroot-2021.05/package/targetcli-fb/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -comment "targetcli-fb depends on Python" - depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3 - -config BR2_PACKAGE_TARGETCLI_FB - bool "targetcli-fb" - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB - select BR2_PACKAGE_PYTHON_RTSLIB_FB - select BR2_PACKAGE_PYTHON_SIX - help - targetcli-fb is a command-line interface for configuring the - LIO generic SCSI target, present in 3.x Linux kernel - versions. - - https://github.com/open-iscsi/targetcli-fb diff --git a/buildroot-2021.05/package/targetcli-fb/targetcli-fb.hash b/buildroot-2021.05/package/targetcli-fb/targetcli-fb.hash deleted file mode 100644 index 207c38e0..00000000 --- a/buildroot-2021.05/package/targetcli-fb/targetcli-fb.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 0f32ab6f3ecd234280d55be5e89ce2b3a02f9c82c8dccaae66e26464cff8901a targetcli-fb-2.1.fb41.tar.gz -sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 COPYING diff --git a/buildroot-2021.05/package/targetcli-fb/targetcli-fb.mk b/buildroot-2021.05/package/targetcli-fb/targetcli-fb.mk deleted file mode 100644 index 75643446..00000000 --- a/buildroot-2021.05/package/targetcli-fb/targetcli-fb.mk +++ /dev/null @@ -1,34 +0,0 @@ -################################################################################ -# -# targetcli-fb -# -################################################################################ - -# When upgrading the version, be sure to also upgrade python-rtslib-fb -# and python-configshell-fb at the same time. -TARGETCLI_FB_VERSION = 2.1.fb41 -TARGETCLI_FB_SITE = $(call github,open-iscsi,targetcli-fb,v$(TARGETCLI_FB_VERSION)) -TARGETCLI_FB_LICENSE = Apache-2.0 -TARGETCLI_FB_LICENSE_FILES = COPYING -TARGETCLI_FB_SETUP_TYPE = setuptools -TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb python-six - -define TARGETCLI_FB_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/targetcli-fb/S50target \ - $(TARGET_DIR)/etc/init.d/S50target -endef - -define TARGETCLI_FB_INSTALL_INIT_SYSTEMD - $(INSTALL) -m 0644 -D package/targetcli-fb/target.service \ - $(TARGET_DIR)/usr/lib/systemd/system/target.service -endef - -# Targetcli stores its configuration in /etc/target/saveconfig.json -# and complains if the /etc/target/ directory does not exist. -define TARGETCLI_FB_INSTALL_CONF_DIR - $(INSTALL) -m 0755 -d $(TARGET_DIR)/etc/target -endef - -TARGETCLI_FB_POST_INSTALL_TARGET_HOOKS += TARGETCLI_FB_INSTALL_CONF_DIR - -$(eval $(python-package)) diff --git a/buildroot-2021.05/package/tcl/0001-dont-build-compat.patch b/buildroot-2021.05/package/tcl/0001-dont-build-compat.patch deleted file mode 100644 index c0d5d85d..00000000 --- a/buildroot-2021.05/package/tcl/0001-dont-build-compat.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Andrew Ruder -Subject: [PATCH] Disable tcl compatibility layers - -Turn off building compatibility layers for old/broken versions of -standard functions (strstr, strtoul, strtod) with the assumption that -anything buildroot is using as a standard C library will be good enough -to not have broken behavior. - -Signed-off-by: Andrew Ruder -[Fabrice: Update for 8.6.9] -Signed-off-by: Fabrice Fontaine ---- - -diff --git a/unix/tcl.m4 b/unix/tcl.m4 ---- a/unix/tcl.m4 -+++ b/unix/tcl.m4 -@@ -2725,7 +2725,7 @@ AC_DEFUN([SC_TCL_CHECK_BROKEN_FUNC],[ - if test ["$tcl_ok"] = 1; then - AC_CACHE_CHECK([proper ]$1[ implementation], [tcl_cv_]$1[_unbroken], - AC_TRY_RUN([[int main() {]$2[}]],[tcl_cv_]$1[_unbroken]=ok, -- [tcl_cv_]$1[_unbroken]=broken,[tcl_cv_]$1[_unbroken]=unknown)) -+ [tcl_cv_]$1[_unbroken]=broken,[tcl_cv_]$1[_unbroken]=ok)) - if test ["$tcl_cv_]$1[_unbroken"] = "ok"; then - tcl_ok=1 - else diff --git a/buildroot-2021.05/package/tcl/tcl.hash b/buildroot-2021.05/package/tcl/tcl.hash deleted file mode 100644 index 913190b9..00000000 --- a/buildroot-2021.05/package/tcl/tcl.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 ad0cd2de2c87b9ba8086b43957a0de3eb2eb565c7159d5f53ccbba3feb915f4e tcl8.6.9-src.tar.gz -sha256 c0a69a2bfd757361ec7e6143973b103c90409316b49e9c88db26ad6388e79f16 license.terms diff --git a/buildroot-2021.05/package/tcl/tcl.mk b/buildroot-2021.05/package/tcl/tcl.mk deleted file mode 100644 index 7c456e89..00000000 --- a/buildroot-2021.05/package/tcl/tcl.mk +++ /dev/null @@ -1,81 +0,0 @@ -################################################################################ -# -# tcl -# -################################################################################ - -TCL_VERSION_MAJOR = 8.6 -TCL_VERSION = $(TCL_VERSION_MAJOR).9 -TCL_SOURCE = tcl$(TCL_VERSION)-src.tar.gz -TCL_SITE = http://downloads.sourceforge.net/project/tcl/Tcl/$(TCL_VERSION) -TCL_LICENSE = TCL -TCL_LICENSE_FILES = license.terms -TCL_CPE_ID_VENDOR = tcl -TCL_SUBDIR = unix -TCL_INSTALL_STAGING = YES -TCL_AUTORECONF = YES - -TCL_CONF_OPTS = \ - --disable-symbols \ - --disable-langinfo \ - --disable-framework - -HOST_TCL_CONF_OPTS = \ - --disable-symbols \ - --disable-langinfo \ - --disable-framework - -# I haven't found a good way to force pkgs to not build -# or configure without just removing the entire pkg directory. -define HOST_TCL_REMOVE_PACKAGES - rm -fr $(@D)/pkgs/sqlite3* $(@D)/pkgs/tdbc* -endef -HOST_TCL_PRE_CONFIGURE_HOOKS += HOST_TCL_REMOVE_PACKAGES - -# We remove the bundled sqlite as we prefer to not use bundled stuff at all. -define TCL_REMOVE_PACKAGES - rm -fr $(@D)/pkgs/sqlite3* \ - $(if $(BR2_PACKAGE_MYSQL),,$(@D)/pkgs/tdbcmysql*) \ - $(@D)/pkgs/tdbcodbc* \ - $(if $(BR2_PACKAGE_POSTGRESQL),,$(@D)/pkgs/tdbcpostgres*) \ - $(if $(BR2_PACKAGE_SQLITE),,$(@D)/pkgs/tdbcsqlite3*) -endef -TCL_PRE_CONFIGURE_HOOKS += TCL_REMOVE_PACKAGES - -ifeq ($(BR2_PACKAGE_TCL_DEL_ENCODINGS),y) -define TCL_REMOVE_ENCODINGS - rm -rf $(TARGET_DIR)/usr/lib/tcl$(TCL_VERSION_MAJOR)/encoding/* -endef -TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_ENCODINGS -endif - -ifeq ($(BR2_PACKAGE_TCL_SHLIB_ONLY),y) -define TCL_REMOVE_TCLSH - rm -f $(TARGET_DIR)/usr/bin/tclsh$(TCL_VERSION_MAJOR) -endef -TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_TCLSH -else -define TCL_SYMLINK_TCLSH - ln -sf tclsh$(TCL_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/tclsh -endef -TCL_POST_INSTALL_TARGET_HOOKS += TCL_SYMLINK_TCLSH -endif - -# Until someone needs it, we don't handle locale installation. tcl has -# a complicated method of translating LANG-style locale names into its internal -# .msg name which makes it difficult to save the correct locales per the -# configured whitelist. -define TCL_REMOVE_EXTRA - rm -fr $(TARGET_DIR)/usr/lib/tclConfig.sh \ - $(TARGET_DIR)/usr/lib/tclooConfig.sh \ - $(TARGET_DIR)/usr/lib/tcl$(TCL_VERSION_MAJOR)/tclAppInit.c \ - $(TARGET_DIR)/usr/lib/tcl$(TCL_VERSION_MAJOR)/msgs -endef -TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_EXTRA - -TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite) \ - $(if $(BR2_PACKAGE_MYSQL),mysql) \ - $(if $(BR2_PACKAGE_POSTGRESQL),postgresql) - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/tclap/tclap.hash b/buildroot-2021.05/package/tclap/tclap.hash deleted file mode 100644 index 2b2097be..00000000 --- a/buildroot-2021.05/package/tclap/tclap.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 f5013be7fcaafc69ba0ce2d1710f693f61e9c336b6292ae4f57554f59fde5837 tclap-1.2.2.tar.gz -sha256 cd81a61d47aeb1ed63036ca260baee37719923bbd7ebd988ec4edae128f3b6eb COPYING diff --git a/buildroot-2021.05/package/tclap/tclap.mk b/buildroot-2021.05/package/tclap/tclap.mk deleted file mode 100644 index e1856420..00000000 --- a/buildroot-2021.05/package/tclap/tclap.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# tclap -# -################################################################################ - -TCLAP_VERSION = 1.2.2 -TCLAP_SITE = http://downloads.sourceforge.net/project/tclap -TCLAP_LICENSE = MIT -TCLAP_LICENSE_FILES = COPYING -TCLAP_INSTALL_STAGING = YES -TCLAP_CPE_ID_VENDOR = tclap_project - -# This package is a pure C++ template library, only made of headers. -TCLAP_INSTALL_TARGET = NO - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tcllib/tcllib.hash b/buildroot-2021.05/package/tcllib/tcllib.hash deleted file mode 100644 index d08b5a17..00000000 --- a/buildroot-2021.05/package/tcllib/tcllib.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 0db9e17d6c0f44d3ca2df2ea5023e35c0f3767e7008c3cb26d201446eb68add1 tcllib-1.13.tar.bz2 -sha256 530ec70eb11a455bd582d86b6d74c2dd7cc367d90b8bbdd59fcb43ae02f95a4b license.terms diff --git a/buildroot-2021.05/package/tcllib/tcllib.mk b/buildroot-2021.05/package/tcllib/tcllib.mk deleted file mode 100644 index dfa35c89..00000000 --- a/buildroot-2021.05/package/tcllib/tcllib.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# tcllib -# -################################################################################ - -TCLLIB_VERSION = 1.13 -TCLLIB_SOURCE = tcllib-$(TCLLIB_VERSION).tar.bz2 -TCLLIB_SITE = http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION) -TCLLIB_LICENSE = TCL -TCLLIB_LICENSE_FILES = license.terms -TCLLIB_DEPENDENCIES = host-tcl -TCLLIB_CONF_ENV = ac_cv_path_tclsh="$(HOST_DIR)/bin/tclsh$(TCL_VERSION_MAJOR)" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tcpdump/tcpdump.hash b/buildroot-2021.05/package/tcpdump/tcpdump.hash deleted file mode 100644 index 4aea5b7c..00000000 --- a/buildroot-2021.05/package/tcpdump/tcpdump.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature at -# https://www.tcpdump.org/release/tcpdump-4.99.0.tar.gz.sig -# using key 1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D -sha256 8cf2f17a9528774a7b41060323be8b73f76024f7778f59c34efa65d49d80b842 tcpdump-4.99.0.tar.gz -sha256 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd LICENSE diff --git a/buildroot-2021.05/package/tcpdump/tcpdump.mk b/buildroot-2021.05/package/tcpdump/tcpdump.mk deleted file mode 100644 index c562034a..00000000 --- a/buildroot-2021.05/package/tcpdump/tcpdump.mk +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# -# tcpdump -# -################################################################################ - -TCPDUMP_VERSION = 4.99.0 -TCPDUMP_SITE = https://www.tcpdump.org/release -TCPDUMP_LICENSE = BSD-3-Clause -TCPDUMP_LICENSE_FILES = LICENSE -TCPDUMP_CPE_ID_VENDOR = tcpdump -TCPDUMP_CONF_ENV = \ - ac_cv_linux_vers=2 \ - td_cv_buggygetaddrinfo=no \ - PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config -TCPDUMP_CONF_OPTS = \ - --without-crypto \ - --disable-local-libpcap \ - $(if $(BR2_PACKAGE_TCPDUMP_SMB),--enable-smb,--disable-smb) -TCPDUMP_DEPENDENCIES = libpcap host-pkgconf -TCPDUMP_SELINUX_MODULES = netutils - -# make install installs an unneeded extra copy of the tcpdump binary -define TCPDUMP_REMOVE_DUPLICATED_BINARY - rm -f $(TARGET_DIR)/usr/bin/tcpdump.$(TCPDUMP_VERSION) -endef - -TCPDUMP_POST_INSTALL_TARGET_HOOKS += TCPDUMP_REMOVE_DUPLICATED_BINARY - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tcpreplay/0001-configure-ac-fix-without-libdnet.patch b/buildroot-2021.05/package/tcpreplay/0001-configure-ac-fix-without-libdnet.patch deleted file mode 100644 index 75ed4f94..00000000 --- a/buildroot-2021.05/package/tcpreplay/0001-configure-ac-fix-without-libdnet.patch +++ /dev/null @@ -1,76 +0,0 @@ -From acee9c0c46f71f1f4c33c2dadf69d19e24b90f27 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 13 Aug 2019 20:19:23 +0200 -Subject: [PATCH] configure.ac: fix --without-libdnet - -Allow the user to disable libdnet check through --without-libdnet. -This option is useful to cross-compile tcpreplay to avoid build failures -if libdnet is installed on host but not on target, see -https://bugs.buildroot.org/show_bug.cgi?id=12096 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/appneta/tcpreplay/pull/567] ---- - configure.ac | 48 +++++++++++++++++++++++++----------------------- - 1 file changed, 25 insertions(+), 23 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 39ba58b7..5de3dcb5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1464,30 +1464,32 @@ if test $have_cygwin = no ; then - AC_HELP_STRING([--with-libdnet=DIR], [Use libdnet in DIR]), - [trydnetdir=$withval]) - -- case "$build_os" in -- linux*) -- dnl # Debian/Ubuntu already have a package called libdnet -- dnl # so you the package you want to install libdumbnet-dev -- for testdir in $trydnetdir /usr/local /opt/local /usr ; do -- if test -x ${testdir}/bin/dumbnet-config -a $founddnet = no ; then -- LDNETINC="$($testdir/bin/dumbnet-config --cflags)" -- LDNETLIB="$($testdir/bin/dumbnet-config --libs)" -- libdnet_version="$($testdir/bin/dumbnet-config --version) (libdumbnet)" -- founddnet=$testdir -- fi -- done -- ;; -- esac -+ if test $trydnetdir != no; then -+ case "$build_os" in -+ linux*) -+ dnl # Debian/Ubuntu already have a package called libdnet -+ dnl # so you the package you want to install libdumbnet-dev -+ for testdir in $trydnetdir /usr/local /opt/local /usr ; do -+ if test -x ${testdir}/bin/dumbnet-config -a $founddnet = no ; then -+ LDNETINC="$($testdir/bin/dumbnet-config --cflags)" -+ LDNETLIB="$($testdir/bin/dumbnet-config --libs)" -+ libdnet_version="$($testdir/bin/dumbnet-config --version) (libdumbnet)" -+ founddnet=$testdir -+ fi -+ done -+ ;; -+ esac - -- if test $founddnet = no ; then -- for testdir in $trydnetdir /usr/local /opt/local $MACOSX_SDK_PATH/usr /usr ; do -- if test -x ${testdir}/bin/dnet-config -a $founddnet = no ; then -- LDNETINC="$($testdir/bin/dnet-config --cflags)" -- LDNETLIB="$($testdir/bin/dnet-config --libs)" -- libdnet_version="$($testdir/bin/dnet-config --version)" -- founddnet=$testdir -- fi -- done -+ if test $founddnet = no ; then -+ for testdir in $trydnetdir /usr/local /opt/local $MACOSX_SDK_PATH/usr /usr ; do -+ if test -x ${testdir}/bin/dnet-config -a $founddnet = no ; then -+ LDNETINC="$($testdir/bin/dnet-config --cflags)" -+ LDNETLIB="$($testdir/bin/dnet-config --libs)" -+ libdnet_version="$($testdir/bin/dnet-config --version)" -+ founddnet=$testdir -+ fi -+ done -+ fi - fi - - if test $founddnet = no ; then diff --git a/buildroot-2021.05/package/tcpreplay/tcpreplay.hash b/buildroot-2021.05/package/tcpreplay/tcpreplay.hash deleted file mode 100644 index e83efd78..00000000 --- a/buildroot-2021.05/package/tcpreplay/tcpreplay.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated after checking pgp signature -# https://github.com/appneta/tcpreplay/releases/download/v4.3.3/tcpreplay-4.3.3.tar.xz.asc -# using key 84E4FA215C934A7D97DC76D5E9E2149793BDE17E -sha256 5e960e2a4432f583adbd11fa0855d17b73d9e0f2d6453b749f27aacaee53bab5 tcpreplay-4.3.3.tar.xz -sha256 5971b0c544622f4b210a9cc56436a970685d3b0666e373c09e3cf9304db15d05 docs/LICENSE diff --git a/buildroot-2021.05/package/tcpreplay/tcpreplay.mk b/buildroot-2021.05/package/tcpreplay/tcpreplay.mk deleted file mode 100644 index 9208cb81..00000000 --- a/buildroot-2021.05/package/tcpreplay/tcpreplay.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# tcpreplay -# -################################################################################ - -TCPREPLAY_VERSION = 4.3.3 -TCPREPLAY_SITE = https://github.com/appneta/tcpreplay/releases/download/v$(TCPREPLAY_VERSION) -TCPREPLAY_SOURCE = tcpreplay-$(TCPREPLAY_VERSION).tar.xz -TCPREPLAY_LICENSE = GPL-3.0 -TCPREPLAY_LICENSE_FILES = docs/LICENSE -TCPREPLAY_CPE_ID_VENDOR = tcpreplay -TCPREPLAY_CONF_ENV = \ - ac_cv_path_ac_pt_PCAP_CONFIG="$(STAGING_DIR)/usr/bin/pcap-config" -TCPREPLAY_CONF_OPTS = --with-libpcap=$(STAGING_DIR)/usr \ - --enable-pcapconfig -TCPREPLAY_DEPENDENCIES = libpcap -# We're patching configure.ac -TCPREPLAY_AUTORECONF = YES - -ifeq ($(BR2_STATIC_LIBS),y) -TCPREPLAY_CONF_OPTS += --enable-dynamic-link=no -TCPREPLAY_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`" -endif - -ifeq ($(BR2_PACKAGE_LIBDNET),y) -TCPREPLAY_DEPENDENCIES += libdnet -TCPREPLAY_CONF_OPTS += --with-libdnet=$(STAGING_DIR)/usr -else -TCPREPLAY_CONF_OPTS += --without-libdnet -endif - -ifeq ($(BR2_PACKAGE_TCPDUMP),y) -TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=/usr/sbin/tcpdump -else -TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=no -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/terminology/terminology.hash b/buildroot-2021.05/package/terminology/terminology.hash deleted file mode 100644 index be1d6f42..00000000 --- a/buildroot-2021.05/package/terminology/terminology.hash +++ /dev/null @@ -1,3 +0,0 @@ -# From https://download.enlightenment.org/rel/apps/terminology/terminology-1.9.0.tar.xz.sha256sum -sha256 3f3bc327da5cc239d468570afed29a17e2fda3b1fee02b28f02ee7ed5141e46c terminology-1.9.0.tar.xz -sha256 6863ee700fc82b9c3b82a1627136f6935a9eb68e6a64491f20e00b4023c33622 COPYING diff --git a/buildroot-2021.05/package/terminology/terminology.mk b/buildroot-2021.05/package/terminology/terminology.mk deleted file mode 100644 index c17a6b07..00000000 --- a/buildroot-2021.05/package/terminology/terminology.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# terminology -# -################################################################################ - -TERMINOLOGY_VERSION = 1.9.0 -TERMINOLOGY_SOURCE = terminology-$(TERMINOLOGY_VERSION).tar.xz -TERMINOLOGY_SITE = https://download.enlightenment.org/rel/apps/terminology -TERMINOLOGY_LICENSE = BSD-2-Clause -TERMINOLOGY_LICENSE_FILES = COPYING -TERMINOLOGY_CPE_ID_VENDOR = enlightenment - -TERMINOLOGY_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) efl host-pkgconf -TERMINOLOGY_CONF_OPTS = -Dedje-cc=$(HOST_DIR)/bin/edje_cc - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -TERMINOLOGY_CONF_OPTS += -Dnls=true -else -TERMINOLOGY_CONF_OPTS += -Dnls=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/tesseract-ocr/0001-Fix-timeval-structure-build-failure.patch b/buildroot-2021.05/package/tesseract-ocr/0001-Fix-timeval-structure-build-failure.patch deleted file mode 100644 index 0b0bb1a8..00000000 --- a/buildroot-2021.05/package/tesseract-ocr/0001-Fix-timeval-structure-build-failure.patch +++ /dev/null @@ -1,27 +0,0 @@ -From ea1e1ddfc0af9966a0c613a93087bc3e0a5979a7 Mon Sep 17 00:00:00 2001 -From: Gilles Talis -Date: Fri, 19 Jul 2019 18:52:03 +0200 -Subject: [PATCH] Fix timeval structure build failure - -timeval structure definition requires to be included - -Signed-off-by: Gilles Talis ---- - src/ccutil/ocrclass.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/ccutil/ocrclass.h b/src/ccutil/ocrclass.h -index d39a6dd..2a01118 100644 ---- a/src/ccutil/ocrclass.h -+++ b/src/ccutil/ocrclass.h -@@ -28,6 +28,7 @@ - - #include - #include -+#include - #ifdef _WIN32 - #include // for timeval - #endif --- -2.7.4 - diff --git a/buildroot-2021.05/package/tesseract-ocr/Config.in b/buildroot-2021.05/package/tesseract-ocr/Config.in deleted file mode 100644 index 3afaca77..00000000 --- a/buildroot-2021.05/package/tesseract-ocr/Config.in +++ /dev/null @@ -1,44 +0,0 @@ -comment "tesseract-ocr needs a toolchain w/ threads, C++, gcc >= 4.8, dynamic library, wchar" - depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR - -menuconfig BR2_PACKAGE_TESSERACT_OCR - bool "tesseract-ocr" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS - depends on BR2_USE_WCHAR - select BR2_PACKAGE_LEPTONICA - help - Tesseract is an OCR (Optical Character Recognition) engine, - It can be used directly, or (for programmers) using an API. - It supports a wide variety of languages. - - https://github.com/tesseract-ocr/tesseract - -if BR2_PACKAGE_TESSERACT_OCR - -comment "tesseract-ocr languages support" - -config BR2_PACKAGE_TESSERACT_OCR_LANG_ENG - bool "English" - -config BR2_PACKAGE_TESSERACT_OCR_LANG_FRA - bool "French" - -config BR2_PACKAGE_TESSERACT_OCR_LANG_GER - bool "German" - -config BR2_PACKAGE_TESSERACT_OCR_LANG_SPA - bool "Spanish" - -config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_SIM - bool "Simplified Chinese" - -config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_TRA - bool "Traditional Chinese" - -endif diff --git a/buildroot-2021.05/package/tesseract-ocr/tesseract-ocr.hash b/buildroot-2021.05/package/tesseract-ocr/tesseract-ocr.hash deleted file mode 100644 index 808ea174..00000000 --- a/buildroot-2021.05/package/tesseract-ocr/tesseract-ocr.hash +++ /dev/null @@ -1,9 +0,0 @@ -# locally computed -sha256 2a66ff0d8595bff8f04032165e6c936389b1e5727c3ce5a27b3e059d218db1cb tesseract-ocr-4.1.1.tar.gz -sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE -sha256 daa0c97d651c19fba3b25e81317cd697e9908c8208090c94c3905381c23fc047 eng.traineddata -sha256 eac01c1d72540d6090facb7b2f42dd0a2ee8fc57c5be1b20548ae668e2761913 fra.traineddata -sha256 896b3b4956503ab9daa10285db330881b2d74b70d889b79262cc534b9ec699a4 deu.traineddata -sha256 0b0fcbb4665189e01ab8019e591f014dd7260460de072543edd4b2cb4ede7c96 spa.traineddata -sha256 fc05d89ab31d8b4e226910f16a8bcbf78e43bae3e2580bb5feefd052efdab363 chi_sim.traineddata -sha256 559067dc0f7c94788884742129d66a0117dde7f4ff12b263d92147173497db14 chi_tra.traineddata diff --git a/buildroot-2021.05/package/tesseract-ocr/tesseract-ocr.mk b/buildroot-2021.05/package/tesseract-ocr/tesseract-ocr.mk deleted file mode 100644 index fc083c27..00000000 --- a/buildroot-2021.05/package/tesseract-ocr/tesseract-ocr.mk +++ /dev/null @@ -1,66 +0,0 @@ -################################################################################ -# -# tesseract-ocr -# -################################################################################ - -TESSERACT_OCR_VERSION = 4.1.1 -TESSERACT_OCR_DATA_VERSION = 4.0.0 -TESSERACT_OCR_SITE = $(call github,tesseract-ocr,tesseract,$(TESSERACT_OCR_VERSION)) -TESSERACT_OCR_LICENSE = Apache-2.0 -TESSERACT_OCR_LICENSE_FILES = LICENSE - -# Source from github, no configure script provided -TESSERACT_OCR_AUTORECONF = YES - -# cairo, pango and icu are optional dependencies, but only needed for -# building training tools, which are only built explicitly with "make -# training", which is not done by this package. -TESSERACT_OCR_DEPENDENCIES = leptonica host-pkgconf -TESSERACT_OCR_INSTALL_STAGING = YES -TESSERACT_OCR_CONF_ENV = \ - ac_cv_prog_have_asciidoc=false \ - LIBLEPT_HEADERSDIR=$(STAGING_DIR)/usr/include/leptonica -TESSERACT_OCR_CONF_OPTS = \ - --disable-opencl - -# Language data files download -ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_ENG),y) -TESSERACT_OCR_DATA_FILES += eng.traineddata -endif - -ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_FRA),y) -TESSERACT_OCR_DATA_FILES += fra.traineddata -endif - -ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_DEU),y) -TESSERACT_OCR_DATA_FILES += deu.traineddata -endif - -ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_SPA),y) -TESSERACT_OCR_DATA_FILES += spa.traineddata -endif - -ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_SIM),y) -TESSERACT_OCR_DATA_FILES += chi_sim.traineddata -endif - -ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_TRA),y) -TESSERACT_OCR_DATA_FILES += chi_tra.traineddata -endif - -TESSERACT_OCR_EXTRA_DOWNLOADS = \ - $(addprefix https://github.com/tesseract-ocr/tessdata/raw/$(TESSERACT_OCR_DATA_VERSION)/,\ - $(TESSERACT_OCR_DATA_FILES)) - -# Language data files installation -define TESSERACT_OCR_INSTALL_LANG_DATA - $(foreach langfile,$(TESSERACT_OCR_DATA_FILES), \ - $(INSTALL) -D -m 0644 $(TESSERACT_OCR_DL_DIR)/$(langfile) \ - $(TARGET_DIR)/usr/share/tessdata/$(langfile) - ) -endef - -TESSERACT_OCR_POST_INSTALL_TARGET_HOOKS += TESSERACT_OCR_INSTALL_LANG_DATA - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tftpd/tftpd.hash b/buildroot-2021.05/package/tftpd/tftpd.hash deleted file mode 100644 index c876b2ed..00000000 --- a/buildroot-2021.05/package/tftpd/tftpd.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.kernel.org/pub/software/network/tftp/tftp-hpa/sha256sums.asc -sha256 afee361df96a2f88344e191f6a25480fd714e1d28d176c3f10cc43fa206b718b tftp-hpa-5.2.tar.xz - -# Hash for license file -sha256 5efef82650b8ece733e37790fc70f05e426c9e1ef9640d4ebcb04867bd3f5e28 tftpd/tftpd.c diff --git a/buildroot-2021.05/package/tftpd/tftpd.mk b/buildroot-2021.05/package/tftpd/tftpd.mk deleted file mode 100644 index 494e963d..00000000 --- a/buildroot-2021.05/package/tftpd/tftpd.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# tftpd -# -################################################################################ - -TFTPD_VERSION = 5.2 -TFTPD_SOURCE = tftp-hpa-$(TFTPD_VERSION).tar.xz -TFTPD_SITE = $(BR2_KERNEL_MIRROR)/software/network/tftp/tftp-hpa -TFTPD_CONF_OPTS = --without-tcpwrappers -TFTPD_LICENSE = BSD-4-Clause -TFTPD_LICENSE_FILES = tftpd/tftpd.c -TFTPD_CPE_ID_VENDOR = tftpd-hpa_project -TFTPD_CPE_ID_PRODUCT = tftpd-hpa - -define TFTPD_INSTALL_TARGET_CMDS - $(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp - $(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd -endef - -define TFTPD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/S80tftpd-hpa -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/thermald/0001-thd_trip_point-fix-32-bit-build-error-with-musl-v1.2.patch b/buildroot-2021.05/package/thermald/0001-thd_trip_point-fix-32-bit-build-error-with-musl-v1.2.patch deleted file mode 100644 index db5bc99a..00000000 --- a/buildroot-2021.05/package/thermald/0001-thd_trip_point-fix-32-bit-build-error-with-musl-v1.2.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 074575bf3640485ab6d43ae1efed3eff9cebae13 Mon Sep 17 00:00:00 2001 -From: Naveen Saini -Date: Thu, 5 Mar 2020 13:45:57 +0800 -Subject: [PATCH] thd_trip_point: fix 32-bit build error with musl v1.2.0 - -Error log: - ../git/src/thd_trip_point.cpp: In member function 'bool cthd_trip_point::thd_trip_point_check(int, unsigned int, int, bool*)': -| ../git/src/thd_trip_point.cpp:250:19: error: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t' {aka 'long long int'} [-Werror=format=] -| 250 | thd_log_info("Too early to act zone:%d index %d tm %ld\n", - -musl 1.2.0 have new feature: -time_t is now 64-bit on all archs (not just 64-bit archs) - -Commit id: -https://git.musl-libc.org/cgit/musl/commit/?id=38143339646a4ccce8afe298c34467767c899f51 - -Release note link for musl 1.2.0: -https://git.musl-libc.org/cgit/musl/diff/ - -use %jd and typecast with intmax_t which is maximum width integer type - -Signed-off-by: Naveen Saini -[Upstream: https://github.com/intel/thermal_daemon/commit/a7136682b9e6ebdb53c3c8b472bcd5039d62dc78.patch] -Signed-off-by: Peter Seiderer ---- - src/thd_trip_point.cpp | 10 ++-------- - 1 file changed, 2 insertions(+), 8 deletions(-) - -diff --git a/src/thd_trip_point.cpp b/src/thd_trip_point.cpp -index 46f692d..6358c27 100644 ---- a/src/thd_trip_point.cpp -+++ b/src/thd_trip_point.cpp -@@ -242,15 +242,9 @@ bool cthd_trip_point::thd_trip_point_check(int id, unsigned int read_temp, - time_t tm; - time(&tm); - if ((tm - cdevs[i].last_op_time) < cdevs[i].sampling_priod) { --#if defined __x86_64__ && defined __ILP32__ -- thd_log_info("Too early to act zone:%d index %d tm %lld\n", -+ thd_log_info("Too early to act zone:%d index %d tm %jd\n", - zone_id, cdev->thd_cdev_get_index(), -- tm - cdevs[i].last_op_time); --#else -- thd_log_info("Too early to act zone:%d index %d tm %ld\n", -- zone_id, cdev->thd_cdev_get_index(), -- tm - cdevs[i].last_op_time); --#endif -+ (intmax_t)tm - cdevs[i].last_op_time); - break; - } - cdevs[i].last_op_time = tm; --- -2.29.2 - diff --git a/buildroot-2021.05/package/thermald/Config.in b/buildroot-2021.05/package/thermald/Config.in deleted file mode 100644 index f32a4b27..00000000 --- a/buildroot-2021.05/package/thermald/Config.in +++ /dev/null @@ -1,23 +0,0 @@ -config BR2_PACKAGE_THERMALD - bool "thermald" - depends on BR2_i386 || BR2_x86_64 # needs - depends on BR2_USE_MMU # uses fork() - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2, dbus - depends on BR2_USE_WCHAR # dbus-glib -> glib2 - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_DBUS_GLIB - select BR2_PACKAGE_LIBXML2 - help - Thermal Daemon is a Linux daemon for monitoring and - controlling platform temperatures. Once the system temperature - reaches a certain threshold, the Linux daemon activates - various cooling methods to try to cool the system. - - https://01.org/linux-thermal-daemon - -comment "thermald needs a toolchain w/ C++, wchar, threads" - depends on BR2_i386 || BR2_x86_64 - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/thermald/thermald.hash b/buildroot-2021.05/package/thermald/thermald.hash deleted file mode 100644 index 34094ac8..00000000 --- a/buildroot-2021.05/package/thermald/thermald.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 aaf5ffdc12344eef2417b41b433094bb30e4ebf321f0140b090f97bfcf24ea1f thermald-1.9.1.tar.gz -sha256 e98be8bc482e038a14bfbc01caf800bbd0024fff275ef14cd999db6560254a8d COPYING diff --git a/buildroot-2021.05/package/thermald/thermald.mk b/buildroot-2021.05/package/thermald/thermald.mk deleted file mode 100644 index 5619258c..00000000 --- a/buildroot-2021.05/package/thermald/thermald.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# thermald -# -################################################################################ - -THERMALD_VERSION = 1.9.1 -THERMALD_SITE = $(call github,intel,thermal_daemon,v$(THERMALD_VERSION)) -# fetched from Github, with no configure script -THERMALD_AUTORECONF = YES -THERMALD_DEPENDENCIES = dbus dbus-glib libxml2 $(TARGET_NLS_DEPENDENCIES) -# tools are GPL-3.0+ but are not added to the target -THERMALD_LICENSE = GPL-2.0+ -THERMALD_LICENSE_FILES = COPYING -THERMALD_CPE_ID_VENDOR = intel -THERMALD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) - -ifeq ($(BR2_INIT_SYSTEMD),y) -THERMALD_DEPENDENCIES += systemd -THERMALD_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/thrift/thrift.hash b/buildroot-2021.05/package/thrift/thrift.hash deleted file mode 100644 index f342dc34..00000000 --- a/buildroot-2021.05/package/thrift/thrift.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.apache.org/dist/thrift/0.13.0/thrift-0.13.0.tar.gz.sha256 -sha256 7ad348b88033af46ce49148097afe354d513c1fca7c607b59c33ebb6064b5179 thrift-0.13.0.tar.gz -# License files, locally calculated -sha256 23df881cec3192d1f4474633c14eb2ec30a45b84f8daeb82b9de5d2bd3ac8218 LICENSE diff --git a/buildroot-2021.05/package/thrift/thrift.mk b/buildroot-2021.05/package/thrift/thrift.mk deleted file mode 100644 index 0f2a8eb0..00000000 --- a/buildroot-2021.05/package/thrift/thrift.mk +++ /dev/null @@ -1,70 +0,0 @@ -################################################################################ -# -# thrift -# -################################################################################ - -THRIFT_VERSION = 0.13.0 -THRIFT_SITE = http://www.us.apache.org/dist/thrift/$(THRIFT_VERSION) -THRIFT_LICENSE = Apache-2.0 -THRIFT_LICENSE_FILES = LICENSE -THRIFT_CPE_ID_VENDOR = apache - -THRIFT_DEPENDENCIES = host-pkgconf host-thrift boost \ - libevent openssl zlib -THRIFT_INSTALL_STAGING = YES -HOST_THRIFT_DEPENDENCIES = host-bison host-boost \ - host-flex host-libevent host-openssl host-pkgconf host-zlib - -THRIFT_COMMON_CONF_OPTS = -DBUILD_TUTORIALS=OFF \ - -DBUILD_TESTING=OFF \ - -DWITH_PYTHON=OFF \ - -DWITH_JAVA=OFF \ - -DWITH_QT4=OFF \ - -DWITH_QT5=OFF - -THRIFT_CONF_OPTS = $(THRIFT_COMMON_CONF_OPTS) -DBUILD_COMPILER=OFF -HOST_THRIFT_CONF_OPTS = $(THRIFT_COMMON_CONF_OPTS) -DBUILD_COMPILER=ON - -# relocation truncated to fit: R_68K_GOT16O -ifeq ($(BR2_m68k_cf),y) -THRIFT_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -mxgot" -endif - -# thrift doesn't use the regular flags BUILD_{STATIC,SHARED}_LIBS -ifeq ($(BR2_STATIC_LIBS),y) -THRIFT_CONF_OPTS += -DWITH_STATIC_LIB=ON -DWITH_BOOST_STATIC=ON -DWITH_SHARED_LIB=OFF -else ifeq ($(BR2_SHARED_LIBS),y) -THRIFT_CONF_OPTS += -DWITH_STATIC_LIB=OFF -DWITH_BOOST_STATIC=OFF -DWITH_SHARED_LIB=ON -else -# BR2_SHARED_STATIC_LIBS -THRIFT_CONF_OPTS += -DWITH_STATIC_LIB=ON -DWITH_BOOST_STATIC=OFF -DWITH_SHARED_LIB=ON -endif - -# Language selection for the compiler -HOST_THRIFT_CONF_OPTS += -DTHRIFT_COMPILER_CSHARP=OFF \ - -DTHRIFT_COMPILER_JAVA=OFF \ - -DTHRIFT_COMPILER_ERL=OFF \ - -DTHRIFT_COMPILER_PY=OFF \ - -DTHRIFT_COMPILER_PERL=OFF \ - -DTHRIFT_COMPILER_PHP=OFF \ - -DTHRIFT_COMPILER_RB=OFF \ - -DTHRIFT_COMPILER_HS=OFF \ - -DTHRIFT_COMPILER_GO=OFF \ - -DTHRIFT_COMPILER_D=OFF \ - -DTHRIFT_COMPILER_LUA=OFF \ - -DBUILD_C_GLIB=OFF - -# C bindings -ifeq ($(BR2_PACKAGE_LIBGLIB2),y) -THRIFT_DEPENDENCIES += libglib2 -THRIFT_CONF_OPTS += -DBUILD_C_GLIB=ON -else -THRIFT_CONF_OPTS += -DBUILD_C_GLIB=OFF -endif - -$(eval $(cmake-package)) -$(eval $(host-cmake-package)) - -# to be used by other packages -THRIFT = $(HOST_DIR)/bin/thrift diff --git a/buildroot-2021.05/package/ti-sgx-um/Config.in b/buildroot-2021.05/package/ti-sgx-um/Config.in deleted file mode 100644 index b97469a3..00000000 --- a/buildroot-2021.05/package/ti-sgx-um/Config.in +++ /dev/null @@ -1,40 +0,0 @@ -comment "ti-sgx-um needs the ti-sgx-km driver" - depends on !BR2_PACKAGE_TI_SGX_KM - -comment "ti-sgx-um needs udev and a glibc toolchain w/ threads" - depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC \ - || !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_TI_SGX_UM - bool "ti-sgx-um" - depends on BR2_PACKAGE_TI_SGX_KM - depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm - depends on BR2_PACKAGE_HAS_UDEV - # pre-built binaries - depends on BR2_TOOLCHAIN_USES_GLIBC - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_LIBDRM_OMAP - select BR2_PACKAGE_HAS_LIBEGL - select BR2_PACKAGE_HAS_LIBGLES - select BR2_PACKAGE_HAS_POWERVR - select BR2_PACKAGE_LIBFFI - select BR2_PACKAGE_WAYLAND - help - Graphics libraries for TI CPUs with SGX5xx GPU. - This package supports AM335x, AM437x, AM4430 and AM5430. - For older CPUs or kernels use the ti-gfx package. - - https://git.ti.com/cgit/graphics/omap5-sgx-ddk-um-linux - -if BR2_PACKAGE_TI_SGX_UM - -config BR2_PACKAGE_PROVIDES_LIBEGL - default "ti-sgx-um" - -config BR2_PACKAGE_PROVIDES_LIBGLES - default "ti-sgx-um" - -config BR2_PACKAGE_PROVIDES_POWERVR - default "ti-sgx-um" - -endif diff --git a/buildroot-2021.05/package/ti-sgx-um/ti-sgx-um.mk b/buildroot-2021.05/package/ti-sgx-um/ti-sgx-um.mk deleted file mode 100644 index 83dbc680..00000000 --- a/buildroot-2021.05/package/ti-sgx-um/ti-sgx-um.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# ti-sgx-um -# -################################################################################ - -# This corresponds to SDK 06.01.00.08 -TI_SGX_UM_VERSION = 909e237baf47d0bde006ff25552f5403fd7e359d -TI_SGX_UM_SITE = http://git.ti.com/git/graphics/omap5-sgx-ddk-um-linux.git -TI_SGX_UM_SITE_METHOD = git -TI_SGX_UM_LICENSE = TI TSPA License -TI_SGX_UM_LICENSE_FILES = TI-Linux-Graphics-DDK-UM-Manifest.doc -TI_SGX_UM_INSTALL_STAGING = YES -TI_SGX_UM_TARGET=ti335x - -# ti-sgx-um is a egl/gles provider only if libdrm is installed -TI_SGX_UM_DEPENDENCIES = libdrm wayland - -define TI_SGX_UM_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) \ - TARGET_PRODUCT=$(TI_SGX_UM_TARGET) install -endef - -define TI_SGX_UM_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) \ - TARGET_PRODUCT=$(TI_SGX_UM_TARGET) install -endef - -TI_SGX_UM_POST_INSTALL_TARGET_HOOKS += TI_SGX_UM_INSTALL_CONF - -define TI_SGX_UM_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/ti-sgx-um/S80ti-sgx \ - $(TARGET_DIR)/etc/init.d/S80ti-sgx -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/tiff/tiff.hash b/buildroot-2021.05/package/tiff/tiff.hash deleted file mode 100644 index 472ec40e..00000000 --- a/buildroot-2021.05/package/tiff/tiff.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 eb0484e568ead8fa23b513e9b0041df7e327f4ee2d22db5a533929dfc19633cb tiff-4.2.0.tar.gz -sha256 fbd6fed7938541d2c809c0826225fc85e551fdbfa8732b10f0c87e0847acafd7 COPYRIGHT diff --git a/buildroot-2021.05/package/tiff/tiff.mk b/buildroot-2021.05/package/tiff/tiff.mk deleted file mode 100644 index c3d80451..00000000 --- a/buildroot-2021.05/package/tiff/tiff.mk +++ /dev/null @@ -1,94 +0,0 @@ -################################################################################ -# -# tiff -# -################################################################################ - -TIFF_VERSION = 4.2.0 -TIFF_SITE = http://download.osgeo.org/libtiff -TIFF_LICENSE = tiff license -TIFF_LICENSE_FILES = COPYRIGHT -TIFF_CPE_ID_VENDOR = libtiff -TIFF_CPE_ID_PRODUCT = libtiff -TIFF_INSTALL_STAGING = YES -TIFF_CONF_OPTS = \ - --disable-cxx \ - --without-x - -TIFF_DEPENDENCIES = host-pkgconf - -HOST_TIFF_CONF_OPTS = \ - --disable-cxx \ - --without-x \ - --disable-zlib \ - --disable-lzma \ - --disable-jpeg -HOST_TIFF_DEPENDENCIES = host-pkgconf - -ifneq ($(BR2_PACKAGE_TIFF_CCITT),y) -TIFF_CONF_OPTS += --disable-ccitt -endif - -ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y) -TIFF_CONF_OPTS += --disable-packbits -endif - -ifneq ($(BR2_PACKAGE_TIFF_LZW),y) -TIFF_CONF_OPTS += --disable-lzw -endif - -ifneq ($(BR2_PACKAGE_TIFF_THUNDER),y) -TIFF_CONF_OPTS += --disable-thunder -endif - -ifneq ($(BR2_PACKAGE_TIFF_NEXT),y) -TIFF_CONF_OPTS += --disable-next -endif - -ifneq ($(BR2_PACKAGE_TIFF_LOGLUV),y) -TIFF_CONF_OPTS += --disable-logluv -endif - -ifneq ($(BR2_PACKAGE_TIFF_MDI),y) -TIFF_CONF_OPTS += --disable-mdi -endif - -ifneq ($(BR2_PACKAGE_TIFF_ZLIB),y) -TIFF_CONF_OPTS += --disable-zlib -else -TIFF_DEPENDENCIES += zlib -endif - -ifneq ($(BR2_PACKAGE_TIFF_XZ),y) -TIFF_CONF_OPTS += --disable-lzma -else -TIFF_DEPENDENCIES += xz -endif - -ifneq ($(BR2_PACKAGE_TIFF_PIXARLOG),y) -TIFF_CONF_OPTS += --disable-pixarlog -endif - -ifneq ($(BR2_PACKAGE_TIFF_JPEG),y) -TIFF_CONF_OPTS += --disable-jpeg -else -TIFF_DEPENDENCIES += jpeg -endif - -ifneq ($(BR2_PACKAGE_TIFF_OLD_JPEG),y) -TIFF_CONF_OPTS += --disable-old-jpeg -endif - -ifneq ($(BR2_PACKAGE_TIFF_JBIG),y) -TIFF_CONF_OPTS += --disable-jbig -endif - -TIFF_SUBDIRS = port libtiff -ifeq ($(BR2_PACKAGE_TIFF_UTILITIES),y) -TIFF_SUBDIRS += tools -endif - -TIFF_MAKE = $(MAKE) SUBDIRS="$(TIFF_SUBDIRS)" - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/timescaledb/timescaledb.hash b/buildroot-2021.05/package/timescaledb/timescaledb.hash deleted file mode 100644 index 98f966ee..00000000 --- a/buildroot-2021.05/package/timescaledb/timescaledb.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 e928c939803706d0d5b11d6751d4f0d0514e540ceffc74a46a9732f9a111d313 timescaledb-2.1.1.tar.gz -sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE diff --git a/buildroot-2021.05/package/timescaledb/timescaledb.mk b/buildroot-2021.05/package/timescaledb/timescaledb.mk deleted file mode 100644 index d2a48a0f..00000000 --- a/buildroot-2021.05/package/timescaledb/timescaledb.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# timescaledb -# -################################################################################ - -TIMESCALEDB_VERSION = 2.1.1 -TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) -TIMESCALEDB_LICENSE = Apache-2.0 -TIMESCALEDB_LICENSE_FILES = LICENSE - -TIMESCALEDB_DEPENDENCIES = postgresql - -# The PG_CPPFLAGS, PG_CFLAGS, PG_LDFLAGS and PG_LIBS variables must be -# non-empty, otherwise CMake will call the pg_config script, and our -# pg_config replacement doesn't implement --cppflags --cflags -# --ldflags and --libs. -TIMESCALEDB_CONF_OPTS = \ - -DREGRESS_CHECKS=OFF \ - -DWARNINGS_AS_ERRORS=OFF \ - -DPG_PKGLIBDIR=lib/postgresql \ - -DPG_SHAREDIR=share/postgresql \ - -DPG_BINDIR=bin \ - -DPG_CPPFLAGS="$(TARGET_CPPFLAGS) " \ - -DPG_CFLAGS="$(TARGET_CFLAGS) " \ - -DPG_LDFLAGS="$(TARGET_LDFLAGS) " \ - -DPG_LIBS=" " - -# There's no dependency on the OpenSSL package, because USE_OPENSSL -# only tells if postgresql was built with OpenSSL support or not. -ifeq ($(BR2_PACKAGE_OPENSSL),y) -TIMESCALEDB_CONF_OPTS += -DUSE_OPENSSL=1 -else -TIMESCALEDB_CONF_OPTS += -DUSE_OPENSSL=0 -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/tinyalsa/0001-disable-doxygen-usage.patch b/buildroot-2021.05/package/tinyalsa/0001-disable-doxygen-usage.patch deleted file mode 100644 index ed939fb9..00000000 --- a/buildroot-2021.05/package/tinyalsa/0001-disable-doxygen-usage.patch +++ /dev/null @@ -1,35 +0,0 @@ -Disable doxygen usage - -In order to avoid a dependency on doxygen on the build machine, this -patch adjusts the main Makefile to not build and install the -documentation. - -[Vincent: tweak patch for 1.1.1 version] - -Signed-off-by: Thomas Petazzoni -Signed-off-by: Vicente Olivert Riera - -diff -rup a/Makefile b/Makefile ---- a/Makefile 2017-05-24 05:23:57.000000000 +0100 -+++ b/Makefile 2017-05-25 10:35:20.781747053 +0100 -@@ -11,14 +11,12 @@ export MANDIR ?= $(PREFIX)/share/man - all: - $(MAKE) -C src - $(MAKE) -C utils -- $(MAKE) -C doxygen - $(MAKE) -C examples - - .PHONY: clean - clean: - $(MAKE) -C src clean - $(MAKE) -C utils clean -- $(MAKE) -C doxygen clean - $(MAKE) -C examples clean - - .PHONY: install -@@ -30,5 +28,4 @@ install: - install include/tinyalsa/version.h $(DESTDIR)$(INCDIR)/ - $(MAKE) -C src install - $(MAKE) -C utils install -- $(MAKE) -C doxygen install - diff --git a/buildroot-2021.05/package/tinyalsa/0002-interval.h-add-missing-header.patch b/buildroot-2021.05/package/tinyalsa/0002-interval.h-add-missing-header.patch deleted file mode 100644 index c043145b..00000000 --- a/buildroot-2021.05/package/tinyalsa/0002-interval.h-add-missing-header.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 685e530d8a0063134642371eaacd01fee2f62d85 Mon Sep 17 00:00:00 2001 -From: Baruch Siach -Date: Fri, 2 Jun 2017 12:19:03 +0300 -Subject: [PATCH] interval.h: add missing header - -The ssize_t type requires the unistd.h header. This fixes build with musl -libc: - -In file included from ../include/tinyalsa/limits.h:32:0, - from limits.c:1: -../include/tinyalsa/interval.h:38:2: error: unknown type name 'ssize_t' - ssize_t max; - ^ - -Signed-off-by: Baruch Siach ---- -Upstream status: https://github.com/tinyalsa/tinyalsa/pull/98 - - include/tinyalsa/interval.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/include/tinyalsa/interval.h b/include/tinyalsa/interval.h -index 3f6f3dce5d90..068571df5a63 100644 ---- a/include/tinyalsa/interval.h -+++ b/include/tinyalsa/interval.h -@@ -30,6 +30,7 @@ - #define TINYALSA_INTERVAL_H - - #include -+#include - - /** A closed range signed interval. */ - --- -2.11.0 - diff --git a/buildroot-2021.05/package/tinyalsa/tinyalsa.hash b/buildroot-2021.05/package/tinyalsa/tinyalsa.hash deleted file mode 100644 index d078bab5..00000000 --- a/buildroot-2021.05/package/tinyalsa/tinyalsa.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 d92b438cea348ae316c4b2cbf367b4f01ed821a947e6a34d813624e9e3c936c1 tinyalsa-1.1.1.tar.gz -sha256 ca2b89a68c33fba3c8bcaec96f32907e2ede0eb33688ae61d29ec49732158f6d NOTICE diff --git a/buildroot-2021.05/package/tinyalsa/tinyalsa.mk b/buildroot-2021.05/package/tinyalsa/tinyalsa.mk deleted file mode 100644 index bd9d9a00..00000000 --- a/buildroot-2021.05/package/tinyalsa/tinyalsa.mk +++ /dev/null @@ -1,33 +0,0 @@ -################################################################################ -# -# tinyalsa -# -################################################################################ - -TINYALSA_VERSION = 1.1.1 -TINYALSA_SITE = $(call github,tinyalsa,tinyalsa,$(TINYALSA_VERSION)) -TINYALSA_LICENSE = BSD-3-Clause -TINYALSA_LICENSE_FILES = NOTICE -TINYALSA_INSTALL_STAGING = YES - -define TINYALSA_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) -endef - -define TINYALSA_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) \ - -C $(@D) \ - PREFIX="/usr" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - DESTDIR="$(STAGING_DIR)" install -endef - -define TINYALSA_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) \ - -C $(@D) \ - PREFIX="/usr" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - DESTDIR="$(TARGET_DIR)" install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/tinycbor/0001-Enable-build-for-different-c-libraries.patch b/buildroot-2021.05/package/tinycbor/0001-Enable-build-for-different-c-libraries.patch deleted file mode 100644 index 40f92886..00000000 --- a/buildroot-2021.05/package/tinycbor/0001-Enable-build-for-different-c-libraries.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 085ca40781f7c39febe6d14fb7e5cba342e1804b Mon Sep 17 00:00:00 2001 -From: Ricardo Crudo -Date: Sat, 30 May 2020 22:03:01 +0200 -Subject: [PATCH] Enable build for different c libraries - -The open_memstream.c was using GLIBC macro definition to test if the -library is building on a Linux box. This makes impossible to build -tinycbor against other C libraries, as musl for example. - -Signed-off-by: Ricardo Crudo -[Retrieved from: -https://github.com/intel/tinycbor/commit/085ca40781f7c39febe6d14fb7e5cba342e1804b] -Signed-off-by: Fabrice Fontaine ---- - src/open_memstream.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/open_memstream.c b/src/open_memstream.c -index 18f3de8..3365378 100644 ---- a/src/open_memstream.c -+++ b/src/open_memstream.c -@@ -38,7 +38,7 @@ - #ifdef __APPLE__ - typedef int RetType; - typedef int LenType; --#elif __GLIBC__ -+#elif __linux__ - typedef ssize_t RetType; - typedef size_t LenType; - #else -@@ -101,7 +101,7 @@ FILE *open_memstream(char **bufptr, size_t *lenptr) - - #ifdef __APPLE__ - return funopen(b, NULL, write_to_buffer, NULL, close_buffer); --#elif __GLIBC__ -+#elif __linux__ - static const cookie_io_functions_t vtable = { - NULL, - write_to_buffer, diff --git a/buildroot-2021.05/package/tinycbor/tinycbor.hash b/buildroot-2021.05/package/tinycbor/tinycbor.hash deleted file mode 100644 index 8ff706bb..00000000 --- a/buildroot-2021.05/package/tinycbor/tinycbor.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 956eb4b670ea4969eaee67395b5bb6437b153960385b77357d6692e979d1b12d tinycbor-0.5.3.tar.gz -sha256 3c6ba0b5bfa7830505301ffb336a17b0748e0d61c4d34216e9dc98f10e40395e LICENSE diff --git a/buildroot-2021.05/package/tinycbor/tinycbor.mk b/buildroot-2021.05/package/tinycbor/tinycbor.mk deleted file mode 100644 index ef095ea6..00000000 --- a/buildroot-2021.05/package/tinycbor/tinycbor.mk +++ /dev/null @@ -1,45 +0,0 @@ -################################################################################ -# -# tinycbor -# -################################################################################ - -TINYCBOR_VERSION = 0.5.3 -TINYCBOR_SITE = $(call github,intel,tinycbor,v$(TINYCBOR_VERSION)) -TINYCBOR_LICENSE = MIT -TINYCBOR_LICENSE_FILES = LICENSE - -TINYCBOR_DEPENDENCIES = host-pkgconf -TINYCBOR_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_CJSON),y) -TINYCBOR_DEPENDENCIES += cjson -endif - -TINYCBOR_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) V=1 - -ifeq ($(BR2_STATIC_LIBS),y) -TINYCBOR_MAKE_OPTS += BUILD_STATIC=1 BUILD_SHARED=0 -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -TINYCBOR_MAKE_OPTS += BUILD_STATIC=1 BUILD_SHARED=1 -else ifeq ($(BR2_SHARED_LIBS),y) -TINYCBOR_MAKE_OPTS += BUILD_STATIC=0 BUILD_SHARED=1 -endif - -# disabled parallel build because of build failures while -# producing the .config file -define TINYCBOR_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE1) $(TINYCBOR_MAKE_OPTS) -C $(@D) -endef - -define TINYCBOR_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D) \ - DESTDIR=$(STAGING_DIR) prefix=/usr install -endef - -define TINYCBOR_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D) \ - DESTDIR=$(TARGET_DIR) prefix=/usr install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/tinydtls/tinydtls.mk b/buildroot-2021.05/package/tinydtls/tinydtls.mk deleted file mode 100644 index 6d839bc0..00000000 --- a/buildroot-2021.05/package/tinydtls/tinydtls.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# tinydtls -# -################################################################################ - -TINYDTLS_VERSION = 0.9-rc1 -TINYDTLS_SITE = $(call github,eclipse,tinydtls,v$(TINYDTLS_VERSION)) -TINYDTLS_LICENSE = EPL-1.0 or EDL-1.0 -TINYDTLS_LICENSE_FILES = LICENSE -TINYDTLS_CPE_ID_VENDOR = eclipse -TINYDTLS_INSTALL_STAGING = YES -TINYDTLS_DEPENDENCIES = host-pkgconf -# From git -TINYDTLS_AUTORECONF = YES -# use inttypes.h data types instead of u_intXX_t for musl compatibility -TINYDTLS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DSHA2_USE_INTTYPES_H" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tinyproxy/tinyproxy.hash b/buildroot-2021.05/package/tinyproxy/tinyproxy.hash deleted file mode 100644 index 80967415..00000000 --- a/buildroot-2021.05/package/tinyproxy/tinyproxy.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 a23a8f647f622f01e51b93fa882ea5a15c20e026d45c3aafa81ec579e464daf7 tinyproxy-1.10.0.tar.bz2 -sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2021.05/package/tinyproxy/tinyproxy.mk b/buildroot-2021.05/package/tinyproxy/tinyproxy.mk deleted file mode 100644 index 326bfa8b..00000000 --- a/buildroot-2021.05/package/tinyproxy/tinyproxy.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# tinyproxy -# -################################################################################ - -TINYPROXY_VERSION = 1.10.0 -TINYPROXY_SITE = https://github.com/tinyproxy/tinyproxy/releases/download/$(TINYPROXY_VERSION) -TINYPROXY_SOURCE = tinyproxy-$(TINYPROXY_VERSION).tar.bz2 -TINYPROXY_LICENSE = GPL-2.0+ -TINYPROXY_LICENSE_FILES = COPYING -TINYPROXY_CPE_ID_VENDOR = tinyproxy_project -TINYPROXY_CONF_ENV = ac_cv_path_A2X=no - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tinyssh/tinyssh.hash b/buildroot-2021.05/package/tinyssh/tinyssh.hash deleted file mode 100644 index 99ee4afa..00000000 --- a/buildroot-2021.05/package/tinyssh/tinyssh.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 65a7dc785861a09399419a1e7c42cddf66f32dc233a33277327b11f1bd8a772c tinyssh-7e2b4025bf3a2dae4c6617e3eb39df4bcde37454.tar.gz -sha256 b5dc19477e29f4111e1c16cd89ec0782f5a07b1a30e3bdb7c155425b81b12c46 LICENCE diff --git a/buildroot-2021.05/package/tinyssh/tinyssh.mk b/buildroot-2021.05/package/tinyssh/tinyssh.mk deleted file mode 100644 index 6f22be6c..00000000 --- a/buildroot-2021.05/package/tinyssh/tinyssh.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# tinyssh -# -################################################################################ - -TINYSSH_VERSION = 7e2b4025bf3a2dae4c6617e3eb39df4bcde37454 -TINYSSH_SITE = $(call github,janmojzis,tinyssh,$(TINYSSH_VERSION)) -TINYSSH_LICENSE = Public Domain, CC0-1.0 -TINYSSH_LICENSE_FILES = LICENCE - -define TINYSSH_BUILD_CMDS - $(TARGET_MAKE_ENV) CC="$(TARGET_CC)" $(MAKE) -C $(@D) cross-compile -endef - -define TINYSSH_INSTALL_TARGET_CMDS - $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/tinyxml/tinyxml.mk b/buildroot-2021.05/package/tinyxml/tinyxml.mk deleted file mode 100644 index 15280517..00000000 --- a/buildroot-2021.05/package/tinyxml/tinyxml.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# tinyxml -# -################################################################################ - -TINYXML_VERSION = 2.6.2_2 -TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources -# AUTORECONF is needed because the XBMC's version of TinyXML contains a -# configure.ac which is not present in mainline. -TINYXML_AUTORECONF = YES -TINYXML_INSTALL_STAGING = YES -TINYXML_LICENSE = Zlib -TINYXML_LICENSE_FILES = README - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tinyxml2/tinyxml2.hash b/buildroot-2021.05/package/tinyxml2/tinyxml2.hash deleted file mode 100644 index 3c59d159..00000000 --- a/buildroot-2021.05/package/tinyxml2/tinyxml2.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 6ce574fbb46751842d23089485ae73d3db12c1b6639cda7721bf3a7ee862012c tinyxml2-8.0.0.tar.gz -sha256 9332252e9b9e46db8285d4a3f0bf25f139bf1dca6781b956d57f2302efca6432 LICENSE.txt diff --git a/buildroot-2021.05/package/tinyxml2/tinyxml2.mk b/buildroot-2021.05/package/tinyxml2/tinyxml2.mk deleted file mode 100644 index d760d54a..00000000 --- a/buildroot-2021.05/package/tinyxml2/tinyxml2.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# tinyxml2 -# -################################################################################ - -TINYXML2_VERSION = 8.0.0 -TINYXML2_SITE = $(call github,leethomason,tinyxml2,$(TINYXML2_VERSION)) -TINYXML2_LICENSE = Zlib -TINYXML2_LICENSE_FILES = LICENSE.txt -TINYXML2_INSTALL_STAGING = YES -TINYXML2_CPE_ID_VENDOR = tinyxml2_project - -ifeq ($(BR2_STATIC_LIBS),y) -TINYXML2_CONF_OPTS += -DBUILD_STATIC_LIBS=ON -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/tk/tk.hash b/buildroot-2021.05/package/tk/tk.hash deleted file mode 100644 index 5fc0b6fc..00000000 --- a/buildroot-2021.05/package/tk/tk.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 d62c371a71b4744ed830e3c21d27968c31dba74dd2c45f36b9b071e6d88eb19d tk8.6.6-src.tar.gz -sha256 2cde822b93ca16ae535c954b7dfe658b4ad10df2a193628d1b358f1765e8b198 license.terms diff --git a/buildroot-2021.05/package/tk/tk.mk b/buildroot-2021.05/package/tk/tk.mk deleted file mode 100644 index 102d3685..00000000 --- a/buildroot-2021.05/package/tk/tk.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# tk -# -################################################################################ - -TK_VERSION_MAJOR = 8.6 -TK_VERSION = $(TK_VERSION_MAJOR).6 -TK_SOURCE = tk$(TK_VERSION)-src.tar.gz -TK_SITE = http://downloads.sourceforge.net/project/tcl/Tcl/$(TK_VERSION) -TK_LICENSE = TCL -TK_LICENSE_FILES = license.terms -TK_SUBDIR = unix -TK_INSTALL_STAGING = YES - -TK_DEPENDENCIES = tcl xlib_libX11 xlib_libXft - -# hopefully our strtod is not buggy -TK_CONF_ENV = tcl_cv_strtod_buggy=no - -TK_CONF_OPTS = --disable-rpath \ - --with-tcl=$(BUILD_DIR)/tcl-$(TCL_VERSION)/unix \ - --x-includes=$(STAGING_DIR)/usr/include \ - --x-libraries=$(STAGING_DIR)/usr/lib - -define TK_WISH_SYMLINK - ln -sf /usr/bin/wish$(TK_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/wish -endef -TK_POST_INSTALL_TARGET_HOOKS += TK_WISH_SYMLINK - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tor/0001-Fix-static-linking-with-OpenSSL.patch b/buildroot-2021.05/package/tor/0001-Fix-static-linking-with-OpenSSL.patch deleted file mode 100644 index 8385c289..00000000 --- a/buildroot-2021.05/package/tor/0001-Fix-static-linking-with-OpenSSL.patch +++ /dev/null @@ -1,94 +0,0 @@ -From ba6b8ee5b6dee19493a150c3715b0e202440d206 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Thu, 24 Jan 2019 18:19:51 +0100 -Subject: [PATCH] Fix static linking with OpenSSL - -Adjust link order of libz to solve bug with static linking -and remove host paths when looking for openssl. - -[Vincent: - - Adapt the patch to make it apply on the new version.] -[Bernd: rebased for tor-0.2.7.6, 0.2.8.10, 0.2.9.9, 0.3.1.7, 0.3.2.10, - 0.3.4.8, 0.3.5.7, 0.4.4.5 & 0.4.5.6] -[Fabrice: fix detection of openssl functions in 0.3.5.8] -Signed-off-by: Vicente Olivert Riera -Signed-off-by: Bernd Kuhls -Signed-off-by: Fabrice Fontaine ---- - configure.ac | 4 ++-- - src/test/include.am | 8 ++++---- - src/tools/include.am | 4 ++-- - 4 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 05e1392cf..580befa6b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1056,7 +1056,7 @@ AC_ARG_WITH(ssl-dir, - ]) - - AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1]) --TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], -+TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto -lz $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], - [#include - char *getenv(const char *);], - [struct ssl_cipher_st; -@@ -1086,7 +1086,7 @@ dnl Now check for particular openssl functions. - save_LIBS="$LIBS" - save_LDFLAGS="$LDFLAGS" - save_CPPFLAGS="$CPPFLAGS" --LIBS="$TOR_OPENSSL_LIBS $LIBS" -+LIBS="$TOR_OPENSSL_LIBS -lz $LIBS" - LDFLAGS="$TOR_LDFLAGS_openssl $LDFLAGS" - CPPFLAGS="$TOR_CPPFLAGS_openssl $CPPFLAGS" - -diff --git a/src/test/include.am b/src/test/include.am -index ecb768957..39a622e88 100644 ---- a/src/test/include.am -+++ b/src/test/include.am -@@ -404,8 +404,8 @@ src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_ntor_cl_LDADD = \ - libtor.a \ - $(rust_ldadd) \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ - @CURVE25519_LIBS@ @TOR_LZMA_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -@@ -414,8 +414,8 @@ - src_test_test_hs_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) - src_test_test_hs_ntor_cl_LDADD = \ - libtor.a \ -- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ -- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ -+ @TOR_LIB_MATH@ \ -+ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ - @CURVE25519_LIBS@ @TOR_TRACE_LIBS@ - src_test_test_hs_ntor_cl_AM_CPPFLAGS = \ - $(AM_CPPFLAGS) -diff --git a/src/tools/include.am b/src/tools/include.am -index f7aa7e0d1..4c4e8aa7a 100644 ---- a/src/tools/include.am -+++ b/src/tools/include.am -@@ -35,7 +35,7 @@ src_tools_tor_gencert_LDADD = \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ - $(rust_ldadd) \ -- @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@ - endif - -@@ -45,7 +45,7 @@ src_tools_tor_print_ed_signing_cert_LDADD = \ - src/trunnel/libor-trunnel.a \ - $(TOR_CRYPTO_LIBS) \ - $(TOR_UTIL_LIBS) \ -- @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \ -+ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ - @TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ - - if USE_NSS --- -2.20.1 diff --git a/buildroot-2021.05/package/tor/tor.hash b/buildroot-2021.05/package/tor/tor.hash deleted file mode 100644 index dd20bbc9..00000000 --- a/buildroot-2021.05/package/tor/tor.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 57ded091e8bcdcebb0013fe7ef4a4439827cb169358c7874fd05fa00d813e227 tor-0.4.5.8.tar.gz -sha256 47b54ed17e8fdcab3c44729a1789a09b208f9a63a845a7e50def9df729eebad0 LICENSE diff --git a/buildroot-2021.05/package/tor/tor.mk b/buildroot-2021.05/package/tor/tor.mk deleted file mode 100644 index 4a16967d..00000000 --- a/buildroot-2021.05/package/tor/tor.mk +++ /dev/null @@ -1,76 +0,0 @@ -################################################################################ -# -# tor -# -################################################################################ - -TOR_VERSION = 0.4.5.8 -TOR_SITE = https://dist.torproject.org -TOR_LICENSE = BSD-3-Clause -TOR_LICENSE_FILES = LICENSE -TOR_CPE_ID_VENDOR = torproject -TOR_DEPENDENCIES = libevent openssl zlib -TOR_AUTORECONF = YES - -TOR_CONF_OPTS = \ - --disable-gcc-hardening \ - --disable-unittests \ - --with-libevent-dir=$(STAGING_DIR)/usr \ - --with-openssl-dir=$(STAGING_DIR)/usr \ - --with-zlib-dir=$(STAGING_DIR)/usr - -ifeq ($(BR2_STATIC_LIBS),y) -TOR_CONF_OPTS += \ - --enable-static-libevent \ - --enable-static-openssl \ - --enable-static-tor \ - --enable-static-zlib -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -TOR_DEPENDENCIES += libcap -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -TOR_CONF_OPTS += --enable-systemd -TOR_DEPENDENCIES += host-pkgconf systemd -else -TOR_CONF_OPTS += --disable-systemd -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -TOR_CONF_OPTS += --enable-lzma -TOR_DEPENDENCIES += host-pkgconf xz -else -TOR_CONF_OPTS += --disable-lzma -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -TOR_CONF_OPTS += --enable-zstd -TOR_DEPENDENCIES += host-pkgconf zstd -else -TOR_CONF_OPTS += --disable-zstd -endif - -ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy) -TOR_CONF_OPTS += --enable-seccomp -TOR_DEPENDENCIES += libseccomp -else -TOR_CONF_OPTS += --disable-seccomp -endif - -# uses gnu extensions -TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -TOR_CONF_ENV += LIBS=-latomic -endif - -define TOR_INSTALL_CONF - $(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \ - $(TARGET_DIR)/etc/tor/torrc -endef - -TOR_POST_INSTALL_TARGET_HOOKS += TOR_INSTALL_CONF - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tovid/Config.in b/buildroot-2021.05/package/tovid/Config.in deleted file mode 100644 index f972e188..00000000 --- a/buildroot-2021.05/package/tovid/Config.in +++ /dev/null @@ -1,50 +0,0 @@ -config BR2_PACKAGE_TOVID - bool "tovid" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # mpv - depends on BR2_TOOLCHAIN_HAS_ATOMIC # mpv - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mpv - depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC # mpv - # The below dependencies are runtime dependencies only - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng - select BR2_PACKAGE_DVDAUTHOR - select BR2_PACKAGE_DVDRW_TOOLS - select BR2_PACKAGE_FFMPEG - select BR2_PACKAGE_IMAGEMAGICK - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_MJPEGTOOLS - select BR2_PACKAGE_MPV - select BR2_PACKAGE_PROCPS_NG # pgrep and pkill - select BR2_PACKAGE_SOX - help - The tovid suite, also known simply as tovid, is a collection - of shell and Python scripts for creating DVDs and - (S)VCDs. It is pronounced "to vid" (because it converts to - video disc formats). - - http://tovid.wikia.com/wiki/Installing_tovid - -comment "tovid needs a toolchain w/ threads, C++, wchar, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ - || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_USE_WCHAR - depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC - -comment "tovid depends on python or python3" - depends on !BR2_PACKAGE_PYTHON && !BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_HAS_ATOMIC - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC diff --git a/buildroot-2021.05/package/tpm-tools/Config.in b/buildroot-2021.05/package/tpm-tools/Config.in deleted file mode 100644 index ca70adc8..00000000 --- a/buildroot-2021.05/package/tpm-tools/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_TPM_TOOLS - bool "tpm-tools" - depends on BR2_TOOLCHAIN_HAS_THREADS # trousers - depends on !BR2_STATIC_LIBS # trousers - select BR2_PACKAGE_TROUSERS - select BR2_PACKAGE_OPENSSL - help - Tools to manage and diagnose a TPM - - http://trousers.sourceforge.net/ - -comment "tpm-tools needs a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/tpm2-abrmd/tpm2-abrmd.mk b/buildroot-2021.05/package/tpm2-abrmd/tpm2-abrmd.mk deleted file mode 100644 index 0584ba92..00000000 --- a/buildroot-2021.05/package/tpm2-abrmd/tpm2-abrmd.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# tpm2-abrmd -# -################################################################################ - -TPM2_ABRMD_VERSION = 2.3.3 -TPM2_ABRMD_SITE = https://github.com/tpm2-software/tpm2-abrmd/releases/download/$(TPM2_ABRMD_VERSION) -TPM2_ABRMD_LICENSE = BSD-2-Clause -TPM2_ABRMD_LICENSE_FILES = LICENSE -TPM2_ABRMD_INSTALL_STAGING = YES -TPM2_ABRMD_DEPENDENCIES = libglib2 tpm2-tss host-pkgconf -TPM2_ABRMD_CONF_OPTS = \ - --disable-defaultflags \ - --with-systemdsystemunitdir=$(if $(BR2_INIT_SYSTEMD),/usr/lib/systemd/system,no) \ - --with-udevrulesdir=$(if $(BR2_PACKAGE_HAS_UDEV),/usr/lib/udev/rules.d,no) - -# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used -TPM2_ABRMD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99" - -define TPM2_ABRMD_INSTALL_INIT_SYSTEMD - $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) \ - install-systemdpresetDATA install-systemdsystemunitDATA -endef - -define TPM2_ABRMD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 $(TPM2_ABRMD_PKGDIR)/S80tpm2-abrmd \ - $(TARGET_DIR)/etc/init.d/S80tpm2-abrmd -endef - -define TPM2_ABRMD_USERS - tss -1 tss -1 * - - - TPM2 Access Broker & Resource Management daemon -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tpm2-pkcs11/tpm2-pkcs11.hash b/buildroot-2021.05/package/tpm2-pkcs11/tpm2-pkcs11.hash deleted file mode 100644 index 16dd9166..00000000 --- a/buildroot-2021.05/package/tpm2-pkcs11/tpm2-pkcs11.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 13425c34358ec798d333743099b9aec5e42f6a4653c4c0e40eb075681f369687 tpm2-pkcs11-1.5.0.tar.gz -sha256 793aa007f793458434d7cc60b1c827053a399308658b32fcaa6023802adc22e1 LICENSE diff --git a/buildroot-2021.05/package/tpm2-pkcs11/tpm2-pkcs11.mk b/buildroot-2021.05/package/tpm2-pkcs11/tpm2-pkcs11.mk deleted file mode 100644 index 3acce077..00000000 --- a/buildroot-2021.05/package/tpm2-pkcs11/tpm2-pkcs11.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# tpm2-pkcs11 -# -################################################################################ - -TPM2_PKCS11_VERSION = 1.5.0 -TPM2_PKCS11_SITE = https://github.com/tpm2-software/tpm2-pkcs11/releases/download/$(TPM2_PKCS11_VERSION) -TPM2_PKCS11_LICENSE = BSD-2-Clause -TPM2_PKCS11_LICENSE_FILES = LICENSE -TPM2_PKCS11_DEPENDENCIES = host-pkgconf libyaml openssl sqlite tpm2-tss - -TPM2_PKCS11_CONF_OPTS += \ - --disable-hardening - -# Fix tpm.c:746:5: error: 'for' loop initial declarations are only allowed in C99 mode -# Fix implicit declaration of function 'strnlen' -TPM2_PKCS11_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu99" - -# do not build man pages -TPM2_PKCS11_CONF_ENV += ac_cv_prog_PANDOC='' - -# tpm2-pkcs11 checks for tpm2-tools programs and errors out if not -# found, even though they are only used by the (unused in Buildroot) -# python-based tools -TPM2_PKCS11_CONF_ENV += \ - ac_cv_prog_tpm2_createprimary=yes \ - ac_cv_prog_tpm2_create=yes \ - ac_cv_prog_tpm2_evictcontrol=yes \ - ac_cv_prog_tpm2_readpublic=yes \ - ac_cv_prog_tpm2_load=yes \ - ac_cv_prog_tpm2_loadexternal=yes \ - ac_cv_prog_tpm2_unseal=yes \ - ac_cv_prog_tpm2_encryptdecrypt=yes \ - ac_cv_prog_tpm2_sign=yes \ - ac_cv_prog_tpm2_getcap=yes \ - ac_cv_prog_tpm2_import=yes \ - ac_cv_prog_tpm2_changeauth=yes - -ifeq ($(BR2_PACKAGE_P11_KIT),y) -TPM2_PKCS11_DEPENDENCIES += p11-kit -TPM2_PKCS11_CONF_OPTS += \ - --with-p11kitconfigdir=/usr/share/p11-kit/modules -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tpm2-tools/Config.in b/buildroot-2021.05/package/tpm2-tools/Config.in deleted file mode 100644 index 35ca63bf..00000000 --- a/buildroot-2021.05/package/tpm2-tools/Config.in +++ /dev/null @@ -1,22 +0,0 @@ -config BR2_PACKAGE_TPM2_TOOLS - bool "tpm2-tools" - depends on !BR2_STATIC_LIBS # tpm2-tss - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_TPM2_TSS - help - TPM (Trusted Platform Module) 2.0 CLI tools based on system - API of TPM2-TSS. These tools can be used to manage keys, - perform encryption/decryption/signing/etc crypto operations, - and manage non-volatile storage through a TPM2.0 HW - implementation. - - Notice: An in-kernel resource manager is provided by the - Linux kernel since 4.12. Depending on use cases and kernel - version, the user space resource manager provided by - tpm2-abrmd may be needed. - - https://github.com/tpm2-software/tpm2-tools - -comment "tpm2-tools needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/tpm2-tools/tpm2-tools.hash b/buildroot-2021.05/package/tpm2-tools/tpm2-tools.hash deleted file mode 100644 index dd558348..00000000 --- a/buildroot-2021.05/package/tpm2-tools/tpm2-tools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 175472b63d1e047c2ad38314d06c36bd734ae37e0c6abfa2a804c0d6eb3f2936 tpm2-tools-4.1.2.tar.gz -sha256 e10dce74279166bf7bc463eb6e462c2025bceb3e50cadfe865d92c1c3dc0bb21 LICENSE diff --git a/buildroot-2021.05/package/tpm2-tools/tpm2-tools.mk b/buildroot-2021.05/package/tpm2-tools/tpm2-tools.mk deleted file mode 100644 index 83be53d5..00000000 --- a/buildroot-2021.05/package/tpm2-tools/tpm2-tools.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# tpm2-tools -# -################################################################################ - -TPM2_TOOLS_VERSION = 4.1.2 -TPM2_TOOLS_SITE = https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSION) -TPM2_TOOLS_LICENSE = BSD-3-Clause -TPM2_TOOLS_LICENSE_FILES = LICENSE -TPM2_TOOLS_DEPENDENCIES = libcurl openssl tpm2-tss host-pkgconf - -# -fstack-protector-all and FORTIFY_SOURCE=2 is used by -# default. Disable that so the BR2_SSP_* / BR2_FORTIFY_SOURCE_* options -# in the toolchain wrapper and CFLAGS are used instead -TPM2_TOOLS_CONF_OPTS = --disable-hardening - -# do not build man pages -TPM2_TOOLS_CONF_ENV += ac_cv_prog_PANDOC='' - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tpm2-totp/tpm2-totp.mk b/buildroot-2021.05/package/tpm2-totp/tpm2-totp.mk deleted file mode 100644 index 250a016a..00000000 --- a/buildroot-2021.05/package/tpm2-totp/tpm2-totp.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# tpm2-totp -# -################################################################################ - -TPM2_TOTP_VERSION = 0.2.1 -TPM2_TOTP_SITE = https://github.com/tpm2-software/tpm2-totp/releases/download/v$(TPM2_TOTP_VERSION) -TPM2_TOTP_LICENSE = BSD-3-Clause -TPM2_TOTP_LICENSE_FILES = LICENSE -TPM2_TOTP_DEPENDENCIES = libqrencode tpm2-tss host-pkgconf -TPM2_TOTP_CONF_OPTS = \ - --disable-defaultflags \ - --disable-doxygen-doc \ - --disable-plymouth \ - --without-initramfstoolsdir \ - --without-mkinitcpiodir - -# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used -TPM2_TOTP_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99" - -# do not build man pages -TPM2_TOTP_CONF_ENV += ac_cv_path_PANDOC='' - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tpm2-tss/Config.in b/buildroot-2021.05/package/tpm2-tss/Config.in deleted file mode 100644 index 2fc56dbd..00000000 --- a/buildroot-2021.05/package/tpm2-tss/Config.in +++ /dev/null @@ -1,58 +0,0 @@ -config BR2_PACKAGE_TPM2_TSS - bool "tpm2-tss" - depends on !BR2_STATIC_LIBS # dlfcn.h - select BR2_PACKAGE_LIBURIPARSER - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL - help - OSS implementation of the Trusted Computing Group's (TCG) TPM2 - Software Stack (TSS). This stack consists of the following - layers from top to bottom: - - * System API (SAPI) as described in the system level API and - TPM command transmission interface specification. This API - is a 1-to-1 mapping of the TPM2 commands documented in Part - 3 of the TPM2 specification. Additionally there are - asynchronous versions of each command. These asynchronous - variants may be useful for integration into event-driven - programming environments. Both the synchronous and - asynchronous API are exposed through a single library: - libtss2-sys. - - * TPM Command Transmission Interface (TCTI) that is described - in the same specification. This API provides a standard - interface to transmit / receive TPM command / response - buffers. It is expected that any number of libraries - implementing the TCTI API will be implemented as a way to - abstract various platform specific IPC mechanisms. Currently - this repository provides two TCTI implementations: - libtss2-tcti-device and libtss2-tcti-mssim. The prior should - be used for direct access to the TPM through the Linux - kernel driver. The later implements the protocol exposed by - the Microsoft software TPM2 simulator. - - https://github.com/tpm2-software/tpm2-tss - -if BR2_PACKAGE_TPM2_TSS - -config BR2_PACKAGE_TPM2_TSS_FAPI - bool "fapi support" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c - select BR2_PACKAGE_JSON_C - select BR2_PACKAGE_LIBCURL - help - This option allows to enable Feature API (FAPI). Feature - API (FAPI) as described in the "TSS 2.0 Feature API - Specification" along with "TSS 2.0 JSON Data Types and - Policy Language Specification" This API is designed to be - very high-level API, intended to make programming with the - TPM as simple as possible. The API functions are exposed - through a single library: libtss2-fapi. - - https://trustedcomputinggroup.org/wp-content/uploads/TSS_FAPI_v0.94_r04_pubrev.pdf - https://trustedcomputinggroup.org/wp-content/uploads/TSS_JSON_Policy_v0.7_r04_pubrev.pdf - -endif - -comment "tpm2-tss needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/tpm2-tss/tpm2-tss.hash b/buildroot-2021.05/package/tpm2-tss/tpm2-tss.hash deleted file mode 100644 index 6856fd4f..00000000 --- a/buildroot-2021.05/package/tpm2-tss/tpm2-tss.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 78392be7309baf47f51b122f566ac915fd4d1760ea78571cba2e1484f9b5be17 tpm2-tss-3.0.3.tar.gz -sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE diff --git a/buildroot-2021.05/package/tpm2-tss/tpm2-tss.mk b/buildroot-2021.05/package/tpm2-tss/tpm2-tss.mk deleted file mode 100644 index 9ffbef2f..00000000 --- a/buildroot-2021.05/package/tpm2-tss/tpm2-tss.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# tpm2-tss -# -################################################################################ - -TPM2_TSS_VERSION = 3.0.3 -TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) -TPM2_TSS_LICENSE = BSD-2-Clause -TPM2_TSS_LICENSE_FILES = LICENSE -TPM2_TSS_CPE_ID_VENDOR = tpm2_software_stack_project -TPM2_TSS_CPE_ID_PRODUCT = tpm2_software_stack -TPM2_TSS_INSTALL_STAGING = YES -TPM2_TSS_DEPENDENCIES = liburiparser openssl host-pkgconf -TPM2_TSS_CONF_OPTS = --with-crypto=ossl --disable-doxygen-doc --disable-defaultflags -# 0001-configure-Only-use-CXX-when-fuzzing.patch -TPM2_TSS_AUTORECONF = YES - -# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used -TPM2_TSS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99" - -ifeq ($(BR2_PACKAGE_TPM2_TSS_FAPI),y) -TPM2_TSS_DEPENDENCIES += json-c libcurl -TPM2_TSS_CONF_OPTS += --enable-fapi -else -TPM2_TSS_CONF_OPTS += --disable-fapi -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/trace-cmd/0001-trace-cmd-libtracecmd-API-cleanup.patch b/buildroot-2021.05/package/trace-cmd/0001-trace-cmd-libtracecmd-API-cleanup.patch deleted file mode 100644 index a0dee210..00000000 --- a/buildroot-2021.05/package/trace-cmd/0001-trace-cmd-libtracecmd-API-cleanup.patch +++ /dev/null @@ -1,1486 +0,0 @@ -From 4b6e124d8b5a0dfd21aedf21d2c347fc5f0705a2 Mon Sep 17 00:00:00 2001 -From: "Tzvetomir Stoyanov (VMware)" -Date: Thu, 12 Nov 2020 13:52:08 +0200 -Subject: [PATCH] trace-cmd: libtracecmd API cleanup - -The tracecmd library is used by trace-cmd and KernelShark applications. -All APIs, that are not used by KernelShark are removed from trace-cmd.h. -This is the first step to cleanup the library APIs and dependencies. - -Link: https://lore.kernel.org/linux-trace-devel/20201112115208.1250789-3-tz.stoyanov@gmail.com - -Signed-off-by: Tzvetomir Stoyanov (VMware) -Signed-off-by: Steven Rostedt (VMware) -[Retrieved from: -https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=4b6e124d8b5a0dfd21aedf21d2c347fc5f0705a2] -Signed-off-by: Fabrice Fontaine ---- - Makefile | 2 +- - include/trace-cmd/trace-cmd.h | 488 +----------------- - include/trace-cmd/trace-filter-hash.h | 64 --- - include/trace-cmd/trace-hash.h | 55 -- - include/trace-cmd/trace-msg.h | 15 - - .../include/private/trace-cmd-private.h | 480 +++++++++++++++++ - .../include/private/trace-filter-hash.h | 64 +++ - lib/trace-cmd/include/private/trace-hash.h | 55 ++ - lib/trace-cmd/include/private/trace-msg.h | 15 + - lib/trace-cmd/include/trace-cmd-local.h | 2 + - lib/trace-cmd/trace-ftrace.c | 2 +- - lib/trace-cmd/trace-hooks.c | 2 +- - lib/trace-cmd/trace-recorder.c | 2 +- - lib/trace-cmd/trace-timesync.c | 2 +- - lib/trace-cmd/trace-util.c | 2 +- - lib/traceevent/plugins/plugin_python_loader.c | 3 +- - python/ctracecmd.i | 1 + - tracecmd/include/trace-local.h | 2 +- - 18 files changed, 637 insertions(+), 619 deletions(-) - delete mode 100644 include/trace-cmd/trace-filter-hash.h - delete mode 100644 include/trace-cmd/trace-hash.h - delete mode 100644 include/trace-cmd/trace-msg.h - create mode 100644 lib/trace-cmd/include/private/trace-cmd-private.h - create mode 100644 lib/trace-cmd/include/private/trace-filter-hash.h - create mode 100644 lib/trace-cmd/include/private/trace-hash.h - create mode 100644 lib/trace-cmd/include/private/trace-msg.h - -diff --git a/Makefile b/Makefile -index b034042..6ef6936 100644 ---- a/Makefile -+++ b/Makefile -@@ -224,6 +224,7 @@ INCLUDES += -I$(src)/include/trace-cmd - INCLUDES += -I$(src)/include/tracefs - INCLUDES += -I$(src)/lib/traceevent/include - INCLUDES += -I$(src)/lib/trace-cmd/include -+INCLUDES += -I$(src)/lib/trace-cmd/include/private - INCLUDES += -I$(src)/lib/tracefs/include - INCLUDES += -I$(src)/tracecmd/include - INCLUDES += -I$(obj)/tracecmd/include -@@ -417,7 +418,6 @@ install_libs: libs - $(Q)$(call do_install,$(src)/include/traceevent/event-parse.h,$(includedir_SQ)/traceevent) - $(Q)$(call do_install,$(src)/include/traceevent/trace-seq.h,$(includedir_SQ)/traceevent) - $(Q)$(call do_install,$(src)/include/trace-cmd/trace-cmd.h,$(includedir_SQ)/trace-cmd) -- $(Q)$(call do_install,$(src)/include/trace-cmd/trace-filter-hash.h,$(includedir_SQ)/trace-cmd) - $(Q)$(call do_install,$(src)/include/tracefs/tracefs.h,$(includedir_SQ)/tracefs) - $(Q)$(call do_install_ld,$(TRACE_LD_FILE),$(LD_SO_CONF_DIR),$(libdir_SQ)/trace-cmd) - $(Q)$(call do_install_ld,$(TRACE_LD_FILE),$(LD_SO_CONF_DIR),$(libdir_SQ)/traceevent) -diff --git a/include/trace-cmd/trace-cmd.h b/include/trace-cmd/trace-cmd.h -index 3c2b474..9751ac3 100644 ---- a/include/trace-cmd/trace-cmd.h -+++ b/include/trace-cmd/trace-cmd.h -@@ -9,497 +9,31 @@ - #include "traceevent/event-parse.h" - #include "tracefs/tracefs.h" - --#define TRACECMD_MAGIC { 23, 8, 68 } -- --#define ARRAY_SIZE(_a) (sizeof(_a) / sizeof((_a)[0])) --#define __weak __attribute__((weak)) --#define __noreturn __attribute__((noreturn)) -- --#define TRACECMD_ERR_MSK ((unsigned long)(-1) & ~((1UL << 14) - 1)) --#define TRACECMD_ISERR(ptr) ((unsigned long)(ptr) > TRACECMD_ERR_MSK) --#define TRACECMD_ERROR(ret) ((void *)((unsigned long)(ret) | TRACECMD_ERR_MSK)) --#define TRACECMD_PTR2ERR(ptr) ((unisgned long)(ptr) & ~TRACECMD_ERR_MSK) -- --void tracecmd_parse_cmdlines(struct tep_handle *pevent, char *file, int size); --void tracecmd_parse_proc_kallsyms(struct tep_handle *pevent, char *file, unsigned int size); --void tracecmd_parse_ftrace_printk(struct tep_handle *pevent, char *file, unsigned int size); --struct tep_plugin_list *trace_load_plugins(struct tep_handle *tep); -- --int *tracecmd_add_id(int *list, int id, int len); -- --enum { -- RINGBUF_TYPE_PADDING = 29, -- RINGBUF_TYPE_TIME_EXTEND = 30, -- RINGBUF_TYPE_TIME_STAMP = 31, --}; -- --void tracecmd_record_ref(struct tep_record *record); --void free_record(struct tep_record *record); -- --void tracecmd_set_debug(bool set_debug); --bool tracecmd_get_debug(void); -- - struct tracecmd_input; --struct tracecmd_output; --struct tracecmd_recorder; --struct hook_list; -- --/* --- tracecmd plugins --- */ -- --extern int tracecmd_disable_sys_plugins; --extern int tracecmd_disable_plugins; -- --enum tracecmd_context { -- TRACECMD_INPUT, -- TRACECMD_OUTPUT, --}; -- --enum tracecmd_plugin_flag { -- TRACECMD_DISABLE_SYS_PLUGINS = 1, -- TRACECMD_DISABLE_PLUGINS = 1 << 1, --}; -- --struct trace_plugin_context; -- --struct trace_plugin_context * --tracecmd_plugin_context_create(enum tracecmd_context context, void *data); -- --void tracecmd_plugin_set_flag(struct trace_plugin_context *context, -- enum tracecmd_plugin_flag flag); -- --#define TRACECMD_PLUGIN_LOADER tracecmd_plugin_loader --#define TRACECMD_PLUGIN_UNLOADER tracecmd_plugin_unloader --#define TRACECMD_PLUGIN_ALIAS tracecmd_plugin_alias --#define _MAKE_STR(x) #x --#define MAKE_STR(x) _MAKE_STR(x) --#define TRACECMD_PLUGIN_LOADER_NAME MAKE_STR(TRACECMD_PLUGIN_LOADER) --#define TRACECMD_PLUGIN_UNLOADER_NAME MAKE_STR(TRACECMD_PLUGIN_UNLOADER) --#define TRACECMD_PLUGIN_ALIAS_NAME MAKE_STR(TRACECMD_PLUGIN_ALIAS) -- --typedef int (*tracecmd_plugin_load_func)(struct trace_plugin_context *trace); --typedef int (*tracecmd_plugin_unload_func)(struct trace_plugin_context *trace); -- --struct tracecmd_input * --tracecmd_plugin_context_input(struct trace_plugin_context *trace_context); --struct tracecmd_output * --tracecmd_plugin_context_output(struct trace_plugin_context *trace_context); -- --void tracecmd_set_quiet(struct tracecmd_output *handle, bool set_quiet); --bool tracecmd_get_quiet(struct tracecmd_output *handle); -- --static inline int tracecmd_host_bigendian(void) --{ -- unsigned char str[] = { 0x1, 0x2, 0x3, 0x4 }; -- unsigned int *ptr; -- -- ptr = (unsigned int *)str; -- return *ptr == 0x01020304; --} -- --/* --- Opening and Reading the trace.dat file --- */ -- --enum { -- TRACECMD_OPTION_DONE, -- TRACECMD_OPTION_DATE, -- TRACECMD_OPTION_CPUSTAT, -- TRACECMD_OPTION_BUFFER, -- TRACECMD_OPTION_TRACECLOCK, -- TRACECMD_OPTION_UNAME, -- TRACECMD_OPTION_HOOK, -- TRACECMD_OPTION_OFFSET, -- TRACECMD_OPTION_CPUCOUNT, -- TRACECMD_OPTION_VERSION, -- TRACECMD_OPTION_PROCMAPS, -- TRACECMD_OPTION_TRACEID, -- TRACECMD_OPTION_TIME_SHIFT, -- TRACECMD_OPTION_GUEST, --}; -- --enum { -- TRACECMD_FL_IGNORE_DATE = (1 << 0), -- TRACECMD_FL_BUFFER_INSTANCE = (1 << 1), -- TRACECMD_FL_LATENCY = (1 << 2), -- TRACECMD_FL_IN_USECS = (1 << 3), -- TRACECMD_FL_FLYRECORD = (1 << 4), --}; -- --struct tracecmd_ftrace { -- struct tracecmd_input *handle; -- struct tep_event *fgraph_ret_event; -- int fgraph_ret_id; -- int long_size; --}; -- --struct tracecmd_proc_addr_map { -- unsigned long long start; -- unsigned long long end; -- char *lib_name; --}; -- --typedef void (*tracecmd_show_data_func)(struct tracecmd_input *handle, -- struct tep_record *record); --typedef void (*tracecmd_handle_init_func)(struct tracecmd_input *handle, -- struct hook_list *hook, int global); - --struct tracecmd_input *tracecmd_alloc(const char *file); --struct tracecmd_input *tracecmd_alloc_fd(int fd); --struct tracecmd_input *tracecmd_open(const char *file); - struct tracecmd_input *tracecmd_open_head(const char *file); --struct tracecmd_input *tracecmd_open_fd(int fd); -+void tracecmd_close(struct tracecmd_input *handle); - int tracecmd_pair_peer(struct tracecmd_input *handle, - struct tracecmd_input *peer); --void tracecmd_unpair_peer(struct tracecmd_input *handle); --void tracecmd_ref(struct tracecmd_input *handle); --void tracecmd_close(struct tracecmd_input *handle); --int tracecmd_read_headers(struct tracecmd_input *handle); --int tracecmd_get_parsing_failures(struct tracecmd_input *handle); --int tracecmd_long_size(struct tracecmd_input *handle); --int tracecmd_page_size(struct tracecmd_input *handle); --int tracecmd_cpus(struct tracecmd_input *handle); --int tracecmd_copy_headers(struct tracecmd_input *handle, int fd); --void tracecmd_set_flag(struct tracecmd_input *handle, int flag); --void tracecmd_clear_flag(struct tracecmd_input *handle, int flag); --unsigned long tracecmd_get_flags(struct tracecmd_input *handle); --unsigned long long tracecmd_get_traceid(struct tracecmd_input *handle); --int tracecmd_get_guest_cpumap(struct tracecmd_input *handle, -- unsigned long long trace_id, -- const char **name, -- int *vcpu_count, const int **cpu_pid); --unsigned long long tracecmd_get_tsync_peer(struct tracecmd_input *handle); --int tracecmd_enable_tsync(struct tracecmd_input *handle, bool enable); -- --void tracecmd_parse_trace_clock(struct tracecmd_input *handle, char *file, int size); -- --int tracecmd_make_pipe(struct tracecmd_input *handle, int cpu, int fd, int cpus); -- --int tracecmd_buffer_instances(struct tracecmd_input *handle); --const char *tracecmd_buffer_instance_name(struct tracecmd_input *handle, int indx); --struct tracecmd_input *tracecmd_buffer_instance_handle(struct tracecmd_input *handle, int indx); --int tracecmd_is_buffer_instance(struct tracecmd_input *handle); -- --void tracecmd_set_ts_offset(struct tracecmd_input *handle, long long offset); --void tracecmd_set_ts2secs(struct tracecmd_input *handle, unsigned long long hz); -- --void tracecmd_print_events(struct tracecmd_input *handle, const char *regex); -- --struct hook_list *tracecmd_hooks(struct tracecmd_input *handle); - - int tracecmd_init_data(struct tracecmd_input *handle); -- --void tracecmd_print_stats(struct tracecmd_input *handle); --void tracecmd_print_uname(struct tracecmd_input *handle); --void tracecmd_print_version(struct tracecmd_input *handle); -- - struct tep_record * --tracecmd_peek_data(struct tracecmd_input *handle, int cpu); -- --static inline struct tep_record * --tracecmd_peek_data_ref(struct tracecmd_input *handle, int cpu) --{ -- struct tep_record *rec = tracecmd_peek_data(handle, cpu); -- if (rec) -- rec->ref_count++; -- return rec; --} -- -+tracecmd_read_cpu_first(struct tracecmd_input *handle, int cpu); - struct tep_record * - tracecmd_read_data(struct tracecmd_input *handle, int cpu); -- --struct tep_record * --tracecmd_read_prev(struct tracecmd_input *handle, struct tep_record *record); -- --struct tep_record * --tracecmd_read_next_data(struct tracecmd_input *handle, int *rec_cpu); -- --struct tep_record * --tracecmd_peek_next_data(struct tracecmd_input *handle, int *rec_cpu); -- - struct tep_record * - tracecmd_read_at(struct tracecmd_input *handle, unsigned long long offset, - int *cpu); --struct tep_record * --tracecmd_translate_data(struct tracecmd_input *handle, -- void *ptr, int size); --struct tep_record * --tracecmd_read_cpu_first(struct tracecmd_input *handle, int cpu); --struct tep_record * --tracecmd_read_cpu_last(struct tracecmd_input *handle, int cpu); --int tracecmd_refresh_record(struct tracecmd_input *handle, -- struct tep_record *record); -- --int tracecmd_set_cpu_to_timestamp(struct tracecmd_input *handle, -- int cpu, unsigned long long ts); --void --tracecmd_set_all_cpus_to_timestamp(struct tracecmd_input *handle, -- unsigned long long time); -- --int tracecmd_set_cursor(struct tracecmd_input *handle, -- int cpu, unsigned long long offset); --unsigned long long --tracecmd_get_cursor(struct tracecmd_input *handle, int cpu); -+void free_record(struct tep_record *record); - --int tracecmd_ftrace_overrides(struct tracecmd_input *handle, struct tracecmd_ftrace *finfo); - struct tep_handle *tracecmd_get_pevent(struct tracecmd_input *handle); --bool tracecmd_get_use_trace_clock(struct tracecmd_input *handle); --tracecmd_show_data_func --tracecmd_get_show_data_func(struct tracecmd_input *handle); --void tracecmd_set_show_data_func(struct tracecmd_input *handle, -- tracecmd_show_data_func func); -- --int tracecmd_record_at_buffer_start(struct tracecmd_input *handle, struct tep_record *record); --unsigned long long tracecmd_page_ts(struct tracecmd_input *handle, -- struct tep_record *record); --unsigned int tracecmd_record_ts_delta(struct tracecmd_input *handle, -- struct tep_record *record); -- --struct tracecmd_proc_addr_map * --tracecmd_search_task_map(struct tracecmd_input *handle, -- int pid, unsigned long long addr); --#ifndef SWIG --/* hack for function graph work around */ --extern __thread struct tracecmd_input *tracecmd_curr_thread_handle; --#endif -- -- --/* --- Creating and Writing the trace.dat file --- */ -- --struct tracecmd_event_list { -- struct tracecmd_event_list *next; -- const char *glob; --}; -- --struct tracecmd_option; --struct tracecmd_msg_handle; -- --struct tracecmd_output *tracecmd_create_file_latency(const char *output_file, int cpus); --struct tracecmd_output *tracecmd_create_file(const char *output_file, -- int cpus, char * const *cpu_data_files); --struct tracecmd_output * --tracecmd_create_file_glob(const char *output_file, -- int cpus, char * const *cpu_data_files, -- struct tracecmd_event_list *event_globs); --struct tracecmd_output * --tracecmd_create_init_file_glob(const char *output_file, -- struct tracecmd_event_list *list); --struct tracecmd_output *tracecmd_create_init_fd(int fd); --struct tracecmd_output * --tracecmd_create_init_fd_glob(int fd, struct tracecmd_event_list *list); --struct tracecmd_output * --tracecmd_create_init_fd_msg(struct tracecmd_msg_handle *msg_handle, -- struct tracecmd_event_list *list); --struct tracecmd_output *tracecmd_create_init_file(const char *output_file); --struct tracecmd_output *tracecmd_create_init_file_override(const char *output_file, -- const char *tracing_dir, -- const char *kallsyms); --struct tracecmd_option *tracecmd_add_option(struct tracecmd_output *handle, -- unsigned short id, int size, -- const void *data); --struct tracecmd_option * --tracecmd_add_option_v(struct tracecmd_output *handle, -- unsigned short id, const struct iovec *vector, int count); -- --struct tracecmd_option *tracecmd_add_buffer_option(struct tracecmd_output *handle, -- const char *name, int cpus); -- --int tracecmd_write_cpus(struct tracecmd_output *handle, int cpus); --int tracecmd_write_options(struct tracecmd_output *handle); --int tracecmd_append_options(struct tracecmd_output *handle); --int tracecmd_update_option(struct tracecmd_output *handle, -- struct tracecmd_option *option, int size, -- const void *data); --void tracecmd_output_close(struct tracecmd_output *handle); --void tracecmd_output_free(struct tracecmd_output *handle); --struct tracecmd_output *tracecmd_copy(struct tracecmd_input *ihandle, -- const char *file); -- --int tracecmd_write_cpu_data(struct tracecmd_output *handle, -- int cpus, char * const *cpu_data_files); --int tracecmd_append_cpu_data(struct tracecmd_output *handle, -- int cpus, char * const *cpu_data_files); --int tracecmd_append_buffer_cpu_data(struct tracecmd_output *handle, -- struct tracecmd_option *option, -- int cpus, char * const *cpu_data_files); -- --struct tracecmd_output *tracecmd_get_output_handle_fd(int fd); -- --/* --- Reading the Fly Recorder Trace --- */ -- --enum { -- TRACECMD_RECORD_NOSPLICE = (1 << 0), /* Use read instead of splice */ -- TRACECMD_RECORD_SNAPSHOT = (1 << 1), /* Extract from snapshot */ -- TRACECMD_RECORD_BLOCK = (1 << 2), /* Block on splice write */ -- TRACECMD_RECORD_NOBRASS = (1 << 3), /* Splice directly without a brass pipe */ --}; -- --void tracecmd_free_recorder(struct tracecmd_recorder *recorder); --struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu, unsigned flags); --struct tracecmd_recorder *tracecmd_create_recorder_fd(int fd, int cpu, unsigned flags); --struct tracecmd_recorder *tracecmd_create_recorder_virt(const char *file, int cpu, unsigned flags, int trace_fd); --struct tracecmd_recorder *tracecmd_create_recorder_maxkb(const char *file, int cpu, unsigned flags, int maxkb); --struct tracecmd_recorder *tracecmd_create_buffer_recorder_fd(int fd, int cpu, unsigned flags, const char *buffer); --struct tracecmd_recorder *tracecmd_create_buffer_recorder(const char *file, int cpu, unsigned flags, const char *buffer); --struct tracecmd_recorder *tracecmd_create_buffer_recorder_maxkb(const char *file, int cpu, unsigned flags, const char *buffer, int maxkb); -- --int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep); --void tracecmd_stop_recording(struct tracecmd_recorder *recorder); --long tracecmd_flush_recording(struct tracecmd_recorder *recorder); -- --enum tracecmd_msg_flags { -- TRACECMD_MSG_FL_USE_TCP = 1 << 0, --}; -- --/* for both client and server */ --struct tracecmd_msg_handle { -- int fd; -- short cpu_count; -- short version; /* Current protocol version */ -- unsigned long flags; -- bool done; --}; -- --struct tracecmd_msg_handle * -- tracecmd_msg_handle_alloc(int fd, unsigned long flags); -- --/* Closes the socket and frees the handle */ --void tracecmd_msg_handle_close(struct tracecmd_msg_handle *msg_handle); -- --/* for clients */ --int tracecmd_msg_send_init_data(struct tracecmd_msg_handle *msg_handle, -- unsigned int **client_ports); --int tracecmd_msg_data_send(struct tracecmd_msg_handle *msg_handle, -- const char *buf, int size); --int tracecmd_msg_finish_sending_data(struct tracecmd_msg_handle *msg_handle); --int tracecmd_msg_send_close_msg(struct tracecmd_msg_handle *msg_handle); --int tracecmd_msg_send_close_resp_msg(struct tracecmd_msg_handle *msg_handle); --int tracecmd_msg_wait_close(struct tracecmd_msg_handle *msg_handle); --int tracecmd_msg_wait_close_resp(struct tracecmd_msg_handle *msg_handle); -- --/* for server */ --int tracecmd_msg_initial_setting(struct tracecmd_msg_handle *msg_handle); --int tracecmd_msg_send_port_array(struct tracecmd_msg_handle *msg_handle, -- unsigned *ports); --int tracecmd_msg_read_data(struct tracecmd_msg_handle *msg_handle, int ofd); --int tracecmd_msg_collect_data(struct tracecmd_msg_handle *msg_handle, int ofd); --bool tracecmd_msg_done(struct tracecmd_msg_handle *msg_handle); --void tracecmd_msg_set_done(struct tracecmd_msg_handle *msg_handle); -- --int tracecmd_msg_send_trace_req(struct tracecmd_msg_handle *msg_handle, -- int argc, char **argv, bool use_fifos, -- unsigned long long trace_id, -- char *tsync_protos, -- int tsync_protos_size); --int tracecmd_msg_recv_trace_req(struct tracecmd_msg_handle *msg_handle, -- int *argc, char ***argv, bool *use_fifos, -- unsigned long long *trace_id, -- char **tsync_protos, -- unsigned int *tsync_protos_size); -- --int tracecmd_msg_send_trace_resp(struct tracecmd_msg_handle *msg_handle, -- int nr_cpus, int page_size, -- unsigned int *ports, bool use_fifos, -- unsigned long long trace_id, -- unsigned int tsync_proto, -- unsigned int tsync_port); --int tracecmd_msg_recv_trace_resp(struct tracecmd_msg_handle *msg_handle, -- int *nr_cpus, int *page_size, -- unsigned int **ports, bool *use_fifos, -- unsigned long long *trace_id, -- unsigned int *tsync_proto, -- unsigned int *tsync_port); -- --int tracecmd_msg_send_time_sync(struct tracecmd_msg_handle *msg_handle, -- unsigned int sync_protocol, -- unsigned int sync_msg_id, -- unsigned int payload_size, char *payload); --int tracecmd_msg_recv_time_sync(struct tracecmd_msg_handle *msg_handle, -- unsigned int *sync_protocol, -- unsigned int *sync_msg_id, -- unsigned int *payload_size, char **payload); -- --/* --- Timestamp synchronization --- */ -- --enum{ -- TRACECMD_TIME_SYNC_PROTO_NONE = 0, --}; --enum{ -- TRACECMD_TIME_SYNC_CMD_PROBE = 1, -- TRACECMD_TIME_SYNC_CMD_STOP = 2, --}; -- --#define TRACECMD_TIME_SYNC_PROTO_PTP_WEIGHT 10 -- --struct tracecmd_time_sync { -- unsigned int sync_proto; -- int loop_interval; -- pthread_mutex_t lock; -- pthread_cond_t cond; -- char *clock_str; -- struct tracecmd_msg_handle *msg_handle; -- void *context; --}; -- --void tracecmd_tsync_init(void); --int tracecmd_tsync_proto_getall(char **proto_mask, int *words); --unsigned int tracecmd_tsync_proto_select(char *proto_mask, int words); --bool tsync_proto_is_supported(unsigned int proto_id); --void tracecmd_tsync_with_host(struct tracecmd_time_sync *tsync); --void tracecmd_tsync_with_guest(struct tracecmd_time_sync *tsync); --int tracecmd_tsync_get_offsets(struct tracecmd_time_sync *tsync, -- int *count, -- long long **ts, long long **offsets); --void tracecmd_tsync_free(struct tracecmd_time_sync *tsync); -- --/* --- Plugin handling --- */ --extern struct tep_plugin_option trace_ftrace_options[]; -- --char **trace_util_find_plugin_files(const char *suffix); --void trace_util_free_plugin_files(char **files); -- --/* Used for trace-cmd list */ --void tracecmd_ftrace_load_options(void); -- --/* event hooks */ -- --struct hook_list { -- struct hook_list *next; -- struct buffer_instance *instance; -- const char *hook; -- char *str; -- char *start_system; -- char *start_event; -- char *start_match; -- char *end_system; -- char *end_event; -- char *end_match; -- char *pid; -- int migrate; -- int global; -- int stack; --}; -- --struct hook_list *tracecmd_create_event_hook(const char *arg); --void tracecmd_free_hooks(struct hook_list *hooks); -- --void tracecmd_plog(const char *fmt, ...); --void tracecmd_plog_error(const char *fmt, ...); --int tracecmd_set_logfile(char *logfile); -- --/* --- System --- */ --unsigned long long tracecmd_generate_traceid(void); --int tracecmd_count_cpus(void); -- --/* --- Hack! --- */ --int tracecmd_blk_hack(struct tracecmd_input *handle); -- --/* --- Stack tracer functions --- */ --int tracecmd_stack_tracer_status(int *status); -- --/* --- Debugging --- */ --struct kbuffer *tracecmd_record_kbuf(struct tracecmd_input *handle, -- struct tep_record *record); --void *tracecmd_record_page(struct tracecmd_input *handle, -- struct tep_record *record); --void *tracecmd_record_offset(struct tracecmd_input *handle, -- struct tep_record *record); -+unsigned long long tracecmd_get_traceid(struct tracecmd_input *handle); -+int tracecmd_get_guest_cpumap(struct tracecmd_input *handle, -+ unsigned long long trace_id, -+ const char **name, -+ int *vcpu_count, const int **cpu_pid); -+int tracecmd_buffer_instances(struct tracecmd_input *handle); -+const char *tracecmd_buffer_instance_name(struct tracecmd_input *handle, int indx); -+struct tracecmd_input *tracecmd_buffer_instance_handle(struct tracecmd_input *handle, int indx); - - #endif /* _TRACE_CMD_H */ -diff --git a/include/trace-cmd/trace-filter-hash.h b/include/trace-cmd/trace-filter-hash.h -deleted file mode 100644 -index 4111c41..0000000 ---- a/include/trace-cmd/trace-filter-hash.h -+++ /dev/null -@@ -1,64 +0,0 @@ --/* SPDX-License-Identifier: LGPL-2.1 */ --/* -- * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt -- * Copyright (C) 2018 VMware Inc, Steven Rostedt -- * -- */ --#ifndef _TRACE_FILTER_HASH_H --#define _TRACE_FILTER_HASH_H -- --#include -- --struct tracecmd_filter_id_item { -- struct tracecmd_filter_id_item *next; -- int id; --}; -- --struct tracecmd_filter_id { -- struct tracecmd_filter_id_item **hash; -- int count; --}; -- --/** -- * tracecmd_quick_hash - A quick (non secured) hash alogirthm -- * @val: The value to perform the hash on -- * @bits: The size in bits you need to return -- * -- * This is a quick hashing function adapted from Donald E. Knuth's 32 -- * bit multiplicative hash. See The Art of Computer Programming (TAOCP). -- * Multiplication by the Prime number, closest to the golden ratio of -- * 2^32. -- * -- * @bits is used to max the result for use cases that require -- * a power of 2 return value that is less than 32 bits. Any value -- * of @bits greater than 31 (or zero), will simply return the full hash on @val. -- */ --static inline uint32_t tracecmd_quick_hash(uint32_t val, unsigned int bits) --{ -- val *= UINT32_C(2654435761); -- -- if (!bits || bits > 31) -- return val; -- -- return val & ((1 << bits) - 1); --} -- --struct tracecmd_filter_id_item * -- tracecmd_filter_id_find(struct tracecmd_filter_id *hash, int id); --void tracecmd_filter_id_add(struct tracecmd_filter_id *hash, int id); --void tracecmd_filter_id_remove(struct tracecmd_filter_id *hash, int id); --void tracecmd_filter_id_clear(struct tracecmd_filter_id *hash); --struct tracecmd_filter_id *tracecmd_filter_id_hash_alloc(void); --void tracecmd_filter_id_hash_free(struct tracecmd_filter_id *hash); --struct tracecmd_filter_id * -- tracecmd_filter_id_hash_copy(struct tracecmd_filter_id *hash); --int *tracecmd_filter_ids(struct tracecmd_filter_id *hash); --int tracecmd_filter_id_compare(struct tracecmd_filter_id *hash1, -- struct tracecmd_filter_id *hash2); -- --static inline int tracecmd_filter_task_count(struct tracecmd_filter_id *hash) --{ -- return hash->count; --} -- --#endif /* _TRACE_FILTER_HASH_H */ -diff --git a/include/trace-cmd/trace-hash.h b/include/trace-cmd/trace-hash.h -deleted file mode 100644 -index aa92cdf..0000000 ---- a/include/trace-cmd/trace-hash.h -+++ /dev/null -@@ -1,55 +0,0 @@ --/* SPDX-License-Identifier: GPL-2.0 */ --/* -- * Copyright (C) 2014 Red Hat Inc, Steven Rostedt -- * -- */ --#ifndef _TRACE_HASH_H --#define _TRACE_HASH_H -- --struct trace_hash_item { -- struct trace_hash_item *next; -- struct trace_hash_item *prev; -- unsigned long long key; --}; -- --struct trace_hash { -- struct trace_hash_item **buckets; -- int nr_buckets; -- int power; --}; -- --int trace_hash_init(struct trace_hash *hash, int buckets); --void trace_hash_free(struct trace_hash *hash); --int trace_hash_add(struct trace_hash *hash, struct trace_hash_item *item); --int trace_hash_empty(struct trace_hash *hash); -- --static inline void trace_hash_del(struct trace_hash_item *item) --{ -- struct trace_hash_item *prev = item->prev; -- -- prev->next = item->next; -- if (item->next) -- item->next->prev = prev; --} -- --#define trace_hash_for_each_bucket(bucket, hash) \ -- for (bucket = (hash)->buckets; \ -- (bucket) < (hash)->buckets + (hash)->nr_buckets; (bucket)++) -- --#define trace_hash_for_each_item(item, bucket) \ -- for ((item = *(bucket)); item; item = (item)->next) -- --#define trace_hash_for_each_item_safe(item, n, bucket) \ -- for ((item = *(bucket)), n = item ? item->next : NULL; item; \ -- item = n, n = item ? (item)->next : NULL) -- --#define trace_hash_while_item(item, bucket) \ -- while ((item = *(bucket))) -- --typedef int (*trace_hash_func)(struct trace_hash_item *item, void *data); -- --struct trace_hash_item * --trace_hash_find(struct trace_hash *hash, unsigned long long key, -- trace_hash_func match, void *data); -- --#endif /* _TRACE_HASH_H */ -diff --git a/include/trace-cmd/trace-msg.h b/include/trace-cmd/trace-msg.h -deleted file mode 100644 -index aab8a69..0000000 ---- a/include/trace-cmd/trace-msg.h -+++ /dev/null -@@ -1,15 +0,0 @@ --#ifndef _TRACE_MSG_H_ --#define _TRACE_MSG_H_ -- --#include -- --#define UDP_MAX_PACKET (65536 - 20) --#define V3_MAGIC "766679\0" --#define V3_CPU "-1V3" -- --#define V1_PROTOCOL 1 --#define V3_PROTOCOL 3 -- --extern unsigned int page_size; -- --#endif /* _TRACE_MSG_H_ */ -diff --git a/lib/trace-cmd/include/private/trace-cmd-private.h b/lib/trace-cmd/include/private/trace-cmd-private.h -new file mode 100644 -index 0000000..458760e ---- /dev/null -+++ b/lib/trace-cmd/include/private/trace-cmd-private.h -@@ -0,0 +1,480 @@ -+/* SPDX-License-Identifier: LGPL-2.1 */ -+/* -+ * Copyright (C) 2008, 2009, 2010 Red Hat Inc, Steven Rostedt -+ * -+ */ -+#ifndef _TRACE_CMD_PRIVATE_H -+#define _TRACE_CMD_PRIVATE_H -+ -+#include "traceevent/event-parse.h" -+#include "trace-cmd/trace-cmd.h" -+ -+#define TRACECMD_MAGIC { 23, 8, 68 } -+ -+#define ARRAY_SIZE(_a) (sizeof(_a) / sizeof((_a)[0])) -+#define __weak __attribute__((weak)) -+#define __noreturn __attribute__((noreturn)) -+ -+#define TRACECMD_ERR_MSK ((unsigned long)(-1) & ~((1UL << 14) - 1)) -+#define TRACECMD_ISERR(ptr) ((unsigned long)(ptr) > TRACECMD_ERR_MSK) -+#define TRACECMD_ERROR(ret) ((void *)((unsigned long)(ret) | TRACECMD_ERR_MSK)) -+#define TRACECMD_PTR2ERR(ptr) ((unisgned long)(ptr) & ~TRACECMD_ERR_MSK) -+ -+void tracecmd_parse_cmdlines(struct tep_handle *pevent, char *file, int size); -+void tracecmd_parse_proc_kallsyms(struct tep_handle *pevent, char *file, unsigned int size); -+void tracecmd_parse_ftrace_printk(struct tep_handle *pevent, char *file, unsigned int size); -+struct tep_plugin_list *trace_load_plugins(struct tep_handle *tep); -+ -+int *tracecmd_add_id(int *list, int id, int len); -+ -+enum { -+ RINGBUF_TYPE_PADDING = 29, -+ RINGBUF_TYPE_TIME_EXTEND = 30, -+ RINGBUF_TYPE_TIME_STAMP = 31, -+}; -+ -+void tracecmd_record_ref(struct tep_record *record); -+ -+void tracecmd_set_debug(bool set_debug); -+bool tracecmd_get_debug(void); -+ -+struct tracecmd_output; -+struct tracecmd_recorder; -+struct hook_list; -+ -+/* --- tracecmd plugins --- */ -+ -+extern int tracecmd_disable_sys_plugins; -+extern int tracecmd_disable_plugins; -+ -+enum tracecmd_context { -+ TRACECMD_INPUT, -+ TRACECMD_OUTPUT, -+}; -+ -+enum tracecmd_plugin_flag { -+ TRACECMD_DISABLE_SYS_PLUGINS = 1, -+ TRACECMD_DISABLE_PLUGINS = 1 << 1, -+}; -+ -+struct trace_plugin_context; -+ -+struct trace_plugin_context * -+tracecmd_plugin_context_create(enum tracecmd_context context, void *data); -+ -+void tracecmd_plugin_set_flag(struct trace_plugin_context *context, -+ enum tracecmd_plugin_flag flag); -+ -+#define TRACECMD_PLUGIN_LOADER tracecmd_plugin_loader -+#define TRACECMD_PLUGIN_UNLOADER tracecmd_plugin_unloader -+#define TRACECMD_PLUGIN_ALIAS tracecmd_plugin_alias -+#define _MAKE_STR(x) #x -+#define MAKE_STR(x) _MAKE_STR(x) -+#define TRACECMD_PLUGIN_LOADER_NAME MAKE_STR(TRACECMD_PLUGIN_LOADER) -+#define TRACECMD_PLUGIN_UNLOADER_NAME MAKE_STR(TRACECMD_PLUGIN_UNLOADER) -+#define TRACECMD_PLUGIN_ALIAS_NAME MAKE_STR(TRACECMD_PLUGIN_ALIAS) -+ -+typedef int (*tracecmd_plugin_load_func)(struct trace_plugin_context *trace); -+typedef int (*tracecmd_plugin_unload_func)(struct trace_plugin_context *trace); -+ -+struct tracecmd_input * -+tracecmd_plugin_context_input(struct trace_plugin_context *trace_context); -+struct tracecmd_output * -+tracecmd_plugin_context_output(struct trace_plugin_context *trace_context); -+ -+void tracecmd_set_quiet(struct tracecmd_output *handle, bool set_quiet); -+bool tracecmd_get_quiet(struct tracecmd_output *handle); -+ -+static inline int tracecmd_host_bigendian(void) -+{ -+ unsigned char str[] = { 0x1, 0x2, 0x3, 0x4 }; -+ unsigned int *ptr; -+ -+ ptr = (unsigned int *)str; -+ return *ptr == 0x01020304; -+} -+ -+/* --- Opening and Reading the trace.dat file --- */ -+ -+enum { -+ TRACECMD_OPTION_DONE, -+ TRACECMD_OPTION_DATE, -+ TRACECMD_OPTION_CPUSTAT, -+ TRACECMD_OPTION_BUFFER, -+ TRACECMD_OPTION_TRACECLOCK, -+ TRACECMD_OPTION_UNAME, -+ TRACECMD_OPTION_HOOK, -+ TRACECMD_OPTION_OFFSET, -+ TRACECMD_OPTION_CPUCOUNT, -+ TRACECMD_OPTION_VERSION, -+ TRACECMD_OPTION_PROCMAPS, -+ TRACECMD_OPTION_TRACEID, -+ TRACECMD_OPTION_TIME_SHIFT, -+ TRACECMD_OPTION_GUEST, -+}; -+ -+enum { -+ TRACECMD_FL_IGNORE_DATE = (1 << 0), -+ TRACECMD_FL_BUFFER_INSTANCE = (1 << 1), -+ TRACECMD_FL_LATENCY = (1 << 2), -+ TRACECMD_FL_IN_USECS = (1 << 3), -+ TRACECMD_FL_FLYRECORD = (1 << 4), -+}; -+ -+struct tracecmd_ftrace { -+ struct tracecmd_input *handle; -+ struct tep_event *fgraph_ret_event; -+ int fgraph_ret_id; -+ int long_size; -+}; -+ -+struct tracecmd_proc_addr_map { -+ unsigned long long start; -+ unsigned long long end; -+ char *lib_name; -+}; -+ -+typedef void (*tracecmd_show_data_func)(struct tracecmd_input *handle, -+ struct tep_record *record); -+typedef void (*tracecmd_handle_init_func)(struct tracecmd_input *handle, -+ struct hook_list *hook, int global); -+ -+struct tracecmd_input *tracecmd_alloc(const char *file); -+struct tracecmd_input *tracecmd_alloc_fd(int fd); -+struct tracecmd_input *tracecmd_open(const char *file); -+struct tracecmd_input *tracecmd_open_fd(int fd); -+void tracecmd_unpair_peer(struct tracecmd_input *handle); -+void tracecmd_ref(struct tracecmd_input *handle); -+int tracecmd_read_headers(struct tracecmd_input *handle); -+int tracecmd_get_parsing_failures(struct tracecmd_input *handle); -+int tracecmd_long_size(struct tracecmd_input *handle); -+int tracecmd_page_size(struct tracecmd_input *handle); -+int tracecmd_cpus(struct tracecmd_input *handle); -+int tracecmd_copy_headers(struct tracecmd_input *handle, int fd); -+void tracecmd_set_flag(struct tracecmd_input *handle, int flag); -+void tracecmd_clear_flag(struct tracecmd_input *handle, int flag); -+unsigned long tracecmd_get_flags(struct tracecmd_input *handle); -+unsigned long long tracecmd_get_tsync_peer(struct tracecmd_input *handle); -+int tracecmd_enable_tsync(struct tracecmd_input *handle, bool enable); -+ -+void tracecmd_parse_trace_clock(struct tracecmd_input *handle, char *file, int size); -+ -+int tracecmd_make_pipe(struct tracecmd_input *handle, int cpu, int fd, int cpus); -+ -+int tracecmd_is_buffer_instance(struct tracecmd_input *handle); -+ -+void tracecmd_set_ts_offset(struct tracecmd_input *handle, long long offset); -+void tracecmd_set_ts2secs(struct tracecmd_input *handle, unsigned long long hz); -+ -+void tracecmd_print_events(struct tracecmd_input *handle, const char *regex); -+ -+struct hook_list *tracecmd_hooks(struct tracecmd_input *handle); -+ -+void tracecmd_print_stats(struct tracecmd_input *handle); -+void tracecmd_print_uname(struct tracecmd_input *handle); -+void tracecmd_print_version(struct tracecmd_input *handle); -+ -+struct tep_record * -+tracecmd_peek_data(struct tracecmd_input *handle, int cpu); -+ -+static inline struct tep_record * -+tracecmd_peek_data_ref(struct tracecmd_input *handle, int cpu) -+{ -+ struct tep_record *rec = tracecmd_peek_data(handle, cpu); -+ if (rec) -+ rec->ref_count++; -+ return rec; -+} -+ -+struct tep_record * -+tracecmd_read_prev(struct tracecmd_input *handle, struct tep_record *record); -+ -+struct tep_record * -+tracecmd_read_next_data(struct tracecmd_input *handle, int *rec_cpu); -+ -+struct tep_record * -+tracecmd_peek_next_data(struct tracecmd_input *handle, int *rec_cpu); -+ -+struct tep_record * -+tracecmd_translate_data(struct tracecmd_input *handle, -+ void *ptr, int size); -+struct tep_record * -+tracecmd_read_cpu_last(struct tracecmd_input *handle, int cpu); -+int tracecmd_refresh_record(struct tracecmd_input *handle, -+ struct tep_record *record); -+ -+int tracecmd_set_cpu_to_timestamp(struct tracecmd_input *handle, -+ int cpu, unsigned long long ts); -+void -+tracecmd_set_all_cpus_to_timestamp(struct tracecmd_input *handle, -+ unsigned long long time); -+ -+int tracecmd_set_cursor(struct tracecmd_input *handle, -+ int cpu, unsigned long long offset); -+unsigned long long -+tracecmd_get_cursor(struct tracecmd_input *handle, int cpu); -+ -+int tracecmd_ftrace_overrides(struct tracecmd_input *handle, struct tracecmd_ftrace *finfo); -+bool tracecmd_get_use_trace_clock(struct tracecmd_input *handle); -+tracecmd_show_data_func -+tracecmd_get_show_data_func(struct tracecmd_input *handle); -+void tracecmd_set_show_data_func(struct tracecmd_input *handle, -+ tracecmd_show_data_func func); -+ -+int tracecmd_record_at_buffer_start(struct tracecmd_input *handle, struct tep_record *record); -+unsigned long long tracecmd_page_ts(struct tracecmd_input *handle, -+ struct tep_record *record); -+unsigned int tracecmd_record_ts_delta(struct tracecmd_input *handle, -+ struct tep_record *record); -+ -+struct tracecmd_proc_addr_map * -+tracecmd_search_task_map(struct tracecmd_input *handle, -+ int pid, unsigned long long addr); -+#ifndef SWIG -+/* hack for function graph work around */ -+extern __thread struct tracecmd_input *tracecmd_curr_thread_handle; -+#endif -+ -+ -+/* --- Creating and Writing the trace.dat file --- */ -+ -+struct tracecmd_event_list { -+ struct tracecmd_event_list *next; -+ const char *glob; -+}; -+ -+struct tracecmd_option; -+struct tracecmd_msg_handle; -+ -+struct tracecmd_output *tracecmd_create_file_latency(const char *output_file, int cpus); -+struct tracecmd_output *tracecmd_create_file(const char *output_file, -+ int cpus, char * const *cpu_data_files); -+struct tracecmd_output * -+tracecmd_create_file_glob(const char *output_file, -+ int cpus, char * const *cpu_data_files, -+ struct tracecmd_event_list *event_globs); -+struct tracecmd_output * -+tracecmd_create_init_file_glob(const char *output_file, -+ struct tracecmd_event_list *list); -+struct tracecmd_output *tracecmd_create_init_fd(int fd); -+struct tracecmd_output * -+tracecmd_create_init_fd_glob(int fd, struct tracecmd_event_list *list); -+struct tracecmd_output * -+tracecmd_create_init_fd_msg(struct tracecmd_msg_handle *msg_handle, -+ struct tracecmd_event_list *list); -+struct tracecmd_output *tracecmd_create_init_file(const char *output_file); -+struct tracecmd_output *tracecmd_create_init_file_override(const char *output_file, -+ const char *tracing_dir, -+ const char *kallsyms); -+struct tracecmd_option *tracecmd_add_option(struct tracecmd_output *handle, -+ unsigned short id, int size, -+ const void *data); -+struct tracecmd_option * -+tracecmd_add_option_v(struct tracecmd_output *handle, -+ unsigned short id, const struct iovec *vector, int count); -+ -+struct tracecmd_option *tracecmd_add_buffer_option(struct tracecmd_output *handle, -+ const char *name, int cpus); -+ -+int tracecmd_write_cpus(struct tracecmd_output *handle, int cpus); -+int tracecmd_write_options(struct tracecmd_output *handle); -+int tracecmd_append_options(struct tracecmd_output *handle); -+int tracecmd_update_option(struct tracecmd_output *handle, -+ struct tracecmd_option *option, int size, -+ const void *data); -+void tracecmd_output_close(struct tracecmd_output *handle); -+void tracecmd_output_free(struct tracecmd_output *handle); -+struct tracecmd_output *tracecmd_copy(struct tracecmd_input *ihandle, -+ const char *file); -+ -+int tracecmd_write_cpu_data(struct tracecmd_output *handle, -+ int cpus, char * const *cpu_data_files); -+int tracecmd_append_cpu_data(struct tracecmd_output *handle, -+ int cpus, char * const *cpu_data_files); -+int tracecmd_append_buffer_cpu_data(struct tracecmd_output *handle, -+ struct tracecmd_option *option, -+ int cpus, char * const *cpu_data_files); -+ -+struct tracecmd_output *tracecmd_get_output_handle_fd(int fd); -+ -+/* --- Reading the Fly Recorder Trace --- */ -+ -+enum { -+ TRACECMD_RECORD_NOSPLICE = (1 << 0), /* Use read instead of splice */ -+ TRACECMD_RECORD_SNAPSHOT = (1 << 1), /* Extract from snapshot */ -+ TRACECMD_RECORD_BLOCK = (1 << 2), /* Block on splice write */ -+ TRACECMD_RECORD_NOBRASS = (1 << 3), /* Splice directly without a brass pipe */ -+}; -+ -+void tracecmd_free_recorder(struct tracecmd_recorder *recorder); -+struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu, unsigned flags); -+struct tracecmd_recorder *tracecmd_create_recorder_fd(int fd, int cpu, unsigned flags); -+struct tracecmd_recorder *tracecmd_create_recorder_virt(const char *file, int cpu, unsigned flags, int trace_fd); -+struct tracecmd_recorder *tracecmd_create_recorder_maxkb(const char *file, int cpu, unsigned flags, int maxkb); -+struct tracecmd_recorder *tracecmd_create_buffer_recorder_fd(int fd, int cpu, unsigned flags, const char *buffer); -+struct tracecmd_recorder *tracecmd_create_buffer_recorder(const char *file, int cpu, unsigned flags, const char *buffer); -+struct tracecmd_recorder *tracecmd_create_buffer_recorder_maxkb(const char *file, int cpu, unsigned flags, const char *buffer, int maxkb); -+ -+int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep); -+void tracecmd_stop_recording(struct tracecmd_recorder *recorder); -+long tracecmd_flush_recording(struct tracecmd_recorder *recorder); -+ -+enum tracecmd_msg_flags { -+ TRACECMD_MSG_FL_USE_TCP = 1 << 0, -+}; -+ -+/* for both client and server */ -+struct tracecmd_msg_handle { -+ int fd; -+ short cpu_count; -+ short version; /* Current protocol version */ -+ unsigned long flags; -+ bool done; -+}; -+ -+struct tracecmd_msg_handle * -+tracecmd_msg_handle_alloc(int fd, unsigned long flags); -+ -+/* Closes the socket and frees the handle */ -+void tracecmd_msg_handle_close(struct tracecmd_msg_handle *msg_handle); -+ -+/* for clients */ -+int tracecmd_msg_send_init_data(struct tracecmd_msg_handle *msg_handle, -+ unsigned int **client_ports); -+int tracecmd_msg_data_send(struct tracecmd_msg_handle *msg_handle, -+ const char *buf, int size); -+int tracecmd_msg_finish_sending_data(struct tracecmd_msg_handle *msg_handle); -+int tracecmd_msg_send_close_msg(struct tracecmd_msg_handle *msg_handle); -+int tracecmd_msg_send_close_resp_msg(struct tracecmd_msg_handle *msg_handle); -+int tracecmd_msg_wait_close(struct tracecmd_msg_handle *msg_handle); -+int tracecmd_msg_wait_close_resp(struct tracecmd_msg_handle *msg_handle); -+ -+/* for server */ -+int tracecmd_msg_initial_setting(struct tracecmd_msg_handle *msg_handle); -+int tracecmd_msg_send_port_array(struct tracecmd_msg_handle *msg_handle, -+ unsigned *ports); -+int tracecmd_msg_read_data(struct tracecmd_msg_handle *msg_handle, int ofd); -+int tracecmd_msg_collect_data(struct tracecmd_msg_handle *msg_handle, int ofd); -+bool tracecmd_msg_done(struct tracecmd_msg_handle *msg_handle); -+void tracecmd_msg_set_done(struct tracecmd_msg_handle *msg_handle); -+ -+int tracecmd_msg_send_trace_req(struct tracecmd_msg_handle *msg_handle, -+ int argc, char **argv, bool use_fifos, -+ unsigned long long trace_id, -+ char *tsync_protos, -+ int tsync_protos_size); -+int tracecmd_msg_recv_trace_req(struct tracecmd_msg_handle *msg_handle, -+ int *argc, char ***argv, bool *use_fifos, -+ unsigned long long *trace_id, -+ char **tsync_protos, -+ unsigned int *tsync_protos_size); -+ -+int tracecmd_msg_send_trace_resp(struct tracecmd_msg_handle *msg_handle, -+ int nr_cpus, int page_size, -+ unsigned int *ports, bool use_fifos, -+ unsigned long long trace_id, -+ unsigned int tsync_proto, -+ unsigned int tsync_port); -+int tracecmd_msg_recv_trace_resp(struct tracecmd_msg_handle *msg_handle, -+ int *nr_cpus, int *page_size, -+ unsigned int **ports, bool *use_fifos, -+ unsigned long long *trace_id, -+ unsigned int *tsync_proto, -+ unsigned int *tsync_port); -+ -+int tracecmd_msg_send_time_sync(struct tracecmd_msg_handle *msg_handle, -+ unsigned int sync_protocol, -+ unsigned int sync_msg_id, -+ unsigned int payload_size, char *payload); -+int tracecmd_msg_recv_time_sync(struct tracecmd_msg_handle *msg_handle, -+ unsigned int *sync_protocol, -+ unsigned int *sync_msg_id, -+ unsigned int *payload_size, char **payload); -+ -+/* --- Timestamp synchronization --- */ -+ -+enum{ -+ TRACECMD_TIME_SYNC_PROTO_NONE = 0, -+}; -+enum{ -+ TRACECMD_TIME_SYNC_CMD_PROBE = 1, -+ TRACECMD_TIME_SYNC_CMD_STOP = 2, -+}; -+ -+#define TRACECMD_TIME_SYNC_PROTO_PTP_WEIGHT 10 -+ -+struct tracecmd_time_sync { -+ unsigned int sync_proto; -+ int loop_interval; -+ pthread_mutex_t lock; -+ pthread_cond_t cond; -+ char *clock_str; -+ struct tracecmd_msg_handle *msg_handle; -+ void *context; -+}; -+ -+void tracecmd_tsync_init(void); -+int tracecmd_tsync_proto_getall(char **proto_mask, int *words); -+unsigned int tracecmd_tsync_proto_select(char *proto_mask, int words); -+bool tsync_proto_is_supported(unsigned int proto_id); -+void tracecmd_tsync_with_host(struct tracecmd_time_sync *tsync); -+void tracecmd_tsync_with_guest(struct tracecmd_time_sync *tsync); -+int tracecmd_tsync_get_offsets(struct tracecmd_time_sync *tsync, -+ int *count, -+ long long **ts, long long **offsets); -+void tracecmd_tsync_free(struct tracecmd_time_sync *tsync); -+ -+/* --- Plugin handling --- */ -+extern struct tep_plugin_option trace_ftrace_options[]; -+ -+char **trace_util_find_plugin_files(const char *suffix); -+void trace_util_free_plugin_files(char **files); -+ -+/* Used for trace-cmd list */ -+void tracecmd_ftrace_load_options(void); -+ -+/* event hooks */ -+ -+struct hook_list { -+ struct hook_list *next; -+ struct buffer_instance *instance; -+ const char *hook; -+ char *str; -+ char *start_system; -+ char *start_event; -+ char *start_match; -+ char *end_system; -+ char *end_event; -+ char *end_match; -+ char *pid; -+ int migrate; -+ int global; -+ int stack; -+}; -+ -+struct hook_list *tracecmd_create_event_hook(const char *arg); -+void tracecmd_free_hooks(struct hook_list *hooks); -+ -+void tracecmd_plog(const char *fmt, ...); -+void tracecmd_plog_error(const char *fmt, ...); -+int tracecmd_set_logfile(char *logfile); -+ -+/* --- System --- */ -+unsigned long long tracecmd_generate_traceid(void); -+int tracecmd_count_cpus(void); -+ -+/* --- Hack! --- */ -+int tracecmd_blk_hack(struct tracecmd_input *handle); -+ -+/* --- Stack tracer functions --- */ -+int tracecmd_stack_tracer_status(int *status); -+ -+/* --- Debugging --- */ -+struct kbuffer *tracecmd_record_kbuf(struct tracecmd_input *handle, -+ struct tep_record *record); -+void *tracecmd_record_page(struct tracecmd_input *handle, -+ struct tep_record *record); -+void *tracecmd_record_offset(struct tracecmd_input *handle, -+ struct tep_record *record); -+ -+#endif /* _TRACE_CMD_PRIVATE_H */ -diff --git a/lib/trace-cmd/include/private/trace-filter-hash.h b/lib/trace-cmd/include/private/trace-filter-hash.h -new file mode 100644 -index 0000000..4111c41 ---- /dev/null -+++ b/lib/trace-cmd/include/private/trace-filter-hash.h -@@ -0,0 +1,64 @@ -+/* SPDX-License-Identifier: LGPL-2.1 */ -+/* -+ * Copyright (C) 2009, 2010 Red Hat Inc, Steven Rostedt -+ * Copyright (C) 2018 VMware Inc, Steven Rostedt -+ * -+ */ -+#ifndef _TRACE_FILTER_HASH_H -+#define _TRACE_FILTER_HASH_H -+ -+#include -+ -+struct tracecmd_filter_id_item { -+ struct tracecmd_filter_id_item *next; -+ int id; -+}; -+ -+struct tracecmd_filter_id { -+ struct tracecmd_filter_id_item **hash; -+ int count; -+}; -+ -+/** -+ * tracecmd_quick_hash - A quick (non secured) hash alogirthm -+ * @val: The value to perform the hash on -+ * @bits: The size in bits you need to return -+ * -+ * This is a quick hashing function adapted from Donald E. Knuth's 32 -+ * bit multiplicative hash. See The Art of Computer Programming (TAOCP). -+ * Multiplication by the Prime number, closest to the golden ratio of -+ * 2^32. -+ * -+ * @bits is used to max the result for use cases that require -+ * a power of 2 return value that is less than 32 bits. Any value -+ * of @bits greater than 31 (or zero), will simply return the full hash on @val. -+ */ -+static inline uint32_t tracecmd_quick_hash(uint32_t val, unsigned int bits) -+{ -+ val *= UINT32_C(2654435761); -+ -+ if (!bits || bits > 31) -+ return val; -+ -+ return val & ((1 << bits) - 1); -+} -+ -+struct tracecmd_filter_id_item * -+ tracecmd_filter_id_find(struct tracecmd_filter_id *hash, int id); -+void tracecmd_filter_id_add(struct tracecmd_filter_id *hash, int id); -+void tracecmd_filter_id_remove(struct tracecmd_filter_id *hash, int id); -+void tracecmd_filter_id_clear(struct tracecmd_filter_id *hash); -+struct tracecmd_filter_id *tracecmd_filter_id_hash_alloc(void); -+void tracecmd_filter_id_hash_free(struct tracecmd_filter_id *hash); -+struct tracecmd_filter_id * -+ tracecmd_filter_id_hash_copy(struct tracecmd_filter_id *hash); -+int *tracecmd_filter_ids(struct tracecmd_filter_id *hash); -+int tracecmd_filter_id_compare(struct tracecmd_filter_id *hash1, -+ struct tracecmd_filter_id *hash2); -+ -+static inline int tracecmd_filter_task_count(struct tracecmd_filter_id *hash) -+{ -+ return hash->count; -+} -+ -+#endif /* _TRACE_FILTER_HASH_H */ -diff --git a/lib/trace-cmd/include/private/trace-hash.h b/lib/trace-cmd/include/private/trace-hash.h -new file mode 100644 -index 0000000..aa92cdf ---- /dev/null -+++ b/lib/trace-cmd/include/private/trace-hash.h -@@ -0,0 +1,55 @@ -+/* SPDX-License-Identifier: GPL-2.0 */ -+/* -+ * Copyright (C) 2014 Red Hat Inc, Steven Rostedt -+ * -+ */ -+#ifndef _TRACE_HASH_H -+#define _TRACE_HASH_H -+ -+struct trace_hash_item { -+ struct trace_hash_item *next; -+ struct trace_hash_item *prev; -+ unsigned long long key; -+}; -+ -+struct trace_hash { -+ struct trace_hash_item **buckets; -+ int nr_buckets; -+ int power; -+}; -+ -+int trace_hash_init(struct trace_hash *hash, int buckets); -+void trace_hash_free(struct trace_hash *hash); -+int trace_hash_add(struct trace_hash *hash, struct trace_hash_item *item); -+int trace_hash_empty(struct trace_hash *hash); -+ -+static inline void trace_hash_del(struct trace_hash_item *item) -+{ -+ struct trace_hash_item *prev = item->prev; -+ -+ prev->next = item->next; -+ if (item->next) -+ item->next->prev = prev; -+} -+ -+#define trace_hash_for_each_bucket(bucket, hash) \ -+ for (bucket = (hash)->buckets; \ -+ (bucket) < (hash)->buckets + (hash)->nr_buckets; (bucket)++) -+ -+#define trace_hash_for_each_item(item, bucket) \ -+ for ((item = *(bucket)); item; item = (item)->next) -+ -+#define trace_hash_for_each_item_safe(item, n, bucket) \ -+ for ((item = *(bucket)), n = item ? item->next : NULL; item; \ -+ item = n, n = item ? (item)->next : NULL) -+ -+#define trace_hash_while_item(item, bucket) \ -+ while ((item = *(bucket))) -+ -+typedef int (*trace_hash_func)(struct trace_hash_item *item, void *data); -+ -+struct trace_hash_item * -+trace_hash_find(struct trace_hash *hash, unsigned long long key, -+ trace_hash_func match, void *data); -+ -+#endif /* _TRACE_HASH_H */ -diff --git a/lib/trace-cmd/include/private/trace-msg.h b/lib/trace-cmd/include/private/trace-msg.h -new file mode 100644 -index 0000000..aab8a69 ---- /dev/null -+++ b/lib/trace-cmd/include/private/trace-msg.h -@@ -0,0 +1,15 @@ -+#ifndef _TRACE_MSG_H_ -+#define _TRACE_MSG_H_ -+ -+#include -+ -+#define UDP_MAX_PACKET (65536 - 20) -+#define V3_MAGIC "766679\0" -+#define V3_CPU "-1V3" -+ -+#define V1_PROTOCOL 1 -+#define V3_PROTOCOL 3 -+ -+extern unsigned int page_size; -+ -+#endif /* _TRACE_MSG_H_ */ -diff --git a/lib/trace-cmd/include/trace-cmd-local.h b/lib/trace-cmd/include/trace-cmd-local.h -index 95dce66..d0a7365 100644 ---- a/lib/trace-cmd/include/trace-cmd-local.h -+++ b/lib/trace-cmd/include/trace-cmd-local.h -@@ -6,6 +6,8 @@ - #ifndef _TRACE_CMD_LOCAL_H - #define _TRACE_CMD_LOCAL_H - -+#include "trace-cmd-private.h" -+ - /* Can be overridden */ - void warning(const char *fmt, ...); - -diff --git a/lib/trace-cmd/trace-ftrace.c b/lib/trace-cmd/trace-ftrace.c -index 20bf71f..df7335f 100644 ---- a/lib/trace-cmd/trace-ftrace.c -+++ b/lib/trace-cmd/trace-ftrace.c -@@ -8,7 +8,7 @@ - #include - #include - --#include "trace-cmd.h" -+#include "trace-cmd-private.h" - - struct tep_plugin_option trace_ftrace_options[] = { - { -diff --git a/lib/trace-cmd/trace-hooks.c b/lib/trace-cmd/trace-hooks.c -index 8c969a6..2dadf61 100644 ---- a/lib/trace-cmd/trace-hooks.c -+++ b/lib/trace-cmd/trace-hooks.c -@@ -8,7 +8,7 @@ - #include - #include - --#include "trace-cmd.h" -+#include "trace-cmd-private.h" - #include "event-utils.h" - - struct hook_list *tracecmd_create_event_hook(const char *arg) -diff --git a/lib/trace-cmd/trace-recorder.c b/lib/trace-cmd/trace-recorder.c -index 2a6e2b6..6b647d6 100644 ---- a/lib/trace-cmd/trace-recorder.c -+++ b/lib/trace-cmd/trace-recorder.c -@@ -13,7 +13,7 @@ - #include - - #include "tracefs.h" --#include "trace-cmd.h" -+#include "trace-cmd-private.h" - #include "event-utils.h" - - /* F_GETPIPE_SZ was introduced in 2.6.35, older systems don't have it */ -diff --git a/lib/trace-cmd/trace-timesync.c b/lib/trace-cmd/trace-timesync.c -index 7a6a7eb..390e9d9 100644 ---- a/lib/trace-cmd/trace-timesync.c -+++ b/lib/trace-cmd/trace-timesync.c -@@ -17,7 +17,7 @@ - #include - #include - --#include "trace-cmd.h" -+#include "trace-cmd-private.h" - #include "tracefs.h" - #include "event-utils.h" - #include "trace-tsync-local.h" -diff --git a/lib/trace-cmd/trace-util.c b/lib/trace-cmd/trace-util.c -index 0ead96e..6b5d872 100644 ---- a/lib/trace-cmd/trace-util.c -+++ b/lib/trace-cmd/trace-util.c -@@ -21,7 +21,7 @@ - #include - #include - --#include "trace-cmd.h" -+#include "trace-cmd-private.h" - #include "event-utils.h" - - #define LOCAL_PLUGIN_DIR ".trace-cmd/plugins" -diff --git a/lib/traceevent/plugins/plugin_python_loader.c b/lib/traceevent/plugins/plugin_python_loader.c -index 776bf12..01bdfad 100644 ---- a/lib/traceevent/plugins/plugin_python_loader.c -+++ b/lib/traceevent/plugins/plugin_python_loader.c -@@ -1,6 +1,7 @@ - #include - #include --#include "trace-cmd.h" -+#include "event-parse.h" -+#include "trace-cmd-private.h" - - #ifndef PYTHON_DIR - #define PYTHON_DIR "." -diff --git a/python/ctracecmd.i b/python/ctracecmd.i -index 01cd0d5..5f7181c 100644 ---- a/python/ctracecmd.i -+++ b/python/ctracecmd.i -@@ -15,6 +15,7 @@ - - %{ - #include "trace-cmd.h" -+#include "event-parse.h" - #include "event-utils.h" - #include - %} -diff --git a/tracecmd/include/trace-local.h b/tracecmd/include/trace-local.h -index 207aa68..28d1b4e 100644 ---- a/tracecmd/include/trace-local.h -+++ b/tracecmd/include/trace-local.h -@@ -9,7 +9,7 @@ - #include - #include /* for DIR */ - --#include "trace-cmd.h" -+#include "trace-cmd-private.h" - #include "event-utils.h" - - #define TRACE_AGENT_DEFAULT_PORT 823 --- -2.29.2 - diff --git a/buildroot-2021.05/package/trace-cmd/0002-trace-cmd-make-it-build-against-musl-C-library.patch b/buildroot-2021.05/package/trace-cmd/0002-trace-cmd-make-it-build-against-musl-C-library.patch deleted file mode 100644 index 64021245..00000000 --- a/buildroot-2021.05/package/trace-cmd/0002-trace-cmd-make-it-build-against-musl-C-library.patch +++ /dev/null @@ -1,140 +0,0 @@ -From 1a000636c1828eecdcec5360a51623ef4ffbff04 Mon Sep 17 00:00:00 2001 -From: Beniamin Sandu -Date: Mon, 30 Nov 2020 14:27:55 +0200 -Subject: [PATCH] trace-cmd: make it build against musl C library - -* add some missing headers and macros -* set pthread affinity using pthread_setaffinity_np after creating the thread -instead of pthread_attr_setaffinity_np (which seems to not be implemented -in musl) - -Tested using https://musl.cc/x86_64-linux-musl-native.tgz - -Link: https://lore.kernel.org/linux-trace-devel/20201130122755.31000-1-beniaminsandu@gmail.com - -Reviewed-by: Tzvetomir Stoyanov (VMware) -Signed-off-by: Beniamin Sandu -[ Fixed a whitespace issue ] -Signed-off-by: Steven Rostedt (VMware) -[Retrieved from: -https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=1a000636c1828eecdcec5360a51623ef4ffbff04] -Signed-off-by: Fabrice Fontaine ---- - .../include/private/trace-cmd-private.h | 1 + - lib/trace-cmd/include/trace-cmd-local.h | 1 + - lib/tracefs/include/tracefs-local.h | 12 ++++++++++++ - lib/tracefs/tracefs-events.c | 1 + - tracecmd/include/trace-local.h | 1 + - tracecmd/trace-tsync.c | 16 +++++++++++----- - 6 files changed, 27 insertions(+), 5 deletions(-) - -diff --git a/lib/trace-cmd/include/private/trace-cmd-private.h b/lib/trace-cmd/include/private/trace-cmd-private.h -index 458760e5..a0dac5da 100644 ---- a/lib/trace-cmd/include/private/trace-cmd-private.h -+++ b/lib/trace-cmd/include/private/trace-cmd-private.h -@@ -6,6 +6,7 @@ - #ifndef _TRACE_CMD_PRIVATE_H - #define _TRACE_CMD_PRIVATE_H - -+#include - #include "traceevent/event-parse.h" - #include "trace-cmd/trace-cmd.h" - -diff --git a/lib/trace-cmd/include/trace-cmd-local.h b/lib/trace-cmd/include/trace-cmd-local.h -index d0a7365a..0cd27441 100644 ---- a/lib/trace-cmd/include/trace-cmd-local.h -+++ b/lib/trace-cmd/include/trace-cmd-local.h -@@ -6,6 +6,7 @@ - #ifndef _TRACE_CMD_LOCAL_H - #define _TRACE_CMD_LOCAL_H - -+#include - #include "trace-cmd-private.h" - - /* Can be overridden */ -diff --git a/lib/tracefs/include/tracefs-local.h b/lib/tracefs/include/tracefs-local.h -index 9cc371b4..bdbf89e8 100644 ---- a/lib/tracefs/include/tracefs-local.h -+++ b/lib/tracefs/include/tracefs-local.h -@@ -13,4 +13,16 @@ void warning(const char *fmt, ...); - int str_read_file(const char *file, char **buffer); - char *trace_append_file(const char *dir, const char *name); - -+#ifndef ACCESSPERMS -+#define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */ -+#endif -+ -+#ifndef ALLPERMS -+#define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO) /* 07777 */ -+#endif -+ -+#ifndef DEFFILEMODE -+#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) /* 0666*/ -+#endif -+ - #endif /* _TRACE_FS_LOCAL_H */ -diff --git a/lib/tracefs/tracefs-events.c b/lib/tracefs/tracefs-events.c -index 80a25ee5..a4e5215f 100644 ---- a/lib/tracefs/tracefs-events.c -+++ b/lib/tracefs/tracefs-events.c -@@ -13,6 +13,7 @@ - #include - #include - #include -+#include - - #include "kbuffer.h" - #include "tracefs.h" -diff --git a/tracecmd/include/trace-local.h b/tracecmd/include/trace-local.h -index 28d1b4e0..85c7e03e 100644 ---- a/tracecmd/include/trace-local.h -+++ b/tracecmd/include/trace-local.h -@@ -8,6 +8,7 @@ - - #include - #include /* for DIR */ -+#include - - #include "trace-cmd-private.h" - #include "event-utils.h" -diff --git a/tracecmd/trace-tsync.c b/tracecmd/trace-tsync.c -index e639788d..8b9083ae 100644 ---- a/tracecmd/trace-tsync.c -+++ b/tracecmd/trace-tsync.c -@@ -104,13 +104,16 @@ int tracecmd_host_tsync(struct buffer_instance *instance, - - pthread_attr_init(&attrib); - pthread_attr_setdetachstate(&attrib, PTHREAD_CREATE_JOINABLE); -- if (!get_first_cpu(&pin_mask, &mask_size)) -- pthread_attr_setaffinity_np(&attrib, mask_size, pin_mask); - - ret = pthread_create(&instance->tsync_thread, &attrib, - tsync_host_thread, &instance->tsync); -- if (!ret) -+ -+ if (!ret) { -+ if (!get_first_cpu(&pin_mask, &mask_size)) -+ pthread_setaffinity_np(instance->tsync_thread, mask_size, pin_mask); - instance->tsync_thread_running = true; -+ } -+ - if (pin_mask) - CPU_FREE(pin_mask); - pthread_attr_destroy(&attrib); -@@ -243,11 +246,14 @@ unsigned int tracecmd_guest_tsync(char *tsync_protos, - pthread_attr_init(&attrib); - tsync->sync_proto = proto; - pthread_attr_setdetachstate(&attrib, PTHREAD_CREATE_JOINABLE); -- if (!get_first_cpu(&pin_mask, &mask_size)) -- pthread_attr_setaffinity_np(&attrib, mask_size, pin_mask); - - ret = pthread_create(thr_id, &attrib, tsync_agent_thread, tsync); - -+ if (!ret) { -+ if (!get_first_cpu(&pin_mask, &mask_size)) -+ pthread_setaffinity_np(*thr_id, mask_size, pin_mask); -+ } -+ - if (pin_mask) - CPU_FREE(pin_mask); - pthread_attr_destroy(&attrib); diff --git a/buildroot-2021.05/package/trace-cmd/0003-trace-cmd-Move-add_event_pid-out-of-ifndef-NO_PTRACE.patch b/buildroot-2021.05/package/trace-cmd/0003-trace-cmd-Move-add_event_pid-out-of-ifndef-NO_PTRACE.patch deleted file mode 100644 index ca32e69a..00000000 --- a/buildroot-2021.05/package/trace-cmd/0003-trace-cmd-Move-add_event_pid-out-of-ifndef-NO_PTRACE.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 2f55ded528cfd8ef468bdd1f8bb82dcf1cfae04a Mon Sep 17 00:00:00 2001 -From: "Steven Rostedt (VMware)" -Date: Wed, 16 Dec 2020 18:19:43 -0500 -Subject: [PATCH] trace-cmd: Move add_event_pid() out of #ifndef NO_PTRACE - -When NO_PTRACE is defined, add_event_pid() is also not defined, but it is -used outside of NO_PTRACE pre processor block. And this causes a -"add_event_pid" not defined build failure. - -Link: https://lore.kernel.org/linux-trace-devel/20201216232145.010165486@goodmis.org - -Fixes: 0844cff1c ("trace-cmd: Fix "trace-cmd reset" command to restore the default value of set_event_pid") -Signed-off-by: Steven Rostedt (VMware) -[Retrieved from: -https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/commit/?id=2f55ded528cfd8ef468bdd1f8bb82dcf1cfae04a] -Signed-off-by: Fabrice Fontaine ---- - tracecmd/trace-record.c | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/tracecmd/trace-record.c b/tracecmd/trace-record.c -index f8baed7d..e2d1cedf 100644 ---- a/tracecmd/trace-record.c -+++ b/tracecmd/trace-record.c -@@ -1312,8 +1312,13 @@ static int trace_wait_for_processes(struct buffer_instance *instance) { - free(pidfds); - return ret; - } --#ifndef NO_PTRACE - -+static void add_event_pid(struct buffer_instance *instance, const char *buf) -+{ -+ tracefs_instance_file_write(instance->tracefs, "set_event_pid", buf); -+} -+ -+#ifndef NO_PTRACE - /** - * append_pid_filter - add a new pid to an existing filter - * @curr_filter: the filter to append to. If NULL, then allocate one -@@ -1369,11 +1374,6 @@ static void update_sched_events(struct buffer_instance *instance, int pid) - static int open_instance_fd(struct buffer_instance *instance, - const char *file, int flags); - --static void add_event_pid(struct buffer_instance *instance, const char *buf) --{ -- tracefs_instance_file_write(instance->tracefs, "set_event_pid", buf); --} -- - static void add_new_filter_child_pid(int pid, int child) - { - struct buffer_instance *instance; diff --git a/buildroot-2021.05/package/trace-cmd/Config.in b/buildroot-2021.05/package/trace-cmd/Config.in deleted file mode 100644 index 574541c5..00000000 --- a/buildroot-2021.05/package/trace-cmd/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_TRACE_CMD - bool "trace-cmd" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS # dlopen() - help - Command line reader for ftrace. - - To use this profiling tool, you should enable ftrace in your - kernel configuration. This command collect traces on your - target. You can analyse these traces on the target or on - the host via the gui "kernel shark" - - http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git - -comment "trace-cmd needs a toolchain w/ threads, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/trace-cmd/trace-cmd.hash b/buildroot-2021.05/package/trace-cmd/trace-cmd.hash deleted file mode 100644 index 0afde670..00000000 --- a/buildroot-2021.05/package/trace-cmd/trace-cmd.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally computed -sha256 8bab29530cd05272dccab48c9780644758e71ed990ce65c701b9095f7beae417 trace-cmd-trace-cmd-v2.9.1-br1.tar.gz -sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING -sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB -sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 -sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1 diff --git a/buildroot-2021.05/package/trace-cmd/trace-cmd.mk b/buildroot-2021.05/package/trace-cmd/trace-cmd.mk deleted file mode 100644 index cd3fcb97..00000000 --- a/buildroot-2021.05/package/trace-cmd/trace-cmd.mk +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# -# trace-cmd -# -################################################################################ - -TRACE_CMD_VERSION = trace-cmd-v2.9.1 -TRACE_CMD_SITE = https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git -TRACE_CMD_SITE_METHOD = git -TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 -TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 - -TRACE_CMD_DEPENDENCIES = host-pkgconf -TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc - -ifeq ($(BR2_PACKAGE_AUDIT),y) -TRACE_CMD_DEPENDENCIES += audit -endif - -ifeq ($(BR2_PACKAGE_PYTHON),y) -TRACE_CMD_DEPENDENCIES += python host-swig -TRACE_CMD_MAKE_OPTS += PYTHON_VERS=python -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -TRACE_CMD_DEPENDENCIES += python3 host-swig -TRACE_CMD_MAKE_OPTS += PYTHON_VERS=python3 -else -TRACE_CMD_MAKE_OPTS += NO_PYTHON=1 -endif - -# trace-cmd already defines _LARGEFILE64_SOURCE when necessary, -# redefining it on the command line causes build problems. -TRACE_CMD_CFLAGS = $(filter-out -D_LARGEFILE64_SOURCE,$(TARGET_CFLAGS)) - -# trace-cmd use CPPFLAGS to add some extra flags. -# But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE -# that causes build problems. -TRACE_CMD_CPPFLAGS = $(filter-out -D_LARGEFILE64_SOURCE,$(TARGET_CPPFLAGS)) - -define TRACE_CMD_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TRACE_CMD_CFLAGS)" \ - CPPFLAGS="$(TRACE_CMD_CPPFLAGS)" \ - $(MAKE) $(TRACE_CMD_MAKE_OPTS) -C $(@D) -endef - -define TRACE_CMD_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(TRACE_CMD_CFLAGS)" \ - CPPFLAGS="$(TRACE_CMD_CPPFLAGS)" \ - DESTDIR=$(TARGET_DIR) \ - $(MAKE) $(TRACE_CMD_MAKE_OPTS) -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/transmission/Config.in b/buildroot-2021.05/package/transmission/Config.in deleted file mode 100644 index dac4d1b3..00000000 --- a/buildroot-2021.05/package/transmission/Config.in +++ /dev/null @@ -1,47 +0,0 @@ -config BR2_PACKAGE_TRANSMISSION - bool "transmission" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_ZLIB - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_LIBCURL - select BR2_PACKAGE_LIBEVENT - help - Transmission is a cross-platform BitTorrent client. - - http://www.transmissionbt.com/ - -if BR2_PACKAGE_TRANSMISSION - -config BR2_PACKAGE_TRANSMISSION_UTP - bool "Transmission uTP support" - depends on BR2_INSTALL_LIBSTDCPP - help - Install support for uTorrent Transport Protocol - -comment "uTP needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_TRANSMISSION_CLI - bool "transmission-cli" - help - Install transmission command line interface. - -config BR2_PACKAGE_TRANSMISSION_DAEMON - bool "transmission-daemon" - help - Install transmission daemon. - -config BR2_PACKAGE_TRANSMISSION_GTK - bool "transmission-gtk" - depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS - help - Install transmission GTK-based GUI interface. - -comment "transmission-gtk needs NLS enabled" - depends on BR2_PACKAGE_LIBGTK3 && !BR2_SYSTEM_ENABLE_NLS -endif - -comment "transmission needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/triggerhappy/triggerhappy.hash b/buildroot-2021.05/package/triggerhappy/triggerhappy.hash deleted file mode 100644 index ab736cad..00000000 --- a/buildroot-2021.05/package/triggerhappy/triggerhappy.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 1b3221963b9adca26eacc5442d8c2422cf2072f8adde1dbd691a69b37a583fb1 triggerhappy-b822888066129350e51ad79f1cf307fa38dae4f7.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/triggerhappy/triggerhappy.mk b/buildroot-2021.05/package/triggerhappy/triggerhappy.mk deleted file mode 100644 index f83a5578..00000000 --- a/buildroot-2021.05/package/triggerhappy/triggerhappy.mk +++ /dev/null @@ -1,46 +0,0 @@ -################################################################################ -# -# triggerhappy -# -################################################################################ - -TRIGGERHAPPY_VERSION = b822888066129350e51ad79f1cf307fa38dae4f7 -TRIGGERHAPPY_SITE = $(call github,wertarbyte,triggerhappy,$(TRIGGERHAPPY_VERSION)) -TRIGGERHAPPY_LICENSE = GPL-3.0+ -TRIGGERHAPPY_LICENSE_FILES = COPYING -TRIGGERHAPPY_DEPENDENCIES = host-pkgconf - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -TRIGGERHAPPY_DEPENDENCIES += systemd -endif - -define TRIGGERHAPPY_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" \ - -C $(@D) thd th-cmd -endef - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -define TRIGGERHAPPY_INSTALL_UDEV_RULE - $(INSTALL) -D -m 0644 $(@D)/udev/triggerhappy-udev.rules \ - $(TARGET_DIR)/lib/udev/rules.d/triggerhappy.rules -endef -endif - -define TRIGGERHAPPY_INSTALL_TARGET_CMDS - $(INSTALL) -d $(TARGET_DIR)/etc/triggerhappy/triggers.d - $(INSTALL) -D -m 0755 $(@D)/thd $(TARGET_DIR)/usr/sbin/thd - $(INSTALL) -D -m 0755 $(@D)/th-cmd $(TARGET_DIR)/usr/sbin/th-cmd - $(TRIGGERHAPPY_INSTALL_UDEV_RULE) -endef - -define TRIGGERHAPPY_INSTALL_INIT_SYSV - $(INSTALL) -m 0755 -D package/triggerhappy/S10triggerhappy \ - $(TARGET_DIR)/etc/init.d/S10triggerhappy -endef - -define TRIGGERHAPPY_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 package/triggerhappy/triggerhappy.service \ - $(TARGET_DIR)/usr/lib/systemd/system/triggerhappy.service -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/trinity/trinity.mk b/buildroot-2021.05/package/trinity/trinity.mk deleted file mode 100644 index adf7d145..00000000 --- a/buildroot-2021.05/package/trinity/trinity.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# trinity -# -################################################################################ - -TRINITY_VERSION = 1.9 -TRINITY_SITE = http://codemonkey.org.uk/projects/trinity -TRINITY_SOURCE = trinity-$(TRINITY_VERSION).tar.xz -TRINITY_LICENSE = GPL-2.0 -TRINITY_LICENSE_FILES = COPYING - -define TRINITY_CONFIGURE_CMDS - (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure) -endef - -define TRINITY_BUILD_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -endef - -define TRINITY_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install -endef - -# Install helper scripts -define TRINITY_INSTALL_HELPER_SCRIPTS - mkdir -p $(TARGET_DIR)/usr/libexec/trinity - cp -p $(@D)/scripts/* $(TARGET_DIR)/usr/libexec/trinity/ -endef -TRINITY_POST_INSTALL_TARGET_HOOKS += TRINITY_INSTALL_HELPER_SCRIPTS - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ts4900-fpga/Config.in b/buildroot-2021.05/package/ts4900-fpga/Config.in deleted file mode 100644 index 7aa94e26..00000000 --- a/buildroot-2021.05/package/ts4900-fpga/Config.in +++ /dev/null @@ -1,11 +0,0 @@ -config BR2_PACKAGE_TS4900_FPGA - bool "ts4900-fpga" - depends on BR2_arm - help - TS-4900's FPGA implements clocks, UART MUX, and GPIOs. One - of these GPIOs is used to enable the wifi module. - - It is loaded by U-Boot during the boot sequence, the default - U-boot script expects to find it in the /boot folder. - - http://wiki.embeddedarm.com/wiki/TS-4900#FPGA_Changelog diff --git a/buildroot-2021.05/package/ts4900-fpga/ts4900-fpga.hash b/buildroot-2021.05/package/ts4900-fpga/ts4900-fpga.hash deleted file mode 100644 index 2147aeb3..00000000 --- a/buildroot-2021.05/package/ts4900-fpga/ts4900-fpga.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/fpga/ts4900-fpga-20150930.bin.md5 -md5 bf93c03ef914cf008287c8cd60781cc8 ts4900-fpga-20150930.bin - -# Locally calculated -sha256 242ac6a90bea9a95c937ea8952cdc9b02f543cea24a0359bed66a408a6dd8bf9 ts4900-fpga-20150930.bin diff --git a/buildroot-2021.05/package/ts4900-fpga/ts4900-fpga.mk b/buildroot-2021.05/package/ts4900-fpga/ts4900-fpga.mk deleted file mode 100644 index 7bb62a39..00000000 --- a/buildroot-2021.05/package/ts4900-fpga/ts4900-fpga.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# ts4900-fpga -# -################################################################################ - -TS4900_FPGA_VERSION = 20150930 -TS4900_FPGA_SOURCE = ts4900-fpga-$(TS4900_FPGA_VERSION).bin -TS4900_FPGA_SITE = ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4900-linux/fpga -# No license file provided, Yocto recipe from the vendor claims MIT. -# https://github.com/embeddedarm/meta-ts/blob/f31860f1204b64f765a5380d3b93a2cf18234f90/recipes-extras/ts4900-fpga/ts4900-fpga.bb#L6 - -define TS4900_FPGA_EXTRACT_CMDS - cp $(TS4900_FPGA_DL_DIR)/$(TS4900_FPGA_SOURCE) $(@D) -endef - -define TS4900_FPGA_INSTALL_TARGET_CMDS - $(INSTALL) -m 0644 -D $(@D)/$(TS4900_FPGA_SOURCE) $(TARGET_DIR)/boot/ts4900-fpga.bin -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/tvheadend/Config.in b/buildroot-2021.05/package/tvheadend/Config.in deleted file mode 100644 index da6dce50..00000000 --- a/buildroot-2021.05/package/tvheadend/Config.in +++ /dev/null @@ -1,73 +0,0 @@ -comment "tvheadend needs a toolchain w/ NPTL, headers >= 3.2, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 || BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - -menuconfig BR2_PACKAGE_TVHEADEND - bool "tvheadend" - depends on !BR2_STATIC_LIBS # dladdr() - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_DTV_SCAN_TABLES - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - select BR2_PACKAGE_OPENSSL - help - - Tvheadend is a TV streaming server for Linux supporting - DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video - (V4L) as input sources. - - https://www.lonelycoder.com/redmine/projects/tvheadend/ - - Note: - - on first run, tvheadend will start in wizard mode; the - webUI is available on port 9981. - - if you want Avahi support, you'll need to enable: - Avahi, D-Bus, libdaemon - -if BR2_PACKAGE_TVHEADEND - -config BR2_PACKAGE_TVHEADEND_DESCRAMBLER - bool "descrambler support" - default y - help - Enable support for various descrambler modules. - -config BR2_PACKAGE_TVHEADEND_IPTV - bool "IPTV support" - default y - help - Enable IPTV support. - - Note that some IPTV streams will need to be piped through - ffmpeg (the commandline tool), so you may have to enable it - with: - BR2_PACKAGE_FFMPEG=y - BR2_PACKAGE_FFMPEG_FFMPEG=y - -config BR2_PACKAGE_TVHEADEND_SATIP - bool "SAT>IP support" - default y - help - Enable SAT>IP support. - -config BR2_PACKAGE_TVHEADEND_TIMESHIFT - bool "timeshift support" - default y - help - Enable timeshift support. - -config BR2_PACKAGE_TVHEADEND_TRANSCODING - bool "transcoding support" - depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS - select BR2_PACKAGE_FFMPEG - select BR2_PACKAGE_FFMPEG_AVRESAMPLE - select BR2_PACKAGE_FFMPEG_GPL # needed for x264 support - select BR2_PACKAGE_FFMPEG_SWSCALE - select BR2_PACKAGE_LIBVPX - select BR2_PACKAGE_X264 - help - Enable transcoding support. - -endif diff --git a/buildroot-2021.05/package/tvheadend/tvheadend.hash b/buildroot-2021.05/package/tvheadend/tvheadend.hash deleted file mode 100644 index 1c896df1..00000000 --- a/buildroot-2021.05/package/tvheadend/tvheadend.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 fc734c36c98aa1535172621c3b6fcac9f1d253f850abc50d01b771937bfd2a76 tvheadend-dbaa0f850394af8ab845df802f5f781ac0218ec4.tar.gz -sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md diff --git a/buildroot-2021.05/package/tvheadend/tvheadend.mk b/buildroot-2021.05/package/tvheadend/tvheadend.mk deleted file mode 100644 index b694c44e..00000000 --- a/buildroot-2021.05/package/tvheadend/tvheadend.mk +++ /dev/null @@ -1,208 +0,0 @@ -################################################################################ -# -# tvheadend -# -################################################################################ - -TVHEADEND_VERSION = dbaa0f850394af8ab845df802f5f781ac0218ec4 -TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) -TVHEADEND_LICENSE = GPL-3.0+ -TVHEADEND_LICENSE_FILES = LICENSE.md -TVHEADEND_DEPENDENCIES = \ - host-gettext \ - host-pkgconf \ - host-pngquant \ - $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python) \ - openssl - -ifeq ($(BR2_PACKAGE_AVAHI),y) -TVHEADEND_DEPENDENCIES += avahi -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -TVHEADEND_DEPENDENCIES += dbus -TVHEADEND_CONF_OPTS += --enable-dbus-1 -else -TVHEADEND_CONF_OPTS += --disable-dbus-1 -endif - -ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y) -TVHEADEND_CONF_OPTS += --enable-libav --enable-libx264 -TVHEADEND_DEPENDENCIES += ffmpeg x264 -ifeq ($(BR2_PACKAGE_LIBVA),y) -TVHEADEND_CONF_OPTS += --enable-vaapi -TVHEADEND_DEPENDENCIES += libva -else -TVHEADEND_CONF_OPTS += --disable-vaapi -endif -ifeq ($(BR2_PACKAGE_OPUS),y) -TVHEADEND_CONF_OPTS += --enable-libopus -TVHEADEND_DEPENDENCIES += opus -else -TVHEADEND_CONF_OPTS += --disable-libopus -endif -ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) -TVHEADEND_CONF_OPTS += --enable-omx -TVHEADEND_DEPENDENCIES += rpi-userland -else -TVHEADEND_CONF_OPTS += --disable-omx -endif -ifeq ($(BR2_PACKAGE_X265),y) -TVHEADEND_CONF_OPTS += --enable-libx265 -TVHEADEND_DEPENDENCIES += x265 -else -TVHEADEND_CONF_OPTS += --disable-libx265 -endif -else -TVHEADEND_CONF_OPTS += \ - --disable-libav \ - --disable-libopus \ - --disable-omx \ - --disable-vaapi \ - --disable-libx264 \ - --disable-libx265 -endif - -ifeq ($(BR2_PACKAGE_TVHEADEND_DESCRAMBLER),y) -TVHEADEND_CONF_OPTS += \ - --enable-cardclient \ - --enable-cwc \ - --enable-cccam \ - --enable-capmt \ - --enable-constcw -else -TVHEADEND_CONF_OPTS += \ - --disable-cardclient \ - --disable-cwc \ - --disable-cccam \ - --disable-capmt \ - --disable-constcw -endif - -ifeq ($(BR2_PACKAGE_TVHEADEND_IPTV),y) -TVHEADEND_CONF_OPTS += --enable-iptv -else -TVHEADEND_CONF_OPTS += --disable-iptv -endif - -ifeq ($(BR2_PACKAGE_TVHEADEND_SATIP),y) -TVHEADEND_CONF_OPTS += --enable-satip_client --enable-satip_server -else -TVHEADEND_CONF_OPTS += --disable-satip_client --disable-satip_server -endif - -ifeq ($(BR2_PACKAGE_TVHEADEND_TIMESHIFT),y) -TVHEADEND_CONF_OPTS += --enable-timeshift -else -TVHEADEND_CONF_OPTS += --disable-timeshift -endif - -ifeq ($(BR2_PACKAGE_LIBDVBCSA),y) -TVHEADEND_DEPENDENCIES += libdvbcsa -TVHEADEND_CONF_OPTS += --enable-tvhcsa -else -TVHEADEND_CONF_OPTS += --disable-tvhcsa -endif - -ifeq ($(BR2_PACKAGE_LIBHDHOMERUN),y) -TVHEADEND_DEPENDENCIES += libhdhomerun -TVHEADEND_CONF_OPTS += --enable-hdhomerun_client -else -TVHEADEND_CONF_OPTS += --disable-hdhomerun_client -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -TVHEADEND_DEPENDENCIES += libiconv -endif - -TVHEADEND_CFLAGS = $(TARGET_CFLAGS) -ifeq ($(BR2_PACKAGE_LIBURIPARSER),y) -TVHEADEND_DEPENDENCIES += liburiparser -TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE) -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -TVHEADEND_DEPENDENCIES += pcre -TVHEADEND_CONF_OPTS += --enable-pcre -else -TVHEADEND_CONF_OPTS += --disable-pcre -endif - -ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) -TVHEADEND_CONF_OPTS += --disable-pie -endif - -TVHEADEND_DEPENDENCIES += dtv-scan-tables - -# The tvheadend build system expects the transponder data to be present inside -# its source tree. To prevent a download initiated by the build system just -# copy the data files in the right place and add the corresponding stamp file. -define TVHEADEND_INSTALL_DTV_SCAN_TABLES - $(INSTALL) -d $(@D)/data/dvb-scan - cp -r $(TARGET_DIR)/usr/share/dvb/* $(@D)/data/dvb-scan/ - touch $(@D)/data/dvb-scan/.stamp -endef -TVHEADEND_PRE_CONFIGURE_HOOKS += TVHEADEND_INSTALL_DTV_SCAN_TABLES - -define TVHEADEND_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) \ - $(TARGET_CONFIGURE_ARGS) \ - CFLAGS="$(TVHEADEND_CFLAGS)" \ - ./configure \ - --prefix=/usr \ - --arch="$(ARCH)" \ - --cpu="$(GCC_TARGET_CPU)" \ - --nowerror \ - --python="$(HOST_DIR)/bin/python" \ - --enable-dvbscan \ - --enable-bundle \ - --enable-pngquant \ - --disable-ffmpeg_static \ - --disable-hdhomerun_static \ - $(TVHEADEND_CONF_OPTS) \ - ) -endef - -define TVHEADEND_FIX_PNGQUANT_PATH - $(SED) "s%^pngquant_bin =.*%pngquant_bin = '$(HOST_DIR)/bin/pngquant'%" \ - $(@D)/support/mkbundle -endef -TVHEADEND_POST_CONFIGURE_HOOKS += TVHEADEND_FIX_PNGQUANT_PATH - -define TVHEADEND_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define TVHEADEND_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install -endef - -# Remove documentation and source files that are not needed because we -# use the bundled web interface version. -define TVHEADEND_CLEAN_SHARE - rm -rf $(TARGET_DIR)/usr/share/tvheadend/docs - rm -rf $(TARGET_DIR)/usr/share/tvheadend/src -endef - -TVHEADEND_POST_INSTALL_TARGET_HOOKS += TVHEADEND_CLEAN_SHARE - -#---------------------------------------------------------------------------- -# To run tvheadend, we need: -# - a startup script, and its config file -# - a non-root user to run as, and a home for it that is not accessible -# to the other users (because there will be crendentials in there) - -define TVHEADEND_INSTALL_INIT_SYSV - $(INSTALL) -D package/tvheadend/etc.default.tvheadend $(TARGET_DIR)/etc/default/tvheadend - $(INSTALL) -D package/tvheadend/S99tvheadend $(TARGET_DIR)/etc/init.d/S99tvheadend -endef - -define TVHEADEND_USERS - tvheadend -1 tvheadend -1 * /home/tvheadend - video TVHeadend daemon -endef -define TVHEADEND_PERMISSIONS - /home/tvheadend r 0700 tvheadend tvheadend - - - - - -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/tzdata/tzdata.hash b/buildroot-2021.05/package/tzdata/tzdata.hash deleted file mode 100644 index f7062748..00000000 --- a/buildroot-2021.05/package/tzdata/tzdata.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://mm.icann.org/pipermail/tz-announce/2021-January/000065.html -sha512 7cdd762ec90ce12a30fa36b1d66d1ea82d9fa21e514e2b9c7fcbe2541514ee0fadf30843ff352c65512fb270857b51d1517b45e1232b89c6f954ba9ff1833bb3 tzdata2021a.tar.gz -# Locally computed: -sha256 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf LICENSE diff --git a/buildroot-2021.05/package/tzdata/tzdata.mk b/buildroot-2021.05/package/tzdata/tzdata.mk deleted file mode 100644 index 922e7420..00000000 --- a/buildroot-2021.05/package/tzdata/tzdata.mk +++ /dev/null @@ -1,66 +0,0 @@ -################################################################################ -# -# tzdata -# -################################################################################ - -TZDATA_VERSION = 2021a -TZDATA_SOURCE = tzdata$(TZDATA_VERSION).tar.gz -TZDATA_SITE = https://www.iana.org/time-zones/repository/releases -TZDATA_STRIP_COMPONENTS = 0 -TZDATA_DEPENDENCIES = host-tzdata -HOST_TZDATA_DEPENDENCIES = host-zic -TZDATA_LICENSE = Public domain -TZDATA_LICENSE_FILES = LICENSE - -# Take care when re-ordering this list since this might break zone -# dependencies -TZDATA_DEFAULT_ZONELIST = \ - africa antarctica asia australasia europe northamerica \ - southamerica etcetera backward factory - -ifeq ($(call qstrip,$(BR2_TARGET_TZ_ZONELIST)),default) -TZDATA_ZONELIST = $(TZDATA_DEFAULT_ZONELIST) -else -TZDATA_ZONELIST = $(call qstrip,$(BR2_TARGET_TZ_ZONELIST)) -endif - -TZDATA_LOCALTIME = $(call qstrip,$(BR2_TARGET_LOCALTIME)) -ifneq ($(TZDATA_LOCALTIME),) -define TZDATA_SET_LOCALTIME - if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/$(TZDATA_LOCALTIME) ]; then \ - printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \ - "$(TZDATA_LOCALTIME)"; \ - exit 1; \ - fi - ln -sf ../usr/share/zoneinfo/$(TZDATA_LOCALTIME) $(TARGET_DIR)/etc/localtime - echo "$(TZDATA_LOCALTIME)" >$(TARGET_DIR)/etc/timezone -endef -endif - -define TZDATA_INSTALL_TARGET_CMDS - $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/zoneinfo - cp -a $(HOST_DIR)/share/zoneinfo/* $(TARGET_DIR)/usr/share/zoneinfo - cd $(TARGET_DIR)/usr/share/zoneinfo; \ - for zone in posix/*; do \ - ln -sfn "$${zone}" "$${zone##*/}"; \ - done - $(TZDATA_SET_LOCALTIME) -endef - -define HOST_TZDATA_BUILD_CMDS - (cd $(@D); \ - for zone in $(TZDATA_ZONELIST); do \ - $(ZIC) -b fat -d _output/posix $$zone || exit 1; \ - $(ZIC) -b fat -d _output/right -L leapseconds $$zone || exit 1; \ - done; \ - ) -endef - -define HOST_TZDATA_INSTALL_CMDS - $(INSTALL) -d -m 0755 $(HOST_DIR)/share/zoneinfo - cp -a $(@D)/_output/* $(@D)/*.tab $(HOST_DIR)/share/zoneinfo -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/uacme/uacme.hash b/buildroot-2021.05/package/uacme/uacme.hash deleted file mode 100644 index d0277c73..00000000 --- a/buildroot-2021.05/package/uacme/uacme.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 3f3de5f456907558c4aa0db5654c618becb1b3e057ad217e180c8f72360e7841 uacme-1.4.1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/uacme/uacme.mk b/buildroot-2021.05/package/uacme/uacme.mk deleted file mode 100644 index 975a965d..00000000 --- a/buildroot-2021.05/package/uacme/uacme.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# uacme -# -################################################################################ - -UACME_VERSION = 1.4.1 -# Released versions are on branch upstream/latest, tagged as -# upstream/X.Y.Z Do not use vX.Y.Z tags from master, as they do not -# include .tarball-version -UACME_SITE = $(call github,ndilieto,uacme,upstream/$(UACME_VERSION)) -UACME_LICENSE = GPL-3.0+ -UACME_LICENSE_FILES = COPYING -UACME_DEPENDENCIES = libcurl - -UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -UACME_CONF_OPTS += --with-gnutls -UACME_DEPENDENCIES += gnutls -else ifeq ($(BR2_PACKAGE_OPENSSL),y) -UACME_CONF_OPTS += --with-openssl -UACME_DEPENDENCIES += openssl -else ifeq ($(BR2_PACKAGE_MBEDTLS),y) -UACME_CONF_OPTS += --with-mbedtls -UACME_DEPENDENCIES += mbedtls -endif - -ifeq ($(BR2_PACKAGE_UACME_UALPN),y) -UACME_DEPENDENCIES += libev -UACME_CONF_OPTS += --with-ualpn -else -UACME_CONF_OPTS += --without-ualpn -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/uboot-tools/Config.in b/buildroot-2021.05/package/uboot-tools/Config.in deleted file mode 100644 index 681f87b4..00000000 --- a/buildroot-2021.05/package/uboot-tools/Config.in +++ /dev/null @@ -1,96 +0,0 @@ -config BR2_PACKAGE_UBOOT_TOOLS - bool "u-boot tools" - help - Companion tools for Das U-Boot bootloader. - - http://www.denx.de/wiki/U-Boot/WebHome - -if BR2_PACKAGE_UBOOT_TOOLS - -config BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT - bool "Flattened Image Tree (FIT) support" - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_DTC - select BR2_PACKAGE_DTC_PROGRAMS - help - Enables support for Flattened Image Tree (FIT). - - This option allows to boot the new uImage structure, - Flattened Image Tree. FIT is formally a FDT, which can include - images of various types (kernel, FDT blob, ramdisk, etc.) - in a single blob. To boot this new uImage structure, - pass the address of the blob to the "bootm" command. - -comment "u-boot tools FIT support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -if BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT - -config BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT - bool "FIT signature verification support" - select BR2_PACKAGE_OPENSSL - help - Enables support for FIT Signature Verification. - - Flat Image Trees (FIT) supports hashing of images so that - these hashes can be checked on loading. This protects - against corruption of the image. However it does not prevent - the substitution of one image for another. - - The signature feature allows the hash to be signed with a - private key such that it can be verified using a public key - later. Provided that the private key is kept secret and the - public key is stored in a non-volatile place, any image can - be verified in this way. - - Enabling this option pulls in a dependency on libssl and - libcrypto, and possibly GPL/OpenSSL licensing - incompatibility issues. - -config BR2_PACKAGE_UBOOT_TOOLS_FIT_CHECK_SIGN - bool "fit_check_sign" - depends on BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT - help - Install the fit_check_sign tool on the target system - - The fit_check_sign tool from Das U-Boot bootloader, which - allows FIT image signature validation on target system. - -endif - -config BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE - bool "mkimage" - help - Install the mkimage tool on the target system - - The mkimage tool from Das U-Boot bootloader, which allows - generation of U-Boot images in various formats. - -config BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE - bool "mkenvimage" - help - Install the mkenvimage tool on the target system - - The mkenvimage tool from Das U-Boot bootloader, which allows - generation of a valid binary environment image from a text - file describing the key=value pairs of the environment. - -config BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV - bool "fw_printenv" - default y - help - Install the fw_printenv / fw_setenv tools on the target system - - The fw_printenv and fw_setenv tools from Das U-Boot - bootloader, which allows access to the U-Boot environment - from Linux. - -config BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE - bool "dumpimage" - help - Install the dumpimage tool on the target system - - The dumpimage tool from Das U-Boot bootloader, which allows - extraction of data from U-Boot images. - -endif diff --git a/buildroot-2021.05/package/uboot-tools/uboot-tools.hash b/buildroot-2021.05/package/uboot-tools/uboot-tools.hash deleted file mode 100644 index 9a0b0cb6..00000000 --- a/buildroot-2021.05/package/uboot-tools/uboot-tools.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a u-boot-2021.04.tar.bz2 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt diff --git a/buildroot-2021.05/package/uboot-tools/uboot-tools.mk b/buildroot-2021.05/package/uboot-tools/uboot-tools.mk deleted file mode 100644 index 8963d618..00000000 --- a/buildroot-2021.05/package/uboot-tools/uboot-tools.mk +++ /dev/null @@ -1,219 +0,0 @@ -################################################################################ -# -# uboot-tools -# -################################################################################ - -UBOOT_TOOLS_VERSION = 2021.04 -UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2 -UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot -UBOOT_TOOLS_LICENSE = GPL-2.0+ -UBOOT_TOOLS_LICENSE_FILES = Licenses/gpl-2.0.txt -UBOOT_TOOLS_CPE_ID_VENDOR = denx -UBOOT_TOOLS_CPE_ID_PRODUCT = u-boot -UBOOT_TOOLS_INSTALL_STAGING = YES - -# u-boot 2020.01+ needs make 4.0+ -UBOOT_TOOLS_DEPENDENCIES = $(BR2_MAKE_HOST_DEPENDENCY) -HOST_UBOOT_TOOLS_DEPENDENCIES = $(BR2_MAKE_HOST_DEPENDENCY) - -define UBOOT_TOOLS_CONFIGURE_CMDS - mkdir -p $(@D)/include/config - touch $(@D)/include/config/auto.conf - mkdir -p $(@D)/include/generated - touch $(@D)/include/generated/autoconf.h -endef - -UBOOT_TOOLS_MAKE_OPTS = CROSS_COMPILE="$(TARGET_CROSS)" \ - CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - HOSTCFLAGS="$(HOST_CFLAGS)" \ - STRIP=$(TARGET_STRIP) - -ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),y) -UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT=y CONFIG_MKIMAGE_DTC_PATH=dtc -UBOOT_TOOLS_DEPENDENCIES += dtc -endif - -ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y) -UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000 -UBOOT_TOOLS_DEPENDENCIES += openssl host-pkgconf -endif - -ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FIT_CHECK_SIGN),y) -define UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN - $(INSTALL) -m 0755 -D $(@D)/tools/fit_check_sign $(TARGET_DIR)/usr/bin/fit_check_sign -endef -endif - -define UBOOT_TOOLS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(BR2_MAKE) -C $(@D) $(UBOOT_TOOLS_MAKE_OPTS) \ - CROSS_BUILD_TOOLS=y tools-only - $(TARGET_MAKE_ENV) $(BR2_MAKE) -C $(@D) $(UBOOT_TOOLS_MAKE_OPTS) \ - envtools no-dot-config-targets=envtools -endef - -ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE),y) -define UBOOT_TOOLS_INSTALL_MKIMAGE - $(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(TARGET_DIR)/usr/bin/mkimage -endef -endif - -ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE),y) -define UBOOT_TOOLS_INSTALL_MKENVIMAGE - $(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(TARGET_DIR)/usr/bin/mkenvimage -endef -endif - -ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y) -define UBOOT_TOOLS_INSTALL_FWPRINTENV - $(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv - ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv -endef -endif - -ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y) -define UBOOT_TOOLS_INSTALL_DUMPIMAGE - $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage -endef -endif - -define UBOOT_TOOLS_INSTALL_STAGING_CMDS - $(INSTALL) -D -m 0755 $(@D)/tools/env/lib.a $(STAGING_DIR)/usr/lib/libubootenv.a - $(INSTALL) -D -m 0644 $(@D)/tools/env/fw_env.h $(STAGING_DIR)/usr/include/fw_env.h -endef - -define UBOOT_TOOLS_INSTALL_TARGET_CMDS - $(UBOOT_TOOLS_INSTALL_MKIMAGE) - $(UBOOT_TOOLS_INSTALL_MKENVIMAGE) - $(UBOOT_TOOLS_INSTALL_FWPRINTENV) - $(UBOOT_TOOLS_INSTALL_DUMPIMAGE) - $(UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN) -endef - -# host-uboot-tools - -define HOST_UBOOT_TOOLS_CONFIGURE_CMDS - mkdir -p $(@D)/include/config - touch $(@D)/include/config/auto.conf - mkdir -p $(@D)/include/generated - touch $(@D)/include/generated/autoconf.h -endef - -HOST_UBOOT_TOOLS_MAKE_OPTS = HOSTCC="$(HOSTCC)" \ - HOSTCFLAGS="$(HOST_CFLAGS)" \ - HOSTLDFLAGS="$(HOST_LDFLAGS)" - -ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT),y) -HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT=y CONFIG_MKIMAGE_DTC_PATH=dtc -HOST_UBOOT_TOOLS_DEPENDENCIES += host-dtc -endif - -ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y) -HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000 -HOST_UBOOT_TOOLS_DEPENDENCIES += host-openssl -endif - -ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE),y) - -UBOOT_TOOLS_GENERATE_ENV_FILE = $(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE)) - -# If BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE is left empty, we -# will use the default environment provided in the U-Boot build -# directory as boot-env-defaults.txt, which requires having uboot as a -# dependency. -# If BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE is not empty, is -# might be referring to a file within the U-Boot source tree, so we -# also need to have uboot as a dependency. -ifeq ($(BR2_TARGET_UBOOT),y) -HOST_UBOOT_TOOLS_DEPENDENCIES += uboot - -# Handle the case where BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE -# is left empty, use the default U-Boot environment. -ifeq ($(UBOOT_TOOLS_GENERATE_ENV_FILE),) -UBOOT_TOOLS_GENERATE_ENV_FILE = $(@D)/boot-env-defaults.txt -define HOST_UBOOT_TOOLS_GENERATE_ENV_DEFAULTS - CROSS_COMPILE="$(TARGET_CROSS)" \ - $(UBOOT_SRCDIR)/scripts/get_default_envs.sh \ - $(UBOOT_SRCDIR) \ - > $(UBOOT_TOOLS_GENERATE_ENV_FILE) -endef -endif # UBOOT_TOOLS_GENERATE_ENV_FILE -endif # BR2_TARGET_UBOOT - -ifeq ($(BR_BUILDING),y) -ifeq ($(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE)),) -$(error Please provide U-Boot environment size (BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE setting)) -endif -# If U-Boot is not available, ENVIMAGE_SOURCE must be provided by user, -# otherwise it is optional because the default can be taken from U-Boot -ifeq ($(BR2_TARGET_UBOOT),) -ifeq ($(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE)),) -$(error Please provide U-Boot environment file (BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE setting)) -endif -endif #BR2_TARGET_UBOOT -endif #BR_BUILDING - -define HOST_UBOOT_TOOLS_GENERATE_ENVIMAGE - $(HOST_UBOOT_TOOLS_GENERATE_ENV_DEFAULTS) - $(@D)/tools/mkenvimage -s $(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE) \ - $(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_REDUNDANT),-r) \ - $(if $(filter "BIG",$(BR2_ENDIAN)),-b) \ - -o $(@D)/tools/uboot-env.bin \ - $(UBOOT_TOOLS_GENERATE_ENV_FILE) -endef -define HOST_UBOOT_TOOLS_INSTALL_ENVIMAGE - $(INSTALL) -m 0755 -D $(@D)/tools/uboot-env.bin $(BINARIES_DIR)/uboot-env.bin -endef -endif #BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE - -ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT),y) -ifeq ($(BR_BUILDING),y) -ifeq ($(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE)),) -$(error Please define a source file for U-Boot boot script (BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE setting)) -endif -endif #BR_BUILDING - -define HOST_UBOOT_TOOLS_GENERATE_BOOT_SCRIPT - $(@D)/tools/mkimage -C none -A $(MKIMAGE_ARCH) -T script \ - -d $(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE)) \ - $(@D)/tools/boot.scr -endef -define HOST_UBOOT_TOOLS_INSTALL_BOOT_SCRIPT - $(INSTALL) -m 0755 -D $(@D)/tools/boot.scr $(BINARIES_DIR)/boot.scr -endef -endif #BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT - -define HOST_UBOOT_TOOLS_BUILD_CMDS - $(BR2_MAKE1) -C $(@D) $(HOST_UBOOT_TOOLS_MAKE_OPTS) tools-only - $(HOST_UBOOT_TOOLS_GENERATE_ENVIMAGE) - $(HOST_UBOOT_TOOLS_GENERATE_BOOT_SCRIPT) -endef - -define HOST_UBOOT_TOOLS_INSTALL_CMDS - $(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/bin/mkimage - $(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(HOST_DIR)/bin/mkenvimage - $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(HOST_DIR)/bin/dumpimage - $(HOST_UBOOT_TOOLS_INSTALL_ENVIMAGE) - $(HOST_UBOOT_TOOLS_INSTALL_BOOT_SCRIPT) -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) - -# Convenience variables for other mk files that make use of mkimage - -MKIMAGE = $(HOST_DIR)/bin/mkimage - -# mkimage supports arm blackfin m68k microblaze mips mips64 nios2 powerpc ppc sh sparc sparc64 x86 -# KERNEL_ARCH can be arm64 arc arm blackfin m68k microblaze mips nios2 powerpc sh sparc i386 x86_64 xtensa -# For arm64, arc, xtensa we'll just keep KERNEL_ARCH -# For mips64, we'll just keep mips -# For i386 and x86_64, we need to convert -ifeq ($(KERNEL_ARCH),x86_64) -MKIMAGE_ARCH = x86 -else ifeq ($(KERNEL_ARCH),i386) -MKIMAGE_ARCH = x86 -else -MKIMAGE_ARCH = $(KERNEL_ARCH) -endif diff --git a/buildroot-2021.05/package/ubus/ubus.hash b/buildroot-2021.05/package/ubus/ubus.hash deleted file mode 100644 index 15e67b53..00000000 --- a/buildroot-2021.05/package/ubus/ubus.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 0d2abb7212ad1ac0ac641d52f62e212bb090a1bbaeae975a78f44ab08d3e3c23 ubus-d1d9ddf98d39b0bdc055060fb962335439445690-br1.tar.gz -sha256 a3caa6c0e90c87b7c97c2ac3d0c0d416082ef777215faec2e9b24ea6e68f6988 ubusd_acl.h diff --git a/buildroot-2021.05/package/ubus/ubus.mk b/buildroot-2021.05/package/ubus/ubus.mk deleted file mode 100644 index 09668f7d..00000000 --- a/buildroot-2021.05/package/ubus/ubus.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# ubus -# -################################################################################ - -UBUS_VERSION = d1d9ddf98d39b0bdc055060fb962335439445690 -UBUS_SITE = https://git.openwrt.org/project/ubus.git -UBUS_SITE_METHOD = git - -UBUS_LICENSE = LGPL-2.1 -UBUS_LICENSE_FILES = ubusd_acl.h - -UBUS_INSTALL_STAGING = YES - -UBUS_DEPENDENCIES = json-c libubox - -# package only compiles with Lua 5.1 -ifeq ($(BR2_PACKAGE_LUA_5_1),y) -UBUS_DEPENDENCIES += lua -UBUS_CONF_OPTS += -DBUILD_LUA=ON \ - -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include \ - -DLUAPATH=/usr/lib/lua/$(LUAINTERPRETER_ABIVER) -else -UBUS_CONF_OPTS += -DBUILD_LUA=OFF -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -UBUS_DEPENDENCIES += systemd -UBUS_CONF_OPTS += -DENABLE_SYSTEMD=ON -else -UBUS_CONF_OPTS += -DENABLE_SYSTEMD=OFF -endif - -ifeq ($(BR2_PACKAGE_UBUS_EXAMPLES),y) -UBUS_CONF_OPTS += -DBUILD_EXAMPLES=ON -else -UBUS_CONF_OPTS += -DBUILD_EXAMPLES=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/uclibc/0001-powerpc-fix-PIE-PIC-builds-with-newer-gcc-binutils-w.patch b/buildroot-2021.05/package/uclibc/0001-powerpc-fix-PIE-PIC-builds-with-newer-gcc-binutils-w.patch deleted file mode 100644 index 040699df..00000000 --- a/buildroot-2021.05/package/uclibc/0001-powerpc-fix-PIE-PIC-builds-with-newer-gcc-binutils-w.patch +++ /dev/null @@ -1,91 +0,0 @@ -From 6c95eccff5eb43c8c3ad865d3b1316b7952cc58e Mon Sep 17 00:00:00 2001 -From: Yann Sionneau -Date: Fri, 28 May 2021 08:59:58 +0200 -Subject: [PATCH] powerpc: fix PIE/PIC builds with newer gcc/binutils which use - secureplt by default - -This patch fixes segfault of all user space processes (including init, which caused a panic) on recent buildroot powerpc32 builds. - -The issue has been reported by Romain Naour in this thread: https://mailman.uclibc-ng.org/pipermail/devel/2021-May/002068.html - -Recent buildroot toolchain enables secure PLT in powerpc gcc. -The latter will then supply -msecure-plt to gas invocations by default. -Recent buildroot also enables PIE by default. - -For the secure PLT to work in PIC, the r30 register needs to point to the GOT. -Old "bss plt" was just a one-instruction-wide PLT slot, pointed-to by a R_PPC_JMP_SLOT relocation, which was written on-the-fly to contain a branch instruction to the correct address. It therefore had to stay writable+executable, which you generally want to avoid for security reasons. -New secure PLT only contains read-only code which loads the branch address from the writable GOT. - -Note: secure PLT without PIC does not need r30 to be set. Because offset between plt stub code and got is known at link-time. In this case the PLT entry looks like: -1009b3e0 <__uClibc_main@plt>: -1009b3e0: 3d 60 10 0e lis r11,4110 -1009b3e4: 81 6b 03 74 lwz r11,884(r11) -1009b3e8: 7d 69 03 a6 mtctr r11 -1009b3ec: 4e 80 04 20 bctr - -Whereas secure PLT with PIC - offset between plt and got is unknown at link-time - looks like this: -000af800 <00000000.plt_pic32.__uClibc_main>: - af800: 81 7e 03 80 lwz r11,896(r30) - af804: 7d 69 03 a6 mtctr r11 - af808: 4e 80 04 20 bctr - af80c: 60 00 00 00 nop - -Upstream status: Pending: -https://mailman.uclibc-ng.org/pipermail/devel/2021-May/002091.html - -Signed-off-by: Yann Sionneau -Signed-off-by: Romain Naour ---- - Rules.mak | 3 ++- - ldso/ldso/powerpc/dl-startup.h | 3 +++ - libc/sysdeps/linux/powerpc/crt1.S | 4 ++++ - 3 files changed, 9 insertions(+), 1 deletion(-) - -diff --git a/Rules.mak b/Rules.mak -index 10f88b3de..60ac59b85 100644 ---- a/Rules.mak -+++ b/Rules.mak -@@ -477,9 +477,10 @@ ifeq ($(TARGET_ARCH),powerpc) - PICFLAG:=-fpic - PIEFLAG_NAME:=-fpie - PPC_HAS_REL16:=$(shell printf "\t.text\n\taddis 11,30,_GLOBAL_OFFSET_TABLE_-.@ha\n" | $(CC) -c -x assembler -o /dev/null - 2> /dev/null && echo -n y || echo -n n) -+ PPC_HAS_SECUREPLT:=$(shell $(CC) --verbose 2>&1 | grep -- --enable-secureplt > /dev/null && echo -n y || echo -n n) -+ CPU_CFLAGS-$(PPC_HAS_SECUREPLT) += -DPPC_HAS_SECUREPLT - CPU_CFLAGS-$(PPC_HAS_REL16)+= -DHAVE_ASM_PPC_REL16 - CPU_CFLAGS-$(CONFIG_E500) += "-D__NO_MATH_INLINES" -- - endif - - ifeq ($(TARGET_ARCH),bfin) -diff --git a/ldso/ldso/powerpc/dl-startup.h b/ldso/ldso/powerpc/dl-startup.h -index 8b2a517e2..7749395eb 100644 ---- a/ldso/ldso/powerpc/dl-startup.h -+++ b/ldso/ldso/powerpc/dl-startup.h -@@ -25,6 +25,9 @@ __asm__( - #else - " bl _GLOBAL_OFFSET_TABLE_-4@local\n" /* Put our GOT pointer in r31, */ - " mflr 31\n" -+#endif -+#ifdef PPC_HAS_SECUREPLT -+ " mr 30,31\n" - #endif - " addi 1,1,16\n" /* Restore SP */ - " lwz 7,_dl_skip_args@got(31)\n" /* load EA of _dl_skip_args */ -diff --git a/libc/sysdeps/linux/powerpc/crt1.S b/libc/sysdeps/linux/powerpc/crt1.S -index 27bfc5a5a..3f5d056c0 100644 ---- a/libc/sysdeps/linux/powerpc/crt1.S -+++ b/libc/sysdeps/linux/powerpc/crt1.S -@@ -56,6 +56,10 @@ _start: - # else - bl _GLOBAL_OFFSET_TABLE_-4@local - mflr r31 -+# endif -+ /* in PIC/PIE, plt stubs need r30 to point to the GOT if using secure-plt */ -+# ifdef PPC_HAS_SECUREPLT -+ mr 30,31 - # endif - #endif - /* Set up the small data pointer in r13. */ --- -2.31.1 - diff --git a/buildroot-2021.05/package/uclibc/Config.in b/buildroot-2021.05/package/uclibc/Config.in deleted file mode 100644 index e59fef3c..00000000 --- a/buildroot-2021.05/package/uclibc/Config.in +++ /dev/null @@ -1,154 +0,0 @@ -if BR2_TOOLCHAIN_BUILDROOT_UCLIBC - -comment "uClibc Options" - -config BR2_PACKAGE_UCLIBC - bool - default y - select BR2_PACKAGE_LINUX_HEADERS - -config BR2_UCLIBC_CONFIG - string "uClibc configuration file to use?" - default "package/uclibc/uClibc-ng.config" - help - Some people may wish to use their own modified uClibc - configuration file and will specify their config file - location with this option. See also docs/README in this - package. If unsure, use the default. - -config BR2_UCLIBC_CONFIG_FRAGMENT_FILES - string "Additional uClibc configuration fragment files" - help - A space-separated list of configuration fragment files, that - will be merged to the main uClibc configuration file. - -config BR2_TOOLCHAIN_BUILDROOT_WCHAR - bool "Enable WCHAR support" - select BR2_USE_WCHAR - help - Enable this option if you want your toolchain to support - wide characters (i.e characters longer than 8 bits, needed - for locale support). - -config BR2_TOOLCHAIN_BUILDROOT_LOCALE - bool "Enable toolchain locale/i18n support" - select BR2_TOOLCHAIN_BUILDROOT_WCHAR - select BR2_ENABLE_LOCALE - select BR2_NEEDS_HOST_UTF8_LOCALE - help - Enable this option if you want your toolchain to support - localization and internationalization. - -choice - prompt "Thread library implementation" - help - Use this option to select the thread library implementation - that should be used in your toolchain. - -config BR2_PTHREADS_NATIVE - bool "Native POSIX Threading (NPTL)" - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - -config BR2_PTHREADS - bool "linuxthreads" - depends on BR2_m68k || BR2_microblaze || BR2_or1k || BR2_arm || BR2_armeb || BR2_xtensa - select BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PTHREADS_NONE - bool "none" - -endchoice - -config BR2_PTHREAD_DEBUG - bool "Thread library debugging" - depends on BR2_PTHREADS || BR2_PTHREADS_NATIVE - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - help - Build the thread library with debugging enabled. - -config BR2_TOOLCHAIN_BUILDROOT_USE_SSP - bool "Enable stack protection support" - depends on BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI - select BR2_TOOLCHAIN_HAS_SSP - help - Enable stack smashing protection support using GCCs - -fstack-protector-all option in uClibc. - - See - http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt - for details. - -config BR2_UCLIBC_INSTALL_UTILS - bool "Compile and install uClibc utilities" - default y - help - Enabling this option will compile and install the getconf, - ldconfig and ldd uClibc utilities for the target. - - You can save ~32 KiB in target space by disabling them since - they're normally not needed. - -# Mapping from the Buildroot architecture configuration options to the -# uClibc architecture names. -config BR2_UCLIBC_TARGET_ARCH - string - default "arc" if BR2_arcle || BR2_arceb - default "arm" if BR2_arm || BR2_armeb - default "m68k" if BR2_m68k - default "microblaze" if BR2_microblaze - default "mips" if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - default "or1k" if BR2_or1k - default "powerpc" if BR2_powerpc - default "sh" if BR2_sh - default "sparc" if BR2_sparc - default "xtensa" if BR2_xtensa - default "i386" if BR2_i386 - default "x86_64" if BR2_x86_64 - default "riscv64" if BR2_RISCV_64 - -config BR2_UCLIBC_MIPS_ABI - string - default "O32" if BR2_MIPS_OABI32 - default "N32" if BR2_MIPS_NABI32 - default "N64" if BR2_MIPS_NABI64 - depends on BR2_UCLIBC_TARGET_ARCH = "mips" - -config BR2_UCLIBC_MIPS_NAN - string - default "LEGACY" if BR2_MIPS_NAN_LEGACY - default "2008" if BR2_MIPS_NAN_2008 - depends on BR2_UCLIBC_TARGET_ARCH = "mips" - -config BR2_UCLIBC_SH_TYPE - string - default "SH2A" if BR2_sh2a - default "SH4" if BR2_sh4 || BR2_sh4eb - depends on BR2_UCLIBC_TARGET_ARCH = "sh" - -config BR2_UCLIBC_SPARC_TYPE - string - default "V7" if BR2_sparc_v7 || BR2_sparc_sparchfleon || BR2_sparc_sparcsfleon - default "V8" if BR2_sparc_v8 || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleonv8 - depends on BR2_UCLIBC_TARGET_ARCH = "sparc" - -config BR2_UCLIBC_POWERPC_TYPE - string - default "CLASSIC" if !BR2_powerpc_8540 && !BR2_powerpc_8548 - default "E500" if BR2_powerpc_8540 || BR2_powerpc_8548 - depends on BR2_UCLIBC_TARGET_ARCH = "powerpc" - -config BR2_UCLIBC_X86_TYPE - string - default "486" if BR2_x86_i486 - default "586" if BR2_x86_i586 - default "586MMX" if BR2_x86_pentium_mmx - default "686" if BR2_x86_i686 || BR2_x86_pentiumpro - default "PENTIUMII" if BR2_x86_pentium2 - default "PENTIUMIII" if BR2_x86_pentium3 - default "PENTIUM4" if BR2_x86_pentium4 || BR2_x86_pentium_m || \ - BR2_x86_nocona || BR2_x86_core2 || BR2_x86_corei7 - depends on BR2_UCLIBC_TARGET_ARCH = "i386" - -endif # BR2_TOOLCHAIN_BUILDROOT_UCLIBC diff --git a/buildroot-2021.05/package/uclibc/uclibc.hash b/buildroot-2021.05/package/uclibc/uclibc.hash deleted file mode 100644 index 2935785f..00000000 --- a/buildroot-2021.05/package/uclibc/uclibc.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://downloads.uclibc-ng.org/releases/1.0.38/uClibc-ng-1.0.38.tar.xz.sha256 -sha256 b1a3328330d2c94a2bec8c1436a8f15673f3a9b5895e155efc2e91d4e1882570 uClibc-ng-1.0.38.tar.xz -# Locally calculated -sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING.LIB diff --git a/buildroot-2021.05/package/uclibc/uclibc.mk b/buildroot-2021.05/package/uclibc/uclibc.mk deleted file mode 100644 index a7c96684..00000000 --- a/buildroot-2021.05/package/uclibc/uclibc.mk +++ /dev/null @@ -1,464 +0,0 @@ -################################################################################ -# -# uclibc -# -################################################################################ - -UCLIBC_VERSION = 1.0.38 -UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz -UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION) -UCLIBC_LICENSE = LGPL-2.1+ -UCLIBC_LICENSE_FILES = COPYING.LIB -UCLIBC_INSTALL_STAGING = YES -UCLIBC_CPE_ID_VENDOR = uclibc-ng_project -UCLIBC_CPE_ID_PRODUCT = uclibc-ng - -define UCLIBC_HELP_CMDS - @echo ' uclibc-menuconfig - Run uClibc menuconfig' -endef - -# uclibc is part of the toolchain so disable the toolchain dependency -UCLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO - -# Before uClibc is configured, we must have the first stage -# cross-compiler and the kernel headers -UCLIBC_DEPENDENCIES = host-gcc-initial linux-headers - -# specifying UCLIBC_CONFIG_FILE on the command-line overrides the .config -# setting. -ifndef UCLIBC_CONFIG_FILE -UCLIBC_CONFIG_FILE = $(call qstrip,$(BR2_UCLIBC_CONFIG)) -endif - -UCLIBC_KCONFIG_FILE = $(UCLIBC_CONFIG_FILE) -UCLIBC_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_UCLIBC_CONFIG_FRAGMENT_FILES)) - -# UCLIBC_MAKE_FLAGS set HOSTCC to the default HOSTCC, which may be -# wrapped with ccache. However, host-ccache may not already be built -# and installed when we apply the configuration, so we override that -# to use the non-ccached host compiler. -UCLIBC_KCONFIG_OPTS = \ - $(UCLIBC_MAKE_FLAGS) \ - HOSTCC="$(HOSTCC_NOCCACHE)" \ - PREFIX=$(STAGING_DIR) \ - DEVEL_PREFIX=/usr/ \ - RUNTIME_PREFIX=$(STAGING_DIR)/ - -UCLIBC_TARGET_ARCH = $(call qstrip,$(BR2_UCLIBC_TARGET_ARCH)) - -UCLIBC_GENERATE_LOCALES = $(call qstrip,$(BR2_GENERATE_LOCALE)) - -ifeq ($(UCLIBC_GENERATE_LOCALES),) -# We need at least one locale -UCLIBC_LOCALES = en_US -else -# Strip out the encoding part of locale names, if any -UCLIBC_LOCALES = \ - $(foreach locale,$(UCLIBC_GENERATE_LOCALES),\ - $(firstword $(subst .,$(space),$(locale)))) -endif - -# noMMU binary formats -ifeq ($(BR2_BINFMT_FLAT_ONE),y) -define UCLIBC_BINFMT_CONFIG - $(call KCONFIG_ENABLE_OPT,UCLIBC_FORMAT_FLAT) - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT_SEP_DATA) - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_SHARED_FLAT) - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF) -endef -endif -ifeq ($(BR2_BINFMT_FLAT_SHARED),y) -define UCLIBC_BINFMT_CONFIG - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT) - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT_SEP_DATA) - $(call KCONFIG_ENABLE_OPT,UCLIBC_FORMAT_SHARED_FLAT) - $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF) -endef -endif - -# -# ARC definitions -# - -ifeq ($(UCLIBC_TARGET_ARCH),arc) -UCLIBC_ARC_PAGE_SIZE = CONFIG_ARC_PAGE_SIZE_$(call qstrip,$(BR2_ARC_PAGE_SIZE)) -define UCLIBC_ARC_PAGE_SIZE_CONFIG - $(SED) '/CONFIG_ARC_PAGE_SIZE_*/d' $(@D)/.config - $(call KCONFIG_ENABLE_OPT,$(UCLIBC_ARC_PAGE_SIZE)) -endef - -ifeq ($(BR2_ARC_ATOMIC_EXT),) -define UCLIBC_ARC_ATOMICS_CONFIG - $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_HAS_ATOMICS) -endef -endif - -endif # arc - -# -# ARM definitions -# - -ifeq ($(UCLIBC_TARGET_ARCH),arm) -define UCLIBC_ARM_ABI_CONFIG - $(SED) '/CONFIG_ARM_.ABI/d' $(@D)/.config - $(call KCONFIG_ENABLE_OPT,CONFIG_ARM_EABI) -endef - -ifeq ($(BR2_BINFMT_FLAT),y) -define UCLIBC_ARM_BINFMT_FLAT - $(call KCONFIG_DISABLE_OPT,DOPIC) -endef -endif - -# context functions are written with ARM instructions. Therefore, if -# we are using a Thumb2-only platform (i.e, Cortex-M), they must be -# disabled. Thumb1 platforms are not a problem, since they all also -# support the ARM instructions. -ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB2):$(BR2_ARM_CPU_HAS_ARM),y:) -define UCLIBC_ARM_NO_CONTEXT_FUNCS - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_CONTEXT_FUNCS) -endef -endif - -endif # arm - -# -# m68k/coldfire definitions -# - -ifeq ($(UCLIBC_TARGET_ARCH),m68k) - -# disable DOPIC for flat without separate data -ifeq ($(BR2_BINFMT_FLAT_ONE),y) -define UCLIBC_M68K_BINFMT_FLAT - $(call KCONFIG_DISABLE_OPT,DOPIC) -endef -endif - -endif # m68k/coldfire - -# -# MIPS definitions -# - -ifeq ($(UCLIBC_TARGET_ARCH),mips) -UCLIBC_MIPS_ABI = CONFIG_MIPS_$(call qstrip,$(BR2_UCLIBC_MIPS_ABI))_ABI -define UCLIBC_MIPS_ABI_CONFIG - $(SED) '/CONFIG_MIPS_[NO].._ABI/d' $(@D)/.config - $(call KCONFIG_ENABLE_OPT,$(UCLIBC_MIPS_ABI)) -endef - -UCLIBC_MIPS_NAN = CONFIG_MIPS_NAN_$(call qstrip,$(BR2_UCLIBC_MIPS_NAN)) -define UCLIBC_MIPS_NAN_CONFIG - $(SED) '/CONFIG_MIPS_NAN_.*/d' $(@D)/.config - $(call KCONFIG_ENABLE_OPT,$(UCLIBC_MIPS_NAN)) -endef -endif # mips - -# -# SH definitions -# - -ifeq ($(UCLIBC_TARGET_ARCH),sh) -UCLIBC_SH_TYPE = CONFIG_$(call qstrip,$(BR2_UCLIBC_SH_TYPE)) -define UCLIBC_SH_TYPE_CONFIG - $(SED) '/CONFIG_SH[234A]*/d' $(@D)/.config - $(call KCONFIG_ENABLE_OPT,$(UCLIBC_SH_TYPE)) -endef -endif # sh - -# -# SPARC definitions -# - -ifeq ($(UCLIBC_TARGET_ARCH),sparc) -UCLIBC_SPARC_TYPE = CONFIG_SPARC_$(call qstrip,$(BR2_UCLIBC_SPARC_TYPE)) -define UCLIBC_SPARC_TYPE_CONFIG - $(SED) 's/^\(CONFIG_[^_]*[_]*SPARC[^=]*\)=.*/# \1 is not set/g' \ - $(@D)/.config - $(call KCONFIG_ENABLE_OPT,$(UCLIBC_SPARC_TYPE)) -endef -endif # sparc - -# -# PowerPC definitions -# - -ifeq ($(UCLIBC_TARGET_ARCH),powerpc) -UCLIBC_POWERPC_TYPE = CONFIG_$(call qstrip,$(BR2_UCLIBC_POWERPC_TYPE)) -define UCLIBC_POWERPC_TYPE_CONFIG - $(call KCONFIG_DISABLE_OPT,CONFIG_GENERIC) - $(call KCONFIG_DISABLE_OPT,CONFIG_E500) - $(call KCONFIG_ENABLE_OPT,$(UCLIBC_POWERPC_TYPE)) -endef -endif # powerpc - -# -# x86 definitions -# -ifeq ($(UCLIBC_TARGET_ARCH),i386) -UCLIBC_X86_TYPE = CONFIG_$(call qstrip,$(BR2_UCLIBC_X86_TYPE)) -define UCLIBC_X86_TYPE_CONFIG - $(call KCONFIG_ENABLE_OPT,$(UCLIBC_X86_TYPE)) -endef -endif - -# -# Debug -# -ifeq ($(BR2_ENABLE_DEBUG),y) -define UCLIBC_DEBUG_CONFIG - $(call KCONFIG_ENABLE_OPT,DODEBUG) -endef -endif - -# -# Endianness -# - -ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG) -define UCLIBC_ENDIAN_CONFIG - $(call KCONFIG_ENABLE_OPT,ARCH_BIG_ENDIAN) - $(call KCONFIG_ENABLE_OPT,ARCH_WANTS_BIG_ENDIAN) - $(call KCONFIG_DISABLE_OPT,ARCH_LITTLE_ENDIAN) - $(call KCONFIG_DISABLE_OPT,ARCH_WANTS_LITTLE_ENDIAN) -endef -else -define UCLIBC_ENDIAN_CONFIG - $(call KCONFIG_ENABLE_OPT,ARCH_LITTLE_ENDIAN) - $(call KCONFIG_ENABLE_OPT,ARCH_WANTS_LITTLE_ENDIAN) - $(call KCONFIG_DISABLE_OPT,ARCH_BIG_ENDIAN) - $(call KCONFIG_DISABLE_OPT,ARCH_WANTS_BIG_ENDIAN) -endef -endif - -# -# MMU -# - -ifeq ($(BR2_USE_MMU),y) -define UCLIBC_MMU_CONFIG - $(call KCONFIG_ENABLE_OPT,ARCH_HAS_MMU) - $(call KCONFIG_ENABLE_OPT,ARCH_USE_MMU) -endef -else -define UCLIBC_MMU_CONFIG - $(call KCONFIG_DISABLE_OPT,ARCH_HAS_MMU) - $(call KCONFIG_DISABLE_OPT,ARCH_USE_MMU) -endef -endif - -# -# IPv6 -# - -UCLIBC_IPV6_CONFIG = $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_IPV6) - -# -# soft-float -# - -ifeq ($(BR2_SOFT_FLOAT),y) -define UCLIBC_FLOAT_CONFIG - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_FPU) - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_FLOATS) - $(call KCONFIG_ENABLE_OPT,DO_C99_MATH) -endef -else -define UCLIBC_FLOAT_CONFIG - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_FPU) - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_FLOATS) -endef -endif - -# -# SSP -# -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_USE_SSP),y) -define UCLIBC_SSP_CONFIG - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_SSP) - $(call KCONFIG_ENABLE_OPT,UCLIBC_BUILD_SSP) -endef -else -define UCLIBC_SSP_CONFIG - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_SSP) - $(call KCONFIG_DISABLE_OPT,UCLIBC_BUILD_SSP) -endef -endif - -# -# Threads -# -ifeq ($(BR2_PTHREADS_NONE),y) -define UCLIBC_THREAD_CONFIG - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_THREADS) - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_LINUXTHREADS) - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_THREADS_NATIVE) -endef -else ifeq ($(BR2_PTHREADS),y) -define UCLIBC_THREAD_CONFIG - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_THREADS) - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_LINUXTHREADS) - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_THREADS_NATIVE) -endef -else ifeq ($(BR2_PTHREADS_NATIVE),y) -define UCLIBC_THREAD_CONFIG - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_THREADS) - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_LINUXTHREADS) - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_THREADS_NATIVE) -endef -endif - -# -# Thread debug -# - -ifeq ($(BR2_PTHREAD_DEBUG),y) -UCLIBC_THREAD_DEBUG_CONFIG = $(call KCONFIG_ENABLE_OPT,PTHREADS_DEBUG_SUPPORT) -else -UCLIBC_THREAD_DEBUG_CONFIG = $(call KCONFIG_DISABLE_OPT,PTHREADS_DEBUG_SUPPORT) -endif - -# -# Locale -# - -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_LOCALE),y) -define UCLIBC_LOCALE_CONFIG - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_LOCALE) - $(call KCONFIG_DISABLE_OPT,UCLIBC_BUILD_ALL_LOCALE) - $(call KCONFIG_ENABLE_OPT,UCLIBC_BUILD_MINIMAL_LOCALE) - $(call KCONFIG_SET_OPT,UCLIBC_BUILD_MINIMAL_LOCALES,"$(UCLIBC_LOCALES)") - $(call KCONFIG_DISABLE_OPT,UCLIBC_PREGENERATED_LOCALE_DATA) - $(call KCONFIG_DISABLE_OPT,DOWNLOAD_PREGENERATED_LOCALE_DATA) - $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_XLOCALE) - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_GLIBC_DIGIT_GROUPING) -endef -else -define UCLIBC_LOCALE_CONFIG - $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_LOCALE) -endef -endif - -# -# wchar -# - -ifeq ($(BR2_TOOLCHAIN_BUILDROOT_WCHAR),y) -UCLIBC_WCHAR_CONFIG = $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_WCHAR) -else -UCLIBC_WCHAR_CONFIG = $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_WCHAR) -endif - -# -# static/shared libs -# - -ifeq ($(BR2_STATIC_LIBS),y) -UCLIBC_SHARED_LIBS_CONFIG = $(call KCONFIG_DISABLE_OPT,HAVE_SHARED) -else -UCLIBC_SHARED_LIBS_CONFIG = $(call KCONFIG_ENABLE_OPT,HAVE_SHARED) -endif - -# -# Commands -# - -UCLIBC_MAKE_FLAGS = \ - ARCH="$(UCLIBC_TARGET_ARCH)" \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - UCLIBC_EXTRA_CFLAGS="$(TARGET_ABI)" \ - HOSTCC="$(HOSTCC)" - -define UCLIBC_KCONFIG_FIXUP_CMDS - $(call KCONFIG_SET_OPT,CROSS_COMPILER_PREFIX,"$(TARGET_CROSS)") - $(call KCONFIG_ENABLE_OPT,TARGET_$(UCLIBC_TARGET_ARCH)) - $(call KCONFIG_SET_OPT,TARGET_ARCH,"$(UCLIBC_TARGET_ARCH)") - $(call KCONFIG_SET_OPT,KERNEL_HEADERS,"$(LINUX_HEADERS_DIR)/usr/include") - $(call KCONFIG_SET_OPT,RUNTIME_PREFIX,"/") - $(call KCONFIG_SET_OPT,DEVEL_PREFIX,"/usr") - $(call KCONFIG_SET_OPT,SHARED_LIB_LOADER_PREFIX,"/lib") - $(UCLIBC_MMU_CONFIG) - $(UCLIBC_BINFMT_CONFIG) - $(UCLIBC_ARC_PAGE_SIZE_CONFIG) - $(UCLIBC_ARC_ATOMICS_CONFIG) - $(UCLIBC_ARM_ABI_CONFIG) - $(UCLIBC_ARM_BINFMT_FLAT) - $(UCLIBC_ARM_NO_CONTEXT_FUNCS) - $(UCLIBC_M68K_BINFMT_FLAT) - $(UCLIBC_MIPS_ABI_CONFIG) - $(UCLIBC_MIPS_NAN_CONFIG) - $(UCLIBC_SH_TYPE_CONFIG) - $(UCLIBC_SPARC_TYPE_CONFIG) - $(UCLIBC_POWERPC_TYPE_CONFIG) - $(UCLIBC_X86_TYPE_CONFIG) - $(UCLIBC_DEBUG_CONFIG) - $(UCLIBC_ENDIAN_CONFIG) - $(UCLIBC_IPV6_CONFIG) - $(UCLIBC_FLOAT_CONFIG) - $(UCLIBC_SSP_CONFIG) - $(UCLIBC_THREAD_CONFIG) - $(UCLIBC_THREAD_DEBUG_CONFIG) - $(UCLIBC_LOCALE_CONFIG) - $(UCLIBC_WCHAR_CONFIG) - $(UCLIBC_SHARED_LIBS_CONFIG) -endef - -define UCLIBC_BUILD_CMDS - $(MAKE) -C $(@D) $(UCLIBC_MAKE_FLAGS) headers - $(MAKE) -C $(@D) $(UCLIBC_MAKE_FLAGS) - $(MAKE) -C $(@D)/utils \ - PREFIX=$(HOST_DIR) \ - HOSTCC="$(HOSTCC)" hostutils -endef - -ifeq ($(BR2_UCLIBC_INSTALL_UTILS),y) -define UCLIBC_INSTALL_UTILS_TARGET - $(MAKE1) -C $(@D) \ - CC="$(TARGET_CC)" CPP="$(TARGET_CPP)" LD="$(TARGET_LD)" \ - ARCH="$(UCLIBC_TARGET_ARCH)" \ - PREFIX=$(TARGET_DIR) \ - utils install_utils -endef -endif - -define UCLIBC_INSTALL_TARGET_CMDS - $(MAKE1) -C $(@D) \ - $(UCLIBC_MAKE_FLAGS) \ - PREFIX=$(TARGET_DIR) \ - DEVEL_PREFIX=/usr/ \ - RUNTIME_PREFIX=/ \ - install_runtime - $(UCLIBC_INSTALL_UTILS_TARGET) -endef - -# STATIC has no ld* tools, only getconf -ifeq ($(BR2_STATIC_LIBS),) -define UCLIBC_INSTALL_UTILS_STAGING - $(INSTALL) -D -m 0755 $(@D)/utils/ldd.host $(HOST_DIR)/bin/ldd - ln -sf ldd $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-ldd - $(INSTALL) -D -m 0755 $(@D)/utils/ldconfig.host $(HOST_DIR)/bin/ldconfig - ln -sf ldconfig $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-ldconfig -endef -endif - -define UCLIBC_INSTALL_STAGING_CMDS - $(MAKE1) -C $(@D) \ - $(UCLIBC_MAKE_FLAGS) \ - PREFIX=$(STAGING_DIR) \ - DEVEL_PREFIX=/usr/ \ - RUNTIME_PREFIX=/ \ - install_runtime install_dev - $(UCLIBC_INSTALL_UTILS_STAGING) -endef - -# Checks to give errors that the user can understand -# Must be before we call to kconfig-package -ifeq ($(BR2_PACKAGE_UCLIBC)$(BR_BUILDING),yy) -ifeq ($(call qstrip,$(BR2_UCLIBC_CONFIG)),) -$(error No uClibc configuration file specified, check your BR2_UCLIBC_CONFIG setting) -endif -endif - -$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/package/udisks/0001-fix-build-with-newer-glibc-versions.patch b/buildroot-2021.05/package/udisks/0001-fix-build-with-newer-glibc-versions.patch deleted file mode 100644 index 336fc440..00000000 --- a/buildroot-2021.05/package/udisks/0001-fix-build-with-newer-glibc-versions.patch +++ /dev/null @@ -1,29 +0,0 @@ -Fix build with newer glibc versions - -This patch has been backported from upstream: - -http://cgit.freedesktop.org/udisks/commit/?h=udisks1&id=9829152b12a8924d2e091a00133ed1a3a7ba75c0 - -Signed-off-by: Vicente Olivert Riera - -From 9829152b12a8924d2e091a00133ed1a3a7ba75c0 Mon Sep 17 00:00:00 2001 -From: Alexandre Rostovtsev -Date: Fri, 29 May 2015 21:09:39 -0400 -Subject: fix build with newer glibc versions - -https://bugs.freedesktop.org/show_bug.cgi?id=90778 - -diff --git a/src/helpers/job-drive-detach.c b/src/helpers/job-drive-detach.c -index eeafcab..d122a1f 100644 ---- a/src/helpers/job-drive-detach.c -+++ b/src/helpers/job-drive-detach.c -@@ -18,6 +18,7 @@ - * - */ - -+#include - #include - #include - #include --- -cgit v0.10.2 diff --git a/buildroot-2021.05/package/udisks/0002-Fix-systemd-service-file.patch b/buildroot-2021.05/package/udisks/0002-Fix-systemd-service-file.patch deleted file mode 100644 index ea347aef..00000000 --- a/buildroot-2021.05/package/udisks/0002-Fix-systemd-service-file.patch +++ /dev/null @@ -1,33 +0,0 @@ -From bf8b4362cef24a6f747e4329305a4939c8f585d1 Mon Sep 17 00:00:00 2001 -From: David King -Date: Thu, 2 Jul 2015 13:49:22 +0100 -Subject: [PATCH] Fix systemd service file - -udisks-daemon is installed to $(libexecdir), not $(prefix)/lib/udisks. - -https://bugzilla.redhat.com/show_bug.cgi?id=1238664 -https://bugs.freedesktop.org/show_bug.cgi?id=91191 - -[This patch has been backported from upstream: -https://cgit.freedesktop.org/udisks/commit/?h=udisks1&id=bf8b4362cef24a6f747e4329305a4939c8f585d1] -Signed-off-by: Pieterjan Camerlynck ---- - data/Makefile.am | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/data/Makefile.am b/data/Makefile.am -index 411ea0f..08af5f4 100644 ---- a/data/Makefile.am -+++ b/data/Makefile.am -@@ -31,7 +31,7 @@ systemdservicedir = $(systemdsystemunitdir) - systemdservice_DATA = $(systemdservice_in_files:.service.in=.service) - - $(systemdservice_DATA): $(systemdservice_in_files) Makefile -- @sed -e "s|\@libexecdir\@|$(prefix)/lib/udisks|" $< > $@ -+ @sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ - endif - - udevrulesdir = $(slashlibdir)/udev/rules.d --- -2.7.4 - diff --git a/buildroot-2021.05/package/udisks/0003-Fix-compilation-issue-with-missing-sys-sysmacros.h-i.patch b/buildroot-2021.05/package/udisks/0003-Fix-compilation-issue-with-missing-sys-sysmacros.h-i.patch deleted file mode 100644 index 71152e5d..00000000 --- a/buildroot-2021.05/package/udisks/0003-Fix-compilation-issue-with-missing-sys-sysmacros.h-i.patch +++ /dev/null @@ -1,81 +0,0 @@ -From d934b0fa5ce24a8fd1987b916e435ba991c2ef64 Mon Sep 17 00:00:00 2001 -From: Vadim Kochan -Date: Mon, 31 Dec 2018 11:00:46 +0200 -Subject: [PATCH] Fix compilation issue due to missing sys/sysmacros.h include - -glibc 2.28+ no longer include from , so - must now be explicitly included to use the major, -minor and makedev macros. - -Signed-off-by: Vadim Kochan ---- - src/daemon.c | 1 + - src/device.c | 1 + - src/mount-monitor.c | 1 + - tools/udisks.c | 1 + - tools/umount-udisks.c | 1 + - 5 files changed, 5 insertions(+) - -diff --git a/src/daemon.c b/src/daemon.c -index fafcf9a..4303a6d 100644 ---- a/src/daemon.c -+++ b/src/daemon.c -@@ -45,6 +45,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/src/device.c b/src/device.c -index 2ae7f38..20920df 100644 ---- a/src/device.c -+++ b/src/device.c -@@ -33,6 +33,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/src/mount-monitor.c b/src/mount-monitor.c -index 573a69c..0cfa167 100644 ---- a/src/mount-monitor.c -+++ b/src/mount-monitor.c -@@ -29,6 +29,7 @@ - #include - #include - #include -+#include - #include - - #include -diff --git a/tools/udisks.c b/tools/udisks.c -index 97e80d7..22a7d87 100644 ---- a/tools/udisks.c -+++ b/tools/udisks.c -@@ -31,6 +31,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff --git a/tools/umount-udisks.c b/tools/umount-udisks.c -index 2813fe0..d915660 100644 ---- a/tools/umount-udisks.c -+++ b/tools/umount-udisks.c -@@ -30,6 +30,7 @@ - #include - #include - #include -+#include - #include - #include - #include --- -2.14.1 - diff --git a/buildroot-2021.05/package/udisks/Config.in b/buildroot-2021.05/package/udisks/Config.in deleted file mode 100644 index 9d3eb240..00000000 --- a/buildroot-2021.05/package/udisks/Config.in +++ /dev/null @@ -1,47 +0,0 @@ -config BR2_PACKAGE_UDISKS - bool "udisks" - depends on BR2_ENABLE_LOCALE # parted - depends on BR2_HOST_GCC_AT_LEAST_4_9 # spidermonkey - depends on BR2_INSTALL_LIBSTDCPP # spidermonkey - depends on BR2_PACKAGE_HAS_UDEV - depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS # spidermonkey - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # spidermonkey - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # polkit - depends on BR2_USE_MMU # lvm2 - depends on BR2_USE_WCHAR # dbus-glib -> glib2 - depends on !BR2_TOOLCHAIN_USES_UCLIBC # polkit, lvm2 - depends on !BR2_STATIC_LIBS # lvm2, spidermonkey - select BR2_PACKAGE_DBUS - select BR2_PACKAGE_DBUS_GLIB - select BR2_PACKAGE_LIBATASMART - select BR2_PACKAGE_LIBGUDEV - select BR2_PACKAGE_LVM2 - select BR2_PACKAGE_PARTED - select BR2_PACKAGE_POLKIT - select BR2_PACKAGE_SG3_UTILS - help - The udisks project provides - - o A storage daemon that implements well-defined D-Bus - interfaces that can be used to query and manipulate - storage devices. - - o a command-line tool, udisks(1), that can be used to query - and use the daemon - - http://www.freedesktop.org/wiki/Software/udisks - -comment "udisks needs udev /dev management" - depends on BR2_USE_MMU - depends on !BR2_PACKAGE_HAS_UDEV - -comment "udisks needs a glibc or musl toolchain with locale, C++, wchar, dynamic library, NPTL, gcc >= 4.9" - depends on BR2_USE_MMU - depends on BR2_PACKAGE_SPIDERMONKEY_ARCH_SUPPORTS - depends on !BR2_ENABLE_LOCALE || BR2_TOOLCHAIN_USES_UCLIBC || \ - !BR2_INSTALL_LIBSTDCPP || \ - BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_HOST_GCC_AT_LEAST_4_9 || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/udisks/udisks.hash b/buildroot-2021.05/package/udisks/udisks.hash deleted file mode 100644 index b40161e3..00000000 --- a/buildroot-2021.05/package/udisks/udisks.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71 udisks-1.0.5.tar.gz -sha256 7d30f41a79a9b453b4972a6d7e3425ff104b39232891bde8ba659f1adb21f771 COPYING diff --git a/buildroot-2021.05/package/udisks/udisks.mk b/buildroot-2021.05/package/udisks/udisks.mk deleted file mode 100644 index 9f7a02e1..00000000 --- a/buildroot-2021.05/package/udisks/udisks.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# udisks -# -################################################################################ - -UDISKS_VERSION = 1.0.5 -UDISKS_SITE = http://hal.freedesktop.org/releases -UDISKS_LICENSE = GPL-2.0+ -UDISKS_LICENSE_FILES = COPYING -UDISKS_CPE_ID_VENDOR = freedesktop -# For 0002-Fix-systemd-service-file.patch -UDISKS_AUTORECONF = YES - -UDISKS_DEPENDENCIES = \ - host-pkgconf \ - dbus \ - dbus-glib \ - libatasmart \ - libgudev \ - lvm2 \ - parted \ - polkit \ - sg3_utils \ - udev - -UDISKS_CONF_OPTS = --disable-remote-access --disable-man-pages --disable-lvm2 - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/udpcast/Config.in b/buildroot-2021.05/package/udpcast/Config.in deleted file mode 100644 index ef94b30a..00000000 --- a/buildroot-2021.05/package/udpcast/Config.in +++ /dev/null @@ -1,27 +0,0 @@ -comment "udpcast needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_UDPCAST - bool "udpcast" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # fork() - help - A multicast protocol implementation which happens to - be very handy for imaging drives over the network. - - http://www.udpcast.linux.lu/ - -if BR2_PACKAGE_UDPCAST - -config BR2_PACKAGE_UDPCAST_SENDER - bool "sender" - help - The udpcast transmitter. - -config BR2_PACKAGE_UDPCAST_RECEIVER - bool "receiver" - help - The udpcast receiver. - -endif diff --git a/buildroot-2021.05/package/udpcast/udpcast.mk b/buildroot-2021.05/package/udpcast/udpcast.mk deleted file mode 100644 index 34ebddd2..00000000 --- a/buildroot-2021.05/package/udpcast/udpcast.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# udpcast -# -################################################################################ - -UDPCAST_VERSION = 20200328 -UDPCAST_SITE = http://www.udpcast.linux.lu/download -UDPCAST_DEPENDENCIES = host-m4 -UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ -UDPCAST_LICENSE_FILES = COPYING - -define UDPCAST_REMOVE_UDP_SENDER - rm -f $(TARGET_DIR)/usr/sbin/udp-sender - rm -f $(TARGET_DIR)/usr/sbin/udp-sender.1 -endef - -ifneq ($(BR2_PACKAGE_UDPCAST_SENDER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_SENDER -endif - -define UDPCAST_REMOVE_UDP_RECEIVER - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver - rm -f $(TARGET_DIR)/usr/sbin/udp-receiver.1 -endef - -ifneq ($(BR2_PACKAGE_UDPCAST_RECEIVER),y) -UDPCAST_POST_INSTALL_TARGET_HOOKS += UDPCAST_REMOVE_UDP_RECEIVER -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/uftrace/uftrace.hash b/buildroot-2021.05/package/uftrace/uftrace.hash deleted file mode 100644 index fb1e116b..00000000 --- a/buildroot-2021.05/package/uftrace/uftrace.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 418d30c959d3b6d0dcafd55e588a5d414a9984b30f2522a5af004a268824a5a2 uftrace-0.9.4.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/uftrace/uftrace.mk b/buildroot-2021.05/package/uftrace/uftrace.mk deleted file mode 100644 index 7c9b9b19..00000000 --- a/buildroot-2021.05/package/uftrace/uftrace.mk +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################ -# -# uftrace -# -################################################################################ - -UFTRACE_VERSION = 0.9.4 -UFTRACE_SITE = $(call github,namhyung,uftrace,v$(UFTRACE_VERSION)) -UFTRACE_LICENSE = GPL-2.0 -UFTRACE_LICENSE_FILES = COPYING -UFTRACE_CONFIGURE_OPTS = \ - --without-libdw \ - --without-libpython \ - --without-libluajit \ - --without-libncurses \ - --without-capstone - -ifeq ($(BR2_i386),y) -UFTRACE_ARCH = i386 -else -UFTRACE_ARCH = $(BR2_ARCH) -endif - -# Only --without- options are supported. -ifeq ($(BR2_PACKAGE_ELFUTILS),y) -UFTRACE_DEPENDENCIES += elfutils -else -UFTRACE_CONFIGURE_OPTS += --without-libelf -endif - -ifeq ($(BR2_INSTALL_LIBSTDCPP),) -UFTRACE_CONFIGURE_OPTS += --without-libstdc++ -endif - -UFTRACE_LDFLAGS = $(TARGET_LDFLAGS) - -ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -UFTRACE_DEPENDENCIES += argp-standalone -UFTRACE_LDFLAGS += -largp -endif - -define UFTRACE_CONFIGURE_CMDS - (cd $(@D); $(TARGET_CONFIGURE_OPTS) \ - LDFLAGS="$(UFTRACE_LDFLAGS)" \ - ./configure \ - --arch=$(UFTRACE_ARCH) \ - --prefix=/usr \ - $(UFTRACE_CONFIGURE_OPTS) \ - -o $(@D)/.config) -endef - -define UFTRACE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -endef - -define UFTRACE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/uhd/Config.in b/buildroot-2021.05/package/uhd/Config.in deleted file mode 100644 index f61bbf0e..00000000 --- a/buildroot-2021.05/package/uhd/Config.in +++ /dev/null @@ -1,160 +0,0 @@ -comment "uhd needs a toolchain w/ C++, NPTL, wchar, dynamic library" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS - -comment "uhd needs a toolchain not affected by GCC bug 64735" - depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - -config BR2_PACKAGE_UHD - bool "uhd" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic - depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_USE_MMU # use fork() - depends on BR2_USE_WCHAR # boost - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_ATOMIC - select BR2_PACKAGE_BOOST_CHRONO - select BR2_PACKAGE_BOOST_DATE_TIME - select BR2_PACKAGE_BOOST_FILESYSTEM - select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS - select BR2_PACKAGE_BOOST_REGEX - select BR2_PACKAGE_BOOST_SERIALIZATION - select BR2_PACKAGE_BOOST_SYSTEM - select BR2_PACKAGE_BOOST_THREAD - help - Universal Software Radio Peripheral (USRP) Hardware Driver - - https://kb.etthus.com - -if BR2_PACKAGE_UHD - -config BR2_PACKAGE_UHD_B100 - bool "b100 support" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_UHD_USB - help - enable B100 support - -comment "B100 support needs a toolchain w/ gcc >= 4.9" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_UHD_B200 - bool "b200 support" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_UHD_USB - help - enable B200 support - -comment "B200 support needs a toolchain w/ gcc >= 4.9" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_UHD_E300 - bool "E300 support" - select BR2_PACKAGE_UHD_MPMD - help - enable E300 support - -config BR2_PACKAGE_UHD_E320 - bool "E320 support" - select BR2_PACKAGE_UHD_MPMD - help - enable E320 support - -config BR2_PACKAGE_UHD_EXAMPLES - bool "uhd-examples" - help - Examples - -config BR2_PACKAGE_UHD_MPMD - bool "MPMD support" - help - enable MPMD support - -config BR2_PACKAGE_UHD_N230 - bool "N230 support" - help - enable N230 support - -config BR2_PACKAGE_UHD_N300 - bool "N300 support" - select BR2_PACKAGE_UHD_MPMD - help - enable N300 support - -config BR2_PACKAGE_UHD_N320 - bool "N320 support" - select BR2_PACKAGE_UHD_MPMD - help - enable N320 support - -config BR2_PACKAGE_UHD_OCTOCLOCK - bool "OctoClock support" - help - enable OctoClock support - -comment "uhd python API needs python3 and a toolchain w/ glibc or musl" - depends on !BR2_PACKAGE_PYTHON3 - depends on !BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - depends on !(BR2_TOOLCHAIN_USES_GLIBC && BR2_TOOLCHAIN_USES_MUSL) # python-numpy - -config BR2_PACKAGE_UHD_PYTHON - bool "python API support" - depends on BR2_PACKAGE_PYTHON3 - depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy - select BR2_PACKAGE_PYTHON_NUMPY - select BR2_PACKAGE_PYTHON_REQUESTS - help - enable python API support - -config BR2_PACKAGE_UHD_RFNOC - bool "RFNoC support" - help - enable RFNoC support - -config BR2_PACKAGE_UHD_USB - bool "USB support" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_LIBUSB - help - enable UHD USB support - -comment "USB support needs a toolchain w/ gcc >= 4.9" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_UHD_USRP1 - bool "USRP1 support" - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb - select BR2_PACKAGE_UHD_USB - help - enable USRP1 support - -comment "USRP1 support needs a toolchain w/ gcc >= 4.9" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_PACKAGE_UHD_USRP2 - bool "USRP2 support" - help - enable USRP2 support - -comment "uhd utils depends on python API support" - depends on !BR2_PACKAGE_UHD_PYTHON - -config BR2_PACKAGE_UHD_UTILS - bool "uhd-utils" - depends on BR2_PACKAGE_UHD_PYTHON - select BR2_PACKAGE_PYTHON_SIX - help - uhd-utils - -config BR2_PACKAGE_UHD_X300 - bool "X300 support" - help - enable X300 support - -endif diff --git a/buildroot-2021.05/package/uhd/uhd.mk b/buildroot-2021.05/package/uhd/uhd.mk deleted file mode 100644 index a8001dfd..00000000 --- a/buildroot-2021.05/package/uhd/uhd.mk +++ /dev/null @@ -1,153 +0,0 @@ -################################################################################ -# -# uhd -# -################################################################################ - -UHD_VERSION = 3.15.0.0 -UHD_SITE = $(call github,EttusResearch,uhd,v$(UHD_VERSION)) -UHD_LICENSE = GPL-3.0+ -UHD_LICENSE_FILES = LICENSE.md host/LICENSE - -UHD_SUPPORTS_IN_SOURCE_BUILD = NO -UHD_SUBDIR = host -UHD_INSTALL_STAGING = YES - -UHD_DEPENDENCIES = \ - boost \ - $(if $(BR2_PACKAGE_PYTHON),host-python,host-python3) \ - host-python-mako - -UHD_CONF_OPTS = \ - -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python \ - -DRUNTIME_PYTHON_EXECUTABLE=/usr/bin/python \ - -DENABLE_C_API=ON \ - -DENABLE_DOXYGEN=OFF \ - -DENABLE_DPDK=OFF \ - -DENABLE_LIBUHD=ON \ - -DENABLE_MANUAL=OFF \ - -DENABLE_MAN_PAGES=OFF \ - -DENABLE_TESTS=OFF - -# As soon as architecture is ARM, uhd will try to use NEON. -# But not all ARM cores have NEON support. -# When CPU support NEON -mfpu=neon must be added to CXX_FLAGS -ifeq ($(BR2_ARM_CPU_HAS_NEON),y) -UHD_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -mfpu=neon" -UHD_CONF_OPTS += -DNEON_SIMD_ENABLE=ON -else -UHD_CONF_OPTS += -Dhave_mfpu_neon=0 -UHD_CONF_OPTS += -DNEON_SIMD_ENABLE=OFF -endif - -ifeq ($(BR2_PACKAGE_ORC),y) -UHD_DEPENDENCIES += orc -endif - -ifeq ($(BR2_PACKAGE_UHD_B100),y) -UHD_CONF_OPTS += -DENABLE_B100=ON -else -UHD_CONF_OPTS += -DENABLE_B100=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_B200),y) -UHD_CONF_OPTS += -DENABLE_B200=ON -else -UHD_CONF_OPTS += -DENABLE_B200=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_E300),y) -UHD_CONF_OPTS += -DENABLE_E300=ON -else -UHD_CONF_OPTS += -DENABLE_E300=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_E320),y) -UHD_CONF_OPTS += -DENABLE_E320=ON -else -UHD_CONF_OPTS += -DENABLE_E320=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_EXAMPLES),y) -UHD_CONF_OPTS += -DENABLE_EXAMPLES=ON -else -UHD_CONF_OPTS += -DENABLE_EXAMPLES=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_MPMD),y) -UHD_CONF_OPTS += -DENABLE_MPMD=ON -else -UHD_CONF_OPTS += -DENABLE_MPMD=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_N230),y) -UHD_CONF_OPTS += -DENABLE_N230=ON -else -UHD_CONF_OPTS += -DENABLE_N230=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_N300),y) -UHD_CONF_OPTS += -DENABLE_N300=ON -else -UHD_CONF_OPTS += -DENABLE_N300=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_N320),y) -UHD_CONF_OPTS += -DENABLE_N320=ON -else -UHD_CONF_OPTS += -DENABLE_N320=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_OCTOCLOCK),y) -UHD_CONF_OPTS += -DENABLE_OCTOCLOCK=ON -else -UHD_CONF_OPTS += -DENABLE_OCTOCLOCK=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_RFNOC),y) -UHD_CONF_OPTS += -DENABLE_RFNOC=ON -else -UHD_CONF_OPTS += -DENABLE_RFNOC=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_PYTHON),y) -UHD_DEPENDENCIES += host-python-numpy host-python3-requests \ - python-numpy python-requests -UHD_CONF_OPTS += -DENABLE_PYTHON_API=ON -else -UHD_CONF_OPTS += -DENABLE_PYTHON_API=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_USB),y) -UHD_DEPENDENCIES += libusb -UHD_CONF_OPTS += -DENABLE_USB=ON -else -UHD_CONF_OPTS += -DENABLE_USB=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_USRP1),y) -UHD_CONF_OPTS += -DENABLE_USRP1=ON -else -UHD_CONF_OPTS += -DENABLE_USRP1=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_USRP2),y) -UHD_CONF_OPTS += -DENABLE_USRP2=ON -else -UHD_CONF_OPTS += -DENABLE_USRP2=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_UTILS),y) -UHD_DEPENDENCIES += python-six -UHD_CONF_OPTS += -DENABLE_UTILS=ON -else -UHD_CONF_OPTS += -DENABLE_UTILS=OFF -endif - -ifeq ($(BR2_PACKAGE_UHD_X300),y) -UHD_CONF_OPTS += -DENABLE_X300=ON -else -UHD_CONF_OPTS += -DENABLE_X300=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/uhttpd/uhttpd.hash b/buildroot-2021.05/package/uhttpd/uhttpd.hash deleted file mode 100644 index 6f8b4a60..00000000 --- a/buildroot-2021.05/package/uhttpd/uhttpd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 8a537a377c8dc1abda147a1e3feb3fe3e3633a9d30e4e37d378cc6309dace2f0 uhttpd-f53a63999784bcb7dc513e221f3f25dd3de2f35e-br1.tar.gz -sha256 ce1803f83f776cc88661e303fede0e5ff52faf1d9f74508fadbecf7705b4c84d uhttpd.h diff --git a/buildroot-2021.05/package/uhttpd/uhttpd.mk b/buildroot-2021.05/package/uhttpd/uhttpd.mk deleted file mode 100644 index 355a266d..00000000 --- a/buildroot-2021.05/package/uhttpd/uhttpd.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# uhttpd -# -################################################################################ - -UHTTPD_VERSION = f53a63999784bcb7dc513e221f3f25dd3de2f35e -UHTTPD_SITE = https://git.openwrt.org/project/uhttpd.git -UHTTPD_SITE_METHOD = git -UHTTPD_LICENSE = ISC -UHTTPD_LICENSE_FILES = uhttpd.h -UHTTPD_DEPENDENCIES = libubox json-c - -ifeq ($(BR2_PACKAGE_LUA_5_1),y) -UHTTPD_DEPENDENCIES += lua -UHTTPD_CONF_OPTS += -DLUA_SUPPORT=ON -else -UHTTPD_CONF_OPTS += -DLUA_SUPPORT=OFF -endif - -ifeq ($(BR2_PACKAGE_USTREAM_SSL),y) -UHTTPD_DEPENDENCIES += ustream-ssl -UHTTPD_CONF_OPTS += -DTLS_SUPPORT=ON -else -UHTTPD_CONF_OPTS += -DTLS_SUPPORT=OFF -endif - -ifeq ($(BR2_PACKAGE_UBUS),y) -UHTTPD_DEPENDENCIES += ubus -UHTTPD_CONF_OPTS += -DUBUS_SUPPORT=ON -else -UHTTPD_CONF_OPTS += -DUBUS_SUPPORT=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/ulogd/ulogd.mk b/buildroot-2021.05/package/ulogd/ulogd.mk deleted file mode 100644 index 1b86c127..00000000 --- a/buildroot-2021.05/package/ulogd/ulogd.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# ulogd -# -################################################################################ - -ULOGD_VERSION = 2.0.7 -ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2 -ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files -ULOGD_CONF_OPTS = --without-dbi -ULOGD_DEPENDENCIES = host-pkgconf \ - libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \ - libnfnetlink -ULOGD_LICENSE = GPL-2.0 -ULOGD_LICENSE_FILES = COPYING - -# DB backends need threads -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -ifeq ($(BR2_PACKAGE_MYSQL),y) -ULOGD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr -ULOGD_DEPENDENCIES += mysql -else -ULOGD_CONF_OPTS += --without-mysql -endif -ifeq ($(BR2_PACKAGE_POSTGRESQL),y) -ULOGD_CONF_OPTS += --with-pgsql -ULOGD_DEPENDENCIES += postgresql -else -ULOGD_CONF_OPTS += --without-pgsql -endif -ifeq ($(BR2_PACKAGE_SQLITE),y) -ULOGD_CONF_OPTS += --with-sqlite -ULOGD_DEPENDENCIES += sqlite -else -ULOGD_CONF_OPTS += --without-sqlite -endif -else -ULOGD_CONF_OPTS += --without-mysql --without-pgsql --without-sqlite -endif - -ifeq ($(BR2_PACKAGE_LIBPCAP),y) -ULOGD_CONF_OPTS += --with-pcap -ULOGD_DEPENDENCIES += libpcap -else -ULOGD_CONF_OPTS += --without-pcap -endif - -ifeq ($(BR2_PACKAGE_JANSSON),y) -ULOGD_CONF_OPTS += --with-jansson -ULOGD_DEPENDENCIES += jansson -else -ULOGD_CONF_OPTS += --without-jansson -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/umtprd/umtprd.hash b/buildroot-2021.05/package/umtprd/umtprd.hash deleted file mode 100644 index 170837d8..00000000 --- a/buildroot-2021.05/package/umtprd/umtprd.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 cce45c7d3df0022fc013c79de21b1f11b1027d090aeb628669f08b0c20d2afdd umtprd-1.3.10.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE diff --git a/buildroot-2021.05/package/umtprd/umtprd.mk b/buildroot-2021.05/package/umtprd/umtprd.mk deleted file mode 100644 index f1a4e66c..00000000 --- a/buildroot-2021.05/package/umtprd/umtprd.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# umtprd -# -################################################################################ - -UMTPRD_VERSION = 1.3.10 -UMTPRD_SITE = https://github.com/viveris/uMTP-Responder/archive -UMTPRD_LICENSE = GPL-3.0+ -UMTPRD_LICENSE_FILES = LICENSE - -define UMTPRD_BUILD_CMDS - $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -endef - -define UMTPRD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/umtprd $(TARGET_DIR)/usr/sbin/umtprd -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/unbound/unbound.hash b/buildroot-2021.05/package/unbound/unbound.hash deleted file mode 100644 index ec7e9407..00000000 --- a/buildroot-2021.05/package/unbound/unbound.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://nlnetlabs.nl/downloads/unbound/unbound-1.13.1.tar.gz.sha256 -sha256 8504d97b8fc5bd897345c95d116e0ee0ddf8c8ff99590ab2b4bd13278c9f50b8 unbound-1.13.1.tar.gz - -# Locally calculated -sha256 8eb9a16cbfb8703090bbfa3a2028fd46bb351509a2f90dc1001e51fbe6fd45db LICENSE diff --git a/buildroot-2021.05/package/unbound/unbound.mk b/buildroot-2021.05/package/unbound/unbound.mk deleted file mode 100644 index 140b7d27..00000000 --- a/buildroot-2021.05/package/unbound/unbound.mk +++ /dev/null @@ -1,55 +0,0 @@ -################################################################################ -# -# unbound -# -################################################################################ - -UNBOUND_VERSION = 1.13.1 -UNBOUND_SITE = https://www.unbound.net/downloads -UNBOUND_DEPENDENCIES = host-pkgconf expat libevent openssl -UNBOUND_LICENSE = BSD-3-Clause -UNBOUND_LICENSE_FILES = LICENSE -UNBOUND_CPE_ID_VENDOR = nlnetlabs -UNBOUND_CONF_OPTS = \ - --disable-rpath \ - --disable-debug \ - --with-conf-file=/etc/unbound/unbound.conf \ - --with-pidfile=/var/run/unbound.pid \ - --with-rootkey-file=/etc/unbound/root.key \ - --enable-tfo-server \ - --with-libexpat=$(STAGING_DIR)/usr \ - --with-ssl=$(STAGING_DIR)/usr - -# uClibc-ng does not have MSG_FASTOPEN -# so TCP Fast Open client mode disabled for it -ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) -UNBOUND_CONF_OPTS += --disable-tfo-client -else -UNBOUND_CONF_OPTS += --enable-tfo-client -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) -UNBOUND_CONF_OPTS += --with-pthreads -else -UNBOUND_CONF_OPTS += --without-pthreads -endif - -ifeq ($(BR2_GCC_ENABLE_LTO),y) -UNBOUND_CONF_OPTS += --enable-flto -else -UNBOUND_CONF_OPTS += --disable-flto -endif - -ifeq ($(BR2_PACKAGE_UNBOUND_DNSCRYPT),y) -UNBOUND_CONF_OPTS += --enable-dnscrypt -UNBOUND_DEPENDENCIES += libsodium -else -UNBOUND_CONF_OPTS += --disable-dnscrypt -endif - -define UNBOUND_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/unbound/S70unbound \ - $(TARGET_DIR)/etc/init.d/S70unbound -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/unixodbc/unixodbc.mk b/buildroot-2021.05/package/unixodbc/unixodbc.mk deleted file mode 100644 index cdc4e69a..00000000 --- a/buildroot-2021.05/package/unixodbc/unixodbc.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# unixodbc -# -################################################################################ - -UNIXODBC_VERSION = 2.3.9 -UNIXODBC_SOURCE = unixODBC-$(UNIXODBC_VERSION).tar.gz -UNIXODBC_SITE = ftp://ftp.unixodbc.org/pub/unixODBC -UNIXODBC_INSTALL_STAGING = YES -UNIXODBC_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (programs) -UNIXODBC_LICENSE_FILES = COPYING exe/COPYING - -UNIXODBC_CONF_OPTS = --enable-drivers --enable-driver-conf - -ifeq ($(BR2_PACKAGE_LIBEDIT),y) -UNIXODBC_CONF_OPTS += --enable-editline -UNIXODBC_DEPENDENCIES += libedit -else -UNIXODBC_CONF_OPTS += --disable-editline -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -UNIXODBC_CONF_OPTS += --enable-iconv -UNIXODBC_DEPENDENCIES += libiconv -else -UNIXODBC_CONF_OPTS += --disable-iconv -endif - -ifeq ($(BR2_PACKAGE_LIBTOOL),y) -UNIXODBC_CONF_OPTS += --without-included-ltdl -UNIXODBC_DEPENDENCIES += libtool -else -UNIXODBC_CONF_OPTS += --with-included-ltdl -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -UNIXODBC_CONF_OPTS += --enable-readline -UNIXODBC_DEPENDENCIES += readline -else -UNIXODBC_CONF_OPTS += --disable-readline -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -UNIXODBC_CONF_OPTS += --enable-threads -else -UNIXODBC_CONF_OPTS += --disable-threads -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/unrar/unrar.hash b/buildroot-2021.05/package/unrar/unrar.hash deleted file mode 100644 index 7900c44d..00000000 --- a/buildroot-2021.05/package/unrar/unrar.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 3d010d14223e0c7a385ed740e8f046edcbe885e5c22c5ad5733d009596865300 unrarsrc-5.9.4.tar.gz -sha256 6ecc1687808b7d66b24f874755abfed7464d9751ed0001cd4e8e5d9bf397ff8a license.txt diff --git a/buildroot-2021.05/package/unrar/unrar.mk b/buildroot-2021.05/package/unrar/unrar.mk deleted file mode 100644 index ab8d9228..00000000 --- a/buildroot-2021.05/package/unrar/unrar.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# unrar -# -################################################################################ - -UNRAR_VERSION = 5.9.4 -UNRAR_SOURCE = unrarsrc-$(UNRAR_VERSION).tar.gz -UNRAR_SITE = https://www.rarlab.com/rar -UNRAR_LICENSE = unrar -UNRAR_LICENSE_FILES = license.txt - -define UNRAR_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" STRIP="/bin/true" \ - CXXFLAGS="$(TARGET_CXXFLAGS) -pthread" \ - LDFLAGS="$(TARGET_LDFLAGS) -pthread" -C $(@D) -endef - -define UNRAR_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/upmpdcli/upmpdcli.mk b/buildroot-2021.05/package/upmpdcli/upmpdcli.mk deleted file mode 100644 index d1c0aef9..00000000 --- a/buildroot-2021.05/package/upmpdcli/upmpdcli.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# upmpdcli -# -################################################################################ - -UPMPDCLI_VERSION = 1.5.12 -UPMPDCLI_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads -UPMPDCLI_LICENSE = LGPL-2.1+ -UPMPDCLI_LICENSE_FILES = COPYING -UPMPDCLI_DEPENDENCIES = host-pkgconf libmpdclient libupnpp libmicrohttpd jsoncpp - -# Disable spotify plugin which requires dlfcn.h -ifeq ($(BR2_STATIC_LIBS),y) -UPMPDCLI_CONF_OPTS = --disable-spotify -endif - -# Upmpdcli only runs if user upmpdcli exists -define UPMPDCLI_USERS - upmpdcli -1 upmpdcli -1 * - - audio Upmpdcli MPD UPnP Renderer Front-End -endef - -define UPMPDCLI_INSTALL_INIT_SYSV - $(INSTALL) -D -m 0755 package/upmpdcli/S99upmpdcli $(TARGET_DIR)/etc/init.d/S99upmpdcli -endef - -define UPMPDCLI_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 644 $(@D)/systemd/upmpdcli.service \ - $(TARGET_DIR)/usr/lib/systemd/system/upmpdcli.service -endef - -define UPMPDCLI_INSTALL_CONF_FILE - $(INSTALL) -D -m 0755 $(@D)/src/upmpdcli.conf-dist $(TARGET_DIR)/etc/upmpdcli.conf -endef - -UPMPDCLI_POST_INSTALL_TARGET_HOOKS += UPMPDCLI_INSTALL_CONF_FILE - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/upower/upower.mk b/buildroot-2021.05/package/upower/upower.mk deleted file mode 100644 index 8989ca9f..00000000 --- a/buildroot-2021.05/package/upower/upower.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# upower -# -################################################################################ - -UPOWER_VERSION = 0.99.11 -UPOWER_SOURCE = upower-$(UPOWER_VERSION).tar.xz -UPOWER_SITE = https://upower.freedesktop.org/releases -UPOWER_LICENSE = GPL-2.0+ -UPOWER_LICENSE_FILES = COPYING - -# libupower-glib.so -UPOWER_INSTALL_STAGING = YES - -UPOWER_DEPENDENCIES = \ - $(TARGET_NLS_DEPENDENCIES) \ - host-pkgconf \ - libgudev \ - libusb \ - udev - -UPOWER_CONF_OPTS = --disable-man-pages --disable-tests - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/urandom-scripts/S20urandom b/buildroot-2021.05/package/urandom-scripts/S20urandom deleted file mode 100644 index e4fd1257..00000000 --- a/buildroot-2021.05/package/urandom-scripts/S20urandom +++ /dev/null @@ -1,74 +0,0 @@ -#! /bin/sh -# -# Preserve the random seed between reboots. See urandom(4). -# - -# Quietly do nothing if /dev/urandom does not exist -[ -c /dev/urandom ] || exit 0 - -URANDOM_SEED="/var/lib/random-seed" - -# shellcheck source=/dev/null -[ -r "/etc/default/urandom" ] && . "/etc/default/urandom" - -if pool_bits=$(cat /proc/sys/kernel/random/poolsize 2> /dev/null); then - pool_size=$((pool_bits/8)) -else - pool_size=512 -fi - -check_file_size() { - [ -f "$URANDOM_SEED" ] || return 1 - # Try to read two blocks but exactly one will be read if the file has - # the correct size. - size=$(dd if="$URANDOM_SEED" bs="$pool_size" count=2 2> /dev/null | wc -c) - test "$size" -eq "$pool_size" -} - -init_rng() { - if check_file_size; then - printf 'Initializing random number generator: ' - dd if="$URANDOM_SEED" bs="$pool_size" of=/dev/urandom count=1 2> /dev/null - status=$? - if [ "$status" -eq 0 ]; then - echo "OK" - else - echo "FAIL" - fi - return "$status" - fi -} - -save_random_seed() { - printf 'Saving random seed: ' - if touch "$URANDOM_SEED" 2> /dev/null; then - old_umask=$(umask) - umask 077 - dd if=/dev/urandom of="$URANDOM_SEED" bs="$pool_size" count=1 2> /dev/null - status=$? - umask "$old_umask" - if [ "$status" -eq 0 ]; then - echo "OK" - else - echo "FAIL" - fi - else - status=$? - echo "SKIP (read-only file system detected)" - fi - return "$status" -} - -case "$1" in - start|restart|reload) - # Carry a random seed from start-up to start-up - # Load and then save the whole entropy pool - init_rng && save_random_seed;; - stop) - # Carry a random seed from shut-down to start-up - # Save the whole entropy pool - save_random_seed;; - *) - echo "Usage: $0 {start|stop|restart|reload}" - exit 1 -esac diff --git a/buildroot-2021.05/package/urg/urg.mk b/buildroot-2021.05/package/urg/urg.mk deleted file mode 100644 index 86b7ec2c..00000000 --- a/buildroot-2021.05/package/urg/urg.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# urg -# -################################################################################ - -URG_VERSION = 0.8.18 -URG_SITE = http://pkgs.fedoraproject.org/repo/pkgs/urg/urg-0.8.18.zip/md5/93f90d2ccc36e784407c5282ef6bd2cb -URG_SOURCE = urg-$(URG_VERSION).zip -URG_LICENSE = LGPL-3.0 -URG_LICENSE_FILES = COPYING - -URG_INSTALL_STAGING = YES - -ifeq ($(BR2_PACKAGE_SDL)$(BR2_PACKAGE_SDL_NET),yy) -URG_DEPENDENCIES += sdl sdl_net -URG_CONF_OPTS += \ - --with-sdl-prefix=$(STAGING_DIR)/usr \ - --with-sdl-exec-prefix=$(STAGING_DIR)/usr -else -URG_CONF_OPTS = --without-sdl -URG_CONF_ENV += ac_cv_path_SDL_CONFIG="" -endif - -URG_CONFIG_SCRIPTS = c_urg-config urg-config - -define URG_EXTRACT_CMDS - $(UNZIP) -d $(BUILD_DIR) $(URG_DL_DIR)/$(URG_SOURCE) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/usbmount/Config.in b/buildroot-2021.05/package/usbmount/Config.in deleted file mode 100644 index 8ce0ce76..00000000 --- a/buildroot-2021.05/package/usbmount/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_USBMOUNT - bool "usbmount" - depends on BR2_PACKAGE_HAS_UDEV - select BR2_PACKAGE_LOCKFILE_PROGS - help - The usbmount package automatically mounts USB mass storage - devices when they are plugged in, and unmounts them when - they are removed. - - https://wiki.debian.org/usbmount - -comment "usbmount requires udev to be enabled" - depends on !BR2_PACKAGE_HAS_UDEV diff --git a/buildroot-2021.05/package/usbredir/usbredir.hash b/buildroot-2021.05/package/usbredir/usbredir.hash deleted file mode 100644 index 485315d2..00000000 --- a/buildroot-2021.05/package/usbredir/usbredir.hash +++ /dev/null @@ -1,4 +0,0 @@ -# locally computed hash -sha256 87bc9c5a81c982517a1bec70dc8d22e15ae197847643d58f20c0ced3c38c5e00 usbredir-0.8.0.tar.bz2 -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING.LIB diff --git a/buildroot-2021.05/package/usbredir/usbredir.mk b/buildroot-2021.05/package/usbredir/usbredir.mk deleted file mode 100644 index 8848670e..00000000 --- a/buildroot-2021.05/package/usbredir/usbredir.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# usbredir -# -################################################################################ - -USBREDIR_VERSION = 0.8.0 -USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.bz2 -USBREDIR_SITE = http://spice-space.org/download/usbredir -USBREDIR_LICENSE = LGPL-2.1+ (libraries) -USBREDIR_LICENSE_FILES = COPYING.LIB -USBREDIR_INSTALL_STAGING = YES -USBREDIR_DEPENDENCIES = host-pkgconf libusb - -ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y) - -USBREDIR_LICENSE += , GPL-2.0+ (program) -USBREDIR_LICENSE_FILES += COPYING - -else # BR2_PACKAGE_USBREDIR_SERVER != y - -define USBREDIR_POST_INSTALL_TARGET_RM_SERVER - rm -f $(TARGET_DIR)/usr/sbin/usbredirserver -endef -USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER - -endif # BR2_PACKAGE_USBREDIR_SERVER - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/usbutils/usbutils.hash b/buildroot-2021.05/package/usbutils/usbutils.hash deleted file mode 100644 index 96426aee..00000000 --- a/buildroot-2021.05/package/usbutils/usbutils.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.kernel.org/pub/linux/utils/usb/usbutils/sha256sums.asc -sha256 9e23494fcc78b7a80ee29a07dd179c95ae2f71509c35728dbbabc2d1cca41338 usbutils-013.tar.xz -# Locally calculated -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0.txt -sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSES/GPL-3.0.txt diff --git a/buildroot-2021.05/package/usbutils/usbutils.mk b/buildroot-2021.05/package/usbutils/usbutils.mk deleted file mode 100644 index ef5fd120..00000000 --- a/buildroot-2021.05/package/usbutils/usbutils.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# usbutils -# -################################################################################ - -USBUTILS_VERSION = 013 -USBUTILS_SOURCE = usbutils-$(USBUTILS_VERSION).tar.xz -USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils -USBUTILS_DEPENDENCIES = host-pkgconf libusb udev -USBUTILS_LICENSE = GPL-2.0+ (utils) GPL-2.0 or GPL-3.0 (lsusb.py) -USBUTILS_LICENSE_FILES = LICENSES/GPL-2.0.txt LICENSES/GPL-3.0.txt -# Missing configure script -USBUTILS_AUTORECONF = YES - -# Nice lsusb.py script only if there's python 3.x -ifeq ($(BR2_PACKAGE_PYTHON3),) -define USBUTILS_REMOVE_PYTHON - rm -f $(TARGET_DIR)/usr/bin/lsusb.py -endef - -USBUTILS_POST_INSTALL_TARGET_HOOKS += USBUTILS_REMOVE_PYTHON -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ushare/ushare.mk b/buildroot-2021.05/package/ushare/ushare.mk deleted file mode 100644 index a4c97116..00000000 --- a/buildroot-2021.05/package/ushare/ushare.mk +++ /dev/null @@ -1,43 +0,0 @@ -################################################################################ -# -# ushare -# -################################################################################ - -USHARE_VERSION = 2.1 -USHARE_SITE = $(call github,ddugovic,uShare,v$(USHARE_VERSION)) -USHARE_DEPENDENCIES = host-pkgconf libupnp $(TARGET_NLS_DEPENDENCIES) -USHARE_LICENSE = GPL-2.0+ -USHARE_LICENSE_FILES = COPYING -USHARE_LDFLAGS = $(TARGET_NLS_LIBS) - -USHARE_CONF_OPTS = \ - --prefix=/usr \ - --cross-compile \ - --cross-prefix="$(TARGET_CROSS)" \ - --sysconfdir=/etc \ - --disable-strip - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),) -USHARE_CONF_OPTS += --disable-nls -endif - -define USHARE_CONFIGURE_CMDS - (cd $(@D); \ - $(TARGET_CONFIGURE_OPTS) \ - ./configure \ - $(USHARE_CONF_OPTS) \ - ) -endef - -define USHARE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) LDFLAGS="$(TARGET_LDFLAGS) $(USHARE_LDFLAGS)" -C $(@D) -endef - -define USHARE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install - rm -f $(TARGET_DIR)/etc/init.d/ushare -endef - -# Even though configure is called it's not autoconf -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/utf8proc/utf8proc.hash b/buildroot-2021.05/package/utf8proc/utf8proc.hash deleted file mode 100644 index 2deff4e0..00000000 --- a/buildroot-2021.05/package/utf8proc/utf8proc.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 4c06a9dc4017e8a2438ef80ee371d45868bda2237a98b26554de7a95406b283b utf8proc-2.6.1.tar.gz -sha256 fbc720fcc90fb44396985646f67e4d19be03e0c0539f7138ed9dc6efba49dc49 LICENSE.md diff --git a/buildroot-2021.05/package/utf8proc/utf8proc.mk b/buildroot-2021.05/package/utf8proc/utf8proc.mk deleted file mode 100644 index bedd38ca..00000000 --- a/buildroot-2021.05/package/utf8proc/utf8proc.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# utf8proc -# -################################################################################ - -UTF8PROC_VERSION = 2.6.1 -UTF8PROC_SITE = $(call github,JuliaStrings,utf8proc,v$(UTF8PROC_VERSION)) -UTF8PROC_LICENSE = MIT -UTF8PROC_LICENSE_FILES = LICENSE.md -UTF8PROC_INSTALL_STAGING = YES -UTF8PROC_SUPPORTS_IN_SOURCE_BUILD = NO - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/util-linux/Config.in b/buildroot-2021.05/package/util-linux/Config.in deleted file mode 100644 index 1f33eb55..00000000 --- a/buildroot-2021.05/package/util-linux/Config.in +++ /dev/null @@ -1,443 +0,0 @@ -menuconfig BR2_PACKAGE_UTIL_LINUX - bool "util-linux" - help - Various useful/essential linux libraries and utilities. - - Things like mkfs, mkswap, swapon, fdisk, mount, dmesg, etc... - - http://www.kernel.org/pub/linux/utils/util-linux/ - -if BR2_PACKAGE_UTIL_LINUX - -config BR2_PACKAGE_UTIL_LINUX_LIBS - bool - -config BR2_PACKAGE_UTIL_LINUX_LIBBLKID - bool "libblkid" - depends on BR2_USE_MMU # fork() - help - Install libblkid. - -config BR2_PACKAGE_UTIL_LINUX_LIBFDISK - bool "libfdisk" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - help - Install libfdisk. - -config BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - bool "libmount" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - help - Install libmount. - -config BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - bool "libsmartcols" - depends on BR2_USE_MMU # fork() - help - Install libsmartcols. - -config BR2_PACKAGE_UTIL_LINUX_LIBUUID - bool "libuuid" - help - Install libuuid. - -config BR2_PACKAGE_UTIL_LINUX_BINARIES - bool "basic set" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - select BR2_PACKAGE_UTIL_LINUX_LIBFDISK - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - help - Install the basic set of util-linux binaries. - - blkdiscard, blkid, blockdev, chcpu, choom, col, colcrt, colrm, - column, ctrlaltdel, dmesg, fdisk, fincore, findfs, findmnt, - flock, fsfreeze, fstrim, getopt, hexdump, ipcmk, isosize, - ldattach, look, lsblk, lscpu, lsipc, lslocks, lsns, mcookie, - mkfs, mkswap, namei, prlimit, readprofile, renice, rev, - rtcwake, script, scriptlive, scriptreplay, setarch, setsid, - sfdisk, swaplabel, swapoff, swapon, uuidgen, uuidparse, - whereis, wipefs - - The setarch utility also installs architecture-specific - symlinks like linux32, linux64, uname26, i386 and x86_64. - -config BR2_PACKAGE_UTIL_LINUX_AGETTY - bool "agetty" - depends on BR2_USE_MMU # fork() - help - Alternative linux getty - -config BR2_PACKAGE_UTIL_LINUX_BFS - bool "bfs" - help - SCO bfs filesystem support - -config BR2_PACKAGE_UTIL_LINUX_CAL - bool "cal" - help - Display a calendar, or some part of it - -config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH - bool "chfn/chsh" - depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU # linux-pam - select BR2_PACKAGE_LINUX_PAM - help - Change login shell, real user name and information - -comment "chfn/chsh needs a toolchain w/ wchar, locale, dynamic library" - depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS - -config BR2_PACKAGE_UTIL_LINUX_CHMEM - bool "chmem" - help - Sets a particular size or range of memory online or offline - -config BR2_PACKAGE_UTIL_LINUX_CRAMFS - bool "cramfs utilities" - select BR2_PACKAGE_ZLIB - help - Utilities for compressed ROM file system (fsck.cramfs, - mkfs.cramfs) - -config BR2_PACKAGE_UTIL_LINUX_EJECT - bool "eject" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - help - Eject removable media - -config BR2_PACKAGE_UTIL_LINUX_FALLOCATE - bool "fallocate" - help - Preallocate space to a file - -config BR2_PACKAGE_UTIL_LINUX_FDFORMAT - bool "fdformat" - help - Low-level format a floppy disk - -config BR2_PACKAGE_UTIL_LINUX_FSCK - bool "fsck" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - help - Check and repair a linux filesystem - -config BR2_PACKAGE_UTIL_LINUX_HARDLINK - bool "hardlink" - help - Consolidate duplicate files via hardlinks - -config BR2_PACKAGE_UTIL_LINUX_HWCLOCK - bool "hwclock" - help - Query or set the hardware clock (RTC) - -config BR2_PACKAGE_UTIL_LINUX_IPCRM - bool "ipcrm" - help - Remove certain IPC resources - -config BR2_PACKAGE_UTIL_LINUX_IPCS - bool "ipcs" - help - Show information on IPC facilities - -config BR2_PACKAGE_UTIL_LINUX_KILL - bool "kill" - help - Send a signal to a process - -config BR2_PACKAGE_UTIL_LINUX_LAST - bool "last" - help - Show a listing of last logged in users - -config BR2_PACKAGE_UTIL_LINUX_LINE - bool "line" - help - Read one line - -config BR2_PACKAGE_UTIL_LINUX_LOGGER - bool "logger" - help - Enter messages into the system log - -config BR2_PACKAGE_UTIL_LINUX_LOGIN - bool "login" - depends on BR2_ENABLE_LOCALE # linux-pam - depends on BR2_USE_WCHAR # linux-pam - depends on !BR2_STATIC_LIBS # linux-pam - depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam - depends on BR2_USE_MMU # fork(), linux-pam - select BR2_PACKAGE_LINUX_PAM - help - Begin a session on the system - -comment "login needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" - depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL - -config BR2_PACKAGE_UTIL_LINUX_LOSETUP - bool "losetup" - depends on BR2_USE_MMU # libsmartcols - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - help - Set up and control loop devices - -config BR2_PACKAGE_UTIL_LINUX_LSLOGINS - bool "lslogins" - depends on BR2_USE_MMU # libsmartcols - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - help - Display information about known users in the system - -config BR2_PACKAGE_UTIL_LINUX_LSMEM - bool "lsmem" - depends on BR2_USE_MMU # libsmartcols - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - help - List the ranges of available memory with their online status - -config BR2_PACKAGE_UTIL_LINUX_MESG - bool "mesg" - help - Control write access to your terminal - -config BR2_PACKAGE_UTIL_LINUX_MINIX - bool "minix" - depends on BR2_USE_MMU # fork() - help - Minix filesystem support - -config BR2_PACKAGE_UTIL_LINUX_MORE - bool "more" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_NCURSES - help - File perusal filter for crt viewing - -config BR2_PACKAGE_UTIL_LINUX_MOUNT - bool "mount/umount" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - help - Mount/unmount filesystems - -config BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT - bool "mountpoint" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - help - See if a directory is a mountpoint - -config BR2_PACKAGE_UTIL_LINUX_NEWGRP - bool "newgrp" - help - Log in to a new group - -config BR2_PACKAGE_UTIL_LINUX_NOLOGIN - bool "nologin" - help - Politely refuse a login - -config BR2_PACKAGE_UTIL_LINUX_NSENTER - bool "nsenter" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - help - Enter the namespaces of another process - -comment "nsenter needs a toolchain w/ headers >= 3.0" - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - -config BR2_PACKAGE_UTIL_LINUX_PG - bool "pg" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_NCURSES - help - Browse pagewise through text files - -config BR2_PACKAGE_UTIL_LINUX_PARTX - bool "partition utilities" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - help - Partition utilities (addpart, delpart, partx) - -config BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT - bool "pivot_root" - help - Change the root filesystem - -config BR2_PACKAGE_UTIL_LINUX_RAW - bool "raw" - help - Build a linux raw character device - -config BR2_PACKAGE_UTIL_LINUX_RENAME - bool "rename" - help - Rename files - -config BR2_PACKAGE_UTIL_LINUX_RFKILL - bool "rfkill" - depends on BR2_USE_MMU # libsmartcols - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - help - Tool for enabling and disabling wireless devices. This new - implementation is based upon, and backward compatible with, - the original rfkill from Johannes Berg and Marcel Holtmann. - -config BR2_PACKAGE_UTIL_LINUX_RUNUSER - bool "runuser" - depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam - depends on !BR2_STATIC_LIBS - depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam - depends on BR2_USE_MMU # fork(), linux-pam - select BR2_PACKAGE_LINUX_PAM - help - Run a command with substitute user and group ID (does not need - to ask for a password, because it may be executed by the root - user only) - -comment "runuser needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" - depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL - -config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS - bool "scheduling utilities" - help - Scheduling utilities (chrt, ionice, taskset) - -config BR2_PACKAGE_UTIL_LINUX_SETPRIV - bool "setpriv" - select BR2_PACKAGE_LIBCAP_NG - help - Run a program with different Linux privilege settings - -config BR2_PACKAGE_UTIL_LINUX_SETTERM - bool "setterm" - select BR2_PACKAGE_NCURSES - help - Set terminal attributes - -config BR2_PACKAGE_UTIL_LINUX_SU - bool "su" - depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam - depends on !BR2_STATIC_LIBS - depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam - depends on BR2_USE_MMU # fork(), linux-pam - select BR2_PACKAGE_LINUX_PAM - help - Run a command with substitute user and group ID - -comment "su needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" - depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ - || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL - -config BR2_PACKAGE_UTIL_LINUX_SULOGIN - bool "sulogin" - depends on BR2_USE_MMU # fork() - help - Single-user login - -config BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT - bool "switch_root" - depends on BR2_USE_MMU # fork() - help - Switch to another filesystem as the root of the mount tree - -config BR2_PACKAGE_UTIL_LINUX_TUNELP - bool "tunelp" - select BR2_PACKAGE_NCURSES - help - Set various parameters for the lp device - -config BR2_PACKAGE_UTIL_LINUX_UL - bool "ul" - select BR2_PACKAGE_NCURSES - help - Do underlining - -config BR2_PACKAGE_UTIL_LINUX_UNSHARE - bool "unshare" - depends on BR2_USE_MMU # fork() - help - Run program with some namespaces unshared from parent - -config BR2_PACKAGE_UTIL_LINUX_UTMPDUMP - bool "utmpdump" - help - Dump UTMP and WTMP files in raw format - -config BR2_PACKAGE_UTIL_LINUX_UUIDD - bool "uuidd" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - help - UUID generation daemon - -config BR2_PACKAGE_UTIL_LINUX_VIPW - bool "vipw" - depends on BR2_USE_MMU # fork() - help - Edit the password, group, shadow-password or shadow-group file - -config BR2_PACKAGE_UTIL_LINUX_WALL - bool "wall" - depends on BR2_USE_MMU # fork() - help - Send a message to everybody's terminal - -config BR2_PACKAGE_UTIL_LINUX_WIPEFS - bool "wipefs" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - help - wipefs can erase filesystem, raid or partition-table - signatures (magic strings) from the specified device - to make the signatures invisible for libblkid. wipefs - does not erase the filesystem itself nor any other data - from the device. - -config BR2_PACKAGE_UTIL_LINUX_WDCTL - bool "wdctl" - depends on BR2_USE_MMU # libsmartcols - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - help - Shows hardware watchdog status - -config BR2_PACKAGE_UTIL_LINUX_WRITE - bool "write" - help - Send a message to another user - -config BR2_PACKAGE_UTIL_LINUX_ZRAMCTL - bool "zramctl" - depends on BR2_USE_MMU # libsmartcols - select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS - help - Set up and control zram devices - -endif diff --git a/buildroot-2021.05/package/util-linux/util-linux-libs/util-linux-libs.mk b/buildroot-2021.05/package/util-linux/util-linux-libs/util-linux-libs.mk deleted file mode 100644 index 3a3a655e..00000000 --- a/buildroot-2021.05/package/util-linux/util-linux-libs/util-linux-libs.mk +++ /dev/null @@ -1,89 +0,0 @@ -################################################################################ -# -# util-linux-libs -# -################################################################################ - -# Please keep this file as similar as possible to util-linux.mk - -UTIL_LINUX_LIBS_VERSION = $(UTIL_LINUX_VERSION) -UTIL_LINUX_LIBS_SOURCE = $(UTIL_LINUX_SOURCE) -UTIL_LINUX_LIBS_SITE = $(UTIL_LINUX_SITE) -UTIL_LINUX_LIBS_DL_SUBDIR = $(UTIL_LINUX_DL_SUBDIR) - -# README.licensing claims that some files are GPL-2.0 only, but this is not -# true. Some files are GPL-3.0+ but only in tests and optionally in hwclock -# (but we disable that option). rfkill uses an ISC-style license. -UTIL_LINUX_LIBS_LICENSE = LGPL-2.1+ (libblkid, libfdisk, libmount), BSD-3-Clause (libuuid) -UTIL_LINUX_LIBS_LICENSE_FILES = README.licensing \ - Documentation/licenses/COPYING.BSD-3-Clause \ - Documentation/licenses/COPYING.LGPL-2.1-or-later - -UTIL_LINUX_LIBS_INSTALL_STAGING = YES -UTIL_LINUX_LIBS_DEPENDENCIES = \ - host-pkgconf \ - $(TARGET_NLS_DEPENDENCIES) -UTIL_LINUX_LIBS_CONF_OPTS += \ - --disable-rpath \ - --disable-makeinstall-chown - -UTIL_LINUX_LIBS_LINK_LIBS = $(TARGET_NLS_LIBS) - -# Prevent the installation from attempting to move shared libraries from -# ${usrlib_execdir} (/usr/lib) to ${libdir} (/lib), since both paths are -# the same when merged usr is in use. -ifeq ($(BR2_ROOTFS_MERGED_USR),y) -UTIL_LINUX_LIBS_CONF_OPTS += --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/usr/lib -endif - -# systemd depends on util-linux-libs so we disable systemd support -UTIL_LINUX_LIBS_CONF_OPTS += \ - --without-systemd \ - --with-systemdsystemunitdir=no - -# systemd/eudev depend on util-linux-libs so we disable udev support -UTIL_LINUX_LIBS_CONF_OPTS += --without-udev - -# No libs use wchar -UTIL_LINUX_LIBS_CONF_OPTS += --disable-widechar - -# No libs use ncurses -UTIL_LINUX_LIBS_CONF_OPTS += --without-ncursesw --without-ncurses - -# Unfortunately, the util-linux does LIBS="" at the end of its -# configure script. So we have to pass the proper LIBS value when -# calling the configure script to make configure tests pass properly, -# and then pass it again at build time. -UTIL_LINUX_LIBS_CONF_ENV += LIBS="$(UTIL_LINUX_LIBS_LINK_LIBS)" -UTIL_LINUX_LIBS_MAKE_OPTS += LIBS="$(UTIL_LINUX_LIBS_LINK_LIBS)" - -# libmount optionally uses selinux -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT)$(BR2_PACKAGE_LIBSELINUX),yy) -UTIL_LINUX_LIBS_DEPENDENCIES += libselinux -UTIL_LINUX_LIBS_CONF_OPTS += --with-selinux -else -UTIL_LINUX_LIBS_CONF_OPTS += --without-selinux -endif - -# Disable utilities -UTIL_LINUX_LIBS_CONF_OPTS += \ - --disable-all-programs \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),--enable-libblkid,--disable-libblkid) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBFDISK),--enable-libfdisk,--disable-libfdisk) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),--enable-libmount,--disable-libmount) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS),--enable-libsmartcols,--disable-libsmartcols) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBUUID),--enable-libuuid,--disable-libuuid) - -# libmount python bindings are separate, will be installed by full util-linux -UTIL_LINUX_LIBS_CONF_OPTS += --without-python --disable-pylibmount - -# No libs use readline -UTIL_LINUX_LIBS_CONF_OPTS += --without-readline - -# No libs use audit -UTIL_LINUX_LIBS_CONF_OPTS += --without-audit - -# No libs use libmagic -UTIL_LINUX_LIBS_CONF_OPTS += --without-libmagic - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/util-linux/util-linux.hash b/buildroot-2021.05/package/util-linux/util-linux.hash deleted file mode 100644 index 3f9fe398..00000000 --- a/buildroot-2021.05/package/util-linux/util-linux.hash +++ /dev/null @@ -1,9 +0,0 @@ -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.36/sha256sums.asc -sha256 f7516ba9d8689343594356f0e5e1a5f0da34adfbc89023437735872bb5024c5f util-linux-2.36.2.tar.xz -# License files, locally calculated -sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing -sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause -sha256 ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8 Documentation/licenses/COPYING.BSD-4-Clause-UC -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Documentation/licenses/COPYING.GPL-2.0-or-later -sha256 e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63 Documentation/licenses/COPYING.ISC -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 Documentation/licenses/COPYING.LGPL-2.1-or-later diff --git a/buildroot-2021.05/package/util-linux/util-linux.mk b/buildroot-2021.05/package/util-linux/util-linux.mk deleted file mode 100644 index 4bc7a112..00000000 --- a/buildroot-2021.05/package/util-linux/util-linux.mk +++ /dev/null @@ -1,298 +0,0 @@ -################################################################################ -# -# util-linux -# -################################################################################ - -# When making changes to this file, please check if -# util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. - -UTIL_LINUX_VERSION_MAJOR = 2.36 -UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).2 -UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz -UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) - -# README.licensing claims that some files are GPL-2.0 only, but this is not -# true. Some files are GPL-3.0+ but only in tests and optionally in hwclock -# (but we disable that option). rfkill uses an ISC-style license. -UTIL_LINUX_LICENSE = GPL-2.0+, BSD-4-Clause, LGPL-2.1+ (libblkid, libfdisk, libmount), BSD-3-Clause (libuuid), ISC (rfkill) -UTIL_LINUX_LICENSE_FILES = README.licensing \ - Documentation/licenses/COPYING.BSD-3-Clause \ - Documentation/licenses/COPYING.BSD-4-Clause-UC \ - Documentation/licenses/COPYING.GPL-2.0-or-later \ - Documentation/licenses/COPYING.ISC \ - Documentation/licenses/COPYING.LGPL-2.1-or-later - -UTIL_LINUX_CPE_ID_VENDOR = kernel -UTIL_LINUX_INSTALL_STAGING = YES -UTIL_LINUX_DEPENDENCIES = \ - host-pkgconf \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBS),util-linux-libs) \ - $(TARGET_NLS_DEPENDENCIES) -UTIL_LINUX_CONF_OPTS += \ - --disable-rpath \ - --disable-makeinstall-chown - -UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS) - -HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf - -# We also don't want the host-python dependency -HOST_UTIL_LINUX_CONF_OPTS = \ - --without-systemd \ - --with-systemdsystemunitdir=no \ - --without-python - -ifneq ($(BR2_PACKAGE_UTIL_LINUX_BINARIES)$(BR2_PACKAGE_UTIL_LINUX_CRAMFS)$(BR2_PACKAGE_UTIL_LINUX_FSCK)$(BR2_PACKAGE_UTIL_LINUX_LOSETUP),) -UTIL_LINUX_SELINUX_MODULES = fstools -endif - -# Prevent the installation from attempting to move shared libraries from -# ${usrlib_execdir} (/usr/lib) to ${libdir} (/lib), since both paths are -# the same when merged usr is in use. -ifeq ($(BR2_ROOTFS_MERGED_USR),y) -UTIL_LINUX_CONF_OPTS += --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/usr/lib -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -UTIL_LINUX_CONF_OPTS += --with-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system -UTIL_LINUX_DEPENDENCIES += systemd -else -UTIL_LINUX_CONF_OPTS += --without-systemd --with-systemdsystemunitdir=no -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -UTIL_LINUX_CONF_OPTS += --with-udev -UTIL_LINUX_DEPENDENCIES += udev -else -UTIL_LINUX_CONF_OPTS += --without-udev -endif - -ifeq ($(BR2_PACKAGE_NCURSES),y) -UTIL_LINUX_DEPENDENCIES += ncurses -ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) -UTIL_LINUX_CONF_OPTS += --with-ncursesw -UTIL_LINUX_CONF_ENV += NCURSESW6_CONFIG=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) -else -UTIL_LINUX_CONF_OPTS += --without-ncursesw --with-ncurses --disable-widechar -UTIL_LINUX_CONF_ENV += NCURSES6_CONFIG=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) -endif -else -ifeq ($(BR2_USE_WCHAR),y) -UTIL_LINUX_CONF_OPTS += --enable-widechar -else -UTIL_LINUX_CONF_OPTS += --disable-widechar -endif -UTIL_LINUX_CONF_OPTS += --without-ncursesw --without-ncurses -endif - -# Unfortunately, the util-linux does LIBS="" at the end of its -# configure script. So we have to pass the proper LIBS value when -# calling the configure script to make configure tests pass properly, -# and then pass it again at build time. -UTIL_LINUX_CONF_ENV += LIBS="$(UTIL_LINUX_LINK_LIBS)" -UTIL_LINUX_MAKE_OPTS += LIBS="$(UTIL_LINUX_LINK_LIBS)" - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -UTIL_LINUX_DEPENDENCIES += libselinux -UTIL_LINUX_CONF_OPTS += --with-selinux -else -UTIL_LINUX_CONF_OPTS += --without-selinux -define UTIL_LINUX_SELINUX_PAMFILES_TWEAK - $(foreach f,su su-l, - $(SED) '/^.*pam_selinux.so.*$$/d' \ - $(TARGET_DIR)/etc/pam.d/$(f) - ) -endef -endif - -# Used by setpriv -UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBCAP_NG),libcap-ng) - -# Used by cramfs utils -UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_ZLIB),zlib) - -# Used by login-utils -UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_LINUX_PAM),linux-pam) - -# Used by hardlink -UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_PCRE2),pcre2) - -# Disable/Enable utilities -UTIL_LINUX_CONF_OPTS += \ - $(if $(BR2_PACKAGE_UTIL_LINUX_BINARIES),--enable-all-programs,--disable-all-programs) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_AGETTY),--enable-agetty,--disable-agetty) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_BFS),--enable-bfs,--disable-bfs) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_CAL),--enable-cal,--disable-cal) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH),--enable-chfn-chsh,--disable-chfn-chsh) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_CHMEM),--enable-chmem,--disable-chmem) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_CRAMFS),--enable-cramfs,--disable-cramfs) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_EJECT),--enable-eject,--disable-eject) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_FALLOCATE),--enable-fallocate,--disable-fallocate) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_FDFORMAT),--enable-fdformat,--disable-fdformat) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_HARDLINK),--enable-hardlink,--disable-hardlink) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_HWCLOCK),--enable-hwclock --disable-hwclock-gplv3,--disable-hwclock) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LAST),--enable-last,--disable-last) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),--enable-libblkid,--disable-libblkid) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBFDISK),--enable-libfdisk,--disable-libfdisk) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),--enable-libmount,--disable-libmount) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS),--enable-libsmartcols,--disable-libsmartcols) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LIBUUID),--enable-libuuid,--disable-libuuid) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LINE),--enable-line,--disable-line) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LOGGER),--enable-logger,--disable-logger) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN),--enable-login,--disable-login) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LSLOGINS),--enable-lslogins,--disable-lslogins) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_LSMEM),--enable-lsmem,--disable-lsmem) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_MINIX),--enable-minix,--disable-minix) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_MORE),--enable-more,--disable-more) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_MOUNT),--enable-mount,--disable-mount) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT),--enable-mountpoint,--disable-mountpoint) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_NEWGRP),--enable-newgrp,--disable-newgrp) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_NOLOGIN),--enable-nologin,--disable-nologin) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_NSENTER),--enable-nsenter,--disable-nsenter) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_PARTX),--enable-partx,--disable-partx) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_PG),--enable-pg,--disable-pg) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT),--enable-pivot_root,--disable-pivot_root) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_RAW),--enable-raw,--disable-raw) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_RENAME),--enable-rename,--disable-rename) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_RFKILL),--enable-rfkill,--disable-rfkill) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_RUNUSER),--enable-runuser,--disable-runuser) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS),--enable-schedutils,--disable-schedutils) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_SETPRIV),--enable-setpriv,--disable-setpriv) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_SETTERM),--enable-setterm,--disable-setterm) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_SU),--enable-su,--disable-su) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_SULOGIN),--enable-sulogin,--disable-sulogin) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT),--enable-switch_root,--disable-switch_root) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_TUNELP),--enable-tunelp,--disable-tunelp) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_UL),--enable-ul,--disable-ul) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_UNSHARE),--enable-unshare,--disable-unshare) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_UTMPDUMP),--enable-utmpdump,--disable-utmpdump) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_UUIDD),--enable-uuidd,--disable-uuidd) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_VIPW),--enable-vipw,--disable-vipw) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_WALL),--enable-wall,--disable-wall) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_WDCTL),--enable-wdctl,--disable-wdctl) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_WIPEFS),--enable-wipefs,--disable-wipefs) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_WRITE),--enable-write,--disable-write) \ - $(if $(BR2_PACKAGE_UTIL_LINUX_ZRAMCTL),--enable-zramctl,--disable-zramctl) - -# In the host version of util-linux, we only require libuuid and -# libmount (plus libblkid as an indirect dependency of libmount). -# So disable all of the programs, unless BR2_PACKAGE_HOST_UTIL_LINUX is set - -HOST_UTIL_LINUX_CONF_OPTS += \ - --enable-libblkid \ - --enable-libmount \ - --enable-libuuid \ - --without-libmagic \ - --without-ncurses \ - --without-ncursesw \ - --without-tinfo - -ifeq ($(BR2_PACKAGE_HOST_UTIL_LINUX),y) -HOST_UTIL_LINUX_CONF_OPTS += --disable-makeinstall-chown -# disable commands that have ncurses dependency, as well as -# other ones that are useless on the host -HOST_UTIL_LINUX_CONF_OPTS += \ - --disable-agetty \ - --disable-chfn-chsh \ - --disable-chmem \ - --disable-login \ - --disable-lslogins \ - --disable-mesg \ - --disable-more \ - --disable-newgrp \ - --disable-nologin \ - --disable-nsenter \ - --disable-pg \ - --disable-rfkill \ - --disable-runuser \ - --disable-schedutils \ - --disable-setpriv \ - --disable-setterm \ - --disable-su \ - --disable-sulogin \ - --disable-tunelp \ - --disable-ul \ - --disable-unshare \ - --disable-uuidd \ - --disable-vipw \ - --disable-wall \ - --disable-wdctl \ - --disable-write \ - --disable-zramctl -# Used by cramfs utils -HOST_UTIL_LINUX_DEPENDENCIES += host-zlib -else -HOST_UTIL_LINUX_CONF_OPTS += --disable-all-programs -endif - -# Install libmount Python bindings -ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) -UTIL_LINUX_CONF_OPTS += --with-python -UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y) -UTIL_LINUX_CONF_OPTS += --enable-pylibmount -else -UTIL_LINUX_CONF_OPTS += --disable-pylibmount -endif -else -UTIL_LINUX_CONF_OPTS += --without-python -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -UTIL_LINUX_CONF_OPTS += --with-readline -UTIL_LINUX_LINK_LIBS += $(if $(BR2_STATIC_LIBS),-lcurses) -UTIL_LINUX_DEPENDENCIES += readline -else -UTIL_LINUX_CONF_OPTS += --without-readline -endif - -ifeq ($(BR2_PACKAGE_AUDIT),y) -UTIL_LINUX_CONF_OPTS += --with-audit -UTIL_LINUX_DEPENDENCIES += audit -else -UTIL_LINUX_CONF_OPTS += --without-audit -endif - -ifeq ($(BR2_PACKAGE_FILE),y) -UTIL_LINUX_CONF_OPTS += --with-libmagic -UTIL_LINUX_DEPENDENCIES += file -else -UTIL_LINUX_CONF_OPTS += --without-libmagic -endif - -# Install PAM configuration files -ifeq ($(BR2_PACKAGE_UTIL_LINUX_SU)$(BR2_PACKAGE_LINUX_PAM),yy) -define UTIL_LINUX_INSTALL_PAMFILES - $(INSTALL) -D -m 0644 package/util-linux/su.pam \ - $(TARGET_DIR)/etc/pam.d/su - $(INSTALL) -D -m 0644 package/util-linux/su.pam \ - $(TARGET_DIR)/etc/pam.d/su-l - $(UTIL_LINUX_SELINUX_PAMFILES_TWEAK) -endef -UTIL_LINUX_POST_INSTALL_TARGET_HOOKS += UTIL_LINUX_INSTALL_PAMFILES -endif - -# Install agetty->getty symlink to avoid breakage when there's no busybox -ifeq ($(BR2_PACKAGE_UTIL_LINUX_AGETTY),y) -ifeq ($(BR2_PACKAGE_BUSYBOX),) -define UTIL_LINUX_GETTY_SYMLINK - ln -sf agetty $(TARGET_DIR)/sbin/getty -endef -endif -endif - -UTIL_LINUX_POST_INSTALL_TARGET_HOOKS += UTIL_LINUX_GETTY_SYMLINK - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) - -# Must be included after the autotools-package call, to make sure all variables -# are available -include package/util-linux/util-linux-libs/util-linux-libs.mk diff --git a/buildroot-2021.05/package/uvw/uvw.hash b/buildroot-2021.05/package/uvw/uvw.hash deleted file mode 100644 index ba8c7b89..00000000 --- a/buildroot-2021.05/package/uvw/uvw.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 aa5769f5b9ba50de72ab02a8f8acf298b4aa9ceaef07992418a13a0fa119ce7d uvw-2.8.0_libuv_v1.40.tar.gz -sha256 755b2f245af22830c15b60c54469c0d92fbed42009b0d0074cec4b3959905757 LICENSE diff --git a/buildroot-2021.05/package/uvw/uvw.mk b/buildroot-2021.05/package/uvw/uvw.mk deleted file mode 100644 index f152d9f1..00000000 --- a/buildroot-2021.05/package/uvw/uvw.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# uvw -# -################################################################################ - -UVW_VERSION = 2.8.0_libuv_v1.40 -UVW_SITE = $(call github,skypjack,uvw,v$(UVW_VERSION)) -UVW_INSTALL_STAGING = YES -UVW_INSTALL_TARGET = NO -UVW_SUPPORTS_IN_SOURCE_BUILD = NO -UVW_DEPENDENCIES = libuv -UVW_LICENSE = MIT -UVW_LICENSE_FILES = LICENSE - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/vala/0001-dont-add-dirty-to-valac-version.patch b/buildroot-2021.05/package/vala/0001-dont-add-dirty-to-valac-version.patch deleted file mode 100644 index a2a06233..00000000 --- a/buildroot-2021.05/package/vala/0001-dont-add-dirty-to-valac-version.patch +++ /dev/null @@ -1,25 +0,0 @@ -valac: don't append -dirty to version - -Don't append -dirty to the valac version number if the Buildroot Git -tree has uncommited changes. - -The patched script is meant for the valac developers, but it also -activates if you build valac in a subdirectory of a Git tree (e.g. -as is commonly done in Buildroot). - -The effect is that valac gets built as being version x.y.z-dirty, which -breaks programs (such as Midori) that explicitly check for valac-x.y.z. - -Signed-off-by: Simon Dawson -diff -Nur a/build-aux/git-version-gen b/build-aux/git-version-gen ---- a/build-aux/git-version-gen 2010-08-15 12:49:03.000000000 +0100 -+++ b/build-aux/git-version-gen 2012-05-14 10:17:19.977204570 +0100 -@@ -135,7 +135,7 @@ - *) # Append the suffix only if there isn't one already. - case $v in - *-dirty) ;; -- *) v="$v-dirty" ;; -+ #*) v="$v-dirty" ;; - esac ;; - esac - diff --git a/buildroot-2021.05/package/vala/vala.hash b/buildroot-2021.05/package/vala/vala.hash deleted file mode 100644 index 319c7ef2..00000000 --- a/buildroot-2021.05/package/vala/vala.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://download.gnome.org/sources/vala/0.46/vala-0.46.6.sha256sum -sha256 ef31649932872f094971d46453b21c60a41661670f98afa334062425b4aec47a vala-0.46.6.tar.xz -# Locally computed -sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2021.05/package/vala/vala.mk b/buildroot-2021.05/package/vala/vala.mk deleted file mode 100644 index 93a304f1..00000000 --- a/buildroot-2021.05/package/vala/vala.mk +++ /dev/null @@ -1,37 +0,0 @@ -################################################################################ -# -# vala -# -################################################################################ - -VALA_VERSION_MAJOR = 0.46 -VALA_VERSION = $(VALA_VERSION_MAJOR).6 -VALA_SITE = http://download.gnome.org/sources/vala/$(VALA_VERSION_MAJOR) -VALA_SOURCE = vala-$(VALA_VERSION).tar.xz -VALA_LICENSE = LGPL-2.1+ -VALA_LICENSE_FILES = COPYING -VALA_CPE_ID_VENDOR = gnome - -HOST_VALA_DEPENDENCIES = host-bison host-flex host-libglib2 -# Yes, the autoconf script understands ':' as "xsltproc is not -# available". -HOST_VALA_CONF_ENV = ac_cv_path_XSLTPROC=: -HOST_VALA_CONF_OPTS += --disable-valadoc - -# We wrap vala, valac and vapigen to point to the proper gir and vapi data dirs -# Otherwise we'll get host directory data which isn't enough -define HOST_VALA_INSTALL_WRAPPER - $(INSTALL) -D -m 0755 package/vala/vala-wrapper \ - $(HOST_DIR)/bin/vala - $(INSTALL) -D -m 0755 package/vala/vala-wrapper \ - $(HOST_DIR)/bin/valac - $(INSTALL) -D -m 0755 package/vala/vala-wrapper \ - $(HOST_DIR)/bin/vapigen - $(SED) 's,@VALA_VERSION@,$(VALA_VERSION_MAJOR),' \ - $(HOST_DIR)/bin/vala \ - $(HOST_DIR)/bin/valac \ - $(HOST_DIR)/bin/vapigen -endef -HOST_VALA_POST_INSTALL_HOOKS += HOST_VALA_INSTALL_WRAPPER - -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/valgrind/0003-Bug-408663-Patch-Suppression-file-for-musl-libc.patch b/buildroot-2021.05/package/valgrind/0003-Bug-408663-Patch-Suppression-file-for-musl-libc.patch deleted file mode 100644 index b7e075e9..00000000 --- a/buildroot-2021.05/package/valgrind/0003-Bug-408663-Patch-Suppression-file-for-musl-libc.patch +++ /dev/null @@ -1,69 +0,0 @@ -From c5a5190ec7936e53bcd2082fb0151bc48a804b8b Mon Sep 17 00:00:00 2001 -From: Paul Floyd -Date: Tue, 8 Dec 2020 15:07:29 +0100 -Subject: [PATCH] Bug 408663 - Patch: Suppression file for musl libc - -[Upstream https://sourceware.org/git/?p=valgrind.git;a=patch;h=f4d98ff79d5a79102b777ea7e23002d9f7326489 - reduced to the missing musl.supp file download source file - Reported https://bugs.kde.org/show_bug.cgi?id=435438] -Signed-off-by: Peter Seiderer ---- - musl.supp | 46 ++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 46 insertions(+) - create mode 100644 musl.supp - -diff --git a/musl.supp b/musl.supp -new file mode 100644 -index 0000000..864172a ---- /dev/null -+++ b/musl.supp -@@ -0,0 +1,46 @@ -+# Suppressions for musl libc -+# See: https://www.openwall.com/lists/musl/2017/06/15/4 -+ -+{ -+ musl-dynlink-false-positive1 -+ Memcheck:Leak -+ fun:calloc -+ fun:load_direct_deps -+ fun:load_deps -+ fun:load_deps -+ fun:__dls3 -+ fun:__dls2b -+ fun:__dls2 -+} -+ -+{ -+ musl-dynlink-false-positive2 -+ Memcheck:Leak -+ fun:calloc -+ fun:load_direct_deps -+ fun:load_deps -+ fun:load_deps -+ fun:__dls3 -+ fun:__dls2 -+} -+ -+{ -+ musl-dynlink-false-positive3 -+ Memcheck:Leak -+ fun:calloc -+ fun:load_library -+ fun:load_preload -+ fun:__dls3 -+ fun:__dls2b -+ fun:__dls2 -+} -+ -+{ -+ musl-dynlink-false-positive4 -+ Memcheck:Leak -+ fun:calloc -+ fun:load_library -+ fun:load_preload -+ fun:__dls3 -+ fun:__dls2 -+} --- -2.30.2 - diff --git a/buildroot-2021.05/package/valgrind/Config.in b/buildroot-2021.05/package/valgrind/Config.in deleted file mode 100644 index 56e4af21..00000000 --- a/buildroot-2021.05/package/valgrind/Config.in +++ /dev/null @@ -1,87 +0,0 @@ -config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - bool - default y if BR2_aarch64 - default y if BR2_ARM_CPU_ARMV7A - default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el - default y if BR2_i386 || BR2_x86_64 - default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le - depends on !BR2_MIPS_SOFT_FLOAT - -comment "valgrind needs a toolchain w/ dynamic library" - depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_VALGRIND - bool "valgrind" - depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS - depends on !BR2_STATIC_LIBS - help - Tool for debugging and profiling Linux programs. - - http://valgrind.org/ - -if BR2_PACKAGE_VALGRIND - -config BR2_PACKAGE_VALGRIND_MEMCHECK - bool "Memcheck: a memory error detector" - default y - help - This option allows to install the Memcheck tool - -config BR2_PACKAGE_VALGRIND_CACHEGRIND - bool "Cachegrind: a cache and branch-prediction profiler" - default y - help - This option allows to install the Cachegrind tool - -config BR2_PACKAGE_VALGRIND_CALLGRIND - bool "Callgrind: a call-graph generating cache and branch prediction profiler" - default y - help - This option allows to install the Callgrind tool - -config BR2_PACKAGE_VALGRIND_HELGRIND - bool "Helgrind: a thread error detector" - default y - help - This option allows to install the Helgrind tool - -config BR2_PACKAGE_VALGRIND_DRD - bool "DRD: a thread error detector" - default y - help - This option allows to install the DRD tool - -config BR2_PACKAGE_VALGRIND_MASSIF - bool "Massif: a heap profiler" - default y - help - This option allows to install the Massif tool - -config BR2_PACKAGE_VALGRIND_DHAT - bool "DHAT: a dynamic heap analysis tool" - default y - help - This option allows to install the DHAT tool - -config BR2_PACKAGE_VALGRIND_SGCHECK - bool "SGCheck: an experimental stack and global array overrun detector" - help - This option allows to install the SGCheck tool - -config BR2_PACKAGE_VALGRIND_BBV - bool "BBV: an experimental basic block vector generation tool" - help - This option allows to install the BBV tool - -config BR2_PACKAGE_VALGRIND_LACKEY - bool "Lackey: an example tool" - help - This option allows to install the Lackey tool - -config BR2_PACKAGE_VALGRIND_NULGRIND - bool "Nulgrind: the minimal Valgrind tool" - help - This option allows to install the Nulgrind tool - -endif diff --git a/buildroot-2021.05/package/valgrind/valgrind.hash b/buildroot-2021.05/package/valgrind/valgrind.hash deleted file mode 100644 index 648a590c..00000000 --- a/buildroot-2021.05/package/valgrind/valgrind.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://valgrind.org/downloads/current.html -md5 afe11b5572c3121a781433b7c0ab741b valgrind-3.17.0.tar.bz2 -# locally computed -sha256 ad3aec668e813e40f238995f60796d9590eee64a16dff88421430630e69285a2 valgrind-3.17.0.tar.bz2 - -# License files -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 56976e64523fa1e68db4e6f464f5b2cb89d7d08f54b1d012e317b8db286b3faf COPYING.DOCS diff --git a/buildroot-2021.05/package/valgrind/valgrind.mk b/buildroot-2021.05/package/valgrind/valgrind.mk deleted file mode 100644 index b87e1e51..00000000 --- a/buildroot-2021.05/package/valgrind/valgrind.mk +++ /dev/null @@ -1,160 +0,0 @@ -################################################################################ -# -# valgrind -# -################################################################################ - -VALGRIND_VERSION = 3.17.0 -VALGRIND_SITE = https://sourceware.org/pub/valgrind -VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 -VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 -VALGRIND_LICENSE_FILES = COPYING COPYING.DOCS -VALGRIND_CPE_ID_VENDOR = valgrind -VALGRIND_CONF_OPTS = \ - --disable-ubsan \ - --without-mpicc -VALGRIND_INSTALL_STAGING = YES - -# Valgrind must be compiled with no stack protection, so forcefully -# pass -fno-stack-protector to override what Buildroot may have in -# TARGET_CFLAGS if BR2_SSP_* support is enabled. -VALGRIND_CFLAGS = \ - $(TARGET_CFLAGS) \ - -fno-stack-protector - -# When Valgrind detects a 32-bit MIPS architecture, it forcibly adds -# -march=mips32 to CFLAGS; when it detects a 64-bit MIPS architecture, -# it forcibly adds -march=mips64. This causes Valgrind to be built -# always for the first ISA revision level (R1), even when the user has -# configured Buildroot for the second ISA revision level (R2). -# -# Override the CFLAGS variable (which Valgrind appends to its CFLAGS) -# and pass the right -march option, so they take precedence over -# Valgrind's wrongfully detected value. -ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) -VALGRIND_CFLAGS += -march="$(GCC_TARGET_ARCH)" -endif - -VALGRIND_CONF_ENV = CFLAGS="$(VALGRIND_CFLAGS)" - -# fix uclibc configure c99 support detection -VALGRIND_CONF_ENV += ac_cv_prog_cc_c99='-std=gnu99' - -# On ARM, Valgrind only supports ARMv7, and uses the arch part of the -# host tuple to determine whether it's being built for ARMv7 or -# not. Therefore, we adjust the host tuple to specify we're on -# ARMv7. The valgrind package is guaranteed, through Config.in, to -# only be selected on ARMv7-A platforms. -ifeq ($(BR2_ARM_CPU_ARMV7A),y) -VALGRIND_CONF_OPTS += \ - --host=$(patsubst arm-%,armv7-%,$(GNU_TARGET_NAME)) -endif - -ifeq ($(BR2_GCC_ENABLE_LTO),y) -VALGRIND_CONF_OPTS += --enable-lto -else -VALGRIND_CONF_OPTS += --disable-lto -endif - -define VALGRIND_INSTALL_UCLIBC_SUPP - $(INSTALL) -D -m 0644 package/valgrind/uclibc.supp $(TARGET_DIR)/usr/lib/valgrind/uclibc.supp -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_INSTALL_UCLIBC_SUPP - -ifeq ($(BR2_PACKAGE_VALGRIND_MEMCHECK),) -define VALGRIND_REMOVE_MEMCHECK - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*memcheck* -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_MEMCHECK -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_CACHEGRIND),) -define VALGRIND_REMOVE_CACHEGRIND - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*cachegrind* - for i in cg_annotate cg_diff cg_merge; do \ - rm -f $(TARGET_DIR)/usr/bin/$$i ; \ - done -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_CACHEGRIND -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_CALLGRIND),) -define VALGRIND_REMOVE_CALLGRIND - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*callgrind* - for i in callgrind_annotate callgrind_control ; do \ - rm -f $(TARGET_DIR)/usr/bin/$$i ; \ - done -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_CALLGRIND -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_HELGRIND),) -define VALGRIND_REMOVE_HELGRIND - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*helgrind* -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_HELGRIND -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_DRD),) -define VALGRIND_REMOVE_DRD - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*drd* -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DRD -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_MASSIF),) -define VALGRIND_REMOVE_MASSIF - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*massif* - rm -f $(TARGET_DIR)/usr/bin/ms_print -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_MASSIF -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_DHAT),) -define VALGRIND_REMOVE_DHAT - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*dhat* -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DHAT -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_SGCHECK),) -define VALGRIND_REMOVE_SGCHECK - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*sgcheck* -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_SGCHECK -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_BBV),) -define VALGRIND_REMOVE_BBV - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*bbv* -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_BBV -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_LACKEY),) -define VALGRIND_REMOVE_LACKEY - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*lackey* -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_LACKEY -endif - -ifeq ($(BR2_PACKAGE_VALGRIND_NULGRIND),) -define VALGRIND_REMOVE_NULGRIND - rm -f $(TARGET_DIR)/usr/libexec/valgrind/*none* -endef - -VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_NULGRIND -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/valijson/Config.in b/buildroot-2021.05/package/valijson/Config.in deleted file mode 100644 index 10721b37..00000000 --- a/buildroot-2021.05/package/valijson/Config.in +++ /dev/null @@ -1,18 +0,0 @@ -config BR2_PACKAGE_VALIJSON - bool "valijson" - depends on BR2_USE_WCHAR - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_BOOST - select BR2_PACKAGE_BOOST_REGEX - help - Valijson is a header-only JSON Schema Validation library for - C++. Valijson provides a simple validation API that allows - you load JSON Schemas, and validate documents loaded by one - of several supported parser libraries like boost, jsoncpp, - rapidjson and picoJSON. - - https://github.com/tristanpenman/valijson - -comment "valijson needs a toolchain w/ C++, threads, wchar support" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/valijson/valijson.mk b/buildroot-2021.05/package/valijson/valijson.mk deleted file mode 100644 index e425757d..00000000 --- a/buildroot-2021.05/package/valijson/valijson.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# valijson -# -################################################################################ - -VALIJSON_VERSION = 0.3 -VALIJSON_SITE = $(call github,tristanpenman,valijson,v$(VALIJSON_VERSION)) -VALIJSON_LICENSE = BSD-2-Clause -VALIJSON_LICENSE_FILES = LICENSE -VALIJSON_CPE_ID_VENDOR = valijson_project -VALIJSON_INSTALL_STAGING = YES -VALIJSON_INSTALL_TARGET = NO -VALIJSON_DEPENDENCIES = boost -VALIJSON_CONF_OPTS = -Dvalijson_INSTALL_HEADERS=TRUE -Dvalijson_BUILD_TESTS=FALSE - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/vdr/Config.in b/buildroot-2021.05/package/vdr/Config.in deleted file mode 100644 index df602f26..00000000 --- a/buildroot-2021.05/package/vdr/Config.in +++ /dev/null @@ -1,26 +0,0 @@ -config BR2_PACKAGE_VDR - bool "vdr" - depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 - depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h - depends on BR2_USE_MMU # fork() - depends on BR2_USE_WCHAR - select BR2_PACKAGE_FONTCONFIG - select BR2_PACKAGE_FREETYPE - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBCAP - select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE - help - This project describes how to build your own digital - satellite receiver and Video Disk Recorder. - - http://www.tvdr.de - -comment "vdr needs a glibc toolchain w/ C++, dynamic library, NPTL, wchar, headers >= 3.9" - depends on BR2_USE_MMU - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ - !BR2_TOOLCHAIN_USES_GLIBC || !BR2_USE_WCHAR || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 diff --git a/buildroot-2021.05/package/vdr/vdr.hash b/buildroot-2021.05/package/vdr/vdr.hash deleted file mode 100644 index 3d0dc443..00000000 --- a/buildroot-2021.05/package/vdr/vdr.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://www.linuxtv.org/pipermail/vdr/2020-December/029578.html -md5 aa91614159ae2db45655d35918e2c24e vdr-2.4.6.tar.bz2 -# Locally computed -sha256 c8993babf2a878a0fba84558de1e35f042c3c66f7c1ec569eea00a3af1014e4b vdr-2.4.6.tar.bz2 -sha256 ddb9db7630752f8fdc6898f7c99a99eaeeac5213627ecb093df9c82f56175dc7 COPYING diff --git a/buildroot-2021.05/package/vdr/vdr.mk b/buildroot-2021.05/package/vdr/vdr.mk deleted file mode 100644 index eac13bff..00000000 --- a/buildroot-2021.05/package/vdr/vdr.mk +++ /dev/null @@ -1,62 +0,0 @@ -################################################################################ -# -# vdr -# -################################################################################ - -VDR_VERSION = 2.4.6 -VDR_SOURCE = vdr-$(VDR_VERSION).tar.bz2 -VDR_SITE = ftp://ftp.tvdr.de/vdr -VDR_LICENSE = GPL-2.0+ -VDR_LICENSE_FILES = COPYING -VDR_CPE_ID_VENDOR = tvdr -VDR_INSTALL_STAGING = YES -VDR_DEPENDENCIES = \ - host-pkgconf \ - freetype \ - fontconfig \ - jpeg \ - libcap \ - $(TARGET_NLS_DEPENDENCIES) - -VDR_MAKE_FLAGS = \ - NO_KBD=yes \ - PKG_CONFIG=$(PKG_CONFIG_HOST_BINARY) \ - PLUGINLIBDIR=/usr/lib/vdr \ - PREFIX=/usr \ - VIDEODIR=/var/lib/vdr -VDR_LDFLAGS = $(TARGET_NLS_LIBS) - -ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) -VDR_DEPENDENCIES += libfribidi -VDR_MAKE_FLAGS += BIDI=1 -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -VDR_DEPENDENCIES += libiconv -VDR_LDFLAGS += -liconv -endif - -VDR_MAKE_ENV = \ - LDFLAGS="$(VDR_LDFLAGS)" \ - $(VDR_MAKE_FLAGS) - -define VDR_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \ - vdr vdr.pc include-dir -endef - -define VDR_INSTALL_STAGING_CMDS - $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \ - DESTDIR=$(STAGING_DIR) \ - install-dirs install-bin install-conf install-includes \ - install-pc -endef - -define VDR_INSTALL_TARGET_CMDS - $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \ - DESTDIR=$(TARGET_DIR) \ - install-dirs install-bin install-conf -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/vim/vim.hash b/buildroot-2021.05/package/vim/vim.hash deleted file mode 100644 index eb5928e9..00000000 --- a/buildroot-2021.05/package/vim/vim.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 8a72323817210daf40abe545bdf7637591b9b541a0fb3560baed76e436132dba vim-8.2.0000.tar.gz -sha256 accdbd6761e7dd7e580545fe30f3a5a7707d50073aec4b8afef85c30fc9c031b README.txt diff --git a/buildroot-2021.05/package/vim/vim.mk b/buildroot-2021.05/package/vim/vim.mk deleted file mode 100644 index 36cb5933..00000000 --- a/buildroot-2021.05/package/vim/vim.mk +++ /dev/null @@ -1,93 +0,0 @@ -################################################################################ -# -# vim -# -################################################################################ - -VIM_VERSION = 8.2.0000 -VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) -VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) -VIM_SUBDIR = src -VIM_CONF_ENV = \ - vim_cv_toupper_broken=no \ - vim_cv_terminfo=yes \ - vim_cv_tgetent=zero \ - vim_cv_tty_group=world \ - vim_cv_tty_mode=0620 \ - vim_cv_getcwd_broken=no \ - vim_cv_stat_ignores_slash=yes \ - vim_cv_memmove_handles_overlap=yes \ - ac_cv_sizeof_int=4 \ - ac_cv_small_wchar_t=no -# GUI/X11 headers leak from the host so forcibly disable them -VIM_CONF_OPTS = --with-tlib=ncurses --enable-gui=no --without-x -VIM_LICENSE = Charityware -VIM_LICENSE_FILES = README.txt -VIM_CPE_ID_VENDOR = vim - -ifeq ($(BR2_PACKAGE_ACL),y) -VIM_CONF_OPTS += --enable-acl -VIM_DEPENDENCIES += acl -else -VIM_CONF_OPTS += --disable-acl -endif - -ifeq ($(BR2_PACKAGE_GPM),y) -VIM_CONF_OPTS += --enable-gpm -VIM_DEPENDENCIES += gpm -else -VIM_CONF_OPTS += --disable-gpm -endif - -ifeq ($(BR2_PACKAGE_LIBSELINUX),y) -VIM_CONF_OPTS += --enable-selinux -VIM_DEPENDENCIES += libselinux -else -VIM_CONF_OPTS += --disable-selinux -endif - -define VIM_INSTALL_TARGET_CMDS - cd $(@D)/src; \ - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installvimbin; \ - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installtools; \ - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installlinks -endef - -define VIM_INSTALL_RUNTIME_CMDS - cd $(@D)/src; \ - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installrtbase; \ - $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installmacros -endef - -define VIM_REMOVE_DOCS - $(RM) -rf $(TARGET_DIR)/usr/share/vim/vim*/doc/ -endef - -# Avoid oopses with vipw/vigr, lack of $EDITOR and 'vi' command expectation -ifeq ($(BR2_ROOTFS_MERGED_USR),y) -define VIM_INSTALL_VI_SYMLINK - ln -sf vim $(TARGET_DIR)/usr/bin/vi -endef -else -define VIM_INSTALL_VI_SYMLINK - ln -sf ../usr/bin/vim $(TARGET_DIR)/bin/vi -endef -endif -VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_VI_SYMLINK - -ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y) -VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_RUNTIME_CMDS -VIM_POST_INSTALL_TARGET_HOOKS += VIM_REMOVE_DOCS -endif - -HOST_VIM_DEPENDENCIES = host-ncurses -HOST_VIM_CONF_OPTS = \ - --with-tlib=ncurses \ - --enable-gui=no \ - --without-x \ - --disable-acl \ - --disable-gpm \ - --disable-selinux - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/vlc/vlc.hash b/buildroot-2021.05/package/vlc/vlc.hash deleted file mode 100644 index 396c3a2a..00000000 --- a/buildroot-2021.05/package/vlc/vlc.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://get.videolan.org/vlc/3.0.14/vlc-3.0.14.tar.xz.sha256 -sha256 49b93e5b33deaa37060e6b24a98200cad70c407947f14eb2a8b6a0c64d8535a6 vlc-3.0.14.tar.xz -# From https://get.videolan.org/vlc/3.0.14/vlc-3.0.14.tar.xz.sha1 -sha1 8a8613f16a9053668d7a7dcfa1e6d8be93af3e89 vlc-3.0.14.tar.xz -# Locally computed -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2021.05/package/vlc/vlc.mk b/buildroot-2021.05/package/vlc/vlc.mk deleted file mode 100644 index c1e19009..00000000 --- a/buildroot-2021.05/package/vlc/vlc.mk +++ /dev/null @@ -1,585 +0,0 @@ -################################################################################ -# -# vlc -# -################################################################################ - -VLC_VERSION = 3.0.14 -VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION) -VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz -VLC_LICENSE = GPL-2.0+, LGPL-2.1+ -VLC_LICENSE_FILES = COPYING COPYING.LIB -VLC_CPE_ID_VENDOR = videolan -VLC_CPE_ID_PRODUCT = vlc_media_player -VLC_DEPENDENCIES = host-pkgconf -VLC_AUTORECONF = YES - -# Install vlc libraries in staging. -VLC_INSTALL_STAGING = YES - -# gcc bug internal compiler error: in merge_overlapping_regs, at -# regrename.c:304. This bug is fixed since gcc 6. -ifeq ($(BR2_microblaze)$(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:) -VLC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0" -VLC_CONF_OPTS += --disable-optimizations -endif - -# configure check for -fstack-protector-strong is broken -VLC_CONF_ENV += \ - ax_cv_check_cflags___fstack_protector_strong=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) - -# VLC defines two autoconf functions which are also defined by our own pkg.m4 -# from pkgconf. Unfortunately, they are defined in a different way: VLC adds -# --enable- options, but pkg.m4 adds --with- options. To make sure we use -# VLC's definition, rename these two functions. -define VLC_OVERRIDE_PKG_M4 - $(SED) 's/PKG_WITH_MODULES/VLC_PKG_WITH_MODULES/g' \ - -e 's/PKG_HAVE_WITH_MODULES/VLC_PKG_HAVE_WITH_MODULES/g' \ - $(@D)/configure.ac $(@D)/m4/with_pkg.m4 -endef -VLC_POST_PATCH_HOOKS += VLC_OVERRIDE_PKG_M4 - -VLC_CONF_OPTS += \ - --disable-a52 \ - --disable-addonmanagermodules \ - --disable-aom \ - --disable-aribb25 \ - --disable-aribsub \ - --disable-asdcp \ - --disable-bpg \ - --disable-caca \ - --disable-chromaprint \ - --disable-chromecast \ - --disable-crystalhd \ - --disable-dc1394 \ - --disable-dca \ - --disable-decklink \ - --disable-dsm \ - --disable-dv1394 \ - --disable-fluidlite \ - --disable-gme \ - --disable-goom \ - --disable-jack \ - --disable-jpeg \ - --disable-kai \ - --disable-kate \ - --disable-kva \ - --disable-libplacebo \ - --disable-linsys \ - --disable-mfx \ - --disable-microdns \ - --disable-mmal \ - --disable-mtp \ - --disable-notify \ - --disable-projectm \ - --disable-schroedinger \ - --disable-shine \ - --disable-shout \ - --disable-sndio \ - --disable-spatialaudio \ - --disable-srt \ - --disable-telx \ - --disable-tiger \ - --disable-twolame \ - --disable-vdpau \ - --disable-vsxu \ - --disable-wasapi \ - --disable-x262 \ - --disable-zvbi \ - --enable-run-as-root - -# Uses __atomic_fetch_add_4 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -VLC_CONF_ENV += LIBS="-latomic" -endif - -# Building static and shared doesn't work, so force static off. -ifeq ($(BR2_STATIC_LIBS),) -VLC_CONF_OPTS += --disable-static -endif - -ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) -VLC_CONF_OPTS += --enable-altivec -else -VLC_CONF_OPTS += --disable-altivec -endif - -ifeq ($(BR2_X86_CPU_HAS_SSE),y) -VLC_CONF_OPTS += --enable-sse -else -VLC_CONF_OPTS += --disable-sse -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB),y) -VLC_CONF_OPTS += --enable-alsa -VLC_DEPENDENCIES += alsa-lib -else -VLC_CONF_OPTS += --disable-alsa -endif - -# avahi support needs avahi-client, which needs avahi-daemon and dbus -ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yyy) -VLC_CONF_OPTS += --enable-avahi -VLC_DEPENDENCIES += avahi -else -VLC_CONF_OPTS += --disable-avahi -endif - -ifeq ($(BR2_PACKAGE_DAV1D),y) -VLC_CONF_OPTS += --enable-dav1d -VLC_DEPENDENCIES += dav1d -else -VLC_CONF_OPTS += --disable-dav1d -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -VLC_CONF_OPTS += --enable-dbus -VLC_DEPENDENCIES += dbus -else -VLC_CONF_OPTS += --disable-dbus -endif - -ifeq ($(BR2_PACKAGE_FAAD2),y) -VLC_CONF_OPTS += --enable-faad -VLC_DEPENDENCIES += faad2 -else -VLC_CONF_OPTS += --disable-faad -endif - -ifeq ($(BR2_PACKAGE_FFMPEG),y) -VLC_CONF_OPTS += --enable-avcodec -VLC_DEPENDENCIES += ffmpeg -else -VLC_CONF_OPTS += --disable-avcodec -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y) -VLC_CONF_OPTS += --enable-postproc -else -VLC_CONF_OPTS += --disable-postproc -endif - -ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y) -VLC_CONF_OPTS += --enable-swscale -else -VLC_CONF_OPTS += --disable-swscale -endif - -ifeq ($(BR2_PACKAGE_FLAC),y) -VLC_CONF_OPTS += --enable-flac -VLC_DEPENDENCIES += flac -else -VLC_CONF_OPTS += --disable-flac -endif - -ifeq ($(BR2_PACKAGE_FLUIDSYNTH),y) -VLC_CONF_OPTS += --enable-fluidsynth -VLC_DEPENDENCIES += fluidsynth -else -VLC_CONF_OPTS += --disable-fluidsynth -endif - -ifeq ($(BR2_PACKAGE_FREERDP),y) -VLC_CONF_OPTS += --enable-freerdp -VLC_DEPENDENCIES += freerdp -else -VLC_CONF_OPTS += --disable-freerdp -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) -VLC_CONF_OPTS += --enable-gst-decode -VLC_DEPENDENCIES += gst1-plugins-base -else -VLC_CONF_OPTS += --disable-gst-decode -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) -VLC_DEPENDENCIES += libgl -endif - -ifeq ($(BR2_PACKAGE_HARFBUZZ),y) -VLC_CONF_OPTS += --enable-harfbuzz -VLC_DEPENDENCIES += harfbuzz -else -VLC_CONF_OPTS += --disable-harfbuzz -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) -VLC_CONF_OPTS += --enable-gles2 -VLC_DEPENDENCIES += libgles -else -VLC_CONF_OPTS += --disable-gles2 -endif - -ifeq ($(BR2_PACKAGE_OPENCV3),y) -VLC_CONF_OPTS += --enable-opencv -VLC_DEPENDENCIES += opencv3 -else -VLC_CONF_OPTS += --disable-opencv -endif - -ifeq ($(BR2_PACKAGE_OPUS),y) -VLC_CONF_OPTS += --enable-opus -VLC_DEPENDENCIES += libvorbis opus -else -VLC_CONF_OPTS += --disable-opus -endif - -ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) -VLC_CONF_OPTS += --enable-archive -VLC_DEPENDENCIES += libarchive -else -VLC_CONF_OPTS += --disable-archive -endif - -ifeq ($(BR2_PACKAGE_LIBASS),y) -VLC_CONF_OPTS += --enable-libass -VLC_DEPENDENCIES += libass -else -VLC_CONF_OPTS += --disable-libass -endif - -ifeq ($(BR2_PACKAGE_LIBBLURAY),y) -VLC_CONF_OPTS += --enable-bluray -VLC_DEPENDENCIES += libbluray -else -VLC_CONF_OPTS += --disable-bluray -endif - -ifeq ($(BR2_PACKAGE_LIBCDDB),y) -VLC_CONF_OPTS += --enable-libcddb -VLC_DEPENDENCIES += libcddb -else -VLC_CONF_OPTS += --disable-libcddb -endif - -ifeq ($(BR2_PACKAGE_LIBDVBPSI),y) -VLC_CONF_OPTS += --enable-dvbpsi -VLC_DEPENDENCIES += libdvbpsi -else -VLC_CONF_OPTS += --disable-dvbpsi -endif - -ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) -VLC_CONF_OPTS += --enable-dvdnav -VLC_DEPENDENCIES += libdvdnav -else -VLC_CONF_OPTS += --disable-dvdnav -endif - -ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) -VLC_CONF_OPTS += --enable-dvdread -VLC_DEPENDENCIES += libdvdread -else -VLC_CONF_OPTS += --disable-dvdread -endif - -ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -VLC_CONF_OPTS += --enable-libgcrypt -VLC_DEPENDENCIES += libgcrypt -VLC_CONF_ENV += \ - GCRYPT_CONFIG="$(STAGING_DIR)/usr/bin/libgcrypt-config" -else -VLC_CONF_OPTS += --disable-libgcrypt -endif - -ifeq ($(BR2_PACKAGE_LIBIDN),y) -VLC_DEPENDENCIES += libidn -endif - -ifeq ($(BR2_PACKAGE_LIBMAD),y) -VLC_CONF_OPTS += --enable-mad -VLC_DEPENDENCIES += libmad -else -VLC_CONF_OPTS += --disable-mad -endif - -ifeq ($(BR2_PACKAGE_LIBMATROSKA),y) -VLC_CONF_OPTS += --enable-matroska -VLC_DEPENDENCIES += libmatroska -else -VLC_CONF_OPTS += --disable-matroska -endif - -ifeq ($(BR2_PACKAGE_LIBMODPLUG),y) -VLC_CONF_OPTS += --enable-mod -VLC_DEPENDENCIES += libmodplug -else -VLC_CONF_OPTS += --disable-mod -endif - -ifeq ($(BR2_PACKAGE_LIBMPEG2),y) -VLC_CONF_OPTS += --enable-libmpeg2 -VLC_DEPENDENCIES += libmpeg2 -else -VLC_CONF_OPTS += --disable-libmpeg2 -endif - -ifeq ($(BR2_PACKAGE_LIBNFS),y) -VLC_CONF_OPTS += --enable-nfs -VLC_DEPENDENCIES += libnfs -else -VLC_CONF_OPTS += --disable-nfs -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -VLC_CONF_OPTS += --enable-png -VLC_DEPENDENCIES += libpng -else -VLC_CONF_OPTS += --disable-png -endif - -ifeq ($(BR2_PACKAGE_LIBRSVG),y) -VLC_CONF_OPTS += --enable-svg --enable-svgdec -VLC_DEPENDENCIES += librsvg -else -VLC_CONF_OPTS += --disable-svg --disable-svgdec -endif - -ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) -VLC_CONF_OPTS += --enable-samplerate -VLC_DEPENDENCIES += libsamplerate -else -VLC_CONF_OPTS += --disable-samplerate -endif - -ifeq ($(BR2_PACKAGE_LIBSECRET),y) -VLC_CONF_OPTS += --enable-secret -VLC_DEPENDENCIES += libsecret -else -VLC_CONF_OPTS += --disable-secret -endif - -ifeq ($(BR2_PACKAGE_LIBSOXR),y) -VLC_CONF_OPTS += --enable-soxr -VLC_DEPENDENCIES += libsoxr -else -VLC_CONF_OPTS += --disable-soxr -endif - -ifeq ($(BR2_PACKAGE_LIBSSH2),y) -VLC_CONF_OPTS += --enable-sftp -VLC_DEPENDENCIES += libssh2 -else -VLC_CONF_OPTS += --disable-sftp -endif - -ifeq ($(BR2_PACKAGE_LIBSIDPLAY2),y) -VLC_CONF_OPTS += --enable-sid -VLC_DEPENDENCIES += libsidplay2 -else -VLC_CONF_OPTS += --disable-sid -endif - -ifeq ($(BR2_PACKAGE_LIBTHEORA),y) -VLC_CONF_OPTS += --enable-theora -VLC_DEPENDENCIES += libtheora -else -VLC_CONF_OPTS += --disable-theora -endif - -ifeq ($(BR2_PACKAGE_LIBUPNP),y) -VLC_CONF_OPTS += --enable-upnp -VLC_DEPENDENCIES += libupnp -else -VLC_CONF_OPTS += --disable-upnp -endif - -# libva support depends on ffmpeg -ifeq ($(BR2_PACKAGE_FFMPEG)$(BR2_PACKAGE_LIBVA),yy) -VLC_CONF_OPTS += --enable-libva -VLC_DEPENDENCIES += libva -else -VLC_CONF_OPTS += --disable-libva -endif - -ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) -VLC_CONF_OPTS += --enable-vnc -VLC_DEPENDENCIES += libvncserver -else -VLC_CONF_OPTS += --disable-vnc -endif - -ifeq ($(BR2_PACKAGE_LIBVORBIS),y) -VLC_CONF_OPTS += --enable-vorbis -VLC_DEPENDENCIES += libvorbis -else -VLC_CONF_OPTS += --disable-vorbis -endif - -ifeq ($(BR2_PACKAGE_LIBV4L),y) -VLC_CONF_OPTS += --enable-v4l2 -VLC_DEPENDENCIES += libv4l -else -VLC_CONF_OPTS += --disable-v4l2 -endif - -ifeq ($(BR2_PACKAGE_LIBVPX),y) -VLC_CONF_OPTS += --enable-vpx -VLC_DEPENDENCIES += libvpx -else -VLC_CONF_OPTS += --disable-vpx -endif - -ifeq ($(BR2_PACKAGE_LIBXCB),y) -VLC_CONF_OPTS += --enable-xcb -VLC_DEPENDENCIES += libxcb -else -VLC_CONF_OPTS += --disable-xcb -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -VLC_CONF_OPTS += --enable-libxml2 -VLC_DEPENDENCIES += libxml2 -else -VLC_CONF_OPTS += --disable-libxml2 -endif - -ifeq ($(BR2_PACKAGE_LIVE555),y) -VLC_CONF_OPTS += --enable-live555 -VLC_DEPENDENCIES += live555 -ifneq ($(BR2_PACKAGE_OPENSSL),y) -VLC_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -DNO_OPENSSL" -endif -else -VLC_CONF_OPTS += --disable-live555 -endif - -ifeq ($(BR2_PACKAGE_LUA),y) -VLC_CONF_OPTS += --enable-lua -VLC_DEPENDENCIES += lua host-lua -else -VLC_CONF_OPTS += --disable-lua -endif - -ifeq ($(BR2_PACKAGE_MINIZIP),y) -VLC_DEPENDENCIES += minizip -endif - -ifeq ($(BR2_PACKAGE_MPG123),y) -VLC_CONF_OPTS += --enable-mpg123 -VLC_DEPENDENCIES += mpg123 -else -VLC_CONF_OPTS += --disable-mpg123 -endif - -ifeq ($(BR2_PACKAGE_MUSEPACK),y) -VLC_CONF_OPTS += --enable-mpc -VLC_DEPENDENCIES += musepack -else -VLC_CONF_OPTS += --disable-mpc -endif - -ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) -VLC_CONF_OPTS += --enable-ncurses -VLC_DEPENDENCIES += ncurses -else -VLC_CONF_OPTS += --disable-ncurses -endif - -ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) -VLC_CONF_OPTS += --enable-pulse -VLC_DEPENDENCIES += pulseaudio -else -VLC_CONF_OPTS += --disable-pulse -endif - -ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS)$(BR2_PACKAGE_QT5SVG),yy) -VLC_CONF_OPTS += --enable-qt -VLC_DEPENDENCIES += qt5base qt5svg -ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT)$(BR2_PACKAGE_XLIB_LIBXINERAMA)$(BR2_PACKAGE_XLIB_LIBXPM),yyy) -VLC_CONF_OPTS += --enable-skins2 -VLC_DEPENDENCIES += xlib_libXext xlib_libXinerama xlib_libXpm -else -VLC_CONF_OPTS += --disable-skins2 -endif -else -VLC_CONF_OPTS += --disable-qt --disable-skins2 -endif - -ifeq ($(BR2_PACKAGE_SDL_IMAGE),y) -VLC_CONF_OPTS += --enable-sdl-image -VLC_DEPENDENCIES += sdl_image -else -VLC_CONF_OPTS += --disable-sdl-image -endif - -ifeq ($(BR2_PACKAGE_SAMBA4),y) -VLC_CONF_OPTS += --enable-smbclient -VLC_DEPENDENCIES += samba4 -else -VLC_CONF_OPTS += --disable-smbclient -endif - -ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) -VLC_CONF_OPTS += --enable-speex -VLC_DEPENDENCIES += speex speexdsp -else -VLC_CONF_OPTS += --disable-speex -endif - -ifeq ($(BR2_PACKAGE_TAGLIB),y) -VLC_CONF_OPTS += --enable-taglib -VLC_DEPENDENCIES += taglib -else -VLC_CONF_OPTS += --disable-taglib -endif - -ifeq ($(BR2_PACKAGE_TREMOR),y) -VLC_CONF_OPTS += --enable-tremor -VLC_DEPENDENCIES += tremor -else -VLC_CONF_OPTS += --disable-tremor -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -VLC_CONF_OPTS += --enable-udev -VLC_DEPENDENCIES += udev -else -VLC_CONF_OPTS += --disable-udev -endif - -ifeq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_WAYLAND_PROTOCOLS),yy) -VLC_CONF_OPTS += --enable-wayland -VLC_DEPENDENCIES += wayland wayland-protocols -else -VLC_CONF_OPTS += --disable-wayland -endif - -ifeq ($(BR2_PACKAGE_X264),y) -VLC_CONF_OPTS += --enable-x264 -VLC_DEPENDENCIES += x264 -else -VLC_CONF_OPTS += --disable-x264 -endif - -ifeq ($(BR2_PACKAGE_X265),y) -VLC_CONF_OPTS += --enable-x265 -VLC_DEPENDENCIES += x265 -else -VLC_CONF_OPTS += --disable-x265 -endif - -ifeq ($(BR2_PACKAGE_XCB_UTIL_KEYSYMS),y) -VLC_DEPENDENCIES += xcb-util-keysyms -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) -VLC_CONF_OPTS += --with-x -VLC_DEPENDENCIES += xlib_libX11 -else -VLC_CONF_OPTS += --without-x -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -VLC_DEPENDENCIES += zlib -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -VLC_CONF_OPTS += --enable-gnutls -VLC_DEPENDENCIES += gnutls -else -VLC_CONF_OPTS += --disable-gnutls -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/vnstat/vnstat.hash b/buildroot-2021.05/package/vnstat/vnstat.hash deleted file mode 100644 index 6934c569..00000000 --- a/buildroot-2021.05/package/vnstat/vnstat.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 89276e0a7281943edb554b874078278ad947dc312938a2451e03eb80679f7ff7 vnstat-2.6.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/vnstat/vnstat.mk b/buildroot-2021.05/package/vnstat/vnstat.mk deleted file mode 100644 index be1b75a6..00000000 --- a/buildroot-2021.05/package/vnstat/vnstat.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# vnstat -# -################################################################################ - -VNSTAT_VERSION = 2.6 -VNSTAT_SITE = http://humdi.net/vnstat -VNSTAT_LICENSE = GPL-2.0 -VNSTAT_LICENSE_FILES = COPYING -VNSTAT_DEPENDENCIES = host-pkgconf sqlite -VNSTAT_CONF_OPTS = --disable-extra-paths - -ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy) -VNSTAT_DEPENDENCIES += gd -VNSTAT_CONF_OPTS += --enable-image-output -else -VNSTAT_CONF_OPTS += --disable-image-output -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/vsftpd/0002-fix-CVE-2015-1419.patch b/buildroot-2021.05/package/vsftpd/0002-fix-CVE-2015-1419.patch deleted file mode 100644 index 95ad017a..00000000 --- a/buildroot-2021.05/package/vsftpd/0002-fix-CVE-2015-1419.patch +++ /dev/null @@ -1,102 +0,0 @@ -Fix CVE-2015-1419 - config option deny_file is not handled correctly. -From SUSE: https://bugzilla.suse.com/show_bug.cgi?id=915522 - -Signed-off-by: Gustavo Zacarias - -Index: vsftpd-3.0.2/ls.c -=================================================================== ---- vsftpd-3.0.2.orig/ls.c -+++ vsftpd-3.0.2/ls.c -@@ -7,6 +7,7 @@ - * Would you believe, code to handle directory listing. - */ - -+#include - #include "ls.h" - #include "access.h" - #include "defs.h" -@@ -243,11 +244,42 @@ vsf_filename_passes_filter(const struct - struct mystr temp_str = INIT_MYSTR; - struct mystr brace_list_str = INIT_MYSTR; - struct mystr new_filter_str = INIT_MYSTR; -+ struct mystr normalize_filename_str = INIT_MYSTR; -+ const char *normname; -+ const char *path; - int ret = 0; - char last_token = 0; - int must_match_at_current_pos = 1; -+ - str_copy(&filter_remain_str, p_filter_str); -- str_copy(&name_remain_str, p_filename_str); -+ -+ /* normalize filepath */ -+ path = str_strdup(p_filename_str); -+ normname = realpath(path, NULL); -+ if (normname == NULL) -+ goto out; -+ str_alloc_text(&normalize_filename_str, normname); -+ -+ if (!str_isempty (&filter_remain_str) && !str_isempty(&normalize_filename_str)) { -+ if (str_get_char_at(p_filter_str, 0) == '/') { -+ if (str_get_char_at(&normalize_filename_str, 0) != '/') { -+ str_getcwd (&name_remain_str); -+ -+ if (str_getlen(&name_remain_str) > 1) /* cwd != root dir */ -+ str_append_char (&name_remain_str, '/'); -+ -+ str_append_str (&name_remain_str, &normalize_filename_str); -+ } -+ else -+ str_copy (&name_remain_str, &normalize_filename_str); -+ } else { -+ if (str_get_char_at(p_filter_str, 0) != '{') -+ str_basename (&name_remain_str, &normalize_filename_str); -+ else -+ str_copy (&name_remain_str, &normalize_filename_str); -+ } -+ } else -+ str_copy(&name_remain_str, &normalize_filename_str); - - while (!str_isempty(&filter_remain_str) && *iters < VSFTP_MATCHITERS_MAX) - { -@@ -360,6 +392,9 @@ vsf_filename_passes_filter(const struct - ret = 0; - } - out: -+ free(normname); -+ free(path); -+ str_free(&normalize_filename_str); - str_free(&filter_remain_str); - str_free(&name_remain_str); - str_free(&temp_str); -Index: vsftpd-3.0.2/str.c -=================================================================== ---- vsftpd-3.0.2.orig/str.c -+++ vsftpd-3.0.2/str.c -@@ -770,3 +770,14 @@ str_replace_unprintable(struct mystr* p_ - } - } - -+void -+str_basename (struct mystr* d_str, const struct mystr* path) -+{ -+ static struct mystr tmp; -+ -+ str_copy (&tmp, path); -+ str_split_char_reverse(&tmp, d_str, '/'); -+ -+ if (str_isempty(d_str)) -+ str_copy (d_str, path); -+} -Index: vsftpd-3.0.2/str.h -=================================================================== ---- vsftpd-3.0.2.orig/str.h -+++ vsftpd-3.0.2/str.h -@@ -101,6 +101,7 @@ void str_replace_unprintable(struct myst - int str_atoi(const struct mystr* p_str); - filesize_t str_a_to_filesize_t(const struct mystr* p_str); - unsigned int str_octal_to_uint(const struct mystr* p_str); -+void str_basename (struct mystr* d_str, const struct mystr* path); - - /* PURPOSE: Extract a line of text (delimited by \n or EOF) from a string - * buffer, starting at character position 'p_pos'. The extracted line will diff --git a/buildroot-2021.05/package/vsftpd/0003-Prevent-hang-in-SIGCHLD-handler.patch b/buildroot-2021.05/package/vsftpd/0003-Prevent-hang-in-SIGCHLD-handler.patch deleted file mode 100644 index 0732c5f6..00000000 --- a/buildroot-2021.05/package/vsftpd/0003-Prevent-hang-in-SIGCHLD-handler.patch +++ /dev/null @@ -1,87 +0,0 @@ -From 1e65a0a15f819b8bf1b551bd84f71d0da1f5a00c Mon Sep 17 00:00:00 2001 -From: Martin Sehnoutka -Date: Thu, 17 Nov 2016 13:02:27 +0100 -Subject: [PATCH] Prevent hanging in SIGCHLD handler. - -vsftpd can now handle pam_exec.so in pam.d config without hanging -in SIGCHLD handler. - -[Abdelmalek: -Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1198259 -Fetched from: -https://src.fedoraproject.org/cgit/rpms/vsftpd.git/plain/0026-Prevent-hanging-in-SIGCHLD-handler.patch] -Signed-off-by: Abdelmalek Benelouezzane ---- - sysutil.c | 4 ++-- - sysutil.h | 2 +- - twoprocess.c | 13 +++++++++++-- - 3 files changed, 14 insertions(+), 5 deletions(-) - -diff --git a/sysutil.c b/sysutil.c -index 6d7cb3f..099748f 100644 ---- a/sysutil.c -+++ b/sysutil.c -@@ -608,13 +608,13 @@ vsf_sysutil_exit(int exit_code) - } - - struct vsf_sysutil_wait_retval --vsf_sysutil_wait(void) -+vsf_sysutil_wait(int hang) - { - struct vsf_sysutil_wait_retval retval; - vsf_sysutil_memclr(&retval, sizeof(retval)); - while (1) - { -- int sys_ret = wait(&retval.exit_status); -+ int sys_ret = waitpid(-1, &retval.exit_status, hang ? 0 : WNOHANG); - if (sys_ret < 0 && errno == EINTR) - { - vsf_sysutil_check_pending_actions(kVSFSysUtilUnknown, 0, 0); -diff --git a/sysutil.h b/sysutil.h -index c145bdf..13153cd 100644 ---- a/sysutil.h -+++ b/sysutil.h -@@ -177,7 +177,7 @@ struct vsf_sysutil_wait_retval - int PRIVATE_HANDS_OFF_syscall_retval; - int PRIVATE_HANDS_OFF_exit_status; - }; --struct vsf_sysutil_wait_retval vsf_sysutil_wait(void); -+struct vsf_sysutil_wait_retval vsf_sysutil_wait(int hang); - int vsf_sysutil_wait_reap_one(void); - int vsf_sysutil_wait_get_retval( - const struct vsf_sysutil_wait_retval* p_waitret); -diff --git a/twoprocess.c b/twoprocess.c -index 33d84dc..b1891e7 100644 ---- a/twoprocess.c -+++ b/twoprocess.c -@@ -47,8 +47,17 @@ static void - handle_sigchld(void* duff) - { - -- struct vsf_sysutil_wait_retval wait_retval = vsf_sysutil_wait(); -+ struct vsf_sysutil_wait_retval wait_retval = vsf_sysutil_wait(0); - (void) duff; -+ if (!vsf_sysutil_wait_get_exitcode(&wait_retval) && -+ !vsf_sysutil_wait_get_retval(&wait_retval)) -+ /* There was nobody to wait for, possibly caused by underlying library -+ * which created a new process through fork()/vfork() and already picked -+ * it up, e.g. by pam_exec.so or integrity check routines for libraries -+ * when FIPS mode is on (nss freebl), which can lead to calling prelink -+ * if the prelink package is installed. -+ */ -+ return; - /* Child died, so we'll do the same! Report it as an error unless the child - * exited normally with zero exit code - */ -@@ -390,7 +399,7 @@ common_do_login(struct vsf_session* p_sess, const struct mystr* p_user_str, - priv_sock_send_result(p_sess->parent_fd, PRIV_SOCK_RESULT_OK); - if (!p_sess->control_use_ssl) - { -- (void) vsf_sysutil_wait(); -+ (void) vsf_sysutil_wait(1); - } - else - { --- -2.14.4 - diff --git a/buildroot-2021.05/package/vsftpd/vsftpd.hash b/buildroot-2021.05/package/vsftpd/vsftpd.hash deleted file mode 100644 index 955cd308..00000000 --- a/buildroot-2021.05/package/vsftpd/vsftpd.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 9d4d2bf6e6e2884852ba4e69e157a2cecd68c5a7635d66a3a8cf8d898c955ef7 vsftpd-3.0.3.tar.gz -# Locally computed -sha256 c9cf119e2f9dbcf187fb805ba5aded105db26a693803636fb7228c98460ffbf2 COPYING diff --git a/buildroot-2021.05/package/vsftpd/vsftpd.mk b/buildroot-2021.05/package/vsftpd/vsftpd.mk deleted file mode 100644 index 49b9b191..00000000 --- a/buildroot-2021.05/package/vsftpd/vsftpd.mk +++ /dev/null @@ -1,73 +0,0 @@ -################################################################################ -# -# vsftpd -# -################################################################################ - -VSFTPD_VERSION = 3.0.3 -VSFTPD_SITE = https://security.appspot.com/downloads -VSFTPD_LIBS = -lcrypt -VSFTPD_LICENSE = GPL-2.0 -VSFTPD_LICENSE_FILES = COPYING -VSFTPD_CPE_ID_VENDOR = vsftpd_project - -define VSFTPD_DISABLE_UTMPX - $(SED) 's/.*VSF_BUILD_UTMPX/#undef VSF_BUILD_UTMPX/' $(@D)/builddefs.h -endef - -define VSFTPD_ENABLE_SSL - $(SED) 's/.*VSF_BUILD_SSL/#define VSF_BUILD_SSL/' $(@D)/builddefs.h -endef - -ifeq ($(BR2_PACKAGE_VSFTPD_UTMPX),) -VSFTPD_POST_CONFIGURE_HOOKS += VSFTPD_DISABLE_UTMPX -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -VSFTPD_DEPENDENCIES += openssl host-pkgconf -VSFTPD_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto` -VSFTPD_POST_CONFIGURE_HOOKS += VSFTPD_ENABLE_SSL -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -VSFTPD_DEPENDENCIES += libcap -VSFTPD_LIBS += -lcap -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -VSFTPD_DEPENDENCIES += linux-pam -VSFTPD_LIBS += -lpam -endif - -define VSFTPD_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(@D) -endef - -define VSFTPD_USERS - ftp -1 ftp -1 * /home/ftp - - Anonymous FTP User -endef - -define VSFTPD_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/vsftpd/vsftpd.service \ - $(TARGET_DIR)/usr/lib/systemd/system/vsftpd.service -endef - -define VSFTPD_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/vsftpd/S70vsftpd $(TARGET_DIR)/etc/init.d/S70vsftpd -endef - -# vsftpd won't work if the jail directory is writable, it has to be -# readable only otherwise you get the following error: -# 500 OOPS: vsftpd: refusing to run with writable root inside chroot() -# That's why we have to adjust the permissions of /home/ftp -define VSFTPD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd - test -f $(TARGET_DIR)/etc/vsftpd.conf || \ - $(INSTALL) -D -m 644 $(@D)/vsftpd.conf \ - $(TARGET_DIR)/etc/vsftpd.conf - $(INSTALL) -d -m 700 $(TARGET_DIR)/usr/share/empty - $(INSTALL) -d -m 555 $(TARGET_DIR)/home/ftp -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/vte/Config.in b/buildroot-2021.05/package/vte/Config.in deleted file mode 100644 index 96de3d38..00000000 --- a/buildroot-2021.05/package/vte/Config.in +++ /dev/null @@ -1,38 +0,0 @@ -config BR2_PACKAGE_VTE - bool "vte" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # libgtk3 -> host-libgtk3 -> host-librsvg - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ - BR2_PACKAGE_HAS_LIBGL - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_LIBGTK3 - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_PCRE2 - help - VTE is a library (libvte) implementing a terminal emulator - widget for GTK+, and a minimal sample application (vte) - using that. Vte is mainly used in gnome-terminal, but - can also be used to embed a console/terminal in games, - editors, IDEs, etc. - - http://github.com/GNOME/vte - -comment "vte needs a toolchain w/ wchar, threads, C++, gcc >= 4.8" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -comment "vte needs an OpenGL or an OpenGL-EGL/wayland backend" - depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_PACKAGE_HAS_LIBEGL_WAYLAND && \ - !BR2_PACKAGE_HAS_LIBGL diff --git a/buildroot-2021.05/package/vte/vte.hash b/buildroot-2021.05/package/vte/vte.hash deleted file mode 100644 index 3fbc5aca..00000000 --- a/buildroot-2021.05/package/vte/vte.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 a3a9fb182740b392a45cd3f46fa61a985f68bb6b1817b52daec22034c46158c3 vte-0.48.3.tar.xz -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/vte/vte.mk b/buildroot-2021.05/package/vte/vte.mk deleted file mode 100644 index 6c8d1433..00000000 --- a/buildroot-2021.05/package/vte/vte.mk +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# -# vte -# -################################################################################ - -VTE_VERSION = 0.48.3 -VTE_SOURCE = vte-$(VTE_VERSION).tar.xz -VTE_SITE = http://ftp.gnome.org/pub/gnome/sources/vte/0.48 -VTE_DEPENDENCIES = host-intltool host-pkgconf libgtk3 libxml2 pcre2 -VTE_LICENSE = LGPL-2.1+ -VTE_LICENSE_FILES = COPYING -VTE_CONF_OPTS += --disable-vala - -ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) -VTE_CONF_OPTS += --enable-introspection -VTE_DEPENDENCIES += gobject-introspection -else -VTE_CONF_OPTS += --disable-introspection -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -VTE_CONF_OPTS += --with-gnutls -VTE_DEPENDENCIES += gnutls -else -VTE_CONF_OPTS += --without-gnutls -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/vtun/Config.in b/buildroot-2021.05/package/vtun/Config.in deleted file mode 100644 index d63e7c76..00000000 --- a/buildroot-2021.05/package/vtun/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_VTUN - bool "vtun" - depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_LZO - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_ZLIB - help - Tool for easily creating Virtual Tunnels over TCP/IP networks - with traffic shaping, compression, and encryption. - - It supports IP, PPP, SLIP, Ethernet and other tunnel types. - - http://vtun.sourceforge.net/ diff --git a/buildroot-2021.05/package/vuejs/vuejs.hash b/buildroot-2021.05/package/vuejs/vuejs.hash deleted file mode 100644 index db4a5bbe..00000000 --- a/buildroot-2021.05/package/vuejs/vuejs.hash +++ /dev/null @@ -1,2 +0,0 @@ -# Locally computed -sha256 a69f04bf138af09a956150675151edb9354aeec8bd627c21cbcfa646248214fa vue-3.0.5.tgz diff --git a/buildroot-2021.05/package/vuejs/vuejs.mk b/buildroot-2021.05/package/vuejs/vuejs.mk deleted file mode 100644 index 43b45e00..00000000 --- a/buildroot-2021.05/package/vuejs/vuejs.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# vuejs -# -################################################################################ - -VUEJS_VERSION = 3.0.5 -VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz -VUEJS_SITE = https://registry.npmjs.org/vue/- -VUEJS_LICENSE = MIT - -# Install .min.js as .js -define VUEJS_INSTALL_TARGET_CMDS - $(INSTALL) -m 644 -D $(@D)/dist/vue.global.prod.js \ - $(TARGET_DIR)/var/www/vue.js -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/waf/waf.hash b/buildroot-2021.05/package/waf/waf.hash deleted file mode 100644 index e9d387e7..00000000 --- a/buildroot-2021.05/package/waf/waf.hash +++ /dev/null @@ -1,7 +0,0 @@ -# Locally computed -sha1 494ada411468129ed229f946ecec3048400e320b waf-2.0.22 -sha256 0a09ad26a2cfc69fa26ab871cb558165b60374b5a653ff556a0c6aca63a00df1 waf-2.0.22 - -# The waf script also contains its license, but is renamed `waf` in the extract -# step, so this is a synonym for the above, to check WAF_LICENSE -sha256 0a09ad26a2cfc69fa26ab871cb558165b60374b5a653ff556a0c6aca63a00df1 waf diff --git a/buildroot-2021.05/package/waf/waf.mk b/buildroot-2021.05/package/waf/waf.mk deleted file mode 100644 index 5cc0dc37..00000000 --- a/buildroot-2021.05/package/waf/waf.mk +++ /dev/null @@ -1,21 +0,0 @@ -################################################################################ -# -# waf -# -################################################################################ - -WAF_VERSION = 2.0.22 -WAF_SOURCE = waf-$(WAF_VERSION) -WAF_SITE = https://waf.io -WAF_LICENSE = BSD-3-Clause -WAF_LICENSE_FILES = waf - -define HOST_WAF_EXTRACT_CMDS - $(INSTALL) -D -m 0755 $(HOST_WAF_DL_DIR)/waf-$(WAF_VERSION) $(@D)/waf -endef - -define HOST_WAF_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/waf $(HOST_DIR)/bin/waf -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/wavemon/Config.in b/buildroot-2021.05/package/wavemon/Config.in deleted file mode 100644 index 0cb4cb5c..00000000 --- a/buildroot-2021.05/package/wavemon/Config.in +++ /dev/null @@ -1,19 +0,0 @@ -config BR2_PACKAGE_WAVEMON - bool "wavemon" - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_LIBNL - help - wavemon is a wireless device monitoring application that - allows you to watch signal and noise levels, packet - statistics, device configuration and network parameters of - your wireless network hardware. - - Note that you need a Linux Kernel configuration with - wireless extensions or with wireless extensions - compatibility enabled. - - https://github.com/uoaerg/wavemon - -comment "wavemon needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/wavemon/wavemon.hash b/buildroot-2021.05/package/wavemon/wavemon.hash deleted file mode 100644 index 455e64cb..00000000 --- a/buildroot-2021.05/package/wavemon/wavemon.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 5ebd5b79d3b7c546bc16b95161872c699a75e9acdfc6e3f02ec48dad10802067 wavemon-0.9.1.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2021.05/package/wavemon/wavemon.mk b/buildroot-2021.05/package/wavemon/wavemon.mk deleted file mode 100644 index 3ae1141e..00000000 --- a/buildroot-2021.05/package/wavemon/wavemon.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# wavemon -# -################################################################################ - -WAVEMON_VERSION = 0.9.1 -WAVEMON_SITE = $(call github,uoaerg,wavemon,v$(WAVEMON_VERSION)) -WAVEMON_LICENSE = GPL-3.0+ -WAVEMON_LICENSE_FILES = COPYING -WAVEMON_DEPENDENCIES = host-pkgconf libnl ncurses - -# Handwritten Makefile.in, automake isn't used -WAVEMON_MAKE_OPTS = CC="$(TARGET_CC)" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/wavpack/wavpack.mk b/buildroot-2021.05/package/wavpack/wavpack.mk deleted file mode 100644 index 485ab9b2..00000000 --- a/buildroot-2021.05/package/wavpack/wavpack.mk +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# -# wavpack -# -################################################################################ - -WAVPACK_VERSION = 5.4.0 -WAVPACK_SITE = \ - https://github.com/dbry/WavPack/releases/download/$(WAVPACK_VERSION) -WAVPACK_SOURCE = wavpack-$(WAVPACK_VERSION).tar.xz -WAVPACK_INSTALL_STAGING = YES -WAVPACK_DEPENDENCIES = $(if $(BR2_ENABLE_LOCALE),,libiconv) -WAVPACK_LICENSE = BSD-3-Clause -WAVPACK_LICENSE_FILES = COPYING -WAVPACK_CPE_ID_VENDOR = wavpack - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -WAVPACK_CONF_OPTS += LIBS=-liconv -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -WAVPACK_DEPENDENCIES += openssl -WAVPACK_CONF_OPTS += --enable-libcrypto -else -WAVPACK_CONF_OPTS += --disable-libcrypto -endif - -# WavPack "autodetects" CPU type to enable ASM code. However, the assembly code -# for ARM is written for ARMv7 only and building WavPack for an ARM-non-v7 -# architecture will fail. We explicitly enable ASM for the supported -# architectures x86, x64 and ARMv7 and disable it for all others. -ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_ARM_CPU_ARMV7A),y) -WAVPACK_CONF_OPTS += --enable-asm -else -WAVPACK_CONF_OPTS += --disable-asm -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/wayland-protocols/wayland-protocols.hash b/buildroot-2021.05/package/wayland-protocols/wayland-protocols.hash deleted file mode 100644 index 321fc62d..00000000 --- a/buildroot-2021.05/package/wayland-protocols/wayland-protocols.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2020-February/041269.html -md5 b0836533a3f2dc6585b1dae00341157f wayland-protocols-1.20.tar.xz -sha1 e78c739a3a85477ed524b81e8bb75efe7f8bf4df wayland-protocols-1.20.tar.xz -sha256 9782b7a1a863d82d7c92478497d13c758f52e7da4f197aa16443f73de77e4de7 wayland-protocols-1.20.tar.xz -sha256 f1a2b233e8a9a71c40f4aa885be08a0842ac85bb8588703c1dd7e6e6502e3124 COPYING diff --git a/buildroot-2021.05/package/wayland-protocols/wayland-protocols.mk b/buildroot-2021.05/package/wayland-protocols/wayland-protocols.mk deleted file mode 100644 index 84028b97..00000000 --- a/buildroot-2021.05/package/wayland-protocols/wayland-protocols.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# wayland-protocols -# -################################################################################ - -WAYLAND_PROTOCOLS_VERSION = 1.20 -WAYLAND_PROTOCOLS_SITE = https://wayland.freedesktop.org/releases -WAYLAND_PROTOCOLS_SOURCE = wayland-protocols-$(WAYLAND_PROTOCOLS_VERSION).tar.xz -WAYLAND_PROTOCOLS_LICENSE = MIT -WAYLAND_PROTOCOLS_LICENSE_FILES = COPYING -WAYLAND_PROTOCOLS_INSTALL_STAGING = YES -WAYLAND_PROTOCOLS_INSTALL_TARGET = NO - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/wayland/0001-build-add-option-to-disable-tests.patch b/buildroot-2021.05/package/wayland/0001-build-add-option-to-disable-tests.patch deleted file mode 100644 index 6ab695e9..00000000 --- a/buildroot-2021.05/package/wayland/0001-build-add-option-to-disable-tests.patch +++ /dev/null @@ -1,104 +0,0 @@ -From 283085496e06b5543771abe5cc746ff0b77cdd23 Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Tue, 3 Mar 2020 15:27:51 -0700 -Subject: [PATCH] build: add option to disable tests - -When building for a product, tests are not needed. - -Besides, one test requires a C++ compiler, which is not always -available. - -So, add an option to configure to disable building tests altogether. - -Signed-off-by: "Yann E. MORIN" -Signed-off-by: Alexey Brodkin -Signed-off-by: James Hilliard -[Upstream status: -https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66] ---- - Makefile.am | 2 ++ - configure.ac | 9 +++++++++ - meson.build | 4 +++- - meson_options.txt | 4 ++++ - 4 files changed, 18 insertions(+), 1 deletion(-) - -diff --git a/Makefile.am b/Makefile.am -index cc87392..d5d43e3 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -162,6 +162,7 @@ pkgconfig_DATA += egl/wayland-egl.pc - include_HEADERS += egl/wayland-egl-backend.h - pkgconfig_DATA += egl/wayland-egl-backend.pc - -+if ENABLE_TESTS - built_test_programs = \ - array-test \ - client-test \ -@@ -295,6 +296,7 @@ os_wrappers_test_LDADD = libtest-runner.la - - exec_fd_leak_checker_SOURCES = tests/exec-fd-leak-checker.c - exec_fd_leak_checker_LDADD = libtest-helpers.la -+endif - - EXTRA_DIST += tests/scanner-test.sh \ - protocol/tests.xml \ -diff --git a/configure.ac b/configure.ac -index dda5e48..99b7c96 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -77,6 +77,13 @@ AC_ARG_ENABLE([libraries], - [], - [enable_libraries=yes]) - -+AC_ARG_ENABLE([tests], -+ [AC_HELP_STRING([--disable-tests], -+ [Disable compilation of test programs])], -+ [], -+ [enable_tests=yes]) -+ -+ - AC_ARG_WITH([host-scanner], - [AC_HELP_STRING([--with-host-scanner], - [Use installed wayland-scanner from host PATH during build])], -@@ -99,6 +106,8 @@ AM_CONDITIONAL(USE_HOST_SCANNER, test "x$with_host_scanner" = xyes) - - AM_CONDITIONAL(ENABLE_LIBRARIES, test "x$enable_libraries" = xyes) - -+AM_CONDITIONAL(ENABLE_TESTS, test "x$enable_tests" = xyes) -+ - AC_ARG_WITH(icondir, [ --with-icondir= Look for cursor icons here], - [ ICONDIR=$withval], - [ ICONDIR=${datadir}/icons]) -diff --git a/meson.build b/meson.build -index 5632f4e..b37bb7a 100644 ---- a/meson.build -+++ b/meson.build -@@ -83,7 +83,9 @@ subdir('src') - if get_option('libraries') - subdir('cursor') - subdir('egl') -- subdir('tests') -+ if get_option('tests') -+ subdir('tests') -+ endif - endif - - if get_option('documentation') -diff --git a/meson_options.txt b/meson_options.txt -index 76314f7..ab4be92 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -2,6 +2,10 @@ option('libraries', - description: 'Compile Wayland libraries', - type: 'boolean', - value: 'true') -+option('tests', -+ description: 'Compile Wayland tests', -+ type: 'boolean', -+ value: 'true') - option('documentation', - description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)', - type: 'boolean', --- -2.20.1 - diff --git a/buildroot-2021.05/package/wayland/0002-meson-do-not-check-for-c.patch b/buildroot-2021.05/package/wayland/0002-meson-do-not-check-for-c.patch deleted file mode 100644 index c5819bf4..00000000 --- a/buildroot-2021.05/package/wayland/0002-meson-do-not-check-for-c.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 1df9b73db6541cbc483c6ee1b21dbe0cb6e5cbfa Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Wed, 29 Jul 2020 08:20:41 +0200 -Subject: [PATCH] meson: do not check for c++ - -Wayland does not need c++, fixes building with toolchains lacking c++. - -Backported from upstream PR: -https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/88 - -Signed-off-by: Bernd Kuhls ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index b67b101..e47a52d 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,5 +1,5 @@ - project( -- 'wayland', 'c', 'cpp', -+ 'wayland', 'c', - version: '1.18.0', - license: 'MIT', - meson_version: '>= 0.47.0', --- -2.27.0 - diff --git a/buildroot-2021.05/package/wayland/wayland.hash b/buildroot-2021.05/package/wayland/wayland.hash deleted file mode 100644 index abd8bcdf..00000000 --- a/buildroot-2021.05/package/wayland/wayland.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2020-February/041207.html -md5 23317697b6e3ff2e1ac8c5ba3ed57b65 wayland-1.18.0.tar.xz -sha1 33e5292b32a115e829458ea627201ed1e4ad4f45 wayland-1.18.0.tar.xz -sha256 4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d wayland-1.18.0.tar.xz -sha512 e30199e30c2bbd361ee695b4f3f7a4e264f10ed8f46f2c90762b5739fc578ae757dc39aa0258d8fbf0ed418553470bccd4b2730ed9705481cfccdab5de96a8fc wayland-1.18.0.tar.xz - -# Locally calculated -sha256 6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061 COPYING diff --git a/buildroot-2021.05/package/wayland/wayland.mk b/buildroot-2021.05/package/wayland/wayland.mk deleted file mode 100644 index 6cb4a50d..00000000 --- a/buildroot-2021.05/package/wayland/wayland.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# wayland -# -################################################################################ - -WAYLAND_VERSION = 1.18.0 -WAYLAND_SITE = https://wayland.freedesktop.org/releases -WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz -WAYLAND_LICENSE = MIT -WAYLAND_LICENSE_FILES = COPYING -WAYLAND_CPE_ID_VENDOR = wayland -WAYLAND_INSTALL_STAGING = YES -WAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2 -HOST_WAYLAND_DEPENDENCIES = host-pkgconf host-expat host-libffi host-libxml2 - -WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false -HOST_WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false - -# Remove the DTD from the target, it's not needed at runtime -define WAYLAND_TARGET_CLEANUP - rm -rf $(TARGET_DIR)/usr/share/wayland -endef -WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TARGET_CLEANUP - -$(eval $(meson-package)) -$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/webkitgtk/Config.in b/buildroot-2021.05/package/webkitgtk/Config.in deleted file mode 100644 index 2ba8d476..00000000 --- a/buildroot-2021.05/package/webkitgtk/Config.in +++ /dev/null @@ -1,131 +0,0 @@ -config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS - bool - # ARM needs BLX, so v5t+, BE completely untested so disabled - default y if BR2_arm && !BR2_ARM_CPU_ARMV4 - default y if BR2_aarch64 || BR2_aarch64_be - default y if BR2_i386 || BR2_x86_64 - # Disabled on MIPS big endian due to sigbus - default y if BR2_mipsel || BR2_mips64el - # Disabled on PowerPC pending runtime testing - # Disabled on SuperH because of segfault - depends on BR2_USE_MMU # libglib2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt - -comment "webkitgtk needs libgtk3 and a glibc toolchain w/ C++, gcc >= 7, host gcc >= 4.9" - depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS - depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ - !BR2_HOST_GCC_AT_LEAST_4_9 - depends on BR2_USE_MMU - -config BR2_PACKAGE_WEBKITGTK - bool "webkitgtk" - depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on BR2_PACKAGE_LIBGTK3 - depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_CAIRO_PNG - select BR2_PACKAGE_ENCHANT - select BR2_PACKAGE_HARFBUZZ - select BR2_PACKAGE_ICU - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_LIBSECRET - select BR2_PACKAGE_LIBSOUP - select BR2_PACKAGE_LIBTASN1 - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_LIBXSLT - select BR2_PACKAGE_OPENJPEG - select BR2_PACKAGE_SQLITE - select BR2_PACKAGE_WEBP - select BR2_PACKAGE_WEBP_DEMUX - select BR2_PACKAGE_WOFF2 - select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 - select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 - select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 - select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_LIBGTK3_X11 - help - WebKit is an open source, standards compliant web browser - engine. - - http://www.webkitgtk.org/ - -if BR2_PACKAGE_WEBKITGTK - -config BR2_PACKAGE_WEBKITGTK_SANDBOX - bool "sandboxing support" - depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # libseccomp - select BR2_PACKAGE_BUBBLEWRAP # runtime - select BR2_PACKAGE_XDG_DBUS_PROXY # runtime - select BR2_PACKAGE_LIBSECCOMP - help - Enable sandboxing of the processes used for network operation, - disk access, and Web content rendering. - -comment "sandboxing support needs a toolchain w/ headers >= 3.12" - depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 - -config BR2_PACKAGE_WEBKITGTK_HTTPS - bool "HTTPS support" - depends on !BR2_STATIC_LIBS # libsoup -> glib-networking, gnutls - select BR2_PACKAGE_CA_CERTIFICATES # runtime - select BR2_PACKAGE_LIBSOUP_SSL - help - Enable HTTPS protocol support. - -comment "webkitgtk https support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_WEBKITGTK_MULTIMEDIA - bool "multimedia support" - select BR2_PACKAGE_GSTREAMER1 - select BR2_PACKAGE_GST1_PLUGINS_BAD - select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX - select BR2_PACKAGE_GST1_PLUGINS_BASE - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME - select BR2_PACKAGE_GST1_PLUGINS_GOOD - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4 - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX - select BR2_PACKAGE_GST1_LIBAV - help - This option pulls in all of the required dependencies - to enable multimedia (video/audio) support. - -if BR2_PACKAGE_WEBKITGTK_MULTIMEDIA - -config BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL - bool "use gstreamer-gl" - default y - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL - help - Use the GStreamer GL elements for handling video content. - This is recommended as it improves performance of video - playback. In some target configurations incorrect rendering - might be produced, and disabling this option may help. - -endif - -config BR2_PACKAGE_WEBKITGTK_WEBDRIVER - bool "WebDriver support" - help - Enable support for WebDriver. This will build and install the - WebKitWebDriver program in the target. - -endif diff --git a/buildroot-2021.05/package/webkitgtk/webkitgtk.hash b/buildroot-2021.05/package/webkitgtk/webkitgtk.hash deleted file mode 100644 index d85a7f46..00000000 --- a/buildroot-2021.05/package/webkitgtk/webkitgtk.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://webkitgtk.org/releases/webkitgtk-2.30.6.tar.xz.sums -md5 11148c4ed400c58fe330ac94208cbc4d webkitgtk-2.30.6.tar.xz -sha1 aaaf9b0f1780f3eae104ae0d3ad15b3e19cf6e8d webkitgtk-2.30.6.tar.xz -sha256 50736ec7a91770b5939d715196e5fe7209b93efcdeef425b24dc51fb8e9d7c1e webkitgtk-2.30.6.tar.xz - -# Hashes for license files: -sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE -sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1 diff --git a/buildroot-2021.05/package/webkitgtk/webkitgtk.mk b/buildroot-2021.05/package/webkitgtk/webkitgtk.mk deleted file mode 100644 index f1c05604..00000000 --- a/buildroot-2021.05/package/webkitgtk/webkitgtk.mk +++ /dev/null @@ -1,130 +0,0 @@ -################################################################################ -# -# webkitgtk -# -################################################################################ - -WEBKITGTK_VERSION = 2.30.6 -WEBKITGTK_SITE = https://www.webkitgtk.org/releases -WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz -WEBKITGTK_INSTALL_STAGING = YES -WEBKITGTK_LICENSE = LGPL-2.1+, BSD-2-Clause -WEBKITGTK_LICENSE_FILES = \ - Source/WebCore/LICENSE-APPLE \ - Source/WebCore/LICENSE-LGPL-2.1 -WEBKITGTK_CPE_ID_VENDOR = webkitgtk -WEBKITGTK_DEPENDENCIES = host-ruby host-python host-gperf \ - enchant harfbuzz icu jpeg libgcrypt libgtk3 libsecret libsoup \ - libtasn1 libxml2 libxslt openjpeg sqlite webp woff2 -WEBKITGTK_CONF_OPTS = \ - -DENABLE_API_TESTS=OFF \ - -DENABLE_GAMEPAD=OFF \ - -DENABLE_GEOLOCATION=OFF \ - -DENABLE_GTKDOC=OFF \ - -DENABLE_INTROSPECTION=OFF \ - -DENABLE_MINIBROWSER=ON \ - -DENABLE_SPELLCHECK=ON \ - -DPORT=GTK \ - -DSILENCE_CROSS_COMPILATION_NOTICES=ON \ - -DUSE_LIBNOTIFY=OFF \ - -DUSE_LIBHYPHEN=OFF \ - -DUSE_OPENJPEG=ON \ - -DUSE_WOFF2=ON \ - -DUSE_WPE_RENDERER=OFF - -ifeq ($(BR2_PACKAGE_WEBKITGTK_SANDBOX),y) -WEBKITGTK_CONF_OPTS += \ - -DENABLE_BUBBLEWRAP_SANDBOX=ON \ - -DBWRAP_EXECUTABLE=/usr/bin/bwrap \ - -DDBUS_PROXY_EXECUTABLE=/usr/bin/xdg-dbus-proxy -WEBKITGTK_DEPENDENCIES += libseccomp -else -WEBKITGTK_CONF_OPTS += -DENABLE_BUBBLEWRAP_SANDBOX=OFF -endif - -ifeq ($(BR2_PACKAGE_WEBKITGTK_MULTIMEDIA),y) -WEBKITGTK_CONF_OPTS += \ - -DENABLE_VIDEO=ON \ - -DENABLE_WEB_AUDIO=ON -WEBKITGTK_DEPENDENCIES += gstreamer1 gst1-libav gst1-plugins-base gst1-plugins-good -else -WEBKITGTK_CONF_OPTS += \ - -DENABLE_VIDEO=OFF \ - -DENABLE_WEB_AUDIO=OFF -endif - -ifeq ($(BR2_PACKAGE_WEBKITGTK_WEBDRIVER),y) -WEBKITGTK_CONF_OPTS += -DENABLE_WEBDRIVER=ON -else -WEBKITGTK_CONF_OPTS += -DENABLE_WEBDRIVER=OFF -endif - -# Only one target platform can be built, assume X11 > Wayland - -# GTK3-X11 target gives OpenGL from newer libgtk3 versions -# Consider this better than EGL + maybe GLESv2 since both can't be built -# 2D CANVAS acceleration requires OpenGL proper with cairo-gl -ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) -WEBKITGTK_CONF_OPTS += \ - -DENABLE_ACCELERATED_2D_CANVAS=ON \ - -DENABLE_GLES2=OFF \ - -DENABLE_GRAPHICS_CONTEXT_GL=ON \ - -DENABLE_X11_TARGET=ON -WEBKITGTK_DEPENDENCIES += libgl \ - xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt -# It can use libgtk2 for npapi plugins -ifeq ($(BR2_PACKAGE_LIBGTK2),y) -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON -WEBKITGTK_DEPENDENCIES += libgtk2 -else -WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF -endif -else # !X11 -# GTK3-BROADWAY/WAYLAND needs at least EGL -WEBKITGTK_DEPENDENCIES += libegl -# GLESv2 support is optional though -ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) -WEBKITGTK_CONF_OPTS += \ - -DENABLE_GLES2=ON \ - -DENABLE_GRAPHICS_CONTEXT_GL=ON -WEBKITGTK_DEPENDENCIES += libgles -else -# Disable general OpenGL (shading) if there's no GLESv2 -WEBKITGTK_CONF_OPTS += \ - -DENABLE_GLES2=OFF \ - -DENABLE_GRAPHICS_CONTEXT_GL=OFF -endif -# We must explicitly state the wayland target -ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y) -WEBKITGTK_CONF_OPTS += -DENABLE_WAYLAND_TARGET=ON -endif -endif - -ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y) -WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON -else -WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=ON -WEBKITGTK_DEPENDENCIES += systemd -else -WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=OFF -endif - -# JIT is not supported for MIPS r6, but the WebKit build system does not -# have a check for these processors. The same goes for ARMv5 and ARMv6. -# Disable JIT forcibly here and use the CLoop interpreter instead. -# -# Also, we have to disable the sampling profiler, which does NOT work -# with ENABLE_C_LOOP. -# -# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258 -# https://bugs.webkit.org/show_bug.cgi?id=172765 -# -ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) -WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON -DENABLE_SAMPLING_PROFILER=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/webp/webp.hash b/buildroot-2021.05/package/webp/webp.hash deleted file mode 100644 index 24cec6df..00000000 --- a/buildroot-2021.05/package/webp/webp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 2fc8bbde9f97f2ab403c0224fb9ca62b2e6852cbc519e91ceaa7c153ffd88a0c libwebp-1.2.0.tar.gz -sha256 5aec868f669e384a22372a4e8a1a6cd7d44c64cd451f960ca69cc170d1e13acf COPYING diff --git a/buildroot-2021.05/package/webp/webp.mk b/buildroot-2021.05/package/webp/webp.mk deleted file mode 100644 index ecf26faa..00000000 --- a/buildroot-2021.05/package/webp/webp.mk +++ /dev/null @@ -1,58 +0,0 @@ -################################################################################ -# -# webp -# -################################################################################ - -WEBP_VERSION = 1.2.0 -WEBP_SOURCE = libwebp-$(WEBP_VERSION).tar.gz -WEBP_SITE = http://downloads.webmproject.org/releases/webp -WEBP_LICENSE = BSD-3-Clause -WEBP_LICENSE_FILES = COPYING -WEBP_CPE_ID_VENDOR = webmproject -WEBP_CPE_ID_PRODUCT = libwebp -WEBP_INSTALL_STAGING = YES - -WEBP_CONF_OPTS += \ - --with-jpegincludedir=$(STAGING_DIR)/usr/include \ - --with-jpeglibdir=$(STAGING_DIR)/usr/lib \ - --with-tiffincludedir=$(STAGING_DIR)/usr/include \ - --with-tifflibdir=$(STAGING_DIR)/usr/lib - -ifeq ($(BR2_PACKAGE_WEBP_DEMUX),y) -WEBP_CONF_OPTS += --enable-libwebpdemux -else -WEBP_CONF_OPTS += --disable-libwebpdemux -endif - -ifeq ($(BR2_PACKAGE_WEBP_MUX),y) -WEBP_CONF_OPTS += --enable-libwebpmux -else -WEBP_CONF_OPTS += --disable-libwebpmux -endif - -ifeq ($(BR2_PACKAGE_GIFLIB),y) -WEBP_DEPENDENCIES += giflib -WEBP_CONF_OPTS += --enable-gif -else -WEBP_CONF_OPTS += --disable-gif -endif - -ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y) -WEBP_DEPENDENCIES += libfreeglut -WEBP_CONF_OPTS += --enable-gl -else -WEBP_CONF_OPTS += --disable-gl -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -WEBP_DEPENDENCIES += libpng -WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config -else -WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=/bin/false -endif - -WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_JPEG),jpeg) -WEBP_DEPENDENCIES += $(if $(BR2_PACKAGE_TIFF),tiff) - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/websocketpp/websocketpp.mk b/buildroot-2021.05/package/websocketpp/websocketpp.mk deleted file mode 100644 index 59b365aa..00000000 --- a/buildroot-2021.05/package/websocketpp/websocketpp.mk +++ /dev/null @@ -1,16 +0,0 @@ -################################################################################ -# -# websocketpp -# -################################################################################ - -WEBSOCKETPP_VERSION = 0.8.2 -WEBSOCKETPP_SITE = $(call github,zaphoyd,websocketpp,$(WEBSOCKETPP_VERSION)) -WEBSOCKETPP_LICENSE = BSD-3c, MIT, Zlib -WEBSOCKETPP_LICENSE_FILES = COPYING -WEBSOCKETPP_CPE_ID_VENDOR = zaphoyd -WEBSOCKETPP_INSTALL_STAGING = YES -# Only installs headers -WEBSOCKETPP_INSTALL_TARGET = NO - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/weston/0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch b/buildroot-2021.05/package/weston/0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch deleted file mode 100644 index 2eb6bd83..00000000 --- a/buildroot-2021.05/package/weston/0001-tests-include-fcntl.h-for-open-O_RDWR-O_CLOEXEC-and-.patch +++ /dev/null @@ -1,48 +0,0 @@ -From b10c0e843dcb8148bbe869bb15261955b94ac98c Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko -Date: Tue, 8 Sep 2020 19:37:42 -0400 -Subject: [PATCH] tests: include fcntl.h for open(), O_RDWR, O_CLOEXEC and - O_CREAT - -musl libc (unlike glibc) requires explicitly incuding fcntl.h to define open(), -O_RDWR, O_CLOEXEC and O_CREAT. Otherwise the build fails with the errors: - -| ../weston-9.0.0/tests/weston-test-fixture-compositor.c: In function 'wait_for_lock': -| ../weston-9.0.0/tests/weston-test-fixture-compositor.c:135:7: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] -| 135 | fd = open(lock_path, O_RDWR | O_CLOEXEC | O_CREAT, 00700); -| | ^~~~ -| | popen -| ../weston-9.0.0/tests/weston-test-fixture-compositor.c:135:23: error: 'O_RDWR' undeclared (first use in this function) -| 135 | fd = open(lock_path, O_RDWR | O_CLOEXEC | O_CREAT, 00700); -| | ^~~~~~ -| ../weston-9.0.0/tests/weston-test-fixture-compositor.c:135:23: note: each undeclared identifier is reported only once for each function it appears in -| ../weston-9.0.0/tests/weston-test-fixture-compositor.c:135:32: error: 'O_CLOEXEC' undeclared (first use in this function) -| 135 | fd = open(lock_path, O_RDWR | O_CLOEXEC | O_CREAT, 00700); -| | ^~~~~~~~~ -| ../weston-9.0.0/tests/weston-test-fixture-compositor.c:135:44: error: 'O_CREAT' undeclared (first use in this function) -| 135 | fd = open(lock_path, O_RDWR | O_CLOEXEC | O_CREAT, 00700); -| | ^~~~~~~ - -Signed-off-by: Denys Dmytriyenko -Signed-off-by: James Hilliard -[james.hilliard1@gmail.com: backport from upstream commit -b10c0e843dcb8148bbe869bb15261955b94ac98c] ---- - tests/weston-test-fixture-compositor.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/tests/weston-test-fixture-compositor.c b/tests/weston-test-fixture-compositor.c -index 1c32959c..c1eb26c4 100644 ---- a/tests/weston-test-fixture-compositor.c -+++ b/tests/weston-test-fixture-compositor.c -@@ -35,6 +35,7 @@ - #include - #include - #include -+#include - - #include "shared/helpers.h" - #include "weston-test-fixture-compositor.h" --- -2.25.1 - diff --git a/buildroot-2021.05/package/weston/0002-libweston-backend-drm-might-need-EGL.patch b/buildroot-2021.05/package/weston/0002-libweston-backend-drm-might-need-EGL.patch deleted file mode 100644 index f504e114..00000000 --- a/buildroot-2021.05/package/weston/0002-libweston-backend-drm-might-need-EGL.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 4b93b71067949cc5efabb9b3d59278a3f362b11c Mon Sep 17 00:00:00 2001 -From: Heiko Thiery -Date: Wed, 21 Oct 2020 13:33:25 +0200 -Subject: [PATCH] libweston/backend/drm: might need EGL - -gbm-drm.c includes gl-renderer.h. When EGL is enabled, that in turns -includes egl.h. As such, dependencies for drm should include EGL if -it is available. - -This condition is modelled after a similar one in libweston/meson.build - -Reported-by: Gary Bisson -Reported-by: Heiko Thiery -Signed-off-by: Yann E. MORIN -Cc: Refik Tuzakli -Cc: Thomas Petazzoni -Signed-off-by: Heiko Thiery ---- -This patch should be a proper fix for the issue discribed in the patch from -Gary [1]. - -Since the MR on weston upstream [2] is not merged now I add this patch -to have working weston with imx in buildroot. - -[1] https://patchwork.ozlabs.org/project/buildroot/patch/20200402130842.918696-3-gary.bisson@boundarydevices.com/ -[2] https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/508 ---- - libweston/backend-drm/meson.build | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/libweston/backend-drm/meson.build b/libweston/backend-drm/meson.build -index 484c2702..e3e5b976 100644 ---- a/libweston/backend-drm/meson.build -+++ b/libweston/backend-drm/meson.build -@@ -53,6 +53,9 @@ if get_option('renderer-gl') - config_h.set('HAVE_GBM_FD_IMPORT', '1') - endif - deps_drm += dep_gbm -+ if dep_egl.found() -+ deps_drm += dep_egl -+ endif - srcs_drm += 'drm-gbm.c' - config_h.set('BUILD_DRM_GBM', '1') - endif --- -2.20.1 - diff --git a/buildroot-2021.05/package/weston/0003-pipewire-add-support-for-0.3-API.patch b/buildroot-2021.05/package/weston/0003-pipewire-add-support-for-0.3-API.patch deleted file mode 100644 index b486b3de..00000000 --- a/buildroot-2021.05/package/weston/0003-pipewire-add-support-for-0.3-API.patch +++ /dev/null @@ -1,391 +0,0 @@ -From cc08737e3fd174ec3c4c208ea4f2a3a6a9e8af3e Mon Sep 17 00:00:00 2001 -From: James Hilliard -Date: Mon, 6 Jul 2020 00:58:02 -0600 -Subject: [PATCH] pipewire: add support for 0.3 API - -Fixes: #369 - -Signed-off-by: James Hilliard -[james.hilliard1@gmail.com: backport from upstream commit -80b585f8d2a31e780b4de41fbd187a742bea7e1a] ---- - .gitlab-ci.yml | 2 +- - .gitlab-ci/debian-install.sh | 16 ++++- - pipewire/meson.build | 28 ++++++--- - pipewire/pipewire-plugin.c | 118 ++++++++++++++++++++++++++++++++++- - 4 files changed, 151 insertions(+), 13 deletions(-) - -diff --git a/pipewire/meson.build b/pipewire/meson.build -index 3d3374b8..e30a0b62 100644 ---- a/pipewire/meson.build -+++ b/pipewire/meson.build -@@ -5,17 +5,25 @@ if get_option('pipewire') - error('Attempting to build the pipewire plugin without the required DRM backend. ' + user_hint) - endif - -- depnames = [ -- 'libpipewire-0.2', 'libspa-0.1' -- ] - deps_pipewire = [ dep_libweston_private ] -- foreach depname : depnames -- dep = dependency(depname, required: false) -- if not dep.found() -- error('Pipewire plugin requires @0@ which was not found. '.format(depname) + user_hint) -- endif -- deps_pipewire += dep -- endforeach -+ -+ dep_libpipewire = dependency('libpipewire-0.3', required: false) -+ if not dep_libpipewire.found() -+ dep_libpipewire = dependency('libpipewire-0.2', required: false) -+ endif -+ if not dep_libpipewire.found() -+ error('Pipewire plugin requires libpipewire which was not found. ' + user_hint) -+ endif -+ deps_pipewire += dep_libpipewire -+ -+ dep_libspa = dependency('libspa-0.2', required: false) -+ if not dep_libspa.found() -+ dep_libspa = dependency('libspa-0.1', required: false) -+ endif -+ if not dep_libspa.found() -+ error('Pipewire plugin requires libspa which was not found. ' + user_hint) -+ endif -+ deps_pipewire += dep_libspa - - plugin_pipewire = shared_library( - 'pipewire-plugin', -diff --git a/pipewire/pipewire-plugin.c b/pipewire/pipewire-plugin.c -index 6f892574..ce70ea63 100644 ---- a/pipewire/pipewire-plugin.c -+++ b/pipewire/pipewire-plugin.c -@@ -34,20 +34,27 @@ - #include - #include - -+#include -+ - #include - #include - #include - --#include -+#if PW_CHECK_VERSION(0, 2, 90) -+#include -+#include -+#endif - - #define PROP_RANGE(min, max) 2, (min), (max) - -+#if !PW_CHECK_VERSION(0, 2, 90) - struct type { - struct spa_type_media_type media_type; - struct spa_type_media_subtype media_subtype; - struct spa_type_format_video format_video; - struct spa_type_video_format video_format; - }; -+#endif - - struct weston_pipewire { - struct weston_compositor *compositor; -@@ -60,12 +67,19 @@ struct weston_pipewire { - struct pw_loop *loop; - struct wl_event_source *loop_source; - -+#if PW_CHECK_VERSION(0, 2, 90) -+ struct pw_context *context; -+#endif - struct pw_core *core; - struct pw_type *t; -+#if PW_CHECK_VERSION(0, 2, 90) -+ struct spa_hook core_listener; -+#else - struct type type; - - struct pw_remote *remote; - struct spa_hook remote_listener; -+#endif - }; - - struct pipewire_output { -@@ -100,6 +114,7 @@ struct pipewire_frame_data { - struct wl_event_source *fence_sync_event_source; - }; - -+#if !PW_CHECK_VERSION(0, 2, 90) - static inline void init_type(struct type *type, struct spa_type_map *map) - { - spa_type_media_type_map(map, &type->media_type); -@@ -107,6 +122,7 @@ static inline void init_type(struct type *type, struct spa_type_map *map) - spa_type_format_video_map(map, &type->format_video); - spa_type_video_format_map(map, &type->video_format); - } -+#endif - - static void - pipewire_debug_impl(struct weston_pipewire *pipewire, -@@ -141,6 +157,7 @@ pipewire_debug_impl(struct weston_pipewire *pipewire, - free(logstr); - } - -+#if !PW_CHECK_VERSION(0, 2, 90) - static void - pipewire_debug(struct weston_pipewire *pipewire, const char *fmt, ...) - { -@@ -150,6 +167,7 @@ pipewire_debug(struct weston_pipewire *pipewire, const char *fmt, ...) - pipewire_debug_impl(pipewire, NULL, fmt, ap); - va_end(ap); - } -+#endif - - static void - pipewire_output_debug(struct pipewire_output *output, const char *fmt, ...) -@@ -185,7 +203,9 @@ pipewire_output_handle_frame(struct pipewire_output *output, int fd, - const struct weston_drm_virtual_output_api *api = - output->pipewire->virtual_output_api; - size_t size = output->output->height * stride; -+#if !PW_CHECK_VERSION(0, 2, 90) - struct pw_type *t = output->pipewire->t; -+#endif - struct pw_buffer *buffer; - struct spa_buffer *spa_buffer; - struct spa_meta_header *h; -@@ -203,7 +223,12 @@ pipewire_output_handle_frame(struct pipewire_output *output, int fd, - - spa_buffer = buffer->buffer; - -+#if PW_CHECK_VERSION(0, 2, 90) -+ if ((h = spa_buffer_find_meta_data(spa_buffer, SPA_META_Header, -+ sizeof(struct spa_meta_header)))) { -+#else - if ((h = spa_buffer_find_meta(spa_buffer, t->meta.Header))) { -+#endif - h->pts = -1; - h->flags = 0; - h->seq = output->seq++; -@@ -375,18 +400,40 @@ pipewire_set_dpms(struct weston_output *base_output, enum dpms_enum level) - static int - pipewire_output_connect(struct pipewire_output *output) - { -+#if !PW_CHECK_VERSION(0, 2, 90) - struct weston_pipewire *pipewire = output->pipewire; - struct type *type = &pipewire->type; -+#endif - uint8_t buffer[1024]; - struct spa_pod_builder builder = - SPA_POD_BUILDER_INIT(buffer, sizeof(buffer)); - const struct spa_pod *params[1]; -+#if !PW_CHECK_VERSION(0, 2, 90) - struct pw_type *t = pipewire->t; -+#endif - int frame_rate = output->output->current_mode->refresh / 1000; - int width = output->output->width; - int height = output->output->height; - int ret; - -+#if PW_CHECK_VERSION(0, 2, 90) -+ params[0] = spa_pod_builder_add_object(&builder, -+ SPA_TYPE_OBJECT_Format, SPA_PARAM_EnumFormat, -+ SPA_FORMAT_mediaType, SPA_POD_Id(SPA_MEDIA_TYPE_video), -+ SPA_FORMAT_mediaSubtype, SPA_POD_Id(SPA_MEDIA_SUBTYPE_raw), -+ SPA_FORMAT_VIDEO_format, SPA_POD_Id(SPA_VIDEO_FORMAT_BGRx), -+ SPA_FORMAT_VIDEO_size, SPA_POD_Rectangle(&SPA_RECTANGLE(width, height)), -+ SPA_FORMAT_VIDEO_framerate, SPA_POD_Fraction(&SPA_FRACTION (0, 1)), -+ SPA_FORMAT_VIDEO_maxFramerate, -+ SPA_POD_CHOICE_RANGE_Fraction(&SPA_FRACTION(frame_rate, 1), -+ &SPA_FRACTION(1, 1), -+ &SPA_FRACTION(frame_rate, 1))); -+ -+ ret = pw_stream_connect(output->stream, PW_DIRECTION_OUTPUT, SPA_ID_INVALID, -+ (PW_STREAM_FLAG_DRIVER | -+ PW_STREAM_FLAG_MAP_BUFFERS), -+ params, 1); -+#else - params[0] = spa_pod_builder_object(&builder, - t->param.idEnumFormat, t->spa_format, - "I", type->media_type.video, -@@ -406,6 +453,7 @@ pipewire_output_connect(struct pipewire_output *output) - (PW_STREAM_FLAG_DRIVER | - PW_STREAM_FLAG_MAP_BUFFERS), - params, 1); -+#endif - if (ret != 0) { - weston_log("Failed to connect pipewire stream: %s", - spa_strerror(ret)); -@@ -482,26 +530,42 @@ pipewire_output_stream_state_changed(void *data, enum pw_stream_state old, - } - - static void -+#if PW_CHECK_VERSION(0, 2, 90) -+pipewire_output_stream_param_changed(void *data, uint32_t id, const struct spa_pod *format) -+#else - pipewire_output_stream_format_changed(void *data, const struct spa_pod *format) -+#endif - { - struct pipewire_output *output = data; -+#if !PW_CHECK_VERSION(0, 2, 90) - struct weston_pipewire *pipewire = output->pipewire; -+#endif - uint8_t buffer[1024]; - struct spa_pod_builder builder = - SPA_POD_BUILDER_INIT(buffer, sizeof(buffer)); - const struct spa_pod *params[2]; -+#if !PW_CHECK_VERSION(0, 2, 90) - struct pw_type *t = pipewire->t; -+#endif - int32_t width, height, stride, size; - const int bpp = 4; - - if (!format) { - pipewire_output_debug(output, "format = None"); -+#if PW_CHECK_VERSION(0, 2, 90) -+ pw_stream_update_params(output->stream, NULL, 0); -+#else - pw_stream_finish_format(output->stream, 0, NULL, 0); -+#endif - return; - } - -+#if PW_CHECK_VERSION(0, 2, 90) -+ spa_format_video_raw_parse(format, &output->video_format); -+#else - spa_format_video_raw_parse(format, &output->video_format, - &pipewire->type.format_video); -+#endif - - width = output->video_format.size.width; - height = output->video_format.size.height; -@@ -510,6 +574,21 @@ pipewire_output_stream_format_changed(void *data, const struct spa_pod *format) - - pipewire_output_debug(output, "format = %dx%d", width, height); - -+#if PW_CHECK_VERSION(0, 2, 90) -+ params[0] = spa_pod_builder_add_object(&builder, -+ SPA_TYPE_OBJECT_ParamBuffers, SPA_PARAM_Buffers, -+ SPA_PARAM_BUFFERS_size, SPA_POD_Int(size), -+ SPA_PARAM_BUFFERS_stride, SPA_POD_Int(stride), -+ SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(4, 2, 8), -+ SPA_PARAM_BUFFERS_align, SPA_POD_Int(16)); -+ -+ params[1] = spa_pod_builder_add_object(&builder, -+ SPA_TYPE_OBJECT_ParamMeta, SPA_PARAM_Meta, -+ SPA_PARAM_META_type, SPA_POD_Id(SPA_META_Header), -+ SPA_PARAM_META_size, SPA_POD_Int(sizeof(struct spa_meta_header))); -+ -+ pw_stream_update_params(output->stream, params, 2); -+#else - params[0] = spa_pod_builder_object(&builder, - t->param.idBuffers, t->param_buffers.Buffers, - ":", t->param_buffers.size, -@@ -527,12 +606,17 @@ pipewire_output_stream_format_changed(void *data, const struct spa_pod *format) - ":", t->param_meta.size, "i", sizeof(struct spa_meta_header)); - - pw_stream_finish_format(output->stream, 0, params, 2); -+#endif - } - - static const struct pw_stream_events stream_events = { - PW_VERSION_STREAM_EVENTS, - .state_changed = pipewire_output_stream_state_changed, -+#if PW_CHECK_VERSION(0, 2, 90) -+ .param_changed = pipewire_output_stream_param_changed, -+#else - .format_changed = pipewire_output_stream_format_changed, -+#endif - }; - - static struct weston_output * -@@ -560,7 +644,11 @@ pipewire_output_create(struct weston_compositor *c, char *name) - if (!head) - goto err; - -+#if PW_CHECK_VERSION(0, 2, 90) -+ output->stream = pw_stream_new(pipewire->core, name, NULL); -+#else - output->stream = pw_stream_new(pipewire->remote, name, NULL); -+#endif - if (!output->stream) { - weston_log("Cannot initialize pipewire stream\n"); - goto err; -@@ -704,6 +792,14 @@ weston_pipewire_loop_handler(int fd, uint32_t mask, void *data) - return 0; - } - -+#if PW_CHECK_VERSION(0, 2, 90) -+static void -+weston_pipewire_error(void *data, uint32_t id, int seq, int res, -+ const char *error) -+{ -+ weston_log("pipewire remote error: %s\n", error); -+} -+#else - static void - weston_pipewire_state_changed(void *data, enum pw_remote_state old, - enum pw_remote_state state, const char *error) -@@ -725,12 +821,20 @@ weston_pipewire_state_changed(void *data, enum pw_remote_state old, - break; - } - } -+#endif - - -+#if PW_CHECK_VERSION(0, 2, 90) -+static const struct pw_core_events core_events = { -+ PW_VERSION_CORE_EVENTS, -+ .error = weston_pipewire_error, -+}; -+#else - static const struct pw_remote_events remote_events = { - PW_VERSION_REMOTE_EVENTS, - .state_changed = weston_pipewire_state_changed, - }; -+#endif - - static int - weston_pipewire_init(struct weston_pipewire *pipewire) -@@ -745,10 +849,19 @@ weston_pipewire_init(struct weston_pipewire *pipewire) - - pw_loop_enter(pipewire->loop); - -+#if PW_CHECK_VERSION(0, 2, 90) -+ pipewire->context = pw_context_new(pipewire->loop, NULL, 0); -+#else - pipewire->core = pw_core_new(pipewire->loop, NULL); - pipewire->t = pw_core_get_type(pipewire->core); - init_type(&pipewire->type, pipewire->t->map); -+#endif - -+#if PW_CHECK_VERSION(0, 2, 90) -+ pw_core_add_listener(pipewire->core, -+ &pipewire->core_listener, -+ &core_events, pipewire); -+#else - pipewire->remote = pw_remote_new(pipewire->core, NULL, 0); - pw_remote_add_listener(pipewire->remote, - &pipewire->remote_listener, -@@ -777,6 +890,7 @@ weston_pipewire_init(struct weston_pipewire *pipewire) - goto err; - } - } -+#endif - - loop = wl_display_get_event_loop(pipewire->compositor->wl_display); - pipewire->loop_source = -@@ -786,12 +900,14 @@ weston_pipewire_init(struct weston_pipewire *pipewire) - pipewire); - - return 0; -+#if !PW_CHECK_VERSION(0, 2, 90) - err: - if (pipewire->remote) - pw_remote_destroy(pipewire->remote); - pw_loop_leave(pipewire->loop); - pw_loop_destroy(pipewire->loop); - return -1; -+#endif - } - - static const struct weston_pipewire_api pipewire_api = { --- -2.25.1 - diff --git a/buildroot-2021.05/package/weston/0004-pipewire-fix-null-deref-in-0-3-API.patch b/buildroot-2021.05/package/weston/0004-pipewire-fix-null-deref-in-0-3-API.patch deleted file mode 100644 index f65348e1..00000000 --- a/buildroot-2021.05/package/weston/0004-pipewire-fix-null-deref-in-0-3-API.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a67393c353e0f25b142910a817be5a7754d436c3 Mon Sep 17 00:00:00 2001 -From: Ambareesh Balaji -Date: Sat, 5 Dec 2020 20:49:55 -0500 -Subject: [PATCH] pipewire: fix null deref in 0.3 API - -Signed-off-by: Ambareesh Balaji -[Retrieved from: -https://gitlab.freedesktop.org/wayland/weston/-/commit/a67393c353e0f25b142910a817be5a7754d436c3] -Signed-off-by: Fabrice Fontaine ---- - pipewire/pipewire-plugin.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/pipewire/pipewire-plugin.c b/pipewire/pipewire-plugin.c -index ca5cbfec1..55705acfc 100644 ---- a/pipewire/pipewire-plugin.c -+++ b/pipewire/pipewire-plugin.c -@@ -856,6 +856,7 @@ weston_pipewire_init(struct weston_pipewire *pipewire) - - #if PW_CHECK_VERSION(0, 2, 90) - pipewire->context = pw_context_new(pipewire->loop, NULL, 0); -+ pipewire->core = pw_context_connect(pipewire->context, NULL, 0); - #else - pipewire->core = pw_core_new(pipewire->loop, NULL); - pipewire->t = pw_core_get_type(pipewire->core); --- -GitLab - diff --git a/buildroot-2021.05/package/weston/Config.in b/buildroot-2021.05/package/weston/Config.in deleted file mode 100644 index d07eba4c..00000000 --- a/buildroot-2021.05/package/weston/Config.in +++ /dev/null @@ -1,142 +0,0 @@ -comment "weston needs udev and a toolchain w/ locale, threads, dynamic library, headers >= 3.0" - depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || BR2_STATIC_LIBS || \ - !BR2_ENABLE_LOCALE - -config BR2_PACKAGE_WESTON - bool "weston" - depends on BR2_PACKAGE_HAS_UDEV - depends on !BR2_STATIC_LIBS # wayland - depends on BR2_TOOLCHAIN_HAS_THREADS # wayland - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - select BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_WAYLAND_PROTOCOLS - select BR2_PACKAGE_LIBXKBCOMMON - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_CAIRO_PNG - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBINPUT - select BR2_PACKAGE_LIBDRM - # Runtime dependency - select BR2_PACKAGE_XKEYBOARD_CONFIG - help - Weston is the reference implementation of a Wayland - compositor, and a useful compositor in its own right. - Weston has various backends that lets it run on Linux kernel - modesetting and evdev input as well as under X11. - - http://wayland.freedesktop.org/ - -if BR2_PACKAGE_WESTON - -choice - prompt "default compositor" - -config BR2_PACKAGE_WESTON_DEFAULT_FBDEV - bool "fbdev" - select BR2_PACKAGE_WESTON_FBDEV - -config BR2_PACKAGE_WESTON_DEFAULT_DRM - bool "drm" - depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL - select BR2_PACKAGE_WESTON_DRM - -comment "drm backend needs mesa3d w/ EGL driver" - depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL - -config BR2_PACKAGE_WESTON_DEFAULT_X11 - bool "X11" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_WESTON_X11 - -comment "X11 backend needs X.org" - depends on !BR2_PACKAGE_XORG7 - -endchoice - -config BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR - string - default "fbdev" if BR2_PACKAGE_WESTON_DEFAULT_FBDEV - default "drm" if BR2_PACKAGE_WESTON_DEFAULT_DRM - default "x11" if BR2_PACKAGE_WESTON_DEFAULT_X11 - -config BR2_PACKAGE_WESTON_DRM - bool "DRM compositor" - depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL - -# Uses libgbm from mesa3d -comment "DRM compositor needs an OpenGL EGL backend provided by mesa3d" - depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL - -config BR2_PACKAGE_WESTON_FBDEV - bool "fbdev compositor" - -# FreeRDP needs threads and !static, already the case for weston -config BR2_PACKAGE_WESTON_RDP - bool "RDP compositor" - depends on BR2_USE_MMU # freerdp, libglib2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_USE_WCHAR # freerdp - depends on BR2_INSTALL_LIBSTDCPP # freerdp - select BR2_PACKAGE_FREERDP - help - This enables the RDP backend, which allows accessing weston - through the network with any RDP-compliant client. - - Please note that one must pass those options to weston for RDP - to be functional: - --rdp-tls-cert=/path/to/server.crt - --rdp-tls-key=/path/to/server.key - - By default, Buildroot installs such files in - /etc/freerdp/server/ so you may want to change them in a - post-build script or a rootfs overlay. - -comment "RDP compositor needs a toolchain w/ wchar, C++" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_WESTON_X11 - bool "X11 compositor" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_LIBXCB - select BR2_PACKAGE_XLIB_LIBX11 - -comment "X11 compositor needs X.org enabled" - depends on !BR2_PACKAGE_XORG7 - -config BR2_PACKAGE_WESTON_XWAYLAND - bool "XWayland support" - depends on BR2_PACKAGE_XORG7 - depends on BR2_PACKAGE_LIBEPOXY - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_LIBXCB - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXCURSOR - -comment "XWayland support needs libepoxy and X.org enabled" - depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY - -config BR2_PACKAGE_WESTON_DEMO_CLIENTS - bool "demo clients" - depends on BR2_USE_MMU # pango - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango - depends on BR2_INSTALL_LIBSTDCPP # pango - depends on BR2_TOOLCHAIN_HAS_THREADS # pango - depends on BR2_USE_WCHAR # pango - depends on BR2_PACKAGE_HAS_LIBGLES - depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND - select BR2_PACKAGE_PANGO - help - This enables the installation of Weston's demo clients. - -comment "demo clients needs an OpenGL ES provider, an OpenEGL-capable Wayland backend and a toolchain w/ wchar, threads, C++" - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \ - !BR2_PACKAGE_HAS_LIBEGL_WAYLAND - -endif diff --git a/buildroot-2021.05/package/weston/weston.hash b/buildroot-2021.05/package/weston/weston.hash deleted file mode 100644 index 5a6b3868..00000000 --- a/buildroot-2021.05/package/weston/weston.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2020-September/041595.html -md5 b406da0fe9139fd39653238fde22a6cf weston-9.0.0.tar.xz -sha1 90b9540a0bd6d6f7a465817f1c696d4d393183c9 weston-9.0.0.tar.xz -sha256 5cf5d6ce192e0eb15c1fc861a436bf21b5bb3b91dbdabbdebe83e1f83aa098fe weston-9.0.0.tar.xz -sha512 ccc263f8279b7b23e5c593b4a8a023de2c3dc178b1b8d6593599171770bcfe97608de9fcb77aa1cab39255451d289d323e51c317dae190c7641282e085b84f90 weston-9.0.0.tar.xz -sha256 fdb65868f65d0fbdb05c2d3b779e10ce9969fa0c4b9262ba4f260e87086ab860 COPYING diff --git a/buildroot-2021.05/package/weston/weston.mk b/buildroot-2021.05/package/weston/weston.mk deleted file mode 100644 index 8afe4bba..00000000 --- a/buildroot-2021.05/package/weston/weston.mk +++ /dev/null @@ -1,143 +0,0 @@ -################################################################################ -# -# weston -# -################################################################################ - -WESTON_VERSION = 9.0.0 -WESTON_SITE = https://wayland.freedesktop.org/releases -WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz -WESTON_LICENSE = MIT -WESTON_LICENSE_FILES = COPYING -WESTON_CPE_ID_VENDOR = wayland - -WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \ - libxkbcommon pixman libpng jpeg udev cairo libinput libdrm - -WESTON_CONF_OPTS = \ - -Dbackend-headless=false \ - -Dcolor-management-colord=false \ - -Dremoting=false - -# Uses VIDIOC_EXPBUF, only available from 3.8+ -ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8),y) -WESTON_CONF_OPTS += -Dsimple-clients=dmabuf-v4l -else -WESTON_CONF_OPTS += -Dsimple-clients= -endif - -ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_SYSTEMD),yy) -WESTON_CONF_OPTS += -Dlauncher-logind=true -WESTON_DEPENDENCIES += dbus systemd -else -WESTON_CONF_OPTS += -Dlauncher-logind=false -endif - -ifeq ($(BR2_PACKAGE_WEBP),y) -WESTON_CONF_OPTS += -Dimage-webp=true -WESTON_DEPENDENCIES += webp -else -WESTON_CONF_OPTS += -Dimage-webp=false -endif - -# weston-launch must be u+s root in order to work properly -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -define WESTON_PERMISSIONS - /usr/bin/weston-launch f 4755 0 0 - - - - - -endef -define WESTON_USERS - - - weston-launch -1 - - - - Weston launcher group -endef -WESTON_CONF_OPTS += -Dweston-launch=true -WESTON_DEPENDENCIES += linux-pam -else -WESTON_CONF_OPTS += -Dweston-launch=false -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND)$(BR2_PACKAGE_HAS_LIBGLES),yy) -WESTON_CONF_OPTS += -Drenderer-gl=true -WESTON_DEPENDENCIES += libegl libgles -ifeq ($(BR2_PACKAGE_PIPEWIRE)$(BR2_PACKAGE_WESTON_DRM),yy) -WESTON_CONF_OPTS += -Dpipewire=true -WESTON_DEPENDENCIES += pipewire -else -WESTON_CONF_OPTS += -Dpipewire=false -endif -else -WESTON_CONF_OPTS += \ - -Drenderer-gl=false \ - -Dpipewire=false -endif - -ifeq ($(BR2_PACKAGE_WESTON_RDP),y) -WESTON_DEPENDENCIES += freerdp -WESTON_CONF_OPTS += -Dbackend-rdp=true -else -WESTON_CONF_OPTS += -Dbackend-rdp=false -endif - -ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y) -WESTON_CONF_OPTS += -Dbackend-fbdev=true -else -WESTON_CONF_OPTS += -Dbackend-fbdev=false -endif - -ifeq ($(BR2_PACKAGE_WESTON_DRM),y) -WESTON_CONF_OPTS += -Dbackend-drm=true -else -WESTON_CONF_OPTS += -Dbackend-drm=false -endif - -ifeq ($(BR2_PACKAGE_WESTON_X11),y) -WESTON_CONF_OPTS += -Dbackend-x11=true -WESTON_DEPENDENCIES += libxcb xlib_libX11 -else -WESTON_CONF_OPTS += -Dbackend-x11=false -endif - -# We're guaranteed to have at least one backend -WESTON_CONF_OPTS += -Dbackend-default=$(call qstrip,$(BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR)) - -ifeq ($(BR2_PACKAGE_WESTON_XWAYLAND),y) -WESTON_CONF_OPTS += -Dxwayland=true -WESTON_DEPENDENCIES += cairo libepoxy libxcb xlib_libX11 xlib_libXcursor -else -WESTON_CONF_OPTS += -Dxwayland=false -endif - -ifeq ($(BR2_PACKAGE_LIBVA),y) -WESTON_CONF_OPTS += -Dbackend-drm-screencast-vaapi=true -WESTON_DEPENDENCIES += libva -else -WESTON_CONF_OPTS += -Dbackend-drm-screencast-vaapi=false -endif - -ifeq ($(BR2_PACKAGE_LCMS2),y) -WESTON_CONF_OPTS += -Dcolor-management-lcms=true -WESTON_DEPENDENCIES += lcms2 -else -WESTON_CONF_OPTS += -Dcolor-management-lcms=false -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -WESTON_CONF_OPTS += -Dsystemd=true -WESTON_DEPENDENCIES += systemd -else -WESTON_CONF_OPTS += -Dsystemd=false -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -WESTON_CONF_OPTS += -Dtest-junit-xml=true -WESTON_DEPENDENCIES += libxml2 -else -WESTON_CONF_OPTS += -Dtest-junit-xml=false -endif - -ifeq ($(BR2_PACKAGE_WESTON_DEMO_CLIENTS),y) -WESTON_CONF_OPTS += -Ddemo-clients=true -WESTON_DEPENDENCIES += pango -else -WESTON_CONF_OPTS += -Ddemo-clients=false -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/wf111/Config.in b/buildroot-2021.05/package/wf111/Config.in deleted file mode 100644 index 8dd20a7c..00000000 --- a/buildroot-2021.05/package/wf111/Config.in +++ /dev/null @@ -1,25 +0,0 @@ -config BR2_PACKAGE_WF111 - bool "wf111" - depends on BR2_LINUX_KERNEL - depends on BR2_ARM_CPU_ARMV5 || BR2_ARM_CPU_ARMV7A || BR2_i386 - # Binary tools are distributed alongside the driver, and are - # dynamically linked against the glibc. - depends on BR2_TOOLCHAIN_USES_GLIBC - help - Silicon Labs WF111 WiFi driver and utilities. - - Warning: CONFIG_WIRELESS_EXT and CONFIG_WEXT_PRIV must be - selected in the Linux kernel configuration. These are blind - options (i.e. not selectable directly) so they cannot be - enabled by a change in linux/linux.mk. There are two choices - to enable these options: - - By making them non blind, with a "WF111 support" - configuration entry that selects them, for example. - - By enabling another random WiFi driver that select them. - - https://www.silabs.com/wireless/wi-fi/bluegiga-legacy-modules/device.wf111 - -comment "wf111 needs a glibc toolchain" - depends on BR2_LINUX_KERNEL - depends on BR2_ARM_CPU_ARMV5 || BR2_ARM_CPU_ARMV7A || BR2_i386 - depends on !BR2_TOOLCHAIN_USES_GLIBC diff --git a/buildroot-2021.05/package/wget/Config.in b/buildroot-2021.05/package/wget/Config.in deleted file mode 100644 index acb20f8f..00000000 --- a/buildroot-2021.05/package/wget/Config.in +++ /dev/null @@ -1,15 +0,0 @@ -config BR2_PACKAGE_WGET - bool "wget" - # fork() - depends on BR2_USE_MMU - depends on BR2_USE_WCHAR - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - help - Network utility to retrieve files from http, https and ftp. - - http://www.gnu.org/software/wget/ - -comment "wget needs a toolchain w/ wchar" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS diff --git a/buildroot-2021.05/package/wget/wget.hash b/buildroot-2021.05/package/wget/wget.hash deleted file mode 100644 index 11071566..00000000 --- a/buildroot-2021.05/package/wget/wget.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated after checking pgp signature -# https://ftp.gnu.org/gnu/wget/wget-1.21.tar.lz.sig -# with key 6B98F637D879C5236E277C5C64FF90AAE8C70AF9 -sha256 db9bbe5347e6faa06fc78805eeb808b268979455ead9003a608569c9d4fc90ad wget-1.21.1.tar.lz -# Locally calculated -sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING diff --git a/buildroot-2021.05/package/wget/wget.mk b/buildroot-2021.05/package/wget/wget.mk deleted file mode 100644 index ae036478..00000000 --- a/buildroot-2021.05/package/wget/wget.mk +++ /dev/null @@ -1,57 +0,0 @@ -################################################################################ -# -# wget -# -################################################################################ - -WGET_VERSION = 1.21.1 -WGET_SOURCE = wget-$(WGET_VERSION).tar.lz -WGET_SITE = $(BR2_GNU_MIRROR)/wget -WGET_DEPENDENCIES = host-pkgconf -WGET_LICENSE = GPL-3.0+ -WGET_LICENSE_FILES = COPYING -WGET_CPE_ID_VENDOR = gnu - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -WGET_CONF_OPTS += --with-ssl=gnutls -WGET_DEPENDENCIES += gnutls -else ifeq ($(BR2_PACKAGE_OPENSSL),y) -WGET_CONF_OPTS += --with-ssl=openssl -WGET_DEPENDENCIES += openssl -else -WGET_CONF_OPTS += --without-ssl -endif - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -WGET_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_PACKAGE_LIBIDN2),y) -WGET_CONF_OPTS += --with-libidn -WGET_DEPENDENCIES += libidn2 -else -WGET_CONF_OPTS += --without-libidn -endif - -ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) -WGET_DEPENDENCIES += util-linux -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -WGET_CONF_OPTS += --with-zlib -WGET_DEPENDENCIES += zlib -else -WGET_CONF_OPTS += --without-zlib -endif - -ifeq ($(BR2_PACKAGE_PCRE2),y) -WGET_CONF_OPTS += --disable-pcre --enable-pcre2 -WGET_DEPENDENCIES += pcre2 -else ifeq ($(BR2_PACKAGE_PCRE),y) -WGET_CONF_OPTS += --enable-pcre --disable-pcre2 -WGET_DEPENDENCIES += pcre -else -WGET_CONF_OPTS += --disable-pcre --disable-pcre2 -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/whois/whois.hash b/buildroot-2021.05/package/whois/whois.hash deleted file mode 100644 index 699616ef..00000000 --- a/buildroot-2021.05/package/whois/whois.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From http://snapshot.debian.org/archive/debian/20210328T030002Z/pool/main/w/whois/whois_5.5.9.dsc -sha256 69088241ed33d2204f153c8005b312a69b60a1429075ff49f42f9f1f73a19c19 whois_5.5.9.tar.xz - -# Hash for license file: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/whois/whois.mk b/buildroot-2021.05/package/whois/whois.mk deleted file mode 100644 index 53bbe85f..00000000 --- a/buildroot-2021.05/package/whois/whois.mk +++ /dev/null @@ -1,45 +0,0 @@ -################################################################################ -# -# whois -# -################################################################################ - -WHOIS_VERSION = 5.5.9 -WHOIS_SITE = http://snapshot.debian.org/archive/debian/20210328T030002Z/pool/main/w/whois -WHOIS_SOURCE = whois_$(WHOIS_VERSION).tar.xz -WHOIS_DEPENDENCIES = \ - host-pkgconf \ - $(if $(BR2_PACKAGE_LIBIDN2),libidn2) \ - $(TARGET_NLS_DEPENDENCIES) -WHOIS_MAKE_ENV = $(TARGET_MAKE_ENV) -WHOIS_MAKE_OPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ - LIBS="$(WHOIS_EXTRA_LIBS)" -WHOIS_LICENSE = GPL-2.0+ -WHOIS_LICENSE_FILES = COPYING -WHOIS_EXTRA_LIBS = $(TARGET_NLS_LIBS) - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -WHOIS_DEPENDENCIES += libiconv -WHOIS_EXTRA_LIBS += -liconv -WHOIS_MAKE_ENV += HAVE_ICONV=1 -endif - -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -WHOIS_BUILD_TARGETS = -WHOIS_INSTALL_TARGETS = install -else -WHOIS_BUILD_TARGETS = Makefile.depend whois mkpasswd -WHOIS_INSTALL_TARGETS = install-whois install-mkpasswd -endif - -define WHOIS_BUILD_CMDS - $(WHOIS_MAKE_ENV) $(MAKE) $(WHOIS_MAKE_OPTS) \ - $(WHOIS_BUILD_TARGETS) -C $(@D) -endef - -define WHOIS_INSTALL_TARGET_CMDS - $(WHOIS_MAKE_ENV) $(MAKE) $(WHOIS_MAKE_OPTS) \ - BASEDIR="$(TARGET_DIR)" $(WHOIS_INSTALL_TARGETS) -C $(@D) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wilink-bt-firmware/wilink-bt-firmware.mk b/buildroot-2021.05/package/wilink-bt-firmware/wilink-bt-firmware.mk deleted file mode 100644 index 722c4655..00000000 --- a/buildroot-2021.05/package/wilink-bt-firmware/wilink-bt-firmware.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# wilink-bt-firmware -# -################################################################################ - -WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 -WILINK_BT_FIRMWARE_SITE = git://git.ti.com/ti-bt/service-packs.git -WILINK_BT_FIRMWARE_SITE_METHOD = git -WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY -WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE - -define WILINK_BT_FIRMWARE_INSTALL_TARGET_CMDS - mkdir -p $(TARGET_DIR)/lib/firmware/ti-connectivity - cp $(@D)/initscripts/TIInit_*.bts $(TARGET_DIR)/lib/firmware/ti-connectivity -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wine/wine.mk b/buildroot-2021.05/package/wine/wine.mk deleted file mode 100644 index 08eadb5b..00000000 --- a/buildroot-2021.05/package/wine/wine.mk +++ /dev/null @@ -1,399 +0,0 @@ -################################################################################ -# -# wine -# -################################################################################ - -WINE_VERSION = 6.0 -WINE_SOURCE = wine-$(WINE_VERSION).tar.xz -WINE_SITE = https://dl.winehq.org/wine/source/6.0 -WINE_LICENSE = LGPL-2.1+ -WINE_LICENSE_FILES = COPYING.LIB LICENSE -WINE_CPE_ID_VENDOR = winehq -WINE_DEPENDENCIES = host-bison host-flex host-wine -HOST_WINE_DEPENDENCIES = host-bison host-flex - -# Wine needs its own directory structure and tools for cross compiling -WINE_CONF_OPTS = \ - --with-wine-tools=../host-wine-$(WINE_VERSION) \ - --disable-tests \ - --disable-win64 \ - --without-capi \ - --without-coreaudio \ - --without-faudio \ - --without-gettext \ - --without-gettextpo \ - --without-gphoto \ - --without-gsm \ - --without-hal \ - --without-mingw \ - --without-opencl \ - --without-oss \ - --without-vkd3d \ - --without-vulkan - -# Wine uses a wrapper around gcc, and uses the value of --host to -# construct the filename of the gcc to call. But for external -# toolchains, the GNU_TARGET_NAME tuple that we construct from our -# internal variables may differ from the actual gcc prefix for the -# external toolchains. So, we have to override whatever the gcc -# wrapper believes what the real gcc is named, and force the tuple of -# the external toolchain, not the one we compute in GNU_TARGET_NAME. -ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) -WINE_CONF_OPTS += TARGETFLAGS="-b $(TOOLCHAIN_EXTERNAL_PREFIX)" -endif - -ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_SEQ)$(BR2_PACKAGE_ALSA_LIB_RAWMIDI),yyy) -WINE_CONF_OPTS += --with-alsa -WINE_DEPENDENCIES += alsa-lib -else -WINE_CONF_OPTS += --without-alsa -endif - -ifeq ($(BR2_PACKAGE_CUPS),y) -WINE_CONF_OPTS += --with-cups -WINE_DEPENDENCIES += cups -WINE_CONF_ENV += CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config -else -WINE_CONF_OPTS += --without-cups -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -WINE_CONF_OPTS += --with-dbus -WINE_DEPENDENCIES += dbus -else -WINE_CONF_OPTS += --without-dbus -endif - -ifeq ($(BR2_PACKAGE_FONTCONFIG),y) -WINE_CONF_OPTS += --with-fontconfig -WINE_DEPENDENCIES += fontconfig -else -WINE_CONF_OPTS += --without-fontconfig -endif - -# To support freetype in wine we also need freetype in host-wine for the cross compiling tools -ifeq ($(BR2_PACKAGE_FREETYPE),y) -WINE_CONF_OPTS += --with-freetype -HOST_WINE_CONF_OPTS += --with-freetype -WINE_DEPENDENCIES += freetype -HOST_WINE_DEPENDENCIES += host-freetype -WINE_CONF_ENV += FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config -else -WINE_CONF_OPTS += --without-freetype -HOST_WINE_CONF_OPTS += --without-freetype -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -WINE_CONF_OPTS += --with-gnutls -WINE_DEPENDENCIES += gnutls -else -WINE_CONF_OPTS += --without-gnutls -endif - -ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) -WINE_CONF_OPTS += --with-gstreamer -WINE_DEPENDENCIES += gst1-plugins-base -else -WINE_CONF_OPTS += --without-gstreamer -endif - -ifeq ($(BR2_PACKAGE_JPEG),y) -WINE_CONF_OPTS += --with-jpeg -WINE_DEPENDENCIES += jpeg -else -WINE_CONF_OPTS += --without-jpeg -endif - -ifeq ($(BR2_PACKAGE_LCMS2),y) -WINE_CONF_OPTS += --with-cms -WINE_DEPENDENCIES += lcms2 -else -WINE_CONF_OPTS += --without-cms -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) -WINE_CONF_OPTS += --with-opengl -WINE_DEPENDENCIES += libgl -else -WINE_CONF_OPTS += --without-opengl -endif - -ifeq ($(BR2_PACKAGE_LIBKRB5),y) -WINE_CONF_OPTS += --with-krb5 -WINE_DEPENDENCIES += libkrb5 -else -WINE_CONF_OPTS += --without-krb5 -endif - -ifeq ($(BR2_PACKAGE_LIBPCAP),y) -WINE_CONF_OPTS += --with-pcap -WINE_DEPENDENCIES += libpcap -else -WINE_CONF_OPTS += --without-pcap -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -WINE_CONF_OPTS += --with-png -WINE_DEPENDENCIES += libpng -else -WINE_CONF_OPTS += --without-png -endif - -ifeq ($(BR2_PACKAGE_LIBUSB),y) -WINE_CONF_OPTS += --with-usb -WINE_DEPENDENCIES += libusb -else -WINE_CONF_OPTS += --without-usb -endif - -ifeq ($(BR2_PACKAGE_LIBV4L),y) -WINE_CONF_OPTS += --with-v4l2 -WINE_DEPENDENCIES += libv4l -else -WINE_CONF_OPTS += --without-v4l2 -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -WINE_CONF_OPTS += --with-xml -WINE_DEPENDENCIES += libxml2 -WINE_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config -else -WINE_CONF_OPTS += --without-xml -endif - -ifeq ($(BR2_PACKAGE_LIBXSLT),y) -WINE_CONF_OPTS += --with-xslt -WINE_DEPENDENCIES += libxslt -WINE_CONF_ENV += XSLT_CONFIG=$(STAGING_DIR)/usr/bin/xslt-config -else -WINE_CONF_OPTS += --without-xslt -endif - -ifeq ($(BR2_PACKAGE_MPG123),y) -WINE_CONF_OPTS += --with-mpg123 -WINE_DEPENDENCIES += mpg123 -else -WINE_CONF_OPTS += --without-mpg123 -endif - -ifeq ($(BR2_PACKAGE_OPENAL),y) -WINE_CONF_OPTS += --with-openal -WINE_DEPENDENCIES += openal -else -WINE_CONF_OPTS += --without-openal -endif - -ifeq ($(BR2_PACKAGE_OPENLDAP),y) -WINE_CONF_OPTS += --with-ldap -WINE_DEPENDENCIES += openldap -else -WINE_CONF_OPTS += --without-ldap -endif - -ifeq ($(BR2_PACKAGE_MESA3D_OSMESA_GALLIUM),y) -WINE_CONF_OPTS += --with-osmesa -WINE_DEPENDENCIES += mesa3d -else -WINE_CONF_OPTS += --without-osmesa -endif - -ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) -WINE_CONF_OPTS += --with-pulse -WINE_DEPENDENCIES += pulseaudio -else -WINE_CONF_OPTS += --without-pulse -endif - -ifeq ($(BR2_PACKAGE_SAMBA4),y) -WINE_CONF_OPTS += --with-netapi -WINE_DEPENDENCIES += samba4 -else -WINE_CONF_OPTS += --without-netapi -endif - -ifeq ($(BR2_PACKAGE_SANE_BACKENDS),y) -WINE_CONF_OPTS += --with-sane -WINE_DEPENDENCIES += sane-backends -WINE_CONF_ENV += SANE_CONFIG=$(STAGING_DIR)/usr/bin/sane-config -else -WINE_CONF_OPTS += --without-sane -endif - -ifeq ($(BR2_PACKAGE_SDL2),y) -WINE_CONF_OPTS += --with-sdl -WINE_DEPENDENCIES += sdl2 -else -WINE_CONF_OPTS += --without-sdl -endif - -ifeq ($(BR2_PACKAGE_TIFF),y) -WINE_CONF_OPTS += --with-tiff -WINE_DEPENDENCIES += tiff -else -WINE_CONF_OPTS += --without-tiff -endif - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -WINE_CONF_OPTS += --with-udev -WINE_DEPENDENCIES += udev -else -WINE_CONF_OPTS += --without-udev -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) -WINE_CONF_OPTS += --with-x -WINE_DEPENDENCIES += xlib_libX11 -else -WINE_CONF_OPTS += --without-x -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) -WINE_CONF_OPTS += --with-xcomposite -WINE_DEPENDENCIES += xlib_libXcomposite -else -WINE_CONF_OPTS += --without-xcomposite -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) -WINE_CONF_OPTS += --with-xcursor -WINE_DEPENDENCIES += xlib_libXcursor -else -WINE_CONF_OPTS += --without-xcursor -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y) -WINE_CONF_OPTS += --with-xshape --with-xshm -WINE_DEPENDENCIES += xlib_libXext -else -WINE_CONF_OPTS += --without-xshape --without-xshm -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) -WINE_CONF_OPTS += --with-xinput --with-xinput2 -WINE_DEPENDENCIES += xlib_libXi -else -WINE_CONF_OPTS += --without-xinput --without-xinput2 -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) -WINE_CONF_OPTS += --with-xinerama -WINE_DEPENDENCIES += xlib_libXinerama -else -WINE_CONF_OPTS += --without-xinerama -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) -WINE_CONF_OPTS += --with-xrandr -WINE_DEPENDENCIES += xlib_libXrandr -else -WINE_CONF_OPTS += --without-xrandr -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y) -WINE_CONF_OPTS += --with-xrender -WINE_DEPENDENCIES += xlib_libXrender -else -WINE_CONF_OPTS += --without-xrender -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) -WINE_CONF_OPTS += --with-xxf86vm -WINE_DEPENDENCIES += xlib_libXxf86vm -else -WINE_CONF_OPTS += --without-xxf86vm -endif - -# host-gettext is essential for .po file support in host-wine wrc -ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) -HOST_WINE_DEPENDENCIES += host-gettext -HOST_WINE_CONF_OPTS += --with-gettext --with-gettextpo -else -HOST_WINE_CONF_OPTS += --without-gettext --without-gettextpo -endif - -# Wine needs to enable 64-bit build tools on 64-bit host -ifeq ($(HOSTARCH),x86_64) -HOST_WINE_CONF_OPTS += --enable-win64 -endif - -# Wine only needs the host tools to be built, so cut-down the -# build time by building just what we need. -HOST_WINE_TOOLS = \ - tools \ - tools/sfnt2fon \ - tools/widl \ - tools/winebuild \ - tools/winegcc \ - tools/wmc \ - tools/wrc - -define HOST_WINE_BUILD_CMDS - $(foreach t, $(HOST_WINE_TOOLS), - $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/$(t) - ) -endef - -# Wine only needs its host variant to be built, not that it is -# installed, as it uses the tools from the build directory. But -# we have no way in Buildroot to state that a host package should -# not be installed. So, just provide an noop install command. -define HOST_WINE_INSTALL_CMDS - : -endef - -# We are focused on the cross compiling tools, disable everything else -HOST_WINE_CONF_OPTS += \ - --disable-tests \ - --disable-win16 \ - --without-alsa \ - --without-capi \ - --without-cms \ - --without-coreaudio \ - --without-faudio \ - --without-cups \ - --without-dbus \ - --without-fontconfig \ - --without-gphoto \ - --without-gnutls \ - --without-gsm \ - --without-gssapi \ - --without-gstreamer \ - --without-hal \ - --without-jpeg \ - --without-krb5 \ - --without-ldap \ - --without-mingw \ - --without-mpg123 \ - --without-netapi \ - --without-openal \ - --without-opencl \ - --without-opengl \ - --without-osmesa \ - --without-oss \ - --without-pcap \ - --without-pulse \ - --without-png \ - --without-sane \ - --without-sdl \ - --without-tiff \ - --without-usb \ - --without-v4l2 \ - --without-vkd3d \ - --without-vulkan \ - --without-x \ - --without-xcomposite \ - --without-xcursor \ - --without-xinerama \ - --without-xinput \ - --without-xinput2 \ - --without-xml \ - --without-xrandr \ - --without-xrender \ - --without-xshape \ - --without-xshm \ - --without-xslt \ - --without-xxf86vm - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/wireguard-linux-compat/Config.in b/buildroot-2021.05/package/wireguard-linux-compat/Config.in deleted file mode 100644 index 5a323a35..00000000 --- a/buildroot-2021.05/package/wireguard-linux-compat/Config.in +++ /dev/null @@ -1,26 +0,0 @@ -config BR2_PACKAGE_WIREGUARD_LINUX_COMPAT - bool "wireguard linux-compat" - depends on BR2_LINUX_KERNEL - # kernel module requires 3.10+ - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - # kernel module in upstream linux since 5.6 - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 - help - WireGuard is an extremely simple yet fast and modern VPN - that utilizes state-of-the-art cryptography. It aims to be - faster, simpler, leaner, and more useful than IPSec, while - avoiding the massive headache. It intends to be considerably - more performant than OpenVPN. WireGuard is designed as a - general purpose VPN for running on embedded interfaces and - super computers alike, fit for many different - circumstances. - - Support for WireGuard is included in Linux 5.6+. This - package provides a backport of the kernel support for older - kernels. - - https://www.wireguard.com - -comment "wireguard-linux-compat needs a toolchain w/ headers >= 3.10" - depends on BR2_LINUX_KERNEL - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 diff --git a/buildroot-2021.05/package/wireguard-linux-compat/wireguard-linux-compat.hash b/buildroot-2021.05/package/wireguard-linux-compat/wireguard-linux-compat.hash deleted file mode 100644 index c164a9e4..00000000 --- a/buildroot-2021.05/package/wireguard-linux-compat/wireguard-linux-compat.hash +++ /dev/null @@ -1,4 +0,0 @@ -# https://lists.zx2c4.com/pipermail/wireguard/2021-February/006404.html -sha256 99d35296b8d847a0d4db97a4dda96b464311a6354e75fe0bef6e7c4578690f00 wireguard-linux-compat-1.0.20210219.tar.xz -# Locally calculated -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/wireguard-linux-compat/wireguard-linux-compat.mk b/buildroot-2021.05/package/wireguard-linux-compat/wireguard-linux-compat.mk deleted file mode 100644 index eba56866..00000000 --- a/buildroot-2021.05/package/wireguard-linux-compat/wireguard-linux-compat.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# wireguard -# -################################################################################ - -WIREGUARD_LINUX_COMPAT_VERSION = 1.0.20210219 -WIREGUARD_LINUX_COMPAT_SITE = https://git.zx2c4.com/wireguard-linux-compat/snapshot -WIREGUARD_LINUX_COMPAT_SOURCE = wireguard-linux-compat-$(WIREGUARD_LINUX_COMPAT_VERSION).tar.xz -WIREGUARD_LINUX_COMPAT_LICENSE = GPL-2.0 -WIREGUARD_LINUX_COMPAT_LICENSE_FILES = COPYING -WIREGUARD_LINUX_COMPAT_MODULE_SUBDIRS = src - -define WIREGUARD_LINUX_COMPAT_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_INET) - $(call KCONFIG_ENABLE_OPT,CONFIG_NET) - $(call KCONFIG_ENABLE_OPT,CONFIG_NET_FOU) - $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO) - $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MANAGER) -endef - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wireguard-tools/wireguard-tools.hash b/buildroot-2021.05/package/wireguard-tools/wireguard-tools.hash deleted file mode 100644 index dab7f72c..00000000 --- a/buildroot-2021.05/package/wireguard-tools/wireguard-tools.hash +++ /dev/null @@ -1,4 +0,0 @@ -# https://lists.zx2c4.com/pipermail/wireguard/2021-February/006407.html -sha256 1f72da217044622d79e0bab57779e136a3df795e3761a3fc1dc0941a9055877c wireguard-tools-1.0.20210223.tar.xz -# Locally calculated -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/wireguard-tools/wireguard-tools.mk b/buildroot-2021.05/package/wireguard-tools/wireguard-tools.mk deleted file mode 100644 index d3d20698..00000000 --- a/buildroot-2021.05/package/wireguard-tools/wireguard-tools.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# wireguard-tools -# -################################################################################ - -WIREGUARD_TOOLS_VERSION = 1.0.20210223 -WIREGUARD_TOOLS_SITE = https://git.zx2c4.com/wireguard-tools/snapshot -WIREGUARD_TOOLS_SOURCE = wireguard-tools-$(WIREGUARD_TOOLS_VERSION).tar.xz -WIREGUARD_TOOLS_LICENSE = GPL-2.0 -WIREGUARD_TOOLS_LICENSE_FILES = COPYING - -ifeq ($(BR2_INIT_SYSTEMD),y) -WIREGUARD_TOOLS_MAKE_OPTS += WITH_SYSTEMDUNITS=yes -WIREGUARD_TOOLS_DEPENDENCIES += host-pkgconf -else -WIREGUARD_TOOLS_MAKE_OPTS += WITH_SYSTEMDUNITS=no -endif - -ifeq ($(BR2_PACKAGE_BASH),y) -WIREGUARD_TOOLS_MAKE_OPTS += WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes -else -WIREGUARD_TOOLS_MAKE_OPTS += WITH_BASHCOMPLETION=no WITH_WGQUICK=no -endif - -define WIREGUARD_TOOLS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(WIREGUARD_TOOLS_MAKE_OPTS) \ - -C $(@D)/src -endef - -define WIREGUARD_TOOLS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(WIREGUARD_TOOLS_MAKE_OPTS) \ - -C $(@D)/src install DESTDIR=$(TARGET_DIR) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wireless-regdb/wireless-regdb.hash b/buildroot-2021.05/package/wireless-regdb/wireless-regdb.hash deleted file mode 100644 index 5403110b..00000000 --- a/buildroot-2021.05/package/wireless-regdb/wireless-regdb.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc -sha256 b4164490d82ff7b0086e812ac42ab27baf57be24324d4c0ee1c5dd6ba27f2a52 wireless-regdb-2020.11.20.tar.xz -# Locally computed -sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/buildroot-2021.05/package/wireless-regdb/wireless-regdb.mk b/buildroot-2021.05/package/wireless-regdb/wireless-regdb.mk deleted file mode 100644 index 2f9e91df..00000000 --- a/buildroot-2021.05/package/wireless-regdb/wireless-regdb.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# wireless-regdb -# -################################################################################ - -WIRELESS_REGDB_VERSION = 2020.11.20 -WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz -WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb -WIRELESS_REGDB_LICENSE = ISC -WIRELESS_REGDB_LICENSE_FILES = LICENSE -WIRELESS_REGDB_CPE_ID_VENDOR = kernel - -ifeq ($(BR2_PACKAGE_CRDA),y) -define WIRELESS_REGDB_INSTALL_CRDA_TARGET_CMDS - $(INSTALL) -m 644 -D -T $(@D)/regulatory.bin \ - $(TARGET_DIR)/usr/lib/crda/regulatory.bin - $(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \ - $(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem -endef -endif - -define WIRELESS_REGDB_INSTALL_TARGET_CMDS - $(WIRELESS_REGDB_INSTALL_CRDA_TARGET_CMDS) - $(INSTALL) -m 644 -D -T $(@D)/regulatory.db \ - $(TARGET_DIR)/lib/firmware/regulatory.db - $(INSTALL) -m 644 -D -T $(@D)/regulatory.db.p7s \ - $(TARGET_DIR)/lib/firmware/regulatory.db.p7s -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wireshark/Config.in b/buildroot-2021.05/package/wireshark/Config.in deleted file mode 100644 index 95fc9b38..00000000 --- a/buildroot-2021.05/package/wireshark/Config.in +++ /dev/null @@ -1,52 +0,0 @@ -config BR2_PACKAGE_WIRESHARK - bool "wireshark" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -> libgpg-error - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU # fork(), glib2 - depends on BR2_USE_WCHAR # glib2 - depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 - select BR2_PACKAGE_C_ARES - select BR2_PACKAGE_LIBPCAP - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_LIBGLIB2 - select BR2_PACKAGE_SPEEXDSP - help - Network traffic sniffer and protocol decoder. - - https://www.wireshark.org - -if BR2_PACKAGE_WIRESHARK - -config BR2_PACKAGE_WIRESHARK_GUI - bool "Qt5 GUI" - default y - depends on BR2_INSTALL_LIBSTDCPP # qt5 - depends on BR2_HOST_GCC_AT_LEAST_5 # qt5 - depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # qt5 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # qt5 - depends on !BR2_arc # qt5 - depends on BR2_PACKAGE_HAS_UDEV # qt5 input - select BR2_PACKAGE_QT5 - select BR2_PACKAGE_QT5BASE_FONTCONFIG # runtime - select BR2_PACKAGE_QT5BASE_PNG # runtime - select BR2_PACKAGE_QT5BASE_WIDGETS - select BR2_PACKAGE_QT5MULTIMEDIA - select BR2_PACKAGE_QT5SVG - select BR2_PACKAGE_QT5TOOLS - select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS - help - Enable Qt5 GUI - -comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host gcc >= 5.0, gcc >= 5.0" - depends on !BR2_arc - depends on !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP || \ - !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \ - !BR2_HOST_GCC_AT_LEAST_5 - -endif # BR2_PACKAGE_WIRESHARK - -comment "wireshark needs a toolchain w/ wchar, threads, dynamic library" - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/wireshark/wireshark.hash b/buildroot-2021.05/package/wireshark/wireshark.hash deleted file mode 100644 index 57290b90..00000000 --- a/buildroot-2021.05/package/wireshark/wireshark.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-3.4.5.txt -sha1 d01a9b5f58206fb458fe9fc2dac88ad0ea7152ce wireshark-3.4.5.tar.xz -sha256 de1aafd100a1e1207c850d180e97dd91ab8da0f5eb6beec545f725cdb145d333 wireshark-3.4.5.tar.xz - -# Locally calculated -sha256 7cdbed2b697efaa45576a033f1ac0e73cd045644a91c79bbf41d4a7d81dac7bf COPYING diff --git a/buildroot-2021.05/package/wireshark/wireshark.mk b/buildroot-2021.05/package/wireshark/wireshark.mk deleted file mode 100644 index 3d656cf3..00000000 --- a/buildroot-2021.05/package/wireshark/wireshark.mk +++ /dev/null @@ -1,203 +0,0 @@ -################################################################################ -# -# wireshark -# -################################################################################ - -WIRESHARK_VERSION = 3.4.5 -WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz -WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions -WIRESHARK_LICENSE = wireshark license -WIRESHARK_LICENSE_FILES = COPYING -WIRESHARK_CPE_ID_VENDOR = wireshark -WIRESHARK_DEPENDENCIES = \ - c-ares \ - host-pkgconf \ - host-python3 \ - libgcrypt \ - libglib2 \ - libpcap \ - speexdsp - -WIRESHARK_MAKE_ENV = \ - $(TARGET_MAKE_ENV) \ - PATH="$(@D)/bin:$(BR_PATH)" - -WIRESHARK_CONF_OPTS = \ - -DDISABLE_WERROR=ON \ - -DENABLE_ILBC=OFF \ - -DENABLE_PCAP=ON \ - -DENABLE_SMI=OFF - -# wireshark needs the host version of lemon during compilation. -# This binrary is provided by sqlite-src (which is different from -# sqlite-autotools that is currently packaged in buildroot) moreover wireshark -# adds several patches. -# So, instead of creating a separate host package and installing lemon to -# $(HOST_DIR), this binary is compiled on-the-fly -define WIRESHARK_BUILD_LEMON_TOOL - cd $(@D); \ - mkdir -p $(@D)/bin; \ - $(HOSTCC) $(HOST_CFLAGS) -o $(@D)/bin/lemon tools/lemon/lemon.c -endef - -WIRESHARK_PRE_BUILD_HOOKS += WIRESHARK_BUILD_LEMON_TOOL - -ifeq ($(BR2_GCC_ENABLE_LTO),y) -WIRESHARK_CONF_OPTS += -DENABLE_LTO=ON -else -WIRESHARK_CONF_OPTS += -DENABLE_LTO=OFF -endif - -ifeq ($(BR2_PACKAGE_WIRESHARK_GUI),y) -WIRESHARK_CONF_OPTS += -DBUILD_wireshark=ON -WIRESHARK_DEPENDENCIES += qt5base qt5multimedia qt5svg qt5tools -else -WIRESHARK_CONF_OPTS += -DBUILD_wireshark=OFF -endif - -ifeq ($(BR2_PACKAGE_BCG729),y) -WIRESHARK_CONF_OPTS += -DENABLE_BCG729=ON -WIRESHARK_DEPENDENCIES += bcg729 -else -WIRESHARK_CONF_OPTS += -DENABLE_BCG729=OFF -endif - -ifeq ($(BR2_PACKAGE_BROTLI),y) -WIRESHARK_CONF_OPTS += -DENABLE_BROTLI=ON -WIRESHARK_DEPENDENCIES += brotli -else -WIRESHARK_CONF_OPTS += -DENABLE_BROTLI=OFF -endif - -ifeq ($(BR2_PACKAGE_GNUTLS),y) -WIRESHARK_CONF_OPTS += -DENABLE_GNUTLS=ON -WIRESHARK_DEPENDENCIES += gnutls -else -WIRESHARK_CONF_OPTS += -DENABLE_GNUTLS=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBKRB5),y) -WIRESHARK_CONF_OPTS += -DENABLE_KERBEROS=ON -WIRESHARK_DEPENDENCIES += libkrb5 -else -WIRESHARK_CONF_OPTS += -DENABLE_KERBEROS=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y) -WIRESHARK_CONF_OPTS += -DBUILD_mmdbresolve=ON -WIRESHARK_DEPENDENCIES += libmaxminddb -else -WIRESHARK_CONF_OPTS += -DBUILD_mmdbresolve=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBNL),y) -WIRESHARK_CONF_OPTS += -DENABLE_NETLINK=ON -WIRESHARK_DEPENDENCIES += libnl -else -WIRESHARK_CONF_OPTS += -DENABLE_NETLINK=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBSSH),y) -WIRESHARK_CONF_OPTS += -DENABLE_LIBSSH=ON -WIRESHARK_DEPENDENCIES += libssh -else -WIRESHARK_CONF_OPTS += -DENABLE_LIBSSH=OFF -endif - -ifeq ($(BR2_PACKAGE_LIBXML2),y) -WIRESHARK_CONF_OPTS += -DENABLE_LIBXML2=ON -WIRESHARK_DEPENDENCIES += libxml2 -else -WIRESHARK_CONF_OPTS += -DENABLE_LIBXML2=OFF -endif - -# no support for lua53 yet -ifeq ($(BR2_PACKAGE_LUA_5_1),y) -WIRESHARK_CONF_OPTS += -DENABLE_LUA=ON -WIRESHARK_DEPENDENCIES += lua -else -WIRESHARK_CONF_OPTS += -DENABLE_LUA=OFF -endif - -ifeq ($(BR2_PACKAGE_LZ4),y) -WIRESHARK_CONF_OPTS += -DENABLE_LZ4=ON -WIRESHARK_DEPENDENCIES += lz4 -else -WIRESHARK_CONF_OPTS += -DENABLE_LZ4=OFF -endif - -ifeq ($(BR2_PACKAGE_NGHTTP2),y) -WIRESHARK_CONF_OPTS += -DENABLE_NGHTTP2=ON -WIRESHARK_DEPENDENCIES += nghttp2 -else -WIRESHARK_CONF_OPTS += -DENABLE_NGHTTP2=OFF -endif - -ifeq ($(BR2_PACKAGE_OPUS),y) -WIRESHARK_CONF_OPTS += -DENABLE_OPUS=ON -WIRESHARK_DEPENDENCIES += opus -else -WIRESHARK_CONF_OPTS += -DENABLE_OPUS=OFF -endif - -ifeq ($(BR2_PACKAGE_SBC),y) -WIRESHARK_CONF_OPTS += -DENABLE_SBC=ON -WIRESHARK_DEPENDENCIES += sbc -else -WIRESHARK_CONF_OPTS += -DENABLE_SBC=OFF -endif - -ifeq ($(BR2_PACKAGE_SNAPPY),y) -WIRESHARK_CONF_OPTS += -DENABLE_SNAPPY=ON -WIRESHARK_DEPENDENCIES += snappy -else -WIRESHARK_CONF_OPTS += -DENABLE_SNAPPY=OFF -endif - -ifeq ($(BR2_PACKAGE_SPANDSP),y) -WIRESHARK_CONF_OPTS += -DENABLE_SPANDSP=ON -WIRESHARK_DEPENDENCIES += spandsp -else -WIRESHARK_CONF_OPTS += -DENABLE_SPANDSP=OFF -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -WIRESHARK_CONF_OPTS += -DBUILD_sdjournal=ON -WIRESHARK_DEPENDENCIES += systemd -else -WIRESHARK_CONF_OPTS += -DBUILD_sdjournal=OFF -endif - -ifeq ($(BR2_PACKAGE_ZSTD),y) -WIRESHARK_CONF_OPTS += -DENABLE_ZSTD=ON -WIRESHARK_DEPENDENCIES += zstd -else -WIRESHARK_CONF_OPTS += -DENABLE_ZSTD=OFF -endif - -# Disable plugins as some of them (like l16mono) can't be built -# statically. ENABLE_STATIC=ON actually means "disable shared library" -# and ENABLE_STATIC=OFF means "enable shared library". So for the -# BR2_SHARED_STATIC_LIBS=y case, we want ENABLE_STATIC=OFF even if -# that sounds counter-intuitive. -ifeq ($(BR2_STATIC_LIBS),y) -WIRESHARK_CONF_OPTS += \ - -DENABLE_PLUGINS=OFF \ - -DENABLE_STATIC=ON \ - -DUSE_STATIC=ON -else -WIRESHARK_CONF_OPTS += \ - -DENABLE_PLUGINS=ON \ - -DENABLE_STATIC=OFF \ - -DUSE_STATIC=OFF -endif - -define WIRESHARK_REMOVE_DOCS - find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \ - -o -name '*.html' -print0 | xargs -0 rm -f -endef - -WIRESHARK_POST_INSTALL_TARGET_HOOKS += WIRESHARK_REMOVE_DOCS - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/wlroots/Config.in b/buildroot-2021.05/package/wlroots/Config.in deleted file mode 100644 index 694aa79d..00000000 --- a/buildroot-2021.05/package/wlroots/Config.in +++ /dev/null @@ -1,40 +0,0 @@ -comment "wlroots needs udev, EGL w/ Wayland backend and OpenGL ES support" - depends on !BR2_PACKAGE_HAS_LIBEGL || \ - !BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ - !BR2_PACKAGE_HAS_LIBGLES || \ - !BR2_PACKAGE_HAS_UDEV - -comment "wlroots needs a toolchain w/ threads, dynamic library" - depends on !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS - -config BR2_PACKAGE_WLROOTS - bool "wlroots" - depends on !BR2_STATIC_LIBS # wayland - depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland - depends on BR2_PACKAGE_HAS_UDEV # libinput - depends on BR2_PACKAGE_HAS_LIBEGL - depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND - depends on BR2_PACKAGE_HAS_LIBGLES - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_LIBINPUT - select BR2_PACKAGE_LIBXKBCOMMON - select BR2_PACKAGE_PIXMAN - select BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_WAYLAND_PROTOCOLS - help - wlroots is a modular Wayland library for building compositors - which implements many of their common features. - - https://github.com/swaywm/wlroots - -if BR2_PACKAGE_WLROOTS - -config BR2_PACKAGE_WLROOTS_X11 - bool "X11 backend" - depends on BR2_PACKAGE_XORG7 - select BR2_PACKAGE_XLIB_LIBX11 - help - Support Wayland sessions nested inside a X11 window - -endif diff --git a/buildroot-2021.05/package/wlroots/wlroots.hash b/buildroot-2021.05/package/wlroots/wlroots.hash deleted file mode 100644 index 2fab9b30..00000000 --- a/buildroot-2021.05/package/wlroots/wlroots.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.12.0/wlroots-0.12.0.tar.gz.sig -sha256 c9e9f4f6d2f526d0b2886daf3ec37e64831773059aa669fb98a88522a1626bdb wlroots-0.12.0.tar.gz - -# Hashes for license files: -sha256 ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b LICENSE diff --git a/buildroot-2021.05/package/wlroots/wlroots.mk b/buildroot-2021.05/package/wlroots/wlroots.mk deleted file mode 100644 index 0160b1ae..00000000 --- a/buildroot-2021.05/package/wlroots/wlroots.mk +++ /dev/null @@ -1,63 +0,0 @@ -################################################################################ -# -# wlroots -# -################################################################################ - -WLROOTS_VERSION = 0.12.0 -WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION) -WLROOTS_LICENSE = MIT -WLROOTS_LICENSE_FILES = LICENSE -WLROOTS_INSTALL_STAGING = YES - -WLROOTS_DEPENDENCIES = \ - host-pkgconf \ - host-wayland \ - libinput \ - libxkbcommon \ - libegl \ - libgles \ - pixman \ - udev \ - wayland \ - wayland-protocols - -WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Dlibseat=disabled - -ifeq ($(BR2_PACKAGE_FFMPEG),y) -WLROOTS_DEPENDENCIES += ffmpeg -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -WLROOTS_DEPENDENCIES += libpng -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y) -WLROOTS_CONF_OPTS += -Dlogind=enabled -Dlogind-provider=systemd -WLROOTS_DEPENDENCIES += systemd -else -WLROOTS_CONF_OPTS += -Dlogind=disabled -endif - -ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) -WLROOTS_CONF_OPTS += -Dx11-backend=enabled -WLROOTS_DEPENDENCIES += xlib_libX11 -else -WLROOTS_CONF_OPTS += -Dx11-backend=disabled -endif - -ifeq ($(BR2_PACKAGE_LIBXCB),y) -WLROOTS_CONF_OPTS += -Dxwayland=enabled -WLROOTS_DEPENDENCIES += libxcb -else -WLROOTS_CONF_OPTS += -Dxwayland=disabled -endif - -ifeq ($(BR2_PACKAGE_XCB_UTIL_WM),y) -WLROOTS_CONF_OPTS += -Dxcb-icccm=enabled -WLROOTS_DEPENDENCIES += xcb-util-wm -else -WLROOTS_CONF_OPTS += -Dxcb-icccm=disabled -endif - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/woff2/woff2.hash b/buildroot-2021.05/package/woff2/woff2.hash deleted file mode 100644 index 469071e3..00000000 --- a/buildroot-2021.05/package/woff2/woff2.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally generated: -sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d v1.0.2.tar.gz - -# Hash for license files: -sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE diff --git a/buildroot-2021.05/package/woff2/woff2.mk b/buildroot-2021.05/package/woff2/woff2.mk deleted file mode 100644 index b2ff33fe..00000000 --- a/buildroot-2021.05/package/woff2/woff2.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# woff2 -# -################################################################################ - -WOFF2_VERSION = 1.0.2 -WOFF2_SOURCE = v$(WOFF2_VERSION).tar.gz -WOFF2_SITE = https://github.com/google/woff2/archive -WOFF2_LICENSE = MIT -WOFF2_LICENSE_FILES = LICENSE -WOFF2_INSTALL_STAGING = YES -WOFF2_DEPENDENCIES = brotli -WOFF2_CONF_OPTS = \ - -DNOISY_LOGGING=OFF - -# The CMake build files for woff2 manually set some RPATH handling options -# which make the installation steps fail with static builds, so pass this -# to prevent any attempt of mangling RPATH that CMake would do. -ifneq ($(BR2_SHARED_LIBS),y) -WOFF2_CONF_OPTS += -DCMAKE_SKIP_RPATH=ON -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/wolfssl/wolfssl.hash b/buildroot-2021.05/package/wolfssl/wolfssl.hash deleted file mode 100644 index 05fee25b..00000000 --- a/buildroot-2021.05/package/wolfssl/wolfssl.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally computed: -sha256 b0e740b31d4d877d540ad50cc539a8873fc41af02bd3091c4357b403f7106e31 wolfssl-4.7.0-stable.tar.gz - -# Hash for license files: -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING -sha256 b23c1da1f85d699d3288d73c952b4cd02760d23dc1ddc1b221cbb8be82387189 LICENSING diff --git a/buildroot-2021.05/package/wolfssl/wolfssl.mk b/buildroot-2021.05/package/wolfssl/wolfssl.mk deleted file mode 100644 index fe21ddcd..00000000 --- a/buildroot-2021.05/package/wolfssl/wolfssl.mk +++ /dev/null @@ -1,48 +0,0 @@ -################################################################################ -# -# wolfssl -# -################################################################################ - -WOLFSSL_VERSION = 4.7.0-stable -WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)) -WOLFSSL_INSTALL_STAGING = YES - -WOLFSSL_LICENSE = GPL-2.0+ -WOLFSSL_LICENSE_FILES = COPYING LICENSING -WOLFSSL_CPE_ID_VENDOR = wolfssl - -WOLFSSL_DEPENDENCIES = host-pkgconf - -# wolfssl's source code is released without a configure -# script, so we need autoreconf -WOLFSSL_AUTORECONF = YES - -WOLFSSL_CONF_OPTS = --disable-examples --disable-crypttests - -ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y) -WOLFSSL_CONF_OPTS += --enable-all -else -WOLFSSL_CONF_OPTS += --disable-all -endif - -ifeq ($(BR2_PACKAGE_WOLFSSL_SSLV3),y) -WOLFSSL_CONF_OPTS += --enable-sslv3 -else -WOLFSSL_CONF_OPTS += --disable-sslv3 -endif - -# enable ARMv8 hardware acceleration -ifeq ($(BR2_ARM_CPU_ARMV8A),y) -WOLFSSL_CONF_OPTS += --enable-armasm -# the flag -mstrict-align is needed to prevent build errors caused by -# some inline assembly in parts of the AES structure using the "m" -# constraint -ifeq ($(BR2_aarch64),y) -WOLFSSL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -mstrict-align" -endif -else -WOLFSSL_CONF_OPTS += --disable-armasm -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/wpa_supplicant/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch b/buildroot-2021.05/package/wpa_supplicant/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch deleted file mode 100644 index 959788c2..00000000 --- a/buildroot-2021.05/package/wpa_supplicant/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch +++ /dev/null @@ -1,77 +0,0 @@ -From 8c07fa9eda13e835f3f968b2e1c9a8be3a851ff9 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Thu, 29 Aug 2019 11:52:04 +0300 -Subject: [PATCH] AP: Silently ignore management frame from unexpected source - address - -Do not process any received Management frames with unexpected/invalid SA -so that we do not add any state for unexpected STA addresses or end up -sending out frames to unexpected destination. This prevents unexpected -sequences where an unprotected frame might end up causing the AP to send -out a response to another device and that other device processing the -unexpected response. - -In particular, this prevents some potential denial of service cases -where the unexpected response frame from the AP might result in a -connected station dropping its association. - -Signed-off-by: Jouni Malinen - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://w1.fi/security/2019-7/0001-AP-Silently-ignore-management-frame-from-unexpected-.patch] ---- - src/ap/drv_callbacks.c | 13 +++++++++++++ - src/ap/ieee802_11.c | 12 ++++++++++++ - 2 files changed, 25 insertions(+) - -diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c -index 31587685fe3b..34ca379edc3d 100644 ---- a/src/ap/drv_callbacks.c -+++ b/src/ap/drv_callbacks.c -@@ -131,6 +131,19 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr, - "hostapd_notif_assoc: Skip event with no address"); - return -1; - } -+ -+ if (is_multicast_ether_addr(addr) || -+ is_zero_ether_addr(addr) || -+ os_memcmp(addr, hapd->own_addr, ETH_ALEN) == 0) { -+ /* Do not process any frames with unexpected/invalid SA so that -+ * we do not add any state for unexpected STA addresses or end -+ * up sending out frames to unexpected destination. */ -+ wpa_printf(MSG_DEBUG, "%s: Invalid SA=" MACSTR -+ " in received indication - ignore this indication silently", -+ __func__, MAC2STR(addr)); -+ return 0; -+ } -+ - random_add_randomness(addr, ETH_ALEN); - - hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211, -diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c -index c85a28db44b7..e7065372e158 100644 ---- a/src/ap/ieee802_11.c -+++ b/src/ap/ieee802_11.c -@@ -4626,6 +4626,18 @@ int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len, - fc = le_to_host16(mgmt->frame_control); - stype = WLAN_FC_GET_STYPE(fc); - -+ if (is_multicast_ether_addr(mgmt->sa) || -+ is_zero_ether_addr(mgmt->sa) || -+ os_memcmp(mgmt->sa, hapd->own_addr, ETH_ALEN) == 0) { -+ /* Do not process any frames with unexpected/invalid SA so that -+ * we do not add any state for unexpected STA addresses or end -+ * up sending out frames to unexpected destination. */ -+ wpa_printf(MSG_DEBUG, "MGMT: Invalid SA=" MACSTR -+ " in received frame - ignore this frame silently", -+ MAC2STR(mgmt->sa)); -+ return 0; -+ } -+ - if (stype == WLAN_FC_STYPE_BEACON) { - handle_beacon(hapd, mgmt, len, fi); - return 1; --- -2.20.1 - diff --git a/buildroot-2021.05/package/wpa_supplicant/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch b/buildroot-2021.05/package/wpa_supplicant/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch deleted file mode 100644 index 5dcfed94..00000000 --- a/buildroot-2021.05/package/wpa_supplicant/0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch +++ /dev/null @@ -1,116 +0,0 @@ -From a0541334a6394f8237a4393b7372693cd7e96f15 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Sat, 13 Mar 2021 18:19:31 +0200 -Subject: [PATCH] ASN.1: Validate DigestAlgorithmIdentifier parameters - -The supported hash algorithms do not use AlgorithmIdentifier parameters. -However, there are implementations that include NULL parameters in -addition to ones that omit the parameters. Previous implementation did -not check the parameters value at all which supported both these cases, -but did not reject any other unexpected information. - -Use strict validation of digest algorithm parameters and reject any -unexpected value when validating a signature. This is needed to prevent -potential forging attacks. - -Signed-off-by: Jouni Malinen -Signed-off-by: Peter Korsgaard ---- - src/tls/pkcs1.c | 21 +++++++++++++++++++++ - src/tls/x509v3.c | 20 ++++++++++++++++++++ - 2 files changed, 41 insertions(+) - -diff --git a/src/tls/pkcs1.c b/src/tls/pkcs1.c -index bbdb0d72d..5761dfed0 100644 ---- a/src/tls/pkcs1.c -+++ b/src/tls/pkcs1.c -@@ -244,6 +244,8 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk, - os_free(decrypted); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: DigestInfo", -+ hdr.payload, hdr.length); - - pos = hdr.payload; - end = pos + hdr.length; -@@ -265,6 +267,8 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk, - os_free(decrypted); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: DigestAlgorithmIdentifier", -+ hdr.payload, hdr.length); - da_end = hdr.payload + hdr.length; - - if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) { -@@ -273,6 +277,23 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk, - os_free(decrypted); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: Digest algorithm parameters", -+ next, da_end - next); -+ -+ /* -+ * RFC 5754: The correct encoding for the SHA2 algorithms would be to -+ * omit the parameters, but there are implementation that encode these -+ * as a NULL element. Allow these two cases and reject anything else. -+ */ -+ if (da_end > next && -+ (asn1_get_next(next, da_end - next, &hdr) < 0 || -+ !asn1_is_null(&hdr) || -+ hdr.payload + hdr.length != da_end)) { -+ wpa_printf(MSG_DEBUG, -+ "PKCS #1: Unexpected digest algorithm parameters"); -+ os_free(decrypted); -+ return -1; -+ } - - if (!asn1_oid_equal(&oid, hash_alg)) { - char txt[100], txt2[100]; -diff --git a/src/tls/x509v3.c b/src/tls/x509v3.c -index a8944dd2f..df337ec4d 100644 ---- a/src/tls/x509v3.c -+++ b/src/tls/x509v3.c -@@ -1964,6 +1964,7 @@ int x509_check_signature(struct x509_certificate *issuer, - os_free(data); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "X509: DigestInfo", hdr.payload, hdr.length); - - pos = hdr.payload; - end = pos + hdr.length; -@@ -1985,6 +1986,8 @@ int x509_check_signature(struct x509_certificate *issuer, - os_free(data); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "X509: DigestAlgorithmIdentifier", -+ hdr.payload, hdr.length); - da_end = hdr.payload + hdr.length; - - if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) { -@@ -1992,6 +1995,23 @@ int x509_check_signature(struct x509_certificate *issuer, - os_free(data); - return -1; - } -+ wpa_hexdump(MSG_MSGDUMP, "X509: Digest algorithm parameters", -+ next, da_end - next); -+ -+ /* -+ * RFC 5754: The correct encoding for the SHA2 algorithms would be to -+ * omit the parameters, but there are implementation that encode these -+ * as a NULL element. Allow these two cases and reject anything else. -+ */ -+ if (da_end > next && -+ (asn1_get_next(next, da_end - next, &hdr) < 0 || -+ !asn1_is_null(&hdr) || -+ hdr.payload + hdr.length != da_end)) { -+ wpa_printf(MSG_DEBUG, -+ "X509: Unexpected digest algorithm parameters"); -+ os_free(data); -+ return -1; -+ } - - if (x509_sha1_oid(&oid)) { - if (signature->oid.oid[6] != 5 /* sha-1WithRSAEncryption */) { --- -2.20.1 - diff --git a/buildroot-2021.05/package/wpa_supplicant/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch b/buildroot-2021.05/package/wpa_supplicant/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch deleted file mode 100644 index e52dbdb6..00000000 --- a/buildroot-2021.05/package/wpa_supplicant/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 99cf89555313056d3a8fa54b21d02dc880b363e1 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Mon, 20 Apr 2020 20:29:31 +0300 -Subject: [PATCH] Include stdbool.h to allow C99 bool to be used - -We have practically started requiring some C99 features, so might as -well finally go ahead and bring in the C99 bool as well. - -Signed-off-by: Jouni Malinen -[geomatsi@gmail.com: backport from upstream] -Signed-off-by: Sergey Matyukevich -[yann.morin.1998@free.fr: keep upstream sha1 in header, drop numbering] -Signed-off-by: Yann E. MORIN ---- - src/utils/includes.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/utils/includes.h b/src/utils/includes.h -index 75513fc8c..741fc9c14 100644 ---- a/src/utils/includes.h -+++ b/src/utils/includes.h -@@ -18,6 +18,7 @@ - - #include - #include -+#include - #include - #include - #include --- -2.25.1 - diff --git a/buildroot-2021.05/package/wpa_supplicant/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch b/buildroot-2021.05/package/wpa_supplicant/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch deleted file mode 100644 index a5415e7d..00000000 --- a/buildroot-2021.05/package/wpa_supplicant/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 9a990e8c4eb92dd64e0ec483599820e45c35ac23 Mon Sep 17 00:00:00 2001 -From: Jouni Malinen -Date: Sat, 13 Mar 2021 23:14:23 +0200 -Subject: [PATCH] ASN.1: Add helper functions for recognizing tag values - -Signed-off-by: Jouni Malinen -[geomatsi@gmail.com: backport asn1_is_null() from upstream 9a990e8c4eb9] -Signed-off-by: Sergey Matyukevich -[yann.morin.1998@free.fr: - - reformat, keep the upstream sha1 and title, - - drop numbering -] -Signed-off-by: Yann E. MORIN ---- - src/tls/asn1.h | 102 +++++++++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 102 insertions(+) - -diff --git a/src/tls/asn1.h b/src/tls/asn1.h -index de3430adb..a4d1be473 100644 ---- a/src/tls/asn1.h -+++ b/src/tls/asn1.h -@@ -66,6 +66,12 @@ struct wpabuf * asn1_build_alg_id(const struct asn1_oid *oid, - unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len); - int asn1_oid_equal(const struct asn1_oid *a, const struct asn1_oid *b); - -+static inline bool asn1_is_null(const struct asn1_hdr *hdr) -+{ -+ return hdr->class == ASN1_CLASS_UNIVERSAL && -+ hdr->tag == ASN1_TAG_NULL; -+} -+ - extern struct asn1_oid asn1_sha1_oid; - extern struct asn1_oid asn1_sha256_oid; - --- -2.25.1 - diff --git a/buildroot-2021.05/package/wpa_supplicant/Config.in b/buildroot-2021.05/package/wpa_supplicant/Config.in deleted file mode 100644 index 27ad2243..00000000 --- a/buildroot-2021.05/package/wpa_supplicant/Config.in +++ /dev/null @@ -1,160 +0,0 @@ -menuconfig BR2_PACKAGE_WPA_SUPPLICANT - bool "wpa_supplicant" - depends on BR2_USE_MMU # fork() - help - WPA supplicant for secure wireless networks - - http://w1.fi/wpa_supplicant/ - -if BR2_PACKAGE_WPA_SUPPLICANT - -config BR2_PACKAGE_WPA_SUPPLICANT_NL80211 - bool "Enable nl80211 support" - default y - depends on BR2_TOOLCHAIN_HAS_THREADS # libnl - select BR2_PACKAGE_LIBNL - help - Enable support for nl80211. This is the current wireless - API for Linux, supported by all wireless drivers in vanilla - Linux, but may not be supported by some out-of-tree Linux - wireless drivers. wpa_supplicant will still fall back to - using the Wireless Extensions (wext) API with these drivers. - - If this option is disabled, then only the deprecated wext - API will be supported, with far less features. Linux may - supports using wext with modern drivers using a - compatibility layer, but it must be enabled in the kernel - configuration. - -comment "nl80211 support needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_WPA_SUPPLICANT_WEXT - bool "Enable wext (deprecated)" - default y if !BR2_TOOLCHAIN_HAS_THREADS - help - Enable support for wext. This is the historic wireless API - for Linux, which is now deprecated and in maintenance-only in - the kernel. It may still be required by out-of-tree drivers. - -config BR2_PACKAGE_WPA_SUPPLICANT_WIRED - bool "Enable wired support" - select BR2_PACKAGE_WPA_SUPPLICANT_EAP - help - Include the "wired" driver, so the internal IEEE 802.1x - supplicant can be used with Ethernet. This also enables - support for MACSEC. - -comment "wpa_supplicant will be useless without at least one driver" - depends on !BR2_PACKAGE_WPA_SUPPLICANT_NL80211 && \ - !BR2_PACKAGE_WPA_SUPPLICANT_WEXT && \ - !BR2_PACKAGE_WPA_SUPPLICANT_WIRED - -config BR2_PACKAGE_WPA_SUPPLICANT_IBSS_RSN - bool "Enable IBSS RSN" - depends on BR2_PACKAGE_WPA_SUPPLICANT_NL80211 - help - Enable support for RSN/WPA2 in Ad-Hoc mode. - -config BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT - bool "Enable AP mode" - depends on BR2_PACKAGE_WPA_SUPPLICANT_NL80211 - help - With this option enabled, wpa_supplicant can act as an - access point much like hostapd does with a limited feature - set. This links in parts of hostapd functionality into - wpa_supplicant, making it bigger but dispensing the need for - a separate hostapd binary in some applications hence being - smaller overall. It also enables support for Wi-Fi Direct. - -config BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY - bool "Enable Wi-Fi Display" - depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT - help - Enable support for Wi-Fi Display - -config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING - bool "Enable mesh networking" - depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL - help - Enable support for open and secured mesh networking - (IEEE 802.11s) - -config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN - bool "Enable autoscan" - help - Enable support for the autoscan feature (allow periodic scan) - -config BR2_PACKAGE_WPA_SUPPLICANT_EAP - bool "Enable EAP" - help - Enable support for EAP, 802.1x/WPA-Enterprise and FILS. - -config BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT - bool "Enable HS20" - select BR2_PACKAGE_WPA_SUPPLICANT_EAP - help - Enable Hotspot 2.0 and IEEE 802.11u interworking - functionality. - -config BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG - bool "Enable syslog support" - help - Enable support for sending debug messages to syslog. - -config BR2_PACKAGE_WPA_SUPPLICANT_WPS - bool "Enable WPS" - help - Enable support for Wi-Fi Protected Setup (WPS). - -config BR2_PACKAGE_WPA_SUPPLICANT_WPA3 - bool "Enable WPA3 support" - select BR2_PACKAGE_OPENSSL - select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL - help - Enable WPA3 support including OWE, SAE, DPP - -config BR2_PACKAGE_WPA_SUPPLICANT_CLI - bool "Install wpa_cli binary" - select BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE - help - Install wpa_cli command line utility - -config BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO - bool "Install wpa_client shared library" - depends on !BR2_STATIC_LIBS - help - Install libwpa_client.so. - -comment "wpa_client library needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - -config BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE - bool "Install wpa_passphrase binary" - help - Install wpa_passphrase command line utility. - -config BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE - bool "Enable the Unix-socket control interface" - help - Enable support for the Unix-socket-based API. - -config BR2_PACKAGE_WPA_SUPPLICANT_DBUS - bool "Enable support for the DBus control interface" - depends on BR2_TOOLCHAIN_HAS_THREADS # dbus - select BR2_PACKAGE_DBUS - help - Enable support for the DBus control interface. - -comment "dbus support needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION - bool "Introspection support" - depends on BR2_PACKAGE_WPA_SUPPLICANT_DBUS - help - Add introspection support for the DBus control interface. - -endif diff --git a/buildroot-2021.05/package/wpa_supplicant/wpa_supplicant.hash b/buildroot-2021.05/package/wpa_supplicant/wpa_supplicant.hash deleted file mode 100644 index 2387391a..00000000 --- a/buildroot-2021.05/package/wpa_supplicant/wpa_supplicant.hash +++ /dev/null @@ -1,5 +0,0 @@ -# Locally calculated -sha256 fcbdee7b4a64bea8177973299c8c824419c413ec2e3a95db63dd6a5dc3541f17 wpa_supplicant-2.9.tar.gz -sha256 9da5dd0776da266b180b915e460ff75c6ff729aca1196ab396529510f24f3761 README -sha256 c4d65cc13863e0237d0644198558e2c47b4ed91e2b2be4516ff590724187c4a5 0001-P2P-Fix-copying-of-secondary-device-types-for-P2P-gr.patch -sha256 7f40cfec5faf5e927ea9028ab9392cd118685bde7229ad24210caf0a8f6e9611 0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch diff --git a/buildroot-2021.05/package/wpa_supplicant/wpa_supplicant.mk b/buildroot-2021.05/package/wpa_supplicant/wpa_supplicant.mk deleted file mode 100644 index e9078b9f..00000000 --- a/buildroot-2021.05/package/wpa_supplicant/wpa_supplicant.mk +++ /dev/null @@ -1,261 +0,0 @@ -################################################################################ -# -# wpa_supplicant -# -################################################################################ - -WPA_SUPPLICANT_VERSION = 2.9 -WPA_SUPPLICANT_SITE = http://w1.fi/releases -WPA_SUPPLICANT_PATCH = \ - https://w1.fi/security/2020-2/0001-P2P-Fix-copying-of-secondary-device-types-for-P2P-gr.patch \ - https://w1.fi/security/2021-1/0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch -WPA_SUPPLICANT_LICENSE = BSD-3-Clause -WPA_SUPPLICANT_LICENSE_FILES = README -WPA_SUPPLICANT_CPE_ID_VENDOR = w1.fi -WPA_SUPPLICANT_CONFIG = $(WPA_SUPPLICANT_DIR)/wpa_supplicant/.config -WPA_SUPPLICANT_SUBDIR = wpa_supplicant -WPA_SUPPLICANT_DBUS_SERVICE = fi.w1.wpa_supplicant1 -WPA_SUPPLICANT_CFLAGS = $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnl3/ -WPA_SUPPLICANT_LDFLAGS = $(TARGET_LDFLAGS) -WPA_SUPPLICANT_SELINUX_MODULES = networkmanager - -# 0001-AP-Silently-ignore-management-frame-from-unexpected-.patch -WPA_SUPPLICANT_IGNORE_CVES += CVE-2019-16275 - -# 0001-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch -WPA_SUPPLICANT_IGNORE_CVES += CVE-2021-27803 - -# 0002-ASN.1-Validate-DigestAlgorithmIdentifier-parameters.patch -WPA_SUPPLICANT_IGNORE_CVES += CVE-2021-30004 - -# install the wpa_client library -WPA_SUPPLICANT_INSTALL_STAGING = YES - -WPA_SUPPLICANT_CONFIG_EDITS = - -WPA_SUPPLICANT_CONFIG_ENABLE = \ - CONFIG_INTERNAL_LIBTOMMATH \ - CONFIG_MATCH_IFACE - -WPA_SUPPLICANT_CONFIG_DISABLE = \ - CONFIG_SMARTCARD - -# libnl-3 needs -lm (for rint) and -lpthread if linking statically -# And library order matters hence stick -lnl-3 first since it's appended -# in the wpa_supplicant Makefiles as in LIBS+=-lnl-3 ... thus failing -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_NL80211),y) -ifeq ($(BR2_STATIC_LIBS),y) -WPA_SUPPLICANT_LIBS += -lnl-3 -lm -lpthread -endif -WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf libnl -WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_LIBNL32 -else -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_DRIVER_NL80211 -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WEXT),) -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_DRIVER_WEXT -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_IBSS_RSN), ) -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_IBSS_RSN -endif - -# Trailing underscore on purpose to not enable CONFIG_EAPOL_TEST -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_EAP),y) -WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_EAP_ -# uses dlopen() -ifeq ($(BR2_STATIC_LIBS),y) -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP_TNC -endif -else -WPA_SUPPLICANT_CONFIG_DISABLE += \ - CONFIG_EAP \ - CONFIG_IEEE8021X_EAPOL \ - CONFIG_FILS -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIRED),) -WPA_SUPPLICANT_CONFIG_DISABLE += \ - CONFIG_DRIVER_WIRED \ - CONFIG_MACSEC \ - CONFIG_DRIVER_MACSEC -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT),) -WPA_SUPPLICANT_CONFIG_DISABLE += \ - CONFIG_HS20 \ - CONFIG_INTERWORKING -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT),y) -WPA_SUPPLICANT_CONFIG_ENABLE += \ - CONFIG_AP \ - CONFIG_P2P -else -WPA_SUPPLICANT_CONFIG_DISABLE += \ - CONFIG_AP \ - CONFIG_P2P -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY),y) -WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WIFI_DISPLAY -else -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_WIFI_DISPLAY -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),) -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) -WPA_SUPPLICANT_CONFIG_ENABLE += \ - CONFIG_AUTOSCAN_EXPONENTIAL \ - CONFIG_AUTOSCAN_PERIODIC -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPS),) -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_WPS -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) -WPA_SUPPLICANT_CONFIG_ENABLE += \ - CONFIG_DPP \ - CONFIG_SAE \ - CONFIG_OWE -else -WPA_SUPPLICANT_CONFIG_DISABLE += \ - CONFIG_DPP \ - CONFIG_SAE \ - CONFIG_OWE -endif - -# Try to use openssl if it's already available -ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) -WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf libopenssl -WPA_SUPPLICANT_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` -WPA_SUPPLICANT_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' -else -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP_PWD CONFIG_EAP_TEAP -WPA_SUPPLICANT_CONFIG_EDITS += 's/\#\(CONFIG_TLS=\).*/\1internal/' -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE),) -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_CTRL_IFACE\> -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DBUS),y) -WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf dbus -WPA_SUPPLICANT_MAKE_ENV = \ - PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \ - PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" -WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_CTRL_IFACE_DBUS_NEW -define WPA_SUPPLICANT_INSTALL_DBUS_NEW - $(INSTALL) -m 0644 -D \ - $(@D)/wpa_supplicant/dbus/$(WPA_SUPPLICANT_DBUS_SERVICE).service \ - $(TARGET_DIR)/usr/share/dbus-1/system-services/$(WPA_SUPPLICANT_DBUS_SERVICE).service -endef - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION),y) -WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_CTRL_IFACE_DBUS_INTRO -endif - -else -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_CTRL_IFACE_DBUS_NEW -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),) -WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_DEBUG_SYSLOG -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -WPA_SUPPLICANT_DEPENDENCIES += readline -WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_READLINE -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO),y) -WPA_SUPPLICANT_CONFIG_SET += CONFIG_BUILD_WPA_CLIENT_SO -define WPA_SUPPLICANT_INSTALL_WPA_CLIENT_SO - $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/libwpa_client.so \ - $(TARGET_DIR)/usr/lib/libwpa_client.so - $(INSTALL) -m 0644 -D $(@D)/src/common/wpa_ctrl.h \ - $(TARGET_DIR)/usr/include/wpa_ctrl.h -endef -define WPA_SUPPLICANT_INSTALL_STAGING_WPA_CLIENT_SO - $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/libwpa_client.so \ - $(STAGING_DIR)/usr/lib/libwpa_client.so - $(INSTALL) -m 0644 -D $(@D)/src/common/wpa_ctrl.h \ - $(STAGING_DIR)/usr/include/wpa_ctrl.h -endef -endif - -define WPA_SUPPLICANT_CONFIGURE_CMDS - cp $(@D)/wpa_supplicant/defconfig $(WPA_SUPPLICANT_CONFIG) - sed -i $(patsubst %,-e 's/^#\(%\)/\1/',$(WPA_SUPPLICANT_CONFIG_ENABLE)) \ - $(patsubst %,-e 's/^\(%\)/#\1/',$(WPA_SUPPLICANT_CONFIG_DISABLE)) \ - $(patsubst %,-e '1i%=y',$(WPA_SUPPLICANT_CONFIG_SET)) \ - $(patsubst %,-e %,$(WPA_SUPPLICANT_CONFIG_EDITS)) \ - $(WPA_SUPPLICANT_CONFIG) -endef - -# LIBS for wpa_supplicant, LIBS_c for wpa_cli, LIBS_p for wpa_passphrase -define WPA_SUPPLICANT_BUILD_CMDS - $(TARGET_MAKE_ENV) CFLAGS="$(WPA_SUPPLICANT_CFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" BINDIR=/usr/sbin \ - LIBS="$(WPA_SUPPLICANT_LIBS)" LIBS_c="$(WPA_SUPPLICANT_LIBS)" \ - LIBS_p="$(WPA_SUPPLICANT_LIBS)" \ - $(MAKE) CC="$(TARGET_CC)" -C $(@D)/$(WPA_SUPPLICANT_SUBDIR) -endef - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_CLI),y) -define WPA_SUPPLICANT_INSTALL_CLI - $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_cli \ - $(TARGET_DIR)/usr/sbin/wpa_cli -endef -endif - -ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE),y) -define WPA_SUPPLICANT_INSTALL_PASSPHRASE - $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_passphrase \ - $(TARGET_DIR)/usr/sbin/wpa_passphrase -endef -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -define WPA_SUPPLICANT_INSTALL_DBUS - $(INSTALL) -m 0644 -D \ - $(@D)/wpa_supplicant/dbus/dbus-wpa_supplicant.conf \ - $(TARGET_DIR)/etc/dbus-1/system.d/wpa_supplicant.conf - $(WPA_SUPPLICANT_INSTALL_DBUS_NEW) -endef -endif - -define WPA_SUPPLICANT_INSTALL_STAGING_CMDS - $(WPA_SUPPLICANT_INSTALL_STAGING_WPA_CLIENT_SO) -endef - -define WPA_SUPPLICANT_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_supplicant \ - $(TARGET_DIR)/usr/sbin/wpa_supplicant - $(INSTALL) -m 644 -D package/wpa_supplicant/wpa_supplicant.conf \ - $(TARGET_DIR)/etc/wpa_supplicant.conf - $(WPA_SUPPLICANT_INSTALL_CLI) - $(WPA_SUPPLICANT_INSTALL_PASSPHRASE) - $(WPA_SUPPLICANT_INSTALL_DBUS) - $(WPA_SUPPLICANT_INSTALL_WPA_CLIENT_SO) -endef - -define WPA_SUPPLICANT_INSTALL_INIT_SYSTEMD - $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant.service \ - $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant.service - $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant@.service \ - $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant@.service - $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-nl80211@.service \ - $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-nl80211@.service - $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-wired@.service \ - $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-wired@.service - $(INSTALL) -D -m 644 $(WPA_SUPPLICANT_PKGDIR)/50-wpa_supplicant.preset \ - $(TARGET_DIR)/usr/lib/systemd/system-preset/50-wpa_supplicant.preset -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wpebackend-fdo/wpebackend-fdo.hash b/buildroot-2021.05/package/wpebackend-fdo/wpebackend-fdo.hash deleted file mode 100644 index 27e827ae..00000000 --- a/buildroot-2021.05/package/wpebackend-fdo/wpebackend-fdo.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://wpewebkit.org/releases/wpebackend-fdo-1.8.3.tar.xz.sums -md5 980cbda207bf8f6263799c5062425737 wpebackend-fdo-1.8.3.tar.xz -sha1 c849043039d805448715be90cb5b3491f0a90c5f wpebackend-fdo-1.8.3.tar.xz -sha256 3d0b4282a1bd9e0664d7a20abe14e982f3285296ac62de56cae2a404b9d28b9e wpebackend-fdo-1.8.3.tar.xz - -# Hashes for license files: -sha256 c9f6803371047fad3e72200ec6cd226329a5ee08ac61104c8211c2761fb46825 COPYING diff --git a/buildroot-2021.05/package/wpebackend-fdo/wpebackend-fdo.mk b/buildroot-2021.05/package/wpebackend-fdo/wpebackend-fdo.mk deleted file mode 100644 index 5f7e7acf..00000000 --- a/buildroot-2021.05/package/wpebackend-fdo/wpebackend-fdo.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# wpebackend-fdo -# -################################################################################ - -WPEBACKEND_FDO_VERSION = 1.8.3 -WPEBACKEND_FDO_SITE = https://wpewebkit.org/releases -WPEBACKEND_FDO_SOURCE = wpebackend-fdo-$(WPEBACKEND_FDO_VERSION).tar.xz -WPEBACKEND_FDO_INSTALL_STAGING = YES -WPEBACKEND_FDO_LICENSE = BSD-2-Clause -WPEBACKEND_FDO_LICENSE_FILES = COPYING -WPEBACKEND_FDO_DEPENDENCIES = libepoxy libglib2 libwpe wayland - -$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/wpewebkit/0001-Fix-build-with-musl.patch b/buildroot-2021.05/package/wpewebkit/0001-Fix-build-with-musl.patch deleted file mode 100644 index 705c67c7..00000000 --- a/buildroot-2021.05/package/wpewebkit/0001-Fix-build-with-musl.patch +++ /dev/null @@ -1,79 +0,0 @@ -From cc3c27a7e997ef157ed469127f185a7bb6eb1feb Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Mon, 27 May 2019 23:51:32 +0200 -Subject: [PATCH] Fix build with musl - -Signed-off-by: Khem Raj -[Retrieved (and slightly updated) from: -https://github.com/WebPlatformForEmbedded/meta-wpe/blob/master/recipes-wpe/wpewebkit/wpewebkit/0001-Fix-build-with-musl.patch] -Signed-off-by: Fabrice Fontaine ---- - Source/JavaScriptCore/runtime/MachineContext.h | 10 +++++----- - Source/WTF/wtf/PlatformHave.h | 2 +- - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/Source/JavaScriptCore/runtime/MachineContext.h b/Source/JavaScriptCore/runtime/MachineContext.h -index bf0bdc7a51a..78d2ec81838 100644 ---- a/Source/JavaScriptCore/runtime/MachineContext.h -+++ b/Source/JavaScriptCore/runtime/MachineContext.h -@@ -146,7 +146,7 @@ inline void*& stackPointer(mcontext_t& machineContext) - #error Unknown Architecture - #endif - --#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__) -+#elif OS(FUCHSIA) || OS(LINUX) || defined(__BIONIC__) - - #if CPU(X86) - return reinterpret_cast((uintptr_t&) machineContext.gregs[REG_ESP]); -@@ -251,7 +251,7 @@ inline void*& framePointer(mcontext_t& machineContext) - #error Unknown Architecture - #endif - --#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__) -+#elif OS(FUCHSIA) || OS(LINUX) || defined(__BIONIC__) - - // The following sequence depends on glibc's sys/ucontext.h. - #if CPU(X86) -@@ -354,7 +354,7 @@ inline void*& instructionPointer(mcontext_t& machineContext) - #error Unknown Architecture - #endif - --#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__) -+#elif OS(FUCHSIA) || OS(LINUX) || defined(__BIONIC__) - - // The following sequence depends on glibc's sys/ucontext.h. - #if CPU(X86) -@@ -466,7 +466,7 @@ inline void*& argumentPointer<1>(mcontext_t& machineContext) - #error Unknown Architecture - #endif - --#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__) -+#elif OS(FUCHSIA) || OS(LINUX) || defined(__BIONIC__) - - // The following sequence depends on glibc's sys/ucontext.h. - #if CPU(X86) -@@ -583,7 +583,7 @@ inline void*& llintInstructionPointer(mcontext_t& machineContext) - #error Unknown Architecture - #endif - --#elif OS(FUCHSIA) || defined(__GLIBC__) || defined(__BIONIC__) -+#elif OS(FUCHSIA) || OS(LINUX) || defined(__BIONIC__) - - // The following sequence depends on glibc's sys/ucontext.h. - #if CPU(X86) -diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h -index e2a3388993f..95fe7c593cf 100644 ---- a/Source/WTF/wtf/PlatformHave.h -+++ b/Source/WTF/wtf/PlatformHave.h -@@ -683,7 +683,7 @@ - #define HAVE_CFNETWORK_STORAGE_PARTITIONING 1 - #endif - --#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || defined(__GLIBC__) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS))) -+#if OS(DARWIN) || OS(FUCHSIA) || ((OS(FREEBSD) || OS(LINUX) || defined(__BIONIC__)) && (CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(MIPS))) - #define HAVE_MACHINE_CONTEXT 1 - #endif - --- -2.20.1 - diff --git a/buildroot-2021.05/package/wpewebkit/Config.in b/buildroot-2021.05/package/wpewebkit/Config.in deleted file mode 100644 index c8c66e84..00000000 --- a/buildroot-2021.05/package/wpewebkit/Config.in +++ /dev/null @@ -1,128 +0,0 @@ -config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS - bool - # ARM needs BLX, so v5t+, BE completely untested so disabled - default y if BR2_arm && !BR2_ARM_CPU_ARMV4 - default y if BR2_aarch64 || BR2_aarch64_be - default y if BR2_i386 || BR2_x86_64 - # Disabled on MIPS big endian due to sigbus - default y if BR2_mipsel || BR2_mips64el - # Disabled on PowerPC pending runtime testing - # Disabled on SuperH because of segfault - depends on BR2_USE_MMU # libglib2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt - -comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" - depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS - depends on !BR2_BINFMT_FLAT - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ - || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ - || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ - || !BR2_HOST_GCC_AT_LEAST_4_9 - -comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" - depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS - depends on !BR2_BINFMT_FLAT - depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL \ - || !BR2_PACKAGE_HAS_LIBEGL_WAYLAND - -config BR2_PACKAGE_WPEWEBKIT - bool "wpewebkit" - depends on !BR2_STATIC_LIBS # wayland - depends on !BR2_BINFMT_FLAT # icu - depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu - depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu - depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 - depends on BR2_USE_WCHAR # icu, libsoup - depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy - depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy - depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # wpebackend-fdo - depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS - select BR2_PACKAGE_CAIRO - select BR2_PACKAGE_CAIRO_PNG - select BR2_PACKAGE_HARFBUZZ - select BR2_PACKAGE_ICU - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_LIBEPOXY - select BR2_PACKAGE_LIBGCRYPT - select BR2_PACKAGE_LIBPNG - select BR2_PACKAGE_LIBSOUP - select BR2_PACKAGE_LIBTASN1 - select BR2_PACKAGE_LIBXSLT - select BR2_PACKAGE_OPENJPEG - select BR2_PACKAGE_WAYLAND - select BR2_PACKAGE_WAYLAND_PROTOCOLS - select BR2_PACKAGE_WEBP - select BR2_PACKAGE_WEBP_DEMUX - select BR2_PACKAGE_WPEBACKEND_FDO - help - WPE (Web Platform for Embedded) port of the WebKit engine, - to allow embedders to create simple and performant systems - based on Web platform technologies. - - https://wpewebkit.org/ - -if BR2_PACKAGE_WPEWEBKIT - -config BR2_PACKAGE_WPEWEBKIT_SANDBOX - bool "sandboxing support" - depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # libseccomp - select BR2_PACKAGE_BUBBLEWRAP # runtime - select BR2_PACKAGE_XDG_DBUS_PROXY # runtime - select BR2_PACKAGE_LIBSECCOMP - help - Enable sandboxing of the processes used for network operation, - disk asccess, and Web content rendering. - -comment "sandboxing supports needs a toolchain w/ headers >= 3.12" - depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 - -config BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA - bool "multimedia support" - select BR2_PACKAGE_GSTREAMER1 - select BR2_PACKAGE_GST1_PLUGINS_BAD - select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX - select BR2_PACKAGE_GST1_PLUGINS_BASE - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE - select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME - select BR2_PACKAGE_GST1_PLUGINS_GOOD - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4 - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP - select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX - select BR2_PACKAGE_GST1_LIBAV - help - This option pulls in all of the required dependencies - to enable multimedia (video/audio) support. - -if BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA - -config BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL - bool "use gstreamer-gl" - default y - depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL - help - Use the GStreamer GL elements for handling video content. - This is recommended as it improves performance of video - playback. In some target configurations incorrect rendering - might be produced, and disabling this option may help. - -endif - -config BR2_PACKAGE_WPEWEBKIT_WEBDRIVER - bool "WebDriver support" - help - Enable support for WebDriver. This will build and install the - WebKitWebDriver program in the target. - -endif diff --git a/buildroot-2021.05/package/wpewebkit/wpewebkit.hash b/buildroot-2021.05/package/wpewebkit/wpewebkit.hash deleted file mode 100644 index c3aa8d41..00000000 --- a/buildroot-2021.05/package/wpewebkit/wpewebkit.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://wpewebkit.org/releases/wpewebkit-2.30.6.tar.xz.sums -md5 e35b31932ad3da6c06736d8f2d347072 wpewebkit-2.30.6.tar.xz -sha1 25a481e97e463df08fb2c0b0fa5d4299938670ac wpewebkit-2.30.6.tar.xz -sha256 893a3098226f116bbb38a665a3053c7d30e3c5dca786b954f9aa38f8c8581468 wpewebkit-2.30.6.tar.xz - -# Hashes for license files: -sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE -sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1 diff --git a/buildroot-2021.05/package/wpewebkit/wpewebkit.mk b/buildroot-2021.05/package/wpewebkit/wpewebkit.mk deleted file mode 100644 index b18ee2a3..00000000 --- a/buildroot-2021.05/package/wpewebkit/wpewebkit.mk +++ /dev/null @@ -1,89 +0,0 @@ -################################################################################ -# -# wpewebkit -# -################################################################################ - -WPEWEBKIT_VERSION = 2.30.6 -WPEWEBKIT_SITE = http://www.wpewebkit.org/releases -WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz -WPEWEBKIT_INSTALL_STAGING = YES -WPEWEBKIT_LICENSE = LGPL-2.1+, BSD-2-Clause -WPEWEBKIT_LICENSE_FILES = \ - Source/WebCore/LICENSE-APPLE \ - Source/WebCore/LICENSE-LGPL-2.1 -WPEWEBKIT_CPE_ID_VENDOR = wpewebkit -WPEWEBKIT_CPE_ID_PRODUCT = wpe_webkit -WPEWEBKIT_DEPENDENCIES = host-gperf host-python host-ruby \ - harfbuzz cairo icu jpeg libepoxy libgcrypt libgles libsoup libtasn1 \ - libpng libxslt openjpeg wayland-protocols webp wpebackend-fdo - -WPEWEBKIT_CONF_OPTS = \ - -DPORT=WPE \ - -DENABLE_ACCESSIBILITY=OFF \ - -DENABLE_API_TESTS=OFF \ - -DENABLE_MINIBROWSER=OFF \ - -DSILENCE_CROSS_COMPILATION_NOTICES=ON - -ifeq ($(BR2_PACKAGE_WPEWEBKIT_SANDBOX),y) -WPEWEBKIT_CONF_OPTS += \ - -DENABLE_BUBBLEWRAP_SANDBOX=ON \ - -DBWRAP_EXECUTABLE=/usr/bin/bwrap \ - -DDBUS_PROXY_EXECUTABLE=/usr/bin/xdg-dbus-proxy -WPEWEBKIT_DEPENDENCIES += libseccomp -else -WPEWEBKIT_CONF_OPTS += -DENABLE_BUBBLEWRAP_SANDBOX=OFF -endif - -ifeq ($(BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA),y) -WPEWEBKIT_CONF_OPTS += \ - -DENABLE_VIDEO=ON \ - -DENABLE_WEB_AUDIO=ON -WPEWEBKIT_DEPENDENCIES += gstreamer1 gst1-libav gst1-plugins-base gst1-plugins-good -else -WPEWEBKIT_CONF_OPTS += \ - -DENABLE_VIDEO=OFF \ - -DENABLE_WEB_AUDIO=OFF -endif - -ifeq ($(BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL),y) -WPEWEBKIT_CONF_OPTS += -DUSE_GSTREAMER_GL=ON -else -WPEWEBKIT_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF -endif - -ifeq ($(BR2_PACKAGE_WPEWEBKIT_WEBDRIVER),y) -WPEWEBKIT_CONF_OPTS += -DENABLE_WEBDRIVER=ON -else -WPEWEBKIT_CONF_OPTS += -DENABLE_WEBDRIVER=OFF -endif - -ifeq ($(BR2_PACKAGE_WOFF2),y) -WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=ON -WPEWEBKIT_DEPENDENCIES += woff2 -else -WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=ON -WPEWEBKIT_DEPENDENCIES += systemd -else -WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=OFF -endif - -# JIT is not supported for MIPS r6, but the WebKit build system does not -# have a check for these processors. The same goes for ARMv5 and ARMv6. -# Disable JIT forcibly here and use the CLoop interpreter instead. -# -# Also, we have to disable the sampling profiler, which does NOT work -# with ENABLE_C_LOOP. -# -# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258 -# https://bugs.webkit.org/show_bug.cgi?id=172765 -# -ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) -WPEWEBKIT_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON -DENABLE_SAMPLING_PROFILER=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/wqy-zenhei/wqy-zenhei.mk b/buildroot-2021.05/package/wqy-zenhei/wqy-zenhei.mk deleted file mode 100644 index 88e60f3e..00000000 --- a/buildroot-2021.05/package/wqy-zenhei/wqy-zenhei.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# wqy-zenhei -# -################################################################################ - -WQY_ZENHEI_VERSION = 0.9.45 -WQY_ZENHEI_SITE = https://downloads.sourceforge.net/project/wqy/wqy-zenhei/$(WQY_ZENHEI_VERSION)%20%28Fighting-state%20RC1%29 -WQY_ZENHEI_LICENSE = GPL-2.0-with-font-exception -WQY_ZENHEI_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_FONTCONFIG),y) -define WQY_ZENHEI_FONTCONFIG_CONF_INSTALL_CMDS - $(INSTALL) -D -m 0644 $(@D)/43-wqy-zenhei-sharp.conf \ - $(TARGET_DIR)/usr/share/fontconfig/conf.avail/43-wqy-zenhei-sharp.conf - $(INSTALL) -D -m 0644 $(@D)/44-wqy-zenhei.conf \ - $(TARGET_DIR)/usr/share/fontconfig/conf.avail/44-wqy-zenhei.conf -endef -endif - -define WQY_ZENHEI_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0644 $(@D)/wqy-zenhei.ttc \ - $(TARGET_DIR)/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc - $(WQY_ZENHEI_FONTCONFIG_CONF_INSTALL_CMDS) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/x11r7/Config.in b/buildroot-2021.05/package/x11r7/Config.in deleted file mode 100644 index b891fb42..00000000 --- a/buildroot-2021.05/package/x11r7/Config.in +++ /dev/null @@ -1,245 +0,0 @@ -menuconfig BR2_PACKAGE_XORG7 - bool "X.org X Window System" - depends on BR2_USE_WCHAR - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS # dlopen in xlib_libX11 - help - Support for X11R7 libraries, servers, drivers, and/or - applications in the target. - - http://xorg.freedesktop.org - -if BR2_PACKAGE_XORG7 - menu "X11R7 Servers" - source package/x11r7/xserver_xorg-server/Config.in - endmenu - menu "X11R7 Libraries" - source package/x11r7/libxcb/Config.in - source package/x11r7/xcb-util/Config.in - source package/x11r7/xcb-util-cursor/Config.in - source package/x11r7/xcb-util-image/Config.in - source package/x11r7/xcb-util-keysyms/Config.in - source package/x11r7/xcb-util-renderutil/Config.in - source package/x11r7/xcb-util-wm/Config.in - source package/x11r7/xlib_libFS/Config.in - source package/x11r7/xlib_libICE/Config.in - source package/x11r7/xlib_libSM/Config.in - source package/x11r7/xlib_libX11/Config.in - source package/x11r7/xlib_libXScrnSaver/Config.in - source package/x11r7/xlib_libXau/Config.in - source package/x11r7/xlib_libXaw/Config.in - source package/x11r7/xlib_libXcomposite/Config.in - source package/x11r7/xlib_libXcursor/Config.in - source package/x11r7/xlib_libXdamage/Config.in - source package/x11r7/xlib_libXdmcp/Config.in - source package/x11r7/xlib_libXext/Config.in - source package/x11r7/xlib_libXfixes/Config.in - source package/x11r7/xlib_libXfont/Config.in - source package/x11r7/xlib_libXfont2/Config.in - source package/x11r7/xlib_libXft/Config.in - source package/x11r7/xlib_libXi/Config.in - source package/x11r7/xlib_libXinerama/Config.in - source package/x11r7/xlib_libXmu/Config.in - source package/x11r7/xlib_libXpm/Config.in - source package/x11r7/xlib_libXrandr/Config.in - source package/x11r7/xlib_libXrender/Config.in - source package/x11r7/xlib_libXres/Config.in - source package/x11r7/xlib_libXt/Config.in - source package/x11r7/xlib_libXtst/Config.in - source package/x11r7/xlib_libXv/Config.in - source package/x11r7/xlib_libXvMC/Config.in - source package/x11r7/xlib_libXxf86dga/Config.in - source package/x11r7/xlib_libXxf86vm/Config.in - source package/x11r7/xlib_libdmx/Config.in - source package/x11r7/xlib_libfontenc/Config.in - source package/x11r7/xlib_libxkbfile/Config.in - source package/x11r7/xlib_libxshmfence/Config.in - source package/x11r7/xlib_xtrans/Config.in - endmenu - menu "X11R7 Applications" - source package/x11r7/xapp_appres/Config.in - source package/x11r7/xapp_bdftopcf/Config.in - source package/x11r7/xapp_beforelight/Config.in - source package/x11r7/xapp_bitmap/Config.in - source package/x11r7/xapp_editres/Config.in - source package/x11r7/xapp_fonttosfnt/Config.in - source package/x11r7/xapp_fslsfonts/Config.in - source package/x11r7/xapp_fstobdf/Config.in - source package/x11r7/xapp_iceauth/Config.in - source package/x11r7/xapp_ico/Config.in - source package/x11r7/xapp_listres/Config.in - source package/x11r7/xapp_luit/Config.in - source package/x11r7/xapp_mkfontscale/Config.in - source package/x11r7/xapp_oclock/Config.in - source package/x11r7/xapp_rgb/Config.in - source package/x11r7/xapp_rstart/Config.in - source package/x11r7/xapp_scripts/Config.in - source package/x11r7/xapp_sessreg/Config.in - source package/x11r7/xapp_setxkbmap/Config.in - source package/x11r7/xapp_showfont/Config.in - source package/x11r7/xapp_smproxy/Config.in - source package/x11r7/xapp_twm/Config.in - source package/x11r7/xapp_viewres/Config.in - source package/x11r7/xapp_x11perf/Config.in - source package/x11r7/xapp_xauth/Config.in - source package/x11r7/xapp_xbacklight/Config.in - source package/x11r7/xapp_xbiff/Config.in - source package/x11r7/xapp_xcalc/Config.in - source package/x11r7/xapp_xclipboard/Config.in - source package/x11r7/xapp_xclock/Config.in - source package/x11r7/xapp_xcmsdb/Config.in - source package/x11r7/xapp_xcompmgr/Config.in - source package/x11r7/xapp_xconsole/Config.in - source package/x11r7/xapp_xcursorgen/Config.in - source package/x11r7/xapp_xdbedizzy/Config.in - source package/x11r7/xapp_xditview/Config.in - source package/x11r7/xapp_xdm/Config.in - source package/x11r7/xapp_xdpyinfo/Config.in - source package/x11r7/xapp_xdriinfo/Config.in - source package/x11r7/xapp_xedit/Config.in - source package/x11r7/xapp_xev/Config.in - source package/x11r7/xapp_xeyes/Config.in - source package/x11r7/xapp_xf86dga/Config.in - source package/x11r7/xapp_xfd/Config.in - source package/x11r7/xapp_xfindproxy/Config.in - source package/x11r7/xapp_xfontsel/Config.in - source package/x11r7/xapp_xfs/Config.in - source package/x11r7/xapp_xfsinfo/Config.in - source package/x11r7/xapp_xgamma/Config.in - source package/x11r7/xapp_xgc/Config.in - source package/x11r7/xapp_xhost/Config.in - source package/x11r7/xapp_xinit/Config.in - source package/x11r7/xapp_xinput/Config.in - source package/x11r7/xapp_xinput-calibrator/Config.in - source package/x11r7/xapp_xkbcomp/Config.in - source package/x11r7/xapp_xkbevd/Config.in - source package/x11r7/xapp_xkbprint/Config.in - source package/x11r7/xapp_xkbutils/Config.in - source package/x11r7/xapp_xkill/Config.in - source package/x11r7/xapp_xload/Config.in - source package/x11r7/xapp_xlogo/Config.in - source package/x11r7/xapp_xlsatoms/Config.in - source package/x11r7/xapp_xlsclients/Config.in - source package/x11r7/xapp_xlsfonts/Config.in - source package/x11r7/xapp_xmag/Config.in - source package/x11r7/xapp_xman/Config.in - source package/x11r7/xapp_xmessage/Config.in - source package/x11r7/xapp_xmh/Config.in - source package/x11r7/xapp_xmodmap/Config.in - source package/x11r7/xapp_xmore/Config.in - source package/x11r7/xapp_xpr/Config.in - source package/x11r7/xapp_xprop/Config.in - source package/x11r7/xapp_xrandr/Config.in - source package/x11r7/xapp_xrdb/Config.in - source package/x11r7/xapp_xrefresh/Config.in - source package/x11r7/xapp_xset/Config.in - source package/x11r7/xapp_xsetmode/Config.in - source package/x11r7/xapp_xsetpointer/Config.in - source package/x11r7/xapp_xsetroot/Config.in - source package/x11r7/xapp_xsm/Config.in - source package/x11r7/xapp_xstdcmap/Config.in - source package/x11r7/xapp_xvidtune/Config.in - source package/x11r7/xapp_xvinfo/Config.in - source package/x11r7/xapp_xwd/Config.in - source package/x11r7/xapp_xwininfo/Config.in - source package/x11r7/xapp_xwud/Config.in - endmenu - if BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR - menu "X11R7 Drivers" - source package/x11r7/xdriver_xf86-input-evdev/Config.in - source package/x11r7/xdriver_xf86-input-joystick/Config.in - source package/x11r7/xdriver_xf86-input-keyboard/Config.in - source package/x11r7/xdriver_xf86-input-libinput/Config.in - source package/x11r7/xdriver_xf86-input-mouse/Config.in - source package/x11r7/xdriver_xf86-input-synaptics/Config.in - source package/x11r7/xdriver_xf86-input-tslib/Config.in - source package/x11r7/xdriver_xf86-input-vmmouse/Config.in - source package/x11r7/xdriver_xf86-video-amdgpu/Config.in - source package/x11r7/xdriver_xf86-video-ark/Config.in - source package/x11r7/xdriver_xf86-video-ast/Config.in - source package/x11r7/xdriver_xf86-video-ati/Config.in - source package/x11r7/xdriver_xf86-video-cirrus/Config.in - source package/x11r7/xdriver_xf86-video-dummy/Config.in - source package/x11r7/xdriver_xf86-video-fbdev/Config.in - source package/x11r7/xdriver_xf86-video-fbturbo/Config.in - source package/x11r7/xdriver_xf86-video-geode/Config.in - source package/x11r7/xdriver_xf86-video-glint/Config.in - source package/x11r7/xdriver_xf86-video-i128/Config.in - source package/x11r7/xdriver_xf86-video-imx/Config.in - source package/x11r7/xdriver_xf86-video-imx-viv/Config.in - source package/x11r7/xdriver_xf86-video-intel/Config.in - source package/x11r7/xdriver_xf86-video-mach64/Config.in - source package/x11r7/xdriver_xf86-video-mga/Config.in - source package/x11r7/xdriver_xf86-video-neomagic/Config.in - source package/x11r7/xdriver_xf86-video-nouveau/Config.in - source package/x11r7/xdriver_xf86-video-nv/Config.in - source package/x11r7/xdriver_xf86-video-openchrome/Config.in - source package/x11r7/xdriver_xf86-video-qxl/Config.in - source package/x11r7/xdriver_xf86-video-r128/Config.in - source package/x11r7/xdriver_xf86-video-savage/Config.in - source package/x11r7/xdriver_xf86-video-siliconmotion/Config.in - source package/x11r7/xdriver_xf86-video-sis/Config.in - source package/x11r7/xdriver_xf86-video-tdfx/Config.in - source package/x11r7/xdriver_xf86-video-tga/Config.in - source package/x11r7/xdriver_xf86-video-trident/Config.in - source package/x11r7/xdriver_xf86-video-vesa/Config.in - source package/x11r7/xdriver_xf86-video-vmware/Config.in - source package/x11r7/xdriver_xf86-video-voodoo/Config.in - endmenu - endif - menu "X11R7 Fonts" - source package/x11r7/xfont_font-util/Config.in - source package/x11r7/xfont_encodings/Config.in - source package/x11r7/xfont_font-adobe-100dpi/Config.in - source package/x11r7/xfont_font-adobe-75dpi/Config.in - source package/x11r7/xfont_font-adobe-utopia-100dpi/Config.in - source package/x11r7/xfont_font-adobe-utopia-75dpi/Config.in - source package/x11r7/xfont_font-adobe-utopia-type1/Config.in - source package/x11r7/xfont_font-alias/Config.in - source package/x11r7/xfont_font-arabic-misc/Config.in - source package/x11r7/xfont_font-bh-100dpi/Config.in - source package/x11r7/xfont_font-bh-75dpi/Config.in - source package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/Config.in - source package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/Config.in - source package/x11r7/xfont_font-bh-ttf/Config.in - source package/x11r7/xfont_font-bh-type1/Config.in - source package/x11r7/xfont_font-bitstream-100dpi/Config.in - source package/x11r7/xfont_font-bitstream-75dpi/Config.in - source package/x11r7/xfont_font-bitstream-type1/Config.in - source package/x11r7/xfont_font-cronyx-cyrillic/Config.in - source package/x11r7/xfont_font-cursor-misc/Config.in - source package/x11r7/xfont_font-daewoo-misc/Config.in - source package/x11r7/xfont_font-dec-misc/Config.in - source package/x11r7/xfont_font-ibm-type1/Config.in - source package/x11r7/xfont_font-isas-misc/Config.in - source package/x11r7/xfont_font-jis-misc/Config.in - source package/x11r7/xfont_font-micro-misc/Config.in - source package/x11r7/xfont_font-misc-cyrillic/Config.in - source package/x11r7/xfont_font-misc-ethiopic/Config.in - source package/x11r7/xfont_font-misc-meltho/Config.in - source package/x11r7/xfont_font-misc-misc/Config.in - source package/x11r7/xfont_font-mutt-misc/Config.in - source package/x11r7/xfont_font-schumacher-misc/Config.in - source package/x11r7/xfont_font-screen-cyrillic/Config.in - source package/x11r7/xfont_font-sony-misc/Config.in - source package/x11r7/xfont_font-sun-misc/Config.in - source package/x11r7/xfont_font-winitzki-cyrillic/Config.in - source package/x11r7/xfont_font-xfree86-type1/Config.in - endmenu - menu "X11R7 X protocols" - source package/x11r7/xcb-proto/Config.in - source package/x11r7/xorgproto/Config.in - endmenu - menu "X11R7 Utilities" - source package/x11r7/xutil_makedepend/Config.in - source package/x11r7/mcookie/Config.in - endmenu - menu "X11R7 Other data" - source package/x11r7/xdata_xbitmaps/Config.in - source package/x11r7/xdata_xcursor-themes/Config.in - source package/x11r7/xcursor-transparent-theme/Config.in - endmenu -endif - -comment "X.org needs a toolchain w/ wchar, threads, dynamic library" - depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.hash b/buildroot-2021.05/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.hash deleted file mode 100644 index 7faa797f..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2020-October/003062.html -sha256 07c835f1f98d7b462be8f1493d072b62418282421be18197e50579c70b0c259b fonttosfnt-1.2.1.tar.bz2 -sha512 3d4ece61e31d4a5ed56923ecc1883e80a9308d2062d37345cb5be081bc2b004aadebf99a989601749a63e03eb641e0522d07773a57bca0b4710ed453e4f20742 fonttosfnt-1.2.1.tar.bz2 -# Locally computed -sha256 f83378580cb7909a98b52bf5cd6a29f4894d76318c5c5312dd3f17a3e92beef1 COPYING diff --git a/buildroot-2021.05/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.mk b/buildroot-2021.05/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.mk deleted file mode 100644 index bafc5249..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# xapp_fonttosfnt -# -################################################################################ - -XAPP_FONTTOSFNT_VERSION = 1.2.1 -XAPP_FONTTOSFNT_SOURCE = fonttosfnt-$(XAPP_FONTTOSFNT_VERSION).tar.bz2 -XAPP_FONTTOSFNT_SITE = http://xorg.freedesktop.org/releases/individual/app -XAPP_FONTTOSFNT_LICENSE = MIT -XAPP_FONTTOSFNT_LICENSE_FILES = COPYING -XAPP_FONTTOSFNT_DEPENDENCIES = freetype xlib_libX11 xlib_libfontenc - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xauth/xapp_xauth.hash b/buildroot-2021.05/package/x11r7/xapp_xauth/xapp_xauth.hash deleted file mode 100644 index 0251c083..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xauth/xapp_xauth.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2019-July/003005.html -md5 e50587c1bb832aafd1a19d91a0890a0b xauth-1.1.tar.bz2 -sha1 16180e36d75a23cb182cb91e78f24273f1a63967 xauth-1.1.tar.bz2 -sha256 6d1dd1b79dd185107c5b0fdd22d1d791ad749ad6e288d0cdf80964c4ffa7530c xauth-1.1.tar.bz2 -sha512 b6ecd59a853a491ef45bf8cfbff63bed36645f81cb79ae9d18458b57f7502bccf92f0d979d3337578518646f680ad379e67b1dac15a927cbb11372733e7a3a0c xauth-1.1.tar.bz2 -# Locally computed -sha256 dcdf5fa36a652efbe61a21def1301739b0010334ae3f049f1cff433221a8c7a5 COPYING diff --git a/buildroot-2021.05/package/x11r7/xapp_xauth/xapp_xauth.mk b/buildroot-2021.05/package/x11r7/xapp_xauth/xapp_xauth.mk deleted file mode 100644 index cd900f00..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xauth/xapp_xauth.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# xapp_xauth -# -################################################################################ - -XAPP_XAUTH_VERSION = 1.1 -XAPP_XAUTH_SOURCE = xauth-$(XAPP_XAUTH_VERSION).tar.bz2 -XAPP_XAUTH_SITE = http://xorg.freedesktop.org/releases/individual/app -XAPP_XAUTH_LICENSE = MIT -XAPP_XAUTH_LICENSE_FILES = COPYING -XAPP_XAUTH_DEPENDENCIES = xlib_libX11 xlib_libXau xlib_libXext xlib_libXmu - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xeyes/Config.in b/buildroot-2021.05/package/x11r7/xapp_xeyes/Config.in deleted file mode 100644 index 5cf7f6c0..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xeyes/Config.in +++ /dev/null @@ -1,9 +0,0 @@ -config BR2_PACKAGE_XAPP_XEYES - bool "xeyes" - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXMU - select BR2_PACKAGE_XLIB_LIBXRENDER - select BR2_PACKAGE_XLIB_LIBXT - help - X.Org xeyes application diff --git a/buildroot-2021.05/package/x11r7/xapp_xeyes/xapp_xeyes.hash b/buildroot-2021.05/package/x11r7/xapp_xeyes/xapp_xeyes.hash deleted file mode 100644 index bbb6a9b0..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xeyes/xapp_xeyes.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2018-March/002860.html -md5 6f0543ec84283df5743eeafc173bea4a xeyes-1.1.2.tar.bz2 -sha1 458987f8accdbd8abf993ee51030391cf584d2e8 xeyes-1.1.2.tar.bz2 -sha256 57bcec0d2d167af9e5d44d0dbd74c6d7c0f0591cd0608952b23c749fdd910553 xeyes-1.1.2.tar.bz2 -sha512 008d76f03ddabd3d86ad9e52a540504553b94cb7a6743b20cf08897549eb27505667365ab9af21956a1b5ec7297acca8903a326536e6195a30e643cd93297ee0 xeyes-1.1.2.tar.bz2 -# Locally computed -sha256 d8de1de40e16227d1eb4b19e95117ce3f990f71f71df096a2259b0bc9931e042 COPYING diff --git a/buildroot-2021.05/package/x11r7/xapp_xeyes/xapp_xeyes.mk b/buildroot-2021.05/package/x11r7/xapp_xeyes/xapp_xeyes.mk deleted file mode 100644 index 6c7f859d..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xeyes/xapp_xeyes.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# xapp_xeyes -# -################################################################################ - -XAPP_XEYES_VERSION = 1.1.2 -XAPP_XEYES_SOURCE = xeyes-$(XAPP_XEYES_VERSION).tar.bz2 -XAPP_XEYES_SITE = http://xorg.freedesktop.org/releases/individual/app -XAPP_XEYES_LICENSE = MIT -XAPP_XEYES_LICENSE_FILES = COPYING -XAPP_XEYES_DEPENDENCIES = xlib_libX11 xlib_libXext xlib_libXmu xlib_libXrender xlib_libXt - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.mk b/buildroot-2021.05/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.mk deleted file mode 100644 index 974b83df..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# xapp_xinput-calibrator -# -################################################################################ - -XAPP_XINPUT_CALIBRATOR_VERSION = 0.7.5 -XAPP_XINPUT_CALIBRATOR_SOURCE = xinput_calibrator-$(XAPP_XINPUT_CALIBRATOR_VERSION).tar.gz -XAPP_XINPUT_CALIBRATOR_SITE = http://github.com/downloads/tias/xinput_calibrator -XAPP_XINPUT_CALIBRATOR_LICENSE = MIT -XAPP_XINPUT_CALIBRATOR_LICENSE_FILES = COPYING -XAPP_XINPUT_CALIBRATOR_DEPENDENCIES = xlib_libX11 xlib_libXi - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xrdb/xapp_xrdb.hash b/buildroot-2021.05/package/x11r7/xapp_xrdb/xapp_xrdb.hash deleted file mode 100644 index b8a6896c..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xrdb/xapp_xrdb.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2019-February/002953.html -md5 34ae801ef994d192c70fcce2bdb2a1b2 xrdb-1.2.0.tar.bz2 -sha1 79596928246288a217abdec0e4a2315ec9b07963 xrdb-1.2.0.tar.bz2 -sha256 f23a65cfa1f7126040d68b6cf1e4567523edac10f8dc06f23d840d330c7c6946 xrdb-1.2.0.tar.bz2 -sha512 14e1cdfb2152fb28f1f4641b177ab236648d7e967a95b952bf4cfce8d3e1ef085e85385354e3381aaf644462e8888a1847f755ab4016ecb4cb4a715b001dd2ef xrdb-1.2.0.tar.bz2 -# Locally computed -sha256 ca1b3e2f9f37c35876b69a9c1c5a7860fae59b7ba87a1d2dc541b722e29b1ecc COPYING diff --git a/buildroot-2021.05/package/x11r7/xapp_xrdb/xapp_xrdb.mk b/buildroot-2021.05/package/x11r7/xapp_xrdb/xapp_xrdb.mk deleted file mode 100644 index b445805d..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xrdb/xapp_xrdb.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# xapp_xrdb -# -################################################################################ - -XAPP_XRDB_VERSION = 1.2.0 -XAPP_XRDB_SOURCE = xrdb-$(XAPP_XRDB_VERSION).tar.bz2 -XAPP_XRDB_SITE = http://xorg.freedesktop.org/releases/individual/app -XAPP_XRDB_LICENSE = MIT -XAPP_XRDB_LICENSE_FILES = COPYING -XAPP_XRDB_DEPENDENCIES = xlib_libX11 xlib_libXmu - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xwd/xapp_xwd.hash b/buildroot-2021.05/package/x11r7/xapp_xwd/xapp_xwd.hash deleted file mode 100644 index 606618bc..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xwd/xapp_xwd.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2018-March/002876.html -md5 11794a8eba6d295a192a8975287fd947 xwd-1.0.7.tar.bz2 -sha1 65ce0617be29687cf6082c3a0e85d15a0dcccda9 xwd-1.0.7.tar.bz2 -sha256 cd6815b8b9e0b98e284d3d732fb12162159cb9dcee4f45a7d4c0bd8b308a6794 xwd-1.0.7.tar.bz2 -sha512 6fdb0a115ae505169bbc7fcc45580daf26bced2e26e0bf9a877636016038931a8386e8edcbe015f4024be508d0461906adef4834cf22a445e3c282f0b8fad17e xwd-1.0.7.tar.bz2 -# Locally computed -sha256 7cfda56afd92a1ecd2f23bd0064e01b5141053390d854785504adfe2c0fbd946 COPYING diff --git a/buildroot-2021.05/package/x11r7/xapp_xwd/xapp_xwd.mk b/buildroot-2021.05/package/x11r7/xapp_xwd/xapp_xwd.mk deleted file mode 100644 index 4d7ed0f8..00000000 --- a/buildroot-2021.05/package/x11r7/xapp_xwd/xapp_xwd.mk +++ /dev/null @@ -1,14 +0,0 @@ -################################################################################ -# -# xapp_xwd -# -################################################################################ - -XAPP_XWD_VERSION = 1.0.7 -XAPP_XWD_SOURCE = xwd-$(XAPP_XWD_VERSION).tar.bz2 -XAPP_XWD_SITE = http://xorg.freedesktop.org/releases/individual/app -XAPP_XWD_LICENSE = MIT -XAPP_XWD_LICENSE_FILES = COPYING -XAPP_XWD_DEPENDENCIES = xlib_libX11 xlib_libXmu xlib_libxkbfile - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.mk b/buildroot-2021.05/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.mk deleted file mode 100644 index ddcc6ac9..00000000 --- a/buildroot-2021.05/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# xcursor-transparent-theme -# -################################################################################ - -XCURSOR_TRANSPARENT_THEME_VERSION = 0.1.1 -XCURSOR_TRANSPARENT_THEME_SITE = http://downloads.yoctoproject.org/releases/matchbox/utils -XCURSOR_TRANSPARENT_THEME_DEPENDENCIES = xlib_libXcursor host-xapp_xcursorgen -XCURSOR_TRANSPARENT_THEME_LICENSE = GPL-2.0 -XCURSOR_TRANSPARENT_THEME_LICENSE_FILES = COPYING - -define ICONS_DEFAULT_CONFIG_INSTALL - $(INSTALL) -m 0755 -D package/x11r7/xcursor-transparent-theme/index.theme \ - $(TARGET_DIR)/usr/share/icons/default/index.theme -endef - -XCURSOR_TRANSPARENT_THEME_POST_INSTALL_TARGET_HOOKS += ICONS_DEFAULT_CONFIG_INSTALL - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.hash b/buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.hash deleted file mode 100644 index 2c4dafc8..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2021-April/003083.html -sha256 fddec49c115591918475155bf16aaf23017d7f814cee7823a0c11f867aca245b xf86-input-libinput-1.0.1.tar.bz2 -sha512 bb3cc4e9507d5ff6e430aabb5c87e412e8bbc5fd18b85fa4826123cb6be2f8f41078863fda09304f9dbd1264bbf1c3c7d6c11700ede0a5db733fbd1a03ec915b xf86-input-libinput-1.0.1.tar.bz2 - -# Locally computed -sha256 4114220b281561e80f3422f0e7ae8d3e1fc85131ffc2e3b6265119e66f1adb27 COPYING diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.mk b/buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.mk deleted file mode 100644 index b949b548..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# xdriver_xf86-input-libinput -# -################################################################################ - -XDRIVER_XF86_INPUT_LIBINPUT_VERSION = 1.0.1 -XDRIVER_XF86_INPUT_LIBINPUT_SOURCE = xf86-input-libinput-$(XDRIVER_XF86_INPUT_LIBINPUT_VERSION).tar.bz2 -XDRIVER_XF86_INPUT_LIBINPUT_SITE = http://xorg.freedesktop.org/releases/individual/driver -XDRIVER_XF86_INPUT_LIBINPUT_LICENSE = MIT -XDRIVER_XF86_INPUT_LIBINPUT_LICENSE_FILES = COPYING -XDRIVER_XF86_INPUT_LIBINPUT_DEPENDENCIES = libinput xserver_xorg-server xorgproto -XDRIVER_XF86_INPUT_LIBINPUT_AUTORECONF = YES - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/0001-Fix-link-failure-with-gcc-10.patch b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/0001-Fix-link-failure-with-gcc-10.patch deleted file mode 100644 index b7a66c5c..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/0001-Fix-link-failure-with-gcc-10.patch +++ /dev/null @@ -1,35 +0,0 @@ -From f223035f4ffcff2a9296d1e907a5193f8e8845a3 Mon Sep 17 00:00:00 2001 -From: Adam Jackson -Date: Tue, 4 Feb 2020 16:38:06 -0500 -Subject: [PATCH xf86-video-ati] Fix link failure with gcc 10 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Without the 'extern' this looks like a definition not just a -declaration, in every file that includes the header. gcc 10 is stricter -about this kind of multiple definition. - -Reviewed-by: Michel Dänzer -[backport from upstream: f223035f4ffcff2a9296d1e907a5193f8e8845a3] -Signed-off-by: Romain Naour ---- - src/drmmode_display.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/drmmode_display.h b/src/drmmode_display.h -index 96eaef0a..8cd8a0a6 100644 ---- a/src/drmmode_display.h -+++ b/src/drmmode_display.h -@@ -262,7 +262,7 @@ Bool drmmode_wait_vblank(xf86CrtcPtr crtc, drmVBlankSeqType type, - uint64_t *ust, uint32_t *result_seq); - - --miPointerSpriteFuncRec drmmode_sprite_funcs; -+extern miPointerSpriteFuncRec drmmode_sprite_funcs; - - - #endif --- -2.25.4 - diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk deleted file mode 100644 index f7aeba8b..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk +++ /dev/null @@ -1,27 +0,0 @@ -################################################################################ -# -# xdriver_xf86-video-ati -# -################################################################################ - -XDRIVER_XF86_VIDEO_ATI_VERSION = 19.1.0 -XDRIVER_XF86_VIDEO_ATI_SOURCE = xf86-video-ati-$(XDRIVER_XF86_VIDEO_ATI_VERSION).tar.bz2 -XDRIVER_XF86_VIDEO_ATI_SITE = http://xorg.freedesktop.org/releases/individual/driver -XDRIVER_XF86_VIDEO_ATI_LICENSE = MIT -XDRIVER_XF86_VIDEO_ATI_LICENSE_FILES = COPYING -XDRIVER_XF86_VIDEO_ATI_DEPENDENCIES = \ - libdrm \ - xlib_libXcomposite \ - xorgproto \ - xserver_xorg-server - -ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yyy) -XDRIVER_XF86_VIDEO_ATI_CONF_OPTS = --enable-glamor -else -XDRIVER_XF86_VIDEO_ATI_CONF_OPTS = --disable-glamor -endif - -# xdriver_xf86-video-ati requires O_CLOEXEC -XDRIVER_XF86_VIDEO_ATI_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0001-Update-to-newer-swap-macros.patch b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0001-Update-to-newer-swap-macros.patch deleted file mode 100644 index 05be6b32..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0001-Update-to-newer-swap-macros.patch +++ /dev/null @@ -1,65 +0,0 @@ -From fc7f191a1a0f290a4e808dd8f9bd58ba1dbd2be4 Mon Sep 17 00:00:00 2001 -From: Otavio Salvador -Date: Sat, 29 Dec 2012 18:00:36 -0200 -Subject: [PATCH 1/2] ext: Update to newer swap macros - -The swap macros now use an internal temporary variable so we need to -adapt the code according. - -Upstream-Status: Pending - -Signed-off-by: Otavio Salvador ---- - src/imx_ext.c | 16 ++++++---------- - 1 file changed, 6 insertions(+), 10 deletions(-) - -diff --git a/src/imx_ext.c b/src/imx_ext.c -index f12469a..710cba4 100644 ---- a/src/imx_ext.c -+++ b/src/imx_ext.c -@@ -57,8 +57,6 @@ void imxExtInit() - static int - Proc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) - { -- int n; -- - REQUEST(xIMX_EXT_GetPixmapPhysAddrReq); - REQUEST_SIZE_MATCH(xIMX_EXT_GetPixmapPhysAddrReq); - -@@ -96,10 +94,10 @@ Proc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) - /* Check if any reply values need byte swapping */ - if (client->swapped) { - -- swaps(&rep.sequenceNumber, n); -- swapl(&rep.length, n); -- swapl(&rep.pixmapPhysAddr, n); -- swapl(&rep.pixmapPitch, n); -+ swaps(&rep.sequenceNumber); -+ swapl(&rep.length); -+ swapl(&rep.pixmapPhysAddr); -+ swapl(&rep.pixmapPitch); - } - - /* Reply to client */ -@@ -123,16 +121,14 @@ Proc_IMX_EXT_Dispatch(ClientPtr client) - static int - SProc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) - { -- int n; -- - REQUEST(xIMX_EXT_GetPixmapPhysAddrReq); - - /* Swap request message length and verify it is correct. */ -- swaps(&stuff->length, n); -+ swaps(&stuff->length); - REQUEST_SIZE_MATCH(xIMX_EXT_GetPixmapPhysAddrReq); - - /* Swap remaining request message parameters. */ -- swapl(&stuff->pixmap, n); -+ swapl(&stuff->pixmap); - - return Proc_IMX_EXT_GetPixmapPhysAddr(client); - } --- -1.7.10.4 - diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.hash b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.hash deleted file mode 100644 index 4e41bda1..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 e121871de0396caff0349d761033aa4c0618d27b1ad5d79dab6c8246d9fb50d1 xdriver_xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc-br1.tar.gz -sha256 5808e89f4b9a30afc59f335bfa8219ecf2dacb89a81d16b322bc6d92993a48fa COPYING diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk deleted file mode 100644 index ac598cf0..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk +++ /dev/null @@ -1,41 +0,0 @@ -################################################################################ -# -# xdriver_xf86-video-intel -# -################################################################################ - -XDRIVER_XF86_VIDEO_INTEL_VERSION = 5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc -XDRIVER_XF86_VIDEO_INTEL_SITE = git://anongit.freedesktop.org/xorg/driver/xf86-video-intel -XDRIVER_XF86_VIDEO_INTEL_LICENSE = MIT -XDRIVER_XF86_VIDEO_INTEL_LICENSE_FILES = COPYING -XDRIVER_XF86_VIDEO_INTEL_AUTORECONF = YES - -# -D_GNU_SOURCE fixes a getline-related compile error in src/sna/kgem.c -# We force -O2 regardless of the optimization level chosen by the user, -# as compiling this package is known to be broken with -Os. -XDRIVER_XF86_VIDEO_INTEL_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -O2" - -XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS = \ - --disable-xvmc \ - --enable-sna \ - --disable-xaa \ - --disable-dga \ - --disable-async-swap - -XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \ - libdrm \ - libpciaccess \ - xlib_libXrandr \ - xorgproto \ - xserver_xorg-server - -# X.org server support for DRI depends on a Mesa3D DRI driver -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y) -XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \ - --enable-dri2 \ - --enable-dri3 \ - --enable-uxa -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk deleted file mode 100644 index e6f8d747..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# xdriver_xf86-video-mach64 -# -################################################################################ - -XDRIVER_XF86_VIDEO_MACH64_VERSION = 6.9.6 -XDRIVER_XF86_VIDEO_MACH64_SOURCE = xf86-video-mach64-$(XDRIVER_XF86_VIDEO_MACH64_VERSION).tar.bz2 -XDRIVER_XF86_VIDEO_MACH64_SITE = http://xorg.freedesktop.org/releases/individual/driver -XDRIVER_XF86_VIDEO_MACH64_LICENSE = MIT -XDRIVER_XF86_VIDEO_MACH64_LICENSE_FILES = COPYING -XDRIVER_XF86_VIDEO_MACH64_AUTORECONF = YES -XDRIVER_XF86_VIDEO_MACH64_DEPENDENCIES = xserver_xorg-server xorgproto - -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS = --disable-dri -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk deleted file mode 100644 index 2720848a..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# xdriver_xf86-video-mga -# -################################################################################ - -XDRIVER_XF86_VIDEO_MGA_VERSION = 2.0.0 -XDRIVER_XF86_VIDEO_MGA_SOURCE = xf86-video-mga-$(XDRIVER_XF86_VIDEO_MGA_VERSION).tar.bz2 -XDRIVER_XF86_VIDEO_MGA_SITE = http://xorg.freedesktop.org/archive/individual/driver -XDRIVER_XF86_VIDEO_MGA_LICENSE = MIT -XDRIVER_XF86_VIDEO_MGA_LICENSE_FILES = COPYING -XDRIVER_XF86_VIDEO_MGA_AUTORECONF = YES -XDRIVER_XF86_VIDEO_MGA_DEPENDENCIES = xserver_xorg-server libdrm xorgproto - -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_MGA_CONF_OPTS = --disable-dri -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk deleted file mode 100644 index 455cfbad..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk +++ /dev/null @@ -1,18 +0,0 @@ -################################################################################ -# -# xdriver_xf86-video-r128 -# -################################################################################ - -XDRIVER_XF86_VIDEO_R128_VERSION = 6.12.0 -XDRIVER_XF86_VIDEO_R128_SOURCE = xf86-video-r128-$(XDRIVER_XF86_VIDEO_R128_VERSION).tar.bz2 -XDRIVER_XF86_VIDEO_R128_SITE = http://xorg.freedesktop.org/releases/individual/driver -XDRIVER_XF86_VIDEO_R128_LICENSE = MIT -XDRIVER_XF86_VIDEO_R128_LICENSE_FILES = COPYING -XDRIVER_XF86_VIDEO_R128_DEPENDENCIES = xserver_xorg-server xorgproto - -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_R128_CONF_OPTS = --disable-dri -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk deleted file mode 100644 index d7311aa9..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk +++ /dev/null @@ -1,19 +0,0 @@ -################################################################################ -# -# xdriver_xf86-video-savage -# -################################################################################ - -XDRIVER_XF86_VIDEO_SAVAGE_VERSION = 2.3.9 -XDRIVER_XF86_VIDEO_SAVAGE_SOURCE = xf86-video-savage-$(XDRIVER_XF86_VIDEO_SAVAGE_VERSION).tar.bz2 -XDRIVER_XF86_VIDEO_SAVAGE_SITE = http://xorg.freedesktop.org/releases/individual/driver -XDRIVER_XF86_VIDEO_SAVAGE_LICENSE = MIT -XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING -XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES -XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xorgproto - -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS = --disable-dri -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk b/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk deleted file mode 100644 index 8975334f..00000000 --- a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# xdriver_xf86-video-tdfx -# -################################################################################ - -XDRIVER_XF86_VIDEO_TDFX_VERSION = 1.5.0 -XDRIVER_XF86_VIDEO_TDFX_SITE = http://xorg.freedesktop.org/releases/individual/driver -XDRIVER_XF86_VIDEO_TDFX_SOURCE = xf86-video-tdfx-$(XDRIVER_XF86_VIDEO_TDFX_VERSION).tar.bz2 -XDRIVER_XF86_VIDEO_TDFX_LICENSE = MIT -XDRIVER_XF86_VIDEO_TDFX_LICENSE_FILES = COPYING -XDRIVER_XF86_VIDEO_TDFX_AUTORECONF = YES -XDRIVER_XF86_VIDEO_TDFX_DEPENDENCIES = \ - libdrm \ - xorgproto \ - xserver_xorg-server - -ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) -XDRIVER_XF86_VIDEO_TDFX_CONF_OPTS = --disable-dri -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xkeyboard-config/xkeyboard-config.hash b/buildroot-2021.05/package/x11r7/xkeyboard-config/xkeyboard-config.hash deleted file mode 100644 index fe802915..00000000 --- a/buildroot-2021.05/package/x11r7/xkeyboard-config/xkeyboard-config.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 1feee317ba39b91902b0cbd2987c0c73e6afbfc8f4c096367a5c86c216c036a8 xkeyboard-config-2.32.tar.bz2 -sha256 6ca90f4b67dced4062894d6d77f4cc39343df9e359fc12f5e5d3c89ef2a3ef6d COPYING diff --git a/buildroot-2021.05/package/x11r7/xkeyboard-config/xkeyboard-config.mk b/buildroot-2021.05/package/x11r7/xkeyboard-config/xkeyboard-config.mk deleted file mode 100644 index 0fd681b5..00000000 --- a/buildroot-2021.05/package/x11r7/xkeyboard-config/xkeyboard-config.mk +++ /dev/null @@ -1,23 +0,0 @@ -################################################################################ -# -# xkeyboard-config -# -################################################################################ - -XKEYBOARD_CONFIG_VERSION = 2.32 -XKEYBOARD_CONFIG_SOURCE = xkeyboard-config-$(XKEYBOARD_CONFIG_VERSION).tar.bz2 -XKEYBOARD_CONFIG_SITE = https://www.x.org/releases/individual/data/xkeyboard-config -XKEYBOARD_CONFIG_LICENSE = MIT -XKEYBOARD_CONFIG_LICENSE_FILES = COPYING - -XKEYBOARD_CONFIG_DEPENDENCIES = \ - $(BR2_PYTHON3_HOST_DEPENDENCY) \ - host-gettext \ - host-xapp_xkbcomp - -# xkeyboard-config.pc -XKEYBOARD_CONFIG_INSTALL_STAGING = YES - -XKEYBOARD_CONFIG_CONF_OPTS = --disable-runtime-deps - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libX11/xlib_libX11.hash b/buildroot-2021.05/package/x11r7/xlib_libX11/xlib_libX11.hash deleted file mode 100644 index b87b2498..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libX11/xlib_libX11.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2021-May/003089.html -sha256 e64e43deaa562cbfb0d5ada64670ec09c6fac7935262dcd77bbc6d984a535d47 libX11-1.7.1.tar.bz2 -sha512 a76f0a82fce6f9b50646a7cd7ec5ee046650f225816050226068a7548fa083ef07d146d40faaf44e033c59c17b0fda5ffdee3a127dac3ab56cee02133819aa3d libX11-1.7.1.tar.bz2 - -# Locally computed -sha256 2daec087a88e7c9b8082557cdeebad5bbb8155a4137472f0b22e269cd99d0c1e COPYING diff --git a/buildroot-2021.05/package/x11r7/xlib_libX11/xlib_libX11.mk b/buildroot-2021.05/package/x11r7/xlib_libX11/xlib_libX11.mk deleted file mode 100644 index 39d9dc2c..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libX11/xlib_libX11.mk +++ /dev/null @@ -1,42 +0,0 @@ -################################################################################ -# -# xlib_libX11 -# -################################################################################ - -XLIB_LIBX11_VERSION = 1.7.1 -XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.bz2 -XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib -XLIB_LIBX11_LICENSE = MIT -XLIB_LIBX11_LICENSE_FILES = COPYING -XLIB_LIBX11_CPE_ID_VENDOR = x.org -XLIB_LIBX11_CPE_ID_PRODUCT = libx11 -XLIB_LIBX11_INSTALL_STAGING = YES -XLIB_LIBX11_DEPENDENCIES = \ - libxcb \ - xutil_util-macros \ - xlib_xtrans \ - xlib_libXau \ - xlib_libXdmcp \ - xorgproto \ - host-xorgproto - -HOST_XLIB_LIBX11_DEPENDENCIES = \ - host-libxcb \ - host-xutil_util-macros \ - host-xlib_xtrans \ - host-xlib_libXau \ - host-xlib_libXdmcp \ - host-xorgproto - -XLIB_LIBX11_CONF_OPTS = \ - --disable-malloc0returnsnull \ - --disable-specs \ - --without-perl - -HOST_XLIB_LIBX11_CONF_OPTS = \ - --disable-specs \ - --without-perl - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfixes/xlib_libXfixes.hash b/buildroot-2021.05/package/x11r7/xlib_libXfixes/xlib_libXfixes.hash deleted file mode 100644 index d655be4f..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXfixes/xlib_libXfixes.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2016-October/002722.html -sha256 de1cd33aff226e08cefd0e6759341c2c8e8c9faf8ce9ac6ec38d43e287b22ad6 libXfixes-5.0.3.tar.bz2 - -# Locally calculated -sha256 d64e671ffeb483d4543f98c842788ab34c77427e27d83d6b082065a4438d4885 COPYING diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk b/buildroot-2021.05/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk deleted file mode 100644 index 6674cccb..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# xlib_libXfixes -# -################################################################################ - -XLIB_LIBXFIXES_VERSION = 5.0.3 -XLIB_LIBXFIXES_SOURCE = libXfixes-$(XLIB_LIBXFIXES_VERSION).tar.bz2 -XLIB_LIBXFIXES_SITE = http://xorg.freedesktop.org/releases/individual/lib -XLIB_LIBXFIXES_LICENSE = MIT -XLIB_LIBXFIXES_LICENSE_FILES = COPYING -XLIB_LIBXFIXES_CPE_ID_VENDOR = x -XLIB_LIBXFIXES_CPE_ID_PRODUCT = libxfixes -XLIB_LIBXFIXES_INSTALL_STAGING = YES -XLIB_LIBXFIXES_DEPENDENCIES = xlib_libX11 xorgproto -HOST_XLIB_LIBXFIXES_DEPENDENCIES = \ - host-xlib_libX11 host-xorgproto - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfont2/0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch b/buildroot-2021.05/package/x11r7/xlib_libXfont2/0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch deleted file mode 100644 index 51e7225b..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXfont2/0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 5fceeeb0d1cdccdb2870f65444f2965344f3b8b9 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls -Date: Sat, 19 Oct 2019 09:32:41 +0200 -Subject: [PATCH] configure: define HAVE_LIBBSD when libbsd was found - -Patch sent upstream: -https://gitlab.freedesktop.org/xorg/lib/libxfont/merge_requests/6 - -Signed-off-by: Bernd Kuhls ---- - configure.ac | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/configure.ac b/configure.ac -index f507c28..cc7ca91 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -53,6 +53,9 @@ AC_CHECK_HEADERS([endian.h poll.h sys/poll.h]) - # Checks for library functions. - AC_CHECK_FUNCS([poll readlink]) - AC_SEARCH_LIBS([strlcat], [bsd]) -+if test "$ac_cv_search_strlcat" = "-lbsd"; then -+ AC_DEFINE(HAVE_LIBBSD,1,[Has libbsd]) -+fi - AC_CONFIG_LIBOBJ_DIR([src/util]) - AC_REPLACE_FUNCS([reallocarray strlcat strlcpy]) - --- -2.20.1 - diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfont2/xlib_libXfont2.hash b/buildroot-2021.05/package/x11r7/xlib_libXfont2/xlib_libXfont2.hash deleted file mode 100644 index 634affdf..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXfont2/xlib_libXfont2.hash +++ /dev/null @@ -1,8 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2019-September/003022.html -md5 00516bed7ec1453d56974560379fff2f libXfont2-2.0.4.tar.bz2 -sha1 9e00ae7589315656435efaf330128facad7c4a57 libXfont2-2.0.4.tar.bz2 -sha256 6d151b3368e5035efede4b6264c0fdc6662c1c99dbc2de425e3480cababc69e6 libXfont2-2.0.4.tar.bz2 -sha512 7cf6c58e520e48e24fc4f05fec760fcbeaaac0cedeed57dded262c855e1515cc34cd033222945a0b016f6857b83009fc2a6946c7d632c2f7bb0060f8e8a8a106 libXfont2-2.0.4.tar.bz2 - -# Locally calculated -sha256 97e413bb4962bbb5773085cd5405502bf1d4eadeaf98ff5be015eacacc840462 COPYING diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk b/buildroot-2021.05/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk deleted file mode 100644 index d2ff4ca7..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk +++ /dev/null @@ -1,47 +0,0 @@ -################################################################################ -# -# xlib_libXfont2 -# -################################################################################ - -XLIB_LIBXFONT2_VERSION = 2.0.4 -XLIB_LIBXFONT2_SOURCE = libXfont2-$(XLIB_LIBXFONT2_VERSION).tar.bz2 -XLIB_LIBXFONT2_SITE = http://xorg.freedesktop.org/releases/individual/lib -XLIB_LIBXFONT2_LICENSE = MIT -XLIB_LIBXFONT2_LICENSE_FILES = COPYING -XLIB_LIBXFONT2_CPE_ID_VENDOR = x -XLIB_LIBXFONT2_CPE_ID_PRODUCT = libxfont -XLIB_LIBXFONT2_INSTALL_STAGING = YES -# 0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch -XLIB_LIBXFONT2_AUTORECONF = YES -XLIB_LIBXFONT2_DEPENDENCIES = \ - freetype \ - xlib_libfontenc \ - xlib_xtrans \ - xorgproto \ - xfont_encodings - -ifeq ($(BR2_PACKAGE_LIBBSD),y) -XLIB_LIBXFONT2_DEPENDENCIES += libbsd -endif - -HOST_XLIB_LIBXFONT2_DEPENDENCIES = \ - host-freetype \ - host-xlib_libfontenc \ - host-xlib_xtrans \ - host-xorgproto \ - host-xfont_encodings - -XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs -HOST_XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs - -XLIB_LIBXFONT2_CFLAGS = $(TARGET_CFLAGS) - -ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) -XLIB_LIBXFONT2_CFLAGS += -O0 -endif - -XLIB_LIBXFONT2_CONF_ENV = CFLAGS="$(XLIB_LIBXFONT2_CFLAGS)" - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXft/xlib_libXft.hash b/buildroot-2021.05/package/x11r7/xlib_libXft/xlib_libXft.hash deleted file mode 100644 index bd0838b4..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXft/xlib_libXft.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2019-March/002976.html -md5 4a433c24627b4ff60a4dd403a0990796 libXft-2.3.3.tar.bz2 -sha1 48f543fe495f545df1794fa36a0a708558ae298c libXft-2.3.3.tar.bz2 -sha256 225c68e616dd29dbb27809e45e9eadf18e4d74c50be43020ef20015274529216 libXft-2.3.3.tar.bz2 -sha512 28fdaf3baa3b156a4a7fdd6e39c4d8026d7d21eaa9be27c9797c8d329dab691a1bc82ea6042f9d4729a9343d93787536fb7e4b606f722f33cbe608b2e79910e8 libXft-2.3.3.tar.bz2 -# Locally computed -sha256 7cda22286b1379b9b73df695f72cbad36595e65b039a5fbc5c89b69ecc44438c COPYING diff --git a/buildroot-2021.05/package/x11r7/xlib_libXft/xlib_libXft.mk b/buildroot-2021.05/package/x11r7/xlib_libXft/xlib_libXft.mk deleted file mode 100644 index 489cfe4c..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXft/xlib_libXft.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# xlib_libXft -# -################################################################################ - -XLIB_LIBXFT_VERSION = 2.3.3 -XLIB_LIBXFT_SOURCE = libXft-$(XLIB_LIBXFT_VERSION).tar.bz2 -XLIB_LIBXFT_SITE = http://xorg.freedesktop.org/releases/individual/lib -XLIB_LIBXFT_LICENSE = MIT -XLIB_LIBXFT_LICENSE_FILES = COPYING -XLIB_LIBXFT_INSTALL_STAGING = YES -XLIB_LIBXFT_DEPENDENCIES = fontconfig freetype xlib_libX11 xlib_libXext xlib_libXrender xorgproto - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXi/xlib_libXi.hash b/buildroot-2021.05/package/x11r7/xlib_libXi/xlib_libXi.hash deleted file mode 100644 index 12356313..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXi/xlib_libXi.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2019-June/002999.html -md5 62c4af0839072024b4b1c8cbe84216c7 libXi-1.7.10.tar.bz2 -sha1 79052e50ea07ce2431f8988a60553d9091d46207 libXi-1.7.10.tar.bz2 -sha256 36a30d8f6383a72e7ce060298b4b181fd298bc3a135c8e201b7ca847f5f81061 libXi-1.7.10.tar.bz2 -sha512 591f0860bf5904897587c4990d6c852f3729a212d1ef390362d41242440e078221877c31db2232d5cc81727fe97f4e194b077f7de917e251e60641bbd06ee218 libXi-1.7.10.tar.bz2 -# Locally computed -sha256 9392174bc86e291369fd2f61f3ed325962735a5f5c585ce8d7ebd365e2a5639f COPYING diff --git a/buildroot-2021.05/package/x11r7/xlib_libXi/xlib_libXi.mk b/buildroot-2021.05/package/x11r7/xlib_libXi/xlib_libXi.mk deleted file mode 100644 index ad4cf5f9..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libXi/xlib_libXi.mk +++ /dev/null @@ -1,24 +0,0 @@ -################################################################################ -# -# xlib_libXi -# -################################################################################ - -XLIB_LIBXI_VERSION = 1.7.10 -XLIB_LIBXI_SOURCE = libXi-$(XLIB_LIBXI_VERSION).tar.bz2 -XLIB_LIBXI_SITE = https://xorg.freedesktop.org/releases/individual/lib -XLIB_LIBXI_LICENSE = MIT -XLIB_LIBXI_LICENSE_FILES = COPYING -XLIB_LIBXI_CPE_ID_VENDOR = x.org -XLIB_LIBXI_CPE_ID_PRODUCT = libxi -XLIB_LIBXI_INSTALL_STAGING = YES -XLIB_LIBXI_DEPENDENCIES = \ - host-pkgconf \ - xlib_libX11 \ - xlib_libXext \ - xlib_libXfixes \ - xorgproto - -XLIB_LIBXI_CONF_OPTS = --disable-malloc0returnsnull - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libxshmfence/Config.in b/buildroot-2021.05/package/x11r7/xlib_libxshmfence/Config.in deleted file mode 100644 index 710476b3..00000000 --- a/buildroot-2021.05/package/x11r7/xlib_libxshmfence/Config.in +++ /dev/null @@ -1,6 +0,0 @@ -config BR2_PACKAGE_XLIB_LIBXSHMFENCE - bool "libxshmfence" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - select BR2_PACKAGE_XORGPROTO - help - X.Org shmfence library diff --git a/buildroot-2021.05/package/x11r7/xorgproto/xorgproto.hash b/buildroot-2021.05/package/x11r7/xorgproto/xorgproto.hash deleted file mode 100644 index a88c129d..00000000 --- a/buildroot-2021.05/package/x11r7/xorgproto/xorgproto.hash +++ /dev/null @@ -1,41 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2021-April/003085.html -sha256 0f5157030162844b398e7ce69b8bb967c2edb8064b0a9c9bb5517eb621459fbf xorgproto-2021.4.tar.bz2 -sha512 0d905e5f135daf7005e23371cbdc41a62d99567e0a20784e71ead0092ffd1e7582733819f7198add1d97edcc9aa80012ae01d2be8367280d69b41d0c25349367 xorgproto-2021.4.tar.bz2 - -# Locally computed -sha256 aacd931f191b610902aee1e526090c2858aabc07969441fa2537ffd3e7049555 COPYING-applewmproto -sha256 dabc025f93129a0eb2d17f37c719dbe5ecbcb5bc8f7bc7f4ce89fe04576cc0c2 COPYING-bigreqsproto -sha256 ab587ca94282c1e60797ffe4a77aea195418387db20ec7e0c24cedf2c844f8c1 COPYING-compositeproto -sha256 f67a18cb46c4c203c5122b4a901cfcc3178b2a62f83f31ca5fef5bdca3966094 COPYING-damageproto -sha256 819e8dcd3dd2a44850c350331aa492230f86bccb0983dd739dec5ba36d7d2b8e COPYING-dmxproto -sha256 0c306691492c4d7a8cda1ec3847668b797887dddcd7e986b4c166ae27619af7d COPYING-dri2proto -sha256 64a579d1a0b3347301d87c94698a58ea7933d0ae6ca7e8fdd702fde2ea376301 COPYING-dri3proto -sha256 0aa43d03da3cedbd9882c0ded621b0d855353eb9e551f9eed940d75c8a0b03c1 COPYING-evieproto -sha256 65cb0b867b00fb27f066a37353713b265645b3301146562570d7638ed2ddd548 COPYING-fixesproto -sha256 1ab381e978bff63d68be2e4f235d51935f3f16f3ba3bebf83afa99a70c0484a2 COPYING-fontcacheproto -sha256 f4af05774b02ae149357cc26f7bf5ef1116c2e09373c2492081a3a1892c58417 COPYING-fontsproto -sha256 823deb4673d3f26aa8c90e704888299648f00be3262f9363eaeecedcd65b936d COPYING-glproto -sha256 5e083a2ace0215a6084c877c023a6079952ba803d692488203ba4269196debe3 COPYING-inputproto -sha256 d397a67d4b28e897bc5fce79b2b917df9905b54f961fc3ad1f49c7fe3803f92c COPYING-kbproto -sha256 7a5dd5d4c989c167da50f15879959f42bbda960e06d0a0aea7197f61fe1dc846 COPYING-lg3dproto -sha256 8442b5f22f2fb13017a4302a906e7dedc899267b41f613558970941120170128 COPYING-pmproto -sha256 64a579d1a0b3347301d87c94698a58ea7933d0ae6ca7e8fdd702fde2ea376301 COPYING-presentproto -sha256 6b890b118261694865988378dbba876bcd9caa1a421c5c0d626116948bc0ae35 COPYING-printproto -sha256 41c13dcd09147ed2440286f2fb8151df8ebee06deee4ed78ddf094601c216d3d COPYING-randrproto -sha256 ee10aee0f1697ffdbe870a39f037361d4f7136f2976bb7919a41b3f66407caee COPYING-recordproto -sha256 9e48921a94da36d7a69fe71809223ee0bb46370db9842dccdeeb55b5a9946872 COPYING-renderproto -sha256 403e7be948674530ad40669b1e3a31adeddb656502f3b0ef810d5d3cc35d0b52 COPYING-resourceproto -sha256 fcbd3c628bf4d28ee3e6032054bf44bbe58f3b1a944dad856a8d3eb6b37ea412 COPYING-scrnsaverproto -sha256 d6d3513f5a7099748dc387f54498d799380b45f8a444f13aa98aa45a860ae55b COPYING-trapproto -sha256 f8f49bbad61967ebc890fb79fff5bfb7cfc1c341aa8f8dee13eb3fb534040b47 COPYING-videoproto -sha256 eb183a00c61bb47992f096b6993ed7ec17518bea9c285fe87efff7f622cc6c12 COPYING-windowswmproto -sha256 3bd8e0c41497bfe6ab8d11c3c90c5e79edd0b2437f2bf81161575f54bae53f21 COPYING-x11proto -sha256 5531d18cfcc944dab39991f63f182cbbce3fe493ba0c7cf08a25c0d01ee84482 COPYING-xcmiscproto -sha256 fb42146c6c06a200a9b121220eb692ff9101ba0fbd0b224b9e16a016c59ae86a COPYING-xextproto -sha256 3591964e01a9cdfc9cc4149a847a431a3f3d98328cc9e5864c7a7831b29c4058 COPYING-xf86bigfontproto -sha256 3591964e01a9cdfc9cc4149a847a431a3f3d98328cc9e5864c7a7831b29c4058 COPYING-xf86dgaproto -sha256 4a05d06752388d9db71ee1006f371d4fb2c316a821fc2fc272db90b3ef978334 COPYING-xf86driproto -sha256 3591964e01a9cdfc9cc4149a847a431a3f3d98328cc9e5864c7a7831b29c4058 COPYING-xf86miscproto -sha256 3591964e01a9cdfc9cc4149a847a431a3f3d98328cc9e5864c7a7831b29c4058 COPYING-xf86rushproto -sha256 942bb46a3503a708948491699171b00b9e0dfb47818d9268b160bccc5f51a4b9 COPYING-xf86vidmodeproto -sha256 b2d8cda803e900915ce10f0ba735ff2c033b39c7cc5a8a436667ca583d4066fa COPYING-xineramaproto diff --git a/buildroot-2021.05/package/x11r7/xorgproto/xorgproto.mk b/buildroot-2021.05/package/x11r7/xorgproto/xorgproto.mk deleted file mode 100644 index 59f06402..00000000 --- a/buildroot-2021.05/package/x11r7/xorgproto/xorgproto.mk +++ /dev/null @@ -1,54 +0,0 @@ -################################################################################ -# -# xorgproto -# -################################################################################ - -XORGPROTO_VERSION = 2021.4 -XORGPROTO_SOURCE = xorgproto-$(XORGPROTO_VERSION).tar.bz2 -XORGPROTO_SITE = https://xorg.freedesktop.org/archive/individual/proto -XORGPROTO_LICENSE = MIT -XORGPROTO_LICENSE_FILES = \ - COPYING-applewmproto \ - COPYING-bigreqsproto \ - COPYING-compositeproto \ - COPYING-damageproto \ - COPYING-dmxproto \ - COPYING-dri2proto \ - COPYING-dri3proto \ - COPYING-evieproto \ - COPYING-fixesproto \ - COPYING-fontcacheproto \ - COPYING-fontsproto \ - COPYING-glproto \ - COPYING-inputproto \ - COPYING-kbproto \ - COPYING-lg3dproto \ - COPYING-pmproto \ - COPYING-presentproto \ - COPYING-printproto \ - COPYING-randrproto \ - COPYING-recordproto \ - COPYING-renderproto \ - COPYING-resourceproto \ - COPYING-scrnsaverproto \ - COPYING-trapproto \ - COPYING-videoproto \ - COPYING-windowswmproto \ - COPYING-x11proto \ - COPYING-xcmiscproto \ - COPYING-xextproto \ - COPYING-xf86bigfontproto \ - COPYING-xf86dgaproto \ - COPYING-xf86driproto \ - COPYING-xf86miscproto \ - COPYING-xf86rushproto \ - COPYING-xf86vidmodeproto \ - COPYING-xineramaproto -XORGPROTO_INSTALL_STAGING = YES -XORGPROTO_INSTALL_TARGET = NO -# xproxymngproto is needed by xfindproxy -XORGPROTO_CONF_OPTS += --enable-legacy - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0001-modesettings-needs-dri2.patch b/buildroot-2021.05/package/x11r7/xserver_xorg-server/0001-modesettings-needs-dri2.patch deleted file mode 100644 index 74917720..00000000 --- a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0001-modesettings-needs-dri2.patch +++ /dev/null @@ -1,20 +0,0 @@ -Kernel modesettings support also depends on dri2, see -http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/drivers/modesetting/Makefile.am#n46 - -Patch sent upstream: https://gitlab.freedesktop.org/xorg/xserver/issues/479 - -[rebased for version 1.20.0] -Signed-off-by: Bernd Kuhls - -diff -uNr xorg-server-1.17.2.org/configure.ac xorg-server-1.17.2/configure.ac ---- xorg-server-1.17.2.org/configure.ac 2015-06-16 17:42:40.000000000 +0200 -+++ xorg-server-1.17.2/configure.ac 2015-08-08 10:44:59.702382624 +0200 -@@ -1962,7 +1962,7 @@ - XORG_SYS_LIBS="$XORG_SYS_LIBS $XORG_MODULES_LIBS" - fi - -- if test "x$DRM" = xyes; then -+ if test "x$DRM" = xyes -a "x$DRI2" = xyes; then - XORG_DRIVER_MODESETTING=yes - fi - diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0003-hw-xwayland-Makefile.am-fix-build-without-glx.patch b/buildroot-2021.05/package/x11r7/xserver_xorg-server/0003-hw-xwayland-Makefile.am-fix-build-without-glx.patch deleted file mode 100644 index 5f19a26d..00000000 --- a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0003-hw-xwayland-Makefile.am-fix-build-without-glx.patch +++ /dev/null @@ -1,45 +0,0 @@ -From b1d2a82d644518c1a75775244ac63be738aaf062 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 19 Apr 2019 10:19:50 +0200 -Subject: [PATCH] hw/xwayland/Makefile.am: fix build without glx - -Commit d8ec33fe0542141aed1d9016d2ecaf52da944b4b added libglxvnd.la to -Xwayland_LDFLAGS but GLX can be disabled through --disable-glx. -In this case, build fails on: - -make[3]: *** No rule to make target '../../glx/libglxvnd.la', needed by 'Xwayland'. Stop. -make[3]: *** Waiting for unfinished jobs.... - -Fixes: - - http://autobuild.buildroot.org/results/397f8098c57fc6c88aa12dc8d35ebb1b933d52ef - -Signed-off-by: Fabrice Fontaine -[Upstream status: -https://gitlab.freedesktop.org/xorg/xserver/merge_requests/173] ---- - hw/xwayland/Makefile.am | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/hw/xwayland/Makefile.am b/hw/xwayland/Makefile.am -index bc1cb8506..502879e2a 100644 ---- a/hw/xwayland/Makefile.am -+++ b/hw/xwayland/Makefile.am -@@ -21,10 +21,14 @@ Xwayland_SOURCES = \ - $(top_srcdir)/Xi/stubs.c \ - $(top_srcdir)/mi/miinitext.c - -+if GLX -+GLXVND_LIB = $(top_builddir)/glx/libglxvnd.la -+endif -+ - Xwayland_LDADD = \ - $(glamor_lib) \ - $(XWAYLAND_LIBS) \ -- $(top_builddir)/glx/libglxvnd.la \ -+ $(GLXVND_LIB) \ - $(XWAYLAND_SYS_LIBS) \ - $(top_builddir)/Xext/libXvidmode.la \ - $(XSERVER_SYS_LIBS) --- -2.20.1 - diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0004-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch b/buildroot-2021.05/package/x11r7/xserver_xorg-server/0004-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch deleted file mode 100644 index de086fb6..00000000 --- a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0004-hw-xfree86-common-xf86Init.c-fix-build-without-glx.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 49456e0a37fac7bc9d1f01bc1519fb0d699956db Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Fri, 27 Dec 2019 23:33:37 +0100 -Subject: [PATCH] hw/xfree86/common/xf86Init.c: fix build without glx - -Since commit d8ec33fe0542141aed1d9016d2ecaf52da944b4b, an include on -glxvndabi.h has been added to hw/xfree86/common/xf86Init.c - -However, if glx is disabled through --disable-glx and GLX headers are -not installed in the build's environment, build fails on: - -In file included from xf86Init.c:81: -../../../include/glxvndabi.h:64:10: fatal error: GL/glxproto.h: No such file or directory - 64 | #include - | ^~~~~~~~~~~~~~~ - -Fix this failure by removing this include which does not seem to be -needed (an other option would have been to keep it under an ifdef GLXEXT -block) - -Fixes: - - http://autobuild.buildroot.org/results/de838a843f97673d1381a55fd4e9b07164693913 - -Signed-off-by: Fabrice Fontaine -[Retrieved from: -https://gitlab.freedesktop.org/xorg/xserver/commit/49456e0a37fac7bc9d1f01bc1519fb0d699956db] ---- - hw/xfree86/common/xf86Init.c | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c -index 0631c7237..e6fb11398 100644 ---- a/hw/xfree86/common/xf86Init.c -+++ b/hw/xfree86/common/xf86Init.c -@@ -78,7 +78,6 @@ - #include "xf86InPriv.h" - #include "picturestr.h" - #include "randrstr.h" --#include "glxvndabi.h" - #include "xf86Bus.h" - #ifdef XSERVER_LIBPCIACCESS - #include "xf86VGAarbiter.h" --- -2.24.1 - diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0005-Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch b/buildroot-2021.05/package/x11r7/xserver_xorg-server/0005-Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch deleted file mode 100644 index 7802fd96..00000000 --- a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0005-Fix-segfault-on-probing-a-non-PCI-platform-device-on.patch +++ /dev/null @@ -1,33 +0,0 @@ -From e50c85f4ebf559a3bac4817b41074c43d4691779 Mon Sep 17 00:00:00 2001 -From: Eric Anholt -Date: Fri, 26 Oct 2018 17:47:30 -0700 -Subject: [PATCH] Fix segfault on probing a non-PCI platform device on a system - with PCI. - -Some Broadcom set-top-box boards have PCI busses, but the GPU is still -probed through DT. We would dereference a null busid here in that -case. - -Signed-off-by: Eric Anholt -Backported from: e50c85f4ebf559a3bac4817b41074c43d4691779 -Signed-off-by: Joseph Kogut ---- - hw/xfree86/common/xf86platformBus.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c -index cef47da03..dadbac6c8 100644 ---- a/hw/xfree86/common/xf86platformBus.c -+++ b/hw/xfree86/common/xf86platformBus.c -@@ -289,7 +289,7 @@ xf86platformProbe(void) - for (i = 0; i < xf86_num_platform_devices; i++) { - char *busid = xf86_platform_odev_attributes(i)->busid; - -- if (pci && (strncmp(busid, "pci:", 4) == 0)) { -+ if (pci && busid && (strncmp(busid, "pci:", 4) == 0)) { - platform_find_pci_info(&xf86_platform_devices[i], busid); - } - --- -2.24.1 - diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/Config.in b/buildroot-2021.05/package/x11r7/xserver_xorg-server/Config.in deleted file mode 100644 index fcd3d0ae..00000000 --- a/buildroot-2021.05/package/x11r7/xserver_xorg-server/Config.in +++ /dev/null @@ -1,84 +0,0 @@ -comment "xorg-server needs a glibc or uClibc toolchain" - depends on BR2_arm && BR2_TOOLCHAIN_USES_MUSL - -config BR2_PACKAGE_XSERVER_XORG_SERVER - bool "xorg-server" - depends on BR2_USE_MMU # fork() - # xserver uses inb/outb on arm, which aren't available with musl - depends on !(BR2_arm && BR2_TOOLCHAIN_USES_MUSL) - # We need a SHA1 implementation. If either openssl or - # libgcrypt are already part of the build, we'll use one of - # them, otherwise, use the small libsha1 library. - select BR2_PACKAGE_LIBSHA1 if (!BR2_PACKAGE_OPENSSL && !BR2_PACKAGE_LIBGCRYPT) - select BR2_PACKAGE_MCOOKIE - select BR2_PACKAGE_PIXMAN - select BR2_PACKAGE_XFONT_FONT_ALIAS if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS - select BR2_PACKAGE_XFONT_FONT_MISC_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS - select BR2_PACKAGE_XFONT_FONT_CURSOR_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXAU - select BR2_PACKAGE_XLIB_LIBXCURSOR - select BR2_PACKAGE_XLIB_LIBXDAMAGE - select BR2_PACKAGE_XLIB_LIBXDMCP - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXFIXES - select BR2_PACKAGE_XLIB_LIBXFONT2 - select BR2_PACKAGE_XLIB_LIBXFT - select BR2_PACKAGE_XLIB_LIBXI - select BR2_PACKAGE_XLIB_LIBXINERAMA - select BR2_PACKAGE_XLIB_LIBXRANDR - select BR2_PACKAGE_XLIB_LIBXRENDER - select BR2_PACKAGE_XLIB_LIBXRES - select BR2_PACKAGE_XLIB_LIBXXF86VM - select BR2_PACKAGE_XLIB_LIBXKBFILE - select BR2_PACKAGE_XLIB_XTRANS - select BR2_PACKAGE_XDATA_XBITMAPS - select BR2_PACKAGE_XORGPROTO - select BR2_PACKAGE_XUTIL_UTIL_MACROS - select BR2_PACKAGE_XKEYBOARD_CONFIG - help - X.Org X server - - http://xorg.freedesktop.org - -if BR2_PACKAGE_XSERVER_XORG_SERVER - -choice - prompt "X Window System server type" - help - Select the X Window System server to use - -config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR - bool "Modular X.org" - depends on BR2_INSTALL_LIBSTDCPP - select BR2_PACKAGE_LIBDRM - select BR2_PACKAGE_LIBPCIACCESS - select BR2_PACKAGE_XLIB_LIBXSHMFENCE if BR2_TOOLCHAIN_HAS_SYNC_4 - help - This variant of the X.org server is the full-blown variant, - as used by desktop GNU/Linux distributions. The drivers (for - input and graphics) are built separately from the X.org - server (see the xdriver* packages). - -comment "Modular X.org needs a toolchain w/ C++" - depends on !BR2_INSTALL_LIBSTDCPP - -config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE - bool "KDrive / TinyX" - help - This variant of the X.org server is a lightweight version - intended for embedded systems. The drivers (for input and - graphics) are built into the server. It is generally used - directly on top of the Linux framebuffer without DRM or - video card specific drivers. - -endchoice - -comment "Optional Servers" - -config BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB - bool "Xvfb server" - help - Virtual frame buffer X server. - -endif diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/xserver_xorg-server.hash b/buildroot-2021.05/package/x11r7/xserver_xorg-server/xserver_xorg-server.hash deleted file mode 100644 index 9876255c..00000000 --- a/buildroot-2021.05/package/x11r7/xserver_xorg-server/xserver_xorg-server.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://lists.x.org/archives/xorg-announce/2021-April/003081.html -sha256 914c796e3ffabe1af48071d40ccc85e92117c97a9082ed1df29e4d64e3c34c49 xorg-server-1.20.11.tar.bz2 -sha512 1017015b9fd5d53788abe3641d877e6df8609841fa5c1847c0a5e133ddcc1b758a5d695304ebd36828099ec201a85b6b70b46f5ea4f81c5bd3a16fa6e175e3c2 xorg-server-1.20.11.tar.bz2 - -# Locally calculated -sha256 4cc0447a22635c7b2f1a93fec4aa94f1970fadeb72a063de006b51cf4963a06f COPYING diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/buildroot-2021.05/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk deleted file mode 100644 index ae17dd53..00000000 --- a/buildroot-2021.05/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +++ /dev/null @@ -1,198 +0,0 @@ -################################################################################ -# -# xserver_xorg-server -# -################################################################################ - -XSERVER_XORG_SERVER_VERSION = 1.20.11 -XSERVER_XORG_SERVER_SOURCE = xorg-server-$(XSERVER_XORG_SERVER_VERSION).tar.bz2 -XSERVER_XORG_SERVER_SITE = https://xorg.freedesktop.org/archive/individual/xserver -XSERVER_XORG_SERVER_LICENSE = MIT -XSERVER_XORG_SERVER_LICENSE_FILES = COPYING -XSERVER_XORG_SERVER_INSTALL_STAGING = YES -# xfont_font-util is needed only for autoreconf -XSERVER_XORG_SERVER_AUTORECONF = YES -XSERVER_XORG_SERVER_DEPENDENCIES = \ - xfont_font-util \ - xutil_util-macros \ - xlib_libX11 \ - xlib_libXau \ - xlib_libXdmcp \ - xlib_libXext \ - xlib_libXfixes \ - xlib_libXfont2 \ - xlib_libXi \ - xlib_libXrender \ - xlib_libXres \ - xlib_libXft \ - xlib_libXcursor \ - xlib_libXinerama \ - xlib_libXrandr \ - xlib_libXdamage \ - xlib_libXxf86vm \ - xlib_libxkbfile \ - xlib_xtrans \ - xdata_xbitmaps \ - xorgproto \ - xkeyboard-config \ - pixman \ - mcookie \ - host-pkgconf - -# We force -O2 regardless of the optimization level chosen by the -# user, as the X.org server is known to trigger some compiler bugs at -# -Os on several architectures. -XSERVER_XORG_SERVER_CONF_OPTS = \ - --disable-config-hal \ - --enable-record \ - --disable-xnest \ - --disable-xephyr \ - --disable-dmx \ - --disable-unit-tests \ - --with-builder-addr=buildroot@buildroot.org \ - CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/pixman-1 -O2" \ - --with-fontrootdir=/usr/share/fonts/X11/ \ - --$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB),en,dis)able-xvfb - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -XSERVER_XORG_SERVER_CONF_OPTS += \ - --with-systemd-daemon \ - --enable-systemd-logind -XSERVER_XORG_SERVER_DEPENDENCIES += \ - systemd -else -XSERVER_XORG_SERVER_CONF_OPTS += \ - --without-systemd-daemon \ - --disable-systemd-logind -endif - -# Xwayland support needs libdrm, libepoxy, wayland and libxcomposite -ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_LIBEPOXY)$(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_WAYLAND_PROTOCOLS)$(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),yyyyy) -XSERVER_XORG_SERVER_CONF_OPTS += --enable-xwayland -XSERVER_XORG_SERVER_DEPENDENCIES += libdrm libepoxy wayland wayland-protocols xlib_libXcomposite -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-xwayland -endif - -ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y) -XSERVER_XORG_SERVER_CONF_OPTS += --enable-xorg -XSERVER_XORG_SERVER_DEPENDENCIES += libpciaccess -ifeq ($(BR2_PACKAGE_LIBDRM),y) -XSERVER_XORG_SERVER_DEPENDENCIES += libdrm -XSERVER_XORG_SERVER_CONF_OPTS += --enable-libdrm -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-libdrm -endif -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-xorg -endif - -ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE),y) -XSERVER_XORG_SERVER_CONF_OPTS += \ - --enable-kdrive \ - --disable-glx \ - --disable-dri - -else # modular -XSERVER_XORG_SERVER_CONF_OPTS += --disable-kdrive -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) -XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-glx -XSERVER_XORG_SERVER_DEPENDENCIES += libgl -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-glx -endif - -# Optional packages -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -XSERVER_XORG_SERVER_DEPENDENCIES += udev -XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev -# udev kms support depends on libdrm and dri2 -ifeq ($(BR2_PACKAGE_LIBDRM),y) -XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev-kms -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-config-udev-kms -endif -endif - -ifeq ($(BR2_PACKAGE_DBUS),y) -XSERVER_XORG_SERVER_DEPENDENCIES += dbus -XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-dbus -endif - -ifeq ($(BR2_PACKAGE_FREETYPE),y) -XSERVER_XORG_SERVER_DEPENDENCIES += freetype -endif - -ifeq ($(BR2_PACKAGE_LIBUNWIND),y) -XSERVER_XORG_SERVER_DEPENDENCIES += libunwind -XSERVER_XORG_SERVER_CONF_OPTS += --enable-libunwind -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-libunwind -endif - -ifneq ($(BR2_PACKAGE_XLIB_LIBXVMC),y) -XSERVER_XORG_SERVER_CONF_OPTS += --disable-xvmc -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) -XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libXcomposite -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-composite -endif - -ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y) -XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri2 -ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE),y) -XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libxshmfence -XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri3 -ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yyy) -XSERVER_XORG_SERVER_DEPENDENCIES += libepoxy -XSERVER_XORG_SERVER_CONF_OPTS += --enable-glamor -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-glamor -endif -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri3 --disable-glamor -endif -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri2 --disable-dri3 --disable-glamor -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXSCRNSAVER),y) -XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libXScrnSaver -XSERVER_XORG_SERVER_CONF_OPTS += --enable-screensaver -else -XSERVER_XORG_SERVER_CONF_OPTS += --disable-screensaver -endif - -ifneq ($(BR2_PACKAGE_XLIB_LIBDMX),y) -XSERVER_XORG_SERVER_CONF_OPTS += --disable-dmx -endif - -ifeq ($(BR2_PACKAGE_OPENSSL),y) -XSERVER_XORG_SERVER_CONF_OPTS += --with-sha1=libcrypto -XSERVER_XORG_SERVER_DEPENDENCIES += openssl -else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) -XSERVER_XORG_SERVER_CONF_OPTS += --with-sha1=libgcrypt -XSERVER_XORG_SERVER_DEPENDENCIES += libgcrypt -else -XSERVER_XORG_SERVER_CONF_OPTS += --with-sha1=libsha1 -XSERVER_XORG_SERVER_DEPENDENCIES += libsha1 -endif - -define XSERVER_XORG_SERVER_INSTALL_INIT_SYSTEMD - $(INSTALL) -D -m 0644 package/x11r7/xserver_xorg-server/xorg.service \ - $(TARGET_DIR)/usr/lib/systemd/system/xorg.service -endef - -# init script conflicts with S90nodm -ifneq ($(BR2_PACKAGE_NODM),y) -define XSERVER_XORG_SERVER_INSTALL_INIT_SYSV - $(INSTALL) -D -m 755 package/x11r7/xserver_xorg-server/S40xorg \ - $(TARGET_DIR)/etc/init.d/S40xorg -endef -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11vnc/Config.in b/buildroot-2021.05/package/x11vnc/Config.in deleted file mode 100644 index 9e91a11a..00000000 --- a/buildroot-2021.05/package/x11vnc/Config.in +++ /dev/null @@ -1,13 +0,0 @@ -config BR2_PACKAGE_X11VNC - bool "x11vnc" - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_MMU # fork() - depends on !BR2_nios2 # libvncserver - select BR2_PACKAGE_LIBVNCSERVER - select BR2_PACKAGE_XLIB_LIBXT - select BR2_PACKAGE_XLIB_LIBXEXT - select BR2_PACKAGE_XLIB_LIBXTST - help - VNC server for X11 display - - http://www.karlrunge.com/x11vnc/ diff --git a/buildroot-2021.05/package/x265/0001-fix-gcc-options.patch b/buildroot-2021.05/package/x265/0001-fix-gcc-options.patch deleted file mode 100644 index 81518212..00000000 --- a/buildroot-2021.05/package/x265/0001-fix-gcc-options.patch +++ /dev/null @@ -1,52 +0,0 @@ -# HG changeset patch -# User Bertrand Jacquin -# Date 1444431941 -3600 -# Node ID 5c6d2a6f2f9a0534933cc999b3845be4344e1af0 -# Parent b6156a08b1def3584647f26096866c1a0c11e54a -build: Disable -march selection from CMakeLists.txt - -x32 arch as defined on https://sites.google.com/site/x32abi is neither -X86 nor X64, then forcing -march=i686 leads to build failure as wrong --march is used. - -Forcing -march, -mfloat-abi and -mfpu for ARM is also wrong - -As a global sanity sake, disable all forced -march in CMakeLists - -Backported from upstream pull request: -https://bitbucket.org/multicoreware/x265/pull-requests/21 - -Signed-off-by: Bernd Kuhls - -diff -r 58dddcf01b7d source/CMakeLists.txt ---- a/source/CMakeLists.txt Mon Jan 23 09:50:33 2017 +0530 -+++ b/source/CMakeLists.txt Mon Jan 23 21:03:10 2017 +0100 -@@ -194,28 +194,6 @@ - if(NATIVE_BUILD) - if(INTEL_CXX) - add_definitions(-xhost) -- else() -- add_definitions(-march=native) -- endif() -- elseif(X86 AND NOT X64) -- string(FIND "${CMAKE_CXX_FLAGS}" "-march" marchPos) -- if(marchPos LESS "0") -- add_definitions(-march=i686) -- if(WIN32 AND NOT INTEL_CXX AND NOT CLANG AND -- CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 6.0 AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0) -- add_definitions(-mpreferred-stack-boundary=2) -- endif() -- endif() -- endif() -- if(ARM AND CROSS_COMPILE_ARM) -- set(ARM_ARGS -march=armv6 -mfloat-abi=soft -mfpu=vfp -marm -fPIC) -- elseif(ARM) -- find_package(Neon) -- if(CPU_HAS_NEON) -- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC) -- add_definitions(-DHAVE_NEON) -- else() -- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm) - endif() - endif() - add_definitions(${ARM_ARGS}) diff --git a/buildroot-2021.05/package/x265/0002-arm-asm-primitives.patch b/buildroot-2021.05/package/x265/0002-arm-asm-primitives.patch deleted file mode 100644 index e5004434..00000000 --- a/buildroot-2021.05/package/x265/0002-arm-asm-primitives.patch +++ /dev/null @@ -1,354 +0,0 @@ -Fixes "arm assembly fail to compile on 1.8" - -Downloaded from upstream bug report: -https://bitbucket.org/multicoreware/x265/issues/406 - -Signed-off-by: Bernd Kuhls - ---- ./source/common/arm/asm-primitives.cpp.orig 2018-05-21 02:33:10.000000000 -0600 -+++ ./source/common/arm/asm-primitives.cpp 2018-05-28 20:38:37.302378303 -0600 -@@ -48,77 +48,77 @@ void setupAssemblyPrimitives(EncoderPrim - p.ssim_4x4x2_core = PFX(ssim_4x4x2_core_neon); - - // addAvg -- p.pu[LUMA_4x4].addAvg = PFX(addAvg_4x4_neon); -- p.pu[LUMA_4x8].addAvg = PFX(addAvg_4x8_neon); -- p.pu[LUMA_4x16].addAvg = PFX(addAvg_4x16_neon); -- p.pu[LUMA_8x4].addAvg = PFX(addAvg_8x4_neon); -- p.pu[LUMA_8x8].addAvg = PFX(addAvg_8x8_neon); -- p.pu[LUMA_8x16].addAvg = PFX(addAvg_8x16_neon); -- p.pu[LUMA_8x32].addAvg = PFX(addAvg_8x32_neon); -- p.pu[LUMA_12x16].addAvg = PFX(addAvg_12x16_neon); -- p.pu[LUMA_16x4].addAvg = PFX(addAvg_16x4_neon); -- p.pu[LUMA_16x8].addAvg = PFX(addAvg_16x8_neon); -- p.pu[LUMA_16x12].addAvg = PFX(addAvg_16x12_neon); -- p.pu[LUMA_16x16].addAvg = PFX(addAvg_16x16_neon); -- p.pu[LUMA_16x32].addAvg = PFX(addAvg_16x32_neon); -- p.pu[LUMA_16x64].addAvg = PFX(addAvg_16x64_neon); -- p.pu[LUMA_24x32].addAvg = PFX(addAvg_24x32_neon); -- p.pu[LUMA_32x8].addAvg = PFX(addAvg_32x8_neon); -- p.pu[LUMA_32x16].addAvg = PFX(addAvg_32x16_neon); -- p.pu[LUMA_32x24].addAvg = PFX(addAvg_32x24_neon); -- p.pu[LUMA_32x32].addAvg = PFX(addAvg_32x32_neon); -- p.pu[LUMA_32x64].addAvg = PFX(addAvg_32x64_neon); -- p.pu[LUMA_48x64].addAvg = PFX(addAvg_48x64_neon); -- p.pu[LUMA_64x16].addAvg = PFX(addAvg_64x16_neon); -- p.pu[LUMA_64x32].addAvg = PFX(addAvg_64x32_neon); -- p.pu[LUMA_64x48].addAvg = PFX(addAvg_64x48_neon); -- p.pu[LUMA_64x64].addAvg = PFX(addAvg_64x64_neon); -+ p.pu[LUMA_4x4].addAvg[ALIGNED] = PFX(addAvg_4x4_neon); -+ p.pu[LUMA_4x8].addAvg[ALIGNED] = PFX(addAvg_4x8_neon); -+ p.pu[LUMA_4x16].addAvg[ALIGNED] = PFX(addAvg_4x16_neon); -+ p.pu[LUMA_8x4].addAvg[ALIGNED] = PFX(addAvg_8x4_neon); -+ p.pu[LUMA_8x8].addAvg[ALIGNED] = PFX(addAvg_8x8_neon); -+ p.pu[LUMA_8x16].addAvg[ALIGNED] = PFX(addAvg_8x16_neon); -+ p.pu[LUMA_8x32].addAvg[ALIGNED] = PFX(addAvg_8x32_neon); -+ p.pu[LUMA_12x16].addAvg[ALIGNED] = PFX(addAvg_12x16_neon); -+ p.pu[LUMA_16x4].addAvg[ALIGNED] = PFX(addAvg_16x4_neon); -+ p.pu[LUMA_16x8].addAvg[ALIGNED] = PFX(addAvg_16x8_neon); -+ p.pu[LUMA_16x12].addAvg[ALIGNED] = PFX(addAvg_16x12_neon); -+ p.pu[LUMA_16x16].addAvg[ALIGNED] = PFX(addAvg_16x16_neon); -+ p.pu[LUMA_16x32].addAvg[ALIGNED] = PFX(addAvg_16x32_neon); -+ p.pu[LUMA_16x64].addAvg[ALIGNED] = PFX(addAvg_16x64_neon); -+ p.pu[LUMA_24x32].addAvg[ALIGNED] = PFX(addAvg_24x32_neon); -+ p.pu[LUMA_32x8].addAvg[ALIGNED] = PFX(addAvg_32x8_neon); -+ p.pu[LUMA_32x16].addAvg[ALIGNED] = PFX(addAvg_32x16_neon); -+ p.pu[LUMA_32x24].addAvg[ALIGNED] = PFX(addAvg_32x24_neon); -+ p.pu[LUMA_32x32].addAvg[ALIGNED] = PFX(addAvg_32x32_neon); -+ p.pu[LUMA_32x64].addAvg[ALIGNED] = PFX(addAvg_32x64_neon); -+ p.pu[LUMA_48x64].addAvg[ALIGNED] = PFX(addAvg_48x64_neon); -+ p.pu[LUMA_64x16].addAvg[ALIGNED] = PFX(addAvg_64x16_neon); -+ p.pu[LUMA_64x32].addAvg[ALIGNED] = PFX(addAvg_64x32_neon); -+ p.pu[LUMA_64x48].addAvg[ALIGNED] = PFX(addAvg_64x48_neon); -+ p.pu[LUMA_64x64].addAvg[ALIGNED] = PFX(addAvg_64x64_neon); - - // chroma addAvg -- p.chroma[X265_CSP_I420].pu[CHROMA_420_4x2].addAvg = PFX(addAvg_4x2_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_4x4].addAvg = PFX(addAvg_4x4_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_4x8].addAvg = PFX(addAvg_4x8_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_4x16].addAvg = PFX(addAvg_4x16_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_6x8].addAvg = PFX(addAvg_6x8_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x2].addAvg = PFX(addAvg_8x2_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x4].addAvg = PFX(addAvg_8x4_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x6].addAvg = PFX(addAvg_8x6_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x8].addAvg = PFX(addAvg_8x8_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x16].addAvg = PFX(addAvg_8x16_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_8x32].addAvg = PFX(addAvg_8x32_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_12x16].addAvg = PFX(addAvg_12x16_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x4].addAvg = PFX(addAvg_16x4_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x8].addAvg = PFX(addAvg_16x8_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x12].addAvg = PFX(addAvg_16x12_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x16].addAvg = PFX(addAvg_16x16_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_16x32].addAvg = PFX(addAvg_16x32_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_24x32].addAvg = PFX(addAvg_24x32_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_32x8].addAvg = PFX(addAvg_32x8_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_32x16].addAvg = PFX(addAvg_32x16_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_32x24].addAvg = PFX(addAvg_32x24_neon); -- p.chroma[X265_CSP_I420].pu[CHROMA_420_32x32].addAvg = PFX(addAvg_32x32_neon); -- -- p.chroma[X265_CSP_I422].pu[CHROMA_422_4x8].addAvg = PFX(addAvg_4x8_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_4x16].addAvg = PFX(addAvg_4x16_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_4x32].addAvg = PFX(addAvg_4x32_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_6x16].addAvg = PFX(addAvg_6x16_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x4].addAvg = PFX(addAvg_8x4_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x8].addAvg = PFX(addAvg_8x8_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x12].addAvg = PFX(addAvg_8x12_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x16].addAvg = PFX(addAvg_8x16_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x32].addAvg = PFX(addAvg_8x32_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_8x64].addAvg = PFX(addAvg_8x64_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_12x32].addAvg = PFX(addAvg_12x32_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x8].addAvg = PFX(addAvg_16x8_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x16].addAvg = PFX(addAvg_16x16_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x24].addAvg = PFX(addAvg_16x24_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x32].addAvg = PFX(addAvg_16x32_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_16x64].addAvg = PFX(addAvg_16x64_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_24x64].addAvg = PFX(addAvg_24x64_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_32x16].addAvg = PFX(addAvg_32x16_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_32x32].addAvg = PFX(addAvg_32x32_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_32x48].addAvg = PFX(addAvg_32x48_neon); -- p.chroma[X265_CSP_I422].pu[CHROMA_422_32x64].addAvg = PFX(addAvg_32x64_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_4x2].addAvg[ALIGNED] = PFX(addAvg_4x2_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_4x4].addAvg[ALIGNED] = PFX(addAvg_4x4_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_4x8].addAvg[ALIGNED] = PFX(addAvg_4x8_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_4x16].addAvg[ALIGNED] = PFX(addAvg_4x16_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_6x8].addAvg[ALIGNED] = PFX(addAvg_6x8_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x2].addAvg[ALIGNED] = PFX(addAvg_8x2_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x4].addAvg[ALIGNED] = PFX(addAvg_8x4_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x6].addAvg[ALIGNED] = PFX(addAvg_8x6_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x8].addAvg[ALIGNED] = PFX(addAvg_8x8_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x16].addAvg[ALIGNED] = PFX(addAvg_8x16_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_8x32].addAvg[ALIGNED] = PFX(addAvg_8x32_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_12x16].addAvg[ALIGNED] = PFX(addAvg_12x16_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x4].addAvg[ALIGNED] = PFX(addAvg_16x4_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x8].addAvg[ALIGNED] = PFX(addAvg_16x8_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x12].addAvg[ALIGNED] = PFX(addAvg_16x12_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x16].addAvg[ALIGNED] = PFX(addAvg_16x16_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_16x32].addAvg[ALIGNED] = PFX(addAvg_16x32_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_24x32].addAvg[ALIGNED] = PFX(addAvg_24x32_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_32x8].addAvg[ALIGNED] = PFX(addAvg_32x8_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_32x16].addAvg[ALIGNED] = PFX(addAvg_32x16_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_32x24].addAvg[ALIGNED] = PFX(addAvg_32x24_neon); -+ p.chroma[X265_CSP_I420].pu[CHROMA_420_32x32].addAvg[ALIGNED] = PFX(addAvg_32x32_neon); -+ -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_4x8].addAvg[ALIGNED] = PFX(addAvg_4x8_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_4x16].addAvg[ALIGNED] = PFX(addAvg_4x16_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_4x32].addAvg[ALIGNED] = PFX(addAvg_4x32_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_6x16].addAvg[ALIGNED] = PFX(addAvg_6x16_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x4].addAvg[ALIGNED] = PFX(addAvg_8x4_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x8].addAvg[ALIGNED] = PFX(addAvg_8x8_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x12].addAvg[ALIGNED] = PFX(addAvg_8x12_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x16].addAvg[ALIGNED] = PFX(addAvg_8x16_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x32].addAvg[ALIGNED] = PFX(addAvg_8x32_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_8x64].addAvg[ALIGNED] = PFX(addAvg_8x64_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_12x32].addAvg[ALIGNED] = PFX(addAvg_12x32_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x8].addAvg[ALIGNED] = PFX(addAvg_16x8_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x16].addAvg[ALIGNED] = PFX(addAvg_16x16_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x24].addAvg[ALIGNED] = PFX(addAvg_16x24_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x32].addAvg[ALIGNED] = PFX(addAvg_16x32_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_16x64].addAvg[ALIGNED] = PFX(addAvg_16x64_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_24x64].addAvg[ALIGNED] = PFX(addAvg_24x64_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_32x16].addAvg[ALIGNED] = PFX(addAvg_32x16_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_32x32].addAvg[ALIGNED] = PFX(addAvg_32x32_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_32x48].addAvg[ALIGNED] = PFX(addAvg_32x48_neon); -+ p.chroma[X265_CSP_I422].pu[CHROMA_422_32x64].addAvg[ALIGNED] = PFX(addAvg_32x64_neon); - - // quant - p.quant = PFX(quant_neon); -@@ -402,7 +402,7 @@ void setupAssemblyPrimitives(EncoderPrim - p.scale2D_64to32 = PFX(scale2D_64to32_neon); - - // scale1D_128to64 -- p.scale1D_128to64 = PFX(scale1D_128to64_neon); -+ p.scale1D_128to64[ALIGNED] = PFX(scale1D_128to64_neon); - - // copy_count - p.cu[BLOCK_4x4].copy_cnt = PFX(copy_cnt_4_neon); -@@ -411,37 +411,37 @@ void setupAssemblyPrimitives(EncoderPrim - p.cu[BLOCK_32x32].copy_cnt = PFX(copy_cnt_32_neon); - - // filterPixelToShort -- p.pu[LUMA_4x4].convert_p2s = PFX(filterPixelToShort_4x4_neon); -- p.pu[LUMA_4x8].convert_p2s = PFX(filterPixelToShort_4x8_neon); -- p.pu[LUMA_4x16].convert_p2s = PFX(filterPixelToShort_4x16_neon); -- p.pu[LUMA_8x4].convert_p2s = PFX(filterPixelToShort_8x4_neon); -- p.pu[LUMA_8x8].convert_p2s = PFX(filterPixelToShort_8x8_neon); -- p.pu[LUMA_8x16].convert_p2s = PFX(filterPixelToShort_8x16_neon); -- p.pu[LUMA_8x32].convert_p2s = PFX(filterPixelToShort_8x32_neon); -- p.pu[LUMA_12x16].convert_p2s = PFX(filterPixelToShort_12x16_neon); -- p.pu[LUMA_16x4].convert_p2s = PFX(filterPixelToShort_16x4_neon); -- p.pu[LUMA_16x8].convert_p2s = PFX(filterPixelToShort_16x8_neon); -- p.pu[LUMA_16x12].convert_p2s = PFX(filterPixelToShort_16x12_neon); -- p.pu[LUMA_16x16].convert_p2s = PFX(filterPixelToShort_16x16_neon); -- p.pu[LUMA_16x32].convert_p2s = PFX(filterPixelToShort_16x32_neon); -- p.pu[LUMA_16x64].convert_p2s = PFX(filterPixelToShort_16x64_neon); -- p.pu[LUMA_24x32].convert_p2s = PFX(filterPixelToShort_24x32_neon); -- p.pu[LUMA_32x8].convert_p2s = PFX(filterPixelToShort_32x8_neon); -- p.pu[LUMA_32x16].convert_p2s = PFX(filterPixelToShort_32x16_neon); -- p.pu[LUMA_32x24].convert_p2s = PFX(filterPixelToShort_32x24_neon); -- p.pu[LUMA_32x32].convert_p2s = PFX(filterPixelToShort_32x32_neon); -- p.pu[LUMA_32x64].convert_p2s = PFX(filterPixelToShort_32x64_neon); -- p.pu[LUMA_48x64].convert_p2s = PFX(filterPixelToShort_48x64_neon); -- p.pu[LUMA_64x16].convert_p2s = PFX(filterPixelToShort_64x16_neon); -- p.pu[LUMA_64x32].convert_p2s = PFX(filterPixelToShort_64x32_neon); -- p.pu[LUMA_64x48].convert_p2s = PFX(filterPixelToShort_64x48_neon); -- p.pu[LUMA_64x64].convert_p2s = PFX(filterPixelToShort_64x64_neon); -+ p.pu[LUMA_4x4].convert_p2s[ALIGNED] = PFX(filterPixelToShort_4x4_neon); -+ p.pu[LUMA_4x8].convert_p2s[ALIGNED] = PFX(filterPixelToShort_4x8_neon); -+ p.pu[LUMA_4x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_4x16_neon); -+ p.pu[LUMA_8x4].convert_p2s[ALIGNED] = PFX(filterPixelToShort_8x4_neon); -+ p.pu[LUMA_8x8].convert_p2s[ALIGNED] = PFX(filterPixelToShort_8x8_neon); -+ p.pu[LUMA_8x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_8x16_neon); -+ p.pu[LUMA_8x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_8x32_neon); -+ p.pu[LUMA_12x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_12x16_neon); -+ p.pu[LUMA_16x4].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x4_neon); -+ p.pu[LUMA_16x8].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x8_neon); -+ p.pu[LUMA_16x12].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x12_neon); -+ p.pu[LUMA_16x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x16_neon); -+ p.pu[LUMA_16x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x32_neon); -+ p.pu[LUMA_16x64].convert_p2s[ALIGNED] = PFX(filterPixelToShort_16x64_neon); -+ p.pu[LUMA_24x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_24x32_neon); -+ p.pu[LUMA_32x8].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x8_neon); -+ p.pu[LUMA_32x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x16_neon); -+ p.pu[LUMA_32x24].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x24_neon); -+ p.pu[LUMA_32x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x32_neon); -+ p.pu[LUMA_32x64].convert_p2s[ALIGNED] = PFX(filterPixelToShort_32x64_neon); -+ p.pu[LUMA_48x64].convert_p2s[ALIGNED] = PFX(filterPixelToShort_48x64_neon); -+ p.pu[LUMA_64x16].convert_p2s[ALIGNED] = PFX(filterPixelToShort_64x16_neon); -+ p.pu[LUMA_64x32].convert_p2s[ALIGNED] = PFX(filterPixelToShort_64x32_neon); -+ p.pu[LUMA_64x48].convert_p2s[ALIGNED] = PFX(filterPixelToShort_64x48_neon); -+ p.pu[LUMA_64x64].convert_p2s[ALIGNED] = PFX(filterPixelToShort_64x64_neon); - - // Block_fill -- p.cu[BLOCK_4x4].blockfill_s = PFX(blockfill_s_4x4_neon); -- p.cu[BLOCK_8x8].blockfill_s = PFX(blockfill_s_8x8_neon); -- p.cu[BLOCK_16x16].blockfill_s = PFX(blockfill_s_16x16_neon); -- p.cu[BLOCK_32x32].blockfill_s = PFX(blockfill_s_32x32_neon); -+ p.cu[BLOCK_4x4].blockfill_s[ALIGNED] = PFX(blockfill_s_4x4_neon); -+ p.cu[BLOCK_8x8].blockfill_s[ALIGNED] = PFX(blockfill_s_8x8_neon); -+ p.cu[BLOCK_16x16].blockfill_s[ALIGNED] = PFX(blockfill_s_16x16_neon); -+ p.cu[BLOCK_32x32].blockfill_s[ALIGNED] = PFX(blockfill_s_32x32_neon); - - // Blockcopy_ss - p.cu[BLOCK_4x4].copy_ss = PFX(blockcopy_ss_4x4_neon); -@@ -495,21 +495,21 @@ void setupAssemblyPrimitives(EncoderPrim - p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].copy_sp = PFX(blockcopy_sp_32x64_neon); - - // pixel_add_ps -- p.cu[BLOCK_4x4].add_ps = PFX(pixel_add_ps_4x4_neon); -- p.cu[BLOCK_8x8].add_ps = PFX(pixel_add_ps_8x8_neon); -- p.cu[BLOCK_16x16].add_ps = PFX(pixel_add_ps_16x16_neon); -- p.cu[BLOCK_32x32].add_ps = PFX(pixel_add_ps_32x32_neon); -- p.cu[BLOCK_64x64].add_ps = PFX(pixel_add_ps_64x64_neon); -+ p.cu[BLOCK_4x4].add_ps[ALIGNED] = PFX(pixel_add_ps_4x4_neon); -+ p.cu[BLOCK_8x8].add_ps[ALIGNED] = PFX(pixel_add_ps_8x8_neon); -+ p.cu[BLOCK_16x16].add_ps[ALIGNED] = PFX(pixel_add_ps_16x16_neon); -+ p.cu[BLOCK_32x32].add_ps[ALIGNED] = PFX(pixel_add_ps_32x32_neon); -+ p.cu[BLOCK_64x64].add_ps[ALIGNED] = PFX(pixel_add_ps_64x64_neon); - - // chroma add_ps -- p.chroma[X265_CSP_I420].cu[BLOCK_420_4x4].add_ps = PFX(pixel_add_ps_4x4_neon); -- p.chroma[X265_CSP_I420].cu[BLOCK_420_8x8].add_ps = PFX(pixel_add_ps_8x8_neon); -- p.chroma[X265_CSP_I420].cu[BLOCK_420_16x16].add_ps = PFX(pixel_add_ps_16x16_neon); -- p.chroma[X265_CSP_I420].cu[BLOCK_420_32x32].add_ps = PFX(pixel_add_ps_32x32_neon); -- p.chroma[X265_CSP_I422].cu[BLOCK_422_4x8].add_ps = PFX(pixel_add_ps_4x8_neon); -- p.chroma[X265_CSP_I422].cu[BLOCK_422_8x16].add_ps = PFX(pixel_add_ps_8x16_neon); -- p.chroma[X265_CSP_I422].cu[BLOCK_422_16x32].add_ps = PFX(pixel_add_ps_16x32_neon); -- p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].add_ps = PFX(pixel_add_ps_32x64_neon); -+ p.chroma[X265_CSP_I420].cu[BLOCK_420_4x4].add_ps[ALIGNED] = PFX(pixel_add_ps_4x4_neon); -+ p.chroma[X265_CSP_I420].cu[BLOCK_420_8x8].add_ps[ALIGNED] = PFX(pixel_add_ps_8x8_neon); -+ p.chroma[X265_CSP_I420].cu[BLOCK_420_16x16].add_ps[ALIGNED] = PFX(pixel_add_ps_16x16_neon); -+ p.chroma[X265_CSP_I420].cu[BLOCK_420_32x32].add_ps[ALIGNED] = PFX(pixel_add_ps_32x32_neon); -+ p.chroma[X265_CSP_I422].cu[BLOCK_422_4x8].add_ps[ALIGNED] = PFX(pixel_add_ps_4x8_neon); -+ p.chroma[X265_CSP_I422].cu[BLOCK_422_8x16].add_ps[ALIGNED] = PFX(pixel_add_ps_8x16_neon); -+ p.chroma[X265_CSP_I422].cu[BLOCK_422_16x32].add_ps[ALIGNED] = PFX(pixel_add_ps_16x32_neon); -+ p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].add_ps[ALIGNED] = PFX(pixel_add_ps_32x64_neon); - - // cpy2Dto1D_shr - p.cu[BLOCK_4x4].cpy2Dto1D_shr = PFX(cpy2Dto1D_shr_4x4_neon); -@@ -518,10 +518,10 @@ void setupAssemblyPrimitives(EncoderPrim - p.cu[BLOCK_32x32].cpy2Dto1D_shr = PFX(cpy2Dto1D_shr_32x32_neon); - - // ssd_s -- p.cu[BLOCK_4x4].ssd_s = PFX(pixel_ssd_s_4x4_neon); -- p.cu[BLOCK_8x8].ssd_s = PFX(pixel_ssd_s_8x8_neon); -- p.cu[BLOCK_16x16].ssd_s = PFX(pixel_ssd_s_16x16_neon); -- p.cu[BLOCK_32x32].ssd_s = PFX(pixel_ssd_s_32x32_neon); -+ p.cu[BLOCK_4x4].ssd_s[ALIGNED] = PFX(pixel_ssd_s_4x4_neon); -+ p.cu[BLOCK_8x8].ssd_s[ALIGNED] = PFX(pixel_ssd_s_8x8_neon); -+ p.cu[BLOCK_16x16].ssd_s[ALIGNED] = PFX(pixel_ssd_s_16x16_neon); -+ p.cu[BLOCK_32x32].ssd_s[ALIGNED] = PFX(pixel_ssd_s_32x32_neon); - - // sse_ss - p.cu[BLOCK_4x4].sse_ss = PFX(pixel_sse_ss_4x4_neon); -@@ -548,10 +548,10 @@ void setupAssemblyPrimitives(EncoderPrim - p.chroma[X265_CSP_I422].cu[BLOCK_422_32x64].sub_ps = PFX(pixel_sub_ps_32x64_neon); - - // calc_Residual -- p.cu[BLOCK_4x4].calcresidual = PFX(getResidual4_neon); -- p.cu[BLOCK_8x8].calcresidual = PFX(getResidual8_neon); -- p.cu[BLOCK_16x16].calcresidual = PFX(getResidual16_neon); -- p.cu[BLOCK_32x32].calcresidual = PFX(getResidual32_neon); -+ p.cu[BLOCK_4x4].calcresidual[ALIGNED] = PFX(getResidual4_neon); -+ p.cu[BLOCK_8x8].calcresidual[ALIGNED] = PFX(getResidual8_neon); -+ p.cu[BLOCK_16x16].calcresidual[ALIGNED] = PFX(getResidual16_neon); -+ p.cu[BLOCK_32x32].calcresidual[ALIGNED] = PFX(getResidual32_neon); - - // sse_pp - p.cu[BLOCK_4x4].sse_pp = PFX(pixel_sse_pp_4x4_neon); -@@ -722,31 +722,31 @@ void setupAssemblyPrimitives(EncoderPrim - p.pu[LUMA_64x64].sad_x4 = PFX(sad_x4_64x64_neon); - - // pixel_avg_pp -- p.pu[LUMA_4x4].pixelavg_pp = PFX(pixel_avg_pp_4x4_neon); -- p.pu[LUMA_4x8].pixelavg_pp = PFX(pixel_avg_pp_4x8_neon); -- p.pu[LUMA_4x16].pixelavg_pp = PFX(pixel_avg_pp_4x16_neon); -- p.pu[LUMA_8x4].pixelavg_pp = PFX(pixel_avg_pp_8x4_neon); -- p.pu[LUMA_8x8].pixelavg_pp = PFX(pixel_avg_pp_8x8_neon); -- p.pu[LUMA_8x16].pixelavg_pp = PFX(pixel_avg_pp_8x16_neon); -- p.pu[LUMA_8x32].pixelavg_pp = PFX(pixel_avg_pp_8x32_neon); -- p.pu[LUMA_12x16].pixelavg_pp = PFX(pixel_avg_pp_12x16_neon); -- p.pu[LUMA_16x4].pixelavg_pp = PFX(pixel_avg_pp_16x4_neon); -- p.pu[LUMA_16x8].pixelavg_pp = PFX(pixel_avg_pp_16x8_neon); -- p.pu[LUMA_16x12].pixelavg_pp = PFX(pixel_avg_pp_16x12_neon); -- p.pu[LUMA_16x16].pixelavg_pp = PFX(pixel_avg_pp_16x16_neon); -- p.pu[LUMA_16x32].pixelavg_pp = PFX(pixel_avg_pp_16x32_neon); -- p.pu[LUMA_16x64].pixelavg_pp = PFX(pixel_avg_pp_16x64_neon); -- p.pu[LUMA_24x32].pixelavg_pp = PFX(pixel_avg_pp_24x32_neon); -- p.pu[LUMA_32x8].pixelavg_pp = PFX(pixel_avg_pp_32x8_neon); -- p.pu[LUMA_32x16].pixelavg_pp = PFX(pixel_avg_pp_32x16_neon); -- p.pu[LUMA_32x24].pixelavg_pp = PFX(pixel_avg_pp_32x24_neon); -- p.pu[LUMA_32x32].pixelavg_pp = PFX(pixel_avg_pp_32x32_neon); -- p.pu[LUMA_32x64].pixelavg_pp = PFX(pixel_avg_pp_32x64_neon); -- p.pu[LUMA_48x64].pixelavg_pp = PFX(pixel_avg_pp_48x64_neon); -- p.pu[LUMA_64x16].pixelavg_pp = PFX(pixel_avg_pp_64x16_neon); -- p.pu[LUMA_64x32].pixelavg_pp = PFX(pixel_avg_pp_64x32_neon); -- p.pu[LUMA_64x48].pixelavg_pp = PFX(pixel_avg_pp_64x48_neon); -- p.pu[LUMA_64x64].pixelavg_pp = PFX(pixel_avg_pp_64x64_neon); -+ p.pu[LUMA_4x4].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_4x4_neon); -+ p.pu[LUMA_4x8].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_4x8_neon); -+ p.pu[LUMA_4x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_4x16_neon); -+ p.pu[LUMA_8x4].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_8x4_neon); -+ p.pu[LUMA_8x8].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_8x8_neon); -+ p.pu[LUMA_8x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_8x16_neon); -+ p.pu[LUMA_8x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_8x32_neon); -+ p.pu[LUMA_12x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_12x16_neon); -+ p.pu[LUMA_16x4].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x4_neon); -+ p.pu[LUMA_16x8].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x8_neon); -+ p.pu[LUMA_16x12].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x12_neon); -+ p.pu[LUMA_16x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x16_neon); -+ p.pu[LUMA_16x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x32_neon); -+ p.pu[LUMA_16x64].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_16x64_neon); -+ p.pu[LUMA_24x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_24x32_neon); -+ p.pu[LUMA_32x8].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x8_neon); -+ p.pu[LUMA_32x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x16_neon); -+ p.pu[LUMA_32x24].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x24_neon); -+ p.pu[LUMA_32x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x32_neon); -+ p.pu[LUMA_32x64].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_32x64_neon); -+ p.pu[LUMA_48x64].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_48x64_neon); -+ p.pu[LUMA_64x16].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_64x16_neon); -+ p.pu[LUMA_64x32].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_64x32_neon); -+ p.pu[LUMA_64x48].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_64x48_neon); -+ p.pu[LUMA_64x64].pixelavg_pp[ALIGNED] = PFX(pixel_avg_pp_64x64_neon); - - // planecopy - p.planecopy_cp = PFX(pixel_planecopy_cp_neon); diff --git a/buildroot-2021.05/package/x265/Config.in b/buildroot-2021.05/package/x265/Config.in deleted file mode 100644 index 180931db..00000000 --- a/buildroot-2021.05/package/x265/Config.in +++ /dev/null @@ -1,29 +0,0 @@ -config BR2_PACKAGE_X265 - bool "x265" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS # dlfcn - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - help - x265 is an open source free software and library for - encoding video using the High Efficiency Video Coding - (HEVC/H.265) standard. x265 is offered under either the GNU - General Public License (GPL) 2 license or a commercial - license, similar to the x264 project. - - https://bitbucket.org/multicoreware/x265/wiki/Home - -if BR2_PACKAGE_X265 - -config BR2_PACKAGE_X265_CLI - bool "CLI" - help - Command-line tool to encode video streams into the - H.265/HEVC compression format. - -endif - -comment "x265 needs a toolchain w/ C++, threads, dynamic library" - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 diff --git a/buildroot-2021.05/package/x265/x265.hash b/buildroot-2021.05/package/x265/x265.hash deleted file mode 100644 index 3d70ac0c..00000000 --- a/buildroot-2021.05/package/x265/x265.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://mailman.videolan.org/pipermail/x265-devel/2020-February/012880.html -md5 0c8c747b59b5411dea8cf557554636c1 x265_3.3.tar.gz -# Locally generated -sha256 f26e148ed1f4dfb33fd1eb3ff5e60e08078d1b2017e88bcbb045b3fb58300b9c x265_3.3.tar.gz -sha256 d8afb1bcc7a2cfc603683b168d6987ef0a48e59e0da3693bf55c5d33b67e2b49 COPYING diff --git a/buildroot-2021.05/package/x265/x265.mk b/buildroot-2021.05/package/x265/x265.mk deleted file mode 100644 index 872753ee..00000000 --- a/buildroot-2021.05/package/x265/x265.mk +++ /dev/null @@ -1,39 +0,0 @@ -################################################################################ -# -# x265 -# -################################################################################ - -X265_VERSION = 3.3 -X265_SOURCE = x265_$(X265_VERSION).tar.gz -X265_SITE = https://bitbucket.org/multicoreware/x265/downloads -X265_LICENSE = GPL-2.0+ -X265_LICENSE_FILES = COPYING -X265_CPE_ID_VENDOR = multicorewareinc -X265_SUBDIR = source -X265_INSTALL_STAGING = YES -X265_MAKE = $(MAKE1) - -ifeq ($(BR2_i386)$(BR2_x86_64),y) -X265_DEPENDENCIES += host-nasm -endif - -# disable altivec, it has build issues -# https://bitbucket.org/multicoreware/x265/issues/320/ -ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y) -X265_CONF_OPTS += -DENABLE_ALTIVEC=OFF -endif - -ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) -X265_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_PIC=ON -else -X265_CONF_OPTS += -DENABLE_SHARED=OFF -endif - -ifeq ($(BR2_PACKAGE_X265_CLI),y) -X265_CONF_OPTS += -DENABLE_CLI=ON -else -X265_CONF_OPTS += -DENABLE_CLI=OFF -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/xapian/xapian.hash b/buildroot-2021.05/package/xapian/xapian.hash deleted file mode 100644 index 192032e6..00000000 --- a/buildroot-2021.05/package/xapian/xapian.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://lists.xapian.org/pipermail/xapian-discuss/2021-January/009856.html -sha256 196ddbb4ad10450100f0991a599e4ed944cbad92e4a6fe813be6dce160244b77 xapian-core-1.4.18.tar.xz - -# locally computed -sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING diff --git a/buildroot-2021.05/package/xapian/xapian.mk b/buildroot-2021.05/package/xapian/xapian.mk deleted file mode 100644 index 4f40babc..00000000 --- a/buildroot-2021.05/package/xapian/xapian.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# xapian -# -################################################################################ - -XAPIAN_VERSION = 1.4.18 -XAPIAN_SOURCE = xapian-core-$(XAPIAN_VERSION).tar.xz -XAPIAN_SITE = https://oligarchy.co.uk/xapian/$(XAPIAN_VERSION) -XAPIAN_LICENSE = GPL-2.0+ -XAPIAN_LICENSE_FILES = COPYING -XAPIAN_CPE_ID_VENDOR = xapian -XAPIAN_CPE_ID_PRODUCT = xapian-core -XAPIAN_INSTALL_STAGING = YES -XAPIAN_DEPENDENCIES = zlib - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xdg-dbus-proxy/0001-Fix-musl-compilation-by-adding-TEMP_FAILURE_RETRY.patch b/buildroot-2021.05/package/xdg-dbus-proxy/0001-Fix-musl-compilation-by-adding-TEMP_FAILURE_RETRY.patch deleted file mode 100644 index e531f589..00000000 --- a/buildroot-2021.05/package/xdg-dbus-proxy/0001-Fix-musl-compilation-by-adding-TEMP_FAILURE_RETRY.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 645c45f0334bb1d6e31b5927cece5e446f129cbb Mon Sep 17 00:00:00 2001 -From: Danilo Spinella -Date: Sat, 7 Dec 2019 00:05:21 +0100 -Subject: [PATCH] Fix musl compilation by adding TEMP_FAILURE_RETRY - -Fetch from: https://github.com/flatpak/xdg-dbus-proxy/pull/13 -Upstream-Status: Accepted -Signed-off-by: Adrian Perez de Castro - ---- - dbus-proxy.c | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/dbus-proxy.c b/dbus-proxy.c -index 163df21..4b07931 100644 ---- a/dbus-proxy.c -+++ b/dbus-proxy.c -@@ -30,6 +30,15 @@ - #include - - #include "flatpak-proxy.h" -+// Taken from glibc unistd.h -+#ifndef TEMP_FAILURE_RETRY -+# define TEMP_FAILURE_RETRY(expression) \ -+ (__extension__ \ -+ ({ long int __result; \ -+ do __result = (long int) (expression); \ -+ while (__result == -1L && errno == EINTR); \ -+ __result; })) -+#endif - - static const char *argv0; - static GList *proxies; --- -2.24.1 - diff --git a/buildroot-2021.05/package/xdg-dbus-proxy/xdg-dbus-proxy.hash b/buildroot-2021.05/package/xdg-dbus-proxy/xdg-dbus-proxy.hash deleted file mode 100644 index 37bda784..00000000 --- a/buildroot-2021.05/package/xdg-dbus-proxy/xdg-dbus-proxy.hash +++ /dev/null @@ -1,5 +0,0 @@ -# From https://github.com/flatpak/xdg-dbus-proxy/releases/tag/0.1.2 -sha256 1749d6f9f46dcc9edc87725641cf56cf91dcad1b01707891ea0850c1000c520f xdg-dbus-proxy-0.1.2.tar.xz - -# Hash for license files: -sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2021.05/package/xdg-dbus-proxy/xdg-dbus-proxy.mk b/buildroot-2021.05/package/xdg-dbus-proxy/xdg-dbus-proxy.mk deleted file mode 100644 index 1b056c36..00000000 --- a/buildroot-2021.05/package/xdg-dbus-proxy/xdg-dbus-proxy.mk +++ /dev/null @@ -1,17 +0,0 @@ -################################################################################ -# -# bubblewrap -# -################################################################################ - -XDG_DBUS_PROXY_VERSION = 0.1.2 -XDG_DBUS_PROXY_SITE = https://github.com/flatpak/xdg-dbus-proxy/releases/download/$(XDG_DBUS_PROXY_VERSION) -XDG_DBUS_PROXY_SOURCE = xdg-dbus-proxy-$(XDG_DBUS_PROXY_VERSION).tar.xz -XDG_DBUS_PROXY_DEPENDENCIES = host-pkgconf libglib2 - -XDG_DBUS_PROXY_LICENSE = LGPL-2.1+ -XDG_DBUS_PROXY_LICENSE_FILES = COPYING - -XDG_DBUS_PROXY_CONF_OPTS = --disable-man - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xen/xen.hash b/buildroot-2021.05/package/xen/xen.hash deleted file mode 100644 index fd0310c9..00000000 --- a/buildroot-2021.05/package/xen/xen.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 e35099a963070e3c9f425d1e36cbb1c40b7874ef449bfafd6688343783cb25ad xen-4.14.2.tar.gz -sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING diff --git a/buildroot-2021.05/package/xen/xen.mk b/buildroot-2021.05/package/xen/xen.mk deleted file mode 100644 index b84214ed..00000000 --- a/buildroot-2021.05/package/xen/xen.mk +++ /dev/null @@ -1,65 +0,0 @@ -################################################################################ -# -# Xen -# -################################################################################ - -XEN_VERSION = 4.14.2 -XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) -XEN_LICENSE = GPL-2.0 -XEN_LICENSE_FILES = COPYING -XEN_CPE_ID_VENDOR = xen -XEN_CPE_ID_PREFIX = cpe:2.3:o -XEN_DEPENDENCIES = host-acpica host-python3 - -# Calculate XEN_ARCH -ifeq ($(ARCH),aarch64) -XEN_ARCH = arm64 -else ifeq ($(ARCH),arm) -XEN_ARCH = arm32 -endif - -XEN_CONF_OPTS = \ - --disable-golang \ - --disable-ocamltools \ - --with-initddir=/etc/init.d - -XEN_CONF_ENV = PYTHON=$(HOST_DIR)/bin/python3 -XEN_MAKE_ENV = \ - XEN_TARGET_ARCH=$(XEN_ARCH) \ - CROSS_COMPILE=$(TARGET_CROSS) \ - HOST_EXTRACFLAGS="-Wno-error" \ - XEN_HAS_CHECKPOLICY=n \ - $(TARGET_CONFIGURE_OPTS) - -ifeq ($(BR2_PACKAGE_XEN_HYPERVISOR),y) -XEN_MAKE_OPTS += dist-xen -XEN_INSTALL_IMAGES = YES -define XEN_INSTALL_IMAGES_CMDS - cp $(@D)/xen/xen $(BINARIES_DIR) -endef -else -XEN_CONF_OPTS += --disable-xen -endif - -ifeq ($(BR2_PACKAGE_XEN_TOOLS),y) -XEN_DEPENDENCIES += \ - dtc libaio libglib2 ncurses openssl pixman slirp util-linux yajl -ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) -XEN_DEPENDENCIES += argp-standalone -endif -XEN_INSTALL_TARGET_OPTS += DESTDIR=$(TARGET_DIR) install-tools -XEN_MAKE_OPTS += dist-tools -XEN_CONF_OPTS += --with-extra-qemuu-configure-args="--disable-sdl --disable-opengl" - -define XEN_INSTALL_INIT_SYSV - mv $(TARGET_DIR)/etc/init.d/xencommons $(TARGET_DIR)/etc/init.d/S50xencommons - mv $(TARGET_DIR)/etc/init.d/xen-watchdog $(TARGET_DIR)/etc/init.d/S50xen-watchdog - mv $(TARGET_DIR)/etc/init.d/xendomains $(TARGET_DIR)/etc/init.d/S60xendomains -endef -else -XEN_INSTALL_TARGET = NO -XEN_CONF_OPTS += --disable-tools -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xenomai/xenomai.mk b/buildroot-2021.05/package/xenomai/xenomai.mk deleted file mode 100644 index 7e3b1300..00000000 --- a/buildroot-2021.05/package/xenomai/xenomai.mk +++ /dev/null @@ -1,161 +0,0 @@ -################################################################################ -# -# xenomai -# -################################################################################ - -XENOMAI_VERSION = $(call qstrip,$(BR2_PACKAGE_XENOMAI_VERSION)) -ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL),y) -XENOMAI_TARBALL = $(call qstrip,$(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL)) -XENOMAI_SOURCE = $(notdir $(XENOMAI_TARBALL)) -XENOMAI_SITE = $(patsubst %/,%,$(dir $(XENOMAI_TARBALL))) -else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_GIT),y) -XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY)) -XENOMAI_SITE_METHOD = git -else -XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2 -XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable -endif - -# Exclude all from the hash check, but the latest version. -ifeq ($(BR2_PACKAGE_XENOMAI)$(BR2_PACKAGE_XENOMAI_LATEST_VERSION),y) -BR_NO_CHECK_HASH_FOR += $(XENOMAI_SOURCE) -endif - -XENOMAI_LICENSE = GPL-2.0+ with exception (headers), LGPL-2.1+ (libraries), GPL-2.0+ (kernel), GFDL-1.2+ (docs), GPL-2.0 (ipipe patch, can driver) -# GFDL is not included but refers to gnu.org -XENOMAI_LICENSE_FILES = debian/copyright include/COPYING kernel/cobalt/COPYING \ - kernel/cobalt/posix/COPYING kernel/cobalt/rtdm/COPYING \ - lib/alchemy/COPYING lib/analogy/COPYING \ - lib/boilerplate/iniparser/LICENSE lib/boilerplate/COPYING \ - lib/cobalt/COPYING lib/copperplate/COPYING lib/psos/COPYING \ - lib/smokey/COPYING lib/trank/COPYING lib/vxworks/COPYING - -XENOMAI_DEPENDENCIES = host-pkgconf - -XENOMAI_INSTALL_STAGING = YES -XENOMAI_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-user -XENOMAI_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-user - -XENOMAI_CONF_OPTS += --includedir=/usr/include/xenomai/ - -ifeq ($(BR2_PACKAGE_XENOMAI_MERCURY),y) -XENOMAI_CONF_OPTS += --with-core=mercury -else -XENOMAI_CONF_OPTS += --with-core=cobalt -endif - -ifeq ($(BR2_PACKAGE_XENOMAI_ENABLE_SMP),y) -XENOMAI_CONF_OPTS += --enable-smp -else -XENOMAI_CONF_OPTS += --disable-smp -endif - -ifeq ($(BR2_PACKAGE_XENOMAI_ENABLE_REGISTRY),y) -XENOMAI_DEPENDENCIES += libfuse -XENOMAI_REGISTRY_PATH = $(call qstrip,$(BR2_PACKAGE_XENOMAI_ENABLE_REGISTRY_PATH)) -ifeq ($(XENOMAI_REGISTRY_PATH),) -XENOMAI_CONF_OPTS += --enable-registry -else -XENOMAI_CONF_OPTS += --enable-registry=$(XENOMAI_REGISTRY_PATH) -endif -else -XENOMAI_CONF_OPTS += --disable-registry -endif - -XENOMAI_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS)) - -# Some of these files may be desired by some users -- at that point specific -# config options need to be added to keep a particular set. -define XENOMAI_REMOVE_UNNEEDED_FILES - for i in xeno xeno-config xeno-info wrap-link.sh ; do \ - rm -f $(TARGET_DIR)/usr/bin/$$i ; \ - done - for i in cobalt modechk ; do \ - rm -f $(TARGET_DIR)/usr/lib/$$i.wrappers ; \ - done - for i in autotune corectl hdb rtnet nomaccfg rtcfg rtifconfig \ - rtiwconfig rtping rtroute tdmacfg rtps slackspot version; do \ - rm -f $(TARGET_DIR)/usr/sbin/$$i ; \ - done -endef - -XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_UNNEEDED_FILES - -ifeq ($(BR2_PACKAGE_XENOMAI_TESTSUITE),) -define XENOMAI_REMOVE_TESTSUITE - rm -rf $(TARGET_DIR)/usr/share/xenomai/ - for i in clocktest gpiotest latency smokey spitest switchtest \ - xeno-test-run-wrapper dohell xeno-test-run xeno-test ; do \ - rm -f $(TARGET_DIR)/usr/bin/$$i ; \ - done - rm -rf $(TARGET_DIR)/usr/demo/ -endef - -XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_TESTSUITE -endif - -ifeq ($(BR2_PACKAGE_XENOMAI_RTCAN),) -define XENOMAI_REMOVE_RTCAN_PROGS - for i in rtcanrecv rtcansend ; do \ - rm -f $(TARGET_DIR)/usr/bin/$$i ; \ - done - rm -f $(TARGET_DIR)/usr/sbin/rtcanconfig -endef - -XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_RTCAN_PROGS -endif - -ifeq ($(BR2_PACKAGE_XENOMAI_ANALOGY),) -define XENOMAI_REMOVE_ANALOGY - for i in cmd_read cmd_write cmd_bits insn_read insn_write insn_bits \ - wf_generate ; do \ - rm -f $(TARGET_DIR)/usr/bin/$$i ; \ - done - for i in analogy_config analogy_calibrate ; do \ - rm -f $(TARGET_DIR)/usr/sbin/$$i ; \ - done - rm -f $(TARGET_DIR)/usr/lib/libanalogy.* -endef - -XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_ANALOGY -endif - -XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_NATIVE_SKIN),,alchemy) -XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_POSIX_SKIN),,posix) -XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_PSOS_SKIN),,psos) -XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_RTAI_SKIN),,rtai) -XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_TESTSUITE),,smokey) -XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_UITRON_SKIN),,uitron) -XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_VXWORKS_SKIN),,vxworks) -XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_VRTX_SKIN),,vrtx) - -define XENOMAI_REMOVE_LIBS - for i in $(XENOMAI_REMOVE_LIBS_LIST) ; do \ - rm -f $(TARGET_DIR)/usr/lib/lib$$i.* ; \ - done -endef - -XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_LIBS - -define XENOMAI_DEVICES - /dev/rtheap c 666 0 0 10 254 0 0 - - /dev/rtscope c 666 0 0 10 253 0 0 - - /dev/rtp c 666 0 0 150 0 0 1 32 -endef - -ifeq ($(BR2_PACKAGE_HAS_UDEV),y) -XENOMAI_DEPENDENCIES += udev - -define XENOMAI_INSTALL_UDEV_RULES - if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \ - for f in $(@D)/kernel/cobalt/udev/*.rules ; do \ - cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \ - done ; \ - fi; -endef - -XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_INSTALL_UDEV_RULES -endif # udev - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xerces/Config.in b/buildroot-2021.05/package/xerces/Config.in deleted file mode 100644 index 828b5dd2..00000000 --- a/buildroot-2021.05/package/xerces/Config.in +++ /dev/null @@ -1,21 +0,0 @@ -config BR2_PACKAGE_XERCES - bool "xerces-c++" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_WCHAR - help - Xerces-C++ is a validating XML parser written in portable C++. - - http://xerces.apache.org/xerces-c/ - -if BR2_PACKAGE_XERCES - -config BR2_PACKAGE_XERCES_ENABLE_NETWORK - bool "Enable network support" - default y - help - Enable network support in xerces - -endif - -comment "xerces-c++ needs a toolchain w/ C++, wchar" - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR) diff --git a/buildroot-2021.05/package/xfsprogs/Config.in b/buildroot-2021.05/package/xfsprogs/Config.in deleted file mode 100644 index b8e07cc8..00000000 --- a/buildroot-2021.05/package/xfsprogs/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -comment "xfsprogs needs a toolchain w/ threads" - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_HAS_THREADS - -config BR2_PACKAGE_XFSPROGS - bool "xfsprogs" - depends on BR2_USE_MMU # fork() - depends on BR2_TOOLCHAIN_HAS_THREADS - select BR2_PACKAGE_INIH - select BR2_PACKAGE_UTIL_LINUX - select BR2_PACKAGE_UTIL_LINUX_LIBUUID - select BR2_PACKAGE_UTIL_LINUX_LIBBLKID - help - The XFS file system utilities and libraries - - http://xfs.org diff --git a/buildroot-2021.05/package/xfsprogs/xfsprogs.hash b/buildroot-2021.05/package/xfsprogs/xfsprogs.hash deleted file mode 100644 index b379839e..00000000 --- a/buildroot-2021.05/package/xfsprogs/xfsprogs.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/sha256sums.asc -sha256 e04017e46d43e4d54b9a560fd7cea922520f8f6ef882404969d20cd4e5c790e9 xfsprogs-5.10.0.tar.xz - -# Hash for license files -sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 -sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1 diff --git a/buildroot-2021.05/package/xfsprogs/xfsprogs.mk b/buildroot-2021.05/package/xfsprogs/xfsprogs.mk deleted file mode 100644 index 71d02278..00000000 --- a/buildroot-2021.05/package/xfsprogs/xfsprogs.mk +++ /dev/null @@ -1,32 +0,0 @@ -################################################################################ -# -# xfsprogs -# -################################################################################ - -XFSPROGS_VERSION = 5.10.0 -XFSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/fs/xfs/xfsprogs -XFSPROGS_SOURCE = xfsprogs-$(XFSPROGS_VERSION).tar.xz -XFSPROGS_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1 (libhandle, few headers) -XFSPROGS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 - -XFSPROGS_DEPENDENCIES = inih util-linux - -XFSPROGS_CONF_ENV = ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes PLATFORM="linux" -XFSPROGS_CONF_OPTS = \ - --enable-lib64=no \ - --enable-gettext=no \ - INSTALL_USER=root \ - INSTALL_GROUP=root \ - --enable-static - -ifeq ($(BR2_PACKAGE_ICU),y) -XFSPROGS_DEPENDENCIES += icu -XFSPROGS_CONF_OPTS += --enable-libicu -else -XFSPROGS_CONF_OPTS += --disable-libicu -endif - -XFSPROGS_INSTALL_TARGET_OPTS = DIST_ROOT=$(TARGET_DIR) install - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xl2tp/xl2tp.hash b/buildroot-2021.05/package/xl2tp/xl2tp.hash deleted file mode 100644 index 471657f0..00000000 --- a/buildroot-2021.05/package/xl2tp/xl2tp.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 c28608b315adb25c8bf9579c1d6ab52ab47c4c43b68a5ab63c5d039196fd180f xl2tp-1.3.16.tar.gz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2021.05/package/xl2tp/xl2tp.mk b/buildroot-2021.05/package/xl2tp/xl2tp.mk deleted file mode 100644 index 89ca65a7..00000000 --- a/buildroot-2021.05/package/xl2tp/xl2tp.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# xl2tp -# -################################################################################ - -XL2TP_VERSION = 1.3.16 -XL2TP_SITE = $(call github,xelerance,xl2tpd,v$(XL2TP_VERSION)) -XL2TP_DEPENDENCIES = libpcap -XL2TP_LICENSE = GPL-2.0 -XL2TP_LICENSE_FILES = LICENSE - -ifeq ($(BR2_STATIC_LIBS),y) -XL2TP_LDLIBS = LDLIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" -endif - -define XL2TP_BUILD_CMDS - $(SED) 's/ -O2 //' $(@D)/Makefile - $(TARGET_CONFIGURE_OPTS) $(MAKE) $(XL2TP_LDLIBS) -C $(@D) -endef - -define XL2TP_INSTALL_TARGET_CMDS - $(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/xorriso/xorriso.hash b/buildroot-2021.05/package/xorriso/xorriso.hash deleted file mode 100644 index faaeab5f..00000000 --- a/buildroot-2021.05/package/xorriso/xorriso.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 3b69f5c93ae7c40c5bbe4a847fa3963f5efc9c565551622f77121c5792fc17e7 xorriso-1.5.2.tar.gz -sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING -sha256 72e99e72cd68f226415e5d898f3b38e24ae7991ed038ed72d789fff5b060f028 COPYRIGHT diff --git a/buildroot-2021.05/package/xorriso/xorriso.mk b/buildroot-2021.05/package/xorriso/xorriso.mk deleted file mode 100644 index 7b38f268..00000000 --- a/buildroot-2021.05/package/xorriso/xorriso.mk +++ /dev/null @@ -1,77 +0,0 @@ -################################################################################ -# -# xorriso -# -################################################################################ - -XORRISO_VERSION = 1.5.2 -XORRISO_SITE = $(BR2_GNU_MIRROR)/xorriso -XORRISO_LICENSE = GPL-3.0+ -XORRISO_LICENSE_FILES = COPYING COPYRIGHT - -# Disable everything until we actually need those features, and add the correct -# host libraries -HOST_XORRISO_CONF_OPTS = \ - --disable-xattr-h-pref-attr \ - --disable-zlib \ - --disable-libbz2 \ - --disable-libcdio \ - --disable-libreadline \ - --disable-libedit \ - --disable-libacl - -# libcdio doesn't make sense for Linux -# http://lists.gnu.org/archive/html/bug-xorriso/2017-04/msg00004.html -XORRISO_CONF_OPTS = --disable-libcdio - -# we need sys/xattr.h -XORRISO_CONF_OPTS += \ - --disable-xattr-h-pref-attr - -ifeq ($(BR2_PACKAGE_LIBICONV),y) -XORRISO_DEPENDENCIES += libiconv -endif - -ifeq ($(BR2_PACKAGE_READLINE),y) -XORRISO_DEPENDENCIES += readline -XORRISO_CONF_OPTS += --enable-libreadline -else -XORRISO_CONF_OPTS += --disable-libreadline -endif - -ifeq ($(BR2_PACKAGE_ACL),y) -XORRISO_DEPENDENCIES += acl -XORRISO_CONF_OPTS += --enable-libacl -else -XORRISO_CONF_OPTS += --disable-libacl -endif - -ifeq ($(BR2_PACKAGE_ATTR),y) -XORRISO_DEPENDENCIES += attr -XORRISO_CONF_OPTS += --enable-xattr -else -XORRISO_CONF_OPTS += --disable-xattr -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -XORRISO_DEPENDENCIES += zlib -XORRISO_CONF_OPTS += --enable-zlib -else -XORRISO_CONF_OPTS += --disable-zlib -endif - -ifeq ($(BR2_PACKAGE_BZIP2),y) -XORRISO_DEPENDENCIES += bzip2 -XORRISO_CONF_OPTS += --enable-libbz2 -else -XORRISO_CONF_OPTS += --disable-libbz2 -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -XORRISO_CONF_OPTS += --enable-jtethreads -else -XORRISO_CONF_OPTS += --disable-jtethreads -endif - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/xr819-xradio/xr819-xradio.hash b/buildroot-2021.05/package/xr819-xradio/xr819-xradio.hash deleted file mode 100644 index efff92ab..00000000 --- a/buildroot-2021.05/package/xr819-xradio/xr819-xradio.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally computed -sha256 5900821a777b9008d7cf9b8128e0cb75a4623ecb608b45438e17c7a056cde1bf xr819-xradio-6bf0e2e21c80456e2a3d4ad1267caecde7165871.tar.gz -# Locally computed -sha256 db296f2f7f35bca3a174efb0eb392b3b17bd94b341851429a3dff411b1c2fc73 LICENSE diff --git a/buildroot-2021.05/package/xr819-xradio/xr819-xradio.mk b/buildroot-2021.05/package/xr819-xradio/xr819-xradio.mk deleted file mode 100644 index c1fe3295..00000000 --- a/buildroot-2021.05/package/xr819-xradio/xr819-xradio.mk +++ /dev/null @@ -1,13 +0,0 @@ -################################################################################ -# -# xr819-xradio -# -################################################################################ - -XR819_XRADIO_VERSION = 6bf0e2e21c80456e2a3d4ad1267caecde7165871 -XR819_XRADIO_SITE = $(call github,fifteenhex,xradio,$(XR819_XRADIO_VERSION)) -XR819_XRADIO_LICENSE = GPL-2.0 -XR819_XRADIO_LICENSE_FILES = LICENSE - -$(eval $(kernel-module)) -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/xscreensaver/Config.in b/buildroot-2021.05/package/xscreensaver/Config.in deleted file mode 100644 index d773c699..00000000 --- a/buildroot-2021.05/package/xscreensaver/Config.in +++ /dev/null @@ -1,34 +0,0 @@ -config BR2_PACKAGE_XSCREENSAVER - bool "xscreensaver" - depends on BR2_PACKAGE_XORG7 - depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango - depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf, libgtk2 -> glib2 - depends on BR2_USE_WCHAR # gdk-pixbuf, libgtk2 -> glib2 - depends on BR2_USE_MMU # gdk-pixbuf, libgtk2 -> glib2 - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # libgtk2 -> pango -> harfbuzz - select BR2_PACKAGE_GDK_PIXBUF - select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_HAS_LIBGL - select BR2_PACKAGE_LIBGTK2 - select BR2_PACKAGE_LIBXML2 - select BR2_PACKAGE_JPEG - select BR2_PACKAGE_XLIB_LIBX11 - select BR2_PACKAGE_XLIB_LIBXT - help - XScreenSaver is the standard screen saver collection shipped - on most Linux and Unix systems running the X11 Window - System. - - On X11 systems, XScreenSaver is two things: it is both a - large collection of screen savers; and it is also the - framework for blanking and locking the screen. - - http://www.jwz.org/xscreensaver/ - -comment "xscreensaver needs a toolchain w/ wchar, C++, threads, gcc >= 4.8" - depends on BR2_PACKAGE_XORG7 - depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ - !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/xscreensaver/xscreensaver.mk b/buildroot-2021.05/package/xscreensaver/xscreensaver.mk deleted file mode 100644 index c3c9ec89..00000000 --- a/buildroot-2021.05/package/xscreensaver/xscreensaver.mk +++ /dev/null @@ -1,89 +0,0 @@ -################################################################################ -# -# xscreensaver -# -################################################################################ - -XSCREENSAVER_VERSION = 5.45 -XSCREENSAVER_SITE = https://www.jwz.org/xscreensaver - -# N.B. GPL-2.0+ code (in the hacks/glx subdirectory) is not currently built. -XSCREENSAVER_LICENSE = MIT-like, GPL-2.0+ -XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h -XSCREENSAVER_CPE_ID_VENDOR = xscreensaver_project - -XSCREENSAVER_DEPENDENCIES = \ - gdk-pixbuf \ - jpeg \ - libgtk2 \ - libxml2 \ - xlib_libX11 \ - xlib_libXt \ - $(TARGET_NLS_DEPENDENCIES) \ - host-intltool - -# otherwise we end up with host include/library dirs passed to the -# compiler/linker -XSCREENSAVER_CONF_OPTS = \ - --includedir=$(STAGING_DIR)/usr/include \ - --libdir=$(STAGING_DIR)/usr/lib - -ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) -XSCREENSAVER_CONF_OPTS += --with-gl=yes -XSCREENSAVER_DEPENDENCIES += libgl libglu -else -XSCREENSAVER_CONF_OPTS += --with-gl=no -endif - -ifeq ($(BR2_PACKAGE_LIBPNG),y) -XSCREENSAVER_CONF_OPTS += --with-png=yes -XSCREENSAVER_DEPENDENCIES += libpng -else -XSCREENSAVER_CONF_OPTS += --with-png=no -endif - -ifeq ($(BR2_PACKAGE_SYSTEMD),y) -XSCREENSAVER_CONF_OPTS += --with-systemd=yes -XSCREENSAVER_DEPENDENCIES += systemd -else -XSCREENSAVER_CONF_OPTS += --with-systemd=no -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) -XSCREENSAVER_CONF_OPTS += --with-xft=yes -XSCREENSAVER_DEPENDENCIES += xlib_libXft -else -XSCREENSAVER_CONF_OPTS += --with-xft=no -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) -XSCREENSAVER_CONF_OPTS += --with-xinput-ext=yes -XSCREENSAVER_DEPENDENCIES += xlib_libXi -else -XSCREENSAVER_CONF_OPTS += --with-xinput-ext=no -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) -XSCREENSAVER_CONF_OPTS += --with-xinerama-ext=yes -XSCREENSAVER_DEPENDENCIES += xlib_libXinerama -else -XSCREENSAVER_CONF_OPTS += --with-xinerama-ext=no -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) -XSCREENSAVER_CONF_OPTS += --with-randr-ext=yes -XSCREENSAVER_DEPENDENCIES += xlib_libXrandr -else -XSCREENSAVER_CONF_OPTS += --with-randr-ext=no -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) -XSCREENSAVER_CONF_OPTS += --with-xf86vmode-ext=yes -XSCREENSAVER_DEPENDENCIES += xlib_libXxf86vm -else -XSCREENSAVER_CONF_OPTS += --with-xf86vmode-ext=no -endif - -XSCREENSAVER_INSTALL_TARGET_OPTS = install_prefix="$(TARGET_DIR)" install - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xtables-addons/xtables-addons.mk b/buildroot-2021.05/package/xtables-addons/xtables-addons.mk deleted file mode 100644 index feed054e..00000000 --- a/buildroot-2021.05/package/xtables-addons/xtables-addons.mk +++ /dev/null @@ -1,40 +0,0 @@ -################################################################################ -# -# xtables-addons -# -################################################################################ - -XTABLES_ADDONS_VERSION = 3.17 -XTABLES_ADDONS_SOURCE = xtables-addons-$(XTABLES_ADDONS_VERSION).tar.xz -XTABLES_ADDONS_SITE = https://inai.de/files/xtables-addons -XTABLES_ADDONS_DEPENDENCIES = iptables linux host-pkgconf -XTABLES_ADDONS_LICENSE = GPL-2.0+ -XTABLES_ADDONS_LICENSE_FILES = LICENSE - -XTABLES_ADDONS_CONF_OPTS = \ - --with-kbuild="$(LINUX_DIR)" \ - --with-xtables="$(STAGING_DIR)/usr" \ - --with-xtlibdir="/usr/lib/xtables" - -# geoip helpers need perl with modules and unzip so disable -define XTABLES_DISABLE_GEOIP_HELPERS - $(SED) 's/ geoip//' $(@D)/Makefile.in -endef -XTABLES_ADDONS_POST_PATCH_HOOKS += XTABLES_DISABLE_GEOIP_HELPERS - -define XTABLES_ADDONS_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) -endef - -define XTABLES_ADDONS_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) DESTDIR="$(TARGET_DIR)" install -endef - -define XTABLES_ADDONS_LINUX_CONFIG_FIXUPS - $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED) - $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK) - $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK) - $(call KCONFIG_ENABLE_OPT,CONFIG_NF_NAT) -endef - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xterm/xterm.hash b/buildroot-2021.05/package/xterm/xterm.hash deleted file mode 100644 index d6d80ad9..00000000 --- a/buildroot-2021.05/package/xterm/xterm.hash +++ /dev/null @@ -1,4 +0,0 @@ -# Locally calculated after checking pgp signature -sha256 27f1a8b1c756e269fd5684e60802b545f0be9b36b8b5d6bdbc840c6b000dc51f xterm-367.tgz -# Locally calculated -sha256 dfb668cc977e24649500f3cc54de3e2b793928d210715a445ab1227930b07ba6 COPYING diff --git a/buildroot-2021.05/package/xterm/xterm.mk b/buildroot-2021.05/package/xterm/xterm.mk deleted file mode 100644 index e09d350a..00000000 --- a/buildroot-2021.05/package/xterm/xterm.mk +++ /dev/null @@ -1,36 +0,0 @@ -################################################################################ -# -# xterm -# -################################################################################ - -XTERM_VERSION = 367 -XTERM_SOURCE = xterm-$(XTERM_VERSION).tgz -XTERM_SITE = http://invisible-mirror.net/archives/xterm -XTERM_DEPENDENCIES = ncurses xlib_libXaw host-pkgconf -XTERM_LICENSE = MIT -XTERM_LICENSE_FILES = COPYING -XTERM_CPE_ID_VENDOR = invisible-island -XTERM_CONF_OPTS = --enable-256-color \ - --x-includes=$(STAGING_DIR)/usr/include \ - --x-libraries=$(STAGING_DIR)/usr/lib - -# Avoid freetype2 path poisoning by imake -XTERM_CONF_ENV = ac_cv_path_IMAKE="" - -ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) -XTERM_DEPENDENCIES += xlib_libXft -XTERM_CONF_OPTS += --enable-freetype \ - --with-freetype-config=auto -else -XTERM_CONF_OPTS += --disable-freetype -endif - -ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) -XTERM_DEPENDENCIES += xlib_libXinerama -XTERM_CONF_OPTS += --with-xinerama -else -XTERM_CONF_OPTS += --without-xinerama -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xvisor/0001-fix-build-with-gcc-10.patch b/buildroot-2021.05/package/xvisor/0001-fix-build-with-gcc-10.patch deleted file mode 100644 index a538558d..00000000 --- a/buildroot-2021.05/package/xvisor/0001-fix-build-with-gcc-10.patch +++ /dev/null @@ -1,64 +0,0 @@ -From 8458abb357cd981f55d730ec2d74459a3042e571 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Tue, 6 Oct 2020 21:52:20 +0200 -Subject: [PATCH] fix build with gcc 10 - -Define variables in header files as extern to avoid the following build failure -with gcc 10 (which defaults to -fno-common): - -/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/arm-buildroot-linux-gnueabihf-ld: -/home/giuliobenetti/autobuild/run/instance-3/output-1/build/xvisor-0.3.0/build/drivers/mmc/core/mmc.o:/home/giuliobenetti/autobuild/run/instance-3/output-1/build/xvisor-0.3.0/drivers/mmc/core/core.h:67: -multiple definition of `sdio_func_type'; -/home/giuliobenetti/autobuild/run/instance-3/output-1/build/xvisor-0.3.0/build/drivers/mmc/core/core.o:/home/giuliobenetti/autobuild/run/instance-3/output-1/build/xvisor-0.3.0/drivers/mmc/core/core.h:67: -first defined here - -Fixes: - - http://autobuild.buildroot.org/results/b6070c0721b33824e71833ce53423979980aa598 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/xvisor/xvisor/pull/125] ---- - drivers/mmc/core/core.h | 2 +- - emulators/display/drawfn.h | 10 +++++----- - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/drivers/mmc/core/core.h b/drivers/mmc/core/core.h -index d75d135a..e2ca3141 100644 ---- a/drivers/mmc/core/core.h -+++ b/drivers/mmc/core/core.h -@@ -64,7 +64,7 @@ int mmc_go_idle(struct mmc_host *host); - * Note: Must be called with host->lock held. - */ - extern struct vmm_bus sdio_bus_type; --struct vmm_device_type sdio_func_type; -+extern struct vmm_device_type sdio_func_type; - - int __sdio_attach(struct mmc_host *host); - -diff --git a/emulators/display/drawfn.h b/emulators/display/drawfn.h -index f9163cff..385deaf6 100644 ---- a/emulators/display/drawfn.h -+++ b/emulators/display/drawfn.h -@@ -69,14 +69,14 @@ typedef void (*drawfn)(struct vmm_surface *, - DRAWFN_ORDER_MAX * \ - DRAWFN_FORMAT_MAX) - --drawfn drawfn_surface_fntable_8[DRAWFN_FNTABLE_SIZE]; -+extern drawfn drawfn_surface_fntable_8[DRAWFN_FNTABLE_SIZE]; - --drawfn drawfn_surface_fntable_15[DRAWFN_FNTABLE_SIZE]; -+extern drawfn drawfn_surface_fntable_15[DRAWFN_FNTABLE_SIZE]; - --drawfn drawfn_surface_fntable_16[DRAWFN_FNTABLE_SIZE]; -+extern drawfn drawfn_surface_fntable_16[DRAWFN_FNTABLE_SIZE]; - --drawfn drawfn_surface_fntable_24[DRAWFN_FNTABLE_SIZE]; -+extern drawfn drawfn_surface_fntable_24[DRAWFN_FNTABLE_SIZE]; - --drawfn drawfn_surface_fntable_32[DRAWFN_FNTABLE_SIZE]; -+extern drawfn drawfn_surface_fntable_32[DRAWFN_FNTABLE_SIZE]; - - #endif --- -2.28.0 - diff --git a/buildroot-2021.05/package/xvisor/Config.in b/buildroot-2021.05/package/xvisor/Config.in deleted file mode 100644 index eb7475b8..00000000 --- a/buildroot-2021.05/package/xvisor/Config.in +++ /dev/null @@ -1,68 +0,0 @@ -config BR2_PACKAGE_XVISOR_ARCH_SUPPORTS - bool - default y - depends on BR2_USE_MMU - depends on BR2_arm || BR2_aarch64 || BR2_x86_64 - depends on !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV7M - -menuconfig BR2_PACKAGE_XVISOR - bool "xvisor" - depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - help - Xvisor is an open-source type-1 hypervisor, which aims at - providing a monolithic, light-weight, portable, and flexible - virtualization solution. - - http://www.xhypervisor.org/ - -if BR2_PACKAGE_XVISOR - -choice - prompt "Xvisor configuration" - default BR2_PACKAGE_XVISOR_USE_DEFCONFIG - -config BR2_PACKAGE_XVISOR_USE_DEFCONFIG - bool "Using an in-tree defconfig file" - -config BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG - bool "Using a custom (def)config file" - -endchoice - -config BR2_PACKAGE_XVISOR_DEFCONFIG - string "Defconfig name" - default "generic-v5" if BR2_ARM_CPU_ARMV5 - default "generic-v6" if BR2_ARM_CPU_ARMV6 - default "generic-v7" if BR2_ARM_CPU_ARMV7A - default "generic-v8" if BR2_aarch64 - default "x86_64_generic" if BR2_x86_64 - depends on BR2_PACKAGE_XVISOR_USE_DEFCONFIG - help - Name of the Xvisor defconfig file to use, without the - trailing -defconfig. The defconfig is located in - arch//configs in the source tree. - -config BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE - string "Configuration file path" - depends on BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG - help - Path to the Xvisor configuration file - -config BR2_PACKAGE_XVISOR_CREATE_UBOOT_IMAGE - bool "Create U-Boot image of Xvisor" - depends on BR2_arm - select BR2_PACKAGE_HOST_UBOOT_TOOLS - help - Create an image file of Xvisor loadable from Das U-Boot. - -config BR2_PACKAGE_XVISOR_BUILD_TEST_DTB - bool "Build test device-tree blobs" - help - Build test device-tree blobs for popular boards. - -endif - -comment "xvisor needs a toolchain w/ gcc >= 4.9" - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS diff --git a/buildroot-2021.05/package/xvisor/xvisor.hash b/buildroot-2021.05/package/xvisor/xvisor.hash deleted file mode 100644 index 6938e20e..00000000 --- a/buildroot-2021.05/package/xvisor/xvisor.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally generated -sha256 81660d26a0bc63979ba40872f10511df777185712eba2d0e19e816438388de05 xvisor-0.3.0.tar.xz -sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2021.05/package/xvisor/xvisor.mk b/buildroot-2021.05/package/xvisor/xvisor.mk deleted file mode 100644 index 394ff7c8..00000000 --- a/buildroot-2021.05/package/xvisor/xvisor.mk +++ /dev/null @@ -1,86 +0,0 @@ -################################################################################ -# -# xvisor -# -################################################################################ - -XVISOR_VERSION = 0.3.0 -XVISOR_SOURCE = xvisor-$(XVISOR_VERSION).tar.xz -XVISOR_SITE = http://www.xhypervisor.org/tarball -XVISOR_LICENSE = GPL-2.0+ -XVISOR_LICENSE_FILES = COPYING -XVISOR_INSTALL_IMAGES = YES -XVISOR_INSTALL_TARGET = NO -XVISOR_DEPENDENCIES = host-bison host-dtc host-flex - -XVISOR_MAKE_TARGETS = all - -ifeq ($(BR2_PACKAGE_XVISOR_BUILD_TEST_DTB),y) -XVISOR_MAKE_TARGETS += dtbs -endif - -XVISOR_KCONFIG_DOTCONFIG = build/openconf/.config - -ifeq ($(BR2_PACKAGE_XVISOR_USE_DEFCONFIG),y) -XVISOR_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_PACKAGE_XVISOR_DEFCONFIG))-defconfig -else ifeq ($(BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG),y) -XVISOR_KCONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE)) -endif -XVISOR_KCONFIG_EDITORS = menuconfig - -ifeq ($(BR2_x86_64),y) -XVISOR_ARCH = x86 -else ifeq ($(BR2_arm)$(BR2_aarch64),y) -XVISOR_ARCH = arm -endif - -ifeq ($(BR2_PACKAGE_XVISOR)$(BR_BUILDING),yy) -ifeq ($(XVISOR_ARCH),) -$(error "Architecture not supported by XVisor") -endif -endif - -XVISOR_MAKE_ENV = \ - ARCH=$(XVISOR_ARCH) \ - CROSS_COMPILE=$(TARGET_CROSS) - -XVISOR_MAKE_OPTS = $(if $(VERBOSE),VERBOSE=1) - -define XVISOR_BUILD_CMDS - $(TARGET_MAKE_ENV) $(XVISOR_MAKE_ENV) $(MAKE) $(XVISOR_MAKE_OPTS) \ - -C $(@D) $(XVISOR_MAKE_TARGETS) -endef - -define XVISOR_INSTALL_IMAGES_CMDS - $(INSTALL) -m 0644 -D $(@D)/build/vmm.bin $(BINARIES_DIR)/vmm.bin -endef - -ifeq ($(BR2_PACKAGE_XVISOR_CREATE_UBOOT_IMAGE),y) -XVISOR_DEPENDENCIES += host-uboot-tools -define XVISOR_CREATE_UBOOT_IMAGE - $(MKIMAGE) -A $(MKIMAGE_ARCH) -O linux -T kernel -C none \ - -a 0x00008000 -e 0x00008000 \ - -n Xvisor -d $(BINARIES_DIR)/vmm.bin $(BINARIES_DIR)/uvmm.bin -endef -endif - -XVISOR_POST_INSTALL_IMAGES_HOOKS += XVISOR_CREATE_UBOOT_IMAGE - -# Checks to give errors that the user can understand -ifeq ($(BR_BUILDING),y) - -ifeq ($(BR2_PACKAGE_XVISOR_USE_DEFCONFIG),y) -ifeq ($(call qstrip,$(BR2_PACKAGE_XVISOR_DEFCONFIG)),) -$(error No Xvisor defconfig name specified, check your BR2_PACKAGE_XVISOR_DEFCONFIG setting) -endif -endif - -ifeq ($(BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG),y) -ifeq ($(BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE),) -$(error No Xvisor configuration file specified, check your BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE setting) -endif -endif - -endif - -$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/package/xxhash/xxhash.hash b/buildroot-2021.05/package/xxhash/xxhash.hash deleted file mode 100644 index feb50008..00000000 --- a/buildroot-2021.05/package/xxhash/xxhash.hash +++ /dev/null @@ -1,3 +0,0 @@ -# locally computed -sha256 7054c3ebd169c97b64a92d7b994ab63c70dd53a06974f1f630ab782c28db0f4f xxhash-0.8.0.tar.gz -sha256 9da63520e9293d82c4b1613be5c84058cadb82b02f5972179bad13731d589910 LICENSE diff --git a/buildroot-2021.05/package/xxhash/xxhash.mk b/buildroot-2021.05/package/xxhash/xxhash.mk deleted file mode 100644 index c2ddbbd6..00000000 --- a/buildroot-2021.05/package/xxhash/xxhash.mk +++ /dev/null @@ -1,20 +0,0 @@ -################################################################################ -# -# xxhash -# -################################################################################ - -XXHASH_VERSION = 0.8.0 -XXHASH_SITE = $(call github,Cyan4973,xxHash,v$(XXHASH_VERSION)) -XXHASH_LICENSE = BSD-2-Clause (library), GPL-2.0+ (xxhsum) -XXHASH_LICENSE_FILES = LICENSE - -define XXHASH_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) xxhsum -endef - -define XXHASH_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/xxhsum $(TARGET_DIR)/usr/bin/xxhsum -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/xz/xz.mk b/buildroot-2021.05/package/xz/xz.mk deleted file mode 100644 index ffbae4c8..00000000 --- a/buildroot-2021.05/package/xz/xz.mk +++ /dev/null @@ -1,28 +0,0 @@ -################################################################################ -# -# xz -# -################################################################################ - -XZ_VERSION = 5.2.5 -XZ_SOURCE = xz-$(XZ_VERSION).tar.bz2 -XZ_SITE = https://tukaani.org/xz -XZ_INSTALL_STAGING = YES -XZ_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' -XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ -XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 -XZ_CPE_ID_VENDOR = tukaani - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -XZ_CONF_OPTS = --enable-threads -else -XZ_CONF_OPTS = --disable-threads -endif - -# we are built before ccache -HOST_XZ_CONF_ENV = \ - CC="$(HOSTCC_NOCCACHE)" \ - CXX="$(HOSTCXX_NOCCACHE)" - -$(eval $(autotools-package)) -$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/ytree/ytree.hash b/buildroot-2021.05/package/ytree/ytree.hash deleted file mode 100644 index 17d0d24c..00000000 --- a/buildroot-2021.05/package/ytree/ytree.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed -sha256 583aa71552d1347e0eabe39a236fa5a174bf67dde98871853b9fe2a233bcaef1 ytree-2.03.tar.gz -sha256 eb6bf7204569b4fe8eaf9d4dffc57e44047c5efb5deba1b2d99069ddbc99d031 COPYING diff --git a/buildroot-2021.05/package/ytree/ytree.mk b/buildroot-2021.05/package/ytree/ytree.mk deleted file mode 100644 index fdecc0b1..00000000 --- a/buildroot-2021.05/package/ytree/ytree.mk +++ /dev/null @@ -1,31 +0,0 @@ -################################################################################ -# -# ytree -# -################################################################################ - -YTREE_VERSION = 2.03 -YTREE_SITE = https://www.han.de/~werner -YTREE_LICENSE = GPL-2.0+ -YTREE_LICENSE_FILES = COPYING -YTREE_DEPENDENCIES = ncurses - -YTREE_CFLAGS = -DCOLOR_SUPPORT $(TARGET_CFLAGS) -YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS) - -ifeq ($(BR2_PACKAGE_READLINE),y) -YTREE_DEPENDENCIES += host-pkgconf readline -YTREE_CFLAGS += -DREADLINE_SUPPORT -YTREE_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs readline` -endif - -define YTREE_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ - CFLAGS="$(YTREE_CFLAGS)" LDFLAGS="$(YTREE_LDFLAGS)" -endef - -define YTREE_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)/usr" install -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/zbar/0001-zbarcam-zbarimg-get-rid-of-gettext-h.patch b/buildroot-2021.05/package/zbar/0001-zbarcam-zbarimg-get-rid-of-gettext-h.patch deleted file mode 100644 index 009fd5f9..00000000 --- a/buildroot-2021.05/package/zbar/0001-zbarcam-zbarimg-get-rid-of-gettext-h.patch +++ /dev/null @@ -1,45 +0,0 @@ -From a133aea7880bbb56d75535e534716d0e16a3b61a Mon Sep 17 00:00:00 2001 -From: Mauro Carvalho Chehab -Date: Tue, 28 Jul 2020 09:47:03 +0200 -Subject: [PATCH] zbarcam, zbarimg: get rid of gettext.h - -This doesn't seem to be needed at all for translations to -work. Also, gettext.h uses a different license. So, let's get -rid of it. - -Signed-off-by: Mauro Carvalho Chehab -[Retrieved (and updated to remove gettext.h which is not in the -tarball): -https://github.com/mchehab/zbar/commit/a133aea7880bbb56d75535e534716d0e16a3b61a] -Signed-off-by: Fabrice Fontaine ---- - zbar/gettext.h | 294 ---------------------------------------------- - zbarcam/zbarcam.c | 1 - - zbarimg/zbarimg.c | 1 - - 3 files changed, 296 deletions(-) - delete mode 100644 zbar/gettext.h - -diff --git a/zbarcam/zbarcam.c b/zbarcam/zbarcam.c -index f7ea281..ad30101 100644 ---- a/zbarcam/zbarcam.c -+++ b/zbarcam/zbarcam.c -@@ -35,7 +35,6 @@ - #include - - #ifdef ENABLE_NLS --#include "../zbar/gettext.h" - # include - # define _(string) gettext(string) - #else -diff --git a/zbarimg/zbarimg.c b/zbarimg/zbarimg.c -index 0796fd8..d05d832 100644 ---- a/zbarimg/zbarimg.c -+++ b/zbarimg/zbarimg.c -@@ -40,7 +40,6 @@ - #include - - #ifdef ENABLE_NLS --#include "../zbar/gettext.h" - # include - # define _(string) gettext(string) - #else diff --git a/buildroot-2021.05/package/zbar/0002-zbarcam-zbar-cam-img-.c-fix-build-with-musl.patch b/buildroot-2021.05/package/zbar/0002-zbarcam-zbar-cam-img-.c-fix-build-with-musl.patch deleted file mode 100644 index fe62c164..00000000 --- a/buildroot-2021.05/package/zbar/0002-zbarcam-zbar-cam-img-.c-fix-build-with-musl.patch +++ /dev/null @@ -1,55 +0,0 @@ -From ecf90fcff066c06eda1fb931d08fadf5989ecb36 Mon Sep 17 00:00:00 2001 -From: Fabrice Fontaine -Date: Sat, 29 Aug 2020 14:23:04 +0200 -Subject: [PATCH] zbarcam/zbar{cam,img}.c: fix build with musl - -setlocale is used since version 0.23.1 and -https://git.linuxtv.org/zbar.git/commit/id=d05911f8d5fb8c1e064bd93ed9ec9f038c5da096 - -Include locale.h to avoid the following build failure on musl: - -zbarcam/zbarcam.c:168:5: warning: implicit declaration of function 'setlocale'; did you mean 'setstate'? [-Wimplicit-function-declaration] - setlocale (LC_ALL, ""); - ^~~~~~~~~ - setstate -zbarcam/zbarcam.c:168:16: error: 'LC_ALL' undeclared (first use in this function) - setlocale (LC_ALL, ""); - ^~~~~~ - -Fixes: - - http://autobuild.buildroot.org/results/b93ce5430bf22ddda94ee30882a883348617f5b1 - -Signed-off-by: Fabrice Fontaine -[Upstream status: https://github.com/mchehab/zbar/pull/115] ---- - zbarcam/zbarcam.c | 1 + - zbarimg/zbarimg.c | 1 + - 2 files changed, 2 insertions(+) - -diff --git a/zbarcam/zbarcam.c b/zbarcam/zbarcam.c -index 6e13c8c..b8bc732 100644 ---- a/zbarcam/zbarcam.c -+++ b/zbarcam/zbarcam.c -@@ -36,6 +36,7 @@ - - #ifdef ENABLE_NLS - # include -+# include - # define _(string) gettext(string) - #else - # define _(string) string -diff --git a/zbarimg/zbarimg.c b/zbarimg/zbarimg.c -index d05d832..52502b2 100644 ---- a/zbarimg/zbarimg.c -+++ b/zbarimg/zbarimg.c -@@ -41,6 +41,7 @@ - - #ifdef ENABLE_NLS - # include -+# include - # define _(string) gettext(string) - #else - # define _(string) string --- -2.28.0 - diff --git a/buildroot-2021.05/package/zbar/zbar.hash b/buildroot-2021.05/package/zbar/zbar.hash deleted file mode 100644 index 42770918..00000000 --- a/buildroot-2021.05/package/zbar/zbar.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally computed: -sha256 dad260b47ef887a639e840a89e5e6e132217b6bba2a8473565d1f459bcb97c1f zbar-0.23.1.tar.bz2 -sha256 44260f9252c7fe38ba8dfb645330504f4a375e3a5e9dd7d5d6b9f04adb4952f1 LICENSE.md diff --git a/buildroot-2021.05/package/zbar/zbar.mk b/buildroot-2021.05/package/zbar/zbar.mk deleted file mode 100644 index f75741de..00000000 --- a/buildroot-2021.05/package/zbar/zbar.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# zbar -# -################################################################################ - -ZBAR_VERSION = 0.23.1 -ZBAR_SOURCE = zbar-$(ZBAR_VERSION).tar.bz2 -ZBAR_SITE = https://www.linuxtv.org/downloads/zbar -ZBAR_LICENSE = LGPL-2.1+ -ZBAR_LICENSE_FILES = LICENSE.md -ZBAR_INSTALL_STAGING = YES -ZBAR_DEPENDENCIES = libv4l jpeg $(TARGET_NLS_DEPENDENCIES) -# uses C99 features -ZBAR_CONF_ENV = \ - CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \ - LIBS=$(TARGET_NLS_LIBS) -ZBAR_CONF_OPTS = \ - --disable-doc \ - --without-imagemagick \ - --without-qt \ - --without-qt5 \ - --without-gtk \ - --without-python \ - --without-x \ - --without-java - -ifeq ($(BR2_PACKAGE_DBUS),y) -ZBAR_DEPENDENCIES += dbus -ZBAR_CONF_OPTS += --with-dbus -else -ZBAR_CONF_OPTS += --without-dbus -endif - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/zfs/zfs.hash b/buildroot-2021.05/package/zfs/zfs.hash deleted file mode 100644 index 5a0c43d3..00000000 --- a/buildroot-2021.05/package/zfs/zfs.hash +++ /dev/null @@ -1,6 +0,0 @@ -# Locally calculated -sha256 7d1344c5433b91823f02c2e40b33d181fa6faf286bea5591f4b1965f23d45f6c zfs-2.0.4.tar.gz - -# Hash for license files: -sha256 1ffb70c33c4f79f04e947facc5c7851f289609256aacb47fc115f700427d9520 LICENSE -sha256 f125a37c829705eff3e6f77a9f6c58fd71060f84ab54180b98fafdf94a2021eb COPYRIGHT diff --git a/buildroot-2021.05/package/zfs/zfs.mk b/buildroot-2021.05/package/zfs/zfs.mk deleted file mode 100644 index c8e33a7b..00000000 --- a/buildroot-2021.05/package/zfs/zfs.mk +++ /dev/null @@ -1,91 +0,0 @@ -################################################################################ -# -# zfs -# -################################################################################ - -ZFS_VERSION = 2.0.4 -ZFS_SITE = https://github.com/openzfs/zfs/releases/download/zfs-$(ZFS_VERSION) -ZFS_LICENSE = CDDL -ZFS_LICENSE_FILES = LICENSE COPYRIGHT -ZFS_CPE_ID_VENDOR = openzfs -ZFS_CPE_ID_PRODUCT = openzfs - -ZFS_AUTORECONF = YES - -ZFS_DEPENDENCIES = libaio openssl udev util-linux zlib - -# sysvinit installs only a commented-out modules-load.d/ config file -ZFS_CONF_OPTS = \ - --with-linux=$(LINUX_DIR) \ - --with-linux-obj=$(LINUX_DIR) \ - --disable-rpath \ - --disable-sysvinit - -ifeq ($(BR2_PACKAGE_LIBTIRPC),y) -ZFS_DEPENDENCIES += libtirpc -ZFS_CONF_OPTS += --with-tirpc -else -ZFS_CONF_OPTS += --without-tirpc -endif - -ifeq ($(BR2_INIT_SYSTEMD),y) -# Installs the optional systemd generators, units, and presets files. -ZFS_CONF_OPTS += --enable-systemd -else -ZFS_CONF_OPTS += --disable-systemd -endif - -# The optional PyZFS uses different scripts depending on the python -# version (ex: arc_summary2 or arc_summary3). -ifeq ($(BR2_PACKAGE_PYTHON),y) -ZFS_DEPENDENCIES += python python-setuptools host-python-cffi -ZFS_CONF_ENV += \ - PYTHON=$(HOST_DIR)/usr/bin/python2 \ - PYTHON_CPPFLAGS="`$(STAGING_DIR)/usr/bin/python2-config --includes`" \ - PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python2-config --ldflags`" \ - PYTHON_SITE_PKG="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" -ZFS_CONF_OPTS += --enable-pyzfs -else ifeq ($(BR2_PACKAGE_PYTHON3),y) -ZFS_DEPENDENCIES += python3 python-setuptools host-python-cffi -ZFS_CONF_ENV += \ - PYTHON=$(HOST_DIR)/usr/bin/python3 \ - PYTHON_CPPFLAGS="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \ - PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`" \ - PYTHON_EXTRA_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`" \ - PYTHON_SITE_PKG="/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" -ZFS_CONF_OPTS += --enable-pyzfs -else -ZFS_CONF_OPTS += --disable-pyzfs --without-python -endif - -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -ZFS_DEPENDENCIES += linux-pam -ZFS_CONF_ENV += --enable-pam=yes -else -ZFS_CONF_OPTS += --disable-pam -endif - -# ZFS userland tools are unfunctional without the Linux kernel modules. -ZFS_MODULE_SUBDIRS = \ - module/avl \ - module/icp \ - module/lua \ - module/nvpair \ - module/spl \ - module/unicode \ - module/zcommon \ - module/zstd \ - module/zfs - -# These requirements will be validated by zfs/config/kernel-config-defined.m4 -define ZFS_LINUX_CONFIG_FIXUPS - $(call KCONFIG_DISABLE_OPT,CONFIG_DEBUG_LOCK_ALLOC) - $(call KCONFIG_DISABLE_OPT,CONFIG_TRIM_UNUSED_KSYMS) - $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_DEFLATE) - $(call KCONFIG_ENABLE_OPT,CONFIG_ZLIB_DEFLATE) - $(call KCONFIG_ENABLE_OPT,CONFIG_ZLIB_INFLATE) -endef - -$(eval $(kernel-module)) -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/zic/0001-remove-dependency-check-on-version-file.patch b/buildroot-2021.05/package/zic/0001-remove-dependency-check-on-version-file.patch deleted file mode 100644 index 193c2630..00000000 --- a/buildroot-2021.05/package/zic/0001-remove-dependency-check-on-version-file.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 4ad8932f93c490d15586b1def3863e9580e6eceb Mon Sep 17 00:00:00 2001 -From: Martin Bark -Date: Sat, 3 Dec 2016 13:51:50 +0000 -Subject: [PATCH] remove dependency check on version file - -$(VERSION_DEPS) includes dependencies from tzdata meaning applications -such as zic can't build from tzcode on their own. Remove the dependency -to $(VERSION_DEPS) since it is not necessary to check for version updates -in released code. This solves building zic from tzcode without needing -tzdata. - -Signed-off-by: Martin Bark ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 1b714a8..00d2c09 100644 ---- a/Makefile -+++ b/Makefile -@@ -587,7 +587,7 @@ INSTALL: ALL install date.1 - # Otherwise, use $(VERSION) unless it is "unknown" and there is already - # a 'version' file, in which case reuse the existing 'version' contents - # and append "-dirty" if the contents do not already end in "-dirty". --version: $(VERSION_DEPS) -+version: - { (type git) >/dev/null 2>&1 && \ - V=`git describe --match '[0-9][0-9][0-9][0-9][a-z]*' \ - --abbrev=7 --dirty` || \ --- -2.7.4 - diff --git a/buildroot-2021.05/package/zic/zic.hash b/buildroot-2021.05/package/zic/zic.hash deleted file mode 100644 index 3cee80bc..00000000 --- a/buildroot-2021.05/package/zic/zic.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://mm.icann.org/pipermail/tz-announce/2020-December/000064.html -sha512 5f6bf1b508434842eb9dacacc744b5f3375c35b88e401ef372b5fde80ad2f523484fe52a6e99460e402230406ebf6a9261a97efde45a610f8e8085893d55c4ed tzcode2020f.tar.gz -# Locally computed: -sha256 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf LICENSE diff --git a/buildroot-2021.05/package/zic/zic.mk b/buildroot-2021.05/package/zic/zic.mk deleted file mode 100644 index 7529b682..00000000 --- a/buildroot-2021.05/package/zic/zic.mk +++ /dev/null @@ -1,25 +0,0 @@ -################################################################################ -# -# zic -# -################################################################################ - -ZIC_VERSION = 2020f -ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz -ZIC_SITE = https://www.iana.org/time-zones/repository/releases -ZIC_STRIP_COMPONENTS = 0 -ZIC_LICENSE = Public domain -ZIC_LICENSE_FILES = LICENSE - -define HOST_ZIC_BUILD_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) zic -endef - -define HOST_ZIC_INSTALL_CMDS - $(INSTALL) -D -m 755 $(@D)/zic $(HOST_DIR)/sbin/zic - $(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/include/tzfile.h -endef - -$(eval $(host-generic-package)) - -ZIC = $(HOST_DIR)/sbin/zic diff --git a/buildroot-2021.05/package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch b/buildroot-2021.05/package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch deleted file mode 100644 index 591b178a..00000000 --- a/buildroot-2021.05/package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch +++ /dev/null @@ -1,130 +0,0 @@ -From 0f5e1658c05746b17f05a1bade263cad19b37e79 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Thu, 22 Jan 2015 15:20:25 +0100 -Subject: [PATCH 1/6] configure: Remove "Check C compiler type (optimization - options)" - -This test force optimization to -O3 -while it is already set in CFLAGS - -Signed-off-by: Romain Naour ---- - unix/configure | 98 ---------------------------------------------------------- - 1 file changed, 98 deletions(-) - -diff --git a/unix/configure b/unix/configure -index 73ba803..4185fee 100644 ---- a/unix/configure -+++ b/unix/configure -@@ -22,108 +22,10 @@ LFLAGS1='' - LFLAGS2='' - LN="ln -s" - --CFLAGS_OPT='' -- - # bzip2 - IZ_BZIP2=${3-} - CFLAGS_BZ='' - -- --echo 'Check C compiler type (optimization options)' --# Sun C? --cat > conftest.c << _EOF_ --int main() --{ --#ifndef __SUNPRO_C -- bad code --#endif -- return 0; --} --_EOF_ --$CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null --if test $? -eq 0; then -- CFLAGS_OPT='-xO3' -- echo " Sun C ($CFLAGS_OPT)" --else -- # Tru64 DEC/Compaq/HP C? -- cat > conftest.c << _EOF_ --int main() --{ --#ifndef __DECC -- bad code --#endif -- return 0; --} --_EOF_ -- $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null -- if test $? -eq 0; then -- CFLAGS_OPT='-O3' -- echo " DEC C ($CFLAGS_OPT)" -- else -- # HP-UX HP C? -- cat > conftest.c << _EOF_ --int main() --{ --#ifdef __GNUC__ -- bad code --#endif --#ifndef __hpux -- bad code --#endif -- return 0; --} --_EOF_ -- $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null -- if test $? -eq 0; then -- # HP-UX, not GCC. Lame bundled or real ANSI compiler? -- CFLAGS_OPT_TRY="+O3 +Onolimit" -- $CC $CFLAGS $CFLAGS_OPT_TRY -c conftest.c 2>&1 | \ -- grep '(Bundled)' > /dev/null -- if test $? -ne 0; then -- CFLAGS_OPT="$CFLAGS_OPT_TRY" -- echo " HP-UX ANSI C ($CFLAGS_OPT)" -- else -- echo ' HP-UX Bundled C (no opt)' -- fi -- else -- # GNU C? -- cat > conftest.c << _EOF_ --int main() --{ --#ifndef __GNUC__ -- bad code --#endif -- return 0; --} --_EOF_ -- $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null -- if test $? -eq 0; then -- CFLAGS_OPT='-O3' -- echo " GNU C ($CFLAGS_OPT)" -- # Special Mac OS X shared library "ld" option? -- if test ` uname -s 2> /dev/null ` = 'Darwin'; then -- lf='-Wl,-search_paths_first' -- $CC $CFLAGS $lf conftest.c > /dev/null 2>/dev/null -- if test $? -eq 0; then -- LFLAGS2="${LFLAGS2} ${lf}" -- fi -- rm -f conftest -- fi -- else -- CFLAGS_OPT='-O' -- echo " Other-unknown C ($CFLAGS_OPT)" -- fi -- fi -- fi --fi -- --# optimization flags --if test -n "${CFLAGS_OPT}"; then -- CFLAGS="${CFLAGS} ${CFLAGS_OPT}" -- CFLAGS_BZ="${CFLAGS_BZ} ${CFLAGS_OPT}" --fi -- -- - # bzip2 - - echo "Check bzip2 support" --- -1.9.3 - diff --git a/buildroot-2021.05/package/zip/0002-configure-Don-t-use-host-CPP.patch b/buildroot-2021.05/package/zip/0002-configure-Don-t-use-host-CPP.patch deleted file mode 100644 index 85049127..00000000 --- a/buildroot-2021.05/package/zip/0002-configure-Don-t-use-host-CPP.patch +++ /dev/null @@ -1,37 +0,0 @@ -From fc5c889131ff6270e1028cc7edd87e7f10a7da6d Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Thu, 22 Jan 2015 15:21:31 +0100 -Subject: [PATCH 2/6] configure: Don't use host CPP - -CPP is redefined if a cpp binary (/lib/cpp) is found on the host. - -Use the CPP="${CC} -E" allows to pass the following checks: -Check if we can use asm code (for -DASMV) -Check if compiler generates underlines (for -DASM_CRC) - -Signed-off-by: Romain Naour ---- - unix/configure | 7 ------- - 1 file changed, 7 deletions(-) - -diff --git a/unix/configure b/unix/configure -index 4185fee..489009f 100644 ---- a/unix/configure -+++ b/unix/configure -@@ -122,13 +122,6 @@ fi - echo Check for the C preprocessor - # on SVR4, cc -E does not produce correct assembler files. Need /lib/cpp. - CPP="${CC} -E" --# solaris as(1) needs -P, maybe others as well ? --[ -f /usr/ccs/lib/cpp ] && CPP="/usr/ccs/lib/cpp -P" --[ -f /usr/lib/cpp ] && CPP=/usr/lib/cpp --[ -f /lib/cpp ] && CPP=/lib/cpp --[ -f /usr/bin/cpp ] && CPP=/usr/bin/cpp --[ -f /xenix ] && CPP="${CC} -E" --[ -f /lynx.os ] && CPP="${CC} -E" - - echo "#include " > conftest.c - $CPP conftest.c >/dev/null 2>/dev/null || CPP="${CC} -E" --- -1.9.3 - diff --git a/buildroot-2021.05/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch b/buildroot-2021.05/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch deleted file mode 100644 index 104b7e8d..00000000 --- a/buildroot-2021.05/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 93189390de7322da78bc5b807f4cadaff46393c9 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Thu, 22 Jan 2015 22:45:30 +0100 -Subject: [PATCH 3/6] Makefile: Use CFLAGS from command line - -Replace CFLAGS_NOOPT by CFLAGS when calling unix/configure script -to create 'flags' file which contains all variables used to build -zip binary. - -Signed-off-by: Romain Naour ---- - unix/Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/unix/Makefile b/unix/Makefile -index abd0c44..db62368 100644 ---- a/unix/Makefile -+++ b/unix/Makefile -@@ -177,7 +177,7 @@ uninstall: - - - flags: unix/configure -- sh unix/configure "${CC}" "${CFLAGS_NOOPT}" "${IZ_BZIP2}" -+ sh unix/configure "${CC}" "${CFLAGS}" "${IZ_BZIP2}" - - # These symbols, when #defined using -D have these effects on compilation: - # ZMEM - includes C language versions of memset(), memcpy(), --- -1.9.3 - diff --git a/buildroot-2021.05/package/zip/0004-configure-use-LDFLAGS-from-command-line.patch b/buildroot-2021.05/package/zip/0004-configure-use-LDFLAGS-from-command-line.patch deleted file mode 100644 index 35d38602..00000000 --- a/buildroot-2021.05/package/zip/0004-configure-use-LDFLAGS-from-command-line.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 5c58b8737dc9ccf9407f6725f6f07b764d6abb22 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Thu, 22 Jan 2015 23:47:55 +0100 -Subject: [PATCH 4/6] configure: use LDFLAGS from command line - -The bzip2 support may not enabled due to a build error -during the checking for bzip2 library. -The library path (-L) to bzip2 library is missing. - -Signed-off-by: Romain Naour ---- - unix/configure | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/unix/configure b/unix/configure -index 489009f..de9fd68 100644 ---- a/unix/configure -+++ b/unix/configure -@@ -106,11 +106,11 @@ int main() - return 0; - } - _EOF_ -- $CC $CFLAGS -o conftest conftest.c -lbz2 > /dev/null 2>/dev/null -+ $CC $CFLAGS $LDFLAGS -o conftest conftest.c -lbz2 > /dev/null 2>/dev/null - if test $? -eq 0; then - echo "-- OS supports bzip2 - linking in bzip2" - CFLAGS="${CFLAGS} -DBZIP2_SUPPORT" -- LFLAGS2="${LFLAGS2} -lbz2" -+ LFLAGS2="${LFLAGS2} ${LDFLAGS} -lbz2" - else - echo "-- Either bzlib.h or libbz2.a not found - no bzip2" - fi --- -1.9.3 - diff --git a/buildroot-2021.05/package/zip/0005-unix-configure-remove-GID-UID-size-check.patch b/buildroot-2021.05/package/zip/0005-unix-configure-remove-GID-UID-size-check.patch deleted file mode 100644 index 38d8d730..00000000 --- a/buildroot-2021.05/package/zip/0005-unix-configure-remove-GID-UID-size-check.patch +++ /dev/null @@ -1,85 +0,0 @@ -From d8da4e5f0ebed000f880e60b6cca7c575f7ed1c7 Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 23 Jan 2015 22:13:14 +0100 -Subject: [PATCH 5/6] unix/configure: remove GID/UID size check - -This check can't work for cross-compilation since it -try to run a target's binary on the host system. - -Reported-by: Richard Genoud -Signed-off-by: Romain Naour ---- - unix/configure | 57 --------------------------------------------------------- - 1 file changed, 57 deletions(-) - -diff --git a/unix/configure b/unix/configure -index de9fd68..7bfc9eb 100644 ---- a/unix/configure -+++ b/unix/configure -@@ -237,63 +237,6 @@ _EOF_ - $CC $CFLAGS -c conftest.c >/dev/null 2>/dev/null - [ $? -ne 0 ] && CFLAGS="${CFLAGS} -DNO_OFF_T" - -- --echo Check size of UIDs and GIDs --echo "(Now zip stores variable size UIDs/GIDs using a new extra field. This" --echo " tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage" --echo " should also be used for backward compatibility.)" --# Added 2008-04-15 CS --cat > conftest.c << _EOF_ --# define _LARGEFILE_SOURCE /* some OSes need this for fseeko */ --# define _LARGEFILE64_SOURCE --# define _FILE_OFFSET_BITS 64 /* select default interface as 64 bit */ --# define _LARGE_FILES /* some OSes need this for 64-bit off_t */ --#include --#include --#include --#include --int main() --{ -- struct stat s; -- -- printf(" s.st_uid is %u bytes\n", sizeof(s.st_uid)); -- printf(" s.st_gid is %u bytes\n", sizeof(s.st_gid)); -- -- /* see if have 16-bit UID */ -- if (sizeof(s.st_uid) != 2) { -- return 1; -- } -- /* see if have 16-bit GID */ -- if (sizeof(s.st_gid) != 2) { -- return 2; -- } -- return 3; --} --_EOF_ --# compile it --$CC -o conftest conftest.c >/dev/null 2>/dev/null --if [ $? -ne 0 ]; then -- echo -- UID/GID test failed on compile - disabling old 16-bit UID/GID support -- CFLAGS="${CFLAGS} -DUIDGID_NOT_16BIT" --else --# run it -- ./conftest -- r=$? -- if [ $r -eq 1 ]; then -- echo -- UID not 2 bytes - disabling old 16-bit UID/GID support -- CFLAGS="${CFLAGS} -DUIDGID_NOT_16BIT" -- elif [ $r -eq 2 ]; then -- echo -- GID not 2 bytes - disabling old 16-bit UID/GID support -- CFLAGS="${CFLAGS} -DUIDGID_NOT_16BIT" -- elif [ $r -eq 3 ]; then -- echo -- 16-bit UIDs and GIDs - keeping old 16-bit UID/GID support -- else -- echo -- test failed - conftest returned $r - disabling old 16-bit UID/GID support -- CFLAGS="${CFLAGS} -DUIDGID_NOT_16BIT" -- fi --fi -- -- - # Now we set the 64-bit file environment and check the size of off_t - # Added 11/4/2003 EG - # Revised 8/12/2004 EG --- -1.9.3 - diff --git a/buildroot-2021.05/package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch b/buildroot-2021.05/package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch deleted file mode 100644 index a4e99dbc..00000000 --- a/buildroot-2021.05/package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch +++ /dev/null @@ -1,101 +0,0 @@ -From fc392c939b9a18959482f588aff0afc29dd6d30a Mon Sep 17 00:00:00 2001 -From: Romain Naour -Date: Fri, 23 Jan 2015 22:20:18 +0100 -Subject: [PATCH 6/6] unix/configure: borrow the LFS test from autotools. - -Infozip's LFS check can't work for cross-compilation -since it try to run a target's binary on the host system. - -Instead, use to LFS test used by autotools which is a -compilation test. -(see autotools/lib/autoconf/specific.m4) - -Reported-by: Richard Genoud -Signed-off-by: Romain Naour ---- - unix/configure | 51 ++++++++++++++++++--------------------------------- - 1 file changed, 18 insertions(+), 33 deletions(-) - -diff --git a/unix/configure b/unix/configure -index 7bfc9eb..588f269 100644 ---- a/unix/configure -+++ b/unix/configure -@@ -237,9 +237,8 @@ _EOF_ - $CC $CFLAGS -c conftest.c >/dev/null 2>/dev/null - [ $? -ne 0 ] && CFLAGS="${CFLAGS} -DNO_OFF_T" - --# Now we set the 64-bit file environment and check the size of off_t --# Added 11/4/2003 EG --# Revised 8/12/2004 EG -+# LFS check borrowed from autotools sources -+# lib/autoconf/specific.m4 - - echo Check for Large File Support - cat > conftest.c << _EOF_ -@@ -247,24 +246,22 @@ cat > conftest.c << _EOF_ - # define _LARGEFILE64_SOURCE - # define _FILE_OFFSET_BITS 64 /* select default interface as 64 bit */ - # define _LARGE_FILES /* some OSes need this for 64-bit off_t */ -+ - #include --#include --#include --#include --int main() -+ /* Check that off_t can represent 2**63 - 1 correctly. -+ We can't simply define LARGE_OFF_T to be 9223372036854775807, -+ since some C++ compilers masquerading as C compilers -+ incorrectly reject 9223372036854775807. */ -+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) -+ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 -+ && LARGE_OFF_T % 2147483647 == 1) -+ ? 1 : -1]; -+int -+main () - { -- off_t offset; -- struct stat s; -- /* see if have 64-bit off_t */ -- if (sizeof(offset) < 8) -- return 1; -- printf(" off_t is %d bytes\n", sizeof(off_t)); -- /* see if have 64-bit stat */ -- if (sizeof(s.st_size) < 8) { -- printf(" s.st_size is %d bytes\n", sizeof(s.st_size)); -- return 2; -- } -- return 3; -+ -+ ; -+ return 0; - } - _EOF_ - # compile it -@@ -272,22 +269,10 @@ $CC -o conftest conftest.c >/dev/null 2>/dev/null - if [ $? -ne 0 ]; then - echo -- no Large File Support - else --# run it -- ./conftest -- r=$? -- if [ $r -eq 1 ]; then -- echo -- no Large File Support - no 64-bit off_t -- elif [ $r -eq 2 ]; then -- echo -- no Large File Support - no 64-bit stat -- elif [ $r -eq 3 ]; then -- echo -- yes we have Large File Support! -- CFLAGS="${CFLAGS} -DLARGE_FILE_SUPPORT" -- else -- echo -- no Large File Support - conftest returned $r -- fi -+ echo -- yes we have Large File Support! -+ CFLAGS="${CFLAGS} -DLARGE_FILE_SUPPORT" - fi - -- - # Check for wide char for Unicode support - # Added 11/24/2005 EG - --- -1.9.3 - diff --git a/buildroot-2021.05/package/zlib-ng/zlib-ng.hash b/buildroot-2021.05/package/zlib-ng/zlib-ng.hash deleted file mode 100644 index 3e1dba35..00000000 --- a/buildroot-2021.05/package/zlib-ng/zlib-ng.hash +++ /dev/null @@ -1,3 +0,0 @@ -# Locally calculated -sha256 379723c0c954679a50d1d7df43084e2194dc51ecbc9987c889cb129d1f6734bc zlib-ng-1.9.9-b1.tar.gz -sha256 d3c80be055d94d798eaa786116e84fa0b010bc11420b5d2060d978ea77845436 LICENSE.md diff --git a/buildroot-2021.05/package/zlib-ng/zlib-ng.mk b/buildroot-2021.05/package/zlib-ng/zlib-ng.mk deleted file mode 100644 index c56fa72d..00000000 --- a/buildroot-2021.05/package/zlib-ng/zlib-ng.mk +++ /dev/null @@ -1,26 +0,0 @@ -################################################################################ -# -# zlib-ng -# -################################################################################ - -ZLIB_NG_VERSION = 1.9.9-b1 -ZLIB_NG_SITE = $(call github,zlib-ng,zlib-ng,$(ZLIB_NG_VERSION)) -ZLIB_NG_LICENSE = Zlib -ZLIB_NG_LICENSE_FILES = LICENSE.md -ZLIB_NG_INSTALL_STAGING = YES -ZLIB_NG_PROVIDES = zlib - -# Build with zlib compatible API, gzFile support and optimizations on -ZLIB_NG_CONF_OPTS += \ - -DWITH_GZFILEOP=1 \ - -DWITH_OPTIM=1 \ - -DZLIB_COMPAT=1 \ - -DZLIB_ENABLE_TESTS=OFF - -# Enable NEON and ACLE on ARM -ifeq ($(BR2_arm),y) -ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 -endif - -$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/zlib/Config.in b/buildroot-2021.05/package/zlib/Config.in deleted file mode 100644 index 550c2efa..00000000 --- a/buildroot-2021.05/package/zlib/Config.in +++ /dev/null @@ -1,57 +0,0 @@ -config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS - bool - default y if BR2_arm - default y if BR2_aarch64 - default y if BR2_i386 - default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le - default y if BR2_s390x - default y if BR2_x86_64 - -config BR2_PACKAGE_ZLIB - bool "zlib support" - help - Select the desired Zlib library provider. - -if BR2_PACKAGE_ZLIB - -choice - prompt "zlib variant" - default BR2_PACKAGE_LIBZLIB - help - Select the desired Zlib library provider. - -config BR2_PACKAGE_LIBZLIB - bool "zlib" - select BR2_PACKAGE_HAS_ZLIB - help - Standard (de)compression library. Used by things like - gzip and libpng. - - http://www.zlib.net - -config BR2_PACKAGE_ZLIB_NG - bool "zlib-ng" - depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS - select BR2_PACKAGE_HAS_ZLIB - help - Zlib replacement with optimizations for - "next generation" systems. - - https://github.com/zlib-ng/zlib-ng - -endchoice - -config BR2_PACKAGE_HAS_ZLIB - bool - -config BR2_PACKAGE_PROVIDES_ZLIB - string - default "libzlib" if BR2_PACKAGE_LIBZLIB - default "zlib-ng" if BR2_PACKAGE_ZLIB_NG - -endif - -# ensure libzlib is used for the host variant -config BR2_PACKAGE_PROVIDES_HOST_ZLIB - string - default "host-libzlib" diff --git a/buildroot-2021.05/package/zmqpp/zmqpp.mk b/buildroot-2021.05/package/zmqpp/zmqpp.mk deleted file mode 100644 index 3cd19d64..00000000 --- a/buildroot-2021.05/package/zmqpp/zmqpp.mk +++ /dev/null @@ -1,59 +0,0 @@ -################################################################################ -# -# zmqpp -# -################################################################################ - -ZMQPP_VERSION = 4.2.0 -ZMQPP_SITE = $(call github,zeromq,zmqpp,$(ZMQPP_VERSION)) -ZMQPP_INSTALL_STAGING = YES -ZMQPP_DEPENDENCIES = zeromq -ZMQPP_LICENSE = MPL-2.0 -ZMQPP_LICENSE_FILES = LICENSE -ZMQPP_MAKE_OPTS = LD="$(TARGET_CXX)" BUILD_PATH=./build PREFIX=/usr -ZMQPP_LDFLAGS = $(TARGET_LDFLAGS) -lpthread - -# gcc bug internal compiler error: in merge_overlapping_regs, at -# regrename.c:304. This bug is fixed since gcc 6. -# By setting CONFIG to empty, all optimizations such as -funroll-loops -# -ffast-math -finline-functions -fomit-frame-pointer are disabled, -# so only set CONFIG for the non-affected cases. -ifneq ($(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:) -ZMQPP_CONFIG = $(if $(BR2_ENABLE_DEBUG),debug,release) -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) -ZMQPP_LDFLAGS += -latomic -endif - -ifeq ($(BR2_PACKAGE_ZMQPP_CLIENT),y) -ZMQPP_DEPENDENCIES += boost -endif - -ifeq ($(BR2_STATIC_LIBS),y) -ZMQPP_MAKE_OPTS += BUILD_STATIC=yes BUILD_SHARED=no -else ifeq ($(BR2_SHARED_STATIC_LIBS),y) -ZMQPP_MAKE_OPTS += BUILD_STATIC=yes BUILD_SHARED=yes -else ifeq ($(BR2_SHARED_LIBS),y) -ZMQPP_MAKE_OPTS += BUILD_STATIC=no BUILD_SHARED=yes -endif - -define ZMQPP_BUILD_CMDS - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - CONFIG=$(ZMQPP_CONFIG) LDFLAGS="$(ZMQPP_LDFLAGS)" \ - $(ZMQPP_MAKE_OPTS) $(if $(BR2_PACKAGE_ZMQPP_CLIENT),client,library) -C $(@D) -endef - -define ZMQPP_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -d $(TARGET_DIR)/usr/include/zmqpp - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - $(ZMQPP_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install -C $(@D) -endef - -define ZMQPP_INSTALL_STAGING_CMDS - $(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/zmqpp - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ - $(ZMQPP_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install -C $(@D) -endef - -$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/znc/Config.in b/buildroot-2021.05/package/znc/Config.in deleted file mode 100644 index 4fc7bbb9..00000000 --- a/buildroot-2021.05/package/znc/Config.in +++ /dev/null @@ -1,16 +0,0 @@ -config BR2_PACKAGE_ZNC - bool "znc" - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_USE_MMU # fork() - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - depends on BR2_TOOLCHAIN_HAS_THREADS - help - Advanced IRC bouncer - - http://www.znc.in - -comment "znc needs a toolchain w/ C++, dynamic library, gcc >= 4.8, threads" - depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/zsh/zsh.hash b/buildroot-2021.05/package/zsh/zsh.hash deleted file mode 100644 index 2df409c9..00000000 --- a/buildroot-2021.05/package/zsh/zsh.hash +++ /dev/null @@ -1,7 +0,0 @@ -# From http://www.zsh.org/pub/MD5SUM -md5 e02a5428620b3dd268800c7843b3dd4d zsh-5.8.tar.xz -# Calculated based on the hash above and after checking signature -# http://www.zsh.org/pub/zsh-5.8.tar.xz.asc -sha256 dcc4b54cc5565670a65581760261c163d720991f0d06486da61f8d839b52de27 zsh-5.8.tar.xz -# Locally calculated -sha256 d06fdf3ef9b1ec69d6b9e170b0a9516fbad3523261ff1668bde3bfea6e0ef5f5 LICENCE diff --git a/buildroot-2021.05/package/zsh/zsh.mk b/buildroot-2021.05/package/zsh/zsh.mk deleted file mode 100644 index 1a048332..00000000 --- a/buildroot-2021.05/package/zsh/zsh.mk +++ /dev/null @@ -1,53 +0,0 @@ -################################################################################ -# -# zsh -# -################################################################################ - -ZSH_VERSION = 5.8 -ZSH_SITE = http://www.zsh.org/pub -ZSH_SOURCE = zsh-$(ZSH_VERSION).tar.xz -ZSH_DEPENDENCIES = ncurses -ZSH_CONF_OPTS = --bindir=/bin -ZSH_CONF_ENV = zsh_cv_sys_nis=no zsh_cv_sys_nis_plus=no -ZSH_LICENSE = MIT-like -ZSH_LICENSE_FILES = LICENCE -ZSH_CPE_ID_VENDOR = zsh - -ifeq ($(BR2_PACKAGE_GDBM),y) -ZSH_CONF_OPTS += --enable-gdbm -ZSH_DEPENDENCIES += gdbm -else -ZSH_CONF_OPTS += --disable-gdbm -endif - -ifeq ($(BR2_PACKAGE_LIBCAP),y) -ZSH_CONF_OPTS += --enable-cap -ZSH_DEPENDENCIES += libcap -else -ZSH_CONF_OPTS += --disable-cap -endif - -ifeq ($(BR2_PACKAGE_PCRE),y) -ZSH_CONF_OPTS += --enable-pcre -ZSH_CONF_ENV += ac_cv_prog_PCRECONF=$(STAGING_DIR)/usr/bin/pcre-config -ZSH_DEPENDENCIES += pcre -else -ZSH_CONF_OPTS += --disable-pcre -endif - -# Add /bin/zsh to /etc/shells otherwise some login tools like dropbear -# can reject the user connection. See man shells. -define ZSH_ADD_ZSH_TO_SHELLS - grep -qsE '^/bin/zsh$$' $(TARGET_DIR)/etc/shells \ - || echo "/bin/zsh" >> $(TARGET_DIR)/etc/shells -endef -ZSH_TARGET_FINALIZE_HOOKS += ZSH_ADD_ZSH_TO_SHELLS - -# Remove versioned zsh-x.y.z binary taking up space -define ZSH_TARGET_INSTALL_FIXUPS - rm -f $(TARGET_DIR)/bin/zsh-$(ZSH_VERSION) -endef -ZSH_POST_INSTALL_TARGET_HOOKS += ZSH_TARGET_INSTALL_FIXUPS - -$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/zstd/zstd.hash b/buildroot-2021.05/package/zstd/zstd.hash deleted file mode 100644 index a979501e..00000000 --- a/buildroot-2021.05/package/zstd/zstd.hash +++ /dev/null @@ -1,6 +0,0 @@ -# From https://github.com/facebook/zstd/releases/download/v1.4.9/zstd-1.4.9.tar.gz.sha256 -sha256 29ac74e19ea28659017361976240c4b5c5c24db3b89338731a6feb97c038d293 zstd-1.4.9.tar.gz - -# License files (locally computed) -sha256 2c1a7fa704df8f3a606f6fc010b8b5aaebf403f3aeec339a12048f1ba7331a0b LICENSE -sha256 f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505 COPYING diff --git a/buildroot-2021.05/package/zstd/zstd.mk b/buildroot-2021.05/package/zstd/zstd.mk deleted file mode 100644 index 63ea8b1b..00000000 --- a/buildroot-2021.05/package/zstd/zstd.mk +++ /dev/null @@ -1,99 +0,0 @@ -################################################################################ -# -# zstd -# -################################################################################ - -ZSTD_VERSION = 1.4.9 -ZSTD_SITE = https://github.com/facebook/zstd/releases/download/v$(ZSTD_VERSION) -ZSTD_INSTALL_STAGING = YES -ZSTD_LICENSE = BSD-3-Clause or GPL-2.0 -ZSTD_LICENSE_FILES = LICENSE COPYING -ZSTD_CPE_ID_VENDOR = facebook -ZSTD_CPE_ID_PRODUCT = zstandard - -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -ZSTD_OPTS += HAVE_THREAD=1 -else -ZSTD_OPTS += HAVE_THREAD=0 -endif - -ifeq ($(BR2_PACKAGE_ZLIB),y) -ZSTD_DEPENDENCIES += zlib -ZSTD_OPTS += HAVE_ZLIB=1 -else -ZSTD_OPTS += HAVE_ZLIB=0 -endif - -ifeq ($(BR2_PACKAGE_XZ),y) -ZSTD_DEPENDENCIES += xz -ZSTD_OPTS += HAVE_LZMA=1 -else -ZSTD_OPTS += HAVE_LZMA=0 -endif - -ifeq ($(BR2_PACKAGE_LZ4),y) -ZSTD_DEPENDENCIES += lz4 -ZSTD_OPTS += HAVE_LZ4=1 -else -ZSTD_OPTS += HAVE_LZ4=0 -endif - -ifeq ($(BR2_STATIC_LIBS),y) -ZSTD_BUILD_LIBS = libzstd.a -ZSTD_INSTALL_LIBS = install-static -else ifeq ($(BR2_SHARED_LIBS),y) -ZSTD_BUILD_LIBS = libzstd -ZSTD_INSTALL_LIBS = install-shared -else -ZSTD_BUILD_LIBS = libzstd.a libzstd -ZSTD_INSTALL_LIBS = install-static install-shared -endif - -# The HAVE_THREAD flag is read by the 'programs' makefile but not by the 'lib' -# one. Building a multi-threaded binary with a library (which defaults to -# single-threaded) gives a runtime error when compressing files. -# The 'lib' makefile provides specific '%-mt' targets for this purpose. -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -ZSTD_BUILD_LIBS := $(addsuffix -mt,$(ZSTD_BUILD_LIBS)) -endif - -define ZSTD_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ - -C $(@D)/lib $(ZSTD_BUILD_LIBS) - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ - -C $(@D) zstd -endef - -define ZSTD_INSTALL_STAGING_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ - DESTDIR=$(STAGING_DIR) PREFIX=/usr -C $(@D)/lib \ - install-pc install-includes $(ZSTD_INSTALL_LIBS) -endef - -define ZSTD_INSTALL_TARGET_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ - DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/programs install - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ - DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D)/lib $(ZSTD_INSTALL_LIBS) -endef - -# note: only limited 'HAVE_...' options for host library build only -HOST_ZSTD_OPTS = HAVE_THREAD=1 - -define HOST_ZSTD_BUILD_CMDS - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \ - -C $(@D)/lib libzstd.a-mt libzstd-mt - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \ - -C $(@D) zstd -endef - -define HOST_ZSTD_INSTALL_CMDS - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \ - DESTDIR=$(HOST_DIR) PREFIX=/usr -C $(@D)/lib install - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \ - DESTDIR=$(HOST_DIR) PREFIX=/usr -C $(@D)/programs install -endef - -$(eval $(generic-package)) -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/zynq-boot-bin/zynq-boot-bin.hash b/buildroot-2021.05/package/zynq-boot-bin/zynq-boot-bin.hash deleted file mode 100644 index 0bc23de1..00000000 --- a/buildroot-2021.05/package/zynq-boot-bin/zynq-boot-bin.hash +++ /dev/null @@ -1,2 +0,0 @@ -# From https://raw.githubusercontent.com/Xilinx/u-boot-xlnx -sha1 940331ee02b0007099effa61e382fe7ea4174054 zynq-boot-bin.py diff --git a/buildroot-2021.05/package/zynq-boot-bin/zynq-boot-bin.mk b/buildroot-2021.05/package/zynq-boot-bin/zynq-boot-bin.mk deleted file mode 100644 index deba5f40..00000000 --- a/buildroot-2021.05/package/zynq-boot-bin/zynq-boot-bin.mk +++ /dev/null @@ -1,22 +0,0 @@ -################################################################################ -# -# zynq-boot-bin -# -################################################################################ - -ZYNQ_BOOT_BIN_VERSION = 2015.1 -ZYNQ_BOOT_BIN_SOURCE = zynq-boot-bin.py -ZYNQ_BOOT_BIN_SITE = https://raw.githubusercontent.com/Xilinx/u-boot-xlnx/xilinx-v$(ZYNQ_BOOT_BIN_VERSION)/tools -ZYNQ_BOOT_BIN_LICENSE = GPL-3.0+ - -HOST_ZYNQ_BOOT_BIN_DEPENDENCIES = host-python - -define HOST_ZYNQ_BOOT_BIN_EXTRACT_CMDS - cp $(HOST_ZYNQ_BOOT_BIN_DL_DIR)/$(ZYNQ_BOOT_BIN_SOURCE) $(@D) -endef - -define HOST_ZYNQ_BOOT_BIN_INSTALL_CMDS - $(INSTALL) -D -m 0755 $(@D)/$(ZYNQ_BOOT_BIN_SOURCE) $(HOST_DIR)/bin/$(ZYNQ_BOOT_BIN_SOURCE) -endef - -$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/pi.js b/buildroot-2021.05/pi.js deleted file mode 100644 index 2a655835..00000000 --- a/buildroot-2021.05/pi.js +++ /dev/null @@ -1,119 +0,0 @@ -/* - * PI computation in Javascript using the BigInt type - * from: https://bellard.org/quickjs/pi.html - */ -"use strict"; - -/* return floor(log2(a)) for a > 0 and 0 for a = 0 */ -function floor_log2(a) -{ - var k_max, a1, k, i; - k_max = 0n; - while ((a >> (2n ** k_max)) != 0n) { - k_max++; - } - k = 0n; - a1 = a; - for(i = k_max - 1n; i >= 0n; i--) { - a1 = a >> (2n ** i); - if (a1 != 0n) { - a = a1; - k |= (1n << i); - } - } - return k; -} - -/* return ceil(log2(a)) for a > 0 */ -function ceil_log2(a) -{ - return floor_log2(a - 1n) + 1n; -} - -/* return floor(sqrt(a)) (not efficient but simple) */ -function int_sqrt(a) -{ - var l, u, s; - if (a == 0n) - return a; - l = ceil_log2(a); - u = 1n << ((l + 1n) / 2n); - /* u >= floor(sqrt(a)) */ - for(;;) { - s = u; - u = ((a / s) + s) / 2n; - if (u >= s) - break; - } - return s; -} - -/* return pi * 2**prec */ -function calc_pi(prec) { - const CHUD_A = 13591409n; - const CHUD_B = 545140134n; - const CHUD_C = 640320n; - const CHUD_C3 = 10939058860032000n; /* C^3/24 */ - const CHUD_BITS_PER_TERM = 47.11041313821584202247; /* log2(C/12)*3 */ - - /* return [P, Q, G] */ - function chud_bs(a, b, need_G) { - var c, P, Q, G, P1, Q1, G1, P2, Q2, G2; - if (a == (b - 1n)) { - G = (2n * b - 1n) * (6n * b - 1n) * (6n * b - 5n); - P = G * (CHUD_B * b + CHUD_A); - if (b & 1n) - P = -P; - Q = b * b * b * CHUD_C3; - } else { - c = (a + b) >> 1n; - [P1, Q1, G1] = chud_bs(a, c, true); - [P2, Q2, G2] = chud_bs(c, b, need_G); - P = P1 * Q2 + P2 * G1; - Q = Q1 * Q2; - if (need_G) - G = G1 * G2; - else - G = 0n; - } - return [P, Q, G]; - } - - var n, P, Q, G; - /* number of serie terms */ - n = BigInt(Math.ceil(Number(prec) / CHUD_BITS_PER_TERM)) + 10n; - [P, Q, G] = chud_bs(0n, n, false); - Q = (CHUD_C / 12n) * (Q << prec) / (P + Q * CHUD_A); - G = int_sqrt(CHUD_C << (2n * prec)); - return (Q * G) >> prec; -} - -function main(args) { - var r, n_digits, n_bits, out; - if (args.length < 1) { - print("usage: pi n_digits"); - return; - } - n_digits = args[0] | 0; - - /* we add more bits to reduce the probability of bad rounding for - the last digits */ - n_bits = BigInt(Math.ceil(n_digits * Math.log2(10))) + 32n; - r = calc_pi(n_bits); - r = ((10n ** BigInt(n_digits)) * r) >> n_bits; - out = r.toString(); - print(out[0] + "." + out.slice(1)); -} - -var args; -if (typeof scriptArgs != "undefined") { - args = scriptArgs; - args.shift(); -} else if (typeof arguments != "undefined") { - args = arguments; -} else { - /* default: 1000 digits */ - args=[1000]; -} - -main(args); diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-riscv64-glibc.config b/buildroot-2021.05/support/config-fragments/autobuild/bootlin-riscv64-glibc.config deleted file mode 100644 index f6c6fcaa..00000000 --- a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-riscv64-glibc.config +++ /dev/null @@ -1,5 +0,0 @@ -BR2_riscv=y -BR2_RISCV_ABI_LP64=y -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y -BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_GLIBC_BLEEDING_EDGE=y diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-riscv64-musl.config b/buildroot-2021.05/support/config-fragments/autobuild/bootlin-riscv64-musl.config deleted file mode 100644 index 2b6a6e56..00000000 --- a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-riscv64-musl.config +++ /dev/null @@ -1,4 +0,0 @@ -BR2_riscv=y -BR2_RISCV_ABI_LP64=y -BR2_TOOLCHAIN_EXTERNAL=y -BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_MUSL_BLEEDING_EDGE=y diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-arm-internal-glibc.config b/buildroot-2021.05/support/config-fragments/autobuild/br-arm-internal-glibc.config deleted file mode 100644 index ea6df7fb..00000000 --- a/buildroot-2021.05/support/config-fragments/autobuild/br-arm-internal-glibc.config +++ /dev/null @@ -1,6 +0,0 @@ -BR2_arm=y -BR2_cortex_a8=y -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_BINUTILS_VERSION_2_34_X=y -BR2_GCC_VERSION_10_X=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y diff --git a/buildroot-2021.05/support/dependencies/dependencies.mk b/buildroot-2021.05/support/dependencies/dependencies.mk deleted file mode 100644 index 4fac5c73..00000000 --- a/buildroot-2021.05/support/dependencies/dependencies.mk +++ /dev/null @@ -1,35 +0,0 @@ -################################################################################ -# -# Check buildroot dependencies and bail out if the user's -# system is judged to be lacking.... -# -################################################################################ - -ifeq ($(BR2_FORCE_HOST_BUILD),y) -# ignore all available host packages -define suitable-host-package -endef -else -# suitable-host-pkg: calls check-host-$(1).sh shell script. Parameter (2) -# can be the candidate to be checked. If not present, the check-host-$(1).sh -# script should use 'which' to find a candidate. The script should return -# the path to the suitable host tool, or nothing if no suitable tool was found. -define suitable-host-package -$(shell support/dependencies/check-host-$(1).sh $(2)) -endef -endif -# host utilities needs host-tar to extract the source code tarballs, so -# ensure check-host-tar.mk is included before the rest -include support/dependencies/check-host-tar.mk --include $(sort $(filter-out %-tar.mk,$(wildcard support/dependencies/check-host-*.mk))) - -dependencies: - @MAKE="$(MAKE)" DL_TOOLS="$(sort $(DL_TOOLS_DEPENDENCIES))" \ - $(TOPDIR)/support/dependencies/dependencies.sh - -################################################################################ -# -# Toplevel Makefile options -# -################################################################################ -.PHONY: dependencies diff --git a/buildroot-2021.05/support/dependencies/dependencies.sh b/buildroot-2021.05/support/dependencies/dependencies.sh deleted file mode 100755 index 1954f038..00000000 --- a/buildroot-2021.05/support/dependencies/dependencies.sh +++ /dev/null @@ -1,298 +0,0 @@ -#!/bin/sh -# vi: set sw=4 ts=4: - -export LC_ALL=C -TAB="$(printf '\t')" -NL=" -" - -# Verify that grep works -echo "WORKS" | grep "WORKS" >/dev/null 2>&1 -if test $? != 0 ; then - echo - echo "grep doesn't work" - exit 1 -fi - -# Sanity check for CWD in LD_LIBRARY_PATH -case ":${LD_LIBRARY_PATH:-unset}:" in -(*::*|*:.:*) - echo - echo "You seem to have the current working directory in your" - echo "LD_LIBRARY_PATH environment variable. This doesn't work." - exit 1 - ;; -esac - -# Sanity check for CWD in PATH. Having the current working directory -# in the PATH makes various packages (e.g. toolchain, coreutils...) -# build process break. -# PATH should not contain a newline, otherwise it fails in spectacular -# ways as soon as PATH is referenced in a package rule -# An empty PATH is technically possible, but in practice we would not -# even arrive here if that was the case. -case ":${PATH:-unset}:" in -(*::*|*:.:*) - echo - echo "You seem to have the current working directory in your" - echo "PATH environment variable. This doesn't work." - exit 1 - ;; -(*" "*|*"${TAB}"*|*"${NL}"*) - printf "\n" - printf "Your PATH contains spaces, TABs, and/or newline (\\\n) characters.\n" - printf "This doesn't work. Fix you PATH.\n" - exit 1 - ;; -esac - -if test -n "$PERL_MM_OPT" ; then - echo - echo "You have PERL_MM_OPT defined because Perl local::lib" - echo "is installed on your system. Please unset this variable" - echo "before starting Buildroot, otherwise the compilation of" - echo "Perl related packages will fail" - exit 1 -fi - -check_prog_host() -{ - prog="$1" - if ! which $prog > /dev/null ; then - echo >&2 - echo "You must install '$prog' on your build machine" >&2 - exit 1 - fi -} - -# Verify that which is installed -check_prog_host "which" -# Verify that sed is installed -check_prog_host "sed" - -# 'file' must be present and must be exactly /usr/bin/file, -# otherwise libtool fails in incomprehensible ways. -check_prog_host "/usr/bin/file" - -# Check make -MAKE=$(which make 2> /dev/null) -if [ -z "$MAKE" ] ; then - echo - echo "You must install 'make' on your build machine"; - exit 1; -fi; -MAKE_VERSION=$($MAKE --version 2>&1 | sed -e 's/^.* \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q') -if [ -z "$MAKE_VERSION" ] ; then - echo - echo "You must install 'make' on your build machine"; - exit 1; -fi; -MAKE_MAJOR=$(echo $MAKE_VERSION | sed -e "s/\..*//g") -MAKE_MINOR=$(echo $MAKE_VERSION | sed -e "s/^$MAKE_MAJOR\.//g" -e "s/\..*//g" -e "s/[a-zA-Z].*//g") -if [ $MAKE_MAJOR -lt 3 ] || [ $MAKE_MAJOR -eq 3 -a $MAKE_MINOR -lt 81 ] ; then - echo - echo "You have make '$MAKE_VERSION' installed. GNU make >=3.81 is required" - exit 1; -fi; - -# Check host gcc -COMPILER=$(which $HOSTCC_NOCCACHE 2> /dev/null) -if [ -z "$COMPILER" ] ; then - COMPILER=$(which cc 2> /dev/null) -fi; -if [ -z "$COMPILER" ] ; then - echo - echo "You must install 'gcc' on your build machine"; - exit 1; -fi; - -COMPILER_VERSION=$($COMPILER -v 2>&1 | sed -n '/^gcc version/p' | - sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q') -if [ -z "$COMPILER_VERSION" ] ; then - echo - echo "You must install 'gcc' on your build machine"; - exit 1; -fi; -COMPILER_MAJOR=$(echo $COMPILER_VERSION | sed -e "s/\..*//g") -COMPILER_MINOR=$(echo $COMPILER_VERSION | sed -e "s/^$COMPILER_MAJOR\.//g" -e "s/\..*//g") -if [ $COMPILER_MAJOR -lt 4 -o $COMPILER_MAJOR -eq 4 -a $COMPILER_MINOR -lt 8 ] ; then - echo - echo "You have gcc '$COMPILER_VERSION' installed. gcc >= 4.8 is required" - exit 1; -fi; - -# check for host CXX -CXXCOMPILER=$(which $HOSTCXX_NOCCACHE 2> /dev/null) -if [ -z "$CXXCOMPILER" ] ; then - CXXCOMPILER=$(which c++ 2> /dev/null) -fi - -if [ -z "$CXXCOMPILER" ] ; then - echo - echo "You may have to install 'g++' on your build machine" -fi -if [ ! -z "$CXXCOMPILER" ] ; then - CXXCOMPILER_VERSION=$($CXXCOMPILER -v 2>&1 | sed -n '/^gcc version/p' | - sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q') - if [ -z "$CXXCOMPILER_VERSION" ] ; then - echo - echo "You may have to install 'g++' on your build machine" - fi -fi - -if [ -n "$CXXCOMPILER_VERSION" ] ; then - CXXCOMPILER_MAJOR=$(echo $CXXCOMPILER_VERSION | sed -e "s/\..*//g") - CXXCOMPILER_MINOR=$(echo $CXXCOMPILER_VERSION | sed -e "s/^$CXXCOMPILER_MAJOR\.//g" -e "s/\..*//g") - if [ $CXXCOMPILER_MAJOR -lt 4 -o $CXXCOMPILER_MAJOR -eq 4 -a $CXXCOMPILER_MINOR -lt 8 ] ; then - echo - echo "You have g++ '$CXXCOMPILER_VERSION' installed. g++ >= 4.8 is required" - exit 1 - fi -fi - -# Check bash -# We only check bash is available, setting SHELL appropriately is done -# in the top-level Makefile, and we mimick the same sequence here -if [ -n "${BASH}" ]; then : -elif [ -x /bin/bash ]; then : -elif [ -z "$( sh -c 'echo $BASH' )" ]; then - echo - echo "You must install 'bash' on your build machine" - exit 1 -fi - -# Check that a few mandatory programs are installed -missing_progs="no" -for prog in patch perl tar wget cpio unzip rsync bc ${DL_TOOLS} ; do - if ! which $prog > /dev/null ; then - echo "You must install '$prog' on your build machine"; - missing_progs="yes" - if test $prog = "svn" ; then - echo " svn is usually part of the subversion package in your distribution" - elif test $prog = "hg" ; then - echo " hg is usually part of the mercurial package in your distribution" - elif test $prog = "zcat" ; then - echo " zcat is usually part of the gzip package in your distribution" - elif test $prog = "bzcat" ; then - echo " bzcat is usually part of the bzip2 package in your distribution" - fi - fi -done - -if test "${missing_progs}" = "yes" ; then - exit 1 -fi - -# apply-patches.sh needs patch with --no-backup-if-mismatch support (GNU, busybox w/DESKTOP) -if ! patch --no-backup-if-mismatch /dev/null; then - echo "Your patch program does not support the --no-backup-if-mismatch option. Install GNU patch" - exit 1 -fi - -if grep ^BR2_NEEDS_HOST_UTF8_LOCALE=y $BR2_CONFIG > /dev/null; then - if ! which locale > /dev/null ; then - echo - echo "You need locale support on your build machine to build a toolchain supporting locales" - exit 1 ; - fi - if ! locale -a | grep -q -i -E 'utf-?8$' ; then - echo - echo "You need at least one UTF8 locale to build a toolchain supporting locales" - exit 1 ; - fi -fi - -if grep -q ^BR2_NEEDS_HOST_JAVA=y $BR2_CONFIG ; then - check_prog_host "java" - JAVA_GCJ=$(java -version 2>&1 | grep gcj) - if [ ! -z "$JAVA_GCJ" ] ; then - echo - echo "$JAVA_GCJ is not sufficient to compile your package selection." - echo "Please install an OpenJDK/IcedTea/Oracle Java." - exit 1 ; - fi -fi - -if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then - if test ! -f /lib/ld-linux.so.2 ; then - echo - echo "Your Buildroot configuration uses pre-built tools for the x86 architecture," - echo "but your build machine uses the x86-64 architecture without the 32 bits compatibility" - echo "library." - echo "If you're running a Debian/Ubuntu distribution, install the libc6-i386," - echo "lib32stdc++6, and lib32z1 packages (or alternatively libc6:i386," - echo "libstdc++6:i386, and zlib1g:i386)." - echo "If you're running a RedHat/Fedora distribution, install the glibc.i686 and" - echo "zlib.i686 packages." - echo "If you're running an ArchLinux distribution, install lib32-glibc." - echo "For other distributions, refer to the documentation on how to install the 32 bits" - echo "compatibility libraries." - exit 1 - fi -fi - -if grep -q ^BR2_HOSTARCH_NEEDS_IA32_COMPILER=y $BR2_CONFIG ; then - if ! echo "int main(void) {}" | gcc -m32 -x c - -o /dev/null 2>/dev/null; then - echo - echo "Your Buildroot configuration needs a compiler capable of building 32 bits binaries." - echo "If you're running a Debian/Ubuntu distribution, install the gcc-multilib package." - echo "For other distributions, refer to their documentation." - exit 1 - fi - - if ! echo "int main(void) {}" | g++ -m32 -x c++ - -o /dev/null 2>/dev/null; then - echo - echo "Your Buildroot configuration needs a compiler capable of building 32 bits binaries." - echo "If you're running a Debian/Ubuntu distribution, install the g++-multilib package." - echo "For other distributions, refer to their documentation." - exit 1 - fi -fi - -if grep ^BR2_NEEDS_HOST_GCC_PLUGIN_SUPPORT=y $BR2_CONFIG ; then - if ! echo "#include " | $HOSTCXX_NOCCACHE -I$($HOSTCXX_NOCCACHE -print-file-name=plugin)/include -x c++ -c - -o /dev/null ; then - echo - echo "Your Buildroot configuration needs a host compiler capable of building gcc plugins." - echo "If you're running a Debian/Ubuntu distribution, install gcc-X-plugin-dev package." - echo "For other distributions, refer to their documentation." - exit 1 ; - fi -fi - -# Check that the Perl installation is complete enough for Buildroot. -required_perl_modules="Data::Dumper" # Needed to build host-autoconf -required_perl_modules="$required_perl_modules ExtUtils::MakeMaker" # Used by host-libxml-parser-perl -required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-automake - -if grep -q ^BR2_PACKAGE_MPV=y $BR2_CONFIG ; then - required_perl_modules="$required_perl_modules Math::BigInt" - required_perl_modules="$required_perl_modules Math::BigRat" -fi - -if grep -q ^BR2_PACKAGE_WHOIS=y $BR2_CONFIG ; then - required_perl_modules="$required_perl_modules autodie" -fi - -if grep -q -E '^BR2_PACKAGE_(WEBKITGTK|WPEWEBKIT)=y' $BR2_CONFIG ; then - required_perl_modules="${required_perl_modules} JSON::PP" -fi - -# This variable will keep the modules that are missing in your system. -missing_perl_modules="" - -for pm in $required_perl_modules ; do - if ! perl -e "require $pm" > /dev/null 2>&1 ; then - missing_perl_modules="$missing_perl_modules $pm" - fi -done - -if [ -n "$missing_perl_modules" ] ; then - echo "Your Perl installation is not complete enough; at least the following" - echo "modules are missing:" - echo - for pm in $missing_perl_modules ; do - printf "\t $pm\n" - done - echo - exit 1 -fi diff --git a/buildroot-2021.05/support/docker/Dockerfile b/buildroot-2021.05/support/docker/Dockerfile deleted file mode 100644 index a9bacca3..00000000 --- a/buildroot-2021.05/support/docker/Dockerfile +++ /dev/null @@ -1,63 +0,0 @@ -# This Dockerfile generates the docker image that gets used by Gitlab CI -# To build it (YYYYMMDD.HHMM is the current date and time in UTC): -# sudo docker build -t buildroot/base:YYYYMMDD.HHMM support/docker -# sudo docker push buildroot/base:YYYYMMDD.HHMM - -# We use a specific tag for the base image *and* the corresponding date -# for the repository., so do not forget to update the apt-sources.list -# file that is shipped next to this Dockerfile. -FROM debian:stretch-20171210 - -LABEL maintainer="Buildroot mailing list " \ - vendor="Buildroot" \ -description="Container with everything needed to run Buildroot" - -# Setup environment -ENV DEBIAN_FRONTEND noninteractive - -# This repository can be a bit slow at times. Don't panic... -COPY apt-sources.list /etc/apt/sources.list - -# The container has no package lists, so need to update first -RUN dpkg --add-architecture i386 && \ - apt-get update -y -RUN apt-get install -y --no-install-recommends \ - bc \ - build-essential \ - bzr \ - ca-certificates \ - cmake \ - cpio \ - cvs \ - file \ - g++-multilib \ - git \ - libc6:i386 \ - libncurses5-dev \ - locales \ - mercurial \ - python3 \ - python3-flake8 \ - python3-nose2 \ - python3-pexpect \ - qemu-system-arm \ - qemu-system-x86 \ - rsync \ - subversion \ - unzip \ - wget \ - && \ - apt-get -y autoremove && \ - apt-get -y clean - -# To be able to generate a toolchain with locales, enable one UTF-8 locale -RUN sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen && \ - /usr/sbin/locale-gen - -RUN useradd -ms /bin/bash br-user && \ - chown -R br-user:br-user /home/br-user - -USER br-user -WORKDIR /home/br-user -ENV HOME /home/br-user -ENV LC_ALL en_US.UTF-8 diff --git a/buildroot-2021.05/support/docker/apt-sources.list b/buildroot-2021.05/support/docker/apt-sources.list deleted file mode 100644 index 789fb8fc..00000000 --- a/buildroot-2021.05/support/docker/apt-sources.list +++ /dev/null @@ -1,4 +0,0 @@ -# Latest just before 20171210T000000Z: -deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20171209T220346Z/ stretch main -deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20171209T220346Z/ stretch-updates main -deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20171209T224618Z/ stretch/updates main diff --git a/buildroot-2021.05/support/download/check-hash b/buildroot-2021.05/support/download/check-hash deleted file mode 100755 index fe9c1057..00000000 --- a/buildroot-2021.05/support/download/check-hash +++ /dev/null @@ -1,111 +0,0 @@ -#!/usr/bin/env bash -set -e - -# Helper to check a file matches its known hash -# Call it with: -# $1: the path of the file containing all the expected hashes -# $2: the full path to the temporary file that was downloaded, and -# that is to be checked -# $3: the final basename of the file, to which it will be ultimately -# saved as, to be able to match it to the corresponding hashes -# in the .hash file -# -# Exit codes: -# 0: the hash file exists and the file to check matches all its hashes, -# or the hash file does not exist -# 1: unknown command-line option -# 2: the hash file exists and the file to check does not match at least -# one of its hashes -# 3: the hash file exists and there was no hash to check the file against -# 4: the hash file exists and at least one hash type is unknown - -while getopts :q OPT; do - case "${OPT}" in - q) exec >/dev/null;; - \?) exit 1;; - esac -done -shift $((OPTIND-1)) - -h_file="${1}" -file="${2}" -base="${3}" - -# Bail early if no hash to check -if [ -z "${h_file}" ]; then - exit 0 -fi -# Does the hash-file exist? -if [ ! -f "${h_file}" ]; then - printf "WARNING: no hash file for %s\n" "${base}" >&2 - exit 0 -fi - -# Check one hash for a file -# $1: algo hash -# $2: known hash -# $3: file (full path) -check_one_hash() { - _h="${1}" - _known="${2}" - _file="${3}" - - # Note: md5 is supported, but undocumented on purpose. - # Note: sha3 is not supported, since there is currently no implementation - # (the NIST has yet to publish the parameters). - # Note: 'none' means there is explicitly no hash for that file. - case "${_h}" in - none) - return 0 - ;; - md5|sha1) ;; - sha224|sha256|sha384|sha512) ;; - *) # Unknown hash, exit with error - printf "ERROR: unknown hash '%s' for '%s'\n" \ - "${_h}" "${base}" >&2 - exit 4 - ;; - esac - - # Do the hashes match? - _hash=$( ${_h}sum "${_file}" |cut -d ' ' -f 1 ) - if [ "${_hash}" = "${_known}" ]; then - printf "%s: OK (%s: %s)\n" "${base}" "${_h}" "${_hash}" - return 0 - fi - - printf "ERROR: %s has wrong %s hash:\n" "${base}" "${_h}" >&2 - printf "ERROR: expected: %s\n" "${_known}" >&2 - printf "ERROR: got : %s\n" "${_hash}" >&2 - printf "ERROR: Incomplete download, or man-in-the-middle (MITM) attack\n" >&2 - - exit 2 -} - -# Do we know one or more hashes for that file? -nb_checks=0 -while read t h f; do - case "${t}" in - ''|'#'*) - # Skip comments and empty lines - continue - ;; - *) - if [ "${f}" = "${base}" ]; then - check_one_hash "${t}" "${h}" "${file}" - : $((nb_checks++)) - fi - ;; - esac -done <"${h_file}" - -if [ ${nb_checks} -eq 0 ]; then - case " ${BR_NO_CHECK_HASH_FOR} " in - *" ${base} "*) - # File explicitly has no hash - exit 0 - ;; - esac - printf "ERROR: No hash found for %s\n" "${base}" >&2 - exit 3 -fi diff --git a/buildroot-2021.05/support/download/dl-wrapper b/buildroot-2021.05/support/download/dl-wrapper deleted file mode 100755 index 3315bd41..00000000 --- a/buildroot-2021.05/support/download/dl-wrapper +++ /dev/null @@ -1,219 +0,0 @@ -#!/usr/bin/env bash - -# This script is a wrapper to the other download backends. -# Its role is to ensure atomicity when saving downloaded files -# back to BR2_DL_DIR, and not clutter BR2_DL_DIR with partial, -# failed downloads. - -# To avoid cluttering BR2_DL_DIR, we download to a trashable -# location, namely in $(BUILD_DIR). -# Then, we move the downloaded file to a temporary file in the -# same directory as the final output file. -# This allows us to finally atomically rename it to its final -# name. -# If anything goes wrong, we just remove all the temporaries -# created so far. - -# We want to catch any unexpected failure, and exit immediately. -set -e - -export BR_BACKEND_DL_GETOPTS=":hc:d:o:n:N:H:ru:qf:e" - -main() { - local OPT OPTARG - local backend output hfile recurse quiet rc - local -a uris - - # Parse our options; anything after '--' is for the backend - while getopts ":c:d:D:o:n:N:H:rf:u:q" OPT; do - case "${OPT}" in - c) cset="${OPTARG}";; - d) dl_dir="${OPTARG}";; - D) old_dl_dir="${OPTARG}";; - o) output="${OPTARG}";; - n) raw_base_name="${OPTARG}";; - N) base_name="${OPTARG}";; - H) hfile="${OPTARG}";; - r) recurse="-r";; - f) filename="${OPTARG}";; - u) uris+=( "${OPTARG}" );; - q) quiet="-q";; - :) error "option '%s' expects a mandatory argument\n" "${OPTARG}";; - \?) error "unknown option '%s'\n" "${OPTARG}";; - esac - done - - # Forget our options, and keep only those for the backend - shift $((OPTIND-1)) - - if [ -z "${output}" ]; then - error "no output specified, use -o\n" - fi - - # Legacy handling: check if the file already exists in the global - # download directory. If it does, hard-link it. If it turns out it - # was an incorrect download, we'd still check it below anyway. - # If we can neither link nor copy, fallback to doing a download. - # NOTE! This is not atomic, is subject to TOCTTOU, but the whole - # dl-wrapper runs under an flock, so we're safe. - if [ ! -e "${output}" -a -e "${old_dl_dir}/${filename}" ]; then - ln "${old_dl_dir}/${filename}" "${output}" || \ - cp "${old_dl_dir}/${filename}" "${output}" || \ - true - fi - - # If the output file already exists and: - # - there's no .hash file: do not download it again and exit promptly - # - matches all its hashes: do not download it again and exit promptly - # - fails at least one of its hashes: force a re-download - # - there's no hash (but a .hash file): consider it a hard error - if [ -e "${output}" ]; then - if support/download/check-hash ${quiet} "${hfile}" "${output}" "${output##*/}"; then - exit 0 - elif [ ${?} -ne 2 ]; then - # Do not remove the file, otherwise it might get re-downloaded - # from a later location (i.e. primary -> upstream -> mirror). - # Do not print a message, check-hash already did. - exit 1 - fi - rm -f "${output}" - warn "Re-downloading '%s'...\n" "${output##*/}" - fi - - # Look through all the uris that we were given to download the package - # source - download_and_check=0 - rc=1 - for uri in "${uris[@]}"; do - backend_urlencode="${uri%%+*}" - backend="${backend_urlencode%|*}" - case "${backend}" in - git|svn|cvs|bzr|file|scp|hg) ;; - *) backend="wget" ;; - esac - uri=${uri#*+} - - urlencode=${backend_urlencode#*|} - # urlencode must be "urlencode" - [ "${urlencode}" != "urlencode" ] && urlencode="" - - # tmpd is a temporary directory in which backends may store - # intermediate by-products of the download. - # tmpf is the file in which the backends should put the downloaded - # content. - # tmpd is located in $(BUILD_DIR), so as not to clutter the (precious) - # $(BR2_DL_DIR) - # We let the backends create tmpf, so they are able to set whatever - # permission bits they want (although we're only really interested in - # the executable bit.) - tmpd="$(mktemp -d "${BUILD_DIR}/.${output##*/}.XXXXXX")" - tmpf="${tmpd}/output" - - # Helpers expect to run in a directory that is *really* trashable, so - # they are free to create whatever files and/or sub-dirs they might need. - # Doing the 'cd' here rather than in all backends is easier. - cd "${tmpd}" - - # If the backend fails, we can just remove the content of the temporary - # directory to remove all the cruft it may have left behind, and try - # the next URI until it succeeds. Once out of URI to try, we need to - # cleanup and exit. - if ! "${OLDPWD}/support/download/${backend}" \ - $([ -n "${urlencode}" ] && printf %s '-e') \ - -c "${cset}" \ - -d "${dl_dir}" \ - -n "${raw_base_name}" \ - -N "${base_name}" \ - -f "${filename}" \ - -u "${uri}" \ - -o "${tmpf}" \ - ${quiet} ${recurse} -- "${@}" - then - # cd back to keep path coherence - cd "${OLDPWD}" - rm -rf "${tmpd}" - continue - fi - - # cd back to free the temp-dir, so we can remove it later - cd "${OLDPWD}" - - # Check if the downloaded file is sane, and matches the stored hashes - # for that file - if support/download/check-hash ${quiet} "${hfile}" "${tmpf}" "${output##*/}"; then - rc=0 - else - if [ ${?} -ne 3 ]; then - rm -rf "${tmpd}" - continue - fi - - # the hash file exists and there was no hash to check the file - # against - rc=1 - fi - download_and_check=1 - break - done - - # We tried every URI possible, none seems to work or to check against the - # available hash. *ABORT MISSION* - if [ "${download_and_check}" -eq 0 ]; then - rm -rf "${tmpd}" - exit 1 - fi - - # tmp_output is in the same directory as the final output, so we can - # later move it atomically. - tmp_output="$(mktemp "${output}.XXXXXX")" - - # 'mktemp' creates files with 'go=-rwx', so the files are not accessible - # to users other than the one doing the download (and root, of course). - # This can be problematic when a shared BR2_DL_DIR is used by different - # users (e.g. on a build server), where all users may write to the shared - # location, since other users would not be allowed to read the files - # another user downloaded. - # So, we restore the 'go' access rights to a more sensible value, while - # still abiding by the current user's umask. We must do that before the - # final 'mv', so just do it now. - # Some backends (cp and scp) may create executable files, so we need to - # carry the executable bit if needed. - [ -x "${tmpf}" ] && new_mode=755 || new_mode=644 - new_mode=$(printf "%04o" $((0${new_mode} & ~0$(umask)))) - chmod ${new_mode} "${tmp_output}" - - # We must *not* unlink tmp_output, otherwise there is a small window - # during which another download process may create the same tmp_output - # name (very, very unlikely; but not impossible.) - # Using 'cp' is not reliable, since 'cp' may unlink the destination file - # if it is unable to open it with O_WRONLY|O_TRUNC; see: - # http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cp.html - # Since the destination filesystem can be anything, it might not support - # O_TRUNC, so 'cp' would unlink it first. - # Use 'cat' and append-redirection '>>' to save to the final location, - # since that is the only way we can be 100% sure of the behaviour. - if ! cat "${tmpf}" >>"${tmp_output}"; then - rm -rf "${tmpd}" "${tmp_output}" - exit 1 - fi - rm -rf "${tmpd}" - - # tmp_output and output are on the same filesystem, so POSIX guarantees - # that 'mv' is atomic, because it then uses rename() that POSIX mandates - # to be atomic, see: - # http://pubs.opengroup.org/onlinepubs/9699919799/functions/rename.html - if ! mv -f "${tmp_output}" "${output}"; then - rm -f "${tmp_output}" - exit 1 - fi - - return ${rc} -} - -trace() { local msg="${1}"; shift; printf "%s: ${msg}" "${my_name}" "${@}"; } -warn() { trace "${@}" >&2; } -errorN() { local ret="${1}"; shift; warn "${@}"; exit ${ret}; } -error() { errorN 1 "${@}"; } - -my_name="${0##*/}" -main "${@}" diff --git a/buildroot-2021.05/support/download/git b/buildroot-2021.05/support/download/git deleted file mode 100755 index 1e690d44..00000000 --- a/buildroot-2021.05/support/download/git +++ /dev/null @@ -1,216 +0,0 @@ -#!/usr/bin/env bash - -# NOTE: if the output of this backend has to change (e.g. we change what gets -# included in the archive (e.g. LFS), or we change the format of the archive -# (e.g. tar options, compression ratio or method)), we MUST update the format -# version in the variable BR_FMT_VERSION_git, in package/pkg-download.mk. - -# We want to catch any unexpected failure, and exit immediately -set -E - -# Download helper for git, to be called from the download wrapper script -# -# Options: -# -q Be quiet. -# -r Clone and archive sub-modules. -# -o FILE Generate archive in FILE. -# -u URI Clone from repository at URI. -# -c CSET Use changeset CSET. -# -n NAME Use basename NAME. -# -# Environment: -# GIT : the git command to call - -. "${0%/*}/helpers" - -# Save our path and options in case we need to call ourselves again -myname="${0}" -declare -a OPTS=("${@}") - -# This function is called when an error occurs. Its job is to attempt a -# clone from scratch (only once!) in case the git tree is borked, or in -# case an unexpected and unsupported situation arises with submodules -# or uncommitted stuff (e.g. if the user manually mucked around in the -# git cache). -_on_error() { - local ret=${?} - - printf "Detected a corrupted git cache.\n" >&2 - if ${BR_GIT_BACKEND_FIRST_FAULT:-false}; then - printf "This is the second time in a row; bailing out\n" >&2 - exit ${ret} - fi - export BR_GIT_BACKEND_FIRST_FAULT=true - - printf "Removing it and starting afresh.\n" >&2 - - popd >/dev/null - rm -rf "${git_cache}" - - exec "${myname}" "${OPTS[@]}" || exit ${ret} -} - -quiet= -recurse=0 -while getopts "${BR_BACKEND_DL_GETOPTS}" OPT; do - case "${OPT}" in - q) quiet=-q; exec >/dev/null;; - r) recurse=1;; - o) output="${OPTARG}";; - u) uri="${OPTARG}";; - c) cset="${OPTARG}";; - d) dl_dir="${OPTARG}";; - n) basename="${OPTARG}";; - :) printf "option '%s' expects a mandatory argument\n" "${OPTARG}"; exit 1;; - \?) printf "unknown option '%s'\n" "${OPTARG}" >&2; exit 1;; - esac -done - -shift $((OPTIND-1)) # Get rid of our options - -# Create and cd into the directory that will contain the local git cache -git_cache="${dl_dir}/git" -mkdir -p "${git_cache}" -pushd "${git_cache}" >/dev/null - -# Any error now should try to recover -trap _on_error ERR - -# Caller needs to single-quote its arguments to prevent them from -# being expanded a second time (in case there are spaces in them) -_git() { - if [ -z "${quiet}" ]; then - printf '%s ' GIT_DIR="${git_cache}/.git" ${GIT} "${@}"; printf '\n' - fi - _plain_git "$@" -} -# Note: please keep command below aligned with what is printed above -_plain_git() { - eval GIT_DIR="${git_cache}/.git" ${GIT} "${@}" -} - -# Create a warning file, that the user should not use the git cache. -# It's ours. Our precious. -cat <<-_EOF_ >"${dl_dir}/git.readme" - IMPORTANT NOTE! - - The git tree located in this directory is for the exclusive use - by Buildroot, which uses it as a local cache to reduce bandwidth - usage. - - Buildroot *will* trash any changes in that tree whenever it needs - to use it. Buildroot may even remove it in case it detects the - repository may have been damaged or corrupted. - - Do *not* work in that directory; your changes will eventually get - lost. Do *not* even use it as a remote, or as the source for new - worktrees; your commits will eventually get lost. -_EOF_ - -# Initialise a repository in the git cache. If the repository already -# existed, this is a noop, unless the repository was broken, in which -# case this magically restores it to working conditions. In the latter -# case, we might be missing blobs, but that's not a problem: we'll -# fetch what we need later anyway. -# -# We can still go through the wrapper, because 'init' does not use the -# path pointed to by GIT_DIR, but really uses the directory passed as -# argument. -_git init . - -# Ensure the repo has an origin (in case a previous run was killed). -if ! _plain_git remote |grep -q -E '^origin$'; then - _git remote add origin "'${uri}'" -fi - -_git remote set-url origin "'${uri}'" - -printf "Fetching all references\n" -_git fetch origin -_git fetch origin -t - -# Try to get the special refs exposed by some forges (pull-requests for -# github, changes for gerrit...). There is no easy way to know whether -# the cset the user passed us is such a special ref or a tag or a sha1 -# or whatever else. We'll eventually fail at checking out that cset, -# below, if there is an issue anyway. Since most of the cset we're gonna -# have to clone are not such special refs, consign the output to oblivion -# so as not to alarm unsuspecting users, but still trace it as a warning. -if ! _git fetch origin "'${cset}:${cset}'" >/dev/null 2>&1; then - printf "Could not fetch special ref '%s'; assuming it is not special.\n" "${cset}" -fi - -# Check that the changeset does exist. If it does not, re-cloning from -# scratch won't help, so we don't want to trash the repository for a -# missing commit. We just exit without going through the ERR trap. -if ! _git rev-parse --quiet --verify "'${cset}^{commit}'" >/dev/null 2>&1; then - printf "Commit '%s' does not exist in this repository.\n" "${cset}" - exit 1 -fi - -# The new cset we want to checkout might have different submodules, or -# have sub-dirs converted to/from a submodule. So we would need to -# deregister _current_ submodules before we checkout. -# -# Using "git submodule deinit --all" would remove all the files for -# all submodules, including the corresponding .git files or directories. -# However, it was only introduced with git-1.8.3, which is too recent -# for some enterprise-grade distros. -# -# So, we fall-back to just removing all submodules directories. We do -# not need to be recursive, as removing a submodule will de-facto remove -# its own submodules. -# -# For recent git versions, the repository for submodules is stored -# inside the repository of the super repository, so the following will -# only remove the working copies of submodules, effectively caching the -# submodules. -# -# For older versions however, the repository is stored in the .git/ of -# the submodule directory, so the following will effectively remove the -# the working copy as well as the repository, which means submodules -# will not be cached for older versions. -# -cmd='printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' -_git submodule --quiet foreach "'${cmd}'" - -# Checkout the required changeset, so that we can update the required -# submodules. -_git checkout -f -q "'${cset}'" - -# Get rid of now-untracked directories (in case a git operation was -# interrupted in a previous run, or to get rid of empty directories -# that were parents of submodules removed above). -_git clean -ffdx - -# Get date of commit to generate a reproducible archive. -# %ci is ISO 8601, so it's fully qualified, with TZ and all. -date="$( _plain_git log -1 --pretty=format:%ci )" - -# There might be submodules, so fetch them. -if [ ${recurse} -eq 1 ]; then - _git submodule update --init --recursive - - # Older versions of git will store the absolute path of the git tree - # in the .git of submodules, while newer versions just use relative - # paths. Detect and fix the older variants to use relative paths, so - # that the archives are reproducible across a wider range of git - # versions. However, we can't do that if git is too old and uses - # full repositories for submodules. - cmd='printf "%s\n" "${path}/"' - for module_dir in $( _plain_git submodule --quiet foreach "'${cmd}'" ); do - [ -f "${module_dir}/.git" ] || continue - relative_dir="$( sed -r -e 's,/+,/,g; s,[^/]+/,../,g' <<<"${module_dir}" )" - sed -r -i -e "s:^gitdir\: $(pwd)/:gitdir\: "${relative_dir}":" "${module_dir}/.git" - done -fi - -popd >/dev/null - -# Generate the archive. -# We do not want the .git dir; we keep other .git files, in case they are the -# only files in their directory. -# The .git dir would generate non reproducible tarballs as it depends on -# the state of the remote server. It also would generate large tarballs -# (gigabytes for some linux trees) when a full clone took place. -mk_tar_gz "${git_cache}" "${basename}" "${date}" "${output}" ".git/*" diff --git a/buildroot-2021.05/support/download/helpers b/buildroot-2021.05/support/download/helpers deleted file mode 100755 index 40d5eea5..00000000 --- a/buildroot-2021.05/support/download/helpers +++ /dev/null @@ -1,76 +0,0 @@ -# Generate a reproducible archive from the content of a directory -# -# $1 : input directory -# $2 : leading component in archive -# $3 : ISO8601 date: YYYY-MM-DDThh:mm:ssZZ -# $4 : output file -# $5... : globs of filenames to exclude from the archive, suitable for -# find's -path option, and relative to the input directory $1 -# -# Notes : -# - the timestamp is internally rounded to the highest entire second -# less than or equal to the timestamp (i.e. any sub-second fractional -# part is ignored) -# - must not be called with CWD as, or below, the input directory -# - some temporary files are created in CWD, and removed at the end -# -# Example: -# $ find /path/to/temp/dir -# /path/to/temp/dir/ -# /path/to/temp/dir/some-file -# /path/to/temp/dir/some-dir/ -# /path/to/temp/dir/some-dir/some-other-file -# -# $ mk_tar_gz /path/to/some/dir \ -# foo_bar-1.2.3 \ -# 1970-01-01T00:00:00Z \ -# /path/to/foo.tar.gz \ -# '.git/*' '.svn/*' -# -# $ tar tzf /path/to/foo.tar.gz -# foo_bar-1.2.3/some-file -# foo_bar-1.2.3/some-dir/some-other-file -# -mk_tar_gz() { - local in_dir="${1}" - local base_dir="${2}" - local date="${3}" - local out="${4}" - shift 4 - local glob tmp pax_options - local -a find_opts - - for glob; do - find_opts+=( -or -path "./${glob#./}" ) - done - - # Drop sub-second precision to play nice with GNU tar's valid_timespec check - date="$(date -d "${date}" -u +%Y-%m-%dT%H:%M:%S+00:00)" - - pax_options="delete=atime,delete=ctime,delete=mtime" - pax_options+=",exthdr.name=%d/PaxHeaders/%f,exthdr.mtime={${date}}" - - tmp="$(mktemp --tmpdir="$(pwd)")" - pushd "${in_dir}" >/dev/null - - # Establish list - find . -not -type d -and -not \( -false "${find_opts[@]}" \) >"${tmp}.list" - # Sort list for reproducibility - LC_ALL=C sort <"${tmp}.list" >"${tmp}.sorted" - - # Create POSIX tarballs, since that's the format the most reproducible - tar cf - --transform="s#^\./#${base_dir}/#S" \ - --numeric-owner --owner=0 --group=0 --mtime="${date}" \ - --format=posix --pax-option="${pax_options}" \ - -T "${tmp}.sorted" >"${tmp}.tar" - - # Compress the archive - gzip -6 -n <"${tmp}.tar" >"${out}" - - rm -f "${tmp}"{.list,.sorted,.tar} - - popd >/dev/null -} - -# Keep this line and the following as last lines in this file. -# vim: ft=bash diff --git a/buildroot-2021.05/support/kconfig/confdata.c b/buildroot-2021.05/support/kconfig/confdata.c deleted file mode 100644 index 892da74f..00000000 --- a/buildroot-2021.05/support/kconfig/confdata.c +++ /dev/null @@ -1,1282 +0,0 @@ -/* - * Copyright (C) 2002 Roman Zippel - * Released under the terms of the GNU GPL v2.0. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "lkc.h" - -struct conf_printer { - void (*print_symbol)(FILE *, struct symbol *, const char *, void *); - void (*print_comment)(FILE *, const char *, void *); -}; - -static void conf_warning(const char *fmt, ...) - __attribute__ ((format (printf, 1, 2))); - -static void conf_message(const char *fmt, ...) - __attribute__ ((format (printf, 1, 2))); - -static const char *conf_filename; -static int conf_lineno, conf_warnings; - -const char conf_defname[] = ".defconfig"; - -static void conf_warning(const char *fmt, ...) -{ - va_list ap; - va_start(ap, fmt); - fprintf(stderr, "%s:%d:warning: ", conf_filename, conf_lineno); - vfprintf(stderr, fmt, ap); - fprintf(stderr, "\n"); - va_end(ap); - conf_warnings++; -} - -static void conf_default_message_callback(const char *fmt, va_list ap) -{ - printf("#\n# "); - vprintf(fmt, ap); - printf("\n#\n"); -} - -static void (*conf_message_callback) (const char *fmt, va_list ap) = - conf_default_message_callback; -void conf_set_message_callback(void (*fn) (const char *fmt, va_list ap)) -{ - conf_message_callback = fn; -} - -static void conf_message(const char *fmt, ...) -{ - va_list ap; - - va_start(ap, fmt); - if (conf_message_callback) - conf_message_callback(fmt, ap); - va_end(ap); -} - -const char *conf_get_configname(void) -{ - char *name = getenv("BR2_CONFIG"); - - return name ? name : ".config"; -} - -const char *conf_get_autoconfig_name(void) -{ - return getenv("KCONFIG_AUTOCONFIG"); -} - -static char *conf_expand_value(const char *in) -{ - struct symbol *sym; - const char *src; - static char res_value[SYMBOL_MAXLENGTH]; - char *dst, name[SYMBOL_MAXLENGTH]; - - res_value[0] = 0; - dst = name; - while ((src = strchr(in, '$'))) { - strncat(res_value, in, src - in); - src++; - dst = name; - while (isalnum(*src) || *src == '_') - *dst++ = *src++; - *dst = 0; - sym = sym_lookup(name, 0); - sym_calc_value(sym); - strcat(res_value, sym_get_string_value(sym)); - in = src; - } - strcat(res_value, in); - - return res_value; -} - -char *conf_get_default_confname(void) -{ - struct stat buf; - static char fullname[PATH_MAX+1]; - char *env, *name; - - name = conf_expand_value(conf_defname); - env = getenv(SRCTREE); - if (env) { - sprintf(fullname, "%s/%s", env, name); - if (!stat(fullname, &buf)) - return fullname; - } - return name; -} - -static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) -{ - char *p2; - - switch (sym->type) { - case S_TRISTATE: - if (p[0] == 'm') { - sym->def[def].tri = mod; - sym->flags |= def_flags; - break; - } - /* fall through */ - case S_BOOLEAN: - if (p[0] == 'y') { - sym->def[def].tri = yes; - sym->flags |= def_flags; - break; - } - if (p[0] == 'n') { - sym->def[def].tri = no; - sym->flags |= def_flags; - break; - } - if (def != S_DEF_AUTO) - conf_warning("symbol value '%s' invalid for %s", - p, sym->name); - return 1; - case S_OTHER: - if (*p != '"') { - for (p2 = p; *p2 && !isspace(*p2); p2++) - ; - sym->type = S_STRING; - goto done; - } - /* fall through */ - case S_STRING: - if (*p++ != '"') - break; - for (p2 = p; (p2 = strpbrk(p2, "\"\\")); p2++) { - if (*p2 == '"') { - *p2 = 0; - break; - } - memmove(p2, p2 + 1, strlen(p2)); - } - if (!p2) { - if (def != S_DEF_AUTO) - conf_warning("invalid string found"); - return 1; - } - /* fall through */ - case S_INT: - case S_HEX: - done: - if (sym_string_valid(sym, p)) { - sym->def[def].val = xstrdup(p); - sym->flags |= def_flags; - } else { - if (def != S_DEF_AUTO) - conf_warning("symbol value '%s' invalid for %s", - p, sym->name); - return 1; - } - break; - default: - ; - } - return 0; -} - -#define LINE_GROWTH 16 -static int add_byte(int c, char **lineptr, size_t slen, size_t *n) -{ - char *nline; - size_t new_size = slen + 1; - if (new_size > *n) { - new_size += LINE_GROWTH - 1; - new_size *= 2; - nline = xrealloc(*lineptr, new_size); - if (!nline) - return -1; - - *lineptr = nline; - *n = new_size; - } - - (*lineptr)[slen] = c; - - return 0; -} - -static ssize_t compat_getline(char **lineptr, size_t *n, FILE *stream) -{ - char *line = *lineptr; - size_t slen = 0; - - for (;;) { - int c = getc(stream); - - switch (c) { - case '\n': - if (add_byte(c, &line, slen, n) < 0) - goto e_out; - slen++; - /* fall through */ - case EOF: - if (add_byte('\0', &line, slen, n) < 0) - goto e_out; - *lineptr = line; - if (slen == 0) - return -1; - return slen; - default: - if (add_byte(c, &line, slen, n) < 0) - goto e_out; - slen++; - } - } - -e_out: - line[slen-1] = '\0'; - *lineptr = line; - return -1; -} - -int conf_read_simple(const char *name, int def) -{ - FILE *in = NULL; - char *line = NULL; - size_t line_asize = 0; - char *p, *p2; - struct symbol *sym; - int i, def_flags; - - if (name) { - in = zconf_fopen(name); - } else { - struct property *prop; - - name = conf_get_configname(); - in = zconf_fopen(name); - if (in) - goto load; - sym_add_change_count(1); - if (!sym_defconfig_list) - return 1; - - for_all_defaults(sym_defconfig_list, prop) { - if (expr_calc_value(prop->visible.expr) == no || - prop->expr->type != E_SYMBOL) - continue; - name = conf_expand_value(prop->expr->left.sym->name); - in = zconf_fopen(name); - if (in) { - conf_message(_("using defaults found in %s"), - name); - goto load; - } - } - } - if (!in) - return 1; - -load: - conf_filename = name; - conf_lineno = 0; - conf_warnings = 0; - - def_flags = SYMBOL_DEF << def; - for_all_symbols(i, sym) { - sym->flags |= SYMBOL_CHANGED; - sym->flags &= ~(def_flags|SYMBOL_VALID); - if (sym_is_choice(sym)) - sym->flags |= def_flags; - switch (sym->type) { - case S_INT: - case S_HEX: - case S_STRING: - if (sym->def[def].val) - free(sym->def[def].val); - /* fall through */ - default: - sym->def[def].val = NULL; - sym->def[def].tri = no; - } - } - - while (compat_getline(&line, &line_asize, in) != -1) { - conf_lineno++; - sym = NULL; - if (line[0] == '#') { - if (memcmp(line + 2, CONFIG_, strlen(CONFIG_))) - continue; - p = strchr(line + 2 + strlen(CONFIG_), ' '); - if (!p) - continue; - *p++ = 0; - if (strncmp(p, "is not set", 10)) - continue; - if (def == S_DEF_USER) { - sym = sym_find(line + 2 + strlen(CONFIG_)); - if (!sym) { - sym_add_change_count(1); - goto setsym; - } - } else { - sym = sym_lookup(line + 2 + strlen(CONFIG_), 0); - if (sym->type == S_UNKNOWN) - sym->type = S_BOOLEAN; - } - if (sym->flags & def_flags) { - conf_warning("override: reassigning to symbol %s", sym->name); - } - switch (sym->type) { - case S_BOOLEAN: - case S_TRISTATE: - sym->def[def].tri = no; - sym->flags |= def_flags; - break; - default: - ; - } - } else if (memcmp(line, CONFIG_, strlen(CONFIG_)) == 0) { - p = strchr(line + strlen(CONFIG_), '='); - if (!p) - continue; - *p++ = 0; - p2 = strchr(p, '\n'); - if (p2) { - *p2-- = 0; - if (*p2 == '\r') - *p2 = 0; - } - if (def == S_DEF_USER) { - sym = sym_find(line + strlen(CONFIG_)); - if (!sym) { - sym_add_change_count(1); - goto setsym; - } - } else { - sym = sym_lookup(line + strlen(CONFIG_), 0); - if (sym->type == S_UNKNOWN) - sym->type = S_OTHER; - } - if (sym->flags & def_flags) { - conf_warning("override: reassigning to symbol %s", sym->name); - } - if (conf_set_sym_val(sym, def, def_flags, p)) - continue; - } else { - if (line[0] != '\r' && line[0] != '\n') - conf_warning("unexpected data: %.*s", - (int)strcspn(line, "\r\n"), line); - - continue; - } -setsym: - if (sym && sym_is_choice_value(sym)) { - struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); - switch (sym->def[def].tri) { - case no: - break; - case mod: - if (cs->def[def].tri == yes) { - conf_warning("%s creates inconsistent choice state", sym->name); - cs->flags &= ~def_flags; - } - break; - case yes: - if (cs->def[def].tri != no) - conf_warning("override: %s changes choice state", sym->name); - cs->def[def].val = sym; - break; - } - cs->def[def].tri = EXPR_OR(cs->def[def].tri, sym->def[def].tri); - } - } - free(line); - fclose(in); - return 0; -} - -int conf_read(const char *name) -{ - struct symbol *sym; - int conf_unsaved = 0; - int i; - - sym_set_change_count(0); - - if (conf_read_simple(name, S_DEF_USER)) { - sym_calc_value(modules_sym); - return 1; - } - - sym_calc_value(modules_sym); - - for_all_symbols(i, sym) { - sym_calc_value(sym); - if (sym_is_choice(sym) || (sym->flags & SYMBOL_AUTO)) - continue; - if (sym_has_value(sym) && (sym->flags & SYMBOL_WRITE)) { - /* check that calculated value agrees with saved value */ - switch (sym->type) { - case S_BOOLEAN: - case S_TRISTATE: - if (sym->def[S_DEF_USER].tri != sym_get_tristate_value(sym)) - break; - if (!sym_is_choice(sym)) - continue; - /* fall through */ - default: - if (!strcmp(sym->curr.val, sym->def[S_DEF_USER].val)) - continue; - break; - } - } else if (!sym_has_value(sym) && !(sym->flags & SYMBOL_WRITE)) - /* no previous value and not saved */ - continue; - conf_unsaved++; - /* maybe print value in verbose mode... */ - } - - for_all_symbols(i, sym) { - if (sym_has_value(sym) && !sym_is_choice_value(sym)) { - /* Reset values of generates values, so they'll appear - * as new, if they should become visible, but that - * doesn't quite work if the Kconfig and the saved - * configuration disagree. - */ - if (sym->visible == no && !conf_unsaved) - sym->flags &= ~SYMBOL_DEF_USER; - switch (sym->type) { - case S_STRING: - case S_INT: - case S_HEX: - /* Reset a string value if it's out of range */ - if (sym_string_within_range(sym, sym->def[S_DEF_USER].val)) - break; - sym->flags &= ~(SYMBOL_VALID|SYMBOL_DEF_USER); - conf_unsaved++; - break; - default: - break; - } - } - } - - sym_add_change_count(conf_warnings || conf_unsaved); - - return 0; -} - -/* - * Kconfig configuration printer - * - * This printer is used when generating the resulting configuration after - * kconfig invocation and `defconfig' files. Unset symbol might be omitted by - * passing a non-NULL argument to the printer. - * - */ -static void -kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) -{ - - switch (sym->type) { - case S_BOOLEAN: - case S_TRISTATE: - if (*value == 'n') { - bool skip_unset = (arg != NULL); - - if (!skip_unset) - fprintf(fp, "# %s%s is not set\n", - CONFIG_, sym->name); - return; - } - break; - default: - break; - } - - fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); -} - -static void -kconfig_print_comment(FILE *fp, const char *value, void *arg) -{ - const char *p = value; - size_t l; - - for (;;) { - l = strcspn(p, "\n"); - fprintf(fp, "#"); - if (l) { - fprintf(fp, " "); - xfwrite(p, l, 1, fp); - p += l; - } - fprintf(fp, "\n"); - if (*p++ == '\0') - break; - } -} - -static struct conf_printer kconfig_printer_cb = -{ - .print_symbol = kconfig_print_symbol, - .print_comment = kconfig_print_comment, -}; - -/* - * Header printer - * - * This printer is used when generating the `include/generated/autoconf.h' file. - */ -static void -header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) -{ - - switch (sym->type) { - case S_BOOLEAN: - case S_TRISTATE: { - const char *suffix = ""; - - switch (*value) { - case 'n': - break; - case 'm': - suffix = "_MODULE"; - /* fall through */ - default: - fprintf(fp, "#define %s%s%s 1\n", - CONFIG_, sym->name, suffix); - } - break; - } - case S_HEX: { - const char *prefix = ""; - - if (value[0] != '0' || (value[1] != 'x' && value[1] != 'X')) - prefix = "0x"; - fprintf(fp, "#define %s%s %s%s\n", - CONFIG_, sym->name, prefix, value); - break; - } - case S_STRING: - case S_INT: - fprintf(fp, "#define %s%s %s\n", - CONFIG_, sym->name, value); - break; - default: - break; - } - -} - -static void -header_print_comment(FILE *fp, const char *value, void *arg) -{ - const char *p = value; - size_t l; - - fprintf(fp, "/*\n"); - for (;;) { - l = strcspn(p, "\n"); - fprintf(fp, " *"); - if (l) { - fprintf(fp, " "); - xfwrite(p, l, 1, fp); - p += l; - } - fprintf(fp, "\n"); - if (*p++ == '\0') - break; - } - fprintf(fp, " */\n"); -} - -static struct conf_printer header_printer_cb = -{ - .print_symbol = header_print_symbol, - .print_comment = header_print_comment, -}; - -/* - * Tristate printer - * - * This printer is used when generating the `include/config/tristate.conf' file. - */ -static void -tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) -{ - - if (sym->type == S_TRISTATE && *value != 'n') - fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value)); -} - -static struct conf_printer tristate_printer_cb = -{ - .print_symbol = tristate_print_symbol, - .print_comment = kconfig_print_comment, -}; - -static void conf_write_symbol(FILE *fp, struct symbol *sym, - struct conf_printer *printer, void *printer_arg) -{ - const char *str; - - switch (sym->type) { - case S_OTHER: - case S_UNKNOWN: - break; - case S_STRING: - str = sym_get_string_value(sym); - str = sym_escape_string_value(str); - printer->print_symbol(fp, sym, str, printer_arg); - free((void *)str); - break; - default: - str = sym_get_string_value(sym); - printer->print_symbol(fp, sym, str, printer_arg); - } -} - -static void -conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg) -{ - char buf[256]; - - snprintf(buf, sizeof(buf), - "\n" - "Automatically generated file; DO NOT EDIT.\n" - "%s\n", - rootmenu.prompt->text); - - printer->print_comment(fp, buf, printer_arg); -} - -/* - * Write out a minimal config. - * All values that has default values are skipped as this is redundant. - */ -int conf_write_defconfig(const char *filename) -{ - struct symbol *sym; - struct menu *menu; - FILE *out; - - out = fopen(filename, "w"); - if (!out) - return 1; - - sym_clear_all_valid(); - - /* Traverse all menus to find all relevant symbols */ - menu = rootmenu.list; - - while (menu != NULL) - { - sym = menu->sym; - if (sym == NULL) { - if (!menu_is_visible(menu)) - goto next_menu; - } else if (!sym_is_choice(sym)) { - sym_calc_value(sym); - if (!(sym->flags & SYMBOL_WRITE)) - goto next_menu; - sym->flags &= ~SYMBOL_WRITE; - /* If we cannot change the symbol - skip */ - if (!sym_is_changable(sym)) - goto next_menu; - /* If symbol equals to default value - skip */ - if (strcmp(sym_get_string_value(sym), sym_get_string_default(sym)) == 0) - goto next_menu; - - /* - * If symbol is a choice value and equals to the - * default for a choice - skip. - * But only if value is bool and equal to "y" and - * choice is not "optional". - * (If choice is "optional" then all values can be "n") - */ - if (sym_is_choice_value(sym)) { - struct symbol *cs; - struct symbol *ds; - - cs = prop_get_symbol(sym_get_choice_prop(sym)); - ds = sym_choice_default(cs); - if (!sym_is_optional(cs) && sym == ds) { - if ((sym->type == S_BOOLEAN) && - sym_get_tristate_value(sym) == yes) - goto next_menu; - } - } - conf_write_symbol(out, sym, &kconfig_printer_cb, NULL); - } -next_menu: - if (menu->list != NULL) { - menu = menu->list; - } - else if (menu->next != NULL) { - menu = menu->next; - } else { - while ((menu = menu->parent)) { - if (menu->next != NULL) { - menu = menu->next; - break; - } - } - } - } - fclose(out); - return 0; -} - -int conf_write(const char *name) -{ - FILE *out; - struct symbol *sym; - struct menu *menu; - const char *basename; - const char *str; - char dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1]; - char *env; - - if (!name) - name = conf_get_configname(); - - dirname[0] = 0; - if (name && name[0]) { - struct stat st; - char *slash; - - if (!stat(name, &st) && S_ISDIR(st.st_mode)) { - strcpy(dirname, name); - strcat(dirname, "/"); - basename = conf_get_configname(); - } else if ((slash = strrchr(name, '/'))) { - int size = slash - name + 1; - memcpy(dirname, name, size); - dirname[size] = 0; - if (slash[1]) - basename = slash + 1; - else - basename = conf_get_configname(); - } else - basename = name; - } else - basename = conf_get_configname(); - - sprintf(newname, "%s%s", dirname, basename); - env = getenv("KCONFIG_OVERWRITECONFIG"); - if (!env || !*env) { - sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); - out = fopen(tmpname, "w"); - } else { - *tmpname = 0; - out = fopen(newname, "w"); - } - if (!out) - return 1; - - conf_write_heading(out, &kconfig_printer_cb, NULL); - - if (!conf_get_changed()) - sym_clear_all_valid(); - - menu = rootmenu.list; - while (menu) { - sym = menu->sym; - if (!sym) { - if (!menu_is_visible(menu)) - goto next; - str = menu_get_prompt(menu); - fprintf(out, "\n" - "#\n" - "# %s\n" - "#\n", str); - } else if (!(sym->flags & SYMBOL_CHOICE)) { - sym_calc_value(sym); - if (!(sym->flags & SYMBOL_WRITE)) - goto next; - sym->flags &= ~SYMBOL_WRITE; - - conf_write_symbol(out, sym, &kconfig_printer_cb, NULL); - } - -next: - if (menu->list) { - menu = menu->list; - continue; - } - if (menu->next) - menu = menu->next; - else while ((menu = menu->parent)) { - if (menu->next) { - menu = menu->next; - break; - } - } - } - fclose(out); - - if (*tmpname) { - strcat(dirname, basename); - strcat(dirname, ".old"); - rename(newname, dirname); - if (rename(tmpname, newname)) - return 1; - } - - conf_message(_("configuration written to %s"), newname); - - sym_set_change_count(0); - - return 0; -} - -static int conf_split_config(void) -{ - const char *name; - char path[PATH_MAX+1]; - char *opwd, *dir, *_name; - char *s, *d, c; - struct symbol *sym; - struct stat sb; - int res, i, fd; - - name = conf_get_autoconfig_name(); - conf_read_simple(name, S_DEF_AUTO); - sym_calc_value(modules_sym); - - opwd = malloc(256); - _name = strdup(name); - if (opwd == NULL || _name == NULL) - return 1; - opwd = getcwd(opwd, 256); - dir = dirname(_name); - if (dir == NULL) { - res = 1; - goto err; - } - if (chdir(dir)) { - res = 1; - goto err; - } - - res = 0; - for_all_symbols(i, sym) { - sym_calc_value(sym); - if ((sym->flags & SYMBOL_AUTO) || !sym->name) - continue; - if (sym->flags & SYMBOL_WRITE) { - if (sym->flags & SYMBOL_DEF_AUTO) { - /* - * symbol has old and new value, - * so compare them... - */ - switch (sym->type) { - case S_BOOLEAN: - case S_TRISTATE: - if (sym_get_tristate_value(sym) == - sym->def[S_DEF_AUTO].tri) - continue; - break; - case S_STRING: - case S_HEX: - case S_INT: - if (!strcmp(sym_get_string_value(sym), - sym->def[S_DEF_AUTO].val)) - continue; - break; - default: - break; - } - } else { - /* - * If there is no old value, only 'no' (unset) - * is allowed as new value. - */ - switch (sym->type) { - case S_BOOLEAN: - case S_TRISTATE: - if (sym_get_tristate_value(sym) == no) - continue; - break; - default: - break; - } - } - } else if (!(sym->flags & SYMBOL_DEF_AUTO)) - /* There is neither an old nor a new value. */ - continue; - /* else - * There is an old value, but no new value ('no' (unset) - * isn't saved in auto.conf, so the old value is always - * different from 'no'). - */ - - /* Replace all '_' and append ".h" */ - s = sym->name; - d = path; - while ((c = *s++)) { - c = tolower(c); - *d++ = (c == '_') ? '/' : c; - } - strcpy(d, ".h"); - - /* Assume directory path already exists. */ - fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); - if (fd == -1) { - if (errno != ENOENT) { - res = 1; - break; - } - /* - * Create directory components, - * unless they exist already. - */ - d = path; - while ((d = strchr(d, '/'))) { - *d = 0; - if (stat(path, &sb) && mkdir(path, 0755)) { - res = 1; - goto out; - } - *d++ = '/'; - } - /* Try it again. */ - fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); - if (fd == -1) { - res = 1; - break; - } - } - close(fd); - } -out: - if (chdir(opwd)) - res = 1; -err: - free(opwd); - free(_name); - return res; -} - -int conf_write_autoconf(void) -{ - struct symbol *sym; - const char *name; - FILE *out, *tristate, *out_h; - int i; - char dir[PATH_MAX+1], buf[PATH_MAX+1]; - char *s; - - strcpy(dir, conf_get_configname()); - s = strrchr(dir, '/'); - if (s) - s[1] = 0; - else - dir[0] = 0; - - sym_clear_all_valid(); - - sprintf(buf, "%s.config.cmd", dir); - file_write_dep(buf); - - if (conf_split_config()) - return 1; - - sprintf(buf, "%s.tmpconfig", dir); - out = fopen(buf, "w"); - if (!out) - return 1; - - sprintf(buf, "%s.tmpconfig_tristate", dir); - tristate = fopen(buf, "w"); - if (!tristate) { - fclose(out); - return 1; - } - - sprintf(buf, "%s.tmpconfig.h", dir); - out_h = fopen(buf, "w"); - if (!out_h) { - fclose(out); - fclose(tristate); - return 1; - } - - conf_write_heading(out, &kconfig_printer_cb, NULL); - - conf_write_heading(tristate, &tristate_printer_cb, NULL); - - conf_write_heading(out_h, &header_printer_cb, NULL); - - for_all_symbols(i, sym) { - sym_calc_value(sym); - if (!(sym->flags & SYMBOL_WRITE) || !sym->name) - continue; - - /* write symbol to auto.conf, tristate and header files */ - conf_write_symbol(out, sym, &kconfig_printer_cb, (void *)1); - - conf_write_symbol(tristate, sym, &tristate_printer_cb, (void *)1); - - conf_write_symbol(out_h, sym, &header_printer_cb, NULL); - } - fclose(out); - fclose(tristate); - fclose(out_h); - - name = getenv("KCONFIG_AUTOHEADER"); - if (!name) - name = "include/generated/autoconf.h"; - sprintf(buf, "%s.tmpconfig.h", dir); - if (rename(buf, name)) - return 1; - name = getenv("KCONFIG_TRISTATE"); - if (!name) - name = "include/config/tristate.conf"; - sprintf(buf, "%s.tmpconfig_tristate", dir); - if (rename(buf, name)) - return 1; - name = conf_get_autoconfig_name(); - /* - * This must be the last step, kbuild has a dependency on auto.conf - * and this marks the successful completion of the previous steps. - */ - sprintf(buf, "%s.tmpconfig", dir); - if (rename(buf, name)) - return 1; - - return 0; -} - -static int sym_change_count; -static void (*conf_changed_callback)(void); - -void sym_set_change_count(int count) -{ - int _sym_change_count = sym_change_count; - sym_change_count = count; - if (conf_changed_callback && - (bool)_sym_change_count != (bool)count) - conf_changed_callback(); -} - -void sym_add_change_count(int count) -{ - sym_set_change_count(count + sym_change_count); -} - -bool conf_get_changed(void) -{ - return sym_change_count; -} - -void conf_set_changed_callback(void (*fn)(void)) -{ - conf_changed_callback = fn; -} - -static bool randomize_choice_values(struct symbol *csym) -{ - struct property *prop; - struct symbol *sym; - struct expr *e; - int cnt, def; - - /* - * If choice is mod then we may have more items selected - * and if no then no-one. - * In both cases stop. - */ - if (csym->curr.tri != yes) - return false; - - prop = sym_get_choice_prop(csym); - - /* count entries in choice block */ - cnt = 0; - expr_list_for_each_sym(prop->expr, e, sym) - cnt++; - - /* - * find a random value and set it to yes, - * set the rest to no so we have only one set - */ - def = (rand() % cnt); - - cnt = 0; - expr_list_for_each_sym(prop->expr, e, sym) { - if (def == cnt++) { - sym->def[S_DEF_USER].tri = yes; - csym->def[S_DEF_USER].val = sym; - } - else { - sym->def[S_DEF_USER].tri = no; - } - sym->flags |= SYMBOL_DEF_USER; - /* clear VALID to get value calculated */ - sym->flags &= ~SYMBOL_VALID; - } - csym->flags |= SYMBOL_DEF_USER; - /* clear VALID to get value calculated */ - csym->flags &= ~(SYMBOL_VALID); - - return true; -} - -void set_all_choice_values(struct symbol *csym) -{ - struct property *prop; - struct symbol *sym; - struct expr *e; - - prop = sym_get_choice_prop(csym); - - /* - * Set all non-assinged choice values to no - */ - expr_list_for_each_sym(prop->expr, e, sym) { - if (!sym_has_value(sym)) - sym->def[S_DEF_USER].tri = no; - } - csym->flags |= SYMBOL_DEF_USER; - /* clear VALID to get value calculated */ - csym->flags &= ~(SYMBOL_VALID | SYMBOL_NEED_SET_CHOICE_VALUES); -} - -bool conf_set_all_new_symbols(enum conf_def_mode mode) -{ - struct symbol *sym, *csym; - int i, cnt, pby, pty, ptm; /* pby: probability of bool = y - * pty: probability of tristate = y - * ptm: probability of tristate = m - */ - - pby = 50; pty = ptm = 33; /* can't go as the default in switch-case - * below, otherwise gcc whines about - * -Wmaybe-uninitialized */ - if (mode == def_random) { - int n, p[3]; - char *env = getenv("KCONFIG_PROBABILITY"); - n = 0; - while( env && *env ) { - char *endp; - int tmp = strtol( env, &endp, 10 ); - if( tmp >= 0 && tmp <= 100 ) { - p[n++] = tmp; - } else { - errno = ERANGE; - perror( "KCONFIG_PROBABILITY" ); - exit( 1 ); - } - env = (*endp == ':') ? endp+1 : endp; - if( n >=3 ) { - break; - } - } - switch( n ) { - case 1: - pby = p[0]; ptm = pby/2; pty = pby-ptm; - break; - case 2: - pty = p[0]; ptm = p[1]; pby = pty + ptm; - break; - case 3: - pby = p[0]; pty = p[1]; ptm = p[2]; - break; - } - - if( pty+ptm > 100 ) { - errno = ERANGE; - perror( "KCONFIG_PROBABILITY" ); - exit( 1 ); - } - } - bool has_changed = false; - - for_all_symbols(i, sym) { - if (sym_has_value(sym) || (sym->flags & SYMBOL_VALID)) - continue; - switch (sym_get_type(sym)) { - case S_BOOLEAN: - case S_TRISTATE: - has_changed = true; - switch (mode) { - case def_yes: - sym->def[S_DEF_USER].tri = yes; - break; - case def_mod: - sym->def[S_DEF_USER].tri = mod; - break; - case def_no: - if (sym->flags & SYMBOL_ALLNOCONFIG_Y) - sym->def[S_DEF_USER].tri = yes; - else - sym->def[S_DEF_USER].tri = no; - break; - case def_random: - sym->def[S_DEF_USER].tri = no; - cnt = rand() % 100; - if (sym->type == S_TRISTATE) { - if (cnt < pty) - sym->def[S_DEF_USER].tri = yes; - else if (cnt < (pty+ptm)) - sym->def[S_DEF_USER].tri = mod; - } else if (cnt < pby) - sym->def[S_DEF_USER].tri = yes; - break; - default: - continue; - } - if (!(sym_is_choice(sym) && mode == def_random)) - sym->flags |= SYMBOL_DEF_USER; - break; - default: - break; - } - - } - - sym_clear_all_valid(); - - /* - * We have different type of choice blocks. - * If curr.tri equals to mod then we can select several - * choice symbols in one block. - * In this case we do nothing. - * If curr.tri equals yes then only one symbol can be - * selected in a choice block and we set it to yes, - * and the rest to no. - */ - if (mode != def_random) { - for_all_symbols(i, csym) { - if ((sym_is_choice(csym) && !sym_has_value(csym)) || - sym_is_choice_value(csym)) - csym->flags |= SYMBOL_NEED_SET_CHOICE_VALUES; - } - } - - for_all_symbols(i, csym) { - if (sym_has_value(csym) || !sym_is_choice(csym)) - continue; - - sym_calc_value(csym); - if (mode == def_random) - has_changed = randomize_choice_values(csym); - else { - set_all_choice_values(csym); - has_changed = true; - } - } - - return has_changed; -} diff --git a/buildroot-2021.05/support/kconfig/util.c b/buildroot-2021.05/support/kconfig/util.c deleted file mode 100644 index 18a8e523..00000000 --- a/buildroot-2021.05/support/kconfig/util.c +++ /dev/null @@ -1,179 +0,0 @@ -/* - * Copyright (C) 2002-2005 Roman Zippel - * Copyright (C) 2002-2005 Sam Ravnborg - * - * Released under the terms of the GNU GPL v2.0. - */ - -#include -#include -#include -#include "lkc.h" - -/* file already present in list? If not add it */ -struct file *file_lookup(const char *name) -{ - struct file *file; - char *file_name = sym_expand_string_value(name); - - for (file = file_list; file; file = file->next) { - if (!strcmp(name, file->name)) { - free(file_name); - return file; - } - } - - file = xmalloc(sizeof(*file)); - memset(file, 0, sizeof(*file)); - file->name = file_name; - file->next = file_list; - file_list = file; - return file; -} - -/* write a dependency file as used by kbuild to track dependencies */ -int file_write_dep(const char *name) -{ - char *str; - char buf[PATH_MAX+1], buf2[PATH_MAX+1], dir[PATH_MAX+1]; - struct symbol *sym, *env_sym; - struct expr *e; - struct file *file; - FILE *out; - - if (!name) - name = ".kconfig.d"; - - strcpy(dir, conf_get_configname()); - str = strrchr(dir, '/'); - if (str) - str[1] = 0; - else - dir[0] = 0; - - sprintf(buf, "%s..config.tmp", dir); - out = fopen(buf, "w"); - if (!out) - return 1; - fprintf(out, "deps_config := \\\n"); - for (file = file_list; file; file = file->next) { - if (file->next) - fprintf(out, "\t%s \\\n", file->name); - else - fprintf(out, "\t%s\n", file->name); - } - fprintf(out, "\n%s: \\\n" - "\t$(deps_config)\n\n", conf_get_autoconfig_name()); - - expr_list_for_each_sym(sym_env_list, e, sym) { - struct property *prop; - const char *value; - - prop = sym_get_env_prop(sym); - env_sym = prop_get_symbol(prop); - if (!env_sym) - continue; - value = getenv(env_sym->name); - if (!value) - value = ""; - fprintf(out, "ifneq \"$(%s)\" \"%s\"\n", env_sym->name, value); - fprintf(out, "%s: FORCE\n", conf_get_autoconfig_name()); - fprintf(out, "endif\n"); - } - - fprintf(out, "\n$(deps_config): ;\n"); - fclose(out); - sprintf(buf2, "%s%s", dir, name); - rename(buf, buf2); - return 0; -} - - -/* Allocate initial growable string */ -struct gstr str_new(void) -{ - struct gstr gs; - gs.s = xmalloc(sizeof(char) * 64); - gs.len = 64; - gs.max_width = 0; - strcpy(gs.s, "\0"); - return gs; -} - -/* Free storage for growable string */ -void str_free(struct gstr *gs) -{ - if (gs->s) - free(gs->s); - gs->s = NULL; - gs->len = 0; -} - -/* Append to growable string */ -void str_append(struct gstr *gs, const char *s) -{ - size_t l; - if (s) { - l = strlen(gs->s) + strlen(s) + 1; - if (l > gs->len) { - gs->s = xrealloc(gs->s, l); - gs->len = l; - } - strcat(gs->s, s); - } -} - -/* Append printf formatted string to growable string */ -void str_printf(struct gstr *gs, const char *fmt, ...) -{ - va_list ap; - char s[10000]; /* big enough... */ - va_start(ap, fmt); - vsnprintf(s, sizeof(s), fmt, ap); - str_append(gs, s); - va_end(ap); -} - -/* Retrieve value of growable string */ -const char *str_get(struct gstr *gs) -{ - return gs->s; -} - -void *xmalloc(size_t size) -{ - void *p = malloc(size); - if (p) - return p; - fprintf(stderr, "Out of memory.\n"); - exit(1); -} - -void *xcalloc(size_t nmemb, size_t size) -{ - void *p = calloc(nmemb, size); - if (p) - return p; - fprintf(stderr, "Out of memory.\n"); - exit(1); -} - -void *xrealloc(void *p, size_t size) -{ - p = realloc(p, size); - if (p) - return p; - fprintf(stderr, "Out of memory.\n"); - exit(1); -} - -char *xstrdup(const char *s) -{ - char *p; - - p = strdup(s); - if (p) - return p; - fprintf(stderr, "Out of memory.\n"); - exit(1); -} diff --git a/buildroot-2021.05/support/misc/Vagrantfile b/buildroot-2021.05/support/misc/Vagrantfile deleted file mode 100644 index 84803ed2..00000000 --- a/buildroot-2021.05/support/misc/Vagrantfile +++ /dev/null @@ -1,60 +0,0 @@ -################################################################################ -# -# Vagrantfile -# -################################################################################ - -# Buildroot version to use -RELEASE='2021.05' - -### Change here for more memory/cores ### -VM_MEMORY=2048 -VM_CORES=1 - -Vagrant.configure('2') do |config| - config.vm.box = 'ubuntu/bionic64' - - config.vm.provider :vmware_fusion do |v, override| - v.vmx['memsize'] = VM_MEMORY - v.vmx['numvcpus'] = VM_CORES - end - - config.vm.provider :virtualbox do |v, override| - v.memory = VM_MEMORY - v.cpus = VM_CORES - - required_plugins = %w( vagrant-vbguest ) - required_plugins.each do |plugin| - system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin - end - end - - config.vm.provision 'shell' do |s| - s.inline = 'echo Setting up machine name' - - config.vm.provider :vmware_fusion do |v, override| - v.vmx['displayname'] = "Buildroot #{RELEASE}" - end - - config.vm.provider :virtualbox do |v, override| - v.name = "Buildroot #{RELEASE}" - end - end - - config.vm.provision 'shell', privileged: true, inline: - "sed -i 's|deb http://us.archive.ubuntu.com/ubuntu/|deb mirror://mirrors.ubuntu.com/mirrors.txt|g' /etc/apt/sources.list - dpkg --add-architecture i386 - apt-get -q update - apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine - apt-get -q -y install build-essential libncurses5-dev \ - git bzr cvs mercurial subversion libc6:i386 unzip bc - apt-get -q -y autoremove - apt-get -q -y clean - update-locale LC_ALL=C" - - config.vm.provision 'shell', privileged: false, inline: - "echo 'Downloading and extracting buildroot #{RELEASE}' - wget -q -c http://buildroot.org/downloads/buildroot-#{RELEASE}.tar.gz - tar axf buildroot-#{RELEASE}.tar.gz" - -end diff --git a/buildroot-2021.05/support/misc/gitlab-ci.yml.in b/buildroot-2021.05/support/misc/gitlab-ci.yml.in deleted file mode 100644 index fcfff5c6..00000000 --- a/buildroot-2021.05/support/misc/gitlab-ci.yml.in +++ /dev/null @@ -1,78 +0,0 @@ -.check-DEVELOPERS_base: - # get-developers should print just "No action specified"; if it prints - # anything else, it's a parse error. - # The initial ! is removed by YAML so we need to quote it. - script: - - "! utils/get-developers | grep -v 'No action specified'" - -.check-flake8_base: - script: - - make check-flake8 - -.check-package_base: - script: - - make check-package - -.defconfig_check: - before_script: - - DEFCONFIG_NAME=$(echo ${CI_JOB_NAME} | sed -e 's,_check$,,g') - script: - - echo "Configure Buildroot for ${DEFCONFIG_NAME}" - - make ${DEFCONFIG_NAME} - - support/scripts/check-dotconfig.py .config configs/${DEFCONFIG_NAME} - artifacts: - when: on_failure - expire_in: 2 weeks - paths: - - .config - -.defconfig_base: - before_script: - - DEFCONFIG_NAME=${CI_JOB_NAME} - script: - - echo "Configure Buildroot for ${DEFCONFIG_NAME}" - - make ${DEFCONFIG_NAME} - - ./support/scripts/check-dotconfig.py .config ./configs/${DEFCONFIG_NAME} - - echo 'Build buildroot' - - | - make > >(tee build.log |grep '>>>') 2>&1 || { - echo 'Failed build last output' - tail -200 build.log - exit 1 - } - - | - ./support/scripts/boot-qemu-image.py "${DEFCONFIG_NAME}" > >(tee runtime-test.log) 2>&1 || { - echo 'Failed runtime test last output' - tail -200 runtime-test.log - exit 1 - } - artifacts: - when: always - expire_in: 2 weeks - paths: - - .config - - build.log - - output/images/ - - output/build/build-time.log - - output/build/packages-file-list.txt - - output/build/*/.config - - runtime-test.log - -.runtime_test_base: - before_script: - - TEST_CASE_NAME=${CI_JOB_NAME} - # Keep build directories so the rootfs can be an artifact of the job. The - # runner will clean up those files for us. - # Multiply every emulator timeout by 10 to avoid sporadic failures in - # elastic runners. - script: - - echo "Starting runtime test ${TEST_CASE_NAME}" - - ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${TEST_CASE_NAME} - artifacts: - when: always - expire_in: 2 weeks - paths: - - test-output/*.log - - test-output/*/.config - - test-output/*/images/* - diff --git a/buildroot-2021.05/support/misc/relocate-sdk.sh b/buildroot-2021.05/support/misc/relocate-sdk.sh deleted file mode 100755 index caabeaa6..00000000 --- a/buildroot-2021.05/support/misc/relocate-sdk.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh -# -if [ "$#" -ne 0 ]; then - echo "Run this script to relocate the buildroot SDK at that location" - exit 1 -fi - -LOCFILE="share/buildroot/sdk-location" -FILEPATH="$(readlink -f "$0")" -NEWPATH="$(dirname "${FILEPATH}")" - -cd "${NEWPATH}" -if [ ! -r "${LOCFILE}" ]; then - echo "Previous location of the buildroot SDK not found!" - exit 1 -fi -OLDPATH="$(cat "${LOCFILE}")" - -if [ "${NEWPATH}" = "${OLDPATH}" ]; then - echo "This buildroot SDK has already been relocated!" - exit 0 -fi - -# Check if the path substitution does work properly, e.g. a tree -# "/a/b/c" copied into "/a/b/c/a/b/c/" would not be allowed. -newpath="$(sed -e "s|${OLDPATH}|${NEWPATH}|g" "${LOCFILE}")" -if [ "${NEWPATH}" != "${newpath}" ]; then - echo "Something went wrong with substituting the path!" - echo "Please choose another location for your SDK!" - exit 1 -fi - -echo "Relocating the buildroot SDK from ${OLDPATH} to ${NEWPATH} ..." - -# Make sure file uses the right language -export LC_ALL=C -# Replace the old path with the new one in all text files -grep -lr "${OLDPATH}" . | while read -r FILE ; do - if file -b --mime-type "${FILE}" | grep -q '^text/' && [ "${FILE}" != "${LOCFILE}" ] - then - sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" - fi -done - -# At the very end, we update the location file to not break the -# SDK if this script gets interruted. -sed -i "s|${OLDPATH}|${NEWPATH}|g" ${LOCFILE} diff --git a/buildroot-2021.05/support/misc/utils.mk b/buildroot-2021.05/support/misc/utils.mk deleted file mode 100644 index dc60cad9..00000000 --- a/buildroot-2021.05/support/misc/utils.mk +++ /dev/null @@ -1,137 +0,0 @@ -################################################################################ -# -# This file contains various utility macros and variables used about -# everywhere in make constructs. -# -################################################################################ - -# Strip quotes and then whitespaces -qstrip = $(strip $(subst ",,$(1))) -#")) - -# Variables for use in Make constructs -comma := , -empty := -space := $(empty) $(empty) - -# make 4.3: -# https://lwn.net/Articles/810071/ -# Number signs (#) appearing inside a macro reference or function invocation -# no longer introduce comments and should not be escaped with backslashes: -# thus a call such as: -# foo := $(shell echo '#') -# is legal. Previously the number sign needed to be escaped, for example: -# foo := $(shell echo '\#') -# Now this latter will resolve to "\#". If you want to write makefiles -# portable to both versions, assign the number sign to a variable: -# H := \# -# foo := $(shell echo '$H') -SHARP_SIGN := \# - -# Case conversion macros. This is inspired by the 'up' macro from gmsl -# (http://gmsl.sf.net). It is optimised very heavily because these macros -# are used a lot. It is about 5 times faster than forking a shell and tr. -# -# The caseconvert-helper creates a definition of the case conversion macro. -# After expansion by the outer $(eval ), the UPPERCASE macro is defined as: -# $(strip $(eval __tmp := $(1)) $(eval __tmp := $(subst a,A,$(__tmp))) ... ) -# In other words, every letter is substituted one by one. -# -# The caseconvert-helper allows us to create this definition out of the -# [FROM] and [TO] lists, so we don't need to write down every substition -# manually. The uses of $ and $$ quoting are chosen in order to do as -# much expansion as possible up-front. -# -# Note that it would be possible to conceive a slightly more optimal -# implementation that avoids the use of __tmp, but that would be even -# more unreadable and is not worth the effort. - -[FROM] := a b c d e f g h i j k l m n o p q r s t u v w x y z - . -[TO] := A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ _ - -define caseconvert-helper -$(1) = $$(strip \ - $$(eval __tmp := $$(1))\ - $(foreach c, $(2),\ - $$(eval __tmp := $$(subst $(word 1,$(subst :, ,$c)),$(word 2,$(subst :, ,$c)),$$(__tmp))))\ - $$(__tmp)) -endef - -$(eval $(call caseconvert-helper,UPPERCASE,$(join $(addsuffix :,$([FROM])),$([TO])))) -$(eval $(call caseconvert-helper,LOWERCASE,$(join $(addsuffix :,$([TO])),$([FROM])))) - -# Reverse the orders of words in a list. Again, inspired by the gmsl -# 'reverse' macro. -reverse = $(if $(1),$(call reverse,$(wordlist 2,$(words $(1)),$(1))) $(firstword $(1))) - -# Sanitize macro cleans up generic strings so it can be used as a filename -# and in rules. Particularly useful for VCS version strings, that can contain -# slashes, colons (OK in filenames but not in rules), and spaces. -sanitize = $(subst $(space),_,$(subst :,_,$(subst /,_,$(strip $(1))))) - -# MESSAGE Macro -- display a message in bold type -MESSAGE = echo "$(TERM_BOLD)>>> $($(PKG)_NAME) $($(PKG)_VERSION) $(call qstrip,$(1))$(TERM_RESET)" -TERM_BOLD := $(shell tput smso 2>/dev/null) -TERM_RESET := $(shell tput rmso 2>/dev/null) - -# Utility functions for 'find' -# findfileclauses(filelist) => -name 'X' -o -name 'Y' -findfileclauses = $(call notfirstword,$(patsubst %,-o -name '%',$(1))) -# finddirclauses(base, dirlist) => -path 'base/dirX' -o -path 'base/dirY' -finddirclauses = $(call notfirstword,$(patsubst %,-o -path '$(1)/%',$(2))) - -# Miscellaneous utility functions -# notfirstword(wordlist): returns all but the first word in wordlist -notfirstword = $(wordlist 2,$(words $(1)),$(1)) - -# build a comma-separated list of quoted items, from a space-separated -# list of unquoted items: a b c d --> "a", "b", "c", "d" -make-comma-list = $(subst $(space),$(comma)$(space),$(patsubst %,"%",$(strip $(1)))) - -# build a comma-separated list of single quoted items, from a space-separated -# list of unquoted items: a b c d --> 'a', 'b', 'c', 'd' -make-sq-comma-list = $(subst $(space),$(comma)$(space),$(patsubst %,'%',$(strip $(1)))) - -# Needed for the foreach loops to loop over the list of hooks, so that -# each hook call is properly separated by a newline. -define sep - - -endef - -PERCENT = % -QUOTE = ' -# ' # Meh... syntax-highlighting - -# This macro properly escapes a command string, then prints it with printf: -# -# - first, backslash '\' are self-escaped, so that they do not escape -# the following char and so that printf properly outputs a backslash; -# -# - next, single quotes are escaped by closing an existing one, adding -# an escaped one, and re-openning a new one (see below for the reason); -# -# - then '%' signs are self-escaped so that the printf does not interpret -# them as a format specifier, in case the variable contains an actual -# printf with a format; -# -# - finally, $(sep) is replaced with the literal '\n' so that make does -# not break on the so-expanded variable, but so that the printf does -# correctly output an LF. -# -# Note: this must be escaped in this order to avoid over-escaping the -# previously escaped elements. -# -# Once everything has been escaped, it is passed between single quotes -# (that's why the single-quotes are escaped they way they are, above, -# and why the dollar sign is not escaped) to printf(1). A trailing -# newline is apended, too. -# -# Note: leading or trailing spaces are *not* stripped. -# -define PRINTF - printf '$(subst $(sep),\n,\ - $(subst $(PERCENT),$(PERCENT)$(PERCENT),\ - $(subst $(QUOTE),$(QUOTE)\$(QUOTE)$(QUOTE),\ - $(subst \,\\,$(1)))))\n' -endef diff --git a/buildroot-2021.05/support/scripts/apply-patches.sh b/buildroot-2021.05/support/scripts/apply-patches.sh deleted file mode 100755 index 9fb488c5..00000000 --- a/buildroot-2021.05/support/scripts/apply-patches.sh +++ /dev/null @@ -1,170 +0,0 @@ -#!/usr/bin/env bash -# A little script I whipped up to make it easy to -# patch source trees and have sane error handling -# -Erik -# -# (c) 2002 Erik Andersen -# -# Parameters: -# - "-s", optional. Silent operation, don't print anything if there -# isn't any error. -# - the build directory, optional, default value is '.'. The place where are -# the package sources. -# - the patch directory, optional, default '../kernel-patches'. The place -# where are the scripts you want to apply. -# - other parameters are the patch name patterns, optional, default value is -# '*'. Pattern(s) describing the patch names you want to apply. -# -# The script will look recursively for patches from the patch directory. If a -# file named 'series' exists then the patches mentioned in it will be applied -# as plain patches, regardless of their file name. If no 'series' file exists, -# the script will look for file names matching pattern(s). If the name -# ends with '.tar.*', '.tbz2' or '.tgz', the file is considered as an archive -# and will be uncompressed into a directory named -# '.patches-name_of_the_archive-unpacked'. It's the turn of this directory to -# be scanned with '*' as pattern. Remember that scanning is recursive. Other -# files than series file and archives are considered as a patch. -# -# Once a patch is found, the script will try to apply it. If its name doesn't -# end with '.gz', '.bz', '.bz2', '.xz', '.zip', '.Z', '.diff*' or '.patch*', -# it will be skipped. If necessary, the patch will be uncompressed before being -# applied. The list of the patches applied is stored in '.applied_patches_list' -# file in the build directory. - -set -e - -silent= -if [ "$1" = "-s" ] ; then - # add option to be used by the patch tool - silent=-s - shift -fi - -# Set directories from arguments, or use defaults. -builddir=${1-.} -patchdir=${2-../kernel-patches} -shift 2 -patchpattern=${@-*} - -# use a well defined sorting order -export LC_COLLATE=C - -if [ ! -d "${builddir}" ] ; then - echo "Aborting. '${builddir}' is not a directory." - exit 1 -fi -if [ ! -d "${patchdir}" ] ; then - echo "Aborting. '${patchdir}' is not a directory." - exit 1 -fi - -# Remove any rejects present BEFORE patching - Because if there are -# any, even if patches are well applied, at the end it will complain -# about rejects in builddir. -find ${builddir}/ '(' -name '*.rej' -o -name '.*.rej' ')' -print0 | \ - xargs -0 -r rm -f - -function apply_patch { - path="${1%%/}" - patch="${2}" - case "${path}" in - /*) ;; - *) path="$PWD/${path}";; - esac - if [ "$3" ]; then - type="series"; uncomp="cat" - else - case "$patch" in - *.gz) - type="gzip"; uncomp="gunzip -dc"; ;; - *.bz) - type="bzip"; uncomp="bunzip -dc"; ;; - *.bz2) - type="bzip2"; uncomp="bunzip2 -dc"; ;; - *.xz) - type="xz"; uncomp="unxz -dc"; ;; - *.zip) - type="zip"; uncomp="unzip -d"; ;; - *.Z) - type="compress"; uncomp="uncompress -c"; ;; - *.diff*) - type="diff"; uncomp="cat"; ;; - *.patch*) - type="patch"; uncomp="cat"; ;; - *) - echo "Unsupported file type for ${path}/${patch}, skipping"; - return 0 - ;; - esac - fi - if [ -z "$silent" ] ; then - echo "" - echo "Applying $patch using ${type}: " - fi - if [ ! -e "${path}/$patch" ] ; then - echo "Error: missing patch file ${path}/$patch" - exit 1 - fi - existing="$(grep -E "/${patch}\$" ${builddir}/.applied_patches_list || true)" - if [ -n "${existing}" ]; then - echo "Error: duplicate filename '${patch}'" - echo "Conflicting files are:" - echo " already applied: ${existing}" - echo " to be applied : ${path}/${patch}" - exit 1 - fi - if ${uncomp} "${path}/$patch" | grep -q "^rename from" && \ - ${uncomp} "${path}/$patch" | grep -q "^rename to" ; then - echo "Error: patch contains some renames, not supported by old patch versions" - exit 1 - fi - echo "${path}/${patch}" >> ${builddir}/.applied_patches_list - ${uncomp} "${path}/$patch" | patch -g0 -p1 -E --no-backup-if-mismatch -d "${builddir}" -t -N $silent - if [ $? != 0 ] ; then - echo "Patch failed! Please fix ${patch}!" - exit 1 - fi -} - -function scan_patchdir { - local path=$1 - shift 1 - patches=${@-*} - - # If there is a series file, use it instead of using ls sort order - # to apply patches. Skip line starting with a dash. - if [ -e "${path}/series" ] ; then - # The format of a series file accepts a second field that is - # used to specify the number of directory components to strip - # when applying the patch, in the form -pN (N an integer >= 0) - # We assume this field to always be -p1 whether it is present - # or missing. - series_patches="`grep -Ev "^#" ${path}/series | cut -d ' ' -f1 2> /dev/null`" - for i in $series_patches; do - apply_patch "$path" "$i" series - done - else - for i in `cd $path; ls -d $patches 2> /dev/null` ; do - if [ -d "${path}/$i" ] ; then - scan_patchdir "${path}/$i" - elif echo "$i" | grep -q -E "\.tar(\..*)?$|\.tbz2?$|\.tgz$" ; then - unpackedarchivedir="$builddir/.patches-$(basename $i)-unpacked" - rm -rf "$unpackedarchivedir" 2> /dev/null - mkdir "$unpackedarchivedir" - tar -C "$unpackedarchivedir" -xaf "${path}/$i" - scan_patchdir "$unpackedarchivedir" - else - apply_patch "$path" "$i" - fi - done - fi -} - -touch ${builddir}/.applied_patches_list -scan_patchdir "$patchdir" "$patchpattern" - -# Check for rejects... -if [ "`find $builddir/ '(' -name '*.rej' -o -name '.*.rej' ')' -print`" ] ; then - echo "Aborting. Reject files found." - exit 1 -fi diff --git a/buildroot-2021.05/support/scripts/boot-qemu-image.py b/buildroot-2021.05/support/scripts/boot-qemu-image.py deleted file mode 100755 index 0d4ad825..00000000 --- a/buildroot-2021.05/support/scripts/boot-qemu-image.py +++ /dev/null @@ -1,84 +0,0 @@ -#!/usr/bin/env python3 - -# This script expect to run from the Buildroot top directory. - -import os -import pexpect -import sys -import time - - -def main(): - if not (len(sys.argv) == 2): - print("Error: incorrect number of arguments") - print("""Usage: boot-qemu-image.py """) - sys.exit(1) - - # Ignore non Qemu defconfig - if not sys.argv[1].startswith('qemu_'): - sys.exit(0) - - if not os.path.exists('output/images/start-qemu.sh'): - print('qemu-start.sh is missing, cannot test.') - sys.exit(0) - - qemu_start = os.path.join(os.getcwd(), 'output/images/start-qemu.sh') - - child = pexpect.spawn(qemu_start, ['serial-only'], - timeout=5, encoding='utf-8', - env={"QEMU_AUDIO_DRV": "none"}) - - # We want only stdout into the log to avoid double echo - child.logfile = sys.stdout - - # Let the spawn actually try to fork+exec to the wrapper, and then - # let the wrapper exec the qemu process. - time.sleep(1) - - try: - child.expect(["buildroot login:"], timeout=60) - except pexpect.EOF as e: - # Some emulations require a fork of qemu-system, which may be - # missing on the system, and is not provided by Buildroot. - # In this case, spawn above will succeed at starting the wrapper - # start-qemu.sh, but that one will fail (exit with 127) in such - # a situation. - exit = [int(l.split(' ')[1]) - for l in e.value.splitlines() - if l.startswith('exitstatus: ')] - if len(exit) and exit[0] == 127: - print('qemu-start.sh could not find the qemu binary') - sys.exit(0) - print("Connection problem, exiting.") - sys.exit(1) - except pexpect.TIMEOUT: - print("System did not boot in time, exiting.") - sys.exit(1) - - child.sendline("root\r") - - try: - child.expect(["# "], timeout=60) - except pexpect.EOF: - print("Cannot connect to shell") - sys.exit(1) - except pexpect.TIMEOUT: - print("Timeout while waiting for shell") - sys.exit(1) - - child.sendline("poweroff\r") - - try: - child.expect(["System halted"], timeout=60) - child.expect(pexpect.EOF) - except pexpect.EOF: - pass - except pexpect.TIMEOUT: - # Qemu may not exit properly after "System halted", ignore. - print("Cannot halt machine") - - sys.exit(0) - - -if __name__ == "__main__": - main() diff --git a/buildroot-2021.05/support/scripts/check-dotconfig.py b/buildroot-2021.05/support/scripts/check-dotconfig.py deleted file mode 100755 index f9a416b7..00000000 --- a/buildroot-2021.05/support/scripts/check-dotconfig.py +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/env python3 - -# This scripts check that all lines present in the defconfig are -# still present in the .config - -import sys - - -def main(): - if not (len(sys.argv) == 3): - print("Error: incorrect number of arguments") - print("""Usage: check-dotconfig """) - sys.exit(1) - - configfile = sys.argv[1] - defconfig = sys.argv[2] - - # strip() to get rid of trailing \n - with open(configfile) as configf: - configlines = [l.strip() for l in configf.readlines()] - - defconfiglines = [] - with open(defconfig) as defconfigf: - # strip() to get rid of trailing \n - for line in (line.strip() for line in defconfigf.readlines()): - if line.startswith("BR2_"): - defconfiglines.append(line) - elif line.startswith('# BR2_') and line.endswith(' is not set'): - defconfiglines.append(line) - - # Check that all the defconfig lines are still present - missing = [line for line in defconfiglines if line not in configlines] - - if missing: - print("WARN: defconfig {} can't be used:".format(defconfig)) - for m in missing: - print(" Missing: {}".format(m)) - sys.exit(1) - - -if __name__ == "__main__": - main() diff --git a/buildroot-2021.05/support/scripts/cve.py b/buildroot-2021.05/support/scripts/cve.py deleted file mode 100755 index 13c29fab..00000000 --- a/buildroot-2021.05/support/scripts/cve.py +++ /dev/null @@ -1,273 +0,0 @@ -#!/usr/bin/env python - -# Copyright (C) 2009 by Thomas Petazzoni -# Copyright (C) 2020 by Gregory CLEMENT -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -import datetime -import os -import requests # URL checking -import distutils.version -import time -import gzip -import sys -import operator - -try: - import ijson - # backend is a module in < 2.5, a string in >= 2.5 - if 'python' in getattr(ijson.backend, '__name__', ijson.backend): - try: - import ijson.backends.yajl2_cffi as ijson - except ImportError: - sys.stderr.write('Warning: Using slow ijson python backend\n') -except ImportError: - sys.stderr.write("You need ijson to parse NVD for CVE check\n") - exit(1) - -sys.path.append('utils/') - -NVD_START_YEAR = 2002 -NVD_JSON_VERSION = "1.1" -NVD_BASE_URL = "https://nvd.nist.gov/feeds/json/cve/" + NVD_JSON_VERSION - -ops = { - '>=': operator.ge, - '>': operator.gt, - '<=': operator.le, - '<': operator.lt, - '=': operator.eq -} - - -# Check if two CPE IDs match each other -def cpe_matches(cpe1, cpe2): - cpe1_elems = cpe1.split(":") - cpe2_elems = cpe2.split(":") - - remains = filter(lambda x: x[0] not in ["*", "-"] and x[1] not in ["*", "-"] and x[0] != x[1], - zip(cpe1_elems, cpe2_elems)) - return len(list(remains)) == 0 - - -def cpe_product(cpe): - return cpe.split(':')[4] - - -def cpe_version(cpe): - return cpe.split(':')[5] - - -class CVE: - """An accessor class for CVE Items in NVD files""" - CVE_AFFECTS = 1 - CVE_DOESNT_AFFECT = 2 - CVE_UNKNOWN = 3 - - def __init__(self, nvd_cve): - """Initialize a CVE from its NVD JSON representation""" - self.nvd_cve = nvd_cve - - @staticmethod - def download_nvd_year(nvd_path, year): - metaf = "nvdcve-%s-%s.meta" % (NVD_JSON_VERSION, year) - path_metaf = os.path.join(nvd_path, metaf) - jsonf_gz = "nvdcve-%s-%s.json.gz" % (NVD_JSON_VERSION, year) - path_jsonf_gz = os.path.join(nvd_path, jsonf_gz) - - # If the database file is less than a day old, we assume the NVD data - # locally available is recent enough. - if os.path.exists(path_jsonf_gz) and os.stat(path_jsonf_gz).st_mtime >= time.time() - 86400: - return path_jsonf_gz - - # If not, we download the meta file - url = "%s/%s" % (NVD_BASE_URL, metaf) - print("Getting %s" % url) - page_meta = requests.get(url) - page_meta.raise_for_status() - - # If the meta file already existed, we compare the existing - # one with the data newly downloaded. If they are different, - # we need to re-download the database. - # If the database does not exist locally, we need to redownload it in - # any case. - if os.path.exists(path_metaf) and os.path.exists(path_jsonf_gz): - meta_known = open(path_metaf, "r").read() - if page_meta.text == meta_known: - return path_jsonf_gz - - # Grab the compressed JSON NVD, and write files to disk - url = "%s/%s" % (NVD_BASE_URL, jsonf_gz) - print("Getting %s" % url) - page_json = requests.get(url) - page_json.raise_for_status() - open(path_jsonf_gz, "wb").write(page_json.content) - open(path_metaf, "w").write(page_meta.text) - return path_jsonf_gz - - @classmethod - def read_nvd_dir(cls, nvd_dir): - """ - Iterate over all the CVEs contained in NIST Vulnerability Database - feeds since NVD_START_YEAR. If the files are missing or outdated in - nvd_dir, a fresh copy will be downloaded, and kept in .json.gz - """ - for year in range(NVD_START_YEAR, datetime.datetime.now().year + 1): - filename = CVE.download_nvd_year(nvd_dir, year) - try: - content = ijson.items(gzip.GzipFile(filename), 'CVE_Items.item') - except: # noqa: E722 - print("ERROR: cannot read %s. Please remove the file then rerun this script" % filename) - raise - for cve in content: - yield cls(cve) - - def each_product(self): - """Iterate over each product section of this cve""" - for vendor in self.nvd_cve['cve']['affects']['vendor']['vendor_data']: - for product in vendor['product']['product_data']: - yield product - - def parse_node(self, node): - """ - Parse the node inside the configurations section to extract the - cpe information usefull to know if a product is affected by - the CVE. Actually only the product name and the version - descriptor are needed, but we also provide the vendor name. - """ - - # The node containing the cpe entries matching the CVE can also - # contain sub-nodes, so we need to manage it. - for child in node.get('children', ()): - for parsed_node in self.parse_node(child): - yield parsed_node - - for cpe in node.get('cpe_match', ()): - if not cpe['vulnerable']: - return - product = cpe_product(cpe['cpe23Uri']) - version = cpe_version(cpe['cpe23Uri']) - # ignore when product is '-', which means N/A - if product == '-': - return - op_start = '' - op_end = '' - v_start = '' - v_end = '' - - if version != '*' and version != '-': - # Version is defined, this is a '=' match - op_start = '=' - v_start = version - else: - # Parse start version, end version and operators - if 'versionStartIncluding' in cpe: - op_start = '>=' - v_start = cpe['versionStartIncluding'] - - if 'versionStartExcluding' in cpe: - op_start = '>' - v_start = cpe['versionStartExcluding'] - - if 'versionEndIncluding' in cpe: - op_end = '<=' - v_end = cpe['versionEndIncluding'] - - if 'versionEndExcluding' in cpe: - op_end = '<' - v_end = cpe['versionEndExcluding'] - - yield { - 'id': cpe['cpe23Uri'], - 'v_start': v_start, - 'op_start': op_start, - 'v_end': v_end, - 'op_end': op_end - } - - def each_cpe(self): - for node in self.nvd_cve['configurations']['nodes']: - for cpe in self.parse_node(node): - yield cpe - - @property - def identifier(self): - """The CVE unique identifier""" - return self.nvd_cve['cve']['CVE_data_meta']['ID'] - - @property - def affected_products(self): - """The set of CPE products referred by this CVE definition""" - return set(cpe_product(p['id']) for p in self.each_cpe()) - - def affects(self, name, version, cve_ignore_list, cpeid=None): - """ - True if the Buildroot Package object passed as argument is affected - by this CVE. - """ - if self.identifier in cve_ignore_list: - return self.CVE_DOESNT_AFFECT - - pkg_version = distutils.version.LooseVersion(version) - if not hasattr(pkg_version, "version"): - print("Cannot parse package '%s' version '%s'" % (name, version)) - pkg_version = None - - # if we don't have a cpeid, build one based on name and version - if not cpeid: - cpeid = "cpe:2.3:*:*:%s:%s:*:*:*:*:*:*:*" % (name, version) - # if we have a cpeid, use its version instead of the package - # version, as they might be different due to - # _CPE_ID_VERSION - else: - pkg_version = distutils.version.LooseVersion(cpe_version(cpeid)) - - for cpe in self.each_cpe(): - if not cpe_matches(cpe['id'], cpeid): - continue - if not cpe['v_start'] and not cpe['v_end']: - return self.CVE_AFFECTS - if not pkg_version: - continue - - if cpe['v_start']: - try: - cve_affected_version = distutils.version.LooseVersion(cpe['v_start']) - inrange = ops.get(cpe['op_start'])(pkg_version, cve_affected_version) - except TypeError: - return self.CVE_UNKNOWN - - # current package version is before v_start, so we're - # not affected by the CVE - if not inrange: - continue - - if cpe['v_end']: - try: - cve_affected_version = distutils.version.LooseVersion(cpe['v_end']) - inrange = ops.get(cpe['op_end'])(pkg_version, cve_affected_version) - except TypeError: - return self.CVE_UNKNOWN - - # current package version is after v_end, so we're - # not affected by the CVE - if not inrange: - continue - - # We're in the version range affected by this CVE - return self.CVE_AFFECTS - - return self.CVE_DOESNT_AFFECT diff --git a/buildroot-2021.05/support/scripts/gen-bootlin-toolchains b/buildroot-2021.05/support/scripts/gen-bootlin-toolchains deleted file mode 100755 index 902b7795..00000000 --- a/buildroot-2021.05/support/scripts/gen-bootlin-toolchains +++ /dev/null @@ -1,496 +0,0 @@ -#!/usr/bin/env python3 - -import os.path -import re -import requests -import textwrap - -BASE_URL = "https://toolchains.bootlin.com/downloads/releases/toolchains" - -AUTOGENERATED_COMMENT = """# This file was auto-generated by support/scripts/gen-bootlin-toolchains -# Do not edit -""" - -# In the below dict: - -# - 'conditions' indicate the cumulative conditions under which the -# toolchain will be made available. In several situations, a given -# toolchain is usable on several architectures variants (for -# example, an ARMv6 toolchain can be used on ARMv7) -# - 'test_options' indicate one specific configuration where the -# toolchain can be used. It is used to create the runtime test -# cases. If 'test_options' does not exist, the code assumes it can -# be made equal to 'conditions' -# - 'prefix' is the prefix of the cross-compilation toolchain tools - -arches = { - 'aarch64': { - 'conditions': ['BR2_aarch64'], - 'prefix': 'aarch64', - }, - 'aarch64be': { - 'conditions': ['BR2_aarch64_be'], - 'prefix': 'aarch64_be', - }, - 'arcle-750d': { - 'conditions': ['BR2_arcle', 'BR2_arc750d'], - 'prefix': 'arc', - }, - 'arcle-hs38': { - 'conditions': ['BR2_arcle', 'BR2_archs38'], - 'prefix': 'arc', - }, - 'armv5-eabi': { - 'conditions': ['BR2_ARM_CPU_ARMV5', 'BR2_ARM_EABI'], - 'test_options': ['BR2_arm', 'BR2_arm926t', 'BR2_ARM_EABI'], - 'prefix': 'arm', - }, - 'armv6-eabihf': { - 'conditions': ['BR2_ARM_CPU_ARMV6', 'BR2_ARM_EABIHF'], - 'test_options': ['BR2_arm', 'BR2_arm1176jzf_s', 'BR2_ARM_EABIHF'], - 'prefix': 'arm', - }, - 'armv7-eabihf': { - 'conditions': ['BR2_ARM_CPU_ARMV7A', 'BR2_ARM_EABIHF'], - 'test_options': ['BR2_arm', 'BR2_cortex_a8', 'BR2_ARM_EABIHF'], - 'prefix': 'arm', - }, - 'armv7m': { - 'conditions': ['BR2_ARM_CPU_ARMV7M'], - 'test_options': ['BR2_arm', 'BR2_cortex_m4'], - 'prefix': 'arm', - }, - 'm68k-68xxx': { - 'conditions': ['BR2_m68k_m68k'], - 'test_options': ['BR2_m68k', 'BR2_m68k_68040'], - 'prefix': 'm68k', - }, - 'm68k-coldfire': { - 'conditions': ['BR2_m68k_cf'], - 'test_options': ['BR2_m68k', 'BR2_m68k_cf5208'], - 'prefix': 'm68k', - }, - 'microblazebe': { - 'conditions': ['BR2_microblazebe'], - 'prefix': 'microblaze', - }, - 'microblazeel': { - 'conditions': ['BR2_microblazeel'], - 'prefix': 'microblazeel', - }, - 'mips32': { - # Not sure it could be used by other mips32 variants? - 'conditions': ['BR2_mips', 'BR2_mips_32', '!BR2_MIPS_SOFT_FLOAT'], - 'prefix': 'mips', - }, - 'mips32el': { - # Not sure it could be used by other mips32el variants? - 'conditions': ['BR2_mipsel', 'BR2_mips_32', '!BR2_MIPS_SOFT_FLOAT'], - 'prefix': 'mipsel', - }, - 'mips32r5el': { - 'conditions': ['BR2_mipsel', 'BR2_mips_32r5', '!BR2_MIPS_SOFT_FLOAT'], - 'prefix': 'mipsel', - }, - 'mips32r6el': { - 'conditions': ['BR2_mipsel', 'BR2_mips_32r6', '!BR2_MIPS_SOFT_FLOAT'], - 'prefix': 'mipsel', - }, - 'mips64': { - # Not sure it could be used by other mips64 variants? - 'conditions': ['BR2_mips64', 'BR2_mips_64', '!BR2_MIPS_SOFT_FLOAT'], - 'prefix': 'mips64', - }, - 'mips64-n32': { - # Not sure it could be used by other mips64 variants? - 'conditions': ['BR2_mips64', 'BR2_mips_64', 'BR2_MIPS_NABI32', '!BR2_MIPS_SOFT_FLOAT'], - 'prefix': 'mips64', - }, - 'mips64el-n32': { - # Not sure it could be used by other mips64el variants? - 'conditions': ['BR2_mips64el', 'BR2_mips_64', 'BR2_MIPS_NABI32', '!BR2_MIPS_SOFT_FLOAT'], - 'prefix': 'mips64el', - }, - 'mips64r6el-n32': { - 'conditions': ['BR2_mips64el', 'BR2_mips_64r6', 'BR2_MIPS_NABI32', '!BR2_MIPS_SOFT_FLOAT'], - 'prefix': 'mips64el', - }, - 'nios2': { - 'conditions': ['BR2_nios2'], - 'prefix': 'nios2', - }, - 'openrisc': { - 'conditions': ['BR2_or1k'], - 'prefix': 'or1k', - }, - 'powerpc-440fp': { - # Not sure it could be used by other powerpc variants? - 'conditions': ['BR2_powerpc', 'BR2_powerpc_440fp'], - 'prefix': 'powerpc', - }, - 'powerpc-e300c3': { - # Not sure it could be used by other powerpc variants? - 'conditions': ['BR2_powerpc', 'BR2_powerpc_e300c3'], - 'prefix': 'powerpc', - }, - 'powerpc-e500mc': { - # Not sure it could be used by other powerpc variants? - 'conditions': ['BR2_powerpc', 'BR2_powerpc_e500mc'], - 'prefix': 'powerpc', - }, - 'powerpc64-e5500': { - 'conditions': ['BR2_powerpc64', 'BR2_powerpc_e5500'], - 'prefix': 'powerpc64', - }, - 'powerpc64-e6500': { - 'conditions': ['BR2_powerpc64', 'BR2_powerpc_e6500'], - 'prefix': 'powerpc64', - }, - 'powerpc64-power8': { - 'conditions': ['BR2_powerpc64', 'BR2_powerpc_power8'], - 'prefix': 'powerpc64', - }, - 'powerpc64le-power8': { - 'conditions': ['BR2_powerpc64le', 'BR2_powerpc_power8'], - 'prefix': 'powerpc64le', - }, - 'riscv32-ilp32d': { - 'conditions': ['BR2_riscv', 'BR2_riscv_g', 'BR2_RISCV_32', 'BR2_RISCV_ABI_ILP32D'], - 'prefix': 'riscv32', - }, - 'riscv64': { - 'conditions': ['BR2_riscv', 'BR2_riscv_g', 'BR2_RISCV_64', 'BR2_RISCV_ABI_LP64'], - 'prefix': 'riscv64', - }, - 'sh-sh4': { - 'conditions': ['BR2_sh', 'BR2_sh4'], - 'prefix': 'sh4', - }, - 'sh-sh4aeb': { - 'conditions': ['BR2_sh', 'BR2_sh4aeb'], - 'prefix': 'sh4aeb', - }, - 'sparc64': { - 'conditions': ['BR2_sparc64', 'BR2_sparc_v9'], - 'prefix': 'sparc64', - }, - 'sparcv8': { - 'conditions': ['BR2_sparc', 'BR2_sparc_v8'], - 'prefix': 'sparc', - }, - 'x86-64-core-i7': { - 'conditions': ['BR2_x86_64', - 'BR2_X86_CPU_HAS_MMX', - 'BR2_X86_CPU_HAS_SSE', - 'BR2_X86_CPU_HAS_SSE2', - 'BR2_X86_CPU_HAS_SSE3', - 'BR2_X86_CPU_HAS_SSSE3', - 'BR2_X86_CPU_HAS_SSE4', - 'BR2_X86_CPU_HAS_SSE42'], - 'test_options': ['BR2_x86_64', 'BR2_x86_corei7'], - 'prefix': 'x86_64', - }, - 'x86-core2': { - 'conditions': ['BR2_i386', - 'BR2_X86_CPU_HAS_MMX', - 'BR2_X86_CPU_HAS_SSE', - 'BR2_X86_CPU_HAS_SSE2', - 'BR2_X86_CPU_HAS_SSE3', - 'BR2_X86_CPU_HAS_SSSE3'], - 'test_options': ['BR2_i386', 'BR2_x86_core2'], - 'prefix': 'i686', - }, - 'x86-i686': { - 'conditions': ['BR2_i386', - '!BR2_x86_i486', - '!BR2_x86_i586', - '!BR2_x86_x1000'], - 'test_options': ['BR2_i386', - 'BR2_x86_i686'], - 'prefix': 'i686', - }, - 'xtensa-lx60': { - 'conditions': ['BR2_xtensa', 'BR2_XTENSA_CUSTOM', 'BR2_XTENSA_LITTLE_ENDIAN'], - 'prefix': 'xtensa', - }, -} - - -class Toolchain: - def __init__(self, arch, libc, variant, version): - self.arch = arch - self.libc = libc - self.variant = variant - self.version = version - self.fname_prefix = "%s--%s--%s-%s" % (self.arch, self.libc, self.variant, self.version) - self.option_name = "BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_%s_%s_%s" % \ - (self.arch.replace("-", "_").upper(), self.libc.upper(), self.variant.replace("-", "_").upper()) - self.fragment = requests.get(self.fragment_url).text.split("\n") - self.sha256 = requests.get(self.hash_url).text.split(" ")[0] - - @property - def tarball_url(self): - return os.path.join(BASE_URL, self.arch, "tarballs", - self.fname_prefix + ".tar.bz2") - - @property - def hash_url(self): - return os.path.join(BASE_URL, self.arch, "tarballs", - self.fname_prefix + ".sha256") - - @property - def fragment_url(self): - return os.path.join(BASE_URL, self.arch, "fragments", - self.fname_prefix + ".frag") - - def gen_config_in_options(self, f): - f.write("config %s\n" % self.option_name) - f.write("\tbool \"%s %s %s %s\"\n" % - (self.arch, self.libc, self.variant, self.version)) - depends = [] - selects = [] - - for c in arches[self.arch]['conditions']: - depends.append(c) - - for frag in self.fragment: - # libc type - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC"): - selects.append("BR2_TOOLCHAIN_EXTERNAL_UCLIBC") - elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC"): - # glibc needs mmu support - depends.append("BR2_USE_MMU") - # glibc doesn't support static only configuration - depends.append("!BR2_STATIC_LIBS") - selects.append("BR2_TOOLCHAIN_EXTERNAL_GLIBC") - elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL"): - # musl needs mmu support - depends.append("BR2_USE_MMU") - selects.append("BR2_TOOLCHAIN_EXTERNAL_MUSL") - - # gcc version - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_GCC_"): - m = re.match("^BR2_TOOLCHAIN_EXTERNAL_GCC_([0-9_]*)=y$", frag) - assert m, "Cannot get gcc version for toolchain %s" % self.fname_prefix - selects.append("BR2_TOOLCHAIN_GCC_AT_LEAST_%s" % m[1]) - - # kernel headers version - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HEADERS_"): - m = re.match("^BR2_TOOLCHAIN_EXTERNAL_HEADERS_([0-9_]*)=y$", frag) - assert m, "Cannot get kernel headers version for toolchain %s" % self.fname_prefix - selects.append("BR2_TOOLCHAIN_HEADERS_AT_LEAST_%s" % m[1]) - - # C++ - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CXX"): - selects.append("BR2_INSTALL_LIBSTDCPP") - - # SSP - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HAS_SSP"): - selects.append("BR2_TOOLCHAIN_HAS_SSP") - - # wchar - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_WCHAR"): - selects.append("BR2_USE_WCHAR") - - # locale - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_LOCALE"): - # locale implies the availability of wchar - selects.append("BR2_USE_WCHAR") - selects.append("BR2_ENABLE_LOCALE") - - # thread support - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS"): - selects.append("BR2_TOOLCHAIN_HAS_THREADS") - - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG"): - selects.append("BR2_TOOLCHAIN_HAS_THREADS_DEBUG") - - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL"): - selects.append("BR2_TOOLCHAIN_HAS_THREADS_NPTL") - - # RPC - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_INET_RPC"): - selects.append("BR2_TOOLCHAIN_HAS_NATIVE_RPC") - - # D language - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_DLANG"): - selects.append("BR2_TOOLCHAIN_HAS_DLANG") - - # fortran - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_FORTRAN"): - selects.append("BR2_TOOLCHAIN_HAS_FORTRAN") - - # OpenMP - if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_OPENMP"): - selects.append("BR2_TOOLCHAIN_HAS_OPENMP") - - for depend in depends: - f.write("\tdepends on %s\n" % depend) - - for select in selects: - f.write("\tselect %s\n" % select) - - f.write("\thelp\n") - - desc = "Bootlin toolchain for the %s architecture, using the %s C library. " % \ - (self.arch, self.libc) - - if self.variant == "stable": - desc += "This is a stable version, which means it is using stable and proven versions of gcc, gdb and binutils." - else: - desc += "This is a bleeding-edge version, which means it is using the latest versions of gcc, gdb and binutils." - - f.write(textwrap.fill(desc, width=62, initial_indent="\t ", subsequent_indent="\t ") + "\n") - f.write("\n") - f.write("\t https://toolchains.bootlin.com/\n") - - f.write("\n") - - def gen_mk(self, f): - f.write("ifeq ($(%s),y)\n" % self.option_name) - f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = %s\n" % self.version) - f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = %s--%s--%s-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2\n" % - (self.arch, self.libc, self.variant)) - f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = %s\n" % - os.path.join(BASE_URL, self.arch, "tarballs")) - f.write("endif\n\n") - pass - - def gen_hash(self, f): - f.write("# From %s\n" % self.hash_url) - f.write("sha256 %s %s\n" % (self.sha256, os.path.basename(self.tarball_url))) - - def gen_test(self, f): - if self.variant == "stable": - variant = "Stable" - else: - variant = "BleedingEdge" - testname = "TestExternalToolchainBootlin" + \ - self.arch.replace("-", "").capitalize() + \ - self.libc.capitalize() + variant - f.write("\n\n") - f.write("class %s(TestExternalToolchain):\n" % testname) - f.write(" config = \"\"\"\n") - if 'test_options' in arches[self.arch]: - test_options = arches[self.arch]['test_options'] - else: - test_options = arches[self.arch]['conditions'] - for opt in test_options: - if opt.startswith("!"): - f.write(" # %s is not set\n" % opt[1:]) - else: - f.write(" %s=y\n" % opt) - f.write(" BR2_TOOLCHAIN_EXTERNAL=y\n") - f.write(" BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y\n") - f.write(" %s=y\n" % self.option_name) - f.write(" # BR2_TARGET_ROOTFS_TAR is not set\n") - f.write(" \"\"\"\n") - f.write(" toolchain_prefix = \"%s-linux\"\n" % arches[self.arch]['prefix']) - f.write("\n") - f.write(" def test_run(self):\n") - f.write(" TestExternalToolchain.common_check(self)\n") - - def __repr__(self): - return "Toolchain(arch=%s libc=%s variant=%s version=%s, option=%s)" % \ - (self.arch, self.libc, self.variant, self.version, self.option_name) - - -def get_toolchains(): - toolchains = list() - for arch, details in arches.items(): - print(arch) - url = os.path.join(BASE_URL, arch, "available_toolchains") - page = requests.get(url).text - fnames = sorted(re.findall(r'&1 \ - | sed -r -e '/^test_run \((.*)\).*/!d; s//\1/' \ - | LC_ALL=C sort) - ) - - if [ -n "${CI_COMMIT_TAG}" ]; then - do_basics=true - do_defconfigs=base - do_runtime=true - elif [ "${CI_PIPELINE_SOURCE}" = "trigger" ]; then - case "${BR_SCHEDULE_JOBS}" in - (basic) - do_basics=true - do_defconfigs=check - defconfigs_ext=_check - ;; - (defconfig) - do_defconfigs=base - ;; - (runtime) - do_runtime=true - ;; - esac - else - case "${CI_COMMIT_REF_NAME}" in - (*-basics) - do_basics=true - do_defconfigs=check - defconfigs_ext=_check - ;; - (*-defconfigs) - do_defconfigs=base - ;; - (*-*_defconfig) - defconfigs=( "${CI_COMMIT_REF_NAME##*-}" ) - do_defconfigs=base - ;; - (*-runtime-tests) - do_runtime=true - ;; - (*-tests.*) - runtimes=( "${CI_COMMIT_REF_NAME##*-}" ) - do_runtime=true - ;; - esac - fi - - # If nothing else, at least do the basics to generate a valid pipeline - if [ -z "${do_defconfigs}" \ - -a -z "${do_runtime}" \ - ] - then - do_basics=true - fi - - if ${do_basics:-false}; then - for tst in "${basics[@]}"; do - printf 'check-%s: { extends: .check-%s_base }\n' "${tst}" "${tst}" - done - fi - - if [ -n "${do_defconfigs}" ]; then - for cfg in "${defconfigs[@]}"; do - printf '%s%s: { extends: .defconfig_%s }\n' \ - "${cfg}" "${defconfigs_ext}" "${do_defconfigs}" - done - fi - - if ${do_runtime:-false}; then - printf '%s: { extends: .runtime_test_base }\n' "${runtimes[@]}" - fi -} - -main "${@}" diff --git a/buildroot-2021.05/support/scripts/graph-build-time b/buildroot-2021.05/support/scripts/graph-build-time deleted file mode 100755 index ba3cdad8..00000000 --- a/buildroot-2021.05/support/scripts/graph-build-time +++ /dev/null @@ -1,312 +0,0 @@ -#!/usr/bin/env python - -# Copyright (C) 2011 by Thomas Petazzoni -# Copyright (C) 2013 by Yann E. MORIN -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -# This script generates graphs of packages build time, from the timing -# data generated by Buildroot in the $(O)/build-time.log file. -# -# Example usage: -# -# cat $(O)/build-time.log | ./support/scripts/graph-build-time --type=histogram --output=foobar.pdf -# -# Three graph types are available : -# -# * histogram, which creates an histogram of the build time for each -# package, decomposed by each step (extract, patch, configure, -# etc.). The order in which the packages are shown is -# configurable: by package name, by build order, or by duration -# order. See the --order option. -# -# * pie-packages, which creates a pie chart of the build time of -# each package (without decomposition in steps). Packages that -# contributed to less than 1% of the overall build time are all -# grouped together in an "Other" entry. -# -# * pie-steps, which creates a pie chart of the time spent globally -# on each step (extract, patch, configure, etc...) -# -# The default is to generate an histogram ordered by package name. -# -# Requirements: -# -# * matplotlib (python-matplotlib on Debian/Ubuntu systems) -# * numpy (python-numpy on Debian/Ubuntu systems) -# * argparse (by default in Python 2.7, requires python-argparse if -# Python 2.6 is used) - -import sys - -try: - import matplotlib as mpl - import numpy -except ImportError: - sys.stderr.write("You need python-matplotlib and python-numpy to generate build graphs\n") - exit(1) - -# Use the Agg backend (which produces a PNG output, see -# http://matplotlib.org/faq/usage_faq.html#what-is-a-backend), -# otherwise an incorrect backend is used on some host machines). -# Note: matplotlib.use() must be called *before* matplotlib.pyplot. -mpl.use('Agg') - -import matplotlib.pyplot as plt # noqa: E402 -import matplotlib.font_manager as fm # noqa: E402 -import csv # noqa: E402 -import argparse # noqa: E402 - -steps = ['download', 'extract', 'patch', 'configure', 'build', - 'install-target', 'install-staging', 'install-images', - 'install-host'] - -default_colors = ['#8d02ff', '#e60004', '#009836', '#2e1d86', '#ffed00', - '#0068b5', '#f28e00', '#940084', '#97c000'] - -alternate_colors = ['#ffbe0a', '#96bdff', '#3f7f7f', '#ff0000', '#00c000', - '#0080ff', '#c000ff', '#00eeee', '#e0e000'] - - -class Package: - def __init__(self, name): - self.name = name - self.steps_duration = {} - self.steps_start = {} - self.steps_end = {} - - def add_step(self, step, state, time): - if state == "start": - self.steps_start[step] = time - else: - self.steps_end[step] = time - if step in self.steps_start and step in self.steps_end: - self.steps_duration[step] = self.steps_end[step] - self.steps_start[step] - - def get_duration(self, step=None): - if step is None: - duration = 0 - for step in list(self.steps_duration.keys()): - duration += self.steps_duration[step] - return duration - if step in self.steps_duration: - return self.steps_duration[step] - return 0 - - -# Generate an histogram of the time spent in each step of each -# package. -def pkg_histogram(data, output, order="build"): - n_pkgs = len(data) - ind = numpy.arange(n_pkgs) - - if order == "duration": - data = sorted(data, key=lambda p: p.get_duration(), reverse=True) - elif order == "name": - data = sorted(data, key=lambda p: p.name, reverse=False) - - # Prepare the vals array, containing one entry for each step - vals = [] - for step in steps: - val = [] - for p in data: - val.append(p.get_duration(step)) - vals.append(val) - - bottom = [0] * n_pkgs - legenditems = [] - - plt.figure() - - # Draw the bars, step by step - for i in range(0, len(vals)): - b = plt.bar(ind+0.1, vals[i], width=0.8, color=colors[i], bottom=bottom, linewidth=0.25) - legenditems.append(b[0]) - bottom = [bottom[j] + vals[i][j] for j in range(0, len(vals[i]))] - - # Draw the package names - plt.xticks(ind + .6, [p.name for p in data], rotation=-60, rotation_mode="anchor", fontsize=8, ha='left') - - # Adjust size of graph depending on the number of packages - # Ensure a minimal size twice as the default - # Magic Numbers do Magic Layout! - ratio = max(((n_pkgs + 10) / 48, 2)) - borders = 0.1 / ratio - sz = plt.gcf().get_figwidth() - plt.gcf().set_figwidth(sz * ratio) - - # Adjust space at borders, add more space for the - # package names at the bottom - plt.gcf().subplots_adjust(bottom=0.2, left=borders, right=1-borders) - - # Remove ticks in the graph for each package - axes = plt.gcf().gca() - for line in axes.get_xticklines(): - line.set_markersize(0) - - axes.set_ylabel('Time (seconds)') - - # Reduce size of legend text - leg_prop = fm.FontProperties(size=6) - - # Draw legend - plt.legend(legenditems, steps, prop=leg_prop) - - if order == "name": - plt.title('Build time of packages\n') - elif order == "build": - plt.title('Build time of packages, by build order\n') - elif order == "duration": - plt.title('Build time of packages, by duration order\n') - - # Save graph - plt.savefig(output) - - -# Generate a pie chart with the time spent building each package. -def pkg_pie_time_per_package(data, output): - # Compute total build duration - total = 0 - for p in data: - total += p.get_duration() - - # Build the list of labels and values, and filter the packages - # that account for less than 1% of the build time. - labels = [] - values = [] - other_value = 0 - for p in sorted(data, key=lambda p: p.get_duration()): - if p.get_duration() < (total * 0.01): - other_value += p.get_duration() - else: - labels.append(p.name) - values.append(p.get_duration()) - - labels.append('Other') - values.append(other_value) - - plt.figure() - - # Draw pie graph - patches, texts, autotexts = plt.pie(values, labels=labels, - autopct='%1.1f%%', shadow=True, - colors=colors) - - # Reduce text size - proptease = fm.FontProperties() - proptease.set_size('xx-small') - plt.setp(autotexts, fontproperties=proptease) - plt.setp(texts, fontproperties=proptease) - - plt.title('Build time per package') - plt.savefig(output) - - -# Generate a pie chart with a portion for the overall time spent in -# each step for all packages. -def pkg_pie_time_per_step(data, output): - steps_values = [] - for step in steps: - val = 0 - for p in data: - val += p.get_duration(step) - steps_values.append(val) - - plt.figure() - - # Draw pie graph - patches, texts, autotexts = plt.pie(steps_values, labels=steps, - autopct='%1.1f%%', shadow=True, - colors=colors) - - # Reduce text size - proptease = fm.FontProperties() - proptease.set_size('xx-small') - plt.setp(autotexts, fontproperties=proptease) - plt.setp(texts, fontproperties=proptease) - - plt.title('Build time per step') - plt.savefig(output) - - -# Parses the csv file passed on standard input and returns a list of -# Package objects, filed with the duration of each step and the total -# duration of the package. -def read_data(input_file): - if input_file is None: - input_file = sys.stdin - else: - input_file = open(input_file) - reader = csv.reader(input_file, delimiter=':') - pkgs = [] - - # Auxilliary function to find a package by name in the list. - def getpkg(name): - for p in pkgs: - if p.name == name: - return p - return None - - for row in reader: - time = float(row[0].strip()) - state = row[1].strip() - step = row[2].strip() - pkg = row[3].strip() - - p = getpkg(pkg) - if p is None: - p = Package(pkg) - pkgs.append(p) - - p.add_step(step, state, time) - - return pkgs - - -parser = argparse.ArgumentParser(description='Draw build time graphs') -parser.add_argument("--type", '-t', metavar="GRAPH_TYPE", - help="Type of graph (histogram, pie-packages, pie-steps)") -parser.add_argument("--order", '-O', metavar="GRAPH_ORDER", - help="Ordering of packages: build or duration (for histogram only)") -parser.add_argument("--alternate-colors", '-c', action="store_true", - help="Use alternate colour-scheme") -parser.add_argument("--input", '-i', metavar="INPUT", - help="Input file (usually $(O)/build/build-time.log)") -parser.add_argument("--output", '-o', metavar="OUTPUT", required=True, - help="Output file (.pdf or .png extension)") -args = parser.parse_args() - -d = read_data(args.input) - -if args.alternate_colors: - colors = alternate_colors -else: - colors = default_colors - -if args.type == "histogram" or args.type is None: - if args.order == "build" or args.order == "duration" or args.order == "name": - pkg_histogram(d, args.output, args.order) - elif args.order is None: - pkg_histogram(d, args.output, "name") - else: - sys.stderr.write("Unknown ordering: %s\n" % args.order) - exit(1) -elif args.type == "pie-packages": - pkg_pie_time_per_package(d, args.output) -elif args.type == "pie-steps": - pkg_pie_time_per_step(d, args.output) -else: - sys.stderr.write("Unknown type: %s\n" % args.type) - exit(1) diff --git a/buildroot-2021.05/support/scripts/graph-depends b/buildroot-2021.05/support/scripts/graph-depends deleted file mode 100755 index d42bebce..00000000 --- a/buildroot-2021.05/support/scripts/graph-depends +++ /dev/null @@ -1,357 +0,0 @@ -#!/usr/bin/env python - -# Usage (the graphviz package must be installed in your distribution) -# ./support/scripts/graph-depends [-p package-name] > test.dot -# dot -Tpdf test.dot -o test.pdf -# -# With no arguments, graph-depends will draw a complete graph of -# dependencies for the current configuration. -# If '-p ' is specified, graph-depends will draw a graph -# of dependencies for the given package name. -# If '-d ' is specified, graph-depends will limit the depth of -# the dependency graph to 'depth' levels. -# -# Limitations -# -# * Some packages have dependencies that depend on the Buildroot -# configuration. For example, many packages have a dependency on -# openssl if openssl has been enabled. This tool will graph the -# dependencies as they are with the current Buildroot -# configuration. -# -# Copyright (C) 2010-2013 Thomas Petazzoni -# Copyright (C) 2019 Yann E. MORIN - -import logging -import sys -import argparse -from fnmatch import fnmatch - -import brpkgutil - -# Modes of operation: -MODE_FULL = 1 # draw full dependency graph for all selected packages -MODE_PKG = 2 # draw dependency graph for a given package - -allpkgs = [] - - -# The Graphviz "dot" utility doesn't like dashes in node names. So for -# node names, we strip all dashes. Also, nodes can't start with a number, -# so we prepend an underscore. -def pkg_node_name(pkg): - return "_" + pkg.replace("-", "") - - -# Basic cache for the results of the is_dep() function, in order to -# optimize the execution time. The cache is a dict of dict of boolean -# values. The key to the primary dict is "pkg", and the key of the -# sub-dicts is "pkg2". -is_dep_cache = {} - - -def is_dep_cache_insert(pkg, pkg2, val): - try: - is_dep_cache[pkg].update({pkg2: val}) - except KeyError: - is_dep_cache[pkg] = {pkg2: val} - - -# Retrieves from the cache whether pkg2 is a transitive dependency -# of pkg. -# Note: raises a KeyError exception if the dependency is not known. -def is_dep_cache_lookup(pkg, pkg2): - return is_dep_cache[pkg][pkg2] - - -# This function return True if pkg is a dependency (direct or -# transitive) of pkg2, dependencies being listed in the deps -# dictionary. Returns False otherwise. -# This is the un-cached version. -def is_dep_uncached(pkg, pkg2, deps): - try: - for p in deps[pkg2]: - if pkg == p: - return True - if is_dep(pkg, p, deps): - return True - except KeyError: - pass - return False - - -# See is_dep_uncached() above; this is the cached version. -def is_dep(pkg, pkg2, deps): - try: - return is_dep_cache_lookup(pkg, pkg2) - except KeyError: - val = is_dep_uncached(pkg, pkg2, deps) - is_dep_cache_insert(pkg, pkg2, val) - return val - - -# This function eliminates transitive dependencies; for example, given -# these dependency chain: A->{B,C} and B->{C}, the A->{C} dependency is -# already covered by B->{C}, so C is a transitive dependency of A, via B. -# The functions does: -# - for each dependency d[i] of the package pkg -# - if d[i] is a dependency of any of the other dependencies d[j] -# - do not keep d[i] -# - otherwise keep d[i] -def remove_transitive_deps(pkg, deps): - d = deps[pkg] - new_d = [] - for i in range(len(d)): - keep_me = True - for j in range(len(d)): - if j == i: - continue - if is_dep(d[i], d[j], deps): - keep_me = False - if keep_me: - new_d.append(d[i]) - return new_d - - -# List of dependencies that all/many packages have, and that we want -# to trim when generating the dependency graph. -MANDATORY_DEPS = ['toolchain', 'skeleton', 'host-skeleton', 'host-tar', 'host-gzip', 'host-ccache'] - - -# This function removes the dependency on some 'mandatory' package, like the -# 'toolchain' package, or the 'skeleton' package -def remove_mandatory_deps(pkg, deps): - return [p for p in deps[pkg] if p not in MANDATORY_DEPS] - - -# This function returns all dependencies of pkg that are part of the -# mandatory dependencies: -def get_mandatory_deps(pkg, deps): - return [p for p in deps[pkg] if p in MANDATORY_DEPS] - - -# This function will check that there is no loop in the dependency chain -# As a side effect, it builds up the dependency cache. -def check_circular_deps(deps): - def recurse(pkg): - if pkg not in list(deps.keys()): - return - if pkg in not_loop: - return - not_loop.append(pkg) - chain.append(pkg) - for p in deps[pkg]: - if p in chain: - logging.warning("\nRecursion detected for : %s" % (p)) - while True: - _p = chain.pop() - logging.warning("which is a dependency of: %s" % (_p)) - if p == _p: - sys.exit(1) - recurse(p) - chain.pop() - - not_loop = [] - chain = [] - for pkg in list(deps.keys()): - recurse(pkg) - - -# This functions trims down the dependency list of all packages. -# It applies in sequence all the dependency-elimination methods. -def remove_extra_deps(deps, rootpkg, transitive, arrow_dir): - # For the direct dependencies, find and eliminate mandatory - # deps, and add them to the root package. Don't do it for a - # reverse graph, because mandatory deps are only direct deps. - if arrow_dir == "forward": - for pkg in list(deps.keys()): - if not pkg == rootpkg: - for d in get_mandatory_deps(pkg, deps): - if d not in deps[rootpkg]: - deps[rootpkg].append(d) - deps[pkg] = remove_mandatory_deps(pkg, deps) - for pkg in list(deps.keys()): - if not transitive or pkg == rootpkg: - deps[pkg] = remove_transitive_deps(pkg, deps) - return deps - - -# Print the attributes of a node: label and fill-color -def print_attrs(outfile, pkg, pkg_type, pkg_version, depth, colors): - name = pkg_node_name(pkg) - if pkg == 'all': - label = 'ALL' - else: - label = pkg - if depth == 0: - color = colors[0] - else: - if pkg_type == "host": - color = colors[2] - else: - color = colors[1] - if pkg_version == "virtual": - outfile.write("%s [label = <%s>]\n" % (name, label)) - else: - outfile.write("%s [label = \"%s\"]\n" % (name, label)) - outfile.write("%s [color=%s,style=filled]\n" % (name, color)) - - -done_deps = [] - - -# Print the dependency graph of a package -def print_pkg_deps(outfile, dict_deps, dict_types, dict_versions, stop_list, exclude_list, - arrow_dir, draw_graph, depth, max_depth, pkg, colors): - if pkg in done_deps: - return - done_deps.append(pkg) - if draw_graph: - print_attrs(outfile, pkg, dict_types[pkg], dict_versions[pkg], depth, colors) - elif depth != 0: - outfile.write("%s " % pkg) - if pkg not in dict_deps: - return - for p in stop_list: - if fnmatch(pkg, p): - return - if dict_versions[pkg] == "virtual" and "virtual" in stop_list: - return - if dict_types[pkg] == "host" and "host" in stop_list: - return - if max_depth == 0 or depth < max_depth: - for d in dict_deps[pkg]: - if dict_versions[d] == "virtual" and "virtual" in exclude_list: - continue - if dict_types[d] == "host" and "host" in exclude_list: - continue - add = True - for p in exclude_list: - if fnmatch(d, p): - add = False - break - if add: - if draw_graph: - outfile.write("%s -> %s [dir=%s]\n" % (pkg_node_name(pkg), pkg_node_name(d), arrow_dir)) - print_pkg_deps(outfile, dict_deps, dict_types, dict_versions, stop_list, exclude_list, - arrow_dir, draw_graph, depth + 1, max_depth, d, colors) - - -def parse_args(): - parser = argparse.ArgumentParser(description="Graph packages dependencies") - parser.add_argument("--check-only", "-C", dest="check_only", action="store_true", default=False, - help="Only do the dependency checks (circular deps...)") - parser.add_argument("--outfile", "-o", metavar="OUT_FILE", dest="outfile", - help="File in which to generate the dot representation") - parser.add_argument("--package", '-p', metavar="PACKAGE", - help="Graph the dependencies of PACKAGE") - parser.add_argument("--depth", '-d', metavar="DEPTH", dest="depth", type=int, default=0, - help="Limit the dependency graph to DEPTH levels; 0 means no limit.") - parser.add_argument("--stop-on", "-s", metavar="PACKAGE", dest="stop_list", action="append", - help="Do not graph past this package (can be given multiple times)." + - " Can be a package name or a glob, " + - " 'virtual' to stop on virtual packages, or " + - "'host' to stop on host packages.") - parser.add_argument("--exclude", "-x", metavar="PACKAGE", dest="exclude_list", action="append", - help="Like --stop-on, but do not add PACKAGE to the graph.") - parser.add_argument("--exclude-mandatory", "-X", action="store_true", - help="Like if -x was passed for all mandatory dependencies.") - parser.add_argument("--colors", "-c", metavar="COLOR_LIST", dest="colors", - default="lightblue,grey,gainsboro", - help="Comma-separated list of the three colors to use" + - " to draw the top-level package, the target" + - " packages, and the host packages, in this order." + - " Defaults to: 'lightblue,grey,gainsboro'") - parser.add_argument("--transitive", dest="transitive", action='store_true', - default=False) - parser.add_argument("--no-transitive", dest="transitive", action='store_false', - help="Draw (do not draw) transitive dependencies") - parser.add_argument("--direct", dest="direct", action='store_true', default=True, - help="Draw direct dependencies (the default)") - parser.add_argument("--reverse", dest="direct", action='store_false', - help="Draw reverse dependencies") - parser.add_argument("--quiet", '-q', dest="quiet", action='store_true', - help="Quiet") - parser.add_argument("--flat-list", '-f', dest="flat_list", action='store_true', default=False, - help="Do not draw graph, just print a flat list") - return parser.parse_args() - - -def main(): - args = parse_args() - - check_only = args.check_only - - logging.basicConfig(stream=sys.stderr, format='%(message)s', - level=logging.WARNING if args.quiet else logging.INFO) - - if args.outfile is None: - outfile = sys.stdout - else: - if check_only: - logging.error("don't specify outfile and check-only at the same time") - sys.exit(1) - outfile = open(args.outfile, "w") - - if args.package is None: - mode = MODE_FULL - rootpkg = 'all' - else: - mode = MODE_PKG - rootpkg = args.package - - if args.stop_list is None: - stop_list = [] - else: - stop_list = args.stop_list - - if args.exclude_list is None: - exclude_list = [] - else: - exclude_list = args.exclude_list - - if args.exclude_mandatory: - exclude_list += MANDATORY_DEPS - - if args.direct: - arrow_dir = "forward" - else: - if mode == MODE_FULL: - logging.error("--reverse needs a package") - sys.exit(1) - arrow_dir = "back" - - draw_graph = not args.flat_list - - # Get the colors: we need exactly three colors, - # so no need not split more than 4 - # We'll let 'dot' validate the colors... - colors = args.colors.split(',', 4) - if len(colors) != 3: - logging.error("Error: incorrect color list '%s'" % args.colors) - sys.exit(1) - - deps, rdeps, dict_types, dict_versions = brpkgutil.get_dependency_tree() - dict_deps = deps if args.direct else rdeps - - check_circular_deps(dict_deps) - if check_only: - sys.exit(0) - - dict_deps = remove_extra_deps(dict_deps, rootpkg, args.transitive, arrow_dir) - - # Start printing the graph data - if draw_graph: - outfile.write("digraph G {\n") - - print_pkg_deps(outfile, dict_deps, dict_types, dict_versions, stop_list, exclude_list, - arrow_dir, draw_graph, 0, args.depth, rootpkg, colors) - - if draw_graph: - outfile.write("}\n") - else: - outfile.write("\n") - - -if __name__ == "__main__": - sys.exit(main()) diff --git a/buildroot-2021.05/support/scripts/mkusers b/buildroot-2021.05/support/scripts/mkusers deleted file mode 100755 index d00ba338..00000000 --- a/buildroot-2021.05/support/scripts/mkusers +++ /dev/null @@ -1,443 +0,0 @@ -#!/usr/bin/env bash -set -e -myname="${0##*/}" - -#---------------------------------------------------------------------------- -# Configurable items -MIN_UID=1000 -MAX_UID=1999 -MIN_GID=1000 -MAX_GID=1999 -# No more is configurable below this point -#---------------------------------------------------------------------------- - -#---------------------------------------------------------------------------- -error() { - local fmt="${1}" - shift - - printf "%s: " "${myname}" >&2 - printf "${fmt}" "${@}" >&2 -} -fail() { - error "$@" - exit 1 -} - -#---------------------------------------------------------------------------- -if [ ${#} -ne 2 ]; then - fail "usage: %s USERS_TABLE TARGET_DIR\n" -fi -USERS_TABLE="${1}" -TARGET_DIR="${2}" -shift 2 -PASSWD="${TARGET_DIR}/etc/passwd" -SHADOW="${TARGET_DIR}/etc/shadow" -GROUP="${TARGET_DIR}/etc/group" -# /etc/gshadow is not part of the standard skeleton, so not everybody -# will have it, but some may have it, and its content must be in sync -# with /etc/group, so any use of gshadow must be conditional. -GSHADOW="${TARGET_DIR}/etc/gshadow" - -# We can't simply source ${BR2_CONFIG} as it may contains constructs -# such as: -# BR2_DEFCONFIG="$(CONFIG_DIR)/defconfig" -# which when sourced from a shell script will eventually try to execute -# a command named 'CONFIG_DIR', which is plain wrong for virtually every -# systems out there. -# So, we have to scan that file instead. Sigh... :-( -PASSWD_METHOD="$( sed -r -e '/^BR2_TARGET_GENERIC_PASSWD_METHOD="(.*)"$/!d;' \ - -e 's//\1/;' \ - "${BR2_CONFIG}" \ - )" - -#---------------------------------------------------------------------------- -get_uid() { - local username="${1}" - - awk -F: -v username="${username}" \ - '$1 == username { printf( "%d\n", $3 ); }' "${PASSWD}" -} - -#---------------------------------------------------------------------------- -get_ugid() { - local username="${1}" - - awk -F: -v username="${username}" \ - '$1 == username { printf( "%d\n", $4 ); }' "${PASSWD}" -} - -#---------------------------------------------------------------------------- -get_gid() { - local group="${1}" - - awk -F: -v group="${group}" \ - '$1 == group { printf( "%d\n", $3 ); }' "${GROUP}" -} - -#---------------------------------------------------------------------------- -get_members() { - local group="${1}" - - awk -F: -v group="${group}" \ - '$1 == group { printf( "%s\n", $4 ); }' "${GROUP}" -} - -#---------------------------------------------------------------------------- -get_username() { - local uid="${1}" - - awk -F: -v uid="${uid}" \ - '$3 == uid { printf( "%s\n", $1 ); }' "${PASSWD}" -} - -#---------------------------------------------------------------------------- -get_group() { - local gid="${1}" - - awk -F: -v gid="${gid}" \ - '$3 == gid { printf( "%s\n", $1 ); }' "${GROUP}" -} - -#---------------------------------------------------------------------------- -get_ugroup() { - local username="${1}" - local ugid - - ugid="$( get_ugid "${username}" )" - if [ -n "${ugid}" ]; then - get_group "${ugid}" - fi -} - -#---------------------------------------------------------------------------- -# Sanity-check the new user/group: -# - check the gid is not already used for another group -# - check the group does not already exist with another gid -# - check the user does not already exist with another gid -# - check the uid is not already used for another user -# - check the user does not already exist with another uid -# - check the user does not already exist in another group -check_user_validity() { - local username="${1}" - local uid="${2}" - local group="${3}" - local gid="${4}" - local _uid _ugid _gid _username _group _ugroup - - _group="$( get_group "${gid}" )" - _gid="$( get_gid "${group}" )" - _ugid="$( get_ugid "${username}" )" - _username="$( get_username "${uid}" )" - _uid="$( get_uid "${username}" )" - _ugroup="$( get_ugroup "${username}" )" - - if [ "${username}" = "root" ]; then - fail "invalid username '%s\n'" "${username}" - fi - - if [ ${gid} -lt -1 -o ${gid} -eq 0 ]; then - fail "invalid gid '%d' for '%s'\n" ${gid} "${username}" - elif [ ${gid} -ne -1 ]; then - # check the gid is not already used for another group - if [ -n "${_group}" -a "${_group}" != "${group}" ]; then - fail "gid '%d' for '%s' is already used by group '%s'\n" \ - ${gid} "${username}" "${_group}" - fi - - # check the group does not already exists with another gid - # Need to split the check in two, otherwise '[' complains it - # is missing arguments when _gid is empty - if [ -n "${_gid}" ] && [ ${_gid} -ne ${gid} ]; then - fail "group '%s' for '%s' already exists with gid '%d' (wants '%d')\n" \ - "${group}" "${username}" ${_gid} ${gid} - fi - - # check the user does not already exists with another gid - # Need to split the check in two, otherwise '[' complains it - # is missing arguments when _ugid is empty - if [ -n "${_ugid}" ] && [ ${_ugid} -ne ${gid} ]; then - fail "user '%s' already exists with gid '%d' (wants '%d')\n" \ - "${username}" ${_ugid} ${gid} - fi - fi - - if [ ${uid} -lt -1 -o ${uid} -eq 0 ]; then - fail "invalid uid '%d' for '%s'\n" ${uid} "${username}" - elif [ ${uid} -ne -1 ]; then - # check the uid is not already used for another user - if [ -n "${_username}" -a "${_username}" != "${username}" ]; then - fail "uid '%d' for '%s' already used by user '%s'\n" \ - ${uid} "${username}" "${_username}" - fi - - # check the user does not already exists with another uid - # Need to split the check in two, otherwise '[' complains it - # is missing arguments when _uid is empty - if [ -n "${_uid}" ] && [ ${_uid} -ne ${uid} ]; then - fail "user '%s' already exists with uid '%d' (wants '%d')\n" \ - "${username}" ${_uid} ${uid} - fi - fi - - # check the user does not already exist in another group - if [ -n "${_ugroup}" -a "${_ugroup}" != "${group}" ]; then - fail "user '%s' already exists with group '%s' (wants '%s')\n" \ - "${username}" "${_ugroup}" "${group}" - fi - - return 0 -} - -#---------------------------------------------------------------------------- -# Generate a unique GID for given group. If the group already exists, -# then simply report its current GID. Otherwise, generate the lowest GID -# that is: -# - not 0 -# - comprised in [MIN_GID..MAX_GID] -# - not already used by a group -generate_gid() { - local group="${1}" - local gid - - gid="$( get_gid "${group}" )" - if [ -z "${gid}" ]; then - for(( gid=MIN_GID; gid<=MAX_GID; gid++ )); do - if [ -z "$( get_group "${gid}" )" ]; then - break - fi - done - if [ ${gid} -gt ${MAX_GID} ]; then - fail "can not allocate a GID for group '%s'\n" "${group}" - fi - fi - printf "%d\n" "${gid}" -} - -#---------------------------------------------------------------------------- -# Add a group; if it does already exist, remove it first -add_one_group() { - local group="${1}" - local gid="${2}" - local members - - # Generate a new GID if needed - if [ ${gid} -eq -1 ]; then - gid="$( generate_gid "${group}" )" - fi - - members=$(get_members "$group") - # Remove any previous instance of this group, and re-add the new one - sed -i --follow-symlinks -e '/^'"${group}"':.*/d;' "${GROUP}" - printf "%s:x:%d:%s\n" "${group}" "${gid}" "${members}" >>"${GROUP}" - - # Ditto for /etc/gshadow if it exists - if [ -f "${GSHADOW}" ]; then - sed -i --follow-symlinks -e '/^'"${group}"':.*/d;' "${GSHADOW}" - printf "%s:*::\n" "${group}" >>"${GSHADOW}" - fi -} - -#---------------------------------------------------------------------------- -# Generate a unique UID for given username. If the username already exists, -# then simply report its current UID. Otherwise, generate the lowest UID -# that is: -# - not 0 -# - comprised in [MIN_UID..MAX_UID] -# - not already used by a user -generate_uid() { - local username="${1}" - local uid - - uid="$( get_uid "${username}" )" - if [ -z "${uid}" ]; then - for(( uid=MIN_UID; uid<=MAX_UID; uid++ )); do - if [ -z "$( get_username "${uid}" )" ]; then - break - fi - done - if [ ${uid} -gt ${MAX_UID} ]; then - fail "can not allocate a UID for user '%s'\n" "${username}" - fi - fi - printf "%d\n" "${uid}" -} - -#---------------------------------------------------------------------------- -# Add given user to given group, if not already the case -add_user_to_group() { - local username="${1}" - local group="${2}" - local _f - - for _f in "${GROUP}" "${GSHADOW}"; do - [ -f "${_f}" ] || continue - sed -r -i --follow-symlinks \ - -e 's/^('"${group}"':.*:)(([^:]+,)?)'"${username}"'(,[^:]+*)?$/\1\2\4/;' \ - -e 's/^('"${group}"':.*)$/\1,'"${username}"'/;' \ - -e 's/,+/,/' \ - -e 's/:,/:/' \ - "${_f}" - done -} - -#---------------------------------------------------------------------------- -# Encode a password -encode_password() { - local passwd="${1}" - - mkpasswd -m "${PASSWD_METHOD}" "${passwd}" -} - -#---------------------------------------------------------------------------- -# Add a user; if it does already exist, remove it first -add_one_user() { - local username="${1}" - local uid="${2}" - local group="${3}" - local gid="${4}" - local passwd="${5}" - local home="${6}" - local shell="${7}" - local groups="${8}" - local comment="${9}" - local _f _group _home _shell _gid _passwd - - # First, sanity-check the user - check_user_validity "${username}" "${uid}" "${group}" "${gid}" - - # Generate a new UID if needed - if [ ${uid} -eq -1 ]; then - uid="$( generate_uid "${username}" )" - fi - - # Remove any previous instance of this user - for _f in "${PASSWD}" "${SHADOW}"; do - sed -r -i --follow-symlinks -e '/^'"${username}"':.*/d;' "${_f}" - done - - _gid="$( get_gid "${group}" )" - _shell="${shell}" - if [ "${shell}" = "-" ]; then - _shell="/bin/false" - fi - case "${home}" in - -) _home="/";; - /) fail "home can not explicitly be '/'\n";; - /*) _home="${home}";; - *) fail "home must be an absolute path\n";; - esac - case "${passwd}" in - -) - _passwd="" - ;; - !=*) - _passwd='!'"$( encode_password "${passwd#!=}" )" - ;; - =*) - _passwd="$( encode_password "${passwd#=}" )" - ;; - *) - _passwd="${passwd}" - ;; - esac - - printf "%s:x:%d:%d:%s:%s:%s\n" \ - "${username}" "${uid}" "${_gid}" \ - "${comment}" "${_home}" "${_shell}" \ - >>"${PASSWD}" - printf "%s:%s:::::::\n" \ - "${username}" "${_passwd}" \ - >>"${SHADOW}" - - # Add the user to its additional groups - if [ "${groups}" != "-" ]; then - for _group in ${groups//,/ }; do - add_user_to_group "${username}" "${_group}" - done - fi - - # If the user has a home, chown it - # (Note: stdout goes to the fakeroot-script) - if [ "${home}" != "-" ]; then - mkdir -p "${TARGET_DIR}/${home}" - printf "chown -h -R %d:%d '%s'\n" "${uid}" "${_gid}" "${TARGET_DIR}/${home}" - fi -} - -#---------------------------------------------------------------------------- -main() { - local username uid group gid passwd home shell groups comment - local line - local -a ENTRIES - - # Some sanity checks - if [ ${MIN_UID} -le 0 ]; then - fail "MIN_UID must be >0 (currently %d)\n" ${MIN_UID} - fi - if [ ${MIN_GID} -le 0 ]; then - fail "MIN_GID must be >0 (currently %d)\n" ${MIN_GID} - fi - - # Read in all the file in memory, exclude empty lines and comments - while read line; do - ENTRIES+=( "${line}" ) - done < <( sed -r -e 's/#.*//; /^[[:space:]]*$/d;' "${USERS_TABLE}" ) - - # We first create groups whose gid is not -1, and then we create groups - # whose gid is -1 (automatic), so that, if a group is defined both with - # a specified gid and an automatic gid, we ensure the specified gid is - # used, rather than a different automatic gid is computed. - - # First, create all the main groups which gid is *not* automatic - for line in "${ENTRIES[@]}"; do - read username uid group gid passwd home shell groups comment <<<"${line}" - [ ${gid} -ge 0 ] || continue # Automatic gid - add_one_group "${group}" "${gid}" - done - - # Then, create all the main groups which gid *is* automatic - for line in "${ENTRIES[@]}"; do - read username uid group gid passwd home shell groups comment <<<"${line}" - [ ${gid} -eq -1 ] || continue # Non-automatic gid - add_one_group "${group}" "${gid}" - done - - # Then, create all the additional groups - # If any additional group is already a main group, we should use - # the gid of that main group; otherwise, we can use any gid - for line in "${ENTRIES[@]}"; do - read username uid group gid passwd home shell groups comment <<<"${line}" - if [ "${groups}" != "-" ]; then - for g in ${groups//,/ }; do - add_one_group "${g}" -1 - done - fi - done - - # When adding users, we do as for groups, in case two packages create - # the same user, one with an automatic uid, the other with a specified - # uid, to ensure the specified uid is used, rather than an incompatible - # uid be generated. - - # Now, add users whose uid is *not* automatic - for line in "${ENTRIES[@]}"; do - read username uid group gid passwd home shell groups comment <<<"${line}" - [ "${username}" != "-" ] || continue # Magic string to skip user creation - [ ${uid} -ge 0 ] || continue # Automatic uid - add_one_user "${username}" "${uid}" "${group}" "${gid}" "${passwd}" \ - "${home}" "${shell}" "${groups}" "${comment}" - done - - # Finally, add users whose uid *is* automatic - for line in "${ENTRIES[@]}"; do - read username uid group gid passwd home shell groups comment <<<"${line}" - [ "${username}" != "-" ] || continue # Magic string to skip user creation - [ ${uid} -eq -1 ] || continue # Non-automatic uid - add_one_user "${username}" "${uid}" "${group}" "${gid}" "${passwd}" \ - "${home}" "${shell}" "${groups}" "${comment}" - done -} - -#---------------------------------------------------------------------------- -main "${@}" diff --git a/buildroot-2021.05/support/scripts/pkg-stats b/buildroot-2021.05/support/scripts/pkg-stats deleted file mode 100755 index cc91d131..00000000 --- a/buildroot-2021.05/support/scripts/pkg-stats +++ /dev/null @@ -1,1170 +0,0 @@ -#!/usr/bin/env python3 - -# Copyright (C) 2009 by Thomas Petazzoni -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -import aiohttp -import argparse -import asyncio -import datetime -import fnmatch -import os -from collections import defaultdict -import re -import subprocess -import json -import sys - -brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) - -sys.path.append(os.path.join(brpath, "utils")) -from getdeveloperlib import parse_developers # noqa: E402 -from cpedb import CPEDB # noqa: E402 - -INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") -URL_RE = re.compile(r"\s*https?://\S*\s*$") - -RM_API_STATUS_ERROR = 1 -RM_API_STATUS_FOUND_BY_DISTRO = 2 -RM_API_STATUS_FOUND_BY_PATTERN = 3 -RM_API_STATUS_NOT_FOUND = 4 - - -class Defconfig: - def __init__(self, name, path): - self.name = name - self.path = path - self.developers = None - - def set_developers(self, developers): - """ - Fills in the .developers field - """ - self.developers = [ - developer.name - for developer in developers - if developer.hasfile(self.path) - ] - - -def get_defconfig_list(): - """ - Builds the list of Buildroot defconfigs, returning a list of Defconfig - objects. - """ - return [ - Defconfig(name[:-len('_defconfig')], os.path.join('configs', name)) - for name in os.listdir(os.path.join(brpath, 'configs')) - if name.endswith('_defconfig') - ] - - -class Package: - all_licenses = dict() - all_license_files = list() - all_versions = dict() - all_ignored_cves = dict() - all_cpeids = dict() - # This is the list of all possible checks. Add new checks to this list so - # a tool that post-processeds the json output knows the checks before - # iterating over the packages. - status_checks = ['cve', 'developers', 'hash', 'license', - 'license-files', 'patches', 'pkg-check', 'url', 'version'] - - def __init__(self, name, path): - self.name = name - self.path = path - self.pkg_path = os.path.dirname(path) - self.infras = None - self.license = None - self.has_license = False - self.has_license_files = False - self.has_hash = False - self.patch_files = [] - self.warnings = 0 - self.current_version = None - self.url = None - self.url_worker = None - self.cpeid = None - self.cves = list() - self.ignored_cves = list() - self.latest_version = {'status': RM_API_STATUS_ERROR, 'version': None, 'id': None} - self.status = {} - - def pkgvar(self): - return self.name.upper().replace("-", "_") - - def set_url(self): - """ - Fills in the .url field - """ - self.status['url'] = ("warning", "no Config.in") - pkgdir = os.path.dirname(os.path.join(brpath, self.path)) - for filename in os.listdir(pkgdir): - if fnmatch.fnmatch(filename, 'Config.*'): - fp = open(os.path.join(pkgdir, filename), "r") - for config_line in fp: - if URL_RE.match(config_line): - self.url = config_line.strip() - self.status['url'] = ("ok", "found") - fp.close() - return - self.status['url'] = ("error", "missing") - fp.close() - - @property - def patch_count(self): - return len(self.patch_files) - - @property - def has_valid_infra(self): - if self.infras is None: - return False - return len(self.infras) > 0 - - @property - def is_actual_package(self): - try: - if not self.has_valid_infra: - return False - if self.infras[0][1] == 'virtual': - return False - except IndexError: - return False - return True - - def set_infra(self): - """ - Fills in the .infras field - """ - self.infras = list() - with open(os.path.join(brpath, self.path), 'r') as f: - lines = f.readlines() - for line in lines: - match = INFRA_RE.match(line) - if not match: - continue - infra = match.group(1) - if infra.startswith("host-"): - self.infras.append(("host", infra[5:])) - else: - self.infras.append(("target", infra)) - - def set_license(self): - """ - Fills in the .status['license'] and .status['license-files'] fields - """ - if not self.is_actual_package: - self.status['license'] = ("na", "no valid package infra") - self.status['license-files'] = ("na", "no valid package infra") - return - - var = self.pkgvar() - self.status['license'] = ("error", "missing") - self.status['license-files'] = ("error", "missing") - if var in self.all_licenses: - self.license = self.all_licenses[var] - self.status['license'] = ("ok", "found") - if var in self.all_license_files: - self.status['license-files'] = ("ok", "found") - - def set_hash_info(self): - """ - Fills in the .status['hash'] field - """ - if not self.is_actual_package: - self.status['hash'] = ("na", "no valid package infra") - self.status['hash-license'] = ("na", "no valid package infra") - return - - hashpath = self.path.replace(".mk", ".hash") - if os.path.exists(os.path.join(brpath, hashpath)): - self.status['hash'] = ("ok", "found") - else: - self.status['hash'] = ("error", "missing") - - def set_patch_count(self): - """ - Fills in the .patch_count, .patch_files and .status['patches'] fields - """ - if not self.is_actual_package: - self.status['patches'] = ("na", "no valid package infra") - return - - pkgdir = os.path.dirname(os.path.join(brpath, self.path)) - for subdir, _, _ in os.walk(pkgdir): - self.patch_files = fnmatch.filter(os.listdir(subdir), '*.patch') - - if self.patch_count == 0: - self.status['patches'] = ("ok", "no patches") - elif self.patch_count < 5: - self.status['patches'] = ("warning", "some patches") - else: - self.status['patches'] = ("error", "lots of patches") - - def set_current_version(self): - """ - Fills in the .current_version field - """ - var = self.pkgvar() - if var in self.all_versions: - self.current_version = self.all_versions[var] - - def set_cpeid(self): - """ - Fills in the .cpeid field - """ - var = self.pkgvar() - if not self.is_actual_package: - self.status['cpe'] = ("na", "N/A - virtual pkg") - return - if not self.current_version: - self.status['cpe'] = ("na", "no version information available") - return - - if var in self.all_cpeids: - self.cpeid = self.all_cpeids[var] - # Set a preliminary status, it might be overridden by check_package_cpes() - self.status['cpe'] = ("warning", "not checked against CPE dictionnary") - else: - self.status['cpe'] = ("error", "no verified CPE identifier") - - def set_check_package_warnings(self): - """ - Fills in the .warnings and .status['pkg-check'] fields - """ - cmd = [os.path.join(brpath, "utils/check-package")] - pkgdir = os.path.dirname(os.path.join(brpath, self.path)) - self.status['pkg-check'] = ("error", "Missing") - for root, dirs, files in os.walk(pkgdir): - for f in files: - if f.endswith(".mk") or f.endswith(".hash") or f == "Config.in" or f == "Config.in.host": - cmd.append(os.path.join(root, f)) - o = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[1] - lines = o.splitlines() - for line in lines: - m = re.match("^([0-9]*) warnings generated", line.decode()) - if m: - self.warnings = int(m.group(1)) - if self.warnings == 0: - self.status['pkg-check'] = ("ok", "no warnings") - else: - self.status['pkg-check'] = ("error", "{} warnings".format(self.warnings)) - return - - def set_ignored_cves(self): - """ - Give the list of CVEs ignored by the package - """ - self.ignored_cves = list(self.all_ignored_cves.get(self.pkgvar(), [])) - - def set_developers(self, developers): - """ - Fills in the .developers and .status['developers'] field - """ - self.developers = [ - dev.name - for dev in developers - if dev.hasfile(self.path) - ] - - if self.developers: - self.status['developers'] = ("ok", "{} developers".format(len(self.developers))) - else: - self.status['developers'] = ("warning", "no developers") - - def is_status_ok(self, name): - return name in self.status and self.status[name][0] == 'ok' - - def is_status_error(self, name): - return name in self.status and self.status[name][0] == 'error' - - def is_status_na(self, name): - return name in self.status and self.status[name][0] == 'na' - - def __eq__(self, other): - return self.path == other.path - - def __lt__(self, other): - return self.path < other.path - - def __str__(self): - return "%s (path='%s', license='%s', license_files='%s', hash='%s', patches=%d)" % \ - (self.name, self.path, self.is_status_ok('license'), - self.is_status_ok('license-files'), self.status['hash'], self.patch_count) - - -def get_pkglist(npackages, package_list): - """ - Builds the list of Buildroot packages, returning a list of Package - objects. Only the .name and .path fields of the Package object are - initialized. - - npackages: limit to N packages - package_list: limit to those packages in this list - """ - WALK_USEFUL_SUBDIRS = ["boot", "linux", "package", "toolchain"] - WALK_EXCLUDES = ["boot/common.mk", - "linux/linux-ext-.*.mk", - "package/freescale-imx/freescale-imx.mk", - "package/gcc/gcc.mk", - "package/gstreamer/gstreamer.mk", - "package/gstreamer1/gstreamer1.mk", - "package/gtk2-themes/gtk2-themes.mk", - "package/matchbox/matchbox.mk", - "package/opengl/opengl.mk", - "package/qt5/qt5.mk", - "package/x11r7/x11r7.mk", - "package/doc-asciidoc.mk", - "package/pkg-.*.mk", - "toolchain/toolchain-external/pkg-toolchain-external.mk", - "toolchain/toolchain-external/toolchain-external.mk", - "toolchain/toolchain.mk", - "toolchain/helpers.mk", - "toolchain/toolchain-wrapper.mk"] - packages = list() - count = 0 - for root, dirs, files in os.walk(brpath): - root = os.path.relpath(root, brpath) - rootdir = root.split("/") - if len(rootdir) < 1: - continue - if rootdir[0] not in WALK_USEFUL_SUBDIRS: - continue - for f in files: - if not f.endswith(".mk"): - continue - # Strip ending ".mk" - pkgname = f[:-3] - if package_list and pkgname not in package_list: - continue - pkgpath = os.path.join(root, f) - skip = False - for exclude in WALK_EXCLUDES: - if re.match(exclude, pkgpath): - skip = True - continue - if skip: - continue - p = Package(pkgname, pkgpath) - packages.append(p) - count += 1 - if npackages and count == npackages: - return packages - return packages - - -def get_config_packages(): - cmd = ["make", "--no-print-directory", "show-info"] - js = json.loads(subprocess.check_output(cmd)) - return set([v["name"] for v in js.values()]) - - -def package_init_make_info(): - # Fetch all variables at once - variables = subprocess.check_output(["make", "BR2_HAVE_DOT_CONFIG=y", "-s", "printvars", - "VARS=%_LICENSE %_LICENSE_FILES %_VERSION %_IGNORE_CVES %_CPE_ID"]) - variable_list = variables.decode().splitlines() - - # We process first the host package VERSION, and then the target - # package VERSION. This means that if a package exists in both - # target and host variants, with different values (eg. version - # numbers (unlikely)), we'll report the target one. - variable_list = [x[5:] for x in variable_list if x.startswith("HOST_")] + \ - [x for x in variable_list if not x.startswith("HOST_")] - - for item in variable_list: - # Get variable name and value - pkgvar, value = item.split("=") - - # Strip the suffix according to the variable - if pkgvar.endswith("_LICENSE"): - # If value is "unknown", no license details available - if value == "unknown": - continue - pkgvar = pkgvar[:-8] - Package.all_licenses[pkgvar] = value - - elif pkgvar.endswith("_LICENSE_FILES"): - if pkgvar.endswith("_MANIFEST_LICENSE_FILES"): - continue - pkgvar = pkgvar[:-14] - Package.all_license_files.append(pkgvar) - - elif pkgvar.endswith("_VERSION"): - if pkgvar.endswith("_DL_VERSION"): - continue - pkgvar = pkgvar[:-8] - Package.all_versions[pkgvar] = value - - elif pkgvar.endswith("_IGNORE_CVES"): - pkgvar = pkgvar[:-12] - Package.all_ignored_cves[pkgvar] = value.split() - - elif pkgvar.endswith("_CPE_ID"): - pkgvar = pkgvar[:-7] - Package.all_cpeids[pkgvar] = value - - -check_url_count = 0 - - -async def check_url_status(session, pkg, npkgs, retry=True): - global check_url_count - - try: - async with session.get(pkg.url) as resp: - if resp.status >= 400: - pkg.status['url'] = ("error", "invalid {}".format(resp.status)) - check_url_count += 1 - print("[%04d/%04d] %s" % (check_url_count, npkgs, pkg.name)) - return - except (aiohttp.ClientError, asyncio.TimeoutError): - if retry: - return await check_url_status(session, pkg, npkgs, retry=False) - else: - pkg.status['url'] = ("error", "invalid (err)") - check_url_count += 1 - print("[%04d/%04d] %s" % (check_url_count, npkgs, pkg.name)) - return - - pkg.status['url'] = ("ok", "valid") - check_url_count += 1 - print("[%04d/%04d] %s" % (check_url_count, npkgs, pkg.name)) - - -async def check_package_urls(packages): - tasks = [] - connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: - packages = [p for p in packages if p.status['url'][0] == 'ok'] - for pkg in packages: - tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) - await asyncio.wait(tasks) - - -def check_package_latest_version_set_status(pkg, status, version, identifier): - pkg.latest_version = { - "status": status, - "version": version, - "id": identifier, - } - - if pkg.latest_version['status'] == RM_API_STATUS_ERROR: - pkg.status['version'] = ('warning', "Release Monitoring API error") - elif pkg.latest_version['status'] == RM_API_STATUS_NOT_FOUND: - pkg.status['version'] = ('warning', "Package not found on Release Monitoring") - - if pkg.latest_version['version'] is None: - pkg.status['version'] = ('warning', "No upstream version available on Release Monitoring") - elif pkg.latest_version['version'] != pkg.current_version: - pkg.status['version'] = ('error', "The newer version {} is available upstream".format(pkg.latest_version['version'])) - else: - pkg.status['version'] = ('ok', 'up-to-date') - - -async def check_package_get_latest_version_by_distro(session, pkg, retry=True): - url = "https://release-monitoring.org//api/project/Buildroot/%s" % pkg.name - try: - async with session.get(url) as resp: - if resp.status != 200: - return False - - data = await resp.json() - version = data['version'] if 'version' in data else None - check_package_latest_version_set_status(pkg, - RM_API_STATUS_FOUND_BY_DISTRO, - version, - data['id']) - return True - - except (aiohttp.ClientError, asyncio.TimeoutError): - if retry: - return await check_package_get_latest_version_by_distro(session, pkg, retry=False) - else: - return False - - -async def check_package_get_latest_version_by_guess(session, pkg, retry=True): - url = "https://release-monitoring.org/api/projects/?pattern=%s" % pkg.name - try: - async with session.get(url) as resp: - if resp.status != 200: - return False - - data = await resp.json() - # filter projects that have the right name and a version defined - projects = [p for p in data['projects'] if p['name'] == pkg.name and 'version' in p] - projects.sort(key=lambda x: x['id']) - - if len(projects) > 0: - check_package_latest_version_set_status(pkg, - RM_API_STATUS_FOUND_BY_DISTRO, - projects[0]['version'], - projects[0]['id']) - return True - - except (aiohttp.ClientError, asyncio.TimeoutError): - if retry: - return await check_package_get_latest_version_by_guess(session, pkg, retry=False) - else: - return False - - -check_latest_count = 0 - - -async def check_package_latest_version_get(session, pkg, npkgs): - global check_latest_count - - if await check_package_get_latest_version_by_distro(session, pkg): - check_latest_count += 1 - print("[%04d/%04d] %s" % (check_latest_count, npkgs, pkg.name)) - return - - if await check_package_get_latest_version_by_guess(session, pkg): - check_latest_count += 1 - print("[%04d/%04d] %s" % (check_latest_count, npkgs, pkg.name)) - return - - check_package_latest_version_set_status(pkg, - RM_API_STATUS_NOT_FOUND, - None, None) - check_latest_count += 1 - print("[%04d/%04d] %s" % (check_latest_count, npkgs, pkg.name)) - - -async def check_package_latest_version(packages): - """ - Fills in the .latest_version field of all Package objects - - This field is a dict and has the following keys: - - - status: one of RM_API_STATUS_ERROR, - RM_API_STATUS_FOUND_BY_DISTRO, RM_API_STATUS_FOUND_BY_PATTERN, - RM_API_STATUS_NOT_FOUND - - version: string containing the latest version known by - release-monitoring.org for this package - - id: string containing the id of the project corresponding to this - package, as known by release-monitoring.org - """ - - for pkg in [p for p in packages if not p.is_actual_package]: - pkg.status['version'] = ("na", "no valid package infra") - - tasks = [] - connector = aiohttp.TCPConnector(limit_per_host=5) - async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: - packages = [p for p in packages if p.is_actual_package] - for pkg in packages: - tasks.append(asyncio.ensure_future(check_package_latest_version_get(sess, pkg, len(packages)))) - await asyncio.wait(tasks) - - -def check_package_cve_affects(cve, cpe_product_pkgs): - for product in cve.affected_products: - if product not in cpe_product_pkgs: - continue - for pkg in cpe_product_pkgs[product]: - if cve.affects(pkg.name, pkg.current_version, pkg.ignored_cves, pkg.cpeid) == cve.CVE_AFFECTS: - pkg.cves.append(cve.identifier) - - -def check_package_cves(nvd_path, packages): - if not os.path.isdir(nvd_path): - os.makedirs(nvd_path) - - cpe_product_pkgs = defaultdict(list) - for pkg in packages: - if not pkg.is_actual_package: - pkg.status['cve'] = ("na", "N/A") - continue - if not pkg.current_version: - pkg.status['cve'] = ("na", "no version information available") - continue - if pkg.cpeid: - cpe_product = cvecheck.cpe_product(pkg.cpeid) - cpe_product_pkgs[cpe_product].append(pkg) - else: - cpe_product_pkgs[pkg.name].append(pkg) - - for cve in cvecheck.CVE.read_nvd_dir(nvd_path): - check_package_cve_affects(cve, cpe_product_pkgs) - - for pkg in packages: - if 'cve' not in pkg.status: - if pkg.cves: - pkg.status['cve'] = ("error", "affected by CVEs") - else: - pkg.status['cve'] = ("ok", "not affected by CVEs") - - -def check_package_cpes(nvd_path, packages): - cpedb = CPEDB(nvd_path) - cpedb.get_xml_dict() - for p in packages: - if not p.cpeid: - continue - if cpedb.find(p.cpeid): - p.status['cpe'] = ("ok", "verified CPE identifier") - else: - p.status['cpe'] = ("error", "CPE version unknown in CPE database") - - -def calculate_stats(packages): - stats = defaultdict(int) - stats['packages'] = len(packages) - for pkg in packages: - # If packages have multiple infra, take the first one. For the - # vast majority of packages, the target and host infra are the - # same. There are very few packages that use a different infra - # for the host and target variants. - if len(pkg.infras) > 0: - infra = pkg.infras[0][1] - stats["infra-%s" % infra] += 1 - else: - stats["infra-unknown"] += 1 - if pkg.is_status_ok('license'): - stats["license"] += 1 - else: - stats["no-license"] += 1 - if pkg.is_status_ok('license-files'): - stats["license-files"] += 1 - else: - stats["no-license-files"] += 1 - if pkg.is_status_ok('hash'): - stats["hash"] += 1 - else: - stats["no-hash"] += 1 - if pkg.latest_version['status'] == RM_API_STATUS_FOUND_BY_DISTRO: - stats["rmo-mapping"] += 1 - else: - stats["rmo-no-mapping"] += 1 - if not pkg.latest_version['version']: - stats["version-unknown"] += 1 - elif pkg.latest_version['version'] == pkg.current_version: - stats["version-uptodate"] += 1 - else: - stats["version-not-uptodate"] += 1 - stats["patches"] += pkg.patch_count - stats["total-cves"] += len(pkg.cves) - if len(pkg.cves) != 0: - stats["pkg-cves"] += 1 - if pkg.cpeid: - stats["cpe-id"] += 1 - else: - stats["no-cpe-id"] += 1 - return stats - - -html_header = """ - - - -Statistics of Buildroot packages - - -Results
- -

-""" - - -html_footer = """ - - - -""" - - -def infra_str(infra_list): - if not infra_list: - return "Unknown" - elif len(infra_list) == 1: - return "%s
%s" % (infra_list[0][1], infra_list[0][0]) - elif infra_list[0][1] == infra_list[1][1]: - return "%s
%s + %s" % \ - (infra_list[0][1], infra_list[0][0], infra_list[1][0]) - else: - return "%s (%s)
%s (%s)" % \ - (infra_list[0][1], infra_list[0][0], - infra_list[1][1], infra_list[1][0]) - - -def boolean_str(b): - if b: - return "Yes" - else: - return "No" - - -def dump_html_pkg(f, pkg): - f.write(" \n") - f.write(" %s\n" % pkg.path) - - # Patch count - td_class = ["centered"] - if pkg.patch_count == 0: - td_class.append("nopatches") - elif pkg.patch_count < 5: - td_class.append("somepatches") - else: - td_class.append("lotsofpatches") - f.write(" %s\n" % - (" ".join(td_class), str(pkg.patch_count))) - - # Infrastructure - infra = infra_str(pkg.infras) - td_class = ["centered"] - if infra == "Unknown": - td_class.append("wrong") - else: - td_class.append("correct") - f.write(" %s\n" % - (" ".join(td_class), infra_str(pkg.infras))) - - # License - td_class = ["centered"] - if pkg.is_status_ok('license'): - td_class.append("correct") - else: - td_class.append("wrong") - f.write(" %s\n" % - (" ".join(td_class), boolean_str(pkg.is_status_ok('license')))) - - # License files - td_class = ["centered"] - if pkg.is_status_ok('license-files'): - td_class.append("correct") - else: - td_class.append("wrong") - f.write(" %s\n" % - (" ".join(td_class), boolean_str(pkg.is_status_ok('license-files')))) - - # Hash - td_class = ["centered"] - if pkg.is_status_ok('hash'): - td_class.append("correct") - else: - td_class.append("wrong") - f.write(" %s\n" % - (" ".join(td_class), boolean_str(pkg.is_status_ok('hash')))) - - # Current version - if len(pkg.current_version) > 20: - current_version = pkg.current_version[:20] + "..." - else: - current_version = pkg.current_version - f.write(" %s\n" % current_version) - - # Latest version - if pkg.latest_version['status'] == RM_API_STATUS_ERROR: - td_class.append("version-error") - if pkg.latest_version['version'] is None: - td_class.append("version-unknown") - elif pkg.latest_version['version'] != pkg.current_version: - td_class.append("version-needs-update") - else: - td_class.append("version-good") - - if pkg.latest_version['status'] == RM_API_STATUS_ERROR: - latest_version_text = "Error" - elif pkg.latest_version['status'] == RM_API_STATUS_NOT_FOUND: - latest_version_text = "Not found" - else: - if pkg.latest_version['version'] is None: - latest_version_text = "Found, but no version" - else: - latest_version_text = "%s" % \ - (pkg.latest_version['id'], str(pkg.latest_version['version'])) - - latest_version_text += "
" - - if pkg.latest_version['status'] == RM_API_STATUS_FOUND_BY_DISTRO: - latest_version_text += "found by distro" - else: - latest_version_text += "found by guess" - - f.write(" %s\n" % - (" ".join(td_class), latest_version_text)) - - # Warnings - td_class = ["centered"] - if pkg.warnings == 0: - td_class.append("correct") - else: - td_class.append("wrong") - f.write(" %d\n" % - (" ".join(td_class), pkg.warnings)) - - # URL status - td_class = ["centered"] - url_str = pkg.status['url'][1] - if pkg.status['url'][0] in ("error", "warning"): - td_class.append("missing_url") - if pkg.status['url'][0] == "error": - td_class.append("invalid_url") - url_str = "%s" % (pkg.url, pkg.status['url'][1]) - else: - td_class.append("good_url") - url_str = "Link" % pkg.url - f.write(" %s\n" % - (" ".join(td_class), url_str)) - - # CVEs - td_class = ["centered"] - if pkg.is_status_ok("cve"): - td_class.append("cve-ok") - elif pkg.is_status_error("cve"): - td_class.append("cve-nok") - elif pkg.is_status_na("cve") and not pkg.is_actual_package: - td_class.append("cve-ok") - else: - td_class.append("cve-unknown") - f.write(" \n" % " ".join(td_class)) - if pkg.is_status_error("cve"): - for cve in pkg.cves: - f.write(" %s
\n" % (cve, cve)) - elif pkg.is_status_na("cve"): - f.write(" %s" % pkg.status['cve'][1]) - else: - f.write(" N/A\n") - f.write(" \n") - - # CVEs Ignored - td_class = ["centered"] - if pkg.ignored_cves: - td_class.append("cve_ignored") - f.write(" \n" % " ".join(td_class)) - for ignored_cve in pkg.ignored_cves: - f.write("
%s
\n" % (ignored_cve, ignored_cve)) - f.write(" \n") - - # CPE ID - td_class = ["left"] - if pkg.is_status_ok("cpe"): - td_class.append("cpe-ok") - elif pkg.is_status_error("cpe"): - td_class.append("cpe-nok") - elif pkg.is_status_na("cpe") and not pkg.is_actual_package: - td_class.append("cpe-ok") - else: - td_class.append("cpe-unknown") - f.write(" \n" % " ".join(td_class)) - if pkg.cpeid: - f.write(" %s\n" % pkg.cpeid) - if not pkg.is_status_ok("cpe"): - if pkg.is_actual_package and pkg.current_version: - if pkg.cpeid: - f.write("
%s
(Search)\n" % # noqa: E501 - (pkg.status['cpe'][1], ":".join(pkg.cpeid.split(":")[0:5]))) - else: - f.write(" %s (Search)\n" % # noqa: E501 - (pkg.status['cpe'][1], pkg.name)) - else: - f.write(" %s\n" % pkg.status['cpe'][1]) - - f.write(" \n") - - f.write(" \n") - - -def dump_html_all_pkgs(f, packages): - f.write(""" - - - - - - - - - - - - - - - - -""") - for pkg in sorted(packages): - dump_html_pkg(f, pkg) - f.write("
PackagePatch countInfrastructureLicenseLicense filesHash fileCurrent versionLatest versionWarningsUpstream URLCVEsCVEs IgnoredCPE ID
") - - -def dump_html_stats(f, stats): - f.write("\n") - f.write("\n") - infras = [infra[6:] for infra in stats.keys() if infra.startswith("infra-")] - for infra in infras: - f.write(" \n" % - (infra, stats["infra-%s" % infra])) - f.write(" \n" % - stats["license"]) - f.write(" \n" % - stats["no-license"]) - f.write(" \n" % - stats["license-files"]) - f.write(" \n" % - stats["no-license-files"]) - f.write(" \n" % - stats["hash"]) - f.write(" \n" % - stats["no-hash"]) - f.write(" \n" % - stats["patches"]) - f.write("\n" % - stats["rmo-mapping"]) - f.write("\n" % - stats["rmo-no-mapping"]) - f.write("\n" % - stats["version-uptodate"]) - f.write("\n" % - stats["version-not-uptodate"]) - f.write("\n" % - stats["version-unknown"]) - f.write("\n" % - stats["pkg-cves"]) - f.write("\n" % - stats["total-cves"]) - f.write("\n" % - stats["cpe-id"]) - f.write("\n" % - stats["no-cpe-id"]) - f.write("
Packages using the %s infrastructure%s
Packages having license information%s
Packages not having license information%s
Packages having license files information%s
Packages not having license files information%s
Packages having a hash file%s
Packages not having a hash file%s
Total number of patches%s
Packages having a mapping on release-monitoring.org%s
Packages lacking a mapping on release-monitoring.org%s
Packages that are up-to-date%s
Packages that are not up-to-date%s
Packages with no known upstream version%s
Packages affected by CVEs%s
Total number of CVEs affecting all packages%s
Packages with CPE ID%s
Packages without CPE ID%s
\n") - - -def dump_html_gen_info(f, date, commit): - # Updated on Mon Feb 19 08:12:08 CET 2018, Git commit aa77030b8f5e41f1c53eb1c1ad664b8c814ba032 - f.write("

Updated on %s, git commit %s

\n" % (str(date), commit)) - - -def dump_html(packages, stats, date, commit, output): - with open(output, 'w') as f: - f.write(html_header) - dump_html_all_pkgs(f, packages) - dump_html_stats(f, stats) - dump_html_gen_info(f, date, commit) - f.write(html_footer) - - -def dump_json(packages, defconfigs, stats, date, commit, output): - # Format packages as a dictionnary instead of a list - # Exclude local field that does not contains real date - excluded_fields = ['url_worker', 'name'] - pkgs = { - pkg.name: { - k: v - for k, v in pkg.__dict__.items() - if k not in excluded_fields - } for pkg in packages - } - defconfigs = { - d.name: { - k: v - for k, v in d.__dict__.items() - } for d in defconfigs - } - # Aggregate infrastructures into a single dict entry - statistics = { - k: v - for k, v in stats.items() - if not k.startswith('infra-') - } - statistics['infra'] = {k[6:]: v for k, v in stats.items() if k.startswith('infra-')} - # The actual structure to dump, add commit and date to it - final = {'packages': pkgs, - 'stats': statistics, - 'defconfigs': defconfigs, - 'package_status_checks': Package.status_checks, - 'commit': commit, - 'date': str(date)} - - with open(output, 'w') as f: - json.dump(final, f, indent=2, separators=(',', ': ')) - f.write('\n') - - -def resolvepath(path): - return os.path.abspath(os.path.expanduser(path)) - - -def parse_args(): - parser = argparse.ArgumentParser() - output = parser.add_argument_group('output', 'Output file(s)') - output.add_argument('--html', dest='html', type=resolvepath, - help='HTML output file') - output.add_argument('--json', dest='json', type=resolvepath, - help='JSON output file') - packages = parser.add_mutually_exclusive_group() - packages.add_argument('-c', dest='configpackages', action='store_true', - help='Apply to packages enabled in current configuration') - packages.add_argument('-n', dest='npackages', type=int, action='store', - help='Number of packages') - packages.add_argument('-p', dest='packages', action='store', - help='List of packages (comma separated)') - parser.add_argument('--nvd-path', dest='nvd_path', - help='Path to the local NVD database', type=resolvepath) - args = parser.parse_args() - if not args.html and not args.json: - parser.error('at least one of --html or --json (or both) is required') - return args - - -def __main__(): - global cvecheck - - args = parse_args() - - if args.nvd_path: - import cve as cvecheck - - if args.packages: - package_list = args.packages.split(",") - elif args.configpackages: - package_list = get_config_packages() - else: - package_list = None - date = datetime.datetime.utcnow() - commit = subprocess.check_output(['git', '-C', brpath, - 'rev-parse', - 'HEAD']).splitlines()[0].decode() - print("Build package list ...") - packages = get_pkglist(args.npackages, package_list) - print("Getting developers ...") - developers = parse_developers() - print("Build defconfig list ...") - defconfigs = get_defconfig_list() - for d in defconfigs: - d.set_developers(developers) - print("Getting package make info ...") - package_init_make_info() - print("Getting package details ...") - for pkg in packages: - pkg.set_infra() - pkg.set_license() - pkg.set_hash_info() - pkg.set_patch_count() - pkg.set_check_package_warnings() - pkg.set_current_version() - pkg.set_cpeid() - pkg.set_url() - pkg.set_ignored_cves() - pkg.set_developers(developers) - print("Checking URL status") - loop = asyncio.get_event_loop() - loop.run_until_complete(check_package_urls(packages)) - print("Getting latest versions ...") - loop = asyncio.get_event_loop() - loop.run_until_complete(check_package_latest_version(packages)) - if args.nvd_path: - print("Checking packages CVEs") - check_package_cves(args.nvd_path, packages) - check_package_cpes(args.nvd_path, packages) - print("Calculate stats") - stats = calculate_stats(packages) - if args.html: - print("Write HTML") - dump_html(packages, stats, date, commit, args.html) - if args.json: - print("Write JSON") - dump_json(packages, defconfigs, stats, date, commit, args.json) - - -__main__() diff --git a/buildroot-2021.05/support/scripts/pycompile.py b/buildroot-2021.05/support/scripts/pycompile.py deleted file mode 100644 index b8cd3cee..00000000 --- a/buildroot-2021.05/support/scripts/pycompile.py +++ /dev/null @@ -1,93 +0,0 @@ -#!/usr/bin/env python - -""" -Byte compile all .py files from provided directories. This script is an -alternative implementation of compileall.compile_dir written with -cross-compilation in mind. -""" - -from __future__ import print_function - -import argparse -import os -import py_compile -import re -import sys - - -def compile_one(host_path, strip_root=None, verbose=False): - """ - Compile a .py file into a .pyc file located next to it. - - :arg host_path: - Absolute path to the file to compile on the host running the build. - :arg strip_root: - Prefix to remove from the original source paths encoded in compiled - files. - :arg verbose: - Print compiled file paths. - """ - if os.path.islink(host_path) or not os.path.isfile(host_path): - return # only compile real files - - if not re.match(r"^[_A-Za-z][_A-Za-z0-9]*\.py$", - os.path.basename(host_path)): - return # only compile "importable" python modules - - if strip_root is not None: - # determine the runtime path of the file (i.e.: relative path to root - # dir prepended with "/"). - runtime_path = os.path.join("/", os.path.relpath(host_path, strip_root)) - else: - runtime_path = host_path - - if verbose: - print(" PYC {}".format(runtime_path)) - - # will raise an error if the file cannot be compiled - py_compile.compile(host_path, cfile=host_path + "c", - dfile=runtime_path, doraise=True) - - -def existing_dir_abs(arg): - """ - argparse type callback that checks that argument is a directory and returns - its absolute path. - """ - if not os.path.isdir(arg): - raise argparse.ArgumentTypeError('no such directory: {!r}'.format(arg)) - return os.path.abspath(arg) - - -def main(): - parser = argparse.ArgumentParser(description=__doc__) - parser.add_argument("dirs", metavar="DIR", nargs="+", type=existing_dir_abs, - help="Directory to recursively scan and compile") - parser.add_argument("--strip-root", metavar="ROOT", type=existing_dir_abs, - help=""" - Prefix to remove from the original source paths encoded - in compiled files - """) - parser.add_argument("--verbose", action="store_true", - help="Print compiled files") - - args = parser.parse_args() - - try: - for d in args.dirs: - if args.strip_root and ".." in os.path.relpath(d, args.strip_root): - parser.error("DIR: not inside ROOT dir: {!r}".format(d)) - for parent, _, files in os.walk(d): - for f in files: - compile_one(os.path.join(parent, f), args.strip_root, - args.verbose) - - except Exception as e: - print("error: {}".format(e)) - return 1 - - return 0 - - -if __name__ == "__main__": - sys.exit(main()) diff --git a/buildroot-2021.05/support/scripts/size-stats b/buildroot-2021.05/support/scripts/size-stats deleted file mode 100755 index dea3a600..00000000 --- a/buildroot-2021.05/support/scripts/size-stats +++ /dev/null @@ -1,308 +0,0 @@ -#!/usr/bin/env python - -# Copyright (C) 2014 by Thomas Petazzoni - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -import sys -import os -import os.path -import argparse -import csv -import collections -import math - -try: - import matplotlib - matplotlib.use('Agg') - import matplotlib.font_manager as fm - import matplotlib.pyplot as plt -except ImportError: - sys.stderr.write("You need python-matplotlib to generate the size graph\n") - exit(1) - - -class Config: - biggest_first = False - iec = False - size_limit = 0.01 - colors = ['#e60004', '#f28e00', '#ffed00', '#940084', - '#2e1d86', '#0068b5', '#009836', '#97c000'] - - -# -# This function adds a new file to 'filesdict', after checking its -# size. The 'filesdict' contain the relative path of the file as the -# key, and as the value a tuple containing the name of the package to -# which the file belongs and the size of the file. -# -# filesdict: the dict to which the file is added -# relpath: relative path of the file -# fullpath: absolute path to the file -# pkg: package to which the file belongs -# -def add_file(filesdict, relpath, abspath, pkg): - if not os.path.exists(abspath): - return - if os.path.islink(abspath): - return - sz = os.stat(abspath).st_size - filesdict[relpath] = (pkg, sz) - - -# -# This function returns a dict where each key is the path of a file in -# the root filesystem, and the value is a tuple containing two -# elements: the name of the package to which this file belongs and the -# size of the file. -# -# builddir: path to the Buildroot output directory -# -def build_package_dict(builddir): - filesdict = {} - with open(os.path.join(builddir, "build", "packages-file-list.txt")) as f: - for l in f.readlines(): - pkg, fpath = l.split(",", 1) - # remove the initial './' in each file path - fpath = fpath.strip()[2:] - fullpath = os.path.join(builddir, "target", fpath) - add_file(filesdict, fpath, fullpath, pkg) - return filesdict - - -# -# This function builds a dictionary that contains the name of a -# package as key, and the size of the files installed by this package -# as the value. -# -# filesdict: dictionary with the name of the files as key, and as -# value a tuple containing the name of the package to which the files -# belongs, and the size of the file. As returned by -# build_package_dict. -# -# builddir: path to the Buildroot output directory -# -def build_package_size(filesdict, builddir): - pkgsize = collections.defaultdict(int) - - seeninodes = set() - for root, _, files in os.walk(os.path.join(builddir, "target")): - for f in files: - fpath = os.path.join(root, f) - if os.path.islink(fpath): - continue - - st = os.stat(fpath) - if st.st_ino in seeninodes: - # hard link - continue - else: - seeninodes.add(st.st_ino) - - frelpath = os.path.relpath(fpath, os.path.join(builddir, "target")) - if frelpath not in filesdict: - print("WARNING: %s is not part of any package" % frelpath) - pkg = "unknown" - else: - pkg = filesdict[frelpath][0] - - pkgsize[pkg] += st.st_size - - return pkgsize - - -# -# Given a dict returned by build_package_size(), this function -# generates a pie chart of the size installed by each package. -# -# pkgsize: dictionary with the name of the package as a key, and the -# size as the value, as returned by build_package_size. -# -# outputf: output file for the graph -# -def draw_graph(pkgsize, outputf): - def size2string(sz): - if Config.iec: - divider = 1024.0 - prefixes = ['', 'Ki', 'Mi', 'Gi', 'Ti'] - else: - divider = 1000.0 - prefixes = ['', 'k', 'M', 'G', 'T'] - while sz > divider and len(prefixes) > 1: - prefixes = prefixes[1:] - sz = sz/divider - # precision is made so that there are always at least three meaningful - # digits displayed (e.g. '3.14' and '10.4', not just '3' and '10') - precision = int(2-math.floor(math.log10(sz))) if sz < 1000 else 0 - return '{:.{prec}f} {}B'.format(sz, prefixes[0], prec=precision) - - total = sum(pkgsize.values()) - labels = [] - values = [] - other_value = 0 - unknown_value = 0 - for (p, sz) in sorted(pkgsize.items(), key=lambda x: x[1], - reverse=Config.biggest_first): - if sz < (total * Config.size_limit): - other_value += sz - elif p == "unknown": - unknown_value = sz - else: - labels.append("%s (%s)" % (p, size2string(sz))) - values.append(sz) - if unknown_value != 0: - labels.append("Unknown (%s)" % (size2string(unknown_value))) - values.append(unknown_value) - if other_value != 0: - labels.append("Other (%s)" % (size2string(other_value))) - values.append(other_value) - - plt.figure() - patches, texts, autotexts = plt.pie(values, labels=labels, - autopct='%1.1f%%', shadow=True, - colors=Config.colors) - # Reduce text size - proptease = fm.FontProperties() - proptease.set_size('xx-small') - plt.setp(autotexts, fontproperties=proptease) - plt.setp(texts, fontproperties=proptease) - - plt.suptitle("Filesystem size per package", fontsize=18, y=.97) - plt.title("Total filesystem size: %s" % (size2string(total)), fontsize=10, - y=.96) - plt.savefig(outputf) - - -# -# Generate a CSV file with statistics about the size of each file, its -# size contribution to the package and to the overall system. -# -# filesdict: dictionary with the name of the files as key, and as -# value a tuple containing the name of the package to which the files -# belongs, and the size of the file. As returned by -# build_package_dict. -# -# pkgsize: dictionary with the name of the package as a key, and the -# size as the value, as returned by build_package_size. -# -# outputf: output CSV file -# -def gen_files_csv(filesdict, pkgsizes, outputf): - total = 0 - for (p, sz) in pkgsizes.items(): - total += sz - with open(outputf, 'w') as csvfile: - wr = csv.writer(csvfile, delimiter=',', quoting=csv.QUOTE_MINIMAL) - wr.writerow(["File name", - "Package name", - "File size", - "Package size", - "File size in package (%)", - "File size in system (%)"]) - for f, (pkgname, filesize) in filesdict.items(): - pkgsize = pkgsizes[pkgname] - - if pkgsize == 0: - percent_pkg = 0 - else: - percent_pkg = float(filesize) / pkgsize * 100 - - percent_total = float(filesize) / total * 100 - - wr.writerow([f, pkgname, filesize, pkgsize, - "%.1f" % percent_pkg, - "%.1f" % percent_total]) - - -# -# Generate a CSV file with statistics about the size of each package, -# and their size contribution to the overall system. -# -# pkgsize: dictionary with the name of the package as a key, and the -# size as the value, as returned by build_package_size. -# -# outputf: output CSV file -# -def gen_packages_csv(pkgsizes, outputf): - total = sum(pkgsizes.values()) - with open(outputf, 'w') as csvfile: - wr = csv.writer(csvfile, delimiter=',', quoting=csv.QUOTE_MINIMAL) - wr.writerow(["Package name", "Package size", - "Package size in system (%)"]) - for (pkg, size) in pkgsizes.items(): - wr.writerow([pkg, size, "%.1f" % (float(size) / total * 100)]) - - -# -# Our special action for --iec, --binary, --si, --decimal -# -class PrefixAction(argparse.Action): - def __init__(self, option_strings, dest, **kwargs): - for key in ["type", "nargs"]: - if key in kwargs: - raise ValueError('"{}" not allowed'.format(key)) - super(PrefixAction, self).__init__(option_strings, dest, nargs=0, - type=bool, **kwargs) - - def __call__(self, parser, namespace, values, option_string=None): - setattr(namespace, self.dest, option_string in ["--iec", "--binary"]) - - -def main(): - parser = argparse.ArgumentParser(description='Draw size statistics graphs') - - parser.add_argument("--builddir", '-i', metavar="BUILDDIR", required=True, - help="Buildroot output directory") - parser.add_argument("--graph", '-g', metavar="GRAPH", - help="Graph output file (.pdf or .png extension)") - parser.add_argument("--file-size-csv", '-f', metavar="FILE_SIZE_CSV", - help="CSV output file with file size statistics") - parser.add_argument("--package-size-csv", '-p', metavar="PKG_SIZE_CSV", - help="CSV output file with package size statistics") - parser.add_argument("--biggest-first", action='store_true', - help="Sort packages in decreasing size order, " + - "rather than in increasing size order") - parser.add_argument("--iec", "--binary", "--si", "--decimal", - action=PrefixAction, - help="Use IEC (binary, powers of 1024) or SI (decimal, " - "powers of 1000, the default) prefixes") - parser.add_argument("--size-limit", "-l", type=float, - help='Under this size ratio, files are accounted to ' + - 'the generic "Other" package. Default: 0.01 (1%%)') - args = parser.parse_args() - - Config.biggest_first = args.biggest_first - Config.iec = args.iec - if args.size_limit is not None: - if args.size_limit < 0.0 or args.size_limit > 1.0: - parser.error("--size-limit must be in [0.0..1.0]") - Config.size_limit = args.size_limit - - # Find out which package installed what files - pkgdict = build_package_dict(args.builddir) - - # Collect the size installed by each package - pkgsize = build_package_size(pkgdict, args.builddir) - - if args.graph: - draw_graph(pkgsize, args.graph) - if args.file_size_csv: - gen_files_csv(pkgdict, pkgsize, args.file_size_csv) - if args.package_size_csv: - gen_packages_csv(pkgsize, args.package_size_csv) - - -if __name__ == "__main__": - main() diff --git a/buildroot-2021.05/support/testing/conf/minimal-x86-qemu-kernel.config b/buildroot-2021.05/support/testing/conf/minimal-x86-qemu-kernel.config deleted file mode 100644 index cc8ee6a7..00000000 --- a/buildroot-2021.05/support/testing/conf/minimal-x86-qemu-kernel.config +++ /dev/null @@ -1,49 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_SMP=y -CONFIG_HYPERVISOR_GUEST=y -CONFIG_PARAVIRT=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_VIRTIO_BLK=y -CONFIG_BLK_DEV_SD=y -CONFIG_BLK_DEV_SR=y -CONFIG_SCSI_VIRTIO=y -CONFIG_ATA=y -CONFIG_ATA_PIIX=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y -CONFIG_NE2K_PCI=y -CONFIG_8139CP=y -CONFIG_INPUT_EVDEV=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_HW_RANDOM_VIRTIO=m -CONFIG_DRM=y -CONFIG_DRM_BOCHS=y -CONFIG_DRM_QXL=y -CONFIG_DRM_VIRTIO_GPU=y -CONFIG_SOUND=y -CONFIG_SND=y -CONFIG_SND_HDA_INTEL=y -CONFIG_SND_HDA_GENERIC=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_UHCI_HCD=y -CONFIG_USB_STORAGE=y -CONFIG_VIRTIO_PCI=y -CONFIG_VIRTIO_BALLOON=y -CONFIG_VIRTIO_INPUT=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_EXT4_FS=y -CONFIG_ISO9660_FS=y -CONFIG_ZISOFS=y -CONFIG_JOLIET=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/support/testing/infra/__init__.py b/buildroot-2021.05/support/testing/infra/__init__.py deleted file mode 100644 index 6522a265..00000000 --- a/buildroot-2021.05/support/testing/infra/__init__.py +++ /dev/null @@ -1,114 +0,0 @@ -import os -import re -import sys -import tempfile -import subprocess -from urllib.request import urlopen -from urllib.error import HTTPError, URLError - -ARTIFACTS_URL = "http://autobuild.buildroot.net/artefacts/" -BASE_DIR = os.path.realpath(os.path.join(os.path.dirname(__file__), "../../..")) - - -def open_log_file(builddir, stage, logtofile=True): - """ - Open a file for logging and return its handler. - If logtofile is True, returns sys.stdout. Otherwise opens a file - with a suitable name in the build directory. - """ - if logtofile: - fhandle = open("{}-{}.log".format(builddir, stage), 'a+') - else: - fhandle = sys.stdout - return fhandle - - -def basepath(relpath=""): - """Return the absolute path for a file or directory relative to the Buildroot top directory.""" - return os.path.join(BASE_DIR, relpath) - - -def filepath(relpath): - return os.path.join(BASE_DIR, "support/testing", relpath) - - -def download(dldir, filename): - finalpath = os.path.join(dldir, filename) - if os.path.exists(finalpath): - return finalpath - - if not os.path.exists(dldir): - os.makedirs(dldir) - - tmpfile = tempfile.mktemp(dir=dldir) - print("Downloading to {}".format(tmpfile)) - - try: - url_fh = urlopen(os.path.join(ARTIFACTS_URL, filename)) - with open(tmpfile, "w+b") as tmpfile_fh: - tmpfile_fh.write(url_fh.read()) - except (HTTPError, URLError) as err: - os.unlink(tmpfile) - raise err - - print("Renaming from {} to {}".format(tmpfile, finalpath)) - os.rename(tmpfile, finalpath) - return finalpath - - -def run_cmd_on_host(builddir, cmd): - """Call subprocess.check_output and return the text output.""" - out = subprocess.check_output(cmd, - stderr=open(os.devnull, "w"), - cwd=builddir, - env={"LANG": "C"}, - universal_newlines=True) - return out - - -def get_elf_arch_tag(builddir, prefix, fpath, tag): - """ - Runs the cross readelf on 'fpath', then extracts the value of tag 'tag'. - Example: - >>> get_elf_arch_tag('output', 'arm-none-linux-gnueabi-', - 'bin/busybox', 'Tag_CPU_arch') - v5TEJ - >>> - """ - cmd = ["host/bin/{}-readelf".format(prefix), - "-A", os.path.join("target", fpath)] - out = run_cmd_on_host(builddir, cmd) - regexp = re.compile(r"^ {}: (.*)$".format(tag)) - for line in out.splitlines(): - m = regexp.match(line) - if not m: - continue - return m.group(1) - return None - - -def get_file_arch(builddir, prefix, fpath): - return get_elf_arch_tag(builddir, prefix, fpath, "Tag_CPU_arch") - - -def get_elf_prog_interpreter(builddir, prefix, fpath): - """ - Runs the cross readelf on 'fpath' to extract the program interpreter - name and returns it. - Example: - >>> get_elf_prog_interpreter('br-tests/TestExternalToolchainLinaroArm', - 'arm-linux-gnueabihf', - 'bin/busybox') - /lib/ld-linux-armhf.so.3 - >>> - """ - cmd = ["host/bin/{}-readelf".format(prefix), - "-l", os.path.join("target", fpath)] - out = run_cmd_on_host(builddir, cmd) - regexp = re.compile(r"^ *\[Requesting program interpreter: (.*)\]$") - for line in out.splitlines(): - m = regexp.match(line) - if not m: - continue - return m.group(1) - return None diff --git a/buildroot-2021.05/support/testing/infra/basetest.py b/buildroot-2021.05/support/testing/infra/basetest.py deleted file mode 100644 index a97a8144..00000000 --- a/buildroot-2021.05/support/testing/infra/basetest.py +++ /dev/null @@ -1,92 +0,0 @@ -import unittest -import os -import datetime - -from infra.builder import Builder -from infra.emulator import Emulator - -BASIC_TOOLCHAIN_CONFIG = \ - """ - BR2_arm=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y - BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y - BR2_TOOLCHAIN_EXTERNAL_URL="https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--uclibc--bleeding-edge-2018.11-1.tar.bz2" - BR2_TOOLCHAIN_EXTERNAL_GCC_8=y - BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y - BR2_TOOLCHAIN_EXTERNAL_LOCALE=y - BR2_TOOLCHAIN_HAS_THREADS_DEBUG=y - BR2_TOOLCHAIN_EXTERNAL_CXX=y - """ - -MINIMAL_CONFIG = \ - """ - BR2_INIT_NONE=y - BR2_SYSTEM_BIN_SH_NONE=y - # BR2_PACKAGE_BUSYBOX is not set - # BR2_TARGET_ROOTFS_TAR is not set - """ - - -class BRConfigTest(unittest.TestCase): - config = None - br2_external = list() - downloaddir = None - outputdir = None - logtofile = True - keepbuilds = False - jlevel = 0 - timeout_multiplier = 1 - - def __init__(self, names): - super(BRConfigTest, self).__init__(names) - self.testname = self.__class__.__name__ - self.builddir = self.outputdir and os.path.join(self.outputdir, self.testname) - self.config += '\nBR2_DL_DIR="{}"\n'.format(self.downloaddir) - self.config += "\nBR2_JLEVEL={}\n".format(self.jlevel) - - def show_msg(self, msg): - print("{} {:40s} {}".format(datetime.datetime.now().strftime("%H:%M:%S"), - self.testname, msg)) - - def setUp(self): - self.show_msg("Starting") - self.b = Builder(self.config, self.builddir, self.logtofile) - - if not self.keepbuilds: - self.b.delete() - - if not self.b.is_finished(): - self.b.configure(make_extra_opts=["BR2_EXTERNAL={}".format(":".join(self.br2_external))]) - - def tearDown(self): - self.show_msg("Cleaning up") - if self.b and not self.keepbuilds: - self.b.delete() - - -class BRTest(BRConfigTest): - def __init__(self, names): - super(BRTest, self).__init__(names) - self.emulator = None - - def setUp(self): - super(BRTest, self).setUp() - if not self.b.is_finished(): - self.show_msg("Building") - self.b.build() - self.show_msg("Building done") - - self.emulator = Emulator(self.builddir, self.downloaddir, - self.logtofile, self.timeout_multiplier) - - def tearDown(self): - if self.emulator: - self.emulator.stop() - super(BRTest, self).tearDown() - - # Run the given 'cmd' with a 'timeout' on the target and - # assert that the command succeeded - def assertRunOk(self, cmd, timeout=-1): - _, exit_code = self.emulator.run(cmd, timeout) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/infra/emulator.py b/buildroot-2021.05/support/testing/infra/emulator.py deleted file mode 100644 index 5611ec96..00000000 --- a/buildroot-2021.05/support/testing/infra/emulator.py +++ /dev/null @@ -1,125 +0,0 @@ -import pexpect - -import infra - - -class Emulator(object): - - def __init__(self, builddir, downloaddir, logtofile, timeout_multiplier): - self.qemu = None - self.downloaddir = downloaddir - self.logfile = infra.open_log_file(builddir, "run", logtofile) - # We use elastic runners on the cloud to runs our tests. Those runners - # can take a long time to run the emulator. Use a timeout multiplier - # when running the tests to avoid sporadic failures. - self.timeout_multiplier = timeout_multiplier - - # Start Qemu to boot the system - # - # arch: Qemu architecture to use - # - # kernel: path to the kernel image, or the special string - # 'builtin'. 'builtin' means a pre-built kernel image will be - # downloaded from ARTEFACTS_URL and suitable options are - # automatically passed to qemu and added to the kernel cmdline. So - # far only armv5, armv7 and i386 builtin kernels are available. - # If None, then no kernel is used, and we assume a bootable device - # will be specified. - # - # kernel_cmdline: array of kernel arguments to pass to Qemu -append option - # - # options: array of command line options to pass to Qemu - # - def boot(self, arch, kernel=None, kernel_cmdline=None, options=None): - if arch in ["armv7", "armv5"]: - qemu_arch = "arm" - else: - qemu_arch = arch - - qemu_cmd = ["qemu-system-{}".format(qemu_arch), - "-serial", "stdio", - "-display", "none", - "-m", "256"] - - if options: - qemu_cmd += options - - if kernel_cmdline is None: - kernel_cmdline = [] - - if kernel: - if kernel == "builtin": - if arch in ["armv7", "armv5"]: - kernel_cmdline.append("console=ttyAMA0") - - if arch == "armv7": - kernel = infra.download(self.downloaddir, - "kernel-vexpress") - dtb = infra.download(self.downloaddir, - "vexpress-v2p-ca9.dtb") - qemu_cmd += ["-dtb", dtb] - qemu_cmd += ["-M", "vexpress-a9"] - elif arch == "armv5": - kernel = infra.download(self.downloaddir, - "kernel-versatile-4.19") - dtb = infra.download(self.downloaddir, - "versatile-pb-4.19.dtb") - qemu_cmd += ["-dtb", dtb] - qemu_cmd += ["-M", "versatilepb"] - qemu_cmd += ["-device", "virtio-rng-pci"] - - qemu_cmd += ["-kernel", kernel] - - if kernel_cmdline: - qemu_cmd += ["-append", " ".join(kernel_cmdline)] - - self.logfile.write("> starting qemu with '%s'\n" % " ".join(qemu_cmd)) - self.qemu = pexpect.spawn(qemu_cmd[0], qemu_cmd[1:], - timeout=5 * self.timeout_multiplier, - encoding='utf-8', - env={"QEMU_AUDIO_DRV": "none"}) - # We want only stdout into the log to avoid double echo - self.qemu.logfile_read = self.logfile - - # Wait for the login prompt to appear, and then login as root with - # the provided password, or no password if not specified. - def login(self, password=None): - # The login prompt can take some time to appear when running multiple - # instances in parallel, so set the timeout to a large value - index = self.qemu.expect(["buildroot login:", pexpect.TIMEOUT], - timeout=60 * self.timeout_multiplier) - if index != 0: - self.logfile.write("==> System does not boot") - raise SystemError("System does not boot") - - self.qemu.sendline("root") - if password: - self.qemu.expect("Password:") - self.qemu.sendline(password) - index = self.qemu.expect(["# ", pexpect.TIMEOUT]) - if index != 0: - raise SystemError("Cannot login") - self.run("dmesg -n 1") - - # Run the given 'cmd' with a 'timeout' on the target - # return a tuple (output, exit_code) - def run(self, cmd, timeout=-1): - self.qemu.sendline(cmd) - if timeout != -1: - timeout *= self.timeout_multiplier - self.qemu.expect("# ", timeout=timeout) - # Remove double carriage return from qemu stdout so str.splitlines() - # works as expected. - output = self.qemu.before.replace("\r\r", "\r").splitlines()[1:] - - self.qemu.sendline("echo $?") - self.qemu.expect("# ") - exit_code = self.qemu.before.splitlines()[2] - exit_code = int(exit_code) - - return output, exit_code - - def stop(self): - if self.qemu is None: - return - self.qemu.terminate(force=True) diff --git a/buildroot-2021.05/support/testing/tests/boot/test_atf.py b/buildroot-2021.05/support/testing/tests/boot/test_atf.py deleted file mode 100644 index e6c11aa7..00000000 --- a/buildroot-2021.05/support/testing/tests/boot/test_atf.py +++ /dev/null @@ -1,57 +0,0 @@ -import infra.basetest - - -class TestATFVexpress(infra.basetest.BRTest): - config = \ - """ - BR2_aarch64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git" - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.2" - BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="juno" - BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y - BR2_TARGET_UBOOT=y - BR2_TARGET_UBOOT_BOARDNAME="vexpress_aemv8a_juno" - BR2_TARGET_UBOOT_CUSTOM_VERSION=y - BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" - BR2_TARGET_VEXPRESS_FIRMWARE=y - """ - - def test_run(self): - pass - - -class TestATFAllwinner(infra.basetest.BRTest): - config = \ - """ - BR2_aarch64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git" - BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1" - BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f" - BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y - BR2_TARGET_UBOOT=y - BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y - BR2_TARGET_UBOOT_CUSTOM_VERSION=y - BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" - BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m64" - BR2_TARGET_UBOOT_NEEDS_DTC=y - BR2_TARGET_UBOOT_NEEDS_PYTHON3=y - BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y - BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y - BR2_TARGET_UBOOT_FORMAT_CUSTOM=y - BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" - BR2_TARGET_UBOOT_SPL=y - BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin" - """ - - def test_run(self): - pass diff --git a/buildroot-2021.05/support/testing/tests/core/test_file_capabilities.py b/buildroot-2021.05/support/testing/tests/core/test_file_capabilities.py deleted file mode 100644 index b9ece18d..00000000 --- a/buildroot-2021.05/support/testing/tests/core/test_file_capabilities.py +++ /dev/null @@ -1,47 +0,0 @@ -import os -import subprocess - -import infra.basetest - - -class TestFileCapabilities(infra.basetest.BRTest): - config = \ - """ - BR2_arm=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt {}" - BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES=y - BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.3" - BR2_LINUX_KERNEL_DEFCONFIG="vexpress" - BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" - BR2_LINUX_KERNEL_DTS_SUPPORT=y - BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" - BR2_PACKAGE_LIBCAP=y - BR2_PACKAGE_LIBCAP_TOOLS=y - BR2_TARGET_ROOTFS_SQUASHFS=y - # BR2_TARGET_ROOTFS_TAR is not set - """.format(infra.filepath("tests/core/device_table2.txt"), - infra.filepath("tests/core/squashfs-xattr-kernel.config")) - - def test_run(self): - img = os.path.join(self.builddir, "images", "rootfs.squashfs") - subprocess.call(["truncate", "-s", "%1M", img]) - - self.emulator.boot(arch="armv7", - kernel=os.path.join(self.builddir, "images", "zImage"), - kernel_cmdline=["root=/dev/mmcblk0", - "rootfstype=squashfs"], - options=["-drive", "file={},if=sd,format=raw".format(img), - "-M", "vexpress-a9", - "-dtb", os.path.join(self.builddir, "images", "vexpress-v2p-ca9.dtb")]) - self.emulator.login() - - cmd = "getcap -v /usr/sbin/getcap" - output, _ = self.emulator.run(cmd) - self.assertIn("cap_kill", output[0]) - self.assertIn("cap_sys_nice", output[0]) - self.assertIn("cap_sys_time", output[0]) - self.assertIn("=eip", output[0]) diff --git a/buildroot-2021.05/support/testing/tests/fs/test_ext.py b/buildroot-2021.05/support/testing/tests/fs/test_ext.py deleted file mode 100644 index 16b308cf..00000000 --- a/buildroot-2021.05/support/testing/tests/fs/test_ext.py +++ /dev/null @@ -1,121 +0,0 @@ -import os - -import infra.basetest - -VOLNAME_PROP = "Filesystem volume name" -REVISION_PROP = "Filesystem revision #" -FEATURES_PROP = "Filesystem features" -BLOCKCNT_PROP = "Block count" -INODECNT_PROP = "Inode count" -RESBLKCNT_PROP = "Reserved block count" - -CHECK_FS_TYPE_CMD = "mount | grep '/dev/root on / type {}'" - - -def dumpe2fs_run(builddir, image): - cmd = ["host/sbin/dumpe2fs", os.path.join("images", image)] - ret = infra.run_cmd_on_host(builddir, cmd) - return ret.strip().splitlines() - - -def dumpe2fs_getprop(out, prop): - for line in out: - fields = line.split(": ") - if fields[0] == prop: - return fields[1].strip() - - -def boot_img_and_check_fs_type(emulator, builddir, fs_type): - img = os.path.join(builddir, "images", "rootfs.{}".format(fs_type)) - emulator.boot(arch="armv7", - kernel="builtin", - kernel_cmdline=["root=/dev/mmcblk0", - "rootfstype={}".format(fs_type)], - options=["-drive", "file={},if=sd".format(img)]) - emulator.login() - _, exit_code = emulator.run(CHECK_FS_TYPE_CMD.format(fs_type)) - return exit_code - - -class TestExt2(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_EXT2=y - BR2_TARGET_ROOTFS_EXT2_2r0=y - BR2_TARGET_ROOTFS_EXT2_LABEL="foobaz" - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - out = dumpe2fs_run(self.builddir, "rootfs.ext2") - self.assertEqual(dumpe2fs_getprop(out, VOLNAME_PROP), "foobaz") - self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "0 (original)") - - exit_code = boot_img_and_check_fs_type(self.emulator, - self.builddir, "ext2") - self.assertEqual(exit_code, 0) - - -class TestExt2r1(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_EXT2=y - BR2_TARGET_ROOTFS_EXT2_2r1=y - BR2_TARGET_ROOTFS_EXT2_LABEL="foobar" - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - out = dumpe2fs_run(self.builddir, "rootfs.ext2") - self.assertEqual(dumpe2fs_getprop(out, VOLNAME_PROP), "foobar") - self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "1 (dynamic)") - self.assertNotIn("has_journal", dumpe2fs_getprop(out, FEATURES_PROP)) - - exit_code = boot_img_and_check_fs_type(self.emulator, - self.builddir, "ext2") - self.assertEqual(exit_code, 0) - - -class TestExt3(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_EXT2=y - BR2_TARGET_ROOTFS_EXT2_3=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - out = dumpe2fs_run(self.builddir, "rootfs.ext3") - self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "1 (dynamic)") - self.assertIn("has_journal", dumpe2fs_getprop(out, FEATURES_PROP)) - self.assertNotIn("extent", dumpe2fs_getprop(out, FEATURES_PROP)) - - exit_code = boot_img_and_check_fs_type(self.emulator, - self.builddir, "ext3") - self.assertEqual(exit_code, 0) - - -class TestExt4(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_EXT2=y - BR2_TARGET_ROOTFS_EXT2_4=y - BR2_TARGET_ROOTFS_EXT2_SIZE="16384" - BR2_TARGET_ROOTFS_EXT2_INODES=3000 - BR2_TARGET_ROOTFS_EXT2_RESBLKS=10 - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - out = dumpe2fs_run(self.builddir, "rootfs.ext4") - self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "1 (dynamic)") - self.assertEqual(dumpe2fs_getprop(out, BLOCKCNT_PROP), "16384") - # Yes there are 8 more inodes than requested - self.assertEqual(dumpe2fs_getprop(out, INODECNT_PROP), "3008") - self.assertEqual(dumpe2fs_getprop(out, RESBLKCNT_PROP), "1638") - self.assertIn("has_journal", dumpe2fs_getprop(out, FEATURES_PROP)) - self.assertIn("extent", dumpe2fs_getprop(out, FEATURES_PROP)) - - exit_code = boot_img_and_check_fs_type(self.emulator, - self.builddir, "ext4") - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/fs/test_f2fs.py b/buildroot-2021.05/support/testing/tests/fs/test_f2fs.py deleted file mode 100644 index 950d4cf2..00000000 --- a/buildroot-2021.05/support/testing/tests/fs/test_f2fs.py +++ /dev/null @@ -1,48 +0,0 @@ -import os - -import infra.basetest - - -def dumpf2fs_getprop(out, prop): - for line in out: - fields = line.split(" = ") - if fields[0] == prop: - return fields[1].strip() - - -class TestF2FS(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_F2FS=y - BR2_TARGET_ROOTFS_F2FS_SIZE="128M" - BR2_TARGET_ROOTFS_F2FS_OVERPROVISION=0 - BR2_TARGET_ROOTFS_F2FS_DISCARD=y - # BR2_TARGET_ROOTFS_TAR is not set - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16.7" - BR2_LINUX_KERNEL_USE_DEFCONFIG=y - BR2_LINUX_KERNEL_DEFCONFIG="vexpress" - BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" - """.format(infra.filepath("conf/f2fs-kernel-fragment.config")) - - def test_run(self): - img = os.path.join(self.builddir, "images", "rootfs.f2fs") - out = infra.run_cmd_on_host(self.builddir, ["host/sbin/dump.f2fs", img]) - out = out.splitlines() - prop = dumpf2fs_getprop(out, "Info: total sectors") - self.assertEqual(prop, "262144 (128 MB)") - - kernel = os.path.join(self.builddir, "images", "zImage") - kernel_cmdline = ["root=/dev/mmcblk0", "rootfstype=f2fs", - "console=ttyAMA0"] - dtb = infra.download(self.downloaddir, "vexpress-v2p-ca9.dtb") - options = ["-M", "vexpress-a9", "-dtb", dtb, - "-drive", "file={},if=sd,format=raw".format(img)] - self.emulator.boot(arch="armv7", kernel=kernel, - kernel_cmdline=kernel_cmdline, - options=options) - self.emulator.login() - cmd = "mount | grep '/dev/root on / type f2fs'" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/fs/test_iso9660.py b/buildroot-2021.05/support/testing/tests/fs/test_iso9660.py deleted file mode 100644 index 68f48408..00000000 --- a/buildroot-2021.05/support/testing/tests/fs/test_iso9660.py +++ /dev/null @@ -1,169 +0,0 @@ -import os - -import infra.basetest - -BASIC_CONFIG = \ - """ - BR2_x86_pentium4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y - BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y - BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-i386-pentium4-full-2017.05-1078-g95b1dae.tar.bz2" - BR2_TOOLCHAIN_EXTERNAL_GCC_6=y - BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2=y - BR2_TOOLCHAIN_EXTERNAL_LOCALE=y - # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set - BR2_TOOLCHAIN_EXTERNAL_CXX=y - BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11" - BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y - BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="{}" - # BR2_TARGET_ROOTFS_TAR is not set - """.format(infra.filepath("conf/minimal-x86-qemu-kernel.config")) - - -def test_mount_internal_external(emulator, builddir, internal=True): - img = os.path.join(builddir, "images", "rootfs.iso9660") - emulator.boot(arch="i386", options=["-cdrom", img]) - emulator.login() - - if internal: - cmd = "mount | grep 'rootfs on / type rootfs'" - else: - cmd = "mount | grep '/dev/root on / type iso9660'" - - _, exit_code = emulator.run(cmd) - return exit_code - - -def test_touch_file(emulator): - _, exit_code = emulator.run("touch test") - return exit_code - -# -# Grub 2 - - -class TestIso9660Grub2External(infra.basetest.BRTest): - config = BASIC_CONFIG + \ - """ - BR2_TARGET_ROOTFS_ISO9660=y - # BR2_TARGET_ROOTFS_ISO9660_INITRD is not set - BR2_TARGET_GRUB2=y - BR2_TARGET_GRUB2_BOOT_PARTITION="cd" - BR2_TARGET_GRUB2_BUILTIN_MODULES="boot linux ext2 fat part_msdos part_gpt normal biosdisk iso9660" - BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" - """.format(infra.filepath("conf/grub2.cfg")) - - def test_run(self): - exit_code = test_mount_internal_external(self.emulator, - self.builddir, internal=False) - self.assertEqual(exit_code, 0) - - exit_code = test_touch_file(self.emulator) - self.assertEqual(exit_code, 1) - - -class TestIso9660Grub2ExternalCompress(infra.basetest.BRTest): - config = BASIC_CONFIG + \ - """ - BR2_TARGET_ROOTFS_ISO9660=y - # BR2_TARGET_ROOTFS_ISO9660_INITRD is not set - BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION=y - BR2_TARGET_GRUB2=y - BR2_TARGET_GRUB2_BOOT_PARTITION="cd" - BR2_TARGET_GRUB2_BUILTIN_MODULES="boot linux ext2 fat part_msdos part_gpt normal biosdisk iso9660" - BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" - """.format(infra.filepath("conf/grub2.cfg")) - - def test_run(self): - exit_code = test_mount_internal_external(self.emulator, - self.builddir, internal=False) - self.assertEqual(exit_code, 0) - - exit_code = test_touch_file(self.emulator) - self.assertEqual(exit_code, 1) - - -class TestIso9660Grub2Internal(infra.basetest.BRTest): - config = BASIC_CONFIG + \ - """ - BR2_TARGET_ROOTFS_ISO9660=y - BR2_TARGET_ROOTFS_ISO9660_INITRD=y - BR2_TARGET_GRUB2=y - BR2_TARGET_GRUB2_BOOT_PARTITION="cd" - BR2_TARGET_GRUB2_BUILTIN_MODULES="boot linux ext2 fat part_msdos part_gpt normal biosdisk iso9660" - BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" - """.format(infra.filepath("conf/grub2.cfg")) - - def test_run(self): - exit_code = test_mount_internal_external(self.emulator, - self.builddir, internal=True) - self.assertEqual(exit_code, 0) - - exit_code = test_touch_file(self.emulator) - self.assertEqual(exit_code, 0) - -# -# Syslinux - - -class TestIso9660SyslinuxExternal(infra.basetest.BRTest): - config = BASIC_CONFIG + \ - """ - BR2_TARGET_ROOTFS_ISO9660=y - # BR2_TARGET_ROOTFS_ISO9660_INITRD is not set - BR2_TARGET_ROOTFS_ISO9660_HYBRID=y - BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" - BR2_TARGET_SYSLINUX=y - """.format(infra.filepath("conf/isolinux.cfg")) - - def test_run(self): - exit_code = test_mount_internal_external(self.emulator, - self.builddir, internal=False) - self.assertEqual(exit_code, 0) - - exit_code = test_touch_file(self.emulator) - self.assertEqual(exit_code, 1) - - -class TestIso9660SyslinuxExternalCompress(infra.basetest.BRTest): - config = BASIC_CONFIG + \ - """ - BR2_TARGET_ROOTFS_ISO9660=y - # BR2_TARGET_ROOTFS_ISO9660_INITRD is not set - BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION=y - BR2_TARGET_ROOTFS_ISO9660_HYBRID=y - BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" - BR2_TARGET_SYSLINUX=y - """.format(infra.filepath("conf/isolinux.cfg")) - - def test_run(self): - exit_code = test_mount_internal_external(self.emulator, - self.builddir, internal=False) - self.assertEqual(exit_code, 0) - - exit_code = test_touch_file(self.emulator) - self.assertEqual(exit_code, 1) - - -class TestIso9660SyslinuxInternal(infra.basetest.BRTest): - config = BASIC_CONFIG + \ - """ - BR2_TARGET_ROOTFS_ISO9660=y - BR2_TARGET_ROOTFS_ISO9660_INITRD=y - BR2_TARGET_ROOTFS_ISO9660_HYBRID=y - BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" - BR2_TARGET_SYSLINUX=y - """.format(infra.filepath("conf/isolinux.cfg")) - - def test_run(self): - exit_code = test_mount_internal_external(self.emulator, - self.builddir, internal=True) - self.assertEqual(exit_code, 0) - - exit_code = test_touch_file(self.emulator) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/fs/test_jffs2.py b/buildroot-2021.05/support/testing/tests/fs/test_jffs2.py deleted file mode 100644 index f5066ff0..00000000 --- a/buildroot-2021.05/support/testing/tests/fs/test_jffs2.py +++ /dev/null @@ -1,45 +0,0 @@ -import os - -import infra.basetest - - -def jffs2dump_find_file(files_list, fname): - for file_name in files_list: - file_name = file_name.strip() - if file_name.startswith("Dirent") and file_name.endswith(fname): - return True - return False - - -class TestJffs2(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_JFFS2=y - BR2_TARGET_ROOTFS_JFFS2_CUSTOM=y - BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE=0x80000 - BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y - BR2_TARGET_ROOTFS_JFFS2_PAD=y - BR2_TARGET_ROOTFS_JFFS2_PADSIZE=0x4000000 - # BR2_TARGET_ROOTFS_TAR is not set - """ - - # TODO: there are some scary JFFS2 messages when one starts to - # write files in the rootfs: "jffs2: Newly-erased block contained - # word 0x0 at offset 0x046c0000". To be investigated. - - def test_run(self): - img = os.path.join(self.builddir, "images", "rootfs.jffs2") - cmd = ["host/sbin/jffs2dump", "-c", img] - out = infra.run_cmd_on_host(self.builddir, cmd) - out = out.splitlines() - self.assertTrue(jffs2dump_find_file(out, "busybox")) - - self.emulator.boot(arch="armv7", - kernel="builtin", - kernel_cmdline=["root=/dev/mtdblock0", - "rootfstype=jffs2"], - options=["-drive", "file={},if=pflash".format(img)]) - self.emulator.login() - cmd = "mount | grep '/dev/root on / type jffs2'" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/fs/test_squashfs.py b/buildroot-2021.05/support/testing/tests/fs/test_squashfs.py deleted file mode 100644 index 234f4944..00000000 --- a/buildroot-2021.05/support/testing/tests/fs/test_squashfs.py +++ /dev/null @@ -1,36 +0,0 @@ -import os -import subprocess - -import infra.basetest - - -class TestSquashfs(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_SQUASHFS=y - # BR2_TARGET_ROOTFS_SQUASHFS4_GZIP is not set - BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - unsquashfs_cmd = ["host/bin/unsquashfs", "-s", "images/rootfs.squashfs"] - out = infra.run_cmd_on_host(self.builddir, unsquashfs_cmd) - out = out.splitlines() - self.assertEqual(out[0], - "Found a valid SQUASHFS 4:0 superblock on images/rootfs.squashfs.") - self.assertEqual(out[3], "Compression lz4") - - img = os.path.join(self.builddir, "images", "rootfs.squashfs") - subprocess.call(["truncate", "-s", "%1M", img]) - - self.emulator.boot(arch="armv7", - kernel="builtin", - kernel_cmdline=["root=/dev/mmcblk0", - "rootfstype=squashfs"], - options=["-drive", "file={},if=sd,format=raw".format(img)]) - self.emulator.login() - - cmd = "mount | grep '/dev/root on / type squashfs'" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/fs/test_ubi.py b/buildroot-2021.05/support/testing/tests/fs/test_ubi.py deleted file mode 100644 index 7321f83d..00000000 --- a/buildroot-2021.05/support/testing/tests/fs/test_ubi.py +++ /dev/null @@ -1,39 +0,0 @@ -import subprocess -import os - -import infra.basetest - - -class TestUbi(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_UBIFS=y - BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x7ff80 - BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x1 - BR2_TARGET_ROOTFS_UBI=y - BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x80000 - BR2_TARGET_ROOTFS_UBI_SUBSIZE=1 - """ - - # TODO: if you boot Qemu twice on the same UBI image, it fails to - # attach the image the second time, with "ubi0 error: - # ubi_read_volume_table: the layout volume was not found". - # To be investigated. - def test_run(self): - img = os.path.join(self.builddir, "images", "rootfs.ubi") - out = infra.run_cmd_on_host(self.builddir, ["file", img]) - out = out.splitlines() - self.assertIn("UBI image, version 1", out[0]) - - subprocess.call(["truncate", "-s 128M", img]) - - self.emulator.boot(arch="armv7", - kernel="builtin", - kernel_cmdline=["root=ubi0:rootfs", - "ubi.mtd=0", - "rootfstype=ubifs"], - options=["-drive", "file={},if=pflash".format(img)]) - self.emulator.login() - cmd = "mount | grep 'ubi0:rootfs on / type ubifs'" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/init/base.py b/buildroot-2021.05/support/testing/tests/init/base.py deleted file mode 100644 index 75cfbe9c..00000000 --- a/buildroot-2021.05/support/testing/tests/init/base.py +++ /dev/null @@ -1,48 +0,0 @@ -import os -import subprocess -import infra.basetest - - -class InitSystemBase(infra.basetest.BRTest): - - def start_emulator(self, fs_type, kernel=None, dtb=None, init=None): - img = os.path.join(self.builddir, "images", "rootfs.{}".format(fs_type)) - subprocess.call(["truncate", "-s", "%1M", img]) - - options = ["-drive", - "file={},if=sd,format=raw".format(img), - "-M", "vexpress-a9"] - - if kernel is None: - kernel = "builtin" - else: - kernel = os.path.join(self.builddir, "images", kernel) - options.extend(["-dtb", os.path.join(self.builddir, "images", - "{}.dtb".format(dtb))]) - - kernel_cmdline = ["root=/dev/mmcblk0", - "rootfstype={}".format(fs_type), - "rootwait", - "ro", - "console=ttyAMA0"] - - if init is not None: - kernel_cmdline.extend(["init={}".format(init)]) - - self.emulator.boot(arch="armv7", - kernel=kernel, - kernel_cmdline=kernel_cmdline, - options=options) - - if init is None: - self.emulator.login() - - def check_init(self, path): - cmd = "cmp /proc/1/exe {}".format(path) - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - def check_network(self, interface, exitCode=0): - cmd = "ip addr show {} |grep inet".format(interface) - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, exitCode) diff --git a/buildroot-2021.05/support/testing/tests/init/test_none.py b/buildroot-2021.05/support/testing/tests/init/test_none.py deleted file mode 100644 index 5b9b4e43..00000000 --- a/buildroot-2021.05/support/testing/tests/init/test_none.py +++ /dev/null @@ -1,33 +0,0 @@ -import pexpect - -import infra.basetest -from tests.init.base import InitSystemBase as InitSystemBase - - -class TestInitSystemNone(InitSystemBase): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_INIT_NONE=y - # BR2_TARGET_ROOTFS_TAR is not set - BR2_TARGET_ROOTFS_SQUASHFS=y - """ - - def test_run(self): - self.start_emulator(fs_type="squashfs", init="/bin/sh") - index = self.emulator.qemu.expect(["/bin/sh: can't access tty; job control turned off", pexpect.TIMEOUT], timeout=60) - if index != 0: - self.emulator.logfile.write("==> System does not boot") - raise SystemError("System does not boot") - index = self.emulator.qemu.expect(["#", pexpect.TIMEOUT], timeout=60) - if index != 0: - self.emulator.logfile.write("==> System does not boot") - raise SystemError("System does not boot") - - out, exit_code = self.emulator.run("sh -c 'echo $PPID'") - self.assertEqual(exit_code, 0) - self.assertEqual(out[0], "1") - - _, exit_code = self.emulator.run("mount -t proc none /proc") - self.assertEqual(exit_code, 0) - - self.check_init("/bin/sh") diff --git a/buildroot-2021.05/support/testing/tests/init/test_openrc.py b/buildroot-2021.05/support/testing/tests/init/test_openrc.py deleted file mode 100644 index 14839434..00000000 --- a/buildroot-2021.05/support/testing/tests/init/test_openrc.py +++ /dev/null @@ -1,50 +0,0 @@ -from tests.init.base import InitSystemBase as InitSystemBase - - -class InitSystemOpenrcBase(InitSystemBase): - config = \ - """ - BR2_arm=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_INIT_OPENRC=y - BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.5.7" - BR2_LINUX_KERNEL_DEFCONFIG="vexpress" - BR2_LINUX_KERNEL_DTS_SUPPORT=y - BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def check_init(self): - super(InitSystemOpenrcBase, self).check_init('/sbin/openrc-init') - - # Test all services are OK - output, _ = self.emulator.run("rc-status -c") - self.assertEqual(len(output), 0) - - -class TestInitSystemOpenrcRoFull(InitSystemOpenrcBase): - config = InitSystemOpenrcBase.config + \ - """ - BR2_SYSTEM_DHCP="eth0" - # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set - BR2_TARGET_ROOTFS_SQUASHFS=y - """ - - def test_run(self): - self.start_emulator("squashfs", "zImage", "vexpress-v2p-ca9") - self.check_init() - - -class TestInitSystemOpenrcRwFull(InitSystemOpenrcBase): - config = InitSystemOpenrcBase.config + \ - """ - BR2_SYSTEM_DHCP="eth0" - BR2_TARGET_ROOTFS_EXT2=y - """ - - def test_run(self): - self.start_emulator("ext2", "zImage", "vexpress-v2p-ca9") - self.check_init() diff --git a/buildroot-2021.05/support/testing/tests/init/test_systemd.py b/buildroot-2021.05/support/testing/tests/init/test_systemd.py deleted file mode 100644 index c0ef5e12..00000000 --- a/buildroot-2021.05/support/testing/tests/init/test_systemd.py +++ /dev/null @@ -1,161 +0,0 @@ -import infra.basetest -from tests.init.base import InitSystemBase as InitSystemBase - - -class InitSystemSystemdBase(InitSystemBase): - config = \ - """ - BR2_arm=y - BR2_cortex_a9=y - BR2_ARM_ENABLE_VFP=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_INIT_SYSTEMD=y - BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.3" - BR2_LINUX_KERNEL_DEFCONFIG="vexpress" - BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" - BR2_LINUX_KERNEL_DTS_SUPPORT=y - BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" - # BR2_TARGET_ROOTFS_TAR is not set - """.format(infra.filepath("conf/binfmt-misc-kernel-fragment.config")) - - def check_init(self): - super(InitSystemSystemdBase, self).check_init("/lib/systemd/systemd") - - # Test all units are OK - output, _ = self.emulator.run("systemctl --no-pager --failed --no-legend") - self.assertEqual(len(output), 0) - - # Test we can reach the DBus daemon - _, exit_code = self.emulator.run("busctl --no-pager") - self.assertEqual(exit_code, 0) - - # Test we can read at least one line from the journal - output, _ = self.emulator.run("journalctl --no-pager --lines 1 --quiet") - self.assertEqual(len(output), 1) - - -class TestInitSystemSystemdRoNetworkd(InitSystemSystemdBase): - config = InitSystemSystemdBase.config + \ - """ - BR2_SYSTEM_DHCP="eth0" - # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set - BR2_ROOTFS_OVERLAY="{}" - BR2_TARGET_ROOTFS_SQUASHFS=y - """.format(infra.filepath("tests/init/systemd-factory")) - - def test_run(self): - self.start_emulator("squashfs", "zImage", "vexpress-v2p-ca9") - self.check_init() - self.check_network("eth0") - - # This one must be executed on the target, to check that - # the factory feature works as expected - out, exit_code = self.emulator.run("cat /var/foo/bar") - self.assertEqual(exit_code, 0) - self.assertEqual(out[0], "foobar") - - -class TestInitSystemSystemdRwNetworkd(InitSystemSystemdBase): - config = InitSystemSystemdBase.config + \ - """ - BR2_SYSTEM_DHCP="eth0" - BR2_TARGET_ROOTFS_EXT2=y - """ - - def test_run(self): - self.start_emulator("ext2", "zImage", "vexpress-v2p-ca9") - self.check_init() - self.check_network("eth0") - - -class TestInitSystemSystemdRoIfupdown(InitSystemSystemdBase): - config = InitSystemSystemdBase.config + \ - """ - BR2_SYSTEM_DHCP="eth0" - # BR2_PACKAGE_SYSTEMD_NETWORKD is not set - # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set - BR2_TARGET_ROOTFS_SQUASHFS=y - """ - - def test_run(self): - self.start_emulator("squashfs", "zImage", "vexpress-v2p-ca9") - self.check_init() - self.check_network("eth0") - - -class TestInitSystemSystemdRwIfupdown(InitSystemSystemdBase): - config = InitSystemSystemdBase.config + \ - """ - BR2_SYSTEM_DHCP="eth0" - # BR2_PACKAGE_SYSTEMD_NETWORKD is not set - BR2_TARGET_ROOTFS_EXT2=y - """ - - def test_run(self): - self.start_emulator("ext2", "zImage", "vexpress-v2p-ca9") - self.check_init() - self.check_network("eth0") - - -class TestInitSystemSystemdRoFull(InitSystemSystemdBase): - config = InitSystemSystemdBase.config + \ - """ - BR2_SYSTEM_DHCP="eth0" - # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set - BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE=y - BR2_PACKAGE_SYSTEMD_BACKLIGHT=y - BR2_PACKAGE_SYSTEMD_BINFMT=y - BR2_PACKAGE_SYSTEMD_COREDUMP=y - BR2_PACKAGE_SYSTEMD_FIRSTBOOT=y - BR2_PACKAGE_SYSTEMD_HIBERNATE=y - BR2_PACKAGE_SYSTEMD_IMPORTD=y - BR2_PACKAGE_SYSTEMD_LOCALED=y - BR2_PACKAGE_SYSTEMD_LOGIND=y - BR2_PACKAGE_SYSTEMD_MACHINED=y - BR2_PACKAGE_SYSTEMD_POLKIT=y - BR2_PACKAGE_SYSTEMD_QUOTACHECK=y - BR2_PACKAGE_SYSTEMD_RANDOMSEED=y - BR2_PACKAGE_SYSTEMD_RFKILL=y - BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT=y - BR2_PACKAGE_SYSTEMD_SYSUSERS=y - BR2_PACKAGE_SYSTEMD_VCONSOLE=y - BR2_TARGET_ROOTFS_SQUASHFS=y - """ - - def test_run(self): - self.start_emulator("squashfs", "zImage", "vexpress-v2p-ca9") - self.check_init() - self.check_network("eth0") - - -class TestInitSystemSystemdRwFull(InitSystemSystemdBase): - config = InitSystemSystemdBase.config + \ - """ - BR2_SYSTEM_DHCP="eth0" - BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE=y - BR2_PACKAGE_SYSTEMD_BACKLIGHT=y - BR2_PACKAGE_SYSTEMD_BINFMT=y - BR2_PACKAGE_SYSTEMD_COREDUMP=y - BR2_PACKAGE_SYSTEMD_FIRSTBOOT=y - BR2_PACKAGE_SYSTEMD_HIBERNATE=y - BR2_PACKAGE_SYSTEMD_IMPORTD=y - BR2_PACKAGE_SYSTEMD_LOCALED=y - BR2_PACKAGE_SYSTEMD_LOGIND=y - BR2_PACKAGE_SYSTEMD_MACHINED=y - BR2_PACKAGE_SYSTEMD_POLKIT=y - BR2_PACKAGE_SYSTEMD_QUOTACHECK=y - BR2_PACKAGE_SYSTEMD_RANDOMSEED=y - BR2_PACKAGE_SYSTEMD_RFKILL=y - BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT=y - BR2_PACKAGE_SYSTEMD_SYSUSERS=y - BR2_PACKAGE_SYSTEMD_VCONSOLE=y - BR2_TARGET_ROOTFS_EXT2=y - """ - - def test_run(self): - self.start_emulator("ext2", "zImage", "vexpress-v2p-ca9") - self.check_init() - self.check_network("eth0") diff --git a/buildroot-2021.05/support/testing/tests/package/sample_gst1_python.py b/buildroot-2021.05/support/testing/tests/package/sample_gst1_python.py deleted file mode 100644 index fab7e74f..00000000 --- a/buildroot-2021.05/support/testing/tests/package/sample_gst1_python.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env python -"""A simple test that uses gst1-python to run a fake videotestsrc for 100 -frames -""" -import sys -import gi -gi.require_version('Gst', '1.0') -from gi.repository import Gst, GLib # noqa: E402 - - -def on_message(bus, message, loop): - print('Received Gst.Message.type: {}'.format(message.type)) - if message.type == Gst.MessageType.EOS: - loop.quit() - return True - - -def main(): - # Initializes Gstreamer - Gst.init(sys.argv) - pipeline = Gst.parse_launch("videotestsrc num-buffers=100 ! fakevideosink") - bus = pipeline.get_bus() - bus.add_signal_watch() - pipeline.set_state(Gst.State.PLAYING) - loop = GLib.MainLoop() - bus.connect("message", on_message, loop) - loop.run() - pipeline.set_state(Gst.State.NULL) - - -if __name__ == '__main__': - main() diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_gobject.py b/buildroot-2021.05/support/testing/tests/package/sample_python_gobject.py deleted file mode 100644 index 50564aa7..00000000 --- a/buildroot-2021.05/support/testing/tests/package/sample_python_gobject.py +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env python -"""A simple test that uses python-gobject to find the path of sh.""" -from gi.repository import GLib - - -def main(): - sh_path = GLib.find_program_in_path('sh') - if sh_path == "/bin/sh": - return True - return False - - -if __name__ == '__main__': - main() diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_incremental.py b/buildroot-2021.05/support/testing/tests/package/sample_python_incremental.py deleted file mode 100644 index b6e2aa80..00000000 --- a/buildroot-2021.05/support/testing/tests/package/sample_python_incremental.py +++ /dev/null @@ -1,3 +0,0 @@ -import incremental -v = incremental.Version("package", 1, 2, 3, release_candidate=4) -assert(str(v) == "[package, version 1.2.3rc4]") diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_pyyaml_dec.py b/buildroot-2021.05/support/testing/tests/package/sample_python_pyyaml_dec.py deleted file mode 100644 index 9ab89311..00000000 --- a/buildroot-2021.05/support/testing/tests/package/sample_python_pyyaml_dec.py +++ /dev/null @@ -1,10 +0,0 @@ -import yaml - -with open("/tmp/data.yml", "rb") as f: - serialized = f.read() -data = yaml.load(serialized) -print(data) -assert(data["name"] == "python-pyyaml") -assert(data["versions"] == ["1", "2"]) -assert(data["group"]["is_a_package"] is True) -assert(data["group"]["value"] == 42) diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_subprocess32.py b/buildroot-2021.05/support/testing/tests/package/sample_python_subprocess32.py deleted file mode 100644 index 8579745c..00000000 --- a/buildroot-2021.05/support/testing/tests/package/sample_python_subprocess32.py +++ /dev/null @@ -1,6 +0,0 @@ -import subprocess32 - -output = subprocess32.check_output(["ls", "-l", "/dev/null"]) -print(output) -assert("/dev/null" in output) -assert("No such" not in output) diff --git a/buildroot-2021.05/support/testing/tests/package/test_atop.py b/buildroot-2021.05/support/testing/tests/package/test_atop.py deleted file mode 100644 index 1da1ac7c..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_atop.py +++ /dev/null @@ -1,41 +0,0 @@ -import os - -import infra.basetest - -BASIC_TOOLCHAIN_CONFIG_HEADERS_AT_LEAST_3_14 = \ - """ - BR2_arm=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y - BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y - BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2019.05.1.tar.bz2" - BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y - BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y - BR2_TOOLCHAIN_EXTERNAL_LOCALE=y - # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set - BR2_TOOLCHAIN_EXTERNAL_CXX=y - """ - - -class TestAtop(infra.basetest.BRTest): - config = BASIC_TOOLCHAIN_CONFIG_HEADERS_AT_LEAST_3_14 + \ - """ - BR2_PACKAGE_ATOP=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - cmd = "atop -V | grep '^Version'" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - cmd = "atop -a 1 2 | grep '% *atop *$'" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/package/test_crudini.py b/buildroot-2021.05/support/testing/tests/package/test_crudini.py deleted file mode 100644 index e320d320..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_crudini.py +++ /dev/null @@ -1,49 +0,0 @@ -import os -from tests.package.test_python import TestPythonPackageBase - - -INI_FILE_CONTENT = """ -[section] -param = this-is-the-magic-value -other = dont care -""" - - -class TestCrudiniBase(TestPythonPackageBase): - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_CRUDINI=y - """ - - def test_run(self): - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", kernel="builtin", - options=["-initrd", img]) - - self.emulator.login() - - # 1. Create some sample .ini file - cmd = "echo -e '%s' > config.ini" % INI_FILE_CONTENT - _, ret = self.emulator.run(cmd) - self.assertEqual(ret, 0) - - # 2. Attempt to get the value - out, ret = self.emulator.run("crudini --get config.ini section param") - self.assertEqual(ret, 0) - self.assertEqual(out, ['this-is-the-magic-value']) - - -class TestCrudiniPy2(TestCrudiniBase): - __test__ = True - config = TestCrudiniBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - """ - - -class TestCrudiniPy3(TestCrudiniBase): - __test__ = True - config = TestCrudiniBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - """ diff --git a/buildroot-2021.05/support/testing/tests/package/test_docker_compose.py b/buildroot-2021.05/support/testing/tests/package/test_docker_compose.py deleted file mode 100644 index 737dbf39..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_docker_compose.py +++ /dev/null @@ -1,66 +0,0 @@ -import os - -import infra.basetest - - -class TestDockerCompose(infra.basetest.BRTest): - config = \ - """ - BR2_x86_64=y - BR2_x86_core2=y - BR2_TOOLCHAIN_BUILDROOT_GLIBC=y - BR2_KERNEL_HEADERS_4_19=y - BR2_TOOLCHAIN_BUILDROOT_CXX=y - BR2_SYSTEM_DHCP="eth0" - BR2_ROOTFS_POST_BUILD_SCRIPT="{}" - BR2_ROOTFS_POST_SCRIPT_ARGS="{}" - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19" - BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y - BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="{}" - BR2_PACKAGE_CA_CERTIFICATES=y - BR2_PACKAGE_DOCKER_CLI=y - BR2_PACKAGE_DOCKER_COMPOSE=y - BR2_PACKAGE_DOCKER_ENGINE=y - BR2_TARGET_ROOTFS_EXT2=y - BR2_TARGET_ROOTFS_EXT2_SIZE="512M" - # BR2_TARGET_ROOTFS_TAR is not set - """.format( - infra.filepath("tests/package/copy-sample-script-to-target.sh"), - infra.filepath("conf/docker-compose.yml"), - infra.filepath("conf/docker-compose-kernel.config")) - - def wait_for_dockerd(self): - # dockerd takes a while to start up - _, _ = self.emulator.run('while [ ! -e /var/run/docker.sock ]; do sleep 1; done', 120) - - def docker_test(self): - # will download container if not available, which may take some time - _, exit_code = self.emulator.run('docker run --rm -p 8888:8888 busybox:latest /bin/true', 120) - self.assertEqual(exit_code, 0) - - def docker_compose_test(self): - # will download container if not available, which may take some time - self.assertRunOk('docker-compose up -d', 120) - # container may take some time to start - self.assertRunOk('while ! docker inspect root_busybox_1 2>&1 >/dev/null; do sleep 1; done', 120) - self.assertRunOk('wget -O /tmp/busybox http://127.0.0.1/busybox', 120) - self.assertRunOk('cmp /bin/busybox /tmp/busybox', 120) - - def test_run(self): - kernel = os.path.join(self.builddir, "images", "bzImage") - rootfs = os.path.join(self.builddir, "images", "rootfs.ext2") - self.emulator.boot(arch="x86_64", - kernel=kernel, - kernel_cmdline=["root=/dev/vda", "console=ttyS0"], - options=["-cpu", "core2duo", - "-m", "512M", - "-device", "virtio-rng-pci", - "-drive", "file={},format=raw,if=virtio".format(rootfs), - "-net", "nic,model=virtio", - "-net", "user"]) - self.emulator.login() - self.wait_for_dockerd() - self.docker_test() - self.docker_compose_test() diff --git a/buildroot-2021.05/support/testing/tests/package/test_dropbear.py b/buildroot-2021.05/support/testing/tests/package/test_dropbear.py deleted file mode 100644 index bfec8701..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_dropbear.py +++ /dev/null @@ -1,32 +0,0 @@ -import os - -import infra.basetest - - -class TestDropbear(infra.basetest.BRTest): - passwd = "testpwd" - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_GENERIC_ROOT_PASSWD="{}" - BR2_SYSTEM_DHCP="eth0" - BR2_PACKAGE_DROPBEAR=y - BR2_PACKAGE_SSHPASS=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """.format(passwd) - - def test_run(self): - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", img, - "-net", "nic", - "-net", "user"]) - self.emulator.login(self.passwd) - cmd = "netstat -ltn 2>/dev/null | grep 0.0.0.0:22" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - cmd = "sshpass -p {} ssh -y localhost /bin/true".format(self.passwd) - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/package/test_glxinfo.py b/buildroot-2021.05/support/testing/tests/package/test_glxinfo.py deleted file mode 100644 index 3417e486..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_glxinfo.py +++ /dev/null @@ -1,64 +0,0 @@ -import os - -import infra.basetest - -GLXINFO_TIMEOUT = 120 - - -class TestGlxinfo(infra.basetest.BRTest): - config = \ - """ - BR2_x86_core2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y - BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y - BR2_TOOLCHAIN_EXTERNAL_URL="http://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--glibc--bleeding-edge-2018.11-1.tar.bz2" - BR2_TOOLCHAIN_EXTERNAL_GCC_8=y - BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y - BR2_TOOLCHAIN_EXTERNAL_CXX=y - BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.16.7" - BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y - BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux.config" - BR2_PACKAGE_MESA3D_DEMOS=y - BR2_PACKAGE_MESA3D=y - BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y - BR2_PACKAGE_MESA3D_OPENGL_GLX=y - BR2_PACKAGE_XORG7=y - BR2_PACKAGE_XSERVER_XORG_SERVER=y - BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" - BR2_TARGET_ROOTFS_EXT2=y - # BR2_TARGET_ROOTFS_TAR is not set - BR2_ROOTFS_OVERLAY="{}" - """.format( - infra.filepath("tests/package/test_glxinfo/rootfs-overlay")) - - def wait_for_xserver(self): - # xserver takes some time to start up - # The test case fail here if for some reason xserver is not properly installed - _, _ = self.emulator.run('while [ ! -e /var/run/xorg.pid ]; do sleep 1; done', 120) - - def login(self): - img = os.path.join(self.builddir, "images", "rootfs.ext2") - kern = os.path.join(self.builddir, "images", "bzImage") - # glxinfo overallocate memory and the minimum that seemed to work was 512MB - self.emulator.boot(arch="i386", - kernel=kern, - kernel_cmdline=["root=/dev/vda console=ttyS0"], - options=["-M", "pc", "-m", "512", "-drive", "file={},if=virtio,format=raw".format(img)]) - self.emulator.login() - - def test_run(self): - self.login() - self.wait_for_xserver() - - # The test case verifies that the xserver with GLX is working - cmd = "glxinfo -B -display :0" - output, exit_code = self.emulator.run(cmd, GLXINFO_TIMEOUT) - self.assertEqual(exit_code, 0) - for line in output: - self.assertNotIn("Error", line) - # Error case: "Error: couldn't find RGB GLX visual or fbconfig" diff --git a/buildroot-2021.05/support/testing/tests/package/test_libftdi1.py b/buildroot-2021.05/support/testing/tests/package/test_libftdi1.py deleted file mode 100644 index 78c92848..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_libftdi1.py +++ /dev/null @@ -1,25 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Libftdi1(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_LIBFTDI1=y - BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS=y - """ - sample_scripts = ["tests/package/sample_libftdi1.py"] - timeout = 40 - - -class TestPythonPy3Libftdi1(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_LIBFTDI1=y - BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS=y - """ - sample_scripts = ["tests/package/sample_libftdi1.py"] - timeout = 40 diff --git a/buildroot-2021.05/support/testing/tests/package/test_lua.py b/buildroot-2021.05/support/testing/tests/package/test_lua.py deleted file mode 100644 index 66ae85c9..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_lua.py +++ /dev/null @@ -1,59 +0,0 @@ -import os - -import infra.basetest - - -class TestLuaBase(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def login(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - def version_test(self, version): - cmd = "lua -v" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertIn(version, output[0]) - - def g_version_test(self, expected): - cmd = "lua -e 'print(_G._VERSION)'" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertEqual(output[0], expected) - - def module_test(self, module, script="a=1"): - cmd = "lua -l {} -e '{}'".format(module, script) - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - -class TestLua(TestLuaBase): - config = TestLuaBase.config + \ - """ - BR2_PACKAGE_LUA=y - """ - - def test_run(self): - self.login() - self.version_test('Lua 5.3') - self.g_version_test('Lua 5.3') - - -class TestLuajit(TestLuaBase): - config = TestLuaBase.config + \ - """ - BR2_PACKAGE_LUAJIT=y - """ - - def test_run(self): - self.login() - self.version_test('LuaJIT 2') - self.g_version_test('Lua 5.1') diff --git a/buildroot-2021.05/support/testing/tests/package/test_lua_sdl2.py b/buildroot-2021.05/support/testing/tests/package/test_lua_sdl2.py deleted file mode 100644 index 22c4087f..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_lua_sdl2.py +++ /dev/null @@ -1,41 +0,0 @@ -from tests.package.test_lua import TestLuaBase - - -class TestLuaLuaSDL2(TestLuaBase): - config = TestLuaBase.config + \ - """ - BR2_PACKAGE_LUA=y - BR2_PACKAGE_LUA_SDL2=y - BR2_PACKAGE_SDL2_IMAGE=y - BR2_PACKAGE_SDL2_MIXER=y - BR2_PACKAGE_SDL2_NET=y - BR2_PACKAGE_SDL2_TTF=y - """ - - def test_run(self): - self.login() - self.module_test("SDL") - self.module_test("SDL.image") - self.module_test("SDL.mixer") - self.module_test("SDL.net") - self.module_test("SDL.ttf") - - -class TestLuajitLuaSDL2(TestLuaBase): - config = TestLuaBase.config + \ - """ - BR2_PACKAGE_LUAJIT=y - BR2_PACKAGE_LUA_SDL2=y - BR2_PACKAGE_SDL2_IMAGE=y - BR2_PACKAGE_SDL2_MIXER=y - BR2_PACKAGE_SDL2_NET=y - BR2_PACKAGE_SDL2_TTF=y - """ - - def test_run(self): - self.login() - self.module_test("SDL") - self.module_test("SDL.image") - self.module_test("SDL.mixer") - self.module_test("SDL.net") - self.module_test("SDL.ttf") diff --git a/buildroot-2021.05/support/testing/tests/package/test_luvi.py b/buildroot-2021.05/support/testing/tests/package/test_luvi.py deleted file mode 100644 index a85a6f4d..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_luvi.py +++ /dev/null @@ -1,36 +0,0 @@ -import os - -import infra.basetest - - -class TestLuvi(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - BR2_PACKAGE_LUAJIT=y - BR2_PACKAGE_LUVI=y - BR2_PACKAGE_OPENSSL=y - BR2_PACKAGE_PCRE=y - BR2_PACKAGE_ZLIB=y - """ - - def login(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - def version_test(self): - cmd = "luvi -v" - output, exit_code = self.emulator.run(cmd) - self.assertIn('luvi', output[0]) - self.assertIn('zlib', output[1]) - self.assertIn('rex', output[2]) - self.assertIn('libuv', output[3]) - self.assertIn('ssl', output[4]) - - def test_run(self): - self.login() - self.version_test() diff --git a/buildroot-2021.05/support/testing/tests/package/test_lxc.py b/buildroot-2021.05/support/testing/tests/package/test_lxc.py deleted file mode 100644 index b32b7a20..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_lxc.py +++ /dev/null @@ -1,58 +0,0 @@ -import os - -import infra.basetest - - -class TestLxc(infra.basetest.BRTest): - config = \ - """ - BR2_arm=y - BR2_cortex_a9=y - BR2_ARM_ENABLE_VFP=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.79" - BR2_LINUX_KERNEL_DEFCONFIG="vexpress" - BR2_LINUX_KERNEL_DTS_SUPPORT=y - BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" - BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" - BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - BR2_INIT_SYSTEMD=y - BR2_PACKAGE_LXC=y - BR2_PACKAGE_TINI=y - BR2_PACKAGE_IPERF3=y - BR2_ROOTFS_OVERLAY="{}" - BR2_TARGET_ROOTFS_CPIO=y - """.format( - infra.filepath("tests/package/test_lxc/lxc-kernel.config"), - infra.filepath("tests/package/test_lxc/rootfs-overlay")) - - def run_ok(self, cmd): - self.assertRunOk(cmd, 120) - - def wait_boot(self): - # the complete boot with systemd takes more time than what the default multipler permits - self.emulator.timeout_multiplier *= 10 - self.emulator.login() - - def setup_run_test_container(self): - self.run_ok("lxc-create -n lxc_iperf3 -t none -f /usr/share/lxc/config/minimal-iperf3.conf") - self.run_ok("lxc-start -l trace -n lxc_iperf3 -o /tmp/lxc.log -L /tmp/lxc.console.log") - # need to wait for the container to be fully started - self.run_ok("sleep 2") - self.run_ok("iperf3 -c 192.168.1.2 -t 2") - # if the test fails, just cat /tmp/*.log - - def test_run(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - kernel_file = os.path.join(self.builddir, "images", "zImage") - dtb_file = os.path.join(self.builddir, "images", "vexpress-v2p-ca9.dtb") - self.emulator.boot(arch="armv7", kernel=kernel_file, - kernel_cmdline=[ - "console=ttyAMA0,115200"], - options=["-initrd", cpio_file, - "-dtb", dtb_file, - "-M", "vexpress-a9"]) - self.wait_boot() - self.setup_run_test_container() diff --git a/buildroot-2021.05/support/testing/tests/package/test_netdata.py b/buildroot-2021.05/support/testing/tests/package/test_netdata.py deleted file mode 100644 index 7418b762..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_netdata.py +++ /dev/null @@ -1,23 +0,0 @@ -import os - -import infra.basetest - - -class TestNetdata(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_PACKAGE_NETDATA=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - cmd = "wget localhost:19999 -O - | grep 'netdata dashboard'" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/package/test_openssh.py b/buildroot-2021.05/support/testing/tests/package/test_openssh.py deleted file mode 100644 index 2ae5030d..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_openssh.py +++ /dev/null @@ -1,60 +0,0 @@ -import os - -import infra.basetest - - -class TestOpensshBase(infra.basetest.BRTest): - passwd = "testpwd" - opensshconfig = \ - """ - BR2_TARGET_GENERIC_ROOT_PASSWD="{}" - BR2_PACKAGE_OPENSSH=y - BR2_PACKAGE_SSHPASS=y - BR2_ROOTFS_POST_BUILD_SCRIPT="{}" - # BR2_TARGET_ROOTFS_TAR is not set - """.format( - passwd, - infra.filepath("tests/package/test_openssh/post-build.sh")) - - def openssh_test(self): - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", img, - "-net", "none"]) - self.emulator.login(self.passwd) - - cmd = "netstat -ltn 2>/dev/null | grep 0.0.0.0:22" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - cmd = "sshpass -p {} ssh -oStrictHostKeyChecking=no localhost /bin/true".format(self.passwd) - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - -class TestOpenSshuClibc(TestOpensshBase): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - TestOpensshBase.opensshconfig + \ - """ - BR2_TARGET_ROOTFS_CPIO=y - """ - - def test_run(self): - self.openssh_test() - - -class TestOpenSshGlibc(TestOpensshBase): - config = \ - TestOpensshBase.opensshconfig + \ - """ - BR2_arm=y - BR2_TOOLCHAIN_BUILDROOT_GLIBC=y - BR2_KERNEL_HEADERS_4_19=y - BR2_TOOLCHAIN_BUILDROOT_CXX=y - BR2_PACKAGE_RNG_TOOLS=y - BR2_TARGET_ROOTFS_CPIO=y - """ - - def test_run(self): - self.openssh_test() diff --git a/buildroot-2021.05/support/testing/tests/package/test_opkg.py b/buildroot-2021.05/support/testing/tests/package/test_opkg.py deleted file mode 100644 index aa937082..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_opkg.py +++ /dev/null @@ -1,65 +0,0 @@ -import os - -import infra.basetest - - -class TestOpkg(infra.basetest.BRTest): - # The snmpd service is used as an example for this test of a set of files - # that can be archived up and deployed/removed to test opkg - # - # The post build script uses an ipk-build template and assembles the test - # package. - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_PACKAGE_NETSNMP=y - # BR2_PACKAGE_NETSNMP_CLIENTS is not set - # BR2_PACKAGE_NETSNMP_ENABLE_MIBS is not set - BR2_PACKAGE_OPKG=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - BR2_PACKAGE_HOST_OPKG_UTILS=y - BR2_ROOTFS_POST_BUILD_SCRIPT="{}" - """.format(infra.filepath("tests/package/test_opkg/post-build.sh")) - - def test_run(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - # This test sequence tests the install and removal of a running - # service and configuration files. It also exercises the postinst - # and prerm scripting provided in the package archive. - - cmd = "opkg install example-snmpd-package_1.0_arm.ipk" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - cmd = "opkg list-installed | grep example-snmpd-package" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - # Check that postinst script ran to start the services - cmd = "ps aux | grep [s]nmpd" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - # If successful, the prerm script ran to stop the service prior to - # the removal of the service scripting and files - cmd = "opkg remove example-snmpd-package" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - # Verify after package removal that the services is not - # running, but let's give it some time to really stop - # (otherwise a [snmpd] process might show up in the ps output) - cmd = "sleep 1 && ps aux | grep [s]nmpd" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 1) - - # This folder for configs is provided by the package install and - # should no longer be present after package removal - cmd = "ls /etc/snmp" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 1) diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl.py b/buildroot-2021.05/support/testing/tests/package/test_perl.py deleted file mode 100644 index 37e7390a..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_perl.py +++ /dev/null @@ -1,66 +0,0 @@ -import os - -import infra.basetest - - -class TestPerlBase(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def login(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - def module_test(self, module, script="1"): - cmd = "perl -M{} -e '{}'".format(module, script) - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - -class TestPerl(TestPerlBase): - config = TestPerlBase.config + \ - """ - BR2_PACKAGE_PERL=y - """ - - def version_test(self): - cmd = "perl -v" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertIn("This is perl 5", output[1]) - - def core_modules_test(self): - self.module_test("Cwd") - self.module_test("Data::Dumper") - self.module_test("Devel::Peek") - self.module_test("Digest::MD5") - self.module_test("Digest::SHA") - self.module_test("Encode") - self.module_test("Fcntl") - self.module_test("File::Glob") - self.module_test("Hash::Util") - self.module_test("I18N::Langinfo") - self.module_test("IO::Handle") - self.module_test("IPC::SysV") - self.module_test("List::Util") - self.module_test("MIME::Base64") - self.module_test("POSIX") - self.module_test("Socket") - self.module_test("Storable") - self.module_test("Sys::Hostname") - self.module_test("Sys::Syslog") - self.module_test("Time::HiRes") - self.module_test("Time::Piece") - self.module_test("Unicode::Collate") - self.module_test("Unicode::Normalize") - - def test_run(self): - self.login() - self.version_test() - self.core_modules_test() diff --git a/buildroot-2021.05/support/testing/tests/package/test_python.py b/buildroot-2021.05/support/testing/tests/package/test_python.py deleted file mode 100644 index bcd363ad..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python.py +++ /dev/null @@ -1,125 +0,0 @@ -import os - -import infra.basetest - - -class TestPythonBase(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - interpreter = "python" - - def login(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - def version_test(self, version, timeout=-1): - cmd = self.interpreter + " --version 2>&1 | grep '^{}'".format(version) - _, exit_code = self.emulator.run(cmd, timeout) - self.assertEqual(exit_code, 0) - - def math_floor_test(self, timeout=-1): - cmd = self.interpreter + " -c 'import math; math.floor(12.3)'" - _, exit_code = self.emulator.run(cmd, timeout) - self.assertEqual(exit_code, 0) - - def libc_time_test(self, timeout=-1): - cmd = self.interpreter + " -c 'from __future__ import print_function;" - cmd += "import ctypes;" - cmd += "libc = ctypes.cdll.LoadLibrary(\"libc.so.1\");" - cmd += "print(libc.time(None))'" - _, exit_code = self.emulator.run(cmd, timeout) - self.assertEqual(exit_code, 0) - - def zlib_test(self, timeout=-1): - cmd = self.interpreter + " -c 'import zlib'" - _, exit_code = self.emulator.run(cmd, timeout) - self.assertEqual(exit_code, 1) - - -class TestPython2(TestPythonBase): - config = TestPythonBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - """ - - def test_run(self): - self.login() - self.version_test("Python 2") - self.math_floor_test() - self.libc_time_test() - self.zlib_test() - - -class TestPython3(TestPythonBase): - config = TestPythonBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - """ - - def test_run(self): - self.login() - self.version_test("Python 3") - self.math_floor_test() - self.libc_time_test() - self.zlib_test() - - -class TestPythonPackageBase(TestPythonBase): - """Common class to test a python package. - - Build an image containing the scripts listed in sample_scripts, start the - emulator, login to it and for each sample script in the image run the python - interpreter passing the name of the script and check the status code is 0. - - Each test case that inherits from this class must have: - __test__ = True - to let nose2 know that it is a test case - config - defconfig fragment with the packages to run the test - It also can have: - sample_scripts - list of scripts to add to the image and run on the target - timeout - timeout to the script to run when the default from the - test infra is not enough - When custom commands need be issued on the target the method - run_sample_scripts can be overridden. - """ - - __test__ = False - config_sample_scripts = \ - """ - BR2_ROOTFS_POST_BUILD_SCRIPT="{}" - BR2_ROOTFS_POST_SCRIPT_ARGS="{}" - """.format(infra.filepath("tests/package/copy-sample-script-to-target.sh"), - "{sample_scripts}") - sample_scripts = None - timeout = -1 - - def __init__(self, names): - """Add the scripts to the target in build time.""" - super(TestPythonPackageBase, self).__init__(names) - if self.sample_scripts: - scripts = [infra.filepath(s) for s in self.sample_scripts] - self.config += self.config_sample_scripts.format(sample_scripts=" ".join(scripts)) - - def check_sample_scripts_exist(self): - """Check the scripts were really added to the image.""" - scripts = [os.path.basename(s) for s in self.sample_scripts] - cmd = "md5sum " + " ".join(scripts) - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - def run_sample_scripts(self): - """Run each script previously added to the image.""" - for script in self.sample_scripts: - cmd = self.interpreter + " " + os.path.basename(script) - _, exit_code = self.emulator.run(cmd, timeout=self.timeout) - self.assertEqual(exit_code, 0) - - def test_run(self): - self.login() - self.check_sample_scripts_exist() - self.run_sample_scripts() diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_argh.py b/buildroot-2021.05/support/testing/tests/package/test_python_argh.py deleted file mode 100644 index de4b4cbe..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_argh.py +++ /dev/null @@ -1,45 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonArgh(TestPythonPackageBase): - config = TestPythonPackageBase.config - sample_scripts = ["tests/package/sample_python_argh.py"] - - def run_sample_scripts(self): - cmd = self.interpreter + " sample_python_argh.py -h" - output, exit_code = self.emulator.run(cmd) - self.assertIn("usage:", output[0]) - self.assertEqual(exit_code, 0) - - cmd = self.interpreter + " sample_python_argh.py 123" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(output[0], "123, False") - self.assertEqual(exit_code, 0) - - cmd = self.interpreter + " sample_python_argh.py --bar 456" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(output[0], "456, True") - self.assertEqual(exit_code, 0) - - cmd = self.interpreter + " sample_python_argh.py" - output, exit_code = self.emulator.run(cmd) - self.assertIn("usage:", output[0]) - self.assertEqual(exit_code, 2) - - -class TestPythonPy2Argh(TestPythonArgh): - __test__ = True - config = TestPythonArgh.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_ARGH=y - """ - - -class TestPythonPy3Argh(TestPythonArgh): - __test__ = True - config = TestPythonArgh.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_ARGH=y - """ diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_attrs.py b/buildroot-2021.05/support/testing/tests/package/test_python_attrs.py deleted file mode 100644 index 9f597034..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_attrs.py +++ /dev/null @@ -1,21 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Attrs(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_ATTRS=y - """ - sample_scripts = ["tests/package/sample_python_attrs.py"] - - -class TestPythonPy3Attrs(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_ATTRS=y - """ - sample_scripts = ["tests/package/sample_python_attrs.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_autobahn.py b/buildroot-2021.05/support/testing/tests/package/test_python_autobahn.py deleted file mode 100644 index a237ce46..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_autobahn.py +++ /dev/null @@ -1,11 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy3Autobahn(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_AUTOBAHN=y - """ - sample_scripts = ["tests/package/sample_python_autobahn.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_automat.py b/buildroot-2021.05/support/testing/tests/package/test_python_automat.py deleted file mode 100644 index 00a7ed65..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_automat.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Automat(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_AUTOMAT=y - """ - sample_scripts = ["tests/package/sample_python_automat.py"] - timeout = 30 - - -class TestPythonPy3Automat(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_AUTOMAT=y - """ - sample_scripts = ["tests/package/sample_python_automat.py"] - timeout = 30 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_bitstring.py b/buildroot-2021.05/support/testing/tests/package/test_python_bitstring.py deleted file mode 100644 index 63b3fdb6..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_bitstring.py +++ /dev/null @@ -1,21 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Bitstring(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_BITSTRING=y - """ - sample_scripts = ["tests/package/sample_python_bitstring.py"] - - -class TestPythonPy3Bitstring(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_BITSTRING=y - """ - sample_scripts = ["tests/package/sample_python_bitstring.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_can.py b/buildroot-2021.05/support/testing/tests/package/test_python_can.py deleted file mode 100644 index d509d05d..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_can.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Can(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CAN=y - """ - sample_scripts = ["tests/package/sample_python_can.py"] - timeout = 40 - - -class TestPythonPy3Can(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CAN=y - """ - sample_scripts = ["tests/package/sample_python_can.py"] - timeout = 40 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_cbor.py b/buildroot-2021.05/support/testing/tests/package/test_python_cbor.py deleted file mode 100644 index 9da35037..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_cbor.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Cbor(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CBOR=y - """ - sample_scripts = ["tests/package/sample_python_cbor_enc.py", - "tests/package/sample_python_cbor_dec.py"] - - -class TestPythonPy3Cbor(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CBOR=y - """ - sample_scripts = ["tests/package/sample_python_cbor_enc.py", - "tests/package/sample_python_cbor_dec.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_click.py b/buildroot-2021.05/support/testing/tests/package/test_python_click.py deleted file mode 100644 index db57d3aa..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_click.py +++ /dev/null @@ -1,44 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonClick(TestPythonPackageBase): - sample_scripts = ["tests/package/sample_python_click.py"] - - def run_sample_scripts(self): - cmd = self.interpreter + " sample_python_click.py --help" - output, exit_code = self.emulator.run(cmd) - self.assertIn("Usage:", output[0]) - self.assertEqual(exit_code, 0) - - cmd = self.interpreter + " sample_python_click.py 123" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(output[0], "123, False") - self.assertEqual(exit_code, 0) - - cmd = self.interpreter + " sample_python_click.py --bar 456" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(output[0], "456, True") - self.assertEqual(exit_code, 0) - - cmd = self.interpreter + " sample_python_click.py" - output, exit_code = self.emulator.run(cmd) - self.assertIn("Usage:", output[0]) - self.assertEqual(exit_code, 2) - - -class TestPythonPy2Click(TestPythonClick): - __test__ = True - config = TestPythonClick.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CLICK=y - """ - - -class TestPythonPy3Click(TestPythonClick): - __test__ = True - config = TestPythonClick.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CLICK=y - """ diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_constantly.py b/buildroot-2021.05/support/testing/tests/package/test_python_constantly.py deleted file mode 100644 index 5be01c4f..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_constantly.py +++ /dev/null @@ -1,21 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Constantly(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CONSTANTLY=y - """ - sample_scripts = ["tests/package/sample_python_constantly.py"] - - -class TestPythonPy3Constantly(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CONSTANTLY=y - """ - sample_scripts = ["tests/package/sample_python_constantly.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_crossbar.py b/buildroot-2021.05/support/testing/tests/package/test_python_crossbar.py deleted file mode 100644 index d7843ddd..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_crossbar.py +++ /dev/null @@ -1,12 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy3Crossbar(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CROSSBAR=y - """ - sample_scripts = ["tests/package/sample_python_crossbar.py"] - timeout = 60 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_cryptography.py b/buildroot-2021.05/support/testing/tests/package/test_python_cryptography.py deleted file mode 100644 index 14515fcd..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_cryptography.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Cryptography(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_CRYPTOGRAPHY=y - """ - sample_scripts = ["tests/package/sample_python_cryptography.py"] - timeout = 40 - - -class TestPythonPy3Cryptography(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CRYPTOGRAPHY=y - """ - sample_scripts = ["tests/package/sample_python_cryptography.py"] - timeout = 40 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_gitdb2.py b/buildroot-2021.05/support/testing/tests/package/test_python_gitdb2.py deleted file mode 100644 index fc55f208..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_gitdb2.py +++ /dev/null @@ -1,21 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Gitdb2(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_GITDB2=y - """ - sample_scripts = ["tests/package/sample_python_gitdb2.py"] - - -class TestPythonPy3Gitdb2(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_GITDB2=y - """ - sample_scripts = ["tests/package/sample_python_gitdb2.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_incremental.py b/buildroot-2021.05/support/testing/tests/package/test_python_incremental.py deleted file mode 100644 index 49800d89..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_incremental.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Incremental(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_INCREMENTAL=y - """ - sample_scripts = ["tests/package/sample_python_incremental.py"] - timeout = 30 - - -class TestPythonPy3Incremental(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_INCREMENTAL=y - """ - sample_scripts = ["tests/package/sample_python_incremental.py"] - timeout = 30 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_passlib.py b/buildroot-2021.05/support/testing/tests/package/test_python_passlib.py deleted file mode 100644 index 7c85882b..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_passlib.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Passlib(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_PASSLIB=y - """ - sample_scripts = ["tests/package/sample_python_passlib.py"] - timeout = 30 - - -class TestPythonPy3Passlib(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_PASSLIB=y - """ - sample_scripts = ["tests/package/sample_python_passlib.py"] - timeout = 30 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_pexpect.py b/buildroot-2021.05/support/testing/tests/package/test_python_pexpect.py deleted file mode 100644 index ba31cdbd..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_pexpect.py +++ /dev/null @@ -1,21 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Pexpect(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_PEXPECT=y - """ - sample_scripts = ["tests/package/sample_python_pexpect.py"] - - -class TestPythonPy3Pexpect(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_PEXPECT=y - """ - sample_scripts = ["tests/package/sample_python_pexpect.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_pynacl.py b/buildroot-2021.05/support/testing/tests/package/test_python_pynacl.py deleted file mode 100644 index f4dd5494..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_pynacl.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Pynacl(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_PYNACL=y - """ - sample_scripts = ["tests/package/sample_python_pynacl.py"] - timeout = 10 - - -class TestPythonPy3Pynacl(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_PYNACL=y - """ - sample_scripts = ["tests/package/sample_python_pynacl.py"] - timeout = 10 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_pytest.py b/buildroot-2021.05/support/testing/tests/package/test_python_pytest.py deleted file mode 100644 index 7fa7e440..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_pytest.py +++ /dev/null @@ -1,19 +0,0 @@ -import os - -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy3Pytest(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_PYTEST=y - """ - sample_scripts = ["tests/package/sample_python_pytest.py"] - - def run_sample_scripts(self): - for script in self.sample_scripts: - cmd = self.interpreter + " -m pytest " + os.path.basename(script) - _, exit_code = self.emulator.run(cmd, timeout=self.timeout) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_pytest_asyncio.py b/buildroot-2021.05/support/testing/tests/package/test_python_pytest_asyncio.py deleted file mode 100644 index caf034be..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_pytest_asyncio.py +++ /dev/null @@ -1,20 +0,0 @@ -import os - -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy3PytestAsyncio(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_PYTEST=y - BR2_PACKAGE_PYTHON_PYTEST_ASYNCIO=y - """ - sample_scripts = ["tests/package/sample_python_pytest_asyncio.py"] - - def run_sample_scripts(self): - for script in self.sample_scripts: - cmd = self.interpreter + " -m pytest " + os.path.basename(script) - _, exit_code = self.emulator.run(cmd, timeout=self.timeout) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_pyyaml.py b/buildroot-2021.05/support/testing/tests/package/test_python_pyyaml.py deleted file mode 100644 index cd45a57b..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_pyyaml.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Pyyaml(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_PYYAML=y - """ - sample_scripts = ["tests/package/sample_python_pyyaml_enc.py", - "tests/package/sample_python_pyyaml_dec.py"] - - -class TestPythonPy3Pyyaml(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_PYYAML=y - """ - sample_scripts = ["tests/package/sample_python_pyyaml_enc.py", - "tests/package/sample_python_pyyaml_dec.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_service_identity.py b/buildroot-2021.05/support/testing/tests/package/test_python_service_identity.py deleted file mode 100644 index 6aeb77de..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_service_identity.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2ServiceIdentity(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_SERVICE_IDENTITY=y - """ - sample_scripts = ["tests/package/sample_python_service_identity.py"] - timeout = 30 - - -class TestPythonPy3ServiceIdentity(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_SERVICE_IDENTITY=y - """ - sample_scripts = ["tests/package/sample_python_service_identity.py"] - timeout = 30 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_smmap2.py b/buildroot-2021.05/support/testing/tests/package/test_python_smmap2.py deleted file mode 100644 index 07c0e662..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_smmap2.py +++ /dev/null @@ -1,21 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Smmap2(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_SMMAP2=y - """ - sample_scripts = ["tests/package/sample_python_smmap2.py"] - - -class TestPythonPy3Smmap2(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_SMMAP2=y - """ - sample_scripts = ["tests/package/sample_python_smmap2.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_subprocess32.py b/buildroot-2021.05/support/testing/tests/package/test_python_subprocess32.py deleted file mode 100644 index d2878046..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_subprocess32.py +++ /dev/null @@ -1,11 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Subprocess32(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_SUBPROCESS32=y - """ - sample_scripts = ["tests/package/sample_python_subprocess32.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_treq.py b/buildroot-2021.05/support/testing/tests/package/test_python_treq.py deleted file mode 100644 index e24ae845..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_treq.py +++ /dev/null @@ -1,30 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonTreq(TestPythonPackageBase): - sample_scripts = ["tests/package/sample_python_treq.py"] - - def run_sample_scripts(self): - cmd = self.interpreter + " sample_python_treq.py" - output, exit_code = self.emulator.run(cmd, timeout=20) - refuse_msgs = [1 for l in output if "Connection refused" in l] - self.assertGreater(sum(refuse_msgs), 0) - self.assertEqual(exit_code, 0) - - -class TestPythonPy2Treq(TestPythonTreq): - __test__ = True - config = TestPythonTreq.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_TREQ=y - """ - - -class TestPythonPy3Treq(TestPythonTreq): - __test__ = True - config = TestPythonTreq.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_TREQ=y - """ diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_twisted.py b/buildroot-2021.05/support/testing/tests/package/test_python_twisted.py deleted file mode 100644 index a458ee45..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_twisted.py +++ /dev/null @@ -1,39 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonTwisted(TestPythonPackageBase): - config = TestPythonPackageBase.config - sample_scripts = ["tests/package/sample_python_twisted.py"] - - def run_sample_scripts(self): - cmd = "netstat -ltn 2>/dev/null | grep 0.0.0.0:1234" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 1) - - cmd = self.interpreter + " sample_python_twisted.py &" - # give some time to setup the server - cmd += "sleep 30" - _, exit_code = self.emulator.run(cmd, timeout=35) - self.assertEqual(exit_code, 0) - - cmd = "netstat -ltn 2>/dev/null | grep 0.0.0.0:1234" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - -class TestPythonPy2Twisted(TestPythonTwisted): - __test__ = True - config = TestPythonTwisted.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_TWISTED=y - """ - - -class TestPythonPy3Twisted(TestPythonTwisted): - __test__ = True - config = TestPythonTwisted.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_TWISTED=y - """ diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_txtorcon.py b/buildroot-2021.05/support/testing/tests/package/test_python_txtorcon.py deleted file mode 100644 index 1ac2f691..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_txtorcon.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Txtorcon(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_TXTORCON=y - """ - sample_scripts = ["tests/package/sample_python_txtorcon.py"] - timeout = 30 - - -class TestPythonPy3Txtorcon(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_TXTORCON=y - """ - sample_scripts = ["tests/package/sample_python_txtorcon.py"] - timeout = 30 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_ubjson.py b/buildroot-2021.05/support/testing/tests/package/test_python_ubjson.py deleted file mode 100644 index 85c707e2..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_python_ubjson.py +++ /dev/null @@ -1,23 +0,0 @@ -from tests.package.test_python import TestPythonPackageBase - - -class TestPythonPy2Ubjson(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON=y - BR2_PACKAGE_PYTHON_UBJSON=y - """ - sample_scripts = ["tests/package/sample_python_ubjson_enc.py", - "tests/package/sample_python_ubjson_dec.py"] - - -class TestPythonPy3Ubjson(TestPythonPackageBase): - __test__ = True - config = TestPythonPackageBase.config + \ - """ - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_UBJSON=y - """ - sample_scripts = ["tests/package/sample_python_ubjson_enc.py", - "tests/package/sample_python_ubjson_dec.py"] diff --git a/buildroot-2021.05/support/testing/tests/package/test_redis.py b/buildroot-2021.05/support/testing/tests/package/test_redis.py deleted file mode 100644 index d7999851..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_redis.py +++ /dev/null @@ -1,24 +0,0 @@ -import os - -import infra.basetest - - -class TestRedis(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + """ - BR2_TARGET_ROOTFS_CPIO=y - BR2_PACKAGE_REDIS=y - """ - - def test_run(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - _, exit_code = self.emulator.run("redis-cli SET hello world") - self.assertEqual(exit_code, 0) - - output, exit_code = self.emulator.run("redis-cli GET hello") - self.assertEqual(exit_code, 0) - self.assertEqual(output[0].strip(), '"world"') diff --git a/buildroot-2021.05/support/testing/tests/package/test_rust.py b/buildroot-2021.05/support/testing/tests/package/test_rust.py deleted file mode 100644 index 15bb93dd..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_rust.py +++ /dev/null @@ -1,112 +0,0 @@ -import os -import tempfile -import subprocess -import shutil - -import infra.basetest - - -class TestRustBase(infra.basetest.BRTest): - - target = 'armv7-unknown-linux-gnueabihf' - crate = 'hello-world' - - def login(self): - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - def build_test_prog(self): - hostdir = os.path.join(self.builddir, 'host') - env = os.environ.copy() - env["USER"] = "br-user" - env["PATH"] = "{}:".format(os.path.join(hostdir, 'bin')) + env["PATH"] - env["CARGO_HOME"] = os.path.join(hostdir, 'usr', 'share', 'cargo') - env["RUST_TARGET_PATH"] = os.path.join(hostdir, 'etc', 'rustc') - cargo = os.path.join(hostdir, 'bin', 'cargo') - workdir = os.path.join(tempfile.mkdtemp(suffix='-br2-testing-rust'), - self.crate) - manifest = os.path.join(workdir, 'Cargo.toml') - prog = os.path.join(workdir, 'target', self.target, 'debug', self.crate) - - cmd = [cargo, 'init', '--bin', '--vcs', 'none', '-vv', workdir] - ret = subprocess.call(cmd, - stdout=self.b.logfile, - stderr=self.b.logfile, - env=env) - if ret != 0: - raise SystemError("Cargo init failed") - - cmd = [ - cargo, 'build', '-vv', '--target', self.target, - '--manifest-path', manifest - ] - ret = subprocess.call(cmd, - stdout=self.b.logfile, - stderr=self.b.logfile, - env=env) - if ret != 0: - raise SystemError("Cargo build failed") - - shutil.copy(prog, os.path.join(self.builddir, 'target', 'usr', 'bin')) - self.b.build() - shutil.rmtree(workdir) - - -class TestRustBin(TestRustBase): - config = \ - """ - BR2_arm=y - BR2_cortex_a9=y - BR2_ARM_ENABLE_NEON=y - BR2_ARM_ENABLE_VFP=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - BR2_SYSTEM_DHCP="eth0" - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.3" - BR2_LINUX_KERNEL_DEFCONFIG="vexpress" - BR2_LINUX_KERNEL_DTS_SUPPORT=y - BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - BR2_PACKAGE_HOST_RUSTC=y - """ - - def test_run(self): - self.build_test_prog() - self.login() - _, exit_code = self.emulator.run(self.crate) - self.assertEqual(exit_code, 0) - - -class TestRust(TestRustBase): - config = \ - """ - BR2_arm=y - BR2_cortex_a9=y - BR2_ARM_ENABLE_NEON=y - BR2_ARM_ENABLE_VFP=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" - BR2_SYSTEM_DHCP="eth0" - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.11.3" - BR2_LINUX_KERNEL_DEFCONFIG="vexpress" - BR2_LINUX_KERNEL_DTS_SUPPORT=y - BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - BR2_PACKAGE_HOST_RUSTC=y - BR2_PACKAGE_HOST_RUST=y - """ - - def test_run(self): - self.build_test_prog() - self.login() - _, exit_code = self.emulator.run(self.crate) - self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/tests/package/test_s6_rc.py b/buildroot-2021.05/support/testing/tests/package/test_s6_rc.py deleted file mode 100644 index 8d375efe..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_s6_rc.py +++ /dev/null @@ -1,47 +0,0 @@ -import os - -import infra.basetest - - -class TestS6Rc(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_PACKAGE_S6_RC=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - _, exit_code = self.emulator.run("s6-svscan -h") - self.assertEqual(exit_code, 100) - - # Set up two service directories with a dependency - self.emulator.run("mkdir -p source/testsv1") - self.emulator.run("mkdir -p source/testsv2") - self.emulator.run("echo oneshot > source/testsv1/type") - self.emulator.run("echo oneshot > source/testsv2/type") - self.emulator.run("echo 'echo foo' > source/testsv1/up") - self.emulator.run("echo 'echo bar' > source/testsv2/up") - self.emulator.run("echo testsv1 > source/testsv2/dependencies") - self.emulator.run("chmod +x source/testsv1/up") - self.emulator.run("chmod +x source/testsv2/up") - - # Compile the service database - _, exit_code = self.emulator.run("s6-rc-compile compiled source") - self.assertEqual(exit_code, 0) - - # Inspect dependencies - cmd = "s6-rc-db -c compiled -d dependencies testsv1" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertEqual(output[0], "testsv2") - cmd = "s6-rc-db -c compiled dependencies testsv2" - output, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - self.assertEqual(output[0], "testsv1") diff --git a/buildroot-2021.05/support/testing/tests/package/test_sudo.py b/buildroot-2021.05/support/testing/tests/package/test_sudo.py deleted file mode 100644 index f9d0a6f3..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_sudo.py +++ /dev/null @@ -1,36 +0,0 @@ -import os - -import infra.basetest - - -class TestSudo(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_PACKAGE_SUDO=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - # -D don't set a password - # -h set home directory - # -H don't create home directory - # -s set shell - _, exit_code = self.emulator.run("adduser -D -h /tmp -H -s /bin/sh sudotest") - self.assertEqual(exit_code, 0) - - _, exit_code = self.emulator.run("echo 'sudotest ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers") - self.assertEqual(exit_code, 0) - - output, exit_code = self.emulator.run("su - sudotest -c 'echo hello world'") - self.assertEqual(output, ["hello world"]) - - output, exit_code = self.emulator.run("su - sudotest -c 'sudo echo hello world'") - self.assertEqual(exit_code, 0) - self.assertEqual(output, ["hello world"]) diff --git a/buildroot-2021.05/support/testing/tests/package/test_syslog_ng.py b/buildroot-2021.05/support/testing/tests/package/test_syslog_ng.py deleted file mode 100644 index 3fb0be5f..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_syslog_ng.py +++ /dev/null @@ -1,38 +0,0 @@ -import os - -import infra.basetest - - -class TestSyslogNg(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y - BR2_PACKAGE_SYSLOG_NG=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - cmd = "grep 'syslog-ng starting' /var/log/messages" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - cmd = "logger my-message && " - cmd += "sleep 1 && " - cmd += "grep my-message /var/log/messages" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - cmd = "syslog-ng-ctl reload && " - cmd += "sleep 1" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - cmd = "grep -i 'syslog-ng.*warning' /var/log/messages" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 1) diff --git a/buildroot-2021.05/support/testing/tests/package/test_tmux.py b/buildroot-2021.05/support/testing/tests/package/test_tmux.py deleted file mode 100644 index b31854ca..00000000 --- a/buildroot-2021.05/support/testing/tests/package/test_tmux.py +++ /dev/null @@ -1,41 +0,0 @@ -import os - -import infra.basetest - - -class TestTmux(infra.basetest.BRTest): - config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ - """ - BR2_PACKAGE_TMUX=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", cpio_file]) - self.emulator.login() - - cmd = "tmux -V" - _, exit_code = self.emulator.run(cmd) - self.assertEqual(exit_code, 0) - - cmd = "tmux -C /tmp/urandom.sha256", - # Check ZFS - "zpool export pool", - "zpool import pool -d /tmp/container1.raw -d /tmp/container2.raw", - "dd conv=notrunc bs=1M count=32 seek=16 if=/dev/urandom of=/tmp/container1.raw", - "zpool scrub -w pool", - "sha256sum -c /tmp/urandom.sha256", - "zpool status -v", - # Check PyZFS - "arc_summary", - ] - for cmd in cmds: - self.assertRunOk(cmd) - - -class TestZfsUclibc(infra.basetest.BRTest): - config = \ - """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y - BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y - BR2_LINUX_KERNEL=y - BR2_LINUX_KERNEL_CUSTOM_VERSION=y - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.23" - BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y - BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" - BR2_PACKAGE_ZFS=y - BR2_PACKAGE_PYTHON3=y - BR2_PACKAGE_PYTHON_CFFI=y - BR2_PACKAGE_PYTHON_SETUPTOOLS=y - BR2_PACKAGE_ZLIB_NG=y - BR2_PACKAGE_LIBRESSL=y - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - def test_run(self): - kernel = os.path.join(self.builddir, "images", "bzImage") - cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot( - arch="x86_64", - kernel=kernel, - kernel_cmdline=["console=ttyS0"], - options=["-cpu", "Nehalem", "-m", "320", "-initrd", cpio_file], - ) - self.emulator.login() - - cmds = [ - # Init - "modprobe zfs", - "mount -o remount,size=132M /tmp", - "fallocate -l 64M /tmp/container1.raw", - "fallocate -l 64M /tmp/container2.raw", - "zpool create -m /pool pool raidz /tmp/container1.raw /tmp/container2.raw", - "dd if=/dev/urandom bs=1M count=8 of=/pool/urandom", - "sha256sum /pool/urandom > /tmp/urandom.sha256", - # Check ZFS - "zpool export pool", - "zpool import pool -d /tmp/container1.raw -d /tmp/container2.raw", - "dd conv=notrunc bs=1M count=32 seek=16 if=/dev/urandom of=/tmp/container1.raw", - "zpool scrub -w pool", - "sha256sum -c /tmp/urandom.sha256", - "zpool status -v", - # Check PyZFS - "arc_summary", - ] - for cmd in cmds: - self.assertRunOk(cmd) diff --git a/buildroot-2021.05/support/testing/tests/toolchain/test_external.py b/buildroot-2021.05/support/testing/tests/toolchain/test_external.py deleted file mode 100644 index db62a843..00000000 --- a/buildroot-2021.05/support/testing/tests/toolchain/test_external.py +++ /dev/null @@ -1,256 +0,0 @@ -import os -import infra - -BASIC_CONFIG = \ - """ - BR2_TARGET_ROOTFS_CPIO=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - - -def has_broken_links(path): - for root, dirs, files in os.walk(path): - for f in files: - fpath = os.path.join(root, f) - if not os.path.exists(fpath): - return True - return False - - -class TestExternalToolchain(infra.basetest.BRTest): - def common_check(self): - # Check for broken symlinks - for d in ["lib", "usr/lib"]: - path = os.path.join(self.builddir, "staging", d) - self.assertFalse(has_broken_links(path)) - path = os.path.join(self.builddir, "target", d) - self.assertFalse(has_broken_links(path)) - - with open(os.path.join(self.builddir, ".config"), 'r') as configf: - configlines = [l.strip() for l in configf.readlines()] - - if "BR2_BINFMT_ELF=y" in configlines: - interp = infra.get_elf_prog_interpreter(self.builddir, - self.toolchain_prefix, - "bin/busybox") - interp_path = os.path.join(self.builddir, "target", interp[1:]) - self.assertTrue(os.path.exists(interp_path)) - - -class TestExternalToolchainSourceryArmv4(TestExternalToolchain): - config = BASIC_CONFIG + \ - """ - BR2_arm=y - BR2_arm920t=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM=y - """ - toolchain_prefix = "arm-none-linux-gnueabi" - - def test_run(self): - TestExternalToolchain.common_check(self) - - # Check the architecture variant - arch = infra.get_file_arch(self.builddir, - self.toolchain_prefix, - "lib/libc.so.6") - self.assertEqual(arch, "v4T") - - # Check the sysroot symlink - symlink = os.path.join(self.builddir, "staging", "armv4t") - self.assertTrue(os.path.exists(symlink)) - self.assertEqual(os.readlink(symlink), "./") - - # Boot the system - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - -class TestExternalToolchainSourceryArmv5(TestExternalToolchain): - config = BASIC_CONFIG + \ - """ - BR2_arm=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM=y - """ - toolchain_prefix = "arm-none-linux-gnueabi" - - def test_run(self): - TestExternalToolchain.common_check(self) - - # Check the architecture variant - arch = infra.get_file_arch(self.builddir, - self.toolchain_prefix, - "lib/libc.so.6") - self.assertEqual(arch, "v5TE") - - # Boot the system - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv5", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - -class TestExternalToolchainSourceryArmv7(TestExternalToolchain): - config = BASIC_CONFIG + \ - """ - BR2_arm=y - BR2_cortex_a8=y - BR2_ARM_EABI=y - BR2_ARM_INSTRUCTIONS_THUMB2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM=y - """ - toolchain_prefix = "arm-none-linux-gnueabi" - - def test_run(self): - TestExternalToolchain.common_check(self) - - # Check the architecture variant - arch = infra.get_file_arch(self.builddir, - self.toolchain_prefix, - "lib/libc.so.6") - self.assertEqual(arch, "v7") - isa = infra.get_elf_arch_tag(self.builddir, - self.toolchain_prefix, - "lib/libc.so.6", - "Tag_THUMB_ISA_use") - self.assertEqual(isa, "Thumb-2") - - # Check we have the sysroot symlink - symlink = os.path.join(self.builddir, "staging", "thumb2") - self.assertTrue(os.path.exists(symlink)) - self.assertEqual(os.readlink(symlink), "./") - - # Boot the system - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - -class TestExternalToolchainLinaroArm(TestExternalToolchain): - config = BASIC_CONFIG + \ - """ - BR2_arm=y - BR2_cortex_a8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y - """ - toolchain_prefix = "arm-linux-gnueabihf" - - def test_run(self): - TestExternalToolchain.common_check(self) - - # Check the architecture variant - arch = infra.get_file_arch(self.builddir, - self.toolchain_prefix, - "lib/libc.so.6") - self.assertEqual(arch, "v7") - isa = infra.get_elf_arch_tag(self.builddir, - self.toolchain_prefix, - "lib/libc.so.6", - "Tag_THUMB_ISA_use") - self.assertEqual(isa, "Thumb-2") - - # Boot the system - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - -class TestExternalToolchainBuildrootMusl(TestExternalToolchain): - config = BASIC_CONFIG + \ - """ - BR2_arm=y - BR2_cortex_a9=y - BR2_ARM_ENABLE_VFP=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y - BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y - BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-cortex-a9-musl-2017.05-1078-g95b1dae.tar.bz2" - BR2_TOOLCHAIN_EXTERNAL_GCC_6=y - BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y - BR2_TOOLCHAIN_EXTERNAL_CXX=y - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - -class TestExternalToolchainCtngMusl(TestExternalToolchain): - config = BASIC_CONFIG + \ - """ - BR2_arm=y - BR2_cortex_a9=y - BR2_ARM_ENABLE_VFP=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y - BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y - BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.net/toolchains/tarballs/arm-ctng-linux-musleabihf.tar.xz" - BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-ctng-linux-musleabihf" - BR2_TOOLCHAIN_EXTERNAL_GCC_7=y - BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y - BR2_TOOLCHAIN_EXTERNAL_CXX=y - """ - toolchain_prefix = "arm-ctng-linux-musleabihf" - - def test_run(self): - TestExternalToolchain.common_check(self) - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - -class TestExternalToolchainBuildrootuClibc(TestExternalToolchain): - config = BASIC_CONFIG + \ - """ - BR2_arm=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y - BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y - BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2017.05-1078-g95b1dae.tar.bz2" - BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y - BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y - BR2_TOOLCHAIN_EXTERNAL_LOCALE=y - # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set - BR2_TOOLCHAIN_EXTERNAL_CXX=y - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - img = os.path.join(self.builddir, "images", "rootfs.cpio") - self.emulator.boot(arch="armv7", - kernel="builtin", - options=["-initrd", img]) - self.emulator.login() - - -class TestExternalToolchainCCache(TestExternalToolchainBuildrootuClibc): - extraconfig = \ - """ - BR2_CCACHE=y - BR2_CCACHE_DIR="{builddir}/ccache-dir" - """ - - def __init__(self, names): - super(TestExternalToolchainBuildrootuClibc, self).__init__(names) - self.config += self.extraconfig.format(builddir=self.builddir) diff --git a/buildroot-2021.05/support/testing/tests/toolchain/test_external_bootlin.py b/buildroot-2021.05/support/testing/tests/toolchain/test_external_bootlin.py deleted file mode 100644 index af60c21f..00000000 --- a/buildroot-2021.05/support/testing/tests/toolchain/test_external_bootlin.py +++ /dev/null @@ -1,2596 +0,0 @@ -# This file was auto-generated by support/scripts/gen-bootlin-toolchains -# Do not edit -from tests.toolchain.test_external import TestExternalToolchain - - -class TestExternalToolchainBootlinAarch64GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_aarch64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64GlibcStable(TestExternalToolchain): - config = """ - BR2_aarch64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_aarch64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64MuslStable(TestExternalToolchain): - config = """ - BR2_aarch64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_aarch64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64UclibcStable(TestExternalToolchain): - config = """ - BR2_aarch64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64beGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_aarch64_be=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64_be-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64beGlibcStable(TestExternalToolchain): - config = """ - BR2_aarch64_be=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64_be-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64beUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_aarch64_be=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64_be-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinAarch64beUclibcStable(TestExternalToolchain): - config = """ - BR2_aarch64_be=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "aarch64_be-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArcle750dUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arcle=y - BR2_arc750d=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArcle750dUclibcStable(TestExternalToolchain): - config = """ - BR2_arcle=y - BR2_arc750d=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArclehs38GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arcle=y - BR2_archs38=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArclehs38GlibcStable(TestExternalToolchain): - config = """ - BR2_arcle=y - BR2_archs38=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArclehs38UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arcle=y - BR2_archs38=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArclehs38UclibcStable(TestExternalToolchain): - config = """ - BR2_arcle=y - BR2_archs38=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv5eabiGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm926t=y - BR2_ARM_EABI=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv5eabiGlibcStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm926t=y - BR2_ARM_EABI=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv5eabiMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm926t=y - BR2_ARM_EABI=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv5eabiMuslStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm926t=y - BR2_ARM_EABI=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv5eabiUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm926t=y - BR2_ARM_EABI=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv5eabiUclibcStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm926t=y - BR2_ARM_EABI=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv6eabihfGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm1176jzf_s=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv6eabihfGlibcStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm1176jzf_s=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv6eabihfMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm1176jzf_s=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv6eabihfMuslStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm1176jzf_s=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv6eabihfUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm1176jzf_s=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv6eabihfUclibcStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_arm1176jzf_s=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv7eabihfGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_cortex_a8=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv7eabihfGlibcStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_cortex_a8=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv7eabihfMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_cortex_a8=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv7eabihfMuslStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_cortex_a8=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv7eabihfUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_cortex_a8=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv7eabihfUclibcStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_cortex_a8=y - BR2_ARM_EABIHF=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv7mUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_cortex_m4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinArmv7mUclibcStable(TestExternalToolchain): - config = """ - BR2_arm=y - BR2_cortex_m4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "arm-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinM68k68xxxUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_m68k=y - BR2_m68k_68040=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "m68k-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinM68k68xxxUclibcStable(TestExternalToolchain): - config = """ - BR2_m68k=y - BR2_m68k_68040=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "m68k-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinM68kcoldfireUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_m68k=y - BR2_m68k_cf5208=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "m68k-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinM68kcoldfireUclibcStable(TestExternalToolchain): - config = """ - BR2_m68k=y - BR2_m68k_cf5208=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "m68k-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazebeGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_microblazebe=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblaze-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazebeGlibcStable(TestExternalToolchain): - config = """ - BR2_microblazebe=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblaze-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazebeMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_microblazebe=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblaze-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazebeMuslStable(TestExternalToolchain): - config = """ - BR2_microblazebe=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblaze-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazebeUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_microblazebe=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblaze-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazebeUclibcStable(TestExternalToolchain): - config = """ - BR2_microblazebe=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblaze-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazeelGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_microblazeel=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblazeel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazeelGlibcStable(TestExternalToolchain): - config = """ - BR2_microblazeel=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblazeel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazeelMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_microblazeel=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblazeel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazeelMuslStable(TestExternalToolchain): - config = """ - BR2_microblazeel=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblazeel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazeelUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_microblazeel=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblazeel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMicroblazeelUclibcStable(TestExternalToolchain): - config = """ - BR2_microblazeel=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "microblazeel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32GlibcStable(TestExternalToolchain): - config = """ - BR2_mips=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32MuslStable(TestExternalToolchain): - config = """ - BR2_mips=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32UclibcStable(TestExternalToolchain): - config = """ - BR2_mips=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32elGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32elGlibcStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32elMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32elMuslStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32elUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32elUclibcStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r5elGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r5=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r5elGlibcStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r5=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r5elMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r5=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r5elMuslStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r5=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r5elUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r5=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r5elUclibcStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r5=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r6elGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r6=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r6elGlibcStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r6=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r6elMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r6=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r6elMuslStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r6=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r6elUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r6=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips32r6elUclibcStable(TestExternalToolchain): - config = """ - BR2_mipsel=y - BR2_mips_32r6=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mipsel-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64n32GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64n32GlibcStable(TestExternalToolchain): - config = """ - BR2_mips64=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64n32MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64n32MuslStable(TestExternalToolchain): - config = """ - BR2_mips64=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64n32UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64n32UclibcStable(TestExternalToolchain): - config = """ - BR2_mips64=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64eln32GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64eln32GlibcStable(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64eln32MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64eln32MuslStable(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64eln32UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64eln32UclibcStable(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64r6eln32GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64r6=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64r6eln32GlibcStable(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64r6=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64r6eln32MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64r6=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64r6eln32MuslStable(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64r6=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64r6eln32UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64r6=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinMips64r6eln32UclibcStable(TestExternalToolchain): - config = """ - BR2_mips64el=y - BR2_mips_64r6=y - BR2_MIPS_NABI32=y - # BR2_MIPS_SOFT_FLOAT is not set - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "mips64el-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinNios2GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_nios2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "nios2-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinNios2GlibcStable(TestExternalToolchain): - config = """ - BR2_nios2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "nios2-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinOpenriscMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_or1k=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "or1k-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinOpenriscMuslStable(TestExternalToolchain): - config = """ - BR2_or1k=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "or1k-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinOpenriscUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_or1k=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "or1k-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinOpenriscUclibcStable(TestExternalToolchain): - config = """ - BR2_or1k=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "or1k-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc440fpGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_440fp=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc440fpGlibcStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_440fp=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc440fpMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_440fp=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc440fpMuslStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_440fp=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc440fpUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_440fp=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc440fpUclibcStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_440fp=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce300c3GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e300c3=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce300c3GlibcStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e300c3=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce300c3MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e300c3=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce300c3MuslStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e300c3=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce300c3UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e300c3=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce300c3UclibcStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e300c3=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce500mcGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e500mc=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce500mcGlibcStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e500mc=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce500mcMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e500mc=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce500mcMuslStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e500mc=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce500mcUclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e500mc=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpce500mcUclibcStable(TestExternalToolchain): - config = """ - BR2_powerpc=y - BR2_powerpc_e500mc=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64e5500GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_e5500=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64e5500GlibcStable(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_e5500=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64e6500GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_e6500=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64e6500GlibcStable(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_e6500=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64e6500MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_e6500=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64e6500MuslStable(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_e6500=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64power8GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_power8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64power8GlibcStable(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_power8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64power8MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_power8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64power8MuslStable(TestExternalToolchain): - config = """ - BR2_powerpc64=y - BR2_powerpc_power8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64lepower8GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc64le=y - BR2_powerpc_power8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64le-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64lepower8GlibcStable(TestExternalToolchain): - config = """ - BR2_powerpc64le=y - BR2_powerpc_power8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64le-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64lepower8MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_powerpc64le=y - BR2_powerpc_power8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64le-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinPowerpc64lepower8MuslStable(TestExternalToolchain): - config = """ - BR2_powerpc64le=y - BR2_powerpc_power8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "powerpc64le-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinRiscv32ilp32dGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_riscv=y - BR2_riscv_g=y - BR2_RISCV_32=y - BR2_RISCV_ABI_ILP32D=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "riscv32-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinRiscv64GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_riscv=y - BR2_riscv_g=y - BR2_RISCV_64=y - BR2_RISCV_ABI_LP64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "riscv64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinRiscv64MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_riscv=y - BR2_riscv_g=y - BR2_RISCV_64=y - BR2_RISCV_ABI_LP64=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "riscv64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4GlibcStable(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4MuslStable(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4UclibcStable(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4aebGlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4aeb=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4aeb-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4aebGlibcStable(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4aeb=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4aeb-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4aebMuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4aeb=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4aeb-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinShsh4aebMuslStable(TestExternalToolchain): - config = """ - BR2_sh=y - BR2_sh4aeb=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sh4aeb-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinSparc64GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_sparc64=y - BR2_sparc_v9=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sparc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinSparc64GlibcStable(TestExternalToolchain): - config = """ - BR2_sparc64=y - BR2_sparc_v9=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sparc64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinSparcv8UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_sparc=y - BR2_sparc_v8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sparc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinSparcv8UclibcStable(TestExternalToolchain): - config = """ - BR2_sparc=y - BR2_sparc_v8=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "sparc-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX8664corei7GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "x86_64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX8664corei7GlibcStable(TestExternalToolchain): - config = """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "x86_64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX8664corei7MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "x86_64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX8664corei7MuslStable(TestExternalToolchain): - config = """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "x86_64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX8664corei7UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "x86_64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX8664corei7UclibcStable(TestExternalToolchain): - config = """ - BR2_x86_64=y - BR2_x86_corei7=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "x86_64-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86core2GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_core2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86core2GlibcStable(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_core2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86core2MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_core2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86core2MuslStable(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_core2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86core2UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_core2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86core2UclibcStable(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_core2=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86i686GlibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_i686=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86i686GlibcStable(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_i686=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86i686MuslBleedingEdge(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_i686=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86i686MuslStable(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_i686=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86i686UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_i686=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinX86i686UclibcStable(TestExternalToolchain): - config = """ - BR2_i386=y - BR2_x86_i686=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "i686-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinXtensalx60UclibcBleedingEdge(TestExternalToolchain): - config = """ - BR2_xtensa=y - BR2_XTENSA_CUSTOM=y - BR2_XTENSA_LITTLE_ENDIAN=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_BLEEDING_EDGE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "xtensa-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) - - -class TestExternalToolchainBootlinXtensalx60UclibcStable(TestExternalToolchain): - config = """ - BR2_xtensa=y - BR2_XTENSA_CUSTOM=y - BR2_XTENSA_LITTLE_ENDIAN=y - BR2_TOOLCHAIN_EXTERNAL=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE=y - # BR2_TARGET_ROOTFS_TAR is not set - """ - toolchain_prefix = "xtensa-linux" - - def test_run(self): - TestExternalToolchain.common_check(self) diff --git a/buildroot-2021.05/system/Config.in b/buildroot-2021.05/system/Config.in deleted file mode 100644 index b3abeddd..00000000 --- a/buildroot-2021.05/system/Config.in +++ /dev/null @@ -1,621 +0,0 @@ -menu "System configuration" - -# Note on package/skeleton: usually, it is not safe to 'select' a -# provider of a virtual package. But below we have an exception: each -# init system may select one of the virtual skeleton-init-* packages. -# As only one init system may be enabled, only one skeleton-init-* may -# be selected. So this is a safe situation. -choice - prompt "Root FS skeleton" - -config BR2_ROOTFS_SKELETON_DEFAULT - bool "default target skeleton" - help - Use default target skeleton for selected init system. - -config BR2_ROOTFS_SKELETON_CUSTOM - bool "custom target skeleton" - select BR2_PACKAGE_SKELETON_CUSTOM - help - Use custom target skeleton. - -# skeleton from br2-external trees, if any -source "$BR2_BASE_DIR/.br2-external.in.skeleton" - -endchoice - -if BR2_ROOTFS_SKELETON_CUSTOM - -config BR2_ROOTFS_SKELETON_CUSTOM_PATH - string "custom target skeleton path" - help - Path to custom target skeleton. - -endif - -if BR2_ROOTFS_SKELETON_DEFAULT - -config BR2_TARGET_GENERIC_HOSTNAME - string "System hostname" - default "buildroot" - help - Select system hostname to be stored in /etc/hostname. - - Leave empty to not create /etc/hostname, or to keep the - one from a custom skeleton. - -config BR2_TARGET_GENERIC_ISSUE - string "System banner" - default "Welcome to Buildroot" - help - Select system banner (/etc/issue) to be displayed at login. - - Leave empty to not create /etc/issue, or to keep the - one from a custom skeleton. - -endif - -choice - bool "Passwords encoding" - default BR2_TARGET_GENERIC_PASSWD_SHA256 - help - Choose the password encoding scheme to use when Buildroot - needs to encode a password (eg. the root password, below). - - Note: this is used at build-time, and *not* at runtime. - -config BR2_TARGET_GENERIC_PASSWD_SHA256 - bool "sha-256" - help - Use SHA256 to encode passwords which is stronger than MD5. - -config BR2_TARGET_GENERIC_PASSWD_SHA512 - bool "sha-512" - help - Use SHA512 to encode passwords which is stronger than SHA256 - -endchoice # Passwd encoding - -config BR2_TARGET_GENERIC_PASSWD_METHOD - string - default "md5" if BR2_TARGET_GENERIC_PASSWD_MD5 - default "sha-256" if BR2_TARGET_GENERIC_PASSWD_SHA256 - default "sha-512" if BR2_TARGET_GENERIC_PASSWD_SHA512 - -# See comment at the top of the file, about selecting individual -# skeletons, which are providers of the virtual skeleton package. -choice - prompt "Init system" - default BR2_INIT_BUSYBOX - -config BR2_INIT_BUSYBOX - bool "BusyBox" - select BR2_PACKAGE_BUSYBOX - select BR2_PACKAGE_INITSCRIPTS - select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT - -config BR2_INIT_SYSV - bool "systemV" - depends on BR2_USE_MMU # sysvinit - select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit - select BR2_PACKAGE_INITSCRIPTS - select BR2_PACKAGE_SYSVINIT - select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT - -config BR2_INIT_OPENRC - bool "OpenRC" - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_OPENRC - select BR2_PACKAGE_SKELETON_INIT_OPENRC if BR2_ROOTFS_SKELETON_DEFAULT - -comment "openrc needs a toolchain w/ dynamic library" - depends on BR2_USE_MMU - depends on BR2_STATIC_LIBS - -# In Buildroot, we decided not to support a split-usr when systemd is -# used as an init system. This is a design decision, not a systemd -# issue. Thus the select is with BR2_INIT_SYSTEMD (below) rather than -# with BR2_PACKAGE_SYSTEMD. -config BR2_INIT_SYSTEMD - bool "systemd" - depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_USES_GLIBC - depends on BR2_TOOLCHAIN_HAS_SSP - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 - depends on BR2_HOST_GCC_AT_LEAST_5 - select BR2_ROOTFS_MERGED_USR - select BR2_PACKAGE_SYSTEMD - select BR2_PACKAGE_SKELETON_INIT_SYSTEMD if BR2_ROOTFS_SKELETON_DEFAULT - -comment "systemd needs a glibc toolchain w/ SSP, headers >= 3.10, host and target gcc >= 5" - depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS - depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_USES_GLIBC || \ - !BR2_TOOLCHAIN_HAS_SSP || \ - !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \ - !BR2_HOST_GCC_AT_LEAST_5 - -config BR2_INIT_NONE - bool "None" - select BR2_PACKAGE_SKELETON_INIT_NONE if BR2_ROOTFS_SKELETON_DEFAULT - help - Buildroot will not install any init system. You will - have to provide your own, either with a new package - or with a rootfs-overlay. - -# Init systems from br2-external trees, if any -source "$BR2_BASE_DIR/.br2-external.in.init" - -endchoice - -choice - prompt "/dev management" if !BR2_INIT_SYSTEMD - default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS - -config BR2_ROOTFS_DEVICE_CREATION_STATIC - bool "Static using device table" - -config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS - bool "Dynamic using devtmpfs only" - -config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV - bool "Dynamic using devtmpfs + mdev" - select BR2_PACKAGE_BUSYBOX - -config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV - bool "Dynamic using devtmpfs + eudev" - depends on BR2_USE_WCHAR # eudev - depends on !BR2_STATIC_LIBS - depends on BR2_USE_MMU # eudev - select BR2_PACKAGE_EUDEV - -comment "eudev needs a toolchain w/ wchar, dynamic library" - depends on BR2_USE_MMU - depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS - -endchoice - -comment "/dev management using udev (from systemd)" - depends on BR2_INIT_SYSTEMD - -config BR2_ROOTFS_DEVICE_TABLE - string "Path to the permission tables" - default "system/device_table.txt" - help - Specify a space-separated list of permission table locations, - that will be passed to the makedevs utility to assign - correct owners and permissions on various files in the - target filesystem. - - See package/makedevs/README for details on the usage and - syntax of these files. - -config BR2_ROOTFS_STATIC_DEVICE_TABLE - string "Path to the device tables" - default "system/device_table_dev.txt" - depends on BR2_ROOTFS_DEVICE_CREATION_STATIC - help - Specify a space-separated list of device table locations, - that will be passed to the makedevs utility to create all - the special device files under /dev. - - See package/makedevs/README for details on the usage and - syntax of these files. - -config BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES - bool "support extended attributes in device tables" - help - Support extended attributes handling in device tables - -config BR2_ROOTFS_MERGED_USR - bool "Use symlinks to /usr for /bin, /sbin and /lib" - help - If you say 'n' here, then /bin, /sbin and /lib and their - counterparts in /usr will be separate directories. This - is the historical UNIX way. In this case, /usr can be a - filesystem on a partition separate from / . - - If you say 'y' here, then /bin, /sbin and /lib will be - symlinks to their counterparts in /usr. In this case, /usr can - not be a separate filesystem. - -if BR2_ROOTFS_SKELETON_DEFAULT - -config BR2_TARGET_ENABLE_ROOT_LOGIN - bool "Enable root login with password" - default y - select BR2_PACKAGE_HOST_MKPASSWD if BR2_TARGET_GENERIC_ROOT_PASSWD != "" - help - Allow root to log in with a password. - - If not enabled, root will not be able to log in with a - password. However, if you have an ssh server and you add an - ssh key, you can still allow root to log in. Alternatively, - you can use sudo to become root. - -config BR2_TARGET_GENERIC_ROOT_PASSWD - string "Root password" - default "" - depends on BR2_TARGET_ENABLE_ROOT_LOGIN - help - Set the initial root password. - - If set to empty (the default), then no root password will be - set, and root will need no password to log in. - - If the password starts with any of $1$, $5$ or $6$, it is - considered to be already crypt-encoded with respectively md5, - sha256 or sha512. Any other value is taken to be a clear-text - value, and is crypt-encoded as per the "Passwords encoding" - scheme, above. - - Note: "$" signs in the hashed password must be doubled. For - example, if the hashed password is - "$1$longsalt$v35DIIeMo4yUfI23yditq0", then you must enter it - as "$$1$$longsalt$$v35DIIeMo4yUfI23yditq0" (this is necessary - otherwise make would attempt to interpret the $ as a variable - expansion). - - WARNING! WARNING! - The password appears as-is in the .config file, and may appear - in the build log! Avoid using a valuable password if either - the .config file or the build log may be distributed, or at - the very least use a strong cryptographic hash for your - password! - -choice - bool "/bin/sh" - default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX - help - Select which shell will provide /bin/sh. - -# busybox has shells that work on noMMU -config BR2_SYSTEM_BIN_SH_BUSYBOX - bool "busybox' default shell" - depends on BR2_PACKAGE_BUSYBOX - -config BR2_SYSTEM_BIN_SH_BASH - bool "bash" - depends on BR2_USE_MMU # bash - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_BASH - -config BR2_SYSTEM_BIN_SH_DASH - bool "dash" - depends on BR2_USE_MMU # dash - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_DASH - -config BR2_SYSTEM_BIN_SH_MKSH - bool "mksh" - depends on BR2_USE_MMU # mksh - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_MKSH - -config BR2_SYSTEM_BIN_SH_ZSH - bool "zsh" - depends on BR2_USE_MMU # zsh - depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS - select BR2_PACKAGE_ZSH - -comment "bash, dash, mksh, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS" - depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS && BR2_PACKAGE_BUSYBOX - -config BR2_SYSTEM_BIN_SH_NONE - bool "none" - -endchoice # /bin/sh - -config BR2_SYSTEM_BIN_SH - string - default "bash" if BR2_SYSTEM_BIN_SH_BASH - default "dash" if BR2_SYSTEM_BIN_SH_DASH - default "mksh" if BR2_SYSTEM_BIN_SH_MKSH - default "zsh" if BR2_SYSTEM_BIN_SH_ZSH - -menuconfig BR2_TARGET_GENERIC_GETTY - bool "Run a getty (login prompt) after boot" - default y - -if BR2_TARGET_GENERIC_GETTY -config BR2_TARGET_GENERIC_GETTY_PORT - string "TTY port" - default "console" - help - Specify a port to run a getty on. - -choice - prompt "Baudrate" - default BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP - help - Select a baudrate to use. - -config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP - bool "keep kernel default" -config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 - bool "9600" -config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 - bool "19200" -config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 - bool "38400" -config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 - bool "57600" -config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200 - bool "115200" -endchoice - -config BR2_TARGET_GENERIC_GETTY_BAUDRATE - string - default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP - default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 - default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 - default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 - default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 - default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200 - -config BR2_TARGET_GENERIC_GETTY_TERM - string "TERM environment variable" - default "vt100" - # currently observed by all but systemd - depends on !BR2_INIT_SYSTEMD - help - Specify a TERM type. - -config BR2_TARGET_GENERIC_GETTY_OPTIONS - string "other options to pass to getty" - default "" - # currently observed by all but systemd - depends on !BR2_INIT_SYSTEMD - help - Any other flags you want to pass to getty, - Refer to getty --help for details. -endif - -config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW - bool "remount root filesystem read-write during boot" - default y - help - The root filesystem is typically mounted read-only at boot. - By default, buildroot remounts it in read-write mode early - during the boot process. - Say no here if you would rather like your root filesystem to - remain read-only. - If unsure, say Y. - -config BR2_SYSTEM_DHCP - string "Network interface to configure through DHCP" - default "" - depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \ - BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC - help - Enter here the name of the network interface (E.G. eth0) to - automatically configure through DHCP at bootup. - - If left empty, no automatic DHCP requests will take place. - - For more complicated network setups use an overlay to - overwrite /etc/network/interfaces or add a networkd - configuration file. - -comment "automatic network configuration via DHCP needs ifupdown or busybox or networkd or netifrc" - depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \ - BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC) - -endif # BR2_ROOTFS_SKELETON_DEFAULT - -config BR2_SYSTEM_DEFAULT_PATH - string "Set the system's default PATH" - default "/usr/bin:/usr/sbin" if BR2_ROOTFS_MERGED_USR - default "/bin:/sbin:/usr/bin:/usr/sbin" if !BR2_ROOTFS_MERGED_USR - help - Sets the system's default PATH. It is being used in - /etc/profile in the skeleton-init-common package and by some - daemons. - - The default should work in most cases. - -config BR2_ENABLE_LOCALE_PURGE - bool "Purge unwanted locales" - default y - help - Explicitly specify what locales to install on target. If N - then all locales supported by packages are installed. - -config BR2_ENABLE_LOCALE_WHITELIST - string "Locales to keep" - default "C en_US" - depends on BR2_ENABLE_LOCALE_PURGE - help - Whitespace seperated list of locales to allow on target. - Locales not listed here will be removed from the target. - See 'locale -a' on your host for a list of locales available - on your build host, or have a look in /usr/share/locale in - the target file system for available locales. - - Notice that listing a locale here doesn't guarantee that it - will be available on the target - That purely depends on the - support for that locale in the selected packages. - -config BR2_GENERATE_LOCALE - string "Generate locale data" - default "" - depends on \ - (BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \ - BR2_TOOLCHAIN_USES_GLIBC - help - Generate support for a list of locales. Locales can be - specified with or without encoding, when no encoding is - specified, UTF-8 is assumed. Examples of locales: en_US, - fr_FR.UTF-8. - -config BR2_SYSTEM_ENABLE_NLS - bool "Enable Native Language Support (NLS)" - depends on BR2_USE_WCHAR - # - glibc has built-in NLS support, but anyway doesn't - # support static linking - # - musl and uclibc support static linking, but they don't - # have built-in NLS support, which is provided by the - # libintl library from gettext. The fact that it is a - # separate library causes too many problems for static - # linking. - depends on !BR2_STATIC_LIBS - select BR2_PACKAGE_GETTEXT if !BR2_TOOLCHAIN_HAS_FULL_GETTEXT - help - This option will enable Native Language Support, which will - allow software packages to support translations. - -comment "NLS support needs a toolchain w/ wchar, dynamic library" - depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS - -config BR2_TARGET_TZ_INFO - bool "Install timezone info" - select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC - select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_MUSL - select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC - help - Say 'y' here to install timezone info. - -if BR2_TARGET_TZ_INFO - -config BR2_TARGET_TZ_ZONELIST - string "timezone list" - default "default" - help - Space-separated list of time zones to compile. - - The value "default" includes all commonly used time zones. - Note that this set consumes around 5.5M for glibc and 2.1M for - uClibc. - - The full list is the list of files in the time zone database - source, not including the build and .tab files. - -config BR2_TARGET_LOCALTIME - string "default local time" - default "Etc/UTC" - help - The time zone to install as the default local time, expressed - as a tzdata location, such as: - Etc/UTC (the default) - GMT - Europe/Paris - America/New_York - Pacific/Wallis - ... - - Set to empty to not install a default time zone. - -endif # BR2_TARGET_TZ_INFO - -config BR2_ROOTFS_USERS_TABLES - string "Path to the users tables" - help - Specify a space-separated list of users table locations, - that will be passed to the mkusers utility to create - users on the system, with home directory, password, etc. - - See manual for details on the usage and syntax of these files. - -config BR2_ROOTFS_OVERLAY - string "Root filesystem overlay directories" - default "" - help - Specify a list of directories that are copied over the target - root filesystem after the build has finished and before it is - packed into the selected filesystem images. - - They are copied as-is into the rootfs, excluding files ending - with ~ and .git, .svn and .hg directories. - -config BR2_ROOTFS_POST_BUILD_SCRIPT - string "Custom scripts to run before creating filesystem images" - default "" - help - Specify a space-separated list of scripts to be run after the - build has finished and before Buildroot starts packing the - files into selected filesystem images. - - This gives users the opportunity to do board-specific - cleanups, add-ons and the like, so the generated files can be - used directly without further processing. - - These scripts are called with the target directory name as - first argument. Make sure the exit code of those scripts are - 0, otherwise make will stop after calling them. - -config BR2_ROOTFS_POST_FAKEROOT_SCRIPT - string "Custom scripts to run inside the fakeroot environment" - default "" - help - Specify a space-separated list of scripts to be run at the end - of the fakeroot script right before the image(s) are actually - generated. - - This gives users the opportunity to do customisations of the - content of the rootfs, which would otherwise require root - rights. - - These scripts are called with the target directory name as - first argument. The build will fail on the first scripts that - exits with a non-zero exit code. - - Note that Buildroot already provides mechanisms to customise - the content of the rootfs: - - - BR2_ROOTFS_STATIC_DEVICE_TABLE - to create arbitrary entries statically in /dev - - - BR2_ROOTFS_DEVICE_TABLE - to set arbitrary permissions as well as extended - attributes (such as capabilities) on files and - directories, - - - BR2_ROOTFS_USERS_TABLES: - to create arbitrary users and their home directories - - It is highly recommended to use those mechanisms if possible, - rather than using custom fakeroot scripts. - -config BR2_ROOTFS_POST_IMAGE_SCRIPT - string "Custom scripts to run after creating filesystem images" - default "" - help - Specify a space-separated list of scripts to be run after - the build has finished and after Buildroot has packed the - files into selected filesystem images. - - This can for example be used to call a tool building a - firmware image from different images generated by Buildroot, - or automatically extract the tarball root filesystem image - into some location exported by NFS, or any other custom - action. - - These scripts are called with the images directory name as - first argument. The script is executed from the main Buildroot - source directory as the current directory. - -config BR2_ROOTFS_POST_SCRIPT_ARGS - string "Extra arguments passed to custom scripts" - depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" \ - || BR2_ROOTFS_POST_FAKEROOT_SCRIPT != "" \ - || BR2_ROOTFS_POST_IMAGE_SCRIPT != "" - help - Pass these additional arguments to each post-build or - post-image scripts. - - Note that all the post-build and post-image scripts will be - passed the same set of arguments, you can not pass different - arguments to each script. - - Note also, as stated in their respective help text, that the - first argument to each post-build or post-image script is the - target directory / images directory. The arguments in this - option will be passed *after* those. - -endmenu diff --git a/buildroot-2021.05/toolchain/Config.in b/buildroot-2021.05/toolchain/Config.in deleted file mode 100644 index 0181ef07..00000000 --- a/buildroot-2021.05/toolchain/Config.in +++ /dev/null @@ -1,761 +0,0 @@ -menu "Toolchain" - -# Invisible option that makes sure the toolchain package always gets -# built -config BR2_TOOLCHAIN - bool - default y - -# Should be selected for glibc or eglibc -config BR2_TOOLCHAIN_USES_GLIBC - bool - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_TOOLCHAIN_HAS_FULL_GETTEXT - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_HAS_UCONTEXT - select BR2_TOOLCHAIN_SUPPORTS_PIE - -config BR2_TOOLCHAIN_USES_UCLIBC - bool - # ucontext is only available for a subset of the supported - # architectures - select BR2_TOOLCHAIN_HAS_UCONTEXT if BR2_ARM_CPU_HAS_ARM || BR2_i386 \ - || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el \ - || BR2_sparc || BR2_x86_64 - select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_m68k && !BR2_microblaze && !BR2_STATIC_LIBS - -config BR2_TOOLCHAIN_USES_MUSL - bool - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_HAS_UCONTEXT - select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_STATIC_LIBS - -choice - prompt "Toolchain type" - help - Select whether to use the toolchain provided by buildroot - or an external toolchain. - - Some vendors provide toolchains in binary form, some in - source form. - -config BR2_TOOLCHAIN_BUILDROOT - bool "Buildroot toolchain" - depends on BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT - -config BR2_TOOLCHAIN_EXTERNAL - bool "External toolchain" - help - Select if you want to use an existing cross-compiling - toolchain. Buildroot can either download automatically a - toolchain, or use an already installed toolchain. - -endchoice - -source "toolchain/toolchain-buildroot/Config.in" -source "toolchain/toolchain-external/Config.in" - -# Generic toolchain options - -# we want gdb config in the middle of both source and external -# toolchains, but mconf won't let us source the same file twice, -# so put it here instead -source "package/gdb/Config.in.host" - -comment "Toolchain Generic Options" - -# https://sourceware.org/bugzilla/show_bug.cgi?id=21464 -# Affect toolchains built with binutils 2.31.1, still not fixed. -config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 - bool - default y if BR2_or1k - -# https://sourceware.org/bugzilla/show_bug.cgi?id=27597 -# Affect toolchains built with binutils 2.36.1, still not fixed. -config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 - bool - default y if BR2_nios2 - -# Atomic types can be: -# - never lock-free -# - sometimes lock-free -# - always lock-free -# see https://en.cppreference.com/w/c/atomic/ATOMIC_LOCK_FREE_consts -# -# On most architectures, gcc provides "always lock-free" atomic types, -# but a few architectures are limited to "sometimes lock-free" -# types. This hidden option allows to know if the architecture -# provides "always lock-free" atomic types. -config BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS - bool - default y - depends on !BR2_nios2 - depends on !BR2_ARM_CPU_ARMV4 - depends on !BR2_ARM_CPU_ARMV5 - depends on !BR2_sparc_v8 - depends on !BR2_m68k_cf5208 - -# GCC uses thunk functions to adjust the 'this' pointer when calling -# C++ member functions in classes derived with multiple inheritance. -# Generation of thunk functions requires support from the compiler -# back end. In the absence of that support target-independent code -# in the C++ front end is used to generate thunk functions, but it -# does not support vararg functions. -# or1k will support it in the gcc mainline starting with gcc-9. -config BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK - bool - default y - depends on !BR2_or1k - depends on !BR2_xtensa - -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no -# longer exists in gcc 8.x. -config BR2_TOOLCHAIN_HAS_GCC_BUG_63261 - bool - default y if BR2_microblaze - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - -# Prior to gcc 7.x, exception_ptr, nested_exception and future from -# libstdc++ would only be provided on architectures that support -# always lock-free atomic ints. See -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735. This issue has -# been removed in GCC 7.x, where exception propagation is now -# supported without lock-free atomic int. -config BR2_TOOLCHAIN_HAS_GCC_BUG_64735 - bool - default y if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS && \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_7 - -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. This bug still -# exists in gcc 9.x -config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 - bool - default y if BR2_microblaze - -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no -# longer exists in gcc 8.x. -config BR2_TOOLCHAIN_HAS_GCC_BUG_85180 - bool - default y if BR2_microblaze - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85862 -# An infinite loop exists in the find_base_term() logic of 6.x -# on microblaze. http://autobuild.buildroot.net/results/158e8ebb39713e1b436a5cc1a1916f46c30694df/ -config BR2_TOOLCHAIN_HAS_GCC_BUG_85862 - bool - default y if BR2_microblaze - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 - -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620 -# ICE: in do_output_reload, at reload1.c:7978 on microblaze. -# This bug no longer exists in gcc 10.x -config BR2_TOOLCHAIN_HAS_GCC_BUG_90620 - bool - default y if BR2_microblaze - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 - -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847 -# ICE: compiler error: Segmentation fault on Nios II. This bug -# no longer exists in gcc 9.x. -config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 - bool - default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9 - -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 -# Error: branch offset out of range on Nios II. This bug -# no longer exists in gcc >= 8.x. -config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 - bool - default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_8 - -config BR2_TOOLCHAIN_HAS_NATIVE_RPC - bool - -config BR2_USE_WCHAR - bool - -config BR2_ENABLE_LOCALE - bool - -config BR2_INSTALL_LIBSTDCPP - bool - -config BR2_TOOLCHAIN_HAS_DLANG - bool - -config BR2_TOOLCHAIN_HAS_FORTRAN - bool - -config BR2_TOOLCHAIN_HAS_THREADS - bool - -config BR2_TOOLCHAIN_HAS_THREADS_DEBUG - bool - -config BR2_TOOLCHAIN_HAS_THREADS_NPTL - bool - -config BR2_TOOLCHAIN_HAS_SSP - bool - -config BR2_TOOLCHAIN_HAS_SSP_STRONG - bool - default y if BR2_TOOLCHAIN_HAS_SSP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_TOOLCHAIN_HAS_UCONTEXT - bool - -config BR2_TOOLCHAIN_HAS_OPENMP - bool - -config BR2_TOOLCHAIN_SUPPORTS_PIE - bool - -config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY - bool "Copy gconv libraries" - depends on BR2_TOOLCHAIN_USES_GLIBC - help - The gconv libraries are used to convert between different - character sets (charsets). - - Say 'y' if you need to store and/or display different - charsets. - -config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_LIST - string "Gconv libraries to copy" - depends on BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY - help - Set to the list of gconv libraries to copy. - Leave empty to copy all gconv libraries. - - Specify only the basename of the libraries, leave - out the .so extension. Eg.: - IBM850 ISO8859-15 UNICODE - - Note: the full set of gconv libs are ~8MiB (on ARM). - -config BR2_TOOLCHAIN_EXTRA_LIBS - string "Extra toolchain libraries to be copied to target" - default BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS if BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS != "" # legacy - depends on !BR2_STATIC_LIBS - help - If your toolchain provides extra libraries that need to be - copied to the target filesystem, enter them here, separated - by spaces. The library should not include a suffix or any - type of pre/post wildcard. - - Examples where this can be useful is for adding debug - libraries to the target like the GCC libsanitizer. - e.g. "libasan liblsan libtsan libubsan" - -# This boolean is true if the toolchain provides a built-in full -# featured gettext implementation (glibc), and false if only a stub -# gettext implementation is provided (uclibc, musl) -config BR2_TOOLCHAIN_HAS_FULL_GETTEXT - bool - -config BR2_USE_MMU - bool "Enable MMU support" if BR2_ARCH_HAS_MMU_OPTIONAL - default y if BR2_ARCH_HAS_MMU_OPTIONAL || BR2_ARCH_HAS_MMU_MANDATORY - help - If your target has a MMU, you should say Y here. If you - are unsure, just say Y. - -config BR2_TARGET_OPTIMIZATION - string "Target Optimizations" - default "" - help - Optimizations to use when building for the target host. - NOTE: gcc optimization level is defined in build options. - -config BR2_TARGET_LDFLAGS - string "Target linker options" - help - Extra options to pass to the linker when building for the - target. - - Note that options with a '$' sign (eg. - -Wl,-rpath='$ORIGIN/../lib') are not supported. - -config BR2_ECLIPSE_REGISTER - bool "Register toolchain within Eclipse Buildroot plug-in" - help - This options tells Buildroot to generate the necessary - configuration files to make your toolchain appear within - Eclipse, through the Eclipse Buildroot plugin. - -# Options for packages to depend on, if they require at least a -# specific version of the kernel headers. -# Toolchains should choose the adequate option (ie. the highest -# version, not all of them). -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - bool - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 - -config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 - bool - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 - select BR2_TOOLCHAIN_HEADERS_LATEST - -# This should be selected by the latest version, above, to indicate that -# Buildroot does not know of more recent headers than the ones selected. -# This allows using toolchains with headers more recent than Buildroot -# knows about, while still enforcing strict check for older headers. -config BR2_TOOLCHAIN_HEADERS_LATEST - bool - -# This order guarantees that the highest version is set, as kconfig -# stops affecting a value on the first matching default. -config BR2_TOOLCHAIN_HEADERS_AT_LEAST - string - default "5.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 - default "5.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 - default "5.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 - default "5.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 - default "5.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 - default "5.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 - default "5.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 - default "5.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 - default "5.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - default "5.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 - default "5.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 - default "5.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 - default "5.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 - default "4.20" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 - default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 - default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 - default "4.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 - default "4.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 - default "4.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 - default "4.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 - default "4.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 - default "4.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 - default "4.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 - default "4.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 - default "4.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - default "4.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 - default "4.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 - default "4.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 - default "4.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 - default "4.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 - default "4.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 - default "4.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 - default "4.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 - default "4.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 - default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 - default "3.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 - default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 - default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 - default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 - default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 - default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 - default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 - default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 - default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 - default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 - default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 - default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 - default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 - default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 - default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 - default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - default "2.6" - -config BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 - bool - -config BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_5 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_6 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_5 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_7 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_6 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_8 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_7 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_9 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_8 - -config BR2_TOOLCHAIN_GCC_AT_LEAST_10 - bool - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - -# This order guarantees that the highest version is set, as kconfig -# stops affecting a value on the first matching default. -config BR2_TOOLCHAIN_GCC_AT_LEAST - string - default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10 - default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9 - default "8" if BR2_TOOLCHAIN_GCC_AT_LEAST_8 - default "7" if BR2_TOOLCHAIN_GCC_AT_LEAST_7 - default "6" if BR2_TOOLCHAIN_GCC_AT_LEAST_6 - default "5" if BR2_TOOLCHAIN_GCC_AT_LEAST_5 - default "4.9" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - default "4.8" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - default "4.7" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 - default "4.6" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 - default "4.5" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 - default "4.4" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 - default "4.3" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 - -config BR2_TOOLCHAIN_HAS_MNAN_OPTION - bool - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_TOOLCHAIN_HAS_SYNC_1 - bool - default y - depends on !BR2_m68k_cf - depends on !BR2_microblaze - depends on !BR2_sparc - depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT) - -config BR2_TOOLCHAIN_HAS_SYNC_2 - bool - default y if BR2_TOOLCHAIN_HAS_SYNC_1 - -config BR2_TOOLCHAIN_HAS_SYNC_4 - bool - default y - depends on !BR2_m68k_cf - depends on !BR2_sparc - depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT) - -# The availability of __sync for 8-byte types on ARM is somewhat -# complicated: -# -# - It appeared in gcc starting with gcc 4.7. -# -# - On ARMv7, there is no problem, it can be directly implemented in -# userspace. -# -# - On < ARMv7, it requires help from the kernel. Unfortunately, the -# libgcc code implementing 8-byte __sync with the help from the -# kernel calls __write() when a failure occurs, which is a function -# internal to glibc, not available in uClibc and musl. This means -# that the 8-byte __sync operations are not available on < ARMv7 -# with uClibc and musl. This problem was fixed as part of gcc -# PR68059, which was backported to the gcc 5 branch, but isn't yet -# part of any gcc 5.x release. -# -config BR2_TOOLCHAIN_ARM_HAS_SYNC_8 - bool - default y - depends on BR2_arm || BR2_armeb - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 - depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_ARM_CPU_ARMV7A - -# 8-byte intrinsics available on most x86 CPUs, except a few old ones -config BR2_TOOLCHAIN_X86_HAS_SYNC_8 - bool - default y - depends on BR2_i386 - depends on !BR2_x86_i486 - depends on !BR2_x86_c3 - depends on !BR2_x86_winchip_c6 - depends on !BR2_x86_winchip2 - -# 8-byte intrinsics available: -# - On all 64 bits architecture -# - On a certain combinations of ARM platforms -# - On certain x86 32 bits CPUs -config BR2_TOOLCHAIN_HAS_SYNC_8 - bool - default y if BR2_ARCH_IS_64 - default y if BR2_TOOLCHAIN_ARM_HAS_SYNC_8 - default y if BR2_TOOLCHAIN_X86_HAS_SYNC_8 - -# libatomic is available since gcc 4.8, when thread support is -# enabled. Also, libatomic doesn't recognize "uclinux" as a valid OS -# part of the tuple, and is therefore not build on uclinux targets, -# which is why BR2_BINFMT_FLAT configurations are excluded. -config BR2_TOOLCHAIN_HAS_LIBATOMIC - bool - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 && \ - !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 && \ - BR2_TOOLCHAIN_HAS_THREADS && \ - !BR2_BINFMT_FLAT - -# __atomic intrinsics are available: -# - with gcc 4.8, either through built-ins or libatomic, on all -# architectures. Since we don't want to separate the cases where -# libatomic is needed vs. not needed, we simplify thing and only -# support situations where libatomic is available, even if on some -# architectures libatomic is not strictly needed as all __atomic -# intrinsics might be built-in. The only case where libatomic is -# missing entirely is when the toolchain does not have support for -# threads. However, a package that does not need threads but still -# uses atomics is quite a corner case, which does not warrant the -# added complexity. -# - with gcc 4.7, libatomic did not exist, so only built-ins are -# available. This means that __atomic can only be used in a subset -# of the architectures -config BR2_TOOLCHAIN_HAS_ATOMIC - bool - default y if BR2_TOOLCHAIN_HAS_LIBATOMIC - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_arm - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64 - -# - libquadmath is not needed/available on all architectures (but gcc -# correctly handles this already). -# - At least, libquadmath is available on: -# - i*86 -# - x86_64 -# - When available, libquadmath requires wchar support. -config BR2_TOOLCHAIN_HAS_LIBQUADMATH - bool - default y if BR2_i386 || BR2_x86_64 - -endmenu diff --git a/buildroot-2021.05/toolchain/helpers.mk b/buildroot-2021.05/toolchain/helpers.mk deleted file mode 100644 index 17bc159f..00000000 --- a/buildroot-2021.05/toolchain/helpers.mk +++ /dev/null @@ -1,532 +0,0 @@ -# This Makefile fragment declares toolchain related helper functions. - -# The copy_toolchain_lib_root function copies a toolchain library and -# its symbolic links from the sysroot directory to the target -# directory. Note that this function is used both by the external -# toolchain logic, and the glibc package, so care must be taken when -# changing this function. -# -# $1: library name pattern (can include glob wildcards) -# -copy_toolchain_lib_root = \ - LIBPATTERN="$(strip $1)"; \ - LIBPATHS=`find $(STAGING_DIR)/ -name "$${LIBPATTERN}" 2>/dev/null` ; \ - for LIBPATH in $${LIBPATHS} ; do \ - while true ; do \ - LIBNAME=`basename $${LIBPATH}`; \ - DESTDIR=`echo $${LIBPATH} | sed "s,^$(STAGING_DIR)/,," | xargs dirname` ; \ - mkdir -p $(TARGET_DIR)/$${DESTDIR}; \ - rm -fr $(TARGET_DIR)/$${DESTDIR}/$${LIBNAME}; \ - if test -h $${LIBPATH} ; then \ - cp -d $${LIBPATH} $(TARGET_DIR)/$${DESTDIR}/$${LIBNAME}; \ - LIBPATH="`readlink -f $${LIBPATH}`"; \ - elif test -f $${LIBPATH}; then \ - $(INSTALL) -D -m0755 $${LIBPATH} $(TARGET_DIR)/$${DESTDIR}/$${LIBNAME}; \ - break ; \ - else \ - exit -1; \ - fi; \ - done; \ - done - -# -# Copy the full external toolchain sysroot directory to the staging -# dir. The operation of this function is rendered a little bit -# complicated by the support for multilib toolchains. -# -# We start by copying etc, 'lib', sbin, usr and usr/'lib' from the -# sysroot of the selected architecture variant (as pointed to by -# ARCH_SYSROOT_DIR). This allows to import into the staging directory -# the C library and companion libraries for the correct architecture -# variant. 'lib' may not be literally 'lib' but could be something else, -# e.g. lib32-fp (as determined by ARCH_LIB_DIR) and we only want to copy -# that lib directory and no other. When copying usr, we therefore need -# to be extra careful not to include usr/lib* but we _do_ want to -# include usr/libexec. -# We are selective in the directories we copy since other directories -# might exist for other architecture variants (on Codesourcery -# toolchain, the sysroot for the default architecture variant contains -# the armv4t and thumb2 subdirectories, which are the sysroot for the -# corresponding architecture variants), and we don't want to import -# them. -# -# If ARCH_LIB_DIR is not a singular directory component, e.g. -# 'lib32/octeon2', then symbolic links in ARCH_LIB_DIR and -# usr/ARCH_LIB_DIR may be broken because Buildroot will flatten the -# directory structure (e.g. lib32/octeon2/foo is actually stored in -# lib/foo). This is only relevant for links that contain one or more ../ -# components, as links to the current directory are always fine. -# We need to fix the broken links by removing the right amount of ../ -# dots from the link destination. -# Once the link destination is valid again, it can be simplified to -# remove the dependency on intermediate directory symlinks. -# -# It is possible that ARCH_LIB_DIR does not contain the dynamic loader -# (ld*.so or similar) because it (or the main symlink to it) normally -# resides in /lib while ARCH_LIB_DIR may be something else (e.g. lib64, -# lib/, ...). Therefore, copy the dynamic loader separately. -# -# Then, if the selected architecture variant is not the default one -# (i.e, if SYSROOT_DIR != ARCH_SYSROOT_DIR), then we : -# -# * Import the header files from the default architecture -# variant. Header files are typically shared between the sysroots -# for the different architecture variants. If we use the -# non-default one, header files were not copied by the previous -# step, so we copy them here from the sysroot of the default -# architecture variant. -# -# * Create a symbolic link that matches the name of the subdirectory -# for the architecture variant in the original sysroot. This is -# required as the compiler will by default look in -# sysroot_dir/arch_variant/ for libraries and headers, when the -# non-default architecture variant is used. Without this, the -# compiler fails to find libraries and headers. -# -# Some toolchains (i.e Linaro binary toolchains) store support -# libraries (libstdc++, libgcc_s) outside of the sysroot, so we simply -# copy all the libraries from the "support lib directory" into our -# sysroot. -# -# Note that the 'locale' directories are not copied. They are huge -# (400+MB) in CodeSourcery toolchains, and they are not really useful. -# -# $1: main sysroot directory of the toolchain -# $2: arch specific sysroot directory of the toolchain -# $3: arch specific subdirectory in the sysroot -# $4: directory of libraries ('lib', 'lib32' or 'lib64') -# $5: support lib directories (for toolchains storing libgcc_s, -# libstdc++ and other gcc support libraries outside of the -# sysroot) -copy_toolchain_sysroot = \ - SYSROOT_DIR="$(strip $1)"; \ - ARCH_SYSROOT_DIR="$(strip $2)"; \ - ARCH_SUBDIR="$(strip $3)"; \ - ARCH_LIB_DIR="$(strip $4)" ; \ - SUPPORT_LIB_DIR="$(strip $5)" ; \ - for i in etc $${ARCH_LIB_DIR} sbin usr usr/$${ARCH_LIB_DIR}; do \ - if [ ! -d $${ARCH_SYSROOT_DIR}/$$i ] ; then \ - continue ; \ - fi ; \ - if [ "$$i" = "usr" ]; then \ - rsync -au --chmod=u=rwX,go=rX --exclude 'locale/' \ - --include '/libexec*/' --exclude '/lib*/' \ - $${ARCH_SYSROOT_DIR}/$$i/ $(STAGING_DIR)/$$i/ ; \ - else \ - rsync -au --chmod=u=rwX,go=rX --exclude 'locale/' \ - $${ARCH_SYSROOT_DIR}/$$i/ $(STAGING_DIR)/$$i/ ; \ - fi ; \ - done ; \ - for link in $$(find $(STAGING_DIR) -type l); do \ - target=$$(readlink $${link}) ; \ - if [ "$${target}" == "$${target$(SHARP_SIGN)/}" ] ; then \ - continue ; \ - fi ; \ - relpath="$(call relpath_prefix,$${target$(SHARP_SIGN)/})" ; \ - echo "Fixing symlink $${link} from $${target} to $${relpath}$${target$(SHARP_SIGN)/}" ; \ - ln -sf $${relpath}$${target$(SHARP_SIGN)/} $${link} ; \ - done ; \ - relpath="$(call relpath_prefix,$${ARCH_LIB_DIR})" ; \ - if [ "$${relpath}" != "" ]; then \ - for i in $$(find -H $(STAGING_DIR)/$${ARCH_LIB_DIR} $(STAGING_DIR)/usr/$${ARCH_LIB_DIR} -type l -xtype l); do \ - LINKTARGET=`readlink $$i` ; \ - NEWLINKTARGET=$${LINKTARGET\#$$relpath} ; \ - ln -sf $${NEWLINKTARGET} $$i ; \ - $(call simplify_symlink,$$i,$(STAGING_DIR)) ; \ - done ; \ - fi ; \ - if [ ! -e $(STAGING_DIR)/lib/ld*.so.* ]; then \ - if [ -e $${ARCH_SYSROOT_DIR}/lib/ld*.so.* ]; then \ - cp -a $${ARCH_SYSROOT_DIR}/lib/ld*.so.* $(STAGING_DIR)/lib/ ; \ - fi ; \ - fi ; \ - if [ `readlink -f $${SYSROOT_DIR}` != `readlink -f $${ARCH_SYSROOT_DIR}` ] ; then \ - if [ ! -d $${ARCH_SYSROOT_DIR}/usr/include ] ; then \ - cp -a $${SYSROOT_DIR}/usr/include $(STAGING_DIR)/usr ; \ - fi ; \ - mkdir -p `dirname $(STAGING_DIR)/$${ARCH_SUBDIR}` ; \ - relpath="$(call relpath_prefix,$${ARCH_SUBDIR})./" ; \ - ln -s $${relpath} $(STAGING_DIR)/$${ARCH_SUBDIR} ; \ - echo "Symlinking $(STAGING_DIR)/$${ARCH_SUBDIR} -> $${relpath}" ; \ - fi ; \ - if test -n "$${SUPPORT_LIB_DIR}" ; then \ - cp -a $${SUPPORT_LIB_DIR}/* $(STAGING_DIR)/lib/ ; \ - fi ; \ - find $(STAGING_DIR) -type d | xargs chmod 755 - -# -# Check the specified kernel headers version actually matches the -# version in the toolchain. -# -# $1: build directory -# $2: sysroot directory -# $3: kernel version string, in the form: X.Y -# $4: test to do for the latest kernel version, 'strict' or 'loose' -# always 'strict' if this is not the latest version. -# -check_kernel_headers_version = \ - if ! support/scripts/check-kernel-headers.sh $(1) $(2) $(3) \ - $(if $(BR2_TOOLCHAIN_HEADERS_LATEST),$(4),strict); \ - then \ - exit 1; \ - fi - -# -# Check the specific gcc version actually matches the version in the -# toolchain -# -# $1: path to gcc -# $2: expected gcc version -# -check_gcc_version = \ - expected_version="$(strip $2)" ; \ - if [ -z "$${expected_version}" ]; then \ - exit 0 ; \ - fi; \ - real_version=`$(1) -dumpversion` ; \ - if [[ ! "$${real_version}." =~ ^$${expected_version}\. ]] ; then \ - printf "Incorrect selection of gcc version: expected %s.x, got %s\n" \ - "$${expected_version}" "$${real_version}" ; \ - exit 1 ; \ - fi - -# -# Check the availability of a particular glibc feature. This function -# is used to check toolchain options that are always supported by -# glibc, so we simply check that the corresponding option is properly -# enabled. -# -# $1: Buildroot option name -# $2: feature description -# -check_glibc_feature = \ - if [ "$($(1))" != "y" ] ; then \ - echo "$(2) available in C library, please enable $(1)" ; \ - exit 1 ; \ - fi - -# -# Check the availability of RPC support in a glibc toolchain -# -# $1: sysroot directory -# -check_glibc_rpc_feature = \ - IS_IN_LIBC=`test -f $(1)/usr/include/rpc/rpc.h && echo y` ; \ - if [ "$(BR2_TOOLCHAIN_HAS_NATIVE_RPC)" != "y" -a "$${IS_IN_LIBC}" = "y" ] ; then \ - echo "RPC support available in C library, please enable BR2_TOOLCHAIN_EXTERNAL_INET_RPC" ; \ - exit 1 ; \ - fi ; \ - if [ "$(BR2_TOOLCHAIN_HAS_NATIVE_RPC)" = "y" -a "$${IS_IN_LIBC}" != "y" ] ; then \ - echo "RPC support not available in C library, please disable BR2_TOOLCHAIN_EXTERNAL_INET_RPC" ; \ - exit 1 ; \ - fi - -# -# Check the correctness of a glibc external toolchain configuration. -# 1. Check that the C library selected in Buildroot matches the one -# of the external toolchain -# 2. Check that all the C library-related features are enabled in the -# config, since glibc always supports all of them -# -# $1: sysroot directory -# -check_glibc = \ - SYSROOT_DIR="$(strip $1)"; \ - if test `find -L $${SYSROOT_DIR}/ -maxdepth 2 -name 'ld-linux*.so.*' -o -name 'ld.so.*' -o -name 'ld64.so.*' | wc -l` -eq 0 ; then \ - echo "Incorrect selection of the C library"; \ - exit -1; \ - fi; \ - $(call check_glibc_feature,BR2_USE_MMU,MMU support) ;\ - $(call check_glibc_rpc_feature,$${SYSROOT_DIR}) - -# -# Check that the selected C library really is musl -# -# $1: cross-gcc path -# $2: cross-readelf path -check_musl = \ - __CROSS_CC=$(strip $1) ; \ - libc_a_path=`$${__CROSS_CC} -print-file-name=libc.a` ; \ - if ! strings $${libc_a_path} | grep -q MUSL_LOCPATH ; then \ - echo "Incorrect selection of the C library" ; \ - exit -1; \ - fi - -# -# Check the conformity of Buildroot configuration with regard to the -# uClibc configuration of the external toolchain, for a particular -# feature. -# -# If 'Buildroot option name' ($2) is empty it means the uClibc option -# is mandatory. -# -# $1: uClibc macro name -# $2: Buildroot option name -# $3: uClibc config file -# $4: feature description -# -check_uclibc_feature = \ - IS_IN_LIBC=`grep -q "\#define $(1) 1" $(3) && echo y` ; \ - if [ -z "$(2)" ] ; then \ - if [ "$${IS_IN_LIBC}" != "y" ] ; then \ - echo "$(4) not available in C library, toolchain unsuitable for Buildroot" ; \ - exit 1 ; \ - fi ; \ - else \ - if [ "$($(2))" != "y" -a "$${IS_IN_LIBC}" = "y" ] ; then \ - echo "$(4) available in C library, please enable $(2)" ; \ - exit 1 ; \ - fi ; \ - if [ "$($(2))" = "y" -a "$${IS_IN_LIBC}" != "y" ] ; then \ - echo "$(4) not available in C library, please disable $(2)" ; \ - exit 1 ; \ - fi ; \ - fi - -# -# Check the correctness of a uclibc external toolchain configuration -# 1. Check that the C library selected in Buildroot matches the one -# of the external toolchain -# 2. Check that the features enabled in the Buildroot configuration -# match the features available in the uClibc of the external -# toolchain -# -# $1: sysroot directory -# -check_uclibc = \ - SYSROOT_DIR="$(strip $1)"; \ - if ! test -f $${SYSROOT_DIR}/usr/include/bits/uClibc_config.h ; then \ - echo "Incorrect selection of the C library"; \ - exit -1; \ - fi; \ - UCLIBC_CONFIG_FILE=$${SYSROOT_DIR}/usr/include/bits/uClibc_config.h ; \ - $(call check_uclibc_feature,__ARCH_USE_MMU__,BR2_USE_MMU,$${UCLIBC_CONFIG_FILE},MMU support) ;\ - $(call check_uclibc_feature,__UCLIBC_HAS_LFS__,,$${UCLIBC_CONFIG_FILE},Large file support) ;\ - $(call check_uclibc_feature,__UCLIBC_HAS_IPV6__,,$${UCLIBC_CONFIG_FILE},IPv6 support) ;\ - $(call check_uclibc_feature,__UCLIBC_HAS_RPC__,BR2_TOOLCHAIN_HAS_NATIVE_RPC,$${UCLIBC_CONFIG_FILE},RPC support) ;\ - $(call check_uclibc_feature,__UCLIBC_HAS_LOCALE__,BR2_ENABLE_LOCALE,$${UCLIBC_CONFIG_FILE},Locale support) ;\ - $(call check_uclibc_feature,__UCLIBC_HAS_WCHAR__,BR2_USE_WCHAR,$${UCLIBC_CONFIG_FILE},Wide char support) ;\ - $(call check_uclibc_feature,__UCLIBC_HAS_THREADS__,BR2_TOOLCHAIN_HAS_THREADS,$${UCLIBC_CONFIG_FILE},Thread support) ;\ - $(call check_uclibc_feature,__PTHREADS_DEBUG_SUPPORT__,BR2_TOOLCHAIN_HAS_THREADS_DEBUG,$${UCLIBC_CONFIG_FILE},Thread debugging support) ;\ - $(call check_uclibc_feature,__UCLIBC_HAS_THREADS_NATIVE__,BR2_TOOLCHAIN_HAS_THREADS_NPTL,$${UCLIBC_CONFIG_FILE},NPTL thread support) - -# -# Check that the Buildroot configuration of the ABI matches the -# configuration of the external toolchain. -# -# $1: cross-gcc path -# $2: cross-readelf path -# -check_arm_abi = \ - __CROSS_CC=$(strip $1) ; \ - EXT_TOOLCHAIN_TARGET=`LANG=C $${__CROSS_CC} -v 2>&1 | grep ^Target | cut -f2 -d ' '` ; \ - if ! echo $${EXT_TOOLCHAIN_TARGET} | grep -qE 'eabi(hf)?$$' ; then \ - echo "External toolchain uses the unsuported OABI" ; \ - exit 1 ; \ - fi ; \ - if ! echo 'int main(void) {}' | $${__CROSS_CC} -x c -o $(BUILD_DIR)/.br-toolchain-test.tmp - ; then \ - rm -f $(BUILD_DIR)/.br-toolchain-test.tmp*; \ - abistr_$(BR2_ARM_EABI)='EABI'; \ - abistr_$(BR2_ARM_EABIHF)='EABIhf'; \ - echo "Incorrect ABI setting: $${abistr_y} selected, but toolchain is incompatible"; \ - exit 1 ; \ - fi ; \ - rm -f $(BUILD_DIR)/.br-toolchain-test.tmp* - -# -# Check that the external toolchain supports C++ -# -# $1: cross-g++ path -# -check_cplusplus = \ - __CROSS_CXX=$(strip $1) ; \ - $${__CROSS_CXX} -v > /dev/null 2>&1 ; \ - if test $$? -ne 0 ; then \ - echo "C++ support is selected but is not available in external toolchain" ; \ - exit 1 ; \ - fi - -# -# -# Check that the external toolchain supports D language -# -# $1: cross-gdc path -# -check_dlang = \ - __CROSS_GDC=$(strip $1) ; \ - __o=$(BUILD_DIR)/.br-toolchain-test-dlang.tmp ; \ - printf 'import std.stdio;\nvoid main() { writeln("Hello World!"); }\n' | \ - $${__CROSS_GDC} -x d -o $${__o} - ; \ - if test $$? -ne 0 ; then \ - rm -f $${__o}* ; \ - echo "D language support is selected but is not available in external toolchain" ; \ - exit 1 ; \ - fi ; \ - rm -f $${__o}* \ - -# -# -# Check that the external toolchain supports Fortran -# -# $1: cross-gfortran path -# -check_fortran = \ - __CROSS_FC=$(strip $1) ; \ - __o=$(BUILD_DIR)/.br-toolchain-test-fortran.tmp ; \ - printf 'program hello\n\tprint *, "Hello Fortran!\\n"\nend program hello\n' | \ - $${__CROSS_FC} -x f95 -o $${__o} - ; \ - if test $$? -ne 0 ; then \ - rm -f $${__o}* ; \ - echo "Fortran support is selected but is not available in external toolchain" ; \ - exit 1 ; \ - fi ; \ - rm -f $${__o}* \ - -# -# -# Check that the external toolchain supports OpenMP -# -# $1: cross-gcc path -# -check_openmp = \ - __CROSS_CC=$(strip $1) ; \ - __o=$(BUILD_DIR)/.br-toolchain-test-openmp.tmp ; \ - printf '\#include \nint main(void) { return omp_get_thread_num(); }' | \ - $${__CROSS_CC} -fopenmp -x c -o $${__o} - ; \ - if test $$? -ne 0 ; then \ - rm -f $${__o}* ; \ - echo "OpenMP support is selected but is not available in external toolchain"; \ - exit 1 ; \ - fi ; \ - rm -f $${__o}* \ - -# -# Check that the cross-compiler given in the configuration exists -# -# $1: cross-gcc path -# -check_cross_compiler_exists = \ - __CROSS_CC=$(strip $1) ; \ - $${__CROSS_CC} -v > /dev/null 2>&1 ; \ - if test $$? -ne 0 ; then \ - echo "Cannot execute cross-compiler '$${__CROSS_CC}'" ; \ - exit 1 ; \ - fi - -# -# Check for toolchains known not to work with Buildroot. -# - For the Angstrom toolchains, we check by looking at the vendor part of -# the host tuple. -# - Exclude distro-class toolchains which are not relocatable. -# - Exclude broken toolchains which return "libc.a" with -print-file-name. -# - Exclude toolchains which doesn't support --sysroot option. -# -# $1: cross-gcc path -# -check_unusable_toolchain = \ - __CROSS_CC=$(strip $1) ; \ - vendor=`$${__CROSS_CC} -dumpmachine | cut -f2 -d'-'` ; \ - if test "$${vendor}" = "angstrom" ; then \ - echo "Angstrom toolchains are not pure toolchains: they contain" ; \ - echo "many other libraries than just the C library, which makes" ; \ - echo "them unsuitable as external toolchains for build systems" ; \ - echo "such as Buildroot." ; \ - exit 1 ; \ - fi; \ - with_sysroot=`$${__CROSS_CC} -v 2>&1 |sed -r -e '/.* --with-sysroot=([^[:space:]]+)[[:space:]].*/!d; s//\1/'`; \ - if test "$${with_sysroot}" = "/" ; then \ - echo "Distribution toolchains are unsuitable for use by Buildroot," ; \ - echo "as they were configured in a way that makes them non-relocatable,"; \ - echo "and contain a lot of pre-built libraries that would conflict with"; \ - echo "the ones Buildroot wants to build."; \ - exit 1; \ - fi; \ - libc_a_path=`$${__CROSS_CC} -print-file-name=libc.a` ; \ - if test "$${libc_a_path}" = "libc.a" ; then \ - echo "Unable to detect the toolchain sysroot, Buildroot cannot use this toolchain." ; \ - exit 1 ; \ - fi ; \ - sysroot_dir="$(call toolchain_find_sysroot,$${__CROSS_CC})" ; \ - if test -z "$${sysroot_dir}" ; then \ - echo "External toolchain doesn't support --sysroot. Cannot use." ; \ - exit 1 ; \ - fi - -# -# Check if the toolchain has SSP (stack smashing protector) support -# -# $1: cross-gcc path -# $2: gcc ssp option -# -check_toolchain_ssp = \ - __CROSS_CC=$(strip $1) ; \ - __HAS_SSP=`echo 'void main(){}' | $${__CROSS_CC} -Werror -fstack-protector -x c - -o $(BUILD_DIR)/.br-toolchain-test.tmp >/dev/null 2>&1 && echo y` ; \ - if [ "$(BR2_TOOLCHAIN_HAS_SSP)" != "y" -a "$${__HAS_SSP}" = "y" ] ; then \ - echo "SSP support available in this toolchain, please enable BR2_TOOLCHAIN_EXTERNAL_HAS_SSP" ; \ - exit 1 ; \ - fi ; \ - if [ "$(BR2_TOOLCHAIN_HAS_SSP)" = "y" -a "$${__HAS_SSP}" != "y" ] ; then \ - echo "SSP support not available in this toolchain, please disable BR2_TOOLCHAIN_EXTERNAL_HAS_SSP" ; \ - exit 1 ; \ - fi ; \ - __SSP_OPTION=$(2); \ - if [ -n "$${__SSP_OPTION}" ] ; then \ - if ! echo 'void main(){}' | $${__CROSS_CC} -Werror $${__SSP_OPTION} -x c - -o $(BUILD_DIR)/.br-toolchain-test.tmp >/dev/null 2>&1 ; then \ - echo "SSP option $${__SSP_OPTION} not available in this toolchain, please select another SSP level" ; \ - exit 1 ; \ - fi; \ - fi; \ - rm -f $(BUILD_DIR)/.br-toolchain-test.tmp* - -# -# Generate gdbinit file for use with Buildroot -# -gen_gdbinit_file = \ - mkdir -p $(STAGING_DIR)/usr/share/buildroot/ ; \ - echo "set sysroot $(STAGING_DIR)" > $(STAGING_DIR)/usr/share/buildroot/gdbinit - -# Given a path, determine the relative prefix (../) needed to return to the -# root level. Note that the last component is treated as a file component; use a -# trailing slash to force treating it as a directory. Examples: -# relpath_prefix(lib32) = "" -# relpath_prefix(lib32/octeon2) = "../" -# relpath_prefix(lib32/octeon2/) = "../../" -# -# $1: input path -define relpath_prefix -$$( \ - prefix="" ; \ - nbslashs=`printf $1 | sed 's%[^/]%%g' | wc -c` ; \ - for slash in `seq 1 $${nbslashs}` ; do \ - prefix=$${prefix}"../" ; \ - done ; \ - printf "$$prefix" ; \ -) -endef - -# Replace the destination of a symbolic link with a simpler version -# For example, -# usr/lib/libfoo.so -> ../../lib32/libfoo.so.1 -# becomes -# usr/lib/libfoo.so -> ../../lib/libfoo.so.1 -# since 'lib32' is a symlink to 'lib'. -# -# Likewise, -# usr/lib/octeon2/libbar.so -> ../../../lib32/octeon2/libbar.so.1 -# becomes -# usr/lib/octeon2/libbar.so -> ../../lib/libbar.so.1 -# assuming lib32->lib and lib/octeon2->lib. -# -# $1: symlink -# $2: base path -define simplify_symlink -( \ - FULL_SRC="$$(readlink -f $$(dirname $1))/$$(basename $1)" ; \ - FULL_DEST="$$(readlink -f $1)" ; \ - FULL_BASE="$$(readlink -f $2)" ; \ - REL_SRC="$${FULL_SRC#$${FULL_BASE}/}" ; \ - REL_DEST="$${FULL_DEST#$${FULL_BASE}/}" ; \ - DOTS="$(call relpath_prefix,$${REL_SRC})" ; \ - ln -sf "$${DOTS}$${REL_DEST}" "$${FULL_SRC}" ; \ -) -endef diff --git a/buildroot-2021.05/toolchain/toolchain-external/pkg-toolchain-external.mk b/buildroot-2021.05/toolchain/toolchain-external/pkg-toolchain-external.mk deleted file mode 100644 index 6d91cb5d..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/pkg-toolchain-external.mk +++ /dev/null @@ -1,611 +0,0 @@ -################################################################################ -# External toolchain package infrastructure -# -# This package infrastructure implements the support for external -# toolchains, i.e toolchains that are available pre-built, ready to -# use. Such toolchain may either be readily available on the Web -# (Linaro, Sourcery CodeBench, from processor vendors) or may be built -# with tools like Crosstool-NG or Buildroot itself. So far, we have -# tested this with: -# -# * Toolchains generated by Crosstool-NG -# * Toolchains generated by Buildroot -# * Toolchains provided by Linaro for the ARM and AArch64 -# architectures -# * Sourcery CodeBench toolchains (from Mentor Graphics) for the ARM, -# MIPS, PowerPC, x86_64 and NIOS 2 architectures. For the MIPS -# toolchain, the -muclibc variant isn't supported yet, only the -# default glibc-based variant is. -# * Synopsys DesignWare toolchains for ARC cores -# -# The basic principle is the following -# -# 1. If the toolchain is not pre-installed, download and extract it -# in $(TOOLCHAIN_EXTERNAL_INSTALL_DIR). Otherwise, -# $(TOOLCHAIN_EXTERNAL_INSTALL_DIR) points to were the toolchain has -# already been installed by the user. -# -# 2. For all external toolchains, perform some checks on the -# conformity between the toolchain configuration described in the -# Buildroot menuconfig system, and the real configuration of the -# external toolchain. This is for example important to make sure that -# the Buildroot configuration system knows whether the toolchain -# supports RPC, IPv6, locales, large files, etc. Unfortunately, these -# things cannot be detected automatically, since the value of these -# options (such as BR2_TOOLCHAIN_HAS_NATIVE_RPC) are needed at -# configuration time because these options are used as dependencies -# for other options. And at configuration time, we are not able to -# retrieve the external toolchain configuration. -# -# 3. Copy the libraries needed at runtime to the target directory, -# $(TARGET_DIR). Obviously, things such as the C library, the dynamic -# loader and a few other utility libraries are needed if dynamic -# applications are to be executed on the target system. -# -# 4. Copy the libraries and headers to the staging directory. This -# will allow all further calls to gcc to be made using --sysroot -# $(STAGING_DIR), which greatly simplifies the compilation of the -# packages when using external toolchains. So in the end, only the -# cross-compiler binaries remains external, all libraries and headers -# are imported into the Buildroot tree. -# -# 5. Build a toolchain wrapper which executes the external toolchain -# with a number of arguments (sysroot/march/mtune/..) hardcoded, -# so we're sure the correct configuration is always used and the -# toolchain behaves similar to an internal toolchain. -# This toolchain wrapper and symlinks are installed into -# $(HOST_DIR)/bin like for the internal toolchains, and the rest -# of Buildroot is handled identical for the 2 toolchain types. -################################################################################ - -# -# Definitions of where the toolchain can be found -# - -TOOLCHAIN_EXTERNAL_PREFIX = $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX)) -TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR = $(HOST_DIR)/opt/ext-toolchain - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) -TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) -else -TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH)) -endif - -ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) -ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) -# if no path set, figure it out from path -TOOLCHAIN_EXTERNAL_BIN := $(dir $(shell which $(TOOLCHAIN_EXTERNAL_PREFIX)-gcc)) -endif -else -TOOLCHAIN_EXTERNAL_REL_BIN_PATH = $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_REL_BIN_PATH)) -ifeq ($(TOOLCHAIN_EXTERNAL_REL_BIN_PATH),) -TOOLCHAIN_EXTERNAL_REL_BIN_PATH = bin -endif -TOOLCHAIN_EXTERNAL_BIN = $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/$(TOOLCHAIN_EXTERNAL_REL_BIN_PATH) -endif - -# If this is a buildroot toolchain, it already has a wrapper which we want to -# bypass. Since this is only evaluated after it has been extracted, we can use -# $(wildcard ...) here. -TOOLCHAIN_EXTERNAL_SUFFIX = \ - $(if $(wildcard $(TOOLCHAIN_EXTERNAL_BIN)/*.br_real),.br_real) - -TOOLCHAIN_EXTERNAL_CROSS = $(TOOLCHAIN_EXTERNAL_BIN)/$(TOOLCHAIN_EXTERNAL_PREFIX)- -TOOLCHAIN_EXTERNAL_CC = $(TOOLCHAIN_EXTERNAL_CROSS)gcc$(TOOLCHAIN_EXTERNAL_SUFFIX) -TOOLCHAIN_EXTERNAL_CXX = $(TOOLCHAIN_EXTERNAL_CROSS)g++$(TOOLCHAIN_EXTERNAL_SUFFIX) -TOOLCHAIN_EXTERNAL_GDC = $(TOOLCHAIN_EXTERNAL_CROSS)gdc$(TOOLCHAIN_EXTERNAL_SUFFIX) -TOOLCHAIN_EXTERNAL_FC = $(TOOLCHAIN_EXTERNAL_CROSS)gfortran$(TOOLCHAIN_EXTERNAL_SUFFIX) -TOOLCHAIN_EXTERNAL_READELF = $(TOOLCHAIN_EXTERNAL_CROSS)readelf - -# Normal handling of downloaded toolchain tarball extraction. -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) -# As a regular package, the toolchain gets extracted in $(@D), but -# since it's actually a fairly special package, we need it to be moved -# into TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR. -define TOOLCHAIN_EXTERNAL_MOVE - rm -rf $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) - mkdir -p $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) - mv $(@D)/* $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR)/ -endef -endif - -# -# Definitions of the list of libraries that should be copied to the target. -# - -TOOLCHAIN_EXTERNAL_LIBS += ld*.so.* libgcc_s.so.* libatomic.so.* - -ifneq ($(BR2_SSP_NONE),y) -TOOLCHAIN_EXTERNAL_LIBS += libssp.so.* -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GLIBC)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y) -TOOLCHAIN_EXTERNAL_LIBS += libc.so.* libcrypt.so.* libdl.so.* libm.so.* libnsl.so.* libresolv.so.* librt.so.* libutil.so.* -ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) -TOOLCHAIN_EXTERNAL_LIBS += libpthread.so.* -ifneq ($(BR2_PACKAGE_GDB)$(BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY),) -TOOLCHAIN_EXTERNAL_LIBS += libthread_db.so.* -endif # gdbserver -endif # ! no threads -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GLIBC),y) -TOOLCHAIN_EXTERNAL_LIBS += libnss_files.so.* libnss_dns.so.* libmvec.so.* libanl.so.* -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MUSL),y) -TOOLCHAIN_EXTERNAL_LIBS += libc.so -endif - -ifeq ($(BR2_INSTALL_LIBSTDCPP),y) -TOOLCHAIN_EXTERNAL_LIBS += libstdc++.so.* -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),y) -TOOLCHAIN_EXTERNAL_LIBS += libgfortran.so.* -# fortran needs quadmath on x86 and x86_64 -ifeq ($(BR2_TOOLCHAIN_HAS_LIBQUADMATH),y) -TOOLCHAIN_EXTERNAL_LIBS += libquadmath.so* -endif -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_OPENMP),y) -TOOLCHAIN_EXTERNAL_LIBS += libgomp.so.* -endif - -ifeq ($(BR2_TOOLCHAIN_HAS_DLANG),y) -TOOLCHAIN_EXTERNAL_LIBS += libgdruntime.so* libgphobos.so* -endif - -TOOLCHAIN_EXTERNAL_LIBS += $(addsuffix .so*,$(call qstrip,$(BR2_TOOLCHAIN_EXTRA_LIBS))) - - -# -# Definition of the CFLAGS to use with the external toolchain, as well as the -# common toolchain wrapper build arguments -# - -# march/mtune/floating point mode needs to be passed to the external toolchain -# to select the right multilib variant -ifeq ($(BR2_x86_64),y) -TOOLCHAIN_EXTERNAL_CFLAGS += -m64 -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_64 -endif -ifneq ($(GCC_TARGET_ARCH),) -TOOLCHAIN_EXTERNAL_CFLAGS += -march=$(GCC_TARGET_ARCH) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_ARCH='"$(GCC_TARGET_ARCH)"' -endif -ifneq ($(GCC_TARGET_CPU),) -TOOLCHAIN_EXTERNAL_CFLAGS += -mcpu=$(GCC_TARGET_CPU) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_CPU='"$(GCC_TARGET_CPU)"' -endif -ifneq ($(GCC_TARGET_ABI),) -TOOLCHAIN_EXTERNAL_CFLAGS += -mabi=$(GCC_TARGET_ABI) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_ABI='"$(GCC_TARGET_ABI)"' -endif -ifeq ($(BR2_TOOLCHAIN_HAS_MNAN_OPTION),y) -ifneq ($(GCC_TARGET_NAN),) -TOOLCHAIN_EXTERNAL_CFLAGS += -mnan=$(GCC_TARGET_NAN) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_NAN='"$(GCC_TARGET_NAN)"' -endif -endif -ifneq ($(GCC_TARGET_FP32_MODE),) -TOOLCHAIN_EXTERNAL_CFLAGS += -mfp$(GCC_TARGET_FP32_MODE) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_FP32_MODE='"$(GCC_TARGET_FP32_MODE)"' -endif -ifneq ($(GCC_TARGET_FPU),) -TOOLCHAIN_EXTERNAL_CFLAGS += -mfpu=$(GCC_TARGET_FPU) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_FPU='"$(GCC_TARGET_FPU)"' -endif -ifneq ($(GCC_TARGET_FLOAT_ABI),) -TOOLCHAIN_EXTERNAL_CFLAGS += -mfloat-abi=$(GCC_TARGET_FLOAT_ABI) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_FLOAT_ABI='"$(GCC_TARGET_FLOAT_ABI)"' -endif -ifneq ($(GCC_TARGET_MODE),) -TOOLCHAIN_EXTERNAL_CFLAGS += -m$(GCC_TARGET_MODE) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_MODE='"$(GCC_TARGET_MODE)"' -endif -ifeq ($(BR2_BINFMT_FLAT),y) -TOOLCHAIN_EXTERNAL_CFLAGS += -Wl,-elf2flt -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_BINFMT_FLAT -endif -ifeq ($(BR2_mipsel)$(BR2_mips64el),y) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_MIPS_TARGET_LITTLE_ENDIAN -TOOLCHAIN_EXTERNAL_CFLAGS += -EL -endif -ifeq ($(BR2_mips)$(BR2_mips64),y) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_MIPS_TARGET_BIG_ENDIAN -TOOLCHAIN_EXTERNAL_CFLAGS += -EB -endif -ifeq ($(BR2_arceb),y) -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_ARC_TARGET_BIG_ENDIAN -TOOLCHAIN_EXTERNAL_CFLAGS += -EB -endif - -TOOLCHAIN_EXTERNAL_CFLAGS += $(call qstrip,$(BR2_TARGET_OPTIMIZATION)) - -ifeq ($(BR2_SOFT_FLOAT),y) -TOOLCHAIN_EXTERNAL_CFLAGS += -msoft-float -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_SOFTFLOAT=1 -endif - -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += \ - -DBR_CROSS_PATH_SUFFIX='"$(TOOLCHAIN_EXTERNAL_SUFFIX)"' - -ifeq ($(filter $(HOST_DIR)/%,$(TOOLCHAIN_EXTERNAL_BIN)),) -# TOOLCHAIN_EXTERNAL_BIN points outside HOST_DIR => absolute path -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += \ - -DBR_CROSS_PATH_ABS='"$(TOOLCHAIN_EXTERNAL_BIN)"' -else -# TOOLCHAIN_EXTERNAL_BIN points inside HOST_DIR => relative path -TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += \ - -DBR_CROSS_PATH_REL='"$(TOOLCHAIN_EXTERNAL_BIN:$(HOST_DIR)/%=%)"' -endif - - -# -# The following functions creates the symbolic links needed to get the -# cross-compilation tools visible in $(HOST_DIR)/bin. Some of -# links are done directly to the corresponding tool in the external -# toolchain installation directory, while some other links are done to -# the toolchain wrapper (preprocessor, C, C++ and Fortran compiler) -# -# We skip gdb symlink when we are building our own gdb to prevent two -# gdb's in $(HOST_DIR)/bin. -# -# The LTO support in gcc creates wrappers for ar, ranlib and nm which load -# the lto plugin. These wrappers are called *-gcc-ar, *-gcc-ranlib, and -# *-gcc-nm and should be used instead of the real programs when -flto is -# used. However, we should not add the toolchain wrapper for them, and they -# match the *cc-* pattern. Therefore, an additional case is added for *-ar, -# *-ranlib and *-nm. -define TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER - $(Q)cd $(HOST_DIR)/bin; \ - for i in $(TOOLCHAIN_EXTERNAL_CROSS)*; do \ - base=$${i##*/}; \ - case "$$base" in \ - *-ar|*-ranlib|*-nm) \ - ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%..%') .; \ - ;; \ - *cc|*cc-*|*++|*++-*|*cpp|*-gfortran|*-gdc) \ - ln -sf toolchain-wrapper $$base; \ - ;; \ - *gdb|*gdbtui) \ - if test "$(BR2_PACKAGE_HOST_GDB)" != "y"; then \ - ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%..%') .; \ - fi \ - ;; \ - *) \ - ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%..%') .; \ - ;; \ - esac; \ - done -endef - - -# Various utility functions used by the external toolchain package -# infrastructure. Those functions are mainly responsible for: -# -# - installation the toolchain libraries to $(TARGET_DIR) -# - copying the toolchain sysroot to $(STAGING_DIR) -# - installing a gdbinit file -# -# Details about sysroot directory selection. -# -# To find the sysroot directory, we use the trick of looking for the -# 'libc.a' file with the -print-file-name gcc option, and then -# mangling the path to find the base directory of the sysroot. -# -# Note that we do not use the -print-sysroot option, because it is -# only available since gcc 4.4.x, and we only recently dropped support -# for 4.2.x and 4.3.x. -# -# When doing this, we don't pass any option to gcc that could select a -# multilib variant (such as -march) as we want the "main" sysroot, -# which contains all variants of the C library in the case of multilib -# toolchains. We use the TARGET_CC_NO_SYSROOT variable, which is the -# path of the cross-compiler, without the --sysroot=$(STAGING_DIR), -# since what we want to find is the location of the original toolchain -# sysroot. This "main" sysroot directory is stored in SYSROOT_DIR. -# -# Then, multilib toolchains are a little bit more complicated, since -# they in fact have multiple sysroots, one for each variant supported -# by the toolchain. So we need to find the particular sysroot we're -# interested in. -# -# To do so, we ask the compiler where its sysroot is by passing all -# flags (including -march and al.), except the --sysroot flag since we -# want to the compiler to tell us where its original sysroot -# is. ARCH_SUBDIR will contain the subdirectory, in the main -# SYSROOT_DIR, that corresponds to the selected architecture -# variant. ARCH_SYSROOT_DIR will contain the full path to this -# location. -# -# One might wonder why we don't just bother with ARCH_SYSROOT_DIR. The -# fact is that in multilib toolchains, the header files are often only -# present in the main sysroot, and only the libraries are available in -# each variant-specific sysroot directory. - - -# toolchain_find_sysroot returns the sysroot location for the given -# compiler + flags. We need to handle cases where libc.a is in: -# -# - lib/ -# - usr/lib/ -# - lib32/ -# - lib64/ -# - lib32-fp/ (Cavium toolchain) -# - lib64-fp/ (Cavium toolchain) -# - usr/lib// (Linaro toolchain) -# -# And variations on these. -define toolchain_find_sysroot -$$(printf $(call toolchain_find_libc_a,$(1)) | sed -r -e 's:/(usr/)?lib(32|64)?([^/]*)?/([^/]*/)?libc\.a:/:') -endef - -# Returns the lib subdirectory for the given compiler + flags (i.e -# typically lib32 or lib64 for some toolchains) -define toolchain_find_libdir -$$(printf $(call toolchain_find_libc_a,$(1)) | sed -r -e 's:.*/(usr/)?(lib(32|64)?([^/]*)?(/[^/]*)?)/libc.a:\2:') -endef - -# Returns the location of the libc.a file for the given compiler + flags -define toolchain_find_libc_a -$$(readlink -f $$(LANG=C $(1) -print-file-name=libc.a)) -endef - -# Integration of the toolchain into Buildroot: find the main sysroot -# and the variant-specific sysroot, then copy the needed libraries to -# the $(TARGET_DIR) and copy the whole sysroot (libraries and headers) -# to $(STAGING_DIR). -# -# Variables are defined as follows: -# -# SYSROOT_DIR: the main sysroot directory, deduced from the location of -# the libc.a file in the default multilib variant, by -# removing the usr/lib[32|64]/libc.a part of the path. -# Ex: /x-tools/mips-2011.03/mips-linux-gnu/libc/ -# -# ARCH_SYSROOT_DIR: the sysroot of the selected multilib variant, -# deduced from the location of the libc.a file in the -# selected multilib variant (taking into account the -# CFLAGS), by removing usr/lib[32|64]/libc.a at the end -# of the path. -# Ex: /x-tools/mips-2011.03/mips-linux-gnu/libc/mips16/soft-float/el/ -# -# ARCH_LIB_DIR: 'lib', 'lib32' or 'lib64' depending on where libraries -# are stored. Deduced from the location of the libc.a file -# in the selected multilib variant, by looking at -# usr/lib??/libc.a. -# Ex: lib -# -# ARCH_SUBDIR: the relative location of the sysroot of the selected -# multilib variant compared to the main sysroot. -# Ex: mips16/soft-float/el -# -# SUPPORT_LIB_DIR: some toolchains, such as recent Linaro toolchains, -# store GCC support libraries (libstdc++, -# libgcc_s, etc.) outside of the sysroot. In -# this case, SUPPORT_LIB_DIR is set to a -# non-empty value, and points to the directory -# where these support libraries are -# available. Those libraries will be copied to -# our sysroot, and the directory will also be -# considered when searching libraries for copy -# to the target filesystem. -# -# Please be very careful to check the major toolchain sources: -# Buildroot, Crosstool-NG, CodeSourcery and Linaro -# before doing any modification on the below logic. - -ifeq ($(BR2_STATIC_LIBS),) -define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS - $(Q)$(call MESSAGE,"Copying external toolchain libraries to target...") - $(Q)for libpattern in $(TOOLCHAIN_EXTERNAL_LIBS); do \ - $(call copy_toolchain_lib_root,$$libpattern); \ - done -endef -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY),y) -define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER - $(Q)$(call MESSAGE,"Copying gdbserver") - $(Q)ARCH_SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ - ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ - gdbserver_found=0 ; \ - for d in $${ARCH_SYSROOT_DIR}/usr \ - $${ARCH_SYSROOT_DIR}/../debug-root/usr \ - $${ARCH_SYSROOT_DIR}/usr/$${ARCH_LIB_DIR} \ - $(TOOLCHAIN_EXTERNAL_INSTALL_DIR); do \ - if test -f $${d}/bin/gdbserver ; then \ - install -m 0755 -D $${d}/bin/gdbserver $(TARGET_DIR)/usr/bin/gdbserver ; \ - gdbserver_found=1 ; \ - break ; \ - fi ; \ - done ; \ - if [ $${gdbserver_found} -eq 0 ] ; then \ - echo "Could not find gdbserver in external toolchain" ; \ - exit 1 ; \ - fi -endef -endif - -define TOOLCHAIN_EXTERNAL_INSTALL_SYSROOT_LIBS - $(Q)SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC))" ; \ - ARCH_SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ - ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ - SUPPORT_LIB_DIR="" ; \ - if test `find $${ARCH_SYSROOT_DIR} -name 'libstdc++.a' | wc -l` -eq 0 ; then \ - LIBSTDCPP_A_LOCATION=$$(LANG=C $(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS) -print-file-name=libstdc++.a) ; \ - if [ -e "$${LIBSTDCPP_A_LOCATION}" ]; then \ - SUPPORT_LIB_DIR=`readlink -f $${LIBSTDCPP_A_LOCATION} | sed -r -e 's:libstdc\+\+\.a::'` ; \ - fi ; \ - fi ; \ - if [ "$${SYSROOT_DIR}" == "$${ARCH_SYSROOT_DIR}" ] ; then \ - ARCH_SUBDIR="" ; \ - elif [ "`dirname $${ARCH_SYSROOT_DIR}`" = "`dirname $${SYSROOT_DIR}`" ] ; then \ - SYSROOT_DIR_DIRNAME=`dirname $${SYSROOT_DIR}`/ ; \ - ARCH_SUBDIR=`echo $${ARCH_SYSROOT_DIR} | sed -r -e "s:^$${SYSROOT_DIR_DIRNAME}(.*)/$$:\1:"` ; \ - else \ - ARCH_SUBDIR=`echo $${ARCH_SYSROOT_DIR} | sed -r -e "s:^$${SYSROOT_DIR}(.*)/$$:\1:"` ; \ - fi ; \ - $(call MESSAGE,"Copying external toolchain sysroot to staging...") ; \ - $(call copy_toolchain_sysroot,$${SYSROOT_DIR},$${ARCH_SYSROOT_DIR},$${ARCH_SUBDIR},$${ARCH_LIB_DIR},$${SUPPORT_LIB_DIR}) -endef - -# Create a symlink from (usr/)$(ARCH_LIB_DIR) to lib. -# Note: the skeleton package additionally creates lib32->lib or lib64->lib -# (as appropriate) -# -# $1: destination directory (TARGET_DIR / STAGING_DIR) -create_lib_symlinks = \ - $(Q)DESTDIR="$(strip $1)" ; \ - ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ - if [ ! -e "$${DESTDIR}/$${ARCH_LIB_DIR}" -a ! -e "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ]; then \ - relpath="$(call relpath_prefix,$${ARCH_LIB_DIR})" ; \ - ln -snf $${relpath}lib "$${DESTDIR}/$${ARCH_LIB_DIR}" ; \ - ln -snf $${relpath}lib "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ; \ - fi - -define TOOLCHAIN_EXTERNAL_CREATE_STAGING_LIB_SYMLINK - $(call create_lib_symlinks,$(STAGING_DIR)) -endef - -define TOOLCHAIN_EXTERNAL_CREATE_TARGET_LIB_SYMLINK - $(call create_lib_symlinks,$(TARGET_DIR)) -endef - -# -# Generate gdbinit file for use with Buildroot -# -define TOOLCHAIN_EXTERNAL_INSTALL_GDBINIT - $(Q)if test -f $(TARGET_CROSS)gdb ; then \ - $(call MESSAGE,"Installing gdbinit"); \ - $(gen_gdbinit_file); \ - fi -endef - -# uClibc-ng dynamic loader is called ld-uClibc.so.1, but gcc is not -# patched specifically for uClibc-ng, so it continues to generate -# binaries that expect the dynamic loader to be named ld-uClibc.so.0, -# like with the original uClibc. Therefore, we create an additional -# symbolic link to make uClibc-ng systems work properly. -define TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO - $(Q)if test -e $(TARGET_DIR)/lib/ld-uClibc.so.1; then \ - ln -sf ld-uClibc.so.1 $(TARGET_DIR)/lib/ld-uClibc.so.0 ; \ - fi - $(Q)if test -e $(TARGET_DIR)/lib/ld64-uClibc.so.1; then \ - ln -sf ld64-uClibc.so.1 $(TARGET_DIR)/lib/ld64-uClibc.so.0 ; \ - fi -endef - -define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD - $(Q)if test -f $(STAGING_DIR)/usr/bin/ldd ; then \ - $(INSTALL) -D $(STAGING_DIR)/usr/bin/ldd $(TARGET_DIR)/usr/bin/ldd ; \ - $(SED) 's:.*/bin/bash:#!/bin/sh:' $(TARGET_DIR)/usr/bin/ldd ; \ - fi -endef - -################################################################################ -# inner-toolchain-external-package -- defines the generic installation rules -# for external toolchain packages -# -# argument 1 is the lowercase package name -# argument 2 is the uppercase package name, including a HOST_ prefix -# for host packages -# argument 3 is the uppercase package name, without the HOST_ prefix -# for host packages -# argument 4 is the type (target or host) -################################################################################ -define inner-toolchain-external-package - -$(2)_INSTALL_STAGING = YES -$(2)_ADD_TOOLCHAIN_DEPENDENCY = NO - -# In fact, we don't need to download the toolchain, since it is already -# available on the system, so force the site and source to be empty so -# that nothing will be downloaded/extracted. -ifeq ($$(BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED),y) -$(2)_SITE = -$(2)_SOURCE = -endif - -ifeq ($$(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) -$(2)_EXCLUDES = usr/lib/locale/* - -$(2)_POST_EXTRACT_HOOKS += \ - TOOLCHAIN_EXTERNAL_MOVE -endif - -# Checks for an already installed toolchain: check the toolchain -# location, check that it is usable, and then verify that it -# matches the configuration provided in Buildroot: ABI, C++ support, -# kernel headers version, type of C library and all C library features. -define $(2)_CONFIGURE_CMDS - $$(Q)$$(call check_cross_compiler_exists,$$(TOOLCHAIN_EXTERNAL_CC)) - $$(Q)$$(call check_unusable_toolchain,$$(TOOLCHAIN_EXTERNAL_CC)) - $$(Q)SYSROOT_DIR="$$(call toolchain_find_sysroot,$$(TOOLCHAIN_EXTERNAL_CC))" ; \ - $$(call check_kernel_headers_version,\ - $$(BUILD_DIR),\ - $$(call toolchain_find_sysroot,$$(TOOLCHAIN_EXTERNAL_CC)),\ - $$(call qstrip,$$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)),\ - $$(if $$(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),loose,strict)); \ - $$(call check_gcc_version,$$(TOOLCHAIN_EXTERNAL_CC),\ - $$(call qstrip,$$(BR2_TOOLCHAIN_GCC_AT_LEAST))); \ - if test "$$(BR2_arm)" = "y" ; then \ - $$(call check_arm_abi,\ - "$$(TOOLCHAIN_EXTERNAL_CC) $$(TOOLCHAIN_EXTERNAL_CFLAGS)") ; \ - fi ; \ - if test "$$(BR2_INSTALL_LIBSTDCPP)" = "y" ; then \ - $$(call check_cplusplus,$$(TOOLCHAIN_EXTERNAL_CXX)) ; \ - fi ; \ - if test "$$(BR2_TOOLCHAIN_HAS_DLANG)" = "y" ; then \ - $$(call check_dlang,$$(TOOLCHAIN_EXTERNAL_GDC)) ; \ - fi ; \ - if test "$$(BR2_TOOLCHAIN_HAS_FORTRAN)" = "y" ; then \ - $$(call check_fortran,$$(TOOLCHAIN_EXTERNAL_FC)) ; \ - fi ; \ - if test "$$(BR2_TOOLCHAIN_HAS_OPENMP)" = "y" ; then \ - $$(call check_openmp,$$(TOOLCHAIN_EXTERNAL_CC)) ; \ - fi ; \ - if test "$$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)" = "y" ; then \ - $$(call check_uclibc,$$$${SYSROOT_DIR}) ; \ - elif test "$$(BR2_TOOLCHAIN_EXTERNAL_MUSL)" = "y" ; then \ - $$(call check_musl,\ - "$$(TOOLCHAIN_EXTERNAL_CC) $$(TOOLCHAIN_EXTERNAL_CFLAGS)") ; \ - else \ - $$(call check_glibc,$$$${SYSROOT_DIR}) ; \ - fi - $$(Q)$$(call check_toolchain_ssp,$$(TOOLCHAIN_EXTERNAL_CC),$(BR2_SSP_OPTION)) -endef - -$(2)_TOOLCHAIN_WRAPPER_ARGS += $$(TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS) - -$(2)_BUILD_CMDS = $$(TOOLCHAIN_WRAPPER_BUILD) - -define $(2)_INSTALL_STAGING_CMDS - $$(TOOLCHAIN_WRAPPER_INSTALL) - $$(TOOLCHAIN_EXTERNAL_CREATE_STAGING_LIB_SYMLINK) - $$(TOOLCHAIN_EXTERNAL_INSTALL_SYSROOT_LIBS) - $$(TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER) - $$(TOOLCHAIN_EXTERNAL_INSTALL_GDBINIT) -endef - -# Even though we're installing things in both the staging, the host -# and the target directory, we do everything within the -# install-staging step, arbitrarily. -define $(2)_INSTALL_TARGET_CMDS - $$(TOOLCHAIN_EXTERNAL_CREATE_TARGET_LIB_SYMLINK) - $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS) - $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER) - $$(TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO) - $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD) -endef - -# Call the generic package infrastructure to generate the necessary -# make targets -$(call inner-generic-package,$(1),$(2),$(3),$(4)) - -endef - -toolchain-external-package = $(call inner-toolchain-external-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in deleted file mode 100644 index bbd6a070..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE - bool "Arm AArch64 BE 2020.11" - depends on BR2_aarch64_be - depends on BR2_HOSTARCH = "x86_64" - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_SSP - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_OPENMP - help - Arm toolchain for the AArch64 Big Endian architecture. - - This is the same toolchain that was previously distributed by - Linaro. - - https://developer.arm.com/open-source/gnu-toolchain diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash deleted file mode 100644 index 8e67a965..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-2020.11/binrel/gcc-arm-10.2-2020.11-x86_64-aarch64_be-none-linux-gnu.tar.xz.asc -md5 5da75bca337de5adade5b339709f8b16 gcc-arm-10.2-2020.11-x86_64-aarch64_be-none-linux-gnu.tar.xz -# locally calculated -sha256 78a472aeb80f6ff56bfdef57ce165b233bac4af7aa2e12f454900518a30ddf20 gcc-arm-10.2-2020.11-x86_64-aarch64_be-none-linux-gnu.tar.xz diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk deleted file mode 100644 index 384fc2ef..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# toolchain-external-arm-aarch64-be -# -################################################################################ - -TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION = 2020.11 -TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION)/binrel - -TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_SOURCE = gcc-arm-10.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION)-x86_64-aarch64_be-none-linux-gnu.tar.xz - -$(eval $(toolchain-external-package)) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in deleted file mode 100644 index b6062846..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in +++ /dev/null @@ -1,20 +0,0 @@ -config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64 - bool "Arm AArch64 2020.11" - depends on BR2_aarch64 - depends on BR2_HOSTARCH = "x86_64" - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_SSP - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_OPENMP - help - Arm toolchain for the AArch64 architecture. - - This is the same toolchain that was previously distributed by - Linaro. - - https://developer.arm.com/open-source/gnu-toolchain diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash deleted file mode 100644 index 90abe56d..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-2020.11/binrel/gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu.tar.xz.asc -md5 d6e6676d31c51405ae0fc7687ef0a224 gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu.tar.xz -# locally calculated -sha256 fe7f72330216612de44891ebe5e228eed7c0c051ac090c395b2b33115c6f5408 gcc-arm-10.2-2020.11-x86_64-aarch64-none-linux-gnu.tar.xz diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk deleted file mode 100644 index 583e4a76..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# toolchain-external-arm-aarch64 -# -################################################################################ - -TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 2020.11 -TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)/binrel - -TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = gcc-arm-10.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-none-linux-gnu.tar.xz - -$(eval $(toolchain-external-package)) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in deleted file mode 100644 index e3bac38b..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in +++ /dev/null @@ -1,32 +0,0 @@ -comment "Arm toolchains available for Cortex-A with NEON + EABIhf" - depends on BR2_arm - depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF || !BR2_ARM_CPU_HAS_NEON - depends on !BR2_STATIC_LIBS - -config BR2_TOOLCHAIN_EXTERNAL_ARM_ARM - bool "Arm ARM 2020.11" - depends on BR2_arm - depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A - depends on BR2_ARM_CPU_HAS_NEON - depends on BR2_HOSTARCH = "x86_64" - depends on BR2_ARM_EABIHF - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_OPENMP - help - Arm toolchain for the ARM architecture. It uses GCC 10.2, - GDB 10.1, glibc 2.31, Binutils 2.35.1. It generates code - that runs on all Cortex-A profile devices. The code - generated uses the hard floating point calling convention, - and uses the NEON FPU instructions. - - This is the same toolchain that was previously distributed by - Linaro. - - https://developer.arm.com/open-source/gnu-toolchain diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash deleted file mode 100644 index a46ed4e4..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash +++ /dev/null @@ -1,4 +0,0 @@ -# From https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-2020.11/binrel/gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf.tar.xz.asc -md5 14f706db78cfb43aafed9056174572b0 gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf.tar.xz -# locally calculated -sha256 102825ae56c9e00142d06f35d2bdd3299edb6060e84a275a25b095e66fd3fc2a gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf.tar.xz diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk deleted file mode 100644 index 88b6ae34..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################ -# -# toolchain-external-arm-arm -# -################################################################################ - -TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION = 2020.11 -TOOLCHAIN_EXTERNAL_ARM_ARM_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/10.2-$(TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION)/binrel - -TOOLCHAIN_EXTERNAL_ARM_ARM_SOURCE = gcc-arm-10.2-$(TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION)-x86_64-arm-none-linux-gnueabihf.tar.xz - -$(eval $(toolchain-external-package)) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options deleted file mode 100644 index 61ead9b8..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options +++ /dev/null @@ -1,4303 +0,0 @@ -# This file was auto-generated by support/scripts/gen-bootlin-toolchains -# Do not edit -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCH_SUPPORTS - bool - default y if BR2_aarch64 - default y if BR2_aarch64_be - default y if BR2_arcle && BR2_arc750d - default y if BR2_arcle && BR2_archs38 - default y if BR2_ARM_CPU_ARMV5 && BR2_ARM_EABI - default y if BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF - default y if BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF - default y if BR2_ARM_CPU_ARMV7M - default y if BR2_m68k_m68k - default y if BR2_m68k_cf - default y if BR2_microblazebe - default y if BR2_microblazeel - default y if BR2_mips && BR2_mips_32 && !BR2_MIPS_SOFT_FLOAT - default y if BR2_mipsel && BR2_mips_32 && !BR2_MIPS_SOFT_FLOAT - default y if BR2_mipsel && BR2_mips_32r5 && !BR2_MIPS_SOFT_FLOAT - default y if BR2_mipsel && BR2_mips_32r6 && !BR2_MIPS_SOFT_FLOAT - default y if BR2_mips64 && BR2_mips_64 && !BR2_MIPS_SOFT_FLOAT - default y if BR2_mips64 && BR2_mips_64 && BR2_MIPS_NABI32 && !BR2_MIPS_SOFT_FLOAT - default y if BR2_mips64el && BR2_mips_64 && BR2_MIPS_NABI32 && !BR2_MIPS_SOFT_FLOAT - default y if BR2_mips64el && BR2_mips_64r6 && BR2_MIPS_NABI32 && !BR2_MIPS_SOFT_FLOAT - default y if BR2_nios2 - default y if BR2_or1k - default y if BR2_powerpc && BR2_powerpc_440fp - default y if BR2_powerpc && BR2_powerpc_e300c3 - default y if BR2_powerpc && BR2_powerpc_e500mc - default y if BR2_powerpc64 && BR2_powerpc_e5500 - default y if BR2_powerpc64 && BR2_powerpc_e6500 - default y if BR2_powerpc64 && BR2_powerpc_power8 - default y if BR2_powerpc64le && BR2_powerpc_power8 - default y if BR2_riscv && BR2_riscv_g && BR2_RISCV_32 && BR2_RISCV_ABI_ILP32D - default y if BR2_riscv && BR2_riscv_g && BR2_RISCV_64 && BR2_RISCV_ABI_LP64 - default y if BR2_sh && BR2_sh4 - default y if BR2_sh && BR2_sh4aeb - default y if BR2_sparc64 && BR2_sparc_v9 - default y if BR2_sparc && BR2_sparc_v8 - default y if BR2_x86_64 && BR2_X86_CPU_HAS_MMX && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2 && BR2_X86_CPU_HAS_SSE3 && BR2_X86_CPU_HAS_SSSE3 && BR2_X86_CPU_HAS_SSE4 && BR2_X86_CPU_HAS_SSE42 - default y if BR2_i386 && BR2_X86_CPU_HAS_MMX && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2 && BR2_X86_CPU_HAS_SSE3 && BR2_X86_CPU_HAS_SSSE3 - default y if BR2_i386 && !BR2_x86_i486 && !BR2_x86_i586 && !BR2_x86_x1000 - default y if BR2_xtensa && BR2_XTENSA_CUSTOM && BR2_XTENSA_LITTLE_ENDIAN - -if BR2_TOOLCHAIN_EXTERNAL_BOOTLIN - -config BR2_TOOLCHAIN_EXTERNAL_PREFIX - default "$(ARCH)-linux" - -config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL - default "toolchain-external-bootlin" - -choice - prompt "Bootlin toolchain variant" -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_BLEEDING_EDGE - bool "aarch64 glibc bleeding-edge 2020.08-1" - depends on BR2_aarch64 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the aarch64 architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE - bool "aarch64 glibc stable 2020.08-1" - depends on BR2_aarch64 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the aarch64 architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_BLEEDING_EDGE - bool "aarch64 musl bleeding-edge 2020.08-1" - depends on BR2_aarch64 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the aarch64 architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_STABLE - bool "aarch64 musl stable 2020.08-1" - depends on BR2_aarch64 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the aarch64 architecture, using the - musl C library. This is a stable version, which means it is - using stable and proven versions of gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_BLEEDING_EDGE - bool "aarch64 uclibc bleeding-edge 2020.08-1" - depends on BR2_aarch64 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the aarch64 architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE - bool "aarch64 uclibc stable 2020.08-1" - depends on BR2_aarch64 - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the aarch64 architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_BLEEDING_EDGE - bool "aarch64be glibc bleeding-edge 2020.08-1" - depends on BR2_aarch64_be - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the aarch64be architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_STABLE - bool "aarch64be glibc stable 2020.08-1" - depends on BR2_aarch64_be - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the aarch64be architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_BLEEDING_EDGE - bool "aarch64be uclibc bleeding-edge 2020.08-1" - depends on BR2_aarch64_be - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the aarch64be architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE - bool "aarch64be uclibc stable 2020.08-1" - depends on BR2_aarch64_be - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the aarch64be architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_BLEEDING_EDGE - bool "arcle-750d uclibc bleeding-edge 2020.08-1" - depends on BR2_arcle - depends on BR2_arc750d - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the arcle-750d architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_STABLE - bool "arcle-750d uclibc stable 2020.08-1" - depends on BR2_arcle - depends on BR2_arc750d - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the arcle-750d architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_BLEEDING_EDGE - bool "arcle-hs38 glibc bleeding-edge 2020.08-1" - depends on BR2_arcle - depends on BR2_archs38 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the arcle-hs38 architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_STABLE - bool "arcle-hs38 glibc stable 2020.08-1" - depends on BR2_arcle - depends on BR2_archs38 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the arcle-hs38 architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_BLEEDING_EDGE - bool "arcle-hs38 uclibc bleeding-edge 2020.08-1" - depends on BR2_arcle - depends on BR2_archs38 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the arcle-hs38 architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_STABLE - bool "arcle-hs38 uclibc stable 2020.08-1" - depends on BR2_arcle - depends on BR2_archs38 - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the arcle-hs38 architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE - bool "armv5-eabi glibc bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV5 - depends on BR2_ARM_EABI - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the armv5-eabi architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE - bool "armv5-eabi glibc stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV5 - depends on BR2_ARM_EABI - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the armv5-eabi architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_BLEEDING_EDGE - bool "armv5-eabi musl bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV5 - depends on BR2_ARM_EABI - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the armv5-eabi architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_STABLE - bool "armv5-eabi musl stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV5 - depends on BR2_ARM_EABI - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the armv5-eabi architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_BLEEDING_EDGE - bool "armv5-eabi uclibc bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV5 - depends on BR2_ARM_EABI - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the armv5-eabi architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE - bool "armv5-eabi uclibc stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV5 - depends on BR2_ARM_EABI - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the armv5-eabi architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_BLEEDING_EDGE - bool "armv6-eabihf glibc bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV6 - depends on BR2_ARM_EABIHF - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the armv6-eabihf architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_STABLE - bool "armv6-eabihf glibc stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV6 - depends on BR2_ARM_EABIHF - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the armv6-eabihf architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_BLEEDING_EDGE - bool "armv6-eabihf musl bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV6 - depends on BR2_ARM_EABIHF - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the armv6-eabihf architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_STABLE - bool "armv6-eabihf musl stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV6 - depends on BR2_ARM_EABIHF - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the armv6-eabihf architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_BLEEDING_EDGE - bool "armv6-eabihf uclibc bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV6 - depends on BR2_ARM_EABIHF - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the armv6-eabihf architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_STABLE - bool "armv6-eabihf uclibc stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV6 - depends on BR2_ARM_EABIHF - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the armv6-eabihf architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_BLEEDING_EDGE - bool "armv7-eabihf glibc bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV7A - depends on BR2_ARM_EABIHF - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the armv7-eabihf architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE - bool "armv7-eabihf glibc stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV7A - depends on BR2_ARM_EABIHF - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the armv7-eabihf architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE - bool "armv7-eabihf musl bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV7A - depends on BR2_ARM_EABIHF - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the armv7-eabihf architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE - bool "armv7-eabihf musl stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV7A - depends on BR2_ARM_EABIHF - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the armv7-eabihf architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_BLEEDING_EDGE - bool "armv7-eabihf uclibc bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV7A - depends on BR2_ARM_EABIHF - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the armv7-eabihf architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_STABLE - bool "armv7-eabihf uclibc stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV7A - depends on BR2_ARM_EABIHF - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the armv7-eabihf architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_BLEEDING_EDGE - bool "armv7m uclibc bleeding-edge 2020.08-1" - depends on BR2_ARM_CPU_ARMV7M - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the armv7m architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_STABLE - bool "armv7m uclibc stable 2020.08-1" - depends on BR2_ARM_CPU_ARMV7M - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the armv7m architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_BLEEDING_EDGE - bool "m68k-68xxx uclibc bleeding-edge 2020.08-1" - depends on BR2_m68k_m68k - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the m68k-68xxx architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_STABLE - bool "m68k-68xxx uclibc stable 2020.08-1" - depends on BR2_m68k_m68k - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the m68k-68xxx architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_BLEEDING_EDGE - bool "m68k-coldfire uclibc bleeding-edge 2020.08-1" - depends on BR2_m68k_cf - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the m68k-coldfire architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_STABLE - bool "m68k-coldfire uclibc stable 2020.08-1" - depends on BR2_m68k_cf - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the m68k-coldfire architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_BLEEDING_EDGE - bool "microblazebe glibc bleeding-edge 2020.08-1" - depends on BR2_microblazebe - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the microblazebe architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_STABLE - bool "microblazebe glibc stable 2020.08-1" - depends on BR2_microblazebe - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the microblazebe architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_BLEEDING_EDGE - bool "microblazebe musl bleeding-edge 2020.08-1" - depends on BR2_microblazebe - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the microblazebe architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_STABLE - bool "microblazebe musl stable 2020.08-1" - depends on BR2_microblazebe - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the microblazebe architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_BLEEDING_EDGE - bool "microblazebe uclibc bleeding-edge 2020.08-1" - depends on BR2_microblazebe - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the microblazebe architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_STABLE - bool "microblazebe uclibc stable 2020.08-1" - depends on BR2_microblazebe - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the microblazebe architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_BLEEDING_EDGE - bool "microblazeel glibc bleeding-edge 2020.08-1" - depends on BR2_microblazeel - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the microblazeel architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_STABLE - bool "microblazeel glibc stable 2020.08-1" - depends on BR2_microblazeel - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the microblazeel architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_BLEEDING_EDGE - bool "microblazeel musl bleeding-edge 2020.08-1" - depends on BR2_microblazeel - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the microblazeel architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_STABLE - bool "microblazeel musl stable 2020.08-1" - depends on BR2_microblazeel - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the microblazeel architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_BLEEDING_EDGE - bool "microblazeel uclibc bleeding-edge 2020.08-1" - depends on BR2_microblazeel - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the microblazeel architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_STABLE - bool "microblazeel uclibc stable 2020.08-1" - depends on BR2_microblazeel - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the microblazeel architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_BLEEDING_EDGE - bool "mips32 glibc bleeding-edge 2020.08-1" - depends on BR2_mips - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips32 architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_STABLE - bool "mips32 glibc stable 2020.08-1" - depends on BR2_mips - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips32 architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_BLEEDING_EDGE - bool "mips32 musl bleeding-edge 2020.08-1" - depends on BR2_mips - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips32 architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_STABLE - bool "mips32 musl stable 2020.08-1" - depends on BR2_mips - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips32 architecture, using the - musl C library. This is a stable version, which means it is - using stable and proven versions of gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_BLEEDING_EDGE - bool "mips32 uclibc bleeding-edge 2020.08-1" - depends on BR2_mips - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips32 architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE - bool "mips32 uclibc stable 2020.08-1" - depends on BR2_mips - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips32 architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_BLEEDING_EDGE - bool "mips32el glibc bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips32el architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_STABLE - bool "mips32el glibc stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips32el architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_BLEEDING_EDGE - bool "mips32el musl bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips32el architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_STABLE - bool "mips32el musl stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips32el architecture, using the - musl C library. This is a stable version, which means it is - using stable and proven versions of gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_BLEEDING_EDGE - bool "mips32el uclibc bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips32el architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE - bool "mips32el uclibc stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips32el architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_BLEEDING_EDGE - bool "mips32r5el glibc bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r5 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips32r5el architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_STABLE - bool "mips32r5el glibc stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r5 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips32r5el architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_BLEEDING_EDGE - bool "mips32r5el musl bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r5 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips32r5el architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_STABLE - bool "mips32r5el musl stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r5 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips32r5el architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_BLEEDING_EDGE - bool "mips32r5el uclibc bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r5 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips32r5el architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_STABLE - bool "mips32r5el uclibc stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r5 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips32r5el architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_BLEEDING_EDGE - bool "mips32r6el glibc bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r6 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips32r6el architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_STABLE - bool "mips32r6el glibc stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r6 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips32r6el architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_BLEEDING_EDGE - bool "mips32r6el musl bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r6 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips32r6el architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_STABLE - bool "mips32r6el musl stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r6 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips32r6el architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_BLEEDING_EDGE - bool "mips32r6el uclibc bleeding-edge 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r6 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips32r6el architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_STABLE - bool "mips32r6el uclibc stable 2020.08-1" - depends on BR2_mipsel - depends on BR2_mips_32r6 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips32r6el architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_BLEEDING_EDGE - bool "mips64-n32 glibc bleeding-edge 2020.08-1" - depends on BR2_mips64 - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips64-n32 architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_STABLE - bool "mips64-n32 glibc stable 2020.08-1" - depends on BR2_mips64 - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips64-n32 architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_BLEEDING_EDGE - bool "mips64-n32 musl bleeding-edge 2020.08-1" - depends on BR2_mips64 - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips64-n32 architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_STABLE - bool "mips64-n32 musl stable 2020.08-1" - depends on BR2_mips64 - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips64-n32 architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_BLEEDING_EDGE - bool "mips64-n32 uclibc bleeding-edge 2020.08-1" - depends on BR2_mips64 - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips64-n32 architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_STABLE - bool "mips64-n32 uclibc stable 2020.08-1" - depends on BR2_mips64 - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips64-n32 architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_BLEEDING_EDGE - bool "mips64el-n32 glibc bleeding-edge 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips64el-n32 architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE - bool "mips64el-n32 glibc stable 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips64el-n32 architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_BLEEDING_EDGE - bool "mips64el-n32 musl bleeding-edge 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips64el-n32 architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_STABLE - bool "mips64el-n32 musl stable 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips64el-n32 architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_BLEEDING_EDGE - bool "mips64el-n32 uclibc bleeding-edge 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips64el-n32 architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_STABLE - bool "mips64el-n32 uclibc stable 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips64el-n32 architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_BLEEDING_EDGE - bool "mips64r6el-n32 glibc bleeding-edge 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64r6 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips64r6el-n32 architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_STABLE - bool "mips64r6el-n32 glibc stable 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64r6 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the mips64r6el-n32 architecture, - using the glibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_BLEEDING_EDGE - bool "mips64r6el-n32 musl bleeding-edge 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64r6 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips64r6el-n32 architecture, - using the musl C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_STABLE - bool "mips64r6el-n32 musl stable 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64r6 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the mips64r6el-n32 architecture, - using the musl C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_BLEEDING_EDGE - bool "mips64r6el-n32 uclibc bleeding-edge 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64r6 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips64r6el-n32 architecture, - using the uclibc C library. This is a bleeding-edge - version, which means it is using the latest versions of - gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_STABLE - bool "mips64r6el-n32 uclibc stable 2020.08-1" - depends on BR2_mips64el - depends on BR2_mips_64r6 - depends on BR2_MIPS_NABI32 - depends on !BR2_MIPS_SOFT_FLOAT - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the mips64r6el-n32 architecture, - using the uclibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE - bool "nios2 glibc bleeding-edge 2020.08-1" - depends on BR2_nios2 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the nios2 architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_STABLE - bool "nios2 glibc stable 2020.08-1" - depends on BR2_nios2 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the nios2 architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_BLEEDING_EDGE - bool "openrisc musl bleeding-edge 2020.08-1" - depends on BR2_or1k - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the openrisc architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_STABLE - bool "openrisc musl stable 2020.08-1" - depends on BR2_or1k - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the openrisc architecture, using the - musl C library. This is a stable version, which means it is - using stable and proven versions of gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_BLEEDING_EDGE - bool "openrisc uclibc bleeding-edge 2020.08-1" - depends on BR2_or1k - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the openrisc architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_STABLE - bool "openrisc uclibc stable 2020.08-1" - depends on BR2_or1k - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the openrisc architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_BLEEDING_EDGE - bool "powerpc-440fp glibc bleeding-edge 2020.08-2" - depends on BR2_powerpc - depends on BR2_powerpc_440fp - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - help - Bootlin toolchain for the powerpc-440fp architecture, using - the glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_STABLE - bool "powerpc-440fp glibc stable 2020.08-2" - depends on BR2_powerpc - depends on BR2_powerpc_440fp - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - help - Bootlin toolchain for the powerpc-440fp architecture, using - the glibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_BLEEDING_EDGE - bool "powerpc-440fp musl bleeding-edge 2020.08-2" - depends on BR2_powerpc - depends on BR2_powerpc_440fp - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc-440fp architecture, using - the musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_STABLE - bool "powerpc-440fp musl stable 2020.08-2" - depends on BR2_powerpc - depends on BR2_powerpc_440fp - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc-440fp architecture, using - the musl C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_BLEEDING_EDGE - bool "powerpc-440fp uclibc bleeding-edge 2020.08-2" - depends on BR2_powerpc - depends on BR2_powerpc_440fp - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the powerpc-440fp architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_STABLE - bool "powerpc-440fp uclibc stable 2020.08-2" - depends on BR2_powerpc - depends on BR2_powerpc_440fp - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the powerpc-440fp architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_BLEEDING_EDGE - bool "powerpc-e300c3 glibc bleeding-edge 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e300c3 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc-e300c3 architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_STABLE - bool "powerpc-e300c3 glibc stable 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e300c3 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc-e300c3 architecture, - using the glibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_BLEEDING_EDGE - bool "powerpc-e300c3 musl bleeding-edge 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e300c3 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc-e300c3 architecture, - using the musl C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_STABLE - bool "powerpc-e300c3 musl stable 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e300c3 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc-e300c3 architecture, - using the musl C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_BLEEDING_EDGE - bool "powerpc-e300c3 uclibc bleeding-edge 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e300c3 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the powerpc-e300c3 architecture, - using the uclibc C library. This is a bleeding-edge - version, which means it is using the latest versions of - gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_STABLE - bool "powerpc-e300c3 uclibc stable 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e300c3 - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the powerpc-e300c3 architecture, - using the uclibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_BLEEDING_EDGE - bool "powerpc-e500mc glibc bleeding-edge 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e500mc - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc-e500mc architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_STABLE - bool "powerpc-e500mc glibc stable 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e500mc - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc-e500mc architecture, - using the glibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_BLEEDING_EDGE - bool "powerpc-e500mc musl bleeding-edge 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e500mc - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc-e500mc architecture, - using the musl C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_STABLE - bool "powerpc-e500mc musl stable 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e500mc - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc-e500mc architecture, - using the musl C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_BLEEDING_EDGE - bool "powerpc-e500mc uclibc bleeding-edge 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e500mc - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the powerpc-e500mc architecture, - using the uclibc C library. This is a bleeding-edge - version, which means it is using the latest versions of - gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_STABLE - bool "powerpc-e500mc uclibc stable 2020.08-1" - depends on BR2_powerpc - depends on BR2_powerpc_e500mc - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the powerpc-e500mc architecture, - using the uclibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_BLEEDING_EDGE - bool "powerpc64-e5500 glibc bleeding-edge 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_e5500 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc64-e5500 architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_STABLE - bool "powerpc64-e5500 glibc stable 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_e5500 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc64-e5500 architecture, - using the glibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_BLEEDING_EDGE - bool "powerpc64-e6500 glibc bleeding-edge 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_e6500 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc64-e6500 architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_STABLE - bool "powerpc64-e6500 glibc stable 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_e6500 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc64-e6500 architecture, - using the glibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_BLEEDING_EDGE - bool "powerpc64-e6500 musl bleeding-edge 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_e6500 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc64-e6500 architecture, - using the musl C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_STABLE - bool "powerpc64-e6500 musl stable 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_e6500 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc64-e6500 architecture, - using the musl C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_BLEEDING_EDGE - bool "powerpc64-power8 glibc bleeding-edge 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_power8 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc64-power8 architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE - bool "powerpc64-power8 glibc stable 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_power8 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc64-power8 architecture, - using the glibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_BLEEDING_EDGE - bool "powerpc64-power8 musl bleeding-edge 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_power8 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc64-power8 architecture, - using the musl C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_STABLE - bool "powerpc64-power8 musl stable 2020.08-1" - depends on BR2_powerpc64 - depends on BR2_powerpc_power8 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc64-power8 architecture, - using the musl C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_BLEEDING_EDGE - bool "powerpc64le-power8 glibc bleeding-edge 2020.08-1" - depends on BR2_powerpc64le - depends on BR2_powerpc_power8 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc64le-power8 architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE - bool "powerpc64le-power8 glibc stable 2020.08-1" - depends on BR2_powerpc64le - depends on BR2_powerpc_power8 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the powerpc64le-power8 architecture, - using the glibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_BLEEDING_EDGE - bool "powerpc64le-power8 musl bleeding-edge 2020.08-1" - depends on BR2_powerpc64le - depends on BR2_powerpc_power8 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc64le-power8 architecture, - using the musl C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_STABLE - bool "powerpc64le-power8 musl stable 2020.08-1" - depends on BR2_powerpc64le - depends on BR2_powerpc_power8 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the powerpc64le-power8 architecture, - using the musl C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_BLEEDING_EDGE - bool "riscv32-ilp32d glibc bleeding-edge 2020.08-1" - depends on BR2_riscv - depends on BR2_riscv_g - depends on BR2_RISCV_32 - depends on BR2_RISCV_ABI_ILP32D - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - help - Bootlin toolchain for the riscv32-ilp32d architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_GLIBC_BLEEDING_EDGE - bool "riscv64 glibc bleeding-edge 2020.08-1" - depends on BR2_riscv - depends on BR2_riscv_g - depends on BR2_RISCV_64 - depends on BR2_RISCV_ABI_LP64 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the riscv64 architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_MUSL_BLEEDING_EDGE - bool "riscv64 musl bleeding-edge 2020.08-1" - depends on BR2_riscv - depends on BR2_riscv_g - depends on BR2_RISCV_64 - depends on BR2_RISCV_ABI_LP64 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the riscv64 architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_BLEEDING_EDGE - bool "sh-sh4 glibc bleeding-edge 2020.08-1" - depends on BR2_sh - depends on BR2_sh4 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the sh-sh4 architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_STABLE - bool "sh-sh4 glibc stable 2020.08-1" - depends on BR2_sh - depends on BR2_sh4 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the sh-sh4 architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_BLEEDING_EDGE - bool "sh-sh4 musl bleeding-edge 2020.08-1" - depends on BR2_sh - depends on BR2_sh4 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the sh-sh4 architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_STABLE - bool "sh-sh4 musl stable 2020.08-1" - depends on BR2_sh - depends on BR2_sh4 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the sh-sh4 architecture, using the - musl C library. This is a stable version, which means it is - using stable and proven versions of gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_BLEEDING_EDGE - bool "sh-sh4 uclibc bleeding-edge 2020.08-1" - depends on BR2_sh - depends on BR2_sh4 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the sh-sh4 architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_STABLE - bool "sh-sh4 uclibc stable 2020.08-1" - depends on BR2_sh - depends on BR2_sh4 - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the sh-sh4 architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_BLEEDING_EDGE - bool "sh-sh4aeb glibc bleeding-edge 2020.08-1" - depends on BR2_sh - depends on BR2_sh4aeb - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the sh-sh4aeb architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_STABLE - bool "sh-sh4aeb glibc stable 2020.08-1" - depends on BR2_sh - depends on BR2_sh4aeb - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the sh-sh4aeb architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_BLEEDING_EDGE - bool "sh-sh4aeb musl bleeding-edge 2020.08-1" - depends on BR2_sh - depends on BR2_sh4aeb - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the sh-sh4aeb architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_STABLE - bool "sh-sh4aeb musl stable 2020.08-1" - depends on BR2_sh - depends on BR2_sh4aeb - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the sh-sh4aeb architecture, using the - musl C library. This is a stable version, which means it is - using stable and proven versions of gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_BLEEDING_EDGE - bool "sparc64 glibc bleeding-edge 2020.08-1" - depends on BR2_sparc64 - depends on BR2_sparc_v9 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the sparc64 architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_STABLE - bool "sparc64 glibc stable 2020.08-1" - depends on BR2_sparc64 - depends on BR2_sparc_v9 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the sparc64 architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_BLEEDING_EDGE - bool "sparcv8 uclibc bleeding-edge 2020.08-1" - depends on BR2_sparc - depends on BR2_sparc_v8 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the sparcv8 architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE - bool "sparcv8 uclibc stable 2020.08-1" - depends on BR2_sparc - depends on BR2_sparc_v8 - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the sparcv8 architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE - bool "x86-64-core-i7 glibc bleeding-edge 2020.08-1" - depends on BR2_x86_64 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_X86_CPU_HAS_SSE4 - depends on BR2_X86_CPU_HAS_SSE42 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the x86-64-core-i7 architecture, - using the glibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE - bool "x86-64-core-i7 glibc stable 2020.08-1" - depends on BR2_x86_64 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_X86_CPU_HAS_SSE4 - depends on BR2_X86_CPU_HAS_SSE42 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the x86-64-core-i7 architecture, - using the glibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_BLEEDING_EDGE - bool "x86-64-core-i7 musl bleeding-edge 2020.08-1" - depends on BR2_x86_64 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_X86_CPU_HAS_SSE4 - depends on BR2_X86_CPU_HAS_SSE42 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the x86-64-core-i7 architecture, - using the musl C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_STABLE - bool "x86-64-core-i7 musl stable 2020.08-1" - depends on BR2_x86_64 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_X86_CPU_HAS_SSE4 - depends on BR2_X86_CPU_HAS_SSE42 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the x86-64-core-i7 architecture, - using the musl C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_BLEEDING_EDGE - bool "x86-64-core-i7 uclibc bleeding-edge 2020.08-1" - depends on BR2_x86_64 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_X86_CPU_HAS_SSE4 - depends on BR2_X86_CPU_HAS_SSE42 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the x86-64-core-i7 architecture, - using the uclibc C library. This is a bleeding-edge - version, which means it is using the latest versions of - gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE - bool "x86-64-core-i7 uclibc stable 2020.08-1" - depends on BR2_x86_64 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_X86_CPU_HAS_SSE4 - depends on BR2_X86_CPU_HAS_SSE42 - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the x86-64-core-i7 architecture, - using the uclibc C library. This is a stable version, which - means it is using stable and proven versions of gcc, gdb - and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_BLEEDING_EDGE - bool "x86-core2 glibc bleeding-edge 2020.08-1" - depends on BR2_i386 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the x86-core2 architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE - bool "x86-core2 glibc stable 2020.08-1" - depends on BR2_i386 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the x86-core2 architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_BLEEDING_EDGE - bool "x86-core2 musl bleeding-edge 2020.08-1" - depends on BR2_i386 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the x86-core2 architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_STABLE - bool "x86-core2 musl stable 2020.08-1" - depends on BR2_i386 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the x86-core2 architecture, using the - musl C library. This is a stable version, which means it is - using stable and proven versions of gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_BLEEDING_EDGE - bool "x86-core2 uclibc bleeding-edge 2020.08-1" - depends on BR2_i386 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the x86-core2 architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_STABLE - bool "x86-core2 uclibc stable 2020.08-1" - depends on BR2_i386 - depends on BR2_X86_CPU_HAS_MMX - depends on BR2_X86_CPU_HAS_SSE - depends on BR2_X86_CPU_HAS_SSE2 - depends on BR2_X86_CPU_HAS_SSE3 - depends on BR2_X86_CPU_HAS_SSSE3 - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the x86-core2 architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_BLEEDING_EDGE - bool "x86-i686 glibc bleeding-edge 2020.08-1" - depends on BR2_i386 - depends on !BR2_x86_i486 - depends on !BR2_x86_i586 - depends on !BR2_x86_x1000 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the x86-i686 architecture, using the - glibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_STABLE - bool "x86-i686 glibc stable 2020.08-1" - depends on BR2_i386 - depends on !BR2_x86_i486 - depends on !BR2_x86_i586 - depends on !BR2_x86_x1000 - depends on BR2_USE_MMU - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_SSP - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Bootlin toolchain for the x86-i686 architecture, using the - glibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE - bool "x86-i686 musl bleeding-edge 2020.08-1" - depends on BR2_i386 - depends on !BR2_x86_i486 - depends on !BR2_x86_i586 - depends on !BR2_x86_x1000 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the x86-i686 architecture, using the - musl C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_STABLE - bool "x86-i686 musl stable 2020.08-1" - depends on BR2_i386 - depends on !BR2_x86_i486 - depends on !BR2_x86_i586 - depends on !BR2_x86_x1000 - depends on BR2_USE_MMU - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Bootlin toolchain for the x86-i686 architecture, using the - musl C library. This is a stable version, which means it is - using stable and proven versions of gcc, gdb and binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_BLEEDING_EDGE - bool "x86-i686 uclibc bleeding-edge 2020.08-1" - depends on BR2_i386 - depends on !BR2_x86_i486 - depends on !BR2_x86_i586 - depends on !BR2_x86_x1000 - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the x86-i686 architecture, using the - uclibc C library. This is a bleeding-edge version, which - means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE - bool "x86-i686 uclibc stable 2020.08-1" - depends on BR2_i386 - depends on !BR2_x86_i486 - depends on !BR2_x86_i586 - depends on !BR2_x86_x1000 - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the x86-i686 architecture, using the - uclibc C library. This is a stable version, which means it - is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_BLEEDING_EDGE - bool "xtensa-lx60 uclibc bleeding-edge 2020.08-1" - depends on BR2_xtensa - depends on BR2_XTENSA_CUSTOM - depends on BR2_XTENSA_LITTLE_ENDIAN - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the xtensa-lx60 architecture, using - the uclibc C library. This is a bleeding-edge version, - which means it is using the latest versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE - bool "xtensa-lx60 uclibc stable 2020.08-1" - depends on BR2_xtensa - depends on BR2_XTENSA_CUSTOM - depends on BR2_XTENSA_LITTLE_ENDIAN - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - select BR2_USE_WCHAR - select BR2_ENABLE_LOCALE - select BR2_INSTALL_LIBSTDCPP - select BR2_TOOLCHAIN_HAS_FORTRAN - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Bootlin toolchain for the xtensa-lx60 architecture, using - the uclibc C library. This is a stable version, which means - it is using stable and proven versions of gcc, gdb and - binutils. - - https://toolchains.bootlin.com/ - -endchoice -endif diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.hash b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.hash deleted file mode 100644 index 3e6eb99c..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.hash +++ /dev/null @@ -1,340 +0,0 @@ -# This file was auto-generated by support/scripts/gen-bootlin-toolchains -# Do not edit -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--bleeding-edge-2020.08-1.sha256 -sha256 212f3c05f3b2263b0e2f902d055aecc2755eba10c0011927788a38faee8fc9aa aarch64--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--stable-2020.08-1.sha256 -sha256 8ab7a2f17cb96621b048ab0a872650dd62faa54cd74c961b9902b8c04bff7dd1 aarch64--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--musl--bleeding-edge-2020.08-1.sha256 -sha256 3cf00c1ccaf16d0fbc526529789791de1cf98b918ff812e779f8400d40b6c048 aarch64--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--musl--stable-2020.08-1.sha256 -sha256 8319d27e3e637f32ecbdf49ceee2e9b7768b32d3ec7c92c888ff52e6f062bde4 aarch64--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 57fe5cecf37778b35dd09d9a016a1d6d9d7bb0e96ffcc5565e0aa483a46ea3db aarch64--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--stable-2020.08-1.sha256 -sha256 04176f56ac977215c5257c307cece2d32e03770b96380e09c50379d4d84a5b39 aarch64--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs/aarch64be--glibc--bleeding-edge-2020.08-1.sha256 -sha256 9631a57809d2fc2c7bb82bdd79d7647ccabe193126cc59ff9721a573d8870510 aarch64be--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs/aarch64be--glibc--stable-2020.08-1.sha256 -sha256 71e24a2a205726d7d8ec56ead13b7eb427d5aed0e057a94ee06688334a07e6dd aarch64be--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs/aarch64be--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 76017614f0e7770499b5d18943398e51ae1c36d075cf8fba90ea050a29cad747 aarch64be--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs/aarch64be--uclibc--stable-2020.08-1.sha256 -sha256 a3bff78e98b2e17ab142ec630f9184f0cd4be6f1f313fdc112d89a843d92cedc aarch64be--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-750d/tarballs/arcle-750d--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 e33570bdddc08d01b0da81ef6c3b240c6e0a4948f0100314b0be63c18c5f75db arcle-750d--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-750d/tarballs/arcle-750d--uclibc--stable-2020.08-1.sha256 -sha256 bae0cbcab3b3b0149503aef6003dd816102b261461e37d89d32ffe9eb7f5dab9 arcle-750d--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs/arcle-hs38--glibc--bleeding-edge-2020.08-1.sha256 -sha256 219be8c5390da6830e7529cb0a611996a8c9451bfa1560d7bda4ed5b182f7744 arcle-hs38--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs/arcle-hs38--glibc--stable-2020.08-1.sha256 -sha256 ca73399803b6bb46cf27aa2bef5f98eae05fb2fa547403777354067117b44f2f arcle-hs38--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs/arcle-hs38--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 65e1408112518c1b31350285838f000a78a0dcd78880842933ef80d64d023967 arcle-hs38--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs/arcle-hs38--uclibc--stable-2020.08-1.sha256 -sha256 f0839aa541fe3f29660387c731b52e495bf1b285127b9fba91350b5b67f8ff3e arcle-hs38--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--glibc--bleeding-edge-2020.08-1.sha256 -sha256 261e73520fb211f63a88ecce0689d3647acf295527bd6bd16e88e1bd65b3c603 armv5-eabi--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--glibc--stable-2020.08-1.sha256 -sha256 ed175329057693e496b0d6dbac1ff9db8f8f34737530ab38b5ed677afaefad03 armv5-eabi--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--musl--bleeding-edge-2020.08-1.sha256 -sha256 486b2424321b9866c2677e1dccd3a999394a86f890542c0c63edd5f9456bc4f9 armv5-eabi--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--musl--stable-2020.08-1.sha256 -sha256 732edab571d017c550d74b8c53dc703fc650de7aab66e68c70a0bc19d66d0a22 armv5-eabi--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 5e11ec24b910c43f24577b41a38cded192e443c0606be60944fe85b0fbf4b2dd armv5-eabi--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--uclibc--stable-2020.08-1.sha256 -sha256 cf6a668d4f30a4a2e76a0e88177e1301342cc011e94ea399353e77ede0efbb22 armv5-eabi--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--glibc--bleeding-edge-2020.08-1.sha256 -sha256 0c66147f05b21529311338e246ed285f9f0f4830af0d4db28e401160a81d1b4f armv6-eabihf--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--glibc--stable-2020.08-1.sha256 -sha256 539e31b3bdcf76c3d6710951c74fbe682e2de8da4d110b981e9108b656890f4a armv6-eabihf--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--musl--bleeding-edge-2020.08-1.sha256 -sha256 e8c05fb7b909dfd5a42f6de78d1b20605c453a9aea219981966d213ee98968e2 armv6-eabihf--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--musl--stable-2020.08-1.sha256 -sha256 68e43e3cd0e1fdd5c2b3ab718368f6ee24824725c641e148ef0a0da57f872034 armv6-eabihf--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 749bb97f7535414c3096564f6e790d1e43ab8c406282480937d8f34478ac7a35 armv6-eabihf--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--uclibc--stable-2020.08-1.sha256 -sha256 680a3bf708cb792c74561514dcba882727086c9317397e8a3ebece1b50fbea4e armv6-eabihf--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--glibc--bleeding-edge-2020.08-1.sha256 -sha256 9f5c703cea20834276e1a81e2e54483d0f4fe0e57063ba4d058338ef9c858eb2 armv7-eabihf--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--glibc--stable-2020.08-1.sha256 -sha256 7b6682603af9a9b5c0e46fd57165723483bb68295e827d14d238e63f33a147a8 armv7-eabihf--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--musl--bleeding-edge-2020.08-1.sha256 -sha256 d9e71499cfb1790a31056ca9199981f699c7e4966b5854f7780d97f5a74d601e armv7-eabihf--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--musl--stable-2020.08-1.sha256 -sha256 5c4c9bce5a2a46a9ad46e49e86df708893a8907e702a8ee1b5febd3950e030ed armv7-eabihf--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 7c3ee9f3d6bd4eda38ec94a686a9e348b0f800214f1225c68d172e4ac6b81066 armv7-eabihf--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--uclibc--stable-2020.08-1.sha256 -sha256 f61866b0e60da62eff92b197f0e2a72e8d023bf944a25eb97efc9f5d93680ed9 armv7-eabihf--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7m/tarballs/armv7m--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 9ce29bbcbc0a2c4925e814a6332c2c71e9a13476040e1db0a5495c68d1566bee armv7m--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7m/tarballs/armv7m--uclibc--stable-2020.08-1.sha256 -sha256 c20df31191b88df09d8ff225ca82e3bb769b2b7ffd3827f6dbf77a6d23230339 armv7m--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-68xxx/tarballs/m68k-68xxx--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 49e26c831694d15bb023a0a36cf9d3967e0ab75c555d8d07bba3317a0a18aa40 m68k-68xxx--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-68xxx/tarballs/m68k-68xxx--uclibc--stable-2020.08-1.sha256 -sha256 b133663f5589c71315224792b7e542cfa578e4c354e4a2ac8afcd5ee77fd6f45 m68k-68xxx--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-coldfire/tarballs/m68k-coldfire--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 3efa687ca5d1c5f1ec53032e05a12467ec148c2328836754841f74be217bb035 m68k-coldfire--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-coldfire/tarballs/m68k-coldfire--uclibc--stable-2020.08-1.sha256 -sha256 f9879a167e2279fe925a3dc963d349d3d84c85866ec91512b5a7ce667318d716 m68k-coldfire--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--glibc--bleeding-edge-2020.08-1.sha256 -sha256 d9fb4403d14f53d5f4be18f38e9604244042ea33ad980ebf0b0057b70d603d16 microblazebe--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--glibc--stable-2020.08-1.sha256 -sha256 ea466445240a25ba98cd7b34f748afca151fc2479b187566f2faa98f586bfd93 microblazebe--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--musl--bleeding-edge-2020.08-1.sha256 -sha256 0157d051ac5e8b46b4eed7333c9323d1c1602ad5e958e2c12fe9b8dc3b6781c7 microblazebe--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--musl--stable-2020.08-1.sha256 -sha256 ec51b07f63cf6d0af1eaed10641d8690a350d879e4b74addca2b3f7992186ee2 microblazebe--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 3aaaab352ca31b2263e29c363609a363a38931f9733c8ad3a386c5cbb791f8e1 microblazebe--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--uclibc--stable-2020.08-1.sha256 -sha256 d2b31177c9c009cd70a9ad4af6e903dfdb5254e3f49fe9389e0e11af7a98e6b6 microblazebe--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--glibc--bleeding-edge-2020.08-1.sha256 -sha256 83a451601b24b6a9c609630119e100ef9f18408bdfe1241cc53a904d540e6936 microblazeel--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--glibc--stable-2020.08-1.sha256 -sha256 c168737ec92889e632673f826b13cf74cfe4ba3ad06cc9e328ee20268ec439e9 microblazeel--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--musl--bleeding-edge-2020.08-1.sha256 -sha256 47660f8a4d84c7b8cd7610b8ba9df5bbfba043b35ebc07d96468c950b282f44d microblazeel--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--musl--stable-2020.08-1.sha256 -sha256 6a51e38fe3f72765ad1172488321b60c59867253edce7b6680500c4193a542f7 microblazeel--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 6005fa2b229be380a2e4b8227daa0b4be4739b7cda628679de6d0e048755c769 microblazeel--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--uclibc--stable-2020.08-1.sha256 -sha256 845a4795cab5f88d96679945f7147c5dfe0dd19751b88734ef786bfd5ee5db67 microblazeel--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--glibc--bleeding-edge-2020.08-1.sha256 -sha256 63baffcf0a94d7f1b7421ad61ddb56ce5c05595acd09f482dffe13ddf17efd81 mips32--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--glibc--stable-2020.08-1.sha256 -sha256 90e300a2d224ea79b69cae68e93b0aab70858381b0d11bac846458c625d72653 mips32--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--musl--bleeding-edge-2020.08-1.sha256 -sha256 4ebc20461eafca9c9b50e36f81e13095229aac0cd1dd98a985060f2e95665983 mips32--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--musl--stable-2020.08-1.sha256 -sha256 1a544242e9aaaee75c240439a31d2f4304b97705ed2d9e9e38ca552c5f03dced mips32--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 4e0e1bf24e74746775992efd8b8bafbf5b6dd56bfdd1421b2207e1ea23ba2eb3 mips32--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--uclibc--stable-2020.08-1.sha256 -sha256 4c1da37d131f4e66b07536707c6d1be3de29719f228346d4c860c4b3cb4fef31 mips32--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--glibc--bleeding-edge-2020.08-1.sha256 -sha256 617c845261bb0a00571c68f250c5a369e60a09164dd3316ab8126c327d911c4b mips32el--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--glibc--stable-2020.08-1.sha256 -sha256 87875c25075b3850526a54c5e828ce489355d0d50107c262539ee5f577f38d6d mips32el--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--musl--bleeding-edge-2020.08-1.sha256 -sha256 4c81898f2e484c1e1e7d7ac1ae80e0aca5619ef01190df37e41ca459a147e682 mips32el--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--musl--stable-2020.08-1.sha256 -sha256 02155c88e0bf92f63105803767ce457790bfd920297ef326c9920853b5a3fe20 mips32el--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 024b0e27fd0c9792bad1944e052768e03173b133079d7c95bf30435d05620152 mips32el--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--uclibc--stable-2020.08-1.sha256 -sha256 8398010ea3dbd43ee99b6be0e3340db44b32228bf063a9c13bf43a359e3d1f6e mips32el--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--glibc--bleeding-edge-2020.08-1.sha256 -sha256 f000e8a78a24671a6f87909156e0c2a7403ab5864001c1388faf60190f8594c8 mips32r5el--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--glibc--stable-2020.08-1.sha256 -sha256 a52a115b852afce04732aa9460c58f30fbfdb17601f9bf32ea97a77d1a073a53 mips32r5el--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--musl--bleeding-edge-2020.08-1.sha256 -sha256 2620edf1045c61ddaf12f979a86719fa83b6598eb10f358a379e52462bb734ba mips32r5el--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--musl--stable-2020.08-1.sha256 -sha256 0e03a5f2a7d8ba739f3ef53538d73c33bfc55f45522d4515688ebcb58005e5a1 mips32r5el--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 585e252971553b52833d3970f709196707d908a84a5e1be8360e3019d6bb0da9 mips32r5el--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--uclibc--stable-2020.08-1.sha256 -sha256 7ffccb1f86e7b0f1dd0d87f455ff5f2619a58724850b0b9f106b6545d4de8b3f mips32r5el--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--glibc--bleeding-edge-2020.08-1.sha256 -sha256 d6376aeb2b243a58a98c415f2ecf131e14ccdce849a76c0f01902ca4b02fc0ba mips32r6el--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--glibc--stable-2020.08-1.sha256 -sha256 8640635116e26e51d57b6d5dc1e3213528f742f0cf97cd326af4f5d8e17a63f2 mips32r6el--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--musl--bleeding-edge-2020.08-1.sha256 -sha256 2647d34cb990bdab77efbcc6b4e3d5b1fd02c5032837b7a64bc52cef64aba4ec mips32r6el--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--musl--stable-2020.08-1.sha256 -sha256 24b1adfa2eb31f49ae5b4fce9ee9fcb30205ca6f29e423f77bd851070baaa255 mips32r6el--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 18dee7e9de84f6e7d6c9d083decdd465ab08979ebd661d82efbe5dc93f11dcb0 mips32r6el--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--uclibc--stable-2020.08-1.sha256 -sha256 28999f7474a84c3ec36b504c47cf671fc6e82d9b38580a0e2ebe495850ada097 mips32r6el--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--glibc--bleeding-edge-2020.08-1.sha256 -sha256 b5d90c06c894d841677da5f81e395113d22a79c53f934e12151128660dd08e76 mips64-n32--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--glibc--stable-2020.08-1.sha256 -sha256 7ed7a81f1a086e47ddb79d0bdc7142a6b7349feea20b05393be133cc4cf1fff5 mips64-n32--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--musl--bleeding-edge-2020.08-1.sha256 -sha256 937ce7ffda61c93489862122fe6dbfd53445afbdbfb615c06805b05497f336fb mips64-n32--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--musl--stable-2020.08-1.sha256 -sha256 2a2acf732498b0acb22f815e1ce7c3ca8124719131febe95c723b1cbab76d947 mips64-n32--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 16ac2a957757f56e0414a638bb3bd526b2d1c3055dd7e036dcdec4bf950f0d1b mips64-n32--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--uclibc--stable-2020.08-1.sha256 -sha256 10d9fb894e5e548e47e2930139117de9549ea49b971ca9fad12f56ef6d188b77 mips64-n32--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--glibc--bleeding-edge-2020.08-1.sha256 -sha256 7de65f68b14350670adbd0249562d69e75f7fc65b749284303c32f88112cb6b4 mips64el-n32--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--glibc--stable-2020.08-1.sha256 -sha256 a6eea19d94a7a953cac84670dcac3adb42dd3eb8950b1f7ca0f1ef37abc7e33f mips64el-n32--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--musl--bleeding-edge-2020.08-1.sha256 -sha256 7cff57dd6d0ee7778c5b764a388bf9e997ba2349da5274b8d8598173030618be mips64el-n32--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--musl--stable-2020.08-1.sha256 -sha256 3c42d88c84689703d5b1380f4cf5ad20872611d08ce5fac1a4375bfec80a6b27 mips64el-n32--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 5553a979238f6a25c4e965e18cfbebe36018041ba46968174063328c25e485fc mips64el-n32--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--uclibc--stable-2020.08-1.sha256 -sha256 80e8fa6cca6e0267dad5376bca79ce7457b8d345d43a0d409e4820a791965db9 mips64el-n32--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--glibc--bleeding-edge-2020.08-1.sha256 -sha256 0f09da21d6069642064f767a25e64c89caad80660ea184345652301c41a30ac9 mips64r6el-n32--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--glibc--stable-2020.08-1.sha256 -sha256 7100d3862983c5fb8237386ff4148f6e550e6b299c8b7946a349dedef60f75c9 mips64r6el-n32--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--musl--bleeding-edge-2020.08-1.sha256 -sha256 a692687149e59fdb7ad780cfc51e4a7307ed599433280369fe9e43c63453e4ec mips64r6el-n32--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--musl--stable-2020.08-1.sha256 -sha256 e7a35e063fcd748df6f347e5aa97d081f4422480fb02ce6925c4c351c9aca318 mips64r6el-n32--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 69d4287cb32413e054684db9545e6898c09cb90c86a0dce8bb9999498eb798ab mips64r6el-n32--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--uclibc--stable-2020.08-1.sha256 -sha256 4d9eb8900b99871e02ae17b823341189dce3aa592ee82864c73ca3164948aaae mips64r6el-n32--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/nios2/tarballs/nios2--glibc--bleeding-edge-2020.08-1.sha256 -sha256 b3c7c24e08759af3ea13fc39e8bddb52e4528a05d4aee3c2f75733e067d12edc nios2--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/nios2/tarballs/nios2--glibc--stable-2020.08-1.sha256 -sha256 a46d5ff90e3623d159f3b5be53493e13a2e78ebb733a1ccb68e829d6e28aa129 nios2--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--musl--bleeding-edge-2020.08-1.sha256 -sha256 382ec04511d51f99028b6c568c909e4e010bcfe1d4a4c1ff6f10c7c07c24b3b2 openrisc--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--musl--stable-2020.08-1.sha256 -sha256 697ef122917022f400003931bc6da75fe07bb5234ef8186cbe027e560f04a168 openrisc--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 e45d02c9272c909db1c92b6403ed1e0813889ef0c22b2f5166d2675f62d3f20f openrisc--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--uclibc--stable-2020.08-1.sha256 -sha256 62c60f9f99828a01f3a16060ceba74b8e2603a8ca3585649434a66f721ecdf75 openrisc--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--glibc--bleeding-edge-2020.08-2.sha256 -sha256 7b7c2f66ccd3d44cd8a829b5879277be9cfb17f34a26d5055b29a6bab40ff9df powerpc-440fp--glibc--bleeding-edge-2020.08-2.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--glibc--stable-2020.08-2.sha256 -sha256 ae7b3d06090dfcf54b1e3b4bd4fda9ae5aaaf34aba9118820e6e9d8f1b70c0c4 powerpc-440fp--glibc--stable-2020.08-2.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--musl--bleeding-edge-2020.08-2.sha256 -sha256 a6def102659538e3e5838bf4267cd33486d795db753a7109b5e413499ef5df89 powerpc-440fp--musl--bleeding-edge-2020.08-2.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--musl--stable-2020.08-2.sha256 -sha256 76de0310078633ff34654c8c54d7e80a609c58521a7f2a8041ae4a574889d38a powerpc-440fp--musl--stable-2020.08-2.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--uclibc--bleeding-edge-2020.08-2.sha256 -sha256 abbe38fc92a71d568c08452f99fe3470e5ded9a666c6829d9104fcf06b984503 powerpc-440fp--uclibc--bleeding-edge-2020.08-2.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--uclibc--stable-2020.08-2.sha256 -sha256 d4346ce563ddfbd4946b2dfbc766cafebbf4b09488dc8b398ab8bb242bac9268 powerpc-440fp--uclibc--stable-2020.08-2.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--glibc--bleeding-edge-2020.08-1.sha256 -sha256 fe4b9817f060d84118fff5b7d855eacac472975f2adfececb641d2999f94a7ea powerpc-e300c3--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--glibc--stable-2020.08-1.sha256 -sha256 77d215d650850af65c3ac1792dcf100322f3dfea78ba174118197ec0c8a49807 powerpc-e300c3--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--musl--bleeding-edge-2020.08-1.sha256 -sha256 4aa2b5c3c2c3263edfdf95284f0774aed8a47446b7a362ee44dc24d83db06896 powerpc-e300c3--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--musl--stable-2020.08-1.sha256 -sha256 129d9aab59e9edfc68739b612f2ee4abce5679830250fbcd50b89ec3d2c865c5 powerpc-e300c3--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 54e6960edd6419bb268b651ffedc24af73a72ad9dd145c1849a6e0fb6f997b15 powerpc-e300c3--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--uclibc--stable-2020.08-1.sha256 -sha256 1057b488623a80037558a1439555b1a15b25a4d7f42dc49d0169349592ad5b3e powerpc-e300c3--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--glibc--bleeding-edge-2020.08-1.sha256 -sha256 8cab4fbb645be782a6eaeb7b6afd75fda4c0dc8ca9a4095b0be9b6eeb29a9759 powerpc-e500mc--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--glibc--stable-2020.08-1.sha256 -sha256 5bb9f6b10b9d2d1a90a1a96a477b90eea32a269c1afccd89284a38a63d7f1c82 powerpc-e500mc--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--musl--bleeding-edge-2020.08-1.sha256 -sha256 36636df56a04e44ddb5bba2e0a30b1f3986618399381278cdb2be207a25825c0 powerpc-e500mc--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--musl--stable-2020.08-1.sha256 -sha256 7f924fc3cc3c9070ea1c9d270fea71715bd52beac14649d8a00416dfde1b897b powerpc-e500mc--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 262a2bddd29d6c24cbc32a873e78895499732624923195a5e7ffe16b487dc461 powerpc-e500mc--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--uclibc--stable-2020.08-1.sha256 -sha256 e817af2d5a0fba654e7766dcad89380e278af9feb35c2d0591a0f8d893defa48 powerpc-e500mc--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e5500/tarballs/powerpc64-e5500--glibc--bleeding-edge-2020.08-1.sha256 -sha256 418b79f8313ac4ff29cb6c2d639848eb74a0245666142a307374513cffd472e6 powerpc64-e5500--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e5500/tarballs/powerpc64-e5500--glibc--stable-2020.08-1.sha256 -sha256 a51ddba944394de41b2f7c001772bb68074175d65a0976749da5289a5e705f23 powerpc64-e5500--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs/powerpc64-e6500--glibc--bleeding-edge-2020.08-1.sha256 -sha256 c537c2ef618f767762295806658bb0add514453068ea72ce2bd6e6e805e64af5 powerpc64-e6500--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs/powerpc64-e6500--glibc--stable-2020.08-1.sha256 -sha256 1d8aaf1492f69496b01fc930fa928ffd3144d1465c7c954128ed31ce576306b6 powerpc64-e6500--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs/powerpc64-e6500--musl--bleeding-edge-2020.08-1.sha256 -sha256 c46c7595384929211ce2f54655ceb4eb1d32054923892cd5d10913be364fa6f2 powerpc64-e6500--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs/powerpc64-e6500--musl--stable-2020.08-1.sha256 -sha256 a295073db591ed16eec90caf5fdef62ccff5550166d36496ab24aa993bdb2a42 powerpc64-e6500--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs/powerpc64-power8--glibc--bleeding-edge-2020.08-1.sha256 -sha256 cbe65abf36fa807176a01488751a2e45800791534400b803c024e4c29357862c powerpc64-power8--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs/powerpc64-power8--glibc--stable-2020.08-1.sha256 -sha256 a670ec95dbfb53a812e9f21aec2ad880a3349125f19219b9a0d139a7d5b9e83b powerpc64-power8--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs/powerpc64-power8--musl--bleeding-edge-2020.08-1.sha256 -sha256 1f5b3da078534f9e493f29956d3a1f31ad0539d26b8f83e55c271b6671021928 powerpc64-power8--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs/powerpc64-power8--musl--stable-2020.08-1.sha256 -sha256 12043ab87cd4ae0c4339cddcb3eb017eaae406bbb332bf3edebfd7f70ecd0a31 powerpc64-power8--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--glibc--bleeding-edge-2020.08-1.sha256 -sha256 14e3ff4afbf363decb2c0ddc33b75e41aad9748a65a445cc176215853d0d6185 powerpc64le-power8--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--glibc--stable-2020.08-1.sha256 -sha256 342442f0773cdf5091443ab06ecf9c3d3c05cf8e2464b82a54707bec90d2a358 powerpc64le-power8--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--musl--bleeding-edge-2020.08-1.sha256 -sha256 fab5f4bc6d219f53f8b15e0d49aea27cdbac9e08e05946577440329c003fc216 powerpc64le-power8--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--musl--stable-2020.08-1.sha256 -sha256 47d184beca271c67bdb544fac87cb2126ea2b397d076a79dfaf9667e999fbccd powerpc64le-power8--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv32-ilp32d/tarballs/riscv32-ilp32d--glibc--bleeding-edge-2020.08-1.sha256 -sha256 18a47b0c221137f40720df08e9bbdc0bcb6e68cde3a30906681e4dec83eb7547 riscv32-ilp32d--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64/tarballs/riscv64--glibc--bleeding-edge-2020.08-1.sha256 -sha256 09818eccb414359b1df87ec347d94e7bfccc45f8a5eafe8791fddf8110fcc581 riscv64--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64/tarballs/riscv64--musl--bleeding-edge-2020.08-1.sha256 -sha256 2af03e220070eacf6eaf63ccb7442ca5af805caf96ae52fb3eb15370988f12cf riscv64--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--glibc--bleeding-edge-2020.08-1.sha256 -sha256 277e78c999c2cba42b25660bbbe0d105a80277c986e0807cfa16a6595af6ce9e sh-sh4--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--glibc--stable-2020.08-1.sha256 -sha256 256064f35b2759c71ac1bb6c9fe74a7c7c62f070746cfeb35ff0ecb40a91c2b4 sh-sh4--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--musl--bleeding-edge-2020.08-1.sha256 -sha256 34bf211ea0456ef86bbe914e0755f18681531a015e33b8c26b97ca68e29a3ed5 sh-sh4--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--musl--stable-2020.08-1.sha256 -sha256 d335189728a6bebd5d180c58c6dabd049500d57ae60fcc8fc51ba5aafafb21d3 sh-sh4--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 89e42b9e7bc3f67660656690899b2fad4015af5c9084dad6624315c39b486d76 sh-sh4--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--uclibc--stable-2020.08-1.sha256 -sha256 13a60cd5653c24491748388284080d5b8da649a63090c0d308c3a3b069b04f21 sh-sh4--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs/sh-sh4aeb--glibc--bleeding-edge-2020.08-1.sha256 -sha256 fe063dd95c71ab41145412faf5e4c2a1386efdda5d944ecc83121fb9b4e213f2 sh-sh4aeb--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs/sh-sh4aeb--glibc--stable-2020.08-1.sha256 -sha256 054e669a3165aff35539d3fb7cbde2650c79e5aa88a90a844488ba175a645a07 sh-sh4aeb--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs/sh-sh4aeb--musl--bleeding-edge-2020.08-1.sha256 -sha256 aa2c560ed4cf4dac8a8803b3fccf846472a226a1a22833c1cbe0d7fd347af3a7 sh-sh4aeb--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs/sh-sh4aeb--musl--stable-2020.08-1.sha256 -sha256 89e7fa5792ed1c35bd57c65935888beafce9a81f84c7d73508b1582539415a3b sh-sh4aeb--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sparc64/tarballs/sparc64--glibc--bleeding-edge-2020.08-1.sha256 -sha256 abba04fcfa11a1eedbf5f5ff38d69d793d394f08998f8374723358b3123cc113 sparc64--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sparc64/tarballs/sparc64--glibc--stable-2020.08-1.sha256 -sha256 57184f6edfba03ae9c098ad0bab6635475bb45a874982ad11c0b91bf6043dbc4 sparc64--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sparcv8/tarballs/sparcv8--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 210defc0781683a240bac25295ff612d6b6c875c7d938d11512f8ec9472245bc sparcv8--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/sparcv8/tarballs/sparcv8--uclibc--stable-2020.08-1.sha256 -sha256 14d508510bf0ed813f6436718486cce7fc6ebfb29b46eea5e52a474b2d5eaa00 sparcv8--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--bleeding-edge-2020.08-1.sha256 -sha256 77935109bbd1bdb84813a588b807052823033ed9094131fdd56f558023a3de08 x86-64-core-i7--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-2020.08-1.sha256 -sha256 3dd408e857f5c8e579748995477f2783fcf5ad0aac89719ea3c5c75446dfa63c x86-64-core-i7--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--musl--bleeding-edge-2020.08-1.sha256 -sha256 5d2d13d56a76db30ec28a11a3d6219fe407c3d1b9bbcd4a7255a783da4fcdfcb x86-64-core-i7--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--musl--stable-2020.08-1.sha256 -sha256 26ea3cc16c294663b64123c15a95d53f00419ef0f6bcdef489865835c6022650 x86-64-core-i7--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 d1ff16cde93c727b4b39844877f93d865d6945185e71dba4b6c07d2d725e2576 x86-64-core-i7--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--uclibc--stable-2020.08-1.sha256 -sha256 0fdcb93add6ff697b536198da76b4e93bd81efd67793d6640fd6bc1b216abc00 x86-64-core-i7--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--glibc--bleeding-edge-2020.08-1.sha256 -sha256 10e7b362008fc3057e9eb42a3fab5f0dc430e05b285dc4f2ec3367d5f36a3094 x86-core2--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--glibc--stable-2020.08-1.sha256 -sha256 18bbabb672df24bbc2646d94d23c47d16a6c0d8342d910bf441021fad4a82ce3 x86-core2--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--musl--bleeding-edge-2020.08-1.sha256 -sha256 81edcbd69f2fd479d9a25597d0515d42c9c891e1a534d947e87a2e9a3dc67924 x86-core2--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--musl--stable-2020.08-1.sha256 -sha256 9e23de3364e1aaec50945c70089273a025ff44815ce4632324d1950e7ba07e9a x86-core2--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 717b6c103e8e50202a45277eef8f9b41b978b17a0110cacddd52a01b7eba3039 x86-core2--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--uclibc--stable-2020.08-1.sha256 -sha256 e23812719fa1027fa0e2a161216cf97ff14bf3bcc19bb400281060a40e762a0d x86-core2--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--glibc--bleeding-edge-2020.08-1.sha256 -sha256 9e8c83479dc91e516ee66fe21ff8693afa380cfdb3192c5c1351430a035ab92a x86-i686--glibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--glibc--stable-2020.08-1.sha256 -sha256 77362d37279636371a42b09bab4f8f1a51a786ed7ec316221786b279389c8008 x86-i686--glibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--musl--bleeding-edge-2020.08-1.sha256 -sha256 ccb6896f02be3444d6cabff0966a0b6f866ebc6d32b483031541626c2fc748fe x86-i686--musl--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--musl--stable-2020.08-1.sha256 -sha256 bbbf8b7946e65f35366cb0371910fe3e95e6399c4e6a9cac8b0a4674bcadc36b x86-i686--musl--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 bd57d5cd7958ba7469d74abdf93db1993042f30c774ec3d1fceff57d522a489c x86-i686--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--uclibc--stable-2020.08-1.sha256 -sha256 139c31c25f9834137bbbb4aadc9d78def2819d2c1b9e89dd2300b11fb4879bb4 x86-i686--uclibc--stable-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/xtensa-lx60/tarballs/xtensa-lx60--uclibc--bleeding-edge-2020.08-1.sha256 -sha256 46801fc1ae89f380c1b6e1bf8ea723f9d7b1590eea3a2d1218a0307cd4325bc8 xtensa-lx60--uclibc--bleeding-edge-2020.08-1.tar.bz2 -# From https://toolchains.bootlin.com/downloads/releases/toolchains/xtensa-lx60/tarballs/xtensa-lx60--uclibc--stable-2020.08-1.sha256 -sha256 b4b28d855594290c853292c9cce43bba573d4187ecb47d78f25411a7f4300d49 xtensa-lx60--uclibc--stable-2020.08-1.tar.bz2 diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.mk b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.mk deleted file mode 100644 index cfe44742..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.mk +++ /dev/null @@ -1,1023 +0,0 @@ -################################################################################ -# -# toolchain-external-bootlin -# -################################################################################ - -# This file was auto-generated by support/scripts/gen-bootlin-toolchains -# Do not edit -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64be--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64be--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64be--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64be--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-750d--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-750d/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-750d--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-750d/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-hs38--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-hs38--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-hs38--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-hs38--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7m--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7m/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7m--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7m/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = m68k-68xxx--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-68xxx/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = m68k-68xxx--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-68xxx/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = m68k-coldfire--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-coldfire/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = m68k-coldfire--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-coldfire/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = nios2--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/nios2/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = nios2--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/nios2/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = openrisc--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = openrisc--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = openrisc--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = openrisc--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e5500--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e5500/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e5500--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e5500/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e6500--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e6500--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e6500--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e6500--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-power8--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-power8--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-power8--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-power8--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64le-power8--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64le-power8--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64le-power8--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64le-power8--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv32-ilp32d--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv32-ilp32d/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv64--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv64--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4aeb--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4aeb--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4aeb--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4aeb--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sparc64--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sparc64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sparc64--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sparc64/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sparcv8--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sparcv8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sparcv8--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sparcv8/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_BLEEDING_EDGE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = xtensa-lx60--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/xtensa-lx60/tarballs -endif - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE),y) -TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2020.08-1 -TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = xtensa-lx60--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 -TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/xtensa-lx60/tarballs -endif - -$(eval $(toolchain-external-package)) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-custom/Config.in.options deleted file mode 100644 index ba9aeb29..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-custom/Config.in.options +++ /dev/null @@ -1,502 +0,0 @@ -if BR2_TOOLCHAIN_EXTERNAL_CUSTOM - -config BR2_TOOLCHAIN_EXTERNAL_PREFIX - default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX - -config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL - default "toolchain-external-custom" - -config BR2_TOOLCHAIN_EXTERNAL_URL - string "Toolchain URL" - depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD - help - URL of the custom toolchain tarball to download and install. - -config BR2_TOOLCHAIN_EXTERNAL_REL_BIN_PATH - string "Toolchain relative binary path" - default "bin" - depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD - help - Path to where the binaries (e.g. the compiler) can be found, - relative to the downloaded toolchain root directory. The - default is "bin" and is correct for most toolchains. - -config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX - string "Toolchain prefix" - default "$(ARCH)-linux" - -choice - bool "External toolchain gcc version" - help - Set to the gcc version that is used by your external - toolchain. - -config BR2_TOOLCHAIN_EXTERNAL_GCC_10 - bool "10.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_10 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_9 - bool "9.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_9 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_8 - bool "8.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_8 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_7 - bool "7.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_7 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_6 - bool "6.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_6 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_5 - bool "5.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_5 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9 - bool "4.9.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8 - bool "4.8.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7 - bool "4.7.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6 - bool "4.6.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5 - bool "4.5.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4 - bool "4.4.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3 - bool "4.3.x" - select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 - -config BR2_TOOLCHAIN_EXTERNAL_GCC_OLD - bool "older" - help - Use this option if your GCC version is older than any of the - above. - - Note that the Buildroot community doesn't do any testing with - such old toolchains. Some packages may fail to build in - surprising ways, or the generated root filesystem may not - work at all. Use such old toolchains at your own risk. - -endchoice - -comment "GCC older than 4.8 is not tested by Buildroot. Use at your own risk." - depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 - -choice - bool "External toolchain kernel headers series" - default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD - help - Set to the kernel headers version that were used to build - this external toolchain. - - This is used to hide/show some packages that have strict - requirements on the version of kernel headers. - - If unsure what version your toolchain is using, you can look - at the value of LINUX_VERSION_CODE in linux/version.h in your - toolchain. The Linux version is M.m.p, with: - M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF - m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF - p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF - - If your toolchain uses headers newer than the latest version - in the choice, then select the latest version. - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_12 - bool "5.12.x or later" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_11 - bool "5.11" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_10 - bool "5.10.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_9 - bool "5.9.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_8 - bool "5.8.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_7 - bool "5.7.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_6 - bool "5.6.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_5 - bool "5.5.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_4 - bool "5.4.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_3 - bool "5.3.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_2 - bool "5.2.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1 - bool "5.1.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0 - bool "5.0.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_20 - bool "4.20.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19 - bool "4.19.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_18 - bool "4.18.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_17 - bool "4.17.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_16 - bool "4.16.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15 - bool "4.15.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14 - bool "4.14.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_13 - bool "4.13.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12 - bool "4.12.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_11 - bool "4.11.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10 - bool "4.10.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9 - bool "4.9.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8 - bool "4.8.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7 - bool "4.7.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6 - bool "4.6.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5 - bool "4.5.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4 - bool "4.4.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3 - bool "4.3.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2 - bool "4.2.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1 - bool "4.1.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0 - bool "4.0.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19 - bool "3.19.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18 - bool "3.18.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17 - bool "3.17.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16 - bool "3.16.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15 - bool "3.15.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14 - bool "3.14.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13 - bool "3.13.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12 - bool "3.12.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11 - bool "3.11.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10 - bool "3.10.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9 - bool "3.9.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8 - bool "3.8.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7 - bool "3.7.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6 - bool "3.6.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5 - bool "3.5.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4 - bool "3.4.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3 - bool "3.3.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2 - bool "3.2.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1 - bool "3.1.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0 - bool "3.0.x" - select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 - -config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD - bool "2.6.x" - -endchoice - -comment "Kernel headers older than 3.13 is not tested by Buildroot. Use at your own risk." - depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 - -choice - prompt "External toolchain C library" - default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC - -config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC - bool "uClibc/uClibc-ng" - select BR2_TOOLCHAIN_EXTERNAL_UCLIBC - help - Select this option if your external toolchain uses the - uClibc (available from http://www.uclibc.org/) - or uClibc-ng (available from http://www.uclibc-ng.org) - C library. - -config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC - bool "glibc/eglibc" - depends on !BR2_STATIC_LIBS - select BR2_TOOLCHAIN_EXTERNAL_GLIBC - help - Select this option if your external toolchain uses the GNU C - library (available from https://www.gnu.org/software/libc/) - or its variant the eglibc library (http://www.eglibc.org/). - - Note: eglibc is a variant of glibc that (among other things) - can be configured to exclude some of its features. Using a - toolchain with eglibc configured to exclude key features may - cause build failures to some packages. - -comment "(e)glibc only available with shared lib support" - depends on BR2_STATIC_LIBS - -config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL - bool "musl (experimental)" - select BR2_TOOLCHAIN_EXTERNAL_MUSL - help - Select this option if your external toolchain uses the - 'musl' C library, available from http://www.musl-libc.org/. - -endchoice - -if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC - -config BR2_TOOLCHAIN_EXTERNAL_WCHAR - bool "Toolchain has WCHAR support?" - select BR2_USE_WCHAR - help - Select this option if your external toolchain supports - WCHAR. If you don't know, leave the default value, Buildroot - will tell you if it's correct or not. - -config BR2_TOOLCHAIN_EXTERNAL_LOCALE - bool "Toolchain has locale support?" - select BR2_TOOLCHAIN_EXTERNAL_WCHAR - select BR2_ENABLE_LOCALE - help - Select this option if your external toolchain has locale - support. If you don't know, leave the default value, - Buildroot will tell you if it's correct or not. - -config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS - bool "Toolchain has threads support?" - default y - select BR2_TOOLCHAIN_HAS_THREADS - help - Select this option if your external toolchain has thread - support. If you don't know, leave the default value, - Buildroot will tell you if it's correct or not. - -if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS - -config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG - bool "Toolchain has threads debugging support?" - default y - select BR2_TOOLCHAIN_HAS_THREADS_DEBUG - help - Select this option if your external toolchain has thread - debugging support. If you don't know, leave the default - value, Buildroot will tell you if it's correct or not. - -config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL - bool "Toolchain has NPTL threads support?" - default y - select BR2_TOOLCHAIN_HAS_THREADS_NPTL - help - Select this option if your external toolchain uses the NPTL - (Native Posix Thread Library) implementation of Posix - threads. If you don't know, leave the default value, - Buildroot will tell you if it's correct or not. - -endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS - -endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC - -config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP - bool "Toolchain has SSP support?" - default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC - default y if BR2_TOOLCHAIN_EXTERNAL_MUSL - select BR2_TOOLCHAIN_HAS_SSP - help - Select this option if your external toolchain has Stack - Smashing Protection support enabled. If you don't know, - leave the default value, Buildroot will tell you if it's - correct or not. - -config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP_STRONG - bool "Toolchain has SSP strong support?" - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_EXTERNAL_GLIBC - default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_EXTERNAL_MUSL - depends on BR2_TOOLCHAIN_EXTERNAL_HAS_SSP - select BR2_TOOLCHAIN_HAS_SSP_STRONG - help - Select this option if your external toolchain has strong - Stack Smashing Protection support enabled. If you don't - know, leave the default value, Buildroot will tell you if - it's correct or not. - -config BR2_TOOLCHAIN_EXTERNAL_INET_RPC - bool "Toolchain has RPC support?" - default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC - depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL - select BR2_TOOLCHAIN_HAS_NATIVE_RPC - help - Select this option if your external toolchain supports - RPC. If you don't know, leave the default value, Buildroot - will tell you if it's correct or not. - -config BR2_TOOLCHAIN_EXTERNAL_CXX - bool "Toolchain has C++ support?" - select BR2_INSTALL_LIBSTDCPP - help - Select this option if your external toolchain has C++ - support. If you don't know, leave the default value, - Buildroot will tell you if it's correct or not. - -config BR2_TOOLCHAIN_EXTERNAL_DLANG - bool "Toolchain has D support?" - select BR2_TOOLCHAIN_HAS_DLANG - help - Select this option if your external toolchain has D - support. - -config BR2_TOOLCHAIN_EXTERNAL_FORTRAN - bool "Toolchain has Fortran support?" - select BR2_TOOLCHAIN_HAS_FORTRAN - help - Select this option if your external toolchain has Fortran - support. If you don't know, leave the default value, - Buildroot will tell you if it's correct or not. - -config BR2_TOOLCHAIN_EXTERNAL_OPENMP - bool "Toolchain has OpenMP support?" - select BR2_TOOLCHAIN_HAS_OPENMP - help - Select this option if your external toolchain has OpenMP - support. If you don't know, leave the default value, - Buildroot will tell you if it's correct or not. - -endif diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk b/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk deleted file mode 100644 index c4ae6125..00000000 --- a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk +++ /dev/null @@ -1,15 +0,0 @@ -################################################################################ -# -# toolchain-external-custom -# -################################################################################ - -TOOLCHAIN_EXTERNAL_CUSTOM_SITE = $(patsubst %/,%,$(dir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL)))) -TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL))) - -ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) -# We can't check hashes for custom downloaded toolchains -BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) -endif - -$(eval $(toolchain-external-package)) diff --git a/buildroot-2021.05/toolchain/toolchain-wrapper.mk b/buildroot-2021.05/toolchain/toolchain-wrapper.mk deleted file mode 100644 index 8b551e3a..00000000 --- a/buildroot-2021.05/toolchain/toolchain-wrapper.mk +++ /dev/null @@ -1,92 +0,0 @@ -################################################################################ -# -# definition of the toolchain wrapper build commands -# -################################################################################ - -# We use --hash-style=both to increase the compatibility of the generated -# binary with older platforms, except for MIPS, where the only acceptable -# hash style is 'sysv' -ifeq ($(findstring mips,$(HOSTARCH)),mips) -TOOLCHAIN_WRAPPER_HASH_STYLE = sysv -else -TOOLCHAIN_WRAPPER_HASH_STYLE = both -endif - -TOOLCHAIN_WRAPPER_ARGS = $($(PKG)_TOOLCHAIN_WRAPPER_ARGS) -TOOLCHAIN_WRAPPER_ARGS += -DBR_SYSROOT='"$(STAGING_SUBDIR)"' - -TOOLCHAIN_WRAPPER_OPTS = \ - $(ARCH_TOOLCHAIN_WRAPPER_OPTS) \ - $(call qstrip,$(BR2_SSP_OPTION)) \ - $(call qstrip,$(BR2_TARGET_OPTIMIZATION)) - -ifeq ($(BR2_REPRODUCIBLE),y) -TOOLCHAIN_WRAPPER_OPTS += -Wl,--build-id=none -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y) -TOOLCHAIN_WRAPPER_OPTS += -ffile-prefix-map=$(BASE_DIR)=buildroot -else -TOOLCHAIN_WRAPPER_OPTS += -D__FILE__=\"\" -D__BASE_FILE__=\"\" -Wno-builtin-macro-redefined -endif -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_7),) -TOOLCHAIN_WRAPPER_OPTS += -DBR_NEED_SOURCE_DATE_EPOCH -endif -endif - -# Disable -ftree-loop-distribute-patterns on microblaze to -# workaround a compiler bug with gcc 10 and -O2, -Os or -O3. -# https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5879ab5fafedc8f6f9bfe95a4cf8501b0df90edd -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97208 -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_10)$(BR2_microblaze),yy) -TOOLCHAIN_WRAPPER_OPTS += -fno-tree-loop-distribute-patterns -endif - -# We create a list like '"-mfoo", "-mbar", "-mbarfoo"' so that each flag is a -# separate argument when used in execv() by the toolchain wrapper. -TOOLCHAIN_WRAPPER_ARGS += \ - -DBR_ADDITIONAL_CFLAGS='$(foreach f,$(TOOLCHAIN_WRAPPER_OPTS),"$(f)"$(comma))' - -ifeq ($(BR2_CCACHE),y) -TOOLCHAIN_WRAPPER_ARGS += -DBR_CCACHE -endif - -ifeq ($(BR2_x86_x1000),y) -TOOLCHAIN_WRAPPER_ARGS += -DBR_OMIT_LOCK_PREFIX -endif - -# Avoid FPU bug on XBurst CPUs -ifeq ($(BR2_mips_xburst),y) -# Before gcc 4.6, -mno-fused-madd was needed, after -ffp-contract is -# needed -ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_6),y) -TOOLCHAIN_WRAPPER_ARGS += -DBR_FP_CONTRACT_OFF -else -TOOLCHAIN_WRAPPER_ARGS += -DBR_NO_FUSED_MADD -endif -endif - -ifeq ($(BR2_CCACHE_USE_BASEDIR),y) -TOOLCHAIN_WRAPPER_ARGS += -DBR_CCACHE_BASEDIR='"$(BASE_DIR)"' -endif - -ifeq ($(BR2_PIC_PIE),y) -TOOLCHAIN_WRAPPER_ARGS += -DBR2_PIC_PIE -endif - -ifeq ($(BR2_RELRO_PARTIAL),y) -TOOLCHAIN_WRAPPER_ARGS += -DBR2_RELRO_PARTIAL -else ifeq ($(BR2_RELRO_FULL),y) -TOOLCHAIN_WRAPPER_ARGS += -DBR2_RELRO_FULL -endif - -define TOOLCHAIN_WRAPPER_BUILD - $(HOSTCC) $(HOST_CFLAGS) $(TOOLCHAIN_WRAPPER_ARGS) \ - -s -Wl,--hash-style=$(TOOLCHAIN_WRAPPER_HASH_STYLE) \ - toolchain/toolchain-wrapper.c \ - -o $(@D)/toolchain-wrapper -endef - -define TOOLCHAIN_WRAPPER_INSTALL - $(INSTALL) -D -m 0755 $(@D)/toolchain-wrapper \ - $(HOST_DIR)/bin/toolchain-wrapper -endef diff --git a/buildroot-2021.05/toolchain/toolchain/toolchain.mk b/buildroot-2021.05/toolchain/toolchain/toolchain.mk deleted file mode 100644 index 0afb12c0..00000000 --- a/buildroot-2021.05/toolchain/toolchain/toolchain.mk +++ /dev/null @@ -1,50 +0,0 @@ -################################################################################ -# -# toolchain -# -################################################################################ - -ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) -TOOLCHAIN_DEPENDENCIES += toolchain-buildroot -else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) -TOOLCHAIN_DEPENDENCIES += toolchain-external -endif - -TOOLCHAIN_ADD_TOOLCHAIN_DEPENDENCY = NO -TOOLCHAIN_INSTALL_STAGING = YES - -# Apply a hack that Rick Felker suggested[1] to avoid conflicts between libc -# headers and kernel headers. This is needed for kernel headers older than -# 4.15. Kernel headers 4.15 and newer don't require __GLIBC__ to be defined. -# -# Augment the original suggestion with __USE_MISC since recent kernels -# (older than 4.15) require this glibc internal macro. Also, as musl defines -# IFF_LOWER_UP, IFF_DORMANT and IFF_ECHO, add another macro to suppress -# them in the kernel header, and avoid macro/enum conflict. -# -# Kernel version 3.12 introduced the libc-compat.h header. -# -# [1] http://www.openwall.com/lists/musl/2015/10/08/2 -ifeq ($(BR2_TOOLCHAIN_USES_MUSL)$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12):$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15),yy:) -define TOOLCHAIN_MUSL_KERNEL_HEADERS_COMPATIBILITY_HACK - $(SED) 's/^#if defined(__GLIBC__)$$/#if 1/' \ - $(STAGING_DIR)/usr/include/linux/libc-compat.h - $(SED) '1s/^/#define __USE_MISC\n/' \ - $(STAGING_DIR)/usr/include/linux/libc-compat.h - $(SED) '1s/^/#define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 0\n/' \ - $(STAGING_DIR)/usr/include/linux/libc-compat.h -endef -TOOLCHAIN_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_MUSL_KERNEL_HEADERS_COMPATIBILITY_HACK -endif - -# Install default nsswitch.conf file if the skeleton doesn't provide it -ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) -define GLIBC_COPY_NSSWITCH_FILE - @if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \ - $(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \ - fi -endef -TOOLCHAIN_POST_INSTALL_TARGET_HOOKS += GLIBC_COPY_NSSWITCH_FILE -endif - -$(eval $(virtual-package)) diff --git a/buildroot-2021.05/utils/check-package b/buildroot-2021.05/utils/check-package deleted file mode 100755 index dd18d19c..00000000 --- a/buildroot-2021.05/utils/check-package +++ /dev/null @@ -1,194 +0,0 @@ -#!/usr/bin/env python -# See utils/checkpackagelib/readme.txt before editing this file. - -from __future__ import print_function -import argparse -import inspect -import os -import re -import six -import sys - -import checkpackagelib.lib_config -import checkpackagelib.lib_hash -import checkpackagelib.lib_mk -import checkpackagelib.lib_patch - -VERBOSE_LEVEL_TO_SHOW_IGNORED_FILES = 3 -flags = None # Command line arguments. - - -def parse_args(): - parser = argparse.ArgumentParser() - - # Do not use argparse.FileType("r") here because only files with known - # format will be open based on the filename. - parser.add_argument("files", metavar="F", type=str, nargs="*", - help="list of files") - - parser.add_argument("--br2-external", "-b", dest='intree_only', action="store_false", - help="do not apply the pathname filters used for intree files") - - parser.add_argument("--manual-url", action="store", - default="http://nightly.buildroot.org/", - help="default: %(default)s") - parser.add_argument("--verbose", "-v", action="count", default=0) - parser.add_argument("--quiet", "-q", action="count", default=0) - - # Now the debug options in the order they are processed. - parser.add_argument("--include-only", dest="include_list", action="append", - help="run only the specified functions (debug)") - parser.add_argument("--exclude", dest="exclude_list", action="append", - help="do not run the specified functions (debug)") - parser.add_argument("--dry-run", action="store_true", help="print the " - "functions that would be called for each file (debug)") - - return parser.parse_args() - - -CONFIG_IN_FILENAME = re.compile(r"Config\.\S*$") -DO_CHECK_INTREE = re.compile(r"|".join([ - r"Config.in", - r"arch/", - r"boot/", - r"fs/", - r"linux/", - r"package/", - r"system/", - r"toolchain/", - ])) -DO_NOT_CHECK_INTREE = re.compile(r"|".join([ - r"boot/barebox/barebox\.mk$", - r"fs/common\.mk$", - r"package/doc-asciidoc\.mk$", - r"package/pkg-\S*\.mk$", - r"toolchain/helpers\.mk$", - r"toolchain/toolchain-external/pkg-toolchain-external\.mk$", - ])) - - -def get_lib_from_filename(fname): - if flags.intree_only: - if DO_CHECK_INTREE.match(fname) is None: - return None - if DO_NOT_CHECK_INTREE.match(fname): - return None - else: - if os.path.basename(fname) == "external.mk" and \ - os.path.exists(fname[:-2] + "desc"): - return None - if CONFIG_IN_FILENAME.search(fname): - return checkpackagelib.lib_config - if fname.endswith(".hash"): - return checkpackagelib.lib_hash - if fname.endswith(".mk"): - return checkpackagelib.lib_mk - if fname.endswith(".patch"): - return checkpackagelib.lib_patch - return None - - -def is_a_check_function(m): - if not inspect.isclass(m): - return False - # do not call the base class - if m.__name__.startswith("_"): - return False - if flags.include_list and m.__name__ not in flags.include_list: - return False - if flags.exclude_list and m.__name__ in flags.exclude_list: - return False - return True - - -def print_warnings(warnings): - # Avoid the need to use 'return []' at the end of every check function. - if warnings is None: - return 0 # No warning generated. - - for level, message in enumerate(warnings): - if flags.verbose >= level: - print(message.replace("\t", "< tab >").rstrip()) - return 1 # One more warning to count. - - -def check_file_using_lib(fname): - # Count number of warnings generated and lines processed. - nwarnings = 0 - nlines = 0 - - lib = get_lib_from_filename(fname) - if not lib: - if flags.verbose >= VERBOSE_LEVEL_TO_SHOW_IGNORED_FILES: - print("{}: ignored".format(fname)) - return nwarnings, nlines - classes = inspect.getmembers(lib, is_a_check_function) - - if flags.dry_run: - functions_to_run = [c[0] for c in classes] - print("{}: would run: {}".format(fname, functions_to_run)) - return nwarnings, nlines - - objects = [c[1](fname, flags.manual_url) for c in classes] - - for cf in objects: - nwarnings += print_warnings(cf.before()) - if six.PY3: - f = open(fname, "r", errors="surrogateescape") - else: - f = open(fname, "r") - lastline = "" - for lineno, text in enumerate(f.readlines()): - nlines += 1 - for cf in objects: - if cf.disable.search(lastline): - continue - nwarnings += print_warnings(cf.check_line(lineno + 1, text)) - lastline = text - f.close() - for cf in objects: - nwarnings += print_warnings(cf.after()) - - return nwarnings, nlines - - -def __main__(): - global flags - flags = parse_args() - - if flags.intree_only: - # change all paths received to be relative to the base dir - base_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) - files_to_check = [os.path.relpath(os.path.abspath(f), base_dir) for f in flags.files] - # move current dir so the script find the files - os.chdir(base_dir) - else: - files_to_check = flags.files - - if len(files_to_check) == 0: - print("No files to check style") - sys.exit(1) - - # Accumulate number of warnings generated and lines processed. - total_warnings = 0 - total_lines = 0 - - for fname in files_to_check: - nwarnings, nlines = check_file_using_lib(fname) - total_warnings += nwarnings - total_lines += nlines - - # The warning messages are printed to stdout and can be post-processed - # (e.g. counted by 'wc'), so for stats use stderr. Wait all warnings are - # printed, for the case there are many of them, before printing stats. - sys.stdout.flush() - - if not flags.quiet: - print("{} lines processed".format(total_lines), file=sys.stderr) - print("{} warnings generated".format(total_warnings), file=sys.stderr) - - if total_warnings > 0: - sys.exit(1) - - -__main__() diff --git a/buildroot-2021.05/utils/checkpackagelib/base.py b/buildroot-2021.05/utils/checkpackagelib/base.py deleted file mode 100644 index 9544a64e..00000000 --- a/buildroot-2021.05/utils/checkpackagelib/base.py +++ /dev/null @@ -1,18 +0,0 @@ -# See utils/checkpackagelib/readme.txt before editing this file. -import re - - -class _CheckFunction(object): - def __init__(self, filename, url_to_manual): - self.filename = filename - self.url_to_manual = url_to_manual - self.disable = re.compile(r"^\s*# check-package .*\b{}\b".format(self.__class__.__name__)) - - def before(self): - pass - - def check_line(self, lineno, text): - pass - - def after(self): - pass diff --git a/buildroot-2021.05/utils/checkpackagelib/lib_config.py b/buildroot-2021.05/utils/checkpackagelib/lib_config.py deleted file mode 100644 index c348eec3..00000000 --- a/buildroot-2021.05/utils/checkpackagelib/lib_config.py +++ /dev/null @@ -1,234 +0,0 @@ -# See utils/checkpackagelib/readme.txt before editing this file. -# Kconfig generates errors if someone introduces a typo like "boool" instead of -# "bool", so below check functions don't need to check for things already -# checked by running "make menuconfig". - -import re - -from checkpackagelib.base import _CheckFunction -from checkpackagelib.lib import ConsecutiveEmptyLines # noqa: F401 -from checkpackagelib.lib import EmptyLastLine # noqa: F401 -from checkpackagelib.lib import NewlineAtEof # noqa: F401 -from checkpackagelib.lib import TrailingSpace # noqa: F401 - - -def _empty_or_comment(text): - line = text.strip() - # ignore empty lines and comment lines indented or not - return line == "" or line.startswith("#") - - -def _part_of_help_text(text): - return text.startswith("\t ") - - -# used in more than one check -entries_that_should_not_be_indented = [ - "choice", "comment", "config", "endchoice", "endif", "endmenu", "if", - "menu", "menuconfig", "source"] - - -class AttributesOrder(_CheckFunction): - attributes_order_convention = { - "bool": 1, "prompt": 1, "string": 1, "default": 2, "depends": 3, - "select": 4, "help": 5} - - def before(self): - self.state = 0 - - def check_line(self, lineno, text): - if _empty_or_comment(text) or _part_of_help_text(text): - return - - attribute = text.split()[0] - - if attribute in entries_that_should_not_be_indented: - self.state = 0 - return - if attribute not in self.attributes_order_convention.keys(): - return - new_state = self.attributes_order_convention[attribute] - wrong_order = self.state > new_state - - # save to process next line - self.state = new_state - - if wrong_order: - return ["{}:{}: attributes order: type, default, depends on," - " select, help ({}#_config_files)" - .format(self.filename, lineno, self.url_to_manual), - text] - - -class CommentsMenusPackagesOrder(_CheckFunction): - def before(self): - self.level = 0 - self.menu_of_packages = ["The top level menu"] - self.new_package = "" - self.package = [""] - self.print_package_warning = [True] - self.state = "" - - def get_level(self): - return len(self.state.split('-')) - 1 - - def initialize_package_level_elements(self, text): - try: - self.menu_of_packages[self.level] = text[:-1] - self.package[self.level] = "" - self.print_package_warning[self.level] = True - except IndexError: - self.menu_of_packages.append(text[:-1]) - self.package.append("") - self.print_package_warning.append(True) - - def initialize_level_elements(self, text): - self.level = self.get_level() - self.initialize_package_level_elements(text) - - def check_line(self, lineno, text): - # We only want to force sorting for the top-level menus - if self.filename not in ["fs/Config.in", - "package/Config.in", - "package/Config.in.host", - "package/kodi/Config.in"]: - return - - source_line = re.match(r'^\s*source ".*/([^/]*)/Config.in(.host)?"', text) - - if text.startswith("comment "): - if not self.state.endswith("-comment"): - self.state += "-comment" - - self.initialize_level_elements(text) - - elif text.startswith("if "): - self.state += "-if" - - self.initialize_level_elements(text) - - elif text.startswith("menu "): - if self.state.endswith("-comment"): - self.state = self.state[:-8] - - self.state += "-menu" - - self.initialize_level_elements(text) - - elif text.startswith("endif") or text.startswith("endmenu"): - if self.state.endswith("-comment"): - self.state = self.state[:-8] - - if text.startswith("endif"): - self.state = self.state[:-3] - - elif text.startswith("endmenu"): - self.state = self.state[:-5] - - self.level = self.get_level() - - elif source_line: - self.new_package = source_line.group(1) - - # We order _ before A, so replace it with . - new_package_ord = self.new_package.replace('_', '.') - - if self.package[self.level] != "" and \ - self.print_package_warning[self.level] and \ - new_package_ord < self.package[self.level]: - self.print_package_warning[self.level] = False - prefix = "{}:{}: ".format(self.filename, lineno) - spaces = " " * len(prefix) - return ["{prefix}Packages in: {menu},\n" - "{spaces}are not alphabetically ordered;\n" - "{spaces}correct order: '-', '_', digits, capitals, lowercase;\n" - "{spaces}first incorrect package: {package}" - .format(prefix=prefix, spaces=spaces, - menu=self.menu_of_packages[self.level], - package=self.new_package), - text] - - self.package[self.level] = new_package_ord - - -class HelpText(_CheckFunction): - HELP_TEXT_FORMAT = re.compile(r"^\t .{,62}$") - URL_ONLY = re.compile(r"^(http|https|git)://\S*$") - - def before(self): - self.help_text = False - - def check_line(self, lineno, text): - if _empty_or_comment(text): - return - - entry = text.split()[0] - - if entry in entries_that_should_not_be_indented: - self.help_text = False - return - if text.strip() == "help": - self.help_text = True - return - - if not self.help_text: - return - - if self.HELP_TEXT_FORMAT.match(text.rstrip()): - return - if self.URL_ONLY.match(text.strip()): - return - return ["{}:{}: help text: <2 spaces><62 chars>" - " ({}#writing-rules-config-in)" - .format(self.filename, lineno, self.url_to_manual), - text, - "\t " + "123456789 " * 6 + "12"] - - -class Indent(_CheckFunction): - ENDS_WITH_BACKSLASH = re.compile(r"^[^#].*\\$") - entries_that_should_be_indented = [ - "bool", "default", "depends", "help", "prompt", "select", "string"] - - def before(self): - self.backslash = False - - def check_line(self, lineno, text): - if _empty_or_comment(text) or _part_of_help_text(text): - self.backslash = False - return - - entry = text.split()[0] - - last_line_ends_in_backslash = self.backslash - - # calculate for next line - if self.ENDS_WITH_BACKSLASH.search(text): - self.backslash = True - else: - self.backslash = False - - if last_line_ends_in_backslash: - if text.startswith("\t"): - return - return ["{}:{}: continuation line should be indented using tabs" - .format(self.filename, lineno), - text] - - if entry in self.entries_that_should_be_indented: - if not text.startswith("\t{}".format(entry)): - return ["{}:{}: should be indented with one tab" - " ({}#_config_files)" - .format(self.filename, lineno, self.url_to_manual), - text] - elif entry in entries_that_should_not_be_indented: - if not text.startswith(entry): - # four Config.in files have a special but legitimate indentation rule - if self.filename in ["package/Config.in", - "package/Config.in.host", - "package/kodi/Config.in", - "package/x11r7/Config.in"]: - return - return ["{}:{}: should not be indented" - .format(self.filename, lineno), - text] diff --git a/buildroot-2021.05/utils/checkpackagelib/lib_hash.py b/buildroot-2021.05/utils/checkpackagelib/lib_hash.py deleted file mode 100644 index 3e381119..00000000 --- a/buildroot-2021.05/utils/checkpackagelib/lib_hash.py +++ /dev/null @@ -1,55 +0,0 @@ -# See utils/checkpackagelib/readme.txt before editing this file. -# The validity of the hashes itself is checked when building, so below check -# functions don't need to check for things already checked by running -# "make package-dirclean package-source". - -import re - -from checkpackagelib.base import _CheckFunction -from checkpackagelib.lib import ConsecutiveEmptyLines # noqa: F401 -from checkpackagelib.lib import EmptyLastLine # noqa: F401 -from checkpackagelib.lib import NewlineAtEof # noqa: F401 -from checkpackagelib.lib import TrailingSpace # noqa: F401 - - -def _empty_line_or_comment(text): - return text.strip() == "" or text.startswith("#") - - -class HashNumberOfFields(_CheckFunction): - def check_line(self, lineno, text): - if _empty_line_or_comment(text): - return - - fields = text.split() - if len(fields) != 3: - return ["{}:{}: expected three fields ({}#adding-packages-hash)" - .format(self.filename, lineno, self.url_to_manual), - text] - - -class HashType(_CheckFunction): - len_of_hash = {"md5": 32, "sha1": 40, "sha224": 56, "sha256": 64, - "sha384": 96, "sha512": 128} - - def check_line(self, lineno, text): - if _empty_line_or_comment(text): - return - - fields = text.split() - if len(fields) < 2: - return - - htype, hexa = fields[:2] - if htype == "none": - return - if htype not in self.len_of_hash.keys(): - return ["{}:{}: unexpected type of hash ({}#adding-packages-hash)" - .format(self.filename, lineno, self.url_to_manual), - text] - if not re.match("^[0-9A-Fa-f]{%s}$" % self.len_of_hash[htype], hexa): - return ["{}:{}: hash size does not match type " - "({}#adding-packages-hash)" - .format(self.filename, lineno, self.url_to_manual), - text, - "expected {} hex digits".format(self.len_of_hash[htype])] diff --git a/buildroot-2021.05/utils/checkpackagelib/lib_mk.py b/buildroot-2021.05/utils/checkpackagelib/lib_mk.py deleted file mode 100644 index 02783544..00000000 --- a/buildroot-2021.05/utils/checkpackagelib/lib_mk.py +++ /dev/null @@ -1,331 +0,0 @@ -# See utils/checkpackagelib/readme.txt before editing this file. -# There are already dependency checks during the build, so below check -# functions don't need to check for things already checked by exploring the -# menu options using "make menuconfig" and by running "make" with appropriate -# packages enabled. - -import os -import re - -from checkpackagelib.base import _CheckFunction -from checkpackagelib.lib import ConsecutiveEmptyLines # noqa: F401 -from checkpackagelib.lib import EmptyLastLine # noqa: F401 -from checkpackagelib.lib import NewlineAtEof # noqa: F401 -from checkpackagelib.lib import TrailingSpace # noqa: F401 -from checkpackagelib.lib import Utf8Characters # noqa: F401 - -# used in more than one check -start_conditional = ["ifdef", "ifeq", "ifndef", "ifneq"] -continue_conditional = ["elif", "else"] -end_conditional = ["endif"] - - -class Indent(_CheckFunction): - COMMENT = re.compile(r"^\s*#") - CONDITIONAL = re.compile(r"^\s*({})\s".format("|".join(start_conditional + end_conditional + continue_conditional))) - ENDS_WITH_BACKSLASH = re.compile(r"^[^#].*\\$") - END_DEFINE = re.compile(r"^\s*endef\s") - MAKEFILE_TARGET = re.compile(r"^[^# \t]+:\s") - START_DEFINE = re.compile(r"^\s*define\s") - - def before(self): - self.define = False - self.backslash = False - self.makefile_target = False - - def check_line(self, lineno, text): - if self.START_DEFINE.search(text): - self.define = True - return - if self.END_DEFINE.search(text): - self.define = False - return - - expect_tabs = False - if self.define or self.backslash or self.makefile_target: - expect_tabs = True - if not self.backslash and self.CONDITIONAL.search(text): - expect_tabs = False - - # calculate for next line - if self.ENDS_WITH_BACKSLASH.search(text): - self.backslash = True - else: - self.backslash = False - - if self.MAKEFILE_TARGET.search(text): - self.makefile_target = True - return - if text.strip() == "": - self.makefile_target = False - return - - # comment can be indented or not inside define ... endef, so ignore it - if self.define and self.COMMENT.search(text): - return - - if expect_tabs: - if not text.startswith("\t"): - return ["{}:{}: expected indent with tabs" - .format(self.filename, lineno), - text] - else: - if text.startswith("\t"): - return ["{}:{}: unexpected indent with tabs" - .format(self.filename, lineno), - text] - - -class OverriddenVariable(_CheckFunction): - CONCATENATING = re.compile(r"^([A-Z0-9_]+)\s*(\+|:|)=\s*\$\(\\1\)") - END_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(end_conditional))) - OVERRIDING_ASSIGNMENTS = [':=', "="] - START_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(start_conditional))) - VARIABLE = re.compile(r"^([A-Z0-9_]+)\s*((\+|:|)=)") - USUALLY_OVERRIDDEN = re.compile(r"^[A-Z0-9_]+({})".format("|".join([ - r"_ARCH\s*=\s*", - r"_CPU\s*=\s*", - r"_SITE\s*=\s*", - r"_SOURCE\s*=\s*", - r"_VERSION\s*=\s*"]))) - - def before(self): - self.conditional = 0 - self.unconditionally_set = [] - self.conditionally_set = [] - - def check_line(self, lineno, text): - if self.START_CONDITIONAL.search(text): - self.conditional += 1 - return - if self.END_CONDITIONAL.search(text): - self.conditional -= 1 - return - - m = self.VARIABLE.search(text) - if m is None: - return - variable, assignment = m.group(1, 2) - - if self.conditional == 0: - if variable in self.conditionally_set: - self.unconditionally_set.append(variable) - if assignment in self.OVERRIDING_ASSIGNMENTS: - return ["{}:{}: unconditional override of variable {} previously conditionally set" - .format(self.filename, lineno, variable), - text] - - if variable not in self.unconditionally_set: - self.unconditionally_set.append(variable) - return - if assignment in self.OVERRIDING_ASSIGNMENTS: - return ["{}:{}: unconditional override of variable {}" - .format(self.filename, lineno, variable), - text] - else: - if variable not in self.unconditionally_set: - self.conditionally_set.append(variable) - return - if self.CONCATENATING.search(text): - return ["{}:{}: immediate assignment to append to variable {}" - .format(self.filename, lineno, variable), - text] - if self.USUALLY_OVERRIDDEN.search(text): - return - if assignment in self.OVERRIDING_ASSIGNMENTS: - return ["{}:{}: conditional override of variable {}" - .format(self.filename, lineno, variable), - text] - - -class PackageHeader(_CheckFunction): - def before(self): - self.skip = False - - def check_line(self, lineno, text): - if self.skip or lineno > 6: - return - - if lineno in [1, 5]: - if lineno == 1 and text.startswith("include "): - self.skip = True - return - if text.rstrip() != "#" * 80: - return ["{}:{}: should be 80 hashes ({}#writing-rules-mk)" - .format(self.filename, lineno, self.url_to_manual), - text, - "#" * 80] - elif lineno in [2, 4]: - if text.rstrip() != "#": - return ["{}:{}: should be 1 hash ({}#writing-rules-mk)" - .format(self.filename, lineno, self.url_to_manual), - text] - elif lineno == 6: - if text.rstrip() != "": - return ["{}:{}: should be a blank line ({}#writing-rules-mk)" - .format(self.filename, lineno, self.url_to_manual), - text] - - -class RemoveDefaultPackageSourceVariable(_CheckFunction): - packages_that_may_contain_default_source = ["binutils", "gcc", "gdb"] - - def before(self): - package, _ = os.path.splitext(os.path.basename(self.filename)) - package_upper = package.replace("-", "_").upper() - self.package = package - self.FIND_SOURCE = re.compile( - r"^{}_SOURCE\s*=\s*{}-\$\({}_VERSION\)\.tar\.gz" - .format(package_upper, package, package_upper)) - - def check_line(self, lineno, text): - if self.FIND_SOURCE.search(text): - - if self.package in self.packages_that_may_contain_default_source: - return - - return ["{}:{}: remove default value of _SOURCE variable " - "({}#generic-package-reference)" - .format(self.filename, lineno, self.url_to_manual), - text] - - -class SpaceBeforeBackslash(_CheckFunction): - TAB_OR_MULTIPLE_SPACES_BEFORE_BACKSLASH = re.compile(r"^.*( |\t ?)\\$") - - def check_line(self, lineno, text): - if self.TAB_OR_MULTIPLE_SPACES_BEFORE_BACKSLASH.match(text.rstrip()): - return ["{}:{}: use only one space before backslash" - .format(self.filename, lineno), - text] - - -class TrailingBackslash(_CheckFunction): - ENDS_WITH_BACKSLASH = re.compile(r"^[^#].*\\$") - - def before(self): - self.backslash = False - - def check_line(self, lineno, text): - last_line_ends_in_backslash = self.backslash - - # calculate for next line - if self.ENDS_WITH_BACKSLASH.search(text): - self.backslash = True - self.lastline = text - return - self.backslash = False - - if last_line_ends_in_backslash and text.strip() == "": - return ["{}:{}: remove trailing backslash" - .format(self.filename, lineno - 1), - self.lastline] - - -class TypoInPackageVariable(_CheckFunction): - ALLOWED = re.compile(r"|".join([ - "ACLOCAL_DIR", - "ACLOCAL_HOST_DIR", - "ACLOCAL_PATH", - "BR_CCACHE_INITIAL_SETUP", - "BR_LIBC", - "BR_NO_CHECK_HASH_FOR", - "LINUX_EXTENSIONS", - "LINUX_POST_PATCH_HOOKS", - "LINUX_TOOLS", - "LUA_RUN", - "MKFS_JFFS2", - "MKIMAGE_ARCH", - "PACKAGES_PERMISSIONS_TABLE", - "PKG_CONFIG_HOST_BINARY", - "SUMTOOL", - "TARGET_FINALIZE_HOOKS", - "TARGETS_ROOTFS", - "XTENSA_CORE_NAME"])) - VARIABLE = re.compile(r"^([A-Z0-9_]+_[A-Z0-9_]+)\s*(\+|)=") - - def before(self): - package, _ = os.path.splitext(os.path.basename(self.filename)) - package = package.replace("-", "_").upper() - # linux tools do not use LINUX_TOOL_ prefix for variables - package = package.replace("LINUX_TOOL_", "") - # linux extensions do not use LINUX_EXT_ prefix for variables - package = package.replace("LINUX_EXT_", "") - self.package = package - self.REGEX = re.compile(r"^(HOST_|ROOTFS_)?({}_[A-Z0-9_]+)".format(package)) - self.FIND_VIRTUAL = re.compile( - r"^{}_PROVIDES\s*(\+|)=\s*(.*)".format(package)) - self.virtual = [] - - def check_line(self, lineno, text): - m = self.VARIABLE.search(text) - if m is None: - return - - variable = m.group(1) - - # allow to set variables for virtual package this package provides - v = self.FIND_VIRTUAL.search(text) - if v: - self.virtual += v.group(2).upper().split() - return - for virtual in self.virtual: - if variable.startswith("{}_".format(virtual)): - return - - if self.ALLOWED.match(variable): - return - if self.REGEX.search(text) is None: - return ["{}:{}: possible typo: {} -> *{}*" - .format(self.filename, lineno, variable, self.package), - text] - - -class UselessFlag(_CheckFunction): - DEFAULT_AUTOTOOLS_FLAG = re.compile(r"^.*{}".format("|".join([ - r"_AUTORECONF\s*=\s*NO", - r"_LIBTOOL_PATCH\s*=\s*YES"]))) - DEFAULT_GENERIC_FLAG = re.compile(r"^.*{}".format("|".join([ - r"_INSTALL_IMAGES\s*=\s*NO", - r"_INSTALL_REDISTRIBUTE\s*=\s*YES", - r"_INSTALL_STAGING\s*=\s*NO", - r"_INSTALL_TARGET\s*=\s*YES"]))) - END_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(end_conditional))) - START_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(start_conditional))) - - def before(self): - self.conditional = 0 - - def check_line(self, lineno, text): - if self.START_CONDITIONAL.search(text): - self.conditional += 1 - return - if self.END_CONDITIONAL.search(text): - self.conditional -= 1 - return - - # allow non-default conditionally overridden by default - if self.conditional > 0: - return - - if self.DEFAULT_GENERIC_FLAG.search(text): - return ["{}:{}: useless default value ({}#" - "_infrastructure_for_packages_with_specific_build_systems)" - .format(self.filename, lineno, self.url_to_manual), - text] - - if self.DEFAULT_AUTOTOOLS_FLAG.search(text) and not text.lstrip().startswith("HOST_"): - return ["{}:{}: useless default value " - "({}#_infrastructure_for_autotools_based_packages)" - .format(self.filename, lineno, self.url_to_manual), - text] - - -class VariableWithBraces(_CheckFunction): - VARIABLE_WITH_BRACES = re.compile(r"^[^#].*[^$]\${\w+}") - - def check_line(self, lineno, text): - if self.VARIABLE_WITH_BRACES.match(text.rstrip()): - return ["{}:{}: use $() to delimit variables, not ${{}}" - .format(self.filename, lineno), - text] diff --git a/buildroot-2021.05/utils/checkpackagelib/lib_patch.py b/buildroot-2021.05/utils/checkpackagelib/lib_patch.py deleted file mode 100644 index e4e914b7..00000000 --- a/buildroot-2021.05/utils/checkpackagelib/lib_patch.py +++ /dev/null @@ -1,62 +0,0 @@ -# See utils/checkpackagelib/readme.txt before editing this file. -# The format of the patch files is tested during the build, so below check -# functions don't need to check for things already checked by running -# "make package-dirclean package-patch". - -import os -import re - -from checkpackagelib.base import _CheckFunction -from checkpackagelib.lib import NewlineAtEof # noqa: F401 - - -class ApplyOrder(_CheckFunction): - APPLY_ORDER = re.compile(r"\d{1,4}-[^/]*$") - - def before(self): - if not self.APPLY_ORDER.match(os.path.basename(self.filename)): - return ["{}:0: use name -.patch " - "({}#_providing_patches)" - .format(self.filename, self.url_to_manual)] - - -class NumberedSubject(_CheckFunction): - NUMBERED_PATCH = re.compile(r"Subject:\s*\[PATCH\s*\d+/\d+\]") - - def before(self): - self.git_patch = False - self.lineno = 0 - self.text = None - - def check_line(self, lineno, text): - if text.startswith("diff --git"): - self.git_patch = True - return - if self.NUMBERED_PATCH.search(text): - self.lineno = lineno - self.text = text - - def after(self): - if self.git_patch and self.text: - return ["{}:{}: generate your patches with 'git format-patch -N'" - .format(self.filename, self.lineno), - self.text] - - -class Sob(_CheckFunction): - SOB_ENTRY = re.compile(r"^Signed-off-by: .*$") - - def before(self): - self.found = False - - def check_line(self, lineno, text): - if self.found: - return - if self.SOB_ENTRY.search(text): - self.found = True - - def after(self): - if not self.found: - return ["{}:0: missing Signed-off-by in the header " - "({}#_format_and_licensing_of_the_package_patches)" - .format(self.filename, self.url_to_manual)] diff --git a/buildroot-2021.05/utils/diffconfig b/buildroot-2021.05/utils/diffconfig deleted file mode 100755 index f1af23cf..00000000 --- a/buildroot-2021.05/utils/diffconfig +++ /dev/null @@ -1,138 +0,0 @@ -#!/usr/bin/python -# -# diffconfig - a tool to compare .config files. -# -# originally written in 2006 by Matt Mackall -# (at least, this was in his bloatwatch source code) -# last worked on 2008 by Tim Bird for the Linux kernel -# Adapted to Buildroot 2017 by Marcus Folkesson -# - -import sys, os - -def usage(): - print("""Usage: diffconfig [-h] [-m] [ ] - -Diffconfig is a simple utility for comparing two .config files. -Using standard diff to compare .config files often includes extraneous and -distracting information. This utility produces sorted output with only the -changes in configuration values between the two files. - -Added and removed items are shown with a leading plus or minus, respectively. -Changed items show the old and new values on a single line. - -If -m is specified, then output will be in "merge" style, which has the -changed and new values in kernel config option format. - -If no config files are specified, .config and .config.old are used. - -Example usage: - $ diffconfig .config config-with-some-changes --BR2_LINUX_KERNEL_INTREE_DTS_NAME "vexpress-v2p-ca9" - BR2_LINUX_KERNEL_DTS_SUPPORT y -> n - BR2_LINUX_KERNEL_USE_INTREE_DTS y -> n - BR2_PACKAGE_DFU_UTIL n -> y - BR2_PACKAGE_LIBUSB n -> y - BR2_TARGET_GENERIC_HOSTNAME "buildroot" -> "Tuxie" - BR2_TARGET_GENERIC_ISSUE "Welcome to Buildroot" -> "Welcome to CustomBoard" -+BR2_PACKAGE_LIBUSB_COMPAT n - -""") - sys.exit(0) - -# returns a dictionary of name/value pairs for config items in the file -def readconfig(config_file): - d = {} - for line in config_file: - line = line.strip() - if len(line) == 0: - continue - if line[-11:] == " is not set": - d[line[2:-11]] = "n" - elif line[0] != "#": - name, val = line.split("=", 1) - d[name] = val - return d - -def print_config(op, config, value, new_value): - global merge_style - - if merge_style: - if new_value: - if new_value=="n": - print("# %s is not set" % config) - else: - print("%s=%s" % (config, new_value)) - else: - if op=="-": - print("-%s %s" % (config, value)) - elif op=="+": - print("+%s %s" % (config, new_value)) - else: - print(" %s %s -> %s" % (config, value, new_value)) - -def main(): - global merge_style - - # parse command line args - if ("-h" in sys.argv or "--help" in sys.argv): - usage() - - merge_style = 0 - if "-m" in sys.argv: - merge_style = 1 - sys.argv.remove("-m") - - argc = len(sys.argv) - if not (argc==1 or argc == 3): - print("Error: incorrect number of arguments or unrecognized option") - usage() - - if argc == 1: - # if no filenames given, assume .config and .config.old - build_dir="" - if "KBUILD_OUTPUT" in os.environ: - build_dir = os.environ["KBUILD_OUTPUT"]+"/" - configa_filename = build_dir + ".config.old" - configb_filename = build_dir + ".config" - else: - configa_filename = sys.argv[1] - configb_filename = sys.argv[2] - - try: - a = readconfig(open(configa_filename)) - b = readconfig(open(configb_filename)) - except (IOError): - e = sys.exc_info()[1] - print("I/O error[%s]: %s\n" % (e.args[0],e.args[1])) - usage() - - # print items in a but not b (accumulate, sort and print) - old = [] - for config in a: - if config not in b: - old.append(config) - old.sort() - for config in old: - print_config("-", config, a[config], None) - del a[config] - - # print items that changed (accumulate, sort, and print) - changed = [] - for config in a: - if a[config] != b[config]: - changed.append(config) - else: - del b[config] - changed.sort() - for config in changed: - print_config("->", config, a[config], b[config]) - del b[config] - - # now print items in b but not in a - # (items from b that were in a were removed above) - new = sorted(b.keys()) - for config in new: - print_config("+", config, None, b[config]) - -main() diff --git a/buildroot-2021.05/utils/genrandconfig b/buildroot-2021.05/utils/genrandconfig deleted file mode 100755 index e1655655..00000000 --- a/buildroot-2021.05/utils/genrandconfig +++ /dev/null @@ -1,452 +0,0 @@ -#!/usr/bin/env python - -# Copyright (C) 2014 by Thomas Petazzoni -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -# This script generates a random configuration for testing Buildroot. - -from __future__ import print_function - -import contextlib -import csv -import os -from random import randint -import subprocess -import sys -from distutils.version import StrictVersion -import platform - -if sys.hexversion >= 0x3000000: - import urllib.request as _urllib -else: - import urllib2 as _urllib - - -def urlopen_closing(uri): - return contextlib.closing(_urllib.urlopen(uri)) - - -class SystemInfo: - DEFAULT_NEEDED_PROGS = ["make", "git", "gcc", "timeout"] - DEFAULT_OPTIONAL_PROGS = ["bzr", "java", "javac", "jar", "diffoscope"] - - def __init__(self): - self.needed_progs = list(self.__class__.DEFAULT_NEEDED_PROGS) - self.optional_progs = list(self.__class__.DEFAULT_OPTIONAL_PROGS) - self.progs = {} - - def find_prog(self, name, flags=os.X_OK, env=os.environ): - if not name or name[0] == os.sep: - raise ValueError(name) - - prog_path = env.get("PATH", None) - # for windows compatibility, we'd need to take PATHEXT into account - - if prog_path: - for prog_dir in filter(None, prog_path.split(os.pathsep)): - # os.join() not necessary: non-empty prog_dir - # and name[0] != os.sep - prog = prog_dir + os.sep + name - if os.access(prog, flags): - return prog - # -- - return None - - def has(self, prog): - """Checks whether a program is available. - Lazily evaluates missing entries. - - Returns: None if prog not found, else path to the program [evaluates - to True] - """ - try: - return self.progs[prog] - except KeyError: - pass - - have_it = self.find_prog(prog) - # java[c] needs special care - if have_it and prog in ('java', 'javac'): - with open(os.devnull, "w") as devnull: - if subprocess.call("%s -version | grep gcj" % prog, - shell=True, - stdout=devnull, stderr=devnull) != 1: - have_it = False - # -- - self.progs[prog] = have_it - return have_it - - def check_requirements(self): - """Checks program dependencies. - - Returns: True if all mandatory programs are present, else False. - """ - do_check_has_prog = self.has - - missing_requirements = False - for prog in self.needed_progs: - if not do_check_has_prog(prog): - print("ERROR: your system lacks the '%s' program" % prog) - missing_requirements = True - - # check optional programs here, - # else they'd get checked by each worker instance - for prog in self.optional_progs: - do_check_has_prog(prog) - - return not missing_requirements - - -def get_toolchain_configs(toolchains_csv, buildrootdir): - """Fetch and return the possible toolchain configurations - - This function returns an array of toolchain configurations. Each - toolchain configuration is itself an array of lines of the defconfig. - """ - - with open(toolchains_csv) as r: - # filter empty lines and comments - lines = [t for t in r.readlines() if len(t.strip()) > 0 and t[0] != '#'] - toolchains = lines - configs = [] - - (_, _, _, _, hostarch) = os.uname() - # ~2015 distros report x86 when on a 32bit install - if hostarch == 'i686' or hostarch == 'i386' or hostarch == 'x86': - hostarch = 'x86' - - for row in csv.reader(toolchains): - config = {} - configfile = row[0] - config_hostarch = row[1] - keep = False - - # Keep all toolchain configs that work regardless of the host - # architecture - if config_hostarch == "any": - keep = True - - # Keep all toolchain configs that can work on the current host - # architecture - if hostarch == config_hostarch: - keep = True - - # Assume that x86 32 bits toolchains work on x86_64 build - # machines - if hostarch == 'x86_64' and config_hostarch == "x86": - keep = True - - if not keep: - continue - - if not os.path.isabs(configfile): - configfile = os.path.join(buildrootdir, configfile) - - with open(configfile) as r: - config = r.readlines() - configs.append(config) - return configs - - -def is_toolchain_usable(configfile, config): - """Check if the toolchain is actually usable.""" - - with open(configfile) as configf: - configlines = configf.readlines() - - # Check that the toolchain configuration is still present - for toolchainline in config: - if toolchainline not in configlines: - print("WARN: toolchain can't be used", file=sys.stderr) - print(" Missing: %s" % toolchainline.strip(), file=sys.stderr) - return False - - # The latest Linaro toolchains on x86-64 hosts requires glibc - # 2.14+ on the host. - if platform.machine() == 'x86_64': - if 'BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y\n' in configlines or \ - 'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y\n' in configlines or \ - 'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_BE=y\n' in configlines or \ - 'BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB=y\n' in configlines: - ldd_version_output = subprocess.check_output(['ldd', '--version']) - glibc_version = ldd_version_output.splitlines()[0].split()[-1] - if StrictVersion('2.14') > StrictVersion(glibc_version): - print("WARN: ignoring the Linaro ARM toolchains because too old host glibc", file=sys.stderr) - return False - - return True - - -def fixup_config(sysinfo, configfile): - """Finalize the configuration and reject any problematic combinations - - This function returns 'True' when the configuration has been - accepted, and 'False' when the configuration has not been accepted because - it is known to fail (in which case another random configuration will be - generated). - """ - - with open(configfile) as configf: - configlines = configf.readlines() - - BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' - - if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): - return False - # The ctng toolchain is affected by PR58854 - if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'armv5-ctng-linux-gnueabi.tar.xz"\n' in configlines: - return False - # The ctng toolchain tigger an assembler error with guile package when compiled with -Os (same issue as for CS ARM 2014.05-29) - if 'BR2_PACKAGE_GUILE=y\n' in configlines and \ - 'BR2_OPTIMIZE_S=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'armv5-ctng-linux-gnueabi.tar.xz"\n' in configlines: - return False - # The ctng toolchain is affected by PR58854 - if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'armv6-ctng-linux-uclibcgnueabi.tar.xz"\n' in configlines: - return False - # The ctng toolchain is affected by PR58854 - if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'armv7-ctng-linux-gnueabihf.tar.xz"\n' in configlines: - return False - # The ctng toolchain is affected by PR60155 - if 'BR2_PACKAGE_SDL=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'powerpc-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # The ctng toolchain is affected by PR60155 - if 'BR2_PACKAGE_LIBMPEG2=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'powerpc-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # This MIPS toolchain uses eglibc-2.18 which lacks SYS_getdents64 - if 'BR2_PACKAGE_STRONGSWAN=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: - return False - # This MIPS toolchain uses eglibc-2.18 which lacks SYS_getdents64 - if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: - return False - # libffi not available on sh2a and ARMv7-M, but propagating libffi - # arch dependencies in Buildroot is really too much work, so we - # handle this here. - if 'BR2_sh2a=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False - if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False - if 'BR2_nds32=y\n' in configlines and \ - 'BR2_PACKAGE_LIBFFI=y\n' in configlines: - return False - if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines: - configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n') - configlines.append('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a10/hackberry.fex"\n') - # This MIPS uClibc toolchain fails to build the gdb package - if 'BR2_PACKAGE_GDB=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # This MIPS uClibc toolchain fails to build the rt-tests package - if 'BR2_PACKAGE_RT_TESTS=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # This MIPS uClibc toolchain fails to build the civetweb package - if 'BR2_PACKAGE_CIVETWEB=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # This MIPS ctng toolchain fails to build the python3 package - if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: - return False - # This MIPS uClibc toolchain fails to build the strace package - if 'BR2_PACKAGE_STRACE=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # This MIPS uClibc toolchain fails to build the cdrkit package - if 'BR2_PACKAGE_CDRKIT=y\n' in configlines and \ - 'BR2_STATIC_LIBS=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # uClibc vfork static linking issue - if 'BR2_PACKAGE_ALSA_LIB=y\n' in configlines and \ - 'BR2_STATIC_LIBS=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'i486-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # This MIPS uClibc toolchain fails to build the weston package - if 'BR2_PACKAGE_WESTON=y\n' in configlines and \ - BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: - return False - # The cs nios2 2017.02 toolchain is affected by binutils PR19405 - if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \ - 'BR2_PACKAGE_BOOST=y\n' in configlines: - return False - # The cs nios2 2017.02 toolchain is affected by binutils PR19405 - if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \ - 'BR2_PACKAGE_QT5BASE_GUI=y\n' in configlines: - return False - # The cs nios2 2017.02 toolchain is affected by binutils PR19405 - if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \ - 'BR2_PACKAGE_FLANN=y\n' in configlines: - return False - - if 'BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y\n' in configlines: - bootenv = os.path.join(args.outputdir, "boot_env.txt") - with open(bootenv, "w+") as bootenvf: - bootenvf.write("prop=value") - configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE=""\n') - configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="%s"\n' % bootenv) - configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE=""\n') - configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x1000"\n') - - if 'BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y\n' in configlines: - bootscr = os.path.join(args.outputdir, "boot_script.txt") - with open(bootscr, "w+") as bootscrf: - bootscrf.write("prop=value") - configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') - configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) - - with open(configfile, "w+") as configf: - configf.writelines(configlines) - - return True - - -def gen_config(args): - """Generate a new random configuration - - This function generates the configuration, by choosing a random - toolchain configuration and then generating a random selection of - packages. - """ - - sysinfo = SystemInfo() - - # Select a random toolchain configuration - configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) - - i = randint(0, len(configs) - 1) - toolchainconfig = configs[i] - - configlines = list(toolchainconfig) - - # Combine with the minimal configuration - minimalconfigfile = os.path.join(args.buildrootdir, - 'support/config-fragments/minimal.config') - with open(minimalconfigfile) as minimalf: - configlines += minimalf.readlines() - - # Allow hosts with old certificates to download over https - configlines.append("BR2_WGET=\"wget --passive-ftp -nd -t 3 --no-check-certificate\"\n") - - # Per-package folder - if randint(0, 15) == 0: - configlines.append("BR2_PER_PACKAGE_DIRECTORIES=y\n") - - # Amend the configuration with a few things. - if randint(0, 20) == 0: - configlines.append("BR2_ENABLE_DEBUG=y\n") - if randint(0, 1) == 0: - configlines.append("BR2_INIT_BUSYBOX=y\n") - elif randint(0, 15) == 0: - configlines.append("BR2_INIT_SYSTEMD=y\n") - elif randint(0, 10) == 0: - configlines.append("BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y\n") - if randint(0, 20) == 0: - configlines.append("BR2_STATIC_LIBS=y\n") - if randint(0, 20) == 0: - configlines.append("BR2_PACKAGE_PYTHON_PY_ONLY=y\n") - if randint(0, 5) == 0: - configlines.append("BR2_OPTIMIZE_2=y\n") - if randint(0, 4) == 0: - configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n") - if randint(0, 4) == 0: - configlines.append("BR2_FORTIFY_SOURCE_2=y\n") - - # Randomly enable BR2_REPRODUCIBLE 10% of times - # also enable tar filesystem images for testing - if sysinfo.has("diffoscope") and randint(0, 10) == 0: - configlines.append("BR2_REPRODUCIBLE=y\n") - configlines.append("BR2_TARGET_ROOTFS_TAR=y\n") - - # Write out the configuration file - if not os.path.exists(args.outputdir): - os.makedirs(args.outputdir) - if args.outputdir == os.path.abspath(os.path.join(args.buildrootdir, "output")): - configfile = os.path.join(args.buildrootdir, ".config") - else: - configfile = os.path.join(args.outputdir, ".config") - with open(configfile, "w+") as configf: - configf.writelines(configlines) - - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) - - if not is_toolchain_usable(configfile, toolchainconfig): - return 2 - - # Now, generate the random selection of packages, and fixup - # things if needed. - # Safe-guard, in case we can not quickly come to a valid - # configuration: allow at most 100 (arbitrary) iterations. - bounded_loop = 100 - while True: - if bounded_loop == 0: - print("ERROR: cannot generate random configuration after 100 iterations", - file=sys.stderr) - return 1 - bounded_loop -= 1 - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "KCONFIG_PROBABILITY=%d" % randint(1, 30), - "randpackageconfig"]) - - if fixup_config(sysinfo, configfile): - break - - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "olddefconfig"]) - - subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "savedefconfig"]) - - return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, - "dependencies"]) - - -if __name__ == '__main__': - import argparse - parser = argparse.ArgumentParser(description="Generate a random configuration") - parser.add_argument("--outputdir", "-o", - help="Output directory (relative to current directory)", - type=str, default='output') - parser.add_argument("--buildrootdir", "-b", - help="Buildroot directory (relative to current directory)", - type=str, default='.') - parser.add_argument("--toolchains-csv", - help="Path of the toolchain configuration file", - type=str, - default="support/config-fragments/autobuild/toolchain-configs.csv") - args = parser.parse_args() - - # We need the absolute path to use with O=, because the relative - # path to the output directory here is not relative to the - # Buildroot sources, but to the current directory. - args.outputdir = os.path.abspath(args.outputdir) - - try: - ret = gen_config(args) - except Exception as e: - print(str(e), file=sys.stderr) - parser.exit(1) - parser.exit(ret) diff --git a/buildroot-2021.05/utils/get-developers b/buildroot-2021.05/utils/get-developers deleted file mode 100755 index 9182b2d8..00000000 --- a/buildroot-2021.05/utils/get-developers +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/env python - -import argparse -import getdeveloperlib -import sys - - -def parse_args(): - parser = argparse.ArgumentParser() - parser.add_argument('patches', metavar='P', type=argparse.FileType('r'), nargs='*', - help='list of patches (use - to read patches from stdin)') - parser.add_argument('-a', dest='architecture', action='store', - help='find developers in charge of this architecture') - parser.add_argument('-p', dest='package', action='store', - help='find developers in charge of this package') - parser.add_argument('-f', dest='files', nargs='*', - help='find developers in charge of these files') - parser.add_argument('-c', dest='check', action='store_const', - const=True, help='list files not handled by any developer') - parser.add_argument('-e', dest='email', action='store_const', - const=True, help='only list affected developer email addresses') - return parser.parse_args() - - -def __main__(): - args = parse_args() - - # Check that only one action is given - action = 0 - if args.architecture is not None: - action += 1 - if args.package is not None: - action += 1 - if args.files: - action += 1 - if args.check: - action += 1 - if len(args.patches) != 0: - action += 1 - if action > 1: - print("Cannot do more than one action") - return - if action == 0: - print("No action specified") - return - - devs = getdeveloperlib.parse_developers() - if devs is None: - sys.exit(1) - - # Handle the check action - if args.check: - files = getdeveloperlib.check_developers(devs) - for f in files: - print(f) - - # Handle the architecture action - if args.architecture is not None: - for dev in devs: - if args.architecture in dev.architectures: - print(dev.name) - return - - # Handle the package action - if args.package is not None: - for dev in devs: - if args.package in dev.packages: - print(dev.name) - return - - # Handle the files action - if args.files is not None: - for dev in devs: - for f in args.files: - if dev.hasfile(f): - print(dev.name) - break - - # Handle the patches action - if len(args.patches) != 0: - (files, infras) = getdeveloperlib.analyze_patches(args.patches) - matching_devs = set() - for dev in devs: - # See if we have developers matching by package name - for f in files: - if dev.hasfile(f): - matching_devs.add(dev.name) - # See if we have developers matching by package infra - for i in infras: - if i in dev.infras: - matching_devs.add(dev.name) - - if args.email: - for dev in matching_devs: - print(dev) - else: - result = "--to buildroot@buildroot.org" - for dev in matching_devs: - result += " --cc \"%s\"" % dev - - if result != "": - print("git send-email %s" % result) - - -__main__() diff --git a/buildroot-2021.05/utils/getdeveloperlib.py b/buildroot-2021.05/utils/getdeveloperlib.py deleted file mode 100644 index b2058170..00000000 --- a/buildroot-2021.05/utils/getdeveloperlib.py +++ /dev/null @@ -1,286 +0,0 @@ -from __future__ import print_function -import os -import re -import glob -import subprocess -import sys -import unittest - -brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..")) - -# -# Patch parsing functions -# - -FIND_INFRA_IN_PATCH = re.compile(r"^\+\$\(eval \$\((host-)?([^-]*)-package\)\)$") - - -def analyze_patch(patch): - """Parse one patch and return the list of files modified, added or - removed by the patch.""" - files = set() - infras = set() - for line in patch: - # If the patch is adding a package, find which infra it is - m = FIND_INFRA_IN_PATCH.match(line) - if m: - infras.add(m.group(2)) - if not line.startswith("+++ "): - continue - line.strip() - fname = line[line.find("/") + 1:].strip() - if fname == "dev/null": - continue - files.add(fname) - return (files, infras) - - -FIND_INFRA_IN_MK = re.compile(r"^\$\(eval \$\((host-)?([^-]*)-package\)\)$") - - -def fname_get_package_infra(fname): - """Checks whether the file name passed as argument is a Buildroot .mk - file describing a package, and find the infrastructure it's using.""" - if not fname.endswith(".mk"): - return None - - if not os.path.exists(fname): - return None - - with open(fname, "r") as f: - for line in f: - line = line.strip() - m = FIND_INFRA_IN_MK.match(line) - if m: - return m.group(2) - return None - - -def analyze_patches(patches): - """Parse a list of patches and returns the list of files modified, - added or removed by the patches, as well as the list of package - infrastructures used by those patches (if any)""" - allfiles = set() - allinfras = set() - for patch in patches: - (files, infras) = analyze_patch(patch) - allfiles = allfiles | files - allinfras = allinfras | infras - return (allfiles, allinfras) - - -# -# Unit-test parsing functions -# - -def get_all_test_cases(suite): - """Generate all test-cases from a given test-suite. - :return: (test.module, test.name)""" - if issubclass(type(suite), unittest.TestSuite): - for test in suite: - for res in get_all_test_cases(test): - yield res - else: - yield (suite.__module__, suite.__class__.__name__) - - -def list_unittests(): - """Use the unittest module to retreive all test cases from a given - directory""" - loader = unittest.TestLoader() - suite = loader.discover(os.path.join(brpath, "support", "testing")) - tests = {} - for module, test in get_all_test_cases(suite): - module_path = os.path.join("support", "testing", *module.split('.')) - tests.setdefault(module_path, []).append('%s.%s' % (module, test)) - return tests - - -unittests = {} - - -# -# DEVELOPERS file parsing functions -# - -class Developer: - def __init__(self, name, files): - self.name = name - self.files = files - self.packages = parse_developer_packages(files) - self.architectures = parse_developer_architectures(files) - self.infras = parse_developer_infras(files) - self.runtime_tests = parse_developer_runtime_tests(files) - self.defconfigs = parse_developer_defconfigs(files) - - def hasfile(self, f): - for fs in self.files: - if f.startswith(fs): - return True - return False - - def __repr__(self): - name = '\'' + self.name.split(' <')[0][:20] + '\'' - things = [] - if len(self.files): - things.append('{} files'.format(len(self.files))) - if len(self.packages): - things.append('{} pkgs'.format(len(self.packages))) - if len(self.architectures): - things.append('{} archs'.format(len(self.architectures))) - if len(self.infras): - things.append('{} infras'.format(len(self.infras))) - if len(self.runtime_tests): - things.append('{} tests'.format(len(self.runtime_tests))) - if len(self.defconfigs): - things.append('{} defconfigs'.format(len(self.defconfigs))) - if things: - return 'Developer <{} ({})>'.format(name, ', '.join(things)) - else: - return 'Developer <' + name + '>' - - -def parse_developer_packages(fnames): - """Given a list of file patterns, travel through the Buildroot source - tree to find which packages are implemented by those file - patterns, and return a list of those packages.""" - packages = set() - for fname in fnames: - for root, dirs, files in os.walk(os.path.join(brpath, fname)): - for f in files: - path = os.path.join(root, f) - if fname_get_package_infra(path): - pkg = os.path.splitext(f)[0] - packages.add(pkg) - return packages - - -def parse_arches_from_config_in(fname): - """Given a path to an arch/Config.in.* file, parse it to get the list - of BR2_ARCH values for this architecture.""" - arches = set() - with open(fname, "r") as f: - parsing_arches = False - for line in f: - line = line.strip() - if line == "config BR2_ARCH": - parsing_arches = True - continue - if parsing_arches: - m = re.match(r"^\s*default \"([^\"]*)\".*", line) - if m: - arches.add(m.group(1)) - else: - parsing_arches = False - return arches - - -def parse_developer_architectures(fnames): - """Given a list of file names, find the ones starting by - 'arch/Config.in.', and use that to determine the architecture a - developer is working on.""" - arches = set() - for fname in fnames: - if not re.match(r"^.*/arch/Config\.in\..*$", fname): - continue - arches = arches | parse_arches_from_config_in(fname) - return arches - - -def parse_developer_infras(fnames): - infras = set() - for fname in fnames: - m = re.match(r"^package/pkg-([^.]*).mk$", fname) - if m: - infras.add(m.group(1)) - return infras - - -def parse_developer_defconfigs(fnames): - """Given a list of file names, returns the config names - corresponding to defconfigs.""" - return {os.path.basename(fname[:-10]) - for fname in fnames - if fname.endswith('_defconfig')} - - -def parse_developer_runtime_tests(fnames): - """Given a list of file names, returns the runtime tests - corresponding to the file.""" - all_files = [] - # List all files recursively - for fname in fnames: - if os.path.isdir(fname): - for root, _dirs, files in os.walk(os.path.join(brpath, fname)): - all_files += [os.path.join(root, f) for f in files] - else: - all_files.append(fname) - - # Get all runtime tests - runtimes = set() - for f in all_files: - name = os.path.splitext(f)[0] - if name in unittests: - runtimes |= set(unittests[name]) - return runtimes - - -def parse_developers(): - """Parse the DEVELOPERS file and return a list of Developer objects.""" - developers = [] - linen = 0 - global unittests - unittests = list_unittests() - with open(os.path.join(brpath, "DEVELOPERS"), "r") as f: - files = [] - name = None - for line in f: - line = line.strip() - if line.startswith("#"): - continue - elif line.startswith("N:"): - if name is not None or len(files) != 0: - print("Syntax error in DEVELOPERS file, line %d" % linen, - file=sys.stderr) - name = line[2:].strip() - elif line.startswith("F:"): - fname = line[2:].strip() - dev_files = glob.glob(os.path.join(brpath, fname)) - if len(dev_files) == 0: - print("WARNING: '%s' doesn't match any file" % fname, - file=sys.stderr) - files += [os.path.relpath(f, brpath) for f in dev_files] - elif line == "": - if not name: - continue - developers.append(Developer(name, files)) - files = [] - name = None - else: - print("Syntax error in DEVELOPERS file, line %d: '%s'" % (linen, line), - file=sys.stderr) - return None - linen += 1 - # handle last developer - if name is not None: - developers.append(Developer(name, files)) - return developers - - -def check_developers(developers, basepath=None): - """Look at the list of files versioned in Buildroot, and returns the - list of files that are not handled by any developer""" - if basepath is None: - basepath = os.getcwd() - cmd = ["git", "--git-dir", os.path.join(basepath, ".git"), "ls-files"] - files = subprocess.check_output(cmd).strip().split("\n") - unhandled_files = [] - for f in files: - handled = False - for d in developers: - if d.hasfile(os.path.join(basepath, f)): - handled = True - break - if not handled: - unhandled_files.append(f) - return unhandled_files diff --git a/buildroot-2021.05/utils/scanpypi b/buildroot-2021.05/utils/scanpypi deleted file mode 100755 index 47c7c00c..00000000 --- a/buildroot-2021.05/utils/scanpypi +++ /dev/null @@ -1,754 +0,0 @@ -#!/usr/bin/env python3 -""" - -Utility for building Buildroot packages for existing PyPI packages - -Any package built by scanpypi should be manually checked for -errors. -""" -from __future__ import print_function -from __future__ import absolute_import -import argparse -import json -import sys -import os -import shutil -import tarfile -import zipfile -import errno -import hashlib -import re -import textwrap -import tempfile -import imp -from functools import wraps -import six.moves.urllib.request -import six.moves.urllib.error -import six.moves.urllib.parse -from six.moves import map -from six.moves import zip -from six.moves import input -if six.PY2: - import StringIO -else: - import io - -BUF_SIZE = 65536 - -try: - import spdx_lookup as liclookup -except ImportError: - # spdx_lookup is not installed - print('spdx_lookup module is not installed. This can lead to an ' - 'inaccurate licence detection. Please install it via\n' - 'pip install spdx_lookup') - liclookup = None - - -def setup_decorator(func, method): - """ - Decorator for distutils.core.setup and setuptools.setup. - Puts the arguments with which setup is called as a dict - Add key 'method' which should be either 'setuptools' or 'distutils'. - - Keyword arguments: - func -- either setuptools.setup or distutils.core.setup - method -- either 'setuptools' or 'distutils' - """ - - @wraps(func) - def closure(*args, **kwargs): - # Any python packages calls its setup function to be installed. - # Argument 'name' of this setup function is the package's name - BuildrootPackage.setup_args[kwargs['name']] = kwargs - BuildrootPackage.setup_args[kwargs['name']]['method'] = method - return closure - -# monkey patch -import setuptools # noqa E402 -setuptools.setup = setup_decorator(setuptools.setup, 'setuptools') -import distutils # noqa E402 -distutils.core.setup = setup_decorator(setuptools.setup, 'distutils') - - -def find_file_upper_case(filenames, path='./'): - """ - List generator: - Recursively find files that matches one of the specified filenames. - Returns a relative path starting with path argument. - - Keyword arguments: - filenames -- List of filenames to be found - path -- Path to the directory to search - """ - for root, dirs, files in os.walk(path): - for file in files: - if file.upper() in filenames: - yield (os.path.join(root, file)) - - -def pkg_buildroot_name(pkg_name): - """ - Returns the Buildroot package name for the PyPI package pkg_name. - Remove all non alphanumeric characters except - - Also lowers the name and adds 'python-' suffix - - Keyword arguments: - pkg_name -- String to rename - """ - name = re.sub(r'[^\w-]', '', pkg_name.lower()) - name = name.replace('_', '-') - prefix = 'python-' - pattern = re.compile(r'^(?!' + prefix + ')(.+?)$') - name = pattern.sub(r'python-\1', name) - return name - - -class DownloadFailed(Exception): - pass - - -class BuildrootPackage(): - """This class's methods are not meant to be used individually please - use them in the correct order: - - __init__ - - download_package - - extract_package - - load_module - - get_requirements - - create_package_mk - - create_hash_file - - create_config_in - - """ - setup_args = {} - - def __init__(self, real_name, pkg_folder): - self.real_name = real_name - self.buildroot_name = pkg_buildroot_name(self.real_name) - self.pkg_dir = os.path.join(pkg_folder, self.buildroot_name) - self.mk_name = self.buildroot_name.upper().replace('-', '_') - self.as_string = None - self.md5_sum = None - self.metadata = None - self.metadata_name = None - self.metadata_url = None - self.pkg_req = None - self.setup_metadata = None - self.tmp_extract = None - self.used_url = None - self.filename = None - self.url = None - self.version = None - self.license_files = [] - - def fetch_package_info(self): - """ - Fetch a package's metadata from the python package index - """ - self.metadata_url = 'https://pypi.org/pypi/{pkg}/json'.format( - pkg=self.real_name) - try: - pkg_json = six.moves.urllib.request.urlopen(self.metadata_url).read().decode() - except six.moves.urllib.error.HTTPError as error: - print('ERROR:', error.getcode(), error.msg, file=sys.stderr) - print('ERROR: Could not find package {pkg}.\n' - 'Check syntax inside the python package index:\n' - 'https://pypi.python.org/pypi/ ' - .format(pkg=self.real_name)) - raise - except six.moves.urllib.error.URLError: - print('ERROR: Could not find package {pkg}.\n' - 'Check syntax inside the python package index:\n' - 'https://pypi.python.org/pypi/ ' - .format(pkg=self.real_name)) - raise - self.metadata = json.loads(pkg_json) - self.version = self.metadata['info']['version'] - self.metadata_name = self.metadata['info']['name'] - - def download_package(self): - """ - Download a package using metadata from pypi - """ - download = None - try: - self.metadata['urls'][0]['filename'] - except IndexError: - print( - 'Non-conventional package, ', - 'please check carefully after creation') - self.metadata['urls'] = [{ - 'packagetype': 'sdist', - 'url': self.metadata['info']['download_url'], - 'digests': None}] - # In this case, we can't get the name of the downloaded file - # from the pypi api, so we need to find it, this should work - urlpath = six.moves.urllib.parse.urlparse( - self.metadata['info']['download_url']).path - # urlparse().path give something like - # /path/to/file-version.tar.gz - # We use basename to remove /path/to - self.metadata['urls'][0]['filename'] = os.path.basename(urlpath) - for download_url in self.metadata['urls']: - if 'bdist' in download_url['packagetype']: - continue - try: - print('Downloading package {pkg} from {url}...'.format( - pkg=self.real_name, url=download_url['url'])) - download = six.moves.urllib.request.urlopen(download_url['url']) - except six.moves.urllib.error.HTTPError as http_error: - download = http_error - else: - self.used_url = download_url - self.as_string = download.read() - if not download_url['digests']['md5']: - break - self.md5_sum = hashlib.md5(self.as_string).hexdigest() - if self.md5_sum == download_url['digests']['md5']: - break - - if download is None: - raise DownloadFailed('Failed to download package {pkg}: ' - 'No source archive available' - .format(pkg=self.real_name)) - elif download.__class__ == six.moves.urllib.error.HTTPError: - raise download - - self.filename = self.used_url['filename'] - self.url = self.used_url['url'] - - def check_archive(self, members): - """ - Check archive content before extracting - - Keyword arguments: - members -- list of archive members - """ - # Protect against https://github.com/snyk/zip-slip-vulnerability - # Older python versions do not validate that the extracted files are - # inside the target directory. Detect and error out on evil paths - evil = [e for e in members if os.path.relpath(e).startswith(('/', '..'))] - if evil: - print('ERROR: Refusing to extract {} with suspicious members {}'.format( - self.filename, evil)) - sys.exit(1) - - def extract_package(self, tmp_path): - """ - Extract the package contents into a directrory - - Keyword arguments: - tmp_path -- directory where you want the package to be extracted - """ - if six.PY2: - as_file = StringIO.StringIO(self.as_string) - else: - as_file = io.BytesIO(self.as_string) - if self.filename[-3:] == 'zip': - with zipfile.ZipFile(as_file) as as_zipfile: - tmp_pkg = os.path.join(tmp_path, self.buildroot_name) - try: - os.makedirs(tmp_pkg) - except OSError as exception: - if exception.errno != errno.EEXIST: - print("ERROR: ", exception.strerror, file=sys.stderr) - return - print('WARNING:', exception.strerror, file=sys.stderr) - print('Removing {pkg}...'.format(pkg=tmp_pkg)) - shutil.rmtree(tmp_pkg) - os.makedirs(tmp_pkg) - self.check_archive(as_zipfile.namelist()) - as_zipfile.extractall(tmp_pkg) - pkg_filename = self.filename.split(".zip")[0] - else: - with tarfile.open(fileobj=as_file) as as_tarfile: - tmp_pkg = os.path.join(tmp_path, self.buildroot_name) - try: - os.makedirs(tmp_pkg) - except OSError as exception: - if exception.errno != errno.EEXIST: - print("ERROR: ", exception.strerror, file=sys.stderr) - return - print('WARNING:', exception.strerror, file=sys.stderr) - print('Removing {pkg}...'.format(pkg=tmp_pkg)) - shutil.rmtree(tmp_pkg) - os.makedirs(tmp_pkg) - self.check_archive(as_tarfile.getnames()) - as_tarfile.extractall(tmp_pkg) - pkg_filename = self.filename.split(".tar")[0] - - tmp_extract = '{folder}/{name}' - self.tmp_extract = tmp_extract.format( - folder=tmp_pkg, - name=pkg_filename) - - def load_setup(self): - """ - Loads the corresponding setup and store its metadata - """ - current_dir = os.getcwd() - os.chdir(self.tmp_extract) - sys.path.append(self.tmp_extract) - s_file, s_path, s_desc = imp.find_module('setup', [self.tmp_extract]) - setup = imp.load_module('setup', s_file, s_path, s_desc) - if self.metadata_name in self.setup_args: - pass - elif self.metadata_name.replace('_', '-') in self.setup_args: - self.metadata_name = self.metadata_name.replace('_', '-') - elif self.metadata_name.replace('-', '_') in self.setup_args: - self.metadata_name = self.metadata_name.replace('-', '_') - try: - self.setup_metadata = self.setup_args[self.metadata_name] - except KeyError: - # This means setup was not called which most likely mean that it is - # called through the if __name__ == '__main__' directive. - # In this case, we can only pray that it is called through a - # function called main() in setup.py. - setup.main() # Will raise AttributeError if not found - self.setup_metadata = self.setup_args[self.metadata_name] - # Here we must remove the module the hard way. - # We must do this because of a very specific case: if a package calls - # setup from the __main__ but does not come with a 'main()' function, - # for some reason setup.main() will successfully call the main - # function of a previous package... - sys.modules.pop('setup', None) - del setup - os.chdir(current_dir) - sys.path.remove(self.tmp_extract) - - def get_requirements(self, pkg_folder): - """ - Retrieve dependencies from the metadata found in the setup.py script of - a pypi package. - - Keyword Arguments: - pkg_folder -- location of the already created packages - """ - if 'install_requires' not in self.setup_metadata: - self.pkg_req = None - return set() - self.pkg_req = self.setup_metadata['install_requires'] - self.pkg_req = [re.sub(r'([-.\w]+).*', r'\1', req) - for req in self.pkg_req] - - # get rid of commented lines and also strip the package strings - self.pkg_req = [item.strip() for item in self.pkg_req - if len(item) > 0 and item[0] != '#'] - - req_not_found = self.pkg_req - self.pkg_req = list(map(pkg_buildroot_name, self.pkg_req)) - pkg_tuples = list(zip(req_not_found, self.pkg_req)) - # pkg_tuples is a list of tuples that looks like - # ('werkzeug','python-werkzeug') because I need both when checking if - # dependencies already exist or are already in the download list - req_not_found = set( - pkg[0] for pkg in pkg_tuples - if not os.path.isdir(pkg[1]) - ) - return req_not_found - - def __create_mk_header(self): - """ - Create the header of the .mk file - """ - header = ['#' * 80 + '\n'] - header.append('#\n') - header.append('# {name}\n'.format(name=self.buildroot_name)) - header.append('#\n') - header.append('#' * 80 + '\n') - header.append('\n') - return header - - def __create_mk_download_info(self): - """ - Create the lines refering to the download information of the - .mk file - """ - lines = [] - version_line = '{name}_VERSION = {version}\n'.format( - name=self.mk_name, - version=self.version) - lines.append(version_line) - - if self.buildroot_name != self.real_name: - targz = self.filename.replace( - self.version, - '$({name}_VERSION)'.format(name=self.mk_name)) - targz_line = '{name}_SOURCE = {filename}\n'.format( - name=self.mk_name, - filename=targz) - lines.append(targz_line) - - if self.filename not in self.url: - # Sometimes the filename is in the url, sometimes it's not - site_url = self.url - else: - site_url = self.url[:self.url.find(self.filename)] - site_line = '{name}_SITE = {url}'.format(name=self.mk_name, - url=site_url) - site_line = site_line.rstrip('/') + '\n' - lines.append(site_line) - return lines - - def __create_mk_setup(self): - """ - Create the line refering to the setup method of the package of the - .mk file - - There are two things you can use to make an installer - for a python package: distutils or setuptools - distutils comes with python but does not support dependencies. - distutils is mostly still there for backward support. - setuptools is what smart people use, - but it is not shipped with python :( - """ - lines = [] - setup_type_line = '{name}_SETUP_TYPE = {method}\n'.format( - name=self.mk_name, - method=self.setup_metadata['method']) - lines.append(setup_type_line) - return lines - - def __get_license_names(self, license_files): - """ - Try to determine the related license name. - - There are two possibilities. Either the script tries to - get license name from package's metadata or, if spdx_lookup - package is available, the script compares license files with - SPDX database. - """ - license_line = '' - if liclookup is None: - license_dict = { - 'Apache Software License': 'Apache-2.0', - 'BSD License': 'FIXME: please specify the exact BSD version', - 'European Union Public Licence 1.0': 'EUPL-1.0', - 'European Union Public Licence 1.1': 'EUPL-1.1', - "GNU General Public License": "GPL", - "GNU General Public License v2": "GPL-2.0", - "GNU General Public License v2 or later": "GPL-2.0+", - "GNU General Public License v3": "GPL-3.0", - "GNU General Public License v3 or later": "GPL-3.0+", - "GNU Lesser General Public License v2": "LGPL-2.1", - "GNU Lesser General Public License v2 or later": "LGPL-2.1+", - "GNU Lesser General Public License v3": "LGPL-3.0", - "GNU Lesser General Public License v3 or later": "LGPL-3.0+", - "GNU Library or Lesser General Public License": "LGPL-2.0", - "ISC License": "ISC", - "MIT License": "MIT", - "Mozilla Public License 1.0": "MPL-1.0", - "Mozilla Public License 1.1": "MPL-1.1", - "Mozilla Public License 2.0": "MPL-2.0", - "Zope Public License": "ZPL" - } - regexp = re.compile(r'^License :* *.* *:+ (.*)( \(.*\))?$') - classifiers_licenses = [regexp.sub(r"\1", lic) - for lic in self.metadata['info']['classifiers'] - if regexp.match(lic)] - licenses = [license_dict[x] if x in license_dict else x for x in classifiers_licenses] - if not len(licenses): - print('WARNING: License has been set to "{license}". It is most' - ' likely wrong, please change it if need be'.format( - license=', '.join(licenses))) - licenses = [self.metadata['info']['license']] - licenses = set(licenses) - license_line = '{name}_LICENSE = {license}\n'.format( - name=self.mk_name, - license=', '.join(licenses)) - else: - license_names = [] - for license_file in license_files: - with open(license_file) as lic_file: - match = liclookup.match(lic_file.read()) - if match is not None and match.confidence >= 90.0: - license_names.append(match.license.id) - else: - license_names.append("FIXME: license id couldn't be detected") - license_names = set(license_names) - - if len(license_names) > 0: - license_line = ('{name}_LICENSE =' - ' {names}\n'.format( - name=self.mk_name, - names=', '.join(license_names))) - - return license_line - - def __create_mk_license(self): - """ - Create the lines referring to the package's license informations of the - .mk file - - The license's files are found by searching the package (case insensitive) - for files named license, license.txt etc. If more than one license file - is found, the user is asked to select which ones he wants to use. - """ - lines = [] - - filenames = ['LICENCE', 'LICENSE', 'LICENSE.RST', 'LICENSE.TXT', - 'COPYING', 'COPYING.TXT'] - self.license_files = list(find_file_upper_case(filenames, self.tmp_extract)) - - lines.append(self.__get_license_names(self.license_files)) - - license_files = [license.replace(self.tmp_extract, '')[1:] - for license in self.license_files] - if len(license_files) > 0: - if len(license_files) > 1: - print('More than one file found for license:', - ', '.join(license_files)) - license_files = [filename - for index, filename in enumerate(license_files)] - license_file_line = ('{name}_LICENSE_FILES =' - ' {files}\n'.format( - name=self.mk_name, - files=' '.join(license_files))) - lines.append(license_file_line) - else: - print('WARNING: No license file found,' - ' please specify it manually afterwards') - license_file_line = '# No license file found\n' - - return lines - - def __create_mk_requirements(self): - """ - Create the lines referring to the dependencies of the of the - .mk file - - Keyword Arguments: - pkg_name -- name of the package - pkg_req -- dependencies of the package - """ - lines = [] - dependencies_line = ('{name}_DEPENDENCIES =' - ' {reqs}\n'.format( - name=self.mk_name, - reqs=' '.join(self.pkg_req))) - lines.append(dependencies_line) - return lines - - def create_package_mk(self): - """ - Create the lines corresponding to the .mk file - """ - pkg_mk = '{name}.mk'.format(name=self.buildroot_name) - path_to_mk = os.path.join(self.pkg_dir, pkg_mk) - print('Creating {file}...'.format(file=path_to_mk)) - lines = self.__create_mk_header() - lines += self.__create_mk_download_info() - lines += self.__create_mk_setup() - lines += self.__create_mk_license() - - lines.append('\n') - lines.append('$(eval $(python-package))') - lines.append('\n') - with open(path_to_mk, 'w') as mk_file: - mk_file.writelines(lines) - - def create_hash_file(self): - """ - Create the lines corresponding to the .hash files - """ - pkg_hash = '{name}.hash'.format(name=self.buildroot_name) - path_to_hash = os.path.join(self.pkg_dir, pkg_hash) - print('Creating {filename}...'.format(filename=path_to_hash)) - lines = [] - if self.used_url['digests']['md5'] and self.used_url['digests']['sha256']: - hash_header = '# md5, sha256 from {url}\n'.format( - url=self.metadata_url) - lines.append(hash_header) - hash_line = '{method} {digest} {filename}\n'.format( - method='md5', - digest=self.used_url['digests']['md5'], - filename=self.filename) - lines.append(hash_line) - hash_line = '{method} {digest} {filename}\n'.format( - method='sha256', - digest=self.used_url['digests']['sha256'], - filename=self.filename) - lines.append(hash_line) - - if self.license_files: - lines.append('# Locally computed sha256 checksums\n') - for license_file in self.license_files: - sha256 = hashlib.sha256() - with open(license_file, 'rb') as lic_f: - while True: - data = lic_f.read(BUF_SIZE) - if not data: - break - sha256.update(data) - hash_line = '{method} {digest} {filename}\n'.format( - method='sha256', - digest=sha256.hexdigest(), - filename=license_file.replace(self.tmp_extract, '')[1:]) - lines.append(hash_line) - - with open(path_to_hash, 'w') as hash_file: - hash_file.writelines(lines) - - def create_config_in(self): - """ - Creates the Config.in file of a package - """ - path_to_config = os.path.join(self.pkg_dir, 'Config.in') - print('Creating {file}...'.format(file=path_to_config)) - lines = [] - config_line = 'config BR2_PACKAGE_{name}\n'.format( - name=self.mk_name) - lines.append(config_line) - - bool_line = '\tbool "{name}"\n'.format(name=self.buildroot_name) - lines.append(bool_line) - if self.pkg_req: - self.pkg_req.sort() - for dep in self.pkg_req: - dep_line = '\tselect BR2_PACKAGE_{req} # runtime\n'.format( - req=dep.upper().replace('-', '_')) - lines.append(dep_line) - - lines.append('\thelp\n') - - help_lines = textwrap.wrap(self.metadata['info']['summary'], 62, - initial_indent='\t ', - subsequent_indent='\t ') - - # make sure a help text is terminated with a full stop - if help_lines[-1][-1] != '.': - help_lines[-1] += '.' - - # \t + two spaces is 3 char long - help_lines.append('') - help_lines.append('\t ' + self.metadata['info']['home_page']) - help_lines = [x + '\n' for x in help_lines] - lines += help_lines - - with open(path_to_config, 'w') as config_file: - config_file.writelines(lines) - - -def main(): - # Building the parser - parser = argparse.ArgumentParser( - description="Creates buildroot packages from the metadata of " - "an existing PyPI packages and include it " - "in menuconfig") - parser.add_argument("packages", - help="list of packages to be created", - nargs='+') - parser.add_argument("-o", "--output", - help=""" - Output directory for packages. - Default is ./package - """, - default='./package') - - args = parser.parse_args() - packages = list(set(args.packages)) - - # tmp_path is where we'll extract the files later - tmp_prefix = 'scanpypi-' - pkg_folder = args.output - tmp_path = tempfile.mkdtemp(prefix=tmp_prefix) - try: - for real_pkg_name in packages: - package = BuildrootPackage(real_pkg_name, pkg_folder) - print('buildroot package name for {}:'.format(package.real_name), - package.buildroot_name) - # First we download the package - # Most of the info we need can only be found inside the package - print('Package:', package.buildroot_name) - print('Fetching package', package.real_name) - try: - package.fetch_package_info() - except (six.moves.urllib.error.URLError, six.moves.urllib.error.HTTPError): - continue - if package.metadata_name.lower() == 'setuptools': - # setuptools imports itself, that does not work very well - # with the monkey path at the begining - print('Error: setuptools cannot be built using scanPyPI') - continue - - try: - package.download_package() - except six.moves.urllib.error.HTTPError as error: - print('Error: {code} {reason}'.format(code=error.code, - reason=error.reason)) - print('Error downloading package :', package.buildroot_name) - print() - continue - - # extract the tarball - try: - package.extract_package(tmp_path) - except (tarfile.ReadError, zipfile.BadZipfile): - print('Error extracting package {}'.format(package.real_name)) - print() - continue - - # Loading the package install info from the package - try: - package.load_setup() - except ImportError as err: - if 'buildutils' in err.message: - print('This package needs buildutils') - else: - raise - continue - except AttributeError as error: - print('Error: Could not install package {pkg}: {error}'.format( - pkg=package.real_name, error=error)) - continue - - # Package requirement are an argument of the setup function - req_not_found = package.get_requirements(pkg_folder) - req_not_found = req_not_found.difference(packages) - - packages += req_not_found - if req_not_found: - print('Added packages \'{pkgs}\' as dependencies of {pkg}' - .format(pkgs=", ".join(req_not_found), - pkg=package.buildroot_name)) - print('Checking if package {name} already exists...'.format( - name=package.pkg_dir)) - try: - os.makedirs(package.pkg_dir) - except OSError as exception: - if exception.errno != errno.EEXIST: - print("ERROR: ", exception.message, file=sys.stderr) - continue - print('Error: Package {name} already exists' - .format(name=package.pkg_dir)) - del_pkg = input( - 'Do you want to delete existing package ? [y/N]') - if del_pkg.lower() == 'y': - shutil.rmtree(package.pkg_dir) - os.makedirs(package.pkg_dir) - else: - continue - package.create_package_mk() - - package.create_hash_file() - - package.create_config_in() - print("NOTE: Remember to also make an update to the DEVELOPERS file") - print(" and include an entry for the pkg in packages/Config.in") - print() - # printing an empty line for visual confort - finally: - shutil.rmtree(tmp_path) - - -if __name__ == "__main__": - main() diff --git a/buildroot-2021.05/utils/size-stats-compare b/buildroot-2021.05/utils/size-stats-compare deleted file mode 100755 index a3d7f250..00000000 --- a/buildroot-2021.05/utils/size-stats-compare +++ /dev/null @@ -1,130 +0,0 @@ -#!/usr/bin/env python - -# Copyright (C) 2016 Thomas De Schampheleire - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - -# TODO (improvements) -# - support K,M,G size suffixes for threshold -# - output CSV file in addition to stdout reporting - -import csv -import argparse -import sys - - -def read_file_size_csv(inputf, detail=None): - """Extract package or file sizes from CSV file into size dictionary""" - sizes = {} - reader = csv.reader(inputf) - - header = next(reader) - if header[0] != 'File name' or header[1] != 'Package name' or \ - header[2] != 'File size' or header[3] != 'Package size': - print(("Input file %s does not contain the expected header. Are you " - "sure this file corresponds to the file-size-stats.csv " - "file created by 'make graph-size'?") % inputf.name) - sys.exit(1) - - for row in reader: - if detail: - sizes[row[0]] = int(row[2]) - else: - sizes[row[1]] = int(row[3]) - - return sizes - - -def compare_sizes(old, new): - """Return delta/added/removed dictionaries based on two input size - dictionaries""" - delta = {} - oldkeys = set(old.keys()) - newkeys = set(new.keys()) - - # packages/files in both - for entry in newkeys.intersection(oldkeys): - delta[entry] = ('', new[entry] - old[entry]) - # packages/files only in new - for entry in newkeys.difference(oldkeys): - delta[entry] = ('added', new[entry]) - # packages/files only in old - for entry in oldkeys.difference(newkeys): - delta[entry] = ('removed', -old[entry]) - - return delta - - -def print_results(result, threshold): - """Print the given result dictionary sorted by size, ignoring any entries - below or equal to threshold""" - - from six import iteritems - list_result = list(iteritems(result)) - # result is a dictionary: name -> (flag, size difference) - # list_result is a list of tuples: (name, (flag, size difference)) - - for entry in sorted(list_result, key=lambda entry: entry[1][1]): - if threshold is not None and abs(entry[1][1]) <= threshold: - continue - print('%12s %7s %s' % (entry[1][1], entry[1][0], entry[0])) - - -# main ######################################################################### - -description = """ -Compare rootfs size between Buildroot compilations, for example after changing -configuration options or after switching to another Buildroot release. - -This script compares the file-size-stats.csv file generated by 'make graph-size' -with the corresponding file from another Buildroot compilation. -The size differences can be reported per package or per file. -Size differences smaller or equal than a given threshold can be ignored. -""" - -parser = argparse.ArgumentParser(description=description, - formatter_class=argparse.RawDescriptionHelpFormatter) - -parser.add_argument('-d', '--detail', action='store_true', - help='''report differences for individual files rather than - packages''') -parser.add_argument('-t', '--threshold', type=int, - help='''ignore size differences smaller or equal than this - value (bytes)''') -parser.add_argument('old_file_size_csv', type=argparse.FileType('r'), - metavar='old-file-size-stats.csv', - help="""old CSV file with file and package size statistics, - generated by 'make graph-size'""") -parser.add_argument('new_file_size_csv', type=argparse.FileType('r'), - metavar='new-file-size-stats.csv', - help='new CSV file with file and package size statistics') -args = parser.parse_args() - -if args.detail: - keyword = 'file' -else: - keyword = 'package' - -old_sizes = read_file_size_csv(args.old_file_size_csv, args.detail) -new_sizes = read_file_size_csv(args.new_file_size_csv, args.detail) - -delta = compare_sizes(old_sizes, new_sizes) - -print('Size difference per %s (bytes), threshold = %s' % (keyword, args.threshold)) -print(80*'-') -print_results(delta, args.threshold) -print(80*'-') -print_results({'TOTAL': ('', sum(new_sizes.values()) - sum(old_sizes.values()))}, - threshold=None) diff --git a/buildroot-2021.05/utils/test-pkg b/buildroot-2021.05/utils/test-pkg deleted file mode 100755 index a317d8c1..00000000 --- a/buildroot-2021.05/utils/test-pkg +++ /dev/null @@ -1,269 +0,0 @@ -#!/usr/bin/env bash -set -e - -TOOLCHAINS_CSV='support/config-fragments/autobuild/toolchain-configs.csv' -TEMP_CONF="" - -do_clean() { - if [ ! -z "${TEMP_CONF}" ]; then - rm -f "${TEMP_CONF}" - fi -} - -main() { - local o O opts - local cfg dir pkg random toolchains_csv toolchain all number mode - local ret nb nb_skip nb_fail nb_legal nb_tc build_dir keep - local -a toolchains - local pkg_br_name - - o='hakc:d:n:p:r:t:' - O='help,all,keep,config-snippet:,build-dir:,number:,package:,random:,toolchains-csv:' - opts="$(getopt -n "${my_name}" -o "${o}" -l "${O}" -- "${@}")" - eval set -- "${opts}" - - random=0 - all=0 - keep=0 - number=0 - mode=0 - toolchains_csv="${TOOLCHAINS_CSV}" - while [ ${#} -gt 0 ]; do - case "${1}" in - (-h|--help) - help; exit 0 - ;; - (-a|--all) - all=1; shift 1 - ;; - (-k|--keep) - keep=1; shift 1 - ;; - (-c|--config-snippet) - cfg="${2}"; shift 2 - ;; - (-d|--build-dir) - dir="${2}"; shift 2 - ;; - (-n|--number) - number="${2}"; shift 2 - ;; - (-p|--package) - pkg="${2}"; shift 2 - ;; - (-r|--random) - random="${2}"; shift 2 - ;; - (-t|--toolchains-csv) - toolchains_csv="${2}"; shift 2 - ;; - (--) - shift; break - ;; - esac - done - - trap do_clean INT TERM HUP EXIT - - if [ -z "${cfg}" ]; then - pkg_br_name="${pkg//-/_}" - pkg_br_name="BR2_PACKAGE_${pkg_br_name^^}" - TEMP_CONF=$(mktemp /tmp/test-${pkg}-config.XXXXXX) - echo "${pkg_br_name}=y" > ${TEMP_CONF} - cfg="${TEMP_CONF}" - fi - if [ ! -e "${cfg}" ]; then - printf "error: %s: no such file\n" "${cfg}" >&2; exit 1 - fi - if [ -z "${dir}" ]; then - dir="${HOME}/br-test-pkg" - fi - - if [ ${random} -gt 0 ]; then - mode=$((mode+1)) - fi - - if [ ${number} -gt 0 ]; then - mode=$((mode+1)) - fi - - if [ ${all} -eq 1 ]; then - mode=$((mode+1)) - fi - - # Default mode is to test the N first toolchains, which have been - # chosen to be a good selection of toolchains. - if [ ${mode} -eq 0 ] ; then - number=6 - elif [ ${mode} -gt 1 ] ; then - printf "error: --all, --number and --random are mutually exclusive\n" >&2; exit 1 - fi - - # Extract the URLs of the toolchains; drop internal toolchains - # E.g.: http://server/path/to/name.config,arch,libc - # --> http://server/path/to/name.config - toolchains=($(sed -r -e 's/,.*//; /internal/d; /^#/d; /^$/d;' "${toolchains_csv}" \ - |if [ ${random} -gt 0 ]; then \ - sort -R |head -n ${random} - elif [ ${number} -gt 0 ]; then \ - head -n ${number} - else - sort - fi - ) - ) - - nb_tc="${#toolchains[@]}" - if [ ${nb_tc} -eq 0 ]; then - printf "error: no toolchain found (networking issue?)\n" >&2; exit 1 - fi - - nb=0 - nb_skip=0 - nb_fail=0 - nb_legal=0 - for toolchainconfig in "${toolchains[@]}"; do - : $((nb++)) - toolchain="$(basename "${toolchainconfig}" .config)" - build_dir="${dir}/${toolchain}" - printf "%40s [%*d/%d]: " "${toolchain}" ${#nb_tc} ${nb} ${nb_tc} - build_one "${build_dir}" "${toolchainconfig}" "${cfg}" "${pkg}" && ret=0 || ret=${?} - case ${ret} in - (0) printf "OK\n";; - (1) : $((nb_skip++)); printf "SKIPPED\n";; - (2) : $((nb_fail++)); printf "FAILED\n";; - (3) : $((nb_legal++)); printf "FAILED\n";; - esac - done - - printf "%d builds, %d skipped, %d build failed, %d legal-info failed\n" \ - ${nb} ${nb_skip} ${nb_fail} ${nb_legal} - - return $((nb_fail + nb_legal)) -} - -build_one() { - local dir="${1}" - local toolchainconfig="${2}" - local cfg="${3}" - local pkg="${4}" - - mkdir -p "${dir}" - - CONFIG_= support/kconfig/merge_config.sh -O "${dir}" \ - "${toolchainconfig}" "support/config-fragments/minimal.config" "${cfg}" \ - >> "${dir}/logfile" 2>&1 - # We want all the options from the snippet to be present as-is (set - # or not set) in the actual .config; if one of them is not, it means - # some dependency from the toolchain or arch is not available, in - # which case this config is untestable and we skip it. - # We don't care about the locale to sort in, as long as both sort are - # done in the same locale. - comm -23 <(sort "${cfg}") <(sort "${dir}/.config") >"${dir}/missing.config" - if [ -s "${dir}/missing.config" ]; then - return 1 - fi - # Remove file, it's empty anyway. - rm -f "${dir}/missing.config" - - if [ -n "${pkg}" ]; then - if ! make O="${dir}" "${pkg}-dirclean" >> "${dir}/logfile" 2>&1; then - return 2 - fi - fi - - # shellcheck disable=SC2086 - if ! BR_FORCE_CHECK_DEPENDENCIES=YES make O="${dir}" ${pkg} >> "${dir}/logfile" 2>&1; then - return 2 - fi - - # legal-info done systematically, because some packages have different - # sources depending on the configuration (e.g. lua-5.2 vs. lua-5.3) - if ! make O="${dir}" legal-info >> "${dir}/logfile" 2>&1; then - return 3 - fi - - # If we get here, the build was successful. Clean up the build/host - # directories to save disk space, unless 'keep' was set. - if [ ${keep} -ne 1 ]; then - make O="${dir}" clean >> "${dir}/logfile" 2>&1 - fi -} - -help() { - cat <<_EOF_ -test-pkg: test-build a package against various toolchains and architectures - -The supplied config snippet is appended to each toolchain config, the -resulting configuration is checked to ensure it still contains all options -specified in the snippet; if any is missing, the build is skipped, on the -assumption that the package under test requires a toolchain or architecture -feature that is missing. - -In case failures are noticed, you can fix the package and just re-run the -same command again; it will re-run the test where it failed. If you did -specify a package (with -p), the package build dir will be removed first. - -The list of toolchains is retrieved from ${TOOLCHAINS_CSV}. -Only the external toolchains are tried, because building a Buildroot toolchain -would take too long. An alternative toolchains CSV file can be specified with -the -t option. This file should have lines consisting of the path to the -toolchain config fragment and the required host architecture, separated by a -comma. The config fragments should contain only the toolchain and architecture -settings. - -By default, a useful subset of toolchains is tested. If needed, all -toolchains can be tested (-a), an arbitrary number of toolchains (-n -in order, -r for random). - -Options: - - -h, --help - Print this help. - - -c CFG, --config-snippet CFG - Use the CFG file as the source for the config snippet. This file - should contain all the config options required to build a package. - - -d DIR, --build-dir DIR - Do the builds in directory DIR, one sub-dir per toolchain. - - -p PKG, --package PKG - Test-build the package PKG, by running 'make PKG'; if not specified, - just runs 'make'. - - -a, --all - Test all toolchains, instead of the default subset defined by - Buildroot developers. - - -n N, --number N - Test N toolchains, in the order defined in the toolchain CSV - file. - - -r N, --random N - Limit the tests to the N randomly selected toolchains. - - -t CSVFILE, --toolchains-csv CSVFILE - CSV file containing the paths to config fragments of toolchains to - try. If not specified, the toolchains in ${TOOLCHAINS_CSV} will be - used. - - -k, --keep - Keep the build directories even if the build succeeds. - Note: the logfile and configuration is always retained, even without - this option. - -Example: - - Testing libcec would require a config snippet that contains: - BR2_PACKAGE_LIBCEC=y - - Testing libcurl with openSSL support would require a snippet such as: - BR2_PACKAGE_OPENSSL=y - BR2_PACKAGE_LIBCURL=y - -_EOF_ -} - -my_name="${0##*/}" -main "${@}" diff --git a/buildroot-2022.02.1/.clang-format b/buildroot-2022.02.1/.clang-format new file mode 100644 index 00000000..1758a23f --- /dev/null +++ b/buildroot-2022.02.1/.clang-format @@ -0,0 +1,567 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# clang-format configuration file. Intended for clang-format >= 4. +# +# For more information, see: +# +# Documentation/process/clang-format.rst +# https://clang.llvm.org/docs/ClangFormat.html +# https://clang.llvm.org/docs/ClangFormatStyleOptions.html +# + +# Buildroot: imported from Linux 5.15.6, with minimal modifications. +# Please note, this is not enforced at the moment. Intended +# as an aid when working with in-tree C files, like +# makedevs.c +# +--- +AccessModifierOffset: -4 +AlignAfterOpenBracket: Align +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +#AlignEscapedNewlines: Left # Unknown to clang-format-4.0 +AlignOperands: true +AlignTrailingComments: false +AllowAllParametersOfDeclarationOnNextLine: false +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: None +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AlwaysBreakAfterDefinitionReturnType: None +AlwaysBreakAfterReturnType: None +AlwaysBreakBeforeMultilineStrings: false +AlwaysBreakTemplateDeclarations: false +BinPackArguments: true +BinPackParameters: true +BraceWrapping: + AfterClass: false + AfterControlStatement: false + AfterEnum: false + AfterFunction: true + AfterNamespace: true + AfterObjCDeclaration: false + AfterStruct: false + AfterUnion: false + #AfterExternBlock: false # Unknown to clang-format-5.0 + BeforeCatch: false + BeforeElse: false + IndentBraces: false + #SplitEmptyFunction: true # Unknown to clang-format-4.0 + #SplitEmptyRecord: true # Unknown to clang-format-4.0 + #SplitEmptyNamespace: true # Unknown to clang-format-4.0 +BreakBeforeBinaryOperators: None +BreakBeforeBraces: Custom +#BreakBeforeInheritanceComma: false # Unknown to clang-format-4.0 +BreakBeforeTernaryOperators: false +BreakConstructorInitializersBeforeComma: false +#BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0 +BreakAfterJavaFieldAnnotations: false +BreakStringLiterals: false +ColumnLimit: 132 # Specially for Buildroot +CommentPragmas: '^ IWYU pragma:' +#CompactNamespaces: false # Unknown to clang-format-4.0 +ConstructorInitializerAllOnOneLineOrOnePerLine: false +ConstructorInitializerIndentWidth: 8 +ContinuationIndentWidth: 8 +Cpp11BracedListStyle: false +DerivePointerAlignment: false +DisableFormat: false +ExperimentalAutoDetectBinPacking: false +#FixNamespaceComments: false # Unknown to clang-format-4.0 + +# Taken from: +# git grep -h '^#define [^[:space:]]*for_each[^[:space:]]*(' include/ \ +# | sed "s,^#define \([^[:space:]]*for_each[^[:space:]]*\)(.*$, - '\1'," \ +# | sort | uniq +ForEachMacros: + - 'apei_estatus_for_each_section' + - 'ata_for_each_dev' + - 'ata_for_each_link' + - '__ata_qc_for_each' + - 'ata_qc_for_each' + - 'ata_qc_for_each_raw' + - 'ata_qc_for_each_with_internal' + - 'ax25_for_each' + - 'ax25_uid_for_each' + - '__bio_for_each_bvec' + - 'bio_for_each_bvec' + - 'bio_for_each_bvec_all' + - 'bio_for_each_integrity_vec' + - '__bio_for_each_segment' + - 'bio_for_each_segment' + - 'bio_for_each_segment_all' + - 'bio_list_for_each' + - 'bip_for_each_vec' + - 'bitmap_for_each_clear_region' + - 'bitmap_for_each_set_region' + - 'blkg_for_each_descendant_post' + - 'blkg_for_each_descendant_pre' + - 'blk_queue_for_each_rl' + - 'bond_for_each_slave' + - 'bond_for_each_slave_rcu' + - 'bpf_for_each_spilled_reg' + - 'btree_for_each_safe128' + - 'btree_for_each_safe32' + - 'btree_for_each_safe64' + - 'btree_for_each_safel' + - 'card_for_each_dev' + - 'cgroup_taskset_for_each' + - 'cgroup_taskset_for_each_leader' + - 'cpufreq_for_each_entry' + - 'cpufreq_for_each_entry_idx' + - 'cpufreq_for_each_valid_entry' + - 'cpufreq_for_each_valid_entry_idx' + - 'css_for_each_child' + - 'css_for_each_descendant_post' + - 'css_for_each_descendant_pre' + - 'device_for_each_child_node' + - 'displayid_iter_for_each' + - 'dma_fence_chain_for_each' + - 'do_for_each_ftrace_op' + - 'drm_atomic_crtc_for_each_plane' + - 'drm_atomic_crtc_state_for_each_plane' + - 'drm_atomic_crtc_state_for_each_plane_state' + - 'drm_atomic_for_each_plane_damage' + - 'drm_client_for_each_connector_iter' + - 'drm_client_for_each_modeset' + - 'drm_connector_for_each_possible_encoder' + - 'drm_for_each_bridge_in_chain' + - 'drm_for_each_connector_iter' + - 'drm_for_each_crtc' + - 'drm_for_each_crtc_reverse' + - 'drm_for_each_encoder' + - 'drm_for_each_encoder_mask' + - 'drm_for_each_fb' + - 'drm_for_each_legacy_plane' + - 'drm_for_each_plane' + - 'drm_for_each_plane_mask' + - 'drm_for_each_privobj' + - 'drm_mm_for_each_hole' + - 'drm_mm_for_each_node' + - 'drm_mm_for_each_node_in_range' + - 'drm_mm_for_each_node_safe' + - 'flow_action_for_each' + - 'for_each_acpi_dev_match' + - 'for_each_active_dev_scope' + - 'for_each_active_drhd_unit' + - 'for_each_active_iommu' + - 'for_each_aggr_pgid' + - 'for_each_available_child_of_node' + - 'for_each_bio' + - 'for_each_board_func_rsrc' + - 'for_each_bvec' + - 'for_each_card_auxs' + - 'for_each_card_auxs_safe' + - 'for_each_card_components' + - 'for_each_card_dapms' + - 'for_each_card_pre_auxs' + - 'for_each_card_prelinks' + - 'for_each_card_rtds' + - 'for_each_card_rtds_safe' + - 'for_each_card_widgets' + - 'for_each_card_widgets_safe' + - 'for_each_cgroup_storage_type' + - 'for_each_child_of_node' + - 'for_each_clear_bit' + - 'for_each_clear_bit_from' + - 'for_each_cmsghdr' + - 'for_each_compatible_node' + - 'for_each_component_dais' + - 'for_each_component_dais_safe' + - 'for_each_comp_order' + - 'for_each_console' + - 'for_each_cpu' + - 'for_each_cpu_and' + - 'for_each_cpu_not' + - 'for_each_cpu_wrap' + - 'for_each_dapm_widgets' + - 'for_each_dev_addr' + - 'for_each_dev_scope' + - 'for_each_dma_cap_mask' + - 'for_each_dpcm_be' + - 'for_each_dpcm_be_rollback' + - 'for_each_dpcm_be_safe' + - 'for_each_dpcm_fe' + - 'for_each_drhd_unit' + - 'for_each_dss_dev' + - 'for_each_dtpm_table' + - 'for_each_efi_memory_desc' + - 'for_each_efi_memory_desc_in_map' + - 'for_each_element' + - 'for_each_element_extid' + - 'for_each_element_id' + - 'for_each_endpoint_of_node' + - 'for_each_evictable_lru' + - 'for_each_fib6_node_rt_rcu' + - 'for_each_fib6_walker_rt' + - 'for_each_free_mem_pfn_range_in_zone' + - 'for_each_free_mem_pfn_range_in_zone_from' + - 'for_each_free_mem_range' + - 'for_each_free_mem_range_reverse' + - 'for_each_func_rsrc' + - 'for_each_hstate' + - 'for_each_if' + - 'for_each_iommu' + - 'for_each_ip_tunnel_rcu' + - 'for_each_irq_nr' + - 'for_each_link_codecs' + - 'for_each_link_cpus' + - 'for_each_link_platforms' + - 'for_each_lru' + - 'for_each_matching_node' + - 'for_each_matching_node_and_match' + - 'for_each_member' + - 'for_each_memcg_cache_index' + - 'for_each_mem_pfn_range' + - '__for_each_mem_range' + - 'for_each_mem_range' + - '__for_each_mem_range_rev' + - 'for_each_mem_range_rev' + - 'for_each_mem_region' + - 'for_each_migratetype_order' + - 'for_each_msi_entry' + - 'for_each_msi_entry_safe' + - 'for_each_msi_vector' + - 'for_each_net' + - 'for_each_net_continue_reverse' + - 'for_each_netdev' + - 'for_each_netdev_continue' + - 'for_each_netdev_continue_rcu' + - 'for_each_netdev_continue_reverse' + - 'for_each_netdev_feature' + - 'for_each_netdev_in_bond_rcu' + - 'for_each_netdev_rcu' + - 'for_each_netdev_reverse' + - 'for_each_netdev_safe' + - 'for_each_net_rcu' + - 'for_each_new_connector_in_state' + - 'for_each_new_crtc_in_state' + - 'for_each_new_mst_mgr_in_state' + - 'for_each_new_plane_in_state' + - 'for_each_new_private_obj_in_state' + - 'for_each_node' + - 'for_each_node_by_name' + - 'for_each_node_by_type' + - 'for_each_node_mask' + - 'for_each_node_state' + - 'for_each_node_with_cpus' + - 'for_each_node_with_property' + - 'for_each_nonreserved_multicast_dest_pgid' + - 'for_each_of_allnodes' + - 'for_each_of_allnodes_from' + - 'for_each_of_cpu_node' + - 'for_each_of_pci_range' + - 'for_each_old_connector_in_state' + - 'for_each_old_crtc_in_state' + - 'for_each_old_mst_mgr_in_state' + - 'for_each_oldnew_connector_in_state' + - 'for_each_oldnew_crtc_in_state' + - 'for_each_oldnew_mst_mgr_in_state' + - 'for_each_oldnew_plane_in_state' + - 'for_each_oldnew_plane_in_state_reverse' + - 'for_each_oldnew_private_obj_in_state' + - 'for_each_old_plane_in_state' + - 'for_each_old_private_obj_in_state' + - 'for_each_online_cpu' + - 'for_each_online_node' + - 'for_each_online_pgdat' + - 'for_each_pci_bridge' + - 'for_each_pci_dev' + - 'for_each_pci_msi_entry' + - 'for_each_pcm_streams' + - 'for_each_physmem_range' + - 'for_each_populated_zone' + - 'for_each_possible_cpu' + - 'for_each_present_cpu' + - 'for_each_prime_number' + - 'for_each_prime_number_from' + - 'for_each_process' + - 'for_each_process_thread' + - 'for_each_prop_codec_conf' + - 'for_each_prop_dai_codec' + - 'for_each_prop_dai_cpu' + - 'for_each_prop_dlc_codecs' + - 'for_each_prop_dlc_cpus' + - 'for_each_prop_dlc_platforms' + - 'for_each_property_of_node' + - 'for_each_registered_fb' + - 'for_each_requested_gpio' + - 'for_each_requested_gpio_in_range' + - 'for_each_reserved_mem_range' + - 'for_each_reserved_mem_region' + - 'for_each_rtd_codec_dais' + - 'for_each_rtd_components' + - 'for_each_rtd_cpu_dais' + - 'for_each_rtd_dais' + - 'for_each_set_bit' + - 'for_each_set_bit_from' + - 'for_each_set_clump8' + - 'for_each_sg' + - 'for_each_sg_dma_page' + - 'for_each_sg_page' + - 'for_each_sgtable_dma_page' + - 'for_each_sgtable_dma_sg' + - 'for_each_sgtable_page' + - 'for_each_sgtable_sg' + - 'for_each_sibling_event' + - 'for_each_subelement' + - 'for_each_subelement_extid' + - 'for_each_subelement_id' + - '__for_each_thread' + - 'for_each_thread' + - 'for_each_unicast_dest_pgid' + - 'for_each_vsi' + - 'for_each_wakeup_source' + - 'for_each_zone' + - 'for_each_zone_zonelist' + - 'for_each_zone_zonelist_nodemask' + - 'fwnode_for_each_available_child_node' + - 'fwnode_for_each_child_node' + - 'fwnode_graph_for_each_endpoint' + - 'gadget_for_each_ep' + - 'genradix_for_each' + - 'genradix_for_each_from' + - 'hash_for_each' + - 'hash_for_each_possible' + - 'hash_for_each_possible_rcu' + - 'hash_for_each_possible_rcu_notrace' + - 'hash_for_each_possible_safe' + - 'hash_for_each_rcu' + - 'hash_for_each_safe' + - 'hctx_for_each_ctx' + - 'hlist_bl_for_each_entry' + - 'hlist_bl_for_each_entry_rcu' + - 'hlist_bl_for_each_entry_safe' + - 'hlist_for_each' + - 'hlist_for_each_entry' + - 'hlist_for_each_entry_continue' + - 'hlist_for_each_entry_continue_rcu' + - 'hlist_for_each_entry_continue_rcu_bh' + - 'hlist_for_each_entry_from' + - 'hlist_for_each_entry_from_rcu' + - 'hlist_for_each_entry_rcu' + - 'hlist_for_each_entry_rcu_bh' + - 'hlist_for_each_entry_rcu_notrace' + - 'hlist_for_each_entry_safe' + - 'hlist_for_each_entry_srcu' + - '__hlist_for_each_rcu' + - 'hlist_for_each_safe' + - 'hlist_nulls_for_each_entry' + - 'hlist_nulls_for_each_entry_from' + - 'hlist_nulls_for_each_entry_rcu' + - 'hlist_nulls_for_each_entry_safe' + - 'i3c_bus_for_each_i2cdev' + - 'i3c_bus_for_each_i3cdev' + - 'ide_host_for_each_port' + - 'ide_port_for_each_dev' + - 'ide_port_for_each_present_dev' + - 'idr_for_each_entry' + - 'idr_for_each_entry_continue' + - 'idr_for_each_entry_continue_ul' + - 'idr_for_each_entry_ul' + - 'in_dev_for_each_ifa_rcu' + - 'in_dev_for_each_ifa_rtnl' + - 'inet_bind_bucket_for_each' + - 'inet_lhash2_for_each_icsk_rcu' + - 'key_for_each' + - 'key_for_each_safe' + - 'klp_for_each_func' + - 'klp_for_each_func_safe' + - 'klp_for_each_func_static' + - 'klp_for_each_object' + - 'klp_for_each_object_safe' + - 'klp_for_each_object_static' + - 'kunit_suite_for_each_test_case' + - 'kvm_for_each_memslot' + - 'kvm_for_each_vcpu' + - 'list_for_each' + - 'list_for_each_codec' + - 'list_for_each_codec_safe' + - 'list_for_each_continue' + - 'list_for_each_entry' + - 'list_for_each_entry_continue' + - 'list_for_each_entry_continue_rcu' + - 'list_for_each_entry_continue_reverse' + - 'list_for_each_entry_from' + - 'list_for_each_entry_from_rcu' + - 'list_for_each_entry_from_reverse' + - 'list_for_each_entry_lockless' + - 'list_for_each_entry_rcu' + - 'list_for_each_entry_reverse' + - 'list_for_each_entry_safe' + - 'list_for_each_entry_safe_continue' + - 'list_for_each_entry_safe_from' + - 'list_for_each_entry_safe_reverse' + - 'list_for_each_entry_srcu' + - 'list_for_each_prev' + - 'list_for_each_prev_safe' + - 'list_for_each_safe' + - 'llist_for_each' + - 'llist_for_each_entry' + - 'llist_for_each_entry_safe' + - 'llist_for_each_safe' + - 'mci_for_each_dimm' + - 'media_device_for_each_entity' + - 'media_device_for_each_intf' + - 'media_device_for_each_link' + - 'media_device_for_each_pad' + - 'nanddev_io_for_each_page' + - 'netdev_for_each_lower_dev' + - 'netdev_for_each_lower_private' + - 'netdev_for_each_lower_private_rcu' + - 'netdev_for_each_mc_addr' + - 'netdev_for_each_uc_addr' + - 'netdev_for_each_upper_dev_rcu' + - 'netdev_hw_addr_list_for_each' + - 'nft_rule_for_each_expr' + - 'nla_for_each_attr' + - 'nla_for_each_nested' + - 'nlmsg_for_each_attr' + - 'nlmsg_for_each_msg' + - 'nr_neigh_for_each' + - 'nr_neigh_for_each_safe' + - 'nr_node_for_each' + - 'nr_node_for_each_safe' + - 'of_for_each_phandle' + - 'of_property_for_each_string' + - 'of_property_for_each_u32' + - 'pci_bus_for_each_resource' + - 'pcl_for_each_chunk' + - 'pcl_for_each_segment' + - 'pcm_for_each_format' + - 'ping_portaddr_for_each_entry' + - 'plist_for_each' + - 'plist_for_each_continue' + - 'plist_for_each_entry' + - 'plist_for_each_entry_continue' + - 'plist_for_each_entry_safe' + - 'plist_for_each_safe' + - 'pnp_for_each_card' + - 'pnp_for_each_dev' + - 'protocol_for_each_card' + - 'protocol_for_each_dev' + - 'queue_for_each_hw_ctx' + - 'radix_tree_for_each_slot' + - 'radix_tree_for_each_tagged' + - 'rb_for_each' + - 'rbtree_postorder_for_each_entry_safe' + - 'rdma_for_each_block' + - 'rdma_for_each_port' + - 'rdma_umem_for_each_dma_block' + - 'resource_list_for_each_entry' + - 'resource_list_for_each_entry_safe' + - 'rhl_for_each_entry_rcu' + - 'rhl_for_each_rcu' + - 'rht_for_each' + - 'rht_for_each_entry' + - 'rht_for_each_entry_from' + - 'rht_for_each_entry_rcu' + - 'rht_for_each_entry_rcu_from' + - 'rht_for_each_entry_safe' + - 'rht_for_each_from' + - 'rht_for_each_rcu' + - 'rht_for_each_rcu_from' + - '__rq_for_each_bio' + - 'rq_for_each_bvec' + - 'rq_for_each_segment' + - 'scsi_for_each_prot_sg' + - 'scsi_for_each_sg' + - 'sctp_for_each_hentry' + - 'sctp_skb_for_each' + - 'shdma_for_each_chan' + - '__shost_for_each_device' + - 'shost_for_each_device' + - 'sk_for_each' + - 'sk_for_each_bound' + - 'sk_for_each_entry_offset_rcu' + - 'sk_for_each_from' + - 'sk_for_each_rcu' + - 'sk_for_each_safe' + - 'sk_nulls_for_each' + - 'sk_nulls_for_each_from' + - 'sk_nulls_for_each_rcu' + - 'snd_array_for_each' + - 'snd_pcm_group_for_each_entry' + - 'snd_soc_dapm_widget_for_each_path' + - 'snd_soc_dapm_widget_for_each_path_safe' + - 'snd_soc_dapm_widget_for_each_sink_path' + - 'snd_soc_dapm_widget_for_each_source_path' + - 'tb_property_for_each' + - 'tcf_exts_for_each_action' + - 'udp_portaddr_for_each_entry' + - 'udp_portaddr_for_each_entry_rcu' + - 'usb_hub_for_each_child' + - 'v4l2_device_for_each_subdev' + - 'v4l2_m2m_for_each_dst_buf' + - 'v4l2_m2m_for_each_dst_buf_safe' + - 'v4l2_m2m_for_each_src_buf' + - 'v4l2_m2m_for_each_src_buf_safe' + - 'virtio_device_for_each_vq' + - 'while_for_each_ftrace_op' + - 'xa_for_each' + - 'xa_for_each_marked' + - 'xa_for_each_range' + - 'xa_for_each_start' + - 'xas_for_each' + - 'xas_for_each_conflict' + - 'xas_for_each_marked' + - 'xbc_array_for_each_value' + - 'xbc_for_each_key_value' + - 'xbc_node_for_each_array_value' + - 'xbc_node_for_each_child' + - 'xbc_node_for_each_key_value' + - 'zorro_for_each_dev' + +#IncludeBlocks: Preserve # Unknown to clang-format-5.0 +IncludeCategories: + - Regex: '.*' + Priority: 1 +IncludeIsMainRegex: '(Test)?$' +IndentCaseLabels: false +#IndentPPDirectives: None # Unknown to clang-format-5.0 +IndentWidth: 8 +IndentWrappedFunctionNames: false +JavaScriptQuotes: Leave +JavaScriptWrapImports: true +KeepEmptyLinesAtTheStartOfBlocks: false +MacroBlockBegin: '' +MacroBlockEnd: '' +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: None +#ObjCBinPackProtocolList: Auto # Unknown to clang-format-5.0 +ObjCBlockIndentWidth: 8 +ObjCSpaceAfterProperty: true +ObjCSpaceBeforeProtocolList: true + +# Taken from git's rules +#PenaltyBreakAssignment: 10 # Unknown to clang-format-4.0 +PenaltyBreakBeforeFirstCallParameter: 30 +PenaltyBreakComment: 10 +PenaltyBreakFirstLessLess: 0 +PenaltyBreakString: 10 +PenaltyExcessCharacter: 100 +PenaltyReturnTypeOnItsOwnLine: 60 + +PointerAlignment: Right +ReflowComments: false +SortIncludes: false +#SortUsingDeclarations: false # Unknown to clang-format-4.0 +SpaceAfterCStyleCast: false +SpaceAfterTemplateKeyword: true +SpaceBeforeAssignmentOperators: true +#SpaceBeforeCtorInitializerColon: true # Unknown to clang-format-5.0 +#SpaceBeforeInheritanceColon: true # Unknown to clang-format-5.0 +SpaceBeforeParens: ControlStatements +#SpaceBeforeRangeBasedForLoopColon: true # Unknown to clang-format-5.0 +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInAngles: false +SpacesInContainerLiterals: false +SpacesInCStyleCastParentheses: false +SpacesInParentheses: false +SpacesInSquareBrackets: false +Standard: Cpp03 +TabWidth: 8 +UseTab: Always +... diff --git a/buildroot-2021.05/.defconfig b/buildroot-2022.02.1/.defconfig similarity index 100% rename from buildroot-2021.05/.defconfig rename to buildroot-2022.02.1/.defconfig diff --git a/buildroot-2021.05/.flake8 b/buildroot-2022.02.1/.flake8 similarity index 100% rename from buildroot-2021.05/.flake8 rename to buildroot-2022.02.1/.flake8 diff --git a/buildroot-2021.05/.gitignore b/buildroot-2022.02.1/.gitignore similarity index 100% rename from buildroot-2021.05/.gitignore rename to buildroot-2022.02.1/.gitignore diff --git a/buildroot-2022.02.1/.gitlab-ci.yml b/buildroot-2022.02.1/.gitlab-ci.yml new file mode 100644 index 00000000..cad35c96 --- /dev/null +++ b/buildroot-2022.02.1/.gitlab-ci.yml @@ -0,0 +1,28 @@ +# Configuration for Gitlab-CI. +# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines + +image: $CI_REGISTRY/buildroot.org/buildroot/base:20220206.1756 + +stages: + - generate-gitlab-ci + - build + +generate-gitlab-ci-yml: + stage: generate-gitlab-ci + script: ./support/scripts/generate-gitlab-ci-yml support/misc/gitlab-ci.yml.in > generated-gitlab-ci.yml + artifacts: + when: always + paths: + - generated-gitlab-ci.yml + - br-test-pkg/*/.config + - br-test-pkg/*/missing.config + +buildroot-pipeline: + stage: build + trigger: + include: + - artifact: generated-gitlab-ci.yml + job: generate-gitlab-ci-yml + strategy: depend + variables: + PARENT_PIPELINE_ID: $CI_PIPELINE_ID diff --git a/buildroot-2022.02.1/CHANGES b/buildroot-2022.02.1/CHANGES new file mode 100644 index 00000000..da181422 --- /dev/null +++ b/buildroot-2022.02.1/CHANGES @@ -0,0 +1,11626 @@ +2022.02.1, released April 11th, 2022 + + Important / security related fixes. + + Graphs: Also generate a build time timeline graph (for top + level parallel builds). + + scripts/pkg-stats: Optimize memory consumption for CPE parsing + + Fix compatibility issue with the fakeroot script logic and + modern versions of dash. + + Change git:// URLs pointing to Github to https://, now that + Github has turned off support for git:// + + Updated/fixed packages: ace, apache, apr, apr-util, belr, + bind, bluez5_utils, boinc, bpftool, busybox, cloop, cog, + containerd, cppcms, dav1d, dhcp, dieharder, dnsmasq, + docker-cli, docker-engine, efl, ell, fakeroot, flac, + fluidsynth, gdk-pixbuf, glib-networking, gnutls, gst-omx, + gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, haproxym htop, intel-gmmlib, + ipmiutil, iwd, jack1, jack2, lftp, libabseil-cpp, libbluray, + libcamera-apps, libcoap, libcurl, libest, libgee, libglib2, + libgtk3, libiec61850, libkrb5, libminiupnpc, libodb, + libodb-boost, libopenssl, libp11, libpsl, libressl, librstp, + librtlsdr, liburing, libyang, libzlib, luasec, lxc, matio, + meson, minidlna, minizip, mpd, mtools, netatalk, nbd, odb, + openblas, openssh, openvpn, optee-os, opus, paho-mqtt-c, + pango, php, pipewire, pkcs11-helper, postgresql, ppp, + protozero, python-aioconsole, python-avro, python-brotli, + python-greenlet, python-paramiko, python-pillow, + python-rpi-gpio, python-treq, python-twisted, python-ujson, + python-weasyprint, qt5base, qt5wayland, raptor, rpi-firmware, + rpi-userland, rtl_433, runc, rust, rygel, samba4, + shairport-sync, spice, spidev_test, stunnel, systemd, + timescaledb, trace-cmd, trousers, ts4900-fpga, tvheadend, + udpcast, unbound, upower, urandom-scripts, usbguard, valgrind, + valijson, vim, wavpack, wget, wireplumber, wireshark, woff2, + xmrig, zabbix, zlib-ng, zynaddsubfx, zziplib + + Issues resolved (http://bugs.uclibc.org): + + #13971: ip6tables-nft build does not include MASQUERADE target.. + #14651: OpenSSH 8.9p1 compiler error under ARM + #14656: Adding dependencies from an external tree does not work + #14661: Fakeroot script relies on bash-isms, does not work .. + #14686: genimage.cfg have a hard-coded .ext4 extension which.. + #14701: Multiple unresolved symbols while building kernel .. + #14711: nodjs build problem missing bzip + #14731: BR2_PACKAGE_IOSTAT + +2022.02, released March 8th, 2022 + + Various fixes. + + Fixes to cargo and golang packaging infrastructure. + + Defconfigs: OrangePi RK3399: Fix genimage format + + Updated/fixed packages: azure-iot-sdk-c, bpftool, cog, + directfb, directfb-examples, dnsmasq, docker-engine, expat, + freerdp, frr, gdb, ghostscript, glib-networking, go, haproxy, + hostapd, kf5-extra-cmake-modules, kf5-kcoreaddons, + kf5-modemmanager-qt, kf5-networkmanager-qt, libcamera-apps, + libgee, libglfw, librstp, libtorrent, libvirt, libxslt, linux, + mariadb, oprofile, osm2pgsql, pulseview, python-cryptography, + python-gnupg, python-treq, qt5base, qt5webkit, rauc, re2, + rygel, safeclib, sconeserver, seatd, sord, upmpdcli, + util-linux, weston, wpa_supplicant, xdriver_xf86-video-mach64, + xdriver_xf86-video-nouveau, xdriver_xf86-video-qxl, + xscreensaver, zabbix + + New packages: gdk-pixbuf-xlib + + Removed packages: python-pycli + + Issues resolved (http://bugs.uclibc.org): + + #13126: make fails - bzip2-1.0.6.tar.gz and DirectFB-1.7.7.tar.. + #14611: 2022.02-rc2: Build of BR2_x86_64 with BR2_LINUX_KERNEL_.. + #14631: host-go-bootstrap: go not being built for package in .. + #14636: azure-iot-sdk-c: Installed headers do not compile + #14641: oprofile can not find the events files + +2022.02-rc3, released February 28th, 2022 + + Fixes all over the tree. + + Defconfigs: Xilinx zynqmp zcu102/zcu106: Fix U-Boot DTS config + + Updated/fixed packages: bluez5_utils, bpftool, dbus, exempi, + flac, freerdp, frr, gnutls, libpjsip, libxml2, mariadb, + openssh, python-twisted, qt5webkit, samba4, vim, weston, + wireshark, wolfssl, xdg-dbus-proxy, xterm, + +2022.02-rc2, released February 20th, 2022 + + Fixes all over the tree. + + Defconfigs: Friendlyarm Nanopi R2S: Fix U-Boot build, Kontron + BL i.MX8M Mini: Fix U-Boot build, PC Engines APU2: Fix Linux + build, ROC-RK3399-PC: Bump rootfs size to fix build + + Updated/fixed packages: apache, apparmor, apr-util, arp-scan, + binutils, bluez5_utils, connman, cryptsetup, dnsmasq, + dovecot-pigeonhole, expat, gdk-pixbuf, gst1-plugins-base, + guile, keepalived, kodi, libbpf, libglvnd, libgsasl, libiconv, + librsvg, libuhttpd, libusb, libv4l, luasyslog, mongrel2, neon, + pcre, perl-netaddr-ip, php, psmisc, python-ipython, + python-pycli, python-pygame, python-regex, python-twisted, + qt5location, qt5webkit, resiprocate, rygel, safeclib, + sdl2_ttf, socketcand, strongswan, sudo, systemd, toolchain, + urg, webkitgtk, wireless-regdb, wpewebkit, + xdriver_xf86-video-{ati,mach64,mga,r128,savage,tdfx}, xz, zfs, + zsh + +2022.02-rc1, released February 13th, 2022 + + Numerous package updates and many (80) new packages. + + Toolchain: + - glibc: Optional support for compatibility shims for running + on older kernels than what glibc has been built against + - uClibc: Use uClibc-ng 1.0.40 + - External toolchains: Update Bootlin toolchains to 2021.11-1 + version + + Python 2.7 and python 2.x specific packages removed as python + 2.x is EOL since April 2020. Likewise a number of python3 + specific host packages has been renamed (host-python-foo + instead of host-python3-foo) now host-python is always python + 3.x. + + Cargo (Rust) package infrastructure added. Vendoring support + added to golang package infrastructure. + + New defconfigs: FriendlyARM NanoPi R2S, Kontron BL i.MX8M + Mini, Microchip Sama7g7ek, Olimex STMP157 OlinuXino LIME2, + QEMU PPC Bamboo, PPC64 PowerNV, Raspberry Pi Zero 2W, Spike + Riscv64, Xilinx zcu102 + + Removed defconfigs: Synopsys arch38 VDK, aarch64 VDK + + New packages: ace, alchemy, alfred, bat, bento4, bmx7, + bpftool, brcmfmac_sdio-firmware-rpi, cfm, cups-pk-helper, + davinci-bootcount, dbus-cxx, embiggen-disk, freeipmi, + gocryptfs, kodi-pvr-plutotv, kodi-pvr-waipu, ksmbd-tools, + libcamera-apps, libest, libexecinfo, libfutils, libglvnd, + libks, libmd, libopenaptx, libpeas, libshdata, liburing, lilv, + lua-argon2, lua-cffi, lua-inotify, lv2, mali-driver, + moby-buildkit, modsecurity2, networkd-dispatcher, pahole, + php-apcu, php-lua, php-pam, python-argon2-cffi-bindings, + python-cssselect2, python-distro, python-fonttools, + python-gnupg, python-installer, python-memory-profiler, + python-mpd2, python-pep517, python-pydyf, python-pypa-build, + python-pyphen, python-tinycss2, python-tomli, + python-weasyprint, python-zopfli, qoriq-cadence-dp-firmware, + riscv-isa-sim, rockchip-mali, rpi-rgb-led-matrix, sdbus-cpp, + sentry-cli, serd, simple-mail, sord, sratom, + sunxi-mali-utgard, sunxi-mali-utgard-driver, tinifier, ulog, + vulkan-headers, xlib_libxcvt, zabbix, zchunk, zynaddsubfx + + Removed packages: gstreamer1-mm, python, python-backports-abc, + python-backports-functools-lru-cache, + python-backports-shutil-get-terminal-size, + python-backports-ssl-match-hostname, python-configobj, + python-dialog, python-enum, python-enum34, python-functools32, + python-futures, python-id3, python-ipaddr, python-ipaddress, + python-mad, python-nfc, python-pam, python-pathlib2, + python-pycap, python-pyro, python-singledispatch, + python-subprocess32, python-typing, python-yieldfrom, + qt5webkit-examples, rpi-bt-firmware, rpi-wifi-firmware, + sunxi-mali-mainline, sunxi-mali-mainline-driver, zynq-boot-bin + + Issues resolved (http://bugs.uclibc.org): + + #12271: python-iptables runtime dependencies + #13436: PPP 2.4.9 is out + #14351: needs to mount sysfs before mount -a + #14451: nodejs won't build on Fedora 35 + #14471: alsa_utils wrong deployment + #14501: lttng-modules v2.11 package fails to build + #14531: Package EFL - build error + +2021.11.2, released February 28th, 2022 + + Important / security related fixes. + + Defconfigs: Andes ae3xx, Intel galileo: Fix build with host + gcc >= 10, ROC-RK3399-PC: Bump rootfs size to fix build issue. + + Add conditional patching logic to fix build issues for older + U-Boot / Linux kernel versions when built with a host gcc >= + 10. + + Updated/fixed packages: apitrace, binutils, casync, cgilua, + connman, expat, gauche, gdb, gensio, glibc, go, gst-omx, + gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, kf5-extra-cmake-modules, kodi, + libarchive, linux, lm-sensors, localedef, log4cxx, mpd, + nfs-utils, php, pistache, pkcs11-helper, prosody, + python-django, python-pyzmq, python-regex, + python-sqliteschema, resiprocate, rtl8723bu, thermald, tiff, + tor, util-linux, vim, xen + +2021.11.1, released January 29th, 2022 + + Important / security related fixes. + + check-package: Improve variable override check + + pkg-stats: List CVEs where the version info cannot be parsed + as unsure rather than completely ignoring them. + + Defconfigs: Beaglebone: Support BeagleBone black wireless, + stm32f469_xip_disco: Fix kernel boot + + Updated/fixed packages: alsa-utils, apache, binutils, cage, + capnproto, civetweb, clamav, collectd, connman, containerd, + coreutils, dav1d, docker-cli, docker-engine, erlang, + erlang-rebar, expat, findutils, flare-engine, flare-game, + font-awesome, freeswitch, gcc, ghostscript, glibc, gnuchess, + go, grpc, gst1-interpipe, gst1-rtsp-server, gupnp-tools, + hackrf, icu, imagemagick, janus-gateway, json-for-modern-cpp, + keepalived, lapack, libdbi, libiio, libjpeg, libmbim, libnss, + libopenssl, libpjsip, libqmi, liburiparser, libvirt, + linux-pam, lxc, mbedtls, mender, mongodb, mpd-mpc, mutt, + nodejs, openblas, pcre2, php, pipewire, polkit, privoxy, + prosody, python-charset-normalizer, python-django, + python-idna, python-lxml, python-pyqt5, python-requests, + python-urllib3, python3, qt5base, qt5location, rhash, + rng-tools, ruby, runc, rustc, samba4, sofia-sip, targetcli-fb, + tcpreplay, tinyxml, tor, tpm2-tss, util-linux-libs, vim, vlc, + wireshark, xapp_xauth, xapp_xinput-calibrator, xen, xenomai, + xlib_libX11, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #14451: nodejs won't build on Fedora 35 + #14471: alsa_utils wrong deployment + +2021.11, released December 5th, 2021 + + Various fixes. + + Defconfigs: Grinn chiliboard/liteboard, PC x86-64 bios: Fix + build + + Updated/fixed packages: apr, coreutils, diffutils, e2fsprogs, + exfat, freeswitch, gnupg, grub2, gstreamer1, guile, heimdal, + hiawatha, hplip, icu, janus-gateway, + kodi-screensaver-asterwave, kodi-screensaver-cpblobs, + kodi-screensaver-matrixtrails, libatomic_ops, libbson, libffi, + libgdiplus, libgee, libhtp, libite, libnspr, libnss, + libunwind, lynx, mender-grubenv, mkpasswd, motion, mxml, + netdata, qemu, samba4, speex, stress-ng, tinydtls, unixodbc, + unrar, util-linux, util-linux-libs, watchdogd, wireshark + + Issues resolved (http://bugs.uclibc.org): + + #14351: needs to mount sysfs before mount -a + #14411: 2021.11-rc2: Samba doesn't compile + +2021.11-rc3, released November 30th, 2021 + + Fixes all over the tree. + + Defconfigs: Nitrogen8mp: Fix Linux build, Zynqmp-zxu106: Fix + ATF build + + Updated/fixed packages: asterisk, automake, gdb, glorytun, + gmp, hackrf, libgee, libglib2, libmodsecurity, libosmium, + libressl, lighttpd, linux, micropython, mosquitto, mtd, + nfs-utils, nss-myhostname, pcre, php, poco, pure-ftpd, + python-cycler, qemu, qdecoder, smack, smcroute, spidev_test, + strace, syslinux, toolchain, uboot, uhd, vim, websocketpp, + wireshark, xcursor-transparent-theme, xscreensaver, + xtables-addons + + Issues resolved (http://bugs.uclibc.org): + + #14346: BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch CONFIG_NFSD.. + +2021.11-rc2, released November 19th, 2021 + + Fixes all over the tree. + + Coding style fixes for a large number of board genimage + configuration files for clarity and consistency. + + Defconfigs: Acmesystems Aria/Arietta g25, Armadeus + apf28/apf51, beagleboneai, Olimx a64, rock64, sheevaplug: Fix + build with hostcc >= 10, Nezha: Correct U-Boot dependencies + + Updated/fixed packages: alsa-lib, apparmor, binutils, + bluez5_utils, botan, diffutils, firmware-utils, gdb, glmark2, + glog, gpu-amd-bin-mx51, gst1-interpipe, imx-vpuwrap, iperf, + isl, janet, libdnet, libglib2, libhtp, liburcu, log4cxx, + luajit, luvi, meson, mksh, mongodb, mosquitto, mpd, mupdf, + opencv4, oracle-mysql, pipewire, postgresql, python-aiohttp, + python-pudb, python-ujson, qhull, samba4, seatd, sg3_utils, + suricata, tpm2-tss, uboot, vim, xserver_xorg-server + + New packages: pipewire-media-session + + Issues resolved (http://bugs.uclibc.org): + + 14311: Cannot compile dahdi (part of Asterisk) for x86 (P1mmx) + +2021.11-rc1, released November 8th, 2021 + + Numerous package updates. Notable updates including numerous + Python modules, Kodi add-ons, nodejs, OpenJDK. + + Toolchain: + - glibc update to 2.34 + - support for gdb 11.x added, gdb 10.x now the default + - external toolchains provided by ARM updated + - remove support for internal toolchain on the CSKY + architecture, as it was broken and unmaintained + + Many packages updated to enable the appropriate SELinux + refpolicy module when SELinux support is enabled. + + Support was added in the test-pkg package testing utility for + using Gitlab CI to run the builds. + + New libgbm virtual package to better support OpenGL + implementations that provide a libgbm library. + + Bootloaders/firmware: grub2 extended to be able to support + multiple platforms in the same build. + + Filesystems: + - new OCI filesystem type, to build container images + compatible with the Open Container Initiative standard + - support for hybrid ISO9660 images added, which work on + legacy and EFI BIOS machines + + New defconfigs: Allwinner nezha, stm32mp157c_odyssey + + Removed defconfigs: qemu_csky + + New packages: dtbocfg, firmware-utils, gstd, libdbi, + libdbi-drivers, libteam, lua-augeas, mstpd, php-pecl-dbus, + python-aioprocessing, python-bidict, + python-charset-normalizer, python-flask-expects-json, + python-git, python-pyndiff, python-rsa, + python-unitest-xml-reporting, python-xmljson, + python3-cryptography, python3-pip, qt5opcua, rwmem, + sloci-image, softhsm2, sun20i-d1-spl, uqmi, vuejs-router, + watchdogd, wireplumber + + Removed packages: canfestival, python-meld3 + + Work toward the removal of python 2 has progressed: many + python modules and packages have been updated to a version + supporting python 3. + + Issues resolved (http://bugs.uclibc.org): + + #14271: compilation error with rsync command for permission + #14276: Unable to get login prompt + #14196: when using raspberrypicm4io_64_defconfig, make fails + with mkfs.ext4: No such file or directory while trying + to determine filesystem size + +2021.08.3, released December 13th, 2021 + + Important / security related fixes. + + Defconfigs: Various fixes for building with gcc >= 10 host or + target compilers. + + Updated/fixed packages: alsa-lib, apparmor, apr, asterisk, + binutils, bluez5_utils, coreutils, e2fsprogs, exfat, + freeswitch, gdb, glmark2, glog, glorytun, gmp, + gpu-amd-bin-mx51, gst1-interpipe, gstreamer1, guile, gupnp, + hackrf, heimdal, hiawatha, hplip, icu, imx-vpuwrap, isl, + janus-gateway, libatomic_ops, libbson, libdnet, libffi, + libgdiplus, libgee, libglib2, libhtp, libmodsecurity, libnspr, + libnss, libosmium, libunwind, linux, lynx, meson, micropython, + mkpasswd, mksh, mosquitto, motion, mupdf, mxml, netdata, + nfs-utils, opencv4, oracle-mysql, pcre, php, postgresql, + pure-ftpd, python-cycler, qdecoder, rcw-smarc-sal28, samba4, + smack, speex, stress-ng, suricata, syslinux, uboot, unixodbc, + unrar, vim, websocketpp, wireshark + + Issues resolved (http://bugs.uclibc.org): + + #14346: BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch CONFIG_NFSD.. + +2021.08.2, released November 10th, 2021 + + Important / security related fixes. + + Updated/fixed packages: asterisk, audit, bind, bitcoin, + containerd, cryptsetup, dahdi-linux, dbus-python, dfu-util, + docker-cli, docker-engine, earlyoom, edk2-platforms, exiv2, + ffmpeg, freerdp, gdb, gensio, gnupg2, go, gpsd, + gst1-plugins-bad, gst1-plugins-ugly, gst1-vaapi, gtest, + hiredis, lftp, libps1, libva, libva-utils, lightning, + log4cplus, lrzip, netdata, nodejs, olsr, openjdk, openjdk-bin, + pango, php, python3-cffi, qemu, refpolicy, rng-tools, samba4, + snort, strongswan, sunxi-mali-mainline-driver, suricata, + systemd, tor, vim, weston, wf111, wireguard-linux-compat, + xerces + + Issues resolved (http://bugs.uclibc.org): + + #14311: Cannot compile dahdi (part of Asterisk) for x86 (P1mmx) + +2021.08.1, released October 11, 2021 + + Important / security related fixes. + + gdbinit: Mark the sysroot as a "safe path" before configuring + it, so pretty printers work correctly without having to pass + -ix to gdb + + Updated/fixed packages: alsa-lib, apache, + arm-trusted-firmware, atftp, bind, botan, cog, containerd, + cryptopp, docker-cli, dash, dc3dd, docker-engine, dovecot, + environment-setup, erlang, fetchmail, ffmpeg, fio, gcc, gd, + gdb, ghostscript, gnuradio, gnutils, go, + gobject-introspection, google-breakpad, gst-omx, + gst1-devtools, gst1-interpipe, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, gupnp, haproxy, imlib2, kodi, + kodi-pvr-octonet, kodi-visualisation-fishbmc, libcurl, + libexif, libgcrypt, libglib2, libkrb5, libressl, librsvg, + libsndfile, libssh, libvirt, libxcrypt, libyang, links, lvm2, + lynx, lxc, mc, mesa3d, micropython, minicom, mono, mosquitto, + mtr, mupdf, mv-ddr-marvell, net-tools, nginx-dav-ext, nmap, + nodejs, ntfs-3g, openjdk, openjdk-bin, openldap, openssh, + pcre2, php, php-gnupg, pipewire, postgis, python-aioconsole, + python-cbor2, python-cffi, python-cython, python-dateutil, + python-django, python-pillow, python-pip, python-texttable, + python-urllib3, python-webob, qemu, qt5location, redis, + refpolicy, ripgrep, ruby, runc, sispmctl, sox, squid, + strongswan, supervisor, swupdate, syslinux, systemd, tinycbor, + trace-cmd, uboot-tools, uclibc, udisks, uhd, vim, vsftpd, + wavemon, webkitgtk, wget, wireless-regdb, wpewebkit, + xapp_xrdb, xapp_xwd, xen, xlib_libXfont2, xlib_libXft, + xserver_xorg-server, zip + + Issues resolved (http://bugs.uclibc.org): + + #14206: Kodi: even when not enabled, forcefully selects libevdev.. + #14211: libffi-3.3.tar.gz repacked + #14221: mv-ddr-marvell fails license validation + +2021.08, released September 4th, 2021 + + Various fixes. + + Updated/fixed packages: gstreamer1-mm, netsniff-ng, nginx, + openmpi, python-pyudev, python3, qt5base, wlroots, xvisor + +2021.08-rc3, released August 31st, 2021 + + Fixes all over the tree. + + Toolchain: Disable fortify support for Microblaze as it is not + currently working. + + Defconfigs: Acmesystems aria/ariette g25: Fix build issue + after at91bootstrap bump, BeagleV: Correct kernel headers + version, PC x86-64: Bump kernel to 4.19.204 to fix build issue + with GCC 10.x. + + Updated/fixed packages: alsa-utils, at91bootstrap3, belle-sip, + bullet, c-ares, cjson, coreutils, cpio, eigen, fetchmail, gdb, + haproxy, heirloom-mailx, ipmiutil, kvm-unit-tests, libarchive, + libffi, libmodsecurity, libopenssl, libressl, libshout, + libvirt, linux-pam, lmbench, localedef, lua-lunix, mesa3d, + mpv, mtd, nodejs, nvidia-driver, openvmtools, php, polkit, + python-requests, python3-requests, rust-bin, rustc, samba4, + sdl2, snort3, ushare, xen + + Removed packages: libmcrypt, mcrypt, sentry-cli + +2021.08-rc2, released August 18th, 2021 + + Fixes all over the tree. + + Defconfigs: Acmesystems acqua a5: Bump at91bootstrap version + to fix build issue with binutils >= 2.35, Microchip sam9x60ek + mmc_dev: Add missing toolchain/system options, sama5d2-icp + mmc: Correct at91bootstrap options + + Updated/fixed packages: arm-trusted-firmware, at91bootstrap3, + azure-iot-sdk-c, bluez5_utils, bullet, busybox, cegui, efl, + erlang, ffmpeg, flatbuffers, fontconfig, gcc, gd, glibc, go, + gobject-introspection, gpsd, guile, harfbuzz, iozone, iputils, + jszip, libargtable2, libbpf, libebml, libepoxy, libesmtp, + libfuse3, libgeos, libnss, libodb-boost, libodb-mysql, + libodb-pgsql, libqmi, libqrtr-glib, libuhttpd, libuwsc, + libvirt, ltp-testsuite, luaossl, mongodb, mpd, mupdf, mutt, + network-manager, nginx-naxsi, nodejs, ogre, openzwave, + optee-os, osm2pgsql, pdbg, perl-net-ssh2, php, pipewire, + pistache, pixman, poke, polkit, poppler, postgresql, postkit, + prelink-cross, prosody, protobuf, pulseview, + python-cryptography, python-keyring, python-matplotlib, + python-pymupdf, python-pyopenssl, python-secretstorage, + python-treq, python-txtorcon, python3, qemu, qpdf, qt5base, + refpolicy, ruby, rust-bin, s390-tools, sconeserver, seatd, + shairport-sync, sox, sqlite, sylpheed, sysdig, syslog-ng, + system-config-printer, tar, terminology, tor, tpm2-tools, uhd, + unbound, usbguard, wireshark, xen, xenomai, xlib_libxshmfence, + zstd + + New packages: desktop-file-utils + + Issues resolved (http://bugs.uclibc.org): + + #13586: grub failure with BR2_OPTIMIZE_3 + #13671: openSSH server closes connection before authentication.. + +2021.08-rc1, released August 3rd, 2021 + + Numerous package updates. + + Toolchain: + + - add support for gcc 11.x, gcc 10.x is now the default, gcc + 9.x updated to 9.4.0, removed gcc 8.x support except for + PowerPC SPE + + - add support for binutils 2.37, binutils 2.36.x is now the + default, binutils 2.34 removed. + + - glibc updated to 2.33 + + - gdb enabled on NIOS II, gdbserver enabled on RISC-V. + + Bootloaders/firmware: support for building the EDK II UEFI + firmware, support for building AT91Bootstrap 4.x. + + New BR2_ENABLE_RUNTIME_DEBUG option, that controls whether + packages should be compiled with runtime debugging + information (which is different than debugging symbols). + + Many features of the bluez5_utils package have been made + optional, and default to disabled. Users of bluez5_utils are + encouraged to review their configuration. + + Many packages (over 70) updated to enable the appropriate + SELinux refpolicy module when SELinux support is enabled. + + Many packages updated to select the appropriate OpenSSL + features after many OpenSSL ciphers/features have been made + optional. + + New defconfigs: kontron_pitx_imx8m, microchip_sama5d2_icp, + qemu_aarch64_sbsa, raspberrypicm4io, raspberrypicm4io_64, + terasic_de10nano_cyclone5, uevm5432. + + New packages: alsa-plugins, apg, bmap-tools, daq3, edk2, + edk2-platforms, gumbo-parser, libbpf, libosmium, libpsl, + libqb, libtalloc, libvirt, lua-linux, lua-zlib, mupdf, + opencv4, osm2pgsql, poke, python-augeas, python-dbus-next, + python-pymupdf, rtl_433, rtl8812au-aircrack-ng, seatd, snort3, + system-config-printer, usbguard, xml-security-c, xmrig. + + Removed packages: clapack, libsoil. + + Issues resolved (http://bugs.uclibc.org): + + #13326: regarding dtc error in buildroot source code + #13661: host-python2 build fails on aarch64 + #13836: package build failure when target install set to no on + pkg-generic pkg types + #13846: BR2_PACKAGE_LVM2_STANDARD_INSTALL should be default to + y as before + +2021.05.3, released October 11, 2021 + + Important / security related fixes. + + gdbinit: Mark the sysroot as a "safe path" before configuring + it, so pretty printers work correctly without having to pass + -ix to gdb + + Updated/fixed packages: alsa-lib, apache, + arm-trusted-firmware, atftp, bind, botan, containerd, + cryptopp, dash, dc3dd, docker-cli, docker-engine, dovecot, + erlang, fetchmail, ffmpeg, gdb, ghostscript, go, gst-omx, + gst1-devtools, gst1-interpipe, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, kodi, kodi-pvr-octonet, + kodi-visualisation-fishbmc, libcurl, libkrb5, libressl, + libsndfile, libxcrypt, libyang, lxc, lynx, mesa3d, + micropython, minicom, mono, mtr, mv-ddr-marvell, net-tools, + nmap, nodejs, ntfs-3g, openjdk, openjdk-bin, openldap, + openssh, pcre2, php, python-aioconsole, python-cffi, + python-dateutil, python-django, python-pip, python-texttable, + python-urllib, python-webob, qt5location, redis, refpolicy, + ripgrep, runc, sispmctl, squid, strongswan, supervisor, + syslinux, tinycbor, trace-cmd, uboot-tools, uclibc, wavemon, + wget, wireless-regdb, xen, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #14206: Kodi: even when not enabled, forcefully selects libevdev.. + #14211: libffi-3.3.tar.gz repacked + #14221: mv-ddr-marvell fails license validation + +2021.05.2, released September 15th, 2021 + + Important / security related fixes. + + Toolchain: Disable fortify support for Microblaze as it is not + currently working. + + Updated/fixed packages: alsa-utils, arm-trusted-firmware, + bayer2rgb-neon, belle-sip, bullet, busybox, c-ares, cjson, + coreutils, cpio, eigen, environment-setup, fetchmail, ffmpeg, + fontconfig, gd, gdb, gnuradio, gnutls, go, haproxy, ipmiutil, + iputils, jszip, kvm-unit-tests, libarchive, libargtable2, + libexif, libgcrypt, libmodsecurity, libopenssl, librsvg, + libshout, libssh, libxcrypt, linux, linux-pam, localedef, mc, + mesa3d, mosquitto, netsniff-ng, nginx, nodejs, ogre, openjdk, + openmpi, openvmtools, perl-net-ssh2, php, pipewire, + postgresql, prelink-cross, prosody, protobuf, python-keyring, + python-matplotlib, python-pillow, python-pyudev, + python-secretstorage, python3, qt5base, samba4, sdl2, sox, + swupdate, sylpheed, tar, terminology, tor, uboot-tools, uhd, + unbound, ushare, vim, wlroots, xapp_xrdb, xapp_xwd, xen, + xenomai, xlib_libXfont2, xlib_libXft, zip + +2021.05.1, released August 10, 2021 + + Important / security related fixes. + + Toolchain: Disable PIC/PIE for Microblaze (like for NIOS II) + as it is not currently working. + + binutils: fix linker assert failure on OpenRisc, or1k build + issue with gcc < 5 + + gdb: Enable on NIOS II + + utils/scanpypi: Various improvements + + Defconfigs: stm32f469_disco: Fix kernel boot issue, Microchip + sam9x60ek mmc_dev: Add missing toolchain/system options + + Updated/fixed packages: arm-trusted-firmware, apache, audit, + avahi, bind, binutils, bird, bluez5_utils, boinc, busybox, + chrony, clamav, connman, cryptsetup, dnsmasq, docker-cli, + docker-engine, dovecot, dovecot-pigeonhole, e2fsprogs, exiv2, + fail2ban, fb-test-app, feh, fetchmail, ffmpeg, flac, fluxbox, + gawk, gcc, gcr, gdb, gdk-pixbuf, gesftpserver, glibc, go, + gptfdisk, gqrx, granite, grub2, guile, hdparm, heirloom-mailx, + htop, ibrcommon, ibrdtn, ibrdtn-tools, ibrdtnd, + intel-microcode, iodine, irqbalance, keepalived, kexec-tools, + libass, libconfig, libcurl, libfreeimage, libfuse3, libgcrypt, + libgudev, libhtp, libinput, libjson, libgtk3, libkrb5, + libloki, libmodsecurity, libndp, libnetfilter-log, + libnfnetlink, libnice, libodb, libodb-boost, libodb-mysql, + libodb-pgsql, libpcap, libqmi, libqrtr-glib, libressl, + librsvg, libtasn1, libtirpc, libuci, libxmlrpc, + linux-firmware, linuxptp, lrzsz, lvm2, mariadb, mesa3d, + mbedtls, monit, mono, mosquitto, mpd, mpg123, mpv, nbd, + netsnmp, nettle, nmap, nodejs, ntp, openntpd, openpgm, + openswan, pango, pcre2, perl-crypt-openssl-rsa, php, pixman, + postgresql, proxychains-ng, putty, python, + python-dataproperty, python-django, python-pysftp, + python-urllib3, python3, qpdf, redis, ripgrep, rsync, ruby, + samba4, sane-backends, slirp, spice, squid, suricata, tcpdump, + tftpd, thrift, tor, tpm2-tools, trinity, uboot, uboot-tools, + uclibc, vlc, wireless-regdb, wireshark, wolfssl, + xapp_fonttosfnt, xlib_libX11, xlib_libxshmfence, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13586: grub failure with BR2_OPTIMIZE_3 + #13661: host-python2 build fails on aarch64 + #13836: package build failure when target install set to no.. + #13846: BR2_PACKAGE_LVM2_STANDARD_INSTALL should be default to.. + +2021.05, released June 6th, 2021 + + Various fixes. + + Disable PIC/PIE support for Nios2 because of glibc issues + + Defconfigs: Minnowboard max: Fix X11 and mesa3d configuration + + Updated/fixed packages: apache, beaglev-ddrinit, + beaglev-secondboot, capnproto, dc3dd, directfb, efibootmgr, + ffmpeg, gptfdisk, go, gupnp, hostapd, iftop, + intel-mediadriver, libcamera, libcutl, libesmtp, libkcapi, + libraw, lttng-tools, lvm2, mimic, mono-gtksharp3, mpv, + netperf, odb, qt5base, uclibc, uftrace, unscd, vlc, + xdriver_xf86-video-fbturbo + + New packages: python3-cffi, python3-cryptography, python3-pip, + python3-pycparser, python3-six + +2021.05-rc3, released May 31th, 2021 + + Fixes all over the tree. + + meson: Explicitly disable PIE support (b_pie) as it is handled + by the toolchain wrapper. + + Updated/fixed packages: boost, dhcp, expat, gdb, hwloc, imagemagick, + libcurl, libopenh264, llvm, lz4, mpv, nginx, paho-mqtt-c, pifmrds, + pipewire, python-bluezero, python-pillow, qemu, strace, uhd, vlc, + webkitgtk + + Issues resolved (http://bugs.uclibc.org): + + #13821: Wrong url for libnfsidmap package + +2021.05-rc2, released May 22th, 2021 + + Fixes all over the tree. + + support/scripts/gen-missing-cpe: A script to query the list of + CPE IDs for the packages enabled in the current configuration and: + + - for CPE IDs that do not have any matching entry in the CPE + database, it emits a warning + + - for CPE IDs that do have a matching entry, but not with the same + version, it generates a snippet of XML that can be used to propose + an updated version to NIST. + + CPE meta data has been added for a large number of packages + + Updated/fixed packages: assimp, binutils, bitcoin, bullet, + cutelyst, dhcp, dmalloc, docker-engine, ebtables, + environment-setup, flatcc, gcc, gd, gerbera, hostapd, + imx-gpu-viv, intel-microcode, jquery-validation, libdrm, + libgeos, libraw, libtirpc, libxml2, libxslt, live555, lmbench, + localedef, lvm2, mender, mender-grubenv, modem-manager, mutt, + opensbi, openssh, opentyrian, pipewire, postgis, postgresql, + prosody, python-bluezero, python-falcon, redis, rocksdb, + rt-tests, runc, vlc, waylandpp, webkitgtk, wireshark, + wpa_supplicant, wpewebkit, xlib_libX11, xterm + + New packages: jh71xx-tools + + Issues resolved (http://bugs.uclibc.org): + + #13781: isc dhcp-server package don't create file /usr/bin/dhcpd + #13801: toolchainfile.cmake CMAKE_BUILD_TYPE + #13806: Building host-localedef fails on fedora 34/gcc 11 + +2021.05-rc1, released May 12th, 2021 + + Fixes all over the tree and new features. + + FORTIFY_SOURCE, PIC/PIE, RELRO and SSP security hardening + options are now enabled by default. + + Dependencies: Explicitly detect and bail out if PATH contains + spaces or tabs. A number of packages fail to build in such + setups, so explicitly inform about this. + + Infrastructure: Expose CONFIG_DIR to post-build/post-image + scripts, so they can call the Buildroot Makefile in the + correct directory for both in-tree / out-of-tree builds. + + CMake infrastructure: Use CMAKE_EXE_LINKER_FLAGS rather than + CMAKE_CXX_FLAGS to link with libatomic to fix an compatibility + issue with poppler. Bump minimal host cmake version to 3.16 + (from 3.15) to fix a compatibility issue with domoticz. + + Meson: Use correct C++ host compiler (rather than C compiler) + + utils/scanpypi: Explicitly use python3 for compatibility with + packages using python3 syntax in setup.py + + support/download: Fix tarball generation (from git/svn repos) + including symlinks pointing to ./. Fix svn download + for <1.9 clients or repos using CVS-style keywords. + + support/scripts/cve.py: Use the (significantly) faster yajl2 + ijson backend for older (< 2.5) ijson versions rather than the + slow python default, speeding up pkg-stats by ~2x. + + Toolchain: Add logic to work around binutils bug 21464 + (affecting OpenRISC), bug 27597 (affecting Nios II) and drop + the now longer applicable bug 19615 / 20006 handling. + + Python{,3}: Fix byte compiling python files with short (single + character before .py) file names. + + CPE meta data has been added for a large number of packages + + New defconfigs: Acme Systems Acqua A5 (256/512MB), Beagleboard + BeagleV, Boundary devices Nitrogen8M Plus SOM, NXP i.MX 8M + Plus EVK, QEMU PPC e500mc + + New packages: beaglev-ddrinit, beaglev-secondboot, janet, + kodi-inputstream-ffmpegdirect, kodi-vfs-libarchive, + kodi-visualisation-matrix, libxcrypt, libqrtr-glib, log4qt, + mawk, perl-parse-yapp, postgis, protozero, python-flask-wtf, + python-iwlib, python-semantic-version, python-setuptools-rust, + python-toml, riscv64-elf-toolchain, siproxyd, uftrace, zfs + + Removed packages: iostat, kodi-platform, + kodi-screensaver-crystalmorph, monkey + + Issues resolved (http://bugs.uclibc.org): + + #13271: systemd-resolved: /etc/resolv.conf link broken on per-pa.. + #13516: utils/scanpypi: Failure when parsing diffoscope + #13551: 2021.02.rc2: Unicode not work on qt 5.15.2 + #13576: Issues compiling buildroot for 5x86 + #13601: Gen image :Iappropriate ioctl error + #13616: tar file from git repository generation issue + #13631: Commit 54d3d94b6e breaks packages with git download method + #13641: glibc on raspberrypi + #13646: Gen image version 14 error : no sub -section title/.. + #13651: pkg-golang cannot build when main.go is in the root + #13661: host-python2 build fails on aarch64 + #13671: openSSH server closes connection before authentication.. + #13721: c-stack.c:55:26: error: missing binary operator before .. + #13731: Readline Patch is missing Author Information + #13741: genext2fs does not allow to set perms of root node + #13751: libopenssl (static): huge drop in performance in newer .. + #13771: package htop has undeclared dependency on host python + +2021.02.10, released February 28th, 2022 + + Important / security related fixes. + + Defconfigs: Andes ae3xx, Intel galileo: Fix build with host + gcc >= 10, ROC-RK3399-PC: Bump rootfs size to fix build issue. + + Add conditional patching logic to fix build issues for older + U-Boot / Linux kernel versions when built with a host gcc >= + 10. + + Updated/fixed packages: casync, cgilua, connman, expat, + gauche, gensio, go, gst-omx, gst1-devtools, gst1-libav, + gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, + gst1-plugins-ugly, gst1-python, gst1-rtsp-server, gst1-vaapi, + gstreamer1, gstreamer1-editing-services, + kf5-extra-cmake-modules, kodi, libarchive, linux, lm-sensors, + log4cxx, mpd, nfs-utils, pistache, prosody, python-django, + python-pyzmq, rtl8723bu, thermald, tiff, util-linux, vim, xen + +2021.02.9, released January 29th, 2022 + + Important / security related fixes. + + check-package: Improve variable override check + + pkg-stats: List CVEs where the version info cannot be parsed + as unsure rather than completely ignoring them. + + Defconfigs: Beaglebone: Support BeagleBone black wireless + + Updated/fixed packages: alsa-utils, apache, cage, capnproto, + civetweb, clamav, collectd, connman, coreutils, dav1d, + docker-cli, docker-containerd, docker-engine, expat, + findutils, flare-engine, flare-game, font-awesome, freeswitch, + gcc, ghostscript, gnuchess, go, grpc, gst1-interpipe, + gst1-plugins-bad, gst-rtsp-sever, gupnp-tools, hackrf, icu, + imagemagick, janus-gateway, keepalived, lapack, libjpeg, + libopenssl, libpjsip, liburiparser, linux-pam, lxc, mbedtls, + mongodb, mpd-mpc, nodejs, openblas, pcre2, polkit, poppler, + privoxy, prosody, python-django, python-lxml, python-pyqt5, + python3, qt5base, qt5location, rhash, ruby, runc, samba4, + sofia-sip, targetcli-fb, tcpreplay, tinyxml, vim, vlc, + wireshark, xapp_xauth, xen, xlib_libX11, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #14471: alsa_utils wrong deployment + +2021.02.8, released December 14th, 2021 + + Important / security related fixes. + + Defconfigs: Various fixes for building with gcc >= 10 host or + target compilers. + + Updated/fixed packages: alsa-lib, apparmor, apr, asterisk, + binutils, bluez5_utils, busybox, coreutils, e2fsprogs, ell, + exfat, freeswitch, gdb, glmark2, glog, glorytun, gmp, + gpu-amd-bin-mx51, gst1-interpipe, gstreamer1, guile, gupnp, + hackrf, heimdal, hiawatha, hplip, icu, imx-vpuwrap, isl, iwd, + janus-gateway, libatomic_ops, libbson, libdnet, libffi, + libgdiplus, libgee, libhtp, libmodsecurity, libnspr, libnss, + libunwind, linux, lynx, meson, micropython, mkpasswd, mksh, + mosquitto, motion, mxml, netdata, nfs-utils, oracle-mysql, + pcre, pkcs11-helper, postgresql, pure-ftpd, python-cycler, + qdecoder, rcw-smarc-sal28, samba4, smack, speex, stress-ng, + suricata, syslinux, uboot, unixodbc, unrar, vim, websocketpp, + wireshark + + Issues resolved (http://bugs.uclibc.org): + + #14346: BR2_PACKAGE_NFS_UTILS_RPC_NFSD does not patch CONFIG_NFSD.. + +2021.02.7, released November 10th, 2021 + + Important / security related fixes. + + OpenJDK 16.x moved to 17.x as 16.x is EOL. + + Updated/fixed packages: asterisk, audit, bind, bitcoin, + cryptsetup, dahdi-linux, dbus-python, dfu-util, docker-cli, + docker-containerd, docker-engine, earlyoom, exiv2, ffmpeg, + freerdp, gdb, gensio, gnupg2, go, gpsd, gst1-plugins-bad, + gst1-plugins-ugly, gst1-vaapi, hiredis, lftp, lightning, + lrzip, netdata, nodejs, olsr, openjdk, openjdk-bin, pango, + qemu, samba4, snort, strongswan, suricata, systemd, vim, + wf111, wireguard-linux-compat, xerces + + Issues resolved (http://bugs.uclibc.org): + + #14311: Cannot compile dahdi (part of Asterisk) for x86 (P1mmx) + +2021.02.6, released October 11, 2021 + + Important / security related fixes. + + gdbinit: Mark the sysroot as a "safe path" before configuring + it, so pretty printers work correctly without having to pass + -ix to gdb + + Updated/fixed packages: alsa-lib, apache, + arm-trusted-firmware, atftp, bind, botan, cryptopp, dash, + dc3dd, docker-cli, docker-containerd, docker-engine, dovecot, + erlang, fetchmail, gdb, ghostscript, go, gst-omx, + gst1-devtools, gst1-interpipe, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, kodi-pvr-octonet, libcurl, + libkrb5, libressl, libsndfile, libyang, lxc, lynx, mesa3d, + micropython, minicom, mono, mtr, mv-ddr-marvell, net-tools, + nmap, nodejs, ntfs-3g, openjdk, openjdk-bin, openldap, + openssh, php, python-aioconsole, python-cffi, python-dateutil, + python-django, python-pip, python-texttable, python-urllib3, + python-webob, qt5location, redis, refpolicy, ripgrep, runc, + sispmctl, squid, strongswan, supervisor, syslinux, tinycbor, + trace-cmd, uboot-tools, uclibc, wavemon, wireless-regdb, xen, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #14206: Kodi: even when not enabled, forcefully selects libevdev.. + #14211: libffi-3.3.tar.gz repacked + #14221: mv-ddr-marvell fails license validation + +2021.02.5, released September 15th, 2021 + + Important / security related fixes. + + Toolchain: Disable fortify support for Microblaze as it is not + currently working. + + Updated/fixed packages: alsa-utils, arm-trusted-firmware, + bayer2rgb-neon, belle-sip, busybox, c-ares, cjson, coreutils, + cpio, eigen, environt-setup, fetchmail, fluidsynth, + fontconfig, gd, gdb, gnuradio, gnutls, go, haproxy, ipmiutil, + iputils, jszip, kvm-unit-tests, libarchive, libexif, + libgcrypt, libmodsecurity, libopenssl, librsvg, libshout, + libssh, linux, localedef, mc, mesa3d, mosquitto, netsniff-ng, + nginx, nodejs, ogre, openmpi, openvmtools, php, postgresql, + prelink-cross, prosody, protobuf, python-keyring, + python-matplotlib, python-pillow, python-pyudev, + python-secretstorage, python3, qt5base, samba4, sdl2, sox, + swupdate, sylpheed, tor, uboot-tools, uhd, unbound, vim, + wlroots, xapp_xrdb, xapp_xwd, xen, xenomai, xlib_libXfont2, + xlib_libXft, zip + +2021.02.4, released August 10th, 2021 + + Important / security related fixes. + + Toolchain: Disable PIC/PIE for Microblaze (like for NIOS II) + as it is not currently working. + + binutils: fix linker assert failure on OpenRisc, or1k build + issue with gcc < 5 + + gdb: Enable on NIOS II + + utils/scanpypi: Various improvements + + Defconfigs: stm32f469_disco: Fix kernel boot issue, Microchip + sam9x60ek mmc_dev: Add missing toolchain/system options + + Updated/fixed packages: apache, arm-trusted-firmware, audit, + avahi, bind, binutils, bird, bluez5_utils, boinc, busybox, + chrony, clamav, cryptsetup, cwiid, dnsmasq, docker-cli, + docker-engine, dovecot, dovecot-pigeonhole, e2fsprogs, exiv2, + fail2ban, fb-test-app, feh, fetchmail, flac, fluxbox, gawk, + gcc, gcr, gdb, gdk-pixbuf, gesftpserver, glibc, go, gptfdisk, + granite, grub2, gqrx, guile, hdparm, heirloom-mailx, + ibrcommon, ibrdtn, ibrdtn-tools, ibrdtnd, intel-microcode, + iodine, irqbalance, keepalived, libass, libconfig, libcurl, + libfreeimage, libfuse3, libgcrypt, libgtk3, libgudev, libhtp, + libjson, libkrb5, libloki, libmodsecurity, libndp, + libnetfilter-log, libnfnetlink, libnice, libodb, libodb-boost, + libodb-mysql, libodb-pgsql, libpcap, libqmi, libressl, + librsvg, libtasn1, libtirpc, libuci, libxmlrpc, + linux-firmware, linuxptp, lrzsz, ltp-testsuite, lvm2, mariadb, + mbedtls, monit, mono, mosquitto, mpd, mpg123, mpv, nbd, neard, + netsnmp, nettle, nginx-modsecurity, nmap, nodejs, ntp, + openntpd, openpgm, openswan, pango, pcre2, + perl-crypt-openssl-rsa, php, pixman, polkit, postgresql, + proxychains-ng, putty, python, python-django, + python-dataproperty, python-pysftp, python-urllib3, python3, + qpdf, redis, ripgrep, ruby, samba4, spice, slirp, suricata, + sysdig, tcpdump, tftpd, thrift, tor, tpm2-tools, trinity, + uboot, uboot-tools, uclibc, util-linux, vlc, wireless-regdb, + wireshark, wolfssl, xapp_fonttosfnt, xlib_libX11, + xlib_libxshmfence, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13586: grub failure with BR2_OPTIMIZE_3 + #13661: host-python2 build fails on aarch64 + #13836: package build failure when target install set to no.. + #13846: BR2_PACKAGE_LVM2_STANDARD_INSTALL should be default to.. + +2021.02.3, released June 12th, 2021 + + Important / security related fixes. + + CPE meta data has been added for a large number of packages + + Updated/fixed packages: acpid, apache, apcupsd, assimp, bird, + bitcoin, blktrace, boost, capnproto, chrony, dc3dd, dhcp, + directfb, dmalloc, docker-engine, ebtables, efibootmgr, + enlightenment, enscript, environment-setup, exempi, expat, + findutils, flatcc, fluidsynth, frr, gdb, go, gptfdisk, grpc, + gst1-plugins-bad, gst1-rtsp-server, gstreamer1, gupnp, + hostapd, hwloc, i2c-tools, iftop, imagemagick, imx-gpu-viv, + intel-mediadriver, intel-microcode, jquery-validation, + keepalived, kodi, less, libcamera, libcurl, libcutl, libesmtp, + libeXosip2, libffi, libfuse, libfuse3, libgeos, libgtk2, + libgtk3, libical, libidn, libidn2, libkcapi, libldns, libmms, + libmodbus, libmspack, libnids, libopenh264, liboping, libraw, + librelp, libsamplerate, libtirpc, libusb, libuv, libxcb, + libxml2, libxslt, live555, llvm, lmbench, localedef, + lttng-tools, lvm2, lz4, mesa3d, mimic, mini-snmpd, minidlna, + minissdpd, minizip, mono-gtksharp3, mpg123, mpv, msmtp, musl, + mutt, nasm, nbd, netperf, netsurf, nginx, odb, opencv3, + openssh, opentyrian, oprofile, p7zip, paho-mqtt-c, perl, + php-imagick, pifmrds, picocom, pigz, pngquant, poco, + postgresql, prosody, proxychains-ng, pulseaudio, putty, pwgen, + python-autobahn, python-bluezero, python-engineio, + python-keyring, python-pillow, python-requests, python-tqdm, + qemu, qpdf, qt5base, redis, refpolicy, rt-tests, runc, + shellinabox, squid, strace, supervisor, synergy, taglib, + tclap, terminology, thermald, tini, tinyproxy, tinyxml2, + tpm2-tss, uclibc, udisks, uhd, unscd, vlc, waylandpp, + webkitgtk, weston, wireshark, wpa_supplicant, wpewebkit, + xlib_libdmx, xlib_libFS, xlib_libICE, xlib_libX11, + xlib_libXcursor, xlib_libXdmcp, xlib_libXext, xlib_libXfixes, + xlib_libXfont2, xlib_libXinerama, xlib_libXpm, xlib_libXres, + xlib_libXt, xlib_libXtst, xlib_libXxf86dga, xlib_libXxf86vm, + xterm + + Issues resolved (http://bugs.uclibc.org): + + #13781: isc dhcp-server package don't create file /usr/bin/dhcpd + #13801: toolchainfile.cmake CMAKE_BUILD_TYPE + #13806: Building host-localedef fails on fedora 34/gcc 11 + +2021.02.2, released May 12th, 2021 + + Important / security related fixes. + + Toolchain: Add logic to mark toolchains affected by binutils + bug 27597 (Nios II). + + support/scripts/cve.py: Use the (significantly) faster yajl2 + ijson backend for older (< 2.5) ijson versions rather than the + slow python default, speeding up pkg-stats by ~2x. + + CMake infrastructure: Use CMAKE_EXE_LINKER_FLAGS rather than + CMAKE_CXX_FLAGS to link with libatomic to fix an compatibility + issue with poppler. + + Infrastructure: Expose CONFIG_DIR to post-build/post-image + scripts, so they can call the Buildroot Makefile in the + correct directory for both in-tree / out-of-tree builds. + + Updated/fixed packages: at91bootstrap, avahi, bash, bind, + bridge-utils, boost, cegui, cifs-utils, clamav, cmake, + coremark-pro, coreutils, cryptsetup, dmalloc, dnsmasq, + docker-cli, docker-engine, domoticz, efl, exim, ffmpeg, flex, + gcc, genext2fs, go, gst1-interpipe, haproxy, hostapd, + i2c-tools, imx-vpu, kexec, kf5-kcoreaddons, kismet, libcamera, + libcurl, libdrm, libfreefare, libfuse3, libgeos, libgpiod, + libnpupnp, libopenssl, libp11, librsync, libtomcrypt, libupnp, + localedef, lvm2, lxc, m4, makedevs, mender, mesa3d, + mesa3d-headers, mkpasswd, mkpimage, modem-manager, monkey, + mpd, ncurses, nettle, network-manager, nginx, numactl, + openjdk, openjdk-bin, openldap, openvpn, php, pipewire, + python-aioconsole, python-asgiref, python-botocore, + python-django, python-dnspython, python-flup, python-httplib2, + python-markdown2, python-mbrstrdecoder, python3, quickjs, + readline, rsyslog, ruby, rust, samba4, sconeserver, snort, + sox, systemd, tar, timescaledb, tio, tor, usb_modeswitch, + wpa_supplicant, xdriver_xf86-video-ati, xen, xlib_libXaw, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13271: systemd-resolved: /etc/resolv.conf link broken on per-pa.. + #13551: 2021.02.rc2: Unicode not work on qt 5.15.2 + #13651: pkg-golang cannot build when main.go is in the root + #13661: host-python2 build fails on aarch64 + #13721: c-stack.c:55:26: error: missing binary operator before .. + #13731: Readline Patch is missing Author Information + #13741: genext2fs does not allow to set perms of root node + #13751: libopenssl (static): huge drop in performance in newer .. + #13771: package htop has undeclared dependency on host python + +2021.02.1, released April 7, 2021 + + Important / security related fixes. + + Dependencies: Explicitly detect and bail out if PATH contains + spaces or tabs. A number of packages fail to build in such + setups, so explicitly inform about this. + + utils/scanpypi: Explicitly use python3 for compatibility with + packages using python3 syntax in setup.py + + support/download: Fix tarball generation (from git/svn repos) + including symlinks pointing to ./. Fix svn download + for <1.9 clients or repos using CVS-style keywords. + + Meson: Use correct C++ host compiler (rather than C compiler) + + Toolchain: Add logic to work around binutils bug 21464, + affecting OpenRISC, and drop the now longer applicable bug + 19615 / 20006 handling. + + Python{,3}: Fix byte compiling python files with short (single + character before .py) file names. + + CPE meta data has been added for a large number of packages + + Defconfigs: Correct Beaglebone QT file system overlay + + Updated/fixed packages: alsa-utils, at91bootstrap3, + batman-adv, binutils, botan, bridge-utils, busybox, + ca-certificates, cog, coreutils, diffutils, dmidecode, + docker-cli, docker-containerd, docker-engine, efivar, + fetchmail, frr, genimage, git, gnutls, go, grub2, gst-omx, + gst1-devtools, gst1-libav, gst1-plugins-bad, + gst1-plugins-base, gst1-plugins-good, gst1-plugins-ugly, + gst1-python, gst1-rtsp-server, gst1-vaapi, gstreamer1, + gstreamer1-editing-services, haproxy, haserl, hwloc, + irqbalance, jasper, kexec, kexec-lite, kismet, kodi, libcurl, + libfreeglut, libgcrypt, libgeos, libglib2, libopenssl, libqmi, + libressl, libupnp, libvips, libvpx, libwebsockets, linux, + lldpd, logrotate, lttng-libust, lttng-tools, mariadb, mbedtls, + mcelog, mender, micropython, mongoose, mosquitto, mpd, + netsnmp, nodejs, openmpi, openssh, openvpn, opkg-utils, + optee-client, optee-test, perl, php, proftpd, protobuf, + python-django, python-jinja2, python-lxml, python-paramiko, + python-py, python-pygments, python-rpi-ws281x, python-urllib3, + python3, qt5webkit, qwt, rpm, samba4, sconeserver, sdl2, shim, + sqlcipher, squid, sysklogd, syslinux, sysvinit, tor, + transmission, tzdata, uboot, uclibc, upx, webkitgtk, + wireshark, wpebackend-fdo, wpewebkit, xen, zstd + + New packages: perl-parse-yapp + + Issues resolved (http://bugs.uclibc.org): + + #13516: utils/scanpypi: Failure when parsing diffoscope + #13576: Issues compiling buildroot for 5x86 + #13601: Gen image :Iappropriate ioctl error + #13616: tar file from git repository generation issue + #13641: glibc on raspberrypi + #13646: Gen image version 14 error : no sub -section title/.. + #13671: openSSH server closes connection before authentication.. + +2021.02, released March 6th, 2021 + + Various fixes. + + Toolchain: Correct Bootlin xtensa-lx60 dependencies + + Updated/fixed packages: asterisk, belle-sip, bustle, dhcpcd, + dovecot, dovecot-pigeonhole, gnuchess, gnuradio, + gst1-plugins-bad, haproxy, jasper, kismet, libebml, + libeXosip2, libgeos, libhtp, libjpeg, libopenssl, libshout, + libstrophe, mosquitto, openblas, openssh, perl, privoxy, + prosody, python-pyyaml, python3-pyyaml, quagga, redis, + rust-bin, sox, suricata, tpm2-pkcs11, uclibc-ng-test, ushare, + util-linux, wolfssl, wpa_supplicant + + Issues resolved (http://bugs.uclibc.org): + + #13501: 2021.02.rc2: Unicode not work on qt 5.15.2 + #13581: jpegsrc.v9d.tar.gz has changed hash + +2021.02-rc3, released February 27th, 2021 + + Fixes all over the tree. + + utils/scanpypi: Explicitly use python3 to ensure compatiblity + with packages having python3-only code in setup.py + + support/download: Ensure sub-second timestamp precision is + dropped when creating a tarball from a (subversion) repo, as + that is not representable in the PAX tar format + + Updated/fixed packages: babeltrace2, bind, botan, brltty, + cegui, elfutils, fakeroot, imagemagick, intel-mediasdk, + irqbalance, libglib2, libselinux, libusb, libuwsc, nodejs, + open62541, openldap, ply, python-aiohttp, python-django, + python3, qemu, readline, rust, screen, taglib, unbound, xterm + + Issues resolved (http://bugs.uclibc.org): + + #13516: utils/scanpypi: Failure when parsing diffoscope + #13541: 2021.02.rc2: irqbalance: Daemon couldn't be bound to... + #13561: Create a new user defining users-table.txt not working.. + +2021.02-rc2, released February 16th, 2021 + + Fixes all over the tree. + + Vulnerability scanning: cpedb.py: Drop CPE XML database + caching, as it did not speed up processing much and uses a lot + of additional memory. + pkg-stats: include information about ignored CVEs in JSON + output + + Fakeroot: Fix compatibility issue with glibc 2.33 + + Updated/fixed packages: can-utils, collectd, dnsmaqs, + docker-cli, docker-engine, ebtables, fakeroot, flashrom, + gdk-pixbuf, go, gst1-python, jasper, kodi, + kodi-inputstream-adaptive, lcms2, libgeos, libgpg-error, + libopenssl, mongoose, mpd, ne10, netopeer2, openblas, orc, + perl-gd, ply, postgresql, protobuf, subversion, tcpdump, + tzdate, uboot-tools, wireshark, webkitgtk, wpewebkit, xterm + + New packages: perl-extutils-pkgconfig + + Issues resolved (http://bugs.uclibc.org): + + #11706: binman (U-boot tool) cannot find libfdt "binman: No mod.. + +2021.02-rc1, released February 9th, 2021 + + Fixes all over the tree and new features. + + Toolchain: Default to binutils 2.35.2, add 2.36.1, drop + 2.33.x. Fix GCC 10.x ARC adc/sbc pattern handling, Update ARM + toolchains to 10.2-2020.11 release. + + Architectures: ARC: add support for generic HS48 processor, + PPC: drop PPC601 support, which was removed from Linux 5.10. + + Vulnerability scanning: The CVE checking logic has been + extended to match packages based on CPE (Common Platform + Enumeration) IDs for more accurate matching, and CPE + identifiers have been added for a large amount of packages. + + Download: Rework the tarball creation logic (E.G. when a + package is fetched from a git/svn repo) to no longer require a + host-tar <= 1.29. To differ between the old and the new + format, the new tarballs have gained a -br1 suffix + (--br1.tar.gz). + + SELinux support: A significant number of packages now pull in + the relevant refpolicy modules when enabled. + + New defconfigs: arrow avenger96, bananapi M1+, microchip + sam9x60ek, pine64 rock64 + + Removed defconfigs: QEMU ppc virtex-ml507 + + New packages: balena-engine, casync, coremark, coremark-pro, + datatables, datatables-buttons, datatables-fixedcolumns, + datatables-responsive, delve, frotz, gkrellm, inih, jszip, + libgeos, libiec61850, libmdbx, lualdap, neofetch, + nvidia-modprobe, open62541, perl-devel-cycle, perl-devel-size, + perl-math-int64, ply, popperjs, python-bleak, + python-defusedxml, python-pycups, python-pytest-asyncio, + python-typing-extensions, qcom-db410c-firmware, qt5coap, + qt5knx, qt5mqtt, quickjs, rcw-smarc-sal28, screenfetch, + ssdp-responder, tpm2-pkcs11, wqy-zenhei, xorcurses + + Removed packages: audiofile, boa, ipsec-tools, libupnp18, + ti-sgx-libgdbm + + Renamed rcw package to qoriq-rcw + + Issues resolved (http://bugs.uclibc.org): + + #13316: beaglebone_qt5_defconfig: PowerVR fails to start + #13416: dhcpcd start warning message: no such user dhcpcd + #13456: ccache prevents build + #13471: package/mpd/mpd.conf make use of path not created + #13506: BR2_PACKAGE_DHCPCD missing directory creation + +2020.11.4, released April 5th, 2021 + + Important / security related fixes. + + Dependencies: Explicitly detect and bail out if PATH contains + spaces or tabs. A number of packages fail to build in such + setups, so explicitly inform about this. + + utils/scanpypi: Explicitly use python3 for compatibility with + packages using python3 syntax in setup.py + + support/download: Fix tarball generation (from git/svn repos) + including symlinks pointing to ./ + + Meson: Use correct C++ host compiler (rather than C compiler) + + Updated/fixed packages: asterisk, at91bootstrap3, babeltrace2, + batman-adv, bind, ca-certificates, cegui, cog, diffutils, + docker-containerd, dovecot, dovecot-pigeonhole, efivar, + elfutils, fakeroot, git, gnuchess, gnuradio, gnutls, go, + grub2, haserl, i7z, imagemagick, intel-mediasdk, irqbalance, + jasper, kodi, libcurl, libebml, libeXosip2, libglib2, libhtp, + libjpeg, libopenssl, libqmi, libressl, libupnp, libuwsc, + libvips, lldpd, mariadb, mbedtls, mender, micropython, + mosquitto, netsnmp, nodejs, openblas, openldap, openmpi, + openssh, opkg-utils, optee-client, optee-test, perl, php, + privoxy, proftpd, prosody, protobuf, python-aiohttp, + python-django, python-lxml, python-pyyaml, python-rpi-ws281x, + python-typing-extensions, python3, quagga, qwt, redis, rpm, + sconeserver, screen, sox, sqlcipher, squid, suricata, + syslinux, sysvinit, tor, transmission, tzdata, uboot, unbound, + upx, util-linux, webkitgtk, wireshark, wolfssl, + wpebackend-fdo, wpewebkit, wpa_supplicant, zstd + + Issues resolved (http://bugs.uclibc.org): + + #13516: utils/scanpypi: Failure when parsing diffoscope + #13541: 2021.02.rc2: irqbalance: Daemon couldn't be bound to.. + #13576: Issues compiling buildroot for 5x86 + #13581: jpegsrc.v9d.tar.gz has changed hash + #13616: tar file from git repository generation issue + +2020.11.3, released February 17th, 2021 + + meson: Fix ccache detection handling when per-package builds + are used. + + Fakeroot: Fix compatibility issue with glibc 2.33 + + Updated/fixed packages: atftp, binutils, busybox, cereal, + chartjs, connman, dhcpcd, dnsmasq, docker-cli, docker-engine, + ebtables, fakeroot, flashrom, go, gst1-python, guile, + intel-mediadriver, intel-microcode, jasper, + kodi-inputstream-adaptive, lcms2, libbsd, libopenssl, + makedumpfile, memtester, mosquitto, ne10, openblas, orc, php, + postgresql, privoxy, pugixml, python-bottle, python-django, + python3, rauc, sox, stress-ng, subversion, tzdata, + uboot-tools, uclibc, webkitgtk, wireguard-linux-compat, + wireshark, wpa_supplicant, wpewebkit, xenomai, + xserver_xorg-server, xterm + + Issues resolved (http://bugs.uclibc.org): + + #11706: binman (U-boot tool) cannot find libfdt "binman: No mod.. + #13506: BR2_PACKAGE_DHCPCD missing directory creation + +2020.11.2, released January 31st, 2021 + + Important / security related fixes. + + Download: Ensure git submodules are correctly fetched if + enabled for a package with _GIT_SUBMODULES = YES and the + host variant is downloaded first. + + Toolchain: Mark CodeSourcery Aarch64 2014.11 toolchain as not + having libatomic. Bootlin PowerPC-440 FP toolchain updated for + SecurePLT fix. + + pkg-stats: Fix python 3.8+ deprecation warning. + + meson: Ensure ccache is not detected and used, as it may + conflict with the ccache handling in Buildroot. + + Updated/fixed packages: barebox, boost, brltty, dbus, + docker-containerd, dovecot, dovecot-pigeonhole, + environment-setup, firmware-imx, gcc, gerbera, glibc, + gmrender-resurrect, igd2-for-linux, kodi-pvr-zattoo, libclc, + libfuse3, libllcp, libodb-mysql, libtorrent-rasterbar, + libupnp, lpc32xxcdl, luarocks, mpd, multipath-tools, mutt, + nfs-utils, nodejs, openjpeg, openldap, opentracing-cpp, + openvpn, p11-kit, paho-mqtt-c, php, poppler, postgresql, + python3, redis, resiprocate, rpm, runc, socat, sslh, sudo, + sunxi-mali-mainline-driver, syslog-ng, systemd, tini, + tpm2-tss, trace-cmd, tzdata, uboot-tools, uhd, ushare, + util-linux, vlc, wavpack, wireguard-linux-compat, wolfssl, + xapp_xload, xorriso, zic + + Removed packages: libupnp18 + + Issues resolved (http://bugs.uclibc.org): + + #13471: package/mpd/mpd.conf make use of path not created + +2020.11.1, released December 27th, 2020 + + Important / security related fixes. + + Infrastructure: + - cmake: fix host ccache handling for CMake 3.19 + - meson: Forcibly disable binary stripping for + target builds, enable for host builds + - golang: Fix HOST / TARGET directories for per-package builds + + Defconfigs: Beaglebone Qt5: Fix ti-sgx related issues + + Updated/fixed packages: apitrace, arm-trusted-firmware, + ca-certificates, cryptopp, dhcpcd, dtv-scan-tables, + flare-engine, ghostscript, go, haproxy, imagemagick, + imx-gpu-viv, jasper, kismet, libcurl, libglib2, libhtp, + libopenssl, libressl, libuv, libuvw, lua, mbedtls, mongodb, + mutt, ncurses, netsnmp, nodejs, opencv3, openldap, opkg-utils, + paho-mqtt-c, python-crc16, python-lxml, python-pyparsing, + python-pyqt5, qt5base, rauc, shadowsocks-libev, sqlcipher, + suricata, ti-sgx-demos, tinycbor, uclibc-ng-test, unbound, + webkitgtk, wpewebkit, wireshark, x11vnc, xen, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13316: beaglebone_qt5_defconfig: PowerVR fails to start + #13416: dhcpcd start warning message: no such user dhcpcd + +2020.11, released December 2nd, 2020 + + Various fixes. + + Updated/fixed packages: bustle, docker-containerd, gnuplot, + gst1-plugins-good, jemalloc, kmsxx, libcap, libplist, + libuhttpd, libxkbcommon, lynx, mariadb, netsurf, privoxy, + s390-tools, setserial, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13276: libcap builds libcap.pc incorrectly + +2020.11-rc3, released November 28th, 2020 + + Fixes all over the tree. + + Updated/fixed packages: c-ares, cage, cdrkit, + dovecot-pigeonhole, efl, gvfs, harfbuzz, jpeg-turbo, + libcamera, libkrb5, libpam-tacplus, libxkbcommon, minidlna, + modem-manager, monkey, musl, ncurses, numactl, openntpd, + openrc, postgresql, proftpd, python-flask-cors, python-pip, + qemu, raptor, redis, slirp, spandsp, thermald, uhd, vsftpd, + webkitgtk, wireless-regdb, wlroots, wpewebkit, xen, xinetd, + xorriso + + Issues resolved (http://bugs.uclibc.org): + + #13296: host-libcap failed to build + #13331: openrc-0.42.1 compilation failure on gcc-10 + #13336: thermald-1.9.1 compilation failure with musl 1.2.1 + #13341: Mistake in /etc/init.d/S70vsftpd + +2020.11-rc2, released November 14th, 2020 + + Fixes all over the tree. + + cve-checker script dropped. Instead the pkg-stats logic has + been extended to be able to only generate stats for the + configured packages using 'make pkg-stats' + + Removed defconfigs: rock64 + + Updated/fixed packages: apparmor, asterisk, bitcoin, busybox, + cups-filters, cryptsetup, davfs2, domoticz, elf2flt, freetype, + ghostscript, glmark2, go, gst1-plugins-bad, guile, jsoncpp, + libcap, libexif, libnetfilter_conntrack, libpam-tacplus, + libsigrokdecode, linux-backports, linux-firmware, mesa3d, + modem-manager, mp4v2, oniguruma, openntpd, python3, + python-lmdb, python-m2crypto, rauc, s390-tools, slirp, + stress-ng, suricata, systemd, tcpdump, tmux, tor, webkitgtk, + wireguard-linux-compat, wpewebkit, xen + + Issues resolved (http://bugs.uclibc.org): + + #13281: Raspberry Pi 2: overlays folder missing in genimage-ra.. + #13291: BR2_DL_DIR is ignored when creating defconfig + #13306: wpewebkit build problem in 2020-11-rc1 + +2020.11-rc1, released November 4th, 2020 + + Fixes all over the tree and new features. + + Architectures: Support for IBM s390x + + Toolchain: use Secure-PLT rather than BSS-PLT for PowerPC + 32. Binutils 2.35.1 added, now defaulting to 2.34. ARC + 2020.09-release toolchain. GCC 7.x dropped. RISC-V support for + uclibc-ng. Support for Bootlin external toolchains. + + SELinux support improvements: File security contexts are now + set when the file systems are created, so there is no need to + run restorecon on first boot / read only rootfs is supported. + An optimized / stripped refpolicy SELinux policy is now + used. Packages can enable additional refpolicy modules using + _SELINUX_MODULES. + + support/scripts/cve-checker: Utility script to check for known + CVEs in just the packages enabled in a Buildroot configuration + rather than all packages, by passing the output of 'make + show-info' to it. + + Go: Modules handling. The module name must be specified using + _GOMOD. + + BR2_EXTERNAL: Support for defining skeleton and init system + packages in external trees. + + meson: Correct SDK cross-compilation.conf file when + per-package builds were used to build SDK. + + systemd: Use /run rather than /var/run for PID files in units. + + Fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) are now run + after all finalization hooks (including pre-rootfs) to ensure + they can override any late configuration done by packages. + + support/script/pycompile: Rework logic to ensure .pyc files + contain absolute target paths, fixing code inspection at + runtime when executed with cwd != '/'. + + support/scripts/setlocalversion: Correct Mercurial output to + match behaviour with Git. + + support/scripts/apply-patches.sh: Use patch + --no-backup-if-mismatch, so we no longer blindly have to + remove *.orig files after patching, fixing issues with + packages containing such files. + + New defconfigs: Acer chromebook elm, Friendlyarm nanopc-t4 and + nanopi-m4, Hardkernel odroid-c2, Kontron SMARC-sAL28, NXP + imx8mqevk, Orangepi RK3399 and zero+, PCengines APU2, Pine64 + rockpro64, QEMU s390x, Raxda rockpi-n8, + + New packages: altera-stapl, asn1c, babeltrace2, cukinia, + easyframes, environment-setup, frr, graphicsmagick, htpdate, + ipcalc, libbacktrace, libblockdev, libbytesize, librelp, + libuev, makedumpfile, meson-tools, mg, mrp, multipath-tools, + netcalc, odroidc2-firmware, php-xdebug, python-aiofiles, + python-ansicolors, python-boto3, python-botocore, + python-bsdiff4, python-crayons, python-iniconfig, + python-intelhex, python-ipdb, python-jmespath, + python-m2crypto, python-opcua-asyncio, python-packaging, + python-piexif, python-pluggy, python-pytest, + python-s3transfer, python-xmodem, qprint, qt5lottie, + qt5remoteobjects, re2, redir, s390-tools, sentry-cli, + sentry-native, timescaledb, tinyhttpd, uhd, uredir, watchdog, + wayland-utils, weston-imx + + Removed packages: amd-catalyst, bellagio, gqview, libcroco, + nvidia-tegra23, opencv + + Issues resolved (http://bugs.uclibc.org): + + #11811: lsblk (util-linux) should depend on libudev if available + #11931: Bugs in support/scripts/apply-patches.sh + #12301: systemd-journal-gatewayd: config options broken + #12911: usb_modeswitch installation race condition + #13236: Can't compile linux 5.4.8 (with gcc 10 on host) + #13286: The system hangs in vmware workstation on the line.. + +2020.08.3, released December 27th, 2020 + + Important / security related fixes. + + Infrastructure: + - cmake: fix host ccache handling for CMake 3.19 + - meson: Forcibly disable binary stripping for + target builds, enable for host builds + - golang: Fix HOST / TARGET directories for per-package builds + + Defconfigs: Beaglebone Qt5: Fix ti-sgx related issues + + Updated/fixed packages: apitrace, arm-trusted-firmware, + bustle, c-ares, ca-certificates, cage, cdrkit, cryptopp, + dhcpcd, docker-containerd, dtv-scan-tables, flare-engine, + ghostscript, gvfs, haproxy, imagemagick, imx-gpu-viv, jasper, + jemalloc, jpeg-turbo, libcamera, libcap, libcurl, libglib2, + libgpiod, libkrb5, libopenssl, libplist, libressl, libuv, + libuvw, lynx, mariadb, mbedtls, minidlna, mongodb, monkey, + musl, mutt, ncurses, netsnmp, netsurf, nodejs, opencv3, + openldap, openrc, opkg-utils, paho-mqtt-c, php, privoxy, + proftpd, python-crc16, python-flask-cors, python-lxml, + python-pip, python-pyparsing, python-pyqt5, qemu, qt5base, + raptor, rauc, ruby, setserial, shadowsocks-libev, slirp, + sqlcipher, thermald, ti-sgx-demos, tinycbor, unbound, vsftpd, + wireless-regdb, wireshark, wlroots, x11vnc, xen, xinetd, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13276: libcap builds libcap.pc incorrectly + #13316: beaglebone_qt5_defconfig: PowerVR fails to start + #13336: thermald-1.9.1 compilation failure with musl 1.2.1 + #13341: Mistake in /etc/init.d/S70vsftpd + #13416: dhcpcd start warning message: no such user dhcpcd + +2020.08.2, released November 16th, 2020 + + Important / security related fixes. + + Toolchain-wrapper: Pass -fno-tree-loop-distribute-patterns to + fix kernel build on microblaze with gcc 10.x when + optimizations are enabled. + + Updated/fixed packages: apparmor, argp-standalone, asterisk, + bandwidthd, binutils, bitcoin, busybox, collectd, cryptsetup, + cups-filters, darkhttpd, davfs2, docker-cli, + docker-containerd, docker-engine, dovecot-pigeonhole, + dvb-apps, elf2flt, fastd, fbset, fbtft, freetype, gcc, + ghostscript, grpc, gst1-plugins-bad, jsoncpp, + kernel-module-imx-gpu-viv, keepalived, kmscube, libass, + libexif, libiqrf, libnetfilter_conntrack, libpam-tacplus, + libraw, linux-backports, linux-firmware, lzlib, mp4v2, + netsnmp, nginx, numactl, oniguruma, opencv3, openntpd, + patchelf, php, pistache, postgresql, python-pyqt5, qemu, + qt5base, rauc, redis, samba4, slirp, systemd, tcpdump, + tinyproxy, tmux, tor, waf, webkitgtk, wine, + wireguard-linux-compat, wireshark, wpewebkit, xen, xorriso, + xvisor, zeromq, zxing-cpp + + Issues resolved (http://bugs.uclibc.org): + + #11931: Bugs in support/scripts/apply-patches.sh + +2020.08.1, released October 12th, 2020 + + Important / security related fixes. + + Fixes for various compilation issues with GCC 10.x. + + meson: Correct SDK cross-compilation.conf file when + per-package builds were used to build SDK. + + systemd: Use /run rather than /var/run for PID files in units. + + Toolchain: use Secure-PLT rather than BSS-PLT for PowerPC 32. + + Fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) are now run + after all finalization hooks (including pre-rootfs) to ensure + they can override any late configuration done by packages. + + support/script/pycompile: Rework logic to ensure .pyc files + contain absolute target paths, fixing code inspection at + runtime when executed with cwd != '/'. + + support/scripts/setlocalversion: Correct Mercurial output to + match behaviour with Git. + + support/scripts/apply-patches.sh: Use patch + --no-backup-if-mismatch, so we no longer blindly have to + remove *.orig files after patching, fixing issues with + packages containing such files. + + fs/jffs2: Now correctly handles xattrs + + Updated/fixed packages: acpica, afboot-stm32, alsa-utils, + apparmor, bandwidthd, barebox, bash, bison, brotli, + cifs-utils, cups, dhcpcd, dhcpdump, docker-cli, docker-engine, + ecryptfs-utils, efl, fail2ban, fbterm, ffmpeg, fontconfig, + freetype, gcc, gdb, ghostscript, gnupg2, gnutls, go, gqview, + gst1-plugins-base, gst1-plugins-ugly, ipmitool, jbig2dec, + kexec, lcdproc, libcamera, libhtp, libnetconf2, libraw, + libssh, libxml2, libxml-parser-perl, libzip, linux-headers, + live555, localedef, ltp-testsuite, lua, matchbox, memcached, + memtester, mesa3d, meson, minidlna, mongodb, mongrel2, motion, + mraa, mtd, musepack, neardal, netatalk, netperf, netsniff-ng, + nginx, nodejs, nss-pam-ldapd, open-plc-utils, openswan, + opentyrian, openvmtools, php, postgresql, python, + python-aenum, python-cycler, python-engineio, python-fire, + python-pymodbus, python-scapy, python-semver, + python-sentry-sdk, python-socketio, python-texttable, + python-tinyrpc, python-txtorcon, python3, qt5base, quagga, + read-edid, redis, rsh-redone, runc, samba4, socketcand, + strace, supertux, suricata, systemd, ti-utils, trinity, + uclibc, usb_modeswitch, vlc, vsftpd, wampcc, + wayland-protocols, wireguard-linux-compat, wireshark, wlroots, + wolfssl, w_scan, xerces, xfsprogs, xdriver-xf86-video-ati, + xserver_xorg-server, ympd, zeromq, zlib-ng, zstd + + Issues resolved (http://bugs.uclibc.org): + + #12911: usb_modeswitch installation race condition + #13236: Can't compile linux 5.4.8 (with gcc 10 on host) + +2020.08, released September 1st, 2020 + + Various fixes. + + Updated/fixed packages: am33x-cm3, avahi, bluez-tools, + busybox, chocolate-doom, collectd, dhcp, docker-cli, domoticz, + gobject-introspection, graphite2, haproxy, ibm-sw-tpm2, + imagemagick, libeXosip2, libressl, lxc, mbedtls, menu-cache, + mongodb, mosquitto, nvidia-driver, paho-mqtt-c, pixz, + postgresql, python-django, rtty, squid, stress-ng, systemd, + trousers, uclibc, wireshark, wolfssl, zbar + +2020.08-rc3, released August 28th, 2020 + + Fixes all over the tree. + + Infrastructure: Ensure RPATH entries that may be needed for + dlopen() are not dropped by patchelf. + + Toolchain: Drop old GCC 6 based external Sourcery AMD64 + toolchain. + + Updated/fixed packages: assimp, davfs2, dillo, glibc, + gnuradio, hostapd, ibm-sw-tpm2, ipmitool, json-c, libroxml, + linux, mender, netopeer2, openal, openjpeg, python-matplotlib, + ripgrep, shadowsocks-libev, trousers, xlib_libX11, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13141: Target-finalize fail with "depmod: ERROR: Bad version passed" + +2020.08-rc2, released August 24th, 2020 + + Fixes all over the tree, including a number of fixes for + compilation with GCC-10. + + Toolchain: Disallow building uClibc-ng for RISC-V 64-bit, + because of issues with a missing __riscv_flush_icache() + implementation. + + Defconfigs: CI20: Use mainline Linux and U-boot. Update + Microchip sama5d27_wlsom1_ek_mmc_dev to use bluez5-utils + instead of (the removed) legacy bluez-utils + + Updated/fixed packages: 18xx-ti-utils, aircrack-ng, apache, + atest, bandwidthd, bellagio, bind, bird, bluez-alsa, boost, + c-periphery, capnproto, chrony, collectd, cpio, cvs, + dieharder, domoticz, dovecot, dovecot-pigeonhole, drbd-utils, + dump1090, efl, elixir, f2fs-tools, feh, fluidsynth, fping, + gdbm, gdk-pixbuf, ghostscript, gst1-plugins-bad, + gstreamer1-editing-services, htop, ibm-sw-tpm2, ifplugd, + iftop, igd2-for-linux, ima-evm-utils, iprutils, iputils, + keepalived, kmsxx, libabseil-cpp, libcamera, libcurl, + libfuse3, libnss, librtlsdr, libubox, libunwind, live555, + lttng-tools, luabitop, mender-artifact, minizip, + mjpg-streamer, mpd, mpv, mtd, ncftp, open-lldp, openal, + opencv, opencv3, openfpgaloader, optee-os, owfs, php, + pistache, prosody, pulseview, python-decorator, + python-gunicorn, python-rpi-gpio, python-spidev, + python3-decorator, python3-mako, python3-pyselftools, qt5, + qt5webengine, rauc, redis, ripgrep, rtl8188eu, rtl8821au, + setools, smstools3, supertux, tftpd, tpm2-abrmd, + wpa_supplicant, xen, xlib_libX11, xserver_xorg-server + + New packages: python3-cython, python3-pycryptodomex + + Issues resolved (http://bugs.uclibc.org): + + #12876: nodejs fails to build when host-icu has been built before + #13111: python-gunicorn: missing dependency on python-setuptools + #13121: wpa_supplicant fails to build without libopenssl enabled + #13146: raspberrypi3_defconfig: "Inappropriate ioctl for device".. + #13156: package live555 new license + #13166: python-rpi-gpio: does not work against aarch64, unint.. + +2020.08-rc1, released August 6th, 2020 + + Toolchain: + + - GCC 10.x added, GCC 9.x is the default + - binutils 2.34 added, binutils 2.33 is the default, binutils + 2.31 removed + - glibc updated to 2.31 + - ARC toolchain components updated to 2020.03-release. + - Enable uClibc-ng usage for RISC-V 64-bit + + Infrastructure: + + - qmake-package was fixed to be compatible with + BR2_PER_PACKAGE_DIRECTORIES + - complete rewrite of the Gitlab CI Yaml configuration file, + now generated directly by the Gitlab CI pipeline itselfs + + Misc: + + - cargo and cargo-bin packages removed, as cargo is now part + of Rust itself + + Filesystem: ubinize configuration files can now use + BINARIES_DIR to refer to the $(O)/images directory. + + New packages: bitwise, earlyoom, fuse-overlayfs, gloox, + kodi-pvr-octonet, kodi-pvr-zattoo, libabseil-cpp, libcutl, + libnids, libnpupnp, libodb, libodb-boost, libodb-mysql, + libodb-pgsql, mbpfan, netopeer2, odb, parprouted, + python-colorzero, python-gpiozero, python-pybind, python-yatl, + python3-decorator, qt5quicktimeline, resiprocate, ttyd, + unclutter-xfixes, urandom-scripts, + + New defconfigs: bananapi_m2_zero, freescale_imx8mnevk, + globalscale_espressobin, imx6ullevk, + microchip_sama5d27_wlsom1_ek, rock_pi_4, rock_pi_n10 + + Removed packages: cargo, cargo-bin, + kodi-peripheral-steamcontroller + + Issues resolved (http://bugs.uclibc.org): + + #12941: Python GObject fails to build when using BR2_PER_PACKAGE_DIRECTORIES + #12946: Grub: Decompressor is too big. + #12986: Mtools: Error converting to codepage 850 + #13001: openjdk-bin replaces libfreetype.so from host-freetype + #13011: Incorrect selection of gcc version + #13021: Minor code error when building granite-0.4.1 + #13026: rpi-firmware: must not rename start files + #13046: Optimize for fast -Ofast is not compliant + #13081: host-e2fsprogs attempts to create udev rules.d on build host if not exists + #13101: BR audit2allow support + +2020.05.3, released October 12th, 2020 + + Important / security related fixes. + + meson: Correct SDK cross-compilation.conf file when + per-package builds were used to build SDK. + + systemd: Use /run rather than /var/run for PID files in units. + + Toolchain: use Secure-PLT rather than BSS-PLT for PowerPC 32. + + Fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) are now run + after all finalization hooks (including pre-rootfs) to ensure + they can override any late configuration done by packages. + + support/script/pycompile: Rework logic to ensure .pyc files + contain absolute target paths, fixing code inspection at + runtime when executed with cwd != '/'. + + support/scripts/setlocalversion: Correct Mercurial output to + match behaviour with Git. + + support/scripts/apply-patches.sh: Use patch + --no-backup-if-mismatch, so we no longer blindly have to + remove *.orig files after patching, fixing issues with + packages containing such files. + + Updated/fixed packages: alsa-utils, apparmor, avahi, + bandwidthd, barebox, bash, bison, brotli, busybox, cifs-utils, + cryptsetup, cups, dhcpcd, dhcpdump, docker-cli, docker-engine, + ecryptfs-utils, efl, fail2ban, freetype, gcc, gdb, + ghostscript, gnutls, go, graphite2, gst1-plugins-base, + gst1-plugins-ugly, imagemagick, ipmitool, jbig2dec, libhtp, + libraw, libssh, libxml2, libxml-parser-perl, linux-headers, + localedef, lua, mbedtls, memcached, mesa3d, meson, minidlna, + mongodb, nginx, nodejs, nss-pam-ldapd, openvmtools, + paho-mqtt-c, php, postgresql, python, python-aenum, + python-django, python-engineio, python-fire, python-pymodbus, + python-scapy, python-semver, python-sentry-sdk, + python-socketio, python-texttable, python-tinyrpc, + python-txtorcon, python3, qt5base, rsh-redone, runc, samba4, + strace, supertux, suricata, systemd, uclibc, usb_modeswitch, + vlc, vsftpd, wayland-protocols, wireguard-linux-compat, + wireshark, wlroots, wolfssl, xserver_xorg-server, ympd, + zeromq, zstd + + Issues resolved (http://bugs.uclibc.org): + + #12911: usb_modeswitch installation race condition + #13251: cryptsetup does not work on branch 2020.02 following.. + +2020.05.2, released August 29th, 2020 + + Important / security related fixes. + + Infrastructure: Ensure RPATH entries that may be needed for + dlopen() are not dropped by patchelf. + + BR_VERSION_FULL/setlocalversion (used by make print-version + and /etc/os-release): Properly handle local git tags + + Updated/fixed packages: apache, assimp, at91bootstrap3, bind, + boost, busybox, capnproto, cegui, chrony, collectd, cpio, + cryptsetup, cups, cvs, dbus, docker-engine, domoticz, dovecot, + dovecot-pigeonhole, dropbear, efl, elixir, f2fs-tools, ffmpeg, + gd, gdk-pixbuf, ghostscript, glibc, gnuradio, grub2, + gst1-plugins-bad, gstreamer1-editing-services, hostapd, + ibm-sw-tpm2, iputils, jasper, json-c, libcurl, libressl, + libwebsockets, linux, live555, mesa3d, mongodb, mosquitto, + mpv, nodejs, opencv, opencv3, openfpgaloader, openjpeg, + patchelf, perl, php, postgresql, prosody, python-django, + python-gunicorn, python-matplotlib, ripgrep, rtl8188eu, + rtl8821au, ruby, shadowsocks-libev, squid, systemd, + tpm2-abrmd, tpm2-tools, trousers, uboot, webkitgtk, wireshark, + wolfssl, wpa_supplicant, wpewebkit, xen, xlib_libX11, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #12876: nodejs fails to build when host-icu has been built before + #13111: python-gunicorn: missing dependency on python-setuptools + #13121: wpa_supplicant fails to build without libopenssl enabled + #13141: Target-finalize fail with "depmod: ERROR: Bad version passed" + #13156: package live555 new license + +2020.05.1, released July 25th, 2020 + + Important / security related fixes. + + Toolchain: + - Make external toolchain version check also work for + toolchains configured with --with-gcc-major-version-only + + - Do not handle SOURCE_DATE_EPOCH in toolchain wrapper if the + compiler supports it, fixing an issue with precompiled + headers + + - Ensure debug libs from external toolchains are not installed + into target if debugging is disabled + + Download: + - Correct reproducibility issue in handling of git submodules + for older git versions. + + - Fix file locking over NFS + + fs: Ensure cpio archive element order is reproducible + + Br2-external: Fix error reporting for invalid br2-external trees + + Per-package: + - Fix an issue with python3 sysconfig data not getting + correctly expanded + + - Fix per-package building for packages using the qmake + infrastructure + + Updated/fixed packages: a10disp, asterisk, bind, brltty, + cdrkit, clamav, cryptodev-linux, dbus, docker-cli, + docker-engine, dvb-apps, e2fsprogs, exim, exiv2, freerdp, gdb, + gdk-pixbuf, gerbera, gnutls, go, granite, grub2, gssdp, + gst1-plugins-good, gst1-plugins-ugly, gupnp, intel-microcode, + iproute2, irrlicht, iwd, jq, kodi, libcamera, libcec, + libconfuse, libcurl, libevdev, libhttpserver, libmicrohttpd, + libnss, libressl, libvncserver, libxml2, libxmlrpc, lxc, + mbedtls, mediastreamer, mesa3d, meson, minizip, mongodb, + mtools, mutt, nano, network-manager, nghttp2, ngircd, nodejs, + ntp, open-plc-utils, open2300, openjdk-bin, openssh, + oracle-mysql, paho-mqtt-c, pango, php, poco, prosody, putty, + python-greenlet, python-urllib3, python-validators, python3, + readline, redis, rpi-firmware, rtl8821au, samba4, sdl2, + sqlite, squid, strace, sunxi-mali-mainline-driver, syslog-ng, + systemd, tcpreplay, tinydtls, upmpdcli, upx, vlc, webkitgtk, + wireguard-linux-compat, wireshark, wpebackend-fdo, wpewebkit, + x11vnc, znc, zstd + + Issues resolved (http://bugs.uclibc.org): + + #12941: Python GObject fails to build when using BR2_PER_PACKAGE_.. + #12946: Grub: Decompressor is too big. + #12986: Mtools: Error converting to codepage 850 + #13001: openjdk-bin replaces libfreetype.so from host-freetype + #13011: Incorrect selection of gcc version + #13021: Minor code error when building granite-0.4.1 + #13026: rpi-firmware: must not rename start files + #13031: nodejs: RangeError at new ArrayBuffer() + #13046: Optimize for fast -Ofast is not compliant + +2020.05, released June 1st, 2020 + + Various fixes. + + Updated/fixed packages: arm-trusted-firmware, gcc, mp4v2, fmc, + fmlib, glib-networking, libusb-compat, linux, qt5webengine, + sysrepo, wampcc, xen + +2020.05-rc3, released May 29th, 2020 + + Fixes all over the tree. + + Infrastructure: Support checking download hashes for packages + coming from Subversion. + + Defconfigs: Increase boot partition size to 64MB for Freescale + boards to allow space for bigger kernels. + + Updated/fixed packages: audit, bind, dovecot, efl, erlang, + ffmpeg, fio, gerbera, gnupg, leveldb, lrzip, ltrace, matio, + mesa3d, mp4v2, prosody, qemu, qt5declarative, speexdsp, + systemd, tremor, uboot-tools, unbound, wireshark + + Removed packages: wiringpi + + Issues resolved (http://bugs.uclibc.org): + + #12361: Init system (systemd) kills login on Raspberry Pi Zero + #12686: recipe for target 'install_dev' failed (libcrypto.so..) + +2020.05-rc2, released May 22nd 2020 + + Fixes all over the tree. + + U-Boot: Support building with Python 3.x instead of Python + 2.x. Since U-Boot 2020.01, various U-Boot build scripts use + Python 3.x instead of Python 2.x, so add an option to pull in + host-python3 rather than host-python. Also fix a number of + defconfigs to use this new option. + + Updated/fixed packages: apparmor, binutils, bison, brltty, + c-icap, cegui, checkpolicy, clamav, crda, cvs, docker-cli, + docker-engine, domoticz, elf2flt, exfatprogs, fakeroot, + ffmpeg, freerdp, gcc, glibc, gnuconfig, irrlicht, kmod, + libexif, libpam-tacplus, libssh2, libv4l, libvncserver, + localedef, lrzip, mariadb, matchbox, mbuffer, mesa3d, + mesa3d-headers, meson, netsniff-ng, openldap, openocd, + optee-os, p7zip, paho-mqtt-c, php, piglit, pigz, + python-argon2-cffi, python-attrs, python-future, + python-markdown, python-pycryptodomex, python-pyqt5, qt5base, + rpi-firmware, rustc, squashfs, squid, stella, suricata, + systemd, uacme, uclibc, util-linux, vboot-utils + + New packages: python3-pyelftools + + Removed packages: ezxml, mtdev2tuio, python-pycrypto + + Issues resolved (http://bugs.uclibc.org): + + #10551: PowerPC SPE and Musl + #12256: package tar is outdated (1.29 is 3 years old) + #12271: python-iptables runtime dependencies + #12321: host-generic-package: PKG_DL_OPTS not used for host package + #12391: CMake-based host package fails to include output/host/include + #12431: ethernet no detected on nanopi neo 2 + #12521: RISCV RV32IA selected, RV64GC output + #12586: avahi failure + #12596: host-e2fsprogs: tune2fs incompatibility on older glibc.. + #12611: ntp hash is not matching with upstream 4.2.8p13 + #12626: PHP missing header files within 2020.02 + #12631: glibc support Power-PC SPE + #12656: bison fails to relocate with relocate-sdk.sh + #12661: cups problems in buildroot + #12686: recipe for target 'install_dev' failed (libcrypto.so:.. + #12691: host-rust build fails + #12761: Buildroot fails when building GCNano binaries for the STM.. + #12786: Systemd spawns two getty processes when the getty port.. + #12806: There are multiple issues in buildroot that faults cups.. + #12826: nodejs-12.16.1: error: 'uv_sleep' was not declared in.. + #12831: RPI-firmware package: DTB-overlay dependency + #12836: libunwind: package does not show up in menuconfig for.. + #12841: util-linux/sfdisk 2.35.1 fails on sector-size header + #12866: should we be disabling bash executable path caching? + #12886: GMP built in wrong order (?) + #12891: QEMU, libvirt-bin, qemu-kvm Package Support required + #12901: GStreamer doesn't build on 2020-05 rc1 with GObject.. + #12906: qt PrefixPath is wrong on 2020.05-rc1 + #12921: nodejs-12.16.1: error: overriding 'virtual icu_65::.. + +2020.05-rc1, released May 7th 2020 + + Addition of support for gobject-introspection: both the + gobject-introspection package itself, but also introspection + support was enabled in a number of other packages. + + Support for Qt 5.6 was dropped as its support was dropped + upstream, only one version of Qt is supported at the moment: + Qt 5.14.2. + + Addition of support for the apparmor Linux security module, by + adding the necessary user-space packages. + + Addition of a qmake package infrastructure, now used by most + Qt-related packages. + + The Luarocks package infrastructure has been extended to + support build host packages. + + The package infrastructure was improved to allow each package + to indicate the Linux kernel configuration options it needs. + + Addition of support for generating filesystem images using the + EROFS filesystem. + + The logic that calculates the list of files installed by each + package was reworked to be compatible with the top-level + parallel build functionality. + + Addition of a package for a pre-compiled ARM32 bare-metal + toolchain, which can be used to build ARM32 code in ARM64 + configurations, such as firmware/bootloader code. + + The Qemu defconfigs are now boot-tested in Qemu as part of the + Gitlab continuous integration. + + Toolchain: gcc 9.x bumped to 9.3.0, gcc 8.x bumped to 8.4.0, + gdb bumped to 8.3.1. + + New packages: apcupsd, apparmor, arm-gnu-a-toolchain, bearssl, + belle-sip, belr, cage, chartjs, erofs-utils, exfatprogs, + gobject-introspection, ibm-sw-tpm2, imx-seco, jbig2dec, + libapparmor, libiberty, libfuse3, libtextstyle, libudfread, + libuhttpd, libuwsc, lua-lyaml, matio, mbuffer, netdata, + openfpgaloader, perl-i18n, perl-locale-maketext-lexicon, + perl-lwp-protocol-https, + perl-mojolicious-plugin-authorization, + perl-mojolicious-plugin-cspheader, + perl-mojolicious-plugin-i18n, + perl-mojolicious-plugin-securityheader, perl-mozilla-ca, + perl-path-class, pistache, pkcs11-helper, prelink-cross, + python-argon2-cffi, python-canopen, python-cbor2, + python-filelock, python-flatbuffers, python-greenlet, + python-modbus-tk, python-pyalsa, python-pysftp, python-regex, + python-snappy, rtty, tinyproxy, udev-gentoo-scripts, unbound, + vuejs, wlroots. + + New defconfigs: freescale_imx6ullevk, freescale_imx8qmmek, + nanopi_neo4, nanopi_r1, nitrogen8mm, nitrogen8mn, olpc_xo1, + olpc_xo175, roc_rk3399_pc, stm32mp157a_dk1, zynq_qmtech + + Issues resolved (http://bugs.uclibc.org): + + #10386: Add an option to put all compiled executables that + show up on target/ in staging/ as well + #11866: iniramfs file system fails to boot using Grub on EFI x86_64 + #12666: Doesn't pick up a custom bash profile + #12696: Uboot 2020.01 Problem loading Linux kernel on Nano PI NEO + #12701: [patch] wpa_supplicant must depend on openssl + #12711: host-localedef 2.30-20 fails to compile on fedora 32 (gcc 10.0.1) + #12716: bio.h not found + #12726: systemctl preset-all failed for ctrl-alt-del.target + #12731: rtl8188eu not buildung for banana pi M1 (glib, systemd, 4.18.12) + #12746: "sysdig" package description points to + http://sysdig.org, which bounces to malware site + #12751: OpenJdk package installation issues on target + #12796: Update OpenSSL to Version 1.1.1g to patch CVE-2020-1967 + #12811: bootstrap stuck and no login prompt + +2020.02.12, released April 5, 2021 + + Important / security related fixes. + + Dependencies: Explicitly detect and bail out if PATH contains + spaces or tabs. A number of packages fail to build in such + setups, so explicitly inform about this. + + utils/scanpypi: Explicitly use python3 for compatibility with + packages using python3 syntax in setup.py + + support/download: Fix tarball generation (from git/svn repos) + including symlinks pointing to ./ + + Meson: Use correct C++ host compiler (rather than C compiler) + + Updated/fixed packages: asterisk, batman-adv, bind, + ca-certificates, docker-containerd, dovecot, + dovecot-pigeonhole, diffutils, efivar, git, gnuchess, gnutls, + grub2, fakeroot, haserl, imagemagick, irqbalance, jasper, + kodi, libcurl, libebml, libglib2, libjpeg, libopenssl, + libupnp, libvips, lldpd, mariadb, mbedtls, mosquitto, nodejs, + netsnmp, nettle, openldap, openmpi, openssh, opkg-utils, perl, + php, privoxy, prosody, protobuf, python-aiohttp, + python-django, python-lxml, python-pyyaml, python-rpi-ws281x, + python3, redis, rpm, sconeserver, screen, sox, sqlcipher, + squid, sysvinit, tor, transmission, tzdata, uboot, upx, + util-linux, wireshark, wolfssl, wpa_supplicant, zstd + + Issues resolved (http://bugs.uclibc.org): + + #13516: utils/scanpypi: Failure when parsing diffoscope + #13541: 2021.02.rc2: irqbalance: Daemon couldn't be bound to.. + #13576: Issues compiling buildroot for 5x86 + #13581: jpegsrc.v9d.tar.gz has changed hash + #13616: tar file from git repository generation issue + +2020.02.11, released February 17, 2021 + + Important / security related fixes. + + meson: Fix ccache detection handling when per-package builds + are used. + + Fakeroot: Fix compatibility issue with glibc 2.33 + + Updated/fixed packages: atftp, busybox, cereal, connman, + dhcpcd, dnsmasq, docker-cli, docker-engine, fakeroot, + intel-mediadriver, intel-microcode, jasper, + kodi-inputstream-adaptive, libbsd, libopenssl, linux-headers, + mosquitto, orc, php, postgresql, privoxy, pugixml, + python-bottle, python-django, python3, rauc, sox, subversion, + tzdata, wireguard-linux-compat, wpa_supplicant, xenomai, xterm + + Issues resolved (http://bugs.uclibc.org): + + #13506: BR2_PACKAGE_DHCPCD missing directory creation + +2020.02.10, released January 31st, 2021 + + Important / security related fixes. + + Download: Ensure git submodules are correctly fetched if + enabled for a package with _GIT_SUBMODULES = YES and the + host variant is downloaded first. + + Toolchain: Mark CodeSourcery Aarch64 2014.11 toolchain as not + having libatomic. + + pkg-stats: Fix python 3.8+ deprecation warning. + + meson: Ensure ccache is not detected and used, as it may + conflict with the ccache handling in Buildroot. + + New packages: libnpupnp + + Updated/fixed packages: bctoolbox, brltty, dbus, dovecot, + dovecot-pigeonhole, gcc, gerbera, gmrender-resurrect, gst-omx, + gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, + gst1-plugins-ugly, gst1-rtsp-server, gst1-vaapi, + gst1-validate, gstreamer1, gstreamer1-editing-services, + igd2-for-linux, libclc, libllcp, libtorrent-rasterbar, + libupnp, libupnpp, lpc32xxcdl, luarocks, mpd, nfs-utils, + nodejs, openjpeg, openldap, opentracing-cpp, openvpn, p11-kit, + paho-mqtt-c, php, poppler, postgresql, python3, runc, sudo, + syslog-ng, systemd, tini, trace-cmd, tzdata, ushare, vlc, + wavpack, wireguard-linux-compat, wolfssl, xapp_xload, xorriso, + zic + + Removed packages: libupnp18 + + Issues resolved (http://bugs.uclibc.org): + + #13471: package/mpd/mpd.conf make use of path not created + +2020.02.9, released December 27th, 2020 + + Important / security related fixes. + + Infrastructure: + - cmake: fix host ccache handling for CMake 3.19 + - meson: Forcibly disable binary stripping for + target builds, enable for host builds + - golang: Fix HOST / TARGET directories for per-package builds + + Defconfigs: Beaglebone Qt5: Fix ti-sgx related issues + + Updated/fixed packages: apitrace, arm-trusted-firmware, + bustle, c-ares, ca-certificates, cdrkit, cryptopp, dhcpcd, + docker-containerd, dtv-scan-tables, flare-engine, ghostscript, + haproxy, imagemagick, imx-gpu-viv, jasper, jemalloc, + jpeg-turbo, libcap, libcurl, libglib2, libgpiod, libkrb5, + libopenssl, libplist, libressl, libuv, libuvw, lynx, mariadb, + mbedtls, minidlna, monkey, musl, mutt, ncurses, netsnmp, + nodejs, opencv3, openldap, openrc, opkg-utils, paho-mqtt-c, + php, privoxy, proftpd, python-crc16, python-flask-cors, + python-lxml, python-pip, python-pyparsing, python-pyqt5, qemu, + qt5base, raptor, rauc, ruby, setserial, shadowsocks-libev, + slirp, sqlcipher, ti-sgx-demos, tinycbor, vsftpd, + wireless-regdb, wireshark, x11vnc, xen, xinetd, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #13276: libcap builds libcap.pc incorrectly + #13316: beaglebone_qt5_defconfig: PowerVR fails to start + #13341: Mistake in /etc/init.d/S70vsftpd + +2020.02.8, released November 16th, 2020 + + Important / security related fixes. + + Updated/fixed packages: angularjs, argp-standalone, asterisk, + bandwidthd, bitcoin, busybox, cryptsetup, darkhttpd, davfs2, + docker-cli, docker-containerd, docker-engine, + dovecot-pigeonhole, fastd, fbset, fbtft, freetype, gcc, + ghostscript, gnuradio, grpc, gst1-plugins-bad, jsoncpp, + keepalived, libass, libexif, libiqrf, libpam-tacplus, libraw, + linux-backports, linux-firmware, lzlib, netsnmp, nginx, + oniguruma, opencv3, openntpd, patchelf, php, postgresql, + python-pyqt5, qt5base, rauc, redis, samba4, slirp, systemd, + tcpdump, tmux, tor, webkitgtk, wireguard-linux-compat, + wireshark, wpewebkit, xen, xorriso, zeromq, zxing-cpp + + Issues resolved (http://bugs.uclibc.org): + + #11931: Bugs in support/scripts/apply-patches.sh + +2020.02.7, released October 12th, 2020 + + Important / security related fixes. + + meson: Correct SDK cross-compilation.conf file when + per-package builds were used to build SDK. + + systemd: Use /run rather than /var/run for PID files in units. + + Toolchain: use Secure-PLT rather than BSS-PLT for PowerPC 32. + + support/script/pycompile: Rework logic to ensure .pyc files + contain absolute target paths, fixing code inspection at + runtime when executed with cwd != '/'. + + support/scripts/setlocalversion: Correct Mercurial output to + match behaviour with Git. + + support/scripts/apply-patches.sh: Use patch + --no-backup-if-mismatch, so we no longer blindly have to + remove *.orig files after patching, fixing issues with + packages containing such files. + + Updated/fixed packages: bandwidthd, barebox, bash, bison, + brotli, cifs-utils, cryptsetup, dhcpcd, dhcpdump, docker-cli, + docker-engine, ecryptfs-utils, efl, fail2ban, freetype, gcc, + gdb, ghostscript, gnutls, go, gst1-plugins-base, + gst1-plugins-ugly, ipmitool, libhtp, libraw, libssh, libxml2, + libxml-parser-perl, localedef, lua, memcached, mesa3d, meson, + minidlna, nginx, nodejs, nss-pam-ldapd, openvmtools, php, + postgresql, python, python-aenum, python-autobahn, + python-engineio, python-fire, python-pymodbus, python-scapy, + python-semver, python-sentry-sdk, python-socketio, + python-texttable, python-tinyrpc, python-txtorcon, python3, + qt5base, runc, samba4, strace, supertux, suricata, systemd, + vlc, wayland-protocols, wireguard-linux-compat, wireshark, + xserver_xorg-server, zeromq, zstd + + Issues resolved (http://bugs.uclibc.org): + + #12911: usb_modeswitch installation race condition + #13251: cryptsetup does not work on branch 2020.02 following.. + +2020.02.6, released September 5th, 2020 + + Important / security related fixes. + + Fix a 2020.02.5 build regression in busybox when systemd (and + not less) are enabled because of missing infrastructure. + + Updated/fixed packages: alsa-utils, avahi, busybox, cups, + docker-cli, graphite2, imagemagick, libeXosip2, mbedtls, + nvidia-driver, paho-mqtt-c, python-django, systemd, uclibc, + usb_modeswitch, wolfssl + + Issues resolved (http://bugs.uclibc.org): + + #12911: usb_modeswitch installation race condition + +2020.02.5, released August 29th, 2020 + + Important / security related fixes. + + Infrastructure: Ensure RPATH entries that may be needed for + dlopen() are not dropped by patchelf. + + BR_VERSION_FULL/setlocalversion (used by make print-version + and /etc/os-release): Properly handle local git tags + + Updated/fixed packages: apache, at91bootstrap3, bind, boost, + busybox, capnproto, chrony, collectd, cpio, cryptsetup, cups, + cvs, dbus, docker-engine, domoticz, dovecot, + dovecot-pigeonhole, dropbear, efl, elixir, f2fs-tools, ffmpeg, + gd, gdk-pixbuf, ghostscript, glibc, grub2, gst1-plugins-bad, + hostapd, iputils, jasper, json-c, libcurl, libwebsockets, + linux, live555, mesa3d, mosquitto, mpv, nodejs, opencv, + opencv3, openjpeg, patchelf, perl, php, postgresql, + python-django, python-gunicorn, python-matplotlib, ripgrep, + rtl8188eu, rtl8821au, ruby, shadowsocks-libev, squid, + tpm2-abrmd, tpm2-tools, trousers, uacme, webkitgtk, wireshark, + wolfssl, wpa_supplicant, wpewebkit, xen, xlib_libX11, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #12876: nodejs fails to build when host-icu has been built before + #13111: python-gunicorn: missing dependency on python-setuptools + #13121: wpa_supplicant fails to build without libopenssl enabled + #13141: Target-finalize fail with "depmod: ERROR: Bad version passed" + #13156: package live555 new license + +2020.02.4, released July 26th, 2020 + + Important / security related fixes. + + Toolchain: + - Make external toolchain version check also work for + toolchains configured with --with-gcc-major-version-only + + - Do not handle SOURCE_DATE_EPOCH in toolchain wrapper if the + compiler supports it, fixing an issue with precompiled + headers + + - Ensure debug libs from external toolchains are not installed + into target if debugging is disabled + + Download: + - Correct reproducibility issue in handling of git submodules + for older git versions. + + - Fix file locking over NFS + + fs: Ensure cpio archive element order is reproducible + + Br2-external: Fix error reporting for invalid br2-external trees + + Per-package: + - Fix an issue with python3 sysconfig data not getting + correctly expanded + + - Fix per-package building for packages using the qmake + infrastructure + + Updated/fixed packages: a10disp, asterisk, bind, cdrkit, + checkpolicy, clamav, dbus, docker-cli, docker-engine, + dvb-apps, e2fsprogs, exim, exiv2, freerdp, gnutls, go, grub2, + gssdp, gst1-plugins-good, gst1-plugins-ugly, gupnp, + intel-microcode, iproute2, irrlicht, iwd, jq, kodi, libcamera, + libconfuse, libcurl, libglib2, libhttpserver, libmicrohttpd, + libopenssl, libvncserver, libxml2, libxmlrpc, lxc, mbedtls, + mesa3d, meson, mongodb, mtools, mutt, nghttp2, ngircd, nodejs, + ntp, open-plc-utils, open2300, openjdk-bin, openssh, + oracle-mysql, paho-mqtt-c, pcre, php, poco, prosody, putty, + python-twisted, python-urllib3, python-validators, python3, + qt5xmlpatterns, redis, rpi-firmware, rtl8821au, samba4, sdl2, + sqlite, squid, syslog-ng, systemd, tcpreplay, tinydtls, + upmpdcli, upx, vlc, webkitgtk, wireguard-linux-compat, + wireshark, wpebackend-fdo, wpewebkit, zstd + + Issues resolved (http://bugs.uclibc.org): + + #12941: Python GObject fails to build when using BR2_PER_PACKAGE_.. + #12946: Grub: Decompressor is too big. + #12986: Mtools: Error converting to codepage 850 + #13001: openjdk-bin replaces libfreetype.so from host-freetype + #13011: Incorrect selection of gcc version + #13026: rpi-firmware: must not rename start files + #13031: nodejs: RangeError at new ArrayBuffer() + #13046: Optimize for fast -Ofast is not compliant + +2020.02.3, released June 3rd, 2020 + + Important / security related fixes. + + Fix various build issues of host packages on hosts using GCC + 10. + + Updated/fixed packages: arm-trusted-firmware, audit, bind, + binutils, bison, clamav, crda, dovecot, dtc, efl, elf2flt, + erlang, fakeroot, ffmpeg, fmc, fmlib, freerdp, gcc, git, + glib-networking, gnupg, leveldb, libexif, libssh2, + libusb-compat, linux-headers, lrzip, ltrace, mariadb, mesa3d, + mp4v2, openldap, openocd, perl, php, prosody, + python-pycryptodomex, python-pyqt5, qemu, rpi-firmware, rustc, + speexdsp, sysrepo, systemd, tremor, vboot-utils, wireshark, + xen + + Removed packages: python-pycrypto + + Issues resolved (http://bugs.uclibc.org): + + #12361: Init system (systemd) kills login on Raspberry Pi Zero + #12656: bison fails to relocate with relocate-sdk.sh + #12671: leveldb won't detect that snappy is present (static.. + #12691: host-rust build fails + #12831: RPI-firmware package: DTB-overlay dependency + +2020.02.2, released May 12th, 2020 + + Important / security related fixes. + + Musl: Disallow on PPC64 cores without AltiVec support + (E.G. e5500). + + fs/cpio: Correctly handle booting with 'console=' + + release: Ensure temporary .br2-external.* files are not + included in the release tarball + + Defconfigs: Fix various mistyped config options, or config + options where the dependencies were no longer met. + + Updated/fixed packages: apache, azure-iot-sdk-c, binutils, + boinc, c-ares, cvs, docker-cli, docker-containerd, + docker-engine, domoticz, e2fsprogs, efl, evtest, exim, ffmpeg, + freerdp, gcc, gflags, glibc, gnuconfig, haproxy, imx-gpu-2d, + irrlicht, jpeg kodi-pvr-vuplus, libarchive, libcoap, + libfpm-extra, libglib2, libhtp, libid3tag, libinput, libmad, + libopenssl, libsepol, libssh, libv4l, libvncserver, libwpe, + localedef, mariadb, matchbox, mbedtls, mc, mesa3d-headers, + meson, midori, msgpack, netsnmp, nginx, ogre, openjdk, + openldap, openvpn, p7zip, paho-mqtt-c, php, polkit, python, + python-attrs, python-crossbar, python-dpkt, python-flask, + python-future, python-iptables, python-jedi, python-markdown2, + python3, qemu, qpdf, qt5, samba4, squashfs, squid, strongswan, + suricata, tzdata, util-linux, vlc, wget, webkitgtk, + wireguard-linux-compat, wireshark, wpebackend-fdo, wpewebkit, + zic + + Issues resolved (http://bugs.uclibc.org): + + #11866: initramfs file system fails to boot using Grub on EFI x86_64 + #12271: python-iptables runtime dependencies + #12726: systemctl preset-all failed for ctrl-alt-del.target + #12751: OpenJdk package installation issues on target + #12796: Update OpenSSL to Version 1.1.1g to patch CVE-2020-1967 + #12811: bootstrap stuck and no login prompt + #12841: util-linux/sfdisk 2.35.1 fails on sector-size header + +2020.02.1, released April 10th, 2020 + + Important / security related fixes. + + core: Also fixup /lib references in libtool .la files, similar + to how it is done for /usr/*. + + Various fixes for builds with per-package target/host + directories. + + toolchain: Fix kernel headers validation check for external + toolchains. Fix make 4.3+ compatibility in external toolchain + logic. + + fs/initramfs: fix show-info so it also shows the usual + rootfs-related variables. + + Updated/fixed packages: arm-trusted-firmware, barebox-aux, + bluez5_utils, bubblewrap, busybox, civetweb, cog, collectd, + ffmpeg, gcc, gnutls, gssdp, gvfs, haproxy, hiredis, hostapd, + kmscube, kodi-screensaver-rsxs, libical, libinput, libexif, + libopenssl, libsndfile, linux, linux-tools, llvm, localedef, + mcrypt, mesa3d, meson, monit, nftables, ntp, opencv3, + oprofile, php, pinentry, polkit, pure-ftpd, python-pyyaml, + qt5, quagga, radvd, rcw, redis, rocksdb, samba4, screen, + sdbusplus, swupdate, sysdig, sysklogd, syslinux, syslog-ng, + tor, tslib, uacme, util-linux, vala, vlc, + wireguard-linux-compat, wireguard-tools, wireshark, + wpa_supplicant, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #12711: host-localedef 2.30-20 fails to compile on fedora 32 + #12746: "sysdig" package description points to http://sysdig.org, .. + +2020.02, released March 8th, 2020 + + Various fixes. + + br2-external: Fix compatibility with make 4.3+ + + Updated/fixed packages: bash, bcm2835, binutils, cups, + erlang-p1-acme, fbgrab, gr-osmosdr, gst1-plugins-base, + gst1-validate, gstreamer1, guile, jhead, libdrm, libevdev, + libinput, libnss, libsndfile, libvncserver, linux-firmware, + mesa3d, nodejs, openjdk-bin, openvmtools, optee-test, patch, + php, piglit, pppd, python-django, qemu, qt5base, ruby, + ser2net, swupdate, thrift, zziplib + + Removed packages: classpath, jamvm + + Issues resolved (http://bugs.uclibc.org): + + #12606: fbgrab location has changed + +2020.02-rc3, released March 2nd, 2020 + + Fixes all over the tree. + + Infrastructure: Rework file list handling to fix race + conditions when building with per-package target and host + directories and top-level parallel builds. + + Updated/fixed packages: aufs, binutils, blktrace, brltty, + cairo, dnsmasq, docker-compose, elf2flt, exim, exiv2, git, + kodi-inputstream-adaptive, libarchive, libcgroup, libgdiplus, + libssh2, libvncserver, libvorbis, linknx, linux-firmware, lxc, + lz4, mosquitto, openjpeg, openrc, poco, proftpd, pure-ftpd, + python3, python-multidict, python-setuptools-scm-git-archive, + qpdf, qt5tools, rdesktop, rocksdb, shellinabox, squid, + suricata, swig, systemd, taglib, util-linux, wireshark, zsh + + Issues resolved (http://bugs.uclibc.org): + + #12571: ltp-testsuite : Build failure + #12576: 2020.02-RC1: error while loading shared libraries: ... + #12581: 2020.02-rc1 glibc failing to build on fedora 31 + +2020.02-rc2, released February 26th, 2020 + + Fixes all over the tree. + + Toolchain: Ensure strong SSP can only be enabled if the + (external) toolchain supports it. + + Fix a race condition related to creating the output/staging + symlink on systems with coreutils < 8.27. + + Drop support for the (end of life) Qt 5.6 variant. + + Updated/fixed packages: at, armadillo, audiofile, bash, + busybox, erlang, fail2ban, fluidsynth, ipsec-tools, jpeg-turbo, + kvm-unit-tests, libftdi1, libinput, libsvgtiny, libtomcrypt, + libupnpp, libxml2, linux-tools, luv, mbedtls, mesa3d, minicom, + openvmtools, php, qt5, qt5webengine, qwt, radvd, rcw, + sdbusplus, systemd, tpm2-tss, vorbis-tools + + Issues resolved (http://bugs.uclibc.org): + + #12581: 2020.02-rc1 glibc failing to build on fedora 31 + +2020.02-rc1, released February 18th, 2020 + + Fixes all over the tree and new features. + + Add experimental support for building with a per-package + target and host directory. This still has some rough edges, + but brings a number of advantages: + + - Packages will only be able to access the explicitly listed + dependencies and not any other packages that happen to be + built before, ensuring correct dependency information in + Buildroot. + + - Possibility for top-level parallel builds, speeding up + builds on multicore machines. + + Core: Ensure package-file-lists data is correct after + incremental builds as well. + + Architecture: Add support for ARC-HS38 with 64bit multiplier + variant, allow building glibc for big endian ARC, handle 16KB + MMU page size for ARC in toolchain wrapper. + + Toolchain: Add binutils 2.33.1, GCC 7.5.0, Arm 9.2-2019.12 + toolchains, ARC 2019.09 toolchain. Allow using custom kernel + headers newer than what is known by Buildroot. + + pkg-stats: Support for CVE vulnerability reporting by + comparing to NVD database. + + Reproducible builds: The go -trimpath option is now used to + get rid of absolute build paths, __FILE__ and __BASE_FILE__ + defines are now handled in the toolchain wrapper. + + Systemd: Build host variant and use systemctl to automatically + enable unit files rather than manually managing symlinks. + + Util-linux: Ensure that hwclock is built without GPLv3 + code. Notice that builds with hwclock has contained + GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+) + + New defconfigs: Beelink GS1, Raspberrypi4 64bit + + New packages: alura, avro-c, bubblewrap, cctz, cereal, + cpuburn-arm, elixir, erlang-base64url, erlang-idna, + erlang-jose, erlang-p1-acme, erlang-p1-mqtree, + erlang-p1-yconf, fluid-soundfont, fluidsynth, gcnano-binaries, + gensio, glslsandbox-player, libargon2, libmodsecurity, + libpam-nfc, libtelnet, lua-codegen, lua-livr, lua-livr-extra, + lua-rotas, lua-silva, mfoc, network-manager-openvpn, + nginx-modsecurity, perl-crypt-openssl-aes, + perl-math-prime-util, pipewire, ptm2human, python-aenum, + python-aiohttp-debugtoolbar, python-aiohttp-mako, + python-aiologstash, python-aiosignal, python-aiozipkin, + python-async-lru, python-avro, python-bunch, python-crontab, + python-dnspython, python-entrypoints, python-esptool, + python-frozenlist, python-future, python-gitdb, python-janus, + python-lockfile, python-logstash, python-nested-dict, + python-pbr, python-pyaes, python-pydantic, python-smmap2, + python-sockjs, python-zc-lockfile, raspi-gpio, rocksdb, + sdbusplus, spidermonkey, thermald, ti-sgx-libgbm, tinyssh, + tio, umtprd, weston-imx, wireguard-linux-compat, + wireguard-tools, xdg-dbus-proxy + + Removed packages: bluez_utils, celt051, erlang-p1-iconv, fis, + gadgetfs-test, libplayer, gstreamer, gst-ffmpeg, + gst-fsl-plugins, gst-omapfb, gst-plugins-bad, + gst-plugins-base, gst-plugins-good, gst-plugins-ugly, + perl-digest-md5, perl-mime-base64, perl-net-ping, + python-scapy3k, wireguard + + Issues resolved (http://bugs.uclibc.org): + + #11906: the new version of mesa3d cannot support etnaviv when.. + #11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16 + #12121: PyQt5.QtSerialPort and other modules not being built + #12256: package tar is outdated (1.29 is 3 years old + #12286: Can't import gobject in python 3.8 + #12376: python-scapy3k is deprecated + #12386: carriage return issue when "make menuconfig" + #12441: qt5webengine build error: asm/errno.h: No such file or.. + #12446: Buildroot fails to finish installing packages + #12456: qtvirtualkeyboard: No such file or directory + #12461: libglib2 build files with deep directory structure + #12481: minicom fails when output directory path contains "m4" + #12501: libnss-3.49.1: ld error: multiple definition of `gcm_.. + #12526: host-nodejs 12.14.1: configure fail: AttributeError: .. + #12536: Linux-Headers extracting failure + #12546: Ninja 1.10 build Error + +2019.11.3, released April 10th, 2020 + + Important / security related fixes. + + core: Fix compatibility with make 4.3+. Also fixup /lib + references in libtool .la files, similar to how it is done for + /usr/*. + + toolchain: Fix kernel headers validation check for external + toolchains. + + fs/initramfs: fix show-info so it also shows the usual + rootfs-related variables. + + Updated/fixed packages: barebox-aux, bluez5_utils, busybox, + civetweb, cog, collectd, ffmpeg, gcc, gnutls, gssdp, gvfs, haproxy, + hiredis, hostapd, kmscube, libical, libopenssl, libsndfile, + linux-tools, llvm, monit, ntp, php, pure-ftpd, radvd, redis, + samba4, screen, sysdig, syslinux, syslog-ng, tor, uacme, + util-linux, vala, vlc, wpa_supplicant, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #12746: "sysdig" package description points to http://sysdig.org, .. + +2019.11.2, released March 16th, 2020 + + Important / security related fixes. + + Core: Ensure package-file-lists data is correct after + incremental builds as well. + + Fix a race condition related to creating the output/staging + symlink on systems with coreutils < 8.27. + + Toolchain: ARC tools bumped to arc-2019.09. + + Br2-external: Fix patch handling when external linux-extension + packages are used. Fix compatibility with make 4.3+ + + Util-linux: Ensure that hwclock is built without GPLv3 + code. Notice that builds with hwclock has contained + GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+) + + Updated/fixed packages: armadillo, at, bcm2835, binutils, + blktrace, bluez-alsa, bootstrap, brltty, busybox, cairo, + clamav, cog, cups, czmq, dnsmasq, docker-containerd, dovecot, + dovecot-pigeonhole, e2fsprogs, elf2flt, eudev, exim, exiv2, + fbgrab, gettext-tiny, glibc, go, grep, gst1-validate, guile, + imagemagick, jhead, jpeg-turbo, kvm-unit-tests, lapack, + libarchive, libcgroup, libdrm, libevent, libexif, libftdi1, + libgdiplus, libjpeg, libsigrok, libsndfile, libssh2, + libsvgtiny, libvncserver, libvorbis, libxml2, libxslt, linknx, + lxc, lz4, mariadb, mbedtls, meson, mongoose, mosquitto, musl, + ncurses, nodejs, ntfs-3g, ogre, opencv3, openjdk, openjpeg, + openrc, openswan, openvmtools, optee-test, patch, php, piglet, + postgresql, pppd, proftpd, pure-ftpd, python-django, + python-pyqt5, python-setuptools-scm-git-archive, python3, + qemu, qt5base, qt5tools, qt5virtualkeyboard, qt5webengine, + qwt, rdesktop, ruby, runc, samba4, shellinabox, + skeleton-init-openrc, smartmontools, spdlog, sqlcipher, squid, + suricata, swig, swupdate, sysklogd, taglib, thrift, + ti-cgt-pru, uclibc, util-linux, vorbis-tools, webkitgtk, + wireshark, wpebackend-fdo, wpewebkit, xen, + xserver_xorg-server, zeromq, zsh, zziplib + + Issues resolved (http://bugs.uclibc.org): + + #11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16 + #12331: meson issue + #12456: qtvirtualkeyboard: No such file or directory + #12461: libglib2 build files with deep directory structure + #12481: minicom fails when output directory path contains "m4" + #12606: fbgrab location has changed + +2019.11.1, released January 12th, 2020 + + Important / security related fixes. + + Infrastructure: kconfig: Fix reconfigure logic, python: Ensure + correct compiler and linker flags are used for compiled code + + utils/scanpypi: Remind users to update DEVELOPERS + + Defconfigs: imx6-sabresd: Fix the Qt5 display names, + imx8: Drop extra copy of U-Boot DTB + + Updated/fixed packages: acsccid, bitcoin, boost, busybox, + cc-tool, cmocka, cpio, cups, dante, dialog, dillo, docker-cli, + docker-containerd, docker-engine, easy-rsa, ebtables, + ecryptfs-utils, efl, ffmpeg, gdb, git, glibc, gnupg2, go, + gpsd, grpc, gst1-plugins-bad, iputils, jasper, + kf5-kcoreaddons, leveldb, libarchive, libfribi, libgit2, + libkrb5, libp11, librsvg, libssh, libtomcrypt, libuio, libv4l, + lirc-tools, log4cplus, lrzip, lvm2, mali-t76x, + matchbox-desktop, mender-grubenv, mmc-utils, mosquitto, + nodejs, ntp, openipmi, opencv3, openpowerlink, openrc, pango, + perl-sys-cpu, pimd, postgresql, pulseaudio, python-brotli, + python-coherence, python-crc16, python-django, python-dpkt, + python-gobject, python-pyasn-modules, python-pypcap, + python-pyqt5, python-subprocess32, python3, qpdf, + qt-webkit-kiosk, qt5virtualkeyboard, qt5webengine, quota, + rabbitmq-c, rauc, rpcbind, rtl8821au, runc, rygel, samba4, + sdl2, setserial, snort, spidev_test, + sunxi-mali-mainline-driver, syslog-ng, sysrepo, tcllib, tftpd, + usbmount, w_scan, wavpack, wsapi, wsapi-fcgi, wsapi-xavante, + x265, xserver_xorg-server, ytree, zip + + Issues resolved (http://bugs.uclibc.org): + + #12121: PyQt5.QtSerialPort and other modules not being built + #12286: Can't import gobject in python 3.8 + +2019.11, released December 1st, 2019 + + Various fixes. + + Infrastructure: Make HOST__DL_OPTS inherit from + _DL_OPTS by default, just like it is done for a number of + other package variables. + + Add _KEEP_PY_FILES to exclude specific python .py files + from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for + the (rare) case where the .py files are needed at runtime + rather than .pyc. + + Updated/fixed packages: am33x-cm3, bind, collectd, go, gob2, + gst1-plugins-bad, haproxy, jasper, jpeg-turbo, libdrm, + libftdi, libftdi1, libnss, libselinux, libstrophe, lzma, + minicom, network-manager, nodejs, oniguruma, opencv3, + openvmtools, perl-gdgraph, perl-gdtextutil, prosody, + python-cchardet, systemd, tiff, wolfssl, + + Issues resolved (http://bugs.uclibc.org): + + #11416: check-uniq-files staging issue + #12146: Oprofile runtime issue + #12166: Compiling nodejs for SAMA5D3 always crash with illegal inst.. + #12171: Python-opencv needs config.py and config-3.7.py to run.. + #12196: duma package + #12211: host-nodejs 10.15.3 package fail to build + #12316: tzdata fails to install with empty "default local time" + #12326: network-manager build fails with missing glib error + #12366: Gstreamer1 gst1-plugins-bad do not compile with RPI-Userland + +2019.11-rc3, released November 24th, 2019 + + Fixes all over the tree. + + Updated/fixed packages: asterisk, clamav, domoticz, faifa, + gerbera, kmod, kvm-unit-tests, libupnp18, linux-serial-test, + lsof, ltp-testsuite, lxc, mesa3d, mesa3d-headers, perl, php, + postgresql, qemu, rauc, redis, rpcbind, spice, spice-protocol, + systemd, tftpd, waylandpp, webkitgtk, zip + +2019.11-rc2, released November 16th, 2019 + + Fixes all over the tree. + + Toolchain: ARC tools bumped to arc-2019.09-rc1, ensure + external toolchain kernel headers version check correctly stop + the build on mismatch + + Meson: Fix generation of global cross-compilation.conf + + Download: Also use the package download method for extra + downloads from the same site, so it does not get confused by + URLs containing '+' + + Defconfigs: Fix boot issue for beaglebone + + Updated/fixed packages: bird, chrony, connman, dhcp, domoticz, + dropwatch, dtc, elf2flt, gettext-tiny, glog, intel-microcode, + ipsec-tools, jailhouse, kodi, libfribi, libmbim, libressl, + libsigrokdecode, libsvgtiny, linux-serial-test, ltp-testsuite, + lvm2, lxc, mariadb, mesa3d, minizip, ndisc6, neardal, ninja, + ofono, openvmtools, oracle-mysql, qt5wayland, safeclib, socat, + sudo, systemd, wpewebkit, xserver_xorg-server + +2019.11-rc1, released November 5th, 2019 + + Fixes all over the tree and new features. + + Dependencies: Gcc/g++ 4.8 or newer is now required on the + build host. + Ensure host has JSON::PP perl module installed if + webkitgtk/wpewebkit packages are enabled as it is needed + during their build process. + + Toolchain: Add support for the D programming language (GCC + 9.x, Glibc). + GCC 9.x updated to 9.2.0, Glibc updated to 2.30, Musl updated + to 1.1.24, uClibc-ng updated to 1.0.32, ARC toolchain updated + to arc-2019.09-eng002. + Musl: Add a patch to add support for + sched_{get,set}scheduler() and sched_{get,set}param() for + compatibility. + Generate check-headers program under BUILD_DIR rather than + /tmp to fix issues with distributions mounting /tmp noexec. + Also copy libssp.so for external toolchains if SSP + to handle toolchains providing SSP support in libssp rather + than in the C library + + New defconfigs: Beaglebone AI, FriendlyARM Nanopi NEO Plus2, + Libre Computer "La Frite", QEMU Armv7-A with trustzone/OP-TEE, + STM32MP157 Discovery Kit + + Arch: RISC-V: Default to a sensible floating point ABI based + on the selected ISA extensions rather than always defaulting + to ILP32/64 + + Graph-size: Package sizes are now shown in human readable form + (Kib/Mib/Gib) rather than always in Kib. Binary (KB/MB/GB) + format can be selected using the --binary option. The cut-off + limit for classifying packages as "other" is now configurable + using the --size-limit option. + + Br2-external: Linux kernel extensions can now also be provided + in an external tree by adding packages under + linux/linux-ext-*.mk. See the manual for details. + + Fakeroot now works correctly under Microsoft Windows 10 + Services for Linux, which does not provide SYSV IPC support + + The check-uniq-files logic which would complain if multiple + packages would touch the same files has been removed as it + causes issues in certain situations (when packages are + rebuilt) and the issue is no longer considered a problem for + toplevel parallel builds as those will use a per-package + staging/target directory. + With this removed, Python is no longer required for a basic + build (only for optional scripts). + + support/scripts/genimage.sh will no longer make a copy of + TARGET_DIR, speeding up post-build/image scripts. + + The runtime test logic now uses Python 3.x. + + A 'v' prefix has been dropped from the _SOURCE variable + for a number of packages to match the version numbers used by + https://release-monitoring.org + + New packages: caps, collectl, dav1d, fstrcmp, ima-evm-utils, + jitterentropy-library, kodi-vfs-rar, kodi-vfs-sftp, libavl, + libhttpserver, libmspack, libnetconf2, libolm, libyang, + linux-serial-test, lrzip, mdevd, minimodem, musl-fts, netifrc, + ogre, openlayers, python-aioredis, python-asgiref, + python-backports-functools-lru-cache, python-bluezero, + python-brotli, python-channels, python-channels-redis, + python-colorlog, python-daphne, python-django-enumfields, + python-jaraco-functools, python-kiwisolver, python-msgfy, + python-rpi-ws281x, python-setuptools-scm-git-archive, + python-simplelogging, python-soupsieve, python-sqliteschema, + python-sqlparse, python-tqdm, python-webencodings, qt5webview, + restclient-cpp, ripgrep, snmpclitools, sunwait, sysrepo, + uacme, utf8proc, uvw, ytree + + Removed packages: alljoyn, alljoyn-base, alljoyn-tcl-base, + devmem2, eventlog, kodi-audiodecoder-opus, + kodi-screensaver-planestate, kodi-visualisation-waveforhue, + python-pysnmp-apps, riscv-pk, ustr + + Issues resolved (http://bugs.uclibc.org): + + #9881: systemd-resolved not setting resolv.conf link + #10171: devmem2 w (word) is 8 bytes in x86 64 systems + #10586: musl gcc has ifunc enabled when musl doesn't support it + #10806: Allow nfs-utils to use ipv6 + #11366: [2018.08] SysV IPC not available for fakeroot on WSL + #11411: check-uniq-files target issue + #11766: Console (getty) issues with systemd + #11781: mariadb build error + #12031: Build of cups-filters fails while linking, apparently due.. + #12116: console prompt does not appear after login + #12141: eudev package is missing "render" and "kvm" groups + #12181: dropbear: norootlogin (-w) no longer works when PAM is enabled + #12186: Raspberry Pi Zero-W build fails on newer kernel versions + #12191: cmake BUILDDIR + #12241: Permission denied while running "make" + #12261: sudo versions prior to 1.8.28 are affected. + #12276: make clean/distclean does not remove BR2_DL_DIR and BR2_HOST_DIR + #12281: Custom configuration fails to build (based on raspberrypi3_.. + +2019.08.3, released December 7th, 2019 + + Important / security related fixes. + + Infrastructure: Make HOST__DL_OPTS inherit from + _DL_OPTS by default, just like it is done for a number of + other package variables + + Add _KEEP_PY_FILES to exclude specific python .py files + from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for + the (rare) case where the .py files are needed at runtime + rather than .pyc. + + Fix -reconfigure handling for packages using the kconfig + infrastructure. + + Toolchain: ensure external toolchain kernel headers version + check correctly stop the build on mismatch + + Deconfigs: beaglebone: fix boot issue + + Updated/fixed packages: am33x-cm3, asterisk, bind, chrony, + clamav, cmocka, collectd, connman, dhcp, dropwatch, faifa, + gettext-tiny, gob2, haproxy, intel-microcode, ipsec-tools, + jailhouse, jasper, jpeg-turbo, kodi, kvm-unit-tests, libftdi, + libftdi1, libnss, libressl, libstrophe, libsvgtiny, lvm2, + lzma, mariadb, minicom, mosquitto, neardal, ninja, nodejs, + oniguruma, openvmtools, oracle-mysql, perl-gdgraph, + perl-gdtextutil, php, postgresql, prosody, python-cchardet, + python-django, qt5wayland, rabbitmq, rauc, redis, rpcbind, + socat, spice, spice-protocol, tftpd, tiff, webkitgtk + + New packages: libmspack + + Issues resolved (http://bugs.uclibc.org): + + #12166: Compiling nodejs for SAMA5D3 always crash with illegal inst.. + #12171: Python-opencv needs config.py and config-3.7.py to run.. + #12211: host-nodejs 10.15.3 package fail to build + #12316: tzdata fails to install with empty "default local time" + +2019.08.2, released November 9th, 2019 + + Important / security related fixes. + + Toolchain: Also copy libssp.so for external toolchains if SSP + to handle toolchains providing SSP support in libssp rather + than in the C library + + Download: Also use the package download method for extra + downloads from the same site, so it does not get confused by + URLs containing '+' + + Fakeroot now works correctly under Microsoft Windows 10 + Services for Linux, which does not provide SYSV IPC support + + utils/test-pkg: ensure to exit with an error upon failure + + Updated/fixed packages: asterisk, azmq, binutils, + cups-filters, domoticz, dtc, duma, elf2flt, eudev, exfat, + exfat-utils, fakeroot, fdk-aac, file, freerdp, gcc, gd, + ghostscript, go, gpsd, grpc, gst1-plugins-base, gvfs, icu, + intel-microcode, kvm-unit-tests, libfribidi, libnspr, libnss, + libopenssl, libpcap, libpciaccess, librsvg, libseccomp, + libsigrok, libtorrent, libunwind, libva, linux-tools, + lua-sdl2, lxc, minizip, mjpegtools, mongoose, mono, nbd, + nfs-utils, php, piglit, python, python-autobahn, + python-pysnmp-apps, python-tornado, python3, qemu, qt5base, + ruby, safeclib, samba4, sdl_mixer, sox, sudo, suricata, + systemd, tcpdump, unscd, util-linux, vdr-plugin-vnsiserver, + vtun, wireshark, xvisor, yaffs2utils + + Issues resolved (http://bugs.uclibc.org): + + #11366: [2018.08] SysV IPC not available for fakeroot on WSL + #12261: sudo versions prior to 1.8.28 are affected + +2019.08.1, released October 3rd, 2019 + + Important / security related fixes. + + Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone: + Use default console settings + + Dependencies: Ensure host has JSON::PP perl module installed + if webkitgtk/wpewebkit packages are enabled as it is needed + during their build process. + + Toolchain: Generate check-headers program under BUILD_DIR + rather than /tmp to fix issues with distributions mounting + /tmp noexec. + + Updated/fixed packages: asterisk, augeas, axel, bind, bwm-ng, + cups, cups-filters, docker-cli, docker-engine, docker-proxy, + e2fsprogs, eudev, exim, expat, gcc, go, haveged, ifplugd, joe, + kf5-extra-cmake-modules, kf5-modemmanager-qt, + kf5-networkmanager-qt, libcamera, libcurl, libgcrypt, + libglib2, libgpg-error, libnspr, libnss, libopenssl, + logrotate, luksmeta, mariadb, mbedtls, mongodb, mosquitto, + ncurses, nfs-utils, nghttp2, nodejs, openvmtools, php, + protobuf, putty, qemu, samba4, snort, swupdate, + systemd-bootchart, thttpd, uclibc, unzip, util-linux, + wireshark + + Issues resolved (http://bugs.uclibc.org): + + #10806: Allow nfs-utils to use ipv6 + #11781: mariadb build error + #12031: Build of cups-filters fails while linking, apparently due.. + #12141: eudev package is missing "render" and "kvm" groups + #12241: Permission denied while running "make" + +2019.08, released September 1st, 2019 + + Various fixes. + + Defconfigs: Removed nanopc t4, nanopi m4 and neo4, pine64 + rockpro64 and raxda rock pi4 as they rely on a ARM32 toolchain + on the build host to build ATF. These defconfigs will be added + back once a package providing such toolchain is + available. Also dropped ts4800 defconfig as it does not build + with GCC >= 8.x. + + Updated/fixed packages: libxcb, php, python-numpy, webkitgtk, + wpewebkit, xfont_font-util + + Issues resolved (http://bugs.uclibc.org): + + #12156: buildroot-2019.08-rc3 does not build for Pi Zero W + +2019.08-rc3, released August 28th, 2019 + + Fixes all over the tree. + + Updated/fixed packages: clamav, dovecot, dovecot-pigeonhole, + gcc, intel-microcode, libmicrohttpd, libmodplug, mpg123, + nginx, openldap, python, qemu, samba4, squid, strace, vlc + + Issues resolved (http://bugs.uclibc.org): + + #11686: fbdev_drv.so: undefined symbol: shadowUpdatePackedWeak,.. + +2019.08-rc2, released August 20th, 2019 + + Fixes all over the tree. + + Compile fixes for a number of defconfigs. + + Updated/fixed packages: apache, autofs, batctl, batman-adv, + bind, collectd, cwiid, dahdi-linux, dahdi-tools, daq, + dehydrated, dhcp, dtc, efl, enlightenment, evtest, giflib, + gnutls, go, gst-plugins-bad, gst-plugins-base, + gst1-plugins-bad, gst1-plugins-base, gst1-rtsp-server, gtkmm3, + gupnp, harfbuzz, imagemagick, lftp, libbsd, libcpprestsdk, + libdnet, libfm, libgit2, libgtk2, libgtk3, libpri, librsvg, + libss7, libssh2, libwpe, lua-cqueues, metacity, micropython, + mpd, mpg123, musl, mpv, openblas, openbox, opencv, pango, + pcmanfm, piglit, pigpio, pinentry, postgresql, qemu, qt5base, + qt5enginio, qt5multimedia, qt5serialbus, quagga, quazip, + rrdtool, rygel, samba4, stellarium, tcpreplay, ti-gfx, vte, + wampcc, wilink-bt-firmware, wireless-regdb, wpebackend-fdo, + xscreensaver + + Removed packages: libamcodec, odroid-mali, odroid-scripts + + Issues resolved (http://bugs.uclibc.org): + + #9481: NetworkManager/Ping unable to resolve domains + #10566: php.mk is missing option --with-pgsql + #10861: Package batman_adv Makefile is missing include header direct.. + #11641: linux kernel .config timestamp always out of date fixed with.. + #11671: russian locale ru_RU:145: LC_TIME: syntax error + #11701: recuuring of usr and in bin shortcuts are created + #11741: pigpio does not build host-pigpio + #11876: automount using host mount/umount + #11881: Build breaks with lftp package enabled and libexpat1-dev inst.. + #11921: dahdi fails to build + #11936: libcpprestsdk should install to staging + #11946: wilink-bt-firmware: moved from github to http://git.ti.com/ti-bt + #11961: libpri build failure + #12086: dhcp shared libraries not installed to target + #12096: tcpreplay: build fails if libdumbnet-dev is installed in the.. + #12106: daq: build fails if libdumbnet-dev is installed in the host + #12126: vc4 has neon as hard dependency + +2019.08-rc1, released August 9th, 2019 + + Fixes all over the tree and new features. + + toolchain: ARC toolchain updated to 2019.03 (binutils 2.32.51 + / GCC 8.3.1 / glibc 2.29), ARM AAarch64/ARM toolchains updated + to 2019.03. Add GCC 9.1.0, remove GCC 4.9 and 6.5, add GDB + 8.3, remove GDB 7.12 and 8.0.1, default to GDB 8.2, GCC + 8.3.0. Musl updated to 1.1.23, bringing support for RISC-V 64. + + Architectures: Internal toolchain support for C-SKY, support + for ARC HS48 v3.1 and HS38 with Quad MAC & FPU, support for + ARM A76, A76/A55 big.LITTLE, emag, neoverse-N1, phecda and + tsv110. + + Filesystems: Pass extra pax options to tar for binary + reproducibility. Build host-cpio for the --reproducible option + support when BR2_REPRODUCIBLE is enabled. Genimage updated to + version 11, bringing GPT support. + + Br2-external: Add support for injecting additional options to + the list of preconfigured external toolchains and libjpeg and + openssl providers using files under provides/. See the manual + for details. + + Ensure custom _OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS are + passed before the standard exclusions so they are not ignored + by rsync when using override-srcdir. + + Gnuconfig updated to 2019-05-28, adding C-SKY support. + + test-pkg: Correct long option handling and clean output dir + after a successful build to save disk space. + + support/testing: Emulate a machine with 256MB RAM to fix + issues with certain tests running out of memory, use + virtio-rng to provide needed entrophy. + + pkg-stats: support outputting in JSON format with --json for + easier post processing. The classic HTML output is still + available with --html. Parallelize access to + release-monitoring.org to speed up runtime. + + Drop non-conventional version prefix/suffix/separators for + packages for better compatibility with release-monitoring.org + + Packages: + Init systems: Add basic openrc support and + _INSTALL_INIT_OPENRC variable in the infrastructure to + install openrc service scripts if enabled. + + busybox: Build each applet as a separate binary when SELinux + is enabled for more finegrained policy control. Use daemon + mode for mdev rather than legacy hotplug. + + linux: Workaround -Werror related build failure on powerpc, + by forcing CONFIG_PPC_DISABLE_WERROR on. + + Defconfigs: QEMU: use 'rootwait' kernel option to ensure root + partition is available before mounting. + + New defconfigs: HiFive Unleashed, I.MX8MM EVK and Pico, Nanopi + m4 and neo4, Nanopc t4, Olimex A33 olinuxino, Pine64 + Rockpro64, PowerPC mac99, QEMU C-SKY 610/807/810/860 virt, + Raspberry Pi 4, Raxda rock pi4, Solidrun Clearfog GT-8K + + Removed defconfigs: Odroid C2 + + New packages: bitcoin, c-capnproto, fatcat, ifmetric, jack1, + jailhouse, libubootenv, luasyslog, mender-grubenv, + murata-cyw-fw, openrc, piglit, python-colorama, python-cycler, + python-hiredis, python-ifaddr, python-inflection, + python-iptables, python-matplotlib, python-periphery, + python-pycairo, python-redis, python-termcolor, + python-tinyrpc, python-txdbus, skeleton-init-openrc, spdlog, + sshguard, stellarium, zziplib + + Removed packages: xapp_mkfontdir + + Issues resolved (http://bugs.uclibc.org): + + #11096: Upgrade from glibc 2.26 to 2.27 broke some locales... + #11271: utils/check-package fails with exception depending on.. + #11991: [numpy] segfault when compiling for RPi3 64bits + #12016: Grub fails to boot bzImage after upgrade to 2019.05 + #12046: Can’t login as root user after upgrading to buildroot.. + #12051: package/dhcp installs libtool wrapper scripts on tar... + #12076: Patchelf can link against an incompatible libc++ ver... + +2019.05.3, Released October 3rd, 2019 + + Important / security related fixes. + + Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone: + Use default console settings + + Dependencies: Ensure host has JSON::PP perl module installed + if webkitgtk/wpewebkit packages are enabled as it is needed + during their build process. + + Toolchain: Generate check-headers program under BUILD_DIR + rather than /tmp to fix issues with distributions mounting + /tmp noexec. + + Updated/fixed packages: asterisk, augeas, bind, bwm-ng, cups, + cups-filters, docker-cli, docker-engine, docker-proxy, + e2fsprogs, eudev, exim, expat, gcc, go, haveged, ifplugd, + iptables, joe, kf5-extra-cmake-modules, kf5-modemmanager-qt, + kf5-networkmanager-qtlibcamera, libcurl, libgcrypt, + libgpg-error, libnftl, libnspr, libnss, libopenssl, + libtorrent-rasterbar, luksmeta, mariadb, mbedtls, mongodb, + mosquitto, ncurses, nfs-utils, nghttp2, nodejs, openvmtools, + php, protobuf, putty, qemu, samba4, swupdate, + systemd-bootchart, thttpd, uclibc, unzip, util-linux, + wireshark + + Issues resolved (http://bugs.uclibc.org): + + #10806: Allow nfs-utils to use ipv6 + #11781: mariadb build error + #12031: Build of cups-filters fails while linking, apparently due.. + #12141: eudev package is missing "render" and "kvm" groups + #12241: Permission denied while running "make" + +2019.05.2, Released September 3rd, 2019 + + Important / security related fixes. + + Filesystems: Pass extra pax options to tar for binary + reproducibility. + + Updated/fixed packages: apache, arm-trusted-firmware, + asterisk, atk, autofs, batctl, batman-adv, berkeleydb, + busybox, bzip2, clamav, cloop, cmake, collectd, connman-gtk, + dahdi-linux, dahdi-tools, daq, dehydrated, dhcp, dovecot, + dovecot-pigeonhole,, elfutils, evtest, exim, expect, giflib, + git, glib-networking, glibc, gnupg2, gnutls, go, + gst1-rtsp-server, gtkperf, gupnp-tools, gvfs, imagemagick, + imx-uuc, intel-microcode, json-glib, lftp, libbsd, libcurl, + libgit2, libgtk2, libgtk3, libmodplug, libnss, libpri, + libshout, libss7, libssh2, libvips, libxcb, linux-headers, + mdadm, mesa3d, metacity, mpg123, mosquitto, musl, nginx, + oniguruma, openblas, opencv3, openjdk, openjdk-bin, openldap, + openvmtools, pcmanfm, php, pigpio, postgresql, prboom, + proftpd, proj, python, python-django, python-idna, + python-numpy, python-urllib3, python3, qemu, qt5, qt5base, + qt5enginio, quagga, rygel, squid, subversion, tcpreplay, + unzip, vlc, vte, webkitgtk, wireless-regdb, xen, + xfont_font-util, xlib_libICE, xlib_libXfont, xlib_libXfont2, + yad, zeromq + + Issues resolved (http://bugs.uclibc.org): + + #11741: pigpio does not build host-pigpio + #11876: automount using host mount/umount + #11881: Build breaks with lftp package enabled and libexpat1-dev inst.. + #11921: dahdi fails to build + #11961: libpri build failure + #12086: (dhcpd-missing-libs) - dhcp shared libraries not installed to.. + #12096: tcpreplay: build fails if libdumbnet-dev is installed in the.. + #12106: daq: build fails if libdumbnet-dev is installed in the host + #12126: vc4 has neon as hard dependency + +2019.05.1, Released July 7th, 2019 + + Important / security related fixes. + + arch: x86: Fix typo breaking 'core-avx2' variant + + linux: Workaround -Werror related build failure on powerpc, + by forcing CONFIG_PPC_DISABLE_WERROR on. + + support/testing: Emulate a machine with 256MB RAM to fix + issues with certain tests running out of memory. + + test-pkg: Correct long option handling and clean output dir + after a successful build to save disk space. + + Defconfigs: QEMU: use 'rootwait' kernel option to ensure root + partition is available before mounting. + + Updated/fixed packages: barebox, busybox, bzip2, davfs2, + dialog, docker-cli, docker-engine, exim, expat, faad2, + haveged, irssi, libcamera, libcdaudio, libcurl, libglib2, + libressl, libsecret, lmbench, meson, monit, php, postgresql, + psplash, python-django, qt5base, tvheadend, webkitgtk, + xserver_xorg-server, znc + +2019.05, released June 2nd, 2019 + + Various fixes. + + Toolchain: Ensure pre-built Andes toolchains can only be + selected when x86 32bit support is available on the host. + Disallow PowerPC SPE ABI for GCC >= 8.x, as it is no longer + supported. + + Infra: pkg-config: Use a dedicated timestamp file rather than + .config as that gets touched by linux-4.19+, causing repeated + builds. + + Add C-SKY support to our config.sub (gnuconfig) + + Updated/fixed packages: dosfstools, botan, brotli, dropbear, + flare-engine, gst1-plugins-bad, libhtp, libnss, libopenssl, + linuxptp, matchbox-panel, mender, mutt, netsurf, + network-manager, opencv3, openjdk, openmpi, php, + python-cython, qt5multimedia, qtwayland, qt5webkit-examples, + supertux, suricata, tpm2-totp, v4l2loopback, wireshark, + wpewebkit + +2019.05-rc3, released May 25th, 2019 + + Fixes all over the tree. + + check-bin-arch: Ignore /usr/lib/grub, similar to how /lib/grub + is ignored. + + check-package: Warn about utf-8 characters in .mk files + + Linux: Default to 5.1.x series + + Updated/fixed packages: assimp, atop, chocolate-doom, cjson, + ddrescue, dhcp, ffmpeg, gerbera, glibmm, gpsd, gst-ffmpeg, + intel-microcode, jasper, keepalived, kismet, libcpprestsdk, + libcurl, libssh2, libupnp18, luarocks, mono-gtksharp3, opus, + postgresql, pcsc-lite, python, tslib, webkitgtk, + wpebackend-fdo, wpewebkit + +2019.05-rc2, released May 15th, 2019 + + Fixes all over the tree. + + Updated/fixed packages: bind, bullet, ca-certificates, + collectd, cracklib, dhcp, gdb, libinput, libtorrent-rasterbar, + linknx, lynx, mono, netsurf, optee-os, postgresql, qt5enginio, + qt5multimedia, rpm, samba4, sqlite, strace, uclibc, woff2 + + Issues resolved (http://bugs.uclibc.org): + + #11841: grub-efi.cfg not used when building EFI disk image + +2019.05-rc1, Released May 8th, 2019 + + Fixes all over the tree and new features. + + Architecture: Andes 32-bit (nds32) support added. + + Only build host-lzip / host-xz when really needed by packages, + not just when not available on the build host. + + Toolchain: Glibc bumped to 2.29, musl bumped to 1.1.22, + binutils 2.32 added, 2.28/2.29 removed, default changed to + 2.31.1. + + fs: Set FAKEROOTDONTTRYCHOWN environment variable to not + forward {f,l,}chown calls to libc when running under fakeroot + to fix issues when building in restricted environments + (E.G. user namespace with bubblewrap). + + Linux: Also build default make target to ensure extra files + like the gdb scripts enabled by CONFIG_GDB_SCRIPTS are also + built. Notice: This may mean that extra host utilities like + uboot-mkimage are needed. + + Infrastructure: show-info and -show-info make targets + added to output package metadata in JSON format for external + use. + + pkg-generic: Only tweak .la files needing it to ensure they + are not included in subsequent package file lists. + + test-pkg: Generate a basic package config if none is + specified. + + Gettext-tiny package added as an lightweight replacement for + GNU gettext for situations where NLS support is not needed. + + New defconfigs: Andes AE3XX, Freescale imx8mpico / imx8qxpmek + / T2080 QDS RDB, Licheepi zero, Orangepi R1 + + Removed defconfigs: Olimx A20 Olinuxino Lime legacy + + New packages: bats-core, bayer2rgb-neon, brickd, cog, dacapo, + enet, gettext-tiny, gli, gst1-plugins-bayer2rgb-neon, + imx-sc-firmware, intel-mediadriver, intel-mediasdk, libcamera, + libhtp, libp11, libwpe, lua-binaryheap, lua-gd, lua-lunitx, + mender-artifact, most, oniguruma, openjdk, openjdk-bin, + opensbi, optee-benchmark, optee-client, optee-examples, + optee-os, optee-test, paho-mqtt-cpp, python-aioblescan, + python-aioconsole, python-aiohttp-cors, python-aiomonitor, + python-backcall, python-jedi, python-parso, python-pyjwt, + python-terminaltables, suricata, tpm2-totp, uftp, + wpebackend-fdo, wpewebkit + + Removed packages: libump, lunit, sunxi-mali + + Issues resolved (http://bugs.uclibc.org): + + #11716: Typo on website, saying latest release is 2018.2.11 + #11756: package/syslinux: MBR's don't fit because of binutils.. + #11761: Building custom kernel 5.1-rc3 or later breaks on objtool + #11816: Only selected coreutils binaries are installed + +2019.02.11, released April 9th, 2020 + + Important / security related fixes. + + core: Fix compatibility with make 4.3+. Also fixup /lib + references in libtool .la files, similar to how it is done for + /usr/*. + + toolchain: Fix kernel headers validation check for external + toolchains. + + Updated/fixed packages: barebox-aux, bluez5_utils, busybox, + civetweb, collectd, ffmpeg, gcc, gnutls, gvfs, haproxy, + hiredis, kmscube, libical, libopenssl, libsndfile, + linux-tools, ntp, php, pure-ftpd, screen, sysdig, tor, + util-linux, vala, vlc, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #12746: "sysdig" package description points to http://sysdig.org, .. + +2019.02.10, released March 16th, 2020 + + Important / security related fixes. + + Core: Ensure package-file-lists data is correct after + incremental builds as well. + + Fix a race condition related to creating the output/staging + symlink on systems with coreutils < 8.27. + + Br2-external: Fix compatibility with make 4.3+ + + Util-linux: Ensure that hwclock is built without GPLv3 + code. Notice that builds with hwclock has contained + GPLv3-licensed code since util-linux 2.30 (Buildroot 2017.08+) + + Updated/fixed packages: armadillo, at, binutils, blktrace, + bootstrap, busybox, cairo, cups, czmq, dnsmasq, + docker-containerd, dovecot, dovecot-pigeonhole, e2fsprogs, + eudev, exim, exiv2, fbgrab, grep, gst1-validate, guile, + imagemagick, jhead, kvm-unit-tests, lapack, libcgroup, + libftdi1, libjpeg, libsigrok, libsndfile, libssh2, libsvgtiny, + libvncserver, libvorbis, libxml2, libxslt, linux, lz4, + mariadb, mbedtls, meson, mfgtools, mongoose, ncurses, ntfs-3g, + opencv3, openjpeg, openswan, openvmtools, patch, php, + postgresql, pppd, proftpd, pure-ftpd, python-django, + python-pyqt5, python3, qemu, qt5base, qt5webengine, qwt, + rdesktop, ruby, runc, samba4, shellinabox, smartmontools, + sqlcipher, squid, swupdate, sysklogd, taglib, thrift, + ti-cgt-pru, uboot, util-linux, vorbis-tools, webkitgtk, + wireshark, xen, xserver_xorg-server, zeromq, zsh + + Issues resolved (http://bugs.uclibc.org): + + #11996: opencv3 SIGILL on Cortex-A5 with VFPv4-D16 + #12331: meson issue + #12461: libglib2 build files with deep directory structure + #12606: fbgrab location has changed + +2019.02.9, released January 12th, 2020 + + Important / security related fixes. + + pkg-python infrastructure: Ensure correct compiler and linker + flags are used for compiled code + + utils/scanpypi: Remind users to update DEVELOPERS + + Updated/fixed packages: busybox, cc-tool, cpio, cups, dante, + dillo, docker-cli, docker-containerd, docker-engine, easy-rsa, + ecryptfs-utils, efl, git, glibc, gnupg2, gst1-plugins-bad, + kf5-kcoreaddons, libarchive, libgit2, libkrb5, librsvg, + libssh, libtomcrypt, libuio, lirc-tools, lvm2, + matchbox-desktop, nodejs, ntp, opencv3, openpowerlink, + python-django, python-ecdsa, python-pyasn-modules, + python-pyqt5, python-subprocess32, python3, qpdf, runc, rygel, + samba4, sdl2, wavpack, xserver_xorg-server, zip + + Issues resolved (http://bugs.uclibc.org): + + #12121: PyQt5.QtSerialPort and other modules not being built + +2019.02.8, released December 7th, 2019 + + Important / security related fixes. + + Infrastructure: Make HOST__DL_OPTS inherit from + _DL_OPTS by default, just like it is done for a number of + other package variables + + Add _KEEP_PY_FILES to exclude specific python .py files + from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for + the (rare) case where the .py files are needed at runtime + rather than .pyc. + + Fix -reconfigure handling for packages using the kconfig + infrastructure. + + Toolchain: ensure external toolchain kernel headers version + check correctly stop the build on mismatch + + Deconfigs: beaglebone: fix boot issue + + Updated/fixed packages: am33x-cm3, asterisk, bind, chrony, + clamav, collectd, connman, faifa, gob2, haproxy, + intel-microcode, ipsec-tools, jasper, jpeg-turbo, kodi, + kvm-unit-tests, libftdi, libftdi1, libnss, libstrophe, + libsvgtiny, lvm2, lzma, mariadb, minicom, neardal, nodejs, + opencv3, openvmtools, oracle-mysql, perl-gdgraph, + perl-gdtextutil, php, postgresql, prosody, python-django, + rabbitmq-c, rauc, redis, rpcbind, socat, spice, + spice-protocol, tftpd, tiff, webkitgtk + + New packages: libmspack + + Issues resolved (http://bugs.uclibc.org): + + #12166: Compiling nodejs for SAMA5D3 always crash with illegal inst.. + #12171: Python-opencv needs config.py and config-3.7.py to run.. + #12211: host-nodejs 10.15.3 package fail to build + #12316: tzdata fails to install with empty "default local time" + +2019.02.7, Released November 10th, 2019 + + Important / security related fixes. + + support/testing: use a kernel with HW_RANDOM_VIRTIO to work + around issues with lack of entrophy + + Toolchain: Also copy libssp.so for external toolchains if SSP + is enabled to handle toolchains providing SSP support in + libssp rather than in the C library + + Download: Also use the package download method for extra + downloads from the same site, so it does not get confused by + URLs containing '+' + + Fakeroot now works correctly under Microsoft Windows 10 + Services for Linux, which does not provide SYSV IPC support + + utils/test-pkg: ensure to exit with an error upon failure + + Updated/fixed packages: asterisk, azmq, cups-filters, + domoticz, duma, elf2flt, eudev, exfat, exfat-utils, fakeroot, + file, freerdp, gd, ghostscript, go, gvfs, intel-microcode, + kvm-unit-tests, libarchive, libnspr, libnss, libopenssl, + libpcap, libpciaccess, librsvg, libseccomp, libsigrok, + libtorrent, libunwind, linux-tools, lua-sdl2, lxc, minizip, + mjpegtools, mongoose, php, python, python-pysnmp-apps, + python3, qemu, qt5base, ruby, safeclib, samba4, sdl_mixer, + sox, sudo, systemd, tcpdump, unscd, util-lkinux, vtun, xvisor, + yaffs2utils + + Issues resolved (http://bugs.uclibc.org): + + #11366: [2018.08] SysV IPC not available for fakeroot on WSL + #12261: sudo versions prior to 1.8.28 are affected + +2019.02.6, Released October 3rd, 2019 + + Important / security related fixes. + + Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone: + Use default console settings + + Dependencies: Ensure host has JSON::PP perl module installed + if webkitgtk/wpewebkit packages are enabled as it is needed + during their build process. + + Toolchain: Generate check-headers program under BUILD_DIR + rather than /tmp to fix issues with distributions mounting + /tmp noexec. + + Updated/fixed packages: asterisk, augeas, bind, bwm-ng, cups, + cups-filters, docker-cli, docker-engine, docker-proxy, + dropbear, e2fsprogs, eudev, exim, expat, gcc, go, ifplugd, + haveged, iptables, joe, kf5-extra-cmake-modules, + kf5-modemmanager-qt, kf5-networkmanager-qt, libcurl, + libgcrypt, libgpg-error, libnftl, libnspr, libnss, libopenssl, + luksmeta, mariadb, mbedtls, mongodb, mosquitto, ncurses, + nfs-utils, nghttp2, nodejs, openvmtools, php, protobuf, putty, + qemu, qt5base, samba4, swupdate, systemd-bootchart, thttpd, + uclibc, unzip, util-linux, wireshark + + Issues resolved (http://bugs.uclibc.org): + + #10806: Allow nfs-utils to use ipv6 + #11781: mariadb build error + #12031: Build of cups-filters fails while linking, apparently due.. + #12141: eudev package is missing "render" and "kvm" groups + #12181: dropbear: norootlogin (-w) no longer works when PAM is enabled + #12241: Permission denied while running "make" + +2019.02.5, Released September 2nd, 2019 + + Important / security related fixes. + + Filesystems: Pass extra pax options to tar for binary + reproducibility. + + Updated/fixed packages: apache, arm-trusted-firmware, + asterisk, atk, autofs, batctl, batman-adv, berkeleydb, brotli, + busybox, bzip2, clamav, cloop, cmake, collectd, connman-gtk, + cryptopp, dahdi-linux, dahdi-tools, daq, dehydrated, dovecot, + dovecot-pigeonhole,, elfutils, evtest, exim, expect, giflib, + git, glib-networking, glibc, gnupg2, gnutls, go, + gst1-rtsp-server, gtkperf, gupnp-tools, gvfs, imagemagick, + imx-uuc, intel-microcode, json-glib, lftp, libbsd, libcurl, + libgit2, libgtk3, libmodplug, libnss, libpri, libshout, + libss7, libssh2, libvips, libxcb, linux-headers, mdadm, + mesa3d, metacity, mpg123, mosquitto, musl, nginx, openblas, + opencv3, openldap, openvmtools, pcmanfm, php, pigpio, + postgresql, prboom, proftpd, proj, python, python-django, + python-idna, python-numpy, python-urllib3, python3, qemu, qt5, + qt5base, qt5enginio, quagga, rygel, squid, subversion, + tcpreplay, unzip, vlc, vte, webkitgtk, weston, wireless-regdb, + xen, xfont_font-util, xlib_libICE, xlib_libXfont, + xlib_libXfont2, yad, zeromq + + Issues resolved (http://bugs.uclibc.org): + + #11741: pigpio does not build host-pigpio + #11876: automount using host mount/umount + #11881: Build breaks with lftp package enabled and libexpat1-dev inst.. + #11921: dahdi fails to build + #11961: libpri build failure + #12096: tcpreplay: build fails if libdumbnet-dev is installed in the.. + #12106: daq: build fails if libdumbnet-dev is installed in the host + #12126: vc4 has neon as hard dependency + +2019.02.4, Released July 10th, 2019 + + Important / security related fixes. + + arch: x86: Fix typo breaking 'core-avx2' variant, add Westmere + variant. + + linux: Workaround -Werror related build failure on powerpc, + by forcing CONFIG_PPC_DISABLE_WERROR on. + + support/testing: Emulate a machine with 256MB RAM to fix + issues with certain tests running out of memory. + + test-pkg: Correct long option handling and clean output dir + after a successful build to save disk space. + + Ensure custom _OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS are + passed before the standard exclusions so they are not ignored + by rsync when using override-srcdir. + + Defconfigs: QEMU: use 'rootwait' kernel option to ensure root + partition is available before mounting. + + Updated/fixed packages: barebox, bzip2, davfs2, dbus, dialog, + docker-cli, docker-engine, expat, faad2, ffmpeg, freeswitch, + gerbera, haveged, irssi, libcdadio, libgit2, libglib2, + libsecret, libvncserver, lmbench, logrotate, mariadb, meson, + mongoose, monit, mpd, openblas, php, postgresql, psplash, + python, python-django, python3, qt5base, samba4, taglib, + tvheadend, vlc, webkitgtk, xserver_xorg-server, znc + +2019.02.3, Released June 7th, 2019 + + Important / security related fixes. + + Infra: pkg-config: Use a dedicated timestamp file rather than + .config as that gets touched by linux-4.19+, causing repeated + builds. + + check-bin-arch: Also ignore /usr/lib/grub to support merged + /usr setups, similar to how /lib/grub is ignored. + + gnuconfig/config.sub: Add C-SKY architecture support. + + Updated/fixed packages: assimp, atftp, atop, botan, busybox, + ca-certificates, chocolate-doom, cjson, coreutils, cracklib, + ddrescue, dhcp, docker-cli, docker-containerd, docker-engine, + dosfstools, dovecot, dovecot-pigeonhole, dropbear, exim, + ffmpeg, flare-engine, gcc, gdb, gerbera, glibmm, go, gpsd, + gst-ffmpeg, gst1-plugins-bad, gst1-plugins-base, imagemagick, + intel-microcode, jasper, kf5-kcoreaddons, kismet, libcurl, + libglib2, libnss, libopenssl, libsigrok, libssh2, libupnp18, + linuxptp, luajit, lynx, matchbox-panel, mender, + netcat-openbsd, netsurf, nfs-utils, opus, orc, owfs, + pcsc-lite, php, popt, postgresql, python, python-cython, + python-django, python-ply, qt5enginio, rpm, runc, samba4, + sqlite, subversion, supertux, systemd, tslib, uclibc, + v4l2loopback, webkitgtk, woff2 + + Issues resolved (http://bugs.uclibc.org): + + #11816: Only selected coreutils binaries are installed + #11841: grub-efi.cfg not used when building EFI disk image + #11911: systemd v240 memory leak in systemd-journald + +2019.02.2, Released April 29th, 2019 + + Important / security related fixes. + + Only build host-lzip / host-xz when really needed by packages, + not just when not available on the build host. + + fs: Set FAKEROOTDONTTRYCHOWN environment variable to not + forward {f,l,}chown calls to libc when running under fakeroot + to fix issues when building in restricted environments + (E.G. user namespace with bubblewrap). + + Linux: Also build default make target to ensure extra files + like the gdb scripts enabled by CONFIG_GDB_SCRIPTS are also + built. Notice: This may mean that extra host utilities like + uboot-mkimage are needed. + + Defconfigs: ASUS tinker and Amarula vyasa rk3822: Support + larger kernel images, Atmel SAM5D27, SAM5D2,3,4 xplained: + Increase rootfs size to fit utilities, Raspberry Pi 64bit: + Include overlays in sdcard image + + Updated/fixed packages: android-tools, apache, bind, binutils, + busybox, civetweb, cjson, copas, davfs2, docker-cli, + docker-containerd, docker-engine, dovecot, dovecot-pigeonhole, + freerdp, gerbera, ghostscript, git, gnutls, go, gst-omx, + gst1-plugins-base, gst1-plugins-ugly, haproxy, hostapd, + ipsec-tools, libfreefare, libfuse, libkrb5, libpng, libxml2, + libxslt, linknx, linux, linux-firmware, linux-tools, live555, + lldp, lrzsz, lynx, madplay, make, minicom, mongodb, msmtp, + musl, mutt, neon, netsnmp, numactl, opus, perl, php, + postgresql, pure-ftpd, python-urllib3, python3, qt5base, + rapidxml, rpm, rsyslog, ruby, runc, samba4, sane-backends, + softether, stunnel, sysklogd, syslinux, syslog-ng, + systemd-bootchart, thttpd, thrift, tiff, tor, tpm2-tools, + tpm2-tss, webkitgtk, yaffs2utils, wget, wpa_supplicant, wsapi, + xapp_xfd, xapp_xload, xlib_libXpm, xserver_xorg-server, xz, + znc + + Issues resolved (http://bugs.uclibc.org): + + #11756: package/syslinux: MBR's don't fit because of binutils.. + #11761: Building custom kernel 5.1-rc3 or later breaks on objtool + +2019.02.1, Released March 29th, 2019 + + Important / security related fixes. + + pkg-generic: Only tweak .la files needing it to ensure they + are not included in subsequent package file lists. + + test-pkg: Generate a basic package config if none is + specified. + + Updated/fixed packages: asterisk, avahi, bash, beecrypt, + binutils, busybox, clamav, cups, efl, eigen, fetchmail, file, + flashrom, fltk, gerbera, git, glibc, gnuradio, go, + gst-plugins-bad, intel-gmmlib, jq, kexec, kf5-modemmanager-qt, + leveldb, libcurl, libdrm, libftdi1, libglib2, libiio, libpcap, + libseccomp, libssh2, log4cplus, lvm2, mariadb, mender, + mongodb, mosquitto, musl, nodejs, ntp, openjpeg, owfs, php, + pure-ftpd, putty, python-aiojobs, qt5webkit, rdesktop, samba4, + sunxi-tools, supertux, swupdate, tpm2-abrmd, tpm2-tss, + wavemon, wireshark, vsftpd, xapp_xdm, xen, + xdriver_xf86-video-fbdev, xlib_libXdmcp + + Issues resolved (http://bugs.uclibc.org): + + #11716: Typo on website, saying latest release is 2018.2.11 + +2019.02, released March 4th, 2019 + + Minor fixes. + + Libressl support added for Qt 5.6 as a replacement for + openssl, as 5.6 is not compatible with openssl 1.1.x. + + Updated/fixed packages: cutelyst, devmem2, gqrx, + gst-plugins-bad, libraw, libsoxr, qt5base, runc, systemd, tor + +2019.02-rc3, released March 1st, 2019 + + Fixes all over the tree. + + Openssl support dropped from Qt 5.6, as it isn't compatible + with openssl 1.1.x. + + Toolchain: GCC 8.x updated to 8.3.0, fixing a number of + issues. + + Dependencies: Require CMake 3.8 or newer to fix compilation + issue with certain packages. If not available, host-cmake will + instead be built. + + Printvars: Fix performance regression since 2018.02 + + Scanypi: Correctly handle underscores in python package names. + + Updated/fixed packages: botan, clamav, cryptopp, i2pd, + ibrcommon, iproute2, libcpprestsdk, libssh, lua-curl, + luaexpat, qt5base, runc, stress-ng, syslinux, systemd, + upmpdcli, zbar + + Issues resolved (http://bugs.uclibc.org): + + #9966: util-linux-2.30/.stamp_built' failed + #11696: possible typo in board/pc/post-build.sh + +2019.02-rc2, released February 23th, 2019 + + Fixes all over the tree. + + Removed zynq_zybo defconfig, as it hasn't seen any update + since it was added in 2016, and uses a U-Boot version not + compatible with openssl-1.1.x. + + Linux: Ignore user supplied downloadable hashes, as no hash + checksums are available for those. + + Updated/fixed packages: bind, cryptopp, docker-containerd, + dtc, efivar, gdb, imagemagick, ipmiutil, libcpprestsdk, + libcurl, libgpiod, libid3tag, libv4l, log4cplus, luvi, + madplay, mender, mosquitto, poco, postgresql, proftpd, + pulseaudio, python-django, qemu, qt5base, qwt, rabbitmq-c, + reaver, safeclip, stress-ng, swupdate, syslog-ng, systemd, + tor, unzip, xenomai + + Issues resolved (http://bugs.uclibc.org): + + #11501: compile sdl2 with enable wayland + #11681: .. unable to initialize decompress status for section.. + +2019.02-rc1, released February 13th, 2019 + + Fixes all over the tree and new features. + + + Dependencies: + + Require Python >= 2.7 as it is needed for E.G. building + libglib2. + + Ensure GNU gzip is used for reproducible tarballs (instead of + pigz) + + + Infrastucture: + + Ensure the PLATFORM and OS environment variables are not set, + as they cause build issues for some packages. + + The package list infrastructure now correctly handles packages + installing files with old mtime. + + Add a config option to force all optional host utilities to be + built, even if suitable versions are available on the build + machine. + + graph-build-time: Also show time spent downloading + + Download: fixes for SSH/SCP support + + Ensure user provided permissions override permissions from + packages. + + SDK: Fix handling of relative symlinks (targets starting with + '.' or '..') + + BR2_SYSTEM_DEFAULT_PATH setting to customize the default path + for processes. + + The custom skeleton logic will now populate the needed /bin, + /lib, /sbin directories/symlinks if not present. Merged /usr + can now be used with a custom skeleton. + + Rootfs overlays can now override symbolic links from + packages. This was disabled to ensure the correct symbolic + links are present when merged /usr is used. Instead validate + that the rootfs overlays do not include invalid /bin, /sbin + and /lib entries. + + The waf infrastructure now support the _SUBDIR variable, + similar to the other package types. + + cmake: Also set CMAKE_SYSTEM_VERSION in toolchainfile.cmake + + Various improvements to the meson infrastructure. + + Luarocks: A Buildroot addon has been added to automate + creating a Buildroot package from luarocks, similar to + scancpan and scanpypi. + + scanpypi: protect against zip-slip vulnerability in zip/tar + handling + + check-package: fix Python 3 support + + get-developers: Fix behaviour when called from elsewhere than + the toplevel directory. + + pkg-stats: Show latest upstream version of each package, based + on data from release-monitoring.org + + kconfig: Fix for make linux-menuconfig / uboot-menuconfig from + a clean tree when ccache is enabled. + + Default to sha256 password encoding, drop md5 support. + + + Architecture: + + Support for RISC-V 32bit architecture, ARM A55, 75 and Saphira + variants, MIPS support for mips32r3, mips64r3 and Marvell + Octeon II/III variants. + + + Toolchain: + + ARC toolchain 2018.09, ARM 8.2-2018.11, Codescape IMG/MTI MIPS + 2018.09-02, MUSL 1.1.21, GCC 6.5.0 / 7.4.0, GDB 8.2.1 + + + Packages: + + openssl: Bump to 1.1.1x series, bringing TLSv1.3 support and + long term support. + + fftw: Split into fftw-{single,double,long-double,quad} + packages for the different data precision options. + + libcurl: Now has explicit TLS backend selection options. + + linux: Support building device tree blobs with the -@ option + for device tree overlays. + + weston: The weston-imx i.MX variant is now used when + imx-gpu-viv is enabled + + pkgconf: Update to 1.5.3, which brings support for + --define-prefix (used by GStreamer) + + Add host-python3-setuptools package to handle host python + packages needing python3 with setuptools support. + + + New defconfigs: Aarch64 EFI, Orangepi one plus, Orangepi lite + 2, QEMU RISC-V 32bit virt, Rock64 + + + New packages: brcm-patchram-plus, clinfo, cunit, docker-cli, + erlang-p1-eimp, exempi, fail2ban, fftw-double, + fftw-double-long, fftw-quad, fftw-single, gerbera, grpc, + gst1-shark, intel-gmmlib, iwd, kf5-kcoreaddons, libeastl, + libpackagekite, libtorrent-rasterbar, lua-std-debug, + lua-std-normalize, mini-snmpd, netsurf, pamtester, pcm-tools, + python-aiodns, python-aiohttp, python-aiohttp-jinja2, + python-aiohttp-remotes, python-aiohttp-security, + python-aiohttp-session, python-aiohttpd-sse, python-aiojobs, + python-cchardet, python-pycares, python-sentry-sdk, + python-wtforms, python3-setuptools, rcw, rtc-tools, shim, + utp_com, vmtouch, websocketpp + + Removed packages: fftw, lua 5.2.x, luacrypto, perl-time-hires, + python-pyqt, qt, qtuio, tn5250 + + Issues resolved (http://bugs.uclibc.org): + + #10851: Patch to handle numpad Enter key properly + #11066: x11r7 X11 S40xorg leads to a black screen on QEMU x86.. + #11126: Bash Shell Programming using Buildroot + #11426: pps-tools bash dependency + #11476: stdio2.h error invalid use of __builtin_va_arg_pack + #11536: dt-utils building fails with glibc 2.28 + #11546: open-vm-tools with glibc 2.28 + #11566: Fix init script + #11576: Unable to start apache with event MPM on raspberry pi 3 + #11591: [pkgconf 1.5.3] xserver OpenGL support is missing + #11606: libjpeg has no Config.in + #11616: 2018.02.09 fails to build libzlib with full RELRO.. + #11656: Custom device tree and u-boot boot.scr not integrated.. + #11666: Touchscreen with (Py)Qt5 should use tslib instead of evdev + +2018.11.4, Released March 28th, 2019 + + Important / security related fixes. + + Updated/fixed packages: avahi, beecrypt, binutils, botan, + busybox, clamav, cups, devmem2, efl, fetchmail, file, fltk, + gcc, gdb, git, go, gst-plugins-bad, iproute2, jq, + kf5-modemmanager-qt, leveldb, libopenssl, libraw, libseccomp, + libsoxr, libssh2, mariadb, mosquitto, nodejs, ntp, openjpeg, + perl, php, putty, qt5webkit, rdesktop, runc, samba4, swupdate, + systemd, tor, vsftpd, wireshark, xapp_xdm, xen, xlib_libXdmcp + +2018.11.3, Released February 23th, 2019 + + Important / security related fixes. + + Ensure the PLATFORM and OS environment variables are not set, + as they cause build issues for some packages. + + The package list infrastructure now correctly handles packages + installing files with old mtime. + + Linux: Skip hash checks for user supplied downloadable + patches, as no hash checksums are available for those. + + scanpypi: protect against zip-slip vulnerability in zip/tar + handling + + Download: fixes for SSH/SCP support + + SDK: Fix handling of relative symlinks (targets starting with + '.' or '..') + + Updated/fixed packages: bind, dhcpcd, docker-compose, + docker-containerd, docker-engine, dovecot, dovecot-pigeonhole, + dtc, efivar, ghostscript, gnuradio, imagemagick, jpeg-turbo, + libarchive, libb64, libcurl, libgeotiff, libgpiod, libid3tag, + libupnp18, log4cplus, madplay, meson, mosquitto, openssh, php, + poco, postgresql, proftpd, pulseaudio, python, python-django, + python3, qt5base, reaver, runc, sg3_utils, sqlcipher, + swupdate, systemd, unzip, webkitgtk, xenomai + +2018.11.2, Released January 30th, 2019 + + Important / security related fixes. + + Defconfigs: Fixes for imx6slevk, imx7dsabresd, imx8mqevk, Lego + EV3, QEMU AArch64-virt + + Download: Fix scp download handling + + check-package: fix Python 3 support + + get-developers: Fix behaviour when called from elsewhere than + the toplevel directory. + + kconfig: Fix for make linux-menuconfig / uboot-menuconfig from + a clean tree when ccache is enabled. + + cmake: Also set CMAKE_SYSTEM_VERSION in toolchainfile.cmake + + Updated/fixed packages: acpica, apache, apr, avrdude, cargo, + cc-tool, dash, dhcpdump, dmalloc, docker-containerd, efivar, + fwts, glibc, gnuchess, gnupg2, go, leveldb, libarchive, + libassuan, libftdi1, libgpg-error, libhttpparser, libkcapi, + libmad, libsndfile, libsquish, liburiparser, libwebsock, + libxml2, lighttpd, llvm, lm-sensors, lua-msgpack-native, lxc, + mariadb, mbedtls, meson, mosquitto, netatalk, nodejs, odhcp6c, + openresolv, openssh, pango, patchelf, php, python-django, + python-numpy, python-pyyaml, rauc, rp-pppoe, s6-networking, + samba4, sdl_sound, shairport-sync, sqlite, subversion, + sunxi-cedarx, swupdate, systemd, tcpreplay, tekui, tmp2-abrmd, + tpm2-tools, tpm2-tss, udisks, unixodbc, usb_modeswitch, + webkitgtk, wireshark, wolfssl, xapp_rgb, xenomai, xerces + + Issues resolved (http://bugs.uclibc.org): + + #11576: Unable to start apache with event MPM on raspberry pi 3 + +2018.11.1, Released December 20th, 2018 + + Important / security related fixes. + + defconfigs: Fixes for bananapi m2 ultra, ci20 + + Download wrapper: Fix for urlencode handling + + Updated/fixed packages: asterisk, docker-compose, + docker-engine, dt-utils, gnutls, go, grub, libbsd, libcurl, + libpgpme, libiscsi, liblo, libmpd, libopenssl, liboping, + libpam-tacplus, libpjsip, linux-firmware, liquid-dsp, + lua-cqueue, luvi, lxc, lynx, nginx, nodejs, openzwave, php, + pps-tools, proftpd, prosody, sdl2_net, squashfs, swupdate, + uclibc, vtu, webkitgtk, wine, xen + + New packages: docker-cli + + Issues resolved (http://bugs.uclibc.org): + + #11426: pps-tools bash dependency + #11536: dt-utils building fails with glibc 2.28 + +2018.11, Released December 1st, 2018 + + Minor fixes. + + Updated/fixed packages: c-ares, quagga, squid + +2018.11-rc3, released November 30th, 2018 + + Fixes all over the tree. + + Defconfigs: Fixes for Armadeus APF27, imx6sabre, Olimex A20 + olinuxino lime legacy, Orangepi zero plus 2, PC, Riotboard. + + graph-depends: Fix for package names starting with a non-alpha + character. + + Updated/fixed packages: alsa-utils, botan, dante, domoticz, + dtc, freetype, gauche, gcc, gdb, ghostscript, glibc, + imx-usb-loader, libbsd, libid3tag, libkrb5, libmicrohttpd, + libopenssl, libsoxr, linux, motion, msgpack, mtd, + perl-net-ssleay, php, popt, python-numpy, qt5declarative, + samba4, shadowsocks-libev, stress-ng, systemd, usb_modeswitch, + webkitgtk, valgrind, weston, xfsprogs + +2018.11-rc2, released November 21th, 2018 + + Fixes all over the tree. + + fs: Drop intermediate tarball from the filesystem handling to + fix an issue with xattrs handling related to fakeroot. Ensure + tarball target includes xattrs. + + download: Fix confusion in git submodule handling if dl/ is a + symlink. + + genrandconfig: Fix missing newline in BR2_WGET handling, + causing the following line to be ignored. This would affect + BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX, BR2_INIT_SYSTEMD, + BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, BR2_STATIC_LIBS or + BR2_PACKAGE_PYTHON_PY_ONLY depending on the randomization. + + show-build-order: Also include the dependencies of + rootfs-common. + + Fix a number of build issues in packages for the recently + merged RISC-V architecture support. + + Updated/fixed packages: dt-utils, easydbus, elfutils, + flare-engine, flatcc, glibc, gstreamer, gstreamer1, imx-uuc, + libassuan, libcorrect, libiscsi, libkrb5, libmicrohttpd, + libnftnl, libnspr, libnss, libsemanage, libsigsegv, libv4l, + ltp-testsuite, luv, luvi, make, ncmpc, netplug, openocd, + prosody, qemu, rpm, sconeserver, shadowsocks-libev, + supertuxcart, syslinux, systemd, trace-cmd, uclibc, + uclibc-ng-test, vtun, webkitgtk, weston, wireshark, xen, + xlib_libfontenc + + Issues resolved (http://bugs.uclibc.org): + + #11086: download/git submodule breaks on symlinked dl folder + #11216: Capabilities not applied to filesystem + +2018.11-rc1, released November 9th, 2018 + + Fixes all over the tree and new features. + + Architecture: RISC-V support (64bit) added. + + Toolchain: Glibc bumped to 2.28. Fortran support for external + toolchains. ARM (Linaro) toolchains updated to 8.2-2018.08. + + Hardening flags (RELRO) are now handled by the toolchain + wrapper instead of explicitly through CFLAGS/LDFLAGS, fixing a + number of issues. + + Filesystems: Support for creating btrfs and f2fs filesystems + added. + + Add a number of patches to fix build errors for host utilities + on modern distributions using glibc-2.28. + + mkusers: Ensure existing group members are preserved when a + group is reprocessed. + + printvars: Fix issue with exceeding shell command line length + limits for certain setups. + + Workaround added for incompatibility issues between host-dtc + and older U-Boot and Linux kernel versions. + + Detect and reject build paths containing '@', as this confuses + a number of packages, including GCC. + + utils/diffconfig: Make it work for (non-Buildroot) config + files not using the BR2_ prefix. + + New defconfigs: Amarula a64-relic, Bananapi m2 ultra, Embest + riotboard, Hardkernel Odroid XU-4, QEMU riscv64-virt. + olimex_a20_olinuxion_lime_mali is renamed to _legacy. + + OpenCL infrastructure support added, similar to how OpenGL is + handled. + + Linux-headers: Support for kernel headers from a custom + tarball / git repo added. + + New packages: bird, bluez5_utils-headers, btrfs-progs, + checksec, davici, duktape, ell, haproxy, libclc, libcorrect, + libopencl, libopenresolv, nss-myhostname, + perl-apache-logformat-compiler, perl-appconfig, + perl-astro-suntime, perl-class-inspector, perl-class-load, + perl-class-method-modifiers, perl-class-std, + perl-class-std-fast, perl-cookie-baker, perl-data-dump, + perl-data-optlist, perl-data-uuid, perl-data-manip, + perl-dbd-mysql, perl-dbi, perl-devel-globaldestruction, + perl-devel-stacktrace, perl-devel-stacktrace-ashtml, + perl-device-serialport, perl-dist-checkconflicts, + perl-exporter-tiny, perl-file-sharedir, perl-file-slurp, + perl-filesys-notify-simple, perl-hash-multivalue, + perl-http-entity-parser, perl-http-headers-fast, + perl-http-multipartparser, perl-io-interface, + perl-io-socket-multicast, perl-json-maybexs, perl-mime-tools, + perl-module-implementation, perl-module-runtime, perl-moo, + perl-number-bytes-human, perl-package-stash, perl-params-util, + perl-plack, perl-posix-strftime-compiler, perl-role-tiny, + perl-streams-buffered, perl-sub-exporter-progressive, + perl-sub-install, perl-sub-quote, perl-sys-cpu, + perl-sys-meminfo, perl-sys-mmap, perl-time-parsedate, + perl-type-tiny, perl-www-form-urlencoded, perl-x10, pigpio, + python-async-timeout, python-falcon, python-fire, + python-mimeparse, python-multidict, python-passlib, + python-pigpio, python-pip, python-ply, python-py, + python-pyasn1, python-pyasn1-modules, python-pycryptodomex, + python-pyhamcrest, python-pysmi, python-scapy, python-semver, + python-serial-asyncio, python-typing, python-uvloop, + pythonwrapt, python-yarl, python-zeroconf, riscv-pk, sedutil, + spandsp, tini, waffle, xapian + + Removed packages: bootutils, dsp-tools, expedite, gst-dsp, + xloader + + Issues resolved (http://bugs.uclibc.org): + + #11116: Buildroot should set PYTHON_EGG_CACHE instead of writing .. + #11156: In python3 module 'socket' has no attribute 'AF_BLUETOOTH' + #11166: Erlang bad argument on valid uint64 when crosscompiled on.. + #11206: zlib: fails to build with Linaro toolchain, BR2_RELRO_FULL.. + #11241: ACPID shouldn't depend on BR2_x86_64 || BR2_i386 + #11251: Util scanpypi failes when package change - to _ in tar file + #11266: qt5base-5.11.1 does not compile with musl, complains about.. + #11286: python-rpi-gpio only should depend on BR2_arm || BR2_aarch64 + #11321: Latest master fails to build readline with RELRO FULL + #11326: sysvinit fails to build in latest GIT master + #11331: Internal application no longer builds with latest GIT master + #11336: nfs-utils fails to build in latest GIT master + #11351: build root-2018-08, linaro aarch64 compile error + #11376: mdmon binary missing + #11391: Valgind availability on ARM + #11396: uboot environment image checksum invalid if target is big endian + #11421: GCC error message for ARM Cortex-A9/ARM.V7 + #11451: Can't find libmpfr.so.4 when using external toolchain on ubuntu.. + #11481: Docs: Is external.desc required? + +2018.08.4, Released December 20th, 2018 + + Important / security related fixes. + + Defconfigs: Fixes for ci20, orangepi zero plus 2 + + Download wrapper: Fix for urlencode handling + + Updated/fixed packages: c-ares, dante, docker-compose, + domoticz, freetype, ghostscript, gnutls, libcurl, libgpgme, + libid3tag, libiscsi, libmpd, libopenssl, liboping, libpjsip, + linux-firmware, liquid-dsp, luvi, lynx, msgpack, nginx, + nodejs, php, popt, pps-tools, prosody, python-numpy, + python-requests, samba4, sdl2_net, squashfs, swupdate, + systemd, uclibc, vte, webkitgtk, wine, xfsprogs + + Issues resolved (http://bugs.uclibc.org): + + #11426: pps-tools bash dependency + +2018.08.3, Released November 26th, 2018 + + Important / security related fixes. + + fs: Drop intermediate tarball from the filesystem handling to + fix an issue with xattrs handling related to fakeroot. Ensure + tarball target includes xattrs. + + download: Fix confusion in git submodule handling if dl/ is a + symlink. + + toolchain: Only allow enabling stack protection on + architectures with control flow integrity (CFI) support. Only + allow FORTIFY_SOURCE support on gcc >= 6. + + genrandconfig: Fix missing newline in BR2_WGET handling, + causing the following line to be ignored. This would affect + BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX, BR2_INIT_SYSTEMD, + BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, BR2_STATIC_LIBS or + BR2_PACKAGE_PYTHON_PY_ONLY depending on the randomization. + + show-build-order: Also include the dependencies of + rootfs-common. + + Defconfigs: Fixes for Armadeus APF27, imx6sabre, Olimex A20 + olinuxino lime legacy, Orangepi zero plus 2. + + graph-depends: Fix for package names starting with a non-alpha + character. + + Updated/fixed packages: attr, audit, bind, brotli, busybox, + dtc, easydbus, elfutils, flare-engine, flatcc, gauche, gcc, + giflib, gpsd, lcdproc, libcurl, libiscsi, libkcapi, libnfs, + libnspr, libnss, libsemanage, liburiparser, lighttpd, + lua-curl, mariadb, mmc, mosquitto, mysql, ncmpc, neardal, + netplug, network-manager, nfs-utils, nginx, openocd, openswan, + p11-kit, postgresql, prosody, qemu, qt, rpm, ruby, samba4, + squid, supertuxkart, systemd, tar, trace-cmd, traceroute, + twolame, uclibc, usb_modeswitch, vtun, webkitgtk, weston, + xdriver_xf86-video-geode, xlib_libfontenc, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #11086: download/git submodule breaks on symlinked dl folder + #11481: Docs: Is external.desc required? + +2018.08.2, Released October 25th, 2018 + + Important / security related fixes. + + Workaround added for incompatibility issues between host-dtc + and older U-Boot and Linux kernel versions. + + Detect and reject build paths containing '@', as this confuses + a number of packages, including GCC. + + utils/get-developers: Add -e option for use with git + send-email. + + utils/diffconfig: Make it work for (non-Buildroot) config + files not using the BR2_ prefix. + + u-boot: Fix for environment image handling on big endian + systems. + + Updated/fixed packages: binutils, ca-certificates, + cups-filters, dtc, erlang, file, freetype, gcc, git, gvfs, + jasper, leveldb, libarchive, libssh, live555, ljlinenoise, + mariadb, mongoose, netsnmp, nmap, nodejs, ntp, open-plc-utils, + poco, psmisc, ptpd2, python-enum34, qemu, qt, qt5base, + setools, spice, spice-protocol, tinc, ustr, wireshark, + + Issues resolved (http://bugs.uclibc.org): + + #11396: uboot environment image checksum invalid if target is big endian + +2018.08.1, Released October 7th, 2018 + + Important / security related fixes. + + Add a number of patches to fix build errors for host utilities + on modern distributions using glibc-2.28. + + mkusers: Ensure existing group members are preserved when a + group is reprocessed. + + printvars: Fix issue with exceeding shell command line length + limits for certain setups. + + Updated/fixed packages: acpid, android-tools, apache, + arp-scan, bandwidthd, bind, brltty, clamav, connman, cppcms, + domoticz, dtc, fio, gcc, gdb, ghostscript, gnupg, httpping, + igmpproxy, imlib2, ipsec-tools, libesmtp, libnfs, libxslt, + links, lua, mosquitto, nilfs-utils, ocrad, parted, php, + python-django, screen, shairport-sync, strongswan, + vboot-utils, webkitgtk, wireguard, x265 xen, xlib_libXdmcp, + xlib_libXfont, xlib_libXft, xlib_libxshmfence, + xutil_makedepend, zeromq + +2018.08, Released September 6th, 2018 + + Minor fixes. + + Known issues: + + - Glibc 2.28 on the build host breaks compilation of a number + of host packages. 2018.08 contains fixes for some of these + packages, but not all. Consider building on hosts (or in + containers) using older Glibc versions. + + - host-dtc 1.4.7 breaks compilation of older U-Boot and Linux + kernel configurations using FDT/DTC. Consider updating the + Linux kernel to >= 4.17 and U-Boot to >= 2018.07 or + backporting commit 9130ba8846 (scripts/dtc: Update to + upstream version v1.4.6-9-gaadd0b65c987) for the Linux + kernel / commit db405d1980 for U-Boot. + Alternatively revert commit 7b929ddcf0 (dtc: bump version to + 1.4.7) and ensure your build host does not have the libfdt + development headers installed. + + Updated/fixed packages: busybox, chipmunk, cutelyst, + domoticz, gcc, imagemagick, lcms2, libcurl, mediastreamer, + moarvm, php, qt, qt5virtualkeyboard, qt5webengine, screen, + sdl2, squashfs, uboot, xen + + Issues resolved (http://bugs.uclibc.org): + + #11261: ccache using wrong cached objects + #11276: Understanding the patch for kernel-4.9 and other.. + +2018.08-rc3, Released August 31th, 2018 + + Fixes all over the tree. + + linux: additional improvements to the flex / bison dependency + handling, use system provided variant if available. Ensure + toolchain is available when configuring for 4.18+ support. + + Download: Fix handling of primary sites using file:// + + Toolchain: Correct external toolchain musl detection for + static toolchains. + + Updated/fixed packages: aircrack-ng, bison, brltty, busybox, + cutelyst, dropbear, gr-osmosdr, i2c-tools, json-c, libconfuse, + libkcapi, libsoup, libssh, liburiparser, mbedtls, mender, + mesa3d, minicom, mjpegtools, mutt, openpowerlink, openssh, + oracle-mysql, php, postgresql, pv, qt5base, qt5quickcontrols, + rauc, shairport-sync, systemd, xlib_libX11, zeromq, + + Issues resolved (http://bugs.uclibc.org): + + #11091: BR2_PRIMARY_SITE doesn't work (wget is selected... + #11141: WF111 package no longer available + #11211: Internal compiler error: Killed (program cc1plus).. + #11236: util-linux fails to build on Travis CI when python.. + #11246: Glibc 2.28 - fails to build host-bison and host-m4 + #11256: Add python-falcon and python-mimeparse packages + +2018.08-rc2, Released August 20th, 2018 + + Fixes all over the tree. + + pkg-kconfig: Support dependencies needed to run the + configurator, E.G. recent Linux kernel versions needing flex + and bison. + + Defconfigs: ARM Juno: Bump ATF to fix a build + issue. Raspberrypi2: Bump rootfs size. Snps_archs38_vdk: + Correct /etc/inittab. Technologic ts7680: Correct genimage + configuration. Orange PI PC / Zero, Sheevaplug: Bump U-boot to + 2018.07 to fix build issue. Ensure host-openssl is pulled in + for kernel builds where needed. + + Updated/fixed packages: aircrack-ng, bind, boost, + boot-wrapper-aarch64, bzip2, busybox, chrony, cryptsetup, + dahdi-tools, dbus, domoticz, eigen, ipsec-tools, libarchive, + libfuse, libgit2, libopenssl, libselinux, lighttpd, lvm2, m4, + makedevs, mariadb, mesa3d-headers, mono, ncmpc, ncurses, + nodejs, php, python-django, python-pyqt5, qt5base, + qt5serialbus, ruby, samba4, uboot-tools, uclibc, vlc, + waylandpp, wireless_tools, wireshark, wpa_supplicant, mtd, + xdriver_xf86-video-ati, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #10781: cryptsetup luksOpen container_file container causes.. + #10996: bogus musl ARM toolchain + #11191: xattr and check-package issue + +2018.08-rc1, Released August 5th, 2018 + + Toolchain: + + - add support for gcc 8.x, switch to gcc 7.x as the default + version + - add support for gdb 8.1, switch to gdb 8.0 as the default + and remove gdb 7.10/7.11 + - add support for binutils 2.31 + - NIOSII CodeSourcery toolchain updated + - Linaro AArch64 BE toolchain added, and other Linaro + toolchains updated + - Synopsys ARC pre-built toolchain updated + + Architecture: add support for ARM Cortex-M7 + + Major updates: + + - systemd bumped to 239 + - Qt5 bumped to 5.11.1 + - Rust bumped to 1.27 + - GStreamer stack bumped to 1.14.2 + - X.org server bumped to 1.20, and all X.org proto packages + replaced by the single xorgproto package + - i.MX6 support packages bumped to 6.2.4 + - i.MX Vivante graphics version bumped to 6.2.4.p1.2, + adding support for Wayland and i.MX8MQ platforms + + Linux: bumped to 4.17 by default. + + Infrastructure: new package infrastructure added for packages + using the Meson build system + + New packages: at-spi2-atk, at-spi2-core, capnproto, cmocka, + corkscrew, cutelyst, davfs2, flatcc, libidn2, libgit2, + libopusenc, mender, nghttp2, perl-convert-asn1, perl-crypt-blowfish, + perl-crypt-cbc, perl-digest-md5, perl-mime-base64-urlsafe, + perl-mojolicious-plugin-authentication, perl-net-ping, + perl-net-snmp, perl-net-ssh2, perl-net-telnet, pigz, + python-reentry, python-request-id, python-validators, + python-webob, shadowsocks-libev, speexdsp, xorgproto, wampcc + + New defconfigs: NXP i.MX7D SDB, Boundary Devices Nitrogen 8M, + Olimex A10 OLinuxino, ZynqMP ZCU106 + + Removed packages: all xproto_* have been removed and replaced + by xorgproto + + Issues resolved (http://bugs.uclibc.org): + + #9411: MUSL build with RT Error relocating /lib/libgcc_s.so.1: + __cpu_indicator_init: symbol not found + #9921: lockfile module within python-daemon not available + #10341: gdb install of py files when using buildroot toolchain + includes build path + #10661: /etc/init.d/S29netplug starts multiple instances of netplugd + #10751: Missing dependency in pulseaudio package + #10811: kodi-17.6-Krypton does not compile for freescale_* devices + #10856: openblas on qemu_x86_64_defconfig fails with + "sgemm_kernel.o: No such file or directory" + #11056: Compiling a file that uses libdrm headers fails with: + fatal error: drm.h: No such file or directory + #11061: support/download: git version=master broken + #11071: Building postgresql package on Debian 9.4 x64 for armel target fails + #11076: Docker containerd installed to incorrect path + #11101: host-patchelf Endian Issue with relative RPATH + #11111: raspberry pi 3 b+: missing BSP for 64-bit kernel + #11121: statfs call corrupts memory struct statfs too small + #11181: Switching toolchain does not work + +2018.05.3, Released October 6th, 2018 + + Important / security related fixes. + + Add a number of patches to fix build errors for host utilities + on modern distributions using glibc-2.28. + + mkusers: Ensure existing group members are preserved when a + group is reprocessed. + + printvars: Fix issue with exceeding shell command line length + limits for certain setups. + + Updated/fixed packages: acpid, android-tools, apache, + arp-scan, bandwidthd, bind, bison, brltty, chipmunk, connman, + cppcms, fio, gcc, ghostscript, gnupg, httping, igmpproxy, + imagemagick, imlib2, ipsec-tools, lcm2, libcurl, libesmtp, + libnfs, libssh, libxslt, links, mediastreamer, minicom, + moarvm, nilfs-utils, ocrad, parted, php, postgresql, pv, + python-django, qt, qt5quickcontrols, qt5webengine, screen, + sdl2, shairport-sync, squashfs, strongswan, vboot-utils, + webkitgtk, wireguard, x265, xen, xlib_libXfont, xlib_libXft, + xlib_libxshmfence, zeromq + +2018.05.2, Released August 28th, 2018 + + Important / security related fixes. + + Defconfigs: Raspberrypi2: Bump rootfs size, T7680: Fix + genimage.cfg issue, ARM Juno: Bump ATF to v1.3 to fix build + issue. + + Updated/fixed packages: acl, attr, apache, bind, + boot-wrapper-aarch64, brltty, bzip2, chrony, crda, cryptsetup, + dahdi-tools, dmidecode, dropbear, eigen, ffmpeg, gawk, gcc, + ghostscript, gnutls, imx-gpu-viv, ipsec-tools, libarchive, + libfuse, libglib2, libopenssl, libselinux, libsoup, lighttpd, + linuxptp, lttng-modules, lttng-tools, lua-flu, lvm2, m4, + makedevs, mariadb, mbedtls, mesa3d-heders, mtd, ncurses, + nodejs, openssh, php, python-django, rauc, ruby, samba4, + stress-ng, ti-utils, uboot-tools, uclibc, vim, waylandpp, + wireless_tools, wireless-regdb, wireshark, wpa_supplicant, + xorriso, znc + + Issues resolved (http://bugs.uclibc.org): + + #10781: cryptsetup luksOpen container_file container causes.. + #10986: Installing package attr when already supplied by.. + #11191: xattr and check-package issue + +2018.05.1, Released July 20th, 2018 + + Important / security related fixes. + + U-Boot: Ensure host version of ncurses is picked up and not + host-ncurses built by buildroot, as that otherwise causes + widechar/non-widechar conflicts and corrupted menuconfig + menus. + + Linux: Enable CONFIG_PERF_EVENTS when perf is enabled. + + Toolchain: ARC tools updated to arc-2018.03. + + pkg-stats: Fix python 3.x compatibility. + + dl-wrapper: Fix support for URIs containing '+', fix + no-check-hash for inferred site method. + + Defconfigs: Raspberrypi3: Bump rootfs size, Minnowboard-max: + Support ethernet on Turbot variant. + + Updated/fixed packages: audit, bind, btrfs-progs, cifs-utils, + clamav, collectd, coreutils, docker-containerd, dos2unix, + edid-decode, file, gcc, gdb, gnupg, gnupg2, heimdal, hidapi, + imagemagick, libcurl, libgcrypt, libglib2, liblogging, + libostree, libressl, libsoup, libv4l, libvncserver, libvorbis, + libwebsockets, libxslt, lm-sensors, mariadb, mpg123, ncurses, + network-manager, nodejs, patchelf, perl, php-amqp, pinentry, + pixiewps, qpdf, qt53d, qt5base, qt5charts, qt5script, redis, + systemd, triggerhappy, uboot, wireguard, wireless-regdb, + wireshark + +2018.05, Released June 1st, 2018 + + Minor fixes. + + Download: Work around for hanging connections for packages + from CVS, by adding a 10 minute max timeout. + + Updated/fixed packages: binutils, clang, dash, expect, git, + glibc, jpeg-turbo, libjpeg, log4cplus, openvmtools, xen, + + Issues resolved (http://bugs.uclibc.org): + + #11051: runtime issue on STM32 with usage of binutils 2.29.x + +2018.05-rc3, Released May 28th, 2018 + + Fixes all over the tree. + + Toolchain: ARC tools updated to arc-2018.03-rc2. + + Fs: Ensure hard links in TARGET_DIR are correctly copied for + filesystem input. With the recent changes to the file system + generation logic, hard links were "expanded" in file system + images leading to bloated rootfs images for setups with hard + links. + + Infrastructure: Error out for packages using the 'local' + method but forgetting to specify _SITE. + + Build rpcgen for the host when needed to support distributions + no longer shipping rpcgen with glibc (E.G. recent Fedora). + + Updated/fixed packages: autofs, bash-completion, binutils, + busybox, cjson, elf2flt, libcoap, libcurl, libtirpc, lrzsz, + poppler, procps-ng, qt-webkit-kiosk, quota, samba4, xfsprogs + + Issues resolved (http://bugs.uclibc.org): + + #11031: ld-elf2flt: host/bin/ld.real': execvp: No such file.. + #11036: C compiler cannot create executables + #11046: Git package binaries are ~180MB (compared to ~20MB in.. + +2018.05-rc2, Released May 22nd, 2018 + + Fixes all over the tree. + + Dependencies: Check that the current working directory (.) + isn't listed in PATH as that causes various build issues. + + Manual: Clarify that git branch names may not be used as + version identifiers. This has never been supported, but was + kind of working (with some limitations) before the git + download rework - Now it does not work at all. + + Linux: Ensure host version of ncurses is picked up and not + host-ncurses built by buildroot, as that otherwise causes + widechar/non-widechar conflicts and corrupted menuconfig + menus. + + Packages: Renamed a number of package options not prefixed + with BR2_PACKAGE_ for consstency. + + Download infrastructure: Fix file:// protocol handling after + download rework. + + Updated/fixed packages: acl, apr-util, asterisk, attr, + bluez5_utils, cifs-utils, clamav, clang, cups-filters, + dahdi-linux, exim, faketime, gdb, go, gst1-plugins-bad, + imx-mkimage, ipsec-tools, jamvm, janus-gateway, + jquery-ui-themes, libcap, libcurl, libftdi, libkcapi, libkrb5, + libmediaart, libmodbus, libmodplug, libmpd, + libnetfilter_cthelper, libnetfilter_cttimeout, libnfc, + libnfnetlink, libnss, liboauth, libogg, libosip2, + libpam-radius-auth, libpcap, libpciaccess, llvm, log4cplus, + ltrace, lynx, mbedtls, modem-manager, nfs-utils, + python-cython, python-websockets, qt5cinex, qt5wayland, rauc, + snort, strace, ti-sgx-km, transmission, wavpack, wget, woff2, + xen, zmqpp, znc, zstd + + Issues resolved (http://bugs.uclibc.org): + + #10986: Installing package attr when already supplied by... + #11011: BUildroot for Raspberry Pi 2 + #11016: Wrong compiler used for external user host packages + +2018.05-rc1, Released May 9th, 2018 + + Toolchain: glibc bumped to 2.27, musl bumped to 1.1.19, + uClibc-ng 1.0.30, Linux kernel headers bumped to 4.16.x. + + Architecture: support for the Blackfin architecture has been + removed, as it was removed from Linux upstream, poorly + maintained in binutils/gdb, and abandoned by Analog Devices. + + Numerous packages updated to have hashes for their license + files. + + Systemd can now be built with uClibc toolchains. + + Linux: addition of BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF and + BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL to support building Linux + kernel configurations that need libelf on the host or openssl + on the host. + + Coding style: + - all Python scripts are now verified with flake8 + - check-package extended to check all Config.in and .mk files + in tree, not only the ones in package/ + + Infrastructure: + + - The download infrastructure has seen a major overhaul, with + the main visible new feature being Git caching: a package + fetched from Git no longer needs to be re-cloned entirely + everytime its version is changed. Anoter visible change is + that the download folder now has subfolders per package. See + http://lists.busybox.net/pipermail/buildroot/2018-April/217923.html + for more details about those changes. + + - The logic that generates the root filesystem images has been + reworked, with the main goal of allowing several filesystem + images to be produced in parallel, also a requirement for + top-level parallel build. Now, a .tar filesystem image is + always created, and re-extracted in a private directory to + create each format-specific filesystem image. + + - A new package infrastructure was introduced for Go-based + packages: golang-package. + + - Dependencies on extraction tools are now handled as proper + per-package dependencies, using + _EXTRACT_DEPENDENCIES. Beyond a cleanup, this is also a + preparation step for top-level parallel build support. + + - When a file being downloaded is part of a package with a + .hash file, but there is no hash listed for this file, the + file is now preserved in the download directory rather than + removed. This helps when updating a package, as it gives the + ability to easily calculate the hash of the file. + + - Addition of '-show-recursive-depends' and + '-show-recursive-rdepends' make targets, to + respectively display the recursive list of dependencies and + the recursive list of reverse dependencies of a given + package. + + - The /etc/shells file is now automatically generated with the + list of shell programs installed on the system. + + - Addition of -Ofast optimization level as an available + option. + + Major updates: Go updated to 1.10, Erlang bumped to 20.3, Qt5 + bumped to 5.10.1. + + New packages: 18xx-ti-utils, abootimg, bluez-alsa, brotli, + chipmunk, clang, docker-compose, docker-proxy, flare-engine, + flare-game, gst1-interpipe, gstreamer1-editing-services, + hackrf, i2pd, imx-alsa-plugins, imx-mkimage, libcdio-paranoia, + libkrb5, llvm, pixiewps, python-backports-ssl-match-hostname, + python-cached-property, python-cython, python-docker, + python-dockerpty, python-docker-pycreds, + python-flask-sqlalchemy, python-functools32, python-influxdb, + python-json-models, python-libusb1, python-networkx, + python-psycopg2, python-pymodbus, python-sqlalchemy, + python-subprocess32, python-texttable, + python-websocket-client, python-yieldfrom, quotatool, reaver, + snort, sunxi-mali-mainline, sunxi-mali-mainline-driver, tk, + tpm2-abrmd, tpm2-tools, tpm2-tss, udftools, vte, woff2. + + New defconfigs: ARC HS Development Kit, Arcturus ucls1012a, + Freescale i.MX6UL EVK (with vendor kernel), Freescale i.MX6 + SoloLite EVK (with vendor kernel), Freescale i.MX31 3Stack, + Freescale i.MX8Q EVK Freescale p1025twr, Freescale t1040d4rdb, + Qemu PPC64 E5500, SolidRun ClearFog Base, Tinker RK3288, Vyasa + RK3288, + + Removed packages: iqvlinux, kodi-adsp-*, mplayer + + Removed defconfigs: ci40, firefly_rk3288, + freescale_p1010rdb_pa, freescale_mpc8315erdb, riotboard, + teliv_evk_pro3 + + Issues resolved (http://bugs.uclibc.org): + + #10151: toolchain eclipse register : fails with a custom + BR2_HOST_DIR + #10511: Packages get downloaded uncompressed with wget + #10531: QtWebengine doesn't build if the host hasn't a 32 bits + C++ compiler working + #10846: error in compiling gnutls + #10886: openssl-1.0.2n fails to build + #10896: /bin/sh not in /etc/shells + #10961: Grub2 fails to build for x86_64 when BR2_SSP_ALL is + enabled + +2018.02.12, Released March 29th, 2019 + + Important / security related fixes. + + Updated/fixed packages: avahi, beecrypt, busybox, clamav, + cups, devmem2, fetchmail, file, fltk, gcc, gdb, git, jq, + leveldb, libopenssl, libraw, libseccomp, libssh2, + libunistring, mariadb, mosquitto, nodejs, ntp, openjpeg, perl, + php, putty, qt5webkit, rdesktop, systemd, wireshark, vsftpd, + xapp_xdm, xlib_libXdmcp + +2018.02.11, Released February 23th, 2019 + + Important / security related fixes. + + Ensure the PLATFORM and OS environment variables are not set, + as they cause build issues for some packages. + + The package list infrastructure now correctly handles packages + installing files with old mtime. + + Linux: Skip hash checks for user supplied downloadable + patches, as no hash checksums are available for those. + + scanpypi: protect against zip-slip vulnerability in zip/tar + handling + + Updated/fixed packages: bind, dhcpcd, dovecot, ghostscript, + gnuradio, imagemagick, jpeg-turbo, libarchive, libb64, + libcurl, libid3tag, madplay, mosquitto, openssh, php, + postgresql, proftpd, python, python-django, python3, qt5base, + sqlcipher, swupdate, systemd, unzip, webkitgtk + +2018.02.10, Released January 31th, 2019 + + Important / security related fixes. + + Defconfigs: Fixes for Lego EV3, QEMU AArch64-virt + + check-package: fix Python 3 support + + get-developers: Fix behaviour when called from elsewhere than + the toplevel directory. + + cmake: Also set CMAKE_SYSTEM_VERSION in toolchainfile.cmake + + Updated/fixed packages: acpica, apache, apr, asterisk, + avrdude, cargo, cc-tool, dash, dhcpdump, dmalloc, gnuchess, + gnupg2, leveldb, libarchive, libassuan, libftdi1, + libgpg-error, libhttpparser, libmad, libsndfile, libsquish, + liburiparser, libwebsock, libxml2, lighttpd, lm-sensors, + lua-msgpack-native, mbedtls, mosquitto, netatalk, nodejs, + openssh, pango, patchelf, php, python-django, python-pyyaml, + rauc, rp-pppoe, s6-networking, samba4, sdl_sound, + shairport-sync, sqlite, subversion, sunxi-cedarx, tcpreplay, + tekui, usb_modeswitch, webkitgtk, wireshark, wolfssl, + xapp_rgb, xenomai, xerces + + Issues resolved (http://bugs.uclibc.org): + + #11576: Unable to start apache with event MPM on raspberry pi 3 + +2018.02.9, Released December 20th, 2018 + + Important / security related fixes. + + defconfigs: Fixes for ci20 + + Updated/fixed packages: c-ares, dante, freetype, ghostscript, + glibc, gnutls, go, libcurl, libgpgme, libid3tag, libiscsi, + libmpd, libopenssl, libpjsip, linux, liquid-dsp, luvi, lynx, + msgpack, nginx, nodejs, php, popt, pps-tools, python-numpy, + python-requests, samba4, sdl2_net, squashfs, swupdate, uclibc, + wine, webkitgtk, xfsprogs + + Issues resolved (http://bugs.uclibc.org): + + #11426: pps-tools bash dependency + +2018.02.8, Released November 26th, 2018 + + Important / security related fixes. + + fs: Drop intermediate tarball from the filesystem handling to + fix an issue with xattrs handling related to fakeroot. Ensure + tarball target includes xattrs. + + download: Fix confusion in git submodule handling if dl/ is a + symlink. + + toolchain: Only allow enabling stack protection on + architectures with control flow integrity (CFI) support. Only + allow FORTIFY_SOURCE support on gcc >= 6. + + genrandconfig: Fix missing newline in BR2_WGET handling, + causing the following line to be ignored. This would affect + BR2_ENABLE_DEBUG, BR2_INIT_BUSYBOX, BR2_INIT_SYSTEMD, + BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV, BR2_STATIC_LIBS or + BR2_PACKAGE_PYTHON_PY_ONLY depending on the randomization. + + show-build-order: Also include the dependencies of + rootfs-common. + + Defconfigs: Fixes for Armadeus APF27, imx6sabre. + + graph-depends: Fix for package names starting with a non-alpha + character. + + Updated/fixed packages: attr, audit, bind, brotli, easydbus, + elfutils, gauche, gcc, giflib, gpsd, lcdproc, libcurl, + libiscsi, libnfs, libnspr, libnss, libkcapi, libsemanage, + liburiparser, lighttpd, linux, lua-curl, mariadb, mmc-utils, + mosquitto, mysql, neardal, netplug, network-manager, + nfs-utils, nginx, openocd, openswan, p11-kit, postgresql, + prosody, qemu, qt, rpm, ruby, samba4, squid, supertuxkart, + systemd, tar, trace-cmd, traceroute, twolame, uclibc, + usb_modeswitch, vtun, webkitgtk, xdriver_xf86-video-geode, + xlib_libfontenc, xproto_inputproto, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #11086: download/git submodule breaks on symlinked dl folder + #11251: Util scanpypi failes when package change - to _ in.. + #11476: stdio2.h error invalid use of __builtin_va_arg_pack + #11481: Docs: Is external.desc required? + +2018.02.7, Released October 25th, 2018 + + Important / security related fixes. + + Detect and reject build paths containing '@', as this confuses + a number of packages, including GCC. + + utils/get-developers: Add -e option for use with git + send-email. + + utils/diffconfig: Make it work for (non-Buildroot) config + files not using the BR2_ prefix. + + u-boot: Fix for environment image handling on big endian + systems. + + Updated/fixed packages: binutils, ca-certificates, + cups-filters, erlang, file, freetype, gcc, git, gvfs, leveldb, + libarchive, libcurl, libssh, live555, ljlinenoise, mariadb, + mongoose, netsnmp, nmap, nodejs, ntp, open-plc-utils, poco, + psmisc, ptpd2, python-enum34, qemu, qt, qt5base, setools, + spice, spice-protocol, tinc, ustr, wireshark + + Issues resolved (http://bugs.uclibc.org): + + #11396: uboot environment image checksum invalid if target is big endian + +2018.02.6, Released October 7th, 2018 + + Important / security related fixes. + + Add a number of patches to fix build errors for host utilities + on modern distributions using glibc-2.28. + + mkusers: Ensure existing group members are preserved when a + group is reprocessed. + + printvars: Fix issue with exceeding shell command line length + limits for certain setups. + + Updated/fixes packages: acpid, android-tools, apache, + arp-scan, bandwidthd, bind, bison, clamav, connman, cppcms, + cramfs, fio, gcc, ghostscript, glibc, gnupg, httping, + igmpproxy, imagemagick, imlib2, ipsec-tools, lcms2, libcurl, + libesmtp, libnfs, libssh, libxslt, links, linuxptp, + mediastreamer, minicom, moarvm, nilfs-utils, ocrad, parted, + php, pv, python-django, qt, qt5quickcontrols, qt5webengine, + screen, sdl2, shairport-sync, squashfs, strongswan, + vboot-utils, webkitgtk, wireguard, x265, xen, xlib_libXfont, + xlib_libXft + + New packages: brotli, woff2 + +2018.02.5, Released August 29th, 2018 + + Important / security related fixes. + + Defconfigs: Raspberrypi2: Bump rootfs size, T7680: Fix + genimage.cfg issue, ARM Juno: Bump ATF to v1.3 to fix build + issue. + + Updated/fixed packages: acl, apache, attr, bind, + boot-wrapper-aarch64, brltty, bzip2, chrony, crda, cryptsetup, + dahdi-tools, dmidecode, dropbear, eigen, erlang, ffmpeg, gawk, + gcc, ghostscript, gnutls, ipsec-tools, libarchive, libfuse, + libopenssl, libselinux, libsoup, lighttpd, linuxptp, + lttng-modules, lttng-tools, lua-flu, lvm2, m4, makedevs, + mariadb, mbedtls, mesa3d-headers, mtd, ncurses, nodejs, + openssh, php, postgresql, python-django, qt5xmlpatterns, ruby, + samba4, shairport-sync, stress-ng, ti-utils, uboot-tools, vim, + waylandpp, wireless_tools, wireshark, wpa_supplicant, xorriso, + znc + + Issues resolved (http://bugs.uclibc.org): + + #10781: cryptsetup luksOpen container_file container causes.. + #10986: Installing package attr when already supplied by.. + #11191: xattr and check-package issue + +2018.02.4, Released July 21th, 2018 + + Important / security related fixes. + + U-Boot: Ensure host version of ncurses is picked up and not + host-ncurses built by buildroot, as that otherwise causes + widechar/non-widechar conflicts and corrupted menuconfig + menus. + + Linux: Enable CONFIG_PERF_EVENTS when perf is enabled. + + Defconfigs: Raspberrypi3: Bump rootfs size, Minnowboard-max: + Support ethernet on Turbot variant. + + Updated/fixed packages: bind, clamav, collectd, dos2unix, + edid-decode, gcc, gdb, heimdal, hidapi, imx-gpu-viv, libcurl, + libglib2, liblogging, libostree, libsoup, libv4l, lm-sensors, + ncurses, network-manager, patchelf, pinentry, procps-ng, qpdf, + qt5, qt53d, qt5base, qt5charts, qt5script, qt5serialport, + systemd, wireguard, wireless-regdb + + Issues resolved (http://bugs.uclibc.org): + + #11101: host-patchelf Endian Issue with relative RPATH + +2018.02.3, Released June 18th, 2018 + + Important / security related fixes. + + Various fixes for building on modern distributions (GCC 8.x, + no rpcgen utility). + + ARM: Default to binutils 2.28 and warn about newer binutils + versions, which are known to cause boot failures for Linux + kernels built in thumb mode. + + Busybox/mdev: Fix module autoloading. + + Busybox/sysvinit: inittab: Add /dev/{stdin,stdout,stderr} + symlinks, call swapon -a to activate any configured swap + devices. + + Dependencies: Check that PATH does not contain current working + directory, which triggers a number of build failures. + + Infrastructure: Error out for packages erroneously using the + 'local' site method but not defining a _SITE. + + Linux: Fix cuImage. / simpleImage. handling. Ensure + kconfig uses ncurses from the host to fix a ncurses/ncursesw + mixup, causing menuconfig display corruption. + + Toolchain: Workarounds for fix-rpath issues with binutils and + elf2flt. + + Util-linux: Fix blocking on getrandom() issue with recent + kernels. + + Remove broken freescale_imx31_3stack, + freescale_imx6sololiteevk and freescale_imx6ulevk defconfigs. + + Updated/fixed packages: apr-util, asterisk, attr, audit, + autofs, binutils, busybox, cifs-utils, cups-filters, dash, + ebtables, exim, expect, f2fs-tools, faketime, file, gdb, git, + glibc, gnupg, gnupg2, gst1-plugins-bad, imagemagick, jamvm, + jpeg-turbo, libcap, libcoap, libcurl, libgcrypt, libjpeg, + libnss, libressl, libtirpc, libvncserver, libvorbis, libxslt, + log4cplus, lrzsz, ltrace, lynx, mariadb, mbedtls, mpg123, + nasm, netplug, network-manager, nfs-utils, nodejs, + openvmtools, patch, perl, php-amqp, poppler, procps-ng, + python, python-websockets, quota, redis, samba4, sysvinit, + transmission, triggerhappy, util-linux, wavpack, wget, + wireshark, xen, zmqpp + + Issues resolved (http://bugs.uclibc.org): + + #10986: Installing package attr when already supplied by busybox.. + #11031: ld-elf2flt: host/bin/ld.real': execvp: No such file or.. + +2018.02.2, Released May 4th, 2018 + + Important / security related fixes. + + Tweak package size/file instrumentation to better handle + package rebuilds. + + Revert /etc/shells creation when bash is enabled. + + Exclude /lib/firmware from the rpath fixup logic, as it may + contain non-native ELF files. + + Scanpypi: Support the new PyPi infrastructure. + + Handle GCC 8.x on the host. + + Ensure timestamp of /usr is updated to support the systemd + ConditionNeedsUpdate option. + + Updated/fixed packages: bluez5_utils, flann, gdb, gnupg2, + grub2, libcec, libcgi, libglib2, libgpg-error, libgpgme, + libtomcrypt, mbedtls, mkpasswd, php, python, python-requests, + python-watchdog, qt53d, qt5websockets, sdl2, sdl2_image, + syslog-ng, systemd, tcl, tcllib, uclibc, usb_modeswitch, + wireguard, wmctrl + + Issues resolved (http://bugs.uclibc.org): + + #10896: /bin/sh not in /etc/shells + #10961: Grub2 fails to build for x86_64 when BR2_SSP_ALL is enabled + +2018.02.1, Released April 9th, 2018 + + Important / security related fixes. + + Removed unmaintained defconfigs: Creator Ci40, Firefly rk3288, + Freescale mpc8315erdb / p1010rdb_pa, Riotboard, Teliv EVK + Pro3. + + Infrastructure: Speed up instrumentation for package size by + comparing timestamps instead of md5 checksums, as doing + checksums could lead to up to 25% longer build time for big + configurations. + + Rename the internal _BASE_NAME variable to _NASENAME + to avoid name clashes with packages ending on '-base'. + + Add a better fix for build issues for autotools based packages + checking for C++ support on toolchains without C++ support. + + Build host-tar if tar is older than 1.27 on the build machine + to work around reproducibility issues with git archives + containing long paths. + + check-unique-files: Fix for filenames not representable in the + users' locale. + + Check-bin-arch: Add support for per-package ignore paths + (_BIN_ARCH_EXCLUDE). + + Toolchain: Fix SSP support detection for external toolchains. + + linux: Add _NEEDS_HOST_OPENSSL / LIBELF options to ensure + these dependencies are available for Linux configurations + needed these dependencies, similar to how it is done for + U-Boot. + + Support custom (not in tree) device tree files in addition to + in-tree ones. + + U-Boot / uboot-tools: Fix header conflict with libfdt-devel + installed on host. + + Updated/fixed packages: apache, busybox, c-ares, cmake, + docker-engine, enlightenment, eudev, fbgrab, freescale-imx, + gtest, imagemagick, intel-microcode, irssi, jimtcl, kmod, + kodi, ktap, libcoap, libcurl, libfcgi, libhttpparser, + libminiupnpc, libopenssl, libpjsip, libss7, libssh2, libupnp + libupnpp, libuv, libvorbis, memcached, motion, musl, nodejs, + ntp, openblas, opencv3, openocd, opus-tools, patch, php, + pkgconf, postgresql, powerpc-utils, python-jsonschema, + python-webpy, qemu, qt5bsae, qt5script, qt5webkit, rapidjson, + rauc, sam-ba, samba4, sngrep, systemd, tremor, uboot-tools, + uclibc-ng-test, upmpdcli, wireshark, xerces, xterm, zstd + + New packages: docker-proxy, python-functools32 + + Issues resolved (http://bugs.uclibc.org): + + #10766: upmpdcli: Segmentation fault + #10776: ktap fails to build + #10846: error in compiling gnutls + #10856: openblas on qemu_x86_64_defconfig fails with "sgemm_.. + +2018.02, Released March 4th, 2018 + + Fixes all over the tree. + + Issues with systemd with a readonly rootfs and DBus fixed. + + Instructure: + - check-uniq-files: fix Python 2.6 compatibility. + - dependencies.sh: check for external argparse module for + Python 2.6. + - Add infrastructure to detect and use a UTF-8 locale on the + host, needed by systemd. + + Update/fixed packages: clamav, dash, dhcp, dovecot, efl, + ffmpeg, libv4l, mono, mosquitto, php, postgresql, qt, + scanpypi, sdl2, systemd, tor, tvheadend, uboot, wavpack + + Issues resolved (http://bugs.uclibc.org): + + #10831: qemu_x86_64_defconfig build fails on linux-headers.. + +2018.02-rc3, Released February 27th, 2018 + + Fixes all over the tree. + + check-bin-arch: skip /lib/modules to allow 32-bit userland + with 64bit kernel. + + dependencies: Blacklist tar 1.30+ and build our own host-tar + if needed as tar 1.30+ changed the --numeric-owner output for + long path names. Build host-tar before other host-dependencies + as they need it to extract their source tarballs. + + Update/fixed packages: asterisk, azmq, bluez5_utils, domoticz, + e2fsprogs, erlang, exim, glibc, gpsd, jq, libglib2, libvorbis, + mariadb, mbedtls, mesa3d, mesa3d-headers, mpv, patch, pcre2, + php, qt5, qt5multimedia, qt5wayland, qt5webengine, qt5webkit, + systemd, quagga, rustc, uboot, wireguard, zic, zlib-ng + + Issues resolved (http://bugs.uclibc.org): + + #10726: Current libglib2.mk creates broken libglib2 binary... + #10786: Linux fails to build unless make linux-menuconfig... + #10796: Cannot generate cpio image without selecting CON... + +2018.02-rc2, Released February 15th, 2018 + + Fixes all over the tree. + + Dependencies: Ensure C++ support is available like for C + support for packages needing 32bit host support. + + utils/genrandconfig: Check host dependencies for config. + + Updated/fixed packages: busybox, dnsmasq, dropbear, ffmpeg, + glibc, keepalived, libcpprestsdk, libgpiod, libmaxminddb, + librsvg, libtasn1, libv4l, libxml2, lightning, ltp-testsuite, + mesa3d, mesa3d-demos, mesa3d-headers, nftables, open-lldp, + php, postgresql, python-crossbar, qt5, qt53d, qt5enginio, + qt5tools, qt5webengine, qt5webkit, rsync, rust-bin, rustc, + systemd + + Issues resolved (http://bugs.uclibc.org): + + #9781: ti-sgx-km build on kernel >4.1 + #10141: Squashfs extended attribute failures + +2018.02-rc1, Released February 5th, 2018 + + The global source-check and per-package -source-check + targets have been removed. + + Architecture: Add x86 Silvermont variant. Add several new ARM + variants, rework MIPS NaN logic. Support mainline binutils/gcc + for ARC. + + Toolchains: Linaro toolchains upgraded to 2017.11 release, ARC + external toolchains upgraded to arc-2017.09. Libatomic is now + also copied for external musl based toolchains. + Add binutils 2.30.x and switch to binutils 2.29.x by default. + + Added hardening options to build with RELRO and FORTITY. + + New defconfigs: Bananapi M64, FriendlyARM Nanopi A64 & NEO2, + imx6slevk, imx6sx-sdb, imx6ulevk, Olimex A64-OLinuXino, + Orangepi lite / pc plus / pc / prime / win / win plus / zero + plus2, Pine64, Solidrun MacchiatoBin. Sopine. + + Add utils/diffconfig, a simple utility for comparing + configuration files - Adapted from the version in the + Linux kernel. + + Infrastructure: Check that the same file is not touched by + multiple packages, as a preparation for toplevel parallel + builds. + + Hashes for the license files for a large number of packages + have been added, ensuring that license changes will not be + missed when packages are bumped. + + Fix build issue for autotools based packages checking for C++ + support on toolchains without C++ support and on a distro + lacking /lib/cpp (E.G. Arch Linux). + + Support for the meson build system. + + Pie charts generated by 'graph-build' or 'graph-size' are now + sorted according to the size of each piece. + + System: Only show getty options when busybox init or sysvinit + are used. + + ARM-trusted-firmware: Support ATF bundled in U-Boot as + well as U-Boot bundled in ATF. + + Zlib is now a virtual package, provided by either libzlib or + zlib-ng, similar to openssl. + + Support for the Rust programming language. + + New packages: aoetools, armbian-firmware, binaries-marvell, + brltty, cargo, cargo-bin, cups-filters, curlpp, daq, + flatbuffers, gconf, glorytun, gstreamer1-mm, imx-m4fwloader, + imx-gpu-g2d, json-for-modern-cpp, libcpprestsdk, libgta, + libostree, libupnp18, luadbi, luadbi-sqlite3, lua-utf8, lynx, + meson, mv-ddr-marvell, nilfs-utils, opentracing-cpp, + open-lldp, pimd, proj, python-flask-cors, + python-jaraco-classes, python-more-itertools, python-oauthlib, + python-raven, python-remi, python-requests-oauthlib, + python-schedule, python-secretstorage, python-see, + python-tabledata, python-txtorcon, python-xlib, qt5charts, + rtl8189fs, rtl8723bu, rust, rustc, rust-bin, rygel, safeclib, + solatus, tcf-agent, traceroute, waylandpp, wolfssl, + zisofs-tools, zlib-ng + + Removed packages: eeprog + +2017.11.2, Released January 21st, 2018 + + Important / security related fixes. + + External toolchain: libatomic is now also copied for musl + based toolchains. + + nconfig: Fix for ncurses/ncursesw linking issue causing crashes. + + System: Only show getty options when busybox init or sysvinit + are used. + + Infrastructure: Fix build issue for autotools based packages + checking for C++ support on toolchains without C++ support and + on a distro lacking /lib/cpp (E.G. Arch Linux). + + Pie charts generated by 'graph-build' or 'graph-size' are now + sorted according to the size of each piece. + + Updated/fixed packages: asterisk, avahi, bind, busybox, + coreutils, eeprog, intel-microcode, iputils, irssi, kmsxx, + libiio, linux-firmware, lz4, mariadb, matchbox-lib, mcookie, + ntp, php, pound, rpcbind, tar, ti-cgt-pru, webkitgtk, xen, + xlib_libXpm + + Issues resolved (http://bugs.buildroot.org): + + #9996: lz4 package does not install lz4 binaries in target + #10176: Rsyslog's S01logging is deleted by Busybox.mk from... + #10216: package/x11r7/mcookie/mcookie.c:207: bad size ? + #10301: systemd/getty unused options + #10331: kmsxx, host installation fails with BR2_SHARED_... + #10556: Building ntp package with SSL library libressl... + #10641: avahi-autoipd not starting when using systemd-tmpfiles + +2017.11.1, Released December 31th, 2017 + + Important / security related fixes. + + Updated/fixed packages: asterisk, checkpolicy, dhcp, flann, + gdb, glibc, heimdal, kodi-pvr-mediaportal-tvserver, + kodi-pvr-stalker, libcue, libopenssl, libpqxx, libsoxr, + linknx, linux-tools, lldpd, ltp-testsuite, mariadb, mfgtools, + nodejs, nut, pulseaudio, python-cffi, qemu, rsync, tor, uboot, + uboot-tools, vlc, webkitgtk, weston, wireguard, wireshark, + xenomai, xfsprogs + +2017.11, Released November 30, 2017 + + Fixes all over the tree. + + Toolchain: Use github mirror for Glibc. + + Defconfigs: Correct boot.cmd for bananapi-m1. + + Makefiles: Workaround include order issues for certain make + versions by explicitly sorting the result of wildcard where it + matters. + + Download: Ensure subversion runs in non-interactive mode. + + Updated/fixed packages: asterisk, boost, chrony, dovecot, + dvb-apps, exim, feh, freerdp, fwup, google-breakpad, jose, + kvm-unit-test, lftp, libcurl, libevent, libfastjson, libpjsip, + libupnp, linphone, localedef, lttng-tools, mp4v2, mtools, + ndisc6, oracle-mysql, parted, pdbg, qt, qt5connectivity, + qt5declarative, qt5webkit, rauc, runc, samba4, shairport-sync, + systemd-bootchart, webkitgtk, wireguard, xlib_libXcursor, + xlib_libXfont, xlib_libXfont2, + + Issues resolved (http://bugs.buildroot.org): + + 10501: host-localedef fails to compile on Ubuntu 17.10 + 10506: Changed kernel image type (e.g. zImage to uImage)... + +2017.11-rc2, Released November 13th, 2017 + + Fixes all over the tree. + + Updated/fixed packages: collectd, ffmpeg, freerdp, + go-bootstrap, imagemagick, jimtcl, libpjsip, libplist, libuv, + mesa3d, nodejs, ntp, openjpeg, postgresql, python-numpy, ruby, + snmp++, usb_modeswitch, util-linux, vboot-utils, webkitgtk, + wireshark, wpa_supplicant, xapp_xdriinfo + + Issues resolved (http://bugs.buildroot.org): + + #10326: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y + #10491: Cannot output security warning when compiled with buildroot.. + +2017.11-rc1, Released November 6th, 2017 + + Fixes all over the tree and new features. + + Openssl is now a virtual package, which may be provided by + OpenSSL (now renamed to libopenssl) or LibreSSL. + + libssh2: there is now an explicit choice of the backend to use + (mbedtls, gnutls or openssl). Previously, the choice was implicit + based on the TLS library that was selected. Now, it is possible to + choose the backend, which is important if several TLS libraries are + selected. + + netsnmp: all MIB files are now installed, making the target filesystem a + bit bigger than before. To remove unneeded MIBS, you should use a + post-build script. + + Toolchain: Linaro toolchains updated to 2017.08, ARC toolchain + updated to 2017.09, Glibc updated to 2.26, Glibc support for + ARCv2. The toolchain wrapper now handles SOURCE_DATE_EPOCH for + older (pre-gcc7.x) toolchains for BR2_REPRODUCIBLE. + + New defconfigs: Atmel SAM45D27, Bananapi M1 and M2 Plus, + Engicam i.CoreM6 Qt5 configuration, i.MX6 sabreauto (mainline + kernel/u-boot), i.MX6Q sabresd Qt5 configuration, i.MX7d-pico, + QEMU ppc64le, Raspberry pi3 Qt5 webengine configuration, + Technologic TS-7680. + + New packages: asterisk, azmq, bcg729, boinc, dahdi-linux, + dahdi-tools, freeswitch-mod-bcg729, fscryptctl, libb64, + libpri, libss7, lua-basexx, lua-compat53, lua-cqueues, + lua-curl, lua-datafile, lua-fifo, lua-httpd, + lua-lpeg-patterns, lua-markdown, lua-sailor, lua-value, + luksmeta, minetest, minetest-game, pdmenu, prosody, + python-aiocoap, python-automat, python-ibmiotf, + python-iso8601, python-m2r, python-simplesqlite, + python-websockets, python-xmltodict, qt5wayland, qt5webengine, + restorecond, selinux-python, semodule-utils, uhubctl, + wireguard, wsapi-fcgi, wsapi-xavante + + Removed packages: aiccu, rfkill, sepolgen + + Issues resolved (http://bugs.buildroot.org): + + #10281: lsblk does not compile for util-linux + #10336: lttng compilation fails : linking error + #10351: glibc missing in rootfs + #10356: nfs-utils missing header + #10361: python3 python-config script generates invalid includes + #10366: dropbear download url has changed + #10391: WiringPi retrieves wrong (old) version + #10406: Beaglebone black: Buggy SGX driver version, swapped... + #10426: uboot-tools' fw_setenv does not update the redundant... + #10451: libpcap 1.8.x and 1.7x does not compile on PPC + +2017.08.2, Released November 28th, 2017 + + Important / security related fixes. + + Qt: 5.6 version updated to 5.6.3. + + Reproducible: Do not override SOURCE_DATE_EPOCH if already set + in the environment. + + Makefiles: Workaround include order issues for certain make + versions by explicitly sorting the result of wildcard where it + matters. + + Updated/fixed packages: apr, apr-util, arqp-standalone, + azure-iot-sdk-c, collectd, dvb-apps, ffmpeg, go-bootstrap, + google-breakpad, gstreamer, imagemagick, irssi, jimtcl, + kvm-unit-test, libcurl, libfastjson, libglib2, libidn, + libpjsip, libplist, localedef, lttng-tools, luajit, mesa3d, + moarvm, mp4v2, openssh, openssl, oracle-mysql, postgresql, + python3, python-pyqt5, qt, qt5base, qt5canvas3d, + qt5connectivity, qt5declarative, qt5engineio, + qt5graphicaleffects, qt5imageformats, qt5location, + qt5multimedia, qt5quickcontrols, qt5quickcontrols2, qt5script, + qt5sensors, qt5serialbus, qt5serialport, qt5svg, qt5tools, + qt5webchannel, qt5webkit, qt5websockets, qt5x11extras, + qt5xmlpatterns, quagga, redis, ruby, samba4, sdl2, snmppp, + swupdate, ti-gfx, uboot-tools, usb_modeswitch, vboot-utils, + webkitgtk, wget, wireshark, xapp_xdriinfo. + + Issues resolved (http://bugs.buildroot.org): + + 10326: mesa3d package fails to build when BR2_SHARED_STATIC_LIBS=y + 10361: python3 python-config script generates invalid includes + 10501: host-localedef fails to compile on Ubuntu 17.10 + +2017.08.1, Released October 23rd, 2017 + + Important / security related fixes. + + Webkitgtk bumped to the 2.18.x series, fixing a large number + of security issues. + + Defconfigs: galileo: fix ext4 related kernel config, bump + kernel for gcc 6.x compatibility, enable wchar support for + grub2. wandboard: correct rootfs offset + + support: Ensure gzip compression level 6 is used for git + tarballs. check-bin-arch: Correctly handle (ignore) symbolic + links. check-rpath: Also handle PIE binaries + + External toolchain: Correctly handle glibc Buildroot + toolchains built with merged /usr + + musl: fix ARMv4 build with binutils 2.27.51+, fix for + CVE-2017-15650 + + Updated/fixed packages: apache, augeas, bind, bluez5_utils, + busybox, bzip2, cmake, dnsmasq, ejabberd, gcc, git, go, ffmpeg, file, + flashrom, gd, gdk-pixbug, gnupg2, hostapd, ifupdown-scripts, + imagemagick, iucode-tool, kernel-module-imx-gpu-viv, lame, + libarchive, libcurl, libffi, libidn, libmbim, libnspr, libnss, + libressl, librsync, libsoup, libxml2, libzip, mbedtls, musl, + netplug, nginx, openvpn, pkgconf, poppler, proxychains-ng, + qemu, qt, rpi-userland, syslog, ruby, samba4, softether, + sqlite, strongswan, subversion, supertuxkart, supervisor, tcpdump, + tor, unrar, urq, vboot-utils, webkitgtk, wpa_supplicant, xen, + xmlstarlet, xlib_libXfont, xlib_libXfont2, + xserver_xorg-server, zsh + +2017.08, Released September 1st, 2017 + + Minor fixes. + + Toolchain: Don't allow internal toolchain builds for MIPS + M6201/P6600, as support for these are not yet in mainline GCC. + + Updated/fixed packages: bcusdk, connman, dialog, dnsmasq, + gnupg, grub2, iostat, iucode-tool, libgcrypt, libkcapi, + libphidget, libv4l, linux-tools, mediastreamer, minidlna, + nss-pam-ldapd, nvidia-driver, qt-webkit-kiosk, rpcbind, squid, + transmission, vde2, vim + + Updated/fixed defconfigs: + + Removed packages: simicfs. + + Issues resolved (http://bugs.buildroot.org): + + #10261: Grub2 fails to build for x86_64 + +2017.08-rc3, Released August 23rd, 2017 + + Fixes all over the tree. + + Updated/fixed packages: alsa-lib, alsa-utils, cc-tool, + dbus-cpp, e2fsprogs, elf2flt, faad2, fakeroot, gcc, git, gpsd, + gst1-validate, kvmtool, libconfuse, libepoxy, librsync, + libspatialindex, libunwind, linux, linux-headers, lua, + mariadb, mesa3d, mtd, openocd, python3, syslinux, sysvinit, + whois, xen, zmqpp. + + Updated/fixed defconfigs: ci20, socrates_cyclone5, + toradex_apalis_imx6. + + Removed defconfig: Armadeus APF9328. + + skeleton-* packages introduced in -rc1 have been renamed to + skeleton-init-* instead. + + Issues resolved (http://bugs.buildroot.org): + + #10141: Squashfs extended attribute failures + +2017.08-rc2, Released August 11th, 2017 + + Fixes all over the tree. + + Updated/fixed packages: bind, dbus, erlang-p1-xml, faad2, + ficl, gcc, gdb, glibc, jack2, libcurl, linux, linux-headers, + lua, mutt, nvme, qt5base, skeleton-common, snappy, stella, + swupdate, uclibc, valgrind, webkitgtk. + + Updated/fixed defconfigs: beaglebone_qt5, minnowboard_max, + nanopi_m1{, _plus}, olimex_a20_olinuxino_lime, qemu_sparc, + qemu_sparc64. + + The cmake-package infrastructure for host packages has been + fixed to not incorrectly detect target packages through + pkg-config. + + Issues resolved (http://bugs.buildroot.org): + + #9926: systemd-resolved.service: Failed at step NAMESPACE (systemd 233) + #10021: libqeglfs-viv-integration.so file is missing for qt5 on armv7 + #10026: lua-5.3.4: fix lua linker error in swupdate + #10146: package/skeleton-common fix recursive variable + #10156: glibc compilation fails for X86 32bits (i386) + #10201: toolchain-wrapper.c:192: (error) Memory leak: + #10221: Buildroot Support + +2017.08-rc1, Released August 2nd, 2017 + + Infrastructure: + + - The skeleton package has been split into multiple packages: + skeleton-sysv (when Busybox or SysV init are used), + skeleton-systemd (when systemd is used), skeleton-none (when + no init system is used) and skeleton-custom (when a custom + skeleton is used). Those packages, except skeleton-custom, + share common logic and data in a new package called + skeleton-common. The skeleton package becomes a virtual + package. This change allows to generate a filesystem that is + compliant with systemd expectations. + + - Support for using a read-only filesystem with systemd has + been fixed. + + - Major revamp of the gettext handling, with user-visible + effect: + + - prior to this revamp, when BR2_ENABLE_LOCALE=y, each + package could decide to enable or not NLS support. When + BR2_ENABLE_LOCALE was disabled, NLS support was forced off + by passing --disable-nls to packages. + + - after this revamp, a new BR2_SYSTEM_ENABLE_NLS option + controls whether NLS support should be enabled or not in + packages. This option defaults to disabled, which means + that now, NLS support is by default disabled in all + packages. + + Therefore, if you need NLS support in packages, you must now + explicitly enable the BR2_SYSTEM_ENABLE_NLS option. + + - The host directory no longer has a usr/ component. This + makes it much more natural to use that directory as an + externally used toolchain. For compatibility with existing + scripts, a usr -> . link is still added. + + - Hashes are now checked on tarballs by Buildroot when a + package is sourced from a Git repository. + + - Patches are no longer being downloaded from Github, since + auto-generated patches could change over time, and break + hashes. All patches that were downloaded from Github are now + stored in their respective package directories. + + - Hash files in packages can now contain hashes for the + license files contained in the package source code. This + allows to detect changes in such license files. + + - Binaries in $(TARGET_DIR) are now cleaned up from invalid + RPATHs at the end of the build. + + - A new "make sdk" target prepares $(HOST_DIR) to be + relocatable: turns RPATHs in host binaries into relocatable + ones, removes bogus RPATHs from staging binaries/libraries, + and provides a relocate-sdk script that can be executed to + relocate the SDK after installation. + + - Addition of utils/genrandconfig which generates a random + configuration based on a set of pre-defined toolchain + configurations (support/config-fragments/autobuild/) and a + random selection of packages. It is now used by the + autobuilders to generate the random configurations. + + Filesystems: + + - ext2/3/4 filesystems are now generated using mkfs.ext from + e2fsprogs instead of using genext2fs. + + Architecture: + + - Addition of support for ARM big.LITTLE variants + - Improved MIPS support, with options to select NaN encoding + and FP32 mode. + + Toolchain: + + - Switch to gcc 6.x as the default gcc version, add support + for gcc 7.x, remove support for gcc 4.8 + - Switch to binutils 2.28 as the default binutils version, add + support for binutils 2.29, remove support for binutils 2.26 + - Support added for gdb 8.0 + - uClibc-ng bumped to 1.0.26 + - CodeSourcery toolchains for x86 and SuperH have been + removed, they were using a too old glibc version + (2.17). External toolchains with glibc 2.17 or earlier are + no longer supported. + - The version selection in the glibc package has been + removed. Like musl and uClibc-ng, we now use the latest + glibc version. + - Improved support for Xtensa toolchain overlays, which can + now be downloaded. + + Tools: + + - Numerous improvements to the runtime test infrastructure + - Tests are now executed by Gitlab CI on a regular basis + - Tools that are directly useful to the user have been moved + from support/scripts/ to utils/: brmake, check-package, + get-developers, scancpan, scanpipy, size-stats-compare, + test-pkg. + + New defconfigs: A13 Olinuxino, Engicam platforms (i.CoreM6 + Solo/Dual/DualLite/Quad, RQS SOM, GEAM6UL SOM, Is.IoT MX6UL + SOM), Nano Pi M1 (Plus), OrangePi Zero and Plus. + + New packages: azure-iot-sdk-c, cracklib, dt-utils, easy-rsa, + erlang-jiffy, erlang-p1-oauth2, erlang-p1-xmpp, + ifupdown-scripts, irrlicht, kodi-inputstream-adaptive, + kodi-inputstream-rtmp, kvazaar, let-me-create, libloki, + libpwquality, libressl, libspatialindex, libva-utils, + linuxconsoletools, linuxptp, luaossl, lua-sdl2, lua-stdlib, + lsscsi, paxtest, pcre2, pixz, python-asn1crypto, + python-backports-shutil-get-terminal-size, python-bcrypt, + python-cheroot, python-h2, python-hpack, python-hyperframe, + python-hyperlink, python-ipython-genutils, python-pathlib2, + python-pickleshare, python-priority, python-portend, + python-scandir, python-systemd, python-tempora, + python-traitlets, python-typepy, qt5virtualkeyboard, + ratpoison, rauc, refpolicy, rhash, sdl2_mixer, sdl2_net, + xr819-xradio, zstd + + Removed packages: cloog, input-tools, mke2img + + Issues resolved (http://bugs.buildroot.org): + + #7892: systemd-journald is broken + #9341: avahi-utils does not compile with uClibc + libglib2 + #9441: Link BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY to + BR2_ENABLE_DEBUG + #9746: ext4 image generated by Buildroot is not working + properly with U-Boot + #9886: Build fails with "unexpected EOF while looking for + matching `"'" if PATH contains a newline + #9891: parted 3.1 => 3.2? + #9911: qt5 does not build on sparc + #9916: qt5 does not build on + arm-buildroot-linux-uclibcgnueabihf for ARMv8 cores + #9936: Host QEMU does not build with SDL support because of + pkg-config + #9941: nodejs option disappears for arm + #9951: SCANCPAN failure + #9966: util-linux-2.30/.stamp_built' failed + #9976: License file for package 'rtl8821au' incorrect + #9991: SGX Error implicit declaration of function + ‘dmac_map_area’ + #10011: wget does not work from Buildroot + #10036: Buildroot builds Raspbian Jessie headless image + presenting incorrect prompt + #10051: make: *** No rule to make target + 'raspberrpi3_defconfig'. Stop reported with Buildroot + v2017.05.1 + #10056: No .config file was produced in /buildroot folder + #10061: gcc5.4 buildroot toolchain for powerpc libsanitizer + failure + #10071: fakeroot: replace hard-coded paths in post install + #10076: Makefile:4113: recipe for target 'all-gcc' failed + #10091: gcc7.1 does not build with graphite support due to old + isl + #10121: webkit without the multimedia option causes build + error + +2017.05.2, Released July 27th, 2017 + + Important / security related fixes. + + Webkitgtk bumped to the 2.16.x series, fixing a large number + of security issues. + + host-aespipe compile fix for Debian/Gentoo/Ubuntu toolchains + which default to PIE mode. + + Updated/fixed packages: aespipe, apache, bind, binutils, + busybox, ccache, collectd, dieharder, efibootmgr, efivar, + expat, ffmpeg, gcc, heimdal, iproute2, irssi, libglib2, + libmemcached, libosip2, libtirpc, libxml-parser-perl, + linux-fusion, linux-zigbee, mpg123, orc, pcre, php, protobuf, + pulseaudio, python-setproctitle, qt5base, rpi-firmware, + samba4, syslinux, systemd, spice, tcpdump, tiff, uboot-tools, + webkitgtk, x265, xserver_xorg-server, xvisor + + Issues resolved (http://bugs.buildroot.org): + + #10061: gcc5.4 buildroot toolchain for powerpc libsanitizer... + +2017.05.1, Released July 4th, 2017 + + Important / security related fixes. + + Update support/scripts/scancpan to use METACPAN v1 API as v0 + has been shutdown. + + Update support/scripts/mkusers to handle setups where + /etc/shadow is a symlink. + + External toolchain: Don't create musl dynamic loader symlink + for static builds. + + Setlocalversion: Correct detection of mercurial revisions for + non-tagged versions. + + Defconfigs: at91sam9x5ek_mmc: workaround boot rom issue. + + Updated/fixed packages: apache, automake, bind, botan, c-ares, + dhcp, expat, fcgiwrap, gcc, gdb, gesftpserver, glibc, glmark2, + gnutls, gst1-plugins-bad, imagemagick, imx-uuc, intltool, + iperf, ipsec-tools, irssi, kmod, libcurl, libgcrypt, libmad, + libnl, lugaro, mosquitto, mpg123, ncurses, nodejs, ntp, + openssh, openvpn, pngquant, python-simplegeneric, qt5base, + qt5multimedia, rtl8821au, socat, spice, systemd, tor, trinity, + tslib, vlc, x264, xen, xlib_libxshmfenc, xserver_xorg-server + + Issues resolved (http://bugs.buildroot.org): + + #9976: License file for package 'rtl8821au' incorrect + +2017.05, Released May 31st, 2017 + + Minor fixes. + + External toolchain: musl dynamic linker symlink for mips-sf + corrected. + + Updated/fixed packages: agentpp, bash, exim, hans, madplay, + qpid-proton, rtl8188eu, snmppp, stm32flash, strongswan, sudo, + xen + + Issues resolved (http://bugs.buildroot.org): + + #9906: genimage: Disk full + +2017.05-rc3, Released May 30th, 2017 + + Fixes all over the tree. + + ARC toolchain bumped to 2017.03 + + Runtime testing improvements and cleanups. + + Updated/fixed packages: acpica, armadillo, audiofile, c-icap, + cppcms, dhcp, docker-engine, dropbear, elfutils, erlang, + fbgrab, ffmpeg, flashrom, ftop, gnutls, google-breakpad, + keepalived, kodi, libcdio, libepoxy, libev, libminiupnpc, + libqmi, libtasn1, libv4l, mariadb, mono, mosh, mosquitto, + mxml, ntp, opencv, openpowerlink, oracle-mysql, popt, + pulseview, python-enum34, rabbitmq-c, redis, samba4, stella, + xen + + Removed packages: firejail, ola + + Issues resolved (http://bugs.buildroot.org): + + #9871: fbgrab 1.3 won't build with BR2_REPRODUCIBLE set + #9876: aarch64 support with gcc 4.8 toolchain + #9896: host-gcc-initial error downloading because incorrect URL + +2017.05-rc2, Released May 17th, 2017 + + Fixes all over the tree. + + ARC toolchain bumped to 2017.03-rc2 + + Updated/fixed packages: bluez_utils, boost, clamav, daemon, + efibootmgr, efl, espeak, expedite, faketime, ffmpeg, fxload, + git, gpsd, kvm-unit-tests, libcdio, libv4l, lua, mke2img, + mpir, mpv, odroid-scripts, openblas, opencv3, openvpn, php, + postgresql, protobuf, qt5declarative, qwt, radvd, rpcbind, + rtmpdump, strongswan, sudo, ltp-testsuite, uclibc-ng-test, + vlc, x11vnc, xfsprogs + + Issues resolved (http://bugs.buildroot.org): + + #9796: source-check broken for Git downloads + #9866: BASE_DIR usage + +2017.05-rc1, Released May 8th, 2017 + + Fixes all over the tree and new features. + + Infrastructure: + + - Installed binaries are now checked for correct architecture + to catch natively built binaries or binaries built for other + architecture variants. + + - Luarocks infrastructure improvements to extraction handling, + support for upstream name != Buildroot package name. + + - 'make printvars' output format has changed to make it easier + to use in scripts. It now has options to quote the variables + and to show the expanded/unexpanded values. + + - Automatic ext2 rootfs size calculation has been removed. The + logic was not working working reliable in all setups as it + depends on the host filesystem behaviour, so instead now the + size has to be specified explicitly (defaults to 60MB). + + - The git download infrastructure now ensures that GNU format + tar files are created. + + - Fixed a variable clashing issue in the mkusers script with + internal bash variables. + + - Fakeroot now links against libacl to fix issues on + distributions using acls. + + - Correct permissions for /dev/pts/ptmx when systemd is used + with recent glibc versions. + + - br2-external: Improve error reporting. + + - A wrapper script for genimage has been added in + support/scripts/genimage.sh for easy use of genimage from + post-image scripts. + + - A script to check for common style issues in new packages + before submitting has been added in support/scripts/check-package + + - Defconfigs are now tested by gitlab-CI instead of Travis: + https://gitlab.com/buildroot.org/buildroot + + - Infrastructure for runtime testing has been added to + support/testing + + Toolchain: + + - External linaro toolchains updated to 2017.02, ARC toolchain + updated to 2017.03-rc1, NIOSII CodeSourcery to 2017.05 + + - A number of fixes and improvements to the external toolchain + handling, including C library detection, multilib and ld.so + handling + + - Glibc 2.25 and uClibc-ng 1.0.24 added, wordexp support enabled + for uClibc-ng + + - Binutils 2.28 added and default changed to 2.27 + + + Architectures: + + - Support for the C-SKY architecture has been added. + + + License handling: + + - The package license markings for legal info now uses the + SPDX short identifiers for the license string where possible. + + - License info has been improved / added for a number of packages. + + + Misc: + + - Cmake 3.7.x installed on the host is no longer ignored as a + workaround for the RPATH issues has been implemented. + + - Docker-engine can now be built statically on an otherwise + dynamic linked build for docker-in-docker setups. + + - U-Boot now supports out-of-tree device trees, similar to + Linux + + - Nodejs 0.10.x support (and with it, support for -source-check fixed for packages from git. + + External toolchain: musl dynamic linker symlink for mips-sf + corrected. + + Updated/fixed packages: armadillo, audiofile, bash, + bluez_utils, cppcms, dbus, dhcp, dropbear, efibootmgr, efl, + elfutils, faketime, fbgrab, flashrom, ftop, gdb, git, + google-breakpad, gpsd, hans, kvm-unit-tests, kyua, libev, + libmicrohttpd, libminiupnpc, libtasn1, libubox, ltp-testsuite, + lua, madplay, mariadb, mono, mosquitto, mxml, ntp, + nvidia-driver, openblas, openvpn, oracle-mysql, picocom, popt, + postgresql, pulseview, qt5base, qwt, rabbitmq-c, redis, + rpcbind, rtmpdump, samba4, strongswan, sudo, vlc + + Issues resolved (http://bugs.buildroot.org): + + #9796: source-check broken for Git downloads + #9871: fbgrab 1.3 won't build with BR2_REPRODUCIBLE set + +2017.02.2, Released May 1st, 2017 + + Important / security related fixes. + + Use HTTPS for the Codesourcery external toolchains as the HTTP + URLs no longer work. + + Updated/fixed packages: bind, busybox, dovecot, freetype, + ghostscript, glibc, granite, hiredis, icu, imagemagick, + gst-plugins-base, gst1-plugins-base, libcroco, libcurl, libnl, + libnspr, libnss, libsamplerate, libsndfile, libunwind, + minicom, mplayer, mpv, nodejs, python-django, python-pyyaml, + python-web2py, samba4, syslinux, systemd, tiff, trinity, + uboot, wireshark, xen + + Issues resolved (http://bugs.buildroot.org): + + #9791: Python searches for packages in the user site directory + +2017.02.1, Released April 4th, 2017 + + Important / security related fixes. + + Fix a variable clashing issue in the mkusers script with + internal bash variables. + + Improve external toolchain version detection. + + Correct permissions for /dev/pts/ptmx when systemd is used + with recent glibc versions. + + Fix python module name clash for graph-depends. + + Fakeroot now links against libacl to fix issues on + distributions using acls. + + Ensure that the git download infrastructure creates GNU format + tar files. + + br2-external: Improve error reporting. + + Updated/fixed packages: acl, apr, audiofile, busybox, cairo, + dbus-cpp, dbus-glib, dbus-triggerd, domoticz, elfutils, + fakeroot, filemq, fmc, gdb, git, gnutls, gst-ffmpeg, + gst1-plygins-bad, harfbuzz, htop, imagemagick, jasper, libcec, + libiio, libplatform, librsvg, libselinux, libsidplay2, libsoc, + libwebsockets, libxkbcommon, linux-firmware, logrotate, + lpt-testsuite, lttng-libust, mariadb, mbedtls, memcached, + mesa3d, mpd, mplayer, nbd, ncftp, ntp, openssh, opentyrian, + pcre, perl-gd, python, qt5base, rpi-userland, rpm, samba4, + skalibs, slang, sngrep, squashfs, syslog-ng, taglib, + tcpreplay, tor, upmpdcli, wget, wireshark, + xdriver_xf86-video-vmware, xlib_libXv, zmqpp + + Issues resolved (http://bugs.buildroot.org): + + #9456: mkusers script bash errors + +2017.02, Released February 28th, 2017 + + Minor fixes, mainly fixing autobuilder issues. + + Don't use cmake 3.7.x from the build host as it is also + affected by the RPATH handling issues, and instead build our + own if needed. + + Updated/fixed packages: assimp, classpath, genimage, mplayer, + mpv, openocd, python-libconfig, qt5base, qt5quickcontrols, + vlc, xterm + +2017.02-rc3, Released February 26th, 2017 + + Fixes all over the tree. + + Cmake reverted to version 3.6.3 to workaround regressions + related to RPATH handling. + + Updated/fixed packages: bctoolbox, berkeleydb, binutils, + btrfs-progs, classpath, directfb, glibc, gstreamer1, + gst1-plugins-{base,good,bad,ugly}, gst1-libav, + gst1-rtsp-server, gst1-validate, gst-omx, htop, libcurl, + libepoxy, libimxvpuapi, libpcap, libuv, ncurses, openssh, + oracle-mysql, poco, python, qt5base, qt5webkit, sslh, synergy, + trousers, uclibc-ng-test, util-linux, vlc, xfsprogs + + Issues resolved (http://bugs.buildroot.org): + + #9251: Shared C++ libraries for Microblaze results in Segmentation... + #9456: mkusers script bash errors + #9506: Collectd 5.7.0 fails to build with libcrypt + #9581: VagrantFile provisioning step fails due to issue with grub-pc + #9586: usbmount: usbmount slows down the system... to a state of... + #9616: CMake host packages cannot provide CONF_ENV + #9641: Need raptor package installed in staging + #9671: stunnel build error + +2017.02-rc2, Released February 20th, 2017 + + Fixes all over the tree. + + Support for SOURCE_DATE_EPOCH in the toolchain wrapper for + older gcc versions for reproducible builds has been + (temporarily) reverted because of licensing compatiblity + concerns. + + Defconfigs: SD card generation fix for the Udoo Neo board + + Infrastructure to handle .lz compressed tarballs added, and + affected packages updated to use it. + + Updated/fixed packages: bctoolbox, bind, canelloni, + cbootimage, ccache, classpath, cups, dbus, ddrescue, directfb, + ed, erlang, gcc, gdb, glmark2, gstreamer, gstreamer1, hiredis, + kmod, kmsxx, lcdapi, libasplib, libgpiod, libnss, libraw, + libv4l, mesa3d-headers, mosquitto, mpd, mpv, musl, ntfs-3g, + ocrad, openswan, postgresql, qt5base, qt5quickcontrols, redis, + riemann-c-client, samba4, sunxi-mali, tcping, trousers, + uclibc, util-linux, vim, wavpack, wget, wiringpi, xfsprogs, + xserver_xorg-server + + Issues resolved (http://bugs.buildroot.org): + + #8941: Valgrind fails to build with stack protection turned on + #9291: perl: SysV message queues not configured, even if available + #9651: libxcb-1.12 built Error + #9656: util-linux: schedutils doesn't build on target w/o enabl... + #9666: qt5quickcontrols install fails + +2017.02-rc1, Released February 11th, 2017 + + Fixes all over the tree and new features. + + Infrastructure: + + - numerous improvements to support reproducible builds + + - new waf-package package infrastructure to support packages + that use the Waf build system. 6 packages converted to + this infrastructure. + + - add option _PREFER_INSTALLER to the perl package + infrastructure + + Architecture: + + - add support for the OpenRISC CPU architecture + + - merge description of the ARM and ARM64 options, and add + support for selecting a specific ARM64 core + + Toolchain: + + - major rework of the external toolchain support. It is now + split into several packages, one per external toolchain, + and a common infrastructure. + + - important fix for musl to prevent a conflict between musl + and kernel headers (fixes the build of numerous packages + with musl) + + - uClibc-ng bumped to 1.0.22, and therefore enable uClibc + for ARM64, mips32r6 and mips64r6 + + - add gdb 7.12.1, and switch to gdb 7.11 as the default + + - Linaro toolchains updated to 2016.11, ARC toolchain + components updated to arc-2016.09, MIPS Codescape + toolchains bumped to 2016.05-06, CodeSourcery AMD64 and + NIOS2 toolchains bumped + + - remove Analog Devices toolchain for the Blackfin + architecture, remove pre-built musl toolchains from + musl.codu.org + + New defconfigs: Freescale i.MX23EVK, Qemu OpenRISC emulation, + Qemu NIOS2 emulation, Grinn chiliBoard, Freescale i.MX6Q + SabreSD, BeagleBoard X15, OrangePi One, ARC HS38 HAPS + + New packages: angular-websocket, aubio, bctoolbox, darkhttpd, + ddrescue, easydbus, fakedate, git-crypt, hiredis, ifenslave, + jsmn, libgpiod, libgsm, linux-syscall-support, mariadb, mimic, + nginx-dav-ext, nmon, opkg-utils, policycoreutils, + pru-software-support, python-arrow, python-attrs, + python-babel, python-bitstring, python-chardet, + python-constantly, python-flask-babel, python-gunicorn, + python-incremental, python-jsonschema, python-logbook, + python-markdown2, python-mbstrdecoder, python-mutagen, + python-pathpy, python-pudb, python-pyqrcode, + python-pytablereader, python-setuptools-scm, python-sh, + python-toml, python-vcversioner, python-whoosh, + raspberrypi-usbboot, riemann-c-client, rtl8723bs, skalibs, + sslh, sngrep, ti-cgt-pru, uclibc-ng-test, udpxy, uhttpd, + upower, ustream-ssl, waf, xlib_libXfont2 + + Removed packages: perl-db-file, snowball-hdmiservice, + snowball-init + + Tooling: addition of a test-pkg script to help contributors + build test their package. + + Issues resolved (http://bugs.buildroot.org): + + #8946: Valgrind fails to build with stack protection turned on + #9461: odroidc2 - toolchain Linaro AArch64 2016.11 compile error + #9466: VIM_REMOVE_DOCS removes rgb.txt + #9486: xorg-server 1.19 fails to compile for glibc with systemd init (x86_64) + #9501: eudev fails to build with older kernel headers + #9526: Embedded NPM fails to start with "no such file or directory" error + #9541: Platform drivers autoloading from info in device tree does not work + #9546: seems BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS do nothing + #9551: Coreutils fails to build target src/src_libsinglebin_pinky_a-pinky.o + #9566: [kmod] Compilation fails with uclibc + #9571: buildroot fails while building opencv for arm64 platform + #9576: External tree with BR 2016.11 does not work anymore + #9606: xorg-server cannot build for ARM target + +2016.11.3, Released March 9th, 2017 + + Important / security related fixes. + + Updated/fixed packages: bind, dbus, gnutls, imagemagick, + lcms2, libcurl, ntfs-3g, ntp, openssl, php, quagga, redis, + squid, stunnel, tcpdump, vim, wavpack, wireshark, xlib_libXpm + +2016.11.2, Released January 25th, 2017 + + Important / security related fixes. + + A fix for BR2_EXTERNAL trees referenced using relative paths, + which broke in 2016.11. + + Updated/fixed packages: bind, docker-engine, gd, gnutls, go, + imagemagick, irssi, libpng, libvncserver, musl, opus, php, + php-imagick, rabbitmq-server, runc, wireshark, + + Issues resolved (http://bugs.buildroot.org): + + #9576: External tree with BR 2016.11 does not work anymore + +2016.11.1, Released December 29th, 2016 + + Important / security related fixes. + + Updated/fixed packages: apache, cryptopp, docker-engine, + dovecot, exim, gdk-pixbuf, libcurl, libupnp, links, monit, + nodejs, openssh, php, python, python-bottle, samba4, squid, + uboot, vim, wireshark, xorg-server uboot + + Issues resolved (http://bugs.buildroot.org): + + #9466: VIM_REMOVE_DOCS removes rgb.txt + +2016.11, Released November 30th, 2016 + + Minor fixes. + + Updated/fixed packages: bzip2, gcc, jasper, sane-backends, + uboot, uclibc + + Issues resolved (http://bugs.buildroot.org): + + #9451: packages/postgresql/postgresql.mk contains wrong POST... + +2016.11-rc3, Released November 28th, 2016 + + Fixes all over the tree, including a number of security fixes. + + The move from fakeroot to pseudo unfortunately brought a + number of issues. The SELinux issue described in #9386 which + triggered the move to pseudo has been investigated further and + a workaround implemented and the pseudo changes reverted. + + Linux kernel: update default to 4.8.11. + + Defconfigs: Updates/fixes for imx28ek, mx6udoo, imx6ulpico, + olimex a20 olinuxino lime mali, roseapplepi, synopsis aarch64 + vdk, axs101, axs103 and hs38 smd vdk. + + Updated/fixed packages: autossh, chrony, dosfstools, + dtv-scan-tables, e2fsprogs, gcc, gdb, gnuchess, gnuradio, + gpsd, gst1-plugins-bad, gst1-plugins-good, imagemagick, + kvm-unit-tests, libfribi, libuv, mesa3d, mpfr, mplayer, mpv, + ntp, ola, olsr, openblas, openjpeg, openssh, postgresql, + ptpd2python3, qemu, qextserialport, qt5base, quagga, xqwt, + taskd, tiff, tremor, trousers, udisks, uclibc, wireshark, + xapp_xload, xenomai, xmlstarlet + + Issues resolved (http://bugs.buildroot.org): + + #9386: ubinize fails with or without custom config + #9431: A misspelling + #9446: make raspberrypi3_defconfig compilation failure + +2016.11-rc2, Released November 13th, 2016 + + Fixes all over the tree. + + Architecture: add support for MIPS XBurst cores; remove MIPS + support for M5100 cores. + + Updated/fixed packages: mesa3d, lttng-babeltrace, tinyalsa, pseudo, + czmq, libxml2, makedevs, binutils, kvm-unit-tests, libnss, privoxy, + qemu, ser2net, net-tools, ffmpeg, assimp, libmpeg2, ccache, mpv, + libxslt, python, python3, php, valgrind, guile, domoticz, efl, + jasper, kvmtool, go, wget, sane-backends, weston, tinymembench, + strace, openjpeg, lcms2, quota. + + Linux kernel: update default to 4.8.7. + + CMake support: fix cmake wrapper to properly pass NDEBUG flag. + + Filesystems: use a wrapper to pseudo, to better mimick the behaviour + of fakeroot; makedevs no longer breaks of the destination already + exists and is of the correct type/major/minor. + + Defconfigs: a few legacy and broken defconfigs have been removed + because they now fail to build: kb9202_defconfig, mini2440_defconfig, + freescale_p2020ds, qmx6, calao*, atmel_sama5d4ek. Other defconfigs + have been updated: nanopi-neo, olimex_a20_olinuxino_lime_mali, + armadeus_apf51, armadeus_apf28, freescale_imx31_3stack, ci20, + olimex_a20_olinuxino_lime2, atmel_at91sam9260eknf, + atmel_at91sam9rlek, atmel_at91sam9g20dfc, atmel_at91sam9g45m10ek, + atmel_sama5d3xek. + +2016.11-rc1, Released November 3rd, 2016 + + Fixes all over the tree and new features. + + It is now possible to specify multiple BR2_EXTERNAL + directories. The required files in a BR2_EXTERNAL directory + have changed to accomodate this feature. Refer to the + documentation for details of how to update them. External + trees now have a name and a description. Also, it is possible + to override a defconfig in the external tree. + + The default skeleton now uses UID 65534 for the "nobody" + user instead of UID 99, like most distros do. See + https://lwn.net/Articles/695478/ for a complete discussion. + Programs and configuration files that explicitly refer to UID + 99 will have to be updated. + + When the build environment already has a suitable cmake version + (3.1 or later), that one will be used instead of building + host-cmake. This can speed up the build significantly. + + The ExtUtils::MakeMaker perl module is now required in the + build environment. + + An additional check is done during the build that files are + not installed in the output directory within the output + directory. This happens e.g. when the target directory is + contained both in --prefix and in DESTDIR. The build will + terminate with an error message that specifies which package + and which file caused the failure. + + The concept of "deprecated packages" and the BR2_DEPRECATED + option have been removed. Instead, packages are removed + immediately. Packages are only removed when they don't work + for some reason. If you still need a removed package and + you have a solution for the problem(s) that caused the + removal, please contribute it. + + Architecture: support for sh64 removed, improved support for + MIPS core selection. + + Toolchain: support for musl powerpc64le, mips64 and mipsr6 + toolchains, ARC toolchain components updates, gcc 6.x series + bumped to 6.2.0, default binutils version switched to 2.26, + default gcc version switched to gcc 5.x, Linaro toolchains + updated, uclibc-ng bumped to 1.0.19. GCC is now always built + with TLS support. Checking of unsafe compiler options (that + point to host directories) has been extended with -isystem, + -idirafter and -iquote. + + Package infrastructure: new variable $(PKG)_DL_OPTS, addition + of -show-rdepends to list reverse dependencies, and + -graph-rdepends to graph reverse dependencies. Linux tools + are now in a separate linux-tools package instead of in the + kernel build. Fakeroot has been replaced by pseudo. + + CMake support: the toolchainfile.cmake file now provides a + definition of the CMAKE_BUILD_TYPE variable. The + toolchainfile.cmake also no longer forces the compiler/linker + flags defined by Buildroot. + + New defconfigs: WaRP7, Solidrun's MX6 Cubox/Hummingboard, + TS-4900, Grinn's liteBoard, Udoo MX6Q/DL, Qemu ARM noMMU, + BeagleBone Qt5 demo, Digilent Zybo, FriendlyARM Nanopi NEO. + + New packages: arm-trusted-firmware, amd-catalyst, atop, aufs, + aufs-util, fwts, gst1-rtsp-server, libglob, libite, mfgtools, + mksh, motion, paho-mqtt-c, php-amqp, pseudo, python-couchdb, + python-crcmod, python-cssutils, python-docutils, + python-futures, python-mwclient, python-mwscrape, + python-mwscrape2slob, python-pyelftools, python-pyicu, + python-pylru, python-pyqt5, python-requests-toolbelt, + python-simpleaudio, python-slob, rabbitmq-server, shapelib, + vdr, vdr-plugin-vnsiserver, vexpress-firmware, xvisor, iio and + gpio linux tools. + + Removed packages: binutils 2.24, fakeroot, gcc 4.7, ipkg, + kodi-addon-xvdr, libgail, sstrip, torsmo, webkit, webkitgtk24, + wvdial, wvstreams. + + Documentation: the list of packages that was present in the + Buildroot manual has been removed. + + Legal info: the "licenses.txt" file that concatenates all + license texts is no longer generated - it was not considered + useful. The manifest.csv contains an empty cell instead of + "not saved" when no license file is available. + + Other: addition of a DEVELOPERS file listing developers taking + care of packages or architectures. + + Issues resolved (http://bugs.buildroot.org): + + #7802: host-python build hangs compiling getbuildinfo.o + #8206: mplayer uses host xorg development files + #8516: mkcubiecard.sh uses outdated sfdisk switch -D + #8536: Building sudo with PAM results in unusable sudo + #8646: check-host-rpath script returns false positives when rpath + contains symlink + #8696: xdriver_xf86-input-mouse install header files in target + directory + #8811: rp-pppoe - generated scripts commands use HOST pathnames, + not necessarily TARGET + #8846: Orphaned/missing toolchain borks eclipse plugin + #8856: python tornado runtime wasn't met on buildroot 2016.02 + #8901: gcc failes to build if fortran is enabled + #8916: LDFLAGS pass to openssh + #8941: "ls" of an NFSv4 share only works when pumped through strace + #8946: Valgrind fails to build with stack protection turned on + #9021: Kodi - Broken: Illegal instruction (core dumped) + #9096: rootfs.ubi not created + #9111: glibc 2.23: libmvec.so not copied + #9176: minnowboard : USB not mounted + #9196: raspberry pi 3 default build seem broken + #9201: Permission denied make: *** [core-dependencies] Error 126 in + Buildroot-2015.08.1 + #9216: log4cpp package build fails to build within install + #9221: Kodi needs "Python .py and .pyc support" otherwise it crashes when + pressing buttons. + #9229: Firefly boot fails with: "failed to find part:boot" + #9256: [Config file] New device: Odroid-U2/U3 + #9296: Buildroot Fails on applying patches + #9301: U-boot fails to build with default zynq_zed_defconfig configuration + #9316: U-boot fails to build if libssl-dev is not installed + #9321: Vanilla libcrypt++ v5.6.3 doesn't allow to work Nvidia Tegra's + flash utility (tegrarcm) + #9326: Odroid-C2 build results in non-bootable image + #9336: Improve iconv support for external toolchain based builds + #9356: gdb package + #9366: no link rootfs.ext4 -> rootfs.ext2 + #9371: openssl: download failes with "Only allow downloads from primary + download site" + local server + #9381: check-host-rpath issues + #9386: ubinize fails with or without custom config + +2016.08, Released September 1st, 2016 + + Minor fixes. + + Toolchain: ARC tools updated to arc-2016.09-eng010. + + Updated/fixed packages: libshout, luajit, mpd, mplayer + + Issues resolved (http://bugs.buildroot.org): + + #7520: CodeSourcery toolchain ARM: C++11 std::exception_ptr.. + #8341: Getting EGL Error: Could not create the egl surface:.. + #9121: gst1-imx for i.MX6 compile failed, cannot find PXP, .. + +2016.08-rc3, Released August 29th, 2016 + + Fixes all over the tree. + + Toolchain: C++ support for the internal blackfin toolchain + re-enabled. + + Architecture: Default to bf532 CPU variant for blackfin, + Fix flat one memory region support for m68k and disable flat + seperate data support because of compatibility issues. + + Defconfigs: Minnowboard and Raspberrypi: Fix errors with + post-build scripts when systemd is used. + Zynq microzed/zc706/zed: Fix u-booot configuration. + + netbsd-queue package extended and renamed to + musl-compat-headers. With this, a number of musl compatibility + patches are no longer needed. + + Updated/fixed packages: aircrack-ng, android-tools, babeld, + bcusdk, binutils, boa, busybox, connman, cpupower, + docker-engine, domoticz, elf2flt, ffmpeg, fwup, gcc, + glib-networking, gnupg, hplip, igd2-for-linux, imagemagick, + imx-uuc, iputils, jack2, kismet, kmsxx, libaio, libamcodec, + libconfuse, libffi, libfreeimage, libgcrypt, libgpg-error, + libiio, libraw, libsepol, libserialport, libxmlrpc, linknx, + linux-pam, lirc-tools, lldpd, logrotate, lshw, musl, ncurses, + neon, nettle, norm, ntfs-3g, openblas, openmpi, openswan, + pinentry, pixman, protobuf, python-meld3, qlibc, qt, qt5base, + quagga, rpcbind, rt-tests, runc, sane-backends, sconeserver, + squeezelite, stella, tftpd, tinycbor, tinydtls, trace-cmd, + trousers, tstools, uboot-tools, uclibc, ulogd, ustr, vlc, + webkitgtk, wireshark, xdriver_xf86-video-intel + + Issues resolved (http://bugs.buildroot.org): + + #9101: Error on support/download/git with system git older than 1.8.4 + #9181: Compiling linux kernel fails if BR2_LINUX_KERNEL_TOOL_CPU.. + +2016.08-rc2, Released August 17th, 2016 + + Fixes all over the tree. + + Toolchain: disable broken C++ support for internal blackfin + toolchains, ARC toolchain bumped to arc-2016.09-eng008 (GCC 6) + to fix various issues. + + System: Zoneinfo is available for the musl C library as well. + + Updated/fixed packages: am33x-cm3, axel, barebox, bdwgc, + blktrace, cairo, dante, enlightenment, fbterm, ffmpeg, flex, + fontconfig, gcc, gmp, gnuplot, gnuradio, gst1-imx, hidapi, + inotify_tools, iproute2, kmsxx, lftp, libaio, libcofi, + libical, libpjsip, libsidplay2, libunwindow, libxml2, + linux-zigbee, lttng-libust, mpv, mtd, ncdu, netplug, ntp, + openblas, openipmi, owfs, php, poco, procps, qt, quota, + sg3_utils, spidev_test, systemd-bootchart, thrift, + uboot-tools, uclibc, webrtc-audio-processing, wayland, weston, + xdriver_xf86-video-savage, xserver_xorg-server, xen + + Issues resolved (http://bugs.buildroot.org): + + #9136: make graph-size fails with "ValueError: too many values to.. + #9151: qt: fix build with ALSA >= 1.1.x + #9156: qt: Fix missing runtime Qt3Support dependency + #9161: modsetting patch not applied to xserver 1.18.4 + #9166: Missing overlays directory in VFAT image for raspberry pi 3 + +2016.08-rc1, Released August 6th, 2016 + + Fixes all over the tree and new features. + + Toolchain: Fortran support added. eglibc support removed, musl + support no longer experimental. Blackfin and Microblaze + support for internal uClibc-ng toolchain, m68k/coldfire + improvements. The check for unsafe (build host) directories + access (/usr/include and /usr/lib) is now enabled by default. + Unused locales are now purged by default to save space (and + the default list of locales shrunk). The option to control + this has now moved from the toolchain menu to system + configuration. + + Legal info improvements: sources are now hardlinked instead of + copied if possible to save space. Patches and extra downloads + are also saved. + + An experimental configuration knob (BR2_REPRODUCIBLE) has been + added to make the builds more reproducible (E.G. less + differences in the binary output between builds of the same + configuration). This is still work in progress. + + An option to execute a custom script inside the fakeroot + environment used to the generate the filesystem (E.G. to tweak + permissions or similar) has been added. + + Git support now supports git submodules if + _GIT_SUBMODULES is enabled. + + Hash files for integritry validation have been added for all + packages. + + Scanpypi utility to help creating packages from the Python + package index (pypi) has been added. + + The makedevs utility now has support for adding file + capabilities using extended attributes. + + New defconfigs: Arcturus uCP1020, Atmel sama5d{2,3,4} xplained + development configs, Blackfin GDB simulator, Linksprite + pcDuino, Minnow Board Max graphical demo, NXP i.MX25 PDK, + i.MX51 EVK, i.MX6UL Pico, i.MX7 sabresd, QEMU MIPS32r6{,el} and + MIPS64r6{,el} malta, Roseapple Pi, Samsung Snow chromebook, + Toradex Apalis i.MX6 COM, TS-4800, x86-64 PC BIOS and EFI + demos. A number of defconfigs have been updated and extended + to generate SD card images. Synopsys HS38 VDK defconfig removed. + + New packages: 4th, acpica, acpitool, alljoyn, alljoyn-base, + alljoyn-tcl, alljoyn-tcl-base, argparse, babeld, batman-adv, + circus, dante, docker-containerd, docker-engine, domoticz, + efibootmgr, efivar, ficl, fwup, gsettings-desktop-schemas, + gtksourceview, gupnp-dlna, gupnp-tools, igd2-for-linux, + jemalloc, kmsxx, lapack, lft, libaacs, libamcodec, libbdplus, + libcoap, libdvdcss, libebur128, libfastjson, libminiupnpc, + libnatpmp, libpqxx, libuio, libvdpau, log4cpp, minissdpd, + mxsldr, nginx-nasxi, nginx-upload, ninja, nodm, odroid-mali, + odroid-scripts, omxplayer, openblas, openmpi, openzwave, + p7zip, pdbg, python-argh, python-dataproperty, + python-dateutil, python-dialog3, python-dicttoxml, + python-dominate, python-engineio, python-flask-jsonrpc, + python-flask-login, python-humanize, python-pathtools, + python-pathvalidate, python-pillow, python-prompt-toolkit, + python-pytablewriter, python-pytz, python-scapy3k, + python-sdnotify, python-socketio, python-tomako, + python-ubjson, python-u-msgpack, python-watchdog, + python-wcwidth, python-xlrd, python-xlsxwriter, + python-xlutils, python-xlwt, rs485conf, runc, sdl2_gfx, + sdl2_image, sdl2_ttf, shellinabox, sphinxbase, stella, + supertuxkart, systemd-bootchart, tekui, terminology, tinycbor, + tinydtls, ti-sgx-demos, ti-sgx-km, ti-sgx-um, tunctl, wavemon, + wiringpi, xen + + Deprecated packages: ipkg, sstrip + + Removed packages: sunxi-mali-prop + + Issues resolved (http://bugs.buildroot.org): + + #8931: segment fault when compile argp-help.c using aarch64-bu... + #8966: eglfs error. buildroot don't compile the library libeglfs.so + #8971: build for beaglebone fails + #8986: qt5imageformats fails to build on AArch64 + #8991: grub2 fails to compile + #9001: Nodejs option not available + #9006: gcc with c++ support v4 and v5 fail to compile on fedora 24 + #9016: arceb-buildroot-linux-uclibc ld uses incorrect default format + #9066: 8139TOO - faulty behaviour + #9086: Syntax Error (missing ")" in boot/uboot/uboot.mk on line 203) + #9091: U-Boot fails to boot with large ramdisk + +2016.05, Released May 31st, 2016 + + Minor fixes. + + External toolchain: Fix for symlink handling when copying + links to target. + + Updated/fixed packages: gcc, grantlee, gst-ffmpeg, + ipsec-tools, iptraf-ng, libcurl, libdrm, libsigsegv, ltris, + lttng-babeltrace, mbedtls, mesa3d, moarvm, mplayer, mtools, + net-tools, openpowerlink, pulseview, rpm, tinyalsa, + xdriver_xf86-video-fbturbo, xserver_xorg-server + +2016.05-rc3, Released May 26th, 2016 + + Fixes all over the tree. + + Tweaks for SSP handling for external toolchains. + + Updated/fixed packages: aircrack-ng, bluez5_utils, connman, + cups, erlang-p1-stringprep, expat, ffmpeg, flann, flannel, go, + gst1-libav, hidapi, hplip, iptraf-ng, jamvm, kodi, + kodi-screensaver-matrixtrails, libcurl, libepoxy, libgpgme, + libsemanage, libxslt, liquid-dsp, ltris, lxc, mesa3d, midori, + mpg123, mtr, openpgm, openpowerlink, oprofile, php, + postgresql, putty, python-service-identity, python-treq, + qlibc, qt5serialbus, ruby, stress-ng, strongswan, time, tinc, + ustr, valgrind, webkitgtk, libxml2, xorriso, + xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #8936: Aircrack-ng - Alot of missing dependencies + +2016.05-rc2, Released May 17th, 2016 + + Fixes all over the tree. + + Rootfs overlay handling now refuses to overwrite + /{usr,bin,sbin,lib} symlinks from BR2_ROOTFS_MERGED_USR option + even if these directories are present in the overlay. + + External toolchain: Unbreak user provided libraries deployment + (BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS) handling after refactoring. + + QEMU coldfire: Fix for signal handling kernel issue, enable + networking support. + + Updated/fixed packages: android-tools, assimp, boost, gcc, + glibc, glmark2, gmrender-resurrect, go, go-bootstrap, iputils, + jack2, kodi-screensaver-asterwave, kodi-screensaver-rsxs, + kodi-visualisation-shadertoy, libarchive, libinput, libpjsip, + mali-t76x, mtr, nginx, opencv, openvpn, python-coherence, + qt5multimeda, quagga, samba4, sg3-utils, stress-ng, turbolua + +2016.05-rc1, Released May 10th, 2016 + + Fixes all over the tree and new features. + + Architectures: new ARM variants: Cortex A17 and M4, improved + nonmmu (cortex-M) support, m68k has been re-enabled with + support for ColdFire. For x86, support for the i386 variant + has been dropped. + + Toolchain: Add GCC 6 support, remove GCC 4.5, mark GCC 4.7 as + deprecated. Go programming language support, Add Binutils 2.26 + support. Old Sourcery PowerPC external toolchains removed, + Sourcery MIPS 2016.06-8, AMD64 2015.11-139, NiosII 2015.11-130 + added, Linaro ARM/ARMeb/Aarch64 toolchains updated. + + New defconfigs: Firefly RK3288, Boundary Devices i.MX7 Nitrogen7, + STM32F429 and STM32F469 Discovery boards, Hardkernel ODROID-C2, + Raspberry Pi Zero and Raspberry Pi 3. Some Qemu defconfigs were + added for m68k, eXtensa-nommu and ColdFire. + + Linux: use zImage by default on ARM, subversion repository + support (for u-boot as well). + + New packages: aer-inject, android-tools, cannelloni, + cbootimage, cgroupfs-mount, connman-gtk, crudini, dt, + gmrender-resurrect, flannel, font-awesome, freeswitch, go, + go-bootstrap, gr-osmosdr, granite, i7z, imx-uuc, + kodi-adsp-basic, kodi-adsp-freesurround, + kodi-audiodecoder-opus, kodi-pvr-hdhomerun, + kodi-screensaver-asterwave, kodi-screensaver-cpblobs, + kodi-screensaver-matrixtrails, kodi-screensaver-planestate, + kodi-screensaver-rsxs, kodi-visualisation-fishbmc, + kodi-visualisation-fountain, kodi-visualisation-goom, libgee, + libimxvpuapi, libpjsip, libtomcrypt, libtommath, libusbgx, + lksctp-tools, mali-t76x, mkpimage, mpv, msr-tools, nload, + norm, nvme, owfs, pound, privoxy, procrank_linux, putty, + python-autobahn, python-characteristic, python-crossbar, + python-cryptography, python-iniparse, python-iowait, + python-lmdb, python-pexpect, python-ptyprocess, + python-pyasn-modules, python-pygments, python-pymysql, + python-pynacl, python-pyopenssl, python-pysocks, + python-pytrie, python-rpi-gpio, python-service-identity, + python-setproctitle, python-shutilwhich, python-treq, + python-txaio, python-ujson, python-wsaccel, qt5canvas3d, + qt5location, qt5quickcontrols2, qt5serialbus, qt5tools, + raptor, scrub, taskd, tegrarcm, turbolua, valijson, + wayland-protocols, webkitgtk, wilc1000-firmware, wpan-tools, + xdriver_xf86-video-amdgpu + + Removed packages: foomatic-filters, python-m2crypto, + qt5quick1, qt5webkit-examples, samba, xdriver_xf86-input-void + + Issues resolved (http://bugs.buildroot.org): + + #6830: Qt5: no fonts are installed + #7562: musl buildroot-toolchain and BR2_MIPS_SOFT_FLOAT break + #7580: Invalid filesystem in Pandaboard defconfig + #8346: wf111 package removes all kernel module dependencies + #8436: xserver_xorg-server Segmentation fault + #8736: IPV6 forced on in busybox + #8746: At startup system stops with 'cannot set terminal proces.. + #8751: make fail [fio does not build on sh] + #8766: Compiling host-gcc-final-4.9.3 broken on i386 + #8771: make savedefconfig modifies sources + #8781: Unable to build uboot for imx28evk + #8786: gdb fails to build with xz and expat support at the same + #8801: Compilation of Buildroot 2016.2 for Raspberry Pi with... + #8806: Buildroot 2016.2 for Raspberry Pi requires that ext4... + #8836: Can't select Vim in menuconfig + #8851: Make sure fio can compile with libaio support if it... + #8861: With buildroot 2016.02 trying to build for corei7-avx + fails while trying to build host-binutils + #8866: Making an USB flash bootable with extlinux build with + buildroot does not work + +2016.02, Released March 1st, 2016 + + Minor fixes, mostly security related. + + Circular dependency issue with same-as-kernel linux-headers + option fixed. + + Updated/fixed packages: bluez5_utils, heirloom-mailx, + imx-gpu-viv, kodi-pvr-argustv, kodi-pvr-mediaportal-tvserver, + kodi-pvr-nextpvr, libfcgi, openssl, pifmrds, powerpc-utils, + python-m2crypto, slang, sox, squid, tn5250, xerces, zsh + +2016.02-rc3, Released February 27th, 2016 + + Fixes all over the tree. + + Defconfigs: Ensure EABIhf is correctly enabled for ARM cores + where VFP is optional (but present on the specific hw). Fix + ARM variant selection for freescale_imx31_3stack_defconfig. + + Ensure tarballs of downloaded git trees do not contain a + timestamp. + + Clarify license of patches in COPYING. + + Updated/fixed package: avahi, binutils, cairo, can-festival, + chrony, cifs-utils, dnsmasq, dvdauthor, e2fsprogs, efl, + erlang-rebar, eudev, fbterm, gawk, gnupg2, gnuradio, gpm, + gst1-plugins-good, hostapd, imagemagick, iproute2, iputils, + jack2, kexec, kismet, lftp, libarchive, libeXosip2, libfm, + libglib2, libsoil, libssh, libssh2, libuci, links, lshw, lxc, + mediastreamer, mono, mraa, mutt, nfs-utils, numactl, ofono, + omniorb, openipmi, openobex, patch, pax-utils, perf, + pulseaudio, pure-ftp, qhull, qt, quagga, quota, sdl_sound, + shairport-sync, spice, sysklogd, syslog-ng, trace-cmd, + trousers, tvheadend, util-linux, vim, webkitgtk24, wireshark, + wpa_supplicant, xerces, zsh + + Issues resolved (http://bugs.uclibc.org): + + #8651: libMonoPosixHelper.so wrong link reference in buildroot.. + +2016.02-rc2, Released February 18th, 2016 + + Fixes all over the tree. + + Toolchain: PR19405 backport to binutils 2.25.1 to fix NIOS ld + crash, backport of Xtensa .init/.fini literals handling. + glibc security patches for CVE-2014-8121, CVE-2015-1781 + and CVE-2015-7547. + + Defconfigs for Acmesystems Arietta g25 added. + + Updated/fixed packages: binutils, boost, chrony, dovecot, + e2fsprogs, fio, gdb, glibc, graphite2, icu, kbd, libbsd, + libcue, libgcrypt, libraw, links, mc, mosquitto, nodejs, + postgresql, pptp-linux, pulseaudio, samba4, spice, squid, + sysklogd, systemd, tiff, uclibc, ulogd, util-linux, valgrind. + + Issues resolved (http://bugs.uclibc.org): + + #8576: Building embedded Linux for Atmel SAMA5D4_Xplained... + #8606: Problem compiling on Arch Linux + #8681: kbd 2.0.3 does not build on rpi + +2016.02-rc1, Released February 10th, 2016 + + Fixes all over the tree and new features. + + Toolchain: Support for GCC 5.3.x. ARC toolchain updated to + arc-2015.12. Support for legacy uClibc dropped, default to + uClibc-ng instead. Added sys/queue.h implementation for MUSL + for compatibility. Updated versions of Code sourcery and + Linaro toolchains. MIPS Codescape toolchains added. Version + selection for preconfigured external toolchains removed. + + New Defconfigs: ARM Juno r0/r1 development boards, Freescale + i.MX6UL Evaluation Kit, Intel Galileo Gen 2, Orange Pi PC. + A number of defconfigs have been extended to generate complete + system images using genimage. + + Linux: Automatically patch timeconst.pl for <3.9 kernels, + which isn't compatible with modern perl versions, breaking the + build when building on recent (Fedora 23, Debian + Testing/Unstable, ..) distributions. + + Makedevs utility now accepts textual (non-numerical) user and + group names. + + Vagrant file to easily setup a working development environment + in a VM has been added. + + Size-stats-compare script to compare rootfs sizes between + builds has been added. + + Infozip package renamed to zip. EFL packages restructured. + + Updated/fixed packages: aespipe, aiccu, alsa-lib, alsa-utils, + angularjs, apache, apr, argp-standalone, armadillo, arptables, + at, atk, audiofile, aumix, autoconf-archive, avahi, bash, bc, + bcache-tools, bdwgc, beecrypt, bind, binutils, bluez5_utils, + bluez_utils, bonnie, boost, busybox, cairo, cdrkit, chrony, + clamav, cmake, collectd, connman, coreutils, cppcms, crda, + cryptodev-linux, cryptsetup, cups, cwiid, cxxtest, dbus, + dbus-cpp, dbus-glib, debianutils, dhcp, dhcpcd, dhrystone, + dillo, directfb, directfb-examples, dmraid, dnsmasq, doom-wad, + dovecot, dovecot-pigeonhole, dropbear, dtv-scan-tables, + dvb-apps, dvbsnoop, ecryptfs-utils, eigen, ejabberd, + elementary, elfutils, enlightenment, erlang, espeak, eudev, + eventlog, exfat, exfat-utils, exiv2, expedite, faifa, + fakeroot, fastd, fbgrab, fetchmail, ffmpeg, findutils, fio, + firmware-imx, flann, flashrom, flite, flot, fmlib, freerdp, + freescale-imx, freetype, gauche, gawk, gcc, gcc-final, gcr, + gdb, gdk-pixbuf, geoip, gesftpserver, gettext, giflib, git, + glibc, glibmm, glog, gmp, gnupg, gnupg2, gnutls, gob2, gpsd, + gptfdisk, grep, gst1-libav, gst1-plugins-{bad,base,good,ugly}, + gst-ffmpeg, gst-plugins-{bad,base,good,ugly}, gstreamer, + gstreamer1, guile, gvfs, gzip, harfbuzz, haserl, hiawatha, + hostapd, hplip, icu, ifupdown, imagemagick, imx-gpu-viv, + imx-kobs, imx-lib, input-tools, intel-microcode, iperf3, + ipmitool, iproute2, iprutils, ipsec-tools, ipset, iptables, + iputils, irda-utils, irssi, iucode-tool, jack2, janus-gateway, + jpeg-turbo, jquery-datetimepicker, jquery-keyboard, + jquery-sparkline, jquery-ui, jquery-ui-themes, + jquery-validation, json-c, kbd, kernel-module-imx-gpu-viv, + keyutils, kmod, knock, kodi, lcdproc, lcms2, leafnode2, + leafpad, libass, libatomic_ops, libbroadvoice, libbsd, + libcap-ng, libcdaudio, libcue, libcurl, libdrm, libecore, + libedbus, libedit, libedje, libeet, libefreet, libeina, + libeio, libelementary, libembryo, libepoxy, libethumb, libev, + libevas, libevas-generic-loaders, libevdev, libevent, libffi, + libfm, libfribidi, libfslcodec, libfslparser, libfslvpuwrap, + libftdi, libfuse, libgail, libglew, libglib2, libgtk2, + libgtk3, libgudev, libhttpparser, libidn, libinput, libiscsi, + libjpeg, liblinear, libmbim, libmicrohttpd, libndp, libnspr, + libnss, liboauth, liboping, libpciaccess, libplist, libpng, + libraw, libraw1394, librsvg, libseccomp, libsecret, + libserialport, libsigc, libsigrok, libsigrokdecode, + libsndfile, libsoc, libsodium, libsoup, libssh2, libsvg, + libsvg-cairo, libtasn1, libtirpc, libtorrent, libungif, + libunwind, libupnpp, liburcu, libuv, libv4l, libva, + libva-intel-driver, libvips, libvncserver, libxml2, libxmlpp, + lightning, lighttpd, linknx, linux-firmware, linux-fusion, + linux-headers, liquid-dsp, lirc-tools, live555, lm-sensors, + lockdev, lshw, ltp-testsuite, ltrace, lttng-babeltrace, + lttng-libust, lttng-modules, lttng-tools, lua, luabitop, + luarocks, luv, lvm2, lxc, makedevs, mc, memcached, memtest86, + mesa3d, mesa3d-demos, mesa3d-headers, micropython, + micropython-lib, minicom, minidlna, mjpg-streamer, mke2img, + moarvm, modem-manager, mongoose, mongrel2, monkey, mono, + monolite, mosh, mosquitto, mpd, mplayer, msgpack, mtdev2tuio, + musepack, musl, mysql, nano, nasm, nbd, neard, netatalk, + netsnmp, nettle, net-tools, network-manager, nfs-utils, nginx, + nmap, nodejs, ntfs-3g, ntp, numactl, nut, nvidia-driver, + odhcp6c, ofono, ola, olsr, omniorb, opencv, opencv3, openipmi, + openldap, openntpd, openobex, openocd, openpgm, + open-plc-utils, openpowerlink, openssh, openssl, openswan, + openvpn, opkg, oprofile, opus, opusfile, p11-kit, package, + pango, pax-utils, pciutils, pcmanfm, perl, perl-db-file, + perl-io-socket-ssl, perl-libwww-perl, perl-net-dns, perl-uri, + perl-xml-libxml, php, php-ssh2, picocom, pinentry, pixman, + polarssl, popt, portaudio, pppd, procps-ng, proftpd, protobuf, + psmisc, ptpd2, pulseaudio, pulseview, pv, python, python3, + python-alsaaudio, python-can, python-cffi, python-cherrypy, + python-httplib2, python-jinja2, python-lxml, python-m2crypto, + python-mako, python-msgpack, python-psutil, python-pyasn, + python-pycparser, python-pydal, python-pyftpdlib, + python-pyroute2, python-pyxml, python-pyzmq, python-requests, + python-serial, python-setuptools, python-six, python-spidev, + python-tornado, python-twisted, python-web2py, python-webpy, + python-werkzeug, python-zope-interface, qemu, qhull, qpdf, qt, + qt5, qt5base, qt5connectivity, qt5declarative, qt5enginio, + qt5graphicaleffects, qt5imageformats, qt5multimedia, + qt5quick1, qt5quickcontrols, qt5script, qt5sensors, + qt5serialport, qt5svg, qt5webchannel, qt5webkit, + qt5webkit-examples, qt5websockets, qt5x11extras, + qt5xmlpatterns, qt-webkit-kiosk, racehound, radvd, read-edid, + readline, redis, rpcbind, rpi-firmware, rpi-userland, rrdtool, + rsync, rsyslog, rtai, rtorrent, rt-tests, rubix, ruby, samba4, + sconeserver, setools, shairport-sync, sigrok-cli, skeleton, + smack, snowball-init, socat, sp-oops-extract, sqlite, + squashfs, squeezelite, squid, sredird, sshfs, + start-stop-daemon, strace, strongswan, stunnel, subversion, + sunxi-tools, swig, sysdig, syslog-ng, sysstat, systemd, + sysvinit, taglib, tcl, tcpreplay, thrift, ti-gfx, tinyalsa, + tor, torsmo, trace-cmd, transmission, tremor, triggerhappy, + trinity, tvheadend, tzdata, uboot-tools, uclibc, udisks, + udpcast, unionfs, upmpdcli, usb_modeswitch, + usb_modeswitch_data, ustr, util-linux, vala, valgrind, + vboot-utils, vde2, vlc, vnstat, webkit, webkitgtk24, weston, + wget, whetstone, whois, wine, wipe, wireless-regdb, wireshark, + wpa_supplicant, w_scan, x11r7, xapp_xbacklight, xapp_xcompmgr, + xapp_xinput, xapp_xkbcomp, xdriver_xf86-input-evdev, + xdriver_xf86-input-libinput, xdriver_xf86-input-synaptics, + xdriver_xf86-video-ati, xdriver_xf86-video-fbturbo, + xdriver_xf86-video-imx-viv, xdriver_xf86-video-intel, + xfont_encodings, xfont_font-adobe-100dpi, + xfont_font-adobe-75dpi, xfont_font-adobe-utopia-100dpi, + xfont_font-adobe-utopia-75dpi, xfont_font-adobe-utopia-type1, + xfont_font-alias, xfont_font-arabic-misc, + xfont_font-bh-100dpi, xfont_font-bh-75dpi, + xfont_font-bh-lucidatypewriter-100dpi, + xfont_font-bh-lucidatypewriter-75dpi, xfont_font-bh-ttf, + xfont_font-bh-type1, xfont_font-bitstream-100dpi, + xfont_font-bitstream-75dpi, xfont_font-bitstream-type1, + xfont_font-cronyx-cyrillic, xfont_font-cursor-misc, + xfont_font-daewoo-misc, xfont_font-dec-misc, + xfont_font-ibm-type1, xfont_font-isas-misc, + xfont_font-jis-misc, xfont_font-micro-misc, + xfont_font-misc-cyrillic, xfont_font-misc-ethiopic, + xfont_font-misc-meltho, xfont_font-misc-misc, + xfont_font-mutt-misc, xfont_font-schumacher-misc, + xfont_font-screen-cyrillic, xfont_font-sony-misc, + xfont_font-sun-misc, xfont_font-winitzki-cyrillic, + xfont_font-xfree86-type1, xfsprogs, xkeyboard-config, xl2tp, + xlib_libfontenc, xlib_libXi, xmlstarlet, xscreensaver, + xserver_xorg-server, xtables-addons, xvkbd, xz, yad, yasm, + ympd, zeromq, zic, znc, zsh, + + New packages: acsccid, assimp, atkmm, autofs, bcm2835, + cairomm, cantarell, chocolate-doom, comix-cursors, cxxtest, + edid-decode, emlog, gcr, gtkmm3, hidapi, jquery-sidebar, + kernel-module-imx-gpu-viv, libasplib, libcroco, libdvbpsi, + libfreeglut, libgdiplus, libglfw, libhdhomerun, libnet, + libsoil, lldpd, luvi, mbedtls, minizip, miraclecast, mongodb, + mraa, netbsd-queue, netsniff-ng, nss-pam-ldapd, + obsidian-cursors, openal, openbox, pangomm, + python-backports-abc, python-beautifulsoup4, python-cbor, + python-click, python-cssselect, python-ecdsa, python-html5lib, + python-idna, python-ipaddress, python-mistune, python-netaddr, + python-paho-mqtt, python-paramiko, python-pyparted, + python-pysmb, python-pyudev, python-singledispatch, + python-smbus-cffi, python-urllib3, qt53d, rabbitmq-c, rfkill, + sbc, spi-tools, tpm-tools, trousers, ubus, unrar, unscd, + unzip, v4l2grab, xdriver_xf86-video-nouveau, xdotool, zbar + + Removed packages: libungif, python-pyxml, + + Issues resolved (http://bugs.uclibc.org): + + #7886: gettext: link failure with locally-installed libxml2 + #7892: systemd-journald is broken + #8066: nodejs crashes when built with gcc 4.9 + #8296: nodejs 0.12.7 - npm crashes (seg core dump) + #8501: gunzip fails to uncompress files + #8541: fail to build host-fakeroot-1.20.2 + #8546: build instructions for raspberry pi don't work + #8571: strace for ARC compile error + #8581: pciutils.mk PCIUTILS_MAKE_OPTS typo + #8616: Fail to build for raspberrypi_defconfig with big endian + #8621: sqlite package, properly enable readline + +2015.11, Released November 30th, 2015 + + Minor fixes. + + Merged/seperate /usr handling is now also performed for + staging so cross-gdb / gdbserver can find the libraries. + + Updated/fixed packages: autossh, conntrack-tools, dcron, + espeak, gcc, glmark2, gpsd, gstreamer1, libglib2, libsigsegv, + libsoc, libv4l, minidlna, mongrel2, opencv, polarssl, + rpi-userland, rubix, skeleton, tovid, uemacs, valgrind, yad, + zmqpp + + Issues resolved (http://bugs.uclibc.org): + + #8441: Invalid directory for X11 fonts in target (RPi2) + #8491: libglib2 2.46.1 not Building for armv5 on 2015.11-rc3 + +2015.11-rc3, Released November 26th, 2015 + + Fixes all over the tree. + + We have a new modern website! + + Updated/fixed packages: apitrace, audiofile, autossh, bullet, + c-ares, collectd, conntrack-tools, cryptodev-linux, dropbear, + fastd, gmp, gpsd, gst-plugins-bad, gst-plugins-base, + gst-plugins-good, gst-plugins-ugly, gstreamer, gstreamer1, + guile, iodine, iproute2, jimtcl, kompexsqlite, libethumb, + libfreeimage, libgsasl, libgtk3, libxml2, localedef, + lttng-tools, macchanger, mongrel2, mpd, openntpd, openssl, + oprofile, pcre, qt5base, quagga, rpi-userland, sconeserver, + sdl, spidev_test, sqlite, strongswan, ustr, xapp_sessreg, + yajl, zmqpp + + Issues resolved (http://bugs.uclibc.org): + + #6872: gpsd: disabled on microblaze + #8321: invalid opcode error with minidlna and ffmpeg + #8336: Default systemd configuration fails to boot correctly in 2015-08 + #8446: rpi-userland failed to build with glibc 2.22 + +2015.11-rc2, Released November 19th, 2015 + + Fixes all over the tree. + + LD_LIBRARY_PATH is no longer used to ensure host binaries find + their libraries, fixing issues on recent Fedora. + + Toolchain fixes for powerpc e5500 / e6500. Fix for an issue + with ${TARGET}-cc after the move to use a toolchain wrapper + for the internal toolchain. + + Appy-patches.sh now correctly applies all files listed in + series files. + + Fixes for merged /usr handling when a custom skeleton is used. + + Updated/fixed packages: axfsutils, boost, busybox, dhcp, + directfb, dropbear, ebtables, fastd, ffmpeg, gauche, gcc, + gettext, gst1-plugins-bad, hostapd, ibrdtnd, libcurl, + libecore, libgudev, libnss, libpng, libserial, libssh2, + libuecc, libxml2, linux-headers, liquid-dsp, ltris, + lua-periphery, minidlna, mongrel2, mpd, mpg123, mplayer, + mysql, opencv, opencv3, package, perl-file-util, php-ssh2, + polarssl, pulseaudio, python-protobuf, qemu, qt5base, ranger, + ruby, skeleton, slang, squeezelite, strongswan, tovid, uclibc, + ushare, wine, wpa_supplicant, x265, + xdriver_xf86-video-siliconmotion, zxing-cpp + + Issues resolved (http://bugs.uclibc.org): + + #4790: Running udhcpc on a system with NFS root kills NFS + #8456: Building host-pkgconf on Fedora 23 fails due to.. + +2015.11-rc1, Released November, 7th 2015 + + Fixes all over the tree and new features. + + Architectures: + + - Support for sparc64 added (internal toolchain with glibc + only). + + - Support for mips32r6 and mips64r6 added. + + - Support for Intel Quark X1000 CPU. + + - Switch to EABIhf by default on ARM when a VFP is available. + + Toolchains: + + - glibc 2.22, gdb 7.10, use gdb 7.9 by default, musl 1.1.12, + uclibc-ng 1.0.8, host-gdb enabled on AArch64. + + - The toolchain wrapper which was used only for external + toolchains is now also used for Buildroot internal + toolchains. This allowed to fix the ccache support, prepare + the way for top-level parallel build support and remove gcc + patches used to detect header/library path poisoning. + + - Remove Analog Devices Blackfin toolchain 2012R2. + + - Fix several Xtensa build failures by switching from + text-section-literals to auto-litpools. + + - Enable MIPS64 support in uClibc-ng, use uClibc on ARC + rather than a specific fork. + + - Linaro toolchains for ARM, ARMeb and AArch64 updated to + 2015.08. 2014.09 version is kept since 2015.08 only runs on + x86_64 hosts. + + Bootloaders: + + - Fix ARM64 support in U-Boot. + + Defconfigs: + + - Added: ARC HS38 VDK virtual boards, Avnet Microzed, Boundary + Devices Nitrogen SoloX, Freescale i.MX6 SoloX Sabre SD, + OLinuxino A20 Lime2, Qemu Sparc64, Qemu SuperH 4 big endian, + Synopsys AArch64 VDK virtual platform. + + - Updated: calao_qil_a9260, calao_usb_a9g20_lpw, ci20, + cubieboad, freescale_imx6_*, imx53loco, imx6_vab820, + mpc8315erdb, qmx6, p1010rdb, qemu, raspberrypi, + raspberrypi2, riotboard, snps_axs10*, wandboard. + + - Removed: at91rm9200df, at91sam9260dfc, at91sam9263ek, + calao_snowball_defconfig, gnublin, integrator926_defconfig. + + Infrastructure: + + - Support for fetching from Mercurial tags fixed. + + - Introduce LINUX_NEEDS_MODULES, which allows to enforce + module support to be enabled in the kernel when a package + builds out-of-tree kernel modules (through the + pkg-kernel-module infrastructure or on its own). + + - Improve the perl package infrastructure to automatically add + the dependency to the perl interpreter to target perl module + packages. + + - Remove trailing slashes in _SITE and addition of a + check to ensure such trailing slashes are no longer added. + + - Extend the legal infrastructure to allow packages to declare + their actual source code. This is useful for packages for + which _SOURCE points to pre-built binaries (as is the + case for external toolchains). The new _ACTUAL_SOURCE + variable allows to point to the source code in such cases. + + - Improved ccache support, thanks to the usage of a toolchain + wrapper for internal toolchain. Now a single cache directory + can be shared between different Buildroot builds. + + - Addition of a 'graph-size' make targets, which generates a + PDF graph of per-package size of the root filesystem. + + - Addition of _EXCLUDES so that packages can request + certain parts of the source code tarball to not be + extracted. This feature is currently used by gcc and + toolchain-external. + + - Packages can now use the _PKGDIR variable, provided by + the package infrastructure, to reference their package + directory, instead of explicitly using package//. + + Filesystems: + + - Add high lz4 compression to squashfs. + + - Simplification of shell profile files in the default + skeleton. + + - Remove ftp user and /home/ftp from the skeleton, and let ftp + server packages create these when needed. + + - Add support for /bin, /sbin and /lib to be symlinks to their + corresponding directories in /usr. This is enforced for + systemd configurations, and optional for other + configurations. + + - Support for AXFS filesystem image generation added. + + - New options to add extra space/inodes to ext2/3/4 images. + + Updated/fixed packages: + + adwaita-icon-theme, apache, apitrace, atk, audit, avahi, + barebox, bash, batctl, bind, binutils, bluez_utils, boost, + bridge-utils, cairo, ccache, chrony, clapack, cloog, cmake, + collectd, connman, conntrack-tools, coreutils, cpio, + cryptsetup, dbus, dbus-cpp, devmem2, dhcp, dhcpcd, dhcpdump, + dhrystone, dillo, directfb, directfb-examples, dmraid, + dos2unix, dovecot, dovecot-pigeonhole, drbd-utils, dropbear, + dropwatch, dtc, e2fsprogs, ebtables, efl, eigen, ejabberd, + elf2flt, elfutils, erlang, ethtool, eudev, evemu, exfat, + exfat-utils, expat, faifa, fbterm, fdk-aac, feh, ffmpeg, file, + flashrom, fping, freerdp, freescale-imx, freetype, gdk-pixbuf, + genimage, gettext, git, glib-networking, glmark2, gnupg2, + gnuradio, gnutls, gpsd, grep, grub2, gst1-imx, gst1-libav, + gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, + gst1-plugins-ugly, gst1-validate, gst-fsl-plugins, + gst-plugins-bad, gstreamer1, guile, gvfs, harfbuzz, haveged, + hostapd, icu, imagemagick, impiutil, imx-gpu-viv, imx-vpu, + inadyn, intltool, iostat, iperf3, ipmiutil, iproute2, + iptables, iw, jpeg-turbo, jq, jsoncpp, kexec-lite, kmod, kodi, + kodi-audioencoder-flac, kodi-pvr-argustv, kodi-pvr-filmon, + kodi-pvr-hts, kodi-pvr-mythtv, kodi-pvr-pctv, + kodi-pvr-stalker, kodi-pvr-vbox, + kodi-visualisation-waveforhue, less, lftp, libbluray, + libcgroup, libconfuse, libcurl, libdcadec, libdrm, libevdev, + libffi, libfribidi, libfslcodec, libfslparser, libfslvpuwrap, + libgcrypt, libglew, libglib2, libgtk3, libidn, liblinear, + liblockfile, libmicrohttpd, libnetfilter_conntrack, libnfs, + libnftnl, libnl, libnspr, libnss, libpcap, libpfm4, libpng, + libselinux, libserial, libsoup, libsoxr, libstrophe, libtasn1, + libtirpc, libtorrent, libupnpp, liburcu, libusb-compat, libuv, + libv4l, libva, libva-intel-driver, libxcb, lighttpd, links, + linux, linux-firmware, linux-fusion, linux-headers, + lirc-tools, localedef, lpeg, lsof, ltp-testsuite, + lttng-libust, lttng-tools, lua-periphery, luaposix, lvm2, lxc, + lz4, mdadm, mesa3d, mesa3d-headers, minicom, minidlna, moarvm, + modem-manager, mosquitto, mpd, mpdecimal, mpg123, mplayer, + mrouted, msmtp, mtd, mutt, nettle, network-manager, nfs-utils, + nftables, nginx, nodejs, noip, ntp, ofono, opencv3, openpgm, + openssl, openswan, openvpn, pango, parted, perl, perl-cross, + perl-crypt-openssl-random, perl-http-message, + perl-io-socket-ssl, perl-module-build, perl-mojolicious, + perl-netaddr-ip, perl-net-dns, perl-net-http, perl-net-ssleay, + perl-uri, perl-xml-libxml, php, picocom, pixman, pkgconf, + poco, polarssl, portaudio, portmap, postgresql, proftpd, + protobuf, protobuf-c, pulseaudio, python-configshell-fb, + python-networkmanager, python-numpy, python-pyparsing, + python-pypcap, python-rtslib-fb, python-spidev, python-urwid, + python-web2py, qemu, qt5base, redis, rngtools, rng-tools, + rpi-firmware, rpi-userland, rtmpdump, rtorrent, ruby, samba, + samba4, sane-backends, sconeserver, sdl, sed, setools, + shairport-sync, shared-mime-info, sland, smartmontools, + softether, spice-protocol, sqlcipher, sqlite, squid, + strongswan, stunnel, subversion, sudo, sunxi-tools, + supervisor, systemd, tar, targetcli-fb, tcpdump, tiff, tor, + tvheadend, tzdata, uboot-tools, udisks, unionfs, upmpdcli, + util-linux, vala, valgrind, vim, vlc, vorbis-tools, vsftpd, + vtun, wavpack, webkitgtk24, weston, whois, wireless-regdb, + wireshark, wpa_supplicant, xdriver_xf86-input-vmmouse, + xdriver_xf86-video-imx-viv, xdriver_xf86-video-intel, + xdriver_xf86-video-sis, xlib_libXi, xorg-server, + xtables-addons, xterm, xz, zic, znc, zsh + + New packages: + + axfsutils, bitstream, check, dvblast, eventlog, fastd, gauche, + gmock, graphite2, gssdp, gupnp, gupnp-av, ibrcommon, ibrdtn, + ibrdtnd, ibrdtn-tools, imx-kobs, iqvlinux, irssi, + kompexsqlite, libbroadvoice, libcddb, libcodec2, libcrossguid, + libg7221, libhttpparser, libilbc, libldns, libmng, + libopenh264, libpam-radius-auth, libpam-tacplus, libsilk, + libsoundtouch, libssh, libuecc, libyuv, liquid-dsp, luv, + micropython, micropython-libs, python-pyratemp, + python-pyroute2, python-ranger, rapidxml, scrypt, sdl2, + sp-oops-extract, squeezelite, stress-ng, swupdate, syslog-ng, + x265, xdriver_xf86-video-fbturbo, xxhash, yad, zxing-cpp + + Removed packages: + + blackbox (was deprecated), divine (merged in directfb), + kobs-ng (replaced by imx-kobs), mediactl (merged in libv4l), + sawman (merged in directfb), schifra (marked broken since a + long time), texinfo (host variant only, no longer used), zxing + (replaced by zxing-cpp), + + Issues resolved (http://bugs.uclibc.org): + + #4099: cut utility from GNU coreutils works incorrect + #7772: libxml-parser-perl build failure: missing dependency + ExtUtils/MakeMaker + #7931: Default configuration for Cubieboard v1 is outdated + #8116: 2015.05-rc2 raspberrypi2_defconfig network interface + not coming up + #8246: X.org DRI2 build issue + #8256: pointing to /usr/bin/objcopy old version (x86) instead + of the generated one + #8266: mplayer build issue + #8281: pyrexc fails to run when path is too long + #8316: lttng-tools and lttng-babeltrace executables contain + bad RPATH pointing to host machine + #8331: kexec wants shutdown in /sbin, but systemd installs it + in /usr/sbin + #8361: Buildroot 2015.08.1 skeleton inittab overwritten by + busybox's version + #8366: libevent does not build + #8386: build failed with external toolchain + #8391: Node.js 0.12.7 fails to build on raspberry_pi defconfig + #8396: CCACHE initialization + #8401: gpsd 3.15 NMEA support + #8416: cups depends on BR2_DEPRECATED_SINCE_2015_05 + #8421: util-linux installs systemd files in output/target/home/ + +2015.08, Released August 31st, 2015 + + Minor fixes. + + OpenCV 3.x package renamed to opencv3. OpenCV 2.4.x + reintroduced as opencv. + + Updated/fixed packages: bootutils, canfestival, cppcms, + curlftpfs, dhcpdump, dropbear, erlang-p1-tls, exfat, gnuradio, + ipkg, libgudev, libmbim, libwebsock, linux-pam, lm-sensors, + ltrace, midori, network-manager, openssh, perl-file-listing, + perl-http-cookies, perl-http-daemon, perl-http-negotiate, + perl-www-robotrules, python-can, qt5base, qt5multimedia, + setools, sysvinit, tinyalsa, tn5250, tvheadend, uboot, vlc, + x264, xserver_xorg-server, zyre + +2015.08-rc2, Released August, 24th 2015 + + Fixes all over the tree. + + Toolchain: fix gcc build on NIOS-II. + + Infrastructure: add _POST_GEN_HOOKS mechanism to fix + hybrid ISO image generation. + + Architectures: add arm1136j-s variant. + + Updated/fixed packages: apitrace, audit, bcusdk, bdwgc, + beecrypt, boost, bwm-ng, cdrkit, c-icap, cifs-utils, clapack, + c-periphery, cpio, cramfs, czmq, dawgdic, dnsmasq, dosfstools, + dropbear, elfutils, empty, eudev, fan-ctrl, filemq, gnutls, + guile, haveged, imlib2, libcec, libepoxy, libev, libgpgme, + libiio, libnetfilter_queue, libnfnetlink, libpfm4, libpthsem, + librtas, libselinux, libsigsegv, libsodium, libv4l, lightning, + linux, lirc-tools, lrzsz, mono, mosh, mpd, msmtp, nbd, + netatalk, nodejs, ola, opencv, oprofile, php, poco, + postgresql, powertop, protobuf, protobuf-c, qt5base, + qt5quickcontrols, rapidjson, rng-tools, squid, sysdig, + sysstat, tftpd, tinc, tz, util-linux, webkitgtk24, weston, + wireshark, wvstreams, xdriver_xf86-input-synaptics, zyre. + + Issues resolved (http://bugs.uclibc.org): + + #8276: package/dropbear: symlink resolution incorrect + #8286: Error with buildroot + #8301: ldconfig parameter in Makefile + +2015.08-rc1, Released August, 5th 2015 + + Fixes all over the tree and new features. + + Architectures: + + - Refactor how the availability of an MMU is described. + - Minimal support for Cortex-M3 + - Minimal support for AArch64 big-endian + + Toolchains: + + - Add CodeSourcery MIPS 2015.05, remove MIPS 2013.11 + - Use uClibc-ng as the default uClibc version, instead of the + official uClibc, which hasn't done any release since 3+ + years + - eglibc is now marked as deprecated + - GCC: gcc 4.9.x is now the default and was updated to 4.9.3, + support for gcc 5.x added. + - Binutils: use Binutils 2.24 as the default, 2.25.x series + bumped to 2.25.1, remove old Binutils 2.22. + - Update ARC toolchain components to 2015.06 + - Add support for Fortran when building gcc + + Bootloaders: + + - Support for using the kconfig configuration system in + U-Boot + + New Defconfigs: + + - VIA VAB-820/AMOS-820 + - OLimex OLinuxino A20 Lime + - Many new defconfigs for Atmel evaluation boards: + at91sam9rlek, at91sam9x5ek, sama5d3xek, sama5d4ek, sama5d4 + Xplained Ultra, sama5d3 Xplained. + - ACME Systems Aria G25 + - WarPboard + - Altera Cyclone 5 Development Board + - Xilinx zc706 + - ARC AXS101 and AXS103 Software Development Platforms + - Significant updates to Raspberry Pi / Raspberry Pi 2 + + Infrastructure: + + - Buildroot takes better care now of generating predictable + permissions in the target filesystem. However, existing + permissions on a custom skeleton or rootfs overlay will no + longer be preserved. Therefore, it is necessary to add a + permission table (BR2_ROOTFS_DEVICE_TABLE) to set the + required permissions. + - Add support for kconfig fragments. + - No longer pass --{enable,disable}-debug to autotools + packages depending on the value of + BR2_ENABLE_DEBUG. BR2_ENABLE_DEBUG now only controls + whether we build with -g or not. + - Support for extracting archives in .lzma in the generic + package infrastructure. + - Remove random-seed file from the default skeleton, since + seeding the entropy pool with a known seed makes more harm + than good. + - In the CVS download helper, add support to use a date as + the version. + - Add support for a per-package _STRIP_COMPONENTS + variable, which packages can use to specify how many path + components should be stripped when extracting the tarball. + - Addition of a 'kernel-module' package infrastructure, which + simplifies the packaging of external kernel modules. Many + existing packages are converted to use it. + - Allow bootloaders to be implemented in $(BR2_EXTERNAL) + - Remove /etc/securetty from the default skeleton. + - Migration of sysV initscripts from the default skeleton to + a package called 'initscripts', installed only when Busbox + init or sysvinit are used. + - Migration of the skeleton logic to a proper 'skeleton' + package. + - Addition of a 'linux-tools' infrastructure in the 'linux' + package, to support building user-space tools bundled + within the Linux kernel sources, such as perf and cpupower. + - Usage of backticks instead of make $(shell ...) to execute + shell commands. This allows to delay the evaluation of such + commands when actually needed, and not when expanding the + variables. It is useful to make 'make printvars' less + noisy, and as a preparation to support top-level parallel + build. + - Libtool .la files are not mungled for all package types, + instead of being handled only for packages using the + autotools-package infrastructure. + - Add mechanism to allow packages to express a dependency on + gcc versions. This is needed for packages that use C++11 or + C11 support for example. + + Important package updates: + + - Complete rework of the matchbox packaging + - Lots of fixes in packages for compatibility with musl and + gcc 5. + - Hash files added to a large number of packages. + - Update a significant number of packages to use a new + hosting, after the announcement of Google Code and + Gitorious closing. + - Major packages needed for SELinux support have been merged, + but the support is not complete yet. + - Significant update of OpenCV to version 3.0, and addition + of lots of eatures. + - Significant update of all packages supporting the GPU and + VPU of i.MX ARM processors. + - Addition of systemd support in a significant number of + packages. + - Qt5 updated to 5.5.0 + - Use modular X.org server by default instead of KDrive + + Filesystems: + + - Complete overhaul of the iso9660 support. Now allows to use + directly IS9660 as the root filesystem format and not only + an initrd, and supports Grub 2 and isolinux in addition to + Grub. + + Updated packages: a10disp, agentpp, apache, at91bootstrap3, + audit, barebox, bc, bind, bmon, boost, btrfs-progs, + ca-certificates, can-utils, ccache, cloog, collectd, connman, + coreutils, c-periphery, cryptsetup, dado, dbus, dejavu, + dhcpcd, dnsmasq, dosfstools, dovecot, dovecot-pigeonhole, + e2fsprogs, ejabberd, erlang-p1-cache-tab, erlang-p1-sip, + erlang-p1-stringprep, erlang-p1-stun, erlang-p1-tls, + erlang-p1-utils, erlang-p1-xml, erlang-p1-yaml, ethtool, + eudev, evtest, exim, expect, explorercanvas, feh, ffmpeg, + file, flashrom, freescale-imx, freetype, gawk, gcc, gdb, + gettext, git, glib-networking, gnupg2, gnutls, gpsd, gptfdisk, + gpu-viv-bin-mx6q, gst-fsl-plugins, harfbuzz, hdparm, heimdal, + i2c-tools, imagemagick, imx-vpu, iproute2, ipset, isl, iw, + kodi, kodi-addon-xvdr, kodi-audioencoder-flac, + kodi-audioencoder-lame, kodi-audioencoder-vorbis, + kodi-audioencoder-wav, lftp, libass, libassuan, libcec, + libconfi, libcurl, libdrm, libevdev, libfreefare, libfslcodec, + libfslparser, libfslvpuwrap, libfuse, libglib2, libgpgme, + libgtk2, libgtk3, libical, libidn, libiio, libinput, libiscsi, + libllcp, libmicrohttpd, libnfc, libnss, libpcap, libpciaccess, + libpng, libserialport, libsigrok, libsoc, libtirpc, libubox, + libunistring, libupnp, libuv, libv4l, libva, + libva-intel-driver, libXrandr, lighttpd, linenoise, linux, + linux-firmware, linux-headers, live555, ltrace, lua, + lua-csnappy, lua-ev, luajit, lua-messagepack, luaperiphery, + lvm2, lxc, lzo, mesa3d, mesa3d-headers, midori, mmc-utils, + modem-manager, mono, mosquitto, mpd, mpd-mpc, mpfr, mpg123, + mtd, musl, nano, netperf, network-manager, nfs-utils, nginx, + nodejs, ntp, ola, opencv, openldap, openssh, openssl, + openswan, openvmtools, openvpn, opkg, orbit, orc, pcmanfm, + perl-cross, perl-encode-locale, perl-io-socket-ssl, + perl-mojolicious, perl-net-ssleay, perl-path-tiny, perl-uri, + perl-xml-libxml, php, pinentry, polarssl, postgresql, + pulseview, pure-ftpd, python, python-dpkt, python-lxml, + python-networkmanager, python-pyinotify, python-pypcap, + python-tornado, qextserialport, qt, qt5, rapidjson, redis, + rpcbind, rpi-firmware, rpi-userland, samba4, shairport-sync, + snmpp, sqlite, squid, strongswan, stunnel, sudo, sunxi-boards, + sunxi-mali, sysdig, sysstat, systemd, tcpdump, tiff, tmux, + tor, txheadend, tzdata, uboot, uclibc, ulogd, upmpdcli, + usb_modeswitch, usb_modeswitch_data, vala, vsftpd, wayland, + weston, whois, wireless-regdb, wireshark, x264, xapp_xvinfo, + xdriver_xf86-input-libinput, xdriver_xf86-input-vmmouse, + xdriver_xf86-video-cirrus, xdriver_xf86-video-geode, + xdriver_xf86-video-imx-viv, xdriver_xf86-video-mach64, + xdriver_xf86-video-neomagic, xdriver_xf86-video-r128, + xdriver_xf86-video-savage, xdriver_xf86-video-siliconmotion, + xdriver_xf86-video-vesa, xkeyboard-config, xlib_libfontenc, + xlib_libFS, xlib_libXaw, xlib_libxkbfile, xlib_libXrender, + xlib_libXt, xproto_kbproto, xproto_xproto, xproto_xrandrproto, + xscreensaver, xserver_xorg-server, xtables-addons, yaml-cpp, + zic. + + New packages: angularjs, atf, audit, c-icap, c-icap-modules, + cpio, dawgdic, faketime, fcgiwrap, gflags, glog, initscripts, + jquery-datetimepicker, kodi-audioencoder-modplug, + kodi-audioencoder-nosefar, kodi-audioencoder-sidplay, + kodi-audioencoder-snesapu, kodi-audioencoder-stsound, + kodi-audioencoder-timidity, kodi-audioencoder-vgmstream, + kodi-platform, kodi-pvr-argustv, kodi-pvr-dvblink, + kodi-pvr-dvbviewer, kodi-pvr-filmon, kodi-pvr-hts, + kodi-pvr-iptvsimple, kodi-pvr-mediaportal-tvserver, + kodi-pvr-mythtv, kodi-pvr-nextpvr, kodi-pvr-njoy, + kodi-pvr-pctv, kodi-pvr-stalker, kodi-pvr-vbox, + kodi-pvr-vdr-vnsi, kodi-pvr-vuplus, kodi-pvr-wmc, + kodi-screensaver-asteroids, kodi-screensaver-biogenesis, + kodi-screensaver-crystalmorph, kodi-screensaver-greynetic, + kodi-screensaver-pingpong, kodi-screensaver-pyro, + kodi-screensaver-stars, kodi-visualisation-shadertoy, + kodi-visualisation-spectrum, kodi-visualisation-waveforhue, + kodi-visualisation-waveform, kvmtool, kyua, libfm, + libfm-extra, libplatform, librtas, libsodium, libsquish, + libucl, libump, linux-backports, lua-iconv, lutok, menu-cache, + moarvm, monkey, mono-gtksharp3, mosh, openipmi, python-can, + python-pycli, python-pydal, python-pyyaml, python-web2py, + qpid-proton, qt5webchannel, quazip, racehound, rtl8188eu, + rtl8821au, sepolgen, setools, skeleton, stm32flash, + webkitgtk24, xdriver_xf86-video-qxl, zynq-boot-bin. + + Deprecated packages: webkitgtk, libgail, eglibc support in + glibc package. + + Issues resolved (http://bugs.uclibc.org): + + #4291: Segmentation fault with all binaries that use threads + when compiled with gcc 4.6 + #6944: building toolchain for sh4 fails + #7592: Buildroot GCC: -lto requires plugin support in ranlib + #7628: Python SSL does not get built for Raspberry Pi + #7682: Missing dependencies for NFS + #7742: dhcp lacks important features when BR2_ENABLE_DEBUG + #7754: make: *** [/..../buildroot-2014.11/output/build/host-gcc-initial-4.8.3/.stamp_built] Error 2 + #7946: libglib2-2.42.2 fails to build for sparc-buildroot-linux-gnu + #7956: glibc 2.20 and 2.21 fail to build for sh64-buildroot-linux-gnu + #7971: python-flask, python-werkzeug. No module named zlib + #7981: Target file system skeleton permissions hazard + #8006: rpcdebug in nfs-utils built for the host + #8036: alsa-lib headers problem that prevents to compile alsa + dependent projects + #8081: systemd init system: /tmp is not mode 1777 + #8121: php opcache extension doesn't get installed + #8151: x86-64 make fails with ncurses 5.9 + #8156: pkg-kconfig infra broken for *-update-{config, defconfig} + #8161: default /bin/sh symlink to busybox is full path and not relative + #8171: glamor missing + #8191: Request update support for the cubieboard series + #8201: Important security upgrades for node.js + +2015.05, Released May 31st, 2015 + + Minor fixes. + + Updated/fixed packages: conntrack-tools, directfb, fio, flite, + gptfdisk, ipmiutil, iproute2, janus-gateway, keyutils, knock, + libelementary, libgcrypt, libgsasl, libjpeg, libstrophe, + lttng-libust, nbd, ncurses, nmap, php, postgresql, python, + python3, sconeserver, udpcast, upmpdcli + +2015.05-rc3, Released May 22nd, 2015 + + Several fixes, mainly related to static linking. + + Updated/fixed packages: acl, alsa-utils, apr, armadillo, attr, + autoconf-archive, binutils, boost, czmq, dhcpcd, duma, + enlightenment, exim, fbterm, freerdp, gcc, gdk-pixbuf, + google-breakpad, gpsd, heirloom-mailx, hwloc, ipmiutil, + iproute2, jack2, jasper, kmod, lcdproc, leafnode2, libcap-ng, + libftdi1, libmatroska, libmemcached, libmodbus, libnftnl, + libsigrok, libupnpp, libuv, libxml-parser-perl, linux, + linux-headers, lirc-tools, lua-periphery, lxc, mongoose, mono, + mpg123, mosquitto, neardal, newt, ntp, ola, openldap, opencv, + php, postgresql, protobuf, pulseaudio, python-pyqt, qemu, qt, + qt5base, rpi-userland, rsyslog, snmppp, sqlite, tiff, + tinyxml2, uboot-tools, unionfs, ux5000-firmware, usbredir, + ushare, vpnc, vsftpd, wavpack, wireless_tools, wsapi, + wvstreams, xmlstarlet, zeromq, zmqpp + + New packages: c-periphery + + Issues resolved (http://bugs.uclibc.org): + + #8106: mkfs.jffs2 uses the --pagesize parameter incorrectly + #8111: 2015.05.rc2 LIBFOO_CONF_OPTS not working + #8126: exim lacks plaintext and cram-md5 auth + +2015.05-rc2, Released May 11th, 2015 + + Minor fixes. + + Toolchain: PR56780 backport to GCC 4.8.4 to fix GDB linking + issues. Context functions enabled for uClibc snapshot / + uClibc-NG. + + Architectures: Endian handling symbol for Xtensa, binutils + fixes. + + Infrastructure: Fix for kernel module stripping when + localversion contains spaces. + + Updated/fixed packages: at, autoconf-archive, binutils, + cc-tool, cryptsetup, dstat, expedite, freerdp, giflib, + gnuchess, guile, ipmiutil, iproute2, mono, monolite, neard, + ola, poppler, postgresql, python-qt, qt, sqlite, valgrind, + xlib_libXfont + + Issues resolved (http://bugs.uclibc.org): + + #8086: Cannot select systemd as init with Linaro 2014.09... + +2015.05-rc1, Released May 4th, 2015 + + Fixes all over the tree and new features. + + Architectures: Removed AVR32 support, deprecate SH64, added + support for steamroller, corei7-avx and core-avx2 x86 + variants. + + Toolchains: IPv6 and Largefile support now enforced for + uClibc. Corresponding Kconfig symbols removed. + + External CodeSourcery AMD64 2014.05, MUSL-cross 1.1.6 added, + CS sh2, Xilinx microblaze v2/14.3 removed. Distro-class + external toolchains are now detected and blacklisted. + + Internal toolchain support for Nios2 added, Blackfin + removed. Aarch64 and sh musl support. uClibc-ng support added. + + Libatomic is now handled for internal and external + toolchains. Link time optimization (LTO) support. + + New Defconfigs: Freescale i.MX28 EVK, i.MX31 PDK and SABRE + Auto, Raspberry Pi 2, RIoTboard, + + Infrastructure: Hashes for a large number of packages have + been added. Missing hashes now stop the build unless + explicitly disabled. + + Spaces and colons (:) are now supported in package + versions. Dependencies can now be listed for the patch step + (_PATCH_DEPENDENCIES). Kconfig and Linux kernel + extensions infrastructure has been added. + + Makedevs now has a recursive (r) option. + + The variable containing the list of packages to build has been + renamed from TARGETS to PACKAGES. + + Make external-deps / legal-info / source / source-check have + been reimplemented using the package infrastructure, so their + output/behaviour may differ from earlier (some packages were + not included in the past). + + The old insecure DES password encoding is no longer supported. + + U-Boot patch option now support direct references to patch + files and URLs in addition to directories of patches. The + i.MX28 SD format (u-boot.sd) is now supported. + + Updated/fixed packages: agentpp, aircrack-ng, alsa-lib, + alsa-utils, apr-util, apr, atk, autossh, avahi, avrdude, + bcusdk, bdwgc, bind, binutils, bmon, boost, botan, + btrfs-progs, busybox, ca-certificates, cairo, can-utils, + canfestival, ccache, chrony, civetweb, clamav, cmake, + collectd, connman, copas, crda, cryptodev-linux, cryptsetup, + cups, czmq, dbus-cpp, dbus-glib, dbus-python, dbus, dfu-util, + dhcp, dhcpcd, dialog, dillo, dmraid, dnsmasq, dos2unix, + dosfstools, dovecot-pigeonhole, dovecot, dropbear, dropwatch, + dtv-scan-tables, dvdauthor, e2fsprogs, ecryptfs-utils, + libevas, elfutils, enscript, erlang, espeak, eudev, evemu, + exfat-utils, exim, f2fs-tools, feh, ffmpeg, fftw, flickcurl, + fltk, fluxbox, fmlib, fmtools, freeradius-client, freerdp, + gamin, gawk, gcc-final, gcc, gd, gdb, gengetopt, geoip, git, + glib-networking, gnu-efi, gnuchess, gnutls, gpsd, gptfdisk, + gpu-viv-bin-mx6q, gst-plugin-bad, gstreamer, gstreamer1, + gtest, gvfs, harfbuzz, haserl, haveged, hiawatha, + hicolor-icon-theme, hostapd, hplip, httping, i2c-tools, icu, + ifplugd, imagemagick, imlib2, iozone, iproute2, iptables, + iputils, irqbalance, iw, jack2, jhead, jimtcl, json-c, kexec, + kismet, kmod, kodi-audioencoder-flac, + kodi-audioencoder-vorbis, kodi-pvr-addons, kodi, ktap, lcms2, + libass, libatomic_ops, libbluray, libcap, libcgroup, libcurl, + libdrm, libdvbsi, libebml, libecore, libedit, liberation, + libev, libevas, libevdev, libftdi, libgcrypt, libglib2, + libgpgme, libgtk2, libgtk3, libiconv, libidn, libiio, + libinput, libiscsi, libksba, liblinear, libmatroska, + libmicrohttpd, libmodbus, libmpdclient, libnice, libnl, + libnspr, libnss, libpcap, libpciaccess, libphidget, libplayer, + libpthsem, libqmi, librsvg, libseccomp, libsigrok, libsoup, + libsrtp, libssh2, libtasn1, libtool, libunistring, liburcu, + libusb, libuv, libva-intel-driver, libva, libvncserver, + libvorbis, libvpx, libwebsockets, libxml2, libzip, lightning, + lighttpd, linknx, linphone, linux-firmware, linux-headers, + linux-pam, live555, ljsyscall, lmbench, lockdev, logrotate, + lpc3250loader, lpeg, lsof, lttng-libust, lttng-modules, + lttng-tools, lua, luacrypto, luafilesystem, luajit, luaposix, + luarocks, lvm2, lxc, make, + matchbox-{common,desktop,fakekey,keyboard,lib,startup-monitor,vm}, + matchbox, mcelog, memcached, memstat, memtest86, mesa3d, + minidlna, mjpegtools, mjpg-streamer, modem-manager, mongoose, + monit, mono, monolite, mp4v2, mpc, mpd, mpdecimal, mpg123, + mplayer, musl, nano, nbd, ncftp, ncmpc, ncurses, ne10, neard, + neardal, net-tools, netatalk, netsnmp, network-manager, nginx, + nodejs, ntfs-3g, ntp, numactl, odhcp6c, ofono, open2300, + opencv, openldap, openntpd, openocd, openssh, openssl, + openswan, opentyrian, openvmtools, openvpn, oprofile, p11-kit, + pango, patch, patchelf, pciutils, pcre, perf, perl-gdgraph, + perl-io-socket-ssl, perl-json-tiny, perl-module-build, + perl-mojolicious, perl-net-ssleay, perl-path-tiny, + perl-xml-libxml, perl, phidgetwebservice, php-gnupg, php, + pkgconf, polarssl, poppler, popt, postgresql, powerpc-utils, + pppd, prboom, procps-ng, proftpd, psplash, ptpd2, + python-{cheetah,coherence,django,markdown,netifaces,pam,six}, + python-tornado, python-twisted, python-zope-interface, python, + python3, qemu, qt, qt5, qt5base, qt5multimedia, + qt5xmlpatterns, qt5cinex, quagga, qwt, radvd, readline, + rng-tools, rpcbind, rpi-firmware, rpi-userland, rsync, + rsyslog, rtai, rtmpdump, ruby, sam-ba, samba, samba4, + sane-backends, sconeserver, shairport-sync, sigrok-cli, slang, + smcroute, snmppp, socat, socketcand, sofia-sip, sox, + spawn-fcgi, speex, sqlcipher, sqlite, squid, strace, + strongswan, stunnel, sudo, sunxi-boards, swig, sysstat, + systemd, tcpdump, tftpd, thrift, thttpd, ti-gfx, ti-utils, + tiff, tinyalsa, tn5250, transmission, trinity, tslib, + tvheadend, tzdata, uboot-tools, uclibc, ulogd, usb_modeswitch, + usbutils, ustr, util-linux, vala, valgrind, vlc, wayland, + webp, weston, wget, which, whois, wireless-regdb, + wireless_tools, wireshark, wpa_supplicant, wvstreams, + xapp_{bdftopcf,bitmap,fonttosfnt,fslsfonts}, + xapp_{fstobdf,iceauth,mkfontscale,oclock,rgb,sessreg,setxkbmap}, + xapp_{showfont,smproxy,twm,x11perf,xcalc,xclipboard,xcmsdb}, + xapp_{xdbedizzy,xditview,xdpyinfo,xdriinfo,xedit,xev,xeyes}, + xapp_{xf86dga,xfsinfo,xgamma,xgc,xhost,xinit,xinput,xkbcomp}, + xapp_{xkbevd,xkbprint,xlsatoms,xlsfonts,xmag,xman,xmh,xmodmap}, + xapp_xmore, xcb-util-image, xcb-util-keysyms, + xdata_xcursor-themes, + xdriver_xf86-input-{evdev,keyboard,synaptics,void}, + xdriver_xf86-video-{ati,cirrus,geode,mach64,mga,neomagic}, + xdriver_xf86-video-{r128,savage,siliconmotion,sis,tdfx}, + xdriver_xf86-video-{trident,vmware,voodoo}, xenomai, + xfont_font-util, xkeyboard-config, + xlib_lib{ICE,X11,Xdmcp,Xfont,Xpm,XvMC}, + xlib_lib{Xxf86vm,xshmfence,xtrans}, xproto_randrproto, + xproto_xproto, xserver_xorg-server, x11vnc, x264, xerces, + xorriso, xterm, xz, yaml-cpp, zeromq, zic, zmqpp + + New packages: apache, autoconf-archive, batctl, + bitstream-vera, bullet, cc-tool, doxygen, drbd-utils, + dvdrw-tools, gnuradio, gst1-imx, hans, hwloc, ijs, + imx-usb-loader, inconsolata, iodine, iotop, ipmiutil, jsoncpp, + leveldb, libdcadec, libdri2, libfreeimage, libftdi1, + libsidplay2, lirc-tools, lua-periphery, mc, mesa3d-headers, + mosquitto, nvidia-driver, nvidia-tegra23{,-binaries,-codecs}, + openjpeg, opusfile, perl-crypt-openssl-{random,rsa}, + perl-db-file, perl-digest-{hmac,sha1}, + perl-encode-{detect,locale}, perl-file-{listing,util}, + perl-html-{parser,tagset}, perl-http-cookies, + perl-http-{daemon,date,message,negotiate}, perl-io-html, + perl-libwww-perl, perl-lwp-mediatypes, perl-mail-dkim, + perl-mailtools, perl-mime-base64, perl-net-{dns,http}, + perl-netaddr-ip, perl-time-hires, perl-timedate, perl-uri, + perl-www-robotrules, powertop, pulseview, + python-{cherrypy,lxml,mako,pyqt,pyxml,sip,spidev,ws4py}, qpdf, + qt-webkit-kiosk, sl, softether, sysdig, tinyxml2, tor, tovid, + unixodbc, wf111, wine, libepoxy, xapp_xcompmgr, + xapp_xfindproxy, xcb-util-cursor, xcb-util-renderutil, + xdriver_xf86-input-libinput, xdriver_xf86-video-imx{,-viv}, + xproto_xproxymanagementprotocol + + Removed packages: gtk2-theme-hicolor + + Deprecated packages: samba + + Issues resolved (http://bugs.uclibc.org): + + #7478: Multiple chosen python modules are not built due to... + #7508: Use of BR2_EXTERNAL and dependencies to existing packages + #7676: Package procps-ng installs binaries to nonsensical folder + #7724: Startx is not installed in the target + #7760: botan: wrong prefix in botan-1.10.pc + #7826: Building of cdparanoia + #7844: Lua with hard-float on MIPS by buildroot doesn't work + #7874: X.org configure error + #7941: glibc-2.20 fails to build for sparc-buildroot-linux-gnu + #7951: gcc 4.9.2 fails to build for sparc-buildroot-linux-gnu + #7961: Qt5 fails to build for xtensa-buildroot-linux-uclibc + #7976: mkuser script fails with: user already exists with... + #8011: When building only busybox and strace, strace fails... + #8016: collectd fails to build, network.c:171:19: error:... + #8041: error on building libcurl7.42.0 + +2015.02, Released March 1st, 2015 + + Minor fixes. + + Updated/fixed packages: civetweb, ding-libs, + directfb-examples, glibc, gnupg, gnupg2, gpm, + gst-plugins-good, gst1-plugins-good, freetype, libao, libevas, + libevent, libfribidi, libgcrypt, libgtk2, libshout, libsrtp, + libtheora, libupnpp, libxmlrpc, linux, make, opus, pinentry, + rpi-firmware, shared-mime-info, vlc, vorbis-tools, + xcb-util-keysyms + + Removed packages: libgc + +2015.02-rc3, Released February 24th, 2015 + + Minor fixes. + + Cmake and rebar (erlang) infrastructure fixes. + + Updated/fixed packages: bind, btrfs-progs, busybox, e2fsprogs, + evtest, ffmpeg, fltk, gnutls, i2c-tools, imagemagick, libxcb, + make, mjpg-streamer, netsnmp, opentyrian, php, polarssl, + qt5base, samba, samba4, sudo, util-linux, xserver_xorg-server + +2015.02-rc2, Released February 15th, 2015 + + Minor fixes. + + raspberrypi: fix kernel sha1 for DT variant. + + Updated/fixed packages: dbus, dvdauthor, git, libsemanage, + libsepol, libssh2, mplayer, ntp, openvmtools, python3, + qt5base, qt5connectivity, xserver_xorg-server + +2015.02-rc1, Released February 8th, 2015 + + Fixes all over the tree and new features. + + Static/shared library handling reworked. This is now a + tristate (shared only / shared and static / static + only). Default is now shared only to speed up the + build. BR2_PREFER_STATIC_LIB is now called BR2_STATIC_LIBS. + + The toolchain (internal and external) will now warn when an + unsafe library or header path is used (such as /usr/include or + /usr/lib). If BR2_COMPILER_PARANOID_UNSAFE_PATH is enabled + under build options this instead becomes an error. + + A installation path issue with the internal musl toolchain + support has been fixed so it is now possible to reuse it as an + external toolchain. + + Architectures: Freescale E5500 and E6500 PowerPC support + added, deprecated MIPS 1/2/3/4 support removed. + + New defconfigs: Freescale p2020ds, MIPS creator CI20, + Raspberrypi with DT, UDOO Quad. + + 'make _defconfig' now saves the path to the defconfig in + the .config, so a 'make savedefconfig' automatically updates + it. + + Infrastructure for packages using the Erland rebar tool has + been added. + + Hashes for a large number of packages have been added. Hashes + are now checked for both target and host packages. + + The system menu now has an option to automatically configure a + network interface through DHCP at bootup. + + The default filesystem skeleton now uses a separate tmpfs for + /run instead of a symlink to /tmp/ for security reasons / to + protect against conflicts with user generated temporary files. + + BR2_EXTERNAL is now exported to post-build and post-image + scripts. + + New packages: bdwgc, benejson, blktrace, bootstrap, cgic, + ding-libs, dvdauthor, ejabberd, erlang-goldrush, erlang-lager, + erlang-p1-cache-tab, erlang-p1-iconv, erlang-p1-sip, + erlang-p1-stringprep, erlang-p1-stun, erlang-p1-tls, + erlang-p1-utils, erlang-p1-xml, erlang-p1-yaml, + erlang-p1-zlib, exiv2, freeradius-client, gengetopt, glmark2, + gpu-amd-bin-mx51, guile, host-qemu, ifupdown, iperf3, + janus-gateway, kodi, kodi-audioencoder-flac, + kodi-audioencoder-lame, kodi-audioencoder-vorbis, + kodi-audioencoder-wav, libcli, libiio, liblinear, libnice, + libselinux, libsemanage, libserialport, libsigro, + libsigrokdecode, libsrtp, liburiparser, libvips, libwebsock, + libz160, libzip, lightning, mcelog, memtest86, mjpegtools, + mjpg-streamer, mke2img, mpd-mpc, netsurf-buildsystem, odhcp6c, + openldap, python-alsaaudio, python-certifi, python-cheetah, + python-coherence, python-django, python-docopt, python-enum, + python-enum34, python-flask, python-gobject, python-httplib2, + python-ipaddr, python-itsdangerous, python-jinja, + python-markdown, python-markupsafe, python-networkmanager, + python-pam, python-psutil, python-pyftpdlib, python-pyinotify, + python-pysendfile, python-pyxb, python-requests, python-six, + python-twisted, python-webpy, python-werkzeug, + python-zope-interface, qt5cinex, sigrok-cli, sofia-sip, + start-stop-daemon, szip, triggerhappy, ustr, vnstat, xorriso, + xtables-addons + + Removed packages (target): bison, distcc, gob2, m4 + + Issues resolved (http://bugs.uclibc.org): + + #7556: make interactive CLI optional for nftables + #7730: Error while connecting Qt Cretaor to device + #7766: logrotate default gzip path is usually wrong + #7790: Invalid ext4 image generated by Buildroot + +2014.11, Released December 1st, 2014 + + Minor fixes. + + Infrastructure: LD_LIBRARY_PATH handling tweak to ensure + current working directory isn't searched. + + Updated/fixed packages: gd, gdb, libwebsockets, luajit, mono, + parted, shairport-sync, util-linux, xapp_bdftopcf, + xserver_xorg-server + +2014.11-rc3, Released November 28th, 2014 + + Fixes all over the tree. + + System: File permissions of /etc/random-seed made more + restrictive. + + Toolchain: Various fixes related to locale handling, a fix for + building the toolchain wrapper on MIPS. + + Updated/fixed packages: bind, binutils. botan, btrfsprogs, + clamav, czmq, dhcp, dillo, dovecot, erlang, flac, gd, glibc, + gptfdisk, gst1-validate, heirloom-mailx, lame, libksba, + libllcp, libnspr, libpng, libshairplay, libtirpc, linux, + linux-headers, mpdecimal, mpg123, network-manager, nfstables, + nfs-utils, openssl, pcituils, qt, radvd, rtai, sqlcipher, + sstrip, tcpdump, uclibc, uemacs, ushare, wayland, weston, + xl2tp, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #7670: Fails to build mpc-1.0.2 on latest Cygwin + +2014.11-rc2, Released November 21st, 2014 + + Fixes all over the tree. + + Inittab tweaks for shutdown handling (busybox and sysvinit). + + Updated/fixed packages: aircrack-ng, botan, canfestival, + clamav, coreutils, czmq, dbus, dovecot, duma, e2fsprogs, + erlang, gcc, iputils, libcap, libgcrypt, libmemcached, + libssh2, libunwind, libv4l, linux-headers, mesa3d-demos, mutt, + mysql, ndisc6, nodejs, omniorb, perl-cross, php, + python-tornado, python3, qemu, qt5base, qt5webkit, rpm, + rt-tests, ruby, schifra, sdl_sound, shairport-sync, sysvinit, + tstools, tzdata, wireshark, x264 + + Issues resolved (http://bugs.uclibc.org): + + #7646: strftime on datetime not works on python3 + +2014.11-rc1, Released November 12th, 2014 + + Fixes all over the tree and new features. + + Toolchains: Use -mcpu / -march instead of -mtune. Support + additional ARC and sparc variants. Updated Code sourcery + and Linaro external toolchains. + + Defconfigs: Freescale iMX6DL SabreSD, Minnowboard MAX, QEMU + powerpc64 pseries added and a number of updates to the + existing configurations. + + Infrastructure: Buildroot is now less noisy when built with + the silent option (make -s). + A number of package infrastructure variables have been renamed + from *_OPT to *_OPTS for constency. Buildroot will complain if + the old names are used to assist in updating out of tree + packages. + Fixes for host systems where bash isn't located in /bin, and + older systems not supporting mktemp --tmpdir. + Various cleanups of users/groups in the default skeleton. + There is now an option to choose what shell /bin/sh points to. + + Documentation: Various updates to the user manual. The + asciidoc documentation handling has now been extended so it + can be used by (BR2_EXTERNAL) packages. + + Updated/fixed packages: acl, acpid, agentpp, aircrack-ng, + alsa-lib, alsamixergui, alsa-utils, apitrace, apr, apr-util, + argus, arptables, at, atftp, atk, attr, audiofile, aumix, + automake, autossh, avahi, avrdude, axel, bandwidthd, bash, + bcusdk, beecrypt, bind, binutils, blackbox, bluez5_utils, + bluez_utils, bmon, boost, bootutils, bridge-utils, + btrfs-progs, busybox, bwm-ng, bzip2, ca-certificates, cairo, + ccache, ccid, ccrypt, cdrkit, cegui06, celt051, chrony, + cifs-utils, civetweb, cjson, clapack, classpath, cloog, cmake, + collectd, connman, copas, coreutils, coxpcall, cppcms, cppdb, + cppzmq, cramfs, crda, cryptsetup, ctorrent, cups, cvs, cwiid, + czmq, dash, dbus, dbus-cpp, dbus-glib, dbus-python, dejavu, + dhcp, dhcpcd, dhcpdump, dialog, dillo, directfb, distcc, + dmalloc, dmidecode, dmraid, dnsmasq, doc-asciidoc.mk, + dosfstools, dropbear, dropwatch, dstat, dtach, dtc, dvbsnoop, + e2fsprogs, ecryptfs-utils, ed, efl, eigen, elf2flt, elfutils, + enlightenment, enscript, erlang, espeak, ethtool, eudev, + evemu, evtest, exfat, exfat-utils, exim, expat, expect, + explorercanvas, faifa, fakeroot, fan-ctrl, fbdump, + fb-test-app, fetchmail, ffmpeg, file, filemq, findutils, flac, + flann, flickcurl, flite, fltk, fluxbox, fmc, fmlib, + fontconfig, foomatic-filters, freerdp, freescale-imx, + freetype, ftop, fxload, gamin, gcc, gd, gdb, gdk-pixbuf, + genimage, genpart, genromfs, geoip, gettext, giblib, git, + glibc, glib-networking, gmp, gmpc, gnu-efi, gnupg, gnupg2, + gnuplot, gnutls, google-breakpad, gpm, gpsd, gptfdisk, + gpu-viv-bin-mx6q, grantlee, grep, gsl, gst1-libav, + gst1-plugins-{bad,base,good,ugly}, gst-ffmpeg, + gst-fsl-plugins, gst-omx, gst-plugins-{bad,base,good,ugly}, + gst-plugin-x170, gstreamer, gstreamer1, gtest, gtk2-engines, + gutenprint, gvfs, harfbuzz, haserl, haveged, hdparm, heimdal, + heirloom-mailx, hiawatha, hostapd, hplip, htop, httping, + hwdata, i2c-tools, icu, ifplugd, igh-ethercat, imagemagick, + imlib2, imx-lib, imx-vpu, inadyn, inotify-tools, input-tools, + intltool, iperf, iproute2, iprutils, ipsec-tools, ipset, + iptables, iputils, iw, jamvm, jansson, jasper, jimtcl, joe, + jpeg-turbo, jq, jquery-keyboard, jquery-mobile, jquery-ui, + jquery-ui-themes, jquery-validation, jsmin, json-c, + json-javascript, kbd, kexec, kexec-lite, keyutils, kismet, + kmod, knock, ktap, lame, lbase64, lbreakout2, lcdproc, lcms2, + lesstif, lftp, libaio, libao, libarchive, libargtable2, + libass, libassuan, libatasmart, libbluray, libbsd, libcap, + libcap-ng, libcdio, libcec, libcgicc, libcgroup, libcofi, + libconfig, libconfuse, libcurl, libdaemon, libdnet, libdrm, + libdvdnav, libecore, libedbus, libedit, libedje, libeet, + libelementary, libelf, libenca, libethumb, libevas, + libevas-generic-loaders, libevent, libexif, libeXosip2, + libffi, libftdi, libfuse, libgail, libgcrypt, libgeotiff, + libglade, libglib2, libgpgme, libgtk2, libhid, libidn, + libinput, libiscsi, libjson, libksba, liblockfile, + liblog4c-localtime, liblogging, libmad, libmatroska, libmbim, + libmemcached, libmicrohttpd, libmpdclient, libmpeg2, libndp, + libnfc, libnfs, libnftnl, libnl, libnspr, libnss, liboauth, + libogg, liboping, libosip2, libpcap, libpciaccess, libpfm4, + libplayer, libplist, libpng, libpthsem, libqmi, libqrencode, + libraw, libreplaygain, libroxml, librsvg, librtlsdr, + libsamplerate, libseccomp, libsecret, libshairplay, libsoc, + libsoup, libsoxr, libssh2, libstrophe, libsvg, libsvg-cairo, + libtasn1, libtheora, libtirpc, libtorrent, libubox, libuci, + libungif, liburcu, libusb, libuv, libv4l, libva, + libva-intel-driver, libvncserver, libvorbis, libvpx, + libwebsockets, libxcb, libxml2, libxml-parser-perl, libxmlrpc, + libxslt, lighttpd, linenoise, linknx, links, linphone, + linux-firmware, linux-fusion, linux-headers, linux-pam, + linux-zigbee, lite, live555, ljlinenoise, lmbench, lm-sensors, + localedef, lockdev, lockfile-progs, log4cxx, lpty, lrandom, + lrzsz, lshw, lsof, lsqlite3, ltp-testsuite, ltrace, ltris, + lttng-babeltrace, lttng-libust, lttng-modules, lttng-tools, + lua, luabitop, lua-coat, lua-coatpersistent, lua-csnappy, + lua-ev, luajit, luajson, lualogging, lua-messagepack, + lua-msgpack-native, luaposix, luarocks, luasec, luasocket, + luasql-sqlite3, lua-testmore, lunit, lvm2, lxc, lz4, lzlib, + lzma, m4, madplay, make, makedevs, Makefile.in, + matchbox-common, matchbox-desktop, matchbox-fakekey, + matchbox-keyboard, matchbox-lib, matchbox-panel, + matchbox-startup-monitor, matchbox-wm, mcrypt, mdadm, + media-ctl, mediastreamer, memcached, memstat, memtester, + mesa3d, metacity, midori, mii-diag, minidlna, mmc-utils, + modem-manager, mongoose, mongrel2, monit, mpc, mpd, mpdecimal, + mpfr, mpg123, mplayer, mrouted, msmtp, mtd, mtools, mtr, + musepack, musl, mutt, mxml, mysql, nano, nanocom, nbd, ncftp, + ncurses, ndisc6, ne10, neard, neon, netatalk, netperf, + netsnmp, nettle, net-tools, network-manager, newt, nfs-utils, + ngrep, nmap, nodejs, nss-mdns, ntfs-3g, ntp, numactl, nut, + nuttcp, ofono, ola, omap-u-boot-utils, omniorb, + on2-8170-modules, opencore-amr, opencv, openntpd, openobex, + openocd, openpowerlink, openssh, openssl, openswan, + opentyrian, opentyrian-data, openvpn, opkg, oprofile, opus, + opus-tools, orbit, orc, ortp, p11-kit, pango, parted, + pciutils, pcmanfm, pcre, pcsc-lite, perf, perl, perl-gd, + perl-gdgraph, perl-io-socket-ssl, perl-json-tiny, + perl-module-build, perl-mojolicious, perl-net-ssleay, + perl-path-tiny, perl-xml-libxml, perl-xml-parser, php, + php-geoip, php-gnupg, php-imagick, php-memcached, php-ssh2, + php-yaml, php-zmq, picocom, pifmrds, pinentry, pixman, + pkg-autotools.mk, pkg-cmake.mk, pkg-download.mk, + pkg-generic.mk, pkg-kconfig.mk, pkg-luarocks.mk, pkg-perl.mk, + pkg-python.mk, pkg-utils.mk, poco, polarssl, polkit, poppler, + popt, portaudio, portmap, postgresql, powerpc-utils, pppd, + pptp-linux, prboom, procps-ng, proftpd, protobuf, protobuf-c, + psmisc, ptpd2, pulseaudio, pv, pwgen, python, python3, + python-dialog, python-ipy, python-keyring, python-mad, + python-netifaces, python-numpy, python-protobuf, python-pyasn, + python-pyparsing, python-pyro, python-pyusb, python-serial, + python-setuptools, qdecoder, qemu, qextserialport, qjson, qt, + qt5, qt5base, qt5connectivity, qt5declarative, qt5enginio, + qt5graphicaleffects, qt5imageformats, qt5multimedia, + qt5quick1, qt5quickcontrols, qt5script, qt5sensors, + qt5serialport, qt5svg, qt5webkit, qt5webkit-examples, + qt5websockets, qt5x11extras, qt5xmlpatterns, qtuio, quagga, + quota, qwt, radvd, rapidjson, rdesktop, redis, rings, rpcbind, + rpi-firmware, rpi-userland, rpm, rp-pppoe, rrdtool, + rsh-redone, rsync, rsyslog, rtai, rtmpdump, rt-tests, rubix, + ruby, samba, sam-ba, samba4, sane-backends, schifra, + sconeserver, scons, screen, sdl, sdl_gfx, sdl_image, + sdl_mixer, sdl_net, sdl_sound, sdl_ttf, sed, ser2net, + setserial, sg3_utils, shared-mime-info, simicsfs, sispmctl, + slang, slirp, smcroute, smstools3, snmppp, + snowball-hdmiservice, socat, socketcand, sox, spawn-fcgi, + speex, spice, spice-protocol, sqlcipher, sqlite, squashfs, + squid, sredird, startup-notification, strace, stress, + strongswan, stunnel, subversion, sudo, sunxi-boards, + sunxi-cedarx, swig, sylpheed, synergy, sysklogd, sysstat, + systemd, sysvinit, taglib, tar, tcl, tcllib, tcpdump, + tcpreplay, texinfo, tftpd, thrift, thttpd, tiff, ti-utils, + tn5250, torsmo, trace-cmd, transmission, tslib, tstools, + tvheadend, twolame, tz, uboot-tools, uclibc, udisks, ulogd, + upmpdcli, upx, urg, usb_modeswitch, usbmount, usbredir, + usbutils, util-linux, valgrind, vde2, vim, vlc, vo-aacenc, + vorbis-tools, vpnc, vsftpd, vtun, wayland, webkit, webp, + webrtc-audio-processing, weston, wget, whois, wireless-regdb, + wireshark, wpa_supplicant, wvstreams, x11r7, x11vnc, + xapp_xcalc, xapp_xdm, xapp_xdpyinfo, xapp_xf86dga, xapp_xfs, + xapp_xinit, xapp_xkbevd, xapp_xmh, xapp_xrandr, xapp_xsm, + xbmc, xbmc-pvr-addons, xcb-proto, xcursor-transparent-theme, + xdriver_xf86-input-mouse, xdriver_xf86-video-{ast,intel}, + xdriver_xf86-video-vmware, xenomai, xerces, + xfont_font-adobe-{100,75}dpi, + xfont_font-adobe-utopia-{100dpi,75dpi,type1}, + xfont_font-alias, xfont_font-arabic-misc, + xfont_font-bh-100dpi, xfont_font-bh-75dpi, + xfont_font-bh-lucidatypewriter-100dpi, + xfont_font-bh-lucidatypewriter-75dpi, xfont_font-bh-ttf, + xfont_font-bh-type1, xfont_font-bitstream-100dpi, + xfont_font-bitstream-75dpi, xfont_font-bitstream-type1, + xfont_font-cronyx-cyrillic, xfont_font-cursor-misc, + xfont_font-daewoo-misc, xfont_font-dec-misc, + xfont_font-ibm-type1, xfont_font-isas-misc, + xfont_font-jis-misc, xfont_font-micro-misc, + xfont_font-misc-cyrillic, xfont_font-misc-ethiopic, + xfont_font-misc-meltho, xfont_font-misc-misc, + xfont_font-mutt-misc, xfont_font-schumacher-misc, + xfont_font-screen-cyrillic, xfont_font-sony-misc, + xfont_font-sun-misc, xfont_font-winitzki-cyrillic, + xfont_font-xfree86-type1, xfsprogs, xinetd, xkeyboard-config, + xlib_libdmx, xlib_libFS, xlib_libpciaccess, xlib_libSM, + xlib_libX11, xlib_libXaw, xlib_libXext, xlib_libXfont, + xlib_libXi, xlib_libXinerama, xlib_libXrandr, xlib_libXrender, + xlib_libXres, xlib_libXScrnSaver, xlib_libXt, xlib_libXv, + xlib_libXvMC, xlib_libXxf86dga, xlib_libXxf86vm, xmlstarlet, + xproto_xcmiscproto, xproto_xextproto, xscreensaver, + xserver_xorg-server, xterm, xz, zeromq, zlib, zlog, zmqpp, + znc, zsh, zxing + + New packages: adwaita-icon-theme, am335x-pru-package, + bcache-tools, biosdevname, botan, canfestival, clamav, + cppunit, dos2unix, dovecot, dovecot-pigeonhole, getent, glm, + gst1-validate, hicolor-icon-theme, ipmitool, leafnode2, + libdvbcsa, libgtk3, libphidget, libshout, libunistring, + libupnpp, mesa3d-demos, modplugtools, mono, monolite, mp4v2, + netcat-openbsd, nginx, odhcploc, openvmtools, + phidgetwebservice, pps-tools, pure-ftpd, + python-configshell-fb, python-rtslib-fb, python-urwid, qlibc, + qt5location, shairport-sync, spidev_test, targetcli-fb, + tinyalsa, trinity, x264, yaml-cpp, ympd + + Removed packages: libelf + + Issues resolved (http://bugs.uclibc.org): + + #261: New package: wxWidgets + #325: New package: ratpoison + #405: New package: OpenVZ tools + #1309: New package: rdiff-backup + #3427: New package: nginx + #3655: New package: libav + #3991: New Package: open-vm-tools (Vmware Tools) + #6878: dmraid: disabled on ARC + #6950: Full unicode support in ncurses + #7010: jamvm builds and runs fine under mips (be) + #7088: elfutils on Blackfin doesn't build + #7142: ecryptfs needs getent to run + #7280: CMake toolchain file uses the FORCE attribute on CMAKE_CXX_FLAGS + #7346: [2014.08rc3] vim-8ae50e3ef8bf.tar.gz can not be downloaded, ... + #7352: [2014.08-rc3] diffutils-3.3 failed on building + #7358: rpi-userland: linking with bcm_host doesn't give vc_dispmanx_* + #7364: monit builds a static application, even though BR2_PREFER_... + #7370: ngrep - requires --with-pcap-includes fully defined to find... + #7442: rootfs remount does not work as expected with sysvinit + #7448: Having export MACHINE="something" breaks glibc build on IMX6... + #7568: musl buildroot-toolchain does not put libgcc_s.so.1 into place + #7574: quota-4.01 fails to build statically + +2014.08, Released September 1st, 2014 + + Minor manual fixes/additions. + + Updated/fixed packages: btrfs-progs, cmake, cppcms, exim, + lftp, libdaemon, libev, libgpgme, libiqrf, libnl, libplist, + libroxml, libwebsockets, mesa3d, mpd, mtdev2tuio, musepack, + perl-gd, php-geoip, php-gnupg, php-imagick, php-memcached, + php-ssh2, php-yaml, php-zmq, polarssl, ruby, systemd, taglib, + uboot-tools, upmpdcli, webkit, xapp_xfs, xapp_luit, + xscreensaver, yajl + + Issues resolved (http://bugs.uclibc.org): + + #7346: vim-8ae50e3ef8bf.tar.gz can not be downloaded, 404 not found + +2014.08-rc3, Released August 26th, 2014 + + Minor fixes. + + User manual update / restructuring. + + Updated/fixed packages: cairo, ecryptfs-utils, gettext, + gstreamer, gstreamer1, gutenprint, icu, imagemagick, jack2, + lbreakout2, libevas-generic-loaders, libftdi, libinput, + libtorrent, ltris, msgpack, ntp, php, procps-ng, pulseaudio, + thrift, tvheadend, usb_modeswitch, xmlstarlet, + + Issues resolved (http://bugs.uclibc.org): + + #7136: ecryptfs-utils needs gettext to run when glibc/eglibc... + #7322: libgomp dependency issue with imagemagick + #7328: Git dl of versions in x/y broken + +2014.08-rc2, Released August 18th, 2014 + + Fixes all over the tree. + + User manual restructured / reworked. + + Toolchain: Fix for C++ exceptions / pthread_exit() on + uClibc/glibc, C++-11 features with uClibc. + + Updated/fixed packages: bandwidthd, bluez5_utils, empty, + espeak, fbv, ffmpeg, gd, gnupg2, gst1-plugin-good, iftop, + infozip, libcuefile, libeml, libnftl, localedef, ltrace, + matchbox, mpd, network-manager, nftables, ngrep, nut, openssl, + oprofile, perl, perl-net-ssleay, postgresql, pppd, procps-ng, + qt, subversion, synergy, systemd, tar, tftpd, webkit, + xapp_rstart, xbmc, xbmc-pvr-addons + + Issues resolved (http://bugs.uclibc.org): + + #7124: Use BR toolchain externally results a non-bootable... + #7208: Glibc C++ aplications crash if they use exceptions + #7250: Cannot build with -std=c++11 + #7262: Generating locale en_US.UTF-8 fails on 64bit fedora.. + #7286: systemd 215 doesn't build + +2014.08-rc1, Released August 8th, 2014 + + Fixes all over the tree and new features. + + Architecture: Powerpc64 BE/LE added, AVR32 deprecated. + Improved altivec / SPE /atomic instructions + handling. Additional PowerPC CPU variants added. + + Defconfigs: Atmel SAMA5D3, Congatec QMX6, Lego ev3, TS-5x00, + qemu-system-xtensa, qemu-aarch64-virt added. A number of + tweaks to existing ones. lpc32xx defconfigs removed. + + Toolchain: Microblaze support for internal musl toolchain. + Default to GCC 4.8 for internal toolchain, remove deprecated + 4.3 and 4.6 versions. + External CodeSourcery / Linaro toolchain updates, option to + copy gconv libraries for external toolchains. + + Infrastructure: graph-depends: misc fixes, transitive + dependencies are not drawn by default. Download handling is + now done using helper scripts. Integrity of downloads can now + be verified using sha* hashes. Subversion download now uses + peg revisions for robustness. + Legal-info: License info of local or overridden packages are + saved as well. Toolchain packages are also taken into account. + autotools: Static linking with libtool / v1.5 improvements. + Gettextize support, similar to autoreconf. + kconfig package infrastructure added. + + Misc: Version selection for busybox dropped. + + Updated/fixed packages: aespipe, aiccu, alsa-lib, alsa-utils, + alsamixergui, argus, armadillo, at, atftp, atk, avahi, + avrdude, axel, b43-firmware, b43-fwcutter, bandwidthd, bc, + bcusdk, beecrypt, bind, binutils, blackbox, bluez5_utils, + bmon, boa, bonnie, bootutils, bsdiff, btrfs-progs, bustle, + busybox, bwm-ng, bzip2, ca-certificates, cairo, can-utils, + ccache, ccrypt, chrony, cifs-utils, classpath, cloog, cmake, + collectd, connman, coreutils, cosmo, cppcms, cramfs, crda, + cryptodev-linux, cryptodev, ctorrent, cvs, dbus-cpp, + dbus-glib, dbus-python, dbus, dcron, dejavu, devmem2, + dfu-util, dhcp, dhcpcd, dhcpdump, dhrystone, dialog, dillo, + distcc, dmidecode, dmraid, dnsmasq, doom-wad, dropbear, + dropwatch, dsp-tools, dtv-scan-tables, dvb-apps, e2fsprogs, + e2tools, eeprog, eigen, elf2flt, elftosb, enlightenment, + enscript, espeak, ethtool, eudev, evemu, exim, expedite, + explorercanvas, ezxml, faifa, fan-ctrl, fconfig, feh, + fetchmail, ffmpeg, fftw, file, fio, fis, flann, flashrom, + flex, flot, fltk, fontconfig, freerdp, freescale-imx, + freetype, ftop, gcc, gd, gdb, genimage, genromfs, gettext, + giblib, glib-networking, glibc, gmp, gnupg, gnutls, gpm, gpsd, + gptfdisk, gpu-viv-bin-imx6q, gqview, grantlee, gst-ffmpeg, + gst-fsl-plugins, gst1-libav, gst1-plugins-bad, + gst1-plugins-ugly, gtk2-engines, gtk2-theme-hicolor, gtkperf, + gvfs, haserl, hdparm, hostapd, httping, i2c-tools, icu, + imagemagick, imx-lib, inadyn, inotify-tools, input-tools, + ipkg, iproute2, iputils, irda-utils, iw, jack2, jpeg, jquery, + jquery-keyboard, jquery-mobile, jquery-validation, jsmin, kbd, + kexec, kmod, knock, latencytop, lcdapi, leafpad, lesstif, + lftp, libaio, libarchive, libargtable2, libart, libatasmart, + libatomic_ops, libbsd, libcap-ng, libcec, libcgicc, libcgroup, + libconfuse, libcurl, libdrm, libdvdnav, libdvdread, + libeXosip2, libedit, liberation, libesmtp, libev, libevas, + libevdev, libevent, libfcgi, libffi, libfreefare, libfslcodec, + libfslparser, libfslvpuwrap, libgail, libgcrypt, libglade, + libglib2, libgpgme, libgtk2, libhid, libical, libiconv, + libiqrf, libjpeg, liblog4c-localtime, libmbus, libmicrohttpd, + libmms, libndp, libnftnl, libnl, libnspr, libnss, liboauth, + libpcap, libpng, libpthsem, libqmi, libraw, libraw1394, + librsvg, libsoc, libsoup, libsvgtiny, libsysfs, libtasn1, + libtirpc, libtorrent, libusb, libv4l, libwebsockets, libxcb, + libxml2, libyaml, links, linux-firmware, linux-fusion, + linux-headers, linux-pam, lite, live555, lm-sensors, + lockfile-progs, lpc3250loader, lshw, lsof, lsuio, ltrace, + ltris, lua-messagepack, luainterpreter, luajit, luaposix, + luarocks, lvm2, lxc, lz4, lzo, make, makedevs, mdadm, + mediastreamer, mesa3d, metacity, minidlna, mkpasswd, + modem-manager, mongoose, mpd, mpg123, msgpack, mtd, mtools, + mtr, musepack, musl, mysql, nano, nasm, nbd, ncurses, ndisc6, + netatalk, netplug, network-manager, nftables, ngircd, nodejs, + nss-mdns, ntp, nut, olsr, open2300, opencv, openntpd, openocd, + openpgm, openpowerlink, openssh, openssl, openswan, openvpn, + opkg, oprofile, opus-tools, orc, p910nd, pango, parted, + pax-utils, pcmanfm, perf, perl, perl-module-build, php, + pixman, pkgconf, poco, polarssl, popt, portmap, postgresql, + prboom, protobuf-c, proxychains-ng, psmisc, psplash, ptpd2, + python, + python-{bottle,dpkt,id3,mad,msgpack,nfc,pygame,pyzmq,simplejson}, + python3, qhull, qt, qt5base, qt5connectivity, qt5declarative, + qt5graphicaleffects, qt5multimedia, qt5quickcontrols, + qt5sensors, qt5svg, qt5webkit, quagga, quota, radvd, rdesktop, + read-edid, rpcbind, rpi-firmware, rpi-userland, rpm, + rsh-redone, rsync, rt-tests, rtmpdump, rtorrent, rubix, ruby, + samba, samba4, sane-backends, sawman, sconeserver, setserial, + sg3_utils, shared-mime-info, smartmontools, smcroute, snappy, + socketcand, spawn-fcgi, sqlite, squashfs, squid, sredird, + startup-notification, statserial, strongswan, stunnel, + sunxi-mali, supervisor, synergy, sysklogd, sysprof, sysstat, + systemd, tcpdump, tcpreplay, texinfo, thrift, thttpd, ti-gfx, + ti-utils, tinyhttpd, torsmo, trace-cmd, transmission, tslib, + tstools, tvheadend, tzdata, uboot-tools, uclibc, udev, + udpcast, usb_modeswitch, usbmount, util-linux, valgrind, vim, + vlc, w_scan, wayland, webrtc-audio-processing, weston, wget, + wireless-regdb, wireless_tools, wireshark, wpa_supplicant, + xapp_{twm,xconsole,xcursorgen,xedit,xfs,xinit,xrandr}, + xdriver_xf86-video-intel, xlib_lib{FS,ICE,Xext,Xfont,Xft,Xi}, + xproto_fontsproto, xproto_inputproto, xserver_xorg-server, + x11vnc, xbmc, xbmc-addon-xvdr, xbmc-pvr-addons, xterm, xvkbd, + xz + + New packages: flickcurl, fmc, fmlib, geoip, gnupg2, + google-breakpad, imx-vpu, isl, kexec-lite, libglew, libglu, + libinput, libksba, libmemcached, libmpdclient, librtlsdr, + libuv, libva, libva-intel-driver, linux-zigbee, memcached, + mpdecimal, ncmpc, opencore-amr, patchelf, perl-datetime-tiny, + perl-gd, perl-gdgraph, perl-gdtextutil, perl-io-socket-ssl, + perl-json-tiny, perl-mojolicious, perl-net-ssleay, + perl-path-tiny, perl-try-tiny, perl-xml-libxml, + perl-xml-namespacesupport, perl-xml-sax, perl-xml-sax-base, + php-geoip, php-memcached, pifmrds, pinentry, powerpc-utils, + procps-ng, pwgen, python-cffi, python-daemon, python-flup, + python-ipython, python-numpy, qt5enginio, qt5webkit-examples, + qt5websockets, simicsfs, sispmctl, sox, sshpass, tclap, + twolame, upmpdcli, whois, xlib_libxshmfence, xproto_dri3proto + + Removed packages: procps + + Issues resolved (http://bugs.uclibc.org): + + #5750: Doing a Buildroot build from /usr doesn't work + #5900: config flags to the Xenomai build system + #6230: Cannot compile gcc without threads (uClibc-based) + #6626: procps Unknown HZ value! (XX) Assume 100 + #7118: Package "thrift" requires atomic operations + #7154: Local uClibc config file gets overwritten using ... + #7160: host-xz not built + #7166: hostapd: segfault when using RT5370 + #7172: Name collision of rpath token expansion and internal.. + #7178: NTPd package cannot sync time without a proper ntp.conf + #7184: supervisord depends on libxml2 implicitly + #7196: Unable to build on UBUNTU13.10 + #7268: python 2.7 compilation issue on a Debian/Ubuntu ... + +2014.05, Released May 31st, 2014 + + Minor fixes. + + Minor manual fixes. U-Boot now defaults to spl/u-boot-spl.bin + for the spl file. + + Updated/fixed packages: exim, glibc, gnutls, libfribidi, + qt5base, qt5webkit, sysklogd, thrift, u-boot + +2014.05-rc3, Released May 28th, 2014 + + Minor fixes. + + Updated/fixed packages: acl, attr, connman, dosfstools, + dropbear, dvb-apps, exim, flite, gdb, httping, hwdata, + lesstif, libnss, libv4l, lttng-babeltrace, midori, monit, + mplayer, php, python2, rdesktop, rpi-userland, ruby, samba, + samba4, slang, xbmc + + Issues resolved (http://bugs.uclibc.org): + + #7100: license info for package 'acl' missing + #7106: license info for package 'attr' missing + #7112: license info for package 'hwdata' + +2014.05-rc2, Released May 21st, 2014 + + Fixes all over the tree. + + Stripping using sstrip has been deprecated. + + BR2_EXTERNAL can now also be used to implement custom + filesystem types. + + The newly added BR2_GRAPH_DEPTH variable to limit the depth of + the generated dependency graph has been renamed to + BR2_GRAPH_DEPS_OPTS, so additional options can be supported in + the future. + + The virtual package infrastructure will now error out early + if multiple packages providing the same virtual package has + been enabled (E.G. opengl). This change requires that the + packages explicitly declare what virtual package(s) they + provide. + + Updated/fixed packages: acpid, armadillo, avahi, bellagio, + btrfs-progs, cairo, clapack, directfb, duma, ecryptfs-utils, + elfutils, eudev, fbgrab, fio, flann, fluxbox, gdb, gpm, + gpu-viv-bin-mx6q, gst1-plugins-good, gst-plugins-good, + imagemagick, iprutils, ipsec-tools, jack2, libdvdnav, + libdvdread, libnss, libunwind, linux-headers, lsof, lua, + luajit, matchbox-keyboard, mesa3d, mpd, mplayer, mtr, mysql, + netsnmp, nodejs, openpowerlink, openvpn, pciutils, + php-imagick, postgresql, pulseaudio, qt5quick1, rpi-userland, + rsyslog, samba, samba4, sane-backends, sunxi-mali, systemd, + ti-gfx, tstools, udev, webkit, wpa_supplicant, xbmc, + xlib_libXpm, xserver_xorg-server, zyre + + Issues resolved (http://bugs.uclibc.org): + + #5396: Boot hangs when starting samba if BR2_ENABLE_LOCALE... + #7016: Git issues in resulting buildroot tar + #7094: pciutils doesn't build on Blackfin + +2014.05-rc1, Released May 13th, 2014 + + Fixes all over the tree and new features. + + Architectures: Support for MIPS o32 ABI on MIPS-64 targets has + been removed. Building o32 ELF files for MIPS64 is an exotic + configuration that nobody should be using. If o32 is required, + then is better if it's built for MIPS 32-bit cores so only + 32-bit instructions will be used leading to a more efficient + o32 usage. + Support for the ARM A12 variant and Intel corei7. + + Configs: Minnowboard and Altera SoCkit added, QEMU updates. + + Bootloaders: Grub2 and gummiboot support, syslinux support + extended. + + Toolchains: GCC 4.9. Glibc 2.19. Support for the musl C + library for internal and external toolchains. 4.8-R3 support + for ARC, Internal toolchain support for Aarch64 and + Microblaze. Environment variable to control debug output of + toolchain wrapper renamed to BR2_DEBUG_WRAPPER to match the + other variables. Toolchain tuple vendor name can now be + customized. Updated external Linaro ARM/Aarch64 + toolchains. Added external Linaro ARMEB toolchain. + A GDB gdbinit file is now generated for external toolchains to + automatically set the correct sysroot. + + Kconfig handling for minimum kernel headers version required + for packages. Now packages needing specific kernel header + features can specify these requirements in Kconfig. + + Infrastructure: Support for (but disabled as it leads to + unreproducible builds) toplevel parallel builds. See the + comment at the top of Makefile for details about how to enable + it and what the problems are if you want to test it. + Python package infrastructure extended to support Python 3.x + Perl and virtual package infrastructure support added. + PRE_*_HOOKS support for all build steps. + + Updated/fixed packages: acpid, agentpp, aiccu, apr, avahi, + barebox, bash, beecrypt, bellagio, binutils, boost, + boot-wrapper-aarch64, bustle, busybox, ca-certificates, cairo, + ccache, ccid, cgilua, chrony, cifs-utils, civetweb, cmake, + collectd, connman, coreutils, coxpcall, cppcms, cppzmq, crda, + cryptodev, cryptsetup, cups, czmq, dbus, dhcpdump, directfb, + dmalloc, dmraid, dnsmasq, dosfstools, dsp-tools, dtc, + dvb-apps, ebtables, ecryptfs-utils, eigen, erlang, ethtool, + evemu, evtest, f2fs-tools, fdk-aac, feh, ffmpeg, file, filemq, + flac, flot, fmtools, fping, freetype, fswebcam, gcc, gd, gdb, + gettext, giblib, git, glibc, glibmm, glib-networking, gmp, + gnutls, gpm, gpsd, gpu-viv-bin-mx6q, grep, gst1-libav, + gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, + gst1-plugins-ugly, gst-ffmpeg, gst-fsl-plugins, gst-omx, + gst-plugins-good, gstreamer1, gvfs, harfbuzz, haveged, + hostapd, htop, httping, ifplugd, iftop, igmpproxy, + imagemagick, imlib2, imx-lib, infozip, intltool, iproute2, + ipsec-tools, ipset, jansson, jpeg, jpeg-turbo, jquery, + jquery-keyboard, jquery-ui, jquery-ui-themes, json-glib, + json-javascript, kexec, kmod, lame, lbase64, lbreakout2, + lcdproc, lftp, libao, libatasmart, libatomic_ops, libcap, + libcdio, libcec, libcgicc, libcgroup, libcurl, libdrm, + libdvdnav, libdvdread, libegl, libeio, libenca, libesmtp, + libevas, libevdev, libfribidi, libfslcodec, libfslparser, + libfslvpuwrap, libgail, libgles, libglib2, libgtk2, libhid, + libjpeg, libmbim, libmicrohttpd, libmodplug, libnftnl, + libnspr, libogg, libopenmax, libopenvg, libpcap, libplayer, + libpng, libpthread-stubs, librsvg, libsigsegv, libsocketcan, + libsoup, libtasn1, libtool, libtpl, libunwind, liburcu, + libusb, libwebsockets, libxcb, libxml2, libxmlpp, libyaml, + lighttpd, linphone, linux-firmware, linux-headers, ljsyscall, + lmbench, lsof, ltp-testsuite, ltris, lttng-babeltrace, + lttng-libust, lttng-modules, lttng-tools, lua, lua-cjson, + luacrypto, lua-ev, luaexpat, luaexpatutils, luafilesystem, + luainterpreter, luajit, lua-msgpack-native, luaposix, + luarocks, luasec, luasocket, luasql-sqlite3, lvm2, macchanger, + memstat, mesa3d, metacity, minidlna, mmc-utils, + mobile-broadband-provider-info, modem-manager, mongrel2, + monit, mpd, mplayer, msmtp, mtd, mtools, mutt, mysql, nasm, + ncurses, ne10, netatalk, netsnmp, nettle, network-manager, + newt, nfs-utils, nmap, nodejs, ntfs-3g, ntp, nut, ofono, ola, + olsr, omniorb, opencv, opengl, openpgm, openssh, openssl, + openswan, openvpn, orbit, orc, p11-kit, pango, parted, + pciutils, pcre, pcsc-lite, perf, perl, perl-xml-parser, php, + picocom, pixman, pkgconf, poppler, popt, portmap, powervr, + pppd, pptp-linux, proftpd, protobuf, protobuf-c, ptpd2, + pulseaudio, python, python3, python-bottle, python-m2crypto, + python-netifaces, python-pyasn, python-pycrypto, + python-pygame, python-pysnmp, python-pysnmp-apps, + python-pysnmp-mibs, python-serial, python-setuptools, + qextserialport, qt, qt5, qt5base, qt5connectivity, + qt5declarative, qt5graphicaleffects, qt5imageformats, + qt5multimedia, qt5quick1, qt5quickcontrols, qt5script, + qt5sensors, qt5serialport, qt5svg, qt5webkit, qt5x11extras, + qt5xmlpatterns, qtuio, qwt, radvd, readline, rings, + rpi-firmware, rpi-userland, rsh-redone, rsync, rsyslog, rtai, + rtmpdump, rt-tests, ruby, samba, sconeserver, scons, sdl, + sdl_image, sdl_mixer, sg3_utils, slang, smstools3, snmppp, + socat, speex, sqlcipher, sqlite, squashfs, squid, strongswan, + stunnel, sunxi-boards, sunxi-mali, sunxi-tools, sylpheed, + syslinux, sysstat, systemd, taglib, tcl, tcllib, tcpreplay, + tidsp-binaries, ti-gfx, tmux, tvheadend, tzdata, uboot, + uboot-tools, uclibc, udev, udisks, ulogd, usb_modeswitch, + usb_modeswitch_data, usbmount, util-linux, valgrind, vlc, + webkit, weston, wget, wireshark, wpa_supplicant, wsapi, + w_scan, xapp_appres, xapp_bdftopcf, xapp_beforelight, + xapp_bitmap, xapp_editres, xapp_fslsfonts, xapp_fstobdf, + xapp_iceauth, xapp_ico, xapp_mkfontscale, xapp_rgb, + xapp_rstart, xapp_sessreg, xapp_showfont, xapp_twm, + xapp_viewres, xapp_xauth, xapp_xbacklight, xapp_xcalc, + xapp_xclock, xapp_xditview, xapp_xdpyinfo, xapp_xdriinfo, + xapp_xev, xapp_xfd, xapp_xfontsel, xapp_xfs, xapp_xfsinfo, + xapp_xgc, xapp_xhost, xapp_xinit, xapp_xkbutils, xapp_xkill, + xapp_xload, xapp_xlsclients, xapp_xlsfonts, xapp_xmag, + xapp_xman, xapp_xmessage, xapp_xmodmap, xapp_xprop, + xapp_xrandr, xapp_xrdb, xapp_xrefresh, xapp_xset, + xapp_xsetroot, xapp_xsm, xapp_xstdcmap, xapp_xvidtune, + xapp_xvinfo, xapp_xwd, xapp_xwininfo, xcb-util-wm, + xdriver_xf86-input-evdev, xdriver_xf86-input-joystick, + xdriver_xf86-input-keyboard, xdriver_xf86-input-mouse, + xdriver_xf86-input-synaptics, xdriver_xf86-input-vmmouse, + xdriver_xf86-video-ark, xdriver_xf86-video-ast, + xdriver_xf86-video-ati, xdriver_xf86-video-cirrus, + xdriver_xf86-video-dummy, xdriver_xf86-video-fbdev, + xdriver_xf86-video-geode, xdriver_xf86-video-glide, + xdriver_xf86-video-glint, xdriver_xf86-video-i128, + xdriver_xf86-video-intel, xdriver_xf86-video-mach64, + xdriver_xf86-video-mga, xdriver_xf86-video-neomagic, + xdriver_xf86-video-newport, xdriver_xf86-video-nv, + xdriver_xf86-video-openchrome, xdriver_xf86-video-r128, + xdriver_xf86-video-savage, xdriver_xf86-video-siliconmotion, + xdriver_xf86-video-sis, xdriver_xf86-video-tdfx, + xdriver_xf86-video-tga, xdriver_xf86-video-trident, + xdriver_xf86-video-vesa, xdriver_xf86-video-vmware, + xdriver_xf86-video-voodoo, xenomai, xerces, xl2tp, xlib_libFS, + xlib_xtrans, xproto_xproto, xserver_xorg-server, + xutil_util-macros, zeromq, zic, zmqpp, zyre + + New packages: armadillo, btrfs-progs, clapack, cosmo, dado, + dbus-triggerd, dtv-scan-tables, e2tools, eudev, exim, expect, + fetchmail, flann, flite, gnu-efi, grub2, gummiboot, heimdal, + iprutils, iptraf-ng, jack2, jquery-mobile, libee, libestr, + libgc, libgl, liblogging, libndp, libsoxr, libstrophe, + libubox, libuci, libxmlrpc, ljlinenoise, lpeg, lpty, lrandom, + lsqlite3, lua-coat, lua-coatpersistent, lua-csnappy, luajson, + lualogging, lua-messagepack, lua-testmore, lunit, lzip, lzlib, + musl, nftables, opentyrian, opentyrian-data, + perl-module-build, php-gnupg, php-imagick, php-ssh2, php-yaml, + php-zmq, postgresql, python-libconfig, python-pypcap, + python-pyrex, qdecoder, qhull, samba4, smack, tz, tzdump, ucl, + upx, vo-aacenc, xbmc, xbmc-addon-xvdr, xbmc-pvr-addons, + yaffs2utils, zlog, znc + + Removed packages: crosstool-ng, python-distutilscross, vala + + Issues resolved (http://bugs.uclibc.org): + + #6842: Checking external toolchain for eabihf + #6956: Packaging libsoxr + #6986: Make legal-info fails on uboot versions before 2014.01 + #6992: Incorrect installation rights on external kernel module.. + +2014.02, Released February 27th, 2014 + + Minor fixes. + + Updated/fixed packages: cegui06, cppdb, e2fsprogs, gcc, gdb, + gst1-plugins-bad, gstreamer, gstreamer1, haserl, imagemagick, + libpng, libxml2, lua, luajit, luarock, ncftp, openswan, + pcsc-lite, qt5connectivity, ramsmp, strongswan, vlc + + Issues resolved (http://bugs.uclibc.org): + + #6938: mkuser script generates wrong password for new user in.. + +2014.02-rc3, Released February 25th, 2014 + + Minor fixes. + + Updated/fixed packages: aiccu, ala-lib, alsa-utils, binutils, + cairo, coreutils, dhcpcd, distcc, efl, evas, iputils, gdb, + gpsd, gst-fsl-plugins, icu, libcec, libcgi, libplayer, + libsecret, libsepol, libsigsegv, libtool, libv4l, + linux-headers, matchbox-lib, mpg123, ncftp, opencv, pcmanfm, + pixman, pv, qt, rt-tests, sawman, sconeserver, sdl, thrift, + tvheadend, util-linux, webkit, xscreensaver + + Issues resolved (http://bugs.uclibc.org): + + #4706: Removing .stamp_target_installed does not trigger... + #5030: busybox built fails if we use an override src dir... + #5420: Dbus and /var/run management + #5768: Not able to build ALSA-Lib for static build + #5774: Not able to build ALSA-Utils for static build + #6542: external python modules fail to compile to pyc if... + #6764: Support for kernel signed modules + #6794: Busybox compiled from buildroot hangs on pass from... + +2014.02-rc2, Released February 20th, 2014 + + Fixes all over the tree. Static linking / nommu fixes and + annotations for several packages. + + Updated/fixed packages: boost, busybox, collectd, coreutils, + dropbear, elfutils, feh, gcc, gst1-libav, imagemagick, iozone, + jimtcl, kexec, libvncserver, lvm2, lxc, mplayer, netsnmp, nut, + opencv, python, python3, qtuio, systemd, thrift, transmission, + uclibc, vlc, webkit + + Issues resolved (http://bugs.uclibc.org): + + #5450: AT91SAM9260 Bootstrap compilation problem + #5582: libiconv 1.14 failed to build + #5624: When building directfb, BR2_TARGET_LDFLAGS not used by.. + #5852: [2012.11] usb_modeswitch should depends of "BR2_PACK.. + #6218: binutils-2.23.2/gas fails with undefined reference to.. + #6236: binutils-2.23.2/bfd fails with undefined reference to.. + #6470: If the build directory is a child of /usr, the build.. + #6776: systemd error: static declaration of 'execvpe' follows.. + #6818: toolchainfile.cmake has absolut path references + +2014.02-rc1, Released February 11th, 2014 + + Fixes all over the tree and new features. + + Support for external packages/defconfigs (BR2_EXTERNAL). See + user manual for details. + + Cleanup of environment variable names for consistency. The + download directory location override (BUILDROOT_DL_DIR) is now + called BR2_DL_DIR. Likewise the name of the current .config is + renamed from BUILDROOT_CONFIG to BR2_CONFIG. Please update + your post build scripts if you use this! BUILD_DIR is now also + exported to the post build/image scripts. + + Toolchain: GCC 4.8 fix for ARM stack corruption, reverted + uClibc pread/pwrite backport as they cause issues on certain + architectures, new Linaro and Sourcery Codebench toolchains. + x86: Support for AMD Jaguar cores, SSE4.x, SH: SH2/SH3/SH3EB + variants removed, Microblaze: Internal toolchain support + + Legal infrastructure: Info is now split between host and + target packages, large number of license annotations. + + Lua: selection between lua 5.1 / 5.2, luarocks support + + Python: package infrastructure, many new packages. + + Defconfigs: Armadeus APF51 + Zedboard added, apf27, apf28, + beaglebone, microblaze, pandaboard, qemu, raspberry pi + updated. + + Updated/fixed packages: aiccu, alsa-lib, alsa-utils, + am33x-cm3, aumix, autoconf, automake, barebox, bellagio, + berkeleydb, binutils, bison, blackbox, bluez_utils, boost, + bustle, busybox, cairo, can-utils, ccache, ccid, cgilua, + cifs-utils, civetweb, cmake, collectd, connman, copas, + coreutils, coxpcall, cppzmq, cramfs, crda, cryptodev-linux, + cryptsetup, cups, czmq, dhcpcd, dhcpdump, dhrystone, dialog, + dmraid, dnsmasq, dosfstools, dropbear, dropwatch, dtc, duma, + dvb-apps, e2fsprogs, eglibc, eigen, elf2flt, erlang, ethtool, + f2fs-tools, ffmpeg, file, filemq, fio, flashrom, flex, + fluxbox, fontconfig freerdp, freetype, gadgetfs-test, gawk, + gcc, gdb, gdbm, gettext, git, glibc, gnupg, gnutls, gob2, + gpsd, grep, grub, gst-ffmpeg, gst-plugins-good, + gst1-plugins-bad, gst1-plugins-base, gst1-plugins-good, + gst1-plugins-ugly, gstreamer, gstreamer1, gtest, icu, iftop, + imagemagick, inadyn, infozip, iozone, iproute2, iptables, iw, + jpeg, jpeg-turbo, jq, kexec, kmod, knock, lbase64, lcdapi, + lftp, libcdaudio, libcgi, libcgicc, libcuefile, libcurl, + libdmtx, libdrm, libdvdnav, libdvdread, libegl, libevent, + libexif, libfcgi, libfreefare, libgles, libglib2, libllcp, + libmicrohttpd, libmpd, libnfc, libnl, libnss, libopenmax, + libopenvg, libpcap, libpfm4, libplayer, libpng, libqmi, + libreplaygain, libroxml, libsamplerate, libsexy, libsigsegv, + libsndfile, libsoc, libtasn1, libtorrent, libtpl, libupnp, + libusb, libusb-compat, libvorbis, libxcb, libxml2, libxmlpp, + libyaml, lighttpd, linknx, linux-firmware, linux-pam, live555, + lm_sensors, lmbench, lockdev, logrotate, lrzsz, ltrace, lua, + lua-ev, lua-msgpack-native, luabitop, luaexpat, luaexpatutils, + luafilesystem, luajit, luaposix, luasec, luasocket, + luasql-sqlite3, m4, matchbox, mdadm, minicom, mongrel2, mpc, + mpd, mpg123, mplayer, mtd, mysql, lvm2, mxml, ncurses, ne10, + neard, neardal, netsnmp, netstat-nat, network-manager, nodejs, + numactl, ofone, ola, olsr, omniorb, open2300, opencv, + openpowerlink, openssh, openssl, openvpn, oprofile, opus, + opus-tools, orbit, p11-kit, parted, pcre, pcsc-lite, perl, + php, poco, poppler, powervr, protobuf-c, psplash, python, + python-bottle, + python-{crc16,distutilscross,dpkt,id3,ipy,m2crypto,mad,meld}, + python-{netifaces,nfc,protobuf,pygame,pyparsing,pyro,pyzmq}, + python-{serial,setuptools}, qt, qt5base, qt5connectivity, + qt5declarative, qt5graphicaleffects, qt5jsbackend, + qt5multimedia, qt5quick1, qt5quickcontrols, qt5script, + qt5webkit, radvd, redis, rings, rng-tools, rpcbind, + rpi-firmware, rpi-userland, rt-tests, sam-ba, samba, sawman, + sconeserver, scons, sdl, sg3_utils, snappy, snmppp, + socketcand, spice, spice-protocol, sqlcipher, sqlite, squid, + sshfs, strace, subversion, sunxi-mali, supervisor, sysklogd, + sysprof, sysstat, systemd, sysvinit, taglib, tar, tcpdump, + ti-gfx, ti-utils, tinymembench, tn5250, trace-cmd, + transmission, tvheadend, tzdata, zxing, uboot, uboot-tools, + uclibc, udev, udpcast, ulogd, urg, usb_modeswitch_data, + util-linux, vala, valgrind, vorbis-tools, wavpack, wayland, + weston, wget, wireless-regdb, wireshark, wpa_supplicant, + wsapi, xavante, xapp_xdpyinfo, xapp_xrandr, xcb-proto, + xdriver_xf86-video-intel, xenomai, xkeyboard-config, xl2tp, + xlib_lib{FS,SM,X11}, + xlib_libX{au,aw,composite,cursor,damage,ext,fixes,font,i}, + xlib_libX{inerama,mu,pm,randr,render,res,t,tst,v,xf86dga}, + xlib_libXxf86vm, xlib_libdmx, xlib_libfontenc, + xlib_libpciaccess, xlib_xtrans, xproto_dri2proto, + xproto_{glproto,inputproto,presentproto,randrproto,videoproto}, + xproto_xextproto, xproto_xproto, xutil_util-macros, + xutil_makedepend, zic, zmqpp, zxing, zsh, zyre + + New packages: apitrace, avrdude, c-ares, ca-certificates, + cwiid, dbus-cpp, evemu, fping, fswebcam, gpm, gst1-libav, + haveged, intel-microcode, iucode-tools, jasper, joe, ktap, + lbreakout2, libass, libbluray, libcdio, libenca, libevdev, + libmbim, libmodplug, libnfs, libnftnl, libplist, libshairplay, + libsocketcan, ljsyscall, log4cplus, ltris, luainterpreter, + luarocks, minidlna, mmc-utils, modemmanager, mtr, net-tools, + python-configobj, python-dialog, python-json-schema-validator, + python-keyring, python-msgpack, python-posix-ipc, + python-pyasn, python-pycrypto, python-pysnmp, + python-pysnmp-apps, python-pysnmp-mibs, python-pyusb, + python-simplejson, python-tornado, python-versiontools, + rtmpdump, rtptools, smcroute, smstools3, tcpreplay, thrift, + ti-uim, tinyxml, tmux, vlc, wmctrl, xconsole + + Removed packages: autoconf, automake, ccache, cpanminus, lzma, + netkitbase, netkittelnet, pkg-config, squashfs3, ttcp, xstroke + + Issues resolved (http://bugs.uclibc.org): + + #65: new package: dbus c++ language bindings + #769: Update configuration menu for MIPS target + #2419: Add a bundle of Lua modules + #2629: Segmentation faults and division by zero in Grub on ext2 + #3811: Added auto-mount for USB and SD Card (mdev) (for 2011.05) + #4339: Allow override of DL_DIR in extract step + #4363: Make sure that copied linux and busybox defconfig are... + #4454: There should be simple way to update image, when chang... + #5024: grub fails to build for x86_64 target architecture + #5066: New-Package: net-tools + #5072: ncurses: add ncurses-progs to target + #5294: uclibc build ignores target CFLAGS and LDFLAGS + #5366: Login doesn't work with util-linux versions of login/agetty + #5378: dropbear Makefile broken + #5390: System banner - change to empty doesn't remove /etc/issue + #5780: spurious build failure because it cannot remove ubinize.cfg + #5798: ncurses-5.9 fails to compile statically + #5810: Buildroot 2012.11: Additional GCC option "-msoft-float" ... + #6080: Git fetch caching + #6092: Bootable ISO image creation seems to have stopped working.. + #6272: coreutils build fails + #6434: apply-patches.sh does not work recursively + #6446: eglibc doesn't install ldconfig to target + #6484: Add c-ares + #6596: Slow bootup if mdev is chosen + #6656: Build Qt5 with ccache + #6662: internal compiler error: Segmentation fault during making.. + #6722: Usage of $($(PKG)_DIR_PREFIX) is an issue with linux package + #6752: genext2fs: e2fsck must run before tunefs -U random + #6770: openssl 1.0.1f fails with ccache + #6830: Qt5: no fonts are installed + #6848: Qt5: no text shown in simple QWidget / frame-buffer setup + #6854: Update to Qt 5.2.1 + +2013.11, Released November 30th, 2013: + + Minor fixes. + + Updated/fixed packages: apr, binutils, dbus-python, dropwatch, + ecryptfs-utils, eglibc, gdb, gpsd, grantlee, hostapd, + iptables, qlibiscsi, libnspr, libnss, libpfm4, libtool, + lua-ev, lvm2, mplayer, qt, qt5, quagga, ruby, tinymembench, + tvheadend, util-linux, wpa_supplicant + + Issues resolved (http://bugs.uclibc.org): + + #1279: Buildroot compiled Busybox and Coreutils LFS issues + #2995: -fstack-protector-all causes ssh to SIGSEGV + #5570: Cannot compile software on the target machine + #6428: util-linux libmount segfaults with patch from buildroot + #6500: php fails to build for armel + #6554: gdb needs to dependents on host texinfo + #6692: GNU nano fails to compile for x86_64 + #6704: wpa_supplicant: fix wrong path to executable file in D-Bus + +2013.11-rc3, Released November 26th, 2013 + + Fixes all over the tree. + + Architecture: Mark MIPS I, II, III and IV as deprecated. + + Updated/fixed packages: beecrypt, dbus, e2fsprogs, libcap-ng, + libglib2, libroxml, libsigsegv, libvncserver, lxc, mdadm, + mongoose, nut, ola, omniorb, openssl, pcre, php, poco, + protobuf-c, pv, qt5base, ruby, schifra, squid, sunxi-mail, + swig, ti-gfx, tinymembench, uclibc, udisks, vim + +2013.11-rc2, Released November 18th, 2013 + + Fixes all over the tree. + + Defconfigs: qemu_arm_versatile, qemu_arm_nuri, sheevaplug: + Adjust kernel versions. + + Toolchain: avr32: fix for modern kernel headers + + Bootloader: Barebox updated to 2013.10.1 + + Updated/fixed packages: dhcp, e2fsprogs, gst1-plugins-bad, + libcurl, libvncserver, nano, pc, qt5base, squashfs, ttcp, + wayland, wvstreams + + Issues resolved (http://bugs.uclibc.org): + + #3601: DHCPD S80dhcp-server startup script issues + #6320: Fix kernel compile issue if BR2_LINUX_KERNEL_CUSTOM_GIT_VERS.. + #6416: Xenomai package, patch alternative + #6590: directfb-examples build failed whit linaro toolchain + +2013.11-rc1, Released November 12th, 2013 + + Architectures: Nios-II support, MIPS arch handling fixes + + Defconfigs: cubieboard2, freescale i.MX 6sololite evk, + sabre-sd, wandboard added, rpi renamed to raspberrypi_defconfig + + Toolchain: glibc support, upstream uClibc fixes, uClibc 0.9.31 + for avr32, crosstool-ng backend removed, external musl + toolchain support, gcc 4.8.2, updated Linaro external + toolchains. Fortran and objective-C support deprecated, + mudflap support + + Bootloaders: U-Boot: u-boot.imx support, version bumps + + Linux: use kmod instead of module-init-tools + + System: default to devtmpfs for /dev + + Infrastructure: Make 3.82 fixes, locales generation fixes, CVS + download support, post-rsync hooks + + Fs: u-boot image support for cpio + + Updated/fixed packages: aircrack-ng, alsamixergui, apr, + apr-util, atk, automake, bellagio, berkeleydb, bind, binutils, + bison, boost, busybox, can-utils, ccache, ccid, cgilua, + chrony, cifs-utils, cjson, collectd, connman, conntrack-tools, + copas, cppcms, cppzmq, czmq, dash, dbus, dhcpcd, diffutils, + directfb, dmidecode, dnsmaqs, docker, dosfstools, dropbear, + dropwatch, ebtables, eglibc, elf2flt, empty, enchant, erlang, + ethtool, fbgrab, fbv, fdk-aac, feh, ffmpeg, file, findutils, + fltk, fmtools, freetype, gdk-pixbuf, gettext, git, + glib-networking, gmp, gnupg, gnutls, gpu-viv-bin-mx6q, gsl, + gstreamer, gstreamer1, gst1-plugins-{bad,base,good,ugly}, + gtest, gutenprint, hplip, i2c-tools, icu, ifplugd, + imagemagick, iozone, iproute2, ipset, iptables, iw, jamvm, + jansson, jpeg-turbo, kismet, kmod, lcms2, libassuan, libcap, + libcap-ng, libcdaudio, libcec, libcue, libcurl, libdrm, + libedit, libevas, libevent, libfreefare, libfuse, + libgpg-error, libiconv, liblog4c-localtime, libmicrohttpd, + libmnl, libmodbus, + libnetfilter_{acct,conntrack,cthelper,cttimeout,log,queue}, + libnfnetlink, libnl, libpng, libqmi, libqrencode, libroxml, + libsecret, libsigsegv, libsoup, libtirpc, libunwind, libusb, + libvpx, lighttpd, linphone, linux-pam, lmbench, + lockfile-progs, log4cxx, logrotate, logsurfer, ltp-testsuite, + ltrace, luacrypto, luaposix, lvm2, m4, matchbox-lib, + media-ctl, mediastreamer, minicom, minidlna, mongoose, monit, + mpc, mpd, mpg123, mplayer, mrouted, mtdev, mutt, mysql_client, + nano, ncftp, ndisc6, neard, neardal, neon, net-snmp, netatalk, + netcat, netkitbase, netperf, netplug, nettle, nfacct, + nfs-utils, ngircd, ngrep, noip, nuttcp, olsr, openssh, opkg, + oprofile, opus-tools, orc, ortp, pciutils, pcre, pcsc-lite, + perf, perl, perl-cross, php, picocom, pkgconf, polarssl, + poppler, pppd, proftpd, protobuf, proxychains-ng, pulseaudio, + pv, qemu, qt, qt5base, qt5webkit, quagga, radvd, redis, + rpi-{firmware,userland}, rrdtool, rsync, rtorrent, ruby, + samba, scons, screen, sdl_sound, ser2net, setserial, + smartmontools, socat, socketcand, sqlcipher, sqlite, squid, + stress, strongswan, stunnel, sudo, syslinux, systemd, + sysvinit, tcl, ti-gfx, time, transmission, tremor, tslib, + tstools, tvheadend, tzdata, uboot-tools, uclibc, udpcast, + uemacs, ulogd, usb_modeswitch{,_data}, util-linux, vala, + valgrind, vde2, vorbus-tools, vpnc, vsftpd, vtun, wayland, + webkit, webp, webrtc-audio-processing, weston, wget, + wireshark, wsapi, xavante, xdriver_xf86-video-geode, xenomai, + xinetd, xlib_libpthread-stubs, xl2tp, xmlstarlet, + xserver_xorg-server, xz, zeromq, zic, zmqpp + + New packages: aiccu, autossh, bc, civetweb, cppdb, cryptsetup, + duma, eigen, harfbuzz, igmpproxy, iputils, jq, knock, kobs-ng, + lesstif, libcgroup, libsepol, libsoc, libssh2, luasec, luasql, + lxc, nut, ola, omniorb, openpowerlink, orbit, p910nd, psplash, + python-crc16, python-ipy, python-pyzmq, qt5sensors, + qt5serialport, qt5x11extras, snmppp, subversion, tcping, + trace-cmd, xscreensaver, zsh + + Removed packages: module-init-tools + + Issues resolved (http://bugs.uclibc.org): + + #1138: Buildroot fails to build packages if BR2_GCC_SHARED_LIBGCC=y + #5408: qt build failure with Sourcery CodeBench ARM 2010.09 + #5630: makefile error with toolchain helpers.mk + #5672: htop: remove X11 stuff + #5678: linux.mk: linux-menuconfig fails + #5696: python3 installation is too large, patches from python2 needed + #5978: Erlang does not build for arm in 2013.02-rc3 + #6392: Extended ARM uImage kernel options + #6404: Buildroot's coreutils 'uname -p' reports 'Unknown' on recent.. + #6428: util-linux libmount segfaults with patch from buildroot + #6452: eglibc from Linaro 2013.07 not copied to target correctly + #6566: PHP segfault when crosscompiled to mips64 - patch included + #6572: [PowerPC] Buildroot uses wrong external toolchain libraries.. + #6578: udisks package broken + #6602: ebtables 64 bit kernel + 32 bit userland alignment error.. + #6608: ebtables missing ethertypes - fix included + #6620: Sysvinit package missing killall5 and symlinks - patch included + #6632: CMake use host pkg-config + #6638: pkgconf doesn't download + #6644: "all" target doesn't work in out-of-tree builds + #6650: Segmentation fault when trying to build latest buildroot + #6668: iptables limit module alignment problem on mips64 + +2013.08, Released August 31th, 2013: + + Minor fixes. + + Documentation build fixed. + + Updated/fixed packages: ltrace, strongswan + +2013.08-rc3, Released August 29th, 2013: + + Fixes all over the tree. + + External toolchain lib32/lib64 handling, ABI name for EABIhf, + misc fixes for generatelocales, apply-patches and module + stripping. + + Top level menu names reordered and renamed for clarity. + + Updated/fixed packages: acl, attr, bash, dbus, directfb, + dvb-apps, kexec, kmod, libbsd, linux-fusion, mesa3d, minidlna, + openssh, openssl, pulseaudio, python-setuptools, qt5, + qt5webkit, redis, strongswan, sunxi-mali + + Issues resolved (http://bugs.uclibc.org): + + #6464: dbus-daemon-launch-helper needs setuid + +2013.08-rc2, Released August 16th 2013: + + Documentation improvements. + + External toolchains fixes. + + Updated/fixed packages: aircrack-ng, bash, boost, cairo, + cppcms, eglibc, ffmpeg, gcc, git, gnupg, imagemagick, libcec, + libffi, libgcrypt, linux, linux-headers, ltrace, netatalk, + opencv, opengl, readline, samba, strongswan, sunxi-cedarx, + uclibc, udev, wayland, webkit, zeromq. + + Issues resolved (http://bugs.uclibc.org): + + #6440: typo in ffmpeg makefile + +2013.08-rc1, Released August 5th, 2013: + + Architectures: + - improved support for floating point on ARM and Thumb/Thumb2 + - support for ARM OABI removed + + Toolchains: + - support added for Sourcery CodeBench ARM and MIPS 2013.05 + - Linaro ARM and Aarch64 toolchains updated + - support added for the Arago ARMv5 and ARMv7 toolchains + - gcc 4.8.x version bumped + - support for installing both FDPIC and FLAT libraries on + Blackfin + - support for uClibc 0.9.31 removed, + - convert the internal toolchain backend to use the package + infrastructure + - support added for eglibc in the internal toolchain backend + - toolchain components for the ARC architecture updated and + gdb for ARC added. + - support for Blackfin in the internal toolchain fixed + + Defconfigs: beaglebone_defconfig updated, new defconfig for + CubieBoard, for Olimex mx233 Olinuxino, for Calao Systems + TNY-A9G20-LPW. + + A number of packages have been fixed to use the + _CONFIG_SCRIPTS mechanism to get their -config shell + script installed and modified properly. Licensing informations + has been added to a number of packages. + + Use XZ tarballs for a number of packages. + + Noticeable package changes/additions: + - The glib2/libgtk2/webkit stack has been updated to recent + versions. + - Support for Gstreamer 1.x has been added. + - OpenGL support for TI OMAP platforms has been added. + - OpenGL support for Allwinner platforms has been added. + - OpenMAX support for RasberryPi has been added. + + Updated/fixed packages: acl, attr, autoconf, avahi, barebox, + bind, binutils, busybox, bwm-ng, bzip2, cifs-utils, colletctd, + cpanminus, cups, curl, dash, dbus, dhcp, directfb, + directfb-examples, dnsmasq, dosfstools, dropbear, dtc, + e2fsprogs, ed, efl, enlightenment, erlang, ethtool, fbgrab, + fftw, firmware-imx, flot, fltk, freetype, gawk, gdk-pixbuf, + gettext, gmp, gnutls, gsl, gutenprint, gvfs, gzip, haserl, + hiawatha, httping, icu, imagemagick, imlib2, imx-lib, + intltool, iozone, ipset, iptables, jquery, jquery-keyboard, + jquery-sparkline, kmod, less, libart, libcdaudio, libcgicc, + libesmtp, libftdi, libfuse, libglib2, libgtk, libgtk2, libidn, + libiqrf, liblog4c-localtime, libnspr, libnss, libpcap, + libroxml, libserial, libsigsev, libsoup, libtool, libtpl, + libvncserver, libxml2, linphone, lm_sensors, logrotate, + ltrace, lttng, luafilesystem, luajit, minicom, monit, mpg123, + mtd, mutt, mxml, neard, netatask, netsnmp, nettle, + network-manager, nodejs, nss-mdns, openssh, openswan, openvpn, + opkg, opus, pcre, perl-cross, php, pixman, poco, polarssl, + pulseaudio, pv, python, python3, qt, qt5, qt5declarative, + qt5jsbackend, qt5quick1, readline, rpi-firmware, ruby, samba, + sane-backends, sconeserver, sdl_image, sdparm, ser2net, + socketcand, sqlite, squid, strace, tcl, tcpdump, tinyhttpd, + tvheadend, tzdata, uboot, udpcast, usb_modeswitch, + usb_modeswitch_data, usbutils, webkit, wireshark, wvstreams, + xapp_luit, xapp_xmodmap, xenomai, xfsprogs, xlib_libX11, zic, + zlib. + + New packages: a10disp, aespipe, am33x-cm3, cppcms, dhcpcd, + dropwatch, dtc, ecryptfs-utils, eglibc, elf2flt, fdk-aac, + gcc-final, gcc-initial, gcc-intermediate, git, + gpu-viv-bin-mx6q, gst1-plugins-bad, gst1-plugins-base, + gst1-plugins-good, gst1-plugins-ugly, gst-omx, + gst-plugin-x170, gstreamer1, jimtcl, lbase64, libassuan, + libbsd, libcec, libdvbsi, libedit, libgpgme, libqmi, + libqrencode, libsvg, libsvg-cairo, libunwind, libvpx, + linux-headers, lockdev, luabitop, luacrypto, lua-ev, + luaexpatutils, msgpack, ocrad, on2-8170-libs, + on2-8170-modules, p11-kit, pax-utils, ptpd, ptpd2, + python-pyro, ramspeed/smp, snappy, strongswan, sunxi-boards, + sunxi-cedarx, sunxi-mali, sunxi-tools, ti-gfx, tinymembench, + tree, tstools, uclibc, w_scan. + + Issues resolved (http://bugs.uclibc.org): + + #4718: python (built for powerpc) distutils has paths to host + compiler toolchain + #5516: appended device tree blobs on uImage fails + #6302: Versions of packages retrieved from github.com are wrong + #6308: dosfstools download link is wrong + #6326: Dropbear: Add options to allow better config for + different target devices (e.g. routers) + #6338: Wrong download link for minicom package + #6344: Wrong handling of license text files with same name and + different directory + #6374: gnutls package broken if linux cryptodev module + selected + #6410: omap3_beagle has uimage error load address error + +2013.05, Released May 31th, 2013: + + Minor fixes. + + External toolchain wrapper fix for if host/usr/bin is placed + in the patch. + + Updated/fixed packages: acpid, at91bootstrap, czmq, elf2flt, + flex, jamvm, kmod, libplayer, libtirpc, libv4, + lttng-babeltrace, opengl, qt5jsbackend, udpcast, wvstreams + + Issues resolved (http://bugs.uclibc.org): + + #4868: Buildroot compile failure for toolchain/gdb-7.4/intl/reloc... + #4988: flex and m4 problems + #5912: obsolete CVS files + +2013.05-rc3, Released May 25th, 2013: + + Minor fixes. + + Updated/fixed packages: aircrack-ng, bellagio, boost, crda, + dvb-apps, flot, libatomic_ops, libeXosip2, libosip2, libxml2, + mongrel2, poco, portaudio, pptp-linux, tvheadend, urg, weston, + wireshark + +2013.05-rc2, Released May 15th, 2013: + + Fixes all over the tree. + + Default number of parallel jobs is now number of CPUs + 1. + + Defconfigs: Add Telit EVK-PRO3, AT91SAM9260-EK Nand flash. + + Updated/fixed packages: aircrack-ng, busybox, cairo, + classpath, curlftpfs, czmq, dbus, f2fs-tools, fan-ctrl, + filemq, gst-plugin-bad, gutenprint, hplip, json-c, + libatomic_ops, libcurl, libdrm, libglib2, libnspr, libnss, + libsha1, libsigsegv, libxcb, linknx, linux-pam, lttng-modules, + lttng-tools, matchbox-lib, mcookie, mesa3d, neon, pixman, + pulseaudio, python-nfc, qt5imageformats, quota, openssl, + sconeserver, strace, sylpheed, wvstreams, + xapp_{appres,bdftopcf,beforelight,bitmap,edires,fonttosfnt}, + xapp_{fslsfonts,fstobdf,iceauth,ico,listres,luit,mkfontdir}, + xapp_{mkfontscale,oclock,rgb,rstart,scripts,sessreg,setxkbmap}, + xapp_{showfont,smproxy,twm,viewres,x11perf,xauth,xbacklight}, + xapp_x{biff,calc,clipboard,clock,cmsdb,cursorgen,dbedizzy,ditview}, + xapp_x{dm,dpyinfo,driinfo,edit,ev,eyes,f86dga,fd,fontsel,fs,fsinfo}, + xapp_x{gamma,gc,host,input-calibrator,input,kbcomp,kbevd,kbprint}, + xapp_x{kbutils,kill,load,logo,lsatoms,lsclients,lsfonts,mag,man}, + xapp_x{message,mh,modmap,more,pr,prop,randr,rdb,refresh,set,setmode}, + xapp_x{setpointer,setroot,sm,stdcmap,vidtune,vinfo,wd,wininfo,wud}, + xcb-util, xcursor-transparent-theme, xdata_xbitmaps, + xdata_xcursor-themes, + xdriver_xf86-input-{evdev,joystick,keyboard,mouse,synaptics}, + xdriver_xf86-input-{tslib,vmmouse,void}, + xdriver_xf86-video-{ark,ast,ati,cirrus,dummy,fbdev,geode,glide}, + xdriver_xf86-video-{glint,i128,intel,mach64,mga,neomagic,newport}, + xdriver_xf86-video-{nv,openchrome,r128,savage,siliconmotion,sis}, + xdriver_xf86-video-{tdfx,tga,trident,v4l,vesa,vmware,voodoo,wsfb}, + xfont_encodings, xfont_font-adobe-{100,75}dpi, + xfont_font-utopia-{100dpi,75dpi,type1}, + xfont_font-{alias,arabic-misc,bh-100dpi,bh-75dpi}, + xfont_font-bh-lucidatypewriter-{100,75}dpi, xfont_font-bh-{ttf,type1}, + xfont_font-bitstream-{100dpi,75dpi,type1}, xfont_font-cronyx-cyrillic, + xfont_font-{cursor,daewoo,dec,isas,jis,micro}-misc, + xfont_font-ibm-type1, xfont_font-misc-{cyrillic,ethiopic,meltho,misc}, + xfont_font-{mutt,schumacher}-misc, + xfont_font-{screen-cyrillic,sony-misc,sun-misc,util}, + xfont_font-winitzki-cyrillic, xfont_font-xfree86-type1, + xlib_lib{FS,ICE,SM,X11,XScrnSaver,Xau,Xaw,Xcomposite,Xcursor}, + xlib_libX{damage,dmcp,ext,fixes,font,ft,i,inerama,mu,pm,randr}, + xlib_libX{render,res,t,tst,v,vMC,xf86dga,xf86vm}, + xlib_lib{dmx,fontenc,pciaccess,pthread-stubs,xkbfile}, xlib_xtrans, + xproto_{applewm,bigreqs,composite,damage,dmx,dri2,fixes}proto, + xproto_{fontcache,font,gl,input,kb,randr,record,render}proto, + xproto_{resource,scrnsaver,video,windowswm,xcmisc,xext}proto, + xproto_{xf86bigfont,xf86dga,xf86dri,xf86vidmode,xinerama,x}proto, + xserver_xorg-server, xutil_{makedepend,util-macros} + + Readded Packages: xapp_xinit + + Issues resolved (http://bugs.uclibc.org): + + #5054: amd64: cannot find init - due to missing /lib64 folder + +2013.05-rc1, Released May 8th, 2013: + + Architectures: ARC support, Blackfin support, FLAT binary + format, ARM: Drop old CPU variants, add fa526/626, Marvell PJ4 + + Toolchains: Add new Microblaze external toolchains, Linaro + ARM/Aarch64 updates, GCC 4.6.4 / 4.7.3 / 4.8.0 added to + internal toolchain, default to GCC 4.7.x. Internal + Crosstool-ng backend deprecated. + + Defconfigs: Add Atmel at91sam9g45m10ek, freescale mpc8315erdb + & p1010rdb, Armadeus apf27 / apf28, Openblocks A6, Raspberry + pi, gnublin board. + + FS: LZO and XZ compression methods, extra ubifs options, + ext2 rev 0/1 and ext3/4 support. + + Patch handling: apply-patches now has .patch.xz support, + Patch logic reworked as discussed during Febrary dev days: + http://elinux.org/Buildroot:DeveloperDaysFOSDEM2013 + + -rsync now excludes version control files. + + linux: uImage load address for ARM multiplatform kernels + + Infrastructure for multiple OpenGL / ES / EGL / OpenVG + providers, similar to how libjpeg / libjpeg-turbo is handled. + + Infrastructure for packages to add system users. + + kconfig: updated to 3.9-rc2, support make olddefconfig + + Updated/fixed packages: alsa-lib, alsa-utils, apr, apr-util, + argp-standalone, at, at91bootstrap, audiofile, aumix, avahi, + bash, blackbox, bind, binutils, bison, boost, bridge-utils, + busybox, ccache, cifs-utils, cmake, collectd, connman, + conntrack-tools, cpanminus, crosstool-ng, diffutils, directfb, + directfb-examples, divine, dmalloc, dnsmasq, dosfstools, + dropbear, e2fsprogs, ebtables, eeprog, erlang, ethtool, + fb-test-app, fbset, feh, ffmpeg, file, flex, flot, foomatic, + fxload, gd, gdb, gdisk, genimage, gettext, gmp, gnuchess, + gnutls, gob2, gperf, gpsd, gstreamer, haserl, hiawatha, htop, + httping, icu, inotify-tools, intltool, iproute2, ipset, + iptables, iw, jpeg, jquery, jquery-{sparkline,validation}, + json-c, kbd, kexec, kismet, kmod, lcdproc, libarchive, + libatasmart, libcap, libconfig, libconfuse, libcurl, libdrm, + libeet, libev, libevas, libeXosip2, libffi, libfribi, libfuse, + libgcrypt, libglib2, libgtk2, libid3tag, libmicrohttpd, + libnetfilter_acct, libnetfilter_conntrack, libnl, libpcap, + libplayer, libsigc, libv4l, libxcb, linenoise, linux-pam, + lm_sensors, ltp-testsuite, luajit, lzop, madplay, make, mdadm, + mediastreamer, memtester, mesa3d, + mobile-broadband-provider-info, monit, mpd, mpfr, mpg123, + mrouted, msmtp, nbd, ncurses, ndisc6, neard, neardal, neon, + netperf, netsnmp, nettle, nfacct, ntfs-3g, ofono, olsr, + omap-u-boot-utils, openssh, openssl, openswan, openvpn, + oprofile, orc, patch, pciutils, pcre, perl, php, poco, + polarssl, proftpd, psmisc, pulseaudio, python, + python-{bottle,netifaces,serial,setuptools}, qt, quagga, + quota, radvd, rpi-firmware, rpi-userland, rt-tests, sam-ba, + samba, sawman, sdl, ser2net, smartmontools, socat, socketcand, + speex, squid, stress, stunnel, sudo, syslinux, sysstat, + sysvinit, tcl, tcprelay, tinyhttpd, tslib, tvheadend, + uboot-tools, udev, ulogd, util-linux, vala, vtun, webkit, + xapp_{iceauth,luit,makefontscale,sessreg,setxkbmap,smproxy}, + xapp_{xauth,xcmsdb,xdpyinfo,xev,xgamma,xhost,xinput,xkbcomp}, + xapp_{xkbevd,xlsatoms,xlsclients,xmodmap,xpr,xprop,xrandr,xrdb}, + xapp_{xset,xwd,xwininfo}, xcb-{proto,util}, + xdriver_xf86-input-{evdev,joystick,keyboard,mouse,synptics}, + xdriver_xf86-input-{tslib,vmmouse,void}, + xdriver_xf86-video-{ark,ast,ati,cirrus,dummy,geode,glide,glint}, + xdriver_xf86-video-{i128,intel,mach64,mga,neomagic,newport}, + xdriver_xf86-video-{openchrome,r128,savage,siliconmotion,sis}, + xdriver_xf86-video-{tdfx,trident,vesa,vmware,wsfb}, xenomai, + xfont, xinetd, xkeyboard-config, xlib_lib{FS,ICE,SM,X11}, + xlib_libX{scrnSaver,au,aw,cursor,dmcp,ext,fixes,font,ft,i}, + xlib_libX{inerama,mu,pm,randr,res,tst,v,vMC,xf86dga,xf86vm}, + xlib_lib{dmx,fontenc,pciaccess,xkbfile}, xlib_xtrans, + xproto_{applevm,bigreqs,dri2,fonts,gl,input,kbd,record}proto, + xproto_{resource,scrnsaver,xcmisc,xext,x}proto, + xserver_xorg-server, xutil_makedepend, xz, zeromq + + New packages: aircrack-ng, bcusdk, chrony, crda, + cryptodev-linux, cppzmq, czmq, dtach, enscript, exfat, + exfat-utils, f2fs-tools, fan-ctrl, filemq, foomatic-filters, + genimage, genpart, glibmm, gnuplot, gtest, gutenprint, hplip, + iozone, jansson, jhead, jquery-keyboard, jquery-ui, + jquery-ui-themes, json-glib, json-javascript, lcms2, libpfm4, + libpthsem, libserial, libsigsegv, libtasn1, libwebsockets, + libxkbcommon, libxml++, linknx, log4cxx, mongoose, mongrel2, + mtools, ne10, nmap, nodejs, openobex, openpgm, poppler, + protobuf-c, python-m2crypto, python-thrift, qjson, qt5base, + qt5declarative, qt5graphicaleffects, qt5imageformats, + qt5jsbackend, qt5multimedia, qt5quick1, qt5script, qt5svg, + qt5webkit qt5xmlpatterns, rapidjson, redis, swig, texinfo, + tzdata, urg, ussp-push, wayland, webp, weston, wireless-regdb, + wireshark, wvdial, wvstreams, xcb-util-image, xcb-util-wm, + xcursor-transparent-theme, zic, zmqpp, zyre + + Removed packages: microperl, ocf-linux, xapp_xinit, + xapp_xplsprinters, xapp_xprehashprinterlist, + xfont_font-bitstream-speedo, + xlib_lib{Xfontcache,XprintAppUtil,XprintUtil,Xp,oldX,xkbui}, + xproto_{print,xf86rush}proto + + Deprecated packages: vala + + Issues resolved (http://bugs.uclibc.org): + + #1291: Add support for Faraday 526 arm processor (fa526) + #2683: cups does not install correctly to target + #3313: mesa3d fails to build + #5186: initramfs/cpio should support lzo compression + #5636: agetty - cannot get controlling tty error - need updated... + #5906: collectd client headers not exported + #5966: bison unnecessarily required as build dependency + #6140: --enable-fileinfo not applied for php package + #6164: openvpn usage of ip tool from Busybox + +2013.02, Released February 28th, 2013: + + Misc manual updates. + + Updated/fixed packages: busybox, collectd, flashbench, + libgtk2, libupnp, mii-diag, quota + +2013.02-rc3, Released February 26th, 2013 + + Minor fixes. + + Updated/fixed packages: conntrack-tools, dialog, + enlightenment, haserl, keyutils, libfif, libmad, + linux-firmware, linux-fusion, matchbox-desktop, matchbox-wm, + ruby, spawn-fcgi, vtun + + Issues resolved (http://bugs.uclibc.org): + + #5960: fusion.ko driver does not install to target rootfs + +2013.02-rc2, Released February 19th, 2013 + + Fixes all over the tree. + + Various manual updates and fixes. + + Updated/fixed packages: busybox, collectd, gesftpserver, + glib-networking, gnutls, inotify-tools, libcurl, libffi, + libglib2, libtorrent, libvorbis, neard, network-manager, + ntfs-3g, openssl, qt, rpi-userland, rtorrent, thttpd, vim. + + Issues resolved (http://bugs.uclibc.org): + + #5906: collectd client headers not exported + +2013.02-rc1, Released February 10th, 2013 + + Toolchain: Crosstool-ng 1.17.0, default to GCC 4.6.3, target + libraries install fixed. Add Linaro ARM + 2012.11/2012.12/2013.01, AArch64 12.11/12.12/13.01. Sourcery + CodeBench MIPS 2012.03/09. Infrastructure to warn about + missing 32bit support for binary toolchains. Toolchain wrapper + is now relocatable. Add GDB 7.5.1 / Remove 6.8 / 7.0 / + 7.1. Deprecate uClibc 0.9.31. + + Architecture: Xtensa fixes, add missing powerpc variants, arm + 1136jf-s rev1, add A5/A15, neon support toggle, OABI + deprecated. Sparc: drop old unused variants + + Bootloaders: At91bootstap: fix upstream URL, Barebox: add + 2012.12/2013.01/2013.02, remove 2012.08/09/10, lzop fixes, + environment image support, U-Boot: add 2013.01.01 + + Linux: fix appended dtb handling for v3.8+ kernels, support + multiple device trees + + Defconfigs: calao USB-A9260, snowball, QEMU PPC440 on ML507 + board, QEMU ARM Exynos4210, Kernel version in QEMU defconfigs + updated, at91rm9200df: misc fixes. Lock kernel headers to + match kernel. + + Infrastructure: Git download fixes. Toolchain make target + renamed from 'cross' to 'toolchain'. Eclipse integration + support. Option to set root password, post image scripts, + config scripts handling. + + Updated/fixed packages: alsa-lib, argp-standalone, argus, + arptables, atk, audiofile, axel, beecrypt, bind, bison, + bluez_utils, boost, cairo, can-utils, bmon, boa, busybox, + cairo, ccache, cdrkit, cifs-utils, cjson, cmake, collectd, + connman, coreutils, cpanminus, cups, dbus, dhcp, dialog, + diffutils, directfb, distcc, divine, dnsmasq, docker, + dosfstools, dstat, e2fsprogs, ebtables, ed, empty, ethtool, + expedite, fbset, fbv, ffmpeg, flex, fltk, fluxbox, freetype, + gadget-test, gawk, gdb, genext2fs, gettext, giblib, + glib-networking, gmp, gmpc, gnupg, gnutls, gpsd, + gst-plugins-{bad,base,good}, gstreamer, gzip, haserl, hdparm, + heirloom-mailx, hiawanta, hostapd, icu, imagemagick, imlib2, + inadyn, infozip, iproute2, ipset, iptables, iw, jpeg, jquery, + jquery-sparklines, jqeury-validation, kismet, kmod, lame, + libao, libcap, libcurl, libdvdnav, libdvdread, libecore, + libedbus, libedje, libeet, libefreet, libeina, libeio, + liberation, libelementary, libembryo, libethumb, libev, + libevas, libffi, libfribidi, libfuse, libgcrypt, libglib2, + libgpg-error, libgtk2, libhid, libidn, libmicrohttpd, libmpd, + libnl, libnspr, libnss, libogg, libpcap, libplayer, libpng, + libroxml, librsvg, libseccomp, libsigc, libsndfile, libungif, + libupnp, liburcu, libusb-compat, libvncserver, libvorbis, + libxml2, libxslt, lighttpd, links, linux-firmware, + linux-fusion, ltp-testsuite, ltrace, + lttng-{babel,libust,modules,tools}, lvm2, lua, luajit, lzop, + matchbox-{desktop,lib}, mdadm, metacity, midori, minicom, mpd, + mpfr, mplayer, mtd, mysql_client, ncurses, neon, netatalk, + networkmanager, nspr, ntfs-3g, nuttcp, ofone, olsr, openssl, + openvpn, opkg, oprofile, opus, opus-tools, orc, ortp, pango, + pciutils, pcmanfm, pcre, pcsc-lite, perl, php, pixman, + pkgconf, polarssl, pptp-linux, proxychains, pulseaudio, + python, python3, qemu, qextserialport, qt, quagga, radvd, + readline, rng-tools, rt-tests, rubix, ruby, sam-ba, samba, + sane-backends, sconeserver, scons, screen, sdl, sdl_gfx, + sdl_mixer, sdl_ttf, sdparm, sed, ser2net, smartmontools, + speex, sqlite, squid, sshfs, strace, sudo, sylpheed, tn5250, + taglib, tar, torsmo, transmission, tslib, uboot-tools, ulogd, + usb_modeswitch, util-linux, valgrind, vim, vsftpd, wavpack, + webkit, wipe, wireless_tools, wpa_supplicant, xapp_xinit, + xapp_xinput-calibrator, xapp_xman, xapp_xmh, xlib_libX11, + xlib_libXdmcp, xlib_libXft, xlib_libpthread-stubs, + xlib_xtrans, xproto_xcmiscproto, xproto_xextproto, + xserver_xorg-server, xstroke, xvkbd, xz + + New packages: b43-firmware, b43-fwcutter, bustle, + cache-calibrator, cegui06, celt051, classpath, curlftpfs, + dvb-apps, dvbsnoop, elfutils, enlightenment, firmware-imx, + flashbench, gd, gesftpserver, gst-fsl-plugins, httping, iftop, + imx-lib, jamvm, jpeg-turbo, keyutils, libatasmart, libcofi, + libebml, libevas-generic-loaders, libfslcodec, libfslparser, + libfslvpuwrap, libgsasl, libiscsi, libmatroska, libmcrypt, + libmhash, libqwt, libseccomp, libsha1, linenoise, mcrypt, + media-ctl, ncdu, neard, neardal, nettle, perf, polkit, + proxychains, python-bottle, python-pyparsing, rpi-firmware, + rpi-userland, sg3_utils, slirp, snowball-hdmiservice, spice, + spice-protocol, tcllib, tvheadend, udisks, usbredir + ux500-firmware, vde2, xcb-utils-keysyms, yavta, + zd1211-firmware + + Removed packages: customize, xdriver_xf86-input-{acecad,aiptek}, + xdriver_xf86-video-{apm,chips,i740,rendition,s3,s3virge,sisusb}, + xdriver_xf86-video-sun{cg14,cg3,cg6,ffb,leo,tcx}, + xdriver_xf86-video-{tsend,xgi,xgixp} + + Deprecated packages: xstroke + + Issues resolved (http://bugs.uclibc.org): + + #4237: building shared openssl w/-Os fails due to gcc bug + #5690: python3 does not obey to BR2_PACKAGE_PYTHON3_PYC_ONLY=y + #5602: python3 should install a "python" symbolic link + #5846: Extra slash added to last slash in URL + +2012.11.1, Released January 3rd, 2013: + + Toolchain: Fixed non-largefile builds on recent Ubuntu + versions. + + Arch: fix missing x86/generic handling, Build for Xtensa with + longcalls option. + + Updated/fixed packages: dosfstools, qt + +2012.11, Released December 2nd, 2012: + + Git shallow clone fix for older git version. + + Updated/fixed packages: ctuio, libtool + + Issues resolved (http://bugs.uclibc.org): + + #5726: List all the available hook points + +2012.11-rc2, Released November 30th, 2012: + + Minor fixes around the tree. + + Various manual updates and fixes. + + Add checks for legacy features. + + Updated/fixed packages: acpid, alsa-lib, arptables, binutils, + busybox, ccache, cjson, cramfs, directfb, flex, fluxbox, gdb, + hiawatha, igh-ethercat, imagemagick, imlib2, lcdproc, + libdaemon, libecore, libhid, libmad, libpcap, libsigc, libusb, + linux-fusion, matchbox, ocf-linux, owl-linux, python, rrdtool, + scons, strace, sylpheed + + Issues resolved (http://bugs.uclibc.org): + + #5732: Error : package/alsa-lib/alsa-lib.mk + +2012.11-rc1, Released November 17th, 2012 + + Fixes all over the tree and new features. + + Defconfigs: use u-boot 2012.10 on at91 and beaglebone, + sheevaplug + qemu: bump kernel version, add qemu-mips64-malta + + nitrogen6x defconfigs. + + Bootloaders: add u-boot 2012.07/10, ais target format, add + barebox 2012.08/09/10/11, linker overlap issue fix for + at91bootstrap, mxs-bootlets updated for new Barebox versions. + + Toolchains: binutils 2.23.1, gcc 4.7.2, default to gcc 4.6.x, + Codebench arm/sh/x86 2012.03/09, Linaro 2012.08/09/10. + Libtirpc support for modern glibc variants. Toolchain on + target has been deprecated. + + Initial Aarch64 support, Xtensa support re-added. + + Infrastructure: Use shallow git clone when possible, use + tarballs rather than git URLs for github. Moved to pkgconf + rather than pkg-config. System directory added, default + skeleton/device tables moved. More than 1 post-build script + can now be used. output/target now contains a + THIS_IS_NOT_YOUR_ROOT_FILESYSTEM warning, to help people + understand how to (not) use it. + + Manual has been reworked and extended. + + Legal-info: Lots of package annotations, CSV file fixes, + _LICENSE / _REDISTRIBUTE splitup, per-package hooks. + + Updated/fixed packages: acpid, alsa-lib, alsa-utils, + alsamixergui, attr, autoconf, automake, bash, bind, binutils, + bison, blackbox, bluez-utils, busybox, cairo, can-utils, + cifs-utils, cjson, cmake, collectd, connman, conntrack-tools, + coreutils, cups, cvs, dbus, dhcp, directfb, dmalloc, dnsmasq, + dropbear, e2fsprogs, ethtool, fbdump, feh, fftw, file, + flashrom, fluxbox, gdb, gdisk, gdk-pixbuf, genext2fs, gettext, + gnutls, gpsd, gqview, grep, gsl, gst-plugins-{bad,good}, + hdparm, hiawatha, hostapd, input-tools, iproute2, ipset, + iptables, iw, json-c, kexec, kmod, lcdproc, leafpad, less, + libcurl, libdrm, libdvdnav, libdvdread, libffi, libfuse, + libglib2, libhid, liblockfile, libmad, libmbus, libmnl, + libnetfilter_{acct,conntrack,cthelper,cttimeout,queue}, + libnfc, libnfc-llcp, libnfnetlink, libnl, libnspr, libnss, + libpcap, libplayer, libtool, libtorrent, liburcu, libv4l, + libxcb, libxml2, libxslt, links, linux-firmware, lm-sensors, + lmbench, lockfile-progs, logrotate, lshw, lsof, + lttng-babeltrace, lttng-tools, lua, luajit, mesa3d, microperl, + mii-diag, module-init-tools, mpc, mpd, mpg123, mplayer, + mtd-utils, mysql_client, nbd, ncurses, netatalk, netkitbase, + netkittelnet, netsnmp, newt, nfs-utils, openntpd, openssh, + openssl, opkg, patch, pciutils, pcre, php, poco, polarssl, + popt, portmap, pppd, procps, pulseaudio, python, python-nfc, + python-protobuf, qt, quota, rp-pppoe, rtorrent, sam-ba, samba, + scons, sdl_gfx, smartmontools, sqlite, squid, strace, sudo, + sylpheed, tcpdump, tremor, ttcp, tiff, unionfs, + usb_modeswitch, usbutils, util-linux, vala, valgrind, vpnc, + vsftpd, webkit, wget, which, wpa_supplicant, x11vnc, xapp_*, + xdriver_*, xenomai, xfont_*, xinetd, xl2tp, xlib_*, xlsclient, + xproto_*, xserver_xorg-server, xutil_util-macros, xz, zeromq + + New packages: arptables, at91bootstrap3, boot-wrapper-aarch64, + ccid, cpanminus, cpuload, erlang, evtest, fb-test-apps, + fxload, gdbm, gnupg, googlefontdirectory, grantlee, gsl, + lcdapi, liblo, liblog4c-localtime, libtirpc, linux-pam, + lua-msgpack-native, macchanger, mtdev, mtdev2tuio, nfacct, + opus, opus-tools, pcsc-lite, perl, pkgconf, python-meld3, + python3, qemu, qextserialport, qtuio, rpcbind, schifra, + sconeserver, supervisor, time, ulogd, usb_modeswitch_data, + yasm + + Deprecated packages: netkitbase, netkittelnet + + Issues resolved (http://bugs.uclibc.org): + + #807: [PATCH] samba - make iconv and smbd optional + #3049: binutils have a sysroot bug in ld + #5330: update vsftpd to 3.0.0 + #5486: libglib2 build fails on: libs/libglib-2.0.so: undefined... + #5666: Fails to build python 2.7.2 for 2440 arm + +2012.08, Release August 31th, 2012 + + Updated/fixed packages: microperl, cups, luajit, rrdtool, + prboom, oprofile. + + Added license information for: sqlite. + + Changed the source URLs of all packages located on Sourceforge + in order to use the automatic mirror selection URL + downloads.sourceforge.net, and get rid of the + BR2_SOURCEFORGE_MIRROR option. + +2012.08-rc3, Released August 25th, 2012 + + Updated/fixed packages: libglib2, netsnmp, freetype, libfuse, + libpng, x11vnc, zlib, gpsd, ifplugd, bash, distcc. + + Added license informations for: barebox, grub, syslinux, + uboot, xloader, yajl, zlib, zxing, alsa-lib, alsa-utils, + faad2, nano, fbdump, rsync, librsync, fontconfig, + inotify-tools, + +2012.08-rc2, Released August 15th, 2012 + + Updated/fixed packages: imagemagick, sudo, crosstool-ng. + + Added license informations for: mxml, nanocom, empty, expat, + lua, lucjson, xinetd, cjson, luaexpat, lmbench, bwm-ng, + input-event-daemon, luajit, cgilua, copas, coxpcall, + luafilesystem, luasocket, rings, wsapi, xavante, libtpl, + avahi, busybox, libfcgi, ifplugd, libcgicc, libcurl, + libdaemon, libdnet, libgpg-error, libpcap, libpng, lighttpd, + mtd, openssl, psmisc, socat, spawn-fcgi. + + Fixes to Microblaze external toolchains + configuration. Improvements of the pkg-stats + script. Out-of-tree fix for the graph-depends script. + + Kernel headers version bump. + +2012.08-rc1, Released August 1st, 2012 + + Fixes all over the tree and new features. + + Integration of a legal information reporting infrastructure, + which allows to generate detailed informations about the + licenses and source code of all components of a system + generated by Buildroot. License information will progressively + be added on packages. + + Default configuration files added for Calao-systems USB-A9263 + and Calao-systems USB-A9G20-LPW. + + External toolchains update: allow download of a custom + toolchain, add Linaro 2012.05 and 2012.06 for ARM, add + Blackfin toolchain 2012R1-BETA1, add Sourcery CodeBench MIPS + 2011.09. + + Allow the restriction of downloads to the primary site only. + This is useful for project developers who want to ensure that + the project can be built even if the upstream tarball + locations disappear. + + Add a 'System configuration' choice to select between 3 + different init systems: Busybox init, SysV init and Systemd + init. + + Cleanups to the package infrastructure. The visible change to + developers is that $(eval $(call AUTOTARGETS)) is now $(eval + $(autotools-package)), and similarly for other package + infrastructures and host packages. Refer to the documentation + for details. + + By default, automatic detection of the number of compilation + jobs to use, depending on the number of CPUs available. + + Improvements to generate systems with static libraries only + (infrastructure and package fixes). + + Add proper support in the Linux kernel package to generate + Device Tree Blobs or combined Device Tree / Kernel + images. This will be useful on Microblaze, PowerPC and ARM, + which are architectures making extensive use of the Device + Tree. + + Updated/fixed packages: audiofile, autoconf, automake, axel, + barebox, bash, beecrypt, berkeleydb, bind, bison, bluez_utils, + bonnie, boost, busybox, bsdiff, bwm-ng, bzip2, cifs-utils, + cgilua, cmake, connman, conntrack-tools, crosstool-ng, cups, + dbus, dhcp, dnsmasq, e2fsprogs, eeprog, ethtool, faad2, fbv, + ffmpeg, freetype, gmp, gnutls, gob2, gpsd, grep, + gst-plugins-base, gst-plugins-good, gzip, hiawatha, hostapd, + htop, icu, igh-ethercat, imagemagick, input-tools, iostat, + iproute2, ipset, iptables, iw, kmod, less, libcap, libgci, + libconfig, libcurl, libelf, libevas, libeXosip2, libexif, + libfuse, libidn, libmad, libmbus, libmnl, + libnetfilter-conntrack, libnl, libnspr, libnss, libogg, + libosip2, libpcap, libpng, libroxml, liburcu, libusb, libxml2, + libxslt, lighttpd, linux, ltrace, lttng-libust, lttng-modules, + lttng-tools, lua, m4, memtester, midori, mii-diag, + module-init-tools, mpfr, mpg123, mrouted, msmtp, mtd, mxml, + mysql_client, nasm, nbd, ncurses, nfs-utils, opencv, openocd, + openssl, pciutils, php, polarssl, portaudio, pppd, + pthread-stubs, pulseaudio, qt, quagga, quota, radvd, rpm, + rrdtool, samba, sam-ba, scons, sdl_gfx, sdl_sound, speex, + sqlite, squashfs, squid, sudo, synergy, syslinux, systemd, + tar, tcpdump, tcpreplay, udev, usbutils, valgrind, wget, + wpa_supplicant, wsapi, xavante, xserver_xorg-server, zlib + + New packages: cjson, collectd, dfu-util, dmidecode, elftosb, + fbterm, flashrom, freerdp, inadyn, libfreefare, + libnetfilter_cttimeout, libnfc, libnfc-llcp, liboping, + libtorrent, linphone, logsurfer, lshw, luacjson, luaexpat, + luajit, mediastreamer, mobile-broadband-provider-info, monit, + mxs-bootlets, nanocom, nss-mdns, ofone, omap-u-boot-utils, + opkg, ortp, owl-linux, python-id3, python-nfc, quota, + ramspeed, rtorrent, sound-theme-borealis, + sound-theme-freedesktop, sysprof, webrtc-audio-processing, + xinetd, zxing + + Issues resolved (http://bugs.uclibc.org): + + #1315: Allow use of older external toolchains without sysroot + support [won't fix] + #5276: Hiawatha needs to manage IPV6 if so [fixed] + #5360: buildroot fails when building "host-libglib2 2.30.2 + Building" [won't fix, upstream problem] + #5384: Can't build packages relying on gets on newer glibc + [fixed] + +2012.05, Released May 30th, 2012: + + Updated/fixed packages: busybox, netsnmp, pptp-linux + +2012.05-rc3, Released May 25th, 2012: + + Minor fixes around the tree. + + Infra: Fix for DOWNLOAD macro when using primary mirrors with + scp targets. + + Toolchain: Kernel headers 3.2.18 / 3.3.7. + + Updated/fixed packages: binutils, bison, busybox, cifs-utils, + gnuchess, gpsd, iperf, libmpeg2, mtd, ntfs-3g, oprofile, + xserver-xorg + +2012.05-rc2, Released May 18th, 2012: + + Fixes all over the tree. + + Toolchain: uClibc: Use 0.9.33.2, Crosstool-ng: fix gperf + dependency, disable decimal floats support, Linux 3.2.17 / + 3.3.6 kernel headers. Fix sysroot copy handling for toolchains + without C++ support. + + Updated/fixed packages: apr, apr-util, ccache, dnsmasq, + heirloom-mailx, gdb, ndisc6, opencv, openssl, socat, vala + +2012.05-rc1, Released May 10th, 2012: + + Fixes all over the tree and new features. + + Use /etc/os-release for version info rather than + /etc/br-version. + + CMake toolchain file moved to $HOST_DIR/usr/share/buildroot. + + Apply-patches.sh: cleanups, archived patches handling fixes, + support series files. + + Defconfigs: beaglebone, mx53qsb, pandaboard, qemu configs for + arm-vexpress/microblaze/ppc-mpc88544ds, use 3.2.x for + atngw100, use 3.3.x for qemu configs. + + Menu structure: Libraries moved out of multimedia section + + Atom processor support. Prescott fix, blackfin ABI fix, + Microblaze architecture support (using ext toolchain). Cleanup + architecture names, deprecate Xtensa support. + + Toolchain: Add GCC 4.4.7, 4.6.3, 4.7.0. uClibc 0.9.33.1, + default to uClibc 0.9.33.x, enable + UCLIBC_SUPPORT_AI_ADDRCONFIG by default, static and 64bit + fixes for external toolchains, linaro ext toolchains, new + sourcery codebench ext toolchains, GDB 7.4.1, crosstool-ng + 1.15.2. + + Bootloaders: U-Boot: add 2012.04.01, SPL and u-boot.img + support. Barebox: add 2012.04, remove 2011.12. + + Updated/fixed packages: alsa-lib, alsa-utils, at, atk, avahi, + barebox, berkeleydb, bind, bluez_utils, boost, busybox, + can-utils, ccache, cifs-utils, coreutils, cups, dbus, dhcp, + directfb, dnsmasq, doom-wad, dosfstools, e2fsprogs, expat, + fakeroot, feh, ffmpeg, file, fis, freetype, gamin, gawk, + gdk-pixbuf, gettext, giblib, glib-networking, gmp, gnutls, + gpsd, grep, gstreamer, gst-plugins-{bad,base,good,ugly}, + haserl, hdparm, imagemagick, iproute2, iptable, iw, kexec, + kmod, lame, libaio, libarchive, libatomic_ops, libconfig, + libcurl, libdvdnav, libdvdread, libedbus, libethumb, libffi, + libfuse, libglib2, libgtk2, libhid, libmad, libmbus, libmpeg2, + libnl, libplayer, libpng, libsigc, libsoup, libupnp, liburcu, + libusb, libusb-compat, libxml2, libxml-parser-perl, libxslt, + lighttpd, linux-firmware, linux-fusion, lite, lsof, ltrace, + lttng-libust, lua, m4, makedevs, microperl, mpd, mpfr, mpg123, + mrouted, mtd, mysql_client, nbd, ncftp, ncurses, neon, + netsnmp, network-manager, nfs-utils, ngrep, ntfs-3g, openntpd, + openssh, openssl, parted, pango, pcre, php, pixman, poco, + psmisc, pulseaudio, python, qt, quagga, radvd, rpm, rsync, + ruby, samba, sam-ba, sane-backends, sawman, screen, sdl_net, + smartmontools, speex, sqlite, squashfs3, squid, sshfs, sudo, + syslinux, sysstat, taglib, tcpdump, tftp-hpa, transmission, + tiff, tinyhttpd, uboot-tools, udev, uemacs, unionfs, usbutils, + util-linux, vala, valgrind, vim, vsftpd, wget, wipe, + wpa_supplicant, xdriver_xf86-{input-vmmouse,video-fbdev}, + xfsprogs, zlib + + New packages: apr, apr-util, audiofile, bellagio, + conntrack-tools, empty, fmtools, glib-networking, + heirloom-mailx, hiawatha, latencytop, lcdproc, libcap-ng, + libdmtx, libfcgi, libnetfilter_conntrack, libnfnetlink, + libtpl, localedef, minicom, msmtp, ndisc6, netatalk, + ocf-linux, openswan, parted, polarssl, protobuf, read-edid, + socketcand, stress, systemd, ushare, zeromq + + Deprecated packages: ttcp + + Removed packages: ntfsprogs + + Issues resolved (http://bugs.uclibc.org): + + #2353: [lua] fix build with 2010.08-rc1 + #2503: Microperl fails build on MIPSel or with Fedora13.x86_64 + #2557: [PATCH] mkfs.xfs complains about missing libxfs.so.0 + #2881: Can't build project statically with external toolchain + #3751: MIPS: fix BR2_GCC_TARGET_ABI for MIPS n64 + #4808: ccache may build against wrong zlib + #4880: New package lcdproc + #4886: New package protobuf + #4892: build fails on ltp-testsuite-20101031/testcases/kernel/fs/... + #4898: * make: [target-finalize] Error 1 (ignored)* + #4985: Qt 4.7.4 build crashes with Linux 2.6.29 + #4970: udev 181 fails to build if kernel version 3.3 is selected + #5018: dialog broken: exits with assert in uClibc + #5102: qt package moc, uic, rcc read from wrong place + #5144: Patch to fix ixon bug in uemacs + #5198: Line graphics output is broken in GNU Screen + #5204: Missing terminfo file(s) for GNU screen terminal type + +2012.02, Released February 29th, 2012: + + Updated/fixed packages: libecore + +2012.02-rc3, Released February 27th, 2012: + + Fixes all over the tree. + + Automatic host dependencies handling for cmake packages + fixed. Customize package deprecated as using a post-build + script is nowadays the preferred way of adding extra stuff to + the rootfs. + + Linux-headers 3.0.x / 3.2.x stable version bumped. + + QEMU defconfigs updated to 3.2.x kernels and readme fixed. + + Updated/fixed packages: dropbear, ffmpeg, libpng + +2012.02-rc2, Released February 19th, 2012: + + Fixes all over the tree. + + Toolchain: uClibc: Added upstream post-0.9.33 fixes, Bump + linux-headers 3.0.x / 3.2.x stable versions. + + Documentation: Added makedev / _DEVICES / + _PERMISSIONS documentation. + + Updated/fixed packages: busybox, ffmpeg, gst-dsp, libecore, + libvncserver, mxml, python. + +2012.02-rc1, Released February 12th, 2012: + + Fixes all over the tree and new features. + + Toolchain: Default to GCC 4.5.x, add binutils 2.22. Java + support removed, Powerpc SPE ABI support. GDB ELF support fix, + GDB 7.4, crosstool-NG 1.13.4. + + Gentargets: scp and mercurial support. + Autotools: derive host dependencies from target by default. + Packages can now declare device table snippets. + + Host utilities menu with commonly used host tools. + + defconfigs: qemu configs for x86-64, mips and sparc, at91 + defconfigs now use modern U-Boot / mainline Linux, added + lpc3250 defconfigs. + + uClibc: remove 0.9.30, backport unshare() support, add + 0.9.32.1 / 0.9.33, use same config for ctng. + + Bootloaders: U-Boot: add 2011.12, remove 2010.xx versions, + Barebox: add 2012.01/02, remove 2011.10/11, LPC32xx + bootloaders added. + + Various manual updates. Release tarballs now contain generated + manual in text/html/pdf formats. + + Buildroot now calls the stop function of scripts in + /etc/init.d at shutdown. + + Updated/fixed packages: atk, avahi, barebox, bash, beecrypt, + bind, binutils, bison, bluez_utils, bzip2, busybox, cairo, + ccache, cdrkit, coreutils, cramfs, dbus, dbus-glib, dialog, + diffutils, dmalloc, dropbear, e2fsprogs, ebtables, ed, + ethtool, expat, ffmpeg, file, fis, flex, fluxbox, fontconfig, + freetype, gawk, grep, gst-dsp, gst-ffmpeg, gst-plugins-base, + hdparm, hostapd, htop, i2c-tools, icu, iproute2, ipsec-tools, + ipset, iptables, iw, jpeg, kismet, lame, libcap, libcgi, + libev, libeXosip2, libffi, libftdi, libgpg-error, libgtk2, + libidn, libmms, libmnl, libmodbus, libnl, libogg, libosip, + libpcap, libpng, libraw1394, libroxml, libusb, libusb-compat, + libv4l, libvorbis, libxcb, libxml-parser-perl, libxslt, + lighttpd, links, lm-sensors, lua, m4, module-init-tools, mpc, + mesa3d, mpd, mpfr, mplayer, mtd-utils, nano, nbd, ncurses, + netperf, netsnmp, ntp, opencv, openocd, openssl, openvpn, orc, + pciutils, pcre, pixman, pkg-config, poco, popt, proftpd, + python, python-serial, qt, ruby, samba, sdl, sdparm, + squashfs3, sshfs, sqlite, squid, sudo, syslinux, tcl, tcpdump, + ti-utils, tiff, tremor, uboot, uboot-tools, udev, usbmount, + util-linux, vala, valgrind, vsftpd, wpa_supplicant, + xapp_{bdftopcf,mkfontdir,mkfontscale,xkbcomp,xcursorgen,xinit}, + xapp_xinput, xapp_xman, xcb-util, xdm, xenomai, + xf86-video-sis, xfont_{encodings,font-util}, + xlib_lib{fontenc,X11,Xau,Xcursor,Xdmcp,Xfixes,Xfont,Xrender}, + xlib_libxkbfile, xterm, xutil_makedepend, yajl + + New packages: boost, connman, dstat, expedite, explorercanvas, + feh, flot, giblib, igh-ethercat, imlib2, jquery, + jquery-sparklines, jquery-validation, jsmin, kmod, libecore, + libedbus, libedje, libeet, libeina, libelementary, libesmtp, + libethumb, libevas, libical, libmbus, liboauth, liburcu, + libvncserver, linux-firmware, + lttng-{babeltrace,libust,modules,tools}, NetworkManager, + open2300, python-distutilscross, python-dpkt, + python-netifaces, python-pygame, python-setuptools, rt-tests, + sam-ba, sane-backends, sqlcipher, transmission, unionfs, + xf86-input-tslib, xinput-calibrator + + Issues resolved (http://bugs.uclibc.org): + + #743: Add Transmission bit torrent option to buildroot + #755: Add Boost libraries as a package + #2299: Add crypto support to libsoup + #2617: Pixman 0.19.2 & Cairo 1.10.0 + #3403: libgpg-error: bump to version 1.10 + #3409: libgpg-error: download from gnupg.org + #3421: nano: make tiny flag optional + #3691: New EFL packages + #4664: Cannot patch AT91Bootstrap + #4700: setlocalversion not working for combination svn/ubuntu 11.10... + #4760: Qt: add host-pkg-config to dependency-list + +2011.11, Released November 30th, 2011: + + Fixes all over the tree. + + Bump kernel headers / default Linux version to 3.1.4. + + Updated/fixed packages: ruby + +2011.11-rc3, Released November 26th, 2011: + + Fixes all over the tree. + + Toolchain: Fix gdb dependencies for external toolchains, + adjust uClibc patches so they don't confuse modern versions of + patch, bump crosstool-ng, kernel headers and linux versions. + + Updated/fixed packages: busybox, freetype, mplayer, opencv, + php, rsyslog, ruby, thttpd, xapp_xf86dga + + Issues resolved (http://bugs.uclibc.org): + + #4357: Prevent patch commands from accessing source control + #4369: Fix permissions on untared lsof archive + +2011.11-rc2, Released November 18th, 2011: + + Fixes all over the tree and new features. + + Updated asciidoc documentation + + Toolchain: Bumped 3.x stable kernel headers, use wget in + crosstool-ng as well, bump crosstool-ng version, gdb fixes, + uClibc sparc fix. + + Updated/fixed packages: distcc, file, gst-plugins-bad, libxcb, + mplayer, newt, qt, rpm, rrdtool, tar, tftpd + + Issues resolved (http://bugs.uclibc.org): + + #3355: mplayer fails to build + #4021: uClibc: undefined reference to `__GI___errno_location' + #4297: Qt's qmake uses wrong pkg-config + +2011.11-rc1, Released November 11th, 2011: + + Fixes all over the tree and new features. + + Moved misc scripts and support stuff to support/. Renamed + patch-kernel.sh to support/scripts/apply-patches.sh. + + Documentation: Moved to asciidoc format, make targets to + generate text/html/pdf/epub output added. + + Defconfigs: Qemu configs updated to 3.1 kernel and readmes + added. + + Bootloaders: Add support for custom git tree / tarballs for + barebox, similar to how it's handled for u-boot. Clean up + menuconfig options. + + Toolchain: Update external codesourcery toolchain download + URLs after Codesourcery got bought by Mentor, add x86 + toolchain, update toolchain versions and optimize toolchain + sysroot copying. Fix uClibc 0.9.32 builds for e500 PPC, + updated GDB versions / download URLs. Binutils + libbfd/libopcodes static/dynamic linking fix. GCC 4.6.2 added, + use ctng-1.13.0. + + Package infrastructure: Support for local packages / + overrides, package dir / name arguments dropped from + {GEN,AUTO,CMAKE}TARGETS. + + Linux: Kernel extensions infrastructure support, Xenomai + + RTAI support. + + Updated/fixed packages: acpid, bind, busybox, dash, dbus, + dbus-glib, directfb, dnsmasq, drystone, e2fsprogs, ethtool, + fakeroot, fbdump, file, freetype, fuse, gamin, gmp, gmpc, + gnutls, gob2, gst-plugins-{base,bad,good,ugly}, gstreamer, + hostapd, ifplugd, imagemagick, intltool, ipsec-tools, ipset, + iptables, iw, jpeg, kexec, leafpad, less, libargtable2, libao, + libconfuse, libcuefile, libcurl, libdaemon, libevent, + libglib2, libiconv, libmpd, libreplaygain, libroxml, + libsamplerate, libsndfile, libsoup, libsvgtiny, libtool, + libxcb, lighttpd, links, linux-fusion, lite, lrzsz, lsof, lzo, + lzop, makedevs, mcookie, mpg123, mpd, mpfr, mtd, musepack, + mutt, mysql_client, ncftp, ncurses, neon, netcat, netsnmp, + ntfs-3g, ntfsprogs, ntp, openntpd, openssh, openssl, oprofile, + orc, pciutils, psmisc, python, qt, quagga, radvd, rpm, rsync, + samba, sawman, sdl_sound, smartmontools, sqlite, squid, + stunnel, sudo, sylpheed, sysstat, taglib, tar, tcpreplay, + tslib, usbutils, util-linux, valgrind, wget, whetstone, which, + wpa-supplicant, xdata_xcursor-themes, xmlstarlet, xterm + + New packages: bluez-utils, cifs-utils, fftw, fluxbox, json-c, + libev, libftdi, libgeotiff, libmodbus, libplayer, live555, + ngrep, noip, opencv, openocd, picocom, poco, portaudio, + pulseaudio, pv, rtai, vala, xenomai. + + Removed packages: liboil, sfdisk, swfdec, webif + + Issues resolved (http://bugs.uclibc.org): + + #505: live555: new package + #507: Enable live and tv options in MPlayer-1.0rc2 + #531: let e2fsprogs package to export headers to staging dir if needed + #1171: Linuxthreads new cannot find sysdep.h + #1357: Add bluez to buildroot system + #2107: New package: input-event-daemon + #2599: New package: orc (Oil Runtime Compiler) + #2605: gstreamer: Update to 0.10.30 + #2677: introducing util-linux-ng as replacement for util-linux + #2917: Qt: Add declarative module + #3145: jffs2 image generation fails + #3271: netperf-2.4.5 fails to compile + #3331: xdata_xcursor-themes depends on xcursorgen + #3343: Add file:// download SITE_METHOD + #3391: Add support for specifying an external kernel tree + #3631: Error while compiling with Xorg + #3709: oprofile doesn't build for mipsel + #3925: midori not getting compile + #4045: Add support for downloading i386 toolchains from codesourcery + #4165: lrzsz-fix-symlink-at-rebuild.patch + #4171: makedevs-unused-but-set-variable.patch + #4183: Codesourcery toolchain download site has changed + #4231: libneon.so: undefined reference to `SSL_SESSION_cmp' + #4381: Add option to lighttpd to enable Lua support + #4387: Make sure that dest dir exists before installing mtd files + +2011.08, Released August 31th, 2011: + + Fixes all over the tree. + + Toolchain: Fix codesourcery 2009q3 ARM download, Linux 3.0.4 + kernel headers. + + Updated/fixed packages: ipset, python + +2011.08-rc2, Released August 29th, 2011: + + Fixes all over the tree. + + Toolchain: crosstool-NG 1.12.1, use binutils 2.21 on + mips/sh/older uClibc, disallow uClibc 0.9.32 on avr32/sh + (broken). + + Defconfigs: kernel updates, fix mini2440 serial port config, + remove old arm toolchain configs. + + Bootloaders: Fix grub patching, add barebox-{n,x,menuconfig} + targets similar to linux/busybox. + + Updated/fixed packages: barebox, directfb, libsoup, + libxml-parser-perl, mtd, ncurses, python, ti-utils, udev, + usbmount, util-linux, xfont_font-misc-misc + + Issues resolved (http://bugs.uclibc.org): + + #3685: ncurses installation hangs due to old version of tic + #4093: Grub fails to install bz2 patch after conversion to... + +2011.08-rc1, Released August 4th, 2011: + + Fixes all over the tree and new features. + + Toolchain: uClibc 0.9.32 / NPTL support, 0.9.29 removed, + ext-toolchain-wrapper improvements, improved non-MMU + support. GCC 4.3.6 / 4.6.1. + + GENTARGETS infrastructure extended to cover bootloaders and + Linux kernel as well. Options to retrive Linux/U-Boot from a + custom git repo instead of upstream tarballs. + Support for Linux 3.x and release candidate tarballs. + X-Loader bootloader for omap added. + + Make source/external-deps now also works for external + toolchains / crosstool-ng backend. + + Updated/fixed packages: autoconf, berkeleydb, bind, binutils, + bmon, bridge-utils, busybox, cmake, dbus, dbus-glib, + e2fsprogs, ethtool, ffmpeg, gst-plugins-{bad,base,good,ugly}, + gvfs, hostapd, iproute2, iptables, iw, jpeg, lame, libarchive, + libdnet, libdrm, libgcrypt, libgtk2, libmpeg2, libpng, + libsoup, lighttpd, linux-fusion, lzo, midori, mtd-utils, + nfs-utils, openvpn, oprofile, orc, pkg-config, proftpd, qt, + ruby, samba, sdl, shared-mime-info, sudo, sqlite, squid, + synergy, udev, usbmount, usbutils, util-linux, valgrind, + webkit, xorg-xserver, xz, zlib + + New packages: acl, attr, ebtables, gnutls, inotify-tools, + ipset, libargtable2, libiqrf, libmnl, libnspr, libnss, + libroxml, libyaml, live555, mxml, orc, rsyslog, sredird, + statserial, stunnel, ti-utils, uboot-tools, yajl + + Deprecated packages: liboil, swfdec + + Removed packages: hal + + Issues resolved (http://bugs.uclibc.org): + + #3559: libnspr: Add new package + #3595: patch to add libroxml + #3565: libnss: Add new package + #3583: xfonts_font-adobe-100dpi fails due to missing map file + #3649: [PATCH] Add mapdir to existing pkg-config patch + #3907: 2011.05 - Qt 4.7.3 not building on ARM + #3961: Nfs-utils: Remove SUSv3-function index + #3985: "help" target's defconfig list needs sort + #3997: bump libroxml to v2.1.0 + +2011.05, Released May 27th, 2011: + + Updated/fixed packages: makedevs + +2011.05-rc2, Released May 24th, 2011: + + Fixes all over the tree. + + Toolchain: Code sourcery ARM 2009q1 download URL fixed / + 2009q3 external toolchains added. Crosstool-NG bumped to + 1.11.3, eglic/glibc configuration fixes. Linux kernel 2.6.38.x + bumped to 2.6.38.7. + + Updated/fixed packages: bind, fakeroot, kbd, psmisc, qt + +2011.05-rc1, Released May 18th, 2011: + + Fixes all over the tree and new features. + + External toolchain improvements: We now build a binary + toolchain wrapper and install it into HOST_DIR/usr/bin, which + enforces the correct compiler arguments, making an external + toolchain as easy to use outside of Buildroot as the internal + ones are. This also brought a cleanup of CFLAGS, making the + Buildroot build output easier to read. + + Rootfs device handling improvements: Choice between static + /dev, devtmpfs and devtmpfs with either mdev or udev. + + Toolchain: More preconfigured codesourcery external + toolchains, improved Crosstool-NG support, fix for GCC + snapshot versions, GCC 4.4.6 / 4.5.3, experimental GCC 4.6.0 + support, target-GCC fixes, uClibc fixes, 0.9.32-rc3 support. + + Bootloaders: U-boot 2011.03, Barebox 2011.05.0 + + Linux: support for custom kernel image targets, E.G. for + powerpc builds with embedded device trees. + + Misc fixes for qemu defconfigs, ensuring correct serial + terminal setup out of the box. + + Misc gentarget / autotools handling fixes. + + Updated/fixed packages: alsa-lib, alsa-utils, alsamixergui, + atk, avahi, bind, bison, busybox, copas, dbus-glib, dhcp, + dhcpdump, dnsmasq, dropbear, ethtool, fakeroot, ffmpeg, file, + gamin, gnuconfig, gst-ffmpeg, gst-plugins-good, gtk2-engines, + haserl, hostapd, icu, imagemagick, iproute2, iw, kismet, less, + libcap, libdnet, libglade, libglib2, libgtk2, libnl, libpng, + libxml2, libxml2, libxslt, lighttpd, lockfile-progs, makedevs, + midori, mpg123, mpc, mpd, mpfr, mplayer, mtd-utils, ncurses, + netsnmp, openssh, openssl, openvpn, pango, pkg-config, popt, + procps, proftpd, qt, quagga, readline, rsync, samba, sdl, + socat, squashfs, squid, sudo, tslib, udev, usbutils, webkit, + wpa_supplicant, xerces, xfont_font-misc-misc, xlib_libX11, + xlib_libXfont, xlib_xtrans, xorg-server, xterm, xz + + New packages: bonnie++, can-utils, gdisk, htop, + input-event-daemon, libexif, libraw, libv4l, ngircd + + Removed packages: festival + + Issues resolved (http://bugs.uclibc.org): + + #2131: Add OpenMP support to the toolchain + #3379: New Package: bonnie++ + #3445: Not working openssl-10.0.0d on 386sx + #3451: fakeroot package: wrong FAKEROOT_SITE variable + #3457: alsamixergui: broken URL + #3475: Calling sync on large filesystems when not always necessary + #3511: make busybox-menuconfig does not download busybox package + #3541: Quotes in the top Makefile:217 break buildroot/kernel config... + #3571: u-boot: fw_printenv does not build + #3643: popt source url is not responding + #3733: dropbear: make zlib optional + #3757: Buildroot can't build mplayer with libmad + +2011.02, Released February 28th, 2011: + + Fixes all over the tree. + + Updated/fixed packages: alsamixergui, avahi, ffmpeg, icu, mpd, + nuttcp, qt, slang, squashfs, sylpheed, synergy, xerces + + Deprecated packages: devmem2, webif + + Issues resolved (http://bugs.uclibc.org): + + #2911: Qt: Disable qt3support-option, if gui-module isn't selected + #3259: Unable to build webkit (on arm) + #3295: slang fails to build on mipsel + #3325: ffmpeg fails to build + +2011.02-rc2, Released February 24th, 2011: + + Fixes all over the tree. + + Festival packages marked as broken. Unless someone steps up + to support them, they will be removed during the 2011.05 + development cycle. + + Updated/fixed packages: atk, avahi, bind, cairo, dbus, + enchant, fakeroot, gmpc, gpsd, gvfs, iperf, jpeg, libarchive, + libcgicc, libdaemon, libdrm, libevent, libgail, libglib2, + libgpg-error, libmicrohttpd, librsvg, libsoup, libxcp, + makedevs, matchbox-fakekey, matchbox-startup-monitor, mdadm, + metacity, mpd, nasm, nfs-utils, olsr, openssl, popt, + pthread-stubs, quagga, rpm, samba, sdl, sdl_gfx, sdl_image, + sdl_mixer, sdl_sound, sdl_ttf, squashfs, synergy, taglib, + tcpreplay, tiff, wpa_supplicant, xcb-util, + xdriver_xf86-input-{acepad,aiptek,evdev,joystick,keyboard}, + xdriver_xf86-input-{mouse,synaptics,void}, + xdriver_xf86-video-{chips,dummy,geode,glide,intel,nv,wsfb}, + xlib_lib{ICE,SM,XScrnSaver,Xau,Xcursor,Xdmcp,Xi,Xinerama}, + xlib_lib{Xrandr,Xt,Xtst,Xxf86dga,Xxf86vm,dmx,fontenc,pciaccess}, + xserver_xorg-server, xz + + Removed packages: ace_of_penguins, vlc + + Issues resolved (http://bugs.uclibc.org): + + #3205: Failing chmod when running "make" in buildroot (openssl)... + #3277: quagga fails to build with SNMP support + #3283: See why nfs-utils needs fakeroot, and convert to autotools + #3307: synergy fails to build due to missing XTest library + +2011.02-rc1, Released February 14th, 2011: + + Fixes all over the tree and new features. + + External toolchain improvements: clarification of the options, + and introduction of the toolchain profile concept, for + well-known toolchains. Buildroot is now capable of + automatically downloading and extracting well-known toolchains + (for the moment, CodeSourcery ARM, PowerPC, MIPS and SuperH + toolchains are supported). Crosstool-NG backend updated and + improved. + + Complete rework of how hardware boards are supported. + Each board now only has a single defconfig file, and all + board-specific options have been removed. See + docs/buildroot.html#board_support for details. + + Added support for the following boards: Mini2440, Qemu ARM + Versatile, Qemu MIPSel Malta, Qemu PowerPC G3beige, Qemu SH4 + r2d and Qemu x86. The Qemu boards support allows to easily + build systems that are known to work under Qemu. + + Initial support for Blackfin processors. + + Staging directory moved into $(O)/host/usr//sysroot, in + preparation for support of SDK. For the same reason, the + toolchain binaries (cross-compiler and other related tools) + are now installed in $(O)/host/usr/bin/. The cross pkg-config + now also automatically returns correct values for cross + compilation, without needing any environment variables to be + set. + + Ccache support reworked. Now used for both host and target + compilation, and cache is stored in ~/.buildroot-ccache. + + Toolchain: uClibc 0.9.32-rc2, several components moved to + normal AUTOTARGET packages. + + Generic cmake infrastructure, similar to the existing + GENTARGETS/AUTOTARGETS. + + Support for bzr downloads, next to the existing git/svn support. + + Kconfig infrastructure rebased against 2.6.38-rc3, bringing + misc fixes. 'xconfig' now uses Qt4 rather than Qt3. + + EXT2 file system size handling improved, UBI image support, fs + configuration options cleanup, U-Boot/Barebox version bumps. + + Updated/fixed packages: alsa-utils, at, autoconf, automake, + bash, binutils, bison, busybox, bzip2, cdrkit, cloop, cmake, + coreutils, cups, dbus, dbus-python, dhcp, directfb, + direcfb-examples, dmalloc, dnsmasq, dosfstools, e2fsprogs, ed, + fbset, ffmpeg, findutils, flac, freetype, gdk-pixbuf, gmp, + grep, gperf, gst-ffmpeg, gst-plugins-bad, gst-plugins-base, + gst-plugins-good, gst-plugins-ugly, gstreamer, gvfs, hdparm, + hostapd, i2c-tools, icu, imagemagick, input-tools, iproute2, + iptables, iw, jpeg, kexec, libaio, libart, libcap, libconfig, + libfuse, libglib2, libidn, libmad, libogg, libpcap, libpng, + libsndfile, libtheora, libtool, libusb-compat, libvorbis, + libxcb, libxml2, libxslt, links, linux-fusion, lm-sensors, + lsof, ltp-testsuite, ltrace, lvm2, lzo, m4, makedevs, + memtester, mesa3d, mii-diag, mpc, mpfr, mpg123, mplayer, + mrouted, mtd-utils, nano, netperf, netplug, ntfs-3g, ntp, + openssh, openssl, openvpn, oprofile, pango, patch, pciutils, + php, pkgconfig, portmap, psmisc, python, qt, rsync, ruby, + sawman, screen, sdl_gfx, sdl_sound, smartmontools, socat, + sqlite, squid, sshfs, sstrip, sysklogd, sysstat, sysvinit, + tar, tcpdump, tslib, udev, usbutils, vim, vtun, webkit, wipe, + x11vnc, xapp_xlogo, xcb-proto, xfont_font-util, + xkeyboard-config, xlib_libX11, xz, zlib + + New packages: dhrystone, dsp-tools, faad2, fbgrab, gst-dsp, + gst-omapfb, irda-utils, lame, libao, libcue, libcuefile, + libffi, libhid, libreplaygain, libsamplerate, libsigc++, + lsuio, mpd, musepack, python-mad, python-serial, rsh-redone, + sdparm, tidsp-binaries, vorbis-tools, wavpack, whetstone, + xl2tp, xmlstarlet + + Removed packages: hotplug, l2tp, libfloat, microcom, + ng-spice-rework + + Issues resolved (http://bugs.uclibc.org): + + #267: The make target: cross fails because toolchain_build_... + #415: Berkeley DB: mut_pthread.o: relocation R_X86_64_32 against... + #561: ltp-testsuite failed to install + #1447: Installing gfortran on PowerPC + #1651: Build fail caused by ccache in module-init-tools + #1681: Cross-compiled binaries shouldn't be installed into staging + #1723: [PATCH] axel: convert to generic package infrastructure and... + #1735: [PATCH] mplayer: convert to autotools infrastructure + #2551: [PATCH] native toolchain in the target filesystem fails + #2623: buildroot-snapshot-20100922 fails when compiling development... + #2647: makedevs package lacks support for 16-bit major/minor numbers + #2371: QT MYSQL Module does not build when MySQL installed on the host + #2839: compile fails in various packages with a odd message "error:... + #2887: tar "buffer overflow detected" error + #2893: Broken "make source" with external toolchain + #2905: Qt: Speed up compilation, if gui-module isn't selected + #2929: genext2fs: couldn't allocate a block (no free space) + #2935: Ntpdate isn't installed + #2965: Broken linkage to xkbcomp (blocking X server startup) + #2983: xlib_libX11 build failed + #3007: kexec doesn't build: Missing regdef.h file + #3085: Init scripts are not compatible with sysVinit (when busybox... + #3103: make external-deps wants to download gcc-.tar.bz2 when... + #3109: abnormal `make busybox-menuconfig` + #3115: How about board specific makefiles? + #3169: python patch has typo, aborts build in scenario + #3181: dhcp.mk copies S80dhcp-server to etc/init.d, not etc/init.d/ + +2010.11, Released November 30th, 2010: + + Fixes all over the tree. + + Updated/fixed packages: libgcrypt, qt, squid, sysstat, tcpdump, + xserver-xorg + + Issues resolved (http://bugs.uclibc.org): + + #2773: squid with openssl support needs openssl on the host + #2857: OBJDUMP definition is missing from TARGET_CONFIGURE_OPTS + +2010.11-rc2, Released November 25th, 2010: + + Fixes all over the tree. + + Add support for LEON Sparc architecture variants. Fix make + source/external-deps for host packages. + + Updated/fixed packages: bash, bind, busybox, dialog, gpsd, + libglib2, libcurl, libmad, lrzsz, midori, module-init-tools, + mtd-utils, openssh, openssl, pciutils, php, qt, sqlite, + sysstat, webkit, zlib + + Issues resolved (http://bugs.uclibc.org): + + #759: Sysstat build broken without libintl + #2479: host-module-init-tools 3.11 fails to build + #2725: Buildroot overrides kernel config + #2785: mtd-utils build fails due to missing libmtd + #2791: Added PHP-Process Control to the PHP-Package + #2797: pciutils dependencies on zlib not taken into account + #2809: failed to compile libglib2 + #2821: [PATCH] Patch for JavaScriptCore in QtWebKit module + #2827: qt-4.7.0-pthread_getattr_np.patch invalid for qt 4.6... + #2833: Failed to compile webkit without X11 + +2010.11-rc1, Released November 8th, 2010: + + Fixes all over the tree and new features. + + Kconfig infrastructure rebased against 2.6.36-rc1, bringing + misc fixes + nconfig and savedefconfig targets. + + Toolchain: ARM cortex A9 support, experimental crosstool-ng + backend, GCC 4.5.x. + + Fs: Squashfs 4.1 with lzo support + + Old-style package hooks (*_HOOK_POST_*) removed. Use the more + generic new-style ones instead. + + Download handling reworked and support for git/svn downloads + added. + + Removed experimental shared config.cache support, as it is + too unreliable. + + A convenience Makefile wrapper is created when using + out-of-tree building, similar to how it is done for the kernel. + + Alpha, Cris, IA64 and Sparc64 architecture support removed. + + New packages: argp-standalone, gdk-pixbuf, gpsd, gst-ffmpeg, + libmpeg2, kbd, librsvg, nuttcp, rng-tools, rrdtool, xz + + Updated/fixed packages: acpid, alsa-lib, argus, at, autoconf, + automake, avahi, axel, beecrypt, berkeleydb, bind, bmon, boa, + bootutils, bridge-utils, bsdiff, busybox, cvs, dbus, directfb, + dmraid, docker, dosfstools, dropbear, e2fsprogs, ethtool, + expat, ezxml, fbset, fconfig, ffmpeg, freetype, gadgetfs-test, + gamin, gawk, genext2fs, gperf, gst-plugins-base, + gst-plugins-ugly, gtk2-themes, gtkperf, gvfs, haserl, hdparm, + hostapd, hwdata, ifplugd, imagemagick, iperf, ipsec-tools, + iproute2, iptables, iw, jpeg, kexec, kismet, less, libcgi, + libcurl, libdaemon, libdnet, liberation, libevent, libeXosip2, + libglade, libgtk2, libiconv, libidn, libintl, libmms, libmpd, + libnl, liboil, libosip2, libpcap, libpng, libtool, libungif, + libxml2, libxslt, lighttpd, lite, lm-sensors, lockfile-progs, + logrotate, m4, matchbox, mdadm, mesa3d, metacity, mplayer, + mtd-utils, mysql_client, nano, nbd, ncftp, neon, netperf, + netsnmp, ng-spice-rework, ntfsprogs, ntp, openntpd, openssh, + openssl, openvpn, oprofile, pango, patch, pcre, php, + pkg-config, portmap, pppd, pptp-linux, prboom, proftpd, radvd, + rdesktop, readline, rp-pppoe, ruby, qt, quagga, samba, sawman, + sdl_mixer, sdl_sound, sed, setserial, shared-mime-info, slang, + speex, sqlite, squashfs, startup-notification, strace, + sylpheed, sysstat, taglib, tcpdump, thttpd, tiff, tn5250, + torsmo, tslib, udev, udpcast, usbmount, usbutils, vsftpd, + vtun, which, wireless-tools, wpa_supplicant, xapp_twm, + xapp_xbacklight, xapp_xcursorgen, xapp_xinit, xapp_xinput, + xapp_xmore, + xdriver_xf86-input-{acecad,aiptek,evdev,joystick,keyboard}, + xdriver-xf86-input-{mouse,synaptics,vmmouse,void}, + xdriver-xf86-video-{apm,ark,ast,ati,chips,cirrus,dummy,fbdev}, + xdriver-xf86-video-{geode,glide,glint,i128,i740,intel,mach64}, + xdriver-xf86-video-{mga,neomagic,newport,nv,openchrome,r128}, + xdriver-xf86-video-{rendition,s3,s3virge,savage,siliconmotion}, + xdriver-xf86-video-{sis,sisusb,suncg3,suncg6,suncg14,sunffb}, + xdriver-xf86-video-{sunleo,suntcx,tdfx,tga,trident,v4l,vesa}, + xdriver-xf86-video-{vmware,voodeo,wsfb,xgi,xgixp}, + xkeyboard-config, xlib_libX11, xserver_xorg-server, xstroke, + xterm, xvkbd, zlib + + Deprecated packages: hotplug, lzma, ng-spice-rework, sfdisk + + Removed packages: dillo, libglib12, libgtk12, microwin, + pcmcia + + Issues resolved (http://bugs.uclibc.org): + + #901: new package: gpsd + #2389: Generate a Makefile wrapper in $(O) + #2461: wireless_tools: install shared library if needed + #2521: Can't compile sdl_mixer, mikmod.h can't be found + #2533: xserver_xorg-server: Enable glx, if mesa3d is built + #2563: [PATCH] cairo: Expose the configure option to disable some... + #2581: libmms: Update to 0.6, and patch to work on architectures... + #2707: Can't compile linux kernel using buildroot + crosstool-ng + #2731: Build order + #2737: buildroot configuration tool crashing when the path exceeds... + #2767: Build for lsof broken in buildroot-2010.08 + +2010.08: Released August 31th, 2010: + + Fixes all over the tree. + + Updated/fixed packages: atk, xstroke + + Removed packages: lxdoom + +2010.08-rc2, Released August 30th, 2010: + + Fixes all over the tree. + + Mark the combination of uClibc 0.9.31, gcc 4.2.x, C++ and + locale support as broken. Remove deprecated GCC 4.2.[1-3] + versions. + + Mark CRIS architecture as deprecated, as it is discontinued + upstream. + + Marked shared config.cache as experimental and disabled by + default as it is known to break with certain package + combinations. + + Toolchain: fixed gcc 4.2.x build after uClibc NPTL support got + added. + + fs: old-style squashfs for big endian archs fixed. + + Updated/fixed packages: busybox, gst-plugins-base, + imagemagick, kismet, libgail, libglib2, libgtk2, lua, + luafilesystem, lzo, ncurses, netcat, pango, php, pppd, + proftpd, qt, samba, startup-notification, swfdec, sysvinit, + util-linux + + Removed packages: stunnel + + Issues resolved (http://bugs.uclibc.org): + + #635: util-linux fails to build in 2009.08 + #2239: netcat package installs its binary to target as avr32-linux... + #2395: libglib2-2.24.1 and libxml2-2.7.7 fails build on MIPS because... + #2443: Initramfs: Don't overwrite $(TARGET_DIR)/init if it exists + #2449: Minor fixes for squashfs makefile and correct PowerPC e500 ... + +2010.08-rc1, Released July 30th, 2010: + + Fixes all over the tree and new features. + + Toolchain: GCC 4.3.5, older 4.3.x versions removed. GCC 4.1.2 + and non-sysroot support removed. Added support for (snapshot) + NPTL in uClibc, 0.9.28.3 removed, + + Bootloaders: Various cleanups, moved to boot/, added Barebox, + removed yaboot. Support building u-boot from custom tarball, + u-boot 2010.06. + + New GTK-based configurator, usable using 'make gconfig'. + + Java packages marked as broken. Unless someone steps up to + support this, they will be removed during the 2010.11 + development cycle. + + Alpha, IA64 and Sparc64 architectures marked as deprecated. + GTK+ on DirectFB has also been marked as deprecated, as it is + not supported in recent GTK+ versions, and more and more + packages depends on the new versions. + Unless someone steps up to support them, they will be removed + during the 2010.11 development cycle. + + New packages: cgilua, copas, coxpcall, ffmpeg, libsvgtiny, + libgail, luafilesystem, luasocket, rings, wsapi, xavante, xterm + + Updated/fixed packages: alsa-lib, alsamixergui, at, atk, + avahi, berkeleydb, bash, blackbox, busybox, bzip2, cairo, + cdrkit, cmake, dash, dhcp, dialog, diffutils, distcc, dmalloc, + dnsmasq, dropbear, e2fsprogs, fbv, file, flex, fontconfig, + gawk, gmpc, gnuchess, gst-plugins-base, gst-plugins-good, + gstreamer, gzip, icu, intltool, iostat, ipsec-tools, iptables, + iw, libart, libcgi, libcurl, libdrm, libeXosip, libfuse, + libglib2, libgpg-error, libiconv, libidn, liblockfile, libpng, + libsoup, lighttpd, links, linux-fusion, lmbench, lrzsz, + ltrace, make, midori, module-init-tools, mplayer, + mysql_client, nbd, ncurses, neon, netcat, netperf, netsnmp, + ntfsprogs, openssl, oprofile, pango, php, qt, quagga, samba, + setserial, sdl, sdl_mixer, sdl_sound, sdl_ttf, speech-tools, + sqlite, squashfs, swfdec, tftpd, thttpd, tn5250, tremor, + usbutils, webif, webkit, wireless_tools, xerces, + xkeyboard-config, xserver_xorg-server, xvkbd, zlib + + Removed packages: modutils, portage, rxvt + + Deprecated packages: dillo, libglib12, libgtk12, microwin, pcmcia + + Issues resolved (http://bugs.uclibc.org): + + #321: alsa-lib uses host include files for python which breaks ... + #361: linux kernel configuration choice works incorrectly + #387: Tremor not installed to toolchain + #401: new package: ffmpeg + #475: uImage target for U-boot failed generating + #543: ATK requires X11 on DirectFB target + #575: webkit: Buildroot Libtool Patch Fails + #583: build fails with external x86_64 toolchain + #729: sstrip creates corrupted headers + #829: Webkit r44552 needs libXt + #835: Package Dataflashboot-1.05 does not compile with buildroot... + #847: Compiling target-gcc v4.4 fails with "libc.so.0: cannot open... + #859: Add (head of) nptl branch to list of uClibc versions + #949: compile with debug info + #955: Grub fails to build with External Toolchain + #1051: Webkit doesn't compile (Linuxthreads new, x86) + #1213: Move .config into output directory + #1225: Buildroot fails to account for "nof" subdirectory (no float... + #1231: (sparc) Linux kernel fails to build + #1261: The getline() in output/build/linux-2.6.28/scripts/unifdef.c... + #1339: Busybox needs -fno-strict-aliasing to compile cleanly + #1393: neon config fails libxml/parser.h: libxml2 requires, but not ... + #1405: WebKit fails to build because pthread_getattr_np is not impl... + #1675: GMP Error during buildroot make process + #1741: external toolchain linking error + #1753: lmbench: convert to generic package infrastructure + #1771: Fakeroot and the target/generic/device_table.txt create bad... + #1807: LZMA 4.32.7, Required header file(s) are missing + #1813: xkeyboard-config fails to build because of intltool problem + #1879: Bump iptables to 1.4.8 + #1885: Add a bunch of lua modules + #1897: Bump libusb to 1.0.7 + #1903: Bump tn5250 to 0.17.4 and migrate to autotargets + #1909: netperf-2.4.5 fails to build because of undeclared SOCK_DCCP + #1927: Bump file to 5.03 and migrate to autotargets + #1933: Bump gawk to 3.1.8 and migrate to autotargets + #1945: PHP: add sqlite3 dependency when using external lib + #1951: Bump openssl to 0.9.8o + #1957: Bump sqlite to 3.6.23.1 + #1975: Package removal/deprecation + #1981: zlib: bump to 1.2.5 + #1987: intltool: Fix spelling mistake + #1993: Bump bash to 4.1.7(1) and migrate to autotargets + #1999: Typo in path checking + #2005: Bump dnsmasq to 2.55 and migrate to gentargets + #2035: ipsec-tools-0.7.2 fails to build with gcc-4.4.x + #2038: Bump ncurses to 5.7 + #2095: make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' + #2101: blackbox depends on locale support + #2119: Tries to build kernel, although disabled in config + #2125: libXfont build fail + #2143: buildroot compiler generates segfaulting statically linked exe.. + #2149: xterm build failure + #2155: Compression lzo don't set for ubifs + #2161: [SECURITY] Update libpng to 1.2.44 + #2167: Bump busybox to 1.17.0, convert to gentargets, drop 1.12, ... + #2181: pixman can't apply pixman-0.10.0-no-tests.patch + #2191: linux-fusion build fail + #2221: Qt does not compile (dependencies not taken into account?) + #2233: Atmel atstk target skeletons have /etc/mtab as a file, not ... + #2245: Netcat does not work due to incorrect assumptions about signed.. + #2251: directory output/build after make *_defconfig not found + #2257: Convert netsnmp package to autotargets + #2263: Bump samba to 3.3.13 + #2269: setserial causes make error + +2010.05, Released May 30th, 2010: + + Fixes all over the tree. + + Updated/fixed packages: coreutils, hal, libcap, + lockfile-progs, ncftp, xserver_xorg-server + + Issues resolved (http://bugs.uclibc.org): + + #1789: binutils fails to build for i386 + #1843: Fix libcap build failure + #1855: XORG Keyboard driver fails to compile + +2010.05-rc3, Released May 27th, 2010: + + Fixes all over the tree. + + Updated/fixed packages: aumix, atk, avahi, bmon, busybox, cairo, + cdrkit, dbus-glib, dbus-python, docker, enchant, fltk, gamin, + gettext, gmpc, gob2, grep, gstreamer, gst-plugins-bad, + gst-plugins-base, gvfs, hal, iconv, icu, iperf, libcgicc, + libdvdnav, libdvdread, libglade, libglib2, libgtk2, libidn, + libmms, libmpd, libpcap, libsoup, lmbench, lsof, ltrace, lvm2, + make, metacity, microperl, mtd-utils, mutt, nbd, netsnmp, + ntfsprogs, ntp, olsr, pango, pciutils, pcmanfm, php, + pkg-config, psmisc, qt, samba, shared-mime-info, squashfs, + squashfs3, sshfs, startup-notification, swfdec, sylpheed, + uemacs, util-linux, valgrind, vpnc, vsftpd, webkit, xstroke + + Issues resolved (http://bugs.uclibc.org): + + #75: arm buildroot "unrecognized option" error + #699: Buildroot fails to copy libstdc++ to target when using external... + #1693: NTP trys IPV6 even if not configured error: 'IPV6_MULTICAST... + #1729: alsamixergui fails to build + #1801: Avahi-autoipd doesn't create TARGET_DIR/var/lib + #1819: pciutils small bugs + #2065: Internal toolchain: bump gcc 4.3.x series to 4.3.5 + +2010.05-rc2, Released May 11th, 2010: + + Fixes all over the tree. + + Updated/fixed packages: busybox, customize, gawk, gnuchess, + hal, hostapd, less, libgcrypt, libnl, libxcb, linux-fusion, + ltp-testsuite, mplayer, netplug, pciutils, php, sed, + shared-mime-info usb_modeswitch, usbutils, vlc wpa_supplicant, + xapp_bdftopcf, xapp_mkfontdir, xdriver_xf86-video-openchrome, + xfont_encodings, xlib_libX11, xlib_libXfont, xlib_xtrans, + xproto_fontcacheproto, xproto_fontsproto, xvkbd + + Removed packages: vice + + Issues resolved (http://bugs.uclibc.org): + + #849: "customize" package copies files to wrong place in target tree + #985: Bump usb_modeswitch package to 1.1.0 + #1135: Package customize. Wrong copying + #1525: Package hal deletes a whole /etc/rc.d directory + #1531: libxcb 1.5 build fails, due to missing xcbgen Python module + #1669: Busybox failed to compile when using an external toolchain + #1699: Fix usbutils dependencies and bump + #1705: Fix pciutils broken cross compiling + #1717: External toolchain fixes for hostapd & wpa_supplicant + +2010.05-rc1, Released May 3rd, 2010: + + Cleaned up / restructured package menu. + + Toolchain: uClibc 0.9.30.3 / 0.9.31, older 0.9.30.x removed. + 2.6.33 kernel headers, binutils 2.20.1, GCC 4.4.4, + removed broken nios2 support, ppc e300cX/e500mc support, + improved external toolchain support, GDB 7.x support. + + X.org updated to 7.5. + + New packages: cdrkit, cramfs, genext2fs, genromfs, + libatomic_ops, librsync, libusb-compat, lmbench, netperf, + squashfs, squashfs3, squid + + Updated/fixed packages: alsa-utils, argus, autoconf, bison, + busybox, bzip2, directfb, dnsmasq, dosfstools, e2fsprogs, + eeprog, fakeroot, fbv, findutils, freetype, haserl, hostapd, + iperf, iptables, iw, less, libaio, libcgi, libcgicc, libdrm, + libgcrypt, libglib2, libid3tag, libmad, liboil, libosip2, + libpng, libraw1394, libsysfs, libxml2, libxslt, linux-fusion, + ltrace, lua, lzma, madplay, makedevs, matchbox, mdadm, + memstat, mesa3d, mtd-utils, nano, ncurses, openssl, patch, + pciutils, php, pixman, portage, pppd, pthread-stubs, python, + qt, radvd, samba, setserial, smartmontools, tar, tslib, + udpcast, usb_modeswith, vtun, wget, xdata_xcursor-themes, + xdriver_xf86-video-intel, xkeyboard-config, xlib_libX11, + xlib_libXaw, xlib_libXfont, xlib_libXfontcache, + xlib_libXxf86misc, xlib_libXtst, xlib_libpciaccess, + xproto_dri2proto, xproto_eviext, xproto_fontcacheproto, + xproto_xf86miscproto, xserver_xorg-server + + Removed packages: xapp_xtrap, xlib_libXTrap, xlib_libXevie, + xlib_libXxf86misc, xxproto_evieext, proto_trapproto, + xproto_xf86miscproto + + Issues resolved (http://bugs.uclibc.org): + + #513: Add new squid package + #661: lmbench: new package + #719: Add lua option to haserl + #800: [PATCH] iperf update to 2.0.4 + #803: [PATCH] lua - add shared library patch and config option for... + #805: [PATCH] mdadm - version update + #817: integrator926_defconfig uses unsupported uboot board name + #851: Add option to specify --sysroot value for external toolchain + #1093: Upgrade libusb to v1.0.3 and add new libusb-compat + package for compatibility with old packages that expect + the pre-1.0 API. + #1105: Add new netperf package + #1111: Bump wget to 1.12 and migrate to Makefile.autotools.in + #1117: Bump nano to 2.2.3 and migrate to Makefile.autotools.in + #1123: Bump less to 436 and migrate to Makefile.autotools.in + #1129: Bump memstat to 0.8 and migrate to Makefile.package.in + #1189: Wrong u-boot configuration name for integrator926 target + #1219: kernel headers not correctly installed into toolchain/staging + #1267: Wrong BR2_EXTRA_VERSION + #1273: BR2_INET_IPV6 does not enable IPv6 in pppd + #1303: Add librsync package + #1321: Busybox link fails due to lack of --sysroot option + #1327: mtd-utils compile failure due to lack of --sysroot in CFLAGS + #1345: Bump pppd to 2.4.5 and convert to Makefile.autotools.in + #1369: cannot build radvd (flex problem) + #1387: xlib_libX11-1.3.2 can't find libjpeg + #1411: [SECURITY] Update openssl package to 0.9.8n + #1417: Bump iptables to 1.4.7 + #1423: Bump e2fsprogs to 1.41.11 + #1429: [SECURITY] Update php to 5.2.13 + #1441: Add binutils 2.20.1 + #1447: Package installation on target with debug symbols is broken + #1459: Misc QA fixes + #1489: radvd update to 1.6 + #1513: Enable powerpc e300c2, e300c3 and e500mc optimization + #1537: dev entries not created anymore + #1555: Fix default uclibc-0.9.31 configuration + #1561: [SECURITY] Update samba to 3.3.12 + #1567: openssl0.9.8n fails to compile + #1573: Alsa-utils alsactl/init/* not installed to target + #1591: portmap fails to compile + #1615: Convert eeprog package to gentargets + #1645: Bump hostapd package to 0.7.2 + +2010.02, Release February 26th, 2010: + + Fixes all over the tree. + + Updated/fixed packages: avahi, busybox, cramfs, ipsec-tools, libcgicc, + libgtk2, libraw1394, madplay, netsnmp, pango, squashfs, sylpheed, qt, + xfont_font-util + + Removed packages: hostap, openmotif, xpdf + + Issues resolved (http://bugs.uclibc.org): + + #165: openmotif does not build + #1147: Remove obsolete hostap package + #1183: make source fails to download gmp, mpfr and patches + +2010.02-rc2, Released February 23th, 2010: + + Fixes all over the tree and new features. + + New packages: intltool + + Updated/fixed packages: ace_of_penguins, alsa-lib, alsa-utils, argus, + at, automake, ccache, dosfstools, e2fsprogs, flex, gob2, gmpc, + gst-plugins-good, imagemagick, iw, kexec, libeXosip, libgtk2, + libpcap, libpng, libsoup, libxcb, libxml-parser-perl, libxml2, + libxslt, lvm2, matchbox, mplayer, rsync, rubix, shared-mime-info, + tcl, webkit, xapp_mkfontscale, xfont_encodings, xfont_font-util, + xlib_libfontenc, xproto_trapproto, zlib + + Removed package: xboard + + Issues resolved (http://bugs.uclibc.org): + + #335: atk looks for the path to the gnome library on the host + #355: Please update WebKit - it doesn't compile! + #453: libglib2 autoreconf + #457: e2fsprogs link problem + #459: libgtk2 autoreconf + #469: build of libgtk2 for host incorrectly assumes that X.org ... + #671: Bash fails to build when building buildront on Ubuntu 9.04 + #711: WebKit host dependencies problems + #821: cp: illegal operation + #1039: Not compiled on ubuntu karmic + #1069: [PATCH] The AT91BOOTSTRAP makefile contains a typo + +2010.02-rc1, Released February 9th, 2010: + + Fixes all over the tree and new features. + + Generalized autotools infrastructure to be usable for + non-autotools packages, see package/Makefile.package.in for + details. + + Cleaned up avr32 toolchain config, external source-based + toolchain support is gone. + + Dependency checks: Also check for makeinfo, only print output + on errors. + + Toolchain: uClibc 0.9.30.2, gcc 4.4.3 + + New packages: libcdaudio, libdvdnav, libdvdread, hostapd, ser2net, + tcpreplay + + Updated/fixed packages: alsa-lib, alsa-utils, at, autoconf, bash, + bind, binutils, bootutils, busybox, dbus, directfb, dnsmasq, + e2fsprogs, gstreamer, gperf, gst-plugins-bad, gvfs, fbdump, flex, + hal, iptables, iw, jpeg, kismet, libfuse, libglib2, liboil, libpcap, + libungif, libxml2, libxslt, lighttpd, mesa, mpg123, mtd-utils, nbd, + neon, netstat-nat, newt, openvpn, pcre, php, qt, rdesktop, readline, + rpm, sawman, sdl, sdl_ttf, sqlite, sshfs, tremor, u-boot, + usb_modeswitch, usbutils, webkit, wpa_supplicant, xfsprogs, zlib + + Removed package: asterisk, openswan + + Issues resolved (http://bugs.uclibc.org): + + #515: tcpreplay: new package + #553: Wrong DirectFB ps2mouse limitation + #559: mesa3d build fails + #679: Autoconf cannot find M4 + #739: New/updated hostapd package + #749: Bump usbutils package to version 0.86 + #751: Kernel 2.6 snapshot fetch fail + #753: Bump lighttpd package to 1.4.25 + #757: U-Boot: mkimage cannot be installed using external toolchain + #761: Add binutils 2.20 to toolchain options + #763: [SECURITY] Update pcre to 7.9 + #765: Add buildroot branding to gcc + #767: Bump iw package to 0.9.18 + #773: [SECURITY] Update bind to 9.5.2-P1 + #795: Minor edits to fix typos, grammar, spelling, usage in documen... + #813: Drop not very useful generic package selection options ... + #823: Editor backup files (~) is copied from the target_skeleton + #827: Bump mtd-utils package to version 1.2.0 + #841: Build error + #913: Bump iptables to 1.4.6 + #919: Bump usb_modeswitch package to 1.0.7 + #925: Bump wpa_supplicant package to 0.6.10 + #931: Bump kismet package to 2010-01-R1 + #937: Bump openvpn package to 2.1.1 + #943: Bump sqlite package to 3.6.22 + #961: Bump dnsmasq to 2.52 + #967: Bump netstat-nat to 1.4.10 + #973: Bump iw to 0.9.19 + #1003: DHCP options disabled with busybox-1.16.0 + #1009: [SECURITY] Bump php to 5.2.12 + #1015: [SECURITY] Bump bind to 9.5.1-P2 + #1027: Busybox flash commands conflict with those from mtd-utils + #1063: [SECURITY] Update lighttpd to 1.4.26 + +2009.11, Released December 1st, 2009: + + Additional fixes and cleanups. + + Updated/fixed packages: alsamixergui, autoconf, coreutils, fltk, + microperl, ncurses, vim + + Issues resolved (http://bugs.uclibc.org): + + #707: Cant configure fltk-1.1.7. configure: error: Configure could ... + +2009.11-rc2, Released November 29th, 2009: + + Additional fixes and cleanups. + + Updated/fixed packages: busybox, dbus, fltk, gvfs, ltrace + +2009.11-rc1, Released November 23rd, 2009: + + Fixes all over the tree and new features. + + Cleaned up / Simplified build directory layout. Refer to + docs/buildroot.html#using for details. + + Target defconfig files moved to configs/ and listed in 'make help' + output. + + Fixed *clean targets. Now clean removes everything generated, + so you can do a fresh rebuild. Distclean furthermore removes + kbuild tools and .config, bringing the source tree back in a + pristine state. + + Toolchain: ARM cortex A8 support, GCC 4.4.2, sensible default + soft / hardfloat setting for architecture, ensure target-ldd + gets installed. + + New packages: divine, gvfs, libarchive, libmicrohttpd, + sdl_sound, swfdec, sysstat + + Updated/fixed packages: alsa-lib, alsamixergui, autoconf, bootutils, + busybox, gcc, directfb, dnsmasq, e2fsprogs, festival, gamin, gperf, + gqview, gstreamer, gst-plugins-bad, gst-plugins-base, gst-plugins-good, + imagemagick, ipkg, iptables, iw, kernel-headers, kismet, leafpad, + libelf, libevent, libglib2, libidn, liblockfile, libmad, libpcap, + libupnp, libuuid, libxml2, lighttpd, ltrace, lua, lzma, magiccube4d, + matchbox, mdadm, nbd, ncftp, ncurses, netkittelnet, netsnmp, + ng-spice-rework, ntfs-3g, openntp, openssl, pcmanfm, php, psmisc, + python, quagga, radvd, rpm, rsync, rubix, samba, sawman, sdl, sdl_image, + shared-mime-info, sfdisk, spawn-fcgi, speech-tools, sqlite, squashfs, + synergy, syslinux, sysklogd, target-binutils, tcpdump, torsmo, u-boot, + udpcast, util-linux, valgrind, vsftpd, wipe, wpa-supplicant, x11vnc, + xdata_xcursor-themes, xboard, xfsprogs, xstroke, zlib[5~ + + Removed package: mdnsresponder, mpatrol, gcc 3.4.6 + 4.0.4, vice + + Issues resolved (http://bugs.uclibc.org): + + #301: allow to install libsmbclient + #303: add gvfs package + #477: Add sdl_sound package + #487: Make kismet package sexier + #511: New package usb_modeswitch + #527: misc fixes for dnsmasq package + #565: libevent: Bump version and clean up makefile + #587: Use iptables multipurpose binaries and bump to 1.4.4 + #593: Missing early check for patch(1) + #597: (REOP) Selecting busybox in buildroot's config clobbers ar ... + #609: libmicrohttpd: New package + #615: python: Don't delete .py files unless asked + #617: netkit/inetd requires RPC and fails to build if RPC is disabled + #619: netkittelnet requires netkitbase to install, but there's no ... + #645: allow to build nbd-server with NBD package + #653: [SECURITY] Update php package to version 5.2.11 + #655: Update sqlite package to version 3.6.18 + #657: Bug in imagemagick-clean target + #663: Add option for NAND flash with 512B Page and 16 kB erasesize ... + #665: [PATCH] Samba package + #667: [PATCH] e2fsprogs + #683: SDL-dfb does not select directfb + #701: make install problem with unstripped binaries + #703: [SECURITY] Update openssl package to 0.9.8l + #705: Bump spawn-fcgi package to 1.6.3 + #709: Bump lighttpd package to 1.4.24 + #713: Migrate openntpd package to Makefile.autotools.in + #715: Bump libidn package to 1.15 and other fixes + #717: Bump dnsmasq to 2.51 and introduce new IDN option + #731: Bump iw package to 0.9.17 + +2009.08, Released August 31th, 2009: + + Additional fixes and cleanups. + + Updated/fixed packages: ctorrent, saveconfig/getconfig, + sdl_net, util-linux. + + Issues resolved (http://bugs.uclibc.org): + + #529: util-linux doesn't find headers and include libs correctly + #557: Build ctorrent with SSL support if available + +2009.08-rc3, Released August 26th, 2009: + + Additional fixes and cleanups. + + Updated/fixed packages: alsa-utils, berkeleydb, busybox, dbus, + directfb, enchant, kernel headers. + + Issues resolved (http://bugs.uclibc.org): + + #471: Allow directfb compilation with debug + #541: Removal of CVS directories in target filesystem broken + #547: berkeleydb: Update config.{sub, guess} + #549: enchant: Fix dependencies. + #569: Fix alsa-utils build for x86 on x86-64 + +2009.08-rc2, Released August 6th, 2009: + + Additional fixes and new features. + + New packages: libuuid, gcc 4.3.4. + + Updated/fixed packages: busybox, classpath, gzip, ipsec-tools, + jamvm, libusb, microperl, neon, popt, sed, webkit. + + Fixed issue with 'make oldconfig' + + Issues resolved (http://bugs.uclibc.org): + + #525: sed broken with external toolchain + #537: Fix gzip build with recent glibc + +2009.08-rc1, Released August 2nd, 2009: + + Fixes all over the tree and new features. + + Improvement of external toolchain support: + - Support for glibc toolchains. + - The toolchain configuration announced to Buildroot is + verified against the real toolchain configuration. + - Fixes, documentation. + + Cleanup X.org support: clarified configuration options, and + removed mandatory dependency on useless libraries such as + libXt or libXaw. + + New QT-based configurator, usable using 'make xconfig'. + + Support for the Xtensa architecture. + + Toolchain: GCC 4.4.1, 2.6.30 kernel headers, removed < 2.6.26 + headers. + + New packages: bmon, ctorrent, dosfstools, enchant, + gst-plugins-bad, iw, libmms, libnl, netstat-nat, ntfsprogs, + sdl_gfx, spawn-fcgi. + + Updated packages: bind, busybox, coreutils, sqlite, directfb, + expat, gamin, gnuconfig, haserl, ipsec-tools, classpath, + libcurl, libglib2, liblockfile, libpng, libsoup, libxml2, + lighttpd, ltp-testsuite, lvm2, matchbox, memstat, + gst-plugins-good, gstreamer, libogg, libvorbis, mplayer, + neon, openssl, pciutils, php, qt, ruby, sawman, webkit, + wpa-supplicant, xdriver_xf86-input-synaptics, + xdriver_xf86-video-intel, xlib_libXfont, xlib_libXft, + xlib_libXt, xproto_xproto, xserver-xorg, xutil_makedepend, + xutil_util-macros. + + Issues resolved (http://bugs.uclibc.org): + + #83: liblockfile fails to compile due to eaccess redefinition + #163: Xtensa architecture port + #171: xorg-server / kernel headers 2.6.26 - vm86.c compilation issue + #241: device mapper + lvm2: build together + #243: ctorrent: new package + #247: ntfsprogs: new package + #271: Library 'libgcc_s.so.1' not installed in search path + #287: New package libnl + #289: New package iw + #331: Update MPlayer to version 1.0rc2 + #333: Bump sqlite package to 3.6.15 + #349: update libsoup to version 2.26.2 + #357: New package netstat-nat + #359,#413: Upgrade openvpn to Makefile.autotools.in + #367: linux kernel compile error for arm926t + #369: Add SDL_gfx package + #373: Support for building gstreamer without libxml + #379: update DirectFB to version 1.4.0 + #383: gst-plugins-good: Allow soup plugin to be configured + #385: neon: Fix pkgconfig dependency + #387: Tremor not installed to toolchain + #389: New package bmon + #391: gstreamer: Bump version to 0.10.23 + #393: gst-plugins-base: Bump version to 0.10.23 + #395: gst-plugins-bad: New package + #403: Error while building iso9660 image + #409: Bump php package to 5.2.10 + #411: ipsec-tools: Bump version to 0.7.2 + #417: New package spawn-fcgi + #419: Bump lighttpd package to 1.4.23 + #421: toolchain: Clean up toolchain locale support menu + #427: webkit: Update to WebKit svn r44552 + #437: ltp-testsuite: Bump version to 20090630 + #451: Upgrade from unmaintained dosfstools-2.11 to dosfstools-3.0.3 + #467: DirectFB 1.4.1 + #473: memstat_0.5.tar.gz has install with -D and that fails "make" + #491: libxml2: Bump version to 0.7.3 + #495: Bump bind package to 9.5.1-P3 (security) + #497: OpenSSL RSA key generation hangs on x86_64 + #509: Bump sqlite package to 3.6.16 + #523: pciutils broken with external toolchain + #533: Update gamin to 0.1.10 to fix compilation + +2009.05, Released June 1st, 2009: + + Fixes for dropbear & diffutils, bump linux-advanced 2.6.29.x + version and marked ubifsroot as broken. + +2009.05-rc3, Released May 27th, 2009: + + Fixes for toolchain (gcc arm pr37436), stable kernel versions, + busybox, curl, libusb, readline, python and strace. + + Issues resolved (http://bugs.uclibc.org): + + #345: libcurl package needs a urandom fix + +2009.05-rc2, Released May 19th, 2009: + + Fixes for toolchain (gcc w/softfloat on ppc, 3.4.6 buildfix + for newer hosts), stable kernel versions, busybox, cups, + dmraid, docker, mesa3d, rsync and updated defconfigs. + + xserver marked as broken on AVR32 and atngw100-expanded + config removed. + + Issues resolved (http://bugs.uclibc.org): + + #167: metacity does not build + #295: gamin installs python support even if python is disabled + #323: gen_matypes fails to execute during build of Mesa when us... + +2009.05-rc1, Released May 5th, 2009: + + Fixes all over the tree, further conversion of packages to + Makefile.autotools.in and we now build host versions of + packages where needed for build time dependencies instead of + relying on the correct versions being available on the build + host. Ancient toolchain / busybox versions have furthermore + been removed as announced in the 2009.02 release notes. + + New packages: flac, gob2, lzop, taglib, wpa_supplicant + + Updated packages: avahi, bind, binutils, busybox, dbus, dbus-glib, + directfb, dnsmasq, freetype, gcc, gmp, gstreamer, iptables, kernel + headers, kexec, libglib2, libpng, libsndfile, lua, mpfr, ntfs-3g, + openssl, php, qtopia4, rsync, samba, sqlite, tar, uboot, uclibc, + util-linux, xorg7, xerces + + Issues resolved (http://bugs.uclibc.org): + + #5,#77,#141,#143: Convert php package to Makefile.autotools.in + and a ton of other improvements + #19: page.h missing by util-linux + #37: update libglib2 to version 2.18.4 + #61: tslib puts staging_dir into pkgconfig file + #69: tar refuses to build + #71,#175: ./wchar.h:41:12: error: empty filename in #include + #73: Bump openssl package to the latest version + #81: New package wpa_supplicant + #99: new package: flac + #101: update gstreamer packages + #105,#313: menuconfig segfaults on tinyx if wchar is not + selected + #107: convert libvorbis to Makefile.autotools.in + #109: Make pppd package avoid bsd err + #111: binutils 2.17 fails to build when texinfo >= 4.10 + #133: Modify ncurses5-config to get correct include path + #137: Bump php to version 5.2.9 + #139: Bump sqlite to 3.6.11 and convert to + Makefile.autotools.in + #145: Bump bind package to 9.5.1-P1 (security) + #147: buildroot toolchain fails to build w/binutils-2.19.1 + #151: openssl package trivial fixes + #161: vim fails on patching with errors in configure.patch + #169: blackbox-0.70.1 does not build + #177: xdriver_xf86-input-keyboard does not build + #179: Upgrade dropbear to Makefile.autotools.in + #181: Update to Xorg 7.4 + #187: ntfs-3g: could not build cross + #191: alsa-lib ARM binaries always built with EABI + #213: Bump wpa_supplicant package to version 0.6.9 + #217: Bump openssl package to 0.9.8k (security) + #219: Toolchain build fails on m4 + #225: m4 macros are out of place + #233: make ipv6 optional in iptables + #237: ncftp: convert to Makefile.autotools.in + #239: ntfs-3g: convert to Makefile.autotools.in + #245: lzop: new package + #271: Bump bind package to 9.5.1-P2 (security) + #277: Bump sqlite package to 3.6.16 + #279: update libglib2 to version 2.20.1 + #281: update DirectFB to version 1.2.8 + #283: add taglib + #285: compilation of samba fails if IPV6 support is missing + #293: update samba to version 3.3.3 + #299: add shared-mime-info package + #307: make openssl package respect build flags diff --git a/buildroot-2021.05/COPYING b/buildroot-2022.02.1/COPYING similarity index 100% rename from buildroot-2021.05/COPYING rename to buildroot-2022.02.1/COPYING diff --git a/buildroot-2022.02.1/Config.in b/buildroot-2022.02.1/Config.in new file mode 100644 index 00000000..f0cd6f48 --- /dev/null +++ b/buildroot-2022.02.1/Config.in @@ -0,0 +1,931 @@ +# + +mainmenu "Buildroot $BR2_VERSION Configuration" + +config BR2_HAVE_DOT_CONFIG + bool + default y + +config BR2_VERSION + string + option env="BR2_VERSION_FULL" + +config BR2_HOSTARCH + string + option env="HOSTARCH" + +config BR2_BASE_DIR + string + option env="BASE_DIR" + +# br2-external paths definitions +source "$BR2_BASE_DIR/.br2-external.in.paths" + +# Hidden config symbols for packages to check system gcc version +config BR2_HOST_GCC_VERSION + string + option env="HOST_GCC_VERSION" + +config BR2_HOST_GCC_AT_LEAST_4_9 + bool + default y if BR2_HOST_GCC_VERSION = "4 9" + +config BR2_HOST_GCC_AT_LEAST_5 + bool + default y if BR2_HOST_GCC_VERSION = "5" + select BR2_HOST_GCC_AT_LEAST_4_9 + +config BR2_HOST_GCC_AT_LEAST_6 + bool + default y if BR2_HOST_GCC_VERSION = "6" + select BR2_HOST_GCC_AT_LEAST_5 + +config BR2_HOST_GCC_AT_LEAST_7 + bool + default y if BR2_HOST_GCC_VERSION = "7" + select BR2_HOST_GCC_AT_LEAST_6 + +config BR2_HOST_GCC_AT_LEAST_8 + bool + default y if BR2_HOST_GCC_VERSION = "8" + select BR2_HOST_GCC_AT_LEAST_7 + +config BR2_HOST_GCC_AT_LEAST_9 + bool + default y if BR2_HOST_GCC_VERSION = "9" + select BR2_HOST_GCC_AT_LEAST_8 + +# When adding new entries above, be sure to update +# the HOSTCC_MAX_VERSION variable in the Makefile. + +# Hidden boolean selected by packages in need of Java in order to build +# (example: kodi) +config BR2_NEEDS_HOST_JAVA + bool + +# Hidden boolean selected by pre-built packages for x86, when they +# need to run on x86-64 machines (example: pre-built external +# toolchains, binary tools like SAM-BA, etc.). +config BR2_HOSTARCH_NEEDS_IA32_LIBS + bool + +# Hidden boolean selected by packages that need to build 32 bits +# binaries with the host compiler, even on 64 bits build machines (e.g +# bootloaders). +config BR2_HOSTARCH_NEEDS_IA32_COMPILER + bool + +# Hidden boolean selected by packages that need the host to have an +# UTF8 locale. +config BR2_NEEDS_HOST_UTF8_LOCALE + bool + +# Hidden boolean selected by packages that need the host to have +# support for building gcc plugins +config BR2_NEEDS_HOST_GCC_PLUGIN_SUPPORT + bool + +source "arch/Config.in" + +menu "Build options" + +menu "Commands" + +config BR2_WGET + string "Wget command" + default "wget --passive-ftp -nd -t 3" + +config BR2_SVN + string "Subversion (svn) command" + default "svn --non-interactive" + +config BR2_BZR + string "Bazaar (bzr) command" + default "bzr" + +config BR2_GIT + string "Git command" + default "git" + +config BR2_CVS + string "CVS command" + default "cvs" + +config BR2_LOCALFILES + string "Local files retrieval command" + default "cp" + +config BR2_SCP + string "Secure copy (scp) command" + default "scp" + +config BR2_SFTP + string "Secure file transfer (sftp) command" + default "sftp" + +config BR2_HG + string "Mercurial (hg) command" + default "hg" + +config BR2_ZCAT + string "zcat command" + default "gzip -d -c" + help + Command to be used to extract a gzip'ed file to stdout. zcat + is identical to gunzip -c except that the former may not be + available on your system. + Default is "gzip -d -c" + Other possible values include "gunzip -c" or "zcat". + +config BR2_BZCAT + string "bzcat command" + default "bzcat" + help + Command to be used to extract a bzip2'ed file to stdout. + bzcat is identical to bunzip2 -c except that the former may + not be available on your system. + Default is "bzcat" + Other possible values include "bunzip2 -c" or "bzip2 -d -c". + +config BR2_XZCAT + string "xzcat command" + default "xzcat" + help + Command to be used to extract a xz'ed file to stdout. + Default is "xzcat" + +config BR2_LZCAT + string "lzcat command" + default "lzip -d -c" + help + Command to be used to extract a lzip'ed file to stdout. + Default is "lzip -d -c" + +config BR2_TAR_OPTIONS + string "Tar options" + default "" + help + Options to pass to tar when extracting the sources. + E.g. " -v --exclude='*.svn*'" to exclude all .svn internal + files and to be verbose. + +endmenu + +config BR2_DEFCONFIG_FROM_ENV + string + option env="BR2_DEFCONFIG" + +config BR2_DEFCONFIG + string "Location to save buildroot config" + default BR2_DEFCONFIG_FROM_ENV if BR2_DEFCONFIG_FROM_ENV != "" + default "$(CONFIG_DIR)/defconfig" + help + When running 'make savedefconfig', the defconfig file will be + saved in this location. + +config BR2_DL_DIR + string "Download dir" + default "$(TOPDIR)/dl" + help + Directory to store all the source files that we need to fetch. + If the Linux shell environment has defined the BR2_DL_DIR + environment variable, then this overrides this configuration + item. + The directory is organized with a subdirectory for each + package. Each package has its own $(LIBFOO_DL_DIR) variable + that can be used to find the correct path. + + The default is $(TOPDIR)/dl + +config BR2_HOST_DIR + string "Host dir" + default "$(BASE_DIR)/host" + help + Directory to store all the binary files that are built for the + host. This includes the cross compilation toolchain when + building the internal buildroot toolchain. + + The default is $(BASE_DIR)/host + +menu "Mirrors and Download locations" + +config BR2_PRIMARY_SITE + string "Primary download site" + default "" + help + Primary site to download from. If this option is set then + buildroot will try to download package source first from this + site and try the default if the file is not found. + Valid URIs are: + - URIs recognized by $(WGET) + - local URIs of the form file://absolutepath + - scp URIs of the form scp://[user@]host:path. + +config BR2_PRIMARY_SITE_ONLY + bool "Only allow downloads from primary download site" + depends on BR2_PRIMARY_SITE != "" + help + If this option is enabled, downloads will only be attempted + from the primary download site. Other locations, like the + package's official download location or the backup download + site, will not be considered. Therefore, if the package is not + present on the primary site, the download fails. + + This is useful for project developers who want to ensure that + the project can be built even if the upstream tarball + locations disappear. + +if !BR2_PRIMARY_SITE_ONLY + +config BR2_BACKUP_SITE + string "Backup download site" + default "http://sources.buildroot.net" + help + Backup site to download from. If this option is set then + buildroot will fall back to download package sources from here + if the normal location fails. + +config BR2_KERNEL_MIRROR + string "Kernel.org mirror" + default "https://cdn.kernel.org/pub" + help + kernel.org is mirrored on a number of servers around the + world. The following allows you to select your preferred + mirror. By default, a CDN is used, which automatically + redirects to a mirror geographically close to you. + + Have a look on the kernel.org site for a list of mirrors, then + enter the URL to the base directory. Examples: + + http://www.XX.kernel.org/pub (XX = country code) + http://mirror.aarnet.edu.au/pub/ftp.kernel.org + +config BR2_GNU_MIRROR + string "GNU Software mirror" + default "http://ftpmirror.gnu.org" + help + GNU has multiple software mirrors scattered around the + world. The following allows you to select your preferred + mirror. By default, a generic address is used, which + automatically selects an up-to-date and local mirror. + + Have a look on the gnu.org site for a list of mirrors, then + enter the URL to the base directory. Examples: + + http://ftp.gnu.org/pub/gnu + http://mirror.aarnet.edu.au/pub/gnu + +config BR2_LUAROCKS_MIRROR + string "LuaRocks mirror" + default "http://rocks.moonscript.org" + help + LuaRocks repository. + + See http://luarocks.org + +config BR2_CPAN_MIRROR + string "CPAN mirror (Perl packages)" + default "http://cpan.metacpan.org" + help + CPAN (Comprehensive Perl Archive Network) is a repository of + Perl packages. It has multiple software mirrors scattered + around the world. This option allows you to select a mirror. + + The list of mirrors is available at: + http://search.cpan.org/mirror + +endif + +endmenu + +config BR2_JLEVEL + int "Number of jobs to run simultaneously (0 for auto)" + default "0" + help + Number of jobs to run simultaneously. If 0, determine + automatically according to number of CPUs on the host system. + +config BR2_CCACHE + bool "Enable compiler cache" + help + This option will enable the use of ccache, a compiler cache. + It will cache the result of previous builds to speed up future + builds. By default, the cache is stored in + $HOME/.buildroot-ccache. + + Note that Buildroot does not try to invalidate the cache + contents when the compiler changes in an incompatible way. + Therefore, if you make a change to the compiler version and/or + configuration, you are responsible for purging the ccache + cache by removing the $HOME/.buildroot-ccache directory. + +if BR2_CCACHE + +config BR2_CCACHE_DIR + string "Compiler cache location" + default "$(HOME)/.buildroot-ccache" + help + Where ccache should store cached files. + If the Linux shell environment has defined the BR2_CCACHE_DIR + environment variable, then this overrides this configuration + item. + +config BR2_CCACHE_INITIAL_SETUP + string "Compiler cache initial setup" + help + Initial ccache settings to apply, such as --max-files or + --max-size. + + For example, if your project is known to require more space + than the default max cache size, then you might want to + increase the cache size to a suitable amount using the -M + (--max-size) option. + + The string you specify here is passed verbatim to ccache. + Refer to ccache documentation for more details. + + These initial settings are applied after ccache has been + compiled. + +config BR2_CCACHE_USE_BASEDIR + bool "Use relative paths" + default y + help + Allow ccache to convert absolute paths within the output + directory into relative paths. + + During the build, many -I include directives are given with an + absolute path. These absolute paths end up in the hashes that + are computed by ccache. Therefore, when you build from a + different directory, the hash will be different and the cached + object will not be used. + + To improve cache performance, set this option to y. This + allows ccache to rewrite absolute paths within the output + directory into relative paths. Note that only paths within the + output directory will be rewritten; therefore, if you change + BR2_HOST_DIR to point outside the output directory and + subsequently move it to a different location, this will lead + to cache misses. + + This option has as a result that the debug information in the + object files also has only relative paths. Therefore, make + sure you cd to the build directory before starting gdb. See + the section "COMPILING IN DIFFERENT DIRECTORIES" in the ccache + manual for more information. + +endif + +config BR2_ENABLE_DEBUG + bool "build packages with debugging symbols" + help + Build packages with debugging symbols enabled. All libraries + and binaries in the 'staging' directory will have debugging + symbols, which allows remote debugging even if libraries and + binaries are stripped on the target. Whether libraries and + binaries are stripped on the target is controlled by the + BR2_STRIP_* options below. + +if BR2_ENABLE_DEBUG +choice + prompt "gcc debug level" + default BR2_DEBUG_2 + help + Set the debug level for gcc + +config BR2_DEBUG_1 + bool "debug level 1" + help + Debug level 1 produces minimal information, enough for making + backtraces in parts of the program that you don't plan to + debug. This includes descriptions of functions and external + variables, but no information about local variables and no + line numbers. + +config BR2_DEBUG_2 + bool "debug level 2" + help + The default gcc debug level is 2 + +config BR2_DEBUG_3 + bool "debug level 3" + help + Level 3 includes extra information, such as all the macro + definitions present in the program. Some debuggers support + macro expansion when you use -g3. +endchoice +endif + +config BR2_ENABLE_RUNTIME_DEBUG + bool "build packages with runtime debugging info" + help + Some packages may have runtime assertions, extra traces, and + similar runtime elements that can help debugging. However, + these elements may negatively influence performance so should + normally not be enabled on production systems. + + Enable this option to enable such runtime debugging. + + Note: disabling this option is not a guarantee that all + packages effectively removed these runtime debugging elements. + +config BR2_STRIP_strip + bool "strip target binaries" + default y + depends on !BR2_PACKAGE_HOST_ELF2FLT + help + Binaries and libraries in the target filesystem will be + stripped using the normal 'strip' command. This allows to save + space, mainly by removing debugging symbols. Debugging symbols + on the target are needed for native debugging, but not when + remote debugging is used. + +config BR2_STRIP_EXCLUDE_FILES + string "executables that should not be stripped" + default "" + depends on BR2_STRIP_strip + help + You may specify a space-separated list of binaries and + libraries here that should not be stripped on the target. + +config BR2_STRIP_EXCLUDE_DIRS + string "directories that should be skipped when stripping" + default "" + depends on BR2_STRIP_strip + help + You may specify a space-separated list of directories that + should be skipped when stripping. Binaries and libraries in + these directories will not be touched. The directories should + be specified relative to the target directory, without leading + slash. + +choice + prompt "gcc optimization level" + default BR2_OPTIMIZE_S + help + Set the optimization level for gcc + +config BR2_OPTIMIZE_0 + bool "optimization level 0" + help + Do not optimize. + +config BR2_OPTIMIZE_1 + bool "optimization level 1" + help + Optimize. Optimizing compilation takes somewhat more time, and + a lot more memory for a large function. With -O, the compiler + tries to reduce code size and execution time, without + performing any optimizations that take a great deal of + compilation time. -O turns on the following optimization + flags: -fdefer-pop -fdelayed-branch -fguess-branch-probability + -fcprop-registers -floop-optimize -fif-conversion + -fif-conversion2 -ftree-ccp -ftree-dce -ftree-dominator-opts + -ftree-dse -ftree-ter -ftree-lrs -ftree-sra -ftree-copyrename + -ftree-fre -ftree-ch -funit-at-a-time -fmerge-constants. -O + also turns on -fomit-frame-pointer on machines where doing so + does not interfere with debugging. + +config BR2_OPTIMIZE_2 + bool "optimization level 2" + help + Optimize even more. GCC performs nearly all supported + optimizations that do not involve a space-speed tradeoff. The + compiler does not perform loop unrolling or function inlining + when you specify -O2. As compared to -O, this option increases + both compilation time and the performance of the generated + code. -O2 turns on all optimization flags specified by -O. It + also turns on the following optimization flags: + -fthread-jumps -fcrossjumping -foptimize-sibling-calls + -fcse-follow-jumps -fcse-skip-blocks -fgcse -fgcse-lm + -fexpensive-optimizations -fstrength-reduce + -frerun-cse-after-loop -frerun-loop-opt -fcaller-saves + -fpeephole2 -fschedule-insns -fschedule-insns2 + -fsched-interblock -fsched-spec -fregmove -fstrict-aliasing + -fdelete-null-pointer-checks -freorder-blocks + -freorder-functions -falign-functions -falign-jumps + -falign-loops -falign-labels -ftree-vrp -ftree-pre. Please + note the warning under -fgcse about invoking -O2 on programs + that use computed gotos. + +config BR2_OPTIMIZE_3 + bool "optimization level 3" + help + Optimize yet more. -O3 turns on all optimizations specified by + -O2 and also turns on the -finline-functions, -funswitch-loops + and -fgcse-after-reload options. + +config BR2_OPTIMIZE_G + bool "optimize for debugging" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + help + Optimize for debugging. This enables optimizations that do not + interfere with debugging. It should be the optimization level + of choice for the standard edit-compile-debug cycle, offering + a reasonable level of optimization while maintaining fast + compilation and a good debugging experience. + +config BR2_OPTIMIZE_S + bool "optimize for size" + help + Optimize for size. -Os enables all -O2 optimizations that do + not typically increase code size. It also performs further + optimizations designed to reduce code size. -Os disables the + following optimization flags: -falign-functions -falign-jumps + -falign-loops -falign-labels -freorder-blocks + -freorder-blocks-and-partition -fprefetch-loop-arrays + -ftree-vect-loop-version + This is the default. + +config BR2_OPTIMIZE_FAST + bool "optimize for fast (may break packages!)" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 + help + Optimize for fast. Disregard strict standards + compliance. -Ofast enables all -O3 optimizations. It also + enables optimizations that are not valid for all + standard-compliant programs, so be careful, as it may break + some packages. It turns on -ffast-math and the + Fortran-specific -fstack-arrays, unless -fmax-stack-var-size + is specified, and -fno-protect-parens. + +endchoice + +config BR2_GOOGLE_BREAKPAD_ENABLE + bool "Enable google-breakpad support" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on (BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC) + depends on BR2_PACKAGE_GOOGLE_BREAKPAD_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS + select BR2_PACKAGE_GOOGLE_BREAKPAD + help + This option will enable the use of google breakpad, a library + and tool suite that allows you to distribute an application to + users with compiler-provided debugging information removed, + record crashes in compact "minidump" files, send them back to + your server and produce C and C++ stack traces from these + minidumps. Breakpad can also write minidumps on request for + programs that have not crashed. + +if BR2_GOOGLE_BREAKPAD_ENABLE + +config BR2_GOOGLE_BREAKPAD_INCLUDE_FILES + string "List of executables and libraries to extract symbols from" + default "" + help + You may specify a space-separated list of binaries and + libraries with full paths relative to $(TARGET_DIR) of which + debug symbols will be dumped for further use with google + breakpad. + + A directory structure that can be used by minidump-stackwalk + will be created at: + + $(STAGING_DIR)/usr/share/google-breakpad-symbols + +endif + +choice + bool "libraries" + default BR2_SHARED_LIBS if BR2_BINFMT_SUPPORTS_SHARED + default BR2_STATIC_LIBS if !BR2_BINFMT_SUPPORTS_SHARED + help + Select the type of libraries you want to use on the target. + + The default is to build dynamic libraries and use those on the + target filesystem, except when the architecture and/or the + selected binary format does not support shared libraries. + +config BR2_STATIC_LIBS + bool "static only" + help + Build and use only static libraries. No shared libraries will + be installed on the target. This potentially increases your + code size and should only be used if you know what you are + doing. Note that some packages may not be available when this + option is enabled, due to their need for dynamic library + support. + +config BR2_SHARED_LIBS + bool "shared only" + depends on BR2_BINFMT_SUPPORTS_SHARED + help + Build and use only shared libraries. This is the recommended + solution as it saves space and build time. + +config BR2_SHARED_STATIC_LIBS + bool "both static and shared" + depends on BR2_BINFMT_SUPPORTS_SHARED + help + Build both shared and static libraries, but link executables + dynamically. While building both shared and static libraries + take more time and more disk space, having static libraries + may be useful to link some of the applications statically. + +endchoice + +config BR2_PACKAGE_OVERRIDE_FILE + string "location of a package override file" + default "$(CONFIG_DIR)/local.mk" + help + A package override file is a short makefile that contains + variable definitions of the form _OVERRIDE_SRCDIR, which + allows to tell Buildroot to use an existing directory as the + source directory for a particular package. See the Buildroot + documentation for more details on this feature. + +config BR2_GLOBAL_PATCH_DIR + string "global patch directories" + help + You may specify a space separated list of one or more + directories containing global package patches. For a specific + version of a specific package , + patches are applied as follows: + + First, the default Buildroot patch set for the package is + applied from the package's directory in Buildroot. + + Then for every directory - - that exists in + BR2_GLOBAL_PATCH_DIR, if the directory + /// exists, + then all *.patch files in this directory will be applied. + + Otherwise, if the directory / + exists, then all *.patch files in the directory will be + applied. + +menu "Advanced" + +config BR2_COMPILER_PARANOID_UNSAFE_PATH + bool "paranoid check of library/header paths" + default y + help + By default, when this option is disabled, when the Buildroot + cross-compiler will encounter an unsafe library or header path + (such as /usr/include, or /usr/lib), the compiler will display + a warning. + + By enabling this option, this warning is turned into an error, + which will completely abort the build when such unsafe paths + are encountered. + + Note that this mechanism is available for both the internal + toolchain (through the toolchain wrapper and binutils patches) + and external toolchain backends (through the toolchain + wrapper). + +config BR2_FORCE_HOST_BUILD + bool "Force the building of host dependencies" + help + Build all available host dependencies, even if they are + already installed on the system. + + This option can be used to ensure that the download cache of + source archives for packages remain consistent between + different build hosts. + + This option will increase build time. + +config BR2_REPRODUCIBLE + bool "Make the build reproducible (experimental)" + # SOURCE_DATE_EPOCH support in toolchain-wrapper requires GCC 4.4 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 + help + This option will remove all sources of non-reproducibility + from the build process. For a given Buildroot configuration, + this allows to generate exactly identical binaries from one + build to the other, including on different machines. + + The current implementation is restricted to builds with the + same output directory. Many (absolute) paths are recorded in + intermediary files, and it is very likely that some of these + paths leak into the target rootfs. If you build with the + same O=... path, however, the result is identical. + + This is labeled as an experimental feature, as not all + packages behave properly to ensure reproducibility. + +config BR2_PER_PACKAGE_DIRECTORIES + bool "Use per-package directories (experimental)" + help + This option will change the build process of Buildroot + package to use per-package target and host directories. + + This is useful for two related purposes: + + - Cleanly isolate the build of each package, so that a + given package only "sees" the dependencies it has + explicitly expressed, and not other packages that may + have by chance been built before. + + - Enable top-level parallel build. + + This is labeled as an experimental feature, as not all + packages behave properly with per-package directories. + +endmenu + +comment "Security Hardening Options" + +config BR2_PIC_PIE_ARCH_SUPPORTS + bool + default y + # Microblaze glibc toolchains don't work with PIC/PIE enabled + depends on !BR2_microblaze + # Nios2 toolchains produce non working binaries with -fPIC + depends on !BR2_nios2 + +config BR2_PIC_PIE + bool "Build code with PIC/PIE" + default y + depends on BR2_PIC_PIE_ARCH_SUPPORTS + depends on BR2_SHARED_LIBS + depends on BR2_TOOLCHAIN_SUPPORTS_PIE + help + Generate Position-Independent Code (PIC) and link + Position-Independent Executables (PIE). + +comment "PIC/PIE needs a toolchain w/ PIE" + depends on BR2_PIC_PIE_ARCH_SUPPORTS + depends on BR2_SHARED_LIBS + depends on !BR2_TOOLCHAIN_SUPPORTS_PIE + +choice + bool "Stack Smashing Protection" + default BR2_SSP_ALL if BR2_ENABLE_SSP # legacy + default BR2_SSP_STRONG if BR2_TOOLCHAIN_HAS_SSP_STRONG + default BR2_SSP_REGULAR + depends on BR2_TOOLCHAIN_HAS_SSP + help + Enable stack smashing protection support using GCC's + -fstack-protector option family. + + See + http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt + for details. + + Note that this requires the toolchain to have SSP support. + This is always the case for glibc and eglibc toolchain, but is + optional in uClibc toolchains. + +config BR2_SSP_NONE + bool "None" + help + Disable stack-smashing protection. + +config BR2_SSP_REGULAR + bool "-fstack-protector" + help + Emit extra code to check for buffer overflows, such as stack + smashing attacks. This is done by adding a guard variable to + functions with vulnerable objects. This includes functions + that call alloca, and functions with buffers larger than 8 + bytes. The guards are initialized when a function is entered + and then checked when the function exits. If a guard check + fails, an error message is printed and the program exits. + +config BR2_SSP_STRONG + bool "-fstack-protector-strong" + depends on BR2_TOOLCHAIN_HAS_SSP_STRONG + help + Like -fstack-protector but includes additional functions to be + protected - those that have local array definitions, or have + references to local frame addresses. + + -fstack-protector-strong officially appeared in gcc 4.9, but + some vendors have backported -fstack-protector-strong to older + versions of gcc. + +config BR2_SSP_ALL + bool "-fstack-protector-all" + help + Like -fstack-protector except that all functions are + protected. This option might have a significant performance + impact on the compiled binaries. + +endchoice + +config BR2_SSP_OPTION + string + default "-fstack-protector" if BR2_SSP_REGULAR + default "-fstack-protector-strong" if BR2_SSP_STRONG + default "-fstack-protector-all" if BR2_SSP_ALL + +comment "Stack Smashing Protection needs a toolchain w/ SSP" + depends on !BR2_TOOLCHAIN_HAS_SSP + +choice + bool "RELRO Protection" + default BR2_RELRO_FULL if BR2_TOOLCHAIN_SUPPORTS_PIE + default BR2_RELRO_PARTIAL + depends on BR2_SHARED_LIBS + help + Enable a link-time protection know as RELRO (RELocation Read + Only) which helps to protect from certain type of exploitation + techniques altering the content of some ELF sections. + +config BR2_RELRO_NONE + bool "None" + help + Disables Relocation link-time protections. + +config BR2_RELRO_PARTIAL + bool "Partial" + help + This option makes the dynamic section not writeable after + initialization (with almost no performance penalty). + +config BR2_RELRO_FULL + bool "Full" + depends on BR2_PIC_PIE_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_SUPPORTS_PIE + select BR2_PIC_PIE + help + This option includes the partial configuration, but also marks + the GOT as read-only at the cost of initialization time during + program loading, i.e every time an executable is started. + +comment "RELRO Full needs a toolchain w/ PIE" + depends on BR2_PIC_PIE_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_SUPPORTS_PIE + +endchoice + +comment "RELocation Read Only (RELRO) needs shared libraries" + depends on !BR2_SHARED_LIBS + +config BR2_FORTIFY_SOURCE_ARCH_SUPPORTS + bool + default y + # Microblaze glibc toolchains don't work with Fortify Source enabled + depends on !BR2_microblaze + +choice + bool "Buffer-overflow Detection (FORTIFY_SOURCE)" + default BR2_FORTIFY_SOURCE_1 + depends on BR2_FORTIFY_SOURCE_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_OPTIMIZE_0 + help + Enable the _FORTIFY_SOURCE macro which introduces additional + checks to detect buffer-overflows in the following standard + library functions: memcpy, mempcpy, memmove, memset, strcpy, + stpcpy, strncpy, strcat, strncat, sprintf, vsprintf, snprintf, + vsnprintf, gets. + + NOTE: This feature requires an optimization level of s/1/2/3/g + + Support for this feature has been present since GCC 4.x. + +config BR2_FORTIFY_SOURCE_NONE + bool "None" + help + Disables additional checks to detect buffer-overflows. + +config BR2_FORTIFY_SOURCE_1 + bool "Conservative" + # gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 + depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6 + help + This option sets _FORTIFY_SOURCE to 1 and only introduces + checks that shouldn't change the behavior of conforming + programs. Adds checks at compile-time only. + +config BR2_FORTIFY_SOURCE_2 + bool "Aggressive" + # gcc bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 + depends on !BR2_TOOLCHAIN_BUILDROOT || BR2_TOOLCHAIN_GCC_AT_LEAST_6 + help + This option sets _FORTIFY_SOURCES to 2 and some more + checking is added, but some conforming programs might fail. + Also adds checks at run-time (detected buffer overflow + terminates the program) + +endchoice + +comment "Fortify Source needs a glibc toolchain and optimization" + depends on BR2_FORTIFY_SOURCE_ARCH_SUPPORTS + depends on (!BR2_TOOLCHAIN_USES_GLIBC || BR2_OPTIMIZE_0) +endmenu + +source "toolchain/Config.in" + +source "system/Config.in" + +source "linux/Config.in" + +source "package/Config.in" + +source "fs/Config.in" + +source "boot/Config.in" + +source "package/Config.in.host" + +source "Config.in.legacy" + +# br2-external menus definitions +source "$BR2_BASE_DIR/.br2-external.in.menus" diff --git a/buildroot-2022.02.1/Config.in.legacy b/buildroot-2022.02.1/Config.in.legacy new file mode 100644 index 00000000..3b066bbf --- /dev/null +++ b/buildroot-2022.02.1/Config.in.legacy @@ -0,0 +1,4727 @@ +# +# Config.in.legacy - support for backward compatibility +# +# When an existing Config.in symbol is removed, it should be added again in +# this file, and take appropriate action to approximate backward compatibility. +# This will make the transition for the user more convenient. +# +# When adding legacy symbols to this file, add them to the front. The oldest +# symbols will be removed again after about two years. +# +# The symbol should be copied as-is from the place where it was previously +# defined, but the help text should be removed or replaced with something that +# explains how to fix it. +# +# For bool options, the old symbol should select BR2_LEGACY, so that the user +# is informed at build-time about selected legacy options. +# If there is an equivalent (set of) new symbols, these should be select'ed by +# the old symbol for backwards compatibility. +# It is not possible to select an option that is part of a choice. In that +# case, the new option should use the old symbol as default. This requires a +# change outside of Config.in.legacy, and this should be clearly marked as such +# in a comment, so that removal of legacy options also include the removal of +# these external references. +# +# [Example: renaming a bool option that is part of a choice from FOO to BAR] +# original choice: +# choice +# prompt "Choose foobar" +# config BR2_FOO_1 +# bool "foobar 1" +# config BR2_FOO_2 +# bool "foobar 2" +# endchoice +# +# becomes: +# choice +# prompt "Choose foobar" +# default BR2_BAR_1 if BR2_FOO_1 # legacy +# default BR2_BAR_2 if BR2_FOO_2 # legacy +# config BR2_BAR_1 +# bool "foobar 1" +# config BR2_BAR_2 +# bool "foobar 2" +# endchoice +# +# and in Config.in.legacy: +# config BR2_FOO_1 +# bool "foobar 1 has been renamed" +# help +# +# # Note: BR2_FOO_1 is still referenced from package/foo/Config.in +# config BR2_FOO_2 +# bool "foobar 2 has been renamed" +# help +# +# # Note: BR2_FOO_2 is still referenced from package/foo/Config.in +# +# [End of example] +# +# For string options, it is not possible to directly select another symbol. In +# this case, a hidden wrap bool option has to be added, that defaults to y if +# the old string is not set at its default value. The wrap symbol should select +# BR2_LEGACY. +# If the original symbol has been renamed, the new symbol should use the value +# of the old symbol as default. Like for choice options, a comment should be +# added to flag that the symbol is still used in another file. +# +# [Example: renaming a string option from FOO to BAR] +# original symbol: +# config BR2_FOO_STRING +# string "Some foo string" +# +# becomes: +# config BR2_BAR_STRING +# string "Some bar string" +# default BR2_FOO_STRING if BR2_FOO_STRING != "" # legacy +# +# and in Config.in.legacy: +# config BR2_FOO_STRING +# string "The foo string has been renamed" +# help +# +# +# config BR2_FOO_STRING_WRAP +# bool +# default y if BR2_FOO_STRING != "" +# select BR2_LEGACY +# +# # Note: BR2_FOO_STRING is still referenced from package/foo/Config.in +# +# [End of example] + +config BR2_SKIP_LEGACY + bool + option env="SKIP_LEGACY" + +if !BR2_SKIP_LEGACY + +config BR2_LEGACY + bool + help + This option is selected automatically when your old .config + uses an option that no longer exists in current buildroot. In + that case, the build will fail. Look for config options which + are selected in the menu below: they no longer exist and + should be replaced by something else. + +# This comment fits exactly in a 80-column display +comment "Legacy detected: check the content of the menu below" + depends on BR2_LEGACY + +menu "Legacy config options" + +if BR2_LEGACY +comment "----------------------------------------------------" +comment "Your old configuration uses legacy options that no " +comment "longer exist in buildroot, as indicated in the menu " +comment "below. As long as these options stay selected, or in" +comment "case of string options are non-empty, the build " +comment "will fail. " +comment "* " +comment "Where possible, an automatic conversion from old to " +comment "new symbols has been performed. Before making any " +comment "change in this legacy menu, make sure to exit the " +comment "configuration editor a first time and save the " +comment "configuration. Otherwise, the automatic conversion " +comment "of symbols will be lost. " +comment "* " +comment "After this initial save, reopen the configuration " +comment "editor, inspect the options selected below, read " +comment "their help texts, and verify/update the new " +comment "configuration in the corresponding configuration " +comment "menus. When everything is ok, you can disable the " +comment "legacy options in the menu below. Once you have " +comment "disabled all legacy options, this text will " +comment "disappear and you will be able to start the build. " +comment "* " +comment "Note: legacy options older than 5 years have been " +comment "removed, and configuration files that still have " +comment "those options set, will fail to build, or run in " +comment "unpredictable ways. " +comment "----------------------------------------------------" +endif + +############################################################################### + +comment "Legacy options removed in 2022.02" + +config BR2_PACKAGE_WESTON_DEFAULT_FBDEV + bool "weston fbdev removed" + select BR2_LEGACY + help + fbdev was deprecated in weston 10.0.0. + +config BR2_PACKAGE_WESTON_FBDEV + bool "weston fbdev compositor removed" + select BR2_LEGACY + help + fbdev compositor was deprecated in weston 10.0.0. + +config BR2_PACKAGE_PYTHON_PYCLI + bool "python-pycli removed" + select BR2_LEGACY + help + Package was removed because it is not compatible with python + 3.10 and is not maintained anymore (no release since 2012). + +config BR2_PACKAGE_LINUX_TOOLS_BPFTOOL + bool "bpftool was moved" + select BR2_LEGACY + select BR2_PACKAGE_BPFTOOL + help + The linux-tools bpftool build has been moved out + of the linux-tools package. + +config BR2_TARGET_UBOOT_NEEDS_PYTHON2 + bool "host-python 2.7 support for U-Boot was removed" + select BR2_LEGACY + help + Option was removed together with python 2.7 support. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS + bool "gst1-plugins-bad plugin libmms was removed" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_LEGACY + help + This plugin was removed with gst1-plugins-bad-1.20.0. + +config BR2_PACKAGE_PYTHON_FUNCTOOLS32 + bool "python-functools32 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_ENUM34 + bool "python-enum34 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_ENUM + bool "python-enum removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_DIALOG + bool "python-dialog removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_CONFIGOBJ + bool "python-configobj removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_YIELDFROM + bool "python-yieldfrom removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_TYPING + bool "python-typing removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_SUBPROCESS32 + bool "python-subprocess32 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_SINGLEDISPATCH + bool "python-singledispatch removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_PYRO + bool "python-pyro removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_PYPCAP + bool "python-pypcap removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_PATHLIB2 + bool "python-pathlib2 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_PAM + bool "python-pam removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_NFC + bool "python-nfc removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_MAD + bool "python-mad removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_IPADDRESS + bool "python-ipaddress removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_IPADDR + bool "python-ipaddr removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_ID3 + bool "python-id3 removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_FUTURES + bool "python-futures removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME + bool "python-backports-ssl-match-hostname removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE + bool "python-backports-shutil-get-terminal-size removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON_BACKPORTS_ABC + bool "python-backports-abc removed" + select BR2_LEGACY + help + Package was removed together with python 2.7 support. + +config BR2_PACKAGE_PYTHON + bool "python2.7 package removed" + select BR2_LEGACY + help + Python 2.7 is EOL since April 2020 and has been removed. + + https://www.python.org/dev/peps/pep-0373/ + +config BR2_TARGET_UBOOT_ZYNQ_IMAGE + bool "Generate image for Xilinx Zynq" + select BR2_LEGACY + help + Since 2016.1, U-Boot can natively generate the Zynq boot + image, and so the Xilinx-specific format and tools have been + removed. Should you still have an older U-Boot that needs + this, a python3 version of the zynq-boot-bin.py script can be + downloaded from the URL below and called from a post-build + script. + + https://gist.githubusercontent.com/jameshilliard/e09235dfc6f96c11418a134e6ebf7890/raw/135b7480c405ae8a77a9db615e495f9a9f2d3242/zynq-boot-bin.py + +config BR2_PACKAGE_RPI_BT_FIRMWARE + bool "rpi-bt-firmware package was renamed" + depends on BR2_arm || BR2_aarch64 + select BR2_LEGACY + select BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI + select BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_BT + help + Package rpi-bt-firmware was moved as option to + package brcmfmac_sdio-firmware-rpi. + +config BR2_PACKAGE_RPI_WIFI_FIRMWARE + bool "rpi-wifi-firmware package was renamed" + depends on BR2_arm || BR2_aarch64 + select BR2_LEGACY + select BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI + select BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_WIFI + help + Package rpi-wifi-firmware was moved as option to + package brcmfmac_sdio-firmware-rpi. + +config BR2_PACKAGE_HOST_GDB_PYTHON + bool "GDB Python2 support removed" + select BR2_LEGACY + help + Python2 is deprecated and no longer supported. + Please migrate to Python3. + +config BR2_PACKAGE_GSTREAMER1_MM + bool "gstreamer1-mm package removed" + select BR2_LEGACY + help + This package has been removed as it is not actively + maintained anymore and does not support glibmm-2.68 API. + +config BR2_KERNEL_HEADERS_5_14 + bool "kernel headers version 5.14.x are no longer supported" + select BR2_LEGACY + help + Version 5.14.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE + bool "python-backports-functools-lru-cache package removed" + select BR2_LEGACY + help + This package has been removed as python-setuptools-scm + dropped support of python 2 since version 6.0.0. + +config BR2_PACKAGE_CIVETWEB_WITH_LUA + bool "civetweb lua support option removed" + select BR2_LEGACY + help + Lua support does not depend on a version of Lua bundled + within the Civetweb sources anymore. Lua support is + automatically enabled if an Lua interpreter (lua or luajit) + is enabled in Buildroot. + +config BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER + bool "sunxi-mali-mainline-driver package was renamed" + select BR2_LEGACY + select BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER + help + Since the removal of the sunxi-mali-driver package, the + sunxi-mali-mainline-driver package that coexisted became the + only package to provide the Sunxi Mali driver. The "-mainline" + suffix being undescriptive nowadays and before adding new + packages bringing Mali support for other SoCs/GPU flavors, it + is clearer to rename it SUNXI_MALI_UTGARD_DRIVER. + +config BR2_PACKAGE_SUNXI_MALI_MAINLINE + bool "sunxi-mali-mainline package was renamed" + select BR2_LEGACY + select BR2_PACKAGE_SUNXI_MALI_UTGARD + help + Since the removal of the sunxi-mali package, the + sunxi-mali-mainline package that coexisted became the only + package to provide Mali blobs. The "-mainline" suffix being + undescriptive nowadays and before adding new packages bringing + Mali support for other SoCs/GPU flavors, it is clearer to + rename it SUNXI_MALI_UTGARD. + +config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2 + bool "sunxi-mali-mainline-r6p2 was renamed" + select BR2_LEGACY + select BR2_PACKAGE_SUNXI_MALI_UTGARD_R6P2 + help + The sunxi-mali-mainline package has been renamed + sunxi-mali-utgard, the suboptions of this package have also + been renamed accordingly. + +config BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1 + bool "sunxi-mali-mainline-r8p1 was renamed" + select BR2_LEGACY + select BR2_PACKAGE_SUNXI_MALI_UTGARD_R8P1 + help + The sunxi-mali-mainline package has been renamed + sunxi-mali-utgard, the suboptions of this package have also + been renamed accordingly. + +config BR2_PACKAGE_QT5WEBKIT_EXAMPLES + bool "qt5webkit-examples removed" + select BR2_LEGACY + help + The qt5webkit-examples package is unmaintained and has been + removed. + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_GLIBC_BLEEDING_EDGE + bool "Bootlin riscv64 glibc bleeding-edge toolchain removed" + select BR2_LEGACY + help + The RISC-V 64-bit LP64 Bootlin toolchains have been removed, + in favor of RISC-V 64-bit LP64D toolchains. + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_MUSL_BLEEDING_EDGE + bool "Bootlin riscv64 musl bleeding-edge toolchain removed" + select BR2_LEGACY + help + The RISC-V 64-bit LP64 Bootlin toolchains have been removed, + in favor of RISC-V 64-bit LP64D toolchains. + +config BR2_PACKAGE_IPUTILS_TFTPD + bool "iputils tftpd option removed" + select BR2_LEGACY + help + tftpd has been removed from iputils since version 20211215. + +config BR2_PACKAGE_IPUTILS_TRACEROUTE6 + bool "iputils traceroute6 option removed" + select BR2_LEGACY + help + traceroute6 has been removed from iputils since version + 20211215. + +config BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE + bool "libmediaart 'none' backend removed" + select BR2_LEGACY + help + 'none' backend has been removed from libmediaart since version + 1.9.5. + +config BR2_PACKAGE_MPD_UPNP + bool "MPD UPnP configuration changed" + select BR2_LEGACY + help + From version 0.23, MPD supports npupnp in addition to pupnp to + provide database access to a UPnP media server. To preserve + the existing functionality, the pupnp option has been selected + in the MPD UPnP configuration. +# Note: BR2_PACKAGE_MPD_UPNP is still referenced from package/mpd/Config.in + +comment "Legacy options removed in 2021.11" + +config BR2_OPENJDK_VERSION_LTS + bool "OpenJDK LTS version was renamed to OpenJDK 11" + select BR2_LEGACY + select BR2_PACKAGE_OPENJDK_VERSION_11 + help + The LTS version option was renamed to OpenJDK 11 to make it + clear what LTS version is. + +config BR2_OPENJDK_VERSION_LATEST + bool "OpenJDK latest version (16.x) was removed" + select BR2_LEGACY + select BR2_PACKAGE_OPENJDK_VERSION_17 + help + OpenJDK 16.x is no longer mainted, so the option has been + removed. Use OpenJDK 17.x instead. + +config BR2_PACKAGE_MPD_TIDAL + bool "mpd tidal option removed" + select BR2_LEGACY + help + tidal has been removed from mpd since version 0.22.10. + +config BR2_PACKAGE_MROUTED_RSRR + bool "RSRR for RSVP removed in mrouted v4.4" + select BR2_LEGACY + help + The RSRR configure option and feature was dropped in upstream + mrouted as of v4.4. This feature was marked as experimental + since its inception well before v4.0 and was never deployed + in the field outside of academia. + +config BR2_BINUTILS_VERSION_CSKY + bool "binutils csky version removed" + select BR2_LEGACY + help + Support for binutils csky version has been removed. + +config BR2_GCC_VERSION_CSKY + bool "gcc csky version removed" + select BR2_LEGACY + help + Support for gcc csky version has been removed. + +config BR2_PACKAGE_CANFESTIVAL + bool "canfestival package removed" + select BR2_LEGACY + help + This package has been removed as it is unmaintained since + November 2017. + +config BR2_PACKAGE_NMAP_NDIFF + bool "The ndiff utility has been removed" + select BR2_LEGACY + select BR2_PACKAGE_PYTHON_PYNDIFF + help + The ndiff utility provided by nmap requires python2 which is + deprecated. The same functionality is provided by the python + package pyndiff. + +config BR2_GDB_VERSION_8_3 + bool "gdb version 8.3.x removed" + select BR2_LEGACY + help + gdb 8.3.x has been removed, use a newer version instead. + +config BR2_PACKAGE_PYTHON_MELD3 + bool "python-meld3 package removed" + select BR2_LEGACY + help + This package has been removed as it is unmaintained since + April 2020. + +config BR2_PACKAGE_STRONGSWAN_EAP + bool "strongswan EAP plugins now individually selectable" + select BR2_LEGACY + help + The various EAP plugins are now individually selectable. + +config BR2_PACKAGE_GNURADIO_PAGER + bool "gnuradio gr-flex support removed" + select BR2_LEGACY + help + gr-flex has been removed from gnuradio since version 3.8.0.0. + +config BR2_KERNEL_HEADERS_5_11 + bool "kernel headers version 5.11.x are no longer supported" + select BR2_LEGACY + help + Version 5.11.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_5_12 + bool "kernel headers version 5.12.x are no longer supported" + select BR2_LEGACY + help + Version 5.12.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_5_13 + bool "kernel headers version 5.13.x are no longer supported" + select BR2_LEGACY + help + Version 5.13.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +comment "Legacy options removed in 2021.08" + +config BR2_TARGET_GRUB2_BUILTIN_MODULES + string "the grub2 builtin modules has been renamed" + help + This option has been split to separate the builtin modules + between BR2_TARGET_GRUB2_BUILTIN_MODULES_PC and + BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI. + +config BR2_TARGET_GRUB2_BUILTIN_MODULES_WRAP + bool + default y if BR2_TARGET_GRUB2_BUILTIN_MODULES != "" + select BR2_LEGACY + +config BR2_TARGET_GRUB2_BUILTIN_CONFIG + string "the grub2 builtin configuration has been renamed" + help + This option has been split to separate the builtin + configuration between BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC and + BR2_TARGET_GRUB2_BUILTIN_CONFIG_EFI. + +config BR2_TARGET_GRUB2_BUILTIN_CONFIG_WRAP + bool + default y if BR2_TARGET_GRUB2_BUILTIN_CONFIG != "" + select BR2_LEGACY + +config BR2_PACKAGE_LIBMCRYPT + bool "libmcrypt package was removed" + select BR2_LEGACY + help + This package has been removed as "the last update to libmcrypt + was in 2007, despite years of unmerged patches. These facts + have led security experts to declare mcrypt abandonware and + discourage its use in new development" (extract from + https://en.wikipedia.org/wiki/Mcrypt). + +config BR2_PACKAGE_MCRYPT + bool "mcrypt package was removed" + select BR2_LEGACY + help + This package has been removed as "the last update to libmcrypt + was in 2007, despite years of unmerged patches. These facts + have led security experts to declare mcrypt abandonware and + discourage its use in new development" (extract from + https://en.wikipedia.org/wiki/Mcrypt). + +config BR2_PACKAGE_PHP_EXT_MCRYPT + bool "PHP mcrypt extension removed" + select BR2_LEGACY + help + mcrypt has been removed from php since version 7.2.0. + +config BR2_BINUTILS_VERSION_2_34_X + bool "binutils 2.34 has been removed" + select BR2_LEGACY + help + binutils 2.34 has been removed, use a newer version. + +config BR2_PACKAGE_LIBSOIL + bool "libsoil package removed" + select BR2_LEGACY + help + The libsoil package was removed. All packages needing + libsoil removed the dependency. + +config BR2_PACKAGE_CLAPACK + bool "cblas/clapack package removed" + select BR2_LEGACY + select BR2_PACKAGE_LAPACK if BR2_PACKAGE_LAPACK_ARCH_SUPPORTS && BR2_TOOLCHAIN_HAS_FORTRAN + help + The clapack package was removed. LAPACK no longer generates a + C version. Use lapack instead. This does require a Fortran + compiler however. + +config BR2_PACKAGE_SPIDERMONKEY + bool "spidermonkey package removed" + select BR2_LEGACY + help + The spidermonkey package was removed. The only package that + depended on spidermonkey was polkit. The spidermonkey + dependency is replaced with duktape. + +config BR2_PACKAGE_KODI_LIBVA + bool "kodi option to add libva support removed" + select BR2_LEGACY + help + Kodi still has support for libva if the package is enabled but + the kodi-specific dependencies limiting libva support to non- + OPENGLES platforms were removed including this option. + +config BR2_PACKAGE_PYTHON_COHERENCE + bool "python-coherence package removed" + select BR2_LEGACY + help + This package has been removed as it can't be built anymore due + to python-twisted being now incompatible with python 2. + +config BR2_PACKAGE_PHP_EXT_XMLRPC + bool "PHP XMLRPC extension removed" + select BR2_LEGACY + help + The XMLRPC php extension was removed. + See: https://wiki.php.net/rfc/unbundle_xmlprc + +config BR2_GCC_VERSION_8_X + bool "gcc 8.x support removed" + select BR2_LEGACY + help + Support for gcc version 8.x has been removed. The current + default version (10.x or later) has been selected instead. + +comment "Legacy options removed in 2021.05" + +config BR2_PACKAGE_UDISKS_LVM2 + bool "udisks lvm2 support removed" + select BR2_LEGACY + help + The lvm2 support was removed because udisks < 2.7.0 still + depends on lvm2 application library, which was removed + in lvm2. + +config BR2_PACKAGE_LVM2_APP_LIBRARY + bool "lvm2 application library removed" + select BR2_LEGACY + help + The lvm2 application library was removed upstream. + +config BR2_PACKAGE_LVM2_LVMETAD + bool "lvm2 lvmetad removed" + select BR2_LEGACY + help + The lvm2 lvmetad was removed upstream. + +config BR2_PACKAGE_MONKEY + bool "monkey package removed" + select BR2_LEGACY + help + This package has been removed as it has not seen any release + since 2016 and because TLS is broken on master. + +config BR2_PACKAGE_DOCKER_CONTAINERD + bool "docker-containerd package was renamed to containerd" + select BR2_LEGACY + select BR2_PACKAGE_CONTAINERD + help + The containerd project is now independent from Docker. + The package was renamed to containerd accordingly. + +config BR2_PACKAGE_IOSTAT + bool "iostat package removed" + select BR2_LEGACY + help + This package has been removed, use sysstat instead. + +config BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE + bool "sconeserver http::sconesite::image removed" + select BR2_LEGACY + help + Sconeserver cannot be built with ImageMagick - it uses the + "transofrm" function which is removed from public API. + +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV + bool "KDrive/TinyX evdev input driver removed" + select BR2_LEGACY + help + The evdev input driver in KDrive was removed. + +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD + bool "KDrive/TinyX kbd input driver removed" + select BR2_LEGACY + help + The kbd input driver in KDrive was removed. + +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE + bool "KDrive/TinyX mouse input driver removed" + select BR2_LEGACY + help + The mouse input driver in KDrive was removed. + +config BR2_PACKAGE_MESA3D_OSMESA_CLASSIC + bool "mesa OSMesa (classic) option removed" + select BR2_LEGACY + select BR2_PACKAGE_MESA3D_OSMESA_GALLIUM + help + The OSMesa "classic" library option was removed upstream. + Only the Gallium-based implementation remains. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST + bool "mesa DRI swrast driver removed" + select BR2_LEGACY + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST + help + The DRI swrast driver was removed upstream. + Only the Gallium-based implementation remains. + +config BR2_PACKAGE_KODI_SCREENSAVER_CRYSTALMORPH + bool "kodi-screensaver-crystalmorph removed" + select BR2_LEGACY + help + The package received its last updates in 2017, is not part + of the official Kodi github repo and its build is broken + with Kodi 19.x, so it was removed. + +comment "Legacy options removed in 2021.02" + +config BR2_PACKAGE_MPD_AUDIOFILE + bool "mpd audiofile support removed" + select BR2_LEGACY + help + The audiofile support was removed from mpd as audiofile is + affected by multiple CVEs and is not maintained anymore (no + release since 2013). + +config BR2_PACKAGE_AUDIOFILE + bool "audiofile package removed" + select BR2_LEGACY + help + The audiofile package was removed as it is affected by + multiple CVEs and is not maintained anymore (no release since + 2013). + +config BR2_BINUTILS_VERSION_2_33_X + bool "binutils 2.33.x has been removed" + select BR2_LEGACY + help + binutils 2.33.x has been removed, use a newer version. + +config BR2_PACKAGE_LIBUPNP18 + bool "libupnp18 package removed" + select BR2_LEGACY + select BR2_PACKAGE_LIBUPNP + help + Version 1.8.x of libupnp (i.e. libupnp18) has been removed + because it will never be fixed against CallStranger a.k.a. + CVE-2020-12695. The libupnp package (which has been updated to + version 1.14.x) has been selected instead. + +config BR2_PACKAGE_BOA + bool "boa package removed" + select BR2_LEGACY + help + The boa package was removed as it is affected by multiple + CVEs and is not maintained anymore (no release since 2005). + +config BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA + bool "imx sdma firmware is provided by firmware-imx" + select BR2_LEGACY + select BR2_PACKAGE_FREESCALE_IMX + select BR2_PACKAGE_FIRMWARE_IMX + help + linux-firmware provide the same firmware as firmware-imx. + We prefer using firmware-imx as the only provider. + +config BR2_GDB_VERSION_8_2 + bool "gdb 8.2.x has been removed" + select BR2_LEGACY + help + gdb 8.2 support has been removed, you can use a newer + version such as 8.3 or more recent. + +config BR2_PACKAGE_HOST_RCW + bool "rcw package was renamed to qoriq-rcw" + select BR2_PACKAGE_HOST_QORIQ_RCW + select BR2_LEGACY + help + The rcw package was specific to the QorIQ platform, so it has + been renamed to qoriq-rcw, to leave room for other *-rcw + packages for other platforms. + +config BR2_KERNEL_HEADERS_5_9 + bool "kernel headers version 5.9.x are no longer supported" + select BR2_LEGACY + help + Version 5.9.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_5_8 + bool "kernel headers version 5.8.x are no longer supported" + select BR2_LEGACY + help + Version 5.8.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_powerpc_601 + bool "PowerPC 601 support removed" + select BR2_LEGACY + help + The support for the PowerPC 601 processors has been removed. + +config BR2_PACKAGE_TI_SGX_LIBGBM + bool "ti-sgx-libgbm support removed" + select BR2_LEGACY + help + TI has merged the ti-sgx-libgbm package with the ti-sgx-um + package + +config BR2_PACKAGE_IPSEC_TOOLS + bool "ipsec-tools package was removed" + select BR2_LEGACY + help + This package has been removed as it has security issues and + has been abandoned since 2014. + +comment "Legacy options removed in 2020.11" + +config BR2_PACKAGE_GPSD_FIXED_PORT_SPEED + bool "compile with fixed serial port speed" + select BR2_LEGACY + help + Since gpsd 3.20, GPSD_FIXED_PORT_SPEED is replaced + by runtime option --speed. + +config BR2_PACKAGE_GPSD_RECONFIGURE + bool "allow gpsd to change device settings" + select BR2_LEGACY + help + Since gpsd 3.21, GPSD_RECONFIGURE is replaced + by runtime option --passive. + +config BR2_PACKAGE_GPSD_CONTROLSEND + bool "allow gpsctl/gpsmon to change device settings" + select BR2_LEGACY + help + Option removed in gpsd 3.21 + +config BR2_PACKAGE_OPENCV + bool "opencv package was removed" + select BR2_LEGACY + help + This package has been removed, use opencv3 instead. + +config BR2_PACKAGE_LIBCROCO + bool "libcroco package was removed" + select BR2_LEGACY + help + This package has been removed as it is affected by several + security issues such as CVE-2020-12825 which will never be + fixed as libcroco has been archived. + +config BR2_PACKAGE_BELLAGIO + bool "bellagio package was removed" + select BR2_LEGACY + help + This package has been removed as it is not maintained anymore + (no release since 2011). + +config BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY + bool "systemd-journal-gatewayd now in systemd-journal-remote" + select BR2_LEGACY + select BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE + help + All system journal remote programs are now enabled using + BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE. + +config BR2_TARGET_UBOOT_BOOT_SCRIPT + bool "u-boot script generation was moved" + select BR2_LEGACY + select BR2_PACKAGE_HOST_UBOOT_TOOLS + select BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT + help + Migrated U-Boot script generation to uboot-tools + +# Note: BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE is still referenced from +# package/uboot-tools/Config.in +config BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE + string "The uboot script source string has been renamed" + depends on BR2_TARGET_UBOOT_BOOT_SCRIPT + help + Migrated U-Boot script generation to uboot-tools. + New option is named + BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE + +config BR2_TARGET_UBOOT_ENVIMAGE + bool "u-boot env generation was moved" + select BR2_LEGACY + select BR2_PACKAGE_HOST_UBOOT_TOOLS + select BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE + help + Migrated U-Boot env generation to uboot-tools + +# Note: BR2_TARGET_UBOOT_ENVIMAGE_SOURCE is still referenced from +# package/uboot-tools/Config.in +config BR2_TARGET_UBOOT_ENVIMAGE_SOURCE + string "The uboot env image source string has been renamed" + depends on BR2_TARGET_UBOOT_ENVIMAGE + help + Migrated U-Boot env generation to uboot-tools. + New option is named + BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE + +# Note: BR2_TARGET_UBOOT_ENVIMAGE_SIZE is still referenced from +# package/uboot-tools/Config.in +config BR2_TARGET_UBOOT_ENVIMAGE_SIZE + string "The uboot env image size string has been renamed" + depends on BR2_TARGET_UBOOT_ENVIMAGE + help + Migrated U-Boot env generation to uboot-tools. + New option is named BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE + +config BR2_TARGET_UBOOT_ENVIMAGE_REDUNDANT + bool "u-boot env generation was moved" + depends on BR2_TARGET_UBOOT_ENVIMAGE + select BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_REDUNDANT + help + Migrated U-Boot env generation to uboot-tools + +config BR2_PACKAGE_KISMET_CLIENT + bool "kismet client support was removed" + select BR2_LEGACY + help + Kismet client support was removed since version 2019-04-R1. + +config BR2_PACKAGE_KISMET_DRONE + bool "kismet drone support was removed" + select BR2_LEGACY + help + Kismet drone support was removed since version 2019-04-R1. + +config BR2_GCC_VERSION_7_X + bool "gcc 7.x support removed" + select BR2_LEGACY + help + Support for gcc version 7.x has been removed. The current + default version (9.x or later) has been selected instead. + +config BR2_PACKAGE_GST1_VALIDATE + bool "gst1-validate was moved to gst1-devtools" + select BR2_PACKAGE_GST1_DEVTOOLS + select BR2_LEGACY + help + This package has been removed, use gst1-devtools instead. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_YADIF + bool "gst1-plugins-bad yadif plugin was removed" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE + help + This plugin was removed with gst1-plugins-bad-1.18.0, the + same functionality has moved to gst1-plugins-good + deinterlace plugin (method=yadif). + +config BR2_PACKAGE_GQVIEW + bool "gqview package was removed" + select BR2_LEGACY + help + This package has been removed as it is not maintained anymore + (no release since 2006). + +config BR2_PACKAGE_WESTON_IMX + bool "weston-imx package was removed" + select BR2_LEGACY + help + This package has been removed, use weston instead. + +config BR2_KERNEL_HEADERS_5_7 + bool "kernel headers version 5.7.x are no longer supported" + select BR2_LEGACY + help + Version 5.7.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_PACKAGE_TINYHTTPD + bool "tinyhttpd package removed" + select BR2_LEGACY + help + The tinyhttpd package was removed as it is affected by + CVE-2002-1819 and is not maintained anymore (no release since + 2001). + +config BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX + bool "X.org Enable AIGLX Extension" + select BR2_LEGACY + help + AIGLX Extension was removed in X.org X server version 1.19.0 + +config BR2_PACKAGE_AMD_CATALYST + bool "amd-catalyst" + select BR2_LEGACY + help + Current X.org server is incompatible with this driver. + +config BR2_PACKAGE_NVIDIA_TEGRA23 + bool "nvidia-tegra23 package removed" + select BR2_LEGACY + help + Current X.org server is incompatible with this driver. + +config BR2_GDB_VERSION_8_1 + bool "gdb 8.1.x has been removed" + select BR2_LEGACY + help + The 8.1.x version of gdb has been removed. Use a newer + version instead. + +comment "Legacy options removed in 2020.08" + +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64 + bool "toolchain-external-codesourcery-amd64 removed" + select BR2_LEGACY + help + The CodeSourcery toolchain for AMD64, in version 2016.11 was + dropped, due to it using a too old gcc 6.2.0 compiler which + caused issues compiling a number of recent packages + (e.g. Boost). CodeSourcery has stopped making newer versions + of this toolchain publicly available, so it was not possible + to update it. + +config BR2_KERNEL_HEADERS_5_6 + bool "kernel headers version 5.6.x are no longer supported" + select BR2_LEGACY + help + Version 5.6.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_5_5 + bool "kernel headers version 5.5.x are no longer supported" + select BR2_LEGACY + help + Version 5.5.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_BINUTILS_VERSION_2_31_X + bool "binutils version 2.31.1 support removed" + select BR2_LEGACY + help + Support for binutils version 2.31.1 has been removed. The + current default version (2.33.1 or later) has been selected + instead. + +config BR2_PACKAGE_KODI_PERIPHERAL_STEAMCONTROLLER + bool "kodi-peripheral-steamcontroller package was removed" + select BR2_LEGACY + help + This package is broken. + +comment "Legacy options removed in 2020.05" + +config BR2_PACKAGE_WIRINGPI + bool "wiringpi package removed" + select BR2_LEGACY + help + The author of wiringpi has deprecated the package, and + completely removed the git tree that was serving the + sources, with this message: + Please look for alternatives for wiringPi + +config BR2_PACKAGE_PYTHON_PYCRYPTO + bool "python-pycrypto package removed" + select BR2_LEGACY + help + This package has been removed, use python-pycryptodomex + instead. + +config BR2_PACKAGE_MTDEV2TUIO + bool "mtdev2tuio package removed" + select BR2_LEGACY + help + The mtdev2tuio package was removed as it breaks the builds + every now and then and is not maintained upstream. + +config BR2_PACKAGE_EZXML + bool "ezxml package removed" + select BR2_LEGACY + help + The ezXML package was removed as it is affected by several + CVEs and is not maintained anymore (no release since 2006). + +config BR2_PACKAGE_COLLECTD_LVM + bool "lvm support in collectd was removed" + select BR2_LEGACY + help + collectd removed LVM plugin, liblvm2app has been deprecated + +config BR2_PACKAGE_PYTHON_PYASN + bool "duplicate python-pyasn1 package removed" + select BR2_LEGACY + select BR2_PACKAGE_PYTHON_PYASN1 + help + This package was a duplicate of python-pyasn1. + +config BR2_PACKAGE_PYTHON_PYASN_MODULES + bool "duplicate python-pyasn1-modules package removed" + select BR2_LEGACY + select BR2_PACKAGE_PYTHON_PYASN1_MODULES + help + This package was a duplicate of python-pyasn1-modules. + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA6174 + bool "duplicate QCA6174 firmware symbol removed" + select BR2_LEGACY + select BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174 + help + This config symbol duplicates existing symbol for QCA6174 + firmware. + +config BR2_PACKAGE_QT5CANVAS3D + bool "qt5canvas3d was removed" + select BR2_LEGACY + help + This Qt5 module was removed by the upstream Qt project since + Qt 5.13, so the corresponding Buildroot package was removed + as well. + +config BR2_PACKAGE_KODI_LIBTHEORA + bool "libtheora support in Kodi was removed" + select BR2_LEGACY + help + Kodi does not need libtheora + +config BR2_PACKAGE_CEGUI06 + bool "BR2_PACKAGE_CEGUI06 was renamed" + select BR2_PACKAGE_CEGUI + select BR2_LEGACY + help + The BR2_PACKAGE_CEGUI06 config symbol was renamed to + BR2_PACKAGE_CEGUI. + +config BR2_GCC_VERSION_5_X + bool "gcc 5.x support removed" + select BR2_LEGACY + help + Support for gcc version 5.x has been removed. The current + default version (8.x or later) has been selected instead. + +comment "Legacy options removed in 2020.02" + +config BR2_PACKAGE_JAMVM + bool "jamvm removed" + select BR2_LEGACY + help + JamVM has not had a release since 2014 and is unmaintained. + +config BR2_PACKAGE_CLASSPATH + bool "classpath removed" + select BR2_LEGACY + help + GNU Classpath package was removed. The last upstream + release was in 2012 and there hasn't been a commit + since 2016. + +config BR2_PACKAGE_QT5_VERSION_5_6 + bool "qt 5.6 support removed" + select BR2_LEGACY + help + Support for Qt 5.6 is EOL and has been removed. The current + version (5.12 or later) has been selected instead. + +config BR2_PACKAGE_CURL + bool "BR2_PACKAGE_CURL was renamed" + select BR2_PACKAGE_LIBCURL_CURL + select BR2_LEGACY + help + The BR2_PACKAGE_CURL config symbol was renamed to + BR2_PACKAGE_LIBCURL_CURL. + +config BR2_PACKAGE_GSTREAMER + bool "gstreamer-0.10 removed" + select BR2_LEGACY + help + Gstreamer-0.10 package was removed. It has been deprecated + upstream since 2012, and is missing a lot of features and + fixes compared to gstreamer-1.x. + +config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS + bool "nvidia-tegra23 binaries gstreamer 0.10.x support removed" + select BR2_LEGACY + help + Gstreamer 0.10.x is no longer available in Buildroot, so + neither is the support in nvidia-tegra23 binaries. + +config BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_NV_SAMPLE_APPS + bool "nvidia-tegra23 binaries sample apps removed" + select BR2_LEGACY + help + Gstreamer 0.10.x is no longer available in Buildroot, so + neither is the support in nvidia-tegra23 binaries. + +config BR2_PACKAGE_FREERDP_GSTREAMER + bool "freerdp gstreamer 0.10.x support removed" + select BR2_LEGACY + help + Gstreamer 0.10.x is no longer available in Buildroot, so + neither is the support in freerdp. + +config BR2_PACKAGE_OPENCV3_WITH_GSTREAMER + bool "opencv3 gstreamer 0.10.x support removed" + select BR2_LEGACY + help + Gstreamer 0.10.x is no longer available in Buildroot, so + neither is the support in opencv3. + +config BR2_PACKAGE_OPENCV_WITH_GSTREAMER + bool "opencv gstreamer 0.10.x support removed" + select BR2_LEGACY + help + Gstreamer 0.10.x is no longer available in Buildroot, so + neither is the support in opencv. + +config BR2_PACKAGE_LIBPLAYER + bool "libplayer package was removed" + select BR2_LEGACY + help + The libplayer package was removed. The latest release is + from 2010 and none of the backends are available in + Buildroot any more. + +config BR2_GCC_VERSION_OR1K + bool "gcc 5.x fork for or1k has been removed" + select BR2_LEGACY + help + Support for gcc 5.x for or1k has been removed. The current + default version (9.x or later) has been selected instead. + +config BR2_PACKAGE_BLUEZ_UTILS + bool "bluez-utils was removed" + select BR2_LEGACY + select BR2_PACKAGE_BLUEZ5_UTILS if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 \ + && BR2_TOOLCHAIN_HAS_SYNC_4 + help + The bluez-utils (BlueZ 4.x) package was removed as it is + deprecated since a long time. As an alternative, the + bluez5-utils (BlueZ 5.x) has been automatically selected in + your configuration. + +config BR2_PACKAGE_GADGETFS_TEST + bool "gadgetfs-test was removed" + select BR2_LEGACY + help + The gadgetfs-test package was removed. Gadgetfs has been + deprecated in favour of functionfs. Consider using + gadget-tool (gt) instead. + +config BR2_PACKAGE_FIS + bool "fis was removed" + select BR2_LEGACY + help + The fis package was removed. + +config BR2_PACKAGE_REFPOLICY_POLICY_VERSION + string "refpolicy policy version" + help + The refpolicy policy version option has been moved to the + libsepol package. + +config BR2_PACKAGE_REFPOLICY_POLICY_VERSION_WRAP + bool + default y if BR2_PACKAGE_REFPOLICY_POLICY_VERSION != "" + select BR2_LEGACY + +config BR2_PACKAGE_CELT051 + bool "celt051 package was removed" + select BR2_LEGACY + select BR2_PACKAGE_OPUS + help + The celt051 package was removed as it is now obsolete since + the CELT codec has been merged into the IETF Opus codec. As + a result, the opus package has been automatically selected + in your configuration. + +config BR2_PACKAGE_WIREGUARD + bool "wireguard package renamed" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 + select BR2_LEGACY + select BR2_PACKAGE_WIREGUARD_LINUX_COMPAT if BR2_LINUX_KERNEL + select BR2_PACKAGE_WIREGUARD_TOOLS + help + The wireguard package has been renamed to wireguard-tools + for the userspace tooling and wireguard-linux-compat for the + kernel side for legacy (<5.6) kernels to match upstream. + +config BR2_PACKAGE_PERL_NET_PING + bool "perl-net-ping was removed" + select BR2_LEGACY + help + Net::Ping is a Perl core module (ie. bundled with perl). + +config BR2_PACKAGE_PERL_MIME_BASE64 + bool "perl-mime-base64 was removed" + select BR2_LEGACY + help + MIME::Base64 is a Perl core module (ie. bundled with perl). + +config BR2_PACKAGE_PERL_DIGEST_MD5 + bool "perl-digest-md5 was removed" + select BR2_LEGACY + help + Digest::MD5 is a Perl core module (ie. bundled with perl). + +config BR2_PACKAGE_ERLANG_P1_ICONV + bool "erlang-p1-iconv has been removed" + select BR2_LEGACY + help + The erlang-p1-iconv package was no longer used by ejabberd, + and was no longer maintained upstream, so it was removed. + +config BR2_KERNEL_HEADERS_5_3 + bool "kernel headers version 5.3.x are no longer supported" + select BR2_LEGACY + help + Version 5.3.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_PACKAGE_PYTHON_SCAPY3K + bool "python-scapy3k is replaced by python-scapy" + select BR2_LEGACY + select BR2_PACKAGE_PYTHON_SCAPY + help + python-scapy3k has been deprecated, since python-scapy has + gained Python 3 support. Use BR2_PACKAGE_PYTHON_SCAPY + instead. + +config BR2_BINUTILS_VERSION_2_30_X + bool "binutils version 2.30 support removed" + select BR2_LEGACY + help + Support for binutils version 2.30 has been removed. The + current default version (2.31 or later) has been selected + instead. + +config BR2_PACKAGE_RPI_USERLAND_START_VCFILED + bool "rpi-userland start vcfiled was removed" + select BR2_LEGACY + help + The vcfiled support was removed upstream. + +comment "Legacy options removed in 2019.11" + +config BR2_PACKAGE_OPENVMTOOLS_PROCPS + bool "openvmtools' procps support was removed" + select BR2_LEGACY + help + Upstream stopped supporting this option a while ago. + +config BR2_PACKAGE_ALLJOYN + bool "alljoyn was removed" + select BR2_LEGACY + help + The alljoyn framework is dead + +config BR2_PACKAGE_ALLJOYN_BASE + bool "alljoyn-base was removed" + select BR2_LEGACY + help + The alljoyn framework is dead + +config BR2_PACKAGE_ALLJOYN_BASE_CONTROLPANEL + bool "alljoyn-base control panel was removed" + select BR2_LEGACY + help + The alljoyn framework is dead + +config BR2_PACKAGE_ALLJOYN_BASE_NOTIFICATION + bool "alljoyn-base notification was removed" + select BR2_LEGACY + help + The alljoyn framework is dead + +config BR2_PACKAGE_ALLJOYN_BASE_ONBOARDING + bool "alljoyn-base onboarding was removed" + select BR2_LEGACY + help + The alljoyn framework is dead + +config BR2_PACKAGE_ALLJOYN_TCL_BASE + bool "alljoyn-tcl-base was removed" + select BR2_LEGACY + help + The alljoyn framework is dead + +config BR2_PACKAGE_ALLJOYN_TCL + bool "alljoyn-tcl was removed" + select BR2_LEGACY + help + The alljoyn framework is dead + +config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS + string "toolchain-external extra libs option has been renamed" + help + The option BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS has + been renamed to BR2_TOOLCHAIN_EXTRA_LIBS. + +config BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS_WRAP + bool + default y if BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS != "" + select BR2_LEGACY + +config BR2_PACKAGE_PYTHON_PYSNMP_APPS + bool "python-pysnmp-apps was removed" + select BR2_LEGACY + select BR2_PACKAGE_SNMPCLITOOLS + help + Following upstream changes, the python-pysnmp-apps package + has been removed, and snmpclitools should be used as a + replacement. + +config BR2_KERNEL_HEADERS_5_2 + bool "kernel headers version 5.2.x are no longer supported" + select BR2_LEGACY + help + Version 5.2.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_TARGET_RISCV_PK + bool "riscv-pk was removed" + select BR2_LEGACY + help + The RISC-V Proxy Kernel (pk) and Berkley Boot Loader (BBL) + have been replaced with OpenSBI. + +config BR2_PACKAGE_SQLITE_STAT3 + bool "sqlite stat3 support was removed" + select BR2_LEGACY + help + Upstream removed the support for stat3. + +config BR2_KERNEL_HEADERS_5_1 + bool "kernel headers version 5.1.x are no longer supported" + select BR2_LEGACY + help + Version 5.1.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_PACKAGE_DEVMEM2 + bool "devmem2 package was removed" + select BR2_LEGACY + help + Use the the Busybox devmem utility, instead, which provides + the same functionality. + +config BR2_PACKAGE_USTR + bool "ustr package removed" + select BR2_LEGACY + help + The 'ustr' package was only used by SELinux libsemanage, but + since SELinux 2.7, ustr is no longer used. Therefore, we + removed this package from Buildroot. + +config BR2_PACKAGE_KODI_SCREENSAVER_PLANESTATE + bool "kodi-screensaver-planestate package was removed" + select BR2_LEGACY + help + This package is incompatible with Kodi 18.x. + +config BR2_PACKAGE_KODI_VISUALISATION_WAVEFORHUE + bool "kodi-visualisation-waveforhue package was removed" + select BR2_LEGACY + help + This package is incompatible with Kodi 18.x. + +config BR2_PACKAGE_KODI_AUDIODECODER_OPUS + bool "kodi-audiodecoder-opus package was removed" + select BR2_LEGACY + help + This package is incompatible with Kodi 18.x. + +config BR2_PACKAGE_MESA3D_OSMESA + bool "mesa OSMesa option renamed" + select BR2_PACKAGE_MESA3D_OSMESA_CLASSIC if BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST + select BR2_LEGACY + help + The option was renamed in order to match the naming used + by the meson buildsystem. + +config BR2_PACKAGE_HOSTAPD_DRIVER_RTW + bool "hostapd rtl871xdrv driver removed" + select BR2_LEGACY + help + Since the update of hostapd to 2.9, the patch provided for + the rtl871xdrv no longer works, although it + applies. Moreover, AP support for Realtek chips is broken + anyway in kernels > 4.9. Therefore, this option has been + removed. + +config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_NEW + bool "new dbus support option in wpa_supplicant was renamed" + select BR2_PACKAGE_WPA_SUPPLICANT_DBUS if BR2_TOOLCHAIN_HAS_THREADS + select BR2_LEGACY + help + The new dbus support option was renamed. + +config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_OLD + bool "old dbus support in wpa_supplicant was removed" + select BR2_LEGACY + help + The old dbus support was removed. + +comment "Legacy options removed in 2019.08" + +config BR2_TARGET_TS4800_MBRBOOT + bool "ts4800-mbrboot package was removed" + select BR2_LEGACY + help + The defconfig for the TS4800 platform has been removed, so + the ts4800-mbrboot package, containing the boot code for + this specific platform has been removed as welL. + +config BR2_PACKAGE_LIBAMCODEC + bool "liamcodec package was removed" + select BR2_LEGACY + help + Support for odroidc2 based systems was removed, making the + libamcodec package useless. + +config BR2_PACKAGE_ODROID_SCRIPTS + bool "odroid-scripts package was removed" + select BR2_LEGACY + help + Support for odroidc2 based systems was removed, making the + odroid-scripts package useless. + +config BR2_PACKAGE_ODROID_MALI + bool "odroid-mali package was removed" + select BR2_LEGACY + help + Support for odroidc2 based systems was removed, making the + odroid-mali package useless. + +config BR2_PACKAGE_KODI_PLATFORM_AML + bool "Kodi AMLogic support was removed" + select BR2_LEGACY + help + Support for AMLogic was removed due to the removal of the + odroidc2 defconfig. + +config BR2_GCC_VERSION_6_X + bool "gcc 6.x support removed" + select BR2_LEGACY + help + Support for gcc version 6.x has been removed. The current + default version (8.x or later) has been selected instead. + +config BR2_GCC_VERSION_4_9_X + bool "gcc 4.9.x support removed" + select BR2_LEGACY + help + Support for gcc version 4.9.x has been removed. The current + default version (8.x or later) has been selected instead. + +config BR2_GDB_VERSION_7_12 + bool "gdb 7.12.x has been removed" + select BR2_LEGACY + help + The 7.12.x version of gdb has been removed. Use a newer + version instead. + +config BR2_PACKAGE_XAPP_MKFONTDIR + bool "mkfontdir is now included in xapp_mkfontscale" + select BR2_PACKAGE_XAPP_MKFONTSCALE + select BR2_LEGACY + help + xapp_mkfontscale now includes the mkfontdir script previously + distributed separately for compatibility with older X11 + versions. + +config BR2_GDB_VERSION_8_0 + bool "gdb 8.0.x has been removed" + select BR2_LEGACY + help + The 8.0.x version of gdb has been removed. Use a newer + version instead. + +config BR2_KERNEL_HEADERS_4_20 + bool "kernel headers version 4.20.x are no longer supported" + select BR2_LEGACY + help + Version 4.20.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_5_0 + bool "kernel headers version 5.0.x are no longer supported" + select BR2_LEGACY + help + Version 5.0.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +comment "Legacy options removed in 2019.05" + +config BR2_CSKY_DSP + bool "C-SKY DSP support removed" + select BR2_LEGACY + help + C-SKY DSP instruction support for ck810 / ck807 was removed, + as it was no longer supported in C-SKY gcc. Perhaps the VDSP + instructions should be used instead, using the BR2_CSKY_VDSP + option. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COMPOSITOR + bool "compositor moved to gst1-plugins-base" + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR + select BR2_LEGACY + help + The gst1-plugins-bad compositor plugin has moved + to gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IQA + bool "gst-plugins-bad IQA option was removed" + select BR2_LEGACY + help + The gst1-plugins-bad IQA option was removed. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV + bool "gst-plugins-bad opencv option was removed" + select BR2_LEGACY + help + The gst1-plugins-bad opencv option was removed because + buildroot does not have the opencv_contrib package which + is required for the bgsegm module which gst1-plugins-bad + now requires along with opencv3. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_STEREO + bool "stereo was merged into audiofx in gst1-plugins-good" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX + help + The gst1-plugins-bad stereo plugin has merged with the + gst1-plugins-base audiofx plugin. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD + bool "gst-plugins-bad vcd plugin was removed." + select BR2_LEGACY + help + The gst1-plugins-bad vcd plugin was removed. + +config BR2_PACKAGE_LUNIT + bool "lunit package removed" + select BR2_LEGACY + select BR2_PACKAGE_LUA_LUNITX + help + The lunit package was removed in favor of its fork lunitx, + which supports all versions of Lua. + +config BR2_PACKAGE_FFMPEG_FFSERVER + bool "ffmpeg ffserver removed" + select BR2_LEGACY + help + On July 10th, 2016, ffserver program has been dropped. + +config BR2_PACKAGE_LIBUMP + bool "libump package removed" + select BR2_LEGACY + help + The libump package was removed, it was only used as a + dependency of sunxi-mali, which itself was removed. + +config BR2_PACKAGE_SUNXI_MALI + bool "sunxi-mali package removed" + select BR2_LEGACY + select BR2_PACKAGE_SUNXI_MALI_UTGARD + help + The sunxi-mali package was removed, as the + sunxi-mali-mainline package replaces it for mainline + kernels on Allwinner platforms. + +config BR2_BINUTILS_VERSION_2_29_X + bool "binutils version 2.29 support removed" + select BR2_LEGACY + help + Support for binutils version 2.29 has been removed. The + current default version (2.31 or later) has been selected + instead. + +config BR2_BINUTILS_VERSION_2_28_X + bool "binutils version 2.28 support removed" + select BR2_LEGACY + help + Support for binutils version 2.28 has been removed. The + current default version (2.31 or later) has been selected + instead. + +config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_APEXSINK + bool "gst-plugins-bad apexsink option removed" + select BR2_LEGACY + help + The gst-plugins-bad apexsink option was removed. + +comment "Legacy options removed in 2019.02" + +config BR2_PACKAGE_QT + bool "qt package removed" + select BR2_LEGACY + help + The qt package was removed. + +config BR2_PACKAGE_QTUIO + bool "qtuio package removed" + select BR2_LEGACY + help + The qtuio package was removed. + +config BR2_PACKAGE_PINENTRY_QT4 + bool "pinentry-qt4 option removed" + select BR2_LEGACY + help + The pinentry-qt4 option was removed. + +config BR2_PACKAGE_POPPLER_QT + bool "poppler qt option removed" + select BR2_LEGACY + help + The poppler qt option was removed. + +config BR2_PACKAGE_OPENCV3_WITH_QT + bool "opencv3 qt backend option removed" + select BR2_LEGACY + help + The opencv3 qt backend option was removed. + +config BR2_PACKAGE_OPENCV_WITH_QT + bool "opencv qt backend option removed" + select BR2_LEGACY + help + The opencv qt backend option was removed. + +config BR2_PACKAGE_AMD_CATALYST_CCCLE + bool "catalyst control center option removed" + select BR2_LEGACY + help + The AMD Catalyst Control Center option was removed. + +config BR2_PACKAGE_SDL_QTOPIA + bool "sdl qtopia video driver option removed" + select BR2_LEGACY + help + The SDL QTopia video driver option was removed. + +config BR2_PACKAGE_PYTHON_PYQT + bool "python-pyqt package removed" + select BR2_LEGACY + help + The python-pyqt package was removed. Consider python-pyqt5 + instead. + +config BR2_PACKAGE_LUACRYPTO + bool "luacrypto package removed" + select BR2_LEGACY + help + The luacrypto package was removed. Consider luaossl instead. + +config BR2_PACKAGE_TN5250 + bool "tn5250 package removed" + select BR2_LEGACY + help + The tn5250 package was removed. + +config BR2_PACKAGE_BOOST_SIGNALS + bool "Boost signals removed" + select BR2_LEGACY + help + Its removal was announced in boost 1.68 and its deprecation + was announced in 1.54. Users are encouraged to use Signals2 + instead. + +config BR2_PACKAGE_FFTW_PRECISION_SINGLE + bool "single" + select BR2_LEGACY + select BR2_PACKAGE_FFTW_SINGLE + help + This option has been removed in favor of + BR2_PACKAGE_FFTW_SINGLE. + +config BR2_PACKAGE_FFTW_PRECISION_DOUBLE + bool "double" + select BR2_LEGACY + select BR2_PACKAGE_FFTW_DOUBLE + help + This option has been removed in favor of + BR2_PACKAGE_FFTW_DOUBLE. + +config BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE + bool "long double" + depends on !(BR2_TOOLCHAIN_BUILDROOT_UCLIBC && \ + (BR2_arm || BR2_mips || BR2_mipsel)) + select BR2_LEGACY + select BR2_PACKAGE_FFTW_LONG_DOUBLE + help + This option has been removed in favor of + BR2_PACKAGE_FFTW_LONG_DOUBLE. + +config BR2_PACKAGE_FFTW_PRECISION_QUAD + bool "quad" + depends on (BR2_i386 || BR2_x86_64) && BR2_USE_WCHAR + select BR2_LEGACY + select BR2_PACKAGE_FFTW_QUAD + help + This option has been removed in favor of + BR2_PACKAGE_FFTW_QUAD. + +config BR2_PACKAGE_LUA_5_2 + bool "Lua 5.2.x version removed" + select BR2_LEGACY + select BR2_PACKAGE_LUA_5_3 + help + The Lua 5.2.x version was removed. + +config BR2_TARGET_GENERIC_PASSWD_MD5 + bool "target passwd md5 format support has been removed" + select BR2_LEGACY + help + The default has been moved to SHA256 and all C libraries + now support that method by default + +comment "Legacy options removed in 2018.11" + +config BR2_TARGET_XLOADER + bool "xloader has been removed" + select BR2_LEGACY + help + The package has been removed as u-boot SPL provides + similar functionality + +config BR2_PACKAGE_TIDSP_BINARIES + bool "tidsp-binaries package removed" + select BR2_LEGACY + help + The tidsp-binaries package was removed. + +config BR2_PACKAGE_DSP_TOOLS + bool "dsp-tools package removed" + select BR2_LEGACY + help + The dsp-tools package was removed. + +config BR2_PACKAGE_GST_DSP + bool "gst-dsp package removed" + select BR2_LEGACY + help + The gst-dsp package was removed. + +config BR2_PACKAGE_BOOTUTILS + bool "bootutils package removed" + select BR2_LEGACY + help + The bootutils package was removed. + +config BR2_PACKAGE_EXPEDITE + bool "expedite package has been removed" + select BR2_LEGACY + help + expedite is not actively maintained anymore. + https://sourceforge.net/p/enlightenment/mailman/message/36428571 + +config BR2_PACKAGE_MESA3D_OPENGL_TEXTURE_FLOAT + bool "mesa3d opengl texture float option removed" + select BR2_LEGACY + help + mesa3d now unconditionally enables floating-point textures, + as the corresponding patent has expired. + +config BR2_KERNEL_HEADERS_4_10 + bool "kernel headers version 4.10.x are no longer supported" + select BR2_LEGACY + help + Version 4.10.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_11 + bool "kernel headers version 4.11.x are no longer supported" + select BR2_LEGACY + help + Version 4.11.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_12 + bool "kernel headers version 4.12.x are no longer supported" + select BR2_LEGACY + help + Version 4.12.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_13 + bool "kernel headers version 4.13.x are no longer supported" + select BR2_LEGACY + help + Version 4.13.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_15 + bool "kernel headers version 4.15.x are no longer supported" + select BR2_LEGACY + help + Version 4.15.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_17 + bool "kernel headers version 4.17.x are no longer supported" + select BR2_LEGACY + help + Version 4.17.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_PACKAGE_LIBNFTNL_XML + bool "libnftl no longer supports XML output" + select BR2_LEGACY + help + libnftnl removed integration with libmxml. + +config BR2_KERNEL_HEADERS_3_2 + bool "kernel headers version 3.2.x are no longer supported" + select BR2_LEGACY + help + Version 3.2.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_1 + bool "kernel headers version 4.1.x are no longer supported" + select BR2_LEGACY + help + Version 4.1.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_16 + bool "kernel headers version 4.16.x are no longer supported" + select BR2_LEGACY + help + Version 4.16.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_18 + bool "kernel headers version 4.18.x are no longer supported" + select BR2_LEGACY + help + Version 4.18.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +############################################################################### +comment "Legacy options removed in 2018.08" + +config BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT + bool "docker-engine static client option renamed" + select BR2_LEGACY + select BR2_PACKAGE_DOCKER_CLI_STATIC + help + BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT has been renamed to + BR2_PACKAGE_DOCKER_CLI_STATIC, following the package split of + docker-engine and docker-cli. + +config BR2_PACKAGE_XPROTO_APPLEWMPROTO + bool "xproto-applewmproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-applewmproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_BIGREQSPROTO + bool "xproto-bigreqsproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-bigreqsproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_COMPOSITEPROTO + bool "xproto-compositeproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-compositeproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_DAMAGEPROTO + bool "xproto-dameproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-dameproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_DMXPROTO + bool "xproto-dmxproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-dmxproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_DRI2PROTO + bool "xproto-dri2proto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-dri2proto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_DRI3PROTO + bool "xproto-dri3proto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-dri3proto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_FIXESPROTO + bool "xproto-fixesproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-fixesproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_FONTCACHEPROTO + bool "xproto-fontcacheproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-fontcacheproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_FONTSPROTO + bool "xproto-fontsproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-fontsproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_GLPROTO + bool "xproto-glproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-glproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_INPUTPROTO + bool "xproto-inputproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-inputproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_KBPROTO + bool "xproto-kbproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-kbproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_PRESENTPROTO + bool "xproto-presentproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-presentproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_RANDRPROTO + bool "xproto-randrproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-randrproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_RECORDPROTO + bool "xproto-recordproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-recordproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_RENDERPROTO + bool "xproto-renderproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-renderproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_RESOURCEPROTO + bool "xproto-resourceproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-resourceproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_SCRNSAVERPROTO + bool "xproto-scrnsaverprot package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-scrnsaverprot package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_VIDEOPROTO + bool "xproto-videoproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-videoproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_WINDOWSWMPROTO + bool "xproto-windowswmproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-windowswmproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XCMISCPROTO + bool "xproto-xcmiscproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xcmiscproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XEXTPROTO + bool "xproto-xextproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xextproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XF86BIGFONTPROTO + bool "xproto-xf86bigfontproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xf86bigfontproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XF86DGAPROTO + bool "xproto-xf86dgaproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xf86dgaproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XF86DRIPROTO + bool "xproto-xf86driproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xf86driproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO + bool "xproto-xf86vidmodeproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xf86vidmodeproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XINERAMAPROTO + bool "xproto-xineramaproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xineramaproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XPROTO + bool "xproto-xproto package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xproto package has been replaced by the + xorgproto package, which combines all xproto_* packages. + +config BR2_PACKAGE_XPROTO_XPROXYMANAGEMENTPROTOCOL + bool "xproto-xproxymanagementprotocol package replaced by xorgproto" + select BR2_LEGACY + select BR2_PACKAGE_XORGPROTO + help + The xproto-xproxymanagementprotocol package has been + replaced by the xorgproto package, which combines all + xproto_* packages. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_OPENGL + bool "gst1-plugins-bad opengl option moved to gst1-plugins-base" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL + help + The opengl option has been moved from gst1-plugins-bad to + gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_GLES2 + bool "gst1-plugins-bad gles2 option moved to gst1-plugins-base" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2 + help + The gles2 option has been moved from gst1-plugins-bad to + gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_GLX + bool "gst1-plugins-bad glx option moved to gst1-plugins-base" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX + help + The glx option has been moved from gst1-plugins-bad to + gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_EGL + bool "gst1-plugins-bad egl option moved to gst1-plugins-base" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL + help + The egl option has been moved from gst1-plugins-bad to + gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_X11 + bool "gst1-plugins-bad x11 option moved to gst1-plugins-base" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11 + help + The x11 option has been moved from gst1-plugins-bad to + gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_WAYLAND + bool "gst1-plugins-bad wayland option moved to gst1-plugins-base" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND + help + The wayland option has been moved from gst1-plugins-bad to + gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_DISPMANX + bool "gst1-plugins-bad dispmanx option moved to gst1-plugins-base" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX + help + The dispmanx option has been moved from gst1-plugins-mad to + gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER + bool "gst1-plugins-bad audiomixer option moved to gst1-plugins-base" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER + help + The audiomixer option has been moved from gst1-plugins-bad to + gst1-plugins-base. + +config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_LAME + bool "gst1-plugins-ugly lame option moved to gst1-plugins-good" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME + help + The lame option has been moved from gst1-plugins-ugly to + gst1-plugins-good. + +config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPG123 + bool "gst1-plugins-ugly mpg123 option moved to gst1-plugins-good" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MPG123 + help + The mpg123 option has been moved from gst1-plugins-ugly to + gst1-plugins-good. + +config BR2_GDB_VERSION_7_11 + bool "gdb 7.11 has been removed" + select BR2_LEGACY + help + The 7.11 version of gdb has been removed. Use a newer version + instead. + +config BR2_GDB_VERSION_7_10 + bool "gdb 7.10 has been removed" + select BR2_LEGACY + help + The 7.10 version of gdb has been removed. Use a newer version + instead. + +############################################################################### +comment "Legacy options removed in 2018.05" + +config BR2_PACKAGE_MEDIAART_BACKEND_NONE + bool "libmediaart none backend option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_MEDIAART_BACKEND_NONE has been renamed to + BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE + +config BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF + bool "libmediaart gdk-pixbuf backend option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF has been renamed to + BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF + +config BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF + bool "libmediaart qt backend option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_MEDIAART_BACKEND_QT has been renamed to + BR2_PACKAGE_LIBMEDIAART_BACKEND_QT + +# Note: BR2_PACKAGE_TI_SGX_AM335X is still referenced from +# package/ti-sgx-km/Config.in +config BR2_PACKAGE_TI_SGX_AM335X + bool "ti-sgx-km AM335X option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_TI_SGX_AM335X has been renamed to + BR2_PACKAGE_TI_SGX_KM_AM335X. + +# Note: BR2_PACKAGE_TI_SGX_AM437X is still referenced from +# package/ti-sgx-km/Config.in +config BR2_PACKAGE_TI_SGX_AM437X + bool "ti-sgx-km AM437X option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_TI_SGX_AM437X has been renamed to + BR2_PACKAGE_TI_SGX_KM_AM437X. + +# Note: BR2_PACKAGE_TI_SGX_AM4430 is still referenced from +# package/ti-sgx-km/Config.in +config BR2_PACKAGE_TI_SGX_AM4430 + bool "ti-sgx-km AM4430 option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_TI_SGX_AM4430 has been renamed to + BR2_PACKAGE_TI_SGX_KM_AM4430. + +# Note: BR2_PACKAGE_TI_SGX_AM5430 is still referenced from +# package/ti-sgx-km/Config.in +config BR2_PACKAGE_TI_SGX_AM5430 + bool "ti-sgx-km AM5430 option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_TI_SGX_AM5430 has been renamed to + BR2_PACKAGE_TI_SGX_KM_AM5430. + +config BR2_PACKAGE_JANUS_AUDIO_BRIDGE + bool "janus-gateway audio-bridge option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_AUDIO_BRIDGE + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_AUDIO_BRIDGE has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_AUDIO_BRIDGE. + +config BR2_PACKAGE_JANUS_ECHO_TEST + bool "janus-gateway echo-test option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_ECHO_TEST + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_ECHO_TEST has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_ECHO_TEST. + +config BR2_PACKAGE_JANUS_RECORDPLAY + bool "janus-gateway recordplay option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_RECORDPLAY + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_RECORDPLAY has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_RECORDPLAY. + +config BR2_PACKAGE_JANUS_SIP_GATEWAY + bool "janus-gateway sip-gateway option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_SIP_GATEWAY + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_SIP_GATEWAY has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_SIP_GATEWAY. + +config BR2_PACKAGE_JANUS_STREAMING + bool "janus-gateway streaming option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_STREAMING + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_STREAMING has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_STREAMING. + +config BR2_PACKAGE_JANUS_TEXT_ROOM + bool "janus-gateway text-room option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_TEXT_ROOM + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_TEXT_ROOM has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_TEXT_ROOM. + +config BR2_PACKAGE_JANUS_VIDEO_CALL + bool "janus-gateway video-call option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_VIDEO_CALL + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_VIDEO_CALL has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_VIDEO_CALL. + +config BR2_PACKAGE_JANUS_VIDEO_ROOM + bool "janus-gateway video-room option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_VIDEO_ROOM + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_VIDEO_ROOM has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_VIDEO_ROOM. + +config BR2_PACKAGE_JANUS_MQTT + bool "janus-gateway mqtt option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_MQTT + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_MQTT has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_MQTT. + +config BR2_PACKAGE_JANUS_RABBITMQ + bool "janus-gateway rabbitmq option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_RABBITMQ + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_RABBITMQ has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_RABBITMQ. + +config BR2_PACKAGE_JANUS_REST + bool "janus-gateway rest option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_REST + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_REST has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_REST. + +config BR2_PACKAGE_JANUS_UNIX_SOCKETS + bool "janus-gateway unix-sockets option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_UNIX_SOCKETS + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_UNIX_SOCKETS has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_UNIX_SOCKETS. + +config BR2_PACKAGE_JANUS_WEBSOCKETS + bool "janus-gateway websockets option renamed" + select BR2_LEGACY + select BR2_PACKAGE_JANUS_GATEWAY_WEBSOCKETS + help + For consistency reasons, the janus-gateway option + BR2_PACKAGE_JANUS_WEBSOCKETS has been renamed to + BR2_PACKAGE_JANUS_GATEWAY_WEBSOCKETS. + +config BR2_PACKAGE_IPSEC_SECCTX_DISABLE + bool "ipsec-tools security context disable option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_IPSEC_SECCTX_DISABLE was renamed to + BR2_PACKAGE_IPSEC_TOOLS_SECCTX_DISABLE. + +config BR2_PACKAGE_IPSEC_SECCTX_ENABLE + bool "ipsec-tools SELinux security context enable option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_IPSEC_SECCTX_ENABLE was renamed to + BR2_PACKAGE_IPSEC_TOOLS_SECCTX_ENABLE. + +config BR2_PACKAGE_IPSEC_SECCTX_KERNEL + bool "ipsec-tools kernel security context enable option renamed" + select BR2_LEGACY + help + For consistency reasons, the option + BR2_PACKAGE_IPSEC_SECCTX_KERNEL was renamed to + BR2_PACKAGE_IPSEC_TOOLS_SECCTX_KERNEL. + +config BR2_PACKAGE_LIBTFDI_CPP + bool "libftdi C++ bindings option renamed" + select BR2_LEGACY + select BR2_PACKAGE_LIBFTDI_CPP + help + The option BR2_PACKAGE_LIBTFDI_CPP was renamed to + BR2_PACKAGE_LIBFTDI_CPP in order to fix a typo in the option + name. + +config BR2_PACKAGE_JQUERY_UI_THEME_BLACK_TIE + bool "jquery-ui-themes option black-tie renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + black-tie theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_BLACK_TIE to + BR2_PACKAGE_JQUERY_UI_THEMES_BLACK_TIE. + +config BR2_PACKAGE_JQUERY_UI_THEME_BLITZER + bool "jquery-ui-themes option blitzer renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + blitzer theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_BLITZER to + BR2_PACKAGE_JQUERY_UI_THEMES_BLITZER. + +config BR2_PACKAGE_JQUERY_UI_THEME_CUPERTINO + bool "jquery-ui-themes option cupertino renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + cupertino theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_CUPERTINO to + BR2_PACKAGE_JQUERY_UI_THEMES_CUPERTINO. + +config BR2_PACKAGE_JQUERY_UI_THEME_DARK_HIVE + bool "jquery-ui-themes option dark-hive renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + dark-hive theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_DARK_HIVE to + BR2_PACKAGE_JQUERY_UI_THEMES_DARK_HIVE. + +config BR2_PACKAGE_JQUERY_UI_THEME_DOT_LUV + bool "jquery-ui-themes option dot-luv renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + dot-luv theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_DOT_LUV to + BR2_PACKAGE_JQUERY_UI_THEMES_DOT_LUV. + +config BR2_PACKAGE_JQUERY_UI_THEME_EGGPLANT + bool "jquery-ui-themes option eggplant renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + eggplant theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_EGGPLANT to + BR2_PACKAGE_JQUERY_UI_THEMES_EGGPLANT. + +config BR2_PACKAGE_JQUERY_UI_THEME_EXCITE_BIKE + bool "jquery-ui-themes option excite-bike renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + excite-bike theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_EXCITE_BIKE to + BR2_PACKAGE_JQUERY_UI_THEMES_EXCITE_BIKE. + +config BR2_PACKAGE_JQUERY_UI_THEME_FLICK + bool "jquery-ui-themes option flick renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + flick theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_FLICK to + BR2_PACKAGE_JQUERY_UI_THEMES_FLICK. + +config BR2_PACKAGE_JQUERY_UI_THEME_HOT_SNEAKS + bool "jquery-ui-themes option hot-sneaks renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + hot-sneaks theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_HOT_SNEAKS to + BR2_PACKAGE_JQUERY_UI_THEMES_HOT_SNEAKS. + +config BR2_PACKAGE_JQUERY_UI_THEME_HUMANITY + bool "jquery-ui-themes option humanity renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + humanity theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_HUMANITY to + BR2_PACKAGE_JQUERY_UI_THEMES_HUMANITY. + +config BR2_PACKAGE_JQUERY_UI_THEME_LE_FROG + bool "jquery-ui-themes option le-frog renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + le-frog theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_LE_FROG to + BR2_PACKAGE_JQUERY_UI_THEMES_LE_FROG. + +config BR2_PACKAGE_JQUERY_UI_THEME_MINT_CHOC + bool "jquery-ui-themes option mint-choc renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + mint-choc theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_MINT_CHOC to + BR2_PACKAGE_JQUERY_UI_THEMES_MINT_CHOC. + +config BR2_PACKAGE_JQUERY_UI_THEME_OVERCAST + bool "jquery-ui-themes option overcast renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + overcast theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_OVERCAST to + BR2_PACKAGE_JQUERY_UI_THEMES_OVERCAST. + +config BR2_PACKAGE_JQUERY_UI_THEME_PEPPER_GRINDER + bool "jquery-ui-themes option pepper-grinder renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + pepper-grinder theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_PEPPER_GRINDER to + BR2_PACKAGE_JQUERY_UI_THEMES_PEPPER_GRINDER. + +config BR2_PACKAGE_JQUERY_UI_THEME_REDMOND + bool "jquery-ui-themes option redmond renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + redmond theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_REDMOND to + BR2_PACKAGE_JQUERY_UI_THEMES_REDMOND. + +config BR2_PACKAGE_JQUERY_UI_THEME_SMOOTHNESS + bool "jquery-ui-themes option smoothness renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + smoothness theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_SMOOTHNESS to + BR2_PACKAGE_JQUERY_UI_THEMES_SMOOTHNESS. + +config BR2_PACKAGE_JQUERY_UI_THEME_SOUTH_STREET + bool "jquery-ui-themes option south-street renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + south-street theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_SOUTH_STREET to + BR2_PACKAGE_JQUERY_UI_THEMES_SOUTH_STREET. + +config BR2_PACKAGE_JQUERY_UI_THEME_START + bool "jquery-ui-themes option start renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + start theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_START to + BR2_PACKAGE_JQUERY_UI_THEMES_START. + +config BR2_PACKAGE_JQUERY_UI_THEME_SUNNY + bool "jquery-ui-themes option sunny renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + sunny theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_SUNNY to + BR2_PACKAGE_JQUERY_UI_THEMES_SUNNY. + +config BR2_PACKAGE_JQUERY_UI_THEME_SWANKY_PURSE + bool "jquery-ui-themes option swanky-purse renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + swanky-purse theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_SWANKY_PURSE to + BR2_PACKAGE_JQUERY_UI_THEMES_SWANKY_PURSE. + +config BR2_PACKAGE_JQUERY_UI_THEME_TRONTASTIC + bool "jquery-ui-themes option trontastic renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + trontastic theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_TRONTASTIC to + BR2_PACKAGE_JQUERY_UI_THEMES_TRONTASTIC. + +config BR2_PACKAGE_JQUERY_UI_THEME_UI_DARKNESS + bool "jquery-ui-themes option ui-darkness renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + ui-darkness theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_UI_DARKNESS to + BR2_PACKAGE_JQUERY_UI_THEMES_UI_DARKNESS. + +config BR2_PACKAGE_JQUERY_UI_THEME_UI_LIGHTNESS + bool "jquery-ui-themes option ui-lightness renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + ui-lightness theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_UI_LIGHTNESS to + BR2_PACKAGE_JQUERY_UI_THEMES_UI_LIGHTNESS. + +config BR2_PACKAGE_JQUERY_UI_THEME_VADER + bool "jquery-ui-themes option vader renamed" + select BR2_LEGACY + help + For consistency reasons, the jquery-ui-themes option for the + vader theme has been renamed from + BR2_PACKAGE_JQUERY_UI_THEME_VADER to + BR2_PACKAGE_JQUERY_UI_THEMES_VADER. + +config BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH + bool "bluez5-utils health plugin option renamed" + select BR2_LEGACY + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH + help + For consistency reasons, the option + BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH has been renamed to + BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH. + +config BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI + bool "bluez5-utils midi plugin option renamed" + select BR2_LEGACY + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI + help + For consistency reasons, the option + BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI has been renamed to + BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI. + +config BR2_PACKAGE_BLUEZ5_PLUGINS_NFC + bool "bluez5-utils nfc plugin option renamed" + select BR2_LEGACY + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC + help + For consistency reasons, the option + BR2_PACKAGE_BLUEZ5_PLUGINS_NFC has been renamed to + BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC. + +config BR2_PACKAGE_BLUEZ5_PLUGINS_SAP + bool "bluez5-utils sap plugin option renamed" + select BR2_LEGACY + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP + help + For consistency reasons, the option + BR2_PACKAGE_BLUEZ5_PLUGINS_SAP has been renamed to + BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP. + +config BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS + bool "bluez5-utils sixaxis plugin option renamed" + select BR2_LEGACY + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS + help + For consistency reasons, the option + BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS has been renamed to + BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS. + +config BR2_PACKAGE_TRANSMISSION_REMOTE + bool "transmission remote tool option removed" + select BR2_LEGACY + select BR2_PACKAGE_TRANSMISSION_DAEMON + help + Upstream does not provide a separate configure option for + the tool transmission-remote, it is built when the + transmission daemon has been enabled. Therefore, Buildroot + has automatically enabled BR2_PACKAGE_TRANSMISSION_DAEMON + for you. + +config BR2_PACKAGE_LIBKCAPI_APPS + bool "libkcapi test applications removed" + select BR2_LEGACY + select BR2_PACKAGE_LIBKCAPI_HASHER if !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBKCAPI_RNGAPP + select BR2_PACKAGE_LIBKCAPI_SPEED + select BR2_PACKAGE_LIBKCAPI_TEST + help + Test applications (hasher, rng read, speed-test, test) now + have their own configuration options in the libkcapi menu. + +config BR2_PACKAGE_MPLAYER + bool "mplayer package removed" + select BR2_LEGACY + help + The mplayer package was removed. + +config BR2_PACKAGE_MPLAYER_MPLAYER + bool "mplayer package removed" + select BR2_LEGACY + help + The mplayer package was removed. + +config BR2_PACKAGE_MPLAYER_MENCODER + bool "mplayer package removed" + select BR2_LEGACY + help + The mplayer package was removed. + +config BR2_PACKAGE_LIBPLAYER_MPLAYER + bool "mplayer support in libplayer removed" + select BR2_LEGACY + help + The mplayer package was removed. + +config BR2_PACKAGE_IQVLINUX + bool "iqvlinux package removed" + select BR2_LEGACY + help + This package contained a kernel module from Intel, which + could only be used together with Intel userspace tools + provided under NDA, which also come with the same kernel + module. The copy of the kernel module available on + SourceForge is provided only to comply with the GPLv2 + requirement. Intel engineers were even surprised it even + built and were not willing to make any effort to fix their + tarball naming to contain a version number. Therefore, it + does not make sense for Buildroot to provide such a package. + + See https://sourceforge.net/p/e1000/bugs/589/ for the + discussion. + +config BR2_BINFMT_FLAT_SEP_DATA + bool "binfmt FLAT with separate code and data removed" + select BR2_LEGACY + help + This FLAT binary format was only used on Blackfin, which has + been removed. + +config BR2_bfin + bool "Blackfin architecture support removed" + select BR2_LEGACY + help + Following the removal of Blackfin support for the upstream + Linux kernel, Buildroot has removed support for this CPU + architecture. + +config BR2_PACKAGE_KODI_ADSP_BASIC + bool "kodi-adsp-basic package removed" + select BR2_LEGACY + help + kodi-adsp-basic is unmaintained + +config BR2_PACKAGE_KODI_ADSP_FREESURROUND + bool "kodi-adsp-freesurround package removed" + select BR2_LEGACY + help + kodi-adsp-freesurround is unmaintained + +############################################################################### +comment "Legacy options removed in 2018.02" + +config BR2_KERNEL_HEADERS_3_4 + bool "kernel headers version 3.4.x are no longer supported" + select BR2_LEGACY + help + Version 3.4.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_3_10 + bool "kernel headers version 3.10.x are no longer supported" + select BR2_LEGACY + help + Version 3.10.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_3_12 + bool "kernel headers version 3.12.x are no longer supported" + select BR2_LEGACY + help + Version 3.12.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_BINUTILS_VERSION_2_27_X + bool "binutils version 2.27 support removed" + select BR2_LEGACY + help + Support for binutils version 2.27 has been removed. The + current default version (2.29 or later) has been selected + instead. + +config BR2_PACKAGE_EEPROG + bool "eeprog package removed" + select BR2_LEGACY + select BR2_PACKAGE_I2C_TOOLS + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + help + The eeprog program is now provided by the i2c-tools package. + +config BR2_PACKAGE_GNUPG2_GPGV2 + bool "gnupg2 gpgv2 option removed" + select BR2_LEGACY + select BR2_PACKAGE_GNUPG2_GPGV + help + The gpgv2 executable is now named gpgv. The config option + has been renamed accordingly. + +config BR2_PACKAGE_IMX_GPU_VIV_APITRACE + bool "Vivante apitrace tool option removed" + select BR2_LEGACY + help + The apitrace tool for Vivante is not provided by the + imx-gpu-viv package any longer. + +config BR2_PACKAGE_IMX_GPU_VIV_G2D + bool "Vivante G2D libraries from imx-gpu-viv removed" + select BR2_LEGACY + select BR2_PACKAGE_IMX_GPU_G2D + help + The G2D libraries are now provided by the imx-gpu-g2d package. + +############################################################################### +comment "Legacy options removed in 2017.11" + +config BR2_PACKAGE_RFKILL + bool "rfkill package removed" + select BR2_LEGACY + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_RFKILL + help + The rfkill program is now provided by the util-linux package. + +config BR2_PACKAGE_UTIL_LINUX_RESET + bool "util-linux reset option removed" + select BR2_LEGACY + help + The util-linux package no longer offers a "reset" command. Use + either the reset command provided by BusyBox or select ncurses + programs, which will install a symlink from "tset" to reset. + +config BR2_PACKAGE_POLICYCOREUTILS_AUDIT2ALLOW + bool "policycoreutils audit2allow option removed" + select BR2_LEGACY + select BR2_PACKAGE_SELINUX_PYTHON + select BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW + help + The policycoreutils package no longer offers audit2allow + as a option. This package has been moved into the + selinux-python package by the SELinux maintainers. + +config BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND + bool "policycoreutils restorecond option removed" + select BR2_LEGACY + select BR2_PACKAGE_RESTORECOND + help + The policycoreutils package no longer offers restorecond + as a option. This package has been moved into a seperate + package maintained by the SELinux maintainers. + +config BR2_PACKAGE_SEPOLGEN + bool "sepolgen package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_SELINUX_PYTHON + select BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN + help + Sepolgen is no longer a individual package, but instead has + been moved into the selinux-python package by the SELinux + maintainers. + +config BR2_PACKAGE_OPENOBEX_BLUEZ + bool "openobex bluez option removed" + select BR2_LEGACY + select BR2_PACKAGE_BLUEZ_UTILS + help + The OpenOBEX package no longer offers an option to enable or + disable BlueZ support. Instead, BlueZ support is always + included when the bluez5_utils or bluez_utils package is + selected. + +config BR2_PACKAGE_OPENOBEX_LIBUSB + bool "openobex libusb option removed" + select BR2_LEGACY + select BR2_PACKAGE_LIBUSB + help + The OpenOBEX package no longer offers an option to enable or + disable libusb support. Instead, USB support is always + included when the libusb package is selected. + +config BR2_PACKAGE_OPENOBEX_APPS + bool "openobex apps option removed" + select BR2_LEGACY + help + The OpenOBEX package no longer offers an option to enable or + disable apps support. + +config BR2_PACKAGE_OPENOBEX_SYSLOG + bool "openobex syslog option removed" + select BR2_LEGACY + help + The OpenOBEX package no longer offers an option to enable or + disable syslog support. + +config BR2_PACKAGE_OPENOBEX_DUMP + bool "openobex dump option removed" + select BR2_LEGACY + help + The OpenOBEX package no longer offers an option to enable or + disable dump support. + +config BR2_PACKAGE_AICCU + bool "aiccu utility removed" + select BR2_LEGACY + help + As the SixXS project has ceased its operation on 2017-06-06, + the AICCU utility has no use anymore and has been removed. + + https://www.sixxs.net/sunset/ + +config BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS + bool "util-linux login utilities option removed" + select BR2_LEGACY + select BR2_PACKAGE_UTIL_LINUX_LAST + select BR2_PACKAGE_UTIL_LINUX_LOGIN + select BR2_PACKAGE_UTIL_LINUX_RUNUSER + select BR2_PACKAGE_UTIL_LINUX_SU + select BR2_PACKAGE_UTIL_LINUX_SULOGIN + help + Login utilities (last, login, runuser, su, sulogin) now have + their own configuration options in the util-linux menu. + +############################################################################### +comment "Legacy options removed in 2017.08" + +config BR2_TARGET_GRUB + bool "grub (aka grub-legacy) has been removed" + select BR2_LEGACY + help + grub-legacy is no longer maintained, and no longer builds with + recent binutils versions. + + Use grub2 or syslinux instead. + +config BR2_PACKAGE_SIMICSFS + bool "simicsfs support removed" + select BR2_LEGACY + help + Support for simicsfs kernel driver that provides access to a + host computer's local filesystem when the target is + executing within a SIMICS simulation has been removed. + + Simics is now moving away from the simicsfs kernel module, + as the kernel module has required too much maintenance + work. Users should move to the user mode Simics agent + instead. + +config BR2_BINUTILS_VERSION_2_26_X + bool "binutils version 2.26 support removed" + select BR2_LEGACY + help + Support for binutils version 2.26 has been removed. The + current default version (2.28 or later) has been selected + instead. + +config BR2_XTENSA_OVERLAY_DIR + string "The BR2_XTENSA_OVERLAY_DIR option has been removed" + help + The BR2_XTENSA_OVERLAY_DIR has been removed in favour of + BR2_XTENSA_OVERLAY_FILE. You must now pass the complete + path to the overlay file, not to the directory containing + it. + +config BR2_XTENSA_OVERLAY_DIR_WRAP + bool + default y if BR2_XTENSA_OVERLAY_DIR != "" + select BR2_LEGACY + +config BR2_XTENSA_CUSTOM_NAME + string "The BR2_XTENSA_CUSTOM_NAME option has been removed" + help + The BR2_XTENSA_CUSTOM_NAME option has been removed. + +config BR2_XTENSA_CUSTOM_NAME_WRAP + bool + default y if BR2_XTENSA_CUSTOM_NAME != "" + select BR2_LEGACY + +config BR2_PACKAGE_HOST_MKE2IMG + bool "host mke2img has been removed" + select BR2_LEGACY + help + We now call mkfs directly to generate ext2/3/4 filesystem + image, so mke2img is no longer necessary. + +config BR2_TARGET_ROOTFS_EXT2_BLOCKS + int "exact size in blocks has been removed" + default 0 + help + This option has been removed in favor of + BR2_TARGET_ROOTFS_EXT2_SIZE. It has been set automatically + to the value you had before. Set to 0 here to remove the + warning. + +config BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP + bool + default y if BR2_TARGET_ROOTFS_EXT2_BLOCKS != 0 && \ + BR2_TARGET_ROOTFS_EXT2_BLOCKS != 61440 # deprecated default value + select BR2_LEGACY + +# Note: BR2_TARGET_ROOTFS_EXT2_BLOCKS_WRAP still referenced in fs/ext2/Config.in + +config BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES + int "ext2 extra inodes has been removed" if BR2_TARGET_ROOTFS_EXT2_INODES = 0 + default 0 + help + Buildroot now uses mkfs.ext2/3/4 to generate ext2/3/4 + images. It now automatically selects the number of inodes + based on the image size. The extra number of inodes can no + longer be provided; instead, provide the total number of + inodes needed in BR2_TARGET_ROOTFS_EXT2_INODES. + +config BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES_WRAP + bool + default y if BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES != 0 + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDXAPARSE + bool "cdxaparse removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DATAURISRC + bool "dataurisrc moved to gstreamer1" + select BR2_LEGACY + help + Dataurisrc has moved to gstreamer core and is always built. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DCCP + bool "dccp removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HDVPARSE + bool "hdvparse removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MVE + bool "mve removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NUVDEMUX + bool "nuvdemux removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PATCHDETECT + bool "patchdetect removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI + bool "sdi removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTA + bool "tta removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOMEASURE + bool "videomeasure removed" + select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IQA + select BR2_LEGACY + help + videomeasure plugin has been removed and has been replaced by + iqa, which has automatically been enabled. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK + bool "apexsink removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL + bool "sdl removed" + select BR2_LEGACY + +config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MAD + bool "mad (*.mp3 audio) removed" + select BR2_LEGACY + +config BR2_STRIP_none + bool "Strip command 'none' has been removed" + select BR2_LEGACY + help + The strip command choice has been changed into a single + boolean option. Please check that the new setting is + correct (in the "Build options" sub-menu) + +config BR2_PACKAGE_BEECRYPT_CPP + bool "C++ support removed in beecrypt" + select BR2_LEGACY + help + Support for C++ depends on icu. The beecrypt package is + incompatible with icu 59+. + +config BR2_PACKAGE_SPICE_CLIENT + bool "spice client support removed" + select BR2_LEGACY + help + Spice client support has been removed upstream. The + functionality now lives in the spice-gtk widget and + virt-viewer. + +config BR2_PACKAGE_SPICE_GUI + bool "spice gui support removed" + select BR2_LEGACY + help + Spice gui support has been removed upstream. The + functionality now lives in the spice-gtk widget and + virt-viewer. + +config BR2_PACKAGE_SPICE_TUNNEL + bool "spice network redirection removed" + select BR2_LEGACY + help + Spice network redirection, aka tunnelling has been removed + upstream. + +config BR2_PACKAGE_INPUT_TOOLS + bool "input-tools removed" + select BR2_LEGACY + select BR2_PACKAGE_LINUXCONSOLETOOLS + help + input-tools has been removed, it is replaced by + linuxconsoletools, which has automatically been enabled. + +config BR2_PACKAGE_INPUT_TOOLS_INPUTATTACH + bool "inputattach moved to linuxconsoletools" + select BR2_LEGACY + select BR2_PACKAGE_LINUXCONSOLETOOLS + select BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH + help + input-tools has been removed, inputattach is now part + of linuxconsoletools, which has automatically been + enabled. + +config BR2_PACKAGE_INPUT_TOOLS_JSCAL + bool "jscal moved to linuxconsoletools" + select BR2_LEGACY + select BR2_PACKAGE_LINUXCONSOLETOOLS + select BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK + help + input-tools has been removed, jscal is now part + of linuxconsoletools, which has automatically been + enabled. + +config BR2_PACKAGE_INPUT_TOOLS_JSTEST + bool "jstest moved to linuxconsoletools" + select BR2_LEGACY + select BR2_PACKAGE_LINUXCONSOLETOOLS + select BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK + help + input-tools has been removed, jstest is now part + of linuxconsoletools, which has automatically been + enabled. + +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH + bool "SH Sourcery toolchain has been removed" + select BR2_LEGACY + help + The Sourcery CodeBench toolchain for the sh architecture has + been removed, since it uses glibc older than 2.17 that + requires -lrt to link executables using clock_* system calls. + This makes this toolchain difficult to maintain over time. + +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86 + bool "x86 Sourcery toolchain has been removed" + select BR2_LEGACY + help + The Sourcery CodeBench toolchain for the x86 architecture has + been removed, since it uses glibc older than 2.17 that + requires -lrt to link executables using clock_* system calls. + This makes this toolchain difficult to maintain over time. + +config BR2_GCC_VERSION_4_8_X + bool "gcc 4.8.x support removed" + select BR2_LEGACY + help + Support for gcc version 4.8.x has been removed. The current + default version (5.x or later) has been selected instead. + +############################################################################### +comment "Legacy options removed in 2017.05" + +config BR2_PACKAGE_SUNXI_MALI_R2P4 + bool "sunxi-mali r2p4 removed" + select BR2_LEGACY + help + sunxi-mali libMali for r2p4 Mali kernel module has been + removed since the libump package only provides libUMP.so.3. + libMali for r2p4 Mali kernel module requires libUMP.so.2. + +config BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT + bool "CoffeeScript option has been removed" + select BR2_LEGACY + help + The option to enable NodeJS CoffeeScript has been removed. + To continue using it, add "coffee-script" to + BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL. + +config BR2_PACKAGE_NODEJS_MODULES_EXPRESS + bool "Express web application framework option has been removed" + select BR2_LEGACY + help + The option to enable the NodeJS Express web application + framework has been removed. To continue using it, add + "express" to BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL. + +config BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL + bool "bluez5_utils gatttool install option removed" + select BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED + help + The option to install gatttool specifically has been removed. + Since version 5.44 gatttool is in the list of deprecated + tools. The option to build and install deprecated tools has + been automatically enabled. + +config BR2_PACKAGE_OPENOCD_FT2XXX + bool "openocd ft2232 support has been removed" + select BR2_PACKAGE_OPENOCD_FTDI + select BR2_LEGACY + help + FT2232 support in OpenOCD has been removed, it's replaced by + FDTI support, which has automatically been enabled. + +config BR2_PACKAGE_KODI_RTMPDUMP + bool "kodi rtmp has been removed" + select BR2_LEGACY + select BR2_PACKAGE_KODI_INPUTSTREAM_RTMP + help + Internal rtmp support was removed from Kodi. + +config BR2_PACKAGE_KODI_VISUALISATION_FOUNTAIN + bool "kodi-visualisation-fountain has been removed" + select BR2_LEGACY + help + According to upstream 'the visualization is not currently + in a working shape.' + +config BR2_PACKAGE_PORTMAP + bool "portmap has been removed" + select BR2_LEGACY + select BR2_PACKAGE_RPCBIND + help + The portmap upstream tarball is removed, no releases since + ten years and latest change in upstream git in 2014. + You should better use rpcbind as a RPC portmapper. + +config BR2_BINUTILS_VERSION_2_25_X + bool "binutils version 2.25 support removed" + select BR2_LEGACY + help + Support for binutils version 2.25 has been removed. The + current default version (2.27 or later) has been selected + instead. + +config BR2_TOOLCHAIN_BUILDROOT_INET_RPC + bool "uclibc RPC support has been removed" + select BR2_LEGACY + help + uClibc-ng removed internal RPC implementation in 1.0.23. You + should use libtirpc instead. + +config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS + int "extra size in blocks has been removed" + default 0 + help + Since the support for auto calculation of the filesystem size + has been removed, this option is now useless and must be 0. + You may want to check that BR2_TARGET_ROOTFS_EXT2_BLOCKS + matchs your needs. + +config BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS_WRAP + bool + default y if BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS != 0 + select BR2_LEGACY + +config BR2_PACKAGE_SYSTEMD_KDBUS + bool "systemd-kdbus has been removed" + select BR2_LEGACY + help + --enable/disable-kdbus configure option has been removed since + systemd-231. + +config BR2_PACKAGE_POLARSSL + bool "polarssl has been removed" + select BR2_LEGACY + help + The polarssl crypto library has been removed since the 1.2.x + release branch is no longer maintained. Newer upstream + branches/releases (mbedtls) have API changes so they're not + drop-in replacements. + +config BR2_NBD_CLIENT + bool "nbd client option was renamed" + select BR2_LEGACY + select BR2_PACKAGE_NBD_CLIENT + help + The nbd client option has been renamed to + BR2_PACKAGE_NBD_CLIENT. + +config BR2_NBD_SERVER + bool "nbd server option was renamed" + select BR2_LEGACY + select BR2_PACKAGE_NBD_SERVER + help + The nbd server option has been renamed to + BR2_PACKAGE_NBD_SERVER. + +config BR2_PACKAGE_GMOCK + bool "gmock merged into gtest package" + select BR2_LEGACY + select BR2_PACKAGE_GTEST + select BR2_PACKAGE_GTEST_GMOCK + help + GMock is now a suboption of the GTest package. + +config BR2_KERNEL_HEADERS_4_8 + bool "kernel headers version 4.8.x are no longer supported" + select BR2_LEGACY + help + Version 4.8.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_3_18 + bool "kernel headers version 3.18.x are no longer supported" + select BR2_LEGACY + help + Version 3.18.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_GLIBC_VERSION_2_22 + bool "glibc 2.22 removed" + select BR2_LEGACY + help + Support for glibc version 2.22 has been removed. The current + default version has been selected instead. + +############################################################################### +comment "Legacy options removed in 2017.02" + +config BR2_PACKAGE_PERL_DB_FILE + bool "perl-db-file removed" + select BR2_LEGACY + select BR2_PACKAGE_BERKELEYDB + select BR2_PACKAGE_PERL + help + DB_File can be built as a core Perl module, so the separate + perl-db-file package has been removed. + +config BR2_KERNEL_HEADERS_4_7 + bool "kernel headers version 4.7.x are no longer supported" + select BR2_LEGACY + help + Version 4.7.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_6 + bool "kernel headers version 4.6.x are no longer supported" + select BR2_LEGACY + help + Version 4.6.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_5 + bool "kernel headers version 4.5.x are no longer supported" + select BR2_LEGACY + help + Version 4.5.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_3_14 + bool "kernel headers version 3.14.x are no longer supported" + select BR2_LEGACY + help + Version 3.14.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS + bool "musl-cross 1.1.12 toolchain removed" + select BR2_LEGACY + help + The support for the prebuilt toolchain based on the Musl C + library provided by the musl-cross project has been removed. + Upstream doesn't provide any prebuilt toolchain anymore, use + the Buildroot toolchain instead. + +config BR2_UCLIBC_INSTALL_TEST_SUITE + bool "uClibc tests now in uclibc-ng-test" + select BR2_LEGACY + select BR2_PACKAGE_UCLIBC_NG_TEST + help + The test suite of the uClibc C library has been moved into a + separate package, uclibc-ng-test. + +config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX + bool "Blackfin.uclinux.org 2014R1 toolchain removed" + select BR2_LEGACY + help + The ADI Blackfin toolchain has many bugs which are fixed in + more recent gcc and uClibc-ng releases. Use the Buildroot + toolchain instead. + +config BR2_PACKAGE_MAKEDEVS + bool "makedevs removed" + select BR2_LEGACY + help + The makedevs tool is part of busybox. The Buildroot fork + should not be used outside of the Buildroot infrastructure. + +config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A + bool "Arago ARMv7 2011.09 removed" + select BR2_LEGACY + help + The Arago toolchains are every old and not updated anymore. + +config BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE + bool "Arago ARMv5 2011.09 removed" + select BR2_LEGACY + help + The Arago toolchains are every old and not updated anymore. + +config BR2_PACKAGE_SNOWBALL_HDMISERVICE + bool "snowball-hdmiservice removed" + select BR2_LEGACY + help + We no longer have support for the Snowball platform in + Buildroot, so this package was no longer useful. + +config BR2_PACKAGE_SNOWBALL_INIT + bool "snowball-init removed" + select BR2_LEGACY + help + We no longer have support for the Snowball platform in + Buildroot, so this package was no longer useful. + +config BR2_GDB_VERSION_7_9 + bool "gdb 7.9 has been removed" + select BR2_LEGACY + help + The 7.9 version of gdb has been removed. Use a newer version + instead. + +############################################################################### +comment "Legacy options removed in 2016.11" + +config BR2_PACKAGE_PHP_SAPI_CLI_CGI + bool "PHP CGI and CLI options are now seperate" + select BR2_PACKAGE_PHP_SAPI_CLI + select BR2_PACKAGE_PHP_SAPI_CGI + select BR2_LEGACY + help + The PHP Interface options have been split up into a + separate option for each interface. + +config BR2_PACKAGE_PHP_SAPI_CLI_FPM + bool "PHP CLI and FPM options are now separate" + select BR2_PACKAGE_PHP_SAPI_CLI + select BR2_PACKAGE_PHP_SAPI_FPM + select BR2_LEGACY + help + The PHP Interface options have been split up into a + separate option for each interface. + +config BR2_PACKAGE_WVSTREAMS + bool "wvstreams removed" + select BR2_LEGACY + help + wvstreams is not maintained anymore since about 2009. It also + doesn't build anymore with recent compilers (GCC 5+). + +config BR2_PACKAGE_WVDIAL + bool "wvdial removed" + select BR2_LEGACY + help + wvdial is not maintained anymore since about 2009. It also + doesn't build anymore with recent compilers (GCC 5+). + +config BR2_PACKAGE_WEBKITGTK24 + bool "webkitgtk 2.4.x removed" + select BR2_LEGACY + help + This legacy package only existed because some other packages + depended on that specific version of webkitgtk. However, the + other packages have been fixed. webkitgtk 2.4 is full of + security issues so it needs to be removed. + +config BR2_PACKAGE_TORSMO + bool "torsmo removed" + select BR2_LEGACY + help + torsmo has been unmaintained for a long time, and nobody + seems to be interested in it. + +config BR2_PACKAGE_SSTRIP + bool "sstrip removed" + select BR2_LEGACY + help + sstrip is unmaintained and potentially harmful. It doesn't + save so much compared to normal binutils strip, and there is + a big risk of binaries that don't work. Use normal strip + instead. + +config BR2_KERNEL_HEADERS_4_3 + bool "kernel headers version 4.3.x are no longer supported" + select BR2_LEGACY + help + Version 4.3.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_KERNEL_HEADERS_4_2 + bool "kernel headers version 4.2.x are no longer supported" + select BR2_LEGACY + help + Version 4.2.x of the Linux kernel headers are no longer + maintained upstream and are now removed. + +config BR2_PACKAGE_KODI_ADDON_XVDR + bool "kodi-addon-xvdr removed" + select BR2_LEGACY + help + According to the github project page: + https://github.com/pipelka/xbmc-addon-xvdr + this package is discontinued. + +config BR2_PACKAGE_IPKG + bool "ipkg removed" + select BR2_LEGACY + help + ipkg dates back to the early 2000s when Compaq started the + handhelds.org project and it hasn't seen development since + 2006. Use opkg as a replacement. + +config BR2_GCC_VERSION_4_7_X + bool "gcc 4.7.x support removed" + select BR2_LEGACY + help + Support for gcc version 4.7.x has been removed. The current + default version (4.9.x or later) has been selected instead. + +config BR2_BINUTILS_VERSION_2_24_X + bool "binutils version 2.24 support removed" + select BR2_LEGACY + help + Support for binutils version 2.24 has been removed. The + current default version (2.26 or later) has been selected + instead. + +config BR2_PACKAGE_WESTON_RPI + bool "Weston propietary RPI support is gone" + select BR2_LEGACY + help + Upstream decided the propietary (rpi-userland) weston composer + support wasn't worth the effort so it was removed. Switch to + the open VC4 support. + +config BR2_LINUX_KERNEL_TOOL_CPUPOWER + bool "linux-tool cpupower" + depends on BR2_LINUX_KERNEL + select BR2_LEGACY + select BR2_PACKAGE_LINUX_TOOLS_CPUPOWER + help + Linux tool cpupower option was renamed. + +config BR2_LINUX_KERNEL_TOOL_PERF + bool "linux-tool perf" + depends on BR2_LINUX_KERNEL + select BR2_LEGACY + select BR2_PACKAGE_LINUX_TOOLS_PERF + help + Linux tool perf option was renamed. + +config BR2_LINUX_KERNEL_TOOL_SELFTESTS + bool "linux-tool selftests" + depends on BR2_LINUX_KERNEL + select BR2_LEGACY + select BR2_PACKAGE_LINUX_TOOLS_SELFTESTS + help + Linux tool selftests option was renamed. + +config BR2_GCC_VERSION_4_8_ARC + bool "gcc arc option renamed" + select BR2_LEGACY + select BR2_GCC_VERSION_ARC + help + The option that selects the gcc version for the ARC + architecture has been renamed to BR2_GCC_VERSION_ARC. + +config BR2_KERNEL_HEADERS_4_0 + bool "kernel headers version 4.0.x are no longer supported" + select BR2_LEGACY + help + Version 4.0.x of the Linux kernel headers have been deprecated + for more than four buildroot releases and are now removed. + +config BR2_KERNEL_HEADERS_3_19 + bool "kernel headers version 3.19.x are no longer supported" + select BR2_LEGACY + help + Version 3.19.x of the Linux kernel headers have been + deprecated for more than four buildroot releases and are now + removed. + +config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS + bool "libevas-generic-loaders package removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.18, libevas-generic-loaders is now provided by the + efl package. + +config BR2_PACKAGE_ELEMENTARY + bool "elementary package removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.18, elementary is now provided by the efl package. + +config BR2_LINUX_KERNEL_CUSTOM_LOCAL + bool "Linux kernel local directory option removed" + help + The option to select a local directory as the source of the + Linux kernel has been removed. It hurts reproducibility of + builds. + + In case you were using this option during development of your + Linux kernel, use the override mechanism instead. + +############################################################################### +comment "Legacy options removed in 2016.08" + +config BR2_PACKAGE_EFL_JP2K + bool "libevas jp2k loader has been removed" + select BR2_LEGACY + help + JP2K support in EFL requires openjpeg 1.x (libopenjpeg1.pc) + while Buildroot only packages openjpeg 2.x. Therefore, the + JP2K loader has been removed from EFL. + +config BR2_PACKAGE_SYSTEMD_COMPAT + bool "systemd compatibility libraries have been removed" + select BR2_LEGACY + help + The systemd option to enable the compatibility libraries has + been removed. Theses libraries have been useless since a few + version, and have been fully dropped from the source since + v230. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIVEADDER + bool "gst1-plugins-bad liveadder plugin removed" + select BR2_LEGACY + select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER + help + The functionality of the liveadder plugin of the + gst1-plugins-bad package has been merged into audiomixer. + +config BR2_PACKAGE_LIBFSLVPUWRAP + bool "libfslvpuwrap has been renamed to imx-vpuwrap" + select BR2_LEGACY + select BR2_PACKAGE_IMX_VPUWRAP + help + The libfslvpuwrap has been renamed to match the renamed + package. + +config BR2_PACKAGE_LIBFSLPARSER + bool "libfslparser has been renamed to imx-parser" + select BR2_LEGACY + select BR2_PACKAGE_IMX_PARSER + help + The libfslparser has been renamed to match the renamed + package. + +config BR2_PACKAGE_LIBFSLCODEC + bool "libfslcodec has been renamed to imx-codec" + select BR2_LEGACY + select BR2_PACKAGE_IMX_CODEC + help + The libfslcodec has been renamed to match the renamed package. + +config BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE_FIT_SIGNATURE_SUPPORT + bool "FIT support in uboot-tools has been refactored" + select BR2_LEGACY + select BR2_PACKAGE_DTC + select BR2_PACKAGE_DTC_PROGRAMS + select BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT + select BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT + select BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE + help + This option has been removed in favor of a more fine-grained + configuration, which is recommended. Selecting this option + enables FIT and FIT signature support for the target packages. + It will also select the dtc and openssl packages. + +config BR2_PTHREADS_OLD + bool "linuxthreads (stable/old)" + select BR2_LEGACY + help + Linuxthreads have been reworked, BR2_PTHREADS_OLD is now + BR2_PTHREADS and the old BR2_PTHREADS - LT.new got removed. + +config BR2_BINUTILS_VERSION_2_23_X + bool "binutils 2.23 removed" + select BR2_LEGACY + help + Binutils 2.23 has been removed, using a newer version is + recommended. + +config BR2_TOOLCHAIN_BUILDROOT_EGLIBC + bool "eglibc support has been removed" + select BR2_LEGACY + help + The eglibc project no longer exists, as it has been merged + back into the glibc project. Therefore, support for eglibc + has been removed, and glibc should be used instead. + +config BR2_GDB_VERSION_7_8 + bool "gdb 7.8 has been removed" + select BR2_LEGACY + help + The 7.8 version of gdb has been removed. Use a newer version + instead. + +############################################################################### +comment "Legacy options removed in 2016.05" + +config BR2_PACKAGE_OPENVPN_CRYPTO_POLARSSL + bool "openvpn polarssl crypto backend removed" + select BR2_LEGACY + help + The OpenVPN polarssl crypto backend option has been removed. + Version from 2.3.10 onwards need polarssl >= 1.3.8 but aren't + compatible with mbedtls (polarssl) series 2.x which is the + version provided in buildroot. And both can't coexist. + It now uses OpenSSL as the only option. + +config BR2_PACKAGE_NGINX_HTTP_SPDY_MODULE + bool "nginx http spdy module removed" + select BR2_LEGACY + select BR2_PACKAGE_NGINX_HTTP_V2_MODULE + help + The ngx_http_spdy_module has been superseded by the + ngx_http_v2_module since nginx v1.9.5. The + ngx_http_v2_module modules has been automatically selected + in your configuration. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP + bool "gst1-plugins-bad rtp plugin moved to good" + select BR2_LEGACY + help + The rtp plugin has been moved from gst1-plugins-base to + gst1-plugins-good. + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPG123 + bool "gst1-plugins-bad mpg123 plugin moved to ugly" + select BR2_LEGACY + help + The mpg123 plugin has been moved from gst1-plugins-bad to + gst1-plugins-ugly. + +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC + bool "PowerPC Sourcery toolchain has been removed" + select BR2_LEGACY + help + The Sourcery CodeBench toolchain for the PowerPC + architecture has been removed, as it was very old, not + maintained, and causing numerous build failures with modern + userspace packages. + +config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC_E500V2 + bool "PowerPC Sourcery E500v2 toolchain has been removed" + select BR2_LEGACY + help + The Sourcery CodeBench toolchain for the PowerPC E500v2 + architecture has been removed, as it was very old, not + maintained, and causing numerous build failures with modern + userspace packages. + +config BR2_x86_i386 + bool "x86 i386 support removed" + select BR2_LEGACY + help + The support for the i386 processors of the x86 architecture + has been removed. + +config BR2_PACKAGE_QT5QUICK1 + bool "qt5quick1 package removed" + select BR2_LEGACY + help + The qt5quick1 package has been removed, since it was removed + from upstream starting from Qt 5.6. + +config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR + string "uboot custom patch dir has been removed" + help + The uboot custom patch directory option has been removed. Use + the improved BR2_TARGET_UBOOT_PATCH option instead. + +config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR_WRAP + bool + default y if BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR != "" + select BR2_LEGACY + +# Note: BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR is still referenced from +# boot/uboot/Config.in + +config BR2_PACKAGE_XDRIVER_XF86_INPUT_VOID + bool "xf86-input-void removed" + select BR2_LEGACY + help + The xf86-input-void package has been removed, there's no need + for it in any modern (post-2007) xorg server. + +config BR2_KERNEL_HEADERS_3_17 + bool "kernel headers version 3.17.x are no longer supported" + select BR2_LEGACY + help + Version 3.17.x of the Linux kernel headers have been + deprecated for more than four buildroot releases and are now + removed. + +config BR2_GDB_VERSION_7_7 + bool "gdb 7.7 has been removed" + select BR2_LEGACY + help + The 7.7 version of gdb has been removed. Use a newer version + instead. + +config BR2_PACKAGE_FOOMATIC_FILTERS + bool "foomatic-filters" + select BR2_LEGACY + help + The foomatic-filters package was removed. + +config BR2_PACKAGE_SAMBA + bool "samba" + select BR2_LEGACY + help + The samba package was removed in favour of samba4 since the + 3.x series isn't supported by upstream any longer. + +config BR2_PACKAGE_KODI_WAVPACK + bool "wavpack" + select BR2_LEGACY + help + wavpack support was removed in favour of ffmpeg: + https://github.com/xbmc/xbmc/commit/7916902c9e6f7a523265594f3ad7f921f93f1cd4 + +config BR2_PACKAGE_KODI_RSXS + bool "rsxs support in Kodi was moved to an addon" + select BR2_LEGACY + select BR2_PACKAGE_KODI_SCREENSAVER_RSXS + help + rsxs support in Kodi was moved to an addon + +config BR2_PACKAGE_KODI_GOOM + bool "Goom support in Kodi was moved to an addon" + select BR2_LEGACY + select BR2_PACKAGE_KODI_VISUALISATION_GOOM + help + Goom support in Kodi was moved to an addon + +config BR2_PACKAGE_SYSTEMD_ALL_EXTRAS + bool "systemd all extras option has been removed" + select BR2_LEGACY + select BR2_PACKAGE_XZ + select BR2_PACKAGE_LIBGCRYPT + help + The systemd option to enable "all extras" has been + removed. To get the same features, the libgcrypt and xz + package should now be enabled. + +config BR2_GCC_VERSION_4_5_X + bool "gcc 4.5.x has been removed" + select BR2_LEGACY + help + The 4.5.x version of gcc has been removed. Use a newer + version instead. + +config BR2_PACKAGE_SQLITE_READLINE + bool "sqlite command-line editing support was updated" + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_READLINE + select BR2_LEGACY + help + This option was removed in favour of the sqlite package + deciding itself depending on the enabled packages whether + command-line editing should be enabled, it also also takes + libedit into account. + +############################################################################### +comment "Legacy options removed in 2016.02" + +config BR2_PACKAGE_DOVECOT_BZIP2 + bool "bzip2 support option has been removed" + select BR2_LEGACY + select BR2_PACKAGE_BZIP2 + help + Bzip2 support is built if the bzip2 package is selected. + +config BR2_PACKAGE_DOVECOT_ZLIB + bool "zlib support option has been removed" + select BR2_LEGACY + select BR2_PACKAGE_ZLIB + help + Zlib support is built if the zlib package is selected. + +config BR2_PACKAGE_E2FSPROGS_FINDFS + bool "e2fsprogs findfs option has been removed" + select BR2_LEGACY + help + This option attempted to enable findfs capabilities from + e2fsprogs but has not worked since July 2015 (due to + packaging changes). One can use BusyBox's findfs support or + enable the BR2_PACKAGE_UTIL_LINUX_BINARIES option. + +config BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL + bool "openpowerlink debug option has been removed" + select BR2_LEGACY + help + This option depends on BR2_ENABLE_DEBUG which should not be + used by packages anymore. + +config BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE + bool "openpowerlink package has been updated" + select BR2_LEGACY + select BR2_PACKAGE_OPENPOWERLINK_STACK_KERNEL_STACK_LIB + help + openpowerlink kernel modules are built if the + kernel stack library is selected. + +config BR2_PACKAGE_OPENPOWERLINK_LIBPCAP + bool "openpowerlink package has been updated" + select BR2_LEGACY + select BR2_PACKAGE_OPENPOWERLINK_STACK_USERSPACE_DAEMON_LIB + help + The user space support has been split in two part: + - a monolitic user space library + - a user spae deamon driver + +config BR2_LINUX_KERNEL_SAME_AS_HEADERS + bool "using the linux headers version for the kernel has been removed" + select BR2_LEGACY + help + The option to use the version of the kernel headers for the + kernel to build has been removed. + + There is now the converse, better-suited and more versatile + option to use the kernel version for the linux headers. + +config BR2_PACKAGE_CUPS_PDFTOPS + bool "Pdftops support has been removed from Cups" + select BR2_PACKAGE_CUPS_FILTERS + select BR2_LEGACY + help + Pdftops support has been removed from the cups package + It is now part of the cups-filters package. + +config BR2_KERNEL_HEADERS_3_16 + bool "kernel headers version 3.16.x are no longer supported" + select BR2_LEGACY + help + Version 3.16.x of the Linux kernel headers have been + deprecated for more than four buildroot releases and are now + removed. + +config BR2_PACKAGE_PYTHON_PYXML + bool "python-pyxml package has been removed" + select BR2_LEGACY + help + PyXML is obsolete and its functionality is covered either via + native Python XML support or python-lxml package. + +# BR2_ENABLE_SSP is still referenced in Config.in (default in choice) +config BR2_ENABLE_SSP + bool "Stack Smashing protection now has different levels" + help + The protection offered by SSP can now be selected from + different protection levels. Be sure to review the SSP level + in the build options menu. + +config BR2_PACKAGE_DIRECTFB_CLE266 + bool "cle266 driver for directfb removed" + select BR2_LEGACY + help + The cle266 directfb driver support has been removed. + It doesn't build in the latest version and it's unlikely + anyone has any use for it. + +config BR2_PACKAGE_DIRECTFB_UNICHROME + bool "unichrome driver for directfb removed" + select BR2_LEGACY + help + The unichrome directfb driver support has been removed. + It doesn't build in the latest version and it's unlikely + anyone has any use for it. + +config BR2_PACKAGE_LIBELEMENTARY + bool "libelementary has been renamed to elementary" + select BR2_LEGACY + select BR2_PACKAGE_ELEMENTARY + help + The libelementary package has been renamed to match the + upstream name. + +config BR2_PACKAGE_LIBEINA + bool "libeina package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libeina is now provided by the efl package. + +config BR2_PACKAGE_LIBEET + bool "libeet package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libeet is now provided by the efl package. + +config BR2_PACKAGE_LIBEVAS + bool "libevas package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libevas is now provided by the efl package. + +config BR2_PACKAGE_LIBECORE + bool "libecore package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libecore is now provided by the efl package. + +config BR2_PACKAGE_LIBEDBUS + bool "libedbus package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libedbus is now provided by the efl package. + +config BR2_PACKAGE_LIBEFREET + bool "libefreet package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libefreet is now provided by the efl package. + +config BR2_PACKAGE_LIBEIO + bool "libeio package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libeio is now provided by the efl package. + +config BR2_PACKAGE_LIBEMBRYO + bool "libembryo package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libembryo is now provided by the efl package. + +config BR2_PACKAGE_LIBEDJE + bool "libedje package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libedje is now provided by the efl package. + +config BR2_PACKAGE_LIBETHUMB + bool "libethumb package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_EFL + help + With EFL 1.15, libethumb is now provided by the efl package. + +config BR2_PACKAGE_INFOZIP + bool "infozip option has been renamed to zip" + select BR2_LEGACY + select BR2_PACKAGE_ZIP + help + Info-Zip's Zip package has been renamed from infozip to zip, + to avoid ambiguities with Info-Zip's UnZip which has been + added in the unzip package. + +config BR2_BR2_PACKAGE_NODEJS_0_10_X + bool "nodejs 0.10.x option removed" + select BR2_LEGACY + select BR2_PACKAGE_NODEJS + help + nodejs 0.10.x option has been removed. 0.10.x is now + automatically chosen for ARMv5 architectures only and the + latest nodejs for all other supported architectures. The + correct nodejs version has been automatically selected in your + configuration. + +config BR2_BR2_PACKAGE_NODEJS_0_12_X + bool "nodejs version 0.12.x has been removed" + select BR2_LEGACY + select BR2_PACKAGE_NODEJS + help + nodejs version 0.12.x has been removed. As an alternative, + the latest nodejs version has been automatically selected in + your configuration. + +config BR2_BR2_PACKAGE_NODEJS_4_X + bool "nodejs version 4.x has been removed" + select BR2_LEGACY + select BR2_PACKAGE_NODEJS + help + nodejs version 4.x has been removed. As an alternative, + the latest nodejs version has been automatically selected in + your configuration. + +############################################################################### +comment "Legacy options removed in 2015.11" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REAL + bool "gst1-plugins-bad real plugin has been removed" + select BR2_LEGACY + help + The real plugin from GStreamer 1 bad plugins has been + removed. + +config BR2_PACKAGE_MEDIA_CTL + bool "media-ctl package has been removed" + select BR2_LEGACY + select BR2_PACKAGE_LIBV4L + select BR2_PACKAGE_LIBV4L_UTILS + help + media-ctl source and developement have been moved to v4l-utils + since June 2014. For an up-to-date media-ctl version select + BR2_PACKAGE_LIBV4L and BR2_PACKAGE_LIBV4L_UTILS. + +config BR2_PACKAGE_SCHIFRA + bool "schifra package has been removed" + select BR2_LEGACY + help + Schifra package has been maked broken since 2014.11 release + and haven't been fixed since then. + +config BR2_PACKAGE_ZXING + bool "zxing option has been renamed" + select BR2_LEGACY + select BR2_PACKAGE_ZXING_CPP + help + ZXing no longer provides the cpp bindings, it has been renamed + to BR2_PACKAGE_ZXING_CPP which uses a new upstream. + +# Since FreeRDP has new dependencies, protect this legacy to avoid the +# infamous "unmet direct dependencies" kconfig error. +config BR2_PACKAGE_FREERDP_CLIENT + bool "freerdp client option renamed" + depends on BR2_PACKAGE_FREERDP + select BR2_LEGACY + select BR2_PACKAGE_FREERDP_CLIENT_X11 + +config BR2_PACKAGE_BLACKBOX + bool "blackbox package has been removed" + select BR2_LEGACY + help + Upstream is dead and the package has been deprecated for + some time. There are other alternative maintained WMs. + +config BR2_KERNEL_HEADERS_3_0 + bool "kernel headers version 3.0.x are no longer supported" + select BR2_LEGACY + help + Version 3.0.x of the Linux kernel headers have been deprecated + for more than four buildroot releases and are now removed. + +config BR2_KERNEL_HEADERS_3_11 + bool "kernel headers version 3.11.x are no longer supported" + select BR2_LEGACY + help + Version 3.11.x of the Linux kernel headers have been + deprecated for more than four buildroot releases and are now + removed. + +config BR2_KERNEL_HEADERS_3_13 + bool "kernel headers version 3.13.x are no longer supported" + select BR2_LEGACY + help + Version 3.13.x of the Linux kernel headers have been + deprecated for more than four buildroot releases and are now + removed. + +config BR2_KERNEL_HEADERS_3_15 + bool "kernel headers version 3.15.x are no longer supported" + select BR2_LEGACY + help + Version 3.15.x of the Linux kernel headers have been + deprecated for more than four buildroot releases and are now + removed. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_ANDI + bool "DirectFB example df_andi has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_BLTLOAD + bool "DirectFB example df_bltload has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_CPULOAD + bool "DirectFB example df_cpuload has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_DATABUFFER + bool "DirectFB example df_databuffer has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_DIOLOAD + bool "DirectFB example df_dioload has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK + bool "DirectFB example df_dok has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_DRIVERTEST + bool "DirectFB example df_drivertest has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_FIRE + bool "DirectFB example df_fire has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_FLIP + bool "DirectFB example df_flip has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_FONTS + bool "DirectFB example df_fonts has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_INPUT + bool "DirectFB example df_input has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_JOYSTICK + bool "DirectFB example df_joystick has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_KNUCKLES + bool "DirectFB example df_knuckles has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_LAYER + bool "DirectFB example df_layer has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX + bool "DirectFB example df_matrix has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX_WATER + bool "DirectFB example df_matrix_water has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_NEO + bool "DirectFB example df_neo has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_NETLOAD + bool "DirectFB example df_netload has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_PALETTE + bool "DirectFB example df_palette has been removed" + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_PARTICLE + bool "DirectFB example df_particle has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_PORTER + bool "DirectFB example df_porter has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_STRESS + bool "DirectFB example df_stress has been removed" + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_TEXTURE + bool "DirectFB example df_texture has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO + bool "DirectFB example df_video has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO_PARTICLE + bool "DirectFB example df_video_particle has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_DIRECTFB_EXAMPLES_WINDOW + bool "DirectFB example df_window has been removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_EXAMPLES + help + The per-DirectFB example options have been removed. The + BR2_PACKAGE_DIRECTFB_EXAMPLES option now installs all + examples. + +config BR2_PACKAGE_KOBS_NG + bool "kobs-ng was replaced by imx-kobs" + select BR2_LEGACY + select BR2_PACKAGE_IMX_KOBS + help + The outdated kobs-ng has been replaced by the Freescale- + maintained imx-kobs package. + +config BR2_PACKAGE_SAWMAN + bool "sawman package removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_SAWMAN + help + This option has been removed because the sawman package no + longer exists: it was merged inside DirectFB itself. This + feature can now be enabled using the + BR2_PACKAGE_DIRECTFB_SAWMAN option. + +config BR2_PACKAGE_DIVINE + bool "divine package removed" + select BR2_LEGACY + select BR2_PACKAGE_DIRECTFB_DIVINE + help + This option has been removed because the divine package no + longer exists: it was merged inside DirectFB itself. This + feature can now be enabled using the + BR2_PACKAGE_DIRECTFB_DIVINE option. + +############################################################################### +comment "Legacy options removed in 2015.08" + +config BR2_PACKAGE_KODI_PVR_ADDONS + bool "Kodi PVR addon was split" + select BR2_LEGACY + select BR2_PACKAGE_KODI_PVR_ARGUSTV + select BR2_PACKAGE_KODI_PVR_DVBLINK + select BR2_PACKAGE_KODI_PVR_DVBVIEWER + select BR2_PACKAGE_KODI_PVR_FILMON + select BR2_PACKAGE_KODI_PVR_HTS + select BR2_PACKAGE_KODI_PVR_IPTVSIMPLE + select BR2_PACKAGE_KODI_PVR_MEDIAPORTAL_TVSERVER + select BR2_PACKAGE_KODI_PVR_MYTHTV + select BR2_PACKAGE_KODI_PVR_NEXTPVR + select BR2_PACKAGE_KODI_PVR_NJOY + select BR2_PACKAGE_KODI_PVR_PCTV + select BR2_PACKAGE_KODI_PVR_STALKER + select BR2_PACKAGE_KODI_PVR_VBOX + select BR2_PACKAGE_KODI_PVR_VDR_VNSI + select BR2_PACKAGE_KODI_PVR_VUPLUS + select BR2_PACKAGE_KODI_PVR_WMC + help + Kodi PVR addon was split into seperate modules + +config BR2_BINUTILS_VERSION_2_23_2 + bool "binutils 2.23 option renamed" + select BR2_LEGACY + help + Binutils 2.23.2 has been removed, using a newer version is + recommended. + +config BR2_BINUTILS_VERSION_2_24 + bool "binutils 2.24 option renamed" + select BR2_LEGACY + select BR2_BINUTILS_VERSION_2_24_X + help + The binutils version option has been renamed to match the + same patchlevel logic used by gcc. The new option is now + BR2_BINUTILS_VERSION_2_24_X. + +config BR2_BINUTILS_VERSION_2_25 + bool "binutils 2.25 option renamed" + select BR2_LEGACY + select BR2_BINUTILS_VERSION_2_25_X + help + The binutils version option has been renamed to match the + same patchlevel logic used by gcc. The new option is now + BR2_BINUTILS_VERSION_2_25_X. + +config BR2_PACKAGE_PERF + bool "perf option has been renamed" + select BR2_LEGACY + select BR2_LINUX_KERNEL_TOOL_PERF + help + The perf package has been moved as a Linux tools package, + and the option to enable it is now + BR2_LINUX_KERNEL_TOOL_PERF. + +config BR2_BINUTILS_VERSION_2_22 + bool "binutils 2.22 removed" + select BR2_LEGACY + help + Binutils 2.22 has been removed, using a newer version is + recommended. + +config BR2_PACKAGE_GPU_VIV_BIN_MX6Q + bool "gpu-viv-bin-mx6q" + select BR2_LEGACY + select BR2_PACKAGE_IMX_GPU_VIV + help + Vivante graphics libraries have been renamed to + BR2_PACKAGE_IMX_GPU_VIV to be aligned with upstream package + name. + +config BR2_PACKAGE_LIBSEMANAGE_PYTHON_BINDINGS + bool "libsemanage python bindings removed" + depends on BR2_PACKAGE_PYTHON + select BR2_LEGACY + help + This option has been removed, since the libsemanage Python + bindings on the target were not useful. + +config BR2_TARGET_UBOOT_NETWORK + bool "U-Boot custom network settings removed" + select BR2_LEGACY + help + U-Boot's custom network settings options have been removed. + +endmenu + +endif # !SKIP_LEGACY diff --git a/buildroot-2022.02.1/DEVELOPERS b/buildroot-2022.02.1/DEVELOPERS new file mode 100644 index 00000000..9d77673f --- /dev/null +++ b/buildroot-2022.02.1/DEVELOPERS @@ -0,0 +1,3051 @@ +# Syntax: +# +# N: Firstname Lastname +# F: file pattern or directory +# F: file pattern or directory +# +# The "F" entries can be: +# +# - A directory, in which case all patches touching any file in this +# directory or its subdirectories will be CC'ed to the developer. +# - A pattern, in which case the pattern will be expanded, and then +# all files/directories (and their subdirectories) will be +# considered when matching against a patch +# +# Notes: +# +# - When a developer adds an "arch/Config.in." file to its list +# of files, he is considered a developer of this architecture. He +# will receive e-mail notifications about build failures occuring on +# this architecture. Not more than one e-mail per day is sent. +# - When a developer adds a directory that contains one or several +# packages, this developer will be notified when build failures +# occur. Not more than one e-mail per day is sent. +# - When a developer adds an "package/pkg-.mk" file to its list +# of files, he is considered interested by this package +# infrastructure, and will be CC'ed on all patches that add or +# modify packages that use this infrastructure. + +N: Adam Heinrich +F: package/jack1/ + +N: Adrian Perez de Castro +F: package/brotli/ +F: package/bubblewrap/ +F: package/cage/ +F: package/cog/ +F: package/libepoxy/ +F: package/libpsl/ +F: package/libwpe/ +F: package/webkitgtk/ +F: package/wlroots/ +F: package/woff2/ +F: package/wpebackend-fdo/ +F: package/wpewebkit/ +F: package/xdg-dbus-proxy/ + +N: Adrien Gallouët +F: package/bird/ +F: package/glorytun/ + +N: Alejandro González +F: package/qprint/ +F: package/watchdog/ + +N: Aleksander Morgado +F: package/libmbim/ +F: package/libqmi/ +F: package/modem-manager/ + +N: Alex Michel +F: package/network-manager-openvpn/ + +N: Alex Suykov +F: board/chromebook/snow/ +F: configs/chromebook_snow_defconfig +F: package/vboot-utils/ + +N: Alexander Clouter +F: package/odhcp6c/ + +N: Alexander Dahl +F: package/fastd/ +F: package/libuecc/ +F: package/siproxd/ +F: package/putty/ + +N: Alexander Egorenkov +F: package/makedumpfile/ +F: package/multipath-tools/ + +N: Alexander Egorenkov +F: arch/Config.in.s390x +F: board/qemu/s390x/ +F: configs/qemu_s390x_defconfig +F: package/s390-tools/ + +N: Alexander Kurz +F: package/minimodem/ + +N: Alexander Lukichev +F: package/openpgm/ + +N: Aleksandr Makarov +F: package/libest/ + +N: Alexander Mukhin +F: package/tinyproxy/ + +N: Alexander Sverdlin +F: package/mini-snmpd/ + +N: Alexander Varnin +F: package/liblog4c-localtime/ + +N: Alexandre Belloni +F: package/tz/ + +N: Alexandre Esse +F: package/kvazaar/ +F: package/v4l2loopback/ + +N: Alexey Brodkin +F: board/cubietech/cubieboard2/ +F: configs/cubieboard2_defconfig + +N: Alexey Lukyanchuk +F: package/zabbix/ + +N: Alistair Francis +F: board/sifive/ +F: boot/opensbi/ +F: configs/hifive_unleashed_defconfig +F: package/xen/ + +N: Alvaro G. M +F: package/dcron/ +F: package/libxmlrpc/ +F: package/python-docopt/ + +N: Anders Darander +F: package/ktap/ + +N: André Zwing +F: package/libkrb5/ +F: package/openal/ +F: package/p7zip/ +F: package/wine/ + +N: Andreas Klinger +F: package/ply/ + +N: Andreas Ziegler +F: package/mpd/ + +N: Andrey Smirnov +F: package/python-decorator/ +F: package/python-ipython-genutils/ +F: package/python-pickleshare/ +F: package/python-scandir/ +F: package/python-simplegeneric/ +F: package/python-systemd/ +F: package/python-traitlets/ +F: package/zstd/ + +N: Andrey Yurovsky +F: package/rauc/ + +N: Angelo Compagnucci +F: package/apparmor/ +F: package/corkscrew/ +F: package/cups/ +F: package/cups-filters/ +F: package/fail2ban/ +F: package/grep/ +F: package/htpdate/ +F: package/i2c-tools/ +F: package/jq/ +F: package/libapparmor/ +F: package/libb64/ +F: package/mender/ +F: package/mender-artifact/ +F: package/mono/ +F: package/mono-gtksharp3/ +F: package/monolite/ +F: package/openjpeg/ +F: package/python-can/ +F: package/python-pillow/ +F: package/python-pydal/ +F: package/python-spidev/ +F: package/python-web2py/ +F: package/qt5/qt5coap/ +F: package/qt5/qt5knx/ +F: package/qt5/qt5mqtt/ +F: package/sam-ba/ +F: package/sshguard/ +F: package/sunwait/ +F: package/sysdig/ + +N: Andy Shevchenko +F: package/fb-test-app/ + +N: Anisse Astier +F: package/go/ +F: package/nghttp2/ +F: package/pkg-golang.mk + +N: Anthony Viallard +F: package/gnuplot/ + +N: Antoine Tenart +F: package/libselinux/ +F: package/refpolicy/ +F: support/testing/tests/core/test_selinux/ +F: support/testing/tests/core/test_selinux.py +F: support/testing/tests/init/test_systemd_selinux/ +F: support/testing/tests/init/test_systemd_selinux.py + +N: Antony Pavlov +F: package/lsscsi/ + +N: ARC Maintainers +F: arch/Config.in.arc +F: board/synopsys/ +F: configs/snps_arc700_axs101_defconfig +F: configs/snps_archs38_axs103_defconfig +F: configs/snps_archs38_haps_defconfig +F: configs/snps_archs38_hsdk_defconfig + +N: Ariel D'Alessandro +F: package/axfsutils/ +F: package/mali-t76x/ + +N: Arnaud Aujon +F: package/espeak/ + +N: Arnout Vandecappelle +F: package/arp-scan/ +F: package/dehydrated/ +F: package/freescale-imx/firmware-imx/ +F: package/freescale-imx/imx-lib/ +F: package/libpagekite/ +F: package/lua-bit32/ +F: package/owfs/ +F: package/python-bottle/ +F: package/sqlcipher/ +F: package/stress/ + +N: Asaf Kahlon +F: package/collectd/ +F: package/libfuse3/ +F: package/libuv/ +F: package/python* +F: package/snmpclitools/ +F: package/spdlog/ +F: package/uftp/ +F: package/uftrace/ +F: package/uvw/ +F: package/zeromq/ + +N: Ash Charles +F: package/pru-software-support/ +F: package/ti-cgt-pru/ + +N: Assaf Inbal +F: package/lbase64/ +F: package/luabitop/ +F: package/luaexpatutils/ +F: package/luaposix/ +F: package/luasec/ +F: package/lua-ev/ +F: package/orbit/ + +N: Attila Wagner +F: package/python-canopen/ + +N: Bartosz Bilas +F: board/stmicroelectronics/stm32mp157a-dk1/ +F: configs/stm32mp157a_dk1_defconfig +F: package/cegui/ +F: package/log4qt/ +F: package/python-esptool/ +F: package/python-pyaes/ +F: package/ttyd/ +F: package/qt5/qt5scxml/ +F: package/qt5/qt5webview/ + +N: Bartosz Golaszewski +F: package/autoconf-archive/ +F: package/doxygen/ +F: package/libgpiod/ +F: package/libserialport/ +F: package/libsigrok/ +F: package/libsigrokdecode/ +F: package/libzip/ +F: package/pulseview/ +F: package/sigrok-cli/ + +N: Baruch Siach +F: board/solidrun/clearfog_gt_8k/ +F: configs/solidrun_clearfog_gt_8k_defconfig +F: package/18xx-ti-utils/ +F: package/cpuburn-arm/ +F: package/daemon/ +F: package/dropbear/ +F: package/ebtables/ +F: package/i2c-tools/ +F: package/libcurl/ +F: package/libpcap/ +F: package/socat/ +F: package/strace/ +F: package/tcpdump/ +F: package/ti-uim/ +F: package/uhubctl/ + +N: Ben Boeckel +F: package/taskd/ + +N: Benjamin Kamath +F: package/lapack/ + +N: Bernd Kuhls +F: package/alsa-lib/ +F: package/alsa-utils/ +F: package/apache/ +F: package/apg/ +F: package/apr/ +F: package/apr-util/ +F: package/bcg729/ +F: package/bento4/ +F: package/bitcoin/ +F: package/bluez-tools/ +F: package/boinc/ +F: package/clamav/ +F: package/dav1d/ +F: package/dovecot/ +F: package/dovecot-pigeonhole/ +F: package/dtv-scan-tables/ +F: package/eudev/ +F: package/exim/ +F: package/fetchmail/ +F: package/ffmpeg/ +F: package/flac/ +F: package/freeswitch/ +F: package/freeswitch-mod-bcg729/ +F: package/freetype/ +F: package/fstrcmp/ +F: package/ghostscript/ +F: package/giflib/ +F: package/gkrellm/ +F: package/gli/ +F: package/glmark2/ +F: package/gpsd/ +F: package/gptfdisk/ +F: package/hdparm/ +F: package/inih/ +F: package/intel-gmmlib/ +F: package/intel-mediadriver/ +F: package/intel-mediasdk/ +F: package/jsoncpp/ +F: package/kodi* +F: package/lame/ +F: package/leafnode2/ +F: package/libaacs/ +F: package/libasplib/ +F: package/libass/ +F: package/libbdplus/ +F: package/libbluray/ +F: package/libbroadvoice/ +F: package/libcdio/ +F: package/libcec/ +F: package/libcodec2/ +F: package/libcrossguid/ +F: package/libdcadec/ +F: package/libdrm/ +F: package/libdvbcsa/ +F: package/libdvdcss/ +F: package/libdvdnav/ +F: package/libdvdread/ +F: package/libebur128/ +F: package/libfreeglut/ +F: package/libg7221/ +F: package/libglew/ +F: package/libglfw/ +F: package/libglu/ +F: package/libhdhomerun/ +F: package/libilbc/ +F: package/libks/ +F: package/libldns/ +F: package/libmicrohttpd/ +F: package/libminiupnpc/ +F: package/libmspack/ +F: package/libnatpmp/ +F: package/libnpth/ +F: package/libogg/ +F: package/libopenh264/ +F: package/libpciaccess/ +F: package/libplatform/ +F: package/libpng/ +F: package/libsidplay2/ +F: package/libsilk/ +F: package/libsndfile/ +F: package/libsoundtouch/ +F: package/libsquish/ +F: package/libudfread/ +F: package/liburiparser/ +F: package/libva/ +F: package/libva-intel-driver/ +F: package/libva-utils/ +F: package/libvorbis/ +F: package/libvpx/ +F: package/libyuv/ +F: package/mesa3d/ +F: package/minidlna/ +F: package/mjpg-streamer/ +F: package/perl-crypt-openssl-guess/ +F: package/perl-crypt-openssl-random/ +F: package/perl-crypt-openssl-rsa/ +F: package/perl-digest-sha1/ +F: package/perl-encode-detect/ +F: package/perl-encode-locale/ +F: package/perl-file-listing/ +F: package/perl-html-parser/ +F: package/perl-html-tagset/ +F: package/perl-http-cookies/ +F: package/perl-http-daemon/ +F: package/perl-http-date/ +F: package/perl-http-message/ +F: package/perl-http-negotiate/ +F: package/perl-io-html/ +F: package/perl-lwp-mediatypes/ +F: package/perl-mail-dkim/ +F: package/perl-mailtools/ +F: package/perl-net-dns/ +F: package/perl-net-http/ +F: package/perl-netaddr-ip/ +F: package/perl-timedate/ +F: package/perl-uri/ +F: package/perl-www-robotrules/ +F: package/php/ +F: package/pixman/ +F: package/pngquant/ +F: package/pound/ +F: package/pulseaudio/ +F: package/pure-ftpd/ +F: package/python-couchdb/ +F: package/python-cssutils/ +F: package/python-mwclient/ +F: package/python-mwscrape/ +F: package/python-mwscrape2slob/ +F: package/python-mako/ +F: package/python-oauthlib/ +F: package/python-pyicu/ +F: package/python-pylru/ +F: package/python-requests-oauthlib/ +F: package/python-slob/ +F: package/rtmpdump/ +F: package/samba4/ +F: package/softether/ +F: package/spandsp/ +F: package/sqlite/ +F: package/stellarium/ +F: package/taglib/ +F: package/tinyxml2/ +F: package/tor/ +F: package/transmission/ +F: package/tvheadend/ +F: package/unixodbc/ +F: package/utf8proc/ +F: package/vdr/ +F: package/vdr-plugin-vnsiserver/ +F: package/vlc/ +F: package/vnstat/ +F: package/waylandpp/ +F: package/x11r7/ +F: package/x264/ +F: package/x265/ +F: package/xmrig/ +F: package/ytree/ +F: package/znc/ +F: support/testing/tests/package/test_perl_html_parser.py + +N: Biagio Montaruli +F: board/acmesystems/ +F: configs/acmesystems_* + +N: Bilal Wasim +F: board/chromebook/elm/ +F: configs/chromebook_elm_defconfig + +N: Bogdan Radulescu +F: package/iftop/ +F: package/ncdu/ + +N: Brandon Maier +F: package/vmtouch/ + +N: Brock Williams +F: package/pdmenu/ + +N: Carlo Caione +F: package/jailhouse/ +F: package/sunxi-boards/ + +N: Carsten Schoenert +F: package/dvbsnoop/ +F: package/libdvbsi/ +F: package/libsvg/ +F: package/libsvg-cairo/ + +N: Cédric Chépied +F: package/znc/ + +N: Cédric Le Goater +F: board/qemu/ppc-bamboo/ +F: board/qemu/ppc64le-powernv8/readme.txt +F: configs/qemu_ppc_bamboo_defconfig +F: configs/qemu_ppc64le_powernv8_defconfig + +N: Charles Hardin +F: package/alsa-plugins/ + +N: Changming Huang +F: package/qoriq-cadence-dp-firmware/ + +N: Chris Packham +F: package/coremark/ +F: package/coremark-pro/ +F: package/gstreamer1/gst1-shark/ +F: package/micropython/ +F: package/micropython-lib/ +F: package/syslog-ng/ + +N: Christian Kellermann +F: package/python-pylibftdi/ + +N: Christian Stewart +F: package/batman-adv/ +F: package/containerd/ +F: package/delve/ +F: package/docker-cli/ +F: package/docker-engine/ +F: package/docker-proxy/ +F: package/embiggen-disk/ +F: package/fuse-overlayfs/ +F: package/go/ +F: package/gocryptfs/ +F: package/mbpfan/ +F: package/moby-buildkit/ +F: package/mosh/ +F: package/pkg-golang.mk +F: package/rtl8821au/ +F: package/runc/ +F: package/tini/ + +N: Christophe Priouzeau +F: board/stmicroelectronics/stm32f429-disco/ +F: board/stmicroelectronics/stm32f469-disco/ +F: configs/stm32f429_disco_xip_defconfig +F: configs/stm32f469_disco_sd_defconfig +F: configs/stm32f469_disco_xip_defconfig + +N: Christophe Vu-Brugier +F: package/drbd-utils/ +F: package/iotop/ +F: package/python-configshell-fb/ +F: package/python-rtslib-fb/ +F: package/python-urwid/ +F: package/targetcli-fb/ + +N: Christopher McCrory +F: package/perl-appconfig/ +F: package/perl-astro-suntime/ +F: package/perl-class-load/ +F: package/perl-class-std/ +F: package/perl-class-std-fast/ +F: package/perl-data-dump/ +F: package/perl-data-optlist/ +F: package/perl-data-uuid/ +F: package/perl-date-manip/ +F: package/perl-dbd-mysql/ +F: package/perl-dbi/ +F: package/perl-device-serialport/ +F: package/perl-dist-checkconflicts/ +F: package/perl-file-slurp/ +F: package/perl-io-interface/ +F: package/perl-io-socket-multicast/ +F: package/perl-json-maybexs/ +F: package/perl-mime-tools/ +F: package/perl-module-implementation/ +F: package/perl-module-runtime/ +F: package/perl-number-bytes-human/ +F: package/perl-package-stash/ +F: package/perl-params-util/ +F: package/perl-sub-install/ +F: package/perl-sys-cpu/ +F: package/perl-sys-meminfo/ +F: package/perl-sys-mmap/ +F: package/perl-time-parsedate/ +F: package/perl-x10/ + +N: Clayton Shotwell +F: package/audit/ +F: package/checkpolicy/ +F: package/cpio/ +F: package/libcgroup/ +F: package/libee/ +F: package/libestr/ +F: package/liblogging/ +F: package/libselinux/ +F: package/libsemanage/ +F: package/libsepol/ +F: package/policycoreutils/ + +N: Clément Péron +F: board/beelink/gs1/ +F: configs/beelink_gs1_defconfig + +N: Corentin Guillevic +F: package/libloki/ + +N: Cyril Bur +F: arch/Config.in.powerpc +F: package/kvm-unit-tests + +N: Dagg Stompler +F: board/hardkernel/odroidc2/ +F: configs/odroidc2_defconfig +F: package/meson-tools/ +F: package/odroidc2-firmware/ + +N: Daniel J. Leach +F: package/dacapo/ + +N: Daniel Lang +F: package/dbus-cxx/ +F: package/paho-mqtt-cpp/ + +N: Damien Lanson +F: package/libvdpau/ +F: package/log4cpp/ + +N: Daniel Nicoletti +F: package/cutelyst/ + +N: Daniel Price +F: package/nodejs/ +F: package/redis/ + +N: Daniel Sangue +F: package/libftdi1/ + +N: Danilo Bargen +F: board/pcengines/apu2/ +F: configs/pcengines_apu2_defconfig + +N: Danomi Manchego +F: package/cjson/ +F: package/jq/ +F: package/libwebsockets/ +F: package/ljsyscall/ +F: package/lua-cjson/ +F: package/luaexpat/ +F: package/xinetd/ + +N: Dario Binacchi +F: package/davinci-bootcount/ + +N: David Bachelart +F: package/ccrypt/ +F: package/dos2unix/ +F: package/ipmiutil/ +F: package/jsmn/ +F: package/python-daemon/ +F: package/sslh/ +F: package/udpxy/ + +N: David Bender +F: package/benejson/ +F: package/cgic/ +F: package/freeradius-client/ +F: package/openldap/ + +N: David du Colombier <0intro@gmail.com> +F: package/x264/ + +N: David GOUARIN +F: package/librelp/ +F: package/libtalloc/ + +N: David Lechner +F: board/lego/ev3/ +F: configs/lego_ev3_defconfig +F: linux/linux-ext-ev3dev-linux-drivers.mk +F: package/brickd/ +F: package/ev3dev-linux-drivers/ + +N: David Pierret +F: package/bat/ + +N: Davide Viti +F: board/friendlyarm/nanopi-r1/ +F: configs/friendlyarm_nanopi_r1_defconfig +F: package/flann/ +F: package/python-paho-mqtt/ +F: package/qhull/ +F: package/tcllib/ + +N: Denis Bodor +F: package/libstrophe/ + +N: Derrick Lyndon Pallas +F: package/ipcalc/ + +N: Dick Olsson +F: board/aarch64-efi/ +F: board/pc/ +F: board/qemu/aarch64-sbsa/ +F: boot/arm-trusted-firmware/ +F: boot/edk2/ +F: configs/qemu_aarch64_sbsa_defconfig +F: package/bearssl/ +F: package/bitcoin/ +F: package/edk2-platforms/ +F: package/execline/ +F: package/mdevd/ +F: package/s6-dns/ +F: package/s6-linux-init/ +F: package/s6-linux-utils/ +F: package/s6-networking/ +F: package/s6-portable-utils/ +F: package/s6-rc/ +F: package/s6/ +F: package/skalibs/ +F: support/testing/tests/boot/test_edk2.py + +N: Dimitrios Siganos +F: package/wireless-regdb/ + +N: Dominik Faessler +F: package/logsurfer/ + +N: Doug Kehn +F: package/nss-pam-ldapd/ +F: package/sp-oops-extract/ +F: package/unscd/ + +N: Dushara Jayasinghe +F: package/prosody/ + +N: Edgar Bonet +F: board/acmesystems/acqua-a5/ +F: configs/acmesystems_acqua_a5_256mb_defconfig +F: configs/acmesystems_acqua_a5_512mb_defconfig + +N: Eloi Bail +F: package/bayer2rgb-neon/ +F: package/gstreamer1/gst1-plugins-bayer2rgb-neon/ + +N: Eric Le Bihan +F: docs/manual/adding-packages-meson.txt +F: package/adwaita-icon-theme/ +F: package/darkhttpd/ +F: package/eudev/ +F: package/execline/ +F: package/hicolor-icon-theme/ +F: package/jemalloc/ +F: package/mdevd/ +F: package/meson/ +F: package/ninja/ +F: package/pkg-meson.mk +F: package/rust-bin/ +F: package/rust/ +F: package/s6/ +F: package/s6-dns/ +F: package/s6-linux-init/ +F: package/s6-linux-utils/ +F: package/s6-networking/ +F: package/s6-portable-utils/ +F: package/s6-rc/ +F: package/skalibs/ +F: package/smack/ +F: package/xvisor/ + +N: Eric Limpens +F: package/pifmrds/ +F: package/ympd/ + +N: Erico Nunes +F: board/aarch64-efi/ +F: configs/aarch64_efi_defconfig +F: package/acpica/ +F: package/acpitool/ +F: package/efibootmgr/ +F: package/efivar/ +F: package/fwts/ +F: package/spi-tools/ +F: package/xdotool/ +F: configs/pc_x86_64_* + +N: Erik Larsson +F: package/imx-mkimage/ + +N: Erik Stromdahl +F: package/mxsldr/ + +N: Ernesto L. Williams Jr +F: package/szip/ + +N: Esben Haabendal +F: boot/gummiboot/ +F: package/python-kiwisolver/ + +N: Etienne Carriere +F: boot/optee-os/ +F: package/optee-benchmark/ +F: package/optee-client/ +F: package/optee-examples/ +F: package/optee-test/ + +N: Eugen Hristev +F: board/atmel/readme.txt +F: board/microchip/sama7g5ek/ +F: configs/microchip_sama7g5ek* + +N: Eugene Tarassov +F: package/tcf-agent/ + +N: Ezequiel Garcia +F: board/ci20/ +F: configs/ci20_defconfig +F: arch/Config.in.nios2 +F: package/fio/ +F: package/iptraf-ng/ +F: package/jimtcl/ +F: package/mimic/ +F: package/nodm/ +F: package/openbox/ +F: package/rtl8723bs/ +F: package/supertuxkart/ + +N: Fabio Estevam +F: board/freescale/warpboard/ +F: board/warp7/ +F: configs/freescale_imx* +F: configs/imx23evk_defconfig +F: configs/imx6-sabre* +F: configs/imx6slevk_defconfig +F: configs/imx6sx-sdb_defconfig +F: configs/imx6ulevk_defconfig +F: configs/imx6ullevk_defconfig +F: configs/imx6ulpico_defconfig +F: configs/imx7d-sdb_defconfig +F: configs/imx7dpico_defconfig +F: configs/imx8mqevk_defconfig +F: configs/mx25pdk_defconfig +F: configs/mx51evk_defconfig +F: configs/mx53loco_defconfig +F: configs/mx6cubox_defconfig +F: configs/mx6sx_udoo_neo_defconfig +F: configs/mx6udoo_defconfig +F: configs/wandboard_defconfig +F: configs/warp7_defconfig +F: configs/warpboard_defconfig +F: package/atest/ +F: package/kmscube/ + +N: Fabio Porcedda +F: package/netsurf-buildsystem/ + +N: Fabio Urquiza +F: package/bitcoin/ + +N: Fabrice Fontaine +F: package/domoticz/ +F: package/libmediaart/ +F: package/libmaxminddb/ +F: package/openzwave/ + +N: Fabrice Fontaine +F: package/bearssl/ +F: package/belle-sip/ +F: package/belr/ +F: package/boinc/ +F: package/cairo/ +F: package/daq3/ +F: package/duktape/ +F: package/expat/ +F: package/flatbuffers/ +F: package/freeipmi/ +F: package/gdk-pixbuf-xlib/ +F: package/gerbera/ +F: package/gtksourceview/ +F: package/gssdp/ +F: package/gupnp/ +F: package/gupnp-dlna/ +F: package/gupnp-tools/ +F: package/haproxy/ +F: package/hiredis/ +F: package/i2pd/ +F: package/igd2-for-linux/ +F: package/json-c/ +F: package/ksmbd-tools/ +F: package/lcms2/ +F: package/lftp/ +F: package/libcap-ng/ +F: package/libcdio-paranoia/ +F: package/libcgicc/ +F: package/libconfig/ +F: package/libcue/ +F: package/libebml/ +F: package/libgee/ +F: package/libglib2/ +F: package/libgtk2/ +F: package/libgtk3/ +F: package/libhtp/ +F: package/libidn/ +F: package/libidn2/ +F: package/libjpeg/ +F: package/liblockfile/ +F: package/libmatroska/ +F: package/libmd/ +F: package/libmpdclient/ +F: package/libnetfilter_conntrack/ +F: package/libnetfilter_queue/ +F: package/libnpupnp/ +F: package/liboping/ +F: package/libpfm4/ +F: package/libraw/ +F: package/libraw1394/ +F: package/libroxml/ +F: package/librsvg/ +F: package/librsync/ +F: package/libsoup/ +F: package/libsoxr/ +F: package/libupnp/ +F: package/liburing/ +F: package/libv4l/ +F: package/libxslt/ +F: package/mbedtls/ +F: package/minissdpd/ +F: package/minizip/ +F: package/mongodb/ +F: package/motion/ +F: package/mutt/ +F: package/ncmpc/ +F: package/oniguruma/ +F: package/opencv4/ +F: package/oprofile/ +F: package/pcmanfm/ +F: package/perl-extutils-pkgconfig/ +F: package/python-backcall/ +F: package/python-jedi/ +F: package/python-parso/ +F: package/python-yatl/ +F: package/rocksdb/ +F: package/rtl_433/ +F: package/rygel/ +F: package/safeclib/ +F: package/snort3/ +F: package/suricata/ +F: package/tinycbor/ +F: package/tinydtls/ +F: package/tinymembench/ +F: package/whois/ + +N: Fabrice Goucem +F: board/freescale/imx6ullevk/ +F: configs/freescale_imx6ullevk_defconfig + +N: Falco Hyfing +F: package/python-pymodbus/ + +N: Filip Skoneczny +F: board/sinovoip/m1-plus +F: configs/bananapi_m1_plus_defconfig + +N: Floris Bos +F: package/ipmitool/ +F: package/odhcploc/ + +N: Francis Laniel +F: package/pahole/ + +N: Francisco Gonzalez +F: package/ser2net/ + +N: Francois Perrad +F: board/olimex/a20_olinuxino +F: board/olimex/imx233_olinuxino/ +F: board/olimex/stmp1_olinuxino/ +F: configs/olimex_a20_olinuxino_* +F: configs/olimex_imx233_olinuxino_defconfig +F: configs/olimex_stmp157_olinuxino_lime_defconfig +F: package/4th/ +F: package/cgilua/ +F: package/chipmunk/ +F: package/cog/ +F: package/collectl/ +F: package/copas/ +F: package/coxpcall/ +F: package/dado/ +F: package/ficl/ +F: package/janet/ +F: package/libtomcrypt/ +F: package/libtommath/ +F: package/libwpe/ +F: package/linenoise/ +F: package/ljlinenoise/ +F: package/lua-inotify/ +F: package/lpeg/ +F: package/lpty/ +F: package/lrandom/ +F: package/lsqlite3/ +F: package/lua* +F: package/lzlib/ +F: package/moarvm/ +F: package/mstpd/ +F: package/netsurf/ +F: package/perl* +F: package/pkg-perl.mk +F: package/pkg-luarocks.mk +F: package/quickjs/ +F: package/rings/ +F: package/tekui/ +F: package/wpebackend-fdo/ +F: package/wpewebkit/ +F: package/wsapi/ +F: package/wsapi-fcgi/ +F: package/wsapi-xavante/ +F: package/xavante/ +F: support/testing/tests/package/test_lua* +F: utils/scancpan + +N: Frank Hunleth +F: package/am335x-pru-package/ +F: package/libconfuse/ +F: package/libdmtx/ +F: package/libsodium/ +F: package/php-amqp/ +F: package/python-cherrypy/ +F: package/rabbitmq-server/ +F: package/sane-backends/ +F: package/ucl/ +F: package/upx/ +F: package/zxing-cpp/ + +N: Frank Vanbever +F: package/elixir/ +F: package/libmodsecurity/ +F: package/nginx-modsecurity/ + +N: Gaël Portay +F: package/qt5/qt5virtualkeyboard/ +F: package/qt5/qt5webengine/ +F: package/qt5/qt5webkit/ + +N: Gao Xiang +F: package/erofs-utils/ + +N: Gary Bisson +F: board/boundarydevices/ +F: configs/nitrogen* +F: package/freescale-imx/ +F: package/gstreamer1/gst1-imx/ +F: package/libimxvpuapi/ +F: package/mfgtools/ +F: package/sshpass/ +F: package/x11r7/xdriver_xf86-video-imx-viv/ + +N: Geoff Levand +F: package/flannel/ + +N: Geoffrey Ragot +F: package/python-pyyaml/ + +N: Gerome Burlats +F: board/qemu/ +F: configs/qemu_* + +N: Gilles Talis +F: board/freescale/imx8mmevk/ +F: board/friendlyarm/nanopi-r2s/ +F: configs/freescale_imx8mmevk_defconfig +F: configs/friendlyarm_nanopi_r2s_defconfig +F: package/cctz/ +F: package/faad2/ +F: package/fdk-aac/ +F: package/httping/ +F: package/iozone/ +F: package/leptonica/ +F: package/libeXosip2/ +F: package/libolm/ +F: package/libosip2/ +F: package/ocrad/ +F: package/opusfile/ +F: package/restclient-cpp/ +F: package/tesseract-ocr/ +F: package/webp/ +F: package/xapian/ + +N: Giulio Benetti +F: board/olimex/a* +F: configs/amarula_vyasa_rk3288_defconfig +F: configs/asus_tinker_rk3288_defconfig +F: configs/olimex_a* +F: package/at/ +F: package/binutils/ +F: package/cryptsetup/ +F: package/erlang-jiffy/ +F: package/gcc/ +F: package/harfbuzz/ +F: package/libfuse3/ +F: package/libnspr/ +F: package/libnss/ +F: package/mali-driver/ +F: package/minicom/ +F: package/nfs-utils/ +F: package/python-uvloop/ +F: package/rockchip-mali/ +F: package/sunxi-mali-utgard/ +F: package/sunxi-mali-utgard-driver/ +F: package/sunxi-tools/ +F: package/trace-cmd/ +F: package/udisks/ +F: toolchain/ + +N: Gregory Dymarek +F: package/ding-libs/ +F: package/gengetopt/ +F: package/janus-gateway/ +F: package/libnice/ +F: package/libsrtp/ +F: package/libwebsock/ +F: package/sofia-sip/ + +N: Grzegorz Blach +F: fs/f2fs/ +F: package/bluez5_utils-headers/ +F: package/f2fs-tools/ +F: package/graphicsmagick/ +F: package/pigpio/ +F: package/python-aioblescan/ +F: package/python-bluezero/ +F: package/python-crontab/ +F: package/python-falcon/ +F: package/python-ifaddr/ +F: package/python-hiredis/ +F: package/python-mimeparse/ +F: package/python-pigpio/ +F: package/python-pyjwt/ +F: package/python-redis/ +F: package/python-rpi-ws281x/ +F: package/python-wtforms/ +F: package/rpi-rgb-led-matrix/ + +N: Guillaume William Brs +F: package/libnids/ +F: package/libxcrypt/ +F: package/liquid-dsp/ +F: package/pixiewps/ +F: package/python-pybind/ +F: package/reaver/ +F: support/testing/tests/package/br2-external/python-pybind +F: support/testing/tests/package/sample_python_pybind.py +F: support/testing/tests/package/test_python_pybind.py + +N: Guo Ren +F: arch/Config.in.csky +F: board/csky/ +F: configs/csky_* + +N: Gustavo Heinz +F: package/python-m2crypto/ + +N: Gustavo Pimentel +F: configs/arm_juno_defconfig +F: board/arm/juno/ + +N: Gwenhael Goavec-Merou +F: board/terasic/de10nano_cyclone5/ +F: configs/terasic_de10nano_cyclone5_defconfig +F: package/gnuradio/ +F: package/gqrx/ +F: package/gr-osmosdr/ +F: package/librtlsdr/ +F: package/libusbgx/ +F: package/matio/ +F: package/python-cheetah/ +F: package/python-markdown/ +F: package/python-remi/ +F: package/python-sip/ +F: package/uhd/ + +N: Heiko Thiery +F: board/kontron/bl-imx8mm/ +F: board/kontron/pitx-imx8m/ +F: configs/kontron_bl_imx8mm_defconfig +F: configs/kontron_pitx_imx8m_defconfig +F: package/altera-stapl/ +F: package/ipmitool/ +F: package/libnetconf2/ +F: package/libyang/ +F: package/linuxptp/ +F: package/netopeer2/ +F: package/sysrepo/ + +N: Hervé Codina +F: package/alchemy/ +F: package/dtbocfg/ +F: package/libdbi/ +F: package/libdbi-drivers/ +F: package/libfutils/ +F: package/libshdata/ +F: package/lua-augeas/ +F: package/modsecurity2/ +F: package/php-apcu/ +F: package/php-lua/ +F: package/php-pam/ +F: package/php-pecl-dbus/ +F: package/ulog/ +F: support/testing/tests/package/test_dtbocfg.py +F: support/testing/tests/package/test_libshdata.py +F: support/testing/tests/package/test_lua_augeas.py +F: support/testing/tests/package/test_php_apcu.py +F: support/testing/tests/package/test_php_lua.py +F: support/testing/tests/package/test_php_pam.py +F: support/testing/tests/package/test_php_pecl_dbus.py + +N: Hiroshi Kawashima +F: package/gauche/ +F: package/gmrender-resurrect/ +F: package/squeezelite/ + +N: Horatiu Vultur +F: package/cfm/ +F: package/easyframes/ +F: package/mrp/ + +N: Ian Haylock +F: package/python-rpi-gpio/ + +N: Ignacy Gawędzki +F: package/angularjs/ + +N: Ilias Apalodimas +F: package/keepalived/ + +N: Ilya Averyanov +F: package/exempi/ + +N: Ismael Luceno +F: package/axel/ +F: package/mawk/ + +N: Jagan Teki +F: board/amarula/ +F: board/asus/ +F: board/bananapi/ +F: board/engicam/ +F: board/friendlyarm/nanopi-a64/ +F: board/friendlyarm/nanopi-neo2/ +F: board/olimex/a33_olinuxino/ +F: board/olimex/a64-olinuxino/ +F: board/orangepi/orangepi-lite2/ +F: board/orangepi/orangepi-one-plus +F: board/orangepi/orangepi-pc2/ +F: board/orangepi/orangepi-prime/ +F: board/orangepi/orangepi-win/ +F: board/orangepi/orangepi-zero-plus2/ +F: board/pine64/ +F: configs/amarula_a64_relic_defconfig +F: configs/amarula_vyasa_rk3288_defconfig +F: configs/asus_tinker_rk3288_defconfig +F: configs/bananapi_m1_defconfig +F: configs/bananapi_m64_defconfig +F: configs/engicam_imx6qdl_icore_defconfig +F: configs/engicam_imx6qdl_icore_qt5_defconfig +F: configs/engicam_imx6qdl_icore_rqs_defconfig +F: configs/engicam_imx6ul_geam_defconfig +F: configs/engicam_imx6ul_isiot_defconfig +F: configs/friendlyarm_nanopi_a64_defconfig +F: configs/friendlyarm_nanopi_neo2_defconfig +F: configs/olimex_a33_olinuxino_defconfig +F: configs/olimex_a64_olinuxino_defconfig +F: configs/orangepi_lite2_defconfig +F: configs/orangepi_one_plus_defconfig +F: configs/orangepi_pc2_defconfig +F: configs/orangepi_prime_defconfig +F: configs/orangepi_win_defconfig +F: configs/orangepi_zero_plus2_defconfig +F: configs/pine64_defconfig +F: configs/pine64_sopine_defconfig + +N: James Hilliard +F: package/apcupsd/ +F: package/bpftool/ +F: package/exfatprogs/ +F: package/gensio/ +F: package/lua-std-debug/ +F: package/lua-std-normalize/ +F: package/lilv/ +F: package/lv2/ +F: package/pipewire/ +F: package/python-aioconsole/ +F: package/python-aiodns/ +F: package/python-aiohttp/ +F: package/python-aiohttp-cors/ +F: package/python-aiohttp-debugtoolbar/ +F: package/python-aiohttp-jinja2/ +F: package/python-aiohttp-mako/ +F: package/python-aiohttp-remotes/ +F: package/python-aiohttp-security/ +F: package/python-aiohttp-session/ +F: package/python-aiohttp-sse/ +F: package/python-aiologstash/ +F: package/python-aiomonitor/ +F: package/python-aiojobs/ +F: package/python-aioprocessing/ +F: package/python-aiorwlock/ +F: package/python-aiosignal/ +F: package/python-aiozipkin/ +F: package/python-argon2-cffi/ +F: package/python-argon2-cffi-bindings/ +F: package/python-async-lru/ +F: package/python-async-timeout/ +F: package/python-bidict/ +F: package/python-brotli/ +F: package/python-cbor2/ +F: package/python-cchardet/ +F: package/python-charset-normalizer/ +F: package/python-cssselect2/ +F: package/python-flatbuffers/ +F: package/python-fonttools/ +F: package/python-frozenlist/ +F: package/python-greenlet/ +F: package/python-installer/ +F: package/python-janus/ +F: package/python-logstash/ +F: package/python-multidict/ +F: package/python-pep517/ +F: package/python-pycares/ +F: package/python-pydyf/ +F: package/python-pypa-build/ +F: package/python-pyphen/ +F: package/python-snappy/ +F: package/python-sockjs/ +F: package/python-terminaltables/ +F: package/python-tinycss2/ +F: package/python-tomli/ +F: package/python-weasyprint/ +F: package/python-yarl/ +F: package/python-zopfli/ +F: package/serd/ +F: package/sord/ +F: package/sratom/ +F: package/zchunk/ + +N: James Knight +F: package/atkmm/ +F: package/cairomm/ +F: package/google-material-design-icons/ +F: package/glibmm/ +F: package/gtkmm3/ +F: package/libpqxx/ +F: package/pangomm/ +F: package/rpm/ +F: package/yad/ + +N: Jan Heylen +F: package/opentracing-cpp/ + +N: Jan Kraval +F: board/orangepi/orangepi-lite +F: configs/orangepi_lite_defconfig + +N: Jan Kundrát +F: configs/solidrun_clearfog_defconfig +F: board/solidrun/clearfog/ +F: package/libnetconf2/ +F: package/libyang/ +F: package/sysrepo/ + +N: Jan Pedersen +F: package/zip/ + +N: Jared Bents +F: package/libvirt/ + +N: Jarkko Sakkinen +F: package/quota/ + +N: Jason Pruitt +F: package/librtlsdr/ + +N: Jean Burgat +F: package/openfpgaloader/ + +N: Jens Kleintje +F: package/gcnano-binaries/ + +N: Jens Rosenboom +F: package/sl/ + +N: Jens Zettelmeyer +F: package/batctl/ + +N: Jeremy Rosen +F: package/fxload/ + +N: Jérôme Oufella +F: package/libdri2/ +F: package/qt-webkit-kiosk/ + +N: Jérôme Pouiller +F: package/apitrace/ +F: package/freescale-imx/gpu-amd-bin-mx51/ +F: package/freescale-imx/libz160/ +F: package/lxc/ +F: package/strongswan/ +F: package/wmctrl/ +F: package/x11r7/xdriver_xf86-video-imx/ +F: package/x11r7/xdriver_xf86-video-imx-viv/ + +N: Jianhui Zhao +F: package/libuhttpd/ +F: package/libuwsc/ +F: package/rtty/ + +N: Joachim Wiberg +F: configs/globalscale_espressobin_defconfig +F: board/globalscale/espressobin/ +F: package/inadyn/ +F: package/libite/ +F: package/libteam/ +F: package/libuev/ +F: package/mg/ +F: package/mrouted/ +F: package/netcalc/ +F: package/smcroute/ +F: package/ssdp-responder/ +F: package/sysklogd/ +F: package/watchdogd/ + +N: Jochen Baltes +F: package/altera-stapl + +N: Joel Carlson +F: package/c-capnproto/ +F: package/capnproto/ +F: package/cmocka/ +F: package/flatcc/ +F: package/libcorrect/ + +N: Joel Stanley +F: package/pdbg/ +F: board/qemu/ppc64le-pseries/ +F: configs/qemu_ppc64le_pseries_defconfig +F: board/qemu/ppc-mac99/ +F: configs/qemu_ppc_mac99_defconfig + +N: Johan Derycke +F: package/python-libconfig/ + +N: Johan Oudinet +F: package/ejabberd/ +F: package/erlang-base64url/ +F: package/erlang-eimp/ +F: package/erlang-goldrush/ +F: package/erlang-idna/ +F: package/erlang-jiffy/ +F: package/erlang-jose/ +F: package/erlang-lager/ +F: package/erlang-p1-acme/ +F: package/erlang-p1-cache-tab/ +F: package/erlang-p1-mqtree/ +F: package/erlang-p1-oauth2/ +F: package/erlang-p1-pkix/ +F: package/erlang-p1-sip/ +F: package/erlang-p1-stringprep/ +F: package/erlang-p1-stun/ +F: package/erlang-p1-tls/ +F: package/erlang-p1-utils/ +F: package/erlang-p1-xml/ +F: package/erlang-p1-xmpp/ +F: package/erlang-p1-yaml/ +F: package/erlang-p1-yconf/ +F: package/erlang-p1-zlib/ +F: package/nginx-dav-ext/ +F: package/vuejs/ + +N: John Stile +F: package/dhcpcd/ + +N: John Faith +F: package/python-inflection/ +F: package/sdbusplus/ + +N: Jonathan Ben Avraham +F: arch/Config.in.xtensa +F: package/autofs/ +F: package/dawgdic/ +F: package/libphidget/ +F: package/phidgetwebservice/ +F: package/rapidxml/ +F: package/sphinxbase/ + +N: Joris Offouga +F: package/python-colorlog/ +F: package/python-simplelogging/ + +N: Jörg Krause +F: board/lemaker/bananapro/ +F: configs/bananapro_defconfig +F: package/augeas/ +F: package/bluez-alsa/ +F: package/caps/ +F: package/freescale-imx/imx-alsa-plugins/ +F: package/libopusenc/ +F: package/libupnpp/ +F: package/luv/ +F: package/luvi/ +F: package/mpd/ +F: package/shairport-sync/ +F: package/swupdate/ +F: package/upmpdcli/ +F: package/wavemon/ + +N: Joris Lijssens +F: package/emlog/ +F: package/libcoap/ +F: package/libnet/ +F: package/libuio/ +F: package/netsniff-ng/ +F: package/rabbitmq-c/ + +N: José Luis Salvador Rufo +F: package/zfs/ +F: support/testing/tests/package/test_zfs.py + +N: José Pekkarinen +F: package/alfred/ +F: package/bmx7/ +F: package/python-aexpect/ +F: package/softhsm2/ +F: support/testing/tests/package/sample_python_aexpect.py +F: support/testing/tests/package/test_python_aexpect.py + +N: Joseph Kogut +F: package/at-spi2-atk/ +F: package/at-spi2-core/ +F: package/clang/ +F: package/earlyoom/ +F: package/gconf/ +F: package/libnss/ +F: package/lld/ +F: package/llvm/ +F: package/python-cython/ +F: package/python-pycups/ +F: package/python-raven/ +F: package/python-schedule/ +F: package/python-sentry-sdk/ +F: package/python-websockets/ +F: package/python-xlib/ +F: package/sentry-cli/ +F: package/sentry-native/ +F: package/unclutter-xfixes/ + +N: Joshua Henderson +F: package/qt5/qt5wayland/ + +N: Jugurtha BELKALEM +F: package/python-aiofiles/ +F: package/python-crayons/ +F: package/python-cycler/ +F: package/python-matplotlib/ +F: package/python-opcua-asyncio/ +F: package/python-piexif/ + +N: Juha Rantanen +F: package/acsccid/ + +N: Julian Scheel +F: package/bitstream/ +F: package/cbootimage/ +F: package/cryptopp/ +F: package/dvblast/ +F: package/tegrarcm/ + +N: Julien Boibessot +F: board/armadeus/ +F: configs/armadeus* +F: package/abootimg/ +F: package/gpm/ +F: package/lbreakout2/ +F: package/libcddb/ +F: package/libmodbus/ +F: package/ltris/ +F: package/opentyrian/ +F: package/python-pygame/ + +N: Julien Corjon +F: package/qt5/ + +N: Julien Grossholtz +F: board/raspberrypi/ +F: board/technologic/ts7680/ +F: configs/raspberrypizero2w_defconfig +F: configs/ts7680_defconfig +F: package/paho-mqtt-c + +N: Julien Olivain +F: board/qmtech/zynq/ +F: board/spike/ +F: board/technexion/imx8mmpico/ +F: board/technexion/imx8mpico/ +F: configs/imx8mmpico_defconfig +F: configs/imx8mpico_defconfig +F: configs/spike_riscv64_defconfig +F: configs/zynq_qmtech_defconfig +F: package/fluid-soundfont/ +F: package/fluidsynth/ +F: package/glslsandbox-player/ +F: package/ptm2human/ +F: package/python-distro/ +F: package/python-gnupg/ +F: package/python-pyalsa/ +F: package/riscv-isa-sim/ +F: package/zynaddsubfx/ +F: support/testing/tests/package/sample_python_distro.py +F: support/testing/tests/package/sample_python_gnupg.py +F: support/testing/tests/package/test_python_distro.py +F: support/testing/tests/package/test_python_gnupg.py + +N: Julien Viard de Galbert +F: package/dieharder/ +F: package/easy-rsa/ + +N: Justin Maggard +F: package/dtach/ + +N: Kamel Bouhara +F: package/libodb-boost/ +F: package/libodb-mysql/ +F: package/libqb/ +F: package/usbguard/ + +N: Karoly Kasza +F: package/irqbalance/ +F: package/openvmtools/ + +N: Kelvin Cheung +F: package/cpuload/ +F: package/bwm-ng/ +F: package/ramsmp/ + +N: Kieran Bingham +F: package/libcamera/ + +N: Klaus Heinrich Kiwi +F: package/wqy-zenhei/ + +N: Koen Martens +F: package/capnproto/ +F: package/linuxconsoletools/ + +N: Kurt Van Dijck +F: package/bcusdk/ +F: package/libpthsem/ +F: package/nilfs-utils/ + +N: Laurent Cans +F: package/aircrack-ng/ + +N: Laurent Charpentier +F: package/open-lldp/ + +N: Lee Jones +F: boot/afboot-stm32/ + +N: Leon Anavi +F: board/olimex/a10_olinuxino +F: configs/olimex_a10_olinuxino_lime_defconfig + +N: Leonid Yuriev +F: package/libmdbx/ + +N: Lionel Flandrin +F: package/python-babel/ +F: package/python-daemonize/ +F: package/python-flask/ +F: package/python-flask-babel/ +F: package/python-gunicorn/ +F: support/testing/tests/package/sample_python_flask.py +F: support/testing/tests/package/test_python_flask.py + +N: Lionel Orry +F: package/mongrel2/ + +N: Lothar Felten +F: board/bananapi/bananapi-m2-ultra/ +F: board/beaglebone/ +F: configs/bananapi_m2_ultra_defconfig +F: configs/beaglebone_defconfig +F: configs/beaglebone_qt5_defconfig +F: package/ti-sgx-demos/ +F: package/ti-sgx-km/ +F: package/ti-sgx-um/ + +N: Louis Aussedat +F: board/friendlyarm/nanopi-neo-plus2/ +F: configs/friendlyarm_nanopi_neo_plus2_defconfig +F: package/mfoc +F: package/libpam-nfc +F: package/python-dnspython/ +F: package/python-future/ +F: package/python-huepy/ +F: package/python-tqdm/ +F: package/rtl8189es/ + +N: Louis-Paul Cordier +F: package/intel-gmmlib/ +F: package/intel-mediadriver/ +F: package/intel-mediasdk/ + +N: Luca Ceresoli +F: board/olimex/a20_olinuxino/ +F: board/zynq/ +F: board/zynqmp/ +F: configs/olimex_a20_olinuxino_* +F: configs/zynq_microzed_defconfig +F: configs/zynq_zed_defconfig +F: configs/zynq_zc706_defconfig +F: configs/zynqmp_zcu106_defconfig +F: package/agentpp/ +F: package/exim/ +F: package/libpjsip/ +F: package/qpid-proton/ +F: package/rtl8188eu/ +F: package/snmppp/ +F: package/stm32flash/ +F: package/unzip/ +F: support/legal-info/ + +N: Lucas De Marchi +F: package/fswebcam/ + +N: Lubomir Rintel +F: board/olpc/ +F: configs/olpc_xo1_defconfig +F: configs/olpc_xo175_defconfig + +N: Ludovic Desroches +F: board/atmel/ +F: board/microchip/ +F: configs/at91* +F: configs/atmel_* +F: configs/microchip_* +F: package/fb-test-app/ +F: package/python-json-schema-validator/ +F: package/python-keyring/ +F: package/python-simplejson/ +F: package/python-versiontools/ +F: package/wilc1000-firmware/ + +N: Maeva Manuel +F: board/freescale/imx8qmmek/ +F: configs/freescale_imx8qmmek_defconfig +F: package/freescale-imx/imx-seco/ + +N: Mahyar Koshkouei +F: package/ffmpeg/ +F: package/mpv/ +F: package/rpi-firmware/ +F: package/rpi-userland/ + +N: Manuel Vögele +F: package/python-pyqt5/ +F: package/python-requests-toolbelt/ + +N: Marcin Bis +F: package/bluez5_utils/ +F: package/cc-tool/ +F: package/ecryptfs-utils/ + +N: Marcin Niestroj +F: board/grinn/ +F: board/orangepi/orangepi-zero-plus/ +F: configs/grinn_* +F: configs/orangepi_zero_plus_defconfig +F: package/argparse/ +F: package/dt-utils/ +F: package/easydbus/ +F: package/lua-flu/ +F: package/lua-stdlib/ +F: package/luaossl/ +F: package/murata-cyw-fw/ +F: package/netdata/ +F: package/python-ansicolors/ +F: package/python-bleak/ +F: package/python-dbus-next/ +F: package/python-iniconfig/ +F: package/python-intelhex/ +F: package/python-packaging/ +F: package/python-pluggy/ +F: package/python-pytest/ +F: package/python-pytest-asyncio/ +F: package/python-typing-extensions/ +F: package/python-xmodem/ +F: package/rs485conf/ +F: package/turbolua/ +F: support/testing/tests/package/sample_python_dbus_next.py +F: support/testing/tests/package/sample_python_pytest.py +F: support/testing/tests/package/sample_python_pytest_asyncio.py +F: support/testing/tests/package/test_netdata.py +F: support/testing/tests/package/test_python_dbus_next.py +F: support/testing/tests/package/test_python_pytest.py +F: support/testing/tests/package/test_python_pytest_asyncio.py + +N: Marcus Folkesson +F: package/libostree/ +F: package/libselinux/ +F: package/libsemanage/ +F: package/libsepol/ +F: package/selinux-python/ +F: utils/config +F: utils/diffconfig + +N: Marek Belisko +F: board/friendlyarm/nanopi-neo4/ +F: configs/friendlyarm_nanopi_neo4_defconfig +F: package/libatasmart/ +F: package/polkit/ +F: package/sg3_utils/ +F: package/udisks/ + +N: Mario Lang +F: package/brltty/ +F: package/lynx/ + +N: Mario Rugiero +F: package/ratpoison/ + +N: Mark Corbin +F: arch/arch.mk.riscv +F: arch/Config.in.riscv +F: board/qemu/riscv32-virt/ +F: board/qemu/riscv64-virt/ +F: configs/qemu_riscv32_virt_defconfig +F: configs/qemu_riscv64_virt_defconfig + +N: Martin Bark +F: board/raspberrypi/ +F: configs/raspberrypi3_defconfig +F: package/brcmfmac_sdio-firmware-rpi/ +F: package/ca-certificates/ +F: package/connman/ +F: package/nodejs/ +F: package/rpi-firmware/ +F: package/tzdata/ +F: package/zic/ + +N: Martin Kepplinger +F: package/tslib/ +F: package/x11r7/xdriver_xf86-input-tslib/ +F: package/x11vnc/ + +N: Masahiro Yamada +F: board/arm/foundation-v8/ +F: configs/arm_foundationv8_defconfig + +N: Mathieu Audat +F: board/technologic/ts4900/ +F: configs/ts4900_defconfig +F: package/ts4900-fpga/ + +N: Matt Weber +F: board/freescale/p* +F: board/freescale/t* +F: board/qemu/ppc64-e5500/ +F: configs/freescale_p* +F: configs/freescale_t* +F: configs/qemu_ppc64_e5500_defconfig +F: package/ace/ +F: package/argp-standalone/ +F: package/aufs/ +F: package/aufs-util/ +F: package/bc/ +F: package/bridge-utils/ +F: package/checkpolicy/ +F: package/checksec/ +F: package/cgroupfs-mount/ +F: package/crda/ +F: package/cunit/ +F: package/dacapo/ +F: package/davici/ +F: package/dnsmasq/ +F: package/dosfstools/ +F: package/eigen/ +F: package/ethtool/ +F: package/flashbench/ +F: package/fmc/ +F: package/fmlib/ +F: package/git/ +F: package/gnutls/ +F: package/hostapd/ +F: package/i2c-tools/ +F: package/ifplugd/ +F: package/igmpproxy/ +F: package/iperf/ +F: package/iperf3/ +F: package/iputils/ +F: package/iw/ +F: package/jitterentropy-library/ +F: package/kvm-unit-tests/ +F: package/kvmtool/ +F: package/libcsv/ +F: package/libcurl/ +F: package/libeastl/ +F: package/libfcgi/ +F: package/libopenssl/ +F: package/libselinux/ +F: package/libsemanage/ +F: package/libsepol/ +F: package/libssh2/ +F: package/libtalloc/ +F: package/libqmi/ +F: package/lighttpd/ +F: package/logrotate/ +F: package/makedevs/ +F: package/memtester/ +F: package/mii-diag/ +F: package/mrouted/ +F: package/mtd/ +F: package/mtools/ +F: package/nginx-upload/ +F: package/omniorb/ +F: package/openresolv/ +F: package/paxtest/ +F: package/picocom/ +F: package/policycoreutils/ +F: package/proftpd/ +F: package/protobuf-c/ +F: package/protobuf/ +F: package/python-bunch/ +F: package/python-colorama/ +F: package/python-filelock/ +F: package/python-flask-cors/ +F: package/python-iptables/ +F: package/python-ipy/ +F: package/python-iwlib/ +F: package/python-posix-ipc/ +F: package/python-pycairo/ +F: package/python-pysftp/ +F: package/python-tinyrpc/ +F: package/python-txdbus/ +F: package/qoriq-rcw/ +F: package/raptor/ +F: package/rng-tools/ +F: package/rsyslog/ +F: package/setools/ +F: package/sloci-image/ +F: package/smcroute/ +F: package/tclap/ +F: package/tini/ +F: package/uboot-tools/ +F: package/unionfs/ +F: package/valijson/ +F: package/wpa_supplicant/ +F: package/wireless_tools/ +F: package/xen/ +F: package/xml-security-c/ +F: support/testing/tests/fs/test_oci.py +F: support/testing/tests/package/br2-external/openjdk/ +F: support/testing/tests/package/test_openjdk.py +F: support/testing/tests/package/test_opkg/ +F: support/testing/tests/package/test_opkg.py + +N: Mauro Condarelli +F: package/mc/ +F: package/python-autobahn/ +F: package/python-cbor/ +F: package/python-characteristic/ +F: package/python-click/ +F: package/python-crossbar/ +F: package/python-lmdb/ +F: package/python-mistune/ +F: package/python-netaddr/ +F: package/python-pygments/ +F: package/python-pynacl/ +F: package/python-pytrie/ +F: package/python-service-identity/ +F: package/python-setproctitle/ +F: package/python-shutilwhich/ +F: package/python-treq/ +F: package/python-txaio/ +F: package/python-ujson/ +F: package/python-wsaccel/ + +N: Max Filippov +F: arch/Config.in.xtensa + +N: Maxim Kochetkov +F: package/libgeos/ +F: package/libosmium/ +F: package/osm2pgsql/ +F: package/postgis/ +F: package/protozero/ +F: package/timescaledb/ + +N: Michael Durrant +F: board/arcturus/ +F: configs/arcturus_ucp1020_defconfig +F: configs/arcturus_ucls1012a_defconfig + +N: Michael Fischer +F: package/gnuplot/ +F: package/sdl2/ + +N: Michael Nosthoff +F: package/grpc/ +F: package/gtest/ +F: package/libabseil-cpp/ +F: package/networkd-dispatcher/ +F: package/protobuf/ +F: package/re2/ + +N: Michael Rommel +F: package/knock/ +F: package/python-crc16/ +F: package/python-pyzmq/ + +N: Michael Trimarchi +F: package/python-spidev/ + +N: Michael Vetter +F: package/jasper/ +F: package/libstrophe/ + +N: Michael Walle +F: board/kontron/smarc-sal28/ +F: configs/kontron_smarc_sal28_defconfig +F: package/libavl/ +F: package/rcw-smarc-sal28/ + +N: Michał Łyszczek +F: board/altera/socrates_cyclone5/ +F: board/pine64/rock64 +F: configs/rock64_defconfig +F: configs/socrates_cyclone5_defconfig +F: package/netifrc/ +F: package/openrc/ +F: package/skeleton-init-openrc/ + +N: Michel Stempin +F: board/licheepi/ +F: configs/licheepi_zero_defconfig + +N: Mike Frampton +F: package/qcom-db410c-firmware/ + +N: Mike Harmony +F: board/sinovoip/m2-plus/ +F: configs/bananapi_m2_plus_defconfig + +N: Mikhail Boiko +F: package/libfribidi/ + +N: Min Xu +F: package/shadowsocks-libev/ + +N: Miquèl Raynal +F: package/mali-driver/ +F: package/rockchip-mali/ + +N: Mircea Gliga +F: package/mbuffer/ + +N: Murat Demirten +F: package/jpeg-turbo/ +F: package/libgeotiff/ + +N: Mylène Josserand +F: package/rtl8723bu/ + +N: Nathaniel Roach +F: package/bandwidthd/ +F: package/libgudev/ + +N: Naumann Andreas +F: package/evemu/ +F: package/libevdev/ +F: package/pkg-qmake.mk +F: package/qt5/qt5opcua/ + +N: Neal Frager +F: board/zynqmp/ +F: configs/zynqmp_zcu102_defconfig + +N: Nicola Di Lieto +F: package/uacme/ + +N: Nicholas Sielicki +F: board/intel/galileo/ +F: configs/galileo_defconfig + +N: Nicolas Carrier +F: package/bmap-tools/ +F: package/libdbi/ +F: package/libdbi-drivers/ +F: package/lua-augeas/ +F: package/modsecurity2/ +F: package/php-apcu/ +F: package/php-lua/ +F: package/php-pam/ +F: package/php-pecl-dbus/ +F: package/php-xdebug/ +F: package/python-augeas/ +F: package/python-flask-expects-json/ +F: package/python-git/ +F: package/python-unittest-xml-reporting/ +F: support/testing/tests/package/sample_bmap_tools.sh +F: support/testing/tests/package/sample_python_augeas.py +F: support/testing/tests/package/sample_python_flask_expects_json.py +F: support/testing/tests/package/sample_python_git.py +F: support/testing/tests/package/sample_python_unittest_xml_reporting.py +F: support/testing/tests/package/test_bmap_tools.py +F: support/testing/tests/package/test_lua_augeas.py +F: support/testing/tests/package/test_php_apcu.py +F: support/testing/tests/package/test_php_pecl_dbus.py +F: support/testing/tests/package/test_php_lua.py +F: support/testing/tests/package/test_php_pam.py +F: support/testing/tests/package/test_python_augeas.py +F: support/testing/tests/package/test_python_flask_expects_json.py +F: support/testing/tests/package/test_python_git.py +F: support/testing/tests/package/test_python_unittest_xml_reporting.py + +N: Nicolas Cavallari +F: package/libgit2/ + +N: Nicolas Serafini +F: package/exiv2/ +F: package/ofono/ + +N: Nikolay Dimitrov +F: board/embest/riotboard/ +F: configs/riotboard_defconfig + +N: Nimai Mahajan +F: package/libucl/ + +N: Noé Rubinstein +F: package/tpm-tools/ +F: package/trousers/ + +N: Norbert Lange +F: package/systemd/ +F: package/tcf-agent/ + +N: Nylon Chen +F: arch/Config.in.nds32 +F: board/andes +F: configs/andes_ae3xx_defconfig +F: toolchain/toolchain-external/toolchain-external-andes-nds32/ + +N: Olaf Rempel +F: package/ctorrent/ + +N: Oleksandr Zhadan +F: board/arcturus/ +F: configs/arcturus_ucp1020_defconfig +F: configs/arcturus_ucls1012a_defconfig + +N: Oli Vogt +F: package/python-django/ +F: package/python-flup/ + +N: Olivier Matz +F: package/python-pyelftools/ + +N: Olivier Schonken +F: package/cups/ +F: package/cups-filters/ +F: package/ijs/ +F: package/poppler/ +F: package/qpdf/ +F: package/openjpeg/ + +N: Olivier Singla +F: package/shellinabox/ + +N: Parnell Springmeyer +F: package/scrypt/ + +N: Pascal de Bruijn +F: package/libargon2/ +F: package/linux-tools/S10hyperv +F: package/linux-tools/hyperv*.service +F: package/linux-tools/linux-tool-hv.mk.in + +N: Pascal Huerst +F: package/google-breakpad/ + +N: Patrick Gerber +F: package/yavta/ + +N: Patrick Havelange +F: support/testing/tests/package/test_lxc.py +F: support/testing/tests/package/test_lxc/ + +N: Paul Cercueil +F: package/libiio/ +F: package/lightning/ +F: package/umtprd/ + +N: Pedro Aguilar +F: package/bdwgc/ +F: package/guile/ +F: package/libunistring/ + +N: Peter Korsgaard +F: board/arrow/avenger96/ +F: board/beagleboneai/ +F: board/minnowboard/ +F: board/nezha/ +F: board/librecomputer/lafrite/ +F: board/nexbox/a95x/ +F: board/openblocks/a6/ +F: board/orangepi/ +F: board/pandaboard/ +F: board/roseapplepi/ +F: boot/shim/ +F: boot/sun20i-d1-spl/ +F: configs/avenger96_defconfig +F: configs/beagleboneai_defconfig +F: configs/lafrite_defconfig +F: configs/minnowboard_max-graphical_defconfig +F: configs/minnowboard_max_defconfig +F: configs/nexbox_a95x_defconfig +F: configs/nezha_defconfig +F: configs/openblocks_a6_defconfig +F: configs/orangepi_pc_defconfig +F: configs/orangepi_r1_defconfig +F: configs/pandaboard_defconfig +F: configs/roseapplepi_defconfig +F: configs/sheevaplug_defconfig +F: package/bats-core/ +F: package/docker-compose/ +F: package/dump1090/ +F: package/fatcat/ +F: package/flickcurl/ +F: package/fscryptctl/ +F: package/ifmetric/ +F: package/jo/ +F: package/jose/ +F: package/libfastjson/ +F: package/luksmeta/ +F: package/lzop/ +F: package/memtool/ +F: package/mosquitto/ +F: package/python-alsaaudio/ +F: package/python-cached-property/ +F: package/python-docker/ +F: package/python-dockerpty/ +F: package/python-docker-pycreds/ +F: package/python-psutil/ +F: package/python-request-id/ +F: package/python-semver/ +F: package/python-texttable/ +F: package/python-validators/ +F: package/python-webob/ +F: package/python-websocket-client/ +F: package/sedutil/ +F: package/tpm2-totp/ +F: package/triggerhappy/ +F: package/wireguard-linux-compat/ +F: package/wireguard-tools/ +F: support/testing/tests/package/test_docker_compose.py + +N: Peter Seiderer +F: board/raspberrypi/ +F: configs/raspberrypi*_defconfig +F: package/assimp/ +F: package/bcm2835/ +F: package/ddrescue/ +F: package/dejavu/ +F: package/dillo/ +F: package/edid-decode/ +F: package/ell/ +F: package/ghostscript-fonts/ +F: package/gstreamer1/gst1-devtools/ +F: package/gstreamer1/gst1-interpipe/ +F: package/gstreamer1/gstreamer1-editing-services/ +F: package/iwd/ +F: package/libcamera-apps/ +F: package/libevdev/ +F: package/libuev/ +F: package/log4cplus/ +F: package/postgresql/ +F: package/python-colorzero/ +F: package/python-flask-wtf/ +F: package/python-gpiozero/ +F: package/qt5/ +F: package/quotatool/ +F: package/racehound/ +F: package/redir/ +F: package/rtl8812au-aircrack-ng/ +F: package/uredir/ +F: package/uqmi/ +F: package/wayland-utils/ + +N: Peter Thompson +F: package/sdl2_gfx/ +F: package/sdl2_image/ +F: package/sdl2_ttf/ + +N: Petr Kulhavy +F: package/linuxptp/ + +N: Petr Vorel +F: package/ima-evm-utils/ +F: package/iproute2/ +F: package/iputils/ +F: package/libqrtr-glib/ +F: package/libtirpc/ +F: package/linux-backports/ +F: package/ltp-testsuite/ +F: package/nfs-utils/ +F: package/rpcbind/ +F: support/kconfig/ + +N: Phil Eichinger +F: package/libqrencode/ +F: package/psplash/ +F: package/sispmctl/ +F: package/zsh/ + +N: Philipp Richter +F: package/libtorrent-rasterbar/ + +N: Philippe Proulx +F: package/babeltrace2/ +F: package/lttng-babeltrace/ +F: package/lttng-libust/ +F: package/lttng-modules/ +F: package/lttng-tools/ +F: package/python-ipython/ +F: package/liburcu/ + +N: Philippe Reynes +F: package/ibm-sw-tpm2/ + +N: Pierre Crokaert +F: board/hardkernel/odroidxu4/ +F: configs/odroidxu4_defconfig + +N: Pierre Ducroquet +F: package/kf5/ + +N: Pierre Floury +F: package/trace-cmd/ + +N: Pierre-Jean Texier +F: package/fping/ +F: package/genimage/ +F: package/haveged/ +F: package/ipset/ +F: package/libarchive/ +F: package/libevent/ +F: package/libubootenv/ +F: package/libxml2/ +F: package/mongoose/ +F: package/mxml/ +F: package/numactl/ +F: package/python-modbus-tk/ +F: package/python-periphery/ +F: package/raspi-gpio/ +F: package/sbc/ +F: package/stunnel/ +F: package/tree/ + +N: Pieter De Gendt +F: package/libvips/ + +N: Pieterjan Camerlynck +F: package/libdvbpsi/ +F: package/mraa/ +F: package/synergy/ + +N: Rafal Susz +F: board/avnet/s6lx9_microboard/ +F: configs/s6lx9_microboard_defconfig + +N: Rafał Miłecki +F: package/firmware-utils/ + +N: Rahul Bedarkar +F: package/cxxtest/ +F: package/gflags/ +F: package/glog/ +F: package/gssdp/ +F: package/gupnp/ +F: package/gupnp-av/ +F: package/let-me-create/ +F: package/nanomsg/ + +N: Ramon Fried +F: package/bitwise/ + +N: Raphaël Mélotte +F: package/gumbo-parser/ +F: package/jbig2dec/ +F: package/mupdf/ +F: package/python-boto3/ +F: package/python-botocore/ +F: package/python-jmespath/ +F: package/python-pymupdf/ +F: package/python-rsa/ +F: package/python-s3transfer/ +F: support/testing/tests/package/sample_python_rsa.py +F: support/testing/tests/package/test_python_rsa.py + +N: Refik Tuzakli +F: package/freescale-imx/ +F: package/paho-mqtt-cpp/ + +N: Rémi Rérolle +F: package/libfreeimage/ + +N: Renaud Aubin +F: package/libhttpparser/ + +N: Ricardo Martincoski +F: package/atop/ +F: package/thermald/ + +N: Ricardo Martincoski +F: support/testing/infra/ +F: support/testing/run-tests +F: support/testing/tests/core/test_file_capabilities.py +F: support/testing/tests/download/ +F: support/testing/tests/package/*_python*.py +F: support/testing/tests/package/test_atop.py +F: support/testing/tests/package/test_syslog_ng.py +F: support/testing/tests/package/test_tmux.py +F: support/testing/tests/utils/test_check_package.py +F: utils/check-package +F: utils/checkpackagelib/ + +N: Richard Braun +F: package/curlftpfs/ +F: package/tzdata/ + +N: RJ Ascani +F: package/azmq/ + +N: Robert Rose +F: package/grpc/ + +N: Rodrigo Rebello +F: package/chocolate-doom/ +F: package/irssi/ +F: package/vnstat/ + +N: Romain Naour +F: board/qemu/ +F: configs/qemu_* +F: package/alure/ +F: package/aubio/ +F: package/binutils/ +F: package/bullet/ +F: package/clang/ +F: package/clinfo/ +F: package/efl/ +F: package/enet/ +F: package/enlightenment/ +F: package/flare-engine/ +F: package/flare-game/ +F: package/gcc/ +F: package/glibc/ +F: package/irrlicht/ +F: package/liblinear/ +F: package/lensfun/ +F: package/libbpf/ +F: package/libclc/ +F: package/libgta/ +F: package/libiec61850/ +F: package/libspatialindex/ +F: package/linux-syscall-support/ +F: package/llvm/ +F: package/lugaru/ +F: package/mcelog/ +F: package/mesa3d/ +F: package/minetest/ +F: package/minetest-game/ +F: package/ogre/ +F: package/openpowerlink/ +F: package/physfs/ +F: package/piglit/ +F: package/qemu/ +F: package/solarus/ +F: package/stress-ng/ +F: package/supertux/ +F: package/supertuxkart/ +F: package/terminology/ +F: package/tk/ +F: package/upower/ +F: package/waffle/ +F: package/xenomai/ +F: package/zziplib/ +F: support/testing/tests/package/test_glxinfo.py +F: support/testing/tests/package/test_openssh.py +F: toolchain/ + +N: Ryan Wilkins +F: package/biosdevname/ + +N: Sam Lancia +F: package/lrzip/ + +N: Samuel Martin +F: package/armadillo/ +F: package/cwiid/ +F: package/flite/ +F: package/nginx/ +F: package/opencv3/ +F: package/openobex/ +F: package/pkg-cmake.mk +F: package/python-numpy/ +F: package/scrub/ +F: package/urg/ +F: package/ussp-push/ +F: support/misc/toolchainfile.cmake.in + +N: Sam Voss +F: package/ripgrep/ + +N: Sébastien Szymanski +F: package/mmc-utils/ +F: package/python-flask-jsonrpc/ +F: package/python-flask-login/ +F: package/qt5/qt5charts/ + +N: Semyon Kolganov +F: package/fmt/ +F: package/libbson/ +F: package/lua-resty-http/ +F: package/mpir/ + +N: Sergey Bobrenok +F: package/sdbus-cpp/ + +N: Sergey Matyukevich +F: boot/arm-trusted-firmware/ +F: board/linksprite/pcduino +F: board/orangepi/orangepi-zero +F: board/orangepi/orangepi-one +F: board/orangepi/orangepi-pc-plus/ +F: configs/linksprite_pcduino_defconfig +F: configs/orangepi_one_defconfig +F: configs/orangepi_pc_plus_defconfig +F: configs/orangepi_zero_defconfig +F: package/armbian-firmware/ +F: package/hostapd/ +F: package/rtl8189fs/ +F: package/wpa_supplicant/ +F: package/xr819-xradio/ + +N: Sergio Prado +F: board/toradex/apalis-imx6/ +F: configs/toradex_apalis_imx6_defconfig +F: package/aoetools/ +F: package/asn1c/ +F: package/azure-iot-sdk-c/ +F: package/curlpp/ +F: package/daq/ +F: package/libgdiplus/ +F: package/pimd/ +F: package/sloci-image/ +F: package/snort/ +F: package/stella/ +F: package/tio/ +F: package/traceroute/ +F: package/tunctl/ +F: package/ubus/ +F: package/wolfssl/ + +N: Shyam Saini +F: package/cukinia/ + +N: Simon Dawson +F: boot/at91bootstrap3/ +F: package/cppzmq/ +F: package/czmq/ +F: package/filemq/ +F: package/googlefontdirectory/ +F: package/jansson/ +F: package/jquery-ui/ +F: package/jquery-ui-themes/ +F: package/json-javascript/ +F: package/lcdapi/ +F: package/libfreefare/ +F: package/libjson/ +F: package/libnfc/ +F: package/libnfc/ +F: package/libserial/ +F: package/libsigsegv/ +F: package/macchanger/ +F: package/minicom/ +F: package/minidlna/ +F: package/msgpack/ +F: package/nanocom/ +F: package/neard/ +F: package/neardal/ +F: package/owl-linux/ +F: package/rapidjson/ +F: package/sconeserver/ +F: package/sound-theme-borealis/ +F: package/sound-theme-freedesktop/ +F: package/vlc/ +F: package/xscreensaver/ +F: package/zmqpp/ +F: package/zyre/ + +N: Simon Doppler +F: board/seeed/ +F: configs/stm32mp157c_odyssey_defconfig + +N: Spenser Gilliland +F: arch/Config.in.microblaze +F: package/a10disp/ +F: package/glmark2/ +F: package/libvpx/ +F: package/mesa3d-demos/ +F: package/ti-gfx/ + +N: Stefan Ott +F: package/unbound/ + +N: Stefan Sørensen +F: package/cracklib/ +F: package/libpwquality/ +F: package/libscrypt/ + +N: Stephan Hoffmann +F: package/cache-calibrator/ +F: package/gtest/ +F: package/libhttpserver/ +F: package/mtdev/ + +N: Stephane Viau +F: board/freescale/imx8mnevk/ +F: board/freescale/imx8mpevk/ +F: configs/freescale_imx8mnevk_defconfig +F: configs/freescale_imx8mpevk_defconfig + +N: Steve Calfee +F: package/python-pymysql/ +F: package/python-pyratemp/ + +N: Steve James +F: package/leveldb/ +F: package/libcli/ + +N: Steve Kenton +F: package/dvdauthor/ +F: package/dvdrw-tools/ +F: package/memtest86/ +F: package/mjpegtools/ +F: package/tovid/ +F: package/udftools/ +F: package/xorriso/ + +N: Steven Noonan +F: package/hwloc/ +F: package/powertop/ + +N: Suniel Mahesh +F: board/firefly/ +F: board/friendlyarm/nanopc-t4 +F: board/friendlyarm/nanopi-m4 +F: board/orangepi/orangepi-rk3399 +F: board/pine64/rockpro64 +F: board/radxa/rockpi-4 +F: board/radxa/rockpi-n8 +F: board/radxa/rockpi-n10 +F: configs/friendlyarm_nanopc_t4_defconfig +F: configs/friendlyarm_nanopi_m4_defconfig +F: configs/orangepi_rk3399_defconfig +F: configs/roc_pc_rk3399_defconfig +F: configs/rock_pi_4_defconfig +F: configs/rock_pi_n8_defconfig +F: configs/rock_pi_n10_defconfig +F: configs/rockpro64_defconfig +F: package/arm-gnu-a-toolchain/ + +N: Sven Haardiek +F: package/lcdproc/ +F: package/python-influxdb/ + +N: Sven Oliver Moll +F: package/most/ + +N: Theo Debrouwere +F: board/beagleboardx15/ +F: configs/beagleboardx15_defconfig +F: package/pugixml/ + +N: Thierry Bultel +F: package/mpd-mpc/ + +N: Thijs Vermeir +F: package/ranger/ +F: package/x265/ + +N: Thomas Claveirole +F: package/fcgiwrap/ +F: package/openlayers/ +F: package/vuejs-router/ + +N: Thomas De Schampheleire +F: docs/manual/ +F: package/cereal/ +F: package/chartjs/ +F: package/datatables/ +F: package/datatables-buttons/ +F: package/datatables-fixedcolumns/ +F: package/datatables-responsive/ +F: package/jszip/ +F: package/libtelnet/ +F: package/opkg-utils/ +F: package/perl-convert-asn1/ +F: package/perl-crypt-blowfish/ +F: package/perl-crypt-cbc/ +F: package/perl-crypt-openssl-aes/ +F: package/perl-devel-cycle/ +F: package/perl-devel-size/ +F: package/perl-i18n/ +F: package/perl-locale-maketext-lexicon/ +F: package/perl-lwp-protocol-https/ +F: package/perl-math-int64/ +F: package/perl-math-prime-util/ +F: package/perl-mime-base64-urlsafe/ +F: package/perl-mojolicious-plugin-authentication/ +F: package/perl-mojolicious-plugin-authorization/ +F: package/perl-mojolicious-plugin-cspheader/ +F: package/perl-mojolicious-plugin-i18n/ +F: package/perl-mojolicious-plugin-securityheader/ +F: package/perl-mozilla-ca/ +F: package/perl-net-snmp/ +F: package/perl-net-ssh2/ +F: package/perl-net-telnet/ +F: package/perl-path-class/ +F: package/pigz/ +F: package/popperjs/ +F: package/xenomai/ +F: support/scripts/size-stats +F: support/testing/tests/package/test_perl_lwp_protocol_https.py +F: utils/size-stats-compare +F: toolchain/ + +N: Thomas Huth +F: board/qemu/m68k-mcf5208/ +F: configs/qemu_m68k_mcf5208_defconfig +F: package/ascii-invaders/ +F: package/frotz/ +F: package/kvm-unit-tests/ +F: package/xorcurses/ + +N: Thomas Petazzoni +F: arch/Config.in.arm +F: board/beaglev/ +F: board/stmicroelectronics/stm32mp157c-dk2/ +F: boot/beaglev-ddrinit/ +F: boot/beaglev-secondboot/ +F: boot/boot-wrapper-aarch64/ +F: boot/grub2/ +F: boot/gummiboot/ +F: configs/beaglev_defconfig +F: configs/stm32mp157c_dk2_defconfig +F: package/android-tools/ +F: package/b43-firmware/ +F: package/b43-fwcutter/ +F: package/bmap-tools/ +F: package/c-periphery/ +F: package/cdrkit/ +F: package/cifs-utils/ +F: package/cloop/ +F: package/cmake/ +F: package/cramfs/ +F: package/dmidecode/ +F: package/flashrom/ +F: package/gcc/ +F: package/genext2fs/ +F: package/genromfs/ +F: package/getent/ +F: package/gnu-efi/ +F: package/heirloom-mailx/ +F: package/hiawatha/ +F: package/igh-ethercat/ +F: package/intltool/ +F: package/jh71xx-tools/ +F: package/libcap/ +F: package/libffi/ +F: package/libsha1/ +F: package/libtirpc/ +F: package/libxkbcommon/ +F: package/libxml-parser-perl/ +F: package/localedef/ +F: package/log4cxx/ +F: package/monit/ +F: package/mpdecimal/ +F: package/msmtp/ +F: package/musl/ +F: package/musl-fts/ +F: package/ne10/ +F: package/pkg-python.mk +F: package/pkg-autotools.mk +F: package/pkg-generic.mk +F: package/python3/ +F: package/python-augeas/ +F: package/python-flask-expects-json/ +F: package/python-git/ +F: package/python-serial/ +F: package/python-unittest-xml-reporting/ +F: package/qextserialport/ +F: package/riscv64-elf-toolchain/ +F: package/rpcbind/ +F: package/rt-tests/ +F: package/rtc-tools/ +F: package/sam-ba/ +F: package/scons/ +F: package/squashfs/ +F: package/tinifier/ +F: package/wayland/ +F: package/weston/ +F: support/testing/tests/boot/test_syslinux.py +F: support/testing/tests/package/sample_python_augeas.py +F: support/testing/tests/package/sample_python_flask.py +F: support/testing/tests/package/sample_python_flask_expects_json.py +F: support/testing/tests/package/sample_python_git.py +F: support/testing/tests/package/sample_python_unittest_xml_reporting.py +F: support/testing/tests/package/test_python_augeas.py +F: support/testing/tests/package/test_python_flask.py +F: support/testing/tests/package/test_python_flask_expects_json.py +F: support/testing/tests/package/test_python_git.py +F: support/testing/tests/package/test_python_unittest_xml_reporting.py +F: toolchain/ + +N: Timo Ketola +F: package/fbgrab/ + +N: Titouan Christophe +F: package/avro-c/ +F: package/mosquitto/ +F: package/python-avro/ +F: package/redis/ +F: package/waf/ +F: support/testing/tests/package/test_crudini.py +F: support/testing/tests/package/test_redis.py + +N: Tudor Holton +F: package/openjdk/ + +N: Tzu-Jung Lee +F: package/dropwatch/ +F: package/tstools/ + +N: Uladzimir Bely +F: package/python-mpd2/ + +N: Vadim Kochan +F: package/brcm-patchram-plus/ +F: package/frr/ +F: package/gettext-tiny/ +F: package/tinyssh/ + +N: Valentin Korenblit +F: package/clang/ +F: package/clinfo/ +F: package/libclc/ +F: package/llvm/ + +N: Vanya Sergeev +F: package/lua-periphery/ + +N: Victor Huesca +F: support/testing/tests/core/test_root_password.py + +N: Vincent Prince +F: package/nss-myhostname/ +F: package/utp_com/ + +N: Vincent Stehlé +F: board/bananapi/bananapi-m2-zero/ +F: configs/bananapi_m2_zero_defconfig +F: configs/uevm5432_defconfig +F: package/i7z/ +F: package/msr-tools/ +F: package/pixz/ + +N: Vinicius Tinti +F: package/python-thrift/ + +N: Vivien Didelot +F: board/technologic/ts5500/ +F: configs/ts5500_defconfig + +N: Volkov Viacheslav +F: package/v4l2grab/ +F: package/zbar/ + +N: Wade Berrier +F: package/ngrep/ + +N: Waldemar Brodkorb +F: package/mksh/ +F: package/ruby/ +F: package/uclibc/ +F: package/uclibc-ng-test/ + +N: Will Newton +F: package/enchant/ +F: package/erlang/ +F: package/libmicrohttpd/ +F: package/sysprof/ +F: package/time/ + +N: Will Wagner +F: package/yaffs2utils/ + +N: Wojciech M. Zabolotny +F: package/avrdude/ +F: package/jack2/ +F: package/python-msgpack/ +F: package/python-pyusb/ + +N: Wojciech Niziński +F: package/fwup/ + +N: Yair Ben Avraham +F: package/casync/ +F: package/gloox/ +F: package/tpm2-pkcs11/ + +N: Yann E. MORIN +F: board/friendlyarm/nanopi-neo/ +F: configs/friendlyarm_nanopi_neo_defconfig +F: fs/squashfs/ +F: package/asterisk/ +F: package/cegui/ +F: package/dahdi-linux/ +F: package/dahdi-tools/ +F: package/dtc/ +F: package/dtv-scan-tables/ +F: package/dvb-apps/ +F: package/freerdp/ +F: package/keyutils/ +F: package/libbsd/ +F: package/libedit/ +F: package/libgsm/ +F: package/libiberty/ +F: package/libinput/ +F: package/libiscsi/ +F: package/libpri/ +F: package/libseccomp/ +F: package/libss7/ +F: package/linux-firmware/ +F: package/linux-tools/ +F: package/matchbox* +F: package/mesa3d-headers/ +F: package/nbd/ +F: package/nut/ +F: package/nvidia-driver/ +F: package/omxplayer/ +F: package/python-pyparsing/ +F: package/pkg-download.mk +F: package/pkg-waf.mk +F: package/slirp/ +F: package/snappy/ +F: package/spice/ +F: package/spice-protocol/ +F: package/systemd/ +F: package/systemd-bootchart/ +F: package/tmux/ +F: package/tvheadend/ +F: package/usbredir/ +F: package/vde2/ +F: package/w_scan/ +F: package/wayland/ +F: package/weston/ +F: package/zisofs-tools/ +F: support/download/ + +N: Yegor Yefremov +F: configs/beaglebone_defconfig +F: configs/beaglebone_qt5_defconfig +F: package/acl/ +F: package/attr/ +F: package/avrdude/ +F: package/boost/ +F: package/bootstrap/ +F: package/cannelloni/ +F: package/can-utils/ +F: package/circus/ +F: package/dhcpcd/ +F: package/feh/ +F: package/giblib/ +F: package/hostapd/ +F: package/imlib2/ +F: package/jquery-datetimepicker/ +F: package/jquery-sidebar/ +F: package/kmod/ +F: package/libftdi1/ +F: package/libical/ +F: package/libmbim/ +F: package/libndp/ +F: package/libnftnl/ +F: package/libqmi/ +F: package/libqrtr-glib/ +F: package/libsoc/ +F: package/libsocketcan/ +F: package/libubox/ +F: package/libuci/ +F: package/linux-firmware/ +F: package/linux-serial-test/ +F: package/modem-manager/ +F: package/nftables/ +F: package/nuttcp/ +F: package/parted/ +F: package/phytool/ +F: package/poco/ +F: package/python* +F: package/ser2net/ +F: package/socketcand/ +F: package/swig/ +F: package/qt5/qt5serialbus/ +F: package/sdparm/ +F: package/ti-utils/ +F: package/wpa_supplicant/ +F: package/x11r7/xapp_xconsole/ +F: package/x11r7/xapp_xinput-calibrator/ +F: package/zlog/ +F: support/testing/tests/package/test_libftdi1.py +F: support/testing/tests/package/test_python_can.py +F: utils/scanpypi + +N: Yunhao Tian +F: package/libopenaptx/ + +N: Zoltan Gyarmati +F: package/crudini/ +F: package/grantlee/ +F: package/libusb/ +F: package/libusb-compat/ +F: package/proj/ +F: package/python-iniparse/ +F: package/qjson/ +F: package/quazip/ +F: package/shapelib/ +F: package/simple-mail/ +F: package/tinc/ diff --git a/buildroot-2022.02.1/Makefile b/buildroot-2022.02.1/Makefile new file mode 100644 index 00000000..ee7aedf7 --- /dev/null +++ b/buildroot-2022.02.1/Makefile @@ -0,0 +1,1258 @@ +# Makefile for buildroot +# +# Copyright (C) 1999-2005 by Erik Andersen +# Copyright (C) 2006-2014 by the Buildroot developers +# Copyright (C) 2014-2020 by the Buildroot developers +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +#-------------------------------------------------------------- +# Just run 'make menuconfig', configure stuff, then run 'make'. +# You shouldn't need to mess with anything beyond this point... +#-------------------------------------------------------------- + +# Delete default rules. We don't use them. This saves a bit of time. +.SUFFIXES: + +# we want bash as shell +SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ + else if [ -x /bin/bash ]; then echo /bin/bash; \ + else echo sh; fi; fi) + +# Set O variable if not already done on the command line; +# or avoid confusing packages that can use the O= syntax for out-of-tree +# build by preventing it from being forwarded to sub-make calls. +ifneq ("$(origin O)", "command line") +O := $(CURDIR)/output +endif + +# Check if the current Buildroot execution meets all the pre-requisites. +# If they are not met, Buildroot will actually do its job in a sub-make meeting +# its pre-requisites, which are: +# 1- Permissive enough umask: +# Wrong or too restrictive umask will prevent Buildroot and packages from +# creating files and directories. +# 2- Absolute canonical CWD (i.e. $(CURDIR)): +# Otherwise, some packages will use CWD as-is, others will compute its +# absolute canonical path. This makes harder tracking and fixing host +# machine path leaks. +# 3- Absolute canonical output location (i.e. $(O)): +# For the same reason as the one for CWD. + +# Remove the trailing '/.' from $(O) as it can be added by the makefile wrapper +# installed in the $(O) directory. +# Also remove the trailing '/' the user can set when on the command line. +override O := $(patsubst %/,%,$(patsubst %.,%,$(O))) +# Make sure $(O) actually exists before calling realpath on it; this is to +# avoid empty CANONICAL_O in case on non-existing entry. +CANONICAL_O := $(shell mkdir -p $(O) >/dev/null 2>&1)$(realpath $(O)) + +# gcc fails to build when the srcdir contains a '@' +ifneq ($(findstring @,$(CANONICAL_O)),) +$(error The build directory can not contain a '@') +endif + +CANONICAL_CURDIR = $(realpath $(CURDIR)) + +REQ_UMASK = 0022 + +# Make sure O= is passed (with its absolute canonical path) everywhere the +# toplevel makefile is called back. +EXTRAMAKEARGS := O=$(CANONICAL_O) + +# Check Buildroot execution pre-requisites here. +ifneq ($(shell umask):$(CURDIR):$(O),$(REQ_UMASK):$(CANONICAL_CURDIR):$(CANONICAL_O)) +.PHONY: _all $(MAKECMDGOALS) + +$(MAKECMDGOALS): _all + @: + +_all: + @umask $(REQ_UMASK) && \ + $(MAKE) -C $(CANONICAL_CURDIR) --no-print-directory \ + $(MAKECMDGOALS) $(EXTRAMAKEARGS) + +else # umask / $(CURDIR) / $(O) + +# This is our default rule, so must come first +all: +.PHONY: all + +# Set and export the version string +export BR2_VERSION := 2022.02.1 +# Actual time the release is cut (for reproducible builds) +BR2_VERSION_EPOCH = 1649713000 + +# Save running make version since it's clobbered by the make package +RUNNING_MAKE_VERSION := $(MAKE_VERSION) + +# Check for minimal make version (note: this check will break at make 10.x) +MIN_MAKE_VERSION = 3.81 +ifneq ($(firstword $(sort $(RUNNING_MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION)) +$(error You have make '$(RUNNING_MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required) +endif + +# absolute path +TOPDIR := $(CURDIR) +CONFIG_CONFIG_IN = Config.in +CONFIG = support/kconfig +DATE := $(shell date +%Y%m%d) + +# Compute the full local version string so packages can use it as-is +# Need to export it, so it can be got from environment in children (eg. mconf) + +BR2_LOCALVERSION := $(shell $(TOPDIR)/support/scripts/setlocalversion) +ifeq ($(BR2_LOCALVERSION),) +export BR2_VERSION_FULL := $(BR2_VERSION) +else +export BR2_VERSION_FULL := $(BR2_LOCALVERSION) +endif + +# List of targets and target patterns for which .config doesn't need to be read in +noconfig_targets := menuconfig nconfig gconfig xconfig config oldconfig randconfig \ + defconfig %_defconfig allyesconfig allnoconfig alldefconfig syncconfig release \ + randpackageconfig allyespackageconfig allnopackageconfig \ + print-version olddefconfig distclean manual manual-% check-package check-flake8 + +# Some global targets do not trigger a build, but are used to collect +# metadata, or do various checks. When such targets are triggered, +# some packages should not do their configuration sanity +# checks. Provide them a BR_BUILDING variable set to 'y' when we're +# actually building and they should do their sanity checks. +# +# We're building in two situations: when MAKECMDGOALS is empty +# (default target is to build), or when MAKECMDGOALS contains +# something else than one of the nobuild_targets. +nobuild_targets := source %-source \ + legal-info %-legal-info external-deps _external-deps \ + clean distclean help show-targets graph-depends \ + %-graph-depends %-show-depends %-show-version \ + graph-build graph-size list-defconfigs \ + savedefconfig update-defconfig printvars show-vars +ifeq ($(MAKECMDGOALS),) +BR_BUILDING = y +else ifneq ($(filter-out $(nobuild_targets),$(MAKECMDGOALS)),) +BR_BUILDING = y +endif + +# We call make recursively to build packages. The command-line overrides that +# are passed to Buildroot don't apply to those package build systems. In +# particular, we don't want to pass down the O= option for out-of-tree +# builds, because the value specified on the command line will not be correct +# for packages. +MAKEOVERRIDES := + +# Include some helper macros and variables +include support/misc/utils.mk + +# Set variables related to in-tree or out-of-tree build. +# Here, both $(O) and $(CURDIR) are absolute canonical paths. +ifeq ($(O),$(CURDIR)/output) +CONFIG_DIR := $(CURDIR) +NEED_WRAPPER = +else +CONFIG_DIR := $(O) +NEED_WRAPPER = y +endif + +# bash prints the name of the directory on 'cd ' if CDPATH is +# set, so unset it here to not cause problems. Notice that the export +# line doesn't affect the environment of $(shell ..) calls. +export CDPATH := + +BASE_DIR := $(CANONICAL_O) +$(if $(BASE_DIR),, $(error output directory "$(O)" does not exist)) + + +# Handling of BR2_EXTERNAL. +# +# The value of BR2_EXTERNAL is stored in .br-external in the output directory. +# The location of the external.mk makefile fragments is computed in that file. +# On subsequent invocations of make, this file is read in. BR2_EXTERNAL can +# still be overridden on the command line, therefore the file is re-created +# every time make is run. + +BR2_EXTERNAL_FILE = $(BASE_DIR)/.br2-external.mk +-include $(BR2_EXTERNAL_FILE) +$(shell support/scripts/br2-external -d '$(BASE_DIR)' $(BR2_EXTERNAL)) +BR2_EXTERNAL_ERROR = +include $(BR2_EXTERNAL_FILE) +ifneq ($(BR2_EXTERNAL_ERROR),) +$(error $(BR2_EXTERNAL_ERROR)) +endif + +# Workaround bug in make-4.3: https://savannah.gnu.org/bugs/?57676 +$(BASE_DIR)/.br2-external.mk:; + +# To make sure that the environment variable overrides the .config option, +# set this before including .config. +ifneq ($(BR2_DL_DIR),) +DL_DIR := $(BR2_DL_DIR) +endif +ifneq ($(BR2_CCACHE_DIR),) +BR_CACHE_DIR := $(BR2_CCACHE_DIR) +endif + +# Need that early, before we scan packages +# Avoids doing the $(or...) everytime +BR_GRAPH_OUT := $(or $(BR2_GRAPH_OUT),pdf) + +BUILD_DIR := $(BASE_DIR)/build +BINARIES_DIR := $(BASE_DIR)/images +BASE_TARGET_DIR := $(BASE_DIR)/target +PER_PACKAGE_DIR := $(BASE_DIR)/per-package +# initial definition so that 'make clean' works for most users, even without +# .config. HOST_DIR will be overwritten later when .config is included. +HOST_DIR := $(BASE_DIR)/host +GRAPHS_DIR := $(BASE_DIR)/graphs + +LEGAL_INFO_DIR = $(BASE_DIR)/legal-info +REDIST_SOURCES_DIR_TARGET = $(LEGAL_INFO_DIR)/sources +REDIST_SOURCES_DIR_HOST = $(LEGAL_INFO_DIR)/host-sources +LICENSE_FILES_DIR_TARGET = $(LEGAL_INFO_DIR)/licenses +LICENSE_FILES_DIR_HOST = $(LEGAL_INFO_DIR)/host-licenses +LEGAL_MANIFEST_CSV_TARGET = $(LEGAL_INFO_DIR)/manifest.csv +LEGAL_MANIFEST_CSV_HOST = $(LEGAL_INFO_DIR)/host-manifest.csv +LEGAL_WARNINGS = $(LEGAL_INFO_DIR)/.warnings +LEGAL_REPORT = $(LEGAL_INFO_DIR)/README + +CPE_UPDATES_DIR = $(BASE_DIR)/cpe-updates + +BR2_CONFIG = $(CONFIG_DIR)/.config + +# Pull in the user's configuration file +ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) +-include $(BR2_CONFIG) +endif + +ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),) +# Disable top-level parallel build if per-package directories is not +# used. Indeed, per-package directories is necessary to guarantee +# determinism and reproducibility with top-level parallel build. +.NOTPARALLEL: +endif + +# timezone and locale may affect build output +ifeq ($(BR2_REPRODUCIBLE),y) +export TZ = UTC +export LANG = C +export LC_ALL = C +endif + +# To put more focus on warnings, be less verbose as default +# Use 'make V=1' to see the full commands +ifeq ("$(origin V)", "command line") + KBUILD_VERBOSE = $(V) +endif +ifndef KBUILD_VERBOSE + KBUILD_VERBOSE = 0 +endif + +ifeq ($(KBUILD_VERBOSE),1) + Q = +ifndef VERBOSE + VERBOSE = 1 +endif +export VERBOSE +else + Q = @ +endif + +# kconfig uses CONFIG_SHELL +CONFIG_SHELL := $(SHELL) + +export SHELL CONFIG_SHELL Q KBUILD_VERBOSE + +ifndef HOSTAR +HOSTAR := ar +endif +ifndef HOSTAS +HOSTAS := as +endif +ifndef HOSTCC +HOSTCC := gcc +HOSTCC := $(shell which $(HOSTCC) || type -p $(HOSTCC) || echo gcc) +endif +ifndef HOSTCC_NOCCACHE +HOSTCC_NOCCACHE := $(HOSTCC) +endif +ifndef HOSTCXX +HOSTCXX := g++ +HOSTCXX := $(shell which $(HOSTCXX) || type -p $(HOSTCXX) || echo g++) +endif +ifndef HOSTCXX_NOCCACHE +HOSTCXX_NOCCACHE := $(HOSTCXX) +endif +ifndef HOSTCPP +HOSTCPP := cpp +endif +ifndef HOSTLD +HOSTLD := ld +endif +ifndef HOSTLN +HOSTLN := ln +endif +ifndef HOSTNM +HOSTNM := nm +endif +ifndef HOSTOBJCOPY +HOSTOBJCOPY := objcopy +endif +ifndef HOSTRANLIB +HOSTRANLIB := ranlib +endif +HOSTAR := $(shell which $(HOSTAR) || type -p $(HOSTAR) || echo ar) +HOSTAS := $(shell which $(HOSTAS) || type -p $(HOSTAS) || echo as) +HOSTCPP := $(shell which $(HOSTCPP) || type -p $(HOSTCPP) || echo cpp) +HOSTLD := $(shell which $(HOSTLD) || type -p $(HOSTLD) || echo ld) +HOSTLN := $(shell which $(HOSTLN) || type -p $(HOSTLN) || echo ln) +HOSTNM := $(shell which $(HOSTNM) || type -p $(HOSTNM) || echo nm) +HOSTOBJCOPY := $(shell which $(HOSTOBJCOPY) || type -p $(HOSTOBJCOPY) || echo objcopy) +HOSTRANLIB := $(shell which $(HOSTRANLIB) || type -p $(HOSTRANLIB) || echo ranlib) +SED := $(shell which sed || type -p sed) -i -e + +export HOSTAR HOSTAS HOSTCC HOSTCXX HOSTLD +export HOSTCC_NOCCACHE HOSTCXX_NOCCACHE + +# Determine the userland we are running on. +# +# Note that, despite its name, we are not interested in the actual +# architecture name. This is mostly used to determine whether some +# of the binary tools (e.g. pre-built external toolchains) can run +# on the current host. So we need to know if the userland we're +# running on can actually run those toolchains. +# +# For example, a 64-bit prebuilt toolchain will not run on a 64-bit +# kernel if the userland is 32-bit (e.g. in a chroot for example). +# +# So, we extract the first part of the tuple the host gcc was +# configured to generate code for; we assume this is our userland. +# +export HOSTARCH := $(shell LC_ALL=C $(HOSTCC_NOCCACHE) -v 2>&1 | \ + sed -e '/^Target: \([^-]*\).*/!d' \ + -e 's//\1/' \ + -e 's/i.86/x86/' \ + -e 's/sun4u/sparc64/' \ + -e 's/arm.*/arm/' \ + -e 's/sa110/arm/' \ + -e 's/ppc64/powerpc64/' \ + -e 's/ppc/powerpc/' \ + -e 's/macppc/powerpc/' \ + -e 's/sh.*/sh/' ) + +# When adding a new host gcc version in Config.in, +# update the HOSTCC_MAX_VERSION variable: +HOSTCC_MAX_VERSION := 9 + +HOSTCC_VERSION := $(shell V=$$($(HOSTCC_NOCCACHE) --version | \ + sed -n -r 's/^.* ([0-9]*)\.([0-9]*)\.([0-9]*)[ ]*.*/\1 \2/p'); \ + [ "$${V%% *}" -le $(HOSTCC_MAX_VERSION) ] || V=$(HOSTCC_MAX_VERSION); \ + printf "%s" "$${V}") + +# For gcc >= 5.x, we only need the major version. +ifneq ($(firstword $(HOSTCC_VERSION)),4) +HOSTCC_VERSION := $(firstword $(HOSTCC_VERSION)) +endif + +ifeq ($(BR2_NEEDS_HOST_UTF8_LOCALE),y) +# First, we try to use the user's configured locale (as that's the +# language they'd expect messages to be displayed), then we favour +# a non language-specific locale like C.UTF-8 if one is available, +# so we sort with the C locale to get it at the top. +# This is guaranteed to not be empty, because of the check in +# support/dependencies/dependencies.sh +HOST_UTF8_LOCALE := $(shell \ + ( echo $${LC_ALL:-$${LC_MESSAGES:-$${LANG}}}; \ + locale -a 2>/dev/null | LC_ALL=C sort \ + ) \ + | grep -i -E 'utf-?8$$' \ + | head -n 1) +HOST_UTF8_LOCALE_ENV := LC_ALL=$(HOST_UTF8_LOCALE) +endif + +# Make sure pkg-config doesn't look outside the buildroot tree +HOST_PKG_CONFIG_PATH := $(PKG_CONFIG_PATH) +unexport PKG_CONFIG_PATH +unexport PKG_CONFIG_SYSROOT_DIR +unexport PKG_CONFIG_LIBDIR + +# Having DESTDIR set in the environment confuses the installation +# steps of some packages. +unexport DESTDIR + +# Causes breakage with packages that needs host-ruby +unexport RUBYOPT + +include package/pkg-utils.mk +include package/doc-asciidoc.mk + +ifeq ($(BR2_HAVE_DOT_CONFIG),y) + +################################################################################ +# +# Hide troublesome environment variables from sub processes +# +################################################################################ +unexport CROSS_COMPILE +unexport ARCH +unexport CC +unexport LD +unexport AR +unexport CXX +unexport CPP +unexport RANLIB +unexport CFLAGS +unexport CXXFLAGS +unexport GREP_OPTIONS +unexport TAR_OPTIONS +unexport CONFIG_SITE +unexport QMAKESPEC +unexport TERMINFO +unexport MACHINE +unexport O +unexport GCC_COLORS +unexport PLATFORM +unexport OS +unexport DEVICE_TREE + +GNU_HOST_NAME := $(shell support/gnuconfig/config.guess) + +PACKAGES := +PACKAGES_ALL := + +# silent mode requested? +QUIET := $(if $(findstring s,$(filter-out --%,$(MAKEFLAGS))),-q) + +# Strip off the annoying quoting +ARCH := $(call qstrip,$(BR2_ARCH)) +NORMALIZED_ARCH := $(call qstrip,$(BR2_NORMALIZED_ARCH)) +KERNEL_ARCH := $(call qstrip,$(BR2_NORMALIZED_ARCH)) + +ZCAT := $(call qstrip,$(BR2_ZCAT)) +BZCAT := $(call qstrip,$(BR2_BZCAT)) +XZCAT := $(call qstrip,$(BR2_XZCAT)) +LZCAT := $(call qstrip,$(BR2_LZCAT)) +TAR_OPTIONS = $(call qstrip,$(BR2_TAR_OPTIONS)) -xf + +ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) +HOST_DIR = $(if $(PKG),$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/host,$(call qstrip,$(BR2_HOST_DIR))) +TARGET_DIR = $(if $(ROOTFS),$(ROOTFS_$(ROOTFS)_TARGET_DIR),$(if $(PKG),$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/target,$(BASE_TARGET_DIR))) +else +HOST_DIR := $(call qstrip,$(BR2_HOST_DIR)) +TARGET_DIR = $(if $(ROOTFS),$(ROOTFS_$(ROOTFS)_TARGET_DIR),$(BASE_TARGET_DIR)) +endif + +ifneq ($(HOST_DIR),$(BASE_DIR)/host) +HOST_DIR_SYMLINK = $(BASE_DIR)/host +$(HOST_DIR_SYMLINK): | $(BASE_DIR) + ln -snf $(HOST_DIR) $(HOST_DIR_SYMLINK) +endif + +STAGING_DIR_SYMLINK = $(BASE_DIR)/staging +$(STAGING_DIR_SYMLINK): | $(BASE_DIR) + ln -snf $(STAGING_DIR) $(STAGING_DIR_SYMLINK) + +# Quotes are needed for spaces and all in the original PATH content. +BR_PATH = "$(HOST_DIR)/bin:$(HOST_DIR)/sbin:$(PATH)" + +# Location of a file giving a big fat warning that output/target +# should not be used as the root filesystem. +TARGET_DIR_WARNING_FILE = $(TARGET_DIR)/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM + +ifeq ($(BR2_CCACHE),y) +CCACHE = $(HOST_DIR)/bin/ccache +BR_CACHE_DIR ?= $(call qstrip,$(BR2_CCACHE_DIR)) +export BR_CACHE_DIR +HOSTCC = $(CCACHE) $(HOSTCC_NOCCACHE) +HOSTCXX = $(CCACHE) $(HOSTCXX_NOCCACHE) +else +export BR_NO_CCACHE +endif + +# Scripts in support/ or post-build scripts may need to reference +# these locations, so export them so it is easier to use +export BR2_CONFIG +export BR2_REPRODUCIBLE +export TARGET_DIR +export STAGING_DIR +export HOST_DIR +export BINARIES_DIR +export BASE_DIR + +################################################################################ +# +# You should probably leave this stuff alone unless you know +# what you are doing. +# +################################################################################ + +all: world + +# Include legacy before the other things, because package .mk files +# may rely on it. +include Makefile.legacy + +include system/system.mk +include package/Makefile.in +# arch/arch.mk must be after package/Makefile.in because it may need to +# complement variables defined therein, like BR_NO_CHECK_HASH_FOR. +include arch/arch.mk +include support/dependencies/dependencies.mk + +include $(sort $(wildcard toolchain/*.mk)) +include $(sort $(wildcard toolchain/*/*.mk)) + +ifeq ($(BR2_REPRODUCIBLE),y) +# If SOURCE_DATE_EPOCH has not been set then use the commit date, or the last +# release date if the source tree is not within a Git repository. +# See: https://reproducible-builds.org/specs/source-date-epoch/ +BR2_VERSION_GIT_EPOCH := $(shell $(GIT) log -1 --format=%at 2> /dev/null) +export SOURCE_DATE_EPOCH ?= $(or $(BR2_VERSION_GIT_EPOCH),$(BR2_VERSION_EPOCH)) +endif + +# Include the package override file if one has been provided in the +# configuration. +PACKAGE_OVERRIDE_FILE = $(call qstrip,$(BR2_PACKAGE_OVERRIDE_FILE)) +ifneq ($(PACKAGE_OVERRIDE_FILE),) +-include $(PACKAGE_OVERRIDE_FILE) +endif + +include $(sort $(wildcard package/*/*.mk)) + +include boot/common.mk +include linux/linux.mk +include fs/common.mk + +# If using a br2-external tree, the BR2_EXTERNAL_$(NAME)_PATH variables +# are also present in the .config file. Since .config is included after +# we defined them in the Makefile, the values for those variables are +# quoted. We just include the generated Makefile fragment .br2-external.mk +# a third time, which will set those variables to the un-quoted values. +include $(BR2_EXTERNAL_FILE) + +# Nothing to include if no BR2_EXTERNAL tree in use +include $(BR2_EXTERNAL_MKS) + +# Now we are sure we have all the packages scanned and defined. We now +# check for each package in the list of enabled packages, that all its +# dependencies are indeed enabled. +# +# Only trigger the check for default builds. If the user forces building +# a package, even if not enabled in the configuration, we want to accept +# it. However; we also want to be able to force checking the dependencies +# if the user so desires. Forcing a dependency check is useful in the case +# of test-pkg, as we want to make sure during testing, that a package has +# all the dependencies selected in the config file. +# +ifeq ($(MAKECMDGOALS),) +BR_FORCE_CHECK_DEPENDENCIES = YES +endif + +ifeq ($(BR_FORCE_CHECK_DEPENDENCIES),YES) + +define CHECK_ONE_DEPENDENCY +ifeq ($$($(2)_TYPE),target) +ifeq ($$($(2)_IS_VIRTUAL),) +ifneq ($$($$($(2)_KCONFIG_VAR)),y) +$$(error $$($(2)_NAME) is in the dependency chain of $$($(1)_NAME) that \ +has added it to its _DEPENDENCIES variable without selecting it or \ +depending on it from Config.in) +endif +endif +endif +endef + +$(foreach pkg,$(call UPPERCASE,$(PACKAGES)),\ + $(foreach dep,$(call UPPERCASE,$($(pkg)_FINAL_ALL_DEPENDENCIES)),\ + $(eval $(call CHECK_ONE_DEPENDENCY,$(pkg),$(dep))$(sep)))) + +endif + +$(BUILD_DIR)/buildroot-config/auto.conf: $(BR2_CONFIG) + $(MAKE1) $(EXTRAMAKEARGS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTCXX="$(HOSTCXX_NOCCACHE)" syncconfig + +.PHONY: prepare +prepare: $(BUILD_DIR)/buildroot-config/auto.conf + @$(foreach s, $(call qstrip,$(BR2_ROOTFS_PRE_BUILD_SCRIPT)), \ + $(call MESSAGE,"Executing pre-build script $(s)"); \ + $(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep)) + +.PHONY: world +world: target-post-image + +.PHONY: prepare-sdk +prepare-sdk: world + @$(call MESSAGE,"Rendering the SDK relocatable") + PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath host + PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath staging + $(INSTALL) -m 755 $(TOPDIR)/support/misc/relocate-sdk.sh $(HOST_DIR)/relocate-sdk.sh + mkdir -p $(HOST_DIR)/share/buildroot + echo $(HOST_DIR) > $(HOST_DIR)/share/buildroot/sdk-location + +BR2_SDK_PREFIX ?= $(GNU_TARGET_NAME)_sdk-buildroot +.PHONY: sdk +sdk: prepare-sdk $(BR2_TAR_HOST_DEPENDENCY) + @$(call MESSAGE,"Generating SDK tarball") + $(if $(BR2_SDK_PREFIX),,$(error BR2_SDK_PREFIX can not be empty)) + $(Q)mkdir -p $(BINARIES_DIR) + $(TAR) czf "$(BINARIES_DIR)/$(BR2_SDK_PREFIX).tar.gz" \ + --owner=0 --group=0 --numeric-owner \ + --transform='s#^$(patsubst /%,%,$(HOST_DIR))#$(BR2_SDK_PREFIX)#' \ + -C / $(patsubst /%,%,$(HOST_DIR)) + +RSYNC_VCS_EXCLUSIONS = \ + --exclude .svn --exclude .git --exclude .hg --exclude .bzr \ + --exclude CVS + +# When stripping, obey to BR2_STRIP_EXCLUDE_DIRS and +# BR2_STRIP_EXCLUDE_FILES +STRIP_FIND_COMMON_CMD = \ + find $(TARGET_DIR) \ + $(if $(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS)), \ + \( $(call finddirclauses,$(TARGET_DIR),$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS))) \) \ + -prune -o \ + ) \ + $(if $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES)), \ + -not \( $(call findfileclauses,$(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) ) + +# Regular stripping for everything, except libpthread, ld-*.so and +# kernel modules: +# - libpthread.so: a non-stripped libpthread shared library is needed for +# proper debugging of pthread programs using gdb. +# - ld.so: a non-stripped dynamic linker library is needed for valgrind +# - kernel modules (*.ko): do not function properly when stripped like normal +# applications and libraries. Normally kernel modules are already excluded +# by the executable permission check, so the explicit exclusion is only +# done for kernel modules with incorrect permissions. +STRIP_FIND_CMD = \ + $(STRIP_FIND_COMMON_CMD) \ + -type f \( -perm /111 -o -name '*.so*' \) \ + -not \( $(call findfileclauses,libpthread*.so* ld-*.so* *.ko) \) \ + -print0 + +# Special stripping (only debugging symbols) for libpthread and ld-*.so. +STRIP_FIND_SPECIAL_LIBS_CMD = \ + $(STRIP_FIND_COMMON_CMD) \ + \( -name 'ld-*.so*' -o -name 'libpthread*.so*' \) \ + -print0 + +ifeq ($(BR2_ECLIPSE_REGISTER),y) +define TOOLCHAIN_ECLIPSE_REGISTER + ./support/scripts/eclipse-register-toolchain `readlink -f $(O)` \ + $(notdir $(TARGET_CROSS)) $(BR2_ARCH) +endef +TARGET_FINALIZE_HOOKS += TOOLCHAIN_ECLIPSE_REGISTER +endif + +# Generate locale data. +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) +GLIBC_GENERATE_LOCALES = $(call qstrip,$(BR2_GENERATE_LOCALE)) +ifneq ($(GLIBC_GENERATE_LOCALES),) +PACKAGES += host-localedef + +define GENERATE_GLIBC_LOCALES + $(MAKE) -f support/misc/gen-glibc-locales.mk \ + ENDIAN=$(call LOWERCASE,$(BR2_ENDIAN)) \ + LOCALES="$(GLIBC_GENERATE_LOCALES)" \ + Q=$(Q) +endef +TARGET_FINALIZE_HOOKS += GENERATE_GLIBC_LOCALES +endif +endif + +ifeq ($(BR2_ENABLE_LOCALE_PURGE),y) +LOCALE_WHITELIST = $(BUILD_DIR)/locales.nopurge +LOCALE_NOPURGE = $(call qstrip,$(BR2_ENABLE_LOCALE_WHITELIST)) + +# This piece of junk does the following: +# First collect the whitelist in a file. +# Then go over all the locale dirs and for each subdir, check if it exists +# in the whitelist file. If it doesn't, kill it. +# Finally, specifically for X11, regenerate locale.dir from the whitelist. +define PURGE_LOCALES + printf '%s\n' $(LOCALE_NOPURGE) locale-archive > $(LOCALE_WHITELIST) + + for dir in $(addprefix $(TARGET_DIR),/usr/share/locale /usr/share/X11/locale /usr/lib/locale); \ + do \ + if [ ! -d $$dir ]; then continue; fi; \ + for langdir in $$dir/*; \ + do \ + if [ -e "$${langdir}" ]; \ + then \ + grep -qx "$${langdir##*/}" $(LOCALE_WHITELIST) || rm -rf $$langdir; \ + fi \ + done; \ + done + if [ -d $(TARGET_DIR)/usr/share/X11/locale ]; \ + then \ + for lang in $(LOCALE_NOPURGE); \ + do \ + if [ -f $(TARGET_DIR)/usr/share/X11/locale/$$lang/XLC_LOCALE ]; \ + then \ + echo "$$lang/XLC_LOCALE: $$lang"; \ + fi \ + done > $(TARGET_DIR)/usr/share/X11/locale/locale.dir; \ + fi +endef +TARGET_FINALIZE_HOOKS += PURGE_LOCALES +endif + +$(TARGETS_ROOTFS): target-finalize + +# Avoid the rootfs name leaking down the dependency chain +target-finalize: ROOTFS= + +TARGET_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list.txt)) +HOST_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list-host.txt)) +STAGING_DIR_FILES_LISTS = $(sort $(wildcard $(BUILD_DIR)/*/.files-list-staging.txt)) + +.PHONY: host-finalize +host-finalize: $(PACKAGES) $(HOST_DIR) $(HOST_DIR_SYMLINK) + @$(call MESSAGE,"Finalizing host directory") + $(call per-package-rsync,$(sort $(PACKAGES)),host,$(HOST_DIR)) + +.PHONY: staging-finalize +staging-finalize: $(STAGING_DIR_SYMLINK) + +.PHONY: target-finalize +target-finalize: $(PACKAGES) $(TARGET_DIR) host-finalize + @$(call MESSAGE,"Finalizing target directory") + $(call per-package-rsync,$(sort $(PACKAGES)),target,$(TARGET_DIR)) + $(foreach hook,$(TARGET_FINALIZE_HOOKS),$($(hook))$(sep)) + rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/share/aclocal \ + $(TARGET_DIR)/usr/lib/pkgconfig $(TARGET_DIR)/usr/share/pkgconfig \ + $(TARGET_DIR)/usr/lib/cmake $(TARGET_DIR)/usr/share/cmake \ + $(TARGET_DIR)/usr/doc + find $(TARGET_DIR)/usr/{lib,share}/ -name '*.cmake' -print0 | xargs -0 rm -f + find $(TARGET_DIR)/lib/ $(TARGET_DIR)/usr/lib/ $(TARGET_DIR)/usr/libexec/ \ + \( -name '*.a' -o -name '*.la' -o -name '*.prl' \) -print0 | xargs -0 rm -f +ifneq ($(BR2_PACKAGE_GDB),y) + rm -rf $(TARGET_DIR)/usr/share/gdb +endif +ifneq ($(BR2_PACKAGE_BASH),y) + rm -rf $(TARGET_DIR)/usr/share/bash-completion + rm -rf $(TARGET_DIR)/etc/bash_completion.d +endif +ifneq ($(BR2_PACKAGE_ZSH),y) + rm -rf $(TARGET_DIR)/usr/share/zsh +endif + rm -rf $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/man + rm -rf $(TARGET_DIR)/usr/info $(TARGET_DIR)/usr/share/info + rm -rf $(TARGET_DIR)/usr/doc $(TARGET_DIR)/usr/share/doc + rm -rf $(TARGET_DIR)/usr/share/gtk-doc + rmdir $(TARGET_DIR)/usr/share 2>/dev/null || true +ifneq ($(BR2_ENABLE_DEBUG):$(BR2_STRIP_strip),y:) + rm -rf $(TARGET_DIR)/lib/debug $(TARGET_DIR)/usr/lib/debug +endif + $(STRIP_FIND_CMD) | xargs -0 $(STRIPCMD) 2>/dev/null || true + $(STRIP_FIND_SPECIAL_LIBS_CMD) | xargs -0 -r $(STRIPCMD) $(STRIP_STRIP_DEBUG) 2>/dev/null || true + + test -f $(TARGET_DIR)/etc/ld.so.conf && \ + { echo "ERROR: we shouldn't have a /etc/ld.so.conf file"; exit 1; } || true + test -d $(TARGET_DIR)/etc/ld.so.conf.d && \ + { echo "ERROR: we shouldn't have a /etc/ld.so.conf.d directory"; exit 1; } || true + mkdir -p $(TARGET_DIR)/etc + ( \ + echo "NAME=Buildroot"; \ + echo "VERSION=$(BR2_VERSION_FULL)"; \ + echo "ID=buildroot"; \ + echo "VERSION_ID=$(BR2_VERSION)"; \ + echo "PRETTY_NAME=\"Buildroot $(BR2_VERSION)\"" \ + ) > $(TARGET_DIR)/usr/lib/os-release + ln -sf ../usr/lib/os-release $(TARGET_DIR)/etc + + @$(call MESSAGE,"Sanitizing RPATH in target tree") + PER_PACKAGE_DIR=$(PER_PACKAGE_DIR) $(TOPDIR)/support/scripts/fix-rpath target + +# For a merged /usr, ensure that /lib, /bin and /sbin and their /usr +# counterparts are appropriately setup as symlinks ones to the others. +ifeq ($(BR2_ROOTFS_MERGED_USR),y) + + $(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \ + @$(call MESSAGE,"Sanity check in overlay $(d)")$(sep) \ + $(Q)not_merged_dirs="$$(support/scripts/check-merged-usr.sh $(d))"; \ + test -n "$$not_merged_dirs" && { \ + echo "ERROR: The overlay in $(d) is not" \ + "using a merged /usr for the following directories:" \ + $$not_merged_dirs; \ + exit 1; \ + } || true$(sep)) + +endif # merged /usr + + $(foreach d, $(call qstrip,$(BR2_ROOTFS_OVERLAY)), \ + @$(call MESSAGE,"Copying overlay $(d)")$(sep) \ + $(Q)$(call SYSTEM_RSYNC,$(d),$(TARGET_DIR))$(sep)) + + $(Q)$(if $(TARGET_DIR_FILES_LISTS), \ + cat $(TARGET_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list.txt + $(Q)$(if $(HOST_DIR_FILES_LISTS), \ + cat $(HOST_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list-host.txt + $(Q)$(if $(STAGING_DIR_FILES_LISTS), \ + cat $(STAGING_DIR_FILES_LISTS)) > $(BUILD_DIR)/packages-file-list-staging.txt + + $(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_BUILD_SCRIPT)), \ + @$(call MESSAGE,"Executing post-build script $(s)")$(sep) \ + $(Q)$(EXTRA_ENV) $(s) $(TARGET_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep)) + + touch $(TARGET_DIR)/usr + +.PHONY: target-post-image +target-post-image: $(TARGETS_ROOTFS) target-finalize staging-finalize + @rm -f $(ROOTFS_COMMON_TAR) + $(Q)mkdir -p $(BINARIES_DIR) + @$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \ + $(call MESSAGE,"Executing post-image script $(s)"); \ + $(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep)) + +.PHONY: source +source: $(foreach p,$(PACKAGES),$(p)-all-source) + +.PHONY: _external-deps external-deps +_external-deps: $(foreach p,$(PACKAGES),$(p)-all-external-deps) +external-deps: + @$(MAKE1) -Bs $(EXTRAMAKEARGS) _external-deps | sort -u + +.PHONY: legal-info-clean +legal-info-clean: + @rm -fr $(LEGAL_INFO_DIR) + +.PHONY: legal-info-prepare +legal-info-prepare: $(LEGAL_INFO_DIR) + @$(call MESSAGE,"Buildroot $(BR2_VERSION_FULL) Collecting legal info") + @$(call legal-license-file,buildroot,buildroot,support/legal-info/buildroot.hash,COPYING,COPYING,HOST) + @$(call legal-manifest,TARGET,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,DEPENDENCIES WITH LICENSES) + @$(call legal-manifest,HOST,PACKAGE,VERSION,LICENSE,LICENSE FILES,SOURCE ARCHIVE,SOURCE SITE,DEPENDENCIES WITH LICENSES) + @$(call legal-manifest,HOST,buildroot,$(BR2_VERSION_FULL),GPL-2.0+,COPYING,not saved,not saved) + @$(call legal-warning,the Buildroot source code has not been saved) + @cp $(BR2_CONFIG) $(LEGAL_INFO_DIR)/buildroot.config + +.PHONY: legal-info +legal-info: legal-info-clean legal-info-prepare $(foreach p,$(PACKAGES),$(p)-all-legal-info) \ + $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST) + @cat support/legal-info/README.header >>$(LEGAL_REPORT) + @if [ -r $(LEGAL_WARNINGS) ]; then \ + cat support/legal-info/README.warnings-header \ + $(LEGAL_WARNINGS) >>$(LEGAL_REPORT); \ + cat $(LEGAL_WARNINGS); fi + @rm -f $(LEGAL_WARNINGS) + @(cd $(LEGAL_INFO_DIR); \ + find * -type f -exec sha256sum {} + | LC_ALL=C sort -k2 \ + >.legal-info.sha256; \ + mv .legal-info.sha256 legal-info.sha256) + @echo "Legal info produced in $(LEGAL_INFO_DIR)" + +.PHONY: show-targets +show-targets: + @echo $(sort $(PACKAGES)) $(sort $(TARGETS_ROOTFS)) + +.PHONY: show-build-order +show-build-order: $(patsubst %,%-show-build-order,$(PACKAGES)) + +.PHONY: graph-build +graph-build: $(O)/build/build-time.log + @install -d $(GRAPHS_DIR) + $(foreach o,name build duration,./support/scripts/graph-build-time \ + --type=histogram --order=$(o) --input=$(<) \ + --output=$(GRAPHS_DIR)/build.hist-$(o).$(BR_GRAPH_OUT) \ + $(if $(BR2_GRAPH_ALT),--alternate-colors)$(sep)) + $(foreach t,packages steps,./support/scripts/graph-build-time \ + --type=pie-$(t) --input=$(<) \ + --output=$(GRAPHS_DIR)/build.pie-$(t).$(BR_GRAPH_OUT) \ + $(if $(BR2_GRAPH_ALT),--alternate-colors)$(sep)) + ./support/scripts/graph-build-time --type=timeline --input=$(<) \ + --output=$(GRAPHS_DIR)/build.timeline.$(BR_GRAPH_OUT) \ + $(if $(BR2_GRAPH_ALT),--alternate-colors) + +.PHONY: graph-depends-requirements +graph-depends-requirements: + @dot -? >/dev/null 2>&1 || \ + { echo "ERROR: The 'dot' program from Graphviz is needed for graph-depends" >&2; exit 1; } + +.PHONY: graph-depends +graph-depends: graph-depends-requirements + @$(INSTALL) -d $(GRAPHS_DIR) + @cd "$(CONFIG_DIR)"; \ + $(TOPDIR)/support/scripts/graph-depends $(BR2_GRAPH_DEPS_OPTS) \ + --direct -o $(GRAPHS_DIR)/$(@).dot + dot $(BR2_GRAPH_DOT_OPTS) -T$(BR_GRAPH_OUT) \ + -o $(GRAPHS_DIR)/$(@).$(BR_GRAPH_OUT) \ + $(GRAPHS_DIR)/$(@).dot + +.PHONY: graph-size +graph-size: + $(Q)mkdir -p $(GRAPHS_DIR) + $(Q)$(TOPDIR)/support/scripts/size-stats --builddir $(BASE_DIR) \ + --graph $(GRAPHS_DIR)/graph-size.$(BR_GRAPH_OUT) \ + --file-size-csv $(GRAPHS_DIR)/file-size-stats.csv \ + --package-size-csv $(GRAPHS_DIR)/package-size-stats.csv \ + $(BR2_GRAPH_SIZE_OPTS) + +.PHONY: check-dependencies +check-dependencies: + @cd "$(CONFIG_DIR)"; \ + $(TOPDIR)/support/scripts/graph-depends -C + +.PHONY: show-info +show-info: + @: + $(info $(call clean-json, \ + { $(foreach p, \ + $(sort $(foreach i,$(PACKAGES) $(TARGETS_ROOTFS), \ + $(i) \ + $($(call UPPERCASE,$(i))_FINAL_RECURSIVE_DEPENDENCIES) \ + ) \ + ), \ + $(call json-info,$(call UPPERCASE,$(p)))$(comma) \ + ) } \ + ) \ + ) + +.PHONY: pkg-stats +pkg-stats: + @cd "$(CONFIG_DIR)" ; \ + $(TOPDIR)/support/scripts/pkg-stats -c \ + --json $(O)/pkg-stats.json \ + --html $(O)/pkg-stats.html \ + --nvd-path $(DL_DIR)/buildroot-nvd + +.PHONY: missing-cpe +missing-cpe: + $(Q)mkdir -p $(CPE_UPDATES_DIR) + $(Q)cd "$(CONFIG_DIR)" ; \ + $(TOPDIR)/support/scripts/gen-missing-cpe \ + --nvd-path $(DL_DIR)/buildroot-nvd \ + --output $(CPE_UPDATES_DIR) + +else # ifeq ($(BR2_HAVE_DOT_CONFIG),y) + +# Some subdirectories are also package names. To avoid that "make linux" +# on an unconfigured tree produces "Nothing to be done", add an explicit +# rule for it. +# Also for 'all' we error out and ask the user to configure first. +.PHONY: linux toolchain +linux toolchain all: outputmakefile + $(error Please configure Buildroot first (e.g. "make menuconfig")) + @exit 1 + +endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y) + +# configuration +# --------------------------------------------------------------------------- + +HOSTCFLAGS = $(CFLAGS_FOR_BUILD) +export HOSTCFLAGS + +$(BUILD_DIR)/buildroot-config/%onf: + mkdir -p $(@D)/lxdialog + PKG_CONFIG_PATH="$(HOST_PKG_CONFIG_PATH)" $(MAKE) CC="$(HOSTCC_NOCCACHE)" HOSTCC="$(HOSTCC_NOCCACHE)" \ + obj=$(@D) -C $(CONFIG) -f Makefile.br $(@F) + +DEFCONFIG = $(call qstrip,$(BR2_DEFCONFIG)) + +# We don't want to fully expand BR2_DEFCONFIG here, so Kconfig will +# recognize that if it's still at its default $(CONFIG_DIR)/defconfig +COMMON_CONFIG_ENV = \ + BR2_DEFCONFIG='$(call qstrip,$(value BR2_DEFCONFIG))' \ + KCONFIG_AUTOCONFIG=$(BUILD_DIR)/buildroot-config/auto.conf \ + KCONFIG_AUTOHEADER=$(BUILD_DIR)/buildroot-config/autoconf.h \ + KCONFIG_TRISTATE=$(BUILD_DIR)/buildroot-config/tristate.config \ + BR2_CONFIG=$(BR2_CONFIG) \ + HOST_GCC_VERSION="$(HOSTCC_VERSION)" \ + BASE_DIR=$(BASE_DIR) \ + SKIP_LEGACY= + +xconfig: $(BUILD_DIR)/buildroot-config/qconf outputmakefile + @$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN) + +gconfig: $(BUILD_DIR)/buildroot-config/gconf outputmakefile + @$(COMMON_CONFIG_ENV) srctree=$(TOPDIR) $< $(CONFIG_CONFIG_IN) + +menuconfig: $(BUILD_DIR)/buildroot-config/mconf outputmakefile + @$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN) + +nconfig: $(BUILD_DIR)/buildroot-config/nconf outputmakefile + @$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN) + +config: $(BUILD_DIR)/buildroot-config/conf outputmakefile + @$(COMMON_CONFIG_ENV) $< $(CONFIG_CONFIG_IN) + +# For the config targets that automatically select options, we pass +# SKIP_LEGACY=y to disable the legacy options. However, in that case +# no values are set for the legacy options so a subsequent oldconfig +# will query them. Therefore, run an additional olddefconfig. + +randconfig allyesconfig alldefconfig allnoconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile + @$(COMMON_CONFIG_ENV) SKIP_LEGACY=y $< --$@ $(CONFIG_CONFIG_IN) + @$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null + +randpackageconfig allyespackageconfig allnopackageconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile + @grep -v BR2_PACKAGE_ $(BR2_CONFIG) > $(CONFIG_DIR)/.config.nopkg + @$(COMMON_CONFIG_ENV) SKIP_LEGACY=y \ + KCONFIG_ALLCONFIG=$(CONFIG_DIR)/.config.nopkg \ + $< --$(subst package,,$@) $(CONFIG_CONFIG_IN) + @rm -f $(CONFIG_DIR)/.config.nopkg + @$(COMMON_CONFIG_ENV) $< --olddefconfig $(CONFIG_CONFIG_IN) >/dev/null + +oldconfig syncconfig olddefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile + @$(COMMON_CONFIG_ENV) $< --$@ $(CONFIG_CONFIG_IN) + +defconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile + @$(COMMON_CONFIG_ENV) $< --defconfig$(if $(DEFCONFIG),=$(DEFCONFIG)) $(CONFIG_CONFIG_IN) + +define percent_defconfig +# Override the BR2_DEFCONFIG from COMMON_CONFIG_ENV with the new defconfig +%_defconfig: $(BUILD_DIR)/buildroot-config/conf $(1)/configs/%_defconfig outputmakefile + @$$(COMMON_CONFIG_ENV) BR2_DEFCONFIG=$(1)/configs/$$@ \ + $$< --defconfig=$(1)/configs/$$@ $$(CONFIG_CONFIG_IN) +endef +$(eval $(foreach d,$(call reverse,$(TOPDIR) $(BR2_EXTERNAL_DIRS)),$(call percent_defconfig,$(d))$(sep))) + +update-defconfig: savedefconfig + +savedefconfig: $(BUILD_DIR)/buildroot-config/conf outputmakefile + @$(COMMON_CONFIG_ENV) $< \ + --savedefconfig=$(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig) \ + $(CONFIG_CONFIG_IN) + @$(SED) '/^BR2_DEFCONFIG=/d' $(if $(DEFCONFIG),$(DEFCONFIG),$(CONFIG_DIR)/defconfig) + +.PHONY: defconfig savedefconfig update-defconfig + +################################################################################ +# +# Cleanup and misc junk +# +################################################################################ + +# staging and target directories do NOT list these as +# dependencies anywhere else +$(BUILD_DIR) $(BASE_TARGET_DIR) $(HOST_DIR) $(BINARIES_DIR) $(LEGAL_INFO_DIR) $(REDIST_SOURCES_DIR_TARGET) $(REDIST_SOURCES_DIR_HOST) $(PER_PACKAGE_DIR): + @mkdir -p $@ + +# outputmakefile generates a Makefile in the output directory, if using a +# separate output directory. This allows convenient use of make in the +# output directory. +.PHONY: outputmakefile +outputmakefile: +ifeq ($(NEED_WRAPPER),y) + $(Q)$(TOPDIR)/support/scripts/mkmakefile $(TOPDIR) $(O) +endif + +.PHONY: check-make-version +check-make-version: +ifneq ($(filter $(RUNNING_MAKE_VERSION),4.3),) + @echo "Make 4.3 doesn't support 'printvars' and 'show-vars' recipes" + @exit 1 +endif + +# printvars prints all the variables currently defined in our +# Makefiles. Alternatively, if a non-empty VARS variable is passed, +# only the variables matching the make pattern passed in VARS are +# displayed. +# show-vars does the same, but as a JSON dictionnary. +.PHONY: printvars +printvars: check-make-version + @: + $(foreach V, \ + $(sort $(filter $(VARS),$(.VARIABLES))), \ + $(if $(filter-out environment% default automatic, \ + $(origin $V)), \ + $(if $(QUOTED_VARS),\ + $(info $V='$(subst ','\'',$(if $(RAW_VARS),$(value $V),$($V)))'), \ + $(info $V=$(if $(RAW_VARS),$(value $V),$($V)))))) +# ')))) # Syntax colouring... + +.PHONY: show-vars +show-vars: VARS?=% +show-vars: check-make-version + @: + $(info $(call clean-json, { \ + $(foreach V, \ + $(sort $(filter $(VARS),$(.VARIABLES))), \ + $(if $(filter-out environment% default automatic, $(origin $V)), \ + "$V": { \ + "expanded": $(call mk-json-str,$($V))$(comma) \ + "raw": $(call mk-json-str,$(value $V)) \ + }$(comma) \ + ) \ + ) \ + } )) + +.PHONY: clean +clean: + rm -rf $(BASE_TARGET_DIR) $(BINARIES_DIR) $(HOST_DIR) $(HOST_DIR_SYMLINK) \ + $(BUILD_DIR) $(BASE_DIR)/staging \ + $(LEGAL_INFO_DIR) $(GRAPHS_DIR) $(PER_PACKAGE_DIR) $(CPE_UPDATES_DIR) \ + $(O)/pkg-stats.* + +.PHONY: distclean +distclean: clean +ifeq ($(O),$(CURDIR)/output) + rm -rf $(O) +endif + rm -rf $(TOPDIR)/dl $(BR2_CONFIG) $(CONFIG_DIR)/.config.old $(CONFIG_DIR)/..config.tmp \ + $(CONFIG_DIR)/.auto.deps $(BASE_DIR)/.br2-external.* + +.PHONY: help +help: + @echo 'Cleaning:' + @echo ' clean - delete all files created by build' + @echo ' distclean - delete all non-source files (including .config)' + @echo + @echo 'Build:' + @echo ' all - make world' + @echo ' toolchain - build toolchain' + @echo ' sdk - build relocatable SDK' + @echo + @echo 'Configuration:' + @echo ' menuconfig - interactive curses-based configurator' + @echo ' nconfig - interactive ncurses-based configurator' + @echo ' xconfig - interactive Qt-based configurator' + @echo ' gconfig - interactive GTK-based configurator' + @echo ' oldconfig - resolve any unresolved symbols in .config' + @echo ' syncconfig - Same as oldconfig, but quietly, additionally update deps' + @echo ' olddefconfig - Same as syncconfig but sets new symbols to their default value' + @echo ' randconfig - New config with random answer to all options' + @echo ' defconfig - New config with default answer to all options;' + @echo ' BR2_DEFCONFIG, if set on the command line, is used as input' + @echo ' savedefconfig - Save current config to BR2_DEFCONFIG (minimal config)' + @echo ' update-defconfig - Same as savedefconfig' + @echo ' allyesconfig - New config where all options are accepted with yes' + @echo ' allnoconfig - New config where all options are answered with no' + @echo ' alldefconfig - New config where all options are set to default' + @echo ' randpackageconfig - New config with random answer to package options' + @echo ' allyespackageconfig - New config where pkg options are accepted with yes' + @echo ' allnopackageconfig - New config where package options are answered with no' + @echo + @echo 'Package-specific:' + @echo ' - Build and install and all its dependencies' + @echo ' -source - Only download the source files for ' + @echo ' -extract - Extract sources' + @echo ' -patch - Apply patches to ' + @echo ' -depends - Build '\''s dependencies' + @echo ' -configure - Build up to the configure step' + @echo ' -build - Build up to the build step' + @echo ' -show-info - generate info about , as a JSON blurb' + @echo ' -show-depends - List packages on which depends' + @echo ' -show-rdepends - List packages which have as a dependency' + @echo ' -show-recursive-depends' + @echo ' - Recursively list packages on which depends' + @echo ' -show-recursive-rdepends' + @echo ' - Recursively list packages which have as a dependency' + @echo ' -graph-depends - Generate a graph of '\''s dependencies' + @echo ' -graph-rdepends - Generate a graph of '\''s reverse dependencies' + @echo ' -dirclean - Remove build directory' + @echo ' -reconfigure - Restart the build from the configure step' + @echo ' -rebuild - Restart the build from the build step' + @echo ' -reinstall - Restart the build from the install step' + $(foreach p,$(HELP_PACKAGES), \ + @echo $(sep) \ + @echo '$($(p)_NAME):' $(sep) \ + $($(p)_HELP_CMDS)$(sep)) + @echo + @echo 'Documentation:' + @echo ' manual - build manual in all formats' + @echo ' manual-html - build manual in HTML' + @echo ' manual-split-html - build manual in split HTML' + @echo ' manual-pdf - build manual in PDF' + @echo ' manual-text - build manual in text' + @echo ' manual-epub - build manual in ePub' + @echo ' graph-build - generate graphs of the build times' + @echo ' graph-depends - generate graph of the dependency tree' + @echo ' graph-size - generate stats of the filesystem size' + @echo ' list-defconfigs - list all defconfigs (pre-configured minimal systems)' + @echo + @echo 'Miscellaneous:' + @echo ' source - download all sources needed for offline-build' + @echo ' external-deps - list external packages used' + @echo ' legal-info - generate info about license compliance' + @echo ' show-info - generate info about packages, as a JSON blurb' + @echo ' pkg-stats - generate info about packages as JSON and HTML' + @echo ' missing-cpe - generate XML snippets for missing CPE identifiers' + @echo ' printvars - dump internal variables selected with VARS=...' + @echo ' show-vars - dump all internal variables as a JSON blurb; use VARS=...' + @echo ' to limit the list to variables names matching that pattern' + @echo + @echo ' make V=0|1 - 0 => quiet build (default), 1 => verbose build' + @echo ' make O=dir - Locate all output files in "dir", including .config' + @echo + @echo 'For further details, see README, generate the Buildroot manual, or consult' + @echo 'it on-line at http://buildroot.org/docs.html' + @echo + +# List the defconfig files +# $(1): base directory +# $(2): br2-external name, empty for bundled +define list-defconfigs + @first=true; \ + for defconfig in $(1)/configs/*_defconfig; do \ + [ -f "$${defconfig}" ] || continue; \ + if $${first}; then \ + if [ "$(2)" ]; then \ + printf 'External configs in "$(call qstrip,$(2))":\n'; \ + else \ + printf "Built-in configs:\n"; \ + fi; \ + first=false; \ + fi; \ + defconfig="$${defconfig##*/}"; \ + printf " %-35s - Build for %s\n" "$${defconfig}" "$${defconfig%_defconfig}"; \ + done; \ + $${first} || printf "\n" +endef + +# We iterate over BR2_EXTERNAL_NAMES rather than BR2_EXTERNAL_DIRS, +# because we want to display the name of the br2-external tree. +.PHONY: list-defconfigs +list-defconfigs: + $(call list-defconfigs,$(TOPDIR)) + $(foreach name,$(BR2_EXTERNAL_NAMES),\ + $(call list-defconfigs,$(BR2_EXTERNAL_$(name)_PATH),\ + $(BR2_EXTERNAL_$(name)_DESC))$(sep)) + +release: OUT = buildroot-$(BR2_VERSION) + +# Create release tarballs. We need to fiddle a bit to add the generated +# documentation to the git output +release: + git archive --format=tar --prefix=$(OUT)/ HEAD > $(OUT).tar + $(MAKE) O=$(OUT) manual-html manual-text manual-pdf + $(MAKE) O=$(OUT) distclean + tar rf $(OUT).tar $(OUT) + gzip -9 -c < $(OUT).tar > $(OUT).tar.gz + xz -9 -c < $(OUT).tar > $(OUT).tar.xz + rm -rf $(OUT) $(OUT).tar + +print-version: + @echo $(BR2_VERSION_FULL) + +check-flake8: + $(Q)git ls-tree -r --name-only HEAD \ + | xargs file \ + | grep 'Python script' \ + | cut -d':' -f1 \ + | xargs -- python3 -m flake8 --statistics + +check-package: + find $(TOPDIR) -type f \( -name '*.mk' -o -name '*.hash' -o -name 'Config.*' -o -name '*.patch' \) \ + -exec ./utils/check-package --exclude=Sob --exclude=HashSpaces {} + + +include docs/manual/manual.mk +-include $(foreach dir,$(BR2_EXTERNAL_DIRS),$(sort $(wildcard $(dir)/docs/*/*.mk))) + +.PHONY: $(noconfig_targets) + +endif #umask / $(CURDIR) / $(O) diff --git a/buildroot-2021.05/Makefile.legacy b/buildroot-2022.02.1/Makefile.legacy similarity index 100% rename from buildroot-2021.05/Makefile.legacy rename to buildroot-2022.02.1/Makefile.legacy diff --git a/buildroot-2021.05/README b/buildroot-2022.02.1/README similarity index 100% rename from buildroot-2021.05/README rename to buildroot-2022.02.1/README diff --git a/buildroot-2022.02.1/arch/Config.in b/buildroot-2022.02.1/arch/Config.in new file mode 100644 index 00000000..98b0e40d --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in @@ -0,0 +1,494 @@ +menu "Target options" + +config BR2_ARCH_IS_64 + bool + +config BR2_KERNEL_64_USERLAND_32 + bool + +config BR2_SOFT_FLOAT + bool + +config BR2_ARCH_HAS_MMU_MANDATORY + bool + +config BR2_ARCH_HAS_MMU_OPTIONAL + bool + +choice + prompt "Target Architecture" + default BR2_i386 + help + Select the target architecture family to build for. + +config BR2_arcle + bool "ARC (little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY + help + Synopsys' DesignWare ARC Processor Cores are a family of + 32-bit CPUs that can be used from deeply embedded to high + performance host applications. Little endian. + +config BR2_arceb + bool "ARC (big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY + help + Synopsys' DesignWare ARC Processor Cores are a family of + 32-bit CPUs that can be used from deeply embedded to high + performance host applications. Big endian. + +config BR2_arm + bool "ARM (little endian)" + # MMU support is set by the subarchitecture file, arch/Config.in.arm + help + ARM is a 32-bit reduced instruction set computer (RISC) + instruction set architecture (ISA) developed by ARM Holdings. + Little endian. + http://www.arm.com/ + http://en.wikipedia.org/wiki/ARM + +config BR2_armeb + bool "ARM (big endian)" + # MMU support is set by the subarchitecture file, arch/Config.in.arm + help + ARM is a 32-bit reduced instruction set computer (RISC) + instruction set architecture (ISA) developed by ARM Holdings. + Big endian. + http://www.arm.com/ + http://en.wikipedia.org/wiki/ARM + +config BR2_aarch64 + bool "AArch64 (little endian)" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + Aarch64 is a 64-bit architecture developed by ARM Holdings. + http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php + http://en.wikipedia.org/wiki/ARM + +config BR2_aarch64_be + bool "AArch64 (big endian)" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + Aarch64 is a 64-bit architecture developed by ARM Holdings. + http://www.arm.com/products/processors/instruction-set-architectures/armv8-architecture.php + http://en.wikipedia.org/wiki/ARM + +config BR2_csky + bool "csky" + select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT + select BR2_ARCH_HAS_MMU_MANDATORY + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 + help + csky is processor IP from china. + http://www.c-sky.com/ + http://www.github.com/c-sky + +config BR2_i386 + bool "i386" + select BR2_ARCH_HAS_MMU_MANDATORY + help + Intel i386 architecture compatible microprocessor + http://en.wikipedia.org/wiki/I386 + +config BR2_m68k + bool "m68k" + # MMU support is set by the subarchitecture file, arch/Config.in.m68k + help + Motorola 68000 family microprocessor + http://en.wikipedia.org/wiki/M68k + +config BR2_microblazeel + bool "Microblaze AXI (little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY + help + Soft processor core designed for Xilinx FPGAs from Xilinx. AXI + bus based architecture (little endian) + http://www.xilinx.com + http://en.wikipedia.org/wiki/Microblaze + +config BR2_microblazebe + bool "Microblaze non-AXI (big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY + help + Soft processor core designed for Xilinx FPGAs from Xilinx. PLB + bus based architecture (non-AXI, big endian) + http://www.xilinx.com + http://en.wikipedia.org/wiki/Microblaze + +config BR2_mips + bool "MIPS (big endian)" + select BR2_ARCH_HAS_MMU_MANDATORY + help + MIPS is a RISC microprocessor from MIPS Technologies. Big + endian. + http://www.mips.com/ + http://en.wikipedia.org/wiki/MIPS_Technologies + +config BR2_mipsel + bool "MIPS (little endian)" + select BR2_ARCH_HAS_MMU_MANDATORY + help + MIPS is a RISC microprocessor from MIPS Technologies. Little + endian. + http://www.mips.com/ + http://en.wikipedia.org/wiki/MIPS_Technologies + +config BR2_mips64 + bool "MIPS64 (big endian)" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + MIPS is a RISC microprocessor from MIPS Technologies. Big + endian. + http://www.mips.com/ + http://en.wikipedia.org/wiki/MIPS_Technologies + +config BR2_mips64el + bool "MIPS64 (little endian)" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + MIPS is a RISC microprocessor from MIPS Technologies. Little + endian. + http://www.mips.com/ + http://en.wikipedia.org/wiki/MIPS_Technologies + +config BR2_nds32 + bool "nds32" + select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT + select BR2_ARCH_HAS_MMU_MANDATORY + help + nds32 is a 32-bit architecture developed by Andes Technology. + https://en.wikipedia.org/wiki/Andes_Technology + +config BR2_nios2 + bool "Nios II" + select BR2_ARCH_HAS_MMU_MANDATORY + help + Nios II is a soft core processor from Altera Corporation. + http://www.altera.com/ + http://en.wikipedia.org/wiki/Nios_II + +config BR2_or1k + bool "OpenRISC" + select BR2_ARCH_HAS_MMU_MANDATORY + help + OpenRISC is a free and open processor for embedded system. + http://openrisc.io + +config BR2_powerpc + bool "PowerPC" + select BR2_ARCH_HAS_MMU_MANDATORY + help + PowerPC is a RISC architecture created by Apple-IBM-Motorola + alliance. Big endian. + http://www.power.org/ + http://en.wikipedia.org/wiki/Powerpc + +config BR2_powerpc64 + bool "PowerPC64 (big endian)" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + PowerPC is a RISC architecture created by Apple-IBM-Motorola + alliance. Big endian. + http://www.power.org/ + http://en.wikipedia.org/wiki/Powerpc + +config BR2_powerpc64le + bool "PowerPC64 (little endian)" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + PowerPC is a RISC architecture created by Apple-IBM-Motorola + alliance. Little endian. + http://www.power.org/ + http://en.wikipedia.org/wiki/Powerpc + +config BR2_riscv + bool "RISCV" + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 + help + RISC-V is an open, free Instruction Set Architecture created + by the UC Berkeley Architecture Research group and supported + and promoted by RISC-V Foundation. + https://riscv.org/ + https://en.wikipedia.org/wiki/RISC-V + +config BR2_s390x + bool "s390x" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + s390x is a big-endian architecture made by IBM. + http://www.ibm.com/ + http://en.wikipedia.org/wiki/IBM_System/390 + +config BR2_sh + bool "SuperH" + select BR2_ARCH_HAS_MMU_OPTIONAL + help + SuperH (or SH) is a 32-bit reduced instruction set computer + (RISC) instruction set architecture (ISA) developed by + Hitachi. + http://www.hitachi.com/ + http://en.wikipedia.org/wiki/SuperH + +config BR2_sparc + bool "SPARC" + select BR2_ARCH_HAS_MMU_MANDATORY + help + SPARC (from Scalable Processor Architecture) is a RISC + instruction set architecture (ISA) developed by Sun + Microsystems. + http://www.oracle.com/sun + http://en.wikipedia.org/wiki/Sparc + +config BR2_sparc64 + bool "SPARC64" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + SPARC (from Scalable Processor Architecture) is a RISC + instruction set architecture (ISA) developed by Sun + Microsystems. + http://www.oracle.com/sun + http://en.wikipedia.org/wiki/Sparc + +config BR2_x86_64 + bool "x86_64" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_MANDATORY + help + x86-64 is an extension of the x86 instruction set (Intel i386 + architecture compatible microprocessor). + http://en.wikipedia.org/wiki/X86_64 + +config BR2_xtensa + bool "Xtensa" + # MMU support is set by the subarchitecture file, arch/Config.in.xtensa + help + Xtensa is a Tensilica processor IP architecture. + http://en.wikipedia.org/wiki/Xtensa + http://www.tensilica.com/ + +endchoice + +# For some architectures or specific cores, our internal toolchain +# backend is not suitable (like, missing support in upstream gcc, or +# no ChipCo fork exists...) +config BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT + bool + +config BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT + bool + default y if !BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT + +# The following symbols are selected by the individual +# Config.in.$ARCH files +config BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8 + bool + +config BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8 + +config BR2_ARCH_NEEDS_GCC_AT_LEAST_5 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 + +config BR2_ARCH_NEEDS_GCC_AT_LEAST_6 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 + +config BR2_ARCH_NEEDS_GCC_AT_LEAST_7 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 + +config BR2_ARCH_NEEDS_GCC_AT_LEAST_8 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 + +config BR2_ARCH_NEEDS_GCC_AT_LEAST_9 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 + +config BR2_ARCH_NEEDS_GCC_AT_LEAST_10 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 + +config BR2_ARCH_NEEDS_GCC_AT_LEAST_11 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_10 + +# The following string values are defined by the individual +# Config.in.$ARCH files +config BR2_ARCH + string + +config BR2_NORMALIZED_ARCH + string + +config BR2_ENDIAN + string + +config BR2_GCC_TARGET_ARCH + string + +config BR2_GCC_TARGET_ABI + string + +config BR2_GCC_TARGET_NAN + string + +config BR2_GCC_TARGET_FP32_MODE + string + +config BR2_GCC_TARGET_CPU + string + +# The value of this option will be passed as --with-fpu= when +# building gcc (internal backend) or -mfpu= in the toolchain +# wrapper (external toolchain) +config BR2_GCC_TARGET_FPU + string + +# The value of this option will be passed as --with-float= when +# building gcc (internal backend) or -mfloat-abi= in the toolchain +# wrapper (external toolchain) +config BR2_GCC_TARGET_FLOAT_ABI + string + +# The value of this option will be passed as --with-mode= when +# building gcc (internal backend) or -m in the toolchain +# wrapper (external toolchain) +config BR2_GCC_TARGET_MODE + string + +# Must be selected by binary formats that support shared libraries. +config BR2_BINFMT_SUPPORTS_SHARED + bool + +# Must match the name of the architecture from readelf point of view, +# i.e the "Machine:" field of readelf output. See get_machine_name() +# in binutils/readelf.c for the list of possible values. +config BR2_READELF_ARCH_NAME + string + +# Set up target binary format +choice + prompt "Target Binary Format" + default BR2_BINFMT_ELF if BR2_USE_MMU + default BR2_BINFMT_FLAT + +config BR2_BINFMT_ELF + bool "ELF" + depends on BR2_USE_MMU + select BR2_BINFMT_SUPPORTS_SHARED + help + ELF (Executable and Linkable Format) is a format for libraries + and executables used across different architectures and + operating systems. + +config BR2_BINFMT_FLAT + bool "FLAT" + depends on !BR2_USE_MMU + help + FLAT binary is a relatively simple and lightweight executable + format based on the original a.out format. It is widely used + in environment where no MMU is available. + +endchoice + +# Set up flat binary type +choice + prompt "FLAT Binary type" + default BR2_BINFMT_FLAT_ONE + depends on BR2_BINFMT_FLAT + +config BR2_BINFMT_FLAT_ONE + bool "One memory region" + help + All segments are linked into one memory region. + +config BR2_BINFMT_FLAT_SHARED + bool "Shared binary" + depends on BR2_m68k + # Even though this really generates shared binaries, there is no libdl + # and dlopen() cannot be used. So packages that require shared + # libraries cannot be built. Therefore, we don't select + # BR2_BINFMT_SUPPORTS_SHARED and therefore force BR2_STATIC_LIBS. + # Although this adds -static to the compilation, that's not a problem + # because the -mid-shared-library option overrides it. + help + Allow to load and link indiviual FLAT binaries at run time. + +endchoice + +if BR2_arcle || BR2_arceb +source "arch/Config.in.arc" +endif + +if BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be +source "arch/Config.in.arm" +endif + +if BR2_csky +source "arch/Config.in.csky" +endif + +if BR2_m68k +source "arch/Config.in.m68k" +endif + +if BR2_microblazeel || BR2_microblazebe +source "arch/Config.in.microblaze" +endif + +if BR2_mips || BR2_mips64 || BR2_mipsel || BR2_mips64el +source "arch/Config.in.mips" +endif + +if BR2_nds32 +source "arch/Config.in.nds32" +endif + +if BR2_nios2 +source "arch/Config.in.nios2" +endif + +if BR2_or1k +source "arch/Config.in.or1k" +endif + +if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le +source "arch/Config.in.powerpc" +endif + +if BR2_riscv +source "arch/Config.in.riscv" +endif + +if BR2_s390x +source "arch/Config.in.s390x" +endif + +if BR2_sh +source "arch/Config.in.sh" +endif + +if BR2_sparc || BR2_sparc64 +source "arch/Config.in.sparc" +endif + +if BR2_i386 || BR2_x86_64 +source "arch/Config.in.x86" +endif + +if BR2_xtensa +source "arch/Config.in.xtensa" +endif + +endmenu # Target options diff --git a/buildroot-2022.02.1/arch/Config.in.arc b/buildroot-2022.02.1/arch/Config.in.arc new file mode 100644 index 00000000..388d3496 --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.arc @@ -0,0 +1,129 @@ +choice + prompt "Target CPU" + default BR2_arc770d + depends on BR2_arc + help + Specific CPU to use + +config BR2_arc750d + bool "ARC 750D" + +config BR2_arc770d + bool "ARC 770D" + +config BR2_archs38 + bool "ARC HS38" + help + Generic ARC HS capable of running Linux, i.e. with MMU, + caches and 32-bit multiplier. Also it corresponds to the + default configuration in older GNU toolchain versions. + +config BR2_archs38_64mpy + bool "ARC HS38 with 64-bit mpy" + help + Fully featured ARC HS capable of running Linux, i.e. with + MMU, caches and 64-bit multiplier. + + If you're not sure which version of ARC HS core you build + for use this one. + +config BR2_archs38_full + bool "ARC HS38 with Quad MAC & FPU" + help + Fully featured ARC HS with additional support for + - Dual- and quad multiply and MC oprations + - Double-precision FPU + + It corresponds to "hs38_slc_full" ARC HS template in + ARChitect. + +config BR2_archs4x_rel31 + bool "ARC HS48 rel 31" + help + Build for HS48 release 3.1 + +config BR2_archs4x + bool "ARC HS48" + help + Latest release of HS48 processor + - Dual and Quad multiply and MAC operations + - Double-precision FPU + +endchoice + +# Choice of atomic instructions presence +config BR2_ARC_ATOMIC_EXT + bool "Atomic extension (LLOCK/SCOND instructions)" + default y if BR2_arc770d + default y if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full + default y if BR2_archs4x_rel31 || BR2_archs4x + +config BR2_ARCH + default "arc" if BR2_arcle + default "arceb" if BR2_arceb + +config BR2_NORMALIZED_ARCH + default "arc" + +config BR2_arc + bool + default y if BR2_arcle || BR2_arceb + +config BR2_ENDIAN + default "LITTLE" if BR2_arcle + default "BIG" if BR2_arceb + +config BR2_GCC_TARGET_CPU + default "arc700" if BR2_arc750d + default "arc700" if BR2_arc770d + default "archs" if BR2_archs38 + default "hs38" if BR2_archs38_64mpy + default "hs38_linux" if BR2_archs38_full + default "hs4x_rel31" if BR2_archs4x_rel31 + default "hs4x" if BR2_archs4x + +config BR2_READELF_ARCH_NAME + default "ARCompact" if BR2_arc750d || BR2_arc770d + default "ARCv2" if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full + default "ARCv2" if BR2_archs4x_rel31 || BR2_archs4x + +choice + prompt "MMU Page Size" + default BR2_ARC_PAGE_SIZE_8K + help + MMU starting from version 3 (found in ARC 770) and now + version 4 (found in ARC HS38) allows the selection of the + page size during ASIC design creation. + + The following options are available for MMU v3 and v4: 4kB, + 8kB and 16 kB. + + The default is 8 kB (that really matches the only page size + in MMU v2). It is important to build a toolchain with page + size matching the hardware configuration. Otherwise + user-space applications will fail at runtime. + +config BR2_ARC_PAGE_SIZE_4K + bool "4KB" + depends on !BR2_arc750d + +config BR2_ARC_PAGE_SIZE_8K + bool "8KB" + help + This is the one and only option available for MMUv2 and + default value for MMU v3 and v4. + +config BR2_ARC_PAGE_SIZE_16K + bool "16KB" + depends on !BR2_arc750d + +endchoice + +config BR2_ARC_PAGE_SIZE + string + default "4K" if BR2_ARC_PAGE_SIZE_4K + default "8K" if BR2_ARC_PAGE_SIZE_8K + default "16K" if BR2_ARC_PAGE_SIZE_16K + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.arm b/buildroot-2022.02.1/arch/Config.in.arm new file mode 100644 index 00000000..85040ac8 --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.arm @@ -0,0 +1,938 @@ +# arm cpu features +config BR2_ARM_CPU_HAS_NEON + bool + +# for some cores, NEON support is optional +config BR2_ARM_CPU_MAYBE_HAS_NEON + bool + +# For some cores, the FPU is optional +config BR2_ARM_CPU_MAYBE_HAS_FPU + bool + +config BR2_ARM_CPU_HAS_FPU + bool + +# for some cores, VFPv2 is optional +config BR2_ARM_CPU_MAYBE_HAS_VFPV2 + bool + select BR2_ARM_CPU_MAYBE_HAS_FPU + +config BR2_ARM_CPU_HAS_VFPV2 + bool + select BR2_ARM_CPU_HAS_FPU + +# for some cores, VFPv3 is optional +config BR2_ARM_CPU_MAYBE_HAS_VFPV3 + bool + select BR2_ARM_CPU_MAYBE_HAS_VFPV2 + +config BR2_ARM_CPU_HAS_VFPV3 + bool + select BR2_ARM_CPU_HAS_VFPV2 + +# for some cores, VFPv4 is optional +config BR2_ARM_CPU_MAYBE_HAS_VFPV4 + bool + select BR2_ARM_CPU_MAYBE_HAS_VFPV3 + +config BR2_ARM_CPU_HAS_VFPV4 + bool + select BR2_ARM_CPU_HAS_VFPV3 + +# FPv4 is always optional +config BR2_ARM_CPU_MAYBE_HAS_FPV4 + bool + select BR2_ARM_CPU_MAYBE_HAS_FPU + +config BR2_ARM_CPU_HAS_FPV4 + bool + select BR2_ARM_CPU_HAS_FPU + +# FPv5 is always optional +config BR2_ARM_CPU_MAYBE_HAS_FPV5 + bool + select BR2_ARM_CPU_MAYBE_HAS_FPV4 + +config BR2_ARM_CPU_HAS_FPV5 + bool + select BR2_ARM_CPU_HAS_FPV4 + +config BR2_ARM_CPU_HAS_FP_ARMV8 + bool + select BR2_ARM_CPU_HAS_VFPV4 + +config BR2_ARM_CPU_HAS_ARM + bool + +config BR2_ARM_CPU_HAS_THUMB + bool + +config BR2_ARM_CPU_HAS_THUMB2 + bool + +config BR2_ARM_CPU_ARMV4 + bool + +config BR2_ARM_CPU_ARMV5 + bool + +config BR2_ARM_CPU_ARMV6 + bool + +config BR2_ARM_CPU_ARMV7A + bool + +config BR2_ARM_CPU_ARMV7M + bool + +config BR2_ARM_CPU_ARMV8A + bool + +choice + prompt "Target Architecture Variant" + default BR2_cortex_a53 if BR2_ARCH_IS_64 + default BR2_arm926t + help + Specific CPU variant to use + +if !BR2_ARCH_IS_64 +comment "armv4 cores" +config BR2_arm920t + bool "arm920t" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV4 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_arm922t + bool "arm922t" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV4 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_fa526 + bool "fa526/626" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_ARMV4 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_strongarm + bool "strongarm sa110/sa1100" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_ARMV4 + select BR2_ARCH_HAS_MMU_OPTIONAL + +comment "armv5 cores" +config BR2_arm926t + bool "arm926t" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_MAYBE_HAS_VFPV2 + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV5 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_iwmmxt + bool "iwmmxt" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_ARMV5 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_xscale + bool "xscale" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV5 + select BR2_ARCH_HAS_MMU_OPTIONAL + +comment "armv6 cores" +config BR2_arm1136j_s + bool "arm1136j-s" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV6 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_arm1136jf_s + bool "arm1136jf-s" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_VFPV2 + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV6 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_arm1176jz_s + bool "arm1176jz-s" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV6 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_arm1176jzf_s + bool "arm1176jzf-s" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_VFPV2 + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV6 + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_arm11mpcore + bool "mpcore" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_MAYBE_HAS_VFPV2 + select BR2_ARM_CPU_HAS_THUMB + select BR2_ARM_CPU_ARMV6 + select BR2_ARCH_HAS_MMU_OPTIONAL + +comment "armv7a cores" +config BR2_cortex_a5 + bool "cortex-A5" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_MAYBE_HAS_NEON + select BR2_ARM_CPU_MAYBE_HAS_VFPV4 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_cortex_a7 + bool "cortex-A7" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_NEON + select BR2_ARM_CPU_HAS_VFPV4 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_cortex_a8 + bool "cortex-A8" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_NEON + select BR2_ARM_CPU_HAS_VFPV3 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_cortex_a9 + bool "cortex-A9" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_MAYBE_HAS_NEON + select BR2_ARM_CPU_MAYBE_HAS_VFPV3 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_cortex_a12 + bool "cortex-A12" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_NEON + select BR2_ARM_CPU_HAS_VFPV4 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_cortex_a15 + bool "cortex-A15" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_NEON + select BR2_ARM_CPU_HAS_VFPV4 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_cortex_a15_a7 + bool "cortex-A15/A7 big.LITTLE" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_NEON + select BR2_ARM_CPU_HAS_VFPV4 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 +config BR2_cortex_a17 + bool "cortex-A17" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_NEON + select BR2_ARM_CPU_HAS_VFPV4 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +config BR2_cortex_a17_a7 + bool "cortex-A17/A7 big.LITTLE" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_NEON + select BR2_ARM_CPU_HAS_VFPV4 + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +config BR2_pj4 + bool "pj4" + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_VFPV3 + select BR2_ARM_CPU_ARMV7A + select BR2_ARCH_HAS_MMU_OPTIONAL + +comment "armv7m cores" +config BR2_cortex_m3 + bool "cortex-M3" + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_ARMV7M +config BR2_cortex_m4 + bool "cortex-M4" + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_MAYBE_HAS_FPV4 + select BR2_ARM_CPU_ARMV7M +config BR2_cortex_m7 + bool "cortex-M7" + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_MAYBE_HAS_FPV5 + select BR2_ARM_CPU_ARMV7M + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +endif # !BR2_ARCH_IS_64 + +comment "armv8 cores" +config BR2_cortex_a32 + bool "cortex-A32" + depends on !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_ARM + select BR2_ARM_CPU_HAS_NEON + select BR2_ARM_CPU_HAS_THUMB2 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_cortex_a35 + bool "cortex-A35" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_cortex_a53 + bool "cortex-A53" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_cortex_a57 + bool "cortex-A57" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL +config BR2_cortex_a57_a53 + bool "cortex-A57/A53 big.LITTLE" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_cortex_a72 + bool "cortex-A72" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +config BR2_cortex_a72_a53 + bool "cortex-A72/A53 big.LITTLE" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_cortex_a73 + bool "cortex-A73" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_cortex_a73_a35 + bool "cortex-A73/A35 big.LITTLE" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_cortex_a73_a53 + bool "cortex-A73/A53 big.LITTLE" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_emag + bool "emag" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_exynos_m1 + bool "exynos-m1" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +config BR2_falkor + bool "falkor" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_phecda + bool "phecda" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_qdf24xx + bool "qdf24xx" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_thunderx + bool "thunderx (aka octeontx)" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +config BR2_thunderxt81 + bool "thunderxt81 (aka octeontx81)" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_thunderxt83 + bool "thunderxt83 (aka octeontx83)" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_thunderxt88 + bool "thunderxt88" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_thunderxt88p1 + bool "thunderxt88p1" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_xgene1 + bool "xgene1" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 + +comment "armv8.1a cores" +config BR2_thunderx2t99 + bool "thunderx2t99" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_thunderx2t99p1 + bool "thunderx2t99p1" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 +config BR2_vulcan + bool "vulcan" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_7 + +comment "armv8.2a cores" +config BR2_cortex_a55 + bool "cortex-A55" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 +config BR2_cortex_a75 + bool "cortex-A75" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 +config BR2_cortex_a75_a55 + bool "cortex-A75/A55 big.LITTLE" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 +config BR2_cortex_a76 + bool "cortex-A76" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_cortex_a76_a55 + bool "cortex-A76/A55 big.LITTLE" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_neoverse_n1 + bool "neoverse-N1 (aka ares)" + select BR2_ARM_CPU_HAS_ARM if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_NEON if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_THUMB2 if !BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_tsv110 + bool "tsv110" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 + +comment "armv8.4a cores" +config BR2_saphira + bool "saphira" + depends on BR2_ARCH_IS_64 + select BR2_ARM_CPU_HAS_FP_ARMV8 + select BR2_ARM_CPU_ARMV8A + select BR2_ARCH_HAS_MMU_OPTIONAL + select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 +endchoice + +config BR2_ARM_ENABLE_NEON + bool "Enable NEON SIMD extension support" + depends on BR2_ARM_CPU_MAYBE_HAS_NEON + select BR2_ARM_CPU_HAS_NEON + help + For some CPU cores, the NEON SIMD extension is optional. + Select this option if you are certain your particular + implementation has NEON support and you want to use it. + +config BR2_ARM_ENABLE_VFP + bool "Enable VFP extension support" + depends on BR2_ARM_CPU_MAYBE_HAS_FPU + select BR2_ARM_CPU_HAS_FPV5 if BR2_ARM_CPU_MAYBE_HAS_FPV5 + select BR2_ARM_CPU_HAS_FPV4 if BR2_ARM_CPU_MAYBE_HAS_FPV4 + select BR2_ARM_CPU_HAS_VFPV4 if BR2_ARM_CPU_MAYBE_HAS_VFPV4 + select BR2_ARM_CPU_HAS_VFPV3 if BR2_ARM_CPU_MAYBE_HAS_VFPV3 + select BR2_ARM_CPU_HAS_VFPV2 if BR2_ARM_CPU_MAYBE_HAS_VFPV2 + help + For some CPU cores, the VFP extension is optional. Select + this option if you are certain your particular + implementation has VFP support and you want to use it. + +choice + prompt "Target ABI" + default BR2_ARM_EABIHF if BR2_ARM_CPU_HAS_FPU + default BR2_ARM_EABI + depends on BR2_arm || BR2_armeb + help + Application Binary Interface to use. The Application Binary + Interface describes the calling conventions (how arguments + are passed to functions, how the return value is passed, how + system calls are made, etc.). + +config BR2_ARM_EABI + bool "EABI" + help + The EABI is currently the standard ARM ABI, which is used in + most projects. It supports both the 'soft' floating point + model (in which floating point instructions are emulated in + software) and the 'softfp' floating point model (in which + floating point instructions are executed using an hardware + floating point unit, but floating point arguments to + functions are passed in integer registers). + + The 'softfp' floating point model is link-compatible with + the 'soft' floating point model, i.e you can link a library + built 'soft' with some other code built 'softfp'. + + However, passing the floating point arguments in integer + registers is a bit inefficient, so if your ARM processor has + a floating point unit, and you don't have pre-compiled + 'soft' or 'softfp' code, using the EABIhf ABI will provide + better floating point performances. + + If your processor does not have a floating point unit, then + you must use this ABI. + +config BR2_ARM_EABIHF + bool "EABIhf" + depends on BR2_ARM_CPU_HAS_FPU + help + The EABIhf is an extension of EABI which supports the 'hard' + floating point model. This model uses the floating point + unit to execute floating point instructions, and passes + floating point arguments in floating point registers. + + It is more efficient than EABI for floating point related + workload. However, it does not allow to link against code + that has been pre-built for the 'soft' or 'softfp' floating + point models. + + If your processor has a floating point unit, and you don't + depend on existing pre-compiled code, this option is most + likely the best choice. + +endchoice + +choice + prompt "Floating point strategy" + default BR2_ARM_FPU_FP_ARMV8 if BR2_ARM_CPU_HAS_FP_ARMV8 + default BR2_ARM_FPU_FPV5D16 if BR2_ARM_CPU_HAS_FPV5 + default BR2_ARM_FPU_FPV4D16 if BR2_ARM_CPU_HAS_FPV4 + default BR2_ARM_FPU_VFPV4D16 if BR2_ARM_CPU_HAS_VFPV4 + default BR2_ARM_FPU_VFPV3D16 if BR2_ARM_CPU_HAS_VFPV3 + default BR2_ARM_FPU_VFPV2 if BR2_ARM_CPU_HAS_VFPV2 + default BR2_ARM_SOFT_FLOAT if !BR2_ARM_CPU_HAS_FPU + +config BR2_ARM_SOFT_FLOAT + bool "Soft float" + depends on BR2_ARM_EABI + select BR2_SOFT_FLOAT + help + This option allows to use software emulated floating + point. It should be used for ARM cores that do not include a + Vector Floating Point unit, such as ARMv5 cores (ARM926 for + example) or certain ARMv6 cores. + +config BR2_ARM_FPU_VFPV2 + bool "VFPv2" + depends on BR2_ARM_CPU_HAS_VFPV2 + help + This option allows to use the VFPv2 floating point unit, as + available in some ARMv5 processors (ARM926EJ-S) and some + ARMv6 processors (ARM1136JF-S, ARM1176JZF-S and ARM11 + MPCore). + + Note that this option is also safe to use for newer cores + such as Cortex-A, because the VFPv3 and VFPv4 units are + backward compatible with VFPv2. + +config BR2_ARM_FPU_VFPV3 + bool "VFPv3" + depends on BR2_ARM_CPU_HAS_VFPV3 + help + This option allows to use the VFPv3 floating point unit, as + available in some ARMv7 processors (Cortex-A{8, 9}). This + option requires a VFPv3 unit that has 32 double-precision + registers, which is not necessarily the case in all SOCs + based on Cortex-A{8, 9}. If you're unsure, use VFPv3-D16 + instead, which is guaranteed to work on all Cortex-A{8, 9}. + + Note that this option is also safe to use for newer cores + that have a VFPv4 unit, because VFPv4 is backward compatible + with VFPv3. They must of course also have 32 + double-precision registers. + +config BR2_ARM_FPU_VFPV3D16 + bool "VFPv3-D16" + depends on BR2_ARM_CPU_HAS_VFPV3 + help + This option allows to use the VFPv3 floating point unit, as + available in some ARMv7 processors (Cortex-A{8, 9}). This + option requires a VFPv3 unit that has 16 double-precision + registers, which is generally the case in all SOCs based on + Cortex-A{8, 9}, even though VFPv3 is technically optional on + Cortex-A9. This is the safest option for those cores. + + Note that this option is also safe to use for newer cores + such that have a VFPv4 unit, because the VFPv4 is backward + compatible with VFPv3. + +config BR2_ARM_FPU_VFPV4 + bool "VFPv4" + depends on BR2_ARM_CPU_HAS_VFPV4 + help + This option allows to use the VFPv4 floating point unit, as + available in some ARMv7 processors (Cortex-A{5, 7, 12, + 15}). This option requires a VFPv4 unit that has 32 + double-precision registers, which is not necessarily the + case in all SOCs based on Cortex-A{5, 7, 12, 15}. If you're + unsure, you should probably use VFPv4-D16 instead. + + Note that if you want binary code that works on all ARMv7 + cores, including the earlier Cortex-A{8, 9}, you should + instead select VFPv3. + +config BR2_ARM_FPU_VFPV4D16 + bool "VFPv4-D16" + depends on BR2_ARM_CPU_HAS_VFPV4 + help + This option allows to use the VFPv4 floating point unit, as + available in some ARMv7 processors (Cortex-A{5, 7, 12, + 15}). This option requires a VFPv4 unit that has 16 + double-precision registers, which is always available on + Cortex-A12 and Cortex-A15, but optional on Cortex-A5 and + Cortex-A7. + + Note that if you want binary code that works on all ARMv7 + cores, including the earlier Cortex-A{8, 9}, you should + instead select VFPv3-D16. + +config BR2_ARM_FPU_NEON + bool "NEON" + depends on BR2_ARM_CPU_HAS_NEON + help + This option allows to use the NEON SIMD unit, as available + in some ARMv7 processors, as a floating-point unit. It + should however be noted that using NEON for floating point + operations doesn't provide a complete compatibility with the + IEEE 754. + +config BR2_ARM_FPU_NEON_VFPV4 + bool "NEON/VFPv4" + depends on BR2_ARM_CPU_HAS_VFPV4 + depends on BR2_ARM_CPU_HAS_NEON + help + This option allows to use both the VFPv4 and the NEON SIMD + units for floating point operations. Note that some ARMv7 + cores do not necessarily have VFPv4 and/or NEON support, for + example on Cortex-A5 and Cortex-A7, support for VFPv4 and + NEON is optional. + +config BR2_ARM_FPU_FPV4D16 + bool "FPv4-D16" + depends on BR2_ARM_CPU_HAS_FPV4 + help + This option allows to use the FPv4-SP (single precision) + floating point unit, as available in some ARMv7m processors + (Cortex-M4). + +config BR2_ARM_FPU_FPV5D16 + bool "FPv5-D16" + depends on BR2_ARM_CPU_HAS_FPV5 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 + help + This option allows to use the FPv5-SP (single precision) + floating point unit, as available in some ARMv7m processors + (Cortex-M7). + + Note that if you want binary code that works on the earlier + Cortex-M4, you should instead select FPv4-D16. + +config BR2_ARM_FPU_FPV5DPD16 + bool "FPv5-DP-D16" + depends on BR2_ARM_CPU_HAS_FPV5 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 + help + This option allows to use the FPv5-DP (double precision) + floating point unit, as available in some ARMv7m processors + (Cortex-M7). + + Note that if you want binary code that works on the earlier + Cortex-M4, you should instead select FPv4-D16. + +config BR2_ARM_FPU_FP_ARMV8 + bool "FP-ARMv8" + depends on BR2_ARM_CPU_HAS_FP_ARMV8 + help + This option allows to use the ARMv8 floating point unit. + +config BR2_ARM_FPU_NEON_FP_ARMV8 + bool "NEON/FP-ARMv8" + depends on BR2_ARM_CPU_HAS_FP_ARMV8 + depends on BR2_ARM_CPU_HAS_NEON + help + This option allows to use both the ARMv8 floating point unit + and the NEON SIMD unit for floating point operations. + +endchoice + +choice + prompt "ARM instruction set" + depends on BR2_arm || BR2_armeb + +config BR2_ARM_INSTRUCTIONS_ARM + bool "ARM" + depends on BR2_ARM_CPU_HAS_ARM + help + This option instructs the compiler to generate regular ARM + instructions, that are all 32 bits wide. + +config BR2_ARM_INSTRUCTIONS_THUMB + bool "Thumb" + depends on BR2_ARM_CPU_HAS_THUMB + # Thumb-1 and VFP are not compatible + depends on BR2_ARM_SOFT_FLOAT + help + This option instructions the compiler to generate Thumb + instructions, which allows to mix 16 bits instructions and + 32 bits instructions. This generally provides a much smaller + compiled binary size. + +comment "Thumb1 is not compatible with VFP" + depends on BR2_ARM_CPU_HAS_THUMB + depends on !BR2_ARM_SOFT_FLOAT + +config BR2_ARM_INSTRUCTIONS_THUMB2 + bool "Thumb2" + depends on BR2_ARM_CPU_HAS_THUMB2 + help + This option instructions the compiler to generate Thumb2 + instructions, which allows to mix 16 bits instructions and + 32 bits instructions. This generally provides a much smaller + compiled binary size. + +endchoice + +config BR2_ARCH + default "arm" if BR2_arm + default "armeb" if BR2_armeb + default "aarch64" if BR2_aarch64 + default "aarch64_be" if BR2_aarch64_be + +config BR2_NORMALIZED_ARCH + default "arm" if BR2_arm || BR2_armeb + default "arm64" if BR2_aarch64 || BR2_aarch64_be + +config BR2_ENDIAN + default "LITTLE" if (BR2_arm || BR2_aarch64) + default "BIG" if (BR2_armeb || BR2_aarch64_be) + +config BR2_GCC_TARGET_CPU + # armv4 + default "arm920t" if BR2_arm920t + default "arm922t" if BR2_arm922t + default "fa526" if BR2_fa526 + default "strongarm" if BR2_strongarm + # armv5 + default "arm926ej-s" if BR2_arm926t + default "iwmmxt" if BR2_iwmmxt + default "xscale" if BR2_xscale + # armv6 + default "arm1136j-s" if BR2_arm1136j_s + default "arm1136jf-s" if BR2_arm1136jf_s + default "arm1176jz-s" if BR2_arm1176jz_s + default "arm1176jzf-s" if BR2_arm1176jzf_s + default "mpcore" if BR2_arm11mpcore && BR2_ARM_CPU_HAS_VFPV2 + default "mpcorenovfp" if BR2_arm11mpcore + # armv7a + default "cortex-a5" if BR2_cortex_a5 + default "cortex-a7" if BR2_cortex_a7 + default "cortex-a8" if BR2_cortex_a8 + default "cortex-a9" if BR2_cortex_a9 + default "cortex-a12" if BR2_cortex_a12 + default "cortex-a15" if BR2_cortex_a15 + default "cortex-a15.cortex-a7" if BR2_cortex_a15_a7 + default "cortex-a17" if BR2_cortex_a17 + default "cortex-a17.cortex-a7" if BR2_cortex_a17_a7 + default "marvell-pj4" if BR2_pj4 + # armv7m + default "cortex-m3" if BR2_cortex_m3 + default "cortex-m4" if BR2_cortex_m4 + default "cortex-m7" if BR2_cortex_m7 + # armv8a + default "cortex-a32" if BR2_cortex_a32 + default "cortex-a35" if BR2_cortex_a35 + default "cortex-a53" if BR2_cortex_a53 + default "cortex-a57" if BR2_cortex_a57 + default "cortex-a57.cortex-a53" if BR2_cortex_a57_a53 + default "cortex-a72" if BR2_cortex_a72 + default "cortex-a72.cortex-a53" if BR2_cortex_a72_a53 + default "cortex-a73" if BR2_cortex_a73 + default "cortex-a73.cortex-a35" if BR2_cortex_a73_a35 + default "cortex-a73.cortex-a53" if BR2_cortex_a73_a53 + default "emag" if BR2_emag + default "exynos-m1" if BR2_exynos_m1 + default "falkor" if BR2_falkor + default "phecda" if BR2_phecda + default "qdf24xx" if BR2_qdf24xx + default "thunderx" if BR2_thunderx && !BR2_TOOLCHAIN_GCC_AT_LEAST_9 + default "octeontx" if BR2_thunderx && BR2_TOOLCHAIN_GCC_AT_LEAST_9 + default "thunderxt81" if BR2_thunderxt81 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9 + default "octeontx81" if BR2_thunderxt81 && BR2_TOOLCHAIN_GCC_AT_LEAST_9 + default "thunderxt83" if BR2_thunderxt83 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9 + default "octeontx83" if BR2_thunderxt83 && BR2_TOOLCHAIN_GCC_AT_LEAST_9 + default "thunderxt88" if BR2_thunderxt88 + default "thunderxt88p1" if BR2_thunderxt88p1 + default "xgene1" if BR2_xgene1 + # armv8.1a + default "thunderx2t99" if BR2_thunderx2t99 + default "thunderx2t99p1" if BR2_thunderx2t99p1 + default "vulcan" if BR2_vulcan + # armv8.2a + default "cortex-a55" if BR2_cortex_a55 + default "cortex-a75" if BR2_cortex_a75 + default "cortex-a75.cortex-a55" if BR2_cortex_a75_a55 + default "cortex-a76" if BR2_cortex_a76 + default "cortex-a76.cortex-a55" if BR2_cortex_a76_a55 + default "neoverse-n1" if BR2_neoverse_n1 + default "tsv110" if BR2_tsv110 + # armv8.4a + default "saphira" if BR2_saphira + +config BR2_GCC_TARGET_ABI + default "aapcs-linux" if BR2_arm || BR2_armeb + default "lp64" if BR2_aarch64 || BR2_aarch64_be + +config BR2_GCC_TARGET_FPU + default "vfp" if BR2_ARM_FPU_VFPV2 + default "vfpv3" if BR2_ARM_FPU_VFPV3 + default "vfpv3-d16" if BR2_ARM_FPU_VFPV3D16 + default "vfpv4" if BR2_ARM_FPU_VFPV4 + default "vfpv4-d16" if BR2_ARM_FPU_VFPV4D16 + default "neon" if BR2_ARM_FPU_NEON + default "neon-vfpv4" if BR2_ARM_FPU_NEON_VFPV4 + default "fpv4-sp-d16" if BR2_ARM_FPU_FPV4D16 + default "fpv5-sp-d16" if BR2_ARM_FPU_FPV5D16 + default "fpv5-d16" if BR2_ARM_FPU_FPV5DPD16 + default "fp-armv8" if BR2_ARM_FPU_FP_ARMV8 + default "neon-fp-armv8" if BR2_ARM_FPU_NEON_FP_ARMV8 + depends on BR2_arm || BR2_armeb + +config BR2_GCC_TARGET_FLOAT_ABI + default "soft" if BR2_ARM_SOFT_FLOAT + default "softfp" if !BR2_ARM_SOFT_FLOAT && BR2_ARM_EABI + default "hard" if !BR2_ARM_SOFT_FLOAT && BR2_ARM_EABIHF + +config BR2_GCC_TARGET_MODE + default "arm" if BR2_ARM_INSTRUCTIONS_ARM + default "thumb" if BR2_ARM_INSTRUCTIONS_THUMB || BR2_ARM_INSTRUCTIONS_THUMB2 + +config BR2_READELF_ARCH_NAME + default "ARM" if BR2_arm || BR2_armeb + default "AArch64" if BR2_aarch64 || BR2_aarch64_be + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.csky b/buildroot-2022.02.1/arch/Config.in.csky new file mode 100644 index 00000000..b20b39e2 --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.csky @@ -0,0 +1,52 @@ +choice + prompt "Target Architecture Variant" + default BR2_ck610 + help + Specific CPU variant to use + +config BR2_ck610 + # Not supported by upstream gcc <= 9, and handled as a special + # exception in package/gcc/Config.in.host + bool "ck610" + +config BR2_ck807 + bool "ck807" + +config BR2_ck810 + bool "ck810" + +config BR2_ck860 + bool "ck860" + +endchoice + +config BR2_CSKY_FPU + bool "Enable FPU coprocessor" + depends on BR2_ck810 || BR2_ck807 || BR2_ck860 + help + You can say N here if your C-SKY CPU doesn't have a + Floating-Point Coprocessor or if you don't need FPU support + for your user-space programs. + +config BR2_CSKY_VDSP + bool "Enable VDSP enhanced instructions Co-processor" + depends on BR2_CSKY_FPU + +config BR2_GCC_TARGET_FLOAT_ABI + default "soft" if !BR2_CSKY_FPU + default "hard" if BR2_CSKY_FPU + +config BR2_ARCH + default "csky" + +config BR2_NORMALIZED_ARCH + default "csky" + +config BR2_ENDIAN + default "LITTLE" + +config BR2_READELF_ARCH_NAME + default "CSKY" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.m68k b/buildroot-2022.02.1/arch/Config.in.m68k new file mode 100644 index 00000000..1f7d9446 --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.m68k @@ -0,0 +1,46 @@ +config BR2_ARCH + default "m68k" if BR2_m68k + +config BR2_NORMALIZED_ARCH + default "m68k" + +config BR2_ENDIAN + default "BIG" + +# symbols used to distinguish between m68k and coldfire +# for gcc multilib +config BR2_m68k_m68k + bool + +config BR2_m68k_cf + bool + +# coldfire variants will be added later +choice + prompt "Target CPU" + default BR2_m68k_68040 + depends on BR2_m68k + help + Specific CPU variant to use + +config BR2_m68k_68040 + bool "68040" + select BR2_m68k_m68k + select BR2_ARCH_HAS_MMU_MANDATORY + +config BR2_m68k_cf5208 + bool "5208" + select BR2_m68k_cf + select BR2_SOFT_FLOAT + +endchoice + +config BR2_GCC_TARGET_CPU + default "68040" if BR2_m68k_68040 + default "5208" if BR2_m68k_cf5208 + +config BR2_READELF_ARCH_NAME + default "MC68000" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.microblaze b/buildroot-2022.02.1/arch/Config.in.microblaze new file mode 100644 index 00000000..0502001a --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.microblaze @@ -0,0 +1,20 @@ +config BR2_ARCH + default "microblazeel" if BR2_microblazeel + default "microblaze" if BR2_microblazebe + +config BR2_NORMALIZED_ARCH + default "microblaze" + +config BR2_ENDIAN + default "LITTLE" if BR2_microblazeel + default "BIG" if BR2_microblazebe + +config BR2_READELF_ARCH_NAME + default "Xilinx MicroBlaze" + +config BR2_microblaze + bool + default y if BR2_microblazeel || BR2_microblazebe + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.mips b/buildroot-2022.02.1/arch/Config.in.mips new file mode 100644 index 00000000..7f44f06c --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.mips @@ -0,0 +1,279 @@ +# mips default CPU ISAs +config BR2_MIPS_CPU_MIPS32 + bool + select BR2_MIPS_NAN_LEGACY +config BR2_MIPS_CPU_MIPS32R2 + bool + select BR2_MIPS_NAN_LEGACY +config BR2_MIPS_CPU_MIPS32R3 + bool + select BR2_MIPS_NAN_LEGACY +config BR2_MIPS_CPU_MIPS32R5 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +config BR2_MIPS_CPU_MIPS32R6 + bool + select BR2_MIPS_NAN_2008 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +config BR2_MIPS_CPU_MIPS64 + bool + select BR2_MIPS_NAN_LEGACY +config BR2_MIPS_CPU_MIPS64R2 + bool + select BR2_MIPS_NAN_LEGACY +config BR2_MIPS_CPU_MIPS64R3 + bool + select BR2_MIPS_NAN_LEGACY +config BR2_MIPS_CPU_MIPS64R5 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 +config BR2_MIPS_CPU_MIPS64R6 + bool + select BR2_MIPS_NAN_2008 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 + +choice + prompt "Target Architecture Variant" + default BR2_mips_32 if BR2_mips || BR2_mipsel + default BR2_mips_64 if BR2_mips64 || BR2_mips64el + depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + help + Specific CPU variant to use + + 64bit capable: 64, 64r2, 64r3, 64r5, 64r6 + non-64bit capable: 32, 32r2, 32r3, 32r5, 32r6 + +config BR2_mips_32 + bool "Generic MIPS32" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32 +config BR2_mips_32r2 + bool "Generic MIPS32R2" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R2 +config BR2_mips_32r3 + bool "Generic MIPS32R3" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R3 +config BR2_mips_32r5 + bool "Generic MIPS32R5" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R5 +config BR2_mips_32r6 + bool "Generic MIPS32R6" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R6 +config BR2_mips_interaptiv + bool "interAptiv" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R2 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_mips_m5150 + bool "M5150" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R5 + select BR2_MIPS_NAN_2008 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_mips_m6250 + bool "M6250" + depends on !BR2_ARCH_IS_64 + select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT + select BR2_MIPS_CPU_MIPS32R6 +config BR2_mips_p5600 + bool "P5600" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R5 + select BR2_MIPS_NAN_2008 +config BR2_mips_xburst + bool "XBurst" + depends on !BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS32R2 + help + The Ingenic XBurst is a MIPS32R2 microprocessor. It has a + bug in the FPU that can generate incorrect results in + certain cases. The problem shows up when you have several + fused madd instructions in sequence with dependant + operands. This requires the -mno-fused-madd compiler option + to be used in order to prevent emitting these instructions. + + See http://www.ingenic.com/en/?xburst.html +config BR2_mips_64 + bool "Generic MIPS64" + depends on BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS64 +config BR2_mips_64r2 + bool "Generic MIPS64R2" + depends on BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS64R2 +config BR2_mips_64r3 + bool "Generic MIPS64R3" + depends on BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS64R3 +config BR2_mips_64r5 + bool "Generic MIPS64R5" + depends on BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS64R5 +config BR2_mips_64r6 + bool "Generic MIPS64R6" + depends on BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS64R6 +config BR2_mips_i6400 + bool "I6400" + depends on BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS64R6 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_mips_octeon2 + bool "Octeon II" + depends on BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS64R2 + help + Marvell (formerly Cavium Networks) Octeon II CN60XX + processors. +config BR2_mips_octeon3 + bool "Octeon III" + depends on BR2_ARCH_IS_64 + select BR2_MIPS_CPU_MIPS64R3 + help + Marvell (formerly Cavium Networks) Octeon III CN7XXX + processors. +config BR2_mips_p6600 + bool "P6600" + depends on BR2_ARCH_IS_64 + select BR2_ARCH_HAS_NO_TOOLCHAIN_BUILDROOT + select BR2_MIPS_CPU_MIPS64R6 +endchoice + +choice + prompt "Target ABI" + default BR2_MIPS_NABI32 + depends on BR2_mips64 || BR2_mips64el + + help + Application Binary Interface to use + +config BR2_MIPS_NABI32 + bool "n32" + depends on BR2_ARCH_IS_64 + select BR2_KERNEL_64_USERLAND_32 +config BR2_MIPS_NABI64 + bool "n64" + depends on BR2_ARCH_IS_64 +endchoice + +config BR2_MIPS_SOFT_FLOAT + bool "Use soft-float" + default y + depends on !BR2_mips_octeon3 # hard-float only + select BR2_SOFT_FLOAT + help + If your target CPU does not have a Floating Point Unit (FPU) + or a kernel FPU emulator, but you still wish to support + floating point functions, then everything will need to be + compiled with soft floating point support (-msoft-float). + +choice + prompt "FP mode" + default BR2_MIPS_FP32_MODE_XX + depends on !BR2_ARCH_IS_64 && !BR2_MIPS_SOFT_FLOAT + help + MIPS32 supports different FP modes (32,xx,64). Information + about FP modes can be found here: + https://sourceware.org/binutils/docs/as/MIPS-Options.html + https://dmz-portal.imgtec.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking#5._Generating_modeless_code + +config BR2_MIPS_FP32_MODE_32 + bool "32" + depends on !BR2_MIPS_CPU_MIPS32R6 + +config BR2_MIPS_FP32_MODE_XX + bool "xx" + select BR2_ARCH_NEEDS_GCC_AT_LEAST_5 + +config BR2_MIPS_FP32_MODE_64 + bool "64" + depends on !BR2_MIPS_CPU_MIPS32 +endchoice + +config BR2_GCC_TARGET_FP32_MODE + default "32" if BR2_MIPS_FP32_MODE_32 + default "xx" if BR2_MIPS_FP32_MODE_XX + default "64" if BR2_MIPS_FP32_MODE_64 + +config BR2_MIPS_NAN_LEGACY + bool + +config BR2_MIPS_NAN_2008 + bool + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 + +choice + prompt "Target NaN" + default BR2_MIPS_ENABLE_NAN_2008 + depends on BR2_mips_32r5 || BR2_mips_64r5 + help + MIPS supports two different NaN encodings, legacy and 2008. + Information about MIPS NaN encodings can be found here: + https://sourceware.org/binutils/docs/as/MIPS-NaN-Encodings.html + +config BR2_MIPS_ENABLE_NAN_LEGACY + bool "legacy" + select BR2_MIPS_NAN_LEGACY + +config BR2_MIPS_ENABLE_NAN_2008 + bool "2008" + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_MIPS_NAN_2008 +endchoice + +config BR2_GCC_TARGET_NAN + default "legacy" if BR2_MIPS_NAN_LEGACY + default "2008" if BR2_MIPS_NAN_2008 + +config BR2_ARCH + default "mips" if BR2_mips + default "mipsel" if BR2_mipsel + default "mips64" if BR2_mips64 + default "mips64el" if BR2_mips64el + +config BR2_NORMALIZED_ARCH + default "mips" + +config BR2_ENDIAN + default "LITTLE" if BR2_mipsel || BR2_mips64el + default "BIG" if BR2_mips || BR2_mips64 + +config BR2_GCC_TARGET_ARCH + default "mips32" if BR2_mips_32 + default "mips32r2" if BR2_mips_32r2 + default "mips32r3" if BR2_mips_32r3 + default "mips32r5" if BR2_mips_32r5 + default "mips32r6" if BR2_mips_32r6 + default "interaptiv" if BR2_mips_interaptiv + default "m5101" if BR2_mips_m5150 + default "m6201" if BR2_mips_m6250 + default "p5600" if BR2_mips_p5600 + default "mips32r2" if BR2_mips_xburst + default "mips64" if BR2_mips_64 + default "mips64r2" if BR2_mips_64r2 + default "mips64r3" if BR2_mips_64r3 + default "mips64r5" if BR2_mips_64r5 + default "mips64r6" if BR2_mips_64r6 + default "i6400" if BR2_mips_i6400 + default "octeon2" if BR2_mips_octeon2 + default "octeon3" if BR2_mips_octeon3 + default "p6600" if BR2_mips_p6600 + +config BR2_MIPS_OABI32 + bool + default y if BR2_mips || BR2_mipsel + +config BR2_GCC_TARGET_ABI + default "32" if BR2_MIPS_OABI32 + default "n32" if BR2_MIPS_NABI32 + default "64" if BR2_MIPS_NABI64 + +config BR2_READELF_ARCH_NAME + default "MIPS R3000" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.nds32 b/buildroot-2022.02.1/arch/Config.in.nds32 new file mode 100644 index 00000000..0babb2cf --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.nds32 @@ -0,0 +1,17 @@ +config BR2_ARCH + default "nds32le" + +config BR2_NORMALIZED_ARCH + default "nds32" + +config BR2_GCC_TARGET_ARCH + default "v3" + +config BR2_ENDIAN + default "LITTLE" + +config BR2_READELF_ARCH_NAME + default "Andes Technology compact code size embedded RISC processor family" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.nios2 b/buildroot-2022.02.1/arch/Config.in.nios2 new file mode 100644 index 00000000..a5d7e66d --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.nios2 @@ -0,0 +1,14 @@ +config BR2_ARCH + default "nios2" + +config BR2_NORMALIZED_ARCH + default "nios2" + +config BR2_ENDIAN + default "LITTLE" + +config BR2_READELF_ARCH_NAME + default "Altera Nios II" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.or1k b/buildroot-2022.02.1/arch/Config.in.or1k new file mode 100644 index 00000000..f42aef9e --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.or1k @@ -0,0 +1,14 @@ +config BR2_ARCH + default "or1k" + +config BR2_NORMALIZED_ARCH + default "openrisc" + +config BR2_ENDIAN + default "BIG" + +config BR2_READELF_ARCH_NAME + default "OpenRISC 1000" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.powerpc b/buildroot-2022.02.1/arch/Config.in.powerpc new file mode 100644 index 00000000..4a39cfee --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.powerpc @@ -0,0 +1,212 @@ +config BR2_POWERPC_CPU_HAS_ALTIVEC + bool + +config BR2_POWERPC_CPU_HAS_SPE + bool + +choice + prompt "Target Architecture Variant" + default BR2_generic_powerpc + help + Specific CPU variant to use +config BR2_generic_powerpc + bool "generic" +config BR2_powerpc_401 + bool "401" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_403 + bool "403" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_405 + bool "405" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_405fp + bool "405 with FPU" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_440 + bool "440" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_440fp + bool "440 with FPU" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_464 + bool "464" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_464fp + bool "464 with FPU" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_476 + bool "476" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_476fp + bool "476 with FPU" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_505 + bool "505" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_602 + bool "602" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_603 + bool "603" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_603e + bool "603e" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_604 + bool "604" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_604e + bool "604e" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_620 + bool "620" +config BR2_powerpc_630 + bool "630" +config BR2_powerpc_740 + bool "740" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_7400 + bool "7400" + depends on !BR2_ARCH_IS_64 + select BR2_POWERPC_CPU_HAS_ALTIVEC +config BR2_powerpc_7450 + bool "7450" + depends on !BR2_ARCH_IS_64 + select BR2_POWERPC_CPU_HAS_ALTIVEC +config BR2_powerpc_750 + bool "750" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_821 + bool "821" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_823 + bool "823" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_860 + bool "860" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_970 + bool "970" + select BR2_POWERPC_CPU_HAS_ALTIVEC +config BR2_powerpc_8540 + bool "8540 / e500v1" + depends on !BR2_ARCH_IS_64 + select BR2_POWERPC_CPU_HAS_SPE +config BR2_powerpc_8548 + bool "8548 / e500v2" + depends on !BR2_ARCH_IS_64 + select BR2_POWERPC_CPU_HAS_SPE +config BR2_powerpc_e300c2 + bool "e300c2" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_e300c3 + bool "e300c3" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_e500mc + bool "e500mc" + depends on !BR2_ARCH_IS_64 +config BR2_powerpc_e5500 + bool "e5500" + depends on !BR2_powerpc64le +config BR2_powerpc_e6500 + bool "e6500" + depends on !BR2_powerpc64le + select BR2_POWERPC_CPU_HAS_ALTIVEC +config BR2_powerpc_power4 + bool "power4" +config BR2_powerpc_power5 + bool "power5" +config BR2_powerpc_power6 + bool "power6" + select BR2_POWERPC_CPU_HAS_ALTIVEC +config BR2_powerpc_power7 + bool "power7" + select BR2_POWERPC_CPU_HAS_ALTIVEC +config BR2_powerpc_power8 + bool "power8" + select BR2_POWERPC_CPU_HAS_ALTIVEC +endchoice + +choice + prompt "Target ABI" + default BR2_powerpc_SPE if BR2_POWERPC_CPU_HAS_SPE + default BR2_powerpc_CLASSIC + help + Application Binary Interface to use + +config BR2_powerpc_CLASSIC + bool "Classic" + depends on !BR2_POWERPC_CPU_HAS_SPE +config BR2_powerpc_SPE + bool "SPE" + depends on BR2_POWERPC_CPU_HAS_SPE +endchoice + +config BR2_POWERPC_SOFT_FLOAT + bool "Use soft-float" + select BR2_SOFT_FLOAT + help + If your target CPU does not have a Floating Point Unit (FPU) + or a kernel FPU emulator, but you still wish to support + floating point functions, then everything will need to be + compiled with soft floating point support (-msoft-float). + +config BR2_ARCH + default "powerpc" if BR2_powerpc + default "powerpc64" if BR2_powerpc64 + default "powerpc64le" if BR2_powerpc64le + +config BR2_NORMALIZED_ARCH + default "powerpc" + +config BR2_ENDIAN + default "BIG" if BR2_powerpc || BR2_powerpc64 + default "LITTLE" if BR2_powerpc64le + +config BR2_GCC_TARGET_CPU + default "401" if BR2_powerpc_401 + default "403" if BR2_powerpc_403 + default "405" if BR2_powerpc_405 + default "405fp" if BR2_powerpc_405fp + default "440" if BR2_powerpc_440 + default "440fp" if BR2_powerpc_440fp + default "464" if BR2_powerpc_464 + default "464fp" if BR2_powerpc_464fp + default "476" if BR2_powerpc_476 + default "476fp" if BR2_powerpc_476fp + default "505" if BR2_powerpc_505 + default "602" if BR2_powerpc_602 + default "603" if BR2_powerpc_603 + default "603e" if BR2_powerpc_603e + default "604" if BR2_powerpc_604 + default "604e" if BR2_powerpc_604e + default "620" if BR2_powerpc_620 + default "630" if BR2_powerpc_630 + default "740" if BR2_powerpc_740 + default "7400" if BR2_powerpc_7400 + default "7450" if BR2_powerpc_7450 + default "750" if BR2_powerpc_750 + default "821" if BR2_powerpc_821 + default "823" if BR2_powerpc_823 + default "860" if BR2_powerpc_860 + default "970" if BR2_powerpc_970 + default "8540" if BR2_powerpc_8540 + default "8548" if BR2_powerpc_8548 + default "e300c2" if BR2_powerpc_e300c2 + default "e300c3" if BR2_powerpc_e300c3 + default "e500mc" if BR2_powerpc_e500mc + default "e5500" if BR2_powerpc_e5500 + default "e6500" if BR2_powerpc_e6500 + default "power4" if BR2_powerpc_power4 + default "power5" if BR2_powerpc_power5 + default "power6" if BR2_powerpc_power6 + default "power7" if BR2_powerpc_power7 + default "power8" if BR2_powerpc_power8 + +config BR2_READELF_ARCH_NAME + default "PowerPC" if BR2_powerpc + default "PowerPC64" if BR2_powerpc64 || BR2_powerpc64le + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.riscv b/buildroot-2022.02.1/arch/Config.in.riscv new file mode 100644 index 00000000..288ed833 --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.riscv @@ -0,0 +1,139 @@ +# RISC-V CPU ISA extensions. + +config BR2_RISCV_ISA_RVI + bool + +config BR2_RISCV_ISA_RVM + bool + +config BR2_RISCV_ISA_RVA + bool + +config BR2_RISCV_ISA_RVF + bool + +config BR2_RISCV_ISA_RVD + bool + +config BR2_RISCV_ISA_RVC + bool + +choice + prompt "Target Architecture Variant" + default BR2_riscv_g + +config BR2_riscv_g + bool "General purpose (G)" + select BR2_RISCV_ISA_RVI + select BR2_RISCV_ISA_RVM + select BR2_RISCV_ISA_RVA + select BR2_RISCV_ISA_RVF + select BR2_RISCV_ISA_RVD + help + General purpose (G) is equivalent to IMAFD. + +config BR2_riscv_custom + bool "Custom architecture" + select BR2_RISCV_ISA_RVI + select BR2_RISCV_ISA_CUSTOM_RVA + +endchoice + +if BR2_riscv_custom + +comment "Instruction Set Extensions" + +config BR2_RISCV_ISA_CUSTOM_RVM + bool "Integer Multiplication and Division (M)" + select BR2_RISCV_ISA_RVM + +config BR2_RISCV_ISA_CUSTOM_RVA + bool "Atomic Instructions (A)" + select BR2_RISCV_ISA_RVA + +config BR2_RISCV_ISA_CUSTOM_RVF + bool "Single-precision Floating-point (F)" + select BR2_RISCV_ISA_RVF + +config BR2_RISCV_ISA_CUSTOM_RVD + bool "Double-precision Floating-point (D)" + depends on BR2_RISCV_ISA_RVF + select BR2_RISCV_ISA_RVD + +config BR2_RISCV_ISA_CUSTOM_RVC + bool "Compressed Instructions (C)" + select BR2_RISCV_ISA_RVC +endif + +choice + prompt "Target Architecture Size" + default BR2_RISCV_64 + +config BR2_RISCV_32 + bool "32-bit" + select BR2_ARCH_HAS_MMU_MANDATORY + +config BR2_RISCV_64 + bool "64-bit" + select BR2_ARCH_IS_64 + select BR2_ARCH_HAS_MMU_OPTIONAL + +endchoice + +choice + prompt "Target ABI" + default BR2_RISCV_ABI_ILP32D if !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD + default BR2_RISCV_ABI_ILP32F if !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF + default BR2_RISCV_ABI_ILP32 if !BR2_ARCH_IS_64 + default BR2_RISCV_ABI_LP64D if BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD + default BR2_RISCV_ABI_LP64F if BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF + default BR2_RISCV_ABI_LP64 if BR2_ARCH_IS_64 + +config BR2_RISCV_ABI_ILP32 + bool "ilp32" + depends on !BR2_ARCH_IS_64 + +config BR2_RISCV_ABI_ILP32F + bool "ilp32f" + depends on !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF + +config BR2_RISCV_ABI_ILP32D + bool "ilp32d" + depends on !BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD + +config BR2_RISCV_ABI_LP64 + bool "lp64" + depends on BR2_ARCH_IS_64 + +config BR2_RISCV_ABI_LP64F + bool "lp64f" + depends on BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVF + +config BR2_RISCV_ABI_LP64D + bool "lp64d" + depends on BR2_ARCH_IS_64 && BR2_RISCV_ISA_RVD +endchoice + +config BR2_ARCH + default "riscv32" if !BR2_ARCH_IS_64 + default "riscv64" if BR2_ARCH_IS_64 + +config BR2_NORMALIZED_ARCH + default "riscv" + +config BR2_ENDIAN + default "LITTLE" + +config BR2_GCC_TARGET_ABI + default "ilp32" if BR2_RISCV_ABI_ILP32 + default "ilp32f" if BR2_RISCV_ABI_ILP32F + default "ilp32d" if BR2_RISCV_ABI_ILP32D + default "lp64" if BR2_RISCV_ABI_LP64 + default "lp64f" if BR2_RISCV_ABI_LP64F + default "lp64d" if BR2_RISCV_ABI_LP64D + +config BR2_READELF_ARCH_NAME + default "RISC-V" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.s390x b/buildroot-2022.02.1/arch/Config.in.s390x new file mode 100644 index 00000000..da6ac55d --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.s390x @@ -0,0 +1,32 @@ +choice + prompt "Target Architecture Variant" + help + Specific CPU variant to use + +config BR2_s390x_z13 + bool "z13" + +config BR2_s390x_z14 + bool "z14" + +config BR2_s390x_z15 + bool "z15" + +endchoice + +config BR2_ARCH + default "s390x" if BR2_s390x + +config BR2_NORMALIZED_ARCH + default "s390" + +config BR2_ENDIAN + default "BIG" + +config BR2_GCC_TARGET_ARCH + default "arch11" if BR2_s390x_z13 + default "arch12" if BR2_s390x_z14 + default "arch13" if BR2_s390x_z15 + +config BR2_READELF_ARCH_NAME + default "IBM S/390" if BR2_s390x diff --git a/buildroot-2022.02.1/arch/Config.in.sh b/buildroot-2022.02.1/arch/Config.in.sh new file mode 100644 index 00000000..c1ba449d --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.sh @@ -0,0 +1,38 @@ +choice + prompt "Target Architecture Variant" + default BR2_sh4 + depends on BR2_sh + help + Specific CPU variant to use + +config BR2_sh2a + bool "sh2a (SH2A big endian)" +config BR2_sh4 + bool "sh4 (SH4 little endian)" +config BR2_sh4eb + bool "sh4eb (SH4 big endian)" +config BR2_sh4a + bool "sh4a (SH4A little endian)" +config BR2_sh4aeb + bool "sh4aeb (SH4A big endian)" +endchoice + +config BR2_ARCH + default "sh2a" if BR2_sh2a + default "sh4" if BR2_sh4 + default "sh4eb" if BR2_sh4eb + default "sh4a" if BR2_sh4a + default "sh4aeb" if BR2_sh4aeb + +config BR2_NORMALIZED_ARCH + default "sh" + +config BR2_ENDIAN + default "LITTLE" if BR2_sh4 || BR2_sh4a + default "BIG" if BR2_sh2a || BR2_sh4eb || BR2_sh4aeb + +config BR2_READELF_ARCH_NAME + default "Renesas / SuperH SH" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.sparc b/buildroot-2022.02.1/arch/Config.in.sparc new file mode 100644 index 00000000..f5f4bd67 --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.sparc @@ -0,0 +1,41 @@ +choice + prompt "Target Architecture Variant" + default BR2_sparc_v8 if BR2_sparc + default BR2_sparc_v9 if BR2_sparc64 + depends on BR2_sparc || BR2_sparc64 + help + Specific CPU variant to use + +config BR2_sparc_v8 + bool "v8" + depends on BR2_sparc +config BR2_sparc_leon3 + bool "leon3" + depends on BR2_sparc +config BR2_sparc_v9 + bool "v9" + depends on BR2_sparc64 +endchoice + +config BR2_ARCH + default "sparc" if BR2_sparc + default "sparc64" if BR2_sparc64 + +config BR2_NORMALIZED_ARCH + default "sparc" if BR2_sparc + default "sparc64" if BR2_sparc64 + +config BR2_ENDIAN + default "BIG" + +config BR2_GCC_TARGET_CPU + default "leon3" if BR2_sparc_leon3 + default "v8" if BR2_sparc_v8 + default "ultrasparc" if BR2_sparc_v9 + +config BR2_READELF_ARCH_NAME + default "Sparc" if BR2_sparc + default "Sparc v9" if BR2_sparc64 + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.x86 b/buildroot-2022.02.1/arch/Config.in.x86 new file mode 100644 index 00000000..2560da92 --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.x86 @@ -0,0 +1,637 @@ +# i386/x86_64 cpu features +config BR2_X86_CPU_HAS_MMX + bool +config BR2_X86_CPU_HAS_3DNOW + bool +config BR2_X86_CPU_HAS_SSE + bool +config BR2_X86_CPU_HAS_SSE2 + bool +config BR2_X86_CPU_HAS_SSE3 + bool +config BR2_X86_CPU_HAS_SSSE3 + bool +config BR2_X86_CPU_HAS_SSE4 + bool +config BR2_X86_CPU_HAS_SSE42 + bool +config BR2_X86_CPU_HAS_AVX + bool +config BR2_X86_CPU_HAS_AVX2 + bool +config BR2_X86_CPU_HAS_AVX512 + bool + +# This list of CPU architecture variant is (loosely) ordered according +# to the gcc documentation at +# https://gcc.gnu.org/onlinedocs/gcc-11.2.0/gcc/x86-Options.html +choice + prompt "Target Architecture Variant" + default BR2_x86_i586 if BR2_i386 + depends on BR2_i386 || BR2_x86_64 + help + Specific CPU variant to use + +config BR2_x86_i486 + bool "i486" + depends on !BR2_x86_64 +config BR2_x86_i586 + bool "i586" + depends on !BR2_x86_64 +config BR2_x86_x1000 + bool "x1000" + depends on !BR2_x86_64 + help + The Intel X1000 is a Pentium class microprocessor in the + Quark (sub-Atom) Product Line. The X1000 has a bug on the + lock prefix requiring that prefix must be stripped at build + time. + + See https://en.wikipedia.org/wiki/Intel_Quark + +config BR2_x86_i686 + bool "i686" + depends on !BR2_x86_64 +config BR2_x86_pentiumpro + bool "pentium pro" + depends on !BR2_x86_64 +config BR2_x86_pentium_mmx + bool "pentium MMX" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX +config BR2_x86_pentium_m + bool "pentium mobile" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE +config BR2_x86_pentium2 + bool "pentium2" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX +config BR2_x86_pentium3 + bool "pentium3" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE +config BR2_x86_pentium4 + bool "pentium4" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 +config BR2_x86_prescott + bool "prescott" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 +config BR2_x86_x86_64 + bool "x86-64" + depends on BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + help + This option corresponds to -march=x86-64, documented as a + "Generic CPU with 64-bit extensions" by the GCC + documentation. It is a 64-bit CPU with MMX, SSE and SSE2 + support. +config BR2_x86_x86_64_v2 + bool "x86-64-v2" + depends on BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_11 + help + This option corresponds to the x86-64-v2 micro-architecture + level, as defined by the x86-64 psABI document, see + https://gitlab.com/x86-psABIs/x86-64-ABI/-/blob/master/x86-64-ABI/low-level-sys-info.tex. + + It is close to the Nehalem CPU architecture, and is + applicable for CPUs that support CMPXCHG16B, LAHF-SAHF, + POPCNT, SSE3, SSE4.1, SSE4.2, SSSE3. +config BR2_x86_x86_64_v3 + bool "x86-64-v3" + depends on BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_11 + help + This option corresponds to the x86-64-v3 micro-architecture + level, as defined by the x86-64 psABI document, see + https://gitlab.com/x86-psABIs/x86-64-ABI/-/blob/master/x86-64-ABI/low-level-sys-info.tex. + + It is close to the Haswell CPU architecture, and is + applicable for CPUs that support all of x86-64-v2 plus AVX, + AVX2, BMI1, BMI2, F16C, FMA, LZCNT, MOVBE, XSAVE. +config BR2_x86_x86_64_v4 + bool "x86-64-v4" + depends on BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_11 + help + This option corresponds to the x86-64-v4 micro-architecture + level, as defined by the x86-64 psABI document, see + https://gitlab.com/x86-psABIs/x86-64-ABI/-/blob/master/x86-64-ABI/low-level-sys-info.tex. + + It is applicable for CPUs that support all of x86-64-v3 plus + AVX512F, AVX512BW, AVX512CD, AVX512DQ, AVX512VL. +config BR2_x86_nocona + bool "nocona" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 +config BR2_x86_core2 + bool "core2" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 +config BR2_x86_corei7 + bool "corei7" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + help + This option is deprecated. Since gcc 4.9, the gcc option + "nehalem" is preferred. Use BR2_x86_nehalem instead. +config BR2_x86_nehalem + bool "nehalem" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 +config BR2_x86_westmere + bool "westmere" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 +config BR2_x86_corei7_avx + bool "corei7-avx" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + help + This option is deprecated. Since gcc 4.9, the gcc option + "sandybridge" is preferred. Use BR2_x86_sandybridge instead. +config BR2_x86_sandybridge + bool "sandybridge" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 +config BR2_x86_core_avx2 + bool "core-avx2" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + help + This option is deprecated. Since gcc 4.9, the gcc option + "haswell" is preferred. Use BR2_x86_haswell instead. +config BR2_x86_haswell + bool "haswell" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 +config BR2_x86_broadwell + bool "broadwell" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 +config BR2_x86_skylake + bool "skylake" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_x86_atom + bool "atom" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + help + This option is deprecated. Since gcc 4.9, the gcc option + "bonnel" is preferred. Use BR2_x86_bonnel instead. +config BR2_x86_bonnel + bool "bonnel" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 +config BR2_x86_silvermont + bool "silvermont" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9 +config BR2_x86_goldmont + bool "goldmont" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_x86_goldmont_plus + bool "goldmont-plus" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_x86_tremont + bool "tremont" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_x86_skylake_avx512 + bool "skylake-avx512" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_6 +config BR2_x86_cannonlake + bool "cannonlake" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 +config BR2_x86_icelake_client + bool "icelake-client" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 +config BR2_x86_icelake_server + bool "icelake-server" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_8 +config BR2_x86_cascadelake + bool "cascadelake" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_x86_cooperlake + bool "cooperlake" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_10 +config BR2_x86_tigerlake + bool "tigerlake" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_9 +config BR2_x86_sapphirerapids + bool "sapphirerapids" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_11 +config BR2_x86_alderlake + bool "alderlake" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_11 +config BR2_x86_rocketlake + bool "rocketlake" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 + select BR2_X86_CPU_HAS_AVX + select BR2_X86_CPU_HAS_AVX2 + select BR2_X86_CPU_HAS_AVX512 + select BR2_ARCH_NEEDS_GCC_AT_LEAST_11 +config BR2_x86_k6 + bool "k6" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX +config BR2_x86_k6_2 + bool "k6-2" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_3DNOW +config BR2_x86_athlon + bool "athlon" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_3DNOW +config BR2_x86_athlon_4 + bool "athlon-4" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_3DNOW +config BR2_x86_opteron + bool "opteron" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 +config BR2_x86_opteron_sse3 + bool "opteron w/ SSE3" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 +config BR2_x86_barcelona + bool "barcelona" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 +config BR2_x86_jaguar + bool "jaguar" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 +config BR2_x86_steamroller + bool "steamroller" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 + select BR2_X86_CPU_HAS_SSE4 + select BR2_X86_CPU_HAS_SSE42 +config BR2_x86_geode + bool "geode" + # Don't include MMX support because there several variant of geode + # processor, some with MMX support, some without. + # See: http://en.wikipedia.org/wiki/Geode_%28processor%29 + depends on !BR2_x86_64 +config BR2_x86_c3 + bool "Via/Cyrix C3 (Samuel/Ezra cores)" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_3DNOW +config BR2_x86_c32 + bool "Via C3-2 (Nehemiah cores)" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE +config BR2_x86_winchip_c6 + bool "IDT Winchip C6" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX +config BR2_x86_winchip2 + bool "IDT Winchip 2" + depends on !BR2_x86_64 + select BR2_X86_CPU_HAS_MMX +endchoice + +config BR2_ARCH + default "i486" if BR2_x86_i486 + default "i586" if BR2_x86_i586 + default "i586" if BR2_x86_x1000 + default "i586" if BR2_x86_pentium_mmx + default "i586" if BR2_x86_geode + default "i586" if BR2_x86_c3 + default "i686" if BR2_x86_c32 + default "i586" if BR2_x86_winchip_c6 + default "i586" if BR2_x86_winchip2 + # We use the property of Kconfig that the first match of a + # list of default will be chosen. So the following entry will + # not match for all BR2_i386=y configurations, but only the + # ones that didn't match any of the previous cases (i486, + # i586). + default "i686" if BR2_i386 + default "x86_64" if BR2_x86_64 + +config BR2_NORMALIZED_ARCH + default "i386" if !BR2_x86_64 + default "x86_64" if BR2_x86_64 + +config BR2_ENDIAN + default "LITTLE" + +config BR2_GCC_TARGET_ARCH + default "i486" if BR2_x86_i486 + default "i586" if BR2_x86_i586 + default "i586" if BR2_x86_x1000 + default "pentium-mmx" if BR2_x86_pentium_mmx + default "i686" if BR2_x86_i686 + default "pentiumpro" if BR2_x86_pentiumpro + default "pentium-m" if BR2_x86_pentium_m + default "pentium2" if BR2_x86_pentium2 + default "pentium3" if BR2_x86_pentium3 + default "pentium4" if BR2_x86_pentium4 + default "prescott" if BR2_x86_prescott + default "x86-64" if BR2_x86_x86_64 + default "x86-64-v2" if BR2_x86_x86_64_v2 + default "x86-64-v3" if BR2_x86_x86_64_v3 + default "x86-64-v4" if BR2_x86_x86_64_v4 + default "nocona" if BR2_x86_nocona + default "core2" if BR2_x86_core2 + default "corei7" if BR2_x86_corei7 + default "nehalem" if BR2_x86_nehalem + default "corei7-avx" if BR2_x86_corei7_avx + default "sandybridge" if BR2_x86_sandybridge + default "core-avx2" if BR2_x86_core_avx2 + default "haswell" if BR2_x86_haswell + default "broadwell" if BR2_x86_broadwell + default "skylake" if BR2_x86_skylake + default "atom" if BR2_x86_atom + default "bonnel" if BR2_x86_bonnel + default "westmere" if BR2_x86_westmere + default "silvermont" if BR2_x86_silvermont + default "goldmont" if BR2_x86_goldmont + default "goldmont-plus" if BR2_x86_goldmont_plus + default "tremont" if BR2_x86_tremont + default "skylake-avx512" if BR2_x86_skylake_avx512 + default "cannonlake" if BR2_x86_cannonlake + default "icelake-client" if BR2_x86_icelake_client + default "icelake-server" if BR2_x86_icelake_server + default "cascadelake" if BR2_x86_cascadelake + default "cooperlake" if BR2_x86_cooperlake + default "tigerlake" if BR2_x86_tigerlake + default "sapphirerapids" if BR2_x86_sapphirerapids + default "alderlake" if BR2_x86_alderlake + default "rocketlake" if BR2_x86_rocketlake + default "k8" if BR2_x86_opteron + default "k8-sse3" if BR2_x86_opteron_sse3 + default "barcelona" if BR2_x86_barcelona + default "btver2" if BR2_x86_jaguar + default "bdver3" if BR2_x86_steamroller + default "k6" if BR2_x86_k6 + default "k6-2" if BR2_x86_k6_2 + default "athlon" if BR2_x86_athlon + default "athlon-4" if BR2_x86_athlon_4 + default "winchip-c6" if BR2_x86_winchip_c6 + default "winchip2" if BR2_x86_winchip2 + default "c3" if BR2_x86_c3 + default "c3-2" if BR2_x86_c32 + default "geode" if BR2_x86_geode + +config BR2_READELF_ARCH_NAME + default "Intel 80386" if BR2_i386 + default "Advanced Micro Devices X86-64" if BR2_x86_64 + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2022.02.1/arch/Config.in.xtensa b/buildroot-2022.02.1/arch/Config.in.xtensa new file mode 100644 index 00000000..45ad2dc4 --- /dev/null +++ b/buildroot-2022.02.1/arch/Config.in.xtensa @@ -0,0 +1,58 @@ +choice + prompt "Target Architecture Variant" + default BR2_xtensa_fsf + depends on BR2_xtensa + +config BR2_XTENSA_CUSTOM + bool "Custom Xtensa processor configuration" + select BR2_ARCH_HAS_MMU_OPTIONAL + +config BR2_xtensa_fsf + bool "fsf - Default configuration" + select BR2_ARCH_HAS_MMU_MANDATORY + +endchoice + +config BR2_XTENSA_OVERLAY_FILE + string "Overlay file for custom configuration" + depends on BR2_XTENSA_CUSTOM + help + Enter the path to the overlay tarball for a custom processor + configuration. + + These overlay files are tar packages with updated + configuration files for various toolchain packages and Xtensa + processor configurations. They are provided by the processor + vendor or directly from Tensilica. + + The path can be either absolute, or relative to the top + directory of buildroot. + +choice + prompt "Target Architecture Endianness" + default BR2_XTENSA_LITTLE_ENDIAN + depends on BR2_XTENSA_CUSTOM + +config BR2_XTENSA_LITTLE_ENDIAN + bool "Little endian" + +config BR2_XTENSA_BIG_ENDIAN + bool "Big endian" + +endchoice + +config BR2_ENDIAN + default "LITTLE" if BR2_XTENSA_LITTLE_ENDIAN + default "BIG" if BR2_xtensa_fsf || BR2_XTENSA_BIG_ENDIAN + +config BR2_ARCH + default "xtensa" if BR2_xtensa + +config BR2_NORMALIZED_ARCH + default "xtensa" + +config BR2_READELF_ARCH_NAME + default "Tensilica Xtensa Processor" + +# vim: ft=kconfig +# -*- mode:kconfig; -*- diff --git a/buildroot-2021.05/arch/arch.mk b/buildroot-2022.02.1/arch/arch.mk similarity index 100% rename from buildroot-2021.05/arch/arch.mk rename to buildroot-2022.02.1/arch/arch.mk diff --git a/buildroot-2021.05/arch/arch.mk.arc b/buildroot-2022.02.1/arch/arch.mk.arc similarity index 100% rename from buildroot-2021.05/arch/arch.mk.arc rename to buildroot-2022.02.1/arch/arch.mk.arc diff --git a/buildroot-2021.05/arch/arch.mk.csky b/buildroot-2022.02.1/arch/arch.mk.csky similarity index 100% rename from buildroot-2021.05/arch/arch.mk.csky rename to buildroot-2022.02.1/arch/arch.mk.csky diff --git a/buildroot-2021.05/arch/arch.mk.riscv b/buildroot-2022.02.1/arch/arch.mk.riscv similarity index 100% rename from buildroot-2021.05/arch/arch.mk.riscv rename to buildroot-2022.02.1/arch/arch.mk.riscv diff --git a/buildroot-2021.05/arch/arch.mk.xtensa b/buildroot-2022.02.1/arch/arch.mk.xtensa similarity index 100% rename from buildroot-2021.05/arch/arch.mk.xtensa rename to buildroot-2022.02.1/arch/arch.mk.xtensa diff --git a/buildroot-2022.02.1/board/aarch64-efi/genimage-efi.cfg b/buildroot-2022.02.1/board/aarch64-efi/genimage-efi.cfg new file mode 100644 index 00000000..87e85816 --- /dev/null +++ b/buildroot-2022.02.1/board/aarch64-efi/genimage-efi.cfg @@ -0,0 +1,30 @@ +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + file Image { + image = "Image" + } + } + + size = 64M +} + +image disk.img { + hdimage { + partition-table-type = "gpt" + } + + partition boot { + image = "efi-part.vfat" + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + offset = 32K + bootable = true + } + + partition root { + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae + image = "rootfs.ext2" + } +} diff --git a/buildroot-2021.05/board/aarch64-efi/grub.cfg b/buildroot-2022.02.1/board/aarch64-efi/grub.cfg similarity index 100% rename from buildroot-2021.05/board/aarch64-efi/grub.cfg rename to buildroot-2022.02.1/board/aarch64-efi/grub.cfg diff --git a/buildroot-2021.05/board/aarch64-efi/post-image.sh b/buildroot-2022.02.1/board/aarch64-efi/post-image.sh similarity index 100% rename from buildroot-2021.05/board/aarch64-efi/post-image.sh rename to buildroot-2022.02.1/board/aarch64-efi/post-image.sh diff --git a/buildroot-2022.02.1/board/aarch64-efi/readme.txt b/buildroot-2022.02.1/board/aarch64-efi/readme.txt new file mode 100644 index 00000000..0e7ea0b5 --- /dev/null +++ b/buildroot-2022.02.1/board/aarch64-efi/readme.txt @@ -0,0 +1,53 @@ + +The aarch64_efi_defconfig allows to build a minimal Linux system that +can boot on all AArch64 servers providing an EFI firmware. + +This includes all Arm EBBR[1] compliant systems, and all Arm SystemReady[2] +compliant systems for example. + + +Building and booting +==================== + +$ make aarch64_efi_defconfig +$ make + +The file output/images/disk.img is a complete disk image that can be +booted, it includes the grub2 bootloader, Linux kernel and root +filesystem. + +Testing under Qemu +================== + +This image can also be tested using Qemu: + +qemu-system-aarch64 \ + -M virt \ + -cpu cortex-a57 \ + -m 512 \ + -nographic \ + -bios \ + -drive file=output/images/disk.img,if=none,format=raw,id=hd0 \ + -device virtio-blk-device,drive=hd0 \ + -netdev user,id=eth0 \ + -device virtio-net-device,netdev=eth0 + +Note that needs to point to a valid aarch64 UEFI +firmware image for qemu. +It may be provided by your distribution as a edk2-aarch64 or AAVMF +package, in path such as /usr/share/edk2/aarch64/QEMU_EFI.fd . + +U-Boot based qemu firmware +========================== + +A qemu firmware with support for UEFI based on U-Boot can be built following +the instructions in [3], with qemu_arm64_defconfig. + +This should give you a nor_flash.bin, which you can use with qemu as an +alternative to QEMU_EFI.fd. You will also need to change the machine +specification to "-M virt,secure=on" on qemu command line, to enable TrustZone +support, and you will need to increase the memory with "-m 1024". + +[1]: https://github.com/ARM-software/ebbr +[2]: https://developer.arm.com/architectures/system-architectures/arm-systemready +[3]: https://github.com/glikely/u-boot-tfa-build diff --git a/buildroot-2021.05/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts b/buildroot-2022.02.1/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts similarity index 100% rename from buildroot-2021.05/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts rename to buildroot-2022.02.1/board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts diff --git a/buildroot-2022.02.1/board/acmesystems/acqua-a5/genimage.cfg b/buildroot-2022.02.1/board/acmesystems/acqua-a5/genimage.cfg new file mode 100644 index 00000000..7fa0a69c --- /dev/null +++ b/buildroot-2022.02.1/board/acmesystems/acqua-a5/genimage.cfg @@ -0,0 +1,29 @@ +# Minimal SD card image for the Acme Systems Acqua A5 + +image boot.vfat { + vfat { + files = { + "boot.bin", + "zImage", + "at91-sama5d3_acqua.dtb" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/acmesystems/acqua-a5/readme.txt b/buildroot-2022.02.1/board/acmesystems/acqua-a5/readme.txt similarity index 100% rename from buildroot-2021.05/board/acmesystems/acqua-a5/readme.txt rename to buildroot-2022.02.1/board/acmesystems/acqua-a5/readme.txt diff --git a/buildroot-2022.02.1/board/acmesystems/aria-g25/genimage.cfg b/buildroot-2022.02.1/board/acmesystems/aria-g25/genimage.cfg new file mode 100644 index 00000000..29dc6971 --- /dev/null +++ b/buildroot-2022.02.1/board/acmesystems/aria-g25/genimage.cfg @@ -0,0 +1,36 @@ +# Minimal SD card image for the Acmesystems Aria G25 + +image boot.vfat { + vfat { + file zImage { + image = "zImage" + } + + file at91-ariag25.dtb { + image = "at91-ariag25.dtb" + } + + file boot.bin { + image = "at91sam9x5_aria-sdcardboot-linux-zimage-dt-3.10.3.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/acmesystems/aria-g25/readme.txt b/buildroot-2022.02.1/board/acmesystems/aria-g25/readme.txt similarity index 100% rename from buildroot-2021.05/board/acmesystems/aria-g25/readme.txt rename to buildroot-2022.02.1/board/acmesystems/aria-g25/readme.txt diff --git a/buildroot-2022.02.1/board/acmesystems/arietta-g25/genimage.cfg b/buildroot-2022.02.1/board/acmesystems/arietta-g25/genimage.cfg new file mode 100644 index 00000000..3b67a474 --- /dev/null +++ b/buildroot-2022.02.1/board/acmesystems/arietta-g25/genimage.cfg @@ -0,0 +1,36 @@ +# Minimal SD card image for the Acmesystems Arietta G25 + +image boot.vfat { + vfat { + file zImage { + image = "zImage" + } + + file acme-arietta.dtb { + image = "at91-ariettag25.dtb" + } + + file boot.bin { + image = "at91sam9x5_arietta-sdcardboot-linux-zimage-dt-3.10.3.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/acmesystems/arietta-g25/readme.txt b/buildroot-2022.02.1/board/acmesystems/arietta-g25/readme.txt similarity index 100% rename from buildroot-2021.05/board/acmesystems/arietta-g25/readme.txt rename to buildroot-2022.02.1/board/acmesystems/arietta-g25/readme.txt diff --git a/buildroot-2021.05/board/altera/socrates_cyclone5/boot-env.txt b/buildroot-2022.02.1/board/altera/socrates_cyclone5/boot-env.txt similarity index 100% rename from buildroot-2021.05/board/altera/socrates_cyclone5/boot-env.txt rename to buildroot-2022.02.1/board/altera/socrates_cyclone5/boot-env.txt diff --git a/buildroot-2022.02.1/board/altera/socrates_cyclone5/genimage.cfg b/buildroot-2022.02.1/board/altera/socrates_cyclone5/genimage.cfg new file mode 100644 index 00000000..d31c3838 --- /dev/null +++ b/buildroot-2022.02.1/board/altera/socrates_cyclone5/genimage.cfg @@ -0,0 +1,59 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "socfpga_cyclone5_socrates.dtb" + } + } + + size = 8M +} + +image uboot.img { + hdimage { + partition-table = "no" + } + + partition spl { + in-partition-table = "no" + image = "u-boot-spl.bin.crc" + offset = 0 + size = 64K + } + + partition uboot-full { + in-partition-table = "no" + image = "u-boot.img" + offset = 256K + } + + size = 1M +} + +image sdcard.img { + hdimage { + } + + partition uboot-env { + in-partition-table = "no" + image = "uboot-env.bin" + offset = 17K # 512 * 34 -> just after gpt + } + + partition boot { + partition-type = 0xc + bootable = "true" + image = "boot.vfat" + } + + partition uboot { + partition-type = 0xa2 + image = "uboot.img" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + size = 500M + } +} diff --git a/buildroot-2021.05/board/altera/socrates_cyclone5/readme.txt b/buildroot-2022.02.1/board/altera/socrates_cyclone5/readme.txt similarity index 100% rename from buildroot-2021.05/board/altera/socrates_cyclone5/readme.txt rename to buildroot-2022.02.1/board/altera/socrates_cyclone5/readme.txt diff --git a/buildroot-2021.05/board/amarula/a64-relic/extlinux.conf b/buildroot-2022.02.1/board/amarula/a64-relic/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/amarula/a64-relic/extlinux.conf rename to buildroot-2022.02.1/board/amarula/a64-relic/extlinux.conf diff --git a/buildroot-2022.02.1/board/amarula/a64-relic/genimage.cfg b/buildroot-2022.02.1/board/amarula/a64-relic/genimage.cfg new file mode 100644 index 00000000..58b607f5 --- /dev/null +++ b/buildroot-2022.02.1/board/amarula/a64-relic/genimage.cfg @@ -0,0 +1,11 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-amarula-relic.dtb", + "extlinux" + } + } + + size = 64M +} diff --git a/buildroot-2021.05/board/amarula/a64-relic/post-build.sh b/buildroot-2022.02.1/board/amarula/a64-relic/post-build.sh similarity index 100% rename from buildroot-2021.05/board/amarula/a64-relic/post-build.sh rename to buildroot-2022.02.1/board/amarula/a64-relic/post-build.sh diff --git a/buildroot-2021.05/board/amarula/a64-relic/readme.txt b/buildroot-2022.02.1/board/amarula/a64-relic/readme.txt similarity index 100% rename from buildroot-2021.05/board/amarula/a64-relic/readme.txt rename to buildroot-2022.02.1/board/amarula/a64-relic/readme.txt diff --git a/buildroot-2021.05/board/amarula/a64-relic/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt b/buildroot-2022.02.1/board/amarula/a64-relic/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt similarity index 100% rename from buildroot-2021.05/board/amarula/a64-relic/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt rename to buildroot-2022.02.1/board/amarula/a64-relic/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt diff --git a/buildroot-2021.05/board/amarula/vyasa/extlinux.conf b/buildroot-2022.02.1/board/amarula/vyasa/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/amarula/vyasa/extlinux.conf rename to buildroot-2022.02.1/board/amarula/vyasa/extlinux.conf diff --git a/buildroot-2021.05/board/amarula/vyasa/genimage.cfg b/buildroot-2022.02.1/board/amarula/vyasa/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/amarula/vyasa/genimage.cfg rename to buildroot-2022.02.1/board/amarula/vyasa/genimage.cfg diff --git a/buildroot-2021.05/board/amarula/vyasa/linux_gmac.fragment b/buildroot-2022.02.1/board/amarula/vyasa/linux_gmac.fragment similarity index 100% rename from buildroot-2021.05/board/amarula/vyasa/linux_gmac.fragment rename to buildroot-2022.02.1/board/amarula/vyasa/linux_gmac.fragment diff --git a/buildroot-2021.05/board/amarula/vyasa/post-build.sh b/buildroot-2022.02.1/board/amarula/vyasa/post-build.sh similarity index 100% rename from buildroot-2021.05/board/amarula/vyasa/post-build.sh rename to buildroot-2022.02.1/board/amarula/vyasa/post-build.sh diff --git a/buildroot-2021.05/board/amarula/vyasa/readme.txt b/buildroot-2022.02.1/board/amarula/vyasa/readme.txt similarity index 100% rename from buildroot-2021.05/board/amarula/vyasa/readme.txt rename to buildroot-2022.02.1/board/amarula/vyasa/readme.txt diff --git a/buildroot-2021.05/board/andes/ae3xx/ae3xx.fragment b/buildroot-2022.02.1/board/andes/ae3xx/ae3xx.fragment similarity index 100% rename from buildroot-2021.05/board/andes/ae3xx/ae3xx.fragment rename to buildroot-2022.02.1/board/andes/ae3xx/ae3xx.fragment diff --git a/buildroot-2021.05/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch b/buildroot-2022.02.1/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch similarity index 100% rename from buildroot-2021.05/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch rename to buildroot-2022.02.1/board/andes/patches/linux/0001-nds32-Fix-boot-messages-garbled.patch diff --git a/buildroot-2022.02.1/board/andes/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch b/buildroot-2022.02.1/board/andes/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch new file mode 100644 index 00000000..71ae9918 --- /dev/null +++ b/buildroot-2022.02.1/board/andes/patches/linux/0002-scripts-dtc-Remove-redundant-YYLOC-global-declaratio.patch @@ -0,0 +1,52 @@ +From f9df4186c17d686f1ca38f973d7a3a49e8e37c01 Mon Sep 17 00:00:00 2001 +From: Dirk Mueller +Date: Tue, 14 Jan 2020 18:53:41 +0100 +Subject: [PATCH] scripts/dtc: Remove redundant YYLOC global declaration + +gcc 10 will default to -fno-common, which causes this error at link +time: + + (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here + +This is because both dtc-lexer as well as dtc-parser define the same +global symbol yyloc. Before with -fcommon those were merged into one +defintion. The proper solution would be to to mark this as "extern", +however that leads to: + + dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls] + 26 | extern YYLTYPE yylloc; + | ^~~~~~ +In file included from dtc-lexer.l:24: +dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here + 127 | extern YYLTYPE yylloc; + | ^~~~~~ +cc1: all warnings being treated as errors + +which means the declaration is completely redundant and can just be +dropped. + +Signed-off-by: Dirk Mueller +Signed-off-by: David Gibson +[robh: cherry-pick from upstream] +Cc: stable@vger.kernel.org +Signed-off-by: Rob Herring +Signed-off-by: Giulio Benetti +--- + scripts/dtc/dtc-lexer.l | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l +index 06c040902444..d1b3810156c7 100644 +--- a/scripts/dtc/dtc-lexer.l ++++ b/scripts/dtc/dtc-lexer.l +@@ -38,7 +38,6 @@ LINECOMMENT "//".*\n + #include "srcpos.h" + #include "dtc-parser.tab.h" + +-YYLTYPE yylloc; + extern bool treesource_error; + + /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ +-- +2.25.1 + diff --git a/buildroot-2021.05/board/andes/readme.txt b/buildroot-2022.02.1/board/andes/readme.txt similarity index 100% rename from buildroot-2021.05/board/andes/readme.txt rename to buildroot-2022.02.1/board/andes/readme.txt diff --git a/buildroot-2021.05/board/arcturus/aarch64-ucls1012a/post-build.sh b/buildroot-2022.02.1/board/arcturus/aarch64-ucls1012a/post-build.sh similarity index 100% rename from buildroot-2021.05/board/arcturus/aarch64-ucls1012a/post-build.sh rename to buildroot-2022.02.1/board/arcturus/aarch64-ucls1012a/post-build.sh diff --git a/buildroot-2021.05/board/arcturus/aarch64-ucls1012a/post-image.sh b/buildroot-2022.02.1/board/arcturus/aarch64-ucls1012a/post-image.sh similarity index 100% rename from buildroot-2021.05/board/arcturus/aarch64-ucls1012a/post-image.sh rename to buildroot-2022.02.1/board/arcturus/aarch64-ucls1012a/post-image.sh diff --git a/buildroot-2021.05/board/arcturus/aarch64-ucls1012a/readme.txt b/buildroot-2022.02.1/board/arcturus/aarch64-ucls1012a/readme.txt similarity index 100% rename from buildroot-2021.05/board/arcturus/aarch64-ucls1012a/readme.txt rename to buildroot-2022.02.1/board/arcturus/aarch64-ucls1012a/readme.txt diff --git a/buildroot-2021.05/board/arcturus/aarch64-ucls1012a/rootfs_overlay/etc/init.d/S09modload b/buildroot-2022.02.1/board/arcturus/aarch64-ucls1012a/rootfs_overlay/etc/init.d/S09modload similarity index 100% rename from buildroot-2021.05/board/arcturus/aarch64-ucls1012a/rootfs_overlay/etc/init.d/S09modload rename to buildroot-2022.02.1/board/arcturus/aarch64-ucls1012a/rootfs_overlay/etc/init.d/S09modload diff --git a/buildroot-2021.05/board/arcturus/ppc-ucp1020/readme.txt b/buildroot-2022.02.1/board/arcturus/ppc-ucp1020/readme.txt similarity index 100% rename from buildroot-2021.05/board/arcturus/ppc-ucp1020/readme.txt rename to buildroot-2022.02.1/board/arcturus/ppc-ucp1020/readme.txt diff --git a/buildroot-2021.05/board/arm/foundation-v8/readme.txt b/buildroot-2022.02.1/board/arm/foundation-v8/readme.txt similarity index 100% rename from buildroot-2021.05/board/arm/foundation-v8/readme.txt rename to buildroot-2022.02.1/board/arm/foundation-v8/readme.txt diff --git a/buildroot-2021.05/board/arm/juno/linux-juno-defconfig b/buildroot-2022.02.1/board/arm/juno/linux-juno-defconfig similarity index 100% rename from buildroot-2021.05/board/arm/juno/linux-juno-defconfig rename to buildroot-2022.02.1/board/arm/juno/linux-juno-defconfig diff --git a/buildroot-2021.05/board/arm/juno/readme.txt b/buildroot-2022.02.1/board/arm/juno/readme.txt similarity index 100% rename from buildroot-2021.05/board/arm/juno/readme.txt rename to buildroot-2022.02.1/board/arm/juno/readme.txt diff --git a/buildroot-2021.05/board/armadeus/apf27/linux-4.12.config b/buildroot-2022.02.1/board/armadeus/apf27/linux-4.12.config similarity index 100% rename from buildroot-2021.05/board/armadeus/apf27/linux-4.12.config rename to buildroot-2022.02.1/board/armadeus/apf27/linux-4.12.config diff --git a/buildroot-2021.05/board/armadeus/apf51/linux-4.4.config b/buildroot-2022.02.1/board/armadeus/apf51/linux-4.4.config similarity index 100% rename from buildroot-2021.05/board/armadeus/apf51/linux-4.4.config rename to buildroot-2022.02.1/board/armadeus/apf51/linux-4.4.config diff --git a/buildroot-2021.05/board/armadeus/readme.txt b/buildroot-2022.02.1/board/armadeus/readme.txt similarity index 100% rename from buildroot-2021.05/board/armadeus/readme.txt rename to buildroot-2022.02.1/board/armadeus/readme.txt diff --git a/buildroot-2021.05/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf rename to buildroot-2022.02.1/board/arrow/avenger96/overlay/boot/extlinux/extlinux.conf diff --git a/buildroot-2021.05/board/arrow/avenger96/readme.txt b/buildroot-2022.02.1/board/arrow/avenger96/readme.txt similarity index 100% rename from buildroot-2021.05/board/arrow/avenger96/readme.txt rename to buildroot-2022.02.1/board/arrow/avenger96/readme.txt diff --git a/buildroot-2021.05/board/asus/tinker/extlinux.conf b/buildroot-2022.02.1/board/asus/tinker/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/asus/tinker/extlinux.conf rename to buildroot-2022.02.1/board/asus/tinker/extlinux.conf diff --git a/buildroot-2021.05/board/asus/tinker/genimage.cfg b/buildroot-2022.02.1/board/asus/tinker/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/asus/tinker/genimage.cfg rename to buildroot-2022.02.1/board/asus/tinker/genimage.cfg diff --git a/buildroot-2021.05/board/asus/tinker/post-build.sh b/buildroot-2022.02.1/board/asus/tinker/post-build.sh similarity index 100% rename from buildroot-2021.05/board/asus/tinker/post-build.sh rename to buildroot-2022.02.1/board/asus/tinker/post-build.sh diff --git a/buildroot-2021.05/board/asus/tinker/readme.txt b/buildroot-2022.02.1/board/asus/tinker/readme.txt similarity index 100% rename from buildroot-2021.05/board/asus/tinker/readme.txt rename to buildroot-2022.02.1/board/asus/tinker/readme.txt diff --git a/buildroot-2022.02.1/board/atmel/at91sam9x5ek_mmc/genimage.cfg b/buildroot-2022.02.1/board/atmel/at91sam9x5ek_mmc/genimage.cfg new file mode 100644 index 00000000..d99ebd26 --- /dev/null +++ b/buildroot-2022.02.1/board/atmel/at91sam9x5ek_mmc/genimage.cfg @@ -0,0 +1,40 @@ +# Image for SD card boot on Atmel at91sam9x5ek boards +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91sam9g15ek.dtb", + "at91sam9g25ek.dtb", + "at91sam9g35ek.dtb", + "at91sam9x25ek.dtb", + "at91sam9x35ek.dtb", + "boot.bin", + "u-boot.bin" + } + + file uboot.env { + image = "uboot-env.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/atmel/at91sam9x5ek_mmc/uboot-env.txt b/buildroot-2022.02.1/board/atmel/at91sam9x5ek_mmc/uboot-env.txt similarity index 100% rename from buildroot-2021.05/board/atmel/at91sam9x5ek_mmc/uboot-env.txt rename to buildroot-2022.02.1/board/atmel/at91sam9x5ek_mmc/uboot-env.txt diff --git a/buildroot-2021.05/board/atmel/flasher.sh b/buildroot-2022.02.1/board/atmel/flasher.sh similarity index 100% rename from buildroot-2021.05/board/atmel/flasher.sh rename to buildroot-2022.02.1/board/atmel/flasher.sh diff --git a/buildroot-2021.05/board/atmel/nandflash.tcl b/buildroot-2022.02.1/board/atmel/nandflash.tcl similarity index 100% rename from buildroot-2021.05/board/atmel/nandflash.tcl rename to buildroot-2022.02.1/board/atmel/nandflash.tcl diff --git a/buildroot-2022.02.1/board/atmel/readme.txt b/buildroot-2022.02.1/board/atmel/readme.txt new file mode 100644 index 00000000..a9c427e9 --- /dev/null +++ b/buildroot-2022.02.1/board/atmel/readme.txt @@ -0,0 +1,181 @@ +This document explains how to set up a basic Buildroot system on +various Atmel/Microchip boards. Additional details can also be found +on the Linux4SAM website: http://www.linux4sam.org + +This guide covers the following configurations: + - at91sam9g45m10ek_defconfig + - at91sam9rlek_defconfig + - at91sam9x5ek_defconfig (at91sam9g15, at91sam9g25, at91sam9x25, + at91sam9g35 and at91sam9x35) + - atmel_sama5d3xek_defconfig (sama5d31, sama5d33, sama5d34, sama5d35, + sama5d36) + - atmel_sama5d3_xplained_defconfig + - atmel_sama5d3_xplained_dev_defconfig + - atmel_sama5d3_xplained_mmc_defconfig + - atmel_sama5d3_xplained_mmc_dev_defconfig + - atmel_sama5d4_xplained_defconfig + - atmel_sama5d4_xplained_dev_defconfig + - atmel_sama5d4_xplained_mmc_defconfig + - atmel_sama5d4_xplained_mmc_dev_defconfig + - atmel_sama5d2_xplained_mmc_defconfig + - atmel_sama5d2_xplained_mmc_dev_defconfig + - microchip_sama5d27_wlsom1_ek_mmc_defconfig + - microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig + - microchip_sam9x60ek_mmc_defconfig + - microchip_sam9x60ek_mmc_dev_defconfig + - microchip_sama5d2_icp_mmc_defconfig + - microchip_sama5d2_icp_mmc_dev_defconfig + - microchip_sama7g5ek_mmc_defconfig + - microchip_sama7g5ek_mmc_dev_defconfig + +These configurations will use AT91Bootstrap, u-boot and a linux kernel from +the git trees maintained by Atmel. + +The configurations labeled as 'dev' provide a development rootfs with tools to +tests the features of the SoC: +- ALSA tools to test audio +- FFMPEG to record video from the ISI/ISC +- I2C, SPI, CAN, etc. tools +- modetest for LCD screens, HDMI +- Wilc1000/Wilc3000 firmware for the Atmel Wireless sdio module +- SSH for convenience +- GDB/GDB server for debug + +Configuring and building Buildroot +================================== + +For the Xplained/Evaluation Kit boards, the Buildroot configuration is +provided to boot from an SD card. Those configurations are labeled as +'mmc'. In this case, after building Buildroot, follow the instructions +in the "Preparing the SD card" section. + +For the other configurations listed above, the Buildroot configuration +assumes the system will be flashed on NAND. In this case, after +building Buildroot, follow the instructions in the "Flashing the NAND +using SAM-BA" section below. + +To configure and build Buildroot, run: + + make _defconfig + make + +Flashing the NAND using SAM-BA +============================== + +Flashing the board +------------------ + +Connect the board: + o at91sam9g45m10ek: DBGU: J10, USB sam-ba: J14 + o at91sam9rlek: DBGU: J19, USB sam-ba: J21 + o at91sam9x5ek: DBGU: J11, USB sam-ba: J20 + o sama5d3xek: DBGU: J14, USB sam-ba: J20 + o sama5d3 Xplained: DBGU: J23, USB sam-ba: J6 + o sama5d4ek: DBGU: J22 or J24, USB sam-ba: J1 + o sama5d4 Xplained: DBGU: J1, USB sam-ba: J11 + +Start the board in RomBOOT: + o at91sam9g45m10ek: + 1. open JP8, JP10 and JP12 + 2. start the board + 3. close JP8, JP10 and JP12 + + o at91sam9rlek: + 1. J11 on 1-2 (BMS=1), open J12 and J13 + 2. start the board + 3. close J12 and J13 + + o at91sam9x5ek: + 1. open JP9 and: + - Cogent: open *NCS jumper + - Embest: open SW1 + - Ronetix: open J1 and J2 + 2. start the board + 3. close JP9 and: + - Cogent: close *NCS jumper + - Embest: close SW1 (ON position) + - Ronetix: close J1 and J2 + + o sama5d3xek: + 1. start the board + 2. push BP4 and BP1 + 3. release BP1 + 4. release BP4 + + o sama5d3 Xplained: + 1. open JP5 (NANDCS) and JP6 (SPICS) + 2. start the board + 3. close JP5 ans JP6 + + o sama5d4ek: + 1. start the board + 2. push BP3 and BP4 + 3. release BP4 + 4. release BP3 + + o sama5d4 Xplained: + 1. close JP7 (BOOT_DIS) + 2. start the board + 3. open JP7 + +"RomBOOT" should appear on your console (this should be ttyUSBx or ttyACMx) + +Now locate the USB sam-ba interface it should be ttyACMx, usually ttyACM0 +dmesg on your machine should give: +usb 1-2.1.4: New USB device found, idVendor=03eb, idProduct=6124 +usb 1-2.1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0 +cdc_acm 1-2.1.4:1.0: ttyACM0: USB ACM device + +Look for idVendor=03eb, idProduct=6124, this is the interface you want to use. + +You can then flash the board using the provided flasher.sh script in board/atmel: + +board/atmel/flasher.sh + +For example, for an out of tree build made in +/tmp/atmel_sama5d3_xplained/ for the sama5d3 Xplained, you would use: +board/atmel/flasher.sh /tmp/atmel_sama5d3_xplained/ /dev/ttyACM0 sama5d3_xplained + +Reboot, the system should boot up to the buildroot login invite. + +Preparing the SD card +===================== + +An image named sdcard.img is automatically generated. With this image, +you no longer have to care about the creation of the partition and +copying files to the SD card. + +You need at least a 1GB SD card. All the data on the SD card will be +lost. To copy the image on the SD card: + +/!\ Caution be sure to do it on the right mmcblk device /!\ + +dd if=output/images/sdcard.img of=/dev/mmcblk0 + +Insert your SD card in your Xplained/Evaluation Kit board, and +enjoy. The default U-Boot environment will load properly the kernel +and Device Tree blob from the first partition of the SD card, so +everything works automatically. + +By default a 16MB FAT partition is created. It contains at91bootstrap, +u-boot, the kernel image and all dtb variants for your board. The dtb +used is the basic one: + +U-Boot> print +[...] +bootcmd=fatload mmc 1:1 0x21000000 at91-sama5d2_xplained.dtb; fatload mmc 1:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000 +[...] + +If you want to use a variant such as the _pda7 one, you will have to +update your u-boot environment: + +U-Boot> setenv bootcmd 'fatload mmc 1:1 0x21000000 at91-sama5d2_xplained_pda7.dtb; fatload mmc 1:1 0x22000000 zImage; bootz 0x22000000 - 0x21000000' +U-Boot> save +Saving Environment to FAT... +writing uboot.env +done + +A 512MB ext4 partition is also created to store the rootfs generated. + +If you want to customize the size of the partitions and their content, +take a look at the the genimage.cfg file in the board directory. diff --git a/buildroot-2022.02.1/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg b/buildroot-2022.02.1/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg new file mode 100644 index 00000000..a0adecfd --- /dev/null +++ b/buildroot-2022.02.1/board/atmel/sama5d27_som1_ek_mmc/genimage.cfg @@ -0,0 +1,32 @@ +# Image for SD card boot on Atmel SAMA5D2 Xplained boards +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91-sama5d27_som1_ek.dtb", + "boot.bin", + "u-boot.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg b/buildroot-2022.02.1/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg new file mode 100644 index 00000000..cf55f46f --- /dev/null +++ b/buildroot-2022.02.1/board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg @@ -0,0 +1,32 @@ +# Image for SD card boot on Microchip SAMA5D27 WLSOM1 EK +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91-sama5d27_wlsom1_ek.dtb", + "boot.bin", + "u-boot.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/atmel/sama5d2_xplained_mmc/genimage.cfg b/buildroot-2022.02.1/board/atmel/sama5d2_xplained_mmc/genimage.cfg new file mode 100644 index 00000000..2c5a0f6d --- /dev/null +++ b/buildroot-2022.02.1/board/atmel/sama5d2_xplained_mmc/genimage.cfg @@ -0,0 +1,32 @@ +# Image for SD card boot on Atmel SAMA5D2 Xplained boards +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91-sama5d2_xplained.dtb", + "boot.bin", + "u-boot.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/atmel/sama5d3_xplained_mmc/genimage.cfg b/buildroot-2022.02.1/board/atmel/sama5d3_xplained_mmc/genimage.cfg new file mode 100644 index 00000000..0456e8d5 --- /dev/null +++ b/buildroot-2022.02.1/board/atmel/sama5d3_xplained_mmc/genimage.cfg @@ -0,0 +1,32 @@ +# Image for SD card boot on Atmel SAMA5D3 Xplained boards +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91-sama5d3_xplained.dtb", + "boot.bin", + "u-boot.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/atmel/sama5d4_xplained_mmc/genimage.cfg b/buildroot-2022.02.1/board/atmel/sama5d4_xplained_mmc/genimage.cfg new file mode 100644 index 00000000..bd929ffa --- /dev/null +++ b/buildroot-2022.02.1/board/atmel/sama5d4_xplained_mmc/genimage.cfg @@ -0,0 +1,32 @@ +# Image for SD card boot on Atmel SAMA5D4 Xplained boards +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91-sama5d4_xplained.dtb", + "boot.bin", + "u-boot.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/avnet/s6lx9_microboard/lx9_mmu.dts b/buildroot-2022.02.1/board/avnet/s6lx9_microboard/lx9_mmu.dts similarity index 100% rename from buildroot-2021.05/board/avnet/s6lx9_microboard/lx9_mmu.dts rename to buildroot-2022.02.1/board/avnet/s6lx9_microboard/lx9_mmu.dts diff --git a/buildroot-2021.05/board/avnet/s6lx9_microboard/lx9_mmu_defconfig b/buildroot-2022.02.1/board/avnet/s6lx9_microboard/lx9_mmu_defconfig similarity index 100% rename from buildroot-2021.05/board/avnet/s6lx9_microboard/lx9_mmu_defconfig rename to buildroot-2022.02.1/board/avnet/s6lx9_microboard/lx9_mmu_defconfig diff --git a/buildroot-2021.05/board/avnet/s6lx9_microboard/readme.txt b/buildroot-2022.02.1/board/avnet/s6lx9_microboard/readme.txt similarity index 100% rename from buildroot-2021.05/board/avnet/s6lx9_microboard/readme.txt rename to buildroot-2022.02.1/board/avnet/s6lx9_microboard/readme.txt diff --git a/buildroot-2021.05/board/bananapi/bananapi-m1/boot.cmd b/buildroot-2022.02.1/board/bananapi/bananapi-m1/boot.cmd similarity index 100% rename from buildroot-2021.05/board/bananapi/bananapi-m1/boot.cmd rename to buildroot-2022.02.1/board/bananapi/bananapi-m1/boot.cmd diff --git a/buildroot-2022.02.1/board/bananapi/bananapi-m1/genimage.cfg b/buildroot-2022.02.1/board/bananapi/bananapi-m1/genimage.cfg new file mode 100644 index 00000000..ce62fbf7 --- /dev/null +++ b/buildroot-2022.02.1/board/bananapi/bananapi-m1/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun7i-a20-bananapi.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/bananapi/bananapi-m1/readme.txt b/buildroot-2022.02.1/board/bananapi/bananapi-m1/readme.txt similarity index 100% rename from buildroot-2021.05/board/bananapi/bananapi-m1/readme.txt rename to buildroot-2022.02.1/board/bananapi/bananapi-m1/readme.txt diff --git a/buildroot-2021.05/board/bananapi/bananapi-m2-ultra/boot.cmd b/buildroot-2022.02.1/board/bananapi/bananapi-m2-ultra/boot.cmd similarity index 100% rename from buildroot-2021.05/board/bananapi/bananapi-m2-ultra/boot.cmd rename to buildroot-2022.02.1/board/bananapi/bananapi-m2-ultra/boot.cmd diff --git a/buildroot-2022.02.1/board/bananapi/bananapi-m2-ultra/genimage.cfg b/buildroot-2022.02.1/board/bananapi/bananapi-m2-ultra/genimage.cfg new file mode 100644 index 00000000..88324f1f --- /dev/null +++ b/buildroot-2022.02.1/board/bananapi/bananapi-m2-ultra/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-r40-bananapi-m2-ultra.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/bananapi/bananapi-m2-ultra/readme.txt b/buildroot-2022.02.1/board/bananapi/bananapi-m2-ultra/readme.txt similarity index 100% rename from buildroot-2021.05/board/bananapi/bananapi-m2-ultra/readme.txt rename to buildroot-2022.02.1/board/bananapi/bananapi-m2-ultra/readme.txt diff --git a/buildroot-2021.05/board/bananapi/bananapi-m2-zero/boot.cmd b/buildroot-2022.02.1/board/bananapi/bananapi-m2-zero/boot.cmd similarity index 100% rename from buildroot-2021.05/board/bananapi/bananapi-m2-zero/boot.cmd rename to buildroot-2022.02.1/board/bananapi/bananapi-m2-zero/boot.cmd diff --git a/buildroot-2022.02.1/board/bananapi/bananapi-m2-zero/genimage.cfg b/buildroot-2022.02.1/board/bananapi/bananapi-m2-zero/genimage.cfg new file mode 100644 index 00000000..1f565b52 --- /dev/null +++ b/buildroot-2022.02.1/board/bananapi/bananapi-m2-zero/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h2-plus-bananapi-m2-zero.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/bananapi/bananapi-m2-zero/readme.txt b/buildroot-2022.02.1/board/bananapi/bananapi-m2-zero/readme.txt similarity index 100% rename from buildroot-2021.05/board/bananapi/bananapi-m2-zero/readme.txt rename to buildroot-2022.02.1/board/bananapi/bananapi-m2-zero/readme.txt diff --git a/buildroot-2021.05/board/bananapi/bananapi-m64/boot.cmd b/buildroot-2022.02.1/board/bananapi/bananapi-m64/boot.cmd similarity index 100% rename from buildroot-2021.05/board/bananapi/bananapi-m64/boot.cmd rename to buildroot-2022.02.1/board/bananapi/bananapi-m64/boot.cmd diff --git a/buildroot-2022.02.1/board/bananapi/bananapi-m64/genimage.cfg b/buildroot-2022.02.1/board/bananapi/bananapi-m64/genimage.cfg new file mode 100644 index 00000000..e922c0db --- /dev/null +++ b/buildroot-2022.02.1/board/bananapi/bananapi-m64/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-bananapi-m64.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/bananapi/bananapi-m64/readme.txt b/buildroot-2022.02.1/board/bananapi/bananapi-m64/readme.txt similarity index 100% rename from buildroot-2021.05/board/bananapi/bananapi-m64/readme.txt rename to buildroot-2022.02.1/board/bananapi/bananapi-m64/readme.txt diff --git a/buildroot-2022.02.1/board/beagleboardx15/genimage.cfg b/buildroot-2022.02.1/board/beagleboardx15/genimage.cfg new file mode 100644 index 00000000..b1604105 --- /dev/null +++ b/buildroot-2022.02.1/board/beagleboardx15/genimage.cfg @@ -0,0 +1,27 @@ +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img" + } + } + + size = 4M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/beagleboardx15/readme.txt b/buildroot-2022.02.1/board/beagleboardx15/readme.txt similarity index 100% rename from buildroot-2021.05/board/beagleboardx15/readme.txt rename to buildroot-2022.02.1/board/beagleboardx15/readme.txt diff --git a/buildroot-2022.02.1/board/beaglebone/genimage.cfg b/buildroot-2022.02.1/board/beaglebone/genimage.cfg new file mode 100644 index 00000000..42ca2cf1 --- /dev/null +++ b/buildroot-2022.02.1/board/beaglebone/genimage.cfg @@ -0,0 +1,35 @@ +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img", + "zImage", + "uEnv.txt", + "am335x-evm.dtb", + "am335x-evmsk.dtb", + "am335x-bone.dtb", + "am335x-boneblack.dtb", + "am335x-bonegreen.dtb", + "am335x-boneblack-wireless.dtb", + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/beaglebone/linux-sgx.fragment b/buildroot-2022.02.1/board/beaglebone/linux-sgx.fragment similarity index 100% rename from buildroot-2021.05/board/beaglebone/linux-sgx.fragment rename to buildroot-2022.02.1/board/beaglebone/linux-sgx.fragment diff --git a/buildroot-2021.05/board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch b/buildroot-2022.02.1/board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch similarity index 100% rename from buildroot-2021.05/board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch rename to buildroot-2022.02.1/board/beaglebone/patches/linux/0001-keep-jtag-clock-alive-for-debugger.patch diff --git a/buildroot-2021.05/board/beaglebone/post-build.sh b/buildroot-2022.02.1/board/beaglebone/post-build.sh similarity index 100% rename from buildroot-2021.05/board/beaglebone/post-build.sh rename to buildroot-2022.02.1/board/beaglebone/post-build.sh diff --git a/buildroot-2021.05/board/beaglebone/readme.txt b/buildroot-2022.02.1/board/beaglebone/readme.txt similarity index 100% rename from buildroot-2021.05/board/beaglebone/readme.txt rename to buildroot-2022.02.1/board/beaglebone/readme.txt diff --git a/buildroot-2021.05/board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json b/buildroot-2022.02.1/board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json similarity index 100% rename from buildroot-2021.05/board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json rename to buildroot-2022.02.1/board/beaglebone/rootfs_overlay/etc/qt5/eglfs_kms_cfg.json diff --git a/buildroot-2021.05/board/beaglebone/uEnv.txt b/buildroot-2022.02.1/board/beaglebone/uEnv.txt similarity index 100% rename from buildroot-2021.05/board/beaglebone/uEnv.txt rename to buildroot-2022.02.1/board/beaglebone/uEnv.txt diff --git a/buildroot-2022.02.1/board/beagleboneai/genimage.cfg b/buildroot-2022.02.1/board/beagleboneai/genimage.cfg new file mode 100644 index 00000000..8aefd76e --- /dev/null +++ b/buildroot-2022.02.1/board/beagleboneai/genimage.cfg @@ -0,0 +1,30 @@ +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img", + "zImage", + "am5729-beagleboneai.dtb", + "uEnv.txt" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch b/buildroot-2022.02.1/board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch new file mode 100644 index 00000000..9c7b12be --- /dev/null +++ b/buildroot-2022.02.1/board/beagleboneai/patches/uboot/0001-am57xx_evm-fixes.patch @@ -0,0 +1,839 @@ +From 702ea30b462ba06f4fbee3393f0e6c19531f1e5f Mon Sep 17 00:00:00 2001 +From: Robert Nelson +Date: Fri, 25 Jun 2021 11:33:25 -0500 +Subject: [PATCH] am57xx_evm-fixes + +Signed-off-by: Robert Nelson +[Patch from https://github.com/beagleboard/u-boot/commit/702ea30b462ba06f4fbee3393f0e6c19531f1e5f] +Signed-off-by: Peter Korsgaard +--- + arch/arm/mach-omap2/omap5/hw_data.c | 1 + + board/ti/am57xx/board.c | 167 +++++++++++- + configs/am57xx_evm_defconfig | 15 +- + include/configs/ti_armv7_common.h | 407 ++++++++++++++++++++++++++++ + include/configs/ti_omap5_common.h | 5 + + include/environment/ti/boot.h | 32 ++- + include/environment/ti/mmc.h | 49 +++- + 7 files changed, 651 insertions(+), 25 deletions(-) + +diff --git a/arch/arm/mach-omap2/omap5/hw_data.c b/arch/arm/mach-omap2/omap5/hw_data.c +index fa4e27063c..d5192b1671 100644 +--- a/arch/arm/mach-omap2/omap5/hw_data.c ++++ b/arch/arm/mach-omap2/omap5/hw_data.c +@@ -421,6 +421,7 @@ void enable_basic_clocks(void) + (*prcm)->cm_l4per_uart1_clkctrl, + (*prcm)->cm_l4per_uart3_clkctrl, + (*prcm)->cm_l4per_i2c1_clkctrl, ++ (*prcm)->cm_l4per_i2c4_clkctrl, + #ifdef CONFIG_DRIVER_TI_CPSW + (*prcm)->cm_gmac_gmac_clkctrl, + #endif +diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c +index 73063faee6..ad05c41f22 100644 +--- a/board/ti/am57xx/board.c ++++ b/board/ti/am57xx/board.c +@@ -41,6 +41,7 @@ + #include + #include + #include ++#include + + #include "../common/board_detect.h" + #include "mux_data.h" +@@ -528,8 +529,10 @@ void do_board_detect(void) + + rc = ti_i2c_eeprom_am_get(CONFIG_EEPROM_BUS_ADDRESS, + CONFIG_EEPROM_CHIP_ADDRESS); +- if (rc) ++ if (rc) { + printf("ti_i2c_eeprom_init failed %d\n", rc); ++ ti_i2c_eeprom_am_set("BBONE-AI", "A"); ++ }; + + #ifdef CONFIG_SUPPORT_EMMC_BOOT + rc = board_bootmode_has_emmc(); +@@ -579,6 +582,164 @@ void do_board_detect(void) + "Board: %s REV %s\n", bname, board_ti_get_rev()); + } + ++struct am335x_cape_eeprom_id { ++ unsigned int header; ++ char eeprom_rev[2]; ++ char board_name[32]; ++ char version[4]; ++ char manufacture[16]; ++ char part_number[16]; ++ char number_of_pins[2]; ++ char serial_number[12]; ++ char pin_usage[140]; ++ char vdd_3v3exp[ 2]; ++ char vdd_5v[ 2]; ++ char sys_5v[2]; ++ char dc_supplied[2]; ++}; ++ ++#define CAPE_EEPROM_BUS_NUM 3 ++#define CAPE_EEPROM_ADDR0 0x54 ++#define CAPE_EEPROM_ADDR1 0x55 ++#define CAPE_EEPROM_ADDR2 0x56 ++#define CAPE_EEPROM_ADDR3 0x57 ++ ++#define CAPE_EEPROM_ADDR_LEN 0x10 ++ ++static int probe_cape_eeprom(struct am335x_cape_eeprom_id *cape_header) ++{ ++ int ret; ++ struct udevice *dev; ++ unsigned char addr; ++ /* /lib/firmware/BB-CAPE-DISP-CT4-00A0.dtbo */ ++ /* 14 + 16 + 1 + 4 + 5 = 40 */ ++ char hash_cape_overlay[40]; ++ char cape_overlay[26]; ++ char process_cape_part_number[16]; ++ char process_cape_version[4]; ++ char end_part_number; ++ char cape_overlay_pass_to_kernel[18]; ++ ++ strlcpy(cape_overlay_pass_to_kernel, "", 1); ++ ++ for ( addr = CAPE_EEPROM_ADDR0; addr <= CAPE_EEPROM_ADDR3; addr++ ) { ++ ret = i2c_get_chip_for_busnum(CAPE_EEPROM_BUS_NUM, addr, 1, &dev); ++ if (ret) { ++ printf("BeagleBone Cape EEPROM: no EEPROM at address: 0x%x\n", addr); ++ } else { ++ printf("BeagleBone Cape EEPROM: found EEPROM at address: 0x%x\n", addr); ++ ++ ret = i2c_set_chip_offset_len(dev, 2); ++ if (ret) { ++ printf("BeagleBone Cape EEPROM: i2c_set_chip_offset_len failure\n"); ++ } ++ ++ ret = dm_i2c_read(dev, 0, (uchar *)cape_header, sizeof(struct am335x_cape_eeprom_id)); ++ if (ret) { ++ printf("BeagleBone Cape EEPROM: Cannot read eeprom params\n"); ++ } ++ ++ if (cape_header->header == 0xEE3355AA) { ++ strlcpy(hash_cape_overlay, "/lib/firmware/", 14 + 1); ++ strlcpy(cape_overlay, "", 2); ++ strlcpy(cape_overlay_pass_to_kernel, "", 2); ++ strlcpy(process_cape_part_number, "...............", 16 + 1); ++ strlcpy(process_cape_version, "...", 4 + 1); ++ ++ strlcpy(process_cape_part_number, cape_header->part_number, 16 + 1); ++ printf("BeagleBone Cape EEPROM: debug part_number field:[%s]\n", process_cape_part_number); ++ ++ //FIXME: some capes end with '.' ++ if ( process_cape_part_number[15] == 0x2E ) { ++ puts("debug: fixup, extra . in eeprom field\n"); ++ process_cape_part_number[15] = 0x00; ++ if ( process_cape_part_number[14] == 0x2E ) { ++ process_cape_part_number[14] = 0x00; ++ } ++ } ++ ++ //Find ending 0x00 or 0xFF ++ puts("BeagleBone Cape EEPROM: debug part_number field HEX:["); ++ end_part_number=16; ++ for ( int i=0; i <= 16; i++ ) { ++ if (( process_cape_part_number[i] == 0x00 ) || ( process_cape_part_number[i] == 0xFF )) { ++ end_part_number=i; ++ i=17; ++ } else { ++ printf("%x", process_cape_part_number[i]); ++ } ++ } ++ puts("]\n"); ++ ++ strncat(cape_overlay_pass_to_kernel, process_cape_part_number, end_part_number); ++ strncat(cape_overlay_pass_to_kernel, ",", 1); ++ //printf("debug: %s\n", cape_overlay_pass_to_kernel); ++ ++ strncat(hash_cape_overlay, process_cape_part_number, end_part_number); ++ strncat(cape_overlay, process_cape_part_number, end_part_number); ++ //printf("debug: %s %s\n", hash_cape_overlay, cape_overlay); ++ ++ strncat(hash_cape_overlay, "-", 1); ++ strncat(cape_overlay, "-", 1); ++ //printf("debug: %s %s\n", hash_cape_overlay, cape_overlay); ++ ++ strlcpy(process_cape_version, cape_header->version, 4 + 1); ++ //printf("debug: version field:[%s]\n", process_cape_version); ++ ++ //Find invalid 0xFF -> 0x30 BBAI FAN Cape... ++ puts("BeagleBone Cape EEPROM: debug version field HEX:["); ++ for ( int i=0; i <= 3; i++ ) { ++ printf("%x", process_cape_version[i]); ++ if ( process_cape_version[i] == 0xFF ) { ++ process_cape_version[i] = 0x30; ++ } ++ } ++ puts("]\n"); ++ ++ strncat(hash_cape_overlay, process_cape_version, 4); ++ strncat(cape_overlay, process_cape_version, 4); ++ //printf("debug: %s %s\n", hash_cape_overlay, cape_overlay); ++ ++ strncat(hash_cape_overlay, ".dtbo", 5); ++ strncat(cape_overlay, ".dtbo", 5); ++ //printf("debug: %s %s\n", hash_cape_overlay, cape_overlay); ++ ++ printf("BeagleBone Cape EEPROM: 0x%x %s\n", addr, cape_overlay); ++ ++ switch(addr) { ++ case CAPE_EEPROM_ADDR0: ++ env_set("uboot_overlay_addr0", cape_overlay); ++ env_set("uboot_detected_capes_addr0", cape_overlay_pass_to_kernel); ++ break; ++ case CAPE_EEPROM_ADDR1: ++ env_set("uboot_overlay_addr1", cape_overlay); ++ env_set("uboot_detected_capes_addr1", cape_overlay_pass_to_kernel); ++ break; ++ case CAPE_EEPROM_ADDR2: ++ env_set("uboot_overlay_addr2", cape_overlay); ++ env_set("uboot_detected_capes_addr2", cape_overlay_pass_to_kernel); ++ break; ++ case CAPE_EEPROM_ADDR3: ++ env_set("uboot_overlay_addr3", cape_overlay); ++ env_set("uboot_detected_capes_addr3", cape_overlay_pass_to_kernel); ++ break; ++ } ++ env_set("uboot_detected_capes", "1"); ++ } else { ++ printf("BeagleBone Cape EEPROM: EEPROM contents not valid (or blank) on address: 0x%x\n", addr); ++ } ++ } ++ } ++ return 0; ++} ++ ++void do_cape_detect(void) ++{ ++ struct am335x_cape_eeprom_id cape_header; ++ ++ probe_cape_eeprom(&cape_header); ++} ++ + static void setup_board_eeprom_env(void) + { + char *name = "beagle_x15"; +@@ -782,8 +943,10 @@ int board_late_init(void) + /* Just probe the potentially supported cdce913 device */ + uclass_get_device(UCLASS_CLK, 0, &dev); + +- if (board_is_bbai()) ++ if (board_is_bbai()) { + env_set("console", "ttyS0,115200n8"); ++ do_cape_detect(); ++ } + + #if !defined(CONFIG_SPL_BUILD) + board_ti_set_ethaddr(2); +diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig +index 4da4aaa1c7..ed5b8aec16 100644 +--- a/configs/am57xx_evm_defconfig ++++ b/configs/am57xx_evm_defconfig +@@ -10,16 +10,20 @@ CONFIG_SPL_TEXT_BASE=0x40300000 + CONFIG_OMAP54XX=y + CONFIG_TARGET_AM57XX_EVM=y + CONFIG_SPL=y +-CONFIG_ENV_OFFSET_REDUND=0x280000 + CONFIG_SPL_SPI_FLASH_SUPPORT=y + CONFIG_SPL_SPI_SUPPORT=y + CONFIG_ARMV7_LPAE=y +-CONFIG_DEFAULT_DEVICE_TREE="am572x-idk" ++CONFIG_DEFAULT_DEVICE_TREE="am57xx-beagle-x15-revc" + CONFIG_AHCI=y + CONFIG_DISTRO_DEFAULTS=y + CONFIG_SPL_LOAD_FIT=y + # CONFIG_USE_SPL_FIT_GENERATOR is not set + CONFIG_OF_BOARD_SETUP=y ++CONFIG_BOOTDELAY=1 ++CONFIG_AUTOBOOT_KEYED=y ++CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n" ++CONFIG_AUTOBOOT_DELAY_STR="d" ++CONFIG_AUTOBOOT_STOP_STR=" " + CONFIG_USE_BOOTARGS=y + CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board" + # CONFIG_USE_BOOTCOMMAND is not set +@@ -48,13 +52,12 @@ CONFIG_BOOTP_DNS2=y + CONFIG_CMD_AVB=y + CONFIG_OF_CONTROL=y + CONFIG_SPL_OF_CONTROL=y +-CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am5729-beagleboneai am572x-idk am571x-idk am574x-idk" ++CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am5729-beagleboneai" + CONFIG_ENV_OVERWRITE=y +-CONFIG_ENV_IS_IN_MMC=y +-CONFIG_SYS_REDUNDAND_ENVIRONMENT=y ++# CONFIG_ENV_IS_IN_FAT is not set + CONFIG_SYS_RELOC_GD_ENV_ADDR=y +-CONFIG_SYS_MMC_ENV_DEV=1 + CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y ++# CONFIG_SPL_ENV_IS_NOWHERE is not set + CONFIG_VERSION_VARIABLE=y + CONFIG_BOOTP_SEND_HOSTNAME=y + CONFIG_DM=y +diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h +index f13e9e5264..eabd03e27d 100644 +--- a/include/configs/ti_armv7_common.h ++++ b/include/configs/ti_armv7_common.h +@@ -92,6 +92,413 @@ + #define CONFIG_SYS_I2C + #endif + ++#define EEPROM_PROGRAMMING \ ++ "eeprom_dump=i2c dev 0; " \ ++ "i2c md 0x50 0x00.2 20; " \ ++ "\0" \ ++ "eeprom_blank=i2c dev 0; " \ ++ "i2c mw 0x50 0x00.2 ff; " \ ++ "i2c mw 0x50 0x01.2 ff; " \ ++ "i2c mw 0x50 0x02.2 ff; " \ ++ "i2c mw 0x50 0x03.2 ff; " \ ++ "i2c mw 0x50 0x04.2 ff; " \ ++ "i2c mw 0x50 0x05.2 ff; " \ ++ "i2c mw 0x50 0x06.2 ff; " \ ++ "i2c mw 0x50 0x07.2 ff; " \ ++ "i2c mw 0x50 0x08.2 ff; " \ ++ "i2c mw 0x50 0x09.2 ff; " \ ++ "i2c mw 0x50 0x0a.2 ff; " \ ++ "i2c mw 0x50 0x0b.2 ff; " \ ++ "i2c mw 0x50 0x0c.2 ff; " \ ++ "i2c mw 0x50 0x0d.2 ff; " \ ++ "i2c mw 0x50 0x0e.2 ff; " \ ++ "i2c mw 0x50 0x0f.2 ff; " \ ++ "i2c mw 0x50 0x10.2 ff; " \ ++ "i2c mw 0x50 0x11.2 ff; " \ ++ "i2c mw 0x50 0x12.2 ff; " \ ++ "i2c mw 0x50 0x13.2 ff; " \ ++ "i2c mw 0x50 0x14.2 ff; " \ ++ "i2c mw 0x50 0x15.2 ff; " \ ++ "i2c mw 0x50 0x16.2 ff; " \ ++ "i2c mw 0x50 0x17.2 ff; " \ ++ "i2c mw 0x50 0x18.2 ff; " \ ++ "i2c mw 0x50 0x19.2 ff; " \ ++ "i2c mw 0x50 0x1a.2 ff; " \ ++ "i2c mw 0x50 0x1b.2 ff; " \ ++ "i2c mw 0x50 0x1c.2 ff; " \ ++ "i2c mw 0x50 0x1d.2 ff; " \ ++ "i2c mw 0x50 0x1e.2 ff; " \ ++ "i2c mw 0x50 0x1f.2 ff; " \ ++ "i2c md 0x50 0x00.2 20; " \ ++ "\0" \ ++ "eeprom_x15_b1=i2c dev 0; " \ ++ "i2c mw 0x50 0x00.2 aa; " \ ++ "i2c mw 0x50 0x01.2 55; " \ ++ "i2c mw 0x50 0x02.2 33; " \ ++ "i2c mw 0x50 0x03.2 ee; " \ ++ "i2c mw 0x50 0x04.2 42; " \ ++ "i2c mw 0x50 0x05.2 42; " \ ++ "i2c mw 0x50 0x06.2 52; " \ ++ "i2c mw 0x50 0x07.2 44; " \ ++ "i2c mw 0x50 0x08.2 58; " \ ++ "i2c mw 0x50 0x09.2 31; " \ ++ "i2c mw 0x50 0x0a.2 35; " \ ++ "i2c mw 0x50 0x0b.2 5f; " \ ++ "i2c mw 0x50 0x0c.2 42; " \ ++ "i2c mw 0x50 0x0d.2 2e; " \ ++ "i2c mw 0x50 0x0e.2 31; " \ ++ "i2c mw 0x50 0x0f.2 30; " \ ++ "i2c mw 0x50 0x10.2 57; " \ ++ "i2c mw 0x50 0x11.2 57; " \ ++ "i2c mw 0x50 0x12.2 59; " \ ++ "i2c mw 0x50 0x13.2 59; " \ ++ "i2c mw 0x50 0x14.2 34; " \ ++ "i2c mw 0x50 0x15.2 50; " \ ++ "i2c mw 0x50 0x16.2 35; " \ ++ "i2c mw 0x50 0x17.2 35; " \ ++ "i2c mw 0x50 0x18.2 30; " \ ++ "i2c mw 0x50 0x19.2 30; " \ ++ "i2c mw 0x50 0x1a.2 30; " \ ++ "i2c mw 0x50 0x1b.2 30; " \ ++ "i2c mw 0x50 0x1c.2 ff; " \ ++ "i2c mw 0x50 0x1d.2 ff; " \ ++ "i2c mw 0x50 0x1e.2 ff; " \ ++ "i2c mw 0x50 0x1f.2 ff; " \ ++ "i2c md 0x50 0x00.2 20; " \ ++ "\0" \ ++ "eeprom_x15_c=i2c dev 0; " \ ++ "i2c mw 0x50 0x00.2 aa; " \ ++ "i2c mw 0x50 0x01.2 55; " \ ++ "i2c mw 0x50 0x02.2 33; " \ ++ "i2c mw 0x50 0x03.2 ee; " \ ++ "i2c mw 0x50 0x04.2 42; " \ ++ "i2c mw 0x50 0x05.2 42; " \ ++ "i2c mw 0x50 0x06.2 52; " \ ++ "i2c mw 0x50 0x07.2 44; " \ ++ "i2c mw 0x50 0x08.2 58; " \ ++ "i2c mw 0x50 0x09.2 31; " \ ++ "i2c mw 0x50 0x0a.2 35; " \ ++ "i2c mw 0x50 0x0b.2 5f; " \ ++ "i2c mw 0x50 0x0c.2 43; " \ ++ "i2c mw 0x50 0x0d.2 2e; " \ ++ "i2c mw 0x50 0x0e.2 30; " \ ++ "i2c mw 0x50 0x0f.2 30; " \ ++ "i2c mw 0x50 0x10.2 79; " \ ++ "i2c mw 0x50 0x11.2 79; " \ ++ "i2c mw 0x50 0x12.2 77; " \ ++ "i2c mw 0x50 0x13.2 77; " \ ++ "i2c mw 0x50 0x14.2 50; " \ ++ "i2c mw 0x50 0x15.2 58; " \ ++ "i2c mw 0x50 0x16.2 31; " \ ++ "i2c mw 0x50 0x17.2 35; " \ ++ "i2c mw 0x50 0x18.2 6e; " \ ++ "i2c mw 0x50 0x19.2 6e; " \ ++ "i2c mw 0x50 0x1a.2 6e; " \ ++ "i2c mw 0x50 0x1b.2 6e; " \ ++ "i2c mw 0x50 0x1c.2 ff; " \ ++ "i2c mw 0x50 0x1d.2 ff; " \ ++ "i2c mw 0x50 0x1e.2 ff; " \ ++ "i2c mw 0x50 0x1f.2 ff; " \ ++ "i2c md 0x50 0x00.2 20; " \ ++ "eeprom_bbai_a2=i2c dev 0; " \ ++ "i2c mw 0x50 0x00.2 aa; " \ ++ "i2c mw 0x50 0x01.2 55; " \ ++ "i2c mw 0x50 0x02.2 33; " \ ++ "i2c mw 0x50 0x03.2 ee; " \ ++ "i2c mw 0x50 0x04.2 42; " \ ++ "i2c mw 0x50 0x05.2 42; " \ ++ "i2c mw 0x50 0x06.2 4F; " \ ++ "i2c mw 0x50 0x07.2 4E; " \ ++ "i2c mw 0x50 0x08.2 45; " \ ++ "i2c mw 0x50 0x09.2 2D; " \ ++ "i2c mw 0x50 0x0a.2 41; " \ ++ "i2c mw 0x50 0x0b.2 49; " \ ++ "i2c mw 0x50 0x0c.2 30; " \ ++ "i2c mw 0x50 0x0d.2 30; " \ ++ "i2c mw 0x50 0x0e.2 41; " \ ++ "i2c mw 0x50 0x0f.2 32; " \ ++ "i2c mw 0x50 0x10.2 57; " \ ++ "i2c mw 0x50 0x11.2 57; " \ ++ "i2c mw 0x50 0x12.2 59; " \ ++ "i2c mw 0x50 0x13.2 59; " \ ++ "i2c mw 0x50 0x14.2 53; " \ ++ "i2c mw 0x50 0x15.2 42; " \ ++ "i2c mw 0x50 0x16.2 41; " \ ++ "i2c mw 0x50 0x17.2 49; " \ ++ "i2c mw 0x50 0x18.2 30; " \ ++ "i2c mw 0x50 0x19.2 30; " \ ++ "i2c mw 0x50 0x1a.2 30; " \ ++ "i2c mw 0x50 0x1b.2 30; " \ ++ "i2c mw 0x50 0x1c.2 30; " \ ++ "i2c mw 0x50 0x1d.2 30; " \ ++ "i2c mw 0x50 0x1e.2 ff; " \ ++ "i2c mw 0x50 0x1f.2 ff; " \ ++ "i2c md 0x50 0x00.2 20; " \ ++ "\0" \ ++ ++#define EEWIKI_MMC_BOOT \ ++ "mmc_boot=${devtype} dev ${mmcdev}; ${devtype} part; " \ ++ "if ${devtype} rescan; then " \ ++ "echo Scanning ${devtype} device ${mmcdev};" \ ++ "setenv bootpart ${mmcdev}:1; " \ ++ "echo Checking for: /uEnv.txt ...;" \ ++ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ ++ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ ++ "env import -t ${loadaddr} ${filesize};" \ ++ "echo Loaded environment from /uEnv.txt;" \ ++ "echo Checking if uenvcmd is set ...;" \ ++ "if test -n ${uenvcmd}; then " \ ++ "echo Running uenvcmd ...;" \ ++ "run uenvcmd;" \ ++ "fi;" \ ++ "fi; " \ ++ "echo Checking for: /boot/uEnv.txt ...;" \ ++ "for i in 1 2 3 4 5 6 7 ; do " \ ++ "setenv mmcpart ${i};" \ ++ "setenv bootpart ${mmcdev}:${mmcpart};" \ ++ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ ++ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ ++ "env import -t ${loadaddr} ${filesize};" \ ++ "echo Loaded environment from /boot/uEnv.txt;" \ ++ "if test -n ${dtb}; then " \ ++ "setenv fdtfile ${dtb};" \ ++ "echo debug: [dtb=${fdtfile}] ...;" \ ++ "fi;" \ ++ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ ++ "if test -n ${uname_r}; then " \ ++ "echo debug: [uname_r=${uname_r}] ...;" \ ++ "setenv oldroot /dev/mmcblk${mmcdev}p${mmcpart};" \ ++ "run uname_boot;" \ ++ "fi;" \ ++ "fi;" \ ++ "done;" \ ++ "fi;\0" \ ++ ++#define EEWIKI_SCSI_BOOT \ ++ "scsi_boot=${devtype} reset ; " \ ++ "if ${devtype} dev ${mmcdev}; then " \ ++ "echo Scanning ${devtype} device ${mmcdev};" \ ++ "setenv bootpart ${mmcdev}:1; " \ ++ "echo Checking for: /uEnv.txt ...;" \ ++ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ ++ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ ++ "env import -t ${loadaddr} ${filesize};" \ ++ "echo Loaded environment from /uEnv.txt;" \ ++ "echo Checking if uenvcmd is set ...;" \ ++ "if test -n ${uenvcmd}; then " \ ++ "echo Running uenvcmd ...;" \ ++ "run uenvcmd;" \ ++ "fi;" \ ++ "fi; " \ ++ "echo Checking for: /boot/uEnv.txt ...;" \ ++ "for i in 1 2 3 4 ; do " \ ++ "setenv mmcpart ${i};" \ ++ "setenv bootpart ${mmcdev}:${mmcpart};" \ ++ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ ++ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ ++ "env import -t ${loadaddr} ${filesize};" \ ++ "echo Loaded environment from /boot/uEnv.txt;" \ ++ "if test -n ${dtb}; then " \ ++ "setenv fdtfile ${dtb};" \ ++ "echo debug: [dtb=${fdtfile}] ...;" \ ++ "fi;" \ ++ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ ++ "if test -n ${uname_r}; then " \ ++ "echo debug: [uname_r=${uname_r}] ...;" \ ++ "setenv oldroot /dev/sda${mmcpart};" \ ++ "run uname_boot;" \ ++ "fi;" \ ++ "fi;" \ ++ "done;" \ ++ "fi;\0" \ ++ ++#define EEWIKI_USB_BOOT \ ++ "usb_boot=${devtype} reset ; " \ ++ "if ${devtype} dev ${mmcdev}; then " \ ++ "echo Scanning ${devtype} device ${mmcdev};" \ ++ "setenv bootpart ${mmcdev}:1; " \ ++ "echo Checking for: /uEnv.txt ...;" \ ++ "if test -e ${devtype} ${bootpart} /uEnv.txt; then " \ ++ "load ${devtype} ${bootpart} ${loadaddr} /uEnv.txt;" \ ++ "env import -t ${loadaddr} ${filesize};" \ ++ "echo Loaded environment from /uEnv.txt;" \ ++ "echo Checking if uenvcmd is set in /uEnv.txt ...;" \ ++ "if test -n ${uenvcmd}; then " \ ++ "echo Running uenvcmd ...;" \ ++ "run uenvcmd;" \ ++ "fi;" \ ++ "fi; " \ ++ "echo Checking for: /boot/uEnv.txt ...;" \ ++ "for i in 1 2 3 4 ; do " \ ++ "setenv mmcpart ${i};" \ ++ "setenv bootpart ${mmcdev}:${mmcpart};" \ ++ "if test -e ${devtype} ${bootpart} /boot/uEnv.txt; then " \ ++ "load ${devtype} ${bootpart} ${loadaddr} /boot/uEnv.txt;" \ ++ "env import -t ${loadaddr} ${filesize};" \ ++ "echo Loaded environment from /boot/uEnv.txt;" \ ++ "if test -n ${dtb}; then " \ ++ "setenv fdtfile ${dtb};" \ ++ "echo debug: [dtb=${fdtfile}] ...;" \ ++ "fi;" \ ++ "echo Checking if uname_r is set in /boot/uEnv.txt ...;" \ ++ "if test -n ${uname_r}; then " \ ++ "echo debug: [uname_r=${uname_r}] ...;" \ ++ "setenv oldroot /dev/sda${mmcpart};" \ ++ "run uname_boot;" \ ++ "fi;" \ ++ "fi;" \ ++ "done;" \ ++ "fi;\0" \ ++ ++#define EEWIKI_UNAME_BOOT \ ++ "uname_boot="\ ++ "setenv bootdir /boot; " \ ++ "setenv bootfile vmlinuz-${uname_r}; " \ ++ "if test -e ${devtype} ${bootpart} ${bootdir}/${bootfile}; then " \ ++ "echo loading ${bootdir}/${bootfile} ...; "\ ++ "run loadimage;" \ ++ "setenv fdtdir /boot/dtbs/${uname_r}; " \ ++ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ ++ "run loadfdt;" \ ++ "else " \ ++ "setenv fdtdir /usr/lib/linux-image-${uname_r}; " \ ++ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ ++ "run loadfdt;" \ ++ "else " \ ++ "setenv fdtdir /lib/firmware/${uname_r}/device-tree; " \ ++ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ ++ "run loadfdt;" \ ++ "else " \ ++ "setenv fdtdir /boot/dtb-${uname_r}; " \ ++ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ ++ "run loadfdt;" \ ++ "else " \ ++ "setenv fdtdir /boot/dtbs; " \ ++ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ ++ "run loadfdt;" \ ++ "else " \ ++ "setenv fdtdir /boot/dtb; " \ ++ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ ++ "run loadfdt;" \ ++ "else " \ ++ "setenv fdtdir /boot; " \ ++ "if test -e ${devtype} ${bootpart} ${fdtdir}/${fdtfile}; then " \ ++ "run loadfdt;" \ ++ "else " \ ++ "echo; echo unable to find ${fdtfile} ...; echo booting legacy ...;"\ ++ "run args_mmc;" \ ++ "echo debug: [${bootargs}] ... ;" \ ++ "echo debug: [bootz ${loadaddr}] ... ;" \ ++ "bootz ${loadaddr}; " \ ++ "fi;" \ ++ "fi;" \ ++ "fi;" \ ++ "fi;" \ ++ "fi;" \ ++ "fi;" \ ++ "fi; " \ ++ "if test -n ${enable_uboot_overlays}; then " \ ++ "setenv fdt_buffer 0x60000;" \ ++ "if test -n ${uboot_fdt_buffer}; then " \ ++ "setenv fdt_buffer ${uboot_fdt_buffer};" \ ++ "fi;" \ ++ "echo uboot_overlays: [fdt_buffer=${fdt_buffer}] ... ;" \ ++ "if test -n ${uboot_overlay_addr0}; then " \ ++ "if test -n ${disable_uboot_overlay_addr0}; then " \ ++ "echo uboot_overlays: uboot loading of [${uboot_overlay_addr0}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr0=1]...;" \ ++ "else " \ ++ "setenv uboot_overlay ${uboot_overlay_addr0}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "fi;" \ ++ "if test -n ${uboot_overlay_addr1}; then " \ ++ "if test -n ${disable_uboot_overlay_addr1}; then " \ ++ "echo uboot_overlays: uboot loading of [${uboot_overlay_addr1}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr1=1]...;" \ ++ "else " \ ++ "setenv uboot_overlay ${uboot_overlay_addr1}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "fi;" \ ++ "if test -n ${uboot_overlay_addr2}; then " \ ++ "if test -n ${disable_uboot_overlay_addr2}; then " \ ++ "echo uboot_overlays: uboot loading of [${uboot_overlay_addr2}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr2=1]...;" \ ++ "else " \ ++ "setenv uboot_overlay ${uboot_overlay_addr2}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "fi;" \ ++ "if test -n ${uboot_overlay_addr3}; then " \ ++ "if test -n ${disable_uboot_overlay_addr3}; then " \ ++ "echo uboot_overlays: uboot loading of [${uboot_overlay_addr3}] disabled by /boot/uEnv.txt [disable_uboot_overlay_addr3=1]...;" \ ++ "else " \ ++ "setenv uboot_overlay ${uboot_overlay_addr3}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "fi;" \ ++ "if test -n ${uboot_overlay_addr4}; then " \ ++ "setenv uboot_overlay ${uboot_overlay_addr4}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "if test -n ${uboot_overlay_addr5}; then " \ ++ "setenv uboot_overlay ${uboot_overlay_addr5}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "if test -n ${uboot_overlay_addr6}; then " \ ++ "setenv uboot_overlay ${uboot_overlay_addr6}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "if test -n ${uboot_overlay_addr7}; then " \ ++ "setenv uboot_overlay ${uboot_overlay_addr7}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "if test -n ${uboot_overlay_pru}; then " \ ++ "setenv uboot_overlay ${uboot_overlay_pru}; " \ ++ "run virtualloadoverlay;" \ ++ "fi;" \ ++ "else " \ ++ "echo uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable...;" \ ++ "fi;" \ ++ "setenv rdfile initrd.img-${uname_r}; " \ ++ "if test -e ${devtype} ${bootpart} ${bootdir}/${rdfile}; then " \ ++ "echo loading ${bootdir}/${rdfile} ...; "\ ++ "run loadrd;" \ ++ "if test -n ${netinstall_enable}; then " \ ++ "run args_netinstall; run message;" \ ++ "echo debug: [${bootargs}] ... ;" \ ++ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ ++ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ ++ "fi;" \ ++ "if test -n ${uenv_root}; then " \ ++ "run args_uenv_root;" \ ++ "echo debug: [${bootargs}] ... ;" \ ++ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ ++ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ ++ "fi;" \ ++ "if test -n ${uuid}; then " \ ++ "run args_mmc_uuid;" \ ++ "echo debug: [${bootargs}] ... ;" \ ++ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ ++ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ ++ "else " \ ++ "run args_mmc_old;" \ ++ "echo debug: [${bootargs}] ... ;" \ ++ "echo debug: [bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}] ... ;" \ ++ "bootz ${loadaddr} ${rdaddr}:${rdsize} ${fdtaddr}; " \ ++ "fi;" \ ++ "else " \ ++ "if test -n ${uenv_root}; then " \ ++ "run args_uenv_root;" \ ++ "echo debug: [${bootargs}] ... ;" \ ++ "echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;" \ ++ "bootz ${loadaddr} - ${fdtaddr}; " \ ++ "fi;" \ ++ "run args_mmc_old;" \ ++ "echo debug: [${bootargs}] ... ;" \ ++ "echo debug: [bootz ${loadaddr} - ${fdtaddr}] ... ;" \ ++ "bootz ${loadaddr} - ${fdtaddr}; " \ ++ "fi;" \ ++ "fi;\0" \ ++ + /* + * The following are general good-enough settings for U-Boot. We set a + * large malloc pool as we generally have a lot of DDR, and we opt for +diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h +index de0a6af2fd..0cd2ccea03 100644 +--- a/include/configs/ti_omap5_common.h ++++ b/include/configs/ti_omap5_common.h +@@ -64,6 +64,11 @@ + DEFAULT_FIT_TI_ARGS \ + DEFAULT_COMMON_BOOT_TI_ARGS \ + DEFAULT_FDT_TI_ARGS \ ++ EEWIKI_USB_BOOT \ ++ EEWIKI_SCSI_BOOT \ ++ EEWIKI_MMC_BOOT \ ++ EEWIKI_UNAME_BOOT \ ++ EEPROM_PROGRAMMING \ + DFUARGS \ + NETARGS \ + NANDARGS \ +diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h +index a9d8f28d46..1480b6e3df 100644 +--- a/include/environment/ti/boot.h ++++ b/include/environment/ti/boot.h +@@ -132,6 +132,7 @@ + "bootpart=0:2\0" \ + "bootdir=/boot\0" \ + "bootfile=zImage\0" \ ++ "board_eeprom_header=undefined\0" \ + "usbtty=cdc_acm\0" \ + "vram=16M\0" \ + AVB_VERIFY_CMD \ +@@ -183,7 +184,14 @@ + "else " \ + "echo $apart partition not found; " \ + "exit; " \ +- "fi;\0" ++ "fi;\0 " \ ++ "read_board_eeprom=" \ ++ "if test $board_eeprom_header = beagle_x15_revb1_blank; then " \ ++ "run eeprom_dump; run eeprom_x15_b1; reset; fi; " \ ++ "if test $board_eeprom_header = beagle_x15_revc_blank; then " \ ++ "run eeprom_dump; run eeprom_x15_c; reset; fi; " \ ++ "if test $board_eeprom_header = bbai_a2_blank; then " \ ++ "run eeprom_dump; run eeprom_bbai_a2; reset; fi; \0 " + + #ifdef CONFIG_OMAP54XX + +@@ -223,19 +231,17 @@ + "echo WARNING: Could not determine device tree to use; fi; \0" + + #define CONFIG_BOOTCOMMAND \ +- "if test ${dofastboot} -eq 1; then " \ +- "echo Boot fastboot requested, resetting dofastboot ...;" \ +- "setenv dofastboot 0; saveenv;" \ +- FASTBOOT_CMD \ +- "fi;" \ +- "if test ${boot_fit} -eq 1; then " \ +- "run update_to_fit;" \ +- "fi;" \ ++ "run read_board_eeprom; " \ + "run findfdt; " \ +- "run envboot; " \ +- "run mmcboot;" \ +- "run emmc_linux_boot; " \ +- "run emmc_android_boot; " \ ++ "setenv mmcdev 0; " \ ++ "setenv devtype usb; " \ ++ "echo usb_boot is currently disabled;" \ ++ "setenv devtype scsi; " \ ++ "echo scsi_boot is currently disabled;" \ ++ "setenv devtype mmc; " \ ++ "run mmc_boot;" \ ++ "setenv mmcdev 1; " \ ++ "run mmc_boot;" \ + "" + + #endif /* CONFIG_OMAP54XX */ +diff --git a/include/environment/ti/mmc.h b/include/environment/ti/mmc.h +index b86c8dc7a4..0ec09f279a 100644 +--- a/include/environment/ti/mmc.h ++++ b/include/environment/ti/mmc.h +@@ -11,11 +11,31 @@ + #define DEFAULT_MMC_TI_ARGS \ + "mmcdev=0\0" \ + "mmcrootfstype=ext4 rootwait\0" \ +- "finduuid=part uuid mmc ${bootpart} uuid\0" \ ++ "finduuid=part uuid ${devtype} ${bootpart} uuid\0" \ + "args_mmc=run finduuid;setenv bootargs console=${console} " \ + "${optargs} " \ +- "root=PARTUUID=${uuid} rw " \ +- "rootfstype=${mmcrootfstype}\0" \ ++ "root=PARTUUID=${uuid} ro " \ ++ "rootfstype=${mmcrootfstype} " \ ++ "${cmdline}\0" \ ++ "args_mmc_old=setenv bootargs console=${console} " \ ++ "${optargs} " \ ++ "root=${oldroot} ro " \ ++ "rootfstype=${mmcrootfstype} " \ ++ "${cmdline}\0" \ ++ "args_mmc_uuid=setenv bootargs console=${console} " \ ++ "${optargs} " \ ++ "root=UUID=${uuid} ro " \ ++ "rootfstype=${mmcrootfstype} " \ ++ "${cmdline}\0" \ ++ "args_uenv_root=setenv bootargs console=${console} " \ ++ "${optargs} " \ ++ "root=${uenv_root} ro " \ ++ "rootfstype=${mmcrootfstype} " \ ++ "${musb} ${cmdline}\0" \ ++ "args_netinstall=setenv bootargs ${netinstall_bootargs} " \ ++ "${optargs} " \ ++ "root=/dev/ram rw " \ ++ "${cmdline}\0" \ + "loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \ + "bootscript=echo Running bootscript from mmc${mmcdev} ...; " \ + "source ${loadaddr}\0" \ +@@ -24,7 +44,28 @@ + "env import -t ${loadaddr} ${filesize}\0" \ + "loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}\0" \ + "loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \ +- "loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}\0" \ ++ "loadrd=load ${devtype} ${bootpart} ${rdaddr} ${bootdir}/${rdfile}; setenv rdsize ${filesize}\0" \ ++ "loadfdt=echo loading ${fdtdir}/${fdtfile} ...; load ${devtype} ${bootpart} ${fdtaddr} ${fdtdir}/${fdtfile}\0" \ ++ "loadoverlay=echo uboot_overlays: loading ${actual_uboot_overlay} ...; " \ ++ "load ${devtype} ${bootpart} ${rdaddr} ${actual_uboot_overlay}; " \ ++ "fdt addr ${fdtaddr}; fdt resize ${fdt_buffer}; " \ ++ "fdt apply ${rdaddr}; fdt resize ${fdt_buffer};\0" \ ++ "virtualloadoverlay=if test -e ${devtype} ${bootpart} ${fdtdir}/overlays/${uboot_overlay}; then " \ ++ "setenv actual_uboot_overlay ${fdtdir}/overlays/${uboot_overlay}; " \ ++ "run loadoverlay;" \ ++ "else " \ ++ "if test -e ${devtype} ${bootpart} /lib/firmware/${uboot_overlay}; then " \ ++ "setenv actual_uboot_overlay /lib/firmware/${uboot_overlay}; " \ ++ "run loadoverlay;" \ ++ "else " \ ++ "if test -e ${devtype} ${bootpart} ${uboot_overlay}; then " \ ++ "setenv actual_uboot_overlay ${uboot_overlay}; " \ ++ "run loadoverlay;" \ ++ "else " \ ++ "echo uboot_overlays: unable to find [${devtype} ${bootpart} ${uboot_overlay}]...;" \ ++ "fi;" \ ++ "fi;" \ ++ "fi;\0" \ + "envboot=mmc dev ${mmcdev}; " \ + "if mmc rescan; then " \ + "echo SD/MMC found on device ${mmcdev};" \ +-- +2.20.1 + diff --git a/buildroot-2021.05/board/beagleboneai/post-build.sh b/buildroot-2022.02.1/board/beagleboneai/post-build.sh similarity index 100% rename from buildroot-2021.05/board/beagleboneai/post-build.sh rename to buildroot-2022.02.1/board/beagleboneai/post-build.sh diff --git a/buildroot-2021.05/board/beagleboneai/readme.txt b/buildroot-2022.02.1/board/beagleboneai/readme.txt similarity index 100% rename from buildroot-2021.05/board/beagleboneai/readme.txt rename to buildroot-2022.02.1/board/beagleboneai/readme.txt diff --git a/buildroot-2021.05/board/beagleboneai/uEnv.txt b/buildroot-2022.02.1/board/beagleboneai/uEnv.txt similarity index 100% rename from buildroot-2021.05/board/beagleboneai/uEnv.txt rename to buildroot-2022.02.1/board/beagleboneai/uEnv.txt diff --git a/buildroot-2022.02.1/board/beaglev/extlinux.conf b/buildroot-2022.02.1/board/beaglev/extlinux.conf new file mode 100644 index 00000000..9daf6a75 --- /dev/null +++ b/buildroot-2022.02.1/board/beaglev/extlinux.conf @@ -0,0 +1,4 @@ +label linux + kernel /boot/Image + devicetree /boot/jh7100-beaglev-starlight.dtb + append console=ttyS0,115200 earlyprintk root=PARTUUID=0fef845a-c6e1-45bc-82f7-002fa720f958 rootwait diff --git a/buildroot-2022.02.1/board/beaglev/genimage.cfg b/buildroot-2022.02.1/board/beaglev/genimage.cfg new file mode 100644 index 00000000..deefdbc1 --- /dev/null +++ b/buildroot-2022.02.1/board/beaglev/genimage.cfg @@ -0,0 +1,12 @@ +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition rootfs { + partition-type-uuid = 72ec70a6-cf74-40e6-bd49-4bda08e8f224 + partition-uuid = 0fef845a-c6e1-45bc-82f7-002fa720f958 + bootable = "true" + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/beaglev/post-build.sh b/buildroot-2022.02.1/board/beaglev/post-build.sh new file mode 100755 index 00000000..fe61fd33 --- /dev/null +++ b/buildroot-2022.02.1/board/beaglev/post-build.sh @@ -0,0 +1,11 @@ +#!/bin/sh +BOARD_DIR=$(dirname $0) + +# Bring the extlinux.conf file in. +install -D -m 0644 ${BOARD_DIR}/extlinux.conf \ + ${TARGET_DIR}/boot/extlinux/extlinux.conf + +# To be reflashed through Xmodem, the bootloader needs to be prepended +# with a 4-byte header that contains the total size of the file. +perl -e 'print pack("l", (stat @ARGV[0])[7])' ${BINARIES_DIR}/fw_payload.bin > ${BINARIES_DIR}/fw_payload.bin.out +cat ${BINARIES_DIR}/fw_payload.bin >> ${BINARIES_DIR}/fw_payload.bin.out diff --git a/buildroot-2021.05/board/beaglev/readme.txt b/buildroot-2022.02.1/board/beaglev/readme.txt similarity index 100% rename from buildroot-2021.05/board/beaglev/readme.txt rename to buildroot-2022.02.1/board/beaglev/readme.txt diff --git a/buildroot-2021.05/board/beelink/gs1/extlinux.conf b/buildroot-2022.02.1/board/beelink/gs1/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/beelink/gs1/extlinux.conf rename to buildroot-2022.02.1/board/beelink/gs1/extlinux.conf diff --git a/buildroot-2022.02.1/board/beelink/gs1/genimage.cfg b/buildroot-2022.02.1/board/beelink/gs1/genimage.cfg new file mode 100644 index 00000000..71578743 --- /dev/null +++ b/buildroot-2022.02.1/board/beelink/gs1/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h6-beelink-gs1.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/beelink/gs1/post-build.sh b/buildroot-2022.02.1/board/beelink/gs1/post-build.sh similarity index 100% rename from buildroot-2021.05/board/beelink/gs1/post-build.sh rename to buildroot-2022.02.1/board/beelink/gs1/post-build.sh diff --git a/buildroot-2021.05/board/boundarydevices/common/boot.cmd b/buildroot-2022.02.1/board/boundarydevices/common/boot.cmd similarity index 100% rename from buildroot-2021.05/board/boundarydevices/common/boot.cmd rename to buildroot-2022.02.1/board/boundarydevices/common/boot.cmd diff --git a/buildroot-2021.05/board/boundarydevices/common/genimage.cfg b/buildroot-2022.02.1/board/boundarydevices/common/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/boundarydevices/common/genimage.cfg rename to buildroot-2022.02.1/board/boundarydevices/common/genimage.cfg diff --git a/buildroot-2021.05/board/boundarydevices/common/post-build.sh b/buildroot-2022.02.1/board/boundarydevices/common/post-build.sh similarity index 100% rename from buildroot-2021.05/board/boundarydevices/common/post-build.sh rename to buildroot-2022.02.1/board/boundarydevices/common/post-build.sh diff --git a/buildroot-2021.05/board/boundarydevices/common/post-image.sh b/buildroot-2022.02.1/board/boundarydevices/common/post-image.sh similarity index 100% rename from buildroot-2021.05/board/boundarydevices/common/post-image.sh rename to buildroot-2022.02.1/board/boundarydevices/common/post-image.sh diff --git a/buildroot-2021.05/board/boundarydevices/common/readme.txt b/buildroot-2022.02.1/board/boundarydevices/common/readme.txt similarity index 100% rename from buildroot-2021.05/board/boundarydevices/common/readme.txt rename to buildroot-2022.02.1/board/boundarydevices/common/readme.txt diff --git a/buildroot-2021.05/board/boundarydevices/common/upgrade.cmd b/buildroot-2022.02.1/board/boundarydevices/common/upgrade.cmd similarity index 100% rename from buildroot-2021.05/board/boundarydevices/common/upgrade.cmd rename to buildroot-2022.02.1/board/boundarydevices/common/upgrade.cmd diff --git a/buildroot-2021.05/board/chromebook/elm/kernel.args b/buildroot-2022.02.1/board/chromebook/elm/kernel.args similarity index 100% rename from buildroot-2021.05/board/chromebook/elm/kernel.args rename to buildroot-2022.02.1/board/chromebook/elm/kernel.args diff --git a/buildroot-2021.05/board/chromebook/elm/kernel.its b/buildroot-2022.02.1/board/chromebook/elm/kernel.its similarity index 100% rename from buildroot-2021.05/board/chromebook/elm/kernel.its rename to buildroot-2022.02.1/board/chromebook/elm/kernel.its diff --git a/buildroot-2022.02.1/board/chromebook/elm/linux.config b/buildroot-2022.02.1/board/chromebook/elm/linux.config new file mode 100644 index 00000000..895a3b85 --- /dev/null +++ b/buildroot-2022.02.1/board/chromebook/elm/linux.config @@ -0,0 +1,477 @@ +CONFIG_SYSVIPC=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_PREEMPT=y +CONFIG_IRQ_TIME_ACCOUNTING=y +CONFIG_BSD_PROCESS_ACCT=y +CONFIG_BSD_PROCESS_ACCT_V3=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_NUMA_BALANCING=y +CONFIG_MEMCG=y +CONFIG_BLK_CGROUP=y +CONFIG_CGROUP_PIDS=y +CONFIG_CGROUP_HUGETLB=y +CONFIG_CPUSETS=y +CONFIG_CGROUP_DEVICE=y +CONFIG_CGROUP_CPUACCT=y +CONFIG_CGROUP_PERF=y +CONFIG_USER_NS=y +CONFIG_SCHED_AUTOGROUP=y +CONFIG_RELAY=y +CONFIG_BLK_DEV_INITRD=y +CONFIG_KALLSYMS_ALL=y +# CONFIG_COMPAT_BRK is not set +CONFIG_SLAB=y +CONFIG_PROFILING=y +CONFIG_ARCH_MEDIATEK=y +CONFIG_ARM64_VA_BITS_48=y +CONFIG_SCHED_MC=y +CONFIG_SCHED_SMT=y +CONFIG_NR_CPUS=4 +CONFIG_NUMA=y +CONFIG_PARAVIRT=y +CONFIG_CRASH_DUMP=y +CONFIG_COMPAT=y +CONFIG_RANDOMIZE_BASE=y +# CONFIG_EFI is not set +# CONFIG_SUSPEND is not set +CONFIG_PM=y +CONFIG_PM_DEBUG=y +CONFIG_PM_ADVANCED_DEBUG=y +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +CONFIG_ARM_CPUIDLE=y +CONFIG_ARM_PSCI_CPUIDLE=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y +CONFIG_CPUFREQ_DT=y +CONFIG_ARM_SCPI_CPUFREQ=y +CONFIG_ARM_MEDIATEK_CPUFREQ=y +CONFIG_ARM_SCPI_PROTOCOL=y +CONFIG_JUMP_LABEL=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +# CONFIG_BLK_DEBUG_FS is not set +# CONFIG_MQ_IOSCHED_KYBER is not set +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_KSM=y +CONFIG_MEMORY_FAILURE=y +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_CMA=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_UNIX_DIAG=y +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_INET_UDP_DIAG=y +# CONFIG_IPV6 is not set +CONFIG_CFG80211=y +# CONFIG_CFG80211_DEFAULT_PS is not set +CONFIG_MAC80211=y +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_FW_LOADER_USER_HELPER=y +CONFIG_FW_LOADER_USER_HELPER_FALLBACK=y +CONFIG_BRCMSTB_GISB_ARB=y +CONFIG_VEXPRESS_CONFIG=y +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_CFI=y +CONFIG_MTD_CFI_ADV_OPTIONS=y +CONFIG_MTD_CFI_INTELEXT=y +CONFIG_MTD_CFI_AMDSTD=y +CONFIG_MTD_CFI_STAA=y +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_OF=y +CONFIG_MTD_DATAFLASH=y +CONFIG_MTD_SST25L=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_NAND_DENALI_DT=y +CONFIG_MTD_SPI_NOR=y +CONFIG_OF_OVERLAY=y +# CONFIG_BLK_DEV is not set +CONFIG_SRAM=y +CONFIG_EEPROM_AT24=m +CONFIG_EEPROM_AT25=m +CONFIG_RAID_ATTRS=m +CONFIG_SCSI=y +# CONFIG_SCSI_PROC_FS is not set +CONFIG_BLK_DEV_SD=y +CONFIG_SCSI_SAS_LIBSAS=y +CONFIG_SCSI_UFSHCD=y +CONFIG_SCSI_UFSHCD_PLATFORM=y +CONFIG_MD=y +CONFIG_BLK_DEV_MD=m +CONFIG_BLK_DEV_DM=m +CONFIG_DM_MIRROR=m +CONFIG_DM_ZERO=m +CONFIG_NETDEVICES=y +# CONFIG_ETHERNET is not set +CONFIG_PHYLIB=y +CONFIG_USB_CATC=m +CONFIG_USB_KAWETH=m +CONFIG_USB_PEGASUS=m +CONFIG_USB_RTL8150=m +CONFIG_USB_RTL8152=m +CONFIG_USB_LAN78XX=m +CONFIG_USB_USBNET=m +CONFIG_USB_NET_CDC_EEM=m +CONFIG_USB_NET_HUAWEI_CDC_NCM=m +CONFIG_USB_NET_CDC_MBIM=m +CONFIG_USB_NET_DM9601=m +CONFIG_USB_NET_SR9700=m +CONFIG_USB_NET_SR9800=m +CONFIG_USB_NET_SMSC75XX=m +CONFIG_USB_NET_SMSC95XX=m +CONFIG_USB_NET_GL620A=m +CONFIG_USB_NET_PLUSB=m +CONFIG_USB_NET_MCS7830=m +CONFIG_USB_NET_RNDIS_HOST=m +CONFIG_USB_ALI_M5632=y +CONFIG_USB_AN2720=y +CONFIG_USB_EPSON2888=y +CONFIG_USB_KC2190=y +CONFIG_USB_NET_CX82310_ETH=m +CONFIG_USB_NET_KALMIA=m +CONFIG_USB_NET_QMI_WWAN=m +CONFIG_USB_NET_INT51X1=m +CONFIG_USB_IPHETH=m +CONFIG_USB_SIERRA_NET=m +CONFIG_USB_VL600=m +CONFIG_USB_NET_CH9200=m +CONFIG_USB_NET_AQC111=m +# CONFIG_WLAN_VENDOR_ADMTEK is not set +# CONFIG_WLAN_VENDOR_ATH is not set +# CONFIG_WLAN_VENDOR_ATMEL is not set +# CONFIG_WLAN_VENDOR_BROADCOM is not set +# CONFIG_WLAN_VENDOR_CISCO is not set +# CONFIG_WLAN_VENDOR_INTEL is not set +# CONFIG_WLAN_VENDOR_INTERSIL is not set +CONFIG_MWIFIEX=m +CONFIG_MWIFIEX_SDIO=m +# CONFIG_WLAN_VENDOR_MEDIATEK is not set +# CONFIG_WLAN_VENDOR_RALINK is not set +# CONFIG_WLAN_VENDOR_REALTEK is not set +# CONFIG_WLAN_VENDOR_RSI is not set +# CONFIG_WLAN_VENDOR_ST is not set +# CONFIG_WLAN_VENDOR_TI is not set +# CONFIG_WLAN_VENDOR_ZYDAS is not set +# CONFIG_WLAN_VENDOR_QUANTENNA is not set +CONFIG_INPUT_EVDEV=y +CONFIG_KEYBOARD_ADC=m +CONFIG_KEYBOARD_GPIO=y +CONFIG_KEYBOARD_CROS_EC=y +CONFIG_MOUSE_ELAN_I2C=y +CONFIG_INPUT_TOUCHSCREEN=y +CONFIG_TOUCHSCREEN_ATMEL_MXT=m +CONFIG_TOUCHSCREEN_ELAN=y +CONFIG_INPUT_MISC=y +# CONFIG_SERIO_SERPORT is not set +CONFIG_SERIO_AMBAKMI=y +CONFIG_LEGACY_PTY_COUNT=16 +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_8250_EXTENDED=y +CONFIG_SERIAL_8250_SHARE_IRQ=y +CONFIG_SERIAL_8250_DW=y +CONFIG_SERIAL_8250_MT6577=y +CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_SERIAL_XILINX_PS_UART=y +CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y +CONFIG_SERIAL_FSL_LPUART=y +CONFIG_SERIAL_FSL_LPUART_CONSOLE=y +CONFIG_SERIAL_FSL_LINFLEXUART=y +CONFIG_SERIAL_FSL_LINFLEXUART_CONSOLE=y +CONFIG_SERIAL_DEV_BUS=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_IPMI_HANDLER=m +CONFIG_IPMI_DEVICE_INTERFACE=m +CONFIG_IPMI_SI=m +CONFIG_TCG_TPM=y +CONFIG_TCG_TIS_I2C_INFINEON=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX_PCA954x=y +CONFIG_I2C_DESIGNWARE_PLATFORM=y +CONFIG_I2C_GPIO=m +CONFIG_I2C_MT65XX=y +CONFIG_I2C_RK3X=y +CONFIG_I2C_SLAVE=y +CONFIG_SPI=y +CONFIG_SPI_CADENCE_QUADSPI=y +CONFIG_SPI_NXP_FLEXSPI=y +CONFIG_SPI_GPIO=y +CONFIG_SPI_MT65XX=y +CONFIG_SPI_PL022=y +CONFIG_SPI_ROCKCHIP=y +CONFIG_SPI_SPIDEV=y +CONFIG_PINCTRL_SINGLE=y +CONFIG_PINCTRL_MAX77620=y +CONFIG_GPIO_ALTERA=m +CONFIG_GPIO_DWAPB=y +CONFIG_GPIO_MB86S7X=y +CONFIG_GPIO_PL061=y +CONFIG_GPIO_XGENE=y +CONFIG_GPIO_MAX732X=y +CONFIG_GPIO_PCA953X=y +CONFIG_GPIO_PCA953X_IRQ=y +CONFIG_GPIO_BD9571MWV=m +CONFIG_GPIO_MAX77620=y +CONFIG_POWER_RESET_BRCMSTB=y +CONFIG_POWER_RESET_XGENE=y +CONFIG_POWER_RESET_SYSCON=y +CONFIG_SYSCON_REBOOT_MODE=y +CONFIG_BATTERY_SBS=m +CONFIG_BATTERY_BQ27XXX=y +CONFIG_SENSORS_ARM_SCPI=y +CONFIG_SENSORS_LM90=m +CONFIG_SENSORS_PWM_FAN=m +CONFIG_SENSORS_INA2XX=m +CONFIG_SENSORS_INA3221=m +CONFIG_THERMAL=y +CONFIG_CPU_THERMAL=y +CONFIG_DEVFREQ_THERMAL=y +CONFIG_THERMAL_EMULATION=y +CONFIG_WATCHDOG=y +CONFIG_MEDIATEK_WATCHDOG=y +CONFIG_MFD_BD9571MWV=y +CONFIG_MFD_AXP20X_I2C=y +CONFIG_MFD_HI6421_PMIC=y +CONFIG_MFD_MAX77620=y +CONFIG_MFD_MT6397=y +CONFIG_MFD_RK808=y +CONFIG_MFD_SEC_CORE=y +CONFIG_MFD_ROHM_BD718XX=y +CONFIG_REGULATOR_DEBUG=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_AXP20X=y +CONFIG_REGULATOR_BD718XX=y +CONFIG_REGULATOR_BD9571MWV=y +CONFIG_REGULATOR_DA9211=y +CONFIG_REGULATOR_FAN53555=y +CONFIG_REGULATOR_GPIO=y +CONFIG_REGULATOR_HI6421V530=y +CONFIG_REGULATOR_MAX77620=y +CONFIG_REGULATOR_MAX8973=y +CONFIG_REGULATOR_MT6397=y +CONFIG_REGULATOR_PFUZE100=y +CONFIG_REGULATOR_PWM=y +CONFIG_REGULATOR_RK808=y +CONFIG_REGULATOR_S2MPS11=y +CONFIG_REGULATOR_VCTRL=m +CONFIG_MEDIA_SUPPORT=y +CONFIG_MEDIA_CAMERA_SUPPORT=y +CONFIG_MEDIA_ANALOG_TV_SUPPORT=y +CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y +CONFIG_MEDIA_SDR_SUPPORT=y +CONFIG_VIDEO_V4L2_SUBDEV_API=y +CONFIG_MEDIA_USB_SUPPORT=y +CONFIG_USB_VIDEO_CLASS=m +CONFIG_DRM=y +CONFIG_DRM_I2C_CH7006=m +CONFIG_DRM_I2C_SIL164=m +CONFIG_DRM_I2C_NXP_TDA998X=m +CONFIG_DRM_MALI_DISPLAY=m +CONFIG_DRM_PANEL_LVDS=m +CONFIG_DRM_PANEL_SIMPLE=y +CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m +CONFIG_DRM_DISPLAY_CONNECTOR=y +CONFIG_DRM_PARADE_PS8640=y +CONFIG_DRM_SII902X=m +CONFIG_DRM_THINE_THC63LVD1024=m +CONFIG_DRM_TI_SN65DSI86=m +CONFIG_DRM_ANALOGIX_ANX78XX=y +CONFIG_DRM_I2C_ADV7511=m +CONFIG_DRM_MEDIATEK=y +CONFIG_DRM_MEDIATEK_HDMI=y +CONFIG_FB_MODE_HELPERS=y +CONFIG_FB_SIMPLE=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y +CONFIG_BACKLIGHT_PWM=y +CONFIG_BACKLIGHT_LP855X=y +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_SOC=y +CONFIG_SND_SOC_MT8173=y +CONFIG_SND_SOC_MT8173_RT5650_RT5676=y +CONFIG_I2C_HID=m +CONFIG_USB_CONN_GPIO=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_HCD_PLATFORM=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB_STORAGE=y +CONFIG_USB_MTU3=y +CONFIG_USB_MUSB_HDRC=y +CONFIG_USB_DWC3=y +CONFIG_USB_DWC2=y +CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA_UDC=y +CONFIG_USB_CHIPIDEA_HOST=y +CONFIG_USB_ISP1760=y +CONFIG_USB_SERIAL=y +CONFIG_USB_SERIAL_CONSOLE=y +CONFIG_USB_SERIAL_PL2303=y +CONFIG_USB_HSIC_USB3503=y +CONFIG_NOP_USB_XCEIV=y +CONFIG_USB_ULPI=y +CONFIG_USB_GADGET=y +CONFIG_USB_SNP_UDC_PLAT=y +CONFIG_USB_BDC_UDC=y +CONFIG_USB_ETH=m +CONFIG_USB_ETH_EEM=y +CONFIG_TYPEC=m +CONFIG_TYPEC_TCPM=m +CONFIG_TYPEC_FUSB302=m +CONFIG_MMC=y +CONFIG_MMC_BLOCK_MINORS=32 +CONFIG_MMC_ARMMMCI=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_SDHCI_OF_ARASAN=y +CONFIG_MMC_SDHCI_CADENCE=y +CONFIG_MMC_SDHCI_F_SDH30=y +CONFIG_MMC_SPI=y +CONFIG_MMC_DW=y +CONFIG_MMC_DW_EXYNOS=y +CONFIG_MMC_DW_HI3798CV200=y +CONFIG_MMC_DW_K3=y +CONFIG_MMC_MTK=y +CONFIG_MMC_SDHCI_XENON=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_PWM=y +CONFIG_LEDS_SYSCON=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_TIMER=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +CONFIG_LEDS_TRIGGER_CPU=y +CONFIG_LEDS_TRIGGER_DEFAULT_ON=y +CONFIG_LEDS_TRIGGER_PANIC=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_DS1307=m +CONFIG_RTC_DRV_MAX77686=y +CONFIG_RTC_DRV_RK808=m +CONFIG_RTC_DRV_PCF85363=m +CONFIG_RTC_DRV_RX8581=m +CONFIG_RTC_DRV_S5M=y +CONFIG_RTC_DRV_DS3232=y +CONFIG_RTC_DRV_PCF2127=m +CONFIG_RTC_DRV_PL031=y +CONFIG_DMADEVICES=y +CONFIG_FSL_EDMA=y +CONFIG_MV_XOR_V2=y +CONFIG_PL330_DMA=y +CONFIG_MTK_CQDMA=y +CONFIG_QCOM_HIDMA_MGMT=y +CONFIG_QCOM_HIDMA=y +# CONFIG_VIRTIO_MENU is not set +CONFIG_CHROME_PLATFORMS=y +CONFIG_CROS_EC=y +CONFIG_CROS_EC_I2C=y +CONFIG_CROS_EC_SPI=y +CONFIG_COMMON_CLK_RK808=y +CONFIG_COMMON_CLK_SCPI=y +CONFIG_COMMON_CLK_CS2000_CP=y +CONFIG_COMMON_CLK_S2MPS11=y +CONFIG_COMMON_CLK_XGENE=y +CONFIG_COMMON_CLK_PWM=y +CONFIG_COMMON_CLK_VC5=y +CONFIG_COMMON_CLK_MT6797_MMSYS=y +CONFIG_COMMON_CLK_MT6797_IMGSYS=y +CONFIG_COMMON_CLK_MT6797_VDECSYS=y +CONFIG_COMMON_CLK_MT6797_VENCSYS=y +CONFIG_HWSPINLOCK=y +CONFIG_ARM_MHU=y +CONFIG_PLATFORM_MHU=y +CONFIG_ARM_SMMU=y +CONFIG_ARM_SMMU_V3=y +CONFIG_MTK_IOMMU=y +CONFIG_REMOTEPROC=y +CONFIG_MTK_CMDQ=y +CONFIG_MTK_PMIC_WRAP=y +CONFIG_EXTCON_USB_GPIO=y +CONFIG_IIO=y +CONFIG_MAX9611=m +CONFIG_SENSORS_ISL29018=m +CONFIG_MPL3115=m +CONFIG_PWM=y +CONFIG_PWM_MTK_DISP=y +CONFIG_PWM_MEDIATEK=y +CONFIG_PHY_XGENE=y +CONFIG_PHY_FSL_IMX8MQ_USB=y +CONFIG_PHY_MTK_TPHY=y +CONFIG_PHY_QCOM_USB_HS=y +CONFIG_PHY_SAMSUNG_USB2=y +CONFIG_EXT2_FS=y +CONFIG_EXT3_FS=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_FANOTIFY=y +CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y +CONFIG_QUOTA=y +CONFIG_AUTOFS4_FS=y +CONFIG_FUSE_FS=m +CONFIG_CUSE=m +CONFIG_OVERLAY_FS=y +CONFIG_OVERLAY_FS_INDEX=y +CONFIG_OVERLAY_FS_XINO_AUTO=y +CONFIG_OVERLAY_FS_METACOPY=y +CONFIG_VFAT_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_HUGETLBFS=y +CONFIG_CONFIGFS_FS=y +CONFIG_PSTORE=y +CONFIG_NFS_FS=m +CONFIG_NFS_V3_ACL=y +CONFIG_NFS_V4=m +CONFIG_NFS_SWAP=y +CONFIG_CIFS=m +CONFIG_CIFS_STATS2=y +CONFIG_CIFS_WEAK_PW_HASH=y +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ISO8859_1=y +CONFIG_SECURITY=y +CONFIG_CRYPTO_CRYPTD=y +CONFIG_CRYPTO_DH=m +CONFIG_CRYPTO_ECDH=m +CONFIG_CRYPTO_SEQIV=y +CONFIG_CRYPTO_ECHAINIV=y +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_ECB=y +CONFIG_CRYPTO_XXHASH=m +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA3=m +CONFIG_CRYPTO_DES=m +CONFIG_CRYPTO_ANSI_CPRNG=y +CONFIG_CRYPTO_DEV_CCREE=m +CONFIG_PACKING=y +CONFIG_INDIRECT_PIO=y +CONFIG_CRC_CCITT=m +CONFIG_CRC_T10DIF=y +CONFIG_LIBCRC32C=m +CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=32 +CONFIG_IRQ_POLL=y +CONFIG_PRINTK_TIME=y +CONFIG_DEBUG_INFO=y +CONFIG_MAGIC_SYSRQ=y +CONFIG_DEBUG_FS=y +CONFIG_DEBUG_KERNEL=y +# CONFIG_SCHED_DEBUG is not set +# CONFIG_DEBUG_PREEMPT is not set +CONFIG_STACKTRACE=y +# CONFIG_FTRACE is not set +# CONFIG_STRICT_DEVMEM is not set diff --git a/buildroot-2021.05/board/chromebook/elm/readme.txt b/buildroot-2022.02.1/board/chromebook/elm/readme.txt similarity index 100% rename from buildroot-2021.05/board/chromebook/elm/readme.txt rename to buildroot-2022.02.1/board/chromebook/elm/readme.txt diff --git a/buildroot-2021.05/board/chromebook/elm/sign.sh b/buildroot-2022.02.1/board/chromebook/elm/sign.sh similarity index 100% rename from buildroot-2021.05/board/chromebook/elm/sign.sh rename to buildroot-2022.02.1/board/chromebook/elm/sign.sh diff --git a/buildroot-2021.05/board/chromebook/mksd.sh b/buildroot-2022.02.1/board/chromebook/mksd.sh similarity index 100% rename from buildroot-2021.05/board/chromebook/mksd.sh rename to buildroot-2022.02.1/board/chromebook/mksd.sh diff --git a/buildroot-2021.05/board/chromebook/snow/kernel.args b/buildroot-2022.02.1/board/chromebook/snow/kernel.args similarity index 100% rename from buildroot-2021.05/board/chromebook/snow/kernel.args rename to buildroot-2022.02.1/board/chromebook/snow/kernel.args diff --git a/buildroot-2021.05/board/chromebook/snow/kernel.its b/buildroot-2022.02.1/board/chromebook/snow/kernel.its similarity index 100% rename from buildroot-2021.05/board/chromebook/snow/kernel.its rename to buildroot-2022.02.1/board/chromebook/snow/kernel.its diff --git a/buildroot-2021.05/board/chromebook/snow/linux-4.15-dts-tpm.patch b/buildroot-2022.02.1/board/chromebook/snow/linux-4.15-dts-tpm.patch similarity index 100% rename from buildroot-2021.05/board/chromebook/snow/linux-4.15-dts-tpm.patch rename to buildroot-2022.02.1/board/chromebook/snow/linux-4.15-dts-tpm.patch diff --git a/buildroot-2021.05/board/chromebook/snow/linux-4.15.fragment b/buildroot-2022.02.1/board/chromebook/snow/linux-4.15.fragment similarity index 100% rename from buildroot-2021.05/board/chromebook/snow/linux-4.15.fragment rename to buildroot-2022.02.1/board/chromebook/snow/linux-4.15.fragment diff --git a/buildroot-2021.05/board/chromebook/snow/readme.txt b/buildroot-2022.02.1/board/chromebook/snow/readme.txt similarity index 100% rename from buildroot-2021.05/board/chromebook/snow/readme.txt rename to buildroot-2022.02.1/board/chromebook/snow/readme.txt diff --git a/buildroot-2021.05/board/chromebook/snow/sign.sh b/buildroot-2022.02.1/board/chromebook/snow/sign.sh similarity index 100% rename from buildroot-2021.05/board/chromebook/snow/sign.sh rename to buildroot-2022.02.1/board/chromebook/snow/sign.sh diff --git a/buildroot-2022.02.1/board/ci20/genimage.cfg b/buildroot-2022.02.1/board/ci20/genimage.cfg new file mode 100644 index 00000000..2d4a18a9 --- /dev/null +++ b/buildroot-2022.02.1/board/ci20/genimage.cfg @@ -0,0 +1,28 @@ +image sdcard.img { + hdimage { + } + + partition uboot-spl { + in-partition-table = "no" + image = "u-boot-spl.bin" + offset = 512 + } + + partition uboot { + in-partition-table = "no" + image = "u-boot.img" + offset = 14K + } + + partition uboot-env { + in-partition-table = "no" + image = "uboot-env.bin" + offset = 526K + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + offset = 2M + } +} diff --git a/buildroot-2021.05/board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch b/buildroot-2022.02.1/board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch similarity index 100% rename from buildroot-2021.05/board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch rename to buildroot-2022.02.1/board/ci20/patches/uboot/0001-mips-Remove-default-endiannes.patch diff --git a/buildroot-2021.05/board/ci20/readme.txt b/buildroot-2022.02.1/board/ci20/readme.txt similarity index 100% rename from buildroot-2021.05/board/ci20/readme.txt rename to buildroot-2022.02.1/board/ci20/readme.txt diff --git a/buildroot-2021.05/board/ci20/uboot-env.txt b/buildroot-2022.02.1/board/ci20/uboot-env.txt similarity index 100% rename from buildroot-2021.05/board/ci20/uboot-env.txt rename to buildroot-2022.02.1/board/ci20/uboot-env.txt diff --git a/buildroot-2021.05/board/csky/gx6605s/gdbinit b/buildroot-2022.02.1/board/csky/gx6605s/gdbinit similarity index 100% rename from buildroot-2021.05/board/csky/gx6605s/gdbinit rename to buildroot-2022.02.1/board/csky/gx6605s/gdbinit diff --git a/buildroot-2021.05/board/csky/gx6605s/gx6605s.dts b/buildroot-2022.02.1/board/csky/gx6605s/gx6605s.dts similarity index 100% rename from buildroot-2021.05/board/csky/gx6605s/gx6605s.dts rename to buildroot-2022.02.1/board/csky/gx6605s/gx6605s.dts diff --git a/buildroot-2021.05/board/csky/readme.txt b/buildroot-2022.02.1/board/csky/readme.txt similarity index 100% rename from buildroot-2021.05/board/csky/readme.txt rename to buildroot-2022.02.1/board/csky/readme.txt diff --git a/buildroot-2021.05/board/cubietech/cubieboard2/boot.cmd b/buildroot-2022.02.1/board/cubietech/cubieboard2/boot.cmd similarity index 100% rename from buildroot-2021.05/board/cubietech/cubieboard2/boot.cmd rename to buildroot-2022.02.1/board/cubietech/cubieboard2/boot.cmd diff --git a/buildroot-2022.02.1/board/cubietech/cubieboard2/genimage.cfg b/buildroot-2022.02.1/board/cubietech/cubieboard2/genimage.cfg new file mode 100644 index 00000000..0ba74d6b --- /dev/null +++ b/buildroot-2022.02.1/board/cubietech/cubieboard2/genimage.cfg @@ -0,0 +1,38 @@ +# Minimal SD card image for the Cubieboard2 +# Based in the Orange Pi genimage.cfg + +image boot.vfat { + vfat { + files = { + "zImage", + "sun7i-a20-cubieboard2.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/cubietech/cubieboard2/post-image.sh b/buildroot-2022.02.1/board/cubietech/cubieboard2/post-image.sh similarity index 100% rename from buildroot-2021.05/board/cubietech/cubieboard2/post-image.sh rename to buildroot-2022.02.1/board/cubietech/cubieboard2/post-image.sh diff --git a/buildroot-2022.02.1/board/embest/riotboard/genimage.cfg b/buildroot-2022.02.1/board/embest/riotboard/genimage.cfg new file mode 100644 index 00000000..d2e851a7 --- /dev/null +++ b/buildroot-2022.02.1/board/embest/riotboard/genimage.cfg @@ -0,0 +1,17 @@ +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.imx" + offset = 1K + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + offset = 1M + size = 60M + } +} diff --git a/buildroot-2021.05/board/embest/riotboard/readme.txt b/buildroot-2022.02.1/board/embest/riotboard/readme.txt similarity index 100% rename from buildroot-2021.05/board/embest/riotboard/readme.txt rename to buildroot-2022.02.1/board/embest/riotboard/readme.txt diff --git a/buildroot-2021.05/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf rename to buildroot-2022.02.1/board/embest/riotboard/rootfs_overlay/boot/extlinux/extlinux.conf diff --git a/buildroot-2022.02.1/board/engicam/geam6ul/genimage.cfg b/buildroot-2022.02.1/board/engicam/geam6ul/genimage.cfg new file mode 100644 index 00000000..3d290b2e --- /dev/null +++ b/buildroot-2022.02.1/board/engicam/geam6ul/genimage.cfg @@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "uImage", + "imx6ul-geam-kit.dtb" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition SPL { + in-partition-table = "no" + image = "SPL" + offset = 1K + } + + partition u-boot-dtb { + in-partition-table = "no" + image = "u-boot-dtb.img" + offset = 69K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/buildroot-2021.05/board/engicam/geam6ul/readme.txt b/buildroot-2022.02.1/board/engicam/geam6ul/readme.txt similarity index 100% rename from buildroot-2021.05/board/engicam/geam6ul/readme.txt rename to buildroot-2022.02.1/board/engicam/geam6ul/readme.txt diff --git a/buildroot-2022.02.1/board/engicam/icorem6/genimage.cfg b/buildroot-2022.02.1/board/engicam/icorem6/genimage.cfg new file mode 100644 index 00000000..985d9e5d --- /dev/null +++ b/buildroot-2022.02.1/board/engicam/icorem6/genimage.cfg @@ -0,0 +1,42 @@ +image boot.vfat { + vfat { + files = { + "uImage", + "imx6dl-icore.dtb", + "imx6q-icore.dtb", + "imx6q-icore-ofcap10.dtb", + "imx6q-icore-ofcap12.dtb" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition SPL { + in-partition-table = "no" + image = "SPL" + offset = 1K + } + + partition u-boot-dtb { + in-partition-table = "no" + image = "u-boot-dtb.img" + offset = 69K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/buildroot-2021.05/board/engicam/icorem6/linux_qt5.fragment b/buildroot-2022.02.1/board/engicam/icorem6/linux_qt5.fragment similarity index 100% rename from buildroot-2021.05/board/engicam/icorem6/linux_qt5.fragment rename to buildroot-2022.02.1/board/engicam/icorem6/linux_qt5.fragment diff --git a/buildroot-2021.05/board/engicam/icorem6/readme.txt b/buildroot-2022.02.1/board/engicam/icorem6/readme.txt similarity index 100% rename from buildroot-2021.05/board/engicam/icorem6/readme.txt rename to buildroot-2022.02.1/board/engicam/icorem6/readme.txt diff --git a/buildroot-2021.05/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json b/buildroot-2022.02.1/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json similarity index 100% rename from buildroot-2021.05/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json rename to buildroot-2022.02.1/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap10.json diff --git a/buildroot-2021.05/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json b/buildroot-2022.02.1/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json similarity index 100% rename from buildroot-2021.05/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json rename to buildroot-2022.02.1/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore-ofcap12.json diff --git a/buildroot-2021.05/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json b/buildroot-2022.02.1/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json similarity index 100% rename from buildroot-2021.05/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json rename to buildroot-2022.02.1/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json diff --git a/buildroot-2022.02.1/board/engicam/icorem6_rqs/genimage.cfg b/buildroot-2022.02.1/board/engicam/icorem6_rqs/genimage.cfg new file mode 100644 index 00000000..d6936f81 --- /dev/null +++ b/buildroot-2022.02.1/board/engicam/icorem6_rqs/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "uImage", + "imx6dl-icore-rqs.dtb", + "imx6q-icore-rqs.dtb" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition SPL { + in-partition-table = "no" + image = "SPL" + offset = 1K + } + + partition u-boot-dtb { + in-partition-table = "no" + image = "u-boot-dtb.img" + offset = 69K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/buildroot-2021.05/board/engicam/icorem6_rqs/readme.txt b/buildroot-2022.02.1/board/engicam/icorem6_rqs/readme.txt similarity index 100% rename from buildroot-2021.05/board/engicam/icorem6_rqs/readme.txt rename to buildroot-2022.02.1/board/engicam/icorem6_rqs/readme.txt diff --git a/buildroot-2022.02.1/board/engicam/isiot/genimage.cfg b/buildroot-2022.02.1/board/engicam/isiot/genimage.cfg new file mode 100644 index 00000000..4e65a701 --- /dev/null +++ b/buildroot-2022.02.1/board/engicam/isiot/genimage.cfg @@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "uImage", + "imx6ul-isiot-emmc.dtb" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition SPL { + in-partition-table = "no" + image = "SPL" + offset = 1K + } + + partition u-boot-dtb { + in-partition-table = "no" + image = "u-boot-dtb.img" + offset = 69K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/buildroot-2021.05/board/engicam/isiot/readme.txt b/buildroot-2022.02.1/board/engicam/isiot/readme.txt similarity index 100% rename from buildroot-2021.05/board/engicam/isiot/readme.txt rename to buildroot-2022.02.1/board/engicam/isiot/readme.txt diff --git a/buildroot-2021.05/board/firefly/roc-rk3399-pc/extlinux.conf b/buildroot-2022.02.1/board/firefly/roc-rk3399-pc/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/firefly/roc-rk3399-pc/extlinux.conf rename to buildroot-2022.02.1/board/firefly/roc-rk3399-pc/extlinux.conf diff --git a/buildroot-2021.05/board/firefly/roc-rk3399-pc/genimage.cfg b/buildroot-2022.02.1/board/firefly/roc-rk3399-pc/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/firefly/roc-rk3399-pc/genimage.cfg rename to buildroot-2022.02.1/board/firefly/roc-rk3399-pc/genimage.cfg diff --git a/buildroot-2021.05/board/firefly/roc-rk3399-pc/post-build.sh b/buildroot-2022.02.1/board/firefly/roc-rk3399-pc/post-build.sh similarity index 100% rename from buildroot-2021.05/board/firefly/roc-rk3399-pc/post-build.sh rename to buildroot-2022.02.1/board/firefly/roc-rk3399-pc/post-build.sh diff --git a/buildroot-2021.05/board/firefly/roc-rk3399-pc/readme.txt b/buildroot-2022.02.1/board/firefly/roc-rk3399-pc/readme.txt similarity index 100% rename from buildroot-2021.05/board/firefly/roc-rk3399-pc/readme.txt rename to buildroot-2022.02.1/board/firefly/roc-rk3399-pc/readme.txt diff --git a/buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template b/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template similarity index 100% rename from buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template rename to buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template diff --git a/buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template_imx8 b/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_imx8 similarity index 100% rename from buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template_imx8 rename to buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_imx8 diff --git a/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_no_boot_part b/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_no_boot_part new file mode 100644 index 00000000..b8fa4321 --- /dev/null +++ b/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_no_boot_part @@ -0,0 +1,16 @@ +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "%UBOOTBIN%" + offset = 1024 + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + offset = 8M + } +} diff --git a/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl b/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl new file mode 100644 index 00000000..ef015918 --- /dev/null +++ b/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_no_boot_part_spl @@ -0,0 +1,31 @@ +# Minimal SD card image for the Freescale boards Template for SPL Boot +# +# We mimic the .sdcard Freescale's image format: +# * the SD card must have 1 kB free space at the beginning, +# * SPL is at the offset expected by ROM, +# * U-Boot is at the offset expected by SPL, +# * The first partition is expected to be an ext2 and have a /boot directory. +# + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "SPL" + offset = 1024 + } + + partition u-boot { + in-partition-table = "no" + image = "%UBOOTBIN%" + offset = 69K + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + offset = 8M + } +} diff --git a/buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template_spl b/buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_spl similarity index 100% rename from buildroot-2021.05/board/freescale/common/imx/genimage.cfg.template_spl rename to buildroot-2022.02.1/board/freescale/common/imx/genimage.cfg.template_spl diff --git a/buildroot-2021.05/board/freescale/common/imx/imx8-bootloader-prepare.sh b/buildroot-2022.02.1/board/freescale/common/imx/imx8-bootloader-prepare.sh similarity index 100% rename from buildroot-2021.05/board/freescale/common/imx/imx8-bootloader-prepare.sh rename to buildroot-2022.02.1/board/freescale/common/imx/imx8-bootloader-prepare.sh diff --git a/buildroot-2022.02.1/board/freescale/common/imx/post-image.sh b/buildroot-2022.02.1/board/freescale/common/imx/post-image.sh new file mode 100755 index 00000000..d36f8291 --- /dev/null +++ b/buildroot-2022.02.1/board/freescale/common/imx/post-image.sh @@ -0,0 +1,113 @@ +#!/usr/bin/env bash + +# +# dtb_list extracts the list of DTB files from BR2_LINUX_KERNEL_INTREE_DTS_NAME +# in ${BR_CONFIG}, then prints the corresponding list of file names for the +# genimage configuration file +# +dtb_list() +{ + local DTB_LIST="$(sed -n 's/^BR2_LINUX_KERNEL_INTREE_DTS_NAME="\([\/a-z0-9 \-]*\)"$/\1/p' ${BR2_CONFIG})" + + for dt in $DTB_LIST; do + echo -n "\"`basename $dt`.dtb\", " + done +} + +# +# linux_image extracts the Linux image format from BR2_LINUX_KERNEL_UIMAGE in +# ${BR_CONFIG}, then prints the corresponding file name for the genimage +# configuration file +# +linux_image() +{ + if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then + echo "\"uImage\"" + elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then + echo "\"Image\"" + elif grep -Eq "^BR2_LINUX_KERNEL_IMAGEGZ=y$" ${BR2_CONFIG}; then + echo "\"Image.gz\"" + else + echo "\"zImage\"" + fi +} + +genimage_type() +{ + if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx8" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx8" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx8" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx8" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx8" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_imx8" + elif grep -Eq "^BR2_LINUX_KERNEL_INSTALL_TARGET=y$" ${BR2_CONFIG}; then + if grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_no_boot_part_spl" + else + echo "genimage.cfg.template_no_boot_part" + fi + elif grep -Eq "^BR2_TARGET_UBOOT_SPL=y$" ${BR2_CONFIG}; then + echo "genimage.cfg.template_spl" + else + echo "genimage.cfg.template" + fi +} + +imx_offset() +{ + if grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y$" ${BR2_CONFIG}; then + echo "33K" + elif grep -Eq "^BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y$" ${BR2_CONFIG}; then + echo "33K" + else + echo "32K" + fi +} + +uboot_image() +{ + if grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y$" ${BR2_CONFIG}; then + echo "u-boot-dtb.imx" + elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMX=y$" ${BR2_CONFIG}; then + echo "u-boot.imx" + elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y$" ${BR2_CONFIG}; then + echo "u-boot-dtb.img" + elif grep -Eq "^BR2_TARGET_UBOOT_FORMAT_IMG=y$" ${BR2_CONFIG}; then + echo "u-boot.img" + fi +} + +main() +{ + local FILES="$(dtb_list) $(linux_image)" + local IMXOFFSET="$(imx_offset)" + local UBOOTBIN="$(uboot_image)" + local GENIMAGE_CFG="$(mktemp --suffix genimage.cfg)" + local GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + + sed -e "s/%FILES%/${FILES}/" \ + -e "s/%IMXOFFSET%/${IMXOFFSET}/" \ + -e "s/%UBOOTBIN%/${UBOOTBIN}/" \ + board/freescale/common/imx/$(genimage_type) > ${GENIMAGE_CFG} + + rm -rf "${GENIMAGE_TMP}" + + genimage \ + --rootpath "${TARGET_DIR}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}" + + rm -f ${GENIMAGE_CFG} + + exit $? +} + +main $@ diff --git a/buildroot-2021.05/board/freescale/common/mxs/genimage.cfg.template b/buildroot-2022.02.1/board/freescale/common/mxs/genimage.cfg.template similarity index 100% rename from buildroot-2021.05/board/freescale/common/mxs/genimage.cfg.template rename to buildroot-2022.02.1/board/freescale/common/mxs/genimage.cfg.template diff --git a/buildroot-2021.05/board/freescale/common/mxs/post-image.sh b/buildroot-2022.02.1/board/freescale/common/mxs/post-image.sh similarity index 100% rename from buildroot-2021.05/board/freescale/common/mxs/post-image.sh rename to buildroot-2022.02.1/board/freescale/common/mxs/post-image.sh diff --git a/buildroot-2021.05/board/freescale/imx23evk/readme.txt b/buildroot-2022.02.1/board/freescale/imx23evk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx23evk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx23evk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx25pdk/readme.txt b/buildroot-2022.02.1/board/freescale/imx25pdk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx25pdk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx25pdk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx28evk/readme.txt b/buildroot-2022.02.1/board/freescale/imx28evk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx28evk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx28evk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx51evk/readme.txt b/buildroot-2022.02.1/board/freescale/imx51evk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx51evk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx51evk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx6-sabresd/linux_qt5.fragment b/buildroot-2022.02.1/board/freescale/imx6-sabresd/linux_qt5.fragment similarity index 100% rename from buildroot-2021.05/board/freescale/imx6-sabresd/linux_qt5.fragment rename to buildroot-2022.02.1/board/freescale/imx6-sabresd/linux_qt5.fragment diff --git a/buildroot-2021.05/board/freescale/imx6-sabresd/readme.txt b/buildroot-2022.02.1/board/freescale/imx6-sabresd/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx6-sabresd/readme.txt rename to buildroot-2022.02.1/board/freescale/imx6-sabresd/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx6-sabresd/rootfs_overlay/root/sabresd.json b/buildroot-2022.02.1/board/freescale/imx6-sabresd/rootfs_overlay/root/sabresd.json similarity index 100% rename from buildroot-2021.05/board/freescale/imx6-sabresd/rootfs_overlay/root/sabresd.json rename to buildroot-2022.02.1/board/freescale/imx6-sabresd/rootfs_overlay/root/sabresd.json diff --git a/buildroot-2021.05/board/freescale/imx6sabre/patches/uboot/0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch b/buildroot-2022.02.1/board/freescale/imx6sabre/patches/uboot/0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch similarity index 100% rename from buildroot-2021.05/board/freescale/imx6sabre/patches/uboot/0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch rename to buildroot-2022.02.1/board/freescale/imx6sabre/patches/uboot/0001-mx6qsabre_common-boot-Linux-to-init-in-mfgtools-mode.patch diff --git a/buildroot-2021.05/board/freescale/imx6sabre/readme.txt b/buildroot-2022.02.1/board/freescale/imx6sabre/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx6sabre/readme.txt rename to buildroot-2022.02.1/board/freescale/imx6sabre/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx6slevk/readme.txt b/buildroot-2022.02.1/board/freescale/imx6slevk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx6slevk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx6slevk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx6sxsdb/readme.txt b/buildroot-2022.02.1/board/freescale/imx6sxsdb/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx6sxsdb/readme.txt rename to buildroot-2022.02.1/board/freescale/imx6sxsdb/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx6ulevk/readme.txt b/buildroot-2022.02.1/board/freescale/imx6ulevk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx6ulevk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx6ulevk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx6ullevk/readme.txt b/buildroot-2022.02.1/board/freescale/imx6ullevk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx6ullevk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx6ullevk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx7dsdb/readme.txt b/buildroot-2022.02.1/board/freescale/imx7dsdb/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx7dsdb/readme.txt rename to buildroot-2022.02.1/board/freescale/imx7dsdb/readme.txt diff --git a/buildroot-2022.02.1/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf new file mode 100644 index 00000000..d538b5d6 --- /dev/null +++ b/buildroot-2022.02.1/board/freescale/imx7dsdb/rootfs_overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,4 @@ +Label imx7d-sabresd-buildroot + kernel /boot/zImage + devicetree /boot/imx7d-sdb.dtb + append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} diff --git a/buildroot-2021.05/board/freescale/imx8mmevk/readme.txt b/buildroot-2022.02.1/board/freescale/imx8mmevk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx8mmevk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx8mmevk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx8mnevk/readme.txt b/buildroot-2022.02.1/board/freescale/imx8mnevk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx8mnevk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx8mnevk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx8mpevk/readme.txt b/buildroot-2022.02.1/board/freescale/imx8mpevk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx8mpevk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx8mpevk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx8mqevk/readme.txt b/buildroot-2022.02.1/board/freescale/imx8mqevk/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx8mqevk/readme.txt rename to buildroot-2022.02.1/board/freescale/imx8mqevk/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx8qmmek/readme.txt b/buildroot-2022.02.1/board/freescale/imx8qmmek/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx8qmmek/readme.txt rename to buildroot-2022.02.1/board/freescale/imx8qmmek/readme.txt diff --git a/buildroot-2021.05/board/freescale/imx8qxpmek/readme.txt b/buildroot-2022.02.1/board/freescale/imx8qxpmek/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/imx8qxpmek/readme.txt rename to buildroot-2022.02.1/board/freescale/imx8qxpmek/readme.txt diff --git a/buildroot-2021.05/board/freescale/p1025twr/readme.txt b/buildroot-2022.02.1/board/freescale/p1025twr/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/p1025twr/readme.txt rename to buildroot-2022.02.1/board/freescale/p1025twr/readme.txt diff --git a/buildroot-2021.05/board/freescale/t1040_t2080/readme.txt b/buildroot-2022.02.1/board/freescale/t1040_t2080/readme.txt similarity index 100% rename from buildroot-2021.05/board/freescale/t1040_t2080/readme.txt rename to buildroot-2022.02.1/board/freescale/t1040_t2080/readme.txt diff --git a/buildroot-2021.05/board/freescale/warpboard/README b/buildroot-2022.02.1/board/freescale/warpboard/README similarity index 100% rename from buildroot-2021.05/board/freescale/warpboard/README rename to buildroot-2022.02.1/board/freescale/warpboard/README diff --git a/buildroot-2021.05/board/freescale/warpboard/linux.fragment b/buildroot-2022.02.1/board/freescale/warpboard/linux.fragment similarity index 100% rename from buildroot-2021.05/board/freescale/warpboard/linux.fragment rename to buildroot-2022.02.1/board/freescale/warpboard/linux.fragment diff --git a/buildroot-2021.05/board/freescale/warpboard/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt b/buildroot-2022.02.1/board/freescale/warpboard/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt similarity index 100% rename from buildroot-2021.05/board/freescale/warpboard/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt rename to buildroot-2022.02.1/board/freescale/warpboard/rootfs_overlay/lib/firmware/brcm/brcmfmac4330-sdio.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopc-t4/extlinux.conf b/buildroot-2022.02.1/board/friendlyarm/nanopc-t4/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopc-t4/extlinux.conf rename to buildroot-2022.02.1/board/friendlyarm/nanopc-t4/extlinux.conf diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopc-t4/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopc-t4/genimage.cfg new file mode 100644 index 00000000..98dc2f38 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopc-t4/genimage.cfg @@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "rk3399-nanopc-t4.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopc-t4/post-build.sh b/buildroot-2022.02.1/board/friendlyarm/nanopc-t4/post-build.sh similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopc-t4/post-build.sh rename to buildroot-2022.02.1/board/friendlyarm/nanopc-t4/post-build.sh diff --git a/buildroot-2021.05/board/friendlyarm/nanopc-t4/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopc-t4/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopc-t4/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopc-t4/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-a64/boot.cmd b/buildroot-2022.02.1/board/friendlyarm/nanopi-a64/boot.cmd similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-a64/boot.cmd rename to buildroot-2022.02.1/board/friendlyarm/nanopi-a64/boot.cmd diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-a64/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-a64/genimage.cfg new file mode 100644 index 00000000..69073141 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-a64/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-nanopi-a64.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-a64/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-a64/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-a64/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-a64/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m1-plus/boot.cmd b/buildroot-2022.02.1/board/friendlyarm/nanopi-m1-plus/boot.cmd similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-m1-plus/boot.cmd rename to buildroot-2022.02.1/board/friendlyarm/nanopi-m1-plus/boot.cmd diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-m1-plus/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-m1-plus/genimage.cfg new file mode 100644 index 00000000..5257cf89 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-m1-plus/genimage.cfg @@ -0,0 +1,36 @@ +# Minimal SD card image for the NanoPi M1 Plus +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-nanopi-m1-plus.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m1-plus/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-m1-plus/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-m1-plus/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-m1-plus/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m1/boot.cmd b/buildroot-2022.02.1/board/friendlyarm/nanopi-m1/boot.cmd similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-m1/boot.cmd rename to buildroot-2022.02.1/board/friendlyarm/nanopi-m1/boot.cmd diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-m1/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-m1/genimage.cfg new file mode 100644 index 00000000..3b2b82ce --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-m1/genimage.cfg @@ -0,0 +1,37 @@ +# Minimal SD card image for the NanoPi M1 +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-nanopi-m1.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m1/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-m1/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-m1/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-m1/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m4/extlinux.conf b/buildroot-2022.02.1/board/friendlyarm/nanopi-m4/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-m4/extlinux.conf rename to buildroot-2022.02.1/board/friendlyarm/nanopi-m4/extlinux.conf diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-m4/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-m4/genimage.cfg new file mode 100644 index 00000000..8d0e6ad1 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-m4/genimage.cfg @@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "rk3399-nanopi-m4.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m4/post-build.sh b/buildroot-2022.02.1/board/friendlyarm/nanopi-m4/post-build.sh similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-m4/post-build.sh rename to buildroot-2022.02.1/board/friendlyarm/nanopi-m4/post-build.sh diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-m4/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-m4/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-m4/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-m4/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/extlinux.conf b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/extlinux.conf rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/extlinux.conf diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/genimage.cfg new file mode 100644 index 00000000..90002013 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-nanopi-neo-plus2.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/linux-extras.config b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/linux-extras.config rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/linux-extras.config diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/post-build.sh b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/post-build.sh similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/post-build.sh rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/post-build.sh diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.friendlyarm,nanopi-neo-plus2.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo/boot.cmd b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo/boot.cmd similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo/boot.cmd rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo/boot.cmd diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-neo/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo/genimage.cfg new file mode 100644 index 00000000..92af6675 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-nanopi-neo.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo2/boot.cmd b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo2/boot.cmd similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo2/boot.cmd rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo2/boot.cmd diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-neo2/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo2/genimage.cfg new file mode 100644 index 00000000..3163a065 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo2/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-nanopi-neo2.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo2/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo2/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo2/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo2/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo4/extlinux.conf b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo4/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo4/extlinux.conf rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo4/extlinux.conf diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo4/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo4/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo4/genimage.cfg rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo4/genimage.cfg diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo4/post-build.sh b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo4/post-build.sh similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo4/post-build.sh rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo4/post-build.sh diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-neo4/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-neo4/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-neo4/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-neo4/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-r1/boot.cmd b/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/boot.cmd similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-r1/boot.cmd rename to buildroot-2022.02.1/board/friendlyarm/nanopi-r1/boot.cmd diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/genimage.cfg new file mode 100644 index 00000000..a180311c --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/genimage.cfg @@ -0,0 +1,37 @@ +# Minimal SD card image for the NanoPi M1 +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-nanopi-r1.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-r1/kernel/linux-extras.config b/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/kernel/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-r1/kernel/linux-extras.config rename to buildroot-2022.02.1/board/friendlyarm/nanopi-r1/kernel/linux-extras.config diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-r1/kernel/sun8i-h3-nanopi-r1.dts b/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/kernel/sun8i-h3-nanopi-r1.dts similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-r1/kernel/sun8i-h3-nanopi-r1.dts rename to buildroot-2022.02.1/board/friendlyarm/nanopi-r1/kernel/sun8i-h3-nanopi-r1.dts diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-r1/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/readme.txt similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-r1/readme.txt rename to buildroot-2022.02.1/board/friendlyarm/nanopi-r1/readme.txt diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-r1/uboot/nanopi_r1_defconfig b/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/uboot/nanopi_r1_defconfig similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-r1/uboot/nanopi_r1_defconfig rename to buildroot-2022.02.1/board/friendlyarm/nanopi-r1/uboot/nanopi_r1_defconfig diff --git a/buildroot-2021.05/board/friendlyarm/nanopi-r1/uboot/sun8i-h3-nanopi-r1.dts b/buildroot-2022.02.1/board/friendlyarm/nanopi-r1/uboot/sun8i-h3-nanopi-r1.dts similarity index 100% rename from buildroot-2021.05/board/friendlyarm/nanopi-r1/uboot/sun8i-h3-nanopi-r1.dts rename to buildroot-2022.02.1/board/friendlyarm/nanopi-r1/uboot/sun8i-h3-nanopi-r1.dts diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/extlinux.conf b/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/extlinux.conf new file mode 100644 index 00000000..1ea0cdd8 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/extlinux.conf @@ -0,0 +1,4 @@ +label NanoPi R2S linux + kernel /boot/Image + devicetree /boot/rk3328-nanopi-r2s.dtb + append root=/dev/mmcblk0p1 rw rootwait diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/genimage.cfg b/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/genimage.cfg new file mode 100644 index 00000000..a686b4f1 --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/genimage.cfg @@ -0,0 +1,22 @@ +image sdcard.img { + hdimage { + } + + partition u-boot-tpl-spl-dtb { + in-partition-table = "no" + image = "idbloader.img" + offset = 32K + } + + partition u-boot-dtb { + in-partition-table = "no" + image = "u-boot.itb" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + offset = 16M + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/solidrun/clearfog/post-build.sh b/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/post-build.sh similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog/post-build.sh rename to buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/post-build.sh diff --git a/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/readme.txt b/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/readme.txt new file mode 100644 index 00000000..6d291cdd --- /dev/null +++ b/buildroot-2022.02.1/board/friendlyarm/nanopi-r2s/readme.txt @@ -0,0 +1,57 @@ +Intro +===== + +This default configuration will allow you to start experimenting with the +buildroot environment for the Nanopi R2S. With the current configuration +it will bring-up the board, and allow access through the serial console. + +Nanopi R2S link: +https://www.friendlyarm.com/index.php?route=product/product&path=69&product_id=282 + +This configuration uses ATF, U-Boot mainline and kernel mainline. + +How to build +============ + + $ make friendlyarm_nanopi_r2s_defconfig + $ make + +Note: you will need access to the internet to download the required +sources. + +Files created in output directory +================================= + +output/images + +├── bl31.elf +├── boot.vfat +├── extlinux +├── idbloader.img +├── Image +├── rk3328-nanopi-r2s.dtb +├── rootfs.ext2 +├── rootfs.ext4 -> rootfs.ext2 +├── rootfs.tar +├── sdcard.img +├── u-boot.bin +└── u-boot.itb + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sudo sync + +Insert the micro SDcard in your Nanopi R2S and power it up. The console +is on the serial line, 1500000 8N1. + +Notes +===== + +This configuration can also be used to drive the Friendlyarm Nanopi Neo3 board. diff --git a/buildroot-2021.05/board/globalscale/espressobin/genimage.cfg b/buildroot-2022.02.1/board/globalscale/espressobin/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/globalscale/espressobin/genimage.cfg rename to buildroot-2022.02.1/board/globalscale/espressobin/genimage.cfg diff --git a/buildroot-2021.05/board/globalscale/espressobin/linux-extras.config b/buildroot-2022.02.1/board/globalscale/espressobin/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/globalscale/espressobin/linux-extras.config rename to buildroot-2022.02.1/board/globalscale/espressobin/linux-extras.config diff --git a/buildroot-2021.05/board/globalscale/espressobin/readme.txt b/buildroot-2022.02.1/board/globalscale/espressobin/readme.txt similarity index 100% rename from buildroot-2021.05/board/globalscale/espressobin/readme.txt rename to buildroot-2022.02.1/board/globalscale/espressobin/readme.txt diff --git a/buildroot-2022.02.1/board/grinn/chiliboard/genimage.cfg b/buildroot-2022.02.1/board/grinn/chiliboard/genimage.cfg new file mode 100644 index 00000000..f335d7de --- /dev/null +++ b/buildroot-2022.02.1/board/grinn/chiliboard/genimage.cfg @@ -0,0 +1,32 @@ +# Minimal microSD card image for Grinn's chiliBoard +# + +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img", + "am335x-chiliboard.dtb", + "zImage" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/grinn/chiliboard/readme.txt b/buildroot-2022.02.1/board/grinn/chiliboard/readme.txt similarity index 100% rename from buildroot-2021.05/board/grinn/chiliboard/readme.txt rename to buildroot-2022.02.1/board/grinn/chiliboard/readme.txt diff --git a/buildroot-2022.02.1/board/grinn/liteboard/genimage.cfg b/buildroot-2022.02.1/board/grinn/liteboard/genimage.cfg new file mode 100644 index 00000000..d0b29819 --- /dev/null +++ b/buildroot-2022.02.1/board/grinn/liteboard/genimage.cfg @@ -0,0 +1,49 @@ +# Minimal microSD card image for Grinn's liteBoard +# +# We mimic the .sdcard Freescale's image format for i.MX6UL: +# * the microSD card must have 1 kB free space at the beginning, +# * SPL is dumped as is, +# * U-Boot is dumped at 69K offset, as configured in SPL +# * a FAT partition at offset 8 MB is containing zImage and dtbs, +# * a single root filesystem partition is required (Ext4 in this case). +# + +image boot.vfat { + vfat { + files = { + "imx6ul-liteboard.dtb", + "zImage" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition SPL { + in-partition-table = "no" + image = "SPL" + offset = 1K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.img" + offset = 69K + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 8M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/grinn/liteboard/readme.txt b/buildroot-2022.02.1/board/grinn/liteboard/readme.txt similarity index 100% rename from buildroot-2021.05/board/grinn/liteboard/readme.txt rename to buildroot-2022.02.1/board/grinn/liteboard/readme.txt diff --git a/buildroot-2021.05/board/hardkernel/odroidc2/boot.cmd b/buildroot-2022.02.1/board/hardkernel/odroidc2/boot.cmd similarity index 100% rename from buildroot-2021.05/board/hardkernel/odroidc2/boot.cmd rename to buildroot-2022.02.1/board/hardkernel/odroidc2/boot.cmd diff --git a/buildroot-2022.02.1/board/hardkernel/odroidc2/genimage.cfg b/buildroot-2022.02.1/board/hardkernel/odroidc2/genimage.cfg new file mode 100644 index 00000000..f31867a5 --- /dev/null +++ b/buildroot-2022.02.1/board/hardkernel/odroidc2/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "meson-gxbb-odroidc2.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition bl1 { + in-partition-table = "no" + image = "bl1.bin.hardkernel" + offset = 0 + holes = {"(440; 512)"} + } + + partition u-boot { + in-partition-table = "no" + image = "uboot-odc2.img" + offset = 49664 # 48KB + 512B + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/hardkernel/odroidc2/post-image.sh b/buildroot-2022.02.1/board/hardkernel/odroidc2/post-image.sh similarity index 100% rename from buildroot-2021.05/board/hardkernel/odroidc2/post-image.sh rename to buildroot-2022.02.1/board/hardkernel/odroidc2/post-image.sh diff --git a/buildroot-2021.05/board/hardkernel/odroidc2/readme.txt b/buildroot-2022.02.1/board/hardkernel/odroidc2/readme.txt similarity index 100% rename from buildroot-2021.05/board/hardkernel/odroidc2/readme.txt rename to buildroot-2022.02.1/board/hardkernel/odroidc2/readme.txt diff --git a/buildroot-2021.05/board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload b/buildroot-2022.02.1/board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload similarity index 100% rename from buildroot-2021.05/board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload rename to buildroot-2022.02.1/board/hardkernel/odroidc2/rootfs_overlay/etc/init.d/S09modload diff --git a/buildroot-2021.05/board/hardkernel/odroidxu4/boot.ini b/buildroot-2022.02.1/board/hardkernel/odroidxu4/boot.ini similarity index 100% rename from buildroot-2021.05/board/hardkernel/odroidxu4/boot.ini rename to buildroot-2022.02.1/board/hardkernel/odroidxu4/boot.ini diff --git a/buildroot-2022.02.1/board/hardkernel/odroidxu4/genimage.cfg b/buildroot-2022.02.1/board/hardkernel/odroidxu4/genimage.cfg new file mode 100644 index 00000000..0a90d6be --- /dev/null +++ b/buildroot-2022.02.1/board/hardkernel/odroidxu4/genimage.cfg @@ -0,0 +1,55 @@ +image boot.vfat { + vfat { + files = { + "boot.ini", + "zImage", + "exynos5422-odroidxu4.dtb" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition bl1 { + in-partition-table = "no" + image = "bl1.bin.hardkernel" + offset = 512 + size = 15K + } + + partition bl2 { + in-partition-table = "no" + image = "bl2.bin.hardkernel.720k_uboot" + offset = 15872 # 15KB + 512B + size = 16K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-dtb.bin" + offset = 32256 # 31KB + 512B + size = 720K + } + + partition tzsw { + in-partition-table = "no" + image = "tzsw.bin.hardkernel" + offset = 769536 # 751KB + 512B + size = 256K + } + + partition vfat { + partition-type = 0xC + image = "boot.vfat" + offset = 2M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/hardkernel/odroidxu4/post-image.sh b/buildroot-2022.02.1/board/hardkernel/odroidxu4/post-image.sh similarity index 100% rename from buildroot-2021.05/board/hardkernel/odroidxu4/post-image.sh rename to buildroot-2022.02.1/board/hardkernel/odroidxu4/post-image.sh diff --git a/buildroot-2021.05/board/hardkernel/odroidxu4/readme.txt b/buildroot-2022.02.1/board/hardkernel/odroidxu4/readme.txt similarity index 100% rename from buildroot-2021.05/board/hardkernel/odroidxu4/readme.txt rename to buildroot-2022.02.1/board/hardkernel/odroidxu4/readme.txt diff --git a/buildroot-2022.02.1/board/intel/galileo/genimage.cfg b/buildroot-2022.02.1/board/intel/galileo/genimage.cfg new file mode 100644 index 00000000..76c3d9c3 --- /dev/null +++ b/buildroot-2022.02.1/board/intel/galileo/genimage.cfg @@ -0,0 +1,29 @@ +# Create an image of the efi partition +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + } + + size = 512K +} + +# Create the sdcard image, pulling in +# * the image created by buildroot +# * the efi-partition created above +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + image = "efi-part.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + size = 512M + } +} diff --git a/buildroot-2021.05/board/intel/galileo/grub.cfg b/buildroot-2022.02.1/board/intel/galileo/grub.cfg similarity index 100% rename from buildroot-2021.05/board/intel/galileo/grub.cfg rename to buildroot-2022.02.1/board/intel/galileo/grub.cfg diff --git a/buildroot-2021.05/board/intel/galileo/linux-3.14.config b/buildroot-2022.02.1/board/intel/galileo/linux-3.14.config similarity index 100% rename from buildroot-2021.05/board/intel/galileo/linux-3.14.config rename to buildroot-2022.02.1/board/intel/galileo/linux-3.14.config diff --git a/buildroot-2022.02.1/board/intel/galileo/patches/linux/0001-x86-relocs-Make-per_cpu_load_addr-static.patch b/buildroot-2022.02.1/board/intel/galileo/patches/linux/0001-x86-relocs-Make-per_cpu_load_addr-static.patch new file mode 100644 index 00000000..1d206cc6 --- /dev/null +++ b/buildroot-2022.02.1/board/intel/galileo/patches/linux/0001-x86-relocs-Make-per_cpu_load_addr-static.patch @@ -0,0 +1,39 @@ +From eeeda4cd06e828b331b15741a204ff9f5874d28d Mon Sep 17 00:00:00 2001 +From: Ben Hutchings +Date: Wed, 24 Sep 2014 13:30:12 +0100 +Subject: [PATCH] x86/relocs: Make per_cpu_load_addr static + +per_cpu_load_addr is only used for 64-bit relocations, but is +declared in both configurations of relocs.c - with different +types. This has undefined behaviour in general. GNU ld is +documented to use the larger size in this case, but other tools +may differ and some warn about this. + +References: https://bugs.debian.org/748577 +Reported-by: Michael Tautschnig +Signed-off-by: Ben Hutchings +Cc: 748577@bugs.debian.org +Cc: Linus Torvalds +Link: http://lkml.kernel.org/r/1411561812.3659.23.camel@decadent.org.uk +Signed-off-by: Ingo Molnar +Signed-off-by: Giulio Benetti +--- + arch/x86/tools/relocs.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c +index bbb1d2259ecf..a5efb21d5228 100644 +--- a/arch/x86/tools/relocs.c ++++ b/arch/x86/tools/relocs.c +@@ -695,7 +695,7 @@ static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel, + * + */ + static int per_cpu_shndx = -1; +-Elf_Addr per_cpu_load_addr; ++static Elf_Addr per_cpu_load_addr; + + static void percpu_init(void) + { +-- +2.25.1 + diff --git a/buildroot-2021.05/board/intel/galileo/post-build.sh b/buildroot-2022.02.1/board/intel/galileo/post-build.sh similarity index 100% rename from buildroot-2021.05/board/intel/galileo/post-build.sh rename to buildroot-2022.02.1/board/intel/galileo/post-build.sh diff --git a/buildroot-2021.05/board/intel/galileo/post-image.sh b/buildroot-2022.02.1/board/intel/galileo/post-image.sh similarity index 100% rename from buildroot-2021.05/board/intel/galileo/post-image.sh rename to buildroot-2022.02.1/board/intel/galileo/post-image.sh diff --git a/buildroot-2021.05/board/intel/galileo/readme.txt b/buildroot-2022.02.1/board/intel/galileo/readme.txt similarity index 100% rename from buildroot-2021.05/board/intel/galileo/readme.txt rename to buildroot-2022.02.1/board/intel/galileo/readme.txt diff --git a/buildroot-2021.05/board/intel/galileo/rootfs_overlay/etc/init.d/S09modload b/buildroot-2022.02.1/board/intel/galileo/rootfs_overlay/etc/init.d/S09modload similarity index 100% rename from buildroot-2021.05/board/intel/galileo/rootfs_overlay/etc/init.d/S09modload rename to buildroot-2022.02.1/board/intel/galileo/rootfs_overlay/etc/init.d/S09modload diff --git a/buildroot-2021.05/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo.conf b/buildroot-2022.02.1/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo.conf similarity index 100% rename from buildroot-2021.05/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo.conf rename to buildroot-2022.02.1/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo.conf diff --git a/buildroot-2021.05/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo_gen2.conf b/buildroot-2022.02.1/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo_gen2.conf similarity index 100% rename from buildroot-2021.05/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo_gen2.conf rename to buildroot-2022.02.1/board/intel/galileo/rootfs_overlay/etc/modules-load.galileo/galileo_gen2.conf diff --git a/buildroot-2022.02.1/board/kontron/bl-imx8mm/extlinux.conf b/buildroot-2022.02.1/board/kontron/bl-imx8mm/extlinux.conf new file mode 100644 index 00000000..d38f7f81 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/bl-imx8mm/extlinux.conf @@ -0,0 +1,4 @@ +label buildroot + kernel /boot/Image + devicetree /boot/freescale/imx8mm-kontron-n801x-s.dtb + append root=PARTUUID=%PARTUUID% rootwait rw diff --git a/buildroot-2022.02.1/board/kontron/bl-imx8mm/genimage.cfg b/buildroot-2022.02.1/board/kontron/bl-imx8mm/genimage.cfg new file mode 100644 index 00000000..c98bc4f1 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/bl-imx8mm/genimage.cfg @@ -0,0 +1,18 @@ +image sdcard.img { + hdimage { + partition-table-type = "gpt" + gpt-location = 16K + } + + partition imx-boot { + in-partition-table = "no" + image = "flash.bin" + offset = 33K + } + + partition rootfs { + image = "rootfs.ext4" + offset = 8M + partition-uuid = %PARTUUID% + } +} diff --git a/buildroot-2022.02.1/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch b/buildroot-2022.02.1/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch new file mode 100644 index 00000000..6d76282d --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/bl-imx8mm/patches/uboot/0001-imx-imx8mm-imx8mm-kontron-n801x-s-convert-options-to.patch @@ -0,0 +1,31 @@ +From 95a311af81cd47c44d3d6e3f717f06a06d8f3dfd Mon Sep 17 00:00:00 2001 +From: Heiko Thiery +Date: Mon, 10 Jan 2022 14:13:02 +0100 +Subject: [PATCH 1/2] imx: imx8mm: imx8mm-kontron-n801x-s: convert options to Kconfig + +CONFIG_SPL_MMC and CONFIG_SPL_SERIAL + +Patch submitted upstream: +https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-1-heiko.thiery@gmail.com/ + +Signed-off-by: Heiko Thiery +--- + configs/kontron-sl-mx8mm_defconfig | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configs/kontron-sl-mx8mm_defconfig b/configs/kontron-sl-mx8mm_defconfig +index 35d12fca32..940bf07a92 100644 +--- a/configs/kontron-sl-mx8mm_defconfig ++++ b/configs/kontron-sl-mx8mm_defconfig +@@ -15,6 +15,8 @@ CONFIG_SPL_DM_SPI=y + CONFIG_DEFAULT_DEVICE_TREE="imx8mm-kontron-n801x-s" + CONFIG_SPL_TEXT_BASE=0x7E1000 + CONFIG_TARGET_KONTRON_MX8MM=y ++CONFIG_SPL_MMC=y ++CONFIG_SPL_SERIAL=y + CONFIG_BOOTCOUNT_BOOTLIMIT=3 + CONFIG_SPL=y + CONFIG_DISTRO_DEFAULTS=y +-- +2.30.2 + diff --git a/buildroot-2022.02.1/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch b/buildroot-2022.02.1/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch new file mode 100644 index 00000000..a88d7aba --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/bl-imx8mm/patches/uboot/0002-imx-imx8mm-imx8mm-kontron-n801x-s-add-common-board-u.patch @@ -0,0 +1,305 @@ +From ef694c19c074333fd16589ec6ffef3e7ca895186 Mon Sep 17 00:00:00 2001 +From: Heiko Thiery +Date: Wed, 12 Jan 2022 08:44:36 +0100 +Subject: [PATCH 2/2] imx: imx8mm: imx8mm-kontron-n801x-s: add common board + u-boot.dtsi + +When using a board variant that selects the lvds specific dtb the +*.u-boot.dtsi file will not be included. To have a lvds dtb specific +u-boot.dtsi file move this part to a common board u-boot.dtsi file and +include this in the board base u-boot.dtsi and create an additional one +for the lvds variant. + +Patch submitted upstream: +https://patchwork.ozlabs.org/project/uboot/patch/20220112085755.7396-2-heiko.thiery@gmail.com/ + +Signed-off-by: Heiko Thiery +--- + .../imx8mm-kontron-n801x-s-lvds-u-boot.dtsi | 6 + + .../dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 124 +---------------- + arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi | 128 ++++++++++++++++++ + 3 files changed, 135 insertions(+), 123 deletions(-) + create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi + create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi + +diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi +new file mode 100644 +index 0000000000..4bf75722bf +--- /dev/null ++++ b/arch/arm/dts/imx8mm-kontron-n801x-s-lvds-u-boot.dtsi +@@ -0,0 +1,6 @@ ++// SPDX-License-Identifier: GPL-2.0+ ++/* ++ * Copyright (C) 2019 Kontron Electronics GmbH ++ */ ++ ++#include "imx8mm-kontron-n801x-u-boot.dtsi" +diff --git a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi +index 22d18e6f1c..4bf75722bf 100644 +--- a/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi ++++ b/arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi +@@ -3,126 +3,4 @@ + * Copyright (C) 2019 Kontron Electronics GmbH + */ + +-#include "imx8mm-u-boot.dtsi" +- +-/ { +- aliases { +- usb0 = &usbotg1; +- usb1 = &usbotg2; +- }; +- +- wdt-reboot { +- compatible = "wdt-reboot"; +- wdt = <&wdog1>; +- u-boot,dm-spl; +- }; +- +- firmware { +- optee { +- compatible = "linaro,optee-tz"; +- method = "smc"; +- }; +- }; +-}; +- +-&fec1 { +- phy-mode = "rgmii-rxid"; +-}; +- +-&i2c1 { +- u-boot,dm-spl; +- u-boot,dm-pre-reloc; +-}; +- +-&i2c2 { +- status = "okay"; +- u-boot,dm-spl; +- u-boot,dm-pre-reloc; +-}; +- +-&pinctrl_ecspi1 { +- u-boot,dm-spl; +-}; +- +-&pinctrl_i2c1 { +- u-boot,dm-spl; +-}; +- +-&pinctrl_pmic { +- u-boot,dm-spl; +- fsl,pins = < +- MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 +- /* Disable Pullup for SD_VSEL */ +- MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 +- >; +-}; +- +-&pinctrl_uart3 { +- u-boot,dm-spl; +- u-boot,dm-pre-reloc; +-}; +- +-&pinctrl_usdhc1 { +- u-boot,dm-spl; +-}; +- +-&pinctrl_usdhc1_100mhz { +- u-boot,dm-spl; +-}; +- +-&pinctrl_usdhc1_200mhz { +- u-boot,dm-spl; +-}; +- +-&pinctrl_usdhc2 { +- u-boot,dm-spl; +-}; +- +-&pca9450 { +- u-boot,dm-spl; +-}; +- +-&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} { +- u-boot,dm-spl; +-}; +- +-&ecspi1 { +- u-boot,dm-spl; +-}; +- +-&gpio1 { +- u-boot,dm-spl; +-}; +- +-&gpio2 { +- u-boot,dm-spl; +-}; +- +-&gpio3 { +- u-boot,dm-spl; +-}; +- +-&gpio4 { +- u-boot,dm-spl; +-}; +- +-&gpio5 { +- u-boot,dm-spl; +-}; +- +-&uart3 { +- u-boot,dm-spl; +- u-boot,dm-pre-reloc; +-}; +- +-&usdhc1 { +- u-boot,dm-spl; +-}; +- +-&usdhc2 { +- u-boot,dm-spl; +-}; +- +-&wdog1 { +- u-boot,dm-spl; +-}; ++#include "imx8mm-kontron-n801x-u-boot.dtsi" +diff --git a/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi +new file mode 100644 +index 0000000000..22d18e6f1c +--- /dev/null ++++ b/arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi +@@ -0,0 +1,128 @@ ++// SPDX-License-Identifier: GPL-2.0+ ++/* ++ * Copyright (C) 2019 Kontron Electronics GmbH ++ */ ++ ++#include "imx8mm-u-boot.dtsi" ++ ++/ { ++ aliases { ++ usb0 = &usbotg1; ++ usb1 = &usbotg2; ++ }; ++ ++ wdt-reboot { ++ compatible = "wdt-reboot"; ++ wdt = <&wdog1>; ++ u-boot,dm-spl; ++ }; ++ ++ firmware { ++ optee { ++ compatible = "linaro,optee-tz"; ++ method = "smc"; ++ }; ++ }; ++}; ++ ++&fec1 { ++ phy-mode = "rgmii-rxid"; ++}; ++ ++&i2c1 { ++ u-boot,dm-spl; ++ u-boot,dm-pre-reloc; ++}; ++ ++&i2c2 { ++ status = "okay"; ++ u-boot,dm-spl; ++ u-boot,dm-pre-reloc; ++}; ++ ++&pinctrl_ecspi1 { ++ u-boot,dm-spl; ++}; ++ ++&pinctrl_i2c1 { ++ u-boot,dm-spl; ++}; ++ ++&pinctrl_pmic { ++ u-boot,dm-spl; ++ fsl,pins = < ++ MX8MM_IOMUXC_GPIO1_IO00_GPIO1_IO0 0x141 ++ /* Disable Pullup for SD_VSEL */ ++ MX8MM_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x41 ++ >; ++}; ++ ++&pinctrl_uart3 { ++ u-boot,dm-spl; ++ u-boot,dm-pre-reloc; ++}; ++ ++&pinctrl_usdhc1 { ++ u-boot,dm-spl; ++}; ++ ++&pinctrl_usdhc1_100mhz { ++ u-boot,dm-spl; ++}; ++ ++&pinctrl_usdhc1_200mhz { ++ u-boot,dm-spl; ++}; ++ ++&pinctrl_usdhc2 { ++ u-boot,dm-spl; ++}; ++ ++&pca9450 { ++ u-boot,dm-spl; ++}; ++ ++&{/soc@0/bus@30800000/i2c@30a20000/pmic@25/regulators} { ++ u-boot,dm-spl; ++}; ++ ++&ecspi1 { ++ u-boot,dm-spl; ++}; ++ ++&gpio1 { ++ u-boot,dm-spl; ++}; ++ ++&gpio2 { ++ u-boot,dm-spl; ++}; ++ ++&gpio3 { ++ u-boot,dm-spl; ++}; ++ ++&gpio4 { ++ u-boot,dm-spl; ++}; ++ ++&gpio5 { ++ u-boot,dm-spl; ++}; ++ ++&uart3 { ++ u-boot,dm-spl; ++ u-boot,dm-pre-reloc; ++}; ++ ++&usdhc1 { ++ u-boot,dm-spl; ++}; ++ ++&usdhc2 { ++ u-boot,dm-spl; ++}; ++ ++&wdog1 { ++ u-boot,dm-spl; ++}; +-- +2.30.2 + diff --git a/buildroot-2021.05/board/kontron/smarc-sal28/post-build.sh b/buildroot-2022.02.1/board/kontron/bl-imx8mm/post-build.sh similarity index 100% rename from buildroot-2021.05/board/kontron/smarc-sal28/post-build.sh rename to buildroot-2022.02.1/board/kontron/bl-imx8mm/post-build.sh diff --git a/buildroot-2022.02.1/board/kontron/bl-imx8mm/readme.txt b/buildroot-2022.02.1/board/kontron/bl-imx8mm/readme.txt new file mode 100644 index 00000000..df47ba51 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/bl-imx8mm/readme.txt @@ -0,0 +1,85 @@ +Kontron BL i.MX8M Mini +====================== + +https://www.kontron.com/produkte/baseboard-bl-i.mx8m-mini/p158549 + + +How to build it +=============== + +Configure buildroot: + + $ make kontron_bl_imx8mm_defconfig + +Change settings to fit your needs (optional): + + $ make menuconfig + +Compile everything and build the rootfs image: + + $ make + + +Result of the build +=================== + +After building, the output/images directory contains: + + output/images/ + ├── bl31.bin + ├── boot.scr + ├── ddr_fw.bin + ├── flash.bin + ├── Image + ├── imx8mm-kontron-n801x-s.dtb + ├── lpddr4_pmu_train_1d_dmem_201904.bin + ├── lpddr4_pmu_train_1d_dmem_202006.bin + ├── lpddr4_pmu_train_1d_dmem.bin + ├── lpddr4_pmu_train_1d_dmem_pad.bin + ├── lpddr4_pmu_train_1d_fw.bin + ├── lpddr4_pmu_train_1d_imem_201904.bin + ├── lpddr4_pmu_train_1d_imem_202006.bin + ├── lpddr4_pmu_train_1d_imem.bin + ├── lpddr4_pmu_train_1d_imem_pad.bin + ├── lpddr4_pmu_train_2d_dmem_201904.bin + ├── lpddr4_pmu_train_2d_dmem_202006.bin + ├── lpddr4_pmu_train_2d_dmem.bin + ├── lpddr4_pmu_train_2d_dmem_pad.bin + ├── lpddr4_pmu_train_2d_fw.bin + ├── lpddr4_pmu_train_2d_imem_201904.bin + ├── lpddr4_pmu_train_2d_imem_202006.bin + ├── lpddr4_pmu_train_2d_imem.bin + ├── lpddr4_pmu_train_2d_imem_pad.bin + ├── lpddr4_pmu_train_fw.bin + ├── rootfs.ext2 + ├── rootfs.ext4 -> rootfs.ext2 + ├── rootfs.tar + ├── sdcard.img + ├── u-boot.bin + └── u-boot-spl.bin + + +Flashing the SD card image +========================== + +To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC) + + $ sudo dd if=output/images/sdcard.img of= + + +Preparing the board +=================== + + * Connect a serial line to the board + * Insert the SD card + * Power-up the board + + +Booting the board +================= + +By default the bootloader will search for the first valid image, starting +with the internal eMMC. To make sure the bootloader loads bootscript from +the correct location (SD card) set the boot_targets environment variable: + + $ setenv boot_targets mmc1 diff --git a/buildroot-2022.02.1/board/kontron/pitx-imx8m/extlinux.conf b/buildroot-2022.02.1/board/kontron/pitx-imx8m/extlinux.conf new file mode 100644 index 00000000..2911acec --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/pitx-imx8m/extlinux.conf @@ -0,0 +1,4 @@ +label buildroot + kernel /boot/Image + devicetree /boot/freescale/imx8mq-kontron-pitx-imx8m.dtb + append root=PARTUUID=%PARTUUID% rootwait rw diff --git a/buildroot-2022.02.1/board/kontron/pitx-imx8m/genimage.cfg b/buildroot-2022.02.1/board/kontron/pitx-imx8m/genimage.cfg new file mode 100644 index 00000000..4a0aa117 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/pitx-imx8m/genimage.cfg @@ -0,0 +1,17 @@ +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition imx-boot { + in-partition-table = "no" + image = "imx8-boot-sd.bin" + offset = 33K + } + + partition rootfs { + offset = 8M + image = "rootfs.ext4" + partition-uuid = %PARTUUID% + } +} diff --git a/buildroot-2022.02.1/board/kontron/pitx-imx8m/post-build.sh b/buildroot-2022.02.1/board/kontron/pitx-imx8m/post-build.sh new file mode 100755 index 00000000..bf8861f6 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/pitx-imx8m/post-build.sh @@ -0,0 +1,7 @@ +#!/bin/sh +BOARD_DIR="$(dirname $0)" +PARTUUID="$($HOST_DIR/bin/uuidgen)" + +install -d "$TARGET_DIR/boot/extlinux/" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/buildroot-2022.02.1/board/kontron/pitx-imx8m/post-image.sh b/buildroot-2022.02.1/board/kontron/pitx-imx8m/post-image.sh new file mode 100755 index 00000000..3452fd45 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/pitx-imx8m/post-image.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +support/scripts/genimage.sh -c ${BINARIES_DIR}/genimage.cfg diff --git a/buildroot-2022.02.1/board/kontron/pitx-imx8m/readme.txt b/buildroot-2022.02.1/board/kontron/pitx-imx8m/readme.txt new file mode 100644 index 00000000..7c85dd43 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/pitx-imx8m/readme.txt @@ -0,0 +1,74 @@ +Kontron pitx-imx8m +================== + +https://www.kontron.com/produkte/pitx-imx8m/p155258 + + +How to build it +=============== + +Configure buildroot: + + $ make kontron_pitx_imx8m_defconfig + +Change settings to fit your needs (optional): + + $ make menuconfig + +Compile everything and buildr the rootfs image: + + $ make + + +Result of the build +=================== + +After building, the output/images directory contains: + + output/images/ + ├── bl31.bin + ├── boot.scr + ├── ddr_fw.bin + ├── Image + ├── imx8-boot-sd.bin + ├── imx8mq-kontron-pitx-imx8m.dtb + ├── lpddr4_pmu_train_fw.bin + ├── rootfs.ext2 + ├── rootfs.ext4 -> rootfs.ext2 + ├── rootfs.tar + ├── sdcard.img + ├── signed_hdmi_imx8m.bin + ├── u-boot.bin + ├── u-boot.itb + ├── u-boot-nodtb.bin + ├── u-boot-spl.bin + └── u-boot-spl-ddr.bin + + +Flashing the SD card image +========================== + +To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC) + + $ sudo dd if=output/images/sdcard.img of= + + +Preparing the board +=================== + + * Connect a serial line to the board + * Insert the SD card + * Make sure the boot source selection DIP switches are set correctly + * SW1 1-4 OFF + * SW1 2-3 OFF + * Power-up the board + + +Booting the board +================= + +By default the bootloader will search for the first valid image, starting +with the internal eMMC. To make sure the bootloader loads bootscript from +the correct location (SD card) set the boot_targets environment variable: + + $ setenv boot_targets mmc1 diff --git a/buildroot-2021.05/board/kontron/smarc-sal28/extlinux.conf b/buildroot-2022.02.1/board/kontron/smarc-sal28/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/kontron/smarc-sal28/extlinux.conf rename to buildroot-2022.02.1/board/kontron/smarc-sal28/extlinux.conf diff --git a/buildroot-2022.02.1/board/kontron/smarc-sal28/genimage.cfg b/buildroot-2022.02.1/board/kontron/smarc-sal28/genimage.cfg new file mode 100644 index 00000000..c885cd51 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/smarc-sal28/genimage.cfg @@ -0,0 +1,24 @@ +image sdcard-emmc.img { + hdimage { + partition-table-type = "gpt" + gpt-location = 16K + } + + partition rcw { + offset = 4K + in-partition-table = "no" + image = "rcw.bin" + } + + partition u-boot { + offset = 1M + in-partition-table = "no" + image = "u-boot.rom" + } + + partition rootfs { + offset = 2M + image = rootfs.ext4 + partition-uuid = %PARTUUID% + } +} diff --git a/buildroot-2022.02.1/board/kontron/smarc-sal28/post-build.sh b/buildroot-2022.02.1/board/kontron/smarc-sal28/post-build.sh new file mode 100755 index 00000000..bf8861f6 --- /dev/null +++ b/buildroot-2022.02.1/board/kontron/smarc-sal28/post-build.sh @@ -0,0 +1,7 @@ +#!/bin/sh +BOARD_DIR="$(dirname $0)" +PARTUUID="$($HOST_DIR/bin/uuidgen)" + +install -d "$TARGET_DIR/boot/extlinux/" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" +sed "s/%PARTUUID%/$PARTUUID/g" "$BOARD_DIR/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/buildroot-2021.05/board/kontron/smarc-sal28/readme.txt b/buildroot-2022.02.1/board/kontron/smarc-sal28/readme.txt similarity index 100% rename from buildroot-2021.05/board/kontron/smarc-sal28/readme.txt rename to buildroot-2022.02.1/board/kontron/smarc-sal28/readme.txt diff --git a/buildroot-2021.05/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-enetc-networking.rules b/buildroot-2022.02.1/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-enetc-networking.rules similarity index 100% rename from buildroot-2021.05/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-enetc-networking.rules rename to buildroot-2022.02.1/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-enetc-networking.rules diff --git a/buildroot-2021.05/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-felix-networking.rules b/buildroot-2022.02.1/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-felix-networking.rules similarity index 100% rename from buildroot-2021.05/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-felix-networking.rules rename to buildroot-2022.02.1/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/70-felix-networking.rules diff --git a/buildroot-2021.05/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/71-smarc-networking.rules b/buildroot-2022.02.1/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/71-smarc-networking.rules similarity index 100% rename from buildroot-2021.05/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/71-smarc-networking.rules rename to buildroot-2022.02.1/board/kontron/smarc-sal28/rootfs_overlay/etc/udev/rules.d/71-smarc-networking.rules diff --git a/buildroot-2021.05/board/lego/ev3/busybox.fragment b/buildroot-2022.02.1/board/lego/ev3/busybox.fragment similarity index 100% rename from buildroot-2021.05/board/lego/ev3/busybox.fragment rename to buildroot-2022.02.1/board/lego/ev3/busybox.fragment diff --git a/buildroot-2022.02.1/board/lego/ev3/genimage.cfg b/buildroot-2022.02.1/board/lego/ev3/genimage.cfg new file mode 100644 index 00000000..3eaf3915 --- /dev/null +++ b/buildroot-2022.02.1/board/lego/ev3/genimage.cfg @@ -0,0 +1,73 @@ +# LEGO MINDSTORMS EV3 can boot from a 16MB flash or from a microSD card. +# The U-Boot bootloader from the flash is always used, even when booting +# from a microSD card. + +# The Flash image + +flash nor-16M-256 { + pebsize = 4K + numpebs = 4K + minimum-io-unit-size = 256 +} + +image flash.bin { + flash { + } + flashtype = "nor-16M-256" + + partition uboot { + image = "u-boot.bin" + size = 256K + } + + partition dtb { + image = "da850-lego-ev3.dtb" + offset = 256K + size = 64K + } + + partition uimage { + image = "uImage" + offset = 320K + size = 4M + } + + partition rootfs { + image = "rootfs.squashfs" + offset = 4416K # 4M + 320KB + size = 10M + } +} + +# The SD card image + +image boot.vfat { + vfat { + file uImage { + image = "uImage" + } + + file da850-lego-ev3.dtb { + image = "da850-lego-ev3.dtb" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 4M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/buildroot-2021.05/board/lego/ev3/linux.fragment b/buildroot-2022.02.1/board/lego/ev3/linux.fragment similarity index 100% rename from buildroot-2021.05/board/lego/ev3/linux.fragment rename to buildroot-2022.02.1/board/lego/ev3/linux.fragment diff --git a/buildroot-2021.05/board/lego/ev3/post-image.sh b/buildroot-2022.02.1/board/lego/ev3/post-image.sh similarity index 100% rename from buildroot-2021.05/board/lego/ev3/post-image.sh rename to buildroot-2022.02.1/board/lego/ev3/post-image.sh diff --git a/buildroot-2021.05/board/lego/ev3/readme.txt b/buildroot-2022.02.1/board/lego/ev3/readme.txt similarity index 100% rename from buildroot-2021.05/board/lego/ev3/readme.txt rename to buildroot-2022.02.1/board/lego/ev3/readme.txt diff --git a/buildroot-2021.05/board/lemaker/bananapro/boot.cmd b/buildroot-2022.02.1/board/lemaker/bananapro/boot.cmd similarity index 100% rename from buildroot-2021.05/board/lemaker/bananapro/boot.cmd rename to buildroot-2022.02.1/board/lemaker/bananapro/boot.cmd diff --git a/buildroot-2022.02.1/board/lemaker/bananapro/genimage.cfg b/buildroot-2022.02.1/board/lemaker/bananapro/genimage.cfg new file mode 100644 index 00000000..9d15f35e --- /dev/null +++ b/buildroot-2022.02.1/board/lemaker/bananapro/genimage.cfg @@ -0,0 +1,38 @@ +# Minimal SD card image for the Banana Pro +# Based in the Orange Pi genimage.cfg + +image boot.vfat { + vfat { + files = { + "zImage", + "sun7i-a20-bananapro.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/lemaker/bananapro/linux-wifi.fragment b/buildroot-2022.02.1/board/lemaker/bananapro/linux-wifi.fragment similarity index 100% rename from buildroot-2021.05/board/lemaker/bananapro/linux-wifi.fragment rename to buildroot-2022.02.1/board/lemaker/bananapro/linux-wifi.fragment diff --git a/buildroot-2021.05/board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch b/buildroot-2022.02.1/board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch similarity index 100% rename from buildroot-2021.05/board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch rename to buildroot-2022.02.1/board/lemaker/bananapro/patches/linux/0001-arch-arm-boot-dts-sun7i-a20-bananapro.dts-disable-00.patch diff --git a/buildroot-2021.05/board/lemaker/bananapro/post-build.sh b/buildroot-2022.02.1/board/lemaker/bananapro/post-build.sh similarity index 100% rename from buildroot-2021.05/board/lemaker/bananapro/post-build.sh rename to buildroot-2022.02.1/board/lemaker/bananapro/post-build.sh diff --git a/buildroot-2021.05/board/lemaker/bananapro/post-image.sh b/buildroot-2022.02.1/board/lemaker/bananapro/post-image.sh similarity index 100% rename from buildroot-2021.05/board/lemaker/bananapro/post-image.sh rename to buildroot-2022.02.1/board/lemaker/bananapro/post-image.sh diff --git a/buildroot-2021.05/board/lemaker/bananapro/readme.txt b/buildroot-2022.02.1/board/lemaker/bananapro/readme.txt similarity index 100% rename from buildroot-2021.05/board/lemaker/bananapro/readme.txt rename to buildroot-2022.02.1/board/lemaker/bananapro/readme.txt diff --git a/buildroot-2021.05/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.lemaker,bananapro.txt b/buildroot-2022.02.1/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.lemaker,bananapro.txt similarity index 100% rename from buildroot-2021.05/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.lemaker,bananapro.txt rename to buildroot-2022.02.1/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.lemaker,bananapro.txt diff --git a/buildroot-2021.05/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt b/buildroot-2022.02.1/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt similarity index 100% rename from buildroot-2021.05/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt rename to buildroot-2022.02.1/board/lemaker/bananapro/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt diff --git a/buildroot-2021.05/board/librecomputer/lafrite/genimage.cfg b/buildroot-2022.02.1/board/librecomputer/lafrite/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/librecomputer/lafrite/genimage.cfg rename to buildroot-2022.02.1/board/librecomputer/lafrite/genimage.cfg diff --git a/buildroot-2021.05/board/librecomputer/lafrite/overlay/extlinux/extlinux.conf b/buildroot-2022.02.1/board/librecomputer/lafrite/overlay/extlinux/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/librecomputer/lafrite/overlay/extlinux/extlinux.conf rename to buildroot-2022.02.1/board/librecomputer/lafrite/overlay/extlinux/extlinux.conf diff --git a/buildroot-2021.05/board/librecomputer/lafrite/readme.txt b/buildroot-2022.02.1/board/librecomputer/lafrite/readme.txt similarity index 100% rename from buildroot-2021.05/board/librecomputer/lafrite/readme.txt rename to buildroot-2022.02.1/board/librecomputer/lafrite/readme.txt diff --git a/buildroot-2021.05/board/licheepi/boot.cmd b/buildroot-2022.02.1/board/licheepi/boot.cmd similarity index 100% rename from buildroot-2021.05/board/licheepi/boot.cmd rename to buildroot-2022.02.1/board/licheepi/boot.cmd diff --git a/buildroot-2022.02.1/board/licheepi/genimage.cfg b/buildroot-2022.02.1/board/licheepi/genimage.cfg new file mode 100644 index 00000000..8dcb2e70 --- /dev/null +++ b/buildroot-2022.02.1/board/licheepi/genimage.cfg @@ -0,0 +1,36 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-v3s-licheepi-zero-dock.dtb", + "sun8i-v3s-licheepi-zero.dtb", + "boot.scr" + } + } + + size = 8M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 504K # 512KB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 0 + } +} diff --git a/buildroot-2021.05/board/licheepi/readme.txt b/buildroot-2022.02.1/board/licheepi/readme.txt similarity index 100% rename from buildroot-2021.05/board/licheepi/readme.txt rename to buildroot-2022.02.1/board/licheepi/readme.txt diff --git a/buildroot-2021.05/board/linksprite/pcduino/boot.cmd b/buildroot-2022.02.1/board/linksprite/pcduino/boot.cmd similarity index 100% rename from buildroot-2021.05/board/linksprite/pcduino/boot.cmd rename to buildroot-2022.02.1/board/linksprite/pcduino/boot.cmd diff --git a/buildroot-2022.02.1/board/linksprite/pcduino/genimage.cfg b/buildroot-2022.02.1/board/linksprite/pcduino/genimage.cfg new file mode 100644 index 00000000..db333221 --- /dev/null +++ b/buildroot-2022.02.1/board/linksprite/pcduino/genimage.cfg @@ -0,0 +1,43 @@ +# +# Minimal SD card image for the pcDuino +# + +image boot.vfat { + vfat { + files = { + "zImage", + "sun4i-a10-pcduino.dtb", + "boot.scr" + } + } + + size = 16M +} + +# +# Note: u-boot environment is stored between u-boot and boot partitions +# + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/linksprite/pcduino/linux-extras.config b/buildroot-2022.02.1/board/linksprite/pcduino/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/linksprite/pcduino/linux-extras.config rename to buildroot-2022.02.1/board/linksprite/pcduino/linux-extras.config diff --git a/buildroot-2021.05/board/linksprite/pcduino/post-build.sh b/buildroot-2022.02.1/board/linksprite/pcduino/post-build.sh similarity index 100% rename from buildroot-2021.05/board/linksprite/pcduino/post-build.sh rename to buildroot-2022.02.1/board/linksprite/pcduino/post-build.sh diff --git a/buildroot-2021.05/board/linksprite/pcduino/post-image.sh b/buildroot-2022.02.1/board/linksprite/pcduino/post-image.sh similarity index 100% rename from buildroot-2021.05/board/linksprite/pcduino/post-image.sh rename to buildroot-2022.02.1/board/linksprite/pcduino/post-image.sh diff --git a/buildroot-2021.05/board/linksprite/pcduino/readme.txt b/buildroot-2022.02.1/board/linksprite/pcduino/readme.txt similarity index 100% rename from buildroot-2021.05/board/linksprite/pcduino/readme.txt rename to buildroot-2022.02.1/board/linksprite/pcduino/readme.txt diff --git a/buildroot-2022.02.1/board/microchip/sam9x60ek_mmc/genimage.cfg b/buildroot-2022.02.1/board/microchip/sam9x60ek_mmc/genimage.cfg new file mode 100644 index 00000000..629caf3e --- /dev/null +++ b/buildroot-2022.02.1/board/microchip/sam9x60ek_mmc/genimage.cfg @@ -0,0 +1,32 @@ +# Image for SD card boot on Microchip SAM9X60-EK +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91-sam9x60ek.dtb", + "boot.bin", + "u-boot.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/microchip/sama5d2_icp/genimage.cfg b/buildroot-2022.02.1/board/microchip/sama5d2_icp/genimage.cfg new file mode 100644 index 00000000..eecb2ef1 --- /dev/null +++ b/buildroot-2022.02.1/board/microchip/sama5d2_icp/genimage.cfg @@ -0,0 +1,32 @@ +# Image for SD card boot on Microchip SAMA5D2 ICP (Industrial Connectivity Platform) +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91-sama5d2_icp.dtb", + "boot.bin", + "u-boot.bin" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/microchip/sama7g5ek/genimage.cfg b/buildroot-2022.02.1/board/microchip/sama7g5ek/genimage.cfg new file mode 100644 index 00000000..ade29e4b --- /dev/null +++ b/buildroot-2022.02.1/board/microchip/sama7g5ek/genimage.cfg @@ -0,0 +1,31 @@ +# Image for SD card boot on Microchip SAMA7G5EK (sama7g5 evaluation kit) +# +image boot.vfat { + vfat { + files = { + "zImage", + "at91-sama7g5ek.dtb", + "boot.bin", + "u-boot.bin" + } + } + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + offset = 1M + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/minnowboard/fs-overlay-graphical/etc/X11/Xsession b/buildroot-2022.02.1/board/minnowboard/fs-overlay-graphical/etc/X11/Xsession similarity index 100% rename from buildroot-2021.05/board/minnowboard/fs-overlay-graphical/etc/X11/Xsession rename to buildroot-2022.02.1/board/minnowboard/fs-overlay-graphical/etc/X11/Xsession diff --git a/buildroot-2021.05/board/minnowboard/fs-overlay-graphical/etc/X11/xorg.conf.d/01-modules.conf b/buildroot-2022.02.1/board/minnowboard/fs-overlay-graphical/etc/X11/xorg.conf.d/01-modules.conf similarity index 100% rename from buildroot-2021.05/board/minnowboard/fs-overlay-graphical/etc/X11/xorg.conf.d/01-modules.conf rename to buildroot-2022.02.1/board/minnowboard/fs-overlay-graphical/etc/X11/xorg.conf.d/01-modules.conf diff --git a/buildroot-2021.05/board/minnowboard/fs-overlay-graphical/etc/asound.conf b/buildroot-2022.02.1/board/minnowboard/fs-overlay-graphical/etc/asound.conf similarity index 100% rename from buildroot-2021.05/board/minnowboard/fs-overlay-graphical/etc/asound.conf rename to buildroot-2022.02.1/board/minnowboard/fs-overlay-graphical/etc/asound.conf diff --git a/buildroot-2022.02.1/board/minnowboard/genimage.cfg b/buildroot-2022.02.1/board/minnowboard/genimage.cfg new file mode 100644 index 00000000..b169d1d0 --- /dev/null +++ b/buildroot-2022.02.1/board/minnowboard/genimage.cfg @@ -0,0 +1,33 @@ +# Create an image of the efi partition +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + file bzImage { + image = "bzImage" + } + } + + size = 10M +} + +# Create the sdcard image, pulling in +# * the image created by buildroot +# * the efi-partition created above +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition boot { + partition-type-uuid = U + image = "efi-part.vfat" + } + + partition rootfs { + partition-type-uuid = L + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/minnowboard/grub.cfg b/buildroot-2022.02.1/board/minnowboard/grub.cfg similarity index 100% rename from buildroot-2021.05/board/minnowboard/grub.cfg rename to buildroot-2022.02.1/board/minnowboard/grub.cfg diff --git a/buildroot-2021.05/board/minnowboard/linux.config b/buildroot-2022.02.1/board/minnowboard/linux.config similarity index 100% rename from buildroot-2021.05/board/minnowboard/linux.config rename to buildroot-2022.02.1/board/minnowboard/linux.config diff --git a/buildroot-2021.05/board/minnowboard/post-build.sh b/buildroot-2022.02.1/board/minnowboard/post-build.sh similarity index 100% rename from buildroot-2021.05/board/minnowboard/post-build.sh rename to buildroot-2022.02.1/board/minnowboard/post-build.sh diff --git a/buildroot-2021.05/board/minnowboard/readme.txt b/buildroot-2022.02.1/board/minnowboard/readme.txt similarity index 100% rename from buildroot-2021.05/board/minnowboard/readme.txt rename to buildroot-2022.02.1/board/minnowboard/readme.txt diff --git a/buildroot-2021.05/board/nexbox/a95x/boot.txt b/buildroot-2022.02.1/board/nexbox/a95x/boot.txt similarity index 100% rename from buildroot-2021.05/board/nexbox/a95x/boot.txt rename to buildroot-2022.02.1/board/nexbox/a95x/boot.txt diff --git a/buildroot-2022.02.1/board/nexbox/a95x/genimage.cfg b/buildroot-2022.02.1/board/nexbox/a95x/genimage.cfg new file mode 100644 index 00000000..81bcc82c --- /dev/null +++ b/buildroot-2022.02.1/board/nexbox/a95x/genimage.cfg @@ -0,0 +1,31 @@ +image boot.vfat { + vfat { + files = { + "uImage", + "meson-gxbb-nexbox-a95x.dtb", + "meson-gxl-s905x-nexbox-a95x.dtb", + "boot.scr" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + # for root=PARTUUID support + disk-signature = 0xfeedc0de + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/nexbox/a95x/post-build.sh b/buildroot-2022.02.1/board/nexbox/a95x/post-build.sh similarity index 100% rename from buildroot-2021.05/board/nexbox/a95x/post-build.sh rename to buildroot-2022.02.1/board/nexbox/a95x/post-build.sh diff --git a/buildroot-2021.05/board/nexbox/a95x/post-image.sh b/buildroot-2022.02.1/board/nexbox/a95x/post-image.sh similarity index 100% rename from buildroot-2021.05/board/nexbox/a95x/post-image.sh rename to buildroot-2022.02.1/board/nexbox/a95x/post-image.sh diff --git a/buildroot-2021.05/board/nexbox/a95x/readme.txt b/buildroot-2022.02.1/board/nexbox/a95x/readme.txt similarity index 100% rename from buildroot-2021.05/board/nexbox/a95x/readme.txt rename to buildroot-2022.02.1/board/nexbox/a95x/readme.txt diff --git a/buildroot-2022.02.1/board/nezha/genimage.cfg b/buildroot-2022.02.1/board/nezha/genimage.cfg new file mode 100644 index 00000000..783391fb --- /dev/null +++ b/buildroot-2022.02.1/board/nezha/genimage.cfg @@ -0,0 +1,37 @@ +# Minimal SD card image for the Allwinner Nezha + +image sdcard.img { + hdimage { + } + + partition boot0-1 { + in-partition-table = "no" + image = "boot0_sdcard_sun20iw1p1.bin" + offset = 8K + } + + partition boot0-2 { + in-partition-table = "no" + image = "boot0_sdcard_sun20iw1p1.bin" + offset = 128K + } + + partition u-boot-1 { + in-partition-table = "no" + image = "u-boot.toc1" + offset = 12M + } + + partition u-boot-2 { + in-partition-table = "no" + image = "u-boot.toc1" + offset = 16400K + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + bootable = "true" + offset = 18M + } +} diff --git a/buildroot-2022.02.1/board/nezha/overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/nezha/overlay/boot/extlinux/extlinux.conf new file mode 100644 index 00000000..02232f4d --- /dev/null +++ b/buildroot-2022.02.1/board/nezha/overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,4 @@ +label linux + kernel /boot/Image + devicetree /boot/sun20i-d1-nezha.dtb + append console=ttyS0,115200 root=/dev/mmcblk0p1 ro rootwait diff --git a/buildroot-2022.02.1/board/nezha/patches/uboot/0001-arch-riscv-dts-sun20i-d1.dtsi-adjust-plic-compatible.patch b/buildroot-2022.02.1/board/nezha/patches/uboot/0001-arch-riscv-dts-sun20i-d1.dtsi-adjust-plic-compatible.patch new file mode 100644 index 00000000..3524f44a --- /dev/null +++ b/buildroot-2022.02.1/board/nezha/patches/uboot/0001-arch-riscv-dts-sun20i-d1.dtsi-adjust-plic-compatible.patch @@ -0,0 +1,36 @@ +From 99cf8f37ceb1def9e7bbaccc395cf2275723e03d Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Thu, 4 Nov 2021 22:15:13 +0100 +Subject: [PATCH] arch/riscv/dts/sun20i-d1.dtsi: adjust plic compatible to + match opensbi + +The T-HEAD PLIC is by default not accessible from S-mode, and access must be +enabled by opensbi to make it accessible to Linux. + +The DTB is used both by U-Boot and opensbi (but the PLIC node is ignored by +U-Boot), so change the compatible to match what opensbi expects to fix a +crash during Linux boot: + +https://github.com/riscv-software-src/opensbi/commit/78c2b19218bd + +Signed-off-by: Peter Korsgaard +--- + arch/riscv/dts/sun20i-d1.dtsi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/riscv/dts/sun20i-d1.dtsi b/arch/riscv/dts/sun20i-d1.dtsi +index 280e0336d4..56d02c33b0 100644 +--- a/arch/riscv/dts/sun20i-d1.dtsi ++++ b/arch/riscv/dts/sun20i-d1.dtsi +@@ -1136,7 +1136,7 @@ + + plic: interrupt-controller@10000000 { + compatible = "allwinner,sun20i-d1-plic", +- "sifive,plic-1.0.0"; ++ "thead,c900-plic"; + reg = <0x10000000 0x4000000>; + #address-cells = <0>; + interrupts-extended = <&cpu0_intc 11>, +-- +2.20.1 + diff --git a/buildroot-2022.02.1/board/nezha/patches/uboot/0002-Makefile-HACK-Support-building-u-boot.toc1-for-nezda.patch b/buildroot-2022.02.1/board/nezha/patches/uboot/0002-Makefile-HACK-Support-building-u-boot.toc1-for-nezda.patch new file mode 100644 index 00000000..6e89a921 --- /dev/null +++ b/buildroot-2022.02.1/board/nezha/patches/uboot/0002-Makefile-HACK-Support-building-u-boot.toc1-for-nezda.patch @@ -0,0 +1,54 @@ +From 4a923e0e4ef6d2b41cb89d658e269adada847573 Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Thu, 4 Nov 2021 22:32:04 +0100 +Subject: [PATCH] Makefile: HACK: Support building u-boot.toc1 for nezda board + +For easier integration into Buildroot. The boot0 / toc1 logic is WIP until +U-Boot gains SPL support for the D1, so add a hack to make it easier to +integrate in Buildroot as-is. + +Signed-off-by: Peter Korsgaard +--- + Makefile | 9 +++++++++ + nezha.cfg | 9 +++++++++ + 2 files changed, 18 insertions(+) + create mode 100644 nezha.cfg + +diff --git a/Makefile b/Makefile +index f911f70344..259d93bf80 100644 +--- a/Makefile ++++ b/Makefile +@@ -1084,6 +1084,15 @@ endif + .binman_stamp: FORCE + @touch $@ + ++fw_dynamic.bin: $(OPENSBI) ++ $(call if_changed,copy) ++ ++MKIMAGEFLAGS_u-boot.toc1 = -T sunxi_toc1 ++u-boot.toc1: nezha.cfg fw_dynamic.bin inputs ++ $(call if_changed,mkimage) ++ ++all: u-boot.toc1 ++ + ifeq ($(CONFIG_DEPRECATED),y) + $(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.") + endif +diff --git a/nezha.cfg b/nezha.cfg +new file mode 100644 +index 0000000000..2d23b9b388 +--- /dev/null ++++ b/nezha.cfg +@@ -0,0 +1,9 @@ ++[opensbi] ++file = fw_dynamic.bin ++addr = 0x40000000 ++[dtb] ++file = arch/riscv/dts/sun20i-d1-nezha.dtb ++addr = 0x44000000 ++[u-boot] ++file = u-boot-nodtb.bin ++addr = 0x4a000000 +-- +2.20.1 + diff --git a/buildroot-2022.02.1/board/nezha/readme.txt b/buildroot-2022.02.1/board/nezha/readme.txt new file mode 100644 index 00000000..fd4c6707 --- /dev/null +++ b/buildroot-2022.02.1/board/nezha/readme.txt @@ -0,0 +1,24 @@ +Allwinner Nezha +=============== + +Nezha is is a low-cost RISC-V 64-bit based platform, powered by an +Allwinner D1 SoC. + +How to build +============ + +$ make nezha_defconfig +$ make + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + +Connect a TTL UART to the debug connector, insert the microSD card and +plug in a USB-C cable to the PWR connector to boot the system. diff --git a/buildroot-2021.05/board/olimex/a10_olinuxino/boot.cmd b/buildroot-2022.02.1/board/olimex/a10_olinuxino/boot.cmd similarity index 100% rename from buildroot-2021.05/board/olimex/a10_olinuxino/boot.cmd rename to buildroot-2022.02.1/board/olimex/a10_olinuxino/boot.cmd diff --git a/buildroot-2021.05/board/olimex/a10_olinuxino/genimage.cfg b/buildroot-2022.02.1/board/olimex/a10_olinuxino/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/olimex/a10_olinuxino/genimage.cfg rename to buildroot-2022.02.1/board/olimex/a10_olinuxino/genimage.cfg diff --git a/buildroot-2021.05/board/olimex/a10_olinuxino/post-build.sh b/buildroot-2022.02.1/board/olimex/a10_olinuxino/post-build.sh similarity index 100% rename from buildroot-2021.05/board/olimex/a10_olinuxino/post-build.sh rename to buildroot-2022.02.1/board/olimex/a10_olinuxino/post-build.sh diff --git a/buildroot-2021.05/board/olimex/a10_olinuxino/readme.txt b/buildroot-2022.02.1/board/olimex/a10_olinuxino/readme.txt similarity index 100% rename from buildroot-2021.05/board/olimex/a10_olinuxino/readme.txt rename to buildroot-2022.02.1/board/olimex/a10_olinuxino/readme.txt diff --git a/buildroot-2021.05/board/olimex/a13_olinuxino/boot.cmd b/buildroot-2022.02.1/board/olimex/a13_olinuxino/boot.cmd similarity index 100% rename from buildroot-2021.05/board/olimex/a13_olinuxino/boot.cmd rename to buildroot-2022.02.1/board/olimex/a13_olinuxino/boot.cmd diff --git a/buildroot-2022.02.1/board/olimex/a13_olinuxino/genimage.cfg b/buildroot-2022.02.1/board/olimex/a13_olinuxino/genimage.cfg new file mode 100644 index 00000000..4eb14eb5 --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/a13_olinuxino/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun5i-a13-olinuxino.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/olimex/a13_olinuxino/post-build.sh b/buildroot-2022.02.1/board/olimex/a13_olinuxino/post-build.sh similarity index 100% rename from buildroot-2021.05/board/olimex/a13_olinuxino/post-build.sh rename to buildroot-2022.02.1/board/olimex/a13_olinuxino/post-build.sh diff --git a/buildroot-2021.05/board/olimex/a13_olinuxino/readme.txt b/buildroot-2022.02.1/board/olimex/a13_olinuxino/readme.txt similarity index 100% rename from buildroot-2021.05/board/olimex/a13_olinuxino/readme.txt rename to buildroot-2022.02.1/board/olimex/a13_olinuxino/readme.txt diff --git a/buildroot-2021.05/board/olimex/a20_olinuxino/boot.cmd b/buildroot-2022.02.1/board/olimex/a20_olinuxino/boot.cmd similarity index 100% rename from buildroot-2021.05/board/olimex/a20_olinuxino/boot.cmd rename to buildroot-2022.02.1/board/olimex/a20_olinuxino/boot.cmd diff --git a/buildroot-2022.02.1/board/olimex/a20_olinuxino/genimage.cfg b/buildroot-2022.02.1/board/olimex/a20_olinuxino/genimage.cfg new file mode 100644 index 00000000..b48e12a8 --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/a20_olinuxino/genimage.cfg @@ -0,0 +1,17 @@ +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/olimex/a20_olinuxino/linux-disable-lima.fragment b/buildroot-2022.02.1/board/olimex/a20_olinuxino/linux-disable-lima.fragment new file mode 100644 index 00000000..4c36f8aa --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/a20_olinuxino/linux-disable-lima.fragment @@ -0,0 +1,2 @@ +# Disable LIMA in favour of Mali +# CONFIG_DRM_LIMA is not set diff --git a/buildroot-2021.05/board/olimex/a20_olinuxino/post-build.sh b/buildroot-2022.02.1/board/olimex/a20_olinuxino/post-build.sh similarity index 100% rename from buildroot-2021.05/board/olimex/a20_olinuxino/post-build.sh rename to buildroot-2022.02.1/board/olimex/a20_olinuxino/post-build.sh diff --git a/buildroot-2021.05/board/olimex/a20_olinuxino/readme.txt b/buildroot-2022.02.1/board/olimex/a20_olinuxino/readme.txt similarity index 100% rename from buildroot-2021.05/board/olimex/a20_olinuxino/readme.txt rename to buildroot-2022.02.1/board/olimex/a20_olinuxino/readme.txt diff --git a/buildroot-2022.02.1/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf new file mode 100644 index 00000000..358bda05 --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/a20_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,4 @@ +label Olinuxino + kernel /boot/zImage + fdtdir /boot + append console=ttyS0,115200 root=/dev/mmcblk0p1 rootwait panic=10 drm_kms_helper.drm_leak_fbdev_smem=1 drm_kms_helper.drm_fbdev_overalloc=200 ${extra} diff --git a/buildroot-2021.05/board/olimex/a33_olinuxino/boot.cmd b/buildroot-2022.02.1/board/olimex/a33_olinuxino/boot.cmd similarity index 100% rename from buildroot-2021.05/board/olimex/a33_olinuxino/boot.cmd rename to buildroot-2022.02.1/board/olimex/a33_olinuxino/boot.cmd diff --git a/buildroot-2022.02.1/board/olimex/a33_olinuxino/genimage.cfg b/buildroot-2022.02.1/board/olimex/a33_olinuxino/genimage.cfg new file mode 100644 index 00000000..b48e12a8 --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/a33_olinuxino/genimage.cfg @@ -0,0 +1,17 @@ +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/olimex/a33_olinuxino/post-build.sh b/buildroot-2022.02.1/board/olimex/a33_olinuxino/post-build.sh similarity index 100% rename from buildroot-2021.05/board/olimex/a33_olinuxino/post-build.sh rename to buildroot-2022.02.1/board/olimex/a33_olinuxino/post-build.sh diff --git a/buildroot-2021.05/board/olimex/a33_olinuxino/readme.txt b/buildroot-2022.02.1/board/olimex/a33_olinuxino/readme.txt similarity index 100% rename from buildroot-2021.05/board/olimex/a33_olinuxino/readme.txt rename to buildroot-2022.02.1/board/olimex/a33_olinuxino/readme.txt diff --git a/buildroot-2021.05/board/olimex/a64-olinuxino/boot.cmd b/buildroot-2022.02.1/board/olimex/a64-olinuxino/boot.cmd similarity index 100% rename from buildroot-2021.05/board/olimex/a64-olinuxino/boot.cmd rename to buildroot-2022.02.1/board/olimex/a64-olinuxino/boot.cmd diff --git a/buildroot-2022.02.1/board/olimex/a64-olinuxino/genimage.cfg b/buildroot-2022.02.1/board/olimex/a64-olinuxino/genimage.cfg new file mode 100644 index 00000000..ac59e915 --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/a64-olinuxino/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-olinuxino.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1032K # 1MB - 8KB + 16KB(GPT) + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/olimex/a64-olinuxino/readme.txt b/buildroot-2022.02.1/board/olimex/a64-olinuxino/readme.txt similarity index 100% rename from buildroot-2021.05/board/olimex/a64-olinuxino/readme.txt rename to buildroot-2022.02.1/board/olimex/a64-olinuxino/readme.txt diff --git a/buildroot-2021.05/board/olimex/imx233_olinuxino/linux-wifi.fragment b/buildroot-2022.02.1/board/olimex/imx233_olinuxino/linux-wifi.fragment similarity index 100% rename from buildroot-2021.05/board/olimex/imx233_olinuxino/linux-wifi.fragment rename to buildroot-2022.02.1/board/olimex/imx233_olinuxino/linux-wifi.fragment diff --git a/buildroot-2021.05/board/olimex/imx233_olinuxino/readme.txt b/buildroot-2022.02.1/board/olimex/imx233_olinuxino/readme.txt similarity index 100% rename from buildroot-2021.05/board/olimex/imx233_olinuxino/readme.txt rename to buildroot-2022.02.1/board/olimex/imx233_olinuxino/readme.txt diff --git a/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/genimage.cfg b/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/genimage.cfg new file mode 100644 index 00000000..2f00ee97 --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/genimage.cfg @@ -0,0 +1,25 @@ +image sdcard.img { + hdimage { + gpt = "true" + } + + partition fsbl1 { + image = "u-boot-spl.stm32" + size = 256K + } + + partition fsbl2 { + image = "u-boot-spl.stm32" + size = 256K + } + + partition ssbl { + image = "u-boot.img" + size = 2M + } + + partition rootfs { + image = "rootfs.ext4" + bootable = "yes" + } +} diff --git a/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/linux.config b/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/linux.config new file mode 100644 index 00000000..592c4436 --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/linux.config @@ -0,0 +1,125 @@ +CONFIG_SYSVIPC=y +CONFIG_PREEMPT=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_NAMESPACES=y +CONFIG_EMBEDDED=y +CONFIG_ARCH_STM32=y +CONFIG_ARM_THUMBEE=y +CONFIG_SMP=y +CONFIG_HIGHMEM=y +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_KERNEL_MODE_NEON=y +CONFIG_ARM_CRYPTO=y +CONFIG_MODULES=y +CONFIG_MODULE_FORCE_LOAD=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODVERSIONS=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_CAN=m +CONFIG_CAN_M_CAN=m +CONFIG_CAN_M_CAN_PLATFORM=m +CONFIG_UEVENT_HELPER=y +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_OF_OVERLAY=y +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=4 +CONFIG_NETDEVICES=y +CONFIG_STMMAC_ETH=y +CONFIG_MICREL_PHY=y +CONFIG_INPUT_MOUSEDEV=m +CONFIG_INPUT_EVDEV=m +CONFIG_INPUT_MISC=y +CONFIG_INPUT_AXP20X_PEK=m +CONFIG_SERIAL_STM32=y +CONFIG_SERIAL_STM32_CONSOLE=y +CONFIG_NULL_TTY=m +CONFIG_SERIAL_DEV_BUS=m +CONFIG_HW_RANDOM=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_STM32F7=y +CONFIG_SPI=y +CONFIG_SPI_MEM=y +CONFIG_SPI_STM32=m +CONFIG_SPI_STM32_QSPI=m +CONFIG_PINCTRL_AXP209=m +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_GPIO=y +CONFIG_POWER_RESET_GPIO_RESTART=y +CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=y +CONFIG_CPU_THERMAL=y +CONFIG_WATCHDOG=y +CONFIG_MFD_AXP20X_I2C=y +CONFIG_MFD_STM32_LPTIMER=y +CONFIG_REGULATOR=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_AXP20X=y +CONFIG_REGULATOR_STM32_VREFBUF=y +CONFIG_REGULATOR_STM32_PWR=y +CONFIG_DRM=y +CONFIG_DRM_STM=m +CONFIG_DRM_STM_DSI=m +CONFIG_DRM_PANEL_LVDS=m +CONFIG_DRM_PANEL_SIMPLE=m +CONFIG_DRM_PANEL_OLIMEX_LCD_OLINUXINO=m +CONFIG_DRM_ITE_IT66121=m +CONFIG_DRM_ETNAVIV=m +CONFIG_BACKLIGHT_CLASS_DEVICE=y +CONFIG_BACKLIGHT_PWM=m +CONFIG_BACKLIGHT_GPIO=m +CONFIG_FRAMEBUFFER_CONSOLE=y +CONFIG_LOGO=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_OHCI_HCD=y +CONFIG_MMC=y +CONFIG_MMC_ARMMMCI=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_STM32=y +CONFIG_DMADEVICES=y +CONFIG_STM32_DMA=y +CONFIG_STM32_DMAMUX=y +CONFIG_STM32_MDMA=y +CONFIG_UIO=m +CONFIG_UIO_PDRV_GENIRQ=m +CONFIG_UIO_DMEM_GENIRQ=m +CONFIG_HWSPINLOCK=y +CONFIG_HWSPINLOCK_STM32=y +CONFIG_CLKSRC_STM32_LP=y +CONFIG_STM32_IPCC=y +CONFIG_REMOTEPROC=y +CONFIG_STM32_RPROC=y +CONFIG_IIO=y +CONFIG_IIO_SW_TRIGGER=y +CONFIG_SD_ADC_MODULATOR=y +CONFIG_STM32_ADC_CORE=y +CONFIG_STM32_ADC=y +CONFIG_STM32_DFSDM_ADC=y +CONFIG_STM32_DAC=y +CONFIG_IIO_HRTIMER_TRIGGER=y +CONFIG_IIO_STM32_LPTIMER_TRIGGER=y +CONFIG_PWM=y +CONFIG_PWM_STM32=m +CONFIG_PWM_STM32_LP=m +CONFIG_PHY_STM32_USBPHYC=y +CONFIG_NVMEM_STM32_ROMEM=y +CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_VFAT_FS=y +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ISO8859_1=y +CONFIG_NLS_UTF8=y +CONFIG_PRINTK_TIME=y diff --git a/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/readme.txt b/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/readme.txt new file mode 100644 index 00000000..8c641c6c --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/readme.txt @@ -0,0 +1,53 @@ +STMP157-OLinuXino-LIME2 + +Intro +===== + +These are open hardware boards, all based on the STmicro STMP157 SoC. + +for more details about the board see the following pages: + - https://www.olimex.com/Products/OLinuXino/open-source-hardware + - https://www.olimex.com/Products/OLinuXino/STMP1/STMP157-OLinuXino-LIME2/ + +The following defconfigs are available: + - olimex_stmp157_olinuxino_lime_defconfig + +How to build it +=============== + +Configure Buildroot: + + $ make _defconfig + +Compile everything and build the rootfs image: + + $ make + +Result of the build +------------------- + +After building, you should get a tree like this: + + output/images/ + +-- rootfs.ext2 + +-- rootfs.ext4 -> rootfs.ext2 + +-- sdcard.img + +-- stm32mp1xx-olinuxino-lime.dtb + +-- u-boot-spl.stm32 + +-- u-boot.img + `-- zImage + + +How to write the SD card +======================== + +The sdcard.img file is a complete bootable image ready to be written +on the boot medium. To install it, simply copy the image to a uSD +card: + + # dd if=output/images/sdcard.img of=/dev/sdX + +Where 'sdX' is the device node of the uSD. + +Eject the SD card, insert it in the STMP1-OLinuXino board, and power it up. + diff --git a/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf new file mode 100644 index 00000000..edb601c7 --- /dev/null +++ b/buildroot-2022.02.1/board/olimex/stmp1_olinuxino/rootfs_overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,4 @@ +label stmp1-olinuxino-buildroot + kernel /boot/zImage + devicetree /boot/stm32mp1xx-olinuxino-lime.dtb + append root=/dev/mmcblk0p4 rootwait diff --git a/buildroot-2021.05/board/olpc/genimage.cfg b/buildroot-2022.02.1/board/olpc/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/olpc/genimage.cfg rename to buildroot-2022.02.1/board/olpc/genimage.cfg diff --git a/buildroot-2021.05/board/olpc/linux.config b/buildroot-2022.02.1/board/olpc/linux.config similarity index 100% rename from buildroot-2021.05/board/olpc/linux.config rename to buildroot-2022.02.1/board/olpc/linux.config diff --git a/buildroot-2021.05/board/olpc/olpc.fth b/buildroot-2022.02.1/board/olpc/olpc.fth similarity index 100% rename from buildroot-2021.05/board/olpc/olpc.fth rename to buildroot-2022.02.1/board/olpc/olpc.fth diff --git a/buildroot-2021.05/board/olpc/post-build.sh b/buildroot-2022.02.1/board/olpc/post-build.sh similarity index 100% rename from buildroot-2021.05/board/olpc/post-build.sh rename to buildroot-2022.02.1/board/olpc/post-build.sh diff --git a/buildroot-2021.05/board/olpc/readme.txt b/buildroot-2022.02.1/board/olpc/readme.txt similarity index 100% rename from buildroot-2021.05/board/olpc/readme.txt rename to buildroot-2022.02.1/board/olpc/readme.txt diff --git a/buildroot-2021.05/board/olpc/xo-1.75/linux.config b/buildroot-2022.02.1/board/olpc/xo-1.75/linux.config similarity index 100% rename from buildroot-2021.05/board/olpc/xo-1.75/linux.config rename to buildroot-2022.02.1/board/olpc/xo-1.75/linux.config diff --git a/buildroot-2021.05/board/olpc/xo-1/linux.config b/buildroot-2022.02.1/board/olpc/xo-1/linux.config similarity index 100% rename from buildroot-2021.05/board/olpc/xo-1/linux.config rename to buildroot-2022.02.1/board/olpc/xo-1/linux.config diff --git a/buildroot-2021.05/board/openblocks/a6/readme.txt b/buildroot-2022.02.1/board/openblocks/a6/readme.txt similarity index 100% rename from buildroot-2021.05/board/openblocks/a6/readme.txt rename to buildroot-2022.02.1/board/openblocks/a6/readme.txt diff --git a/buildroot-2022.02.1/board/orangepi/common/extlinux.conf b/buildroot-2022.02.1/board/orangepi/common/extlinux.conf new file mode 100644 index 00000000..12f496b1 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/common/extlinux.conf @@ -0,0 +1,4 @@ +LABEL default + kernel /boot/%LINUXIMAGE% + devicetreedir /boot + append root=PARTUUID=%PARTUUID% rootwait console=${console} rootfstype=ext4 quiet panic=10 diff --git a/buildroot-2022.02.1/board/orangepi/common/genimage.cfg b/buildroot-2022.02.1/board/orangepi/common/genimage.cfg new file mode 100644 index 00000000..a61c4a03 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/common/genimage.cfg @@ -0,0 +1,20 @@ +image sdcard.img { + partition u-boot { + in-partition-table = false + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1000K # 1MB - 8KB(offset) - 16KB(GPT) + } + + hdimage { + partition-table-type = gpt + gpt-location = 1008K # 1MB - 16KB(GPT) + gpt-no-backup = true + } + + partition rootfs { + offset = 1M + image = "rootfs.ext4" + partition-uuid = %PARTUUID% + } +} diff --git a/buildroot-2022.02.1/board/orangepi/common/post-build.sh b/buildroot-2022.02.1/board/orangepi/common/post-build.sh new file mode 100755 index 00000000..296f94b1 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/common/post-build.sh @@ -0,0 +1,34 @@ +#!/bin/sh + +linux_image() +{ + if grep -Eq "^BR2_LINUX_KERNEL_UIMAGE=y$" ${BR2_CONFIG}; then + echo "uImage" + elif grep -Eq "^BR2_LINUX_KERNEL_IMAGE=y$" ${BR2_CONFIG}; then + echo "Image" + elif grep -Eq "^BR2_LINUX_KERNEL_IMAGEGZ=y$" ${BR2_CONFIG}; then + echo "Image.gz" + else + echo "zImage" + fi +} + +generic_getty() +{ + if grep -Eq "^BR2_TARGET_GENERIC_GETTY=y$" ${BR2_CONFIG}; then + echo "" + else + echo "s/\s*console=\S*//" + fi +} + +PARTUUID="$($HOST_DIR/bin/uuidgen)" + +install -d "$TARGET_DIR/boot/extlinux/" + +sed -e "$(generic_getty)" \ + -e "s/%LINUXIMAGE%/$(linux_image)/g" \ + -e "s/%PARTUUID%/$PARTUUID/g" \ + "board/orangepi/common/extlinux.conf" > "$TARGET_DIR/boot/extlinux/extlinux.conf" + +sed "s/%PARTUUID%/$PARTUUID/g" "board/orangepi/common/genimage.cfg" > "$BINARIES_DIR/genimage.cfg" diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-lite/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-lite/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-lite/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-lite/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-lite/genimage.cfg new file mode 100644 index 00000000..b422a751 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-lite/genimage.cfg @@ -0,0 +1,37 @@ +# Minimal SD card image for the OrangePi Lite +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-orangepi-lite.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite/linux-extras.config b/buildroot-2022.02.1/board/orangepi/orangepi-lite/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-lite/linux-extras.config rename to buildroot-2022.02.1/board/orangepi/orangepi-lite/linux-extras.config diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-lite/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-lite/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-lite/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite2/extlinux.conf b/buildroot-2022.02.1/board/orangepi/orangepi-lite2/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-lite2/extlinux.conf rename to buildroot-2022.02.1/board/orangepi/orangepi-lite2/extlinux.conf diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-lite2/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-lite2/genimage.cfg new file mode 100644 index 00000000..bc981eed --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-lite2/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h6-orangepi-lite2.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite2/post-build.sh b/buildroot-2022.02.1/board/orangepi/orangepi-lite2/post-build.sh similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-lite2/post-build.sh rename to buildroot-2022.02.1/board/orangepi/orangepi-lite2/post-build.sh diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite2/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-lite2/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-lite2/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-lite2/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt b/buildroot-2022.02.1/board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-lite2/rootfs_overlay/lib/firmware/brcm/brcmfmac43455-sdio.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-one-plus/extlinux.conf b/buildroot-2022.02.1/board/orangepi/orangepi-one-plus/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-one-plus/extlinux.conf rename to buildroot-2022.02.1/board/orangepi/orangepi-one-plus/extlinux.conf diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-one-plus/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-one-plus/genimage.cfg new file mode 100644 index 00000000..80b83b02 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-one-plus/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h6-orangepi-one-plus.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-one-plus/post-build.sh b/buildroot-2022.02.1/board/orangepi/orangepi-one-plus/post-build.sh similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-one-plus/post-build.sh rename to buildroot-2022.02.1/board/orangepi/orangepi-one-plus/post-build.sh diff --git a/buildroot-2021.05/board/orangepi/orangepi-one-plus/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-one-plus/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-one-plus/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-one-plus/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-one/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-one/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-one/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-one/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-one/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-one/genimage.cfg new file mode 100644 index 00000000..2a14dcde --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-one/genimage.cfg @@ -0,0 +1,37 @@ +# Minimal SD card image for the OrangePi PC +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-orangepi-one.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-one/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-one/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-one/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-one/readme.txt diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/boot.cmd new file mode 100644 index 00000000..c91f7794 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/boot.cmd @@ -0,0 +1,8 @@ +setenv fdt_high ffffffff + +setenv bootargs console=ttyS0,115200 earlyprintk root=PARTLABEL=rootfs rootwait + +fatload mmc 0 $kernel_addr_r zImage +fatload mmc 0 $fdt_addr_r sun8i-h3-orangepi-pc-plus.dtb + +bootz $kernel_addr_r - $fdt_addr_r diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/genimage.cfg new file mode 100644 index 00000000..3812d785 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/genimage.cfg @@ -0,0 +1,43 @@ +# Minimal SD card image for the OrangePi PC Plus +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-orangepi-pc-plus.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + # for root=PARTLABEL support + partition-table-type = "gpt" + # default GPT location conflicts with bootloaders, move it after + gpt-location = 1M + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type-uuid = "F" + bootable = "true" + image = "boot.vfat" + } + + # 'rootfs' will be used as the partition label, used + # with root=PARTLABEL=rootfs kernel command line + partition rootfs { + partition-type-uuid = "L" + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc-plus/linux-extras.config b/buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-pc-plus/linux-extras.config rename to buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/linux-extras.config diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc-plus/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-pc-plus/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-pc-plus/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-pc/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-pc/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-pc/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-pc/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-pc/genimage.cfg new file mode 100644 index 00000000..14e326cc --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-pc/genimage.cfg @@ -0,0 +1,37 @@ +# Minimal SD card image for the OrangePi PC +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-orangepi-pc.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc/linux.fragment b/buildroot-2022.02.1/board/orangepi/orangepi-pc/linux.fragment similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-pc/linux.fragment rename to buildroot-2022.02.1/board/orangepi/orangepi-pc/linux.fragment diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-pc/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-pc/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-pc/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc2/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-pc2/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-pc2/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-pc2/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-pc2/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-pc2/genimage.cfg new file mode 100644 index 00000000..cc8695c9 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-pc2/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-orangepi-pc2.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-pc2/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-pc2/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-pc2/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-pc2/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-plus/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-plus/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-plus/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-plus/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-plus/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-plus/genimage.cfg new file mode 100644 index 00000000..1ca30258 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-plus/genimage.cfg @@ -0,0 +1,36 @@ +# Minimal SD card image for the OrangePi Plus\Plus2 +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-orangepi-plus.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-plus/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-plus/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-plus/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-plus/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-prime/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-prime/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-prime/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-prime/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-prime/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-prime/genimage.cfg new file mode 100644 index 00000000..dde9a648 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-prime/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-orangepi-prime.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-prime/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-prime/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-prime/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-prime/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-r1/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-r1/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-r1/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-r1/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-r1/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-r1/genimage.cfg new file mode 100644 index 00000000..e93e802b --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-r1/genimage.cfg @@ -0,0 +1,43 @@ +# Minimal SD card image for the OrangePi R1 +# +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h2-plus-orangepi-r1.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + # for root=PARTLABEL support + partition-table-type = "gpt" + # default GPT location conflicts with spl, move it after + gpt-location = 1M + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type-uuid = "U" + bootable = "true" + image = "boot.vfat" + } + + # 'rootfs' will be used as the partition label, used + # with root=PARTLABEL=rootfs kernel command line + partition rootfs { + partition-type-uuid = "L" + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-r1/linux-extras.config b/buildroot-2022.02.1/board/orangepi/orangepi-r1/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-r1/linux-extras.config rename to buildroot-2022.02.1/board/orangepi/orangepi-r1/linux-extras.config diff --git a/buildroot-2021.05/board/orangepi/orangepi-r1/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-r1/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-r1/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-r1/readme.txt diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-rk3399/extlinux.conf b/buildroot-2022.02.1/board/orangepi/orangepi-rk3399/extlinux.conf new file mode 100644 index 00000000..157c6a71 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-rk3399/extlinux.conf @@ -0,0 +1,4 @@ +label RK3399_ORANGEPI linux + kernel /Image + devicetree /rk3399-orangepi.dtb + append earlycon=uart8250,mmio32,0xff1a0000 root=/dev/mmcblk1p4 rw rootwait diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-rk3399/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-rk3399/genimage.cfg new file mode 100644 index 00000000..a0216617 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-rk3399/genimage.cfg @@ -0,0 +1,38 @@ +image boot.vfat { + vfat { + files = { + "Image", + "rk3399-orangepi.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type-uuid = F + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-rk3399/post-build.sh b/buildroot-2022.02.1/board/orangepi/orangepi-rk3399/post-build.sh similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-rk3399/post-build.sh rename to buildroot-2022.02.1/board/orangepi/orangepi-rk3399/post-build.sh diff --git a/buildroot-2021.05/board/orangepi/orangepi-rk3399/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-rk3399/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-rk3399/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-rk3399/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-win/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-win/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-win/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-win/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-win/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-win/genimage.cfg new file mode 100644 index 00000000..98fd1a03 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-win/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-orangepi-win.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-win/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-win/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-win/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-win/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero-plus/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-zero-plus/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-zero-plus/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus/genimage.cfg new file mode 100644 index 00000000..a8f3161c --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-orangepi-zero-plus.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero-plus/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-zero-plus/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-zero-plus/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero-plus2/boot.cmd b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/boot.cmd similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-zero-plus2/boot.cmd rename to buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/boot.cmd diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/genimage.cfg b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/genimage.cfg new file mode 100644 index 00000000..5a7ee770 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/genimage.cfg @@ -0,0 +1,41 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-h5-orangepi-zero-plus2.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + # for root=PARTLABEL support + partition-table-type = "gpt" + # default GPT location conflicts with bootloaders, move it after + gpt-location = 1M + } + + partition spl { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type-uuid = "F" + bootable = "true" + image = "boot.vfat" + } + + # 'rootfs' will be used as the partition label, used + # with root=PARTLABEL=rootfs kernel command line + partition rootfs { + partition-type-uuid = "L" + image = "rootfs.ext4" + size = 256M + } +} diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero-plus2/linux-extras.config b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-zero-plus2/linux-extras.config rename to buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/linux-extras.config diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero-plus2/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-zero-plus2/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/readme.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt b/buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-zero-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-zero-plus2/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero/linux-extras.config b/buildroot-2022.02.1/board/orangepi/orangepi-zero/linux-extras.fragment similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-zero/linux-extras.config rename to buildroot-2022.02.1/board/orangepi/orangepi-zero/linux-extras.fragment diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch b/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch new file mode 100644 index 00000000..16207afc --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch @@ -0,0 +1,35 @@ +From 321faaf4b78d46a0c77782c1798856746f0619e9 Mon Sep 17 00:00:00 2001 +From: Sergey Matyukevich +Date: Fri, 19 May 2017 23:39:48 +0300 +Subject: [PATCH] ARM: dts: orange-pi-zero: specify XR819 WiFi chip + interrupts + +The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board +dts file provides a node enabling mmc1 controller. Together with an +out-of-tree driver https://github.com/fifteenhex/xradio this node +enables using the wifi chip. + +This commit specifies XR819 interrupt configuration for the driver. + +Signed-off-by: Sergey Matyukevich +--- + arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +index b7ca916d871d..4e1a9050c6b4 100644 +--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts ++++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +@@ -125,6 +125,9 @@ + */ + xr819: sdio_wifi@1 { + reg = <1>; ++ compatible = "xradio,xr819"; ++ interrupt-parent = <&pio>; ++ interrupts = <6 10 IRQ_TYPE_EDGE_RISING>; + }; + }; + +-- +2.11.0 + diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch b/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch new file mode 100644 index 00000000..e4c52ab9 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0002-ARM-dts-orange-pi-zero-enable-spi-nor.patch @@ -0,0 +1,42 @@ +From 068c3baff3048a3db4ef2518ff917ce749cd8169 Mon Sep 17 00:00:00 2001 +From: Sergey Matyukevich +Date: Sat, 20 May 2017 11:24:26 +0300 +Subject: [PATCH] ARM: dts: orange-pi-zero: enable SPI NOR + +Enable SPI NOR on orange-pi-zero board. + +For more information see: +- http://linux-sunxi.org/Orange_Pi_Zero#SPI_NOR_flash + +Signed-off-by: Sergey Matyukevich +--- + arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 16 ++++++++++++++++ + 1 file changed, 16 insertions(+) + +diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +index 4e1a9050c6b4..cdf19821b1f3 100644 +--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts ++++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +@@ -161,3 +161,19 @@ + /* USB VBUS is always on */ + status = "okay"; + }; ++ ++&spi0 { ++ status = "okay"; ++ ++ flash@0 { ++ #address-cells = <1>; ++ #size-cells = <1>; ++ compatible = "mxicy,mx25l1606e", "winbond,w25q128"; ++ reg = <0>; ++ spi-max-frequency = <40000000>; ++ ++ partition@00000000 { ++ reg = <0x00000000 0x200000>; /* 2Mb */ ++ }; ++ }; ++}; +-- +2.11.0 + diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch b/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch new file mode 100644 index 00000000..ae0ed9ba --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0003-ARM-dts-orange-pi-zero-enable-spidev.patch @@ -0,0 +1,42 @@ +From 8dd1b2a696bb7e9914abd11cc6f5c0f54c33d626 Mon Sep 17 00:00:00 2001 +From: Sergey Matyukevich +Date: Sat, 20 May 2017 15:36:51 +0300 +Subject: [PATCH] ARM: dts: orange-pi-zero: enable spidev + +On orange-pi-zero board SPI1 pins are accessible via GPIO expansion port. +This patch enables spidev driver for SPI1. + +Signed-off-by: Sergey Matyukevich +--- + arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +index cdf19821b1f3..7242aaecb14f 100644 +--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts ++++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +@@ -59,6 +59,7 @@ + serial0 = &uart0; + /* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */ + ethernet1 = &xr819; ++ spi1 = &spi1; + }; + + chosen { +@@ -177,3 +178,13 @@ + }; + }; + }; ++ ++&spi1 { ++ status = "okay"; ++ ++ spidev@0 { ++ compatible = "rohm,dh2228fv"; ++ reg = <0>; ++ spi-max-frequency = <10000000>; ++ }; ++}; +-- +2.11.0 + diff --git a/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch b/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch new file mode 100644 index 00000000..839bc160 --- /dev/null +++ b/buildroot-2022.02.1/board/orangepi/orangepi-zero/patches/linux/0004-ARM-dts-orange-pi-zero-enable-uart.patch @@ -0,0 +1,35 @@ +From e8768cc1f0f1231cbd4864417de629330e21222d Mon Sep 17 00:00:00 2001 +From: Sergey Kuzminov +Date: Sun, 21 Nov 2021 00:58:32 +0300 +Subject: [PATCH] ARM: dts: orange-pi-zero: enable uart + +Enable uart1 and uart2 on orange-pi-zero board. + +Signed-off-by: Sergey Kuzminov +--- + arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +index f19ed981da9d..03acf166ab70 100644 +--- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts ++++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts +@@ -184,13 +184,13 @@ &uart0 { + &uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&uart1_pins>; +- status = "disabled"; ++ status = "okay"; + }; + + &uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2_pins>; +- status = "disabled"; ++ status = "okay"; + }; + + &usb_otg { +-- +2.32.0 + diff --git a/buildroot-2021.05/board/orangepi/orangepi-zero/readme.txt b/buildroot-2022.02.1/board/orangepi/orangepi-zero/readme.txt similarity index 100% rename from buildroot-2021.05/board/orangepi/orangepi-zero/readme.txt rename to buildroot-2022.02.1/board/orangepi/orangepi-zero/readme.txt diff --git a/buildroot-2022.02.1/board/pandaboard/genimage.cfg b/buildroot-2022.02.1/board/pandaboard/genimage.cfg new file mode 100644 index 00000000..dfe38822 --- /dev/null +++ b/buildroot-2022.02.1/board/pandaboard/genimage.cfg @@ -0,0 +1,27 @@ +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img" + } + } + + size = 8M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/pandaboard/readme.txt b/buildroot-2022.02.1/board/pandaboard/readme.txt similarity index 100% rename from buildroot-2021.05/board/pandaboard/readme.txt rename to buildroot-2022.02.1/board/pandaboard/readme.txt diff --git a/buildroot-2022.02.1/board/pc/genimage-bios.cfg b/buildroot-2022.02.1/board/pc/genimage-bios.cfg new file mode 100644 index 00000000..54026f65 --- /dev/null +++ b/buildroot-2022.02.1/board/pc/genimage-bios.cfg @@ -0,0 +1,23 @@ +image disk.img { + hdimage { + } + + partition boot { + in-partition-table = "no" + image = "boot.img" + offset = 0 + size = 512 + holes = {"(440; 512)"} + } + + partition grub { + in-partition-table = "no" + image = "grub.img" + offset = 512 + } + + partition root { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/buildroot-2022.02.1/board/pc/genimage-efi.cfg b/buildroot-2022.02.1/board/pc/genimage-efi.cfg new file mode 100644 index 00000000..035a077a --- /dev/null +++ b/buildroot-2022.02.1/board/pc/genimage-efi.cfg @@ -0,0 +1,32 @@ +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + + file bzImage { + image = "bzImage" + } + } + + size = 16352K # 16MB - 32KB +} + +image disk.img { + hdimage { + partition-table-type = "gpt" + } + + partition boot { + image = "efi-part.vfat" + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + offset = 32K + bootable = true + } + + partition root { + partition-type-uuid = 44479540-f297-41b2-9af7-d131d5f0458a + partition-uuid = UUID_TMP + image = "rootfs.ext2" + } +} diff --git a/buildroot-2021.05/board/pc/grub-bios.cfg b/buildroot-2022.02.1/board/pc/grub-bios.cfg similarity index 100% rename from buildroot-2021.05/board/pc/grub-bios.cfg rename to buildroot-2022.02.1/board/pc/grub-bios.cfg diff --git a/buildroot-2021.05/board/pc/grub-efi.cfg b/buildroot-2022.02.1/board/pc/grub-efi.cfg similarity index 100% rename from buildroot-2021.05/board/pc/grub-efi.cfg rename to buildroot-2022.02.1/board/pc/grub-efi.cfg diff --git a/buildroot-2021.05/board/pc/linux.config b/buildroot-2022.02.1/board/pc/linux.config similarity index 100% rename from buildroot-2021.05/board/pc/linux.config rename to buildroot-2022.02.1/board/pc/linux.config diff --git a/buildroot-2022.02.1/board/pc/post-build.sh b/buildroot-2022.02.1/board/pc/post-build.sh new file mode 100755 index 00000000..c76dee26 --- /dev/null +++ b/buildroot-2022.02.1/board/pc/post-build.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +BOARD_DIR=$(dirname "$0") + +# Detect boot strategy, EFI or BIOS +if [ -d "$BINARIES_DIR/efi-part/" ]; then + cp -f "$BOARD_DIR/grub-efi.cfg" "$BINARIES_DIR/efi-part/EFI/BOOT/grub.cfg" +else + cp -f "$BOARD_DIR/grub-bios.cfg" "$TARGET_DIR/boot/grub/grub.cfg" + + # Copy grub 1st stage to binaries, required for genimage + cp -f "$TARGET_DIR/lib/grub/i386-pc/boot.img" "$BINARIES_DIR" +fi diff --git a/buildroot-2021.05/board/pc/post-image-efi.sh b/buildroot-2022.02.1/board/pc/post-image-efi.sh similarity index 100% rename from buildroot-2021.05/board/pc/post-image-efi.sh rename to buildroot-2022.02.1/board/pc/post-image-efi.sh diff --git a/buildroot-2021.05/board/pc/readme.txt b/buildroot-2022.02.1/board/pc/readme.txt similarity index 100% rename from buildroot-2021.05/board/pc/readme.txt rename to buildroot-2022.02.1/board/pc/readme.txt diff --git a/buildroot-2021.05/board/pcengines/apu2/isolinux.cfg b/buildroot-2022.02.1/board/pcengines/apu2/isolinux.cfg similarity index 100% rename from buildroot-2021.05/board/pcengines/apu2/isolinux.cfg rename to buildroot-2022.02.1/board/pcengines/apu2/isolinux.cfg diff --git a/buildroot-2021.05/board/pcengines/apu2/linux.config b/buildroot-2022.02.1/board/pcengines/apu2/linux.config similarity index 100% rename from buildroot-2021.05/board/pcengines/apu2/linux.config rename to buildroot-2022.02.1/board/pcengines/apu2/linux.config diff --git a/buildroot-2021.05/board/pcengines/apu2/readme.txt b/buildroot-2022.02.1/board/pcengines/apu2/readme.txt similarity index 100% rename from buildroot-2021.05/board/pcengines/apu2/readme.txt rename to buildroot-2022.02.1/board/pcengines/apu2/readme.txt diff --git a/buildroot-2021.05/board/pine64/pine64/boot.cmd b/buildroot-2022.02.1/board/pine64/pine64/boot.cmd similarity index 100% rename from buildroot-2021.05/board/pine64/pine64/boot.cmd rename to buildroot-2022.02.1/board/pine64/pine64/boot.cmd diff --git a/buildroot-2022.02.1/board/pine64/pine64/genimage.cfg b/buildroot-2022.02.1/board/pine64/pine64/genimage.cfg new file mode 100644 index 00000000..06b4ed10 --- /dev/null +++ b/buildroot-2022.02.1/board/pine64/pine64/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-pine64.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/pine64/pine64/readme.txt b/buildroot-2022.02.1/board/pine64/pine64/readme.txt similarity index 100% rename from buildroot-2021.05/board/pine64/pine64/readme.txt rename to buildroot-2022.02.1/board/pine64/pine64/readme.txt diff --git a/buildroot-2021.05/board/pine64/rock64/extlinux.conf b/buildroot-2022.02.1/board/pine64/rock64/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/pine64/rock64/extlinux.conf rename to buildroot-2022.02.1/board/pine64/rock64/extlinux.conf diff --git a/buildroot-2022.02.1/board/pine64/rock64/genimage.cfg b/buildroot-2022.02.1/board/pine64/rock64/genimage.cfg new file mode 100644 index 00000000..7b749d1d --- /dev/null +++ b/buildroot-2022.02.1/board/pine64/rock64/genimage.cfg @@ -0,0 +1,23 @@ +image sdcard.img { + hdimage { + } + + partition uboot-spl { + in-partition-table = "no" + image = "u-boot-tpl-spl.img" + offset = 32K # 512 * 0x40 from start of sd card + } + + partition uboot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 256K # 512 * 0x200 from start of sd card + } + + partition rootfs { + partition-type = 0x83 + bootable = "yes" + image = "rootfs.ext2" + size = 500M + } +} diff --git a/buildroot-2021.05/board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch b/buildroot-2022.02.1/board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch similarity index 100% rename from buildroot-2021.05/board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch rename to buildroot-2022.02.1/board/pine64/rock64/patches/uboot/0001-Makefile-rk3328-needs-itb-image-to-boot-properly.patch diff --git a/buildroot-2021.05/board/pine64/rock64/post-build.sh b/buildroot-2022.02.1/board/pine64/rock64/post-build.sh similarity index 100% rename from buildroot-2021.05/board/pine64/rock64/post-build.sh rename to buildroot-2022.02.1/board/pine64/rock64/post-build.sh diff --git a/buildroot-2021.05/board/pine64/rock64/readme.txt b/buildroot-2022.02.1/board/pine64/rock64/readme.txt similarity index 100% rename from buildroot-2021.05/board/pine64/rock64/readme.txt rename to buildroot-2022.02.1/board/pine64/rock64/readme.txt diff --git a/buildroot-2021.05/board/pine64/rockpro64/extlinux.conf b/buildroot-2022.02.1/board/pine64/rockpro64/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/pine64/rockpro64/extlinux.conf rename to buildroot-2022.02.1/board/pine64/rockpro64/extlinux.conf diff --git a/buildroot-2022.02.1/board/pine64/rockpro64/genimage.cfg b/buildroot-2022.02.1/board/pine64/rockpro64/genimage.cfg new file mode 100644 index 00000000..d3926f2d --- /dev/null +++ b/buildroot-2022.02.1/board/pine64/rockpro64/genimage.cfg @@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "rk3399-rockpro64.dtb", + "extlinux" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/pine64/rockpro64/post-build.sh b/buildroot-2022.02.1/board/pine64/rockpro64/post-build.sh similarity index 100% rename from buildroot-2021.05/board/pine64/rockpro64/post-build.sh rename to buildroot-2022.02.1/board/pine64/rockpro64/post-build.sh diff --git a/buildroot-2021.05/board/pine64/rockpro64/readme.txt b/buildroot-2022.02.1/board/pine64/rockpro64/readme.txt similarity index 100% rename from buildroot-2021.05/board/pine64/rockpro64/readme.txt rename to buildroot-2022.02.1/board/pine64/rockpro64/readme.txt diff --git a/buildroot-2021.05/board/pine64/sopine/boot.cmd b/buildroot-2022.02.1/board/pine64/sopine/boot.cmd similarity index 100% rename from buildroot-2021.05/board/pine64/sopine/boot.cmd rename to buildroot-2022.02.1/board/pine64/sopine/boot.cmd diff --git a/buildroot-2022.02.1/board/pine64/sopine/genimage.cfg b/buildroot-2022.02.1/board/pine64/sopine/genimage.cfg new file mode 100644 index 00000000..9300f3d6 --- /dev/null +++ b/buildroot-2022.02.1/board/pine64/sopine/genimage.cfg @@ -0,0 +1,40 @@ +image boot.vfat { + vfat { + files = { + "Image", + "sun50i-a64-sopine-baseboard.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition spl { + in-partition-table = "no" + image = "sunxi-spl.bin" + offset = 8K + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot.itb" + offset = 40K + size = 1M # 1MB - 40KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/pine64/sopine/readme.txt b/buildroot-2022.02.1/board/pine64/sopine/readme.txt similarity index 100% rename from buildroot-2021.05/board/pine64/sopine/readme.txt rename to buildroot-2022.02.1/board/pine64/sopine/readme.txt diff --git a/buildroot-2022.02.1/board/qemu/aarch64-sbsa/assemble-flash-images b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/assemble-flash-images new file mode 100755 index 00000000..abcc276b --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/assemble-flash-images @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +BOARD_DIR="$(dirname $0)" + +cp -f ${BOARD_DIR}/grub.cfg ${BINARIES_DIR}/efi-part/EFI/BOOT/grub.cfg + +# The QEMU sbsa machine expects flash devices to be 256M. +truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH0.fd +truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH1.fd diff --git a/buildroot-2022.02.1/board/qemu/aarch64-sbsa/genimage.cfg b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/genimage.cfg new file mode 100644 index 00000000..bdf8a89d --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/genimage.cfg @@ -0,0 +1,31 @@ +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + + file Image { + image = "Image" + } + } + + size = 64M +} + +image disk.img { + hdimage { + partition-table-type = "gpt" + } + + partition boot { + image = "efi-part.vfat" + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + offset = 32K + bootable = true + } + + partition root { + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae + image = "rootfs.ext2" + } +} diff --git a/buildroot-2022.02.1/board/qemu/aarch64-sbsa/grub.cfg b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/grub.cfg new file mode 100644 index 00000000..cd486caf --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/grub.cfg @@ -0,0 +1,6 @@ +set default="0" +set timeout="5" + +menuentry "Buildroot" { + linux /Image root=/dev/sda2 rootwait console=ttyAMA0 +} diff --git a/buildroot-2022.02.1/board/qemu/aarch64-sbsa/linux.config b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/linux.config new file mode 100644 index 00000000..a60cce02 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/linux.config @@ -0,0 +1,68 @@ +CONFIG_SYSVIPC=y +CONFIG_POSIX_MQUEUE=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_TASKSTATS=y +CONFIG_SCHED_AUTOGROUP=y +CONFIG_PROFILING=y +CONFIG_ARCH_VEXPRESS=y +CONFIG_COMPAT=y +CONFIG_FW_CFG_SYSFS=y +CONFIG_FW_CFG_SYSFS_CMDLINE=y +CONFIG_ACPI=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_BLK_DEV_BSGLIB=y +CONFIG_BINFMT_MISC=y +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_PACKET_DIAG=y +CONFIG_UNIX=y +CONFIG_NET_KEY=y +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y +CONFIG_BRIDGE=m +CONFIG_NET_SCHED=y +CONFIG_VSOCKETS=y +CONFIG_PCI=y +CONFIG_PCI_HOST_GENERIC=y +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_VIRTIO_BLK=y +CONFIG_BLK_DEV_SD=y +CONFIG_CHR_DEV_SG=y +CONFIG_SCSI_CONSTANTS=y +CONFIG_SCSI_LOGGING=y +CONFIG_SCSI_SCAN_ASYNC=y +CONFIG_SCSI_VIRTIO=y +CONFIG_ATA=y +CONFIG_SATA_AHCI_PLATFORM=y +CONFIG_NETDEVICES=y +CONFIG_DUMMY=y +CONFIG_MACVLAN=y +CONFIG_VIRTIO_NET=y +CONFIG_NLMON=y +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_VIRTIO=y +CONFIG_TCG_TPM=y +CONFIG_TCG_TIS=y +CONFIG_DRM=y +CONFIG_DRM_VIRTIO_GPU=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_PL031=y +CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_MAILBOX=y +CONFIG_PL320_MBOX=y +CONFIG_ARM_SMMU_V3=y +CONFIG_EXT4_FS=y +CONFIG_FUSE_FS=y +CONFIG_VIRTIO_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/aarch64-sbsa/readme.txt b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/readme.txt new file mode 100644 index 00000000..cf5f66d4 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/aarch64-sbsa/readme.txt @@ -0,0 +1,32 @@ +Intro +===== + +The QEMU sbsa-ref machine is primarily meant for firmware development +and testing according to ARM's SBSA and SBBR standards. + +Build +===== + + $ make qemu_aarch64_sbsa_defconfig + $ make + +Emulation +========= + +Run the emulation with: + + qemu-system-aarch64 \ + -M sbsa-ref \ + -cpu cortex-a57 \ + -smp 4 \ + -m 1024 \ + -nographic \ + -pflash output/images/SBSA_FLASH0.fd \ + -pflash output/images/SBSA_FLASH1.fd \ + -hda output/images/disk.img # qemu_aarch64_sbsa_defconfig + +Note that if you want to run sbsa-ref emulation with QEMU provided by +your distro (i.e., not host-qemu by Buildroot) then you may need to +install the SeaBIOS package for some required drivers. On Debian: + + # apt install seabios diff --git a/buildroot-2022.02.1/board/qemu/aarch64-virt/linux.config b/buildroot-2022.02.1/board/qemu/aarch64-virt/linux.config new file mode 100644 index 00000000..f9763b73 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/aarch64-virt/linux.config @@ -0,0 +1,75 @@ +CONFIG_SYSVIPC=y +CONFIG_POSIX_MQUEUE=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_TASKSTATS=y +CONFIG_MEMCG=y +CONFIG_BLK_CGROUP=y +CONFIG_CPUSETS=y +CONFIG_CGROUP_DEVICE=y +CONFIG_CGROUP_CPUACCT=y +CONFIG_SCHED_AUTOGROUP=y +CONFIG_PROFILING=y +CONFIG_ARCH_VEXPRESS=y +CONFIG_COMPAT=y +CONFIG_FW_CFG_SYSFS=y +CONFIG_FW_CFG_SYSFS_CMDLINE=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_BLK_DEV_BSGLIB=y +CONFIG_BINFMT_MISC=y +CONFIG_TRANSPARENT_HUGEPAGE=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_PACKET_DIAG=y +CONFIG_UNIX=y +CONFIG_NET_KEY=y +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y +CONFIG_BRIDGE=m +CONFIG_NET_SCHED=y +CONFIG_VSOCKETS=y +CONFIG_PCI=y +CONFIG_PCI_HOST_GENERIC=y +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_VIRTIO_BLK=y +CONFIG_BLK_DEV_SD=y +CONFIG_CHR_DEV_SG=y +CONFIG_SCSI_CONSTANTS=y +CONFIG_SCSI_LOGGING=y +CONFIG_SCSI_SCAN_ASYNC=y +CONFIG_SCSI_VIRTIO=y +CONFIG_ATA=y +CONFIG_NETDEVICES=y +CONFIG_DUMMY=y +CONFIG_MACVLAN=y +CONFIG_VIRTIO_NET=y +CONFIG_NLMON=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_HW_RANDOM=y +CONFIG_HW_RANDOM_VIRTIO=y +CONFIG_TCG_TPM=y +CONFIG_TCG_TIS=y +CONFIG_DRM=y +CONFIG_DRM_VIRTIO_GPU=y +CONFIG_FB=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_PL031=y +CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_INPUT=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_MAILBOX=y +CONFIG_PL320_MBOX=y +CONFIG_ARM_SMMU_V3=y +CONFIG_EXT4_FS=y +CONFIG_FUSE_FS=y +CONFIG_VIRTIO_FS=y +CONFIG_OVERLAY_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/board/qemu/aarch64-virt/readme.txt b/buildroot-2022.02.1/board/qemu/aarch64-virt/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/aarch64-virt/readme.txt rename to buildroot-2022.02.1/board/qemu/aarch64-virt/readme.txt diff --git a/buildroot-2022.02.1/board/qemu/arm-versatile/linux-nommu.fragment b/buildroot-2022.02.1/board/qemu/arm-versatile/linux-nommu.fragment new file mode 100644 index 00000000..6f1cc3f2 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/arm-versatile/linux-nommu.fragment @@ -0,0 +1,59 @@ +# CONFIG_ARM_SINGLE_ARMV7M is not set +CONFIG_ARM_SINGLE_ARCH_VERSATILE=y +CONFIG_BINFMT_ELF_FDPIC=y +CONFIG_BINFMT_FLAT=y +# CONFIG_BLK_DEV_RAM is not set +# CONFIG_CRAMFS is not set +CONFIG_CMDLINE="" +# CONFIG_DEBUG_FS is not set +# CONFIG_DEBUG_KERNEL is not set +# CONFIG_DEBUG_USER is not set +# CONFIG_DRM is not set +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EXT2_FS is not set +CONFIG_EXT4_FS=y +CONFIG_FB_ARMCLCD=y +# CONFIG_FONTS is not set +CONFIG_FONT_8x16=y +CONFIG_FONT_8x8=y +# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set +# CONFIG_FTRACE is not set +# CONFIG_GPIO_PL061 is not set +# CONFIG_HIGH_RES_TIMERS is not set +CONFIG_HWMON=y +# CONFIG_I2C_VERSATILE is not set +CONFIG_INET_DIAG=y +CONFIG_INPUT_EVDEV=y +CONFIG_IPV6=y +# CONFIG_IP_MULTICAST is not set +# CONFIG_IP_PNP is not set +# CONFIG_MMU is not set +CONFIG_LOCALVERSION_AUTO=y +# CONFIG_LOGO is not set +CONFIG_LOG_BUF_SHIFT=17 +CONFIG_MDIO_DEVICE=y +# CONFIG_MINIX_FS is not set +# CONFIG_MMC is not set +# CONFIG_MTD is not set +# CONFIG_NEW_LEDS is not set +# CONFIG_NFSD is not set +# CONFIG_NFS_FS is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_ISO8859_1 is not set +# CONFIG_NO_HZ_IDLE is not set +# CONFIG_NVMEM is not set +CONFIG_DRAM_BASE=0x00000000 +CONFIG_DRAM_SIZE=0x08000000 +CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" +# CONFIG_PARTITION_ADVANCED is not set +# CONFIG_OABI_COMPAT is not set +CONFIG_PHYLIB=y +# CONFIG_ROMFS_FS is not set +# CONFIG_RTC_CLASS is not set +CONFIG_SERIAL_CORE=y +CONFIG_SERIO_SERPORT=y +CONFIG_SET_MEM_PARAM=y +CONFIG_SLUB=y +# CONFIG_SPI is not set +# CONFIG_SYNC_FILE is not set +# CONFIG_VFP is not set diff --git a/buildroot-2022.02.1/board/qemu/arm-versatile/linux.fragment b/buildroot-2022.02.1/board/qemu/arm-versatile/linux.fragment new file mode 100644 index 00000000..0aed5583 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/arm-versatile/linux.fragment @@ -0,0 +1,66 @@ +# CONFIG_BLK_DEV_INITRD is not set +# CONFIG_BLK_DEV_RAM is not set +# CONFIG_CMA is not set +# CONFIG_CRAMFS is not set +CONFIG_CMDLINE="" +CONFIG_CRC16=y +CONFIG_CRYPTO=y +# CONFIG_DEBUG_FS is not set +# CONFIG_DEBUG_KERNEL is not set +# CONFIG_DEBUG_USER is not set +CONFIG_DEVTMPFS=y +# CONFIG_DRM is not set +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EXT2_FS is not set +CONFIG_EXT4_FS=y +CONFIG_FB_ARMCLCD=y +# CONFIG_FONTS is not set +CONFIG_FONT_8x16=y +CONFIG_FONT_8x8=y +# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set +# CONFIG_FTRACE is not set +# CONFIG_GPIOLIB is not set +# CONFIG_HIGH_RES_TIMERS is not set +CONFIG_HWMON=y +CONFIG_HZ_PERIODIC=y +# CONFIG_I2C_VERSATILE is not set +CONFIG_INET_DIAG=y +CONFIG_INPUT_EVDEV=y +CONFIG_IPV6=y +# CONFIG_IP_MULTICAST is not set +# CONFIG_IP_PNP is not set +CONFIG_LOCALVERSION_AUTO=y +# CONFIG_LOGO is not set +CONFIG_LOG_BUF_SHIFT=17 +CONFIG_MDIO_DEVICE=y +# CONFIG_MINIX_FS is not set +# CONFIG_MMC is not set +# CONFIG_MTD is not set +# CONFIG_NEW_LEDS is not set +# CONFIG_NFSD is not set +# CONFIG_NFS_FS is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_ISO8859_1 is not set +# CONFIG_NO_HZ_IDLE is not set +# CONFIG_NVMEM is not set +# CONFIG_OABI_COMPAT is not set +# CONFIG_PARTITION_ADVANCED is not set +CONFIG_PCI=y +CONFIG_PCI_VERSATILE=y +CONFIG_PHYLIB=y +# CONFIG_ROMFS_FS is not set +# CONFIG_RTC_CLASS is not set +CONFIG_SCSI=y +CONFIG_SCSI_SPI_ATTRS=y +CONFIG_SCSI_SYM53C8XX_2=y +CONFIG_SERIO_SERPORT=y +CONFIG_SLUB=y +# CONFIG_SPI is not set +# CONFIG_SYNC_FILE is not set +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_TMPFS_XATTR=y +# CONFIG_VFP is not set +# CONFIG_XZ_DEC is not set +CONFIG_8139CP=y +CONFIG_BLK_DEV_SD=y diff --git a/buildroot-2022.02.1/board/qemu/arm-versatile/patches/linux/versatile-nommu.patch b/buildroot-2022.02.1/board/qemu/arm-versatile/patches/linux/versatile-nommu.patch new file mode 100644 index 00000000..1a5130de --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/arm-versatile/patches/linux/versatile-nommu.patch @@ -0,0 +1,122 @@ +From 7c245ffc17a9ab6215830d4ecd8b2f9beddb487c Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb +Date: Fri, 1 Feb 2019 11:36:20 +0100 +Subject: [PATCH] arm-versatile-nommu: Linux patch + +Originally made by Waldemar Brodkorb from LKML. + +Rename CLKSRC_OF to TIMER_OF (kernel >= 4.13) +https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bb0eb050a577a866cb47c2dc37596f1207f4c2d9 + +Remove GENERIC_CLOCKEVENTS since its enabled by default (kernel >= 5.11) +https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0774a6ed294b963dc76df2d8342ab86d030759ec + +Select CONFIG_GENERIC_IRQ_MULTI_HANDLER since irqchip doesn't select it anymore (kernel >= 5.12) +https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a79f7051cccb6f3bcd3d2a0a058c7d5c79bb0371 + +Signed-Off-by: Waldemar Brodkorb +[Gerome: reformated as a Git patch] +Signed-off-by: Gerome Burlats +[Romain: fix Waldemar's authorship in Git patch] +Signed-off-by: Romain Naour +--- + arch/arm/Kconfig | 11 +++++++++++ + arch/arm/Kconfig.debug | 3 ++- + arch/arm/include/asm/mach/map.h | 1 + + arch/arm/mach-versatile/Kconfig | 5 +++-- + arch/arm/mach-versatile/Makefile.boot | 3 +++ + arch/arm/mach-versatile/versatile_dt.c | 4 ++++ + 6 files changed, 24 insertions(+), 3 deletions(-) + create mode 100644 arch/arm/mach-versatile/Makefile.boot + +diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig +index dcf2df6da98f..c2155c1a2eba 100644 +--- a/arch/arm/Kconfig ++++ b/arch/arm/Kconfig +@@ -337,6 +337,17 @@ config ARM_SINGLE_ARMV7M + select SPARSE_IRQ + select USE_OF + ++config ARM_SINGLE_ARCH_VERSATILE ++ bool "ARM Ltd. Versatile family" ++ depends on !MMU ++ select AUTO_ZRELADDR ++ select TIMER_OF ++ select COMMON_CLK ++ select GENERIC_IRQ_MULTI_HANDLER ++ select GPIOLIB ++ select SPARSE_IRQ ++ select USE_OF ++ + config ARCH_EP93XX + bool "EP93xx-based" + select ARCH_SPARSEMEM_ENABLE +diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug +index 98436702e0c7..7e63299ceb40 100644 +--- a/arch/arm/Kconfig.debug ++++ b/arch/arm/Kconfig.debug +@@ -1891,7 +1891,8 @@ config DEBUG_UNCOMPRESS + config UNCOMPRESS_INCLUDE + string + default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \ +- PLAT_SAMSUNG || ARM_SINGLE_ARMV7M ++ PLAT_SAMSUNG || ARM_SINGLE_ARMV7M || \ ++ ARM_SINGLE_ARCH_VERSATILE + default "mach/uncompress.h" + + config EARLY_PRINTK +diff --git a/arch/arm/include/asm/mach/map.h b/arch/arm/include/asm/mach/map.h +index 92282558caf7..90bd9c069ffc 100644 +--- a/arch/arm/include/asm/mach/map.h ++++ b/arch/arm/include/asm/mach/map.h +@@ -59,6 +59,7 @@ extern int ioremap_page(unsigned long virt, unsigned long phys, + #else + #define iotable_init(map,num) do { } while (0) + #define vm_reserve_area_early(a,s,c) do { } while (0) ++#define debug_ll_io_init() do { } while (0) + #endif + + #endif +diff --git a/arch/arm/mach-versatile/Kconfig b/arch/arm/mach-versatile/Kconfig +index d88e7725bf99..d38b90157f13 100644 +--- a/arch/arm/mach-versatile/Kconfig ++++ b/arch/arm/mach-versatile/Kconfig +@@ -1,7 +1,8 @@ + # SPDX-License-Identifier: GPL-2.0 + config ARCH_VERSATILE +- bool "ARM Ltd. Versatile family" +- depends on ARCH_MULTI_V5 ++ bool "ARM Ltd. Versatile family" if ARCH_MULTI_V5 ++ depends on ARCH_MULTI_V5 || ARM_SINGLE_ARCH_VERSATILE ++ default y if ARM_SINGLE_ARCH_VERSATILE + select ARM_AMBA + select ARM_TIMER_SP804 + select ARM_VIC +diff --git a/arch/arm/mach-versatile/Makefile.boot b/arch/arm/mach-versatile/Makefile.boot +new file mode 100644 +index 000000000000..eacfc3f5c33e +--- /dev/null ++++ b/arch/arm/mach-versatile/Makefile.boot +@@ -0,0 +1,3 @@ ++# Empty file waiting for deletion once Makefile.boot isn't needed any more. ++# Patch waits for application at ++# http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=7889/1 . +diff --git a/arch/arm/mach-versatile/versatile_dt.c b/arch/arm/mach-versatile/versatile_dt.c +index 02ba68abe533..835b51bc597b 100644 +--- a/arch/arm/mach-versatile/versatile_dt.c ++++ b/arch/arm/mach-versatile/versatile_dt.c +@@ -22,7 +22,11 @@ + #include + + /* macro to get at MMIO space when running virtually */ ++#ifdef CONFIG_MMU + #define IO_ADDRESS(x) (((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000) ++#else ++#define IO_ADDRESS(x) (x) ++#endif + #define __io_address(n) ((void __iomem __force *)IO_ADDRESS(n)) + + /* +-- +2.31.1 + diff --git a/buildroot-2021.05/board/qemu/arm-versatile/readme.txt b/buildroot-2022.02.1/board/qemu/arm-versatile/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/arm-versatile/readme.txt rename to buildroot-2022.02.1/board/qemu/arm-versatile/readme.txt diff --git a/buildroot-2021.05/board/qemu/arm-vexpress-tz/linux.fragment b/buildroot-2022.02.1/board/qemu/arm-vexpress-tz/linux.fragment similarity index 100% rename from buildroot-2021.05/board/qemu/arm-vexpress-tz/linux.fragment rename to buildroot-2022.02.1/board/qemu/arm-vexpress-tz/linux.fragment diff --git a/buildroot-2021.05/board/qemu/arm-vexpress-tz/post-build.sh b/buildroot-2022.02.1/board/qemu/arm-vexpress-tz/post-build.sh similarity index 100% rename from buildroot-2021.05/board/qemu/arm-vexpress-tz/post-build.sh rename to buildroot-2022.02.1/board/qemu/arm-vexpress-tz/post-build.sh diff --git a/buildroot-2022.02.1/board/qemu/arm-vexpress-tz/readme.txt b/buildroot-2022.02.1/board/qemu/arm-vexpress-tz/readme.txt new file mode 100644 index 00000000..3036dd54 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/arm-vexpress-tz/readme.txt @@ -0,0 +1,135 @@ +Board qemu_arm_vexpress_tz builds a QEMU ARMv7-A target system with +OP-TEE running in the TrustZone secure world and a Linux based +OS running in the non-secure world. The board configuration enables +builds of the QEMU host ARM target emulator. + + make qemu_arm_vexpress_tz_defconfig + make + +The BIOS used in the QEMU host is the ARM Trusted Firmware-A (TF-A). +In our configuration, U-Boot uses QEMU semihosting file access to load the +kernel and rootfs image files. For this reason the emulation needs to be run +from the image directory: + + cd output/images && ../host/bin/qemu-system-arm \ + -machine virt -machine secure=on -cpu cortex-a15 \ + -smp 1 -s -m 1024 -d unimp \ + -serial stdio \ + -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ + -semihosting-config enable=on,target=native \ + -bios flash.bin # qemu_arm_vexpress_tz_defconfig + +The boot stage traces (if any) followed by the login prompt will appear +in the terminal that started QEMU. + +If you want to emulate more cores, use "-smp {1|2|3|4}" to select the +number of cores. + +Note: "-netdev user,id=vmnic -device virtio-net-device,netdev=vmnic" +brings network support that is used i.e. in OP-TEE regression tests. + + +-- Boot Details -- + +TF-A is used as QEMU BIOS. Its BL1 image boots and load its BL2 image. In turn, +this image loads the OP-TEE secure world (ARMv7-A BL32 stage) and the U-boot as +non-secure bootloader (BL33 stage). + +QEMU natively hosts and loads in RAM the QEMU ARM target device tree. OP-TEE +reads and modifies its content according to OP-TEE configuration. + +Enable TF-A traces from LOG_LEVEL (I.e LOG_LEVEL=40) from +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES. + + +-- OP-TEE Traces -- + +Secure boot stages and/or secure runtime services may use a serial link for +their traces. + +The ARM Trusted Firmware outputs its traces on the QEMU standard (first) +serial interface. + +The OP-TEE OS uses the QEMU second serial interface. + +To get the OP-TEE OS traces, append a second -serial argument after +-serial stdio in the QEMU command line. I.e, the following enables 2 serial +consoles over telnet connections: + + cd output/images && ../host/bin/qemu-system-arm \ + -machine virt -machine secure=on -cpu cortex-a15 \ + -smp 1 -s -m 1024 -d unimp \ + -serial telnet:127.0.0.1:1235,server \ + -serial telnet:127.0.0.1:1236,server \ + -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ + -semihosting-config enable,target=native \ + -bios flash.bin + +QEMU is now waiting for the telnet connection. From another shell, open a +telnet connection on the port for the U-boot and Linux consoles: + + telnet 127.0.0.1 1235 + +and again for the secure console + + telnet 127.0.0.1 1236 + + +-- Using gdb -- + +One can debug the OP-TEE secure world using GDB through the QEMU host. +To do so, simply run the qemu-system-arm emulation, then run a GDB client +and connect the QEMU internal GDB server. + +The example below assumes we run QEMU and the GDB client from the same +host computer. We use option -S of qemu-system-arm to make QEMU +waiting for the GDB continue instruction before booting the images. + +From a first shell: + cd output/images && ../host/bin/qemu-system-arm \ + -machine virt -machine secure=on -cpu cortex-a15 \ + -smp 1 -s -m 1024 -d unimp \ + -serial stdio \ + -netdev user,id=vmnic -device virtio-net-device,netdev=vmnic \ + -semihosting-config enable,target=native \ + -bios flash.bin \ + -S + +From a second shell: + ./output/host/bin/arm-linux-gdb + GNU gdb (GNU Toolchain for the A-profile Architecture 8.2-2018-08 (arm-rel-8.23)) 8.1.1.20180704-git + Copyright (C) 2018 Free Software Foundation, Inc. + ... + For help, type "help". + Type "apropos word" to search for commands related to "word". + (gdb) + +From this GDB console, connect to the target, load the OP-TEE core symbols, +set a breakpoint to its entry point (__text_start) and start emulation: + + (gdb) target remote 127.0.0.1:1234 + (gdb) symbol-file ./output/build/optee-os-/out/core/tee.elf + (gdb) hbreak __text_start + Hardware assisted breakpoint 1 at 0xe100000: file core/arch/arm/kernel/generic_entry_a32.S, line 246. + (gdb) cont + Continuing. + + Thread 1 hit Breakpoint 1, _start () at core/arch/arm/kernel/generic_entry_a32.S:246 + 246 bootargs_entry + (gdb) + + +Emulation has started, TF-A has loaded OP-TEE and U-boot images in memory and +has booted OP-TEE. Emulation stopped at OP-TEE core entry. + +Note: QEMU hosts a GDB service listening to TCP port 1234, as set through +qemu-system-arm command line option -s. + +Note: To build the GDB server, the following extra options have to be added to +the Buildroot configuration: + + BR2_ENABLE_DEBUG=y + BR2_PACKAGE_GDB=y + BR2_PACKAGE_HOST_GDB=y + BR2_TOOLCHAIN_BUILDROOT_CXX=y + BR2_TOOLCHAIN_BUILDROOT_GLIBC=y diff --git a/buildroot-2021.05/board/qemu/arm-vexpress-tz/u-boot.config b/buildroot-2022.02.1/board/qemu/arm-vexpress-tz/u-boot.config similarity index 100% rename from buildroot-2021.05/board/qemu/arm-vexpress-tz/u-boot.config rename to buildroot-2022.02.1/board/qemu/arm-vexpress-tz/u-boot.config diff --git a/buildroot-2021.05/board/qemu/arm-vexpress/readme.txt b/buildroot-2022.02.1/board/qemu/arm-vexpress/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/arm-vexpress/readme.txt rename to buildroot-2022.02.1/board/qemu/arm-vexpress/readme.txt diff --git a/buildroot-2021.05/board/qemu/m68k-mcf5208/linux.config b/buildroot-2022.02.1/board/qemu/m68k-mcf5208/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/m68k-mcf5208/linux.config rename to buildroot-2022.02.1/board/qemu/m68k-mcf5208/linux.config diff --git a/buildroot-2021.05/board/qemu/m68k-mcf5208/readme.txt b/buildroot-2022.02.1/board/qemu/m68k-mcf5208/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/m68k-mcf5208/readme.txt rename to buildroot-2022.02.1/board/qemu/m68k-mcf5208/readme.txt diff --git a/buildroot-2021.05/board/qemu/m68k-q800/linux.config b/buildroot-2022.02.1/board/qemu/m68k-q800/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/m68k-q800/linux.config rename to buildroot-2022.02.1/board/qemu/m68k-q800/linux.config diff --git a/buildroot-2021.05/board/qemu/m68k-q800/readme.txt b/buildroot-2022.02.1/board/qemu/m68k-q800/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/m68k-q800/readme.txt rename to buildroot-2022.02.1/board/qemu/m68k-q800/readme.txt diff --git a/buildroot-2021.05/board/qemu/microblazebe-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch b/buildroot-2022.02.1/board/qemu/microblazebe-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch similarity index 100% rename from buildroot-2021.05/board/qemu/microblazebe-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch rename to buildroot-2022.02.1/board/qemu/microblazebe-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch diff --git a/buildroot-2021.05/board/qemu/microblazebe-mmu/linux.config b/buildroot-2022.02.1/board/qemu/microblazebe-mmu/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/microblazebe-mmu/linux.config rename to buildroot-2022.02.1/board/qemu/microblazebe-mmu/linux.config diff --git a/buildroot-2021.05/board/qemu/microblazebe-mmu/readme.txt b/buildroot-2022.02.1/board/qemu/microblazebe-mmu/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/microblazebe-mmu/readme.txt rename to buildroot-2022.02.1/board/qemu/microblazebe-mmu/readme.txt diff --git a/buildroot-2021.05/board/qemu/microblazeel-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch b/buildroot-2022.02.1/board/qemu/microblazeel-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch similarity index 100% rename from buildroot-2021.05/board/qemu/microblazeel-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch rename to buildroot-2022.02.1/board/qemu/microblazeel-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch diff --git a/buildroot-2021.05/board/qemu/microblazeel-mmu/linux.config b/buildroot-2022.02.1/board/qemu/microblazeel-mmu/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/microblazeel-mmu/linux.config rename to buildroot-2022.02.1/board/qemu/microblazeel-mmu/linux.config diff --git a/buildroot-2021.05/board/qemu/microblazeel-mmu/readme.txt b/buildroot-2022.02.1/board/qemu/microblazeel-mmu/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/microblazeel-mmu/readme.txt rename to buildroot-2022.02.1/board/qemu/microblazeel-mmu/readme.txt diff --git a/buildroot-2022.02.1/board/qemu/mips32r2-malta/linux.config b/buildroot-2022.02.1/board/qemu/mips32r2-malta/linux.config new file mode 100644 index 00000000..db8ad176 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips32r2-malta/linux.config @@ -0,0 +1,28 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_MIPS32_R2=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_BLK_DEV_SD=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/mips32r2-malta/readme.txt b/buildroot-2022.02.1/board/qemu/mips32r2-malta/readme.txt new file mode 100644 index 00000000..77518cce --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips32r2-malta/readme.txt @@ -0,0 +1,7 @@ +Run the emulation with: + + qemu-system-mips -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -net nic,model=pcnet -net user # qemu_mips32r2_malta_defconfig + +The login prompt will appear in the terminal that started Qemu. The +graphical window is the framebuffer. No keyboard support has been +enabled. diff --git a/buildroot-2022.02.1/board/qemu/mips32r2el-malta/linux.config b/buildroot-2022.02.1/board/qemu/mips32r2el-malta/linux.config new file mode 100644 index 00000000..916e5222 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips32r2el-malta/linux.config @@ -0,0 +1,29 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_LITTLE_ENDIAN=y +CONFIG_CPU_MIPS32_R2=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_BLK_DEV_SD=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/mips32r2el-malta/readme.txt b/buildroot-2022.02.1/board/qemu/mips32r2el-malta/readme.txt new file mode 100644 index 00000000..2a1e84a0 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips32r2el-malta/readme.txt @@ -0,0 +1,7 @@ +Run the emulation with: + + qemu-system-mipsel -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -net nic,model=pcnet -net user # qemu_mips32r2el_malta_defconfig + +The login prompt will appear in the terminal that started Qemu. The +graphical window is the framebuffer. No keyboard support has been +enabled. diff --git a/buildroot-2022.02.1/board/qemu/mips32r6-malta/linux.config b/buildroot-2022.02.1/board/qemu/mips32r6-malta/linux.config new file mode 100644 index 00000000..fbfffe20 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips32r6-malta/linux.config @@ -0,0 +1,28 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_MIPS32_R6=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_BLK_DEV_SD=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/mips32r6-malta/readme.txt b/buildroot-2022.02.1/board/qemu/mips32r6-malta/readme.txt new file mode 100644 index 00000000..ff5f1e36 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips32r6-malta/readme.txt @@ -0,0 +1,5 @@ +Run the emulation with: + + qemu-system-mips -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -nographic # qemu_mips32r6_malta_defconfig + +The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2022.02.1/board/qemu/mips32r6el-malta/linux.config b/buildroot-2022.02.1/board/qemu/mips32r6el-malta/linux.config new file mode 100644 index 00000000..fbfffe20 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips32r6el-malta/linux.config @@ -0,0 +1,28 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_MIPS32_R6=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_BLK_DEV_SD=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/mips32r6el-malta/readme.txt b/buildroot-2022.02.1/board/qemu/mips32r6el-malta/readme.txt new file mode 100644 index 00000000..29a5a1e0 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips32r6el-malta/readme.txt @@ -0,0 +1,5 @@ +Run the emulation with: + + qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -net nic,model=pcnet -net user -nographic # qemu_mips32r6el_malta_defconfig + +The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2022.02.1/board/qemu/mips64-malta/linux.config b/buildroot-2022.02.1/board/qemu/mips64-malta/linux.config new file mode 100644 index 00000000..66932fb3 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips64-malta/linux.config @@ -0,0 +1,32 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_MIPS64_R1=y +CONFIG_64BIT=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_MIPS32_COMPAT=y +CONFIG_MIPS32_O32=y +CONFIG_MIPS32_N32=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_BLK_DEV_SD=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/mips64-malta/readme.txt b/buildroot-2022.02.1/board/qemu/mips64-malta/readme.txt new file mode 100644 index 00000000..d148a139 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips64-malta/readme.txt @@ -0,0 +1,6 @@ +Run the emulation with: + + qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" # qemu_mips64_malta_defconfig + +The login prompt will appear in the terminal that started Qemu. The +graphical window is the framebuffer. diff --git a/buildroot-2022.02.1/board/qemu/mips64el-malta/linux.config b/buildroot-2022.02.1/board/qemu/mips64el-malta/linux.config new file mode 100644 index 00000000..516b05b5 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips64el-malta/linux.config @@ -0,0 +1,33 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_LITTLE_ENDIAN=y +CONFIG_CPU_MIPS64_R1=y +CONFIG_64BIT=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_MIPS32_COMPAT=y +CONFIG_MIPS32_O32=y +CONFIG_MIPS32_N32=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_BLK_DEV_SD=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/mips64el-malta/readme.txt b/buildroot-2022.02.1/board/qemu/mips64el-malta/readme.txt new file mode 100644 index 00000000..4545fcd9 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips64el-malta/readme.txt @@ -0,0 +1,6 @@ +Run the emulation with: + + qemu-system-mips64el -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" # qemu_mips64el_malta_defconfig + +The login prompt will appear in the terminal that started Qemu. The +graphical window is the framebuffer. diff --git a/buildroot-2022.02.1/board/qemu/mips64r6-malta/linux.config b/buildroot-2022.02.1/board/qemu/mips64r6-malta/linux.config new file mode 100644 index 00000000..020e02f1 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips64r6-malta/linux.config @@ -0,0 +1,32 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_MIPS64_R6=y +CONFIG_64BIT=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_MIPS32_COMPAT=y +CONFIG_MIPS32_O32=y +CONFIG_MIPS32_N32=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_BLK_DEV_SD=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/mips64r6-malta/readme.txt b/buildroot-2022.02.1/board/qemu/mips64r6-malta/readme.txt new file mode 100644 index 00000000..6712d668 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips64r6-malta/readme.txt @@ -0,0 +1,5 @@ +Run the emulation with: + + qemu-system-mips64 -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -nographic # qemu_mips64r6_malta_defconfig + +The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2022.02.1/board/qemu/mips64r6el-malta/linux.config b/buildroot-2022.02.1/board/qemu/mips64r6el-malta/linux.config new file mode 100644 index 00000000..020e02f1 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips64r6el-malta/linux.config @@ -0,0 +1,32 @@ +CONFIG_MIPS_MALTA=y +CONFIG_CPU_MIPS64_R6=y +CONFIG_64BIT=y +CONFIG_MIPS_MT_SMP=y +CONFIG_NR_CPUS=2 +CONFIG_SYSVIPC=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_PCI=y +CONFIG_MIPS32_COMPAT=y +CONFIG_MIPS32_O32=y +CONFIG_MIPS32_N32=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_BLK_DEV_SD=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_CIRRUS=y +CONFIG_USB=y +CONFIG_USB_UHCI_HCD=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2022.02.1/board/qemu/mips64r6el-malta/readme.txt b/buildroot-2022.02.1/board/qemu/mips64r6el-malta/readme.txt new file mode 100644 index 00000000..150ce752 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/mips64r6el-malta/readme.txt @@ -0,0 +1,5 @@ +Run the emulation with: + + qemu-system-mips64el -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda" -nographic # qemu_mips64r6el_malta_defconfig + +The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/nios2-10m50/linux.fragment b/buildroot-2022.02.1/board/qemu/nios2-10m50/linux.fragment similarity index 100% rename from buildroot-2021.05/board/qemu/nios2-10m50/linux.fragment rename to buildroot-2022.02.1/board/qemu/nios2-10m50/linux.fragment diff --git a/buildroot-2021.05/board/qemu/nios2-10m50/readme.txt b/buildroot-2022.02.1/board/qemu/nios2-10m50/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/nios2-10m50/readme.txt rename to buildroot-2022.02.1/board/qemu/nios2-10m50/readme.txt diff --git a/buildroot-2021.05/board/qemu/or1k/linux.config b/buildroot-2022.02.1/board/qemu/or1k/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/or1k/linux.config rename to buildroot-2022.02.1/board/qemu/or1k/linux.config diff --git a/buildroot-2021.05/board/qemu/or1k/readme.txt b/buildroot-2022.02.1/board/qemu/or1k/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/or1k/readme.txt rename to buildroot-2022.02.1/board/qemu/or1k/readme.txt diff --git a/buildroot-2021.05/board/qemu/post-image.sh b/buildroot-2022.02.1/board/qemu/post-image.sh similarity index 100% rename from buildroot-2021.05/board/qemu/post-image.sh rename to buildroot-2022.02.1/board/qemu/post-image.sh diff --git a/buildroot-2022.02.1/board/qemu/ppc-bamboo/linux.fragment b/buildroot-2022.02.1/board/qemu/ppc-bamboo/linux.fragment new file mode 100644 index 00000000..cc272d05 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/ppc-bamboo/linux.fragment @@ -0,0 +1,6 @@ +# Enable virtio (blk, rng and net devices) +CONFIG_VIRTIO=y +CONFIG_VIRTIO_PCI=y +CONFIG_HW_RANDOM_VIRTIO=y +CONFIG_VIRTIO_BLK=y +CONFIG_VIRTIO_NET=y diff --git a/buildroot-2022.02.1/board/qemu/ppc-bamboo/readme.txt b/buildroot-2022.02.1/board/qemu/ppc-bamboo/readme.txt new file mode 100644 index 00000000..0b70d2fa --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/ppc-bamboo/readme.txt @@ -0,0 +1,5 @@ +Run the emulation with: + +qemu-system-ppc -nographic -M bamboo -kernel vmlinux -net nic,model=virtio-net-pci -net user # qemu_ppc_bamboo_defconfig + +The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/ppc-e500mc/linux.fragment b/buildroot-2022.02.1/board/qemu/ppc-e500mc/linux.fragment similarity index 100% rename from buildroot-2021.05/board/qemu/ppc-e500mc/linux.fragment rename to buildroot-2022.02.1/board/qemu/ppc-e500mc/linux.fragment diff --git a/buildroot-2022.02.1/board/qemu/ppc-e500mc/readme.txt b/buildroot-2022.02.1/board/qemu/ppc-e500mc/readme.txt new file mode 100644 index 00000000..76bad015 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/ppc-e500mc/readme.txt @@ -0,0 +1,5 @@ +Run the emulation with: + + qemu-system-ppc -M ppce500 -cpu e500mc -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -net nic,model=virtio-net-pci -net user -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc_e500mc_defconfig + +The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2022.02.1/board/qemu/ppc-g3beige/linux.config b/buildroot-2022.02.1/board/qemu/ppc-g3beige/linux.config new file mode 100644 index 00000000..f9448842 --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/ppc-g3beige/linux.config @@ -0,0 +1,28 @@ +CONFIG_ALTIVEC=y +CONFIG_SYSVIPC=y +CONFIG_HIGHMEM=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_PCCARD=y +CONFIG_YENTA=y +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_BLK_DEV_SD=y +CONFIG_BLK_DEV_SR=y +CONFIG_ATA=y +CONFIG_PATA_MACIO=y +CONFIG_ADB=y +CONFIG_ADB_CUDA=y +CONFIG_ADB_PMU=y +CONFIG_NETDEVICES=y +CONFIG_PCNET32=y +CONFIG_8139CP=y +CONFIG_SERIAL_PMACZILOG=y +CONFIG_SERIAL_PMACZILOG_TTYS=y +CONFIG_SERIAL_PMACZILOG_CONSOLE=y +CONFIG_EXT4_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_BOOTX_TEXT=y diff --git a/buildroot-2022.02.1/board/qemu/ppc-g3beige/readme.txt b/buildroot-2022.02.1/board/qemu/ppc-g3beige/readme.txt new file mode 100644 index 00000000..e39579ad --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/ppc-g3beige/readme.txt @@ -0,0 +1,6 @@ +Run the emulation with: + + qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 rootwait root=/dev/sda" -serial stdio -net nic,model=rtl8139 -net user # qemu_ppc_g3beige_defconfig + +The login prompt will appear in the terminal that started Qemu. The +graphical window is the framebuffer. diff --git a/buildroot-2021.05/board/qemu/ppc-mac99/linux.fragment b/buildroot-2022.02.1/board/qemu/ppc-mac99/linux.fragment similarity index 100% rename from buildroot-2021.05/board/qemu/ppc-mac99/linux.fragment rename to buildroot-2022.02.1/board/qemu/ppc-mac99/linux.fragment diff --git a/buildroot-2021.05/board/qemu/ppc-mac99/readme.txt b/buildroot-2022.02.1/board/qemu/ppc-mac99/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/ppc-mac99/readme.txt rename to buildroot-2022.02.1/board/qemu/ppc-mac99/readme.txt diff --git a/buildroot-2021.05/board/qemu/ppc-mpc8544ds/linux.config b/buildroot-2022.02.1/board/qemu/ppc-mpc8544ds/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/ppc-mpc8544ds/linux.config rename to buildroot-2022.02.1/board/qemu/ppc-mpc8544ds/linux.config diff --git a/buildroot-2021.05/board/qemu/ppc-mpc8544ds/patches/linux/0001-powerpc-Fix-mcpu-options-for-SPE-only-compiler.patch b/buildroot-2022.02.1/board/qemu/ppc-mpc8544ds/patches/linux/0001-powerpc-Fix-mcpu-options-for-SPE-only-compiler.patch similarity index 100% rename from buildroot-2021.05/board/qemu/ppc-mpc8544ds/patches/linux/0001-powerpc-Fix-mcpu-options-for-SPE-only-compiler.patch rename to buildroot-2022.02.1/board/qemu/ppc-mpc8544ds/patches/linux/0001-powerpc-Fix-mcpu-options-for-SPE-only-compiler.patch diff --git a/buildroot-2021.05/board/qemu/ppc-mpc8544ds/readme.txt b/buildroot-2022.02.1/board/qemu/ppc-mpc8544ds/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/ppc-mpc8544ds/readme.txt rename to buildroot-2022.02.1/board/qemu/ppc-mpc8544ds/readme.txt diff --git a/buildroot-2021.05/board/qemu/ppc64-e5500/linux.fragment b/buildroot-2022.02.1/board/qemu/ppc64-e5500/linux.fragment similarity index 100% rename from buildroot-2021.05/board/qemu/ppc64-e5500/linux.fragment rename to buildroot-2022.02.1/board/qemu/ppc64-e5500/linux.fragment diff --git a/buildroot-2022.02.1/board/qemu/ppc64-e5500/readme.txt b/buildroot-2022.02.1/board/qemu/ppc64-e5500/readme.txt new file mode 100644 index 00000000..7c8c80af --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/ppc64-e5500/readme.txt @@ -0,0 +1,5 @@ +Run the emulation with: + + qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -net nic,model=virtio-net-pci -net user -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic # qemu_ppc64_e5500_defconfig + +The login prompt will appear in the terminal that started Qemu. diff --git a/buildroot-2021.05/board/qemu/ppc64-pseries/readme.txt b/buildroot-2022.02.1/board/qemu/ppc64-pseries/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/ppc64-pseries/readme.txt rename to buildroot-2022.02.1/board/qemu/ppc64-pseries/readme.txt diff --git a/buildroot-2022.02.1/board/qemu/ppc64le-powernv8/readme.txt b/buildroot-2022.02.1/board/qemu/ppc64le-powernv8/readme.txt new file mode 100644 index 00000000..059f55fb --- /dev/null +++ b/buildroot-2022.02.1/board/qemu/ppc64le-powernv8/readme.txt @@ -0,0 +1,5 @@ +Run the emulation with: + +qemu-system-ppc64 -M powernv9 -kernel vmlinux -append "console=hvc0 rootwait root=/dev/nvme0n1" -device nvme,bus=pcie.3,addr=0x0,drive=drive0,serial=1234 -drive file=./rootfs.ext2,if=none,id=drive0,format=raw,cache=none -device e1000e,netdev=net0,mac=C0:FF:EE:00:01:03,bus=pcie.1,addr=0x0 -netdev user,id=net0 -serial mon:stdio -nographic # qemu_ppc64le_powernv8_defconfig + +The login prompt will appear in the terminal window. diff --git a/buildroot-2021.05/board/qemu/ppc64le-pseries/readme.txt b/buildroot-2022.02.1/board/qemu/ppc64le-pseries/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/ppc64le-pseries/readme.txt rename to buildroot-2022.02.1/board/qemu/ppc64le-pseries/readme.txt diff --git a/buildroot-2021.05/board/qemu/riscv32-virt/readme.txt b/buildroot-2022.02.1/board/qemu/riscv32-virt/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/riscv32-virt/readme.txt rename to buildroot-2022.02.1/board/qemu/riscv32-virt/readme.txt diff --git a/buildroot-2021.05/board/qemu/riscv64-virt/readme.txt b/buildroot-2022.02.1/board/qemu/riscv64-virt/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/riscv64-virt/readme.txt rename to buildroot-2022.02.1/board/qemu/riscv64-virt/readme.txt diff --git a/buildroot-2021.05/board/qemu/s390x/readme.txt b/buildroot-2022.02.1/board/qemu/s390x/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/s390x/readme.txt rename to buildroot-2022.02.1/board/qemu/s390x/readme.txt diff --git a/buildroot-2021.05/board/qemu/sh4-r2d/linux.config b/buildroot-2022.02.1/board/qemu/sh4-r2d/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/sh4-r2d/linux.config rename to buildroot-2022.02.1/board/qemu/sh4-r2d/linux.config diff --git a/buildroot-2021.05/board/qemu/sh4-r2d/readme.txt b/buildroot-2022.02.1/board/qemu/sh4-r2d/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/sh4-r2d/readme.txt rename to buildroot-2022.02.1/board/qemu/sh4-r2d/readme.txt diff --git a/buildroot-2021.05/board/qemu/sh4eb-r2d/linux.config b/buildroot-2022.02.1/board/qemu/sh4eb-r2d/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/sh4eb-r2d/linux.config rename to buildroot-2022.02.1/board/qemu/sh4eb-r2d/linux.config diff --git a/buildroot-2021.05/board/qemu/sh4eb-r2d/readme.txt b/buildroot-2022.02.1/board/qemu/sh4eb-r2d/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/sh4eb-r2d/readme.txt rename to buildroot-2022.02.1/board/qemu/sh4eb-r2d/readme.txt diff --git a/buildroot-2021.05/board/qemu/sparc-ss10/linux.config b/buildroot-2022.02.1/board/qemu/sparc-ss10/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/sparc-ss10/linux.config rename to buildroot-2022.02.1/board/qemu/sparc-ss10/linux.config diff --git a/buildroot-2021.05/board/qemu/sparc-ss10/readme.txt b/buildroot-2022.02.1/board/qemu/sparc-ss10/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/sparc-ss10/readme.txt rename to buildroot-2022.02.1/board/qemu/sparc-ss10/readme.txt diff --git a/buildroot-2021.05/board/qemu/sparc64-sun4u/linux.config b/buildroot-2022.02.1/board/qemu/sparc64-sun4u/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/sparc64-sun4u/linux.config rename to buildroot-2022.02.1/board/qemu/sparc64-sun4u/linux.config diff --git a/buildroot-2021.05/board/qemu/sparc64-sun4u/readme.txt b/buildroot-2022.02.1/board/qemu/sparc64-sun4u/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/sparc64-sun4u/readme.txt rename to buildroot-2022.02.1/board/qemu/sparc64-sun4u/readme.txt diff --git a/buildroot-2021.05/board/qemu/x86/linux.config b/buildroot-2022.02.1/board/qemu/x86/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/x86/linux.config rename to buildroot-2022.02.1/board/qemu/x86/linux.config diff --git a/buildroot-2021.05/board/qemu/x86/post-build.sh b/buildroot-2022.02.1/board/qemu/x86/post-build.sh similarity index 100% rename from buildroot-2021.05/board/qemu/x86/post-build.sh rename to buildroot-2022.02.1/board/qemu/x86/post-build.sh diff --git a/buildroot-2021.05/board/qemu/x86/readme.txt b/buildroot-2022.02.1/board/qemu/x86/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/x86/readme.txt rename to buildroot-2022.02.1/board/qemu/x86/readme.txt diff --git a/buildroot-2021.05/board/qemu/x86_64/linux.config b/buildroot-2022.02.1/board/qemu/x86_64/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/x86_64/linux.config rename to buildroot-2022.02.1/board/qemu/x86_64/linux.config diff --git a/buildroot-2021.05/board/qemu/x86_64/post-build.sh b/buildroot-2022.02.1/board/qemu/x86_64/post-build.sh similarity index 100% rename from buildroot-2021.05/board/qemu/x86_64/post-build.sh rename to buildroot-2022.02.1/board/qemu/x86_64/post-build.sh diff --git a/buildroot-2021.05/board/qemu/x86_64/readme.txt b/buildroot-2022.02.1/board/qemu/x86_64/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/x86_64/readme.txt rename to buildroot-2022.02.1/board/qemu/x86_64/readme.txt diff --git a/buildroot-2021.05/board/qemu/xtensa-lx60/linux-nommu.config b/buildroot-2022.02.1/board/qemu/xtensa-lx60/linux-nommu.config similarity index 100% rename from buildroot-2021.05/board/qemu/xtensa-lx60/linux-nommu.config rename to buildroot-2022.02.1/board/qemu/xtensa-lx60/linux-nommu.config diff --git a/buildroot-2021.05/board/qemu/xtensa-lx60/linux.config b/buildroot-2022.02.1/board/qemu/xtensa-lx60/linux.config similarity index 100% rename from buildroot-2021.05/board/qemu/xtensa-lx60/linux.config rename to buildroot-2022.02.1/board/qemu/xtensa-lx60/linux.config diff --git a/buildroot-2021.05/board/qemu/xtensa-lx60/readme.txt b/buildroot-2022.02.1/board/qemu/xtensa-lx60/readme.txt similarity index 100% rename from buildroot-2021.05/board/qemu/xtensa-lx60/readme.txt rename to buildroot-2022.02.1/board/qemu/xtensa-lx60/readme.txt diff --git a/buildroot-2021.05/board/qmtech/zynq/patches/linux/0001-DTS-for-QMTech-Zynq-starter-kit.patch b/buildroot-2022.02.1/board/qmtech/zynq/patches/linux/0001-DTS-for-QMTech-Zynq-starter-kit.patch similarity index 100% rename from buildroot-2021.05/board/qmtech/zynq/patches/linux/0001-DTS-for-QMTech-Zynq-starter-kit.patch rename to buildroot-2022.02.1/board/qmtech/zynq/patches/linux/0001-DTS-for-QMTech-Zynq-starter-kit.patch diff --git a/buildroot-2021.05/board/qmtech/zynq/readme.txt b/buildroot-2022.02.1/board/qmtech/zynq/readme.txt similarity index 100% rename from buildroot-2021.05/board/qmtech/zynq/readme.txt rename to buildroot-2022.02.1/board/qmtech/zynq/readme.txt diff --git a/buildroot-2021.05/board/radxa/rockpi-4/extlinux.conf b/buildroot-2022.02.1/board/radxa/rockpi-4/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-4/extlinux.conf rename to buildroot-2022.02.1/board/radxa/rockpi-4/extlinux.conf diff --git a/buildroot-2022.02.1/board/radxa/rockpi-4/genimage.cfg b/buildroot-2022.02.1/board/radxa/rockpi-4/genimage.cfg new file mode 100644 index 00000000..68cc4d61 --- /dev/null +++ b/buildroot-2022.02.1/board/radxa/rockpi-4/genimage.cfg @@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "rk3399-rock-pi-4.dtb", + "extlinux" + } + } + + size = 112M +} + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/radxa/rockpi-4/post-build.sh b/buildroot-2022.02.1/board/radxa/rockpi-4/post-build.sh similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-4/post-build.sh rename to buildroot-2022.02.1/board/radxa/rockpi-4/post-build.sh diff --git a/buildroot-2021.05/board/radxa/rockpi-4/readme.txt b/buildroot-2022.02.1/board/radxa/rockpi-4/readme.txt similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-4/readme.txt rename to buildroot-2022.02.1/board/radxa/rockpi-4/readme.txt diff --git a/buildroot-2021.05/board/radxa/rockpi-n10/extlinux.conf b/buildroot-2022.02.1/board/radxa/rockpi-n10/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-n10/extlinux.conf rename to buildroot-2022.02.1/board/radxa/rockpi-n10/extlinux.conf diff --git a/buildroot-2022.02.1/board/radxa/rockpi-n10/genimage.cfg b/buildroot-2022.02.1/board/radxa/rockpi-n10/genimage.cfg new file mode 100644 index 00000000..7f4b639b --- /dev/null +++ b/buildroot-2022.02.1/board/radxa/rockpi-n10/genimage.cfg @@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "Image", + "rk3399pro-rock-pi-n10.dtb", + "extlinux" + } + } + + size = 112M +} + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot.itb" + offset = 8M + } + + partition boot { + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type-uuid = b921b045-1df0-41c3-af44-4c6f280d3fae + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/radxa/rockpi-n10/post-build.sh b/buildroot-2022.02.1/board/radxa/rockpi-n10/post-build.sh similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-n10/post-build.sh rename to buildroot-2022.02.1/board/radxa/rockpi-n10/post-build.sh diff --git a/buildroot-2021.05/board/radxa/rockpi-n10/readme.txt b/buildroot-2022.02.1/board/radxa/rockpi-n10/readme.txt similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-n10/readme.txt rename to buildroot-2022.02.1/board/radxa/rockpi-n10/readme.txt diff --git a/buildroot-2021.05/board/radxa/rockpi-n8/extlinux.conf b/buildroot-2022.02.1/board/radxa/rockpi-n8/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-n8/extlinux.conf rename to buildroot-2022.02.1/board/radxa/rockpi-n8/extlinux.conf diff --git a/buildroot-2022.02.1/board/radxa/rockpi-n8/genimage.cfg b/buildroot-2022.02.1/board/radxa/rockpi-n8/genimage.cfg new file mode 100644 index 00000000..909a6464 --- /dev/null +++ b/buildroot-2022.02.1/board/radxa/rockpi-n8/genimage.cfg @@ -0,0 +1,39 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "rk3288-rock-pi-n8.dtb", + "extlinux" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition loader1 { + image = "idbloader.img" + offset = 32K + } + + partition loader2 { + image = "u-boot-dtb.img" + offset = 8M + } + + partition boot { + partition-type-uuid = c12a7328-f81f-11d2-ba4b-00a0c93ec93b + bootable = "true" + image = "boot.vfat" + offset = 16M + } + + partition rootfs { + partition-type-uuid = 69dad710-2ce4-4e3c-b16c-21a1d49abed3 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/radxa/rockpi-n8/post-build.sh b/buildroot-2022.02.1/board/radxa/rockpi-n8/post-build.sh similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-n8/post-build.sh rename to buildroot-2022.02.1/board/radxa/rockpi-n8/post-build.sh diff --git a/buildroot-2021.05/board/radxa/rockpi-n8/readme.txt b/buildroot-2022.02.1/board/radxa/rockpi-n8/readme.txt similarity index 100% rename from buildroot-2021.05/board/radxa/rockpi-n8/readme.txt rename to buildroot-2022.02.1/board/radxa/rockpi-n8/readme.txt diff --git a/buildroot-2022.02.1/board/raspberrypi/config_0w.txt b/buildroot-2022.02.1/board/raspberrypi/config_0w.txt new file mode 100644 index 00000000..195bad44 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_0w.txt @@ -0,0 +1,29 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start.elf +fixup_file=fixup.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +dtoverlay=miniuart-bt + +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtoverlay=krnbt=on diff --git a/buildroot-2022.02.1/board/raspberrypi/config_3.txt b/buildroot-2022.02.1/board/raspberrypi/config_3.txt new file mode 100644 index 00000000..195bad44 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_3.txt @@ -0,0 +1,29 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start.elf +fixup_file=fixup.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +dtoverlay=miniuart-bt + +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtoverlay=krnbt=on diff --git a/buildroot-2022.02.1/board/raspberrypi/config_3_64bit.txt b/buildroot-2022.02.1/board/raspberrypi/config_3_64bit.txt new file mode 100644 index 00000000..34412fa9 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_3_64bit.txt @@ -0,0 +1,32 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start.elf +fixup_file=fixup.dat + +kernel=Image + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +dtoverlay=miniuart-bt + +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtoverlay=krnbt=on + +# enable 64bits support +arm_64bit=1 diff --git a/buildroot-2022.02.1/board/raspberrypi/config_3_qt5we.txt b/buildroot-2022.02.1/board/raspberrypi/config_3_qt5we.txt new file mode 100644 index 00000000..752310b1 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_3_qt5we.txt @@ -0,0 +1,26 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start.elf +fixup_file=fixup.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=200 + +# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +dtoverlay=miniuart-bt diff --git a/buildroot-2022.02.1/board/raspberrypi/config_4.txt b/buildroot-2022.02.1/board/raspberrypi/config_4.txt new file mode 100644 index 00000000..ea02d3f0 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_4.txt @@ -0,0 +1,29 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start4.elf +fixup_file=fixup4.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +dtoverlay=miniuart-bt + +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtoverlay=krnbt=on diff --git a/buildroot-2022.02.1/board/raspberrypi/config_4_64bit.txt b/buildroot-2022.02.1/board/raspberrypi/config_4_64bit.txt new file mode 100644 index 00000000..41c7e97e --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_4_64bit.txt @@ -0,0 +1,36 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start4.elf +fixup_file=fixup4.dat + +kernel=Image + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +dtoverlay=miniuart-bt + +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtoverlay=krnbt=on + +dtoverlay=vc4-kms-v3d-pi4 +dtoverlay=imx219 +#dtoverlay=ov5647 + +# enable 64bits support +arm_64bit=1 diff --git a/buildroot-2022.02.1/board/raspberrypi/config_cm4io.txt b/buildroot-2022.02.1/board/raspberrypi/config_cm4io.txt new file mode 100644 index 00000000..cf7e6df1 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_cm4io.txt @@ -0,0 +1,33 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start4.elf +fixup_file=fixup4.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +dtoverlay=miniuart-bt + +# enable RTC +dtparam=i2c_vc=on +dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi + +# enable dwc2 USB controller (USB 2.0) +dtoverlay=dwc2,dr_mode=host diff --git a/buildroot-2022.02.1/board/raspberrypi/config_cm4io_64bit.txt b/buildroot-2022.02.1/board/raspberrypi/config_cm4io_64bit.txt new file mode 100644 index 00000000..813f6eba --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_cm4io_64bit.txt @@ -0,0 +1,37 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start4.elf +fixup_file=fixup4.dat + +kernel=Image + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +# fixes rpi (3B, 3B+, 3A+, 4B and Zero W) ttyAMA0 serial console +dtoverlay=miniuart-bt + +# enable RTC +dtparam=i2c_vc=on +dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi + +# enable dwc2 USB controller (USB 2.0) +dtoverlay=dwc2,dr_mode=host + +# enable 64bits support +arm_64bit=1 + diff --git a/buildroot-2022.02.1/board/raspberrypi/config_default.txt b/buildroot-2022.02.1/board/raspberrypi/config_default.txt new file mode 100644 index 00000000..c09ecca1 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_default.txt @@ -0,0 +1,23 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start.elf +fixup_file=fixup.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 diff --git a/buildroot-2022.02.1/board/raspberrypi/config_zero2w.txt b/buildroot-2022.02.1/board/raspberrypi/config_zero2w.txt new file mode 100644 index 00000000..9e6b7f5c --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/config_zero2w.txt @@ -0,0 +1,29 @@ +# Please note that this is only a sample, we recommend you to change it to fit +# your needs. +# You should override this file using BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE. +# See http://buildroot.org/manual.html#rootfs-custom +# and http://elinux.org/RPiconfig for a description of config.txt syntax + +start_file=start.elf +fixup_file=fixup.dat + +kernel=zImage + +# To use an external initramfs file +#initramfs rootfs.cpio.gz + +# Disable overscan assuming the display supports displaying the full resolution +# If the text shown on the screen disappears off the edge, comment this out +disable_overscan=1 + +# How much memory in MB to assign to the GPU on Pi models having +# 256, 512 or 1024 MB total memory +gpu_mem_256=100 +gpu_mem_512=100 +gpu_mem_1024=100 + +# fixes rpi (3B, 3B+, 3A+, 4B ,zero W and zero 2) ttyAMA0 serial console +dtoverlay=miniuart-bt + +# enable autoprobing of Bluetooth driver without need of hciattach/btattach +dtoverlay=krnbt=on diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi.cfg new file mode 100644 index 00000000..04be16cc --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi.cfg @@ -0,0 +1,33 @@ +image boot.vfat { + vfat { + files = { + "bcm2708-rpi-b.dtb", + "bcm2708-rpi-b-plus.dtb", + "bcm2708-rpi-cm.dtb", + "rpi-firmware/bootcode.bin", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup.dat", + "rpi-firmware/start.elf", + "zImage" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi0.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi0.cfg new file mode 100644 index 00000000..1fa3f509 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi0.cfg @@ -0,0 +1,31 @@ +image boot.vfat { + vfat { + files = { + "bcm2708-rpi-zero.dtb", + "rpi-firmware/bootcode.bin", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup.dat", + "rpi-firmware/start.elf", + "zImage" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi0w.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi0w.cfg new file mode 100644 index 00000000..de7652f9 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi0w.cfg @@ -0,0 +1,32 @@ +image boot.vfat { + vfat { + files = { + "bcm2708-rpi-zero-w.dtb", + "rpi-firmware/bootcode.bin", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup.dat", + "rpi-firmware/start.elf", + "rpi-firmware/overlays", + "zImage" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi2.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi2.cfg new file mode 100644 index 00000000..acd23e7c --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi2.cfg @@ -0,0 +1,31 @@ +image boot.vfat { + vfat { + files = { + "bcm2709-rpi-2-b.dtb", + "rpi-firmware/bootcode.bin", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup.dat", + "rpi-firmware/start.elf", + "zImage" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi3-64.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi3-64.cfg new file mode 100644 index 00000000..8cbcd916 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi3-64.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "bcm2710-rpi-3-b.dtb", + "bcm2710-rpi-3-b-plus.dtb", + "bcm2837-rpi-3-b.dtb", + "rpi-firmware/bootcode.bin", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup.dat", + "rpi-firmware/start.elf", + "rpi-firmware/overlays", + "Image" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi3.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi3.cfg new file mode 100644 index 00000000..a6178233 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi3.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "bcm2710-rpi-3-b.dtb", + "bcm2710-rpi-3-b-plus.dtb", + "bcm2710-rpi-cm3.dtb", + "rpi-firmware/bootcode.bin", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup.dat", + "rpi-firmware/start.elf", + "rpi-firmware/overlays", + "zImage" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi4-64.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi4-64.cfg new file mode 100644 index 00000000..3ae938db --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi4-64.cfg @@ -0,0 +1,31 @@ +image boot.vfat { + vfat { + files = { + "bcm2711-rpi-4-b.dtb", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup4.dat", + "rpi-firmware/start4.elf", + "rpi-firmware/overlays", + "Image" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi4.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi4.cfg new file mode 100644 index 00000000..2e578ad5 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypi4.cfg @@ -0,0 +1,31 @@ +image boot.vfat { + vfat { + files = { + "bcm2711-rpi-4-b.dtb", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup4.dat", + "rpi-firmware/start4.elf", + "rpi-firmware/overlays", + "zImage" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypicm4io-64.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypicm4io-64.cfg new file mode 100644 index 00000000..73d31a57 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypicm4io-64.cfg @@ -0,0 +1,31 @@ +image boot.vfat { + vfat { + files = { + "bcm2711-rpi-cm4.dtb", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup4.dat", + "rpi-firmware/start4.elf", + "rpi-firmware/overlays", + "Image" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypicm4io.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypicm4io.cfg new file mode 100644 index 00000000..4d09b035 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypicm4io.cfg @@ -0,0 +1,31 @@ +image boot.vfat { + vfat { + files = { + "bcm2711-rpi-cm4.dtb", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup4.dat", + "rpi-firmware/start4.elf", + "rpi-firmware/overlays", + "zImage" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypizero2w.cfg b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypizero2w.cfg new file mode 100644 index 00000000..b510fea5 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/genimage-raspberrypizero2w.cfg @@ -0,0 +1,32 @@ +image boot.vfat { + vfat { + files = { + "bcm2710-rpi-zero-2-w.dtb", + "rpi-firmware/bootcode.bin", + "rpi-firmware/cmdline.txt", + "rpi-firmware/config.txt", + "rpi-firmware/fixup.dat", + "rpi-firmware/start.elf", + "rpi-firmware/overlays", + "zImage" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/raspberrypi/post-build.sh b/buildroot-2022.02.1/board/raspberrypi/post-build.sh similarity index 100% rename from buildroot-2021.05/board/raspberrypi/post-build.sh rename to buildroot-2022.02.1/board/raspberrypi/post-build.sh diff --git a/buildroot-2022.02.1/board/raspberrypi/post-image.sh b/buildroot-2022.02.1/board/raspberrypi/post-image.sh new file mode 100755 index 00000000..6cad20fb --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/post-image.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +set -e + +BOARD_DIR="$(dirname $0)" +BOARD_NAME="$(basename ${BOARD_DIR})" +GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg" +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + +# Pass an empty rootpath. genimage makes a full copy of the given rootpath to +# ${GENIMAGE_TMP}/root so passing TARGET_DIR would be a waste of time and disk +# space. We don't rely on genimage to build the rootfs image, just to insert a +# pre-built one in the disk image. + +trap 'rm -rf "${ROOTPATH_TMP}"' EXIT +ROOTPATH_TMP="$(mktemp -d)" + +rm -rf "${GENIMAGE_TMP}" + +genimage \ + --rootpath "${ROOTPATH_TMP}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}" + +exit $? diff --git a/buildroot-2022.02.1/board/raspberrypi/readme.txt b/buildroot-2022.02.1/board/raspberrypi/readme.txt new file mode 100644 index 00000000..c81fd801 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypi/readme.txt @@ -0,0 +1,158 @@ +Raspberry Pi + +Intro +===== + +These instructions apply to all models of the Raspberry Pi: + - the original models A and B, + - the "enhanced" models A+ and B+, + - the model B2 (aka Raspberry Pi 2) + - the model B3 (aka Raspberry Pi 3). + - the model B4 (aka Raspberry Pi 4). + - the model CM4 (aka Raspberry Pi Compute Module 4 and IO Board). + +How to build it +=============== + +Configure Buildroot +------------------- + +There are two RaspberryPi defconfig files in Buildroot, one for each +major variant, which you should base your work on: + +For models A, B, A+ or B+: + + $ make raspberrypi_defconfig + +For model Zero (model A+ in smaller form factor): + + $ make raspberrypi0_defconfig + +For model Zero 2 W (model B3 in smaller form factor): + + $ make raspberrypizero2w_defconfig + +For model 2 B: + + $ make raspberrypi2_defconfig + +For model 3 B and B+: + + $ make raspberrypi3_defconfig + +or for model 3 B and B+ (64 bit): + + $ make raspberrypi3_64_defconfig + +For model 4 B: + + $ make raspberrypi4_defconfig + +or for model 4 B (64 bit): + + $ make raspberrypi4_64_defconfig + +For model CM4 (on IO Board): + + $ make raspberrypicm4io_defconfig + +or for CM4 (on IO Board - 64 bit): + + $ make raspberrypicm4io_64_defconfig + +Build the rootfs +---------------- + +Note: you will need to have access to the network, since Buildroot will +download the packages' sources. + +You may now build your rootfs with: + + $ make + +(This may take a while, consider getting yourself a coffee ;-) ) + +Result of the build +------------------- + +After building, you should obtain this tree: + + output/images/ + +-- bcm2708-rpi-b.dtb [1] + +-- bcm2708-rpi-b-plus.dtb [1] + +-- bcm2708-rpi-cm.dtb [1] + +-- bcm2708-rpi-zero.dtb [1] + +-- bcm2708-rpi-zero-w.dtb [1] + +-- bcm2710-rpi-zero-2-w.dtb [1] + +-- bcm2709-rpi-2-b.dtb [1] + +-- bcm2710-rpi-3-b.dtb [1] + +-- bcm2710-rpi-3-b-plus.dtb [1] + +-- bcm2710-rpi-cm3.dtb [1] + +-- bcm2711-rpi-4-b.dtb [1] + +-- bcm2711-rpi-cm4.dtb [1] + +-- bcm2837-rpi-3-b.dtb [1] + +-- boot.vfat + +-- rootfs.ext4 + +-- rpi-firmware/ + | +-- bootcode.bin + | +-- cmdline.txt + | +-- config.txt + | +-- fixup.dat [1] + | +-- fixup4.dat [1] + | +-- start.elf [1] + | +-- start4.elf [1] + | `-- overlays/ [2] + +-- sdcard.img + +-- Image [1] + `-- zImage [1] + +[1] Not all of them will be present, depending on the RaspberryPi + model you are using. + +[2] Only for the Raspberry Pi 3/4 Models (overlay miniuart-bt is needed + to enable the RPi3 serial console otherwise occupied by the bluetooth + chip). Alternative would be to disable the serial console in cmdline.txt + and /etc/inittab. + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + +Insert the SDcard into your Raspberry Pi, and power it up. Your new system +should come up now and start two consoles: one on the serial port on +the P1 header, one on the HDMI output where you can login using a USB +keyboard. + +How to write to CM4 eMMC memory +=============================== + +For CM4 modules without eMMC memory see above for booting from SD card, +for CM4 moduels with eMMC memory proceed as following: + +- fit jumper on IO Board header J2 to disable eMMC boot +- connect IO Board micro USB port (J11 USB slave) to your host linux system +- power up CM4/IO Board (lsusb command should show a '0a5c:2711 Broadcom Corp. + BCM2711 Boot' device) +- run 'sudo ./host/bin/rpiboot', output should look like the following: + Waiting for BCM2835/6/7/2711... + Loading embedded: bootcode4.bin + Sending bootcode.bin + Successful read 4 bytes + Waiting for BCM2835/6/7/2711... + Loading embedded: bootcode4.bin + Second stage boot server + Loading embedded: start4.elf + File read: start4.elf + Second stage boot server done + +- a USB mass storage device should show up (the CM4 eMMC memory), proceed + as described above to copy sdcard.img to it +- power down CM4/IO Board +- remove jumper on IO Board header J2 to re-enable eMMC boot +- power up CM4/IO Board diff --git a/buildroot-2021.05/board/raspberrypi0 b/buildroot-2022.02.1/board/raspberrypi0 similarity index 100% rename from buildroot-2021.05/board/raspberrypi0 rename to buildroot-2022.02.1/board/raspberrypi0 diff --git a/buildroot-2021.05/board/raspberrypi0w b/buildroot-2022.02.1/board/raspberrypi0w similarity index 100% rename from buildroot-2021.05/board/raspberrypi0w rename to buildroot-2022.02.1/board/raspberrypi0w diff --git a/buildroot-2021.05/board/raspberrypi2 b/buildroot-2022.02.1/board/raspberrypi2 similarity index 100% rename from buildroot-2021.05/board/raspberrypi2 rename to buildroot-2022.02.1/board/raspberrypi2 diff --git a/buildroot-2021.05/board/raspberrypi3 b/buildroot-2022.02.1/board/raspberrypi3 similarity index 100% rename from buildroot-2021.05/board/raspberrypi3 rename to buildroot-2022.02.1/board/raspberrypi3 diff --git a/buildroot-2021.05/board/raspberrypi3-64 b/buildroot-2022.02.1/board/raspberrypi3-64 similarity index 100% rename from buildroot-2021.05/board/raspberrypi3-64 rename to buildroot-2022.02.1/board/raspberrypi3-64 diff --git a/buildroot-2021.05/board/raspberrypi4 b/buildroot-2022.02.1/board/raspberrypi4 similarity index 100% rename from buildroot-2021.05/board/raspberrypi4 rename to buildroot-2022.02.1/board/raspberrypi4 diff --git a/buildroot-2021.05/board/raspberrypi4-64 b/buildroot-2022.02.1/board/raspberrypi4-64 similarity index 100% rename from buildroot-2021.05/board/raspberrypi4-64 rename to buildroot-2022.02.1/board/raspberrypi4-64 diff --git a/buildroot-2022.02.1/board/raspberrypicm4io b/buildroot-2022.02.1/board/raspberrypicm4io new file mode 120000 index 00000000..fcdafc81 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypicm4io @@ -0,0 +1 @@ +raspberrypi \ No newline at end of file diff --git a/buildroot-2022.02.1/board/raspberrypicm4io-64 b/buildroot-2022.02.1/board/raspberrypicm4io-64 new file mode 120000 index 00000000..fcdafc81 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypicm4io-64 @@ -0,0 +1 @@ +raspberrypi \ No newline at end of file diff --git a/buildroot-2022.02.1/board/raspberrypizero2w b/buildroot-2022.02.1/board/raspberrypizero2w new file mode 120000 index 00000000..fcdafc81 --- /dev/null +++ b/buildroot-2022.02.1/board/raspberrypizero2w @@ -0,0 +1 @@ +raspberrypi \ No newline at end of file diff --git a/buildroot-2022.02.1/board/roseapplepi/genimage.cfg b/buildroot-2022.02.1/board/roseapplepi/genimage.cfg new file mode 100644 index 00000000..4c5a8de9 --- /dev/null +++ b/buildroot-2022.02.1/board/roseapplepi/genimage.cfg @@ -0,0 +1,45 @@ +# Minimal SD card image for the Roseapple Pi +# +image boot.vfat { + vfat { + files = { + "uEnv.txt", + "uImage" + } + + file kernel.dtb { + image = "owl-s500-roseapplepi.dtb" + } + } + + size = 128M +} + +image sdcard.img { + hdimage { + } + + partition s500-bootloader { + in-partition-table = "no" + image = "s500-bootloader.bin" + offset = 0x200200 # 2MB + 512B + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-dtb.img" + offset = 3M + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/roseapplepi/linux.config b/buildroot-2022.02.1/board/roseapplepi/linux.config new file mode 100644 index 00000000..89e7c891 --- /dev/null +++ b/buildroot-2022.02.1/board/roseapplepi/linux.config @@ -0,0 +1,70 @@ +# CONFIG_SWAP is not set +# CONFIG_CROSS_MEMORY_ATTACH is not set +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +# CONFIG_CPU_ISOLATION is not set +# CONFIG_KALLSYMS is not set +# CONFIG_RSEQ is not set +CONFIG_EMBEDDED=y +# CONFIG_SLUB_DEBUG is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_ARCH_ACTIONS=y +CONFIG_SMP=y +CONFIG_ARM_PSCI=y +CONFIG_HIGHMEM=y +CONFIG_VFP=y +CONFIG_NEON=y +# CONFIG_SUSPEND is not set +# CONFIG_STACKPROTECTOR is not set +# CONFIG_MQ_IOSCHED_KYBER is not set +# CONFIG_COREDUMP is not set +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +# CONFIG_INET_DIAG is not set +# CONFIG_IPV6 is not set +# CONFIG_WIRELESS is not set +# CONFIG_ETHTOOL_NETLINK is not set +CONFIG_NETDEVICES=y +CONFIG_OWL_EMAC=y +CONFIG_REALTEK_PHY=y +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_MISC=y +CONFIG_INPUT_ATC260X_ONKEY=y +# CONFIG_VT is not set +CONFIG_SERIAL_OWL=y +# CONFIG_HW_RANDOM is not set +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_OWL=y +CONFIG_PINCTRL=y +CONFIG_PINCTRL_OWL=y +CONFIG_PINCTRL_S500=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_ATC260X=y +CONFIG_MFD_ATC260X_I2C=y +CONFIG_REGULATOR=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_ATC260X=y +# CONFIG_HID is not set +# CONFIG_USB_SUPPORT is not set +CONFIG_MMC=y +CONFIG_MMC_OWL=y +CONFIG_DMADEVICES=y +CONFIG_OWL_DMA=y +# CONFIG_VIRTIO_MENU is not set +# CONFIG_VHOST_MENU is not set +# CONFIG_IOMMU_SUPPORT is not set +CONFIG_EXT4_FS=y +CONFIG_VFAT_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +# CONFIG_MISC_FILESYSTEMS is not set +# CONFIG_NETWORK_FILESYSTEMS is not set +CONFIG_NLS_CODEPAGE_437=y +CONFIG_NLS_ISO8859_1=y +# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set +# CONFIG_CRYPTO_HW is not set +# CONFIG_FTRACE is not set +# CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/buildroot-2021.05/board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch b/buildroot-2022.02.1/board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch similarity index 100% rename from buildroot-2021.05/board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch rename to buildroot-2022.02.1/board/roseapplepi/patches/uboot/0001-compiler-.h-sync-include-linux-compiler-.h-with-Linu.patch diff --git a/buildroot-2021.05/board/roseapplepi/post-build.sh b/buildroot-2022.02.1/board/roseapplepi/post-build.sh similarity index 100% rename from buildroot-2021.05/board/roseapplepi/post-build.sh rename to buildroot-2022.02.1/board/roseapplepi/post-build.sh diff --git a/buildroot-2022.02.1/board/roseapplepi/uEnv.txt b/buildroot-2022.02.1/board/roseapplepi/uEnv.txt new file mode 100644 index 00000000..339eb8aa --- /dev/null +++ b/buildroot-2022.02.1/board/roseapplepi/uEnv.txt @@ -0,0 +1,3 @@ +# no ramdisk +ramdisk_addr_r=- +bootargs=console=ttyOWL2,115200 root=/dev/mmcblk0p2 rootwait clk_ignore_unused diff --git a/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/genimage.cfg b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/genimage.cfg new file mode 100644 index 00000000..170dedc2 --- /dev/null +++ b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/genimage.cfg @@ -0,0 +1,22 @@ +image sdcard.img { + hdimage { + gpt = "true" + } + + partition fsbl1 { + image = "tf-a-stm32mp157c-odyssey.stm32" + } + + partition fsbl2 { + image = "tf-a-stm32mp157c-odyssey.stm32" + } + + partition ssbl { + image = "u-boot.stm32" + } + + partition rootfs { + image = "rootfs.ext4" + bootable = "yes" + } +} diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/linux.config b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/linux.config similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/linux.config rename to buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/linux.config diff --git a/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/overlay/boot/extlinux/extlinux.conf new file mode 100644 index 00000000..b5795415 --- /dev/null +++ b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,4 @@ +label stm32mp157c-odyssey-buildroot + kernel /boot/zImage + devicetree /boot/stm32mp157c-odyssey.dtb + append root=/dev/mmcblk0p4 rootwait diff --git a/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch new file mode 100644 index 00000000..ab2dc5de --- /dev/null +++ b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/patches/linux/0001-ARM-dts-stm32-fix-stm32mp157c-odyssey-card-detect.patch @@ -0,0 +1,36 @@ +From 0171b07373cc8c2815ca5fa79a7308fdefa54ca4 Mon Sep 17 00:00:00 2001 +From: Grzegorz Szymaszek +Date: Sat, 10 Apr 2021 21:35:21 +0200 +Subject: [PATCH] ARM: dts: stm32: fix stm32mp157c-odyssey card detect pin +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The microSD card detect pin is physically connected to the MPU pin PI3. +The Device Tree configuration of the card detect pin was wrong—it was +set to pin PB7 instead. If such configuration was used, the kernel would +hang on “Waiting for root device” when booting from a microSD card. + +Signed-off-by: Grzegorz Szymaszek +Signed-off-by: Alexandre Torgue +Backported from: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/arm/boot/dts/stm32mp157c-odyssey.dts?id=0171b07373cc8c2815ca5fa79a7308fdefa54ca4 +--- + arch/arm/boot/dts/stm32mp157c-odyssey.dts | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/arm/boot/dts/stm32mp157c-odyssey.dts b/arch/arm/boot/dts/stm32mp157c-odyssey.dts +index a7ffec8f1516..be1dd5e9e744 100644 +--- a/arch/arm/boot/dts/stm32mp157c-odyssey.dts ++++ b/arch/arm/boot/dts/stm32mp157c-odyssey.dts +@@ -64,7 +64,7 @@ &sdmmc1 { + pinctrl-0 = <&sdmmc1_b4_pins_a>; + pinctrl-1 = <&sdmmc1_b4_od_pins_a>; + pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>; +- cd-gpios = <&gpiob 7 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; ++ cd-gpios = <&gpioi 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>; + disable-wp; + st,neg-edge; + bus-width = <4>; +-- +2.30.2 + diff --git a/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/readme.txt b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/readme.txt new file mode 100644 index 00000000..09328673 --- /dev/null +++ b/buildroot-2022.02.1/board/seeed/stm32mp157c-odyssey/readme.txt @@ -0,0 +1,38 @@ +STM32MP157C-Odyssey + +Intro +===== + +This configuration supports the STM32MP157C-Odyssey platform: + + https://wiki.seeedstudio.com/ODYSSEY-STM32MP157C/ + +How to build +============ + + $ make stm32mp157c_odyssey_defconfig + $ make + +How to write the microSD card +============================= + +Once the build process is finished you will have an image called +"sdcard.img" in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an microSD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + +Boot the board +============== + + (1) Insert the microSD card in connector J21. + + (2) Connect to the UART connector J24 (located next the the DC jack + J24 and the battery connector J20) and run your serial communication + program on /dev/ttyACM0. + + (3) Plug a USB-C cable in J6 or a center-positive 12V jack into J17 + to power-up the board. + + (4) The system will start, with the console on UART. diff --git a/buildroot-2022.02.1/board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch b/buildroot-2022.02.1/board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch new file mode 100644 index 00000000..c9d5d71c --- /dev/null +++ b/buildroot-2022.02.1/board/sheevaplug/patches/uboot/0001-Remove-redundant-YYLOC-global-declaration.patch @@ -0,0 +1,28 @@ +From 018921ee79d3f30893614b3b2b63b588d8544f73 Mon Sep 17 00:00:00 2001 +From: Peter Robinson +Date: Thu, 30 Jan 2020 09:37:15 +0000 +Subject: [PATCH] Remove redundant YYLOC global declaration + +Same as the upstream fix for building dtc with gcc 10. + +Signed-off-by: Peter Robinson +Signed-off-by: Peter Korsgaard +--- + scripts/dtc/dtc-lexer.l | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l +index fd825ebba6..24af549977 100644 +--- a/scripts/dtc/dtc-lexer.l ++++ b/scripts/dtc/dtc-lexer.l +@@ -38,7 +38,6 @@ LINECOMMENT "//".*\n + #include "srcpos.h" + #include "dtc-parser.tab.h" + +-YYLTYPE yylloc; + extern bool treesource_error; + + /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ +-- +2.20.1 + diff --git a/buildroot-2021.05/board/sheevaplug/readme.txt b/buildroot-2022.02.1/board/sheevaplug/readme.txt similarity index 100% rename from buildroot-2021.05/board/sheevaplug/readme.txt rename to buildroot-2022.02.1/board/sheevaplug/readme.txt diff --git a/buildroot-2021.05/board/sifive/hifive-unleashed/boot.cmd b/buildroot-2022.02.1/board/sifive/hifive-unleashed/boot.cmd similarity index 100% rename from buildroot-2021.05/board/sifive/hifive-unleashed/boot.cmd rename to buildroot-2022.02.1/board/sifive/hifive-unleashed/boot.cmd diff --git a/buildroot-2022.02.1/board/sifive/hifive-unleashed/genimage_sdcard.cfg b/buildroot-2022.02.1/board/sifive/hifive-unleashed/genimage_sdcard.cfg new file mode 100644 index 00000000..e66f221d --- /dev/null +++ b/buildroot-2022.02.1/board/sifive/hifive-unleashed/genimage_sdcard.cfg @@ -0,0 +1,23 @@ +image sdcard.img { + hdimage { + partition-table-type = "gpt" + } + + partition u-boot-spl { + image = "u-boot-spl.bin" + offset = 17K + partition-type-uuid = 5B193300-FC78-40CD-8002-E86C45580B47 + } + + partition u-boot { + image = "u-boot.itb" + offset = 1041K + partition-type-uuid = 2E54B353-1271-4842-806F-E436D6AF6985 + } + + partition rootfs { + image = "rootfs.ext4" + partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4 + bootable = true + } +} diff --git a/buildroot-2022.02.1/board/sifive/hifive-unleashed/genimage_spi-nor.cfg b/buildroot-2022.02.1/board/sifive/hifive-unleashed/genimage_spi-nor.cfg new file mode 100644 index 00000000..903e675a --- /dev/null +++ b/buildroot-2022.02.1/board/sifive/hifive-unleashed/genimage_spi-nor.cfg @@ -0,0 +1,19 @@ +image spi-nor.img { + size = 32M + + hdimage { + partition-table-type = "gpt" + } + + partition u-boot-spl { + image = "u-boot-spl.bin" + offset = 20K + partition-type-uuid = 5B193300-FC78-40CD-8002-E86C45580B47 + } + + partition u-boot { + image = "u-boot.itb" + offset = 1044K + partition-type-uuid = 2E54B353-1271-4842-806F-E436D6AF6985 + } +} diff --git a/buildroot-2021.05/board/sifive/hifive-unleashed/linux.config.fragment b/buildroot-2022.02.1/board/sifive/hifive-unleashed/linux.config.fragment similarity index 100% rename from buildroot-2021.05/board/sifive/hifive-unleashed/linux.config.fragment rename to buildroot-2022.02.1/board/sifive/hifive-unleashed/linux.config.fragment diff --git a/buildroot-2021.05/board/sifive/hifive-unleashed/post-build.sh b/buildroot-2022.02.1/board/sifive/hifive-unleashed/post-build.sh similarity index 100% rename from buildroot-2021.05/board/sifive/hifive-unleashed/post-build.sh rename to buildroot-2022.02.1/board/sifive/hifive-unleashed/post-build.sh diff --git a/buildroot-2021.05/board/sifive/hifive-unleashed/readme.txt b/buildroot-2022.02.1/board/sifive/hifive-unleashed/readme.txt similarity index 100% rename from buildroot-2021.05/board/sifive/hifive-unleashed/readme.txt rename to buildroot-2022.02.1/board/sifive/hifive-unleashed/readme.txt diff --git a/buildroot-2021.05/board/sinovoip/m1-plus/boot.cmd b/buildroot-2022.02.1/board/sinovoip/m1-plus/boot.cmd similarity index 100% rename from buildroot-2021.05/board/sinovoip/m1-plus/boot.cmd rename to buildroot-2022.02.1/board/sinovoip/m1-plus/boot.cmd diff --git a/buildroot-2022.02.1/board/sinovoip/m1-plus/genimage.cfg b/buildroot-2022.02.1/board/sinovoip/m1-plus/genimage.cfg new file mode 100644 index 00000000..18a549e6 --- /dev/null +++ b/buildroot-2022.02.1/board/sinovoip/m1-plus/genimage.cfg @@ -0,0 +1,38 @@ +# Minimal SD card image for the Banana Pi M1+ +# Based on the Banana Pro genimage.cfg + +image boot.vfat { + vfat { + files = { + "zImage", + "sun7i-a20-bananapi-m1-plus.dtb", + "boot.scr" + } + } + + size = 10M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2021.05/board/sinovoip/m1-plus/linux-wifi.fragment b/buildroot-2022.02.1/board/sinovoip/m1-plus/linux-wifi.fragment similarity index 100% rename from buildroot-2021.05/board/sinovoip/m1-plus/linux-wifi.fragment rename to buildroot-2022.02.1/board/sinovoip/m1-plus/linux-wifi.fragment diff --git a/buildroot-2021.05/board/sinovoip/m1-plus/patches/linux/0001-ARM-dts-sun7i-bananapi-m1-plus-Disable-OOB-IRQ-for-b.patch b/buildroot-2022.02.1/board/sinovoip/m1-plus/patches/linux/0001-ARM-dts-sun7i-bananapi-m1-plus-Disable-OOB-IRQ-for-b.patch similarity index 100% rename from buildroot-2021.05/board/sinovoip/m1-plus/patches/linux/0001-ARM-dts-sun7i-bananapi-m1-plus-Disable-OOB-IRQ-for-b.patch rename to buildroot-2022.02.1/board/sinovoip/m1-plus/patches/linux/0001-ARM-dts-sun7i-bananapi-m1-plus-Disable-OOB-IRQ-for-b.patch diff --git a/buildroot-2021.05/board/sinovoip/m1-plus/post-build.sh b/buildroot-2022.02.1/board/sinovoip/m1-plus/post-build.sh similarity index 100% rename from buildroot-2021.05/board/sinovoip/m1-plus/post-build.sh rename to buildroot-2022.02.1/board/sinovoip/m1-plus/post-build.sh diff --git a/buildroot-2021.05/board/sinovoip/m1-plus/readme.txt b/buildroot-2022.02.1/board/sinovoip/m1-plus/readme.txt similarity index 100% rename from buildroot-2021.05/board/sinovoip/m1-plus/readme.txt rename to buildroot-2022.02.1/board/sinovoip/m1-plus/readme.txt diff --git a/buildroot-2021.05/board/sinovoip/m1-plus/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.sinovoip,bpi-m1-plus.txt b/buildroot-2022.02.1/board/sinovoip/m1-plus/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.sinovoip,bpi-m1-plus.txt similarity index 100% rename from buildroot-2021.05/board/sinovoip/m1-plus/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.sinovoip,bpi-m1-plus.txt rename to buildroot-2022.02.1/board/sinovoip/m1-plus/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.sinovoip,bpi-m1-plus.txt diff --git a/buildroot-2021.05/board/sinovoip/m1-plus/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt b/buildroot-2022.02.1/board/sinovoip/m1-plus/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt similarity index 100% rename from buildroot-2021.05/board/sinovoip/m1-plus/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt rename to buildroot-2022.02.1/board/sinovoip/m1-plus/rootfs_overlay/lib/firmware/brcm/brcmfmac43362-sdio.txt diff --git a/buildroot-2021.05/board/sinovoip/m2-plus/boot.cmd b/buildroot-2022.02.1/board/sinovoip/m2-plus/boot.cmd similarity index 100% rename from buildroot-2021.05/board/sinovoip/m2-plus/boot.cmd rename to buildroot-2022.02.1/board/sinovoip/m2-plus/boot.cmd diff --git a/buildroot-2022.02.1/board/sinovoip/m2-plus/genimage.cfg b/buildroot-2022.02.1/board/sinovoip/m2-plus/genimage.cfg new file mode 100644 index 00000000..9311e026 --- /dev/null +++ b/buildroot-2022.02.1/board/sinovoip/m2-plus/genimage.cfg @@ -0,0 +1,34 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "sun8i-h3-bananapi-m2-plus.dtb", + "boot.scr" + } + } + + size = 64M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + in-partition-table = "no" + image = "u-boot-sunxi-with-spl.bin" + offset = 8K + size = 1016K # 1MB - 8KB + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/solidrun/clearfog/extlinux.conf b/buildroot-2022.02.1/board/solidrun/clearfog/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog/extlinux.conf rename to buildroot-2022.02.1/board/solidrun/clearfog/extlinux.conf diff --git a/buildroot-2021.05/board/solidrun/clearfog/genimage.cfg b/buildroot-2022.02.1/board/solidrun/clearfog/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog/genimage.cfg rename to buildroot-2022.02.1/board/solidrun/clearfog/genimage.cfg diff --git a/buildroot-2021.05/board/solidrun/clearfog/linux.fragment b/buildroot-2022.02.1/board/solidrun/clearfog/linux.fragment similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog/linux.fragment rename to buildroot-2022.02.1/board/solidrun/clearfog/linux.fragment diff --git a/buildroot-2021.05/board/solidrun/macchiatobin/post-build-mainline.sh b/buildroot-2022.02.1/board/solidrun/clearfog/post-build.sh similarity index 100% rename from buildroot-2021.05/board/solidrun/macchiatobin/post-build-mainline.sh rename to buildroot-2022.02.1/board/solidrun/clearfog/post-build.sh diff --git a/buildroot-2021.05/board/solidrun/clearfog/readme.txt b/buildroot-2022.02.1/board/solidrun/clearfog/readme.txt similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog/readme.txt rename to buildroot-2022.02.1/board/solidrun/clearfog/readme.txt diff --git a/buildroot-2021.05/board/solidrun/clearfog_gt_8k/extlinux.conf b/buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog_gt_8k/extlinux.conf rename to buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/extlinux.conf diff --git a/buildroot-2021.05/board/solidrun/clearfog_gt_8k/genimage.cfg b/buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog_gt_8k/genimage.cfg rename to buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/genimage.cfg diff --git a/buildroot-2021.05/board/solidrun/clearfog_gt_8k/linux-extras.config b/buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog_gt_8k/linux-extras.config rename to buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/linux-extras.config diff --git a/buildroot-2021.05/board/solidrun/clearfog_gt_8k/post-build-mainline.sh b/buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/post-build-mainline.sh similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog_gt_8k/post-build-mainline.sh rename to buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/post-build-mainline.sh diff --git a/buildroot-2021.05/board/solidrun/clearfog_gt_8k/readme.txt b/buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/readme.txt similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog_gt_8k/readme.txt rename to buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/readme.txt diff --git a/buildroot-2021.05/board/solidrun/clearfog_gt_8k/uboot-fragment.config b/buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/uboot-fragment.config similarity index 100% rename from buildroot-2021.05/board/solidrun/clearfog_gt_8k/uboot-fragment.config rename to buildroot-2022.02.1/board/solidrun/clearfog_gt_8k/uboot-fragment.config diff --git a/buildroot-2021.05/board/solidrun/macchiatobin/extlinux.conf b/buildroot-2022.02.1/board/solidrun/macchiatobin/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/solidrun/macchiatobin/extlinux.conf rename to buildroot-2022.02.1/board/solidrun/macchiatobin/extlinux.conf diff --git a/buildroot-2022.02.1/board/solidrun/macchiatobin/genimage.cfg b/buildroot-2022.02.1/board/solidrun/macchiatobin/genimage.cfg new file mode 100644 index 00000000..378e2082 --- /dev/null +++ b/buildroot-2022.02.1/board/solidrun/macchiatobin/genimage.cfg @@ -0,0 +1,16 @@ +image sdcard.img { + hdimage { + } + + partition uboot { + in-partition-table = "no" + image = "flash-image.bin" + offset = 2M + } + + partition rootfs { + partition-type = 0x83 + offset = 34M + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/solidrun/macchiatobin/linux-extras.config b/buildroot-2022.02.1/board/solidrun/macchiatobin/linux-extras.config similarity index 100% rename from buildroot-2021.05/board/solidrun/macchiatobin/linux-extras.config rename to buildroot-2022.02.1/board/solidrun/macchiatobin/linux-extras.config diff --git a/buildroot-2022.02.1/board/solidrun/macchiatobin/post-build-mainline.sh b/buildroot-2022.02.1/board/solidrun/macchiatobin/post-build-mainline.sh new file mode 100755 index 00000000..1f5ff6a6 --- /dev/null +++ b/buildroot-2022.02.1/board/solidrun/macchiatobin/post-build-mainline.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $TARGET_DIR/boot/extlinux/extlinux.conf diff --git a/buildroot-2021.05/board/solidrun/macchiatobin/post-build.sh b/buildroot-2022.02.1/board/solidrun/macchiatobin/post-build.sh similarity index 100% rename from buildroot-2021.05/board/solidrun/macchiatobin/post-build.sh rename to buildroot-2022.02.1/board/solidrun/macchiatobin/post-build.sh diff --git a/buildroot-2021.05/board/solidrun/macchiatobin/readme.txt b/buildroot-2022.02.1/board/solidrun/macchiatobin/readme.txt similarity index 100% rename from buildroot-2021.05/board/solidrun/macchiatobin/readme.txt rename to buildroot-2022.02.1/board/solidrun/macchiatobin/readme.txt diff --git a/buildroot-2021.05/board/solidrun/macchiatobin/uEnv-example.txt b/buildroot-2022.02.1/board/solidrun/macchiatobin/uEnv-example.txt similarity index 100% rename from buildroot-2021.05/board/solidrun/macchiatobin/uEnv-example.txt rename to buildroot-2022.02.1/board/solidrun/macchiatobin/uEnv-example.txt diff --git a/buildroot-2021.05/board/solidrun/macchiatobin/uboot-fragment.config b/buildroot-2022.02.1/board/solidrun/macchiatobin/uboot-fragment.config similarity index 100% rename from buildroot-2021.05/board/solidrun/macchiatobin/uboot-fragment.config rename to buildroot-2022.02.1/board/solidrun/macchiatobin/uboot-fragment.config diff --git a/buildroot-2021.05/board/solidrun/mx6cubox/readme.txt b/buildroot-2022.02.1/board/solidrun/mx6cubox/readme.txt similarity index 100% rename from buildroot-2021.05/board/solidrun/mx6cubox/readme.txt rename to buildroot-2022.02.1/board/solidrun/mx6cubox/readme.txt diff --git a/buildroot-2022.02.1/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf new file mode 100644 index 00000000..d0110663 --- /dev/null +++ b/buildroot-2022.02.1/board/solidrun/mx6cubox/rootfs_overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,4 @@ +Label imx6qdl-cubox Buildroot + kernel ../zImage + fdtdir ../ + append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} diff --git a/buildroot-2022.02.1/board/spike/riscv64/readme.txt b/buildroot-2022.02.1/board/spike/riscv64/readme.txt new file mode 100644 index 00000000..5ad7df46 --- /dev/null +++ b/buildroot-2022.02.1/board/spike/riscv64/readme.txt @@ -0,0 +1,39 @@ +Linux on Spike RISC-V ISA simulator +=================================== + +This configuration provides a minimal working setup to run a Linux +kernel in the Spike RISC-V ISA simulator. + +The Spike ISA simulator can be an interresting alternative to Qemu, in +some specific cases. For example: simulating new instructions (see [1]), +simulating riscv-openocd/gdb debug sessions (see [2], [3]), or +generating an accurate per-instruction log of execution (see +riscv-isa-sim spike -l option)... + +To run Buildroot Linux in Spike, use the commands: + + make spike_riscv64_defconfig + make + ./board/spike/riscv64/start.sh + +The boot is made with the standard RISC-V OpenSBI boot loader. In +order to keep the simulation simple, the rootfs is passed as an initrd +ramfs. + +Note: at the time of this writing, Spike v1.1.0 and OpenSBI v1.0 does +not support console input emulation for 32bit RISC-V systems. A 32bit +Linux system can boot and reach the login, but it's not possible to +login. See [4]. + + +[1]. +https://github.com/riscv-software-src/riscv-isa-sim/tree/v1.1.0#simulating-a-new-instruction + +[2]. +https://github.com/riscv-software-src/riscv-isa-sim/tree/v1.1.0#debugging-with-gdb + +[3]. +https://github.com/riscv/riscv-openocd + +[4]. +https://github.com/riscv-software-src/opensbi/blob/v1.0/lib/utils/sys/htif.c#L127 diff --git a/buildroot-2022.02.1/board/spike/riscv64/start.sh b/buildroot-2022.02.1/board/spike/riscv64/start.sh new file mode 100755 index 00000000..6fbbced8 --- /dev/null +++ b/buildroot-2022.02.1/board/spike/riscv64/start.sh @@ -0,0 +1,17 @@ +#! /bin/sh + +SCRIPT_DIR="$(dirname "$0")" +BR_BASEDIR="$(readlink -e "${SCRIPT_DIR}/../../..")" + +# spike uses dtc at runtime startup, so make sure buildroot host +# directory is in the PATH +export PATH="${BR_BASEDIR}/output/host/usr/bin:$PATH" + +# Use Buildroot host spike by default, but allow the caller to +# redefine another spike binary +: "${SPIKE:=spike}" + +exec "${SPIKE}" \ + --initrd "${BR_BASEDIR}"/output/images/rootfs.cpio \ + "${@}" \ + "${BR_BASEDIR}"/output/images/fw_payload.elf diff --git a/buildroot-2021.05/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh b/buildroot-2022.02.1/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh rename to buildroot-2022.02.1/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh diff --git a/buildroot-2022.02.1/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template b/buildroot-2022.02.1/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template new file mode 100644 index 00000000..03fba8da --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/common/stm32mp157/genimage.cfg.template @@ -0,0 +1,23 @@ +image sdcard.img { + hdimage { + gpt = "true" + } + + partition fsbl1 { + image = "%ATFBIN%" + } + + partition fsbl2 { + image = "%ATFBIN%" + } + + partition ssbl { + image = "u-boot.stm32" + size = 2M + } + + partition rootfs { + image = "rootfs.ext4" + bootable = "yes" + } +} diff --git a/buildroot-2021.05/board/stmicroelectronics/common/stm32mp157/post-image.sh b/buildroot-2022.02.1/board/stmicroelectronics/common/stm32mp157/post-image.sh similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/common/stm32mp157/post-image.sh rename to buildroot-2022.02.1/board/stmicroelectronics/common/stm32mp157/post-image.sh diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f429-disco/flash.sh b/buildroot-2022.02.1/board/stmicroelectronics/stm32f429-disco/flash.sh new file mode 100755 index 00000000..3e2bf121 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f429-disco/flash.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +OUTPUT_DIR=$1 +BOARD_NAME=${2:-stm32f429discovery} + +if ! test -d "${OUTPUT_DIR}" ; then + echo "ERROR: no output directory specified." + echo "Usage: $0 OUTPUT_DIR BOARD_NAME" + echo "" + echo "Arguments:" + echo " OUTPUT_DIR The Buildroot output directory." + echo " BOARD_NAME One of the available boards among:" + echo " stm32f429discovery, stm32f429disc1" + exit 1 +fi + +${OUTPUT_DIR}/host/bin/openocd -f board/${BOARD_NAME}.cfg \ + -c "init" \ + -c "reset init" \ + -c "flash probe 0" \ + -c "flash info 0" \ + -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f429i-disco.bin 0x08000000" \ + -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f429-disco.dtb 0x08004000" \ + -c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x0800C000" \ + -c "reset run" \ + -c "shutdown" diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f429-disco/linux.config b/buildroot-2022.02.1/board/stmicroelectronics/stm32f429-disco/linux.config new file mode 100644 index 00000000..7b5c60f1 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f429-disco/linux.config @@ -0,0 +1,120 @@ +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_KERNEL_XZ=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_PREEMPT=y +CONFIG_LOG_BUF_SHIFT=12 +CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=10 +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" +# CONFIG_RD_GZIP is not set +# CONFIG_RD_BZIP2 is not set +# CONFIG_RD_LZMA is not set +# CONFIG_RD_XZ is not set +# CONFIG_RD_LZO is not set +# CONFIG_RD_LZ4 is not set +# CONFIG_RD_ZSTD is not set +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +# CONFIG_MULTIUSER is not set +# CONFIG_SYSFS_SYSCALL is not set +# CONFIG_FHANDLE is not set +CONFIG_POSIX_TIMERS=y +CONFIG_BUG=y +# CONFIG_BASE_FULL is not set +# CONFIG_FUTEX is not set +# CONFIG_EPOLL is not set +# CONFIG_SIGNALFD is not set +# CONFIG_TIMERFD is not set +# CONFIG_EVENTFD is not set +# CONFIG_AIO is not set +# CONFIG_IO_URING is not set +# CONFIG_ADVISE_SYSCALLS is not set +# CONFIG_MEMBARRIER is not set +# CONFIG_KALLSYMS is not set +CONFIG_KCMP=y +# CONFIG_RSEQ is not set +CONFIG_EMBEDDED=y +# CONFIG_VM_EVENT_COUNTERS is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_SLOB=y +# CONFIG_SLAB_MERGE_DEFAULT is not set +# CONFIG_MMU is not set +CONFIG_ARCH_STM32=y +# CONFIG_MACH_STM32F469 is not set +# CONFIG_MACH_STM32F746 is not set +# CONFIG_MACH_STM32F769 is not set +# CONFIG_MACH_STM32H743 is not set +CONFIG_CPU_V7M_NUM_IRQ=240 +# CONFIG_ARM_DMA_MEM_BUFFERABLE is not set +CONFIG_SET_MEM_PARAM=y +CONFIG_DRAM_BASE=0x90000000 +CONFIG_DRAM_SIZE=0x00800000 +CONFIG_HZ_1000=y +# CONFIG_ATAGS is not set +CONFIG_XIP_KERNEL=y +CONFIG_XIP_PHYS_ADDR=0x0800C000 +CONFIG_XIP_DEFLATED_DATA=y +# CONFIG_SUSPEND is not set +# CONFIG_STACKPROTECTOR is not set +# CONFIG_COMPAT_32BIT_TIME is not set +# CONFIG_GCC_PLUGINS is not set +# CONFIG_BLOCK is not set +CONFIG_BINFMT_FLAT=y +CONFIG_BINFMT_SHARED_FLAT=y +# CONFIG_COREDUMP is not set +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +# CONFIG_STANDALONE is not set +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +# CONFIG_FW_LOADER is not set +# CONFIG_ALLOW_DEV_COREDUMP is not set +CONFIG_EEPROM_93CX6=y +# CONFIG_INPUT is not set +# CONFIG_VT is not set +# CONFIG_UNIX98_PTYS is not set +# CONFIG_LEGACY_PTYS is not set +# CONFIG_LDISC_AUTOLOAD is not set +CONFIG_SERIAL_STM32=y +CONFIG_SERIAL_STM32_CONSOLE=y +# CONFIG_DEVMEM is not set +# CONFIG_HWMON is not set +CONFIG_WATCHDOG=y +CONFIG_MFD_STM32_TIMERS=y +# CONFIG_USB_SUPPORT is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_STM32=y +CONFIG_DMADEVICES=y +CONFIG_STM32_DMA=y +CONFIG_STM32_DMAMUX=y +CONFIG_STM32_MDMA=y +CONFIG_SYNC_FILE=y +# CONFIG_VIRTIO_MENU is not set +# CONFIG_VHOST_MENU is not set +CONFIG_IIO=y +CONFIG_IIO_BUFFER=y +CONFIG_IIO_TRIGGERED_BUFFER=y +CONFIG_IIO_STM32_TIMER_TRIGGER=y +# CONFIG_FILE_LOCKING is not set +# CONFIG_DNOTIFY is not set +# CONFIG_INOTIFY_USER is not set +# CONFIG_PROC_SYSCTL is not set +CONFIG_CONFIGFS_FS=y +# CONFIG_MISC_FILESYSTEMS is not set +CONFIG_NLS=y +CONFIG_PRINTK_TIME=y +CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15 +CONFIG_CONSOLE_LOGLEVEL_QUIET=15 +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7 +# CONFIG_SYMBOLIC_ERRNAME is not set +CONFIG_DEBUG_INFO=y +# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set +CONFIG_DEBUG_FS=y +# CONFIG_DEBUG_MISC is not set +# CONFIG_SCHED_DEBUG is not set +# CONFIG_RCU_TRACE is not set +# CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32f429-disco/readme.txt b/buildroot-2022.02.1/board/stmicroelectronics/stm32f429-disco/readme.txt similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/stm32f429-disco/readme.txt rename to buildroot-2022.02.1/board/stmicroelectronics/stm32f429-disco/readme.txt diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/extlinux.conf b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/extlinux.conf new file mode 100644 index 00000000..1c2db438 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/extlinux.conf @@ -0,0 +1,4 @@ +label stm32f469-disco-buildroot + kernel /zImage + devicetree /stm32f469-disco.dtb + append console=ttySTM0,115200 root=/dev/mmcblk0p2 rw rootfstype=ext2 rootwait earlyprintk consoleblank=0 ignore_loglevel diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/flash_sd.sh b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/flash_sd.sh new file mode 100755 index 00000000..984d2b25 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/flash_sd.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +OUTPUT_DIR=$1 + +if ! test -d "${OUTPUT_DIR}" ; then + echo "ERROR: no output directory specified." + echo "Usage: $0 OUTPUT_DIR" + exit 1 +fi + +${OUTPUT_DIR}/host/bin/openocd -f board/stm32f469discovery.cfg \ + -c "init" \ + -c "reset init" \ + -c "flash probe 0" \ + -c "flash info 0" \ + -c "flash write_image erase ${OUTPUT_DIR}/images/u-boot.bin 0x08000000" \ + -c "reset run" \ + -c "shutdown" diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/flash_xip.sh b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/flash_xip.sh new file mode 100755 index 00000000..da27cd32 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/flash_xip.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +OUTPUT_DIR=$1 + +if ! test -d "${OUTPUT_DIR}"; then + echo "ERROR: no output directory specified." + echo "Usage: $0 OUTPUT_DIR" + exit 1 +fi + +${OUTPUT_DIR}/host/bin/openocd -f board/stm32f469discovery.cfg \ + -c "init" \ + -c "reset init" \ + -c "flash probe 0" \ + -c "flash info 0" \ + -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469i-disco.bin 0x08000000" \ + -c "flash write_image erase ${OUTPUT_DIR}/images/stm32f469-disco.dtb 0x08004000" \ + -c "flash write_image erase ${OUTPUT_DIR}/images/xipImage 0x0800C000" \ + -c "reset run" \ + -c "shutdown" diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/genimage.cfg b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/genimage.cfg new file mode 100644 index 00000000..517ead77 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/genimage.cfg @@ -0,0 +1,27 @@ +image boot.vfat { + vfat { + files = { + "zImage", + "stm32f469-disco.dtb", + "extlinux" + } + } + + size = 16M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + partition-type = 0xC + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + size = 32M + } +} diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/linux-sd.fragment b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/linux-sd.fragment new file mode 100644 index 00000000..e5d39bf0 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/linux-sd.fragment @@ -0,0 +1,7 @@ +# CONFIG_XIP_KERNEL is not set +CONFIG_DRM=y +CONFIG_DRM_STM=y +CONFIG_DRM_STM_DSI=y +CONFIG_DRM_PANEL_ORISETECH_OTM8009A=y +CONFIG_FB=y +CONFIG_BACKLIGHT_CLASS_DEVICE=y diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/linux-xip.config b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/linux-xip.config new file mode 100644 index 00000000..01a94eb9 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/linux-xip.config @@ -0,0 +1,120 @@ +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_KERNEL_XZ=y +CONFIG_NO_HZ_IDLE=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_PREEMPT=y +CONFIG_LOG_BUF_SHIFT=12 +CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=10 +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" +# CONFIG_RD_GZIP is not set +# CONFIG_RD_BZIP2 is not set +# CONFIG_RD_LZMA is not set +# CONFIG_RD_XZ is not set +# CONFIG_RD_LZO is not set +# CONFIG_RD_LZ4 is not set +# CONFIG_RD_ZSTD is not set +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +# CONFIG_MULTIUSER is not set +# CONFIG_SYSFS_SYSCALL is not set +# CONFIG_FHANDLE is not set +CONFIG_POSIX_TIMERS=y +# CONFIG_BUG is not set +# CONFIG_BASE_FULL is not set +# CONFIG_FUTEX is not set +# CONFIG_EPOLL is not set +# CONFIG_SIGNALFD is not set +# CONFIG_TIMERFD is not set +# CONFIG_EVENTFD is not set +# CONFIG_AIO is not set +# CONFIG_IO_URING is not set +# CONFIG_ADVISE_SYSCALLS is not set +# CONFIG_MEMBARRIER is not set +# CONFIG_KALLSYMS is not set +CONFIG_KCMP=y +# CONFIG_RSEQ is not set +CONFIG_EMBEDDED=y +# CONFIG_VM_EVENT_COUNTERS is not set +# CONFIG_COMPAT_BRK is not set +CONFIG_SLOB=y +# CONFIG_SLAB_MERGE_DEFAULT is not set +# CONFIG_MMU is not set +CONFIG_ARCH_STM32=y +# CONFIG_MACH_STM32F429 is not set +# CONFIG_MACH_STM32F746 is not set +# CONFIG_MACH_STM32F769 is not set +# CONFIG_MACH_STM32H743 is not set +CONFIG_CPU_V7M_NUM_IRQ=240 +# CONFIG_ARM_DMA_MEM_BUFFERABLE is not set +CONFIG_SET_MEM_PARAM=y +CONFIG_DRAM_BASE=0x00000000 +CONFIG_DRAM_SIZE=0x00800000 +CONFIG_HZ_1000=y +# CONFIG_ATAGS is not set +CONFIG_XIP_KERNEL=y +CONFIG_XIP_PHYS_ADDR=0x0800C000 +CONFIG_XIP_DEFLATED_DATA=y +# CONFIG_SUSPEND is not set +# CONFIG_STACKPROTECTOR is not set +# CONFIG_COMPAT_32BIT_TIME is not set +# CONFIG_GCC_PLUGINS is not set +# CONFIG_BLOCK is not set +CONFIG_BINFMT_FLAT=y +CONFIG_BINFMT_SHARED_FLAT=y +# CONFIG_COREDUMP is not set +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +# CONFIG_STANDALONE is not set +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +# CONFIG_FW_LOADER is not set +# CONFIG_ALLOW_DEV_COREDUMP is not set +CONFIG_EEPROM_93CX6=y +# CONFIG_INPUT is not set +# CONFIG_VT is not set +# CONFIG_UNIX98_PTYS is not set +# CONFIG_LEGACY_PTYS is not set +# CONFIG_LDISC_AUTOLOAD is not set +CONFIG_SERIAL_STM32=y +CONFIG_SERIAL_STM32_CONSOLE=y +# CONFIG_DEVMEM is not set +# CONFIG_HWMON is not set +CONFIG_WATCHDOG=y +CONFIG_MFD_STM32_TIMERS=y +# CONFIG_USB_SUPPORT is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_STM32=y +CONFIG_DMADEVICES=y +CONFIG_STM32_DMA=y +CONFIG_STM32_DMAMUX=y +CONFIG_STM32_MDMA=y +CONFIG_SYNC_FILE=y +# CONFIG_VIRTIO_MENU is not set +# CONFIG_VHOST_MENU is not set +CONFIG_IIO=y +CONFIG_IIO_BUFFER=y +CONFIG_IIO_TRIGGERED_BUFFER=y +CONFIG_IIO_STM32_TIMER_TRIGGER=y +# CONFIG_FILE_LOCKING is not set +# CONFIG_DNOTIFY is not set +# CONFIG_INOTIFY_USER is not set +# CONFIG_PROC_SYSCTL is not set +CONFIG_CONFIGFS_FS=y +# CONFIG_MISC_FILESYSTEMS is not set +CONFIG_NLS=y +CONFIG_PRINTK_TIME=y +CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15 +CONFIG_CONSOLE_LOGLEVEL_QUIET=15 +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7 +# CONFIG_SYMBOLIC_ERRNAME is not set +CONFIG_DEBUG_INFO=y +# CONFIG_SECTION_MISMATCH_WARN_ONLY is not set +CONFIG_DEBUG_FS=y +# CONFIG_DEBUG_MISC is not set +# CONFIG_SCHED_DEBUG is not set +# CONFIG_RCU_TRACE is not set +# CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/post-build.sh b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/post-build.sh new file mode 100755 index 00000000..ec20fca7 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/post-build.sh @@ -0,0 +1,4 @@ +#!/bin/sh +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux/extlinux.conf diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/readme.txt b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/readme.txt new file mode 100644 index 00000000..99d26ccb --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/readme.txt @@ -0,0 +1,45 @@ +STM32F469 Discovery +=================== + +This tutorial describes how to use the predefined Buildroot +configuration for the STM32F469 Discovery evaluation platform. + +Building +-------- + + make stm32f469_disco_sd_defconfig + make + +Flashing +-------- + + ./board/stmicroelectronics/stm32f469-disco/flash_sd.sh output/ + +It will flash the U-boot bootloader. + +Creating SD card +---------------- + +Buildroot prepares an"sdcard.img" image in the output/images/ directory, +ready to be dumped on a SD card. Launch the following command as root: + + dd if=output/images/sdcard.img of=/dev/ + +*** WARNING! This will destroy all the card content. Use with care! *** + +For details about the medium image layout and its content, see the +definition in board/stmicroelectronics/stm32f469-disco/genimage.cfg. + +Framebuffer +----------- +After Linux boots, /dev/fb0 will be accessible. You can control the +brightness of the display after enabling the framebuffer by running the +following commands: + + # echo 0 0 > /sys/class/graphics/fb0/pan + # echo 255 >/sys/class/backlight/40016c00.dsi.0/brightness + +The brightness ranges from 0 to 255, as you can see running the +command: + + # cat /sys/class/backlight/40016c00.dsi.0/max_brightness diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/readme_xip.txt b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/readme_xip.txt new file mode 100644 index 00000000..7c20c2d0 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32f469-disco/readme_xip.txt @@ -0,0 +1,24 @@ +STM32F469 Discovery +=================== + +This tutorial describes how to use the predefined Buildroot +configuration for the STM32F469 Discovery evaluation platform. + +Internal flash memory stores simple afboot-stm32 bootloader, device tree and +in place (XIP) kernel with built-in initramfs. No external flash or SD card +is needed. + +Kernel is based on tinyconfig. + +Building +-------- + + make stm32f469_disco_xip_defconfig + make + +Flashing +-------- + + ./board/stmicroelectronics/stm32f469-disco/flash_xip.sh output/ + +It will flash binary to internal flash memory. diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/linux.config b/buildroot-2022.02.1/board/stmicroelectronics/stm32mp157a-dk1/linux.config similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/linux.config rename to buildroot-2022.02.1/board/stmicroelectronics/stm32mp157a-dk1/linux.config diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/stmicroelectronics/stm32mp157a-dk1/overlay/boot/extlinux/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/overlay/boot/extlinux/extlinux.conf rename to buildroot-2022.02.1/board/stmicroelectronics/stm32mp157a-dk1/overlay/boot/extlinux/extlinux.conf diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/readme.txt b/buildroot-2022.02.1/board/stmicroelectronics/stm32mp157a-dk1/readme.txt similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/stm32mp157a-dk1/readme.txt rename to buildroot-2022.02.1/board/stmicroelectronics/stm32mp157a-dk1/readme.txt diff --git a/buildroot-2022.02.1/board/stmicroelectronics/stm32mp157c-dk2/linux.config b/buildroot-2022.02.1/board/stmicroelectronics/stm32mp157c-dk2/linux.config new file mode 100644 index 00000000..878a0c39 --- /dev/null +++ b/buildroot-2022.02.1/board/stmicroelectronics/stm32mp157c-dk2/linux.config @@ -0,0 +1,182 @@ +CONFIG_SYSVIPC=y +CONFIG_POSIX_MQUEUE=y +CONFIG_USELIB=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_PREEMPT=y +CONFIG_IKCONFIG=y +CONFIG_IKCONFIG_PROC=y +CONFIG_LOG_BUF_SHIFT=16 +CONFIG_BLK_DEV_INITRD=y +CONFIG_ARCH_STM32=y +CONFIG_ARM_THUMBEE=y +# CONFIG_CACHE_L2X0 is not set +CONFIG_ARM_ERRATA_430973=y +CONFIG_ARM_ERRATA_720789=y +CONFIG_ARM_ERRATA_754322=y +CONFIG_ARM_ERRATA_754327=y +CONFIG_ARM_ERRATA_764369=y +CONFIG_ARM_ERRATA_775420=y +CONFIG_ARM_ERRATA_798181=y +CONFIG_SMP=y +CONFIG_MCPM=y +CONFIG_HIGHMEM=y +CONFIG_FORCE_MAX_ZONEORDER=12 +CONFIG_SECCOMP=y +# CONFIG_ATAGS is not set +CONFIG_ZBOOT_ROM_TEXT=0x0 +CONFIG_ZBOOT_ROM_BSS=0x0 +CONFIG_ARM_APPENDED_DTB=y +CONFIG_ARM_ATAG_DTB_COMPAT=y +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_KERNEL_MODE_NEON=y +CONFIG_ARM_CRYPTO=y +CONFIG_MODULES=y +CONFIG_MODULE_FORCE_LOAD=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODVERSIONS=y +CONFIG_PARTITION_ADVANCED=y +CONFIG_CMDLINE_PARTITION=y +CONFIG_CMA=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_CAN=y +CONFIG_CAN_M_CAN=y +CONFIG_DEVTMPFS=y +CONFIG_DEVTMPFS_MOUNT=y +CONFIG_DMA_CMA=y +CONFIG_CMA_SIZE_MBYTES=128 +CONFIG_SIMPLE_PM_BUS=y +CONFIG_MTD=y +CONFIG_MTD_CMDLINE_PARTS=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_M25P80=y +CONFIG_MTD_NAND=y +CONFIG_MTD_NAND_STM32_FMC2=y +CONFIG_MTD_SPI_NOR=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set +CONFIG_MTD_UBI=y +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_SIZE=65536 +CONFIG_SRAM=y +CONFIG_EEPROM_AT24=y +CONFIG_NETDEVICES=y +CONFIG_VIRTIO_NET=y +CONFIG_KS8851=y +CONFIG_SMSC911X=y +CONFIG_STMMAC_ETH=y +CONFIG_DWMAC_DWC_QOS_ETH=y +CONFIG_MDIO_BITBANG=y +CONFIG_INPUT_JOYDEV=y +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_TOUCHSCREEN=y +CONFIG_TOUCHSCREEN_EDT_FT5X06=y +CONFIG_INPUT_MISC=y +CONFIG_INPUT_STPMIC1_ONKEY=y +CONFIG_SERIAL_STM32=y +CONFIG_SERIAL_STM32_CONSOLE=y +CONFIG_SERIAL_DEV_BUS=y +CONFIG_HW_RANDOM=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_MUX=y +CONFIG_I2C_STM32F7=y +CONFIG_SPI=y +CONFIG_SPI_STM32=y +CONFIG_SPI_STM32_QSPI=y +CONFIG_PINCTRL_SINGLE=y +CONFIG_PINCTRL_STMFX=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_GPIO=y +CONFIG_POWER_RESET_GPIO_RESTART=y +CONFIG_POWER_RESET_SYSCON=y +CONFIG_POWER_RESET_SYSCON_POWEROFF=y +CONFIG_SYSCON_REBOOT_MODE=y +CONFIG_WATCHDOG=y +CONFIG_STPMIC1_WATCHDOG=y +CONFIG_MFD_STM32_LPTIMER=y +CONFIG_MFD_STPMIC1=y +CONFIG_REGULATOR=y +CONFIG_REGULATOR_FIXED_VOLTAGE=y +CONFIG_REGULATOR_STM32_VREFBUF=y +CONFIG_REGULATOR_STM32_PWR=y +CONFIG_REGULATOR_STPMIC1=y +CONFIG_DRM=y +CONFIG_DRM_STM=y +CONFIG_DRM_STM_DSI=y +CONFIG_DRM_PANEL_ORISETECH_OTM8009A=y +CONFIG_DRM_SII902X=y +CONFIG_BACKLIGHT_LCD_SUPPORT=y +# CONFIG_LCD_CLASS_DEVICE is not set +CONFIG_BACKLIGHT_CLASS_DEVICE=y +# CONFIG_BACKLIGHT_GENERIC is not set +CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_DYNAMIC_MINORS=y +CONFIG_USB=y +CONFIG_USB_OTG=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_XHCI_PLATFORM=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_HCD_PLATFORM=y +CONFIG_USB_OHCI_HCD=y +CONFIG_USB_OHCI_HCD_PLATFORM=y +CONFIG_USB_DWC2=y +CONFIG_USB_CHIPIDEA=y +CONFIG_USB_CHIPIDEA_HOST=y +CONFIG_USB_ISP1760=y +CONFIG_USB_HSIC_USB3503=y +CONFIG_USB_GPIO_VBUS=y +CONFIG_USB_ISP1301=y +CONFIG_USB_ULPI=y +CONFIG_TYPEC=y +CONFIG_TYPEC_STUSB=y +CONFIG_MMC=y +CONFIG_MMC_BLOCK_MINORS=16 +CONFIG_MMC_ARMMMCI=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_DW=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_PWM=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_STM32=y +CONFIG_DMADEVICES=y +CONFIG_STM32_DMA=y +CONFIG_STM32_DMAMUX=y +CONFIG_STM32_MDMA=y +CONFIG_HWSPINLOCK=y +CONFIG_HWSPINLOCK_STM32=y +CONFIG_STM32_IPCC=y +CONFIG_REMOTEPROC=y +CONFIG_STM32_RPROC=y +CONFIG_RPMSG_VIRTIO=y +CONFIG_RPMSG_TTY=y +CONFIG_IIO=y +CONFIG_IIO_SW_TRIGGER=y +CONFIG_SD_ADC_MODULATOR=y +CONFIG_STM32_ADC_CORE=y +CONFIG_STM32_ADC=y +CONFIG_STM32_ADC_TEMP=y +CONFIG_STM32_DFSDM_ADC=y +CONFIG_STM32_LPTIMER_CNT=y +CONFIG_STM32_DAC=y +CONFIG_IIO_HRTIMER_TRIGGER=y +CONFIG_IIO_STM32_LPTIMER_TRIGGER=y +CONFIG_PWM=y +CONFIG_PWM_STM32=y +CONFIG_PWM_STM32_LP=y +CONFIG_PHY_STM32_USBPHYC=y +CONFIG_NVMEM_STM32_ROMEM=y +CONFIG_EXT4_FS=y +CONFIG_MSDOS_FS=y +CONFIG_VFAT_FS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_PRINTK_TIME=y diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/stmicroelectronics/stm32mp157c-dk2/overlay/boot/extlinux/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/overlay/boot/extlinux/extlinux.conf rename to buildroot-2022.02.1/board/stmicroelectronics/stm32mp157c-dk2/overlay/boot/extlinux/extlinux.conf diff --git a/buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/readme.txt b/buildroot-2022.02.1/board/stmicroelectronics/stm32mp157c-dk2/readme.txt similarity index 100% rename from buildroot-2021.05/board/stmicroelectronics/stm32mp157c-dk2/readme.txt rename to buildroot-2022.02.1/board/stmicroelectronics/stm32mp157c-dk2/readme.txt diff --git a/buildroot-2021.05/board/synopsys/axs10x/post-build.sh b/buildroot-2022.02.1/board/synopsys/axs10x/post-build.sh similarity index 100% rename from buildroot-2021.05/board/synopsys/axs10x/post-build.sh rename to buildroot-2022.02.1/board/synopsys/axs10x/post-build.sh diff --git a/buildroot-2022.02.1/board/synopsys/axs10x/uboot-fragment.config b/buildroot-2022.02.1/board/synopsys/axs10x/uboot-fragment.config new file mode 100644 index 00000000..92fe20f4 --- /dev/null +++ b/buildroot-2022.02.1/board/synopsys/axs10x/uboot-fragment.config @@ -0,0 +1 @@ +CONFIG_SYS_MALLOC_F_LEN=0x0500 diff --git a/buildroot-2022.02.1/board/synopsys/hsdk/genimage.cfg b/buildroot-2022.02.1/board/synopsys/hsdk/genimage.cfg new file mode 100644 index 00000000..b5d702d5 --- /dev/null +++ b/buildroot-2022.02.1/board/synopsys/hsdk/genimage.cfg @@ -0,0 +1,29 @@ +image boot.vfat { + vfat { + files = { + "uImage" + } + + file uboot.env { + image = "uboot-env.bin" + } + } + + size = 20M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2021.05/board/synopsys/hsdk/linux.fragment b/buildroot-2022.02.1/board/synopsys/hsdk/linux.fragment similarity index 100% rename from buildroot-2021.05/board/synopsys/hsdk/linux.fragment rename to buildroot-2022.02.1/board/synopsys/hsdk/linux.fragment diff --git a/buildroot-2021.05/board/synopsys/hsdk/readme.txt b/buildroot-2022.02.1/board/synopsys/hsdk/readme.txt similarity index 100% rename from buildroot-2021.05/board/synopsys/hsdk/readme.txt rename to buildroot-2022.02.1/board/synopsys/hsdk/readme.txt diff --git a/buildroot-2021.05/board/synopsys/hsdk/uboot.env.txt b/buildroot-2022.02.1/board/synopsys/hsdk/uboot.env.txt similarity index 100% rename from buildroot-2021.05/board/synopsys/hsdk/uboot.env.txt rename to buildroot-2022.02.1/board/synopsys/hsdk/uboot.env.txt diff --git a/buildroot-2021.05/board/technexion/imx6ulpico/readme.txt b/buildroot-2022.02.1/board/technexion/imx6ulpico/readme.txt similarity index 100% rename from buildroot-2021.05/board/technexion/imx6ulpico/readme.txt rename to buildroot-2022.02.1/board/technexion/imx6ulpico/readme.txt diff --git a/buildroot-2022.02.1/board/technexion/imx6ulpico/rootfs_overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/technexion/imx6ulpico/rootfs_overlay/boot/extlinux/extlinux.conf new file mode 100644 index 00000000..24ed485c --- /dev/null +++ b/buildroot-2022.02.1/board/technexion/imx6ulpico/rootfs_overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,4 @@ +Label imx6ul-pico-buildroot + kernel ../zImage + fdtdir ../ + append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} diff --git a/buildroot-2021.05/board/technexion/imx6ulpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt b/buildroot-2022.02.1/board/technexion/imx6ulpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt similarity index 100% rename from buildroot-2021.05/board/technexion/imx6ulpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt rename to buildroot-2022.02.1/board/technexion/imx6ulpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt diff --git a/buildroot-2021.05/board/technexion/imx7dpico/readme.txt b/buildroot-2022.02.1/board/technexion/imx7dpico/readme.txt similarity index 100% rename from buildroot-2021.05/board/technexion/imx7dpico/readme.txt rename to buildroot-2022.02.1/board/technexion/imx7dpico/readme.txt diff --git a/buildroot-2021.05/board/technexion/imx7dpico/rootfs_overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/technexion/imx7dpico/rootfs_overlay/boot/extlinux/extlinux.conf similarity index 100% rename from buildroot-2021.05/board/technexion/imx7dpico/rootfs_overlay/boot/extlinux/extlinux.conf rename to buildroot-2022.02.1/board/technexion/imx7dpico/rootfs_overlay/boot/extlinux/extlinux.conf diff --git a/buildroot-2021.05/board/technexion/imx7dpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt b/buildroot-2022.02.1/board/technexion/imx7dpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt similarity index 100% rename from buildroot-2021.05/board/technexion/imx7dpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt rename to buildroot-2022.02.1/board/technexion/imx7dpico/rootfs_overlay/lib/firmware/brcm/brcmfmac4339-sdio.txt diff --git a/buildroot-2021.05/board/technexion/imx8mmpico/readme.txt b/buildroot-2022.02.1/board/technexion/imx8mmpico/readme.txt similarity index 100% rename from buildroot-2021.05/board/technexion/imx8mmpico/readme.txt rename to buildroot-2022.02.1/board/technexion/imx8mmpico/readme.txt diff --git a/buildroot-2021.05/board/technexion/imx8mpico/readme.txt b/buildroot-2022.02.1/board/technexion/imx8mpico/readme.txt similarity index 100% rename from buildroot-2021.05/board/technexion/imx8mpico/readme.txt rename to buildroot-2022.02.1/board/technexion/imx8mpico/readme.txt diff --git a/buildroot-2021.05/board/technologic/ts4900/genimage.cfg b/buildroot-2022.02.1/board/technologic/ts4900/genimage.cfg similarity index 100% rename from buildroot-2021.05/board/technologic/ts4900/genimage.cfg rename to buildroot-2022.02.1/board/technologic/ts4900/genimage.cfg diff --git a/buildroot-2021.05/board/technologic/ts4900/post-image.sh b/buildroot-2022.02.1/board/technologic/ts4900/post-image.sh similarity index 100% rename from buildroot-2021.05/board/technologic/ts4900/post-image.sh rename to buildroot-2022.02.1/board/technologic/ts4900/post-image.sh diff --git a/buildroot-2022.02.1/board/technologic/ts4900/readme.txt b/buildroot-2022.02.1/board/technologic/ts4900/readme.txt new file mode 100644 index 00000000..121e6397 --- /dev/null +++ b/buildroot-2022.02.1/board/technologic/ts4900/readme.txt @@ -0,0 +1,52 @@ +Technologic Systems TS-4900 +=========================== + +This document explains how to set up a basic Buildroot system for the +Technologic Systems TS-4900 System on Module. + +The TS-4900 is a TS-SOCKET macrocontroller board based on the +Freescale i.MX6 Single or Quad Core ARM Cortex-A9 CPU clocked at +1GHz. The TS-4900 features Gigabit Ethernet, SATA II Port, PCI Express +Bus, high speed USB host and device (OTG), and microSD card. +More details on the board here: + https://docs.embeddedTS.com/TS-4900 + +The TS-4900 is not currently supported by mainline Linux, so a +Technologic Systems Linux is used based on Linux 4.1. +The default U-boot configuration flashed scans the SD card to find the +0x83 partition type, corresponding to the rootfs. Then it will load +both uImage and dts from the /boot directory. +To build the default configuration you only have to: + + $ make ts4900_defconfig + $ make + +The output looks like: +output/images/ +├── imx6q-ts4900.dtb +├── rootfs.ext2 +├── rootfs.tar +├── sdcard.img +└── uImage + +Since both the uImage and the dts are contained in the /boot +directory, the provided post-image script generates an image file +containing only one partition for the rootfs: + + $ fdisk output/images/sdcard.img + Device Boot Start End Blocks Id System +output/images/sdcard.img1 1 524288 262144 83 Linux + +This image can be directly written to an SD card. + + $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 + +In order to test the image on TS-4900 board, a TS baseboard, such as +the TS-9xxx series, is needed to provide power, console header, RJ45 +connector etc. + +The bootloader comes pre-flashed on the board on an SPI flash. Since +updating the bootloader is risky and not trivial, it is not included +in the Buildroot defconfig. Refer to +https://docs.embeddedTS.com/TS-4900#U-Boot for details on which +U-Boot config to use and how to flash it. diff --git a/buildroot-2021.05/board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg b/buildroot-2022.02.1/board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg similarity index 100% rename from buildroot-2021.05/board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg rename to buildroot-2022.02.1/board/technologic/ts5500/fs-overlay/boot/syslinux/syslinux.cfg diff --git a/buildroot-2021.05/board/technologic/ts5500/linux-4.14.config b/buildroot-2022.02.1/board/technologic/ts5500/linux-4.14.config similarity index 100% rename from buildroot-2021.05/board/technologic/ts5500/linux-4.14.config rename to buildroot-2022.02.1/board/technologic/ts5500/linux-4.14.config diff --git a/buildroot-2022.02.1/board/technologic/ts5500/readme.txt b/buildroot-2022.02.1/board/technologic/ts5500/readme.txt new file mode 100644 index 00000000..1fe384fa --- /dev/null +++ b/buildroot-2022.02.1/board/technologic/ts5500/readme.txt @@ -0,0 +1,52 @@ +Technologic Systems TS-5x00 SBCs +================================ + +This document explains how to set up a basic Buildroot system for the +Technologic Systems TS-5x00 serie of x86-based Single Board Computers. + +TS-5x00 Single Board Computers are based on the AMD Elan520 processor. For more +information please have a look at https://docs.embeddedTS.com/Documentation_Home#AMD + +The kernel configuration works for any AMD Elan520-based SBCs, but the support +is enhanced for the TS-5500 and TS-5400 models (on-board devices registration +and additional sysfs attributes under /sys/devices/platform/). + +To build the default configuration you only have to: + + $ make ts5500_defconfig + $ make + +You will need a Compact Flash card of sufficient size and the first or only +partition configured as Linux type, with the bootable flag. + +You can transfer the system on the partition then optionally resize it with: + + # dd if=output/images/rootfs.ext4 of=/dev/sdX1 + # resize2fs /dev/sdX1 + +Or you can just extract the root filesystem to the partition with: + + # mount /dev/sdX1 /mnt + # tar -pxf output/images/rootfs.tar -C /mnt + # umount /mnt + +To install the bootloader, you will need to copy the MBR: + + # cat output/images/syslinux/mbr.bin > /dev/sdX + +Then install SYSLINUX in the mounted partition: + + # mount /dev/sdX1 /mnt + # output/host/sbin/extlinux --install /mnt/boot/syslinux + # umount /mnt + +IMPORTANT: In order for the board to boot the Compact Flash with a recent +config, the BIOS must use Logical Block Addressing (LBA). You can do it by +choosing "Ide 0: AUTOCONFIG, LBA" under "IDE DRIVE GEOMETRY" in the "Basic CMOS +Configuration" screen. Also, don't forget to set the 'active' (or 'bootable') +flag on partition 1. For details about the CMOS setup, please see: +https://docs.embeddedts.com/TS-5500#System_BIOS_Setup_Screens + +Connect a terminal program to the rs232 connector marked "COM2" +with baudrate set to 115200, insert the Compact Flash card into the socket, +power up the board, and enjoy. diff --git a/buildroot-2022.02.1/board/technologic/ts7680/genimage.cfg b/buildroot-2022.02.1/board/technologic/ts7680/genimage.cfg new file mode 100644 index 00000000..58a63edd --- /dev/null +++ b/buildroot-2022.02.1/board/technologic/ts7680/genimage.cfg @@ -0,0 +1,14 @@ +image sdcard.img { + hdimage { + } + + partition unused { + size = 512 + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 256M + } +} diff --git a/buildroot-2022.02.1/board/technologic/ts7680/readme.txt b/buildroot-2022.02.1/board/technologic/ts7680/readme.txt new file mode 100644 index 00000000..3f703330 --- /dev/null +++ b/buildroot-2022.02.1/board/technologic/ts7680/readme.txt @@ -0,0 +1,50 @@ +Technologic Systems TS-7680 SBC +=============================== + +This document explains how to set up a basic Buildroot system for +the Technologic Systems TS-7680 Single Board Computer. + +The TS-7680 SBC is based on the Freescale i.MX286 ARM ARM926EJ-S +running at 454MHz. The TS-7680 features are 10/100 Ethernet ports, +Wi-Fi, microSD card, eMMC, NOR Flash, USB host port, CAN ports, +relays and ADC/DAC. More details on the board here: +https://docs.embeddedTS.com/TS-7680 + +The TS-7680 uses a 4.9 Linux kernel provided by Technologic Systems. + +To build the default configuration you only have to run: + + $ make ts7680_defconfig + $ make + +The output looks like: +output/images +├── imx28-ts7680.dtb +├── rootfs.ext2 +├── rootfs.ext4 -> rootfs.ext2 +├── rootfs.tar +├── sdcard.img +└── uImage + +The provided genimage configuration generates an image file containing +two partitions. The first one is unused, but mandatory as the +TS-7680 built-in bootloader loads the Linux uImage from the /boot +directory in the second partition. The second partition contains the +rootfs with the Linux uImage into the /boot directory. + + $ fdisk output/images/sdcard.img + output/images/sdcard.img1 1 1 1 512B 0 Empty + output/images/sdcard.img2 2 524289 524288 256M 83 Linux + +This image can be directly written to an SD card. + + $ sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 + +To boot with Buildroot, insert this SD card on the board, make sure +the SD jumper is present and the U-Boot jumper is not. + +The bootloader comes pre-flashed on the board on an SPI flash. Since +updating the bootloader is risky and not trivial, it is not included +in the Buildroot defconfig. Refer to +https://docs.embeddedts.com/TS-7680#U-Boot for details on +which U-Boot config to use and how to flash it. diff --git a/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/boot/mmc b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/boot/mmc new file mode 100644 index 00000000..fed2b0b4 --- /dev/null +++ b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/boot/mmc @@ -0,0 +1,8 @@ +#!/bin/sh + +global.bootm.oftree="/boot/socfpga_cyclone5_de0_nano_soc.dtb" +global.bootm.image="/boot/zImage" + +#bootargs-ip + +global.linux.bootargs.dyn.root="root=/dev/mmcblk0p3 rw rootwait" diff --git a/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/init/automount b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/init/automount new file mode 100644 index 00000000..4092ecba --- /dev/null +++ b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/init/automount @@ -0,0 +1,5 @@ +#!/bin/sh + +# SD card slot, first partition +mkdir -p /mnt/mmcblk0p2 +automount -d /mnt/mmcblk0p2 'mount /dev/mmc0.1 /mnt/mmcblk0p2' diff --git a/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/nv/boot.default b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/nv/boot.default new file mode 100644 index 00000000..61f529d6 --- /dev/null +++ b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/nv/boot.default @@ -0,0 +1 @@ +mmc diff --git a/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/nv/linux.bootargs.console b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/nv/linux.bootargs.console new file mode 100644 index 00000000..476b1fbe --- /dev/null +++ b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/barebox-env/nv/linux.bootargs.console @@ -0,0 +1 @@ +console=ttyS0,115200 diff --git a/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/genimage.cfg b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/genimage.cfg new file mode 100644 index 00000000..815e4a1b --- /dev/null +++ b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/genimage.cfg @@ -0,0 +1,43 @@ +image boot.vfat { + vfat { + file zImage { + image = "zImage" + } + + file socfpga_cyclone5_de0_nano_soc.dtb { + image = "socfpga_cyclone5_de0_nano_soc.dtb" + } + + file barebox.bin { + image = "barebox-socfpga-de10_nano.img" + } + + file barebox.env { + image = "barebox-env" + } + } + + size = 8M +} + +image sdcard.img { + hdimage { + } + + partition spl { + partition-type = 0xa2 + image = "barebox-socfpga-de10_nano-xload.img" + size = 1M + } + + partition boot { + partition-type = 0xc + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + } +} diff --git a/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/readme.txt b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/readme.txt new file mode 100644 index 00000000..f9d8fc75 --- /dev/null +++ b/buildroot-2022.02.1/board/terasic/de10nano_cyclone5/readme.txt @@ -0,0 +1,41 @@ +Terasic DE10 Nano Development Board + +Intro +===== + +More information about this board can be found here: +https://rocketboards.org/foswiki/Documentation/DE10NanoDevelopmentBoard + +Build +===== + +First, load socrates config for buildroot + + make terasic_de10nano_cyclone5_defconfig + +Build everything + + make + +Following files will be generated in output/images + +. +├── barebox-env +├── barebox-socfpga-de10_nano.img +├── barebox-socfpga-de10_nano-xload.img +├── boot.vfat +├── rootfs.ext2 +├── rootfs.ext4 -> rootfs.ext2 +├── rootfs.tar +├── sdcard.img +├── socfpga_cyclone5_de0_nano_soc.dtb +└── zImage + +Creating bootable SD card +========================= + +Simply invoke + +dd if=output/images/sdcard.img of=/dev/sdX + +Where X is your SD card device (not partition) diff --git a/buildroot-2022.02.1/board/toradex/apalis-imx6/genimage.cfg b/buildroot-2022.02.1/board/toradex/apalis-imx6/genimage.cfg new file mode 100644 index 00000000..a277deca --- /dev/null +++ b/buildroot-2022.02.1/board/toradex/apalis-imx6/genimage.cfg @@ -0,0 +1,15 @@ +# Minimal SD card image for the Toradex Apalis i.MX6 COM +# +# It does not need a boot section for a bootloader since it is booted +# from its internal flash memory (eMMC). + +image sdcard.img { + hdimage { + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext2" + size = 512M + } +} diff --git a/buildroot-2021.05/board/toradex/apalis-imx6/post-image.sh b/buildroot-2022.02.1/board/toradex/apalis-imx6/post-image.sh similarity index 100% rename from buildroot-2021.05/board/toradex/apalis-imx6/post-image.sh rename to buildroot-2022.02.1/board/toradex/apalis-imx6/post-image.sh diff --git a/buildroot-2021.05/board/toradex/apalis-imx6/readme.txt b/buildroot-2022.02.1/board/toradex/apalis-imx6/readme.txt similarity index 100% rename from buildroot-2021.05/board/toradex/apalis-imx6/readme.txt rename to buildroot-2022.02.1/board/toradex/apalis-imx6/readme.txt diff --git a/buildroot-2021.05/board/toradex/apalis-imx6/uEnv.txt b/buildroot-2022.02.1/board/toradex/apalis-imx6/uEnv.txt similarity index 100% rename from buildroot-2021.05/board/toradex/apalis-imx6/uEnv.txt rename to buildroot-2022.02.1/board/toradex/apalis-imx6/uEnv.txt diff --git a/buildroot-2022.02.1/board/udoo/common/boot.scr.txt b/buildroot-2022.02.1/board/udoo/common/boot.scr.txt new file mode 100644 index 00000000..7a7d756c --- /dev/null +++ b/buildroot-2022.02.1/board/udoo/common/boot.scr.txt @@ -0,0 +1,7 @@ +setenv finduuid "part uuid mmc 1:1 uuid" +run finduuid +run findfdt +setenv bootargs "console=${console} root=PARTUUID=${uuid} rootwait rootfstype=ext4" +load mmc 1:1 ${fdt_addr} boot/${fdtfile} +load mmc 1:1 ${loadaddr} boot/zImage +bootz ${loadaddr} - ${fdt_addr} diff --git a/buildroot-2021.05/board/udoo/common/post-build.sh b/buildroot-2022.02.1/board/udoo/common/post-build.sh similarity index 100% rename from buildroot-2021.05/board/udoo/common/post-build.sh rename to buildroot-2022.02.1/board/udoo/common/post-build.sh diff --git a/buildroot-2021.05/board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch b/buildroot-2022.02.1/board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch similarity index 100% rename from buildroot-2021.05/board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch rename to buildroot-2022.02.1/board/udoo/mx6qdl/patches/linux/0000-udoo-disable-usbh1.patch diff --git a/buildroot-2021.05/board/udoo/mx6qdl/readme.txt b/buildroot-2022.02.1/board/udoo/mx6qdl/readme.txt similarity index 100% rename from buildroot-2021.05/board/udoo/mx6qdl/readme.txt rename to buildroot-2022.02.1/board/udoo/mx6qdl/readme.txt diff --git a/buildroot-2021.05/board/udoo/neo/readme.txt b/buildroot-2022.02.1/board/udoo/neo/readme.txt similarity index 100% rename from buildroot-2021.05/board/udoo/neo/readme.txt rename to buildroot-2022.02.1/board/udoo/neo/readme.txt diff --git a/buildroot-2022.02.1/board/uevm5432/genimage.cfg b/buildroot-2022.02.1/board/uevm5432/genimage.cfg new file mode 100644 index 00000000..dfe38822 --- /dev/null +++ b/buildroot-2022.02.1/board/uevm5432/genimage.cfg @@ -0,0 +1,27 @@ +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img" + } + } + + size = 8M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 512M + } +} diff --git a/buildroot-2022.02.1/board/uevm5432/readme.txt b/buildroot-2022.02.1/board/uevm5432/readme.txt new file mode 100644 index 00000000..4569fbd8 --- /dev/null +++ b/buildroot-2022.02.1/board/uevm5432/readme.txt @@ -0,0 +1,40 @@ +OMAP5432 uEVM +============= + +This file documents the Buildroot support for the OMAP5432 uEVM[1], a +single-board computer development platform based on the Texas Instruments +OMAP5432 system on a chip (SoC). + +How to build +============ + + $ make uevm5432_defconfig + $ make + +How to write the SD card +======================== + +Once the build process is finished you will have an image called "sdcard.img" +in the output/images/ directory. + +Copy the bootable "sdcard.img" onto an SD card with "dd": + + $ sudo dd if=output/images/sdcard.img of=/dev/sdX + $ sync + +Where /dev/sdX is the device node of your SD card (may be /dev/mmcblkX instead +depending on setup). + +To boot from SD card, set the SYSBOOT switches S1 of your OMAP5432 uEVM to the +following position: + + ON x x + x x + 1 2 3 4 + +Insert the micro SDcard in your OMAP5432 uEVM, and power it up with the POWER +ON push button switch S3. The console is on the micro USB Debug UART, with +serial settings 115200 8N1. Refer also to the quick start guide[2]. + +[1]: https://svtronics.com/5432 +[2]: https://www.ti.com/lit/ug/swcu131/swcu131.pdf diff --git a/buildroot-2021.05/board/wandboard/readme.txt b/buildroot-2022.02.1/board/wandboard/readme.txt similarity index 100% rename from buildroot-2021.05/board/wandboard/readme.txt rename to buildroot-2022.02.1/board/wandboard/readme.txt diff --git a/buildroot-2022.02.1/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf b/buildroot-2022.02.1/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf new file mode 100644 index 00000000..e3b90660 --- /dev/null +++ b/buildroot-2022.02.1/board/wandboard/rootfs_overlay/boot/extlinux/extlinux.conf @@ -0,0 +1,4 @@ +Label imx6qdl-wandboard Buildroot + kernel ../zImage + fdtdir ../ + append root=PARTUUID=${uuid} rootwait rw console=${console},${baudrate} diff --git a/buildroot-2021.05/board/warp7/readme.txt b/buildroot-2022.02.1/board/warp7/readme.txt similarity index 100% rename from buildroot-2021.05/board/warp7/readme.txt rename to buildroot-2022.02.1/board/warp7/readme.txt diff --git a/buildroot-2021.05/board/warp7/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt b/buildroot-2022.02.1/board/warp7/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt similarity index 100% rename from buildroot-2021.05/board/warp7/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt rename to buildroot-2022.02.1/board/warp7/rootfs_overlay/lib/firmware/brcm/brcmfmac43430-sdio.txt diff --git a/buildroot-2022.02.1/board/zynq/genimage.cfg b/buildroot-2022.02.1/board/zynq/genimage.cfg new file mode 100644 index 00000000..67baca79 --- /dev/null +++ b/buildroot-2022.02.1/board/zynq/genimage.cfg @@ -0,0 +1,27 @@ +image boot.vfat { + vfat { + files = { + "boot.bin", + "u-boot.img", + "devicetree.dtb", + "uImage" + } + + file uramdisk.image.gz { + image = "rootfs.cpio.uboot" + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } +} diff --git a/buildroot-2021.05/board/zynq/post-image.sh b/buildroot-2022.02.1/board/zynq/post-image.sh similarity index 100% rename from buildroot-2021.05/board/zynq/post-image.sh rename to buildroot-2022.02.1/board/zynq/post-image.sh diff --git a/buildroot-2021.05/board/zynq/readme.txt b/buildroot-2022.02.1/board/zynq/readme.txt similarity index 100% rename from buildroot-2021.05/board/zynq/readme.txt rename to buildroot-2022.02.1/board/zynq/readme.txt diff --git a/buildroot-2022.02.1/board/zynqmp/extlinux.conf b/buildroot-2022.02.1/board/zynqmp/extlinux.conf new file mode 100644 index 00000000..ae3ec861 --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/extlinux.conf @@ -0,0 +1,5 @@ +label linux + kernel /Image + devicetree /system.dtb + append console=ttyPS0,115200 root=/dev/mmcblk0p2 rw rootwait + diff --git a/buildroot-2022.02.1/board/zynqmp/genimage.cfg b/buildroot-2022.02.1/board/zynqmp/genimage.cfg new file mode 100644 index 00000000..20d8352c --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/genimage.cfg @@ -0,0 +1,31 @@ +image boot.vfat { + vfat { + files = { + "boot.bin", + "u-boot.itb", + "system.dtb", + "Image" + } + file extlinux/extlinux.conf { + image = extlinux.conf + } + } + + size = 32M +} + +image sdcard.img { + hdimage { + } + + partition boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + } +} diff --git a/buildroot-2022.02.1/board/zynqmp/post-build.sh b/buildroot-2022.02.1/board/zynqmp/post-build.sh new file mode 100755 index 00000000..9fd8bbf2 --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/post-build.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# genimage will need to find the extlinux.conf +# in the binaries directory + +BOARD_DIR="$(dirname $0)" + +install -m 0644 -D $BOARD_DIR/extlinux.conf $BINARIES_DIR/extlinux.conf diff --git a/buildroot-2022.02.1/board/zynqmp/post-image.sh b/buildroot-2022.02.1/board/zynqmp/post-image.sh new file mode 100755 index 00000000..ed6dbe18 --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/post-image.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# By default U-Boot loads DTB from a file named "system.dtb", so +# let's use a symlink with that name that points to the *first* +# devicetree listed in the config. + +FIRST_DT=$(sed -nr \ + -e 's|^BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/([-_/[:alnum:]\\.]*).*"$|\1|p' \ + ${BR2_CONFIG}) + +[ -z "${FIRST_DT}" ] || ln -fs ${FIRST_DT}.dtb ${BINARIES_DIR}/system.dtb + +BOARD_DIR="$(dirname $0)" + +support/scripts/genimage.sh -c $BOARD_DIR/genimage.cfg diff --git a/buildroot-2022.02.1/board/zynqmp/readme.txt b/buildroot-2022.02.1/board/zynqmp/readme.txt new file mode 100644 index 00000000..dcde4220 --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/readme.txt @@ -0,0 +1,61 @@ +****************************************** +Xilinx ZCU102 / ZCU106 boards - ZynqMP SoC +****************************************** + +This document describes the Buildroot support for the ZCU102 and +ZCU106 boards by Xilinx, based on the Zynq UltraScale+ MPSoC (aka +ZynqMP). It has been tested with the ZCU102 and ZCU106 production +boards. + +Evaluation board features can be found here with the links below. + +ZCU102: +https://www.xilinx.com/products/boards-and-kits/zcu102.html + +ZCU106: +https://www.xilinx.com/products/boards-and-kits/zcu106.html + + +How to build it +=============== + +Configure Buildroot: + + $ make zynqmp_zcu106_defconfig + +Compile everything and build the rootfs image: + + $ make + +Result of the build +------------------- + +After building, you should get a tree like this: + + output/images/ + +-- atf-uboot.ub + +-- bl31.bin + +-- boot.bin + +-- boot.vfat + +-- Image + +-- rootfs.ext2 + +-- rootfs.ext4 -> rootfs.ext2 + +-- sdcard.img + +-- system.dtb -> zynqmp-zcu106-revA.dtb + +-- u-boot.itb + `-- zynqmp-zcu106-revA.dtb + +How to write the SD card +======================== + +WARNING! This will destroy all the card content. Use with care! + +The sdcard.img file is a complete bootable image ready to be written +on the boot medium. To install it, simply copy the image to an SD +card: + + # dd if=output/images/sdcard.img of=/dev/sdX + +Where 'sdX' is the device node of the SD. + +Eject the SD card, insert it in the board, and power it up. diff --git a/buildroot-2022.02.1/board/zynqmp/zcu102/pm_cfg_obj.c b/buildroot-2022.02.1/board/zynqmp/zcu102/pm_cfg_obj.c new file mode 100644 index 00000000..68557c4c --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/zcu102/pm_cfg_obj.c @@ -0,0 +1,563 @@ +/****************************************************************************** +* Copyright (c) 2017 - 2021 Xilinx, Inc. All rights reserved. +* SPDX-License-Identifier: MIT +******************************************************************************/ + +#include "xil_types.h" +#include "pm_defs.h" + +#define PM_CONFIG_MASTER_SECTION_ID 0x101U +#define PM_CONFIG_SLAVE_SECTION_ID 0x102U +#define PM_CONFIG_PREALLOC_SECTION_ID 0x103U +#define PM_CONFIG_POWER_SECTION_ID 0x104U +#define PM_CONFIG_RESET_SECTION_ID 0x105U +#define PM_CONFIG_SHUTDOWN_SECTION_ID 0x106U +#define PM_CONFIG_SET_CONFIG_SECTION_ID 0x107U +#define PM_CONFIG_GPO_SECTION_ID 0x108U + +#define PM_SLAVE_FLAG_IS_SHAREABLE 0x1U +#define PM_MASTER_USING_SLAVE_MASK 0x2U + +#define PM_CONFIG_GPO1_MIO_PIN_34_MAP (1U << 10U) +#define PM_CONFIG_GPO1_MIO_PIN_35_MAP (1U << 11U) +#define PM_CONFIG_GPO1_MIO_PIN_36_MAP (1U << 12U) +#define PM_CONFIG_GPO1_MIO_PIN_37_MAP (1U << 13U) + +#define PM_CONFIG_GPO1_BIT_2_MASK (1U << 2U) +#define PM_CONFIG_GPO1_BIT_3_MASK (1U << 3U) +#define PM_CONFIG_GPO1_BIT_4_MASK (1U << 4U) +#define PM_CONFIG_GPO1_BIT_5_MASK (1U << 5U) + +#define SUSPEND_TIMEOUT 0xFFFFFFFFU + +#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK 0x00000001 +#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK 0x00000100 +#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK 0x00000200 + + + +#if defined (__ICCARM__) +#pragma language=save +#pragma language=extended +#endif +#if defined (__GNUC__) + const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) = +#elif defined (__ICCARM__) +#pragma location = ".sys_cfg_data" +__root const u32 XPm_ConfigObject[] = +#endif +{ + /**********************************************************************/ + /* HEADER */ + 2, /* Number of remaining words in the header */ + 8, /* Number of sections included in config object */ + 1U, /* Type of config object as base */ + /**********************************************************************/ + /* MASTER SECTION */ + PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */ + 3U, /* No. of Masters*/ + + NODE_APU, /* Master Node ID */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */ + SUSPEND_TIMEOUT, /* Suspend timeout */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ + + NODE_RPU_0, /* Master Node ID */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */ + SUSPEND_TIMEOUT, /* Suspend timeout */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ + + NODE_RPU_1, /* Master Node ID */ + PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */ + SUSPEND_TIMEOUT, /* Suspend timeout */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */ + + + /**********************************************************************/ + /* SLAVE SECTION */ + + + PM_CONFIG_SLAVE_SECTION_ID, /* Section ID */ + 49, /* Number of slaves */ + + NODE_OCM_BANK_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_OCM_BANK_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_OCM_BANK_2, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_OCM_BANK_3, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TCM_0_A, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ + + NODE_TCM_0_B, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ + + NODE_TCM_1_A, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TCM_1_B, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_L2, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GPU_PP_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GPU_PP_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_USB_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_USB_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_TTC_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TTC_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TTC_2, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TTC_3, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_SATA, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_ETH_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_ETH_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_ETH_2, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_ETH_3, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_UART_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_UART_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_SPI_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_SPI_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_I2C_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_I2C_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_SD_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_SD_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_DP, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GDMA, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_ADMA, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_NAND, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_QSPI, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GPIO, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_CAN_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_CAN_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_EXTERN, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_DDR, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_IPI_APU, + 0U, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */ + + NODE_IPI_RPU_0, + 0U, + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ + + NODE_IPI_RPU_1, + 0U, + PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GPU, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_PCIE, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_PCAP, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_RTC, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_VCU, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_PL, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + + /**********************************************************************/ + /* PREALLOC SECTION */ + + PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */ + 3U, /* No. of Masters*/ + +/* Prealloc for psu_cortexa53_0 */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, + 12, + NODE_DDR, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_L2, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_OCM_BANK_0, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_OCM_BANK_1, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_OCM_BANK_2, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_OCM_BANK_3, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_I2C_0, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_I2C_1, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_SD_1, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_QSPI, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_PL, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_IPI_APU, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + + /* Prealloc for psu_cortexr5_0 */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, + 3, + NODE_TCM_0_A, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_TCM_0_B, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_IPI_RPU_0, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + + /* Prealloc for psu_cortexr5_1 */ + PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + 3, + NODE_TCM_1_A, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_TCM_1_B, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_IPI_RPU_1, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + + + /**********************************************************************/ + /* POWER SECTION */ + + PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */ + 4U, /* Number of power nodes */ + + NODE_APU, /* Power node ID */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ + + NODE_RPU, /* Power node ID */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ + + NODE_FPD, /* Power node ID */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ + + NODE_PLD, /* Power node ID */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ + + + /**********************************************************************/ + /* RESET SECTION */ + + PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */ + 120U, /* Number of resets */ + + XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SYSMON, 0, + XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, + XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + + /**********************************************************************/ + /* SET CONFIG SECTION */ + PM_CONFIG_SET_CONFIG_SECTION_ID, /* Set Config Section ID */ + 0U, /* Permissions to load base config object */ + 0U, /* Permissions to load overlay config object */ + + /**********************************************************************/ + /* SHUTDOWN SECTION */ + + PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */ + + /**********************************************************************/ + /* GPO SECTION */ + PM_CONFIG_GPO_SECTION_ID, /* GPO Section ID */ + PM_CONFIG_GPO1_BIT_2_MASK | + PM_CONFIG_GPO1_MIO_PIN_34_MAP | + PM_CONFIG_GPO1_MIO_PIN_35_MAP | + PM_CONFIG_GPO1_MIO_PIN_36_MAP | + PM_CONFIG_GPO1_MIO_PIN_37_MAP | + 0, /* State of GPO pins */ +}; +#if defined (__ICCARM__) +#pragma language=restore +#endif + diff --git a/buildroot-2022.02.1/board/zynqmp/zcu102/uboot.fragment b/buildroot-2022.02.1/board/zynqmp/zcu102/uboot.fragment new file mode 100644 index 00000000..52d6d9df --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/zcu102/uboot.fragment @@ -0,0 +1 @@ +CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu102-rev1.0" diff --git a/buildroot-2022.02.1/board/zynqmp/zcu106/pm_cfg_obj.c b/buildroot-2022.02.1/board/zynqmp/zcu106/pm_cfg_obj.c new file mode 100644 index 00000000..6d15d510 --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/zcu106/pm_cfg_obj.c @@ -0,0 +1,562 @@ +/****************************************************************************** +* Copyright (c) 2017 - 2021 Xilinx, Inc. All rights reserved. +* SPDX-License-Identifier: MIT +******************************************************************************/ + +#include "xil_types.h" +#include "pm_defs.h" + +#define PM_CONFIG_MASTER_SECTION_ID 0x101U +#define PM_CONFIG_SLAVE_SECTION_ID 0x102U +#define PM_CONFIG_PREALLOC_SECTION_ID 0x103U +#define PM_CONFIG_POWER_SECTION_ID 0x104U +#define PM_CONFIG_RESET_SECTION_ID 0x105U +#define PM_CONFIG_SHUTDOWN_SECTION_ID 0x106U +#define PM_CONFIG_SET_CONFIG_SECTION_ID 0x107U +#define PM_CONFIG_GPO_SECTION_ID 0x108U + +#define PM_SLAVE_FLAG_IS_SHAREABLE 0x1U +#define PM_MASTER_USING_SLAVE_MASK 0x2U + +#define PM_CONFIG_GPO1_MIO_PIN_34_MAP (1U << 10U) +#define PM_CONFIG_GPO1_MIO_PIN_35_MAP (1U << 11U) +#define PM_CONFIG_GPO1_MIO_PIN_36_MAP (1U << 12U) +#define PM_CONFIG_GPO1_MIO_PIN_37_MAP (1U << 13U) + +#define PM_CONFIG_GPO1_BIT_2_MASK (1U << 2U) +#define PM_CONFIG_GPO1_BIT_3_MASK (1U << 3U) +#define PM_CONFIG_GPO1_BIT_4_MASK (1U << 4U) +#define PM_CONFIG_GPO1_BIT_5_MASK (1U << 5U) + +#define SUSPEND_TIMEOUT 0xFFFFFFFFU + +#define PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK 0x00000001 +#define PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK 0x00000100 +#define PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK 0x00000200 + + + +#if defined (__ICCARM__) +#pragma language=save +#pragma language=extended +#endif +#if defined (__GNUC__) + const u32 XPm_ConfigObject[] __attribute__((used, section(".sys_cfg_data"))) = +#elif defined (__ICCARM__) +#pragma location = ".sys_cfg_data" +__root const u32 XPm_ConfigObject[] = +#endif +{ + /**********************************************************************/ + /* HEADER */ + 2, /* Number of remaining words in the header */ + 8, /* Number of sections included in config object */ + 1U, /* Type of config object as base */ + /**********************************************************************/ + /* MASTER SECTION */ + PM_CONFIG_MASTER_SECTION_ID, /* Master SectionID */ + 3U, /* No. of Masters*/ + + NODE_APU, /* Master Node ID */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask of this master */ + SUSPEND_TIMEOUT, /* Suspend timeout */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ + + NODE_RPU_0, /* Master Node ID */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask of this master */ + SUSPEND_TIMEOUT, /* Suspend timeout */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Suspend permissions */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Wake permissions */ + + NODE_RPU_1, /* Master Node ID */ + PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask of this master */ + SUSPEND_TIMEOUT, /* Suspend timeout */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Suspend permissions */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* Wake permissions */ + + + /**********************************************************************/ + /* SLAVE SECTION */ + + + PM_CONFIG_SLAVE_SECTION_ID, /* Section ID */ + 49, /* Number of slaves */ + + NODE_OCM_BANK_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_OCM_BANK_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_OCM_BANK_2, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_OCM_BANK_3, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TCM_0_A, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ + + NODE_TCM_0_B, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ + + NODE_TCM_1_A, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TCM_1_B, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_L2, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GPU_PP_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GPU_PP_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_USB_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_USB_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_TTC_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TTC_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TTC_2, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_TTC_3, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_SATA, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_ETH_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_ETH_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_ETH_2, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_ETH_3, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_UART_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_UART_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_SPI_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_SPI_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_I2C_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_I2C_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_SD_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_SD_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_DP, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GDMA, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_ADMA, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_NAND, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_QSPI, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GPIO, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_CAN_0, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_CAN_1, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_EXTERN, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_DDR, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK| PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_IPI_APU, + 0U, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, /* IPI Mask */ + + NODE_IPI_RPU_0, + 0U, + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, /* IPI Mask */ + + NODE_IPI_RPU_1, + 0U, + PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_GPU, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_PCIE, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_PCAP, + PM_SLAVE_FLAG_IS_SHAREABLE, + 0U, /* IPI Mask */ + + NODE_RTC, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_VCU, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + NODE_PL, + PM_SLAVE_FLAG_IS_SHAREABLE, + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* IPI Mask */ + + + /**********************************************************************/ + /* PREALLOC SECTION */ + + PM_CONFIG_PREALLOC_SECTION_ID, /* Preallaoc SectionID */ + 3U, /* No. of Masters*/ + +/* Prealloc for psu_cortexa53_0 */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK, + 12, + NODE_DDR, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_L2, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_OCM_BANK_0, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_OCM_BANK_1, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_OCM_BANK_2, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_OCM_BANK_3, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_I2C_0, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_I2C_1, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_SD_1, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_QSPI, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_PL, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_IPI_APU, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + + /* Prealloc for psu_cortexr5_0 */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, + 3, + NODE_TCM_0_A, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_TCM_0_B, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_IPI_RPU_0, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + + /* Prealloc for psu_cortexr5_1 */ + PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + 3, + NODE_TCM_1_A, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_TCM_1_B, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + NODE_IPI_RPU_1, + PM_MASTER_USING_SLAVE_MASK, /* Master is using Slave */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Current Requirements */ + PM_CAP_ACCESS | PM_CAP_CONTEXT, /* Default Requirements */ + + + + /**********************************************************************/ + /* POWER SECTION */ + + PM_CONFIG_POWER_SECTION_ID, /* Power Section ID */ + 4U, /* Number of power nodes */ + + NODE_APU, /* Power node ID */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ + + NODE_RPU, /* Power node ID */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ + + NODE_FPD, /* Power node ID */ + PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ + + NODE_PLD, /* Power node ID */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* Force power down permissions */ + + + /**********************************************************************/ + /* RESET SECTION */ + + PM_CONFIG_RESET_SECTION_ID, /* Reset Section ID */ + 120U, /* Number of resets */ + + XILPM_RESET_PCIE_CFG, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_PCIE_BRIDGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_PCIE_CTRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SWDT_CRF, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_AFI_FM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GDMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPU_PP1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPU_PP0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPU, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SATA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU3_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU2_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU1_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU0_PWRON, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_APU_L2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ACPU0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DDR, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_APM_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SOFT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GEM0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GEM1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GEM2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GEM3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_QSPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_UART0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_UART1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SPI0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SPI1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SDIO0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SDIO1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_CAN0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_CAN1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_I2C0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_I2C1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TTC0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TTC1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TTC2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TTC3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SWDT_CRL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_NAND, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_ADMA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_IOU_CC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_TIMESTAMP, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_R50, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_R51, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_AMBA, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_OCM, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_PGE, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB0_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB1_CORERESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB0_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB1_HIBERRESET, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB0_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_USB1_APB, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_IPI, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_APM_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RTC, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_SYSMON, 0, + XILPM_RESET_AFI_FM6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_LPD_SWDT, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_FPD, PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK, + XILPM_RESET_RPU_DBG1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_DBG0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DBG_LPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DBG_FPD, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_APLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_DPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_VPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_IOPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPLL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_0, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_1, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_2, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_3, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_4, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_5, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_6, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_7, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_8, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_9, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_10, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_11, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_12, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_13, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_14, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_15, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_16, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_17, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_18, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_19, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_20, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_21, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_22, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_23, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_24, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_25, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_26, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_27, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_28, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_29, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_30, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPO3_PL_31, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_RPU_LS, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_PS_ONLY, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_PL, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO5_EMIO_92, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO5_EMIO_93, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO5_EMIO_94, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + XILPM_RESET_GPIO5_EMIO_95, PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, + + /**********************************************************************/ + /* SET CONFIG SECTION */ + PM_CONFIG_SET_CONFIG_SECTION_ID, /* Set Config Section ID */ + 0U, /* Permissions to load base config object */ + 0U, /* Permissions to load overlay config object */ + + /**********************************************************************/ + /* SHUTDOWN SECTION */ + + PM_CONFIG_SHUTDOWN_SECTION_ID, /* Shutdown Section ID */ + PM_CONFIG_IPI_PSU_CORTEXA53_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_0_MASK | PM_CONFIG_IPI_PSU_CORTEXR5_1_MASK, /* System Shutdown/Restart Permission */ + + /**********************************************************************/ + /* GPO SECTION */ + PM_CONFIG_GPO_SECTION_ID, /* GPO Section ID */ + PM_CONFIG_GPO1_MIO_PIN_34_MAP | + PM_CONFIG_GPO1_MIO_PIN_35_MAP | + PM_CONFIG_GPO1_MIO_PIN_36_MAP | + PM_CONFIG_GPO1_MIO_PIN_37_MAP | + 0, /* State of GPO pins */ +}; +#if defined (__ICCARM__) +#pragma language=restore +#endif + diff --git a/buildroot-2022.02.1/board/zynqmp/zcu106/uboot.fragment b/buildroot-2022.02.1/board/zynqmp/zcu106/uboot.fragment new file mode 100644 index 00000000..cd571171 --- /dev/null +++ b/buildroot-2022.02.1/board/zynqmp/zcu106/uboot.fragment @@ -0,0 +1 @@ +CONFIG_DEFAULT_DEVICE_TREE="zynqmp-zcu106-revA" diff --git a/buildroot-2022.02.1/boot/Config.in b/buildroot-2022.02.1/boot/Config.in new file mode 100644 index 00000000..40472ae0 --- /dev/null +++ b/buildroot-2022.02.1/boot/Config.in @@ -0,0 +1,28 @@ +menu "Bootloaders" + +source "boot/afboot-stm32/Config.in" +source "boot/at91bootstrap/Config.in" +source "boot/at91bootstrap3/Config.in" +source "boot/at91dataflashboot/Config.in" +source "boot/arm-trusted-firmware/Config.in" +source "boot/barebox/Config.in" +source "boot/beaglev-ddrinit/Config.in" +source "boot/beaglev-secondboot/Config.in" +source "boot/binaries-marvell/Config.in" +source "boot/boot-wrapper-aarch64/Config.in" +source "boot/edk2/Config.in" +source "boot/grub2/Config.in" +source "boot/gummiboot/Config.in" +source "boot/lpc32xxcdl/Config.in" +source "boot/mv-ddr-marvell/Config.in" +source "boot/mxs-bootlets/Config.in" +source "boot/optee-os/Config.in" +source "boot/opensbi/Config.in" +source "boot/s500-bootloader/Config.in" +source "boot/shim/Config.in" +source "boot/sun20i-d1-spl/Config.in" +source "boot/syslinux/Config.in" +source "boot/uboot/Config.in" +source "boot/vexpress-firmware/Config.in" + +endmenu diff --git a/buildroot-2021.05/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/boot/afboot-stm32/0001-Pass-fno-builtin-to-fix-build-with-gcc-10.patch diff --git a/buildroot-2022.02.1/boot/afboot-stm32/Config.in b/buildroot-2022.02.1/boot/afboot-stm32/Config.in new file mode 100644 index 00000000..23372705 --- /dev/null +++ b/buildroot-2022.02.1/boot/afboot-stm32/Config.in @@ -0,0 +1,27 @@ +config BR2_TARGET_AFBOOT_STM32 + bool "afboot-stm32" + depends on BR2_arm + help + afboot-stm32 is a very small bootloader for STM32 platforms + + https://github.com/mcoquelin-stm32/afboot-stm32 + +if BR2_TARGET_AFBOOT_STM32 + +config BR2_TARGET_AFBOOT_STM32_KERNEL_ADDR + hex "Kernel load address" + default "0x08008000" + help + This is the physical address in your flash memory the kernel + will be linked for and stored to. This address is dependent on + your own flash usage. + +config BR2_TARGET_AFBOOT_STM32_DTB_ADDR + hex "Device-tree load address" + default "0x08004000" + help + This is the physical address in your flash memory the + device-tree will be stored to. This address is dependent on + your own flash usage. + +endif diff --git a/buildroot-2022.02.1/boot/afboot-stm32/afboot-stm32.hash b/buildroot-2022.02.1/boot/afboot-stm32/afboot-stm32.hash new file mode 100644 index 00000000..d22c96d4 --- /dev/null +++ b/buildroot-2022.02.1/boot/afboot-stm32/afboot-stm32.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 2caacd302ab3ed5b70b3b93a6aef04162abf779c758a5be547be3ab01b68ca10 afboot-stm32-3566acd582e5536fb60864281788a30f5527df2d.tar.gz diff --git a/buildroot-2022.02.1/boot/afboot-stm32/afboot-stm32.mk b/buildroot-2022.02.1/boot/afboot-stm32/afboot-stm32.mk new file mode 100644 index 00000000..25ba13c8 --- /dev/null +++ b/buildroot-2022.02.1/boot/afboot-stm32/afboot-stm32.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# afboot-stm32 +# +################################################################################ + +AFBOOT_STM32_VERSION = 3566acd582e5536fb60864281788a30f5527df2d +AFBOOT_STM32_SITE = $(call github,mcoquelin-stm32,afboot-stm32,$(AFBOOT_STM32_VERSION)) +AFBOOT_STM32_INSTALL_IMAGES = YES +AFBOOT_STM32_INSTALL_TARGET = NO + +define AFBOOT_STM32_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CROSS_COMPILE=$(TARGET_CROSS) all \ + KERNEL_ADDR=$(BR2_TARGET_AFBOOT_STM32_KERNEL_ADDR) \ + DTB_ADDR=$(BR2_TARGET_AFBOOT_STM32_DTB_ADDR) +endef + +define AFBOOT_STM32_INSTALL_IMAGES_CMDS + $(INSTALL) -m 0755 -t $(BINARIES_DIR) -D $(@D)/stm32*.bin +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/boot/arm-trusted-firmware/Config.in b/buildroot-2022.02.1/boot/arm-trusted-firmware/Config.in new file mode 100644 index 00000000..b1fc03e1 --- /dev/null +++ b/buildroot-2022.02.1/boot/arm-trusted-firmware/Config.in @@ -0,0 +1,224 @@ +config BR2_TARGET_ARM_TRUSTED_FIRMWARE + bool "ARM Trusted Firmware (ATF)" + depends on (BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A) && \ + (BR2_TARGET_UBOOT || BR2_TARGET_EDK2) + help + Enable this option if you want to build the ATF for your ARM + based embedded device. + + https://github.com/ARM-software/arm-trusted-firmware + +if BR2_TARGET_ARM_TRUSTED_FIRMWARE +choice + prompt "ATF Version" + help + Select the specific ATF version you want to use + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION + bool "v2.5" + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION + bool "Custom version" + help + This option allows to use a specific official versions + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL + bool "Custom tarball" + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT + bool "Custom Git repository" + +endchoice + +if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION + string "URL of custom ATF tarball" + +endif + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE + string "ATF version" + depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION + string + default "v2.5" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION + default "custom" if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL + default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION \ + if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT + default BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE \ + if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION + +if BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL + string "URL of custom repository" + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION + string "Custom repository version" + help + Revision to use in the typical format used by Git + E.G. a sha id, a tag, .. + +endif + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM + string "ATF platform" + help + Target plaform to build for. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH + string "Device Tree Source file paths" + help + Space-separated list of paths to device tree source files + that will be copied to fdts/ before starting the build. + + To use this device tree source file, the ATF configuration + file must refer to it. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP + bool "Build FIP image" + help + This option enables building the FIP image (Firmware Image + Package). This is typically the image format used by + platforms were ATF encapsulates the second stage bootloader + (such as U-Boot). + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 + bool "Build BL31 image" + help + This option enables building the BL31 image. This is + typically used on platforms where another bootloader (e.g + U-Boot) encapsulates ATF BL31. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT + bool "Build BL31 U-Boot image" + select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 + help + Generates a U-Boot image named atf-uboot.ub containing + bl31.bin. This is used for example by the Xilinx version of + U-Boot SPL to load ATF on the ZynqMP SoC. + +choice + prompt "BL32" + default BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_DEFAULT + help + Select BL32 stage for the trusted firmware + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_DEFAULT + bool "Default" + help + With this option selected, ATF will not use any BL32 stage, + unless if one is explicitly chosen using the SPD (for + AArch64) or AARCH32_SP (for AArch32) variables, which can be + passed through + BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE + bool "OP-TEE OS" + depends on BR2_TARGET_OPTEE_OS + help + This option allows to embed OP-TEE OS as the BL32 part of + the ARM Trusted Firmware boot sequence. + +endchoice + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 + bool "Use U-Boot as BL33" + depends on BR2_TARGET_UBOOT + help + This option allows to embed u-boot.bin as the BL33 part of + the ARM Trusted Firmware. It ensures that the u-boot package + gets built before ATF, and that the appropriate BL33 + variable pointing to u-boot.bin is passed when building ATF. + +if BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE + string "U-Boot BL33 image name" + default "u-boot.bin" + help + Name of the U-Boot BL33 image to include in ATF, it must + have been installed to BINARIES_DIR by the U-Boot package. + +endif + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33 + bool "Use EDK2 as BL33" + depends on BR2_TARGET_EDK2 + help + This option allows to embed EDK2 as the BL33 part of + the ARM Trusted Firmware. It ensures that the EDK2 package + gets built before ATF, and that the appropriate BL33 + variable pointing to the EDK2 is passed when building ATF. + + Do not choose this option if you intend to build ATF and EDK2 + for the 'qemu_sbsa' platform. In this case, due to the EDK2 + build system, the dependency between ATF and EDK is reversed. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS + string "Additional ATF make targets" + help + Additional targets for the ATF build + E.G. When using the QorIQ custom ATF repository from NXP, + the target 'pbl' can be used to build the pbl binary. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES + string "Additional ATF build variables" + help + Additional parameters for the ATF build + E.G. 'DEBUG=1 LOG_LEVEL=20' + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_DEBUG + bool "Build in debug mode" + help + Enable this option to build ATF with DEBUG=1. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES + string "Binary boot images" + default "*.bin" + help + Names of generated image files that are installed in the + output images/ directory. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC + bool "Needs dtc" + select BR2_PACKAGE_HOST_DTC + help + Select this option if your ATF board configuration + requires the Device Tree compiler to be available. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN + bool "Needs arm-none-eabi toolchain" + depends on BR2_aarch64 + depends on BR2_HOSTARCH = "x86_64" + help + Select this option if your ATF board configuration requires + an ARM32 bare metal toolchain to be available. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP + bool "Build with SSP" + default y + depends on BR2_TOOLCHAIN_HAS_SSP + depends on !BR2_SSP_NONE + help + Say 'y' here if you want to build ATF with SSP. + + Your board must have SSP support in ATF: it must have an + implementation for plat_get_stack_protector_canary(). + + If you say 'y', the SSP level will be the level selected + by the global SSP setting. + +config BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP_LEVEL + string + # While newer versions of TF-A support "none" as + # ENABLE_STACK_PROTECTOR value, older versions (e.g 2.0) only + # supported "0" to disable SSP. + default "0" if !BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP + default "default" if BR2_SSP_REGULAR + default "strong" if BR2_SSP_STRONG + default "all" if BR2_SSP_ALL + +endif diff --git a/buildroot-2022.02.1/boot/arm-trusted-firmware/arm-trusted-firmware.hash b/buildroot-2022.02.1/boot/arm-trusted-firmware/arm-trusted-firmware.hash new file mode 100644 index 00000000..80402ec3 --- /dev/null +++ b/buildroot-2022.02.1/boot/arm-trusted-firmware/arm-trusted-firmware.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 d12a824afcc5cb90d005f9820f3274f1319cef1bb282e40a6a190b75900206d3 arm-trusted-firmware-v2.5.tar.gz +sha256 0171b0795501ee90634fbc4a7835e2fb215d9423daf1cf5b0d0682adde12c597 docs/license.rst diff --git a/buildroot-2022.02.1/boot/arm-trusted-firmware/arm-trusted-firmware.mk b/buildroot-2022.02.1/boot/arm-trusted-firmware/arm-trusted-firmware.mk new file mode 100644 index 00000000..03fa83b7 --- /dev/null +++ b/buildroot-2022.02.1/boot/arm-trusted-firmware/arm-trusted-firmware.mk @@ -0,0 +1,206 @@ +################################################################################ +# +# arm-trusted-firmware +# +################################################################################ + +ARM_TRUSTED_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION)) + +ifeq ($(ARM_TRUSTED_FIRMWARE_VERSION),custom) +# Handle custom ATF tarballs as specified by the configuration +ARM_TRUSTED_FIRMWARE_TARBALL = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION)) +ARM_TRUSTED_FIRMWARE_SITE = $(patsubst %/,%,$(dir $(ARM_TRUSTED_FIRMWARE_TARBALL))) +ARM_TRUSTED_FIRMWARE_SOURCE = $(notdir $(ARM_TRUSTED_FIRMWARE_TARBALL)) +else ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT),y) +ARM_TRUSTED_FIRMWARE_SITE = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL)) +ARM_TRUSTED_FIRMWARE_SITE_METHOD = git +else +# Handle stable official ATF versions +ARM_TRUSTED_FIRMWARE_SITE = $(call github,ARM-software,arm-trusted-firmware,$(ARM_TRUSTED_FIRMWARE_VERSION)) +# The licensing of custom or from-git versions is unknown. +# This is valid only for the latest (i.e. known) version. +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION),y) +ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3-Clause +ARM_TRUSTED_FIRMWARE_LICENSE_FILES = docs/license.rst +endif +endif + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE)$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION),y) +BR_NO_CHECK_HASH_FOR += $(ARM_TRUSTED_FIRMWARE_SOURCE) +endif + +ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES = YES + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC),y) +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-dtc +endif + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN),y) +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-arm-gnu-a-toolchain +endif + +ARM_TRUSTED_FIRMWARE_PLATFORM = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM)) + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_DEBUG),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += DEBUG=1 +ARM_TRUSTED_FIRMWARE_IMG_DIR = $(@D)/build/$(ARM_TRUSTED_FIRMWARE_PLATFORM)/debug +else +ARM_TRUSTED_FIRMWARE_IMG_DIR = $(@D)/build/$(ARM_TRUSTED_FIRMWARE_PLATFORM)/release +endif + +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES)) \ + PLAT=$(ARM_TRUSTED_FIRMWARE_PLATFORM) + +ARM_TRUSTED_FIRMWARE_MAKE_ENV += \ + $(TARGET_MAKE_ENV) \ + ENABLE_STACK_PROTECTOR=$(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP_LEVEL)) + +ifeq ($(BR2_ARM_CPU_ARMV7A),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARM_ARCH_MAJOR=7 +else ifeq ($(BR2_ARM_CPU_ARMV8A),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARM_ARCH_MAJOR=8 +endif + +ifeq ($(BR2_arm),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARCH=aarch32 +else ifeq ($(BR2_aarch64),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += ARCH=aarch64 +endif + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE),y) +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += optee-os +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \ + BL32=$(BINARIES_DIR)/tee-header_v2.bin \ + BL32_EXTRA1=$(BINARIES_DIR)/tee-pager_v2.bin \ + BL32_EXTRA2=$(BINARIES_DIR)/tee-pageable_v2.bin +ifeq ($(BR2_aarch64),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SPD=opteed +endif +ifeq ($(BR2_arm),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += AARCH32_SP=optee +endif +endif # BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33),y) +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += edk2 +# Since the flash device name vary between platforms, we use the variable +# provided by the EDK2 package for this. Using this variable here is OK +# as it will expand after all dependencies are resolved, inside _BUILD_CMDS. +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += \ + BL33=$(BINARIES_DIR)/$(call qstrip,$(BR2_TARGET_EDK2_FD_NAME).fd) +endif + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33),y) +ARM_TRUSTED_FIRMWARE_UBOOT_BIN = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_BL33_IMAGE)) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += BL33=$(BINARIES_DIR)/$(ARM_TRUSTED_FIRMWARE_UBOOT_BIN) +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += uboot +endif + +ifeq ($(BR2_TARGET_VEXPRESS_FIRMWARE),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += vexpress-firmware +endif + +ifeq ($(BR2_TARGET_BINARIES_MARVELL),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += SCP_BL2=$(BINARIES_DIR)/scp-fw.bin +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += binaries-marvell +endif + +ifeq ($(BR2_TARGET_MV_DDR_MARVELL),y) +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += MV_DDR_PATH=$(MV_DDR_MARVELL_DIR) +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += mv-ddr-marvell +endif + +ARM_TRUSTED_FIRMWARE_MAKE_TARGETS = all + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP),y) +ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += fip +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-openssl +# fiptool only exists in newer (>= 1.3) versions of ATF, so we build +# it conditionally. We need to explicitly build it as it requires +# OpenSSL, and therefore needs to be passed proper variables to find +# the host OpenSSL. +define ARM_TRUSTED_FIRMWARE_BUILD_FIPTOOL + if test -d $(@D)/tools/fiptool; then \ + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/tools/fiptool \ + $(ARM_TRUSTED_FIRMWARE_MAKE_OPTS) \ + CPPFLAGS="$(HOST_CPPFLAGS)" \ + LDLIBS="$(HOST_LDFLAGS) -lcrypto" ; \ + fi +endef +endif + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31),y) +ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += bl31 +endif + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT),y) +define ARM_TRUSTED_FIRMWARE_BL31_UBOOT_BUILD +# Get the entry point address from the elf. + BASE_ADDR=$$($(TARGET_READELF) -h $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31/bl31.elf | \ + sed -r '/^ Entry point address:\s*(.*)/!d; s//\1/') && \ + $(MKIMAGE) \ + -A $(MKIMAGE_ARCH) -O arm-trusted-firmware -C none \ + -a $${BASE_ADDR} -e $${BASE_ADDR} \ + -d $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31.bin \ + $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/atf-uboot.ub +endef +define ARM_TRUSTED_FIRMWARE_BL31_UBOOT_INSTALL + $(INSTALL) -m 0644 $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/atf-uboot.ub \ + $(BINARIES_DIR)/atf-uboot.ub +endef +ARM_TRUSTED_FIRMWARE_MAKE_OPTS += RESET_TO_BL31=1 +ARM_TRUSTED_FIRMWARE_DEPENDENCIES += host-uboot-tools +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF),y) +define ARM_TRUSTED_FIRMWARE_BL31_UBOOT_INSTALL_ELF + $(INSTALL) -D -m 0644 $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/bl31/bl31.elf \ + $(BINARIES_DIR)/bl31.elf +endef +endif + +ARM_TRUSTED_FIRMWARE_MAKE_TARGETS += \ + $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_TARGETS)) + +ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH)) + +define ARM_TRUSTED_FIRMWARE_BUILD_CMDS + $(if $(ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH), + cp -f $(ARM_TRUSTED_FIRMWARE_CUSTOM_DTS_PATH) $(@D)/fdts/ + ) + $(ARM_TRUSTED_FIRMWARE_BUILD_FIPTOOL) + $(ARM_TRUSTED_FIRMWARE_MAKE_ENV) $(MAKE) -C $(@D) \ + $(ARM_TRUSTED_FIRMWARE_MAKE_OPTS) \ + $(ARM_TRUSTED_FIRMWARE_MAKE_TARGETS) + $(ARM_TRUSTED_FIRMWARE_BL31_UBOOT_BUILD) +endef + +define ARM_TRUSTED_FIRMWARE_INSTALL_IMAGES_CMDS + $(foreach f,$(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES)), \ + cp -dpf $(ARM_TRUSTED_FIRMWARE_IMG_DIR)/$(f) $(BINARIES_DIR)/ + ) + $(ARM_TRUSTED_FIRMWARE_BL31_UBOOT_INSTALL) + $(ARM_TRUSTED_FIRMWARE_BL31_UBOOT_INSTALL_ELF) +endef + +# Configuration check +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE)$(BR_BUILDING),yy) + +ifeq ($(ARM_TRUSTED_FIRMWARE_VERSION),custom) +ifeq ($(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION))),) +$(error No tarball location specified. Please check BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION)) +endif +endif + +ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT),y) +ifeq ($(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL)),) +$(error No repository specified. Please check BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL) +endif +endif + +endif + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/at91bootstrap/at91bootstrap-1.16-eabi-fix.patch b/buildroot-2022.02.1/boot/at91bootstrap/0001-eabi-fix.patch similarity index 100% rename from buildroot-2021.05/boot/at91bootstrap/at91bootstrap-1.16-eabi-fix.patch rename to buildroot-2022.02.1/boot/at91bootstrap/0001-eabi-fix.patch diff --git a/buildroot-2021.05/boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch b/buildroot-2022.02.1/boot/at91bootstrap/0002-gcc-4.6.x-ldscript-fix.patch similarity index 100% rename from buildroot-2021.05/boot/at91bootstrap/at91bootstrap-1.16-gcc-4.6.x-ldscript-fix.patch rename to buildroot-2022.02.1/boot/at91bootstrap/0002-gcc-4.6.x-ldscript-fix.patch diff --git a/buildroot-2021.05/boot/at91bootstrap/at91bootstrap-1.16-u-boot-relocation-fix.patch b/buildroot-2022.02.1/boot/at91bootstrap/0003-u-boot-relocation-fix.patch similarity index 100% rename from buildroot-2021.05/boot/at91bootstrap/at91bootstrap-1.16-u-boot-relocation-fix.patch rename to buildroot-2022.02.1/boot/at91bootstrap/0003-u-boot-relocation-fix.patch diff --git a/buildroot-2021.05/boot/at91bootstrap/Config.in b/buildroot-2022.02.1/boot/at91bootstrap/Config.in similarity index 100% rename from buildroot-2021.05/boot/at91bootstrap/Config.in rename to buildroot-2022.02.1/boot/at91bootstrap/Config.in diff --git a/buildroot-2021.05/boot/at91bootstrap/at91bootstrap.hash b/buildroot-2022.02.1/boot/at91bootstrap/at91bootstrap.hash similarity index 100% rename from buildroot-2021.05/boot/at91bootstrap/at91bootstrap.hash rename to buildroot-2022.02.1/boot/at91bootstrap/at91bootstrap.hash diff --git a/buildroot-2021.05/boot/at91bootstrap/at91bootstrap.mk b/buildroot-2022.02.1/boot/at91bootstrap/at91bootstrap.mk similarity index 100% rename from buildroot-2021.05/boot/at91bootstrap/at91bootstrap.mk rename to buildroot-2022.02.1/boot/at91bootstrap/at91bootstrap.mk diff --git a/buildroot-2022.02.1/boot/at91bootstrap3/Config.in b/buildroot-2022.02.1/boot/at91bootstrap3/Config.in new file mode 100644 index 00000000..b3e18fce --- /dev/null +++ b/buildroot-2022.02.1/boot/at91bootstrap3/Config.in @@ -0,0 +1,117 @@ +config BR2_TARGET_AT91BOOTSTRAP3 + bool "AT91 Bootstrap 3+" + depends on BR2_arm926t || BR2_cortex_a5 || BR2_cortex_a7 + help + AT91Bootstrap is a first level bootloader for the Atmel AT91 + devices. It integrates algorithms for: + - Device initialization such as clock configuration, PIO + settings... + - Peripheral drivers such as PIO, PMC or SDRAMC... + - Physical media algorithm such as DataFlash, NandFlash, NOR + Flash... + + https://www.at91.com/linux4sam/bin/view/Linux4SAM/AT91Bootstrap + +if BR2_TARGET_AT91BOOTSTRAP3 + +choice + + prompt "AT91 Bootstrap 3+ version" + +config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION + bool "4.0.0" + +config BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X + bool "3.10.3" + +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT + bool "Custom Git repository" + help + This option allows Buildroot to get the AT91 Bootstrap 3 + source code from a Git repository. + +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN + bool "Custom SVN repository" + help + This option allows Buildroot to get the AT91 Bootstrap 3 + source code from a Subversion repository + +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL + bool "Custom tarball" + +endchoice + +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION + string "URL of custom AT91Bootstrap tarball" + depends on BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL + +if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN + +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL + string "URL of custom repository" + +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION + string "Custom repository version" + help + Revision to use in the typical format used by Git or SVN + E.G. a sha id, a tag, branch, .. + +endif + +config BR2_TARGET_AT91BOOTSTRAP3_VERSION + string + default "v4.0.0" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION + default "v3.10.3" if BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X + default BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION \ + if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT || BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN + default "custom" if BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL + +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR + string "custom patch dir" + help + If your board requires custom patches, add the path to the + directory containing the patches here. The patches must be + named at91bootstrap3-.patch. + + Most users may leave this empty + +# +# Configuration selection +# + +choice + prompt "AT91 Bootstrap 3 configuration" + default BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG + +config BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG + bool "Using a defconfig" + +config BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG + bool "Using a custom config file" + +endchoice + +config BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG + string "Defconfig name" + depends on BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG + help + Name of the at91bootstrap3 defconfig file to use, without the + trailing _defconfig. The defconfig is located at + board//_defconfig in the at91bootstrap3 + tree. + +config BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE + string "Configuration file path" + depends on BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG + help + Path to the at91bootstrap3 configuration file + +config BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3 + bool "needs host-python3" + help + Enable this option if the at91bootstrap build process needs + Python 3.x to be available on the host. This is needed in + some at91bootstrap configurations to use NAND/PMECC Python + scripts. + +endif # BR2_TARGET_AT91BOOTSTRAP3 diff --git a/buildroot-2022.02.1/boot/at91bootstrap3/at91bootstrap3.hash b/buildroot-2022.02.1/boot/at91bootstrap3/at91bootstrap3.hash new file mode 100644 index 00000000..e611f163 --- /dev/null +++ b/buildroot-2022.02.1/boot/at91bootstrap3/at91bootstrap3.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 b6ae5bcaacc5a949f400182e036ae053049638444a3ba8b1dd154ec5f7898d8e at91bootstrap3-v3.10.3.tar.gz +sha256 08c5b95df28be7f2e0439fb2b77fe27524f97c499850641e4540c07ea0b2c25d at91bootstrap3-v4.0.0.tar.gz +sha256 5a3809b1c2ba13b7242572322951311c584419f1f8516f665d6c06f0668d78de LICENSES/MIT.txt diff --git a/buildroot-2022.02.1/boot/at91bootstrap3/at91bootstrap3.mk b/buildroot-2022.02.1/boot/at91bootstrap3/at91bootstrap3.mk new file mode 100644 index 00000000..4bbe7cc7 --- /dev/null +++ b/buildroot-2022.02.1/boot/at91bootstrap3/at91bootstrap3.mk @@ -0,0 +1,109 @@ +################################################################################ +# +# at91bootstrap3 +# +################################################################################ + +AT91BOOTSTRAP3_VERSION = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_VERSION)) + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL),y) +AT91BOOTSTRAP3_TARBALL = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION)) +AT91BOOTSTRAP3_SITE = $(patsubst %/,%,$(dir $(AT91BOOTSTRAP3_TARBALL))) +AT91BOOTSTRAP3_SOURCE = $(notdir $(AT91BOOTSTRAP3_TARBALL)) +BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE) +else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y) +AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL)) +AT91BOOTSTRAP3_SITE_METHOD = git +BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE) +else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_SVN),y) +AT91BOOTSTRAP3_SITE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL)) +AT91BOOTSTRAP3_SITE_METHOD = svn +BR_NO_CHECK_HASH_FOR += $(AT91BOOTSTRAP3_SOURCE) +else +AT91BOOTSTRAP3_SITE = $(call github,linux4sam,at91bootstrap,$(AT91BOOTSTRAP3_VERSION)) +endif + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION),y) +AT91BOOTSTRAP3_LICENSE = MIT +AT91BOOTSTRAP3_LICENSE_FILES = LICENSES/MIT.txt +else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X),y) +AT91BOOTSTRAP3_LICENSE = Atmel License +endif + +AT91BOOTSTRAP3_CPE_ID_VENDOR = linux4sam +AT91BOOTSTRAP3_CPE_ID_PRODUCT = at91bootstrap + +AT91BOOTSTRAP3_INSTALL_IMAGES = YES +AT91BOOTSTRAP3_INSTALL_TARGET = NO + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3),y) +AT91BOOTSTRAP3_DEPENDENCIES += host-python3 +endif + +AT91BOOTSTRAP3_CUSTOM_PATCH_DIR = \ + $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_PATCH_DIR)) + +AT91BOOTSTRAP3_MAKE_OPTS = CROSS_COMPILE=$(TARGET_CROSS) DESTDIR=$(BINARIES_DIR) + +ifneq ($(AT91BOOTSTRAP3_CUSTOM_PATCH_DIR),) +define AT91BOOTSTRAP3_APPLY_CUSTOM_PATCHES + $(APPLY_PATCHES) $(@D) $(AT91BOOTSTRAP3_CUSTOM_PATCH_DIR) \*.patch +endef + +AT91BOOTSTRAP3_POST_PATCH_HOOKS += AT91BOOTSTRAP3_APPLY_CUSTOM_PATCHES +endif + +define AT91BOOTSTRAP3_BUILD_CMDS + $(MAKE) $(AT91BOOTSTRAP3_MAKE_OPTS) -C $(@D) +endef + +define AT91BOOTSTRAP3_INSTALL_IMAGES_CMDS + cp $(wildcard $(@D)/build/binaries/*.bin $(@D)/binaries/*.bin) $(BINARIES_DIR) +endef + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y) +AT91BOOTSTRAP3_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG))_defconfig +else ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y) +AT91BOOTSTRAP3_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE)) +endif + +AT91BOOTSTRAP3_KCONFIG_EDITORS = menuconfig xconfig gconfig +AT91BOOTSTRAP3_KCONFIG_OPTS = $(AT91BOOTSTRAP3_MAKE_OPTS) + +# Checks to give errors that the user can understand +# Must be before we call to kconfig-package +ifeq ($(BR_BUILDING),y) + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_DEFCONFIG),y) +# We must use the user-supplied kconfig value, because +# AT91BOOTSTRAP3_KCONFIG_DEFCONFIG will at least contain +# the trailing _defconfig +ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG)),) +$(error No at91bootstrap3 defconfig name specified, check your BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG setting) +endif +endif + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_USE_CUSTOM_CONFIG),y) +ifeq ($(AT91BOOTSTRAP3_KCONFIG_FILE),) +$(error No at91bootstrap3 configuration file specified, check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE setting) +endif +endif + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT),y) +ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL)),) +$(error No custom at91bootstrap3 repository URL specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL setting) +endif +ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION)),) +$(error No custom at91bootstrap3 repository version specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION setting) +endif +endif + +ifeq ($(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL),y) +ifeq ($(call qstrip,$(BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION)),) +$(error No custom AT91Bootstrap3 tarball specified. Check your BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION setting) +endif # qstrip BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION +endif # BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL + +endif # BR_BUILDING + +$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/boot/at91dataflashboot/at91dataflashboot-1.05-do-not-install.patch b/buildroot-2022.02.1/boot/at91dataflashboot/0001-do-not-install.patch similarity index 100% rename from buildroot-2021.05/boot/at91dataflashboot/at91dataflashboot-1.05-do-not-install.patch rename to buildroot-2022.02.1/boot/at91dataflashboot/0001-do-not-install.patch diff --git a/buildroot-2021.05/boot/at91dataflashboot/at91dataflashboot-1.05-eabi-fixes.patch b/buildroot-2022.02.1/boot/at91dataflashboot/0002-eabi-fixes.patch similarity index 100% rename from buildroot-2021.05/boot/at91dataflashboot/at91dataflashboot-1.05-eabi-fixes.patch rename to buildroot-2022.02.1/boot/at91dataflashboot/0002-eabi-fixes.patch diff --git a/buildroot-2021.05/boot/at91dataflashboot/Config.in b/buildroot-2022.02.1/boot/at91dataflashboot/Config.in similarity index 100% rename from buildroot-2021.05/boot/at91dataflashboot/Config.in rename to buildroot-2022.02.1/boot/at91dataflashboot/Config.in diff --git a/buildroot-2021.05/boot/at91dataflashboot/at91dataflashboot.hash b/buildroot-2022.02.1/boot/at91dataflashboot/at91dataflashboot.hash similarity index 100% rename from buildroot-2021.05/boot/at91dataflashboot/at91dataflashboot.hash rename to buildroot-2022.02.1/boot/at91dataflashboot/at91dataflashboot.hash diff --git a/buildroot-2021.05/boot/at91dataflashboot/at91dataflashboot.mk b/buildroot-2022.02.1/boot/at91dataflashboot/at91dataflashboot.mk similarity index 100% rename from buildroot-2021.05/boot/at91dataflashboot/at91dataflashboot.mk rename to buildroot-2022.02.1/boot/at91dataflashboot/at91dataflashboot.mk diff --git a/buildroot-2022.02.1/boot/barebox/Config.in b/buildroot-2022.02.1/boot/barebox/Config.in new file mode 100644 index 00000000..23f8a5ac --- /dev/null +++ b/buildroot-2022.02.1/boot/barebox/Config.in @@ -0,0 +1,85 @@ +config BR2_TARGET_BAREBOX + bool "Barebox" + help + The Barebox bootloader, formerly known as U-Boot v2. + + http://www.barebox.org + +if BR2_TARGET_BAREBOX +choice + prompt "version" + help + Select the specific Barebox version you want to use + +config BR2_TARGET_BAREBOX_LATEST_VERSION + bool "2021.12.0" + +config BR2_TARGET_BAREBOX_CUSTOM_VERSION + bool "Custom version" + help + This option allows to use a specific official versions + +config BR2_TARGET_BAREBOX_CUSTOM_TARBALL + bool "Custom tarball" + +config BR2_TARGET_BAREBOX_CUSTOM_GIT + bool "Custom Git repository" + +endchoice + +config BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE + string "Barebox version" + depends on BR2_TARGET_BAREBOX_CUSTOM_VERSION + +if BR2_TARGET_BAREBOX_CUSTOM_TARBALL + +config BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION + string "URL of custom Barebox tarball" + +endif + +config BR2_TARGET_BAREBOX_VERSION + string + default "2021.12.0" if BR2_TARGET_BAREBOX_LATEST_VERSION + default BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE if BR2_TARGET_BAREBOX_CUSTOM_VERSION + default "custom" if BR2_TARGET_BAREBOX_CUSTOM_TARBALL + default BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION if BR2_TARGET_BAREBOX_CUSTOM_GIT + +config BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR + string "custom patch dir" + help + If your board requires custom patches, add the path to the + directory containing the patches here. The patches must be + named barebox--.patch. + + Most users may leave this empty + +if BR2_TARGET_BAREBOX_CUSTOM_GIT + +config BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL + string "URL of custom Git repository" + +config BR2_TARGET_BAREBOX_CUSTOM_GIT_VERSION + string "Custom Git version" + +endif + +source boot/barebox/barebox/Config.in + +menuconfig BR2_TARGET_BAREBOX_AUX + bool "Build barebox with an auxiliary config" + help + Build barebox with an auxiliary configuration. + + Useful for building an SPL (Secondary Program Loader) in + addition to the traditional TPL (Tertiary Program Loader), + such as the X-Loader or MLO for Texas Instruments + processors. + +if BR2_TARGET_BAREBOX_AUX + +source boot/barebox/barebox-aux/Config.in + +endif + +endif diff --git a/buildroot-2021.05/boot/barebox/barebox-aux/Config.in b/buildroot-2022.02.1/boot/barebox/barebox-aux/Config.in similarity index 100% rename from buildroot-2021.05/boot/barebox/barebox-aux/Config.in rename to buildroot-2022.02.1/boot/barebox/barebox-aux/Config.in diff --git a/buildroot-2021.05/boot/barebox/barebox-aux/barebox-aux.hash b/buildroot-2022.02.1/boot/barebox/barebox-aux/barebox-aux.hash similarity index 100% rename from buildroot-2021.05/boot/barebox/barebox-aux/barebox-aux.hash rename to buildroot-2022.02.1/boot/barebox/barebox-aux/barebox-aux.hash diff --git a/buildroot-2021.05/boot/barebox/barebox-aux/barebox-aux.mk b/buildroot-2022.02.1/boot/barebox/barebox-aux/barebox-aux.mk similarity index 100% rename from buildroot-2021.05/boot/barebox/barebox-aux/barebox-aux.mk rename to buildroot-2022.02.1/boot/barebox/barebox-aux/barebox-aux.mk diff --git a/buildroot-2022.02.1/boot/barebox/barebox.hash b/buildroot-2022.02.1/boot/barebox/barebox.hash new file mode 100644 index 00000000..0a853866 --- /dev/null +++ b/buildroot-2022.02.1/boot/barebox/barebox.hash @@ -0,0 +1,8 @@ +# From https://www.barebox.org/download/barebox-2021.12.0.tar.bz2.md5 +md5 199b6d7ff3441cec2062ab18a52454dc barebox-2021.12.0.tar.bz2 + +# Locally calculated +sha256 555569fe9e71524e0bf927eaa2c1aa2e81ee2c34dd71e39fe21620db6ccc8aa6 barebox-2021.12.0.tar.bz2 + +# License files, locally computed +sha256 ab1122aa9f9073ad1ec824edcd970b16a6a7881a34a18fd56c080debb2dca5d4 COPYING diff --git a/buildroot-2022.02.1/boot/barebox/barebox.mk b/buildroot-2022.02.1/boot/barebox/barebox.mk new file mode 100644 index 00000000..6506294d --- /dev/null +++ b/buildroot-2022.02.1/boot/barebox/barebox.mk @@ -0,0 +1,178 @@ +################################################################################ +# +# barebox +# +################################################################################ + +################################################################################ +# inner-barebox-package -- generates the KConfig logic and make targets needed +# to support a barebox package. All barebox packages are built from the same +# source (origin, version and patches). The remainder of the package +# configuration is unique to each barebox package. +# +# argument 1 is the uppercase package name (used for variable name-space) +################################################################################ + +define inner-barebox-package + +$(1)_VERSION = $$(call qstrip,$$(BR2_TARGET_BAREBOX_VERSION)) + +ifeq ($$($(1)_VERSION),custom) +# Handle custom Barebox tarballs as specified by the configuration +$(1)_TARBALL = $$(call qstrip,$$(BR2_TARGET_BAREBOX_CUSTOM_TARBALL_LOCATION)) +$(1)_SITE = $$(patsubst %/,%,$$(dir $$($(1)_TARBALL))) +$(1)_SOURCE = $$(notdir $$($(1)_TARBALL)) +else ifeq ($$(BR2_TARGET_BAREBOX_CUSTOM_GIT),y) +$(1)_SITE = $$(call qstrip,$$(BR2_TARGET_BAREBOX_CUSTOM_GIT_REPO_URL)) +$(1)_SITE_METHOD = git +# Override the default value of _SOURCE to 'barebox-*' so that it is not +# downloaded a second time for barebox-aux; also alows avoiding the hash +# check: +$(1)_SOURCE = barebox-$$($(1)_VERSION)$$(BR_FMT_VERSION_git).tar.gz +else +# Handle stable official Barebox versions +$(1)_SOURCE = barebox-$$($(1)_VERSION).tar.bz2 +$(1)_SITE = https://www.barebox.org/download +endif + +$(1)_DL_SUBDIR = barebox + +$(1)_DEPENDENCIES = host-lzop +$(1)_LICENSE = GPL-2.0 with exceptions +ifeq ($(BR2_TARGET_BAREBOX_LATEST_VERSION),y) +$(1)_LICENSE_FILES = COPYING +endif + +$(1)_CUSTOM_EMBEDDED_ENV_PATH = $$(call qstrip,$$(BR2_TARGET_$(1)_CUSTOM_EMBEDDED_ENV_PATH)) + +ifneq ($$(call qstrip,$$(BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR)),) +define $(1)_APPLY_CUSTOM_PATCHES + $$(APPLY_PATCHES) $$(@D) \ + $$(BR2_TARGET_BAREBOX_CUSTOM_PATCH_DIR) \*.patch +endef + +$(1)_POST_PATCH_HOOKS += $(1)_APPLY_CUSTOM_PATCHES +endif + +$(1)_INSTALL_IMAGES = YES +ifneq ($$(BR2_TARGET_$(1)_BAREBOXENV),y) +$(1)_INSTALL_TARGET = NO +endif + +ifeq ($$(NORMALIZED_ARCH),i386) +$(1)_ARCH = x86 +else ifeq ($$(NORMALIZED_ARCH),x86_64) +$(1)_ARCH = x86 +else ifeq ($$(NORMALIZED_ARCH),powerpc) +$(1)_ARCH = ppc +else ifeq ($$(NORMALIZED_ARCH),arm64) +$(1)_ARCH = arm +else +$(1)_ARCH = $$(NORMALIZED_ARCH) +endif + +$(1)_MAKE_FLAGS = ARCH=$$($(1)_ARCH) CROSS_COMPILE="$$(TARGET_CROSS)" +$(1)_MAKE_ENV = $$(TARGET_MAKE_ENV) + +ifeq ($$(BR2_TARGET_$(1)_USE_DEFCONFIG),y) +$(1)_KCONFIG_DEFCONFIG = $$(call qstrip,$$(BR2_TARGET_$(1)_BOARD_DEFCONFIG))_defconfig +else ifeq ($$(BR2_TARGET_$(1)_USE_CUSTOM_CONFIG),y) +$(1)_KCONFIG_FILE = $$(call qstrip,$$(BR2_TARGET_$(1)_CUSTOM_CONFIG_FILE)) +endif + +$(1)_KCONFIG_FRAGMENT_FILES = $$(call qstrip,$$(BR2_TARGET_$(1)_CONFIG_FRAGMENT_FILES)) +$(1)_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig +$(1)_KCONFIG_OPTS = $$($(1)_MAKE_FLAGS) + +$(1)_KCONFIG_DEPENDENCIES = \ + $(BR2_BISON_HOST_DEPENDENCY) \ + $(BR2_FLEX_HOST_DEPENDENCY) + +ifeq ($$(BR2_TARGET_$(1)_CUSTOM_ENV),y) +$(1)_ENV_NAME = $$(notdir $$(call qstrip,\ + $$(BR2_TARGET_$(1)_CUSTOM_ENV_PATH))) +define $(1)_BUILD_CUSTOM_ENV + $$(@D)/scripts/bareboxenv -s \ + $$(call qstrip, $$(BR2_TARGET_$(1)_CUSTOM_ENV_PATH)) \ + $$(@D)/$$($(1)_ENV_NAME) +endef +define $(1)_INSTALL_CUSTOM_ENV + cp $$(@D)/$$($(1)_ENV_NAME) $$(BINARIES_DIR) +endef +endif + +ifneq ($$($(1)_CUSTOM_EMBEDDED_ENV_PATH),) +define $(1)_KCONFIG_FIXUP_CUSTOM_EMBEDDED_ENV_PATH + $$(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_ENVIRONMENT) + $$(call KCONFIG_SET_OPT,CONFIG_DEFAULT_ENVIRONMENT_PATH,"$$($(1)_CUSTOM_EMBEDDED_ENV_PATH)") +endef +endif + +define $(1)_KCONFIG_FIXUP_BAREBOXENV + $$(if $$(BR2_TARGET_$(1)_BAREBOXENV),\ + $$(call KCONFIG_ENABLE_OPT,CONFIG_BAREBOXENV_TARGET),\ + $$(call KCONFIG_DISABLE_OPT,CONFIG_BAREBOXENV_TARGET)) +endef + +define $(1)_KCONFIG_FIXUP_CMDS + $$($(1)_KCONFIG_FIXUP_CUSTOM_EMBEDDED_ENV_PATH) + $$($(1)_KCONFIG_FIXUP_BAREBOXENV) +endef + +define $(1)_BUILD_CMDS + $$($(1)_BUILD_BAREBOXENV_CMDS) + $$(TARGET_MAKE_ENV) $$(MAKE) $$($(1)_MAKE_FLAGS) -C $$(@D) + $$($(1)_BUILD_CUSTOM_ENV) +endef + +$(1)_IMAGE_FILES = $$(call qstrip,$$(BR2_TARGET_$(1)_IMAGE_FILE)) + +define $(1)_INSTALL_IMAGES_CMDS + if test -n "$$($(1)_IMAGE_FILES)"; then \ + cp -L $$(foreach image,$$($(1)_IMAGE_FILES),$$(@D)/$$(image)) $$(BINARIES_DIR) ; \ + elif test -h $$(@D)/barebox-flash-image ; then \ + cp -L $$(@D)/barebox-flash-image $$(BINARIES_DIR)/barebox.bin ; \ + else \ + cp $$(@D)/barebox.bin $$(BINARIES_DIR);\ + fi + $$($(1)_INSTALL_CUSTOM_ENV) +endef + +# Starting with barebox v2020.09.0, the kconfig used calls the +# cross-compiler to check its capabilities. So we need the +# toolchain before we can call the configurators. +$(1)_KCONFIG_DEPENDENCIES += toolchain + +ifeq ($$(BR2_TARGET_$(1)_BAREBOXENV),y) +define $(1)_INSTALL_TARGET_CMDS + cp $$(@D)/scripts/bareboxenv-target $$(TARGET_DIR)/usr/bin/bareboxenv +endef +endif + +# Checks to give errors that the user can understand +# Must be before we call to kconfig-package +ifeq ($$(BR2_TARGET_$(1))$$(BR_BUILDING),yy) +# We must use the user-supplied kconfig value, because +# $(1)_KCONFIG_DEFCONFIG will at least contain the +# trailing _defconfig +ifeq ($$(or $$($(1)_KCONFIG_FILE),$$(call qstrip,$$(BR2_TARGET_$(1)_BOARD_DEFCONFIG))),) +$$(error No Barebox config. Check your BR2_TARGET_$(1)_BOARD_DEFCONFIG or BR2_TARGET_$(1)_CUSTOM_CONFIG_FILE settings) +endif +endif + +$$(eval $$(kconfig-package)) + +endef + +################################################################################ +# barebox-package -- the target generator macro for barebox packages +################################################################################ + +barebox-package=$(call inner-barebox-package,$(call UPPERCASE,$(pkgname))) + +include boot/barebox/barebox/barebox.mk +include boot/barebox/barebox-aux/barebox-aux.mk + +ifeq ($(BR2_TARGET_BAREBOX)$(BR2_TARGET_BAREBOX_LATEST_VERSION),y) +BR_NO_CHECK_HASH_FOR += $(BAREBOX_SOURCE) +endif diff --git a/buildroot-2021.05/boot/barebox/barebox/Config.in b/buildroot-2022.02.1/boot/barebox/barebox/Config.in similarity index 100% rename from buildroot-2021.05/boot/barebox/barebox/Config.in rename to buildroot-2022.02.1/boot/barebox/barebox/Config.in diff --git a/buildroot-2021.05/boot/barebox/barebox/barebox.hash b/buildroot-2022.02.1/boot/barebox/barebox/barebox.hash similarity index 100% rename from buildroot-2021.05/boot/barebox/barebox/barebox.hash rename to buildroot-2022.02.1/boot/barebox/barebox/barebox.hash diff --git a/buildroot-2022.02.1/boot/barebox/barebox/barebox.mk b/buildroot-2022.02.1/boot/barebox/barebox/barebox.mk new file mode 100644 index 00000000..6a5a80de --- /dev/null +++ b/buildroot-2022.02.1/boot/barebox/barebox/barebox.mk @@ -0,0 +1,8 @@ +################################################################################ +# +# barebox +# +################################################################################ + +# Instantiate the barebox package +$(eval $(barebox-package)) diff --git a/buildroot-2021.05/boot/beaglev-ddrinit/Config.in b/buildroot-2022.02.1/boot/beaglev-ddrinit/Config.in similarity index 100% rename from buildroot-2021.05/boot/beaglev-ddrinit/Config.in rename to buildroot-2022.02.1/boot/beaglev-ddrinit/Config.in diff --git a/buildroot-2022.02.1/boot/beaglev-ddrinit/beaglev-ddrinit.hash b/buildroot-2022.02.1/boot/beaglev-ddrinit/beaglev-ddrinit.hash new file mode 100644 index 00000000..2aaab53a --- /dev/null +++ b/buildroot-2022.02.1/boot/beaglev-ddrinit/beaglev-ddrinit.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 2d491f64bd77de9dfd4b8ae6c00e83670e80c205cc20917fefa6194b1dc1fe4e beaglev-ddrinit-c0839f25246d9e308c23498d344ca13d8a7ad6ed.tar.gz +sha256 284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813 LICENSE diff --git a/buildroot-2022.02.1/boot/beaglev-ddrinit/beaglev-ddrinit.mk b/buildroot-2022.02.1/boot/beaglev-ddrinit/beaglev-ddrinit.mk new file mode 100644 index 00000000..76406ed4 --- /dev/null +++ b/buildroot-2022.02.1/boot/beaglev-ddrinit/beaglev-ddrinit.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# beaglev-ddrinit +# +################################################################################ + +# Commit on the 'starfive' branch +BEAGLEV_DDRINIT_VERSION = c0839f25246d9e308c23498d344ca13d8a7ad6ed +BEAGLEV_DDRINIT_SITE = $(call github,starfive-tech,beagle_ddrinit,$(BEAGLEV_DDRINIT_VERSION)) +BEAGLEV_DDRINIT_INSTALL_TARGET = NO +BEAGLEV_DDRINIT_INSTALL_IMAGES = YES +BEAGLEV_DDRINIT_DEPENDENCIES = host-riscv64-elf-toolchain +BEAGLEV_DDRINIT_LICENSE = GPL-2.0+ +BEAGLEV_DDRINIT_LICENSE_FILES = LICENSE + +define BEAGLEV_DDRINIT_BUILD_CMDS + $(MAKE) -C $(@D)/build \ + CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \ + SUFFIX=buildroot \ + GIT_VERSION=$(BEAGLEV_DDRINIT_VERSION) +endef + +define BEAGLEV_DDRINIT_INSTALL_IMAGES_CMDS + $(INSTALL) -D -m 0644 $(@D)/build/ddrinit-2133-buildroot.bin.out \ + $(BINARIES_DIR)/ddrinit-2133-buildroot.bin.out +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/beaglev-secondboot/Config.in b/buildroot-2022.02.1/boot/beaglev-secondboot/Config.in similarity index 100% rename from buildroot-2021.05/boot/beaglev-secondboot/Config.in rename to buildroot-2022.02.1/boot/beaglev-secondboot/Config.in diff --git a/buildroot-2022.02.1/boot/beaglev-secondboot/beaglev-secondboot.hash b/buildroot-2022.02.1/boot/beaglev-secondboot/beaglev-secondboot.hash new file mode 100644 index 00000000..efc93347 --- /dev/null +++ b/buildroot-2022.02.1/boot/beaglev-secondboot/beaglev-secondboot.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 fe4d37f3ff38e7f2da70a08f9cb1668c0b928e85d2e0935bd985f910b3ce30e9 beaglev-secondboot-2d20047960044308126117ad56bc08a1164e82b2.tar.gz +sha256 284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813 LICENSE diff --git a/buildroot-2022.02.1/boot/beaglev-secondboot/beaglev-secondboot.mk b/buildroot-2022.02.1/boot/beaglev-secondboot/beaglev-secondboot.mk new file mode 100644 index 00000000..a423c6c6 --- /dev/null +++ b/buildroot-2022.02.1/boot/beaglev-secondboot/beaglev-secondboot.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# beaglev-secondboot +# +################################################################################ + +# Commit on the 'starfive' branch +BEAGLEV_SECONDBOOT_VERSION = 2d20047960044308126117ad56bc08a1164e82b2 +BEAGLEV_SECONDBOOT_SITE = $(call github,starfive-tech,beagle_secondBoot,$(BEAGLEV_SECONDBOOT_VERSION)) +BEAGLEV_SECONDBOOT_INSTALL_TARGET = NO +BEAGLEV_SECONDBOOT_INSTALL_IMAGES = YES +BEAGLEV_SECONDBOOT_DEPENDENCIES = host-riscv64-elf-toolchain +BEAGLEV_SECONDBOOT_LICENSE = GPL-2.0+ +BEAGLEV_SECONDBOOT_LICENSE_FILES = LICENSE + +define BEAGLEV_SECONDBOOT_BUILD_CMDS + $(MAKE) -C $(@D)/build \ + CROSSCOMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \ + SUFFIX=buildroot \ + GIT_VERSION=$(BEAGLEV_SECONDBOOT_VERSION) +endef + +define BEAGLEV_SECONDBOOT_INSTALL_IMAGES_CMDS + $(INSTALL) -D -m 0644 $(@D)/build/bootloader-BEAGLEV-buildroot.bin.out \ + $(BINARIES_DIR)/bootloader-BEAGLEV-buildroot.bin.out +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/binaries-marvell/Config.in b/buildroot-2022.02.1/boot/binaries-marvell/Config.in similarity index 100% rename from buildroot-2021.05/boot/binaries-marvell/Config.in rename to buildroot-2022.02.1/boot/binaries-marvell/Config.in diff --git a/buildroot-2021.05/boot/binaries-marvell/binaries-marvell.hash b/buildroot-2022.02.1/boot/binaries-marvell/binaries-marvell.hash similarity index 100% rename from buildroot-2021.05/boot/binaries-marvell/binaries-marvell.hash rename to buildroot-2022.02.1/boot/binaries-marvell/binaries-marvell.hash diff --git a/buildroot-2021.05/boot/binaries-marvell/binaries-marvell.mk b/buildroot-2022.02.1/boot/binaries-marvell/binaries-marvell.mk similarity index 100% rename from buildroot-2021.05/boot/binaries-marvell/binaries-marvell.mk rename to buildroot-2022.02.1/boot/binaries-marvell/binaries-marvell.mk diff --git a/buildroot-2021.05/boot/boot-wrapper-aarch64/Config.in b/buildroot-2022.02.1/boot/boot-wrapper-aarch64/Config.in similarity index 100% rename from buildroot-2021.05/boot/boot-wrapper-aarch64/Config.in rename to buildroot-2022.02.1/boot/boot-wrapper-aarch64/Config.in diff --git a/buildroot-2022.02.1/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk b/buildroot-2022.02.1/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk new file mode 100644 index 00000000..30b352f8 --- /dev/null +++ b/buildroot-2022.02.1/boot/boot-wrapper-aarch64/boot-wrapper-aarch64.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# boot-wrapper-aarch64 +# +################################################################################ + +BOOT_WRAPPER_AARCH64_VERSION = 8d5a765251d9113c3c0f9fa14de42a9e7486fe8a +BOOT_WRAPPER_AARCH64_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git +BOOT_WRAPPER_AARCH64_SITE_METHOD = git +BOOT_WRAPPER_AARCH64_LICENSE = BSD-3-Clause +BOOT_WRAPPER_AARCH64_LICENSE_FILES = LICENSE.txt +BOOT_WRAPPER_AARCH64_DEPENDENCIES = linux +BOOT_WRAPPER_AARCH64_INSTALL_IMAGES = YES + +# The Git repository does not have the generated configure script and +# Makefile. +BOOT_WRAPPER_AARCH64_AUTORECONF = YES + +BOOT_WRAPPER_AARCH64_DTB = $(LINUX_DIR)/arch/arm64/boot/dts/$(basename $(call qstrip,$(BR2_TARGET_BOOT_WRAPPER_AARCH64_DTS))).dtb + +BOOT_WRAPPER_AARCH64_CONF_OPTS = \ + --with-kernel-dir=$(LINUX_DIR) \ + --with-dtb=$(BOOT_WRAPPER_AARCH64_DTB) \ + --with-cmdline=$(BR2_TARGET_BOOT_WRAPPER_AARCH64_BOOTARGS) + +ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_PSCI),y) +BOOT_WRAPPER_AARCH64_CONF_OPTS += --enable-psci +else +BOOT_WRAPPER_AARCH64_CONF_OPTS += --disable-psci +endif + +ifeq ($(BR2_TARGET_BOOT_WRAPPER_AARCH64_GICV3),y) +BOOT_WRAPPER_AARCH64_CONF_OPTS += --enable-gicv3 +endif + +# We need to convince the configure script that the Linux kernel tree +# exists, as well as the DTB and the kernel Image. Even though those +# are available on the build machine, the configure script uses +# AC_CHECK_FILE tests, which are always disabled in cross-compilation +# situations. +BOOT_WRAPPER_AARCH64_CONF_ENV = \ + $(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR))=yes \ + $(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR)$(BOOT_WRAPPER_AARCH64_DTB))=yes \ + $(call AUTOCONF_AC_CHECK_FILE_VAL,$(LINUX_DIR)/arch/arm64/boot/Image)=yes + +define BOOT_WRAPPER_AARCH64_INSTALL_IMAGES_CMDS + cp $(@D)/linux-system.axf $(BINARIES_DIR) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/boot/common.mk b/buildroot-2022.02.1/boot/common.mk similarity index 100% rename from buildroot-2021.05/boot/common.mk rename to buildroot-2022.02.1/boot/common.mk diff --git a/buildroot-2022.02.1/boot/edk2/Config.in b/buildroot-2022.02.1/boot/edk2/Config.in new file mode 100644 index 00000000..df723122 --- /dev/null +++ b/buildroot-2022.02.1/boot/edk2/Config.in @@ -0,0 +1,124 @@ +config BR2_TARGET_EDK2_ARCH_SUPPORTS + bool + default y if BR2_aarch64 + default y if BR2_i386 + default y if BR2_x86_64 + +config BR2_TARGET_EDK2 + bool "EDK2" + depends on BR2_TARGET_EDK2_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + select BR2_PACKAGE_EDK2_PLATFORMS + help + EDK II is a modern, feature-rich, cross-platform firmware + development environment for the UEFI and PI specifications. + + https://github.com/tianocore/tianocore.github.io/wiki/EDK-II + +if BR2_TARGET_EDK2 + +choice + prompt "Platform" + default BR2_TARGET_EDK2_PLATFORM_OVMF_I386 if BR2_i386 + default BR2_TARGET_EDK2_PLATFORM_OVMF_X64 if BR2_x86_64 + default BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU if BR2_aarch64 + +config BR2_TARGET_EDK2_PLATFORM_OVMF_I386 + bool "i386" + depends on BR2_i386 || BR2_x86_64 + help + Platform configuration for a generic i386 target. + This platform will boot from flash address 0x0. + It should therefore be used as the first bootloader. + +config BR2_TARGET_EDK2_PLATFORM_OVMF_X64 + bool "x86-64" + depends on BR2_x86_64 + help + Platform configuration for a generic x86-64 target. + This platform will boot from flash address 0x0. + It should therefore be used as the first bootloader. + +config BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU + bool "ARM Virt Qemu (flash)" + depends on BR2_aarch64 + help + Platform configuration for QEMU targeting the Virt machine. + This platform will only boot from flash address 0x0. + It should therefore be used as the first bootloader. + +config BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL + bool "ARM Virt Qemu (kernel)" + depends on BR2_aarch64 + help + Platform configuration for QEMU targeting the Virt machine. + This platform can boot from either flash address 0x0 or via + the Linux boot protocol. It can therefore be loaded by a + previous bootloader like ARM Trusted Firmware or OP-TEE. + +config BR2_TARGET_EDK2_PLATFORM_ARM_SGI575 + bool "ARM SGI-575" + depends on BR2_aarch64 + help + Platform configuration for ARM SGI-575 on ARM's + Fixed Virtual Platform (FVP). + +config BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64 + bool "ARM VExpress FVP Aarch64" + depends on BR2_aarch64 + help + Platform configuration for ARM Versatile Express targeting + the Aarch64 Fixed Virtual Platform (FVP). + +config BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX + bool "Socionext DeveloperBox" + depends on BR2_aarch64 + depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE + depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33 + select BR2_PACKAGE_HOST_DTC + select BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP + help + Platform configuration for Socionext SynQuacer DeveloperBox + (SC2A11). + +comment "Socionext DeveloperBox depends on ATF not using EDK2 as BL33" + depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33 + +config BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN + bool "SolidRun MacchiatoBin" + depends on BR2_aarch64 + depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE + select BR2_PACKAGE_HOST_DTC + select BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP + help + Platform configuration for the SolidRun MacchiatoBin. + +config BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA + bool "QEMU SBSA" + depends on BR2_aarch64 + depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE + depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33 + help + Platform configuration for QEMU targeting the SBSA reference + machine. + +comment "QEMU SBSA depends on ATF not using EDK2 as BL33" + depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33 + +endchoice + +config BR2_TARGET_EDK2_FD_NAME + string + default "OVMF" if BR2_TARGET_EDK2_PLATFORM_OVMF_I386 + default "OVMF" if BR2_TARGET_EDK2_PLATFORM_OVMF_X64 + default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU + default "QEMU_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL + default "BL33_AP_UEFI" if BR2_TARGET_EDK2_PLATFORM_ARM_SGI575 + default "FVP_AARCH64_EFI" if BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64 + default "FVP_AARCH64_EFI" if BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX + default "ARMADA_EFI" if BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN + +endif + +comment "EDK2 needs a toolchain w/ gcc >= 5" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/boot/edk2/edk2.hash b/buildroot-2022.02.1/boot/edk2/edk2.hash new file mode 100644 index 00000000..f28e9ce8 --- /dev/null +++ b/buildroot-2022.02.1/boot/edk2/edk2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 04791c13b414a6d1877182a6d565cb762c30aa63e49bb4d495fca68ef4dd209d edk2-edk2-stable202102-br1.tar.gz +sha256 50ce20c9cfdb0e19ee34fe0a51fc0afe961f743697b068359ab2f862b494df80 License.txt diff --git a/buildroot-2022.02.1/boot/edk2/edk2.mk b/buildroot-2022.02.1/boot/edk2/edk2.mk new file mode 100644 index 00000000..2b12de53 --- /dev/null +++ b/buildroot-2022.02.1/boot/edk2/edk2.mk @@ -0,0 +1,159 @@ +################################################################################ +# +# edk2 +# +################################################################################ + +EDK2_VERSION = edk2-stable202102 +EDK2_SITE = https://github.com/tianocore/edk2 +EDK2_SITE_METHOD = git +EDK2_LICENSE = BSD-2-Clause +EDK2_LICENSE_FILE = License.txt +EDK2_CPE_ID_VENDOR = tianocore +EDK2_DEPENDENCIES = edk2-platforms host-python3 host-acpica host-util-linux +EDK2_INSTALL_TARGET = NO +EDK2_INSTALL_IMAGES = YES + +ifeq ($(BR2_ENABLE_DEBUG),y) +EDK2_BUILD_TYPE = DEBUG +else +EDK2_BUILD_TYPE = RELEASE +endif + +# Build system notes. +# +# The EDK2 build system is rather unique, so here are a few useful notes. +# +# First, builds rely heavily on Git submodules to fetch various dependencies +# into specific directory structures. It might be possible to work around this +# and rely on Buildroot's infrastructure, but using Git submodules greatly +# simplifies this already complicated build system. +# +# Second, the build system is spread across various commands and stages. +# Therefore, all build variables needs to be exported to be available +# accordingly. The first stage will build $(@D)/BaseTools which contains +# various tools and scripts for the host. +# +# Third, where applicable, the dependency direction between EDK2 and +# ARM Trusted Firmware (ATF) will go in different direction for different +# platforms. Most commonly, ATF will depend on EDK2 via the BL33 payload. +# But for some platforms (e.g. QEMU SBSA or DeveloperBox) EDK2 will package +# the ATF images within its own build system. In such cases, intermediary +# "EDK2 packages" will be built in $(EDK2_BUILD_PACKAGES) in order for EDK2 +# to be able to use them in subsequent build stages. +# +# For more information about the build setup: +# https://edk2-docs.gitbook.io/edk-ii-build-specification/4_edk_ii_build_process_overview + +EDK2_GIT_SUBMODULES = YES +EDK2_BUILD_PACKAGES = $(@D)/Build/Buildroot +EDK2_PACKAGES_PATH = $(@D):$(EDK2_BUILD_PACKAGES):$(STAGING_DIR)/usr/share/edk2-platforms + +ifeq ($(BR2_TARGET_EDK2_PLATFORM_OVMF_I386),y) +EDK2_ARCH = IA32 +EDK2_DEPENDENCIES += host-nasm +EDK2_PACKAGE_NAME = OvmfPkg +EDK2_PLATFORM_NAME = OvmfPkgIa32 +EDK2_BUILD_DIR = OvmfIa32 + +else ifeq ($(BR2_TARGET_EDK2_PLATFORM_OVMF_X64),y) +EDK2_ARCH = X64 +EDK2_DEPENDENCIES += host-nasm +EDK2_PACKAGE_NAME = OvmfPkg +EDK2_PLATFORM_NAME = OvmfPkgX64 +EDK2_BUILD_DIR = OvmfX64 + +else ifeq ($(BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU),y) +EDK2_ARCH = AARCH64 +EDK2_PACKAGE_NAME = ArmVirtPkg +EDK2_PLATFORM_NAME = ArmVirtQemu +EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)-$(EDK2_ARCH) + +else ifeq ($(BR2_TARGET_EDK2_PLATFORM_ARM_VIRT_QEMU_KERNEL),y) +EDK2_ARCH = AARCH64 +EDK2_PACKAGE_NAME = ArmVirtPkg +EDK2_PLATFORM_NAME = ArmVirtQemuKernel +EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)-$(EDK2_ARCH) + +else ifeq ($(BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64),y) +EDK2_ARCH = AARCH64 +EDK2_PACKAGE_NAME = Platform/ARM/VExpressPkg +EDK2_PLATFORM_NAME = ArmVExpress-FVP-AArch64 +EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME) + +else ifeq ($(BR2_TARGET_EDK2_PLATFORM_SOCIONEXT_DEVELOPERBOX),y) +EDK2_ARCH = AARCH64 +EDK2_DEPENDENCIES += host-dtc arm-trusted-firmware +EDK2_PACKAGE_NAME = Platform/Socionext/DeveloperBox +EDK2_PLATFORM_NAME = DeveloperBox +EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME) +EDK2_BUILD_ENV += DTC_PREFIX=$(HOST_DIR)/bin/ +EDK2_BUILD_OPTS += -D DO_X86EMU=TRUE +EDK2_PRE_BUILD_HOOKS += EDK2_PRE_BUILD_SOCIONEXT_DEVELOPERBOX + +define EDK2_PRE_BUILD_SOCIONEXT_DEVELOPERBOX + mkdir -p $(EDK2_BUILD_PACKAGES)/Platform/Socionext/DeveloperBox + $(ARM_TRUSTED_FIRMWARE_DIR)/tools/fiptool/fiptool create \ + --tb-fw $(BINARIES_DIR)/bl31.bin \ + --soc-fw $(BINARIES_DIR)/bl31.bin \ + --scp-fw $(BINARIES_DIR)/bl31.bin \ + $(EDK2_BUILD_PACKAGES)/Platform/Socionext/DeveloperBox/fip_all_arm_tf.bin +endef + +else ifeq ($(BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN),y) +EDK2_ARCH = AARCH64 +EDK2_DEPENDENCIES += host-dtc arm-trusted-firmware +EDK2_PACKAGE_NAME = Platform/SolidRun/Armada80x0McBin +EDK2_PLATFORM_NAME = Armada80x0McBin +EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)-$(EDK2_ARCH) +EDK2_BUILD_ENV += DTC_PREFIX=$(HOST_DIR)/bin/ +EDK2_BUILD_OPTS += -D INCLUDE_TFTP_COMMAND + +else ifeq ($(BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA),y) +EDK2_ARCH = AARCH64 +EDK2_DEPENDENCIES += arm-trusted-firmware +EDK2_PACKAGE_NAME = Platform/Qemu/SbsaQemu +EDK2_PLATFORM_NAME = SbsaQemu +EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME) +EDK2_PRE_BUILD_HOOKS += EDK2_PRE_BUILD_QEMU_SBSA + +define EDK2_PRE_BUILD_QEMU_SBSA + mkdir -p $(EDK2_BUILD_PACKAGES)/Platform/Qemu/Sbsa + ln -srf $(BINARIES_DIR)/{bl1.bin,fip.bin} $(EDK2_BUILD_PACKAGES)/Platform/Qemu/Sbsa/ +endef + +endif + +EDK2_BASETOOLS_OPTS = \ + EXTRA_LDFLAGS="$(HOST_LDFLAGS)" \ + EXTRA_OPTFLAGS="$(HOST_CPPFLAGS)" + +EDK2_BUILD_ENV += \ + WORKSPACE=$(@D) \ + PACKAGES_PATH=$(EDK2_PACKAGES_PATH) \ + PYTHON_COMMAND=$(HOST_DIR)/bin/python3 \ + IASL_PREFIX=$(HOST_DIR)/bin/ \ + NASM_PREFIX=$(HOST_DIR)/bin/ \ + GCC5_$(EDK2_ARCH)_PREFIX=$(TARGET_CROSS) + +EDK2_BUILD_OPTS += \ + -t GCC5 \ + -n $(BR2_JLEVEL) \ + -a $(EDK2_ARCH) \ + -b $(EDK2_BUILD_TYPE) \ + -p $(EDK2_PACKAGE_NAME)/$(EDK2_PLATFORM_NAME).dsc + +define EDK2_BUILD_CMDS + mkdir -p $(EDK2_BUILD_PACKAGES) + export $(EDK2_BUILD_ENV) && \ + unset ARCH && \ + source $(@D)/edksetup.sh && \ + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/BaseTools $(EDK2_BASETOOLS_OPTS) && \ + build $(EDK2_BUILD_OPTS) all +endef + +define EDK2_INSTALL_IMAGES_CMDS + cp -f $(@D)/Build/$(EDK2_BUILD_DIR)/$(EDK2_BUILD_TYPE)_GCC5/FV/*.fd $(BINARIES_DIR) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/grub2/0001-build-Fix-GRUB-i386-pc-build-with-Ubuntu-gcc.patch b/buildroot-2022.02.1/boot/grub2/0001-build-Fix-GRUB-i386-pc-build-with-Ubuntu-gcc.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0001-build-Fix-GRUB-i386-pc-build-with-Ubuntu-gcc.patch rename to buildroot-2022.02.1/boot/grub2/0001-build-Fix-GRUB-i386-pc-build-with-Ubuntu-gcc.patch diff --git a/buildroot-2021.05/boot/grub2/0002-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch b/buildroot-2022.02.1/boot/grub2/0002-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0002-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch rename to buildroot-2022.02.1/boot/grub2/0002-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch diff --git a/buildroot-2021.05/boot/grub2/0003-safemath-Add-some-arithmetic-primitives-that-check-f.patch b/buildroot-2022.02.1/boot/grub2/0003-safemath-Add-some-arithmetic-primitives-that-check-f.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0003-safemath-Add-some-arithmetic-primitives-that-check-f.patch rename to buildroot-2022.02.1/boot/grub2/0003-safemath-Add-some-arithmetic-primitives-that-check-f.patch diff --git a/buildroot-2021.05/boot/grub2/0004-calloc-Make-sure-we-always-have-an-overflow-checking.patch b/buildroot-2022.02.1/boot/grub2/0004-calloc-Make-sure-we-always-have-an-overflow-checking.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0004-calloc-Make-sure-we-always-have-an-overflow-checking.patch rename to buildroot-2022.02.1/boot/grub2/0004-calloc-Make-sure-we-always-have-an-overflow-checking.patch diff --git a/buildroot-2021.05/boot/grub2/0005-calloc-Use-calloc-at-most-places.patch b/buildroot-2022.02.1/boot/grub2/0005-calloc-Use-calloc-at-most-places.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0005-calloc-Use-calloc-at-most-places.patch rename to buildroot-2022.02.1/boot/grub2/0005-calloc-Use-calloc-at-most-places.patch diff --git a/buildroot-2021.05/boot/grub2/0006-malloc-Use-overflow-checking-primitives-where-we-do-.patch b/buildroot-2022.02.1/boot/grub2/0006-malloc-Use-overflow-checking-primitives-where-we-do-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0006-malloc-Use-overflow-checking-primitives-where-we-do-.patch rename to buildroot-2022.02.1/boot/grub2/0006-malloc-Use-overflow-checking-primitives-where-we-do-.patch diff --git a/buildroot-2021.05/boot/grub2/0007-iso9660-Don-t-leak-memory-on-realloc-failures.patch b/buildroot-2022.02.1/boot/grub2/0007-iso9660-Don-t-leak-memory-on-realloc-failures.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0007-iso9660-Don-t-leak-memory-on-realloc-failures.patch rename to buildroot-2022.02.1/boot/grub2/0007-iso9660-Don-t-leak-memory-on-realloc-failures.patch diff --git a/buildroot-2021.05/boot/grub2/0008-font-Do-not-load-more-than-one-NAME-section.patch b/buildroot-2022.02.1/boot/grub2/0008-font-Do-not-load-more-than-one-NAME-section.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0008-font-Do-not-load-more-than-one-NAME-section.patch rename to buildroot-2022.02.1/boot/grub2/0008-font-Do-not-load-more-than-one-NAME-section.patch diff --git a/buildroot-2021.05/boot/grub2/0009-gfxmenu-Fix-double-free-in-load_image.patch b/buildroot-2022.02.1/boot/grub2/0009-gfxmenu-Fix-double-free-in-load_image.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0009-gfxmenu-Fix-double-free-in-load_image.patch rename to buildroot-2022.02.1/boot/grub2/0009-gfxmenu-Fix-double-free-in-load_image.patch diff --git a/buildroot-2021.05/boot/grub2/0010-xnu-Fix-double-free-in-grub_xnu_devprop_add_property.patch b/buildroot-2022.02.1/boot/grub2/0010-xnu-Fix-double-free-in-grub_xnu_devprop_add_property.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0010-xnu-Fix-double-free-in-grub_xnu_devprop_add_property.patch rename to buildroot-2022.02.1/boot/grub2/0010-xnu-Fix-double-free-in-grub_xnu_devprop_add_property.patch diff --git a/buildroot-2021.05/boot/grub2/0011-lzma-Make-sure-we-don-t-dereference-past-array.patch b/buildroot-2022.02.1/boot/grub2/0011-lzma-Make-sure-we-don-t-dereference-past-array.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0011-lzma-Make-sure-we-don-t-dereference-past-array.patch rename to buildroot-2022.02.1/boot/grub2/0011-lzma-Make-sure-we-don-t-dereference-past-array.patch diff --git a/buildroot-2021.05/boot/grub2/0012-term-Fix-overflow-on-user-inputs.patch b/buildroot-2022.02.1/boot/grub2/0012-term-Fix-overflow-on-user-inputs.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0012-term-Fix-overflow-on-user-inputs.patch rename to buildroot-2022.02.1/boot/grub2/0012-term-Fix-overflow-on-user-inputs.patch diff --git a/buildroot-2021.05/boot/grub2/0013-udf-Fix-memory-leak.patch b/buildroot-2022.02.1/boot/grub2/0013-udf-Fix-memory-leak.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0013-udf-Fix-memory-leak.patch rename to buildroot-2022.02.1/boot/grub2/0013-udf-Fix-memory-leak.patch diff --git a/buildroot-2021.05/boot/grub2/0014-multiboot2-Fix-memory-leak-if-grub_create_loader_cmd.patch b/buildroot-2022.02.1/boot/grub2/0014-multiboot2-Fix-memory-leak-if-grub_create_loader_cmd.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0014-multiboot2-Fix-memory-leak-if-grub_create_loader_cmd.patch rename to buildroot-2022.02.1/boot/grub2/0014-multiboot2-Fix-memory-leak-if-grub_create_loader_cmd.patch diff --git a/buildroot-2021.05/boot/grub2/0015-tftp-Do-not-use-priority-queue.patch b/buildroot-2022.02.1/boot/grub2/0015-tftp-Do-not-use-priority-queue.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0015-tftp-Do-not-use-priority-queue.patch rename to buildroot-2022.02.1/boot/grub2/0015-tftp-Do-not-use-priority-queue.patch diff --git a/buildroot-2021.05/boot/grub2/0016-relocator-Protect-grub_relocator_alloc_chunk_addr-in.patch b/buildroot-2022.02.1/boot/grub2/0016-relocator-Protect-grub_relocator_alloc_chunk_addr-in.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0016-relocator-Protect-grub_relocator_alloc_chunk_addr-in.patch rename to buildroot-2022.02.1/boot/grub2/0016-relocator-Protect-grub_relocator_alloc_chunk_addr-in.patch diff --git a/buildroot-2021.05/boot/grub2/0017-relocator-Protect-grub_relocator_alloc_chunk_align-m.patch b/buildroot-2022.02.1/boot/grub2/0017-relocator-Protect-grub_relocator_alloc_chunk_align-m.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0017-relocator-Protect-grub_relocator_alloc_chunk_align-m.patch rename to buildroot-2022.02.1/boot/grub2/0017-relocator-Protect-grub_relocator_alloc_chunk_align-m.patch diff --git a/buildroot-2021.05/boot/grub2/0018-script-Remove-unused-fields-from-grub_script_functio.patch b/buildroot-2022.02.1/boot/grub2/0018-script-Remove-unused-fields-from-grub_script_functio.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0018-script-Remove-unused-fields-from-grub_script_functio.patch rename to buildroot-2022.02.1/boot/grub2/0018-script-Remove-unused-fields-from-grub_script_functio.patch diff --git a/buildroot-2021.05/boot/grub2/0019-script-Avoid-a-use-after-free-when-redefining-a-func.patch b/buildroot-2022.02.1/boot/grub2/0019-script-Avoid-a-use-after-free-when-redefining-a-func.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0019-script-Avoid-a-use-after-free-when-redefining-a-func.patch rename to buildroot-2022.02.1/boot/grub2/0019-script-Avoid-a-use-after-free-when-redefining-a-func.patch diff --git a/buildroot-2021.05/boot/grub2/0020-relocator-Fix-grub_relocator_alloc_chunk_align-top-m.patch b/buildroot-2022.02.1/boot/grub2/0020-relocator-Fix-grub_relocator_alloc_chunk_align-top-m.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0020-relocator-Fix-grub_relocator_alloc_chunk_align-top-m.patch rename to buildroot-2022.02.1/boot/grub2/0020-relocator-Fix-grub_relocator_alloc_chunk_align-top-m.patch diff --git a/buildroot-2021.05/boot/grub2/0021-hfsplus-Fix-two-more-overflows.patch b/buildroot-2022.02.1/boot/grub2/0021-hfsplus-Fix-two-more-overflows.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0021-hfsplus-Fix-two-more-overflows.patch rename to buildroot-2022.02.1/boot/grub2/0021-hfsplus-Fix-two-more-overflows.patch diff --git a/buildroot-2021.05/boot/grub2/0022-lvm-Fix-two-more-potential-data-dependent-alloc-over.patch b/buildroot-2022.02.1/boot/grub2/0022-lvm-Fix-two-more-potential-data-dependent-alloc-over.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0022-lvm-Fix-two-more-potential-data-dependent-alloc-over.patch rename to buildroot-2022.02.1/boot/grub2/0022-lvm-Fix-two-more-potential-data-dependent-alloc-over.patch diff --git a/buildroot-2021.05/boot/grub2/0023-emu-Make-grub_free-NULL-safe.patch b/buildroot-2022.02.1/boot/grub2/0023-emu-Make-grub_free-NULL-safe.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0023-emu-Make-grub_free-NULL-safe.patch rename to buildroot-2022.02.1/boot/grub2/0023-emu-Make-grub_free-NULL-safe.patch diff --git a/buildroot-2021.05/boot/grub2/0024-efi-Fix-some-malformed-device-path-arithmetic-errors.patch b/buildroot-2022.02.1/boot/grub2/0024-efi-Fix-some-malformed-device-path-arithmetic-errors.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0024-efi-Fix-some-malformed-device-path-arithmetic-errors.patch rename to buildroot-2022.02.1/boot/grub2/0024-efi-Fix-some-malformed-device-path-arithmetic-errors.patch diff --git a/buildroot-2021.05/boot/grub2/0025-efi-chainloader-Propagate-errors-from-copy_file_path.patch b/buildroot-2022.02.1/boot/grub2/0025-efi-chainloader-Propagate-errors-from-copy_file_path.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0025-efi-chainloader-Propagate-errors-from-copy_file_path.patch rename to buildroot-2022.02.1/boot/grub2/0025-efi-chainloader-Propagate-errors-from-copy_file_path.patch diff --git a/buildroot-2021.05/boot/grub2/0026-efi-Fix-use-after-free-in-halt-reboot-path.patch b/buildroot-2022.02.1/boot/grub2/0026-efi-Fix-use-after-free-in-halt-reboot-path.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0026-efi-Fix-use-after-free-in-halt-reboot-path.patch rename to buildroot-2022.02.1/boot/grub2/0026-efi-Fix-use-after-free-in-halt-reboot-path.patch diff --git a/buildroot-2021.05/boot/grub2/0027-loader-linux-Avoid-overflow-on-initrd-size-calculati.patch b/buildroot-2022.02.1/boot/grub2/0027-loader-linux-Avoid-overflow-on-initrd-size-calculati.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0027-loader-linux-Avoid-overflow-on-initrd-size-calculati.patch rename to buildroot-2022.02.1/boot/grub2/0027-loader-linux-Avoid-overflow-on-initrd-size-calculati.patch diff --git a/buildroot-2021.05/boot/grub2/0028-linux-Fix-integer-overflows-in-initrd-size-handling.patch b/buildroot-2022.02.1/boot/grub2/0028-linux-Fix-integer-overflows-in-initrd-size-handling.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0028-linux-Fix-integer-overflows-in-initrd-size-handling.patch rename to buildroot-2022.02.1/boot/grub2/0028-linux-Fix-integer-overflows-in-initrd-size-handling.patch diff --git a/buildroot-2021.05/boot/grub2/0029-efi-Make-shim_lock-GUID-and-protocol-type-public.patch b/buildroot-2022.02.1/boot/grub2/0029-efi-Make-shim_lock-GUID-and-protocol-type-public.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0029-efi-Make-shim_lock-GUID-and-protocol-type-public.patch rename to buildroot-2022.02.1/boot/grub2/0029-efi-Make-shim_lock-GUID-and-protocol-type-public.patch diff --git a/buildroot-2021.05/boot/grub2/0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch b/buildroot-2022.02.1/boot/grub2/0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch rename to buildroot-2022.02.1/boot/grub2/0030-efi-Return-grub_efi_status_t-from-grub_efi_get_varia.patch diff --git a/buildroot-2021.05/boot/grub2/0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch b/buildroot-2022.02.1/boot/grub2/0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch rename to buildroot-2022.02.1/boot/grub2/0031-efi-Add-a-function-to-read-EFI-variables-with-attrib.patch diff --git a/buildroot-2021.05/boot/grub2/0032-efi-Add-secure-boot-detection.patch b/buildroot-2022.02.1/boot/grub2/0032-efi-Add-secure-boot-detection.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0032-efi-Add-secure-boot-detection.patch rename to buildroot-2022.02.1/boot/grub2/0032-efi-Add-secure-boot-detection.patch diff --git a/buildroot-2021.05/boot/grub2/0033-verifiers-Move-verifiers-API-to-kernel-image.patch b/buildroot-2022.02.1/boot/grub2/0033-verifiers-Move-verifiers-API-to-kernel-image.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0033-verifiers-Move-verifiers-API-to-kernel-image.patch rename to buildroot-2022.02.1/boot/grub2/0033-verifiers-Move-verifiers-API-to-kernel-image.patch diff --git a/buildroot-2021.05/boot/grub2/0034-efi-Move-the-shim_lock-verifier-to-the-GRUB-core.patch b/buildroot-2022.02.1/boot/grub2/0034-efi-Move-the-shim_lock-verifier-to-the-GRUB-core.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0034-efi-Move-the-shim_lock-verifier-to-the-GRUB-core.patch rename to buildroot-2022.02.1/boot/grub2/0034-efi-Move-the-shim_lock-verifier-to-the-GRUB-core.patch diff --git a/buildroot-2021.05/boot/grub2/0035-kern-Add-lockdown-support.patch b/buildroot-2022.02.1/boot/grub2/0035-kern-Add-lockdown-support.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0035-kern-Add-lockdown-support.patch rename to buildroot-2022.02.1/boot/grub2/0035-kern-Add-lockdown-support.patch diff --git a/buildroot-2021.05/boot/grub2/0036-kern-lockdown-Set-a-variable-if-the-GRUB-is-locked-d.patch b/buildroot-2022.02.1/boot/grub2/0036-kern-lockdown-Set-a-variable-if-the-GRUB-is-locked-d.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0036-kern-lockdown-Set-a-variable-if-the-GRUB-is-locked-d.patch rename to buildroot-2022.02.1/boot/grub2/0036-kern-lockdown-Set-a-variable-if-the-GRUB-is-locked-d.patch diff --git a/buildroot-2021.05/boot/grub2/0037-efi-Lockdown-the-GRUB-when-the-UEFI-Secure-Boot-is-e.patch b/buildroot-2022.02.1/boot/grub2/0037-efi-Lockdown-the-GRUB-when-the-UEFI-Secure-Boot-is-e.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0037-efi-Lockdown-the-GRUB-when-the-UEFI-Secure-Boot-is-e.patch rename to buildroot-2022.02.1/boot/grub2/0037-efi-Lockdown-the-GRUB-when-the-UEFI-Secure-Boot-is-e.patch diff --git a/buildroot-2021.05/boot/grub2/0038-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch b/buildroot-2022.02.1/boot/grub2/0038-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0038-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch rename to buildroot-2022.02.1/boot/grub2/0038-efi-Use-grub_is_lockdown-instead-of-hardcoding-a-dis.patch diff --git a/buildroot-2021.05/boot/grub2/0039-acpi-Don-t-register-the-acpi-command-when-locked-dow.patch b/buildroot-2022.02.1/boot/grub2/0039-acpi-Don-t-register-the-acpi-command-when-locked-dow.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0039-acpi-Don-t-register-the-acpi-command-when-locked-dow.patch rename to buildroot-2022.02.1/boot/grub2/0039-acpi-Don-t-register-the-acpi-command-when-locked-dow.patch diff --git a/buildroot-2021.05/boot/grub2/0040-mmap-Don-t-register-cutmem-and-badram-commands-when-.patch b/buildroot-2022.02.1/boot/grub2/0040-mmap-Don-t-register-cutmem-and-badram-commands-when-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0040-mmap-Don-t-register-cutmem-and-badram-commands-when-.patch rename to buildroot-2022.02.1/boot/grub2/0040-mmap-Don-t-register-cutmem-and-badram-commands-when-.patch diff --git a/buildroot-2021.05/boot/grub2/0041-commands-Restrict-commands-that-can-load-BIOS-or-DT-.patch b/buildroot-2022.02.1/boot/grub2/0041-commands-Restrict-commands-that-can-load-BIOS-or-DT-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0041-commands-Restrict-commands-that-can-load-BIOS-or-DT-.patch rename to buildroot-2022.02.1/boot/grub2/0041-commands-Restrict-commands-that-can-load-BIOS-or-DT-.patch diff --git a/buildroot-2021.05/boot/grub2/0042-commands-setpci-Restrict-setpci-command-when-locked-.patch b/buildroot-2022.02.1/boot/grub2/0042-commands-setpci-Restrict-setpci-command-when-locked-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0042-commands-setpci-Restrict-setpci-command-when-locked-.patch rename to buildroot-2022.02.1/boot/grub2/0042-commands-setpci-Restrict-setpci-command-when-locked-.patch diff --git a/buildroot-2021.05/boot/grub2/0043-commands-hdparm-Restrict-hdparm-command-when-locked-.patch b/buildroot-2022.02.1/boot/grub2/0043-commands-hdparm-Restrict-hdparm-command-when-locked-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0043-commands-hdparm-Restrict-hdparm-command-when-locked-.patch rename to buildroot-2022.02.1/boot/grub2/0043-commands-hdparm-Restrict-hdparm-command-when-locked-.patch diff --git a/buildroot-2021.05/boot/grub2/0044-gdb-Restrict-GDB-access-when-locked-down.patch b/buildroot-2022.02.1/boot/grub2/0044-gdb-Restrict-GDB-access-when-locked-down.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0044-gdb-Restrict-GDB-access-when-locked-down.patch rename to buildroot-2022.02.1/boot/grub2/0044-gdb-Restrict-GDB-access-when-locked-down.patch diff --git a/buildroot-2021.05/boot/grub2/0045-loader-xnu-Don-t-allow-loading-extension-and-package.patch b/buildroot-2022.02.1/boot/grub2/0045-loader-xnu-Don-t-allow-loading-extension-and-package.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0045-loader-xnu-Don-t-allow-loading-extension-and-package.patch rename to buildroot-2022.02.1/boot/grub2/0045-loader-xnu-Don-t-allow-loading-extension-and-package.patch diff --git a/buildroot-2021.05/boot/grub2/0046-docs-Document-the-cutmem-command.patch b/buildroot-2022.02.1/boot/grub2/0046-docs-Document-the-cutmem-command.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0046-docs-Document-the-cutmem-command.patch rename to buildroot-2022.02.1/boot/grub2/0046-docs-Document-the-cutmem-command.patch diff --git a/buildroot-2021.05/boot/grub2/0047-dl-Only-allow-unloading-modules-that-are-not-depende.patch b/buildroot-2022.02.1/boot/grub2/0047-dl-Only-allow-unloading-modules-that-are-not-depende.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0047-dl-Only-allow-unloading-modules-that-are-not-depende.patch rename to buildroot-2022.02.1/boot/grub2/0047-dl-Only-allow-unloading-modules-that-are-not-depende.patch diff --git a/buildroot-2021.05/boot/grub2/0048-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch b/buildroot-2022.02.1/boot/grub2/0048-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0048-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch rename to buildroot-2022.02.1/boot/grub2/0048-usb-Avoid-possible-out-of-bound-accesses-caused-by-m.patch diff --git a/buildroot-2021.05/boot/grub2/0049-mmap-Fix-memory-leak-when-iterating-over-mapped-memo.patch b/buildroot-2022.02.1/boot/grub2/0049-mmap-Fix-memory-leak-when-iterating-over-mapped-memo.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0049-mmap-Fix-memory-leak-when-iterating-over-mapped-memo.patch rename to buildroot-2022.02.1/boot/grub2/0049-mmap-Fix-memory-leak-when-iterating-over-mapped-memo.patch diff --git a/buildroot-2021.05/boot/grub2/0050-net-net-Fix-possible-dereference-to-of-a-NULL-pointe.patch b/buildroot-2022.02.1/boot/grub2/0050-net-net-Fix-possible-dereference-to-of-a-NULL-pointe.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0050-net-net-Fix-possible-dereference-to-of-a-NULL-pointe.patch rename to buildroot-2022.02.1/boot/grub2/0050-net-net-Fix-possible-dereference-to-of-a-NULL-pointe.patch diff --git a/buildroot-2021.05/boot/grub2/0051-net-tftp-Fix-dangling-memory-pointer.patch b/buildroot-2022.02.1/boot/grub2/0051-net-tftp-Fix-dangling-memory-pointer.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0051-net-tftp-Fix-dangling-memory-pointer.patch rename to buildroot-2022.02.1/boot/grub2/0051-net-tftp-Fix-dangling-memory-pointer.patch diff --git a/buildroot-2021.05/boot/grub2/0052-kern-parser-Fix-resource-leak-if-argc-0.patch b/buildroot-2022.02.1/boot/grub2/0052-kern-parser-Fix-resource-leak-if-argc-0.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0052-kern-parser-Fix-resource-leak-if-argc-0.patch rename to buildroot-2022.02.1/boot/grub2/0052-kern-parser-Fix-resource-leak-if-argc-0.patch diff --git a/buildroot-2021.05/boot/grub2/0053-kern-efi-Fix-memory-leak-on-failure.patch b/buildroot-2022.02.1/boot/grub2/0053-kern-efi-Fix-memory-leak-on-failure.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0053-kern-efi-Fix-memory-leak-on-failure.patch rename to buildroot-2022.02.1/boot/grub2/0053-kern-efi-Fix-memory-leak-on-failure.patch diff --git a/buildroot-2021.05/boot/grub2/0054-kern-efi-mm-Fix-possible-NULL-pointer-dereference.patch b/buildroot-2022.02.1/boot/grub2/0054-kern-efi-mm-Fix-possible-NULL-pointer-dereference.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0054-kern-efi-mm-Fix-possible-NULL-pointer-dereference.patch rename to buildroot-2022.02.1/boot/grub2/0054-kern-efi-mm-Fix-possible-NULL-pointer-dereference.patch diff --git a/buildroot-2021.05/boot/grub2/0055-gnulib-regexec-Resolve-unused-variable.patch b/buildroot-2022.02.1/boot/grub2/0055-gnulib-regexec-Resolve-unused-variable.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0055-gnulib-regexec-Resolve-unused-variable.patch rename to buildroot-2022.02.1/boot/grub2/0055-gnulib-regexec-Resolve-unused-variable.patch diff --git a/buildroot-2021.05/boot/grub2/0056-gnulib-regcomp-Fix-uninitialized-token-structure.patch b/buildroot-2022.02.1/boot/grub2/0056-gnulib-regcomp-Fix-uninitialized-token-structure.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0056-gnulib-regcomp-Fix-uninitialized-token-structure.patch rename to buildroot-2022.02.1/boot/grub2/0056-gnulib-regcomp-Fix-uninitialized-token-structure.patch diff --git a/buildroot-2021.05/boot/grub2/0057-gnulib-argp-help-Fix-dereference-of-a-possibly-NULL-.patch b/buildroot-2022.02.1/boot/grub2/0057-gnulib-argp-help-Fix-dereference-of-a-possibly-NULL-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0057-gnulib-argp-help-Fix-dereference-of-a-possibly-NULL-.patch rename to buildroot-2022.02.1/boot/grub2/0057-gnulib-argp-help-Fix-dereference-of-a-possibly-NULL-.patch diff --git a/buildroot-2021.05/boot/grub2/0058-gnulib-regexec-Fix-possible-null-dereference.patch b/buildroot-2022.02.1/boot/grub2/0058-gnulib-regexec-Fix-possible-null-dereference.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0058-gnulib-regexec-Fix-possible-null-dereference.patch rename to buildroot-2022.02.1/boot/grub2/0058-gnulib-regexec-Fix-possible-null-dereference.patch diff --git a/buildroot-2021.05/boot/grub2/0059-gnulib-regcomp-Fix-uninitialized-re_token.patch b/buildroot-2022.02.1/boot/grub2/0059-gnulib-regcomp-Fix-uninitialized-re_token.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0059-gnulib-regcomp-Fix-uninitialized-re_token.patch rename to buildroot-2022.02.1/boot/grub2/0059-gnulib-regcomp-Fix-uninitialized-re_token.patch diff --git a/buildroot-2021.05/boot/grub2/0060-io-lzopio-Resolve-unnecessary-self-assignment-errors.patch b/buildroot-2022.02.1/boot/grub2/0060-io-lzopio-Resolve-unnecessary-self-assignment-errors.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0060-io-lzopio-Resolve-unnecessary-self-assignment-errors.patch rename to buildroot-2022.02.1/boot/grub2/0060-io-lzopio-Resolve-unnecessary-self-assignment-errors.patch diff --git a/buildroot-2021.05/boot/grub2/0061-zstd-Initialize-seq_t-structure-fully.patch b/buildroot-2022.02.1/boot/grub2/0061-zstd-Initialize-seq_t-structure-fully.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0061-zstd-Initialize-seq_t-structure-fully.patch rename to buildroot-2022.02.1/boot/grub2/0061-zstd-Initialize-seq_t-structure-fully.patch diff --git a/buildroot-2021.05/boot/grub2/0062-kern-partition-Check-for-NULL-before-dereferencing-i.patch b/buildroot-2022.02.1/boot/grub2/0062-kern-partition-Check-for-NULL-before-dereferencing-i.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0062-kern-partition-Check-for-NULL-before-dereferencing-i.patch rename to buildroot-2022.02.1/boot/grub2/0062-kern-partition-Check-for-NULL-before-dereferencing-i.patch diff --git a/buildroot-2021.05/boot/grub2/0063-disk-ldm-Make-sure-comp-data-is-freed-before-exiting.patch b/buildroot-2022.02.1/boot/grub2/0063-disk-ldm-Make-sure-comp-data-is-freed-before-exiting.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0063-disk-ldm-Make-sure-comp-data-is-freed-before-exiting.patch rename to buildroot-2022.02.1/boot/grub2/0063-disk-ldm-Make-sure-comp-data-is-freed-before-exiting.patch diff --git a/buildroot-2021.05/boot/grub2/0064-disk-ldm-If-failed-then-free-vg-variable-too.patch b/buildroot-2022.02.1/boot/grub2/0064-disk-ldm-If-failed-then-free-vg-variable-too.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0064-disk-ldm-If-failed-then-free-vg-variable-too.patch rename to buildroot-2022.02.1/boot/grub2/0064-disk-ldm-If-failed-then-free-vg-variable-too.patch diff --git a/buildroot-2021.05/boot/grub2/0065-disk-ldm-Fix-memory-leak-on-uninserted-lv-references.patch b/buildroot-2022.02.1/boot/grub2/0065-disk-ldm-Fix-memory-leak-on-uninserted-lv-references.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0065-disk-ldm-Fix-memory-leak-on-uninserted-lv-references.patch rename to buildroot-2022.02.1/boot/grub2/0065-disk-ldm-Fix-memory-leak-on-uninserted-lv-references.patch diff --git a/buildroot-2021.05/boot/grub2/0066-disk-cryptodisk-Fix-potential-integer-overflow.patch b/buildroot-2022.02.1/boot/grub2/0066-disk-cryptodisk-Fix-potential-integer-overflow.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0066-disk-cryptodisk-Fix-potential-integer-overflow.patch rename to buildroot-2022.02.1/boot/grub2/0066-disk-cryptodisk-Fix-potential-integer-overflow.patch diff --git a/buildroot-2021.05/boot/grub2/0067-hfsplus-Check-that-the-volume-name-length-is-valid.patch b/buildroot-2022.02.1/boot/grub2/0067-hfsplus-Check-that-the-volume-name-length-is-valid.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0067-hfsplus-Check-that-the-volume-name-length-is-valid.patch rename to buildroot-2022.02.1/boot/grub2/0067-hfsplus-Check-that-the-volume-name-length-is-valid.patch diff --git a/buildroot-2021.05/boot/grub2/0068-zfs-Fix-possible-negative-shift-operation.patch b/buildroot-2022.02.1/boot/grub2/0068-zfs-Fix-possible-negative-shift-operation.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0068-zfs-Fix-possible-negative-shift-operation.patch rename to buildroot-2022.02.1/boot/grub2/0068-zfs-Fix-possible-negative-shift-operation.patch diff --git a/buildroot-2021.05/boot/grub2/0069-zfs-Fix-resource-leaks-while-constructing-path.patch b/buildroot-2022.02.1/boot/grub2/0069-zfs-Fix-resource-leaks-while-constructing-path.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0069-zfs-Fix-resource-leaks-while-constructing-path.patch rename to buildroot-2022.02.1/boot/grub2/0069-zfs-Fix-resource-leaks-while-constructing-path.patch diff --git a/buildroot-2021.05/boot/grub2/0070-zfs-Fix-possible-integer-overflows.patch b/buildroot-2022.02.1/boot/grub2/0070-zfs-Fix-possible-integer-overflows.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0070-zfs-Fix-possible-integer-overflows.patch rename to buildroot-2022.02.1/boot/grub2/0070-zfs-Fix-possible-integer-overflows.patch diff --git a/buildroot-2021.05/boot/grub2/0071-zfsinfo-Correct-a-check-for-error-allocating-memory.patch b/buildroot-2022.02.1/boot/grub2/0071-zfsinfo-Correct-a-check-for-error-allocating-memory.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0071-zfsinfo-Correct-a-check-for-error-allocating-memory.patch rename to buildroot-2022.02.1/boot/grub2/0071-zfsinfo-Correct-a-check-for-error-allocating-memory.patch diff --git a/buildroot-2021.05/boot/grub2/0072-affs-Fix-memory-leaks.patch b/buildroot-2022.02.1/boot/grub2/0072-affs-Fix-memory-leaks.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0072-affs-Fix-memory-leaks.patch rename to buildroot-2022.02.1/boot/grub2/0072-affs-Fix-memory-leaks.patch diff --git a/buildroot-2021.05/boot/grub2/0073-libgcrypt-mpi-Fix-possible-unintended-sign-extension.patch b/buildroot-2022.02.1/boot/grub2/0073-libgcrypt-mpi-Fix-possible-unintended-sign-extension.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0073-libgcrypt-mpi-Fix-possible-unintended-sign-extension.patch rename to buildroot-2022.02.1/boot/grub2/0073-libgcrypt-mpi-Fix-possible-unintended-sign-extension.patch diff --git a/buildroot-2021.05/boot/grub2/0074-libgcrypt-mpi-Fix-possible-NULL-dereference.patch b/buildroot-2022.02.1/boot/grub2/0074-libgcrypt-mpi-Fix-possible-NULL-dereference.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0074-libgcrypt-mpi-Fix-possible-NULL-dereference.patch rename to buildroot-2022.02.1/boot/grub2/0074-libgcrypt-mpi-Fix-possible-NULL-dereference.patch diff --git a/buildroot-2021.05/boot/grub2/0075-syslinux-Fix-memory-leak-while-parsing.patch b/buildroot-2022.02.1/boot/grub2/0075-syslinux-Fix-memory-leak-while-parsing.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0075-syslinux-Fix-memory-leak-while-parsing.patch rename to buildroot-2022.02.1/boot/grub2/0075-syslinux-Fix-memory-leak-while-parsing.patch diff --git a/buildroot-2021.05/boot/grub2/0076-normal-completion-Fix-leaking-of-memory-when-process.patch b/buildroot-2022.02.1/boot/grub2/0076-normal-completion-Fix-leaking-of-memory-when-process.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0076-normal-completion-Fix-leaking-of-memory-when-process.patch rename to buildroot-2022.02.1/boot/grub2/0076-normal-completion-Fix-leaking-of-memory-when-process.patch diff --git a/buildroot-2021.05/boot/grub2/0077-commands-hashsum-Fix-a-memory-leak.patch b/buildroot-2022.02.1/boot/grub2/0077-commands-hashsum-Fix-a-memory-leak.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0077-commands-hashsum-Fix-a-memory-leak.patch rename to buildroot-2022.02.1/boot/grub2/0077-commands-hashsum-Fix-a-memory-leak.patch diff --git a/buildroot-2021.05/boot/grub2/0079-video-efi_gop-Remove-unnecessary-return-value-of-gru.patch b/buildroot-2022.02.1/boot/grub2/0079-video-efi_gop-Remove-unnecessary-return-value-of-gru.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0079-video-efi_gop-Remove-unnecessary-return-value-of-gru.patch rename to buildroot-2022.02.1/boot/grub2/0079-video-efi_gop-Remove-unnecessary-return-value-of-gru.patch diff --git a/buildroot-2021.05/boot/grub2/0080-video-fb-fbfill-Fix-potential-integer-overflow.patch b/buildroot-2022.02.1/boot/grub2/0080-video-fb-fbfill-Fix-potential-integer-overflow.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0080-video-fb-fbfill-Fix-potential-integer-overflow.patch rename to buildroot-2022.02.1/boot/grub2/0080-video-fb-fbfill-Fix-potential-integer-overflow.patch diff --git a/buildroot-2021.05/boot/grub2/0081-video-fb-video_fb-Fix-multiple-integer-overflows.patch b/buildroot-2022.02.1/boot/grub2/0081-video-fb-video_fb-Fix-multiple-integer-overflows.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0081-video-fb-video_fb-Fix-multiple-integer-overflows.patch rename to buildroot-2022.02.1/boot/grub2/0081-video-fb-video_fb-Fix-multiple-integer-overflows.patch diff --git a/buildroot-2021.05/boot/grub2/0082-video-fb-video_fb-Fix-possible-integer-overflow.patch b/buildroot-2022.02.1/boot/grub2/0082-video-fb-video_fb-Fix-possible-integer-overflow.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0082-video-fb-video_fb-Fix-possible-integer-overflow.patch rename to buildroot-2022.02.1/boot/grub2/0082-video-fb-video_fb-Fix-possible-integer-overflow.patch diff --git a/buildroot-2021.05/boot/grub2/0083-video-readers-jpeg-Test-for-an-invalid-next-marker-r.patch b/buildroot-2022.02.1/boot/grub2/0083-video-readers-jpeg-Test-for-an-invalid-next-marker-r.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0083-video-readers-jpeg-Test-for-an-invalid-next-marker-r.patch rename to buildroot-2022.02.1/boot/grub2/0083-video-readers-jpeg-Test-for-an-invalid-next-marker-r.patch diff --git a/buildroot-2021.05/boot/grub2/0084-gfxmenu-gui_list-Remove-code-that-coverity-is-flaggi.patch b/buildroot-2022.02.1/boot/grub2/0084-gfxmenu-gui_list-Remove-code-that-coverity-is-flaggi.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0084-gfxmenu-gui_list-Remove-code-that-coverity-is-flaggi.patch rename to buildroot-2022.02.1/boot/grub2/0084-gfxmenu-gui_list-Remove-code-that-coverity-is-flaggi.patch diff --git a/buildroot-2021.05/boot/grub2/0085-loader-bsd-Check-for-NULL-arg-up-front.patch b/buildroot-2022.02.1/boot/grub2/0085-loader-bsd-Check-for-NULL-arg-up-front.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0085-loader-bsd-Check-for-NULL-arg-up-front.patch rename to buildroot-2022.02.1/boot/grub2/0085-loader-bsd-Check-for-NULL-arg-up-front.patch diff --git a/buildroot-2021.05/boot/grub2/0086-loader-xnu-Fix-memory-leak.patch b/buildroot-2022.02.1/boot/grub2/0086-loader-xnu-Fix-memory-leak.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0086-loader-xnu-Fix-memory-leak.patch rename to buildroot-2022.02.1/boot/grub2/0086-loader-xnu-Fix-memory-leak.patch diff --git a/buildroot-2021.05/boot/grub2/0087-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch b/buildroot-2022.02.1/boot/grub2/0087-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0087-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch rename to buildroot-2022.02.1/boot/grub2/0087-loader-xnu-Free-driverkey-data-when-an-error-is-dete.patch diff --git a/buildroot-2021.05/boot/grub2/0088-loader-xnu-Check-if-pointer-is-NULL-before-using-it.patch b/buildroot-2022.02.1/boot/grub2/0088-loader-xnu-Check-if-pointer-is-NULL-before-using-it.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0088-loader-xnu-Check-if-pointer-is-NULL-before-using-it.patch rename to buildroot-2022.02.1/boot/grub2/0088-loader-xnu-Check-if-pointer-is-NULL-before-using-it.patch diff --git a/buildroot-2021.05/boot/grub2/0089-util-grub-install-Fix-NULL-pointer-dereferences.patch b/buildroot-2022.02.1/boot/grub2/0089-util-grub-install-Fix-NULL-pointer-dereferences.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0089-util-grub-install-Fix-NULL-pointer-dereferences.patch rename to buildroot-2022.02.1/boot/grub2/0089-util-grub-install-Fix-NULL-pointer-dereferences.patch diff --git a/buildroot-2021.05/boot/grub2/0090-util-grub-editenv-Fix-incorrect-casting-of-a-signed-.patch b/buildroot-2022.02.1/boot/grub2/0090-util-grub-editenv-Fix-incorrect-casting-of-a-signed-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0090-util-grub-editenv-Fix-incorrect-casting-of-a-signed-.patch rename to buildroot-2022.02.1/boot/grub2/0090-util-grub-editenv-Fix-incorrect-casting-of-a-signed-.patch diff --git a/buildroot-2021.05/boot/grub2/0091-util-glue-efi-Fix-incorrect-use-of-a-possibly-negati.patch b/buildroot-2022.02.1/boot/grub2/0091-util-glue-efi-Fix-incorrect-use-of-a-possibly-negati.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0091-util-glue-efi-Fix-incorrect-use-of-a-possibly-negati.patch rename to buildroot-2022.02.1/boot/grub2/0091-util-glue-efi-Fix-incorrect-use-of-a-possibly-negati.patch diff --git a/buildroot-2021.05/boot/grub2/0092-script-execute-Fix-NULL-dereference-in-grub_script_e.patch b/buildroot-2022.02.1/boot/grub2/0092-script-execute-Fix-NULL-dereference-in-grub_script_e.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0092-script-execute-Fix-NULL-dereference-in-grub_script_e.patch rename to buildroot-2022.02.1/boot/grub2/0092-script-execute-Fix-NULL-dereference-in-grub_script_e.patch diff --git a/buildroot-2021.05/boot/grub2/0093-commands-ls-Require-device_name-is-not-NULL-before-p.patch b/buildroot-2022.02.1/boot/grub2/0093-commands-ls-Require-device_name-is-not-NULL-before-p.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0093-commands-ls-Require-device_name-is-not-NULL-before-p.patch rename to buildroot-2022.02.1/boot/grub2/0093-commands-ls-Require-device_name-is-not-NULL-before-p.patch diff --git a/buildroot-2021.05/boot/grub2/0094-script-execute-Avoid-crash-when-using-outside-a-func.patch b/buildroot-2022.02.1/boot/grub2/0094-script-execute-Avoid-crash-when-using-outside-a-func.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0094-script-execute-Avoid-crash-when-using-outside-a-func.patch rename to buildroot-2022.02.1/boot/grub2/0094-script-execute-Avoid-crash-when-using-outside-a-func.patch diff --git a/buildroot-2021.05/boot/grub2/0095-lib-arg-Block-repeated-short-options-that-require-an.patch b/buildroot-2022.02.1/boot/grub2/0095-lib-arg-Block-repeated-short-options-that-require-an.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0095-lib-arg-Block-repeated-short-options-that-require-an.patch rename to buildroot-2022.02.1/boot/grub2/0095-lib-arg-Block-repeated-short-options-that-require-an.patch diff --git a/buildroot-2021.05/boot/grub2/0096-script-execute-Don-t-crash-on-a-for-loop-with-no-ite.patch b/buildroot-2022.02.1/boot/grub2/0096-script-execute-Don-t-crash-on-a-for-loop-with-no-ite.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0096-script-execute-Don-t-crash-on-a-for-loop-with-no-ite.patch rename to buildroot-2022.02.1/boot/grub2/0096-script-execute-Don-t-crash-on-a-for-loop-with-no-ite.patch diff --git a/buildroot-2021.05/boot/grub2/0097-commands-menuentry-Fix-quoting-in-setparams_prefix.patch b/buildroot-2022.02.1/boot/grub2/0097-commands-menuentry-Fix-quoting-in-setparams_prefix.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0097-commands-menuentry-Fix-quoting-in-setparams_prefix.patch rename to buildroot-2022.02.1/boot/grub2/0097-commands-menuentry-Fix-quoting-in-setparams_prefix.patch diff --git a/buildroot-2021.05/boot/grub2/0098-kern-misc-Always-set-end-in-grub_strtoull.patch b/buildroot-2022.02.1/boot/grub2/0098-kern-misc-Always-set-end-in-grub_strtoull.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0098-kern-misc-Always-set-end-in-grub_strtoull.patch rename to buildroot-2022.02.1/boot/grub2/0098-kern-misc-Always-set-end-in-grub_strtoull.patch diff --git a/buildroot-2021.05/boot/grub2/0099-video-readers-jpeg-Catch-files-with-unsupported-quan.patch b/buildroot-2022.02.1/boot/grub2/0099-video-readers-jpeg-Catch-files-with-unsupported-quan.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0099-video-readers-jpeg-Catch-files-with-unsupported-quan.patch rename to buildroot-2022.02.1/boot/grub2/0099-video-readers-jpeg-Catch-files-with-unsupported-quan.patch diff --git a/buildroot-2021.05/boot/grub2/0100-video-readers-jpeg-Catch-OOB-reads-writes-in-grub_jp.patch b/buildroot-2022.02.1/boot/grub2/0100-video-readers-jpeg-Catch-OOB-reads-writes-in-grub_jp.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0100-video-readers-jpeg-Catch-OOB-reads-writes-in-grub_jp.patch rename to buildroot-2022.02.1/boot/grub2/0100-video-readers-jpeg-Catch-OOB-reads-writes-in-grub_jp.patch diff --git a/buildroot-2021.05/boot/grub2/0101-video-readers-jpeg-Don-t-decode-data-before-start-of.patch b/buildroot-2022.02.1/boot/grub2/0101-video-readers-jpeg-Don-t-decode-data-before-start-of.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0101-video-readers-jpeg-Don-t-decode-data-before-start-of.patch rename to buildroot-2022.02.1/boot/grub2/0101-video-readers-jpeg-Don-t-decode-data-before-start-of.patch diff --git a/buildroot-2021.05/boot/grub2/0102-term-gfxterm-Don-t-set-up-a-font-with-glyphs-that-ar.patch b/buildroot-2022.02.1/boot/grub2/0102-term-gfxterm-Don-t-set-up-a-font-with-glyphs-that-ar.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0102-term-gfxterm-Don-t-set-up-a-font-with-glyphs-that-ar.patch rename to buildroot-2022.02.1/boot/grub2/0102-term-gfxterm-Don-t-set-up-a-font-with-glyphs-that-ar.patch diff --git a/buildroot-2021.05/boot/grub2/0103-fs-fshelp-Catch-impermissibly-large-block-sizes-in-r.patch b/buildroot-2022.02.1/boot/grub2/0103-fs-fshelp-Catch-impermissibly-large-block-sizes-in-r.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0103-fs-fshelp-Catch-impermissibly-large-block-sizes-in-r.patch rename to buildroot-2022.02.1/boot/grub2/0103-fs-fshelp-Catch-impermissibly-large-block-sizes-in-r.patch diff --git a/buildroot-2021.05/boot/grub2/0104-fs-hfsplus-Don-t-fetch-a-key-beyond-the-end-of-the-n.patch b/buildroot-2022.02.1/boot/grub2/0104-fs-hfsplus-Don-t-fetch-a-key-beyond-the-end-of-the-n.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0104-fs-hfsplus-Don-t-fetch-a-key-beyond-the-end-of-the-n.patch rename to buildroot-2022.02.1/boot/grub2/0104-fs-hfsplus-Don-t-fetch-a-key-beyond-the-end-of-the-n.patch diff --git a/buildroot-2021.05/boot/grub2/0105-fs-hfsplus-Don-t-use-uninitialized-data-on-corrupt-f.patch b/buildroot-2022.02.1/boot/grub2/0105-fs-hfsplus-Don-t-use-uninitialized-data-on-corrupt-f.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0105-fs-hfsplus-Don-t-use-uninitialized-data-on-corrupt-f.patch rename to buildroot-2022.02.1/boot/grub2/0105-fs-hfsplus-Don-t-use-uninitialized-data-on-corrupt-f.patch diff --git a/buildroot-2021.05/boot/grub2/0106-fs-hfs-Disable-under-lockdown.patch b/buildroot-2022.02.1/boot/grub2/0106-fs-hfs-Disable-under-lockdown.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0106-fs-hfs-Disable-under-lockdown.patch rename to buildroot-2022.02.1/boot/grub2/0106-fs-hfs-Disable-under-lockdown.patch diff --git a/buildroot-2021.05/boot/grub2/0107-fs-sfs-Fix-over-read-of-root-object-name.patch b/buildroot-2022.02.1/boot/grub2/0107-fs-sfs-Fix-over-read-of-root-object-name.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0107-fs-sfs-Fix-over-read-of-root-object-name.patch rename to buildroot-2022.02.1/boot/grub2/0107-fs-sfs-Fix-over-read-of-root-object-name.patch diff --git a/buildroot-2021.05/boot/grub2/0108-fs-jfs-Do-not-move-to-leaf-level-if-name-length-is-n.patch b/buildroot-2022.02.1/boot/grub2/0108-fs-jfs-Do-not-move-to-leaf-level-if-name-length-is-n.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0108-fs-jfs-Do-not-move-to-leaf-level-if-name-length-is-n.patch rename to buildroot-2022.02.1/boot/grub2/0108-fs-jfs-Do-not-move-to-leaf-level-if-name-length-is-n.patch diff --git a/buildroot-2021.05/boot/grub2/0109-fs-jfs-Limit-the-extents-that-getblk-can-consider.patch b/buildroot-2022.02.1/boot/grub2/0109-fs-jfs-Limit-the-extents-that-getblk-can-consider.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0109-fs-jfs-Limit-the-extents-that-getblk-can-consider.patch rename to buildroot-2022.02.1/boot/grub2/0109-fs-jfs-Limit-the-extents-that-getblk-can-consider.patch diff --git a/buildroot-2021.05/boot/grub2/0110-fs-jfs-Catch-infinite-recursion.patch b/buildroot-2022.02.1/boot/grub2/0110-fs-jfs-Catch-infinite-recursion.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0110-fs-jfs-Catch-infinite-recursion.patch rename to buildroot-2022.02.1/boot/grub2/0110-fs-jfs-Catch-infinite-recursion.patch diff --git a/buildroot-2021.05/boot/grub2/0111-fs-nilfs2-Reject-too-large-keys.patch b/buildroot-2022.02.1/boot/grub2/0111-fs-nilfs2-Reject-too-large-keys.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0111-fs-nilfs2-Reject-too-large-keys.patch rename to buildroot-2022.02.1/boot/grub2/0111-fs-nilfs2-Reject-too-large-keys.patch diff --git a/buildroot-2021.05/boot/grub2/0112-fs-nilfs2-Don-t-search-children-if-provided-number-i.patch b/buildroot-2022.02.1/boot/grub2/0112-fs-nilfs2-Don-t-search-children-if-provided-number-i.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0112-fs-nilfs2-Don-t-search-children-if-provided-number-i.patch rename to buildroot-2022.02.1/boot/grub2/0112-fs-nilfs2-Don-t-search-children-if-provided-number-i.patch diff --git a/buildroot-2021.05/boot/grub2/0113-fs-nilfs2-Properly-bail-on-errors-in-grub_nilfs2_btr.patch b/buildroot-2022.02.1/boot/grub2/0113-fs-nilfs2-Properly-bail-on-errors-in-grub_nilfs2_btr.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0113-fs-nilfs2-Properly-bail-on-errors-in-grub_nilfs2_btr.patch rename to buildroot-2022.02.1/boot/grub2/0113-fs-nilfs2-Properly-bail-on-errors-in-grub_nilfs2_btr.patch diff --git a/buildroot-2021.05/boot/grub2/0114-io-gzio-Bail-if-gzio-tl-td-is-NULL.patch b/buildroot-2022.02.1/boot/grub2/0114-io-gzio-Bail-if-gzio-tl-td-is-NULL.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0114-io-gzio-Bail-if-gzio-tl-td-is-NULL.patch rename to buildroot-2022.02.1/boot/grub2/0114-io-gzio-Bail-if-gzio-tl-td-is-NULL.patch diff --git a/buildroot-2021.05/boot/grub2/0115-io-gzio-Add-init_dynamic_block-clean-up-if-unpacking.patch b/buildroot-2022.02.1/boot/grub2/0115-io-gzio-Add-init_dynamic_block-clean-up-if-unpacking.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0115-io-gzio-Add-init_dynamic_block-clean-up-if-unpacking.patch rename to buildroot-2022.02.1/boot/grub2/0115-io-gzio-Add-init_dynamic_block-clean-up-if-unpacking.patch diff --git a/buildroot-2021.05/boot/grub2/0116-io-gzio-Catch-missing-values-in-huft_build-and-bail.patch b/buildroot-2022.02.1/boot/grub2/0116-io-gzio-Catch-missing-values-in-huft_build-and-bail.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0116-io-gzio-Catch-missing-values-in-huft_build-and-bail.patch rename to buildroot-2022.02.1/boot/grub2/0116-io-gzio-Catch-missing-values-in-huft_build-and-bail.patch diff --git a/buildroot-2021.05/boot/grub2/0117-io-gzio-Zero-gzio-tl-td-in-init_dynamic_block-if-huf.patch b/buildroot-2022.02.1/boot/grub2/0117-io-gzio-Zero-gzio-tl-td-in-init_dynamic_block-if-huf.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0117-io-gzio-Zero-gzio-tl-td-in-init_dynamic_block-if-huf.patch rename to buildroot-2022.02.1/boot/grub2/0117-io-gzio-Zero-gzio-tl-td-in-init_dynamic_block-if-huf.patch diff --git a/buildroot-2021.05/boot/grub2/0118-disk-lvm-Don-t-go-beyond-the-end-of-the-data-we-read.patch b/buildroot-2022.02.1/boot/grub2/0118-disk-lvm-Don-t-go-beyond-the-end-of-the-data-we-read.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0118-disk-lvm-Don-t-go-beyond-the-end-of-the-data-we-read.patch rename to buildroot-2022.02.1/boot/grub2/0118-disk-lvm-Don-t-go-beyond-the-end-of-the-data-we-read.patch diff --git a/buildroot-2021.05/boot/grub2/0119-disk-lvm-Don-t-blast-past-the-end-of-the-circular-me.patch b/buildroot-2022.02.1/boot/grub2/0119-disk-lvm-Don-t-blast-past-the-end-of-the-circular-me.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0119-disk-lvm-Don-t-blast-past-the-end-of-the-circular-me.patch rename to buildroot-2022.02.1/boot/grub2/0119-disk-lvm-Don-t-blast-past-the-end-of-the-circular-me.patch diff --git a/buildroot-2021.05/boot/grub2/0120-disk-lvm-Bail-on-missing-PV-list.patch b/buildroot-2022.02.1/boot/grub2/0120-disk-lvm-Bail-on-missing-PV-list.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0120-disk-lvm-Bail-on-missing-PV-list.patch rename to buildroot-2022.02.1/boot/grub2/0120-disk-lvm-Bail-on-missing-PV-list.patch diff --git a/buildroot-2021.05/boot/grub2/0121-disk-lvm-Do-not-crash-if-an-expected-string-is-not-f.patch b/buildroot-2022.02.1/boot/grub2/0121-disk-lvm-Do-not-crash-if-an-expected-string-is-not-f.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0121-disk-lvm-Do-not-crash-if-an-expected-string-is-not-f.patch rename to buildroot-2022.02.1/boot/grub2/0121-disk-lvm-Do-not-crash-if-an-expected-string-is-not-f.patch diff --git a/buildroot-2021.05/boot/grub2/0122-disk-lvm-Do-not-overread-metadata.patch b/buildroot-2022.02.1/boot/grub2/0122-disk-lvm-Do-not-overread-metadata.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0122-disk-lvm-Do-not-overread-metadata.patch rename to buildroot-2022.02.1/boot/grub2/0122-disk-lvm-Do-not-overread-metadata.patch diff --git a/buildroot-2021.05/boot/grub2/0123-disk-lvm-Sanitize-rlocn-offset-to-prevent-wild-read.patch b/buildroot-2022.02.1/boot/grub2/0123-disk-lvm-Sanitize-rlocn-offset-to-prevent-wild-read.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0123-disk-lvm-Sanitize-rlocn-offset-to-prevent-wild-read.patch rename to buildroot-2022.02.1/boot/grub2/0123-disk-lvm-Sanitize-rlocn-offset-to-prevent-wild-read.patch diff --git a/buildroot-2021.05/boot/grub2/0124-disk-lvm-Do-not-allow-a-LV-to-be-it-s-own-segment-s-.patch b/buildroot-2022.02.1/boot/grub2/0124-disk-lvm-Do-not-allow-a-LV-to-be-it-s-own-segment-s-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0124-disk-lvm-Do-not-allow-a-LV-to-be-it-s-own-segment-s-.patch rename to buildroot-2022.02.1/boot/grub2/0124-disk-lvm-Do-not-allow-a-LV-to-be-it-s-own-segment-s-.patch diff --git a/buildroot-2021.05/boot/grub2/0125-fs-btrfs-Validate-the-number-of-stripes-parities-in-.patch b/buildroot-2022.02.1/boot/grub2/0125-fs-btrfs-Validate-the-number-of-stripes-parities-in-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0125-fs-btrfs-Validate-the-number-of-stripes-parities-in-.patch rename to buildroot-2022.02.1/boot/grub2/0125-fs-btrfs-Validate-the-number-of-stripes-parities-in-.patch diff --git a/buildroot-2021.05/boot/grub2/0126-fs-btrfs-Squash-some-uninitialized-reads.patch b/buildroot-2022.02.1/boot/grub2/0126-fs-btrfs-Squash-some-uninitialized-reads.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0126-fs-btrfs-Squash-some-uninitialized-reads.patch rename to buildroot-2022.02.1/boot/grub2/0126-fs-btrfs-Squash-some-uninitialized-reads.patch diff --git a/buildroot-2021.05/boot/grub2/0127-kern-parser-Fix-a-memory-leak.patch b/buildroot-2022.02.1/boot/grub2/0127-kern-parser-Fix-a-memory-leak.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0127-kern-parser-Fix-a-memory-leak.patch rename to buildroot-2022.02.1/boot/grub2/0127-kern-parser-Fix-a-memory-leak.patch diff --git a/buildroot-2021.05/boot/grub2/0128-kern-parser-Introduce-process_char-helper.patch b/buildroot-2022.02.1/boot/grub2/0128-kern-parser-Introduce-process_char-helper.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0128-kern-parser-Introduce-process_char-helper.patch rename to buildroot-2022.02.1/boot/grub2/0128-kern-parser-Introduce-process_char-helper.patch diff --git a/buildroot-2021.05/boot/grub2/0129-kern-parser-Introduce-terminate_arg-helper.patch b/buildroot-2022.02.1/boot/grub2/0129-kern-parser-Introduce-terminate_arg-helper.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0129-kern-parser-Introduce-terminate_arg-helper.patch rename to buildroot-2022.02.1/boot/grub2/0129-kern-parser-Introduce-terminate_arg-helper.patch diff --git a/buildroot-2021.05/boot/grub2/0130-kern-parser-Refactor-grub_parser_split_cmdline-clean.patch b/buildroot-2022.02.1/boot/grub2/0130-kern-parser-Refactor-grub_parser_split_cmdline-clean.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0130-kern-parser-Refactor-grub_parser_split_cmdline-clean.patch rename to buildroot-2022.02.1/boot/grub2/0130-kern-parser-Refactor-grub_parser_split_cmdline-clean.patch diff --git a/buildroot-2021.05/boot/grub2/0131-kern-buffer-Add-variable-sized-heap-buffer.patch b/buildroot-2022.02.1/boot/grub2/0131-kern-buffer-Add-variable-sized-heap-buffer.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0131-kern-buffer-Add-variable-sized-heap-buffer.patch rename to buildroot-2022.02.1/boot/grub2/0131-kern-buffer-Add-variable-sized-heap-buffer.patch diff --git a/buildroot-2021.05/boot/grub2/0132-kern-parser-Fix-a-stack-buffer-overflow.patch b/buildroot-2022.02.1/boot/grub2/0132-kern-parser-Fix-a-stack-buffer-overflow.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0132-kern-parser-Fix-a-stack-buffer-overflow.patch rename to buildroot-2022.02.1/boot/grub2/0132-kern-parser-Fix-a-stack-buffer-overflow.patch diff --git a/buildroot-2021.05/boot/grub2/0133-kern-efi-Add-initial-stack-protector-implementation.patch b/buildroot-2022.02.1/boot/grub2/0133-kern-efi-Add-initial-stack-protector-implementation.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0133-kern-efi-Add-initial-stack-protector-implementation.patch rename to buildroot-2022.02.1/boot/grub2/0133-kern-efi-Add-initial-stack-protector-implementation.patch diff --git a/buildroot-2021.05/boot/grub2/0134-util-mkimage-Remove-unused-code-to-add-BSS-section.patch b/buildroot-2022.02.1/boot/grub2/0134-util-mkimage-Remove-unused-code-to-add-BSS-section.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0134-util-mkimage-Remove-unused-code-to-add-BSS-section.patch rename to buildroot-2022.02.1/boot/grub2/0134-util-mkimage-Remove-unused-code-to-add-BSS-section.patch diff --git a/buildroot-2021.05/boot/grub2/0135-util-mkimage-Use-grub_host_to_target32-instead-of-gr.patch b/buildroot-2022.02.1/boot/grub2/0135-util-mkimage-Use-grub_host_to_target32-instead-of-gr.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0135-util-mkimage-Use-grub_host_to_target32-instead-of-gr.patch rename to buildroot-2022.02.1/boot/grub2/0135-util-mkimage-Use-grub_host_to_target32-instead-of-gr.patch diff --git a/buildroot-2021.05/boot/grub2/0136-util-mkimage-Always-use-grub_host_to_target32-to-ini.patch b/buildroot-2022.02.1/boot/grub2/0136-util-mkimage-Always-use-grub_host_to_target32-to-ini.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0136-util-mkimage-Always-use-grub_host_to_target32-to-ini.patch rename to buildroot-2022.02.1/boot/grub2/0136-util-mkimage-Always-use-grub_host_to_target32-to-ini.patch diff --git a/buildroot-2021.05/boot/grub2/0137-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch b/buildroot-2022.02.1/boot/grub2/0137-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0137-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch rename to buildroot-2022.02.1/boot/grub2/0137-util-mkimage-Unify-more-of-the-PE32-and-PE32-header-.patch diff --git a/buildroot-2021.05/boot/grub2/0138-util-mkimage-Reorder-PE-optional-header-fields-set-u.patch b/buildroot-2022.02.1/boot/grub2/0138-util-mkimage-Reorder-PE-optional-header-fields-set-u.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0138-util-mkimage-Reorder-PE-optional-header-fields-set-u.patch rename to buildroot-2022.02.1/boot/grub2/0138-util-mkimage-Reorder-PE-optional-header-fields-set-u.patch diff --git a/buildroot-2021.05/boot/grub2/0139-util-mkimage-Improve-data_size-value-calculation.patch b/buildroot-2022.02.1/boot/grub2/0139-util-mkimage-Improve-data_size-value-calculation.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0139-util-mkimage-Improve-data_size-value-calculation.patch rename to buildroot-2022.02.1/boot/grub2/0139-util-mkimage-Improve-data_size-value-calculation.patch diff --git a/buildroot-2021.05/boot/grub2/0140-util-mkimage-Refactor-section-setup-to-use-a-helper.patch b/buildroot-2022.02.1/boot/grub2/0140-util-mkimage-Refactor-section-setup-to-use-a-helper.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0140-util-mkimage-Refactor-section-setup-to-use-a-helper.patch rename to buildroot-2022.02.1/boot/grub2/0140-util-mkimage-Refactor-section-setup-to-use-a-helper.patch diff --git a/buildroot-2021.05/boot/grub2/0141-util-mkimage-Add-an-option-to-import-SBAT-metadata-i.patch b/buildroot-2022.02.1/boot/grub2/0141-util-mkimage-Add-an-option-to-import-SBAT-metadata-i.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0141-util-mkimage-Add-an-option-to-import-SBAT-metadata-i.patch rename to buildroot-2022.02.1/boot/grub2/0141-util-mkimage-Add-an-option-to-import-SBAT-metadata-i.patch diff --git a/buildroot-2021.05/boot/grub2/0142-grub-install-common-Add-sbat-option.patch b/buildroot-2022.02.1/boot/grub2/0142-grub-install-common-Add-sbat-option.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0142-grub-install-common-Add-sbat-option.patch rename to buildroot-2022.02.1/boot/grub2/0142-grub-install-common-Add-sbat-option.patch diff --git a/buildroot-2021.05/boot/grub2/0143-shim_lock-Only-skip-loading-shim_lock-verifier-with-.patch b/buildroot-2022.02.1/boot/grub2/0143-shim_lock-Only-skip-loading-shim_lock-verifier-with-.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0143-shim_lock-Only-skip-loading-shim_lock-verifier-with-.patch rename to buildroot-2022.02.1/boot/grub2/0143-shim_lock-Only-skip-loading-shim_lock-verifier-with-.patch diff --git a/buildroot-2021.05/boot/grub2/0144-kern-misc-Split-parse_printf_args-into-format-parsin.patch b/buildroot-2022.02.1/boot/grub2/0144-kern-misc-Split-parse_printf_args-into-format-parsin.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0144-kern-misc-Split-parse_printf_args-into-format-parsin.patch rename to buildroot-2022.02.1/boot/grub2/0144-kern-misc-Split-parse_printf_args-into-format-parsin.patch diff --git a/buildroot-2021.05/boot/grub2/0145-kern-misc-Add-STRING-type-for-internal-printf-format.patch b/buildroot-2022.02.1/boot/grub2/0145-kern-misc-Add-STRING-type-for-internal-printf-format.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0145-kern-misc-Add-STRING-type-for-internal-printf-format.patch rename to buildroot-2022.02.1/boot/grub2/0145-kern-misc-Add-STRING-type-for-internal-printf-format.patch diff --git a/buildroot-2021.05/boot/grub2/0146-kern-misc-Add-function-to-check-printf-format-agains.patch b/buildroot-2022.02.1/boot/grub2/0146-kern-misc-Add-function-to-check-printf-format-agains.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0146-kern-misc-Add-function-to-check-printf-format-agains.patch rename to buildroot-2022.02.1/boot/grub2/0146-kern-misc-Add-function-to-check-printf-format-agains.patch diff --git a/buildroot-2021.05/boot/grub2/0147-gfxmenu-gui-Check-printf-format-in-the-gui_progress_.patch b/buildroot-2022.02.1/boot/grub2/0147-gfxmenu-gui-Check-printf-format-in-the-gui_progress_.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0147-gfxmenu-gui-Check-printf-format-in-the-gui_progress_.patch rename to buildroot-2022.02.1/boot/grub2/0147-gfxmenu-gui-Check-printf-format-in-the-gui_progress_.patch diff --git a/buildroot-2021.05/boot/grub2/0148-templates-Disable-the-os-prober-by-default.patch b/buildroot-2022.02.1/boot/grub2/0148-templates-Disable-the-os-prober-by-default.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0148-templates-Disable-the-os-prober-by-default.patch rename to buildroot-2022.02.1/boot/grub2/0148-templates-Disable-the-os-prober-by-default.patch diff --git a/buildroot-2021.05/boot/grub2/0149-kern-mm-Fix-grub_debug_calloc-compilation-error.patch b/buildroot-2022.02.1/boot/grub2/0149-kern-mm-Fix-grub_debug_calloc-compilation-error.patch similarity index 100% rename from buildroot-2021.05/boot/grub2/0149-kern-mm-Fix-grub_debug_calloc-compilation-error.patch rename to buildroot-2022.02.1/boot/grub2/0149-kern-mm-Fix-grub_debug_calloc-compilation-error.patch diff --git a/buildroot-2022.02.1/boot/grub2/0150-Makefile-Make-libgrub.pp-depend-on-config-util.h.patch b/buildroot-2022.02.1/boot/grub2/0150-Makefile-Make-libgrub.pp-depend-on-config-util.h.patch new file mode 100644 index 00000000..97c31540 --- /dev/null +++ b/buildroot-2022.02.1/boot/grub2/0150-Makefile-Make-libgrub.pp-depend-on-config-util.h.patch @@ -0,0 +1,66 @@ +From 42f4054faf3c7f2cd2cab5b43e63f9d97d81f7a1 Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Wed, 4 Mar 2020 12:58:42 +0100 +Subject: [PATCH] Makefile: Make libgrub.pp depend on config-util.h + +If you build with "make -j48" a lot, sometimes you see: + +gcc -E -DHAVE_CONFIG_H -I. -I.. -Wall -W -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./include -DGRUB_FILE=\"grub_script.tab.h\" -I. -I.. -I. -I.. -I../include -I./include -I../grub-core/lib/libgcrypt-grub/src/ -I../grub-core/lib/minilzo -I../grub-core/lib/xzembed -DMINILZO_HAVE_CONFIG_H -Wall -W -DGRUB_UTIL=1 -D_FILE_OFFSET_BITS=64 -I./include -DGRUB_FILE=\"grub_script.tab.h\" -I. -I.. -I. -I.. -I../include -I./include -I../grub-core/lib/libgcrypt-grub/src/ -I./grub-core/gnulib -I../grub-core/gnulib -I/builddir/build/BUILD/grub-2.02/grub-aarch64-efi-2.02 -D_FILE_OFFSET_BITS=64 \ + -D'GRUB_MOD_INIT(x)=@MARKER@x@' grub_script.tab.h grub_script.yy.h ../grub-core/commands/blocklist.c ../grub-core/commands/macbless.c ../grub-core/commands/xnu_uuid.c ../grub-core/commands/testload.c ../grub-core/commands/ls.c ../grub-core/disk/dmraid_nvidia.c ../grub-core/disk/loopback.c ../grub-core/disk/lvm.c ../grub-core/disk/mdraid_linux.c ../grub-core/disk/mdraid_linux_be.c ../grub-core/disk/mdraid1x_linux.c ../grub-core/disk/raid5_recover.c ../grub-core/disk/raid6_recover.c ../grub-core/font/font.c ../grub-core/gfxmenu/font.c ../grub-core/normal/charset.c ../grub-core/video/fb/fbblit.c ../grub-core/video/fb/fbutil.c ../grub-core/video/fb/fbfill.c ../grub-core/video/fb/video_fb.c ../grub-core/video/video.c ../grub-core/video/capture.c ../grub-core/video/colors.c ../grub-core/unidata.c ../grub-core/io/bufio.c ../grub-core/fs/affs.c ../grub-core/fs/afs.c ../grub-core/fs/bfs.c ../grub-core/fs/btrfs.c ../grub-core/fs/cbfs.c ../grub-core/fs/cpio.c ../grub-core/fs/cpio_be.c ../grub-core/fs/odc.c ../grub-core/fs/newc.c ../grub-core/fs/ext2.c ../grub-core/fs/fat.c ../grub-core/fs/exfat.c ../grub-core/fs/fshelp.c ../grub-core/fs/hfs.c ../grub-core/fs/hfsplus.c ../grub-core/fs/hfspluscomp.c ../grub-core/fs/iso9660.c ../grub-core/fs/jfs.c ../grub-core/fs/minix.c ../grub-core/fs/minix2.c ../grub-core/fs/minix3.c ../grub-core/fs/minix_be.c ../grub-core/fs/minix2_be.c ../grub-core/fs/minix3_be.c ../grub-core/fs/nilfs2.c ../grub-core/fs/ntfs.c ../grub-core/fs/ntfscomp.c ../grub-core/fs/reiserfs.c ../grub-core/fs/romfs.c ../grub-core/fs/sfs.c ../grub-core/fs/squash4.c ../grub-core/fs/tar.c ../grub-core/fs/udf.c ../grub-core/fs/ufs2.c ../grub-core/fs/ufs.c ../grub-core/fs/ufs_be.c ../grub-core/fs/xfs.c ../grub-core/fs/zfs/zfscrypt.c ../grub-core/fs/zfs/zfs.c ../grub-core/fs/zfs/zfsinfo.c ../grub-core/fs/zfs/zfs_lzjb.c ../grub-core/fs/zfs/zfs_lz4.c ../grub-core/fs/zfs/zfs_sha256.c ../grub-core/fs/zfs/zfs_fletcher.c ../grub-core/lib/envblk.c ../grub-core/lib/hexdump.c ../grub-core/lib/LzFind.c ../grub-core/lib/LzmaEnc.c ../grub-core/lib/crc.c ../grub-core/lib/adler32.c ../grub-core/lib/crc64.c ../grub-core/normal/datetime.c ../grub-core/normal/misc.c ../grub-core/partmap/acorn.c ../grub-core/partmap/amiga.c ../grub-core/partmap/apple.c ../grub-core/partmap/sun.c ../grub-core/partmap/plan.c ../grub-core/partmap/dvh.c ../grub-core/partmap/sunpc.c ../grub-core/partmap/bsdlabel.c ../grub-core/partmap/dfly.c ../grub-core/script/function.c ../grub-core/script/lexer.c ../grub-core/script/main.c ../grub-core/script/script.c ../grub-core/script/argv.c ../grub-core/io/gzio.c ../grub-core/io/xzio.c ../grub-core/io/lzopio.c ../grub-core/kern/ia64/dl_helper.c ../grub-core/kern/arm/dl_helper.c ../grub-core/kern/arm64/dl_helper.c ../grub-core/lib/minilzo/minilzo.c ../grub-core/lib/xzembed/xz_dec_bcj.c ../grub-core/lib/xzembed/xz_dec_lzma2.c ../grub-core/lib/xzembed/xz_dec_stream.c ../util/misc.c ../grub-core/kern/command.c ../grub-core/kern/device.c ../grub-core/kern/disk.c ../grub-core/lib/disk.c ../util/getroot.c ../grub-core/osdep/unix/getroot.c ../grub-core/osdep/getroot.c ../grub-core/osdep/devmapper/getroot.c ../grub-core/osdep/relpath.c ../grub-core/kern/emu/hostdisk.c ../grub-core/osdep/devmapper/hostdisk.c ../grub-core/osdep/hostdisk.c ../grub-core/osdep/unix/hostdisk.c ../grub-core/osdep/exec.c ../grub-core/osdep/sleep.c ../grub-core/osdep/password.c ../grub-core/kern/emu/misc.c ../grub-core/kern/emu/mm.c ../grub-core/kern/env.c ../grub-core/kern/err.c ../grub-core/kern/file.c ../grub-core/kern/fs.c ../grub-core/kern/list.c ../grub-core/kern/misc.c ../grub-core/kern/partition.c ../grub-core/lib/crypto.c ../grub-core/disk/luks.c ../grub-core/disk/geli.c ../grub-core/disk/cryptodisk.c ../grub-core/disk/AFSplitter.c ../grub-core/lib/pbkdf2.c ../grub-core/commands/extcmd.c ../grub-core/lib/arg.c ../grub-core/disk/ldm.c ../grub-core/disk/diskfilter.c ../grub-core/partmap/gpt.c ../grub-core/partmap/msdos.c ../grub-core/fs/proc.c ../grub-core/fs/archelp.c > libgrub.pp || (rm -f libgrub.pp; exit 1) +rm -f stamp-h1 +touch ../config-util.h.in +cd . && /bin/sh ./config.status config-util.h +config.status: creating config-util.h +In file included from ../include/grub/mm.h:25:0, + from ../include/grub/disk.h:29, + from ../include/grub/file.h:26, + from ../grub-core/fs/btrfs.c:21: +./config.h:38:10: fatal error: ./config-util.h: No such file or directory + #include + ^~~~~~~~~~~~~~~ +compilation terminated. +make: *** [Makefile:13098: libgrub.pp] Error 1 + +This is because libgrub.pp is built with -DGRUB_UTIL=1, which means +it'll try to include config-util.h, but a parallel make is actually +building that file. I think. + +Signed-off-by: Peter Jones +Signed-off-by: Javier Martinez Canillas +Reviewed-by: Daniel Kiper +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 1f4bb9b8c..bf9c1ba64 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -37,7 +37,7 @@ grub_script.yy.c: grub_script.yy.h + CLEANFILES += grub_script.yy.c grub_script.yy.h + + # For libgrub.a +-libgrub.pp: grub_script.tab.h grub_script.yy.h $(libgrubmods_a_SOURCES) $(libgrubkern_a_SOURCES) ++libgrub.pp: config-util.h grub_script.tab.h grub_script.yy.h $(libgrubmods_a_SOURCES) $(libgrubkern_a_SOURCES) + $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) \ + -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) + CLEANFILES += libgrub.pp +-- +2.25.1 + +diff --git a/Makefile.in b/Makefile.in +index 1f4bb9b8c..bf9c1ba64 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -37,7 +37,7 @@ grub_script.yy.c: grub_script.yy.h + CLEANFILES += grub_script.yy.c grub_script.yy.h + + # For libgrub.a +-libgrub.pp: grub_script.tab.h grub_script.yy.h $(libgrubmods_a_SOURCES) $(libgrubkern_a_SOURCES) ++libgrub.pp: config-util.h grub_script.tab.h grub_script.yy.h $(libgrubmods_a_SOURCES) $(libgrubkern_a_SOURCES) + $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgrubmods_a_CPPFLAGS) $(libgrubkern_a_CPPFLAGS) $(CPPFLAGS) \ + -D'GRUB_MOD_INIT(x)=@MARKER@x@' $^ > $@ || (rm -f $@; exit 1) + CLEANFILES += libgrub.pp +-- +2.25.1 + diff --git a/buildroot-2022.02.1/boot/grub2/Config.in b/buildroot-2022.02.1/boot/grub2/Config.in new file mode 100644 index 00000000..92b5dd50 --- /dev/null +++ b/buildroot-2022.02.1/boot/grub2/Config.in @@ -0,0 +1,164 @@ +config BR2_TARGET_GRUB2_ARCH_SUPPORTS + bool + default y if BR2_i386 + default y if BR2_x86_64 + default y if BR2_arm + default y if BR2_aarch64 + depends on BR2_USE_MMU + +config BR2_TARGET_GRUB2 + bool "grub2" + depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS + depends on BR2_USE_WCHAR + select BR2_TARGET_GRUB2_I386_PC if \ + !BR2_TARGET_GRUB2_HAS_PTF && \ + (BR2_i386 || BR2_x86_64) + select BR2_TARGET_GRUB2_ARM_UBOOT if \ + !BR2_TARGET_GRUB2_HAS_PTF && \ + BR2_arm + select BR2_TARGET_GRUB2_ARM64_EFI if BR2_aarch64 + help + GNU GRUB is a Multiboot boot loader. It was derived from + GRUB, the GRand Unified Bootloader, which was originally + designed and implemented by Erich Stefan Boleyn. GRUB 2 has + replaced what was formerly known as GRUB (i.e. version + 0.9x), which has, in turn, become GRUB Legacy. + + Amongst others, GRUB2 offers EFI support, which GRUB Legacy + doesn't provide. + + For additional notes on using Grub 2 with Buildroot, see + boot/grub2/readme.txt + + http://www.gnu.org/software/grub/ + +if BR2_TARGET_GRUB2 + +config BR2_TARGET_GRUB2_HAS_LEGACY_BOOT + bool + +config BR2_TARGET_GRUB2_HAS_EFI_BOOT + bool + +config BR2_TARGET_GRUB2_HAS_PTF + bool + +config BR2_TARGET_GRUB2_I386_PC + bool "i386-pc" + depends on BR2_i386 || BR2_x86_64 + select BR2_TARGET_GRUB2_HAS_LEGACY_BOOT + help + Select this option if the platform you're targetting is a + x86 or x86-64 legacy BIOS based platform. + +config BR2_TARGET_GRUB2_I386_EFI + bool "i386-efi" + depends on BR2_i386 || BR2_x86_64 + select BR2_TARGET_GRUB2_HAS_PTF + select BR2_TARGET_GRUB2_HAS_EFI_BOOT + help + Select this option if the platform you're targetting has a + 32 bits EFI BIOS. Note that some x86-64 platforms use a 32 + bits EFI BIOS, and this option should be used in this case. + +config BR2_TARGET_GRUB2_X86_64_EFI + bool "x86-64-efi" + depends on BR2_x86_64 + select BR2_TARGET_GRUB2_HAS_PTF + select BR2_TARGET_GRUB2_HAS_EFI_BOOT + help + Select this option if the platform you're targetting has a + 64 bits EFI BIOS. + +config BR2_TARGET_GRUB2_ARM_UBOOT + bool "arm-uboot" + depends on BR2_arm + select BR2_TARGET_GRUB2_HAS_LEGACY_BOOT + help + Select this option if the platform you're targetting is an + ARM u-boot platform, and you want to boot Grub 2 as an u-boot + compatible image. + +config BR2_TARGET_GRUB2_ARM_EFI + bool "arm-efi" + depends on BR2_arm + select BR2_TARGET_GRUB2_HAS_PTF + select BR2_TARGET_GRUB2_HAS_EFI_BOOT + help + Select this option if the platform you're targetting is an + ARM platform and you want to boot Grub 2 as an EFI + application. + +config BR2_TARGET_GRUB2_ARM64_EFI + bool "arm64-efi" + depends on BR2_aarch64 + select BR2_TARGET_GRUB2_HAS_EFI_BOOT + help + Select this option if the platform you're targetting is an + Aarch64 platform and you want to boot Grub 2 as an EFI + application. + +if BR2_TARGET_GRUB2_HAS_LEGACY_BOOT + +comment "Options for the x86 legacy BIOS or ARM U-Boot support" + +config BR2_TARGET_GRUB2_BOOT_PARTITION + string "boot partition" + default "hd0,msdos1" + help + Specify the partition where the /boot/grub/grub.cfg file is + located. Use 'hd0,msdos1' for the first partition of the + first disk if using a legacy partition table, or 'hd0,gpt1' + if using GPT partition table. + +config BR2_TARGET_GRUB2_BUILTIN_MODULES_PC + string "builtin modules" + default BR2_TARGET_GRUB2_BUILTIN_MODULES if BR2_TARGET_GRUB2_BUILTIN_MODULES != "" # legacy + default "boot linux ext2 fat squash4 part_msdos part_gpt normal biosdisk" if BR2_TARGET_GRUB2_I386_PC + default "linux ext2 fat part_msdos normal" if BR2_TARGET_GRUB2_ARM_UBOOT + +config BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC + string "builtin config" + default BR2_TARGET_GRUB2_BUILTIN_CONFIG if BR2_TARGET_GRUB2_BUILTIN_CONFIG != "" # legacy + help + Path to a Grub 2 configuration file that will be embedded + into the Grub image itself. This allows to set the root + device and other configuration parameters, but however menu + entries cannot be described in this embedded configuration. + +endif # BR2_TARGET_GRUB2_HAS_LEGACY_BOOT + +if BR2_TARGET_GRUB2_HAS_EFI_BOOT + +comment "Options for the EFI BIOS or ARM EFI support" + +config BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI + string "builtin modules" + default BR2_TARGET_GRUB2_BUILTIN_MODULES if BR2_TARGET_GRUB2_BUILTIN_MODULES != "" # legacy + default "boot linux ext2 fat squash4 part_msdos part_gpt normal efi_gop" + +config BR2_TARGET_GRUB2_BUILTIN_CONFIG_EFI + string "builtin config" + default BR2_TARGET_GRUB2_BUILTIN_CONFIG if BR2_TARGET_GRUB2_BUILTIN_CONFIG != "" # legacy + help + Path to a Grub 2 configuration file that will be embedded + into the Grub image itself. This allows to set the root + device and other configuration parameters, but however menu + entries cannot be described in this embedded configuration. + +endif # BR2_TARGET_GRUB2_HAS_EFI_BOOT + +config BR2_TARGET_GRUB2_INSTALL_TOOLS + bool "install tools" + help + Install support tools to interact with GNU GRUB Multiboot + boot loader. + + This will also install the Grub 2 loadable modules to the + target. + +endif # BR2_TARGET_GRUB2 + +comment "grub2 needs a toolchain w/ wchar" + depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS + depends on !BR2_USE_WCHAR diff --git a/buildroot-2021.05/boot/grub2/grub.cfg b/buildroot-2022.02.1/boot/grub2/grub.cfg similarity index 100% rename from buildroot-2021.05/boot/grub2/grub.cfg rename to buildroot-2022.02.1/boot/grub2/grub.cfg diff --git a/buildroot-2021.05/boot/grub2/grub2.hash b/buildroot-2022.02.1/boot/grub2/grub2.hash similarity index 100% rename from buildroot-2021.05/boot/grub2/grub2.hash rename to buildroot-2022.02.1/boot/grub2/grub2.hash diff --git a/buildroot-2022.02.1/boot/grub2/grub2.mk b/buildroot-2022.02.1/boot/grub2/grub2.mk new file mode 100644 index 00000000..d93e3834 --- /dev/null +++ b/buildroot-2022.02.1/boot/grub2/grub2.mk @@ -0,0 +1,212 @@ +################################################################################ +# +# grub2 +# +################################################################################ + +GRUB2_VERSION = 2.04 +GRUB2_SITE = http://ftp.gnu.org/gnu/grub +GRUB2_SOURCE = grub-$(GRUB2_VERSION).tar.xz +GRUB2_LICENSE = GPL-3.0+ +GRUB2_LICENSE_FILES = COPYING +GRUB2_DEPENDENCIES = host-bison host-flex host-grub2 +HOST_GRUB2_DEPENDENCIES = host-bison host-flex +GRUB2_INSTALL_IMAGES = YES + +# 0001-build-Fix-GRUB-i386-pc-build-with-Ubuntu-gcc.patch and 2021/03/02 +# security fixes (patches 0029-0149) +define GRUB2_AVOID_AUTORECONF + $(Q)touch $(@D)/Makefile.util.am + $(Q)touch $(@D)/aclocal.m4 + $(Q)touch $(@D)/Makefile.in + $(Q)touch $(@D)/configure +endef +GRUB2_POST_PATCH_HOOKS += GRUB2_AVOID_AUTORECONF +HOST_GRUB2_POST_PATCH_HOOKS += GRUB2_AVOID_AUTORECONF + +# 0002-yylex-Make-lexer-fatal-errors-actually-be-fatal.patch +GRUB2_IGNORE_CVES += CVE-2020-10713 +# 0005-calloc-Use-calloc-at-most-places.patch +GRUB2_IGNORE_CVES += CVE-2020-14308 +# 0006-malloc-Use-overflow-checking-primitives-where-we-do-.patch +GRUB2_IGNORE_CVES += CVE-2020-14309 CVE-2020-14310 CVE-2020-14311 +# 0019-script-Avoid-a-use-after-free-when-redefining-a-func.patch +GRUB2_IGNORE_CVES += CVE-2020-15706 +# 0028-linux-Fix-integer-overflows-in-initrd-size-handling.patch +GRUB2_IGNORE_CVES += CVE-2020-15707 +# 2021/03/02 security fixes - patches 0029-0149 +GRUB2_IGNORE_CVES += CVE-2020-25632 CVE-2020-25647 CVE-2020-27749 \ + CVE-2020-27779 CVE-2021-3418 CVE-2021-20225 CVE-2021-20233 +# 0039-acpi-Don-t-register-the-acpi-command-when-locked-dow.patch +GRUB2_IGNORE_CVES += CVE-2020-14372 +# CVE-2019-14865 is about a flaw in the grub2-set-bootflag tool, which +# doesn't exist upstream, but is added by the Redhat/Fedora +# packaging. Not applicable to Buildroot. +GRUB2_IGNORE_CVES += CVE-2019-14865 +# CVE-2020-15705 is related to a flaw in the use of the +# grub_linuxefi_secure_validate(), which was added by Debian/Ubuntu +# patches. The issue doesn't affect upstream Grub, and +# grub_linuxefi_secure_validate() is not implemented in the grub2 +# version available in Buildroot. +GRUB2_IGNORE_CVES += CVE-2020-15705 + +ifeq ($(BR2_TARGET_GRUB2_INSTALL_TOOLS),y) +GRUB2_INSTALL_TARGET = YES +else +GRUB2_INSTALL_TARGET = NO +endif +GRUB2_CPE_ID_VENDOR = gnu + +GRUB2_BUILTIN_MODULES_PC = $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_MODULES_PC)) +GRUB2_BUILTIN_MODULES_EFI = $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI)) +GRUB2_BUILTIN_CONFIG_PC = $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC)) +GRUB2_BUILTIN_CONFIG_EFI = $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_CONFIG_EFI)) +GRUB2_BOOT_PARTITION = $(call qstrip,$(BR2_TARGET_GRUB2_BOOT_PARTITION)) + +GRUB2_IMAGE_i386-pc = $(BINARIES_DIR)/grub.img +GRUB2_CFG_i386-pc = $(TARGET_DIR)/boot/grub/grub.cfg +GRUB2_PREFIX_i386-pc = ($(GRUB2_BOOT_PARTITION))/boot/grub +GRUB2_TARGET_i386-pc = i386 +GRUB2_PLATFORM_i386-pc = pc +GRUB2_BUILTIN_CONFIG_i386-pc = $(GRUB2_BUILTIN_CONFIG_PC) +GRUB2_BUILTIN_MODULES_i386-pc = $(GRUB2_BUILTIN_MODULES_PC) +GRUB2_TUPLES-$(BR2_TARGET_GRUB2_I386_PC) += i386-pc + +GRUB2_IMAGE_i386-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootia32.efi +GRUB2_CFG_i386-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg +GRUB2_PREFIX_i386-efi = /EFI/BOOT +GRUB2_TARGET_i386-efi = i386 +GRUB2_PLATFORM_i386-efi = efi +GRUB2_BUILTIN_CONFIG_i386-efi = $(GRUB2_BUILTIN_CONFIG_EFI) +GRUB2_BUILTIN_MODULES_i386-efi = $(GRUB2_BUILTIN_MODULES_EFI) +GRUB2_TUPLES-$(BR2_TARGET_GRUB2_I386_EFI) += i386-efi + +GRUB2_IMAGE_x86_64-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootx64.efi +GRUB2_CFG_x86_64-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg +GRUB2_PREFIX_x86_64-efi = /EFI/BOOT +GRUB2_TARGET_x86_64-efi = x86_64 +GRUB2_PLATFORM_x86_64-efi = efi +GRUB2_BUILTIN_CONFIG_x86_64-efi = $(GRUB2_BUILTIN_CONFIG_EFI) +GRUB2_BUILTIN_MODULES_x86_64-efi = $(GRUB2_BUILTIN_MODULES_EFI) +GRUB2_TUPLES-$(BR2_TARGET_GRUB2_X86_64_EFI) += x86_64-efi + +GRUB2_IMAGE_arm-uboot = $(BINARIES_DIR)/boot-part/grub/grub.img +GRUB2_CFG_arm-uboot = $(BINARIES_DIR)/boot-part/grub/grub.cfg +GRUB2_PREFIX_arm-uboot = ($(GRUB2_BOOT_PARTITION))/boot/grub +GRUB2_TARGET_arm-uboot = arm +GRUB2_PLATFORM_arm-uboot = uboot +GRUB2_BUILTIN_CONFIG_arm-uboot = $(GRUB2_BUILTIN_CONFIG_PC) +GRUB2_BUILTIN_MODULES_arm-uboot = $(GRUB2_BUILTIN_MODULES_PC) +GRUB2_TUPLES-$(BR2_TARGET_GRUB2_ARM_UBOOT) += arm-uboot + +GRUB2_IMAGE_arm-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootarm.efi +GRUB2_CFG_arm-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg +GRUB2_PREFIX_arm-efi = /EFI/BOOT +GRUB2_TARGET_arm-efi = arm +GRUB2_PLATFORM_arm-efi = efi +GRUB2_BUILTIN_CONFIG_arm-efi = $(GRUB2_BUILTIN_CONFIG_EFI) +GRUB2_BUILTIN_MODULES_arm-efi = $(GRUB2_BUILTIN_MODULES_EFI) +GRUB2_TUPLES-$(BR2_TARGET_GRUB2_ARM_EFI) += arm-efi + +GRUB2_IMAGE_arm64-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/bootaa64.efi +GRUB2_CFG_arm64-efi = $(BINARIES_DIR)/efi-part/EFI/BOOT/grub.cfg +GRUB2_PREFIX_arm64-efi = /EFI/BOOT +GRUB2_TARGET_arm64-efi = aarch64 +GRUB2_PLATFORM_arm64-efi = efi +GRUB2_BUILTIN_CONFIG_arm64-efi = $(GRUB2_BUILTIN_CONFIG_EFI) +GRUB2_BUILTIN_MODULES_arm64-efi = $(GRUB2_BUILTIN_MODULES_EFI) +GRUB2_TUPLES-$(BR2_TARGET_GRUB2_ARM64_EFI) += arm64-efi + +# Grub2 is kind of special: it considers CC, LD and so on to be the +# tools to build the host programs and uses TARGET_CC, TARGET_CFLAGS, +# TARGET_CPPFLAGS, TARGET_LDFLAGS to build the bootloader itself. +# +# NOTE: TARGET_STRIP is overridden by !BR2_STRIP_strip, so always +# use the cross compile variant to ensure grub2 builds + +HOST_GRUB2_CONF_ENV = \ + CPP="$(HOSTCC) -E" + +GRUB2_CONF_ENV = \ + CPP="$(TARGET_CC) -E" \ + TARGET_CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS) -Os" \ + TARGET_CFLAGS="$(TARGET_CFLAGS) -Os" \ + CPPFLAGS="$(TARGET_CPPFLAGS) -Os -fno-stack-protector" \ + TARGET_CPPFLAGS="$(TARGET_CPPFLAGS) -Os -fno-stack-protector" \ + TARGET_LDFLAGS="$(TARGET_LDFLAGS) -Os" \ + TARGET_NM="$(TARGET_NM)" \ + TARGET_OBJCOPY="$(TARGET_OBJCOPY)" \ + TARGET_STRIP="$(TARGET_CROSS)strip" + +HOST_GRUB2_CONF_OPTS = \ + --with-platform=none \ + --disable-grub-mkfont \ + --enable-efiemu=no \ + ac_cv_lib_lzma_lzma_code=no \ + --enable-device-mapper=no \ + --enable-libzfs=no \ + --disable-werror + +define GRUB2_CONFIGURE_CMDS + $(foreach tuple, $(GRUB2_TUPLES-y), \ + @$(call MESSAGE,Configuring $(tuple)) + mkdir -p $(@D)/build-$(tuple) + cd $(@D)/build-$(tuple) && \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + $(GRUB2_CONF_ENV) \ + ../configure \ + --target=$(GRUB2_TARGET_$(tuple)) \ + --with-platform=$(GRUB2_PLATFORM_$(tuple)) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --prefix=/ \ + --exec-prefix=/ \ + --disable-grub-mkfont \ + --enable-efiemu=no \ + ac_cv_lib_lzma_lzma_code=no \ + --enable-device-mapper=no \ + --enable-libzfs=no \ + --disable-werror + ) +endef + +define GRUB2_BUILD_CMDS + $(foreach tuple, $(GRUB2_TUPLES-y), \ + @$(call MESSAGE,Building $(tuple)) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build-$(tuple) + ) +endef + +define GRUB2_INSTALL_IMAGES_CMDS + $(foreach tuple, $(GRUB2_TUPLES-y), \ + @$(call MESSAGE,Installing $(tuple) to images directory) + mkdir -p $(dir $(GRUB2_IMAGE_$(tuple))) + $(HOST_DIR)/usr/bin/grub-mkimage \ + -d $(@D)/build-$(tuple)/grub-core/ \ + -O $(tuple) \ + -o $(GRUB2_IMAGE_$(tuple)) \ + -p "$(GRUB2_PREFIX_$(tuple))" \ + $(if $(GRUB2_BUILTIN_CONFIG_$(tuple)), \ + -c $(GRUB2_BUILTIN_CONFIG_$(tuple))) \ + $(GRUB2_BUILTIN_MODULES_$(tuple)) + $(INSTALL) -D -m 0644 boot/grub2/grub.cfg $(GRUB2_CFG_$(tuple)) + $(if $(findstring $(GRUB2_PLATFORM_$(tuple)), pc), \ + cat $(@D)/build-$(tuple)/grub-core/cdboot.img $(GRUB2_IMAGE_$(tuple)) > \ + $(BINARIES_DIR)/grub-eltorito.img + ) \ + ) +endef + +ifeq ($(BR2_TARGET_GRUB2_INSTALL_TOOLS),y) +define GRUB2_INSTALL_TARGET_CMDS + $(foreach tuple, $(GRUB2_TUPLES-y), \ + @$(call MESSAGE,Installing $(tuple) to target directory) + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build-$(tuple) DESTDIR=$(TARGET_DIR) install + ) +endef +endif + +$(eval $(generic-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/boot/grub2/readme.txt b/buildroot-2022.02.1/boot/grub2/readme.txt similarity index 100% rename from buildroot-2021.05/boot/grub2/readme.txt rename to buildroot-2022.02.1/boot/grub2/readme.txt diff --git a/buildroot-2021.05/boot/gummiboot/0001-Allow-building-with-newer-glibc-versions.patch b/buildroot-2022.02.1/boot/gummiboot/0001-Allow-building-with-newer-glibc-versions.patch similarity index 100% rename from buildroot-2021.05/boot/gummiboot/0001-Allow-building-with-newer-glibc-versions.patch rename to buildroot-2022.02.1/boot/gummiboot/0001-Allow-building-with-newer-glibc-versions.patch diff --git a/buildroot-2021.05/boot/gummiboot/0002-Fix-linking-for-non-host-compatible-targets.patch b/buildroot-2022.02.1/boot/gummiboot/0002-Fix-linking-for-non-host-compatible-targets.patch similarity index 100% rename from buildroot-2021.05/boot/gummiboot/0002-Fix-linking-for-non-host-compatible-targets.patch rename to buildroot-2022.02.1/boot/gummiboot/0002-Fix-linking-for-non-host-compatible-targets.patch diff --git a/buildroot-2021.05/boot/gummiboot/Config.in b/buildroot-2022.02.1/boot/gummiboot/Config.in similarity index 100% rename from buildroot-2021.05/boot/gummiboot/Config.in rename to buildroot-2022.02.1/boot/gummiboot/Config.in diff --git a/buildroot-2021.05/boot/gummiboot/buildroot.conf b/buildroot-2022.02.1/boot/gummiboot/buildroot.conf similarity index 100% rename from buildroot-2021.05/boot/gummiboot/buildroot.conf rename to buildroot-2022.02.1/boot/gummiboot/buildroot.conf diff --git a/buildroot-2022.02.1/boot/gummiboot/gummiboot.mk b/buildroot-2022.02.1/boot/gummiboot/gummiboot.mk new file mode 100644 index 00000000..eb1f3da7 --- /dev/null +++ b/buildroot-2022.02.1/boot/gummiboot/gummiboot.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# gummiboot +# +################################################################################ + +GUMMIBOOT_SITE = https://gitlab.freedesktop.org/archived-projects/gummiboot.git +GUMMIBOOT_SITE_METHOD = git +GUMMIBOOT_VERSION = 2bcd919c681c952eb867ef1bdb458f1bc49c2d55 +GUMMIBOOT_LICENSE = LGPL-2.1+ +GUMMIBOOT_LICENSE_FILES = LICENSE + +# The git archive does not have the autoconf/automake stuff generated. +GUMMIBOOT_AUTORECONF = YES +GUMMIBOOT_DEPENDENCIES = gnu-efi host-pkgconf util-linux +GUMMIBOOT_INSTALL_TARGET = NO +GUMMIBOOT_INSTALL_IMAGES = YES + +ifeq ($(BR2_i386),y) +GUMMIBOOT_IMGARCH = ia32 +else ifeq ($(BR2_x86_64),y) +GUMMIBOOT_IMGARCH = x64 +endif + +GUMMIBOOT_CONF_OPTS = \ + --host=$(BR2_ARCH) \ + --with-efi-libdir=$(STAGING_DIR)/usr/lib \ + --with-efi-ldsdir=$(STAGING_DIR)/usr/lib \ + --with-efi-includedir=$(STAGING_DIR)/usr/include \ + --disable-manpages + +define GUMMIBOOT_INSTALL_IMAGES_CMDS + $(INSTALL) -D -m 0644 $(@D)/gummiboot$(GUMMIBOOT_IMGARCH).efi \ + $(BINARIES_DIR)/efi-part/EFI/BOOT/boot$(GUMMIBOOT_IMGARCH).efi + $(INSTALL) -D -m 0644 boot/gummiboot/loader.conf \ + $(BINARIES_DIR)/efi-part/loader/loader.conf + $(INSTALL) -D -m 0644 boot/gummiboot/buildroot.conf \ + $(BINARIES_DIR)/efi-part/loader/entries/buildroot.conf +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/boot/gummiboot/loader.conf b/buildroot-2022.02.1/boot/gummiboot/loader.conf similarity index 100% rename from buildroot-2021.05/boot/gummiboot/loader.conf rename to buildroot-2022.02.1/boot/gummiboot/loader.conf diff --git a/buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch b/buildroot-2022.02.1/boot/lpc32xxcdl/0001-compiler_name.patch similarity index 100% rename from buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl-2.11-compiler_name.patch rename to buildroot-2022.02.1/boot/lpc32xxcdl/0001-compiler_name.patch diff --git a/buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch b/buildroot-2022.02.1/boot/lpc32xxcdl/0002-delete_redundant_files.patch similarity index 100% rename from buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl-2.11-delete_redundant_files.patch rename to buildroot-2022.02.1/boot/lpc32xxcdl/0002-delete_redundant_files.patch diff --git a/buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch b/buildroot-2022.02.1/boot/lpc32xxcdl/0003-libnosys_gnu.patch similarity index 100% rename from buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl-2.11-libnosys_gnu.patch rename to buildroot-2022.02.1/boot/lpc32xxcdl/0003-libnosys_gnu.patch diff --git a/buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch b/buildroot-2022.02.1/boot/lpc32xxcdl/0004-slashes.patch similarity index 100% rename from buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl-2.11-slashes.patch rename to buildroot-2022.02.1/boot/lpc32xxcdl/0004-slashes.patch diff --git a/buildroot-2021.05/boot/lpc32xxcdl/Config.in b/buildroot-2022.02.1/boot/lpc32xxcdl/Config.in similarity index 100% rename from buildroot-2021.05/boot/lpc32xxcdl/Config.in rename to buildroot-2022.02.1/boot/lpc32xxcdl/Config.in diff --git a/buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl.hash b/buildroot-2022.02.1/boot/lpc32xxcdl/lpc32xxcdl.hash similarity index 100% rename from buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl.hash rename to buildroot-2022.02.1/boot/lpc32xxcdl/lpc32xxcdl.hash diff --git a/buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl.mk b/buildroot-2022.02.1/boot/lpc32xxcdl/lpc32xxcdl.mk similarity index 100% rename from buildroot-2021.05/boot/lpc32xxcdl/lpc32xxcdl.mk rename to buildroot-2022.02.1/boot/lpc32xxcdl/lpc32xxcdl.mk diff --git a/buildroot-2021.05/boot/mv-ddr-marvell/Config.in b/buildroot-2022.02.1/boot/mv-ddr-marvell/Config.in similarity index 100% rename from buildroot-2021.05/boot/mv-ddr-marvell/Config.in rename to buildroot-2022.02.1/boot/mv-ddr-marvell/Config.in diff --git a/buildroot-2022.02.1/boot/mv-ddr-marvell/mv-ddr-marvell.hash b/buildroot-2022.02.1/boot/mv-ddr-marvell/mv-ddr-marvell.hash new file mode 100644 index 00000000..5bfae8af --- /dev/null +++ b/buildroot-2022.02.1/boot/mv-ddr-marvell/mv-ddr-marvell.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 bfab74a625d65238c569b9df282b55c0fc9a1e2d3decedcf194d44774df2ede4 mv-ddr-marvell-305d923e6bc4236cd3b902f6679b0aef9e5fa52d.tar.gz +sha256 48bb930b6fbc3f5db72e29c849b096df3868e4a6d2bdc0e2dd3365c768241cd5 ddr3_init.c diff --git a/buildroot-2021.05/boot/mv-ddr-marvell/mv-ddr-marvell.mk b/buildroot-2022.02.1/boot/mv-ddr-marvell/mv-ddr-marvell.mk similarity index 100% rename from buildroot-2021.05/boot/mv-ddr-marvell/mv-ddr-marvell.mk rename to buildroot-2022.02.1/boot/mv-ddr-marvell/mv-ddr-marvell.mk diff --git a/buildroot-2021.05/boot/mxs-bootlets/Config.in b/buildroot-2022.02.1/boot/mxs-bootlets/Config.in similarity index 100% rename from buildroot-2021.05/boot/mxs-bootlets/Config.in rename to buildroot-2022.02.1/boot/mxs-bootlets/Config.in diff --git a/buildroot-2021.05/boot/mxs-bootlets/barebox_ivt.bd b/buildroot-2022.02.1/boot/mxs-bootlets/barebox_ivt.bd similarity index 100% rename from buildroot-2021.05/boot/mxs-bootlets/barebox_ivt.bd rename to buildroot-2022.02.1/boot/mxs-bootlets/barebox_ivt.bd diff --git a/buildroot-2021.05/boot/mxs-bootlets/mxs-bootlets.hash b/buildroot-2022.02.1/boot/mxs-bootlets/mxs-bootlets.hash similarity index 100% rename from buildroot-2021.05/boot/mxs-bootlets/mxs-bootlets.hash rename to buildroot-2022.02.1/boot/mxs-bootlets/mxs-bootlets.hash diff --git a/buildroot-2021.05/boot/mxs-bootlets/mxs-bootlets.mk b/buildroot-2022.02.1/boot/mxs-bootlets/mxs-bootlets.mk similarity index 100% rename from buildroot-2021.05/boot/mxs-bootlets/mxs-bootlets.mk rename to buildroot-2022.02.1/boot/mxs-bootlets/mxs-bootlets.mk diff --git a/buildroot-2021.05/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch b/buildroot-2022.02.1/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch similarity index 100% rename from buildroot-2021.05/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch rename to buildroot-2022.02.1/boot/opensbi/0.9/0001-Makefile-Don-t-specify-mabi-or-march.patch diff --git a/buildroot-2021.05/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch b/buildroot-2022.02.1/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch similarity index 100% rename from buildroot-2021.05/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch rename to buildroot-2022.02.1/boot/opensbi/0.9/0002-Makefile-unconditionally-disable-SSP.patch diff --git a/buildroot-2022.02.1/boot/opensbi/Config.in b/buildroot-2022.02.1/boot/opensbi/Config.in new file mode 100644 index 00000000..f1443498 --- /dev/null +++ b/buildroot-2022.02.1/boot/opensbi/Config.in @@ -0,0 +1,122 @@ +config BR2_TARGET_OPENSBI + bool "opensbi" + depends on BR2_riscv + help + OpenSBI aims to provide an open-source and extensible + implementation of the RISC-V SBI specification for a platform + specific firmware (M-mode) and a general purpose OS, + hypervisor or bootloader (S-mode or HS-mode). OpenSBI + implementation can be easily extended by RISC-V platform or + System-on-Chip vendors to fit a particular hadware + configuration. + + https://github.com/riscv/opensbi.git + +if BR2_TARGET_OPENSBI +choice + prompt "OpenSBI Version" + help + Select the specific OpenSBI version you want to use + +config BR2_TARGET_OPENSBI_LATEST_VERSION + bool "0.9" + +config BR2_TARGET_OPENSBI_CUSTOM_VERSION + bool "Custom version" + help + This option allows to use a specific official versions + +config BR2_TARGET_OPENSBI_CUSTOM_TARBALL + bool "Custom tarball" + +config BR2_TARGET_OPENSBI_CUSTOM_GIT + bool "Custom Git repository" + +endchoice + +config BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE + string "OpenSBI version" + depends on BR2_TARGET_OPENSBI_CUSTOM_VERSION + +config BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION + string "URL of custom OpenSBI tarball" + depends on BR2_TARGET_OPENSBI_CUSTOM_TARBALL + +if BR2_TARGET_OPENSBI_CUSTOM_GIT + +config BR2_TARGET_OPENSBI_CUSTOM_REPO_URL + string "URL of custom repository" + +config BR2_TARGET_OPENSBI_CUSTOM_REPO_VERSION + string "Custom repository version" + help + Revision to use in the typical format used by Git. E.G. a + sha id, a tag, branch, .. + +endif + +config BR2_TARGET_OPENSBI_VERSION + string + default "0.9" if BR2_TARGET_OPENSBI_LATEST_VERSION + default BR2_TARGET_OPENSBI_CUSTOM_VERSION_VALUE \ + if BR2_TARGET_OPENSBI_CUSTOM_VERSION + default "custom" if BR2_TARGET_OPENSBI_CUSTOM_TARBALL + default BR2_TARGET_OPENSBI_CUSTOM_REPO_VERSION \ + if BR2_TARGET_OPENSBI_CUSTOM_GIT + +config BR2_TARGET_OPENSBI_PLAT + string "OpenSBI Platform" + default "" + help + Specifies the OpenSBI platform to build. If no platform is + specified only the OpenSBI platform independent static + library libsbi.a is built. If a platform is specified then + the platform specific static library libplatsbi.a and firmware + examples are built. + +config BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG + bool "Install fw_dynamic image" + default y if BR2_TARGET_OPENSBI_PLAT != "" + help + This installs the fw_dynamic image. + +config BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG + bool "Install fw_jump image" + default y if BR2_TARGET_OPENSBI_PLAT != "" + help + This installs the fw_jump image. + +config BR2_TARGET_OPENSBI_INSTALL_PAYLOAD_IMG + bool "Install fw_payload image" + help + This option enables the installation of the fw_paylaod + image. + +config BR2_TARGET_OPENSBI_LINUX_PAYLOAD + bool "Include Linux as OpenSBI Payload" + depends on BR2_TARGET_OPENSBI_PLAT != "" + depends on BR2_LINUX_KERNEL + depends on BR2_LINUX_KERNEL_IMAGE + select BR2_TARGET_OPENSBI_INSTALL_PAYLOAD_IMG + help + Build OpenSBI with the Linux kernel as a Payload. + +config BR2_TARGET_OPENSBI_UBOOT_PAYLOAD + bool "Include U-Boot as OpenSBI Payload" + depends on BR2_TARGET_OPENSBI_PLAT != "" + depends on BR2_TARGET_UBOOT + select BR2_TARGET_OPENSBI_INSTALL_PAYLOAD_IMG + help + Build OpenSBI with the U-Boot as a Payload. + +config BR2_TARGET_OPENSBI_FW_FDT_PATH + bool "Include U-Boot DTB in OpenSBI Payload" + depends on BR2_TARGET_OPENSBI_UBOOT_PAYLOAD + select BR2_TARGET_UBOOT_FORMAT_DTB + help + Build OpenSBI with FW_FDT_PATH set to + $(BINARIES_DIR)/u-boot.dtb. Note that CONFIG_OF_SEPARATE + must be set in the U-Boot configuration for this file to be + produced. + +endif diff --git a/buildroot-2021.05/boot/opensbi/opensbi.hash b/buildroot-2022.02.1/boot/opensbi/opensbi.hash similarity index 100% rename from buildroot-2021.05/boot/opensbi/opensbi.hash rename to buildroot-2022.02.1/boot/opensbi/opensbi.hash diff --git a/buildroot-2022.02.1/boot/opensbi/opensbi.mk b/buildroot-2022.02.1/boot/opensbi/opensbi.mk new file mode 100644 index 00000000..8e055633 --- /dev/null +++ b/buildroot-2022.02.1/boot/opensbi/opensbi.mk @@ -0,0 +1,89 @@ +################################################################################ +# +# opensbi +# +################################################################################ + +OPENSBI_VERSION = $(call qstrip,$(BR2_TARGET_OPENSBI_VERSION)) + +ifeq ($(OPENSBI_VERSION),custom) +# Handle custom OpenSBI tarballs as specified by the configuration +OPENSBI_TARBALL = $(call qstrip,$(BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION)) +OPENSBI_SITE = $(patsubst %/,%,$(dir $(OPENSBI_TARBALL))) +OPENSBI_SOURCE = $(notdir $(OPENSBI_TARBALL)) +else ifeq ($(BR2_TARGET_OPENSBI_CUSTOM_GIT),y) +OPENSBI_SITE = $(call qstrip,$(BR2_TARGET_OPENSBI_CUSTOM_REPO_URL)) +OPENSBI_SITE_METHOD = git +else +# Handle official OpenSBI versions +OPENSBI_SITE = $(call github,riscv,opensbi,v$(OPENSBI_VERSION)) +endif + +OPENSBI_LICENSE = BSD-2-Clause +ifeq ($(BR2_TARGET_OPENSBI_LATEST_VERSION),y) +OPENSBI_LICENSE_FILES = COPYING.BSD +endif +OPENSBI_INSTALL_TARGET = NO +OPENSBI_INSTALL_STAGING = YES + +ifeq ($(BR2_TARGET_OPENSBI)$(BR2_TARGET_OPENSBI_LATEST_VERSION),y) +BR_NO_CHECK_HASH_FOR += $(OPENSBI_SOURCE) +endif + +OPENSBI_MAKE_ENV = \ + CROSS_COMPILE=$(TARGET_CROSS) + +OPENSBI_PLAT = $(call qstrip,$(BR2_TARGET_OPENSBI_PLAT)) +ifneq ($(OPENSBI_PLAT),) +OPENSBI_MAKE_ENV += PLATFORM=$(OPENSBI_PLAT) +endif + +ifeq ($(BR2_TARGET_OPENSBI_LINUX_PAYLOAD),y) +OPENSBI_DEPENDENCIES += linux +OPENSBI_MAKE_ENV += FW_PAYLOAD_PATH="$(BINARIES_DIR)/Image" +endif + +ifeq ($(BR2_TARGET_OPENSBI_UBOOT_PAYLOAD),y) +OPENSBI_DEPENDENCIES += uboot +OPENSBI_MAKE_ENV += FW_PAYLOAD_PATH="$(BINARIES_DIR)/u-boot.bin" +ifeq ($(BR2_TARGET_OPENSBI_FW_FDT_PATH),y) +OPENSBI_MAKE_ENV += FW_FDT_PATH="$(BINARIES_DIR)/u-boot.dtb" +endif +endif + +define OPENSBI_BUILD_CMDS + $(TARGET_MAKE_ENV) $(OPENSBI_MAKE_ENV) $(MAKE) -C $(@D) +endef + +ifeq ($(BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG),y) +OPENSBI_INSTALL_IMAGES = YES +OPENSBI_FW_IMAGES += dynamic +endif + +ifeq ($(BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG),y) +OPENSBI_INSTALL_IMAGES = YES +OPENSBI_FW_IMAGES += jump +endif + +ifeq ($(BR2_TARGET_OPENSBI_INSTALL_PAYLOAD_IMG),y) +OPENSBI_INSTALL_IMAGES = YES +OPENSBI_FW_IMAGES += payload +endif + +define OPENSBI_INSTALL_IMAGES_CMDS + $(foreach f,$(OPENSBI_FW_IMAGES),\ + $(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_$(f).bin \ + $(BINARIES_DIR)/fw_$(f).bin + $(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_$(f).elf \ + $(BINARIES_DIR)/fw_$(f).elf + ) +endef + +# libsbi.a is not a library meant to be linked in user-space code, but +# with bare metal code, which is why we don't install it in +# $(STAGING_DIR)/usr/lib +define OPENSBI_INSTALL_STAGING_CMDS + $(INSTALL) -m 0644 -D $(@D)/build/lib/libsbi.a $(STAGING_DIR)/usr/share/opensbi/libsbi.a +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/boot/optee-os/3.13.0/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch b/buildroot-2022.02.1/boot/optee-os/3.13.0/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch new file mode 100644 index 00000000..0ff61dc5 --- /dev/null +++ b/buildroot-2022.02.1/boot/optee-os/3.13.0/0001-core-zlib-fix-build-warning-when-_LFS64_LARGEFILE-is.patch @@ -0,0 +1,56 @@ +From 82becbadd5918ed7ad3c2b651ce479084b5feb2a Mon Sep 17 00:00:00 2001 +From: Etienne Carriere +Date: Mon, 10 May 2021 15:58:41 +0200 +Subject: core: zlib: fix build warning when _LFS64_LARGEFILE is not defined + +In zlib, _LFS64_LARGEFILE is expected to be a boolean directive, either +1 (true) or 0 (false). Depending on toolchain version and directives +build may produces warnings (as shown below with gcc 9.3) when the macro +is not defined hence this change to default it to value 0 (false). + +core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef] + 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0) + | ^~~~~~~~~~~~~~~~ +In file included from core/lib/zlib/adler32.c:9: +core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef] + 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0) + | ^~~~~~~~~~~~~~~~ + CC out/core/lib/zlib/zutil.o +In file included from core/lib/zlib/inftrees.c:7: +core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef] + 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0) + | ^~~~~~~~~~~~~~~~ +In file included from core/lib/zlib/inflate.c:84: +core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef] + 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0) + | ^~~~~~~~~~~~~~~~ +In file included from core/lib/zlib/zutil.c:9: +core/lib/zlib/zutil.h:196:39: warning: "_LFS64_LARGEFILE" is not defined, evaluates to 0 [-Wundef] + 196 | (!defined(_LARGEFILE64_SOURCE) || _LFS64_LARGEFILE-0 == 0) + | ^~~~~~~~~~~~~~~~ + +Signed-off-by: Etienne Carriere +Reviewed-by: Jens Wiklander +--- + core/lib/zlib/zconf.h | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/core/lib/zlib/zconf.h b/core/lib/zlib/zconf.h +index 0bca18be..a7d13741 100644 +--- a/core/lib/zlib/zconf.h ++++ b/core/lib/zlib/zconf.h +@@ -487,6 +487,11 @@ typedef uLong FAR uLongf; + # endif + #endif + ++/* Other places expect _LFS64_LARGEFILE to be defined with a valid value */ ++#ifndef _LFS64_LARGEFILE ++#define _LFS64_LARGEFILE 0 ++#endif ++ + #if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0 + # define Z_LFS64 + #endif +-- +2.17.1 + diff --git a/buildroot-2022.02.1/boot/optee-os/Config.in b/buildroot-2022.02.1/boot/optee-os/Config.in new file mode 100644 index 00000000..ea16550b --- /dev/null +++ b/buildroot-2022.02.1/boot/optee-os/Config.in @@ -0,0 +1,116 @@ +config BR2_TARGET_OPTEE_OS + bool "optee_os" + depends on BR2_ARM_CPU_ARMV8A || BR2_ARM_CPU_ARMV7A + help + OP-TEE OS provides the secure world boot image and the trust + application development kit of the OP-TEE project. OP-TEE OS + also provides generic trusted application one can embedded + into its system. + + http://github.com/OP-TEE/optee_os + +if BR2_TARGET_OPTEE_OS + +choice + prompt "OP-TEE OS version" + default BR2_TARGET_OPTEE_OS_LATEST + help + Select the version of OP-TEE OS you want to use + +config BR2_TARGET_OPTEE_OS_LATEST + bool "3.15.0" + help + Use the latest release tag from the OP-TEE OS official Git + repository. + +config BR2_TARGET_OPTEE_OS_CUSTOM_GIT + bool "Custom Git repository" + help + Use a custom version fetched from a Git repository. + +endchoice + +if BR2_TARGET_OPTEE_OS_CUSTOM_GIT + +config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL + string "URL of custom repository" + depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT + help + Specific location of the reference source tree Git + repository. + +config BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION + string "Custom repository version" + depends on BR2_TARGET_OPTEE_OS_CUSTOM_GIT + help + Revision to use in the typical format used by Git, i.e a + SHA1 or a tag. + +endif + +config BR2_TARGET_OPTEE_OS_VERSION + string + default "3.15.0" if BR2_TARGET_OPTEE_OS_LATEST + default BR2_TARGET_OPTEE_OS_CUSTOM_REPO_VERSION \ + if BR2_TARGET_OPTEE_OS_CUSTOM_GIT + +config BR2_TARGET_OPTEE_OS_NEEDS_DTC + bool "OP-TEE OS needs dtc" + select BR2_PACKAGE_HOST_DTC + help + Select this option if your OP-TEE OS platform configuration + requires the Device Tree compiler to be available. + +config BR2_TARGET_OPTEE_OS_CORE + bool "Build core" + default y + help + This option will build and install the OP-TEE core + boot images. + +config BR2_TARGET_OPTEE_OS_SDK + bool "Build TA devkit" + default y + help + This option will build and install the OP-TEE development + kit for building OP-TEE trusted application images. It is + installed in the staging directory /lib/optee. + +config BR2_TARGET_OPTEE_OS_SERVICES + bool "Build service TAs and libs" + default y + select BR2_TARGET_OPTEE_OS_CORE + help + This option installs the service trusted applications and + trusted shared libraries built from OP-TEE OS source tree. + These are installed in target /lib/optee_armtz directory + as other trusted applications. At runtime OP-TEE OS can + load these from this non-secure filesystem/directory into + the secure world for execution. + +config BR2_TARGET_OPTEE_OS_PLATFORM + string "Target platform (mandatory)" + help + Value for the mandated PLATFORM build directive provided to + OP-TEE OS. + +config BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR + string "Target platform flavor (optional)" + help + Value for the optional PLATFORM_FLAVOR build directive + provided to OP-TEE OS. + +config BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES + string "Additional build variables" + help + Additional parameters for the OP-TEE OS build + E.g. 'CFG_TEE_CORE_LOG_LEVEL=3 CFG_UNWIND=y' + +config BR2_TARGET_OPTEE_OS_CORE_IMAGES + string "Binary boot images" + default "tee.bin tee-*_v2.bin" + help + Names of generated image files that are installed in the + output images/ directory. + +endif # BR2_TARGET_OPTEE_OS diff --git a/buildroot-2022.02.1/boot/optee-os/optee-os.hash b/buildroot-2022.02.1/boot/optee-os/optee-os.hash new file mode 100644 index 00000000..3c32e25b --- /dev/null +++ b/buildroot-2022.02.1/boot/optee-os/optee-os.hash @@ -0,0 +1,4 @@ +# From https://github.com/OP-TEE/optee_os/archive/3.15.0/optee-os-3.15.0.tar.gz +sha256 e5bb3d9eedaf7785af091602addac5b52118f4cdc108af9cd6f6c96b21503ab8 optee-os-3.15.0.tar.gz +# Locally computed +sha256 1247ee90858f4037b6cac63cbffddfed435d0d73c631b37d78c1e6e6ab3e5d1a LICENSE diff --git a/buildroot-2022.02.1/boot/optee-os/optee-os.mk b/buildroot-2022.02.1/boot/optee-os/optee-os.mk new file mode 100644 index 00000000..9f76d845 --- /dev/null +++ b/buildroot-2022.02.1/boot/optee-os/optee-os.mk @@ -0,0 +1,125 @@ +################################################################################ +# +# optee-os +# +################################################################################ + +OPTEE_OS_VERSION = $(call qstrip,$(BR2_TARGET_OPTEE_OS_VERSION)) +OPTEE_OS_LICENSE = BSD-2-Clause +ifeq ($(BR2_TARGET_OPTEE_OS_LATEST),y) +OPTEE_OS_LICENSE_FILES = LICENSE +endif + +OPTEE_OS_INSTALL_STAGING = YES +OPTEE_OS_INSTALL_IMAGES = YES + +ifeq ($(BR2_TARGET_OPTEE_OS_CUSTOM_GIT),y) +OPTEE_OS_SITE = $(call qstrip,$(BR2_TARGET_OPTEE_OS_CUSTOM_REPO_URL)) +OPTEE_OS_SITE_METHOD = git +BR_NO_CHECK_HASH_FOR += $(OPTEE_OS_SOURCE) +else +OPTEE_OS_SITE = $(call github,OP-TEE,optee_os,$(OPTEE_OS_VERSION)) +endif + +OPTEE_OS_DEPENDENCIES = host-openssl host-python3 host-python-pycryptodomex host-python-pyelftools + +ifeq ($(BR2_TARGET_OPTEE_OS_NEEDS_DTC),y) +OPTEE_OS_DEPENDENCIES += host-dtc +endif + +# On 64bit targets, OP-TEE OS can be built in 32bit mode, or +# can be built in 64bit mode and support 32bit and 64bit +# trusted applications. Since buildroot currently references +# a single cross compiler, build exclusively in 32bit +# or 64bit mode. +OPTEE_OS_MAKE_OPTS = \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + CROSS_COMPILE_core="$(TARGET_CROSS)" \ + CROSS_COMPILE_ta_arm64="$(TARGET_CROSS)" \ + CROSS_COMPILE_ta_arm32="$(TARGET_CROSS)" \ + PYTHON3="$(HOST_DIR)/bin/python3" + +ifeq ($(BR2_aarch64),y) +OPTEE_OS_MAKE_OPTS += \ + CFG_ARM64_core=y \ + CFG_USER_TA_TARGETS=ta_arm64 +else +OPTEE_OS_MAKE_OPTS += \ + CFG_ARM32_core=y +endif + +# Get mandatory PLAFORM and optional PLATFORM_FLAVOR and additional +# variables +OPTEE_OS_MAKE_OPTS += PLATFORM=$(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM)) +ifneq ($(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR)),) +OPTEE_OS_MAKE_OPTS += PLATFORM_FLAVOR=$(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM_FLAVOR)) +endif +OPTEE_OS_MAKE_OPTS += $(call qstrip,$(BR2_TARGET_OPTEE_OS_ADDITIONAL_VARIABLES)) + +# Requests OP-TEE OS to build from subdirectory out/ of its sourcetree +# root path otherwise the output directory path depends on the target +# platform name. +OPTEE_OS_BUILDDIR_OUT = out +ifeq ($(BR2_aarch64),y) +OPTEE_OS_LOCAL_SDK = $(OPTEE_OS_BUILDDIR_OUT)/export-ta_arm64 +OPTEE_OS_SDK = $(STAGING_DIR)/lib/optee/export-ta_arm64 +endif +ifeq ($(BR2_arm),y) +OPTEE_OS_LOCAL_SDK = $(OPTEE_OS_BUILDDIR_OUT)/export-ta_arm32 +OPTEE_OS_SDK = $(STAGING_DIR)/lib/optee/export-ta_arm32 +endif + +OPTEE_OS_IMAGE_FILES = $(call qstrip,$(BR2_TARGET_OPTEE_OS_CORE_IMAGES)) + +ifeq ($(BR2_TARGET_OPTEE_OS_CORE),y) +define OPTEE_OS_BUILD_CORE + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) O=$(OPTEE_OS_BUILDDIR_OUT) \ + $(TARGET_CONFIGURE_OPTS) $(OPTEE_OS_MAKE_OPTS) all +endef +define OPTEE_OS_INSTALL_IMAGES_CORE + mkdir -p $(BINARIES_DIR) + $(foreach f,$(OPTEE_OS_IMAGE_FILES), \ + cp -dpf $(wildcard $(@D)/$(OPTEE_OS_BUILDDIR_OUT)/core/$(f)) $(BINARIES_DIR)/ + ) +endef +endif # BR2_TARGET_OPTEE_OS_CORE + +ifeq ($(BR2_TARGET_OPTEE_OS_SERVICES),y) +define OPTEE_OS_INSTALL_TARGET_CMDS + $(if $(wildcard $(@D)/$(OPTEE_OS_BUILDDIR_OUT)/ta/*/*.ta), + $(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz \ + $(@D)/$(OPTEE_OS_BUILDDIR_OUT)/ta/*/*.ta) + $(if $(wildcard $(@D)/$(OPTEE_OS_LOCAL_SDK)/lib/*.ta), + $(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz \ + $(@D)/$(OPTEE_OS_LOCAL_SDK)/lib/*.ta) +endef +endif # BR2_TARGET_OPTEE_OS_SERVICES + +ifeq ($(BR2_TARGET_OPTEE_OS_SDK),y) +define OPTEE_OS_BUILD_SDK + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) O=$(OPTEE_OS_BUILDDIR_OUT) \ + $(TARGET_CONFIGURE_OPTS) $(OPTEE_OS_MAKE_OPTS) ta_dev_kit +endef +define OPTEE_OS_INSTALL_STAGING_CMDS + mkdir -p $(OPTEE_OS_SDK) + cp -ardpf $(@D)/$(OPTEE_OS_LOCAL_SDK)/* $(OPTEE_OS_SDK) +endef +endif # BR2_TARGET_OPTEE_OS_SDK + +define OPTEE_OS_BUILD_CMDS + $(OPTEE_OS_BUILD_CORE) + $(OPTEE_OS_BUILD_SDK) +endef + +define OPTEE_OS_INSTALL_IMAGES_CMDS + $(OPTEE_OS_INSTALL_IMAGES_CORE) + $(OPTEE_OS_INSTALL_IMAGES_SERVICES) +endef + +ifeq ($(BR2_TARGET_OPTEE_OS)$(BR_BUILDING),yy) +ifeq ($(call qstrip,$(BR2_TARGET_OPTEE_OS_PLATFORM)),) +$(error No OP-TEE OS platform set. Check your BR2_TARGET_OPTEE_OS_PLATFORM setting) +endif +endif # BR2_TARGET_OPTEE_OS && BR2_BUILDING + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/s500-bootloader/Config.in b/buildroot-2022.02.1/boot/s500-bootloader/Config.in similarity index 100% rename from buildroot-2021.05/boot/s500-bootloader/Config.in rename to buildroot-2022.02.1/boot/s500-bootloader/Config.in diff --git a/buildroot-2021.05/boot/s500-bootloader/s500-bootloader.hash b/buildroot-2022.02.1/boot/s500-bootloader/s500-bootloader.hash similarity index 100% rename from buildroot-2021.05/boot/s500-bootloader/s500-bootloader.hash rename to buildroot-2022.02.1/boot/s500-bootloader/s500-bootloader.hash diff --git a/buildroot-2021.05/boot/s500-bootloader/s500-bootloader.mk b/buildroot-2022.02.1/boot/s500-bootloader/s500-bootloader.mk similarity index 100% rename from buildroot-2021.05/boot/s500-bootloader/s500-bootloader.mk rename to buildroot-2022.02.1/boot/s500-bootloader/s500-bootloader.mk diff --git a/buildroot-2021.05/boot/shim/Config.in b/buildroot-2022.02.1/boot/shim/Config.in similarity index 100% rename from buildroot-2021.05/boot/shim/Config.in rename to buildroot-2022.02.1/boot/shim/Config.in diff --git a/buildroot-2021.05/boot/shim/shim.hash b/buildroot-2022.02.1/boot/shim/shim.hash similarity index 100% rename from buildroot-2021.05/boot/shim/shim.hash rename to buildroot-2022.02.1/boot/shim/shim.hash diff --git a/buildroot-2021.05/boot/shim/shim.mk b/buildroot-2022.02.1/boot/shim/shim.mk similarity index 100% rename from buildroot-2021.05/boot/shim/shim.mk rename to buildroot-2022.02.1/boot/shim/shim.mk diff --git a/buildroot-2022.02.1/boot/sun20i-d1-spl/Config.in b/buildroot-2022.02.1/boot/sun20i-d1-spl/Config.in new file mode 100644 index 00000000..9d94d87b --- /dev/null +++ b/buildroot-2022.02.1/boot/sun20i-d1-spl/Config.in @@ -0,0 +1,8 @@ +config BR2_TARGET_SUN20I_D1_SPL + bool "sun20-d1-spl" + depends on BR2_RISCV_64 + help + Allwinner D1 boot0 code with modifications to use as U-Boot + SPL. + + https://github.com/smaeul/sun20i_d1_spl diff --git a/buildroot-2022.02.1/boot/sun20i-d1-spl/sun20i-d1-spl.hash b/buildroot-2022.02.1/boot/sun20i-d1-spl/sun20i-d1-spl.hash new file mode 100644 index 00000000..6ca60e52 --- /dev/null +++ b/buildroot-2022.02.1/boot/sun20i-d1-spl/sun20i-d1-spl.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 69063601239a7254fb72e486b138d88a6f2b5c645b24cdfe9792123f975d4a8f sun20i-d1-spl-771192d0b3737798d7feca87263c8fa74a449787.tar.gz diff --git a/buildroot-2022.02.1/boot/sun20i-d1-spl/sun20i-d1-spl.mk b/buildroot-2022.02.1/boot/sun20i-d1-spl/sun20i-d1-spl.mk new file mode 100644 index 00000000..2462ce23 --- /dev/null +++ b/buildroot-2022.02.1/boot/sun20i-d1-spl/sun20i-d1-spl.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# sun20i-d1-spl +# +################################################################################ + +# Commit on the 'mainline' branch +SUN20I_D1_SPL_VERSION = 771192d0b3737798d7feca87263c8fa74a449787 +SUN20I_D1_SPL_SITE = $(call github,smaeul,sun20i_d1_spl,$(SUN20I_D1_SPL_VERSION)) +SUN20I_D1_SPL_INSTALL_TARGET = NO +SUN20I_D1_SPL_INSTALL_IMAGES = YES +SUN20I_D1_SPL_LICENSE = GPL-2.0+ + +define SUN20I_D1_SPL_BUILD_CMDS + $(MAKE) -C $(@D) CROSS_COMPILE="$(TARGET_CROSS)" p=sun20iw1p1 mmc +endef + +define SUN20I_D1_SPL_INSTALL_IMAGES_CMDS + $(INSTALL) -D -m 0644 $(@D)/nboot/boot0_sdcard_sun20iw1p1.bin \ + $(BINARIES_DIR)/boot0_sdcard_sun20iw1p1.bin +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/syslinux/0001-bios-Fix-alignment-change-with-gcc-5.patch b/buildroot-2022.02.1/boot/syslinux/0001-bios-Fix-alignment-change-with-gcc-5.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0001-bios-Fix-alignment-change-with-gcc-5.patch rename to buildroot-2022.02.1/boot/syslinux/0001-bios-Fix-alignment-change-with-gcc-5.patch diff --git a/buildroot-2021.05/boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch b/buildroot-2022.02.1/boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch rename to buildroot-2022.02.1/boot/syslinux/0002-Disable-PIE-to-avoid-FTBFS-on-amd64.patch diff --git a/buildroot-2021.05/boot/syslinux/0003-memdisk-Force-ld-output-format-to-32-bits.patch b/buildroot-2022.02.1/boot/syslinux/0003-memdisk-Force-ld-output-format-to-32-bits.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0003-memdisk-Force-ld-output-format-to-32-bits.patch rename to buildroot-2022.02.1/boot/syslinux/0003-memdisk-Force-ld-output-format-to-32-bits.patch diff --git a/buildroot-2021.05/boot/syslinux/0004-utils-Use-the-host-toolchain-to-build.patch b/buildroot-2022.02.1/boot/syslinux/0004-utils-Use-the-host-toolchain-to-build.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0004-utils-Use-the-host-toolchain-to-build.patch rename to buildroot-2022.02.1/boot/syslinux/0004-utils-Use-the-host-toolchain-to-build.patch diff --git a/buildroot-2021.05/boot/syslinux/0005-lzo-Use-the-host-toolchain-for-prepcore.patch b/buildroot-2022.02.1/boot/syslinux/0005-lzo-Use-the-host-toolchain-for-prepcore.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0005-lzo-Use-the-host-toolchain-for-prepcore.patch rename to buildroot-2022.02.1/boot/syslinux/0005-lzo-Use-the-host-toolchain-for-prepcore.patch diff --git a/buildroot-2021.05/boot/syslinux/0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch b/buildroot-2022.02.1/boot/syslinux/0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch rename to buildroot-2022.02.1/boot/syslinux/0006-The-VPrint-definition-is-now-part-of-the-exports-of-.patch diff --git a/buildroot-2021.05/boot/syslinux/0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch b/buildroot-2022.02.1/boot/syslinux/0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch rename to buildroot-2022.02.1/boot/syslinux/0007-Update-the-longjump-calls-to-fit-the-new-declaration.patch diff --git a/buildroot-2021.05/boot/syslinux/0008-efi-wrapper-build-it-with-the-host-toolchain.patch b/buildroot-2022.02.1/boot/syslinux/0008-efi-wrapper-build-it-with-the-host-toolchain.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0008-efi-wrapper-build-it-with-the-host-toolchain.patch rename to buildroot-2022.02.1/boot/syslinux/0008-efi-wrapper-build-it-with-the-host-toolchain.patch diff --git a/buildroot-2021.05/boot/syslinux/0009-bios-Don-t-try-to-guess-the-sections-alignment.patch b/buildroot-2022.02.1/boot/syslinux/0009-bios-Don-t-try-to-guess-the-sections-alignment.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0009-bios-Don-t-try-to-guess-the-sections-alignment.patch rename to buildroot-2022.02.1/boot/syslinux/0009-bios-Don-t-try-to-guess-the-sections-alignment.patch diff --git a/buildroot-2021.05/boot/syslinux/0010-core-Clean-up-the-i386-bios-build.patch b/buildroot-2022.02.1/boot/syslinux/0010-core-Clean-up-the-i386-bios-build.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0010-core-Clean-up-the-i386-bios-build.patch rename to buildroot-2022.02.1/boot/syslinux/0010-core-Clean-up-the-i386-bios-build.patch diff --git a/buildroot-2021.05/boot/syslinux/0011-extlinux-Use-the-host-toolchain-to-build.patch b/buildroot-2022.02.1/boot/syslinux/0011-extlinux-Use-the-host-toolchain-to-build.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0011-extlinux-Use-the-host-toolchain-to-build.patch rename to buildroot-2022.02.1/boot/syslinux/0011-extlinux-Use-the-host-toolchain-to-build.patch diff --git a/buildroot-2021.05/boot/syslinux/0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch b/buildroot-2022.02.1/boot/syslinux/0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch rename to buildroot-2022.02.1/boot/syslinux/0012-pull-in-sys-sysmacros-h-for-major-minor-makedev.patch diff --git a/buildroot-2021.05/boot/syslinux/0013-Fix-build-with-gnu-efi-version-3.0.9.patch b/buildroot-2022.02.1/boot/syslinux/0013-Fix-build-with-gnu-efi-version-3.0.9.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0013-Fix-build-with-gnu-efi-version-3.0.9.patch rename to buildroot-2022.02.1/boot/syslinux/0013-Fix-build-with-gnu-efi-version-3.0.9.patch diff --git a/buildroot-2021.05/boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch b/buildroot-2022.02.1/boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch rename to buildroot-2022.02.1/boot/syslinux/0014-Fix-build-with-binutils-note-gnu-property-section.patch diff --git a/buildroot-2021.05/boot/syslinux/0015-efi-main.c-include-efisetjmp.h.patch b/buildroot-2022.02.1/boot/syslinux/0015-efi-main.c-include-efisetjmp.h.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0015-efi-main.c-include-efisetjmp.h.patch rename to buildroot-2022.02.1/boot/syslinux/0015-efi-main.c-include-efisetjmp.h.patch diff --git a/buildroot-2021.05/boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch b/buildroot-2022.02.1/boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch rename to buildroot-2022.02.1/boot/syslinux/0016-Workaround-multiple-definition-of-symbol-errors.patch diff --git a/buildroot-2021.05/boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch b/buildroot-2022.02.1/boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch similarity index 100% rename from buildroot-2021.05/boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch rename to buildroot-2022.02.1/boot/syslinux/0017-Replace-builtin-strlen-that-appears-to-get-optimized.patch diff --git a/buildroot-2021.05/boot/syslinux/Config.in b/buildroot-2022.02.1/boot/syslinux/Config.in similarity index 100% rename from buildroot-2021.05/boot/syslinux/Config.in rename to buildroot-2022.02.1/boot/syslinux/Config.in diff --git a/buildroot-2021.05/boot/syslinux/syslinux.hash b/buildroot-2022.02.1/boot/syslinux/syslinux.hash similarity index 100% rename from buildroot-2021.05/boot/syslinux/syslinux.hash rename to buildroot-2022.02.1/boot/syslinux/syslinux.hash diff --git a/buildroot-2022.02.1/boot/syslinux/syslinux.mk b/buildroot-2022.02.1/boot/syslinux/syslinux.mk new file mode 100644 index 00000000..2df415fc --- /dev/null +++ b/buildroot-2022.02.1/boot/syslinux/syslinux.mk @@ -0,0 +1,113 @@ +################################################################################ +# +# syslinux to make target msdos/iso9660 filesystems bootable +# +################################################################################ + +SYSLINUX_VERSION = 6.03 +SYSLINUX_SOURCE = syslinux-$(SYSLINUX_VERSION).tar.xz +SYSLINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/boot/syslinux + +SYSLINUX_LICENSE = GPL-2.0+ +SYSLINUX_LICENSE_FILES = COPYING + +SYSLINUX_INSTALL_IMAGES = YES + +# host-util-linux needed to provide libuuid when building host tools +SYSLINUX_DEPENDENCIES = \ + host-nasm \ + host-python3 \ + host-upx \ + host-util-linux \ + util-linux + +ifeq ($(BR2_TARGET_SYSLINUX_LEGACY_BIOS),y) +SYSLINUX_TARGET += bios +endif + +# The syslinux build system must be forced to use Buildroot's gnu-efi +# package by setting EFIINC, LIBDIR and LIBEFI. Otherwise, it uses its +# own copy of gnu-efi included in syslinux's sources since 6.03 +# release. +ifeq ($(BR2_TARGET_SYSLINUX_EFI),y) +ifeq ($(BR2_ARCH_IS_64),y) +SYSLINUX_EFI_BITS = efi64 +else +SYSLINUX_EFI_BITS = efi32 +endif # 64-bit +SYSLINUX_DEPENDENCIES += gnu-efi +SYSLINUX_TARGET += $(SYSLINUX_EFI_BITS) +SYSLINUX_EFI_ARGS = \ + EFIINC=$(STAGING_DIR)/usr/include/efi \ + LIBDIR=$(STAGING_DIR)/usr/lib \ + LIBEFI=$(STAGING_DIR)/usr/lib/libefi.a +endif # EFI + +# The syslinux tarball comes with pre-compiled binaries. +# Since timestamps might not be in the correct order, a rebuild is +# not always triggered for all the different images. +# Cleanup the mess even before we attempt a build, so we indeed +# build everything from source. +define SYSLINUX_CLEANUP + rm -rf $(@D)/bios $(@D)/efi32 $(@D)/efi64 +endef +SYSLINUX_POST_PATCH_HOOKS += SYSLINUX_CLEANUP + +# syslinux build system has no convenient way to pass CFLAGS, +# and the internal zlib should take precedence so -I shouldn't +# be used. +define SYSLINUX_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) \ + CC="$(TARGET_CC)" \ + LD="$(TARGET_LD)" \ + OBJCOPY="$(TARGET_OBJCOPY)" \ + AS="$(TARGET_AS)" \ + NASM="$(HOST_DIR)/bin/nasm" \ + CC_FOR_BUILD="$(HOSTCC)" \ + CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ + LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \ + PYTHON=$(HOST_DIR)/bin/python3 \ + $(SYSLINUX_EFI_ARGS) -C $(@D) $(SYSLINUX_TARGET) +endef + +# While the actual bootloader is compiled for the target, several +# utilities for installing the bootloader are meant for the host. +# Repeat the target, otherwise syslinux will try to build everything +# Repeat LD (and CC) as it happens that some binaries are linked at +# install-time. +define SYSLINUX_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) $(SYSLINUX_EFI_ARGS) INSTALLROOT=$(HOST_DIR) \ + CC="$(TARGET_CC)" \ + LD="$(TARGET_LD)" \ + -C $(@D) $(SYSLINUX_TARGET) install +endef + +# That 'syslinux' binary is an installer actually built for the target. +# However, buildroot makes no usage of it, so better delete it than have it +# installed at the wrong place +define SYSLINUX_POST_INSTALL_CLEANUP + rm -rf $(HOST_DIR)/bin/syslinux +endef +SYSLINUX_POST_INSTALL_TARGET_HOOKS += SYSLINUX_POST_INSTALL_CLEANUP + +SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_ISOLINUX) += bios/core/isolinux.bin +SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_PXELINUX) += bios/core/pxelinux.bin +SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_MBR) += bios/mbr/mbr.bin +SYSLINUX_IMAGES-$(BR2_TARGET_SYSLINUX_EFI) += $(SYSLINUX_EFI_BITS)/efi/syslinux.efi + +SYSLINUX_C32 = $(call qstrip,$(BR2_TARGET_SYSLINUX_C32)) + +# We install the c32 modules from the host-installed tree, where they +# are all neatly installed in a single location, while they are +# scattered around everywhere in the build tree. +define SYSLINUX_INSTALL_IMAGES_CMDS + for i in $(SYSLINUX_IMAGES-y); do \ + $(INSTALL) -D -m 0755 $(@D)/$$i $(BINARIES_DIR)/syslinux/$${i##*/}; \ + done + for i in $(SYSLINUX_C32); do \ + $(INSTALL) -D -m 0755 $(HOST_DIR)/share/syslinux/$${i} \ + $(BINARIES_DIR)/syslinux/$${i}; \ + done +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/boot/uboot/2015.07/0001-Revert-arch-Make-board-selection-choices-optional.patch b/buildroot-2022.02.1/boot/uboot/2015.07/0001-Revert-arch-Make-board-selection-choices-optional.patch similarity index 100% rename from buildroot-2021.05/boot/uboot/2015.07/0001-Revert-arch-Make-board-selection-choices-optional.patch rename to buildroot-2022.02.1/boot/uboot/2015.07/0001-Revert-arch-Make-board-selection-choices-optional.patch diff --git a/buildroot-2021.05/boot/uboot/2016.07/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch b/buildroot-2022.02.1/boot/uboot/2016.07/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch similarity index 100% rename from buildroot-2021.05/boot/uboot/2016.07/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch rename to buildroot-2022.02.1/boot/uboot/2016.07/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch diff --git a/buildroot-2021.05/boot/uboot/2016.09.01/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch b/buildroot-2022.02.1/boot/uboot/2016.09.01/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch similarity index 100% rename from buildroot-2021.05/boot/uboot/2016.09.01/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch rename to buildroot-2022.02.1/boot/uboot/2016.09.01/0001-arc-Use-mcpu-XXX-instead-of-obsolete-marcXXX.patch diff --git a/buildroot-2022.02.1/boot/uboot/Config.in b/buildroot-2022.02.1/boot/uboot/Config.in new file mode 100644 index 00000000..953c3613 --- /dev/null +++ b/buildroot-2022.02.1/boot/uboot/Config.in @@ -0,0 +1,560 @@ +config BR2_TARGET_UBOOT + bool "U-Boot" + help + Build "Das U-Boot" Boot Monitor + + https://www.denx.de/wiki/U-Boot + +if BR2_TARGET_UBOOT +choice + prompt "Build system" + default BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG if BR2_TARGET_UBOOT_LATEST_VERSION + default BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY + +config BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG + bool "Kconfig" + help + Select this option if you use a recent U-Boot version (2015.04 + or newer), so that we use the Kconfig build system. + +config BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY + bool "Legacy" + help + Select this option if you use an old U-Boot (older than + 2015.04), so that we use the old build system. + +endchoice + +if BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY +config BR2_TARGET_UBOOT_BOARDNAME + string "U-Boot board name" + help + One of U-Boot supported boards to be built. + This will be suffixed with _config to meet U-Boot standard + naming. See boards.cfg in U-Boot source code for the list of + available configurations. +endif + +choice + prompt "U-Boot Version" + help + Select the specific U-Boot version you want to use + +config BR2_TARGET_UBOOT_LATEST_VERSION + bool "2022.01" + +config BR2_TARGET_UBOOT_CUSTOM_VERSION + bool "Custom version" + help + This option allows to use a specific official versions + +config BR2_TARGET_UBOOT_CUSTOM_TARBALL + bool "Custom tarball" + +config BR2_TARGET_UBOOT_CUSTOM_GIT + bool "Custom Git repository" + +config BR2_TARGET_UBOOT_CUSTOM_HG + bool "Custom Mercurial repository" + +config BR2_TARGET_UBOOT_CUSTOM_SVN + bool "Custom Subversion repository" + +endchoice + +config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE + string "U-Boot version" + depends on BR2_TARGET_UBOOT_CUSTOM_VERSION + +config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION + string "URL of custom U-Boot tarball" + depends on BR2_TARGET_UBOOT_CUSTOM_TARBALL + +if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN + +config BR2_TARGET_UBOOT_CUSTOM_REPO_URL + string "URL of custom repository" + +config BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION + string "Custom repository version" + help + Revision to use in the typical format used by + Git/Mercurial/Subversion E.G. a sha id, a tag, branch, .. + +endif + +config BR2_TARGET_UBOOT_VERSION + string + default "2022.01" if BR2_TARGET_UBOOT_LATEST_VERSION + default BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE \ + if BR2_TARGET_UBOOT_CUSTOM_VERSION + default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL + default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \ + if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN + +config BR2_TARGET_UBOOT_PATCH + string "Custom U-Boot patches" + default BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR if BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR != "" # legacy + help + A space-separated list of patches to apply to U-Boot. + Each patch can be described as an URL, a local file path, + or a directory. In the case of a directory, all files + matching *.patch in the directory will be applied. + + Most users may leave this empty + +if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG +choice + prompt "U-Boot configuration" + default BR2_TARGET_UBOOT_USE_DEFCONFIG + +config BR2_TARGET_UBOOT_USE_DEFCONFIG + bool "Using an in-tree board defconfig file" + +config BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG + bool "Using a custom board (def)config file" + +endchoice + +config BR2_TARGET_UBOOT_BOARD_DEFCONFIG + string "Board defconfig" + depends on BR2_TARGET_UBOOT_USE_DEFCONFIG + help + Name of the board for which U-Boot should be built, without + the _defconfig suffix. + +config BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE + string "Configuration file path" + depends on BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG + help + Path to the U-Boot configuration file. + +config BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES + string "Additional configuration fragment files" + help + A space-separated list of configuration fragment files, + that will be merged to the main U-Boot configuration file. +endif + +config BR2_TARGET_UBOOT_NEEDS_DTC + bool "U-Boot needs dtc" + select BR2_PACKAGE_HOST_DTC + help + Select this option if your U-Boot board configuration + requires the Device Tree compiler to be available. + +config BR2_TARGET_UBOOT_NEEDS_PYTHON3 + bool "U-Boot needs host python 3.x" + help + Select this option if U-Boot needs a host Python 3.x + interpreter. This is the case for some U-Boot + configurations, after U-Boot 2020.01. + +config BR2_TARGET_UBOOT_NEEDS_PYLIBFDT + bool "U-Boot needs pylibfdt" + select BR2_TARGET_UBOOT_NEEDS_PYTHON3 + help + Select this option if your U-Boot board configuration + requires the Python libfdt library to be available. + +config BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS + bool "U-Boot needs pyelftools" + select BR2_TARGET_UBOOT_NEEDS_PYTHON3 + help + Select this option if your U-Boot board configuration + requires the Python pyelftools library to be available. + This is used by some rockchip SOCs for elf parsing. + For example: rk3399 soc boards. + +config BR2_TARGET_UBOOT_NEEDS_OPENSSL + bool "U-Boot needs OpenSSL" + help + Select this option if your U-Boot board configuration + requires OpenSSL to be available on the host. This is + typically the case when the board configuration has + CONFIG_FIT_SIGNATURE enabled. + +config BR2_TARGET_UBOOT_NEEDS_LZOP + bool "U-Boot needs lzop" + help + Select this option if your U-Boot board configuration + requires lzop to be available on the host. This is typically + the case when the board configuration has CONFIG_SPL_LZO + enabled. + +config BR2_TARGET_UBOOT_NEEDS_ATF_BL31 + bool "U-Boot needs ATF BL31" + depends on BR2_TARGET_ARM_TRUSTED_FIRMWARE + depends on !BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33 + select BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31 + help + Some specific platforms (such as Allwinner A64/H5) + encapsulate the BL31 part of ATF inside U-Boot. This option + makes sure ATF gets built prior to U-Boot, and that the BL31 + variable pointing to ATF's BL31 binary, is passed during the + Buildroot build. + +choice + prompt "U-Boot ATF BL31 format" + default BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN + depends on BR2_TARGET_UBOOT_NEEDS_ATF_BL31 + +config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN + bool "bl31.bin" + +config BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF + bool "bl31.elf" + +endchoice + +config BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE + bool "U-Boot needs OPTEE TEE" + depends on BR2_TARGET_OPTEE_OS_CORE + help + Some platforms (such as Rockchip) encapsulate the TEE inside + U-Boot. This option makes sure optee-os gets built prior to + U-Boot, and that the TEE variable pointing to OPTEE's + tee.elf, is passed during the Buildroot build. + +config BR2_TARGET_UBOOT_NEEDS_OPENSBI + bool "U-Boot needs OpenSBI" + depends on BR2_TARGET_OPENSBI + help + Some RISC-V platforms (such as SiFive HiFive Unleashed) + encapsulate the OpenSBI firmware image inside U-Boot. + This option makes sure OpenSBI gets built prior to U-Boot, + and that the OpenSBI variable pointing to OpenSBI binary, + is passed during the Buildroot build. + +config BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE + bool "U-Boot needs firmware-imx" + depends on BR2_PACKAGE_FIRMWARE_IMX + depends on BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW || \ + BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW + help + Some i.MX8 platforms (such as i.MX8 M, i.MX 8M Mini, i.MX 8M + Nano) encapsulate NXP specific firmware (DDR, HDMI) inside + U-Boot. + This option makes sure that the i.MX firmwares are copied into + the U-Boot source directory. + +menu "U-Boot binary format" + +config BR2_TARGET_UBOOT_FORMAT_AIS + bool "u-boot.ais" + help + AIS (Application Image Script) is a format defined by TI. + It is required to load code/data on OMAP-L1 processors. + u-boot.ais contains U-Boot with the SPL support. + +config BR2_TARGET_UBOOT_FORMAT_BIN + bool "u-boot.bin" + default y + +config BR2_TARGET_UBOOT_FORMAT_DTB + bool "u-boot.dtb" + +config BR2_TARGET_UBOOT_FORMAT_DTB_BIN + bool "u-boot-dtb.bin" + +config BR2_TARGET_UBOOT_FORMAT_NAND_BIN + bool "u-boot-nand.bin" + +config BR2_TARGET_UBOOT_FORMAT_ELF + bool "u-boot.elf" + +config BR2_TARGET_UBOOT_FORMAT_IMG + bool "u-boot.img" + +config BR2_TARGET_UBOOT_FORMAT_DTB_IMG + bool "u-boot-dtb.img" + +config BR2_TARGET_UBOOT_FORMAT_IMX + bool "u-boot.imx" + +config BR2_TARGET_UBOOT_FORMAT_DTB_IMX + bool "u-boot-dtb.imx" + +config BR2_TARGET_UBOOT_FORMAT_ITB + bool "u-boot.itb" + +config BR2_TARGET_UBOOT_FORMAT_KWB + bool "u-boot.kwb (Marvell)" + depends on BR2_arm + +config BR2_TARGET_UBOOT_FORMAT_NAND + bool "u-boot.nand (Freescale i.MX28)" + depends on BR2_arm + help + This is Freescale i.MX28 BootStream format (.sb), with a + header for booting from a NAND flash. + + U-Boot includes an mxsboot tool to generate this format, + starting from 2011.12. + + There are two possibilities when preparing an image writable + to NAND flash: + 1) The NAND was not written at all yet or the BCB (Boot + Control Blocks) is broken. In this case, the NAND image + 'u-boot.nand' needs to written. + 2) The NAND flash was already written with a good BCB. This + applies after 'u-boot.nand' was correctly written. There is no + need to write the BCB again. In this case, the bootloader can + be upgraded by writing 'u-boot.sb'. + + To satisfy both cases, the 'u-boot.nand' image obtained from + mxsboot as well as the U-Boot make target 'u-boot.sb' are + copied to the binaries directory. + + See doc/README.mxs (or doc/README.mx28_common before 2013.07) + +if BR2_TARGET_UBOOT_FORMAT_NAND + +config BR2_TARGET_UBOOT_FORMAT_NAND_PAGE_SIZE + int "NAND page size" + default 2048 + help + The NAND page size of the targets NAND flash in bytes as a + decimal integer value. + + The value provided here is passed to the -w option of mxsboot. + +config BR2_TARGET_UBOOT_FORMAT_NAND_OOB_SIZE + int "NAND OOB size" + default 64 + help + The NAND OOB size of the targets NAND flash in bytes as a + decimal integer value. + + The value provided here is passed to the -o option of mxsboot. + +config BR2_TARGET_UBOOT_FORMAT_NAND_ERASE_SIZE + int "NAND erase size" + default 131072 + help + The NAND eraseblock size of the targets NAND flash in bytes as + a decimal integer value. + + The value provided here is passed to the -e option of mxsboot. + +endif + +config BR2_TARGET_UBOOT_FORMAT_SB + bool "u-boot.sb (Freescale i.MX28)" + depends on BR2_arm + +config BR2_TARGET_UBOOT_FORMAT_SD + bool "u-boot.sd (Freescale i.MX28)" + depends on BR2_arm + help + This is Freescale i.MX28 SB format, with a header for booting + from an SD card. + + U-Boot includes an mxsboot tool to generate this format, + starting from 2011.12. + + See doc/README.mxs (or doc/README.mx28_common before 2013.07) + +config BR2_TARGET_UBOOT_FORMAT_STM32 + bool "u-boot.stm32" + depends on BR2_arm + +config BR2_TARGET_UBOOT_FORMAT_CUSTOM + bool "Custom (specify below)" + help + On some platforms, the standard U-Boot binary is not called + u-boot.bin, but u-boot.bin. If this is your case, + you should select this option and specify the correct name(s) + in BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME. + +config BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME + string "U-Boot binary format: custom names" + depends on BR2_TARGET_UBOOT_FORMAT_CUSTOM + help + In case the U-Boot binary for the target platform is not among + the default names, one or more custom names can be listed + here. + Use space to separate multiple names. + Example: + u-boot_magic.bin + +endmenu + +config BR2_TARGET_UBOOT_OMAP_IFT + bool "produce a .ift signed image (OMAP)" + depends on BR2_TARGET_UBOOT_FORMAT_BIN + depends on BR2_arm || BR2_armeb + select BR2_PACKAGE_HOST_OMAP_U_BOOT_UTILS + help + Use gpsign to produce an image of u-boot.bin signed with + a Configuration Header for booting on OMAP processors. + This allows U-Boot to boot without the need for an + intermediate bootloader (e.g. x-loader) if it is written + on the first sector of the boot medium. + This only works for some media, such as NAND. Check your + chip documentation for details. You might also want to + read the documentation of gpsign, the tool that generates + the .ift image, at: + https://github.com/nmenon/omap-u-boot-utils/blob/master/README + +if BR2_TARGET_UBOOT_OMAP_IFT + +config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG + string "gpsign Configuration Header config file" + help + The Configuration Header (CH) config file defines the + desired content of the CH for the signed image. + It usually contains external RAM settings and + possibly other external devices initialization. + The omap-u-boot-utils software contains example + configuration files for some boards: + https://github.com/nmenon/omap-u-boot-utils/tree/master/configs + +endif + +config BR2_TARGET_UBOOT_SPL + bool "Install U-Boot SPL binary image" + depends on !BR2_TARGET_XLOADER + help + Install the U-Boot SPL binary image to the images + directory. + SPL is a first stage bootloader loaded into internal + memory in charge of enabling and configuring the + external memory (DDR), and load the u-boot program + into DDR. + +config BR2_TARGET_UBOOT_SPL_NAME + string "U-Boot SPL/TPL binary image name(s)" + default "spl/u-boot-spl.bin" + depends on BR2_TARGET_UBOOT_SPL + help + A space-separated list of SPL/TPL binaries, generated during + u-boot build. For most platform SPL name is spl/u-boot-spl.bin + and TPL name is tpl/u-boot-tpl.bin but not always. SPL name is + MLO on OMAP and SPL on i.MX6 for example. + +config BR2_TARGET_UBOOT_ZYNQMP + bool "Boot on the Xilinx ZynqMP SoCs" + depends on BR2_aarch64 + help + Enable options specific to the Xilinx ZynqMP family of SoCs. + +if BR2_TARGET_UBOOT_ZYNQMP + +config BR2_TARGET_UBOOT_ZYNQMP_PMUFW + string "PMU firmware location" + depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG + help + Location of a PMU firmware binary. + + If not empty, instructs the U-Boot build process to generate + a boot.bin (to be loaded by the ZynqMP boot ROM) containing + both the U-Boot SPL and the PMU firmware in the + Xilinx-specific boot format. + + The value can be an absolute or relative path, and will be + used directly from where it is located, or an URI + (e.g. http://...), and it will be downloaded and used from + the download directory. + + If empty, the generated boot.bin will not contain a PMU + firmware. + + This feature requires U-Boot >= 2018.07. + +config BR2_TARGET_UBOOT_ZYNQMP_PM_CFG + string "PMU configuration location" + depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG + help + Location of a PMU configuration file. + + If not empty, Buildroot will convert the PMU configuration + file into a loadable blob and pass it to U-Boot. The blob gets + embedded into the U-Boot SPL and is used to configure the PMU + during board initialization. + + Unlike the PMU firmware, the PMU configuration file is unique + to each board configuration. A PMU configuration file can be + generated by building your Xilinx SDK BSP. It can be found in + the BSP source, for example at + ./psu_cortexa53_0/libsrc/xilpm_v2_4/src/pm_cfg_obj.c + + Leave this option empty if your PMU firmware has a hard-coded + configuration object or you are loading it by any other means. + + This feature requires U-Boot >= v2019.10. + +config BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE + string "Custom psu_init_gpl file" + depends on BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG + help + On ZynqMP the booloader is responsible for some basic + initializations, such as enabling peripherals and + configuring pinmuxes. The psu_init_gpl.c file (and, + optionally, psu_init_gpl.h) contains the code for such + initializations. + + Although U-Boot contains psu_init_gpl.c files for some + boards, each of them describes only one specific + configuration. Users of a different board, or needing a + different configuration, can generate custom files using the + Xilinx development tools. + + Set this variable to the path to your psu_init_gpl.c file + (e.g. "board/myboard/psu_init_gpl.c"). psu_init_gpl.h, if + needed, should be in the same directory. U-Boot will build + and link the user-provided file instead of the built-in one. + + Leave empty to use the files provided by U-Boot. + + This feature requires commit + 6da4f67ad09cd8b311d77b2b04e557b7ef65b56c from upstream + U-Boot, available from versions after 2018.07. + +endif + +config BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC + bool "CRC image for Altera SoC FPGA (mkpimage)" + depends on BR2_arm + depends on BR2_TARGET_UBOOT_SPL || BR2_TARGET_UBOOT_FORMAT_DTB_BIN + help + Pass the U-Boot image through the mkpimage tool to enable + booting on the Altera SoC FPGA based platforms. + + On some platforms, it's the SPL that needs to be passed + through mkpimage. On some other platforms there is no SPL + because the internal SRAM is big enough to store the full + U-Boot. In this case, it's directly the full U-Boot image + that is passed through mkpimage. + + If BR2_TARGET_UBOOT_SPL is enabled then + BR2_TARGET_UBOOT_SPL_NAME is converted by mkpimage using + header version 0. + + Otherwise the full u-boot-dtb.bin is converted using + mkpimage header version 1. + + In either case the resulting file will be given a .crc + extension. + +if BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG + +config BR2_TARGET_UBOOT_CUSTOM_DTS_PATH + string "Device Tree Source file paths" + help + Space-separated list of paths to device tree source files + that will be copied to arch/ARCH/dts/ before starting the + build. + + To use this device tree source file, the U-Boot configuration + file must refer to it. + +endif + +config BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS + string "Custom make options" + help + List of custom make options passed at build time. Can be + used for example to pass a DEVICE_TREE= value. + +endif # BR2_TARGET_UBOOT diff --git a/buildroot-2022.02.1/boot/uboot/uboot.hash b/buildroot-2022.02.1/boot/uboot/uboot.hash new file mode 100644 index 00000000..9171a794 --- /dev/null +++ b/buildroot-2022.02.1/boot/uboot/uboot.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 81b4543227db228c03f8a1bf5ddbc813b0bb8f6555ce46064ef721a6fc680413 u-boot-2022.01.tar.bz2 +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt diff --git a/buildroot-2022.02.1/boot/uboot/uboot.mk b/buildroot-2022.02.1/boot/uboot/uboot.mk new file mode 100644 index 00000000..cb26fc8d --- /dev/null +++ b/buildroot-2022.02.1/boot/uboot/uboot.mk @@ -0,0 +1,533 @@ +################################################################################ +# +# uboot +# +################################################################################ + +UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION)) +UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME)) + +UBOOT_LICENSE = GPL-2.0+ +ifeq ($(BR2_TARGET_UBOOT_LATEST_VERSION),y) +UBOOT_LICENSE_FILES = Licenses/gpl-2.0.txt +endif +UBOOT_CPE_ID_VENDOR = denx +UBOOT_CPE_ID_PRODUCT = u-boot + +UBOOT_INSTALL_IMAGES = YES + +# u-boot 2020.01+ needs make 4.0+ +UBOOT_DEPENDENCIES = host-pkgconf $(BR2_MAKE_HOST_DEPENDENCY) +UBOOT_MAKE = $(BR2_MAKE) + +ifeq ($(UBOOT_VERSION),custom) +# Handle custom U-Boot tarballs as specified by the configuration +UBOOT_TARBALL = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION)) +UBOOT_SITE = $(patsubst %/,%,$(dir $(UBOOT_TARBALL))) +UBOOT_SOURCE = $(notdir $(UBOOT_TARBALL)) +else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT),y) +UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) +UBOOT_SITE_METHOD = git +else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_HG),y) +UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) +UBOOT_SITE_METHOD = hg +else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_SVN),y) +UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) +UBOOT_SITE_METHOD = svn +else +# Handle stable official U-Boot versions +UBOOT_SITE = https://ftp.denx.de/pub/u-boot +UBOOT_SOURCE = u-boot-$(UBOOT_VERSION).tar.bz2 +endif + +ifeq ($(BR2_TARGET_UBOOT)$(BR2_TARGET_UBOOT_LATEST_VERSION),y) +BR_NO_CHECK_HASH_FOR += $(UBOOT_SOURCE) +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_BIN),y) +UBOOT_BINS += u-boot.bin +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB),y) +UBOOT_BINS += u-boot.dtb +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_ELF),y) +UBOOT_BINS += u-boot +# To make elf usable for debuging on ARC use special target +ifeq ($(BR2_arc),y) +UBOOT_MAKE_TARGET += mdbtrick +endif +endif + +# Call 'make all' unconditionally +UBOOT_MAKE_TARGET += all + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_KWB),y) +UBOOT_BINS += u-boot.kwb +UBOOT_MAKE_TARGET += u-boot.kwb +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_AIS),y) +UBOOT_BINS += u-boot.ais +UBOOT_MAKE_TARGET += u-boot.ais +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND_BIN),y) +UBOOT_BINS += u-boot-nand.bin +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_IMG),y) +UBOOT_BINS += u-boot-dtb.img +UBOOT_MAKE_TARGET += u-boot-dtb.img +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_IMX),y) +UBOOT_BINS += u-boot-dtb.imx +UBOOT_MAKE_TARGET += u-boot-dtb.imx +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_DTB_BIN),y) +UBOOT_BINS += u-boot-dtb.bin +UBOOT_MAKE_TARGET += u-boot-dtb.bin +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMG),y) +UBOOT_BINS += u-boot.img +UBOOT_MAKE_TARGET += u-boot.img +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_ITB),y) +UBOOT_BINS += u-boot.itb +UBOOT_MAKE_TARGET += u-boot.itb +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_IMX),y) +UBOOT_BINS += u-boot.imx +UBOOT_MAKE_TARGET += u-boot.imx +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_SB),y) +UBOOT_BINS += u-boot.sb +UBOOT_MAKE_TARGET += u-boot.sb +# mxsimage needs OpenSSL +UBOOT_DEPENDENCIES += host-elftosb host-openssl +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_SD),y) +# BootStream (.sb) is generated by U-Boot, we convert it to SD format +UBOOT_BINS += u-boot.sd +UBOOT_MAKE_TARGET += u-boot.sb +UBOOT_DEPENDENCIES += host-elftosb host-openssl +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_NAND),y) +UBOOT_BINS += u-boot.nand +UBOOT_MAKE_TARGET += u-boot.sb +UBOOT_DEPENDENCIES += host-elftosb host-openssl +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_STM32),y) +UBOOT_BINS += u-boot.stm32 +UBOOT_MAKE_TARGET += u-boot.stm32 +endif + +ifeq ($(BR2_TARGET_UBOOT_FORMAT_CUSTOM),y) +UBOOT_BINS += $(call qstrip,$(BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME)) +endif + +ifeq ($(BR2_TARGET_UBOOT_OMAP_IFT),y) +UBOOT_BINS += u-boot.bin +UBOOT_BIN_IFT = u-boot.bin.ift +endif + +# The kernel calls AArch64 'arm64', but U-Boot calls it just 'arm', so +# we have to special case it. Similar for i386/x86_64 -> x86 +ifeq ($(NORMALIZED_ARCH),arm64) +UBOOT_ARCH = arm +else ifneq ($(filter $(NORMALIZED_ARCH),i386 x86_64),) +UBOOT_ARCH = x86 +else +UBOOT_ARCH = $(NORMALIZED_ARCH) +endif + +UBOOT_MAKE_OPTS += \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + ARCH=$(UBOOT_ARCH) \ + HOSTCC="$(HOSTCC) $(subst -I/,-isystem /,$(subst -I /,-isystem /,$(HOST_CFLAGS)))" \ + HOSTLDFLAGS="$(HOST_LDFLAGS)" \ + $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS)) + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF_BL31),y) +UBOOT_DEPENDENCIES += arm-trusted-firmware +ifeq ($(BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF),y) +UBOOT_MAKE_OPTS += BL31=$(BINARIES_DIR)/bl31.elf +define UBOOT_COPY_ATF_FIRMWARE + cp $(BINARIES_DIR)/bl31.elf $(@D)/ +endef +UBOOT_PRE_BUILD_HOOKS += UBOOT_COPY_ATF_FIRMWARE +else +UBOOT_MAKE_OPTS += BL31=$(BINARIES_DIR)/bl31.bin +define UBOOT_COPY_ATF_FIRMWARE + cp $(BINARIES_DIR)/bl31.bin $(@D)/ +endef +UBOOT_PRE_BUILD_HOOKS += UBOOT_COPY_ATF_FIRMWARE +endif +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPTEE_TEE),y) +UBOOT_DEPENDENCIES += optee-os +UBOOT_MAKE_OPTS += TEE=$(BINARIES_DIR)/tee.elf +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSBI),y) +UBOOT_DEPENDENCIES += opensbi +UBOOT_MAKE_OPTS += OPENSBI=$(BINARIES_DIR)/fw_dynamic.bin +endif + +# Mainline U-Boot versions can create the i.MX specific boot images +# and need some NXP firmware blobs. +ifeq ($(BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE),y) +UBOOT_DEPENDENCIES += firmware-imx +UBOOT_IMX_FW_FILES = \ + $(if $(BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW),signed_hdmi_imx8m.bin) \ + $(if $(BR2_PACKAGE_FIRMWARE_IMX_LPDDR4),lpddr4*.bin) \ + $(if $(BR2_PACKAGE_FIRMWARE_IMX_DDR4),ddr4*.bin) \ + $(if $(BR2_PACKAGE_FIRMWARE_IMX_DDR3),ddr3*.bin) + +define UBOOT_COPY_IMX_FW_FILES + $(foreach fw,$(UBOOT_IMX_FW_FILES),\ + cp $(BINARIES_DIR)/$(fw) $(@D)/ + ) +endef +UBOOT_PRE_BUILD_HOOKS += UBOOT_COPY_IMX_FW_FILES +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_DTC),y) +UBOOT_DEPENDENCIES += host-dtc +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYTHON3),y) +UBOOT_DEPENDENCIES += host-python3 host-python-setuptools +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYLIBFDT),y) +UBOOT_DEPENDENCIES += host-swig +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_PYELFTOOLS),y) +UBOOT_DEPENDENCIES += host-python-pyelftools +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_OPENSSL),y) +UBOOT_DEPENDENCIES += host-openssl +endif + +ifeq ($(BR2_TARGET_UBOOT_NEEDS_LZOP),y) +UBOOT_DEPENDENCIES += host-lzop +endif + +# prior to u-boot 2013.10 the license info was in COPYING. Copy it so +# legal-info finds it +define UBOOT_COPY_OLD_LICENSE_FILE + if [ -f $(@D)/COPYING ]; then \ + $(INSTALL) -m 0644 -D $(@D)/COPYING $(@D)/Licenses/gpl-2.0.txt; \ + fi +endef + +UBOOT_POST_EXTRACT_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE +UBOOT_POST_RSYNC_HOOKS += UBOOT_COPY_OLD_LICENSE_FILE + +# Older versions break on gcc 10+ because of redefined symbols +define UBOOT_DROP_YYLLOC + $(Q)grep -Z -l -r -E '^YYLTYPE yylloc;$$' $(@D) \ + |xargs -0 -r $(SED) '/^YYLTYPE yylloc;$$/d' +endef +UBOOT_POST_PATCH_HOOKS += UBOOT_DROP_YYLLOC + +ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) +define UBOOT_XTENSA_OVERLAY_EXTRACT + $(call arch-xtensa-overlay-extract,$(@D),u-boot) +endef +UBOOT_POST_EXTRACT_HOOKS += UBOOT_XTENSA_OVERLAY_EXTRACT +UBOOT_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) +endif + +# Analogous code exists in linux/linux.mk. Basically, the generic +# package infrastructure handles downloading and applying remote +# patches. Local patches are handled depending on whether they are +# directories or files. +UBOOT_PATCHES = $(call qstrip,$(BR2_TARGET_UBOOT_PATCH)) +UBOOT_PATCH = $(filter ftp://% http://% https://%,$(UBOOT_PATCHES)) + +define UBOOT_APPLY_LOCAL_PATCHES + for p in $(filter-out ftp://% http://% https://%,$(UBOOT_PATCHES)) ; do \ + if test -d $$p ; then \ + $(APPLY_PATCHES) $(@D) $$p \*.patch || exit 1 ; \ + else \ + $(APPLY_PATCHES) $(@D) `dirname $$p` `basename $$p` || exit 1; \ + fi \ + done +endef +UBOOT_POST_PATCH_HOOKS += UBOOT_APPLY_LOCAL_PATCHES + +# Fixup inclusion of libfdt headers, which can fail in older u-boot versions +# when libfdt-devel is installed system-wide. +# The core change is equivalent to upstream commit +# e0d20dc1521e74b82dbd69be53a048847798a90a (first in v2018.03). However, the fixup +# is complicated by the fact that the underlying u-boot code changed multiple +# times in history: +# - The directory scripts/dtc/libfdt only exists since upstream commit +# c0e032e0090d6541549b19cc47e06ccd1f302893 (first in v2017.11). For earlier +# versions, create a dummy scripts/dtc/libfdt directory with symlinks for the +# fdt-related files. This allows to use the same -I option for both +# cases. +# - The variable 'srctree' used to be called 'SRCTREE' before upstream commit +# 01286329b27b27eaeda045b469d41b1d9fce545a (first in v2014.04). +# - The original location for libfdt, 'lib/libfdt/', used to be simply +# 'libfdt' before upstream commit 0de71d507157c4bd4fddcd3a419140d2b986eed2 +# (first in v2010.06). Make the 'lib' part optional in the substitution to +# handle this. +define UBOOT_FIXUP_LIBFDT_INCLUDE + $(Q)if [ ! -d $(@D)/scripts/dtc/libfdt ]; then \ + mkdir -p $(@D)/scripts/dtc/libfdt; \ + cd $(@D)/scripts/dtc/libfdt; \ + ln -s ../../../include/fdt.h .; \ + ln -s ../../../include/libfdt*.h .; \ + ln -s ../../../lib/libfdt/libfdt_internal.h .; \ + fi + $(Q)$(SED) \ + 's%-I\ *\$$(srctree)/lib/libfdt%-I$$(srctree)/scripts/dtc/libfdt%; \ + s%-I\ *\$$(SRCTREE)\(/lib\)\?/libfdt%-I$$(SRCTREE)/scripts/dtc/libfdt%' \ + $(@D)/tools/Makefile +endef +UBOOT_POST_PATCH_HOOKS += UBOOT_FIXUP_LIBFDT_INCLUDE + +ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y) +define UBOOT_CONFIGURE_CMDS + $(TARGET_CONFIGURE_OPTS) \ + $(UBOOT_MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \ + $(UBOOT_BOARD_NAME)_config +endef +else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y) +ifeq ($(BR2_TARGET_UBOOT_USE_DEFCONFIG),y) +UBOOT_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_TARGET_UBOOT_BOARD_DEFCONFIG))_defconfig +else ifeq ($(BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG),y) +UBOOT_KCONFIG_FILE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE)) +endif # BR2_TARGET_UBOOT_USE_DEFCONFIG + +UBOOT_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES)) +UBOOT_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig + +# UBOOT_MAKE_OPTS overrides HOSTCC / HOSTLDFLAGS to allow the build to +# find our host-openssl. However, this triggers a bug in the kconfig +# build script that causes it to build with /usr/include/ncurses.h +# (which is typically wchar) but link with +# $(HOST_DIR)/lib/libncurses.so (which is not). We don't actually +# need any host-package for kconfig, so remove the HOSTCC/HOSTLDFLAGS +# override again. In addition, host-ccache is not ready at kconfig +# time, so use HOSTCC_NOCCACHE. +UBOOT_KCONFIG_OPTS = $(UBOOT_MAKE_OPTS) HOSTCC="$(HOSTCC_NOCCACHE)" HOSTLDFLAGS="" +endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY + +UBOOT_CUSTOM_DTS_PATH = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH)) + +define UBOOT_BUILD_CMDS + $(if $(UBOOT_CUSTOM_DTS_PATH), + cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/ + ) + $(TARGET_CONFIGURE_OPTS) \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ + PKG_CONFIG_SYSROOT_DIR="/" \ + PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ + PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ + PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig" \ + $(UBOOT_MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \ + $(UBOOT_MAKE_TARGET) + $(if $(BR2_TARGET_UBOOT_FORMAT_SD), + $(@D)/tools/mxsboot sd $(@D)/u-boot.sb $(@D)/u-boot.sd) + $(if $(BR2_TARGET_UBOOT_FORMAT_NAND), + $(@D)/tools/mxsboot \ + -w $(BR2_TARGET_UBOOT_FORMAT_NAND_PAGE_SIZE) \ + -o $(BR2_TARGET_UBOOT_FORMAT_NAND_OOB_SIZE) \ + -e $(BR2_TARGET_UBOOT_FORMAT_NAND_ERASE_SIZE) \ + nand $(@D)/u-boot.sb $(@D)/u-boot.nand) +endef + +define UBOOT_BUILD_OMAP_IFT + $(HOST_DIR)/bin/gpsign -f $(@D)/u-boot.bin \ + -c $(call qstrip,$(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG)) +endef + +define UBOOT_INSTALL_IMAGES_CMDS + $(foreach f,$(UBOOT_BINS), \ + cp -dpf $(@D)/$(f) $(BINARIES_DIR)/ + ) + $(if $(BR2_TARGET_UBOOT_FORMAT_NAND), + cp -dpf $(@D)/u-boot.sb $(BINARIES_DIR)) + $(if $(BR2_TARGET_UBOOT_SPL), + $(foreach f,$(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME)), \ + cp -dpf $(@D)/$(f) $(BINARIES_DIR)/ + ) + ) +endef + +ifeq ($(BR2_TARGET_UBOOT_ZYNQMP),y) + +UBOOT_ZYNQMP_PMUFW = $(call qstrip,$(BR2_TARGET_UBOOT_ZYNQMP_PMUFW)) + +ifneq ($(findstring ://,$(UBOOT_ZYNQMP_PMUFW)),) +UBOOT_EXTRA_DOWNLOADS += $(UBOOT_ZYNQMP_PMUFW) +BR_NO_CHECK_HASH_FOR += $(notdir $(UBOOT_ZYNQMP_PMUFW)) +UBOOT_ZYNQMP_PMUFW_PATH = $(UBOOT_DL_DIR)/$(notdir $(UBOOT_ZYNQMP_PMUFW)) +else ifneq ($(UBOOT_ZYNQMP_PMUFW),) +UBOOT_ZYNQMP_PMUFW_PATH = $(shell readlink -f $(UBOOT_ZYNQMP_PMUFW)) +endif + +define UBOOT_ZYNQMP_KCONFIG_PMUFW + $(call KCONFIG_SET_OPT,CONFIG_PMUFW_INIT_FILE,"$(UBOOT_ZYNQMP_PMUFW_PATH)") +endef + +UBOOT_ZYNQMP_PM_CFG = $(call qstrip,$(BR2_TARGET_UBOOT_ZYNQMP_PM_CFG)) +ifneq ($(UBOOT_ZYNQMP_PM_CFG),) +UBOOT_ZYNQMP_PM_CFG_BIN = $(UBOOT_DIR)/pm_cfg_obj.bin +define UBOOT_ZYNQMP_KCONFIG_PM_CFG + $(call KCONFIG_SET_OPT,CONFIG_ZYNQMP_SPL_PM_CFG_OBJ_FILE,"$(UBOOT_ZYNQMP_PM_CFG_BIN)", \ + $(@D)/.config) +endef + +define UBOOT_ZYNQMP_PM_CFG_CONVERT + $(UBOOT_DIR)/tools/zynqmp_pm_cfg_obj_convert.py \ + "$(UBOOT_ZYNQMP_PM_CFG)" \ + "$(UBOOT_ZYNQMP_PM_CFG_BIN)" +endef +UBOOT_PRE_BUILD_HOOKS += UBOOT_ZYNQMP_PM_CFG_CONVERT +endif + +UBOOT_ZYNQMP_PSU_INIT = $(call qstrip,$(BR2_TARGET_UBOOT_ZYNQMP_PSU_INIT_FILE)) +UBOOT_ZYNQMP_PSU_INIT_PATH = $(shell readlink -f $(UBOOT_ZYNQMP_PSU_INIT)) + +ifneq ($(UBOOT_ZYNQMP_PSU_INIT),) +define UBOOT_ZYNQMP_KCONFIG_PSU_INIT + $(call KCONFIG_SET_OPT,CONFIG_XILINX_PS_INIT_FILE,"$(UBOOT_ZYNQMP_PSU_INIT_PATH)") +endef +endif + +endif # BR2_TARGET_UBOOT_ZYNQMP + +define UBOOT_INSTALL_OMAP_IFT_IMAGE + cp -dpf $(@D)/$(UBOOT_BIN_IFT) $(BINARIES_DIR)/ +endef + +ifeq ($(BR2_TARGET_UBOOT_OMAP_IFT),y) +ifeq ($(BR_BUILDING),y) +ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG)),) +$(error No gpsign config file. Check your BR2_TARGET_UBOOT_OMAP_IFT_CONFIG setting) +endif +ifeq ($(wildcard $(call qstrip,$(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG))),) +$(error gpsign config file $(BR2_TARGET_UBOOT_OMAP_IFT_CONFIG) not found. Check your BR2_TARGET_UBOOT_OMAP_IFT_CONFIG setting) +endif +endif +UBOOT_DEPENDENCIES += host-omap-u-boot-utils +UBOOT_POST_BUILD_HOOKS += UBOOT_BUILD_OMAP_IFT +UBOOT_POST_INSTALL_IMAGES_HOOKS += UBOOT_INSTALL_OMAP_IFT_IMAGE +endif + +ifeq ($(BR2_TARGET_UBOOT_ALTERA_SOCFPGA_IMAGE_CRC),y) +ifeq ($(BR2_TARGET_UBOOT_SPL),y) +UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES = $(call qstrip,$(BR2_TARGET_UBOOT_SPL_NAME)) +UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 0 +else +UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES = u-boot-dtb.bin +UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION = 1 +endif +define UBOOT_CRC_ALTERA_SOCFPGA_IMAGE + $(foreach f,$(UBOOT_CRC_ALTERA_SOCFPGA_INPUT_IMAGES), \ + $(HOST_DIR)/bin/mkpimage \ + -v $(UBOOT_CRC_ALTERA_SOCFPGA_HEADER_VERSION) \ + -o $(BINARIES_DIR)/$(notdir $(call qstrip,$(f))).crc \ + $(@D)/$(call qstrip,$(f)) + ) +endef +UBOOT_DEPENDENCIES += host-mkpimage +UBOOT_POST_INSTALL_IMAGES_HOOKS += UBOOT_CRC_ALTERA_SOCFPGA_IMAGE +endif + +define UBOOT_KCONFIG_FIXUP_CMDS + $(UBOOT_ZYNQMP_KCONFIG_PMUFW) + $(UBOOT_ZYNQMP_KCONFIG_PM_CFG) + $(UBOOT_ZYNQMP_KCONFIG_PSU_INIT) +endef + +ifeq ($(BR2_TARGET_UBOOT)$(BR_BUILDING),yy) + +# +# Check U-Boot board name (for legacy) or the defconfig/custom config +# file options (for kconfig) +# +ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y) +ifeq ($(UBOOT_BOARD_NAME),) +$(error No U-Boot board name set. Check your BR2_TARGET_UBOOT_BOARDNAME setting) +endif # UBOOT_BOARD_NAME +else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y) +ifeq ($(BR2_TARGET_UBOOT_USE_DEFCONFIG),y) +ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_BOARD_DEFCONFIG)),) +$(error No board defconfig name specified, check your BR2_TARGET_UBOOT_BOARD_DEFCONFIG setting) +endif # qstrip BR2_TARGET_UBOOT_BOARD_DEFCONFIG +endif # BR2_TARGET_UBOOT_USE_DEFCONFIG +ifeq ($(BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG),y) +ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE)),) +$(error No board configuration file specified, check your BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE setting) +endif # qstrip BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE +endif # BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG +endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY + +# +# Check custom version option +# +ifeq ($(BR2_TARGET_UBOOT_CUSTOM_VERSION),y) +ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE)),) +$(error No custom U-Boot version specified. Check your BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE setting) +endif # qstrip BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE +endif # BR2_TARGET_UBOOT_CUSTOM_VERSION + +# +# Check custom tarball option +# +ifeq ($(BR2_TARGET_UBOOT_CUSTOM_TARBALL),y) +ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION)),) +$(error No custom U-Boot tarball specified. Check your BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION setting) +endif # qstrip BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION +endif # BR2_TARGET_UBOOT_CUSTOM_TARBALL + +# +# Check Git/Mercurial repo options +# +ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT)$(BR2_TARGET_UBOOT_CUSTOM_HG),y) +ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)),) +$(error No custom U-Boot repository URL specified. Check your BR2_TARGET_UBOOT_CUSTOM_REPO_URL setting) +endif # qstrip BR2_TARGET_UBOOT_CUSTOM_CUSTOM_REPO_URL +ifeq ($(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION)),) +$(error No custom U-Boot repository version specified. Check your BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION setting) +endif # qstrip BR2_TARGET_UBOOT_CUSTOM_CUSTOM_REPO_VERSION +endif # BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG + +endif # BR2_TARGET_UBOOT && BR_BUILDING + +ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y) +UBOOT_DEPENDENCIES += \ + $(BR2_BISON_HOST_DEPENDENCY) \ + $(BR2_FLEX_HOST_DEPENDENCY) +$(eval $(generic-package)) +else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y) +UBOOT_MAKE_ENV = $(TARGET_MAKE_ENV) +# Starting with 2021.10, the kconfig in uboot calls the cross-compiler +# to check its capabilities. So we need the toolchain before we can +# call the configurators. +UBOOT_KCONFIG_DEPENDENCIES += \ + toolchain \ + $(BR2_MAKE_HOST_DEPENDENCY) \ + $(BR2_BISON_HOST_DEPENDENCY) \ + $(BR2_FLEX_HOST_DEPENDENCY) +$(eval $(kconfig-package)) +endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY diff --git a/buildroot-2021.05/boot/vexpress-firmware/Config.in b/buildroot-2022.02.1/boot/vexpress-firmware/Config.in similarity index 100% rename from buildroot-2021.05/boot/vexpress-firmware/Config.in rename to buildroot-2022.02.1/boot/vexpress-firmware/Config.in diff --git a/buildroot-2021.05/boot/vexpress-firmware/vexpress-firmware.hash b/buildroot-2022.02.1/boot/vexpress-firmware/vexpress-firmware.hash similarity index 100% rename from buildroot-2021.05/boot/vexpress-firmware/vexpress-firmware.hash rename to buildroot-2022.02.1/boot/vexpress-firmware/vexpress-firmware.hash diff --git a/buildroot-2021.05/boot/vexpress-firmware/vexpress-firmware.mk b/buildroot-2022.02.1/boot/vexpress-firmware/vexpress-firmware.mk similarity index 100% rename from buildroot-2021.05/boot/vexpress-firmware/vexpress-firmware.mk rename to buildroot-2022.02.1/boot/vexpress-firmware/vexpress-firmware.mk diff --git a/buildroot-2021.05/package/ifupdown-scripts/network/if-down.d/.empty b/buildroot-2022.02.1/build.marker similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/network/if-down.d/.empty rename to buildroot-2022.02.1/build.marker diff --git a/buildroot-2022.02.1/configs/aarch64_efi_defconfig b/buildroot-2022.02.1/configs/aarch64_efi_defconfig new file mode 100644 index 00000000..1bd06c51 --- /dev/null +++ b/buildroot-2022.02.1/configs/aarch64_efi_defconfig @@ -0,0 +1,37 @@ +# Architecture +BR2_aarch64=y + +# Toolchain, required for eudev and grub +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y + +# System +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y + +## Required tools to create bootable media +BR2_PACKAGE_HOST_GENIMAGE=y + +# Bootloader +BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_ARM64_EFI=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="200M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/aarch64-efi/post-image.sh support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/aarch64-efi/genimage-efi.cfg" + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.4" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Host tools for genimage +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/acmesystems_acqua_a5_256mb_defconfig b/buildroot-2022.02.1/configs/acmesystems_acqua_a5_256mb_defconfig new file mode 100644 index 00000000..f8129f37 --- /dev/null +++ b/buildroot-2022.02.1/configs/acmesystems_acqua_a5_256mb_defconfig @@ -0,0 +1,26 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/acqua-a5/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.107" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="acqua-256m" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/acmesystems_acqua_a5_512mb_defconfig b/buildroot-2022.02.1/configs/acmesystems_acqua_a5_512mb_defconfig new file mode 100644 index 00000000..e399d4a9 --- /dev/null +++ b/buildroot-2022.02.1/configs/acmesystems_acqua_a5_512mb_defconfig @@ -0,0 +1,26 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/acqua-a5/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.107" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/acmesystems/acqua-a5/at91-sama5d3_acqua.dts" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="acqua-512m" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/acmesystems_aria_g25_128mb_defconfig b/buildroot-2022.02.1/configs/acmesystems_aria_g25_128mb_defconfig new file mode 100644 index 00000000..c428e318 --- /dev/null +++ b/buildroot-2022.02.1/configs/acmesystems_aria_g25_128mb_defconfig @@ -0,0 +1,38 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Aria-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/aria-g25/genimage.cfg" + +# Kernel configuration +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# AT91bootstrap bootloader +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="aria-128m" + +# Tools to build sdcard.img +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/acmesystems_aria_g25_256mb_defconfig b/buildroot-2022.02.1/configs/acmesystems_aria_g25_256mb_defconfig new file mode 100644 index 00000000..83f7625d --- /dev/null +++ b/buildroot-2022.02.1/configs/acmesystems_aria_g25_256mb_defconfig @@ -0,0 +1,38 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Aria-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/aria-g25/genimage.cfg" + +# Kernel configuration +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariag25" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# AT91bootstrap bootloader +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="aria-256m" + +# Tools to build sdcard.img +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/acmesystems_arietta_g25_128mb_defconfig b/buildroot-2022.02.1/configs/acmesystems_arietta_g25_128mb_defconfig new file mode 100644 index 00000000..b882b2bd --- /dev/null +++ b/buildroot-2022.02.1/configs/acmesystems_arietta_g25_128mb_defconfig @@ -0,0 +1,38 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/arietta-g25/genimage.cfg" + +# Kernel configuration +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# AT91bootstrap bootloader +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-128m" + +# Tools to build sdcard.img +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/acmesystems_arietta_g25_256mb_defconfig b/buildroot-2022.02.1/configs/acmesystems_arietta_g25_256mb_defconfig new file mode 100644 index 00000000..10501d46 --- /dev/null +++ b/buildroot-2022.02.1/configs/acmesystems_arietta_g25_256mb_defconfig @@ -0,0 +1,38 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Kernel headers +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# System configuration +BR2_TARGET_GENERIC_ISSUE="Welcome to Arietta-G25 Buildroot" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/acmesystems/arietta-g25/genimage.cfg" + +# Kernel configuration +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-ariettag25" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Root filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# AT91bootstrap bootloader +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="arietta-256m" + +# Tools to build sdcard.img +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/amarula_a64_relic_defconfig b/buildroot-2022.02.1/configs/amarula_a64_relic_defconfig similarity index 100% rename from buildroot-2021.05/configs/amarula_a64_relic_defconfig rename to buildroot-2022.02.1/configs/amarula_a64_relic_defconfig diff --git a/buildroot-2022.02.1/configs/amarula_vyasa_rk3288_defconfig b/buildroot-2022.02.1/configs/amarula_vyasa_rk3288_defconfig new file mode 100644 index 00000000..ff96019e --- /dev/null +++ b/buildroot-2022.02.1/configs/amarula_vyasa_rk3288_defconfig @@ -0,0 +1,47 @@ +# Architecture +BR2_arm=y +BR2_cortex_a17=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="vyasa-rk3288" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin tpl/u-boot-tpl.bin" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-vyasa" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/amarula/vyasa/linux_gmac.fragment" + +# Filesystem +BR2_TARGET_GENERIC_HOSTNAME="vyasa-rk3288" +BR2_TARGET_GENERIC_ISSUE="Welcome to VYASA RK3288!" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="512M" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/amarula/vyasa/genimage.cfg" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/amarula/vyasa/post-build.sh" diff --git a/buildroot-2021.05/configs/andes_ae3xx_defconfig b/buildroot-2022.02.1/configs/andes_ae3xx_defconfig similarity index 100% rename from buildroot-2021.05/configs/andes_ae3xx_defconfig rename to buildroot-2022.02.1/configs/andes_ae3xx_defconfig diff --git a/buildroot-2021.05/configs/arcturus_ucls1012a_defconfig b/buildroot-2022.02.1/configs/arcturus_ucls1012a_defconfig similarity index 100% rename from buildroot-2021.05/configs/arcturus_ucls1012a_defconfig rename to buildroot-2022.02.1/configs/arcturus_ucls1012a_defconfig diff --git a/buildroot-2021.05/configs/arcturus_ucp1020_defconfig b/buildroot-2022.02.1/configs/arcturus_ucp1020_defconfig similarity index 100% rename from buildroot-2021.05/configs/arcturus_ucp1020_defconfig rename to buildroot-2022.02.1/configs/arcturus_ucp1020_defconfig diff --git a/buildroot-2021.05/configs/arm_foundationv8_defconfig b/buildroot-2022.02.1/configs/arm_foundationv8_defconfig similarity index 100% rename from buildroot-2021.05/configs/arm_foundationv8_defconfig rename to buildroot-2022.02.1/configs/arm_foundationv8_defconfig diff --git a/buildroot-2021.05/configs/arm_juno_defconfig b/buildroot-2022.02.1/configs/arm_juno_defconfig similarity index 100% rename from buildroot-2021.05/configs/arm_juno_defconfig rename to buildroot-2022.02.1/configs/arm_juno_defconfig diff --git a/buildroot-2021.05/configs/armadeus_apf27_defconfig b/buildroot-2022.02.1/configs/armadeus_apf27_defconfig similarity index 100% rename from buildroot-2021.05/configs/armadeus_apf27_defconfig rename to buildroot-2022.02.1/configs/armadeus_apf27_defconfig diff --git a/buildroot-2022.02.1/configs/armadeus_apf28_defconfig b/buildroot-2022.02.1/configs/armadeus_apf28_defconfig new file mode 100644 index 00000000..01e14e66 --- /dev/null +++ b/buildroot-2022.02.1/configs/armadeus_apf28_defconfig @@ -0,0 +1,28 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Linux headers same as kernel, a 4.9 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y + +# System +BR2_TARGET_GENERIC_HOSTNAME="apf28" +BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !" +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.289" +BR2_LINUX_KERNEL_DEFCONFIG="mxs" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-apf28dev" + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 +BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=4227 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 diff --git a/buildroot-2022.02.1/configs/armadeus_apf51_defconfig b/buildroot-2022.02.1/configs/armadeus_apf51_defconfig new file mode 100644 index 00000000..aa7c2f84 --- /dev/null +++ b/buildroot-2022.02.1/configs/armadeus_apf51_defconfig @@ -0,0 +1,27 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# Linux headers same as kernel, a 4.4 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y + +# System +BR2_TARGET_GENERIC_HOSTNAME="apf51" +BR2_TARGET_GENERIC_ISSUE="Welcome to Armadeus development platform !" +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.4.291" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/armadeus/apf51/linux-4.4.config" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x90008000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx51-apf51dev" + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=135301 +BR2_TARGET_ROOTFS_UBI=y diff --git a/buildroot-2022.02.1/configs/asus_tinker_rk3288_defconfig b/buildroot-2022.02.1/configs/asus_tinker_rk3288_defconfig new file mode 100644 index 00000000..6963fa93 --- /dev/null +++ b/buildroot-2022.02.1/configs/asus_tinker_rk3288_defconfig @@ -0,0 +1,47 @@ +# Architecture +BR2_arm=y +BR2_cortex_a17=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="tinker-rk3288" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y +BR2_TARGET_UBOOT_FORMAT_DTB_BIN=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl-dtb.bin" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x02000000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="rk3288-tinker" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_GENERIC_HOSTNAME="tinker-rk3288" +BR2_TARGET_GENERIC_ISSUE="Welcome to TINKER RK3288!" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="512M" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/asus/tinker/genimage.cfg" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/asus/tinker/post-build.sh" diff --git a/buildroot-2022.02.1/configs/at91sam9260eknf_defconfig b/buildroot-2022.02.1/configs/at91sam9260eknf_defconfig new file mode 100644 index 00000000..b795ad6e --- /dev/null +++ b/buildroot-2022.02.1/configs/at91sam9260eknf_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Linux headers same as kernel, a 4.8 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9260ek" + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBI=y + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9260eknf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9260ek_nandflash" + +# Host packages +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/at91sam9g20dfc_defconfig b/buildroot-2022.02.1/configs/at91sam9g20dfc_defconfig new file mode 100644 index 00000000..46626d85 --- /dev/null +++ b/buildroot-2022.02.1/configs/at91sam9g20dfc_defconfig @@ -0,0 +1,39 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Linux headers same as kernel, a 4.8 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g20ek" + +# Filesystem +BR2_TARGET_ROOTFS_TAR=y +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x20000 +BR2_TARGET_ROOTFS_UBI_SUBSIZE=512 +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f800 +BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x800 +BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9g20eknf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9g20ek_nandflash" + +# Host packages +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/at91sam9g45m10ek_defconfig b/buildroot-2022.02.1/configs/at91sam9g45m10ek_defconfig new file mode 100644 index 00000000..bf0771bc --- /dev/null +++ b/buildroot-2022.02.1/configs/at91sam9g45m10ek_defconfig @@ -0,0 +1,34 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Linux headers same as kernel, a 4.8 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9m10g45ek" + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 +BR2_TARGET_ROOTFS_UBI=y + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9m10g45eknf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9m10g45ek_nandflash" + +# Host packages +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/at91sam9rlek_defconfig b/buildroot-2022.02.1/configs/at91sam9rlek_defconfig new file mode 100644 index 00000000..5c0fdc59 --- /dev/null +++ b/buildroot-2022.02.1/configs/at91sam9rlek_defconfig @@ -0,0 +1,34 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Linux headers same as kernel, a 4.8 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9rlek" + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2047 +BR2_TARGET_ROOTFS_UBI=y + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9rleknf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.09.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9rlek_nandflash" + +# Host packages +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/at91sam9x5ek_defconfig b/buildroot-2022.02.1/configs/at91sam9x5ek_defconfig new file mode 100644 index 00000000..70e2d948 --- /dev/null +++ b/buildroot-2022.02.1/configs/at91sam9x5ek_defconfig @@ -0,0 +1,28 @@ +BR2_arm=y +BR2_arm926t=y +# Linux headers same as kernel, a 4.4 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eknf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_nandflash" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/at91sam9x5ek_dev_defconfig b/buildroot-2022.02.1/configs/at91sam9x5ek_dev_defconfig new file mode 100644 index 00000000..bfa8e959 --- /dev/null +++ b/buildroot-2022.02.1/configs/at91sam9x5ek_dev_defconfig @@ -0,0 +1,98 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# Needed for gdb +BR2_PTHREAD_DEBUG=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# System Configuration +# Needed for usb-utils +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Packages +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eknf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_nandflash" +BR2_TARGET_UBOOT_NEEDS_DTC=y + +# Host packages +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/at91sam9x5ek_mmc_defconfig b/buildroot-2022.02.1/configs/at91sam9x5ek_mmc_defconfig new file mode 100644 index 00000000..79a300a8 --- /dev/null +++ b/buildroot-2022.02.1/configs/at91sam9x5ek_mmc_defconfig @@ -0,0 +1,47 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# Creation of the SD card image +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/at91sam9x5ek_mmc/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/atmel/at91sam9x5ek_mmc/uboot-env.txt" +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" + +# Host packages +# Needed to generate the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/at91sam9x5ek_mmc_dev_defconfig b/buildroot-2022.02.1/configs/at91sam9x5ek_mmc_dev_defconfig new file mode 100644 index 00000000..2e1a5c7f --- /dev/null +++ b/buildroot-2022.02.1/configs/at91sam9x5ek_mmc_dev_defconfig @@ -0,0 +1,107 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# Needed for gdb +BR2_PTHREAD_DEBUG=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# System Configuration +# Needed for usb-utils +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +# Creation of the SD card image +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/at91sam9x5ek_mmc/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_6.1)/linux-linux4sam_6.1.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91sam9g15ek at91sam9g25ek at91sam9g35ek at91sam9x25ek at91sam9x35ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Packages +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_GIT=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_URL="https://github.com/linux4sam/at91bootstrap.git" +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_REPO_VERSION="v3.10.3" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="at91sam9x5eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/linux4sam/u-boot-at91.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="linux4sam_6.1" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="at91sam9x5ek_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/atmel/at91sam9x5ek_mmc/uboot-env.txt" +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" + +# Host packages +# Needed to generate the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig new file mode 100644 index 00000000..ba2fa467 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d27_som1_ek_mmc_dev_defconfig @@ -0,0 +1,84 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_PTHREAD_DEBUG=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_som1_ek_mmc/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_som1_ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_RNG_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_som1_eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_som1_ek_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d2_xplained_mmc_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d2_xplained_mmc_defconfig new file mode 100644 index 00000000..5b638126 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d2_xplained_mmc_defconfig @@ -0,0 +1,30 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d2_xplained_mmc/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_xplainedsd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d2_xplained_mmc_dev_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d2_xplained_mmc_dev_defconfig new file mode 100644 index 00000000..a8b68ca0 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d2_xplained_mmc_dev_defconfig @@ -0,0 +1,104 @@ +# Architecture +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# Needed for gdb +BR2_PTHREAD_DEBUG=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# System Configuration +# Needed for usb-utils +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +# Creation of the SD card image +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d2_xplained_mmc/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Packages +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_xplainedsd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_xplained_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y + +# Host packages +# Needed to generate the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_defconfig new file mode 100644 index 00000000..7ef45db4 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_defconfig @@ -0,0 +1,27 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainednf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_nandflash" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_dev_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_dev_defconfig new file mode 100644 index 00000000..cdfd9de1 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_dev_defconfig @@ -0,0 +1,98 @@ +# Architecture +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# Needed for gdb +BR2_PTHREAD_DEBUG=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# System Configuration +# Needed for usb-utils +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Packages +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainednf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_nandflash" +BR2_TARGET_UBOOT_NEEDS_DTC=y + +# Host packages +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_mmc_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_mmc_defconfig new file mode 100644 index 00000000..1b7d2698 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_mmc_defconfig @@ -0,0 +1,29 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d3_xplained_mmc/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainedsd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_mmc_dev_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_mmc_dev_defconfig new file mode 100644 index 00000000..a2205aee --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d3_xplained_mmc_dev_defconfig @@ -0,0 +1,103 @@ +# Architecture +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# Needed for gdb +BR2_PTHREAD_DEBUG=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# System Configuration +# Needed for usb-utils +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +# Creation of the SD card image +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d3_xplained_mmc/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d3_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Packages +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3_xplainedsd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3_xplained_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y + +# Host packages +# Needed to generate the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d3xek_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d3xek_defconfig new file mode 100644 index 00000000..f71e84bf --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d3xek_defconfig @@ -0,0 +1,38 @@ +# Architecture +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,linux-at91,linux4sam_5.8)/linux-linux4sam_5.8.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sama5d31ek sama5d33ek sama5d34ek sama5d35ek sama5d36ek" + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048 + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v3.10.3)/at91bootstrap3-v3.10.3.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d3xeknf_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_5.8)/u-boot-at91-linux4sam_5.8.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d3xek_nandflash" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_SPL=y + +# Host packages +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_defconfig new file mode 100644 index 00000000..c0b606bc --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_defconfig @@ -0,0 +1,31 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x3e000 +BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x1000 +BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2082 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x40000 +BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainednf_uboot_secure" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_nandflash" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_dev_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_dev_defconfig new file mode 100644 index 00000000..f8783f56 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_dev_defconfig @@ -0,0 +1,102 @@ +# Architecture +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# Needed for gdb +BR2_PTHREAD_DEBUG=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# System Configuration +# Needed for usb-utils +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Packages +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y + +# Filesystem +BR2_TARGET_ROOTFS_UBIFS=y +BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x3e000 +BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x1000 +BR2_TARGET_ROOTFS_UBIFS_MAXLEBCNT=2082 +BR2_TARGET_ROOTFS_UBI=y +BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x40000 +BR2_TARGET_ROOTFS_UBI_SUBSIZE=0 + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainednf_uboot_secure" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_nandflash" +BR2_TARGET_UBOOT_NEEDS_DTC=y + +# Host packages +BR2_PACKAGE_HOST_SAM_BA=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_mmc_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_mmc_defconfig new file mode 100644 index 00000000..ff010732 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_mmc_defconfig @@ -0,0 +1,30 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d4_xplained_mmc/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainedsd_uboot_secure" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_mmc_dev_defconfig b/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_mmc_dev_defconfig new file mode 100644 index 00000000..b4e99f65 --- /dev/null +++ b/buildroot-2022.02.1/configs/atmel_sama5d4_xplained_mmc_dev_defconfig @@ -0,0 +1,104 @@ +# Architecture +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y + +# Toolchain +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# Needed for gdb +BR2_PTHREAD_DEBUG=y +# Needed for some packages +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# System Configuration +# Needed for usb-utils +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +# Creation of the SD card image +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d4_xplained_mmc/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d4_xplained" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Packages +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" + +# Bootloaders +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap3-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d4_xplainedsd_uboot_secure" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d4_xplained_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y + +# Host packages +# Needed to generate the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/avenger96_defconfig b/buildroot-2022.02.1/configs/avenger96_defconfig similarity index 100% rename from buildroot-2021.05/configs/avenger96_defconfig rename to buildroot-2022.02.1/configs/avenger96_defconfig diff --git a/buildroot-2022.02.1/configs/bananapi_m1_defconfig b/buildroot-2022.02.1/configs/bananapi_m1_defconfig new file mode 100644 index 00000000..2d948ec2 --- /dev/null +++ b/buildroot-2022.02.1/configs/bananapi_m1_defconfig @@ -0,0 +1,30 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y +BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M1" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m1/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.18.12" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-bananapi" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Bananapi" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m1/boot.cmd" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/bananapi_m1_plus_defconfig b/buildroot-2022.02.1/configs/bananapi_m1_plus_defconfig similarity index 100% rename from buildroot-2021.05/configs/bananapi_m1_plus_defconfig rename to buildroot-2022.02.1/configs/bananapi_m1_plus_defconfig diff --git a/buildroot-2021.05/configs/bananapi_m2_plus_defconfig b/buildroot-2022.02.1/configs/bananapi_m2_plus_defconfig similarity index 100% rename from buildroot-2021.05/configs/bananapi_m2_plus_defconfig rename to buildroot-2022.02.1/configs/bananapi_m2_plus_defconfig diff --git a/buildroot-2022.02.1/configs/bananapi_m2_ultra_defconfig b/buildroot-2022.02.1/configs/bananapi_m2_ultra_defconfig new file mode 100644 index 00000000..2ec0e60e --- /dev/null +++ b/buildroot-2022.02.1/configs/bananapi_m2_ultra_defconfig @@ -0,0 +1,32 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y +BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Ultra" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-ultra/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.18.12" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-r40-bananapi-m2-ultra" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m2_berry" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/bananapi/bananapi-m2-ultra/boot.cmd" diff --git a/buildroot-2021.05/configs/bananapi_m2_zero_defconfig b/buildroot-2022.02.1/configs/bananapi_m2_zero_defconfig similarity index 100% rename from buildroot-2021.05/configs/bananapi_m2_zero_defconfig rename to buildroot-2022.02.1/configs/bananapi_m2_zero_defconfig diff --git a/buildroot-2021.05/configs/bananapi_m64_defconfig b/buildroot-2022.02.1/configs/bananapi_m64_defconfig similarity index 100% rename from buildroot-2021.05/configs/bananapi_m64_defconfig rename to buildroot-2022.02.1/configs/bananapi_m64_defconfig diff --git a/buildroot-2021.05/configs/bananapro_defconfig b/buildroot-2022.02.1/configs/bananapro_defconfig similarity index 100% rename from buildroot-2021.05/configs/bananapro_defconfig rename to buildroot-2022.02.1/configs/bananapro_defconfig diff --git a/buildroot-2021.05/configs/beagleboardx15_defconfig b/buildroot-2022.02.1/configs/beagleboardx15_defconfig similarity index 100% rename from buildroot-2021.05/configs/beagleboardx15_defconfig rename to buildroot-2022.02.1/configs/beagleboardx15_defconfig diff --git a/buildroot-2022.02.1/configs/beaglebone_defconfig b/buildroot-2022.02.1/configs/beaglebone_defconfig new file mode 100644 index 00000000..06154d98 --- /dev/null +++ b/buildroot-2022.02.1/configs/beaglebone_defconfig @@ -0,0 +1,52 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y +BR2_ARM_FPU_VFPV3=y + +# Patches +BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# System +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y + +# Image +BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,5.10.30-ti-r3)/linux-5.10.30-ti-r3.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm" +BR2_TARGET_UBOOT_NEEDS_DTC=y +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="MLO" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Supporting host tools to build FIT image +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/buildroot-2022.02.1/configs/beaglebone_qt5_defconfig b/buildroot-2022.02.1/configs/beaglebone_qt5_defconfig new file mode 100644 index 00000000..ff03a05a --- /dev/null +++ b/buildroot-2022.02.1/configs/beaglebone_qt5_defconfig @@ -0,0 +1,46 @@ +BR2_arm=y +BR2_cortex_a8=y +BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches" +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_OVERLAY="board/beaglebone/rootfs_overlay" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglebone/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglebone/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,beagleboard,linux,4.19.79-ti-r30)/linux-4.19.79-ti-r30.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/beaglebone/linux-sgx.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-evm am335x-bone am335x-boneblack am335x-bonegreen am335x-evmsk am335x-boneblue am335x-boneblack-wireless" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_FBV=y +BR2_PACKAGE_QT5=y +BR2_PACKAGE_QT5BASE_EXAMPLES=y +BR2_PACKAGE_QT5BASE_EGLFS=y +BR2_PACKAGE_QT5BASE_DEFAULT_QPA="eglfs" +BR2_PACKAGE_QT5QUICKCONTROLS=y +BR2_PACKAGE_TI_SGX_DEMOS=y +BR2_PACKAGE_TI_SGX_KM=y +BR2_PACKAGE_TI_SGX_UM=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="250M" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am335x_evm" +BR2_TARGET_UBOOT_NEEDS_DTC=y +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="MLO" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/buildroot-2022.02.1/configs/beagleboneai_defconfig b/buildroot-2022.02.1/configs/beagleboneai_defconfig new file mode 100644 index 00000000..586a7531 --- /dev/null +++ b/buildroot-2022.02.1/configs/beagleboneai_defconfig @@ -0,0 +1,30 @@ +BR2_arm=y +BR2_cortex_a15=y +BR2_GLOBAL_PATCH_DIR="board/beagleboneai/patches" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/beagleboneai/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beagleboneai/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.79" +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am5729-beagleboneai" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm" +BR2_TARGET_UBOOT_NEEDS_DTC=y +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="MLO" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/beaglev_defconfig b/buildroot-2022.02.1/configs/beaglev_defconfig new file mode 100644 index 00000000..79af8c2e --- /dev/null +++ b/buildroot-2022.02.1/configs/beaglev_defconfig @@ -0,0 +1,41 @@ +BR2_riscv=y +BR2_riscv_custom=y +BR2_RISCV_ISA_CUSTOM_RVM=y +BR2_RISCV_ISA_CUSTOM_RVF=y +BR2_RISCV_ISA_CUSTOM_RVD=y +BR2_RISCV_ISA_CUSTOM_RVC=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/beaglev/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beaglev/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# tag buildroot-20210609 of the 5.13 branch (esmil_starlight) +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,linux,83dba1f25dfc118cacec991c31a7a4cfa7405c89)/linux-83dba1f25dfc118cacec991c31a7a4cfa7405c89.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="starlight" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="starfive/jh7100-beaglev-starlight" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_BEAGLEV_DDRINIT=y +BR2_TARGET_BEAGLEV_SECONDBOOT=y +BR2_TARGET_OPENSBI=y +BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y +# upstream opensbi master branch +BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,riscv,opensbi,79f9b4220ffa7f74356054be25d450d7958bf16c)/opensbi-79f9b4220ffa7f74356054be25d450d7958bf16c.tar.gz" +BR2_TARGET_OPENSBI_PLAT="generic" +# BR2_TARGET_OPENSBI_INSTALL_DYNAMIC_IMG is not set +# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set +BR2_TARGET_OPENSBI_UBOOT_PAYLOAD=y +BR2_TARGET_OPENSBI_FW_FDT_PATH=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# HEAD of the starfive-tech:Fedora_VIC_7100_2021.04 branch +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,starfive-tech,u-boot,64ead5b83959da8eb87b6963843addf5942e6ed4)/uboot-64ead5b83959da8eb87b6963843addf5942e6ed4.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="starfive_vic7100_beagle_v_smode" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_JH71XX_TOOLS=y diff --git a/buildroot-2022.02.1/configs/beelink_gs1_defconfig b/buildroot-2022.02.1/configs/beelink_gs1_defconfig new file mode 100644 index 00000000..d4682d6b --- /dev/null +++ b/buildroot-2022.02.1/configs/beelink_gs1_defconfig @@ -0,0 +1,45 @@ +# Architecture +BR2_aarch64=y +BR2_ARM_FPU_VFPV4=y +BR2_TARGET_GENERIC_ISSUE="Welcome to Beelink GS1" +# MDEV is required to autoload the ethernet driver module +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/beelink/gs1/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beelink/gs1/genimage.cfg" + +# Kernel Linux headers same as kernel, 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h6-beelink-gs1" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_h6" + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="beelink_gs1" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/chromebook_elm_defconfig b/buildroot-2022.02.1/configs/chromebook_elm_defconfig new file mode 100644 index 00000000..827d9296 --- /dev/null +++ b/buildroot-2022.02.1/configs/chromebook_elm_defconfig @@ -0,0 +1,37 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a72_a53=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel (5.10 series) +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10" + +# Build Kernel with a Custom config. +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/chromebook/elm/linux.config" + +# DTS support +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="mediatek/mt8173-elm" + +# Package Firmware for WiFi chip. +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797=y + +# Scripts to generate final images. +BR2_ROOTFS_POST_BUILD_SCRIPT="board/chromebook/elm/sign.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/chromebook/mksd.sh" + +# Supporting host tools to build / sign FIT Image. +BR2_PACKAGE_HOST_PARTED=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y +BR2_PACKAGE_HOST_VBOOT_UTILS=y diff --git a/buildroot-2021.05/configs/chromebook_snow_defconfig b/buildroot-2022.02.1/configs/chromebook_snow_defconfig similarity index 100% rename from buildroot-2021.05/configs/chromebook_snow_defconfig rename to buildroot-2022.02.1/configs/chromebook_snow_defconfig diff --git a/buildroot-2021.05/configs/ci20_defconfig b/buildroot-2022.02.1/configs/ci20_defconfig similarity index 100% rename from buildroot-2021.05/configs/ci20_defconfig rename to buildroot-2022.02.1/configs/ci20_defconfig diff --git a/buildroot-2021.05/configs/csky_gx6605s_defconfig b/buildroot-2022.02.1/configs/csky_gx6605s_defconfig similarity index 100% rename from buildroot-2021.05/configs/csky_gx6605s_defconfig rename to buildroot-2022.02.1/configs/csky_gx6605s_defconfig diff --git a/buildroot-2022.02.1/configs/cubieboard2_defconfig b/buildroot-2022.02.1/configs/cubieboard2_defconfig new file mode 100644 index 00000000..18337fac --- /dev/null +++ b/buildroot-2022.02.1/configs/cubieboard2_defconfig @@ -0,0 +1,42 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" +BR2_LINUX_KERNEL_DEFCONFIG="multi_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-cubieboard2" + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="Cubieboard2" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/cubietech/cubieboard2/boot.cmd" + +# System +BR2_TARGET_GENERIC_HOSTNAME="Cubieboard2" +BR2_TARGET_GENERIC_ISSUE="Welcome to Cubieboard2!" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/cubietech/cubieboard2/post-image.sh" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/engicam_imx6qdl_icore_defconfig b/buildroot-2022.02.1/configs/engicam_imx6qdl_icore_defconfig similarity index 100% rename from buildroot-2021.05/configs/engicam_imx6qdl_icore_defconfig rename to buildroot-2022.02.1/configs/engicam_imx6qdl_icore_defconfig diff --git a/buildroot-2022.02.1/configs/engicam_imx6qdl_icore_qt5_defconfig b/buildroot-2022.02.1/configs/engicam_imx6qdl_icore_qt5_defconfig new file mode 100644 index 00000000..2d213e4a --- /dev/null +++ b/buildroot-2022.02.1/configs/engicam_imx6qdl_icore_qt5_defconfig @@ -0,0 +1,81 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y + +# Linux headers same as kernel, a 4.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-icore imx6q-icore imx6q-icore-ofcap10 imx6q-icore-ofcap12" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/engicam/icorem6/linux_qt5.fragment" + +# Filesystem +BR2_TARGET_GENERIC_ISSUE="Welcome to Engicam i.CoreM6 Quad/Dual/DualLite/Solo" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/engicam/icorem6/genimage.cfg" +BR2_ROOTFS_OVERLAY="board/engicam/icorem6/rootfs_overlay" + +# qt5 dependencies +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# qt5 +BR2_PACKAGE_QT5=y +BR2_PACKAGE_QT5BASE_OPENGL_LIB=y +BR2_PACKAGE_QT5BASE_LINUXFB=y +BR2_PACKAGE_QT5BASE_FONTCONFIG=y +BR2_PACKAGE_QT5BASE_GIF=y +BR2_PACKAGE_QT5BASE_JPEG=y + +# mesa3d +BR2_PACKAGE_MESA3D=y +BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y +BR2_PACKAGE_MESA3D_OPENGL_ES=y +BR2_PACKAGE_MESA3D_OPENGL_EGL=y + +# qt5 demo packages +BR2_PACKAGE_GLMARK2=y +BR2_PACKAGE_MESA3D_DEMOS=y +BR2_PACKAGE_KMSCUBE=y +BR2_PACKAGE_QT5CINEX=y +BR2_PACKAGE_QT5CINEX_HD=y + +# fonts +BR2_PACKAGE_BITSTREAM_VERA=y +BR2_PACKAGE_CANTARELL=y +BR2_PACKAGE_DEJAVU=y +BR2_PACKAGE_FONT_AWESOME=y +BR2_PACKAGE_GHOSTSCRIPT_FONTS=y +BR2_PACKAGE_INCONSOLATA=y +BR2_PACKAGE_LIBERATION=y diff --git a/buildroot-2021.05/configs/engicam_imx6qdl_icore_rqs_defconfig b/buildroot-2022.02.1/configs/engicam_imx6qdl_icore_rqs_defconfig similarity index 100% rename from buildroot-2021.05/configs/engicam_imx6qdl_icore_rqs_defconfig rename to buildroot-2022.02.1/configs/engicam_imx6qdl_icore_rqs_defconfig diff --git a/buildroot-2021.05/configs/engicam_imx6ul_geam_defconfig b/buildroot-2022.02.1/configs/engicam_imx6ul_geam_defconfig similarity index 100% rename from buildroot-2021.05/configs/engicam_imx6ul_geam_defconfig rename to buildroot-2022.02.1/configs/engicam_imx6ul_geam_defconfig diff --git a/buildroot-2021.05/configs/engicam_imx6ul_isiot_defconfig b/buildroot-2022.02.1/configs/engicam_imx6ul_isiot_defconfig similarity index 100% rename from buildroot-2021.05/configs/engicam_imx6ul_isiot_defconfig rename to buildroot-2022.02.1/configs/engicam_imx6ul_isiot_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx28evk_defconfig b/buildroot-2022.02.1/configs/freescale_imx28evk_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx28evk_defconfig rename to buildroot-2022.02.1/configs/freescale_imx28evk_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx6dlsabreauto_defconfig b/buildroot-2022.02.1/configs/freescale_imx6dlsabreauto_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx6dlsabreauto_defconfig rename to buildroot-2022.02.1/configs/freescale_imx6dlsabreauto_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx6dlsabresd_defconfig b/buildroot-2022.02.1/configs/freescale_imx6dlsabresd_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx6dlsabresd_defconfig rename to buildroot-2022.02.1/configs/freescale_imx6dlsabresd_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx6qsabreauto_defconfig b/buildroot-2022.02.1/configs/freescale_imx6qsabreauto_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx6qsabreauto_defconfig rename to buildroot-2022.02.1/configs/freescale_imx6qsabreauto_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx6qsabresd_defconfig b/buildroot-2022.02.1/configs/freescale_imx6qsabresd_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx6qsabresd_defconfig rename to buildroot-2022.02.1/configs/freescale_imx6qsabresd_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx6sxsabresd_defconfig b/buildroot-2022.02.1/configs/freescale_imx6sxsabresd_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx6sxsabresd_defconfig rename to buildroot-2022.02.1/configs/freescale_imx6sxsabresd_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx6ullevk_defconfig b/buildroot-2022.02.1/configs/freescale_imx6ullevk_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx6ullevk_defconfig rename to buildroot-2022.02.1/configs/freescale_imx6ullevk_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx7dsabresd_defconfig b/buildroot-2022.02.1/configs/freescale_imx7dsabresd_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx7dsabresd_defconfig rename to buildroot-2022.02.1/configs/freescale_imx7dsabresd_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx8mmevk_defconfig b/buildroot-2022.02.1/configs/freescale_imx8mmevk_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx8mmevk_defconfig rename to buildroot-2022.02.1/configs/freescale_imx8mmevk_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx8mnevk_defconfig b/buildroot-2022.02.1/configs/freescale_imx8mnevk_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx8mnevk_defconfig rename to buildroot-2022.02.1/configs/freescale_imx8mnevk_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx8mpevk_defconfig b/buildroot-2022.02.1/configs/freescale_imx8mpevk_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx8mpevk_defconfig rename to buildroot-2022.02.1/configs/freescale_imx8mpevk_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx8mqevk_defconfig b/buildroot-2022.02.1/configs/freescale_imx8mqevk_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx8mqevk_defconfig rename to buildroot-2022.02.1/configs/freescale_imx8mqevk_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx8qmmek_defconfig b/buildroot-2022.02.1/configs/freescale_imx8qmmek_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx8qmmek_defconfig rename to buildroot-2022.02.1/configs/freescale_imx8qmmek_defconfig diff --git a/buildroot-2021.05/configs/freescale_imx8qxpmek_defconfig b/buildroot-2022.02.1/configs/freescale_imx8qxpmek_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_imx8qxpmek_defconfig rename to buildroot-2022.02.1/configs/freescale_imx8qxpmek_defconfig diff --git a/buildroot-2021.05/configs/freescale_p1025twr_defconfig b/buildroot-2022.02.1/configs/freescale_p1025twr_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_p1025twr_defconfig rename to buildroot-2022.02.1/configs/freescale_p1025twr_defconfig diff --git a/buildroot-2021.05/configs/freescale_t1040d4rdb_defconfig b/buildroot-2022.02.1/configs/freescale_t1040d4rdb_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_t1040d4rdb_defconfig rename to buildroot-2022.02.1/configs/freescale_t1040d4rdb_defconfig diff --git a/buildroot-2021.05/configs/freescale_t2080_qds_rdb_defconfig b/buildroot-2022.02.1/configs/freescale_t2080_qds_rdb_defconfig similarity index 100% rename from buildroot-2021.05/configs/freescale_t2080_qds_rdb_defconfig rename to buildroot-2022.02.1/configs/freescale_t2080_qds_rdb_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopc_t4_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopc_t4_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopc_t4_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopc_t4_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_a64_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_a64_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_a64_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_a64_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_m1_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_m1_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_m1_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_m1_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_m1_plus_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_m1_plus_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_m1_plus_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_m1_plus_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_m4_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_m4_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_m4_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_m4_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_neo2_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_neo2_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_neo2_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_neo2_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_neo4_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_neo4_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_neo4_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_neo4_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_neo_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_neo_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_neo_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_neo_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_neo_plus2_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_neo_plus2_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_neo_plus2_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_neo_plus2_defconfig diff --git a/buildroot-2021.05/configs/friendlyarm_nanopi_r1_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_r1_defconfig similarity index 100% rename from buildroot-2021.05/configs/friendlyarm_nanopi_r1_defconfig rename to buildroot-2022.02.1/configs/friendlyarm_nanopi_r1_defconfig diff --git a/buildroot-2022.02.1/configs/friendlyarm_nanopi_r2s_defconfig b/buildroot-2022.02.1/configs/friendlyarm_nanopi_r2s_defconfig new file mode 100644 index 00000000..ce252a5d --- /dev/null +++ b/buildroot-2022.02.1/configs/friendlyarm_nanopi_r2s_defconfig @@ -0,0 +1,41 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=y +BR2_TARGET_GENERIC_HOSTNAME="rk3328-nanopi-r2s" +BR2_TARGET_GENERIC_ISSUE="Welcome to Nanopi R2S RK3328" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/friendlyarm/nanopi-r2s/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/friendlyarm/nanopi-r2s/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3328-nanopi-r2s" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3328" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nanopi-r2s-rk3328" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2022.02.1/configs/galileo_defconfig b/buildroot-2022.02.1/configs/galileo_defconfig new file mode 100644 index 00000000..a8fd0a6d --- /dev/null +++ b/buildroot-2022.02.1/configs/galileo_defconfig @@ -0,0 +1,25 @@ +BR2_x86_x1000=y +BR2_GLOBAL_PATCH_DIR=board/intel/galileo/patches +# Needed for TARGET_GRUB2 +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# Linux headers same as kernel, a 3.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS1" +BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y +BR2_ROOTFS_OVERLAY="board/intel/galileo/rootfs_overlay" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/intel/galileo/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/intel/galileo/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,mdr78,Linux-x1000,8b3c9d8ce1656a26b1097d9091d53bfb39fef640)/linux-8b3c9d8ce1656a26b1097d9091d53bfb39fef640.tar.gz" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/intel/galileo/linux-3.14.config" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_I386_EFI=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/globalscale_espressobin_defconfig b/buildroot-2022.02.1/configs/globalscale_espressobin_defconfig new file mode 100644 index 00000000..8d44b25a --- /dev/null +++ b/buildroot-2022.02.1/configs/globalscale_espressobin_defconfig @@ -0,0 +1,27 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=y + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.1" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/globalscale/espressobin/linux-extras.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="marvell/armada-3720-espressobin marvell/armada-3720-espressobin-emmc marvell/armada-3720-espressobin-v7 marvell/armada-3720-espressobin-v7-emmc marvell/armada-3720-espressobin-ultra" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Marvell ESPRESSObin" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_ROOTFS_TAR_GZIP=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/globalscale/espressobin/genimage.cfg" diff --git a/buildroot-2022.02.1/configs/grinn_chiliboard_defconfig b/buildroot-2022.02.1/configs/grinn_chiliboard_defconfig new file mode 100644 index 00000000..80f3077b --- /dev/null +++ b/buildroot-2022.02.1/configs/grinn_chiliboard_defconfig @@ -0,0 +1,28 @@ +BR2_arm=y +BR2_cortex_a8=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/grinn/chiliboard/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.14" +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am335x-chiliboard" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="chiliboard" +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="spl/u-boot-spl.bin" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="MLO" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/grinn_liteboard_defconfig b/buildroot-2022.02.1/configs/grinn_liteboard_defconfig new file mode 100644 index 00000000..9cad66e1 --- /dev/null +++ b/buildroot-2022.02.1/configs/grinn_liteboard_defconfig @@ -0,0 +1,27 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/grinn/liteboard/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.14" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-liteboard" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="liteboard" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/hifive_unleashed_defconfig b/buildroot-2022.02.1/configs/hifive_unleashed_defconfig similarity index 100% rename from buildroot-2021.05/configs/hifive_unleashed_defconfig rename to buildroot-2022.02.1/configs/hifive_unleashed_defconfig diff --git a/buildroot-2022.02.1/configs/imx23evk_defconfig b/buildroot-2022.02.1/configs/imx23evk_defconfig new file mode 100644 index 00000000..94d159cf --- /dev/null +++ b/buildroot-2022.02.1/configs/imx23evk_defconfig @@ -0,0 +1,34 @@ +# architecture +BR2_arm=y +BR2_arm926t=y + +# Linux headers same as kernel, a 4.8 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.8.6" +BR2_LINUX_KERNEL_DEFCONFIG="mxs" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx23-evk" + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx23evk" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_FORMAT_SD=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# To generate SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/mxs/post-image.sh" diff --git a/buildroot-2022.02.1/configs/imx6-sabreauto_defconfig b/buildroot-2022.02.1/configs/imx6-sabreauto_defconfig new file mode 100644 index 00000000..24b3fd38 --- /dev/null +++ b/buildroot-2022.02.1/configs/imx6-sabreauto_defconfig @@ -0,0 +1,41 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc3" + +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx6sabreauto" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_NEEDS_LZOP=y +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.1" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabreauto imx6dl-sabreauto imx6qp-sabreauto" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/imx6-sabresd_defconfig b/buildroot-2022.02.1/configs/imx6-sabresd_defconfig new file mode 100644 index 00000000..19986f2c --- /dev/null +++ b/buildroot-2022.02.1/configs/imx6-sabresd_defconfig @@ -0,0 +1,40 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" + +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx6sabresd" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.12" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/imx6-sabresd_qt5_defconfig b/buildroot-2022.02.1/configs/imx6-sabresd_qt5_defconfig new file mode 100644 index 00000000..38a86131 --- /dev/null +++ b/buildroot-2022.02.1/configs/imx6-sabresd_qt5_defconfig @@ -0,0 +1,100 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Additional features needed for packages +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" + +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="320M" +BR2_ROOTFS_OVERLAY="board/freescale/imx6-sabresd/rootfs_overlay" + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx6sabresd" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.12" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd imx6dl-sabresd imx6qp-sabresd" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/freescale/imx6-sabresd/linux_qt5.fragment" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# GL driver +BR2_PACKAGE_MESA3D=y +BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV=y +BR2_PACKAGE_MESA3D_OPENGL_ES=y +BR2_PACKAGE_MESA3D_OPENGL_EGL=y + +# Fonts +BR2_PACKAGE_BITSTREAM_VERA=y +BR2_PACKAGE_CANTARELL=y +BR2_PACKAGE_DEJAVU=y +BR2_PACKAGE_FONT_AWESOME=y +BR2_PACKAGE_GHOSTSCRIPT_FONTS=y +BR2_PACKAGE_INCONSOLATA=y +BR2_PACKAGE_LIBERATION=y + +# GL demos +BR2_PACKAGE_GLMARK2=y +BR2_PACKAGE_KMSCUBE=y +BR2_PACKAGE_LIBV4L=y +BR2_PACKAGE_LIBV4L_UTILS=y +BR2_PACKAGE_MESA3D_DEMOS=y + +# Qt5 +BR2_PACKAGE_QT5=y +BR2_PACKAGE_QT5BASE_OPENGL_LIB=y +BR2_PACKAGE_QT5BASE_LINUXFB=y +BR2_PACKAGE_QT5BASE_FONTCONFIG=y +BR2_PACKAGE_QT5BASE_GIF=y +BR2_PACKAGE_QT5BASE_JPEG=y +BR2_PACKAGE_QT5CINEX=y +BR2_PACKAGE_QT5CINEX_HD=y + +# NXP firmware package +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# libdrm tests +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y + +# gstreamer-1.0 +BR2_PACKAGE_GSTREAMER1=y +BR2_PACKAGE_GST1_PLUGINS_GOOD=y +BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2=y +BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE=y +BR2_PACKAGE_GST1_PLUGINS_BAD=y +BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS=y +BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS=y +BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC=y + +# For automatic kernel module loading +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y diff --git a/buildroot-2022.02.1/configs/imx6slevk_defconfig b/buildroot-2022.02.1/configs/imx6slevk_defconfig new file mode 100644 index 00000000..9448267e --- /dev/null +++ b/buildroot-2022.02.1/configs/imx6slevk_defconfig @@ -0,0 +1,27 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx6slevk" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_IMX=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/imx6sx-sdb_defconfig b/buildroot-2022.02.1/configs/imx6sx-sdb_defconfig new file mode 100644 index 00000000..c36520a1 --- /dev/null +++ b/buildroot-2022.02.1/configs/imx6sx-sdb_defconfig @@ -0,0 +1,27 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx6sxsabresd" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_FORMAT_IMX=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-sdb imx6sx-sdb-reva" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/imx6ulevk_defconfig b/buildroot-2022.02.1/configs/imx6ulevk_defconfig new file mode 100644 index 00000000..22b5a454 --- /dev/null +++ b/buildroot-2022.02.1/configs/imx6ulevk_defconfig @@ -0,0 +1,40 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-14x14-evk" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx6ul_14x14_evk" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_TARGET_UBOOT_NEEDS_DTC=y + +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# filesystem / image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/buildroot-2022.02.1/configs/imx6ullevk_defconfig b/buildroot-2022.02.1/configs/imx6ullevk_defconfig new file mode 100644 index 00000000..c6e29816 --- /dev/null +++ b/buildroot-2022.02.1/configs/imx6ullevk_defconfig @@ -0,0 +1,38 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.14" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ull-14x14-evk" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx6ull_14x14_evk" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# filesystem / image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/buildroot-2022.02.1/configs/imx6ulpico_defconfig b/buildroot-2022.02.1/configs/imx6ulpico_defconfig new file mode 100644 index 00000000..e406d993 --- /dev/null +++ b/buildroot-2022.02.1/configs/imx6ulpico_defconfig @@ -0,0 +1,55 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc5" + +# rootfs overlay +BR2_ROOTFS_OVERLAY="board/technexion/imx6ulpico/rootfs_overlay" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.11" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6ul-pico-pi imx6ul-pico-hobbit imx6ul-pico-dwarf" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# wifi firmware for brcm4339 +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX=y + +# For automatic firmware loading +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y + +# wireless packages +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_TARGET_UBOOT_BOARDNAME="pico-imx6ul" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y + +# required tools to create the eMMC image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# filesystem / image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/buildroot-2022.02.1/configs/imx7d-sdb_defconfig b/buildroot-2022.02.1/configs/imx7d-sdb_defconfig new file mode 100644 index 00000000..8ee5e1fc --- /dev/null +++ b/buildroot-2022.02.1/configs/imx7d-sdb_defconfig @@ -0,0 +1,38 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-sdb" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# U-Boot +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="mx7dsabresd" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07" +BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y + +# Filesystem +BR2_ROOTFS_OVERLAY="board/freescale/imx7dsdb/rootfs_overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# required tools to create the eMMC image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/imx7dpico_defconfig b/buildroot-2022.02.1/configs/imx7dpico_defconfig new file mode 100644 index 00000000..c6ea04b6 --- /dev/null +++ b/buildroot-2022.02.1/configs/imx7dpico_defconfig @@ -0,0 +1,50 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc4" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-pico-pi" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_TARGET_UBOOT_BOARDNAME="pico-pi-imx7d" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07" +BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y + +# wifi firmware for brcm43439 +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX=y + +# For automatic firmware loading +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y + +# wireless packages +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y + +# required tools to create the eMMC image +BR2_PACKAGE_HOST_GENIMAGE=y + +# filesystem / image +BR2_ROOTFS_OVERLAY="board/technexion/imx7dpico/rootfs_overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y diff --git a/buildroot-2021.05/configs/imx8mmpico_defconfig b/buildroot-2022.02.1/configs/imx8mmpico_defconfig similarity index 100% rename from buildroot-2021.05/configs/imx8mmpico_defconfig rename to buildroot-2022.02.1/configs/imx8mmpico_defconfig diff --git a/buildroot-2021.05/configs/imx8mpico_defconfig b/buildroot-2022.02.1/configs/imx8mpico_defconfig similarity index 100% rename from buildroot-2021.05/configs/imx8mpico_defconfig rename to buildroot-2022.02.1/configs/imx8mpico_defconfig diff --git a/buildroot-2021.05/configs/imx8mqevk_defconfig b/buildroot-2022.02.1/configs/imx8mqevk_defconfig similarity index 100% rename from buildroot-2021.05/configs/imx8mqevk_defconfig rename to buildroot-2022.02.1/configs/imx8mqevk_defconfig diff --git a/buildroot-2022.02.1/configs/kontron_bl_imx8mm_defconfig b/buildroot-2022.02.1/configs/kontron_bl_imx8mm_defconfig new file mode 100644 index 00000000..2b7e121e --- /dev/null +++ b/buildroot-2022.02.1/configs/kontron_bl_imx8mm_defconfig @@ -0,0 +1,60 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV3=y + +BR2_GLOBAL_PATCH_DIR="board/kontron/bl-imx8mm/patches" + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-kontron-n801x-s" +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y + +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" + +# Bootloader +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.6" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="IMX_BOOT_UART_BASE=0x30880000" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron-sl-mx8mm" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31_BIN=y +BR2_TARGET_UBOOT_NEEDS_IMX_FIRMWARE=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="flash.bin" +BR2_TARGET_UBOOT_SPL=y + +# Required host tools to create the SD/eMMC image +BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/bl-imx8mm/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/kontron_pitx_imx8m_defconfig b/buildroot-2022.02.1/configs/kontron_pitx_imx8m_defconfig new file mode 100644 index 00000000..8f756f52 --- /dev/null +++ b/buildroot-2022.02.1/configs/kontron_pitx_imx8m_defconfig @@ -0,0 +1,52 @@ +# Architecture +BR2_aarch64=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc2" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/kontron/pitx-imx8m/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/kontron/pitx-imx8m/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/pitx-imx8mq.dtb" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.1" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-kontron-pitx-imx8m" +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y + +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" + +# Bootloader +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://gitlab.kontron.com/imx/u-boot-imx/-/archive/PITX-IMX8M-R12/u-boot-imx-PITX-IMX8M-R12.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="pitx-imx8m" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" +BR2_TARGET_UBOOT_SPL=y + +# Required host tools to create the SD/eMMC image +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y diff --git a/buildroot-2022.02.1/configs/kontron_smarc_sal28_defconfig b/buildroot-2022.02.1/configs/kontron_smarc_sal28_defconfig new file mode 100644 index 00000000..37e415cf --- /dev/null +++ b/buildroot-2022.02.1/configs/kontron_smarc_sal28_defconfig @@ -0,0 +1,35 @@ +BR2_aarch64=y +BR2_cortex_a72=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_OVERLAY="board/kontron/smarc-sal28/rootfs_overlay" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/kontron/smarc-sal28/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/fsl-ls1028a-kontron-sl28 freescale/fsl-ls1028a-kontron-sl28-var2 freescale/fsl-ls1028a-kontron-sl28-var3-ads2 freescale/fsl-ls1028a-kontron-sl28-var4 freescale/fsl-ls1028a-kontron-kbox-a-230-ls" +BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_RCW_SMARC_SAL28=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="128M" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="kontron_sl28" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.rom" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2021.05/configs/lafrite_defconfig b/buildroot-2022.02.1/configs/lafrite_defconfig similarity index 100% rename from buildroot-2021.05/configs/lafrite_defconfig rename to buildroot-2022.02.1/configs/lafrite_defconfig diff --git a/buildroot-2022.02.1/configs/lego_ev3_defconfig b/buildroot-2022.02.1/configs/lego_ev3_defconfig new file mode 100644 index 00000000..555a63e3 --- /dev/null +++ b/buildroot-2022.02.1/configs/lego_ev3_defconfig @@ -0,0 +1,52 @@ +# architecture +BR2_arm=y +BR2_arm926t=y + +# Toolchain +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y + +# system +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS1" +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/lego/ev3/post-image.sh" +# Linux headers same as kernel, a 4.19 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19" +BR2_LINUX_KERNEL_DEFCONFIG="davinci_all" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/lego/ev3/linux.fragment" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0xc0008000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="da850-lego-ev3" + +# Target packages +BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="board/lego/ev3/busybox.fragment" +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y +BR2_PACKAGE_BRICKD=y +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560=y + +# filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_SQUASHFS=y +BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y +# BR2_TARGET_ROOTFS_TAR is not set + +# U-Boot +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="legoev3" + +# host +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/licheepi_zero_defconfig b/buildroot-2022.02.1/configs/licheepi_zero_defconfig similarity index 100% rename from buildroot-2021.05/configs/licheepi_zero_defconfig rename to buildroot-2022.02.1/configs/licheepi_zero_defconfig diff --git a/buildroot-2021.05/configs/linksprite_pcduino_defconfig b/buildroot-2022.02.1/configs/linksprite_pcduino_defconfig similarity index 100% rename from buildroot-2021.05/configs/linksprite_pcduino_defconfig rename to buildroot-2022.02.1/configs/linksprite_pcduino_defconfig diff --git a/buildroot-2022.02.1/configs/microchip_sam9x60ek_mmc_defconfig b/buildroot-2022.02.1/configs/microchip_sam9x60ek_mmc_defconfig new file mode 100644 index 00000000..7a1a699d --- /dev/null +++ b/buildroot-2022.02.1/configs/microchip_sam9x60ek_mmc_defconfig @@ -0,0 +1,27 @@ +BR2_arm=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sam9x60ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sam9x60eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sam9x60ek_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/microchip_sam9x60ek_mmc_dev_defconfig b/buildroot-2022.02.1/configs/microchip_sam9x60ek_mmc_dev_defconfig new file mode 100644 index 00000000..06e03967 --- /dev/null +++ b/buildroot-2022.02.1/configs/microchip_sam9x60ek_mmc_dev_defconfig @@ -0,0 +1,82 @@ +BR2_arm=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_PTHREAD_DEBUG=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_TARGET_GENERIC_HOSTNAME="sam9x60ek" +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sam9x60ek_mmc/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="at91_dt" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sam9x60ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBSYSFS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_ARGP_STANDALONE=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sam9x60eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.04)/u-boot-at91-linux4sam-2020.04.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sam9x60ek_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig b/buildroot-2022.02.1/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig new file mode 100644 index 00000000..024e8a14 --- /dev/null +++ b/buildroot-2022.02.1/configs/microchip_sama5d27_wlsom1_ek_mmc_defconfig @@ -0,0 +1,30 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_wlsom1_ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_wlsom1_eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_wlsom1_ek_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig b/buildroot-2022.02.1/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig new file mode 100644 index 00000000..3bcd5f02 --- /dev/null +++ b/buildroot-2022.02.1/configs/microchip_sama5d27_wlsom1_ek_mmc_dev_defconfig @@ -0,0 +1,85 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_PTHREAD_DEBUG=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/atmel/sama5d27_wlsom1_ek_mmc/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d27_wlsom1_ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y +BR2_PACKAGE_ALSA_UTILS=y +BR2_PACKAGE_ALSA_UTILS_ALSACONF=y +BR2_PACKAGE_ALSA_UTILS_APLAY=y +BR2_PACKAGE_FFMPEG=y +BR2_PACKAGE_FFMPEG_GPL=y +BR2_PACKAGE_FFMPEG_SWSCALE=y +BR2_PACKAGE_MPG123=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_GZIP=y +BR2_PACKAGE_UNZIP=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_I2C_TOOLS=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBSYSFS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_ARGP_STANDALONE=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WGET=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_BASH=y +BR2_PACKAGE_HTOP=y +BR2_PACKAGE_VIM=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d27_wlsom1_eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam_6.2)/u-boot-at91-linux4sam_6.2.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d27_wlsom1_ek_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/microchip_sama5d2_icp_mmc_defconfig b/buildroot-2022.02.1/configs/microchip_sama5d2_icp_mmc_defconfig new file mode 100644 index 00000000..27ea4970 --- /dev/null +++ b/buildroot-2022.02.1/configs/microchip_sama5d2_icp_mmc_defconfig @@ -0,0 +1,31 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama5d2_icp/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_icpsd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.10)/u-boot-at91-linux4sam-2020.10.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_icp_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/microchip_sama5d2_icp_mmc_dev_defconfig b/buildroot-2022.02.1/configs/microchip_sama5d2_icp_mmc_dev_defconfig new file mode 100644 index 00000000..27d1d340 --- /dev/null +++ b/buildroot-2022.02.1/configs/microchip_sama5d2_icp_mmc_dev_defconfig @@ -0,0 +1,74 @@ +BR2_arm=y +BR2_cortex_a5=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_INSTRUCTIONS_THUMB2=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_PTHREAD_DEBUG=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama5d2_icp/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,linux4microchip,linux,linux4microchip-2021.10)/linux-linux4microchip-2021.10.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="sama5" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama5d2_icp" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_LINUX_TOOLS_IIO=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_STRACE=y +BR2_PACKAGE_TREE=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBSYSFS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_ARGP_STANDALONE=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_HTOP=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama5d2_icpsd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2020.10)/u-boot-at91-linux4sam-2020.10.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama5d2_icp_mmc" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/microchip_sama7g5ek_mmc_defconfig b/buildroot-2022.02.1/configs/microchip_sama7g5ek_mmc_defconfig new file mode 100644 index 00000000..7ab81d1d --- /dev/null +++ b/buildroot-2022.02.1/configs/microchip_sama7g5ek_mmc_defconfig @@ -0,0 +1,29 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21" +BR2_LINUX_KERNEL_DEFCONFIG="sama7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama7g5eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2021.04)/u-boot-at91-linux4sam-2021.04.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama7g5ek_mmc1" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/microchip_sama7g5ek_mmc_dev_defconfig b/buildroot-2022.02.1/configs/microchip_sama7g5ek_mmc_dev_defconfig new file mode 100644 index 00000000..6eb6c282 --- /dev/null +++ b/buildroot-2022.02.1/configs/microchip_sama7g5ek_mmc_dev_defconfig @@ -0,0 +1,74 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +BR2_PTHREAD_DEBUG=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/microchip/sama7g5ek/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.21" +BR2_LINUX_KERNEL_DEFCONFIG="sama7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="at91-sama7g5ek" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_LINUX_TOOLS_IIO=y +BR2_PACKAGE_BZIP2=y +BR2_PACKAGE_XZ=y +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_GDB=y +BR2_PACKAGE_LMBENCH=y +BR2_PACKAGE_STRACE=y +BR2_PACKAGE_TREE=y +BR2_PACKAGE_DOSFSTOOLS=y +BR2_PACKAGE_DOSFSTOOLS_FATLABEL=y +BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT=y +BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT=y +BR2_PACKAGE_MMC_UTILS=y +BR2_PACKAGE_MTD=y +BR2_PACKAGE_WILC1000_FIRMWARE=y +BR2_PACKAGE_EVTEST=y +BR2_PACKAGE_RNG_TOOLS=y +# BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY is not set +BR2_PACKAGE_SETSERIAL=y +BR2_PACKAGE_SPI_TOOLS=y +BR2_PACKAGE_USBUTILS=y +BR2_PACKAGE_LIBSYSFS=y +BR2_PACKAGE_LIBDRM=y +BR2_PACKAGE_LIBDRM_INSTALL_TESTS=y +BR2_PACKAGE_DTC=y +BR2_PACKAGE_DTC_PROGRAMS=y +BR2_PACKAGE_ARGP_STANDALONE=y +BR2_PACKAGE_BLUEZ5_UTILS=y +BR2_PACKAGE_BRIDGE_UTILS=y +BR2_PACKAGE_CAN_UTILS=y +BR2_PACKAGE_ETHTOOL=y +BR2_PACKAGE_IPERF=y +BR2_PACKAGE_IPROUTE2=y +BR2_PACKAGE_IPTABLES=y +BR2_PACKAGE_IW=y +BR2_PACKAGE_LRZSZ=y +BR2_PACKAGE_MII_DIAG=y +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_HTOP=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_AT91BOOTSTRAP3=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL=y +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,at91bootstrap,v4.0.1)/at91bootstrap-v4.0.1.tar.gz" +BR2_TARGET_AT91BOOTSTRAP3_DEFCONFIG="sama7g5eksd_uboot" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,linux4sam,u-boot-at91,linux4sam-2021.04)/u-boot-at91-linux4sam-2021.04.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sama7g5ek_mmc1" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/minnowboard_max-graphical_defconfig b/buildroot-2022.02.1/configs/minnowboard_max-graphical_defconfig similarity index 100% rename from buildroot-2021.05/configs/minnowboard_max-graphical_defconfig rename to buildroot-2022.02.1/configs/minnowboard_max-graphical_defconfig diff --git a/buildroot-2021.05/configs/minnowboard_max_defconfig b/buildroot-2022.02.1/configs/minnowboard_max_defconfig similarity index 100% rename from buildroot-2021.05/configs/minnowboard_max_defconfig rename to buildroot-2022.02.1/configs/minnowboard_max_defconfig diff --git a/buildroot-2021.05/configs/mx25pdk_defconfig b/buildroot-2022.02.1/configs/mx25pdk_defconfig similarity index 100% rename from buildroot-2021.05/configs/mx25pdk_defconfig rename to buildroot-2022.02.1/configs/mx25pdk_defconfig diff --git a/buildroot-2021.05/configs/mx51evk_defconfig b/buildroot-2022.02.1/configs/mx51evk_defconfig similarity index 100% rename from buildroot-2021.05/configs/mx51evk_defconfig rename to buildroot-2022.02.1/configs/mx51evk_defconfig diff --git a/buildroot-2021.05/configs/mx53loco_defconfig b/buildroot-2022.02.1/configs/mx53loco_defconfig similarity index 100% rename from buildroot-2021.05/configs/mx53loco_defconfig rename to buildroot-2022.02.1/configs/mx53loco_defconfig diff --git a/buildroot-2022.02.1/configs/mx6cubox_defconfig b/buildroot-2022.02.1/configs/mx6cubox_defconfig new file mode 100644 index 00000000..6ea4f6e4 --- /dev/null +++ b/buildroot-2022.02.1/configs/mx6cubox_defconfig @@ -0,0 +1,48 @@ +# Architecture +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y + +# Toolchain +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# System configuration +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_ROOTFS_OVERLAY="board/solidrun/mx6cubox/rootfs_overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-cubox-i imx6dl-cubox-i-emmc-som-v15 imx6dl-cubox-i-som-v15 imx6dl-hummingboard imx6dl-hummingboard-emmc-som-v15 imx6dl-hummingboard-som-v15 imx6q-cubox-i imx6q-cubox-i-emmc-som-v15 imx6q-cubox-i-som-v15 imx6q-hummingboard imx6q-hummingboard-emmc-som-v15 imx6q-hummingboard-som-v15" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem images +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx6cuboxi" +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2022.02.1/configs/mx6sx_udoo_neo_defconfig b/buildroot-2022.02.1/configs/mx6sx_udoo_neo_defconfig new file mode 100644 index 00000000..793d992c --- /dev/null +++ b/buildroot-2022.02.1/configs/mx6sx_udoo_neo_defconfig @@ -0,0 +1,34 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/udoo/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="udoo_neo" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-udoo-neo-basic imx6sx-udoo-neo-full imx6sx-udoo-neo-extended" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/udoo/common/boot.scr.txt" diff --git a/buildroot-2022.02.1/configs/mx6udoo_defconfig b/buildroot-2022.02.1/configs/mx6udoo_defconfig new file mode 100644 index 00000000..5092ef0f --- /dev/null +++ b/buildroot-2022.02.1/configs/mx6udoo_defconfig @@ -0,0 +1,35 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y +BR2_GLOBAL_PATCH_DIR="board/udoo/mx6qdl/patches" +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/udoo/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="udoo" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.10" +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.84" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-udoo imx6dl-udoo" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +# required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/udoo/common/boot.scr.txt" diff --git a/buildroot-2021.05/configs/nexbox_a95x_defconfig b/buildroot-2022.02.1/configs/nexbox_a95x_defconfig similarity index 100% rename from buildroot-2021.05/configs/nexbox_a95x_defconfig rename to buildroot-2022.02.1/configs/nexbox_a95x_defconfig diff --git a/buildroot-2022.02.1/configs/nezha_defconfig b/buildroot-2022.02.1/configs/nezha_defconfig new file mode 100644 index 00000000..2d66d6cb --- /dev/null +++ b/buildroot-2022.02.1/configs/nezha_defconfig @@ -0,0 +1,36 @@ +BR2_riscv=y +BR2_GLOBAL_PATCH_DIR="board/nezha/patches" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +BR2_ROOTFS_OVERLAY="board/nezha/overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/nezha/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,linux,012f5a3d01be6d44e32c74bb3637ec281790b297)/linux-012f5a3d01be6d44e32c74bb3637ec281790b297.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="nezha" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun20i-d1-nezha" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_OPENSBI=y +BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y +BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,opensbi,b9125c6f8909d1cc0417795737fc13cb6297ff11)/opensbi-b9125c6f8909d1cc0417795737fc13cb6297ff11.tar.gz" +BR2_TARGET_OPENSBI_PLAT="generic" +# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set +BR2_TARGET_SUN20I_D1_SPL=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,62392d3b8a624a80646c1876533336f90140088d)/uboot-62392d3b8a624a80646c1876533336f90140088d.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nezha" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_OPENSBI=y +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.toc1" +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/nitrogen6sx_defconfig b/buildroot-2022.02.1/configs/nitrogen6sx_defconfig new file mode 100644 index 00000000..3c2fe0cc --- /dev/null +++ b/buildroot-2022.02.1/configs/nitrogen6sx_defconfig @@ -0,0 +1,44 @@ +# architecture +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y + +# system +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_v2020.10 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/f2c92d83.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen6sx" +BR2_TARGET_UBOOT_FORMAT_IMX=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.10.x_2.0.0 +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/950d5f1b.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sx-nitrogen6sx imx6sx-nitrogen6sx-m4" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/nitrogen6x_defconfig b/buildroot-2022.02.1/configs/nitrogen6x_defconfig new file mode 100644 index 00000000..9e1d3ae1 --- /dev/null +++ b/buildroot-2022.02.1/configs/nitrogen6x_defconfig @@ -0,0 +1,43 @@ +# architecture +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y + +# system +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" +BR2_PACKAGE_HOST_GENIMAGE=y + +# filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_v2020.10 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/f2c92d83.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen6q" +BR2_TARGET_UBOOT_FORMAT_IMX=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.10.x_2.0.0 +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/950d5f1b.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-nit6xlite imx6dl-nitrogen6_vm imx6dl-nitrogen6x imx6q-nitrogen6x imx6dl-nitrogen6_som2 imx6q-nitrogen6_som2 imx6qp-nitrogen6_som2 imx6q-nitrogen6_max imx6qp-nitrogen6_max imx6q-sabrelite" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/nitrogen7_defconfig b/buildroot-2022.02.1/configs/nitrogen7_defconfig new file mode 100644 index 00000000..0dbced86 --- /dev/null +++ b/buildroot-2022.02.1/configs/nitrogen7_defconfig @@ -0,0 +1,43 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# system +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_v2020.10 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/f2c92d83.tar.gz" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen7" +BR2_TARGET_UBOOT_FORMAT_IMX=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/boundarydevices/common/boot.cmd" + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.10.x_2.0.0 +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/950d5f1b.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7d-nitrogen7 imx7d-nitrogen7-m4" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/nitrogen8m_defconfig b/buildroot-2022.02.1/configs/nitrogen8m_defconfig new file mode 100644 index 00000000..a41e5f04 --- /dev/null +++ b/buildroot-2022.02.1/configs/nitrogen8m_defconfig @@ -0,0 +1,58 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y + +# System +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mq-nitrogen8m.dtb" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# DDR training binaries +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# ARM Trusted Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.4.70_2.3.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/9f6114fd.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mq" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8m" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_v2020.10 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/f2c92d83.tar.gz" +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.10.x_2.0.0 +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/950d5f1b.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mq-nitrogen8m freescale/imx8mq-nitrogen8m-m4 freescale/imx8mq-nitrogen8m_som freescale/imx8mq-nitrogen8m_som-m4" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/nitrogen8mm_defconfig b/buildroot-2022.02.1/configs/nitrogen8mm_defconfig new file mode 100644 index 00000000..a635f801 --- /dev/null +++ b/buildroot-2022.02.1/configs/nitrogen8mm_defconfig @@ -0,0 +1,58 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y + +# System +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mm-nitrogen8mm.dtb" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# DDR training binaries +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# ARM Trusted Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.4.70_2.3.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/9f6114fd.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mm" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mm_2g" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_v2020.10 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/f2c92d83.tar.gz" +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.10.x_2.0.0 +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/950d5f1b.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mm-nitrogen8mm freescale/imx8mm-nitrogen8mm-m4 freescale/imx8mm-nitrogen8mm_rev2 freescale/imx8mm-nitrogen8mm_rev2-m4 freescale/imx8mm-nitrogen8mm_som freescale/imx8mm-nitrogen8mm_som-m4" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/nitrogen8mn_defconfig b/buildroot-2022.02.1/configs/nitrogen8mn_defconfig new file mode 100644 index 00000000..5c210144 --- /dev/null +++ b/buildroot-2022.02.1/configs/nitrogen8mn_defconfig @@ -0,0 +1,58 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y + +# System +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mn-nitrogen8_nano.dtb" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# DDR training binaries +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# ARM Trusted Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.4.70_2.3.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/9f6114fd.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mn" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8_nano_8mn1gr0" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_v2020.10 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/f2c92d83.tar.gz" +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.10.x_2.0.0 +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/950d5f1b.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mn-nitrogen8_nano freescale/imx8mn-nitrogen8mn freescale/imx8mn-nitrogen8mn_som" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/nitrogen8mp_defconfig b/buildroot-2022.02.1/configs/nitrogen8mp_defconfig new file mode 100644 index 00000000..dc7427c8 --- /dev/null +++ b/buildroot-2022.02.1/configs/nitrogen8mp_defconfig @@ -0,0 +1,58 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y + +# System +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/freescale/common/imx/imx8-bootloader-prepare.sh board/boundarydevices/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/boundarydevices/common/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="${UBOOT_DIR}/arch/arm/dts/imx8mp-nitrogen8mp.dtb" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_IMX_MKIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# DDR training binaries +BR2_PACKAGE_FREESCALE_IMX=y +BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP=y +BR2_PACKAGE_FIRMWARE_IMX=y + +# ARM Trusted Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.4.70_2.3.0 +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/imx-atf/archive/9f6114fd.tar.gz" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="imx8mp" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="nitrogen8mp_2gr0" +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_v2020.10 +BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/u-boot-imx6/archive/f2c92d83.tar.gz" +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-nodtb.bin" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +# Latest revision of branch boundary-imx_5.10.x_2.0.0 +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="https://github.com/boundarydevices/linux-imx6/archive/950d5f1b.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="boundary" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="freescale/imx8mp-nitrogen8mp freescale/imx8mp-nitrogen8mp-m4 freescale/imx8mp-nitrogen8mp-enc freescale/imx8mp-nitrogen8mp-enc-tc358743" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y diff --git a/buildroot-2021.05/configs/odroidc2_defconfig b/buildroot-2022.02.1/configs/odroidc2_defconfig similarity index 100% rename from buildroot-2021.05/configs/odroidc2_defconfig rename to buildroot-2022.02.1/configs/odroidc2_defconfig diff --git a/buildroot-2021.05/configs/odroidxu4_defconfig b/buildroot-2022.02.1/configs/odroidxu4_defconfig similarity index 100% rename from buildroot-2021.05/configs/odroidxu4_defconfig rename to buildroot-2022.02.1/configs/odroidxu4_defconfig diff --git a/buildroot-2022.02.1/configs/olimex_a10_olinuxino_lime_defconfig b/buildroot-2022.02.1/configs/olimex_a10_olinuxino_lime_defconfig new file mode 100644 index 00000000..d0e00301 --- /dev/null +++ b/buildroot-2022.02.1/configs/olimex_a10_olinuxino_lime_defconfig @@ -0,0 +1,50 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="a10-olinuxino" +BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a10_olinuxino/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a10_olinuxino/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun4i-a10-olinuxino-lime" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A10-OLinuXino-Lime" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_BIN=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a10_olinuxino/boot.cmd" + +# Additional tools +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/olimex_a13_olinuxino_defconfig b/buildroot-2022.02.1/configs/olimex_a13_olinuxino_defconfig new file mode 100644 index 00000000..6d25d7d0 --- /dev/null +++ b/buildroot-2022.02.1/configs/olimex_a13_olinuxino_defconfig @@ -0,0 +1,49 @@ +# Architecture +BR2_arm=y +BR2_cortex_a8=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="a13-olinuxino" +BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A13-OLinuXino" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_BIN=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun5i-a13-olinuxino" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a13_olinuxino/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a13_olinuxino/genimage.cfg" + +# Additional tools +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/olimex_a20_olinuxino_lime2_defconfig b/buildroot-2022.02.1/configs/olimex_a20_olinuxino_lime2_defconfig new file mode 100644 index 00000000..b46cf374 --- /dev/null +++ b/buildroot-2022.02.1/configs/olimex_a20_olinuxino_lime2_defconfig @@ -0,0 +1,60 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_EABIHF=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# Toolchain +# glibc is needed for sunxi-mali-utgard package. +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" +BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_ROOTFS_OVERLAY="board/olimex/a20_olinuxino/rootfs_overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-olinuxino-lime2" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# sunxi packages +BR2_PACKAGE_SUNXI_TOOLS=y +BR2_PACKAGE_SUNXI_MALI_UTGARD=y +BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime2" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_BIN=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# Additional tools +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/olimex_a20_olinuxino_lime_defconfig b/buildroot-2022.02.1/configs/olimex_a20_olinuxino_lime_defconfig new file mode 100644 index 00000000..698137e4 --- /dev/null +++ b/buildroot-2022.02.1/configs/olimex_a20_olinuxino_lime_defconfig @@ -0,0 +1,60 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_EABIHF=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# Toolchain +# glibc is needed for sunxi-mali-utgard package. +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" +BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_ROOTFS_OVERLAY="board/olimex/a20_olinuxino/rootfs_overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/olimex/a20_olinuxino/linux-disable-lima.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-olinuxino-lime" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# sunxi packages +BR2_PACKAGE_SUNXI_TOOLS=y +BR2_PACKAGE_SUNXI_MALI_UTGARD=y +BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino-Lime" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_BIN=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# Additional tools +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/olimex_a20_olinuxino_micro_defconfig b/buildroot-2022.02.1/configs/olimex_a20_olinuxino_micro_defconfig new file mode 100644 index 00000000..1394c0b8 --- /dev/null +++ b/buildroot-2022.02.1/configs/olimex_a20_olinuxino_micro_defconfig @@ -0,0 +1,49 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="a20-olinuxino" +BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a20_olinuxino/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a20_olinuxino/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-olinuxino-micro" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A20-OLinuXino_MICRO" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a20_olinuxino/boot.cmd" + +# Additional tools +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/olimex_a33_olinuxino_defconfig b/buildroot-2022.02.1/configs/olimex_a33_olinuxino_defconfig new file mode 100644 index 00000000..27924b9e --- /dev/null +++ b/buildroot-2022.02.1/configs/olimex_a33_olinuxino_defconfig @@ -0,0 +1,53 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="A33-olinuxino" +BR2_TARGET_GENERIC_ISSUE="Welcome to A33 OLinuXino!" +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="A33-OLinuXino" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_FORMAT_BIN=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a33_olinuxino/boot.cmd" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.13" +BR2_LINUX_KERNEL_USE_DEFCONFIG=y +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-a33-olinuxino" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/olimex/a33_olinuxino/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a33_olinuxino/genimage.cfg" + +# Additional tools +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/olimex_a64_olinuxino_defconfig b/buildroot-2022.02.1/configs/olimex_a64_olinuxino_defconfig new file mode 100644 index 00000000..53e8c2ec --- /dev/null +++ b/buildroot-2022.02.1/configs/olimex_a64_olinuxino_defconfig @@ -0,0 +1,50 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=y + +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="a64-olinuxino" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-sunxi-with-spl.bin" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/olimex/a64-olinuxino/boot.cmd" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.7" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-a64-olinuxino" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_GENERIC_ISSUE="Welcome to Olimex A64-OLinuXino" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/a64-olinuxino/genimage.cfg" diff --git a/buildroot-2021.05/configs/olimex_imx233_olinuxino_defconfig b/buildroot-2022.02.1/configs/olimex_imx233_olinuxino_defconfig similarity index 100% rename from buildroot-2021.05/configs/olimex_imx233_olinuxino_defconfig rename to buildroot-2022.02.1/configs/olimex_imx233_olinuxino_defconfig diff --git a/buildroot-2022.02.1/configs/olimex_stmp157_olinuxino_lime_defconfig b/buildroot-2022.02.1/configs/olimex_stmp157_olinuxino_lime_defconfig new file mode 100644 index 00000000..74e7f9ba --- /dev/null +++ b/buildroot-2022.02.1/configs/olimex_stmp157_olinuxino_lime_defconfig @@ -0,0 +1,47 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +# System configuration +BR2_TARGET_GENERIC_HOSTNAME="stmp1-olinuxino" +BR2_TARGET_GENERIC_ISSUE="Welcome to OLinuXino!" +BR2_ROOTFS_OVERLAY="board/olimex/stmp1_olinuxino/rootfs_overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/olimex/stmp1_olinuxino/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/OLIMEX/linux-olimex.git" +# branch release-20210821-v5.10.60 +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="081be4c4c634cf9345b8bf59fe141a0236383ae4" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/olimex/stmp1_olinuxino/linux.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp1xx-olinuxino-lime" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloaders +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/OLIMEX/u-boot-olinuxino.git" +# release-20211130, based on 2021.04 +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="1c29714bc643c299e2ed4ba870be8d4538124144" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="STM32-OLinuXino-LIME" +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_FORMAT_STM32=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.stm32" + +# Additional tools +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2021.05/configs/olpc_xo175_defconfig b/buildroot-2022.02.1/configs/olpc_xo175_defconfig similarity index 100% rename from buildroot-2021.05/configs/olpc_xo175_defconfig rename to buildroot-2022.02.1/configs/olpc_xo175_defconfig diff --git a/buildroot-2021.05/configs/olpc_xo1_defconfig b/buildroot-2022.02.1/configs/olpc_xo1_defconfig similarity index 100% rename from buildroot-2021.05/configs/olpc_xo1_defconfig rename to buildroot-2022.02.1/configs/olpc_xo1_defconfig diff --git a/buildroot-2022.02.1/configs/openblocks_a6_defconfig b/buildroot-2022.02.1/configs/openblocks_a6_defconfig new file mode 100644 index 00000000..2238c094 --- /dev/null +++ b/buildroot-2022.02.1/configs/openblocks_a6_defconfig @@ -0,0 +1,24 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# system +BR2_TARGET_GENERIC_HOSTNAME="openblocks-a6" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" + +# filesystem +BR2_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_16K=y + +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y + +# kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.253" +BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="kirkwood-openblocks_a6" diff --git a/buildroot-2021.05/configs/orangepi_lite2_defconfig b/buildroot-2022.02.1/configs/orangepi_lite2_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_lite2_defconfig rename to buildroot-2022.02.1/configs/orangepi_lite2_defconfig diff --git a/buildroot-2022.02.1/configs/orangepi_lite_defconfig b/buildroot-2022.02.1/configs/orangepi_lite_defconfig new file mode 100644 index 00000000..e8348164 --- /dev/null +++ b/buildroot-2022.02.1/configs/orangepi_lite_defconfig @@ -0,0 +1,39 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_VFPV4=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Lite" +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Lite" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.1" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-lite/linux-extras.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-lite" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_PACKAGE_RTL8189FS=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_lite" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-lite/boot.cmd" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-lite/genimage.cfg" diff --git a/buildroot-2022.02.1/configs/orangepi_one_defconfig b/buildroot-2022.02.1/configs/orangepi_one_defconfig new file mode 100644 index 00000000..1a2772a3 --- /dev/null +++ b/buildroot-2022.02.1/configs/orangepi_one_defconfig @@ -0,0 +1,35 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_VFPV4=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y +BR2_TARGET_GENERIC_HOSTNAME="OrangePi_One" +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi One" +BR2_SYSTEM_DHCP="eth0" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-one" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_one" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-one/boot.cmd" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-one/genimage.cfg" diff --git a/buildroot-2021.05/configs/orangepi_one_plus_defconfig b/buildroot-2022.02.1/configs/orangepi_one_plus_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_one_plus_defconfig rename to buildroot-2022.02.1/configs/orangepi_one_plus_defconfig diff --git a/buildroot-2021.05/configs/orangepi_pc2_defconfig b/buildroot-2022.02.1/configs/orangepi_pc2_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_pc2_defconfig rename to buildroot-2022.02.1/configs/orangepi_pc2_defconfig diff --git a/buildroot-2021.05/configs/orangepi_pc_defconfig b/buildroot-2022.02.1/configs/orangepi_pc_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_pc_defconfig rename to buildroot-2022.02.1/configs/orangepi_pc_defconfig diff --git a/buildroot-2022.02.1/configs/orangepi_pc_plus_defconfig b/buildroot-2022.02.1/configs/orangepi_pc_plus_defconfig new file mode 100644 index 00000000..c3ff8bc4 --- /dev/null +++ b/buildroot-2022.02.1/configs/orangepi_pc_plus_defconfig @@ -0,0 +1,50 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_VFPV4=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y +BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC_Plus" +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC Plus" +BR2_SYSTEM_DHCP="eth0" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h3-orangepi-pc-plus" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-pc-plus/linux-extras.config" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_pc_plus" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-pc-plus/boot.cmd" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-pc-plus/genimage.cfg" + +# wireless driver and firmware +BR2_PACKAGE_RTL8189FS=y +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y + +# wireless tools +BR2_PACKAGE_IW=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WIRELESS_TOOLS_LIB=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y diff --git a/buildroot-2021.05/configs/orangepi_plus_defconfig b/buildroot-2022.02.1/configs/orangepi_plus_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_plus_defconfig rename to buildroot-2022.02.1/configs/orangepi_plus_defconfig diff --git a/buildroot-2021.05/configs/orangepi_prime_defconfig b/buildroot-2022.02.1/configs/orangepi_prime_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_prime_defconfig rename to buildroot-2022.02.1/configs/orangepi_prime_defconfig diff --git a/buildroot-2021.05/configs/orangepi_r1_defconfig b/buildroot-2022.02.1/configs/orangepi_r1_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_r1_defconfig rename to buildroot-2022.02.1/configs/orangepi_r1_defconfig diff --git a/buildroot-2021.05/configs/orangepi_rk3399_defconfig b/buildroot-2022.02.1/configs/orangepi_rk3399_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_rk3399_defconfig rename to buildroot-2022.02.1/configs/orangepi_rk3399_defconfig diff --git a/buildroot-2021.05/configs/orangepi_win_defconfig b/buildroot-2022.02.1/configs/orangepi_win_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_win_defconfig rename to buildroot-2022.02.1/configs/orangepi_win_defconfig diff --git a/buildroot-2022.02.1/configs/orangepi_zero_defconfig b/buildroot-2022.02.1/configs/orangepi_zero_defconfig new file mode 100644 index 00000000..464e075e --- /dev/null +++ b/buildroot-2022.02.1/configs/orangepi_zero_defconfig @@ -0,0 +1,64 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_VFPV4=y + +# System +BR2_TARGET_GENERIC_HOSTNAME="OrangePi_Zero" +BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi Zero" +BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-zero/patches" +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_SYSTEM_DHCP="eth0" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.16" +BR2_LINUX_KERNEL_DEFCONFIG="sunxi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun8i-h2-plus-orangepi-zero" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero/linux-extras.fragment" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_GENIMAGE=y + +# Image +BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg" + +# Wireless driver and firmware +BR2_PACKAGE_XR819_XRADIO=y +BR2_PACKAGE_ARMBIAN_FIRMWARE=y +BR2_PACKAGE_ARMBIAN_FIRMWARE_XR819=y + +# Wireless support +BR2_PACKAGE_IW=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WIRELESS_TOOLS_LIB=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y + +# Spi flash support +BR2_PACKAGE_MTD=y diff --git a/buildroot-2022.02.1/configs/orangepi_zero_plus2_defconfig b/buildroot-2022.02.1/configs/orangepi_zero_plus2_defconfig new file mode 100644 index 00000000..9d88b37a --- /dev/null +++ b/buildroot-2022.02.1/configs/orangepi_zero_plus2_defconfig @@ -0,0 +1,65 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=y + +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y +BR2_ROOTFS_OVERLAY="board/orangepi/orangepi-zero-plus2/rootfs_overlay" + +# Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_zero_plus2" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="board/orangepi/orangepi-zero-plus2/boot.cmd" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.1" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-zero-plus2" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/orangepi/orangepi-zero-plus2/linux-extras.config" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# wireless firmware +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y + +# wireless tools +BR2_PACKAGE_IW=y +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WIRELESS_TOOLS_LIB=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y + +# Filesystem +BR2_TARGET_GENERIC_ISSUE="Welcome to Orangepi Zero Plus2" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/orangepi/orangepi-zero-plus2/genimage.cfg" diff --git a/buildroot-2021.05/configs/orangepi_zero_plus_defconfig b/buildroot-2022.02.1/configs/orangepi_zero_plus_defconfig similarity index 100% rename from buildroot-2021.05/configs/orangepi_zero_plus_defconfig rename to buildroot-2022.02.1/configs/orangepi_zero_plus_defconfig diff --git a/buildroot-2021.05/configs/pandaboard_defconfig b/buildroot-2022.02.1/configs/pandaboard_defconfig similarity index 100% rename from buildroot-2021.05/configs/pandaboard_defconfig rename to buildroot-2022.02.1/configs/pandaboard_defconfig diff --git a/buildroot-2022.02.1/configs/pc_x86_64_bios_defconfig b/buildroot-2022.02.1/configs/pc_x86_64_bios_defconfig new file mode 100644 index 00000000..df5988d7 --- /dev/null +++ b/buildroot-2022.02.1/configs/pc_x86_64_bios_defconfig @@ -0,0 +1,66 @@ +# Architecture +BR2_x86_64=y + +# Toolchain, required for eudev (to autoload drivers) +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="tty1" +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y + +# Required tools to create bootable media +BR2_PACKAGE_HOST_GENIMAGE=y + +# Bootloader +BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_INSTALL_TOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pc/genimage-bios.cfg" + +# Linux headers same as kernel, a 4.19 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Firmware +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y +BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y +BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y +BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y + +# Packages +# +# Use connman so that networking setup is simpler, via connmanctl tool +# acpid is for seamless power button support +BR2_PACKAGE_ACPID=y +BR2_PACKAGE_CONNMAN=y +BR2_PACKAGE_CONNMAN_CLIENT=y +BR2_PACKAGE_CONNMAN_WIFI=y diff --git a/buildroot-2022.02.1/configs/pc_x86_64_efi_defconfig b/buildroot-2022.02.1/configs/pc_x86_64_efi_defconfig new file mode 100644 index 00000000..18d2c477 --- /dev/null +++ b/buildroot-2022.02.1/configs/pc_x86_64_efi_defconfig @@ -0,0 +1,67 @@ +# Architecture +BR2_x86_64=y + +# Toolchain, required for eudev (to autoload drivers) +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="tty1" +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y + +# Required tools to create bootable media +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Bootloader +BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_X86_64_EFI=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image-efi.sh" + +# Linux headers same as kernel, a 4.19 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Firmware +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y +BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y +BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y +BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y +BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y +BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y + +# Packages +# +# Use connman so that networking setup is simpler, via connmanctl tool +# acpid is for seamless power button support +BR2_PACKAGE_ACPID=y +BR2_PACKAGE_CONNMAN=y +BR2_PACKAGE_CONNMAN_CLIENT=y +BR2_PACKAGE_CONNMAN_WIFI=y diff --git a/buildroot-2022.02.1/configs/pcengines_apu2_defconfig b/buildroot-2022.02.1/configs/pcengines_apu2_defconfig new file mode 100644 index 00000000..a8580855 --- /dev/null +++ b/buildroot-2022.02.1/configs/pcengines_apu2_defconfig @@ -0,0 +1,28 @@ +# Architecture +BR2_x86_64=y + +# Kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pcengines/apu2/linux.config" +BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y + +# Default hostname and TTY +BR2_TARGET_GENERIC_HOSTNAME="apu2" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Networking +BR2_SYSTEM_DHCP="eth0" + +# Rootfs +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_ISO9660=y +BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="board/pcengines/apu2/isolinux.cfg" +BR2_TARGET_ROOTFS_ISO9660_HYBRID=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloader +BR2_TARGET_SYSLINUX=y diff --git a/buildroot-2021.05/configs/pine64_defconfig b/buildroot-2022.02.1/configs/pine64_defconfig similarity index 100% rename from buildroot-2021.05/configs/pine64_defconfig rename to buildroot-2022.02.1/configs/pine64_defconfig diff --git a/buildroot-2021.05/configs/pine64_sopine_defconfig b/buildroot-2022.02.1/configs/pine64_sopine_defconfig similarity index 100% rename from buildroot-2021.05/configs/pine64_sopine_defconfig rename to buildroot-2022.02.1/configs/pine64_sopine_defconfig diff --git a/buildroot-2022.02.1/configs/qemu_aarch64_sbsa_defconfig b/buildroot-2022.02.1/configs/qemu_aarch64_sbsa_defconfig new file mode 100644 index 00000000..2d6134e7 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_aarch64_sbsa_defconfig @@ -0,0 +1,53 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a57=y + +# Toolchain +BR2_TOOLCHAIN_BUILDROOT_WCHAR=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_EXT2_SIZE="128M" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh board/qemu/aarch64-sbsa/assemble-flash-images support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG) -c board/qemu/aarch64-sbsa/genimage.cfg" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# UEFI firmware +BR2_TARGET_EDK2=y +BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA=y +BR2_TARGET_GRUB2=y +BR2_TARGET_GRUB2_ARM64_EFI=y + +# ARM Trusted Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu_sbsa" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y + +# Host tools for genimage +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_MTOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_aarch64_virt_defconfig b/buildroot-2022.02.1/configs/qemu_aarch64_virt_defconfig new file mode 100644 index 00000000..03df0ad9 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_aarch64_virt_defconfig @@ -0,0 +1,30 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a53=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_arm_versatile_defconfig b/buildroot-2022.02.1/configs/qemu_arm_versatile_defconfig new file mode 100644 index 00000000..4f43273a --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_arm_versatile_defconfig @@ -0,0 +1,31 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="versatile" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-versatile/linux.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="versatile-pb" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_arm_versatile_nommu_defconfig b/buildroot-2022.02.1/configs/qemu_arm_versatile_nommu_defconfig new file mode 100644 index 00000000..0c49d1b6 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_arm_versatile_nommu_defconfig @@ -0,0 +1,42 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# Toolchain +BR2_PACKAGE_HOST_ELF2FLT=y +# BR2_USE_MMU is not set + +# Patches +BR2_GLOBAL_PATCH_DIR="board/qemu/arm-versatile/patches" + +# Busybox with hush +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# Filesystem +# BR2_TARGET_ROOTFS_EXT2 is not set +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="versatile" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-versatile/linux-nommu.fragment" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="versatile-pb" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_arm_vexpress_defconfig b/buildroot-2022.02.1/configs/qemu_arm_vexpress_defconfig new file mode 100644 index 00000000..2c813456 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_arm_vexpress_defconfig @@ -0,0 +1,35 @@ +# Architecture +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3D16=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" +# Qemu >= 5.1 requires an SD card size to be a power of 2, e.g. 64 MiB. +BR2_TARGET_ROOTFS_EXT2_SIZE="64M" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="vexpress" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_arm_vexpress_tz_defconfig b/buildroot-2022.02.1/configs/qemu_arm_vexpress_tz_defconfig new file mode 100644 index 00000000..def11721 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_arm_vexpress_tz_defconfig @@ -0,0 +1,64 @@ +# Architecture +BR2_arm=y +BR2_cortex_a15=y +BR2_ARM_FPU_VFPV3D16=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/arm-vexpress-tz/post-build.sh" + +# optee-test needs toolchain C++ +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +# Filesystem +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="vexpress" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/linux.fragment" + +# TF-A for booting OP-TEE secure and uboot/linux non secure +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.4" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL32_OPTEE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="BL32_RAM_LOCATION=tdram" + +# OP-TEE components +BR2_TARGET_OPTEE_OS=y +BR2_TARGET_OPTEE_OS_PLATFORM="vexpress-qemu_virt" +BR2_PACKAGE_OPTEE_BENCHMARK=y +BR2_PACKAGE_OPTEE_EXAMPLES=y +BR2_PACKAGE_OPTEE_TEST=y + +# Enable OpenSSL library for some optee-test tests +BR2_PACKAGE_OPENSSL=y +BR2_PACKAGE_LIBOPENSSL=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# U-boot for booting the dear Linux kernel +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="qemu_arm" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/qemu/arm-vexpress-tz/u-boot.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_m68k_mcf5208_defconfig b/buildroot-2022.02.1/configs/qemu_m68k_mcf5208_defconfig new file mode 100644 index 00000000..0490b9e2 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_m68k_mcf5208_defconfig @@ -0,0 +1,36 @@ +# Architecture +BR2_m68k=y +BR2_m68k_cf5208=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_INITRAMFS=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/m68k-mcf5208/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# use minimal busybox with hush and networking tools +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_m68k_q800_defconfig b/buildroot-2022.02.1/configs/qemu_m68k_q800_defconfig new file mode 100644 index 00000000..30d8982d --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_m68k_q800_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_m68k=y +BR2_m68k_68040=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/m68k-q800/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_microblazebe_mmu_defconfig b/buildroot-2022.02.1/configs/qemu_microblazebe_mmu_defconfig new file mode 100644 index 00000000..7bd2ae53 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_microblazebe_mmu_defconfig @@ -0,0 +1,31 @@ +# Architecture +BR2_microblaze=y +BR2_microblazebe=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0" + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazebe-mmu/linux.config" +BR2_LINUX_KERNEL_LINUX_BIN=y +BR2_LINUX_KERNEL_PATCH="board/qemu/microblazebe-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_microblazeel_mmu_defconfig b/buildroot-2022.02.1/configs/qemu_microblazeel_mmu_defconfig new file mode 100644 index 00000000..cd8c5a3c --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_microblazeel_mmu_defconfig @@ -0,0 +1,31 @@ +# Architecture +BR2_microblaze=y +BR2_microblazeel=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyUL0" + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/microblazeel-mmu/linux.config" +BR2_LINUX_KERNEL_LINUX_BIN=y +BR2_LINUX_KERNEL_PATCH="board/qemu/microblazeel-mmu/0001-net-xilinx-xemaclite-add-2.00.b-revision.patch" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_mips32r2_malta_defconfig b/buildroot-2022.02.1/configs/qemu_mips32r2_malta_defconfig new file mode 100644 index 00000000..49d84c30 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_mips32r2_malta_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_mips=y +BR2_mips_32r2=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r2-malta/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_mips32r2el_malta_defconfig b/buildroot-2022.02.1/configs/qemu_mips32r2el_malta_defconfig new file mode 100644 index 00000000..5363018c --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_mips32r2el_malta_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_mipsel=y +BR2_mips_32r2=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r2el-malta/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_mips32r6_malta_defconfig b/buildroot-2022.02.1/configs/qemu_mips32r6_malta_defconfig new file mode 100644 index 00000000..f77feb9b --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_mips32r6_malta_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_mips=y +BR2_mips_32r6=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r6-malta/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_mips32r6el_malta_defconfig b/buildroot-2022.02.1/configs/qemu_mips32r6el_malta_defconfig new file mode 100644 index 00000000..57503444 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_mips32r6el_malta_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_mipsel=y +BR2_mips_32r6=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips32r6el-malta/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_mips64_malta_defconfig b/buildroot-2022.02.1/configs/qemu_mips64_malta_defconfig new file mode 100644 index 00000000..e9438fda --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_mips64_malta_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_mips64=y +BR2_MIPS_NABI64=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64-malta/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_mips64el_malta_defconfig b/buildroot-2022.02.1/configs/qemu_mips64el_malta_defconfig new file mode 100644 index 00000000..4b1c8e22 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_mips64el_malta_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_mips64el=y +BR2_MIPS_NABI64=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64el-malta/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_mips64r6_malta_defconfig b/buildroot-2022.02.1/configs/qemu_mips64r6_malta_defconfig new file mode 100644 index 00000000..87ef7902 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_mips64r6_malta_defconfig @@ -0,0 +1,34 @@ +# Architecture +BR2_mips64=y +BR2_mips_64r6=y +BR2_MIPS_NABI64=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6-malta/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_mips64r6el_malta_defconfig b/buildroot-2022.02.1/configs/qemu_mips64r6el_malta_defconfig new file mode 100644 index 00000000..5774207f --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_mips64r6el_malta_defconfig @@ -0,0 +1,34 @@ +# Architecture +BR2_mips64el=y +BR2_mips_64r6=y +BR2_MIPS_NABI64=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/mips64r6el-malta/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_nios2_10m50_defconfig b/buildroot-2022.02.1/configs/qemu_nios2_10m50_defconfig new file mode 100644 index 00000000..4b9c53e8 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_nios2_10m50_defconfig @@ -0,0 +1,21 @@ +BR2_nios2=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="10m50" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/nios2-10m50/linux.fragment" +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel needs mkimage +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_or1k_defconfig b/buildroot-2022.02.1/configs/qemu_or1k_defconfig new file mode 100644 index 00000000..b3d9d791 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_or1k_defconfig @@ -0,0 +1,24 @@ +# Architecture +BR2_or1k=y + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/or1k/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc64_e5500_defconfig b/buildroot-2022.02.1/configs/qemu_ppc64_e5500_defconfig new file mode 100644 index 00000000..072240c9 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc64_e5500_defconfig @@ -0,0 +1,30 @@ +# Architecture +BR2_powerpc64=y +BR2_powerpc_e5500=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as the kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="corenet64_smp" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc64-e5500/linux.fragment" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc64_pseries_defconfig b/buildroot-2022.02.1/configs/qemu_ppc64_pseries_defconfig new file mode 100644 index 00000000..ad523ec2 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc64_pseries_defconfig @@ -0,0 +1,29 @@ +# Architecture +BR2_powerpc64=y +BR2_powerpc_power7=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="hvc0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="pseries" +BR2_LINUX_KERNEL_VMLINUX=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc64le_powernv8_defconfig b/buildroot-2022.02.1/configs/qemu_ppc64le_powernv8_defconfig new file mode 100644 index 00000000..a784695d --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc64le_powernv8_defconfig @@ -0,0 +1,29 @@ +# Architecture +BR2_powerpc64le=y +BR2_powerpc_power8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="hvc0" +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="powernv" +BR2_LINUX_KERNEL_VMLINUX=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc64le_pseries_defconfig b/buildroot-2022.02.1/configs/qemu_ppc64le_pseries_defconfig new file mode 100644 index 00000000..f10b0fdf --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc64le_pseries_defconfig @@ -0,0 +1,29 @@ +# Architecture +BR2_powerpc64le=y +BR2_powerpc_power8=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="hvc0" +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="pseries_le" +BR2_LINUX_KERNEL_VMLINUX=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc_bamboo_defconfig b/buildroot-2022.02.1/configs/qemu_ppc_bamboo_defconfig new file mode 100644 index 00000000..6129c4a6 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc_bamboo_defconfig @@ -0,0 +1,36 @@ +# Architecture +BR2_powerpc=y +BR2_powerpc_440fp=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="44x/bamboo" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-bamboo/linux.fragment" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Kernel needs mkimage +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc_e500mc_defconfig b/buildroot-2022.02.1/configs/qemu_ppc_e500mc_defconfig new file mode 100644 index 00000000..1853e538 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc_e500mc_defconfig @@ -0,0 +1,30 @@ +# Architecture +BR2_powerpc=y +BR2_powerpc_e500mc=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as the kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="corenet32_smp" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-e500mc/linux.fragment" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc_g3beige_defconfig b/buildroot-2022.02.1/configs/qemu_ppc_g3beige_defconfig new file mode 100644 index 00000000..9bbebede --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc_g3beige_defconfig @@ -0,0 +1,33 @@ +# Architecture +BR2_powerpc=y +BR2_powerpc_750=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/ppc-g3beige/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc_mac99_defconfig b/buildroot-2022.02.1/configs/qemu_ppc_mac99_defconfig new file mode 100644 index 00000000..e9629ff2 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc_mac99_defconfig @@ -0,0 +1,34 @@ +# Architecture +BR2_powerpc=y +BR2_powerpc_7400=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="pmac32" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-mac99/linux.fragment" +BR2_LINUX_KERNEL_VMLINUX=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Filesystem +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_ppc_mpc8544ds_defconfig b/buildroot-2022.02.1/configs/qemu_ppc_mpc8544ds_defconfig new file mode 100644 index 00000000..2b51573d --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_ppc_mpc8544ds_defconfig @@ -0,0 +1,37 @@ +# Architecture +BR2_powerpc=y +BR2_powerpc_8548=y + +# System +BR2_GLOBAL_PATCH_DIR="board/qemu/ppc-mpc8544ds/patches" +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/ppc-mpc8544ds/linux.config" +BR2_LINUX_KERNEL_VMLINUX=y + +# Serial port config +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Kernel needs mkimage +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_riscv32_virt_defconfig b/buildroot-2022.02.1/configs/qemu_riscv32_virt_defconfig new file mode 100644 index 00000000..dff87ef3 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_riscv32_virt_defconfig @@ -0,0 +1,32 @@ +# Architecture +BR2_riscv=y +BR2_RISCV_32=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_DEFCONFIG="rv32" +BR2_LINUX_KERNEL_IMAGE=y + +# Bootloader +BR2_TARGET_OPENSBI=y +BR2_TARGET_OPENSBI_PLAT="generic" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_riscv64_virt_defconfig b/buildroot-2022.02.1/configs/qemu_riscv64_virt_defconfig new file mode 100644 index 00000000..d67d0701 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_riscv64_virt_defconfig @@ -0,0 +1,32 @@ +# Architecture +BR2_riscv=y +BR2_RISCV_64=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_IMAGE=y + +# Bootloader +BR2_TARGET_OPENSBI=y +BR2_TARGET_OPENSBI_PLAT="generic" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_s390x_defconfig b/buildroot-2022.02.1/configs/qemu_s390x_defconfig new file mode 100644 index 00000000..346df04a --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_s390x_defconfig @@ -0,0 +1,26 @@ +# Architecture +BR2_s390x=y + +# System +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_sh4_r2d_defconfig b/buildroot-2022.02.1/configs/qemu_sh4_r2d_defconfig new file mode 100644 index 00000000..0f12b7df --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_sh4_r2d_defconfig @@ -0,0 +1,30 @@ +# Architecture +BR2_sh=y +BR2_sh4=y + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttySC1" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Linux kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4-r2d/linux.config" +BR2_LINUX_KERNEL_ZIMAGE=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_sh4eb_r2d_defconfig b/buildroot-2022.02.1/configs/qemu_sh4eb_r2d_defconfig new file mode 100644 index 00000000..d5ee371e --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_sh4eb_r2d_defconfig @@ -0,0 +1,29 @@ +# Architecture +BR2_sh=y +BR2_sh4eb=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttySC1" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Linux kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sh4eb-r2d/linux.config" +BR2_LINUX_KERNEL_ZIMAGE=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_sparc64_sun4u_defconfig b/buildroot-2022.02.1/configs/qemu_sparc64_sun4u_defconfig new file mode 100644 index 00000000..485b497e --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_sparc64_sun4u_defconfig @@ -0,0 +1,28 @@ +# Architecture +BR2_sparc64=y +BR2_sparc_v9=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Linux kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc64-sun4u/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_sparc_ss10_defconfig b/buildroot-2022.02.1/configs/qemu_sparc_ss10_defconfig new file mode 100644 index 00000000..2ba04c08 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_sparc_ss10_defconfig @@ -0,0 +1,28 @@ +# Architecture +BR2_sparc=y +BR2_sparc_v8=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Linux kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/sparc-ss10/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_x86_64_defconfig b/buildroot-2022.02.1/configs/qemu_x86_64_defconfig new file mode 100644 index 00000000..cc505a85 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_x86_64_defconfig @@ -0,0 +1,31 @@ +# Architecture +BR2_x86_64=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/x86_64/post-build.sh" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" +BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_x86_defconfig b/buildroot-2022.02.1/configs/qemu_x86_defconfig new file mode 100644 index 00000000..34b7e2d2 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_x86_defconfig @@ -0,0 +1,31 @@ +# Architecture +BR2_i386=y +BR2_x86_pentiumpro=y + +# System +BR2_SYSTEM_DHCP="eth0" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Image +BR2_ROOTFS_POST_BUILD_SCRIPT="board/qemu/x86/post-build.sh" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux.config" + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_xtensa_lx60_defconfig b/buildroot-2022.02.1/configs/qemu_xtensa_lx60_defconfig new file mode 100644 index 00000000..cb781060 --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_xtensa_lx60_defconfig @@ -0,0 +1,36 @@ +# Architecture +BR2_xtensa=y +BR2_XTENSA_CUSTOM=y +BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/95291b7c39e6f790d0b2f062c945a630290f2c81/overlays/xtensa_dc233c.tar.gz" + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux.config" +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y +BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf" +BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" + +# Kernel needs mkimage +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/qemu_xtensa_lx60_nommu_defconfig b/buildroot-2022.02.1/configs/qemu_xtensa_lx60_nommu_defconfig new file mode 100644 index 00000000..44fb81bd --- /dev/null +++ b/buildroot-2022.02.1/configs/qemu_xtensa_lx60_nommu_defconfig @@ -0,0 +1,43 @@ +# Architecture +BR2_xtensa=y +BR2_XTENSA_CUSTOM=y +BR2_XTENSA_OVERLAY_FILE="https://github.com/jcmvbkbc/xtensa-toolchain-build/raw/95291b7c39e6f790d0b2f062c945a630290f2c81/overlays/xtensa_dc233c.tar.gz" + +# Toolchain +BR2_PACKAGE_HOST_ELF2FLT=y +# BR2_USE_MMU is not set + +# Use minimal busybox with hush and networking tools +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" + +# System +BR2_SYSTEM_DHCP="eth0" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + +# Filesystem +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)" + +# Linux headers same as kernel +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.18" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/xtensa-lx60/linux-nommu.config" +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y +BR2_LINUX_KERNEL_IMAGE_NAME="Image.elf" +BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="Image" + +# Kernel needs mkimage +BR2_PACKAGE_HOST_UBOOT_TOOLS=y + +# host-qemu for gitlab testing +BR2_PACKAGE_HOST_QEMU=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y diff --git a/buildroot-2022.02.1/configs/raspberrypi0_defconfig b/buildroot-2022.02.1/configs/raspberrypi0_defconfig new file mode 100644 index 00000000..4506e94b --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi0_defconfig @@ -0,0 +1,39 @@ +BR2_arm=y +BR2_arm1176jzf_s=y +BR2_ARM_EABIHF=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" + +# Build the DTBs for A/B from the kernel sources: the zero is the same +# as the A+ model, just in a different form-factor +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi0/config_default.txt" +# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypi0w_defconfig b/buildroot-2022.02.1/configs/raspberrypi0w_defconfig new file mode 100644 index 00000000..7a35794c --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi0w_defconfig @@ -0,0 +1,34 @@ +BR2_arm=y +BR2_arm1176jzf_s=y +BR2_ARM_EABIHF=y + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-zero-w" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi0w/config_0w.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi0w/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi0w/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypi2_defconfig b/buildroot-2022.02.1/configs/raspberrypi2_defconfig new file mode 100644 index 00000000..9b484c55 --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi2_defconfig @@ -0,0 +1,41 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_EABIHF=y +BR2_ARM_FPU_NEON_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2709-rpi-2-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi/config_default.txt" +# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi2/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi2/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypi3_64_defconfig b/buildroot-2022.02.1/configs/raspberrypi3_64_defconfig new file mode 100644 index 00000000..4d838ae0 --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi3_64_defconfig @@ -0,0 +1,39 @@ +BR2_aarch64=y +BR2_cortex_a53=y +BR2_ARM_FPU_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-3-b broadcom/bcm2710-rpi-3-b-plus broadcom/bcm2837-rpi-3-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi3-64/config_3_64bit.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3-64/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3-64/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypi3_defconfig b/buildroot-2022.02.1/configs/raspberrypi3_defconfig new file mode 100644 index 00000000..0a59ab42 --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi3_defconfig @@ -0,0 +1,39 @@ +BR2_arm=y +BR2_cortex_a53=y +BR2_ARM_FPU_NEON_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi3/config_3.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypi3_qt5we_defconfig b/buildroot-2022.02.1/configs/raspberrypi3_qt5we_defconfig new file mode 100644 index 00000000..40d0c0f8 --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi3_qt5we_defconfig @@ -0,0 +1,53 @@ +BR2_arm=y +BR2_cortex_a53=y +BR2_ARM_FPU_NEON_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-3-b bcm2710-rpi-3-b-plus bcm2710-rpi-cm3" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Build Qt5 WebEngine +BR2_PACKAGE_LIBERATION=y +BR2_PACKAGE_QT5=y +BR2_PACKAGE_QT5BASE_EXAMPLES=y +BR2_PACKAGE_QT5BASE_GIF=y +BR2_PACKAGE_QT5BASE_JPEG=y +BR2_PACKAGE_QT5BASE_PNG=y +BR2_PACKAGE_QT5WEBENGINE=y +BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS=y +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi3/config_3_qt5we.txt" +BR2_PACKAGE_RPI_USERLAND=y +BR2_PACKAGE_CA_CERTIFICATES=y +BR2_PACKAGE_NTP=y + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="400M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi3/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi3/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypi4_64_defconfig b/buildroot-2022.02.1/configs/raspberrypi4_64_defconfig new file mode 100644 index 00000000..5942f7c4 --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi4_64_defconfig @@ -0,0 +1,38 @@ +BR2_aarch64=y +BR2_cortex_a72=y +BR2_ARM_FPU_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-4-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi4-64/config_4_64bit.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypi4_defconfig b/buildroot-2022.02.1/configs/raspberrypi4_defconfig new file mode 100644 index 00000000..4e5580c1 --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi4_defconfig @@ -0,0 +1,38 @@ +BR2_arm=y +BR2_cortex_a72=y +BR2_ARM_FPU_NEON_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2711-rpi-4-b" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi4/config_4.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypi_defconfig b/buildroot-2022.02.1/configs/raspberrypi_defconfig new file mode 100644 index 00000000..cca53f9b --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypi_defconfig @@ -0,0 +1,40 @@ +BR2_arm=y +BR2_arm1176jzf_s=y +BR2_ARM_EABIHF=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi" + +# Build the DTBs for A/B, A+/B+ and compute module from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2708-rpi-b bcm2708-rpi-b-plus bcm2708-rpi-cm" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi/config_default.txt" +# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypicm4io_64_defconfig b/buildroot-2022.02.1/configs/raspberrypicm4io_64_defconfig new file mode 100644 index 00000000..29cb0472 --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypicm4io_64_defconfig @@ -0,0 +1,41 @@ +BR2_aarch64=y +BR2_cortex_a72=y +BR2_ARM_FPU_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2711-rpi-cm4" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypicm4io-64/config_cm4io_64bit.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Required tool to flash CM4 eMMC memory +BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io-64/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io-64/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypicm4io_defconfig b/buildroot-2022.02.1/configs/raspberrypicm4io_defconfig new file mode 100644 index 00000000..017aecc0 --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypicm4io_defconfig @@ -0,0 +1,41 @@ +BR2_arm=y +BR2_cortex_a72=y +BR2_ARM_FPU_NEON_VFPV4=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_SYSTEM_DHCP="eth0" + +# Linux headers same as kernel, a 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2711" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2711-rpi-cm4" + +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypicm4io-64/config_cm4io.txt" + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Required tool to flash CM4 eMMC memory +BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypicm4io/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypicm4io/post-image.sh" diff --git a/buildroot-2022.02.1/configs/raspberrypizero2w_defconfig b/buildroot-2022.02.1/configs/raspberrypizero2w_defconfig new file mode 100644 index 00000000..2ea503ca --- /dev/null +++ b/buildroot-2022.02.1/configs/raspberrypizero2w_defconfig @@ -0,0 +1,36 @@ +BR2_arm=y +BR2_cortex_a53=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, 5.10 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y + +BR2_TOOLCHAIN_BUILDROOT_CXX=y + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,0b54dbda3cca2beb51e236a25738784e90853b64)/linux-0b54dbda3cca2beb51e236a25738784e90853b64.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="bcm2709" + +# Build the DTB from the kernel sources +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="bcm2710-rpi-zero-2-w" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +BR2_PACKAGE_RPI_FIRMWARE=y +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypizero2w/config_zero2w.txt" + +# MicroSD images generation tools +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypizero2w/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypizero2w/post-image.sh" diff --git a/buildroot-2021.05/configs/riotboard_defconfig b/buildroot-2022.02.1/configs/riotboard_defconfig similarity index 100% rename from buildroot-2021.05/configs/riotboard_defconfig rename to buildroot-2022.02.1/configs/riotboard_defconfig diff --git a/buildroot-2022.02.1/configs/roc_pc_rk3399_defconfig b/buildroot-2022.02.1/configs/roc_pc_rk3399_defconfig new file mode 100644 index 00000000..ae7cf19a --- /dev/null +++ b/buildroot-2022.02.1/configs/roc_pc_rk3399_defconfig @@ -0,0 +1,55 @@ +# Architecture +BR2_aarch64=y +BR2_cortex_a72_a53=y + +# Linux headers same as kernel, a 5.4 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4=y + +# Firmware +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="11a0a46a899fcc3b1fdb214b382f3d7495d88eca" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3399" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="" + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="roc-pc-rk3399" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="idbloader.img" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.4.18" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-roc-pc" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_GENERIC_HOSTNAME="roc-rk3399-pc" +BR2_TARGET_GENERIC_ISSUE="Welcome to ROC-RK3399-PC!" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/firefly/roc-rk3399-pc/genimage.cfg" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/firefly/roc-rk3399-pc/post-build.sh" diff --git a/buildroot-2022.02.1/configs/rock64_defconfig b/buildroot-2022.02.1/configs/rock64_defconfig new file mode 100644 index 00000000..2fae2298 --- /dev/null +++ b/buildroot-2022.02.1/configs/rock64_defconfig @@ -0,0 +1,40 @@ +BR2_aarch64=y +BR2_GLOBAL_PATCH_DIR="board/pine64/rock64/patches" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/pine64/rock64/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pine64/rock64/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.216" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3328-rock64" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="128M" +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.2" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="rk3328" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="bl31/*.elf" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/ayufan-rock64/linux-mainline-u-boot.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="release-2020-07" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rock64-rk3328" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_PYTHON3=y +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/u-boot-spl.bin tpl/u-boot-tpl.bin" +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2021.05/configs/rock_pi_4_defconfig b/buildroot-2022.02.1/configs/rock_pi_4_defconfig similarity index 100% rename from buildroot-2021.05/configs/rock_pi_4_defconfig rename to buildroot-2022.02.1/configs/rock_pi_4_defconfig diff --git a/buildroot-2021.05/configs/rock_pi_n10_defconfig b/buildroot-2022.02.1/configs/rock_pi_n10_defconfig similarity index 100% rename from buildroot-2021.05/configs/rock_pi_n10_defconfig rename to buildroot-2022.02.1/configs/rock_pi_n10_defconfig diff --git a/buildroot-2021.05/configs/rock_pi_n8_defconfig b/buildroot-2022.02.1/configs/rock_pi_n8_defconfig similarity index 100% rename from buildroot-2021.05/configs/rock_pi_n8_defconfig rename to buildroot-2022.02.1/configs/rock_pi_n8_defconfig diff --git a/buildroot-2021.05/configs/rockpro64_defconfig b/buildroot-2022.02.1/configs/rockpro64_defconfig similarity index 100% rename from buildroot-2021.05/configs/rockpro64_defconfig rename to buildroot-2022.02.1/configs/rockpro64_defconfig diff --git a/buildroot-2022.02.1/configs/roseapplepi_defconfig b/buildroot-2022.02.1/configs/roseapplepi_defconfig new file mode 100644 index 00000000..0f37d5dc --- /dev/null +++ b/buildroot-2022.02.1/configs/roseapplepi_defconfig @@ -0,0 +1,43 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_GLOBAL_PATCH_DIR="board/roseapplepi/patches" +# Linux headers same as kernel, a 5.15 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/roseapplepi/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/roseapplepi/genimage.cfg" + +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.14" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/roseapplepi/linux.config" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="owl-s500-roseapplepi" + +# Filesystem / image +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloaders +BR2_TARGET_S500_BOOTLOADER=y +BR2_TARGET_S500_BOOTLOADER_BOARD="linux/bubble_gum_sd" +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/xapp-le/u-boot.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="a035d2673a90143a1a74557503b2e137b1447ae6" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="actduino_bubble_gum_v10" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/s6lx9_microboard_defconfig b/buildroot-2022.02.1/configs/s6lx9_microboard_defconfig similarity index 100% rename from buildroot-2021.05/configs/s6lx9_microboard_defconfig rename to buildroot-2022.02.1/configs/s6lx9_microboard_defconfig diff --git a/buildroot-2022.02.1/configs/sheevaplug_defconfig b/buildroot-2022.02.1/configs/sheevaplug_defconfig new file mode 100644 index 00000000..7f186df2 --- /dev/null +++ b/buildroot-2022.02.1/configs/sheevaplug_defconfig @@ -0,0 +1,34 @@ +# Architecture +BR2_arm=y +BR2_arm926t=y + +# system +BR2_GLOBAL_PATCH_DIR="board/sheevaplug/patches" +BR2_TARGET_GENERIC_GETTY=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" +BR2_SYSTEM_DHCP="eth0" + +# filesystem +BR2_TARGET_ROOTFS_JFFS2=y +BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_128K=y + +# Linux headers same as kernel, a 4.14 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y + +# bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="sheevaplug" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2018.07" +BR2_TARGET_UBOOT_FORMAT_KWB=y +# BR2_TARGET_UBOOT_NETWORK is not set + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.14.253" +BR2_LINUX_KERNEL_DEFCONFIG="mvebu_v5" +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_INTREE_DTS_NAME="kirkwood-sheevaplug" diff --git a/buildroot-2022.02.1/configs/snps_arc700_axs101_defconfig b/buildroot-2022.02.1/configs/snps_arc700_axs101_defconfig new file mode 100644 index 00000000..3a6bd5c0 --- /dev/null +++ b/buildroot-2022.02.1/configs/snps_arc700_axs101_defconfig @@ -0,0 +1,29 @@ +# Architecture +BR2_arcle=y + +# System +BR2_TARGET_GENERIC_HOSTNAME="axs101" +BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform" +BR2_TARGET_ROOTFS_INITRAMFS=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh" + +# Linux headers same as kernel, a 5.16 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" +BR2_LINUX_KERNEL_DEFCONFIG="axs101" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="axs101" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/synopsys/axs10x/uboot-fragment.config" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/snps_archs38_axs103_defconfig b/buildroot-2022.02.1/configs/snps_archs38_axs103_defconfig new file mode 100644 index 00000000..2002520d --- /dev/null +++ b/buildroot-2022.02.1/configs/snps_archs38_axs103_defconfig @@ -0,0 +1,30 @@ +# Architecture +BR2_arcle=y +BR2_archs38=y + +# System +BR2_TARGET_GENERIC_HOSTNAME="axs103" +BR2_TARGET_GENERIC_ISSUE="Welcome to the ARC Software Development Platform" +BR2_TARGET_ROOTFS_INITRAMFS=y +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_BUILD_SCRIPT="board/synopsys/axs10x/post-build.sh" + +# Linux headers same as kernel, a 5.16 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" +BR2_LINUX_KERNEL_DEFCONFIG="axs103_smp" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="axs103" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/synopsys/axs10x/uboot-fragment.config" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y diff --git a/buildroot-2022.02.1/configs/snps_archs38_haps_defconfig b/buildroot-2022.02.1/configs/snps_archs38_haps_defconfig new file mode 100644 index 00000000..02e020bb --- /dev/null +++ b/buildroot-2022.02.1/configs/snps_archs38_haps_defconfig @@ -0,0 +1,18 @@ +# Architecture +BR2_arcle=y +BR2_archs38=y + +# System +BR2_TARGET_GENERIC_HOSTNAME="zebu_hs" +BR2_TARGET_GENERIC_ISSUE="Welcome to the HAPS Development Platform" +BR2_TARGET_ROOTFS_INITRAMFS=y + +# Linux headers same as kernel, a 5.16 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" +BR2_LINUX_KERNEL_DEFCONFIG="haps_hs_smp" +BR2_LINUX_KERNEL_VMLINUX=y diff --git a/buildroot-2022.02.1/configs/snps_archs38_hsdk_defconfig b/buildroot-2022.02.1/configs/snps_archs38_hsdk_defconfig new file mode 100644 index 00000000..413ca509 --- /dev/null +++ b/buildroot-2022.02.1/configs/snps_archs38_hsdk_defconfig @@ -0,0 +1,34 @@ +BR2_arcle=y +BR2_archs38_full=y +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y +BR2_PACKAGE_GLIBC_UTILS=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y +BR2_TARGET_OPTIMIZATION="-mfpu=fpud_all" +BR2_TARGET_GENERIC_HOSTNAME="hsdk" +BR2_TARGET_GENERIC_ISSUE="Welcome to the HSDK Platform" +BR2_SYSTEM_DHCP="eth0" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/synopsys/hsdk/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16" +BR2_LINUX_KERNEL_DEFCONFIG="hsdk" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/synopsys/hsdk/linux.fragment" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="hsdk" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_FORMAT_ELF=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="board/synopsys/hsdk/uboot.env.txt" +BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x4000" diff --git a/buildroot-2021.05/configs/socrates_cyclone5_defconfig b/buildroot-2022.02.1/configs/socrates_cyclone5_defconfig similarity index 100% rename from buildroot-2021.05/configs/socrates_cyclone5_defconfig rename to buildroot-2022.02.1/configs/socrates_cyclone5_defconfig diff --git a/buildroot-2021.05/configs/solidrun_clearfog_defconfig b/buildroot-2022.02.1/configs/solidrun_clearfog_defconfig similarity index 100% rename from buildroot-2021.05/configs/solidrun_clearfog_defconfig rename to buildroot-2022.02.1/configs/solidrun_clearfog_defconfig diff --git a/buildroot-2021.05/configs/solidrun_clearfog_gt_8k_defconfig b/buildroot-2022.02.1/configs/solidrun_clearfog_gt_8k_defconfig similarity index 100% rename from buildroot-2021.05/configs/solidrun_clearfog_gt_8k_defconfig rename to buildroot-2022.02.1/configs/solidrun_clearfog_gt_8k_defconfig diff --git a/buildroot-2021.05/configs/solidrun_macchiatobin_defconfig b/buildroot-2022.02.1/configs/solidrun_macchiatobin_defconfig similarity index 100% rename from buildroot-2021.05/configs/solidrun_macchiatobin_defconfig rename to buildroot-2022.02.1/configs/solidrun_macchiatobin_defconfig diff --git a/buildroot-2022.02.1/configs/spike_riscv64_defconfig b/buildroot-2022.02.1/configs/spike_riscv64_defconfig new file mode 100644 index 00000000..cc145bcd --- /dev/null +++ b/buildroot-2022.02.1/configs/spike_riscv64_defconfig @@ -0,0 +1,13 @@ +BR2_riscv=y +BR2_RISCV_64=y +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.13" +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_TARGET_ROOTFS_CPIO=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_OPENSBI=y +BR2_TARGET_OPENSBI_PLAT="generic" +BR2_TARGET_OPENSBI_LINUX_PAYLOAD=y +BR2_PACKAGE_HOST_RISCV_ISA_SIM=y diff --git a/buildroot-2022.02.1/configs/stm32f429_disco_xip_defconfig b/buildroot-2022.02.1/configs/stm32f429_disco_xip_defconfig new file mode 100644 index 00000000..01b54c02 --- /dev/null +++ b/buildroot-2022.02.1/configs/stm32f429_disco_xip_defconfig @@ -0,0 +1,21 @@ +BR2_arm=y +BR2_cortex_m4=y +BR2_KERNEL_HEADERS_5_15=y +# BR2_UCLIBC_INSTALL_UTILS is not set +BR2_GCC_ENABLE_LTO=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32f429-disco/linux.config" +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y +BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="xipImage" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f429-disco" +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" +BR2_TARGET_ROOTFS_INITRAMFS=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_AFBOOT_STM32=y +BR2_TARGET_AFBOOT_STM32_KERNEL_ADDR=0x0800C000 +BR2_PACKAGE_HOST_OPENOCD=y diff --git a/buildroot-2022.02.1/configs/stm32f469_disco_sd_defconfig b/buildroot-2022.02.1/configs/stm32f469_disco_sd_defconfig new file mode 100644 index 00000000..ea1361ef --- /dev/null +++ b/buildroot-2022.02.1/configs/stm32f469_disco_sd_defconfig @@ -0,0 +1,26 @@ +BR2_arm=y +BR2_cortex_m4=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh board/stmicroelectronics/stm32f469-disco/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/stmicroelectronics/stm32f469-disco/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.14.12" +BR2_LINUX_KERNEL_DEFCONFIG="stm32" +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(LINUX_DIR)/arch/arm/configs/dram_0x00000000.config board/stmicroelectronics/stm32f469-disco/linux-sd.fragment" +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y +BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="zImage" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f469-disco" +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_SIZE="32M" +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32f469-discovery" +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_OPENOCD=y diff --git a/buildroot-2022.02.1/configs/stm32f469_disco_xip_defconfig b/buildroot-2022.02.1/configs/stm32f469_disco_xip_defconfig new file mode 100644 index 00000000..d95b7759 --- /dev/null +++ b/buildroot-2022.02.1/configs/stm32f469_disco_xip_defconfig @@ -0,0 +1,21 @@ +BR2_arm=y +BR2_cortex_m4=y +BR2_KERNEL_HEADERS_5_15=y +# BR2_UCLIBC_INSTALL_UTILS is not set +BR2_GCC_ENABLE_LTO=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.6" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32f469-disco/linux-xip.config" +BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y +BR2_LINUX_KERNEL_IMAGE_TARGET_NAME="xipImage" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32f469-disco" +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-minimal.config" +BR2_TARGET_ROOTFS_INITRAMFS=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_AFBOOT_STM32=y +BR2_TARGET_AFBOOT_STM32_KERNEL_ADDR=0x0800C000 +BR2_PACKAGE_HOST_OPENOCD=y diff --git a/buildroot-2022.02.1/configs/stm32mp157a_dk1_defconfig b/buildroot-2022.02.1/configs/stm32mp157a_dk1_defconfig new file mode 100644 index 00000000..a487ce98 --- /dev/null +++ b/buildroot-2022.02.1/configs/stm32mp157a_dk1_defconfig @@ -0,0 +1,47 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y + +# Linux headers same as kernel, a 5.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y + +# System configuration +BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157a-dk1/overlay/" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157a-dk1/linux.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157a-dk1" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloaders +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157a-dk1.dtb" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_STM32=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157a-dk1" + +# Additional tools +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/stm32mp157c_dk2_defconfig b/buildroot-2022.02.1/configs/stm32mp157c_dk2_defconfig new file mode 100644 index 00000000..f1f7baaa --- /dev/null +++ b/buildroot-2022.02.1/configs/stm32mp157c_dk2_defconfig @@ -0,0 +1,47 @@ +# Architecture +BR2_arm=y +BR2_cortex_a7=y + +# Linux headers same as kernel, a 5.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y + +# System configuration +BR2_ROOTFS_OVERLAY="board/stmicroelectronics/stm32mp157c-dk2/overlay/" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/stmicroelectronics/common/stm32mp157/post-image.sh" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32mp157c-dk2/linux.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-dk2" +BR2_LINUX_KERNEL_INSTALL_TARGET=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloaders +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-dk2.dtb" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_STM32=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-dk2" + +# Additional tools +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/stm32mp157c_odyssey_defconfig b/buildroot-2022.02.1/configs/stm32mp157c_odyssey_defconfig new file mode 100644 index 00000000..6b699830 --- /dev/null +++ b/buildroot-2022.02.1/configs/stm32mp157c_odyssey_defconfig @@ -0,0 +1,34 @@ +BR2_arm=y +BR2_cortex_a7=y +BR2_GLOBAL_PATCH_DIR="board/seeed/stm32mp157c-odyssey/patches" +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10=y +BR2_ROOTFS_OVERLAY="board/seeed/stm32mp157c-odyssey/overlay/" +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/seeed/stm32mp157c-odyssey/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.1" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/seeed/stm32mp157c-odyssey/linux.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="stm32mp157c-odyssey" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="stm32mp1" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_ADDITIONAL_VARIABLES="STM32MP_SDMMC=1 AARCH32_SP=sp_min DTB_FILE_NAME=stm32mp157c-odyssey.dtb" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES="*.stm32" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.10" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="stm32mp15_trusted" +BR2_TARGET_UBOOT_NEEDS_DTC=y +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_STM32=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="DEVICE_TREE=stm32mp157c-odyssey" +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/terasic_de10nano_cyclone5_defconfig b/buildroot-2022.02.1/configs/terasic_de10nano_cyclone5_defconfig new file mode 100644 index 00000000..8fb7cf66 --- /dev/null +++ b/buildroot-2022.02.1/configs/terasic_de10nano_cyclone5_defconfig @@ -0,0 +1,31 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_NEON=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/terasic/de10nano_cyclone5/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/altera-opensource/linux-socfpga.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_socfpga-5.11_21.06.01_pr" +BR2_LINUX_KERNEL_DEFCONFIG="socfpga" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="socfpga_cyclone5_de0_nano_soc" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_ROOTFS_EXT2_SIZE="120M" +BR2_TARGET_BAREBOX=y +BR2_TARGET_BAREBOX_CUSTOM_VERSION=y +BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2021.07.0" +BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="socfpga" +BR2_TARGET_BAREBOX_IMAGE_FILE="images/barebox-socfpga-de10_nano.img" +BR2_TARGET_BAREBOX_CUSTOM_ENV=y +BR2_TARGET_BAREBOX_CUSTOM_ENV_PATH="board/terasic/de10nano_cyclone5/barebox-env" +BR2_TARGET_BAREBOX_AUX=y +BR2_TARGET_BAREBOX_AUX_BOARD_DEFCONFIG="socfpga-xload-2" +BR2_TARGET_BAREBOX_AUX_IMAGE_FILE="images/barebox-socfpga-de10_nano-xload.img" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/toradex_apalis_imx6_defconfig b/buildroot-2022.02.1/configs/toradex_apalis_imx6_defconfig similarity index 100% rename from buildroot-2021.05/configs/toradex_apalis_imx6_defconfig rename to buildroot-2022.02.1/configs/toradex_apalis_imx6_defconfig diff --git a/buildroot-2021.05/configs/ts4900_defconfig b/buildroot-2022.02.1/configs/ts4900_defconfig similarity index 100% rename from buildroot-2021.05/configs/ts4900_defconfig rename to buildroot-2022.02.1/configs/ts4900_defconfig diff --git a/buildroot-2021.05/configs/ts5500_defconfig b/buildroot-2022.02.1/configs/ts5500_defconfig similarity index 100% rename from buildroot-2021.05/configs/ts5500_defconfig rename to buildroot-2022.02.1/configs/ts5500_defconfig diff --git a/buildroot-2022.02.1/configs/ts7680_defconfig b/buildroot-2022.02.1/configs/ts7680_defconfig new file mode 100644 index 00000000..e4f5c1aa --- /dev/null +++ b/buildroot-2022.02.1/configs/ts7680_defconfig @@ -0,0 +1,16 @@ +BR2_arm=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/technologic/ts7680/genimage.cfg" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,embeddedTS,linux-4.9.y,d03d426e6abd95a973bc669315206295713c17e8)/linux-d03d426e6abd95a973bc669315206295713c17e8.tar.gz" +BR2_LINUX_KERNEL_DEFCONFIG="ts_imx28" +BR2_LINUX_KERNEL_UIMAGE=y +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx28-ts7680" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_PACKAGE_HOST_GENIMAGE=y diff --git a/buildroot-2022.02.1/configs/uevm5432_defconfig b/buildroot-2022.02.1/configs/uevm5432_defconfig new file mode 100644 index 00000000..7b9a4309 --- /dev/null +++ b/buildroot-2022.02.1/configs/uevm5432_defconfig @@ -0,0 +1,46 @@ +# Architecture +BR2_arm=y +BR2_cortex_a15=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.12 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12=y + +# System +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y +BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" +BR2_SYSTEM_DHCP="eth0" + +# Image +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/uevm5432/genimage.cfg" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.2" +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="omap5-uevm" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="omap5_uevm" +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="MLO" + +# Required tools to create the SD card image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/wandboard_defconfig b/buildroot-2022.02.1/configs/wandboard_defconfig new file mode 100644 index 00000000..0966719d --- /dev/null +++ b/buildroot-2022.02.1/configs/wandboard_defconfig @@ -0,0 +1,46 @@ +# Architecture +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y +BR2_ARM_ENABLE_VFP=y +BR2_ARM_FPU_VFPV3=y + +# Linux headers same as kernel, a 5.13 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13=y + +# System +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" + +# Image +BR2_ROOTFS_OVERLAY="board/wandboard/rootfs_overlay" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" + +# Filesystem +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.07" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="wandboard" +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="SPL" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.13" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-wandboard imx6dl-wandboard imx6q-wandboard-revb1 imx6dl-wandboard-revb1 imx6q-wandboard-revd1 imx6dl-wandboard-revd1 imx6qp-wandboard-revd1" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# Required tools to create the SD image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y +BR2_PACKAGE_HOST_UBOOT_TOOLS=y diff --git a/buildroot-2022.02.1/configs/warp7_defconfig b/buildroot-2022.02.1/configs/warp7_defconfig new file mode 100644 index 00000000..04dfc94f --- /dev/null +++ b/buildroot-2022.02.1/configs/warp7_defconfig @@ -0,0 +1,52 @@ +# architecture +BR2_arm=y +BR2_cortex_a7=y +BR2_ARM_FPU_NEON_VFPV4=y + +# Linux headers same as kernel, a 5.16 series +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16=y + +# system +BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0" + +# rootfs overlay +BR2_ROOTFS_OVERLAY="board/warp7/rootfs_overlay" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_VERSION=y +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.16.5" +BR2_LINUX_KERNEL_DEFCONFIG="imx_v6_v7" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx7s-warp" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + +# U-Boot +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="warp7" +BR2_TARGET_UBOOT_CUSTOM_VERSION=y +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2022.01" +BR2_TARGET_UBOOT_FORMAT_DTB_IMX=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y + +# wifi firmware for brcm43430 +BR2_PACKAGE_LINUX_FIRMWARE=y +BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX=y + +# For automatic firmware loading +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y + +# wireless packages +BR2_PACKAGE_WIRELESS_TOOLS=y +BR2_PACKAGE_WPA_SUPPLICANT=y +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y + +# Filesystem +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/freescale/common/imx/post-image.sh" +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y + +# required tools to create the eMMC image +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2021.05/configs/warpboard_defconfig b/buildroot-2022.02.1/configs/warpboard_defconfig similarity index 100% rename from buildroot-2021.05/configs/warpboard_defconfig rename to buildroot-2022.02.1/configs/warpboard_defconfig diff --git a/buildroot-2021.05/configs/zynq_microzed_defconfig b/buildroot-2022.02.1/configs/zynq_microzed_defconfig similarity index 100% rename from buildroot-2021.05/configs/zynq_microzed_defconfig rename to buildroot-2022.02.1/configs/zynq_microzed_defconfig diff --git a/buildroot-2021.05/configs/zynq_qmtech_defconfig b/buildroot-2022.02.1/configs/zynq_qmtech_defconfig similarity index 100% rename from buildroot-2021.05/configs/zynq_qmtech_defconfig rename to buildroot-2022.02.1/configs/zynq_qmtech_defconfig diff --git a/buildroot-2021.05/configs/zynq_zc706_defconfig b/buildroot-2022.02.1/configs/zynq_zc706_defconfig similarity index 100% rename from buildroot-2021.05/configs/zynq_zc706_defconfig rename to buildroot-2022.02.1/configs/zynq_zc706_defconfig diff --git a/buildroot-2021.05/configs/zynq_zed_defconfig b/buildroot-2022.02.1/configs/zynq_zed_defconfig similarity index 100% rename from buildroot-2021.05/configs/zynq_zed_defconfig rename to buildroot-2022.02.1/configs/zynq_zed_defconfig diff --git a/buildroot-2022.02.1/configs/zynqmp_zcu102_defconfig b/buildroot-2022.02.1/configs/zynqmp_zcu102_defconfig new file mode 100644 index 00000000..2dd0817b --- /dev/null +++ b/buildroot-2022.02.1/configs/zynqmp_zcu102_defconfig @@ -0,0 +1,40 @@ +BR2_aarch64=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.15-930-g966124532656bc95d781abf57531e4cd4f962237" +BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynqmp" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-zcu102-rev1.0" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/Xilinx/arm-trusted-firmware.git" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.6-33-ge678d5ddc475f34dea8f5004fb6ebde118621784" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="v2022.01-165-g667001319cbe511ce6353195fb4910ae5cb041ce" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynqmp/zcu102/uboot.fragment" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" +BR2_TARGET_UBOOT_ZYNQMP=y +BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/lucaceresoli/zynqmp-pmufw-binaries/raw/v2021.2/bin/pmufw-v2021.2.bin" +BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/zcu102/pm_cfg_obj.c" +BR2_TARGET_UBOOT_FORMAT_ITB=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/configs/zynqmp_zcu106_defconfig b/buildroot-2022.02.1/configs/zynqmp_zcu106_defconfig new file mode 100644 index 00000000..d836edfa --- /dev/null +++ b/buildroot-2022.02.1/configs/zynqmp_zcu106_defconfig @@ -0,0 +1,40 @@ +BR2_aarch64=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y +BR2_ROOTFS_POST_BUILD_SCRIPT="board/zynqmp/post-build.sh" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/zynqmp/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="v5.15-930-g966124532656bc95d781abf57531e4cd4f962237" +BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynqmp" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="xilinx/zynqmp-zcu106-revA" +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +# BR2_TARGET_ROOTFS_TAR is not set +BR2_TARGET_ARM_TRUSTED_FIRMWARE=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/Xilinx/arm-trusted-firmware.git" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.6-33-ge678d5ddc475f34dea8f5004fb6ebde118621784" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="zynqmp" +BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31_UBOOT=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/Xilinx/u-boot-xlnx.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="v2022.01-165-g667001319cbe511ce6353195fb4910ae5cb041ce" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="xilinx_zynqmp_virt" +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/zynqmp/zcu106/uboot.fragment" +BR2_TARGET_UBOOT_NEEDS_DTC=y +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="spl/boot.bin" +BR2_TARGET_UBOOT_ZYNQMP=y +BR2_TARGET_UBOOT_ZYNQMP_PMUFW="https://github.com/lucaceresoli/zynqmp-pmufw-binaries/raw/v2021.2/bin/pmufw-v2021.2.bin" +BR2_TARGET_UBOOT_ZYNQMP_PM_CFG="board/zynqmp/zcu106/pm_cfg_obj.c" +BR2_TARGET_UBOOT_FORMAT_ITB=y +BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y diff --git a/buildroot-2022.02.1/docs/conf/asciidoc-text.conf b/buildroot-2022.02.1/docs/conf/asciidoc-text.conf new file mode 100644 index 00000000..bb614b9d --- /dev/null +++ b/buildroot-2022.02.1/docs/conf/asciidoc-text.conf @@ -0,0 +1,23 @@ +# Refer to following asciidoc documentation: +# https://asciidoc-py.github.io/userguide.html +# In particular sections "Macros" and "Attribute References" +# +# For hyperlinks, show 'link text [URL]' (if link text provided) or 'URL' +[http-inlinemacro] +{0=}{0? [}{name}:{target}{0?]} +[https-inlinemacro] +{0=}{0? [}{name}:{target}{0?]} +[ftp-inlinemacro] +{0=}{0? [}{name}:{target}{0?]} +[file-inlinemacro] +{0=}{0? [}{name}:{target}{0?]} +[irc-inlinemacro] +{0=}{0? [}{name}:{target}{0?]} +[mailto-inlinemacro] +{0=}{0? [}{name}:{target}{0?]} + +# Hide image representation from text manual +[image-inlinemacro] +{empty} +[image-blockmacro] +{empty} diff --git a/buildroot-2021.05/docs/images b/buildroot-2022.02.1/docs/images similarity index 100% rename from buildroot-2021.05/docs/images rename to buildroot-2022.02.1/docs/images diff --git a/buildroot-2022.02.1/docs/manual/adding-board-support.txt b/buildroot-2022.02.1/docs/manual/adding-board-support.txt new file mode 100644 index 00000000..cd90a587 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-board-support.txt @@ -0,0 +1,56 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +[[adding-board-support]] +== Adding support for a particular board + +Buildroot contains basic configurations for several publicly available +hardware boards, so that users of such a board can easily build a system +that is known to work. You are welcome to add support for other boards +to Buildroot too. + +To do so, you need to create a normal Buildroot configuration that +builds a basic system for the hardware: (internal) toolchain, kernel, +bootloader, filesystem and a simple BusyBox-only userspace. No specific +package should be selected: the configuration should be as minimal as +possible, and should only build a working basic BusyBox system for the +target platform. You can of course use more complicated configurations +for your internal projects, but the Buildroot project will only +integrate basic board configurations. This is because package +selections are highly application-specific. + +Once you have a known working configuration, run +make +savedefconfig+. This will generate a minimal +defconfig+ file at the +root of the Buildroot source tree. Move this file into the +configs/+ +directory, and rename it +_defconfig+. If the configuration +is a bit more complicated, it is nice to manually reformat it and +separate it into sections, with a comment before each section. Typical +sections are _Architecture_, _Toolchain options_ (typically just linux +headers version), _Firmware_, _Bootloader_, _Kernel_, and _Filesystem_. + +Always use fixed versions or commit hashes for the different +components, not the "latest" version. For example, set ++BR2_LINUX_KERNEL_CUSTOM_VERSION=y+ and ++BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE+ to the kernel version you tested +with. + +It is recommended to use as much as possible upstream versions of the +Linux kernel and bootloaders, and to use as much as possible default +kernel and bootloader configurations. If they are incorrect for your +board, or no default exists, we encourage you to send fixes to the +corresponding upstream projects. + +However, in the mean time, you may want to store kernel or bootloader +configuration or patches specific to your target platform. To do so, +create a directory +board/+ and a subdirectory ++board//+. You can then store your patches +and configurations in these directories, and reference them from the main +Buildroot configuration. Refer to xref:customize[] for more details. + +Before submitting patches for new boards it is recommended to test it by +building it using latest gitlab-CI docker container. To do this use +utils/docker-run script and inside it issue these commands: +-------------------- + $ make +_defconfig+ + $ make +-------------------- diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-asciidoc.txt b/buildroot-2022.02.1/docs/manual/adding-packages-asciidoc.txt new file mode 100644 index 00000000..0bfe99d2 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-asciidoc.txt @@ -0,0 +1,133 @@ +// -*- mode:doc; -*- +// vim: syntax=asciidoc + +=== Infrastructure for asciidoc documents + +[[asciidoc-documents-tutorial]] + +The Buildroot manual, which you are currently reading, is entirely written +using the http://asciidoc.org/[AsciiDoc] mark-up syntax. The manual is then +rendered to many formats: + +* html +* split-html +* pdf +* epub +* text + +Although Buildroot only contains one document written in AsciiDoc, there +is, as for packages, an infrastructure for rendering documents using the +AsciiDoc syntax. + +Also as for packages, the AsciiDoc infrastructure is available from a +xref:outside-br-custom[br2-external tree]. This allows documentation for +a br2-external tree to match the Buildroot documentation, as it will be +rendered to the same formats and use the same layout and theme. + +==== +asciidoc-document+ tutorial + +Whereas package infrastructures are suffixed with +-package+, the document +infrastructures are suffixed with +-document+. So, the AsciiDoc infrastructure +is named +asciidoc-document+. + +Here is an example to render a simple AsciiDoc document. + +---- +01: ################################################################################ +02: # +03: # foo-document +04: # +05: ################################################################################ +06: +07: FOO_SOURCES = $(sort $(wildcard $(FOO_DOCDIR)/*)) +08: $(eval $(call asciidoc-document)) +---- + +On line 7, the Makefile declares what the sources of the document are. +Currently, it is expected that the document's sources are only local; +Buildroot will not attempt to download anything to render a document. +Thus, you must indicate where the sources are. Usually, the string +above is sufficient for a document with no sub-directory structure. + +On line 8, we call the +asciidoc-document+ function, which generates all +the Makefile code necessary to render the document. + +==== +asciidoc-document+ reference + +The list of variables that can be set in a +.mk+ file to give metadata +information is (assuming the document name is +foo+) : + +* +FOO_SOURCES+, mandatory, defines the source files for the document. + +* +FOO_RESOURCES+, optional, may contain a space-separated list of paths + to one or more directories containing so-called resources (like CSS or + images). By default, empty. + +* +FOO_DEPENDENCIES+, optional, the list of packages (most probably, + host-packages) that must be built before building this document. + +There are also additional hooks (see xref:hooks[] for general information +on hooks), that a document may set to define extra actions to be done at +various steps: + +* +FOO_POST_RSYNC_HOOKS+ to run additional commands after the sources + have been copied by Buildroot. This can for example be used to + generate part of the manual with information extracted from the + tree. As an example, Buildroot uses this hook to generate the tables + in the appendices. + +* +FOO_CHECK_DEPENDENCIES_HOOKS+ to run additional tests on required + components to generate the document. In AsciiDoc, it is possible to + call filters, that is, programs that will parse an AsciiDoc block and + render it appropriately (e.g. http://ditaa.sourceforge.net/[ditaa] or + https://pythonhosted.org/aafigure/[aafigure]). + +* +FOO_CHECK_DEPENDENCIES__HOOKS+, to run additional tests for + the specified format ++ (see the list of rendered formats, above). + +Buildroot sets the following variable that can be used in the definitions +above: + +* +$(FOO_DOCDIR)+, similar to +$(FOO_PKGDIR)+, contains the path to the + directory containing +foo.mk+. It can be used to refer to the document + sources, and can be used in the hooks, especially the post-rsync hook + if parts of the documentation needs to be generated. + +* +$(@D)+, as for traditional packages, contains the path to the directory + where the document will be copied and built. + +Here is a complete example that uses all variables and all hooks: + +---- +01: ################################################################################ +02: # +03: # foo-document +04: # +05: ################################################################################ +06: +07: FOO_SOURCES = $(sort $(wildcard $(FOO_DOCDIR)/*)) +08: FOO_RESOURCES = $(sort $(wildcard $(FOO_DOCDIR)/ressources)) +09: +10: define FOO_GEN_EXTRA_DOC +11: /path/to/generate-script --outdir=$(@D) +12: endef +13: FOO_POST_RSYNC_HOOKS += FOO_GEN_EXTRA_DOC +14: +15: define FOO_CHECK_MY_PROG +16: if ! which my-prog >/dev/null 2>&1; then \ +17: echo "You need my-prog to generate the foo document"; \ +18: exit 1; \ +19: fi +20: endef +21: FOO_CHECK_DEPENDENCIES_HOOKS += FOO_CHECK_MY_PROG +22: +23: define FOO_CHECK_MY_OTHER_PROG +24: if ! which my-other-prog >/dev/null 2>&1; then \ +25: echo "You need my-other-prog to generate the foo document as PDF"; \ +26: exit 1; \ +27: fi +28: endef +29: FOO_CHECK_DEPENDENCIES_PDF_HOOKS += FOO_CHECK_MY_OTHER_PROG +30: +31: $(eval $(call asciidoc-document)) +---- diff --git a/buildroot-2021.05/docs/manual/adding-packages-autotools.txt b/buildroot-2022.02.1/docs/manual/adding-packages-autotools.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-autotools.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-autotools.txt diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-cargo.txt b/buildroot-2022.02.1/docs/manual/adding-packages-cargo.txt new file mode 100644 index 00000000..e18fd9ce --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-cargo.txt @@ -0,0 +1,100 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for Cargo-based packages + +Cargo is the package manager for the Rust programming language. It allows the +user to build programs or libraries written in Rust, but it also downloads and +manages their dependencies, to ensure repeatable builds. Cargo packages are +called "crates". + +[[cargo-package-tutorial]] + +==== +cargo-package+ tutorial + +The +Config.in+ file of Cargo-based package 'foo' should contain: + +--------------------------- +01: config BR2_PACKAGE_FOO +02: bool "foo" +03: depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS +04: select BR2_PACKAGE_HOST_RUSTC +05: help +06: This is a comment that explains what foo is. +07: +08: http://foosoftware.org/foo/ +--------------------------- + +And the +.mk+ file for this package should contain: + +------------------------------ +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.0 +08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz +09: FOO_SITE = http://www.foosoftware.org/download +10: FOO_LICENSE = GPL-3.0+ +11: FOO_LICENSE_FILES = COPYING +12: +13: $(eval $(cargo-package)) +-------------------------------- + +The Makefile starts with the definition of the standard variables for +package declaration (lines 7 to 11). + +As seen in line 13, it is based on the +cargo-package+ +infrastructure. Cargo will be invoked automatically by this +infrastructure to build and install the package. + +It is still possible to define custom build commands or install +commands (i.e. with FOO_BUILD_CMDS and FOO_INSTALL_TARGET_CMDS). +Those will then replace the commands from the cargo infrastructure. + +==== +cargo-package+ reference + +The main macros for the Cargo package infrastructure are ++cargo-package+ for target packages and +host-cargo-package+ for host +packages. + +Just like the generic infrastructure, the Cargo infrastructure works +by defining a number of variables before calling the +cargo-package+ +or +host-cargo-package+ macros. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the Cargo infrastructure: ++FOO_VERSION+, +FOO_SOURCE+, +FOO_PATCH+, +FOO_SITE+, ++FOO_DEPENDENCIES+, +FOO_LICENSE+, +FOO_LICENSE_FILES+, etc. + +A few additional variables, specific to the Cargo infrastructure, can +also be defined. Many of them are only useful in very specific cases, +typical packages will therefore only use a few of them. + +* +FOO_SUBDIR+ may contain the name of a subdirectory inside the package + that contains the Cargo.toml file. This is useful, if for example, it + is not at the root of the tree extracted by the tarball. If + +HOST_FOO_SUBDIR+ is not specified, it defaults to +FOO_SUBDIR+. + +* +FOO_CARGO_ENV+ can be used to pass additional variables in the + environment of +cargo+ invocations. It used at both build and + installation time + +* +FOO_CARGO_BUILD_OPTS+ can be used to pass additional options to + +cargo+ at build time. + +* +FOO_CARGO_INSTALL_OPTS+ can be used to pass additional options to + +cargo+ at install time. + +A crate can depend on other libraries from crates.io or git +repositories, listed in its +Cargo.toml+ file. Buildroot automatically +takes care of downloading such dependencies as part of the download +step of packages that use the +cargo-package+ infrastructure. Such +dependencies are then kept together with the package source code in +the tarball cached in Buildroot's +DL_DIR+, and therefore the hash of +the package's tarball includes such dependencies. + +This mechanism ensures that any change in the dependencies will be +detected, and allows the build to be performed completely offline. diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-cmake.txt b/buildroot-2022.02.1/docs/manual/adding-packages-cmake.txt new file mode 100644 index 00000000..541d7422 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-cmake.txt @@ -0,0 +1,157 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for CMake-based packages + +[[cmake-package-tutorial]] + +==== +cmake-package+ tutorial + +First, let's see how to write a +.mk+ file for a CMake-based package, +with an example : + +------------------------ +01: ################################################################################ +02: # +03: # libfoo +04: # +05: ################################################################################ +06: +07: LIBFOO_VERSION = 1.0 +08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz +09: LIBFOO_SITE = http://www.foosoftware.org/download +10: LIBFOO_INSTALL_STAGING = YES +11: LIBFOO_INSTALL_TARGET = NO +12: LIBFOO_CONF_OPTS = -DBUILD_DEMOS=ON +13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf +14: +15: $(eval $(cmake-package)) +------------------------ + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball recommended) +and the location of the tarball on the Web. Buildroot will automatically +download the tarball from this location. + +On line 10, we tell Buildroot to install the package to the staging +directory. The staging directory, located in +output/staging/+ +is the directory where all the packages are installed, including their +development files, etc. By default, packages are not installed to the +staging directory, since usually, only libraries need to be installed in +the staging directory: their development files are needed to compile +other libraries or applications depending on them. Also by default, when +staging installation is enabled, packages are installed in this location +using the +make install+ command. + +On line 11, we tell Buildroot to not install the package to the +target directory. This directory contains what will become the root +filesystem running on the target. For purely static libraries, it is +not necessary to install them in the target directory because they will +not be used at runtime. By default, target installation is enabled; setting +this variable to NO is almost never needed. Also by default, packages are +installed in this location using the +make install+ command. + +On line 12, we tell Buildroot to pass custom options to CMake when it is +configuring the package. + +On line 13, we declare our dependencies, so that they are built +before the build process of our package starts. + +Finally, on line line 15, we invoke the +cmake-package+ +macro that generates all the Makefile rules that actually allows the +package to be built. + +[[cmake-package-reference]] + +==== +cmake-package+ reference + +The main macro of the CMake package infrastructure is ++cmake-package+. It is similar to the +generic-package+ macro. The ability to +have target and host packages is also available, with the ++host-cmake-package+ macro. + +Just like the generic infrastructure, the CMake infrastructure works +by defining a number of variables before calling the +cmake-package+ +macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the CMake infrastructure: ++LIBFOO_VERSION+, +LIBFOO_SOURCE+, +LIBFOO_PATCH+, +LIBFOO_SITE+, ++LIBFOO_SUBDIR+, +LIBFOO_DEPENDENCIES+, +LIBFOO_INSTALL_STAGING+, ++LIBFOO_INSTALL_TARGET+. + +A few additional variables, specific to the CMake infrastructure, can +also be defined. Many of them are only useful in very specific cases, +typical packages will therefore only use a few of them. + +* +LIBFOO_SUBDIR+ may contain the name of a subdirectory inside the + package that contains the main CMakeLists.txt file. This is useful, + if for example, the main CMakeLists.txt file is not at the root of + the tree extracted by the tarball. If +HOST_LIBFOO_SUBDIR+ is not + specified, it defaults to +LIBFOO_SUBDIR+. + +* +LIBFOO_CONF_ENV+, to specify additional environment variables to + pass to CMake. By default, empty. + +* +LIBFOO_CONF_OPTS+, to specify additional configure options to pass + to CMake. By default, empty. A number of common CMake options are + set by the +cmake-package+ infrastructure; so it is normally not + necessary to set them in the package's +*.mk+ file unless you want + to override them: + +** +CMAKE_BUILD_TYPE+ is driven by +BR2_ENABLE_RUNTIME_DEBUG+; +** +CMAKE_INSTALL_PREFIX+; +** +BUILD_SHARED_LIBS+ is driven by +BR2_STATIC_LIBS+; +** +BUILD_DOC+, +BUILD_DOCS+ are disabled; +** +BUILD_EXAMPLE+, +BUILD_EXAMPLES+ are disabled; +** +BUILD_TEST+, +BUILD_TESTS+, +BUILD_TESTING+ are disabled. + +* +LIBFOO_SUPPORTS_IN_SOURCE_BUILD = NO+ should be set when the package + cannot be built inside the source tree but needs a separate build + directory. + +* +LIBFOO_MAKE+, to specify an alternate +make+ command. This is + typically useful when parallel make is enabled in the configuration + (using +BR2_JLEVEL+) but that this feature should be disabled for + the given package, for one reason or another. By default, set to + +$(MAKE)+. If parallel building is not supported by the package, + then it should be set to +LIBFOO_MAKE=$(MAKE1)+. + +* +LIBFOO_MAKE_ENV+, to specify additional environment variables to + pass to make in the build step. These are passed before the +make+ + command. By default, empty. + +* +LIBFOO_MAKE_OPTS+, to specify additional variables to pass to make + in the build step. These are passed after the +make+ command. By + default, empty. + +* +LIBFOO_INSTALL_OPTS+ contains the make options used to + install the package to the host directory. By default, the value + is +install+, which is correct for most CMake packages. It is still + possible to override it. + +* +LIBFOO_INSTALL_STAGING_OPTS+ contains the make options used to + install the package to the staging directory. By default, the value + is +DESTDIR=$(STAGING_DIR) install/fast+, which is correct for most + CMake packages. It is still possible to override it. + +* +LIBFOO_INSTALL_TARGET_OPTS+ contains the make options used to + install the package to the target directory. By default, the value + is +DESTDIR=$(TARGET_DIR) install/fast+. The default value is correct + for most CMake packages, but it is still possible to override it if + needed. + +With the CMake infrastructure, all the steps required to build and +install the packages are already defined, and they generally work well +for most CMake-based packages. However, when required, it is still +possible to customize what is done in any particular step: + +* By adding a post-operation hook (after extract, patch, configure, + build or install). See xref:hooks[] for details. + +* By overriding one of the steps. For example, even if the CMake + infrastructure is used, if the package +.mk+ file defines its own + +LIBFOO_CONFIGURE_CMDS+ variable, it will be used instead of the + default CMake one. However, using this method should be restricted + to very specific cases. Do not use it in the general case. diff --git a/buildroot-2021.05/docs/manual/adding-packages-conclusion.txt b/buildroot-2022.02.1/docs/manual/adding-packages-conclusion.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-conclusion.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-conclusion.txt diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-directory.txt b/buildroot-2022.02.1/docs/manual/adding-packages-directory.txt new file mode 100644 index 00000000..749e2d43 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-directory.txt @@ -0,0 +1,645 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Package directory + +First of all, create a directory under the +package+ directory for +your software, for example +libfoo+. + +Some packages have been grouped by topic in a sub-directory: ++x11r7+, +qt5+ and +gstreamer+. If your package fits in +one of these categories, then create your package directory in these. +New subdirectories are discouraged, however. + +=== Config files + +For the package to be displayed in the configuration tool, you need to +create a Config file in your package directory. There are two types: ++Config.in+ and +Config.in.host+. + +==== +Config.in+ file + +For packages used on the target, create a file named +Config.in+. This +file will contain the option descriptions related to our +libfoo+ software +that will be used and displayed in the configuration tool. It should basically +contain: + +--------------------------- +config BR2_PACKAGE_LIBFOO + bool "libfoo" + help + This is a comment that explains what libfoo is. The help text + should be wrapped. + + http://foosoftware.org/libfoo/ +--------------------------- + +The +bool+ line, +help+ line and other metadata information about the +configuration option must be indented with one tab. The help text +itself should be indented with one tab and two spaces, lines should +be wrapped to fit 72 columns, where tab counts for 8, so 62 characters +in the text itself. The help text must mention the upstream URL of the +project after an empty line. + +As a convention specific to Buildroot, the ordering of the attributes +is as follows: + +1. The type of option: +bool+, +string+... with the prompt +2. If needed, the +default+ value(s) +3. Any dependencies on the target in +depends on+ form +4. Any dependencies on the toolchain in +depends on+ form +5. Any dependencies on other packages in +depends on+ form +6. Any dependency of the +select+ form +7. The help keyword and help text. + +You can add other sub-options into a +if BR2_PACKAGE_LIBFOO...endif+ +statement to configure particular things in your software. You can look at +examples in other packages. The syntax of the +Config.in+ file is the same +as the one for the kernel Kconfig file. The documentation for this syntax is +available at http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt[] + +Finally you have to add your new +libfoo/Config.in+ to ++package/Config.in+ (or in a category subdirectory if you decided to +put your package in one of the existing categories). The files +included there are 'sorted alphabetically' per category and are 'NOT' +supposed to contain anything but the 'bare' name of the package. + +-------------------------- +source "package/libfoo/Config.in" +-------------------------- + + +==== +Config.in.host+ file + +Some packages also need to be built for the host system. There are two +options here: + +* The host package is only required to satisfy build-time + dependencies of one or more target packages. In this case, add + +host-foo+ to the target package's +BAR_DEPENDENCIES+ variable. No + +Config.in.host+ file should be created. + +* The host package should be explicitly selectable by the user from + the configuration menu. In this case, create a +Config.in.host+ file + for that host package: ++ +--------------------------- +config BR2_PACKAGE_HOST_FOO + bool "host foo" + help + This is a comment that explains what foo for the host is. + + http://foosoftware.org/foo/ +--------------------------- ++ +The same coding style and options as for the +Config.in+ file are valid. ++ +Finally you have to add your new +libfoo/Config.in.host+ to ++package/Config.in.host+. The files included there are 'sorted alphabetically' +and are 'NOT' supposed to contain anything but the 'bare' name of the package. ++ +-------------------------- +source "package/foo/Config.in.host" +-------------------------- ++ +The host package will then be available from the +Host utilities+ menu. + +[[depends-on-vs-select]] +==== Choosing +depends on+ or +select+ + +The +Config.in+ file of your package must also ensure that +dependencies are enabled. Typically, Buildroot uses the following +rules: + +* Use a +select+ type of dependency for dependencies on + libraries. These dependencies are generally not obvious and it + therefore make sense to have the kconfig system ensure that the + dependencies are selected. For example, the _libgtk2_ package uses + +select BR2_PACKAGE_LIBGLIB2+ to make sure this library is also + enabled. + The +select+ keyword expresses the dependency with a backward + semantic. + +* Use a +depends on+ type of dependency when the user really needs to + be aware of the dependency. Typically, Buildroot uses this type of + dependency for dependencies on target architecture, MMU support and + toolchain options (see xref:dependencies-target-toolchain-options[]), + or for dependencies on "big" things, such as the X.org system. + The +depends on+ keyword expresses the dependency with a forward + semantic. + +.Note +The current problem with the _kconfig_ language is that these two +dependency semantics are not internally linked. Therefore, it may be +possible to select a package, whom one of its dependencies/requirement +is not met. + +An example illustrates both the usage of +select+ and +depends on+. + +-------------------------- +config BR2_PACKAGE_RRDTOOL + bool "rrdtool" + depends on BR2_USE_WCHAR + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_LIBART + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_ZLIB + help + RRDtool is the OpenSource industry standard, high performance + data logging and graphing system for time series data. + + http://oss.oetiker.ch/rrdtool/ + +comment "rrdtool needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR +-------------------------- + + +Note that these two dependency types are only transitive with the +dependencies of the same kind. + +This means, in the following example: + +-------------------------- +config BR2_PACKAGE_A + bool "Package A" + +config BR2_PACKAGE_B + bool "Package B" + depends on BR2_PACKAGE_A + +config BR2_PACKAGE_C + bool "Package C" + depends on BR2_PACKAGE_B + +config BR2_PACKAGE_D + bool "Package D" + select BR2_PACKAGE_B + +config BR2_PACKAGE_E + bool "Package E" + select BR2_PACKAGE_D +-------------------------- + +* Selecting +Package C+ will be visible if +Package B+ has been + selected, which in turn is only visible if +Package A+ has been + selected. + +* Selecting +Package E+ will select +Package D+, which will select + +Package B+, it will not check for the dependencies of +Package B+, + so it will not select +Package A+. + +* Since +Package B+ is selected but +Package A+ is not, this violates + the dependency of +Package B+ on +Package A+. Therefore, in such a + situation, the transitive dependency has to be added explicitly: + +-------------------------- +config BR2_PACKAGE_D + bool "Package D" + depends on BR2_PACKAGE_A + select BR2_PACKAGE_B + +config BR2_PACKAGE_E + bool "Package E" + depends on BR2_PACKAGE_A + select BR2_PACKAGE_D +-------------------------- + +Overall, for package library dependencies, +select+ should be +preferred. + +Note that such dependencies will ensure that the dependency option +is also enabled, but not necessarily built before your package. To do +so, the dependency also needs to be expressed in the +.mk+ file of the +package. + +Further formatting details: see xref:writing-rules-config-in[the +coding style]. + +[[dependencies-target-toolchain-options]] +==== Dependencies on target and toolchain options + +Many packages depend on certain options of the toolchain: the choice of +C library, C++ support, thread support, RPC support, wchar support, +or dynamic library support. Some packages can only be built on certain +target architectures, or if an MMU is available in the processor. + +These dependencies have to be expressed with the appropriate 'depends +on' statements in the Config.in file. Additionally, for dependencies on +toolchain options, a +comment+ should be displayed when the option is +not enabled, so that the user knows why the package is not available. +Dependencies on target architecture or MMU support should not be +made visible in a comment: since it is unlikely that the user can +freely choose another target, it makes little sense to show these +dependencies explicitly. + +The +comment+ should only be visible if the +config+ option itself would +be visible when the toolchain option dependencies are met. This means +that all other dependencies of the package (including dependencies on +target architecture and MMU support) have to be repeated on the ++comment+ definition. To keep it clear, the +depends on+ statement for +these non-toolchain option should be kept separate from the +depends on+ +statement for the toolchain options. +If there is a dependency on a config option in that same file (typically +the main package) it is preferable to have a global +if ... endif+ +construct rather than repeating the +depends on+ statement on the +comment and other config options. + +The general format of a dependency +comment+ for package foo is: + +-------------------------- +foo needs a toolchain w/ featA, featB, featC +-------------------------- + +for example: + +-------------------------- +mpd needs a toolchain w/ C++, threads, wchar +-------------------------- + +or + +-------------------------- +crda needs a toolchain w/ threads +-------------------------- + +Note that this text is kept brief on purpose, so that it will fit on a +80-character terminal. + +The rest of this section enumerates the different target and toolchain +options, the corresponding config symbols to depend on, and the text to +use in the comment. + +* Target architecture +** Dependency symbol: +BR2_powerpc+, +BR2_mips+, ... (see +arch/Config.in+) +** Comment string: no comment to be added + +* MMU support +** Dependency symbol: +BR2_USE_MMU+ +** Comment string: no comment to be added + +* Gcc +__sync_*+ built-ins used for atomic operations. They are + available in variants operating on 1 byte, 2 bytes, 4 bytes and 8 + bytes. Since different architectures support atomic operations on + different sizes, one dependency symbol is available for each size: +** Dependency symbol: +BR2_TOOLCHAIN_HAS_SYNC_1+ for 1 byte, + +BR2_TOOLCHAIN_HAS_SYNC_2+ for 2 bytes, + +BR2_TOOLCHAIN_HAS_SYNC_4+ for 4 bytes, +BR2_TOOLCHAIN_HAS_SYNC_8+ + for 8 bytes. +** Comment string: no comment to be added + +* Gcc +__atomic_*+ built-ins used for atomic operations. +** Dependency symbol: +BR2_TOOLCHAIN_HAS_ATOMIC+. +** Comment string: no comment to be added + +* Kernel headers +** Dependency symbol: +BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y+, (replace + +X_Y+ with the proper version, see +toolchain/Config.in+) +** Comment string: +headers >= X.Y+ and/or `headers <= X.Y` (replace + +X.Y+ with the proper version) + +* GCC version +** Dependency symbol: +BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y+, (replace + +X_Y+ with the proper version, see +toolchain/Config.in+) +** Comment string: +gcc >= X.Y+ and/or `gcc <= X.Y` (replace + +X.Y+ with the proper version) + +* Host GCC version +** Dependency symbol: +BR2_HOST_GCC_AT_LEAST_X_Y+, (replace + +X_Y+ with the proper version, see +Config.in+) +** Comment string: no comment to be added +** Note that it is usually not the package itself that has a minimum + host GCC version, but rather a host-package on which it depends. + +* C library +** Dependency symbol: +BR2_TOOLCHAIN_USES_GLIBC+, + +BR2_TOOLCHAIN_USES_MUSL+, +BR2_TOOLCHAIN_USES_UCLIBC+ +** Comment string: for the C library, a slightly different comment text + is used: +foo needs a glibc toolchain+, or `foo needs a glibc + toolchain w/ C++` + +* C++ support +** Dependency symbol: +BR2_INSTALL_LIBSTDCPP+ +** Comment string: `C++` + +* D support +** Dependency symbol: +BR2_TOOLCHAIN_HAS_DLANG+ +** Comment string: `Dlang` + +* Fortran support +** Dependency symbol: +BR2_TOOLCHAIN_HAS_FORTRAN+ +** Comment string: `fortran` + +* thread support +** Dependency symbol: +BR2_TOOLCHAIN_HAS_THREADS+ +** Comment string: +threads+ (unless +BR2_TOOLCHAIN_HAS_THREADS_NPTL+ + is also needed, in which case, specifying only +NPTL+ is sufficient) + +* NPTL thread support +** Dependency symbol: +BR2_TOOLCHAIN_HAS_THREADS_NPTL+ +** Comment string: +NPTL+ + +* RPC support +** Dependency symbol: +BR2_TOOLCHAIN_HAS_NATIVE_RPC+ +** Comment string: +RPC+ + +* wchar support +** Dependency symbol: +BR2_USE_WCHAR+ +** Comment string: +wchar+ + +* dynamic library +** Dependency symbol: +!BR2_STATIC_LIBS+ +** Comment string: +dynamic library+ + +==== Dependencies on a Linux kernel built by buildroot + +Some packages need a Linux kernel to be built by buildroot. These are +typically kernel modules or firmware. A comment should be added in the +Config.in file to express this dependency, similar to dependencies on +toolchain options. The general format is: + +-------------------------- +foo needs a Linux kernel to be built +-------------------------- + +If there is a dependency on both toolchain options and the Linux +kernel, use this format: + +-------------------------- +foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built +-------------------------- + +==== Dependencies on udev /dev management + +If a package needs udev /dev management, it should depend on symbol ++BR2_PACKAGE_HAS_UDEV+, and the following comment should be added: + +-------------------------- +foo needs udev /dev management +-------------------------- + +If there is a dependency on both toolchain options and udev /dev +management, use this format: + +-------------------------- +foo needs udev /dev management and a toolchain w/ featA, featB, featC +-------------------------- + +==== Dependencies on features provided by virtual packages + +Some features can be provided by more than one package, such as the +openGL libraries. + +See xref:virtual-package-tutorial[] for more on the virtual packages. + +=== The +.mk+ file + +[[adding-packages-mk]] + +Finally, here's the hardest part. Create a file named +libfoo.mk+. It +describes how the package should be downloaded, configured, built, +installed, etc. + +Depending on the package type, the +.mk+ file must be written in a +different way, using different infrastructures: + +* *Makefiles for generic packages* (not using autotools or CMake): + These are based on an infrastructure similar to the one used for + autotools-based packages, but require a little more work from the + developer. They specify what should be done for the configuration, + compilation and installation of the package. This + infrastructure must be used for all packages that do not use the + autotools as their build system. In the future, other specialized + infrastructures might be written for other build systems. We cover + them through in a xref:generic-package-tutorial[tutorial] and a + xref:generic-package-reference[reference]. + +* *Makefiles for autotools-based software* (autoconf, automake, etc.): + We provide a dedicated infrastructure for such packages, since + autotools is a very common build system. This infrastructure 'must' + be used for new packages that rely on the autotools as their build + system. We cover them through a xref:autotools-package-tutorial[tutorial] + and xref:autotools-package-reference[reference]. + +* *Makefiles for cmake-based software*: We provide a dedicated + infrastructure for such packages, as CMake is a more and more + commonly used build system and has a standardized behaviour. This + infrastructure 'must' be used for new packages that rely on + CMake. We cover them through a xref:cmake-package-tutorial[tutorial] + and xref:cmake-package-reference[reference]. + +* *Makefiles for Python modules*: We have a dedicated infrastructure + for Python modules that use either the +distutils+ or the + +setuptools+ mechanism. We cover them through a + xref:python-package-tutorial[tutorial] and a + xref:python-package-reference[reference]. + +* *Makefiles for Lua modules*: We have a dedicated infrastructure for + Lua modules available through the LuaRocks web site. We cover them + through a xref:luarocks-package-tutorial[tutorial] and a + xref:luarocks-package-reference[reference]. + +Further formatting details: see xref:writing-rules-mk[the writing +rules]. + +[[adding-packages-hash]] +=== The +.hash+ file + +When possible, you must add a third file, named +libfoo.hash+, that +contains the hashes of the downloaded files for the +libfoo+ +package. The only reason for not adding a +.hash+ file is when hash +checking is not possible due to how the package is downloaded. + +When a package has a version selection choice, then the hash file may be +stored in a subdirectory named after the version, e.g. ++package/libfoo/1.2.3/libfoo.hash+. This is especially important if the +different versions have different licensing terms, but they are stored +in the same file. Otherwise, the hash file should stay in the package's +directory. + +The hashes stored in that file are used to validate the integrity of the +downloaded files and of the license files. + +The format of this file is one line for each file for which to check the +hash, each line with the following three fields separated by two spaces: + +* the type of hash, one of: +** +md5+, +sha1+, +sha224+, +sha256+, +sha384+, +sha512+ +* the hash of the file: +** for +md5+, 32 hexadecimal characters +** for +sha1+, 40 hexadecimal characters +** for +sha224+, 56 hexadecimal characters +** for +sha256+, 64 hexadecimal characters +** for +sha384+, 96 hexadecimal characters +** for +sha512+, 128 hexadecimal characters +* the name of the file: +** for a source archive: the basename of the file, without any directory + component, +** for a license file: the path as it appears in +FOO_LICENSE_FILES+. + +Lines starting with a +#+ sign are considered comments, and ignored. Empty +lines are ignored. + +There can be more than one hash for a single file, each on its own line. In +this case, all hashes must match. + +.Note +Ideally, the hashes stored in this file should match the hashes published by +upstream, e.g. on their website, in the e-mail announcement... If upstream +provides more than one type of hash (e.g. +sha1+ and +sha512+), then it is +best to add all those hashes in the +.hash+ file. If upstream does not +provide any hash, or only provides an +md5+ hash, then compute at least one +strong hash yourself (preferably +sha256+, but not +md5+), and mention +this in a comment line above the hashes. + +.Note +The hashes for license files are used to detect a license change when a +package version is bumped. The hashes are checked during the make legal-info +target run. For a package with multiple versions (like Qt5), +create the hash file in a subdirectory ++ of that package +(see also xref:patch-apply-order[]). + +The example below defines a +sha1+ and a +sha256+ published by upstream for +the main +libfoo-1.2.3.tar.bz2+ tarball, an +md5+ from upstream and a +locally-computed +sha256+ hashes for a binary blob, a +sha256+ for a +downloaded patch, and an archive with no hash: + +---- +# Hashes from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.{sha1,sha256}: +sha1 486fb55c3efa71148fe07895fd713ea3a5ae343a libfoo-1.2.3.tar.bz2 +sha256 efc8103cc3bcb06bda6a781532d12701eb081ad83e8f90004b39ab81b65d4369 libfoo-1.2.3.tar.bz2 + +# md5 from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.md5, sha256 locally computed: +md5 2d608f3c318c6b7557d551a5a09314f03452f1a1 libfoo-data.bin +sha256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b libfoo-data.bin + +# Locally computed: +sha256 ff52101fb90bbfc3fe9475e425688c660f46216d7e751c4bbdb1dc85cdccacb9 libfoo-fix-blabla.patch + +# Hash for license files: +sha256 a45a845012742796534f7e91fe623262ccfb99460a2bd04015bd28d66fba95b8 COPYING +sha256 01b1f9f2c8ee648a7a596a1abe8aa4ed7899b1c9e5551bda06da6e422b04aa55 doc/COPYING.LGPL +---- + +If the +.hash+ file is present, and it contains one or more hashes for a +downloaded file, the hash(es) computed by Buildroot (after download) must +match the hash(es) stored in the +.hash+ file. If one or more hashes do +not match, Buildroot considers this an error, deletes the downloaded file, +and aborts. + +If the +.hash+ file is present, but it does not contain a hash for a +downloaded file, Buildroot considers this an error and aborts. However, +the downloaded file is left in the download directory since this +typically indicates that the +.hash+ file is wrong but the downloaded +file is probably OK. + +Hashes are currently checked for files fetched from http/ftp servers, +Git repositories, files copied using scp and local files. Hashes are +not checked for other version control systems (such as Subversion, +CVS, etc.) because Buildroot currently does not generate reproducible +tarballs when source code is fetched from such version control +systems. + +Hashes should only be added in +.hash+ files for files that are +guaranteed to be stable. For example, patches auto-generated by Github +are not guaranteed to be stable, and therefore their hashes can change +over time. Such patches should not be downloaded, and instead be added +locally to the package folder. + +If the +.hash+ file is missing, then no check is done at all. + +[[adding-packages-start-script]] +=== The +SNNfoo+ start script + +Packages that provide a system daemon usually need to be started somehow +at boot. Buildroot comes with support for several init systems, some +are considered tier one (see xref:init-system[]), while others are also +available but do not have the same level of integration. Ideally, all +packages providing a system daemon should provide a start script for +BusyBox/SysV init and a systemd unit file. + +For consistency, the start script must follow the style and composition +as shown in the reference: +package/busybox/S01syslogd+. An annotated +example of this style is shown below. There is no specific coding style +for systemd unit files, but if a package comes with its own unit file, +that is preferred over a buildroot specific one, if it is compatible +with buildroot. + +The name of the start script is composed of the +SNN+ and the daemon +name. The +NN+ is the start order number which needs to be carefully +chosen. For example, a program that requires networking to be up should +not start before +S40network+. The scripts are started in alphabetical +order, so +S01syslogd+ starts before +S01watchdogd+, and +S02sysctl+ +start thereafter. + +------------------------------ +01: #!/bin/sh +02: +03: DAEMON="syslogd" +04: PIDFILE="/var/run/$DAEMON.pid" +05: +06: SYSLOGD_ARGS="" +07: +08: # shellcheck source=/dev/null +09: [ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" +10: +11: # BusyBox' syslogd does not create a pidfile, so pass "-n" in the command line +12: # and use "-m" to instruct start-stop-daemon to create one. +13: start() { +14: printf 'Starting %s: ' "$DAEMON" +15: # shellcheck disable=SC2086 # we need the word splitting +16: start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \ +17: -- -n $SYSLOGD_ARGS +18: status=$? +19: if [ "$status" -eq 0 ]; then +20: echo "OK" +21: else +22: echo "FAIL" +23: fi +24: return "$status" +25: } +26: +27: stop() { +28: printf 'Stopping %s: ' "$DAEMON" +29: start-stop-daemon -K -q -p "$PIDFILE" +30: status=$? +31: if [ "$status" -eq 0 ]; then +32: rm -f "$PIDFILE" +33: echo "OK" +34: else +35: echo "FAIL" +36: fi +37: return "$status" +38: } +39: +40: restart() { +41: stop +42: sleep 1 +43: start +44: } +45: +46: case "$1" in +47: start|stop|restart) +48: "$1";; +49: reload) +50: # Restart, since there is no true "reload" feature. +51: restart;; +52: *) +53: echo "Usage: $0 {start|stop|restart|reload}" +54: exit 1 +55: esac +------------------------------ + +*Note:* programs that support reloading their configuration in some +fashion (+SIGHUP+) should provide a +reload()+ function similar to ++stop()+. The +start-stop-daemon+ supports +-K -s HUP+ for this. +It is recommended to always append +-x "/sbin/$DAEMON"+ to all the ++start-stop-daemon+ commands to ensure signals are set to a PID that +matches +$DAEMON+. + +Both start scripts and unit files can source command line arguments from ++/etc/default/foo+, in general, if such a file does not exist it should +not block the start of the daemon, unless there is some site specirfic +command line argument the daemon requires to start. For start scripts a ++FOO_ARGS="-s -o -m -e -args"+ can be defined to a default value in and +the user can override this from +/etc/default/foo+. diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-generic.txt b/buildroot-2022.02.1/docs/manual/adding-packages-generic.txt new file mode 100644 index 00000000..fbe37f9c --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-generic.txt @@ -0,0 +1,664 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for packages with specific build systems + +By 'packages with specific build systems' we mean all the packages +whose build system is not one of the standard ones, such as +'autotools' or 'CMake'. This typically includes packages whose build +system is based on hand-written Makefiles or shell scripts. + +[[generic-package-tutorial]] + +==== +generic-package+ tutorial + +------------------------------ +01: ################################################################################ +02: # +03: # libfoo +04: # +05: ################################################################################ +06: +07: LIBFOO_VERSION = 1.0 +08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz +09: LIBFOO_SITE = http://www.foosoftware.org/download +10: LIBFOO_LICENSE = GPL-3.0+ +11: LIBFOO_LICENSE_FILES = COPYING +12: LIBFOO_INSTALL_STAGING = YES +13: LIBFOO_CONFIG_SCRIPTS = libfoo-config +14: LIBFOO_DEPENDENCIES = host-libaaa libbbb +15: +16: define LIBFOO_BUILD_CMDS +17: $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all +18: endef +19: +20: define LIBFOO_INSTALL_STAGING_CMDS +21: $(INSTALL) -D -m 0755 $(@D)/libfoo.a $(STAGING_DIR)/usr/lib/libfoo.a +22: $(INSTALL) -D -m 0644 $(@D)/foo.h $(STAGING_DIR)/usr/include/foo.h +23: $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(STAGING_DIR)/usr/lib +24: endef +25: +26: define LIBFOO_INSTALL_TARGET_CMDS +27: $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(TARGET_DIR)/usr/lib +28: $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d +29: endef +30: +31: define LIBFOO_USERS +32: foo -1 libfoo -1 * - - - LibFoo daemon +33: endef +34: +35: define LIBFOO_DEVICES +36: /dev/foo c 666 0 0 42 0 - - - +37: endef +38: +39: define LIBFOO_PERMISSIONS +40: /bin/foo f 4755 foo libfoo - - - - - +41: endef +42: +43: $(eval $(generic-package)) +-------------------------------- + +The Makefile begins on line 7 to 11 with metadata information: the +version of the package (+LIBFOO_VERSION+), the name of the +tarball containing the package (+LIBFOO_SOURCE+) (xz-ed tarball recommended) +the Internet location at which the tarball can be downloaded from +(+LIBFOO_SITE+), the license (+LIBFOO_LICENSE+) and file with the +license text (+LIBFOO_LICENSE_FILES+). All variables must start with +the same prefix, +LIBFOO_+ in this case. This prefix is always the +uppercased version of the package name (see below to understand where +the package name is defined). + +On line 12, we specify that this package wants to install something to +the staging space. This is often needed for libraries, since they must +install header files and other development files in the staging space. +This will ensure that the commands listed in the ++LIBFOO_INSTALL_STAGING_CMDS+ variable will be executed. + +On line 13, we specify that there is some fixing to be done to some +of the 'libfoo-config' files that were installed during ++LIBFOO_INSTALL_STAGING_CMDS+ phase. +These *-config files are executable shell script files that are +located in '$(STAGING_DIR)/usr/bin' directory and are executed +by other 3rd party packages to find out the location and the linking +flags of this particular package. + +The problem is that all these *-config files by default give wrong, +host system linking flags that are unsuitable for cross-compiling. + +For example: '-I/usr/include' instead of '-I$(STAGING_DIR)/usr/include' +or: '-L/usr/lib' instead of '-L$(STAGING_DIR)/usr/lib' + +So some sed magic is done to these scripts to make them give correct +flags. +The argument to be given to +LIBFOO_CONFIG_SCRIPTS+ is the file name(s) +of the shell script(s) needing fixing. All these names are relative to +'$(STAGING_DIR)/usr/bin' and if needed multiple names can be given. + +In addition, the scripts listed in +LIBFOO_CONFIG_SCRIPTS+ are removed +from +$(TARGET_DIR)/usr/bin+, since they are not needed on the target. + +.Config script: 'divine' package +================================ +Package divine installs shell script '$(STAGING_DIR)/usr/bin/divine-config'. + +So its fixup would be: + +-------------------------------- +DIVINE_CONFIG_SCRIPTS = divine-config +-------------------------------- +================================ + +.Config script: 'imagemagick' package: +================================ +Package imagemagick installs the following scripts: +'$(STAGING_DIR)/usr/bin/{Magick,Magick++,MagickCore,MagickWand,Wand}-config' + +So it's fixup would be: + +-------------------------------- +IMAGEMAGICK_CONFIG_SCRIPTS = \ + Magick-config Magick++-config \ + MagickCore-config MagickWand-config Wand-config +-------------------------------- +================================ + +On line 14, we specify the list of dependencies this package relies +on. These dependencies are listed in terms of lower-case package names, +which can be packages for the target (without the +host-+ +prefix) or packages for the host (with the +host-+) prefix). +Buildroot will ensure that all these packages are built and installed +'before' the current package starts its configuration. + +The rest of the Makefile, lines 16..29, defines what should be done +at the different steps of the package configuration, compilation and +installation. ++LIBFOO_BUILD_CMDS+ tells what steps should be performed to +build the package. +LIBFOO_INSTALL_STAGING_CMDS+ tells what +steps should be performed to install the package in the staging space. ++LIBFOO_INSTALL_TARGET_CMDS+ tells what steps should be +performed to install the package in the target space. + +All these steps rely on the +$(@D)+ variable, which +contains the directory where the source code of the package has been +extracted. + +On lines 31..33, we define a user that is used by this package (e.g. +to run a daemon as non-root) (+LIBFOO_USERS+). + +On line 35..37, we define a device-node file used by this package +(+LIBFOO_DEVICES+). + +On line 39..41, we define the permissions to set to specific files +installed by this package (+LIBFOO_PERMISSIONS+). + +Finally, on line 43, we call the +generic-package+ function, which +generates, according to the variables defined previously, all the +Makefile code necessary to make your package working. + +[[generic-package-reference]] + +==== +generic-package+ reference + +There are two variants of the generic target. The +generic-package+ macro is +used for packages to be cross-compiled for the target. The ++host-generic-package+ macro is used for host packages, natively compiled +for the host. It is possible to call both of them in a single +.mk+ +file: once to create the rules to generate a target +package and once to create the rules to generate a host package: + +---------------------- +$(eval $(generic-package)) +$(eval $(host-generic-package)) +---------------------- + +This might be useful if the compilation of the target package requires +some tools to be installed on the host. If the package name is ++libfoo+, then the name of the package for the target is also ++libfoo+, while the name of the package for the host is ++host-libfoo+. These names should be used in the DEPENDENCIES +variables of other packages, if they depend on +libfoo+ or ++host-libfoo+. + +The call to the +generic-package+ and/or +host-generic-package+ macro +*must* be at the end of the +.mk+ file, after all variable definitions. +The call to +host-generic-package+ *must* be after the call to ++generic-package+, if any. + +For the target package, the +generic-package+ uses the variables defined by +the .mk file and prefixed by the uppercased package name: ++LIBFOO_*+. +host-generic-package+ uses the +HOST_LIBFOO_*+ variables. For +'some' variables, if the +HOST_LIBFOO_+ prefixed variable doesn't +exist, the package infrastructure uses the corresponding variable +prefixed by +LIBFOO_+. This is done for variables that are likely to +have the same value for both the target and host packages. See below +for details. + +The list of variables that can be set in a +.mk+ file to give metadata +information is (assuming the package name is +libfoo+) : + +* +LIBFOO_VERSION+, mandatory, must contain the version of the + package. Note that if +HOST_LIBFOO_VERSION+ doesn't exist, it is + assumed to be the same as +LIBFOO_VERSION+. It can also be a + revision number or a tag for packages that are fetched directly + from their version control system. Examples: + ** a version for a release tarball: +LIBFOO_VERSION = 0.1.2+ + ** a sha1 for a git tree: +LIBFOO_VERSION = cb9d6aa9429e838f0e54faa3d455bcbab5eef057+ + ** a tag for a git tree +LIBFOO_VERSION = v0.1.2+ ++ +.Note: +Using a branch name as +FOO_VERSION+ is not supported, because it does +not and can not work as people would expect it should: ++ + 1. due to local caching, Buildroot will not re-fetch the repository, + so people who expect to be able to follow the remote repository + would be quite surprised and disappointed; + 2. because two builds can never be perfectly simultaneous, and because + the remote repository may get new commits on the branch anytime, + two users, using the same Buildroot tree and building the same + configuration, may get different source, thus rendering the build + non reproducible, and people would be quite surprised and + disappointed. + +* +LIBFOO_SOURCE+ may contain the name of the tarball of the package, + which Buildroot will use to download the tarball from + +LIBFOO_SITE+. If +HOST_LIBFOO_SOURCE+ is not specified, it defaults + to +LIBFOO_SOURCE+. If none are specified, then the value is assumed + to be +libfoo-$(LIBFOO_VERSION).tar.gz+. + + Example: +LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2+ + +* +LIBFOO_PATCH+ may contain a space-separated list of patch file + names, that Buildroot will download and apply to the package source + code. If an entry contains +://+, then Buildroot will assume it is a + full URL and download the patch from this location. Otherwise, + Buildroot will assume that the patch should be downloaded from + +LIBFOO_SITE+. If +HOST_LIBFOO_PATCH+ is not specified, it defaults + to +LIBFOO_PATCH+. Note that patches that are included in Buildroot + itself use a different mechanism: all files of the form + +*.patch+ present in the package directory inside + Buildroot will be applied to the package after extraction (see + xref:patch-policy[patching a package]). Finally, patches listed in + the +LIBFOO_PATCH+ variable are applied _before_ the patches stored + in the Buildroot package directory. + +* +LIBFOO_SITE+ provides the location of the package, which can be a + URL or a local filesystem path. HTTP, FTP and SCP are supported URL + types for retrieving package tarballs. In these cases don't include a + trailing slash: it will be added by Buildroot between the directory + and the filename as appropriate. Git, Subversion, Mercurial, + and Bazaar are supported URL types for retrieving packages directly + from source code management systems. There is a helper function to make + it easier to download source tarballs from GitHub (refer to + xref:github-download-url[] for details). A filesystem path may be used + to specify either a tarball or a directory containing the package + source code. See +LIBFOO_SITE_METHOD+ below for more details on how + retrieval works. + + Note that SCP URLs should be of the form + +scp://[user@]host:filepath+, and that filepath is relative to the + user's home directory, so you may want to prepend the path with a + slash for absolute paths: + +scp://[user@]host:/absolutepath+. The same goes for SFTP URLs. + + If +HOST_LIBFOO_SITE+ is not specified, it defaults to + +LIBFOO_SITE+. + Examples: + + +LIBFOO_SITE=http://www.libfoosoftware.org/libfoo+ + + +LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor+ + + +LIBFOO_SITE=/opt/software/libfoo.tar.gz+ + + +LIBFOO_SITE=$(TOPDIR)/../src/libfoo+ + +* +LIBFOO_DL_OPTS+ is a space-separated list of additional options to + pass to the downloader. Useful for retrieving documents with + server-side checking for user logins and passwords, or to use a proxy. + All download methods valid for +LIBFOO_SITE_METHOD+ are supported; + valid options depend on the download method (consult the man page + for the respective download utilities). + +* +LIBFOO_EXTRA_DOWNLOADS+ is a space-separated list of additional + files that Buildroot should download. If an entry contains +://+ + then Buildroot will assume it is a complete URL and will download + the file using this URL. Otherwise, Buildroot will assume the file + to be downloaded is located at +LIBFOO_SITE+. Buildroot will not do + anything with those additional files, except download them: it will + be up to the package recipe to use them from +$(LIBFOO_DL_DIR)+. + +* +LIBFOO_SITE_METHOD+ determines the method used to fetch or copy the + package source code. In many cases, Buildroot guesses the method + from the contents of +LIBFOO_SITE+ and setting +LIBFOO_SITE_METHOD+ + is unnecessary. When +HOST_LIBFOO_SITE_METHOD+ is not specified, it + defaults to the value of +LIBFOO_SITE_METHOD+. + + The possible values of +LIBFOO_SITE_METHOD+ are: + ** +wget+ for normal FTP/HTTP downloads of tarballs. Used by + default when +LIBFOO_SITE+ begins with +http://+, +https://+ or + +ftp://+. + ** +scp+ for downloads of tarballs over SSH with scp. Used by + default when +LIBFOO_SITE+ begins with +scp://+. + ** +sftp+ for downloads of tarballs over SSH with sftp. Used by + default when +LIBFOO_SITE+ begins with +sftp://+. + ** +svn+ for retrieving source code from a Subversion repository. + Used by default when +LIBFOO_SITE+ begins with +svn://+. When a + +http://+ Subversion repository URL is specified in + +LIBFOO_SITE+, one 'must' specify +LIBFOO_SITE_METHOD=svn+. + Buildroot performs a checkout which is preserved as a tarball in + the download cache; subsequent builds use the tarball instead of + performing another checkout. + ** +cvs+ for retrieving source code from a CVS repository. + Used by default when +LIBFOO_SITE+ begins with +cvs://+. + The downloaded source code is cached as with the +svn+ method. + Anonymous pserver mode is assumed otherwise explicitly defined + on +LIBFOO_SITE+. Both + +LIBFOO_SITE=cvs://libfoo.net:/cvsroot/libfoo+ and + +LIBFOO_SITE=cvs://:ext:libfoo.net:/cvsroot/libfoo+ + are accepted, on the former anonymous pserver access mode is + assumed. + +LIBFOO_SITE+ 'must' contain the source URL as well as the remote + repository directory. The module is the package name. + +LIBFOO_VERSION+ is 'mandatory' and 'must' be a tag, a branch, or + a date (e.g. "2014-10-20", "2014-10-20 13:45", "2014-10-20 + 13:45+01" see "man cvs" for further details). + ** +git+ for retrieving source code from a Git repository. Used by + default when +LIBFOO_SITE+ begins with +git://+. The downloaded + source code is cached as with the +svn+ method. + ** +hg+ for retrieving source code from a Mercurial repository. One + 'must' specify +LIBFOO_SITE_METHOD=hg+ when +LIBFOO_SITE+ + contains a Mercurial repository URL. The downloaded source code + is cached as with the +svn+ method. + ** +bzr+ for retrieving source code from a Bazaar repository. Used + by default when +LIBFOO_SITE+ begins with +bzr://+. The + downloaded source code is cached as with the +svn+ method. + ** +file+ for a local tarball. One should use this when + +LIBFOO_SITE+ specifies a package tarball as a local filename. + Useful for software that isn't available publicly or in version + control. + ** +local+ for a local source code directory. One should use this + when +LIBFOO_SITE+ specifies a local directory path containing + the package source code. Buildroot copies the contents of the + source directory into the package's build directory. Note that + for +local+ packages, no patches are applied. If you need to + still patch the source code, use +LIBFOO_POST_RSYNC_HOOKS+, see + xref:hooks-rsync[]. + +* +LIBFOO_GIT_SUBMODULES+ can be set to +YES+ to create an archive + with the git submodules in the repository. This is only available + for packages downloaded with git (i.e. when + +LIBFOO_SITE_METHOD=git+). Note that we try not to use such git + submodules when they contain bundled libraries, in which case we + prefer to use those libraries from their own package. + +* +LIBFOO_GIT_LFS+ should be set to +YES+ if the Git repository uses + Git LFS to store large files out of band. This is only available for + packages downloaded with git (i.e. when +LIBFOO_SITE_METHOD=git+). + +* +LIBFOO_STRIP_COMPONENTS+ is the number of leading components + (directories) that tar must strip from file names on extraction. + The tarball for most packages has one leading component named + "-", thus Buildroot passes + --strip-components=1 to tar to remove it. + For non-standard packages that don't have this component, or + that have more than one leading component to strip, set this + variable with the value to be passed to tar. Default: 1. + +* +LIBFOO_EXCLUDES+ is a space-separated list of patterns to exclude + when extracting the archive. Each item from that list is passed as + a tar's +--exclude+ option. By default, empty. + +* +LIBFOO_DEPENDENCIES+ lists the dependencies (in terms of package + name) that are required for the current target package to + compile. These dependencies are guaranteed to be compiled and + installed before the configuration of the current package starts. + However, modifications to configuration of these dependencies will + not force a rebuild of the current package. In a similar way, + +HOST_LIBFOO_DEPENDENCIES+ lists the dependencies for the current + host package. + +* +LIBFOO_EXTRACT_DEPENDENCIES+ lists the dependencies (in terms of + package name) that are required for the current target package to be + extracted. These dependencies are guaranteed to be compiled and + installed before the extract step of the current package + starts. This is only used internally by the package infrastructure, + and should typically not be used directly by packages. + +* +LIBFOO_PATCH_DEPENDENCIES+ lists the dependencies (in terms of + package name) that are required for the current package to be + patched. These dependencies are guaranteed to be extracted and + patched (but not necessarily built) before the current package is + patched. In a similar way, +HOST_LIBFOO_PATCH_DEPENDENCIES+ lists + the dependencies for the current host package. + This is seldom used; usually, +LIBFOO_DEPENDENCIES+ is what you + really want to use. + +* +LIBFOO_PROVIDES+ lists all the virtual packages +libfoo+ is an + implementation of. See xref:virtual-package-tutorial[]. + +* +LIBFOO_INSTALL_STAGING+ can be set to +YES+ or +NO+ (default). If + set to +YES+, then the commands in the +LIBFOO_INSTALL_STAGING_CMDS+ + variables are executed to install the package into the staging + directory. + +* +LIBFOO_INSTALL_TARGET+ can be set to +YES+ (default) or +NO+. If + set to +YES+, then the commands in the +LIBFOO_INSTALL_TARGET_CMDS+ + variables are executed to install the package into the target + directory. + +* +LIBFOO_INSTALL_IMAGES+ can be set to +YES+ or +NO+ (default). If + set to +YES+, then the commands in the +LIBFOO_INSTALL_IMAGES_CMDS+ + variable are executed to install the package into the images + directory. + +* +LIBFOO_CONFIG_SCRIPTS+ lists the names of the files in + '$(STAGING_DIR)/usr/bin' that need some special fixing to make them + cross-compiling friendly. Multiple file names separated by space can + be given and all are relative to '$(STAGING_DIR)/usr/bin'. The files + listed in +LIBFOO_CONFIG_SCRIPTS+ are also removed from + +$(TARGET_DIR)/usr/bin+ since they are not needed on the target. + +* +LIBFOO_DEVICES+ lists the device files to be created by Buildroot + when using the static device table. The syntax to use is the + makedevs one. You can find some documentation for this syntax in the + xref:makedev-syntax[]. This variable is optional. + +* +LIBFOO_PERMISSIONS+ lists the changes of permissions to be done at + the end of the build process. The syntax is once again the makedevs one. + You can find some documentation for this syntax in the xref:makedev-syntax[]. + This variable is optional. + +* +LIBFOO_USERS+ lists the users to create for this package, if it installs + a program you want to run as a specific user (e.g. as a daemon, or as a + cron-job). The syntax is similar in spirit to the makedevs one, and is + described in the xref:makeuser-syntax[]. This variable is optional. + +* +LIBFOO_LICENSE+ defines the license (or licenses) under which the package + is released. + This name will appear in the manifest file produced by +make legal-info+. + If the license appears in https://spdx.org/licenses/[the SPDX License List], + use the SPDX short identifier to make the manifest file uniform. + Otherwise, describe the license in a precise and concise way, avoiding + ambiguous names such as +BSD+ which actually name a family of licenses. + This variable is optional. If it is not defined, +unknown+ will appear in + the +license+ field of the manifest file for this package. + + The expected format for this variable must comply with the following rules: + ** If different parts of the package are released under different + licenses, then +comma+ separate licenses (e.g. +`LIBFOO_LICENSE = + GPL-2.0+, LGPL-2.1+`+). If there is clear distinction between which + component is licensed under what license, then annotate the license + with that component, between parenthesis (e.g. +`LIBFOO_LICENSE = + GPL-2.0+ (programs), LGPL-2.1+ (libraries)`+). + ** If some licenses are conditioned on a sub-option being enabled, append + the conditional licenses with a comma (e.g.: `FOO_LICENSE += , GPL-2.0+ + (programs)`); the infrastructure will internally remove the space before + the comma. + ** If the package is dual licensed, then separate licenses with the + +or+ keyword (e.g. +`LIBFOO_LICENSE = AFL-2.1 or GPL-2.0+`+). + +* +LIBFOO_LICENSE_FILES+ is a space-separated list of files in the package + tarball that contain the license(s) under which the package is released. + +make legal-info+ copies all of these files in the +legal-info+ directory. + See xref:legal-info[] for more information. + This variable is optional. If it is not defined, a warning will be produced + to let you know, and +not saved+ will appear in the +license files+ field + of the manifest file for this package. + +* +LIBFOO_ACTUAL_SOURCE_TARBALL+ only applies to packages whose + +LIBFOO_SITE+ / +LIBFOO_SOURCE+ pair points to an archive that does + not actually contain source code, but binary code. This a very + uncommon case, only known to apply to external toolchains which come + already compiled, although theoretically it might apply to other + packages. In such cases a separate tarball is usually available with + the actual source code. Set +LIBFOO_ACTUAL_SOURCE_TARBALL+ to the + name of the actual source code archive and Buildroot will download + it and use it when you run +make legal-info+ to collect + legally-relevant material. Note this file will not be downloaded + during regular builds nor by +make source+. + +* +LIBFOO_ACTUAL_SOURCE_SITE+ provides the location of the actual + source tarball. The default value is +LIBFOO_SITE+, so you don't + need to set this variable if the binary and source archives are + hosted on the same directory. If +LIBFOO_ACTUAL_SOURCE_TARBALL+ is + not set, it doesn't make sense to define + +LIBFOO_ACTUAL_SOURCE_SITE+. + +* +LIBFOO_REDISTRIBUTE+ can be set to +YES+ (default) or +NO+ to indicate if + the package source code is allowed to be redistributed. Set it to +NO+ for + non-opensource packages: Buildroot will not save the source code for this + package when collecting the +legal-info+. + +* +LIBFOO_FLAT_STACKSIZE+ defines the stack size of an application built into + the FLAT binary format. The application stack size on the NOMMU architecture + processors can't be enlarged at run time. The default stack size for the + FLAT binary format is only 4k bytes. If the application consumes more stack, + append the required number here. + +* +LIBFOO_BIN_ARCH_EXCLUDE+ is a space-separated list of paths (relative + to the target directory) to ignore when checking that the package + installs correctly cross-compiled binaries. You seldom need to set this + variable, unless the package installs binary blobs outside the default + locations, `/lib/firmware`, `/usr/lib/firmware`, `/lib/modules`, + `/usr/lib/modules`, and `/usr/share`, which are automatically excluded. + +* +LIBFOO_IGNORE_CVES+ is a space-separated list of CVEs that tells + Buildroot CVE tracking tools which CVEs should be ignored for this + package. This is typically used when the CVE is fixed by a patch in + the package, or when the CVE for some reason does not affect the + Buildroot package. A Makefile comment must always precede the + addition of a CVE to this variable. Example: + +---------------------- +# 0001-fix-cve-2020-12345.patch +LIBFOO_IGNORE_CVES += CVE-2020-12345 +# only when built with libbaz, which Buildroot doesn't support +LIBFOO_IGNORE_CVES += CVE-2020-54321 +---------------------- + +* +LIBFOO_CPE_ID_*+ variables is a set of variables that allows the + package to define its https://nvd.nist.gov/products/cpe[CPE + identifier]. The available variables are: ++ +-- +** +LIBFOO_CPE_ID_PREFIX+, specifies the prefix of the CPE identifier, + i.e the first three fields. When not defined, the default value is + +cpe:2.3:a+. + +** +LIBFOO_CPE_ID_VENDOR+, specifies the vendor part of the CPE + identifier. When not defined, the default value is + +_project+. + +** +LIBFOO_CPE_ID_PRODUCT+, specifies the product part of the CPE + identifier. When not defined, the default value is ++. + +** +LIBFOO_CPE_ID_VERSION+, specifies the version part of the CPE + identifier. When not defined the default value is + +$(LIBFOO_VERSION)+. + +** +LIBFOO_CPE_ID_UPDATE+ specifies the _update_ part of the CPE + identifier. When not defined the default value is +*+. +-- ++ +If any of those variables is defined, then the generic package +infrastructure assumes the package provides valid CPE information. In +this case, the generic package infrastructure will define ++LIBFOO_CPE_ID+. ++ +For a host package, if its +LIBFOO_CPE_ID_*+ variables are not +defined, it inherits the value of those variables from the +corresponding target package. + +The recommended way to define these variables is to use the following +syntax: + +---------------------- +LIBFOO_VERSION = 2.32 +---------------------- + +Now, the variables that define what should be performed at the +different steps of the build process. + +* +LIBFOO_EXTRACT_CMDS+ lists the actions to be performed to extract + the package. This is generally not needed as tarballs are + automatically handled by Buildroot. However, if the package uses a + non-standard archive format, such as a ZIP or RAR file, or has a + tarball with a non-standard organization, this variable allows to + override the package infrastructure default behavior. + +* +LIBFOO_CONFIGURE_CMDS+ lists the actions to be performed to + configure the package before its compilation. + +* +LIBFOO_BUILD_CMDS+ lists the actions to be performed to + compile the package. + +* +HOST_LIBFOO_INSTALL_CMDS+ lists the actions to be performed + to install the package, when the package is a host package. The + package must install its files to the directory given by + +$(HOST_DIR)+. All files, including development files such as + headers should be installed, since other packages might be compiled + on top of this package. + +* +LIBFOO_INSTALL_TARGET_CMDS+ lists the actions to be + performed to install the package to the target directory, when the + package is a target package. The package must install its files to + the directory given by +$(TARGET_DIR)+. Only the files required for + 'execution' of the package have to be + installed. Header files, static libraries and documentation will be + removed again when the target filesystem is finalized. + +* +LIBFOO_INSTALL_STAGING_CMDS+ lists the actions to be + performed to install the package to the staging directory, when the + package is a target package. The package must install its files to + the directory given by +$(STAGING_DIR)+. All development files + should be installed, since they might be needed to compile other + packages. + +* +LIBFOO_INSTALL_IMAGES_CMDS+ lists the actions to be performed to + install the package to the images directory, when the package is a + target package. The package must install its files to the directory + given by +$(BINARIES_DIR)+. Only files that are binary images (aka + images) that do not belong in the +TARGET_DIR+ but are necessary + for booting the board should be placed here. For example, a package + should utilize this step if it has binaries which would be similar + to the kernel image, bootloader or root filesystem images. + +* +LIBFOO_INSTALL_INIT_SYSV+, +LIBFOO_INSTALL_INIT_OPENRC+ and + +LIBFOO_INSTALL_INIT_SYSTEMD+ list the actions to install init + scripts either for the systemV-like init systems (busybox, + sysvinit, etc.), openrc or for the systemd units. These commands + will be run only when the relevant init system is installed (i.e. + if systemd is selected as the init system in the configuration, + only +LIBFOO_INSTALL_INIT_SYSTEMD+ will be run). The only exception + is when openrc is chosen as init system and +LIBFOO_INSTALL_INIT_OPENRC+ + has not been set, in such situation +LIBFOO_INSTALL_INIT_SYSV+ will + be called, since openrc supports sysv init scripts. + When systemd is used as the init system, buildroot will automatically enable + all services using the +systemctl preset-all+ command in the final phase of + image building. You can add preset files to prevent a particular unit from + being automatically enabled by buildroot. + +* +LIBFOO_HELP_CMDS+ lists the actions to print the package help, which + is included to the main +make help+ output. These commands can print + anything in any format. + This is seldom used, as packages rarely have custom rules. *Do not use + this variable*, unless you really know that you need to print help. + +* +LIBFOO_LINUX_CONFIG_FIXUPS+ lists the Linux kernel configuration + options that are needed to build and use this package, and without + which the package is fundamentally broken. This shall be a set of + calls to one of the kconfig tweaking option: `KCONFIG_ENABLE_OPT`, + `KCONFIG_DISABLE_OPT`, or `KCONFIG_SET_OPT`. + This is seldom used, as package usually have no strict requirements on + the kernel options. + +The preferred way to define these variables is: + +---------------------- +define LIBFOO_CONFIGURE_CMDS + action 1 + action 2 + action 3 +endef +---------------------- + +In the action definitions, you can use the following variables: + +* +$(LIBFOO_PKGDIR)+ contains the path to the directory containing the + +libfoo.mk+ and +Config.in+ files. This variable is useful when it is + necessary to install a file bundled in Buildroot, like a runtime + configuration file, a splashscreen image... + +* +$(@D)+, which contains the directory in which the package source + code has been uncompressed. + +* +$(LIBFOO_DL_DIR)+ contains the path to the directory where all the downloads + made by Buildroot for +libfoo+ are stored in. + +* +$(TARGET_CC)+, +$(TARGET_LD)+, etc. to get the target + cross-compilation utilities + +* +$(TARGET_CROSS)+ to get the cross-compilation toolchain prefix + +* Of course the +$(HOST_DIR)+, +$(STAGING_DIR)+ and +$(TARGET_DIR)+ + variables to install the packages properly. Those variables point to + the global _host_, _staging_ and _target_ directories, unless + _per-package directory_ support is used, in which case they point to + the current package _host_, _staging_ and _target_ directories. In + both cases, it doesn't make any difference from the package point of + view: it should simply use +HOST_DIR+, +STAGING_DIR+ and + +TARGET_DIR+. See xref:top-level-parallel-build[] for more details + about _per-package directory_ support. + +Finally, you can also use hooks. See xref:hooks[] for more information. diff --git a/buildroot-2021.05/docs/manual/adding-packages-gettext.txt b/buildroot-2022.02.1/docs/manual/adding-packages-gettext.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-gettext.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-gettext.txt diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-golang.txt b/buildroot-2022.02.1/docs/manual/adding-packages-golang.txt new file mode 100644 index 00000000..c952cde5 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-golang.txt @@ -0,0 +1,133 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for Go packages + +This infrastructure applies to Go packages that use the standard +build system and use bundled dependencies. + +[[golang-package-tutorial]] + +==== +golang-package+ tutorial + +First, let's see how to write a +.mk+ file for a go package, +with an example : + +------------------------ +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.0 +08: FOO_SITE = $(call github,bar,foo,$(FOO_VERSION)) +09: FOO_LICENSE = BSD-3-Clause +10: FOO_LICENSE_FILES = LICENSE +11: +12: $(eval $(golang-package)) +------------------------ + +On line 7, we declare the version of the package. + +On line 8, we declare the upstream location of the package, here +fetched from Github, since a large number of Go packages are hosted on +Github. + +On line 9 and 10, we give licensing details about the package. + +Finally, on line 12, we invoke the +golang-package+ macro that +generates all the Makefile rules that actually allow the package to be +built. + +[[golang-package-reference]] + +==== +golang-package+ reference + +In their +Config.in+ file, packages using the +golang-package+ +infrastructure should depend on +BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS+ +because Buildroot will automatically add a dependency on +host-go+ +to such packages. +If you need CGO support in your package, you must add a dependency on ++BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS+. + +The main macro of the Go package infrastructure is ++golang-package+. It is similar to the +generic-package+ macro. The +ability to build host packages is also available, with the ++host-golang-package+ macro. +Host packages built by +host-golang-package+ macro should depend on +BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS. + +Just like the generic infrastructure, the Go infrastructure works +by defining a number of variables before calling the +golang-package+. + +All the package metadata information variables that exist in the +xref:generic-package-reference[generic package infrastructure] also +exist in the Go infrastructure: +FOO_VERSION+, +FOO_SOURCE+, ++FOO_PATCH+, +FOO_SITE+, +FOO_SUBDIR+, +FOO_DEPENDENCIES+, ++FOO_LICENSE+, +FOO_LICENSE_FILES+, +FOO_INSTALL_STAGING+, etc. + +Note that it is not necessary to add +host-go+ in the ++FOO_DEPENDENCIES+ variable of a package, since this basic dependency +is automatically added as needed by the Go package infrastructure. + +A few additional variables, specific to the Go infrastructure, can +optionally be defined, depending on the package's needs. Many of them +are only useful in very specific cases, typical packages will +therefore only use a few of them, or none. + +* The package must specify its Go module name in the +FOO_GOMOD+ + variable. If not specified, it defaults to + +URL-domain/1st-part-of-URL/2nd-part-of-URL+, e.g +FOO_GOMOD+ will + take the value +github.com/bar/foo+ for a package that specifies + +FOO_SITE = $(call github,bar,foo,$(FOO_VERSION))+. The Go package + infrastructure will automatically generate a minimal +go.mod+ file + in the package source tree if it doesn't exist. + +* +FOO_LDFLAGS+ and +FOO_TAGS+ can be used to pass respectively the + +LDFLAGS+ or the +TAGS+ to the +go+ build command. + +* +FOO_BUILD_TARGETS+ can be used to pass the list of targets that + should be built. If +FOO_BUILD_TARGETS+ is not specified, it + defaults to +.+. We then have two cases: + +** +FOO_BUILD_TARGETS+ is +.+. In this case, we assume only one binary + will be produced, and that by default we name it after the package + name. If that is not appropriate, the name of the produced binary + can be overridden using +FOO_BIN_NAME+. + +** +FOO_BUILD_TARGETS+ is not +.+. In this case, we iterate over the + values to build each target, and for each produced a binary that is + the non-directory component of the target. For example if + +FOO_BUILD_TARGETS = cmd/docker cmd/dockerd+ the binaries produced + are +docker+ and +dockerd+. + +* +FOO_INSTALL_BINS+ can be used to pass the list of binaries that + should be installed in +/usr/bin+ on the target. If + +FOO_INSTALL_BINS+ is not specified, it defaults to the lower-case + name of package. + +With the Go infrastructure, all the steps required to build and +install the packages are already defined, and they generally work well +for most Go-based packages. However, when required, it is still +possible to customize what is done in any particular step: + +* By adding a post-operation hook (after extract, patch, configure, + build or install). See xref:hooks[] for details. + +* By overriding one of the steps. For example, even if the Go + infrastructure is used, if the package +.mk+ file defines its own + +FOO_BUILD_CMDS+ variable, it will be used instead of the default Go + one. However, using this method should be restricted to very + specific cases. Do not use it in the general case. + +A Go package can depend on other Go modules, listed in its +go.mod+ +file. Buildroot automatically takes care of downloading such +dependencies as part of the download step of packages that use the ++golang-package+ infrastructure. Such dependencies are then kept +together with the package source code in the tarball cached in +Buildroot's +DL_DIR+, and therefore the hash of the package's tarball +includes such dependencies. + +This mechanism ensures that any change in the dependencies will be +detected, and allows the build to be performed completely offline. diff --git a/buildroot-2021.05/docs/manual/adding-packages-hooks.txt b/buildroot-2022.02.1/docs/manual/adding-packages-hooks.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-hooks.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-hooks.txt diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-kconfig.txt b/buildroot-2022.02.1/docs/manual/adding-packages-kconfig.txt new file mode 100644 index 00000000..a3568177 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-kconfig.txt @@ -0,0 +1,96 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for packages using kconfig for configuration files + +A popular way for a software package to handle user-specified +configuration is +kconfig+. Among others, it is used by the Linux +kernel, Busybox, and Buildroot itself. The presence of a .config file +and a +menuconfig+ target are two well-known symptoms of kconfig being +used. + +Buildroot features an infrastructure for packages that use kconfig for +their configuration. This infrastructure provides the necessary logic to +expose the package's +menuconfig+ target as +foo-menuconfig+ in +Buildroot, and to handle the copying back and forth of the configuration +file in a correct way. + +The +kconfig-package+ infrastructure is based on the +generic-package+ +infrastructure. All variables supported by +generic-package+ are +available in +kconfig-package+ as well. See +xref:generic-package-reference[] for more details. + +In order to use the +kconfig-package+ infrastructure for a Buildroot +package, the minimally required lines in the +.mk+ file, in addition to +the variables required by the +generic-package+ infrastructure, are: + +------------------------------ +FOO_KCONFIG_FILE = reference-to-source-configuration-file + +$(eval $(kconfig-package)) +------------------------------ + +This snippet creates the following make targets: + +* +foo-menuconfig+, which calls the package's +menuconfig+ target + +* +foo-update-config+, which copies the configuration back to the + source configuration file. It is not possible to use this target + when fragment files are set. + +* +foo-update-defconfig+, which copies the configuration back to the + source configuration file. The configuration file will only list the + options that differ from the default values. It is not possible to + use this target when fragment files are set. + +* +foo-diff-config+, which outputs the differences between the current + configuration and the one defined in the Buildroot configuration for + this kconfig package. The output is useful to identify the + configuration changes that may have to be propagated to + configuration fragments for example. + +and ensures that the source configuration file is copied to the build +directory at the right moment. + +There are two options to specify a configuration file to use, either ++FOO_KCONFIG_FILE+ (as in the example, above) or +FOO_KCONFIG_DEFCONFIG+. +It is mandatory to provide either, but not both: + +* +FOO_KCONFIG_FILE+ specifies the path to a defconfig or full-config file + to be used to configure the package. + +* +FOO_KCONFIG_DEFCONFIG+ specifies the defconfig 'make' rule to call to + configure the package. + +In addition to these minimally required lines, several optional variables can +be set to suit the needs of the package under consideration: + +* +FOO_KCONFIG_EDITORS+: a space-separated list of kconfig editors to + support, for example 'menuconfig xconfig'. By default, 'menuconfig'. + +* +FOO_KCONFIG_FRAGMENT_FILES+: a space-separated list of configuration + fragment files that are merged to the main configuration file. + Fragment files are typically used when there is a desire to stay in sync + with an upstream (def)config file, with some minor modifications. + +* +FOO_KCONFIG_OPTS+: extra options to pass when calling the kconfig + editors. This may need to include '$(FOO_MAKE_OPTS)', for example. By + default, empty. + +* +FOO_KCONFIG_FIXUP_CMDS+: a list of shell commands needed to fixup the + configuration file after copying it or running a kconfig editor. Such + commands may be needed to ensure a configuration consistent with other + configuration of Buildroot, for example. By default, empty. + +* +FOO_KCONFIG_DOTCONFIG+: path (with filename) of the +.config+ file, + relative to the package source tree. The default, +.config+, should + be well suited for all packages that use the standard kconfig + infrastructure as inherited from the Linux kernel; some packages use + a derivative of kconfig that use a different location. + +* +FOO_KCONFIG_DEPENDENCIES+: the list of packages (most probably, host + packages) that need to be built before this package's kconfig is + interpreted. Seldom used. By default, empty. + +* +FOO_KCONFIG_SUPPORTS_DEFCONFIG+: whether the package's kconfig system + supports using defconfig files; few packages do not. By default, 'YES'. diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-kernel-module.txt b/buildroot-2022.02.1/docs/manual/adding-packages-kernel-module.txt new file mode 100644 index 00000000..1d425133 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-kernel-module.txt @@ -0,0 +1,143 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for packages building kernel modules + +Buildroot offers a helper infrastructure to make it easy to write packages that +build and install Linux kernel modules. Some packages only contain a kernel +module, other packages contain programs and libraries in addition to kernel +modules. Buildroot's helper infrastructure supports either case. + +[[kernel-module-tutorial]] +==== +kernel-module+ tutorial + +Let's start with an example on how to prepare a simple package that only +builds a kernel module, and no other component: + +---- +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.2.3 +08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz +09: FOO_SITE = http://www.foosoftware.org/download +10: FOO_LICENSE = GPL-2.0 +11: FOO_LICENSE_FILES = COPYING +12: +13: $(eval $(kernel-module)) +14: $(eval $(generic-package)) +---- + +Lines 7-11 define the usual meta-data to specify the version, archive name, +remote URI where to find the package source, licensing information. + +On line 13, we invoke the +kernel-module+ helper infrastructure, that +generates all the appropriate Makefile rules and variables to build +that kernel module. + +Finally, on line 14, we invoke the +xref:generic-package-tutorial[+generic-package+ infrastructure]. + +The dependency on +linux+ is automatically added, so it is not needed to +specify it in +FOO_DEPENDENCIES+. + +What you may have noticed is that, unlike other package infrastructures, +we explicitly invoke a second infrastructure. This allows a package to +build a kernel module, but also, if needed, use any one of other package +infrastructures to build normal userland components (libraries, +executables...). Using the +kernel-module+ infrastructure on its own is +not sufficient; another package infrastructure *must* be used. + +Let's look at a more complex example: + +---- +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.2.3 +08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz +09: FOO_SITE = http://www.foosoftware.org/download +10: FOO_LICENSE = GPL-2.0 +11: FOO_LICENSE_FILES = COPYING +12: +13: FOO_MODULE_SUBDIRS = driver/base +14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED) +15: +16: ifeq ($(BR2_PACKAGE_LIBBAR),y) +17: FOO_DEPENDENCIES += libbar +18: FOO_CONF_OPTS += --enable-bar +19: FOO_MODULE_SUBDIRS += driver/bar +20: else +21: FOO_CONF_OPTS += --disable-bar +22: endif +23: +24: $(eval $(kernel-module)) +26: $(eval $(autotools-package)) +---- + +Here, we see that we have an autotools-based package, that also builds +the kernel module located in sub-directory +driver/base+ and, if libbar +is enabled, the kernel module located in sub-directory +driver/bar+, and +defines the variable +KVERSION+ to be passed to the Linux buildsystem +when building the module(s). + + +[[kernel-module-reference]] +==== +kernel-module+ reference + +The main macro for the kernel module infrastructure is +kernel-module+. +Unlike other package infrastructures, it is not stand-alone, and requires +any of the other +*-package+ macros be called after it. + +The +kernel-module+ macro defines post-build and post-target-install +hooks to build the kernel modules. If the package's +.mk+ needs access +to the built kernel modules, it should do so in a post-build hook, +*registered after* the call to +kernel-module+. Similarly, if the +package's +.mk+ needs access to the kernel module after it has been +installed, it should do so in a post-install hook, *registered after* +the call to +kernel-module+. Here's an example: + +---- +$(eval $(kernel-module)) + +define FOO_DO_STUFF_WITH_KERNEL_MODULE + # Do something with it... +endef +FOO_POST_BUILD_HOOKS += FOO_DO_STUFF_WITH_KERNEL_MODULE + +$(eval $(generic-package)) +---- + +Finally, unlike the other package infrastructures, there is no ++host-kernel-module+ variant to build a host kernel module. + +The following additional variables can optionally be defined to further +configure the build of the kernel module: + +* +FOO_MODULE_SUBDIRS+ may be set to one or more sub-directories (relative + to the package source top-directory) where the kernel module sources are. + If empty or not set, the sources for the kernel module(s) are considered + to be located at the top of the package source tree. + +* +FOO_MODULE_MAKE_OPTS+ may be set to contain extra variable definitions + to pass to the Linux buildsystem. + +[[kernel-variables]] +You may also reference (but you may *not* set!) those variables: + + * +LINUX_DIR+ contains the path to where the Linux kernel has been + extracted and built. + + * +LINUX_VERSION+ contains the version string as configured by the user. + + * +LINUX_VERSION_PROBED+ contains the real version string of the kernel, + retrieved with running `make -C $(LINUX_DIR) kernelrelease` + + * +KERNEL_ARCH+ contains the name of the current architecture, like `arm`, + `mips`... diff --git a/buildroot-2021.05/docs/manual/adding-packages-linux-kernel-spec-infra.txt b/buildroot-2022.02.1/docs/manual/adding-packages-linux-kernel-spec-infra.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-linux-kernel-spec-infra.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-linux-kernel-spec-infra.txt diff --git a/buildroot-2021.05/docs/manual/adding-packages-luarocks.txt b/buildroot-2022.02.1/docs/manual/adding-packages-luarocks.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-luarocks.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-luarocks.txt diff --git a/buildroot-2021.05/docs/manual/adding-packages-meson.txt b/buildroot-2022.02.1/docs/manual/adding-packages-meson.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-meson.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-meson.txt diff --git a/buildroot-2021.05/docs/manual/adding-packages-perl.txt b/buildroot-2022.02.1/docs/manual/adding-packages-perl.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-perl.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-perl.txt diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-python.txt b/buildroot-2022.02.1/docs/manual/adding-packages-python.txt new file mode 100644 index 00000000..0141fea8 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-python.txt @@ -0,0 +1,245 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for Python packages + +This infrastructure applies to Python packages that use the standard +Python setuptools mechanism as their build system, generally +recognizable by the usage of a +setup.py+ script. + +[[python-package-tutorial]] + +==== +python-package+ tutorial + +First, let's see how to write a +.mk+ file for a Python package, +with an example : + +------------------------ +01: ################################################################################ +02: # +03: # python-foo +04: # +05: ################################################################################ +06: +07: PYTHON_FOO_VERSION = 1.0 +08: PYTHON_FOO_SOURCE = python-foo-$(PYTHON_FOO_VERSION).tar.xz +09: PYTHON_FOO_SITE = http://www.foosoftware.org/download +10: PYTHON_FOO_LICENSE = BSD-3-Clause +11: PYTHON_FOO_LICENSE_FILES = LICENSE +12: PYTHON_FOO_ENV = SOME_VAR=1 +13: PYTHON_FOO_DEPENDENCIES = libmad +14: PYTHON_FOO_SETUP_TYPE = distutils +15: +16: $(eval $(python-package)) +------------------------ + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location. + +On line 10 and 11, we give licensing details about the package (its +license on line 10, and the file containing the license text on line +11). + +On line 12, we tell Buildroot to pass custom options to the Python ++setup.py+ script when it is configuring the package. + +On line 13, we declare our dependencies, so that they are built +before the build process of our package starts. + +On line 14, we declare the specific Python build system being used. In +this case the +distutils+ Python build system is used. The two +supported ones are +distutils+ and +setuptools+. + +Finally, on line 16, we invoke the +python-package+ macro that +generates all the Makefile rules that actually allow the package to be +built. + +[[python-package-reference]] + +==== +python-package+ reference + +As a policy, packages that merely provide Python modules should all be +named +python-+ in Buildroot. Other packages that use the +Python build system, but are not Python modules, can freely choose +their name (existing examples in Buildroot are +scons+ and ++supervisor+). + +The main macro of the Python package infrastructure is ++python-package+. It is similar to the +generic-package+ macro. It is +also possible to create Python host packages with the ++host-python-package+ macro. + +Just like the generic infrastructure, the Python infrastructure works +by defining a number of variables before calling the +python-package+ +or +host-python-package+ macros. + +All the package metadata information variables that exist in the +xref:generic-package-reference[generic package infrastructure] also +exist in the Python infrastructure: +PYTHON_FOO_VERSION+, ++PYTHON_FOO_SOURCE+, +PYTHON_FOO_PATCH+, +PYTHON_FOO_SITE+, ++PYTHON_FOO_SUBDIR+, +PYTHON_FOO_DEPENDENCIES+, +PYTHON_FOO_LICENSE+, ++PYTHON_FOO_LICENSE_FILES+, +PYTHON_FOO_INSTALL_STAGING+, etc. + +Note that: + + * It is not necessary to add +python+ or +host-python+ in the + +PYTHON_FOO_DEPENDENCIES+ variable of a package, since these basic + dependencies are automatically added as needed by the Python + package infrastructure. + + * Similarly, it is not needed to add +host-setuptools+ to + +PYTHON_FOO_DEPENDENCIES+ for setuptools-based packages, since it's + automatically added by the Python infrastructure as needed. + +One variable specific to the Python infrastructure is mandatory: + +* +PYTHON_FOO_SETUP_TYPE+, to define which Python build system is used + by the package. The two supported values are +distutils+ and + +setuptools+. If you don't know which one is used in your package, + look at the +setup.py+ file in your package source code, and see + whether it imports things from the +distutils+ module or the + +setuptools+ module. + +A few additional variables, specific to the Python infrastructure, can +optionally be defined, depending on the package's needs. Many of them +are only useful in very specific cases, typical packages will +therefore only use a few of them, or none. + +* +PYTHON_FOO_SUBDIR+ may contain the name of a subdirectory inside the + package that contains the main +setup.py+ file. This is useful, + if for example, the main +setup.py+ file is not at the root of + the tree extracted by the tarball. If +HOST_PYTHON_FOO_SUBDIR+ is not + specified, it defaults to +PYTHON_FOO_SUBDIR+. + +* +PYTHON_FOO_ENV+, to specify additional environment variables to + pass to the Python +setup.py+ script (for both the build and install + steps). Note that the infrastructure is automatically passing + several standard variables, defined in +PKG_PYTHON_DISTUTILS_ENV+ + (for distutils target packages), +HOST_PKG_PYTHON_DISTUTILS_ENV+ + (for distutils host packages), +PKG_PYTHON_SETUPTOOLS_ENV+ (for + setuptools target packages) and +HOST_PKG_PYTHON_SETUPTOOLS_ENV+ + (for setuptools host packages). + +* +PYTHON_FOO_BUILD_OPTS+, to specify additional options to pass to the + Python +setup.py+ script during the build step. For target distutils + packages, the +PKG_PYTHON_DISTUTILS_BUILD_OPTS+ options are already + passed automatically by the infrastructure. + +* +PYTHON_FOO_INSTALL_TARGET_OPTS+, +PYTHON_FOO_INSTALL_STAGING_OPTS+, + +HOST_PYTHON_FOO_INSTALL_OPTS+ to specify additional options to pass + to the Python +setup.py+ script during the target installation step, + the staging installation step or the host installation, + respectively. Note that the infrastructure is automatically passing + some options, defined in +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS+ + or +PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS+ (for target distutils + packages), +HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS+ (for host + distutils packages), +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS+ or + +PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS+ (for target setuptools + packages) and +HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS+ (for host + setuptools packages). + +With the Python infrastructure, all the steps required to build and +install the packages are already defined, and they generally work well +for most Python-based packages. However, when required, it is still +possible to customize what is done in any particular step: + +* By adding a post-operation hook (after extract, patch, configure, + build or install). See xref:hooks[] for details. + +* By overriding one of the steps. For example, even if the Python + infrastructure is used, if the package +.mk+ file defines its own + +PYTHON_FOO_BUILD_CMDS+ variable, it will be used instead of the + default Python one. However, using this method should be restricted + to very specific cases. Do not use it in the general case. + +[[scanpypi]] + +==== Generating a +python-package+ from a PyPI repository + +If the Python package for which you would like to create a Buildroot +package is available on PyPI, you may want to use the +scanpypi+ tool +located in +utils/+ to automate the process. + +You can find the list of existing PyPI packages +https://pypi.python.org[here]. + ++scanpypi+ requires Python's +setuptools+ package to be installed on +your host. + +When at the root of your buildroot directory just do : + +----------------------- +utils/scanpypi foo bar -o package +----------------------- + +This will generate packages +python-foo+ and +python-bar+ in the package +folder if they exist on https://pypi.python.org. + +Find the +external python modules+ menu and insert your package inside. +Keep in mind that the items inside a menu should be in alphabetical order. + +Please keep in mind that you'll most likely have to manually check the +package for any mistakes as there are things that cannot be guessed by +the generator (e.g. dependencies on any of the python core modules +such as BR2_PACKAGE_PYTHON_ZLIB). Also, please take note that the +license and license files are guessed and must be checked. You also +need to manually add the package to the +package/Config.in+ file. + +If your Buildroot package is not in the official Buildroot tree but in +a br2-external tree, use the -o flag as follows: + +----------------------- +utils/scanpypi foo bar -o other_package_dir +----------------------- + +This will generate packages +python-foo+ and +python-bar+ in the ++other_package_directory+ instead of +package+. + +Option +-h+ will list the available options: + +----------------------- +utils/scanpypi -h +----------------------- + +[[python-package-cffi-backend]] + +==== +python-package+ CFFI backend + +C Foreign Function Interface for Python (CFFI) provides a convenient +and reliable way to call compiled C code from Python using interface +declarations written in C. Python packages relying on this backend can +be identified by the appearance of a +cffi+ dependency in the ++install_requires+ field of their +setup.py+ file. + +Such a package should: + + * add +python-cffi+ as a runtime dependency in order to install the +compiled C library wrapper on the target. This is achieved by adding ++select BR2_PACKAGE_PYTHON_CFFI+ to the package +Config.in+. + +------------------------ +config BR2_PACKAGE_PYTHON_FOO + bool "python-foo" + select BR2_PACKAGE_PYTHON_CFFI # runtime +------------------------ + + * add +host-python-cffi+ as a build-time dependency in order to +cross-compile the C wrapper. This is achieved by adding ++host-python-cffi+ to the +PYTHON_FOO_DEPENDENCIES+ variable. + +------------------------ +################################################################################ +# +# python-foo +# +################################################################################ + +... + +PYTHON_FOO_DEPENDENCIES = host-python-cffi + +$(eval $(python-package)) +------------------------ diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-qmake.txt b/buildroot-2022.02.1/docs/manual/adding-packages-qmake.txt new file mode 100644 index 00000000..699d082a --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-qmake.txt @@ -0,0 +1,85 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for QMake-based packages + +[[qmake-package-tutorial]] + +==== +qmake-package+ tutorial + +First, let's see how to write a +.mk+ file for a QMake-based package, with +an example : + +------------------------ +01: ################################################################################ +02: # +03: # libfoo +04: # +05: ################################################################################ +06: +07: LIBFOO_VERSION = 1.0 +08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz +09: LIBFOO_SITE = http://www.foosoftware.org/download +10: LIBFOO_CONF_OPTS = QT_CONFIG+=bar QT_CONFIG-=baz +11: LIBFOO_DEPENDENCIES = bar +12: +13: $(eval $(qmake-package)) +------------------------ + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location. + +On line 10, we tell Buildroot what options to enable for libfoo. + +On line 11, we tell Buildroot the dependencies of libfoo. + +Finally, on line line 13, we invoke the +qmake-package+ +macro that generates all the Makefile rules that actually allows the +package to be built. + +[[qmake-package-reference]] + +==== +qmake-package+ reference + +The main macro of the QMake package infrastructure is +qmake-package+. +It is similar to the +generic-package+ macro. + +Just like the generic infrastructure, the QMake infrastructure works +by defining a number of variables before calling the +qmake-package+ +macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the QMake infrastructure: ++LIBFOO_VERSION+, +LIBFOO_SOURCE+, +LIBFOO_PATCH+, +LIBFOO_SITE+, ++LIBFOO_SUBDIR+, +LIBFOO_DEPENDENCIES+, +LIBFOO_INSTALL_STAGING+, ++LIBFOO_INSTALL_TARGET+. + +An additional variable, specific to the QMake infrastructure, can +also be defined. + +* +LIBFOO_CONF_ENV+, to specify additional environment variables to + pass to the +qmake+ script for the configuration step. By default, empty. + +* +LIBFOO_CONF_OPTS+, to specify additional options to pass to the + +qmake+ script for the configuration step. By default, empty. + +* +LIBFOO_MAKE_ENV+, to specify additional environment variables to the + +make+ command during the build and install steps. By default, empty. + +* +LIBFOO_MAKE_OPTS+, to specify additional targets to pass to the + +make+ command during the build step. By default, empty. + +* +LIBFOO_INSTALL_STAGING_OPTS+, to specify additional targets to pass + to the +make+ command during the staging installation step. By default, + +install+. + +* +LIBFOO_INSTALL_TARGET_OPTS+, to specify additional targets to pass + to the +make+ command during the target installation step. By default, + +install+. + +* +LIBFOO_SYNC_QT_HEADERS+, to run syncqt.pl before qmake. Some packages + need this to have a properly populated include directory before + running the build. diff --git a/buildroot-2021.05/docs/manual/adding-packages-rebar.txt b/buildroot-2022.02.1/docs/manual/adding-packages-rebar.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-rebar.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-rebar.txt diff --git a/buildroot-2021.05/docs/manual/adding-packages-tips.txt b/buildroot-2022.02.1/docs/manual/adding-packages-tips.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-tips.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-tips.txt diff --git a/buildroot-2022.02.1/docs/manual/adding-packages-virtual.txt b/buildroot-2022.02.1/docs/manual/adding-packages-virtual.txt new file mode 100644 index 00000000..722e6e37 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/adding-packages-virtual.txt @@ -0,0 +1,144 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +=== Infrastructure for virtual packages + +[[virtual-package-tutorial]] + +In Buildroot, a virtual package is a package whose functionalities are +provided by one or more packages, referred to as 'providers'. The virtual +package management is an extensible mechanism allowing the user to choose +the provider used in the rootfs. + +For example, 'OpenGL ES' is an API for 2D and 3D graphics on embedded systems. +The implementation of this API is different for the 'Allwinner Tech Sunxi' and +the 'Texas Instruments OMAP35xx' platforms. So +libgles+ will be a virtual +package and +sunxi-mali-utgard+ and +ti-gfx+ will be the providers. + +==== +virtual-package+ tutorial + +In the following example, we will explain how to add a new virtual package +('something-virtual') and a provider for it ('some-provider'). + +First, let's create the virtual package. + +==== Virtual package's +Config.in+ file + +The +Config.in+ file of virtual package 'something-virtual' should contain: + +--------------------------- +01: config BR2_PACKAGE_HAS_SOMETHING_VIRTUAL +02: bool +03: +04: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL +05: depends on BR2_PACKAGE_HAS_SOMETHING_VIRTUAL +06: string +--------------------------- + +In this file, we declare two options, +BR2_PACKAGE_HAS_SOMETHING_VIRTUAL+ and ++BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL+, whose values will be used by the +providers. + +==== Virtual package's +.mk+ file + +The +.mk+ for the virtual package should just evaluate the +virtual-package+ macro: + +--------------------------- +01: ################################################################################ +02: # +03: # something-virtual +04: # +05: ################################################################################ +06: +07: $(eval $(virtual-package)) +--------------------------- + +The ability to have target and host packages is also available, with the ++host-virtual-package+ macro. + +==== Provider's +Config.in+ file + +When adding a package as a provider, only the +Config.in+ file requires some +modifications. + +The +Config.in+ file of the package 'some-provider', which provides the +functionalities of 'something-virtual', should contain: + +--------------------------- +01: config BR2_PACKAGE_SOME_PROVIDER +02: bool "some-provider" +03: select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL +04: help +05: This is a comment that explains what some-provider is. +06: +07: http://foosoftware.org/some-provider/ +08: +09: if BR2_PACKAGE_SOME_PROVIDER +10: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL +11: default "some-provider" +12: endif +--------------------------- + +On line 3, we select +BR2_PACKAGE_HAS_SOMETHING_VIRTUAL+, and on line 11, we +set the value of +BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL+ to the name of the +provider, but only if it is selected. + +==== Provider's +.mk+ file + +The +.mk+ file should also declare an additional variable ++SOME_PROVIDER_PROVIDES+ to contain the names of all the virtual +packages it is an implementation of: + +--------------------------- +01: SOME_PROVIDER_PROVIDES = something-virtual +--------------------------- + +Of course, do not forget to add the proper build and runtime dependencies for +this package! + +==== Notes on depending on a virtual package + +When adding a package that requires a certain +FEATURE+ provided by a virtual +package, you have to use +depends on BR2_PACKAGE_HAS_FEATURE+, like so: + +--------------------------- +config BR2_PACKAGE_HAS_FEATURE + bool + +config BR2_PACKAGE_FOO + bool "foo" + depends on BR2_PACKAGE_HAS_FEATURE +--------------------------- + +==== Notes on depending on a specific provider + +If your package really requires a specific provider, then you'll have to +make your package +depends on+ this provider; you can _not_ +select+ a +provider. + +Let's take an example with two providers for a +FEATURE+: + +--------------------------- +config BR2_PACKAGE_HAS_FEATURE + bool + +config BR2_PACKAGE_FOO + bool "foo" + select BR2_PACKAGE_HAS_FEATURE + +config BR2_PACKAGE_BAR + bool "bar" + select BR2_PACKAGE_HAS_FEATURE +--------------------------- + +And you are adding a package that needs +FEATURE+ as provided by +foo+, +but not as provided by +bar+. + +If you were to use +select BR2_PACKAGE_FOO+, then the user would still +be able to select +BR2_PACKAGE_BAR+ in the menuconfig. This would create +a configuration inconsistency, whereby two providers of the same +FEATURE+ +would be enabled at once, one explicitly set by the user, the other +implicitly by your +select+. + +Instead, you have to use +depends on BR2_PACKAGE_FOO+, which avoids any +implicit configuration inconsistency. diff --git a/buildroot-2021.05/docs/manual/adding-packages-waf.txt b/buildroot-2022.02.1/docs/manual/adding-packages-waf.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages-waf.txt rename to buildroot-2022.02.1/docs/manual/adding-packages-waf.txt diff --git a/buildroot-2021.05/docs/manual/adding-packages.txt b/buildroot-2022.02.1/docs/manual/adding-packages.txt similarity index 100% rename from buildroot-2021.05/docs/manual/adding-packages.txt rename to buildroot-2022.02.1/docs/manual/adding-packages.txt diff --git a/buildroot-2021.05/docs/manual/advanced.txt b/buildroot-2022.02.1/docs/manual/advanced.txt similarity index 100% rename from buildroot-2021.05/docs/manual/advanced.txt rename to buildroot-2022.02.1/docs/manual/advanced.txt diff --git a/buildroot-2021.05/docs/manual/appendix.txt b/buildroot-2022.02.1/docs/manual/appendix.txt similarity index 100% rename from buildroot-2021.05/docs/manual/appendix.txt rename to buildroot-2022.02.1/docs/manual/appendix.txt diff --git a/buildroot-2021.05/docs/manual/beyond-buildroot.txt b/buildroot-2022.02.1/docs/manual/beyond-buildroot.txt similarity index 100% rename from buildroot-2021.05/docs/manual/beyond-buildroot.txt rename to buildroot-2022.02.1/docs/manual/beyond-buildroot.txt diff --git a/buildroot-2021.05/docs/manual/ccache-support.txt b/buildroot-2022.02.1/docs/manual/ccache-support.txt similarity index 100% rename from buildroot-2021.05/docs/manual/ccache-support.txt rename to buildroot-2022.02.1/docs/manual/ccache-support.txt diff --git a/buildroot-2021.05/docs/manual/common-usage.txt b/buildroot-2022.02.1/docs/manual/common-usage.txt similarity index 100% rename from buildroot-2021.05/docs/manual/common-usage.txt rename to buildroot-2022.02.1/docs/manual/common-usage.txt diff --git a/buildroot-2021.05/docs/manual/configure-other-components.txt b/buildroot-2022.02.1/docs/manual/configure-other-components.txt similarity index 100% rename from buildroot-2021.05/docs/manual/configure-other-components.txt rename to buildroot-2022.02.1/docs/manual/configure-other-components.txt diff --git a/buildroot-2022.02.1/docs/manual/configure.txt b/buildroot-2022.02.1/docs/manual/configure.txt new file mode 100644 index 00000000..60860d2c --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/configure.txt @@ -0,0 +1,431 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +[[configure]] +== Buildroot configuration + +All the configuration options in +make *config+ have a help text +providing details about the option. + +The +make *config+ commands also offer a search tool. Read the help +message in the different frontend menus to know how to use it: + +* in _menuconfig_, the search tool is called by pressing +/+; +* in _xconfig_, the search tool is called by pressing +Ctrl+ + +f+. + +The result of the search shows the help message of the matching items. +In _menuconfig_, numbers in the left column provide a shortcut to the +corresponding entry. Just type this number to directly jump to the +entry, or to the containing menu in case the entry is not selectable due +to a missing dependency. + +Although the menu structure and the help text of the entries should be +sufficiently self-explanatory, a number of topics require additional +explanation that cannot easily be covered in the help text and are +therefore covered in the following sections. + +=== Cross-compilation toolchain + +A compilation toolchain is the set of tools that allows you to compile +code for your system. It consists of a compiler (in our case, +gcc+), +binary utils like assembler and linker (in our case, +binutils+) and a +C standard library (for example +http://www.gnu.org/software/libc/libc.html[GNU Libc], +http://www.uclibc-ng.org/[uClibc-ng]). + +The system installed on your development station certainly already has +a compilation toolchain that you can use to compile an application +that runs on your system. If you're using a PC, your compilation +toolchain runs on an x86 processor and generates code for an x86 +processor. Under most Linux systems, the compilation toolchain uses +the GNU libc (glibc) as the C standard library. This compilation +toolchain is called the "host compilation toolchain". The machine on +which it is running, and on which you're working, is called the "host +system" footnote:[This terminology differs from what is used by GNU +configure, where the host is the machine on which the application will +run (which is usually the same as target)]. + +The compilation toolchain is provided by your distribution, and +Buildroot has nothing to do with it (other than using it to build a +cross-compilation toolchain and other tools that are run on the +development host). + +As said above, the compilation toolchain that comes with your system +runs on and generates code for the processor in your host system. As +your embedded system has a different processor, you need a +cross-compilation toolchain - a compilation toolchain that runs on +your _host system_ but generates code for your _target system_ (and +target processor). For example, if your host system uses x86 and your +target system uses ARM, the regular compilation toolchain on your host +runs on x86 and generates code for x86, while the cross-compilation +toolchain runs on x86 and generates code for ARM. + +Buildroot provides two solutions for the cross-compilation toolchain: + + * The *internal toolchain backend*, called +Buildroot toolchain+ in + the configuration interface. + + * The *external toolchain backend*, called +External toolchain+ in + the configuration interface. + +The choice between these two solutions is done using the +Toolchain +Type+ option in the +Toolchain+ menu. Once one solution has been +chosen, a number of configuration options appear, they are detailed in +the following sections. + +[[internal-toolchain-backend]] +==== Internal toolchain backend + +The _internal toolchain backend_ is the backend where Buildroot builds +by itself a cross-compilation toolchain, before building the userspace +applications and libraries for your target embedded system. + +This backend supports several C libraries: +http://www.uclibc-ng.org[uClibc-ng], +http://www.gnu.org/software/libc/libc.html[glibc] and +http://www.musl-libc.org[musl]. + +Once you have selected this backend, a number of options appear. The +most important ones allow to: + + * Change the version of the Linux kernel headers used to build the + toolchain. This item deserves a few explanations. In the process of + building a cross-compilation toolchain, the C library is being + built. This library provides the interface between userspace + applications and the Linux kernel. In order to know how to "talk" + to the Linux kernel, the C library needs to have access to the + _Linux kernel headers_ (i.e. the +.h+ files from the kernel), which + define the interface between userspace and the kernel (system + calls, data structures, etc.). Since this interface is backward + compatible, the version of the Linux kernel headers used to build + your toolchain do not need to match _exactly_ the version of the + Linux kernel you intend to run on your embedded system. They only + need to have a version equal or older to the version of the Linux + kernel you intend to run. If you use kernel headers that are more + recent than the Linux kernel you run on your embedded system, then + the C library might be using interfaces that are not provided by + your Linux kernel. + + * Change the version of the GCC compiler, binutils and the C library. + + * Select a number of toolchain options (uClibc only): whether the + toolchain should have RPC support (used mainly for NFS), + wide-char support, locale support (for internationalization), + C++ support or thread support. Depending on which options you choose, + the number of userspace applications and libraries visible in + Buildroot menus will change: many applications and libraries require + certain toolchain options to be enabled. Most packages show a comment + when a certain toolchain option is required to be able to enable + those packages. If needed, you can further refine the uClibc + configuration by running +make uclibc-menuconfig+. Note however that + all packages in Buildroot are tested against the default uClibc + configuration bundled in Buildroot: if you deviate from this + configuration by removing features from uClibc, some packages may no + longer build. + +It is worth noting that whenever one of those options is modified, +then the entire toolchain and system must be rebuilt. See +xref:full-rebuild[]. + +Advantages of this backend: + +* Well integrated with Buildroot +* Fast, only builds what's necessary + +Drawbacks of this backend: + +* Rebuilding the toolchain is needed when doing +make clean+, which + takes time. If you're trying to reduce your build time, consider + using the _External toolchain backend_. + +[[external-toolchain-backend]] +==== External toolchain backend + +The _external toolchain backend_ allows to use existing pre-built +cross-compilation toolchains. Buildroot knows about a number of +well-known cross-compilation toolchains (from +http://www.linaro.org[Linaro] for ARM, +http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/[Sourcery +CodeBench] for ARM, x86-64, PowerPC, and MIPS, and is capable of +downloading them automatically, or it can be pointed to a custom +toolchain, either available for download or installed locally. + +Then, you have three solutions to use an external toolchain: + +* Use a predefined external toolchain profile, and let Buildroot + download, extract and install the toolchain. Buildroot already knows + about a few CodeSourcery and Linaro toolchains. Just select the + toolchain profile in +Toolchain+ from the available ones. This is + definitely the easiest solution. + +* Use a predefined external toolchain profile, but instead of having + Buildroot download and extract the toolchain, you can tell Buildroot + where your toolchain is already installed on your system. Just + select the toolchain profile in +Toolchain+ through the available + ones, unselect +Download toolchain automatically+, and fill the + +Toolchain path+ text entry with the path to your cross-compiling + toolchain. + +* Use a completely custom external toolchain. This is particularly + useful for toolchains generated using crosstool-NG or with Buildroot + itself. To do this, select the +Custom toolchain+ solution in the + +Toolchain+ list. You need to fill the +Toolchain path+, +Toolchain + prefix+ and +External toolchain C library+ options. Then, you have + to tell Buildroot what your external toolchain supports. If your + external toolchain uses the 'glibc' library, you only have to tell + whether your toolchain supports C\++ or not and whether it has + built-in RPC support. If your external toolchain uses the 'uClibc' + library, then you have to tell Buildroot if it supports RPC, + wide-char, locale, program invocation, threads and C++. + At the beginning of the execution, Buildroot will tell you if + the selected options do not match the toolchain configuration. + +Our external toolchain support has been tested with toolchains from +CodeSourcery and Linaro, toolchains generated by +http://crosstool-ng.org[crosstool-NG], and toolchains generated by +Buildroot itself. In general, all toolchains that support the +'sysroot' feature should work. If not, do not hesitate to contact the +developers. + +We do not support toolchains or SDK generated by OpenEmbedded or +Yocto, because these toolchains are not pure toolchains (i.e. just the +compiler, binutils, the C and C++ libraries). Instead these toolchains +come with a very large set of pre-compiled libraries and +programs. Therefore, Buildroot cannot import the 'sysroot' of the +toolchain, as it would contain hundreds of megabytes of pre-compiled +libraries that are normally built by Buildroot. + +We also do not support using the distribution toolchain (i.e. the +gcc/binutils/C library installed by your distribution) as the +toolchain to build software for the target. This is because your +distribution toolchain is not a "pure" toolchain (i.e. only with the +C/C++ library), so we cannot import it properly into the Buildroot +build environment. So even if you are building a system for a x86 or +x86_64 target, you have to generate a cross-compilation toolchain with +Buildroot or crosstool-NG. + +If you want to generate a custom toolchain for your project, that can +be used as an external toolchain in Buildroot, our recommendation is +to build it either with Buildroot itself (see +xref:build-toolchain-with-buildroot[]) or with +http://crosstool-ng.org[crosstool-NG]. + +Advantages of this backend: + +* Allows to use well-known and well-tested cross-compilation + toolchains. + +* Avoids the build time of the cross-compilation toolchain, which is + often very significant in the overall build time of an embedded + Linux system. + +Drawbacks of this backend: + +* If your pre-built external toolchain has a bug, may be hard to get a + fix from the toolchain vendor, unless you build your external + toolchain by yourself using Buildroot or Crosstool-NG. + +[[build-toolchain-with-buildroot]] +==== Build an external toolchain with Buildroot + +The Buildroot internal toolchain option can be used to create an +external toolchain. Here are a series of steps to build an internal +toolchain and package it up for reuse by Buildroot itself (or other +projects). + +Create a new Buildroot configuration, with the following details: + +* Select the appropriate *Target options* for your target CPU + architecture + +* In the *Toolchain* menu, keep the default of *Buildroot toolchain* + for *Toolchain type*, and configure your toolchain as desired + +* In the *System configuration* menu, select *None* as the *Init + system* and *none* as */bin/sh* + +* In the *Target packages* menu, disable *BusyBox* + +* In the *Filesystem images* menu, disable *tar the root filesystem* + +Then, we can trigger the build, and also ask Buildroot to generate a +SDK. This will conveniently generate for us a tarball which contains +our toolchain: + +----- +make sdk +----- + +This produces the SDK tarball in +$(O)/images+, with a name similar to ++arm-buildroot-linux-uclibcgnueabi_sdk-buildroot.tar.gz+. Save this +tarball, as it is now the toolchain that you can re-use as an external +toolchain in other Buildroot projects. + +In those other Buildroot projects, in the *Toolchain* menu: + +* Set *Toolchain type* to *External toolchain* + +* Set *Toolchain* to *Custom toolchain* + +* Set *Toolchain origin* to *Toolchain to be downloaded and installed* + +* Set *Toolchain URL* to +file:///path/to/your/sdk/tarball.tar.gz+ + +===== External toolchain wrapper + +When using an external toolchain, Buildroot generates a wrapper program, +that transparently passes the appropriate options (according to the +configuration) to the external toolchain programs. In case you need to +debug this wrapper to check exactly what arguments are passed, you can +set the environment variable +BR2_DEBUG_WRAPPER+ to either one of: + +* +0+, empty or not set: no debug + +* +1+: trace all arguments on a single line + +* +2+: trace one argument per line + +=== /dev management + +On a Linux system, the +/dev+ directory contains special files, called +_device files_, that allow userspace applications to access the +hardware devices managed by the Linux kernel. Without these _device +files_, your userspace applications would not be able to use the +hardware devices, even if they are properly recognized by the Linux +kernel. + +Under +System configuration+, +/dev management+, Buildroot offers four +different solutions to handle the +/dev+ directory : + + * The first solution is *Static using device table*. This is the old + classical way of handling device files in Linux. With this method, + the device files are persistently stored in the root filesystem + (i.e. they persist across reboots), and there is nothing that will + automatically create and remove those device files when hardware + devices are added or removed from the system. Buildroot therefore + creates a standard set of device files using a _device table_, the + default one being stored in +system/device_table_dev.txt+ in the + Buildroot source code. This file is processed when Buildroot + generates the final root filesystem image, and the _device files_ + are therefore not visible in the +output/target+ directory. The + +BR2_ROOTFS_STATIC_DEVICE_TABLE+ option allows to change the + default device table used by Buildroot, or to add an additional + device table, so that additional _device files_ are created by + Buildroot during the build. So, if you use this method, and a + _device file_ is missing in your system, you can for example create + a +board///device_table_dev.txt+ file + that contains the description of your additional _device files_, + and then you can set +BR2_ROOTFS_STATIC_DEVICE_TABLE+ to + +system/device_table_dev.txt + board///device_table_dev.txt+. For more + details about the format of the device table file, see + xref:makedev-syntax[]. + + * The second solution is *Dynamic using devtmpfs only*. _devtmpfs_ is + a virtual filesystem inside the Linux kernel that has been + introduced in kernel 2.6.32 (if you use an older kernel, it is not + possible to use this option). When mounted in +/dev+, this virtual + filesystem will automatically make _device files_ appear and + disappear as hardware devices are added and removed from the + system. This filesystem is not persistent across reboots: it is + filled dynamically by the kernel. Using _devtmpfs_ requires the + following kernel configuration options to be enabled: + +CONFIG_DEVTMPFS+ and +CONFIG_DEVTMPFS_MOUNT+. When Buildroot is in + charge of building the Linux kernel for your embedded device, it + makes sure that those two options are enabled. However, if you + build your Linux kernel outside of Buildroot, then it is your + responsibility to enable those two options (if you fail to do so, + your Buildroot system will not boot). + + * The third solution is *Dynamic using devtmpfs + mdev*. This method + also relies on the _devtmpfs_ virtual filesystem detailed above (so + the requirement to have +CONFIG_DEVTMPFS+ and + +CONFIG_DEVTMPFS_MOUNT+ enabled in the kernel configuration still + apply), but adds the +mdev+ userspace utility on top of it. +mdev+ + is a program part of BusyBox that the kernel will call every time a + device is added or removed. Thanks to the +/etc/mdev.conf+ + configuration file, +mdev+ can be configured to for example, set + specific permissions or ownership on a device file, call a script + or application whenever a device appears or disappear, + etc. Basically, it allows _userspace_ to react on device addition + and removal events. +mdev+ can for example be used to automatically + load kernel modules when devices appear on the system. +mdev+ is + also important if you have devices that require a firmware, as it + will be responsible for pushing the firmware contents to the + kernel. +mdev+ is a lightweight implementation (with fewer + features) of +udev+. For more details about +mdev+ and the syntax + of its configuration file, see + http://git.busybox.net/busybox/tree/docs/mdev.txt. + + * The fourth solution is *Dynamic using devtmpfs + eudev*. This + method also relies on the _devtmpfs_ virtual filesystem detailed + above, but adds the +eudev+ userspace daemon on top of it. +eudev+ + is a daemon that runs in the background, and gets called by the + kernel when a device gets added or removed from the system. It is a + more heavyweight solution than +mdev+, but provides higher + flexibility. +eudev+ is a standalone version of +udev+, the + original userspace daemon used in most desktop Linux distributions, + which is now part of Systemd. For more details, see + http://en.wikipedia.org/wiki/Udev. + +The Buildroot developers recommendation is to start with the *Dynamic +using devtmpfs only* solution, until you have the need for userspace +to be notified when devices are added/removed, or if firmwares are +needed, in which case *Dynamic using devtmpfs + mdev* is usually a +good solution. + +Note that if +systemd+ is chosen as init system, /dev management will +be performed by the +udev+ program provided by +systemd+. + +[[init-system]] +=== init system + +The _init_ program is the first userspace program started by the +kernel (it carries the PID number 1), and is responsible for starting +the userspace services and programs (for example: web server, +graphical applications, other network servers, etc.). + +Buildroot allows to use three different types of init systems, which +can be chosen from +System configuration+, +Init system+: + + * The first solution is *BusyBox*. Amongst many programs, BusyBox has + an implementation of a basic +init+ program, which is sufficient + for most embedded systems. Enabling the +BR2_INIT_BUSYBOX+ will + ensure BusyBox will build and install its +init+ program. This is + the default solution in Buildroot. The BusyBox +init+ program will + read the +/etc/inittab+ file at boot to know what to do. The syntax + of this file can be found in + http://git.busybox.net/busybox/tree/examples/inittab (note that + BusyBox +inittab+ syntax is special: do not use a random +inittab+ + documentation from the Internet to learn about BusyBox + +inittab+). The default +inittab+ in Buildroot is stored in + +system/skeleton/etc/inittab+. Apart from mounting a few important + filesystems, the main job the default inittab does is to start the + +/etc/init.d/rcS+ shell script, and start a +getty+ program (which + provides a login prompt). + + * The second solution is *systemV*. This solution uses the old + traditional _sysvinit_ program, packed in Buildroot in + +package/sysvinit+. This was the solution used in most desktop + Linux distributions, until they switched to more recent + alternatives such as Upstart or Systemd. +sysvinit+ also works with + an +inittab+ file (which has a slightly different syntax than the + one from BusyBox). The default +inittab+ installed with this init + solution is located in +package/sysvinit/inittab+. + + * The third solution is *systemd*. +systemd+ is the new generation + init system for Linux. It does far more than traditional _init_ + programs: aggressive parallelization capabilities, uses socket and + D-Bus activation for starting services, offers on-demand starting + of daemons, keeps track of processes using Linux control groups, + supports snapshotting and restoring of the system state, + etc. +systemd+ will be useful on relatively complex embedded + systems, for example the ones requiring D-Bus and services + communicating between each other. It is worth noting that +systemd+ + brings a fairly big number of large dependencies: +dbus+, +udev+ + and more. For more details about +systemd+, see + http://www.freedesktop.org/wiki/Software/systemd. + +The solution recommended by Buildroot developers is to use the +*BusyBox init* as it is sufficient for most embedded +systems. *systemd* can be used for more complex situations. diff --git a/buildroot-2022.02.1/docs/manual/contribute.txt b/buildroot-2022.02.1/docs/manual/contribute.txt new file mode 100644 index 00000000..bf2aed6b --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/contribute.txt @@ -0,0 +1,712 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +== Contributing to Buildroot + +There are many ways in which you can contribute to Buildroot: analyzing +and fixing bugs, analyzing and fixing package build failures detected by +the autobuilders, testing and reviewing patches sent by other +developers, working on the items in our TODO list and sending your own +improvements to Buildroot or its manual. The following sections give a +little more detail on each of these items. + +If you are interested in contributing to Buildroot, the first thing you +should do is to subscribe to the Buildroot mailing list. This list is +the main way of interacting with other Buildroot developers and to send +contributions to. If you aren't subscribed yet, then refer to +xref:community-resources[] for the subscription link. + +If you are going to touch the code, it is highly recommended to use a +git repository of Buildroot, rather than starting from an extracted +source code tarball. Git is the easiest way to develop from and directly +send your patches to the mailing list. Refer to xref:getting-buildroot[] +for more information on obtaining a Buildroot git tree. + +=== Reproducing, analyzing and fixing bugs + +A first way of contributing is to have a look at the open bug reports in +the https://bugs.buildroot.org/buglist.cgi?product=buildroot[Buildroot bug +tracker]. As we strive to keep the bug count as small as possible, all +help in reproducing, analyzing and fixing reported bugs is more than +welcome. Don't hesitate to add a comment to bug reports reporting your +findings, even if you don't yet see the full picture. + +=== Analyzing and fixing autobuild failures + +The Buildroot autobuilders are a set of build machines that continuously +run Buildroot builds based on random configurations. This is done for +all architectures supported by Buildroot, with various toolchains, and +with a random selection of packages. With the large commit activity on +Buildroot, these autobuilders are a great help in detecting problems +very early after commit. + +All build results are available at http://autobuild.buildroot.org[], +statistics are at http://autobuild.buildroot.org/stats.php[]. Every day, +an overview of all failed packages is sent to the mailing list. + +Detecting problems is great, but obviously these problems have to be +fixed as well. Your contribution is very welcome here! There are +basically two things that can be done: + +- Analyzing the problems. The daily summary mails do not contain details + about the actual failures: in order to see what's going on you have to + open the build log and check the last output. Having someone doing + this for all packages in the mail is very useful for other developers, + as they can make a quick initial analysis based on this output alone. + +- Fixing a problem. When fixing autobuild failures, you should follow + these steps: + . Check if you can reproduce the problem by building with the same + configuration. You can do this manually, or use the + http://git.buildroot.org/buildroot-test/tree/utils/br-reproduce-build[br-reproduce-build] + script that will automatically clone a Buildroot git repository, + checkout the correct revision, download and set the right + configuration, and start the build. + . Analyze the problem and create a fix. + . Verify that the problem is really fixed by starting from a clean + Buildroot tree and only applying your fix. + . Send the fix to the Buildroot mailing list (see + xref:submitting-patches[]). In case you created a patch against the + package sources, you should also send the patch upstream so that the + problem will be fixed in a later release, and the patch in Buildroot + can be removed. + In the commit message of a patch fixing an autobuild failure, add a + reference to the build result directory, as follows: +--------------------- +Fixes: http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069 +--------------------- + +=== Reviewing and testing patches + +With the amount of patches sent to the mailing list each day, the +maintainer has a very hard job to judge which patches are ready to apply +and which ones aren't. Contributors can greatly help here by reviewing +and testing these patches. + +In the review process, do not hesitate to respond to patch submissions +for remarks, suggestions or anything that will help everyone to +understand the patches and make them better. Please use internet +style replies in plain text emails when responding to patch +submissions. + +To indicate approval of a patch, there are three formal tags that keep +track of this approval. To add your tag to a patch, reply to it with the +approval tag below the original author's Signed-off-by line. These tags +will be picked up automatically by patchwork (see +xref:apply-patches-patchwork[]) and will be part of the commit log when +the patch is accepted. + +Tested-by:: Indicates that the patch has been tested successfully. + You are encouraged to specify what kind of testing you performed + (compile-test on architecture X and Y, runtime test on target A, + ...). This additional information helps other testers and the + maintainer. + +Reviewed-by:: Indicates that you code-reviewed the patch and did your + best in spotting problems, but you are not sufficiently familiar with + the area touched to provide an Acked-by tag. This means that there + may be remaining problems in the patch that would be spotted by + someone with more experience in that area. Should such problems be + detected, your Reviewed-by tag remains appropriate and you cannot + be blamed. + +Acked-by:: Indicates that you code-reviewed the patch and you are + familiar enough with the area touched to feel that the patch can be + committed as-is (no additional changes required). In case it later + turns out that something is wrong with the patch, your Acked-by could + be considered inappropriate. The difference between Acked-by and + Reviewed-by is thus mainly that you are prepared to take the blame on + Acked patches, but not on Reviewed ones. + +If you reviewed a patch and have comments on it, you should simply reply +to the patch stating these comments, without providing a Reviewed-by or +Acked-by tag. These tags should only be provided if you judge the patch +to be good as it is. + +It is important to note that neither Reviewed-by nor Acked-by imply +that testing has been performed. To indicate that you both reviewed and +tested the patch, provide two separate tags (Reviewed/Acked-by and +Tested-by). + +Note also that _any developer_ can provide Tested/Reviewed/Acked-by +tags, without exception, and we encourage everyone to do this. Buildroot +does not have a defined group of _core_ developers, it just so happens +that some developers are more active than others. The maintainer will +value tags according to the track record of their submitter. Tags +provided by a regular contributor will naturally be trusted more than +tags provided by a newcomer. As you provide tags more regularly, your +'trustworthiness' (in the eyes of the maintainer) will go up, but _any_ +tag provided is valuable. + +Buildroot's Patchwork website can be used to pull in patches for testing +purposes. Please see xref:apply-patches-patchwork[] for more +information on using Buildroot's Patchwork website to apply patches. + +[[apply-patches-patchwork]] +==== Applying Patches from Patchwork + +The main use of Buildroot's Patchwork website for a developer is for +pulling in patches into their local git repository for testing +purposes. + +When browsing patches in the patchwork management interface, an +mbox+ +link is provided at the top of the page. Copy this link address and +run the following commands: + +--------------------- +$ git checkout -b +$ wget -O - | git am +--------------------- + +Another option for applying patches is to create a bundle. A bundle is +a set of patches that you can group together using the patchwork +interface. Once the bundle is created and the bundle is made public, +you can copy the +mbox+ link for the bundle and apply the bundle +using the above commands. + + +=== Work on items from the TODO list + +If you want to contribute to Buildroot but don't know where to start, +and you don't like any of the above topics, you can always work on items +from the http://elinux.org/Buildroot#Todo_list[Buildroot TODO list]. +Don't hesitate to discuss an item first on the mailing list or on IRC. +Do edit the wiki to indicate when you start working on an item, so we +avoid duplicate efforts. + +[[submitting-patches]] +=== Submitting patches + +[NOTE] +_Please, do not attach patches to bugs, send them to the mailing list +instead_. + +If you made some changes to Buildroot and you would like to contribute +them to the Buildroot project, proceed as follows. + +==== The formatting of a patch + +We expect patches to be formatted in a specific way. This is necessary +to make it easy to review patches, to be able to apply them easily to +the git repository, to make it easy to find back in the history how +and why things have changed, and to make it possible to use +git +bisect+ to locate the origin of a problem. + +First of all, it is essential that the patch has a good commit +message. The commit message should start with a separate line with a +brief summary of the change, prefixed by the area touched by the +patch. A few examples of good commit titles: + +* +package/linuxptp: bump version to 2.0+ + +* +configs/imx23evk: bump Linux version to 4.19+ + +* +package/pkg-generic: postpone evaluation of dependency conditions+ + +* +boot/uboot: needs host-{flex,bison}+ + +* +support/testing: add python-ubjson tests+ + +The description that follows the prefix should start with a lower case +letter (i.e "bump", "needs", "postpone", "add" in the above examples). + +Second, the body of the commit message should describe _why_ this +change is needed, and if necessary also give details about _how_ it +was done. When writing the commit message, think of how the reviewers +will read it, but also think about how you will read it when you look +at this change again a few years down the line. + +Third, the patch itself should do only one change, but do it +completely. Two unrelated or weakly related changes should usually be +done in two separate patches. This usually means that a patch affects +only a single package. If several changes are related, it is often +still possible to split them up in small patches and apply them in a +specific order. Small patches make it easier to review, and often +make it easier to understand afterwards why a change was done. +However, each patch must be complete. It is not allowed that the +build is broken when only the first but not the second patch is +applied. This is necessary to be able to use +git bisect+ afterwards. + +Of course, while you're doing your development, you're probably going +back and forth between packages, and certainly not committing things +immediately in a way that is clean enough for submission. So most +developers rewrite the history of commits to produce a clean set of +commits that is appropriate for submission. To do this, you need to +use _interactive rebasing_. You can learn about it +https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History[in the Pro +Git book]. Sometimes, it is even easier to discard you history with ++git reset --soft origin/master+ and select individual changes with ++git add -i+ or +git add -p+. + +Finally, the patch should be signed off. This is done by adding ++Signed-off-by: Your Real Name + at the end of the +commit message. +git commit -s+ does that for you, if configured +properly. The +Signed-off-by+ tag means that you publish the patch +under the Buildroot license (i.e. GPL-2.0+, except for package patches, +which have the upstream license), and that you are allowed to do so. +See http://developercertificate.org/[the Developer Certificate of +Origin] for details. + +When adding new packages, you should submit every package in a +separate patch. This patch should have the update to ++package/Config.in+, the package +Config.in+ file, the +.mk+ file, the ++.hash+ file, any init script, and all package patches. If the package +has many sub-options, these are sometimes better added as separate +follow-up patches. The summary line should be something like ++: new package+. The body of the commit message can be +empty for simple packages, or it can contain the description of the +package (like the Config.in help text). If anything special has to be +done to build the package, this should also be explained explicitly in +the commit message body. + +When you bump a package to a new version, you should also submit a +separate patch for each package. Don't forget to update the +.hash+ +file, or add it if it doesn't exist yet. Also don't forget to check if +the +_LICENSE+ and +_LICENSE_FILES+ are still valid. The summary line +should be something like +: bump to version +. If the new version only contains security updates compared +to the existing one, the summary should be +: security +bump to version + and the commit message body should show +the CVE numbers that are fixed. If some package patches can be removed +in the new version, it should be explained explicitly why they can be +removed, preferably with the upstream commit ID. Also any other +required changes should be explained explicitly, like configure +options that no longer exist or are no longer needed. + +If you are interested in getting notified of build failures and of +further changes in the packages you added or modified, please add +yourself to the DEVELOPERS file. This should be done in the same patch +creating or modifying the package. See xref:DEVELOPERS[the DEVELOPERS file] +for more information. + +Buildroot provides a handy tool to check for common coding style +mistakes on files you created or modified, called +check-package+ (see +xref:check-package[] for more information). + +==== Preparing a patch series + +Starting from the changes committed in your local git view, _rebase_ +your development branch on top of the upstream tree before generating +a patch set. To do so, run: + +--------------------- +$ git fetch --all --tags +$ git rebase origin/master +--------------------- + +Now, you are ready to generate then submit your patch set. + +To generate it, run: + +--------------------- +$ git format-patch -M -n -s -o outgoing origin/master +--------------------- + +This will generate patch files in the +outgoing+ subdirectory, +automatically adding the +Signed-off-by+ line. + +Once patch files are generated, you can review/edit the commit message +before submitting them, using your favorite text editor. + +Buildroot provides a handy tool to know to whom your patches should be +sent, called +get-developers+ (see xref:DEVELOPERS[] for more +information). This tool reads your patches and outputs the appropriate ++git send-email+ command to use: + +--------------------- +$ ./utils/get-developers outgoing/* +--------------------- + +Use the output of +get-developers+ to send your patches: + +--------------------- +$ git send-email --to buildroot@buildroot.org --cc bob --cc alice outgoing/* +--------------------- + +Alternatively, +get-developers -e+ can be used directly with the ++--cc-cmd+ argument to +git send-email+ to automatically CC the +affected developers: + +--------------------- +$ git send-email --to buildroot@buildroot.org \ + --cc-cmd './utils/get-developers -e' origin/master +--------------------- + ++git+ can be configured to automatically do this out of the box with: + +--------------------- +$ git config sendemail.to buildroot@buildroot.org +$ git config sendemail.ccCmd "$(pwd)/utils/get-developers -e" +--------------------- + +And then just do: + +--------------------- +$ git send-email origin/master +--------------------- + +Note that +git+ should be configured to use your mail account. +To configure +git+, see +man git-send-email+ or google it. + +If you do not use +git send-email+, make sure posted *patches are not +line-wrapped*, otherwise they cannot easily be applied. In such a case, +fix your e-mail client, or better yet, learn to use +git send-email+. + +==== Cover letter + +If you want to present the whole patch set in a separate mail, add ++--cover-letter+ to the +git format-patch+ command (see +man +git-format-patch+ for further information). This will generate a +template for an introduction e-mail to your patch series. + +A 'cover letter' may be useful to introduce the changes you propose +in the following cases: + +* large number of commits in the series; + +* deep impact of the changes in the rest of the project; + +* RFC footnote:[RFC: (Request for comments) change proposal]; + +* whenever you feel it will help presenting your work, your choices, + the review process, etc. + +==== Patches for maintenance branches + +When fixing bugs on a maintenance branch, bugs should be fixed on the +master branch first. The commit log for such a patch may then contain a +post-commit note specifying what branches are affected: + +---- +package/foo: fix stuff + +Signed-off-by: Your Real Name +--- +Backport to: 2020.02.x, 2020.05.x +(2020.08.x not affected as the version was bumped) +---- + +Those changes will then be backported by a maintainer to the affected +branches. + +However, some bugs may apply only to a specific release, for example +because it is using an older version of a package. In that case, patches +should be based off the maintenance branch, and the patch subject prefix +must include the maintenance branch name (for example "[PATCH 2020.02.x]"). +This can be done with the +git format-patch+ flag +--subject-prefix+: + +--------------------- +$ git format-patch --subject-prefix "PATCH 2020.02.x" \ + -M -s -o outgoing origin/2020.02.x +--------------------- + +Then send the patches with +git send-email+, as described above. + +==== Patch revision changelog + +When improvements are requested, the new revision of each commit +should include a changelog of the modifications between each +submission. Note that when your patch series is introduced by a cover +letter, an overall changelog may be added to the cover letter in +addition to the changelog in the individual commits. +The best thing to rework a patch series is by interactive rebasing: ++git rebase -i origin/master+. Consult the git manual for more +information. + +When added to the individual commits, this changelog is added when +editing the commit message. Below the +Signed-off-by+ section, add ++---+ and your changelog. + +Although the changelog will be visible for the reviewers in the mail +thread, as well as in http://patchwork.buildroot.org[patchwork], +git+ +will automatically ignores lines below +---+ when the patch will be +merged. This is the intended behavior: the changelog is not meant to +be preserved forever in the +git+ history of the project. + +Hereafter the recommended layout: + +--------------- +Patch title: short explanation, max 72 chars + +A paragraph that explains the problem, and how it manifests itself. If +the problem is complex, it is OK to add more paragraphs. All paragraphs +should be wrapped at 72 characters. + +A paragraph that explains the root cause of the problem. Again, more +than one paragraph is OK. + +Finally, one or more paragraphs that explain how the problem is solved. +Don't hesitate to explain complex solutions in detail. + +Signed-off-by: John DOE + +--- +Changes v2 -> v3: + - foo bar (suggested by Jane) + - bar buz + +Changes v1 -> v2: + - alpha bravo (suggested by John) + - charly delta +--------------- + +Any patch revision should include the version number. The version number +is simply composed of the letter +v+ followed by an +integer+ greater or +equal to two (i.e. "PATCH v2", "PATCH v3" ...). + +This can be easily handled with +git format-patch+ by using the option ++--subject-prefix+: + +--------------------- +$ git format-patch --subject-prefix "PATCH v4" \ + -M -s -o outgoing origin/master +--------------------- + +Since git version 1.8.1, you can also use +-v + (where is the +version number): + +--------------------- +$ git format-patch -v4 -M -s -o outgoing origin/master +--------------------- + +When you provide a new version of a patch, please mark the old one as +superseded in http://patchwork.buildroot.org[patchwork]. You need to +create an account on http://patchwork.buildroot.org[patchwork] to be +able to modify the status of your patches. Note that you can only change +the status of patches you submitted yourself, which means the email +address you register in http://patchwork.buildroot.org[patchwork] should +match the one you use for sending patches to the mailing list. + +You can also add the +--in-reply-to + option when +submitting a patch to the mailing list. The id of the mail to reply to +can be found under the "Message Id" tag on +http://patchwork.buildroot.org[patchwork]. The advantage of +*in-reply-to* is that patchwork will automatically mark the previous +version of the patch as superseded. + +[[reporting-bugs]] +=== Reporting issues/bugs or getting help + +Before reporting any issue, please check in +xref:community-resources[the mailing list archive] whether someone has +already reported and/or fixed a similar problem. + +However you choose to report bugs or get help, either by +opening a bug in the xref:community-resources[bug tracker] or by +xref:community-resources[sending a mail to the mailing list], there are +a number of details to provide in order to help people reproduce and +find a solution to the issue. + +Try to think as if you were trying to help someone else; in +that case, what would you need? + +Here is a short list of details to provide in such case: + +* host machine (OS/release) +* version of Buildroot +* target for which the build fails +* package(s) for which the build fails +* the command that fails and its output +* any information you think that may be relevant + +Additionally, you should add the +.config+ file (or if you know how, a ++defconfig+; see xref:customize-store-buildroot-config[]). + +If some of these details are too large, do not hesitate to use a +pastebin service. Note that not all available pastebin services will +preserve Unix-style line terminators when downloading raw pastes. +Following pastebin services are known to work correctly: +- https://gist.github.com/ +- http://code.bulix.org/ + +=== Using the runtime tests framework + +Buildroot includes a run-time testing framework built upon Python +scripting and QEMU runtime execution. The goals of the framework are +the following: + +* build a well defined Buildroot configuration +* optionally, verify some properties of the build output +* optionally, boot the build results under Qemu, and verify that a + given feature is working as expected + +The entry point to use the runtime tests framework is the ++support/testing/run-tests+ tool, which has a series of options +documented in the tool's help '-h' description. Some common options +include setting the download folder, the output folder, keeping build +output, and for multiple test cases, you can set the JLEVEL for each. + +Here is an example walk through of running a test case. + +* For a first step, let us see what all the test case options are. The test +cases can be listed by executing +support/testing/run-tests -l+. These tests +can all be run individually during test development from the console. Both +one at a time and selectively as a group of a subset of tests. + +--------------------- +$ support/testing/run-tests -l +List of tests +test_run (tests.utils.test_check_package.TestCheckPackage) +test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootMusl) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainCCache) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainCtngMusl) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainLinaroArm) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv4) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv5) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv7) ... ok +[snip] +test_run (tests.init.test_systemd.TestInitSystemSystemdRoFull) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRoIfupdown) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRoNetworkd) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRwFull) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRwIfupdown) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRwNetworkd) ... ok +test_run (tests.init.test_busybox.TestInitSystemBusyboxRo) ... ok +test_run (tests.init.test_busybox.TestInitSystemBusyboxRoNet) ... ok +test_run (tests.init.test_busybox.TestInitSystemBusyboxRw) ... ok +test_run (tests.init.test_busybox.TestInitSystemBusyboxRwNet) ... ok + +Ran 157 tests in 0.021s + +OK +--------------------- + +* Then, to run one test case: + +--------------------- +$ support/testing/run-tests -d dl -o output_folder -k tests.init.test_busybox.TestInitSystemBusyboxRw +15:03:26 TestInitSystemBusyboxRw Starting +15:03:28 TestInitSystemBusyboxRw Building +15:08:18 TestInitSystemBusyboxRw Building done +15:08:27 TestInitSystemBusyboxRw Cleaning up +. +Ran 1 test in 301.140s + +OK +--------------------- + +The standard output indicates if the test is successful or not. By +default, the output folder for the test is deleted automatically +unless the option +-k+ is passed to *keep* the output directory. + +==== Creating a test case + +Within the Buildroot repository, the testing framework is organized at the +top level in +support/testing/+ by folders of +conf+, +infra+ and +tests+. +All the test cases live under the +tests+ folder and are organized in various +folders representing the category of test. + +The best way to get familiar with how to create a test case is to look +at a few of the basic file system +support/testing/tests/fs/+ and init ++support/testing/tests/init/+ test scripts. Those tests give good +examples of a basic tests that include both checking the build +results, and doing runtime tests. There are other more advanced cases +that use things like nested +br2-external+ folders to provide +skeletons and additional packages. + +Creating a basic test case involves: + +* Defining a test class that inherits from +infra.basetest.BRTest+ + +* Defining the +config+ member of the test class, to the Buildroot + configuration to build for this test case. It can optionally rely on + configuration snippets provided by the runtime test infrastructure: + +infra.basetest.BASIC_TOOLCHAIN_CONFIG+ to get a basic + architecture/toolchain configuration, and + +infra.basetest.MINIMAL_CONFIG+ to not build any filesystem. The + advantage of using +infra.basetest.BASIC_TOOLCHAIN_CONFIG+ is that a + matching Linux kernel image is provided, which allows to boot the + resulting image in Qemu without having to build a Linux kernel image + as part of the test case, therefore significant decreasing the build + time required for the test case. + +* Implementing a +def test_run(self):+ function to implement the + actual tests to run after the build has completed. They may be tests + that verify the build output, by running command on the host using + the +run_cmd_on_host()+ helper function. Or they may boot the + generated system in Qemu using the +Emulator+ object available as + +self.emulator+ in the test case. For example +self.emulator.boot()+ + allows to boot the system in Qemu, +self.emulator.login()+ allows to + login, +self.emulator.run()+ allows to run shell commands inside + Qemu. + +After creating the test script, add yourself to the +DEVELOPERS+ file to +be the maintainer of that test case. + +==== Debugging a test case + +When a test case runs, the +output_folder+ will contain the following: + +--------------------- +$ ls output_folder/ +TestInitSystemBusyboxRw/ +TestInitSystemBusyboxRw-build.log +TestInitSystemBusyboxRw-run.log +--------------------- + ++TestInitSystemBusyboxRw/+ is the Buildroot output directory, and it +is preserved only if the +-k+ option is passed. + ++TestInitSystemBusyboxRw-build.log+ is the log of the Buildroot build. + ++TestInitSystemBusyboxRw-run.log+ is the log of the Qemu boot and +test. This file will only exist if the build was successful and the +test case involves booting under Qemu. + +If you want to manually run Qemu to do manual tests of the build +result, the first few lines of +TestInitSystemBusyboxRw-run.log+ +contain the Qemu command line to use. + +You can also make modifications to the current sources inside the ++output_folder+ (e.g. for debug purposes) and rerun the standard +Buildroot make targets (in order to regenerate the complete image with +the new modifications) and then rerun the test. + +==== Runtime tests and Gitlab CI + +All runtime tests are regularly executed by Buildroot Gitlab CI +infrastructure, see .gitlab.yml and +https://gitlab.com/buildroot.org/buildroot/-/jobs. + +You can also use Gitlab CI to test your new test cases, or verify that +existing tests continue to work after making changes in Buildroot. + +In order to achieve this, you need to create a fork of the Buildroot +project on Gitlab, and be able to push branches to your Buildroot fork +on Gitlab. + +The name of the branch that you push will determine if a Gitlab CI +pipeline will be triggered or not, and for which test cases. + +In the examples below, the component of the branch name is an +arbitrary string you choose. + +* To trigger all run-test test case jobs, push a branch that ends with + +-runtime-tests+: + +--------------------- + $ git push gitlab HEAD:-runtime-tests +--------------------- + +* To trigger one or several test case jobs, push a branch that ends + with the complete test case name + (+tests.init.test_busybox.TestInitSystemBusyboxRo+) or with the name + of a category of tests (+tests.init.test_busybox+): + +--------------------- + $ git push gitlab HEAD:- +--------------------- + +Example to run one test: + +--------------------- + $ git push gitlab HEAD:foo-tests.init.test_busybox.TestInitSystemBusyboxRo +--------------------- + +Examples to run several tests part of the same group: + +--------------------- + $ git push gitlab HEAD:foo-tests.init.test_busybox + $ git push gitlab HEAD:foo-tests.init +--------------------- diff --git a/buildroot-2021.05/docs/manual/customize-configuration.txt b/buildroot-2022.02.1/docs/manual/customize-configuration.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-configuration.txt rename to buildroot-2022.02.1/docs/manual/customize-configuration.txt diff --git a/buildroot-2021.05/docs/manual/customize-device-permission-tables.txt b/buildroot-2022.02.1/docs/manual/customize-device-permission-tables.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-device-permission-tables.txt rename to buildroot-2022.02.1/docs/manual/customize-device-permission-tables.txt diff --git a/buildroot-2021.05/docs/manual/customize-directory-structure.txt b/buildroot-2022.02.1/docs/manual/customize-directory-structure.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-directory-structure.txt rename to buildroot-2022.02.1/docs/manual/customize-directory-structure.txt diff --git a/buildroot-2021.05/docs/manual/customize-outside-br.txt b/buildroot-2022.02.1/docs/manual/customize-outside-br.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-outside-br.txt rename to buildroot-2022.02.1/docs/manual/customize-outside-br.txt diff --git a/buildroot-2021.05/docs/manual/customize-packages.txt b/buildroot-2022.02.1/docs/manual/customize-packages.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-packages.txt rename to buildroot-2022.02.1/docs/manual/customize-packages.txt diff --git a/buildroot-2021.05/docs/manual/customize-patches.txt b/buildroot-2022.02.1/docs/manual/customize-patches.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-patches.txt rename to buildroot-2022.02.1/docs/manual/customize-patches.txt diff --git a/buildroot-2021.05/docs/manual/customize-post-image.txt b/buildroot-2022.02.1/docs/manual/customize-post-image.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-post-image.txt rename to buildroot-2022.02.1/docs/manual/customize-post-image.txt diff --git a/buildroot-2021.05/docs/manual/customize-quick-guide.txt b/buildroot-2022.02.1/docs/manual/customize-quick-guide.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-quick-guide.txt rename to buildroot-2022.02.1/docs/manual/customize-quick-guide.txt diff --git a/buildroot-2021.05/docs/manual/customize-rootfs.txt b/buildroot-2022.02.1/docs/manual/customize-rootfs.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-rootfs.txt rename to buildroot-2022.02.1/docs/manual/customize-rootfs.txt diff --git a/buildroot-2021.05/docs/manual/customize-users-tables.txt b/buildroot-2022.02.1/docs/manual/customize-users-tables.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize-users-tables.txt rename to buildroot-2022.02.1/docs/manual/customize-users-tables.txt diff --git a/buildroot-2021.05/docs/manual/customize.txt b/buildroot-2022.02.1/docs/manual/customize.txt similarity index 100% rename from buildroot-2021.05/docs/manual/customize.txt rename to buildroot-2022.02.1/docs/manual/customize.txt diff --git a/buildroot-2021.05/docs/manual/debugging-buildroot.txt b/buildroot-2022.02.1/docs/manual/debugging-buildroot.txt similarity index 100% rename from buildroot-2021.05/docs/manual/debugging-buildroot.txt rename to buildroot-2022.02.1/docs/manual/debugging-buildroot.txt diff --git a/buildroot-2021.05/docs/manual/developers.txt b/buildroot-2022.02.1/docs/manual/developers.txt similarity index 100% rename from buildroot-2021.05/docs/manual/developers.txt rename to buildroot-2022.02.1/docs/manual/developers.txt diff --git a/buildroot-2021.05/docs/manual/docbook-xsl.css b/buildroot-2022.02.1/docs/manual/docbook-xsl.css similarity index 100% rename from buildroot-2021.05/docs/manual/docbook-xsl.css rename to buildroot-2022.02.1/docs/manual/docbook-xsl.css diff --git a/buildroot-2021.05/docs/manual/download-infra.txt b/buildroot-2022.02.1/docs/manual/download-infra.txt similarity index 100% rename from buildroot-2021.05/docs/manual/download-infra.txt rename to buildroot-2022.02.1/docs/manual/download-infra.txt diff --git a/buildroot-2021.05/docs/manual/download-location.txt b/buildroot-2022.02.1/docs/manual/download-location.txt similarity index 100% rename from buildroot-2021.05/docs/manual/download-location.txt rename to buildroot-2022.02.1/docs/manual/download-location.txt diff --git a/buildroot-2021.05/docs/manual/eclipse-integration.txt b/buildroot-2022.02.1/docs/manual/eclipse-integration.txt similarity index 100% rename from buildroot-2021.05/docs/manual/eclipse-integration.txt rename to buildroot-2022.02.1/docs/manual/eclipse-integration.txt diff --git a/buildroot-2022.02.1/docs/manual/faq-troubleshooting.txt b/buildroot-2022.02.1/docs/manual/faq-troubleshooting.txt new file mode 100644 index 00000000..b08bf9bc --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/faq-troubleshooting.txt @@ -0,0 +1,244 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +== Frequently Asked Questions & Troubleshooting + +[[faq-boot-hang-after-starting]] +=== The boot hangs after 'Starting network...' + +If the boot process seems to hang after the following messages +(messages not necessarily exactly similar, depending on the list of +packages selected): + +------------------------ +Freeing init memory: 3972K +Initializing random number generator... done. +Starting network... +Starting dropbear sshd: generating rsa key... generating dsa key... OK +------------------------ + +then it means that your system is running, but didn't start a shell on +the serial console. In order to have the system start a shell on your +serial console, you have to go into the Buildroot configuration, in ++System configuration+, modify +Run a getty (login prompt) after boot+ +and set the appropriate port and baud rate in the +getty options+ +submenu. This will automatically tune the +/etc/inittab+ file of the +generated system so that a shell starts on the correct serial port. + +[[faq-no-compiler-on-target]] +=== Why is there no compiler on the target? + +It has been decided that support for the _native compiler on the +target_ would be stopped from the Buildroot-2012.11 release because: + +* this feature was neither maintained nor tested, and often broken; +* this feature was only available for Buildroot toolchains; +* Buildroot mostly targets _small_ or _very small_ target hardware + with limited resource onboard (CPU, ram, mass-storage), for which + compiling on the target does not make much sense; +* Buildroot aims at easing the cross-compilation, making native + compilation on the target unnecessary. + +If you need a compiler on your target anyway, then Buildroot is not +suitable for your purpose. In such case, you need a _real +distribution_ and you should opt for something like: + +* http://www.openembedded.org[openembedded] +* https://www.yoctoproject.org[yocto] +* https://www.debian.org/ports/[Debian] +* https://fedoraproject.org/wiki/Architectures[Fedora] +* http://en.opensuse.org/Portal:ARM[openSUSE ARM] +* http://archlinuxarm.org[Arch Linux ARM] +* ... + +[[faq-no-dev-files-on-target]] +=== Why are there no development files on the target? + +Since there is no compiler available on the target (see +xref:faq-no-compiler-on-target[]), it does not make sense to waste +space with headers or static libraries. + +Therefore, those files are always removed from the target since the +Buildroot-2012.11 release. + +[[faq-no-doc-on-target]] +=== Why is there no documentation on the target? + +Because Buildroot mostly targets _small_ or _very small_ target +hardware with limited resource onboard (CPU, ram, mass-storage), it +does not make sense to waste space with the documentation data. + +If you need documentation data on your target anyway, then Buildroot +is not suitable for your purpose, and you should look for a _real +distribution_ (see: xref:faq-no-compiler-on-target[]). + +[[faq-why-not-visible-package]] +=== Why are some packages not visible in the Buildroot config menu? + +If a package exists in the Buildroot tree and does not appear in the +config menu, this most likely means that some of the package's +dependencies are not met. + +To know more about the dependencies of a package, search for the +package symbol in the config menu (see xref:make-tips[]). + +Then, you may have to recursively enable several options (which +correspond to the unmet dependencies) to finally be able to select +the package. + +If the package is not visible due to some unmet toolchain options, +then you should certainly run a full rebuild (see xref:make-tips[] for +more explanations). + +[[faq-why-not-use-target-as-chroot]] +=== Why not use the target directory as a chroot directory? + +There are plenty of reasons to *not* use the target directory a chroot +one, among these: + +* file ownerships, modes and permissions are not correctly set in the + target directory; +* device nodes are not created in the target directory. + +For these reasons, commands run through chroot, using the target +directory as the new root, will most likely fail. + +If you want to run the target filesystem inside a chroot, or as an NFS +root, then use the tarball image generated in +images/+ and extract it +as root. + +[[faq-no-binary-packages]] +=== Why doesn't Buildroot generate binary packages (.deb, .ipkg...)? + +One feature that is often discussed on the Buildroot list is the +general topic of "package management". To summarize, the idea +would be to add some tracking of which Buildroot package installs +what files, with the goals of: + + * being able to remove files installed by a package when this package + gets unselected from the menuconfig; + + * being able to generate binary packages (ipk or other format) that + can be installed on the target without re-generating a new root + filesystem image. + +In general, most people think it is easy to do: just track which package +installed what and remove it when the package is unselected. However, it +is much more complicated than that: + + * It is not only about the +target/+ directory, but also the sysroot in + +host//sysroot+ and the +host/+ directory itself. All files + installed in those directories by various packages must be tracked. + + * When a package is unselected from the configuration, it is not + sufficient to remove just the files it installed. One must also + remove all its reverse dependencies (i.e. packages relying on it) + and rebuild all those packages. For example, package A depends + optionally on the OpenSSL library. Both are selected, and Buildroot + is built. Package A is built with crypto support using OpenSSL. + Later on, OpenSSL gets unselected from the configuration, but + package A remains (since OpenSSL is an optional dependency, this + is possible.) If only OpenSSL files are removed, then the files + installed by package A are broken: they use a library that is no + longer present on the target. Although this is technically doable, + it adds a lot of complexity to Buildroot, which goes against the + simplicity we try to stick to. + + * In addition to the previous problem, there is the case where the + optional dependency is not even known to Buildroot. For example, + package A in version 1.0 never used OpenSSL, but in version 2.0 it + automatically uses OpenSSL if available. If the Buildroot .mk file + hasn't been updated to take this into account, then package A will + not be part of the reverse dependencies of OpenSSL and will not be + removed and rebuilt when OpenSSL is removed. For sure, the .mk file + of package A should be fixed to mention this optional dependency, + but in the mean time, you can have non-reproducible behaviors. + + * The request is to also allow changes in the menuconfig to be + applied on the output directory without having to rebuild + everything from scratch. However, this is very difficult to achieve + in a reliable way: what happens when the suboptions of a package + are changed (we would have to detect this, and rebuild the package + from scratch and potentially all its reverse dependencies), what + happens if toolchain options are changed, etc. At the moment, what + Buildroot does is clear and simple so its behaviour is very + reliable and it is easy to support users. If configuration changes + done in menuconfig are applied after the next make, then it has to + work correctly and properly in all situations, and not have some + bizarre corner cases. The risk is to get bug reports like "I have + enabled package A, B and C, then ran make, then disabled package + C and enabled package D and ran make, then re-enabled package C + and enabled package E and then there is a build failure". Or worse + "I did some configuration, then built, then did some changes, + built, some more changes, built, some more changes, built, and now + it fails, but I don't remember all the changes I did and in which + order". This will be impossible to support. + +For all these reasons, the conclusion is that adding tracking of +installed files to remove them when the package is unselected, or to +generate a repository of binary packages, is something that is very +hard to achieve reliably and will add a lot of complexity. + +On this matter, the Buildroot developers make this position statement: + + * Buildroot strives to make it easy to generate a root filesystem (hence + the name, by the way.) That is what we want to make Buildroot good at: + building root filesystems. + + * Buildroot is not meant to be a distribution (or rather, a distribution + generator.) It is the opinion of most Buildroot developers that this + is not a goal we should pursue. We believe that there are other tools + better suited to generate a distro than Buildroot is. For example, + http://openembedded.org/[Open Embedded], or https://openwrt.org/[openWRT], + are such tools. + + * We prefer to push Buildroot in a direction that makes it easy (or even + easier) to generate complete root filesystems. This is what makes + Buildroot stands out in the crowd (among other things, of course!) + + * We believe that for most embedded Linux systems, binary packages are + not necessary, and potentially harmful. When binary packages are + used, it means that the system can be partially upgraded, which + creates an enormous number of possible combinations of package + versions that should be tested before doing the upgrade on the + embedded device. On the other hand, by doing complete system + upgrades by upgrading the entire root filesystem image at once, + the image deployed to the embedded system is guaranteed to really + be the one that has been tested and validated. + +[[faq-speeding-up-build]] +=== How to speed-up the build process? + +Since Buildroot often involves doing full rebuilds of the entire +system that can be quite long, we provide below a number of tips to +help reduce the build time: + + * Use a pre-built external toolchain instead of the default Buildroot + internal toolchain. By using a pre-built Linaro toolchain (on ARM) + or a Sourcery CodeBench toolchain (for ARM, x86, x86-64, MIPS, + etc.), you will save the build time of the toolchain at each + complete rebuild, approximately 15 to 20 minutes. Note that + temporarily using an external toolchain does not prevent you to + switch back to an internal toolchain (that may provide a higher + level of customization) once the rest of your system is working; + + * Use the +ccache+ compiler cache (see: xref:ccache[]); + + * Learn about rebuilding only the few packages you actually care + about (see xref:rebuild-pkg[]), but beware that sometimes full + rebuilds are anyway necessary (see xref:full-rebuild[]); + + * Make sure you are not using a virtual machine for the Linux system + used to run Buildroot. Most of the virtual machine technologies are + known to cause a significant performance impact on I/O, which is + really important for building source code; + + * Make sure that you're using only local files: do not attempt to do + a build over NFS, which significantly slows down the build. Having + the Buildroot download folder available locally also helps a bit. + + * Buy new hardware. SSDs and lots of RAM are key to speeding up the + builds. + + * Experiment with top-level parallel build, see + xref:top-level-parallel-build[]. diff --git a/buildroot-2021.05/docs/manual/getting.txt b/buildroot-2022.02.1/docs/manual/getting.txt similarity index 100% rename from buildroot-2021.05/docs/manual/getting.txt rename to buildroot-2022.02.1/docs/manual/getting.txt diff --git a/buildroot-2021.05/docs/manual/github_hash_mongrel2.png b/buildroot-2022.02.1/docs/manual/github_hash_mongrel2.png similarity index 100% rename from buildroot-2021.05/docs/manual/github_hash_mongrel2.png rename to buildroot-2022.02.1/docs/manual/github_hash_mongrel2.png diff --git a/buildroot-2021.05/docs/manual/how-buildroot-works.txt b/buildroot-2022.02.1/docs/manual/how-buildroot-works.txt similarity index 100% rename from buildroot-2021.05/docs/manual/how-buildroot-works.txt rename to buildroot-2022.02.1/docs/manual/how-buildroot-works.txt diff --git a/buildroot-2021.05/docs/manual/introduction.txt b/buildroot-2022.02.1/docs/manual/introduction.txt similarity index 100% rename from buildroot-2021.05/docs/manual/introduction.txt rename to buildroot-2022.02.1/docs/manual/introduction.txt diff --git a/buildroot-2022.02.1/docs/manual/known-issues.txt b/buildroot-2022.02.1/docs/manual/known-issues.txt new file mode 100644 index 00000000..616430b9 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/known-issues.txt @@ -0,0 +1,15 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +== Known issues + +* It is not possible to pass extra linker options via +BR2_TARGET_LDFLAGS+ + if such options contain a +$+ sign. For example, the following is known + to break: +BR2_TARGET_LDFLAGS="-Wl,-rpath=\'$ORIGIN/../lib'"+ + +* The +libffi+ package is not supported on the SuperH 2, nds32, and ARMv7-M + architectures. + +* The +prboom+ package triggers a compiler failure with the SuperH 4 + compiler from Sourcery CodeBench, version 2012.09. + diff --git a/buildroot-2021.05/docs/manual/legal-notice.txt b/buildroot-2022.02.1/docs/manual/legal-notice.txt similarity index 100% rename from buildroot-2021.05/docs/manual/legal-notice.txt rename to buildroot-2022.02.1/docs/manual/legal-notice.txt diff --git a/buildroot-2021.05/docs/manual/logo.png b/buildroot-2022.02.1/docs/manual/logo.png similarity index 100% rename from buildroot-2021.05/docs/manual/logo.png rename to buildroot-2022.02.1/docs/manual/logo.png diff --git a/buildroot-2022.02.1/docs/manual/make-tips.txt b/buildroot-2022.02.1/docs/manual/make-tips.txt new file mode 100644 index 00000000..df3b888c --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/make-tips.txt @@ -0,0 +1,134 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +[[make-tips]] +=== 'make' tips + +This is a collection of tips that help you make the most of Buildroot. + +.Display all commands executed by make: + +-------------------- + $ make V=1 +-------------------- + +.Display the list of boards with a defconfig: + +-------------------- + $ make list-defconfigs +-------------------- + +.Display all available targets: + +-------------------- + $ make help +-------------------- + +Not all targets are always available, +some settings in the +.config+ file may hide some targets: + +* +busybox-menuconfig+ only works when +busybox+ is enabled; +* +linux-menuconfig+ and +linux-savedefconfig+ only work when + +linux+ is enabled; +* +uclibc-menuconfig+ is only available when the uClibc C library is + selected in the internal toolchain backend; +* +barebox-menuconfig+ and +barebox-savedefconfig+ only work when the + +barebox+ bootloader is enabled. +* +uboot-menuconfig+ and +uboot-savedefconfig+ only work when the + +U-Boot+ bootloader is enabled and the +uboot+ build system is set + to +Kconfig+. + +.Cleaning: + +Explicit cleaning is required when any of the architecture or toolchain +configuration options are changed. + +To delete all build products (including build directories, host, staging +and target trees, the images and the toolchain): + +-------------------- + $ make clean +-------------------- + +.Generating the manual: + +The present manual sources are located in the 'docs/manual' directory. +To generate the manual: + +--------------------------------- + $ make manual-clean + $ make manual +--------------------------------- + +The manual outputs will be generated in 'output/docs/manual'. + +.Notes +- A few tools are required to build the documentation (see: + xref:requirement-optional[]). + +.Resetting Buildroot for a new target: + +To delete all build products as well as the configuration: + +-------------------- + $ make distclean +-------------------- + +.Notes +If +ccache+ is enabled, running +make clean+ or +distclean+ does +not empty the compiler cache used by Buildroot. To delete it, refer +to xref:ccache[]. + +.Dumping the internal make variables: + +One can dump the variables known to make, along with their values: + +---- + $ make -s printvars VARS='VARIABLE1 VARIABLE2' + VARIABLE1=value_of_variable + VARIABLE2=value_of_variable +---- + +It is possible to tweak the output using some variables: + +- +VARS+ will limit the listing to variables which names match the + specified make-patterns - this must be set else nothing is printed +- +QUOTED_VARS+, if set to +YES+, will single-quote the value +- +RAW_VARS+, if set to +YES+, will print the unexpanded value + +For example: + +---- + $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES + BUSYBOX_DEPENDENCIES=skeleton toolchain + BUSYBOX_FINAL_ALL_DEPENDENCIES=skeleton toolchain + BUSYBOX_FINAL_DEPENDENCIES=skeleton toolchain + BUSYBOX_FINAL_PATCH_DEPENDENCIES= + BUSYBOX_RDEPENDENCIES=ncurses util-linux +---- + +---- + $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES QUOTED_VARS=YES + BUSYBOX_DEPENDENCIES='skeleton toolchain' + BUSYBOX_FINAL_ALL_DEPENDENCIES='skeleton toolchain' + BUSYBOX_FINAL_DEPENDENCIES='skeleton toolchain' + BUSYBOX_FINAL_PATCH_DEPENDENCIES='' + BUSYBOX_RDEPENDENCIES='ncurses util-linux' +---- + +---- + $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES RAW_VARS=YES + BUSYBOX_DEPENDENCIES=skeleton toolchain + BUSYBOX_FINAL_ALL_DEPENDENCIES=$(sort $(BUSYBOX_FINAL_DEPENDENCIES) $(BUSYBOX_FINAL_PATCH_DEPENDENCIES)) + BUSYBOX_FINAL_DEPENDENCIES=$(sort $(BUSYBOX_DEPENDENCIES)) + BUSYBOX_FINAL_PATCH_DEPENDENCIES=$(sort $(BUSYBOX_PATCH_DEPENDENCIES)) + BUSYBOX_RDEPENDENCIES=ncurses util-linux +---- + +The output of quoted variables can be reused in shell scripts, for example: + +---- + $ eval $(make -s printvars VARS=BUSYBOX_DEPENDENCIES QUOTED_VARS=YES) + $ echo $BUSYBOX_DEPENDENCIES + skeleton toolchain +---- diff --git a/buildroot-2021.05/docs/manual/makedev-syntax.txt b/buildroot-2022.02.1/docs/manual/makedev-syntax.txt similarity index 100% rename from buildroot-2021.05/docs/manual/makedev-syntax.txt rename to buildroot-2022.02.1/docs/manual/makedev-syntax.txt diff --git a/buildroot-2022.02.1/docs/manual/makeusers-syntax.txt b/buildroot-2022.02.1/docs/manual/makeusers-syntax.txt new file mode 100644 index 00000000..3d1013f4 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/makeusers-syntax.txt @@ -0,0 +1,92 @@ +// -*- mode:doc -*- ; +// vim: set syntax=asciidoc: + +[[makeuser-syntax]] +== Makeusers syntax documentation + +The syntax to create users is inspired by the makedev syntax, above, but +is specific to Buildroot. + +The syntax for adding a user is a space-separated list of fields, one +user per line; the fields are: + +|================================================================= +|username |uid |group |gid |password |home |shell |groups |comment +|================================================================= + +Where: + +- +username+ is the desired user name (aka login name) for the user. + It can not be +root+, and must be unique. If set to +-+, then just a + group will be created. +- +uid+ is the desired UID for the user. It must be unique, and not + +0+. If set to +-1+ or +-2+, then a unique UID will be computed by + Buildroot, with +-1+ denoting a system UID from [100...999] and +-2+ + denoting a user UID from [1000...1999]. +- +group+ is the desired name for the user's main group. It can not + be +root+. If the group does not exist, it will be created. +- +gid+ is the desired GID for the user's main group. It must be unique, + and not +0+. If set to +-1+ or +-2+, and the group does not already + exist, then a unique GID will be computed by Buildroot, with +-1+ + denoting a system GID from [100...999] and +-2+ denoting a user GID + from [1000...1999]. +- +password+ is the crypt(3)-encoded password. If prefixed with +!+, + then login is disabled. If prefixed with +=+, then it is interpreted + as clear-text, and will be crypt-encoded (using MD5). If prefixed with + +!=+, then the password will be crypt-encoded (using MD5) and login + will be disabled. If set to +*+, then login is not allowed. If set to + +-+, then no password value will be set. +- +home+ is the desired home directory for the user. If set to '-', no + home directory will be created, and the user's home will be +/+. + Explicitly setting +home+ to +/+ is not allowed. +- +shell+ is the desired shell for the user. If set to +-+, then + +/bin/false+ is set as the user's shell. +- +groups+ is the comma-separated list of additional groups the user + should be part of. If set to +-+, then the user will be a member of + no additional group. Missing groups will be created with an arbitrary + +gid+. +- +comment+ (aka https://en.wikipedia.org/wiki/Gecos_field[GECOS] + field) is an almost-free-form text. + +There are a few restrictions on the content of each field: + +* except for +comment+, all fields are mandatory. +* except for +comment+, fields may not contain spaces. +* no field may contain a colon (+:+). + +If +home+ is not +-+, then the home directory, and all files below, +will belong to the user and its main group. + +Examples: + +---- +foo -1 bar -1 !=blabla /home/foo /bin/sh alpha,bravo Foo user +---- + +This will create this user: + +- +username+ (aka login name) is: +foo+ +- +uid+ is computed by Buildroot +- main +group+ is: +bar+ +- main group +gid+ is computed by Buildroot +- clear-text +password+ is: +blabla+, will be crypt(3)-encoded, and login is disabled. +- +home+ is: +/home/foo+ +- +shell+ is: +/bin/sh+ +- +foo+ is also a member of +groups+: +alpha+ and +bravo+ +- +comment+ is: +Foo user+ + +---- +test 8000 wheel -1 = - /bin/sh - Test user +---- + +This will create this user: + +- +username+ (aka login name) is: +test+ +- +uid+ is : +8000+ +- main +group+ is: +wheel+ +- main group +gid+ is computed by Buildroot, and will use the value defined in the rootfs skeleton +- +password+ is empty (aka no password). +- +home+ is +/+ but will not belong to +test+ +- +shell+ is: +/bin/sh+ +- +test+ is not a member of any additional +groups+ +- +comment+ is: +Test user+ diff --git a/buildroot-2022.02.1/docs/manual/manual.html b/buildroot-2022.02.1/docs/manual/manual.html new file mode 100644 index 00000000..b6fb34da --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/manual.html @@ -0,0 +1,6031 @@ + +The Buildroot user manual

The Buildroot user manual


Table of Contents

I. Getting started
1. About Buildroot
2. System requirements
2.1. Mandatory packages
2.2. Optional packages
3. Getting Buildroot
4. Buildroot quick start
5. Community resources
II. User guide
6. Buildroot configuration
6.1. Cross-compilation toolchain
6.2. /dev management
6.3. init system
7. Configuration of other components
8. General Buildroot usage
8.1. make tips
8.2. Understanding when a full rebuild is necessary
8.3. Understanding how to rebuild packages
8.4. Offline builds
8.5. Building out-of-tree
8.6. Environment variables
8.7. Dealing efficiently with filesystem images
8.8. Details about packages
8.9. Graphing the dependencies between packages
8.10. Graphing the build duration
8.11. Graphing the filesystem size contribution of packages
8.12. Top-level parallel build
8.13. Integration with Eclipse
8.14. Advanced usage
9. Project-specific customization
9.1. Recommended directory structure
9.2. Keeping customizations outside of Buildroot
9.3. Storing the Buildroot configuration
9.4. Storing the configuration of other components
9.5. Customizing the generated target filesystem
9.6. Adding custom user accounts
9.7. Customization after the images have been created
9.8. Adding project-specific patches
9.9. Adding project-specific packages
9.10. Quick guide to storing your project-specific customizations
10. Using SELinux in Buildroot
10.1. Enabling SELinux support
10.2. SELinux policy tweaking
11. Frequently Asked Questions & Troubleshooting
11.1. The boot hangs after Starting network…
11.2. Why is there no compiler on the target?
11.3. Why are there no development files on the target?
11.4. Why is there no documentation on the target?
11.5. Why are some packages not visible in the Buildroot config menu?
11.6. Why not use the target directory as a chroot directory?
11.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)?
11.8. How to speed-up the build process?
12. Known issues
13. Legal notice and licensing
13.1. Complying with open source licenses
13.2. Complying with the Buildroot license
14. Beyond Buildroot
14.1. Boot the generated images
14.2. Chroot
III. Developer guide
15. How Buildroot works
16. Coding style
16.1. Config.in file
16.2. The .mk file
16.3. The genimage.cfg file
16.4. The documentation
16.5. Support scripts
17. Adding support for a particular board
18. Adding new packages to Buildroot
18.1. Package directory
18.2. Config files
18.3. The .mk file
18.4. The .hash file
18.5. The SNNfoo start script
18.6. Infrastructure for packages with specific build systems
18.7. Infrastructure for autotools-based packages
18.8. Infrastructure for CMake-based packages
18.9. Infrastructure for Python packages
18.10. Infrastructure for LuaRocks-based packages
18.11. Infrastructure for Perl/CPAN packages
18.12. Infrastructure for virtual packages
18.13. Infrastructure for packages using kconfig for configuration files
18.14. Infrastructure for rebar-based packages
18.15. Infrastructure for Waf-based packages
18.16. Infrastructure for Meson-based packages
18.17. Infrastructure for Cargo-based packages
18.18. Infrastructure for Go packages
18.19. Infrastructure for QMake-based packages
18.20. Infrastructure for packages building kernel modules
18.21. Infrastructure for asciidoc documents
18.22. Infrastructure specific to the Linux kernel package
18.23. Hooks available in the various build steps
18.24. Gettext integration and interaction with packages
18.25. Tips and tricks
18.26. Conclusion
19. Patching a package
19.1. Providing patches
19.2. How patches are applied
19.3. Format and licensing of the package patches
19.4. Integrating patches found on the Web
20. Download infrastructure
21. Debugging Buildroot
22. Contributing to Buildroot
22.1. Reproducing, analyzing and fixing bugs
22.2. Analyzing and fixing autobuild failures
22.3. Reviewing and testing patches
22.4. Work on items from the TODO list
22.5. Submitting patches
22.6. Reporting issues/bugs or getting help
22.7. Using the runtime tests framework
23. DEVELOPERS file and get-developers
24. Release Engineering
24.1. Releases
24.2. Development
IV. Appendix
25. Makedev syntax documentation
26. Makeusers syntax documentation
27. Migrating from older Buildroot versions
27.1. General approach
27.2. Migrating to 2016.11
27.3. Migrating to 2017.08

Buildroot 2022.02.1 manual generated on 2022-04-11 +21:50:46 UTC from git revision 9da87c5293

The Buildroot manual is written by the Buildroot developers. +It is licensed under the GNU General Public License, version 2. Refer to the +COPYING +file in the Buildroot sources for the full text of this license.

Copyright © 2004-2020 The Buildroot developers

logo.png

Part I. Getting started

Chapter 1. About Buildroot

Buildroot is a tool that simplifies and automates the process of +building a complete Linux system for an embedded system, using +cross-compilation.

In order to achieve this, Buildroot is able to generate a +cross-compilation toolchain, a root filesystem, a Linux kernel image +and a bootloader for your target. Buildroot can be used for any +combination of these options, independently (you can for example use +an existing cross-compilation toolchain, and build only your root +filesystem with Buildroot).

Buildroot is useful mainly for people working with embedded systems. +Embedded systems often use processors that are not the regular x86 +processors everyone is used to having in his PC. They can be PowerPC +processors, MIPS processors, ARM processors, etc.

Buildroot supports numerous processors and their variants; it also +comes with default configurations for several boards available +off-the-shelf. Besides this, a number of third-party projects are based on, +or develop their BSP [1] or +SDK [2] on top of Buildroot.



[1] BSP: Board Support Package

[2] SDK: Software Development Kit

Chapter 2. System requirements

Buildroot is designed to run on Linux systems.

While Buildroot itself will build most host packages it needs for the +compilation, certain standard Linux utilities are expected to be +already installed on the host system. Below you will find an overview of +the mandatory and optional packages (note that package names may vary +between distributions).

2.1. Mandatory packages

  • +Build tools: +

    • +which +
    • +sed +
    • +make (version 3.81 or any later) +
    • +binutils +
    • +build-essential (only for Debian based systems) +
    • +gcc (version 4.8 or any later) +
    • +g++ (version 4.8 or any later) +
    • +bash +
    • +patch +
    • +gzip +
    • +bzip2 +
    • +perl (version 5.8.7 or any later) +
    • +tar +
    • +cpio +
    • +unzip +
    • +rsync +
    • +file (must be in /usr/bin/file) +
    • +bc +
  • +Source fetching tools: +

    • +wget +

2.2. Optional packages

  • +Recommended dependencies: +

    Some features or utilities in Buildroot, like the legal-info, or the +graph generation tools, have additional dependencies. Although they +are not mandatory for a simple build, they are still highly recommended:

    • +python (version 2.7 or any later) +
  • +Configuration interface dependencies: +

    For these libraries, you need to install both runtime and development +data, which in many distributions are packaged separately. The +development packages typically have a -dev or -devel suffix.

    • +ncurses5 to use the menuconfig interface +
    • +qt5 to use the xconfig interface +
    • +glib2, gtk2 and glade2 to use the gconfig interface +
  • +Source fetching tools: +

    In the official tree, most of the package sources are retrieved using +wget from ftp, http or https locations. A few packages are only +available through a version control system. Moreover, Buildroot is +capable of downloading sources via other tools, like rsync or scp +(refer to Chapter 20, Download infrastructure for more details). If you enable +packages using any of these methods, you will need to install the +corresponding tool on the host system:

    • +bazaar +
    • +cvs +
    • +git +
    • +mercurial +
    • +rsync +
    • +scp +
    • +sftp +
    • +subversion +
  • +Java-related packages, if the Java Classpath needs to be built for + the target system: +

    • +The javac compiler +
    • +The jar tool +
  • +Documentation generation tools: +

    • +asciidoc, version 8.6.3 or higher +
    • +w3m +
    • +python with the argparse module (automatically present in 2.7+ and 3.2+) +
    • +dblatex (required for the pdf manual only) +
  • +Graph generation tools: +

    • +graphviz to use graph-depends and <pkg>-graph-depends +
    • +python-matplotlib to use graph-build +

Chapter 3. Getting Buildroot

Buildroot releases are made every 3 months, in February, May, August and +November. Release numbers are in the format YYYY.MM, so for example +2013.02, 2014.08.

Release tarballs are available at http://buildroot.org/downloads/.

For your convenience, a Vagrantfile is +available in support/misc/Vagrantfile in the Buildroot source tree +to quickly set up a virtual machine with the needed dependencies to +get started.

If you want to setup an isolated buildroot environment on Linux or Mac +Os X, paste this line onto your terminal:

curl -O https://buildroot.org/downloads/Vagrantfile; vagrant up

If you are on Windows, paste this into your powershell:

(new-object System.Net.WebClient).DownloadFile(
+"https://buildroot.org/downloads/Vagrantfile","Vagrantfile");
+vagrant up

If you want to follow development, you can use the daily snapshots or +make a clone of the Git repository. Refer to the +Download page of the Buildroot website +for more details.

Chapter 4. Buildroot quick start

Important: you can and should build everything as a normal user. There +is no need to be root to configure and use Buildroot. By running all +commands as a regular user, you protect your system against packages +behaving badly during compilation and installation.

The first step when using Buildroot is to create a configuration. +Buildroot has a nice configuration tool similar to the one you can +find in the Linux kernel or in +BusyBox.

From the buildroot directory, run

 $ make menuconfig

for the original curses-based configurator, or

 $ make nconfig

for the new curses-based configurator, or

 $ make xconfig

for the Qt-based configurator, or

 $ make gconfig

for the GTK-based configurator.

All of these "make" commands will need to build a configuration +utility (including the interface), so you may need to install +"development" packages for relevant libraries used by the +configuration utilities. Refer to Chapter 2, System requirements for more details, +specifically the optional requirements +to get the dependencies of your favorite interface.

For each menu entry in the configuration tool, you can find associated +help that describes the purpose of the entry. Refer to Chapter 6, Buildroot configuration +for details on some specific configuration aspects.

Once everything is configured, the configuration tool generates a +.config file that contains the entire configuration. This file will be +read by the top-level Makefile.

To start the build process, simply run:

 $ make

By default, Buildroot does not support top-level parallel build, so +running make -jN is not necessary. There is however experimental +support for top-level parallel build, see +Section 8.12, “Top-level parallel build”.

The make command will generally perform the following steps:

  • +download source files (as required); +
  • +configure, build and install the cross-compilation toolchain, or + simply import an external toolchain; +
  • +configure, build and install selected target packages; +
  • +build a kernel image, if selected; +
  • +build a bootloader image, if selected; +
  • +create a root filesystem in selected formats. +

Buildroot output is stored in a single directory, output/. +This directory contains several subdirectories:

  • +images/ where all the images (kernel image, bootloader and root + filesystem images) are stored. These are the files you need to put + on your target system. +
  • +build/ where all the components are built (this includes tools + needed by Buildroot on the host and packages compiled for the + target). This directory contains one subdirectory for each of these + components. +
  • +host/ contains both the tools built for the host, and the sysroot + of the target toolchain. The former is an installation of tools + compiled for the host that are needed for the proper execution of + Buildroot, including the cross-compilation toolchain. The latter + is a hierarchy similar to a root filesystem hierarchy. It contains + the headers and libraries of all user-space packages that provide + and install libraries used by other packages. However, this + directory is not intended to be the root filesystem for the target: + it contains a lot of development files, unstripped binaries and + libraries that make it far too big for an embedded system. These + development files are used to compile libraries and applications for + the target that depend on other libraries. +
  • +staging/ is a symlink to the target toolchain sysroot inside + host/, which exists for backwards compatibility. +
  • +target/ which contains almost the complete root filesystem for + the target: everything needed is present except the device files in + /dev/ (Buildroot can’t create them because Buildroot doesn’t run + as root and doesn’t want to run as root). Also, it doesn’t have the correct + permissions (e.g. setuid for the busybox binary). Therefore, this directory + should not be used on your target. Instead, you should use one of + the images built in the images/ directory. If you need an + extracted image of the root filesystem for booting over NFS, then + use the tarball image generated in images/ and extract it as + root. Compared to staging/, target/ contains only the files and + libraries needed to run the selected target applications: the + development files (headers, etc.) are not present, the binaries are + stripped. +

These commands, make menuconfig|nconfig|gconfig|xconfig and make, are the +basic ones that allow to easily and quickly generate images fitting +your needs, with all the features and applications you enabled.

More details about the "make" command usage are given in +Section 8.1, “make tips”.

Chapter 5. Community resources

Like any open source project, Buildroot has different ways to share +information in its community and outside.

Each of those ways may interest you if you are looking for some help, +want to understand Buildroot or contribute to the project.

+Mailing List +

Buildroot has a mailing list for discussion and development. It is the +main method of interaction for Buildroot users and developers.

Only subscribers to the Buildroot mailing list are allowed to post to +this list. You can subscribe via the +mailing list info +page.

Mails that are sent to the mailing list are also available in the +mailing list archives, available through +Mailman or at +lore.kernel.org.

+IRC +

The Buildroot IRC channel #buildroot is +hosted on OFTC. It is a useful place to +ask quick questions or discuss on certain topics.

When asking for help on IRC, share relevant logs or pieces of code +using a code sharing website, such as https://paste.ack.tf/.

Note that for certain questions, posting to the mailing list may be +better as it will reach more people, both developers and users.

+Bug tracker +
Bugs in Buildroot can be reported via the mailing list or alternatively +via the Buildroot +bugtracker. Please refer to Section 22.6, “Reporting issues/bugs or getting help” before creating a bug +report.
+Wiki +
The Buildroot wiki page is hosted on +the eLinux wiki. It contains some useful links, an +overview of past and upcoming events, and a TODO list.
+Patchwork +

Patchwork is a web-based patch tracking system designed to facilitate +the contribution and management of contributions to an open-source +project. Patches that have been sent to a mailing list are 'caught' by +the system, and appear on a web page. Any comments posted that +reference the patch are appended to the patch page too. For more +information on Patchwork see +http://jk.ozlabs.org/projects/patchwork/.

Buildroot’s Patchwork website is mainly for use by Buildroot’s +maintainer to ensure patches aren’t missed. It is also used by Buildroot +patch reviewers (see also Section 22.3.1, “Applying Patches from Patchwork”). +However, since the website exposes patches and their corresponding +review comments in a clean and concise web interface, it can be useful +for all Buildroot developers.

The Buildroot patch management interface is available at +http://patchwork.buildroot.org.

Part II. User guide

Chapter 6. Buildroot configuration

All the configuration options in make *config have a help text +providing details about the option.

The make *config commands also offer a search tool. Read the help +message in the different frontend menus to know how to use it:

  • +in menuconfig, the search tool is called by pressing /; +
  • +in xconfig, the search tool is called by pressing Ctrl + f. +

The result of the search shows the help message of the matching items. +In menuconfig, numbers in the left column provide a shortcut to the +corresponding entry. Just type this number to directly jump to the +entry, or to the containing menu in case the entry is not selectable due +to a missing dependency.

Although the menu structure and the help text of the entries should be +sufficiently self-explanatory, a number of topics require additional +explanation that cannot easily be covered in the help text and are +therefore covered in the following sections.

6.1. Cross-compilation toolchain

A compilation toolchain is the set of tools that allows you to compile +code for your system. It consists of a compiler (in our case, gcc), +binary utils like assembler and linker (in our case, binutils) and a +C standard library (for example +GNU Libc, +uClibc-ng).

The system installed on your development station certainly already has +a compilation toolchain that you can use to compile an application +that runs on your system. If you’re using a PC, your compilation +toolchain runs on an x86 processor and generates code for an x86 +processor. Under most Linux systems, the compilation toolchain uses +the GNU libc (glibc) as the C standard library. This compilation +toolchain is called the "host compilation toolchain". The machine on +which it is running, and on which you’re working, is called the "host +system" [3].

The compilation toolchain is provided by your distribution, and +Buildroot has nothing to do with it (other than using it to build a +cross-compilation toolchain and other tools that are run on the +development host).

As said above, the compilation toolchain that comes with your system +runs on and generates code for the processor in your host system. As +your embedded system has a different processor, you need a +cross-compilation toolchain - a compilation toolchain that runs on +your host system but generates code for your target system (and +target processor). For example, if your host system uses x86 and your +target system uses ARM, the regular compilation toolchain on your host +runs on x86 and generates code for x86, while the cross-compilation +toolchain runs on x86 and generates code for ARM.

Buildroot provides two solutions for the cross-compilation toolchain:

  • +The internal toolchain backend, called Buildroot toolchain in + the configuration interface. +
  • +The external toolchain backend, called External toolchain in + the configuration interface. +

The choice between these two solutions is done using the Toolchain +Type option in the Toolchain menu. Once one solution has been +chosen, a number of configuration options appear, they are detailed in +the following sections.

6.1.1. Internal toolchain backend

The internal toolchain backend is the backend where Buildroot builds +by itself a cross-compilation toolchain, before building the userspace +applications and libraries for your target embedded system.

This backend supports several C libraries: +uClibc-ng, +glibc and +musl.

Once you have selected this backend, a number of options appear. The +most important ones allow to:

  • +Change the version of the Linux kernel headers used to build the + toolchain. This item deserves a few explanations. In the process of + building a cross-compilation toolchain, the C library is being + built. This library provides the interface between userspace + applications and the Linux kernel. In order to know how to "talk" + to the Linux kernel, the C library needs to have access to the + Linux kernel headers (i.e. the .h files from the kernel), which + define the interface between userspace and the kernel (system + calls, data structures, etc.). Since this interface is backward + compatible, the version of the Linux kernel headers used to build + your toolchain do not need to match exactly the version of the + Linux kernel you intend to run on your embedded system. They only + need to have a version equal or older to the version of the Linux + kernel you intend to run. If you use kernel headers that are more + recent than the Linux kernel you run on your embedded system, then + the C library might be using interfaces that are not provided by + your Linux kernel. +
  • +Change the version of the GCC compiler, binutils and the C library. +
  • +Select a number of toolchain options (uClibc only): whether the + toolchain should have RPC support (used mainly for NFS), + wide-char support, locale support (for internationalization), + C++ support or thread support. Depending on which options you choose, + the number of userspace applications and libraries visible in + Buildroot menus will change: many applications and libraries require + certain toolchain options to be enabled. Most packages show a comment + when a certain toolchain option is required to be able to enable + those packages. If needed, you can further refine the uClibc + configuration by running make uclibc-menuconfig. Note however that + all packages in Buildroot are tested against the default uClibc + configuration bundled in Buildroot: if you deviate from this + configuration by removing features from uClibc, some packages may no + longer build. +

It is worth noting that whenever one of those options is modified, +then the entire toolchain and system must be rebuilt. See +Section 8.2, “Understanding when a full rebuild is necessary”.

Advantages of this backend:

  • +Well integrated with Buildroot +
  • +Fast, only builds what’s necessary +

Drawbacks of this backend:

  • +Rebuilding the toolchain is needed when doing make clean, which + takes time. If you’re trying to reduce your build time, consider + using the External toolchain backend. +

6.1.2. External toolchain backend

The external toolchain backend allows to use existing pre-built +cross-compilation toolchains. Buildroot knows about a number of +well-known cross-compilation toolchains (from +Linaro for ARM, +Sourcery +CodeBench for ARM, x86-64, PowerPC, and MIPS, and is capable of +downloading them automatically, or it can be pointed to a custom +toolchain, either available for download or installed locally.

Then, you have three solutions to use an external toolchain:

  • +Use a predefined external toolchain profile, and let Buildroot + download, extract and install the toolchain. Buildroot already knows + about a few CodeSourcery and Linaro toolchains. Just select the + toolchain profile in Toolchain from the available ones. This is + definitely the easiest solution. +
  • +Use a predefined external toolchain profile, but instead of having + Buildroot download and extract the toolchain, you can tell Buildroot + where your toolchain is already installed on your system. Just + select the toolchain profile in Toolchain through the available + ones, unselect Download toolchain automatically, and fill the + Toolchain path text entry with the path to your cross-compiling + toolchain. +
  • +Use a completely custom external toolchain. This is particularly + useful for toolchains generated using crosstool-NG or with Buildroot + itself. To do this, select the Custom toolchain solution in the + Toolchain list. You need to fill the Toolchain path, Toolchain + prefix and External toolchain C library options. Then, you have + to tell Buildroot what your external toolchain supports. If your + external toolchain uses the glibc library, you only have to tell + whether your toolchain supports C++ or not and whether it has + built-in RPC support. If your external toolchain uses the uClibc + library, then you have to tell Buildroot if it supports RPC, + wide-char, locale, program invocation, threads and C++. + At the beginning of the execution, Buildroot will tell you if + the selected options do not match the toolchain configuration. +

Our external toolchain support has been tested with toolchains from +CodeSourcery and Linaro, toolchains generated by +crosstool-NG, and toolchains generated by +Buildroot itself. In general, all toolchains that support the +sysroot feature should work. If not, do not hesitate to contact the +developers.

We do not support toolchains or SDK generated by OpenEmbedded or +Yocto, because these toolchains are not pure toolchains (i.e. just the +compiler, binutils, the C and C++ libraries). Instead these toolchains +come with a very large set of pre-compiled libraries and +programs. Therefore, Buildroot cannot import the sysroot of the +toolchain, as it would contain hundreds of megabytes of pre-compiled +libraries that are normally built by Buildroot.

We also do not support using the distribution toolchain (i.e. the +gcc/binutils/C library installed by your distribution) as the +toolchain to build software for the target. This is because your +distribution toolchain is not a "pure" toolchain (i.e. only with the +C/C++ library), so we cannot import it properly into the Buildroot +build environment. So even if you are building a system for a x86 or +x86_64 target, you have to generate a cross-compilation toolchain with +Buildroot or crosstool-NG.

If you want to generate a custom toolchain for your project, that can +be used as an external toolchain in Buildroot, our recommendation is +to build it either with Buildroot itself (see +Section 6.1.3, “Build an external toolchain with Buildroot”) or with +crosstool-NG.

Advantages of this backend:

  • +Allows to use well-known and well-tested cross-compilation + toolchains. +
  • +Avoids the build time of the cross-compilation toolchain, which is + often very significant in the overall build time of an embedded + Linux system. +

Drawbacks of this backend:

  • +If your pre-built external toolchain has a bug, may be hard to get a + fix from the toolchain vendor, unless you build your external + toolchain by yourself using Buildroot or Crosstool-NG. +

6.1.3. Build an external toolchain with Buildroot

The Buildroot internal toolchain option can be used to create an +external toolchain. Here are a series of steps to build an internal +toolchain and package it up for reuse by Buildroot itself (or other +projects).

Create a new Buildroot configuration, with the following details:

  • +Select the appropriate Target options for your target CPU + architecture +
  • +In the Toolchain menu, keep the default of Buildroot toolchain + for Toolchain type, and configure your toolchain as desired +
  • +In the System configuration menu, select None as the Init + system and none as /bin/sh +
  • +In the Target packages menu, disable BusyBox +
  • +In the Filesystem images menu, disable tar the root filesystem +

Then, we can trigger the build, and also ask Buildroot to generate a +SDK. This will conveniently generate for us a tarball which contains +our toolchain:

make sdk

This produces the SDK tarball in $(O)/images, with a name similar to +arm-buildroot-linux-uclibcgnueabi_sdk-buildroot.tar.gz. Save this +tarball, as it is now the toolchain that you can re-use as an external +toolchain in other Buildroot projects.

In those other Buildroot projects, in the Toolchain menu:

  • +Set Toolchain type to External toolchain +
  • +Set Toolchain to Custom toolchain +
  • +Set Toolchain origin to Toolchain to be downloaded and installed +
  • +Set Toolchain URL to file:///path/to/your/sdk/tarball.tar.gz +

External toolchain wrapper

When using an external toolchain, Buildroot generates a wrapper program, +that transparently passes the appropriate options (according to the +configuration) to the external toolchain programs. In case you need to +debug this wrapper to check exactly what arguments are passed, you can +set the environment variable BR2_DEBUG_WRAPPER to either one of:

  • +0, empty or not set: no debug +
  • +1: trace all arguments on a single line +
  • +2: trace one argument per line +

6.2. /dev management

On a Linux system, the /dev directory contains special files, called +device files, that allow userspace applications to access the +hardware devices managed by the Linux kernel. Without these device +files, your userspace applications would not be able to use the +hardware devices, even if they are properly recognized by the Linux +kernel.

Under System configuration, /dev management, Buildroot offers four +different solutions to handle the /dev directory :

  • +The first solution is Static using device table. This is the old + classical way of handling device files in Linux. With this method, + the device files are persistently stored in the root filesystem + (i.e. they persist across reboots), and there is nothing that will + automatically create and remove those device files when hardware + devices are added or removed from the system. Buildroot therefore + creates a standard set of device files using a device table, the + default one being stored in system/device_table_dev.txt in the + Buildroot source code. This file is processed when Buildroot + generates the final root filesystem image, and the device files + are therefore not visible in the output/target directory. The + BR2_ROOTFS_STATIC_DEVICE_TABLE option allows to change the + default device table used by Buildroot, or to add an additional + device table, so that additional device files are created by + Buildroot during the build. So, if you use this method, and a + device file is missing in your system, you can for example create + a board/<yourcompany>/<yourproject>/device_table_dev.txt file + that contains the description of your additional device files, + and then you can set BR2_ROOTFS_STATIC_DEVICE_TABLE to + system/device_table_dev.txt + board/<yourcompany>/<yourproject>/device_table_dev.txt. For more + details about the format of the device table file, see + Chapter 25, Makedev syntax documentation. +
  • +The second solution is Dynamic using devtmpfs only. devtmpfs is + a virtual filesystem inside the Linux kernel that has been + introduced in kernel 2.6.32 (if you use an older kernel, it is not + possible to use this option). When mounted in /dev, this virtual + filesystem will automatically make device files appear and + disappear as hardware devices are added and removed from the + system. This filesystem is not persistent across reboots: it is + filled dynamically by the kernel. Using devtmpfs requires the + following kernel configuration options to be enabled: + CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT. When Buildroot is in + charge of building the Linux kernel for your embedded device, it + makes sure that those two options are enabled. However, if you + build your Linux kernel outside of Buildroot, then it is your + responsibility to enable those two options (if you fail to do so, + your Buildroot system will not boot). +
  • +The third solution is Dynamic using devtmpfs + mdev. This method + also relies on the devtmpfs virtual filesystem detailed above (so + the requirement to have CONFIG_DEVTMPFS and + CONFIG_DEVTMPFS_MOUNT enabled in the kernel configuration still + apply), but adds the mdev userspace utility on top of it. mdev + is a program part of BusyBox that the kernel will call every time a + device is added or removed. Thanks to the /etc/mdev.conf + configuration file, mdev can be configured to for example, set + specific permissions or ownership on a device file, call a script + or application whenever a device appears or disappear, + etc. Basically, it allows userspace to react on device addition + and removal events. mdev can for example be used to automatically + load kernel modules when devices appear on the system. mdev is + also important if you have devices that require a firmware, as it + will be responsible for pushing the firmware contents to the + kernel. mdev is a lightweight implementation (with fewer + features) of udev. For more details about mdev and the syntax + of its configuration file, see + http://git.busybox.net/busybox/tree/docs/mdev.txt. +
  • +The fourth solution is Dynamic using devtmpfs + eudev. This + method also relies on the devtmpfs virtual filesystem detailed + above, but adds the eudev userspace daemon on top of it. eudev + is a daemon that runs in the background, and gets called by the + kernel when a device gets added or removed from the system. It is a + more heavyweight solution than mdev, but provides higher + flexibility. eudev is a standalone version of udev, the + original userspace daemon used in most desktop Linux distributions, + which is now part of Systemd. For more details, see + http://en.wikipedia.org/wiki/Udev. +

The Buildroot developers recommendation is to start with the Dynamic +using devtmpfs only solution, until you have the need for userspace +to be notified when devices are added/removed, or if firmwares are +needed, in which case Dynamic using devtmpfs + mdev is usually a +good solution.

Note that if systemd is chosen as init system, /dev management will +be performed by the udev program provided by systemd.

6.3. init system

The init program is the first userspace program started by the +kernel (it carries the PID number 1), and is responsible for starting +the userspace services and programs (for example: web server, +graphical applications, other network servers, etc.).

Buildroot allows to use three different types of init systems, which +can be chosen from System configuration, Init system:

  • +The first solution is BusyBox. Amongst many programs, BusyBox has + an implementation of a basic init program, which is sufficient + for most embedded systems. Enabling the BR2_INIT_BUSYBOX will + ensure BusyBox will build and install its init program. This is + the default solution in Buildroot. The BusyBox init program will + read the /etc/inittab file at boot to know what to do. The syntax + of this file can be found in + http://git.busybox.net/busybox/tree/examples/inittab (note that + BusyBox inittab syntax is special: do not use a random inittab + documentation from the Internet to learn about BusyBox + inittab). The default inittab in Buildroot is stored in + system/skeleton/etc/inittab. Apart from mounting a few important + filesystems, the main job the default inittab does is to start the + /etc/init.d/rcS shell script, and start a getty program (which + provides a login prompt). +
  • +The second solution is systemV. This solution uses the old + traditional sysvinit program, packed in Buildroot in + package/sysvinit. This was the solution used in most desktop + Linux distributions, until they switched to more recent + alternatives such as Upstart or Systemd. sysvinit also works with + an inittab file (which has a slightly different syntax than the + one from BusyBox). The default inittab installed with this init + solution is located in package/sysvinit/inittab. +
  • +The third solution is systemd. systemd is the new generation + init system for Linux. It does far more than traditional init + programs: aggressive parallelization capabilities, uses socket and + D-Bus activation for starting services, offers on-demand starting + of daemons, keeps track of processes using Linux control groups, + supports snapshotting and restoring of the system state, + etc. systemd will be useful on relatively complex embedded + systems, for example the ones requiring D-Bus and services + communicating between each other. It is worth noting that systemd + brings a fairly big number of large dependencies: dbus, udev + and more. For more details about systemd, see + http://www.freedesktop.org/wiki/Software/systemd. +

The solution recommended by Buildroot developers is to use the +BusyBox init as it is sufficient for most embedded +systems. systemd can be used for more complex situations.



[3] This terminology differs from what is used by GNU +configure, where the host is the machine on which the application will +run (which is usually the same as target)

Chapter 7. Configuration of other components

Before attempting to modify any of the components below, make sure you +have already configured Buildroot itself, and have enabled the +corresponding package.

+BusyBox +

If you already have a BusyBox configuration file, you can directly +specify this file in the Buildroot configuration, using +BR2_PACKAGE_BUSYBOX_CONFIG. Otherwise, Buildroot will start from a +default BusyBox configuration file.

To make subsequent changes to the configuration, use make +busybox-menuconfig to open the BusyBox configuration editor.

It is also possible to specify a BusyBox configuration file through an +environment variable, although this is not recommended. Refer to +Section 8.6, “Environment variables” for more details.

+uClibc +
Configuration of uClibc is done in the same way as for BusyBox. The +configuration variable to specify an existing configuration file is +BR2_UCLIBC_CONFIG. The command to make subsequent changes is make +uclibc-menuconfig.
+Linux kernel +

If you already have a kernel configuration file, you can directly +specify this file in the Buildroot configuration, using +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG.

If you do not yet have a kernel configuration file, you can either start +by specifying a defconfig in the Buildroot configuration, using +BR2_LINUX_KERNEL_USE_DEFCONFIG, or start by creating an empty file and +specifying it as custom configuration file, using +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG.

To make subsequent changes to the configuration, use make +linux-menuconfig to open the Linux configuration editor.

+Barebox +
Configuration of Barebox is done in the same way as for the Linux +kernel. The corresponding configuration variables are +BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG and +BR2_TARGET_BAREBOX_USE_DEFCONFIG. To open the configuration editor, +use make barebox-menuconfig.
+U-Boot +
Configuration of U-Boot (version 2015.04 or newer) is done in the same +way as for the Linux kernel. The corresponding configuration variables +are BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG and +BR2_TARGET_UBOOT_USE_DEFCONFIG. To open the configuration editor, +use make uboot-menuconfig.

Chapter 8. General Buildroot usage

8.1. make tips

This is a collection of tips that help you make the most of Buildroot.

Display all commands executed by make:  +

 $ make V=1 <target>

+

Display the list of boards with a defconfig:  +

 $ make list-defconfigs

+

Display all available targets:  +

 $ make help

+

Not all targets are always available, +some settings in the .config file may hide some targets:

  • +busybox-menuconfig only works when busybox is enabled; +
  • +linux-menuconfig and linux-savedefconfig only work when + linux is enabled; +
  • +uclibc-menuconfig is only available when the uClibc C library is + selected in the internal toolchain backend; +
  • +barebox-menuconfig and barebox-savedefconfig only work when the + barebox bootloader is enabled. +
  • +uboot-menuconfig and uboot-savedefconfig only work when the + U-Boot bootloader is enabled and the uboot build system is set + to Kconfig. +

Cleaning: Explicit cleaning is required when any of the architecture or toolchain +configuration options are changed.

To delete all build products (including build directories, host, staging +and target trees, the images and the toolchain):

 $ make clean

Generating the manual: The present manual sources are located in the docs/manual directory. +To generate the manual:

 $ make manual-clean
+ $ make manual

The manual outputs will be generated in output/docs/manual.

Notes

Resetting Buildroot for a new target: To delete all build products as well as the configuration:

 $ make distclean

Notes. If ccache is enabled, running make clean or distclean does +not empty the compiler cache used by Buildroot. To delete it, refer +to Section 8.14.3, “Using ccache in Buildroot”.

Dumping the internal make variables: One can dump the variables known to make, along with their values:

 $ make -s printvars VARS='VARIABLE1 VARIABLE2'
+ VARIABLE1=value_of_variable
+ VARIABLE2=value_of_variable

It is possible to tweak the output using some variables:

  • +VARS will limit the listing to variables which names match the + specified make-patterns - this must be set else nothing is printed +
  • +QUOTED_VARS, if set to YES, will single-quote the value +
  • +RAW_VARS, if set to YES, will print the unexpanded value +

For example:

 $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES
+ BUSYBOX_DEPENDENCIES=skeleton toolchain
+ BUSYBOX_FINAL_ALL_DEPENDENCIES=skeleton toolchain
+ BUSYBOX_FINAL_DEPENDENCIES=skeleton toolchain
+ BUSYBOX_FINAL_PATCH_DEPENDENCIES=
+ BUSYBOX_RDEPENDENCIES=ncurses util-linux
 $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES QUOTED_VARS=YES
+ BUSYBOX_DEPENDENCIES='skeleton toolchain'
+ BUSYBOX_FINAL_ALL_DEPENDENCIES='skeleton toolchain'
+ BUSYBOX_FINAL_DEPENDENCIES='skeleton toolchain'
+ BUSYBOX_FINAL_PATCH_DEPENDENCIES=''
+ BUSYBOX_RDEPENDENCIES='ncurses util-linux'
 $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES RAW_VARS=YES
+ BUSYBOX_DEPENDENCIES=skeleton toolchain
+ BUSYBOX_FINAL_ALL_DEPENDENCIES=$(sort $(BUSYBOX_FINAL_DEPENDENCIES) $(BUSYBOX_FINAL_PATCH_DEPENDENCIES))
+ BUSYBOX_FINAL_DEPENDENCIES=$(sort $(BUSYBOX_DEPENDENCIES))
+ BUSYBOX_FINAL_PATCH_DEPENDENCIES=$(sort $(BUSYBOX_PATCH_DEPENDENCIES))
+ BUSYBOX_RDEPENDENCIES=ncurses util-linux

The output of quoted variables can be reused in shell scripts, for example:

 $ eval $(make -s printvars VARS=BUSYBOX_DEPENDENCIES QUOTED_VARS=YES)
+ $ echo $BUSYBOX_DEPENDENCIES
+ skeleton toolchain

8.2. Understanding when a full rebuild is necessary

Buildroot does not attempt to detect what parts of the system should +be rebuilt when the system configuration is changed through make +menuconfig, make xconfig or one of the other configuration +tools. In some cases, Buildroot should rebuild the entire system, in +some cases, only a specific subset of packages. But detecting this in +a completely reliable manner is very difficult, and therefore the +Buildroot developers have decided to simply not attempt to do this.

Instead, it is the responsibility of the user to know when a full +rebuild is necessary. As a hint, here are a few rules of thumb that +can help you understand how to work with Buildroot:

  • +When the target architecture configuration is changed, a complete + rebuild is needed. Changing the architecture variant, the binary + format or the floating point strategy for example has an impact on + the entire system. +
  • +When the toolchain configuration is changed, a complete rebuild + generally is needed. Changing the toolchain configuration often + involves changing the compiler version, the type of C library or + its configuration, or some other fundamental configuration item, + and these changes have an impact on the entire system. +
  • +When an additional package is added to the configuration, a full + rebuild is not necessarily needed. Buildroot will detect that this + package has never been built, and will build it. However, if this + package is a library that can optionally be used by packages that + have already been built, Buildroot will not automatically rebuild + those. Either you know which packages should be rebuilt, and you + can rebuild them manually, or you should do a full rebuild. For + example, let’s suppose you have built a system with the ctorrent + package, but without openssl. Your system works, but you realize + you would like to have SSL support in ctorrent, so you enable the + openssl package in Buildroot configuration and restart the + build. Buildroot will detect that openssl should be built and + will be build it, but it will not detect that ctorrent should be + rebuilt to benefit from openssl to add OpenSSL support. You will + either have to do a full rebuild, or rebuild ctorrent itself. +
  • +When a package is removed from the configuration, Buildroot does + not do anything special. It does not remove the files installed by + this package from the target root filesystem or from the toolchain + sysroot. A full rebuild is needed to get rid of this + package. However, generally you don’t necessarily need this package + to be removed right now: you can wait for the next lunch break to + restart the build from scratch. +
  • +When the sub-options of a package are changed, the package is not + automatically rebuilt. After making such changes, rebuilding only + this package is often sufficient, unless enabling the package + sub-option adds some features to the package that are useful for + another package which has already been built. Again, Buildroot does + not track when a package should be rebuilt: once a package has been + built, it is never rebuilt unless explicitly told to do so. +
  • +When a change to the root filesystem skeleton is made, a full + rebuild is needed. However, when changes to the root filesystem + overlay, a post-build script or a post-image script are made, + there is no need for a full rebuild: a simple make invocation + will take the changes into account. +
  • +When a package listed in FOO_DEPENDENCIES is rebuilt or removed, + the package foo is not automatically rebuilt. For example, if a + package bar is listed in FOO_DEPENDENCIES with FOO_DEPENDENCIES + = bar and the configuration of the bar package is changed, the + configuration change would not result in a rebuild of package foo + automatically. In this scenario, you may need to either rebuild any + packages in your build which reference bar in their DEPENDENCIES, + or perform a full rebuild to ensure any bar dependent packages are + up to date. +

Generally speaking, when you’re facing a build error and you’re unsure +of the potential consequences of the configuration changes you’ve +made, do a full rebuild. If you get the same build error, then you are +sure that the error is not related to partial rebuilds of packages, +and if this error occurs with packages from the official Buildroot, do +not hesitate to report the problem! As your experience with Buildroot +progresses, you will progressively learn when a full rebuild is really +necessary, and you will save more and more time.

For reference, a full rebuild is achieved by running:

$ make clean all

8.3. Understanding how to rebuild packages

One of the most common questions asked by Buildroot users is how to +rebuild a given package or how to remove a package without rebuilding +everything from scratch.

Removing a package is unsupported by Buildroot without +rebuilding from scratch. This is because Buildroot doesn’t keep track +of which package installs what files in the output/staging and +output/target directories, or which package would be compiled differently +depending on the availability of another package.

The easiest way to rebuild a single package from scratch is to remove +its build directory in output/build. Buildroot will then re-extract, +re-configure, re-compile and re-install this package from scratch. You +can ask buildroot to do this with the make <package>-dirclean command.

On the other hand, if you only want to restart the build process of a +package from its compilation step, you can run make <package>-rebuild. It +will restart the compilation and installation of the package, but not from +scratch: it basically re-executes make and make install inside the package, +so it will only rebuild files that changed.

If you want to restart the build process of a package from its configuration +step, you can run make <package>-reconfigure. It will restart the +configuration, compilation and installation of the package.

While <package>-rebuild implies <package>-reinstall and +<package>-reconfigure implies <package>-rebuild, these targets as well +as <package> only act on the said package, and do not trigger re-creating +the root filesystem image. If re-creating the root filesystem in necessary, +one should in addition run make or make all.

Internally, Buildroot creates so-called stamp files to keep track of +which build steps have been completed for each package. They are +stored in the package build directory, +output/build/<package>-<version>/ and are named +.stamp_<step-name>. The commands detailed above simply manipulate +these stamp files to force Buildroot to restart a specific set of +steps of a package build process.

Further details about package special make targets are explained in +Section 8.14.5, “Package-specific make targets”.

8.4. Offline builds

If you intend to do an offline build and just want to download +all sources that you previously selected in the configurator +(menuconfig, nconfig, xconfig or gconfig), then issue:

 $ make source

You can now disconnect or copy the content of your dl +directory to the build-host.

8.5. Building out-of-tree

As default, everything built by Buildroot is stored in the directory +output in the Buildroot tree.

Buildroot also supports building out of tree with a syntax similar to +the Linux kernel. To use it, add O=<directory> to the make command +line:

 $ make O=/tmp/build

Or:

 $ cd /tmp/build; make O=$PWD -C path/to/buildroot

All the output files will be located under /tmp/build. If the O +path does not exist, Buildroot will create it.

Note: the O path can be either an absolute or a relative path, but if it’s +passed as a relative path, it is important to note that it is interpreted +relative to the main Buildroot source directory, not the current working +directory.

When using out-of-tree builds, the Buildroot .config and temporary +files are also stored in the output directory. This means that you can +safely run multiple builds in parallel using the same source tree as +long as they use unique output directories.

For ease of use, Buildroot generates a Makefile wrapper in the output +directory - so after the first run, you no longer need to pass O=<…> +and -C <…>, simply run (in the output directory):

 $ make <target>

8.6. Environment variables

Buildroot also honors some environment variables, when they are passed +to make or set in the environment:

  • +HOSTCXX, the host C++ compiler to use +
  • +HOSTCC, the host C compiler to use +
  • +UCLIBC_CONFIG_FILE=<path/to/.config>, path to + the uClibc configuration file, used to compile uClibc, if an + internal toolchain is being built. + + Note that the uClibc configuration file can also be set from the + configuration interface, so through the Buildroot .config file; this + is the recommended way of setting it. + +
  • +BUSYBOX_CONFIG_FILE=<path/to/.config>, path to + the BusyBox configuration file. + + Note that the BusyBox configuration file can also be set from the + configuration interface, so through the Buildroot .config file; this + is the recommended way of setting it. + +
  • +BR2_CCACHE_DIR to override the directory where + Buildroot stores the cached files when using ccache. + +
  • +BR2_DL_DIR to override the directory in which + Buildroot stores/retrieves downloaded files. + + Note that the Buildroot download directory can also be set from the + configuration interface, so through the Buildroot .config file. See + Section 8.14.4, “Location of downloaded packages” for more details on how you can set the download + directory. +
  • +BR2_GRAPH_ALT, if set and non-empty, to use an alternate color-scheme in + build-time graphs +
  • +BR2_GRAPH_OUT to set the filetype of generated graphs, either pdf (the + default), or png. +
  • +BR2_GRAPH_DEPS_OPTS to pass extra options to the dependency graph; see + Section 8.9, “Graphing the dependencies between packages” for the accepted options +
  • +BR2_GRAPH_DOT_OPTS is passed verbatim as options to the dot utility to + draw the dependency graph. +
  • +BR2_GRAPH_SIZE_OPTS to pass extra options to the size graph; see + Section 8.11, “Graphing the filesystem size contribution of packages” for the acepted options +

An example that uses config files located in the toplevel directory and +in your $HOME:

 $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config

If you want to use a compiler other than the default gcc +or g++ for building helper-binaries on your host, then do

 $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD

8.7. Dealing efficiently with filesystem images

Filesystem images can get pretty big, depending on the filesystem you choose, +the number of packages, whether you provisioned free space… Yet, some +locations in the filesystems images may just be empty (e.g. a long run of +zeroes); such a file is called a sparse file.

Most tools can handle sparse files efficiently, and will only store or write +those parts of a sparse file that are not empty.

For example:

  • +tar accepts the -S option to tell it to only store non-zero blocks + of sparse files: +

    • +tar cf archive.tar -S [files…] will efficiently store sparse files + in a tarball +
    • +tar xf archive.tar -S will efficiently store sparse files extracted + from a tarball +
  • +cp accepts the --sparse=WHEN option (WHEN is one of auto, + never or always): +

    • +cp --sparse=always source.file dest.file will make dest.file a + sparse file if source.file has long runs of zeroes +

Other tools may have similar options. Please consult their respective man +pages.

You can use sparse files if you need to store the filesystem images (e.g. +to transfer from one machine to another), or if you need to send them (e.g. +to the Q&A team).

Note however that flashing a filesystem image to a device while using the +sparse mode of dd may result in a broken filesystem (e.g. the block bitmap +of an ext2 filesystem may be corrupted; or, if you have sparse files in +your filesystem, those parts may not be all-zeroes when read back). You +should only use sparse files when handling files on the build machine, not +when transferring them to an actual device that will be used on the target.

8.8. Details about packages

Buildroot can produce a JSON blurb that describes the set of enabled +packages in the current configuration, together with their +dependencies, licenses and other metadata. This JSON blurb is produced +by using the show-info make target:

make show-info

Buildroot can also produce details about packages as HTML and JSON +output using the pkg-stats make target. Amongst other things, these +details include whether known CVEs (security vulnerabilities) affect +the packages in your current configuration. It also shows if there is +a newer upstream version for those packages.

make pkg-stats

8.9. Graphing the dependencies between packages

One of Buildroot’s jobs is to know the dependencies between packages, +and make sure they are built in the right order. These dependencies +can sometimes be quite complicated, and for a given system, it is +often not easy to understand why such or such package was brought into +the build by Buildroot.

In order to help understanding the dependencies, and therefore better +understand what is the role of the different components in your +embedded Linux system, Buildroot is capable of generating dependency +graphs.

To generate a dependency graph of the full system you have compiled, +simply run:

make graph-depends

You will find the generated graph in +output/graphs/graph-depends.pdf.

If your system is quite large, the dependency graph may be too complex +and difficult to read. It is therefore possible to generate the +dependency graph just for a given package:

make <pkg>-graph-depends

You will find the generated graph in +output/graph/<pkg>-graph-depends.pdf.

Note that the dependency graphs are generated using the dot tool +from the Graphviz project, which you must have installed on your +system to use this feature. In most distributions, it is available as +the graphviz package.

By default, the dependency graphs are generated in the PDF +format. However, by passing the BR2_GRAPH_OUT environment variable, you +can switch to other output formats, such as PNG, PostScript or +SVG. All formats supported by the -T option of the dot tool are +supported.

BR2_GRAPH_OUT=svg make graph-depends

The graph-depends behaviour can be controlled by setting options in the +BR2_GRAPH_DEPS_OPTS environment variable. The accepted options are:

  • +--depth N, -d N, to limit the dependency depth to N levels. The + default, 0, means no limit. +
  • +--stop-on PKG, -s PKG, to stop the graph on the package PKG. + PKG can be an actual package name, a glob, the keyword virtual + (to stop on virtual packages), or the keyword host (to stop on + host packages). The package is still present on the graph, but its + dependencies are not. +
  • +--exclude PKG, -x PKG, like --stop-on, but also omits PKG from + the graph. +
  • +--transitive, --no-transitive, to draw (or not) the transitive + dependencies. The default is to not draw transitive dependencies. +
  • +--colors R,T,H, the comma-separated list of colors to draw the + root package (R), the target packages (T) and the host packages + (H). Defaults to: lightblue,grey,gainsboro +
BR2_GRAPH_DEPS_OPTS='-d 3 --no-transitive --colors=red,green,blue' make graph-depends

8.10. Graphing the build duration

When the build of a system takes a long time, it is sometimes useful +to be able to understand which packages are the longest to build, to +see if anything can be done to speed up the build. In order to help +such build time analysis, Buildroot collects the build time of each +step of each package, and allows to generate graphs from this data.

To generate the build time graph after a build, run:

make graph-build

This will generate a set of files in output/graphs :

  • +build.hist-build.pdf, a histogram of the build time for each + package, ordered in the build order. +
  • +build.hist-duration.pdf, a histogram of the build time for each + package, ordered by duration (longest first) +
  • +build.hist-name.pdf, a histogram of the build time for each + package, order by package name. +
  • +build.pie-packages.pdf, a pie chart of the build time per package +
  • +build.pie-steps.pdf, a pie chart of the global time spent in each + step of the packages build process. +

This graph-build target requires the Python Matplotlib and Numpy +libraries to be installed (python-matplotlib and python-numpy on +most distributions), and also the argparse module if you’re using a +Python version older than 2.7 (python-argparse on most +distributions).

By default, the output format for the graph is PDF, but a different +format can be selected using the BR2_GRAPH_OUT environment variable. The +only other format supported is PNG:

BR2_GRAPH_OUT=png make graph-build

8.11. Graphing the filesystem size contribution of packages

When your target system grows, it is sometimes useful to understand +how much each Buildroot package is contributing to the overall root +filesystem size. To help with such an analysis, Buildroot collects +data about files installed by each package and using this data, +generates a graph and CSV files detailing the size contribution of +the different packages.

To generate these data after a build, run:

make graph-size

This will generate:

  • +output/graphs/graph-size.pdf, a pie chart of the contribution of + each package to the overall root filesystem size +
  • +output/graphs/package-size-stats.csv, a CSV file giving the size + contribution of each package to the overall root filesystem size +
  • +output/graphs/file-size-stats.csv, a CSV file giving the size + contribution of each installed file to the package it belongs, and + to the overall filesystem size. +

This graph-size target requires the Python Matplotlib library to be +installed (python-matplotlib on most distributions), and also the +argparse module if you’re using a Python version older than 2.7 +(python-argparse on most distributions).

Just like for the duration graph, a BR2_GRAPH_OUT environment variable +is supported to adjust the output file format. See Section 8.9, “Graphing the dependencies between packages” +for details about this environment variable.

Additionally, one may set the environment variable BR2_GRAPH_SIZE_OPTS +to further control the generated graph. Accepted options are:

  • +--size-limit X, -l X, will group all packages which individual + contribution is below X percent, to a single entry labelled Others + in the graph. By default, X=0.01, which means packages each + contributing less than 1% are grouped under Others. Accepted values + are in the range [0.0..1.0]. +
  • +--iec, --binary, --si, --decimal, to use IEC (binary, powers + of 1024) or SI (decimal, powers of 1000; the default) prefixes. +
  • +--biggest-first, to sort packages in decreasing size order, rather + than in increasing size order. +

Note. The collected filesystem size data is only meaningful after a complete +clean rebuild. Be sure to run make clean all before using make +graph-size.

To compare the root filesystem size of two different Buildroot compilations, +for example after adjusting the configuration or when switching to another +Buildroot release, use the size-stats-compare script. It takes two +file-size-stats.csv files (produced by make graph-size) as input. +Refer to the help text of this script for more details:

utils/size-stats-compare -h

8.12. Top-level parallel build

Note. This section deals with a very experimental feature, which is known to +break even in some non-unusual situations. Use at your own risk.

Buildroot has always been capable of using parallel build on a per +package basis: each package is built by Buildroot using make -jN (or +the equivalent invocation for non-make-based build systems). The level +of parallelism is by default number of CPUs + 1, but it can be +adjusted using the BR2_JLEVEL configuration option.

Until 2020.02, Buildroot was however building packages in a serial +fashion: each package was built one after the other, without +parallelization of the build between packages. As of 2020.02, +Buildroot has experimental support for top-level parallel build, +which allows some signicant build time savings by building packages +that have no dependency relationship in parallel. This feature is +however marked as experimental and is known not to work in some cases.

In order to use top-level parallel build, one must:

  1. +Enable the option BR2_PER_PACKAGE_DIRECTORIES in the Buildroot +configuration +
  2. +Use make -jN when starting the Buildroot build +

Internally, the BR2_PER_PACKAGE_DIRECTORIES will enable a mechanism +called per-package directories, which will have the following +effects:

  • +Instead of a global target directory and a global host directory + common to all packages, per-package target and host directories + will be used, in $(O)/per-package/<pkg>/target/ and + $(O)/per-package/<pkg>/host/ respectively. Those folders will be + populated from the corresponding folders of the package dependencies + at the beginning of <pkg> build. The compiler and all other tools + will therefore only be able to see and access files installed by + dependencies explicitly listed by <pkg>. +
  • +At the end of the build, the global target and host directories + will be populated, located in $(O)/target and $(O)/host + respectively. This means that during the build, those folders will + be empty and it’s only at the very end of the build that they will + be populated. +

8.13. Integration with Eclipse

While a part of the embedded Linux developers like classical text +editors like Vim or Emacs, and command-line based interfaces, a number +of other embedded Linux developers like richer graphical interfaces to +do their development work. Eclipse being one of the most popular +Integrated Development Environment, Buildroot integrates with Eclipse +in order to ease the development work of Eclipse users.

Our integration with Eclipse simplifies the compilation, remote +execution and remote debugging of applications and libraries that are +built on top of a Buildroot system. It does not integrate the +Buildroot configuration and build processes themselves with +Eclipse. Therefore, the typical usage model of our Eclipse integration +would be:

  • +Configure your Buildroot system with make menuconfig, make + xconfig or any other configuration interface provided with + Buildroot. +
  • +Build your Buildroot system by running make. +
  • +Start Eclipse to develop, execute and debug your own custom + applications and libraries, that will rely on the libraries built + and installed by Buildroot. +

The Buildroot Eclipse integration installation process and usage is +described in detail at +https://github.com/mbats/eclipse-buildroot-bundle/wiki.

8.14. Advanced usage

8.14.1. Using the generated toolchain outside Buildroot

You may want to compile, for your target, your own programs or other +software that are not packaged in Buildroot. In order to do this you +can use the toolchain that was generated by Buildroot.

The toolchain generated by Buildroot is located by default in +output/host/. The simplest way to use it is to add +output/host/bin/ to your PATH environment variable and then to +use ARCH-linux-gcc, ARCH-linux-objdump, ARCH-linux-ld, etc.

Alternatively, Buildroot can also export the toolchain and the development +files of all selected packages, as an SDK, by running the command +make sdk. This generates a tarball of the content of the host directory +output/host/, named <TARGET-TUPLE>_sdk-buildroot.tar.gz (which can be +overriden by setting the environment variable BR2_SDK_PREFIX) and +located in the output directory output/images/.

This tarball can then be distributed to application developers, when +they want to develop their applications that are not (yet) packaged as +a Buildroot package.

Upon extracting the SDK tarball, the user must run the script +relocate-sdk.sh (located at the top directory of the SDK), to make +sure all paths are updated with the new location.

Alternatively, if you just want to prepare the SDK without generating +the tarball (e.g. because you will just be moving the host directory, +or will be generating the tarball on your own), Buildroot also allows +you to just prepare the SDK with make prepare-sdk without actually +generating a tarball.

For your convenience, by selecting the option +BR2_PACKAGE_HOST_ENVIRONMENT_SETUP, you can get a +environment-setup script installed in output/host/ and therefore +in your SDK. This script can be sourced with +. your/sdk/path/environment-setup to export a number of environment +variables that will help cross-compile your projects using the +Buildroot SDK: the PATH will contain the SDK binaries, standard +autotools variables will be defined with the appropriate values, and +CONFIGURE_FLAGS will contain basic ./configure options to +cross-compile autotools projects. It also provides some useful +commands. Note however that once this script is sourced, the +environment is setup only for cross-compilation, and no longer for +native compilation.

8.14.2. Using gdb in Buildroot

Buildroot allows to do cross-debugging, where the debugger runs on the +build machine and communicates with gdbserver on the target to +control the execution of the program.

To achieve this:

  • +If you are using an internal toolchain (built by Buildroot), you + must enable BR2_PACKAGE_HOST_GDB, BR2_PACKAGE_GDB and + BR2_PACKAGE_GDB_SERVER. This ensures that both the cross gdb and + gdbserver get built, and that gdbserver gets installed to your target. +
  • +If you are using an external toolchain, you should enable + BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY, which will copy the + gdbserver included with the external toolchain to the target. If your + external toolchain does not have a cross gdb or gdbserver, it is also + possible to let Buildroot build them, by enabling the same options as + for the internal toolchain backend. +

Now, to start debugging a program called foo, you should run on the +target:

gdbserver :2345 foo

This will cause gdbserver to listen on TCP port 2345 for a connection +from the cross gdb.

Then, on the host, you should start the cross gdb using the following +command line:

<buildroot>/output/host/bin/<tuple>-gdb -ix <buildroot>/output/staging/usr/share/buildroot/gdbinit foo

Of course, foo must be available in the current directory, built +with debugging symbols. Typically you start this command from the +directory where foo is built (and not from output/target/ as the +binaries in that directory are stripped).

The <buildroot>/output/staging/usr/share/buildroot/gdbinit file will tell the +cross gdb where to find the libraries of the target.

Finally, to connect to the target from the cross gdb:

(gdb) target remote <target ip address>:2345

8.14.3. Using ccache in Buildroot

ccache is a compiler cache. It stores the +object files resulting from each compilation process, and is able to +skip future compilation of the same source file (with same compiler +and same arguments) by using the pre-existing object files. When doing +almost identical builds from scratch a number of times, it can nicely +speed up the build process.

ccache support is integrated in Buildroot. You just have to enable +Enable compiler cache in Build options. This will automatically +build ccache and use it for every host and target compilation.

The cache is located in $HOME/.buildroot-ccache. It is stored +outside of Buildroot output directory so that it can be shared by +separate Buildroot builds. If you want to get rid of the cache, simply +remove this directory.

You can get statistics on the cache (its size, number of hits, +misses, etc.) by running make ccache-stats.

The make target ccache-options and the CCACHE_OPTIONS variable +provide more generic access to the ccache. For example

# set cache limit size
+make CCACHE_OPTIONS="--max-size=5G" ccache-options
+
+# zero statistics counters
+make CCACHE_OPTIONS="--zero-stats" ccache-options

ccache makes a hash of the source files and of the compiler options. +If a compiler option is different, the cached object file will not be +used. Many compiler options, however, contain an absolute path to the +staging directory. Because of this, building in a different output +directory would lead to many cache misses.

To avoid this issue, buildroot has the Use relative paths option +(BR2_CCACHE_USE_BASEDIR). This will rewrite all absolute paths that +point inside the output directory into relative paths. Thus, changing +the output directory no longer leads to cache misses.

A disadvantage of the relative paths is that they also end up to be +relative paths in the object file. Therefore, for example, the debugger +will no longer find the file, unless you cd to the output directory +first.

See the +ccache manual’s section on "Compiling in different directories" for +more details about this rewriting of absolute paths.

8.14.4. Location of downloaded packages

The various tarballs that are downloaded by Buildroot are all stored +in BR2_DL_DIR, which by default is the dl directory. If you want +to keep a complete version of Buildroot which is known to be working +with the associated tarballs, you can make a copy of this directory. +This will allow you to regenerate the toolchain and the target +filesystem with exactly the same versions.

If you maintain several Buildroot trees, it might be better to have a +shared download location. This can be achieved by pointing the +BR2_DL_DIR environment variable to a directory. If this is +set, then the value of BR2_DL_DIR in the Buildroot configuration is +overridden. The following line should be added to <~/.bashrc>.

 export BR2_DL_DIR=<shared download location>

The download location can also be set in the .config file, with the +BR2_DL_DIR option. Unlike most options in the .config file, this value +is overridden by the BR2_DL_DIR environment variable.

8.14.5. Package-specific make targets

Running make <package> builds and installs that particular package +and its dependencies.

For packages relying on the Buildroot infrastructure, there are +numerous special make targets that can be called independently like +this:

make <package>-<target>

The package build targets are (in the order they are executed):

command/target Description

source

Fetch the source (download the tarball, clone +the source repository, etc)

depends

Build and install all dependencies required to +build the package

extract

Put the source in the package build directory +(extract the tarball, copy the source, etc)

patch

Apply the patches, if any

configure

Run the configure commands, if any

build

Run the compilation commands

install-staging

target package: Run the installation of the package in the +staging directory, if necessary

install-target

target package: Run the installation of the package in the +target directory, if necessary

install

target package: Run the 2 previous installation commands

+

host package: Run the installation of the package in the host +directory

Additionally, there are some other useful make targets:

command/target Description

show-depends

Displays the first-order dependencies required to build the +package

show-recursive-depends

Recursively displays the dependencies + required to build the package

show-rdepends

Displays the first-order reverse dependencies of + the package (i.e packages that directly depend on it)

show-recursive-rdepends

Recursively displays the reverse + dependencies of the package (i.e the packages that depend on it, + directly or indirectly)

graph-depends

Generate a dependency graph of the package, in the +context of the current Buildroot configuration. See +this section for more details about dependency +graphs.

graph-rdepends

Generate a graph of this package reverse + dependencies (i.e the packages that depend on it, directly or + indirectly)

dirclean

Remove the whole package build directory

reinstall

Re-run the install commands

rebuild

Re-run the compilation commands - this only makes +sense when using the OVERRIDE_SRCDIR feature or when you modified a file +directly in the build directory

reconfigure

Re-run the configure commands, then rebuild - this only +makes sense when using the OVERRIDE_SRCDIR feature or when you modified a +file directly in the build directory

8.14.6. Using Buildroot during development

The normal operation of Buildroot is to download a tarball, extract +it, configure, compile and install the software component found inside +this tarball. The source code is extracted in +output/build/<package>-<version>, which is a temporary directory: +whenever make clean is used, this directory is entirely removed, and +re-created at the next make invocation. Even when a Git or +Subversion repository is used as the input for the package source +code, Buildroot creates a tarball out of it, and then behaves as it +normally does with tarballs.

This behavior is well-suited when Buildroot is used mainly as an +integration tool, to build and integrate all the components of an +embedded Linux system. However, if one uses Buildroot during the +development of certain components of the system, this behavior is not +very convenient: one would instead like to make a small change to the +source code of one package, and be able to quickly rebuild the system +with Buildroot.

Making changes directly in output/build/<package>-<version> is not +an appropriate solution, because this directory is removed on make +clean.

Therefore, Buildroot provides a specific mechanism for this use case: +the <pkg>_OVERRIDE_SRCDIR mechanism. Buildroot reads an override +file, which allows the user to tell Buildroot the location of the +source for certain packages.

The default location of the override file is $(CONFIG_DIR)/local.mk, +as defined by the BR2_PACKAGE_OVERRIDE_FILE configuration option. +$(CONFIG_DIR) is the location of the Buildroot .config file, so +local.mk by default lives side-by-side with the .config file, +which means:

  • +In the top-level Buildroot source directory for in-tree builds + (i.e., when O= is not used) +
  • +In the out-of-tree directory for out-of-tree builds (i.e., when + O= is used) +

If a different location than these defaults is required, it can be +specified through the BR2_PACKAGE_OVERRIDE_FILE configuration +option.

In this override file, Buildroot expects to find lines of the form:

<pkg1>_OVERRIDE_SRCDIR = /path/to/pkg1/sources
+<pkg2>_OVERRIDE_SRCDIR = /path/to/pkg2/sources

For example:

LINUX_OVERRIDE_SRCDIR = /home/bob/linux/
+BUSYBOX_OVERRIDE_SRCDIR = /home/bob/busybox/

When Buildroot finds that for a given package, an +<pkg>_OVERRIDE_SRCDIR has been defined, it will no longer attempt to +download, extract and patch the package. Instead, it will directly use +the source code available in the specified directory and make clean +will not touch this directory. This allows to point Buildroot to your +own directories, that can be managed by Git, Subversion, or any other +version control system. To achieve this, Buildroot will use rsync to +copy the source code of the component from the specified +<pkg>_OVERRIDE_SRCDIR to output/build/<package>-custom/.

This mechanism is best used in conjunction with the make +<pkg>-rebuild and make <pkg>-reconfigure targets. A make +<pkg>-rebuild all sequence will rsync the source code from +<pkg>_OVERRIDE_SRCDIR to output/build/<package>-custom (thanks to +rsync, only the modified files are copied), and restart the build +process of just this package.

In the example of the linux package above, the developer can then +make a source code change in /home/bob/linux and then run:

make linux-rebuild all

and in a matter of seconds gets the updated Linux kernel image in +output/images. Similarly, a change can be made to the BusyBox source +code in /home/bob/busybox, and after:

make busybox-rebuild all

the root filesystem image in output/images contains the updated +BusyBox.

Source trees for big projects often contain hundreds or thousands of +files which are not needed for building, but will slow down the process +of copying the sources with rsync. Optionally, it is possible define +<pkg>_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS to skip syncing certain files +from the source tree. For example, when working on the webkitgtk +package, the following will exclude the tests and in-tree builds from +a local WebKit source tree:

WEBKITGTK_OVERRIDE_SRCDIR = /home/bob/WebKit
+WEBKITGTK_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = \
+        --exclude JSTests --exclude ManualTests --exclude PerformanceTests \
+        --exclude WebDriverTests --exclude WebKitBuild --exclude WebKitLibraries \
+        --exclude WebKit.xcworkspace --exclude Websites --exclude Examples

By default, Buildroot skips syncing of VCS artifacts (e.g., the .git and +.svn directories). Some packages prefer to have these VCS directories +available during build, for example for automatically determining a precise +commit reference for version information. To undo this built-in filtering at a +cost of a slower speed, add these directories back:

LINUX_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = --include .git

Chapter 9. Project-specific customization

Typical actions you may need to perform for a given project are:

  • +configuring Buildroot (including build options and toolchain, + bootloader, kernel, package and filesystem image type selection) +
  • +configuring other components, like the Linux kernel and BusyBox +
  • +customizing the generated target filesystem +

    • +adding or overwriting files on the target filesystem (using + BR2_ROOTFS_OVERLAY) +
    • +modifying or deleting files on the target filesystem (using + BR2_ROOTFS_POST_BUILD_SCRIPT) +
    • +running arbitrary commands prior to generating the filesystem image + (using BR2_ROOTFS_POST_BUILD_SCRIPT) +
    • +setting file permissions and ownership (using + BR2_ROOTFS_DEVICE_TABLE) +
    • +adding custom devices nodes (using + BR2_ROOTFS_STATIC_DEVICE_TABLE) +
  • +adding custom user accounts (using BR2_ROOTFS_USERS_TABLES) +
  • +running arbitrary commands after generating the filesystem image + (using BR2_ROOTFS_POST_IMAGE_SCRIPT) +
  • +adding project-specific patches to some packages (using + BR2_GLOBAL_PATCH_DIR) +
  • +adding project-specific packages +

An important note regarding such project-specific customizations: +please carefully consider which changes are indeed project-specific and +which changes are also useful to developers outside your project. The +Buildroot community highly recommends and encourages the upstreaming of +improvements, packages and board support to the official Buildroot +project. Of course, it is sometimes not possible or desirable to +upstream because the changes are highly specific or proprietary.

This chapter describes how to make such project-specific customizations +in Buildroot and how to store them in a way that you can build the same +image in a reproducible way, even after running make clean. By +following the recommended strategy, you can even use the same Buildroot +tree to build multiple distinct projects!

9.1. Recommended directory structure

When customizing Buildroot for your project, you will be creating one or +more project-specific files that need to be stored somewhere. While most +of these files could be placed in any location as their path is to be +specified in the Buildroot configuration, the Buildroot developers +recommend a specific directory structure which is described in this +section.

Orthogonal to this directory structure, you can choose where you place +this structure itself: either inside the Buildroot tree, or outside of +it using a br2-external tree. Both options are valid, the choice is up +to you.

+-- board/
+|   +-- <company>/
+|       +-- <boardname>/
+|           +-- linux.config
+|           +-- busybox.config
+|           +-- <other configuration files>
+|           +-- post_build.sh
+|           +-- post_image.sh
+|           +-- rootfs_overlay/
+|           |   +-- etc/
+|           |   +-- <some file>
+|           +-- patches/
+|               +-- foo/
+|               |   +-- <some patch>
+|               +-- libbar/
+|                   +-- <some other patches>
+|
++-- configs/
+|   +-- <boardname>_defconfig
+|
++-- package/
+|   +-- <company>/
+|       +-- Config.in (if not using a br2-external tree)
+|       +-- <company>.mk (if not using a br2-external tree)
+|       +-- package1/
+|       |    +-- Config.in
+|       |    +-- package1.mk
+|       +-- package2/
+|           +-- Config.in
+|           +-- package2.mk
+|
++-- Config.in (if using a br2-external tree)
++-- external.mk (if using a br2-external tree)
++-- external.desc (if using a br2-external tree)

Details on the files shown above are given further in this chapter.

Note: if you choose to place this structure outside of the Buildroot +tree but in a br2-external tree, the <company> and possibly <boardname> +components may be superfluous and can be left out.

9.1.1. Implementing layered customizations

It is quite common for a user to have several related projects that partly +need the same customizations. Instead of duplicating these +customizations for each project, it is recommended to use a layered +customization approach, as explained in this section.

Almost all of the customization methods available in Buildroot, like +post-build scripts and root filesystem overlays, accept a +space-separated list of items. The specified items are always treated in +order, from left to right. By creating more than one such item, one for +the common customizations and another one for the really +project-specific customizations, you can avoid unnecessary duplication. +Each layer is typically embodied by a separate directory inside +board/<company>/. Depending on your projects, you could even introduce +more than two layers.

An example directory structure for where a user has two customization +layers common and fooboard is:

+-- board/
+    +-- <company>/
+        +-- common/
+        |   +-- post_build.sh
+        |   +-- rootfs_overlay/
+        |   |   +-- ...
+        |   +-- patches/
+        |       +-- ...
+        |
+        +-- fooboard/
+            +-- linux.config
+            +-- busybox.config
+            +-- <other configuration files>
+            +-- post_build.sh
+            +-- rootfs_overlay/
+            |   +-- ...
+            +-- patches/
+                +-- ...

For example, if the user has the BR2_GLOBAL_PATCH_DIR configuration +option set as:

BR2_GLOBAL_PATCH_DIR="board/<company>/common/patches board/<company>/fooboard/patches"

then first the patches from the common layer would be applied, +followed by the patches from the fooboard layer.

9.2. Keeping customizations outside of Buildroot

As already briefly mentioned in Section 9.1, “Recommended directory structure”, you can +place project-specific customizations in two locations:

  • +directly within the Buildroot tree, typically maintaining them using + branches in a version control system so that upgrading to a newer + Buildroot release is easy. +
  • +outside of the Buildroot tree, using the br2-external mechanism. + This mechanism allows to keep package recipes, board support and + configuration files outside of the Buildroot tree, while still + having them nicely integrated in the build logic. We call this + location a br2-external tree. This section explains how to use + the br2-external mechanism and what to provide in a br2-external + tree. +

One can tell Buildroot to use one or more br2-external trees by setting +the BR2_EXTERNAL make variable set to the path(s) of the br2-external +tree(s) to use. It can be passed to any Buildroot make invocation. It +is automatically saved in the hidden .br2-external.mk file in the output +directory. Thanks to this, there is no need to pass BR2_EXTERNAL at +every make invocation. It can however be changed at any time by +passing a new value, and can be removed by passing an empty value.

Note. The path to a br2-external tree can be either absolute or relative. +If it is passed as a relative path, it is important to note that it is +interpreted relative to the main Buildroot source directory, not to +the Buildroot output directory.

Note: If using an br2-external tree from before Buildroot 2016.11, you need to +convert it before you can use it with Buildroot 2016.11 onward. See +Section 27.2, “Migrating to 2016.11” for help on doing so.

Some examples:

buildroot/ $ make BR2_EXTERNAL=/path/to/foo menuconfig

From now on, definitions from the /path/to/foo br2-external tree +will be used:

buildroot/ $ make
+buildroot/ $ make legal-info

We can switch to another br2-external tree at any time:

buildroot/ $ make BR2_EXTERNAL=/where/we/have/bar xconfig

We can also use multiple br2-external trees:

buildroot/ $ make BR2_EXTERNAL=/path/to/foo:/where/we/have/bar menuconfig

Or disable the usage of any br2-external tree:

buildroot/ $ make BR2_EXTERNAL= xconfig

9.2.1. Layout of a br2-external tree

A br2-external tree must contain at least those three files, described +in the following chapters:

  • +external.desc +
  • +external.mk +
  • +Config.in +

Apart from those mandatory files, there may be additional and optional +content that may be present in a br2-external tree, like the configs/ +or provides/ directories. They are described in the following chapters +as well.

A complete example br2-external tree layout is also described later.

The external.desc file

That file describes the br2-external tree: the name and description +for that br2-external tree.

The format for this file is line based, with each line starting by a +keyword, followed by a colon and one or more spaces, followed by the +value assigned to that keyword. There are two keywords currently +recognised:

  • +name, mandatory, defines the name for that br2-external tree. That + name must only use ASCII characters in the set [A-Za-z0-9_]; any + other character is forbidden. Buildroot sets the variable + BR2_EXTERNAL_$(NAME)_PATH to the absolute path of the br2-external + tree, so that you can use it to refer to your br2-external tree. This + variable is available both in Kconfig, so you can use it to source your + Kconfig files (see below) and in the Makefile, so that you can use it + to include other Makefiles (see below) or refer to other files (like + data files) from your br2-external tree. +

    Note: Since it is possible to use multiple br2-external trees at once, this + name is used by Buildroot to generate variables for each of those trees. + That name is used to identify your br2-external tree, so try to come up + with a name that really describes your br2-external tree, in order for + it to be relatively unique, so that it does not clash with another name + from another br2-external tree, especially if you are planning on + somehow sharing your br2-external tree with third parties or using + br2-external trees from third parties.

  • +desc, optional, provides a short description for that br2-external + tree. It shall fit on a single line, is mostly free-form (see below), + and is used when displaying information about a br2-external tree (e.g. + above the list of defconfig files, or as the prompt in the menuconfig); + as such, it should relatively brief (40 chars is probably a good upper + limit). The description is available in the BR2_EXTERNAL_$(NAME)_DESC + variable. +

Examples of names and the corresponding BR2_EXTERNAL_$(NAME)_PATH +variables:

  • +FOOBR2_EXTERNAL_FOO_PATH +
  • +BAR_42BR2_EXTERNAL_BAR_42_PATH +

In the following examples, it is assumed the name to be set to BAR_42.

Note: Both BR2_EXTERNAL_$(NAME)_PATH and BR2_EXTERNAL_$(NAME)_DESC are + available in the Kconfig files and the Makefiles. They are also + exported in the environment so are available in post-build, post-image + and in-fakeroot scripts.

The Config.in and external.mk files

Those files (which may each be empty) can be used to define package +recipes (i.e. foo/Config.in and foo/foo.mk like for packages bundled +in Buildroot itself) or other custom configuration options or make logic.

Buildroot automatically includes the Config.in from each br2-external +tree to make it appear in the top-level configuration menu, and includes +the external.mk from each br2-external tree with the rest of the +makefile logic.

The main usage of this is to store package recipes. The recommended way +to do this is to write a Config.in file that looks like:

source "$BR2_EXTERNAL_BAR_42_PATH/package/package1/Config.in"
+source "$BR2_EXTERNAL_BAR_42_PATH/package/package2/Config.in"

Then, have an external.mk file that looks like:

include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk))

And then in $(BR2_EXTERNAL_BAR_42_PATH)/package/package1 and +$(BR2_EXTERNAL_BAR_42_PATH)/package/package2 create normal +Buildroot package recipes, as explained in Chapter 18, Adding new packages to Buildroot. +If you prefer, you can also group the packages in subdirectories +called <boardname> and adapt the above paths accordingly.

You can also define custom configuration options in Config.in and +custom make logic in external.mk.

The configs/ directory

One can store Buildroot defconfigs in the configs subdirectory of +the br2-external tree. Buildroot will automatically show them in the +output of make list-defconfigs and allow them to be loaded with the +normal make <name>_defconfig command. They will be visible in the +make list-defconfigs output, below an External configs label that +contains the name of the br2-external tree they are defined in.

Note: If a defconfig file is present in more than one br2-external tree, then +the one from the last br2-external tree is used. It is thus possible +to override a defconfig bundled in Buildroot or another br2-external +tree.

The provides/ directory

For some packages, Buildroot provides a choice between two (or more) +implementations of API-compatible such packages. For example, there is +a choice to choose either libjpeg ot jpeg-turbo; there is one between +openssl or libressl; there is one to select one of the known, +pre-configured toolchains…

It is possible for a br2-external to extend those choices, by providing +a set of files that define those alternatives:

  • +provides/toolchains.in defines the pre-configured toolchains, which + will then be listed in the toolchain selection; +
  • +provides/jpeg.in defines the alternative libjpeg implementations; +
  • +provides/openssl.in defines the alternative openssl implementations; +
  • +provides/skeleton.in defines the alternative skeleton implementations; +
  • +provides/init.in defines the alternative init system implementations, this + can be used to select a default skeleton for your init. +

Free-form content

One can store all the board-specific configuration files there, such +as the kernel configuration, the root filesystem overlay, or any other +configuration file for which Buildroot allows to set the location (by +using the BR2_EXTERNAL_$(NAME)_PATH variable). For example, you +could set the paths to a global patch directory, to a rootfs overlay +and to the kernel configuration file as follows (e.g. by running +make menuconfig and filling in these options):

BR2_GLOBAL_PATCH_DIR=$(BR2_EXTERNAL_BAR_42_PATH)/patches/
+BR2_ROOTFS_OVERLAY=$(BR2_EXTERNAL_BAR_42_PATH)/board/<boardname>/overlay/
+BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=$(BR2_EXTERNAL_BAR_42_PATH)/board/<boardname>/kernel.config

Additional Linux kernel extensions

Additional Linux kernel extensions (see Section 18.22.2, “linux-kernel-extensions”) can +be added by storing them in the linux/ directory at the root of a +br2-external tree.

Example layout

Here is an example layout using all features of br2-external (the sample +content is shown for the file above it, when it is relevant to explain +the br2-external tree; this is all entirely made up just for the sake of +illustration, of course):

/path/to/br2-ext-tree/
+  |- external.desc
+  |     |name: BAR_42
+  |     |desc: Example br2-external tree
+  |     `----
+  |
+  |- Config.in
+  |     |source "$BR2_EXTERNAL_BAR_42_PATH/toolchain/toolchain-external-mine/Config.in.options"
+  |     |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-1/Config.in"
+  |     |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-2/Config.in"
+  |     |source "$BR2_EXTERNAL_BAR_42_PATH/package/my-jpeg/Config.in"
+  |     |
+  |     |config BAR_42_FLASH_ADDR
+  |     |    hex "my-board flash address"
+  |     |    default 0x10AD
+  |     `----
+  |
+  |- external.mk
+  |     |include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk))
+  |     |include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/toolchain/*/*.mk))
+  |     |
+  |     |flash-my-board:
+  |     |    $(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/flash-image \
+  |     |        --image $(BINARIES_DIR)/image.bin \
+  |     |        --address $(BAR_42_FLASH_ADDR)
+  |     `----
+  |
+  |- package/pkg-1/Config.in
+  |     |config BR2_PACKAGE_PKG_1
+  |     |    bool "pkg-1"
+  |     |    help
+  |     |      Some help about pkg-1
+  |     `----
+  |- package/pkg-1/pkg-1.hash
+  |- package/pkg-1/pkg-1.mk
+  |     |PKG_1_VERSION = 1.2.3
+  |     |PKG_1_SITE = /some/where/to/get/pkg-1
+  |     |PKG_1_LICENSE = blabla
+  |     |
+  |     |define PKG_1_INSTALL_INIT_SYSV
+  |     |    $(INSTALL) -D -m 0755 $(PKG_1_PKGDIR)/S99my-daemon \
+  |     |                          $(TARGET_DIR)/etc/init.d/S99my-daemon
+  |     |endef
+  |     |
+  |     |$(eval $(autotools-package))
+  |     `----
+  |- package/pkg-1/S99my-daemon
+  |
+  |- package/pkg-2/Config.in
+  |- package/pkg-2/pkg-2.hash
+  |- package/pkg-2/pkg-2.mk
+  |
+  |- provides/jpeg.in
+  |     |config BR2_PACKAGE_MY_JPEG
+  |     |    bool "my-jpeg"
+  |     `----
+  |- package/my-jpeg/Config.in
+  |     |config BR2_PACKAGE_PROVIDES_JPEG
+  |     |    default "my-jpeg" if BR2_PACKAGE_MY_JPEG
+  |     `----
+  |- package/my-jpeg/my-jpeg.mk
+  |     |# This is a normal package .mk file
+  |     |MY_JPEG_VERSION = 1.2.3
+  |     |MY_JPEG_SITE = https://example.net/some/place
+  |     |MY_JPEG_PROVIDES = jpeg
+  |     |$(eval $(autotools-package))
+  |     `----
+  |
+  |- provides/init.in
+  |     |config BR2_INIT_MINE
+  |     |    bool "my custom init"
+  |     |    select BR2_PACKAGE_MY_INIT
+  |     |    select BR2_PACKAGE_SKELETON_INIT_MINE if BR2_ROOTFS_SKELETON_DEFAULT
+  |     `----
+  |
+  |- provides/skeleton.in
+  |     |config BR2_ROOTFS_SKELETON_MINE
+  |     |    bool "my custom skeleton"
+  |     |    select BR2_PACKAGE_SKELETON_MINE
+  |     `----
+  |- package/skeleton-mine/Config.in
+  |     |config BR2_PACKAGE_SKELETON_MINE
+  |     |    bool
+  |     |    select BR2_PACKAGE_HAS_SKELETON
+  |     |
+  |     |config BR2_PACKAGE_PROVIDES_SKELETON
+  |     |    default "skeleton-mine" if BR2_PACKAGE_SKELETON_MINE
+  |     `----
+  |- package/skeleton-mine/skeleton-mine.mk
+  |     |SKELETON_MINE_ADD_TOOLCHAIN_DEPENDENCY = NO
+  |     |SKELETON_MINE_ADD_SKELETON_DEPENDENCY = NO
+  |     |SKELETON_MINE_PROVIDES = skeleton
+  |     |SKELETON_MINE_INSTALL_STAGING = YES
+  |     |$(eval $(generic-package))
+  |     `----
+  |
+  |- provides/toolchains.in
+  |     |config BR2_TOOLCHAIN_EXTERNAL_MINE
+  |     |    bool "my custom toolchain"
+  |     |    depends on BR2_some_arch
+  |     |    select BR2_INSTALL_LIBSTDCPP
+  |     `----
+  |- toolchain/toolchain-external-mine/Config.in.options
+  |     |if BR2_TOOLCHAIN_EXTERNAL_MINE
+  |     |config BR2_TOOLCHAIN_EXTERNAL_PREFIX
+  |     |    default "arch-mine-linux-gnu"
+  |     |config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL
+  |     |    default "toolchain-external-mine"
+  |     |endif
+  |     `----
+  |- toolchain/toolchain-external-mine/toolchain-external-mine.mk
+  |     |TOOLCHAIN_EXTERNAL_MINE_SITE = https://example.net/some/place
+  |     |TOOLCHAIN_EXTERNAL_MINE_SOURCE = my-toolchain.tar.gz
+  |     |$(eval $(toolchain-external-package))
+  |     `----
+  |
+  |- linux/Config.ext.in
+  |     |config BR2_LINUX_KERNEL_EXT_EXAMPLE_DRIVER
+  |     |    bool "example-external-driver"
+  |     |    help
+  |     |      Example external driver
+  |     |---
+  |- linux/linux-ext-example-driver.mk
+  |
+  |- configs/my-board_defconfig
+  |     |BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_BAR_42_PATH)/patches/"
+  |     |BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/overlay/"
+  |     |BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/post-image.sh"
+  |     |BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/kernel.config"
+  |     `----
+  |
+  |- patches/linux/0001-some-change.patch
+  |- patches/linux/0002-some-other-change.patch
+  |- patches/busybox/0001-fix-something.patch
+  |
+  |- board/my-board/kernel.config
+  |- board/my-board/overlay/var/www/index.html
+  |- board/my-board/overlay/var/www/my.css
+  |- board/my-board/flash-image
+  `- board/my-board/post-image.sh
+        |#!/bin/sh
+        |generate-my-binary-image \
+        |    --root ${BINARIES_DIR}/rootfs.tar \
+        |    --kernel ${BINARIES_DIR}/zImage \
+        |    --dtb ${BINARIES_DIR}/my-board.dtb \
+        |    --output ${BINARIES_DIR}/image.bin
+        `----

The br2-external tree will then be visible in the menuconfig (with +the layout expanded):

External options  --->
+    *** Example br2-external tree (in /path/to/br2-ext-tree/)
+    [ ] pkg-1
+    [ ] pkg-2
+    (0x10AD) my-board flash address

If you are using more than one br2-external tree, it would look like +(with the layout expanded and the second one with name FOO_27 but no +desc: field in external.desc):

External options  --->
+    Example br2-external tree  --->
+        *** Example br2-external tree (in /path/to/br2-ext-tree)
+        [ ] pkg-1
+        [ ] pkg-2
+        (0x10AD) my-board flash address
+    FOO_27  --->
+        *** FOO_27 (in /path/to/another-br2-ext)
+        [ ] foo
+        [ ] bar

Additionally, the jpeg provider will be visible in the jpeg choice:

Target packages  --->
+    Libraries  --->
+        Graphics  --->
+            [*] jpeg support
+                jpeg variant ()  --->
+                    ( ) jpeg
+                    ( ) jpeg-turbo
+                        *** jpeg from: Example br2-external tree ***
+                    (X) my-jpeg
+                        *** jpeg from: FOO_27 ***
+                    ( ) another-jpeg

And similarly for the toolchains:

Toolchain  --->
+    Toolchain ()  --->
+        ( ) Custom toolchain
+            *** Toolchains from: Example br2-external tree ***
+        (X) my custom toolchain

Note. The toolchain options in toolchain/toolchain-external-mine/Config.in.options +will not appear in the Toolchain menu. They must be explicitly included +from within the br2-external’s top-level Config.in and will thus appear +in the External options menu.

9.3. Storing the Buildroot configuration

The Buildroot configuration can be stored using the command + make savedefconfig.

This strips the Buildroot configuration down by removing configuration +options that are at their default value. The result is stored in a file +called defconfig. If you want to save it in another place, change the +BR2_DEFCONFIG option in the Buildroot configuration itself, or call +make with make savedefconfig BR2_DEFCONFIG=<path-to-defconfig>.

The recommended place to store this defconfig is +configs/<boardname>_defconfig. If you follow this recommendation, the +configuration will be listed in make help and can be set again by +running make <boardname>_defconfig.

Alternatively, you can copy the file to any other place and rebuild with +make defconfig BR2_DEFCONFIG=<path-to-defconfig-file>.

9.4. Storing the configuration of other components

The configuration files for BusyBox, the Linux kernel, Barebox, U-Boot +and uClibc should be stored as well if changed. For each of these +components, a Buildroot configuration option exists to point to an input +configuration file, e.g. BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. To store +their configuration, set these configuration options to a path where you +want to save the configuration files, and then use the helper targets +described below to actually store the configuration.

As explained in Section 9.1, “Recommended directory structure”, the recommended path to +store these configuration files is +board/<company>/<boardname>/foo.config.

Make sure that you create a configuration file before changing +the BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE etc. options. Otherwise, +Buildroot will try to access this config file, which doesn’t exist +yet, and will fail. You can create the configuration file by running +make linux-menuconfig etc.

Buildroot provides a few helper targets to make the saving of +configuration files easier.

  • +make linux-update-defconfig saves the linux configuration to the + path specified by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. It + simplifies the config file by removing default values. However, + this only works with kernels starting from 2.6.33. For earlier + kernels, use make linux-update-config. +
  • +make busybox-update-config saves the busybox configuration to the + path specified by BR2_PACKAGE_BUSYBOX_CONFIG. +
  • +make uclibc-update-config saves the uClibc configuration to the + path specified by BR2_UCLIBC_CONFIG. +
  • +make barebox-update-defconfig saves the barebox configuration to the + path specified by BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE. +
  • +make uboot-update-defconfig saves the U-Boot configuration to the + path specified by BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE. +
  • +For at91bootstrap3, no helper exists so you have to copy the config + file manually to BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE. +

9.5. Customizing the generated target filesystem

Besides changing the configuration through make *config, +there are a few other ways to customize the resulting target filesystem.

The two recommended methods, which can co-exist, are root filesystem +overlay(s) and post build script(s).

+Root filesystem overlays (BR2_ROOTFS_OVERLAY) +

A filesystem overlay is a tree of files that is copied directly + over the target filesystem after it has been built. To enable this + feature, set config option BR2_ROOTFS_OVERLAY (in the System + configuration menu) to the root of the overlay. You can even specify + multiple overlays, space-separated. If you specify a relative path, + it will be relative to the root of the Buildroot tree. Hidden + directories of version control systems, like .git, .svn, .hg, + etc., files called .empty and files ending in ~ are excluded from + the copy.

When BR2_ROOTFS_MERGED_USR is enabled, then the overlay must not + contain the /bin, /lib or /sbin directories, as Buildroot will + create them as symbolic links to the relevant folders in /usr. In + such a situation, should the overlay have any programs or libraries, + they should be placed in /usr/bin, /usr/sbin and /usr/lib.

As shown in Section 9.1, “Recommended directory structure”, the recommended path for + this overlay is board/<company>/<boardname>/rootfs-overlay.

+Post-build scripts (BR2_ROOTFS_POST_BUILD_SCRIPT) +

Post-build scripts are shell scripts called after Buildroot builds + all the selected software, but before the rootfs images are + assembled. To enable this feature, specify a space-separated list of + post-build scripts in config option BR2_ROOTFS_POST_BUILD_SCRIPT (in + the System configuration menu). If you specify a relative path, it + will be relative to the root of the Buildroot tree.

Using post-build scripts, you can remove or modify any file in your + target filesystem. You should, however, use this feature with care. + Whenever you find that a certain package generates wrong or unneeded + files, you should fix that package rather than work around it with some + post-build cleanup scripts.

As shown in Section 9.1, “Recommended directory structure”, the recommended path for + this script is board/<company>/<boardname>/post_build.sh.

The post-build scripts are run with the main Buildroot tree as current + working directory. The path to the target filesystem is passed as the + first argument to each script. If the config option + BR2_ROOTFS_POST_SCRIPT_ARGS is not empty, these arguments will be + passed to the script too. All the scripts will be passed the exact + same set of arguments, it is not possible to pass different sets of + arguments to each script.

In addition, you may also use these environment variables:

  • +BR2_CONFIG: the path to the Buildroot .config file +
  • +CONFIG_DIR: the directory containing the .config file, and + therefore the top-level Buildroot Makefile to use (which is + correct for both in-tree and out-of-tree builds) +
  • +HOST_DIR, STAGING_DIR, TARGET_DIR: see + Section 18.6.2, “generic-package reference” +
  • +BUILD_DIR: the directory where packages are extracted and built +
  • +BINARIES_DIR: the place where all binary files (aka images) are + stored +
  • +BASE_DIR: the base output directory +

Below three more methods of customizing the target filesystem are +described, but they are not recommended.

+Direct modification of the target filesystem +

For temporary modifications, you can modify the target filesystem + directly and rebuild the image. The target filesystem is available + under output/target/. After making your changes, run make to + rebuild the target filesystem image.

This method allows you to do anything to the target filesystem, but if + you need to clean your Buildroot tree using make clean, these + changes will be lost. Such cleaning is necessary in several cases, + refer to Section 8.2, “Understanding when a full rebuild is necessary” for details. This solution is therefore + only useful for quick tests: changes do not survive the make clean + command. Once you have validated your changes, you should make sure + that they will persist after a make clean, using a root filesystem + overlay or a post-build script.

+Custom target skeleton (BR2_ROOTFS_SKELETON_CUSTOM) +

The root filesystem image is created from a target skeleton, on top of + which all packages install their files. The skeleton is copied to the + target directory output/target before any package is built and + installed. The default target skeleton provides the standard Unix + filesystem layout and some basic init scripts and configuration files.

If the default skeleton (available under system/skeleton) does not + match your needs, you would typically use a root filesystem overlay or + post-build script to adapt it. However, if the default skeleton is + entirely different than what you need, using a custom skeleton may be + more suitable.

To enable this feature, enable config option + BR2_ROOTFS_SKELETON_CUSTOM and set BR2_ROOTFS_SKELETON_CUSTOM_PATH + to the path of your custom skeleton. Both options are available in the + System configuration menu. If you specify a relative path, it will + be relative to the root of the Buildroot tree.

Custom skeletons don’t need to contain the /bin, /lib or /sbin + directories, since they are created automatically during the build. + When BR2_ROOTFS_MERGED_USR is enabled, then the custom skeleton must + not contain the /bin, /lib or /sbin directories, as Buildroot + will create them as symbolic links to the relevant folders in /usr. + In such a situation, should the skeleton have any programs or + libraries, they should be placed in /usr/bin, /usr/sbin and + /usr/lib.

This method is not recommended because it duplicates the entire + skeleton, which prevents taking advantage of the fixes or improvements + brought to the default skeleton in later Buildroot releases.

+Post-fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) +

When aggregating the final images, some parts of the process requires + root rights: creating device nodes in /dev, setting permissions or + ownership to files and directories… To avoid requiring actual root + rights, Buildroot uses fakeroot to simulate root rights. This is not + a complete substitute for actually being root, but is enough for what + Buildroot needs.

Post-fakeroot scripts are shell scripts that are called at the end of + the fakeroot phase, right before the filesystem image generator is + called. As such, they are called in the fakeroot context.

Post-fakeroot scripts can be useful in case you need to tweak the + filesystem to do modifications that are usually only available to the + root user.

Note: It is recommended to use the existing mechanisms to set file permissions + or create entries in /dev (see Section 9.5.1, “Setting file permissions and ownership and adding custom devices nodes”) or + to create users (see Section 9.6, “Adding custom user accounts”)

Note: The difference between post-build scripts (above) and fakeroot scripts, + is that post-build scripts are not called in the fakeroot context.

Note: Using fakeroot is not an absolute substitute for actually being root. + fakeroot only ever fakes the file access rights and types (regular, + block-or-char device…) and uid/gid; these are emulated in-memory.

9.5.1. Setting file permissions and ownership and adding custom devices nodes

Sometimes it is needed to set specific permissions or ownership on files +or device nodes. For example, certain files may need to be owned by +root. Since the post-build scripts are not run as root, you cannot do +such changes from there unless you use an explicit fakeroot from the +post-build script.

Instead, Buildroot provides support for so-called permission tables. +To use this feature, set config option BR2_ROOTFS_DEVICE_TABLE to a +space-separated list of permission tables, regular text files following +the makedev syntax.

If you are using a static device table (i.e. not using devtmpfs, +mdev, or (e)udev) then you can add device nodes using the same +syntax, in so-called device tables. To use this feature, set config +option BR2_ROOTFS_STATIC_DEVICE_TABLE to a space-separated list of +device tables.

As shown in Section 9.1, “Recommended directory structure”, the recommended location for +such files is board/<company>/<boardname>/.

It should be noted that if the specific permissions or device nodes are +related to a specific application, you should set variables +FOO_PERMISSIONS and FOO_DEVICES in the package’s .mk file instead +(see Section 18.6.2, “generic-package reference”).

9.6. Adding custom user accounts

Sometimes it is needed to add specific users in the target system. +To cover this requirement, Buildroot provides support for so-called +users tables. To use this feature, set config option +BR2_ROOTFS_USERS_TABLES to a space-separated list of users tables, +regular text files following the makeusers syntax.

As shown in Section 9.1, “Recommended directory structure”, the recommended location for +such files is board/<company>/<boardname>/.

It should be noted that if the custom users are related to a specific +application, you should set variable FOO_USERS in the package’s .mk +file instead (see Section 18.6.2, “generic-package reference”).

9.7. Customization after the images have been created

While post-build scripts (Section 9.5, “Customizing the generated target filesystem”) are run before +building the filesystem image, kernel and bootloader, post-image +scripts can be used to perform some specific actions after all images +have been created.

Post-image scripts can for example be used to automatically extract your +root filesystem tarball in a location exported by your NFS server, or +to create a special firmware image that bundles your root filesystem and +kernel image, or any other custom action required for your project.

To enable this feature, specify a space-separated list of post-image +scripts in config option BR2_ROOTFS_POST_IMAGE_SCRIPT (in the System +configuration menu). If you specify a relative path, it will be +relative to the root of the Buildroot tree.

Just like post-build scripts, post-image scripts are run with the main +Buildroot tree as current working directory. The path to the images +output directory is passed as the first argument to each script. If the +config option BR2_ROOTFS_POST_SCRIPT_ARGS is not empty, these +arguments will be passed to the script too. All the scripts will be +passed the exact same set of arguments, it is not possible to pass +different sets of arguments to each script.

Again just like for the post-build scripts, the scripts have access to +the environment variables BR2_CONFIG, HOST_DIR, STAGING_DIR, +TARGET_DIR, BUILD_DIR, BINARIES_DIR, CONFIG_DIR and +BASE_DIR.

The post-image scripts will be executed as the user that executes +Buildroot, which should normally not be the root user. Therefore, any +action requiring root permissions in one of these scripts will require +special handling (usage of fakeroot or sudo), which is left to the +script developer.

9.8. Adding project-specific patches

It is sometimes useful to apply extra patches to packages - on top of +those provided in Buildroot. This might be used to support custom +features in a project, for example, or when working on a new +architecture.

The BR2_GLOBAL_PATCH_DIR configuration option can be used to specify +a space separated list of one or more directories containing package +patches.

For a specific version <packageversion> of a specific package +<packagename>, patches are applied from BR2_GLOBAL_PATCH_DIR as +follows:

  1. +For every directory - <global-patch-dir> - that exists in + BR2_GLOBAL_PATCH_DIR, a <package-patch-dir> will be determined as + follows: +

    • +<global-patch-dir>/<packagename>/<packageversion>/ if the + directory exists. +
    • +Otherwise, <global-patch-dir>/<packagename> if the directory + exists. +
  2. +Patches will then be applied from a <package-patch-dir> as + follows: +

    • +If a series file exists in the package directory, then patches are + applied according to the series file; +
    • +Otherwise, patch files matching *.patch are applied in + alphabetical order. So, to ensure they are applied in the right + order, it is highly recommended to name the patch files like this: + <number>-<description>.patch, where <number> refers to the + apply order. +

For information about how patches are applied for a package, see +Section 19.2, “How patches are applied”

The BR2_GLOBAL_PATCH_DIR option is the preferred method for +specifying a custom patch directory for packages. It can be used to +specify a patch directory for any package in buildroot. It should also +be used in place of the custom patch directory options that are +available for packages such as U-Boot and Barebox. By doing this, it +will allow a user to manage their patches from one top-level +directory.

The exception to BR2_GLOBAL_PATCH_DIR being the preferred method for +specifying custom patches is BR2_LINUX_KERNEL_PATCH. +BR2_LINUX_KERNEL_PATCH should be used to specify kernel patches that +are available at a URL. Note: BR2_LINUX_KERNEL_PATCH specifies kernel +patches that are applied after patches available in BR2_GLOBAL_PATCH_DIR, +as it is done from a post-patch hook of the Linux package.

9.9. Adding project-specific packages

In general, any new package should be added directly in the package +directory and submitted to the Buildroot upstream project. How to add +packages to Buildroot in general is explained in full detail in +Chapter 18, Adding new packages to Buildroot and will not be repeated here. However, your +project may need some proprietary packages that cannot be upstreamed. +This section will explain how you can keep such project-specific +packages in a project-specific directory.

As shown in Section 9.1, “Recommended directory structure”, the recommended location for +project-specific packages is package/<company>/. If you are using the +br2-external tree feature (see Section 9.2, “Keeping customizations outside of Buildroot”) the recommended +location is to put them in a sub-directory named package/ in your +br2-external tree.

However, Buildroot will not be aware of the packages in this location, +unless we perform some additional steps. As explained in +Chapter 18, Adding new packages to Buildroot, a package in Buildroot basically consists of two +files: a .mk file (describing how to build the package) and a +Config.in file (describing the configuration options for this +package).

Buildroot will automatically include the .mk files in first-level +subdirectories of the package directory (using the pattern +package/*/*.mk). If we want Buildroot to include .mk files from +deeper subdirectories (like package/<company>/package1/) then we +simply have to add a .mk file in a first-level subdirectory that +includes these additional .mk files. Therefore, create a file +package/<company>/<company>.mk with following contents (assuming you +have only one extra directory level below package/<company>/):

include $(sort $(wildcard package/<company>/*/*.mk))

For the Config.in files, create a file package/<company>/Config.in +that includes the Config.in files of all your packages. An exhaustive +list has to be provided since wildcards are not supported in the source command of kconfig. +For example:

source "package/<company>/package1/Config.in"
+source "package/<company>/package2/Config.in"

Include this new file package/<company>/Config.in from +package/Config.in, preferably in a company-specific menu to make +merges with future Buildroot versions easier.

If using a br2-external tree, refer to Section 9.2, “Keeping customizations outside of Buildroot” for how +to fill in those files.

9.10. Quick guide to storing your project-specific customizations

Earlier in this chapter, the different methods for making +project-specific customizations have been described. This section will +now summarize all this by providing step-by-step instructions to storing your +project-specific customizations. Clearly, the steps that are not relevant to +your project can be skipped.

  1. +make menuconfig to configure toolchain, packages and kernel. +
  2. +make linux-menuconfig to update the kernel config, similar for + other configuration like busybox, uclibc, … +
  3. +mkdir -p board/<manufacturer>/<boardname> +
  4. +Set the following options to board/<manufacturer>/<boardname>/<package>.config + (as far as they are relevant): +

    • +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE +
    • +BR2_PACKAGE_BUSYBOX_CONFIG +
    • +BR2_UCLIBC_CONFIG +
    • +BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE +
    • +BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE +
    • +BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE +
  5. +Write the configuration files: +

    • +make linux-update-defconfig +
    • +make busybox-update-config +
    • +make uclibc-update-config +
    • +cp <output>/build/at91bootstrap3-*/.config + board/<manufacturer>/<boardname>/at91bootstrap3.config +
    • +make barebox-update-defconfig +
    • +make uboot-update-defconfig +
  6. +Create board/<manufacturer>/<boardname>/rootfs-overlay/ and fill it + with additional files you need on your rootfs, e.g. + board/<manufacturer>/<boardname>/rootfs-overlay/etc/inittab. + Set BR2_ROOTFS_OVERLAY + to board/<manufacturer>/<boardname>/rootfs-overlay. +
  7. +Create a post-build script + board/<manufacturer>/<boardname>/post_build.sh. Set + BR2_ROOTFS_POST_BUILD_SCRIPT to + board/<manufacturer>/<boardname>/post_build.sh +
  8. +If additional setuid permissions have to be set or device nodes have + to be created, create board/<manufacturer>/<boardname>/device_table.txt + and add that path to BR2_ROOTFS_DEVICE_TABLE. +
  9. +If additional user accounts have to be created, create + board/<manufacturer>/<boardname>/users_table.txt and add that path + to BR2_ROOTFS_USERS_TABLES. +
  10. +To add custom patches to certain packages, set BR2_GLOBAL_PATCH_DIR + to board/<manufacturer>/<boardname>/patches/ and add your patches + for each package in a subdirectory named after the package. Each + patch should be called <packagename>-<num>-<description>.patch. +
  11. +Specifically for the Linux kernel, there also exists the option + BR2_LINUX_KERNEL_PATCH with as main advantage that it can also + download patches from a URL. If you do not need this, + BR2_GLOBAL_PATCH_DIR is preferred. U-Boot, Barebox, at91bootstrap + and at91bootstrap3 also have separate options, but these do not + provide any advantage over BR2_GLOBAL_PATCH_DIR and will likely be + removed in the future. +
  12. +If you need to add project-specific packages, create + package/<manufacturer>/ and place your packages in that + directory. Create an overall <manufacturer>.mk file that + includes the .mk files of all your packages. Create an overall + Config.in file that sources the Config.in files of all your + packages. Include this Config.in file from Buildroot’s + package/Config.in file. +
  13. +make savedefconfig to save the buildroot configuration. +
  14. +cp defconfig configs/<boardname>_defconfig +

Chapter 10. Using SELinux in Buildroot

SELinux is a Linux kernel security module +enforcing access control policies. In addition to the traditional file +permissions and access control lists, SELinux allows to write rules +for users or processes to access specific functions of resources +(files, sockets…).

SELinux has three modes of operation:

  • +Disabled: the policy is not applied +
  • +Permissive: the policy is applied, and non-authorized actions are + simply logged. This mode is often used for troubleshooting SELinux + issues. +
  • +Enforcing: the policy is applied, and non-authorized actions are + denied +

In Buildroot the mode of operation is controlled by the +BR2_PACKAGE_REFPOLICY_POLICY_STATE_* configuration options. The +Linux kernel also has various configuration options that affect how +SELinux is enabled (see security/selinux/Kconfig in the Linux +kernel sources).

By default in Buildroot the SELinux policy is provided by the +upstream refpolicy +project, enabled with BR2_PACKAGE_REFPOLICY.

10.1. Enabling SELinux support

To have proper support for SELinux in a Buildroot generated system, +the following configuration options must be enabled:

  • +BR2_PACKAGE_LIBSELINUX +
  • +BR2_PACKAGE_REFPOLICY +

In addition, your filesystem image format must support extended +attributes.

10.2. SELinux policy tweaking

The SELinux refpolicy contains modules that can be enabled or +disabled when being built. Each module provide a number of SELinux +rules. In Buildroot the non-base modules are disabled by default and +several ways to enable such modules are provided:

  • +Packages can enable a list of SELinux modules within the refpolicy using + the <packagename>_SELINUX_MODULES variable. +
  • +Packages can provide additional SELinux modules by putting them (.fc, .if + and .te files) in package/<packagename>/selinux/. +
  • +Extra SELinux modules can be added in directories pointed by the + BR2_REFPOLICY_EXTRA_MODULES_DIRS configuration option. +
  • +Additional modules in the refpolicy can be enabled if listed in the + BR2_REFPOLICY_EXTRA_MODULES_DEPENDENCIES configuration option. +

Buildroot also allows to completely override the refpolicy. This +allows to provide a full custom policy designed specifically for a +given system. When going this way, all of the above mechanisms are +disabled: no extra SElinux module is added to the policy, and all +the available modules within the custom policy are enabled and built +into the final binary policy. The custom policy must be a fork of the +official refpolicy.

In order to fully override the refpolicy the following configuration +variables have to be set:

  • +BR2_PACKAGE_REFPOLICY_CUSTOM_GIT +
  • +BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL +
  • +BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_VERSION +

Chapter 11. Frequently Asked Questions & Troubleshooting

11.1. The boot hangs after Starting network…

If the boot process seems to hang after the following messages +(messages not necessarily exactly similar, depending on the list of +packages selected):

Freeing init memory: 3972K
+Initializing random number generator... done.
+Starting network...
+Starting dropbear sshd: generating rsa key... generating dsa key... OK

then it means that your system is running, but didn’t start a shell on +the serial console. In order to have the system start a shell on your +serial console, you have to go into the Buildroot configuration, in +System configuration, modify Run a getty (login prompt) after boot +and set the appropriate port and baud rate in the getty options +submenu. This will automatically tune the /etc/inittab file of the +generated system so that a shell starts on the correct serial port.

11.2. Why is there no compiler on the target?

It has been decided that support for the native compiler on the +target would be stopped from the Buildroot-2012.11 release because:

  • +this feature was neither maintained nor tested, and often broken; +
  • +this feature was only available for Buildroot toolchains; +
  • +Buildroot mostly targets small or very small target hardware + with limited resource onboard (CPU, ram, mass-storage), for which + compiling on the target does not make much sense; +
  • +Buildroot aims at easing the cross-compilation, making native + compilation on the target unnecessary. +

If you need a compiler on your target anyway, then Buildroot is not +suitable for your purpose. In such case, you need a real +distribution and you should opt for something like:

11.3. Why are there no development files on the target?

Since there is no compiler available on the target (see +Section 11.2, “Why is there no compiler on the target?”), it does not make sense to waste +space with headers or static libraries.

Therefore, those files are always removed from the target since the +Buildroot-2012.11 release.

11.4. Why is there no documentation on the target?

Because Buildroot mostly targets small or very small target +hardware with limited resource onboard (CPU, ram, mass-storage), it +does not make sense to waste space with the documentation data.

If you need documentation data on your target anyway, then Buildroot +is not suitable for your purpose, and you should look for a real +distribution (see: Section 11.2, “Why is there no compiler on the target?”).

11.5. Why are some packages not visible in the Buildroot config menu?

If a package exists in the Buildroot tree and does not appear in the +config menu, this most likely means that some of the package’s +dependencies are not met.

To know more about the dependencies of a package, search for the +package symbol in the config menu (see Section 8.1, “make tips”).

Then, you may have to recursively enable several options (which +correspond to the unmet dependencies) to finally be able to select +the package.

If the package is not visible due to some unmet toolchain options, +then you should certainly run a full rebuild (see Section 8.1, “make tips” for +more explanations).

11.6. Why not use the target directory as a chroot directory?

There are plenty of reasons to not use the target directory a chroot +one, among these:

  • +file ownerships, modes and permissions are not correctly set in the + target directory; +
  • +device nodes are not created in the target directory. +

For these reasons, commands run through chroot, using the target +directory as the new root, will most likely fail.

If you want to run the target filesystem inside a chroot, or as an NFS +root, then use the tarball image generated in images/ and extract it +as root.

11.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)?

One feature that is often discussed on the Buildroot list is the +general topic of "package management". To summarize, the idea +would be to add some tracking of which Buildroot package installs +what files, with the goals of:

  • +being able to remove files installed by a package when this package + gets unselected from the menuconfig; +
  • +being able to generate binary packages (ipk or other format) that + can be installed on the target without re-generating a new root + filesystem image. +

In general, most people think it is easy to do: just track which package +installed what and remove it when the package is unselected. However, it +is much more complicated than that:

  • +It is not only about the target/ directory, but also the sysroot in + host/<tuple>/sysroot and the host/ directory itself. All files + installed in those directories by various packages must be tracked. +
  • +When a package is unselected from the configuration, it is not + sufficient to remove just the files it installed. One must also + remove all its reverse dependencies (i.e. packages relying on it) + and rebuild all those packages. For example, package A depends + optionally on the OpenSSL library. Both are selected, and Buildroot + is built. Package A is built with crypto support using OpenSSL. + Later on, OpenSSL gets unselected from the configuration, but + package A remains (since OpenSSL is an optional dependency, this + is possible.) If only OpenSSL files are removed, then the files + installed by package A are broken: they use a library that is no + longer present on the target. Although this is technically doable, + it adds a lot of complexity to Buildroot, which goes against the + simplicity we try to stick to. +
  • +In addition to the previous problem, there is the case where the + optional dependency is not even known to Buildroot. For example, + package A in version 1.0 never used OpenSSL, but in version 2.0 it + automatically uses OpenSSL if available. If the Buildroot .mk file + hasn’t been updated to take this into account, then package A will + not be part of the reverse dependencies of OpenSSL and will not be + removed and rebuilt when OpenSSL is removed. For sure, the .mk file + of package A should be fixed to mention this optional dependency, + but in the mean time, you can have non-reproducible behaviors. +
  • +The request is to also allow changes in the menuconfig to be + applied on the output directory without having to rebuild + everything from scratch. However, this is very difficult to achieve + in a reliable way: what happens when the suboptions of a package + are changed (we would have to detect this, and rebuild the package + from scratch and potentially all its reverse dependencies), what + happens if toolchain options are changed, etc. At the moment, what + Buildroot does is clear and simple so its behaviour is very + reliable and it is easy to support users. If configuration changes + done in menuconfig are applied after the next make, then it has to + work correctly and properly in all situations, and not have some + bizarre corner cases. The risk is to get bug reports like "I have + enabled package A, B and C, then ran make, then disabled package + C and enabled package D and ran make, then re-enabled package C + and enabled package E and then there is a build failure". Or worse + "I did some configuration, then built, then did some changes, + built, some more changes, built, some more changes, built, and now + it fails, but I don’t remember all the changes I did and in which + order". This will be impossible to support. +

For all these reasons, the conclusion is that adding tracking of +installed files to remove them when the package is unselected, or to +generate a repository of binary packages, is something that is very +hard to achieve reliably and will add a lot of complexity.

On this matter, the Buildroot developers make this position statement:

  • +Buildroot strives to make it easy to generate a root filesystem (hence + the name, by the way.) That is what we want to make Buildroot good at: + building root filesystems. +
  • +Buildroot is not meant to be a distribution (or rather, a distribution + generator.) It is the opinion of most Buildroot developers that this + is not a goal we should pursue. We believe that there are other tools + better suited to generate a distro than Buildroot is. For example, + Open Embedded, or openWRT, + are such tools. +
  • +We prefer to push Buildroot in a direction that makes it easy (or even + easier) to generate complete root filesystems. This is what makes + Buildroot stands out in the crowd (among other things, of course!) +
  • +We believe that for most embedded Linux systems, binary packages are + not necessary, and potentially harmful. When binary packages are + used, it means that the system can be partially upgraded, which + creates an enormous number of possible combinations of package + versions that should be tested before doing the upgrade on the + embedded device. On the other hand, by doing complete system + upgrades by upgrading the entire root filesystem image at once, + the image deployed to the embedded system is guaranteed to really + be the one that has been tested and validated. +

11.8. How to speed-up the build process?

Since Buildroot often involves doing full rebuilds of the entire +system that can be quite long, we provide below a number of tips to +help reduce the build time:

  • +Use a pre-built external toolchain instead of the default Buildroot + internal toolchain. By using a pre-built Linaro toolchain (on ARM) + or a Sourcery CodeBench toolchain (for ARM, x86, x86-64, MIPS, + etc.), you will save the build time of the toolchain at each + complete rebuild, approximately 15 to 20 minutes. Note that + temporarily using an external toolchain does not prevent you to + switch back to an internal toolchain (that may provide a higher + level of customization) once the rest of your system is working; +
  • +Use the ccache compiler cache (see: Section 8.14.3, “Using ccache in Buildroot”); +
  • +Learn about rebuilding only the few packages you actually care + about (see Section 8.3, “Understanding how to rebuild packages”), but beware that sometimes full + rebuilds are anyway necessary (see Section 8.2, “Understanding when a full rebuild is necessary”); +
  • +Make sure you are not using a virtual machine for the Linux system + used to run Buildroot. Most of the virtual machine technologies are + known to cause a significant performance impact on I/O, which is + really important for building source code; +
  • +Make sure that you’re using only local files: do not attempt to do + a build over NFS, which significantly slows down the build. Having + the Buildroot download folder available locally also helps a bit. +
  • +Buy new hardware. SSDs and lots of RAM are key to speeding up the + builds. +
  • +Experiment with top-level parallel build, see + Section 8.12, “Top-level parallel build”. +

Chapter 12. Known issues

  • +It is not possible to pass extra linker options via BR2_TARGET_LDFLAGS + if such options contain a $ sign. For example, the following is known + to break: BR2_TARGET_LDFLAGS="-Wl,-rpath='$ORIGIN/../lib'" +
  • +The libffi package is not supported on the SuperH 2, nds32, and ARMv7-M + architectures. +
  • +The prboom package triggers a compiler failure with the SuperH 4 + compiler from Sourcery CodeBench, version 2012.09. +

Chapter 13. Legal notice and licensing

13.1. Complying with open source licenses

All of the end products of Buildroot (toolchain, root filesystem, kernel, +bootloaders) contain open source software, released under various licenses.

Using open source software gives you the freedom to build rich embedded +systems, choosing from a wide range of packages, but also imposes some +obligations that you must know and honour. +Some licenses require you to publish the license text in the documentation of +your product. Others require you to redistribute the source code of the +software to those that receive your product.

The exact requirements of each license are documented in each package, and +it is your responsibility (or that of your legal office) to comply with those +requirements. +To make this easier for you, Buildroot can collect for you some material you +will probably need. To produce this material, after you have configured +Buildroot with make menuconfig, make xconfig or make gconfig, run:

make legal-info

Buildroot will collect legally-relevant material in your output directory, +under the legal-info/ subdirectory. +There you will find:

  • +A README file, that summarizes the produced material and contains warnings + about material that Buildroot could not produce. +
  • +buildroot.config: this is the Buildroot configuration file that is usually + produced with make menuconfig, and which is necessary to reproduce the + build. +
  • +The source code for all packages; this is saved in the sources/ and + host-sources/ subdirectories for target and host packages respectively. + The source code for packages that set <PKG>_REDISTRIBUTE = NO will not be + saved. + Patches that were applied are also saved, along with a file named series + that lists the patches in the order they were applied. Patches are under the + same license as the files that they modify. + Note: Buildroot applies additional patches to Libtool scripts of + autotools-based packages. These patches can be found under + support/libtool in the Buildroot source and, due to technical + limitations, are not saved with the package sources. You may need to + collect them manually. +
  • +A manifest file (one for host and one for target packages) listing the + configured packages, their version, license and related information. + Some of this information might not be defined in Buildroot; such items are + marked as "unknown". +
  • +The license texts of all packages, in the licenses/ and host-licenses/ + subdirectories for target and host packages respectively. + If the license file(s) are not defined in Buildroot, the file is not produced + and a warning in the README indicates this. +

Please note that the aim of the legal-info feature of Buildroot is to +produce all the material that is somehow relevant for legal compliance with the +package licenses. Buildroot does not try to produce the exact material that +you must somehow make public. Certainly, more material is produced than is +needed for a strict legal compliance. For example, it produces the source code +for packages released under BSD-like licenses, that you are not required to +redistribute in source form.

Moreover, due to technical limitations, Buildroot does not produce some +material that you will or may need, such as the toolchain source code for +some of the external toolchains and the Buildroot source code itself. +When you run make legal-info, Buildroot produces warnings in the README +file to inform you of relevant material that could not be saved.

Finally, keep in mind that the output of make legal-info is based on +declarative statements in each of the packages recipes. The Buildroot +developers try to do their best to keep those declarative statements as +accurate as possible, to the best of their knowledge. However, it is very +well possible that those declarative statements are not all fully accurate +nor exhaustive. You (or your legal department) have to check the output +of make legal-info before using it as your own compliance delivery. See +the NO WARRANTY clauses (clauses 11 and 12) in the COPYING file at the +root of the Buildroot distribution.

13.2. Complying with the Buildroot license

Buildroot itself is an open source software, released under the +GNU General +Public License, version 2 or (at your option) any later version, with +the exception of the package patches detailed below. +However, being a build system, it is not normally part of the end product: +if you develop the root filesystem, kernel, bootloader or toolchain for a +device, the code of Buildroot is only present on the development machine, not +in the device storage.

Nevertheless, the general view of the Buildroot developers is that you should +release the Buildroot source code along with the source code of other packages +when releasing a product that contains GPL-licensed software. +This is because the +GNU GPL +defines the "complete source code" for an executable work as "all the +source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable". +Buildroot is part of the scripts used to control compilation and +installation of the executable, and as such it is considered part of the +material that must be redistributed.

Keep in mind that this is only the Buildroot developers' opinion, and you +should consult your legal department or lawyer in case of any doubt.

13.2.1. Patches to packages

Buildroot also bundles patch files, which are applied to the sources +of the various packages. Those patches are not covered by the license +of Buildroot. Instead, they are covered by the license of the software +to which the patches are applied. When said software is available +under multiple licenses, the Buildroot patches are only provided under +the publicly accessible licenses.

See Chapter 19, Patching a package for the technical details.

Chapter 14. Beyond Buildroot

14.1. Boot the generated images

14.1.1. NFS boot

To achieve NFS-boot, enable tar root filesystem in the Filesystem +images menu.

After a complete build, just run the following commands to setup the +NFS-root directory:

sudo tar -xavf /path/to/output_dir/rootfs.tar -C /path/to/nfs_root_dir

Remember to add this path to /etc/exports.

Then, you can execute a NFS-boot from your target.

14.1.2. Live CD

To build a live CD image, enable the iso image option in the +Filesystem images menu. Note that this option is only available on +the x86 and x86-64 architectures, and if you are building your kernel +with Buildroot.

You can build a live CD image with either IsoLinux, Grub or Grub 2 as +a bootloader, but only Isolinux supports making this image usable both +as a live CD and live USB (through the Build hybrid image option).

You can test your live CD image using QEMU:

qemu-system-i386 -cdrom output/images/rootfs.iso9660

Or use it as a hard-drive image if it is a hybrid ISO:

qemu-system-i386 -hda output/images/rootfs.iso9660

It can be easily flashed to a USB drive with dd:

dd if=output/images/rootfs.iso9660 of=/dev/sdb

14.2. Chroot

If you want to chroot in a generated image, then there are few thing +you should be aware of:

  • +you should setup the new root from the tar root filesystem image; +
  • +either the selected target architecture is compatible with your host + machine, or you should use some qemu-* binary and correctly set it + within the binfmt properties to be able to run the binaries built + for the target on your host machine; +
  • +Buildroot does not currently provide host-qemu and binfmt + correctly built and set for that kind of use. +

Part III. Developer guide

Chapter 15. How Buildroot works

As mentioned above, Buildroot is basically a set of Makefiles that +download, configure, and compile software with the correct options. It +also includes patches for various software packages - mainly the ones +involved in the cross-compilation toolchain (gcc, binutils and +uClibc).

There is basically one Makefile per software package, and they are +named with the .mk extension. Makefiles are split into many different +parts.

  • +The toolchain/ directory contains the Makefiles + and associated files for all software related to the + cross-compilation toolchain: binutils, gcc, gdb, + kernel-headers and uClibc. +
  • +The arch/ directory contains the definitions for all the processor + architectures that are supported by Buildroot. +
  • +The package/ directory contains the Makefiles and + associated files for all user-space tools and libraries that Buildroot + can compile and add to the target root filesystem. There is one + sub-directory per package. +
  • +The linux/ directory contains the Makefiles and associated files for + the Linux kernel. +
  • +The boot/ directory contains the Makefiles and associated files for + the bootloaders supported by Buildroot. +
  • +The system/ directory contains support for system integration, e.g. + the target filesystem skeleton and the selection of an init system. +
  • +The fs/ directory contains the Makefiles and + associated files for software related to the generation of the + target root filesystem image. +

Each directory contains at least 2 files:

  • +something.mk is the Makefile that downloads, configures, + compiles and installs the package something. +
  • +Config.in is a part of the configuration tool + description file. It describes the options related to the + package. +

The main Makefile performs the following steps (once the +configuration is done):

  • +Create all the output directories: staging, target, build, + etc. in the output directory (output/ by default, + another value can be specified using O=) +
  • +Generate the toolchain target. When an internal toolchain is used, this + means generating the cross-compilation toolchain. When an external + toolchain is used, this means checking the features of the external + toolchain and importing it into the Buildroot environment. +
  • +Generate all the targets listed in the TARGETS variable. This + variable is filled by all the individual components' + Makefiles. Generating these targets will trigger the compilation of + the userspace packages (libraries, programs), the kernel, the + bootloader and the generation of the root filesystem images, + depending on the configuration. +

Chapter 16. Coding style

Overall, these coding style rules are here to help you to add new files in +Buildroot or refactor existing ones.

If you slightly modify some existing file, the important thing is +to keep the consistency of the whole file, so you can:

  • +either follow the potentially deprecated coding style used in this +file, +
  • +or entirely rework it in order to make it comply with these rules. +

16.1. Config.in file

Config.in files contain entries for almost anything configurable in +Buildroot.

An entry has the following pattern:

config BR2_PACKAGE_LIBFOO
+        bool "libfoo"
+        depends on BR2_PACKAGE_LIBBAZ
+        select BR2_PACKAGE_LIBBAR
+        help
+          This is a comment that explains what libfoo is. The help text
+          should be wrapped.
+
+          http://foosoftware.org/libfoo/
  • +The bool, depends on, select and help lines are indented + with one tab. +
  • +The help text itself should be indented with one tab and two + spaces. +
  • +The help text should be wrapped to fit 72 columns, where tab counts + for 8, so 62 characters in the text itself. +

The Config.in files are the input for the configuration tool +used in Buildroot, which is the regular Kconfig. For further +details about the Kconfig language, refer to +http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt.

16.2. The .mk file

  • +Header: The file starts with a header. It contains the module name, +preferably in lowercase, enclosed between separators made of 80 hashes. A +blank line is mandatory after the header: +

    ################################################################################
    +#
    +# libfoo
    +#
    +################################################################################
  • +Assignment: use = preceded and followed by one space: +

    LIBFOO_VERSION = 1.0
    +LIBFOO_CONF_OPTS += --without-python-support

    Do not align the = signs.

  • +Indentation: use tab only: +

    define LIBFOO_REMOVE_DOC
    +        $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/doc \
    +                $(TARGET_DIR)/usr/share/man/man3/libfoo*
    +endef

    Note that commands inside a define block should always start with a tab, +so make recognizes them as commands.

  • +Optional dependency: +

    • +Prefer multi-line syntax. +

      YES:

      ifeq ($(BR2_PACKAGE_PYTHON3),y)
      +LIBFOO_CONF_OPTS += --with-python-support
      +LIBFOO_DEPENDENCIES += python3
      +else
      +LIBFOO_CONF_OPTS += --without-python-support
      +endif

      NO:

      LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON3),,out)-python-support
      +LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,)
    • +Keep configure options and dependencies close together. +
  • +Optional hooks: keep hook definition and assignment together in one + if block. +

    YES:

    ifneq ($(BR2_LIBFOO_INSTALL_DATA),y)
    +define LIBFOO_REMOVE_DATA
    +        $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data
    +endef
    +LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA
    +endif

    NO:

    define LIBFOO_REMOVE_DATA
    +        $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data
    +endef
    +
    +ifneq ($(BR2_LIBFOO_INSTALL_DATA),y)
    +LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA
    +endif

16.3. The genimage.cfg file

genimage.cfg files contain the output image layout that genimage utility +uses to create final .img file.

An example follows:

image efi-part.vfat {
+        vfat {
+                file EFI {
+                        image = "efi-part/EFI"
+                }
+
+                file Image {
+                        image = "Image"
+                }
+        }
+
+        size = 32M
+}
+
+image sdimage.img {
+        hdimage {
+        }
+
+        partition u-boot {
+                image = "efi-part.vfat"
+                offset = 8K
+        }
+
+        partition root {
+                image = "rootfs.ext2"
+                size = 512M
+        }
+}
  • +Every section(i.e. hdimage, vfat etc.), partition must be indented + with one tab. +
  • +Every file or other subnode must be indented with two tabs. +
  • +Every node(section, partition, file, subnode) must have an open + curly bracket on the same line of the node’s name, while the closing one + must be on a newline and after it a newline must be added except for the + last one node. Same goes for its option, for example option size =. +
  • +Every option(i.e. image, offset, size) must have the = + assignment one space from it and one space from the value specified. +
  • +Filename must at least begin with genimage prefix and have the .cfg + extension to be easy to recognize. +
  • +Allowed notations for offset and size options are: G, M, K + (not k). If it’s not possible to express a precise byte count + with notations above then use hexadecimal 0x prefix or, as last + chance, the byte count. In comments instead use GB, MB, KB + (not kb) in place of G, M, K. +

The genimage.cfg files are the input for the genimage tool used in +Buildroot to generate the final image file(i.e. sdcard.img). For further +details about the genimage language, refer to +https://github.com/pengutronix/genimage/blob/master/README.rst.

16.4. The documentation

The documentation uses the +asciidoc format.

For further details about the asciidoc syntax, refer to +https://asciidoc-py.github.io/userguide.html.

16.5. Support scripts

Some scripts in the support/ and utils/ directories are written in +Python and should follow the +PEP8 Style Guide for Python Code.

Chapter 17. Adding support for a particular board

Buildroot contains basic configurations for several publicly available +hardware boards, so that users of such a board can easily build a system +that is known to work. You are welcome to add support for other boards +to Buildroot too.

To do so, you need to create a normal Buildroot configuration that +builds a basic system for the hardware: (internal) toolchain, kernel, +bootloader, filesystem and a simple BusyBox-only userspace. No specific +package should be selected: the configuration should be as minimal as +possible, and should only build a working basic BusyBox system for the +target platform. You can of course use more complicated configurations +for your internal projects, but the Buildroot project will only +integrate basic board configurations. This is because package +selections are highly application-specific.

Once you have a known working configuration, run make +savedefconfig. This will generate a minimal defconfig file at the +root of the Buildroot source tree. Move this file into the configs/ +directory, and rename it <boardname>_defconfig. If the configuration +is a bit more complicated, it is nice to manually reformat it and +separate it into sections, with a comment before each section. Typical +sections are Architecture, Toolchain options (typically just linux +headers version), Firmware, Bootloader, Kernel, and Filesystem.

Always use fixed versions or commit hashes for the different +components, not the "latest" version. For example, set +BR2_LINUX_KERNEL_CUSTOM_VERSION=y and +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE to the kernel version you tested +with.

It is recommended to use as much as possible upstream versions of the +Linux kernel and bootloaders, and to use as much as possible default +kernel and bootloader configurations. If they are incorrect for your +board, or no default exists, we encourage you to send fixes to the +corresponding upstream projects.

However, in the mean time, you may want to store kernel or bootloader +configuration or patches specific to your target platform. To do so, +create a directory board/<manufacturer> and a subdirectory +board/<manufacturer>/<boardname>. You can then store your patches +and configurations in these directories, and reference them from the main +Buildroot configuration. Refer to Chapter 9, Project-specific customization for more details.

Before submitting patches for new boards it is recommended to test it by +building it using latest gitlab-CI docker container. To do this use +utils/docker-run script and inside it issue these commands:

 $ make +<boardname>_defconfig+
+ $ make

Chapter 18. Adding new packages to Buildroot

This section covers how new packages (userspace libraries or +applications) can be integrated into Buildroot. It also shows how +existing packages are integrated, which is needed for fixing issues or +tuning their configuration.

When you add a new package, be sure to test it in various conditions +(see Section 18.25.3, “How to test your package”) and also check it for coding style (see +Section 18.25.2, “How to check the coding style”).

18.1. Package directory

First of all, create a directory under the package directory for +your software, for example libfoo.

Some packages have been grouped by topic in a sub-directory: +x11r7, qt5 and gstreamer. If your package fits in +one of these categories, then create your package directory in these. +New subdirectories are discouraged, however.

18.2. Config files

For the package to be displayed in the configuration tool, you need to +create a Config file in your package directory. There are two types: +Config.in and Config.in.host.

18.2.1. Config.in file

For packages used on the target, create a file named Config.in. This +file will contain the option descriptions related to our libfoo software +that will be used and displayed in the configuration tool. It should basically +contain:

config BR2_PACKAGE_LIBFOO
+        bool "libfoo"
+        help
+          This is a comment that explains what libfoo is. The help text
+          should be wrapped.
+
+          http://foosoftware.org/libfoo/

The bool line, help line and other metadata information about the +configuration option must be indented with one tab. The help text +itself should be indented with one tab and two spaces, lines should +be wrapped to fit 72 columns, where tab counts for 8, so 62 characters +in the text itself. The help text must mention the upstream URL of the +project after an empty line.

As a convention specific to Buildroot, the ordering of the attributes +is as follows:

  1. +The type of option: bool, string… with the prompt +
  2. +If needed, the default value(s) +
  3. +Any dependencies on the target in depends on form +
  4. +Any dependencies on the toolchain in depends on form +
  5. +Any dependencies on other packages in depends on form +
  6. +Any dependency of the select form +
  7. +The help keyword and help text. +

You can add other sub-options into a if BR2_PACKAGE_LIBFOO…endif +statement to configure particular things in your software. You can look at +examples in other packages. The syntax of the Config.in file is the same +as the one for the kernel Kconfig file. The documentation for this syntax is +available at http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt

Finally you have to add your new libfoo/Config.in to +package/Config.in (or in a category subdirectory if you decided to +put your package in one of the existing categories). The files +included there are sorted alphabetically per category and are NOT +supposed to contain anything but the bare name of the package.

source "package/libfoo/Config.in"

18.2.2. Config.in.host file

Some packages also need to be built for the host system. There are two +options here:

  • +The host package is only required to satisfy build-time + dependencies of one or more target packages. In this case, add + host-foo to the target package’s BAR_DEPENDENCIES variable. No + Config.in.host file should be created. +
  • +The host package should be explicitly selectable by the user from + the configuration menu. In this case, create a Config.in.host file + for that host package: +

    config BR2_PACKAGE_HOST_FOO
    +        bool "host foo"
    +        help
    +          This is a comment that explains what foo for the host is.
    +
    +          http://foosoftware.org/foo/

    The same coding style and options as for the Config.in file are valid.

    Finally you have to add your new libfoo/Config.in.host to +package/Config.in.host. The files included there are sorted alphabetically +and are NOT supposed to contain anything but the bare name of the package.

    source "package/foo/Config.in.host"

    The host package will then be available from the Host utilities menu.

18.2.3. Choosing depends on or select

The Config.in file of your package must also ensure that +dependencies are enabled. Typically, Buildroot uses the following +rules:

  • +Use a select type of dependency for dependencies on + libraries. These dependencies are generally not obvious and it + therefore make sense to have the kconfig system ensure that the + dependencies are selected. For example, the libgtk2 package uses + select BR2_PACKAGE_LIBGLIB2 to make sure this library is also + enabled. + The select keyword expresses the dependency with a backward + semantic. +
  • +Use a depends on type of dependency when the user really needs to + be aware of the dependency. Typically, Buildroot uses this type of + dependency for dependencies on target architecture, MMU support and + toolchain options (see Section 18.2.4, “Dependencies on target and toolchain options”), + or for dependencies on "big" things, such as the X.org system. + The depends on keyword expresses the dependency with a forward + semantic. +

Note. The current problem with the kconfig language is that these two +dependency semantics are not internally linked. Therefore, it may be +possible to select a package, whom one of its dependencies/requirement +is not met.

An example illustrates both the usage of select and depends on.

config BR2_PACKAGE_RRDTOOL
+        bool "rrdtool"
+        depends on BR2_USE_WCHAR
+        select BR2_PACKAGE_FREETYPE
+        select BR2_PACKAGE_LIBART
+        select BR2_PACKAGE_LIBPNG
+        select BR2_PACKAGE_ZLIB
+        help
+          RRDtool is the OpenSource industry standard, high performance
+          data logging and graphing system for time series data.
+
+          http://oss.oetiker.ch/rrdtool/
+
+comment "rrdtool needs a toolchain w/ wchar"
+        depends on !BR2_USE_WCHAR

Note that these two dependency types are only transitive with the +dependencies of the same kind.

This means, in the following example:

config BR2_PACKAGE_A
+        bool "Package A"
+
+config BR2_PACKAGE_B
+        bool "Package B"
+        depends on BR2_PACKAGE_A
+
+config BR2_PACKAGE_C
+        bool "Package C"
+        depends on BR2_PACKAGE_B
+
+config BR2_PACKAGE_D
+        bool "Package D"
+        select BR2_PACKAGE_B
+
+config BR2_PACKAGE_E
+        bool "Package E"
+        select BR2_PACKAGE_D
  • +Selecting Package C will be visible if Package B has been + selected, which in turn is only visible if Package A has been + selected. +
  • +Selecting Package E will select Package D, which will select + Package B, it will not check for the dependencies of Package B, + so it will not select Package A. +
  • +Since Package B is selected but Package A is not, this violates + the dependency of Package B on Package A. Therefore, in such a + situation, the transitive dependency has to be added explicitly: +
config BR2_PACKAGE_D
+        bool "Package D"
+        depends on BR2_PACKAGE_A
+        select BR2_PACKAGE_B
+
+config BR2_PACKAGE_E
+        bool "Package E"
+        depends on BR2_PACKAGE_A
+        select BR2_PACKAGE_D

Overall, for package library dependencies, select should be +preferred.

Note that such dependencies will ensure that the dependency option +is also enabled, but not necessarily built before your package. To do +so, the dependency also needs to be expressed in the .mk file of the +package.

Further formatting details: see the +coding style.

18.2.4. Dependencies on target and toolchain options

Many packages depend on certain options of the toolchain: the choice of +C library, C++ support, thread support, RPC support, wchar support, +or dynamic library support. Some packages can only be built on certain +target architectures, or if an MMU is available in the processor.

These dependencies have to be expressed with the appropriate depends +on statements in the Config.in file. Additionally, for dependencies on +toolchain options, a comment should be displayed when the option is +not enabled, so that the user knows why the package is not available. +Dependencies on target architecture or MMU support should not be +made visible in a comment: since it is unlikely that the user can +freely choose another target, it makes little sense to show these +dependencies explicitly.

The comment should only be visible if the config option itself would +be visible when the toolchain option dependencies are met. This means +that all other dependencies of the package (including dependencies on +target architecture and MMU support) have to be repeated on the +comment definition. To keep it clear, the depends on statement for +these non-toolchain option should be kept separate from the depends on +statement for the toolchain options. +If there is a dependency on a config option in that same file (typically +the main package) it is preferable to have a global if … endif +construct rather than repeating the depends on statement on the +comment and other config options.

The general format of a dependency comment for package foo is:

foo needs a toolchain w/ featA, featB, featC

for example:

mpd needs a toolchain w/ C++, threads, wchar

or

crda needs a toolchain w/ threads

Note that this text is kept brief on purpose, so that it will fit on a +80-character terminal.

The rest of this section enumerates the different target and toolchain +options, the corresponding config symbols to depend on, and the text to +use in the comment.

  • +Target architecture +

    • +Dependency symbol: BR2_powerpc, BR2_mips, … (see arch/Config.in) +
    • +Comment string: no comment to be added +
  • +MMU support +

    • +Dependency symbol: BR2_USE_MMU +
    • +Comment string: no comment to be added +
  • +Gcc _sync* built-ins used for atomic operations. They are + available in variants operating on 1 byte, 2 bytes, 4 bytes and 8 + bytes. Since different architectures support atomic operations on + different sizes, one dependency symbol is available for each size: +

    • +Dependency symbol: BR2_TOOLCHAIN_HAS_SYNC_1 for 1 byte, + BR2_TOOLCHAIN_HAS_SYNC_2 for 2 bytes, + BR2_TOOLCHAIN_HAS_SYNC_4 for 4 bytes, BR2_TOOLCHAIN_HAS_SYNC_8 + for 8 bytes. +
    • +Comment string: no comment to be added +
  • +Gcc _atomic* built-ins used for atomic operations. +

    • +Dependency symbol: BR2_TOOLCHAIN_HAS_ATOMIC. +
    • +Comment string: no comment to be added +
  • +Kernel headers +

    • +Dependency symbol: BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y, (replace + X_Y with the proper version, see toolchain/Config.in) +
    • +Comment string: headers >= X.Y and/or headers <= X.Y (replace + X.Y with the proper version) +
  • +GCC version +

    • +Dependency symbol: BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y, (replace + X_Y with the proper version, see toolchain/Config.in) +
    • +Comment string: gcc >= X.Y and/or gcc <= X.Y (replace + X.Y with the proper version) +
  • +Host GCC version +

    • +Dependency symbol: BR2_HOST_GCC_AT_LEAST_X_Y, (replace + X_Y with the proper version, see Config.in) +
    • +Comment string: no comment to be added +
    • +Note that it is usually not the package itself that has a minimum + host GCC version, but rather a host-package on which it depends. +
  • +C library +

    • +Dependency symbol: BR2_TOOLCHAIN_USES_GLIBC, + BR2_TOOLCHAIN_USES_MUSL, BR2_TOOLCHAIN_USES_UCLIBC +
    • +Comment string: for the C library, a slightly different comment text + is used: foo needs a glibc toolchain, or foo needs a glibc + toolchain w/ C++ +
  • +C++ support +

    • +Dependency symbol: BR2_INSTALL_LIBSTDCPP +
    • +Comment string: C++ +
  • +D support +

    • +Dependency symbol: BR2_TOOLCHAIN_HAS_DLANG +
    • +Comment string: Dlang +
  • +Fortran support +

    • +Dependency symbol: BR2_TOOLCHAIN_HAS_FORTRAN +
    • +Comment string: fortran +
  • +thread support +

    • +Dependency symbol: BR2_TOOLCHAIN_HAS_THREADS +
    • +Comment string: threads (unless BR2_TOOLCHAIN_HAS_THREADS_NPTL + is also needed, in which case, specifying only NPTL is sufficient) +
  • +NPTL thread support +

    • +Dependency symbol: BR2_TOOLCHAIN_HAS_THREADS_NPTL +
    • +Comment string: NPTL +
  • +RPC support +

    • +Dependency symbol: BR2_TOOLCHAIN_HAS_NATIVE_RPC +
    • +Comment string: RPC +
  • +wchar support +

    • +Dependency symbol: BR2_USE_WCHAR +
    • +Comment string: wchar +
  • +dynamic library +

    • +Dependency symbol: !BR2_STATIC_LIBS +
    • +Comment string: dynamic library +

18.2.5. Dependencies on a Linux kernel built by buildroot

Some packages need a Linux kernel to be built by buildroot. These are +typically kernel modules or firmware. A comment should be added in the +Config.in file to express this dependency, similar to dependencies on +toolchain options. The general format is:

foo needs a Linux kernel to be built

If there is a dependency on both toolchain options and the Linux +kernel, use this format:

foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built

18.2.6. Dependencies on udev /dev management

If a package needs udev /dev management, it should depend on symbol +BR2_PACKAGE_HAS_UDEV, and the following comment should be added:

foo needs udev /dev management

If there is a dependency on both toolchain options and udev /dev +management, use this format:

foo needs udev /dev management and a toolchain w/ featA, featB, featC

18.2.7. Dependencies on features provided by virtual packages

Some features can be provided by more than one package, such as the +openGL libraries.

See Section 18.12, “Infrastructure for virtual packages” for more on the virtual packages.

18.3. The .mk file

Finally, here’s the hardest part. Create a file named libfoo.mk. It +describes how the package should be downloaded, configured, built, +installed, etc.

Depending on the package type, the .mk file must be written in a +different way, using different infrastructures:

  • +Makefiles for generic packages (not using autotools or CMake): + These are based on an infrastructure similar to the one used for + autotools-based packages, but require a little more work from the + developer. They specify what should be done for the configuration, + compilation and installation of the package. This + infrastructure must be used for all packages that do not use the + autotools as their build system. In the future, other specialized + infrastructures might be written for other build systems. We cover + them through in a tutorial and a + reference. +
  • +Makefiles for autotools-based software (autoconf, automake, etc.): + We provide a dedicated infrastructure for such packages, since + autotools is a very common build system. This infrastructure must + be used for new packages that rely on the autotools as their build + system. We cover them through a tutorial + and reference. +
  • +Makefiles for cmake-based software: We provide a dedicated + infrastructure for such packages, as CMake is a more and more + commonly used build system and has a standardized behaviour. This + infrastructure must be used for new packages that rely on + CMake. We cover them through a tutorial + and reference. +
  • +Makefiles for Python modules: We have a dedicated infrastructure + for Python modules that use either the distutils or the + setuptools mechanism. We cover them through a + tutorial and a + reference. +
  • +Makefiles for Lua modules: We have a dedicated infrastructure for + Lua modules available through the LuaRocks web site. We cover them + through a tutorial and a + reference. +

Further formatting details: see the writing +rules.

18.4. The .hash file

When possible, you must add a third file, named libfoo.hash, that +contains the hashes of the downloaded files for the libfoo +package. The only reason for not adding a .hash file is when hash +checking is not possible due to how the package is downloaded.

When a package has a version selection choice, then the hash file may be +stored in a subdirectory named after the version, e.g. +package/libfoo/1.2.3/libfoo.hash. This is especially important if the +different versions have different licensing terms, but they are stored +in the same file. Otherwise, the hash file should stay in the package’s +directory.

The hashes stored in that file are used to validate the integrity of the +downloaded files and of the license files.

The format of this file is one line for each file for which to check the +hash, each line with the following three fields separated by two spaces:

  • +the type of hash, one of: +

    • +md5, sha1, sha224, sha256, sha384, sha512 +
  • +the hash of the file: +

    • +for md5, 32 hexadecimal characters +
    • +for sha1, 40 hexadecimal characters +
    • +for sha224, 56 hexadecimal characters +
    • +for sha256, 64 hexadecimal characters +
    • +for sha384, 96 hexadecimal characters +
    • +for sha512, 128 hexadecimal characters +
  • +the name of the file: +

    • +for a source archive: the basename of the file, without any directory + component, +
    • +for a license file: the path as it appears in FOO_LICENSE_FILES. +

Lines starting with a # sign are considered comments, and ignored. Empty +lines are ignored.

There can be more than one hash for a single file, each on its own line. In +this case, all hashes must match.

Note. Ideally, the hashes stored in this file should match the hashes published by +upstream, e.g. on their website, in the e-mail announcement… If upstream +provides more than one type of hash (e.g. sha1 and sha512), then it is +best to add all those hashes in the .hash file. If upstream does not +provide any hash, or only provides an md5 hash, then compute at least one +strong hash yourself (preferably sha256, but not md5), and mention +this in a comment line above the hashes.

Note. The hashes for license files are used to detect a license change when a +package version is bumped. The hashes are checked during the make legal-info +target run. For a package with multiple versions (like Qt5), +create the hash file in a subdirectory <packageversion> of that package +(see also Section 19.2, “How patches are applied”).

The example below defines a sha1 and a sha256 published by upstream for +the main libfoo-1.2.3.tar.bz2 tarball, an md5 from upstream and a +locally-computed sha256 hashes for a binary blob, a sha256 for a +downloaded patch, and an archive with no hash:

# Hashes from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.{sha1,sha256}:
+sha1  486fb55c3efa71148fe07895fd713ea3a5ae343a  libfoo-1.2.3.tar.bz2
+sha256  efc8103cc3bcb06bda6a781532d12701eb081ad83e8f90004b39ab81b65d4369  libfoo-1.2.3.tar.bz2
+
+# md5 from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.md5, sha256 locally computed:
+md5  2d608f3c318c6b7557d551a5a09314f03452f1a1  libfoo-data.bin
+sha256  01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b  libfoo-data.bin
+
+# Locally computed:
+sha256  ff52101fb90bbfc3fe9475e425688c660f46216d7e751c4bbdb1dc85cdccacb9  libfoo-fix-blabla.patch
+
+# Hash for license files:
+sha256  a45a845012742796534f7e91fe623262ccfb99460a2bd04015bd28d66fba95b8  COPYING
+sha256  01b1f9f2c8ee648a7a596a1abe8aa4ed7899b1c9e5551bda06da6e422b04aa55  doc/COPYING.LGPL

If the .hash file is present, and it contains one or more hashes for a +downloaded file, the hash(es) computed by Buildroot (after download) must +match the hash(es) stored in the .hash file. If one or more hashes do +not match, Buildroot considers this an error, deletes the downloaded file, +and aborts.

If the .hash file is present, but it does not contain a hash for a +downloaded file, Buildroot considers this an error and aborts. However, +the downloaded file is left in the download directory since this +typically indicates that the .hash file is wrong but the downloaded +file is probably OK.

Hashes are currently checked for files fetched from http/ftp servers, +Git repositories, files copied using scp and local files. Hashes are +not checked for other version control systems (such as Subversion, +CVS, etc.) because Buildroot currently does not generate reproducible +tarballs when source code is fetched from such version control +systems.

Hashes should only be added in .hash files for files that are +guaranteed to be stable. For example, patches auto-generated by Github +are not guaranteed to be stable, and therefore their hashes can change +over time. Such patches should not be downloaded, and instead be added +locally to the package folder.

If the .hash file is missing, then no check is done at all.

18.5. The SNNfoo start script

Packages that provide a system daemon usually need to be started somehow +at boot. Buildroot comes with support for several init systems, some +are considered tier one (see Section 6.3, “init system”), while others are also +available but do not have the same level of integration. Ideally, all +packages providing a system daemon should provide a start script for +BusyBox/SysV init and a systemd unit file.

For consistency, the start script must follow the style and composition +as shown in the reference: package/busybox/S01syslogd. An annotated +example of this style is shown below. There is no specific coding style +for systemd unit files, but if a package comes with its own unit file, +that is preferred over a buildroot specific one, if it is compatible +with buildroot.

The name of the start script is composed of the SNN and the daemon +name. The NN is the start order number which needs to be carefully +chosen. For example, a program that requires networking to be up should +not start before S40network. The scripts are started in alphabetical +order, so S01syslogd starts before S01watchdogd, and S02sysctl +start thereafter.

01: #!/bin/sh
+02:
+03: DAEMON="syslogd"
+04: PIDFILE="/var/run/$DAEMON.pid"
+05:
+06: SYSLOGD_ARGS=""
+07:
+08: # shellcheck source=/dev/null
+09: [ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON"
+10:
+11: # BusyBox' syslogd does not create a pidfile, so pass "-n" in the command line
+12: # and use "-m" to instruct start-stop-daemon to create one.
+13: start() {
+14:     printf 'Starting %s: ' "$DAEMON"
+15:     # shellcheck disable=SC2086 # we need the word splitting
+16:     start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \
+17:             -- -n $SYSLOGD_ARGS
+18:     status=$?
+19:     if [ "$status" -eq 0 ]; then
+20:             echo "OK"
+21:     else
+22:             echo "FAIL"
+23:     fi
+24:     return "$status"
+25: }
+26:
+27: stop() {
+28:     printf 'Stopping %s: ' "$DAEMON"
+29:     start-stop-daemon -K -q -p "$PIDFILE"
+30:     status=$?
+31:     if [ "$status" -eq 0 ]; then
+32:             rm -f "$PIDFILE"
+33:             echo "OK"
+34:     else
+35:             echo "FAIL"
+36:     fi
+37:     return "$status"
+38: }
+39:
+40: restart() {
+41:     stop
+42:     sleep 1
+43:     start
+44: }
+45:
+46: case "$1" in
+47:     start|stop|restart)
+48:             "$1";;
+49:     reload)
+50:             # Restart, since there is no true "reload" feature.
+51:             restart;;
+52:     *)
+53:             echo "Usage: $0 {start|stop|restart|reload}"
+54:             exit 1
+55: esac

Note: programs that support reloading their configuration in some +fashion (SIGHUP) should provide a reload() function similar to +stop(). The start-stop-daemon supports -K -s HUP for this. +It is recommended to always append -x "/sbin/$DAEMON" to all the +start-stop-daemon commands to ensure signals are set to a PID that +matches $DAEMON.

Both start scripts and unit files can source command line arguments from +/etc/default/foo, in general, if such a file does not exist it should +not block the start of the daemon, unless there is some site specirfic +command line argument the daemon requires to start. For start scripts a +FOO_ARGS="-s -o -m -e -args" can be defined to a default value in and +the user can override this from /etc/default/foo.

18.6. Infrastructure for packages with specific build systems

By packages with specific build systems we mean all the packages +whose build system is not one of the standard ones, such as +autotools or CMake. This typically includes packages whose build +system is based on hand-written Makefiles or shell scripts.

18.6.1. generic-package tutorial

01: ################################################################################
+02: #
+03: # libfoo
+04: #
+05: ################################################################################
+06:
+07: LIBFOO_VERSION = 1.0
+08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
+09: LIBFOO_SITE = http://www.foosoftware.org/download
+10: LIBFOO_LICENSE = GPL-3.0+
+11: LIBFOO_LICENSE_FILES = COPYING
+12: LIBFOO_INSTALL_STAGING = YES
+13: LIBFOO_CONFIG_SCRIPTS = libfoo-config
+14: LIBFOO_DEPENDENCIES = host-libaaa libbbb
+15:
+16: define LIBFOO_BUILD_CMDS
+17:     $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
+18: endef
+19:
+20: define LIBFOO_INSTALL_STAGING_CMDS
+21:     $(INSTALL) -D -m 0755 $(@D)/libfoo.a $(STAGING_DIR)/usr/lib/libfoo.a
+22:     $(INSTALL) -D -m 0644 $(@D)/foo.h $(STAGING_DIR)/usr/include/foo.h
+23:     $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(STAGING_DIR)/usr/lib
+24: endef
+25:
+26: define LIBFOO_INSTALL_TARGET_CMDS
+27:     $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(TARGET_DIR)/usr/lib
+28:     $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d
+29: endef
+30:
+31: define LIBFOO_USERS
+32:     foo -1 libfoo -1 * - - - LibFoo daemon
+33: endef
+34:
+35: define LIBFOO_DEVICES
+36:     /dev/foo c 666 0 0 42 0 - - -
+37: endef
+38:
+39: define LIBFOO_PERMISSIONS
+40:     /bin/foo f 4755 foo libfoo - - - - -
+41: endef
+42:
+43: $(eval $(generic-package))

The Makefile begins on line 7 to 11 with metadata information: the +version of the package (LIBFOO_VERSION), the name of the +tarball containing the package (LIBFOO_SOURCE) (xz-ed tarball recommended) +the Internet location at which the tarball can be downloaded from +(LIBFOO_SITE), the license (LIBFOO_LICENSE) and file with the +license text (LIBFOO_LICENSE_FILES). All variables must start with +the same prefix, LIBFOO_ in this case. This prefix is always the +uppercased version of the package name (see below to understand where +the package name is defined).

On line 12, we specify that this package wants to install something to +the staging space. This is often needed for libraries, since they must +install header files and other development files in the staging space. +This will ensure that the commands listed in the +LIBFOO_INSTALL_STAGING_CMDS variable will be executed.

On line 13, we specify that there is some fixing to be done to some +of the libfoo-config files that were installed during +LIBFOO_INSTALL_STAGING_CMDS phase. +These *-config files are executable shell script files that are +located in $(STAGING_DIR)/usr/bin directory and are executed +by other 3rd party packages to find out the location and the linking +flags of this particular package.

The problem is that all these *-config files by default give wrong, +host system linking flags that are unsuitable for cross-compiling.

For example: -I/usr/include instead of -I$(STAGING_DIR)/usr/include +or: -L/usr/lib instead of -L$(STAGING_DIR)/usr/lib

So some sed magic is done to these scripts to make them give correct +flags. +The argument to be given to LIBFOO_CONFIG_SCRIPTS is the file name(s) +of the shell script(s) needing fixing. All these names are relative to +$(STAGING_DIR)/usr/bin and if needed multiple names can be given.

In addition, the scripts listed in LIBFOO_CONFIG_SCRIPTS are removed +from $(TARGET_DIR)/usr/bin, since they are not needed on the target.

Example 18.1. Config script: divine package

Package divine installs shell script $(STAGING_DIR)/usr/bin/divine-config.

So its fixup would be:

DIVINE_CONFIG_SCRIPTS = divine-config

Example 18.2. Config script: imagemagick package:

Package imagemagick installs the following scripts: +$(STAGING_DIR)/usr/bin/{Magick,Magick++,MagickCore,MagickWand,Wand}-config

So it’s fixup would be:

IMAGEMAGICK_CONFIG_SCRIPTS = \
+   Magick-config Magick++-config \
+   MagickCore-config MagickWand-config Wand-config

On line 14, we specify the list of dependencies this package relies +on. These dependencies are listed in terms of lower-case package names, +which can be packages for the target (without the host- +prefix) or packages for the host (with the host-) prefix). +Buildroot will ensure that all these packages are built and installed +before the current package starts its configuration.

The rest of the Makefile, lines 16..29, defines what should be done +at the different steps of the package configuration, compilation and +installation. +LIBFOO_BUILD_CMDS tells what steps should be performed to +build the package. LIBFOO_INSTALL_STAGING_CMDS tells what +steps should be performed to install the package in the staging space. +LIBFOO_INSTALL_TARGET_CMDS tells what steps should be +performed to install the package in the target space.

All these steps rely on the $(@D) variable, which +contains the directory where the source code of the package has been +extracted.

On lines 31..33, we define a user that is used by this package (e.g. +to run a daemon as non-root) (LIBFOO_USERS).

On line 35..37, we define a device-node file used by this package +(LIBFOO_DEVICES).

On line 39..41, we define the permissions to set to specific files +installed by this package (LIBFOO_PERMISSIONS).

Finally, on line 43, we call the generic-package function, which +generates, according to the variables defined previously, all the +Makefile code necessary to make your package working.

18.6.2. generic-package reference

There are two variants of the generic target. The generic-package macro is +used for packages to be cross-compiled for the target. The +host-generic-package macro is used for host packages, natively compiled +for the host. It is possible to call both of them in a single .mk +file: once to create the rules to generate a target +package and once to create the rules to generate a host package:

$(eval $(generic-package))
+$(eval $(host-generic-package))

This might be useful if the compilation of the target package requires +some tools to be installed on the host. If the package name is +libfoo, then the name of the package for the target is also +libfoo, while the name of the package for the host is +host-libfoo. These names should be used in the DEPENDENCIES +variables of other packages, if they depend on libfoo or +host-libfoo.

The call to the generic-package and/or host-generic-package macro +must be at the end of the .mk file, after all variable definitions. +The call to host-generic-package must be after the call to +generic-package, if any.

For the target package, the generic-package uses the variables defined by +the .mk file and prefixed by the uppercased package name: +LIBFOO_*. host-generic-package uses the HOST_LIBFOO_* variables. For +some variables, if the HOST_LIBFOO_ prefixed variable doesn’t +exist, the package infrastructure uses the corresponding variable +prefixed by LIBFOO_. This is done for variables that are likely to +have the same value for both the target and host packages. See below +for details.

The list of variables that can be set in a .mk file to give metadata +information is (assuming the package name is libfoo) :

  • +LIBFOO_VERSION, mandatory, must contain the version of the + package. Note that if HOST_LIBFOO_VERSION doesn’t exist, it is + assumed to be the same as LIBFOO_VERSION. It can also be a + revision number or a tag for packages that are fetched directly + from their version control system. Examples: +

    • +a version for a release tarball: LIBFOO_VERSION = 0.1.2 +
    • +a sha1 for a git tree: LIBFOO_VERSION = cb9d6aa9429e838f0e54faa3d455bcbab5eef057 +
    • +a tag for a git tree LIBFOO_VERSION = v0.1.2 +

      Note: Using a branch name as FOO_VERSION is not supported, because it does +not and can not work as people would expect it should:

      1. +due to local caching, Buildroot will not re-fetch the repository, + so people who expect to be able to follow the remote repository + would be quite surprised and disappointed; +
      2. +because two builds can never be perfectly simultaneous, and because + the remote repository may get new commits on the branch anytime, + two users, using the same Buildroot tree and building the same + configuration, may get different source, thus rendering the build + non reproducible, and people would be quite surprised and + disappointed. +
  • +LIBFOO_SOURCE may contain the name of the tarball of the package, + which Buildroot will use to download the tarball from + LIBFOO_SITE. If HOST_LIBFOO_SOURCE is not specified, it defaults + to LIBFOO_SOURCE. If none are specified, then the value is assumed + to be libfoo-$(LIBFOO_VERSION).tar.gz. + Example: LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2 +
  • +LIBFOO_PATCH may contain a space-separated list of patch file + names, that Buildroot will download and apply to the package source + code. If an entry contains ://, then Buildroot will assume it is a + full URL and download the patch from this location. Otherwise, + Buildroot will assume that the patch should be downloaded from + LIBFOO_SITE. If HOST_LIBFOO_PATCH is not specified, it defaults + to LIBFOO_PATCH. Note that patches that are included in Buildroot + itself use a different mechanism: all files of the form + *.patch present in the package directory inside + Buildroot will be applied to the package after extraction (see + patching a package). Finally, patches listed in + the LIBFOO_PATCH variable are applied before the patches stored + in the Buildroot package directory. +
  • +LIBFOO_SITE provides the location of the package, which can be a + URL or a local filesystem path. HTTP, FTP and SCP are supported URL + types for retrieving package tarballs. In these cases don’t include a + trailing slash: it will be added by Buildroot between the directory + and the filename as appropriate. Git, Subversion, Mercurial, + and Bazaar are supported URL types for retrieving packages directly + from source code management systems. There is a helper function to make + it easier to download source tarballs from GitHub (refer to + Section 18.25.4, “How to add a package from GitHub” for details). A filesystem path may be used + to specify either a tarball or a directory containing the package + source code. See LIBFOO_SITE_METHOD below for more details on how + retrieval works. + Note that SCP URLs should be of the form + scp://[user@]host:filepath, and that filepath is relative to the + user’s home directory, so you may want to prepend the path with a + slash for absolute paths: + scp://[user@]host:/absolutepath. The same goes for SFTP URLs. + If HOST_LIBFOO_SITE is not specified, it defaults to + LIBFOO_SITE. + Examples: + LIBFOO_SITE=http://www.libfoosoftware.org/libfoo + LIBFOO_SITE=http://svn.xiph.org/trunk/Tremor + LIBFOO_SITE=/opt/software/libfoo.tar.gz + LIBFOO_SITE=$(TOPDIR)/../src/libfoo +
  • +LIBFOO_DL_OPTS is a space-separated list of additional options to + pass to the downloader. Useful for retrieving documents with + server-side checking for user logins and passwords, or to use a proxy. + All download methods valid for LIBFOO_SITE_METHOD are supported; + valid options depend on the download method (consult the man page + for the respective download utilities). +
  • +LIBFOO_EXTRA_DOWNLOADS is a space-separated list of additional + files that Buildroot should download. If an entry contains :// + then Buildroot will assume it is a complete URL and will download + the file using this URL. Otherwise, Buildroot will assume the file + to be downloaded is located at LIBFOO_SITE. Buildroot will not do + anything with those additional files, except download them: it will + be up to the package recipe to use them from $(LIBFOO_DL_DIR). +
  • +LIBFOO_SITE_METHOD determines the method used to fetch or copy the + package source code. In many cases, Buildroot guesses the method + from the contents of LIBFOO_SITE and setting LIBFOO_SITE_METHOD + is unnecessary. When HOST_LIBFOO_SITE_METHOD is not specified, it + defaults to the value of LIBFOO_SITE_METHOD. + The possible values of LIBFOO_SITE_METHOD are: +

    • +wget for normal FTP/HTTP downloads of tarballs. Used by + default when LIBFOO_SITE begins with http://, https:// or + ftp://. +
    • +scp for downloads of tarballs over SSH with scp. Used by + default when LIBFOO_SITE begins with scp://. +
    • +sftp for downloads of tarballs over SSH with sftp. Used by + default when LIBFOO_SITE begins with sftp://. +
    • +svn for retrieving source code from a Subversion repository. + Used by default when LIBFOO_SITE begins with svn://. When a + http:// Subversion repository URL is specified in + LIBFOO_SITE, one must specify LIBFOO_SITE_METHOD=svn. + Buildroot performs a checkout which is preserved as a tarball in + the download cache; subsequent builds use the tarball instead of + performing another checkout. +
    • +cvs for retrieving source code from a CVS repository. + Used by default when LIBFOO_SITE begins with cvs://. + The downloaded source code is cached as with the svn method. + Anonymous pserver mode is assumed otherwise explicitly defined + on LIBFOO_SITE. Both + LIBFOO_SITE=cvs://libfoo.net:/cvsroot/libfoo and + LIBFOO_SITE=cvs://:ext:libfoo.net:/cvsroot/libfoo + are accepted, on the former anonymous pserver access mode is + assumed. + LIBFOO_SITE must contain the source URL as well as the remote + repository directory. The module is the package name. + LIBFOO_VERSION is mandatory and must be a tag, a branch, or + a date (e.g. "2014-10-20", "2014-10-20 13:45", "2014-10-20 + 13:45+01" see "man cvs" for further details). +
    • +git for retrieving source code from a Git repository. Used by + default when LIBFOO_SITE begins with git://. The downloaded + source code is cached as with the svn method. +
    • +hg for retrieving source code from a Mercurial repository. One + must specify LIBFOO_SITE_METHOD=hg when LIBFOO_SITE + contains a Mercurial repository URL. The downloaded source code + is cached as with the svn method. +
    • +bzr for retrieving source code from a Bazaar repository. Used + by default when LIBFOO_SITE begins with bzr://. The + downloaded source code is cached as with the svn method. +
    • +file for a local tarball. One should use this when + LIBFOO_SITE specifies a package tarball as a local filename. + Useful for software that isn’t available publicly or in version + control. +
    • +local for a local source code directory. One should use this + when LIBFOO_SITE specifies a local directory path containing + the package source code. Buildroot copies the contents of the + source directory into the package’s build directory. Note that + for local packages, no patches are applied. If you need to + still patch the source code, use LIBFOO_POST_RSYNC_HOOKS, see + Section 18.23.1, “Using the POST_RSYNC hook”. +
  • +LIBFOO_GIT_SUBMODULES can be set to YES to create an archive + with the git submodules in the repository. This is only available + for packages downloaded with git (i.e. when + LIBFOO_SITE_METHOD=git). Note that we try not to use such git + submodules when they contain bundled libraries, in which case we + prefer to use those libraries from their own package. +
  • +LIBFOO_GIT_LFS should be set to YES if the Git repository uses + Git LFS to store large files out of band. This is only available for + packages downloaded with git (i.e. when LIBFOO_SITE_METHOD=git). +
  • +LIBFOO_STRIP_COMPONENTS is the number of leading components + (directories) that tar must strip from file names on extraction. + The tarball for most packages has one leading component named + "<pkg-name>-<pkg-version>", thus Buildroot passes + --strip-components=1 to tar to remove it. + For non-standard packages that don’t have this component, or + that have more than one leading component to strip, set this + variable with the value to be passed to tar. Default: 1. +
  • +LIBFOO_EXCLUDES is a space-separated list of patterns to exclude + when extracting the archive. Each item from that list is passed as + a tar’s --exclude option. By default, empty. +
  • +LIBFOO_DEPENDENCIES lists the dependencies (in terms of package + name) that are required for the current target package to + compile. These dependencies are guaranteed to be compiled and + installed before the configuration of the current package starts. + However, modifications to configuration of these dependencies will + not force a rebuild of the current package. In a similar way, + HOST_LIBFOO_DEPENDENCIES lists the dependencies for the current + host package. +
  • +LIBFOO_EXTRACT_DEPENDENCIES lists the dependencies (in terms of + package name) that are required for the current target package to be + extracted. These dependencies are guaranteed to be compiled and + installed before the extract step of the current package + starts. This is only used internally by the package infrastructure, + and should typically not be used directly by packages. +
  • +LIBFOO_PATCH_DEPENDENCIES lists the dependencies (in terms of + package name) that are required for the current package to be + patched. These dependencies are guaranteed to be extracted and + patched (but not necessarily built) before the current package is + patched. In a similar way, HOST_LIBFOO_PATCH_DEPENDENCIES lists + the dependencies for the current host package. + This is seldom used; usually, LIBFOO_DEPENDENCIES is what you + really want to use. +
  • +LIBFOO_PROVIDES lists all the virtual packages libfoo is an + implementation of. See Section 18.12, “Infrastructure for virtual packages”. +
  • +LIBFOO_INSTALL_STAGING can be set to YES or NO (default). If + set to YES, then the commands in the LIBFOO_INSTALL_STAGING_CMDS + variables are executed to install the package into the staging + directory. +
  • +LIBFOO_INSTALL_TARGET can be set to YES (default) or NO. If + set to YES, then the commands in the LIBFOO_INSTALL_TARGET_CMDS + variables are executed to install the package into the target + directory. +
  • +LIBFOO_INSTALL_IMAGES can be set to YES or NO (default). If + set to YES, then the commands in the LIBFOO_INSTALL_IMAGES_CMDS + variable are executed to install the package into the images + directory. +
  • +LIBFOO_CONFIG_SCRIPTS lists the names of the files in + $(STAGING_DIR)/usr/bin that need some special fixing to make them + cross-compiling friendly. Multiple file names separated by space can + be given and all are relative to $(STAGING_DIR)/usr/bin. The files + listed in LIBFOO_CONFIG_SCRIPTS are also removed from + $(TARGET_DIR)/usr/bin since they are not needed on the target. +
  • +LIBFOO_DEVICES lists the device files to be created by Buildroot + when using the static device table. The syntax to use is the + makedevs one. You can find some documentation for this syntax in the + Chapter 25, Makedev syntax documentation. This variable is optional. +
  • +LIBFOO_PERMISSIONS lists the changes of permissions to be done at + the end of the build process. The syntax is once again the makedevs one. + You can find some documentation for this syntax in the Chapter 25, Makedev syntax documentation. + This variable is optional. +
  • +LIBFOO_USERS lists the users to create for this package, if it installs + a program you want to run as a specific user (e.g. as a daemon, or as a + cron-job). The syntax is similar in spirit to the makedevs one, and is + described in the Chapter 26, Makeusers syntax documentation. This variable is optional. +
  • +LIBFOO_LICENSE defines the license (or licenses) under which the package + is released. + This name will appear in the manifest file produced by make legal-info. + If the license appears in the SPDX License List, + use the SPDX short identifier to make the manifest file uniform. + Otherwise, describe the license in a precise and concise way, avoiding + ambiguous names such as BSD which actually name a family of licenses. + This variable is optional. If it is not defined, unknown will appear in + the license field of the manifest file for this package. + The expected format for this variable must comply with the following rules: +

    • +If different parts of the package are released under different + licenses, then comma separate licenses (e.g. LIBFOO_LICENSE = + GPL-2.0+, LGPL-2.1+). If there is clear distinction between which + component is licensed under what license, then annotate the license + with that component, between parenthesis (e.g. LIBFOO_LICENSE = + GPL-2.0+ (programs), LGPL-2.1+ (libraries)). +
    • +If some licenses are conditioned on a sub-option being enabled, append + the conditional licenses with a comma (e.g.: FOO_LICENSE += , GPL-2.0+ + (programs)); the infrastructure will internally remove the space before + the comma. +
    • +If the package is dual licensed, then separate licenses with the + or keyword (e.g. LIBFOO_LICENSE = AFL-2.1 or GPL-2.0+). +
  • +LIBFOO_LICENSE_FILES is a space-separated list of files in the package + tarball that contain the license(s) under which the package is released. + make legal-info copies all of these files in the legal-info directory. + See Chapter 13, Legal notice and licensing for more information. + This variable is optional. If it is not defined, a warning will be produced + to let you know, and not saved will appear in the license files field + of the manifest file for this package. +
  • +LIBFOO_ACTUAL_SOURCE_TARBALL only applies to packages whose + LIBFOO_SITE / LIBFOO_SOURCE pair points to an archive that does + not actually contain source code, but binary code. This a very + uncommon case, only known to apply to external toolchains which come + already compiled, although theoretically it might apply to other + packages. In such cases a separate tarball is usually available with + the actual source code. Set LIBFOO_ACTUAL_SOURCE_TARBALL to the + name of the actual source code archive and Buildroot will download + it and use it when you run make legal-info to collect + legally-relevant material. Note this file will not be downloaded + during regular builds nor by make source. +
  • +LIBFOO_ACTUAL_SOURCE_SITE provides the location of the actual + source tarball. The default value is LIBFOO_SITE, so you don’t + need to set this variable if the binary and source archives are + hosted on the same directory. If LIBFOO_ACTUAL_SOURCE_TARBALL is + not set, it doesn’t make sense to define + LIBFOO_ACTUAL_SOURCE_SITE. +
  • +LIBFOO_REDISTRIBUTE can be set to YES (default) or NO to indicate if + the package source code is allowed to be redistributed. Set it to NO for + non-opensource packages: Buildroot will not save the source code for this + package when collecting the legal-info. +
  • +LIBFOO_FLAT_STACKSIZE defines the stack size of an application built into + the FLAT binary format. The application stack size on the NOMMU architecture + processors can’t be enlarged at run time. The default stack size for the + FLAT binary format is only 4k bytes. If the application consumes more stack, + append the required number here. +
  • +LIBFOO_BIN_ARCH_EXCLUDE is a space-separated list of paths (relative + to the target directory) to ignore when checking that the package + installs correctly cross-compiled binaries. You seldom need to set this + variable, unless the package installs binary blobs outside the default + locations, /lib/firmware, /usr/lib/firmware, /lib/modules, + /usr/lib/modules, and /usr/share, which are automatically excluded. +
  • +LIBFOO_IGNORE_CVES is a space-separated list of CVEs that tells + Buildroot CVE tracking tools which CVEs should be ignored for this + package. This is typically used when the CVE is fixed by a patch in + the package, or when the CVE for some reason does not affect the + Buildroot package. A Makefile comment must always precede the + addition of a CVE to this variable. Example: +
# 0001-fix-cve-2020-12345.patch
+LIBFOO_IGNORE_CVES += CVE-2020-12345
+# only when built with libbaz, which Buildroot doesn't support
+LIBFOO_IGNORE_CVES += CVE-2020-54321
  • +LIBFOO_CPE_ID_* variables is a set of variables that allows the + package to define its CPE + identifier. The available variables are: +

    • +LIBFOO_CPE_ID_PREFIX, specifies the prefix of the CPE identifier, + i.e the first three fields. When not defined, the default value is + cpe:2.3:a. +
    • +LIBFOO_CPE_ID_VENDOR, specifies the vendor part of the CPE + identifier. When not defined, the default value is + <pkgname>_project. +
    • +LIBFOO_CPE_ID_PRODUCT, specifies the product part of the CPE + identifier. When not defined, the default value is <pkgname>. +
    • +LIBFOO_CPE_ID_VERSION, specifies the version part of the CPE + identifier. When not defined the default value is + $(LIBFOO_VERSION). +
    • +LIBFOO_CPE_ID_UPDATE specifies the update part of the CPE + identifier. When not defined the default value is *. +

    If any of those variables is defined, then the generic package +infrastructure assumes the package provides valid CPE information. In +this case, the generic package infrastructure will define +LIBFOO_CPE_ID.

    For a host package, if its LIBFOO_CPE_ID_* variables are not +defined, it inherits the value of those variables from the +corresponding target package.

The recommended way to define these variables is to use the following +syntax:

LIBFOO_VERSION = 2.32

Now, the variables that define what should be performed at the +different steps of the build process.

  • +LIBFOO_EXTRACT_CMDS lists the actions to be performed to extract + the package. This is generally not needed as tarballs are + automatically handled by Buildroot. However, if the package uses a + non-standard archive format, such as a ZIP or RAR file, or has a + tarball with a non-standard organization, this variable allows to + override the package infrastructure default behavior. +
  • +LIBFOO_CONFIGURE_CMDS lists the actions to be performed to + configure the package before its compilation. +
  • +LIBFOO_BUILD_CMDS lists the actions to be performed to + compile the package. +
  • +HOST_LIBFOO_INSTALL_CMDS lists the actions to be performed + to install the package, when the package is a host package. The + package must install its files to the directory given by + $(HOST_DIR). All files, including development files such as + headers should be installed, since other packages might be compiled + on top of this package. +
  • +LIBFOO_INSTALL_TARGET_CMDS lists the actions to be + performed to install the package to the target directory, when the + package is a target package. The package must install its files to + the directory given by $(TARGET_DIR). Only the files required for + execution of the package have to be + installed. Header files, static libraries and documentation will be + removed again when the target filesystem is finalized. +
  • +LIBFOO_INSTALL_STAGING_CMDS lists the actions to be + performed to install the package to the staging directory, when the + package is a target package. The package must install its files to + the directory given by $(STAGING_DIR). All development files + should be installed, since they might be needed to compile other + packages. +
  • +LIBFOO_INSTALL_IMAGES_CMDS lists the actions to be performed to + install the package to the images directory, when the package is a + target package. The package must install its files to the directory + given by $(BINARIES_DIR). Only files that are binary images (aka + images) that do not belong in the TARGET_DIR but are necessary + for booting the board should be placed here. For example, a package + should utilize this step if it has binaries which would be similar + to the kernel image, bootloader or root filesystem images. +
  • +LIBFOO_INSTALL_INIT_SYSV, LIBFOO_INSTALL_INIT_OPENRC and + LIBFOO_INSTALL_INIT_SYSTEMD list the actions to install init + scripts either for the systemV-like init systems (busybox, + sysvinit, etc.), openrc or for the systemd units. These commands + will be run only when the relevant init system is installed (i.e. + if systemd is selected as the init system in the configuration, + only LIBFOO_INSTALL_INIT_SYSTEMD will be run). The only exception + is when openrc is chosen as init system and LIBFOO_INSTALL_INIT_OPENRC + has not been set, in such situation LIBFOO_INSTALL_INIT_SYSV will + be called, since openrc supports sysv init scripts. + When systemd is used as the init system, buildroot will automatically enable + all services using the systemctl preset-all command in the final phase of + image building. You can add preset files to prevent a particular unit from + being automatically enabled by buildroot. +
  • +LIBFOO_HELP_CMDS lists the actions to print the package help, which + is included to the main make help output. These commands can print + anything in any format. + This is seldom used, as packages rarely have custom rules. Do not use + this variable, unless you really know that you need to print help. +
  • +LIBFOO_LINUX_CONFIG_FIXUPS lists the Linux kernel configuration + options that are needed to build and use this package, and without + which the package is fundamentally broken. This shall be a set of + calls to one of the kconfig tweaking option: KCONFIG_ENABLE_OPT, + KCONFIG_DISABLE_OPT, or KCONFIG_SET_OPT. + This is seldom used, as package usually have no strict requirements on + the kernel options. +

The preferred way to define these variables is:

define LIBFOO_CONFIGURE_CMDS
+        action 1
+        action 2
+        action 3
+endef

In the action definitions, you can use the following variables:

  • +$(LIBFOO_PKGDIR) contains the path to the directory containing the + libfoo.mk and Config.in files. This variable is useful when it is + necessary to install a file bundled in Buildroot, like a runtime + configuration file, a splashscreen image… +
  • +$(@D), which contains the directory in which the package source + code has been uncompressed. +
  • +$(LIBFOO_DL_DIR) contains the path to the directory where all the downloads + made by Buildroot for libfoo are stored in. +
  • +$(TARGET_CC), $(TARGET_LD), etc. to get the target + cross-compilation utilities +
  • +$(TARGET_CROSS) to get the cross-compilation toolchain prefix +
  • +Of course the $(HOST_DIR), $(STAGING_DIR) and $(TARGET_DIR) + variables to install the packages properly. Those variables point to + the global host, staging and target directories, unless + per-package directory support is used, in which case they point to + the current package host, staging and target directories. In + both cases, it doesn’t make any difference from the package point of + view: it should simply use HOST_DIR, STAGING_DIR and + TARGET_DIR. See Section 8.12, “Top-level parallel build” for more details + about per-package directory support. +

Finally, you can also use hooks. See Section 18.23, “Hooks available in the various build steps” for more information.

18.7. Infrastructure for autotools-based packages

18.7.1. autotools-package tutorial

First, let’s see how to write a .mk file for an autotools-based +package, with an example :

01: ################################################################################
+02: #
+03: # libfoo
+04: #
+05: ################################################################################
+06:
+07: LIBFOO_VERSION = 1.0
+08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
+09: LIBFOO_SITE = http://www.foosoftware.org/download
+10: LIBFOO_INSTALL_STAGING = YES
+11: LIBFOO_INSTALL_TARGET = NO
+12: LIBFOO_CONF_OPTS = --disable-shared
+13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
+14:
+15: $(eval $(autotools-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball recommended) +and the location of the tarball on the Web. Buildroot will automatically +download the tarball from this location.

On line 10, we tell Buildroot to install the package to the staging +directory. The staging directory, located in output/staging/ +is the directory where all the packages are installed, including their +development files, etc. By default, packages are not installed to the +staging directory, since usually, only libraries need to be installed in +the staging directory: their development files are needed to compile +other libraries or applications depending on them. Also by default, when +staging installation is enabled, packages are installed in this location +using the make install command.

On line 11, we tell Buildroot to not install the package to the +target directory. This directory contains what will become the root +filesystem running on the target. For purely static libraries, it is +not necessary to install them in the target directory because they will +not be used at runtime. By default, target installation is enabled; setting +this variable to NO is almost never needed. Also by default, packages are +installed in this location using the make install command.

On line 12, we tell Buildroot to pass a custom configure option, that +will be passed to the ./configure script before configuring +and building the package.

On line 13, we declare our dependencies, so that they are built +before the build process of our package starts.

Finally, on line line 15, we invoke the autotools-package +macro that generates all the Makefile rules that actually allows the +package to be built.

18.7.2. autotools-package reference

The main macro of the autotools package infrastructure is +autotools-package. It is similar to the generic-package macro. The ability to +have target and host packages is also available, with the +host-autotools-package macro.

Just like the generic infrastructure, the autotools infrastructure +works by defining a number of variables before calling the +autotools-package macro.

First, all the package metadata information variables that exist in the +generic infrastructure also exist in the autotools infrastructure: +LIBFOO_VERSION, LIBFOO_SOURCE, +LIBFOO_PATCH, LIBFOO_SITE, +LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, +LIBFOO_INSTALL_STAGING, LIBFOO_INSTALL_TARGET.

A few additional variables, specific to the autotools infrastructure, +can also be defined. Many of them are only useful in very specific +cases, typical packages will therefore only use a few of them.

  • +LIBFOO_SUBDIR may contain the name of a subdirectory + inside the package that contains the configure script. This is useful, + if for example, the main configure script is not at the root of the + tree extracted by the tarball. If HOST_LIBFOO_SUBDIR is + not specified, it defaults to LIBFOO_SUBDIR. +
  • +LIBFOO_CONF_ENV, to specify additional environment + variables to pass to the configure script. By default, empty. +
  • +LIBFOO_CONF_OPTS, to specify additional configure + options to pass to the configure script. By default, empty. +
  • +LIBFOO_MAKE, to specify an alternate make + command. This is typically useful when parallel make is enabled in + the configuration (using BR2_JLEVEL) but that this + feature should be disabled for the given package, for one reason or + another. By default, set to $(MAKE). If parallel building + is not supported by the package, then it should be set to + LIBFOO_MAKE=$(MAKE1). +
  • +LIBFOO_MAKE_ENV, to specify additional environment + variables to pass to make in the build step. These are passed before + the make command. By default, empty. +
  • +LIBFOO_MAKE_OPTS, to specify additional variables to + pass to make in the build step. These are passed after the + make command. By default, empty. +
  • +LIBFOO_AUTORECONF, tells whether the package should + be autoreconfigured or not (i.e. if the configure script and + Makefile.in files should be re-generated by re-running autoconf, + automake, libtool, etc.). Valid values are YES and + NO. By default, the value is NO +
  • +LIBFOO_AUTORECONF_ENV, to specify additional environment + variables to pass to the autoreconf program if + LIBFOO_AUTORECONF=YES. These are passed in the environment of + the autoreconf command. By default, empty. +
  • +LIBFOO_AUTORECONF_OPTS to specify additional options + passed to the autoreconf program if + LIBFOO_AUTORECONF=YES. By default, empty. +
  • +LIBFOO_GETTEXTIZE, tells whether the package should be + gettextized or not (i.e. if the package uses a different gettext + version than Buildroot provides, and it is needed to run + gettextize.) Only valid when LIBFOO_AUTORECONF=YES. Valid + values are YES and NO. The default is NO. +
  • +LIBFOO_GETTEXTIZE_OPTS, to specify additional options passed to + the gettextize program, if LIBFOO_GETTEXTIZE=YES. You may + use that if, for example, the .po files are not located in the + standard place (i.e. in po/ at the root of the package.) By + default, -f. +
  • +LIBFOO_LIBTOOL_PATCH tells whether the Buildroot + patch to fix libtool cross-compilation issues should be applied or + not. Valid values are YES and NO. By + default, the value is YES +
  • +LIBFOO_INSTALL_STAGING_OPTS contains the make options + used to install the package to the staging directory. By default, the + value is DESTDIR=$(STAGING_DIR) install, which is + correct for most autotools packages. It is still possible to override + it. +
  • +LIBFOO_INSTALL_TARGET_OPTS contains the make options + used to install the package to the target directory. By default, the + value is DESTDIR=$(TARGET_DIR) install. The default + value is correct for most autotools packages, but it is still possible + to override it if needed. +

With the autotools infrastructure, all the steps required to build +and install the packages are already defined, and they generally work +well for most autotools-based packages. However, when required, it is +still possible to customize what is done in any particular step:

  • +By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the various build steps” for details. +
  • +By overriding one of the steps. For example, even if the autotools + infrastructure is used, if the package .mk file defines its + own LIBFOO_CONFIGURE_CMDS variable, it will be used + instead of the default autotools one. However, using this method + should be restricted to very specific cases. Do not use it in the + general case. +

18.8. Infrastructure for CMake-based packages

18.8.1. cmake-package tutorial

First, let’s see how to write a .mk file for a CMake-based package, +with an example :

01: ################################################################################
+02: #
+03: # libfoo
+04: #
+05: ################################################################################
+06:
+07: LIBFOO_VERSION = 1.0
+08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
+09: LIBFOO_SITE = http://www.foosoftware.org/download
+10: LIBFOO_INSTALL_STAGING = YES
+11: LIBFOO_INSTALL_TARGET = NO
+12: LIBFOO_CONF_OPTS = -DBUILD_DEMOS=ON
+13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf
+14:
+15: $(eval $(cmake-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball recommended) +and the location of the tarball on the Web. Buildroot will automatically +download the tarball from this location.

On line 10, we tell Buildroot to install the package to the staging +directory. The staging directory, located in output/staging/ +is the directory where all the packages are installed, including their +development files, etc. By default, packages are not installed to the +staging directory, since usually, only libraries need to be installed in +the staging directory: their development files are needed to compile +other libraries or applications depending on them. Also by default, when +staging installation is enabled, packages are installed in this location +using the make install command.

On line 11, we tell Buildroot to not install the package to the +target directory. This directory contains what will become the root +filesystem running on the target. For purely static libraries, it is +not necessary to install them in the target directory because they will +not be used at runtime. By default, target installation is enabled; setting +this variable to NO is almost never needed. Also by default, packages are +installed in this location using the make install command.

On line 12, we tell Buildroot to pass custom options to CMake when it is +configuring the package.

On line 13, we declare our dependencies, so that they are built +before the build process of our package starts.

Finally, on line line 15, we invoke the cmake-package +macro that generates all the Makefile rules that actually allows the +package to be built.

18.8.2. cmake-package reference

The main macro of the CMake package infrastructure is +cmake-package. It is similar to the generic-package macro. The ability to +have target and host packages is also available, with the +host-cmake-package macro.

Just like the generic infrastructure, the CMake infrastructure works +by defining a number of variables before calling the cmake-package +macro.

First, all the package metadata information variables that exist in +the generic infrastructure also exist in the CMake infrastructure: +LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, +LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, +LIBFOO_INSTALL_TARGET.

A few additional variables, specific to the CMake infrastructure, can +also be defined. Many of them are only useful in very specific cases, +typical packages will therefore only use a few of them.

  • +LIBFOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the main CMakeLists.txt file. This is useful, + if for example, the main CMakeLists.txt file is not at the root of + the tree extracted by the tarball. If HOST_LIBFOO_SUBDIR is not + specified, it defaults to LIBFOO_SUBDIR. +
  • +LIBFOO_CONF_ENV, to specify additional environment variables to + pass to CMake. By default, empty. +
  • +LIBFOO_CONF_OPTS, to specify additional configure options to pass + to CMake. By default, empty. A number of common CMake options are + set by the cmake-package infrastructure; so it is normally not + necessary to set them in the package’s *.mk file unless you want + to override them: +

    • +CMAKE_BUILD_TYPE is driven by BR2_ENABLE_RUNTIME_DEBUG; +
    • +CMAKE_INSTALL_PREFIX; +
    • +BUILD_SHARED_LIBS is driven by BR2_STATIC_LIBS; +
    • +BUILD_DOC, BUILD_DOCS are disabled; +
    • +BUILD_EXAMPLE, BUILD_EXAMPLES are disabled; +
    • +BUILD_TEST, BUILD_TESTS, BUILD_TESTING are disabled. +
  • +LIBFOO_SUPPORTS_IN_SOURCE_BUILD = NO should be set when the package + cannot be built inside the source tree but needs a separate build + directory. +
  • +LIBFOO_MAKE, to specify an alternate make command. This is + typically useful when parallel make is enabled in the configuration + (using BR2_JLEVEL) but that this feature should be disabled for + the given package, for one reason or another. By default, set to + $(MAKE). If parallel building is not supported by the package, + then it should be set to LIBFOO_MAKE=$(MAKE1). +
  • +LIBFOO_MAKE_ENV, to specify additional environment variables to + pass to make in the build step. These are passed before the make + command. By default, empty. +
  • +LIBFOO_MAKE_OPTS, to specify additional variables to pass to make + in the build step. These are passed after the make command. By + default, empty. +
  • +LIBFOO_INSTALL_OPTS contains the make options used to + install the package to the host directory. By default, the value + is install, which is correct for most CMake packages. It is still + possible to override it. +
  • +LIBFOO_INSTALL_STAGING_OPTS contains the make options used to + install the package to the staging directory. By default, the value + is DESTDIR=$(STAGING_DIR) install/fast, which is correct for most + CMake packages. It is still possible to override it. +
  • +LIBFOO_INSTALL_TARGET_OPTS contains the make options used to + install the package to the target directory. By default, the value + is DESTDIR=$(TARGET_DIR) install/fast. The default value is correct + for most CMake packages, but it is still possible to override it if + needed. +

With the CMake infrastructure, all the steps required to build and +install the packages are already defined, and they generally work well +for most CMake-based packages. However, when required, it is still +possible to customize what is done in any particular step:

  • +By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the various build steps” for details. +
  • +By overriding one of the steps. For example, even if the CMake + infrastructure is used, if the package .mk file defines its own + LIBFOO_CONFIGURE_CMDS variable, it will be used instead of the + default CMake one. However, using this method should be restricted + to very specific cases. Do not use it in the general case. +

18.9. Infrastructure for Python packages

This infrastructure applies to Python packages that use the standard +Python setuptools mechanism as their build system, generally +recognizable by the usage of a setup.py script.

18.9.1. python-package tutorial

First, let’s see how to write a .mk file for a Python package, +with an example :

01: ################################################################################
+02: #
+03: # python-foo
+04: #
+05: ################################################################################
+06:
+07: PYTHON_FOO_VERSION = 1.0
+08: PYTHON_FOO_SOURCE = python-foo-$(PYTHON_FOO_VERSION).tar.xz
+09: PYTHON_FOO_SITE = http://www.foosoftware.org/download
+10: PYTHON_FOO_LICENSE = BSD-3-Clause
+11: PYTHON_FOO_LICENSE_FILES = LICENSE
+12: PYTHON_FOO_ENV = SOME_VAR=1
+13: PYTHON_FOO_DEPENDENCIES = libmad
+14: PYTHON_FOO_SETUP_TYPE = distutils
+15:
+16: $(eval $(python-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location.

On line 10 and 11, we give licensing details about the package (its +license on line 10, and the file containing the license text on line +11).

On line 12, we tell Buildroot to pass custom options to the Python +setup.py script when it is configuring the package.

On line 13, we declare our dependencies, so that they are built +before the build process of our package starts.

On line 14, we declare the specific Python build system being used. In +this case the distutils Python build system is used. The two +supported ones are distutils and setuptools.

Finally, on line 16, we invoke the python-package macro that +generates all the Makefile rules that actually allow the package to be +built.

18.9.2. python-package reference

As a policy, packages that merely provide Python modules should all be +named python-<something> in Buildroot. Other packages that use the +Python build system, but are not Python modules, can freely choose +their name (existing examples in Buildroot are scons and +supervisor).

The main macro of the Python package infrastructure is +python-package. It is similar to the generic-package macro. It is +also possible to create Python host packages with the +host-python-package macro.

Just like the generic infrastructure, the Python infrastructure works +by defining a number of variables before calling the python-package +or host-python-package macros.

All the package metadata information variables that exist in the +generic package infrastructure also +exist in the Python infrastructure: PYTHON_FOO_VERSION, +PYTHON_FOO_SOURCE, PYTHON_FOO_PATCH, PYTHON_FOO_SITE, +PYTHON_FOO_SUBDIR, PYTHON_FOO_DEPENDENCIES, PYTHON_FOO_LICENSE, +PYTHON_FOO_LICENSE_FILES, PYTHON_FOO_INSTALL_STAGING, etc.

Note that:

  • +It is not necessary to add python or host-python in the + PYTHON_FOO_DEPENDENCIES variable of a package, since these basic + dependencies are automatically added as needed by the Python + package infrastructure. +
  • +Similarly, it is not needed to add host-setuptools to + PYTHON_FOO_DEPENDENCIES for setuptools-based packages, since it’s + automatically added by the Python infrastructure as needed. +

One variable specific to the Python infrastructure is mandatory:

  • +PYTHON_FOO_SETUP_TYPE, to define which Python build system is used + by the package. The two supported values are distutils and + setuptools. If you don’t know which one is used in your package, + look at the setup.py file in your package source code, and see + whether it imports things from the distutils module or the + setuptools module. +

A few additional variables, specific to the Python infrastructure, can +optionally be defined, depending on the package’s needs. Many of them +are only useful in very specific cases, typical packages will +therefore only use a few of them, or none.

  • +PYTHON_FOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the main setup.py file. This is useful, + if for example, the main setup.py file is not at the root of + the tree extracted by the tarball. If HOST_PYTHON_FOO_SUBDIR is not + specified, it defaults to PYTHON_FOO_SUBDIR. +
  • +PYTHON_FOO_ENV, to specify additional environment variables to + pass to the Python setup.py script (for both the build and install + steps). Note that the infrastructure is automatically passing + several standard variables, defined in PKG_PYTHON_DISTUTILS_ENV + (for distutils target packages), HOST_PKG_PYTHON_DISTUTILS_ENV + (for distutils host packages), PKG_PYTHON_SETUPTOOLS_ENV (for + setuptools target packages) and HOST_PKG_PYTHON_SETUPTOOLS_ENV + (for setuptools host packages). +
  • +PYTHON_FOO_BUILD_OPTS, to specify additional options to pass to the + Python setup.py script during the build step. For target distutils + packages, the PKG_PYTHON_DISTUTILS_BUILD_OPTS options are already + passed automatically by the infrastructure. +
  • +PYTHON_FOO_INSTALL_TARGET_OPTS, PYTHON_FOO_INSTALL_STAGING_OPTS, + HOST_PYTHON_FOO_INSTALL_OPTS to specify additional options to pass + to the Python setup.py script during the target installation step, + the staging installation step or the host installation, + respectively. Note that the infrastructure is automatically passing + some options, defined in PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS + or PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS (for target distutils + packages), HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS (for host + distutils packages), PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS or + PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS (for target setuptools + packages) and HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS (for host + setuptools packages). +

With the Python infrastructure, all the steps required to build and +install the packages are already defined, and they generally work well +for most Python-based packages. However, when required, it is still +possible to customize what is done in any particular step:

  • +By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the various build steps” for details. +
  • +By overriding one of the steps. For example, even if the Python + infrastructure is used, if the package .mk file defines its own + PYTHON_FOO_BUILD_CMDS variable, it will be used instead of the + default Python one. However, using this method should be restricted + to very specific cases. Do not use it in the general case. +

18.9.3. Generating a python-package from a PyPI repository

If the Python package for which you would like to create a Buildroot +package is available on PyPI, you may want to use the scanpypi tool +located in utils/ to automate the process.

You can find the list of existing PyPI packages +here.

scanpypi requires Python’s setuptools package to be installed on +your host.

When at the root of your buildroot directory just do :

utils/scanpypi foo bar -o package

This will generate packages python-foo and python-bar in the package +folder if they exist on https://pypi.python.org.

Find the external python modules menu and insert your package inside. +Keep in mind that the items inside a menu should be in alphabetical order.

Please keep in mind that you’ll most likely have to manually check the +package for any mistakes as there are things that cannot be guessed by +the generator (e.g. dependencies on any of the python core modules +such as BR2_PACKAGE_PYTHON_ZLIB). Also, please take note that the +license and license files are guessed and must be checked. You also +need to manually add the package to the package/Config.in file.

If your Buildroot package is not in the official Buildroot tree but in +a br2-external tree, use the -o flag as follows:

utils/scanpypi foo bar -o other_package_dir

This will generate packages python-foo and python-bar in the +other_package_directory instead of package.

Option -h will list the available options:

utils/scanpypi -h

18.9.4. python-package CFFI backend

C Foreign Function Interface for Python (CFFI) provides a convenient +and reliable way to call compiled C code from Python using interface +declarations written in C. Python packages relying on this backend can +be identified by the appearance of a cffi dependency in the +install_requires field of their setup.py file.

Such a package should:

  • +add python-cffi as a runtime dependency in order to install the +compiled C library wrapper on the target. This is achieved by adding +select BR2_PACKAGE_PYTHON_CFFI to the package Config.in. +
config BR2_PACKAGE_PYTHON_FOO
+        bool "python-foo"
+        select BR2_PACKAGE_PYTHON_CFFI # runtime
  • +add host-python-cffi as a build-time dependency in order to +cross-compile the C wrapper. This is achieved by adding +host-python-cffi to the PYTHON_FOO_DEPENDENCIES variable. +
################################################################################
+#
+# python-foo
+#
+################################################################################
+
+...
+
+PYTHON_FOO_DEPENDENCIES = host-python-cffi
+
+$(eval $(python-package))

18.10. Infrastructure for LuaRocks-based packages

18.10.1. luarocks-package tutorial

First, let’s see how to write a .mk file for a LuaRocks-based package, +with an example :

01: ################################################################################
+02: #
+03: # lua-foo
+04: #
+05: ################################################################################
+06:
+07: LUA_FOO_VERSION = 1.0.2-1
+08: LUA_FOO_NAME_UPSTREAM = foo
+09: LUA_FOO_DEPENDENCIES = bar
+10:
+11: LUA_FOO_BUILD_OPTS += BAR_INCDIR=$(STAGING_DIR)/usr/include
+12: LUA_FOO_BUILD_OPTS += BAR_LIBDIR=$(STAGING_DIR)/usr/lib
+13: LUA_FOO_LICENSE = luaFoo license
+14: LUA_FOO_LICENSE_FILES = $(LUA_FOO_SUBDIR)/COPYING
+15:
+16: $(eval $(luarocks-package))

On line 7, we declare the version of the package (the same as in the rockspec, +which is the concatenation of the upstream version and the rockspec revision, +separated by a hyphen -).

On line 8, we declare that the package is called "foo" on LuaRocks. In +Buildroot, we give Lua-related packages a name that starts with "lua", so the +Buildroot name is different from the upstream name. LUA_FOO_NAME_UPSTREAM +makes the link between the two names.

On line 9, we declare our dependencies against native libraries, so that they +are built before the build process of our package starts.

On lines 11-12, we tell Buildroot to pass custom options to LuaRocks when it is +building the package.

On lines 13-14, we specify the licensing terms for the package.

Finally, on line 16, we invoke the luarocks-package +macro that generates all the Makefile rules that actually allows the +package to be built.

Most of these details can be retrieved from the rock and rockspec. +So, this file and the Config.in file can be generated by running the +command luarocks buildroot foo lua-foo in the Buildroot +directory. This command runs a specific Buildroot addon of luarocks +that will automatically generate a Buildroot package. The result must +still be manually inspected and possibly modified.

  • +The package/Config.in file has to be updated manually to include the + generated Config.in files. +

18.10.2. luarocks-package reference

LuaRocks is a deployment and management system for Lua modules, and supports +various build.type: builtin, make and cmake. In the context of +Buildroot, the luarocks-package infrastructure only supports the builtin +mode. LuaRocks packages that use the make or cmake build mechanisms +should instead be packaged using the generic-package and cmake-package +infrastructures in Buildroot, respectively.

The main macro of the LuaRocks package infrastructure is luarocks-package: +like generic-package it works by defining a number of variables providing +metadata information about the package, and then calling luarocks-package.

Just like the generic infrastructure, the LuaRocks infrastructure works +by defining a number of variables before calling the luarocks-package +macro.

First, all the package metadata information variables that exist in +the generic infrastructure also exist in the LuaRocks infrastructure: +LUA_FOO_VERSION, LUA_FOO_SOURCE, LUA_FOO_SITE, +LUA_FOO_DEPENDENCIES, LUA_FOO_LICENSE, LUA_FOO_LICENSE_FILES.

Two of them are populated by the LuaRocks infrastructure (for the +download step). If your package is not hosted on the LuaRocks mirror +$(BR2_LUAROCKS_MIRROR), you can override them:

  • +LUA_FOO_SITE, which defaults to $(BR2_LUAROCKS_MIRROR) +
  • +LUA_FOO_SOURCE, which defaults to + $(lowercase LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).src.rock +

A few additional variables, specific to the LuaRocks infrastructure, are +also defined. They can be overridden in specific cases.

  • +LUA_FOO_NAME_UPSTREAM, which defaults to lua-foo, i.e. the Buildroot + package name +
  • +LUA_FOO_ROCKSPEC, which defaults to + $(lowercase LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).rockspec +
  • +LUA_FOO_SUBDIR, which defaults to + $(LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION_WITHOUT_ROCKSPEC_REVISION) +
  • +LUA_FOO_BUILD_OPTS contains additional build options for the + luarocks build call. +

18.11. Infrastructure for Perl/CPAN packages

18.11.1. perl-package tutorial

First, let’s see how to write a .mk file for a Perl/CPAN package, +with an example :

01: ################################################################################
+02: #
+03: # perl-foo-bar
+04: #
+05: ################################################################################
+06:
+07: PERL_FOO_BAR_VERSION = 0.02
+08: PERL_FOO_BAR_SOURCE = Foo-Bar-$(PERL_FOO_BAR_VERSION).tar.gz
+09: PERL_FOO_BAR_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MO/MONGER
+10: PERL_FOO_BAR_DEPENDENCIES = perl-strictures
+11: PERL_FOO_BAR_LICENSE = Artistic or GPL-1.0+
+12: PERL_FOO_BAR_LICENSE_FILES = LICENSE
+13: PERL_FOO_BAR_DISTNAME = Foo-Bar
+14:
+15: $(eval $(perl-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball and the location +of the tarball on a CPAN server. Buildroot will automatically download +the tarball from this location.

On line 10, we declare our dependencies, so that they are built +before the build process of our package starts.

On line 11 and 12, we give licensing details about the package (its +license on line 11, and the file containing the license text on line +12).

On line 13, the name of the distribution as needed by the script +utils/scancpan (in order to regenerate/upgrade these package files).

Finally, on line 15, we invoke the perl-package macro that +generates all the Makefile rules that actually allow the package to be +built.

Most of these data can be retrieved from https://metacpan.org/. +So, this file and the Config.in can be generated by running +the script utils/scancpan Foo-Bar in the Buildroot directory +(or in a br2-external tree). +This script creates a Config.in file and foo-bar.mk file for the +requested package, and also recursively for all dependencies specified by +CPAN. You should still manually edit the result. In particular, the +following things should be checked.

  • +If the perl module links with a shared library that is provided by + another (non-perl) package, this dependency is not added automatically. + It has to be added manually to PERL_FOO_BAR_DEPENDENCIES. +
  • +The package/Config.in file has to be updated manually to include the + generated Config.in files. As a hint, the scancpan script prints out + the required source "…" statements, sorted alphabetically. +

18.11.2. perl-package reference

As a policy, packages that provide Perl/CPAN modules should all be +named perl-<something> in Buildroot.

This infrastructure handles various Perl build systems : +ExtUtils-MakeMaker (EUMM), Module-Build (MB) and Module-Build-Tiny. +Build.PL is preferred by default when a package provides a Makefile.PL +and a Build.PL.

The main macro of the Perl/CPAN package infrastructure is +perl-package. It is similar to the generic-package macro. The ability to +have target and host packages is also available, with the +host-perl-package macro.

Just like the generic infrastructure, the Perl/CPAN infrastructure +works by defining a number of variables before calling the +perl-package macro.

First, all the package metadata information variables that exist in the +generic infrastructure also exist in the Perl/CPAN infrastructure: +PERL_FOO_VERSION, PERL_FOO_SOURCE, +PERL_FOO_PATCH, PERL_FOO_SITE, +PERL_FOO_SUBDIR, PERL_FOO_DEPENDENCIES, +PERL_FOO_INSTALL_TARGET.

Note that setting PERL_FOO_INSTALL_STAGING to YES has no effect +unless a PERL_FOO_INSTALL_STAGING_CMDS variable is defined. The perl +infrastructure doesn’t define these commands since Perl modules generally +don’t need to be installed to the staging directory.

A few additional variables, specific to the Perl/CPAN infrastructure, +can also be defined. Many of them are only useful in very specific +cases, typical packages will therefore only use a few of them.

  • +PERL_FOO_PREFER_INSTALLER/HOST_PERL_FOO_PREFER_INSTALLER, + specifies the preferred installation method. Possible values are + EUMM (for Makefile.PL based installation using + ExtUtils-MakeMaker) and MB (for Build.PL based installation + using Module-Build). This variable is only used when the package + provides both installation methods. +
  • +PERL_FOO_CONF_ENV/HOST_PERL_FOO_CONF_ENV, to specify additional + environment variables to pass to the perl Makefile.PL or perl Build.PL. + By default, empty. +
  • +PERL_FOO_CONF_OPTS/HOST_PERL_FOO_CONF_OPTS, to specify additional + configure options to pass to the perl Makefile.PL or perl Build.PL. + By default, empty. +
  • +PERL_FOO_BUILD_OPTS/HOST_PERL_FOO_BUILD_OPTS, to specify additional + options to pass to make pure_all or perl Build build in the build step. + By default, empty. +
  • +PERL_FOO_INSTALL_TARGET_OPTS, to specify additional options to + pass to make pure_install or perl Build install in the install step. + By default, empty. +
  • +HOST_PERL_FOO_INSTALL_OPTS, to specify additional options to + pass to make pure_install or perl Build install in the install step. + By default, empty. +

18.12. Infrastructure for virtual packages

In Buildroot, a virtual package is a package whose functionalities are +provided by one or more packages, referred to as providers. The virtual +package management is an extensible mechanism allowing the user to choose +the provider used in the rootfs.

For example, OpenGL ES is an API for 2D and 3D graphics on embedded systems. +The implementation of this API is different for the Allwinner Tech Sunxi and +the Texas Instruments OMAP35xx platforms. So libgles will be a virtual +package and sunxi-mali-utgard and ti-gfx will be the providers.

18.12.1. virtual-package tutorial

In the following example, we will explain how to add a new virtual package +(something-virtual) and a provider for it (some-provider).

First, let’s create the virtual package.

18.12.2. Virtual package’s Config.in file

The Config.in file of virtual package something-virtual should contain:

01: config BR2_PACKAGE_HAS_SOMETHING_VIRTUAL
+02:     bool
+03:
+04: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL
+05:     depends on BR2_PACKAGE_HAS_SOMETHING_VIRTUAL
+06:     string

In this file, we declare two options, BR2_PACKAGE_HAS_SOMETHING_VIRTUAL and +BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL, whose values will be used by the +providers.

18.12.3. Virtual package’s .mk file

The .mk for the virtual package should just evaluate the virtual-package macro:

01: ################################################################################
+02: #
+03: # something-virtual
+04: #
+05: ################################################################################
+06:
+07: $(eval $(virtual-package))

The ability to have target and host packages is also available, with the +host-virtual-package macro.

18.12.4. Provider’s Config.in file

When adding a package as a provider, only the Config.in file requires some +modifications.

The Config.in file of the package some-provider, which provides the +functionalities of something-virtual, should contain:

01: config BR2_PACKAGE_SOME_PROVIDER
+02:     bool "some-provider"
+03:     select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL
+04:     help
+05:       This is a comment that explains what some-provider is.
+06:
+07:       http://foosoftware.org/some-provider/
+08:
+09: if BR2_PACKAGE_SOME_PROVIDER
+10: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL
+11:     default "some-provider"
+12: endif

On line 3, we select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL, and on line 11, we +set the value of BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL to the name of the +provider, but only if it is selected.

18.12.5. Provider’s .mk file

The .mk file should also declare an additional variable +SOME_PROVIDER_PROVIDES to contain the names of all the virtual +packages it is an implementation of:

01: SOME_PROVIDER_PROVIDES = something-virtual

Of course, do not forget to add the proper build and runtime dependencies for +this package!

18.12.6. Notes on depending on a virtual package

When adding a package that requires a certain FEATURE provided by a virtual +package, you have to use depends on BR2_PACKAGE_HAS_FEATURE, like so:

config BR2_PACKAGE_HAS_FEATURE
+    bool
+
+config BR2_PACKAGE_FOO
+    bool "foo"
+    depends on BR2_PACKAGE_HAS_FEATURE

18.12.7. Notes on depending on a specific provider

If your package really requires a specific provider, then you’ll have to +make your package depends on this provider; you can not select a +provider.

Let’s take an example with two providers for a FEATURE:

config BR2_PACKAGE_HAS_FEATURE
+    bool
+
+config BR2_PACKAGE_FOO
+    bool "foo"
+    select BR2_PACKAGE_HAS_FEATURE
+
+config BR2_PACKAGE_BAR
+    bool "bar"
+    select BR2_PACKAGE_HAS_FEATURE

And you are adding a package that needs FEATURE as provided by foo, +but not as provided by bar.

If you were to use select BR2_PACKAGE_FOO, then the user would still +be able to select BR2_PACKAGE_BAR in the menuconfig. This would create +a configuration inconsistency, whereby two providers of the same FEATURE +would be enabled at once, one explicitly set by the user, the other +implicitly by your select.

Instead, you have to use depends on BR2_PACKAGE_FOO, which avoids any +implicit configuration inconsistency.

18.13. Infrastructure for packages using kconfig for configuration files

A popular way for a software package to handle user-specified +configuration is kconfig. Among others, it is used by the Linux +kernel, Busybox, and Buildroot itself. The presence of a .config file +and a menuconfig target are two well-known symptoms of kconfig being +used.

Buildroot features an infrastructure for packages that use kconfig for +their configuration. This infrastructure provides the necessary logic to +expose the package’s menuconfig target as foo-menuconfig in +Buildroot, and to handle the copying back and forth of the configuration +file in a correct way.

The kconfig-package infrastructure is based on the generic-package +infrastructure. All variables supported by generic-package are +available in kconfig-package as well. See +Section 18.6.2, “generic-package reference” for more details.

In order to use the kconfig-package infrastructure for a Buildroot +package, the minimally required lines in the .mk file, in addition to +the variables required by the generic-package infrastructure, are:

FOO_KCONFIG_FILE = reference-to-source-configuration-file
+
+$(eval $(kconfig-package))

This snippet creates the following make targets:

  • +foo-menuconfig, which calls the package’s menuconfig target +
  • +foo-update-config, which copies the configuration back to the + source configuration file. It is not possible to use this target + when fragment files are set. +
  • +foo-update-defconfig, which copies the configuration back to the + source configuration file. The configuration file will only list the + options that differ from the default values. It is not possible to + use this target when fragment files are set. +
  • +foo-diff-config, which outputs the differences between the current + configuration and the one defined in the Buildroot configuration for + this kconfig package. The output is useful to identify the + configuration changes that may have to be propagated to + configuration fragments for example. +

and ensures that the source configuration file is copied to the build +directory at the right moment.

There are two options to specify a configuration file to use, either +FOO_KCONFIG_FILE (as in the example, above) or FOO_KCONFIG_DEFCONFIG. +It is mandatory to provide either, but not both:

  • +FOO_KCONFIG_FILE specifies the path to a defconfig or full-config file + to be used to configure the package. +
  • +FOO_KCONFIG_DEFCONFIG specifies the defconfig make rule to call to + configure the package. +

In addition to these minimally required lines, several optional variables can +be set to suit the needs of the package under consideration:

  • +FOO_KCONFIG_EDITORS: a space-separated list of kconfig editors to + support, for example menuconfig xconfig. By default, menuconfig. +
  • +FOO_KCONFIG_FRAGMENT_FILES: a space-separated list of configuration + fragment files that are merged to the main configuration file. + Fragment files are typically used when there is a desire to stay in sync + with an upstream (def)config file, with some minor modifications. +
  • +FOO_KCONFIG_OPTS: extra options to pass when calling the kconfig + editors. This may need to include $(FOO_MAKE_OPTS), for example. By + default, empty. +
  • +FOO_KCONFIG_FIXUP_CMDS: a list of shell commands needed to fixup the + configuration file after copying it or running a kconfig editor. Such + commands may be needed to ensure a configuration consistent with other + configuration of Buildroot, for example. By default, empty. +
  • +FOO_KCONFIG_DOTCONFIG: path (with filename) of the .config file, + relative to the package source tree. The default, .config, should + be well suited for all packages that use the standard kconfig + infrastructure as inherited from the Linux kernel; some packages use + a derivative of kconfig that use a different location. +
  • +FOO_KCONFIG_DEPENDENCIES: the list of packages (most probably, host + packages) that need to be built before this package’s kconfig is + interpreted. Seldom used. By default, empty. +
  • +FOO_KCONFIG_SUPPORTS_DEFCONFIG: whether the package’s kconfig system + supports using defconfig files; few packages do not. By default, YES. +

18.14. Infrastructure for rebar-based packages

18.14.1. rebar-package tutorial

First, let’s see how to write a .mk file for a rebar-based package, +with an example :

01: ################################################################################
+02: #
+03: # erlang-foobar
+04: #
+05: ################################################################################
+06:
+07: ERLANG_FOOBAR_VERSION = 1.0
+08: ERLANG_FOOBAR_SOURCE = erlang-foobar-$(ERLANG_FOOBAR_VERSION).tar.xz
+09: ERLANG_FOOBAR_SITE = http://www.foosoftware.org/download
+10: ERLANG_FOOBAR_DEPENDENCIES = host-libaaa libbbb
+11:
+12: $(eval $(rebar-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location.

On line 10, we declare our dependencies, so that they are built +before the build process of our package starts.

Finally, on line 12, we invoke the rebar-package macro that +generates all the Makefile rules that actually allows the package to +be built.

18.14.2. rebar-package reference

The main macro of the rebar package infrastructure is +rebar-package. It is similar to the generic-package macro. The +ability to have host packages is also available, with the +host-rebar-package macro.

Just like the generic infrastructure, the rebar infrastructure works +by defining a number of variables before calling the rebar-package +macro.

First, all the package metadata information variables that exist in +the generic infrastructure also exist in the rebar infrastructure: +ERLANG_FOOBAR_VERSION, ERLANG_FOOBAR_SOURCE, +ERLANG_FOOBAR_PATCH, ERLANG_FOOBAR_SITE, +ERLANG_FOOBAR_SUBDIR, ERLANG_FOOBAR_DEPENDENCIES, +ERLANG_FOOBAR_INSTALL_STAGING, ERLANG_FOOBAR_INSTALL_TARGET, +ERLANG_FOOBAR_LICENSE and ERLANG_FOOBAR_LICENSE_FILES.

A few additional variables, specific to the rebar infrastructure, +can also be defined. Many of them are only useful in very specific +cases, typical packages will therefore only use a few of them.

  • +ERLANG_FOOBAR_USE_AUTOCONF, to specify that the package uses + autoconf at the configuration step. When a package sets this + variable to YES, the autotools infrastructure is used. +

    Note. You can also use some of the variables from the autotools + infrastructure: ERLANG_FOOBAR_CONF_ENV, ERLANG_FOOBAR_CONF_OPTS, + ERLANG_FOOBAR_AUTORECONF, ERLANG_FOOBAR_AUTORECONF_ENV and + ERLANG_FOOBAR_AUTORECONF_OPTS.

  • +ERLANG_FOOBAR_USE_BUNDLED_REBAR, to specify that the package has + a bundled version of rebar and that it shall be used. Valid + values are YES or NO (the default). +

    Note. If the package bundles a rebar utility, but can use the generic + one that Buildroot provides, just say NO (i.e., do not specify + this variable). Only set if it is mandatory to use the rebar + utility bundled in this package.

  • +ERLANG_FOOBAR_REBAR_ENV, to specify additional environment + variables to pass to the rebar utility. +
  • +ERLANG_FOOBAR_KEEP_DEPENDENCIES, to keep the dependencies + described in the rebar.config file. Valid values are YES or NO + (the default). Unless this variable is set to YES, the rebar + infrastructure removes such dependencies in a post-patch hook to + ensure rebar does not download nor compile them. +

With the rebar infrastructure, all the steps required to build +and install the packages are already defined, and they generally work +well for most rebar-based packages. However, when required, it is +still possible to customize what is done in any particular step:

  • +By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the various build steps” for details. +
  • +By overriding one of the steps. For example, even if the rebar + infrastructure is used, if the package .mk file defines its + own ERLANG_FOOBAR_BUILD_CMDS variable, it will be used instead + of the default rebar one. However, using this method should be + restricted to very specific cases. Do not use it in the general + case. +

18.15. Infrastructure for Waf-based packages

18.15.1. waf-package tutorial

First, let’s see how to write a .mk file for a Waf-based package, with +an example :

01: ################################################################################
+02: #
+03: # libfoo
+04: #
+05: ################################################################################
+06:
+07: LIBFOO_VERSION = 1.0
+08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
+09: LIBFOO_SITE = http://www.foosoftware.org/download
+10: LIBFOO_CONF_OPTS = --enable-bar --disable-baz
+11: LIBFOO_DEPENDENCIES = bar
+12:
+13: $(eval $(waf-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location.

On line 10, we tell Buildroot what options to enable for libfoo.

On line 11, we tell Buildroot the dependencies of libfoo.

Finally, on line line 13, we invoke the waf-package +macro that generates all the Makefile rules that actually allows the +package to be built.

18.15.2. waf-package reference

The main macro of the Waf package infrastructure is waf-package. +It is similar to the generic-package macro.

Just like the generic infrastructure, the Waf infrastructure works +by defining a number of variables before calling the waf-package +macro.

First, all the package metadata information variables that exist in +the generic infrastructure also exist in the Waf infrastructure: +LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, +LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, +LIBFOO_INSTALL_TARGET.

An additional variable, specific to the Waf infrastructure, can +also be defined.

  • +LIBFOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the main wscript file. This is useful, + if for example, the main wscript file is not at the root of + the tree extracted by the tarball. If HOST_LIBFOO_SUBDIR is not + specified, it defaults to LIBFOO_SUBDIR. +
  • +LIBFOO_NEEDS_EXTERNAL_WAF can be set to YES or NO to tell + Buildroot to use the bundled waf executable. If set to NO, the + default, then Buildroot will use the waf executable provided in the + package source tree; if set to YES, then Buildroot will download, + install waf as a host tool and use it to build the package. +
  • +LIBFOO_WAF_OPTS, to specify additional options to pass to the + waf script at every step of the package build process: configure, + build and installation. By default, empty. +
  • +LIBFOO_CONF_OPTS, to specify additional options to pass to the + waf script for the configuration step. By default, empty. +
  • +LIBFOO_BUILD_OPTS, to specify additional options to pass to the + waf script during the build step. By default, empty. +
  • +LIBFOO_INSTALL_STAGING_OPTS, to specify additional options to pass + to the waf script during the staging installation step. By default, + empty. +
  • +LIBFOO_INSTALL_TARGET_OPTS, to specify additional options to pass + to the waf script during the target installation step. By default, + empty. +

18.16. Infrastructure for Meson-based packages

18.16.1. meson-package tutorial

Meson is an open source build system meant to be both +extremely fast, and, even more importantly, as user friendly as possible. It +uses Ninja as a companion tool to perform the actual +build operations.

Let’s see how to write a .mk file for a Meson-based package, with an example:

01: ################################################################################
+02: #
+03: # foo
+04: #
+05: ################################################################################
+06:
+07: FOO_VERSION = 1.0
+08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz
+09: FOO_SITE = http://www.foosoftware.org/download
+10: FOO_LICENSE = GPL-3.0+
+11: FOO_LICENSE_FILES = COPYING
+12: FOO_INSTALL_STAGING = YES
+13:
+14: FOO_DEPENDENCIES = host-pkgconf bar
+15:
+16: ifeq ($(BR2_PACKAGE_BAZ),y)
+17: FOO_CONF_OPTS += -Dbaz=true
+18: FOO_DEPENDENCIES += baz
+19: else
+20: FOO_CONF_OPTS += -Dbaz=false
+21: endif
+22:
+23: $(eval $(meson-package))

The Makefile starts with the definition of the standard variables for package +declaration (lines 7 to 11).

On line line 23, we invoke the meson-package macro that generates all the +Makefile rules that actually allows the package to be built.

In the example, host-pkgconf and bar are declared as dependencies in +FOO_DEPENDENCIES at line 14 because the Meson build file of foo uses +pkg-config to determine the compilation flags and libraries of package bar.

Note that it is not necessary to add host-meson in the FOO_DEPENDENCIES +variable of a package, since this basic dependency is automatically added as +needed by the Meson package infrastructure.

If the "baz" package is selected, then support for the "baz" feature in "foo" is +activated by adding -Dbaz=true to FOO_CONF_OPTS at line 17, as specified in +the meson_options.txt file in "foo" source tree. The "baz" package is also +added to FOO_DEPENDENCIES. Note that the support for baz is explicitly +disabled at line 20, if the package is not selected.

To sum it up, to add a new meson-based package, the Makefile example can be +copied verbatim then edited to replace all occurences of FOO with the +uppercase name of the new package and update the values of the standard +variables.

18.16.2. meson-package reference

The main macro of the Meson package infrastructure is meson-package. It is +similar to the generic-package macro. The ability to have target and host +packages is also available, with the host-meson-package macro.

Just like the generic infrastructure, the Meson infrastructure works by defining +a number of variables before calling the meson-package macro.

First, all the package metadata information variables that exist in the generic +infrastructure also exist in the Meson infrastructure: FOO_VERSION, +FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_SUBDIR, FOO_DEPENDENCIES, +FOO_INSTALL_STAGING, FOO_INSTALL_TARGET.

A few additional variables, specific to the Meson infrastructure, can also be +defined. Many of them are only useful in very specific cases, typical packages +will therefore only use a few of them.

  • +FOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the main meson.build file. This is useful, + if for example, the main meson.build file is not at the root of + the tree extracted by the tarball. If HOST_FOO_SUBDIR is not + specified, it defaults to FOO_SUBDIR. +
  • +FOO_CONF_ENV, to specify additional environment variables to pass to + meson for the configuration step. By default, empty. +
  • +FOO_CONF_OPTS, to specify additional options to pass to meson for the + configuration step. By default, empty. +
  • +FOO_CFLAGS, to specify compiler arguments added to the package specific + cross-compile.conf file c_args property. By default, the value of + TARGET_CFLAGS. +
  • +FOO_CXXFLAGS, to specify compiler arguments added to the package specific + cross-compile.conf file cpp_args property. By default, the value of + TARGET_CXXFLAGS. +
  • +FOO_LDFLAGS, to specify compiler arguments added to the package specific + cross-compile.conf file c_link_args and cpp_link_args properties. By + default, the value of TARGET_LDFLAGS. +
  • +FOO_MESON_EXTRA_BINARIES, to specify a space-separated list of programs + to add to the [binaries] section of the meson cross-compilation.conf + configuration file. The format is program-name='/path/to/program', with + no space around the = sign, and with the path of the program between + single quotes. By default, empty. Note that Buildroot already sets the + correct values for c, cpp, ar, strip, and pkgconfig. +
  • +FOO_MESON_EXTRA_PROPERTIES, to specify a space-separated list of + properties to add to the [properties] section of the meson + cross-compilation.conf configuration file. The format is + property-name=<value> with no space around the = sign, and with + single quotes around string values. By default, empty. Note that + Buildroot already sets values for needs_exe_wrapper, c_args, + c_link_args, cpp_args, cpp_link_args, sys_root, and + pkg_config_libdir. +
  • +FOO_NINJA_ENV, to specify additional environment variables to pass to + ninja, meson companion tool in charge of the build operations. By default, + empty. +
  • +FOO_NINJA_OPTS, to specify a space-separated list of targets to build. By + default, empty, to build the default target(s). +

18.17. Infrastructure for Cargo-based packages

Cargo is the package manager for the Rust programming language. It allows the +user to build programs or libraries written in Rust, but it also downloads and +manages their dependencies, to ensure repeatable builds. Cargo packages are +called "crates".

18.17.1. cargo-package tutorial

The Config.in file of Cargo-based package foo should contain:

01: config BR2_PACKAGE_FOO
+02:     bool "foo"
+03:     depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
+04:     select BR2_PACKAGE_HOST_RUSTC
+05:     help
+06:       This is a comment that explains what foo is.
+07:
+08:       http://foosoftware.org/foo/

And the .mk file for this package should contain:

01: ################################################################################
+02: #
+03: # foo
+04: #
+05: ################################################################################
+06:
+07: FOO_VERSION = 1.0
+08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz
+09: FOO_SITE = http://www.foosoftware.org/download
+10: FOO_LICENSE = GPL-3.0+
+11: FOO_LICENSE_FILES = COPYING
+12:
+13: $(eval $(cargo-package))

The Makefile starts with the definition of the standard variables for +package declaration (lines 7 to 11).

As seen in line 13, it is based on the cargo-package +infrastructure. Cargo will be invoked automatically by this +infrastructure to build and install the package.

It is still possible to define custom build commands or install +commands (i.e. with FOO_BUILD_CMDS and FOO_INSTALL_TARGET_CMDS). +Those will then replace the commands from the cargo infrastructure.

18.17.2. cargo-package reference

The main macros for the Cargo package infrastructure are +cargo-package for target packages and host-cargo-package for host +packages.

Just like the generic infrastructure, the Cargo infrastructure works +by defining a number of variables before calling the cargo-package +or host-cargo-package macros.

First, all the package metadata information variables that exist in +the generic infrastructure also exist in the Cargo infrastructure: +FOO_VERSION, FOO_SOURCE, FOO_PATCH, FOO_SITE, +FOO_DEPENDENCIES, FOO_LICENSE, FOO_LICENSE_FILES, etc.

A few additional variables, specific to the Cargo infrastructure, can +also be defined. Many of them are only useful in very specific cases, +typical packages will therefore only use a few of them.

  • +FOO_SUBDIR may contain the name of a subdirectory inside the package + that contains the Cargo.toml file. This is useful, if for example, it + is not at the root of the tree extracted by the tarball. If + HOST_FOO_SUBDIR is not specified, it defaults to FOO_SUBDIR. +
  • +FOO_CARGO_ENV can be used to pass additional variables in the + environment of cargo invocations. It used at both build and + installation time +
  • +FOO_CARGO_BUILD_OPTS can be used to pass additional options to + cargo at build time. +
  • +FOO_CARGO_INSTALL_OPTS can be used to pass additional options to + cargo at install time. +

A crate can depend on other libraries from crates.io or git +repositories, listed in its Cargo.toml file. Buildroot automatically +takes care of downloading such dependencies as part of the download +step of packages that use the cargo-package infrastructure. Such +dependencies are then kept together with the package source code in +the tarball cached in Buildroot’s DL_DIR, and therefore the hash of +the package’s tarball includes such dependencies.

This mechanism ensures that any change in the dependencies will be +detected, and allows the build to be performed completely offline.

18.18. Infrastructure for Go packages

This infrastructure applies to Go packages that use the standard +build system and use bundled dependencies.

18.18.1. golang-package tutorial

First, let’s see how to write a .mk file for a go package, +with an example :

01: ################################################################################
+02: #
+03: # foo
+04: #
+05: ################################################################################
+06:
+07: FOO_VERSION = 1.0
+08: FOO_SITE = $(call github,bar,foo,$(FOO_VERSION))
+09: FOO_LICENSE = BSD-3-Clause
+10: FOO_LICENSE_FILES = LICENSE
+11:
+12: $(eval $(golang-package))

On line 7, we declare the version of the package.

On line 8, we declare the upstream location of the package, here +fetched from Github, since a large number of Go packages are hosted on +Github.

On line 9 and 10, we give licensing details about the package.

Finally, on line 12, we invoke the golang-package macro that +generates all the Makefile rules that actually allow the package to be +built.

18.18.2. golang-package reference

In their Config.in file, packages using the golang-package +infrastructure should depend on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS +because Buildroot will automatically add a dependency on host-go +to such packages. +If you need CGO support in your package, you must add a dependency on +BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS.

The main macro of the Go package infrastructure is +golang-package. It is similar to the generic-package macro. The +ability to build host packages is also available, with the +host-golang-package macro. +Host packages built by host-golang-package macro should depend on +BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS.

Just like the generic infrastructure, the Go infrastructure works +by defining a number of variables before calling the golang-package.

All the package metadata information variables that exist in the +generic package infrastructure also +exist in the Go infrastructure: FOO_VERSION, FOO_SOURCE, +FOO_PATCH, FOO_SITE, FOO_SUBDIR, FOO_DEPENDENCIES, +FOO_LICENSE, FOO_LICENSE_FILES, FOO_INSTALL_STAGING, etc.

Note that it is not necessary to add host-go in the +FOO_DEPENDENCIES variable of a package, since this basic dependency +is automatically added as needed by the Go package infrastructure.

A few additional variables, specific to the Go infrastructure, can +optionally be defined, depending on the package’s needs. Many of them +are only useful in very specific cases, typical packages will +therefore only use a few of them, or none.

  • +The package must specify its Go module name in the FOO_GOMOD + variable. If not specified, it defaults to + URL-domain/1st-part-of-URL/2nd-part-of-URL, e.g FOO_GOMOD will + take the value github.com/bar/foo for a package that specifies + FOO_SITE = $(call github,bar,foo,$(FOO_VERSION)). The Go package + infrastructure will automatically generate a minimal go.mod file + in the package source tree if it doesn’t exist. +
  • +FOO_LDFLAGS and FOO_TAGS can be used to pass respectively the + LDFLAGS or the TAGS to the go build command. +
  • +FOO_BUILD_TARGETS can be used to pass the list of targets that + should be built. If FOO_BUILD_TARGETS is not specified, it + defaults to .. We then have two cases: +

    • +FOO_BUILD_TARGETS is .. In this case, we assume only one binary + will be produced, and that by default we name it after the package + name. If that is not appropriate, the name of the produced binary + can be overridden using FOO_BIN_NAME. +
    • +FOO_BUILD_TARGETS is not .. In this case, we iterate over the + values to build each target, and for each produced a binary that is + the non-directory component of the target. For example if + FOO_BUILD_TARGETS = cmd/docker cmd/dockerd the binaries produced + are docker and dockerd. +
  • +FOO_INSTALL_BINS can be used to pass the list of binaries that + should be installed in /usr/bin on the target. If + FOO_INSTALL_BINS is not specified, it defaults to the lower-case + name of package. +

With the Go infrastructure, all the steps required to build and +install the packages are already defined, and they generally work well +for most Go-based packages. However, when required, it is still +possible to customize what is done in any particular step:

  • +By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the various build steps” for details. +
  • +By overriding one of the steps. For example, even if the Go + infrastructure is used, if the package .mk file defines its own + FOO_BUILD_CMDS variable, it will be used instead of the default Go + one. However, using this method should be restricted to very + specific cases. Do not use it in the general case. +

A Go package can depend on other Go modules, listed in its go.mod +file. Buildroot automatically takes care of downloading such +dependencies as part of the download step of packages that use the +golang-package infrastructure. Such dependencies are then kept +together with the package source code in the tarball cached in +Buildroot’s DL_DIR, and therefore the hash of the package’s tarball +includes such dependencies.

This mechanism ensures that any change in the dependencies will be +detected, and allows the build to be performed completely offline.

18.19. Infrastructure for QMake-based packages

18.19.1. qmake-package tutorial

First, let’s see how to write a .mk file for a QMake-based package, with +an example :

01: ################################################################################
+02: #
+03: # libfoo
+04: #
+05: ################################################################################
+06:
+07: LIBFOO_VERSION = 1.0
+08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz
+09: LIBFOO_SITE = http://www.foosoftware.org/download
+10: LIBFOO_CONF_OPTS = QT_CONFIG+=bar QT_CONFIG-=baz
+11: LIBFOO_DEPENDENCIES = bar
+12:
+13: $(eval $(qmake-package))

On line 7, we declare the version of the package.

On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location.

On line 10, we tell Buildroot what options to enable for libfoo.

On line 11, we tell Buildroot the dependencies of libfoo.

Finally, on line line 13, we invoke the qmake-package +macro that generates all the Makefile rules that actually allows the +package to be built.

18.19.2. qmake-package reference

The main macro of the QMake package infrastructure is qmake-package. +It is similar to the generic-package macro.

Just like the generic infrastructure, the QMake infrastructure works +by defining a number of variables before calling the qmake-package +macro.

First, all the package metadata information variables that exist in +the generic infrastructure also exist in the QMake infrastructure: +LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, +LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, +LIBFOO_INSTALL_TARGET.

An additional variable, specific to the QMake infrastructure, can +also be defined.

  • +LIBFOO_CONF_ENV, to specify additional environment variables to + pass to the qmake script for the configuration step. By default, empty. +
  • +LIBFOO_CONF_OPTS, to specify additional options to pass to the + qmake script for the configuration step. By default, empty. +
  • +LIBFOO_MAKE_ENV, to specify additional environment variables to the + make command during the build and install steps. By default, empty. +
  • +LIBFOO_MAKE_OPTS, to specify additional targets to pass to the + make command during the build step. By default, empty. +
  • +LIBFOO_INSTALL_STAGING_OPTS, to specify additional targets to pass + to the make command during the staging installation step. By default, + install. +
  • +LIBFOO_INSTALL_TARGET_OPTS, to specify additional targets to pass + to the make command during the target installation step. By default, + install. +
  • +LIBFOO_SYNC_QT_HEADERS, to run syncqt.pl before qmake. Some packages + need this to have a properly populated include directory before + running the build. +

18.20. Infrastructure for packages building kernel modules

Buildroot offers a helper infrastructure to make it easy to write packages that +build and install Linux kernel modules. Some packages only contain a kernel +module, other packages contain programs and libraries in addition to kernel +modules. Buildroot’s helper infrastructure supports either case.

18.20.1. kernel-module tutorial

Let’s start with an example on how to prepare a simple package that only +builds a kernel module, and no other component:

01: ################################################################################
+02: #
+03: # foo
+04: #
+05: ################################################################################
+06:
+07: FOO_VERSION = 1.2.3
+08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz
+09: FOO_SITE = http://www.foosoftware.org/download
+10: FOO_LICENSE = GPL-2.0
+11: FOO_LICENSE_FILES = COPYING
+12:
+13: $(eval $(kernel-module))
+14: $(eval $(generic-package))

Lines 7-11 define the usual meta-data to specify the version, archive name, +remote URI where to find the package source, licensing information.

On line 13, we invoke the kernel-module helper infrastructure, that +generates all the appropriate Makefile rules and variables to build +that kernel module.

Finally, on line 14, we invoke the +generic-package infrastructure.

The dependency on linux is automatically added, so it is not needed to +specify it in FOO_DEPENDENCIES.

What you may have noticed is that, unlike other package infrastructures, +we explicitly invoke a second infrastructure. This allows a package to +build a kernel module, but also, if needed, use any one of other package +infrastructures to build normal userland components (libraries, +executables…). Using the kernel-module infrastructure on its own is +not sufficient; another package infrastructure must be used.

Let’s look at a more complex example:

01: ################################################################################
+02: #
+03: # foo
+04: #
+05: ################################################################################
+06:
+07: FOO_VERSION = 1.2.3
+08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz
+09: FOO_SITE = http://www.foosoftware.org/download
+10: FOO_LICENSE = GPL-2.0
+11: FOO_LICENSE_FILES = COPYING
+12:
+13: FOO_MODULE_SUBDIRS = driver/base
+14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED)
+15:
+16: ifeq ($(BR2_PACKAGE_LIBBAR),y)
+17: FOO_DEPENDENCIES += libbar
+18: FOO_CONF_OPTS += --enable-bar
+19: FOO_MODULE_SUBDIRS += driver/bar
+20: else
+21: FOO_CONF_OPTS += --disable-bar
+22: endif
+23:
+24: $(eval $(kernel-module))
+26: $(eval $(autotools-package))

Here, we see that we have an autotools-based package, that also builds +the kernel module located in sub-directory driver/base and, if libbar +is enabled, the kernel module located in sub-directory driver/bar, and +defines the variable KVERSION to be passed to the Linux buildsystem +when building the module(s).

18.20.2. kernel-module reference

The main macro for the kernel module infrastructure is kernel-module. +Unlike other package infrastructures, it is not stand-alone, and requires +any of the other *-package macros be called after it.

The kernel-module macro defines post-build and post-target-install +hooks to build the kernel modules. If the package’s .mk needs access +to the built kernel modules, it should do so in a post-build hook, +registered after the call to kernel-module. Similarly, if the +package’s .mk needs access to the kernel module after it has been +installed, it should do so in a post-install hook, registered after +the call to kernel-module. Here’s an example:

$(eval $(kernel-module))
+
+define FOO_DO_STUFF_WITH_KERNEL_MODULE
+    # Do something with it...
+endef
+FOO_POST_BUILD_HOOKS += FOO_DO_STUFF_WITH_KERNEL_MODULE
+
+$(eval $(generic-package))

Finally, unlike the other package infrastructures, there is no +host-kernel-module variant to build a host kernel module.

The following additional variables can optionally be defined to further +configure the build of the kernel module:

  • +FOO_MODULE_SUBDIRS may be set to one or more sub-directories (relative + to the package source top-directory) where the kernel module sources are. + If empty or not set, the sources for the kernel module(s) are considered + to be located at the top of the package source tree. +
  • +FOO_MODULE_MAKE_OPTS may be set to contain extra variable definitions + to pass to the Linux buildsystem. +

You may also reference (but you may not set!) those variables:

  • +LINUX_DIR contains the path to where the Linux kernel has been + extracted and built. +
  • +LINUX_VERSION contains the version string as configured by the user. +
  • +LINUX_VERSION_PROBED contains the real version string of the kernel, + retrieved with running make -C $(LINUX_DIR) kernelrelease +
  • +KERNEL_ARCH contains the name of the current architecture, like arm, + mips… +

18.21. Infrastructure for asciidoc documents

The Buildroot manual, which you are currently reading, is entirely written +using the AsciiDoc mark-up syntax. The manual is then +rendered to many formats:

  • +html +
  • +split-html +
  • +pdf +
  • +epub +
  • +text +

Although Buildroot only contains one document written in AsciiDoc, there +is, as for packages, an infrastructure for rendering documents using the +AsciiDoc syntax.

Also as for packages, the AsciiDoc infrastructure is available from a +br2-external tree. This allows documentation for +a br2-external tree to match the Buildroot documentation, as it will be +rendered to the same formats and use the same layout and theme.

18.21.1. asciidoc-document tutorial

Whereas package infrastructures are suffixed with -package, the document +infrastructures are suffixed with -document. So, the AsciiDoc infrastructure +is named asciidoc-document.

Here is an example to render a simple AsciiDoc document.

01: ################################################################################
+02: #
+03: # foo-document
+04: #
+05: ################################################################################
+06:
+07: FOO_SOURCES = $(sort $(wildcard $(FOO_DOCDIR)/*))
+08: $(eval $(call asciidoc-document))

On line 7, the Makefile declares what the sources of the document are. +Currently, it is expected that the document’s sources are only local; +Buildroot will not attempt to download anything to render a document. +Thus, you must indicate where the sources are. Usually, the string +above is sufficient for a document with no sub-directory structure.

On line 8, we call the asciidoc-document function, which generates all +the Makefile code necessary to render the document.

18.21.2. asciidoc-document reference

The list of variables that can be set in a .mk file to give metadata +information is (assuming the document name is foo) :

  • +FOO_SOURCES, mandatory, defines the source files for the document. +
  • +FOO_RESOURCES, optional, may contain a space-separated list of paths + to one or more directories containing so-called resources (like CSS or + images). By default, empty. +
  • +FOO_DEPENDENCIES, optional, the list of packages (most probably, + host-packages) that must be built before building this document. +

There are also additional hooks (see Section 18.23, “Hooks available in the various build steps” for general information +on hooks), that a document may set to define extra actions to be done at +various steps:

  • +FOO_POST_RSYNC_HOOKS to run additional commands after the sources + have been copied by Buildroot. This can for example be used to + generate part of the manual with information extracted from the + tree. As an example, Buildroot uses this hook to generate the tables + in the appendices. +
  • +FOO_CHECK_DEPENDENCIES_HOOKS to run additional tests on required + components to generate the document. In AsciiDoc, it is possible to + call filters, that is, programs that will parse an AsciiDoc block and + render it appropriately (e.g. ditaa or + aafigure). +
  • +FOO_CHECK_DEPENDENCIES_<FMT>_HOOKS, to run additional tests for + the specified format <FMT> (see the list of rendered formats, above). +

Buildroot sets the following variable that can be used in the definitions +above:

  • +$(FOO_DOCDIR), similar to $(FOO_PKGDIR), contains the path to the + directory containing foo.mk. It can be used to refer to the document + sources, and can be used in the hooks, especially the post-rsync hook + if parts of the documentation needs to be generated. +
  • +$(@D), as for traditional packages, contains the path to the directory + where the document will be copied and built. +

Here is a complete example that uses all variables and all hooks:

01: ################################################################################
+02: #
+03: # foo-document
+04: #
+05: ################################################################################
+06:
+07: FOO_SOURCES = $(sort $(wildcard $(FOO_DOCDIR)/*))
+08: FOO_RESOURCES = $(sort $(wildcard $(FOO_DOCDIR)/ressources))
+09:
+10: define FOO_GEN_EXTRA_DOC
+11:     /path/to/generate-script --outdir=$(@D)
+12: endef
+13: FOO_POST_RSYNC_HOOKS += FOO_GEN_EXTRA_DOC
+14:
+15: define FOO_CHECK_MY_PROG
+16:     if ! which my-prog >/dev/null 2>&1; then \
+17:         echo "You need my-prog to generate the foo document"; \
+18:         exit 1; \
+19:     fi
+20: endef
+21: FOO_CHECK_DEPENDENCIES_HOOKS += FOO_CHECK_MY_PROG
+22:
+23: define FOO_CHECK_MY_OTHER_PROG
+24:     if ! which my-other-prog >/dev/null 2>&1; then \
+25:         echo "You need my-other-prog to generate the foo document as PDF"; \
+26:         exit 1; \
+27:     fi
+28: endef
+29: FOO_CHECK_DEPENDENCIES_PDF_HOOKS += FOO_CHECK_MY_OTHER_PROG
+30:
+31: $(eval $(call asciidoc-document))

18.22. Infrastructure specific to the Linux kernel package

The Linux kernel package can use some specific infrastructures based on package +hooks for building Linux kernel tools or/and building Linux kernel extensions.

18.22.1. linux-kernel-tools

Buildroot offers a helper infrastructure to build some userspace tools +for the target available within the Linux kernel sources. Since their +source code is part of the kernel source code, a special package, +linux-tools, exists and re-uses the sources of the Linux kernel that +runs on the target.

Let’s look at an example of a Linux tool. For a new Linux tool named +foo, create a new menu entry in the existing +package/linux-tools/Config.in. This file will contain the option +descriptions related to each kernel tool that will be used and +displayed in the configuration tool. It would basically look like:

01: config BR2_PACKAGE_LINUX_TOOLS_FOO
+02:     bool "foo"
+03:     select BR2_PACKAGE_LINUX_TOOLS
+04:     help
+05:       This is a comment that explains what foo kernel tool is.
+06:
+07:       http://foosoftware.org/foo/

The name of the option starts with the prefix BR2_PACKAGE_LINUX_TOOLS_, +followed by the uppercase name of the tool (like is done for packages).

Note. Unlike other packages, the linux-tools package options appear in the +linux kernel menu, under the Linux Kernel Tools sub-menu, not under +the Target packages main menu.

Then for each linux tool, add a new .mk.in file named +package/linux-tools/linux-tool-foo.mk.in. It would basically look like:

01: ################################################################################
+02: #
+03: # foo
+04: #
+05: ################################################################################
+06:
+07: LINUX_TOOLS += foo
+08:
+09: FOO_DEPENDENCIES = libbbb
+10:
+11: define FOO_BUILD_CMDS
+12:     $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools foo
+13: endef
+14:
+15: define FOO_INSTALL_STAGING_CMDS
+16:     $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools \
+17:             DESTDIR=$(STAGING_DIR) \
+18:             foo_install
+19: endef
+20:
+21: define FOO_INSTALL_TARGET_CMDS
+22:     $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools \
+23:             DESTDIR=$(TARGET_DIR) \
+24:             foo_install
+25: endef

On line 7, we register the Linux tool foo to the list of available +Linux tools.

On line 9, we specify the list of dependencies this tool relies on. These +dependencies are added to the Linux package dependencies list only when the +foo tool is selected.

The rest of the Makefile, lines 11-25 defines what should be done at the +different steps of the Linux tool build process like for a +generic package. They will actually be +used only when the foo tool is selected. The only supported commands are +_BUILD_CMDS, _INSTALL_STAGING_CMDS and _INSTALL_TARGET_CMDS.

Note. One must not call $(eval $(generic-package)) or any other +package infrastructure! Linux tools are not packages by themselves, +they are part of the linux-tools package.

18.22.2. linux-kernel-extensions

Some packages provide new features that require the Linux kernel tree +to be modified. This can be in the form of patches to be applied on +the kernel tree, or in the form of new files to be added to the +tree. The Buildroot’s Linux kernel extensions infrastructure provides +a simple solution to automatically do this, just after the kernel +sources are extracted and before the kernel patches are +applied. Examples of extensions packaged using this mechanism are the +real-time extensions Xenomai and RTAI, as well as the set of +out-of-tree LCD screens drivers fbtft.

Let’s look at an example on how to add a new Linux extension foo.

First, create the package foo that provides the extension: this +package is a standard package; see the previous chapters on how to +create such a package. This package is in charge of downloading the +sources archive, checking the hash, defining the licence informations +and building user space tools if any.

Then create the Linux extension proper: create a new menu entry in +the existing linux/Config.ext.in. This file contains the option +descriptions related to each kernel extension that will be used and +displayed in the configuration tool. It would basically look like:

01: config BR2_LINUX_KERNEL_EXT_FOO
+02:     bool "foo"
+03:     help
+04:       This is a comment that explains what foo kernel extension is.
+05:
+06:       http://foosoftware.org/foo/

Then for each linux extension, add a new .mk file named +linux/linux-ext-foo.mk. It should basically contain:

01: ################################################################################
+02: #
+03: # foo
+04: #
+05: ################################################################################
+06:
+07: LINUX_EXTENSIONS += foo
+08:
+09: define FOO_PREPARE_KERNEL
+10:     $(FOO_DIR)/prepare-kernel-tree.sh --linux-dir=$(@D)
+11: endef

On line 7, we add the Linux extension foo to the list of available +Linux extensions.

On line 9-11, we define what should be done by the extension to modify +the Linux kernel tree; this is specific to the linux extension and can +use the variables defined by the foo package, like: $(FOO_DIR) or +$(FOO_VERSION)… as well as all the Linux variables, like: +$(LINUX_VERSION) or $(LINUX_VERSION_PROBED), $(KERNEL_ARCH)… +See the definition of those kernel variables.

18.23. Hooks available in the various build steps

The generic infrastructure (and as a result also the derived autotools +and cmake infrastructures) allow packages to specify hooks. +These define further actions to perform after existing steps. +Most hooks aren’t really useful for generic packages, since the .mk +file already has full control over the actions performed in each step +of the package construction.

The following hook points are available:

  • +LIBFOO_PRE_DOWNLOAD_HOOKS +
  • +LIBFOO_POST_DOWNLOAD_HOOKS +
  • +LIBFOO_PRE_EXTRACT_HOOKS +
  • +LIBFOO_POST_EXTRACT_HOOKS +
  • +LIBFOO_PRE_RSYNC_HOOKS +
  • +LIBFOO_POST_RSYNC_HOOKS +
  • +LIBFOO_PRE_PATCH_HOOKS +
  • +LIBFOO_POST_PATCH_HOOKS +
  • +LIBFOO_PRE_CONFIGURE_HOOKS +
  • +LIBFOO_POST_CONFIGURE_HOOKS +
  • +LIBFOO_PRE_BUILD_HOOKS +
  • +LIBFOO_POST_BUILD_HOOKS +
  • +LIBFOO_PRE_INSTALL_HOOKS (for host packages only) +
  • +LIBFOO_POST_INSTALL_HOOKS (for host packages only) +
  • +LIBFOO_PRE_INSTALL_STAGING_HOOKS (for target packages only) +
  • +LIBFOO_POST_INSTALL_STAGING_HOOKS (for target packages only) +
  • +LIBFOO_PRE_INSTALL_TARGET_HOOKS (for target packages only) +
  • +LIBFOO_POST_INSTALL_TARGET_HOOKS (for target packages only) +
  • +LIBFOO_PRE_INSTALL_IMAGES_HOOKS +
  • +LIBFOO_POST_INSTALL_IMAGES_HOOKS +
  • +LIBFOO_PRE_LEGAL_INFO_HOOKS +
  • +LIBFOO_POST_LEGAL_INFO_HOOKS +

These variables are lists of variable names containing actions to be +performed at this hook point. This allows several hooks to be +registered at a given hook point. Here is an example:

define LIBFOO_POST_PATCH_FIXUP
+        action1
+        action2
+endef
+
+LIBFOO_POST_PATCH_HOOKS += LIBFOO_POST_PATCH_FIXUP

18.23.1. Using the POST_RSYNC hook

The POST_RSYNC hook is run only for packages that use a local source, +either through the local site method or the OVERRIDE_SRCDIR +mechanism. In this case, package sources are copied using rsync from +the local location into the buildroot build directory. The rsync +command does not copy all files from the source directory, though. +Files belonging to a version control system, like the directories +.git, .hg, etc. are not copied. For most packages this is +sufficient, but a given package can perform additional actions using +the POST_RSYNC hook.

In principle, the hook can contain any command you want. One specific +use case, though, is the intentional copying of the version control +directory using rsync. The rsync command you use in the hook can, among +others, use the following variables:

  • +$(SRCDIR): the path to the overridden source directory +
  • +$(@D): the path to the build directory +

18.23.2. Target-finalize hook

Packages may also register hooks in LIBFOO_TARGET_FINALIZE_HOOKS. +These hooks are run after all packages are built, but before the +filesystem images are generated. They are seldom used, and your +package probably do not need them.

18.24. Gettext integration and interaction with packages

Many packages that support internationalization use the gettext +library. Dependencies for this library are fairly complicated and +therefore, deserve some explanation.

The glibc C library integrates a full-blown implementation of +gettext, supporting translation. Native Language Support is +therefore built-in in glibc.

On the other hand, the uClibc and musl C libraries only provide a +stub implementation of the gettext functionality, which allows to +compile libraries and programs using gettext functions, but without +providing the translation capabilities of a full-blown gettext +implementation. With such C libraries, if real Native Language Support +is necessary, it can be provided by the libintl library of the +gettext package.

Due to this, and in order to make sure that Native Language Support is +properly handled, packages in Buildroot that can use NLS support +should:

  1. +Ensure NLS support is enabled when BR2_SYSTEM_ENABLE_NLS=y. This + is done automatically for autotools packages and therefore should + only be done for packages using other package infrastructures. +
  2. +Add $(TARGET_NLS_DEPENDENCIES) to the package + <pkg>_DEPENDENCIES variable. This addition should be done + unconditionally: the value of this variable is automatically + adjusted by the core infrastructure to contain the relevant list of + packages. If NLS support is disabled, this variable is empty. If + NLS support is enabled, this variable contains host-gettext so + that tools needed to compile translation files are available on the + host. In addition, if uClibc or musl are used, this variable + also contains gettext in order to get the full-blown gettext + implementation. +
  3. +If needed, add $(TARGET_NLS_LIBS) to the linker flags, so that + the package gets linked with libintl. This is generally not + needed with autotools packages as they usually detect + automatically that they should link with libintl. However, + packages using other build systems, or problematic autotools-based + packages may need this. $(TARGET_NLS_LIBS) should be added + unconditionally to the linker flags, as the core automatically + makes it empty or defined to -lintl depending on the + configuration. +

No changes should be made to the Config.in file to support NLS.

Finally, certain packages need some gettext utilities on the target, +such as the gettext program itself, which allows to retrieve +translated strings, from the command line. In such a case, the package +should:

  • +use select BR2_PACKAGE_GETTEXT in their Config.in file, + indicating in a comment above that it’s a runtime dependency only. +
  • +not add any gettext dependency in the DEPENDENCIES variable of + their .mk file. +

18.25. Tips and tricks

18.25.1. Package name, config entry name and makefile variable relationship

In Buildroot, there is some relationship between:

  • +the package name, which is the package directory name (and the + name of the *.mk file); +
  • +the config entry name that is declared in the Config.in file; +
  • +the makefile variable prefix. +

It is mandatory to maintain consistency between these elements, +using the following rules:

  • +the package directory and the *.mk name are the package name + itself (e.g.: package/foo-bar_boo/foo-bar_boo.mk); +
  • +the make target name is the package name itself (e.g.: + foo-bar_boo); +
  • +the config entry is the upper case package name with . and - + characters substituted with _, prefixed with BR2_PACKAGE_ (e.g.: + BR2_PACKAGE_FOO_BAR_BOO); +
  • +the *.mk file variable prefix is the upper case package name + with . and - characters substituted with _ (e.g.: + FOO_BAR_BOO_VERSION). +

18.25.2. How to check the coding style

Buildroot provides a script in utils/check-package that checks new or +changed files for coding style. It is not a complete language validator, +but it catches many common mistakes. It is meant to run in the actual +files you created or modified, before creating the patch for submission.

This script can be used for packages, filesystem makefiles, Config.in +files, etc. It does not check the files defining the package +infrastructures and some other files containing similar common code.

To use it, run the check-package script, by telling which files you +created or changed:

$ ./utils/check-package package/new-package/*

If you have the utils directory in your path you can also run:

$ cd package/new-package/
+$ check-package *

The tool can also be used for packages in a br2-external:

$ check-package -b /path/to/br2-ext-tree/package/my-package/*

18.25.3. How to test your package

Once you have added your new package, it is important that you test it +under various conditions: does it build for all architectures? Does it +build with the different C libraries? Does it need threads, NPTL? And +so on…

Buildroot runs autobuilders which +continuously test random configurations. However, these only build the +master branch of the git tree, and your new fancy package is not yet +there.

Buildroot provides a script in utils/test-pkg that uses the same base +configurations as used by the autobuilders so you can test your package +in the same conditions.

First, create a config snippet that contains all the necessary options +needed to enable your package, but without any architecture or toolchain +option. For example, let’s create a config snippet that just enables +libcurl, without any TLS backend:

$ cat libcurl.config
+BR2_PACKAGE_LIBCURL=y

If your package needs more configuration options, you can add them to the +config snippet. For example, here’s how you would test libcurl with +openssl as a TLS backend and the curl program:

$ cat libcurl.config
+BR2_PACKAGE_LIBCURL=y
+BR2_PACKAGE_LIBCURL_CURL=y
+BR2_PACKAGE_OPENSSL=y

Then run the test-pkg script, by telling it what config snippet to use +and what package to test:

$ ./utils/test-pkg -c libcurl.config -p libcurl

By default, test-pkg will build your package against a subset of the +toolchains used by the autobuilders, which has been selected by the +Buildroot developers as being the most useful and representative +subset. If you want to test all toolchains, pass the -a option. Note +that in any case, internal toolchains are excluded as they take too +long to build.

The output lists all toolchains that are tested and the corresponding +result (excerpt, results are fake):

$ ./utils/test-pkg -c libcurl.config -p libcurl
+                armv5-ctng-linux-gnueabi [ 1/11]: OK
+              armv7-ctng-linux-gnueabihf [ 2/11]: OK
+                        br-aarch64-glibc [ 3/11]: SKIPPED
+                           br-arcle-hs38 [ 4/11]: SKIPPED
+                            br-arm-basic [ 5/11]: FAILED
+                  br-arm-cortex-a9-glibc [ 6/11]: OK
+                   br-arm-cortex-a9-musl [ 7/11]: FAILED
+                   br-arm-cortex-m4-full [ 8/11]: OK
+                             br-arm-full [ 9/11]: OK
+                    br-arm-full-nothread [10/11]: FAILED
+                      br-arm-full-static [11/11]: OK
+11 builds, 2 skipped, 2 build failed, 1 legal-info failed

The results mean:

  • +OK: the build was successful. +
  • +SKIPPED: one or more configuration options listed in the config + snippet were not present in the final configuration. This is due to + options having dependencies not satisfied by the toolchain, such as + for example a package that depends on BR2_USE_MMU with a noMMU + toolchain. The missing options are reported in missing.config in + the output build directory (~/br-test-pkg/TOOLCHAIN_NAME/ by + default). +
  • +FAILED: the build failed. Inspect the logfile file in the output + build directory to see what went wrong: +

    • +the actual build failed, +
    • +the legal-info failed, +
    • +one of the preliminary steps (downloading the config file, applying + the configuration, running dirclean for the package) failed. +

When there are failures, you can just re-run the script with the same +options (after you fixed your package); the script will attempt to +re-build the package specified with -p for all toolchains, without +the need to re-build all the dependencies of that package.

The test-pkg script accepts a few options, for which you can get some +help by running:

$ ./utils/test-pkg -h

18.25.4. How to add a package from GitHub

Packages on GitHub often don’t have a download area with release tarballs. +However, it is possible to download tarballs directly from the repository +on GitHub. As GitHub is known to have changed download mechanisms in the +past, the github helper function should be used as shown below.

# Use a tag or a full commit ID
+FOO_VERSION = 1.0
+FOO_SITE = $(call github,<user>,<package>,v$(FOO_VERSION))

Notes

  • +The FOO_VERSION can either be a tag or a commit ID. +
  • +The tarball name generated by github matches the default one from + Buildroot (e.g.: foo-f6fb6654af62045239caed5950bc6c7971965e60.tar.gz), + so it is not necessary to specify it in the .mk file. +
  • +When using a commit ID as version, you should use the full 40 hex characters. +
  • +When the tag contains a prefix such as v in v1.0, then the + VERSION variable should contain just 1.0, and the v should be + added directly in the SITE variable, as illustrated above. This + ensures that the VERSION variable value can be used to match + against release-monitoring.org + results. +

If the package you wish to add does have a release section on GitHub, the +maintainer may have uploaded a release tarball, or the release may just point +to the automatically generated tarball from the git tag. If there is a +release tarball uploaded by the maintainer, we prefer to use that since it +may be slightly different (e.g. it contains a configure script so we don’t +need to do AUTORECONF).

You can see on the release page if it’s an uploaded tarball or a git tag:

github_hash_mongrel2.png
  • +If it looks like the image above then it was uploaded by the + maintainer and you should use that link (in that example: + mongrel2-v1.9.2.tar.bz2) to specify FOO_SITE, and not use the + github helper. +
  • +On the other hand, if there’s is only the "Source code" link, then + it’s an automatically generated tarball and you should use the + github helper function. +

18.25.5. How to add a package from Gitlab

In a similar way to the github macro described in +Section 18.25.4, “How to add a package from GitHub”, Buildroot also provides the gitlab macro +to download from Gitlab repositories. It can be used to download +auto-generated tarballs produced by Gitlab, either for specific tags +or commits:

# Use a tag or a full commit ID
+FOO_VERSION = 1.0
+FOO_SITE = $(call gitlab,<user>,<package>,v$(FOO_VERSION))

By default, it will use a .tar.gz tarball, but Gitlab also provides +.tar.bz2 tarballs, so by adding a <pkg>_SOURCE variable, this +.tar.bz2 tarball can be used:

# Use a tag or a full commit ID
+FOO_VERSION = 1.0
+FOO_SITE = $(call gitlab,<user>,<package>,v$(FOO_VERSION))
+FOO_SOURCE = foo-$(FOO_VERSION).tar.bz2

If there is a specific tarball uploaded by the upstream developers in +https://gitlab.com/<project>/releases/, do not use this macro, but +rather use directly the link to the tarball.

18.26. Conclusion

As you can see, adding a software package to Buildroot is simply a +matter of writing a Makefile using an existing example and modifying it +according to the compilation process required by the package.

If you package software that might be useful for other people, don’t +forget to send a patch to the Buildroot mailing list (see +Section 22.5, “Submitting patches”)!

Chapter 19. Patching a package

While integrating a new package or updating an existing one, it may be +necessary to patch the source of the software to get it cross-built within +Buildroot.

Buildroot offers an infrastructure to automatically handle this during +the builds. It supports three ways of applying patch sets: downloaded patches, +patches supplied within buildroot and patches located in a user-defined +global patch directory.

19.1. Providing patches

19.1.1. Downloaded

If it is necessary to apply a patch that is available for download, then add it +to the <packagename>_PATCH variable. If an entry contains ://, +then Buildroot will assume it is a full URL and download the patch +from this location. Otherwise, Buildroot will assume that the patch should be +downloaded from <packagename>_SITE. It can be a single patch, +or a tarball containing a patch series.

Like for all downloads, a hash should be added to the <packagename>.hash +file.

This method is typically used for packages from Debian.

19.1.2. Within Buildroot

Most patches are provided within Buildroot, in the package +directory; these typically aim to fix cross-compilation, libc support, +or other such issues.

These patch files should be named <number>-<description>.patch.

Notes

  • +The patch files coming with Buildroot should not contain any package version + reference in their filename. +
  • +The field <number> in the patch file name refers to the apply order, + and shall start at 1; It is preferred to pad the number with zeros up to 4 + digits, like git-format-patch does. E.g.: 0001-foobar-the-buz.patch +
  • +Previously, it was mandatory for patches to be prefixed with the name of + the package, like <package>-<number>-<description>.patch, but that is + no longer the case. Existing packages will be fixed as time passes. Do + not prefix patches with the package name. +
  • +Previously, a series file, as used by quilt, could also be added in + the package directory. In that case, the series file defines the patch + application order. This is deprecated, and will be removed in the future. + Do not use a series file. +

19.1.3. Global patch directory

The BR2_GLOBAL_PATCH_DIR configuration file option can be +used to specify a space separated list of one or more directories +containing global package patches. See Section 9.8, “Adding project-specific patches” for +details.

19.2. How patches are applied

  1. +Run the <packagename>_PRE_PATCH_HOOKS commands if defined; +
  2. +Cleanup the build directory, removing any existing *.rej files; +
  3. +If <packagename>_PATCH is defined, then patches from these + tarballs are applied; +
  4. +If there are some *.patch files in the package’s Buildroot + directory or in a package subdirectory named <packageversion>, + then: +

    • +If a series file exists in the package directory, then patches are + applied according to the series file; +
    • +Otherwise, patch files matching *.patch are applied in alphabetical + order. + So, to ensure they are applied in the right order, it is highly + recommended to name the patch files like this: + <number>-<description>.patch, where <number> refers to the + apply order. +
  5. +If BR2_GLOBAL_PATCH_DIR is defined, the directories will be + enumerated in the order they are specified. The patches are applied + as described in the previous step. +
  6. +Run the <packagename>_POST_PATCH_HOOKS commands if defined. +

If something goes wrong in the steps 3 or 4, then the build fails.

19.3. Format and licensing of the package patches

Patches are released under the same license as the software they apply +to (see Section 13.2, “Complying with the Buildroot license”).

A message explaining what the patch does, and why it is needed, should +be added in the header commentary of the patch.

You should add a Signed-off-by statement in the header of the each +patch to help with keeping track of the changes and to certify that the +patch is released under the same license as the software that is modified.

If the software is under version control, it is recommended to use the +upstream SCM software to generate the patch set.

Otherwise, concatenate the header with the output of the +diff -purN package-version.orig/ package-version/ command.

If you update an existing patch (e.g. when bumping the package version), +make sure the existing From header and Signed-off-by tags are not +removed, but do update the rest of the patch comment when appropriate.

At the end, the patch should look like:

configure.ac: add C++ support test
+
+Signed-off-by: John Doe <john.doe@noname.org>
+
+--- configure.ac.orig
++++ configure.ac
+@@ -40,2 +40,12 @@
+
+AC_PROG_MAKE_SET
++
++AC_CACHE_CHECK([whether the C++ compiler works],
++               [rw_cv_prog_cxx_works],
++               [AC_LANG_PUSH([C++])
++                AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])],
++                               [rw_cv_prog_cxx_works=yes],
++                               [rw_cv_prog_cxx_works=no])
++                AC_LANG_POP([C++])])
++
++AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"])

19.4. Integrating patches found on the Web

When integrating a patch of which you are not the author, you have to +add a few things in the header of the patch itself.

Depending on whether the patch has been obtained from the project +repository itself, or from somewhere on the web, add one of the +following tags:

Backported from: <some commit id>

or

Fetch from: <some url>

It is also sensible to add a few words about any changes to the patch +that may have been necessary.

Chapter 20. Download infrastructure

TODO

Chapter 21. Debugging Buildroot

It is possible to instrument the steps Buildroot does when building +packages. Define the variable BR2_INSTRUMENTATION_SCRIPTS to contain +the path of one or more scripts (or other executables), in a +space-separated list, you want called before and after each step. The +scripts are called in sequence, with three parameters:

  • +start or end to denote the start (resp. the end) of a step; +
  • +the name of the step about to be started, or which just ended; +
  • +the name of the package. +

For example :

make BR2_INSTRUMENTATION_SCRIPTS="/path/to/my/script1 /path/to/my/script2"

The list of steps is:

  • +extract +
  • +patch +
  • +configure +
  • +build +
  • +install-host, when a host-package is installed in $(HOST_DIR) +
  • +install-target, when a target-package is installed in $(TARGET_DIR) +
  • +install-staging, when a target-package is installed in $(STAGING_DIR) +
  • +install-image, when a target-package installs files in $(BINARIES_DIR) +

The script has access to the following variables:

  • +BR2_CONFIG: the path to the Buildroot .config file +
  • +HOST_DIR, STAGING_DIR, TARGET_DIR: see + Section 18.6.2, “generic-package reference” +
  • +BUILD_DIR: the directory where packages are extracted and built +
  • +BINARIES_DIR: the place where all binary files (aka images) are + stored +
  • +BASE_DIR: the base output directory +

Chapter 22. Contributing to Buildroot

There are many ways in which you can contribute to Buildroot: analyzing +and fixing bugs, analyzing and fixing package build failures detected by +the autobuilders, testing and reviewing patches sent by other +developers, working on the items in our TODO list and sending your own +improvements to Buildroot or its manual. The following sections give a +little more detail on each of these items.

If you are interested in contributing to Buildroot, the first thing you +should do is to subscribe to the Buildroot mailing list. This list is +the main way of interacting with other Buildroot developers and to send +contributions to. If you aren’t subscribed yet, then refer to +Chapter 5, Community resources for the subscription link.

If you are going to touch the code, it is highly recommended to use a +git repository of Buildroot, rather than starting from an extracted +source code tarball. Git is the easiest way to develop from and directly +send your patches to the mailing list. Refer to Chapter 3, Getting Buildroot +for more information on obtaining a Buildroot git tree.

22.1. Reproducing, analyzing and fixing bugs

A first way of contributing is to have a look at the open bug reports in +the Buildroot bug +tracker. As we strive to keep the bug count as small as possible, all +help in reproducing, analyzing and fixing reported bugs is more than +welcome. Don’t hesitate to add a comment to bug reports reporting your +findings, even if you don’t yet see the full picture.

22.2. Analyzing and fixing autobuild failures

The Buildroot autobuilders are a set of build machines that continuously +run Buildroot builds based on random configurations. This is done for +all architectures supported by Buildroot, with various toolchains, and +with a random selection of packages. With the large commit activity on +Buildroot, these autobuilders are a great help in detecting problems +very early after commit.

All build results are available at http://autobuild.buildroot.org, +statistics are at http://autobuild.buildroot.org/stats.php. Every day, +an overview of all failed packages is sent to the mailing list.

Detecting problems is great, but obviously these problems have to be +fixed as well. Your contribution is very welcome here! There are +basically two things that can be done:

  • +Analyzing the problems. The daily summary mails do not contain details + about the actual failures: in order to see what’s going on you have to + open the build log and check the last output. Having someone doing + this for all packages in the mail is very useful for other developers, + as they can make a quick initial analysis based on this output alone. +
  • +Fixing a problem. When fixing autobuild failures, you should follow + these steps: +

    1. +Check if you can reproduce the problem by building with the same + configuration. You can do this manually, or use the + br-reproduce-build + script that will automatically clone a Buildroot git repository, + checkout the correct revision, download and set the right + configuration, and start the build. +
    2. +Analyze the problem and create a fix. +
    3. +Verify that the problem is really fixed by starting from a clean + Buildroot tree and only applying your fix. +
    4. +Send the fix to the Buildroot mailing list (see + Section 22.5, “Submitting patches”). In case you created a patch against the + package sources, you should also send the patch upstream so that the + problem will be fixed in a later release, and the patch in Buildroot + can be removed. + In the commit message of a patch fixing an autobuild failure, add a + reference to the build result directory, as follows: +
Fixes: http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069

22.3. Reviewing and testing patches

With the amount of patches sent to the mailing list each day, the +maintainer has a very hard job to judge which patches are ready to apply +and which ones aren’t. Contributors can greatly help here by reviewing +and testing these patches.

In the review process, do not hesitate to respond to patch submissions +for remarks, suggestions or anything that will help everyone to +understand the patches and make them better. Please use internet +style replies in plain text emails when responding to patch +submissions.

To indicate approval of a patch, there are three formal tags that keep +track of this approval. To add your tag to a patch, reply to it with the +approval tag below the original author’s Signed-off-by line. These tags +will be picked up automatically by patchwork (see +Section 22.3.1, “Applying Patches from Patchwork”) and will be part of the commit log when +the patch is accepted.

+Tested-by +
+Indicates that the patch has been tested successfully. + You are encouraged to specify what kind of testing you performed + (compile-test on architecture X and Y, runtime test on target A, + …). This additional information helps other testers and the + maintainer. +
+Reviewed-by +
+Indicates that you code-reviewed the patch and did your + best in spotting problems, but you are not sufficiently familiar with + the area touched to provide an Acked-by tag. This means that there + may be remaining problems in the patch that would be spotted by + someone with more experience in that area. Should such problems be + detected, your Reviewed-by tag remains appropriate and you cannot + be blamed. +
+Acked-by +
+Indicates that you code-reviewed the patch and you are + familiar enough with the area touched to feel that the patch can be + committed as-is (no additional changes required). In case it later + turns out that something is wrong with the patch, your Acked-by could + be considered inappropriate. The difference between Acked-by and + Reviewed-by is thus mainly that you are prepared to take the blame on + Acked patches, but not on Reviewed ones. +

If you reviewed a patch and have comments on it, you should simply reply +to the patch stating these comments, without providing a Reviewed-by or +Acked-by tag. These tags should only be provided if you judge the patch +to be good as it is.

It is important to note that neither Reviewed-by nor Acked-by imply +that testing has been performed. To indicate that you both reviewed and +tested the patch, provide two separate tags (Reviewed/Acked-by and +Tested-by).

Note also that any developer can provide Tested/Reviewed/Acked-by +tags, without exception, and we encourage everyone to do this. Buildroot +does not have a defined group of core developers, it just so happens +that some developers are more active than others. The maintainer will +value tags according to the track record of their submitter. Tags +provided by a regular contributor will naturally be trusted more than +tags provided by a newcomer. As you provide tags more regularly, your +trustworthiness (in the eyes of the maintainer) will go up, but any +tag provided is valuable.

Buildroot’s Patchwork website can be used to pull in patches for testing +purposes. Please see Section 22.3.1, “Applying Patches from Patchwork” for more +information on using Buildroot’s Patchwork website to apply patches.

22.3.1. Applying Patches from Patchwork

The main use of Buildroot’s Patchwork website for a developer is for +pulling in patches into their local git repository for testing +purposes.

When browsing patches in the patchwork management interface, an mbox +link is provided at the top of the page. Copy this link address and +run the following commands:

$ git checkout -b <test-branch-name>
+$ wget -O - <mbox-url> | git am

Another option for applying patches is to create a bundle. A bundle is +a set of patches that you can group together using the patchwork +interface. Once the bundle is created and the bundle is made public, +you can copy the mbox link for the bundle and apply the bundle +using the above commands.

22.4. Work on items from the TODO list

If you want to contribute to Buildroot but don’t know where to start, +and you don’t like any of the above topics, you can always work on items +from the Buildroot TODO list. +Don’t hesitate to discuss an item first on the mailing list or on IRC. +Do edit the wiki to indicate when you start working on an item, so we +avoid duplicate efforts.

22.5. Submitting patches

Note

Please, do not attach patches to bugs, send them to the mailing list +instead.

If you made some changes to Buildroot and you would like to contribute +them to the Buildroot project, proceed as follows.

22.5.1. The formatting of a patch

We expect patches to be formatted in a specific way. This is necessary +to make it easy to review patches, to be able to apply them easily to +the git repository, to make it easy to find back in the history how +and why things have changed, and to make it possible to use git +bisect to locate the origin of a problem.

First of all, it is essential that the patch has a good commit +message. The commit message should start with a separate line with a +brief summary of the change, prefixed by the area touched by the +patch. A few examples of good commit titles:

  • +package/linuxptp: bump version to 2.0 +
  • +configs/imx23evk: bump Linux version to 4.19 +
  • +package/pkg-generic: postpone evaluation of dependency conditions +
  • +boot/uboot: needs host-{flex,bison} +
  • +support/testing: add python-ubjson tests +

The description that follows the prefix should start with a lower case +letter (i.e "bump", "needs", "postpone", "add" in the above examples).

Second, the body of the commit message should describe why this +change is needed, and if necessary also give details about how it +was done. When writing the commit message, think of how the reviewers +will read it, but also think about how you will read it when you look +at this change again a few years down the line.

Third, the patch itself should do only one change, but do it +completely. Two unrelated or weakly related changes should usually be +done in two separate patches. This usually means that a patch affects +only a single package. If several changes are related, it is often +still possible to split them up in small patches and apply them in a +specific order. Small patches make it easier to review, and often +make it easier to understand afterwards why a change was done. +However, each patch must be complete. It is not allowed that the +build is broken when only the first but not the second patch is +applied. This is necessary to be able to use git bisect afterwards.

Of course, while you’re doing your development, you’re probably going +back and forth between packages, and certainly not committing things +immediately in a way that is clean enough for submission. So most +developers rewrite the history of commits to produce a clean set of +commits that is appropriate for submission. To do this, you need to +use interactive rebasing. You can learn about it +in the Pro +Git book. Sometimes, it is even easier to discard you history with +git reset --soft origin/master and select individual changes with +git add -i or git add -p.

Finally, the patch should be signed off. This is done by adding +Signed-off-by: Your Real Name <your@email.address> at the end of the +commit message. git commit -s does that for you, if configured +properly. The Signed-off-by tag means that you publish the patch +under the Buildroot license (i.e. GPL-2.0+, except for package patches, +which have the upstream license), and that you are allowed to do so. +See the Developer Certificate of +Origin for details.

When adding new packages, you should submit every package in a +separate patch. This patch should have the update to +package/Config.in, the package Config.in file, the .mk file, the +.hash file, any init script, and all package patches. If the package +has many sub-options, these are sometimes better added as separate +follow-up patches. The summary line should be something like +<packagename>: new package. The body of the commit message can be +empty for simple packages, or it can contain the description of the +package (like the Config.in help text). If anything special has to be +done to build the package, this should also be explained explicitly in +the commit message body.

When you bump a package to a new version, you should also submit a +separate patch for each package. Don’t forget to update the .hash +file, or add it if it doesn’t exist yet. Also don’t forget to check if +the _LICENSE and _LICENSE_FILES are still valid. The summary line +should be something like <packagename>: bump to version <new +version>. If the new version only contains security updates compared +to the existing one, the summary should be <packagename>: security +bump to version <new version> and the commit message body should show +the CVE numbers that are fixed. If some package patches can be removed +in the new version, it should be explained explicitly why they can be +removed, preferably with the upstream commit ID. Also any other +required changes should be explained explicitly, like configure +options that no longer exist or are no longer needed.

If you are interested in getting notified of build failures and of +further changes in the packages you added or modified, please add +yourself to the DEVELOPERS file. This should be done in the same patch +creating or modifying the package. See the DEVELOPERS file +for more information.

Buildroot provides a handy tool to check for common coding style +mistakes on files you created or modified, called check-package (see +Section 18.25.2, “How to check the coding style” for more information).

22.5.2. Preparing a patch series

Starting from the changes committed in your local git view, rebase +your development branch on top of the upstream tree before generating +a patch set. To do so, run:

$ git fetch --all --tags
+$ git rebase origin/master

Now, you are ready to generate then submit your patch set.

To generate it, run:

$ git format-patch -M -n -s -o outgoing origin/master

This will generate patch files in the outgoing subdirectory, +automatically adding the Signed-off-by line.

Once patch files are generated, you can review/edit the commit message +before submitting them, using your favorite text editor.

Buildroot provides a handy tool to know to whom your patches should be +sent, called get-developers (see Chapter 23, DEVELOPERS file and get-developers for more +information). This tool reads your patches and outputs the appropriate +git send-email command to use:

$ ./utils/get-developers outgoing/*

Use the output of get-developers to send your patches:

$ git send-email --to buildroot@buildroot.org --cc bob --cc alice outgoing/*

Alternatively, get-developers -e can be used directly with the +--cc-cmd argument to git send-email to automatically CC the +affected developers:

$ git send-email --to buildroot@buildroot.org \
+      --cc-cmd './utils/get-developers -e' origin/master

git can be configured to automatically do this out of the box with:

$ git config sendemail.to buildroot@buildroot.org
+$ git config sendemail.ccCmd "$(pwd)/utils/get-developers -e"

And then just do:

$ git send-email origin/master

Note that git should be configured to use your mail account. +To configure git, see man git-send-email or google it.

If you do not use git send-email, make sure posted patches are not +line-wrapped, otherwise they cannot easily be applied. In such a case, +fix your e-mail client, or better yet, learn to use git send-email.

22.5.3. Cover letter

If you want to present the whole patch set in a separate mail, add +--cover-letter to the git format-patch command (see man +git-format-patch for further information). This will generate a +template for an introduction e-mail to your patch series.

A cover letter may be useful to introduce the changes you propose +in the following cases:

  • +large number of commits in the series; +
  • +deep impact of the changes in the rest of the project; +
  • +RFC [4]; +
  • +whenever you feel it will help presenting your work, your choices, + the review process, etc. +

22.5.4. Patches for maintenance branches

When fixing bugs on a maintenance branch, bugs should be fixed on the +master branch first. The commit log for such a patch may then contain a +post-commit note specifying what branches are affected:

package/foo: fix stuff
+
+Signed-off-by: Your Real Name <your@email.address>
+---
+Backport to: 2020.02.x, 2020.05.x
+(2020.08.x not affected as the version was bumped)

Those changes will then be backported by a maintainer to the affected +branches.

However, some bugs may apply only to a specific release, for example +because it is using an older version of a package. In that case, patches +should be based off the maintenance branch, and the patch subject prefix +must include the maintenance branch name (for example "[PATCH 2020.02.x]"). +This can be done with the git format-patch flag --subject-prefix:

$ git format-patch --subject-prefix "PATCH 2020.02.x" \
+    -M -s -o outgoing origin/2020.02.x

Then send the patches with git send-email, as described above.

22.5.5. Patch revision changelog

When improvements are requested, the new revision of each commit +should include a changelog of the modifications between each +submission. Note that when your patch series is introduced by a cover +letter, an overall changelog may be added to the cover letter in +addition to the changelog in the individual commits. +The best thing to rework a patch series is by interactive rebasing: +git rebase -i origin/master. Consult the git manual for more +information.

When added to the individual commits, this changelog is added when +editing the commit message. Below the Signed-off-by section, add +--- and your changelog.

Although the changelog will be visible for the reviewers in the mail +thread, as well as in patchwork, git +will automatically ignores lines below --- when the patch will be +merged. This is the intended behavior: the changelog is not meant to +be preserved forever in the git history of the project.

Hereafter the recommended layout:

Patch title: short explanation, max 72 chars
+
+A paragraph that explains the problem, and how it manifests itself. If
+the problem is complex, it is OK to add more paragraphs. All paragraphs
+should be wrapped at 72 characters.
+
+A paragraph that explains the root cause of the problem. Again, more
+than one paragraph is OK.
+
+Finally, one or more paragraphs that explain how the problem is solved.
+Don't hesitate to explain complex solutions in detail.
+
+Signed-off-by: John DOE <john.doe@example.net>
+
+---
+Changes v2 -> v3:
+  - foo bar  (suggested by Jane)
+  - bar buz
+
+Changes v1 -> v2:
+  - alpha bravo  (suggested by John)
+  - charly delta

Any patch revision should include the version number. The version number +is simply composed of the letter v followed by an integer greater or +equal to two (i.e. "PATCH v2", "PATCH v3" …).

This can be easily handled with git format-patch by using the option +--subject-prefix:

$ git format-patch --subject-prefix "PATCH v4" \
+    -M -s -o outgoing origin/master

Since git version 1.8.1, you can also use -v <n> (where <n> is the +version number):

$ git format-patch -v4 -M -s -o outgoing origin/master

When you provide a new version of a patch, please mark the old one as +superseded in patchwork. You need to +create an account on patchwork to be +able to modify the status of your patches. Note that you can only change +the status of patches you submitted yourself, which means the email +address you register in patchwork should +match the one you use for sending patches to the mailing list.

You can also add the --in-reply-to <message-id> option when +submitting a patch to the mailing list. The id of the mail to reply to +can be found under the "Message Id" tag on +patchwork. The advantage of +in-reply-to is that patchwork will automatically mark the previous +version of the patch as superseded.

22.6. Reporting issues/bugs or getting help

Before reporting any issue, please check in +the mailing list archive whether someone has +already reported and/or fixed a similar problem.

However you choose to report bugs or get help, either by +opening a bug in the bug tracker or by +sending a mail to the mailing list, there are +a number of details to provide in order to help people reproduce and +find a solution to the issue.

Try to think as if you were trying to help someone else; in +that case, what would you need?

Here is a short list of details to provide in such case:

  • +host machine (OS/release) +
  • +version of Buildroot +
  • +target for which the build fails +
  • +package(s) for which the build fails +
  • +the command that fails and its output +
  • +any information you think that may be relevant +

Additionally, you should add the .config file (or if you know how, a +defconfig; see Section 9.3, “Storing the Buildroot configuration”).

If some of these details are too large, do not hesitate to use a +pastebin service. Note that not all available pastebin services will +preserve Unix-style line terminators when downloading raw pastes. +Following pastebin services are known to work correctly: +- https://gist.github.com/ +- http://code.bulix.org/

22.7. Using the runtime tests framework

Buildroot includes a run-time testing framework built upon Python +scripting and QEMU runtime execution. The goals of the framework are +the following:

  • +build a well defined Buildroot configuration +
  • +optionally, verify some properties of the build output +
  • +optionally, boot the build results under Qemu, and verify that a + given feature is working as expected +

The entry point to use the runtime tests framework is the +support/testing/run-tests tool, which has a series of options +documented in the tool’s help -h description. Some common options +include setting the download folder, the output folder, keeping build +output, and for multiple test cases, you can set the JLEVEL for each.

Here is an example walk through of running a test case.

  • +For a first step, let us see what all the test case options are. The test +cases can be listed by executing support/testing/run-tests -l. These tests +can all be run individually during test development from the console. Both +one at a time and selectively as a group of a subset of tests. +
$ support/testing/run-tests -l
+List of tests
+test_run (tests.utils.test_check_package.TestCheckPackage)
+test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootMusl) ... ok
+test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc) ... ok
+test_run (tests.toolchain.test_external.TestExternalToolchainCCache) ... ok
+test_run (tests.toolchain.test_external.TestExternalToolchainCtngMusl) ... ok
+test_run (tests.toolchain.test_external.TestExternalToolchainLinaroArm) ... ok
+test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv4) ... ok
+test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv5) ... ok
+test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv7) ... ok
+[snip]
+test_run (tests.init.test_systemd.TestInitSystemSystemdRoFull) ... ok
+test_run (tests.init.test_systemd.TestInitSystemSystemdRoIfupdown) ... ok
+test_run (tests.init.test_systemd.TestInitSystemSystemdRoNetworkd) ... ok
+test_run (tests.init.test_systemd.TestInitSystemSystemdRwFull) ... ok
+test_run (tests.init.test_systemd.TestInitSystemSystemdRwIfupdown) ... ok
+test_run (tests.init.test_systemd.TestInitSystemSystemdRwNetworkd) ... ok
+test_run (tests.init.test_busybox.TestInitSystemBusyboxRo) ... ok
+test_run (tests.init.test_busybox.TestInitSystemBusyboxRoNet) ... ok
+test_run (tests.init.test_busybox.TestInitSystemBusyboxRw) ... ok
+test_run (tests.init.test_busybox.TestInitSystemBusyboxRwNet) ... ok
+
+Ran 157 tests in 0.021s
+
+OK
  • +Then, to run one test case: +
$ support/testing/run-tests -d dl -o output_folder -k tests.init.test_busybox.TestInitSystemBusyboxRw
+15:03:26 TestInitSystemBusyboxRw                  Starting
+15:03:28 TestInitSystemBusyboxRw                  Building
+15:08:18 TestInitSystemBusyboxRw                  Building done
+15:08:27 TestInitSystemBusyboxRw                  Cleaning up
+.
+Ran 1 test in 301.140s
+
+OK

The standard output indicates if the test is successful or not. By +default, the output folder for the test is deleted automatically +unless the option -k is passed to keep the output directory.

22.7.1. Creating a test case

Within the Buildroot repository, the testing framework is organized at the +top level in support/testing/ by folders of conf, infra and tests. +All the test cases live under the tests folder and are organized in various +folders representing the category of test.

The best way to get familiar with how to create a test case is to look +at a few of the basic file system support/testing/tests/fs/ and init +support/testing/tests/init/ test scripts. Those tests give good +examples of a basic tests that include both checking the build +results, and doing runtime tests. There are other more advanced cases +that use things like nested br2-external folders to provide +skeletons and additional packages.

Creating a basic test case involves:

  • +Defining a test class that inherits from infra.basetest.BRTest +
  • +Defining the config member of the test class, to the Buildroot + configuration to build for this test case. It can optionally rely on + configuration snippets provided by the runtime test infrastructure: + infra.basetest.BASIC_TOOLCHAIN_CONFIG to get a basic + architecture/toolchain configuration, and + infra.basetest.MINIMAL_CONFIG to not build any filesystem. The + advantage of using infra.basetest.BASIC_TOOLCHAIN_CONFIG is that a + matching Linux kernel image is provided, which allows to boot the + resulting image in Qemu without having to build a Linux kernel image + as part of the test case, therefore significant decreasing the build + time required for the test case. +
  • +Implementing a def test_run(self): function to implement the + actual tests to run after the build has completed. They may be tests + that verify the build output, by running command on the host using + the run_cmd_on_host() helper function. Or they may boot the + generated system in Qemu using the Emulator object available as + self.emulator in the test case. For example self.emulator.boot() + allows to boot the system in Qemu, self.emulator.login() allows to + login, self.emulator.run() allows to run shell commands inside + Qemu. +

After creating the test script, add yourself to the DEVELOPERS file to +be the maintainer of that test case.

22.7.2. Debugging a test case

When a test case runs, the output_folder will contain the following:

$ ls output_folder/
+TestInitSystemBusyboxRw/
+TestInitSystemBusyboxRw-build.log
+TestInitSystemBusyboxRw-run.log

TestInitSystemBusyboxRw/ is the Buildroot output directory, and it +is preserved only if the -k option is passed.

TestInitSystemBusyboxRw-build.log is the log of the Buildroot build.

TestInitSystemBusyboxRw-run.log is the log of the Qemu boot and +test. This file will only exist if the build was successful and the +test case involves booting under Qemu.

If you want to manually run Qemu to do manual tests of the build +result, the first few lines of TestInitSystemBusyboxRw-run.log +contain the Qemu command line to use.

You can also make modifications to the current sources inside the +output_folder (e.g. for debug purposes) and rerun the standard +Buildroot make targets (in order to regenerate the complete image with +the new modifications) and then rerun the test.

22.7.3. Runtime tests and Gitlab CI

All runtime tests are regularly executed by Buildroot Gitlab CI +infrastructure, see .gitlab.yml and +https://gitlab.com/buildroot.org/buildroot/-/jobs.

You can also use Gitlab CI to test your new test cases, or verify that +existing tests continue to work after making changes in Buildroot.

In order to achieve this, you need to create a fork of the Buildroot +project on Gitlab, and be able to push branches to your Buildroot fork +on Gitlab.

The name of the branch that you push will determine if a Gitlab CI +pipeline will be triggered or not, and for which test cases.

In the examples below, the <name> component of the branch name is an +arbitrary string you choose.

  • +To trigger all run-test test case jobs, push a branch that ends with + -runtime-tests: +
 $ git push gitlab HEAD:<name>-runtime-tests
  • +To trigger one or several test case jobs, push a branch that ends + with the complete test case name + (tests.init.test_busybox.TestInitSystemBusyboxRo) or with the name + of a category of tests (tests.init.test_busybox): +
 $ git push gitlab HEAD:<name>-<test case name>

Example to run one test:

 $ git push gitlab HEAD:foo-tests.init.test_busybox.TestInitSystemBusyboxRo

Examples to run several tests part of the same group:

 $ git push gitlab HEAD:foo-tests.init.test_busybox
+ $ git push gitlab HEAD:foo-tests.init


[4] RFC: (Request for comments) change proposal

Chapter 23. DEVELOPERS file and get-developers

The main Buildroot directory contains a file named DEVELOPERS that +lists the developers involved with various areas of Buildroot. Thanks +to this file, the get-developers tool allows to:

  • +Calculate the list of developers to whom patches should be sent, by + parsing the patches and matching the modified files with the + relevant developers. See Section 22.5, “Submitting patches” for details. +
  • +Find which developers are taking care of a given architecture or + package, so that they can be notified when a build failure occurs on + this architecture or package. This is done in interaction with + Buildroot’s autobuild infrastructure. +

We ask developers adding new packages, new boards, or generally new +functionality in Buildroot, to register themselves in the DEVELOPERS +file. As an example, we expect a developer contributing a new package +to include in his patch the appropriate modification to the +DEVELOPERS file.

The DEVELOPERS file format is documented in detail inside the file +itself.

The get-developers tool, located in utils/ allows to use +the DEVELOPERS file for various tasks:

  • +When passing one or several patches as command line argument, + get-developers will return the appropriate git send-email + command. If the -e option is passed, only the email addresses are + printed in a format suitable for git send-email --cc-cmd. +
  • +When using the -a <arch> command line option, get-developers will + return the list of developers in charge of the given architecture. +
  • +When using the -p <package> command line option, get-developers + will return the list of developers in charge of the given package. +
  • +When using the -c command line option, get-developers will look + at all files under version control in the Buildroot repository, and + list the ones that are not handled by any developer. The purpose of + this option is to help completing the DEVELOPERS file. +
  • +When using without any arguments, it validates the integrity of the + DEVELOPERS file and will note WARNINGS for items that don’t match. +

Chapter 24. Release Engineering

24.1. Releases

The Buildroot project makes quarterly releases with monthly bugfix +releases. The first release of each year is a long term support +release, LTS.

  • +Quarterly releases: 2020.02, 2020.05, 2020.08, and 2020.11 +
  • +Bugfix releases: 2020.02.1, 2020.02.2, … +
  • +LTS releases: 2020.02, 2021.02, … +

Releases are supported until the first bugfix release of the next +release, e.g., 2020.05.x is EOL when 2020.08.1 is released.

LTS releases are supported until the first bugfix release of the next +LTS, e.g., 2020.02.x is supported until 2021.02.1 is released.

24.2. Development

Each release cycle consist of two months of development on the master +branch and one month stabilization before the release is made. During +this phase no new features are added to master, only bugfixes.

The stabilization phase starts with tagging -rc1, and every week until +the release, another release candidate is tagged.

To handle new features and version bumps during the stabilization phase, +a next branch may be created for these features. Once the current +release has been made, the next branch is merged into master and +the development cycle for the next release continues there.

Part IV. Appendix

Chapter 25. Makedev syntax documentation

The makedev syntax is used in several places in Buildroot to +define changes to be made for permissions, or which device files to +create and how to create them, in order to avoid calls to mknod.

This syntax is derived from the makedev utility, and more complete +documentation can be found in the package/makedevs/README file.

It takes the form of a space separated list of fields, one file per +line; the fields are:

name

type

mode

uid

gid

major

minor

start

inc

count

There are a few non-trivial blocks:

  • +name is the path to the file you want to create/modify +
  • +type is the type of the file, being one of: +

    • +f: a regular file +
    • +d: a directory +
    • +r: a directory recursively +
    • +c: a character device file +
    • +b: a block device file +
    • +p: a named pipe +
  • +mode are the usual permissions settings (only numerical values + are allowed) +
  • +uid and gid are the UID and GID to set on this file; can be + either numerical values or actual names +
  • +major and minor are here for device files, set to - for other + files +
  • +start, inc and count are for when you want to create a batch + of files, and can be reduced to a loop, beginning at start, + incrementing its counter by inc until it reaches count +

Let’s say you want to change the permissions of a given file; using +this syntax, you will need to write:

/usr/bin/foo f 755 0 0 - - - - -
+/usr/bin/bar f 755 root root - - - - -
+/data/buz f 644 buz-user buz-group - - - - -

Alternatively, if you want to change owner/permission of a directory +recursively, you can write (to set UID to foo, GID to bar and access +rights to rwxr-x--- for the directory /usr/share/myapp and all files +and directories below it):

/usr/share/myapp r 750 foo bar - - - - -

On the other hand, if you want to create the device file /dev/hda +and the corresponding 15 files for the partitions, you will need for +/dev/hda:

/dev/hda b 640 root root 3 0 0 0 -

and then for device files corresponding to the partitions of +/dev/hda, /dev/hdaX, X ranging from 1 to 15:

/dev/hda b 640 root root 3 1 1 1 15

Extended attributes are supported if +BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES is enabled. +This is done by adding a line starting with |xattr after +the line describing the file. Right now, only capability +is supported as extended attribute.

|xattr

capability

  • +|xattr is a "flag" that indicate an extended attribute +
  • +capability is a capability to add to the previous file +

If you want to add the capability cap_sys_admin to the binary foo, +you will write :

/usr/bin/foo f 755 root root - - - - -
+|xattr cap_sys_admin+eip

You can add several capabilities to a file by using several |xattr lines. +If you want to add the capability cap_sys_admin and cap_net_admin to the +binary foo, you will write :

/usr/bin/foo f 755 root root - - - - -
+|xattr cap_sys_admin+eip
+|xattr cap_net_admin+eip

Chapter 26. Makeusers syntax documentation

The syntax to create users is inspired by the makedev syntax, above, but +is specific to Buildroot.

The syntax for adding a user is a space-separated list of fields, one +user per line; the fields are:

username

uid

group

gid

password

home

shell

groups

comment

Where:

  • +username is the desired user name (aka login name) for the user. + It can not be root, and must be unique. If set to -, then just a + group will be created. +
  • +uid is the desired UID for the user. It must be unique, and not + 0. If set to -1 or -2, then a unique UID will be computed by + Buildroot, with -1 denoting a system UID from [100…999] and -2 + denoting a user UID from [1000…1999]. +
  • +group is the desired name for the user’s main group. It can not + be root. If the group does not exist, it will be created. +
  • +gid is the desired GID for the user’s main group. It must be unique, + and not 0. If set to -1 or -2, and the group does not already + exist, then a unique GID will be computed by Buildroot, with -1 + denoting a system GID from [100…999] and -2 denoting a user GID + from [1000…1999]. +
  • +password is the crypt(3)-encoded password. If prefixed with !, + then login is disabled. If prefixed with =, then it is interpreted + as clear-text, and will be crypt-encoded (using MD5). If prefixed with + !=, then the password will be crypt-encoded (using MD5) and login + will be disabled. If set to *, then login is not allowed. If set to + -, then no password value will be set. +
  • +home is the desired home directory for the user. If set to -, no + home directory will be created, and the user’s home will be /. + Explicitly setting home to / is not allowed. +
  • +shell is the desired shell for the user. If set to -, then + /bin/false is set as the user’s shell. +
  • +groups is the comma-separated list of additional groups the user + should be part of. If set to -, then the user will be a member of + no additional group. Missing groups will be created with an arbitrary + gid. +
  • +comment (aka GECOS + field) is an almost-free-form text. +

There are a few restrictions on the content of each field:

  • +except for comment, all fields are mandatory. +
  • +except for comment, fields may not contain spaces. +
  • +no field may contain a colon (:). +

If home is not -, then the home directory, and all files below, +will belong to the user and its main group.

Examples:

foo -1 bar -1 !=blabla /home/foo /bin/sh alpha,bravo Foo user

This will create this user:

  • +username (aka login name) is: foo +
  • +uid is computed by Buildroot +
  • +main group is: bar +
  • +main group gid is computed by Buildroot +
  • +clear-text password is: blabla, will be crypt(3)-encoded, and login is disabled. +
  • +home is: /home/foo +
  • +shell is: /bin/sh +
  • +foo is also a member of groups: alpha and bravo +
  • +comment is: Foo user +
test 8000 wheel -1 = - /bin/sh - Test user

This will create this user:

  • +username (aka login name) is: test +
  • +uid is : 8000 +
  • +main group is: wheel +
  • +main group gid is computed by Buildroot, and will use the value defined in the rootfs skeleton +
  • +password is empty (aka no password). +
  • +home is / but will not belong to test +
  • +shell is: /bin/sh +
  • +test is not a member of any additional groups +
  • +comment is: Test user + +

Chapter 27. Migrating from older Buildroot versions

Some versions have introduced backward incompatibilities. This section +explains those incompatibilities, and for each explains what to do to +complete the migration.

27.1. General approach

To migrate from an older Buildroot version, take the following steps.

  1. +For all your configurations, do a build in the old Buildroot + environment. Run make graph-size. Save + graphs/file-size-stats.csv in a different location. Run make + clean to remove the rest. +
  2. +Review the specific migration notes below and make the required + adaptations to external packages and custom build scripts. +
  3. +Update Buildroot. +
  4. +Run make menuconfig starting from the existing .config. +
  5. +If anything is enabled in the Legacy menu, check its help text, + unselect it, and save the configuration. +
  6. +For more details, review the git commit messages for the packages that + you need. Change into the packages directory and run + git log <old version>.. — <your packages>. +
  7. +Build in the new Buildroot environment. +
  8. +Fix build issues in external packages (usually due to updated + dependencies). +
  9. +Run make graph-size. +
  10. +Compare the new file-size-stats.csv with the original one, to + check if no required files have disappeared and if no new big unneeded + files have appeared. +
  11. +For configuration (and other) files in a custom overlay that overwrite + files created by Buildroot, check if there are changes in the + Buildroot-generated file that need to be propagated to your custom + file. +

27.2. Migrating to 2016.11

Before Buildroot 2016.11, it was possible to use only one br2-external +tree at once. With Buildroot 2016.11 came the possibility to use more +than one simultaneously (for details, see Section 9.2, “Keeping customizations outside of Buildroot”).

This however means that older br2-external trees are not usable as-is. +A minor change has to be made: adding a name to your br2-external tree.

This can be done very easily in just a few steps:

  • +First, create a new file named external.desc, at the root of your + br2-external tree, with a single line defining the name of your + br2-external tree: +

    $ echo 'name: NAME_OF_YOUR_TREE' >external.desc

    Note. Be careful when choosing a name: It has to be unique and be made +with only ASCII characters from the set [A-Za-z0-9_].

  • +Then, change every occurence of BR2_EXTERNAL in your br2-external + tree with the new variable: +

    $ find . -type f | xargs sed -i 's/BR2_EXTERNAL/BR2_EXTERNAL_NAME_OF_YOUR_TREE_PATH/g'

Now, your br2-external tree can be used with Buildroot 2016.11 onward.

Note: This change makes your br2-external tree incompatible with Buildroot +before 2016.11.

27.3. Migrating to 2017.08

Before Buildroot 2017.08, host packages were installed in $(HOST_DIR)/usr +(with e.g. the autotools' --prefix=$(HOST_DIR)/usr). With Buildroot +2017.08, they are now installed directly in $(HOST_DIR).

Whenever a package installs an executable that is linked with a library +in $(HOST_DIR)/lib, it must have an RPATH pointing to that directory.

An RPATH pointing to $(HOST_DIR)/usr/lib is no longer accepted.

\ No newline at end of file diff --git a/buildroot-2021.05/docs/manual/manual.mk b/buildroot-2022.02.1/docs/manual/manual.mk similarity index 100% rename from buildroot-2021.05/docs/manual/manual.mk rename to buildroot-2022.02.1/docs/manual/manual.mk diff --git a/buildroot-2022.02.1/docs/manual/manual.pdf b/buildroot-2022.02.1/docs/manual/manual.pdf new file mode 100644 index 00000000..07532229 Binary files /dev/null and b/buildroot-2022.02.1/docs/manual/manual.pdf differ diff --git a/buildroot-2022.02.1/docs/manual/manual.text b/buildroot-2022.02.1/docs/manual/manual.text new file mode 100644 index 00000000..0674c8d0 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/manual.text @@ -0,0 +1,8633 @@ + +--------------------------------------------------------------------- + +The Buildroot user manual + +--------------------------------------------------------------------- +--------------------------------------------------------------------- + +Table of Contents + + +I. Getting started + + 1. About Buildroot + 2. System requirements + + 2.1. Mandatory packages + 2.2. Optional packages + + 3. Getting Buildroot + 4. Buildroot quick start + 5. Community resources + +II. User guide + + 6. Buildroot configuration + + 6.1. Cross-compilation toolchain + 6.2. /dev management + 6.3. init system + + 7. Configuration of other components + 8. General Buildroot usage + + 8.1. make tips + 8.2. Understanding when a full rebuild is necessary + 8.3. Understanding how to rebuild packages + 8.4. Offline builds + 8.5. Building out-of-tree + 8.6. Environment variables + 8.7. Dealing efficiently with filesystem images + 8.8. Details about packages + 8.9. Graphing the dependencies between packages + 8.10. Graphing the build duration + 8.11. Graphing the filesystem size contribution of packages + 8.12. Top-level parallel build + 8.13. Integration with Eclipse + 8.14. Advanced usage + + 9. Project-specific customization + + 9.1. Recommended directory structure + 9.2. Keeping customizations outside of Buildroot + 9.3. Storing the Buildroot configuration + 9.4. Storing the configuration of other components + 9.5. Customizing the generated target filesystem + 9.6. Adding custom user accounts + 9.7. Customization after the images have been created + 9.8. Adding project-specific patches + 9.9. Adding project-specific packages + 9.10. Quick guide to storing your project-specific + customizations + + 10. Using SELinux in Buildroot + + 10.1. Enabling SELinux support + 10.2. SELinux policy tweaking + + 11. Frequently Asked Questions & Troubleshooting + + 11.1. The boot hangs after Starting network… + 11.2. Why is there no compiler on the target? + 11.3. Why are there no development files on the target? + 11.4. Why is there no documentation on the target? + 11.5. Why are some packages not visible in the Buildroot + config menu? + 11.6. Why not use the target directory as a chroot directory? + 11.7. Why doesn’t Buildroot generate binary packages (.deb, + .ipkg…)? + 11.8. How to speed-up the build process? + + 12. Known issues + 13. Legal notice and licensing + + 13.1. Complying with open source licenses + 13.2. Complying with the Buildroot license + + 14. Beyond Buildroot + + 14.1. Boot the generated images + 14.2. Chroot + +III. Developer guide + + 15. How Buildroot works + 16. Coding style + + 16.1. Config.in file + 16.2. The .mk file + 16.3. The genimage.cfg file + 16.4. The documentation + 16.5. Support scripts + + 17. Adding support for a particular board + 18. Adding new packages to Buildroot + + 18.1. Package directory + 18.2. Config files + 18.3. The .mk file + 18.4. The .hash file + 18.5. The SNNfoo start script + 18.6. Infrastructure for packages with specific build systems + 18.7. Infrastructure for autotools-based packages + 18.8. Infrastructure for CMake-based packages + 18.9. Infrastructure for Python packages + 18.10. Infrastructure for LuaRocks-based packages + 18.11. Infrastructure for Perl/CPAN packages + 18.12. Infrastructure for virtual packages + 18.13. Infrastructure for packages using kconfig for + configuration files + 18.14. Infrastructure for rebar-based packages + 18.15. Infrastructure for Waf-based packages + 18.16. Infrastructure for Meson-based packages + 18.17. Infrastructure for Cargo-based packages + 18.18. Infrastructure for Go packages + 18.19. Infrastructure for QMake-based packages + 18.20. Infrastructure for packages building kernel modules + 18.21. Infrastructure for asciidoc documents + 18.22. Infrastructure specific to the Linux kernel package + 18.23. Hooks available in the various build steps + 18.24. Gettext integration and interaction with packages + 18.25. Tips and tricks + 18.26. Conclusion + + 19. Patching a package + + 19.1. Providing patches + 19.2. How patches are applied + 19.3. Format and licensing of the package patches + 19.4. Integrating patches found on the Web + + 20. Download infrastructure + 21. Debugging Buildroot + 22. Contributing to Buildroot + + 22.1. Reproducing, analyzing and fixing bugs + 22.2. Analyzing and fixing autobuild failures + 22.3. Reviewing and testing patches + 22.4. Work on items from the TODO list + 22.5. Submitting patches + 22.6. Reporting issues/bugs or getting help + 22.7. Using the runtime tests framework + + 23. DEVELOPERS file and get-developers + 24. Release Engineering + + 24.1. Releases + 24.2. Development + +IV. Appendix + + 25. Makedev syntax documentation + 26. Makeusers syntax documentation + 27. Migrating from older Buildroot versions + + 27.1. General approach + 27.2. Migrating to 2016.11 + 27.3. Migrating to 2017.08 + +List of Examples + +18.1. Config script: divine package +18.2. Config script: imagemagick package: + + +--------------------------------------------------------------------- + +--------------------------------------------------------------------- + +Buildroot 2022.02.1 manual generated on 2022-04-11 21:50:50 UTC from +git revision 9da87c5293 + +The Buildroot manual is written by the Buildroot developers. It is +licensed under the GNU General Public License, version 2. Refer to +the COPYING [http://git.buildroot.org/buildroot/tree/COPYING?id= +9da87c52934842026918b9eb8511b35cd935c552] file in the Buildroot +sources for the full text of this license. + +Copyright © 2004-2020 The Buildroot developers + +Part I. Getting started + +Table of Contents + +1. About Buildroot +2. System requirements + + 2.1. Mandatory packages + 2.2. Optional packages + +3. Getting Buildroot +4. Buildroot quick start +5. Community resources + +Chapter 1. About Buildroot + +Buildroot is a tool that simplifies and automates the process of +building a complete Linux system for an embedded system, using +cross-compilation. + +In order to achieve this, Buildroot is able to generate a +cross-compilation toolchain, a root filesystem, a Linux kernel image +and a bootloader for your target. Buildroot can be used for any +combination of these options, independently (you can for example use +an existing cross-compilation toolchain, and build only your root +filesystem with Buildroot). + +Buildroot is useful mainly for people working with embedded systems. +Embedded systems often use processors that are not the regular x86 +processors everyone is used to having in his PC. They can be PowerPC +processors, MIPS processors, ARM processors, etc. + +Buildroot supports numerous processors and their variants; it also +comes with default configurations for several boards available +off-the-shelf. Besides this, a number of third-party projects are +based on, or develop their BSP ^[1] or SDK ^[2] on top of Buildroot. + + +--------------------------------------------------------------------- + +^[1] BSP: Board Support Package + +^[2] SDK: Software Development Kit + +Chapter 2. System requirements + +Buildroot is designed to run on Linux systems. + +While Buildroot itself will build most host packages it needs for the +compilation, certain standard Linux utilities are expected to be +already installed on the host system. Below you will find an overview +of the mandatory and optional packages (note that package names may +vary between distributions). + +2.1. Mandatory packages + + * Build tools: + + + which + + sed + + make (version 3.81 or any later) + + binutils + + build-essential (only for Debian based systems) + + gcc (version 4.8 or any later) + + g++ (version 4.8 or any later) + + bash + + patch + + gzip + + bzip2 + + perl (version 5.8.7 or any later) + + tar + + cpio + + unzip + + rsync + + file (must be in /usr/bin/file) + + bc + * Source fetching tools: + + + wget + +2.2. Optional packages + + * Recommended dependencies: + + Some features or utilities in Buildroot, like the legal-info, or + the graph generation tools, have additional dependencies. + Although they are not mandatory for a simple build, they are + still highly recommended: + + + python (version 2.7 or any later) + * Configuration interface dependencies: + + For these libraries, you need to install both runtime and + development data, which in many distributions are packaged + separately. The development packages typically have a -dev or + -devel suffix. + + + ncurses5 to use the menuconfig interface + + qt5 to use the xconfig interface + + glib2, gtk2 and glade2 to use the gconfig interface + * Source fetching tools: + + In the official tree, most of the package sources are retrieved + using wget from ftp, http or https locations. A few packages are + only available through a version control system. Moreover, + Buildroot is capable of downloading sources via other tools, like + rsync or scp (refer to Chapter 20, Download infrastructure for + more details). If you enable packages using any of these methods, + you will need to install the corresponding tool on the host + system: + + + bazaar + + cvs + + git + + mercurial + + rsync + + scp + + sftp + + subversion + * Java-related packages, if the Java Classpath needs to be built + for the target system: + + + The javac compiler + + The jar tool + * Documentation generation tools: + + + asciidoc, version 8.6.3 or higher + + w3m + + python with the argparse module (automatically present in + 2.7+ and 3.2+) + + dblatex (required for the pdf manual only) + * Graph generation tools: + + + graphviz to use graph-depends and -graph-depends + + python-matplotlib to use graph-build + +Chapter 3. Getting Buildroot + +Buildroot releases are made every 3 months, in February, May, August +and November. Release numbers are in the format YYYY.MM, so for +example 2013.02, 2014.08. + +Release tarballs are available at http://buildroot.org/downloads/. + +For your convenience, a Vagrantfile [https://www.vagrantup.com/] is +available in support/misc/Vagrantfile in the Buildroot source tree to +quickly set up a virtual machine with the needed dependencies to get +started. + +If you want to setup an isolated buildroot environment on Linux or +Mac Os X, paste this line onto your terminal: + +curl -O https://buildroot.org/downloads/Vagrantfile; vagrant up + +If you are on Windows, paste this into your powershell: + +(new-object System.Net.WebClient).DownloadFile( +"https://buildroot.org/downloads/Vagrantfile","Vagrantfile"); +vagrant up + +If you want to follow development, you can use the daily snapshots or +make a clone of the Git repository. Refer to the Download page [http: +//buildroot.org/download] of the Buildroot website for more details. + +Chapter 4. Buildroot quick start + +Important: you can and should build everything as a normal user. +There is no need to be root to configure and use Buildroot. By +running all commands as a regular user, you protect your system +against packages behaving badly during compilation and installation. + +The first step when using Buildroot is to create a configuration. +Buildroot has a nice configuration tool similar to the one you can +find in the Linux kernel [http://www.kernel.org/] or in BusyBox +[http://www.busybox.net/]. + +From the buildroot directory, run + + $ make menuconfig + +for the original curses-based configurator, or + + $ make nconfig + +for the new curses-based configurator, or + + $ make xconfig + +for the Qt-based configurator, or + + $ make gconfig + +for the GTK-based configurator. + +All of these "make" commands will need to build a configuration +utility (including the interface), so you may need to install +"development" packages for relevant libraries used by the +configuration utilities. Refer to Chapter 2, System requirements for +more details, specifically the optional requirements to get the +dependencies of your favorite interface. + +For each menu entry in the configuration tool, you can find +associated help that describes the purpose of the entry. Refer to +Chapter 6, Buildroot configuration for details on some specific +configuration aspects. + +Once everything is configured, the configuration tool generates a +.config file that contains the entire configuration. This file will +be read by the top-level Makefile. + +To start the build process, simply run: + + $ make + +By default, Buildroot does not support top-level parallel build, so +running make -jN is not necessary. There is however experimental +support for top-level parallel build, see Section 8.12, “Top-level +parallel build”. + +The make command will generally perform the following steps: + + * download source files (as required); + * configure, build and install the cross-compilation toolchain, or + simply import an external toolchain; + * configure, build and install selected target packages; + * build a kernel image, if selected; + * build a bootloader image, if selected; + * create a root filesystem in selected formats. + +Buildroot output is stored in a single directory, output/. This +directory contains several subdirectories: + + * images/ where all the images (kernel image, bootloader and root + filesystem images) are stored. These are the files you need to + put on your target system. + * build/ where all the components are built (this includes tools + needed by Buildroot on the host and packages compiled for the + target). This directory contains one subdirectory for each of + these components. + * host/ contains both the tools built for the host, and the sysroot + of the target toolchain. The former is an installation of tools + compiled for the host that are needed for the proper execution of + Buildroot, including the cross-compilation toolchain. The latter + is a hierarchy similar to a root filesystem hierarchy. It + contains the headers and libraries of all user-space packages + that provide and install libraries used by other packages. + However, this directory is not intended to be the root filesystem + for the target: it contains a lot of development files, + unstripped binaries and libraries that make it far too big for an + embedded system. These development files are used to compile + libraries and applications for the target that depend on other + libraries. + * staging/ is a symlink to the target toolchain sysroot inside host + /, which exists for backwards compatibility. + * target/ which contains almost the complete root filesystem for + the target: everything needed is present except the device files + in /dev/ (Buildroot can’t create them because Buildroot doesn’t + run as root and doesn’t want to run as root). Also, it doesn’t + have the correct permissions (e.g. setuid for the busybox + binary). Therefore, this directory should not be used on your + target. Instead, you should use one of the images built in the + images/ directory. If you need an extracted image of the root + filesystem for booting over NFS, then use the tarball image + generated in images/ and extract it as root. Compared to staging + /, target/ contains only the files and libraries needed to run + the selected target applications: the development files (headers, + etc.) are not present, the binaries are stripped. + +These commands, make menuconfig|nconfig|gconfig|xconfig and make, are +the basic ones that allow to easily and quickly generate images +fitting your needs, with all the features and applications you +enabled. + +More details about the "make" command usage are given in Section 8.1, +“make tips”. + +Chapter 5. Community resources + +Like any open source project, Buildroot has different ways to share +information in its community and outside. + +Each of those ways may interest you if you are looking for some help, +want to understand Buildroot or contribute to the project. + +Mailing List + + Buildroot has a mailing list for discussion and development. It + is the main method of interaction for Buildroot users and + developers. + + Only subscribers to the Buildroot mailing list are allowed to + post to this list. You can subscribe via the mailing list info + page [http://lists.buildroot.org/mailman/listinfo/buildroot]. + + Mails that are sent to the mailing list are also available in the + mailing list archives, available through Mailman [http:// + lists.buildroot.org/pipermail/buildroot] or at lore.kernel.org + [https://lore.kernel.org/buildroot/]. + +IRC + + The Buildroot IRC channel #buildroot [irc://irc.oftc.net/# + buildroot] is hosted on OFTC [https://www.oftc.net/WebChat/]. It + is a useful place to ask quick questions or discuss on certain + topics. + + When asking for help on IRC, share relevant logs or pieces of + code using a code sharing website, such as https://paste.ack.tf/. + + Note that for certain questions, posting to the mailing list may + be better as it will reach more people, both developers and + users. + +Bug tracker + Bugs in Buildroot can be reported via the mailing list or + alternatively via the Buildroot bugtracker [https:// + bugs.buildroot.org/buglist.cgi?product=buildroot]. Please refer + to Section 22.6, “Reporting issues/bugs or getting help” before + creating a bug report. +Wiki + The Buildroot wiki page [http://elinux.org/Buildroot] is hosted + on the eLinux [http://elinux.org] wiki. It contains some useful + links, an overview of past and upcoming events, and a TODO list. +Patchwork + + Patchwork is a web-based patch tracking system designed to + facilitate the contribution and management of contributions to an + open-source project. Patches that have been sent to a mailing + list are 'caught' by the system, and appear on a web page. Any + comments posted that reference the patch are appended to the + patch page too. For more information on Patchwork see http:// + jk.ozlabs.org/projects/patchwork/. + + Buildroot’s Patchwork website is mainly for use by Buildroot’s + maintainer to ensure patches aren’t missed. It is also used by + Buildroot patch reviewers (see also Section 22.3.1, “Applying + Patches from Patchwork”). However, since the website exposes + patches and their corresponding review comments in a clean and + concise web interface, it can be useful for all Buildroot + developers. + + The Buildroot patch management interface is available at http:// + patchwork.buildroot.org. + +Part II. User guide + +Table of Contents + +6. Buildroot configuration + + 6.1. Cross-compilation toolchain + 6.2. /dev management + 6.3. init system + +7. Configuration of other components +8. General Buildroot usage + + 8.1. make tips + 8.2. Understanding when a full rebuild is necessary + 8.3. Understanding how to rebuild packages + 8.4. Offline builds + 8.5. Building out-of-tree + 8.6. Environment variables + 8.7. Dealing efficiently with filesystem images + 8.8. Details about packages + 8.9. Graphing the dependencies between packages + 8.10. Graphing the build duration + 8.11. Graphing the filesystem size contribution of packages + 8.12. Top-level parallel build + 8.13. Integration with Eclipse + 8.14. Advanced usage + +9. Project-specific customization + + 9.1. Recommended directory structure + 9.2. Keeping customizations outside of Buildroot + 9.3. Storing the Buildroot configuration + 9.4. Storing the configuration of other components + 9.5. Customizing the generated target filesystem + 9.6. Adding custom user accounts + 9.7. Customization after the images have been created + 9.8. Adding project-specific patches + 9.9. Adding project-specific packages + 9.10. Quick guide to storing your project-specific customizations + +10. Using SELinux in Buildroot + + 10.1. Enabling SELinux support + 10.2. SELinux policy tweaking + +11. Frequently Asked Questions & Troubleshooting + + 11.1. The boot hangs after Starting network… + 11.2. Why is there no compiler on the target? + 11.3. Why are there no development files on the target? + 11.4. Why is there no documentation on the target? + 11.5. Why are some packages not visible in the Buildroot config + menu? + 11.6. Why not use the target directory as a chroot directory? + 11.7. Why doesn’t Buildroot generate binary packages (.deb, + .ipkg…)? + 11.8. How to speed-up the build process? + +12. Known issues +13. Legal notice and licensing + + 13.1. Complying with open source licenses + 13.2. Complying with the Buildroot license + +14. Beyond Buildroot + + 14.1. Boot the generated images + 14.2. Chroot + +Chapter 6. Buildroot configuration + +All the configuration options in make *config have a help text +providing details about the option. + +The make *config commands also offer a search tool. Read the help +message in the different frontend menus to know how to use it: + + * in menuconfig, the search tool is called by pressing /; + * in xconfig, the search tool is called by pressing Ctrl + f. + +The result of the search shows the help message of the matching +items. In menuconfig, numbers in the left column provide a shortcut +to the corresponding entry. Just type this number to directly jump to +the entry, or to the containing menu in case the entry is not +selectable due to a missing dependency. + +Although the menu structure and the help text of the entries should +be sufficiently self-explanatory, a number of topics require +additional explanation that cannot easily be covered in the help text +and are therefore covered in the following sections. + +6.1. Cross-compilation toolchain + +A compilation toolchain is the set of tools that allows you to +compile code for your system. It consists of a compiler (in our case, +gcc), binary utils like assembler and linker (in our case, binutils) +and a C standard library (for example GNU Libc [http://www.gnu.org/ +software/libc/libc.html], uClibc-ng [http://www.uclibc-ng.org/]). + +The system installed on your development station certainly already +has a compilation toolchain that you can use to compile an +application that runs on your system. If you’re using a PC, your +compilation toolchain runs on an x86 processor and generates code for +an x86 processor. Under most Linux systems, the compilation toolchain +uses the GNU libc (glibc) as the C standard library. This compilation +toolchain is called the "host compilation toolchain". The machine on +which it is running, and on which you’re working, is called the "host +system" ^[3]. + +The compilation toolchain is provided by your distribution, and +Buildroot has nothing to do with it (other than using it to build a +cross-compilation toolchain and other tools that are run on the +development host). + +As said above, the compilation toolchain that comes with your system +runs on and generates code for the processor in your host system. As +your embedded system has a different processor, you need a +cross-compilation toolchain - a compilation toolchain that runs on +your host system but generates code for your target system (and +target processor). For example, if your host system uses x86 and your +target system uses ARM, the regular compilation toolchain on your +host runs on x86 and generates code for x86, while the +cross-compilation toolchain runs on x86 and generates code for ARM. + +Buildroot provides two solutions for the cross-compilation toolchain: + + * The internal toolchain backend, called Buildroot toolchain in the + configuration interface. + * The external toolchain backend, called External toolchain in the + configuration interface. + +The choice between these two solutions is done using the Toolchain +Type option in the Toolchain menu. Once one solution has been chosen, +a number of configuration options appear, they are detailed in the +following sections. + +6.1.1. Internal toolchain backend + +The internal toolchain backend is the backend where Buildroot builds +by itself a cross-compilation toolchain, before building the +userspace applications and libraries for your target embedded system. + +This backend supports several C libraries: uClibc-ng [http:// +www.uclibc-ng.org], glibc [http://www.gnu.org/software/libc/ +libc.html] and musl [http://www.musl-libc.org]. + +Once you have selected this backend, a number of options appear. The +most important ones allow to: + + * Change the version of the Linux kernel headers used to build the + toolchain. This item deserves a few explanations. In the process + of building a cross-compilation toolchain, the C library is being + built. This library provides the interface between userspace + applications and the Linux kernel. In order to know how to "talk" + to the Linux kernel, the C library needs to have access to the + Linux kernel headers (i.e. the .h files from the kernel), which + define the interface between userspace and the kernel (system + calls, data structures, etc.). Since this interface is backward + compatible, the version of the Linux kernel headers used to build + your toolchain do not need to match exactly the version of the + Linux kernel you intend to run on your embedded system. They only + need to have a version equal or older to the version of the Linux + kernel you intend to run. If you use kernel headers that are more + recent than the Linux kernel you run on your embedded system, + then the C library might be using interfaces that are not + provided by your Linux kernel. + * Change the version of the GCC compiler, binutils and the C + library. + * Select a number of toolchain options (uClibc only): whether the + toolchain should have RPC support (used mainly for NFS), + wide-char support, locale support (for internationalization), C++ + support or thread support. Depending on which options you choose, + the number of userspace applications and libraries visible in + Buildroot menus will change: many applications and libraries + require certain toolchain options to be enabled. Most packages + show a comment when a certain toolchain option is required to be + able to enable those packages. If needed, you can further refine + the uClibc configuration by running make uclibc-menuconfig. Note + however that all packages in Buildroot are tested against the + default uClibc configuration bundled in Buildroot: if you deviate + from this configuration by removing features from uClibc, some + packages may no longer build. + +It is worth noting that whenever one of those options is modified, +then the entire toolchain and system must be rebuilt. See +Section 8.2, “Understanding when a full rebuild is necessary”. + +Advantages of this backend: + + * Well integrated with Buildroot + * Fast, only builds what’s necessary + +Drawbacks of this backend: + + * Rebuilding the toolchain is needed when doing make clean, which + takes time. If you’re trying to reduce your build time, consider + using the External toolchain backend. + +6.1.2. External toolchain backend + +The external toolchain backend allows to use existing pre-built +cross-compilation toolchains. Buildroot knows about a number of +well-known cross-compilation toolchains (from Linaro [http:// +www.linaro.org] for ARM, Sourcery CodeBench [http://www.mentor.com/ +embedded-software/sourcery-tools/sourcery-codebench/editions/ +lite-edition/] for ARM, x86-64, PowerPC, and MIPS, and is capable of +downloading them automatically, or it can be pointed to a custom +toolchain, either available for download or installed locally. + +Then, you have three solutions to use an external toolchain: + + * Use a predefined external toolchain profile, and let Buildroot + download, extract and install the toolchain. Buildroot already + knows about a few CodeSourcery and Linaro toolchains. Just select + the toolchain profile in Toolchain from the available ones. This + is definitely the easiest solution. + * Use a predefined external toolchain profile, but instead of + having Buildroot download and extract the toolchain, you can tell + Buildroot where your toolchain is already installed on your + system. Just select the toolchain profile in Toolchain through + the available ones, unselect Download toolchain automatically, + and fill the Toolchain path text entry with the path to your + cross-compiling toolchain. + * Use a completely custom external toolchain. This is particularly + useful for toolchains generated using crosstool-NG or with + Buildroot itself. To do this, select the Custom toolchain + solution in the Toolchain list. You need to fill the Toolchain + path, Toolchain prefix and External toolchain C library options. + Then, you have to tell Buildroot what your external toolchain + supports. If your external toolchain uses the glibc library, you + only have to tell whether your toolchain supports C++ or not and + whether it has built-in RPC support. If your external toolchain + uses the uClibc library, then you have to tell Buildroot if it + supports RPC, wide-char, locale, program invocation, threads and + C++. At the beginning of the execution, Buildroot will tell you + if the selected options do not match the toolchain configuration. + +Our external toolchain support has been tested with toolchains from +CodeSourcery and Linaro, toolchains generated by crosstool-NG [http:/ +/crosstool-ng.org], and toolchains generated by Buildroot itself. In +general, all toolchains that support the sysroot feature should work. +If not, do not hesitate to contact the developers. + +We do not support toolchains or SDK generated by OpenEmbedded or +Yocto, because these toolchains are not pure toolchains (i.e. just +the compiler, binutils, the C and C++ libraries). Instead these +toolchains come with a very large set of pre-compiled libraries and +programs. Therefore, Buildroot cannot import the sysroot of the +toolchain, as it would contain hundreds of megabytes of pre-compiled +libraries that are normally built by Buildroot. + +We also do not support using the distribution toolchain (i.e. the gcc +/binutils/C library installed by your distribution) as the toolchain +to build software for the target. This is because your distribution +toolchain is not a "pure" toolchain (i.e. only with the C/C++ +library), so we cannot import it properly into the Buildroot build +environment. So even if you are building a system for a x86 or x86_64 +target, you have to generate a cross-compilation toolchain with +Buildroot or crosstool-NG. + +If you want to generate a custom toolchain for your project, that can +be used as an external toolchain in Buildroot, our recommendation is +to build it either with Buildroot itself (see Section 6.1.3, “Build +an external toolchain with Buildroot”) or with crosstool-NG [http:// +crosstool-ng.org]. + +Advantages of this backend: + + * Allows to use well-known and well-tested cross-compilation + toolchains. + * Avoids the build time of the cross-compilation toolchain, which + is often very significant in the overall build time of an + embedded Linux system. + +Drawbacks of this backend: + + * If your pre-built external toolchain has a bug, may be hard to + get a fix from the toolchain vendor, unless you build your + external toolchain by yourself using Buildroot or Crosstool-NG. + +6.1.3. Build an external toolchain with Buildroot + +The Buildroot internal toolchain option can be used to create an +external toolchain. Here are a series of steps to build an internal +toolchain and package it up for reuse by Buildroot itself (or other +projects). + +Create a new Buildroot configuration, with the following details: + + * Select the appropriate Target options for your target CPU + architecture + * In the Toolchain menu, keep the default of Buildroot toolchain + for Toolchain type, and configure your toolchain as desired + * In the System configuration menu, select None as the Init system + and none as /bin/sh + * In the Target packages menu, disable BusyBox + * In the Filesystem images menu, disable tar the root filesystem + +Then, we can trigger the build, and also ask Buildroot to generate a +SDK. This will conveniently generate for us a tarball which contains +our toolchain: + +make sdk + +This produces the SDK tarball in $(O)/images, with a name similar to +arm-buildroot-linux-uclibcgnueabi_sdk-buildroot.tar.gz. Save this +tarball, as it is now the toolchain that you can re-use as an +external toolchain in other Buildroot projects. + +In those other Buildroot projects, in the Toolchain menu: + + * Set Toolchain type to External toolchain + * Set Toolchain to Custom toolchain + * Set Toolchain origin to Toolchain to be downloaded and installed + * Set Toolchain URL to file:///path/to/your/sdk/tarball.tar.gz + +6.1.3.1. External toolchain wrapper + +When using an external toolchain, Buildroot generates a wrapper +program, that transparently passes the appropriate options (according +to the configuration) to the external toolchain programs. In case you +need to debug this wrapper to check exactly what arguments are +passed, you can set the environment variable BR2_DEBUG_WRAPPER to +either one of: + + * 0, empty or not set: no debug + * 1: trace all arguments on a single line + * 2: trace one argument per line + +6.2. /dev management + +On a Linux system, the /dev directory contains special files, called +device files, that allow userspace applications to access the +hardware devices managed by the Linux kernel. Without these device +files, your userspace applications would not be able to use the +hardware devices, even if they are properly recognized by the Linux +kernel. + +Under System configuration, /dev management, Buildroot offers four +different solutions to handle the /dev directory : + + * The first solution is Static using device table. This is the old + classical way of handling device files in Linux. With this + method, the device files are persistently stored in the root + filesystem (i.e. they persist across reboots), and there is + nothing that will automatically create and remove those device + files when hardware devices are added or removed from the system. + Buildroot therefore creates a standard set of device files using + a device table, the default one being stored in system/ + device_table_dev.txt in the Buildroot source code. This file is + processed when Buildroot generates the final root filesystem + image, and the device files are therefore not visible in the + output/target directory. The BR2_ROOTFS_STATIC_DEVICE_TABLE + option allows to change the default device table used by + Buildroot, or to add an additional device table, so that + additional device files are created by Buildroot during the + build. So, if you use this method, and a device file is missing + in your system, you can for example create a board// + /device_table_dev.txt file that contains the + description of your additional device files, and then you can set + BR2_ROOTFS_STATIC_DEVICE_TABLE to system/device_table_dev.txt + board///device_table_dev.txt. For more + details about the format of the device table file, see + Chapter 25, Makedev syntax documentation. + * The second solution is Dynamic using devtmpfs only. devtmpfs is a + virtual filesystem inside the Linux kernel that has been + introduced in kernel 2.6.32 (if you use an older kernel, it is + not possible to use this option). When mounted in /dev, this + virtual filesystem will automatically make device files appear + and disappear as hardware devices are added and removed from the + system. This filesystem is not persistent across reboots: it is + filled dynamically by the kernel. Using devtmpfs requires the + following kernel configuration options to be enabled: + CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT. When Buildroot is in + charge of building the Linux kernel for your embedded device, it + makes sure that those two options are enabled. However, if you + build your Linux kernel outside of Buildroot, then it is your + responsibility to enable those two options (if you fail to do so, + your Buildroot system will not boot). + * The third solution is Dynamic using devtmpfs + mdev. This method + also relies on the devtmpfs virtual filesystem detailed above (so + the requirement to have CONFIG_DEVTMPFS and CONFIG_DEVTMPFS_MOUNT + enabled in the kernel configuration still apply), but adds the + mdev userspace utility on top of it. mdev is a program part of + BusyBox that the kernel will call every time a device is added or + removed. Thanks to the /etc/mdev.conf configuration file, mdev + can be configured to for example, set specific permissions or + ownership on a device file, call a script or application whenever + a device appears or disappear, etc. Basically, it allows + userspace to react on device addition and removal events. mdev + can for example be used to automatically load kernel modules when + devices appear on the system. mdev is also important if you have + devices that require a firmware, as it will be responsible for + pushing the firmware contents to the kernel. mdev is a + lightweight implementation (with fewer features) of udev. For + more details about mdev and the syntax of its configuration file, + see http://git.busybox.net/busybox/tree/docs/mdev.txt. + * The fourth solution is Dynamic using devtmpfs + eudev. This + method also relies on the devtmpfs virtual filesystem detailed + above, but adds the eudev userspace daemon on top of it. eudev is + a daemon that runs in the background, and gets called by the + kernel when a device gets added or removed from the system. It is + a more heavyweight solution than mdev, but provides higher + flexibility. eudev is a standalone version of udev, the original + userspace daemon used in most desktop Linux distributions, which + is now part of Systemd. For more details, see http:// + en.wikipedia.org/wiki/Udev. + +The Buildroot developers recommendation is to start with the Dynamic +using devtmpfs only solution, until you have the need for userspace +to be notified when devices are added/removed, or if firmwares are +needed, in which case Dynamic using devtmpfs + mdev is usually a good +solution. + +Note that if systemd is chosen as init system, /dev management will +be performed by the udev program provided by systemd. + +6.3. init system + +The init program is the first userspace program started by the kernel +(it carries the PID number 1), and is responsible for starting the +userspace services and programs (for example: web server, graphical +applications, other network servers, etc.). + +Buildroot allows to use three different types of init systems, which +can be chosen from System configuration, Init system: + + * The first solution is BusyBox. Amongst many programs, BusyBox has + an implementation of a basic init program, which is sufficient + for most embedded systems. Enabling the BR2_INIT_BUSYBOX will + ensure BusyBox will build and install its init program. This is + the default solution in Buildroot. The BusyBox init program will + read the /etc/inittab file at boot to know what to do. The syntax + of this file can be found in http://git.busybox.net/busybox/tree/ + examples/inittab (note that BusyBox inittab syntax is special: do + not use a random inittab documentation from the Internet to learn + about BusyBox inittab). The default inittab in Buildroot is + stored in system/skeleton/etc/inittab. Apart from mounting a few + important filesystems, the main job the default inittab does is + to start the /etc/init.d/rcS shell script, and start a getty + program (which provides a login prompt). + * The second solution is systemV. This solution uses the old + traditional sysvinit program, packed in Buildroot in package/ + sysvinit. This was the solution used in most desktop Linux + distributions, until they switched to more recent alternatives + such as Upstart or Systemd. sysvinit also works with an inittab + file (which has a slightly different syntax than the one from + BusyBox). The default inittab installed with this init solution + is located in package/sysvinit/inittab. + * The third solution is systemd. systemd is the new generation init + system for Linux. It does far more than traditional init + programs: aggressive parallelization capabilities, uses socket + and D-Bus activation for starting services, offers on-demand + starting of daemons, keeps track of processes using Linux control + groups, supports snapshotting and restoring of the system state, + etc. systemd will be useful on relatively complex embedded + systems, for example the ones requiring D-Bus and services + communicating between each other. It is worth noting that systemd + brings a fairly big number of large dependencies: dbus, udev and + more. For more details about systemd, see http:// + www.freedesktop.org/wiki/Software/systemd. + +The solution recommended by Buildroot developers is to use the +BusyBox init as it is sufficient for most embedded systems. systemd +can be used for more complex situations. + + +--------------------------------------------------------------------- + +^[3] This terminology differs from what is used by GNU configure, +where the host is the machine on which the application will run +(which is usually the same as target) + +Chapter 7. Configuration of other components + +Before attempting to modify any of the components below, make sure +you have already configured Buildroot itself, and have enabled the +corresponding package. + +BusyBox + + If you already have a BusyBox configuration file, you can + directly specify this file in the Buildroot configuration, using + BR2_PACKAGE_BUSYBOX_CONFIG. Otherwise, Buildroot will start from + a default BusyBox configuration file. + + To make subsequent changes to the configuration, use make + busybox-menuconfig to open the BusyBox configuration editor. + + It is also possible to specify a BusyBox configuration file + through an environment variable, although this is not + recommended. Refer to Section 8.6, “Environment variables” for + more details. + +uClibc + Configuration of uClibc is done in the same way as for BusyBox. + The configuration variable to specify an existing configuration + file is BR2_UCLIBC_CONFIG. The command to make subsequent changes + is make uclibc-menuconfig. +Linux kernel + + If you already have a kernel configuration file, you can directly + specify this file in the Buildroot configuration, using + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG. + + If you do not yet have a kernel configuration file, you can + either start by specifying a defconfig in the Buildroot + configuration, using BR2_LINUX_KERNEL_USE_DEFCONFIG, or start by + creating an empty file and specifying it as custom configuration + file, using BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG. + + To make subsequent changes to the configuration, use make + linux-menuconfig to open the Linux configuration editor. + +Barebox + Configuration of Barebox is done in the same way as for the Linux + kernel. The corresponding configuration variables are + BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG and + BR2_TARGET_BAREBOX_USE_DEFCONFIG. To open the configuration + editor, use make barebox-menuconfig. +U-Boot + Configuration of U-Boot (version 2015.04 or newer) is done in the + same way as for the Linux kernel. The corresponding configuration + variables are BR2_TARGET_UBOOT_USE_CUSTOM_CONFIG and + BR2_TARGET_UBOOT_USE_DEFCONFIG. To open the configuration editor, + use make uboot-menuconfig. + +Chapter 8. General Buildroot usage + +8.1. make tips + +This is a collection of tips that help you make the most of +Buildroot. + +Display all commands executed by make:  + + $ make V=1 + +Display the list of boards with a defconfig:  + + $ make list-defconfigs + +Display all available targets:  + + $ make help + +Not all targets are always available, some settings in the .config +file may hide some targets: + + * busybox-menuconfig only works when busybox is enabled; + * linux-menuconfig and linux-savedefconfig only work when linux is + enabled; + * uclibc-menuconfig is only available when the uClibc C library is + selected in the internal toolchain backend; + * barebox-menuconfig and barebox-savedefconfig only work when the + barebox bootloader is enabled. + * uboot-menuconfig and uboot-savedefconfig only work when the + U-Boot bootloader is enabled and the uboot build system is set to + Kconfig. + +Cleaning: Explicit cleaning is required when any of the architecture +or toolchain configuration options are changed. + +To delete all build products (including build directories, host, +staging and target trees, the images and the toolchain): + + $ make clean + +Generating the manual: The present manual sources are located in the +docs/manual directory. To generate the manual: + + $ make manual-clean + $ make manual + +The manual outputs will be generated in output/docs/manual. + +Notes + + * A few tools are required to build the documentation (see: + Section 2.2, “Optional packages”). + +Resetting Buildroot for a new target: To delete all build products as +well as the configuration: + + $ make distclean + +Notes. If ccache is enabled, running make clean or distclean does not +empty the compiler cache used by Buildroot. To delete it, refer to +Section 8.14.3, “Using ccache in Buildroot”. + +Dumping the internal make variables: One can dump the variables known +to make, along with their values: + + $ make -s printvars VARS='VARIABLE1 VARIABLE2' + VARIABLE1=value_of_variable + VARIABLE2=value_of_variable + +It is possible to tweak the output using some variables: + + * VARS will limit the listing to variables which names match the + specified make-patterns - this must be set else nothing is + printed + * QUOTED_VARS, if set to YES, will single-quote the value + * RAW_VARS, if set to YES, will print the unexpanded value + +For example: + + $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES + BUSYBOX_DEPENDENCIES=skeleton toolchain + BUSYBOX_FINAL_ALL_DEPENDENCIES=skeleton toolchain + BUSYBOX_FINAL_DEPENDENCIES=skeleton toolchain + BUSYBOX_FINAL_PATCH_DEPENDENCIES= + BUSYBOX_RDEPENDENCIES=ncurses util-linux + + $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES QUOTED_VARS=YES + BUSYBOX_DEPENDENCIES='skeleton toolchain' + BUSYBOX_FINAL_ALL_DEPENDENCIES='skeleton toolchain' + BUSYBOX_FINAL_DEPENDENCIES='skeleton toolchain' + BUSYBOX_FINAL_PATCH_DEPENDENCIES='' + BUSYBOX_RDEPENDENCIES='ncurses util-linux' + + $ make -s printvars VARS=BUSYBOX_%DEPENDENCIES RAW_VARS=YES + BUSYBOX_DEPENDENCIES=skeleton toolchain + BUSYBOX_FINAL_ALL_DEPENDENCIES=$(sort $(BUSYBOX_FINAL_DEPENDENCIES) $(BUSYBOX_FINAL_PATCH_DEPENDENCIES)) + BUSYBOX_FINAL_DEPENDENCIES=$(sort $(BUSYBOX_DEPENDENCIES)) + BUSYBOX_FINAL_PATCH_DEPENDENCIES=$(sort $(BUSYBOX_PATCH_DEPENDENCIES)) + BUSYBOX_RDEPENDENCIES=ncurses util-linux + +The output of quoted variables can be reused in shell scripts, for +example: + + $ eval $(make -s printvars VARS=BUSYBOX_DEPENDENCIES QUOTED_VARS=YES) + $ echo $BUSYBOX_DEPENDENCIES + skeleton toolchain + +8.2. Understanding when a full rebuild is necessary + +Buildroot does not attempt to detect what parts of the system should +be rebuilt when the system configuration is changed through make +menuconfig, make xconfig or one of the other configuration tools. In +some cases, Buildroot should rebuild the entire system, in some +cases, only a specific subset of packages. But detecting this in a +completely reliable manner is very difficult, and therefore the +Buildroot developers have decided to simply not attempt to do this. + +Instead, it is the responsibility of the user to know when a full +rebuild is necessary. As a hint, here are a few rules of thumb that +can help you understand how to work with Buildroot: + + * When the target architecture configuration is changed, a complete + rebuild is needed. Changing the architecture variant, the binary + format or the floating point strategy for example has an impact + on the entire system. + * When the toolchain configuration is changed, a complete rebuild + generally is needed. Changing the toolchain configuration often + involves changing the compiler version, the type of C library or + its configuration, or some other fundamental configuration item, + and these changes have an impact on the entire system. + * When an additional package is added to the configuration, a full + rebuild is not necessarily needed. Buildroot will detect that + this package has never been built, and will build it. However, if + this package is a library that can optionally be used by packages + that have already been built, Buildroot will not automatically + rebuild those. Either you know which packages should be rebuilt, + and you can rebuild them manually, or you should do a full + rebuild. For example, let’s suppose you have built a system with + the ctorrent package, but without openssl. Your system works, but + you realize you would like to have SSL support in ctorrent, so + you enable the openssl package in Buildroot configuration and + restart the build. Buildroot will detect that openssl should be + built and will be build it, but it will not detect that ctorrent + should be rebuilt to benefit from openssl to add OpenSSL support. + You will either have to do a full rebuild, or rebuild ctorrent + itself. + * When a package is removed from the configuration, Buildroot does + not do anything special. It does not remove the files installed + by this package from the target root filesystem or from the + toolchain sysroot. A full rebuild is needed to get rid of this + package. However, generally you don’t necessarily need this + package to be removed right now: you can wait for the next lunch + break to restart the build from scratch. + * When the sub-options of a package are changed, the package is not + automatically rebuilt. After making such changes, rebuilding only + this package is often sufficient, unless enabling the package + sub-option adds some features to the package that are useful for + another package which has already been built. Again, Buildroot + does not track when a package should be rebuilt: once a package + has been built, it is never rebuilt unless explicitly told to do + so. + * When a change to the root filesystem skeleton is made, a full + rebuild is needed. However, when changes to the root filesystem + overlay, a post-build script or a post-image script are made, + there is no need for a full rebuild: a simple make invocation + will take the changes into account. + * When a package listed in FOO_DEPENDENCIES is rebuilt or removed, + the package foo is not automatically rebuilt. For example, if a + package bar is listed in FOO_DEPENDENCIES with FOO_DEPENDENCIES = + bar and the configuration of the bar package is changed, the + configuration change would not result in a rebuild of package foo + automatically. In this scenario, you may need to either rebuild + any packages in your build which reference bar in their + DEPENDENCIES, or perform a full rebuild to ensure any bar + dependent packages are up to date. + +Generally speaking, when you’re facing a build error and you’re +unsure of the potential consequences of the configuration changes +you’ve made, do a full rebuild. If you get the same build error, then +you are sure that the error is not related to partial rebuilds of +packages, and if this error occurs with packages from the official +Buildroot, do not hesitate to report the problem! As your experience +with Buildroot progresses, you will progressively learn when a full +rebuild is really necessary, and you will save more and more time. + +For reference, a full rebuild is achieved by running: + +$ make clean all + +8.3. Understanding how to rebuild packages + +One of the most common questions asked by Buildroot users is how to +rebuild a given package or how to remove a package without rebuilding +everything from scratch. + +Removing a package is unsupported by Buildroot without rebuilding +from scratch. This is because Buildroot doesn’t keep track of which +package installs what files in the output/staging and output/target +directories, or which package would be compiled differently depending +on the availability of another package. + +The easiest way to rebuild a single package from scratch is to remove +its build directory in output/build. Buildroot will then re-extract, +re-configure, re-compile and re-install this package from scratch. +You can ask buildroot to do this with the make -dirclean +command. + +On the other hand, if you only want to restart the build process of a +package from its compilation step, you can run make +-rebuild. It will restart the compilation and installation of the +package, but not from scratch: it basically re-executes make and make +install inside the package, so it will only rebuild files that +changed. + +If you want to restart the build process of a package from its +configuration step, you can run make -reconfigure. It will +restart the configuration, compilation and installation of the +package. + +While -rebuild implies -reinstall and +-reconfigure implies -rebuild, these targets as well as + only act on the said package, and do not trigger +re-creating the root filesystem image. If re-creating the root +filesystem in necessary, one should in addition run make or make all. + +Internally, Buildroot creates so-called stamp files to keep track of +which build steps have been completed for each package. They are +stored in the package build directory, output/build/- +/ and are named .stamp_. The commands detailed +above simply manipulate these stamp files to force Buildroot to +restart a specific set of steps of a package build process. + +Further details about package special make targets are explained in +Section 8.14.5, “Package-specific make targets”. + +8.4. Offline builds + +If you intend to do an offline build and just want to download all +sources that you previously selected in the configurator (menuconfig, +nconfig, xconfig or gconfig), then issue: + + $ make source + +You can now disconnect or copy the content of your dl directory to +the build-host. + +8.5. Building out-of-tree + +As default, everything built by Buildroot is stored in the directory +output in the Buildroot tree. + +Buildroot also supports building out of tree with a syntax similar to +the Linux kernel. To use it, add O= to the make command +line: + + $ make O=/tmp/build + +Or: + + $ cd /tmp/build; make O=$PWD -C path/to/buildroot + +All the output files will be located under /tmp/build. If the O path +does not exist, Buildroot will create it. + +Note: the O path can be either an absolute or a relative path, but if +it’s passed as a relative path, it is important to note that it is +interpreted relative to the main Buildroot source directory, not the +current working directory. + +When using out-of-tree builds, the Buildroot .config and temporary +files are also stored in the output directory. This means that you +can safely run multiple builds in parallel using the same source tree +as long as they use unique output directories. + +For ease of use, Buildroot generates a Makefile wrapper in the output +directory - so after the first run, you no longer need to pass O=<…> +and -C <…>, simply run (in the output directory): + + $ make + +8.6. Environment variables + +Buildroot also honors some environment variables, when they are +passed to make or set in the environment: + + * HOSTCXX, the host C++ compiler to use + * HOSTCC, the host C compiler to use + * UCLIBC_CONFIG_FILE=, path to the uClibc + configuration file, used to compile uClibc, if an internal + toolchain is being built. Note that the uClibc configuration file + can also be set from the configuration interface, so through the + Buildroot .config file; this is the recommended way of setting + it. + * BUSYBOX_CONFIG_FILE=, path to the BusyBox + configuration file. Note that the BusyBox configuration file can + also be set from the configuration interface, so through the + Buildroot .config file; this is the recommended way of setting + it. + * BR2_CCACHE_DIR to override the directory where Buildroot stores + the cached files when using ccache. + * BR2_DL_DIR to override the directory in which Buildroot stores/ + retrieves downloaded files. Note that the Buildroot download + directory can also be set from the configuration interface, so + through the Buildroot .config file. See Section 8.14.4, “Location + of downloaded packages” for more details on how you can set the + download directory. + * BR2_GRAPH_ALT, if set and non-empty, to use an alternate + color-scheme in build-time graphs + * BR2_GRAPH_OUT to set the filetype of generated graphs, either pdf + (the default), or png. + * BR2_GRAPH_DEPS_OPTS to pass extra options to the dependency + graph; see Section 8.9, “Graphing the dependencies between + packages” for the accepted options + * BR2_GRAPH_DOT_OPTS is passed verbatim as options to the dot + utility to draw the dependency graph. + * BR2_GRAPH_SIZE_OPTS to pass extra options to the size graph; see + Section 8.11, “Graphing the filesystem size contribution of + packages” for the acepted options + +An example that uses config files located in the toplevel directory +and in your $HOME: + + $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config + +If you want to use a compiler other than the default gcc or g++ for +building helper-binaries on your host, then do + + $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD + +8.7. Dealing efficiently with filesystem images + +Filesystem images can get pretty big, depending on the filesystem you +choose, the number of packages, whether you provisioned free space… +Yet, some locations in the filesystems images may just be empty (e.g. +a long run of zeroes); such a file is called a sparse file. + +Most tools can handle sparse files efficiently, and will only store +or write those parts of a sparse file that are not empty. + +For example: + + * tar accepts the -S option to tell it to only store non-zero + blocks of sparse files: + + + tar cf archive.tar -S [files…] will efficiently store sparse + files in a tarball + + tar xf archive.tar -S will efficiently store sparse files + extracted from a tarball + * cp accepts the --sparse=WHEN option (WHEN is one of auto, never + or always): + + + cp --sparse=always source.file dest.file will make dest.file + a sparse file if source.file has long runs of zeroes + +Other tools may have similar options. Please consult their respective +man pages. + +You can use sparse files if you need to store the filesystem images +(e.g. to transfer from one machine to another), or if you need to +send them (e.g. to the Q&A team). + +Note however that flashing a filesystem image to a device while using +the sparse mode of dd may result in a broken filesystem (e.g. the +block bitmap of an ext2 filesystem may be corrupted; or, if you have +sparse files in your filesystem, those parts may not be all-zeroes +when read back). You should only use sparse files when handling files +on the build machine, not when transferring them to an actual device +that will be used on the target. + +8.8. Details about packages + +Buildroot can produce a JSON blurb that describes the set of enabled +packages in the current configuration, together with their +dependencies, licenses and other metadata. This JSON blurb is +produced by using the show-info make target: + +make show-info + +Buildroot can also produce details about packages as HTML and JSON +output using the pkg-stats make target. Amongst other things, these +details include whether known CVEs (security vulnerabilities) affect +the packages in your current configuration. It also shows if there is +a newer upstream version for those packages. + +make pkg-stats + +8.9. Graphing the dependencies between packages + +One of Buildroot’s jobs is to know the dependencies between packages, +and make sure they are built in the right order. These dependencies +can sometimes be quite complicated, and for a given system, it is +often not easy to understand why such or such package was brought +into the build by Buildroot. + +In order to help understanding the dependencies, and therefore better +understand what is the role of the different components in your +embedded Linux system, Buildroot is capable of generating dependency +graphs. + +To generate a dependency graph of the full system you have compiled, +simply run: + +make graph-depends + +You will find the generated graph in output/graphs/graph-depends.pdf. + +If your system is quite large, the dependency graph may be too +complex and difficult to read. It is therefore possible to generate +the dependency graph just for a given package: + +make -graph-depends + +You will find the generated graph in output/graph/ +-graph-depends.pdf. + +Note that the dependency graphs are generated using the dot tool from +the Graphviz project, which you must have installed on your system to +use this feature. In most distributions, it is available as the +graphviz package. + +By default, the dependency graphs are generated in the PDF format. +However, by passing the BR2_GRAPH_OUT environment variable, you can +switch to other output formats, such as PNG, PostScript or SVG. All +formats supported by the -T option of the dot tool are supported. + +BR2_GRAPH_OUT=svg make graph-depends + +The graph-depends behaviour can be controlled by setting options in +the BR2_GRAPH_DEPS_OPTS environment variable. The accepted options +are: + + * --depth N, -d N, to limit the dependency depth to N levels. The + default, 0, means no limit. + * --stop-on PKG, -s PKG, to stop the graph on the package PKG. PKG + can be an actual package name, a glob, the keyword virtual (to + stop on virtual packages), or the keyword host (to stop on host + packages). The package is still present on the graph, but its + dependencies are not. + * --exclude PKG, -x PKG, like --stop-on, but also omits PKG from + the graph. + * --transitive, --no-transitive, to draw (or not) the transitive + dependencies. The default is to not draw transitive dependencies. + * --colors R,T,H, the comma-separated list of colors to draw the + root package (R), the target packages (T) and the host packages + (H). Defaults to: lightblue,grey,gainsboro + +BR2_GRAPH_DEPS_OPTS='-d 3 --no-transitive --colors=red,green,blue' make graph-depends + +8.10. Graphing the build duration + +When the build of a system takes a long time, it is sometimes useful +to be able to understand which packages are the longest to build, to +see if anything can be done to speed up the build. In order to help +such build time analysis, Buildroot collects the build time of each +step of each package, and allows to generate graphs from this data. + +To generate the build time graph after a build, run: + +make graph-build + +This will generate a set of files in output/graphs : + + * build.hist-build.pdf, a histogram of the build time for each + package, ordered in the build order. + * build.hist-duration.pdf, a histogram of the build time for each + package, ordered by duration (longest first) + * build.hist-name.pdf, a histogram of the build time for each + package, order by package name. + * build.pie-packages.pdf, a pie chart of the build time per package + * build.pie-steps.pdf, a pie chart of the global time spent in each + step of the packages build process. + +This graph-build target requires the Python Matplotlib and Numpy +libraries to be installed (python-matplotlib and python-numpy on most +distributions), and also the argparse module if you’re using a Python +version older than 2.7 (python-argparse on most distributions). + +By default, the output format for the graph is PDF, but a different +format can be selected using the BR2_GRAPH_OUT environment variable. +The only other format supported is PNG: + +BR2_GRAPH_OUT=png make graph-build + +8.11. Graphing the filesystem size contribution of packages + +When your target system grows, it is sometimes useful to understand +how much each Buildroot package is contributing to the overall root +filesystem size. To help with such an analysis, Buildroot collects +data about files installed by each package and using this data, +generates a graph and CSV files detailing the size contribution of +the different packages. + +To generate these data after a build, run: + +make graph-size + +This will generate: + + * output/graphs/graph-size.pdf, a pie chart of the contribution of + each package to the overall root filesystem size + * output/graphs/package-size-stats.csv, a CSV file giving the size + contribution of each package to the overall root filesystem size + * output/graphs/file-size-stats.csv, a CSV file giving the size + contribution of each installed file to the package it belongs, + and to the overall filesystem size. + +This graph-size target requires the Python Matplotlib library to be +installed (python-matplotlib on most distributions), and also the +argparse module if you’re using a Python version older than 2.7 +(python-argparse on most distributions). + +Just like for the duration graph, a BR2_GRAPH_OUT environment +variable is supported to adjust the output file format. See +Section 8.9, “Graphing the dependencies between packages” for details +about this environment variable. + +Additionally, one may set the environment variable +BR2_GRAPH_SIZE_OPTS to further control the generated graph. Accepted +options are: + + * --size-limit X, -l X, will group all packages which individual + contribution is below X percent, to a single entry labelled + Others in the graph. By default, X=0.01, which means packages + each contributing less than 1% are grouped under Others. Accepted + values are in the range [0.0..1.0]. + * --iec, --binary, --si, --decimal, to use IEC (binary, powers of + 1024) or SI (decimal, powers of 1000; the default) prefixes. + * --biggest-first, to sort packages in decreasing size order, + rather than in increasing size order. + +Note. The collected filesystem size data is only meaningful after a +complete clean rebuild. Be sure to run make clean all before using +make graph-size. + +To compare the root filesystem size of two different Buildroot +compilations, for example after adjusting the configuration or when +switching to another Buildroot release, use the size-stats-compare +script. It takes two file-size-stats.csv files (produced by make +graph-size) as input. Refer to the help text of this script for more +details: + +utils/size-stats-compare -h + +8.12. Top-level parallel build + +Note. This section deals with a very experimental feature, which is +known to break even in some non-unusual situations. Use at your own +risk. + +Buildroot has always been capable of using parallel build on a per +package basis: each package is built by Buildroot using make -jN (or +the equivalent invocation for non-make-based build systems). The +level of parallelism is by default number of CPUs + 1, but it can be +adjusted using the BR2_JLEVEL configuration option. + +Until 2020.02, Buildroot was however building packages in a serial +fashion: each package was built one after the other, without +parallelization of the build between packages. As of 2020.02, +Buildroot has experimental support for top-level parallel build, +which allows some signicant build time savings by building packages +that have no dependency relationship in parallel. This feature is +however marked as experimental and is known not to work in some +cases. + +In order to use top-level parallel build, one must: + + 1. Enable the option BR2_PER_PACKAGE_DIRECTORIES in the Buildroot + configuration + 2. Use make -jN when starting the Buildroot build + +Internally, the BR2_PER_PACKAGE_DIRECTORIES will enable a mechanism +called per-package directories, which will have the following +effects: + + * Instead of a global target directory and a global host directory + common to all packages, per-package target and host directories + will be used, in $(O)/per-package//target/ and $(O)/ + per-package//host/ respectively. Those folders will be + populated from the corresponding folders of the package + dependencies at the beginning of build. The compiler and + all other tools will therefore only be able to see and access + files installed by dependencies explicitly listed by . + * At the end of the build, the global target and host directories + will be populated, located in $(O)/target and $(O)/host + respectively. This means that during the build, those folders + will be empty and it’s only at the very end of the build that + they will be populated. + +8.13. Integration with Eclipse + +While a part of the embedded Linux developers like classical text +editors like Vim or Emacs, and command-line based interfaces, a +number of other embedded Linux developers like richer graphical +interfaces to do their development work. Eclipse being one of the +most popular Integrated Development Environment, Buildroot integrates +with Eclipse in order to ease the development work of Eclipse users. + +Our integration with Eclipse simplifies the compilation, remote +execution and remote debugging of applications and libraries that are +built on top of a Buildroot system. It does not integrate the +Buildroot configuration and build processes themselves with Eclipse. +Therefore, the typical usage model of our Eclipse integration would +be: + + * Configure your Buildroot system with make menuconfig, make + xconfig or any other configuration interface provided with + Buildroot. + * Build your Buildroot system by running make. + * Start Eclipse to develop, execute and debug your own custom + applications and libraries, that will rely on the libraries built + and installed by Buildroot. + +The Buildroot Eclipse integration installation process and usage is +described in detail at https://github.com/mbats/ +eclipse-buildroot-bundle/wiki. + +8.14. Advanced usage + +8.14.1. Using the generated toolchain outside Buildroot + +You may want to compile, for your target, your own programs or other +software that are not packaged in Buildroot. In order to do this you +can use the toolchain that was generated by Buildroot. + +The toolchain generated by Buildroot is located by default in output/ +host/. The simplest way to use it is to add output/host/bin/ to your +PATH environment variable and then to use ARCH-linux-gcc, +ARCH-linux-objdump, ARCH-linux-ld, etc. + +Alternatively, Buildroot can also export the toolchain and the +development files of all selected packages, as an SDK, by running the +command make sdk. This generates a tarball of the content of the host +directory output/host/, named _sdk-buildroot.tar.gz +(which can be overriden by setting the environment variable +BR2_SDK_PREFIX) and located in the output directory output/images/. + +This tarball can then be distributed to application developers, when +they want to develop their applications that are not (yet) packaged +as a Buildroot package. + +Upon extracting the SDK tarball, the user must run the script +relocate-sdk.sh (located at the top directory of the SDK), to make +sure all paths are updated with the new location. + +Alternatively, if you just want to prepare the SDK without generating +the tarball (e.g. because you will just be moving the host directory, +or will be generating the tarball on your own), Buildroot also allows +you to just prepare the SDK with make prepare-sdk without actually +generating a tarball. + +For your convenience, by selecting the option +BR2_PACKAGE_HOST_ENVIRONMENT_SETUP, you can get a environment-setup +script installed in output/host/ and therefore in your SDK. This +script can be sourced with . your/sdk/path/environment-setup to +export a number of environment variables that will help cross-compile +your projects using the Buildroot SDK: the PATH will contain the SDK +binaries, standard autotools variables will be defined with the +appropriate values, and CONFIGURE_FLAGS will contain basic ./ +configure options to cross-compile autotools projects. It also +provides some useful commands. Note however that once this script is +sourced, the environment is setup only for cross-compilation, and no +longer for native compilation. + +8.14.2. Using gdb in Buildroot + +Buildroot allows to do cross-debugging, where the debugger runs on +the build machine and communicates with gdbserver on the target to +control the execution of the program. + +To achieve this: + + * If you are using an internal toolchain (built by Buildroot), you + must enable BR2_PACKAGE_HOST_GDB, BR2_PACKAGE_GDB and + BR2_PACKAGE_GDB_SERVER. This ensures that both the cross gdb and + gdbserver get built, and that gdbserver gets installed to your + target. + * If you are using an external toolchain, you should enable + BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY, which will copy the + gdbserver included with the external toolchain to the target. If + your external toolchain does not have a cross gdb or gdbserver, + it is also possible to let Buildroot build them, by enabling the + same options as for the internal toolchain backend. + +Now, to start debugging a program called foo, you should run on the +target: + +gdbserver :2345 foo + +This will cause gdbserver to listen on TCP port 2345 for a connection +from the cross gdb. + +Then, on the host, you should start the cross gdb using the following +command line: + +/output/host/bin/-gdb -ix /output/staging/usr/share/buildroot/gdbinit foo + +Of course, foo must be available in the current directory, built with +debugging symbols. Typically you start this command from the +directory where foo is built (and not from output/target/ as the +binaries in that directory are stripped). + +The /output/staging/usr/share/buildroot/gdbinit file will +tell the cross gdb where to find the libraries of the target. + +Finally, to connect to the target from the cross gdb: + +(gdb) target remote :2345 + +8.14.3. Using ccache in Buildroot + +ccache [http://ccache.samba.org] is a compiler cache. It stores the +object files resulting from each compilation process, and is able to +skip future compilation of the same source file (with same compiler +and same arguments) by using the pre-existing object files. When +doing almost identical builds from scratch a number of times, it can +nicely speed up the build process. + +ccache support is integrated in Buildroot. You just have to enable +Enable compiler cache in Build options. This will automatically build +ccache and use it for every host and target compilation. + +The cache is located in $HOME/.buildroot-ccache. It is stored outside +of Buildroot output directory so that it can be shared by separate +Buildroot builds. If you want to get rid of the cache, simply remove +this directory. + +You can get statistics on the cache (its size, number of hits, +misses, etc.) by running make ccache-stats. + +The make target ccache-options and the CCACHE_OPTIONS variable +provide more generic access to the ccache. For example + +# set cache limit size +make CCACHE_OPTIONS="--max-size=5G" ccache-options + +# zero statistics counters +make CCACHE_OPTIONS="--zero-stats" ccache-options + +ccache makes a hash of the source files and of the compiler options. +If a compiler option is different, the cached object file will not be +used. Many compiler options, however, contain an absolute path to the +staging directory. Because of this, building in a different output +directory would lead to many cache misses. + +To avoid this issue, buildroot has the Use relative paths option +(BR2_CCACHE_USE_BASEDIR). This will rewrite all absolute paths that +point inside the output directory into relative paths. Thus, changing +the output directory no longer leads to cache misses. + +A disadvantage of the relative paths is that they also end up to be +relative paths in the object file. Therefore, for example, the +debugger will no longer find the file, unless you cd to the output +directory first. + +See the ccache manual’s section on "Compiling in different +directories" [https://ccache.samba.org/manual.html# +_compiling_in_different_directories] for more details about this +rewriting of absolute paths. + +8.14.4. Location of downloaded packages + +The various tarballs that are downloaded by Buildroot are all stored +in BR2_DL_DIR, which by default is the dl directory. If you want to +keep a complete version of Buildroot which is known to be working +with the associated tarballs, you can make a copy of this directory. +This will allow you to regenerate the toolchain and the target +filesystem with exactly the same versions. + +If you maintain several Buildroot trees, it might be better to have a +shared download location. This can be achieved by pointing the +BR2_DL_DIR environment variable to a directory. If this is set, then +the value of BR2_DL_DIR in the Buildroot configuration is overridden. +The following line should be added to <~/.bashrc>. + + export BR2_DL_DIR= + +The download location can also be set in the .config file, with the +BR2_DL_DIR option. Unlike most options in the .config file, this +value is overridden by the BR2_DL_DIR environment variable. + +8.14.5. Package-specific make targets + +Running make builds and installs that particular package +and its dependencies. + +For packages relying on the Buildroot infrastructure, there are +numerous special make targets that can be called independently like +this: + +make - + +The package build targets are (in the order they are executed): + ++------------------------------------------------------------+ +|command/target |Description | +|---------------+--------------------------------------------| +| source |Fetch the source (download the tarball, | +| |clone the source repository, etc) | +|---------------+--------------------------------------------| +| depends |Build and install all dependencies required | +| |to build the package | +|---------------+--------------------------------------------| +| extract |Put the source in the package build | +| |directory (extract the tarball, copy the | +| |source, etc) | +|---------------+--------------------------------------------| +| patch |Apply the patches, if any | +|---------------+--------------------------------------------| +| configure |Run the configure commands, if any | +|---------------+--------------------------------------------| +| build |Run the compilation commands | +|---------------+--------------------------------------------| +|install-staging|target package: Run the installation of the | +| |package in the staging directory, if | +| |necessary | +|---------------+--------------------------------------------| +|install-target |target package: Run the installation of the | +| |package in the target directory, if | +| |necessary | +|---------------+--------------------------------------------| +| install |target package: Run the 2 previous | +| |installation commands | +| | | +| |host package: Run the installation of the | +| |package in the host directory | ++------------------------------------------------------------+ + +Additionally, there are some other useful make targets: + ++------------------------------------------------------------+ +| command/target |Description | +|-----------------------+------------------------------------| +| show-depends |Displays the first-order | +| |dependencies required to build the | +| |package | +|-----------------------+------------------------------------| +|show-recursive-depends |Recursively displays the | +| |dependencies required to build the | +| |package | +|-----------------------+------------------------------------| +| show-rdepends |Displays the first-order reverse | +| |dependencies of the package (i.e | +| |packages that directly depend on it)| +|-----------------------+------------------------------------| +|show-recursive-rdepends|Recursively displays the reverse | +| |dependencies of the package (i.e the| +| |packages that depend on it, directly| +| |or indirectly) | +|-----------------------+------------------------------------| +| graph-depends |Generate a dependency graph of the | +| |package, in the context of the | +| |current Buildroot configuration. See| +| |this section for more details about | +| |dependency graphs. | +|-----------------------+------------------------------------| +| graph-rdepends |Generate a graph of this package | +| |reverse dependencies (i.e the | +| |packages that depend on it, directly| +| |or indirectly) | +|-----------------------+------------------------------------| +| dirclean |Remove the whole package build | +| |directory | +|-----------------------+------------------------------------| +| reinstall |Re-run the install commands | +|-----------------------+------------------------------------| +| rebuild |Re-run the compilation commands - | +| |this only makes sense when using the| +| |OVERRIDE_SRCDIR feature or when you | +| |modified a file directly in the | +| |build directory | +|-----------------------+------------------------------------| +| reconfigure |Re-run the configure commands, then | +| |rebuild - this only makes sense when| +| |using the OVERRIDE_SRCDIR feature or| +| |when you modified a file directly in| +| |the build directory | ++------------------------------------------------------------+ + +8.14.6. Using Buildroot during development + +The normal operation of Buildroot is to download a tarball, extract +it, configure, compile and install the software component found +inside this tarball. The source code is extracted in output/build/ +-, which is a temporary directory: whenever make +clean is used, this directory is entirely removed, and re-created at +the next make invocation. Even when a Git or Subversion repository is +used as the input for the package source code, Buildroot creates a +tarball out of it, and then behaves as it normally does with +tarballs. + +This behavior is well-suited when Buildroot is used mainly as an +integration tool, to build and integrate all the components of an +embedded Linux system. However, if one uses Buildroot during the +development of certain components of the system, this behavior is not +very convenient: one would instead like to make a small change to the +source code of one package, and be able to quickly rebuild the system +with Buildroot. + +Making changes directly in output/build/- is not an +appropriate solution, because this directory is removed on make +clean. + +Therefore, Buildroot provides a specific mechanism for this use case: +the _OVERRIDE_SRCDIR mechanism. Buildroot reads an override +file, which allows the user to tell Buildroot the location of the +source for certain packages. + +The default location of the override file is $(CONFIG_DIR)/local.mk, +as defined by the BR2_PACKAGE_OVERRIDE_FILE configuration option. $ +(CONFIG_DIR) is the location of the Buildroot .config file, so +local.mk by default lives side-by-side with the .config file, which +means: + + * In the top-level Buildroot source directory for in-tree builds + (i.e., when O= is not used) + * In the out-of-tree directory for out-of-tree builds (i.e., when O + = is used) + +If a different location than these defaults is required, it can be +specified through the BR2_PACKAGE_OVERRIDE_FILE configuration option. + +In this override file, Buildroot expects to find lines of the form: + +_OVERRIDE_SRCDIR = /path/to/pkg1/sources +_OVERRIDE_SRCDIR = /path/to/pkg2/sources + +For example: + +LINUX_OVERRIDE_SRCDIR = /home/bob/linux/ +BUSYBOX_OVERRIDE_SRCDIR = /home/bob/busybox/ + +When Buildroot finds that for a given package, an +_OVERRIDE_SRCDIR has been defined, it will no longer attempt to +download, extract and patch the package. Instead, it will directly +use the source code available in the specified directory and make +clean will not touch this directory. This allows to point Buildroot +to your own directories, that can be managed by Git, Subversion, or +any other version control system. To achieve this, Buildroot will use +rsync to copy the source code of the component from the specified +_OVERRIDE_SRCDIR to output/build/-custom/. + +This mechanism is best used in conjunction with the make +-rebuild and make -reconfigure targets. A make -rebuild all +sequence will rsync the source code from _OVERRIDE_SRCDIR to +output/build/-custom (thanks to rsync, only the modified +files are copied), and restart the build process of just this +package. + +In the example of the linux package above, the developer can then +make a source code change in /home/bob/linux and then run: + +make linux-rebuild all + +and in a matter of seconds gets the updated Linux kernel image in +output/images. Similarly, a change can be made to the BusyBox source +code in /home/bob/busybox, and after: + +make busybox-rebuild all + +the root filesystem image in output/images contains the updated +BusyBox. + +Source trees for big projects often contain hundreds or thousands of +files which are not needed for building, but will slow down the +process of copying the sources with rsync. Optionally, it is possible +define _OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS to skip syncing certain +files from the source tree. For example, when working on the +webkitgtk package, the following will exclude the tests and in-tree +builds from a local WebKit source tree: + +WEBKITGTK_OVERRIDE_SRCDIR = /home/bob/WebKit +WEBKITGTK_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = \ + --exclude JSTests --exclude ManualTests --exclude PerformanceTests \ + --exclude WebDriverTests --exclude WebKitBuild --exclude WebKitLibraries \ + --exclude WebKit.xcworkspace --exclude Websites --exclude Examples + +By default, Buildroot skips syncing of VCS artifacts (e.g., the .git +and .svn directories). Some packages prefer to have these VCS +directories available during build, for example for automatically +determining a precise commit reference for version information. To +undo this built-in filtering at a cost of a slower speed, add these +directories back: + +LINUX_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = --include .git + +Chapter 9. Project-specific customization + +Typical actions you may need to perform for a given project are: + + * configuring Buildroot (including build options and toolchain, + bootloader, kernel, package and filesystem image type selection) + * configuring other components, like the Linux kernel and BusyBox + * customizing the generated target filesystem + + + adding or overwriting files on the target filesystem (using + BR2_ROOTFS_OVERLAY) + + modifying or deleting files on the target filesystem (using + BR2_ROOTFS_POST_BUILD_SCRIPT) + + running arbitrary commands prior to generating the filesystem + image (using BR2_ROOTFS_POST_BUILD_SCRIPT) + + setting file permissions and ownership (using + BR2_ROOTFS_DEVICE_TABLE) + + adding custom devices nodes (using + BR2_ROOTFS_STATIC_DEVICE_TABLE) + * adding custom user accounts (using BR2_ROOTFS_USERS_TABLES) + * running arbitrary commands after generating the filesystem image + (using BR2_ROOTFS_POST_IMAGE_SCRIPT) + * adding project-specific patches to some packages (using + BR2_GLOBAL_PATCH_DIR) + * adding project-specific packages + +An important note regarding such project-specific customizations: +please carefully consider which changes are indeed project-specific +and which changes are also useful to developers outside your project. +The Buildroot community highly recommends and encourages the +upstreaming of improvements, packages and board support to the +official Buildroot project. Of course, it is sometimes not possible +or desirable to upstream because the changes are highly specific or +proprietary. + +This chapter describes how to make such project-specific +customizations in Buildroot and how to store them in a way that you +can build the same image in a reproducible way, even after running +make clean. By following the recommended strategy, you can even use +the same Buildroot tree to build multiple distinct projects! + +9.1. Recommended directory structure + +When customizing Buildroot for your project, you will be creating one +or more project-specific files that need to be stored somewhere. +While most of these files could be placed in any location as their +path is to be specified in the Buildroot configuration, the Buildroot +developers recommend a specific directory structure which is +described in this section. + +Orthogonal to this directory structure, you can choose where you +place this structure itself: either inside the Buildroot tree, or +outside of it using a br2-external tree. Both options are valid, the +choice is up to you. + ++-- board/ +| +-- / +| +-- / +| +-- linux.config +| +-- busybox.config +| +-- +| +-- post_build.sh +| +-- post_image.sh +| +-- rootfs_overlay/ +| | +-- etc/ +| | +-- +| +-- patches/ +| +-- foo/ +| | +-- +| +-- libbar/ +| +-- +| ++-- configs/ +| +-- _defconfig +| ++-- package/ +| +-- / +| +-- Config.in (if not using a br2-external tree) +| +-- .mk (if not using a br2-external tree) +| +-- package1/ +| | +-- Config.in +| | +-- package1.mk +| +-- package2/ +| +-- Config.in +| +-- package2.mk +| ++-- Config.in (if using a br2-external tree) ++-- external.mk (if using a br2-external tree) ++-- external.desc (if using a br2-external tree) + +Details on the files shown above are given further in this chapter. + +Note: if you choose to place this structure outside of the Buildroot +tree but in a br2-external tree, the and possibly + components may be superfluous and can be left out. + +9.1.1. Implementing layered customizations + +It is quite common for a user to have several related projects that +partly need the same customizations. Instead of duplicating these +customizations for each project, it is recommended to use a layered +customization approach, as explained in this section. + +Almost all of the customization methods available in Buildroot, like +post-build scripts and root filesystem overlays, accept a +space-separated list of items. The specified items are always treated +in order, from left to right. By creating more than one such item, +one for the common customizations and another one for the really +project-specific customizations, you can avoid unnecessary +duplication. Each layer is typically embodied by a separate directory +inside board//. Depending on your projects, you could even +introduce more than two layers. + +An example directory structure for where a user has two customization +layers common and fooboard is: + ++-- board/ + +-- / + +-- common/ + | +-- post_build.sh + | +-- rootfs_overlay/ + | | +-- ... + | +-- patches/ + | +-- ... + | + +-- fooboard/ + +-- linux.config + +-- busybox.config + +-- + +-- post_build.sh + +-- rootfs_overlay/ + | +-- ... + +-- patches/ + +-- ... + +For example, if the user has the BR2_GLOBAL_PATCH_DIR configuration +option set as: + +BR2_GLOBAL_PATCH_DIR="board//common/patches board//fooboard/patches" + +then first the patches from the common layer would be applied, +followed by the patches from the fooboard layer. + +9.2. Keeping customizations outside of Buildroot + +As already briefly mentioned in Section 9.1, “Recommended directory +structure”, you can place project-specific customizations in two +locations: + + * directly within the Buildroot tree, typically maintaining them + using branches in a version control system so that upgrading to a + newer Buildroot release is easy. + * outside of the Buildroot tree, using the br2-external mechanism. + This mechanism allows to keep package recipes, board support and + configuration files outside of the Buildroot tree, while still + having them nicely integrated in the build logic. We call this + location a br2-external tree. This section explains how to use + the br2-external mechanism and what to provide in a br2-external + tree. + +One can tell Buildroot to use one or more br2-external trees by +setting the BR2_EXTERNAL make variable set to the path(s) of the +br2-external tree(s) to use. It can be passed to any Buildroot make +invocation. It is automatically saved in the hidden .br2-external.mk +file in the output directory. Thanks to this, there is no need to +pass BR2_EXTERNAL at every make invocation. It can however be changed +at any time by passing a new value, and can be removed by passing an +empty value. + +Note. The path to a br2-external tree can be either absolute or +relative. If it is passed as a relative path, it is important to note +that it is interpreted relative to the main Buildroot source +directory, not to the Buildroot output directory. + +Note: If using an br2-external tree from before Buildroot 2016.11, +you need to convert it before you can use it with Buildroot 2016.11 +onward. See Section 27.2, “Migrating to 2016.11” for help on doing +so. + +Some examples: + +buildroot/ $ make BR2_EXTERNAL=/path/to/foo menuconfig + +From now on, definitions from the /path/to/foo br2-external tree will +be used: + +buildroot/ $ make +buildroot/ $ make legal-info + +We can switch to another br2-external tree at any time: + +buildroot/ $ make BR2_EXTERNAL=/where/we/have/bar xconfig + +We can also use multiple br2-external trees: + +buildroot/ $ make BR2_EXTERNAL=/path/to/foo:/where/we/have/bar menuconfig + +Or disable the usage of any br2-external tree: + +buildroot/ $ make BR2_EXTERNAL= xconfig + +9.2.1. Layout of a br2-external tree + +A br2-external tree must contain at least those three files, +described in the following chapters: + + * external.desc + * external.mk + * Config.in + +Apart from those mandatory files, there may be additional and +optional content that may be present in a br2-external tree, like the +configs/ or provides/ directories. They are described in the +following chapters as well. + +A complete example br2-external tree layout is also described later. + +9.2.1.1. The external.desc file + +That file describes the br2-external tree: the name and description +for that br2-external tree. + +The format for this file is line based, with each line starting by a +keyword, followed by a colon and one or more spaces, followed by the +value assigned to that keyword. There are two keywords currently +recognised: + + * name, mandatory, defines the name for that br2-external tree. + That name must only use ASCII characters in the set [A-Za-z0-9_]; + any other character is forbidden. Buildroot sets the variable + BR2_EXTERNAL_$(NAME)_PATH to the absolute path of the + br2-external tree, so that you can use it to refer to your + br2-external tree. This variable is available both in Kconfig, so + you can use it to source your Kconfig files (see below) and in + the Makefile, so that you can use it to include other Makefiles + (see below) or refer to other files (like data files) from your + br2-external tree. + + Note: Since it is possible to use multiple br2-external trees at + once, this name is used by Buildroot to generate variables for + each of those trees. That name is used to identify your + br2-external tree, so try to come up with a name that really + describes your br2-external tree, in order for it to be + relatively unique, so that it does not clash with another name + from another br2-external tree, especially if you are planning on + somehow sharing your br2-external tree with third parties or + using br2-external trees from third parties. + + * desc, optional, provides a short description for that + br2-external tree. It shall fit on a single line, is mostly + free-form (see below), and is used when displaying information + about a br2-external tree (e.g. above the list of defconfig + files, or as the prompt in the menuconfig); as such, it should + relatively brief (40 chars is probably a good upper limit). The + description is available in the BR2_EXTERNAL_$(NAME)_DESC + variable. + +Examples of names and the corresponding BR2_EXTERNAL_$(NAME)_PATH +variables: + + * FOO → BR2_EXTERNAL_FOO_PATH + * BAR_42 → BR2_EXTERNAL_BAR_42_PATH + +In the following examples, it is assumed the name to be set to +BAR_42. + +Note: Both BR2_EXTERNAL_$(NAME)_PATH and BR2_EXTERNAL_$(NAME)_DESC +are available in the Kconfig files and the Makefiles. They are also +exported in the environment so are available in post-build, +post-image and in-fakeroot scripts. + +9.2.1.2. The Config.in and external.mk files + +Those files (which may each be empty) can be used to define package +recipes (i.e. foo/Config.in and foo/foo.mk like for packages bundled +in Buildroot itself) or other custom configuration options or make +logic. + +Buildroot automatically includes the Config.in from each br2-external +tree to make it appear in the top-level configuration menu, and +includes the external.mk from each br2-external tree with the rest of +the makefile logic. + +The main usage of this is to store package recipes. The recommended +way to do this is to write a Config.in file that looks like: + +source "$BR2_EXTERNAL_BAR_42_PATH/package/package1/Config.in" +source "$BR2_EXTERNAL_BAR_42_PATH/package/package2/Config.in" + +Then, have an external.mk file that looks like: + +include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk)) + +And then in $(BR2_EXTERNAL_BAR_42_PATH)/package/package1 and $ +(BR2_EXTERNAL_BAR_42_PATH)/package/package2 create normal Buildroot +package recipes, as explained in Chapter 18, Adding new packages to +Buildroot. If you prefer, you can also group the packages in +subdirectories called and adapt the above paths +accordingly. + +You can also define custom configuration options in Config.in and +custom make logic in external.mk. + +9.2.1.3. The configs/ directory + +One can store Buildroot defconfigs in the configs subdirectory of the +br2-external tree. Buildroot will automatically show them in the +output of make list-defconfigs and allow them to be loaded with the +normal make _defconfig command. They will be visible in the +make list-defconfigs output, below an External configs label that +contains the name of the br2-external tree they are defined in. + +Note: If a defconfig file is present in more than one br2-external +tree, then the one from the last br2-external tree is used. It is +thus possible to override a defconfig bundled in Buildroot or another +br2-external tree. + +9.2.1.4. The provides/ directory + +For some packages, Buildroot provides a choice between two (or more) +implementations of API-compatible such packages. For example, there +is a choice to choose either libjpeg ot jpeg-turbo; there is one +between openssl or libressl; there is one to select one of the known, +pre-configured toolchains… + +It is possible for a br2-external to extend those choices, by +providing a set of files that define those alternatives: + + * provides/toolchains.in defines the pre-configured toolchains, + which will then be listed in the toolchain selection; + * provides/jpeg.in defines the alternative libjpeg implementations; + * provides/openssl.in defines the alternative openssl + implementations; + * provides/skeleton.in defines the alternative skeleton + implementations; + * provides/init.in defines the alternative init system + implementations, this can be used to select a default skeleton + for your init. + +9.2.1.5. Free-form content + +One can store all the board-specific configuration files there, such +as the kernel configuration, the root filesystem overlay, or any +other configuration file for which Buildroot allows to set the +location (by using the BR2_EXTERNAL_$(NAME)_PATH variable). For +example, you could set the paths to a global patch directory, to a +rootfs overlay and to the kernel configuration file as follows (e.g. +by running make menuconfig and filling in these options): + +BR2_GLOBAL_PATCH_DIR=$(BR2_EXTERNAL_BAR_42_PATH)/patches/ +BR2_ROOTFS_OVERLAY=$(BR2_EXTERNAL_BAR_42_PATH)/board//overlay/ +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=$(BR2_EXTERNAL_BAR_42_PATH)/board//kernel.config + +9.2.1.6. Additional Linux kernel extensions + +Additional Linux kernel extensions (see Section 18.22.2, +“linux-kernel-extensions”) can be added by storing them in the linux/ +directory at the root of a br2-external tree. + +9.2.1.7. Example layout + +Here is an example layout using all features of br2-external (the +sample content is shown for the file above it, when it is relevant to +explain the br2-external tree; this is all entirely made up just for +the sake of illustration, of course): + +/path/to/br2-ext-tree/ + |- external.desc + | |name: BAR_42 + | |desc: Example br2-external tree + | `---- + | + |- Config.in + | |source "$BR2_EXTERNAL_BAR_42_PATH/toolchain/toolchain-external-mine/Config.in.options" + | |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-1/Config.in" + | |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-2/Config.in" + | |source "$BR2_EXTERNAL_BAR_42_PATH/package/my-jpeg/Config.in" + | | + | |config BAR_42_FLASH_ADDR + | | hex "my-board flash address" + | | default 0x10AD + | `---- + | + |- external.mk + | |include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk)) + | |include $(sort $(wildcard $(BR2_EXTERNAL_BAR_42_PATH)/toolchain/*/*.mk)) + | | + | |flash-my-board: + | | $(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/flash-image \ + | | --image $(BINARIES_DIR)/image.bin \ + | | --address $(BAR_42_FLASH_ADDR) + | `---- + | + |- package/pkg-1/Config.in + | |config BR2_PACKAGE_PKG_1 + | | bool "pkg-1" + | | help + | | Some help about pkg-1 + | `---- + |- package/pkg-1/pkg-1.hash + |- package/pkg-1/pkg-1.mk + | |PKG_1_VERSION = 1.2.3 + | |PKG_1_SITE = /some/where/to/get/pkg-1 + | |PKG_1_LICENSE = blabla + | | + | |define PKG_1_INSTALL_INIT_SYSV + | | $(INSTALL) -D -m 0755 $(PKG_1_PKGDIR)/S99my-daemon \ + | | $(TARGET_DIR)/etc/init.d/S99my-daemon + | |endef + | | + | |$(eval $(autotools-package)) + | `---- + |- package/pkg-1/S99my-daemon + | + |- package/pkg-2/Config.in + |- package/pkg-2/pkg-2.hash + |- package/pkg-2/pkg-2.mk + | + |- provides/jpeg.in + | |config BR2_PACKAGE_MY_JPEG + | | bool "my-jpeg" + | `---- + |- package/my-jpeg/Config.in + | |config BR2_PACKAGE_PROVIDES_JPEG + | | default "my-jpeg" if BR2_PACKAGE_MY_JPEG + | `---- + |- package/my-jpeg/my-jpeg.mk + | |# This is a normal package .mk file + | |MY_JPEG_VERSION = 1.2.3 + | |MY_JPEG_SITE = https://example.net/some/place + | |MY_JPEG_PROVIDES = jpeg + | |$(eval $(autotools-package)) + | `---- + | + |- provides/init.in + | |config BR2_INIT_MINE + | | bool "my custom init" + | | select BR2_PACKAGE_MY_INIT + | | select BR2_PACKAGE_SKELETON_INIT_MINE if BR2_ROOTFS_SKELETON_DEFAULT + | `---- + | + |- provides/skeleton.in + | |config BR2_ROOTFS_SKELETON_MINE + | | bool "my custom skeleton" + | | select BR2_PACKAGE_SKELETON_MINE + | `---- + |- package/skeleton-mine/Config.in + | |config BR2_PACKAGE_SKELETON_MINE + | | bool + | | select BR2_PACKAGE_HAS_SKELETON + | | + | |config BR2_PACKAGE_PROVIDES_SKELETON + | | default "skeleton-mine" if BR2_PACKAGE_SKELETON_MINE + | `---- + |- package/skeleton-mine/skeleton-mine.mk + | |SKELETON_MINE_ADD_TOOLCHAIN_DEPENDENCY = NO + | |SKELETON_MINE_ADD_SKELETON_DEPENDENCY = NO + | |SKELETON_MINE_PROVIDES = skeleton + | |SKELETON_MINE_INSTALL_STAGING = YES + | |$(eval $(generic-package)) + | `---- + | + |- provides/toolchains.in + | |config BR2_TOOLCHAIN_EXTERNAL_MINE + | | bool "my custom toolchain" + | | depends on BR2_some_arch + | | select BR2_INSTALL_LIBSTDCPP + | `---- + |- toolchain/toolchain-external-mine/Config.in.options + | |if BR2_TOOLCHAIN_EXTERNAL_MINE + | |config BR2_TOOLCHAIN_EXTERNAL_PREFIX + | | default "arch-mine-linux-gnu" + | |config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL + | | default "toolchain-external-mine" + | |endif + | `---- + |- toolchain/toolchain-external-mine/toolchain-external-mine.mk + | |TOOLCHAIN_EXTERNAL_MINE_SITE = https://example.net/some/place + | |TOOLCHAIN_EXTERNAL_MINE_SOURCE = my-toolchain.tar.gz + | |$(eval $(toolchain-external-package)) + | `---- + | + |- linux/Config.ext.in + | |config BR2_LINUX_KERNEL_EXT_EXAMPLE_DRIVER + | | bool "example-external-driver" + | | help + | | Example external driver + | |--- + |- linux/linux-ext-example-driver.mk + | + |- configs/my-board_defconfig + | |BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_BAR_42_PATH)/patches/" + | |BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/overlay/" + | |BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/post-image.sh" + | |BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/kernel.config" + | `---- + | + |- patches/linux/0001-some-change.patch + |- patches/linux/0002-some-other-change.patch + |- patches/busybox/0001-fix-something.patch + | + |- board/my-board/kernel.config + |- board/my-board/overlay/var/www/index.html + |- board/my-board/overlay/var/www/my.css + |- board/my-board/flash-image + `- board/my-board/post-image.sh + |#!/bin/sh + |generate-my-binary-image \ + | --root ${BINARIES_DIR}/rootfs.tar \ + | --kernel ${BINARIES_DIR}/zImage \ + | --dtb ${BINARIES_DIR}/my-board.dtb \ + | --output ${BINARIES_DIR}/image.bin + `---- + +The br2-external tree will then be visible in the menuconfig (with +the layout expanded): + +External options ---> + *** Example br2-external tree (in /path/to/br2-ext-tree/) + [ ] pkg-1 + [ ] pkg-2 + (0x10AD) my-board flash address + +If you are using more than one br2-external tree, it would look like +(with the layout expanded and the second one with name FOO_27 but no +desc: field in external.desc): + +External options ---> + Example br2-external tree ---> + *** Example br2-external tree (in /path/to/br2-ext-tree) + [ ] pkg-1 + [ ] pkg-2 + (0x10AD) my-board flash address + FOO_27 ---> + *** FOO_27 (in /path/to/another-br2-ext) + [ ] foo + [ ] bar + +Additionally, the jpeg provider will be visible in the jpeg choice: + +Target packages ---> + Libraries ---> + Graphics ---> + [*] jpeg support + jpeg variant () ---> + ( ) jpeg + ( ) jpeg-turbo + *** jpeg from: Example br2-external tree *** + (X) my-jpeg + *** jpeg from: FOO_27 *** + ( ) another-jpeg + +And similarly for the toolchains: + +Toolchain ---> + Toolchain () ---> + ( ) Custom toolchain + *** Toolchains from: Example br2-external tree *** + (X) my custom toolchain + +Note. The toolchain options in toolchain/toolchain-external-mine/ +Config.in.options will not appear in the Toolchain menu. They must be +explicitly included from within the br2-external’s top-level +Config.in and will thus appear in the External options menu. + +9.3. Storing the Buildroot configuration + +The Buildroot configuration can be stored using the command make +savedefconfig. + +This strips the Buildroot configuration down by removing +configuration options that are at their default value. The result is +stored in a file called defconfig. If you want to save it in another +place, change the BR2_DEFCONFIG option in the Buildroot configuration +itself, or call make with make savedefconfig BR2_DEFCONFIG= +. + +The recommended place to store this defconfig is configs/ +_defconfig. If you follow this recommendation, the configuration will +be listed in make help and can be set again by running make +_defconfig. + +Alternatively, you can copy the file to any other place and rebuild +with make defconfig BR2_DEFCONFIG=. + +9.4. Storing the configuration of other components + +The configuration files for BusyBox, the Linux kernel, Barebox, +U-Boot and uClibc should be stored as well if changed. For each of +these components, a Buildroot configuration option exists to point to +an input configuration file, e.g. +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. To store their configuration, +set these configuration options to a path where you want to save the +configuration files, and then use the helper targets described below +to actually store the configuration. + +As explained in Section 9.1, “Recommended directory structure”, the +recommended path to store these configuration files is board/ +//foo.config. + +Make sure that you create a configuration file before changing the +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE etc. options. Otherwise, +Buildroot will try to access this config file, which doesn’t exist +yet, and will fail. You can create the configuration file by running +make linux-menuconfig etc. + +Buildroot provides a few helper targets to make the saving of +configuration files easier. + + * make linux-update-defconfig saves the linux configuration to the + path specified by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE. It + simplifies the config file by removing default values. However, + this only works with kernels starting from 2.6.33. For earlier + kernels, use make linux-update-config. + * make busybox-update-config saves the busybox configuration to the + path specified by BR2_PACKAGE_BUSYBOX_CONFIG. + * make uclibc-update-config saves the uClibc configuration to the + path specified by BR2_UCLIBC_CONFIG. + * make barebox-update-defconfig saves the barebox configuration to + the path specified by BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE. + * make uboot-update-defconfig saves the U-Boot configuration to the + path specified by BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE. + * For at91bootstrap3, no helper exists so you have to copy the + config file manually to + BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE. + +9.5. Customizing the generated target filesystem + +Besides changing the configuration through make *config, there are a +few other ways to customize the resulting target filesystem. + +The two recommended methods, which can co-exist, are root filesystem +overlay(s) and post build script(s). + +Root filesystem overlays (BR2_ROOTFS_OVERLAY) + + A filesystem overlay is a tree of files that is copied directly + over the target filesystem after it has been built. To enable + this feature, set config option BR2_ROOTFS_OVERLAY (in the System + configuration menu) to the root of the overlay. You can even + specify multiple overlays, space-separated. If you specify a + relative path, it will be relative to the root of the Buildroot + tree. Hidden directories of version control systems, like .git, + .svn, .hg, etc., files called .empty and files ending in ~ are + excluded from the copy. + + When BR2_ROOTFS_MERGED_USR is enabled, then the overlay must not + contain the /bin, /lib or /sbin directories, as Buildroot will + create them as symbolic links to the relevant folders in /usr. In + such a situation, should the overlay have any programs or + libraries, they should be placed in /usr/bin, /usr/sbin and /usr/ + lib. + + As shown in Section 9.1, “Recommended directory structure”, the + recommended path for this overlay is board/// + rootfs-overlay. + +Post-build scripts (BR2_ROOTFS_POST_BUILD_SCRIPT) + + Post-build scripts are shell scripts called after Buildroot + builds all the selected software, but before the rootfs images + are assembled. To enable this feature, specify a space-separated + list of post-build scripts in config option + BR2_ROOTFS_POST_BUILD_SCRIPT (in the System configuration menu). + If you specify a relative path, it will be relative to the root + of the Buildroot tree. + + Using post-build scripts, you can remove or modify any file in + your target filesystem. You should, however, use this feature + with care. Whenever you find that a certain package generates + wrong or unneeded files, you should fix that package rather than + work around it with some post-build cleanup scripts. + + As shown in Section 9.1, “Recommended directory structure”, the + recommended path for this script is board/// + post_build.sh. + + The post-build scripts are run with the main Buildroot tree as + current working directory. The path to the target filesystem is + passed as the first argument to each script. If the config option + BR2_ROOTFS_POST_SCRIPT_ARGS is not empty, these arguments will be + passed to the script too. All the scripts will be passed the + exact same set of arguments, it is not possible to pass different + sets of arguments to each script. + + In addition, you may also use these environment variables: + + + BR2_CONFIG: the path to the Buildroot .config file + + CONFIG_DIR: the directory containing the .config file, and + therefore the top-level Buildroot Makefile to use (which is + correct for both in-tree and out-of-tree builds) + + HOST_DIR, STAGING_DIR, TARGET_DIR: see Section 18.6.2, + “generic-package reference” + + BUILD_DIR: the directory where packages are extracted and + built + + BINARIES_DIR: the place where all binary files (aka images) + are stored + + BASE_DIR: the base output directory + +Below three more methods of customizing the target filesystem are +described, but they are not recommended. + +Direct modification of the target filesystem + + For temporary modifications, you can modify the target filesystem + directly and rebuild the image. The target filesystem is + available under output/target/. After making your changes, run + make to rebuild the target filesystem image. + + This method allows you to do anything to the target filesystem, + but if you need to clean your Buildroot tree using make clean, + these changes will be lost. Such cleaning is necessary in several + cases, refer to Section 8.2, “Understanding when a full rebuild + is necessary” for details. This solution is therefore only useful + for quick tests: changes do not survive the make clean command. + Once you have validated your changes, you should make sure that + they will persist after a make clean, using a root filesystem + overlay or a post-build script. + +Custom target skeleton (BR2_ROOTFS_SKELETON_CUSTOM) + + The root filesystem image is created from a target skeleton, on + top of which all packages install their files. The skeleton is + copied to the target directory output/target before any package + is built and installed. The default target skeleton provides the + standard Unix filesystem layout and some basic init scripts and + configuration files. + + If the default skeleton (available under system/skeleton) does + not match your needs, you would typically use a root filesystem + overlay or post-build script to adapt it. However, if the default + skeleton is entirely different than what you need, using a custom + skeleton may be more suitable. + + To enable this feature, enable config option + BR2_ROOTFS_SKELETON_CUSTOM and set + BR2_ROOTFS_SKELETON_CUSTOM_PATH to the path of your custom + skeleton. Both options are available in the System configuration + menu. If you specify a relative path, it will be relative to the + root of the Buildroot tree. + + Custom skeletons don’t need to contain the /bin, /lib or /sbin + directories, since they are created automatically during the + build. When BR2_ROOTFS_MERGED_USR is enabled, then the custom + skeleton must not contain the /bin, /lib or /sbin directories, as + Buildroot will create them as symbolic links to the relevant + folders in /usr. In such a situation, should the skeleton have + any programs or libraries, they should be placed in /usr/bin, / + usr/sbin and /usr/lib. + + This method is not recommended because it duplicates the entire + skeleton, which prevents taking advantage of the fixes or + improvements brought to the default skeleton in later Buildroot + releases. + +Post-fakeroot scripts (BR2_ROOTFS_POST_FAKEROOT_SCRIPT) + + When aggregating the final images, some parts of the process + requires root rights: creating device nodes in /dev, setting + permissions or ownership to files and directories… To avoid + requiring actual root rights, Buildroot uses fakeroot to simulate + root rights. This is not a complete substitute for actually being + root, but is enough for what Buildroot needs. + + Post-fakeroot scripts are shell scripts that are called at the + end of the fakeroot phase, right before the filesystem image + generator is called. As such, they are called in the fakeroot + context. + + Post-fakeroot scripts can be useful in case you need to tweak the + filesystem to do modifications that are usually only available to + the root user. + + Note: It is recommended to use the existing mechanisms to set + file permissions or create entries in /dev (see Section 9.5.1, + “Setting file permissions and ownership and adding custom devices + nodes”) or to create users (see Section 9.6, “Adding custom user + accounts”) + + Note: The difference between post-build scripts (above) and + fakeroot scripts, is that post-build scripts are not called in + the fakeroot context. + + Note: Using fakeroot is not an absolute substitute for actually + being root. fakeroot only ever fakes the file access rights and + types (regular, block-or-char device…) and uid/gid; these are + emulated in-memory. + +9.5.1. Setting file permissions and ownership and adding custom +devices nodes + +Sometimes it is needed to set specific permissions or ownership on +files or device nodes. For example, certain files may need to be +owned by root. Since the post-build scripts are not run as root, you +cannot do such changes from there unless you use an explicit fakeroot +from the post-build script. + +Instead, Buildroot provides support for so-called permission tables. +To use this feature, set config option BR2_ROOTFS_DEVICE_TABLE to a +space-separated list of permission tables, regular text files +following the makedev syntax. + +If you are using a static device table (i.e. not using devtmpfs, +mdev, or (e)udev) then you can add device nodes using the same +syntax, in so-called device tables. To use this feature, set config +option BR2_ROOTFS_STATIC_DEVICE_TABLE to a space-separated list of +device tables. + +As shown in Section 9.1, “Recommended directory structure”, the +recommended location for such files is board///. + +It should be noted that if the specific permissions or device nodes +are related to a specific application, you should set variables +FOO_PERMISSIONS and FOO_DEVICES in the package’s .mk file instead +(see Section 18.6.2, “generic-package reference”). + +9.6. Adding custom user accounts + +Sometimes it is needed to add specific users in the target system. To +cover this requirement, Buildroot provides support for so-called +users tables. To use this feature, set config option +BR2_ROOTFS_USERS_TABLES to a space-separated list of users tables, +regular text files following the makeusers syntax. + +As shown in Section 9.1, “Recommended directory structure”, the +recommended location for such files is board///. + +It should be noted that if the custom users are related to a specific +application, you should set variable FOO_USERS in the package’s .mk +file instead (see Section 18.6.2, “generic-package reference”). + +9.7. Customization after the images have been created + +While post-build scripts (Section 9.5, “Customizing the generated +target filesystem”) are run before building the filesystem image, +kernel and bootloader, post-image scripts can be used to perform some +specific actions after all images have been created. + +Post-image scripts can for example be used to automatically extract +your root filesystem tarball in a location exported by your NFS +server, or to create a special firmware image that bundles your root +filesystem and kernel image, or any other custom action required for +your project. + +To enable this feature, specify a space-separated list of post-image +scripts in config option BR2_ROOTFS_POST_IMAGE_SCRIPT (in the System +configuration menu). If you specify a relative path, it will be +relative to the root of the Buildroot tree. + +Just like post-build scripts, post-image scripts are run with the +main Buildroot tree as current working directory. The path to the +images output directory is passed as the first argument to each +script. If the config option BR2_ROOTFS_POST_SCRIPT_ARGS is not +empty, these arguments will be passed to the script too. All the +scripts will be passed the exact same set of arguments, it is not +possible to pass different sets of arguments to each script. + +Again just like for the post-build scripts, the scripts have access +to the environment variables BR2_CONFIG, HOST_DIR, STAGING_DIR, +TARGET_DIR, BUILD_DIR, BINARIES_DIR, CONFIG_DIR and BASE_DIR. + +The post-image scripts will be executed as the user that executes +Buildroot, which should normally not be the root user. Therefore, any +action requiring root permissions in one of these scripts will +require special handling (usage of fakeroot or sudo), which is left +to the script developer. + +9.8. Adding project-specific patches + +It is sometimes useful to apply extra patches to packages - on top of +those provided in Buildroot. This might be used to support custom +features in a project, for example, or when working on a new +architecture. + +The BR2_GLOBAL_PATCH_DIR configuration option can be used to specify +a space separated list of one or more directories containing package +patches. + +For a specific version of a specific package +, patches are applied from BR2_GLOBAL_PATCH_DIR as +follows: + + 1. For every directory - - that exists in + BR2_GLOBAL_PATCH_DIR, a will be determined as + follows: + + + /// if the + directory exists. + + Otherwise, / if the directory + exists. + 2. Patches will then be applied from a as + follows: + + + If a series file exists in the package directory, then + patches are applied according to the series file; + + Otherwise, patch files matching *.patch are applied in + alphabetical order. So, to ensure they are applied in the + right order, it is highly recommended to name the patch files + like this: -.patch, where + refers to the apply order. + +For information about how patches are applied for a package, see +Section 19.2, “How patches are applied” + +The BR2_GLOBAL_PATCH_DIR option is the preferred method for +specifying a custom patch directory for packages. It can be used to +specify a patch directory for any package in buildroot. It should +also be used in place of the custom patch directory options that are +available for packages such as U-Boot and Barebox. By doing this, it +will allow a user to manage their patches from one top-level +directory. + +The exception to BR2_GLOBAL_PATCH_DIR being the preferred method for +specifying custom patches is BR2_LINUX_KERNEL_PATCH. +BR2_LINUX_KERNEL_PATCH should be used to specify kernel patches that +are available at a URL. Note: BR2_LINUX_KERNEL_PATCH specifies kernel +patches that are applied after patches available in +BR2_GLOBAL_PATCH_DIR, as it is done from a post-patch hook of the +Linux package. + +9.9. Adding project-specific packages + +In general, any new package should be added directly in the package +directory and submitted to the Buildroot upstream project. How to add +packages to Buildroot in general is explained in full detail in +Chapter 18, Adding new packages to Buildroot and will not be repeated +here. However, your project may need some proprietary packages that +cannot be upstreamed. This section will explain how you can keep such +project-specific packages in a project-specific directory. + +As shown in Section 9.1, “Recommended directory structure”, the +recommended location for project-specific packages is package/ +/. If you are using the br2-external tree feature (see +Section 9.2, “Keeping customizations outside of Buildroot”) the +recommended location is to put them in a sub-directory named package/ +in your br2-external tree. + +However, Buildroot will not be aware of the packages in this +location, unless we perform some additional steps. As explained in +Chapter 18, Adding new packages to Buildroot, a package in Buildroot +basically consists of two files: a .mk file (describing how to build +the package) and a Config.in file (describing the configuration +options for this package). + +Buildroot will automatically include the .mk files in first-level +subdirectories of the package directory (using the pattern package/*/ +*.mk). If we want Buildroot to include .mk files from deeper +subdirectories (like package//package1/) then we simply have +to add a .mk file in a first-level subdirectory that includes these +additional .mk files. Therefore, create a file package// +.mk with following contents (assuming you have only one +extra directory level below package//): + +include $(sort $(wildcard package//*/*.mk)) + +For the Config.in files, create a file package//Config.in +that includes the Config.in files of all your packages. An exhaustive +list has to be provided since wildcards are not supported in the +source command of kconfig. For example: + +source "package//package1/Config.in" +source "package//package2/Config.in" + +Include this new file package//Config.in from package/ +Config.in, preferably in a company-specific menu to make merges with +future Buildroot versions easier. + +If using a br2-external tree, refer to Section 9.2, “Keeping +customizations outside of Buildroot” for how to fill in those files. + +9.10. Quick guide to storing your project-specific customizations + +Earlier in this chapter, the different methods for making +project-specific customizations have been described. This section +will now summarize all this by providing step-by-step instructions to +storing your project-specific customizations. Clearly, the steps that +are not relevant to your project can be skipped. + + 1. make menuconfig to configure toolchain, packages and kernel. + 2. make linux-menuconfig to update the kernel config, similar for + other configuration like busybox, uclibc, … + 3. mkdir -p board// + 4. Set the following options to board/// + .config (as far as they are relevant): + + + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE + + BR2_PACKAGE_BUSYBOX_CONFIG + + BR2_UCLIBC_CONFIG + + BR2_TARGET_AT91BOOTSTRAP3_CUSTOM_CONFIG_FILE + + BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE + + BR2_TARGET_UBOOT_CUSTOM_CONFIG_FILE + 5. Write the configuration files: + + + make linux-update-defconfig + + make busybox-update-config + + make uclibc-update-config + + cp /build/at91bootstrap3-*/.config board/ + //at91bootstrap3.config + + make barebox-update-defconfig + + make uboot-update-defconfig + 6. Create board///rootfs-overlay/ and fill + it with additional files you need on your rootfs, e.g. board/ + //rootfs-overlay/etc/inittab. Set + BR2_ROOTFS_OVERLAY to board/// + rootfs-overlay. + 7. Create a post-build script board/// + post_build.sh. Set BR2_ROOTFS_POST_BUILD_SCRIPT to board/ + //post_build.sh + 8. If additional setuid permissions have to be set or device nodes + have to be created, create board/// + device_table.txt and add that path to BR2_ROOTFS_DEVICE_TABLE. + 9. If additional user accounts have to be created, create board/ + //users_table.txt and add that path to + BR2_ROOTFS_USERS_TABLES. +10. To add custom patches to certain packages, set + BR2_GLOBAL_PATCH_DIR to board///patches/ + and add your patches for each package in a subdirectory named + after the package. Each patch should be called - + -.patch. +11. Specifically for the Linux kernel, there also exists the option + BR2_LINUX_KERNEL_PATCH with as main advantage that it can also + download patches from a URL. If you do not need this, + BR2_GLOBAL_PATCH_DIR is preferred. U-Boot, Barebox, at91bootstrap + and at91bootstrap3 also have separate options, but these do not + provide any advantage over BR2_GLOBAL_PATCH_DIR and will likely + be removed in the future. +12. If you need to add project-specific packages, create package/ + / and place your packages in that directory. Create + an overall .mk file that includes the .mk files of + all your packages. Create an overall Config.in file that sources + the Config.in files of all your packages. Include this Config.in + file from Buildroot’s package/Config.in file. +13. make savedefconfig to save the buildroot configuration. +14. cp defconfig configs/_defconfig + +Chapter 10. Using SELinux in Buildroot + +SELinux [https://selinuxproject.org] is a Linux kernel security +module enforcing access control policies. In addition to the +traditional file permissions and access control lists, SELinux allows +to write rules for users or processes to access specific functions of +resources (files, sockets…). + +SELinux has three modes of operation: + + * Disabled: the policy is not applied + * Permissive: the policy is applied, and non-authorized actions are + simply logged. This mode is often used for troubleshooting + SELinux issues. + * Enforcing: the policy is applied, and non-authorized actions are + denied + +In Buildroot the mode of operation is controlled by the +BR2_PACKAGE_REFPOLICY_POLICY_STATE_* configuration options. The Linux +kernel also has various configuration options that affect how SELinux +is enabled (see security/selinux/Kconfig in the Linux kernel +sources). + +By default in Buildroot the SELinux policy is provided by the +upstream refpolicy [https://github.com/SELinuxProject/refpolicy] +project, enabled with BR2_PACKAGE_REFPOLICY. + +10.1. Enabling SELinux support + +To have proper support for SELinux in a Buildroot generated system, +the following configuration options must be enabled: + + * BR2_PACKAGE_LIBSELINUX + * BR2_PACKAGE_REFPOLICY + +In addition, your filesystem image format must support extended +attributes. + +10.2. SELinux policy tweaking + +The SELinux refpolicy contains modules that can be enabled or +disabled when being built. Each module provide a number of SELinux +rules. In Buildroot the non-base modules are disabled by default and +several ways to enable such modules are provided: + + * Packages can enable a list of SELinux modules within the + refpolicy using the _SELINUX_MODULES variable. + * Packages can provide additional SELinux modules by putting them + (.fc, .if and .te files) in package//selinux/. + * Extra SELinux modules can be added in directories pointed by the + BR2_REFPOLICY_EXTRA_MODULES_DIRS configuration option. + * Additional modules in the refpolicy can be enabled if listed in + the BR2_REFPOLICY_EXTRA_MODULES_DEPENDENCIES configuration + option. + +Buildroot also allows to completely override the refpolicy. This +allows to provide a full custom policy designed specifically for a +given system. When going this way, all of the above mechanisms are +disabled: no extra SElinux module is added to the policy, and all the +available modules within the custom policy are enabled and built into +the final binary policy. The custom policy must be a fork of the +official refpolicy [https://github.com/SELinuxProject/refpolicy]. + +In order to fully override the refpolicy the following configuration +variables have to be set: + + * BR2_PACKAGE_REFPOLICY_CUSTOM_GIT + * BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL + * BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_VERSION + +Chapter 11. Frequently Asked Questions & Troubleshooting + +11.1. The boot hangs after Starting network… + +If the boot process seems to hang after the following messages +(messages not necessarily exactly similar, depending on the list of +packages selected): + +Freeing init memory: 3972K +Initializing random number generator... done. +Starting network... +Starting dropbear sshd: generating rsa key... generating dsa key... OK + +then it means that your system is running, but didn’t start a shell +on the serial console. In order to have the system start a shell on +your serial console, you have to go into the Buildroot configuration, +in System configuration, modify Run a getty (login prompt) after boot +and set the appropriate port and baud rate in the getty options +submenu. This will automatically tune the /etc/inittab file of the +generated system so that a shell starts on the correct serial port. + +11.2. Why is there no compiler on the target? + +It has been decided that support for the native compiler on the +target would be stopped from the Buildroot-2012.11 release because: + + * this feature was neither maintained nor tested, and often broken; + * this feature was only available for Buildroot toolchains; + * Buildroot mostly targets small or very small target hardware with + limited resource onboard (CPU, ram, mass-storage), for which + compiling on the target does not make much sense; + * Buildroot aims at easing the cross-compilation, making native + compilation on the target unnecessary. + +If you need a compiler on your target anyway, then Buildroot is not +suitable for your purpose. In such case, you need a real distribution +and you should opt for something like: + + * openembedded [http://www.openembedded.org] + * yocto [https://www.yoctoproject.org] + * Debian [https://www.debian.org/ports/] + * Fedora [https://fedoraproject.org/wiki/Architectures] + * openSUSE ARM [http://en.opensuse.org/Portal:ARM] + * Arch Linux ARM [http://archlinuxarm.org] + * … + +11.3. Why are there no development files on the target? + +Since there is no compiler available on the target (see Section 11.2, +“Why is there no compiler on the target?”), it does not make sense to +waste space with headers or static libraries. + +Therefore, those files are always removed from the target since the +Buildroot-2012.11 release. + +11.4. Why is there no documentation on the target? + +Because Buildroot mostly targets small or very small target hardware +with limited resource onboard (CPU, ram, mass-storage), it does not +make sense to waste space with the documentation data. + +If you need documentation data on your target anyway, then Buildroot +is not suitable for your purpose, and you should look for a real +distribution (see: Section 11.2, “Why is there no compiler on the +target?”). + +11.5. Why are some packages not visible in the Buildroot config menu? + +If a package exists in the Buildroot tree and does not appear in the +config menu, this most likely means that some of the package’s +dependencies are not met. + +To know more about the dependencies of a package, search for the +package symbol in the config menu (see Section 8.1, “make tips”). + +Then, you may have to recursively enable several options (which +correspond to the unmet dependencies) to finally be able to select +the package. + +If the package is not visible due to some unmet toolchain options, +then you should certainly run a full rebuild (see Section 8.1, “make +tips” for more explanations). + +11.6. Why not use the target directory as a chroot directory? + +There are plenty of reasons to not use the target directory a chroot +one, among these: + + * file ownerships, modes and permissions are not correctly set in + the target directory; + * device nodes are not created in the target directory. + +For these reasons, commands run through chroot, using the target +directory as the new root, will most likely fail. + +If you want to run the target filesystem inside a chroot, or as an +NFS root, then use the tarball image generated in images/ and extract +it as root. + +11.7. Why doesn’t Buildroot generate binary packages (.deb, .ipkg…)? + +One feature that is often discussed on the Buildroot list is the +general topic of "package management". To summarize, the idea would +be to add some tracking of which Buildroot package installs what +files, with the goals of: + + * being able to remove files installed by a package when this + package gets unselected from the menuconfig; + * being able to generate binary packages (ipk or other format) that + can be installed on the target without re-generating a new root + filesystem image. + +In general, most people think it is easy to do: just track which +package installed what and remove it when the package is unselected. +However, it is much more complicated than that: + + * It is not only about the target/ directory, but also the sysroot + in host//sysroot and the host/ directory itself. All files + installed in those directories by various packages must be + tracked. + * When a package is unselected from the configuration, it is not + sufficient to remove just the files it installed. One must also + remove all its reverse dependencies (i.e. packages relying on it) + and rebuild all those packages. For example, package A depends + optionally on the OpenSSL library. Both are selected, and + Buildroot is built. Package A is built with crypto support using + OpenSSL. Later on, OpenSSL gets unselected from the + configuration, but package A remains (since OpenSSL is an + optional dependency, this is possible.) If only OpenSSL files are + removed, then the files installed by package A are broken: they + use a library that is no longer present on the target. Although + this is technically doable, it adds a lot of complexity to + Buildroot, which goes against the simplicity we try to stick to. + * In addition to the previous problem, there is the case where the + optional dependency is not even known to Buildroot. For example, + package A in version 1.0 never used OpenSSL, but in version 2.0 + it automatically uses OpenSSL if available. If the Buildroot .mk + file hasn’t been updated to take this into account, then package + A will not be part of the reverse dependencies of OpenSSL and + will not be removed and rebuilt when OpenSSL is removed. For + sure, the .mk file of package A should be fixed to mention this + optional dependency, but in the mean time, you can have + non-reproducible behaviors. + * The request is to also allow changes in the menuconfig to be + applied on the output directory without having to rebuild + everything from scratch. However, this is very difficult to + achieve in a reliable way: what happens when the suboptions of a + package are changed (we would have to detect this, and rebuild + the package from scratch and potentially all its reverse + dependencies), what happens if toolchain options are changed, + etc. At the moment, what Buildroot does is clear and simple so + its behaviour is very reliable and it is easy to support users. + If configuration changes done in menuconfig are applied after the + next make, then it has to work correctly and properly in all + situations, and not have some bizarre corner cases. The risk is + to get bug reports like "I have enabled package A, B and C, then + ran make, then disabled package C and enabled package D and ran + make, then re-enabled package C and enabled package E and then + there is a build failure". Or worse "I did some configuration, + then built, then did some changes, built, some more changes, + built, some more changes, built, and now it fails, but I don’t + remember all the changes I did and in which order". This will be + impossible to support. + +For all these reasons, the conclusion is that adding tracking of +installed files to remove them when the package is unselected, or to +generate a repository of binary packages, is something that is very +hard to achieve reliably and will add a lot of complexity. + +On this matter, the Buildroot developers make this position +statement: + + * Buildroot strives to make it easy to generate a root filesystem + (hence the name, by the way.) That is what we want to make + Buildroot good at: building root filesystems. + * Buildroot is not meant to be a distribution (or rather, a + distribution generator.) It is the opinion of most Buildroot + developers that this is not a goal we should pursue. We believe + that there are other tools better suited to generate a distro + than Buildroot is. For example, Open Embedded [http:// + openembedded.org/], or openWRT [https://openwrt.org/], are such + tools. + * We prefer to push Buildroot in a direction that makes it easy (or + even easier) to generate complete root filesystems. This is what + makes Buildroot stands out in the crowd (among other things, of + course!) + * We believe that for most embedded Linux systems, binary packages + are not necessary, and potentially harmful. When binary packages + are used, it means that the system can be partially upgraded, + which creates an enormous number of possible combinations of + package versions that should be tested before doing the upgrade + on the embedded device. On the other hand, by doing complete + system upgrades by upgrading the entire root filesystem image at + once, the image deployed to the embedded system is guaranteed to + really be the one that has been tested and validated. + +11.8. How to speed-up the build process? + +Since Buildroot often involves doing full rebuilds of the entire +system that can be quite long, we provide below a number of tips to +help reduce the build time: + + * Use a pre-built external toolchain instead of the default + Buildroot internal toolchain. By using a pre-built Linaro + toolchain (on ARM) or a Sourcery CodeBench toolchain (for ARM, + x86, x86-64, MIPS, etc.), you will save the build time of the + toolchain at each complete rebuild, approximately 15 to 20 + minutes. Note that temporarily using an external toolchain does + not prevent you to switch back to an internal toolchain (that may + provide a higher level of customization) once the rest of your + system is working; + * Use the ccache compiler cache (see: Section 8.14.3, “Using ccache + in Buildroot”); + * Learn about rebuilding only the few packages you actually care + about (see Section 8.3, “Understanding how to rebuild packages”), + but beware that sometimes full rebuilds are anyway necessary (see + Section 8.2, “Understanding when a full rebuild is necessary”); + * Make sure you are not using a virtual machine for the Linux + system used to run Buildroot. Most of the virtual machine + technologies are known to cause a significant performance impact + on I/O, which is really important for building source code; + * Make sure that you’re using only local files: do not attempt to + do a build over NFS, which significantly slows down the build. + Having the Buildroot download folder available locally also helps + a bit. + * Buy new hardware. SSDs and lots of RAM are key to speeding up the + builds. + * Experiment with top-level parallel build, see Section 8.12, + “Top-level parallel build”. + +Chapter 12. Known issues + + * It is not possible to pass extra linker options via + BR2_TARGET_LDFLAGS if such options contain a $ sign. For example, + the following is known to break: BR2_TARGET_LDFLAGS="-Wl,-rpath= + '$ORIGIN/../lib'" + * The libffi package is not supported on the SuperH 2, nds32, and + ARMv7-M architectures. + * The prboom package triggers a compiler failure with the SuperH 4 + compiler from Sourcery CodeBench, version 2012.09. + +Chapter 13. Legal notice and licensing + +13.1. Complying with open source licenses + +All of the end products of Buildroot (toolchain, root filesystem, +kernel, bootloaders) contain open source software, released under +various licenses. + +Using open source software gives you the freedom to build rich +embedded systems, choosing from a wide range of packages, but also +imposes some obligations that you must know and honour. Some licenses +require you to publish the license text in the documentation of your +product. Others require you to redistribute the source code of the +software to those that receive your product. + +The exact requirements of each license are documented in each +package, and it is your responsibility (or that of your legal office) +to comply with those requirements. To make this easier for you, +Buildroot can collect for you some material you will probably need. +To produce this material, after you have configured Buildroot with +make menuconfig, make xconfig or make gconfig, run: + +make legal-info + +Buildroot will collect legally-relevant material in your output +directory, under the legal-info/ subdirectory. There you will find: + + * A README file, that summarizes the produced material and contains + warnings about material that Buildroot could not produce. + * buildroot.config: this is the Buildroot configuration file that + is usually produced with make menuconfig, and which is necessary + to reproduce the build. + * The source code for all packages; this is saved in the sources/ + and host-sources/ subdirectories for target and host packages + respectively. The source code for packages that set + _REDISTRIBUTE = NO will not be saved. Patches that were applied + are also saved, along with a file named series that lists the + patches in the order they were applied. Patches are under the + same license as the files that they modify. Note: Buildroot + applies additional patches to Libtool scripts of autotools-based + packages. These patches can be found under support/libtool in the + Buildroot source and, due to technical limitations, are not saved + with the package sources. You may need to collect them manually. + * A manifest file (one for host and one for target packages) + listing the configured packages, their version, license and + related information. Some of this information might not be + defined in Buildroot; such items are marked as "unknown". + * The license texts of all packages, in the licenses/ and + host-licenses/ subdirectories for target and host packages + respectively. If the license file(s) are not defined in + Buildroot, the file is not produced and a warning in the README + indicates this. + +Please note that the aim of the legal-info feature of Buildroot is to +produce all the material that is somehow relevant for legal +compliance with the package licenses. Buildroot does not try to +produce the exact material that you must somehow make public. +Certainly, more material is produced than is needed for a strict +legal compliance. For example, it produces the source code for +packages released under BSD-like licenses, that you are not required +to redistribute in source form. + +Moreover, due to technical limitations, Buildroot does not produce +some material that you will or may need, such as the toolchain source +code for some of the external toolchains and the Buildroot source +code itself. When you run make legal-info, Buildroot produces +warnings in the README file to inform you of relevant material that +could not be saved. + +Finally, keep in mind that the output of make legal-info is based on +declarative statements in each of the packages recipes. The Buildroot +developers try to do their best to keep those declarative statements +as accurate as possible, to the best of their knowledge. However, it +is very well possible that those declarative statements are not all +fully accurate nor exhaustive. You (or your legal department) have to +check the output of make legal-info before using it as your own +compliance delivery. See the NO WARRANTY clauses (clauses 11 and 12) +in the COPYING file at the root of the Buildroot distribution. + +13.2. Complying with the Buildroot license + +Buildroot itself is an open source software, released under the GNU +General Public License, version 2 [http://www.gnu.org/licenses/ +old-licenses/gpl-2.0.html] or (at your option) any later version, +with the exception of the package patches detailed below. However, +being a build system, it is not normally part of the end product: if +you develop the root filesystem, kernel, bootloader or toolchain for +a device, the code of Buildroot is only present on the development +machine, not in the device storage. + +Nevertheless, the general view of the Buildroot developers is that +you should release the Buildroot source code along with the source +code of other packages when releasing a product that contains +GPL-licensed software. This is because the GNU GPL [http:// +www.gnu.org/licenses/old-licenses/gpl-2.0.html] defines the "complete +source code" for an executable work as "all the source code for all +modules it contains, plus any associated interface definition files, +plus the scripts used to control compilation and installation of the +executable". Buildroot is part of the scripts used to control +compilation and installation of the executable, and as such it is +considered part of the material that must be redistributed. + +Keep in mind that this is only the Buildroot developers' opinion, and +you should consult your legal department or lawyer in case of any +doubt. + +13.2.1. Patches to packages + +Buildroot also bundles patch files, which are applied to the sources +of the various packages. Those patches are not covered by the license +of Buildroot. Instead, they are covered by the license of the +software to which the patches are applied. When said software is +available under multiple licenses, the Buildroot patches are only +provided under the publicly accessible licenses. + +See Chapter 19, Patching a package for the technical details. + +Chapter 14. Beyond Buildroot + +14.1. Boot the generated images + +14.1.1. NFS boot + +To achieve NFS-boot, enable tar root filesystem in the Filesystem +images menu. + +After a complete build, just run the following commands to setup the +NFS-root directory: + +sudo tar -xavf /path/to/output_dir/rootfs.tar -C /path/to/nfs_root_dir + +Remember to add this path to /etc/exports. + +Then, you can execute a NFS-boot from your target. + +14.1.2. Live CD + +To build a live CD image, enable the iso image option in the +Filesystem images menu. Note that this option is only available on +the x86 and x86-64 architectures, and if you are building your kernel +with Buildroot. + +You can build a live CD image with either IsoLinux, Grub or Grub 2 as +a bootloader, but only Isolinux supports making this image usable +both as a live CD and live USB (through the Build hybrid image +option). + +You can test your live CD image using QEMU: + +qemu-system-i386 -cdrom output/images/rootfs.iso9660 + +Or use it as a hard-drive image if it is a hybrid ISO: + +qemu-system-i386 -hda output/images/rootfs.iso9660 + +It can be easily flashed to a USB drive with dd: + +dd if=output/images/rootfs.iso9660 of=/dev/sdb + +14.2. Chroot + +If you want to chroot in a generated image, then there are few thing +you should be aware of: + + * you should setup the new root from the tar root filesystem image; + * either the selected target architecture is compatible with your + host machine, or you should use some qemu-* binary and correctly + set it within the binfmt properties to be able to run the + binaries built for the target on your host machine; + * Buildroot does not currently provide host-qemu and binfmt + correctly built and set for that kind of use. + +Part III. Developer guide + +Table of Contents + +15. How Buildroot works +16. Coding style + + 16.1. Config.in file + 16.2. The .mk file + 16.3. The genimage.cfg file + 16.4. The documentation + 16.5. Support scripts + +17. Adding support for a particular board +18. Adding new packages to Buildroot + + 18.1. Package directory + 18.2. Config files + 18.3. The .mk file + 18.4. The .hash file + 18.5. The SNNfoo start script + 18.6. Infrastructure for packages with specific build systems + 18.7. Infrastructure for autotools-based packages + 18.8. Infrastructure for CMake-based packages + 18.9. Infrastructure for Python packages + 18.10. Infrastructure for LuaRocks-based packages + 18.11. Infrastructure for Perl/CPAN packages + 18.12. Infrastructure for virtual packages + 18.13. Infrastructure for packages using kconfig for + configuration files + 18.14. Infrastructure for rebar-based packages + 18.15. Infrastructure for Waf-based packages + 18.16. Infrastructure for Meson-based packages + 18.17. Infrastructure for Cargo-based packages + 18.18. Infrastructure for Go packages + 18.19. Infrastructure for QMake-based packages + 18.20. Infrastructure for packages building kernel modules + 18.21. Infrastructure for asciidoc documents + 18.22. Infrastructure specific to the Linux kernel package + 18.23. Hooks available in the various build steps + 18.24. Gettext integration and interaction with packages + 18.25. Tips and tricks + 18.26. Conclusion + +19. Patching a package + + 19.1. Providing patches + 19.2. How patches are applied + 19.3. Format and licensing of the package patches + 19.4. Integrating patches found on the Web + +20. Download infrastructure +21. Debugging Buildroot +22. Contributing to Buildroot + + 22.1. Reproducing, analyzing and fixing bugs + 22.2. Analyzing and fixing autobuild failures + 22.3. Reviewing and testing patches + 22.4. Work on items from the TODO list + 22.5. Submitting patches + 22.6. Reporting issues/bugs or getting help + 22.7. Using the runtime tests framework + +23. DEVELOPERS file and get-developers +24. Release Engineering + + 24.1. Releases + 24.2. Development + +Chapter 15. How Buildroot works + +As mentioned above, Buildroot is basically a set of Makefiles that +download, configure, and compile software with the correct options. +It also includes patches for various software packages - mainly the +ones involved in the cross-compilation toolchain (gcc, binutils and +uClibc). + +There is basically one Makefile per software package, and they are +named with the .mk extension. Makefiles are split into many different +parts. + + * The toolchain/ directory contains the Makefiles and associated + files for all software related to the cross-compilation + toolchain: binutils, gcc, gdb, kernel-headers and uClibc. + * The arch/ directory contains the definitions for all the + processor architectures that are supported by Buildroot. + * The package/ directory contains the Makefiles and associated + files for all user-space tools and libraries that Buildroot can + compile and add to the target root filesystem. There is one + sub-directory per package. + * The linux/ directory contains the Makefiles and associated files + for the Linux kernel. + * The boot/ directory contains the Makefiles and associated files + for the bootloaders supported by Buildroot. + * The system/ directory contains support for system integration, + e.g. the target filesystem skeleton and the selection of an init + system. + * The fs/ directory contains the Makefiles and associated files for + software related to the generation of the target root filesystem + image. + +Each directory contains at least 2 files: + + * something.mk is the Makefile that downloads, configures, compiles + and installs the package something. + * Config.in is a part of the configuration tool description file. + It describes the options related to the package. + +The main Makefile performs the following steps (once the +configuration is done): + + * Create all the output directories: staging, target, build, etc. + in the output directory (output/ by default, another value can be + specified using O=) + * Generate the toolchain target. When an internal toolchain is + used, this means generating the cross-compilation toolchain. When + an external toolchain is used, this means checking the features + of the external toolchain and importing it into the Buildroot + environment. + * Generate all the targets listed in the TARGETS variable. This + variable is filled by all the individual components' Makefiles. + Generating these targets will trigger the compilation of the + userspace packages (libraries, programs), the kernel, the + bootloader and the generation of the root filesystem images, + depending on the configuration. + +Chapter 16. Coding style + +Overall, these coding style rules are here to help you to add new +files in Buildroot or refactor existing ones. + +If you slightly modify some existing file, the important thing is to +keep the consistency of the whole file, so you can: + + * either follow the potentially deprecated coding style used in + this file, + * or entirely rework it in order to make it comply with these + rules. + +16.1. Config.in file + +Config.in files contain entries for almost anything configurable in +Buildroot. + +An entry has the following pattern: + +config BR2_PACKAGE_LIBFOO + bool "libfoo" + depends on BR2_PACKAGE_LIBBAZ + select BR2_PACKAGE_LIBBAR + help + This is a comment that explains what libfoo is. The help text + should be wrapped. + + http://foosoftware.org/libfoo/ + + * The bool, depends on, select and help lines are indented with one + tab. + * The help text itself should be indented with one tab and two + spaces. + * The help text should be wrapped to fit 72 columns, where tab + counts for 8, so 62 characters in the text itself. + +The Config.in files are the input for the configuration tool used in +Buildroot, which is the regular Kconfig. For further details about +the Kconfig language, refer to http://kernel.org/doc/Documentation/ +kbuild/kconfig-language.txt. + +16.2. The .mk file + + * Header: The file starts with a header. It contains the module + name, preferably in lowercase, enclosed between separators made + of 80 hashes. A blank line is mandatory after the header: + + ################################################################################ + # + # libfoo + # + ################################################################################ + + * Assignment: use = preceded and followed by one space: + + LIBFOO_VERSION = 1.0 + LIBFOO_CONF_OPTS += --without-python-support + + Do not align the = signs. + + * Indentation: use tab only: + + define LIBFOO_REMOVE_DOC + $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/doc \ + $(TARGET_DIR)/usr/share/man/man3/libfoo* + endef + + Note that commands inside a define block should always start with + a tab, so make recognizes them as commands. + + * Optional dependency: + + + Prefer multi-line syntax. + + YES: + + ifeq ($(BR2_PACKAGE_PYTHON3),y) + LIBFOO_CONF_OPTS += --with-python-support + LIBFOO_DEPENDENCIES += python3 + else + LIBFOO_CONF_OPTS += --without-python-support + endif + + NO: + + LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON3),,out)-python-support + LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,) + + + Keep configure options and dependencies close together. + * Optional hooks: keep hook definition and assignment together in + one if block. + + YES: + + ifneq ($(BR2_LIBFOO_INSTALL_DATA),y) + define LIBFOO_REMOVE_DATA + $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data + endef + LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA + endif + + NO: + + define LIBFOO_REMOVE_DATA + $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data + endef + + ifneq ($(BR2_LIBFOO_INSTALL_DATA),y) + LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA + endif + +16.3. The genimage.cfg file + +genimage.cfg files contain the output image layout that genimage +utility uses to create final .img file. + +An example follows: + +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + + file Image { + image = "Image" + } + } + + size = 32M +} + +image sdimage.img { + hdimage { + } + + partition u-boot { + image = "efi-part.vfat" + offset = 8K + } + + partition root { + image = "rootfs.ext2" + size = 512M + } +} + + * Every section(i.e. hdimage, vfat etc.), partition must be + indented with one tab. + * Every file or other subnode must be indented with two tabs. + * Every node(section, partition, file, subnode) must have an open + curly bracket on the same line of the node’s name, while the + closing one must be on a newline and after it a newline must be + added except for the last one node. Same goes for its option, for + example option size =. + * Every option(i.e. image, offset, size) must have the = assignment + one space from it and one space from the value specified. + * Filename must at least begin with genimage prefix and have the + .cfg extension to be easy to recognize. + * Allowed notations for offset and size options are: G, M, K (not + k). If it’s not possible to express a precise byte count with + notations above then use hexadecimal 0x prefix or, as last + chance, the byte count. In comments instead use GB, MB, KB (not + kb) in place of G, M, K. + +The genimage.cfg files are the input for the genimage tool used in +Buildroot to generate the final image file(i.e. sdcard.img). For +further details about the genimage language, refer to https:// +github.com/pengutronix/genimage/blob/master/README.rst. + +16.4. The documentation + +The documentation uses the asciidoc [https://asciidoc-py.github.io/] +format. + +For further details about the asciidoc syntax, refer to https:// +asciidoc-py.github.io/userguide.html. + +16.5. Support scripts + +Some scripts in the support/ and utils/ directories are written in +Python and should follow the PEP8 Style Guide for Python Code [https: +//www.python.org/dev/peps/pep-0008/]. + +Chapter 17. Adding support for a particular board + +Buildroot contains basic configurations for several publicly +available hardware boards, so that users of such a board can easily +build a system that is known to work. You are welcome to add support +for other boards to Buildroot too. + +To do so, you need to create a normal Buildroot configuration that +builds a basic system for the hardware: (internal) toolchain, kernel, +bootloader, filesystem and a simple BusyBox-only userspace. No +specific package should be selected: the configuration should be as +minimal as possible, and should only build a working basic BusyBox +system for the target platform. You can of course use more +complicated configurations for your internal projects, but the +Buildroot project will only integrate basic board configurations. +This is because package selections are highly application-specific. + +Once you have a known working configuration, run make savedefconfig. +This will generate a minimal defconfig file at the root of the +Buildroot source tree. Move this file into the configs/ directory, +and rename it _defconfig. If the configuration is a bit +more complicated, it is nice to manually reformat it and separate it +into sections, with a comment before each section. Typical sections +are Architecture, Toolchain options (typically just linux headers +version), Firmware, Bootloader, Kernel, and Filesystem. + +Always use fixed versions or commit hashes for the different +components, not the "latest" version. For example, set +BR2_LINUX_KERNEL_CUSTOM_VERSION=y and +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE to the kernel version you +tested with. + +It is recommended to use as much as possible upstream versions of the +Linux kernel and bootloaders, and to use as much as possible default +kernel and bootloader configurations. If they are incorrect for your +board, or no default exists, we encourage you to send fixes to the +corresponding upstream projects. + +However, in the mean time, you may want to store kernel or bootloader +configuration or patches specific to your target platform. To do so, +create a directory board/ and a subdirectory board/ +/. You can then store your patches and +configurations in these directories, and reference them from the main +Buildroot configuration. Refer to Chapter 9, Project-specific +customization for more details. + +Before submitting patches for new boards it is recommended to test it +by building it using latest gitlab-CI docker container. To do this +use utils/docker-run script and inside it issue these commands: + + $ make +_defconfig+ + $ make + +Chapter 18. Adding new packages to Buildroot + +This section covers how new packages (userspace libraries or +applications) can be integrated into Buildroot. It also shows how +existing packages are integrated, which is needed for fixing issues +or tuning their configuration. + +When you add a new package, be sure to test it in various conditions +(see Section 18.25.3, “How to test your package”) and also check it +for coding style (see Section 18.25.2, “How to check the coding +style”). + +18.1. Package directory + +First of all, create a directory under the package directory for your +software, for example libfoo. + +Some packages have been grouped by topic in a sub-directory: x11r7, +qt5 and gstreamer. If your package fits in one of these categories, +then create your package directory in these. New subdirectories are +discouraged, however. + +18.2. Config files + +For the package to be displayed in the configuration tool, you need +to create a Config file in your package directory. There are two +types: Config.in and Config.in.host. + +18.2.1. Config.in file + +For packages used on the target, create a file named Config.in. This +file will contain the option descriptions related to our libfoo +software that will be used and displayed in the configuration tool. +It should basically contain: + +config BR2_PACKAGE_LIBFOO + bool "libfoo" + help + This is a comment that explains what libfoo is. The help text + should be wrapped. + + http://foosoftware.org/libfoo/ + +The bool line, help line and other metadata information about the +configuration option must be indented with one tab. The help text +itself should be indented with one tab and two spaces, lines should +be wrapped to fit 72 columns, where tab counts for 8, so 62 +characters in the text itself. The help text must mention the +upstream URL of the project after an empty line. + +As a convention specific to Buildroot, the ordering of the attributes +is as follows: + + 1. The type of option: bool, string… with the prompt + 2. If needed, the default value(s) + 3. Any dependencies on the target in depends on form + 4. Any dependencies on the toolchain in depends on form + 5. Any dependencies on other packages in depends on form + 6. Any dependency of the select form + 7. The help keyword and help text. + +You can add other sub-options into a if BR2_PACKAGE_LIBFOO…endif +statement to configure particular things in your software. You can +look at examples in other packages. The syntax of the Config.in file +is the same as the one for the kernel Kconfig file. The documentation +for this syntax is available at http://kernel.org/doc/Documentation/ +kbuild/kconfig-language.txt + +Finally you have to add your new libfoo/Config.in to package/ +Config.in (or in a category subdirectory if you decided to put your +package in one of the existing categories). The files included there +are sorted alphabetically per category and are NOT supposed to +contain anything but the bare name of the package. + +source "package/libfoo/Config.in" + +18.2.2. Config.in.host file + +Some packages also need to be built for the host system. There are +two options here: + + * The host package is only required to satisfy build-time + dependencies of one or more target packages. In this case, add + host-foo to the target package’s BAR_DEPENDENCIES variable. No + Config.in.host file should be created. + * The host package should be explicitly selectable by the user from + the configuration menu. In this case, create a Config.in.host + file for that host package: + + config BR2_PACKAGE_HOST_FOO + bool "host foo" + help + This is a comment that explains what foo for the host is. + + http://foosoftware.org/foo/ + + The same coding style and options as for the Config.in file are + valid. + + Finally you have to add your new libfoo/Config.in.host to package + /Config.in.host. The files included there are sorted + alphabetically and are NOT supposed to contain anything but the + bare name of the package. + + source "package/foo/Config.in.host" + + The host package will then be available from the Host utilities + menu. + +18.2.3. Choosing depends on or select + +The Config.in file of your package must also ensure that dependencies +are enabled. Typically, Buildroot uses the following rules: + + * Use a select type of dependency for dependencies on libraries. + These dependencies are generally not obvious and it therefore + make sense to have the kconfig system ensure that the + dependencies are selected. For example, the libgtk2 package uses + select BR2_PACKAGE_LIBGLIB2 to make sure this library is also + enabled. The select keyword expresses the dependency with a + backward semantic. + * Use a depends on type of dependency when the user really needs to + be aware of the dependency. Typically, Buildroot uses this type + of dependency for dependencies on target architecture, MMU + support and toolchain options (see Section 18.2.4, “Dependencies + on target and toolchain options”), or for dependencies on "big" + things, such as the X.org system. The depends on keyword + expresses the dependency with a forward semantic. + +Note. The current problem with the kconfig language is that these two +dependency semantics are not internally linked. Therefore, it may be +possible to select a package, whom one of its dependencies/ +requirement is not met. + +An example illustrates both the usage of select and depends on. + +config BR2_PACKAGE_RRDTOOL + bool "rrdtool" + depends on BR2_USE_WCHAR + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_LIBART + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_ZLIB + help + RRDtool is the OpenSource industry standard, high performance + data logging and graphing system for time series data. + + http://oss.oetiker.ch/rrdtool/ + +comment "rrdtool needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR + +Note that these two dependency types are only transitive with the +dependencies of the same kind. + +This means, in the following example: + +config BR2_PACKAGE_A + bool "Package A" + +config BR2_PACKAGE_B + bool "Package B" + depends on BR2_PACKAGE_A + +config BR2_PACKAGE_C + bool "Package C" + depends on BR2_PACKAGE_B + +config BR2_PACKAGE_D + bool "Package D" + select BR2_PACKAGE_B + +config BR2_PACKAGE_E + bool "Package E" + select BR2_PACKAGE_D + + * Selecting Package C will be visible if Package B has been + selected, which in turn is only visible if Package A has been + selected. + * Selecting Package E will select Package D, which will select + Package B, it will not check for the dependencies of Package B, + so it will not select Package A. + * Since Package B is selected but Package A is not, this violates + the dependency of Package B on Package A. Therefore, in such a + situation, the transitive dependency has to be added explicitly: + +config BR2_PACKAGE_D + bool "Package D" + depends on BR2_PACKAGE_A + select BR2_PACKAGE_B + +config BR2_PACKAGE_E + bool "Package E" + depends on BR2_PACKAGE_A + select BR2_PACKAGE_D + +Overall, for package library dependencies, select should be +preferred. + +Note that such dependencies will ensure that the dependency option is +also enabled, but not necessarily built before your package. To do +so, the dependency also needs to be expressed in the .mk file of the +package. + +Further formatting details: see the coding style. + +18.2.4. Dependencies on target and toolchain options + +Many packages depend on certain options of the toolchain: the choice +of C library, C++ support, thread support, RPC support, wchar +support, or dynamic library support. Some packages can only be built +on certain target architectures, or if an MMU is available in the +processor. + +These dependencies have to be expressed with the appropriate depends +on statements in the Config.in file. Additionally, for dependencies +on toolchain options, a comment should be displayed when the option +is not enabled, so that the user knows why the package is not +available. Dependencies on target architecture or MMU support should +not be made visible in a comment: since it is unlikely that the user +can freely choose another target, it makes little sense to show these +dependencies explicitly. + +The comment should only be visible if the config option itself would +be visible when the toolchain option dependencies are met. This means +that all other dependencies of the package (including dependencies on +target architecture and MMU support) have to be repeated on the +comment definition. To keep it clear, the depends on statement for +these non-toolchain option should be kept separate from the depends +on statement for the toolchain options. If there is a dependency on a +config option in that same file (typically the main package) it is +preferable to have a global if … endif construct rather than +repeating the depends on statement on the comment and other config +options. + +The general format of a dependency comment for package foo is: + +foo needs a toolchain w/ featA, featB, featC + +for example: + +mpd needs a toolchain w/ C++, threads, wchar + +or + +crda needs a toolchain w/ threads + +Note that this text is kept brief on purpose, so that it will fit on +a 80-character terminal. + +The rest of this section enumerates the different target and +toolchain options, the corresponding config symbols to depend on, and +the text to use in the comment. + + * Target architecture + + + Dependency symbol: BR2_powerpc, BR2_mips, … (see arch/ + Config.in) + + Comment string: no comment to be added + * MMU support + + + Dependency symbol: BR2_USE_MMU + + Comment string: no comment to be added + * Gcc _sync* built-ins used for atomic operations. They are + available in variants operating on 1 byte, 2 bytes, 4 bytes and 8 + bytes. Since different architectures support atomic operations on + different sizes, one dependency symbol is available for each + size: + + + Dependency symbol: BR2_TOOLCHAIN_HAS_SYNC_1 for 1 byte, + BR2_TOOLCHAIN_HAS_SYNC_2 for 2 bytes, + BR2_TOOLCHAIN_HAS_SYNC_4 for 4 bytes, + BR2_TOOLCHAIN_HAS_SYNC_8 for 8 bytes. + + Comment string: no comment to be added + * Gcc _atomic* built-ins used for atomic operations. + + + Dependency symbol: BR2_TOOLCHAIN_HAS_ATOMIC. + + Comment string: no comment to be added + * Kernel headers + + + Dependency symbol: BR2_TOOLCHAIN_HEADERS_AT_LEAST_X_Y, + (replace X_Y with the proper version, see toolchain/ + Config.in) + + Comment string: headers >= X.Y and/or headers <= X.Y (replace + X.Y with the proper version) + * GCC version + + + Dependency symbol: BR2_TOOLCHAIN_GCC_AT_LEAST_X_Y, (replace + X_Y with the proper version, see toolchain/Config.in) + + Comment string: gcc >= X.Y and/or gcc <= X.Y (replace X.Y + with the proper version) + * Host GCC version + + + Dependency symbol: BR2_HOST_GCC_AT_LEAST_X_Y, (replace X_Y + with the proper version, see Config.in) + + Comment string: no comment to be added + + Note that it is usually not the package itself that has a + minimum host GCC version, but rather a host-package on which + it depends. + * C library + + + Dependency symbol: BR2_TOOLCHAIN_USES_GLIBC, + BR2_TOOLCHAIN_USES_MUSL, BR2_TOOLCHAIN_USES_UCLIBC + + Comment string: for the C library, a slightly different + comment text is used: foo needs a glibc toolchain, or foo + needs a glibc toolchain w/ C++ + * C++ support + + + Dependency symbol: BR2_INSTALL_LIBSTDCPP + + Comment string: C++ + * D support + + + Dependency symbol: BR2_TOOLCHAIN_HAS_DLANG + + Comment string: Dlang + * Fortran support + + + Dependency symbol: BR2_TOOLCHAIN_HAS_FORTRAN + + Comment string: fortran + * thread support + + + Dependency symbol: BR2_TOOLCHAIN_HAS_THREADS + + Comment string: threads (unless + BR2_TOOLCHAIN_HAS_THREADS_NPTL is also needed, in which case, + specifying only NPTL is sufficient) + * NPTL thread support + + + Dependency symbol: BR2_TOOLCHAIN_HAS_THREADS_NPTL + + Comment string: NPTL + * RPC support + + + Dependency symbol: BR2_TOOLCHAIN_HAS_NATIVE_RPC + + Comment string: RPC + * wchar support + + + Dependency symbol: BR2_USE_WCHAR + + Comment string: wchar + * dynamic library + + + Dependency symbol: !BR2_STATIC_LIBS + + Comment string: dynamic library + +18.2.5. Dependencies on a Linux kernel built by buildroot + +Some packages need a Linux kernel to be built by buildroot. These are +typically kernel modules or firmware. A comment should be added in +the Config.in file to express this dependency, similar to +dependencies on toolchain options. The general format is: + +foo needs a Linux kernel to be built + +If there is a dependency on both toolchain options and the Linux +kernel, use this format: + +foo needs a toolchain w/ featA, featB, featC and a Linux kernel to be built + +18.2.6. Dependencies on udev /dev management + +If a package needs udev /dev management, it should depend on symbol +BR2_PACKAGE_HAS_UDEV, and the following comment should be added: + +foo needs udev /dev management + +If there is a dependency on both toolchain options and udev /dev +management, use this format: + +foo needs udev /dev management and a toolchain w/ featA, featB, featC + +18.2.7. Dependencies on features provided by virtual packages + +Some features can be provided by more than one package, such as the +openGL libraries. + +See Section 18.12, “Infrastructure for virtual packages” for more on +the virtual packages. + +18.3. The .mk file + +Finally, here’s the hardest part. Create a file named libfoo.mk. It +describes how the package should be downloaded, configured, built, +installed, etc. + +Depending on the package type, the .mk file must be written in a +different way, using different infrastructures: + + * Makefiles for generic packages (not using autotools or CMake): + These are based on an infrastructure similar to the one used for + autotools-based packages, but require a little more work from the + developer. They specify what should be done for the + configuration, compilation and installation of the package. This + infrastructure must be used for all packages that do not use the + autotools as their build system. In the future, other specialized + infrastructures might be written for other build systems. We + cover them through in a tutorial and a reference. + * Makefiles for autotools-based software (autoconf, automake, + etc.): We provide a dedicated infrastructure for such packages, + since autotools is a very common build system. This + infrastructure must be used for new packages that rely on the + autotools as their build system. We cover them through a tutorial + and reference. + * Makefiles for cmake-based software: We provide a dedicated + infrastructure for such packages, as CMake is a more and more + commonly used build system and has a standardized behaviour. This + infrastructure must be used for new packages that rely on CMake. + We cover them through a tutorial and reference. + * Makefiles for Python modules: We have a dedicated infrastructure + for Python modules that use either the distutils or the + setuptools mechanism. We cover them through a tutorial and a + reference. + * Makefiles for Lua modules: We have a dedicated infrastructure for + Lua modules available through the LuaRocks web site. We cover + them through a tutorial and a reference. + +Further formatting details: see the writing rules. + +18.4. The .hash file + +When possible, you must add a third file, named libfoo.hash, that +contains the hashes of the downloaded files for the libfoo package. +The only reason for not adding a .hash file is when hash checking is +not possible due to how the package is downloaded. + +When a package has a version selection choice, then the hash file may +be stored in a subdirectory named after the version, e.g. package/ +libfoo/1.2.3/libfoo.hash. This is especially important if the +different versions have different licensing terms, but they are +stored in the same file. Otherwise, the hash file should stay in the +package’s directory. + +The hashes stored in that file are used to validate the integrity of +the downloaded files and of the license files. + +The format of this file is one line for each file for which to check +the hash, each line with the following three fields separated by two +spaces: + + * the type of hash, one of: + + + md5, sha1, sha224, sha256, sha384, sha512 + * the hash of the file: + + + for md5, 32 hexadecimal characters + + for sha1, 40 hexadecimal characters + + for sha224, 56 hexadecimal characters + + for sha256, 64 hexadecimal characters + + for sha384, 96 hexadecimal characters + + for sha512, 128 hexadecimal characters + * the name of the file: + + + for a source archive: the basename of the file, without any + directory component, + + for a license file: the path as it appears in + FOO_LICENSE_FILES. + +Lines starting with a # sign are considered comments, and ignored. +Empty lines are ignored. + +There can be more than one hash for a single file, each on its own +line. In this case, all hashes must match. + +Note. Ideally, the hashes stored in this file should match the hashes +published by upstream, e.g. on their website, in the e-mail +announcement… If upstream provides more than one type of hash (e.g. +sha1 and sha512), then it is best to add all those hashes in the +.hash file. If upstream does not provide any hash, or only provides +an md5 hash, then compute at least one strong hash yourself +(preferably sha256, but not md5), and mention this in a comment line +above the hashes. + +Note. The hashes for license files are used to detect a license +change when a package version is bumped. The hashes are checked +during the make legal-info target run. For a package with multiple +versions (like Qt5), create the hash file in a subdirectory + of that package (see also Section 19.2, “How patches +are applied”). + +The example below defines a sha1 and a sha256 published by upstream +for the main libfoo-1.2.3.tar.bz2 tarball, an md5 from upstream and a +locally-computed sha256 hashes for a binary blob, a sha256 for a +downloaded patch, and an archive with no hash: + +# Hashes from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.{sha1,sha256}: +sha1 486fb55c3efa71148fe07895fd713ea3a5ae343a libfoo-1.2.3.tar.bz2 +sha256 efc8103cc3bcb06bda6a781532d12701eb081ad83e8f90004b39ab81b65d4369 libfoo-1.2.3.tar.bz2 + +# md5 from: http://www.foosoftware.org/download/libfoo-1.2.3.tar.bz2.md5, sha256 locally computed: +md5 2d608f3c318c6b7557d551a5a09314f03452f1a1 libfoo-data.bin +sha256 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b libfoo-data.bin + +# Locally computed: +sha256 ff52101fb90bbfc3fe9475e425688c660f46216d7e751c4bbdb1dc85cdccacb9 libfoo-fix-blabla.patch + +# Hash for license files: +sha256 a45a845012742796534f7e91fe623262ccfb99460a2bd04015bd28d66fba95b8 COPYING +sha256 01b1f9f2c8ee648a7a596a1abe8aa4ed7899b1c9e5551bda06da6e422b04aa55 doc/COPYING.LGPL + +If the .hash file is present, and it contains one or more hashes for +a downloaded file, the hash(es) computed by Buildroot (after +download) must match the hash(es) stored in the .hash file. If one or +more hashes do not match, Buildroot considers this an error, deletes +the downloaded file, and aborts. + +If the .hash file is present, but it does not contain a hash for a +downloaded file, Buildroot considers this an error and aborts. +However, the downloaded file is left in the download directory since +this typically indicates that the .hash file is wrong but the +downloaded file is probably OK. + +Hashes are currently checked for files fetched from http/ftp servers, +Git repositories, files copied using scp and local files. Hashes are +not checked for other version control systems (such as Subversion, +CVS, etc.) because Buildroot currently does not generate reproducible +tarballs when source code is fetched from such version control +systems. + +Hashes should only be added in .hash files for files that are +guaranteed to be stable. For example, patches auto-generated by +Github are not guaranteed to be stable, and therefore their hashes +can change over time. Such patches should not be downloaded, and +instead be added locally to the package folder. + +If the .hash file is missing, then no check is done at all. + +18.5. The SNNfoo start script + +Packages that provide a system daemon usually need to be started +somehow at boot. Buildroot comes with support for several init +systems, some are considered tier one (see Section 6.3, “init system” +), while others are also available but do not have the same level of +integration. Ideally, all packages providing a system daemon should +provide a start script for BusyBox/SysV init and a systemd unit file. + +For consistency, the start script must follow the style and +composition as shown in the reference: package/busybox/S01syslogd. An +annotated example of this style is shown below. There is no specific +coding style for systemd unit files, but if a package comes with its +own unit file, that is preferred over a buildroot specific one, if it +is compatible with buildroot. + +The name of the start script is composed of the SNN and the daemon +name. The NN is the start order number which needs to be carefully +chosen. For example, a program that requires networking to be up +should not start before S40network. The scripts are started in +alphabetical order, so S01syslogd starts before S01watchdogd, and +S02sysctl start thereafter. + +01: #!/bin/sh +02: +03: DAEMON="syslogd" +04: PIDFILE="/var/run/$DAEMON.pid" +05: +06: SYSLOGD_ARGS="" +07: +08: # shellcheck source=/dev/null +09: [ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" +10: +11: # BusyBox' syslogd does not create a pidfile, so pass "-n" in the command line +12: # and use "-m" to instruct start-stop-daemon to create one. +13: start() { +14: printf 'Starting %s: ' "$DAEMON" +15: # shellcheck disable=SC2086 # we need the word splitting +16: start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/sbin/$DAEMON" \ +17: -- -n $SYSLOGD_ARGS +18: status=$? +19: if [ "$status" -eq 0 ]; then +20: echo "OK" +21: else +22: echo "FAIL" +23: fi +24: return "$status" +25: } +26: +27: stop() { +28: printf 'Stopping %s: ' "$DAEMON" +29: start-stop-daemon -K -q -p "$PIDFILE" +30: status=$? +31: if [ "$status" -eq 0 ]; then +32: rm -f "$PIDFILE" +33: echo "OK" +34: else +35: echo "FAIL" +36: fi +37: return "$status" +38: } +39: +40: restart() { +41: stop +42: sleep 1 +43: start +44: } +45: +46: case "$1" in +47: start|stop|restart) +48: "$1";; +49: reload) +50: # Restart, since there is no true "reload" feature. +51: restart;; +52: *) +53: echo "Usage: $0 {start|stop|restart|reload}" +54: exit 1 +55: esac + +Note: programs that support reloading their configuration in some +fashion (SIGHUP) should provide a reload() function similar to stop +(). The start-stop-daemon supports -K -s HUP for this. It is +recommended to always append -x "/sbin/$DAEMON" to all the +start-stop-daemon commands to ensure signals are set to a PID that +matches $DAEMON. + +Both start scripts and unit files can source command line arguments +from /etc/default/foo, in general, if such a file does not exist it +should not block the start of the daemon, unless there is some site +specirfic command line argument the daemon requires to start. For +start scripts a FOO_ARGS="-s -o -m -e -args" can be defined to a +default value in and the user can override this from /etc/default/ +foo. + +18.6. Infrastructure for packages with specific build systems + +By packages with specific build systems we mean all the packages +whose build system is not one of the standard ones, such as autotools +or CMake. This typically includes packages whose build system is +based on hand-written Makefiles or shell scripts. + +18.6.1. generic-package tutorial + +01: ################################################################################ +02: # +03: # libfoo +04: # +05: ################################################################################ +06: +07: LIBFOO_VERSION = 1.0 +08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz +09: LIBFOO_SITE = http://www.foosoftware.org/download +10: LIBFOO_LICENSE = GPL-3.0+ +11: LIBFOO_LICENSE_FILES = COPYING +12: LIBFOO_INSTALL_STAGING = YES +13: LIBFOO_CONFIG_SCRIPTS = libfoo-config +14: LIBFOO_DEPENDENCIES = host-libaaa libbbb +15: +16: define LIBFOO_BUILD_CMDS +17: $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all +18: endef +19: +20: define LIBFOO_INSTALL_STAGING_CMDS +21: $(INSTALL) -D -m 0755 $(@D)/libfoo.a $(STAGING_DIR)/usr/lib/libfoo.a +22: $(INSTALL) -D -m 0644 $(@D)/foo.h $(STAGING_DIR)/usr/include/foo.h +23: $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(STAGING_DIR)/usr/lib +24: endef +25: +26: define LIBFOO_INSTALL_TARGET_CMDS +27: $(INSTALL) -D -m 0755 $(@D)/libfoo.so* $(TARGET_DIR)/usr/lib +28: $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/foo.d +29: endef +30: +31: define LIBFOO_USERS +32: foo -1 libfoo -1 * - - - LibFoo daemon +33: endef +34: +35: define LIBFOO_DEVICES +36: /dev/foo c 666 0 0 42 0 - - - +37: endef +38: +39: define LIBFOO_PERMISSIONS +40: /bin/foo f 4755 foo libfoo - - - - - +41: endef +42: +43: $(eval $(generic-package)) + +The Makefile begins on line 7 to 11 with metadata information: the +version of the package (LIBFOO_VERSION), the name of the tarball +containing the package (LIBFOO_SOURCE) (xz-ed tarball recommended) +the Internet location at which the tarball can be downloaded from +(LIBFOO_SITE), the license (LIBFOO_LICENSE) and file with the license +text (LIBFOO_LICENSE_FILES). All variables must start with the same +prefix, LIBFOO_ in this case. This prefix is always the uppercased +version of the package name (see below to understand where the +package name is defined). + +On line 12, we specify that this package wants to install something +to the staging space. This is often needed for libraries, since they +must install header files and other development files in the staging +space. This will ensure that the commands listed in the +LIBFOO_INSTALL_STAGING_CMDS variable will be executed. + +On line 13, we specify that there is some fixing to be done to some +of the libfoo-config files that were installed during +LIBFOO_INSTALL_STAGING_CMDS phase. These *-config files are +executable shell script files that are located in $(STAGING_DIR)/usr/ +bin directory and are executed by other 3rd party packages to find +out the location and the linking flags of this particular package. + +The problem is that all these *-config files by default give wrong, +host system linking flags that are unsuitable for cross-compiling. + +For example: -I/usr/include instead of -I$(STAGING_DIR)/usr/include +or: -L/usr/lib instead of -L$(STAGING_DIR)/usr/lib + +So some sed magic is done to these scripts to make them give correct +flags. The argument to be given to LIBFOO_CONFIG_SCRIPTS is the file +name(s) of the shell script(s) needing fixing. All these names are +relative to $(STAGING_DIR)/usr/bin and if needed multiple names can +be given. + +In addition, the scripts listed in LIBFOO_CONFIG_SCRIPTS are removed +from $(TARGET_DIR)/usr/bin, since they are not needed on the target. + +Example 18.1. Config script: divine package + +Package divine installs shell script $(STAGING_DIR)/usr/bin/ +divine-config. + +So its fixup would be: + +DIVINE_CONFIG_SCRIPTS = divine-config + + +Example 18.2. Config script: imagemagick package: + +Package imagemagick installs the following scripts: $(STAGING_DIR)/ +usr/bin/{Magick,Magick++,MagickCore,MagickWand,Wand}-config + +So it’s fixup would be: + +IMAGEMAGICK_CONFIG_SCRIPTS = \ + Magick-config Magick++-config \ + MagickCore-config MagickWand-config Wand-config + + +On line 14, we specify the list of dependencies this package relies +on. These dependencies are listed in terms of lower-case package +names, which can be packages for the target (without the host- +prefix) or packages for the host (with the host-) prefix). Buildroot +will ensure that all these packages are built and installed before +the current package starts its configuration. + +The rest of the Makefile, lines 16..29, defines what should be done +at the different steps of the package configuration, compilation and +installation. LIBFOO_BUILD_CMDS tells what steps should be performed +to build the package. LIBFOO_INSTALL_STAGING_CMDS tells what steps +should be performed to install the package in the staging space. +LIBFOO_INSTALL_TARGET_CMDS tells what steps should be performed to +install the package in the target space. + +All these steps rely on the $(@D) variable, which contains the +directory where the source code of the package has been extracted. + +On lines 31..33, we define a user that is used by this package (e.g. +to run a daemon as non-root) (LIBFOO_USERS). + +On line 35..37, we define a device-node file used by this package +(LIBFOO_DEVICES). + +On line 39..41, we define the permissions to set to specific files +installed by this package (LIBFOO_PERMISSIONS). + +Finally, on line 43, we call the generic-package function, which +generates, according to the variables defined previously, all the +Makefile code necessary to make your package working. + +18.6.2. generic-package reference + +There are two variants of the generic target. The generic-package +macro is used for packages to be cross-compiled for the target. The +host-generic-package macro is used for host packages, natively +compiled for the host. It is possible to call both of them in a +single .mk file: once to create the rules to generate a target +package and once to create the rules to generate a host package: + +$(eval $(generic-package)) +$(eval $(host-generic-package)) + +This might be useful if the compilation of the target package +requires some tools to be installed on the host. If the package name +is libfoo, then the name of the package for the target is also +libfoo, while the name of the package for the host is host-libfoo. +These names should be used in the DEPENDENCIES variables of other +packages, if they depend on libfoo or host-libfoo. + +The call to the generic-package and/or host-generic-package macro +must be at the end of the .mk file, after all variable definitions. +The call to host-generic-package must be after the call to +generic-package, if any. + +For the target package, the generic-package uses the variables +defined by the .mk file and prefixed by the uppercased package name: +LIBFOO_*. host-generic-package uses the HOST_LIBFOO_* variables. For +some variables, if the HOST_LIBFOO_ prefixed variable doesn’t exist, +the package infrastructure uses the corresponding variable prefixed +by LIBFOO_. This is done for variables that are likely to have the +same value for both the target and host packages. See below for +details. + +The list of variables that can be set in a .mk file to give metadata +information is (assuming the package name is libfoo) : + + * LIBFOO_VERSION, mandatory, must contain the version of the + package. Note that if HOST_LIBFOO_VERSION doesn’t exist, it is + assumed to be the same as LIBFOO_VERSION. It can also be a + revision number or a tag for packages that are fetched directly + from their version control system. Examples: + + + a version for a release tarball: LIBFOO_VERSION = 0.1.2 + + a sha1 for a git tree: LIBFOO_VERSION = + cb9d6aa9429e838f0e54faa3d455bcbab5eef057 + + a tag for a git tree LIBFOO_VERSION = v0.1.2 + + Note: Using a branch name as FOO_VERSION is not supported, + because it does not and can not work as people would expect + it should: + + 1. due to local caching, Buildroot will not re-fetch the + repository, so people who expect to be able to follow the + remote repository would be quite surprised and + disappointed; + 2. because two builds can never be perfectly simultaneous, + and because the remote repository may get new commits on + the branch anytime, two users, using the same Buildroot + tree and building the same configuration, may get + different source, thus rendering the build non + reproducible, and people would be quite surprised and + disappointed. + * LIBFOO_SOURCE may contain the name of the tarball of the package, + which Buildroot will use to download the tarball from + LIBFOO_SITE. If HOST_LIBFOO_SOURCE is not specified, it defaults + to LIBFOO_SOURCE. If none are specified, then the value is + assumed to be libfoo-$(LIBFOO_VERSION).tar.gz. Example: + LIBFOO_SOURCE = foobar-$(LIBFOO_VERSION).tar.bz2 + * LIBFOO_PATCH may contain a space-separated list of patch file + names, that Buildroot will download and apply to the package + source code. If an entry contains ://, then Buildroot will assume + it is a full URL and download the patch from this location. + Otherwise, Buildroot will assume that the patch should be + downloaded from LIBFOO_SITE. If HOST_LIBFOO_PATCH is not + specified, it defaults to LIBFOO_PATCH. Note that patches that + are included in Buildroot itself use a different mechanism: all + files of the form *.patch present in the package directory inside + Buildroot will be applied to the package after extraction (see + patching a package). Finally, patches listed in the LIBFOO_PATCH + variable are applied before the patches stored in the Buildroot + package directory. + * LIBFOO_SITE provides the location of the package, which can be a + URL or a local filesystem path. HTTP, FTP and SCP are supported + URL types for retrieving package tarballs. In these cases don’t + include a trailing slash: it will be added by Buildroot between + the directory and the filename as appropriate. Git, Subversion, + Mercurial, and Bazaar are supported URL types for retrieving + packages directly from source code management systems. There is a + helper function to make it easier to download source tarballs + from GitHub (refer to Section 18.25.4, “How to add a package from + GitHub” for details). A filesystem path may be used to specify + either a tarball or a directory containing the package source + code. See LIBFOO_SITE_METHOD below for more details on how + retrieval works. Note that SCP URLs should be of the form scp:// + [user@]host:filepath, and that filepath is relative to the user’s + home directory, so you may want to prepend the path with a slash + for absolute paths: scp://[user@]host:/absolutepath. The same + goes for SFTP URLs. If HOST_LIBFOO_SITE is not specified, it + defaults to LIBFOO_SITE. Examples: LIBFOO_SITE=http:// + www.libfoosoftware.org/libfoo LIBFOO_SITE=http://svn.xiph.org/ + trunk/Tremor LIBFOO_SITE=/opt/software/libfoo.tar.gz LIBFOO_SITE= + $(TOPDIR)/../src/libfoo + * LIBFOO_DL_OPTS is a space-separated list of additional options to + pass to the downloader. Useful for retrieving documents with + server-side checking for user logins and passwords, or to use a + proxy. All download methods valid for LIBFOO_SITE_METHOD are + supported; valid options depend on the download method (consult + the man page for the respective download utilities). + * LIBFOO_EXTRA_DOWNLOADS is a space-separated list of additional + files that Buildroot should download. If an entry contains :// + then Buildroot will assume it is a complete URL and will download + the file using this URL. Otherwise, Buildroot will assume the + file to be downloaded is located at LIBFOO_SITE. Buildroot will + not do anything with those additional files, except download + them: it will be up to the package recipe to use them from $ + (LIBFOO_DL_DIR). + * LIBFOO_SITE_METHOD determines the method used to fetch or copy + the package source code. In many cases, Buildroot guesses the + method from the contents of LIBFOO_SITE and setting + LIBFOO_SITE_METHOD is unnecessary. When HOST_LIBFOO_SITE_METHOD + is not specified, it defaults to the value of LIBFOO_SITE_METHOD. + The possible values of LIBFOO_SITE_METHOD are: + + + wget for normal FTP/HTTP downloads of tarballs. Used by + default when LIBFOO_SITE begins with http://, https:// or + ftp://. + + scp for downloads of tarballs over SSH with scp. Used by + default when LIBFOO_SITE begins with scp://. + + sftp for downloads of tarballs over SSH with sftp. Used by + default when LIBFOO_SITE begins with sftp://. + + svn for retrieving source code from a Subversion repository. + Used by default when LIBFOO_SITE begins with svn://. When a + http:// Subversion repository URL is specified in + LIBFOO_SITE, one must specify LIBFOO_SITE_METHOD=svn. + Buildroot performs a checkout which is preserved as a tarball + in the download cache; subsequent builds use the tarball + instead of performing another checkout. + + cvs for retrieving source code from a CVS repository. Used by + default when LIBFOO_SITE begins with cvs://. The downloaded + source code is cached as with the svn method. Anonymous + pserver mode is assumed otherwise explicitly defined on + LIBFOO_SITE. Both LIBFOO_SITE=cvs://libfoo.net:/cvsroot/ + libfoo and LIBFOO_SITE=cvs://:ext:libfoo.net:/cvsroot/libfoo + are accepted, on the former anonymous pserver access mode is + assumed. LIBFOO_SITE must contain the source URL as well as + the remote repository directory. The module is the package + name. LIBFOO_VERSION is mandatory and must be a tag, a + branch, or a date (e.g. "2014-10-20", "2014-10-20 13:45", + "2014-10-20 13:45+01" see "man cvs" for further details). + + git for retrieving source code from a Git repository. Used by + default when LIBFOO_SITE begins with git://. The downloaded + source code is cached as with the svn method. + + hg for retrieving source code from a Mercurial repository. + One must specify LIBFOO_SITE_METHOD=hg when LIBFOO_SITE + contains a Mercurial repository URL. The downloaded source + code is cached as with the svn method. + + bzr for retrieving source code from a Bazaar repository. Used + by default when LIBFOO_SITE begins with bzr://. The + downloaded source code is cached as with the svn method. + + file for a local tarball. One should use this when + LIBFOO_SITE specifies a package tarball as a local filename. + Useful for software that isn’t available publicly or in + version control. + + local for a local source code directory. One should use this + when LIBFOO_SITE specifies a local directory path containing + the package source code. Buildroot copies the contents of the + source directory into the package’s build directory. Note + that for local packages, no patches are applied. If you need + to still patch the source code, use LIBFOO_POST_RSYNC_HOOKS, + see Section 18.23.1, “Using the POST_RSYNC hook”. + * LIBFOO_GIT_SUBMODULES can be set to YES to create an archive with + the git submodules in the repository. This is only available for + packages downloaded with git (i.e. when LIBFOO_SITE_METHOD=git). + Note that we try not to use such git submodules when they contain + bundled libraries, in which case we prefer to use those libraries + from their own package. + * LIBFOO_GIT_LFS should be set to YES if the Git repository uses + Git LFS to store large files out of band. This is only available + for packages downloaded with git (i.e. when LIBFOO_SITE_METHOD= + git). + * LIBFOO_STRIP_COMPONENTS is the number of leading components + (directories) that tar must strip from file names on extraction. + The tarball for most packages has one leading component named " + -", thus Buildroot passes + --strip-components=1 to tar to remove it. For non-standard + packages that don’t have this component, or that have more than + one leading component to strip, set this variable with the value + to be passed to tar. Default: 1. + * LIBFOO_EXCLUDES is a space-separated list of patterns to exclude + when extracting the archive. Each item from that list is passed + as a tar’s --exclude option. By default, empty. + * LIBFOO_DEPENDENCIES lists the dependencies (in terms of package + name) that are required for the current target package to + compile. These dependencies are guaranteed to be compiled and + installed before the configuration of the current package starts. + However, modifications to configuration of these dependencies + will not force a rebuild of the current package. In a similar + way, HOST_LIBFOO_DEPENDENCIES lists the dependencies for the + current host package. + * LIBFOO_EXTRACT_DEPENDENCIES lists the dependencies (in terms of + package name) that are required for the current target package to + be extracted. These dependencies are guaranteed to be compiled + and installed before the extract step of the current package + starts. This is only used internally by the package + infrastructure, and should typically not be used directly by + packages. + * LIBFOO_PATCH_DEPENDENCIES lists the dependencies (in terms of + package name) that are required for the current package to be + patched. These dependencies are guaranteed to be extracted and + patched (but not necessarily built) before the current package is + patched. In a similar way, HOST_LIBFOO_PATCH_DEPENDENCIES lists + the dependencies for the current host package. This is seldom + used; usually, LIBFOO_DEPENDENCIES is what you really want to + use. + * LIBFOO_PROVIDES lists all the virtual packages libfoo is an + implementation of. See Section 18.12, “Infrastructure for virtual + packages”. + * LIBFOO_INSTALL_STAGING can be set to YES or NO (default). If set + to YES, then the commands in the LIBFOO_INSTALL_STAGING_CMDS + variables are executed to install the package into the staging + directory. + * LIBFOO_INSTALL_TARGET can be set to YES (default) or NO. If set + to YES, then the commands in the LIBFOO_INSTALL_TARGET_CMDS + variables are executed to install the package into the target + directory. + * LIBFOO_INSTALL_IMAGES can be set to YES or NO (default). If set + to YES, then the commands in the LIBFOO_INSTALL_IMAGES_CMDS + variable are executed to install the package into the images + directory. + * LIBFOO_CONFIG_SCRIPTS lists the names of the files in $ + (STAGING_DIR)/usr/bin that need some special fixing to make them + cross-compiling friendly. Multiple file names separated by space + can be given and all are relative to $(STAGING_DIR)/usr/bin. The + files listed in LIBFOO_CONFIG_SCRIPTS are also removed from $ + (TARGET_DIR)/usr/bin since they are not needed on the target. + * LIBFOO_DEVICES lists the device files to be created by Buildroot + when using the static device table. The syntax to use is the + makedevs one. You can find some documentation for this syntax in + the Chapter 25, Makedev syntax documentation. This variable is + optional. + * LIBFOO_PERMISSIONS lists the changes of permissions to be done at + the end of the build process. The syntax is once again the + makedevs one. You can find some documentation for this syntax in + the Chapter 25, Makedev syntax documentation. This variable is + optional. + * LIBFOO_USERS lists the users to create for this package, if it + installs a program you want to run as a specific user (e.g. as a + daemon, or as a cron-job). The syntax is similar in spirit to the + makedevs one, and is described in the Chapter 26, Makeusers + syntax documentation. This variable is optional. + * LIBFOO_LICENSE defines the license (or licenses) under which the + package is released. This name will appear in the manifest file + produced by make legal-info. If the license appears in the SPDX + License List [https://spdx.org/licenses/], use the SPDX short + identifier to make the manifest file uniform. Otherwise, describe + the license in a precise and concise way, avoiding ambiguous + names such as BSD which actually name a family of licenses. This + variable is optional. If it is not defined, unknown will appear + in the license field of the manifest file for this package. The + expected format for this variable must comply with the following + rules: + + + If different parts of the package are released under + different licenses, then comma separate licenses (e.g. + LIBFOO_LICENSE = GPL-2.0+, LGPL-2.1+). If there is clear + distinction between which component is licensed under what + license, then annotate the license with that component, + between parenthesis (e.g. LIBFOO_LICENSE = GPL-2.0+ + (programs), LGPL-2.1+ (libraries)). + + If some licenses are conditioned on a sub-option being + enabled, append the conditional licenses with a comma (e.g.: + FOO_LICENSE += , GPL-2.0+ (programs)); the infrastructure + will internally remove the space before the comma. + + If the package is dual licensed, then separate licenses with + the or keyword (e.g. LIBFOO_LICENSE = AFL-2.1 or GPL-2.0+). + * LIBFOO_LICENSE_FILES is a space-separated list of files in the + package tarball that contain the license(s) under which the + package is released. make legal-info copies all of these files in + the legal-info directory. See Chapter 13, Legal notice and + licensing for more information. This variable is optional. If it + is not defined, a warning will be produced to let you know, and + not saved will appear in the license files field of the manifest + file for this package. + * LIBFOO_ACTUAL_SOURCE_TARBALL only applies to packages whose + LIBFOO_SITE / LIBFOO_SOURCE pair points to an archive that does + not actually contain source code, but binary code. This a very + uncommon case, only known to apply to external toolchains which + come already compiled, although theoretically it might apply to + other packages. In such cases a separate tarball is usually + available with the actual source code. Set + LIBFOO_ACTUAL_SOURCE_TARBALL to the name of the actual source + code archive and Buildroot will download it and use it when you + run make legal-info to collect legally-relevant material. Note + this file will not be downloaded during regular builds nor by + make source. + * LIBFOO_ACTUAL_SOURCE_SITE provides the location of the actual + source tarball. The default value is LIBFOO_SITE, so you don’t + need to set this variable if the binary and source archives are + hosted on the same directory. If LIBFOO_ACTUAL_SOURCE_TARBALL is + not set, it doesn’t make sense to define + LIBFOO_ACTUAL_SOURCE_SITE. + * LIBFOO_REDISTRIBUTE can be set to YES (default) or NO to indicate + if the package source code is allowed to be redistributed. Set it + to NO for non-opensource packages: Buildroot will not save the + source code for this package when collecting the legal-info. + * LIBFOO_FLAT_STACKSIZE defines the stack size of an application + built into the FLAT binary format. The application stack size on + the NOMMU architecture processors can’t be enlarged at run time. + The default stack size for the FLAT binary format is only 4k + bytes. If the application consumes more stack, append the + required number here. + * LIBFOO_BIN_ARCH_EXCLUDE is a space-separated list of paths + (relative to the target directory) to ignore when checking that + the package installs correctly cross-compiled binaries. You + seldom need to set this variable, unless the package installs + binary blobs outside the default locations, /lib/firmware, /usr/ + lib/firmware, /lib/modules, /usr/lib/modules, and /usr/share, + which are automatically excluded. + * LIBFOO_IGNORE_CVES is a space-separated list of CVEs that tells + Buildroot CVE tracking tools which CVEs should be ignored for + this package. This is typically used when the CVE is fixed by a + patch in the package, or when the CVE for some reason does not + affect the Buildroot package. A Makefile comment must always + precede the addition of a CVE to this variable. Example: + +# 0001-fix-cve-2020-12345.patch +LIBFOO_IGNORE_CVES += CVE-2020-12345 +# only when built with libbaz, which Buildroot doesn't support +LIBFOO_IGNORE_CVES += CVE-2020-54321 + + * LIBFOO_CPE_ID_* variables is a set of variables that allows the + package to define its CPE identifier [https://nvd.nist.gov/ + products/cpe]. The available variables are: + + + LIBFOO_CPE_ID_PREFIX, specifies the prefix of the CPE + identifier, i.e the first three fields. When not defined, the + default value is cpe:2.3:a. + + LIBFOO_CPE_ID_VENDOR, specifies the vendor part of the CPE + identifier. When not defined, the default value is + _project. + + LIBFOO_CPE_ID_PRODUCT, specifies the product part of the CPE + identifier. When not defined, the default value is . + + LIBFOO_CPE_ID_VERSION, specifies the version part of the CPE + identifier. When not defined the default value is $ + (LIBFOO_VERSION). + + LIBFOO_CPE_ID_UPDATE specifies the update part of the CPE + identifier. When not defined the default value is *. + + If any of those variables is defined, then the generic package + infrastructure assumes the package provides valid CPE + information. In this case, the generic package infrastructure + will define LIBFOO_CPE_ID. + + For a host package, if its LIBFOO_CPE_ID_* variables are not + defined, it inherits the value of those variables from the + corresponding target package. + +The recommended way to define these variables is to use the following +syntax: + +LIBFOO_VERSION = 2.32 + +Now, the variables that define what should be performed at the +different steps of the build process. + + * LIBFOO_EXTRACT_CMDS lists the actions to be performed to extract + the package. This is generally not needed as tarballs are + automatically handled by Buildroot. However, if the package uses + a non-standard archive format, such as a ZIP or RAR file, or has + a tarball with a non-standard organization, this variable allows + to override the package infrastructure default behavior. + * LIBFOO_CONFIGURE_CMDS lists the actions to be performed to + configure the package before its compilation. + * LIBFOO_BUILD_CMDS lists the actions to be performed to compile + the package. + * HOST_LIBFOO_INSTALL_CMDS lists the actions to be performed to + install the package, when the package is a host package. The + package must install its files to the directory given by $ + (HOST_DIR). All files, including development files such as + headers should be installed, since other packages might be + compiled on top of this package. + * LIBFOO_INSTALL_TARGET_CMDS lists the actions to be performed to + install the package to the target directory, when the package is + a target package. The package must install its files to the + directory given by $(TARGET_DIR). Only the files required for + execution of the package have to be installed. Header files, + static libraries and documentation will be removed again when the + target filesystem is finalized. + * LIBFOO_INSTALL_STAGING_CMDS lists the actions to be performed to + install the package to the staging directory, when the package is + a target package. The package must install its files to the + directory given by $(STAGING_DIR). All development files should + be installed, since they might be needed to compile other + packages. + * LIBFOO_INSTALL_IMAGES_CMDS lists the actions to be performed to + install the package to the images directory, when the package is + a target package. The package must install its files to the + directory given by $(BINARIES_DIR). Only files that are binary + images (aka images) that do not belong in the TARGET_DIR but are + necessary for booting the board should be placed here. For + example, a package should utilize this step if it has binaries + which would be similar to the kernel image, bootloader or root + filesystem images. + * LIBFOO_INSTALL_INIT_SYSV, LIBFOO_INSTALL_INIT_OPENRC and + LIBFOO_INSTALL_INIT_SYSTEMD list the actions to install init + scripts either for the systemV-like init systems (busybox, + sysvinit, etc.), openrc or for the systemd units. These commands + will be run only when the relevant init system is installed (i.e. + if systemd is selected as the init system in the configuration, + only LIBFOO_INSTALL_INIT_SYSTEMD will be run). The only exception + is when openrc is chosen as init system and + LIBFOO_INSTALL_INIT_OPENRC has not been set, in such situation + LIBFOO_INSTALL_INIT_SYSV will be called, since openrc supports + sysv init scripts. When systemd is used as the init system, + buildroot will automatically enable all services using the + systemctl preset-all command in the final phase of image + building. You can add preset files to prevent a particular unit + from being automatically enabled by buildroot. + * LIBFOO_HELP_CMDS lists the actions to print the package help, + which is included to the main make help output. These commands + can print anything in any format. This is seldom used, as + packages rarely have custom rules. Do not use this variable, + unless you really know that you need to print help. + * LIBFOO_LINUX_CONFIG_FIXUPS lists the Linux kernel configuration + options that are needed to build and use this package, and + without which the package is fundamentally broken. This shall be + a set of calls to one of the kconfig tweaking option: + KCONFIG_ENABLE_OPT, KCONFIG_DISABLE_OPT, or KCONFIG_SET_OPT. This + is seldom used, as package usually have no strict requirements on + the kernel options. + +The preferred way to define these variables is: + +define LIBFOO_CONFIGURE_CMDS + action 1 + action 2 + action 3 +endef + +In the action definitions, you can use the following variables: + + * $(LIBFOO_PKGDIR) contains the path to the directory containing + the libfoo.mk and Config.in files. This variable is useful when + it is necessary to install a file bundled in Buildroot, like a + runtime configuration file, a splashscreen image… + * $(@D), which contains the directory in which the package source + code has been uncompressed. + * $(LIBFOO_DL_DIR) contains the path to the directory where all the + downloads made by Buildroot for libfoo are stored in. + * $(TARGET_CC), $(TARGET_LD), etc. to get the target + cross-compilation utilities + * $(TARGET_CROSS) to get the cross-compilation toolchain prefix + * Of course the $(HOST_DIR), $(STAGING_DIR) and $(TARGET_DIR) + variables to install the packages properly. Those variables point + to the global host, staging and target directories, unless + per-package directory support is used, in which case they point + to the current package host, staging and target directories. In + both cases, it doesn’t make any difference from the package point + of view: it should simply use HOST_DIR, STAGING_DIR and + TARGET_DIR. See Section 8.12, “Top-level parallel build” for more + details about per-package directory support. + +Finally, you can also use hooks. See Section 18.23, “Hooks available +in the various build steps” for more information. + +18.7. Infrastructure for autotools-based packages + +18.7.1. autotools-package tutorial + +First, let’s see how to write a .mk file for an autotools-based +package, with an example : + +01: ################################################################################ +02: # +03: # libfoo +04: # +05: ################################################################################ +06: +07: LIBFOO_VERSION = 1.0 +08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz +09: LIBFOO_SITE = http://www.foosoftware.org/download +10: LIBFOO_INSTALL_STAGING = YES +11: LIBFOO_INSTALL_TARGET = NO +12: LIBFOO_CONF_OPTS = --disable-shared +13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf +14: +15: $(eval $(autotools-package)) + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location. + +On line 10, we tell Buildroot to install the package to the staging +directory. The staging directory, located in output/staging/ is the +directory where all the packages are installed, including their +development files, etc. By default, packages are not installed to the +staging directory, since usually, only libraries need to be installed +in the staging directory: their development files are needed to +compile other libraries or applications depending on them. Also by +default, when staging installation is enabled, packages are installed +in this location using the make install command. + +On line 11, we tell Buildroot to not install the package to the +target directory. This directory contains what will become the root +filesystem running on the target. For purely static libraries, it is +not necessary to install them in the target directory because they +will not be used at runtime. By default, target installation is +enabled; setting this variable to NO is almost never needed. Also by +default, packages are installed in this location using the make +install command. + +On line 12, we tell Buildroot to pass a custom configure option, that +will be passed to the ./configure script before configuring and +building the package. + +On line 13, we declare our dependencies, so that they are built +before the build process of our package starts. + +Finally, on line line 15, we invoke the autotools-package macro that +generates all the Makefile rules that actually allows the package to +be built. + +18.7.2. autotools-package reference + +The main macro of the autotools package infrastructure is +autotools-package. It is similar to the generic-package macro. The +ability to have target and host packages is also available, with the +host-autotools-package macro. + +Just like the generic infrastructure, the autotools infrastructure +works by defining a number of variables before calling the +autotools-package macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the autotools +infrastructure: LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, +LIBFOO_SITE, LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, +LIBFOO_INSTALL_STAGING, LIBFOO_INSTALL_TARGET. + +A few additional variables, specific to the autotools infrastructure, +can also be defined. Many of them are only useful in very specific +cases, typical packages will therefore only use a few of them. + + * LIBFOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the configure script. This is useful, if + for example, the main configure script is not at the root of the + tree extracted by the tarball. If HOST_LIBFOO_SUBDIR is not + specified, it defaults to LIBFOO_SUBDIR. + * LIBFOO_CONF_ENV, to specify additional environment variables to + pass to the configure script. By default, empty. + * LIBFOO_CONF_OPTS, to specify additional configure options to pass + to the configure script. By default, empty. + * LIBFOO_MAKE, to specify an alternate make command. This is + typically useful when parallel make is enabled in the + configuration (using BR2_JLEVEL) but that this feature should be + disabled for the given package, for one reason or another. By + default, set to $(MAKE). If parallel building is not supported by + the package, then it should be set to LIBFOO_MAKE=$(MAKE1). + * LIBFOO_MAKE_ENV, to specify additional environment variables to + pass to make in the build step. These are passed before the make + command. By default, empty. + * LIBFOO_MAKE_OPTS, to specify additional variables to pass to make + in the build step. These are passed after the make command. By + default, empty. + * LIBFOO_AUTORECONF, tells whether the package should be + autoreconfigured or not (i.e. if the configure script and + Makefile.in files should be re-generated by re-running autoconf, + automake, libtool, etc.). Valid values are YES and NO. By + default, the value is NO + * LIBFOO_AUTORECONF_ENV, to specify additional environment + variables to pass to the autoreconf program if LIBFOO_AUTORECONF= + YES. These are passed in the environment of the autoreconf + command. By default, empty. + * LIBFOO_AUTORECONF_OPTS to specify additional options passed to + the autoreconf program if LIBFOO_AUTORECONF=YES. By default, + empty. + * LIBFOO_GETTEXTIZE, tells whether the package should be + gettextized or not (i.e. if the package uses a different gettext + version than Buildroot provides, and it is needed to run + gettextize.) Only valid when LIBFOO_AUTORECONF=YES. Valid values + are YES and NO. The default is NO. + * LIBFOO_GETTEXTIZE_OPTS, to specify additional options passed to + the gettextize program, if LIBFOO_GETTEXTIZE=YES. You may use + that if, for example, the .po files are not located in the + standard place (i.e. in po/ at the root of the package.) By + default, -f. + * LIBFOO_LIBTOOL_PATCH tells whether the Buildroot patch to fix + libtool cross-compilation issues should be applied or not. Valid + values are YES and NO. By default, the value is YES + * LIBFOO_INSTALL_STAGING_OPTS contains the make options used to + install the package to the staging directory. By default, the + value is DESTDIR=$(STAGING_DIR) install, which is correct for + most autotools packages. It is still possible to override it. + * LIBFOO_INSTALL_TARGET_OPTS contains the make options used to + install the package to the target directory. By default, the + value is DESTDIR=$(TARGET_DIR) install. The default value is + correct for most autotools packages, but it is still possible to + override it if needed. + +With the autotools infrastructure, all the steps required to build +and install the packages are already defined, and they generally work +well for most autotools-based packages. However, when required, it is +still possible to customize what is done in any particular step: + + * By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the + various build steps” for details. + * By overriding one of the steps. For example, even if the + autotools infrastructure is used, if the package .mk file defines + its own LIBFOO_CONFIGURE_CMDS variable, it will be used instead + of the default autotools one. However, using this method should + be restricted to very specific cases. Do not use it in the + general case. + +18.8. Infrastructure for CMake-based packages + +18.8.1. cmake-package tutorial + +First, let’s see how to write a .mk file for a CMake-based package, +with an example : + +01: ################################################################################ +02: # +03: # libfoo +04: # +05: ################################################################################ +06: +07: LIBFOO_VERSION = 1.0 +08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz +09: LIBFOO_SITE = http://www.foosoftware.org/download +10: LIBFOO_INSTALL_STAGING = YES +11: LIBFOO_INSTALL_TARGET = NO +12: LIBFOO_CONF_OPTS = -DBUILD_DEMOS=ON +13: LIBFOO_DEPENDENCIES = libglib2 host-pkgconf +14: +15: $(eval $(cmake-package)) + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location. + +On line 10, we tell Buildroot to install the package to the staging +directory. The staging directory, located in output/staging/ is the +directory where all the packages are installed, including their +development files, etc. By default, packages are not installed to the +staging directory, since usually, only libraries need to be installed +in the staging directory: their development files are needed to +compile other libraries or applications depending on them. Also by +default, when staging installation is enabled, packages are installed +in this location using the make install command. + +On line 11, we tell Buildroot to not install the package to the +target directory. This directory contains what will become the root +filesystem running on the target. For purely static libraries, it is +not necessary to install them in the target directory because they +will not be used at runtime. By default, target installation is +enabled; setting this variable to NO is almost never needed. Also by +default, packages are installed in this location using the make +install command. + +On line 12, we tell Buildroot to pass custom options to CMake when it +is configuring the package. + +On line 13, we declare our dependencies, so that they are built +before the build process of our package starts. + +Finally, on line line 15, we invoke the cmake-package macro that +generates all the Makefile rules that actually allows the package to +be built. + +18.8.2. cmake-package reference + +The main macro of the CMake package infrastructure is cmake-package. +It is similar to the generic-package macro. The ability to have +target and host packages is also available, with the +host-cmake-package macro. + +Just like the generic infrastructure, the CMake infrastructure works +by defining a number of variables before calling the cmake-package +macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the CMake infrastructure: +LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, +LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, +LIBFOO_INSTALL_TARGET. + +A few additional variables, specific to the CMake infrastructure, can +also be defined. Many of them are only useful in very specific cases, +typical packages will therefore only use a few of them. + + * LIBFOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the main CMakeLists.txt file. This is + useful, if for example, the main CMakeLists.txt file is not at + the root of the tree extracted by the tarball. If + HOST_LIBFOO_SUBDIR is not specified, it defaults to + LIBFOO_SUBDIR. + * LIBFOO_CONF_ENV, to specify additional environment variables to + pass to CMake. By default, empty. + * LIBFOO_CONF_OPTS, to specify additional configure options to pass + to CMake. By default, empty. A number of common CMake options are + set by the cmake-package infrastructure; so it is normally not + necessary to set them in the package’s *.mk file unless you want + to override them: + + + CMAKE_BUILD_TYPE is driven by BR2_ENABLE_RUNTIME_DEBUG; + + CMAKE_INSTALL_PREFIX; + + BUILD_SHARED_LIBS is driven by BR2_STATIC_LIBS; + + BUILD_DOC, BUILD_DOCS are disabled; + + BUILD_EXAMPLE, BUILD_EXAMPLES are disabled; + + BUILD_TEST, BUILD_TESTS, BUILD_TESTING are disabled. + * LIBFOO_SUPPORTS_IN_SOURCE_BUILD = NO should be set when the + package cannot be built inside the source tree but needs a + separate build directory. + * LIBFOO_MAKE, to specify an alternate make command. This is + typically useful when parallel make is enabled in the + configuration (using BR2_JLEVEL) but that this feature should be + disabled for the given package, for one reason or another. By + default, set to $(MAKE). If parallel building is not supported by + the package, then it should be set to LIBFOO_MAKE=$(MAKE1). + * LIBFOO_MAKE_ENV, to specify additional environment variables to + pass to make in the build step. These are passed before the make + command. By default, empty. + * LIBFOO_MAKE_OPTS, to specify additional variables to pass to make + in the build step. These are passed after the make command. By + default, empty. + * LIBFOO_INSTALL_OPTS contains the make options used to install the + package to the host directory. By default, the value is install, + which is correct for most CMake packages. It is still possible to + override it. + * LIBFOO_INSTALL_STAGING_OPTS contains the make options used to + install the package to the staging directory. By default, the + value is DESTDIR=$(STAGING_DIR) install/fast, which is correct + for most CMake packages. It is still possible to override it. + * LIBFOO_INSTALL_TARGET_OPTS contains the make options used to + install the package to the target directory. By default, the + value is DESTDIR=$(TARGET_DIR) install/fast. The default value is + correct for most CMake packages, but it is still possible to + override it if needed. + +With the CMake infrastructure, all the steps required to build and +install the packages are already defined, and they generally work +well for most CMake-based packages. However, when required, it is +still possible to customize what is done in any particular step: + + * By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the + various build steps” for details. + * By overriding one of the steps. For example, even if the CMake + infrastructure is used, if the package .mk file defines its own + LIBFOO_CONFIGURE_CMDS variable, it will be used instead of the + default CMake one. However, using this method should be + restricted to very specific cases. Do not use it in the general + case. + +18.9. Infrastructure for Python packages + +This infrastructure applies to Python packages that use the standard +Python setuptools mechanism as their build system, generally +recognizable by the usage of a setup.py script. + +18.9.1. python-package tutorial + +First, let’s see how to write a .mk file for a Python package, with +an example : + +01: ################################################################################ +02: # +03: # python-foo +04: # +05: ################################################################################ +06: +07: PYTHON_FOO_VERSION = 1.0 +08: PYTHON_FOO_SOURCE = python-foo-$(PYTHON_FOO_VERSION).tar.xz +09: PYTHON_FOO_SITE = http://www.foosoftware.org/download +10: PYTHON_FOO_LICENSE = BSD-3-Clause +11: PYTHON_FOO_LICENSE_FILES = LICENSE +12: PYTHON_FOO_ENV = SOME_VAR=1 +13: PYTHON_FOO_DEPENDENCIES = libmad +14: PYTHON_FOO_SETUP_TYPE = distutils +15: +16: $(eval $(python-package)) + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location. + +On line 10 and 11, we give licensing details about the package (its +license on line 10, and the file containing the license text on line +11). + +On line 12, we tell Buildroot to pass custom options to the Python +setup.py script when it is configuring the package. + +On line 13, we declare our dependencies, so that they are built +before the build process of our package starts. + +On line 14, we declare the specific Python build system being used. +In this case the distutils Python build system is used. The two +supported ones are distutils and setuptools. + +Finally, on line 16, we invoke the python-package macro that +generates all the Makefile rules that actually allow the package to +be built. + +18.9.2. python-package reference + +As a policy, packages that merely provide Python modules should all +be named python- in Buildroot. Other packages that use the +Python build system, but are not Python modules, can freely choose +their name (existing examples in Buildroot are scons and supervisor). + +The main macro of the Python package infrastructure is +python-package. It is similar to the generic-package macro. It is +also possible to create Python host packages with the +host-python-package macro. + +Just like the generic infrastructure, the Python infrastructure works +by defining a number of variables before calling the python-package +or host-python-package macros. + +All the package metadata information variables that exist in the +generic package infrastructure also exist in the Python +infrastructure: PYTHON_FOO_VERSION, PYTHON_FOO_SOURCE, +PYTHON_FOO_PATCH, PYTHON_FOO_SITE, PYTHON_FOO_SUBDIR, +PYTHON_FOO_DEPENDENCIES, PYTHON_FOO_LICENSE, +PYTHON_FOO_LICENSE_FILES, PYTHON_FOO_INSTALL_STAGING, etc. + +Note that: + + * It is not necessary to add python or host-python in the + PYTHON_FOO_DEPENDENCIES variable of a package, since these basic + dependencies are automatically added as needed by the Python + package infrastructure. + * Similarly, it is not needed to add host-setuptools to + PYTHON_FOO_DEPENDENCIES for setuptools-based packages, since it’s + automatically added by the Python infrastructure as needed. + +One variable specific to the Python infrastructure is mandatory: + + * PYTHON_FOO_SETUP_TYPE, to define which Python build system is + used by the package. The two supported values are distutils and + setuptools. If you don’t know which one is used in your package, + look at the setup.py file in your package source code, and see + whether it imports things from the distutils module or the + setuptools module. + +A few additional variables, specific to the Python infrastructure, +can optionally be defined, depending on the package’s needs. Many of +them are only useful in very specific cases, typical packages will +therefore only use a few of them, or none. + + * PYTHON_FOO_SUBDIR may contain the name of a subdirectory inside + the package that contains the main setup.py file. This is useful, + if for example, the main setup.py file is not at the root of the + tree extracted by the tarball. If HOST_PYTHON_FOO_SUBDIR is not + specified, it defaults to PYTHON_FOO_SUBDIR. + * PYTHON_FOO_ENV, to specify additional environment variables to + pass to the Python setup.py script (for both the build and + install steps). Note that the infrastructure is automatically + passing several standard variables, defined in + PKG_PYTHON_DISTUTILS_ENV (for distutils target packages), + HOST_PKG_PYTHON_DISTUTILS_ENV (for distutils host packages), + PKG_PYTHON_SETUPTOOLS_ENV (for setuptools target packages) and + HOST_PKG_PYTHON_SETUPTOOLS_ENV (for setuptools host packages). + * PYTHON_FOO_BUILD_OPTS, to specify additional options to pass to + the Python setup.py script during the build step. For target + distutils packages, the PKG_PYTHON_DISTUTILS_BUILD_OPTS options + are already passed automatically by the infrastructure. + * PYTHON_FOO_INSTALL_TARGET_OPTS, PYTHON_FOO_INSTALL_STAGING_OPTS, + HOST_PYTHON_FOO_INSTALL_OPTS to specify additional options to + pass to the Python setup.py script during the target installation + step, the staging installation step or the host installation, + respectively. Note that the infrastructure is automatically + passing some options, defined in + PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS or + PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS (for target distutils + packages), HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS (for host + distutils packages), PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS or + PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS (for target setuptools + packages) and HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS (for host + setuptools packages). + +With the Python infrastructure, all the steps required to build and +install the packages are already defined, and they generally work +well for most Python-based packages. However, when required, it is +still possible to customize what is done in any particular step: + + * By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the + various build steps” for details. + * By overriding one of the steps. For example, even if the Python + infrastructure is used, if the package .mk file defines its own + PYTHON_FOO_BUILD_CMDS variable, it will be used instead of the + default Python one. However, using this method should be + restricted to very specific cases. Do not use it in the general + case. + +18.9.3. Generating a python-package from a PyPI repository + +If the Python package for which you would like to create a Buildroot +package is available on PyPI, you may want to use the scanpypi tool +located in utils/ to automate the process. + +You can find the list of existing PyPI packages here [https:// +pypi.python.org]. + +scanpypi requires Python’s setuptools package to be installed on your +host. + +When at the root of your buildroot directory just do : + +utils/scanpypi foo bar -o package + +This will generate packages python-foo and python-bar in the package +folder if they exist on https://pypi.python.org. + +Find the external python modules menu and insert your package inside. +Keep in mind that the items inside a menu should be in alphabetical +order. + +Please keep in mind that you’ll most likely have to manually check +the package for any mistakes as there are things that cannot be +guessed by the generator (e.g. dependencies on any of the python core +modules such as BR2_PACKAGE_PYTHON_ZLIB). Also, please take note that +the license and license files are guessed and must be checked. You +also need to manually add the package to the package/Config.in file. + +If your Buildroot package is not in the official Buildroot tree but +in a br2-external tree, use the -o flag as follows: + +utils/scanpypi foo bar -o other_package_dir + +This will generate packages python-foo and python-bar in the +other_package_directory instead of package. + +Option -h will list the available options: + +utils/scanpypi -h + +18.9.4. python-package CFFI backend + +C Foreign Function Interface for Python (CFFI) provides a convenient +and reliable way to call compiled C code from Python using interface +declarations written in C. Python packages relying on this backend +can be identified by the appearance of a cffi dependency in the +install_requires field of their setup.py file. + +Such a package should: + + * add python-cffi as a runtime dependency in order to install the + compiled C library wrapper on the target. This is achieved by + adding select BR2_PACKAGE_PYTHON_CFFI to the package Config.in. + +config BR2_PACKAGE_PYTHON_FOO + bool "python-foo" + select BR2_PACKAGE_PYTHON_CFFI # runtime + + * add host-python-cffi as a build-time dependency in order to + cross-compile the C wrapper. This is achieved by adding + host-python-cffi to the PYTHON_FOO_DEPENDENCIES variable. + +################################################################################ +# +# python-foo +# +################################################################################ + +... + +PYTHON_FOO_DEPENDENCIES = host-python-cffi + +$(eval $(python-package)) + +18.10. Infrastructure for LuaRocks-based packages + +18.10.1. luarocks-package tutorial + +First, let’s see how to write a .mk file for a LuaRocks-based +package, with an example : + +01: ################################################################################ +02: # +03: # lua-foo +04: # +05: ################################################################################ +06: +07: LUA_FOO_VERSION = 1.0.2-1 +08: LUA_FOO_NAME_UPSTREAM = foo +09: LUA_FOO_DEPENDENCIES = bar +10: +11: LUA_FOO_BUILD_OPTS += BAR_INCDIR=$(STAGING_DIR)/usr/include +12: LUA_FOO_BUILD_OPTS += BAR_LIBDIR=$(STAGING_DIR)/usr/lib +13: LUA_FOO_LICENSE = luaFoo license +14: LUA_FOO_LICENSE_FILES = $(LUA_FOO_SUBDIR)/COPYING +15: +16: $(eval $(luarocks-package)) + +On line 7, we declare the version of the package (the same as in the +rockspec, which is the concatenation of the upstream version and the +rockspec revision, separated by a hyphen -). + +On line 8, we declare that the package is called "foo" on LuaRocks. +In Buildroot, we give Lua-related packages a name that starts with +"lua", so the Buildroot name is different from the upstream name. +LUA_FOO_NAME_UPSTREAM makes the link between the two names. + +On line 9, we declare our dependencies against native libraries, so +that they are built before the build process of our package starts. + +On lines 11-12, we tell Buildroot to pass custom options to LuaRocks +when it is building the package. + +On lines 13-14, we specify the licensing terms for the package. + +Finally, on line 16, we invoke the luarocks-package macro that +generates all the Makefile rules that actually allows the package to +be built. + +Most of these details can be retrieved from the rock and rockspec. +So, this file and the Config.in file can be generated by running the +command luarocks buildroot foo lua-foo in the Buildroot directory. +This command runs a specific Buildroot addon of luarocks that will +automatically generate a Buildroot package. The result must still be +manually inspected and possibly modified. + + * The package/Config.in file has to be updated manually to include + the generated Config.in files. + +18.10.2. luarocks-package reference + +LuaRocks is a deployment and management system for Lua modules, and +supports various build.type: builtin, make and cmake. In the context +of Buildroot, the luarocks-package infrastructure only supports the +builtin mode. LuaRocks packages that use the make or cmake build +mechanisms should instead be packaged using the generic-package and +cmake-package infrastructures in Buildroot, respectively. + +The main macro of the LuaRocks package infrastructure is +luarocks-package: like generic-package it works by defining a number +of variables providing metadata information about the package, and +then calling luarocks-package. + +Just like the generic infrastructure, the LuaRocks infrastructure +works by defining a number of variables before calling the +luarocks-package macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the LuaRocks infrastructure: +LUA_FOO_VERSION, LUA_FOO_SOURCE, LUA_FOO_SITE, LUA_FOO_DEPENDENCIES, +LUA_FOO_LICENSE, LUA_FOO_LICENSE_FILES. + +Two of them are populated by the LuaRocks infrastructure (for the +download step). If your package is not hosted on the LuaRocks mirror +$(BR2_LUAROCKS_MIRROR), you can override them: + + * LUA_FOO_SITE, which defaults to $(BR2_LUAROCKS_MIRROR) + * LUA_FOO_SOURCE, which defaults to $(lowercase + LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).src.rock + +A few additional variables, specific to the LuaRocks infrastructure, +are also defined. They can be overridden in specific cases. + + * LUA_FOO_NAME_UPSTREAM, which defaults to lua-foo, i.e. the + Buildroot package name + * LUA_FOO_ROCKSPEC, which defaults to $(lowercase + LUA_FOO_NAME_UPSTREAM)-$(LUA_FOO_VERSION).rockspec + * LUA_FOO_SUBDIR, which defaults to $(LUA_FOO_NAME_UPSTREAM)-$ + (LUA_FOO_VERSION_WITHOUT_ROCKSPEC_REVISION) + * LUA_FOO_BUILD_OPTS contains additional build options for the + luarocks build call. + +18.11. Infrastructure for Perl/CPAN packages + +18.11.1. perl-package tutorial + +First, let’s see how to write a .mk file for a Perl/CPAN package, +with an example : + +01: ################################################################################ +02: # +03: # perl-foo-bar +04: # +05: ################################################################################ +06: +07: PERL_FOO_BAR_VERSION = 0.02 +08: PERL_FOO_BAR_SOURCE = Foo-Bar-$(PERL_FOO_BAR_VERSION).tar.gz +09: PERL_FOO_BAR_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MO/MONGER +10: PERL_FOO_BAR_DEPENDENCIES = perl-strictures +11: PERL_FOO_BAR_LICENSE = Artistic or GPL-1.0+ +12: PERL_FOO_BAR_LICENSE_FILES = LICENSE +13: PERL_FOO_BAR_DISTNAME = Foo-Bar +14: +15: $(eval $(perl-package)) + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball and the location +of the tarball on a CPAN server. Buildroot will automatically +download the tarball from this location. + +On line 10, we declare our dependencies, so that they are built +before the build process of our package starts. + +On line 11 and 12, we give licensing details about the package (its +license on line 11, and the file containing the license text on line +12). + +On line 13, the name of the distribution as needed by the script +utils/scancpan (in order to regenerate/upgrade these package files). + +Finally, on line 15, we invoke the perl-package macro that generates +all the Makefile rules that actually allow the package to be built. + +Most of these data can be retrieved from https://metacpan.org/. So, +this file and the Config.in can be generated by running the script +utils/scancpan Foo-Bar in the Buildroot directory (or in a +br2-external tree). This script creates a Config.in file and +foo-bar.mk file for the requested package, and also recursively for +all dependencies specified by CPAN. You should still manually edit +the result. In particular, the following things should be checked. + + * If the perl module links with a shared library that is provided + by another (non-perl) package, this dependency is not added + automatically. It has to be added manually to + PERL_FOO_BAR_DEPENDENCIES. + * The package/Config.in file has to be updated manually to include + the generated Config.in files. As a hint, the scancpan script + prints out the required source "…" statements, sorted + alphabetically. + +18.11.2. perl-package reference + +As a policy, packages that provide Perl/CPAN modules should all be +named perl- in Buildroot. + +This infrastructure handles various Perl build systems : +ExtUtils-MakeMaker (EUMM), Module-Build (MB) and Module-Build-Tiny. +Build.PL is preferred by default when a package provides a +Makefile.PL and a Build.PL. + +The main macro of the Perl/CPAN package infrastructure is +perl-package. It is similar to the generic-package macro. The ability +to have target and host packages is also available, with the +host-perl-package macro. + +Just like the generic infrastructure, the Perl/CPAN infrastructure +works by defining a number of variables before calling the +perl-package macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the Perl/CPAN +infrastructure: PERL_FOO_VERSION, PERL_FOO_SOURCE, PERL_FOO_PATCH, +PERL_FOO_SITE, PERL_FOO_SUBDIR, PERL_FOO_DEPENDENCIES, +PERL_FOO_INSTALL_TARGET. + +Note that setting PERL_FOO_INSTALL_STAGING to YES has no effect +unless a PERL_FOO_INSTALL_STAGING_CMDS variable is defined. The perl +infrastructure doesn’t define these commands since Perl modules +generally don’t need to be installed to the staging directory. + +A few additional variables, specific to the Perl/CPAN infrastructure, +can also be defined. Many of them are only useful in very specific +cases, typical packages will therefore only use a few of them. + + * PERL_FOO_PREFER_INSTALLER/HOST_PERL_FOO_PREFER_INSTALLER, + specifies the preferred installation method. Possible values are + EUMM (for Makefile.PL based installation using + ExtUtils-MakeMaker) and MB (for Build.PL based installation using + Module-Build). This variable is only used when the package + provides both installation methods. + * PERL_FOO_CONF_ENV/HOST_PERL_FOO_CONF_ENV, to specify additional + environment variables to pass to the perl Makefile.PL or perl + Build.PL. By default, empty. + * PERL_FOO_CONF_OPTS/HOST_PERL_FOO_CONF_OPTS, to specify additional + configure options to pass to the perl Makefile.PL or perl + Build.PL. By default, empty. + * PERL_FOO_BUILD_OPTS/HOST_PERL_FOO_BUILD_OPTS, to specify + additional options to pass to make pure_all or perl Build build + in the build step. By default, empty. + * PERL_FOO_INSTALL_TARGET_OPTS, to specify additional options to + pass to make pure_install or perl Build install in the install + step. By default, empty. + * HOST_PERL_FOO_INSTALL_OPTS, to specify additional options to pass + to make pure_install or perl Build install in the install step. + By default, empty. + +18.12. Infrastructure for virtual packages + +In Buildroot, a virtual package is a package whose functionalities +are provided by one or more packages, referred to as providers. The +virtual package management is an extensible mechanism allowing the +user to choose the provider used in the rootfs. + +For example, OpenGL ES is an API for 2D and 3D graphics on embedded +systems. The implementation of this API is different for the +Allwinner Tech Sunxi and the Texas Instruments OMAP35xx platforms. So +libgles will be a virtual package and sunxi-mali-utgard and ti-gfx +will be the providers. + +18.12.1. virtual-package tutorial + +In the following example, we will explain how to add a new virtual +package (something-virtual) and a provider for it (some-provider). + +First, let’s create the virtual package. + +18.12.2. Virtual package’s Config.in file + +The Config.in file of virtual package something-virtual should +contain: + +01: config BR2_PACKAGE_HAS_SOMETHING_VIRTUAL +02: bool +03: +04: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL +05: depends on BR2_PACKAGE_HAS_SOMETHING_VIRTUAL +06: string + +In this file, we declare two options, +BR2_PACKAGE_HAS_SOMETHING_VIRTUAL and +BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL, whose values will be used by +the providers. + +18.12.3. Virtual package’s .mk file + +The .mk for the virtual package should just evaluate the +virtual-package macro: + +01: ################################################################################ +02: # +03: # something-virtual +04: # +05: ################################################################################ +06: +07: $(eval $(virtual-package)) + +The ability to have target and host packages is also available, with +the host-virtual-package macro. + +18.12.4. Provider’s Config.in file + +When adding a package as a provider, only the Config.in file requires +some modifications. + +The Config.in file of the package some-provider, which provides the +functionalities of something-virtual, should contain: + +01: config BR2_PACKAGE_SOME_PROVIDER +02: bool "some-provider" +03: select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL +04: help +05: This is a comment that explains what some-provider is. +06: +07: http://foosoftware.org/some-provider/ +08: +09: if BR2_PACKAGE_SOME_PROVIDER +10: config BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL +11: default "some-provider" +12: endif + +On line 3, we select BR2_PACKAGE_HAS_SOMETHING_VIRTUAL, and on line +11, we set the value of BR2_PACKAGE_PROVIDES_SOMETHING_VIRTUAL to the +name of the provider, but only if it is selected. + +18.12.5. Provider’s .mk file + +The .mk file should also declare an additional variable +SOME_PROVIDER_PROVIDES to contain the names of all the virtual +packages it is an implementation of: + +01: SOME_PROVIDER_PROVIDES = something-virtual + +Of course, do not forget to add the proper build and runtime +dependencies for this package! + +18.12.6. Notes on depending on a virtual package + +When adding a package that requires a certain FEATURE provided by a +virtual package, you have to use depends on BR2_PACKAGE_HAS_FEATURE, +like so: + +config BR2_PACKAGE_HAS_FEATURE + bool + +config BR2_PACKAGE_FOO + bool "foo" + depends on BR2_PACKAGE_HAS_FEATURE + +18.12.7. Notes on depending on a specific provider + +If your package really requires a specific provider, then you’ll have +to make your package depends on this provider; you can not select a +provider. + +Let’s take an example with two providers for a FEATURE: + +config BR2_PACKAGE_HAS_FEATURE + bool + +config BR2_PACKAGE_FOO + bool "foo" + select BR2_PACKAGE_HAS_FEATURE + +config BR2_PACKAGE_BAR + bool "bar" + select BR2_PACKAGE_HAS_FEATURE + +And you are adding a package that needs FEATURE as provided by foo, +but not as provided by bar. + +If you were to use select BR2_PACKAGE_FOO, then the user would still +be able to select BR2_PACKAGE_BAR in the menuconfig. This would +create a configuration inconsistency, whereby two providers of the +same FEATURE would be enabled at once, one explicitly set by the +user, the other implicitly by your select. + +Instead, you have to use depends on BR2_PACKAGE_FOO, which avoids any +implicit configuration inconsistency. + +18.13. Infrastructure for packages using kconfig for configuration +files + +A popular way for a software package to handle user-specified +configuration is kconfig. Among others, it is used by the Linux +kernel, Busybox, and Buildroot itself. The presence of a .config file +and a menuconfig target are two well-known symptoms of kconfig being +used. + +Buildroot features an infrastructure for packages that use kconfig +for their configuration. This infrastructure provides the necessary +logic to expose the package’s menuconfig target as foo-menuconfig in +Buildroot, and to handle the copying back and forth of the +configuration file in a correct way. + +The kconfig-package infrastructure is based on the generic-package +infrastructure. All variables supported by generic-package are +available in kconfig-package as well. See Section 18.6.2, +“generic-package reference” for more details. + +In order to use the kconfig-package infrastructure for a Buildroot +package, the minimally required lines in the .mk file, in addition to +the variables required by the generic-package infrastructure, are: + +FOO_KCONFIG_FILE = reference-to-source-configuration-file + +$(eval $(kconfig-package)) + +This snippet creates the following make targets: + + * foo-menuconfig, which calls the package’s menuconfig target + * foo-update-config, which copies the configuration back to the + source configuration file. It is not possible to use this target + when fragment files are set. + * foo-update-defconfig, which copies the configuration back to the + source configuration file. The configuration file will only list + the options that differ from the default values. It is not + possible to use this target when fragment files are set. + * foo-diff-config, which outputs the differences between the + current configuration and the one defined in the Buildroot + configuration for this kconfig package. The output is useful to + identify the configuration changes that may have to be propagated + to configuration fragments for example. + +and ensures that the source configuration file is copied to the build +directory at the right moment. + +There are two options to specify a configuration file to use, either +FOO_KCONFIG_FILE (as in the example, above) or FOO_KCONFIG_DEFCONFIG. +It is mandatory to provide either, but not both: + + * FOO_KCONFIG_FILE specifies the path to a defconfig or full-config + file to be used to configure the package. + * FOO_KCONFIG_DEFCONFIG specifies the defconfig make rule to call + to configure the package. + +In addition to these minimally required lines, several optional +variables can be set to suit the needs of the package under +consideration: + + * FOO_KCONFIG_EDITORS: a space-separated list of kconfig editors to + support, for example menuconfig xconfig. By default, menuconfig. + * FOO_KCONFIG_FRAGMENT_FILES: a space-separated list of + configuration fragment files that are merged to the main + configuration file. Fragment files are typically used when there + is a desire to stay in sync with an upstream (def)config file, + with some minor modifications. + * FOO_KCONFIG_OPTS: extra options to pass when calling the kconfig + editors. This may need to include $(FOO_MAKE_OPTS), for example. + By default, empty. + * FOO_KCONFIG_FIXUP_CMDS: a list of shell commands needed to fixup + the configuration file after copying it or running a kconfig + editor. Such commands may be needed to ensure a configuration + consistent with other configuration of Buildroot, for example. By + default, empty. + * FOO_KCONFIG_DOTCONFIG: path (with filename) of the .config file, + relative to the package source tree. The default, .config, should + be well suited for all packages that use the standard kconfig + infrastructure as inherited from the Linux kernel; some packages + use a derivative of kconfig that use a different location. + * FOO_KCONFIG_DEPENDENCIES: the list of packages (most probably, + host packages) that need to be built before this package’s + kconfig is interpreted. Seldom used. By default, empty. + * FOO_KCONFIG_SUPPORTS_DEFCONFIG: whether the package’s kconfig + system supports using defconfig files; few packages do not. By + default, YES. + +18.14. Infrastructure for rebar-based packages + +18.14.1. rebar-package tutorial + +First, let’s see how to write a .mk file for a rebar-based package, +with an example : + +01: ################################################################################ +02: # +03: # erlang-foobar +04: # +05: ################################################################################ +06: +07: ERLANG_FOOBAR_VERSION = 1.0 +08: ERLANG_FOOBAR_SOURCE = erlang-foobar-$(ERLANG_FOOBAR_VERSION).tar.xz +09: ERLANG_FOOBAR_SITE = http://www.foosoftware.org/download +10: ERLANG_FOOBAR_DEPENDENCIES = host-libaaa libbbb +11: +12: $(eval $(rebar-package)) + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location. + +On line 10, we declare our dependencies, so that they are built +before the build process of our package starts. + +Finally, on line 12, we invoke the rebar-package macro that generates +all the Makefile rules that actually allows the package to be built. + +18.14.2. rebar-package reference + +The main macro of the rebar package infrastructure is rebar-package. +It is similar to the generic-package macro. The ability to have host +packages is also available, with the host-rebar-package macro. + +Just like the generic infrastructure, the rebar infrastructure works +by defining a number of variables before calling the rebar-package +macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the rebar infrastructure: +ERLANG_FOOBAR_VERSION, ERLANG_FOOBAR_SOURCE, ERLANG_FOOBAR_PATCH, +ERLANG_FOOBAR_SITE, ERLANG_FOOBAR_SUBDIR, ERLANG_FOOBAR_DEPENDENCIES, +ERLANG_FOOBAR_INSTALL_STAGING, ERLANG_FOOBAR_INSTALL_TARGET, +ERLANG_FOOBAR_LICENSE and ERLANG_FOOBAR_LICENSE_FILES. + +A few additional variables, specific to the rebar infrastructure, can +also be defined. Many of them are only useful in very specific cases, +typical packages will therefore only use a few of them. + + * ERLANG_FOOBAR_USE_AUTOCONF, to specify that the package uses + autoconf at the configuration step. When a package sets this + variable to YES, the autotools infrastructure is used. + + Note. You can also use some of the variables from the autotools + infrastructure: ERLANG_FOOBAR_CONF_ENV, ERLANG_FOOBAR_CONF_OPTS, + ERLANG_FOOBAR_AUTORECONF, ERLANG_FOOBAR_AUTORECONF_ENV and + ERLANG_FOOBAR_AUTORECONF_OPTS. + + * ERLANG_FOOBAR_USE_BUNDLED_REBAR, to specify that the package has + a bundled version of rebar and that it shall be used. Valid + values are YES or NO (the default). + + Note. If the package bundles a rebar utility, but can use the + generic one that Buildroot provides, just say NO (i.e., do not + specify this variable). Only set if it is mandatory to use the + rebar utility bundled in this package. + + * ERLANG_FOOBAR_REBAR_ENV, to specify additional environment + variables to pass to the rebar utility. + * ERLANG_FOOBAR_KEEP_DEPENDENCIES, to keep the dependencies + described in the rebar.config file. Valid values are YES or NO + (the default). Unless this variable is set to YES, the rebar + infrastructure removes such dependencies in a post-patch hook to + ensure rebar does not download nor compile them. + +With the rebar infrastructure, all the steps required to build and +install the packages are already defined, and they generally work +well for most rebar-based packages. However, when required, it is +still possible to customize what is done in any particular step: + + * By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the + various build steps” for details. + * By overriding one of the steps. For example, even if the rebar + infrastructure is used, if the package .mk file defines its own + ERLANG_FOOBAR_BUILD_CMDS variable, it will be used instead of the + default rebar one. However, using this method should be + restricted to very specific cases. Do not use it in the general + case. + +18.15. Infrastructure for Waf-based packages + +18.15.1. waf-package tutorial + +First, let’s see how to write a .mk file for a Waf-based package, +with an example : + +01: ################################################################################ +02: # +03: # libfoo +04: # +05: ################################################################################ +06: +07: LIBFOO_VERSION = 1.0 +08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz +09: LIBFOO_SITE = http://www.foosoftware.org/download +10: LIBFOO_CONF_OPTS = --enable-bar --disable-baz +11: LIBFOO_DEPENDENCIES = bar +12: +13: $(eval $(waf-package)) + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location. + +On line 10, we tell Buildroot what options to enable for libfoo. + +On line 11, we tell Buildroot the dependencies of libfoo. + +Finally, on line line 13, we invoke the waf-package macro that +generates all the Makefile rules that actually allows the package to +be built. + +18.15.2. waf-package reference + +The main macro of the Waf package infrastructure is waf-package. It +is similar to the generic-package macro. + +Just like the generic infrastructure, the Waf infrastructure works by +defining a number of variables before calling the waf-package macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the Waf infrastructure: +LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, +LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, +LIBFOO_INSTALL_TARGET. + +An additional variable, specific to the Waf infrastructure, can also +be defined. + + * LIBFOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the main wscript file. This is useful, if + for example, the main wscript file is not at the root of the tree + extracted by the tarball. If HOST_LIBFOO_SUBDIR is not specified, + it defaults to LIBFOO_SUBDIR. + * LIBFOO_NEEDS_EXTERNAL_WAF can be set to YES or NO to tell + Buildroot to use the bundled waf executable. If set to NO, the + default, then Buildroot will use the waf executable provided in + the package source tree; if set to YES, then Buildroot will + download, install waf as a host tool and use it to build the + package. + * LIBFOO_WAF_OPTS, to specify additional options to pass to the waf + script at every step of the package build process: configure, + build and installation. By default, empty. + * LIBFOO_CONF_OPTS, to specify additional options to pass to the + waf script for the configuration step. By default, empty. + * LIBFOO_BUILD_OPTS, to specify additional options to pass to the + waf script during the build step. By default, empty. + * LIBFOO_INSTALL_STAGING_OPTS, to specify additional options to + pass to the waf script during the staging installation step. By + default, empty. + * LIBFOO_INSTALL_TARGET_OPTS, to specify additional options to pass + to the waf script during the target installation step. By + default, empty. + +18.16. Infrastructure for Meson-based packages + +18.16.1. meson-package tutorial + +Meson [http://mesonbuild.com] is an open source build system meant to +be both extremely fast, and, even more importantly, as user friendly +as possible. It uses Ninja [https://ninja-build.org] as a companion +tool to perform the actual build operations. + +Let’s see how to write a .mk file for a Meson-based package, with an +example: + +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.0 +08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz +09: FOO_SITE = http://www.foosoftware.org/download +10: FOO_LICENSE = GPL-3.0+ +11: FOO_LICENSE_FILES = COPYING +12: FOO_INSTALL_STAGING = YES +13: +14: FOO_DEPENDENCIES = host-pkgconf bar +15: +16: ifeq ($(BR2_PACKAGE_BAZ),y) +17: FOO_CONF_OPTS += -Dbaz=true +18: FOO_DEPENDENCIES += baz +19: else +20: FOO_CONF_OPTS += -Dbaz=false +21: endif +22: +23: $(eval $(meson-package)) + +The Makefile starts with the definition of the standard variables for +package declaration (lines 7 to 11). + +On line line 23, we invoke the meson-package macro that generates all +the Makefile rules that actually allows the package to be built. + +In the example, host-pkgconf and bar are declared as dependencies in +FOO_DEPENDENCIES at line 14 because the Meson build file of foo uses +pkg-config to determine the compilation flags and libraries of +package bar. + +Note that it is not necessary to add host-meson in the +FOO_DEPENDENCIES variable of a package, since this basic dependency +is automatically added as needed by the Meson package infrastructure. + +If the "baz" package is selected, then support for the "baz" feature +in "foo" is activated by adding -Dbaz=true to FOO_CONF_OPTS at line +17, as specified in the meson_options.txt file in "foo" source tree. +The "baz" package is also added to FOO_DEPENDENCIES. Note that the +support for baz is explicitly disabled at line 20, if the package is +not selected. + +To sum it up, to add a new meson-based package, the Makefile example +can be copied verbatim then edited to replace all occurences of FOO +with the uppercase name of the new package and update the values of +the standard variables. + +18.16.2. meson-package reference + +The main macro of the Meson package infrastructure is meson-package. +It is similar to the generic-package macro. The ability to have +target and host packages is also available, with the +host-meson-package macro. + +Just like the generic infrastructure, the Meson infrastructure works +by defining a number of variables before calling the meson-package +macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the Meson infrastructure: +FOO_VERSION, FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_SUBDIR, +FOO_DEPENDENCIES, FOO_INSTALL_STAGING, FOO_INSTALL_TARGET. + +A few additional variables, specific to the Meson infrastructure, can +also be defined. Many of them are only useful in very specific cases, +typical packages will therefore only use a few of them. + + * FOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the main meson.build file. This is useful, + if for example, the main meson.build file is not at the root of + the tree extracted by the tarball. If HOST_FOO_SUBDIR is not + specified, it defaults to FOO_SUBDIR. + * FOO_CONF_ENV, to specify additional environment variables to pass + to meson for the configuration step. By default, empty. + * FOO_CONF_OPTS, to specify additional options to pass to meson for + the configuration step. By default, empty. + * FOO_CFLAGS, to specify compiler arguments added to the package + specific cross-compile.conf file c_args property. By default, the + value of TARGET_CFLAGS. + * FOO_CXXFLAGS, to specify compiler arguments added to the package + specific cross-compile.conf file cpp_args property. By default, + the value of TARGET_CXXFLAGS. + * FOO_LDFLAGS, to specify compiler arguments added to the package + specific cross-compile.conf file c_link_args and cpp_link_args + properties. By default, the value of TARGET_LDFLAGS. + * FOO_MESON_EXTRA_BINARIES, to specify a space-separated list of + programs to add to the [binaries] section of the meson + cross-compilation.conf configuration file. The format is + program-name='/path/to/program', with no space around the = sign, + and with the path of the program between single quotes. By + default, empty. Note that Buildroot already sets the correct + values for c, cpp, ar, strip, and pkgconfig. + * FOO_MESON_EXTRA_PROPERTIES, to specify a space-separated list of + properties to add to the [properties] section of the meson + cross-compilation.conf configuration file. The format is + property-name= with no space around the = sign, and with + single quotes around string values. By default, empty. Note that + Buildroot already sets values for needs_exe_wrapper, c_args, + c_link_args, cpp_args, cpp_link_args, sys_root, and + pkg_config_libdir. + * FOO_NINJA_ENV, to specify additional environment variables to + pass to ninja, meson companion tool in charge of the build + operations. By default, empty. + * FOO_NINJA_OPTS, to specify a space-separated list of targets to + build. By default, empty, to build the default target(s). + +18.17. Infrastructure for Cargo-based packages + +Cargo is the package manager for the Rust programming language. It +allows the user to build programs or libraries written in Rust, but +it also downloads and manages their dependencies, to ensure +repeatable builds. Cargo packages are called "crates". + +18.17.1. cargo-package tutorial + +The Config.in file of Cargo-based package foo should contain: + +01: config BR2_PACKAGE_FOO +02: bool "foo" +03: depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS +04: select BR2_PACKAGE_HOST_RUSTC +05: help +06: This is a comment that explains what foo is. +07: +08: http://foosoftware.org/foo/ + +And the .mk file for this package should contain: + +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.0 +08: FOO_SOURCE = foo-$(FOO_VERSION).tar.gz +09: FOO_SITE = http://www.foosoftware.org/download +10: FOO_LICENSE = GPL-3.0+ +11: FOO_LICENSE_FILES = COPYING +12: +13: $(eval $(cargo-package)) + +The Makefile starts with the definition of the standard variables for +package declaration (lines 7 to 11). + +As seen in line 13, it is based on the cargo-package infrastructure. +Cargo will be invoked automatically by this infrastructure to build +and install the package. + +It is still possible to define custom build commands or install +commands (i.e. with FOO_BUILD_CMDS and FOO_INSTALL_TARGET_CMDS). +Those will then replace the commands from the cargo infrastructure. + +18.17.2. cargo-package reference + +The main macros for the Cargo package infrastructure are +cargo-package for target packages and host-cargo-package for host +packages. + +Just like the generic infrastructure, the Cargo infrastructure works +by defining a number of variables before calling the cargo-package or +host-cargo-package macros. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the Cargo infrastructure: +FOO_VERSION, FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_DEPENDENCIES, +FOO_LICENSE, FOO_LICENSE_FILES, etc. + +A few additional variables, specific to the Cargo infrastructure, can +also be defined. Many of them are only useful in very specific cases, +typical packages will therefore only use a few of them. + + * FOO_SUBDIR may contain the name of a subdirectory inside the + package that contains the Cargo.toml file. This is useful, if for + example, it is not at the root of the tree extracted by the + tarball. If HOST_FOO_SUBDIR is not specified, it defaults to + FOO_SUBDIR. + * FOO_CARGO_ENV can be used to pass additional variables in the + environment of cargo invocations. It used at both build and + installation time + * FOO_CARGO_BUILD_OPTS can be used to pass additional options to + cargo at build time. + * FOO_CARGO_INSTALL_OPTS can be used to pass additional options to + cargo at install time. + +A crate can depend on other libraries from crates.io or git +repositories, listed in its Cargo.toml file. Buildroot automatically +takes care of downloading such dependencies as part of the download +step of packages that use the cargo-package infrastructure. Such +dependencies are then kept together with the package source code in +the tarball cached in Buildroot’s DL_DIR, and therefore the hash of +the package’s tarball includes such dependencies. + +This mechanism ensures that any change in the dependencies will be +detected, and allows the build to be performed completely offline. + +18.18. Infrastructure for Go packages + +This infrastructure applies to Go packages that use the standard +build system and use bundled dependencies. + +18.18.1. golang-package tutorial + +First, let’s see how to write a .mk file for a go package, with an +example : + +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.0 +08: FOO_SITE = $(call github,bar,foo,$(FOO_VERSION)) +09: FOO_LICENSE = BSD-3-Clause +10: FOO_LICENSE_FILES = LICENSE +11: +12: $(eval $(golang-package)) + +On line 7, we declare the version of the package. + +On line 8, we declare the upstream location of the package, here +fetched from Github, since a large number of Go packages are hosted +on Github. + +On line 9 and 10, we give licensing details about the package. + +Finally, on line 12, we invoke the golang-package macro that +generates all the Makefile rules that actually allow the package to +be built. + +18.18.2. golang-package reference + +In their Config.in file, packages using the golang-package +infrastructure should depend on +BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS because Buildroot will +automatically add a dependency on host-go to such packages. If you +need CGO support in your package, you must add a dependency on +BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS. + +The main macro of the Go package infrastructure is golang-package. It +is similar to the generic-package macro. The ability to build host +packages is also available, with the host-golang-package macro. Host +packages built by host-golang-package macro should depend on +BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS. + +Just like the generic infrastructure, the Go infrastructure works by +defining a number of variables before calling the golang-package. + +All the package metadata information variables that exist in the +generic package infrastructure also exist in the Go infrastructure: +FOO_VERSION, FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_SUBDIR, +FOO_DEPENDENCIES, FOO_LICENSE, FOO_LICENSE_FILES, +FOO_INSTALL_STAGING, etc. + +Note that it is not necessary to add host-go in the FOO_DEPENDENCIES +variable of a package, since this basic dependency is automatically +added as needed by the Go package infrastructure. + +A few additional variables, specific to the Go infrastructure, can +optionally be defined, depending on the package’s needs. Many of them +are only useful in very specific cases, typical packages will +therefore only use a few of them, or none. + + * The package must specify its Go module name in the FOO_GOMOD + variable. If not specified, it defaults to URL-domain/ + 1st-part-of-URL/2nd-part-of-URL, e.g FOO_GOMOD will take the + value github.com/bar/foo for a package that specifies FOO_SITE = + $(call github,bar,foo,$(FOO_VERSION)). The Go package + infrastructure will automatically generate a minimal go.mod file + in the package source tree if it doesn’t exist. + * FOO_LDFLAGS and FOO_TAGS can be used to pass respectively the + LDFLAGS or the TAGS to the go build command. + * FOO_BUILD_TARGETS can be used to pass the list of targets that + should be built. If FOO_BUILD_TARGETS is not specified, it + defaults to .. We then have two cases: + + + FOO_BUILD_TARGETS is .. In this case, we assume only one + binary will be produced, and that by default we name it after + the package name. If that is not appropriate, the name of the + produced binary can be overridden using FOO_BIN_NAME. + + FOO_BUILD_TARGETS is not .. In this case, we iterate over the + values to build each target, and for each produced a binary + that is the non-directory component of the target. For + example if FOO_BUILD_TARGETS = cmd/docker cmd/dockerd the + binaries produced are docker and dockerd. + * FOO_INSTALL_BINS can be used to pass the list of binaries that + should be installed in /usr/bin on the target. If + FOO_INSTALL_BINS is not specified, it defaults to the lower-case + name of package. + +With the Go infrastructure, all the steps required to build and +install the packages are already defined, and they generally work +well for most Go-based packages. However, when required, it is still +possible to customize what is done in any particular step: + + * By adding a post-operation hook (after extract, patch, configure, + build or install). See Section 18.23, “Hooks available in the + various build steps” for details. + * By overriding one of the steps. For example, even if the Go + infrastructure is used, if the package .mk file defines its own + FOO_BUILD_CMDS variable, it will be used instead of the default + Go one. However, using this method should be restricted to very + specific cases. Do not use it in the general case. + +A Go package can depend on other Go modules, listed in its go.mod +file. Buildroot automatically takes care of downloading such +dependencies as part of the download step of packages that use the +golang-package infrastructure. Such dependencies are then kept +together with the package source code in the tarball cached in +Buildroot’s DL_DIR, and therefore the hash of the package’s tarball +includes such dependencies. + +This mechanism ensures that any change in the dependencies will be +detected, and allows the build to be performed completely offline. + +18.19. Infrastructure for QMake-based packages + +18.19.1. qmake-package tutorial + +First, let’s see how to write a .mk file for a QMake-based package, +with an example : + +01: ################################################################################ +02: # +03: # libfoo +04: # +05: ################################################################################ +06: +07: LIBFOO_VERSION = 1.0 +08: LIBFOO_SOURCE = libfoo-$(LIBFOO_VERSION).tar.gz +09: LIBFOO_SITE = http://www.foosoftware.org/download +10: LIBFOO_CONF_OPTS = QT_CONFIG+=bar QT_CONFIG-=baz +11: LIBFOO_DEPENDENCIES = bar +12: +13: $(eval $(qmake-package)) + +On line 7, we declare the version of the package. + +On line 8 and 9, we declare the name of the tarball (xz-ed tarball +recommended) and the location of the tarball on the Web. Buildroot +will automatically download the tarball from this location. + +On line 10, we tell Buildroot what options to enable for libfoo. + +On line 11, we tell Buildroot the dependencies of libfoo. + +Finally, on line line 13, we invoke the qmake-package macro that +generates all the Makefile rules that actually allows the package to +be built. + +18.19.2. qmake-package reference + +The main macro of the QMake package infrastructure is qmake-package. +It is similar to the generic-package macro. + +Just like the generic infrastructure, the QMake infrastructure works +by defining a number of variables before calling the qmake-package +macro. + +First, all the package metadata information variables that exist in +the generic infrastructure also exist in the QMake infrastructure: +LIBFOO_VERSION, LIBFOO_SOURCE, LIBFOO_PATCH, LIBFOO_SITE, +LIBFOO_SUBDIR, LIBFOO_DEPENDENCIES, LIBFOO_INSTALL_STAGING, +LIBFOO_INSTALL_TARGET. + +An additional variable, specific to the QMake infrastructure, can +also be defined. + + * LIBFOO_CONF_ENV, to specify additional environment variables to + pass to the qmake script for the configuration step. By default, + empty. + * LIBFOO_CONF_OPTS, to specify additional options to pass to the + qmake script for the configuration step. By default, empty. + * LIBFOO_MAKE_ENV, to specify additional environment variables to + the make command during the build and install steps. By default, + empty. + * LIBFOO_MAKE_OPTS, to specify additional targets to pass to the + make command during the build step. By default, empty. + * LIBFOO_INSTALL_STAGING_OPTS, to specify additional targets to + pass to the make command during the staging installation step. By + default, install. + * LIBFOO_INSTALL_TARGET_OPTS, to specify additional targets to pass + to the make command during the target installation step. By + default, install. + * LIBFOO_SYNC_QT_HEADERS, to run syncqt.pl before qmake. Some + packages need this to have a properly populated include directory + before running the build. + +18.20. Infrastructure for packages building kernel modules + +Buildroot offers a helper infrastructure to make it easy to write +packages that build and install Linux kernel modules. Some packages +only contain a kernel module, other packages contain programs and +libraries in addition to kernel modules. Buildroot’s helper +infrastructure supports either case. + +18.20.1. kernel-module tutorial + +Let’s start with an example on how to prepare a simple package that +only builds a kernel module, and no other component: + +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.2.3 +08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz +09: FOO_SITE = http://www.foosoftware.org/download +10: FOO_LICENSE = GPL-2.0 +11: FOO_LICENSE_FILES = COPYING +12: +13: $(eval $(kernel-module)) +14: $(eval $(generic-package)) + +Lines 7-11 define the usual meta-data to specify the version, archive +name, remote URI where to find the package source, licensing +information. + +On line 13, we invoke the kernel-module helper infrastructure, that +generates all the appropriate Makefile rules and variables to build +that kernel module. + +Finally, on line 14, we invoke the generic-package infrastructure. + +The dependency on linux is automatically added, so it is not needed +to specify it in FOO_DEPENDENCIES. + +What you may have noticed is that, unlike other package +infrastructures, we explicitly invoke a second infrastructure. This +allows a package to build a kernel module, but also, if needed, use +any one of other package infrastructures to build normal userland +components (libraries, executables…). Using the kernel-module +infrastructure on its own is not sufficient; another package +infrastructure must be used. + +Let’s look at a more complex example: + +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: FOO_VERSION = 1.2.3 +08: FOO_SOURCE = foo-$(FOO_VERSION).tar.xz +09: FOO_SITE = http://www.foosoftware.org/download +10: FOO_LICENSE = GPL-2.0 +11: FOO_LICENSE_FILES = COPYING +12: +13: FOO_MODULE_SUBDIRS = driver/base +14: FOO_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED) +15: +16: ifeq ($(BR2_PACKAGE_LIBBAR),y) +17: FOO_DEPENDENCIES += libbar +18: FOO_CONF_OPTS += --enable-bar +19: FOO_MODULE_SUBDIRS += driver/bar +20: else +21: FOO_CONF_OPTS += --disable-bar +22: endif +23: +24: $(eval $(kernel-module)) +26: $(eval $(autotools-package)) + +Here, we see that we have an autotools-based package, that also +builds the kernel module located in sub-directory driver/base and, if +libbar is enabled, the kernel module located in sub-directory driver/ +bar, and defines the variable KVERSION to be passed to the Linux +buildsystem when building the module(s). + +18.20.2. kernel-module reference + +The main macro for the kernel module infrastructure is kernel-module. +Unlike other package infrastructures, it is not stand-alone, and +requires any of the other *-package macros be called after it. + +The kernel-module macro defines post-build and post-target-install +hooks to build the kernel modules. If the package’s .mk needs access +to the built kernel modules, it should do so in a post-build hook, +registered after the call to kernel-module. Similarly, if the +package’s .mk needs access to the kernel module after it has been +installed, it should do so in a post-install hook, registered after +the call to kernel-module. Here’s an example: + +$(eval $(kernel-module)) + +define FOO_DO_STUFF_WITH_KERNEL_MODULE + # Do something with it... +endef +FOO_POST_BUILD_HOOKS += FOO_DO_STUFF_WITH_KERNEL_MODULE + +$(eval $(generic-package)) + +Finally, unlike the other package infrastructures, there is no +host-kernel-module variant to build a host kernel module. + +The following additional variables can optionally be defined to +further configure the build of the kernel module: + + * FOO_MODULE_SUBDIRS may be set to one or more sub-directories + (relative to the package source top-directory) where the kernel + module sources are. If empty or not set, the sources for the + kernel module(s) are considered to be located at the top of the + package source tree. + * FOO_MODULE_MAKE_OPTS may be set to contain extra variable + definitions to pass to the Linux buildsystem. + +You may also reference (but you may not set!) those variables: + + * LINUX_DIR contains the path to where the Linux kernel has been + extracted and built. + * LINUX_VERSION contains the version string as configured by the + user. + * LINUX_VERSION_PROBED contains the real version string of the + kernel, retrieved with running make -C $(LINUX_DIR) kernelrelease + * KERNEL_ARCH contains the name of the current architecture, like + arm, mips… + +18.21. Infrastructure for asciidoc documents + +The Buildroot manual, which you are currently reading, is entirely +written using the AsciiDoc [http://asciidoc.org/] mark-up syntax. The +manual is then rendered to many formats: + + * html + * split-html + * pdf + * epub + * text + +Although Buildroot only contains one document written in AsciiDoc, +there is, as for packages, an infrastructure for rendering documents +using the AsciiDoc syntax. + +Also as for packages, the AsciiDoc infrastructure is available from a +br2-external tree. This allows documentation for a br2-external tree +to match the Buildroot documentation, as it will be rendered to the +same formats and use the same layout and theme. + +18.21.1. asciidoc-document tutorial + +Whereas package infrastructures are suffixed with -package, the +document infrastructures are suffixed with -document. So, the +AsciiDoc infrastructure is named asciidoc-document. + +Here is an example to render a simple AsciiDoc document. + +01: ################################################################################ +02: # +03: # foo-document +04: # +05: ################################################################################ +06: +07: FOO_SOURCES = $(sort $(wildcard $(FOO_DOCDIR)/*)) +08: $(eval $(call asciidoc-document)) + +On line 7, the Makefile declares what the sources of the document +are. Currently, it is expected that the document’s sources are only +local; Buildroot will not attempt to download anything to render a +document. Thus, you must indicate where the sources are. Usually, the +string above is sufficient for a document with no sub-directory +structure. + +On line 8, we call the asciidoc-document function, which generates +all the Makefile code necessary to render the document. + +18.21.2. asciidoc-document reference + +The list of variables that can be set in a .mk file to give metadata +information is (assuming the document name is foo) : + + * FOO_SOURCES, mandatory, defines the source files for the + document. + * FOO_RESOURCES, optional, may contain a space-separated list of + paths to one or more directories containing so-called resources + (like CSS or images). By default, empty. + * FOO_DEPENDENCIES, optional, the list of packages (most probably, + host-packages) that must be built before building this document. + +There are also additional hooks (see Section 18.23, “Hooks available +in the various build steps” for general information on hooks), that a +document may set to define extra actions to be done at various steps: + + * FOO_POST_RSYNC_HOOKS to run additional commands after the sources + have been copied by Buildroot. This can for example be used to + generate part of the manual with information extracted from the + tree. As an example, Buildroot uses this hook to generate the + tables in the appendices. + * FOO_CHECK_DEPENDENCIES_HOOKS to run additional tests on required + components to generate the document. In AsciiDoc, it is possible + to call filters, that is, programs that will parse an AsciiDoc + block and render it appropriately (e.g. ditaa [http:// + ditaa.sourceforge.net/] or aafigure [https://pythonhosted.org/ + aafigure/]). + * FOO_CHECK_DEPENDENCIES__HOOKS, to run additional tests for + the specified format (see the list of rendered formats, + above). + +Buildroot sets the following variable that can be used in the +definitions above: + + * $(FOO_DOCDIR), similar to $(FOO_PKGDIR), contains the path to the + directory containing foo.mk. It can be used to refer to the + document sources, and can be used in the hooks, especially the + post-rsync hook if parts of the documentation needs to be + generated. + * $(@D), as for traditional packages, contains the path to the + directory where the document will be copied and built. + +Here is a complete example that uses all variables and all hooks: + +01: ################################################################################ +02: # +03: # foo-document +04: # +05: ################################################################################ +06: +07: FOO_SOURCES = $(sort $(wildcard $(FOO_DOCDIR)/*)) +08: FOO_RESOURCES = $(sort $(wildcard $(FOO_DOCDIR)/ressources)) +09: +10: define FOO_GEN_EXTRA_DOC +11: /path/to/generate-script --outdir=$(@D) +12: endef +13: FOO_POST_RSYNC_HOOKS += FOO_GEN_EXTRA_DOC +14: +15: define FOO_CHECK_MY_PROG +16: if ! which my-prog >/dev/null 2>&1; then \ +17: echo "You need my-prog to generate the foo document"; \ +18: exit 1; \ +19: fi +20: endef +21: FOO_CHECK_DEPENDENCIES_HOOKS += FOO_CHECK_MY_PROG +22: +23: define FOO_CHECK_MY_OTHER_PROG +24: if ! which my-other-prog >/dev/null 2>&1; then \ +25: echo "You need my-other-prog to generate the foo document as PDF"; \ +26: exit 1; \ +27: fi +28: endef +29: FOO_CHECK_DEPENDENCIES_PDF_HOOKS += FOO_CHECK_MY_OTHER_PROG +30: +31: $(eval $(call asciidoc-document)) + +18.22. Infrastructure specific to the Linux kernel package + +The Linux kernel package can use some specific infrastructures based +on package hooks for building Linux kernel tools or/and building +Linux kernel extensions. + +18.22.1. linux-kernel-tools + +Buildroot offers a helper infrastructure to build some userspace +tools for the target available within the Linux kernel sources. Since +their source code is part of the kernel source code, a special +package, linux-tools, exists and re-uses the sources of the Linux +kernel that runs on the target. + +Let’s look at an example of a Linux tool. For a new Linux tool named +foo, create a new menu entry in the existing package/linux-tools/ +Config.in. This file will contain the option descriptions related to +each kernel tool that will be used and displayed in the configuration +tool. It would basically look like: + +01: config BR2_PACKAGE_LINUX_TOOLS_FOO +02: bool "foo" +03: select BR2_PACKAGE_LINUX_TOOLS +04: help +05: This is a comment that explains what foo kernel tool is. +06: +07: http://foosoftware.org/foo/ + +The name of the option starts with the prefix +BR2_PACKAGE_LINUX_TOOLS_, followed by the uppercase name of the tool +(like is done for packages). + +Note. Unlike other packages, the linux-tools package options appear +in the linux kernel menu, under the Linux Kernel Tools sub-menu, not +under the Target packages main menu. + +Then for each linux tool, add a new .mk.in file named package/ +linux-tools/linux-tool-foo.mk.in. It would basically look like: + +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: LINUX_TOOLS += foo +08: +09: FOO_DEPENDENCIES = libbbb +10: +11: define FOO_BUILD_CMDS +12: $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools foo +13: endef +14: +15: define FOO_INSTALL_STAGING_CMDS +16: $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools \ +17: DESTDIR=$(STAGING_DIR) \ +18: foo_install +19: endef +20: +21: define FOO_INSTALL_TARGET_CMDS +22: $(TARGET_MAKE_ENV) $(MAKE) -C $(LINUX_DIR)/tools \ +23: DESTDIR=$(TARGET_DIR) \ +24: foo_install +25: endef + +On line 7, we register the Linux tool foo to the list of available +Linux tools. + +On line 9, we specify the list of dependencies this tool relies on. +These dependencies are added to the Linux package dependencies list +only when the foo tool is selected. + +The rest of the Makefile, lines 11-25 defines what should be done at +the different steps of the Linux tool build process like for a +generic package. They will actually be used only when the foo tool is +selected. The only supported commands are _BUILD_CMDS, +_INSTALL_STAGING_CMDS and _INSTALL_TARGET_CMDS. + +Note. One must not call $(eval $(generic-package)) or any other +package infrastructure! Linux tools are not packages by themselves, +they are part of the linux-tools package. + +18.22.2. linux-kernel-extensions + +Some packages provide new features that require the Linux kernel tree +to be modified. This can be in the form of patches to be applied on +the kernel tree, or in the form of new files to be added to the tree. +The Buildroot’s Linux kernel extensions infrastructure provides a +simple solution to automatically do this, just after the kernel +sources are extracted and before the kernel patches are applied. +Examples of extensions packaged using this mechanism are the +real-time extensions Xenomai and RTAI, as well as the set of +out-of-tree LCD screens drivers fbtft. + +Let’s look at an example on how to add a new Linux extension foo. + +First, create the package foo that provides the extension: this +package is a standard package; see the previous chapters on how to +create such a package. This package is in charge of downloading the +sources archive, checking the hash, defining the licence informations +and building user space tools if any. + +Then create the Linux extension proper: create a new menu entry in +the existing linux/Config.ext.in. This file contains the option +descriptions related to each kernel extension that will be used and +displayed in the configuration tool. It would basically look like: + +01: config BR2_LINUX_KERNEL_EXT_FOO +02: bool "foo" +03: help +04: This is a comment that explains what foo kernel extension is. +05: +06: http://foosoftware.org/foo/ + +Then for each linux extension, add a new .mk file named linux/ +linux-ext-foo.mk. It should basically contain: + +01: ################################################################################ +02: # +03: # foo +04: # +05: ################################################################################ +06: +07: LINUX_EXTENSIONS += foo +08: +09: define FOO_PREPARE_KERNEL +10: $(FOO_DIR)/prepare-kernel-tree.sh --linux-dir=$(@D) +11: endef + +On line 7, we add the Linux extension foo to the list of available +Linux extensions. + +On line 9-11, we define what should be done by the extension to +modify the Linux kernel tree; this is specific to the linux extension +and can use the variables defined by the foo package, like: $ +(FOO_DIR) or $(FOO_VERSION)… as well as all the Linux variables, +like: $(LINUX_VERSION) or $(LINUX_VERSION_PROBED), $(KERNEL_ARCH)… +See the definition of those kernel variables. + +18.23. Hooks available in the various build steps + +The generic infrastructure (and as a result also the derived +autotools and cmake infrastructures) allow packages to specify hooks. +These define further actions to perform after existing steps. Most +hooks aren’t really useful for generic packages, since the .mk file +already has full control over the actions performed in each step of +the package construction. + +The following hook points are available: + + * LIBFOO_PRE_DOWNLOAD_HOOKS + * LIBFOO_POST_DOWNLOAD_HOOKS + * LIBFOO_PRE_EXTRACT_HOOKS + * LIBFOO_POST_EXTRACT_HOOKS + * LIBFOO_PRE_RSYNC_HOOKS + * LIBFOO_POST_RSYNC_HOOKS + * LIBFOO_PRE_PATCH_HOOKS + * LIBFOO_POST_PATCH_HOOKS + * LIBFOO_PRE_CONFIGURE_HOOKS + * LIBFOO_POST_CONFIGURE_HOOKS + * LIBFOO_PRE_BUILD_HOOKS + * LIBFOO_POST_BUILD_HOOKS + * LIBFOO_PRE_INSTALL_HOOKS (for host packages only) + * LIBFOO_POST_INSTALL_HOOKS (for host packages only) + * LIBFOO_PRE_INSTALL_STAGING_HOOKS (for target packages only) + * LIBFOO_POST_INSTALL_STAGING_HOOKS (for target packages only) + * LIBFOO_PRE_INSTALL_TARGET_HOOKS (for target packages only) + * LIBFOO_POST_INSTALL_TARGET_HOOKS (for target packages only) + * LIBFOO_PRE_INSTALL_IMAGES_HOOKS + * LIBFOO_POST_INSTALL_IMAGES_HOOKS + * LIBFOO_PRE_LEGAL_INFO_HOOKS + * LIBFOO_POST_LEGAL_INFO_HOOKS + +These variables are lists of variable names containing actions to be +performed at this hook point. This allows several hooks to be +registered at a given hook point. Here is an example: + +define LIBFOO_POST_PATCH_FIXUP + action1 + action2 +endef + +LIBFOO_POST_PATCH_HOOKS += LIBFOO_POST_PATCH_FIXUP + +18.23.1. Using the POST_RSYNC hook + +The POST_RSYNC hook is run only for packages that use a local source, +either through the local site method or the OVERRIDE_SRCDIR +mechanism. In this case, package sources are copied using rsync from +the local location into the buildroot build directory. The rsync +command does not copy all files from the source directory, though. +Files belonging to a version control system, like the directories +.git, .hg, etc. are not copied. For most packages this is sufficient, +but a given package can perform additional actions using the +POST_RSYNC hook. + +In principle, the hook can contain any command you want. One specific +use case, though, is the intentional copying of the version control +directory using rsync. The rsync command you use in the hook can, +among others, use the following variables: + + * $(SRCDIR): the path to the overridden source directory + * $(@D): the path to the build directory + +18.23.2. Target-finalize hook + +Packages may also register hooks in LIBFOO_TARGET_FINALIZE_HOOKS. +These hooks are run after all packages are built, but before the +filesystem images are generated. They are seldom used, and your +package probably do not need them. + +18.24. Gettext integration and interaction with packages + +Many packages that support internationalization use the gettext +library. Dependencies for this library are fairly complicated and +therefore, deserve some explanation. + +The glibc C library integrates a full-blown implementation of gettext +, supporting translation. Native Language Support is therefore +built-in in glibc. + +On the other hand, the uClibc and musl C libraries only provide a +stub implementation of the gettext functionality, which allows to +compile libraries and programs using gettext functions, but without +providing the translation capabilities of a full-blown gettext +implementation. With such C libraries, if real Native Language +Support is necessary, it can be provided by the libintl library of +the gettext package. + +Due to this, and in order to make sure that Native Language Support +is properly handled, packages in Buildroot that can use NLS support +should: + + 1. Ensure NLS support is enabled when BR2_SYSTEM_ENABLE_NLS=y. This + is done automatically for autotools packages and therefore should + only be done for packages using other package infrastructures. + 2. Add $(TARGET_NLS_DEPENDENCIES) to the package _DEPENDENCIES + variable. This addition should be done unconditionally: the value + of this variable is automatically adjusted by the core + infrastructure to contain the relevant list of packages. If NLS + support is disabled, this variable is empty. If NLS support is + enabled, this variable contains host-gettext so that tools needed + to compile translation files are available on the host. In + addition, if uClibc or musl are used, this variable also contains + gettext in order to get the full-blown gettext implementation. + 3. If needed, add $(TARGET_NLS_LIBS) to the linker flags, so that + the package gets linked with libintl. This is generally not + needed with autotools packages as they usually detect + automatically that they should link with libintl. However, + packages using other build systems, or problematic + autotools-based packages may need this. $(TARGET_NLS_LIBS) should + be added unconditionally to the linker flags, as the core + automatically makes it empty or defined to -lintl depending on + the configuration. + +No changes should be made to the Config.in file to support NLS. + +Finally, certain packages need some gettext utilities on the target, +such as the gettext program itself, which allows to retrieve +translated strings, from the command line. In such a case, the +package should: + + * use select BR2_PACKAGE_GETTEXT in their Config.in file, + indicating in a comment above that it’s a runtime dependency + only. + * not add any gettext dependency in the DEPENDENCIES variable of + their .mk file. + +18.25. Tips and tricks + +18.25.1. Package name, config entry name and makefile variable +relationship + +In Buildroot, there is some relationship between: + + * the package name, which is the package directory name (and the + name of the *.mk file); + * the config entry name that is declared in the Config.in file; + * the makefile variable prefix. + +It is mandatory to maintain consistency between these elements, using +the following rules: + + * the package directory and the *.mk name are the package name + itself (e.g.: package/foo-bar_boo/foo-bar_boo.mk); + * the make target name is the package name itself (e.g.: + foo-bar_boo); + * the config entry is the upper case package name with . and - + characters substituted with _, prefixed with BR2_PACKAGE_ (e.g.: + BR2_PACKAGE_FOO_BAR_BOO); + * the *.mk file variable prefix is the upper case package name with + . and - characters substituted with _ (e.g.: + FOO_BAR_BOO_VERSION). + +18.25.2. How to check the coding style + +Buildroot provides a script in utils/check-package that checks new or +changed files for coding style. It is not a complete language +validator, but it catches many common mistakes. It is meant to run in +the actual files you created or modified, before creating the patch +for submission. + +This script can be used for packages, filesystem makefiles, Config.in +files, etc. It does not check the files defining the package +infrastructures and some other files containing similar common code. + +To use it, run the check-package script, by telling which files you +created or changed: + +$ ./utils/check-package package/new-package/* + +If you have the utils directory in your path you can also run: + +$ cd package/new-package/ +$ check-package * + +The tool can also be used for packages in a br2-external: + +$ check-package -b /path/to/br2-ext-tree/package/my-package/* + +18.25.3. How to test your package + +Once you have added your new package, it is important that you test +it under various conditions: does it build for all architectures? +Does it build with the different C libraries? Does it need threads, +NPTL? And so on… + +Buildroot runs autobuilders [http://autobuild.buildroot.org/] which +continuously test random configurations. However, these only build +the master branch of the git tree, and your new fancy package is not +yet there. + +Buildroot provides a script in utils/test-pkg that uses the same base +configurations as used by the autobuilders so you can test your +package in the same conditions. + +First, create a config snippet that contains all the necessary +options needed to enable your package, but without any architecture +or toolchain option. For example, let’s create a config snippet that +just enables libcurl, without any TLS backend: + +$ cat libcurl.config +BR2_PACKAGE_LIBCURL=y + +If your package needs more configuration options, you can add them to +the config snippet. For example, here’s how you would test libcurl +with openssl as a TLS backend and the curl program: + +$ cat libcurl.config +BR2_PACKAGE_LIBCURL=y +BR2_PACKAGE_LIBCURL_CURL=y +BR2_PACKAGE_OPENSSL=y + +Then run the test-pkg script, by telling it what config snippet to +use and what package to test: + +$ ./utils/test-pkg -c libcurl.config -p libcurl + +By default, test-pkg will build your package against a subset of the +toolchains used by the autobuilders, which has been selected by the +Buildroot developers as being the most useful and representative +subset. If you want to test all toolchains, pass the -a option. Note +that in any case, internal toolchains are excluded as they take too +long to build. + +The output lists all toolchains that are tested and the corresponding +result (excerpt, results are fake): + +$ ./utils/test-pkg -c libcurl.config -p libcurl + armv5-ctng-linux-gnueabi [ 1/11]: OK + armv7-ctng-linux-gnueabihf [ 2/11]: OK + br-aarch64-glibc [ 3/11]: SKIPPED + br-arcle-hs38 [ 4/11]: SKIPPED + br-arm-basic [ 5/11]: FAILED + br-arm-cortex-a9-glibc [ 6/11]: OK + br-arm-cortex-a9-musl [ 7/11]: FAILED + br-arm-cortex-m4-full [ 8/11]: OK + br-arm-full [ 9/11]: OK + br-arm-full-nothread [10/11]: FAILED + br-arm-full-static [11/11]: OK +11 builds, 2 skipped, 2 build failed, 1 legal-info failed + +The results mean: + + * OK: the build was successful. + * SKIPPED: one or more configuration options listed in the config + snippet were not present in the final configuration. This is due + to options having dependencies not satisfied by the toolchain, + such as for example a package that depends on BR2_USE_MMU with a + noMMU toolchain. The missing options are reported in + missing.config in the output build directory (~/br-test-pkg/ + TOOLCHAIN_NAME/ by default). + * FAILED: the build failed. Inspect the logfile file in the output + build directory to see what went wrong: + + + the actual build failed, + + the legal-info failed, + + one of the preliminary steps (downloading the config file, + applying the configuration, running dirclean for the package) + failed. + +When there are failures, you can just re-run the script with the same +options (after you fixed your package); the script will attempt to +re-build the package specified with -p for all toolchains, without +the need to re-build all the dependencies of that package. + +The test-pkg script accepts a few options, for which you can get some +help by running: + +$ ./utils/test-pkg -h + +18.25.4. How to add a package from GitHub + +Packages on GitHub often don’t have a download area with release +tarballs. However, it is possible to download tarballs directly from +the repository on GitHub. As GitHub is known to have changed download +mechanisms in the past, the github helper function should be used as +shown below. + +# Use a tag or a full commit ID +FOO_VERSION = 1.0 +FOO_SITE = $(call github,,,v$(FOO_VERSION)) + +Notes + + * The FOO_VERSION can either be a tag or a commit ID. + * The tarball name generated by github matches the default one from + Buildroot (e.g.: + foo-f6fb6654af62045239caed5950bc6c7971965e60.tar.gz), so it is + not necessary to specify it in the .mk file. + * When using a commit ID as version, you should use the full 40 hex + characters. + * When the tag contains a prefix such as v in v1.0, then the + VERSION variable should contain just 1.0, and the v should be + added directly in the SITE variable, as illustrated above. This + ensures that the VERSION variable value can be used to match + against release-monitoring.org [http://www.release-monitoring.org + /] results. + +If the package you wish to add does have a release section on GitHub, +the maintainer may have uploaded a release tarball, or the release +may just point to the automatically generated tarball from the git +tag. If there is a release tarball uploaded by the maintainer, we +prefer to use that since it may be slightly different (e.g. it +contains a configure script so we don’t need to do AUTORECONF). + +You can see on the release page if it’s an uploaded tarball or a git +tag: + + * If it looks like the image above then it was uploaded by the + maintainer and you should use that link (in that example: + mongrel2-v1.9.2.tar.bz2) to specify FOO_SITE, and not use the + github helper. + * On the other hand, if there’s is only the "Source code" link, + then it’s an automatically generated tarball and you should use + the github helper function. + +18.25.5. How to add a package from Gitlab + +In a similar way to the github macro described in Section 18.25.4, +“How to add a package from GitHub”, Buildroot also provides the +gitlab macro to download from Gitlab repositories. It can be used to +download auto-generated tarballs produced by Gitlab, either for +specific tags or commits: + +# Use a tag or a full commit ID +FOO_VERSION = 1.0 +FOO_SITE = $(call gitlab,,,v$(FOO_VERSION)) + +By default, it will use a .tar.gz tarball, but Gitlab also provides +.tar.bz2 tarballs, so by adding a _SOURCE variable, this +.tar.bz2 tarball can be used: + +# Use a tag or a full commit ID +FOO_VERSION = 1.0 +FOO_SITE = $(call gitlab,,,v$(FOO_VERSION)) +FOO_SOURCE = foo-$(FOO_VERSION).tar.bz2 + +If there is a specific tarball uploaded by the upstream developers in +https://gitlab.com//releases/, do not use this macro, but +rather use directly the link to the tarball. + +18.26. Conclusion + +As you can see, adding a software package to Buildroot is simply a +matter of writing a Makefile using an existing example and modifying +it according to the compilation process required by the package. + +If you package software that might be useful for other people, don’t +forget to send a patch to the Buildroot mailing list (see +Section 22.5, “Submitting patches”)! + +Chapter 19. Patching a package + +While integrating a new package or updating an existing one, it may +be necessary to patch the source of the software to get it +cross-built within Buildroot. + +Buildroot offers an infrastructure to automatically handle this +during the builds. It supports three ways of applying patch sets: +downloaded patches, patches supplied within buildroot and patches +located in a user-defined global patch directory. + +19.1. Providing patches + +19.1.1. Downloaded + +If it is necessary to apply a patch that is available for download, +then add it to the _PATCH variable. If an entry contains +://, then Buildroot will assume it is a full URL and download the +patch from this location. Otherwise, Buildroot will assume that the +patch should be downloaded from _SITE. It can be a +single patch, or a tarball containing a patch series. + +Like for all downloads, a hash should be added to the +.hash file. + +This method is typically used for packages from Debian. + +19.1.2. Within Buildroot + +Most patches are provided within Buildroot, in the package directory; +these typically aim to fix cross-compilation, libc support, or other +such issues. + +These patch files should be named -.patch. + +Notes + + * The patch files coming with Buildroot should not contain any + package version reference in their filename. + * The field in the patch file name refers to the apply + order, and shall start at 1; It is preferred to pad the number + with zeros up to 4 digits, like git-format-patch does. E.g.: + 0001-foobar-the-buz.patch + * Previously, it was mandatory for patches to be prefixed with the + name of the package, like --.patch, + but that is no longer the case. Existing packages will be fixed + as time passes. Do not prefix patches with the package name. + * Previously, a series file, as used by quilt, could also be added + in the package directory. In that case, the series file defines + the patch application order. This is deprecated, and will be + removed in the future. Do not use a series file. + +19.1.3. Global patch directory + +The BR2_GLOBAL_PATCH_DIR configuration file option can be used to +specify a space separated list of one or more directories containing +global package patches. See Section 9.8, “Adding project-specific +patches” for details. + +19.2. How patches are applied + + 1. Run the _PRE_PATCH_HOOKS commands if defined; + 2. Cleanup the build directory, removing any existing *.rej files; + 3. If _PATCH is defined, then patches from these + tarballs are applied; + 4. If there are some *.patch files in the package’s Buildroot + directory or in a package subdirectory named , + then: + + + If a series file exists in the package directory, then + patches are applied according to the series file; + + Otherwise, patch files matching *.patch are applied in + alphabetical order. So, to ensure they are applied in the + right order, it is highly recommended to name the patch files + like this: -.patch, where + refers to the apply order. + 5. If BR2_GLOBAL_PATCH_DIR is defined, the directories will be + enumerated in the order they are specified. The patches are + applied as described in the previous step. + 6. Run the _POST_PATCH_HOOKS commands if defined. + +If something goes wrong in the steps 3 or 4, then the build fails. + +19.3. Format and licensing of the package patches + +Patches are released under the same license as the software they +apply to (see Section 13.2, “Complying with the Buildroot license”). + +A message explaining what the patch does, and why it is needed, +should be added in the header commentary of the patch. + +You should add a Signed-off-by statement in the header of the each +patch to help with keeping track of the changes and to certify that +the patch is released under the same license as the software that is +modified. + +If the software is under version control, it is recommended to use +the upstream SCM software to generate the patch set. + +Otherwise, concatenate the header with the output of the diff -purN +package-version.orig/ package-version/ command. + +If you update an existing patch (e.g. when bumping the package +version), make sure the existing From header and Signed-off-by tags +are not removed, but do update the rest of the patch comment when +appropriate. + +At the end, the patch should look like: + +configure.ac: add C++ support test + +Signed-off-by: John Doe + +--- configure.ac.orig ++++ configure.ac +@@ -40,2 +40,12 @@ + +AC_PROG_MAKE_SET ++ ++AC_CACHE_CHECK([whether the C++ compiler works], ++ [rw_cv_prog_cxx_works], ++ [AC_LANG_PUSH([C++]) ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], ++ [rw_cv_prog_cxx_works=yes], ++ [rw_cv_prog_cxx_works=no]) ++ AC_LANG_POP([C++])]) ++ ++AM_CONDITIONAL([CXX_WORKS], [test "x$rw_cv_prog_cxx_works" = "xyes"]) + +19.4. Integrating patches found on the Web + +When integrating a patch of which you are not the author, you have to +add a few things in the header of the patch itself. + +Depending on whether the patch has been obtained from the project +repository itself, or from somewhere on the web, add one of the +following tags: + +Backported from: + +or + +Fetch from: + +It is also sensible to add a few words about any changes to the patch +that may have been necessary. + +Chapter 20. Download infrastructure + +TODO + +Chapter 21. Debugging Buildroot + +It is possible to instrument the steps Buildroot does when building +packages. Define the variable BR2_INSTRUMENTATION_SCRIPTS to contain +the path of one or more scripts (or other executables), in a +space-separated list, you want called before and after each step. The +scripts are called in sequence, with three parameters: + + * start or end to denote the start (resp. the end) of a step; + * the name of the step about to be started, or which just ended; + * the name of the package. + +For example : + +make BR2_INSTRUMENTATION_SCRIPTS="/path/to/my/script1 /path/to/my/script2" + +The list of steps is: + + * extract + * patch + * configure + * build + * install-host, when a host-package is installed in $(HOST_DIR) + * install-target, when a target-package is installed in $ + (TARGET_DIR) + * install-staging, when a target-package is installed in $ + (STAGING_DIR) + * install-image, when a target-package installs files in $ + (BINARIES_DIR) + +The script has access to the following variables: + + * BR2_CONFIG: the path to the Buildroot .config file + * HOST_DIR, STAGING_DIR, TARGET_DIR: see Section 18.6.2, + “generic-package reference” + * BUILD_DIR: the directory where packages are extracted and built + * BINARIES_DIR: the place where all binary files (aka images) are + stored + * BASE_DIR: the base output directory + +Chapter 22. Contributing to Buildroot + +There are many ways in which you can contribute to Buildroot: +analyzing and fixing bugs, analyzing and fixing package build +failures detected by the autobuilders, testing and reviewing patches +sent by other developers, working on the items in our TODO list and +sending your own improvements to Buildroot or its manual. The +following sections give a little more detail on each of these items. + +If you are interested in contributing to Buildroot, the first thing +you should do is to subscribe to the Buildroot mailing list. This +list is the main way of interacting with other Buildroot developers +and to send contributions to. If you aren’t subscribed yet, then +refer to Chapter 5, Community resources for the subscription link. + +If you are going to touch the code, it is highly recommended to use a +git repository of Buildroot, rather than starting from an extracted +source code tarball. Git is the easiest way to develop from and +directly send your patches to the mailing list. Refer to Chapter 3, +Getting Buildroot for more information on obtaining a Buildroot git +tree. + +22.1. Reproducing, analyzing and fixing bugs + +A first way of contributing is to have a look at the open bug reports +in the Buildroot bug tracker [https://bugs.buildroot.org/buglist.cgi? +product=buildroot]. As we strive to keep the bug count as small as +possible, all help in reproducing, analyzing and fixing reported bugs +is more than welcome. Don’t hesitate to add a comment to bug reports +reporting your findings, even if you don’t yet see the full picture. + +22.2. Analyzing and fixing autobuild failures + +The Buildroot autobuilders are a set of build machines that +continuously run Buildroot builds based on random configurations. +This is done for all architectures supported by Buildroot, with +various toolchains, and with a random selection of packages. With the +large commit activity on Buildroot, these autobuilders are a great +help in detecting problems very early after commit. + +All build results are available at http://autobuild.buildroot.org, +statistics are at http://autobuild.buildroot.org/stats.php. Every +day, an overview of all failed packages is sent to the mailing list. + +Detecting problems is great, but obviously these problems have to be +fixed as well. Your contribution is very welcome here! There are +basically two things that can be done: + + * Analyzing the problems. The daily summary mails do not contain + details about the actual failures: in order to see what’s going + on you have to open the build log and check the last output. + Having someone doing this for all packages in the mail is very + useful for other developers, as they can make a quick initial + analysis based on this output alone. + * Fixing a problem. When fixing autobuild failures, you should + follow these steps: + + 1. Check if you can reproduce the problem by building with the + same configuration. You can do this manually, or use the + br-reproduce-build [http://git.buildroot.org/buildroot-test/ + tree/utils/br-reproduce-build] script that will automatically + clone a Buildroot git repository, checkout the correct + revision, download and set the right configuration, and start + the build. + 2. Analyze the problem and create a fix. + 3. Verify that the problem is really fixed by starting from a + clean Buildroot tree and only applying your fix. + 4. Send the fix to the Buildroot mailing list (see Section 22.5, + “Submitting patches”). In case you created a patch against + the package sources, you should also send the patch upstream + so that the problem will be fixed in a later release, and the + patch in Buildroot can be removed. In the commit message of a + patch fixing an autobuild failure, add a reference to the + build result directory, as follows: + +Fixes: http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069 + +22.3. Reviewing and testing patches + +With the amount of patches sent to the mailing list each day, the +maintainer has a very hard job to judge which patches are ready to +apply and which ones aren’t. Contributors can greatly help here by +reviewing and testing these patches. + +In the review process, do not hesitate to respond to patch +submissions for remarks, suggestions or anything that will help +everyone to understand the patches and make them better. Please use +internet style replies in plain text emails when responding to patch +submissions. + +To indicate approval of a patch, there are three formal tags that +keep track of this approval. To add your tag to a patch, reply to it +with the approval tag below the original author’s Signed-off-by line. +These tags will be picked up automatically by patchwork (see +Section 22.3.1, “Applying Patches from Patchwork”) and will be part +of the commit log when the patch is accepted. + +Tested-by + Indicates that the patch has been tested successfully. You are + encouraged to specify what kind of testing you performed + (compile-test on architecture X and Y, runtime test on target A, + …). This additional information helps other testers and the + maintainer. +Reviewed-by + Indicates that you code-reviewed the patch and did your best in + spotting problems, but you are not sufficiently familiar with the + area touched to provide an Acked-by tag. This means that there + may be remaining problems in the patch that would be spotted by + someone with more experience in that area. Should such problems + be detected, your Reviewed-by tag remains appropriate and you + cannot be blamed. +Acked-by + Indicates that you code-reviewed the patch and you are familiar + enough with the area touched to feel that the patch can be + committed as-is (no additional changes required). In case it + later turns out that something is wrong with the patch, your + Acked-by could be considered inappropriate. The difference + between Acked-by and Reviewed-by is thus mainly that you are + prepared to take the blame on Acked patches, but not on Reviewed + ones. + +If you reviewed a patch and have comments on it, you should simply +reply to the patch stating these comments, without providing a +Reviewed-by or Acked-by tag. These tags should only be provided if +you judge the patch to be good as it is. + +It is important to note that neither Reviewed-by nor Acked-by imply +that testing has been performed. To indicate that you both reviewed +and tested the patch, provide two separate tags (Reviewed/Acked-by +and Tested-by). + +Note also that any developer can provide Tested/Reviewed/Acked-by +tags, without exception, and we encourage everyone to do this. +Buildroot does not have a defined group of core developers, it just +so happens that some developers are more active than others. The +maintainer will value tags according to the track record of their +submitter. Tags provided by a regular contributor will naturally be +trusted more than tags provided by a newcomer. As you provide tags +more regularly, your trustworthiness (in the eyes of the maintainer) +will go up, but any tag provided is valuable. + +Buildroot’s Patchwork website can be used to pull in patches for +testing purposes. Please see Section 22.3.1, “Applying Patches from +Patchwork” for more information on using Buildroot’s Patchwork +website to apply patches. + +22.3.1. Applying Patches from Patchwork + +The main use of Buildroot’s Patchwork website for a developer is for +pulling in patches into their local git repository for testing +purposes. + +When browsing patches in the patchwork management interface, an mbox +link is provided at the top of the page. Copy this link address and +run the following commands: + +$ git checkout -b +$ wget -O - | git am + +Another option for applying patches is to create a bundle. A bundle +is a set of patches that you can group together using the patchwork +interface. Once the bundle is created and the bundle is made public, +you can copy the mbox link for the bundle and apply the bundle using +the above commands. + +22.4. Work on items from the TODO list + +If you want to contribute to Buildroot but don’t know where to start, +and you don’t like any of the above topics, you can always work on +items from the Buildroot TODO list [http://elinux.org/Buildroot# +Todo_list]. Don’t hesitate to discuss an item first on the mailing +list or on IRC. Do edit the wiki to indicate when you start working +on an item, so we avoid duplicate efforts. + +22.5. Submitting patches + +Note + +Please, do not attach patches to bugs, send them to the mailing list +instead. + +If you made some changes to Buildroot and you would like to +contribute them to the Buildroot project, proceed as follows. + +22.5.1. The formatting of a patch + +We expect patches to be formatted in a specific way. This is +necessary to make it easy to review patches, to be able to apply them +easily to the git repository, to make it easy to find back in the +history how and why things have changed, and to make it possible to +use git bisect to locate the origin of a problem. + +First of all, it is essential that the patch has a good commit +message. The commit message should start with a separate line with a +brief summary of the change, prefixed by the area touched by the +patch. A few examples of good commit titles: + + * package/linuxptp: bump version to 2.0 + * configs/imx23evk: bump Linux version to 4.19 + * package/pkg-generic: postpone evaluation of dependency conditions + * boot/uboot: needs host-{flex,bison} + * support/testing: add python-ubjson tests + +The description that follows the prefix should start with a lower +case letter (i.e "bump", "needs", "postpone", "add" in the above +examples). + +Second, the body of the commit message should describe why this +change is needed, and if necessary also give details about how it was +done. When writing the commit message, think of how the reviewers +will read it, but also think about how you will read it when you look +at this change again a few years down the line. + +Third, the patch itself should do only one change, but do it +completely. Two unrelated or weakly related changes should usually be +done in two separate patches. This usually means that a patch affects +only a single package. If several changes are related, it is often +still possible to split them up in small patches and apply them in a +specific order. Small patches make it easier to review, and often +make it easier to understand afterwards why a change was done. +However, each patch must be complete. It is not allowed that the +build is broken when only the first but not the second patch is +applied. This is necessary to be able to use git bisect afterwards. + +Of course, while you’re doing your development, you’re probably going +back and forth between packages, and certainly not committing things +immediately in a way that is clean enough for submission. So most +developers rewrite the history of commits to produce a clean set of +commits that is appropriate for submission. To do this, you need to +use interactive rebasing. You can learn about it in the Pro Git book +[https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History]. +Sometimes, it is even easier to discard you history with git reset +--soft origin/master and select individual changes with git add -i or +git add -p. + +Finally, the patch should be signed off. This is done by adding +Signed-off-by: Your Real Name <> at the end of the commit message. +git commit -s does that for you, if configured properly. The +Signed-off-by tag means that you publish the patch under the +Buildroot license (i.e. GPL-2.0+, except for package patches, which +have the upstream license), and that you are allowed to do so. See +the Developer Certificate of Origin [http://developercertificate.org +/] for details. + +When adding new packages, you should submit every package in a +separate patch. This patch should have the update to package/ +Config.in, the package Config.in file, the .mk file, the .hash file, +any init script, and all package patches. If the package has many +sub-options, these are sometimes better added as separate follow-up +patches. The summary line should be something like : new +package. The body of the commit message can be empty for simple +packages, or it can contain the description of the package (like the +Config.in help text). If anything special has to be done to build the +package, this should also be explained explicitly in the commit +message body. + +When you bump a package to a new version, you should also submit a +separate patch for each package. Don’t forget to update the .hash +file, or add it if it doesn’t exist yet. Also don’t forget to check +if the _LICENSE and _LICENSE_FILES are still valid. The summary line +should be something like : bump to version . If the new version only contains security updates compared +to the existing one, the summary should be : security +bump to version and the commit message body should show +the CVE numbers that are fixed. If some package patches can be +removed in the new version, it should be explained explicitly why +they can be removed, preferably with the upstream commit ID. Also any +other required changes should be explained explicitly, like configure +options that no longer exist or are no longer needed. + +If you are interested in getting notified of build failures and of +further changes in the packages you added or modified, please add +yourself to the DEVELOPERS file. This should be done in the same +patch creating or modifying the package. See the DEVELOPERS file for +more information. + +Buildroot provides a handy tool to check for common coding style +mistakes on files you created or modified, called check-package (see +Section 18.25.2, “How to check the coding style” for more +information). + +22.5.2. Preparing a patch series + +Starting from the changes committed in your local git view, rebase +your development branch on top of the upstream tree before generating +a patch set. To do so, run: + +$ git fetch --all --tags +$ git rebase origin/master + +Now, you are ready to generate then submit your patch set. + +To generate it, run: + +$ git format-patch -M -n -s -o outgoing origin/master + +This will generate patch files in the outgoing subdirectory, +automatically adding the Signed-off-by line. + +Once patch files are generated, you can review/edit the commit +message before submitting them, using your favorite text editor. + +Buildroot provides a handy tool to know to whom your patches should +be sent, called get-developers (see Chapter 23, DEVELOPERS file and +get-developers for more information). This tool reads your patches +and outputs the appropriate git send-email command to use: + +$ ./utils/get-developers outgoing/* + +Use the output of get-developers to send your patches: + +$ git send-email --to buildroot@buildroot.org --cc bob --cc alice outgoing/* + +Alternatively, get-developers -e can be used directly with the +--cc-cmd argument to git send-email to automatically CC the affected +developers: + +$ git send-email --to buildroot@buildroot.org \ + --cc-cmd './utils/get-developers -e' origin/master + +git can be configured to automatically do this out of the box with: + +$ git config sendemail.to buildroot@buildroot.org +$ git config sendemail.ccCmd "$(pwd)/utils/get-developers -e" + +And then just do: + +$ git send-email origin/master + +Note that git should be configured to use your mail account. To +configure git, see man git-send-email or google it. + +If you do not use git send-email, make sure posted patches are not +line-wrapped, otherwise they cannot easily be applied. In such a +case, fix your e-mail client, or better yet, learn to use git +send-email. + +22.5.3. Cover letter + +If you want to present the whole patch set in a separate mail, add +--cover-letter to the git format-patch command (see man +git-format-patch for further information). This will generate a +template for an introduction e-mail to your patch series. + +A cover letter may be useful to introduce the changes you propose in +the following cases: + + * large number of commits in the series; + * deep impact of the changes in the rest of the project; + * RFC ^[4]; + * whenever you feel it will help presenting your work, your + choices, the review process, etc. + +22.5.4. Patches for maintenance branches + +When fixing bugs on a maintenance branch, bugs should be fixed on the +master branch first. The commit log for such a patch may then contain +a post-commit note specifying what branches are affected: + +package/foo: fix stuff + +Signed-off-by: Your Real Name +--- +Backport to: 2020.02.x, 2020.05.x +(2020.08.x not affected as the version was bumped) + +Those changes will then be backported by a maintainer to the affected +branches. + +However, some bugs may apply only to a specific release, for example +because it is using an older version of a package. In that case, +patches should be based off the maintenance branch, and the patch +subject prefix must include the maintenance branch name (for example +"[PATCH 2020.02.x]"). This can be done with the git format-patch flag +--subject-prefix: + +$ git format-patch --subject-prefix "PATCH 2020.02.x" \ + -M -s -o outgoing origin/2020.02.x + +Then send the patches with git send-email, as described above. + +22.5.5. Patch revision changelog + +When improvements are requested, the new revision of each commit +should include a changelog of the modifications between each +submission. Note that when your patch series is introduced by a cover +letter, an overall changelog may be added to the cover letter in +addition to the changelog in the individual commits. The best thing +to rework a patch series is by interactive rebasing: git rebase -i +origin/master. Consult the git manual for more information. + +When added to the individual commits, this changelog is added when +editing the commit message. Below the Signed-off-by section, add --- +and your changelog. + +Although the changelog will be visible for the reviewers in the mail +thread, as well as in patchwork [http://patchwork.buildroot.org], git +will automatically ignores lines below --- when the patch will be +merged. This is the intended behavior: the changelog is not meant to +be preserved forever in the git history of the project. + +Hereafter the recommended layout: + +Patch title: short explanation, max 72 chars + +A paragraph that explains the problem, and how it manifests itself. If +the problem is complex, it is OK to add more paragraphs. All paragraphs +should be wrapped at 72 characters. + +A paragraph that explains the root cause of the problem. Again, more +than one paragraph is OK. + +Finally, one or more paragraphs that explain how the problem is solved. +Don't hesitate to explain complex solutions in detail. + +Signed-off-by: John DOE + +--- +Changes v2 -> v3: + - foo bar (suggested by Jane) + - bar buz + +Changes v1 -> v2: + - alpha bravo (suggested by John) + - charly delta + +Any patch revision should include the version number. The version +number is simply composed of the letter v followed by an integer +greater or equal to two (i.e. "PATCH v2", "PATCH v3" …). + +This can be easily handled with git format-patch by using the option +--subject-prefix: + +$ git format-patch --subject-prefix "PATCH v4" \ + -M -s -o outgoing origin/master + +Since git version 1.8.1, you can also use -v (where is the +version number): + +$ git format-patch -v4 -M -s -o outgoing origin/master + +When you provide a new version of a patch, please mark the old one as +superseded in patchwork [http://patchwork.buildroot.org]. You need to +create an account on patchwork [http://patchwork.buildroot.org] to be +able to modify the status of your patches. Note that you can only +change the status of patches you submitted yourself, which means the +email address you register in patchwork [http:// +patchwork.buildroot.org] should match the one you use for sending +patches to the mailing list. + +You can also add the --in-reply-to option when +submitting a patch to the mailing list. The id of the mail to reply +to can be found under the "Message Id" tag on patchwork [http:// +patchwork.buildroot.org]. The advantage of in-reply-to is that +patchwork will automatically mark the previous version of the patch +as superseded. + +22.6. Reporting issues/bugs or getting help + +Before reporting any issue, please check in the mailing list archive +whether someone has already reported and/or fixed a similar problem. + +However you choose to report bugs or get help, either by opening a +bug in the bug tracker or by sending a mail to the mailing list, +there are a number of details to provide in order to help people +reproduce and find a solution to the issue. + +Try to think as if you were trying to help someone else; in that +case, what would you need? + +Here is a short list of details to provide in such case: + + * host machine (OS/release) + * version of Buildroot + * target for which the build fails + * package(s) for which the build fails + * the command that fails and its output + * any information you think that may be relevant + +Additionally, you should add the .config file (or if you know how, a +defconfig; see Section 9.3, “Storing the Buildroot configuration”). + +If some of these details are too large, do not hesitate to use a +pastebin service. Note that not all available pastebin services will +preserve Unix-style line terminators when downloading raw pastes. +Following pastebin services are known to work correctly: - https:// +gist.github.com/ - http://code.bulix.org/ + +22.7. Using the runtime tests framework + +Buildroot includes a run-time testing framework built upon Python +scripting and QEMU runtime execution. The goals of the framework are +the following: + + * build a well defined Buildroot configuration + * optionally, verify some properties of the build output + * optionally, boot the build results under Qemu, and verify that a + given feature is working as expected + +The entry point to use the runtime tests framework is the support/ +testing/run-tests tool, which has a series of options documented in +the tool’s help -h description. Some common options include setting +the download folder, the output folder, keeping build output, and for +multiple test cases, you can set the JLEVEL for each. + +Here is an example walk through of running a test case. + + * For a first step, let us see what all the test case options are. + The test cases can be listed by executing support/testing/ + run-tests -l. These tests can all be run individually during test + development from the console. Both one at a time and selectively + as a group of a subset of tests. + +$ support/testing/run-tests -l +List of tests +test_run (tests.utils.test_check_package.TestCheckPackage) +test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootMusl) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainBuildrootuClibc) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainCCache) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainCtngMusl) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainLinaroArm) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv4) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv5) ... ok +test_run (tests.toolchain.test_external.TestExternalToolchainSourceryArmv7) ... ok +[snip] +test_run (tests.init.test_systemd.TestInitSystemSystemdRoFull) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRoIfupdown) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRoNetworkd) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRwFull) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRwIfupdown) ... ok +test_run (tests.init.test_systemd.TestInitSystemSystemdRwNetworkd) ... ok +test_run (tests.init.test_busybox.TestInitSystemBusyboxRo) ... ok +test_run (tests.init.test_busybox.TestInitSystemBusyboxRoNet) ... ok +test_run (tests.init.test_busybox.TestInitSystemBusyboxRw) ... ok +test_run (tests.init.test_busybox.TestInitSystemBusyboxRwNet) ... ok + +Ran 157 tests in 0.021s + +OK + + * Then, to run one test case: + +$ support/testing/run-tests -d dl -o output_folder -k tests.init.test_busybox.TestInitSystemBusyboxRw +15:03:26 TestInitSystemBusyboxRw Starting +15:03:28 TestInitSystemBusyboxRw Building +15:08:18 TestInitSystemBusyboxRw Building done +15:08:27 TestInitSystemBusyboxRw Cleaning up +. +Ran 1 test in 301.140s + +OK + +The standard output indicates if the test is successful or not. By +default, the output folder for the test is deleted automatically +unless the option -k is passed to keep the output directory. + +22.7.1. Creating a test case + +Within the Buildroot repository, the testing framework is organized +at the top level in support/testing/ by folders of conf, infra and +tests. All the test cases live under the tests folder and are +organized in various folders representing the category of test. + +The best way to get familiar with how to create a test case is to +look at a few of the basic file system support/testing/tests/fs/ and +init support/testing/tests/init/ test scripts. Those tests give good +examples of a basic tests that include both checking the build +results, and doing runtime tests. There are other more advanced cases +that use things like nested br2-external folders to provide skeletons +and additional packages. + +Creating a basic test case involves: + + * Defining a test class that inherits from infra.basetest.BRTest + * Defining the config member of the test class, to the Buildroot + configuration to build for this test case. It can optionally rely + on configuration snippets provided by the runtime test + infrastructure: infra.basetest.BASIC_TOOLCHAIN_CONFIG to get a + basic architecture/toolchain configuration, and + infra.basetest.MINIMAL_CONFIG to not build any filesystem. The + advantage of using infra.basetest.BASIC_TOOLCHAIN_CONFIG is that + a matching Linux kernel image is provided, which allows to boot + the resulting image in Qemu without having to build a Linux + kernel image as part of the test case, therefore significant + decreasing the build time required for the test case. + * Implementing a def test_run(self): function to implement the + actual tests to run after the build has completed. They may be + tests that verify the build output, by running command on the + host using the run_cmd_on_host() helper function. Or they may + boot the generated system in Qemu using the Emulator object + available as self.emulator in the test case. For example + self.emulator.boot() allows to boot the system in Qemu, + self.emulator.login() allows to login, self.emulator.run() allows + to run shell commands inside Qemu. + +After creating the test script, add yourself to the DEVELOPERS file +to be the maintainer of that test case. + +22.7.2. Debugging a test case + +When a test case runs, the output_folder will contain the following: + +$ ls output_folder/ +TestInitSystemBusyboxRw/ +TestInitSystemBusyboxRw-build.log +TestInitSystemBusyboxRw-run.log + +TestInitSystemBusyboxRw/ is the Buildroot output directory, and it is +preserved only if the -k option is passed. + +TestInitSystemBusyboxRw-build.log is the log of the Buildroot build. + +TestInitSystemBusyboxRw-run.log is the log of the Qemu boot and test. +This file will only exist if the build was successful and the test +case involves booting under Qemu. + +If you want to manually run Qemu to do manual tests of the build +result, the first few lines of TestInitSystemBusyboxRw-run.log +contain the Qemu command line to use. + +You can also make modifications to the current sources inside the +output_folder (e.g. for debug purposes) and rerun the standard +Buildroot make targets (in order to regenerate the complete image +with the new modifications) and then rerun the test. + +22.7.3. Runtime tests and Gitlab CI + +All runtime tests are regularly executed by Buildroot Gitlab CI +infrastructure, see .gitlab.yml and https://gitlab.com/buildroot.org/ +buildroot/-/jobs. + +You can also use Gitlab CI to test your new test cases, or verify +that existing tests continue to work after making changes in +Buildroot. + +In order to achieve this, you need to create a fork of the Buildroot +project on Gitlab, and be able to push branches to your Buildroot +fork on Gitlab. + +The name of the branch that you push will determine if a Gitlab CI +pipeline will be triggered or not, and for which test cases. + +In the examples below, the component of the branch name is an +arbitrary string you choose. + + * To trigger all run-test test case jobs, push a branch that ends + with -runtime-tests: + + $ git push gitlab HEAD:-runtime-tests + + * To trigger one or several test case jobs, push a branch that ends + with the complete test case name + (tests.init.test_busybox.TestInitSystemBusyboxRo) or with the + name of a category of tests (tests.init.test_busybox): + + $ git push gitlab HEAD:- + +Example to run one test: + + $ git push gitlab HEAD:foo-tests.init.test_busybox.TestInitSystemBusyboxRo + +Examples to run several tests part of the same group: + + $ git push gitlab HEAD:foo-tests.init.test_busybox + $ git push gitlab HEAD:foo-tests.init + + +--------------------------------------------------------------------- + +^[4] RFC: (Request for comments) change proposal + +Chapter 23. DEVELOPERS file and get-developers + +The main Buildroot directory contains a file named DEVELOPERS that +lists the developers involved with various areas of Buildroot. Thanks +to this file, the get-developers tool allows to: + + * Calculate the list of developers to whom patches should be sent, + by parsing the patches and matching the modified files with the + relevant developers. See Section 22.5, “Submitting patches” for + details. + * Find which developers are taking care of a given architecture or + package, so that they can be notified when a build failure occurs + on this architecture or package. This is done in interaction with + Buildroot’s autobuild infrastructure. + +We ask developers adding new packages, new boards, or generally new +functionality in Buildroot, to register themselves in the DEVELOPERS +file. As an example, we expect a developer contributing a new package +to include in his patch the appropriate modification to the +DEVELOPERS file. + +The DEVELOPERS file format is documented in detail inside the file +itself. + +The get-developers tool, located in utils/ allows to use the +DEVELOPERS file for various tasks: + + * When passing one or several patches as command line argument, + get-developers will return the appropriate git send-email + command. If the -e option is passed, only the email addresses are + printed in a format suitable for git send-email --cc-cmd. + * When using the -a command line option, get-developers will + return the list of developers in charge of the given + architecture. + * When using the -p command line option, get-developers + will return the list of developers in charge of the given + package. + * When using the -c command line option, get-developers will look + at all files under version control in the Buildroot repository, + and list the ones that are not handled by any developer. The + purpose of this option is to help completing the DEVELOPERS file. + * When using without any arguments, it validates the integrity of + the DEVELOPERS file and will note WARNINGS for items that don’t + match. + +Chapter 24. Release Engineering + +24.1. Releases + +The Buildroot project makes quarterly releases with monthly bugfix +releases. The first release of each year is a long term support +release, LTS. + + * Quarterly releases: 2020.02, 2020.05, 2020.08, and 2020.11 + * Bugfix releases: 2020.02.1, 2020.02.2, … + * LTS releases: 2020.02, 2021.02, … + +Releases are supported until the first bugfix release of the next +release, e.g., 2020.05.x is EOL when 2020.08.1 is released. + +LTS releases are supported until the first bugfix release of the next +LTS, e.g., 2020.02.x is supported until 2021.02.1 is released. + +24.2. Development + +Each release cycle consist of two months of development on the master +branch and one month stabilization before the release is made. During +this phase no new features are added to master, only bugfixes. + +The stabilization phase starts with tagging -rc1, and every week +until the release, another release candidate is tagged. + +To handle new features and version bumps during the stabilization +phase, a next branch may be created for these features. Once the +current release has been made, the next branch is merged into master +and the development cycle for the next release continues there. + +Part IV. Appendix + +Table of Contents + +25. Makedev syntax documentation +26. Makeusers syntax documentation +27. Migrating from older Buildroot versions + + 27.1. General approach + 27.2. Migrating to 2016.11 + 27.3. Migrating to 2017.08 + +Chapter 25. Makedev syntax documentation + +The makedev syntax is used in several places in Buildroot to define +changes to be made for permissions, or which device files to create +and how to create them, in order to avoid calls to mknod. + +This syntax is derived from the makedev utility, and more complete +documentation can be found in the package/makedevs/README file. + +It takes the form of a space separated list of fields, one file per +line; the fields are: + ++--------------------------------------------------+ +|name|type|mode|uid|gid|major|minor|start|inc|count| ++--------------------------------------------------+ + +There are a few non-trivial blocks: + + * name is the path to the file you want to create/modify + * type is the type of the file, being one of: + + + f: a regular file + + d: a directory + + r: a directory recursively + + c: a character device file + + b: a block device file + + p: a named pipe + * mode are the usual permissions settings (only numerical values + are allowed) + * uid and gid are the UID and GID to set on this file; can be + either numerical values or actual names + * major and minor are here for device files, set to - for other + files + * start, inc and count are for when you want to create a batch of + files, and can be reduced to a loop, beginning at start, + incrementing its counter by inc until it reaches count + +Let’s say you want to change the permissions of a given file; using +this syntax, you will need to write: + +/usr/bin/foo f 755 0 0 - - - - - +/usr/bin/bar f 755 root root - - - - - +/data/buz f 644 buz-user buz-group - - - - - + +Alternatively, if you want to change owner/permission of a directory +recursively, you can write (to set UID to foo, GID to bar and access +rights to rwxr-x--- for the directory /usr/share/myapp and all files +and directories below it): + +/usr/share/myapp r 750 foo bar - - - - - + +On the other hand, if you want to create the device file /dev/hda and +the corresponding 15 files for the partitions, you will need for /dev +/hda: + +/dev/hda b 640 root root 3 0 0 0 - + +and then for device files corresponding to the partitions of /dev/ +hda, /dev/hdaX, X ranging from 1 to 15: + +/dev/hda b 640 root root 3 1 1 1 15 + +Extended attributes are supported if +BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES is enabled. This +is done by adding a line starting with |xattr after the line +describing the file. Right now, only capability is supported as +extended attribute. + ++------------------+ +||xattr|capability | ++------------------+ + + * |xattr is a "flag" that indicate an extended attribute + * capability is a capability to add to the previous file + +If you want to add the capability cap_sys_admin to the binary foo, +you will write : + +/usr/bin/foo f 755 root root - - - - - +|xattr cap_sys_admin+eip + +You can add several capabilities to a file by using several |xattr +lines. If you want to add the capability cap_sys_admin and +cap_net_admin to the binary foo, you will write : + +/usr/bin/foo f 755 root root - - - - - +|xattr cap_sys_admin+eip +|xattr cap_net_admin+eip + +Chapter 26. Makeusers syntax documentation + +The syntax to create users is inspired by the makedev syntax, above, +but is specific to Buildroot. + +The syntax for adding a user is a space-separated list of fields, one +user per line; the fields are: + ++---------------------------------------------------------+ +|username|uid|group|gid|password|home|shell|groups|comment| ++---------------------------------------------------------+ + +Where: + + * username is the desired user name (aka login name) for the user. + It can not be root, and must be unique. If set to -, then just a + group will be created. + * uid is the desired UID for the user. It must be unique, and not + 0. If set to -1 or -2, then a unique UID will be computed by + Buildroot, with -1 denoting a system UID from [100…999] and -2 + denoting a user UID from [1000…1999]. + * group is the desired name for the user’s main group. It can not + be root. If the group does not exist, it will be created. + * gid is the desired GID for the user’s main group. It must be + unique, and not 0. If set to -1 or -2, and the group does not + already exist, then a unique GID will be computed by Buildroot, + with -1 denoting a system GID from [100…999] and -2 denoting a + user GID from [1000…1999]. + * password is the crypt(3)-encoded password. If prefixed with !, + then login is disabled. If prefixed with =, then it is + interpreted as clear-text, and will be crypt-encoded (using MD5). + If prefixed with !=, then the password will be crypt-encoded + (using MD5) and login will be disabled. If set to *, then login + is not allowed. If set to -, then no password value will be set. + * home is the desired home directory for the user. If set to -, no + home directory will be created, and the user’s home will be /. + Explicitly setting home to / is not allowed. + * shell is the desired shell for the user. If set to -, then /bin/ + false is set as the user’s shell. + * groups is the comma-separated list of additional groups the user + should be part of. If set to -, then the user will be a member of + no additional group. Missing groups will be created with an + arbitrary gid. + * comment (aka GECOS [https://en.wikipedia.org/wiki/Gecos_field] + field) is an almost-free-form text. + +There are a few restrictions on the content of each field: + + * except for comment, all fields are mandatory. + * except for comment, fields may not contain spaces. + * no field may contain a colon (:). + +If home is not -, then the home directory, and all files below, will +belong to the user and its main group. + +Examples: + +foo -1 bar -1 !=blabla /home/foo /bin/sh alpha,bravo Foo user + +This will create this user: + + * username (aka login name) is: foo + * uid is computed by Buildroot + * main group is: bar + * main group gid is computed by Buildroot + * clear-text password is: blabla, will be crypt(3)-encoded, and + login is disabled. + * home is: /home/foo + * shell is: /bin/sh + * foo is also a member of groups: alpha and bravo + * comment is: Foo user + +test 8000 wheel -1 = - /bin/sh - Test user + +This will create this user: + + * username (aka login name) is: test + * uid is : 8000 + * main group is: wheel + * main group gid is computed by Buildroot, and will use the value + defined in the rootfs skeleton + * password is empty (aka no password). + * home is / but will not belong to test + * shell is: /bin/sh + * test is not a member of any additional groups + * comment is: Test user + +Chapter 27. Migrating from older Buildroot versions + +Some versions have introduced backward incompatibilities. This +section explains those incompatibilities, and for each explains what +to do to complete the migration. + +27.1. General approach + +To migrate from an older Buildroot version, take the following steps. + + 1. For all your configurations, do a build in the old Buildroot + environment. Run make graph-size. Save graphs/file-size-stats.csv + in a different location. Run make clean to remove the rest. + 2. Review the specific migration notes below and make the required + adaptations to external packages and custom build scripts. + 3. Update Buildroot. + 4. Run make menuconfig starting from the existing .config. + 5. If anything is enabled in the Legacy menu, check its help text, + unselect it, and save the configuration. + 6. For more details, review the git commit messages for the packages + that you need. Change into the packages directory and run git log + .. — . + 7. Build in the new Buildroot environment. + 8. Fix build issues in external packages (usually due to updated + dependencies). + 9. Run make graph-size. +10. Compare the new file-size-stats.csv with the original one, to + check if no required files have disappeared and if no new big + unneeded files have appeared. +11. For configuration (and other) files in a custom overlay that + overwrite files created by Buildroot, check if there are changes + in the Buildroot-generated file that need to be propagated to + your custom file. + +27.2. Migrating to 2016.11 + +Before Buildroot 2016.11, it was possible to use only one +br2-external tree at once. With Buildroot 2016.11 came the +possibility to use more than one simultaneously (for details, see +Section 9.2, “Keeping customizations outside of Buildroot”). + +This however means that older br2-external trees are not usable +as-is. A minor change has to be made: adding a name to your +br2-external tree. + +This can be done very easily in just a few steps: + + * First, create a new file named external.desc, at the root of your + br2-external tree, with a single line defining the name of your + br2-external tree: + + $ echo 'name: NAME_OF_YOUR_TREE' >external.desc + + Note. Be careful when choosing a name: It has to be unique and be + made with only ASCII characters from the set [A-Za-z0-9_]. + + * Then, change every occurence of BR2_EXTERNAL in your br2-external + tree with the new variable: + + $ find . -type f | xargs sed -i 's/BR2_EXTERNAL/BR2_EXTERNAL_NAME_OF_YOUR_TREE_PATH/g' + +Now, your br2-external tree can be used with Buildroot 2016.11 +onward. + +Note: This change makes your br2-external tree incompatible with +Buildroot before 2016.11. + +27.3. Migrating to 2017.08 + +Before Buildroot 2017.08, host packages were installed in $(HOST_DIR) +/usr (with e.g. the autotools' --prefix=$(HOST_DIR)/usr). With +Buildroot 2017.08, they are now installed directly in $(HOST_DIR). + +Whenever a package installs an executable that is linked with a +library in $(HOST_DIR)/lib, it must have an RPATH pointing to that +directory. + +An RPATH pointing to $(HOST_DIR)/usr/lib is no longer accepted. + diff --git a/buildroot-2021.05/docs/manual/manual.txt b/buildroot-2022.02.1/docs/manual/manual.txt similarity index 100% rename from buildroot-2021.05/docs/manual/manual.txt rename to buildroot-2022.02.1/docs/manual/manual.txt diff --git a/buildroot-2022.02.1/docs/manual/migrating.txt b/buildroot-2022.02.1/docs/manual/migrating.txt new file mode 100644 index 00000000..cb1f5eac --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/migrating.txt @@ -0,0 +1,88 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +[[migrating-from-ol-versions]] +== Migrating from older Buildroot versions + +Some versions have introduced backward incompatibilities. This section +explains those incompatibilities, and for each explains what to do to +complete the migration. + +[[migrating-approach]] +=== General approach + +To migrate from an older Buildroot version, take the following steps. + +. For all your configurations, do a build in the old Buildroot + environment. Run +make graph-size+. Save + +graphs/file-size-stats.csv+ in a different location. Run +make + clean+ to remove the rest. +. Review the specific migration notes below and make the required + adaptations to external packages and custom build scripts. +. Update Buildroot. +. Run +make menuconfig+ starting from the existing +.config+. +. If anything is enabled in the Legacy menu, check its help text, + unselect it, and save the configuration. +. For more details, review the git commit messages for the packages that + you need. Change into the +packages+ directory and run + +git log .. -- +. +. Build in the new Buildroot environment. +. Fix build issues in external packages (usually due to updated + dependencies). +. Run +make graph-size+. +. Compare the new +file-size-stats.csv+ with the original one, to + check if no required files have disappeared and if no new big unneeded + files have appeared. +. For configuration (and other) files in a custom overlay that overwrite + files created by Buildroot, check if there are changes in the + Buildroot-generated file that need to be propagated to your custom + file. + +[[br2-external-converting]] +=== Migrating to 2016.11 + +Before Buildroot 2016.11, it was possible to use only one br2-external +tree at once. With Buildroot 2016.11 came the possibility to use more +than one simultaneously (for details, see xref:outside-br-custom[]). + +This however means that older br2-external trees are not usable as-is. +A minor change has to be made: adding a name to your br2-external tree. + +This can be done very easily in just a few steps: + + * First, create a new file named +external.desc+, at the root of your + br2-external tree, with a single line defining the name of your + br2-external tree: ++ +---- +$ echo 'name: NAME_OF_YOUR_TREE' >external.desc +---- ++ +.Note +Be careful when choosing a name: It has to be unique and be made +with only ASCII characters from the set +[A-Za-z0-9_]+. + + * Then, change every occurence of +BR2_EXTERNAL+ in your br2-external + tree with the new variable: ++ +---- +$ find . -type f | xargs sed -i 's/BR2_EXTERNAL/BR2_EXTERNAL_NAME_OF_YOUR_TREE_PATH/g' +---- + +Now, your br2-external tree can be used with Buildroot 2016.11 onward. + +.Note: +This change makes your br2-external tree incompatible with Buildroot +before 2016.11. + +[[migrating-host-usr]] +=== Migrating to 2017.08 + +Before Buildroot 2017.08, host packages were installed in +$(HOST_DIR)/usr+ +(with e.g. the autotools' +--prefix=$(HOST_DIR)/usr+). With Buildroot +2017.08, they are now installed directly in +$(HOST_DIR)+. + +Whenever a package installs an executable that is linked with a library +in +$(HOST_DIR)/lib+, it must have an RPATH pointing to that directory. + +An RPATH pointing to +$(HOST_DIR)/usr/lib+ is no longer accepted. diff --git a/buildroot-2021.05/docs/manual/package-make-target.txt b/buildroot-2022.02.1/docs/manual/package-make-target.txt similarity index 100% rename from buildroot-2021.05/docs/manual/package-make-target.txt rename to buildroot-2022.02.1/docs/manual/package-make-target.txt diff --git a/buildroot-2021.05/docs/manual/patch-policy.txt b/buildroot-2022.02.1/docs/manual/patch-policy.txt similarity index 100% rename from buildroot-2021.05/docs/manual/patch-policy.txt rename to buildroot-2022.02.1/docs/manual/patch-policy.txt diff --git a/buildroot-2022.02.1/docs/manual/prerequisite.txt b/buildroot-2022.02.1/docs/manual/prerequisite.txt new file mode 100644 index 00000000..40071491 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/prerequisite.txt @@ -0,0 +1,97 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +[[requirement]] +== System requirements + +Buildroot is designed to run on Linux systems. + +While Buildroot itself will build most host packages it needs for the +compilation, certain standard Linux utilities are expected to be +already installed on the host system. Below you will find an overview of +the mandatory and optional packages (note that package names may vary +between distributions). + +[[requirement-mandatory]] + +=== Mandatory packages + +* Build tools: + +** +which+ +** +sed+ +** +make+ (version 3.81 or any later) +** +binutils+ +** +build-essential+ (only for Debian based systems) +** +gcc+ (version 4.8 or any later) +** `g++` (version 4.8 or any later) +** +bash+ +** +patch+ +** +gzip+ +** +bzip2+ +** +perl+ (version 5.8.7 or any later) +** +tar+ +** +cpio+ +** +unzip+ +** +rsync+ +** +file+ (must be in +/usr/bin/file+) +** +bc+ + +* Source fetching tools: +** +wget+ + +[[requirement-optional]] + +=== Optional packages + +* Recommended dependencies: ++ +Some features or utilities in Buildroot, like the legal-info, or the +graph generation tools, have additional dependencies. Although they +are not mandatory for a simple build, they are still highly recommended: ++ +** +python+ (version 2.7 or any later) + +* Configuration interface dependencies: ++ +For these libraries, you need to install both runtime and development +data, which in many distributions are packaged separately. The +development packages typically have a _-dev_ or _-devel_ suffix. ++ +** +ncurses5+ to use the 'menuconfig' interface +** +qt5+ to use the 'xconfig' interface +** +glib2+, +gtk2+ and +glade2+ to use the 'gconfig' interface + +* Source fetching tools: ++ +In the official tree, most of the package sources are retrieved using ++wget+ from _ftp_, _http_ or _https_ locations. A few packages are only +available through a version control system. Moreover, Buildroot is +capable of downloading sources via other tools, like +rsync+ or +scp+ +(refer to xref:download-infra[] for more details). If you enable +packages using any of these methods, you will need to install the +corresponding tool on the host system: ++ +** +bazaar+ +** +cvs+ +** +git+ +** +mercurial+ +** +rsync+ +** +scp+ +** +sftp+ +** +subversion+ + +* Java-related packages, if the Java Classpath needs to be built for + the target system: +** The +javac+ compiler +** The +jar+ tool + +* Documentation generation tools: +** +asciidoc+, version 8.6.3 or higher +** +w3m+ +** +python+ with the +argparse+ module (automatically present in 2.7+ and 3.2+) +** +dblatex+ (required for the pdf manual only) + +* Graph generation tools: +** +graphviz+ to use 'graph-depends' and '-graph-depends' +** +python-matplotlib+ to use 'graph-build' diff --git a/buildroot-2021.05/docs/manual/quickstart.txt b/buildroot-2022.02.1/docs/manual/quickstart.txt similarity index 100% rename from buildroot-2021.05/docs/manual/quickstart.txt rename to buildroot-2022.02.1/docs/manual/quickstart.txt diff --git a/buildroot-2021.05/docs/manual/rebuilding-packages.txt b/buildroot-2022.02.1/docs/manual/rebuilding-packages.txt similarity index 100% rename from buildroot-2021.05/docs/manual/rebuilding-packages.txt rename to buildroot-2022.02.1/docs/manual/rebuilding-packages.txt diff --git a/buildroot-2021.05/docs/manual/release-engineering.txt b/buildroot-2022.02.1/docs/manual/release-engineering.txt similarity index 100% rename from buildroot-2021.05/docs/manual/release-engineering.txt rename to buildroot-2022.02.1/docs/manual/release-engineering.txt diff --git a/buildroot-2022.02.1/docs/manual/resources.txt b/buildroot-2022.02.1/docs/manual/resources.txt new file mode 100644 index 00000000..e90a49b2 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/resources.txt @@ -0,0 +1,71 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +[[community-resources]] +== Community resources + +Like any open source project, Buildroot has different ways to share +information in its community and outside. + +Each of those ways may interest you if you are looking for some help, +want to understand Buildroot or contribute to the project. + +Mailing List:: ++ +Buildroot has a mailing list for discussion and development. It is the +main method of interaction for Buildroot users and developers. ++ +Only subscribers to the Buildroot mailing list are allowed to post to +this list. You can subscribe via the +http://lists.buildroot.org/mailman/listinfo/buildroot[mailing list info +page]. ++ +Mails that are sent to the mailing list are also available in the +mailing list archives, available through +http://lists.buildroot.org/pipermail/buildroot[Mailman] or at +https://lore.kernel.org/buildroot/[lore.kernel.org]. + +IRC:: ++ +The Buildroot IRC channel irc://irc.oftc.net/#buildroot[#buildroot] is +hosted on https://www.oftc.net/WebChat/[OFTC]. It is a useful place to +ask quick questions or discuss on certain topics. ++ +When asking for help on IRC, share relevant logs or pieces of code +using a code sharing website, such as https://paste.ack.tf/. ++ +Note that for certain questions, posting to the mailing list may be +better as it will reach more people, both developers and users. + +Bug tracker:: ++ +Bugs in Buildroot can be reported via the mailing list or alternatively +via the https://bugs.buildroot.org/buglist.cgi?product=buildroot[Buildroot +bugtracker]. Please refer to xref:reporting-bugs[] before creating a bug +report. + +Wiki:: ++ +http://elinux.org/Buildroot[The Buildroot wiki page] is hosted on +the http://elinux.org[eLinux] wiki. It contains some useful links, an +overview of past and upcoming events, and a TODO list. + +Patchwork:: ++ +Patchwork is a web-based patch tracking system designed to facilitate +the contribution and management of contributions to an open-source +project. Patches that have been sent to a mailing list are \'caught' by +the system, and appear on a web page. Any comments posted that +reference the patch are appended to the patch page too. For more +information on Patchwork see +http://jk.ozlabs.org/projects/patchwork/[]. ++ +Buildroot's Patchwork website is mainly for use by Buildroot's +maintainer to ensure patches aren't missed. It is also used by Buildroot +patch reviewers (see also xref:apply-patches-patchwork[]). +However, since the website exposes patches and their corresponding +review comments in a clean and concise web interface, it can be useful +for all Buildroot developers. ++ +The Buildroot patch management interface is available at +http://patchwork.buildroot.org[]. diff --git a/buildroot-2021.05/docs/manual/selinux-support.txt b/buildroot-2022.02.1/docs/manual/selinux-support.txt similarity index 100% rename from buildroot-2021.05/docs/manual/selinux-support.txt rename to buildroot-2022.02.1/docs/manual/selinux-support.txt diff --git a/buildroot-2022.02.1/docs/manual/using-buildroot-debugger.txt b/buildroot-2022.02.1/docs/manual/using-buildroot-debugger.txt new file mode 100644 index 00000000..9a8a7dfb --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/using-buildroot-debugger.txt @@ -0,0 +1,53 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +==== Using +gdb+ in Buildroot + +Buildroot allows to do cross-debugging, where the debugger runs on the +build machine and communicates with +gdbserver+ on the target to +control the execution of the program. + +To achieve this: + +* If you are using an _internal toolchain_ (built by Buildroot), you + must enable +BR2_PACKAGE_HOST_GDB+, +BR2_PACKAGE_GDB+ and + +BR2_PACKAGE_GDB_SERVER+. This ensures that both the cross gdb and + gdbserver get built, and that gdbserver gets installed to your target. + +* If you are using an _external toolchain_, you should enable + +BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY+, which will copy the + gdbserver included with the external toolchain to the target. If your + external toolchain does not have a cross gdb or gdbserver, it is also + possible to let Buildroot build them, by enabling the same options as + for the _internal toolchain backend_. + +Now, to start debugging a program called +foo+, you should run on the +target: + +---------------------------- +gdbserver :2345 foo +---------------------------- + +This will cause +gdbserver+ to listen on TCP port 2345 for a connection +from the cross gdb. + +Then, on the host, you should start the cross gdb using the following +command line: + +---------------------------- +/output/host/bin/-gdb -ix /output/staging/usr/share/buildroot/gdbinit foo +---------------------------- + +Of course, +foo+ must be available in the current directory, built +with debugging symbols. Typically you start this command from the +directory where +foo+ is built (and not from +output/target/+ as the +binaries in that directory are stripped). + +The +/output/staging/usr/share/buildroot/gdbinit+ file will tell the +cross gdb where to find the libraries of the target. + +Finally, to connect to the target from the cross gdb: + +---------------------------- +(gdb) target remote :2345 +---------------------------- diff --git a/buildroot-2021.05/docs/manual/using-buildroot-development.txt b/buildroot-2022.02.1/docs/manual/using-buildroot-development.txt similarity index 100% rename from buildroot-2021.05/docs/manual/using-buildroot-development.txt rename to buildroot-2022.02.1/docs/manual/using-buildroot-development.txt diff --git a/buildroot-2021.05/docs/manual/using-buildroot-toolchain.txt b/buildroot-2022.02.1/docs/manual/using-buildroot-toolchain.txt similarity index 100% rename from buildroot-2021.05/docs/manual/using-buildroot-toolchain.txt rename to buildroot-2022.02.1/docs/manual/using-buildroot-toolchain.txt diff --git a/buildroot-2022.02.1/docs/manual/writing-rules.txt b/buildroot-2022.02.1/docs/manual/writing-rules.txt new file mode 100644 index 00000000..84d8f764 --- /dev/null +++ b/buildroot-2022.02.1/docs/manual/writing-rules.txt @@ -0,0 +1,219 @@ +// -*- mode:doc; -*- +// vim: set syntax=asciidoc: + +== Coding style + +Overall, these coding style rules are here to help you to add new files in +Buildroot or refactor existing ones. + +If you slightly modify some existing file, the important thing is +to keep the consistency of the whole file, so you can: + +* either follow the potentially deprecated coding style used in this +file, + +* or entirely rework it in order to make it comply with these rules. + +[[writing-rules-config-in]] + +=== +Config.in+ file + ++Config.in+ files contain entries for almost anything configurable in +Buildroot. + +An entry has the following pattern: + +--------------------- +config BR2_PACKAGE_LIBFOO + bool "libfoo" + depends on BR2_PACKAGE_LIBBAZ + select BR2_PACKAGE_LIBBAR + help + This is a comment that explains what libfoo is. The help text + should be wrapped. + + http://foosoftware.org/libfoo/ +--------------------- + +* The +bool+, +depends on+, +select+ and +help+ lines are indented + with one tab. + +* The help text itself should be indented with one tab and two + spaces. + +* The help text should be wrapped to fit 72 columns, where tab counts + for 8, so 62 characters in the text itself. + +The +Config.in+ files are the input for the configuration tool +used in Buildroot, which is the regular _Kconfig_. For further +details about the _Kconfig_ language, refer to +http://kernel.org/doc/Documentation/kbuild/kconfig-language.txt[]. + +[[writing-rules-mk]] + +=== The +.mk+ file + +* Header: The file starts with a header. It contains the module name, +preferably in lowercase, enclosed between separators made of 80 hashes. A +blank line is mandatory after the header: ++ +--------------------- +################################################################################ +# +# libfoo +# +################################################################################ +--------------------- ++ +* Assignment: use +=+ preceded and followed by one space: ++ +--------------------- +LIBFOO_VERSION = 1.0 +LIBFOO_CONF_OPTS += --without-python-support +--------------------- ++ +Do not align the +=+ signs. + +* Indentation: use tab only: ++ +--------------------- +define LIBFOO_REMOVE_DOC + $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/doc \ + $(TARGET_DIR)/usr/share/man/man3/libfoo* +endef +--------------------- ++ +Note that commands inside a +define+ block should always start with a tab, +so _make_ recognizes them as commands. + +* Optional dependency: + +** Prefer multi-line syntax. ++ +YES: ++ +--------------------- +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBFOO_CONF_OPTS += --with-python-support +LIBFOO_DEPENDENCIES += python3 +else +LIBFOO_CONF_OPTS += --without-python-support +endif +--------------------- ++ +NO: ++ +--------------------- +LIBFOO_CONF_OPTS += --with$(if $(BR2_PACKAGE_PYTHON3),,out)-python-support +LIBFOO_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,) +--------------------- + +** Keep configure options and dependencies close together. + +* Optional hooks: keep hook definition and assignment together in one + if block. ++ +YES: ++ +--------------------- +ifneq ($(BR2_LIBFOO_INSTALL_DATA),y) +define LIBFOO_REMOVE_DATA + $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data +endef +LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA +endif +--------------------- ++ +NO: ++ +--------------------- +define LIBFOO_REMOVE_DATA + $(RM) -fr $(TARGET_DIR)/usr/share/libfoo/data +endef + +ifneq ($(BR2_LIBFOO_INSTALL_DATA),y) +LIBFOO_POST_INSTALL_TARGET_HOOKS += LIBFOO_REMOVE_DATA +endif +--------------------- + +[[writing-genimage-cfg]] + +=== The +genimage.cfg+ file + ++genimage.cfg+ files contain the output image layout that genimage utility +uses to create final .img file. + +An example follows: + +--------------------- +image efi-part.vfat { + vfat { + file EFI { + image = "efi-part/EFI" + } + + file Image { + image = "Image" + } + } + + size = 32M +} + +image sdimage.img { + hdimage { + } + + partition u-boot { + image = "efi-part.vfat" + offset = 8K + } + + partition root { + image = "rootfs.ext2" + size = 512M + } +} +--------------------- + +* Every +section+(i.e. hdimage, vfat etc.), +partition+ must be indented + with one tab. + +* Every +file+ or other +subnode+ must be indented with two tabs. + +* Every node(+section+, +partition+, +file+, +subnode+) must have an open + curly bracket on the same line of the node's name, while the closing one + must be on a newline and after it a newline must be added except for the + last one node. Same goes for its option, for example option +size+ +=+. + +* Every +option+(i.e. +image+, +offset+, +size+) must have the +=+ + assignment one space from it and one space from the value specified. + +* Filename must at least begin with genimage prefix and have the .cfg + extension to be easy to recognize. + +* Allowed notations for +offset+ and +size+ options are: +G+, +M+, +K+ + (not +k+). If it's not possible to express a precise byte count + with notations above then use hexadecimal +0x+ prefix or, as last + chance, the byte count. In comments instead use +GB+, +MB+, +KB+ + (not +kb+) in place of +G+, +M+, +K+. + +The +genimage.cfg+ files are the input for the genimage tool used in +Buildroot to generate the final image file(i.e. sdcard.img). For further +details about the _genimage_ language, refer to +https://github.com/pengutronix/genimage/blob/master/README.rst[]. + + +=== The documentation + +The documentation uses the +https://asciidoc-py.github.io/[asciidoc] format. + +For further details about the asciidoc syntax, refer to +https://asciidoc-py.github.io/userguide.html[]. + +=== Support scripts + +Some scripts in the +support/+ and +utils/+ directories are written in +Python and should follow the +https://www.python.org/dev/peps/pep-0008/[PEP8 Style Guide for Python Code]. diff --git a/buildroot-2021.05/docs/website/.htaccess b/buildroot-2022.02.1/docs/website/.htaccess similarity index 100% rename from buildroot-2021.05/docs/website/.htaccess rename to buildroot-2022.02.1/docs/website/.htaccess diff --git a/buildroot-2021.05/docs/website/association.html b/buildroot-2022.02.1/docs/website/association.html similarity index 100% rename from buildroot-2021.05/docs/website/association.html rename to buildroot-2022.02.1/docs/website/association.html diff --git a/buildroot-2021.05/docs/website/contribute.html b/buildroot-2022.02.1/docs/website/contribute.html similarity index 100% rename from buildroot-2021.05/docs/website/contribute.html rename to buildroot-2022.02.1/docs/website/contribute.html diff --git a/buildroot-2021.05/docs/website/copyright.txt b/buildroot-2022.02.1/docs/website/copyright.txt similarity index 100% rename from buildroot-2021.05/docs/website/copyright.txt rename to buildroot-2022.02.1/docs/website/copyright.txt diff --git a/buildroot-2021.05/docs/website/css/main.css b/buildroot-2022.02.1/docs/website/css/main.css similarity index 100% rename from buildroot-2021.05/docs/website/css/main.css rename to buildroot-2022.02.1/docs/website/css/main.css diff --git a/buildroot-2021.05/docs/website/css/timeline.css b/buildroot-2022.02.1/docs/website/css/timeline.css similarity index 100% rename from buildroot-2021.05/docs/website/css/timeline.css rename to buildroot-2022.02.1/docs/website/css/timeline.css diff --git a/buildroot-2022.02.1/docs/website/docs.html b/buildroot-2022.02.1/docs/website/docs.html new file mode 100644 index 00000000..85b00500 --- /dev/null +++ b/buildroot-2022.02.1/docs/website/docs.html @@ -0,0 +1,130 @@ + + +
+
+
+ +
+
Documentation
+
+

The Buildroot user manual is where you want to start reading if you + wish to understand how Buildroot works, or wish to change/extend/fix + things. It is available as:

+ +
+
+
+
+
+ +
+
+ +
+
+
+ +

HTML
+ Stable | + Nightly +

+ +
+ +
+
+
+
+ +
+
+ +
+
+
+ +

PDF
+ Stable | + Nightly +

+ +
+ +
+
+
+
+ +
+
+ +
+
+
+ +

ASCII
+ Stable | + Nightly +

+ +
+
+ +

If you find any errors (factual, grammatical, whatever) please + report them to us.

+
+
+ +
+
Training
+
+

Bootlin (formerly Free Electrons) + offers a complete 3-days + training course on Buildroot. They also make the training + materials freely available:

+ +
+
+
+
Slides preview
+
+
+ buildroot slides +
+
+
+
+ +
+
+
Training materials
+ +
+ +
+
Public online training course
+
+ Regular online training courses, available to individual + registration, are proposed by Bootlin, with Thomas + Petazzoni as + trainer. See next + dates and registration details. +
+
+
+
+
+
+ +
+
+
+ + + diff --git a/buildroot-2022.02.1/docs/website/download.html b/buildroot-2022.02.1/docs/website/download.html new file mode 100644 index 00000000..18a9254c --- /dev/null +++ b/buildroot-2022.02.1/docs/website/download.html @@ -0,0 +1,217 @@ + + +
+
+
+ +
+
Download
+
+ +

Latest stable / long term support release: 2022.02

+ +
+
+
+
+
+ +
+
+ +
+
+
+

buildroot-2022.02.tar.gz

+

PGP signature

+
+
+
+
+
+ +
+
+ +
+
+
+ +

buildroot-2022.02.tar.xz

+

PGP signature

+
+
+ + This and earlier releases (and their PGP signatures) can always be downloaded from + http://buildroot.net/downloads/. +
+
+ +
+
Source code
+
+ +
+
+
+
Repository
+
+

The buildroot repository can be browsed online through cgit at + http://git.buildroot.net/buildroot. + To grab a copy of the repository use

+ + +
+ + + + +

+ +

+ Or if you're behind a firewall blocking git: +

+ +
+ + + + +

+ +

+ + Please use the native git protocol if at all possible, as it's a lot + more efficient than HTTP. + +

+ + If you are not already familiar with using Git, we recommend you visit the Git website. + +

+ + Once you've checked out a copy of the source tree, you can update your source + tree at any time so it is in sync with the latest and greatest by entering your + buildroot directory and running the command: + +

+git pull
+
+ + Because you've only been granted anonymous access to the tree, you won't be + able to push your changes to the repo. Changes can instead be submitted for + inclusion by posting them to the buildroot mailing list. +
+
+
+ +
+
+
Tarballs
+
+ You can also obtain daily snapshots of the latest Buildroot source tree if you + want to follow development, but cannot or do not wish to use Git. + + + +

+ Older versions can be downloaded from the release archive. +

+
+
+
+
+
+
+ +
+
+
+ + diff --git a/buildroot-2021.05/docs/website/favicon.ico b/buildroot-2022.02.1/docs/website/favicon.ico similarity index 100% rename from buildroot-2021.05/docs/website/favicon.ico rename to buildroot-2022.02.1/docs/website/favicon.ico diff --git a/buildroot-2021.05/docs/website/favicon.png b/buildroot-2022.02.1/docs/website/favicon.png similarity index 100% rename from buildroot-2021.05/docs/website/favicon.png rename to buildroot-2022.02.1/docs/website/favicon.png diff --git a/buildroot-2021.05/docs/website/fonts/glyphicons-halflings-regular.woff b/buildroot-2022.02.1/docs/website/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from buildroot-2021.05/docs/website/fonts/glyphicons-halflings-regular.woff rename to buildroot-2022.02.1/docs/website/fonts/glyphicons-halflings-regular.woff diff --git a/buildroot-2021.05/docs/website/footer.html b/buildroot-2022.02.1/docs/website/footer.html similarity index 100% rename from buildroot-2021.05/docs/website/footer.html rename to buildroot-2022.02.1/docs/website/footer.html diff --git a/buildroot-2021.05/docs/website/header.html b/buildroot-2022.02.1/docs/website/header.html similarity index 100% rename from buildroot-2021.05/docs/website/header.html rename to buildroot-2022.02.1/docs/website/header.html diff --git a/buildroot-2021.05/docs/website/images/amarula-solutions-logo.png b/buildroot-2022.02.1/docs/website/images/amarula-solutions-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/amarula-solutions-logo.png rename to buildroot-2022.02.1/docs/website/images/amarula-solutions-logo.png diff --git a/buildroot-2021.05/docs/website/images/bootlin-logo.png b/buildroot-2022.02.1/docs/website/images/bootlin-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/bootlin-logo.png rename to buildroot-2022.02.1/docs/website/images/bootlin-logo.png diff --git a/buildroot-2021.05/docs/website/images/boundary-devices-logo.png b/buildroot-2022.02.1/docs/website/images/boundary-devices-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/boundary-devices-logo.png rename to buildroot-2022.02.1/docs/website/images/boundary-devices-logo.png diff --git a/buildroot-2021.05/docs/website/images/browser.png b/buildroot-2022.02.1/docs/website/images/browser.png similarity index 100% rename from buildroot-2021.05/docs/website/images/browser.png rename to buildroot-2022.02.1/docs/website/images/browser.png diff --git a/buildroot-2021.05/docs/website/images/bug-buddy.png b/buildroot-2022.02.1/docs/website/images/bug-buddy.png similarity index 100% rename from buildroot-2021.05/docs/website/images/bug-buddy.png rename to buildroot-2022.02.1/docs/website/images/bug-buddy.png diff --git a/buildroot-2021.05/docs/website/images/buildroot-slides.png b/buildroot-2022.02.1/docs/website/images/buildroot-slides.png similarity index 100% rename from buildroot-2021.05/docs/website/images/buildroot-slides.png rename to buildroot-2022.02.1/docs/website/images/buildroot-slides.png diff --git a/buildroot-2021.05/docs/website/images/calao-logo.png b/buildroot-2022.02.1/docs/website/images/calao-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/calao-logo.png rename to buildroot-2022.02.1/docs/website/images/calao-logo.png diff --git a/buildroot-2021.05/docs/website/images/circuitco-logo.png b/buildroot-2022.02.1/docs/website/images/circuitco-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/circuitco-logo.png rename to buildroot-2022.02.1/docs/website/images/circuitco-logo.png diff --git a/buildroot-2021.05/docs/website/images/clippy.svg b/buildroot-2022.02.1/docs/website/images/clippy.svg similarity index 100% rename from buildroot-2021.05/docs/website/images/clippy.svg rename to buildroot-2022.02.1/docs/website/images/clippy.svg diff --git a/buildroot-2021.05/docs/website/images/email.png b/buildroot-2022.02.1/docs/website/images/email.png similarity index 100% rename from buildroot-2021.05/docs/website/images/email.png rename to buildroot-2022.02.1/docs/website/images/email.png diff --git a/buildroot-2021.05/docs/website/images/fluendo-logo.png b/buildroot-2022.02.1/docs/website/images/fluendo-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/fluendo-logo.png rename to buildroot-2022.02.1/docs/website/images/fluendo-logo.png diff --git a/buildroot-2021.05/docs/website/images/free-electrons-logo.png b/buildroot-2022.02.1/docs/website/images/free-electrons-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/free-electrons-logo.png rename to buildroot-2022.02.1/docs/website/images/free-electrons-logo.png diff --git a/buildroot-2021.05/docs/website/images/gift.png b/buildroot-2022.02.1/docs/website/images/gift.png similarity index 100% rename from buildroot-2021.05/docs/website/images/gift.png rename to buildroot-2022.02.1/docs/website/images/gift.png diff --git a/buildroot-2021.05/docs/website/images/github_hash_mongrel2.png b/buildroot-2022.02.1/docs/website/images/github_hash_mongrel2.png similarity index 100% rename from buildroot-2021.05/docs/website/images/github_hash_mongrel2.png rename to buildroot-2022.02.1/docs/website/images/github_hash_mongrel2.png diff --git a/buildroot-2021.05/docs/website/images/google-logo.png b/buildroot-2022.02.1/docs/website/images/google-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/google-logo.png rename to buildroot-2022.02.1/docs/website/images/google-logo.png diff --git a/buildroot-2021.05/docs/website/images/hammer.png b/buildroot-2022.02.1/docs/website/images/hammer.png similarity index 100% rename from buildroot-2021.05/docs/website/images/hammer.png rename to buildroot-2022.02.1/docs/website/images/hammer.png diff --git a/buildroot-2021.05/docs/website/images/imgtec-logo.png b/buildroot-2022.02.1/docs/website/images/imgtec-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/imgtec-logo.png rename to buildroot-2022.02.1/docs/website/images/imgtec-logo.png diff --git a/buildroot-2021.05/docs/website/images/irc.png b/buildroot-2022.02.1/docs/website/images/irc.png similarity index 100% rename from buildroot-2021.05/docs/website/images/irc.png rename to buildroot-2022.02.1/docs/website/images/irc.png diff --git a/buildroot-2021.05/docs/website/images/logilin-logo.png b/buildroot-2022.02.1/docs/website/images/logilin-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/logilin-logo.png rename to buildroot-2022.02.1/docs/website/images/logilin-logo.png diff --git a/buildroot-2021.05/docs/website/images/logo.png b/buildroot-2022.02.1/docs/website/images/logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/logo.png rename to buildroot-2022.02.1/docs/website/images/logo.png diff --git a/buildroot-2021.05/docs/website/images/logo.xcf b/buildroot-2022.02.1/docs/website/images/logo.xcf similarity index 100% rename from buildroot-2021.05/docs/website/images/logo.xcf rename to buildroot-2022.02.1/docs/website/images/logo.xcf diff --git a/buildroot-2021.05/docs/website/images/logo_small.png b/buildroot-2022.02.1/docs/website/images/logo_small.png similarity index 100% rename from buildroot-2021.05/docs/website/images/logo_small.png rename to buildroot-2022.02.1/docs/website/images/logo_small.png diff --git a/buildroot-2021.05/docs/website/images/menuconfig.png b/buildroot-2022.02.1/docs/website/images/menuconfig.png similarity index 100% rename from buildroot-2021.05/docs/website/images/menuconfig.png rename to buildroot-2022.02.1/docs/website/images/menuconfig.png diff --git a/buildroot-2021.05/docs/website/images/mind-logo.png b/buildroot-2022.02.1/docs/website/images/mind-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/mind-logo.png rename to buildroot-2022.02.1/docs/website/images/mind-logo.png diff --git a/buildroot-2021.05/docs/website/images/nconfig.png b/buildroot-2022.02.1/docs/website/images/nconfig.png similarity index 100% rename from buildroot-2021.05/docs/website/images/nconfig.png rename to buildroot-2022.02.1/docs/website/images/nconfig.png diff --git a/buildroot-2021.05/docs/website/images/package.png b/buildroot-2022.02.1/docs/website/images/package.png similarity index 100% rename from buildroot-2021.05/docs/website/images/package.png rename to buildroot-2022.02.1/docs/website/images/package.png diff --git a/buildroot-2021.05/docs/website/images/pdf-icon.png b/buildroot-2022.02.1/docs/website/images/pdf-icon.png similarity index 100% rename from buildroot-2021.05/docs/website/images/pdf-icon.png rename to buildroot-2022.02.1/docs/website/images/pdf-icon.png diff --git a/buildroot-2021.05/docs/website/images/rockwell-collins-logo.png b/buildroot-2022.02.1/docs/website/images/rockwell-collins-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/rockwell-collins-logo.png rename to buildroot-2022.02.1/docs/website/images/rockwell-collins-logo.png diff --git a/buildroot-2021.05/docs/website/images/scaleway-logo.png b/buildroot-2022.02.1/docs/website/images/scaleway-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/scaleway-logo.png rename to buildroot-2022.02.1/docs/website/images/scaleway-logo.png diff --git a/buildroot-2021.05/docs/website/images/smile-logo.png b/buildroot-2022.02.1/docs/website/images/smile-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/smile-logo.png rename to buildroot-2022.02.1/docs/website/images/smile-logo.png diff --git a/buildroot-2021.05/docs/website/images/synopsys-logo.png b/buildroot-2022.02.1/docs/website/images/synopsys-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/synopsys-logo.png rename to buildroot-2022.02.1/docs/website/images/synopsys-logo.png diff --git a/buildroot-2021.05/docs/website/images/tap2open-logo.png b/buildroot-2022.02.1/docs/website/images/tap2open-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/tap2open-logo.png rename to buildroot-2022.02.1/docs/website/images/tap2open-logo.png diff --git a/buildroot-2021.05/docs/website/images/text.png b/buildroot-2022.02.1/docs/website/images/text.png similarity index 100% rename from buildroot-2021.05/docs/website/images/text.png rename to buildroot-2022.02.1/docs/website/images/text.png diff --git a/buildroot-2021.05/docs/website/images/tkos-logo.png b/buildroot-2022.02.1/docs/website/images/tkos-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/tkos-logo.png rename to buildroot-2022.02.1/docs/website/images/tkos-logo.png diff --git a/buildroot-2021.05/docs/website/images/tux-flat.png b/buildroot-2022.02.1/docs/website/images/tux-flat.png similarity index 100% rename from buildroot-2021.05/docs/website/images/tux-flat.png rename to buildroot-2022.02.1/docs/website/images/tux-flat.png diff --git a/buildroot-2021.05/docs/website/images/xconfig.png b/buildroot-2022.02.1/docs/website/images/xconfig.png similarity index 100% rename from buildroot-2021.05/docs/website/images/xconfig.png rename to buildroot-2022.02.1/docs/website/images/xconfig.png diff --git a/buildroot-2021.05/docs/website/images/zillabit-logo.png b/buildroot-2022.02.1/docs/website/images/zillabit-logo.png similarity index 100% rename from buildroot-2021.05/docs/website/images/zillabit-logo.png rename to buildroot-2022.02.1/docs/website/images/zillabit-logo.png diff --git a/buildroot-2021.05/docs/website/images/zip.png b/buildroot-2022.02.1/docs/website/images/zip.png similarity index 100% rename from buildroot-2021.05/docs/website/images/zip.png rename to buildroot-2022.02.1/docs/website/images/zip.png diff --git a/buildroot-2021.05/docs/website/index.html b/buildroot-2022.02.1/docs/website/index.html similarity index 100% rename from buildroot-2021.05/docs/website/index.html rename to buildroot-2022.02.1/docs/website/index.html diff --git a/buildroot-2021.05/docs/website/js/buildroot.js b/buildroot-2022.02.1/docs/website/js/buildroot.js similarity index 100% rename from buildroot-2021.05/docs/website/js/buildroot.js rename to buildroot-2022.02.1/docs/website/js/buildroot.js diff --git a/buildroot-2022.02.1/docs/website/news.html b/buildroot-2022.02.1/docs/website/news.html new file mode 100644 index 00000000..de80a5f2 --- /dev/null +++ b/buildroot-2022.02.1/docs/website/news.html @@ -0,0 +1,6935 @@ + + + + +
+
+
+ +

News

+
    + +
  • +
    +
    +
    +

    2022.02 released

    +

    8 March 2022

    +
    +
    +

    The stable 2022.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details + and go to the downloads page to pick up the + 2022.02 release.

    + +

    Notice that this is a long term support release which will be + supported with security and other important fixes until March 2023.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2022.02-rc3 released

    +

    28 February 2022

    +
    +
    +

    2022.02-rc3 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2022.02-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.10 released

    +

    28 February 2022

    +
    +
    +

    The 2021.02.10 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.9 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.10 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.11.2 released

    +

    28 February 2022

    +
    +
    +

    The 2021.11.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.11.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.11.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2022.02-rc2 released

    +

    20 February 2022

    +
    +
    +

    2022.02-rc2 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2022.02-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2022.02-rc1 released

    +

    13 February 2022

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see the + CHANGES + file for more details.

    + +

    Go to the downloads page to pick up the + 2022.02-rc1 + release, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.9 released

    +

    29 January 2022

    +
    +
    +

    The 2021.02.9 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.8 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.9 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.11.1 released

    +

    29 January 2022

    +
    +
    +

    The 2021.11.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.11.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.8 released

    +

    14 December 2021

    +
    +
    +

    The 2021.02.8 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.7 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.8 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.08.3 released, 2021.08.x series EOL

    +

    13 December 2021

    +
    +
    +

    The 2021.08.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.08.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.08.3 release.

    + +

    Notice that the 2021.08.x series is now end of life. Please migrate to + the 2021.11 series instead which will be supported until April 2022.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.11 released

    +

    5 December 2021

    +
    +
    +

    The stable 2021.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.11-rc3 released

    +

    30 November 2021

    +
    +
    +

    2021.11-rc3 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2021.11-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.11-rc2 released

    +

    19 November 2021

    +
    +
    +

    2021.11-rc2 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2021.11-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.7 released

    +

    10 November 2021

    +
    +
    +

    The 2021.02.7 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.6 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.7 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.08.2 released

    +

    10 November 2021

    +
    +
    +

    The 2021.08.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.08.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.08.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.11-rc1 released

    +

    8 November 2021

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see the + CHANGES + file for more details.

    + +

    Go to the downloads page to pick up the + 2021.11-rc1 + release, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.6 released

    +

    12 October 2021

    +
    +
    +

    The 2021.02.6 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.5 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.6 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.05.3 released, 2021.05.x series EOL

    +

    12 October 2021

    +
    +
    +

    The 2021.05.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.05.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.05.3 release.

    + +

    Notice that the 2021.05.x series is now end of life. Please migrate to + the 2021.08 series instead which will be supported until December 2021.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.08.1 released

    +

    11 October 2021

    +
    +
    +

    The 2021.08.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.08 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.08.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.5 released

    +

    16 September 2021

    +
    +
    +

    The 2021.02.5 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.4 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.5 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.05.2 released

    +

    15 September 2021

    +
    +
    +

    The 2021.05.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.05.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.05.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.08 released

    +

    4 September 2021

    +
    +
    +

    The stable 2021.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.08-rc3 released

    +

    31 August 2021

    +
    +
    +

    2021.08-rc3 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2021.08-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.08-rc2 released

    +

    18 August 2021

    +
    +
    +

    2021.08-rc2 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2021.08-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.4 released

    +

    11 August 2021

    +
    +
    +

    The 2021.02.4 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.3 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.4 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.05.1 released

    +

    10 August 2021

    +
    +
    +

    The 2021.05.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.05 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.05.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.08-rc1 released

    +

    3 August 2021

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see the + CHANGES + file for more details.

    + +

    Go to the downloads page to pick up the + 2021.08-rc1 + release, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.3 released

    +

    12 June 2021

    +
    +
    +

    The 2021.02.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.05 released

    +

    6 June 2021

    +
    +
    +

    The stable 2021.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.05-rc3 released

    +

    31 May 2021

    +
    +
    +

    2021.05-rc3 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2021.05-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.05-rc2 released

    +

    22 May 2021

    +
    +
    +

    2021.05-rc2 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2021.05-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.2 released

    +

    12 May 2021

    +
    +
    +

    The 2021.02.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.05-rc1 released

    +

    12 May 2021

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see the + CHANGES + file for more details.

    + +

    Go to the downloads page to pick up the + 2021.05-rc1 + release, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02.1 released

    +

    7 April 2021

    +
    +
    +

    The 2021.02.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2021.02 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.12 released, 2020.02.x series EOL

    +

    5 April 2021

    +
    +
    +

    The 2020.02.12 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.12 release.

    + +

    Notice that the 2020.02.x series is now end of life. Please migrate to + the 2021.02 series instead which will be supported until March 2022.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.11.4 released, 2020.11.x series EOL

    +

    5 April 2021

    +
    +
    +

    The 2020.11.4 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.11.3 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.11.4 release.

    + +

    Notice that the 2020.11.x series is now end of life. Please migrate to + the 2021.02 series instead which will be supported until March 2022.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02 released

    +

    6 March 2021

    +
    +
    +

    The stable 2021.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2021.02 release.

    + +

    Notice that this is a long term support release which will be + supported with security and other important fixes until March 2022.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02-rc3 released

    +

    27 February 2021

    +
    +
    +

    2021.02-rc3 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2021.02-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.11 released

    +

    17 February 2021

    +
    +
    +

    The 2020.02.11 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.10 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.11.3 released

    +

    17 February 2021

    +
    +
    +

    The 2020.11.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.11.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.11.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02-rc2 released

    +

    17 February 2021

    +
    +
    +

    2021.02-rc2 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2021.02-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2021.02-rc1 released

    +

    9 February 2021

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see the + CHANGES + file for more details.

    + +

    Go to the downloads page to pick up the + 2021.02-rc1 + release, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.10 released

    +

    31 January 2021

    +
    +
    +

    The 2020.02.10 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.9 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.10 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.11.2 released

    +

    31 January 2021

    +
    +
    +

    The 2020.11.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.11.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.11.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.9 released

    +

    27 December 2020

    +
    +
    +

    The 2020.02.9 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.8 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.9 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.08.3 released, 2020.08.x series EOL

    +

    27 December 2020

    +
    +
    +

    The 2020.08.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.08.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.08.3 release.

    + +

    Notice that the 2020.08.x series is now end of life. Please migrate to + the 2020.11 series instead which will be supported until March 2021.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.11.1 released

    +

    27 December 2020

    +
    +
    +

    The 2020.11.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.11.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.11 released

    +

    2 December 2020

    +
    +
    +

    The stable 2020.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.11-rc3 released

    +

    28 November 2020

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2020.11-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.8 released

    +

    17 November 2020

    +
    +
    +

    The 2020.02.8 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.7 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.8 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.08.2 released

    +

    16 November 2020

    +
    +
    +

    The 2020.08.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.08.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.08.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.11-rc2 released

    +

    14 November 2020

    +
    +
    +

    2020.11-rc2 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2020.11-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.11-rc1 released

    +

    4 November 2020

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see the + CHANGES + file for more details.

    + +

    Go to the downloads page to pick up the + 2020.11-rc1 + release, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.7 released

    +

    12 October 2020

    +
    +
    +

    The 2020.02.7 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.6 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.7 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.05.3 released

    +

    12 October 2020

    +
    +
    +

    The 2020.05.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.05.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.05.3 release.

    + +

    Notice that the 2020.05.x series is now end of life. Please migrate to + the 2020.08 series instead which will be supported until December 2020.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.08.1 released

    +

    12 October 2020

    +
    +
    +

    The 2020.08.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.08 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.08.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.6 released

    +

    5 September 2020

    +
    +
    +

    The 2020.02.6 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.5 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.6 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.08 released

    +

    1 September 2020

    +
    +
    +

    The stable 2020.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.5 released

    +

    29 august 2020

    +
    +
    +

    The 2020.02.5 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.4 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.5 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.05.2 released

    +

    29 August 2020

    +
    +
    +

    The 2020.05.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.05.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.05.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.08-rc3 released

    +

    28 August 2020

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2020.08-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.08-rc2 released

    +

    24 August 2020

    +
    +
    +

    2020.08-rc2 has been released with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2020.08-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.08-rc1 released

    +

    6 August 2020

    +
    +
    +

    The 2020.08-rc1 release candidate is out. It is the first + release candidate for 2020.08, which we aim at releasing end + of August 2020. It contains a number of new packages, new + defconfigs, toolchain improvements, package updates and + more. See + the CHANGES. Go + to the downloads page to pick up the + 2020.08-rc1 + release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.4 released

    +

    26 July 2020

    +
    +
    +

    The 2020.02.4 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.3 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.4 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.05.1 released

    +

    25 July 2020

    +
    +
    +

    The 2020.05.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.05 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.05.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.3 released

    +

    3 June 2020

    +
    +
    +

    The 2020.02.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.05 released

    +

    1 June 2020

    +
    +
    +

    The stable 2020.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.05-rc3 released

    +

    29 May 2020

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2020.05-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.05-rc2 released

    +

    22 May 2020

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2020.05-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.2 released

    +

    12 May 2020

    +
    +
    +

    The 2020.02.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.05-rc1 released

    +

    10 April 2020

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see the + CHANGES + file for more details.

    + +

    Go to the downloads page to pick up the + 2020.05-rc1 + release, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02.1 released

    +

    10 April 2020

    +
    +
    +

    The 2020.02.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2020.02 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.11.3 released, 2019.11.x series EOL

    +

    10 April 2020

    +
    +
    +

    The 2019.11.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.11.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.11.3 release.

    + +

    Notice that the 2019.11.x series is now end of life. Please migrate to + the 2020.02 series instead which will be supported until April 2021.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.11 released, 2019.02.x series EOL

    +

    9 April 2020

    +
    +
    +

    The 2019.02.11 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.10 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.11 release.

    + +

    Notice that the 2019.02.x series is now end of life. Please migrate to + the 2020.02 series instead which will be supported until April 2021.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.10 released

    +

    16 march 2020

    +
    +
    +

    The 2019.02.10 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.9 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.10 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.11.2 released

    +

    16 March 2020

    +
    +
    +

    The 2019.11.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.11.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.11.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02 released

    +

    8 March 2020

    +
    +
    +

    The stable 2020.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2020.02 release.

    + +

    Notice that this is a long term support release which will be + supported with security and other important fixes until March 2021.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02-rc3 released

    +

    2 March 2020

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2020.02-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02-rc2 released

    +

    26 February 2020

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2020.02-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2020.02-rc1 released

    +

    18 February 2020

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2020.02-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.9 released

    +

    12 January 2020

    +
    +
    +

    The 2019.02.9 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.8 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.9 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.11.1 released

    +

    12 January 2020

    +
    +
    +

    The 2019.11.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.11.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.8 released

    +

    7 December 2019

    +
    +
    +

    The 2019.02.8 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.7 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.8 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.08.3 released

    +

    7 December 2019

    +
    +
    +

    The 2019.08.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.08.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.08.3 release.

    + +

    Notice that the 2019.08.x series is now end of life. Please migrate to + the 2019.02 or 2019.11 series instead.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.11 released

    +

    1 December 2019

    +
    +
    +

    The stable 2019.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.11-rc3 released

    +

    24 November 2019

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2019.11-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.11-rc2 released

    +

    16 November 2019

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2019.11-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.7 released

    +

    10 November 2019

    +
    +
    +

    The 2019.02.7 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.6 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.7 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.08.2 released

    +

    9 November 2019

    +
    +
    +

    The 2019.08.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.08.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.08.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.11-rc1 released

    +

    5 November 2019

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2019.11-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.6 released

    +

    4 October 2019

    +
    +
    +

    The 2019.02.6 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.5 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.6 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.05.3 released

    +

    4 October 2019

    +
    +
    +

    The 2019.05.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.05.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.05.3 release.

    + +

    Notice that the 2019.05.x series is now end of life. Please migrate to + the 2019.02 or 2019.08 series instead.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.08.1 released

    +

    4 October 2019

    +
    +
    +

    The 2019.08.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.08 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.08.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.05.2 released

    +

    3 September 2019

    +
    +
    +

    The 2019.05.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.05.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.05.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.5 released

    +

    2 September 2019

    +
    +
    +

    The 2019.02.5 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.4 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.5 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.08 released

    +

    1 September 2019

    +
    +
    +

    The stable 2019.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.08-rc3 released

    +

    28 August 2019

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2019.08-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.08-rc2 released

    +

    20 August 2019

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2019.08-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.08-rc1 released

    +

    9 August 2019

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2019.08-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.4 released

    +

    7 June 2019

    +
    +
    +

    The 2019.02.4 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.4 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.05.1 released

    +

    7 July 2019

    +
    +
    +

    The 2019.05.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.05 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.05.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.3 released

    +

    7 June 2019

    +
    +
    +

    The 2019.02.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.05 released

    +

    2 June 2019

    +
    +
    +

    The stable 2019.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.05-rc3 released

    +

    25 May 2019

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2019.05-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.05-rc2 released

    +

    15 May 2019

    +
    +
    +

    Another week, another release candidate with more cleanups and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2019.05-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.05-rc1 released

    +

    8 May 2019

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details, and read the + announcement. +

    + +

    Head to the downloads page to pick up the + 2019.05-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.2 released

    +

    29 April 2019

    +
    +
    +

    The 2019.02.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02.1 released

    +

    29 March 2019

    +
    +
    +

    The 2019.02.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2019.02 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.12 released, 2018.02.x series EOL

    +

    29 March 2019

    +
    +
    +

    The 2018.02.12 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.12 release.

    + +

    Notice that the 2018.02.x series is now end of life. Please migrate to + the 2019.02 series instead which will be supported until March 2020.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.11.4 released

    +

    28 March 2019

    +
    +
    +

    The 2018.11.4 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.11.3 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.11.4 release.

    + +

    Notice that the 2018.11.x series is now end of life. Please migrate to + the 2019.02 series instead which will be supported until March 2020.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02 released

    +

    4 March 2019

    +
    +
    +

    The stable 2019.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2019.02 release.

    + +

    Notice that this is a long term support release which will be + supported with security and other important fixes until March 2020.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02-rc3 released

    +

    1 March 2019

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2019.02-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.11.3 released

    +

    23 February 2019

    +
    +
    +

    The 2018.11.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.11.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.11.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.11 released

    +

    23 February 2019

    +
    +
    +

    The 2018.02.11 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.10 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02-rc2 released

    +

    23 February 2019

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2019.02-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2019.02-rc1 released

    +

    13 February 2019

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details and read the + announcement. +

    + +

    Head to the downloads page to pick up the + 2019.02-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.10 released

    +

    31 January 2019

    +
    +
    +

    The 2018.02.10 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.9 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.10 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.11.2 released

    +

    30 January 2019

    +
    +
    +

    The 2018.11.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.11.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.11.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.9 released

    +

    20 December 2018

    +
    +
    +

    The 2018.02.9 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.8 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.9 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.08.4 released, 2018.08 series EOL

    +

    20 December 2018

    +
    +
    +

    The 2018.08.4 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.08.3 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.08.4 release.

    +

    Notice that the 2018.08 series is now end of life, please + consider migrating to 2018.11 instead.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.11.1 released

    +

    19 December 2018

    +
    +
    +

    The 2018.11.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.11.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.11 released

    +

    1 December 2018

    +
    +
    +

    The stable 2018.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.11-rc3 released

    +

    30 November 2018

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2018.11-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.8 released

    +

    26 November 2018

    +
    +
    +

    The 2018.02.8 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.7 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.8 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.08.3 released

    +

    26 November 2018

    +
    +
    +

    The 2018.08.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.08.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.08.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.11-rc2 released

    +

    21 November 2018

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2018.11-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.11-rc1 released

    +

    9 November 2018

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details and/or read + the announcement. +

    + +

    Head to the downloads page to pick up the + 2018.11-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.7 released

    +

    25 October 2018

    +
    +
    +

    The 2018.02.7 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.6 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.7 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.08.2 released

    +

    25 October 2018

    +
    +
    +

    The 2018.08.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.08.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.08.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.08.1 released

    +

    7 October 2018

    +
    +
    +

    The 2018.08.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.08 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.08.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.6 released

    +

    7 October 2018

    +
    +
    +

    The 2018.02.6 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.5 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.6 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.05.3 released

    +

    6 October 2018

    +
    +
    +

    The 2018.05.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.05.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.05.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.08 released

    +

    6 September 2018

    +
    +
    +

    The stable 2018.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.08-rc3 released

    +

    31 August 2018

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2018.08-rc3 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.5 released

    +

    29 August 2018

    +
    +
    +

    The 2018.02.5 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.4 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.5 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.05.2 released

    +

    28 August 2018

    +
    +
    +

    The 2018.05.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.05.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.05.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.08-rc2 released

    +

    20 August 2018

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2018.08-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.08-rc1 released

    +

    5 August 2018

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details and/or read + the announcement. +

    + +

    Head to the downloads page to pick up the + 2018.08-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.4 released

    +

    21 July 2018

    +
    +
    +

    The 2018.02.4 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.3 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.4 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.05.1 released

    +

    20 July 2018

    +
    +
    +

    The 2018.05.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.05 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.05.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.3 released

    +

    18 June 2018

    +
    +
    +

    The 2018.02.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.05 released

    +

    1 June 2018

    +
    +
    +

    The stable 2018.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.05-rc3 released

    +

    28 May 2018

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2018.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.05-rc2 released

    +

    22 May 2018

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2018.05-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.05-rc1 released

    +

    9 May 2018

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details and read the + announcement. +

    + +

    Head to the downloads page to pick up the + 2018.05-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.2 released

    +

    4 May 2018

    +
    +
    +

    The 2018.02.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.11 released

    +

    11 April 2018

    +
    +
    +

    The 2017.02.11 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.10 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.11 release.

    +

    Notice that the 2017.02 series is now end of life, so please consider + updating to 2018.02 instead.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02.1 released

    +

    10 April 2018

    +
    +
    +

    The 2018.02.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2018.02 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02 released

    +

    4 March 2018

    +
    +
    +

    The stable 2018.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2018.02 release.

    + +

    Notice that this is a long term support release which will be + supported with security and other important fixes until February 2019.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02-rc3 released

    +

    27 February 2018

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2018.02-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02-rc2 released

    +

    15 February 2018

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2018.02-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2018.02-rc1 released

    +

    5 February 2018

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the + CHANGES + file for details and read the + announcement. +

    + +

    Head to the downloads page to pick up the + 2018.02-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.10 released

    +

    31 January 2018

    +
    +
    +

    The 2017.02.10 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.9 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.10 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.11.2 released

    +

    21 January 2018

    +
    +
    +

    The 2017.11.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.11.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.11.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.9 released

    +

    1 January 2018

    +
    +
    +

    The 2017.02.9 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.8 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.9 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.11.1 released

    +

    31 December 2017

    +
    +
    +

    The 2017.11.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.11.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.11 released

    +

    30 November 2017

    +
    +
    +

    The stable 2017.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.08.2 released

    +

    29 November 2017

    +
    +
    +

    The 2017.08.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.08.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.08.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.8 released

    +

    27 November 2017

    +
    +
    +

    The 2017.02.8 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.7 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.8 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.11-rc2 released

    +

    13 November 2017

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2017.11-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.11-rc1 released

    +

    6 November 2017

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2017.11-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.7 released

    +

    28 October 2017

    +
    +
    +

    The 2017.02.7 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.6 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.7 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.08.1 released

    +

    23 October 2017

    +
    +
    +

    The 2017.08.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.08 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.08.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.6 released

    +

    24 September 2017

    +
    +
    +

    The 2017.02.6 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.5 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.6 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.08 released

    +

    1 September 2017

    +
    +
    +

    The stable 2017.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details + and go to the downloads page to pick up the + 2017.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.08-rc3 released

    +

    23 August 2017

    +
    +
    +

    Another release candidate, on the road to the final 2017.08 + release. A number of fixes and cleanups in various packages + and defconfigs. See + the CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2017.08-rc3 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.08-rc2 released

    +

    11 August 2017

    +
    +
    +

    Another release candidate, on the road to the final 2017.08 + release. A number of fixes and cleanups in various packages + and defconfigs. See + the CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2017.08-rc2 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.08-rc1 released

    +

    2 August 2017

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2017.08-rc1 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.05.2 released

    +

    27 July 2017

    +
    +
    +

    The 2017.05.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.05.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.05.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.5 released

    +

    27 July 2017

    +
    +
    +

    The 2017.02.5 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.4 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.5 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.05.1 released

    +

    4 July 2017

    +
    +
    +

    The 2017.05.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.05 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.05.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.4 released

    +

    4 July 2017

    +
    +
    +

    The 2017.02.4 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.3 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.4 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.3 released

    +

    2 June 2017

    +
    +
    +

    The 2017.02.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.3 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.05 released

    +

    31 May 2017

    +
    +
    +

    The stable 2017.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.05-rc3 released

    +

    30 May 2017

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2017.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.05-rc2 released

    +

    17 May 2017

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2017.05-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.05-rc1 released

    +

    8 May 2017

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2017.05-rc1 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.2 released

    +

    1 May 2017

    +
    +
    +

    The 2017.02.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02.1 released

    +

    4 April 2017

    +
    +
    +

    The 2017.02.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2017.02 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.11.3 released

    +

    10 March 2017

    +
    +
    +

    The 2016.11.3 bugfix release is out, fixing a number of important / + security related issues discovered since the 2016.11.2 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2016.11.3 release.

    +

    Notice that this is the final 2016.11.x release. Users are + urged to migrate to the 2017.02.x series instead.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02 released

    +

    28 February 2017

    +
    +
    +

    The stable 2017.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2017.02 release.

    + +

    Notice that this is a long term support release which will be + supported with security and other important fixes until February 2018.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02-rc3 released

    +

    26 February 2017

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2017.02-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02-rc2 released

    +

    20 February 2017

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see + the CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2017.02-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2017.02-rc1 released

    +

    11 February 2017

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, read + the announcement. +

    + +

    Head to the downloads page to pick up the + 2017.12-rc1 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.11.2 released

    +

    25 January 2017

    +
    +
    +

    The 2016.11.2 bugfix release is out, fixing a number of important / + security related issues discovered since the 2016.11.1 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2016.11.2 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.11.1 released

    +

    29 December 2016

    +
    +
    +

    The 2016.11.1 bugfix release is out, fixing a number of important / + security related issues discovered since the 2016.11 release. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2016.11.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.11 released

    +

    30 November 2016

    +
    +
    +

    The stable 2016.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2016.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.11-rc3 released

    +

    28 November 2016

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2016.11-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.11-rc2 released

    +

    13 November 2016

    +
    +
    +

    We have a new release candidate! Lots of + changes all over the tree, see + the CHANGES + file for details. +

    + +

    Head to the downloads page to pick up the + 2016.11-rc2 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.11-rc1 released

    +

    3 November 2016

    +
    +
    +

    We have a new release candidate! Lots of + changes all over the tree, see + the CHANGES + file for details, read the + announcement. +

    + +

    Head to the downloads page to pick up the + 2016.11-rc1 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.08.1 released

    +

    21 September 2016

    +
    +
    +

    The 2016.08.1 bugfix release is out. This release fixes a + potential entire root filesystem removal issue with the + external toolchain handling discovered since the 2016.08 + release. See the + CHANGES + file for more details, read the + announcement and go to the + downloads page to pick up the + 2016.08.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.08 released

    +

    1 September 2016

    +
    +
    +

    The stable 2016.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2016.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.08-rc3 released

    +

    30 August 2016

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2016.08-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.08-rc2 released

    +

    17 August 2016

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2016.08-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.08-rc1 released

    +

    6 August 2016

    +
    +
    +

    We have a new release candidate! Lots of + changes all over the tree, see + the CHANGES + file for details and read the + announcement +

    + +

    Head to the downloads page to pick up the + 2016.08-rc1 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.05 released

    +

    1 March 2016

    +
    +
    +

    The stable 2016.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2016.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.05-rc3 released

    +

    26 May 2016

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2016.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.05-rc2 released

    +

    17 May 2016

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2016.05-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.05-rc1 released

    +

    10 May 2016

    +
    +
    +

    We have a new release candidate! Lots of + changes all over the tree, see + the CHANGES + file for details and read the + announcement. +

    + +

    Head to the downloads page to pick up the + 2016.05-rc1 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.02 released

    +

    1 March 2016

    +
    +
    +

    The stable 2016.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2016.02 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.02-rc3 released

    +

    27 February 2016

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2016.02-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.02-rc2 released

    +

    18 February 2016

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2016.02-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2016.02-rc1 released

    +

    10 February 2016

    +
    +
    +

    We have a new release candidate! Lots of + changes all over the tree, see + the CHANGES + file for details and read the + announcement. +

    + +

    Head to the downloads page to pick up the + 2016.02-rc1 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.11.1 released

    +

    5 December 2015

    +
    +
    +

    The 2015.11.1 bugfix release is out - Thanks to everyone + contributing. This release fixes critical issues discovered + since the 2015.11 release. See the + CHANGES + file for more details, and go to the + downloads page to pick up the + 2015.11.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.11 released

    +

    30 November 2015

    +
    +
    +

    The stable 2015.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2015.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.11-rc3 released

    +

    26 November 2015

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2015.11-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.11-rc2 released

    +

    19 November 2015

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See the + CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2015.11-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.11-rc1 released

    +

    7 November 2015

    +
    +
    +

    We have a new release candidate! Lots of + changes all over the tree, see + the CHANGES + file for details. See also + the announcement + e-mail.

    + +

    Head to the downloads page to pick up the + 2015.11-rc1 + release candidate, and report any + problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.08.1 released

    +

    6 September 2015

    +
    +
    +

    The 2015.08.1 bugfix release is out - Thanks to everyone + contributing. This release fixes critical issues discovered since + the 2015.08 release. See the + CHANGES + file for more details, + and go to the downloads page to pick up the + 2015.08.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.08 released

    +

    31 August 2015

    +
    +
    +

    The stable 2015.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2015.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.08-rc2 released

    +

    24 August 2015

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see + the CHANGES + file for details, and + the release + announcement.

    + +

    Head to the downloads page to pick up the + 2015.08-rc2 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.08-rc1 released

    +

    5 August 2015

    +
    +
    +

    We have a new release candidate! Lots of changes all over the tree, see + the CHANGES + file for details, read + the announcement.

    + +

    Head to the downloads page to pick up the + 2015.08-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.05 released

    +

    31 May 2015

    +
    +
    +

    The stable 2015.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2015.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.05-rc3 released

    +

    22 May 2015

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up + the 2015.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.05-rc2 released

    +

    11 May 2015

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up the + 2015.05-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.05-rc1 released

    +

    4 May 2015

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2015.05-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.02 released

    +

    1 March 2015

    +
    +
    +

    The stable 2015.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2015.02 release.

    +
    +
    +
  • + + +
  • +
    +
    +
    +

    2015.02-rc3 released

    +

    24 February 2015

    +
    +
    +

    Release candidate 3 is out with more cleanups and security + / build fixes. See + the CHANGES + file for details.

    +

    Head to the downloads page to + pick up the + 2015.02-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.02-rc2 released

    +

    15 February 2015

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2015.02-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2015.02-rc1 released

    +

    8 February 2015

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2015.02-rc1 + release candidate, and report any problems found to + the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.11 released

    +

    1 December 2014

    +
    +
    +

    The stable 2014.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, + and go to the downloads page to pick up the + 2014.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.11-rc3 released

    +

    28 November 2014

    +
    +
    +

    Release candidate 3 is out with more cleanups and build + fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to + pick up the + 2014.11-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.11-rc2 released

    +

    21 November 2014

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2014.11-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Report from Buildroot Developers Meeting

    +

    13 November 2014

    +
    +
    +

    A report from the recent + + Buildroot Developers Meeting is now + available.

    + +

    Once again, thanks to all the participants and to + Mind for sponsoring the event.

    + +

    The next Developer Days will take place on February 2nd and + 3rd in Brussels, Belgium, right + after FOSDEM. See + the wiki + for more details.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.11-rc1 released

    +

    12 November 2014

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2014.11-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.08 released

    +

    1 September 2014

    +
    +
    +

    The stable 2014.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2014.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.08-rc3 released

    +

    26 August 2014

    +
    +
    +

    Release candidate 3 is out with more cleanups and build + fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2014.08-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.08-rc2 released

    +

    18 August 2014

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2014.08-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.08-rc1 released

    +

    8 August 2014

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2014.08-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.05 released

    +

    31 May 2014

    +
    +
    +

    The stable 2014.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2014.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.05-rc3 released

    +

    28 May 2014

    +
    +
    +

    Release candidate 3 is out with more cleanups and build + fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2014.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.05-rc2 released

    +

    21 May 2014

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to + pick up the + 2014.05-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.05-rc1 released

    +

    13 May 2014

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2014.05-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    27 February 2014

    +

    2014.02 released

    +
    +
    +

    The stable 2014.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, + and go to the downloads page to pick up the + 2014.02 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    25 February 2014

    +

    2014.02-rc3 released

    +
    +
    +

    Release candidate 3 is out with more cleanups and build + fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2014.02-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    20 February 2014

    +

    2014.02-rc2 released

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2014.02-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2014.02-rc1 released

    +

    11 February 2014

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2014.02-rc1 + release candidate, and report any problems found to the + mailing list or + bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    9 February 2014

    +

    Report from Buildroot Developers Meeting

    +
    +
    +

    A report from the recent + + Buildroot Developers Meeting is now + available.

    + +

    Once again, thanks to all the participants and to + Google and + Mind for sponsoring the event.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Upcoming Buildroot Developers meeting

    +

    30 January 2014

    +
    +
    +

    The upcoming Buildroot Developers meeting will take place in + Brussels on February, 3rd and 4th, after the + FOSDEM conference. Additional + details about the meeting can be found on the corresponding + + wiki page.

    + +

    Persons not able to join the meeting in Brussels can participate + remotely using Google Hangouts. Simply give your Google address to + thomas.petazzoni@free-electrons.com.

    + +

    This meeting is sponsored by + Google (for the meeting room) + and Mind (for the dinner). + Thanks to our sponsors!

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.11 released

    +

    30 November 2013

    +
    +
    +

    The stable 2013.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the announcement + and go to the downloads page to pick up the + 2013.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Slides from Embedded Linux Conference Europe

    +

    30 November 2013

    +
    +
    +

    The slides from the Buildroot presentation at the recent + Embedded Linux Conference Europe 2013 + are now + available.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.11-rc3 released

    +

    18 November 2013

    +
    +
    +

    Another week, another release candidate with more + fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.11-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.11-rc2 released

    +

    18 November 2013

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.11-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Announcement of the next Buildroot Developer Days

    +

    13 November 2013

    +
    +
    +

    The next Buildroot Developer Days meeting will take + place on Monday 3rd and Tuesday 4th February 2014 in Brussels, + Belgium - Just after + FOSDEM (February + 1st/2nd). This two days meeting is mainly open to Buildroot + developers and contributors, or Buildroot users having a prior + experience with the tool. It will allow developers to work on + Buildroot and discuss current issues, the future directions, and + more.

    + +

    In addition to the Buildroot event, we encourage embedded Linux + developers to propose talks for the Embedded and Mobile Developer + Room at FOSDEM. See + the CFP.

    + +

    We would like to thank our + sponsor Google for sponsoring + the event by providing all the needed logistics.

    + +

    For more details, see the + wiki + page dedicated to the meeting.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.11-rc1 released

    +

    12 November 2013

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2013.11-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Report from Buildroot Developers Meeting

    +

    11 November 2013

    +
    +
    +

    A report from the recent + + Buildroot Developers Meeting is now + available.

    + +

    Once again, thanks to all the participants and to + Imagination Technologies + for sponsoring the event.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.08.1 released

    +

    17 September 2013

    +
    +
    +

    The 2013.08.1 bugfix release is out - Thanks to everyone + contributing. This release fixes critical issues discovered since + the 2013.08 release. See the + CHANGES + file for more details, + and go to the downloads page to pick up the + 2013.08.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Buildroot Developer Days

    +

    16 September 2013

    +
    +
    +

    The next Buildroot Developer Days meeting will take + place on Saturday October 26th and Sunday October 27th 2013 in + Edinburgh, UK - Just after the + Embedded Linux Conference Europe (October 23th-24th). This two + days meeting is mainly open to Buildroot developers and + contributors, or Buildroot users having a prior experience with + the tool. It will allow developers to work on Buildroot and + discuss current issues, the future directions, and more.

    + +

    For more details, see the + wiki + page dedicated to the meeting.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.08 released

    +

    31 August 2013

    +
    +
    +

    The stable 2013.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the announcement + and go to the downloads page to pick up the + 2013.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.08-rc3 released

    +

    29 August 2013

    +
    +
    +

    Another week, another release candidate with more cleanups and + build fixes. See the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.08-rc3 + release candidate, and report any problems found to the mailing list or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.08-rc2 released

    +

    16 August 2013

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.08-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.08-rc1 released

    +

    5 August 2013

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.08-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.05 released

    +

    31 May 2013

    +
    +
    +

    The stable 2013.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2013.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.05-rc3 released

    +

    25 May 2013

    +
    +
    +

    Another week, another release candidate with more cleanups and + build fixes. See the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.05-rc2 released

    +

    15 May 2013

    +
    +
    +

    Another week, another release candidate with more cleanups and + build fixes. See the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.05-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.05-rc1 released

    +

    8 May 2013

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2013.05-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.02 released

    +

    28 February 2013

    +
    +
    +

    The stable 2013.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details + and go to the downloads page to pick up the + 2013.02 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.02-rc3 released

    +

    26 February 2013

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.02-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.02-rc2 released

    +

    19 February 2013

    +
    +
    +

    Another week, another release candidate with more cleanups and + build fixes. See the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2013.02-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2013.02-rc1 released

    +

    10 February 2013

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2013.02-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Report from Buildroot Developers Meeting

    +

    10 February 2013

    +
    +
    +

    A report from the recent Buildroot Developers Meeting is now + available. + Embedded Linux News also has a + + writeup about the event, including photos.

    + +

    Once again, thanks to all the participants and to + Google for sponsoring the event.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Next Buildroot Developers Meeting next to FOSDEM, Brussels

    +

    12 January 2013

    +
    +
    +

    The next Buildroot Developers Meeting will take place on Monday + 4th February 2013 and Tuesday 5th February 2013 in Brussels, + Belgium. Those dates have been chosen to immediately follow the + great FOSDEM conference.

    + +

    Attending this meeting is free, after registration by + contacting Thomas + Petazzoni. For more details about the meeting, please see + the related + Wiki page.

    + +

    We would like to + thank Google for providing the + meeting location and the Internet connection, and offering free + lunch and refreshments to the participants.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.11.1 released

    +

    3 January 2013

    +
    +
    +

    The 2012.11.1 bugfix release is out - Thanks to everyone + contributing. This release fixes critical issues discovered since + the 2012.11 release, most importantly with non-largefile builds on + recent Ubuntu versions. See the + CHANGES + file for more details, + and go to the downloads page to pick up the + 2012.11.1 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.11 released

    +

    2 December 2012

    +
    +
    +

    The stable 2012.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details + and go to the downloads page to pick up the + 2012.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.11-rc2 released

    +

    30 November 2012

    +
    +
    +

    RC2 is out with more bugfixes - See + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2012.11-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.11-rc1 released

    +

    17 November 2012

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2012.11-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Buildroot Developer Day

    +

    17 November 2012

    +
    +
    +

    A report from the recent Buildroot Developer Days + meeting in Barcelona, Spain is + now available. + Many thanks to all the participants, and a special thanks to + Arnout Vandecappelle from mind + for taking notes and Thomas Petazzoni + from Free Electrons + for handling all the practical arrangements, and naturally + our sponsors, Fluendo + and Synopsis. +

    +

    The next Developer Days will take place on February 4th and + 5th in Brussels, Belgium, right + after FOSDEM.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.08 released

    +

    31 August 2012

    +
    +
    +

    The stable 2012.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details and go to the downloads page to pick up the + 2012.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.08-rc3 released

    +

    25 August 2012

    +
    +
    +

    We have a new release candidate! Various fixes, and + addition of licensing informations on many + packages. See CHANGES + file for details

    + +

    Head to the downloads page to pick up the + 2012.08-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.08-rc2 released

    +

    15 August 2012

    +
    +
    +

    We have a new release candidate! Various fixes, and addition + of licensing informations on many + packages. See CHANGES + file for details

    + +

    Head to the downloads page to pick up the + 2012.08-rc2 + release candidate, and report any problems found to the mailing list or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.08-rc1 released

    +

    1 August 2012

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details

    + +

    Head to the downloads page to pick up the + 2012.08-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Buildroot Developer Day

    +

    22 July 2012

    +
    +
    +

    The next Buildroot Developer Day meeting will take place + on Saturday November 3th and Sunday November 4th 2012 in + Barcelona, Spain, just before + the Embedded + Linux Conference Europe (November 5th-7th). This two days + meeting is mainly opened to Buildroot developers and contributors, + or Buildroot users having a prior experience with the tool. This + meeting will allow developers to work and Buildroot, and discuss + current issues, the future directions, and more.

    + +

    For more details, see + the wiki + page dedicated to the meeting.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.05 released

    +

    30 May 2012

    +
    +
    +

    The stable 2012.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2012.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.05-rc3 released

    +

    25 May 2012

    +
    +
    +

    RC3 is out with more bugfixes - See + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2012.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.05-rc2 released

    +

    18 May 2012

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2012.05-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.05-rc1 released

    +

    10 May 2012

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2012.05-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Autobuilder Results Online

    +

    20 April 2012

    +
    +
    +

    The status of the autobuilders, which do repeated + randpackageconfig builds for continuous + integration testing, is now online + at autobuild.buildroot.org. The + code behind it can be found + in git.

    + +

    Thanks to Thomas Petazzoni for running the web interface, and + to The GCC Compile + Farm and Free + Electrons for hosting builders. Thomas also sends out a daily + summary of the build status to the mailing list.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.02 released

    +

    29 February 2012

    +
    +
    +

    The stable 2012.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2012.02 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.02-rc3 released

    +

    27 February 2012

    +
    +
    +

    RC3 is out with more bugfixes - See + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2012.02-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.02-rc2 released

    +

    19 February 2012

    +
    +
    +

    Another week, another release candidate with more cleanups + and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2012.02-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2012.02-rc1 released

    +

    12 February 2012

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, and read the + announcement.

    + +

    Head to the downloads page to pick up the + 2012.02-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Buildroot Developer Day

    +

    31 January 2012

    +
    +
    +

    Another Buildroot Developer Day will take place on + Friday, February 3rd in Brussels, Belgium - The day + before FOSDEM. See the + announcement + or + the Free + Electrons blog for more info.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.11 released

    +

    30 November 2011

    +
    +
    +

    The stable 2011.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2011.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.11-rc3 released

    +

    26 November 2011

    +
    +
    +

    RC3 is out with more bugfixes - See + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2011.11-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.11-rc2 released

    +

    18 November 2011

    +
    +
    +

    Another week, another release candidate with a bunch of + cleanups and build fixes. See + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2011.11-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.11-rc1 released

    +

    11 November 2011

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, and read the + announcement + +

    Head to the downloads page to pick up the + 2011.11-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.08 released

    +

    31 August 2011

    +
    +
    +

    The stable 2011.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, and go to the downloads page to pick up the + 2011.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.08-rc2 released

    +

    29 August 2011

    +
    +
    +

    RC2 is out with more bugfixes. See + the CHANGES + file for details, and read the + announcement. + +

    Head to the downloads page to pick up the + 2011.08-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.08-rc1 released

    +

    4 August 2011

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, and read the + announcement. + +

    Head to the downloads page to pick up the + 2011.08-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.05 released

    +

    27 May 2011

    +
    +
    +

    The stable 2011.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, and go to the downloads page to pick up the + 2011.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.05-rc2 released

    +

    24 May 2011

    +
    +
    +

    RC2 is out with more bugfixes. See + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2011.05-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.05-rc1 released

    +

    18 May 2011

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, and read the + announcement. + +

    Head to the downloads page to pick up the + 2011.05-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.02 released

    +

    28 February 2011

    +
    +
    +

    The stable 2011.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2011.02 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.02-rc2 released

    +

    24 February 2011

    +
    +
    +

    RC2 is out with more cleanups and bugfixes, see + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2011.02-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2011.02-rc1 released

    +

    14 February 2011

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, and read the + announcement. + +

    Head to the downloads page to pick up the + 2011.02-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.11 released

    +

    30 November 2010

    +
    +
    +

    The stable 2010.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2010.11 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.11-rc2 released

    +

    25 November 2010

    +
    +
    +

    RC2 is out with more cleanups and bugfixes, see + the CHANGES + file for details.

    + +

    Head to the downloads page to pick up the + 2010.11-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.11-rc1 released

    +

    8 November 2010

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details, and read the + announcement. + +

    Head to the downloads page to pick up the + 2010.11-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Buildroot Developer Day

    +

    28 September 2010

    +
    +
    +

    A Buildroot Developer Day will take place on + Friday, October 29th in Cambridge, UK - Just the day after the + Embedded + Linux Conference Europe. This Developer Day + aims at allowing Buildroot developers to meet and exchange + ideas on the project and its future. See the + announcement + for more info.

    + +

    Thanks to Thomas Petazzoni for taking care of the practical + arrangements.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.08 released

    +

    31 August 2010

    +
    +
    +

    The stable 2010.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2010.08 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.08-rc2 released

    +

    30 August 2010

    +
    +
    +

    RC2 is out with more cleanups and bugfixes, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2010.08-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    + + This is very much expected to be the final release candidate, + so give it a good test and expect a final 2010.08 release + before September unless critical issues are found.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.08-rc1 released

    +

    30 July 2010

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2010.08-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.05 released

    +

    30 May 2010

    +
    +
    +

    The stable 2010.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, read the + announcement + and go to the downloads page to pick up the + 2010.05 release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.05-rc3 released

    +

    27 May 2010

    +
    +
    +

    RC3 is out with more cleanups and bugfixes, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2010.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.05-rc2 released

    +

    11 May 2010

    +
    +
    +

    Another week, another release candidate with a bunch of + cleanups and build fixes.

    + +

    Head to the downloads page to pick up the + 2010.05-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.05-rc1 released

    +

    3 May 2010

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2010.05-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    FOSDEM slides online

    +

    2 May 2010

    +
    +
    +

    The slides from + the Cross + Build Systems: Present & Future session + at FOSDEM are + now online. +

    +
    +
  • + +
  • +
    +
    +
    +

    2010.02 released

    +

    26 February 2010

    +
    +
    +

    The stable 2010.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + CHANGES + file for more details, and go to + the downloads page to pick up + the 2010.02 + release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.02-rc2 released

    +

    23 February 2010

    +
    +
    +

    RC2 is out with more cleanups and bugfixes, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2010.02-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2010.02-rc1 released

    +

    9 February 2010

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2010.02-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.11 released

    +

    1 December 2009

    +
    +
    +

    The stable 2009.11 release is out - Thanks to everyone + contributing and testing the release candidates. See the + announcement + or CHANGES + for more details, and go to the downloads page + to pick up the 2009.11 + release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.11-rc2 released

    +

    29 November 2009

    +
    +
    +

    RC2 is out with more cleanups and bugfixes, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2009.11-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.11-rc1 released

    +

    23 November 2009

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2009.11-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    First Buildroot Developer Day

    +

    7 September 2009

    +
    +
    +

    The first Buildroot Developer Day will take place on + Saturday, October 17th in Grenoble, France, just the day after + Embedded Linux Conference Europe. This Developer Day aims + at allowing Buildroot developers to meet and exchange ideas on the + project and its future.

    + +

    As the number of places is limited, interested candidates are + invited to send an e-mail to Peter Korsgaard (jacmet at + uclibc dot org) and Thomas Petazzoni (thomas dot + petazzoni at free-electrons dot com).

    + +

    This Developer Day will take place thanks to the + sponsoring of Calao + Systems and Free + Electrons.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.08 released

    +

    31 August 2009

    +
    +
    +

    The stable 2009.08 release is out - Thanks to everyone + contributing and testing the release candidates. See the + announcement + or CHANGES + for more details, and go to the downloads page + to pick up the 2009.08 + release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.08-rc3 released

    +

    26 August 2009

    +
    +
    +

    A number of bugfixes have been added to the tree since RC2 + (especially thanks to Thomas Petazzoni) - See + the CHANGES + file for details. This is very much expected to be the final + release candidate, so give it a good test and expect a final + 2009.08 release next weekend unless critical issues are + found.

    + +

    Head to the downloads page to + pick up the + 2009.08-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.08-rc2 released

    +

    6 August 2009

    +
    +
    +

    RC2 is out with more cleanups and bugfixes, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2009.08-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.08-rc1 released

    +

    2 August 2009

    +
    +
    +

    We have a new release candidate! Lots of changes all over + the tree, see + the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2009.08-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.05 released

    +

    1 June 2009

    +
    +
    +

    The stable 2009.05 release is out - Thanks to everyone + contributing and testing the release candidates. See the + announcement + or CHANGES + for more details, and go to the downloads page + to pick up the 2009.05 + release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.05-rc3 released

    +

    27 May 2009

    +
    +
    +

    We had a number of fixes post-RC2, so RC3 is out + (see CHANGES + for details). Now is the moment to test and verify that + everything is working for your favorite config - Expect a + final 2009.05 very soon.

    + +

    Head to the downloads page to pick up the + 2009.05-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.05-rc2 released

    +

    19 May 2009

    +
    +
    +

    RC2 is out with more cleanups and bug fixes + (see CHANGES). + Unless big issues are found, expect this to be the last + release candidate before the release - So give it a good + test.

    + +

    Head to the downloads page to pick up the + 2009.05-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Buildroot.org

    +

    14 May 2009

    +
    +
    +

    Earl Levine has been so kind to donate + the buildroot.org domain to us, so the website can + now also be reached + at www.buildroot.org + (and git at + git.buildroot.org). + + Thanks a lot Earl!

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.05-rc1 released

    +

    5 May 2009

    +
    +
    +

    We have a new release candidate! Lots of changes all over the + tree, see the CHANGES + file for details. + +

    Head to the downloads page to pick up the + 2009.05-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Moved to git

    +

    3 May 2009

    +
    +
    +

    We've moved the source code + from Subversion + to Git. You can browse the + repo online + here, and clone + the repo using: +

    git clone git://git.buildroot.net/buildroot
    + See the Git Access page for more details. +

    +
    +
    +
  • + +
  • +
    +
    +
    +

    +

    27 March 2009

    +

    +
    +

    We have a logo! We have so + far been using the Busybox + logo on the website, as the website was a copy of + the Busybox one - But not + anymore, we now have a shiny new logo of our own.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.02 released

    +

    12 February 2009

    +
    +
    +

    The stable 2009.02 release is out - Thanks to everyone + contributing and testing the release candidates. See the + announcement + for more details, and go to the downloads page + to pick up the 2009.02 + release.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.02-rc4 released

    +

    9 February 2009

    +
    +
    +

    We had more than 50 changes since RC3, several of them + toolchain related, so decided to make a RC4 as well. This is + very much expected to be the final release candidate, so + give it a good test and expect a final 2009.02 release this + week unless critical issues are found.

    + +

    Head to the downloads page to + pick up the + 2009.02-rc4 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.02-rc3 released

    +

    31 January 2009

    +
    +
    +

    RC3 is out with more cleanups and bug fixes. Unless big + issues are found, expect this to be the last release + candidate before the release - So give it a good test.

    + +

    Head to the downloads page to + pick up the + 2009.02-rc3 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    2009.02-rc2 released

    +

    23 January 2009

    +
    +
    +

    Another week, another release candidate with a bunch of + cleanups and build fixes.

    +

    Head to the downloads page to + pick up the + 2009.02-rc2 + release candidate, and report any problems found to + the mailing list + or bug tracker.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Release candidate and new maintainer

    +

    16 January 2009

    +
    +
    + +

    It has been a long time coming, but we finally have a new + release candidate! - And a new maintainer to match (Peter + Korsgaard).

    + +

    Head to the downloads page to + pick up the + 2009.02-rc1 + release candidate, and report any problems found to + the mailing list + or bug tracker. The + plan is to release 2009.02 in time + for FOSDEM.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Buildroot mailing list

    +

    16 July 2006

    +
    +
    +

    Buildroot now has its own mailing list.

    +
    +
    +
  • + +
  • +
    +
    +
    +

    Buildroot webpage added

    +

    21 February 2005

    + +

    Buildroot is a set of Makefiles and patches that makes it easy generate a + cross-compilation toolchain and root filesystem for your target Linux + system using the uClibc C library. + Buildroot is useful mainly for people working with small or embedded + systems. Embedded systems often use processors that are not the regular + x86 processors everyone is used to using on their PC. It can be PowerPC + processors, MIPS processors, ARM processors, etc. And to be extra safe, + you do not need to be root to build or run buildroot.

    + +

    And as of today buildroot even has its own webpage, making it a first class + citizen of uclibc.org and busybox.net, and more importantly, make it easy + to find and point to buildroot.

    + +

    If you find a bug in buildroot, or wish to submit a patch + to fix a problem or add a shiny new feature, please use + the Bug and Patch + Tracking System to post the details, to make certain + your work is not lost

    +
    +
    +
  • +
+ +
+
+
+ + + diff --git a/buildroot-2021.05/docs/website/robots.txt b/buildroot-2022.02.1/docs/website/robots.txt similarity index 100% rename from buildroot-2021.05/docs/website/robots.txt rename to buildroot-2022.02.1/docs/website/robots.txt diff --git a/buildroot-2021.05/docs/website/sponsors.html b/buildroot-2022.02.1/docs/website/sponsors.html similarity index 100% rename from buildroot-2021.05/docs/website/sponsors.html rename to buildroot-2022.02.1/docs/website/sponsors.html diff --git a/buildroot-2022.02.1/docs/website/support.html b/buildroot-2022.02.1/docs/website/support.html new file mode 100644 index 00000000..90231f60 --- /dev/null +++ b/buildroot-2022.02.1/docs/website/support.html @@ -0,0 +1,124 @@ + + +
+
+
+ +
+
Support
+
+

You can get support for Buildroot through three main channels:

+ +
+
+
+
IRC
+
+
+
+ +
+
+

The Buildroot IRC channel is + #buildroot, hosted on OFTC. If you do not have an IRC client, you can + use the OFTC web interface. + When asking for help on IRC, share relevant logs or pieces of code using a code + sharing website.

+ +

Note that due to excessive spamming on IRC, the channel can only be + joined if you are a registered user with + OFTC NickServ + service. Follow the instructions to register as a user with a password, + and then join the #buildroot channel.

+
+
+
+
+
+ +
+
+
Mailing List Information
+
+
+
+ +
+
+

The mailing list is for discussion and + development. You can subscribe by visiting + this + page. Only subscribers to the Buildroot + mailing list are allowed to post to this + list. Archives are available + from Mailman + and lore.kernel.org. + +

Search the List Archives

+

Please search the mailing list archives before asking questions on the mailing + list, since there is a good chance someone else has asked the same question + before.

+ +
+ + +
+
+
+
+
+
+ +
+
+
Bug Tracker
+
+
+
+ +
+
+

If you think you found a bug in Buildroot, you can use the + Bug Tracker to post your bugs and/or + participate to find solutions to existing problems.

+ +

Note: patches are only accepted through the mailing list.

+
+
+
+
+
+
+
+
+ +
+
Commercial support
+
+

In addition, the following companies are able to provide commercial + support. Only companies heavily involved in Buildroot maintenance and + community are listed here.

+ +
+
+
+ + + + + + + + + +
+
+
+
+
+ +
+
+
+ + diff --git a/buildroot-2022.02.1/fs/Config.in b/buildroot-2022.02.1/fs/Config.in new file mode 100644 index 00000000..eee5e26b --- /dev/null +++ b/buildroot-2022.02.1/fs/Config.in @@ -0,0 +1,22 @@ +menu "Filesystem images" + +source "fs/axfs/Config.in" +source "fs/btrfs/Config.in" +source "fs/cloop/Config.in" +source "fs/cpio/Config.in" +source "fs/cramfs/Config.in" +source "fs/erofs/Config.in" +source "fs/ext2/Config.in" +source "fs/f2fs/Config.in" +source "fs/initramfs/Config.in" +source "fs/iso9660/Config.in" +source "fs/jffs2/Config.in" +source "fs/oci/Config.in" +source "fs/romfs/Config.in" +source "fs/squashfs/Config.in" +source "fs/tar/Config.in" +source "fs/ubi/Config.in" +source "fs/ubifs/Config.in" +source "fs/yaffs2/Config.in" + +endmenu diff --git a/buildroot-2021.05/fs/axfs/Config.in b/buildroot-2022.02.1/fs/axfs/Config.in similarity index 100% rename from buildroot-2021.05/fs/axfs/Config.in rename to buildroot-2022.02.1/fs/axfs/Config.in diff --git a/buildroot-2021.05/fs/axfs/axfs.mk b/buildroot-2022.02.1/fs/axfs/axfs.mk similarity index 100% rename from buildroot-2021.05/fs/axfs/axfs.mk rename to buildroot-2022.02.1/fs/axfs/axfs.mk diff --git a/buildroot-2021.05/fs/btrfs/Config.in b/buildroot-2022.02.1/fs/btrfs/Config.in similarity index 100% rename from buildroot-2021.05/fs/btrfs/Config.in rename to buildroot-2022.02.1/fs/btrfs/Config.in diff --git a/buildroot-2021.05/fs/btrfs/btrfs.mk b/buildroot-2022.02.1/fs/btrfs/btrfs.mk similarity index 100% rename from buildroot-2021.05/fs/btrfs/btrfs.mk rename to buildroot-2022.02.1/fs/btrfs/btrfs.mk diff --git a/buildroot-2021.05/fs/cloop/Config.in b/buildroot-2022.02.1/fs/cloop/Config.in similarity index 100% rename from buildroot-2021.05/fs/cloop/Config.in rename to buildroot-2022.02.1/fs/cloop/Config.in diff --git a/buildroot-2021.05/fs/cloop/cloop.mk b/buildroot-2022.02.1/fs/cloop/cloop.mk similarity index 100% rename from buildroot-2021.05/fs/cloop/cloop.mk rename to buildroot-2022.02.1/fs/cloop/cloop.mk diff --git a/buildroot-2022.02.1/fs/common.mk b/buildroot-2022.02.1/fs/common.mk new file mode 100644 index 00000000..37eafac4 --- /dev/null +++ b/buildroot-2022.02.1/fs/common.mk @@ -0,0 +1,229 @@ +# +# Macro that builds the needed Makefile target to create a root +# filesystem image. +# +# The following variable must be defined before calling this macro +# +# ROOTFS_$(FSTYPE)_CMD, the command that generates the root +# filesystem image. A single command is allowed. The filename of the +# filesystem image that it must generate is $$@. +# +# The following variables can optionaly be defined +# +# ROOTFS_$(FSTYPE)_DEPENDENCIES, the list of dependencies needed to +# build the root filesystem (usually host tools) +# +# ROOTFS_$(FSTYPE)_PRE_GEN_HOOKS, a list of hooks to call before +# generating the filesystem image +# +# ROOTFS_$(FSTYPE)_POST_GEN_HOOKS, a list of hooks to call after +# generating the filesystem image +# +# In terms of configuration option, this macro assumes that the +# BR2_TARGET_ROOTFS_$(FSTYPE) config option allows to enable/disable +# the generation of a filesystem image of a particular type. If +# the configuration options BR2_TARGET_ROOTFS_$(FSTYPE)_GZIP, +# BR2_TARGET_ROOTFS_$(FSTYPE)_BZIP2 or +# BR2_TARGET_ROOTFS_$(FSTYPE)_LZMA exist and are enabled, then the +# macro will automatically generate a compressed filesystem image. + +FS_DIR = $(BUILD_DIR)/buildroot-fs +ROOTFS_DEVICE_TABLES = $(call qstrip,$(BR2_ROOTFS_DEVICE_TABLE) \ + $(BR2_ROOTFS_STATIC_DEVICE_TABLE)) + +ROOTFS_USERS_TABLES = $(call qstrip,$(BR2_ROOTFS_USERS_TABLES)) + +ROOTFS_FULL_DEVICES_TABLE = $(FS_DIR)/full_devices_table.txt +ROOTFS_FULL_USERS_TABLE = $(FS_DIR)/full_users_table.txt + +ROOTFS_COMMON_NAME = rootfs-common +ROOTFS_COMMON_TYPE = rootfs +ROOTFS_COMMON_DEPENDENCIES = \ + host-fakeroot host-makedevs \ + $(BR2_TAR_HOST_DEPENDENCY) \ + $(if $(PACKAGES_USERS)$(ROOTFS_USERS_TABLES),host-mkpasswd) + +ifeq ($(BR2_REPRODUCIBLE),y) +define ROOTFS_REPRODUCIBLE + find $(TARGET_DIR) -print0 | xargs -0 -r touch -hd @$(SOURCE_DATE_EPOCH) +endef +endif + +ifeq ($(BR2_PACKAGE_REFPOLICY),y) +define ROOTFS_SELINUX + $(HOST_DIR)/sbin/setfiles -m -r $(TARGET_DIR) \ + -c $(TARGET_DIR)/etc/selinux/targeted/policy/policy.$(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION) \ + $(TARGET_DIR)/etc/selinux/targeted/contexts/files/file_contexts \ + $(TARGET_DIR) +endef +ROOTFS_COMMON_DEPENDENCIES += host-policycoreutils +endif + +ROOTFS_COMMON_FINAL_RECURSIVE_DEPENDENCIES = $(sort \ + $(if $(filter undefined,$(origin ROOTFS_COMMON_FINAL_RECURSIVE_DEPENDENCIES__X)), \ + $(eval ROOTFS_COMMON_FINAL_RECURSIVE_DEPENDENCIES__X := \ + $(foreach p, \ + $(ROOTFS_COMMON_DEPENDENCIES), \ + $(p) \ + $($(call UPPERCASE,$(p))_FINAL_RECURSIVE_DEPENDENCIES) \ + ) \ + ) \ + ) \ + $(ROOTFS_COMMON_FINAL_RECURSIVE_DEPENDENCIES__X)) + +.PHONY: rootfs-common +rootfs-common: $(ROOTFS_COMMON_DEPENDENCIES) target-finalize + @$(call MESSAGE,"Generating root filesystems common tables") + rm -rf $(FS_DIR) + mkdir -p $(FS_DIR) + + $(call PRINTF,$(PACKAGES_USERS)) >> $(ROOTFS_FULL_USERS_TABLE) +ifneq ($(ROOTFS_USERS_TABLES),) + cat $(ROOTFS_USERS_TABLES) >> $(ROOTFS_FULL_USERS_TABLE) +endif + + $(call PRINTF,$(PACKAGES_PERMISSIONS_TABLE)) > $(ROOTFS_FULL_DEVICES_TABLE) +ifneq ($(ROOTFS_DEVICE_TABLES),) + cat $(ROOTFS_DEVICE_TABLES) >> $(ROOTFS_FULL_DEVICES_TABLE) +endif +ifeq ($(BR2_ROOTFS_DEVICE_CREATION_STATIC),y) + $(call PRINTF,$(PACKAGES_DEVICES_TABLE)) >> $(ROOTFS_FULL_DEVICES_TABLE) +endif + +rootfs-common-show-depends: + @echo $(ROOTFS_COMMON_DEPENDENCIES) + +.PHONY: rootfs-common-show-info +rootfs-common-show-info: + @: + $(info $(call clean-json,{ $(call json-info,ROOTFS_COMMON) })) + +# Since this function will be called from within an $(eval ...) +# all variable references except the arguments must be $$-quoted. +define inner-rootfs + +ROOTFS_$(2)_NAME = rootfs-$(1) +ROOTFS_$(2)_TYPE = rootfs +ROOTFS_$(2)_IMAGE_NAME ?= rootfs.$(1) +ROOTFS_$(2)_FINAL_IMAGE_NAME = $$(strip $$(ROOTFS_$(2)_IMAGE_NAME)) +ROOTFS_$(2)_DIR = $$(FS_DIR)/$(1) +ROOTFS_$(2)_TARGET_DIR = $$(ROOTFS_$(2)_DIR)/target + +ROOTFS_$(2)_DEPENDENCIES += rootfs-common + +ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES = $$(sort \ + $$(if $$(filter undefined,$$(origin ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES__X)), \ + $$(eval ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES__X := \ + $$(foreach p, \ + $$(ROOTFS_$(2)_DEPENDENCIES), \ + $$(p) \ + $$($$(call UPPERCASE,$$(p))_FINAL_RECURSIVE_DEPENDENCIES) \ + ) \ + ) \ + ) \ + $$(ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES__X)) + +ifeq ($$(BR2_TARGET_ROOTFS_$(2)_GZIP),y) +ROOTFS_$(2)_COMPRESS_EXT = .gz +ROOTFS_$(2)_COMPRESS_CMD = gzip -9 -c -n +endif +ifeq ($$(BR2_TARGET_ROOTFS_$(2)_BZIP2),y) +ROOTFS_$(2)_COMPRESS_EXT = .bz2 +ROOTFS_$(2)_COMPRESS_CMD = bzip2 -9 -c +endif +ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y) +ROOTFS_$(2)_DEPENDENCIES += host-lzma +ROOTFS_$(2)_COMPRESS_EXT = .lzma +ROOTFS_$(2)_COMPRESS_CMD = $$(LZMA) -9 -c +endif +ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZ4),y) +ROOTFS_$(2)_DEPENDENCIES += host-lz4 +ROOTFS_$(2)_COMPRESS_EXT = .lz4 +ROOTFS_$(2)_COMPRESS_CMD = lz4 -l -9 -c +endif +ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZO),y) +ROOTFS_$(2)_DEPENDENCIES += host-lzop +ROOTFS_$(2)_COMPRESS_EXT = .lzo +ROOTFS_$(2)_COMPRESS_CMD = $$(LZOP) -9 -c +endif +ifeq ($$(BR2_TARGET_ROOTFS_$(2)_XZ),y) +ROOTFS_$(2)_DEPENDENCIES += host-xz +ROOTFS_$(2)_COMPRESS_EXT = .xz +ROOTFS_$(2)_COMPRESS_CMD = xz -9 -C crc32 -c +ifeq ($(BR2_REPRODUCIBLE),) +ROOTFS_$(2)_COMPRESS_CMD += -T $(PARALLEL_JOBS) +endif +endif +ifeq ($(BR2_TARGET_ROOTFS_$(2)_ZSTD),y) +ROOTFS_$(2)_DEPENDENCIES += host-zstd +ROOTFS_$(2)_COMPRESS_EXT = .zst +ROOTFS_$(2)_COMPRESS_CMD = zstd -19 -z -f -T$(PARALLEL_JOBS) +endif + +$$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME): ROOTFS=$(2) +$$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME): FAKEROOT_SCRIPT=$$(ROOTFS_$(2)_DIR)/fakeroot +$$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME): $$(ROOTFS_$(2)_DEPENDENCIES) + @$$(call MESSAGE,"Generating filesystem image $$(ROOTFS_$(2)_FINAL_IMAGE_NAME)") + mkdir -p $$(@D) + rm -rf $$(ROOTFS_$(2)_DIR) + mkdir -p $$(ROOTFS_$(2)_DIR) + rsync -auH \ + --exclude=/$$(notdir $$(TARGET_DIR_WARNING_FILE)) \ + $$(BASE_TARGET_DIR)/ \ + $$(TARGET_DIR) + + echo '#!/bin/sh' > $$(FAKEROOT_SCRIPT) + echo "set -e" >> $$(FAKEROOT_SCRIPT) + + echo "chown -h -R 0:0 $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT) + PATH=$$(BR_PATH) $$(TOPDIR)/support/scripts/mkusers $$(ROOTFS_FULL_USERS_TABLE) $$(TARGET_DIR) >> $$(FAKEROOT_SCRIPT) + echo "$$(HOST_DIR)/bin/makedevs -d $$(ROOTFS_FULL_DEVICES_TABLE) $$(TARGET_DIR)" >> $$(FAKEROOT_SCRIPT) + $$(foreach hook,$$(ROOTFS_PRE_CMD_HOOKS),\ + $$(call PRINTF,$$($$(hook))) >> $$(FAKEROOT_SCRIPT)$$(sep)) + $$(foreach s,$$(call qstrip,$$(BR2_ROOTFS_POST_FAKEROOT_SCRIPT)),\ + echo "echo '$$(TERM_BOLD)>>> Executing fakeroot script $$(s)$$(TERM_RESET)'" >> $$(FAKEROOT_SCRIPT); \ + echo $$(EXTRA_ENV) $$(s) $$(TARGET_DIR) $$(BR2_ROOTFS_POST_SCRIPT_ARGS) >> $$(FAKEROOT_SCRIPT)$$(sep)) + + $$(foreach hook,$$(ROOTFS_$(2)_PRE_GEN_HOOKS),\ + $$(call PRINTF,$$($$(hook))) >> $$(FAKEROOT_SCRIPT)$$(sep)) + echo "find $$(TARGET_DIR)/run/ -mindepth 1 -prune -print0 | xargs -0r rm -rf --" >> $$(FAKEROOT_SCRIPT) + echo "find $$(TARGET_DIR)/tmp/ -mindepth 1 -prune -print0 | xargs -0r rm -rf --" >> $$(FAKEROOT_SCRIPT) + $$(call PRINTF,$$(ROOTFS_REPRODUCIBLE)) >> $$(FAKEROOT_SCRIPT) + $$(call PRINTF,$$(ROOTFS_SELINUX)) >> $$(FAKEROOT_SCRIPT) + $$(call PRINTF,$$(ROOTFS_$(2)_CMD)) >> $$(FAKEROOT_SCRIPT) + chmod a+x $$(FAKEROOT_SCRIPT) + PATH=$$(BR_PATH) FAKEROOTDONTTRYCHOWN=1 $$(HOST_DIR)/bin/fakeroot -- $$(FAKEROOT_SCRIPT) + $(Q)rm -rf $$(TARGET_DIR) +ifneq ($$(ROOTFS_$(2)_COMPRESS_CMD),) + PATH=$$(BR_PATH) $$(ROOTFS_$(2)_COMPRESS_CMD) $$@ > $$@$$(ROOTFS_$(2)_COMPRESS_EXT) +endif + $$(foreach hook,$$(ROOTFS_$(2)_POST_GEN_HOOKS),$$(call $$(hook))$$(sep)) + +rootfs-$(1)-show-depends: + @echo $$(ROOTFS_$(2)_DEPENDENCIES) + +rootfs-$(1)-show-info: + @: + $$(info $$(call clean-json,{ $$(call json-info,ROOTFS_$(2)) })) + +rootfs-$(1): $$(BINARIES_DIR)/$$(ROOTFS_$(2)_FINAL_IMAGE_NAME) + +.PHONY: rootfs-$(1) rootfs-$(1)-show-depends rootfs-$(1)-show-info + +ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y) +TARGETS_ROOTFS += rootfs-$(1) +PACKAGES += $$(filter-out rootfs-%,$$(ROOTFS_$(2)_FINAL_RECURSIVE_DEPENDENCIES)) +endif + +# Check for legacy POST_TARGETS rules +ifneq ($$(ROOTFS_$(2)_POST_TARGETS),) +$$(error Filesystem $(1) uses post-target rules, which are no longer supported.\ + Update $(1) to use post-gen hooks instead) +endif + +endef + +# $(pkgname) also works well to return the filesystem name +rootfs = $(call inner-rootfs,$(pkgname),$(call UPPERCASE,$(pkgname))) + +include $(sort $(wildcard fs/*/*.mk)) diff --git a/buildroot-2021.05/fs/cpio/Config.in b/buildroot-2022.02.1/fs/cpio/Config.in similarity index 100% rename from buildroot-2021.05/fs/cpio/Config.in rename to buildroot-2022.02.1/fs/cpio/Config.in diff --git a/buildroot-2021.05/fs/cpio/cpio.mk b/buildroot-2022.02.1/fs/cpio/cpio.mk similarity index 100% rename from buildroot-2021.05/fs/cpio/cpio.mk rename to buildroot-2022.02.1/fs/cpio/cpio.mk diff --git a/buildroot-2021.05/fs/cpio/init b/buildroot-2022.02.1/fs/cpio/init similarity index 100% rename from buildroot-2021.05/fs/cpio/init rename to buildroot-2022.02.1/fs/cpio/init diff --git a/buildroot-2021.05/fs/cramfs/Config.in b/buildroot-2022.02.1/fs/cramfs/Config.in similarity index 100% rename from buildroot-2021.05/fs/cramfs/Config.in rename to buildroot-2022.02.1/fs/cramfs/Config.in diff --git a/buildroot-2021.05/fs/cramfs/cramfs.mk b/buildroot-2022.02.1/fs/cramfs/cramfs.mk similarity index 100% rename from buildroot-2021.05/fs/cramfs/cramfs.mk rename to buildroot-2022.02.1/fs/cramfs/cramfs.mk diff --git a/buildroot-2022.02.1/fs/erofs/Config.in b/buildroot-2022.02.1/fs/erofs/Config.in new file mode 100644 index 00000000..e1125726 --- /dev/null +++ b/buildroot-2022.02.1/fs/erofs/Config.in @@ -0,0 +1,24 @@ +config BR2_TARGET_ROOTFS_EROFS + bool "erofs root filesystem" + select BR2_PACKAGE_HOST_EROFS_UTILS + help + Build a EROFS root filesystem. + +if BR2_TARGET_ROOTFS_EROFS + +config BR2_TARGET_ROOTFS_EROFS_LZ4HC + bool "lz4hc compression" + help + Use lz4 high-compression to compress data in the filesystem. + +config BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE + int "pcluster size" + default 0 + help + Specify the maximum size of physical cluster in bytes, as a + multiple of 4KiB, for the big pcluster feature in order to + get much better compression ratios (thus better sequential + read performance for common storage devices), which has been + introduced since Linux 5.13. + +endif # BR2_TARGET_ROOTFS_EROFS diff --git a/buildroot-2022.02.1/fs/erofs/erofs.mk b/buildroot-2022.02.1/fs/erofs/erofs.mk new file mode 100644 index 00000000..0e9d4401 --- /dev/null +++ b/buildroot-2022.02.1/fs/erofs/erofs.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# Build the EROFS root filesystem image +# +################################################################################ + +ROOTFS_EROFS_DEPENDENCIES = host-erofs-utils + +ifeq ($(BR2_TARGET_ROOTFS_EROFS_LZ4HC),y) +ROOTFS_EROFS_ARGS += -zlz4hc +endif + +ifneq ($(BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE),0) +ROOTFS_EROFS_ARGS += -C$(strip $(BR2_TARGET_ROOTFS_EROFS_PCLUSTERSIZE)) +endif + +define ROOTFS_EROFS_CMD + $(HOST_DIR)/bin/mkfs.erofs $(ROOTFS_EROFS_ARGS) $@ $(TARGET_DIR) +endef + +$(eval $(rootfs)) diff --git a/buildroot-2021.05/fs/ext2/Config.in b/buildroot-2022.02.1/fs/ext2/Config.in similarity index 100% rename from buildroot-2021.05/fs/ext2/Config.in rename to buildroot-2022.02.1/fs/ext2/Config.in diff --git a/buildroot-2022.02.1/fs/ext2/ext2.mk b/buildroot-2022.02.1/fs/ext2/ext2.mk new file mode 100644 index 00000000..5b5393f0 --- /dev/null +++ b/buildroot-2022.02.1/fs/ext2/ext2.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# Build the ext2 root filesystem image +# +################################################################################ + +ROOTFS_EXT2_SIZE = $(call qstrip,$(BR2_TARGET_ROOTFS_EXT2_SIZE)) +ifeq ($(BR2_TARGET_ROOTFS_EXT2)-$(ROOTFS_EXT2_SIZE),y-) +$(error BR2_TARGET_ROOTFS_EXT2_SIZE cannot be empty) +endif + +ROOTFS_EXT2_MKFS_OPTS = $(call qstrip,$(BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS)) + +# qstrip results in stripping consecutive spaces into a single one. So the +# variable is not qstrip-ed to preserve the integrity of the string value. +ROOTFS_EXT2_LABEL = $(subst ",,$(BR2_TARGET_ROOTFS_EXT2_LABEL)) +#" Syntax highlighting... :-/ ) + +ROOTFS_EXT2_OPTS = \ + -d $(TARGET_DIR) \ + -r $(BR2_TARGET_ROOTFS_EXT2_REV) \ + -N $(BR2_TARGET_ROOTFS_EXT2_INODES) \ + -m $(BR2_TARGET_ROOTFS_EXT2_RESBLKS) \ + -L "$(ROOTFS_EXT2_LABEL)" \ + $(ROOTFS_EXT2_MKFS_OPTS) + +ROOTFS_EXT2_DEPENDENCIES = host-e2fsprogs + +define ROOTFS_EXT2_CMD + rm -f $@ + $(HOST_DIR)/sbin/mkfs.ext$(BR2_TARGET_ROOTFS_EXT2_GEN) $(ROOTFS_EXT2_OPTS) $@ \ + "$(ROOTFS_EXT2_SIZE)" \ + || { ret=$$?; \ + echo "*** Maybe you need to increase the filesystem size (BR2_TARGET_ROOTFS_EXT2_SIZE)" 1>&2; \ + exit $$ret; \ + } +endef + +ifneq ($(BR2_TARGET_ROOTFS_EXT2_GEN),2) +define ROOTFS_EXT2_SYMLINK + ln -sf rootfs.ext2$(ROOTFS_EXT2_COMPRESS_EXT) $(BINARIES_DIR)/rootfs.ext$(BR2_TARGET_ROOTFS_EXT2_GEN)$(ROOTFS_EXT2_COMPRESS_EXT) +endef +ROOTFS_EXT2_POST_GEN_HOOKS += ROOTFS_EXT2_SYMLINK +endif + +$(eval $(rootfs)) diff --git a/buildroot-2021.05/fs/f2fs/Config.in b/buildroot-2022.02.1/fs/f2fs/Config.in similarity index 100% rename from buildroot-2021.05/fs/f2fs/Config.in rename to buildroot-2022.02.1/fs/f2fs/Config.in diff --git a/buildroot-2021.05/fs/f2fs/f2fs.mk b/buildroot-2022.02.1/fs/f2fs/f2fs.mk similarity index 100% rename from buildroot-2021.05/fs/f2fs/f2fs.mk rename to buildroot-2022.02.1/fs/f2fs/f2fs.mk diff --git a/buildroot-2021.05/fs/initramfs/Config.in b/buildroot-2022.02.1/fs/initramfs/Config.in similarity index 100% rename from buildroot-2021.05/fs/initramfs/Config.in rename to buildroot-2022.02.1/fs/initramfs/Config.in diff --git a/buildroot-2021.05/fs/initramfs/initramfs.mk b/buildroot-2022.02.1/fs/initramfs/initramfs.mk similarity index 100% rename from buildroot-2021.05/fs/initramfs/initramfs.mk rename to buildroot-2022.02.1/fs/initramfs/initramfs.mk diff --git a/buildroot-2022.02.1/fs/iso9660/Config.in b/buildroot-2022.02.1/fs/iso9660/Config.in new file mode 100644 index 00000000..8c4e7bad --- /dev/null +++ b/buildroot-2022.02.1/fs/iso9660/Config.in @@ -0,0 +1,102 @@ +config BR2_TARGET_ROOTFS_ISO9660 + bool "iso image" + depends on (BR2_i386 || BR2_x86_64) + depends on BR2_LINUX_KERNEL + depends on BR2_TARGET_GRUB2 || BR2_TARGET_SYSLINUX_ISOLINUX + select BR2_LINUX_KERNEL_INSTALL_TARGET \ + if (!BR2_TARGET_ROOTFS_ISO9660_INITRD && !BR2_TARGET_ROOTFS_INITRAMFS) + help + Build a bootable ISO9660 image. By default, the root + filesystem is directly packed as the ISO9660 filesystem, + which means the root filesystem will be read-only. It + requires ISO9660 filesystem support and CDROM support in the + kernel. + + However, if BR2_TARGET_ROOTFS_INITRAMFS or + BR2_TARGET_ROOTFS_ISO9660_INITRD have been enabled, the + ISO9660 filesystem will only contain a kernel image and + optionally an external initrd image. In this case, the + filesystem being in RAM, it will be read/write. No ISO9660 + or CDROM support is needed in the kernel. + +if BR2_TARGET_ROOTFS_ISO9660 + +choice + prompt "Bootloader" + +config BR2_TARGET_ROOTFS_ISO9660_GRUB2 + bool "grub2" + depends on BR2_TARGET_GRUB2 + select BR2_TARGET_ROOTFS_ISO9660_BIOS_BOOTLOADER \ + if BR2_TARGET_GRUB2_I386_PC + select BR2_TARGET_ROOTFS_ISO9660_EFI_BOOTLOADER \ + if (BR2_TARGET_GRUB2_I386_EFI || BR2_TARGET_GRUB2_X86_64_EFI) + help + Use Grub 2 as the bootloader for the ISO9660 image. Make + sure to enable the 'iso9660' module in + BR2_TARGET_GRUB2_BUILTIN_MODULES_PC or + BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI. Use 'cd' as the boot + partition in BR2_TARGET_GRUB2_BOOT_PARTITION= for GRUB on BIOS + or 'set root=(cd0)' in the configuration file passed to + BR2_TARGET_GRUB2_BUILTIN_CONFIG_EFI for GRUB on EFI. + +config BR2_TARGET_ROOTFS_ISO9660_ISOLINUX + bool "isolinux" + depends on BR2_TARGET_SYSLINUX_ISOLINUX + select BR2_TARGET_ROOTFS_ISO9660_BIOS_BOOTLOADER + +endchoice + +config BR2_TARGET_ROOTFS_ISO9660_BIOS_BOOTLOADER + bool + +config BR2_TARGET_ROOTFS_ISO9660_EFI_BOOTLOADER + bool + +config BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU + string "Boot menu config file" + default "fs/iso9660/grub.cfg" if BR2_TARGET_ROOTFS_ISO9660_GRUB2 + default "fs/iso9660/isolinux.cfg" if BR2_TARGET_ROOTFS_ISO9660_ISOLINUX + help + Use this option to provide a custom bootloader configuration + file (grub.cfg for Grub 2, isolinux.cfg for isolinux). + + Note that the strings __KERNEL_PATH__ and __INITRD_PATH__ + will automatically be replaced by the path to the kernel and + initrd images respectively. + +config BR2_TARGET_ROOTFS_ISO9660_INITRD + bool "Use initrd" + default y + select BR2_TARGET_ROOTFS_CPIO + help + Enable this option to have the root filesystem bundled as an + initrd/initramfs rather than directly as the ISO9660 + filesystem. With this option enabled, the ISO9660 will only + contain a kernel image, an initrd image (unless an initramfs + linked into the kernel is used) and the bootloader. + +config BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION + bool "transparent compression" + depends on !BR2_TARGET_ROOTFS_ISO9660_INITRD + depends on !BR2_TARGET_ROOTFS_INITRAMFS + help + Say 'y' to enable use of transparent (de)compression. Files + are stored compressed and will be decompressed on-the-fly + upon access at runtime. + +config BR2_TARGET_ROOTFS_ISO9660_HYBRID + bool "Build hybrid image" + depends on BR2_TARGET_ROOTFS_ISO9660_ISOLINUX + help + Enable this option to build an hybrid image, i.e an image + which can either be booted from a CD-ROM or from a device + which BIOS considers a hard disk or ZIP disk, e.g. a USB key + or similar. + +endif + +comment "iso image needs a Linux kernel and either grub2 or isolinux to be built" + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_LINUX_KERNEL || \ + !(BR2_TARGET_GRUB2 || BR2_TARGET_SYSLINUX_ISOLINUX) diff --git a/buildroot-2021.05/fs/iso9660/grub.cfg b/buildroot-2022.02.1/fs/iso9660/grub.cfg similarity index 100% rename from buildroot-2021.05/fs/iso9660/grub.cfg rename to buildroot-2022.02.1/fs/iso9660/grub.cfg diff --git a/buildroot-2022.02.1/fs/iso9660/iso9660.mk b/buildroot-2022.02.1/fs/iso9660/iso9660.mk new file mode 100644 index 00000000..0524f94c --- /dev/null +++ b/buildroot-2022.02.1/fs/iso9660/iso9660.mk @@ -0,0 +1,197 @@ +################################################################################ +# +# Build the iso96600 root filesystem image +# +################################################################################ + +# +# We need to handle three cases: +# +# 1. The ISO9660 filesystem will really be the real root filesystem +# itself. This is when BR2_TARGET_ROOTFS_ISO9660_INITRD is +# disabled. +# +# 2. The ISO9660 filesystem will be a filesystem with just a kernel +# image, initrd and grub. This is when +# BR2_TARGET_ROOTFS_ISO9660_INITRD is enabled, but +# BR2_TARGET_ROOTFS_INITRAMFS is disabled. +# +# 3. The ISO9660 filesystem will be a filesystem with just a kernel +# image and grub. This is like (2), except that the initrd is +# built into the kernel image. This is when +# BR2_TARGET_ROOTFS_INITRAMFS is enabled (regardless of the value +# of BR2_TARGET_ROOTFS_ISO9660_INITRD). + +ROOTFS_ISO9660_BOOT_MENU = $(call qstrip,$(BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU)) + +ROOTFS_ISO9660_DEPENDENCIES = host-xorriso linux + +ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) +ROOTFS_ISO9660_USE_INITRD = YES +endif + +ifeq ($(BR2_TARGET_ROOTFS_ISO9660_INITRD),y) +ROOTFS_ISO9660_USE_INITRD = YES +endif + +ifeq ($(ROOTFS_ISO9660_USE_INITRD),YES) +ROOTFS_ISO9660_TMP_TARGET_DIR = $(FS_DIR)/rootfs.iso9660.tmp +define ROOTFS_ISO9660_CREATE_TEMPDIR + $(RM) -rf $(ROOTFS_ISO9660_TMP_TARGET_DIR) + mkdir -p $(ROOTFS_ISO9660_TMP_TARGET_DIR) +endef +ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_CREATE_TEMPDIR +else ifeq ($(BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION),y) +ROOTFS_ISO9660_DEPENDENCIES += host-zisofs-tools +ROOTFS_ISO9660_TMP_TARGET_DIR = $(FS_DIR)/rootfs.iso9660.tmp +# This must be early, before we copy the bootloader files. +define ROOTFS_ISO9660_MKZFTREE + $(RM) -rf $(ROOTFS_ISO9660_TMP_TARGET_DIR) + $(HOST_DIR)/bin/mkzftree -X -z 9 -p $(PARALLEL_JOBS) \ + $(TARGET_DIR) \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR) +endef +ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_MKZFTREE +ROOTFS_ISO9660_OPTS += -z +else +ROOTFS_ISO9660_TMP_TARGET_DIR = $(TARGET_DIR) +endif + +ifeq ($(BR2_REPRODUCIBLE),y) +ROOTFS_ISO9660_VFAT_OPTS = --invariant +ROOTFS_ISO9660_FIX_TIME = touch -d @$(SOURCE_DATE_EPOCH) +else +ROOTFS_ISO9660_FIX_TIME = : +endif + +ifeq ($(BR2_TARGET_ROOTFS_ISO9660_GRUB2)$(BR2_TARGET_ROOTFS_ISO9660_BIOS_BOOTLOADER),yy) +ROOTFS_ISO9660_DEPENDENCIES += grub2 +ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH = \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/grub/grub.cfg +ROOTFS_ISO9660_BOOT_IMAGE = boot/grub/grub-eltorito.img +define ROOTFS_ISO9660_INSTALL_BOOTLOADER_BIOS + $(INSTALL) -D -m 0644 $(BINARIES_DIR)/grub-eltorito.img \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/grub/grub-eltorito.img +endef +endif + +ifeq ($(BR2_TARGET_ROOTFS_ISO9660_GRUB2)$(BR2_TARGET_ROOTFS_ISO9660_EFI_BOOTLOADER),yy) +ROOTFS_ISO9660_DEPENDENCIES += grub2 host-dosfstools host-mtools +ROOTFS_ISO9660_EFI_PARTITION = boot/fat.efi +ROOTFS_ISO9660_EFI_PARTITION_PATH = $(ROOTFS_ISO9660_TMP_TARGET_DIR)/$(ROOTFS_ISO9660_EFI_PARTITION) +ROOTFS_ISO9660_EFI_PARTITION_CONTENT = $(BINARIES_DIR)/efi-part +ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH = \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/grub/grub.cfg +define ROOTFS_ISO9660_INSTALL_BOOTLOADER_EFI + rm -rf $(ROOTFS_ISO9660_EFI_PARTITION_PATH) + mkdir -p $(dir $(ROOTFS_ISO9660_EFI_PARTITION_PATH)) + dd if=/dev/zero of=$(ROOTFS_ISO9660_EFI_PARTITION_PATH) bs=1M count=1 + $(HOST_DIR)/sbin/mkfs.vfat $(ROOTFS_ISO9660_VFAT_OPTS) $(ROOTFS_ISO9660_EFI_PARTITION_PATH) + $(ROOTFS_ISO9660_FIX_TIME) $(ROOTFS_ISO9660_EFI_PARTITION_CONTENT)/* + $(HOST_DIR)/bin/mcopy -p -m -i $(ROOTFS_ISO9660_EFI_PARTITION_PATH) -s \ + $(ROOTFS_ISO9660_EFI_PARTITION_CONTENT)/* ::/ + $(ROOTFS_ISO9660_FIX_TIME) $(ROOTFS_ISO9660_EFI_PARTITION_PATH) +endef +endif + +ifeq ($(BR2_TARGET_ROOTFS_ISO9660_ISOLINUX),y) +ROOTFS_ISO9660_DEPENDENCIES += syslinux +ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH = \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR)/isolinux/isolinux.cfg +ROOTFS_ISO9660_BOOT_IMAGE = isolinux/isolinux.bin +define ROOTFS_ISO9660_INSTALL_BOOTLOADER_BIOS + $(INSTALL) -D -m 0644 $(BINARIES_DIR)/syslinux/* \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR)/isolinux/ + $(INSTALL) -D -m 0644 $(HOST_DIR)/share/syslinux/ldlinux.c32 \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR)/isolinux/ldlinux.c32 +endef +endif + +define ROOTFS_ISO9660_PREPARATION + $(INSTALL) -D -m 0644 $(ROOTFS_ISO9660_BOOT_MENU) \ + $(ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH) + $(SED) "s%__KERNEL_PATH__%/boot/$(LINUX_IMAGE_NAME)%" \ + $(ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH) + $(ROOTFS_ISO9660_INSTALL_BOOTLOADER_BIOS) + $(ROOTFS_ISO9660_INSTALL_BOOTLOADER_EFI) +endef + +ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_PREPARATION + +define ROOTFS_ISO9660_DISABLE_EXTERNAL_INITRD + $(SED) '/__INITRD_PATH__/d' $(ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH) +endef + +# Copy the kernel to temporary filesystem +define ROOTFS_ISO9660_COPY_KERNEL + $(INSTALL) -D -m 0644 $(LINUX_IMAGE_PATH) \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/$(LINUX_IMAGE_NAME) +endef + +ifeq ($(ROOTFS_ISO9660_USE_INITRD),YES) +ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_COPY_KERNEL + +# If initramfs is used, disable loading the initrd as the rootfs is +# already inside the kernel image. Otherwise, make sure a cpio is +# generated and use it as the initrd. +ifeq ($(BR2_TARGET_ROOTFS_INITRAMFS),y) +ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_DISABLE_EXTERNAL_INITRD +else +ROOTFS_ISO9660_DEPENDENCIES += rootfs-cpio +define ROOTFS_ISO9660_COPY_INITRD + $(INSTALL) -D -m 0644 $(BINARIES_DIR)/rootfs.cpio$(ROOTFS_CPIO_COMPRESS_EXT) \ + $(ROOTFS_ISO9660_TMP_TARGET_DIR)/boot/initrd + $(SED) "s%__INITRD_PATH__%/boot/initrd%" \ + $(ROOTFS_ISO9660_BOOTLOADER_CONFIG_PATH) +endef +ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_COPY_INITRD +endif + +else # ROOTFS_ISO9660_USE_INITRD +ifeq ($(BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION),y) +# We must use the uncompressed kernel image +ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_COPY_KERNEL +endif + +ROOTFS_ISO9660_PRE_GEN_HOOKS += ROOTFS_ISO9660_DISABLE_EXTERNAL_INITRD + +endif # ROOTFS_ISO9660_USE_INITRD + +ROOTFS_ISO9660_OPTS += -J -R + +ROOTFS_ISO9660_OPTS_BIOS = \ + -b $(ROOTFS_ISO9660_BOOT_IMAGE) \ + -no-emul-boot \ + -boot-load-size 4 \ + -boot-info-table + +ROOTFS_ISO9660_OPTS_EFI = \ + --efi-boot $(ROOTFS_ISO9660_EFI_PARTITION) \ + -no-emul-boot + +ifeq ($(BR2_TARGET_ROOTFS_ISO9660_BIOS_BOOTLOADER)$(BR2_TARGET_ROOTFS_ISO9660_EFI_BOOTLOADER),yy) +ROOTFS_ISO9660_OPTS += \ + $(ROOTFS_ISO9660_OPTS_BIOS) \ + -eltorito-alt-boot \ + $(ROOTFS_ISO9660_OPTS_EFI) +else ifeq ($(BR2_TARGET_ROOTFS_ISO9660_BIOS_BOOTLOADER),y) +ROOTFS_ISO9660_OPTS += $(ROOTFS_ISO9660_OPTS_BIOS) +else ifeq ($(BR2_TARGET_ROOTFS_ISO9660_EFI_BOOTLOADER),y) +ROOTFS_ISO9660_OPTS += $(ROOTFS_ISO9660_OPTS_EFI) +endif + +define ROOTFS_ISO9660_CMD + $(HOST_DIR)/bin/xorriso -as mkisofs \ + $(ROOTFS_ISO9660_OPTS) \ + -o $@ $(ROOTFS_ISO9660_TMP_TARGET_DIR) +endef + +ifeq ($(BR2_TARGET_ROOTFS_ISO9660_HYBRID),y) +define ROOTFS_ISO9660_GEN_HYBRID + $(HOST_DIR)/bin/isohybrid -t 0x96 $@ +endef + +ROOTFS_ISO9660_POST_GEN_HOOKS += ROOTFS_ISO9660_GEN_HYBRID +endif + +$(eval $(rootfs)) diff --git a/buildroot-2021.05/fs/iso9660/isolinux.cfg b/buildroot-2022.02.1/fs/iso9660/isolinux.cfg similarity index 100% rename from buildroot-2021.05/fs/iso9660/isolinux.cfg rename to buildroot-2022.02.1/fs/iso9660/isolinux.cfg diff --git a/buildroot-2021.05/fs/jffs2/Config.in b/buildroot-2022.02.1/fs/jffs2/Config.in similarity index 100% rename from buildroot-2021.05/fs/jffs2/Config.in rename to buildroot-2022.02.1/fs/jffs2/Config.in diff --git a/buildroot-2021.05/fs/jffs2/jffs2.mk b/buildroot-2022.02.1/fs/jffs2/jffs2.mk similarity index 100% rename from buildroot-2021.05/fs/jffs2/jffs2.mk rename to buildroot-2022.02.1/fs/jffs2/jffs2.mk diff --git a/buildroot-2022.02.1/fs/oci/Config.in b/buildroot-2022.02.1/fs/oci/Config.in new file mode 100644 index 00000000..8f36c91c --- /dev/null +++ b/buildroot-2022.02.1/fs/oci/Config.in @@ -0,0 +1,90 @@ +config BR2_TARGET_ROOTFS_OCI + bool "oci image" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + help + Build an OCI (Open Container Initiative) image. + + By default, the image is generated in a directory called + rootfs-oci: + + $ cd output/images + $ ls rootfs-oci/ + blobs index.json oci-layout + + You can push the image to a registry. Example using skopeo: + + $ skopeo copy --dest-creds : \ + oci:rootfs-oci: docker:///[:tag] + + And pull/run it with docker: + + $ docker run -it /[:tag] + +if BR2_TARGET_ROOTFS_OCI + +config BR2_TARGET_ROOTFS_OCI_AUTHOR + string "author name and/or email address" + default "Buildroot" + help + Name and/or email address of the person which created the + image. + +config BR2_TARGET_ROOTFS_OCI_TAG + string "image tag" + default "latest" + help + Tag to be used in the container image. If empty, 'latest' will + be used by default. + +config BR2_TARGET_ROOTFS_OCI_ENTRYPOINT + string "entrypoint" + default "sh" + help + Command to execute when the container starts. + +config BR2_TARGET_ROOTFS_OCI_ENTRYPOINT_ARGS + string "entrypoint arguments" + help + Default arguments to the entrypoint of the container. + +config BR2_TARGET_ROOTFS_OCI_WORKDIR + string "working directory" + help + Working directory of the entrypoint process in the + container. + +config BR2_TARGET_ROOTFS_OCI_UID + string "username or UID" + default "0" + help + The username or UID of user the process run as. + +config BR2_TARGET_ROOTFS_OCI_ENV_VARS + string "environment variables" + help + Default environment variables for the container. + Space-separated list of variable=value assignments. + +config BR2_TARGET_ROOTFS_OCI_PORTS + string "ports" + help + Default set of ports to expose from a container running + this image as a space-separted list of ports in the following + format: + + /tcp, /udp, (same as /tcp). + +config BR2_TARGET_ROOTFS_OCI_LABELS + string "labels" + help + Metadata in the format KEY=VALUE for the container compliant + with OCI annotation rules. If KEY starts with a dot, it will + be prefixed with "org.opencontainers.image" + (e.g. .url -> org.opencontainers.image.url). + +config BR2_TARGET_ROOTFS_OCI_ARCHIVE + bool "pack oci image into a tar archive" + help + Select whether the image should be packed into a TAR archive. + +endif diff --git a/buildroot-2022.02.1/fs/oci/oci.mk b/buildroot-2022.02.1/fs/oci/oci.mk new file mode 100644 index 00000000..aa81920d --- /dev/null +++ b/buildroot-2022.02.1/fs/oci/oci.mk @@ -0,0 +1,80 @@ +################################################################################ +# +# Build the oci image +# +################################################################################ + +ROOTFS_OCI_DEPENDENCIES = host-sloci-image + +# architecture - take it from Go +OCI_SLOCI_IMAGE_OPTS = --arch $(GO_GOARCH) + +# architecture variant (typically used only for arm) +OCI_SLOCI_IMAGE_OPTS += $(and $(GO_GOARM),--arch-variant v$(GO_GOARM)) + +# entrypoint +OCI_ENTRYPOINT = $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_ENTRYPOINT)) +ifneq ($(OCI_ENTRYPOINT),) +OCI_SLOCI_IMAGE_OPTS += --entrypoint "$(OCI_ENTRYPOINT)" +endif + +# entrypoint arguments +OCI_ENTRYPOINT_ARGS = $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_ENTRYPOINT_ARGS)) +ifneq ($(OCI_ENTRYPOINT_ARGS),) +OCI_SLOCI_IMAGE_OPTS += --cmd "$(OCI_ENTRYPOINT_ARGS)" +endif + +# author +OCI_AUTHOR = $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_AUTHOR)) +ifneq ($(OCI_AUTHOR),) +OCI_SLOCI_IMAGE_OPTS += --author "$(OCI_AUTHOR)" +endif + +# username or UID +OCI_UID = $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_UID)) +ifneq ($(OCI_UID),) +OCI_SLOCI_IMAGE_OPTS += --user "$(OCI_UID)" +endif + +# labels +OCI_LABELS = $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_LABELS)) +ifneq ($(OCI_LABELS),) +OCI_SLOCI_IMAGE_OPTS += \ + $(foreach label,$(OCI_LABELS),--label "$(label)") +endif + +# environment variables +OCI_ENV_VARS = $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_ENV_VARS)) +ifneq ($(OCI_ENV_VARS),) +OCI_SLOCI_IMAGE_OPTS += \ + $(foreach var,$(OCI_ENV_VARS),--env "$(var)") +endif + +# working directory +OCI_WORKDIR = $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_WORKDIR)) +ifneq ($(OCI_WORKDIR),) +OCI_SLOCI_IMAGE_OPTS += --working-dir "$(OCI_WORKDIR)" +endif + +# ports +OCI_PORTS = $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_PORTS)) +ifneq ($(OCI_PORTS),) +OCI_SLOCI_IMAGE_OPTS += \ + $(foreach port,$(OCI_PORTS),--port "$(port)") +endif + +# tag +OCI_TAG = $(or $(call qstrip,$(BR2_TARGET_ROOTFS_OCI_TAG)),latest) + +# enable tar archive +ifeq ($(BR2_TARGET_ROOTFS_OCI_ARCHIVE),y) +OCI_SLOCI_IMAGE_OPTS += --tar +endif + +define ROOTFS_OCI_CMD + rm -rf $(BINARIES_DIR)/rootfs-oci + $(HOST_DIR)/bin/sloci-image $(OCI_SLOCI_IMAGE_OPTS) $(TARGET_DIR) \ + $(BINARIES_DIR)/rootfs-oci:$(OCI_TAG) +endef + +$(eval $(rootfs)) diff --git a/buildroot-2021.05/fs/romfs/Config.in b/buildroot-2022.02.1/fs/romfs/Config.in similarity index 100% rename from buildroot-2021.05/fs/romfs/Config.in rename to buildroot-2022.02.1/fs/romfs/Config.in diff --git a/buildroot-2021.05/fs/romfs/romfs.mk b/buildroot-2022.02.1/fs/romfs/romfs.mk similarity index 100% rename from buildroot-2021.05/fs/romfs/romfs.mk rename to buildroot-2022.02.1/fs/romfs/romfs.mk diff --git a/buildroot-2021.05/fs/squashfs/Config.in b/buildroot-2022.02.1/fs/squashfs/Config.in similarity index 100% rename from buildroot-2021.05/fs/squashfs/Config.in rename to buildroot-2022.02.1/fs/squashfs/Config.in diff --git a/buildroot-2021.05/fs/squashfs/squashfs.mk b/buildroot-2022.02.1/fs/squashfs/squashfs.mk similarity index 100% rename from buildroot-2021.05/fs/squashfs/squashfs.mk rename to buildroot-2022.02.1/fs/squashfs/squashfs.mk diff --git a/buildroot-2021.05/fs/tar/Config.in b/buildroot-2022.02.1/fs/tar/Config.in similarity index 100% rename from buildroot-2021.05/fs/tar/Config.in rename to buildroot-2022.02.1/fs/tar/Config.in diff --git a/buildroot-2021.05/fs/tar/tar.mk b/buildroot-2022.02.1/fs/tar/tar.mk similarity index 100% rename from buildroot-2021.05/fs/tar/tar.mk rename to buildroot-2022.02.1/fs/tar/tar.mk diff --git a/buildroot-2021.05/fs/ubi/Config.in b/buildroot-2022.02.1/fs/ubi/Config.in similarity index 100% rename from buildroot-2021.05/fs/ubi/Config.in rename to buildroot-2022.02.1/fs/ubi/Config.in diff --git a/buildroot-2021.05/fs/ubi/ubi.mk b/buildroot-2022.02.1/fs/ubi/ubi.mk similarity index 100% rename from buildroot-2021.05/fs/ubi/ubi.mk rename to buildroot-2022.02.1/fs/ubi/ubi.mk diff --git a/buildroot-2021.05/fs/ubi/ubinize.cfg b/buildroot-2022.02.1/fs/ubi/ubinize.cfg similarity index 100% rename from buildroot-2021.05/fs/ubi/ubinize.cfg rename to buildroot-2022.02.1/fs/ubi/ubinize.cfg diff --git a/buildroot-2021.05/fs/ubifs/Config.in b/buildroot-2022.02.1/fs/ubifs/Config.in similarity index 100% rename from buildroot-2021.05/fs/ubifs/Config.in rename to buildroot-2022.02.1/fs/ubifs/Config.in diff --git a/buildroot-2021.05/fs/ubifs/ubifs.mk b/buildroot-2022.02.1/fs/ubifs/ubifs.mk similarity index 100% rename from buildroot-2021.05/fs/ubifs/ubifs.mk rename to buildroot-2022.02.1/fs/ubifs/ubifs.mk diff --git a/buildroot-2021.05/fs/yaffs2/Config.in b/buildroot-2022.02.1/fs/yaffs2/Config.in similarity index 100% rename from buildroot-2021.05/fs/yaffs2/Config.in rename to buildroot-2022.02.1/fs/yaffs2/Config.in diff --git a/buildroot-2021.05/fs/yaffs2/yaffs2.mk b/buildroot-2022.02.1/fs/yaffs2/yaffs2.mk similarity index 100% rename from buildroot-2021.05/fs/yaffs2/yaffs2.mk rename to buildroot-2022.02.1/fs/yaffs2/yaffs2.mk diff --git a/buildroot-2021.05/linux/0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional b/buildroot-2022.02.1/linux/0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional similarity index 100% rename from buildroot-2021.05/linux/0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional rename to buildroot-2022.02.1/linux/0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional diff --git a/buildroot-2021.05/linux/Config.ext.in b/buildroot-2022.02.1/linux/Config.ext.in similarity index 100% rename from buildroot-2021.05/linux/Config.ext.in rename to buildroot-2022.02.1/linux/Config.ext.in diff --git a/buildroot-2022.02.1/linux/Config.in b/buildroot-2022.02.1/linux/Config.in new file mode 100644 index 00000000..4b4ea8d9 --- /dev/null +++ b/buildroot-2022.02.1/linux/Config.in @@ -0,0 +1,494 @@ +menu "Kernel" + +config BR2_LINUX_KERNEL + bool "Linux Kernel" + select BR2_PACKAGE_HOST_KMOD # Unconditional, even if modules not enabled + select BR2_PACKAGE_HOST_IMAGEMAGICK if BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH != "" + help + Enable this option if you want to build a Linux kernel for + your embedded device + +if BR2_LINUX_KERNEL + +# Packages that need to have a kernel with support for loadable modules, +# but do not use the kernel-modules infrastructure, should select that +# option. +config BR2_LINUX_NEEDS_MODULES + bool + +# +# Version selection. We provide the choice between: +# +# 1. A single fairly recent stable kernel version +# 2. A custom stable version +# 3. A custom tarball +# 4. A set of custom repository locations +# +choice + prompt "Kernel version" + +config BR2_LINUX_KERNEL_LATEST_VERSION + bool "Latest version (5.15)" + +config BR2_LINUX_KERNEL_LATEST_CIP_VERSION + bool "Latest CIP SLTS version (5.10.104-cip3)" + help + CIP launched in the spring of 2016 to address the needs of + organizations in industries such as power generation and + distribution, water, oil and gas, transportation, building + automation and more for reliable and secure Linux-based + embedded systems that can be sustained over a period of + 10 to as many as 60 years. + The project's goal is to provide an open source base layer + of industrial-grade software that permits the use and + implementation of software building blocks that meet + these requirements. + + The CIP community plans to maintain 5.10 for security and + bug fixes for more than 10 years. + + https://www.cip-project.org + +config BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION + bool "Latest CIP RT SLTS version (5.10.104-cip3-rt3)" + help + Same as the CIP version, but this is the PREEMPT_RT realtime + variant. + + The CIP community plans to maintain 5.10 for security and + bug fixes for more than 10 years. + + https://www.cip-project.org + +config BR2_LINUX_KERNEL_CUSTOM_VERSION + bool "Custom version" + help + This option allows to use a specific official version from + kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ... + + Note: you cannot use this option to select a _longterm_ 2.6 + kernel, because these kernels are not located at the standard + URL at kernel.org. Instead, select "Custom tarball" and + specify the right URL directly. + +config BR2_LINUX_KERNEL_CUSTOM_TARBALL + bool "Custom tarball" + help + This option allows to specify a URL pointing to a kernel + source tarball. This URL can use any protocol recognized by + Buildroot, like http://, ftp://, file:// or scp://. + + When pointing to a local tarball using file://, you may want + to use a make variable like $(TOPDIR) to reference the root of + the Buildroot tree. + +config BR2_LINUX_KERNEL_CUSTOM_GIT + bool "Custom Git repository" + help + This option allows Buildroot to get the Linux kernel source + code from a Git repository. + +config BR2_LINUX_KERNEL_CUSTOM_HG + bool "Custom Mercurial repository" + help + This option allows Buildroot to get the Linux kernel source + code from a Mercurial repository. + +config BR2_LINUX_KERNEL_CUSTOM_SVN + bool "Custom Subversion repository" + help + This option allows Buildroot to get the Linux kernel source + code from a Subversion repository. + +endchoice + +config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE + string "Kernel version" + depends on BR2_LINUX_KERNEL_CUSTOM_VERSION + +config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION + string "URL of custom kernel tarball" + depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL + +if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || BR2_LINUX_KERNEL_CUSTOM_SVN + +config BR2_LINUX_KERNEL_CUSTOM_REPO_URL + string "URL of custom repository" + +config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION + string "Custom repository version" + help + Revision to use in the typical format used by + Git/Mercurial/Subversion E.G. a sha id, a tag, branch, .. + +endif + +config BR2_LINUX_KERNEL_VERSION + string + default "5.15.33" if BR2_LINUX_KERNEL_LATEST_VERSION + default "5.10.104-cip3" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION + default "5.10.104-cip3-rt3" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION + default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \ + if BR2_LINUX_KERNEL_CUSTOM_VERSION + default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL + default BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION \ + if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || BR2_LINUX_KERNEL_CUSTOM_SVN + +# +# Patch selection +# + +config BR2_LINUX_KERNEL_PATCH + string "Custom kernel patches" + help + A space-separated list of patches to apply to the + kernel. Each patch can be described as an URL, a local file + path, or a directory. In the case of a directory, all files + matching *.patch in the directory will be applied. + +# +# Configuration selection +# + +choice + prompt "Kernel configuration" + default BR2_LINUX_KERNEL_USE_DEFCONFIG + +config BR2_LINUX_KERNEL_USE_DEFCONFIG + bool "Using an in-tree defconfig file" + +config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG + bool "Use the architecture default configuration" + help + This option will use the default configuration for the + selected architecture. I.e, it is equivalent to running + "make ARCH= defconfig". This is useful on architectures + that have a single defconfig file, such as ARM64. + +config BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG + bool "Using a custom (def)config file" + +endchoice + +config BR2_LINUX_KERNEL_DEFCONFIG + string "Defconfig name" + depends on BR2_LINUX_KERNEL_USE_DEFCONFIG + help + Name of the kernel defconfig file to use, without the + trailing _defconfig. The defconfig is located in + arch//configs in the kernel tree. + +config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE + string "Configuration file path" + depends on BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG + help + Path to the kernel configuration file + + Note: this can be a defconfig file or a complete .config file, + which can later be saved back with make + linux-update-(def)config. + +config BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES + string "Additional configuration fragment files" + help + A space-separated list of kernel configuration fragment files, + that will be merged to the main kernel configuration file. + +config BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH + string "Custom boot logo file path" + help + Use a custom Linux framebuffer boot logo. + Custom logo should be in PNG or JPEG format, it will be + converted to the linux kernel format (224 colors only) + and copied over the original logo file. + +# +# Binary format +# + +choice + prompt "Kernel binary format" + default BR2_LINUX_KERNEL_ZIMAGE if BR2_arm || BR2_armeb + +config BR2_LINUX_KERNEL_UIMAGE + bool "uImage" + depends on BR2_arc || BR2_arm || BR2_armeb || \ + BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \ + BR2_sh || BR2_mips || BR2_mipsel || \ + BR2_mips64 || BR2_mips64el || BR2_xtensa + select BR2_PACKAGE_HOST_UBOOT_TOOLS + +config BR2_LINUX_KERNEL_APPENDED_UIMAGE + bool "uImage with appended DT" + depends on BR2_arm || BR2_armeb + select BR2_LINUX_KERNEL_DTS_SUPPORT + select BR2_LINUX_KERNEL_APPENDED_DTB + select BR2_PACKAGE_HOST_UBOOT_TOOLS + +config BR2_LINUX_KERNEL_BZIMAGE + bool "bzImage" + depends on BR2_i386 || BR2_x86_64 || BR2_s390x + +config BR2_LINUX_KERNEL_ZIMAGE + bool "zImage" + depends on BR2_arm || BR2_armeb || BR2_powerpc || \ + BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \ + BR2_sh || BR2_xtensa + +config BR2_LINUX_KERNEL_ZIMAGE_EPAPR + bool "zImage.epapr" + depends on BR2_powerpc64 || BR2_powerpc64le + +config BR2_LINUX_KERNEL_APPENDED_ZIMAGE + bool "zImage with appended DT" + depends on BR2_arm || BR2_armeb + select BR2_LINUX_KERNEL_DTS_SUPPORT + select BR2_LINUX_KERNEL_APPENDED_DTB + +config BR2_LINUX_KERNEL_CUIMAGE + bool "cuImage" + depends on BR2_powerpc + select BR2_PACKAGE_HOST_UBOOT_TOOLS + select BR2_LINUX_KERNEL_DTS_SUPPORT + select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT + +config BR2_LINUX_KERNEL_SIMPLEIMAGE + bool "simpleImage" + depends on BR2_microblaze + select BR2_PACKAGE_HOST_UBOOT_TOOLS + select BR2_LINUX_KERNEL_DTS_SUPPORT + select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT + +config BR2_LINUX_KERNEL_IMAGE + bool "Image" + depends on BR2_aarch64 || BR2_aarch64_be || BR2_riscv + +config BR2_LINUX_KERNEL_IMAGEGZ + bool "Image.gz" + depends on BR2_aarch64 || BR2_aarch64_be || BR2_riscv + +config BR2_LINUX_KERNEL_LINUX_BIN + bool "linux.bin" + depends on BR2_microblaze + select BR2_PACKAGE_HOST_UBOOT_TOOLS + +config BR2_LINUX_KERNEL_VMLINUX_BIN + bool "vmlinux.bin" + depends on BR2_mips || BR2_mipsel || BR2_sh + +config BR2_LINUX_KERNEL_VMLINUX + bool "vmlinux" + +config BR2_LINUX_KERNEL_VMLINUZ + bool "vmlinuz" + depends on BR2_mips || BR2_mipsel + +config BR2_LINUX_KERNEL_VMLINUZ_BIN + bool "vmlinuz.bin" + depends on BR2_mips || BR2_mipsel + +config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM + bool "custom target" + help + For certain cases a board-specific target image must be + used. For example, on powerPC where the OpenFirmware + description is attached in a board-specific kernel image + target like 'cuImage.mpc8379_rdb'. + + Select this option and specify the make target in "Kernel + image target name". + +endchoice + +# +# Kernel compression format +# + +choice + prompt "Kernel compression format" + help + This selection will just ensure that the correct host tools + are built. The actual compression for the kernel should be + selected in the kernel configuration menu. + +config BR2_LINUX_KERNEL_GZIP + bool "gzip compression" + +config BR2_LINUX_KERNEL_LZ4 + bool "lz4 compression" + +config BR2_LINUX_KERNEL_LZMA + bool "lzma compression" + +config BR2_LINUX_KERNEL_LZO + bool "lzo compression" + +config BR2_LINUX_KERNEL_XZ + bool "xz compression" + +config BR2_LINUX_KERNEL_ZSTD + bool "zstd compression" + +config BR2_LINUX_KERNEL_UNCOMPRESSED + bool "uncompressed" + depends on BR2_s390x + +endchoice + +config BR2_LINUX_KERNEL_IMAGE_TARGET_NAME + string "Kernel image target name" + depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM + help + Specify the kernel make target to build the kernel that you + need. + +config BR2_LINUX_KERNEL_IMAGE_NAME + string "Kernel image name" + depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM + help + The filename of the kernel image, if it is different from + the make target (above). Defaults to + BR2_LINUX_KERNEL_IMAGE_TARGET_NAME. If specified, the + filename is relative to arch/ARCH/boot/. + + If unsure, leave it empty. + +config BR2_LINUX_KERNEL_UIMAGE_LOADADDR + string "load address (for 3.7+ multi-platform image)" + depends on BR2_arm || BR2_armeb + depends on BR2_LINUX_KERNEL_UIMAGE || BR2_LINUX_KERNEL_APPENDED_UIMAGE + help + If your ARM system's Linux kernel is configured with the new + (3.7+) multi-architecture support (CONFIG_ARCH_MULTIPLATFORM=y + in your kernel config), then it is necessary to specify a + kernel load address when building the uImage. This should be a + hexadecimal string beginning with 0x, for example: 0x00008000. + + If unsure, let this option empty. + +config BR2_LINUX_KERNEL_DTS_SUPPORT + bool "Build a Device Tree Blob (DTB)" + help + Compile one or more device tree sources into device tree + blobs. + Select the dts files to compile in the options below. + +if BR2_LINUX_KERNEL_DTS_SUPPORT + +# We have mainly three cases when it comes to device tree support: +# 1) We don't want any support at all. Then the ..DTS_SUPPORT +# variable won't be set +# 2) We want device tree support, so we need the user to enter the +# device tree name or the path to the custom device he uses, but +# the kernel abstracts this from us and only build an image that +# looks like a regular kernel image. In this case, we only need +# to derive the kernel image name from the given device tree +# name, and all the rest is as usual +# 3) We want device tree support, but the kernel requires us to +# build the device tree blob separately. In this case, some +# more logic will be needed. +# The variable below address the second case, were you only want +# limited actions from buildroot. +config BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT + bool "DTB is built by kernel itself" + help + Normally, the device tree(s) to be built have to be passed + explicitly to the kernel build system. For some binary + formats, however, the kernel build system links in the + device tree directly in the kernel binary. Select this option + if you have such a kernel binary format. + +config BR2_LINUX_KERNEL_APPENDED_DTB + bool + +config BR2_LINUX_KERNEL_INTREE_DTS_NAME + string "In-tree Device Tree Source file names" + help + Name of in-tree device tree source file, without + the trailing .dts. You can provide a list of + dts files to build, separated by spaces. + +config BR2_LINUX_KERNEL_CUSTOM_DTS_PATH + string "Out-of-tree Device Tree Source file paths" + help + Paths to out-of-tree Device Tree Source (.dts) and Device Tree + Source Include (.dtsi) files, separated by spaces. These files + will be copied to the kernel sources and the .dts files will + be compiled from there. + +config BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME + bool "Keep the directory name of the Device Tree" + help + If enabled, the device tree blobs keep their + directory prefixes when they get copied to the + output image directory or the target directory. + +config BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT + bool "Build Device Tree with overlay support" + help + If enabled, pass the "-@" option to dtc, such that + symbols are generated in the compiled Device Tree. + Choose this option to support Device Tree overlays + on the target system. + +endif + +config BR2_LINUX_KERNEL_INSTALL_TARGET + bool "Install kernel image to /boot in target" + depends on !BR2_TARGET_ROOTFS_INITRAMFS + help + Select this option to have the kernel image installed to + /boot in the target root filesystem, as is typically done on + x86/x86_64 systems. + + Note that this option also installs the Device Tree Blobs to + /boot if DTBs have been generated by the kernel build + process. + +config BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL + bool "Needs host OpenSSL" + help + Some Linux kernel configuration options (such as + CONFIG_SYSTEM_TRUSTED_KEYRING) require building a host + program called extract-cert, which itself needs + OpenSSL. Enabling this option will ensure host-openssl gets + built before the Linux kernel. + + Enable this option if you get a Linux kernel build failure + such as "scripts/extract-cert.c:21:25: fatal error: + openssl/bio.h: No such file or directory". + +config BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF + bool "Needs host libelf" + help + Some Linux kernel configuration options (such as + CONFIG_UNWINDER_ORC) require building a host program that + needs libelf. Enabling this option will ensure host-elfutils + (which provides libelf) gets built before the Linux kernel. + + Enable this option if you get a Linux kernel build failure + such as "Cannot generate ORC metadata for + CONFIG_UNWINDER_ORC=y, please install libelf-dev, + libelf-devel or elfutils-libelf-devel". + +config BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE + bool "Needs host pahole" + help + Some Linux kernel configuration options (such as + CONFIG_DEBUG_INFO_BTF) require building a host program + called pahole. Enabling this option will ensure host-pahole + gets built before the Linux kernel. + + Enable this option if you get a Linux kernel build failure + such as "BTF: .tmp_vmlinux.btf: pahole (pahole) is not + available". + +# Linux extensions +source "linux/Config.ext.in" + +# Linux tools +source "package/linux-tools/Config.in" + +endif # BR2_LINUX_KERNEL + +endmenu diff --git a/buildroot-2021.05/linux/linux-ext-aufs.mk b/buildroot-2022.02.1/linux/linux-ext-aufs.mk similarity index 100% rename from buildroot-2021.05/linux/linux-ext-aufs.mk rename to buildroot-2022.02.1/linux/linux-ext-aufs.mk diff --git a/buildroot-2021.05/linux/linux-ext-ev3dev-linux-drivers.mk b/buildroot-2022.02.1/linux/linux-ext-ev3dev-linux-drivers.mk similarity index 100% rename from buildroot-2021.05/linux/linux-ext-ev3dev-linux-drivers.mk rename to buildroot-2022.02.1/linux/linux-ext-ev3dev-linux-drivers.mk diff --git a/buildroot-2021.05/linux/linux-ext-fbtft.mk b/buildroot-2022.02.1/linux/linux-ext-fbtft.mk similarity index 100% rename from buildroot-2021.05/linux/linux-ext-fbtft.mk rename to buildroot-2022.02.1/linux/linux-ext-fbtft.mk diff --git a/buildroot-2021.05/linux/linux-ext-rtai.mk b/buildroot-2022.02.1/linux/linux-ext-rtai.mk similarity index 100% rename from buildroot-2021.05/linux/linux-ext-rtai.mk rename to buildroot-2022.02.1/linux/linux-ext-rtai.mk diff --git a/buildroot-2021.05/linux/linux-ext-xenomai.mk b/buildroot-2022.02.1/linux/linux-ext-xenomai.mk similarity index 100% rename from buildroot-2021.05/linux/linux-ext-xenomai.mk rename to buildroot-2022.02.1/linux/linux-ext-xenomai.mk diff --git a/buildroot-2022.02.1/linux/linux.hash b/buildroot-2022.02.1/linux/linux.hash new file mode 100644 index 00000000..cf7ccc5c --- /dev/null +++ b/buildroot-2022.02.1/linux/linux.hash @@ -0,0 +1,18 @@ +# From https://www.kernel.org/pub/linux/kernel/v5.x/sha256sums.asc +sha256 da6d2cfa8b5b82d8a17b032a627fc1c7885097523c32cc8a4294745697d59b7e linux-5.16.19.tar.xz +sha256 c30a17e6090f9ebf2d8ff58cd6c92c7324b1f4a8b3aa6a7f68850310af05a9c4 linux-5.15.33.tar.xz +sha256 dbef6a06325433481551cb8cfca9254d908d0ae950bc809f3da8ade00c485693 linux-5.10.110.tar.xz +sha256 9fbc8bfdc28c9fce2307bdf7cf1172c9819df673397a411c40a5c3d0a570fdbc linux-5.4.188.tar.xz +# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc +sha256 35017bb40b604e0b577fc2b87e727632b46608a2ba3a4f5858b9177f58f376b3 linux-4.4.302.tar.xz +sha256 e86a55a89e1e28756b890b2b78f8b582d05cecb3509ff5c353e9534866468614 linux-4.9.309.tar.xz +sha256 100a9960fb2d8e079c9feeef640715a7fb749ed728a57e427f9e2443212e58f9 linux-4.14.275.tar.xz +sha256 bafff35102cc486ec2bf94c6d908be8e24017b2e4a1873f52f24c855eb220cd8 linux-4.19.237.tar.xz +# Locally computed +sha256 63e6df81c4a747c60eed535ffc2f6f1ddb0c17ec349e860316d9a700c69ab38e linux-cip-5.10.104-cip3.tar.gz +sha256 9a45929d91ebaddbf6a0ef29750775e33d3c3f56f42f0a9e95e77e5b4eba3c6e linux-cip-5.10.104-cip3-rt3.tar.gz + +# Licenses hashes +sha256 fb5a425bd3b3cd6071a3a9aff9909a859e7c1158d54d32e07658398cd67eb6a0 COPYING +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/preferred/GPL-2.0 +sha256 8e378ab93586eb55135d3bc119cce787f7324f48394777d00c34fa3d0be3303f LICENSES/exceptions/Linux-syscall-note diff --git a/buildroot-2022.02.1/linux/linux.mk b/buildroot-2022.02.1/linux/linux.mk new file mode 100644 index 00000000..7ff7b050 --- /dev/null +++ b/buildroot-2022.02.1/linux/linux.mk @@ -0,0 +1,613 @@ +################################################################################ +# +# Linux kernel target +# +################################################################################ + +LINUX_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION)) +LINUX_LICENSE = GPL-2.0 +ifeq ($(BR2_LINUX_KERNEL_LATEST_VERSION),y) +LINUX_LICENSE_FILES = \ + COPYING \ + LICENSES/preferred/GPL-2.0 \ + LICENSES/exceptions/Linux-syscall-note +endif +LINUX_CPE_ID_VENDOR = linux +LINUX_CPE_ID_PRODUCT = linux_kernel +LINUX_CPE_ID_PREFIX = cpe:2.3:o + +# Compute LINUX_SOURCE and LINUX_SITE from the configuration +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_TARBALL),y) +LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION)) +LINUX_SITE = $(patsubst %/,%,$(dir $(LINUX_TARBALL))) +LINUX_SOURCE = $(notdir $(LINUX_TARBALL)) +else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y) +LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) +LINUX_SITE_METHOD = git +else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_HG),y) +LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) +LINUX_SITE_METHOD = hg +else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y) +LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) +LINUX_SITE_METHOD = svn +else ifeq ($(BR2_LINUX_KERNEL_LATEST_CIP_VERSION)$(BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION),y) +LINUX_SOURCE = linux-cip-$(LINUX_VERSION).tar.gz +LINUX_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot +else ifneq ($(findstring -rc,$(LINUX_VERSION)),) +# Since 4.12-rc1, -rc kernels are generated from cgit. This also works for +# older -rc kernels. +LINUX_SITE = https://git.kernel.org/torvalds/t +else +LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz +ifeq ($(findstring x2.6.,x$(LINUX_VERSION)),x2.6.) +LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6 +else +LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v$(firstword $(subst ., ,$(LINUX_VERSION))).x +endif +endif + +ifeq ($(BR2_LINUX_KERNEL)$(BR2_LINUX_KERNEL_LATEST_VERSION),y) +BR_NO_CHECK_HASH_FOR += $(LINUX_SOURCE) +endif + +LINUX_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH)) + +# We have no way to know the hashes for user-supplied patches. +BR_NO_CHECK_HASH_FOR += $(notdir $(LINUX_PATCHES)) + +# We rely on the generic package infrastructure to download and apply +# remote patches (downloaded from ftp, http or https). For local +# patches, we can't rely on that infrastructure, because there might +# be directories in the patch list (unlike for other packages). +LINUX_PATCH = $(filter ftp://% http://% https://%,$(LINUX_PATCHES)) + +# while the kernel is built for the target, the build may need various +# host libraries depending on config (and version), so use +# HOST_MAKE_ENV here. In particular, this ensures that our +# host-pkgconf will look for host libraries and not target ones. +LINUX_MAKE_ENV = \ + $(HOST_MAKE_ENV) \ + BR_BINARIES_DIR=$(BINARIES_DIR) + +LINUX_INSTALL_IMAGES = YES +LINUX_DEPENDENCIES = host-kmod \ + $(if $(BR2_PACKAGE_INTEL_MICROCODE),intel-microcode) \ + $(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) \ + $(if $(BR2_PACKAGE_WIRELESS_REGDB),wireless-regdb) + +# Starting with 4.16, the generated kconfig paser code is no longer +# shipped with the kernel sources, so we need flex and bison, but +# only if the host does not have them. +LINUX_KCONFIG_DEPENDENCIES = \ + $(BR2_BISON_HOST_DEPENDENCY) \ + $(BR2_FLEX_HOST_DEPENDENCY) + +# Starting with 4.18, the kconfig in the kernel calls the +# cross-compiler to check its capabilities. So we need the +# toolchain before we can call the configurators. +LINUX_KCONFIG_DEPENDENCIES += toolchain + +# host tools needed for kernel compression +ifeq ($(BR2_LINUX_KERNEL_LZ4),y) +LINUX_DEPENDENCIES += host-lz4 +else ifeq ($(BR2_LINUX_KERNEL_LZMA),y) +LINUX_DEPENDENCIES += host-lzma +else ifeq ($(BR2_LINUX_KERNEL_LZO),y) +LINUX_DEPENDENCIES += host-lzop +else ifeq ($(BR2_LINUX_KERNEL_XZ),y) +LINUX_DEPENDENCIES += host-xz +else ifeq ($(BR2_LINUX_KERNEL_ZSTD),y) +LINUX_DEPENDENCIES += host-zstd +endif +LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_GZIP) += CONFIG_KERNEL_GZIP +LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZ4) += CONFIG_KERNEL_LZ4 +LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZMA) += CONFIG_KERNEL_LZMA +LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_LZO) += CONFIG_KERNEL_LZO +LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_XZ) += CONFIG_KERNEL_XZ +LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_ZSTD) += CONFIG_KERNEL_ZSTD +LINUX_COMPRESSION_OPT_$(BR2_LINUX_KERNEL_UNCOMPRESSED) += CONFIG_KERNEL_UNCOMPRESSED + +ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL),y) +LINUX_DEPENDENCIES += host-openssl +endif + +ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF),y) +LINUX_DEPENDENCIES += host-elfutils host-pkgconf +endif + +ifeq ($(BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE),y) +LINUX_DEPENDENCIES += host-pahole +else +define LINUX_FIXUP_CONFIG_PAHOLE_CHECK + if grep -q "^CONFIG_DEBUG_INFO_BTF=y" $(KCONFIG_DOT_CONFIG); then \ + echo "To use CONFIG_DEBUG_INFO_BTF, enable host-pahole (BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE)" 1>&2; \ + exit 1; \ + fi +endef +endif + +# If host-uboot-tools is selected by the user, assume it is needed to +# create a custom image +ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS),y) +LINUX_DEPENDENCIES += host-uboot-tools +endif + +ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) +define LINUX_XTENSA_OVERLAY_EXTRACT + $(call arch-xtensa-overlay-extract,$(@D),linux) +endef +LINUX_POST_EXTRACT_HOOKS += LINUX_XTENSA_OVERLAY_EXTRACT +LINUX_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) +endif + +# We don't want to run depmod after installing the kernel. It's done in a +# target-finalize hook, to encompass modules installed by packages. +LINUX_MAKE_FLAGS = \ + HOSTCC="$(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS)" \ + ARCH=$(KERNEL_ARCH) \ + INSTALL_MOD_PATH=$(TARGET_DIR) \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + DEPMOD=$(HOST_DIR)/sbin/depmod + +ifeq ($(BR2_REPRODUCIBLE),y) +LINUX_MAKE_ENV += \ + KBUILD_BUILD_VERSION=1 \ + KBUILD_BUILD_USER=buildroot \ + KBUILD_BUILD_HOST=buildroot \ + KBUILD_BUILD_TIMESTAMP="$(shell LC_ALL=C date -d @$(SOURCE_DATE_EPOCH))" +endif + +# gcc-8 started warning about function aliases that have a +# non-matching prototype. This seems rather useful in general, but it +# causes tons of warnings in the Linux kernel, where we rely on +# abusing those aliases for system call entry points, in order to +# sanitize the arguments passed from user space in registers. +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435 +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y) +LINUX_MAKE_ENV += KCFLAGS=-Wno-attribute-alias +endif + +ifeq ($(BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT),y) +LINUX_MAKE_ENV += DTC_FLAGS=-@ +endif + +# Get the real Linux version, which tells us where kernel modules are +# going to be installed in the target filesystem. +# Filter out 'w' from MAKEFLAGS, to workaround a bug in make 4.1 (#13141) +LINUX_VERSION_PROBED = `MAKEFLAGS='$(filter-out w,$(MAKEFLAGS))' $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) --no-print-directory -s kernelrelease 2>/dev/null` + +LINUX_DTS_NAME += $(call qstrip,$(BR2_LINUX_KERNEL_INTREE_DTS_NAME)) + +# We keep only the .dts files, so that the user can specify both .dts +# and .dtsi files in BR2_LINUX_KERNEL_CUSTOM_DTS_PATH. Both will be +# copied to arch//boot/dts, but only the .dts files will +# actually be generated as .dtb. +LINUX_DTS_NAME += $(basename $(filter %.dts,$(notdir $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_PATH))))) + +LINUX_DTBS = $(addsuffix .dtb,$(LINUX_DTS_NAME)) + +ifeq ($(BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM),y) +LINUX_IMAGE_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_NAME)) +LINUX_TARGET_NAME = $(call qstrip,$(BR2_LINUX_KERNEL_IMAGE_TARGET_NAME)) +ifeq ($(LINUX_IMAGE_NAME),) +LINUX_IMAGE_NAME = $(LINUX_TARGET_NAME) +endif +else +ifeq ($(BR2_LINUX_KERNEL_UIMAGE),y) +LINUX_IMAGE_NAME = uImage +else ifeq ($(BR2_LINUX_KERNEL_APPENDED_UIMAGE),y) +LINUX_IMAGE_NAME = uImage +else ifeq ($(BR2_LINUX_KERNEL_BZIMAGE),y) +LINUX_IMAGE_NAME = bzImage +else ifeq ($(BR2_LINUX_KERNEL_ZIMAGE),y) +LINUX_IMAGE_NAME = zImage +else ifeq ($(BR2_LINUX_KERNEL_ZIMAGE_EPAPR),y) +LINUX_IMAGE_NAME = zImage.epapr +else ifeq ($(BR2_LINUX_KERNEL_APPENDED_ZIMAGE),y) +LINUX_IMAGE_NAME = zImage +else ifeq ($(BR2_LINUX_KERNEL_CUIMAGE),y) +LINUX_IMAGE_NAME = cuImage.$(firstword $(LINUX_DTS_NAME)) +else ifeq ($(BR2_LINUX_KERNEL_SIMPLEIMAGE),y) +LINUX_IMAGE_NAME = simpleImage.$(firstword $(LINUX_DTS_NAME)) +else ifeq ($(BR2_LINUX_KERNEL_IMAGE),y) +LINUX_IMAGE_NAME = Image +else ifeq ($(BR2_LINUX_KERNEL_IMAGEGZ),y) +LINUX_IMAGE_NAME = Image.gz +else ifeq ($(BR2_LINUX_KERNEL_LINUX_BIN),y) +LINUX_IMAGE_NAME = linux.bin +else ifeq ($(BR2_LINUX_KERNEL_VMLINUX_BIN),y) +LINUX_IMAGE_NAME = vmlinux.bin +else ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y) +LINUX_IMAGE_NAME = vmlinux +else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y) +LINUX_IMAGE_NAME = vmlinuz +else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y) +LINUX_IMAGE_NAME = vmlinuz.bin +endif +# The if-else blocks above are all the image types we know of, and all +# come from a Kconfig choice, so we know we have LINUX_IMAGE_NAME set +# to something +LINUX_TARGET_NAME = $(LINUX_IMAGE_NAME) +endif + +LINUX_KERNEL_UIMAGE_LOADADDR = $(call qstrip,$(BR2_LINUX_KERNEL_UIMAGE_LOADADDR)) +ifneq ($(LINUX_KERNEL_UIMAGE_LOADADDR),) +LINUX_MAKE_FLAGS += LOADADDR="$(LINUX_KERNEL_UIMAGE_LOADADDR)" +endif + +# Compute the arch path, since i386 and x86_64 are in arch/x86 and not +# in arch/$(KERNEL_ARCH). Even if the kernel creates symbolic links +# for bzImage, arch/i386 and arch/x86_64 do not exist when copying the +# defconfig file. +ifeq ($(KERNEL_ARCH),i386) +LINUX_ARCH_PATH = $(LINUX_DIR)/arch/x86 +else ifeq ($(KERNEL_ARCH),x86_64) +LINUX_ARCH_PATH = $(LINUX_DIR)/arch/x86 +else ifeq ($(KERNEL_ARCH),sparc64) +LINUX_ARCH_PATH = $(LINUX_DIR)/arch/sparc +else +LINUX_ARCH_PATH = $(LINUX_DIR)/arch/$(KERNEL_ARCH) +endif + +ifeq ($(BR2_LINUX_KERNEL_VMLINUX),y) +LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME) +else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ),y) +LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME) +else ifeq ($(BR2_LINUX_KERNEL_VMLINUZ_BIN),y) +LINUX_IMAGE_PATH = $(LINUX_DIR)/$(LINUX_IMAGE_NAME) +else +LINUX_IMAGE_PATH = $(LINUX_ARCH_PATH)/boot/$(LINUX_IMAGE_NAME) +endif # BR2_LINUX_KERNEL_VMLINUX + +define LINUX_APPLY_LOCAL_PATCHES + for p in $(filter-out ftp://% http://% https://%,$(LINUX_PATCHES)) ; do \ + if test -d $$p ; then \ + $(APPLY_PATCHES) $(@D) $$p \*.patch || exit 1 ; \ + else \ + $(APPLY_PATCHES) $(@D) `dirname $$p` `basename $$p` || exit 1; \ + fi \ + done +endef + +LINUX_POST_PATCH_HOOKS += LINUX_APPLY_LOCAL_PATCHES + +# Older versions break on gcc 10+ because of redefined symbols +define LINUX_DROP_YYLLOC + $(Q)grep -Z -l -r -E '^YYLTYPE yylloc;$$' $(@D) \ + |xargs -0 -r $(SED) '/^YYLTYPE yylloc;$$/d' +endef +LINUX_POST_PATCH_HOOKS += LINUX_DROP_YYLLOC + +# Older linux kernels use deprecated perl constructs in timeconst.pl +# that were removed for perl 5.22+ so it breaks on newer distributions +# Try a dry-run patch to see if this applies, if it does go ahead +define LINUX_TRY_PATCH_TIMECONST + @if patch -p1 --dry-run -f -s -d $(@D) <$(LINUX_PKGDIR)/0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional >/dev/null ; then \ + $(APPLY_PATCHES) $(@D) $(LINUX_PKGDIR) 0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional ; \ + fi +endef +LINUX_POST_PATCH_HOOKS += LINUX_TRY_PATCH_TIMECONST + +LINUX_KERNEL_CUSTOM_LOGO_PATH = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH)) +ifneq ($(LINUX_KERNEL_CUSTOM_LOGO_PATH),) +LINUX_DEPENDENCIES += host-imagemagick +define LINUX_KERNEL_CUSTOM_LOGO_CONVERT + $(HOST_DIR)/bin/convert $(LINUX_KERNEL_CUSTOM_LOGO_PATH) \ + -dither None -colors 224 -compress none \ + $(LINUX_DIR)/drivers/video/logo/logo_linux_clut224.ppm +endef +LINUX_PRE_BUILD_HOOKS += LINUX_KERNEL_CUSTOM_LOGO_CONVERT +endif + +ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) +LINUX_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG))_defconfig +else ifeq ($(BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG),y) +LINUX_KCONFIG_DEFCONFIG = defconfig +else ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) +LINUX_KCONFIG_FILE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE)) +endif +LINUX_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES)) +LINUX_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig + +# LINUX_MAKE_FLAGS overrides HOSTCC to allow the kernel build to find +# our host-openssl and host-libelf. However, this triggers a bug in +# the kconfig build script that causes it to build with +# /usr/include/ncurses.h (which is typically wchar) but link with +# $(HOST_DIR)/lib/libncurses.so (which is not). We don't actually +# need any host-package for kconfig, so remove the HOSTCC override +# again. In addition, even though linux depends on the toolchain and +# therefore host-ccache would be ready, we use HOSTCC_NOCCACHE for +# consistency with other kconfig packages. +LINUX_KCONFIG_OPTS = $(LINUX_MAKE_FLAGS) HOSTCC="$(HOSTCC_NOCCACHE)" + +# If no package has yet set it, set it from the Kconfig option +LINUX_NEEDS_MODULES ?= $(BR2_LINUX_NEEDS_MODULES) + +# Make sure the Linux kernel is built with the right endianness. Not +# all architectures support +# CONFIG_CPU_BIG_ENDIAN/CONFIG_CPU_LITTLE_ENDIAN in Linux, but the +# option will be thrown away and ignored if it doesn't exist. +ifeq ($(BR2_ENDIAN),"BIG") +define LINUX_FIXUP_CONFIG_ENDIANNESS + $(call KCONFIG_ENABLE_OPT,CONFIG_CPU_BIG_ENDIAN) +endef +else +define LINUX_FIXUP_CONFIG_ENDIANNESS + $(call KCONFIG_ENABLE_OPT,CONFIG_CPU_LITTLE_ENDIAN) +endef +endif + +define LINUX_KCONFIG_FIXUP_CMDS + $(if $(LINUX_NEEDS_MODULES), + $(call KCONFIG_ENABLE_OPT,CONFIG_MODULES)) + $(call KCONFIG_ENABLE_OPT,$(strip $(LINUX_COMPRESSION_OPT_y))) + $(foreach opt, $(LINUX_COMPRESSION_OPT_), + $(call KCONFIG_DISABLE_OPT,$(opt)) + ) + $(LINUX_FIXUP_CONFIG_ENDIANNESS) + $(LINUX_FIXUP_CONFIG_PAHOLE_CHECK) + $(if $(BR2_arm)$(BR2_armeb), + $(call KCONFIG_ENABLE_OPT,CONFIG_AEABI)) + $(if $(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le), + $(call KCONFIG_ENABLE_OPT,CONFIG_PPC_DISABLE_WERROR)) + $(if $(BR2_ARC_PAGE_SIZE_4K), + $(call KCONFIG_ENABLE_OPT,CONFIG_ARC_PAGE_SIZE_4K) + $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_8K) + $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_16K)) + $(if $(BR2_ARC_PAGE_SIZE_8K), + $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_4K) + $(call KCONFIG_ENABLE_OPT,CONFIG_ARC_PAGE_SIZE_8K) + $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_16K)) + $(if $(BR2_ARC_PAGE_SIZE_16K), + $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_4K) + $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_PAGE_SIZE_8K) + $(call KCONFIG_ENABLE_OPT,CONFIG_ARC_PAGE_SIZE_16K)) + $(if $(BR2_TARGET_ROOTFS_CPIO), + $(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_INITRD)) + # As the kernel gets compiled before root filesystems are + # built, we create a fake cpio file. It'll be + # replaced later by the real cpio archive, and the kernel will be + # rebuilt using the linux-rebuild-with-initramfs target. + $(if $(BR2_TARGET_ROOTFS_INITRAMFS), + mkdir -p $(BINARIES_DIR) + touch $(BINARIES_DIR)/rootfs.cpio + $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_SOURCE,"$${BR_BINARIES_DIR}/rootfs.cpio") + $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_UID,0) + $(call KCONFIG_SET_OPT,CONFIG_INITRAMFS_ROOT_GID,0)) + $(if $(BR2_ROOTFS_DEVICE_CREATION_STATIC),, + $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS) + $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS_MOUNT)) + $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV), + $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER)) + $(if $(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV), + $(call KCONFIG_ENABLE_OPT,CONFIG_NET)) + $(if $(BR2_LINUX_KERNEL_APPENDED_DTB), + $(call KCONFIG_ENABLE_OPT,CONFIG_ARM_APPENDED_DTB)) + $(if $(LINUX_KERNEL_CUSTOM_LOGO_PATH), + $(call KCONFIG_ENABLE_OPT,CONFIG_FB) + $(call KCONFIG_ENABLE_OPT,CONFIG_LOGO) + $(call KCONFIG_ENABLE_OPT,CONFIG_LOGO_LINUX_CLUT224)) + $(call KCONFIG_DISABLE_OPT,CONFIG_GCC_PLUGINS) + $(PACKAGES_LINUX_CONFIG_FIXUPS) +endef + +ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT),y) +# Starting with 4.17, the generated dtc parser code is no longer +# shipped with the kernel sources, so we need flex and bison. For +# reproducibility, we use our owns rather than the host ones. +LINUX_DEPENDENCIES += host-bison host-flex + +ifeq ($(BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT),) +define LINUX_BUILD_DTB + $(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_DTBS) +endef +ifeq ($(BR2_LINUX_KERNEL_APPENDED_DTB),) +define LINUX_INSTALL_DTB + # dtbs moved from arch//boot to arch//boot/dts since 3.8-rc1 + $(foreach dtb,$(LINUX_DTBS), \ + install -D \ + $(or $(wildcard $(LINUX_ARCH_PATH)/boot/dts/$(dtb)),$(LINUX_ARCH_PATH)/boot/$(dtb)) \ + $(1)/$(if $(BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME),$(dtb),$(notdir $(dtb))) + ) +endef +endif # BR2_LINUX_KERNEL_APPENDED_DTB +endif # BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT +endif # BR2_LINUX_KERNEL_DTS_SUPPORT + +ifeq ($(BR2_LINUX_KERNEL_APPENDED_DTB),y) +# dtbs moved from arch/$ARCH/boot to arch/$ARCH/boot/dts since 3.8-rc1 +define LINUX_APPEND_DTB + (cd $(LINUX_ARCH_PATH)/boot; \ + for dtb in $(LINUX_DTS_NAME); do \ + if test -e $${dtb}.dtb ; then \ + dtbpath=$${dtb}.dtb ; \ + else \ + dtbpath=dts/$${dtb}.dtb ; \ + fi ; \ + cat zImage $${dtbpath} > zImage.$${dtb} || exit 1; \ + done) +endef +ifeq ($(BR2_LINUX_KERNEL_APPENDED_UIMAGE),y) +# We need to generate a new u-boot image that takes into +# account the extra-size added by the device tree at the end +# of the image. To do so, we first need to retrieve both load +# address and entry point for the kernel from the already +# generate uboot image before using mkimage -l. +LINUX_APPEND_DTB += ; \ + MKIMAGE_ARGS=`$(MKIMAGE) -l $(LINUX_IMAGE_PATH) |\ + sed -n -e 's/Image Name:[ ]*\(.*\)/-n \1/p' -e 's/Load Address:/-a/p' -e 's/Entry Point:/-e/p'`; \ + for dtb in $(LINUX_DTS_NAME); do \ + $(MKIMAGE) -A $(MKIMAGE_ARCH) -O linux \ + -T kernel -C none $${MKIMAGE_ARGS} \ + -d $(LINUX_ARCH_PATH)/boot/zImage.$${dtb} $(LINUX_IMAGE_PATH).$${dtb}; \ + done +endif +endif + +# Compilation. We make sure the kernel gets rebuilt when the +# configuration has changed. We call the 'all' and +# '$(LINUX_TARGET_NAME)' targets separately because calling them in +# the same $(MAKE) invocation has shown to cause parallel build +# issues. +# The call to disable gcc-plugins is a stop-gap measure: +# http://lists.busybox.net/pipermail/buildroot/2020-May/282727.html +define LINUX_BUILD_CMDS + $(call KCONFIG_DISABLE_OPT,CONFIG_GCC_PLUGINS) + $(foreach dts,$(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_PATH)), \ + cp -f $(dts) $(LINUX_ARCH_PATH)/boot/dts/ + ) + $(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) all + $(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME) + $(LINUX_BUILD_DTB) + $(LINUX_APPEND_DTB) +endef + +ifeq ($(BR2_LINUX_KERNEL_APPENDED_DTB),y) +# When a DTB was appended, install the potential several images with +# appended DTBs. +define LINUX_INSTALL_IMAGE + mkdir -p $(1) + cp $(LINUX_ARCH_PATH)/boot/$(LINUX_IMAGE_NAME).* $(1) +endef +else +# Otherwise, just install the unique image generated by the kernel +# build process. +define LINUX_INSTALL_IMAGE + $(INSTALL) -m 0644 -D $(LINUX_IMAGE_PATH) $(1)/$(notdir $(LINUX_IMAGE_NAME)) +endef +endif + +ifeq ($(BR2_LINUX_KERNEL_INSTALL_TARGET),y) +define LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET + $(call LINUX_INSTALL_IMAGE,$(TARGET_DIR)/boot) + $(call LINUX_INSTALL_DTB,$(TARGET_DIR)/boot) +endef +endif + +define LINUX_INSTALL_HOST_TOOLS + # Installing dtc (device tree compiler) as host tool, if selected + if grep -q "CONFIG_DTC=y" $(@D)/.config; then \ + $(INSTALL) -D -m 0755 $(@D)/scripts/dtc/dtc $(HOST_DIR)/bin/linux-dtc ; \ + $(if $(BR2_PACKAGE_HOST_DTC),,ln -sf linux-dtc $(HOST_DIR)/bin/dtc;) \ + fi +endef + +define LINUX_INSTALL_IMAGES_CMDS + $(call LINUX_INSTALL_IMAGE,$(BINARIES_DIR)) + $(call LINUX_INSTALL_DTB,$(BINARIES_DIR)) +endef + +ifeq ($(BR2_STRIP_strip),y) +LINUX_MAKE_FLAGS += INSTALL_MOD_STRIP=1 +endif + +define LINUX_INSTALL_TARGET_CMDS + $(LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET) + # Install modules and remove symbolic links pointing to build + # directories, not relevant on the target + @if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \ + $(LINUX_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) modules_install; \ + rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/build ; \ + rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/source ; \ + fi + $(LINUX_INSTALL_HOST_TOOLS) +endef + +# Run depmod in a target-finalize hook, to encompass modules installed by +# packages. +define LINUX_RUN_DEPMOD + if test -d $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED) \ + && grep -q "CONFIG_MODULES=y" $(LINUX_DIR)/.config; then \ + $(HOST_DIR)/sbin/depmod -a -b $(TARGET_DIR) $(LINUX_VERSION_PROBED); \ + fi +endef +LINUX_TARGET_FINALIZE_HOOKS += LINUX_RUN_DEPMOD + +# Include all our extensions. +# +# Note: our package infrastructure uses the full-path of the last-scanned +# Makefile to determine what package we're currently defining, using the +# last directory component in the path. Additionally, the full path of +# the package directory is also stored in _PKGDIR (e.g. to find patches) +# +# As such, including other Makefiles, like below, before we call one of +# the *-package macros usually doesn't work. +# +# However, by including the in-tree extensions after the ones from the +# br2-external trees, we're back to the situation where the last Makefile +# scanned *is* included from the correct directory. +# +# NOTE: this is very fragile, and extra care must be taken to ensure that +# we always end up with an in-tree included file. That's mostly OK, because +# we do have in-tree linux-extensions. +# +include $(sort $(wildcard $(foreach ext,$(BR2_EXTERNAL_DIRS), \ + $(ext)/linux/linux-ext-*.mk))) +include $(sort $(wildcard linux/linux-ext-*.mk)) + +LINUX_PATCH_DEPENDENCIES += $(foreach ext,$(LINUX_EXTENSIONS),\ + $(if $(BR2_LINUX_KERNEL_EXT_$(call UPPERCASE,$(ext))),$(ext))) + +LINUX_PRE_PATCH_HOOKS += $(foreach ext,$(LINUX_EXTENSIONS),\ + $(if $(BR2_LINUX_KERNEL_EXT_$(call UPPERCASE,$(ext))),\ + $(call UPPERCASE,$(ext))_PREPARE_KERNEL)) + +# Checks to give errors that the user can understand + +# When a custom repository has been set, check for the repository version +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN)$(BR2_LINUX_KERNEL_CUSTOM_GIT)$(BR2_LINUX_KERNEL_CUSTOM_HG),y) +ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION)),) +$(error No custom repository version set. Check your BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION setting) +endif +ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)),) +$(error No custom repo URL set. Check your BR2_LINUX_KERNEL_CUSTOM_REPO_URL setting) +endif +endif + +ifeq ($(BR_BUILDING),y) + +ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y) +ifeq ($(LINUX_VERSION),) +$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting) +endif +endif + +ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y) +# We must use the user-supplied kconfig value, because +# LINUX_KCONFIG_DEFCONFIG will at least contain the +# trailing _defconfig +ifeq ($(call qstrip,$(BR2_LINUX_KERNEL_DEFCONFIG)),) +$(error No kernel defconfig name specified, check your BR2_LINUX_KERNEL_DEFCONFIG setting) +endif +endif + +ifeq ($(BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG),y) +ifeq ($(LINUX_KCONFIG_FILE),) +$(error No kernel configuration file specified, check your BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE setting) +endif +endif + +ifeq ($(BR2_LINUX_KERNEL_DTS_SUPPORT):$(strip $(LINUX_DTS_NAME)),y:) +$(error No kernel device tree source specified, check your \ + BR2_LINUX_KERNEL_INTREE_DTS_NAME / BR2_LINUX_KERNEL_CUSTOM_DTS_PATH settings) +endif + +endif # BR_BUILDING + +$(eval $(kconfig-package)) + +# Support for rebuilding the kernel after the cpio archive has +# been generated. +.PHONY: linux-rebuild-with-initramfs +linux-rebuild-with-initramfs: $(LINUX_DIR)/.stamp_target_installed +linux-rebuild-with-initramfs: $(LINUX_DIR)/.stamp_images_installed +linux-rebuild-with-initramfs: rootfs-cpio +linux-rebuild-with-initramfs: + @$(call MESSAGE,"Rebuilding kernel with initramfs") + # Build the kernel. + $(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(LINUX_DIR) $(LINUX_TARGET_NAME) + $(LINUX_APPEND_DTB) + # Copy the kernel image(s) to its(their) final destination + $(call LINUX_INSTALL_IMAGE,$(BINARIES_DIR)) + # If there is a .ub file copy it to the final destination + test ! -f $(LINUX_IMAGE_PATH).ub || cp $(LINUX_IMAGE_PATH).ub $(BINARIES_DIR) diff --git a/buildroot-2021.05/package/18xx-ti-utils/0001-plt.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/18xx-ti-utils/0001-plt.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/18xx-ti-utils/0001-plt.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/18xx-ti-utils/0001-plt.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/18xx-ti-utils/18xx-ti-utils.hash b/buildroot-2022.02.1/package/18xx-ti-utils/18xx-ti-utils.hash similarity index 100% rename from buildroot-2021.05/package/18xx-ti-utils/18xx-ti-utils.hash rename to buildroot-2022.02.1/package/18xx-ti-utils/18xx-ti-utils.hash diff --git a/buildroot-2021.05/package/18xx-ti-utils/18xx-ti-utils.mk b/buildroot-2022.02.1/package/18xx-ti-utils/18xx-ti-utils.mk similarity index 100% rename from buildroot-2021.05/package/18xx-ti-utils/18xx-ti-utils.mk rename to buildroot-2022.02.1/package/18xx-ti-utils/18xx-ti-utils.mk diff --git a/buildroot-2021.05/package/18xx-ti-utils/Config.in b/buildroot-2022.02.1/package/18xx-ti-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/18xx-ti-utils/Config.in rename to buildroot-2022.02.1/package/18xx-ti-utils/Config.in diff --git a/buildroot-2021.05/package/4th/0001-avoid-regen-during-install.patch b/buildroot-2022.02.1/package/4th/0001-avoid-regen-during-install.patch similarity index 100% rename from buildroot-2021.05/package/4th/0001-avoid-regen-during-install.patch rename to buildroot-2022.02.1/package/4th/0001-avoid-regen-during-install.patch diff --git a/buildroot-2022.02.1/package/4th/4th.hash b/buildroot-2022.02.1/package/4th/4th.hash new file mode 100644 index 00000000..ae08a6bf --- /dev/null +++ b/buildroot-2022.02.1/package/4th/4th.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 c0905e92316c151224858fcfff21c143c85efa4f9f1b2ade3c64cfd988e0a6a8 4th-3.64.0-unix.tar.gz +sha256 8c6111b645a02219579ea66e84aa8e78a0ed4f4dd80857ffb91bcda5528717d4 COPYING diff --git a/buildroot-2022.02.1/package/4th/4th.mk b/buildroot-2022.02.1/package/4th/4th.mk new file mode 100644 index 00000000..d031c0e4 --- /dev/null +++ b/buildroot-2022.02.1/package/4th/4th.mk @@ -0,0 +1,70 @@ +################################################################################ +# +# 4th +# +################################################################################ + +4TH_VERSION = 3.64.0 +4TH_SOURCE = 4th-$(4TH_VERSION)-unix.tar.gz +4TH_SITE = http://downloads.sourceforge.net/project/forth-4th/4th-$(4TH_VERSION) +4TH_LICENSE = GPL-3.0+, LGPL-3.0+ +# The COPYING file only contains the text of the LGPL-3.0, but the +# source code really contains parts under GPL-3.0+. +4TH_LICENSE_FILES = COPYING +4TH_DEPENDENCIES = host-4th +4TH_INSTALL_STAGING = YES + +4TH_CFLAGS = $(TARGET_CFLAGS) -DUNIX -fsigned-char + +ifeq ($(BR2_STATIC_LIBS),y) +4TH_MAKE_ENV = $(TARGET_MAKE_ENV) STATIC=1 +else +4TH_MAKE_ENV = $(TARGET_MAKE_ENV) SHARED=1 +4TH_CFLAGS += -fPIC +endif + +define 4TH_BUILD_CMDS + $(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources all \ + CROSS="$(TARGET_CROSS)" \ + CFLAGS="$(4TH_CFLAGS)" \ + FOURTH=$(HOST_DIR)/bin/4th +endef + +define 4TH_INSTALL_STAGING_CMDS + $(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources libinstall \ + LIBRARIES=$(STAGING_DIR)/usr/lib + $(INSTALL) -D -m 0644 $(@D)/sources/4th.h \ + $(STAGING_DIR)/usr/include/4th.h +endef + +define 4TH_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/bin + mkdir -p $(TARGET_DIR)/usr/lib + $(4TH_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \ + BINARIES=$(TARGET_DIR)/usr/bin \ + LIBRARIES=$(TARGET_DIR)/usr/lib + mkdir -p $(TARGET_DIR)/usr/share/4th/lib + cp -dpf $(@D)/4th/*.4th $(TARGET_DIR)/usr/share/4th + cp -dpf $(@D)/4th/lib/*.4th $(TARGET_DIR)/usr/share/4th/lib + mkdir -p $(TARGET_DIR)/usr/share/4th/demo + cp -dpf $(@D)/4th/demo/*.4th $(TARGET_DIR)/usr/share/4th/demo + mkdir -p $(TARGET_DIR)/usr/share/4th/4pp/lib + cp -dpf $(@D)/4th/4pp/*.4pp $(TARGET_DIR)/usr/share/4th/4pp + cp -dpf $(@D)/4th/4pp/lib/*.4pp $(TARGET_DIR)/usr/share/4th/4pp/lib +endef + +define HOST_4TH_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources all \ + CFLAGS="$(HOST_CFLAGS) -DUNIX -fsigned-char" +endef + +define HOST_4TH_INSTALL_CMDS + mkdir -p $(HOST_DIR)/bin + mkdir -p $(HOST_DIR)/lib + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sources mostlyinstall \ + BINARIES=$(HOST_DIR)/bin \ + LIBRARIES=$(HOST_DIR)/lib +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/4th/Config.in b/buildroot-2022.02.1/package/4th/Config.in similarity index 100% rename from buildroot-2021.05/package/4th/Config.in rename to buildroot-2022.02.1/package/4th/Config.in diff --git a/buildroot-2022.02.1/package/Config.in b/buildroot-2022.02.1/package/Config.in new file mode 100644 index 00000000..517e66cc --- /dev/null +++ b/buildroot-2022.02.1/package/Config.in @@ -0,0 +1,2621 @@ +menu "Target packages" + + source "package/busybox/Config.in" + source "package/skeleton/Config.in" + source "package/skeleton-custom/Config.in" + source "package/skeleton-init-common/Config.in" + source "package/skeleton-init-none/Config.in" + source "package/skeleton-init-openrc/Config.in" + source "package/skeleton-init-systemd/Config.in" + source "package/skeleton-init-sysv/Config.in" + +menu "Audio and video applications" + source "package/alsa-utils/Config.in" + source "package/atest/Config.in" + source "package/aumix/Config.in" + source "package/bluez-alsa/Config.in" + source "package/dvblast/Config.in" + source "package/dvdauthor/Config.in" + source "package/dvdrw-tools/Config.in" + source "package/espeak/Config.in" + source "package/faad2/Config.in" + source "package/ffmpeg/Config.in" + source "package/flac/Config.in" + source "package/flite/Config.in" + source "package/fluid-soundfont/Config.in" + source "package/fluidsynth/Config.in" + source "package/gmrender-resurrect/Config.in" + source "package/gstreamer1/Config.in" + source "package/jack1/Config.in" + source "package/jack2/Config.in" + source "package/kodi/Config.in" + source "package/lame/Config.in" + source "package/madplay/Config.in" + source "package/mimic/Config.in" + source "package/minimodem/Config.in" + source "package/miraclecast/Config.in" + source "package/mjpegtools/Config.in" + source "package/modplugtools/Config.in" + source "package/motion/Config.in" + source "package/mpd/Config.in" + source "package/mpd-mpc/Config.in" + source "package/mpg123/Config.in" + source "package/mpv/Config.in" + source "package/multicat/Config.in" + source "package/musepack/Config.in" + source "package/ncmpc/Config.in" + source "package/omxplayer/Config.in" + source "package/on2-8170-libs/Config.in" + source "package/opus-tools/Config.in" + source "package/pulseaudio/Config.in" + source "package/sox/Config.in" + source "package/squeezelite/Config.in" + source "package/tovid/Config.in" + source "package/tstools/Config.in" + source "package/twolame/Config.in" + source "package/udpxy/Config.in" + source "package/upmpdcli/Config.in" + source "package/v4l2grab/Config.in" + source "package/v4l2loopback/Config.in" + source "package/vlc/Config.in" + source "package/vorbis-tools/Config.in" + source "package/wavpack/Config.in" + source "package/yavta/Config.in" + source "package/ympd/Config.in" + source "package/zynaddsubfx/Config.in" +endmenu + +menu "Compressors and decompressors" + source "package/brotli/Config.in" + source "package/bzip2/Config.in" + source "package/gzip/Config.in" + source "package/lrzip/Config.in" + source "package/lzip/Config.in" + source "package/lzop/Config.in" + source "package/p7zip/Config.in" + source "package/pigz/Config.in" + source "package/pixz/Config.in" + source "package/unrar/Config.in" + source "package/unzip/Config.in" + source "package/xz/Config.in" + source "package/zip/Config.in" + source "package/zstd/Config.in" +endmenu + +menu "Debugging, profiling and benchmark" + source "package/babeltrace2/Config.in" + source "package/blktrace/Config.in" + source "package/bonnie/Config.in" + source "package/bpftool/Config.in" + source "package/cache-calibrator/Config.in" + source "package/clinfo/Config.in" + source "package/coremark/Config.in" + source "package/coremark-pro/Config.in" + source "package/dacapo/Config.in" + source "package/delve/Config.in" + source "package/dhrystone/Config.in" + source "package/dieharder/Config.in" + source "package/dmalloc/Config.in" + source "package/dropwatch/Config.in" + source "package/dstat/Config.in" + source "package/dt/Config.in" + source "package/duma/Config.in" + source "package/fio/Config.in" + source "package/fwts/Config.in" + source "package/gdb/Config.in" + source "package/google-breakpad/Config.in" + source "package/iozone/Config.in" + source "package/kexec/Config.in" + source "package/kexec-lite/Config.in" + source "package/ktap/Config.in" + source "package/kvm-unit-tests/Config.in" + source "package/kyua/Config.in" + source "package/latencytop/Config.in" + source "package/libbpf/Config.in" + source "package/lmbench/Config.in" + source "package/lsof/Config.in" + source "package/ltp-testsuite/Config.in" + source "package/ltrace/Config.in" + source "package/lttng-babeltrace/Config.in" + source "package/lttng-modules/Config.in" + source "package/lttng-tools/Config.in" + source "package/mcelog/Config.in" + source "package/memstat/Config.in" + source "package/netperf/Config.in" + source "package/netsniff-ng/Config.in" + source "package/nmon/Config.in" + source "package/oprofile/Config.in" + source "package/pax-utils/Config.in" + source "package/pcm-tools/Config.in" + source "package/piglit/Config.in" + source "package/ply/Config.in" + source "package/poke/Config.in" + source "package/ptm2human/Config.in" + source "package/pv/Config.in" + source "package/racehound/Config.in" + source "package/ramsmp/Config.in" + source "package/ramspeed/Config.in" + source "package/rt-tests/Config.in" + source "package/rwmem/Config.in" + source "package/sentry-native/Config.in" + source "package/spidev_test/Config.in" + source "package/strace/Config.in" + source "package/stress/Config.in" + source "package/stress-ng/Config.in" + source "package/sysdig/Config.in" + source "package/sysprof/Config.in" + source "package/tcf-agent/Config.in" + source "package/tinymembench/Config.in" + source "package/trace-cmd/Config.in" + source "package/trinity/Config.in" + source "package/uclibc-ng-test/Config.in" + source "package/uftrace/Config.in" + source "package/valgrind/Config.in" + source "package/vmtouch/Config.in" + source "package/whetstone/Config.in" +endmenu + +menu "Development tools" + source "package/bats-core/Config.in" + source "package/binutils/Config.in" + source "package/bitwise/Config.in" + source "package/bsdiff/Config.in" + source "package/bustle/Config.in" + source "package/check/Config.in" + source "package/cmake/Config.in" + source "package/cppunit/Config.in" + source "package/cukinia/Config.in" + source "package/cunit/Config.in" + source "package/cvs/Config.in" + source "package/cxxtest/Config.in" + source "package/diffutils/Config.in" + source "package/dos2unix/Config.in" + source "package/findutils/Config.in" + source "package/flex/Config.in" + source "package/gawk/Config.in" + source "package/gettext/Config.in" + source "package/gettext-gnu/Config.in" + source "package/gettext-tiny/Config.in" + source "package/git/Config.in" + source "package/git-crypt/Config.in" + source "package/gperf/Config.in" + source "package/grep/Config.in" + source "package/jo/Config.in" + source "package/jq/Config.in" + source "package/libtool/Config.in" + source "package/make/Config.in" + source "package/mawk/Config.in" + source "package/patch/Config.in" + source "package/pkgconf/Config.in" + source "package/ripgrep/Config.in" + source "package/sed/Config.in" + source "package/subversion/Config.in" + source "package/tree/Config.in" + source "package/yasm/Config.in" +endmenu + +menu "Filesystem and flash utilities" + source "package/abootimg/Config.in" + source "package/aufs/Config.in" + source "package/aufs-util/Config.in" + source "package/autofs/Config.in" + source "package/bmap-tools/Config.in" + source "package/btrfs-progs/Config.in" + source "package/cifs-utils/Config.in" + source "package/cpio/Config.in" + source "package/cramfs/Config.in" + source "package/curlftpfs/Config.in" + source "package/davfs2/Config.in" + source "package/dosfstools/Config.in" + source "package/e2fsprogs/Config.in" + source "package/e2tools/Config.in" + source "package/ecryptfs-utils/Config.in" + source "package/erofs-utils/Config.in" + source "package/exfat/Config.in" + source "package/exfat-utils/Config.in" + source "package/exfatprogs/Config.in" + source "package/f2fs-tools/Config.in" + source "package/firmware-utils/Config.in" + source "package/flashbench/Config.in" + source "package/fscryptctl/Config.in" + source "package/fuse-overlayfs/Config.in" + source "package/fwup/Config.in" + source "package/genext2fs/Config.in" + source "package/genpart/Config.in" + source "package/genromfs/Config.in" + source "package/gocryptfs/Config.in" + source "package/imx-usb-loader/Config.in" + source "package/mmc-utils/Config.in" + source "package/mtd/Config.in" + source "package/mtools/Config.in" + source "package/nfs-utils/Config.in" + source "package/nilfs-utils/Config.in" + source "package/ntfs-3g/Config.in" + source "package/sp-oops-extract/Config.in" + source "package/squashfs/Config.in" + source "package/sshfs/Config.in" + source "package/sunxi-tools/Config.in" + source "package/udftools/Config.in" + source "package/unionfs/Config.in" + source "package/xfsprogs/Config.in" + source "package/zfs/Config.in" +endmenu + +menu "Fonts, cursors, icons, sounds and themes" + +comment "Cursors" + source "package/comix-cursors/Config.in" + source "package/obsidian-cursors/Config.in" + +comment "Fonts" + source "package/bitstream-vera/Config.in" + source "package/cantarell/Config.in" + source "package/dejavu/Config.in" + source "package/font-awesome/Config.in" + source "package/ghostscript-fonts/Config.in" + source "package/inconsolata/Config.in" + source "package/liberation/Config.in" + source "package/wqy-zenhei/Config.in" + +comment "Icons" + source "package/adwaita-icon-theme/Config.in" + source "package/google-material-design-icons/Config.in" + source "package/hicolor-icon-theme/Config.in" + +comment "Sounds" + source "package/sound-theme-borealis/Config.in" + source "package/sound-theme-freedesktop/Config.in" + +comment "Themes" + source "package/gtk2-engines/Config.in" + +endmenu + +menu "Games" + source "package/ascii-invaders/Config.in" + source "package/chocolate-doom/Config.in" + source "package/doom-wad/Config.in" + source "package/flare-engine/Config.in" + source "package/flare-game/Config.in" + source "package/frotz/Config.in" + source "package/gnuchess/Config.in" + source "package/lbreakout2/Config.in" + source "package/ltris/Config.in" + source "package/lugaru/Config.in" + source "package/minetest/Config.in" + source "package/minetest-game/Config.in" + source "package/opentyrian/Config.in" + source "package/opentyrian-data/Config.in" + source "package/prboom/Config.in" + source "package/rubix/Config.in" + source "package/sl/Config.in" + source "package/solarus/Config.in" + source "package/stella/Config.in" + source "package/supertux/Config.in" + source "package/supertuxkart/Config.in" + source "package/xorcurses/Config.in" +endmenu + +menu "Graphic libraries and applications (graphic/text)" + +comment "Graphic applications" + source "package/cage/Config.in" + source "package/cog/Config.in" + source "package/fswebcam/Config.in" + source "package/ghostscript/Config.in" + source "package/glmark2/Config.in" + source "package/glslsandbox-player/Config.in" + source "package/gnuplot/Config.in" + source "package/jhead/Config.in" + source "package/kmscube/Config.in" + source "package/libva-utils/Config.in" + source "package/mesa3d-demos/Config.in" + source "package/midori/Config.in" + source "package/netsurf/Config.in" + source "package/pngquant/Config.in" + source "package/qt5cinex/Config.in" + source "package/rrdtool/Config.in" + source "package/stellarium/Config.in" + source "package/tesseract-ocr/Config.in" + source "package/tinifier/Config.in" + +comment "Graphic libraries" + source "package/cegui/Config.in" + source "package/directfb/Config.in" + source "package/directfb-examples/Config.in" + source "package/efl/Config.in" + source "package/fb-test-app/Config.in" + source "package/fbdump/Config.in" + source "package/fbgrab/Config.in" + source "package/fbset/Config.in" + source "package/fbterm/Config.in" + source "package/fbv/Config.in" + source "package/freerdp/Config.in" + source "package/graphicsmagick/Config.in" + source "package/imagemagick/Config.in" + source "package/libglvnd/Config.in" + source "package/linux-fusion/Config.in" + source "package/lite/Config.in" + source "package/mesa3d/Config.in" + source "package/mesa3d-headers/Config.in" + source "package/ocrad/Config.in" + source "package/ogre/Config.in" + source "package/psplash/Config.in" + source "package/sdl/Config.in" + source "package/sdl_gfx/Config.in" + source "package/sdl_image/Config.in" + source "package/sdl_mixer/Config.in" + source "package/sdl_net/Config.in" + source "package/sdl_sound/Config.in" + source "package/sdl_ttf/Config.in" + source "package/sdl2/Config.in" + source "package/sdl2_gfx/Config.in" + source "package/sdl2_image/Config.in" + source "package/sdl2_mixer/Config.in" + source "package/sdl2_net/Config.in" + source "package/sdl2_ttf/Config.in" + source "package/tk/Config.in" + source "package/vulkan-headers/Config.in" + +comment "Other GUIs" + source "package/qt5/Config.in" +if BR2_PACKAGE_QT5 +comment "QT libraries and helper libraries" + source "package/cutelyst/Config.in" + source "package/grantlee/Config.in" + source "package/kf5/Config.in" + source "package/qextserialport/Config.in" + source "package/qjson/Config.in" + source "package/quazip/Config.in" + source "package/qwt/Config.in" + source "package/simple-mail/Config.in" +endif + source "package/tekui/Config.in" + source "package/weston/Config.in" + source "package/x11r7/Config.in" + +comment "X applications" + depends on BR2_PACKAGE_XORG7 + + source "package/alsamixergui/Config.in" + source "package/apitrace/Config.in" + source "package/dillo/Config.in" + source "package/docker/Config.in" + source "package/feh/Config.in" + source "package/gmpc/Config.in" + source "package/gtkperf/Config.in" + source "package/leafpad/Config.in" + source "package/mupdf/Config.in" + source "package/nodm/Config.in" + source "package/pcmanfm/Config.in" + source "package/qt-webkit-kiosk/Config.in" + source "package/rdesktop/Config.in" + source "package/synergy/Config.in" + source "package/vte/Config.in" + source "package/wmctrl/Config.in" + source "package/x11vnc/Config.in" + source "package/xdotool/Config.in" + source "package/xscreensaver/Config.in" + source "package/xterm/Config.in" + source "package/xvkbd/Config.in" + source "package/yad/Config.in" + +comment "X libraries and helper libraries" + depends on BR2_PACKAGE_XORG7 + + source "package/libsexy/Config.in" + source "package/x11r7/xkeyboard-config/Config.in" + +comment "X window managers" + depends on BR2_PACKAGE_XORG7 + + source "package/enlightenment/Config.in" + source "package/fluxbox/Config.in" + source "package/matchbox/Config.in" + source "package/metacity/Config.in" + source "package/openbox/Config.in" + source "package/ratpoison/Config.in" +endmenu + +menu "Hardware handling" +menu "Firmware" + source "package/am33x-cm3/Config.in" + source "package/armbian-firmware/Config.in" + source "package/b43-firmware/Config.in" + source "package/brcmfmac_sdio-firmware-rpi/Config.in" + source "package/linux-firmware/Config.in" + source "package/murata-cyw-fw/Config.in" + source "package/odroidc2-firmware/Config.in" + source "package/qcom-db410c-firmware/Config.in" + source "package/rcw-smarc-sal28/Config.in" + source "package/rpi-firmware/Config.in" + source "package/sunxi-boards/Config.in" + source "package/ts4900-fpga/Config.in" + source "package/ux500-firmware/Config.in" + source "package/wilc1000-firmware/Config.in" + source "package/wilink-bt-firmware/Config.in" + source "package/zd1211-firmware/Config.in" +endmenu + source "package/18xx-ti-utils/Config.in" + source "package/a10disp/Config.in" + source "package/acpica/Config.in" + source "package/acpid/Config.in" + source "package/acpitool/Config.in" + source "package/aer-inject/Config.in" + source "package/altera-stapl/Config.in" + source "package/am335x-pru-package/Config.in" + source "package/apcupsd/Config.in" + source "package/avrdude/Config.in" + source "package/bcache-tools/Config.in" + source "package/biosdevname/Config.in" + source "package/brickd/Config.in" + source "package/brltty/Config.in" + source "package/cbootimage/Config.in" + source "package/cc-tool/Config.in" + source "package/cdrkit/Config.in" + source "package/cpuburn-arm/Config.in" + source "package/cryptsetup/Config.in" + source "package/cwiid/Config.in" + source "package/dahdi-linux/Config.in" + source "package/dahdi-tools/Config.in" + source "package/davinci-bootcount/Config.in" + source "package/dbus/Config.in" + source "package/dbus-cpp/Config.in" + source "package/dbus-cxx/Config.in" + source "package/dbus-glib/Config.in" + source "package/dbus-python/Config.in" + source "package/dbus-triggerd/Config.in" + source "package/dfu-util/Config.in" + source "package/dmidecode/Config.in" + source "package/dmraid/Config.in" + source "package/dt-utils/Config.in" + source "package/dtbocfg/Config.in" + source "package/dtv-scan-tables/Config.in" + source "package/dump1090/Config.in" + source "package/dvb-apps/Config.in" + source "package/dvbsnoop/Config.in" + source "package/edid-decode/Config.in" + source "package/edk2-platforms/Config.in" + source "package/eudev/Config.in" + source "package/ev3dev-linux-drivers/Config.in" + source "package/evemu/Config.in" + source "package/evtest/Config.in" + source "package/fan-ctrl/Config.in" + source "package/fbtft/Config.in" + source "package/fconfig/Config.in" + source "package/flashrom/Config.in" + source "package/fmtools/Config.in" + source "package/freeipmi/Config.in" + source "package/freescale-imx/Config.in" + source "package/fxload/Config.in" + source "package/gcnano-binaries/Config.in" + source "package/gpm/Config.in" + source "package/gpsd/Config.in" + source "package/gptfdisk/Config.in" + source "package/gvfs/Config.in" + source "package/hdparm/Config.in" + source "package/hwdata/Config.in" + source "package/hwloc/Config.in" + source "package/i2c-tools/Config.in" + source "package/i7z/Config.in" + source "package/input-event-daemon/Config.in" + source "package/intel-microcode/Config.in" + source "package/ipmitool/Config.in" + source "package/ipmiutil/Config.in" + source "package/irda-utils/Config.in" + source "package/iucode-tool/Config.in" + source "package/kbd/Config.in" + source "package/lcdproc/Config.in" + source "package/libiec61850/Config.in" + source "package/libubootenv/Config.in" + source "package/libuio/Config.in" + source "package/linux-backports/Config.in" + source "package/linux-serial-test/Config.in" + source "package/linuxconsoletools/Config.in" + source "package/lirc-tools/Config.in" + source "package/lm-sensors/Config.in" + source "package/lshw/Config.in" + source "package/lsscsi/Config.in" + source "package/lsuio/Config.in" + source "package/luksmeta/Config.in" + source "package/lvm2/Config.in" + source "package/mali-driver/Config.in" + source "package/mali-t76x/Config.in" + source "package/mbpfan/Config.in" + source "package/mdadm/Config.in" + source "package/mdevd/Config.in" + source "package/memtest86/Config.in" + source "package/memtester/Config.in" + source "package/memtool/Config.in" + source "package/minicom/Config.in" + source "package/msr-tools/Config.in" + source "package/nanocom/Config.in" + source "package/neard/Config.in" + source "package/nvidia-driver/Config.in" + source "package/nvidia-modprobe/Config.in" + source "package/nvme/Config.in" + source "package/ofono/Config.in" + source "package/on2-8170-modules/Config.in" + source "package/open2300/Config.in" + source "package/openfpgaloader/Config.in" + source "package/openipmi/Config.in" + source "package/openocd/Config.in" + source "package/openpowerlink/Config.in" + source "package/owl-linux/Config.in" + source "package/parted/Config.in" + source "package/pciutils/Config.in" + source "package/pdbg/Config.in" + source "package/picocom/Config.in" + source "package/pifmrds/Config.in" + source "package/pigpio/Config.in" + source "package/powertop/Config.in" + source "package/pps-tools/Config.in" + source "package/pru-software-support/Config.in" + source "package/pulseview/Config.in" + source "package/qoriq-cadence-dp-firmware/Config.in" + source "package/raspi-gpio/Config.in" + source "package/read-edid/Config.in" + source "package/rng-tools/Config.in" + source "package/rockchip-mali/Config.in" + source "package/rpi-userland/Config.in" + source "package/rs485conf/Config.in" + source "package/rtc-tools/Config.in" + source "package/rtl8188eu/Config.in" + source "package/rtl8189es/Config.in" + source "package/rtl8189fs/Config.in" + source "package/rtl8723bs/Config.in" + source "package/rtl8723bu/Config.in" + source "package/rtl8812au-aircrack-ng/Config.in" + source "package/rtl8821au/Config.in" + source "package/sane-backends/Config.in" + source "package/sdparm/Config.in" + source "package/sedutil/Config.in" + source "package/setserial/Config.in" + source "package/sg3_utils/Config.in" + source "package/sigrok-cli/Config.in" + source "package/sispmctl/Config.in" + source "package/smartmontools/Config.in" + source "package/smstools3/Config.in" + source "package/spi-tools/Config.in" + source "package/sredird/Config.in" + source "package/statserial/Config.in" + source "package/stm32flash/Config.in" + source "package/sunxi-cedarx/Config.in" + source "package/sunxi-mali-utgard/Config.in" + source "package/sunxi-mali-utgard-driver/Config.in" + source "package/sysstat/Config.in" + source "package/targetcli-fb/Config.in" + source "package/ti-gfx/Config.in" + source "package/ti-sgx-demos/Config.in" + source "package/ti-sgx-km/Config.in" + source "package/ti-sgx-um/Config.in" + source "package/ti-uim/Config.in" + source "package/ti-utils/Config.in" + source "package/tio/Config.in" + source "package/triggerhappy/Config.in" + source "package/uboot-tools/Config.in" + source "package/ubus/Config.in" + source "package/uccp420wlan/Config.in" + source "package/udev/Config.in" + source "package/udev-gentoo-scripts/Config.in" + source "package/udisks/Config.in" + source "package/uhubctl/Config.in" + source "package/umtprd/Config.in" + source "package/upower/Config.in" + source "package/usb_modeswitch/Config.in" + source "package/usb_modeswitch_data/Config.in" + source "package/usbguard/Config.in" + source "package/usbmount/Config.in" + source "package/usbutils/Config.in" + source "package/w_scan/Config.in" + source "package/wf111/Config.in" + source "package/wipe/Config.in" + source "package/xorriso/Config.in" + source "package/xr819-xradio/Config.in" +endmenu + +menu "Interpreter languages and scripting" + source "package/4th/Config.in" + source "package/enscript/Config.in" + source "package/erlang/Config.in" +if BR2_PACKAGE_ERLANG +menu "Erlang libraries/modules" + source "package/erlang-base64url/Config.in" + source "package/erlang-eimp/Config.in" + source "package/erlang-goldrush/Config.in" + source "package/erlang-idna/Config.in" + source "package/erlang-jiffy/Config.in" + source "package/erlang-jose/Config.in" + source "package/erlang-lager/Config.in" + source "package/erlang-p1-acme/Config.in" + source "package/erlang-p1-cache-tab/Config.in" + source "package/erlang-p1-mqtree/Config.in" + source "package/erlang-p1-oauth2/Config.in" + source "package/erlang-p1-pkix/Config.in" + source "package/erlang-p1-sip/Config.in" + source "package/erlang-p1-stringprep/Config.in" + source "package/erlang-p1-stun/Config.in" + source "package/erlang-p1-tls/Config.in" + source "package/erlang-p1-utils/Config.in" + source "package/erlang-p1-xml/Config.in" + source "package/erlang-p1-xmpp/Config.in" + source "package/erlang-p1-yaml/Config.in" + source "package/erlang-p1-yconf/Config.in" + source "package/erlang-p1-zlib/Config.in" +endmenu +endif + source "package/execline/Config.in" + source "package/ficl/Config.in" + source "package/gauche/Config.in" + source "package/guile/Config.in" + source "package/haserl/Config.in" + source "package/janet/Config.in" + source "package/jimtcl/Config.in" + source "package/lua/Config.in" + source "package/luainterpreter/Config.in" + source "package/luajit/Config.in" +if BR2_PACKAGE_HAS_LUAINTERPRETER && !BR2_STATIC_LIBS +# lua modules are dynamically loaded, so not available on static builds +menu "Lua libraries/modules" +# When adding lua packages, make sure the name start with "lua". If the +# upstream package is "luafoo", call it "luafoo" in Buildroot; if the upstream +# package is "foo", call it "lua-foo". Many packages currently don't follow +# this convention, but that's historical accident. + source "package/argparse/Config.in" + source "package/cgilua/Config.in" + source "package/copas/Config.in" + source "package/coxpcall/Config.in" + source "package/dado/Config.in" + source "package/easydbus/Config.in" + source "package/lbase64/Config.in" + source "package/ljlinenoise/Config.in" + source "package/ljsyscall/Config.in" + source "package/lpeg/Config.in" + source "package/lpty/Config.in" + source "package/lrandom/Config.in" + source "package/lsqlite3/Config.in" + source "package/lua-argon2/Config.in" + source "package/lua-augeas/Config.in" + source "package/lua-basexx/Config.in" + source "package/lua-binaryheap/Config.in" + source "package/lua-bit32/Config.in" + source "package/lua-cffi/Config.in" + source "package/lua-cjson/Config.in" + source "package/lua-coat/Config.in" + source "package/lua-coatpersistent/Config.in" + source "package/lua-codegen/Config.in" + source "package/lua-compat53/Config.in" + source "package/lua-cqueues/Config.in" + source "package/lua-csnappy/Config.in" + source "package/lua-curl/Config.in" + source "package/lua-datafile/Config.in" + source "package/lua-ev/Config.in" + source "package/lua-fifo/Config.in" + source "package/lua-flu/Config.in" + source "package/lua-gd/Config.in" + source "package/lua-http/Config.in" + source "package/lua-iconv/Config.in" + source "package/lua-inotify/Config.in" + source "package/lua-livr/Config.in" + source "package/lua-livr-extra/Config.in" + source "package/lua-lpeg-patterns/Config.in" + source "package/lua-lunitx/Config.in" + source "package/lua-lunix/Config.in" + source "package/lua-lyaml/Config.in" + source "package/lua-markdown/Config.in" + source "package/lua-messagepack/Config.in" + source "package/lua-msgpack-native/Config.in" + source "package/lua-periphery/Config.in" + source "package/lua-resty-http/Config.in" + source "package/lua-rotas/Config.in" + source "package/lua-sailor/Config.in" + source "package/lua-sdl2/Config.in" + source "package/lua-silva/Config.in" + source "package/lua-std-debug/Config.in" + source "package/lua-std-normalize/Config.in" + source "package/lua-stdlib/Config.in" + source "package/lua-testmore/Config.in" + source "package/lua-utf8/Config.in" + source "package/lua-valua/Config.in" + source "package/lua-zlib/Config.in" + source "package/luabitop/Config.in" + source "package/luadbi/Config.in" + source "package/luadbi-sqlite3/Config.in" + source "package/luaexpat/Config.in" + source "package/luaexpatutils/Config.in" + source "package/luafilesystem/Config.in" + source "package/luajson/Config.in" + source "package/lualdap/Config.in" + source "package/lualogging/Config.in" + source "package/luaossl/Config.in" + source "package/luaposix/Config.in" + source "package/luasec/Config.in" + source "package/luasocket/Config.in" + source "package/luasql-sqlite3/Config.in" + source "package/luasyslog/Config.in" + source "package/lutok/Config.in" + source "package/luv/Config.in" + source "package/luvi/Config.in" + source "package/lzlib/Config.in" + source "package/orbit/Config.in" + source "package/rings/Config.in" + source "package/turbolua/Config.in" + source "package/wsapi/Config.in" + source "package/wsapi-fcgi/Config.in" + source "package/wsapi-xavante/Config.in" + source "package/xavante/Config.in" +endmenu +endif + source "package/micropython/Config.in" + source "package/micropython-lib/Config.in" + source "package/moarvm/Config.in" + source "package/mono/Config.in" +if BR2_PACKAGE_MONO +menu "Mono libraries/modules" + source "package/mono-gtksharp3/Config.in" +endmenu +endif + source "package/nodejs/Config.in" + source "package/openjdk/Config.in" + source "package/perl/Config.in" +if BR2_PACKAGE_PERL +menu "Perl libraries/modules" + source "package/perl-apache-logformat-compiler/Config.in" + source "package/perl-appconfig/Config.in" + source "package/perl-astro-suntime/Config.in" + source "package/perl-class-inspector/Config.in" + source "package/perl-class-load/Config.in" + source "package/perl-class-method-modifiers/Config.in" + source "package/perl-class-std/Config.in" + source "package/perl-class-std-fast/Config.in" + source "package/perl-convert-asn1/Config.in" + source "package/perl-cookie-baker/Config.in" + source "package/perl-crypt-blowfish/Config.in" + source "package/perl-crypt-cbc/Config.in" + source "package/perl-crypt-openssl-aes/Config.in" + source "package/perl-crypt-openssl-random/Config.in" + source "package/perl-crypt-openssl-rsa/Config.in" + source "package/perl-data-dump/Config.in" + source "package/perl-data-optlist/Config.in" + source "package/perl-data-uuid/Config.in" + source "package/perl-date-manip/Config.in" + source "package/perl-datetime-tiny/Config.in" + source "package/perl-dbd-mysql/Config.in" + source "package/perl-dbi/Config.in" + source "package/perl-devel-cycle/Config.in" + source "package/perl-devel-globaldestruction/Config.in" + source "package/perl-devel-size/Config.in" + source "package/perl-devel-stacktrace/Config.in" + source "package/perl-devel-stacktrace-ashtml/Config.in" + source "package/perl-device-serialport/Config.in" + source "package/perl-digest-hmac/Config.in" + source "package/perl-digest-sha1/Config.in" + source "package/perl-dist-checkconflicts/Config.in" + source "package/perl-encode-detect/Config.in" + source "package/perl-encode-locale/Config.in" + source "package/perl-exporter-tiny/Config.in" + source "package/perl-file-listing/Config.in" + source "package/perl-file-sharedir/Config.in" + source "package/perl-file-slurp/Config.in" + source "package/perl-file-util/Config.in" + source "package/perl-filesys-notify-simple/Config.in" + source "package/perl-gd/Config.in" + source "package/perl-gdgraph/Config.in" + source "package/perl-gdtextutil/Config.in" + source "package/perl-hash-multivalue/Config.in" + source "package/perl-html-parser/Config.in" + source "package/perl-html-tagset/Config.in" + source "package/perl-http-cookies/Config.in" + source "package/perl-http-daemon/Config.in" + source "package/perl-http-date/Config.in" + source "package/perl-http-entity-parser/Config.in" + source "package/perl-http-headers-fast/Config.in" + source "package/perl-http-message/Config.in" + source "package/perl-http-multipartparser/Config.in" + source "package/perl-http-negotiate/Config.in" + source "package/perl-i18n/Config.in" + source "package/perl-io-html/Config.in" + source "package/perl-io-interface/Config.in" + source "package/perl-io-socket-multicast/Config.in" + source "package/perl-io-socket-ssl/Config.in" + source "package/perl-json-maybexs/Config.in" + source "package/perl-json-tiny/Config.in" + source "package/perl-libwww-perl/Config.in" + source "package/perl-locale-maketext-lexicon/Config.in" + source "package/perl-lwp-mediatypes/Config.in" + source "package/perl-lwp-protocol-https/Config.in" + source "package/perl-mail-dkim/Config.in" + source "package/perl-mailtools/Config.in" + source "package/perl-math-int64/Config.in" + source "package/perl-math-prime-util/Config.in" + source "package/perl-mime-base64-urlsafe/Config.in" + source "package/perl-mime-tools/Config.in" + source "package/perl-module-implementation/Config.in" + source "package/perl-module-runtime/Config.in" + source "package/perl-mojolicious/Config.in" + source "package/perl-mojolicious-plugin-authentication/Config.in" + source "package/perl-mojolicious-plugin-authorization/Config.in" + source "package/perl-mojolicious-plugin-cspheader/Config.in" + source "package/perl-mojolicious-plugin-i18n/Config.in" + source "package/perl-mojolicious-plugin-securityheader/Config.in" + source "package/perl-moo/Config.in" + source "package/perl-mozilla-ca/Config.in" + source "package/perl-net-dns/Config.in" + source "package/perl-net-http/Config.in" + source "package/perl-net-snmp/Config.in" + source "package/perl-net-ssh2/Config.in" + source "package/perl-net-ssleay/Config.in" + source "package/perl-net-telnet/Config.in" + source "package/perl-netaddr-ip/Config.in" + source "package/perl-number-bytes-human/Config.in" + source "package/perl-package-stash/Config.in" + source "package/perl-params-util/Config.in" + source "package/perl-parse-yapp/Config.in" + source "package/perl-path-tiny/Config.in" + source "package/perl-plack/Config.in" + source "package/perl-posix-strftime-compiler/Config.in" + source "package/perl-role-tiny/Config.in" + source "package/perl-stream-buffered/Config.in" + source "package/perl-sub-exporter-progressive/Config.in" + source "package/perl-sub-install/Config.in" + source "package/perl-sub-quote/Config.in" + source "package/perl-sys-cpu/Config.in" + source "package/perl-sys-meminfo/Config.in" + source "package/perl-sys-mmap/Config.in" + source "package/perl-time-parsedate/Config.in" + source "package/perl-timedate/Config.in" + source "package/perl-try-tiny/Config.in" + source "package/perl-type-tiny/Config.in" + source "package/perl-uri/Config.in" + source "package/perl-www-form-urlencoded/Config.in" + source "package/perl-www-robotrules/Config.in" + source "package/perl-x10/Config.in" + source "package/perl-xml-libxml/Config.in" + source "package/perl-xml-namespacesupport/Config.in" + source "package/perl-xml-sax/Config.in" + source "package/perl-xml-sax-base/Config.in" +endmenu +endif + source "package/php/Config.in" +if BR2_PACKAGE_PHP +if !BR2_STATIC_LIBS +menu "External php extensions" + source "package/php-amqp/Config.in" + source "package/php-apcu/Config.in" + source "package/php-geoip/Config.in" + source "package/php-gnupg/Config.in" + source "package/php-imagick/Config.in" + source "package/php-lua/Config.in" + source "package/php-memcached/Config.in" + source "package/php-pam/Config.in" + source "package/php-pecl-dbus/Config.in" + source "package/php-ssh2/Config.in" + source "package/php-xdebug/Config.in" + source "package/php-yaml/Config.in" + source "package/php-zmq/Config.in" +endmenu +endif +if BR2_STATIC_LIBS +comment "External PHP extensions need a toolchain w/ dynamic library" +endif +endif + source "package/python3/Config.in" +if BR2_PACKAGE_PYTHON3 +menu "External python modules" + source "package/python-aenum/Config.in" + source "package/python-aexpect/Config.in" + source "package/python-aioblescan/Config.in" + source "package/python-aiocoap/Config.in" + source "package/python-aioconsole/Config.in" + source "package/python-aiodns/Config.in" + source "package/python-aiofiles/Config.in" + source "package/python-aiohttp/Config.in" + source "package/python-aiohttp-cors/Config.in" + source "package/python-aiohttp-debugtoolbar/Config.in" + source "package/python-aiohttp-jinja2/Config.in" + source "package/python-aiohttp-mako/Config.in" + source "package/python-aiohttp-remotes/Config.in" + source "package/python-aiohttp-security/Config.in" + source "package/python-aiohttp-session/Config.in" + source "package/python-aiohttp-sse/Config.in" + source "package/python-aiojobs/Config.in" + source "package/python-aiologstash/Config.in" + source "package/python-aiomonitor/Config.in" + source "package/python-aioprocessing/Config.in" + source "package/python-aioredis/Config.in" + source "package/python-aiorwlock/Config.in" + source "package/python-aiosignal/Config.in" + source "package/python-aiozipkin/Config.in" + source "package/python-alsaaudio/Config.in" + source "package/python-ansicolors/Config.in" + source "package/python-argh/Config.in" + source "package/python-argon2-cffi/Config.in" + source "package/python-argon2-cffi-bindings/Config.in" + source "package/python-arrow/Config.in" + source "package/python-asgiref/Config.in" + source "package/python-asn1crypto/Config.in" + source "package/python-async-lru/Config.in" + source "package/python-async-timeout/Config.in" + source "package/python-attrs/Config.in" + source "package/python-augeas/Config.in" + source "package/python-autobahn/Config.in" + source "package/python-automat/Config.in" + source "package/python-avro/Config.in" + source "package/python-babel/Config.in" + source "package/python-backcall/Config.in" + source "package/python-bcrypt/Config.in" + source "package/python-beautifulsoup4/Config.in" + source "package/python-bidict/Config.in" + source "package/python-bitstring/Config.in" + source "package/python-bleak/Config.in" + source "package/python-bluezero/Config.in" + source "package/python-boto3/Config.in" + source "package/python-botocore/Config.in" + source "package/python-bottle/Config.in" + source "package/python-brotli/Config.in" + source "package/python-bsdiff4/Config.in" + source "package/python-bunch/Config.in" + source "package/python-cached-property/Config.in" + source "package/python-can/Config.in" + source "package/python-canopen/Config.in" + source "package/python-cbor/Config.in" + source "package/python-cbor2/Config.in" + source "package/python-cchardet/Config.in" + source "package/python-certifi/Config.in" + source "package/python-cffi/Config.in" + source "package/python-channels/Config.in" + source "package/python-channels-redis/Config.in" + source "package/python-characteristic/Config.in" + source "package/python-chardet/Config.in" + source "package/python-charset-normalizer/Config.in" + source "package/python-cheetah/Config.in" + source "package/python-cheroot/Config.in" + source "package/python-cherrypy/Config.in" + source "package/python-click/Config.in" + source "package/python-colorama/Config.in" + source "package/python-colorlog/Config.in" + source "package/python-colorzero/Config.in" + source "package/python-configshell-fb/Config.in" + source "package/python-constantly/Config.in" + source "package/python-couchdb/Config.in" + source "package/python-crayons/Config.in" + source "package/python-crc16/Config.in" + source "package/python-crcmod/Config.in" + source "package/python-crontab/Config.in" + source "package/python-crossbar/Config.in" + source "package/python-cryptography/Config.in" + source "package/python-cssselect/Config.in" + source "package/python-cssselect2/Config.in" + source "package/python-cssutils/Config.in" + source "package/python-cycler/Config.in" + source "package/python-daemon/Config.in" + source "package/python-daemonize/Config.in" + source "package/python-daphne/Config.in" + source "package/python-dataproperty/Config.in" + source "package/python-dateutil/Config.in" + source "package/python-dbus-next/Config.in" + source "package/python-decorator/Config.in" + source "package/python-defusedxml/Config.in" + source "package/python-dialog3/Config.in" + source "package/python-dicttoxml/Config.in" + source "package/python-distro/Config.in" + source "package/python-django/Config.in" + source "package/python-django-enumfields/Config.in" + source "package/python-dnspython/Config.in" + source "package/python-docker/Config.in" + source "package/python-docker-pycreds/Config.in" + source "package/python-dockerpty/Config.in" + source "package/python-docopt/Config.in" + source "package/python-docutils/Config.in" + source "package/python-dominate/Config.in" + source "package/python-dpkt/Config.in" + source "package/python-ecdsa/Config.in" + source "package/python-engineio/Config.in" + source "package/python-entrypoints/Config.in" + source "package/python-esptool/Config.in" + source "package/python-falcon/Config.in" + source "package/python-filelock/Config.in" + source "package/python-fire/Config.in" + source "package/python-flask/Config.in" + source "package/python-flask-babel/Config.in" + source "package/python-flask-cors/Config.in" + source "package/python-flask-expects-json/Config.in" + source "package/python-flask-jsonrpc/Config.in" + source "package/python-flask-login/Config.in" + source "package/python-flask-sqlalchemy/Config.in" + source "package/python-flask-wtf/Config.in" + source "package/python-flatbuffers/Config.in" + source "package/python-flup/Config.in" + source "package/python-fonttools/Config.in" + source "package/python-frozenlist/Config.in" + source "package/python-future/Config.in" + source "package/python-git/Config.in" + source "package/python-gitdb2/Config.in" + source "package/python-gnupg/Config.in" + source "package/python-gobject/Config.in" + source "package/python-gpiozero/Config.in" + source "package/python-greenlet/Config.in" + source "package/python-gunicorn/Config.in" + source "package/python-h2/Config.in" + source "package/python-hiredis/Config.in" + source "package/python-hpack/Config.in" + source "package/python-html5lib/Config.in" + source "package/python-httplib2/Config.in" + source "package/python-huepy/Config.in" + source "package/python-humanize/Config.in" + source "package/python-hyperframe/Config.in" + source "package/python-hyperlink/Config.in" + source "package/python-ibmiotf/Config.in" + source "package/python-idna/Config.in" + source "package/python-ifaddr/Config.in" + source "package/python-incremental/Config.in" + source "package/python-inflection/Config.in" + source "package/python-influxdb/Config.in" + source "package/python-iniconfig/Config.in" + source "package/python-iniparse/Config.in" + source "package/python-intelhex/Config.in" + source "package/python-iowait/Config.in" + source "package/python-ipdb/Config.in" + source "package/python-iptables/Config.in" + source "package/python-ipy/Config.in" + source "package/python-ipython/Config.in" + source "package/python-ipython-genutils/Config.in" + source "package/python-iso8601/Config.in" + source "package/python-itsdangerous/Config.in" + source "package/python-iwlib/Config.in" + source "package/python-janus/Config.in" + source "package/python-jaraco-classes/Config.in" + source "package/python-jaraco-functools/Config.in" + source "package/python-jedi/Config.in" + source "package/python-jinja2/Config.in" + source "package/python-jmespath/Config.in" + source "package/python-json-schema-validator/Config.in" + source "package/python-jsonmodels/Config.in" + source "package/python-jsonschema/Config.in" + source "package/python-keyring/Config.in" + source "package/python-kiwisolver/Config.in" + source "package/python-libconfig/Config.in" + source "package/python-libusb1/Config.in" + source "package/python-lmdb/Config.in" + source "package/python-lockfile/Config.in" + source "package/python-logbook/Config.in" + source "package/python-logstash/Config.in" + source "package/python-lxml/Config.in" + source "package/python-m2crypto/Config.in" + source "package/python-m2r/Config.in" + source "package/python-mako/Config.in" + source "package/python-markdown/Config.in" + source "package/python-markdown2/Config.in" + source "package/python-markupsafe/Config.in" + source "package/python-matplotlib/Config.in" + source "package/python-mbstrdecoder/Config.in" + source "package/python-memory-profiler/Config.in" + source "package/python-mimeparse/Config.in" + source "package/python-mistune/Config.in" + source "package/python-modbus-tk/Config.in" + source "package/python-more-itertools/Config.in" + source "package/python-mpd2/Config.in" + source "package/python-msgfy/Config.in" + source "package/python-msgpack/Config.in" + source "package/python-multidict/Config.in" + source "package/python-mutagen/Config.in" + source "package/python-mwclient/Config.in" + source "package/python-mwscrape/Config.in" + source "package/python-mwscrape2slob/Config.in" + source "package/python-nested-dict/Config.in" + source "package/python-netaddr/Config.in" + source "package/python-netifaces/Config.in" + source "package/python-networkmanager/Config.in" + source "package/python-networkx/Config.in" + source "package/python-numpy/Config.in" + source "package/python-oauthlib/Config.in" + source "package/python-opcua-asyncio/Config.in" + source "package/python-packaging/Config.in" + source "package/python-paho-mqtt/Config.in" + source "package/python-paramiko/Config.in" + source "package/python-parso/Config.in" + source "package/python-passlib/Config.in" + source "package/python-pathpy/Config.in" + source "package/python-pathtools/Config.in" + source "package/python-pathvalidate/Config.in" + source "package/python-periphery/Config.in" + source "package/python-pexpect/Config.in" + source "package/python-pickleshare/Config.in" + source "package/python-piexif/Config.in" + source "package/python-pigpio/Config.in" + source "package/python-pillow/Config.in" + source "package/python-pip/Config.in" + source "package/python-pluggy/Config.in" + source "package/python-ply/Config.in" + source "package/python-portend/Config.in" + source "package/python-posix-ipc/Config.in" + source "package/python-priority/Config.in" + source "package/python-prompt-toolkit/Config.in" + source "package/python-protobuf/Config.in" + source "package/python-psutil/Config.in" + source "package/python-psycopg2/Config.in" + source "package/python-ptyprocess/Config.in" + source "package/python-pudb/Config.in" + source "package/python-py/Config.in" + source "package/python-pyaes/Config.in" + source "package/python-pyalsa/Config.in" + source "package/python-pyasn1/Config.in" + source "package/python-pyasn1-modules/Config.in" + source "package/python-pybind/Config.in" + source "package/python-pycairo/Config.in" + source "package/python-pycares/Config.in" + source "package/python-pycparser/Config.in" + source "package/python-pycryptodomex/Config.in" + source "package/python-pycups/Config.in" + source "package/python-pydal/Config.in" + source "package/python-pydantic/Config.in" + source "package/python-pydyf/Config.in" + source "package/python-pyelftools/Config.in" + source "package/python-pyftpdlib/Config.in" + source "package/python-pygame/Config.in" + source "package/python-pygments/Config.in" + source "package/python-pyhamcrest/Config.in" + source "package/python-pyicu/Config.in" + source "package/python-pyinotify/Config.in" + source "package/python-pyjwt/Config.in" + source "package/python-pylibftdi/Config.in" + source "package/python-pylru/Config.in" + source "package/python-pymodbus/Config.in" + source "package/python-pymupdf/Config.in" + source "package/python-pymysql/Config.in" + source "package/python-pynacl/Config.in" + source "package/python-pyndiff/Config.in" + source "package/python-pyopenssl/Config.in" + source "package/python-pyparsing/Config.in" + source "package/python-pyparted/Config.in" + source "package/python-pyphen/Config.in" + source "package/python-pyqrcode/Config.in" + source "package/python-pyqt5/Config.in" + source "package/python-pyratemp/Config.in" + source "package/python-pyroute2/Config.in" + source "package/python-pysendfile/Config.in" + source "package/python-pysftp/Config.in" + source "package/python-pysmb/Config.in" + source "package/python-pysmi/Config.in" + source "package/python-pysnmp/Config.in" + source "package/python-pysnmp-mibs/Config.in" + source "package/python-pysocks/Config.in" + source "package/python-pytablereader/Config.in" + source "package/python-pytablewriter/Config.in" + source "package/python-pytest/Config.in" + source "package/python-pytest-asyncio/Config.in" + source "package/python-pytrie/Config.in" + source "package/python-pytz/Config.in" + source "package/python-pyudev/Config.in" + source "package/python-pyusb/Config.in" + source "package/python-pyxb/Config.in" + source "package/python-pyyaml/Config.in" + source "package/python-pyzmq/Config.in" + source "package/python-raven/Config.in" + source "package/python-redis/Config.in" + source "package/python-reentry/Config.in" + source "package/python-regex/Config.in" + source "package/python-remi/Config.in" + source "package/python-request-id/Config.in" + source "package/python-requests/Config.in" + source "package/python-requests-oauthlib/Config.in" + source "package/python-requests-toolbelt/Config.in" + source "package/python-rpi-gpio/Config.in" + source "package/python-rpi-ws281x/Config.in" + source "package/python-rsa/Config.in" + source "package/python-rtslib-fb/Config.in" + source "package/python-s3transfer/Config.in" + source "package/python-scandir/Config.in" + source "package/python-scapy/Config.in" + source "package/python-schedule/Config.in" + source "package/python-sdnotify/Config.in" + source "package/python-secretstorage/Config.in" + source "package/python-see/Config.in" + source "package/python-semver/Config.in" + source "package/python-sentry-sdk/Config.in" + source "package/python-serial/Config.in" + source "package/python-serial-asyncio/Config.in" + source "package/python-service-identity/Config.in" + source "package/python-setproctitle/Config.in" + source "package/python-setuptools/Config.in" + source "package/python-sh/Config.in" + source "package/python-shutilwhich/Config.in" + source "package/python-simpleaudio/Config.in" + source "package/python-simplegeneric/Config.in" + source "package/python-simplejson/Config.in" + source "package/python-simplelogging/Config.in" + source "package/python-simplesqlite/Config.in" + source "package/python-sip/Config.in" + source "package/python-six/Config.in" + source "package/python-slob/Config.in" + source "package/python-smbus-cffi/Config.in" + source "package/python-smmap2/Config.in" + source "package/python-snappy/Config.in" + source "package/python-socketio/Config.in" + source "package/python-sockjs/Config.in" + source "package/python-sortedcontainers/Config.in" + source "package/python-soupsieve/Config.in" + source "package/python-spidev/Config.in" + source "package/python-sqlalchemy/Config.in" + source "package/python-sqliteschema/Config.in" + source "package/python-sqlparse/Config.in" + source "package/python-systemd/Config.in" + source "package/python-tabledata/Config.in" + source "package/python-tempora/Config.in" + source "package/python-termcolor/Config.in" + source "package/python-terminaltables/Config.in" + source "package/python-texttable/Config.in" + source "package/python-thrift/Config.in" + source "package/python-tinycss2/Config.in" + source "package/python-tinyrpc/Config.in" + source "package/python-tomako/Config.in" + source "package/python-toml/Config.in" + source "package/python-tomli/Config.in" + source "package/python-tornado/Config.in" + source "package/python-tqdm/Config.in" + source "package/python-traitlets/Config.in" + source "package/python-treq/Config.in" + source "package/python-twisted/Config.in" + source "package/python-txaio/Config.in" + source "package/python-txdbus/Config.in" + source "package/python-txtorcon/Config.in" + source "package/python-typepy/Config.in" + source "package/python-typing-extensions/Config.in" + source "package/python-u-msgpack/Config.in" + source "package/python-ubjson/Config.in" + source "package/python-ujson/Config.in" + source "package/python-unittest-xml-reporting/Config.in" + source "package/python-urllib3/Config.in" + source "package/python-urwid/Config.in" + source "package/python-uvloop/Config.in" + source "package/python-validators/Config.in" + source "package/python-versiontools/Config.in" + source "package/python-visitor/Config.in" + source "package/python-watchdog/Config.in" + source "package/python-wcwidth/Config.in" + source "package/python-weasyprint/Config.in" + source "package/python-web2py/Config.in" + source "package/python-webencodings/Config.in" + source "package/python-webob/Config.in" + source "package/python-webpy/Config.in" + source "package/python-websocket-client/Config.in" + source "package/python-websockets/Config.in" + source "package/python-werkzeug/Config.in" + source "package/python-whoosh/Config.in" + source "package/python-wrapt/Config.in" + source "package/python-ws4py/Config.in" + source "package/python-wsaccel/Config.in" + source "package/python-wtforms/Config.in" + source "package/python-xlib/Config.in" + source "package/python-xlrd/Config.in" + source "package/python-xlsxwriter/Config.in" + source "package/python-xlutils/Config.in" + source "package/python-xlwt/Config.in" + source "package/python-xmljson/Config.in" + source "package/python-xmltodict/Config.in" + source "package/python-xmodem/Config.in" + source "package/python-yarl/Config.in" + source "package/python-yatl/Config.in" + source "package/python-zc-lockfile/Config.in" + source "package/python-zeroconf/Config.in" + source "package/python-zope-interface/Config.in" + source "package/python-zopfli/Config.in" +endmenu +endif + source "package/quickjs/Config.in" + source "package/ruby/Config.in" + source "package/tcl/Config.in" +if BR2_PACKAGE_TCL +menu "Tcl libraries/modules" + source "package/expect/Config.in" + source "package/tcllib/Config.in" +endmenu +endif +endmenu + +menu "Libraries" + +menu "Audio/Sound" + source "package/alsa-lib/Config.in" + source "package/alsa-plugins/Config.in" + source "package/alure/Config.in" + source "package/aubio/Config.in" + source "package/bcg729/Config.in" + source "package/caps/Config.in" + source "package/fdk-aac/Config.in" + source "package/libao/Config.in" + source "package/libasplib/Config.in" + source "package/libbroadvoice/Config.in" + source "package/libcdaudio/Config.in" + source "package/libcddb/Config.in" + source "package/libcdio/Config.in" + source "package/libcdio-paranoia/Config.in" + source "package/libcodec2/Config.in" + source "package/libcue/Config.in" + source "package/libcuefile/Config.in" + source "package/libebur128/Config.in" + source "package/libg7221/Config.in" + source "package/libgsm/Config.in" + source "package/libid3tag/Config.in" + source "package/libilbc/Config.in" + source "package/liblo/Config.in" + source "package/libmad/Config.in" + source "package/libmodplug/Config.in" + source "package/libmpd/Config.in" + source "package/libmpdclient/Config.in" + source "package/libreplaygain/Config.in" + source "package/libsamplerate/Config.in" + source "package/libsidplay2/Config.in" + source "package/libsilk/Config.in" + source "package/libsndfile/Config.in" + source "package/libsoundtouch/Config.in" + source "package/libsoxr/Config.in" + source "package/libvorbis/Config.in" + source "package/lilv/Config.in" + source "package/lv2/Config.in" + source "package/mp4v2/Config.in" + source "package/openal/Config.in" + source "package/opencore-amr/Config.in" + source "package/opus/Config.in" + source "package/opusfile/Config.in" + source "package/portaudio/Config.in" + source "package/sbc/Config.in" + source "package/spandsp/Config.in" + source "package/speex/Config.in" + source "package/speexdsp/Config.in" + source "package/sratom/Config.in" + source "package/taglib/Config.in" + source "package/tinyalsa/Config.in" + source "package/tremor/Config.in" + source "package/vo-aacenc/Config.in" + source "package/webrtc-audio-processing/Config.in" +endmenu + +menu "Compression and decompression" + source "package/libarchive/Config.in" + source "package/libmspack/Config.in" + source "package/libsquish/Config.in" + source "package/libzip/Config.in" + source "package/lz4/Config.in" + source "package/lzo/Config.in" + source "package/minizip/Config.in" + source "package/snappy/Config.in" + source "package/szip/Config.in" + source "package/zchunk/Config.in" + source "package/zlib/Config.in" + source "package/zziplib/Config.in" +endmenu + +menu "Crypto" + source "package/bearssl/Config.in" + source "package/beecrypt/Config.in" + source "package/botan/Config.in" + source "package/ca-certificates/Config.in" + source "package/cryptodev/Config.in" + source "package/cryptopp/Config.in" + source "package/gcr/Config.in" + source "package/gnutls/Config.in" + source "package/libargon2/Config.in" + source "package/libassuan/Config.in" + source "package/libgcrypt/Config.in" + source "package/libgpg-error/Config.in" + source "package/libgpgme/Config.in" + source "package/libkcapi/Config.in" + source "package/libksba/Config.in" + source "package/libmd/Config.in" + source "package/libmhash/Config.in" + source "package/libnss/Config.in" + source "package/libolm/Config.in" + source "package/libp11/Config.in" + source "package/libscrypt/Config.in" + source "package/libsecret/Config.in" + source "package/libsha1/Config.in" + source "package/libsodium/Config.in" + source "package/libssh/Config.in" + source "package/libssh2/Config.in" + source "package/libtomcrypt/Config.in" + source "package/libuecc/Config.in" + source "package/libxcrypt/Config.in" + source "package/mbedtls/Config.in" + source "package/nettle/Config.in" + source "package/openssl/Config.in" + source "package/pkcs11-helper/Config.in" + source "package/rhash/Config.in" + source "package/tinydtls/Config.in" + source "package/tpm2-pkcs11/Config.in" + source "package/tpm2-tss/Config.in" + source "package/trousers/Config.in" + source "package/ustream-ssl/Config.in" + source "package/wolfssl/Config.in" +endmenu + +menu "Database" + source "package/berkeleydb/Config.in" + source "package/cppdb/Config.in" + source "package/gdbm/Config.in" + source "package/hiredis/Config.in" + source "package/kompexsqlite/Config.in" + source "package/leveldb/Config.in" + source "package/libdbi/Config.in" + source "package/libdbi-drivers/Config.in" + source "package/libgit2/Config.in" + source "package/libmdbx/Config.in" + source "package/libodb/Config.in" + source "package/libodb-boost/Config.in" + source "package/libodb-mysql/Config.in" + source "package/libodb-pgsql/Config.in" + source "package/libpqxx/Config.in" + source "package/mongodb/Config.in" + source "package/mysql/Config.in" + source "package/postgresql/Config.in" +if BR2_PACKAGE_POSTGRESQL + source "package/osm2pgsql/Config.in" + source "package/postgis/Config.in" +endif + source "package/redis/Config.in" + source "package/rocksdb/Config.in" + source "package/sqlcipher/Config.in" + source "package/sqlite/Config.in" + source "package/timescaledb/Config.in" + source "package/unixodbc/Config.in" +endmenu + +menu "Filesystem" + source "package/gamin/Config.in" + source "package/libconfig/Config.in" + source "package/libconfuse/Config.in" + source "package/libfuse/Config.in" + source "package/libfuse3/Config.in" + source "package/liblockfile/Config.in" + source "package/libnfs/Config.in" + source "package/libsysfs/Config.in" + source "package/lockdev/Config.in" + source "package/physfs/Config.in" +endmenu + +menu "Graphics" + source "package/assimp/Config.in" + source "package/at-spi2-atk/Config.in" + source "package/at-spi2-core/Config.in" + source "package/atk/Config.in" + source "package/atkmm/Config.in" + source "package/bayer2rgb-neon/Config.in" + source "package/bullet/Config.in" + source "package/cairo/Config.in" + source "package/cairomm/Config.in" + source "package/chipmunk/Config.in" + source "package/exempi/Config.in" + source "package/exiv2/Config.in" + source "package/fltk/Config.in" + source "package/fontconfig/Config.in" + source "package/freetype/Config.in" + source "package/gd/Config.in" + source "package/gdk-pixbuf/Config.in" + source "package/gdk-pixbuf-xlib/Config.in" + source "package/giblib/Config.in" + source "package/giflib/Config.in" + source "package/granite/Config.in" + source "package/graphite2/Config.in" + source "package/gtkmm3/Config.in" + source "package/gtksourceview/Config.in" + source "package/harfbuzz/Config.in" + source "package/ijs/Config.in" + source "package/imlib2/Config.in" + source "package/intel-gmmlib/Config.in" + source "package/intel-mediadriver/Config.in" + source "package/intel-mediasdk/Config.in" + source "package/irrlicht/Config.in" + source "package/jasper/Config.in" + source "package/jbig2dec/Config.in" + source "package/jpeg/Config.in" + source "package/kmsxx/Config.in" + source "package/lcms2/Config.in" + source "package/lensfun/Config.in" + source "package/leptonica/Config.in" + source "package/lesstif/Config.in" + source "package/libart/Config.in" + source "package/libdmtx/Config.in" + source "package/libdri2/Config.in" + source "package/libdrm/Config.in" + source "package/libepoxy/Config.in" + source "package/libexif/Config.in" + source "package/libfm/Config.in" + source "package/libfm-extra/Config.in" + source "package/libfreeglut/Config.in" + source "package/libfreeimage/Config.in" + source "package/libgdiplus/Config.in" + source "package/libgeotiff/Config.in" + source "package/libglade/Config.in" + source "package/libglew/Config.in" + source "package/libglfw/Config.in" + source "package/libglu/Config.in" + source "package/libgta/Config.in" + source "package/libgtk2/Config.in" + source "package/libgtk3/Config.in" + source "package/libmediaart/Config.in" + source "package/libmng/Config.in" + source "package/libpng/Config.in" + source "package/libqrencode/Config.in" + source "package/libraw/Config.in" + source "package/librsvg/Config.in" + source "package/libsvg/Config.in" + source "package/libsvg-cairo/Config.in" + source "package/libsvgtiny/Config.in" + source "package/libva/Config.in" + source "package/libva-intel-driver/Config.in" + source "package/libvdpau/Config.in" + source "package/libvips/Config.in" + source "package/libwpe/Config.in" + source "package/menu-cache/Config.in" + source "package/opencv3/Config.in" + source "package/opencv4/Config.in" + source "package/opengl/Config.in" + source "package/openjpeg/Config.in" + source "package/pango/Config.in" + source "package/pangomm/Config.in" + source "package/pipewire/Config.in" + source "package/pipewire-media-session/Config.in" + source "package/pixman/Config.in" + source "package/poppler/Config.in" + source "package/powervr/Config.in" + source "package/tiff/Config.in" + source "package/unclutter-xfixes/Config.in" + source "package/waffle/Config.in" + source "package/wayland/Config.in" + source "package/wayland-protocols/Config.in" + source "package/wayland-utils/Config.in" + source "package/waylandpp/Config.in" + source "package/webkitgtk/Config.in" + source "package/webp/Config.in" + source "package/wireplumber/Config.in" + source "package/wlroots/Config.in" + source "package/woff2/Config.in" + source "package/wpebackend-fdo/Config.in" + source "package/wpewebkit/Config.in" + source "package/zbar/Config.in" + source "package/zxing-cpp/Config.in" +endmenu + +menu "Hardware handling" + source "package/acsccid/Config.in" + source "package/bcm2835/Config.in" + source "package/c-periphery/Config.in" + source "package/ccid/Config.in" + source "package/dtc/Config.in" + source "package/gnu-efi/Config.in" + source "package/hackrf/Config.in" + source "package/hidapi/Config.in" + source "package/jitterentropy-library/Config.in" + source "package/lcdapi/Config.in" + source "package/let-me-create/Config.in" + source "package/libaio/Config.in" + source "package/libatasmart/Config.in" + source "package/libblockdev/Config.in" + source "package/libcec/Config.in" + source "package/libfreefare/Config.in" + source "package/libftdi/Config.in" + source "package/libftdi1/Config.in" + source "package/libgphoto2/Config.in" + source "package/libgpiod/Config.in" + source "package/libgudev/Config.in" + source "package/libhid/Config.in" + source "package/libiio/Config.in" + source "package/libinput/Config.in" + source "package/libiqrf/Config.in" + source "package/libllcp/Config.in" + source "package/libmbim/Config.in" + source "package/libnfc/Config.in" + source "package/libpciaccess/Config.in" + source "package/libphidget/Config.in" + source "package/libpri/Config.in" + source "package/libqmi/Config.in" + source "package/libqrtr-glib/Config.in" + source "package/libraw1394/Config.in" + source "package/librtas/Config.in" + source "package/librtlsdr/Config.in" + source "package/libserial/Config.in" + source "package/libserialport/Config.in" + source "package/libsigrok/Config.in" + source "package/libsigrokdecode/Config.in" + source "package/libsoc/Config.in" + source "package/libss7/Config.in" + source "package/libusb/Config.in" + source "package/libusb-compat/Config.in" + source "package/libusbgx/Config.in" + source "package/libv4l/Config.in" + source "package/libxkbcommon/Config.in" + source "package/mraa/Config.in" + source "package/mtdev/Config.in" + source "package/ne10/Config.in" + source "package/neardal/Config.in" + source "package/owfs/Config.in" + source "package/pcsc-lite/Config.in" + source "package/rpi-rgb-led-matrix/Config.in" + source "package/tslib/Config.in" + source "package/uhd/Config.in" + source "package/urg/Config.in" +endmenu + +menu "Javascript" + source "package/angularjs/Config.in" +if BR2_PACKAGE_ANGULARJS +menu "External AngularJS plugins" + source "package/angular-websocket/Config.in" +endmenu +endif + source "package/bootstrap/Config.in" + source "package/chartjs/Config.in" + source "package/datatables/Config.in" + source "package/datatables-buttons/Config.in" + source "package/datatables-fixedcolumns/Config.in" + source "package/datatables-responsive/Config.in" + source "package/duktape/Config.in" + source "package/explorercanvas/Config.in" + source "package/flot/Config.in" + source "package/jquery/Config.in" +if BR2_PACKAGE_JQUERY +menu "External jQuery plugins" + source "package/jquery-datetimepicker/Config.in" + source "package/jquery-keyboard/Config.in" + source "package/jquery-mobile/Config.in" + source "package/jquery-sidebar/Config.in" + source "package/jquery-sparkline/Config.in" + source "package/jquery-ui/Config.in" + source "package/jquery-ui-themes/Config.in" + source "package/jquery-validation/Config.in" +endmenu +endif + source "package/jsmin/Config.in" + source "package/json-javascript/Config.in" + source "package/jszip/Config.in" + source "package/openlayers/Config.in" + source "package/popperjs/Config.in" + source "package/vuejs/Config.in" +if BR2_PACKAGE_VUEJS +comment "External Vue.js plugins" + source "package/vuejs-router/Config.in" +endif +endmenu + +menu "JSON/XML" + source "package/benejson/Config.in" + source "package/cjson/Config.in" + source "package/expat/Config.in" + source "package/jansson/Config.in" + source "package/jose/Config.in" + source "package/jsmn/Config.in" + source "package/json-c/Config.in" + source "package/json-for-modern-cpp/Config.in" + source "package/json-glib/Config.in" + source "package/jsoncpp/Config.in" + source "package/libbson/Config.in" + source "package/libfastjson/Config.in" + source "package/libjson/Config.in" + source "package/libroxml/Config.in" + source "package/libucl/Config.in" + source "package/libxml2/Config.in" + source "package/libxmlpp/Config.in" + source "package/libxmlrpc/Config.in" + source "package/libxslt/Config.in" + source "package/libyaml/Config.in" + source "package/mxml/Config.in" + source "package/pugixml/Config.in" + source "package/rapidjson/Config.in" + source "package/rapidxml/Config.in" + source "package/raptor/Config.in" + source "package/serd/Config.in" + source "package/sord/Config.in" + source "package/tinyxml/Config.in" + source "package/tinyxml2/Config.in" + source "package/valijson/Config.in" + source "package/xerces/Config.in" + source "package/xml-security-c/Config.in" + source "package/yajl/Config.in" + source "package/yaml-cpp/Config.in" +endmenu + +menu "Logging" + source "package/glog/Config.in" + source "package/liblog4c-localtime/Config.in" + source "package/liblogging/Config.in" + source "package/log4cplus/Config.in" + source "package/log4cpp/Config.in" + source "package/log4cxx/Config.in" + source "package/log4qt/Config.in" + source "package/opentracing-cpp/Config.in" + source "package/spdlog/Config.in" + source "package/ulog/Config.in" + source "package/zlog/Config.in" +endmenu + +menu "Multimedia" + source "package/bento4/Config.in" + source "package/bitstream/Config.in" + source "package/dav1d/Config.in" + source "package/kvazaar/Config.in" + source "package/libaacs/Config.in" + source "package/libass/Config.in" + source "package/libbdplus/Config.in" + source "package/libbluray/Config.in" + source "package/libcamera/Config.in" + source "package/libcamera-apps/Config.in" + source "package/libdcadec/Config.in" + source "package/libdvbcsa/Config.in" + source "package/libdvbpsi/Config.in" + source "package/libdvbsi/Config.in" + source "package/libdvdcss/Config.in" + source "package/libdvdnav/Config.in" + source "package/libdvdread/Config.in" + source "package/libebml/Config.in" + source "package/libhdhomerun/Config.in" + source "package/libimxvpuapi/Config.in" + source "package/libmatroska/Config.in" + source "package/libmms/Config.in" + source "package/libmpeg2/Config.in" + source "package/libogg/Config.in" + source "package/libopenaptx/Config.in" + source "package/libopenh264/Config.in" + source "package/libopusenc/Config.in" + source "package/libtheora/Config.in" + source "package/libudfread/Config.in" + source "package/libvpx/Config.in" + source "package/libyuv/Config.in" + source "package/live555/Config.in" + source "package/mediastreamer/Config.in" + source "package/x264/Config.in" + source "package/x265/Config.in" +endmenu + +menu "Networking" + source "package/agentpp/Config.in" + source "package/azmq/Config.in" + source "package/azure-iot-sdk-c/Config.in" + source "package/batman-adv/Config.in" + source "package/belle-sip/Config.in" + source "package/bluez5_utils-headers/Config.in" + source "package/c-ares/Config.in" + source "package/cgic/Config.in" + source "package/cppzmq/Config.in" + source "package/curlpp/Config.in" + source "package/czmq/Config.in" + source "package/daq/Config.in" + source "package/daq3/Config.in" + source "package/davici/Config.in" + source "package/enet/Config.in" + source "package/filemq/Config.in" + source "package/flickcurl/Config.in" + source "package/fmlib/Config.in" + source "package/freeradius-client/Config.in" + source "package/gensio/Config.in" + source "package/geoip/Config.in" + source "package/glib-networking/Config.in" + source "package/grpc/Config.in" + source "package/gssdp/Config.in" + source "package/gupnp/Config.in" + source "package/gupnp-av/Config.in" + source "package/gupnp-dlna/Config.in" + source "package/ibrcommon/Config.in" + source "package/ibrdtn/Config.in" + source "package/libcgi/Config.in" + source "package/libcgicc/Config.in" + source "package/libcoap/Config.in" + source "package/libcpprestsdk/Config.in" + source "package/libcurl/Config.in" + source "package/libdnet/Config.in" + source "package/libeXosip2/Config.in" + source "package/libest/Config.in" + source "package/libfcgi/Config.in" + source "package/libgsasl/Config.in" + source "package/libhtp/Config.in" + source "package/libhttpparser/Config.in" + source "package/libhttpserver/Config.in" + source "package/libidn/Config.in" + source "package/libidn2/Config.in" + source "package/libiscsi/Config.in" + source "package/libkrb5/Config.in" + source "package/libldns/Config.in" + source "package/libmaxminddb/Config.in" + source "package/libmbus/Config.in" + source "package/libmemcached/Config.in" + source "package/libmicrohttpd/Config.in" + source "package/libminiupnpc/Config.in" + source "package/libmnl/Config.in" + source "package/libmodbus/Config.in" + source "package/libmodsecurity/Config.in" + source "package/libnatpmp/Config.in" + source "package/libndp/Config.in" + source "package/libnet/Config.in" + source "package/libnetconf2/Config.in" + source "package/libnetfilter_acct/Config.in" + source "package/libnetfilter_conntrack/Config.in" + source "package/libnetfilter_cthelper/Config.in" + source "package/libnetfilter_cttimeout/Config.in" + source "package/libnetfilter_log/Config.in" + source "package/libnetfilter_queue/Config.in" + source "package/libnfnetlink/Config.in" + source "package/libnftnl/Config.in" + source "package/libnice/Config.in" + source "package/libnids/Config.in" + source "package/libnl/Config.in" + source "package/libnpupnp/Config.in" + source "package/liboauth/Config.in" + source "package/liboping/Config.in" + source "package/libosip2/Config.in" + source "package/libpagekite/Config.in" + source "package/libpcap/Config.in" + source "package/libpjsip/Config.in" + source "package/libpsl/Config.in" + source "package/librelp/Config.in" + source "package/librsync/Config.in" + source "package/libshairplay/Config.in" + source "package/libshout/Config.in" + source "package/libsocketcan/Config.in" + source "package/libsoup/Config.in" + source "package/libsrtp/Config.in" + source "package/libstrophe/Config.in" + source "package/libteam/Config.in" + source "package/libtelnet/Config.in" + source "package/libtirpc/Config.in" + source "package/libtorrent/Config.in" + source "package/libtorrent-rasterbar/Config.in" + source "package/libuev/Config.in" + source "package/libuhttpd/Config.in" + source "package/libupnp/Config.in" + source "package/libupnpp/Config.in" + source "package/liburiparser/Config.in" + source "package/libuwsc/Config.in" + source "package/libvncserver/Config.in" + source "package/libwebsock/Config.in" + source "package/libwebsockets/Config.in" + source "package/libyang/Config.in" + source "package/lksctp-tools/Config.in" + source "package/mbuffer/Config.in" + source "package/mongoose/Config.in" + source "package/nanomsg/Config.in" + source "package/neon/Config.in" + source "package/netopeer2/Config.in" + source "package/nghttp2/Config.in" + source "package/norm/Config.in" + source "package/nss-mdns/Config.in" + source "package/nss-myhostname/Config.in" + source "package/nss-pam-ldapd/Config.in" + source "package/omniorb/Config.in" + source "package/open62541/Config.in" + source "package/openldap/Config.in" + source "package/openmpi/Config.in" + source "package/openpgm/Config.in" + source "package/openzwave/Config.in" + source "package/ortp/Config.in" + source "package/paho-mqtt-c/Config.in" + source "package/paho-mqtt-cpp/Config.in" + source "package/pistache/Config.in" + source "package/qdecoder/Config.in" + source "package/qpid-proton/Config.in" + source "package/rabbitmq-c/Config.in" + source "package/resiprocate/Config.in" + source "package/restclient-cpp/Config.in" + source "package/rtmpdump/Config.in" + source "package/siproxd/Config.in" + source "package/slirp/Config.in" + source "package/snmppp/Config.in" + source "package/sofia-sip/Config.in" + source "package/sysrepo/Config.in" + source "package/thrift/Config.in" + source "package/usbredir/Config.in" + source "package/wampcc/Config.in" + source "package/websocketpp/Config.in" + source "package/zeromq/Config.in" + source "package/zmqpp/Config.in" + source "package/zyre/Config.in" +endmenu + +menu "Other" + source "package/ace/Config.in" + source "package/apr/Config.in" + source "package/apr-util/Config.in" + source "package/argp-standalone/Config.in" + source "package/armadillo/Config.in" + source "package/atf/Config.in" + source "package/avro-c/Config.in" + source "package/bctoolbox/Config.in" + source "package/bdwgc/Config.in" + source "package/belr/Config.in" + source "package/boost/Config.in" + source "package/c-capnproto/Config.in" + source "package/capnproto/Config.in" + source "package/cctz/Config.in" + source "package/cereal/Config.in" + source "package/clang/Config.in" + source "package/cmocka/Config.in" + source "package/cppcms/Config.in" + source "package/cracklib/Config.in" + source "package/dawgdic/Config.in" + source "package/ding-libs/Config.in" + source "package/eigen/Config.in" + source "package/elfutils/Config.in" + source "package/ell/Config.in" + source "package/fftw/Config.in" + source "package/flann/Config.in" + source "package/flatbuffers/Config.in" + source "package/flatcc/Config.in" + source "package/gconf/Config.in" + source "package/gflags/Config.in" + source "package/gli/Config.in" + source "package/glibmm/Config.in" + source "package/glm/Config.in" + source "package/gmp/Config.in" + source "package/gobject-introspection/Config.in" + source "package/gsl/Config.in" + source "package/gtest/Config.in" + source "package/gumbo-parser/Config.in" + source "package/jemalloc/Config.in" + source "package/lapack/Config.in" + source "package/libabseil-cpp/Config.in" + source "package/libargtable2/Config.in" + source "package/libatomic_ops/Config.in" + source "package/libavl/Config.in" + source "package/libb64/Config.in" + source "package/libbacktrace/Config.in" + source "package/libbsd/Config.in" + source "package/libbytesize/Config.in" + source "package/libcap/Config.in" + source "package/libcap-ng/Config.in" + source "package/libcgroup/Config.in" + source "package/libclc/Config.in" + source "package/libcofi/Config.in" + source "package/libcorrect/Config.in" + source "package/libcrossguid/Config.in" + source "package/libcsv/Config.in" + source "package/libdaemon/Config.in" + source "package/libeastl/Config.in" + source "package/libee/Config.in" + source "package/libev/Config.in" + source "package/libevdev/Config.in" + source "package/libevent/Config.in" + source "package/libexecinfo/Config.in" + source "package/libffi/Config.in" + source "package/libfutils/Config.in" + source "package/libgee/Config.in" + source "package/libgeos/Config.in" + source "package/libglib2/Config.in" + source "package/libglob/Config.in" + source "package/libical/Config.in" + source "package/libite/Config.in" + source "package/libks/Config.in" + source "package/liblinear/Config.in" + source "package/libloki/Config.in" + source "package/libnpth/Config.in" + source "package/libnspr/Config.in" + source "package/libosmium/Config.in" + source "package/libpeas/Config.in" + source "package/libpfm4/Config.in" + source "package/libplatform/Config.in" + source "package/libplist/Config.in" + source "package/libpthread-stubs/Config.in" + source "package/libpthsem/Config.in" + source "package/libpwquality/Config.in" + source "package/libqb/Config.in" + source "package/libseccomp/Config.in" + source "package/libshdata/Config.in" + source "package/libsigc/Config.in" + source "package/libsigsegv/Config.in" + source "package/libspatialindex/Config.in" + source "package/libtalloc/Config.in" + source "package/libtasn1/Config.in" + source "package/libtommath/Config.in" + source "package/libtpl/Config.in" + source "package/libubox/Config.in" + source "package/libuci/Config.in" + source "package/libunwind/Config.in" + source "package/liburcu/Config.in" + source "package/liburing/Config.in" + source "package/libuv/Config.in" + source "package/lightning/Config.in" + source "package/linux-pam/Config.in" +if BR2_PACKAGE_LINUX_PAM +comment "linux-pam plugins" + source "package/libpam-nfc/Config.in" + source "package/libpam-radius-auth/Config.in" + source "package/libpam-tacplus/Config.in" +endif + source "package/liquid-dsp/Config.in" + source "package/llvm/Config.in" + source "package/lttng-libust/Config.in" + source "package/matio/Config.in" + source "package/mpc/Config.in" + source "package/mpdecimal/Config.in" + source "package/mpfr/Config.in" + source "package/mpir/Config.in" + source "package/msgpack/Config.in" + source "package/musl-compat-headers/Config.in" + source "package/musl-fts/Config.in" + source "package/openblas/Config.in" + source "package/orc/Config.in" + source "package/p11-kit/Config.in" + source "package/poco/Config.in" + source "package/protobuf/Config.in" + source "package/protobuf-c/Config.in" + source "package/protozero/Config.in" + source "package/qhull/Config.in" + source "package/qlibc/Config.in" + source "package/riemann-c-client/Config.in" + source "package/shapelib/Config.in" + source "package/skalibs/Config.in" + source "package/sphinxbase/Config.in" + source "package/startup-notification/Config.in" + source "package/tinycbor/Config.in" + source "package/tz/Config.in" + source "package/tzdata/Config.in" + source "package/uvw/Config.in" + source "package/xapian/Config.in" +endmenu + +menu "Security" + source "package/libapparmor/Config.in" + source "package/libselinux/Config.in" + source "package/libsemanage/Config.in" + source "package/libsepol/Config.in" + source "package/safeclib/Config.in" + source "package/softhsm2/Config.in" +endmenu + +menu "Text and terminal handling" + source "package/augeas/Config.in" + source "package/enchant/Config.in" + source "package/fmt/Config.in" + source "package/fstrcmp/Config.in" + source "package/icu/Config.in" + source "package/inih/Config.in" + source "package/libcli/Config.in" + source "package/libedit/Config.in" + source "package/libenca/Config.in" + source "package/libestr/Config.in" + source "package/libfribidi/Config.in" + source "package/libiconv/Config.in" + source "package/libunistring/Config.in" + source "package/linenoise/Config.in" + source "package/ncurses/Config.in" + source "package/newt/Config.in" + source "package/oniguruma/Config.in" + source "package/pcre/Config.in" + source "package/pcre2/Config.in" + source "package/popt/Config.in" + source "package/re2/Config.in" + source "package/readline/Config.in" + source "package/slang/Config.in" + source "package/tclap/Config.in" + source "package/utf8proc/Config.in" +endmenu + +endmenu + +menu "Mail" + source "package/dovecot/Config.in" + source "package/exim/Config.in" + source "package/fetchmail/Config.in" + source "package/heirloom-mailx/Config.in" + source "package/libesmtp/Config.in" + source "package/msmtp/Config.in" + source "package/mutt/Config.in" + source "package/sylpheed/Config.in" +endmenu + +menu "Miscellaneous" + source "package/aespipe/Config.in" + source "package/bc/Config.in" + source "package/bitcoin/Config.in" + source "package/clamav/Config.in" + source "package/collectd/Config.in" + source "package/collectl/Config.in" + source "package/domoticz/Config.in" + source "package/empty/Config.in" + source "package/gnuradio/Config.in" + source "package/googlefontdirectory/Config.in" + source "package/gqrx/Config.in" + source "package/gr-osmosdr/Config.in" + source "package/gsettings-desktop-schemas/Config.in" + source "package/haveged/Config.in" + source "package/linux-syscall-support/Config.in" + source "package/mobile-broadband-provider-info/Config.in" + source "package/netdata/Config.in" + source "package/proj/Config.in" + source "package/qemu/Config.in" + source "package/qpdf/Config.in" + source "package/rtl_433/Config.in" + source "package/shared-mime-info/Config.in" + source "package/sunwait/Config.in" + source "package/taskd/Config.in" + source "package/wine/Config.in" + source "package/xmrig/Config.in" + source "package/xutil_util-macros/Config.in" +endmenu + +menu "Networking applications" + source "package/aircrack-ng/Config.in" + source "package/alfred/Config.in" + source "package/aoetools/Config.in" + source "package/apache/Config.in" +if BR2_PACKAGE_APACHE +menu "External Apache modules" + source "package/modsecurity2/Config.in" +endmenu +endif + source "package/argus/Config.in" + source "package/arp-scan/Config.in" + source "package/arptables/Config.in" + source "package/asterisk/Config.in" + source "package/atftp/Config.in" + source "package/autossh/Config.in" + source "package/avahi/Config.in" + source "package/axel/Config.in" + source "package/babeld/Config.in" + source "package/bandwidthd/Config.in" + source "package/batctl/Config.in" + source "package/bcusdk/Config.in" + source "package/bind/Config.in" + source "package/bird/Config.in" + source "package/bluez-tools/Config.in" + source "package/bluez5_utils/Config.in" + source "package/bmon/Config.in" + source "package/bmx7/Config.in" + source "package/boinc/Config.in" + source "package/brcm-patchram-plus/Config.in" + source "package/bridge-utils/Config.in" + source "package/bwm-ng/Config.in" + source "package/c-icap/Config.in" + source "package/c-icap-modules/Config.in" + source "package/can-utils/Config.in" + source "package/cannelloni/Config.in" + source "package/casync/Config.in" + source "package/cfm/Config.in" + source "package/chrony/Config.in" + source "package/civetweb/Config.in" + source "package/connman/Config.in" + source "package/connman-gtk/Config.in" + source "package/conntrack-tools/Config.in" + source "package/corkscrew/Config.in" + source "package/crda/Config.in" + source "package/ctorrent/Config.in" + source "package/cups/Config.in" + source "package/cups-filters/Config.in" + source "package/cups-pk-helper/Config.in" + source "package/dante/Config.in" + source "package/darkhttpd/Config.in" + source "package/dehydrated/Config.in" + source "package/dhcp/Config.in" + source "package/dhcpcd/Config.in" + source "package/dhcpdump/Config.in" + source "package/dnsmasq/Config.in" + source "package/drbd-utils/Config.in" + source "package/dropbear/Config.in" + source "package/easyframes/Config.in" + source "package/ebtables/Config.in" + source "package/ejabberd/Config.in" + source "package/ethtool/Config.in" + source "package/faifa/Config.in" + source "package/fail2ban/Config.in" + source "package/fastd/Config.in" + source "package/fcgiwrap/Config.in" + source "package/flannel/Config.in" + source "package/fmc/Config.in" + source "package/fping/Config.in" + source "package/freeswitch/Config.in" + source "package/freeswitch-mod-bcg729/Config.in" + source "package/frr/Config.in" + source "package/gerbera/Config.in" + source "package/gesftpserver/Config.in" + source "package/gloox/Config.in" + source "package/glorytun/Config.in" + source "package/gupnp-tools/Config.in" + source "package/gutenprint/Config.in" + source "package/hans/Config.in" + source "package/haproxy/Config.in" + source "package/hiawatha/Config.in" + source "package/hostapd/Config.in" + source "package/hplip/Config.in" + source "package/htpdate/Config.in" + source "package/httping/Config.in" + source "package/i2pd/Config.in" + source "package/ibrdtn-tools/Config.in" + source "package/ibrdtnd/Config.in" + source "package/ifenslave/Config.in" + source "package/ifmetric/Config.in" + source "package/ifplugd/Config.in" + source "package/iftop/Config.in" + source "package/ifupdown/Config.in" + source "package/ifupdown-scripts/Config.in" + source "package/igd2-for-linux/Config.in" + source "package/igh-ethercat/Config.in" + source "package/igmpproxy/Config.in" + source "package/inadyn/Config.in" + source "package/iodine/Config.in" + source "package/ipcalc/Config.in" + source "package/iperf/Config.in" + source "package/iperf3/Config.in" + source "package/iproute2/Config.in" + source "package/ipset/Config.in" + source "package/iptables/Config.in" + source "package/iptraf-ng/Config.in" + source "package/iputils/Config.in" + source "package/irssi/Config.in" + source "package/iw/Config.in" + source "package/iwd/Config.in" + source "package/janus-gateway/Config.in" + source "package/keepalived/Config.in" + source "package/kismet/Config.in" + source "package/knock/Config.in" + source "package/ksmbd-tools/Config.in" + source "package/leafnode2/Config.in" + source "package/lft/Config.in" + source "package/lftp/Config.in" + source "package/lighttpd/Config.in" + source "package/linknx/Config.in" + source "package/links/Config.in" + source "package/linphone/Config.in" + source "package/linux-zigbee/Config.in" + source "package/linuxptp/Config.in" + source "package/lldpd/Config.in" + source "package/lrzsz/Config.in" + source "package/lynx/Config.in" + source "package/macchanger/Config.in" + source "package/memcached/Config.in" + source "package/mii-diag/Config.in" + source "package/mini-snmpd/Config.in" + source "package/minidlna/Config.in" + source "package/minissdpd/Config.in" + source "package/mjpg-streamer/Config.in" + source "package/modem-manager/Config.in" + source "package/mongrel2/Config.in" + source "package/mosh/Config.in" + source "package/mosquitto/Config.in" + source "package/mrouted/Config.in" + source "package/mrp/Config.in" + source "package/mstpd/Config.in" + source "package/mtr/Config.in" + source "package/nbd/Config.in" + source "package/ncftp/Config.in" + source "package/ndisc6/Config.in" + source "package/net-tools/Config.in" + source "package/netatalk/Config.in" + source "package/netcalc/Config.in" + source "package/netcat/Config.in" + source "package/netcat-openbsd/Config.in" + source "package/netplug/Config.in" + source "package/netsnmp/Config.in" + source "package/netstat-nat/Config.in" + source "package/network-manager/Config.in" + source "package/network-manager-openvpn/Config.in" + source "package/networkd-dispatcher/Config.in" + source "package/nfacct/Config.in" + source "package/nftables/Config.in" + source "package/nginx/Config.in" +if BR2_PACKAGE_NGINX +menu "External nginx modules" + source "package/nginx-dav-ext/Config.in" + source "package/nginx-modsecurity/Config.in" + source "package/nginx-naxsi/Config.in" + source "package/nginx-upload/Config.in" +endmenu +endif + source "package/ngircd/Config.in" + source "package/ngrep/Config.in" + source "package/nload/Config.in" + source "package/nmap/Config.in" + source "package/noip/Config.in" + source "package/ntp/Config.in" + source "package/nuttcp/Config.in" + source "package/odhcp6c/Config.in" + source "package/odhcploc/Config.in" + source "package/olsr/Config.in" + source "package/open-lldp/Config.in" + source "package/open-plc-utils/Config.in" + source "package/openntpd/Config.in" + source "package/openobex/Config.in" + source "package/openresolv/Config.in" + source "package/openssh/Config.in" + source "package/openswan/Config.in" + source "package/openvpn/Config.in" + source "package/p910nd/Config.in" + source "package/parprouted/Config.in" + source "package/phidgetwebservice/Config.in" + source "package/phytool/Config.in" + source "package/pimd/Config.in" + source "package/pixiewps/Config.in" + source "package/pound/Config.in" + source "package/pppd/Config.in" + source "package/pptp-linux/Config.in" + source "package/privoxy/Config.in" + source "package/proftpd/Config.in" + source "package/prosody/Config.in" + source "package/proxychains-ng/Config.in" + source "package/ptpd/Config.in" + source "package/ptpd2/Config.in" + source "package/pure-ftpd/Config.in" + source "package/putty/Config.in" + source "package/quagga/Config.in" + source "package/rabbitmq-server/Config.in" + source "package/radvd/Config.in" + source "package/reaver/Config.in" + source "package/redir/Config.in" + source "package/rp-pppoe/Config.in" + source "package/rpcbind/Config.in" + source "package/rsh-redone/Config.in" + source "package/rsync/Config.in" + source "package/rtorrent/Config.in" + source "package/rtptools/Config.in" + source "package/rygel/Config.in" + source "package/s6-dns/Config.in" + source "package/s6-networking/Config.in" + source "package/samba4/Config.in" + source "package/sconeserver/Config.in" + source "package/ser2net/Config.in" + source "package/shadowsocks-libev/Config.in" + source "package/shairport-sync/Config.in" + source "package/shellinabox/Config.in" + source "package/smcroute/Config.in" + source "package/sngrep/Config.in" + source "package/snmpclitools/Config.in" + source "package/snort/Config.in" + source "package/snort3/Config.in" + source "package/socat/Config.in" + source "package/socketcand/Config.in" + source "package/softether/Config.in" + source "package/spawn-fcgi/Config.in" + source "package/spice/Config.in" + source "package/spice-protocol/Config.in" + source "package/squid/Config.in" + source "package/ssdp-responder/Config.in" + source "package/sshguard/Config.in" + source "package/sshpass/Config.in" + source "package/sslh/Config.in" + source "package/strongswan/Config.in" + source "package/stunnel/Config.in" + source "package/suricata/Config.in" + source "package/system-config-printer/Config.in" + source "package/tcpdump/Config.in" + source "package/tcping/Config.in" + source "package/tcpreplay/Config.in" + source "package/tftpd/Config.in" + source "package/thttpd/Config.in" + source "package/tinc/Config.in" + source "package/tinyproxy/Config.in" + source "package/tinyssh/Config.in" + source "package/tor/Config.in" + source "package/traceroute/Config.in" + source "package/transmission/Config.in" + source "package/tunctl/Config.in" + source "package/tvheadend/Config.in" + source "package/uacme/Config.in" + source "package/udpcast/Config.in" + source "package/uftp/Config.in" + source "package/uhttpd/Config.in" + source "package/ulogd/Config.in" + source "package/unbound/Config.in" + source "package/uqmi/Config.in" + source "package/uredir/Config.in" + source "package/ushare/Config.in" + source "package/ussp-push/Config.in" + source "package/vde2/Config.in" + source "package/vdr/Config.in" + source "package/vdr-plugin-vnsiserver/Config.in" + source "package/vnstat/Config.in" + source "package/vpnc/Config.in" + source "package/vsftpd/Config.in" + source "package/vtun/Config.in" + source "package/wavemon/Config.in" + source "package/wget/Config.in" + source "package/whois/Config.in" + source "package/wireguard-linux-compat/Config.in" + source "package/wireguard-tools/Config.in" + source "package/wireless-regdb/Config.in" + source "package/wireless_tools/Config.in" + source "package/wireshark/Config.in" + source "package/wpa_supplicant/Config.in" + source "package/wpan-tools/Config.in" + source "package/xinetd/Config.in" + source "package/xl2tp/Config.in" + source "package/xtables-addons/Config.in" + source "package/zabbix/Config.in" + source "package/znc/Config.in" + +endmenu + +menu "Package managers" +comment "-------------------------------------------------------" +comment "Please note: " +comment "- Buildroot does *not* generate binary packages, " +comment "- Buildroot does *not* install any package database. " +comment "* " +comment "It is up to you to provide those by yourself if you " +comment "want to use any of those package managers. " +comment "* " +comment "See the manual: " +comment "http://buildroot.org/manual.html#faq-no-binary-packages" +comment "-------------------------------------------------------" + source "package/opkg/Config.in" + source "package/opkg-utils/Config.in" + source "package/rpm/Config.in" +endmenu + +menu "Real-Time" + source "package/rtai/Config.in" + source "package/xenomai/Config.in" +endmenu + +menu "Security" + source "package/apparmor/Config.in" + source "package/checkpolicy/Config.in" + source "package/ima-evm-utils/Config.in" + source "package/optee-benchmark/Config.in" + source "package/optee-client/Config.in" + source "package/optee-examples/Config.in" + source "package/optee-test/Config.in" + source "package/paxtest/Config.in" + source "package/policycoreutils/Config.in" + source "package/refpolicy/Config.in" + source "package/restorecond/Config.in" + source "package/selinux-python/Config.in" + source "package/semodule-utils/Config.in" + source "package/setools/Config.in" + source "package/urandom-scripts/Config.in" +endmenu + +menu "Shell and utilities" +comment "Shells" + source "package/bash/Config.in" + source "package/dash/Config.in" + source "package/mksh/Config.in" + source "package/zsh/Config.in" +comment "Utilities" + source "package/apg/Config.in" + source "package/at/Config.in" + source "package/bash-completion/Config.in" + source "package/ccrypt/Config.in" + source "package/crudini/Config.in" + source "package/dialog/Config.in" + source "package/dtach/Config.in" + source "package/easy-rsa/Config.in" + source "package/file/Config.in" + source "package/gnupg/Config.in" + source "package/gnupg2/Config.in" + source "package/inotify-tools/Config.in" + source "package/lockfile-progs/Config.in" + source "package/logrotate/Config.in" + source "package/logsurfer/Config.in" + source "package/neofetch/Config.in" + source "package/pdmenu/Config.in" + source "package/pinentry/Config.in" + source "package/qprint/Config.in" + source "package/ranger/Config.in" + source "package/rtty/Config.in" + source "package/screen/Config.in" + source "package/screenfetch/Config.in" + source "package/sudo/Config.in" + source "package/terminology/Config.in" + source "package/time/Config.in" + source "package/tini/Config.in" + source "package/tmux/Config.in" + source "package/ttyd/Config.in" + source "package/which/Config.in" + source "package/xmlstarlet/Config.in" + source "package/xxhash/Config.in" + source "package/ytree/Config.in" +endmenu + +menu "System tools" + source "package/acl/Config.in" + source "package/android-tools/Config.in" + source "package/atop/Config.in" + source "package/attr/Config.in" + source "package/audit/Config.in" + source "package/balena-engine/Config.in" + source "package/bubblewrap/Config.in" + source "package/cgroupfs-mount/Config.in" + source "package/circus/Config.in" + source "package/containerd/Config.in" + source "package/coreutils/Config.in" + source "package/cpuload/Config.in" + source "package/daemon/Config.in" + source "package/dc3dd/Config.in" + source "package/dcron/Config.in" + source "package/ddrescue/Config.in" + source "package/debianutils/Config.in" + source "package/docker-cli/Config.in" + source "package/docker-compose/Config.in" + source "package/docker-engine/Config.in" + source "package/docker-proxy/Config.in" + source "package/earlyoom/Config.in" + source "package/efibootmgr/Config.in" + source "package/efivar/Config.in" + source "package/embiggen-disk/Config.in" + source "package/emlog/Config.in" + source "package/ftop/Config.in" + source "package/getent/Config.in" + source "package/gkrellm/Config.in" + source "package/htop/Config.in" + source "package/ibm-sw-tpm2/Config.in" + source "package/initscripts/Config.in" + source "package/iotop/Config.in" + source "package/iprutils/Config.in" + source "package/irqbalance/Config.in" + source "package/jailhouse/Config.in" + source "package/keyutils/Config.in" + source "package/kmod/Config.in" + source "package/kvmtool/Config.in" + source "package/libostree/Config.in" + source "package/libvirt/Config.in" + source "package/lxc/Config.in" + source "package/makedumpfile/Config.in" + source "package/mender/Config.in" + source "package/mender-grubenv/Config.in" + source "package/mfoc/Config.in" + source "package/moby-buildkit/Config.in" + source "package/monit/Config.in" + source "package/multipath-tools/Config.in" + source "package/ncdu/Config.in" + source "package/netifrc/Config.in" + source "package/numactl/Config.in" + source "package/nut/Config.in" + source "package/openrc/Config.in" + source "package/openvmtools/Config.in" + source "package/pamtester/Config.in" + source "package/polkit/Config.in" + source "package/powerpc-utils/Config.in" + source "package/procps-ng/Config.in" + source "package/procrank_linux/Config.in" + source "package/psmisc/Config.in" + source "package/pwgen/Config.in" + source "package/quota/Config.in" + source "package/quotatool/Config.in" + source "package/rauc/Config.in" + source "package/rsyslog/Config.in" + source "package/runc/Config.in" + source "package/s390-tools/Config.in" + source "package/s6/Config.in" + source "package/s6-linux-init/Config.in" + source "package/s6-linux-utils/Config.in" + source "package/s6-portable-utils/Config.in" + source "package/s6-rc/Config.in" + source "package/scrub/Config.in" + source "package/scrypt/Config.in" + source "package/sdbus-cpp/Config.in" + source "package/sdbusplus/Config.in" + source "package/seatd/Config.in" + source "package/smack/Config.in" + source "package/start-stop-daemon/Config.in" + source "package/supervisor/Config.in" + source "package/swupdate/Config.in" + source "package/sysklogd/Config.in" + source "package/syslog-ng/Config.in" + source "package/systemd/Config.in" + source "package/systemd-bootchart/Config.in" + source "package/sysvinit/Config.in" + source "package/tar/Config.in" + source "package/thermald/Config.in" + source "package/tpm-tools/Config.in" + source "package/tpm2-abrmd/Config.in" + source "package/tpm2-tools/Config.in" + source "package/tpm2-totp/Config.in" + source "package/unscd/Config.in" + source "package/util-linux/Config.in" + source "package/watchdog/Config.in" + source "package/watchdogd/Config.in" + source "package/xdg-dbus-proxy/Config.in" + source "package/xen/Config.in" + source "package/xvisor/Config.in" +endmenu + +menu "Text editors and viewers" + source "package/bat/Config.in" + source "package/ed/Config.in" + source "package/joe/Config.in" + source "package/less/Config.in" + source "package/mc/Config.in" + source "package/mg/Config.in" + source "package/most/Config.in" + source "package/nano/Config.in" + source "package/uemacs/Config.in" + source "package/vim/Config.in" +endmenu + +endmenu diff --git a/buildroot-2022.02.1/package/Config.in.host b/buildroot-2022.02.1/package/Config.in.host new file mode 100644 index 00000000..e5fbb07f --- /dev/null +++ b/buildroot-2022.02.1/package/Config.in.host @@ -0,0 +1,103 @@ +menu "Host utilities" + + source "package/abootimg/Config.in.host" + source "package/aespipe/Config.in.host" + source "package/android-tools/Config.in.host" + source "package/asn1c/Config.in.host" + source "package/babeltrace2/Config.in.host" + source "package/bmap-tools/Config.in.host" + source "package/btrfs-progs/Config.in.host" + source "package/cbootimage/Config.in.host" + source "package/checkpolicy/Config.in.host" + source "package/checksec/Config.in.host" + source "package/cmake/Config.in.host" + source "package/cramfs/Config.in.host" + source "package/cryptsetup/Config.in.host" + source "package/dbus-python/Config.in.host" + source "package/delve/Config.in.host" + source "package/dfu-util/Config.in.host" + source "package/dos2unix/Config.in.host" + source "package/dosfstools/Config.in.host" + source "package/doxygen/Config.in.host" + source "package/dtc/Config.in.host" + source "package/e2fsprogs/Config.in.host" + source "package/e2tools/Config.in.host" + source "package/environment-setup/Config.in.host" + source "package/erofs-utils/Config.in.host" + source "package/eudev/Config.in.host" + source "package/exfatprogs/Config.in.host" + source "package/f2fs-tools/Config.in.host" + source "package/faketime/Config.in.host" + source "package/fatcat/Config.in.host" + source "package/firmware-utils/Config.in.host" + source "package/fwup/Config.in.host" + source "package/genext2fs/Config.in.host" + source "package/genimage/Config.in.host" + source "package/genpart/Config.in.host" + source "package/gnupg/Config.in.host" + source "package/go/Config.in.host" + source "package/go-bootstrap/Config.in.host" + source "package/google-breakpad/Config.in.host" + source "package/gptfdisk/Config.in.host" + source "package/imagemagick/Config.in.host" + source "package/imx-mkimage/Config.in.host" + source "package/imx-usb-loader/Config.in.host" + source "package/jh71xx-tools/Config.in.host" + source "package/jq/Config.in.host" + source "package/jsmin/Config.in.host" + source "package/kmod/Config.in.host" + source "package/libp11/Config.in.host" + source "package/lld/Config.in.host" + source "package/lpc3250loader/Config.in.host" + source "package/lttng-babeltrace/Config.in.host" + source "package/mender-artifact/Config.in.host" + source "package/meson-tools/Config.in.host" + source "package/mfgtools/Config.in.host" + source "package/mkpasswd/Config.in.host" + source "package/mtd/Config.in.host" + source "package/mtools/Config.in.host" + source "package/mxsldr/Config.in.host" + source "package/nodejs/Config.in.host" + source "package/odb/Config.in.host" + source "package/omap-u-boot-utils/Config.in.host" + source "package/openocd/Config.in.host" + source "package/opkg-utils/Config.in.host" + source "package/pahole/Config.in.host" + source "package/parted/Config.in.host" + source "package/patchelf/Config.in.host" + source "package/pigz/Config.in.host" + source "package/pkgconf/Config.in.host" + source "package/pru-software-support/Config.in.host" + source "package/pwgen/Config.in.host" + source "package/python-cython/Config.in.host" + source "package/python-greenlet/Config.in.host" + source "package/python-lxml/Config.in.host" + source "package/python-six/Config.in.host" + source "package/python-xlrd/Config.in.host" + source "package/python3/Config.in.host" + source "package/qemu/Config.in.host" + source "package/qoriq-rcw/Config.in.host" + source "package/raspberrypi-usbboot/Config.in.host" + source "package/rauc/Config.in.host" + source "package/riscv-isa-sim/Config.in.host" + source "package/rustc/Config.in.host" + source "package/s6-rc/Config.in.host" + source "package/sam-ba/Config.in.host" + source "package/sdbusplus/Config.in.host" + source "package/sentry-cli/Config.in.host" + source "package/sloci-image/Config.in.host" + source "package/squashfs/Config.in.host" + source "package/sunxi-tools/Config.in.host" + source "package/swig/Config.in.host" + source "package/systemd/Config.in.host" + source "package/tegrarcm/Config.in.host" + source "package/ti-cgt-pru/Config.in.host" + source "package/uboot-tools/Config.in.host" + source "package/util-linux/Config.in.host" + source "package/utp_com/Config.in.host" + source "package/vboot-utils/Config.in.host" + source "package/xorriso/Config.in.host" + source "package/zip/Config.in.host" + source "package/zstd/Config.in.host" + +endmenu diff --git a/buildroot-2022.02.1/package/Makefile.in b/buildroot-2022.02.1/package/Makefile.in new file mode 100644 index 00000000..508ea7c3 --- /dev/null +++ b/buildroot-2022.02.1/package/Makefile.in @@ -0,0 +1,451 @@ +ifndef MAKE +MAKE := make +endif +ifndef HOSTMAKE +HOSTMAKE = $(MAKE) +endif +HOSTMAKE := $(shell which $(HOSTMAKE) || type -p $(HOSTMAKE) || echo make) + +# If BR2_JLEVEL is 0, scale the maximum concurrency with the number of +# CPUs. An additional job is used in order to keep processors busy +# while waiting on I/O. +# If the number of processors is not available, assume one. +ifeq ($(BR2_JLEVEL),0) +PARALLEL_JOBS := $(shell echo \ + $$((1 + `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`))) +else +PARALLEL_JOBS := $(BR2_JLEVEL) +endif + +MAKE1 := $(HOSTMAKE) -j1 +override MAKE = $(HOSTMAKE) \ + $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) + +ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) +TARGET_VENDOR = $(call qstrip,$(BR2_TOOLCHAIN_BUILDROOT_VENDOR)) +else +TARGET_VENDOR = buildroot +endif + +# Sanity checks +ifeq ($(TARGET_VENDOR),) +$(error BR2_TOOLCHAIN_BUILDROOT_VENDOR is not allowed to be empty) +endif +ifeq ($(TARGET_VENDOR),unknown) +$(error BR2_TOOLCHAIN_BUILDROOT_VENDOR cannot be 'unknown'. \ + It might be confused with the native toolchain) +endif + +# Compute GNU_TARGET_NAME +GNU_TARGET_NAME = $(ARCH)-$(TARGET_VENDOR)-$(TARGET_OS)-$(LIBC)$(ABI) + +# FLAT binary format needs uclinux, except RISC-V 64-bits which needs +# the regular linux name. +ifeq ($(BR2_BINFMT_FLAT):$(BR2_RISCV_64),y:) +TARGET_OS = uclinux +else +TARGET_OS = linux +endif + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +LIBC = uclibc +else ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +LIBC = musl +else +LIBC = gnu +endif + +# The ABI suffix is a bit special on ARM, as it needs to be +# -uclibcgnueabi for uClibc EABI, and -gnueabi for glibc EABI. +# This means that the LIBC and ABI aren't strictly orthogonal, +# which explains why we need the test on LIBC below. +ifeq ($(BR2_arm)$(BR2_armeb),y) +ifeq ($(LIBC),uclibc) +ABI = gnueabi +else +ABI = eabi +endif + +ifeq ($(BR2_ARM_EABIHF),y) +ABI := $(ABI)hf +endif +endif + +# For C-SKY abiv1 & abiv2 +ifeq ($(BR2_csky),y) +ifeq ($(BR2_ck610),y) +ABI = abiv1 +else +ABI = abiv2 +endif +endif + +# For FSL PowerPC there's SPE +ifeq ($(BR2_powerpc_SPE),y) +ABI = spe +# MPC8540s are e500v1 with single precision FP +ifeq ($(BR2_powerpc_8540),y) +TARGET_ABI += -mabi=spe -mfloat-gprs=single -Wa,-me500 +endif +ifeq ($(BR2_powerpc_8548),y) +TARGET_ABI += -mabi=spe -mfloat-gprs=double -Wa,-me500x2 +endif +ifeq ($(BR2_powerpc_e500mc),y) +TARGET_ABI += -mabi=spe -mfloat-gprs=double -Wa,-me500mc +endif +endif + +# Use longcalls option for Xtensa globally. +# The 'longcalls' option allows calls across a greater range of addresses, +# and is required for some packages. While this option can degrade both +# code size and performance, the linker can usually optimize away the +# overhead when a call ends up within a certain range. +# +# Use auto-litpools for Xtensa globally. +# Collecting literals into separate section can be advantageous if that +# section is placed into DTCM at link time. This is applicable for code +# running on bare metal, but makes no sense under linux, where userspace +# is isolated from the physical memory details. OTOH placing literals into +# separate section breaks build of huge source files, because l32r +# instruction can only access literals in 256 KBytes range. +# +ifeq ($(BR2_xtensa),y) +TARGET_ABI += -mlongcalls -mauto-litpools +endif + +STAGING_SUBDIR = $(GNU_TARGET_NAME)/sysroot +STAGING_DIR = $(HOST_DIR)/$(STAGING_SUBDIR) + +ifeq ($(BR2_OPTIMIZE_0),y) +TARGET_OPTIMIZATION = -O0 +endif +ifeq ($(BR2_OPTIMIZE_1),y) +TARGET_OPTIMIZATION = -O1 +endif +ifeq ($(BR2_OPTIMIZE_2),y) +TARGET_OPTIMIZATION = -O2 +endif +ifeq ($(BR2_OPTIMIZE_3),y) +TARGET_OPTIMIZATION = -O3 +endif +ifeq ($(BR2_OPTIMIZE_G),y) +TARGET_OPTIMIZATION = -Og +endif +ifeq ($(BR2_OPTIMIZE_S),y) +TARGET_OPTIMIZATION = -Os +endif +ifeq ($(BR2_OPTIMIZE_FAST),y) +TARGET_OPTIMIZATION = -Ofast +endif +ifeq ($(BR2_ENABLE_DEBUG),) +TARGET_DEBUGGING = -g0 +endif +ifeq ($(BR2_DEBUG_1),y) +TARGET_DEBUGGING = -g1 +endif +ifeq ($(BR2_DEBUG_2),y) +TARGET_DEBUGGING = -g2 +endif +ifeq ($(BR2_DEBUG_3),y) +TARGET_DEBUGGING = -g3 +endif + +TARGET_LDFLAGS = $(call qstrip,$(BR2_TARGET_LDFLAGS)) + +# By design, _FORTIFY_SOURCE requires gcc optimization to be enabled. +# Therefore, we need to pass _FORTIFY_SOURCE and the optimization level +# through the same mechanism, i.e currently through CFLAGS. Passing +# _FORTIFY_SOURCE through the wrapper and the optimization level +# through CFLAGS would not work, because CFLAGS are sometimes +# ignored/overridden by packages, but the flags passed by the wrapper +# are enforced: this would cause _FORTIFY_SOURCE to be used without any +# optimization level, leading to a build / configure failure. So we keep +# passing _FORTIFY_SOURCE and the optimization level both through CFLAGS. +ifeq ($(BR2_FORTIFY_SOURCE_1),y) +TARGET_HARDENED += -D_FORTIFY_SOURCE=1 +else ifeq ($(BR2_FORTIFY_SOURCE_2),y) +TARGET_HARDENED += -D_FORTIFY_SOURCE=2 +endif + +TARGET_CPPFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 +TARGET_CFLAGS = $(TARGET_CPPFLAGS) $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) $(TARGET_HARDENED) +TARGET_CXXFLAGS = $(TARGET_CFLAGS) +TARGET_FCFLAGS = $(TARGET_ABI) $(TARGET_OPTIMIZATION) $(TARGET_DEBUGGING) + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79509 +ifeq ($(BR2_m68k_cf),y) +TARGET_CFLAGS += -fno-dwarf2-cfi-asm +TARGET_CXXFLAGS += -fno-dwarf2-cfi-asm +endif + +ifeq ($(BR2_BINFMT_FLAT),y) +ifeq ($(BR2_RISCV_64),y) +TARGET_CFLAGS += -fPIC +endif +ifeq ($(BR2_BINFMT_FLAT_ONE),y) +ELF2FLT_FLAGS = $(if $($(PKG)_FLAT_STACKSIZE),\ + -Wl$(comma)-elf2flt="-r -s$($(PKG)_FLAT_STACKSIZE)",\ + -Wl$(comma)-elf2flt=-r) +else +ELF2FLT_FLAGS = $(if $($(PKG)_FLAT_STACKSIZE),\ + -Wl$(comma)-elf2flt=-s$($(PKG)_FLAT_STACKSIZE),\ + -Wl$(comma)-elf2flt) +endif +TARGET_CFLAGS += $(ELF2FLT_FLAGS) +TARGET_CXXFLAGS += $(ELF2FLT_FLAGS) +TARGET_FCFLAGS += $(ELF2FLT_FLAGS) +TARGET_LDFLAGS += $(ELF2FLT_FLAGS) +endif + +ifeq ($(BR2_BINFMT_FLAT_SHARED),y) +TARGET_LDFLAGS += -mid-shared-library -mshared-library-id=0 +TARGET_CFLAGS += -mid-shared-library -mshared-library-id=0 +TARGET_FCFLAGS += -mid-shared-library -mshared-library-id=0 +TARGET_CXXFLAGS += -mid-shared-library -mshared-library-id=0 +endif + +ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) +TARGET_CROSS = $(HOST_DIR)/bin/$(GNU_TARGET_NAME)- +else +TARGET_CROSS = $(HOST_DIR)/bin/$(TOOLCHAIN_EXTERNAL_PREFIX)- +endif + +# gcc-4.7 and later ships with wrappers that will automatically pass +# arguments to the binutils tools. Those are paths to necessary linker +# plugins. +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7),y) +TARGET_GCC_WRAPPERS_PREFIX = gcc- +endif + +# Define TARGET_xx variables for all common binutils/gcc +TARGET_AR = $(TARGET_CROSS)$(TARGET_GCC_WRAPPERS_PREFIX)ar +TARGET_AS = $(TARGET_CROSS)as +TARGET_CC = $(TARGET_CROSS)gcc +TARGET_CPP = $(TARGET_CROSS)cpp +TARGET_CXX = $(TARGET_CROSS)g++ +TARGET_FC = $(TARGET_CROSS)gfortran +TARGET_LD = $(TARGET_CROSS)ld +TARGET_NM = $(TARGET_CROSS)$(TARGET_GCC_WRAPPERS_PREFIX)nm +TARGET_RANLIB = $(TARGET_CROSS)$(TARGET_GCC_WRAPPERS_PREFIX)ranlib +TARGET_READELF = $(TARGET_CROSS)readelf +TARGET_OBJCOPY = $(TARGET_CROSS)objcopy +TARGET_OBJDUMP = $(TARGET_CROSS)objdump + +ifeq ($(BR2_STRIP_strip),y) +STRIP_STRIP_DEBUG := --strip-debug +TARGET_STRIP = $(TARGET_CROSS)strip +STRIPCMD = $(TARGET_CROSS)strip --remove-section=.comment --remove-section=.note +else +TARGET_STRIP = /bin/true +STRIPCMD = $(TARGET_STRIP) +endif +INSTALL := $(shell which install || type -p install) +UNZIP := $(shell which unzip || type -p unzip) -q + +APPLY_PATCHES = PATH=$(HOST_DIR)/bin:$$PATH support/scripts/apply-patches.sh $(if $(QUIET),-s) + +HOST_CPPFLAGS = -I$(HOST_DIR)/include +HOST_CFLAGS ?= -O2 +HOST_CFLAGS += $(HOST_CPPFLAGS) +HOST_CXXFLAGS += $(HOST_CFLAGS) +HOST_LDFLAGS += -L$(HOST_DIR)/lib -Wl,-rpath,$(HOST_DIR)/lib + +# host-intltool should be executed with the system perl, so we save +# the path to the system perl, before a host-perl built by Buildroot +# might get installed into $(HOST_DIR)/bin and therefore appears +# in our PATH. This system perl will be used as INTLTOOL_PERL. +export PERL=$(shell which perl) + +# host-intltool needs libxml-parser-perl, which Buildroot installs in +# $(HOST_DIR)/lib/perl, so we must make sure that the system perl +# finds this perl module by exporting the proper value for PERL5LIB. +export PERL5LIB=$(HOST_DIR)/lib/perl + +TARGET_MAKE_ENV = PATH=$(BR_PATH) + +TARGET_CONFIGURE_OPTS = \ + $(TARGET_MAKE_ENV) \ + AR="$(TARGET_AR)" \ + AS="$(TARGET_AS)" \ + LD="$(TARGET_LD)" \ + NM="$(TARGET_NM)" \ + CC="$(TARGET_CC)" \ + GCC="$(TARGET_CC)" \ + CPP="$(TARGET_CPP)" \ + CXX="$(TARGET_CXX)" \ + FC="$(TARGET_FC)" \ + F77="$(TARGET_FC)" \ + RANLIB="$(TARGET_RANLIB)" \ + READELF="$(TARGET_READELF)" \ + STRIP="$(TARGET_STRIP)" \ + OBJCOPY="$(TARGET_OBJCOPY)" \ + OBJDUMP="$(TARGET_OBJDUMP)" \ + AR_FOR_BUILD="$(HOSTAR)" \ + AS_FOR_BUILD="$(HOSTAS)" \ + CC_FOR_BUILD="$(HOSTCC)" \ + GCC_FOR_BUILD="$(HOSTCC)" \ + CXX_FOR_BUILD="$(HOSTCXX)" \ + LD_FOR_BUILD="$(HOSTLD)" \ + CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \ + CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ + CXXFLAGS_FOR_BUILD="$(HOST_CXXFLAGS)" \ + LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \ + FCFLAGS_FOR_BUILD="$(HOST_FCFLAGS)" \ + DEFAULT_ASSEMBLER="$(TARGET_AS)" \ + DEFAULT_LINKER="$(TARGET_LD)" \ + CPPFLAGS="$(TARGET_CPPFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + CXXFLAGS="$(TARGET_CXXFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + FCFLAGS="$(TARGET_FCFLAGS)" \ + FFLAGS="$(TARGET_FCFLAGS)" \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ + STAGING_DIR="$(STAGING_DIR)" \ + INTLTOOL_PERL=$(PERL) + + +HOST_MAKE_ENV = \ + PATH=$(BR_PATH) \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ + PKG_CONFIG_SYSROOT_DIR="/" \ + PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ + PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ + PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig" + +HOST_CONFIGURE_OPTS = \ + $(HOST_MAKE_ENV) \ + AR="$(HOSTAR)" \ + AS="$(HOSTAS)" \ + LD="$(HOSTLD)" \ + NM="$(HOSTNM)" \ + CC="$(HOSTCC)" \ + GCC="$(HOSTCC)" \ + CXX="$(HOSTCXX)" \ + CPP="$(HOSTCPP)" \ + OBJCOPY="$(HOSTOBJCOPY)" \ + RANLIB="$(HOSTRANLIB)" \ + CPPFLAGS="$(HOST_CPPFLAGS)" \ + CFLAGS="$(HOST_CFLAGS)" \ + CXXFLAGS="$(HOST_CXXFLAGS)" \ + LDFLAGS="$(HOST_LDFLAGS)" \ + INTLTOOL_PERL=$(PERL) + +# This is extra environment we can not export ourselves (eg. because some +# packages use that variable internally, eg. uboot), so we have to +# explicitly pass it to user-supplied external hooks (eg. post-build, +# post-images) +EXTRA_ENV = \ + PATH=$(BR_PATH) \ + BR2_DL_DIR=$(BR2_DL_DIR) \ + BUILD_DIR=$(BUILD_DIR) \ + CONFIG_DIR=$(CONFIG_DIR) \ + O=$(CANONICAL_O) + +################################################################################ +# settings we need to pass to configure + +# does unaligned access trap? +BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=yes +ifeq ($(BR2_i386),y) +BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no +endif +ifeq ($(BR2_x86_64),y) +BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no +endif +ifeq ($(BR2_m68k),y) +BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no +endif +ifeq ($(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le),y) +BR2_AC_CV_TRAP_CHECK = ac_cv_lbl_unaligned_fail=no +endif + +ifeq ($(BR2_ENDIAN),"BIG") +BR2_AC_CV_C_BIGENDIAN = ac_cv_c_bigendian=yes +else +BR2_AC_CV_C_BIGENDIAN = ac_cv_c_bigendian=no +endif + +# AM_GNU_GETTEXT misdetects musl gettext support. +# musl currently implements api level 1 and 2 (basic + ngettext) +# http://www.openwall.com/lists/musl/2015/04/16/3 +# +# These autoconf variables should only be pre-seeded when the minimal +# gettext implementation of musl is used. When the full blown +# implementation provided by gettext libintl is used, auto-detection +# works fine, and pre-seeding those values is actually wrong. +ifeq ($(BR2_TOOLCHAIN_USES_MUSL):$(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y:) +BR2_GT_CV_FUNC_GNUGETTEXT_LIBC = \ + gt_cv_func_gnugettext1_libc=yes \ + gt_cv_func_gnugettext2_libc=yes +endif + +TARGET_CONFIGURE_ARGS = \ + $(BR2_AC_CV_TRAP_CHECK) \ + ac_cv_func_mmap_fixed_mapped=yes \ + ac_cv_func_memcmp_working=yes \ + ac_cv_have_decl_malloc=yes \ + gl_cv_func_malloc_0_nonnull=yes \ + ac_cv_func_malloc_0_nonnull=yes \ + ac_cv_func_calloc_0_nonnull=yes \ + ac_cv_func_realloc_0_nonnull=yes \ + lt_cv_sys_lib_search_path_spec="" \ + $(BR2_AC_CV_C_BIGENDIAN) \ + $(BR2_GT_CV_FUNC_GNUGETTEXT_LIBC) + +################################################################################ + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +NLS_OPTS = --enable-nls +TARGET_NLS_DEPENDENCIES = host-gettext +ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) +TARGET_NLS_DEPENDENCIES += gettext +TARGET_NLS_LIBS += -lintl +endif +else +NLS_OPTS = --disable-nls +endif + +# We need anything that is invalid. Traditionally, we'd have used 'false' (and +# we did so in the past). However, that breaks libtool for packages that have +# optional C++ support (e.g. gnutls), because libtool will *require* a *valid* +# C++ preprocessor as long as CXX is not 'no'. +# Now, whether we use 'no' or 'false' for CXX as the same side effect: it is an +# invalid C++ compiler, and thus will cause detection of C++ to fail (which is +# expected and what we want), while at the same time taming libtool into +# silence. +ifneq ($(BR2_INSTALL_LIBSTDCPP),y) +TARGET_CONFIGURE_OPTS += CXX=no +endif + +ifeq ($(BR2_STATIC_LIBS),y) +SHARED_STATIC_LIBS_OPTS = --enable-static --disable-shared +TARGET_CFLAGS += -static +TARGET_CXXFLAGS += -static +TARGET_FCFLAGS += -static +TARGET_LDFLAGS += -static +else ifeq ($(BR2_SHARED_LIBS),y) +SHARED_STATIC_LIBS_OPTS = --disable-static --enable-shared +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +SHARED_STATIC_LIBS_OPTS = --enable-static --enable-shared +endif + +ifeq ($(BR2_COMPILER_PARANOID_UNSAFE_PATH),y) +export BR_COMPILER_PARANOID_UNSAFE_PATH=enabled +endif + +include package/pkg-download.mk +include package/pkg-autotools.mk +include package/pkg-cmake.mk +include package/pkg-luarocks.mk +include package/pkg-perl.mk +include package/pkg-python.mk +include package/pkg-virtual.mk +include package/pkg-generic.mk +include package/pkg-kconfig.mk +include package/pkg-rebar.mk +include package/pkg-kernel-module.mk +include package/pkg-waf.mk +include package/pkg-golang.mk +include package/pkg-meson.mk +include package/pkg-qmake.mk +include package/pkg-cargo.mk diff --git a/buildroot-2021.05/package/a10disp/Config.in b/buildroot-2022.02.1/package/a10disp/Config.in similarity index 100% rename from buildroot-2021.05/package/a10disp/Config.in rename to buildroot-2022.02.1/package/a10disp/Config.in diff --git a/buildroot-2021.05/package/a10disp/a10disp.hash b/buildroot-2022.02.1/package/a10disp/a10disp.hash similarity index 100% rename from buildroot-2021.05/package/a10disp/a10disp.hash rename to buildroot-2022.02.1/package/a10disp/a10disp.hash diff --git a/buildroot-2021.05/package/a10disp/a10disp.mk b/buildroot-2022.02.1/package/a10disp/a10disp.mk similarity index 100% rename from buildroot-2021.05/package/a10disp/a10disp.mk rename to buildroot-2022.02.1/package/a10disp/a10disp.mk diff --git a/buildroot-2022.02.1/package/abootimg/Config.in b/buildroot-2022.02.1/package/abootimg/Config.in new file mode 100644 index 00000000..bcd2a082 --- /dev/null +++ b/buildroot-2022.02.1/package/abootimg/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_ABOOTIMG + bool "abootimg" + depends on BR2_USE_MMU # libblkid + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + help + Tool to manipulate Android Boot Images, either on files + or directly on /dev block devices. + + https://gitlab.com/ajs124/abootimg diff --git a/buildroot-2021.05/package/abootimg/Config.in.host b/buildroot-2022.02.1/package/abootimg/Config.in.host similarity index 100% rename from buildroot-2021.05/package/abootimg/Config.in.host rename to buildroot-2022.02.1/package/abootimg/Config.in.host diff --git a/buildroot-2022.02.1/package/abootimg/abootimg.hash b/buildroot-2022.02.1/package/abootimg/abootimg.hash new file mode 100644 index 00000000..141db268 --- /dev/null +++ b/buildroot-2022.02.1/package/abootimg/abootimg.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 f377da42a57d982cfc22fa75c5a69febdc3e4c1ef43cd0ceaec42e14067e2f37 abootimg-1ebeb393252ab5aeed62e34bc439b6728444f06e-br1.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/abootimg/abootimg.mk b/buildroot-2022.02.1/package/abootimg/abootimg.mk new file mode 100644 index 00000000..a07100df --- /dev/null +++ b/buildroot-2022.02.1/package/abootimg/abootimg.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# abootimg +# +################################################################################ + +ABOOTIMG_VERSION = 1ebeb393252ab5aeed62e34bc439b6728444f06e +ABOOTIMG_SITE = https://gitlab.com/ajs124/abootimg.git +ABOOTIMG_SITE_METHOD = git +ABOOTIMG_LICENSE = GPL-2.0+ +ABOOTIMG_LICENSE_FILES = LICENSE + +# depends on libblkid from util-linux +ABOOTIMG_DEPENDENCIES = util-linux +HOST_ABOOTIMG_DEPENDENCIES = host-util-linux + +define ABOOTIMG_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define ABOOTIMG_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 $(@D)/abootimg $(TARGET_DIR)/usr/bin/abootimg +endef + +define HOST_ABOOTIMG_BUILD_CMDS + $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) +endef + +define HOST_ABOOTIMG_INSTALL_CMDS + $(INSTALL) -m 0755 $(@D)/abootimg $(HOST_DIR)/usr/bin/abootimg +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch b/buildroot-2022.02.1/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch new file mode 100644 index 00000000..ad82c101 --- /dev/null +++ b/buildroot-2022.02.1/package/ace/0001-ACE-ace-SSL-SSL_Asynch_BIO.cpp-fix-build-with-libres.patch @@ -0,0 +1,52 @@ +From e06cadc3b95a577e6a8bbc94f93dd063710c73a1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 3 Apr 2022 15:25:49 +0200 +Subject: [PATCH] ACE/ace/SSL/SSL_Asynch_BIO.cpp: fix build with libressl + +Fix the following build failure with libressl: + +/home/autobuild/autobuild/instance-10/output-1/build/ace-7.0.6/ace/SSL/SSL_Asynch_BIO.cpp:174:7: error: 'BIO_get_init' was not declared in this scope; did you mean 'BIO_set_init'? + 174 | if (BIO_get_init(pBIO) == 0 || p_stream == 0 || buf == 0 || len <= 0) + | ^~~~~~~~~~~~ + | BIO_set_init + +Fixes: + - http://autobuild.buildroot.org/results/386afa88ac9e5e3bb65dddeabf610bb1e9bc4285 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/DOCGroup/ACE_TAO/commit/e06cadc3b95a577e6a8bbc94f93dd063710c73a1] +--- + ACE/ace/SSL/SSL_Asynch_BIO.cpp | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ace/SSL/SSL_Asynch_BIO.cpp b/ace/SSL/SSL_Asynch_BIO.cpp +index a657d8a14e6f7..64aa14c6ab9a7 100644 +--- a/ace/SSL/SSL_Asynch_BIO.cpp ++++ b/ace/SSL/SSL_Asynch_BIO.cpp +@@ -41,7 +41,7 @@ extern "C" + + #define BIO_TYPE_ACE ( 21 | BIO_TYPE_SOURCE_SINK ) + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + static BIO_METHOD methods_ACE = + { + BIO_TYPE_ACE, // BIO_TYPE_PROXY_SERVER, +@@ -68,14 +68,14 @@ static BIO_METHOD methods_ACE = + #else + static BIO_METHOD* methods_ACE; + # define BIO_set_num(b, val) +-#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ ++#endif /* OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) */ + + ACE_BEGIN_VERSIONED_NAMESPACE_DECL + + BIO * + ACE_SSL_make_BIO (void * ssl_asynch_stream) + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + BIO * const pBIO = BIO_new (&methods_ACE); + #else + if (!methods_ACE) diff --git a/buildroot-2022.02.1/package/ace/Config.in b/buildroot-2022.02.1/package/ace/Config.in new file mode 100644 index 00000000..5000f235 --- /dev/null +++ b/buildroot-2022.02.1/package/ace/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_ACE + bool "ace" + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + help + The ADAPTIVE Communication Environment (ACE(TM)) + An OO Network Programming Toolkit in C++. + + http://www.dre.vanderbilt.edu/~schmidt/ACE.html + +comment "ACE needs a glibc toolchain, dynamic library, C++, gcc >= 4.8" + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 diff --git a/buildroot-2022.02.1/package/ace/ace.hash b/buildroot-2022.02.1/package/ace/ace.hash new file mode 100644 index 00000000..23879278 --- /dev/null +++ b/buildroot-2022.02.1/package/ace/ace.hash @@ -0,0 +1,6 @@ +# From https://download.dre.vanderbilt.edu/previous_versions/ACE-7.0.6.tar.bz2.md5: +md5 d1656851619aff15365270ccf2d56c6e ACE-7.0.6.tar.bz2 + +# Locally Computed: +sha256 4a0cd7da4851f769fddfcf33f663eba4afad824efeff9f59f134c4640ee80216 ACE-7.0.6.tar.bz2 +sha256 687bf9d16119e0caf6fb5c18214928fd6ea0da10df91e906255b7613af8061d8 COPYING diff --git a/buildroot-2022.02.1/package/ace/ace.mk b/buildroot-2022.02.1/package/ace/ace.mk new file mode 100644 index 00000000..7299f0d4 --- /dev/null +++ b/buildroot-2022.02.1/package/ace/ace.mk @@ -0,0 +1,66 @@ +################################################################################ +# +# ace +# +################################################################################ + +ACE_VERSION = 7.0.6 +ACE_SOURCE = ACE-$(ACE_VERSION).tar.bz2 +ACE_SITE = http://download.dre.vanderbilt.edu/previous_versions +ACE_LICENSE = DOC +ACE_LICENSE_FILES = COPYING +ACE_INSTALL_STAGING = YES +ACE_CPE_ID_VENDOR = vanderbilt +ACE_CPE_ID_PRODUCT = adaptive_communication_environment + +# Note: We are excluding examples, apps and tests +# Only compiling ACE libraries (no TAO) +ACE_LIBARIES = ace ACEXML Kokyu netsvcs protocols/ace + +ACE_MAKE_OPTS = \ + ACE_ROOT="$(@D)" \ + DEFFLAGS="$(TARGET_CPPFLAGS) -std=c++11" + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ACE_LIBARIES += ace/SSL +ACE_DEPENDENCIES += openssl +define ACE_CONFIGURE_SSL + echo "ssl = 1" >> $(@D)/include/makeinclude/platform_macros.GNU +endef +endif + +# configure the target build +# refer: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix +define ACE_CONFIGURE_CMDS + # create a config file + echo ' #include "ace/config-linux.h" ' >> $(@D)/ace/config.h + + # Create platform/compiler-specific Makefile configurations + $(INSTALL) -m 0644 package/ace/platform_macros.GNU $(@D)/include/makeinclude/ + + $(ACE_CONFIGURE_SSL) +endef + +define ACE_BUILD_CMDS + $(foreach lib,$(ACE_LIBARIES), \ + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$(lib) \ + $(ACE_MAKE_OPTS) all + ) +endef + +define ACE_LIBARIES_INSTALL + mkdir -p $(1)/usr/share/ace + $(foreach lib,$(ACE_LIBARIES), \ + $(MAKE) -C $(@D)/$(lib) $(ACE_MAKE_OPTS) DESTDIR=$(1) install + ) +endef + +define ACE_INSTALL_TARGET_CMDS + $(call ACE_LIBARIES_INSTALL,$(TARGET_DIR)) +endef + +define ACE_INSTALL_STAGING_CMDS + $(call ACE_LIBARIES_INSTALL,$(STAGING_DIR)) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/ace/platform_macros.GNU b/buildroot-2022.02.1/package/ace/platform_macros.GNU new file mode 100644 index 00000000..ab5ec25a --- /dev/null +++ b/buildroot-2022.02.1/package/ace/platform_macros.GNU @@ -0,0 +1,14 @@ +# help: http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/ACE-INSTALL.html#unix + +# create a platform macros file +include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU + +# disable RPATH +install_rpath = 0 + +# set the installation prefix +INSTALL_PREFIX = /usr + +# fix link error with ARM EABI tools +# http://list.isis.vanderbilt.edu/pipermail/ace-users/2008-January/002742.html +no_hidden_visibility = 1 diff --git a/buildroot-2021.05/package/acl/0001-Build-with-old-GCC-versions.patch b/buildroot-2022.02.1/package/acl/0001-Build-with-old-GCC-versions.patch similarity index 100% rename from buildroot-2021.05/package/acl/0001-Build-with-old-GCC-versions.patch rename to buildroot-2022.02.1/package/acl/0001-Build-with-old-GCC-versions.patch diff --git a/buildroot-2021.05/package/acl/Config.in b/buildroot-2022.02.1/package/acl/Config.in similarity index 100% rename from buildroot-2021.05/package/acl/Config.in rename to buildroot-2022.02.1/package/acl/Config.in diff --git a/buildroot-2021.05/package/acl/acl.hash b/buildroot-2022.02.1/package/acl/acl.hash similarity index 100% rename from buildroot-2021.05/package/acl/acl.hash rename to buildroot-2022.02.1/package/acl/acl.hash diff --git a/buildroot-2021.05/package/acl/acl.mk b/buildroot-2022.02.1/package/acl/acl.mk similarity index 100% rename from buildroot-2021.05/package/acl/acl.mk rename to buildroot-2022.02.1/package/acl/acl.mk diff --git a/buildroot-2021.05/package/acpica/0001-build-do-not-use-Werror.patch b/buildroot-2022.02.1/package/acpica/0001-build-do-not-use-Werror.patch similarity index 100% rename from buildroot-2021.05/package/acpica/0001-build-do-not-use-Werror.patch rename to buildroot-2022.02.1/package/acpica/0001-build-do-not-use-Werror.patch diff --git a/buildroot-2021.05/package/acpica/Config.in b/buildroot-2022.02.1/package/acpica/Config.in similarity index 100% rename from buildroot-2021.05/package/acpica/Config.in rename to buildroot-2022.02.1/package/acpica/Config.in diff --git a/buildroot-2021.05/package/acpica/acpica.hash b/buildroot-2022.02.1/package/acpica/acpica.hash similarity index 100% rename from buildroot-2021.05/package/acpica/acpica.hash rename to buildroot-2022.02.1/package/acpica/acpica.hash diff --git a/buildroot-2021.05/package/acpica/acpica.mk b/buildroot-2022.02.1/package/acpica/acpica.mk similarity index 100% rename from buildroot-2021.05/package/acpica/acpica.mk rename to buildroot-2022.02.1/package/acpica/acpica.mk diff --git a/buildroot-2021.05/package/acpid/0001-dont-use-isfdtype.patch b/buildroot-2022.02.1/package/acpid/0001-dont-use-isfdtype.patch similarity index 100% rename from buildroot-2021.05/package/acpid/0001-dont-use-isfdtype.patch rename to buildroot-2022.02.1/package/acpid/0001-dont-use-isfdtype.patch diff --git a/buildroot-2021.05/package/acpid/0002-add-missing-defines.patch b/buildroot-2022.02.1/package/acpid/0002-add-missing-defines.patch similarity index 100% rename from buildroot-2021.05/package/acpid/0002-add-missing-defines.patch rename to buildroot-2022.02.1/package/acpid/0002-add-missing-defines.patch diff --git a/buildroot-2021.05/package/acpid/Config.in b/buildroot-2022.02.1/package/acpid/Config.in similarity index 100% rename from buildroot-2021.05/package/acpid/Config.in rename to buildroot-2022.02.1/package/acpid/Config.in diff --git a/buildroot-2021.05/package/acpid/S02acpid b/buildroot-2022.02.1/package/acpid/S02acpid similarity index 100% rename from buildroot-2021.05/package/acpid/S02acpid rename to buildroot-2022.02.1/package/acpid/S02acpid diff --git a/buildroot-2022.02.1/package/acpid/acpid.hash b/buildroot-2022.02.1/package/acpid/acpid.hash new file mode 100644 index 00000000..d5e5bcc1 --- /dev/null +++ b/buildroot-2022.02.1/package/acpid/acpid.hash @@ -0,0 +1,7 @@ +# From https://sourceforge.net/projects/acpid2/files/ +md5 b2f2ca633b30ae893c47981fa4d3b258 acpid-2.0.33.tar.xz +sha1 b3e06c3f2213db8ee1a9024cf372fb30e2fab637 acpid-2.0.33.tar.xz + +# Locally computed +sha256 0856f71b3eb34a1b663d0a8e6363dfcbc519e63d847330498898658e2972dbe8 acpid-2.0.33.tar.xz +sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad COPYING diff --git a/buildroot-2022.02.1/package/acpid/acpid.mk b/buildroot-2022.02.1/package/acpid/acpid.mk new file mode 100644 index 00000000..5d5138ba --- /dev/null +++ b/buildroot-2022.02.1/package/acpid/acpid.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# acpid +# +################################################################################ + +ACPID_VERSION = 2.0.33 +ACPID_SOURCE = acpid-$(ACPID_VERSION).tar.xz +ACPID_SITE = http://downloads.sourceforge.net/project/acpid2 +ACPID_LICENSE = GPL-2.0+ +ACPID_LICENSE_FILES = COPYING +ACPID_CPE_ID_VENDOR = tedfelix +ACPID_CPE_ID_PRODUCT = acpid2 +ACPID_SELINUX_MODULES = acpi + +define ACPID_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/acpid/acpid.service \ + $(TARGET_DIR)/usr/lib/systemd/system/acpid.service +endef + +define ACPID_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/acpid/S02acpid \ + $(TARGET_DIR)/etc/init.d/S02acpid +endef + +ifeq ($(BR2_INIT_SYSV)$(BR2_INIT_SYSTEMD),y) +ACPID_POWEROFF_CMD = /sbin/shutdown -hP now +else +ACPID_POWEROFF_CMD = /sbin/poweroff +endif + +define ACPID_SET_EVENTS + mkdir -p $(TARGET_DIR)/etc/acpi/events + printf 'event=button[ /]power\naction=%s\n' '$(ACPID_POWEROFF_CMD)' \ + >$(TARGET_DIR)/etc/acpi/events/powerbtn +endef + +ACPID_POST_INSTALL_TARGET_HOOKS += ACPID_SET_EVENTS + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/acpid/acpid.service b/buildroot-2022.02.1/package/acpid/acpid.service similarity index 100% rename from buildroot-2021.05/package/acpid/acpid.service rename to buildroot-2022.02.1/package/acpid/acpid.service diff --git a/buildroot-2021.05/package/acpitool/Config.in b/buildroot-2022.02.1/package/acpitool/Config.in similarity index 100% rename from buildroot-2021.05/package/acpitool/Config.in rename to buildroot-2022.02.1/package/acpitool/Config.in diff --git a/buildroot-2021.05/package/acpitool/acpitool.hash b/buildroot-2022.02.1/package/acpitool/acpitool.hash similarity index 100% rename from buildroot-2021.05/package/acpitool/acpitool.hash rename to buildroot-2022.02.1/package/acpitool/acpitool.hash diff --git a/buildroot-2021.05/package/acpitool/acpitool.mk b/buildroot-2022.02.1/package/acpitool/acpitool.mk similarity index 100% rename from buildroot-2021.05/package/acpitool/acpitool.mk rename to buildroot-2022.02.1/package/acpitool/acpitool.mk diff --git a/buildroot-2021.05/package/acsccid/Config.in b/buildroot-2022.02.1/package/acsccid/Config.in similarity index 100% rename from buildroot-2021.05/package/acsccid/Config.in rename to buildroot-2022.02.1/package/acsccid/Config.in diff --git a/buildroot-2021.05/package/acsccid/acsccid.hash b/buildroot-2022.02.1/package/acsccid/acsccid.hash similarity index 100% rename from buildroot-2021.05/package/acsccid/acsccid.hash rename to buildroot-2022.02.1/package/acsccid/acsccid.hash diff --git a/buildroot-2021.05/package/acsccid/acsccid.mk b/buildroot-2022.02.1/package/acsccid/acsccid.mk similarity index 100% rename from buildroot-2021.05/package/acsccid/acsccid.mk rename to buildroot-2022.02.1/package/acsccid/acsccid.mk diff --git a/buildroot-2021.05/package/adwaita-icon-theme/Config.in b/buildroot-2022.02.1/package/adwaita-icon-theme/Config.in similarity index 100% rename from buildroot-2021.05/package/adwaita-icon-theme/Config.in rename to buildroot-2022.02.1/package/adwaita-icon-theme/Config.in diff --git a/buildroot-2021.05/package/adwaita-icon-theme/adwaita-icon-theme.hash b/buildroot-2022.02.1/package/adwaita-icon-theme/adwaita-icon-theme.hash similarity index 100% rename from buildroot-2021.05/package/adwaita-icon-theme/adwaita-icon-theme.hash rename to buildroot-2022.02.1/package/adwaita-icon-theme/adwaita-icon-theme.hash diff --git a/buildroot-2021.05/package/adwaita-icon-theme/adwaita-icon-theme.mk b/buildroot-2022.02.1/package/adwaita-icon-theme/adwaita-icon-theme.mk similarity index 100% rename from buildroot-2021.05/package/adwaita-icon-theme/adwaita-icon-theme.mk rename to buildroot-2022.02.1/package/adwaita-icon-theme/adwaita-icon-theme.mk diff --git a/buildroot-2021.05/package/aer-inject/Config.in b/buildroot-2022.02.1/package/aer-inject/Config.in similarity index 100% rename from buildroot-2021.05/package/aer-inject/Config.in rename to buildroot-2022.02.1/package/aer-inject/Config.in diff --git a/buildroot-2021.05/package/aer-inject/aer-inject.hash b/buildroot-2022.02.1/package/aer-inject/aer-inject.hash similarity index 100% rename from buildroot-2021.05/package/aer-inject/aer-inject.hash rename to buildroot-2022.02.1/package/aer-inject/aer-inject.hash diff --git a/buildroot-2022.02.1/package/aer-inject/aer-inject.mk b/buildroot-2022.02.1/package/aer-inject/aer-inject.mk new file mode 100644 index 00000000..6bc9cb44 --- /dev/null +++ b/buildroot-2022.02.1/package/aer-inject/aer-inject.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# aer-inject +# +################################################################################ + +AER_INJECT_VERSION = 9bd5e2c7886fca72f139cd8402488a2235957d41 +AER_INJECT_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/gong.chen/aer-inject.git +AER_INJECT_SITE_METHOD = git +AER_INJECT_LICENSE = GPL-2.0 +AER_INJECT_LICENSE_FILES = README +AER_INJECT_DEPENDENCIES = host-flex host-bison + +define AER_INJECT_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) +endef + +define AER_INJECT_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) PREFIX=/usr/bin install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/aespipe/Config.in b/buildroot-2022.02.1/package/aespipe/Config.in similarity index 100% rename from buildroot-2021.05/package/aespipe/Config.in rename to buildroot-2022.02.1/package/aespipe/Config.in diff --git a/buildroot-2021.05/package/aespipe/Config.in.host b/buildroot-2022.02.1/package/aespipe/Config.in.host similarity index 100% rename from buildroot-2021.05/package/aespipe/Config.in.host rename to buildroot-2022.02.1/package/aespipe/Config.in.host diff --git a/buildroot-2021.05/package/aespipe/aespipe.hash b/buildroot-2022.02.1/package/aespipe/aespipe.hash similarity index 100% rename from buildroot-2021.05/package/aespipe/aespipe.hash rename to buildroot-2022.02.1/package/aespipe/aespipe.hash diff --git a/buildroot-2021.05/package/aespipe/aespipe.mk b/buildroot-2022.02.1/package/aespipe/aespipe.mk similarity index 100% rename from buildroot-2021.05/package/aespipe/aespipe.mk rename to buildroot-2022.02.1/package/aespipe/aespipe.mk diff --git a/buildroot-2021.05/package/agentpp/0001-Fix-build-when-SNMPv3-is-disabled.patch b/buildroot-2022.02.1/package/agentpp/0001-Fix-build-when-SNMPv3-is-disabled.patch similarity index 100% rename from buildroot-2021.05/package/agentpp/0001-Fix-build-when-SNMPv3-is-disabled.patch rename to buildroot-2022.02.1/package/agentpp/0001-Fix-build-when-SNMPv3-is-disabled.patch diff --git a/buildroot-2021.05/package/agentpp/Config.in b/buildroot-2022.02.1/package/agentpp/Config.in similarity index 100% rename from buildroot-2021.05/package/agentpp/Config.in rename to buildroot-2022.02.1/package/agentpp/Config.in diff --git a/buildroot-2021.05/package/agentpp/agentpp.hash b/buildroot-2022.02.1/package/agentpp/agentpp.hash similarity index 100% rename from buildroot-2021.05/package/agentpp/agentpp.hash rename to buildroot-2022.02.1/package/agentpp/agentpp.hash diff --git a/buildroot-2021.05/package/agentpp/agentpp.mk b/buildroot-2022.02.1/package/agentpp/agentpp.mk similarity index 100% rename from buildroot-2021.05/package/agentpp/agentpp.mk rename to buildroot-2022.02.1/package/agentpp/agentpp.mk diff --git a/buildroot-2021.05/package/aircrack-ng/0001-Expand-packed-definition.patch b/buildroot-2022.02.1/package/aircrack-ng/0001-Expand-packed-definition.patch similarity index 100% rename from buildroot-2021.05/package/aircrack-ng/0001-Expand-packed-definition.patch rename to buildroot-2022.02.1/package/aircrack-ng/0001-Expand-packed-definition.patch diff --git a/buildroot-2021.05/package/aircrack-ng/0002-Fix-duplicated-symbols.patch b/buildroot-2022.02.1/package/aircrack-ng/0002-Fix-duplicated-symbols.patch similarity index 100% rename from buildroot-2021.05/package/aircrack-ng/0002-Fix-duplicated-symbols.patch rename to buildroot-2022.02.1/package/aircrack-ng/0002-Fix-duplicated-symbols.patch diff --git a/buildroot-2022.02.1/package/aircrack-ng/Config.in b/buildroot-2022.02.1/package/aircrack-ng/Config.in new file mode 100644 index 00000000..eb997e8d --- /dev/null +++ b/buildroot-2022.02.1/package/aircrack-ng/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_AIRCRACK_NG + bool "aircrack-ng" + depends on BR2_USE_MMU # uses fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS # dlfcn.h + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + help + A set of tools for auditing wireless networks + + For complete functionality, also select ethtool, iw, + util-linux (utilities and rfkill), and wireless_tools. + + http://www.aircrack-ng.org/ + +comment "aircrack-ng needs a toolchain w/ dynamic library, threads, C++" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/aircrack-ng/aircrack-ng.hash b/buildroot-2022.02.1/package/aircrack-ng/aircrack-ng.hash similarity index 100% rename from buildroot-2021.05/package/aircrack-ng/aircrack-ng.hash rename to buildroot-2022.02.1/package/aircrack-ng/aircrack-ng.hash diff --git a/buildroot-2021.05/package/aircrack-ng/aircrack-ng.mk b/buildroot-2022.02.1/package/aircrack-ng/aircrack-ng.mk similarity index 100% rename from buildroot-2021.05/package/aircrack-ng/aircrack-ng.mk rename to buildroot-2022.02.1/package/aircrack-ng/aircrack-ng.mk diff --git a/buildroot-2022.02.1/package/alchemy/0001-toolchains-remove-hash-style-management.patch b/buildroot-2022.02.1/package/alchemy/0001-toolchains-remove-hash-style-management.patch new file mode 100644 index 00000000..522766b9 --- /dev/null +++ b/buildroot-2022.02.1/package/alchemy/0001-toolchains-remove-hash-style-management.patch @@ -0,0 +1,36 @@ +From 4cb9681ab99db3d8e330ac789e17ec69583aecd4 Mon Sep 17 00:00:00 2001 +From: Herve Codina +Date: Thu, 28 Oct 2021 18:39:18 +0200 +Subject: [PATCH] toolchains: remove --hash-style management + +Using an external toolchain, with an external configuration given +using TARGET_GLOBAL_XXXX variables, having '--hash-style=both' +in Alchemy toolchains can lead to compilation failure. + +This patch simply removes all --hash-style settings. + +Signed-off-by: Herve Codina +--- + toolchains/linux/eglibc/flags.mk | 9 +-------- + 1 file changed, 1 insertion(+), 8 deletions(-) + +diff --git a/toolchains/linux/eglibc/flags.mk b/toolchains/linux/eglibc/flags.mk +index 95c0a46..4474729 100644 +--- a/toolchains/linux/eglibc/flags.mk ++++ b/toolchains/linux/eglibc/flags.mk +@@ -11,11 +11,4 @@ TARGET_GLOBAL_LDLIBS += -pthread -lrt + TARGET_GLOBAL_CFLAGS += -funwind-tables + + # Enable link optimization for binutils's ld. +-# gnu hash not supported by mips ABI +-ifeq ("$(TARGET_ARCH)","mips") +- TARGET_GLOBAL_LDFLAGS += -Wl,-O1 +-else ifeq ("$(TARGET_ARCH)","mips64") +- TARGET_GLOBAL_LDFLAGS += -Wl,-O1 +-else +- TARGET_GLOBAL_LDFLAGS += -Wl,-O1,--hash-style=both +-endif ++TARGET_GLOBAL_LDFLAGS += -Wl,-O1 +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/alchemy/alchemy.hash b/buildroot-2022.02.1/package/alchemy/alchemy.hash new file mode 100644 index 00000000..33895263 --- /dev/null +++ b/buildroot-2022.02.1/package/alchemy/alchemy.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 346c06b9317691a9371d878b850e61f8bcec4f20132ac95340b9d2571be25ee8 alchemy-d95b3c38cd37814a1b98d0bbf813de7adaaecfbc.tar.gz +sha256 542f44eecd9f8806ec1ae285201e442ab547c82d9f8c70e44c977d6332a2bea0 COPYING +sha256 49872815ee3de163f07a83737c996e77a5bffa186d06b1e3bb969bfb68c251df README diff --git a/buildroot-2022.02.1/package/alchemy/alchemy.mk b/buildroot-2022.02.1/package/alchemy/alchemy.mk new file mode 100644 index 00000000..18cdd0a6 --- /dev/null +++ b/buildroot-2022.02.1/package/alchemy/alchemy.mk @@ -0,0 +1,70 @@ +################################################################################ +# +# alchemy +# +################################################################################ + +ALCHEMY_VERSION = d95b3c38cd37814a1b98d0bbf813de7adaaecfbc +ALCHEMY_SITE = $(call github,Parrot-Developers,alchemy,$(ALCHEMY_VERSION)) +ALCHEMY_LICENSE = BSD-3-Clause (Alchemy), GPL-2.0 (kconfig) +ALCHEMY_LICENSE_FILES = COPYING README +HOST_ALCHEMY_DEPENDENCIES = host-python3 + +ALCHEMY_HOME = $(HOST_DIR)/opt/alchemy +ALCHEMY_SDK_BASEDIR = $(STAGING_DIR)/usr/lib/alchemy/sdk + +define HOST_ALCHEMY_INSTALL_CMDS + mkdir -p $(ALCHEMY_HOME) + cp -rf $(@D)/* $(ALCHEMY_HOME) + cp $(HOST_ALCHEMY_PKGDIR)/atom.mk.in $(ALCHEMY_HOME)/atom.mk.in +endef + +$(eval $(host-generic-package)) + +# Variables used by other packages + +ALCHEMY_MAKE = $(ALCHEMY_HOME)/scripts/alchemake + +# TARGET_ARCH is set to 'xxx' to avoid Alchemy managing the architecture. +# When Alchemy manages the architecture, it can add some flags to CFGLAGS and +# can lead to incorrect result with the toolchain provided in TARGET_CROSS. +# 'xxx' is an unknown architecture for Alchemy. Using this value is a simple +# way to disable the Alchemy architecture management. +ALCHEMY_TARGET_ENV = \ + $(TARGET_MAKE_ENV) \ + ALCHEMY_HOME=$(ALCHEMY_HOME) \ + ALCHEMY_WORKSPACE_DIR="$(@D)" \ + ALCHEMY_TARGET_OUT=alchemy-out \ + TARGET_OS=linux \ + TARGET_OS_FLAVOUR=buildroot \ + TARGET_CROSS="$(TARGET_CROSS)" \ + TARGET_ARCH=xxx \ + TARGET_GLOBAL_CXXFLAGS="$(TARGET_CXXFLAGS)" \ + TARGET_GLOBAL_LDFLAGS="$(TARGET_LDFLAGS)" \ + TARGET_GLOBAL_FFLAGS="$(TARGET_FCFLAGS)" \ + TARGET_GLOBAL_FCFLAGS="$(TARGET_FCFLAGS)" + +ifeq ($(BR2_STATIC_LIBS),y) +ALCHEMY_TARGET_ENV += \ + TARGET_FORCE_STATIC=1 \ + TARGET_GLOBAL_CFLAGS="$(TARGET_CFLAGS)" +else +ALCHEMY_TARGET_ENV += \ + TARGET_GLOBAL_CFLAGS="$(TARGET_CFLAGS) -fPIC" +endif + +# Install an Alchemy SDK file. +# This macro can be used by Alchemy packages +# $1: Alchemy module name +# $2: Alchemy module file name +# $3: Alchemy module libraries this module depends on +define ALCHEMY_INSTALL_LIB_SDK_FILE + $(INSTALL) -m 0644 -D \ + $(ALCHEMY_HOME)/atom.mk.in \ + $(ALCHEMY_SDK_BASEDIR)/$($(PKG)_NAME)/atom.mk + $(SED) 's#@STAGING_DIR@#$(STAGING_DIR)#' \ + -e 's#@MODULE@#$(strip $(1))#' \ + -e 's#@MODULE_FILENAME@#$(strip $(2))#' \ + -e 's#@LIBRARIES@#$(strip $(3))#' \ + $(ALCHEMY_SDK_BASEDIR)/$($(PKG)_NAME)/atom.mk +endef diff --git a/buildroot-2022.02.1/package/alchemy/atom.mk.in b/buildroot-2022.02.1/package/alchemy/atom.mk.in new file mode 100644 index 00000000..084ae0e8 --- /dev/null +++ b/buildroot-2022.02.1/package/alchemy/atom.mk.in @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE := @MODULE@ +LOCAL_SDK := @STAGING_DIR@ +LOCAL_DESTDIR := usr/lib +LOCAL_MODULE_FILENAME := @MODULE_FILENAME@ +LOCAL_LIBRARIES := @LIBRARIES@ +include $(BUILD_LIBRARY) diff --git a/buildroot-2022.02.1/package/alfred/Config.in b/buildroot-2022.02.1/package/alfred/Config.in new file mode 100644 index 00000000..bfcfef0d --- /dev/null +++ b/buildroot-2022.02.1/package/alfred/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_ALFRED + bool "alfred" + depends on !BR2_STATIC_LIBS # dlopen() + depends on BR2_TOOLCHAIN_HAS_THREADS # libnl + select BR2_PACKAGE_LIBNL + help + Alfred is a user space daemon for distributing arbitrary + local information over the mesh/network in a decentralized + fashion. + + This data can be anything which appears to be useful - + originally designed to replace the batman-adv visualization + (vis), you may distribute hostnames, phone books, + administration information, DNS information, the local + weather forecast ... + + https://www.open-mesh.org/projects/alfred/wiki + +comment "alfred needs a toolchain w/ dynamic library, threads" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/alfred/alfred.hash b/buildroot-2022.02.1/package/alfred/alfred.hash new file mode 100644 index 00000000..2da7eb31 --- /dev/null +++ b/buildroot-2022.02.1/package/alfred/alfred.hash @@ -0,0 +1,5 @@ +# From https://downloads.open-mesh.org/batman/stable/sources/alfred/alfred-2022.0.tar.gz.sha1 +sha1 8e00789d3e1e5c959dd985809861ff624d372694 alfred-2022.0.tar.gz +# Locally computed +sha256 abba1dac61eccfcd6329e7331d0555fecc937760fb36c6cf55ce6c1d751cfd98 alfred-2022.0.tar.gz +sha256 cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025 LICENSES/preferred/GPL-2.0 diff --git a/buildroot-2022.02.1/package/alfred/alfred.mk b/buildroot-2022.02.1/package/alfred/alfred.mk new file mode 100644 index 00000000..24b9956b --- /dev/null +++ b/buildroot-2022.02.1/package/alfred/alfred.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# alfred +# +################################################################################ + +ALFRED_VERSION = 2022.0 +ALFRED_SITE = https://downloads.open-mesh.org/batman/stable/sources/alfred +ALFRED_LICENSE = GPL-2.0 +ALFRED_LICENSE_FILES = LICENSES/preferred/GPL-2.0 +ALFRED_DEPENDENCIES = libnl + +define ALFRED_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ + $(MAKE) -C $(@D) \ + CONFIG_ALFRED_CAPABILITIES=n \ + CONFIG_ALFRED_GPSD=n +endef + +define ALFRED_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/alfred $(TARGET_DIR)/usr/bin/alfred + $(INSTALL) -m 0755 -D $(@D)/vis/batadv-vis $(TARGET_DIR)/usr/bin/batadv-vis +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/alsa-lib/0001-Don-t-use-fork-on-noMMU-platforms.patch b/buildroot-2022.02.1/package/alsa-lib/0001-Don-t-use-fork-on-noMMU-platforms.patch similarity index 100% rename from buildroot-2021.05/package/alsa-lib/0001-Don-t-use-fork-on-noMMU-platforms.patch rename to buildroot-2022.02.1/package/alsa-lib/0001-Don-t-use-fork-on-noMMU-platforms.patch diff --git a/buildroot-2022.02.1/package/alsa-lib/0002-fix-PyTuple_SET_ITEM-usage-no-return-value.patch b/buildroot-2022.02.1/package/alsa-lib/0002-fix-PyTuple_SET_ITEM-usage-no-return-value.patch new file mode 100644 index 00000000..a1c9f3b8 --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-lib/0002-fix-PyTuple_SET_ITEM-usage-no-return-value.patch @@ -0,0 +1,70 @@ +From 1da2ede2d8b01a8851648e774a4c3c5779c0bafa Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 7 Dec 2021 13:55:54 -0800 +Subject: [PATCH] Fix PyTuple_SET_ITEM() usage - no return value + +As noted in bpo-30459 (link bellow) the PyTuple_SET_ITEM() macro +has not a return value. Make the code compatible with python 3.10. + +Link: https://bugs.python.org/issue30459 +Signed-off-by: Adam Duskett +--- + modules/mixer/simple/python.c | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/modules/mixer/simple/python.c b/modules/mixer/simple/python.c +index 8a7264d..c7c1ce7 100644 +--- a/modules/mixer/simple/python.c ++++ b/modules/mixer/simple/python.c +@@ -775,8 +775,8 @@ pymixer_melement_new(struct pymixer *pymixer, PyObject *args) + obj = PyDict_GetItemString(pymixer->mdict, class); + if (obj) { + obj1 = PyTuple_New(4); +- if (PyTuple_SET_ITEM(obj1, 0, (PyObject *)pymixer)) +- Py_INCREF((PyObject *)pymixer); ++ PyTuple_SET_ITEM(obj1, 0, (PyObject *)pymixer); ++ Py_INCREF((PyObject *)pymixer); + PyTuple_SET_ITEM(obj1, 1, PyUnicode_FromString(name)); + PyTuple_SET_ITEM(obj1, 2, PyInt_FromLong(index)); + PyTuple_SET_ITEM(obj1, 3, PyInt_FromLong(weight)); +@@ -920,8 +920,8 @@ static PyObject *new_helem(struct python_priv *priv, snd_hctl_elem_t *helem) + obj = PyDict_GetItemString(priv->py_mdict, "HElement"); + if (obj) { + obj1 = PyTuple_New(3); +- if (PyTuple_SET_ITEM(obj1, 0, py_hctl)) +- Py_INCREF(py_hctl); ++ PyTuple_SET_ITEM(obj1, 0, py_hctl); ++ Py_INCREF(py_hctl); + PyTuple_SET_ITEM(obj1, 1, PyFloat_FromDouble(1)); + PyTuple_SET_ITEM(obj1, 2, PyInt_FromLong((long)helem)); + obj2 = PyObject_CallObject(obj, obj1); +@@ -995,11 +995,11 @@ int alsa_mixer_simple_event(snd_mixer_class_t *class, unsigned int mask, + } + if (o == NULL) + return 0; +- if (PyTuple_SET_ITEM(t, 1, o)) +- Py_INCREF(o); ++ PyTuple_SET_ITEM(t, 1, o); ++ Py_INCREF(o); + o = melem ? find_melem(priv, melem) : Py_None; +- if (PyTuple_SET_ITEM(t, 2, o)) +- Py_INCREF(o); ++ PyTuple_SET_ITEM(t, 2, o); ++ Py_INCREF(o); + r = PyObject_CallObject(priv->py_event_func, t); + Py_DECREF(t); + if (r) { +@@ -1066,8 +1066,8 @@ static int alsa_mixer_simple_pyinit(struct python_priv *priv, + obj1 = PyTuple_New(3); + PyTuple_SET_ITEM(obj1, 0, PyInt_FromLong((long)class)); + PyTuple_SET_ITEM(obj1, 1, PyInt_FromLong((long)mixer)); +- if (PyTuple_SET_ITEM(obj1, 2, mdict)) +- Py_INCREF(mdict); ++ PyTuple_SET_ITEM(obj1, 2, mdict); ++ Py_INCREF(mdict); + obj2 = PyObject_CallObject(obj, obj1); + Py_XDECREF(obj1); + PyDict_SetItemString(mdict, "mixer", obj2); +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/alsa-lib/0003-src-topology-parser.c-drop-duplicate-safe_strtol_bas.patch b/buildroot-2022.02.1/package/alsa-lib/0003-src-topology-parser.c-drop-duplicate-safe_strtol_bas.patch new file mode 100644 index 00000000..a3741c42 --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-lib/0003-src-topology-parser.c-drop-duplicate-safe_strtol_bas.patch @@ -0,0 +1,51 @@ +From 47252054b4a2d5c8382cb1342f5d4eb89dabf95f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 1 Jan 2022 17:20:47 +0100 +Subject: [PATCH] src/topology/parser.c: drop duplicate safe_strtol_base + +The safe_strtol_base() function is defined twice since + f547b2e3 ("conf: introduce safe_strtol_base()") and + 5fab157a ("topology: do not call strtol directly") +resulting in the following build failure when alsa-utils is built +statically because safe_strtol_base is defined twice. + +Fixes: http://autobuild.buildroot.org/results/08d028004090b2a8292f03910cb9bf80a73ac804 +Fixes: https://github.com/alsa-project/alsa-lib/pull/207 +Signed-off-by: Fabrice Fontaine +Signed-off-by: Jaroslav Kysela +[Retrieved from: +https://github.com/alsa-project/alsa-lib/commit/47252054b4a2d5c8382cb1342f5d4eb89dabf95f] +--- + src/topology/parser.c | 19 ------------------- + 1 file changed, 19 deletions(-) + +diff --git a/src/topology/parser.c b/src/topology/parser.c +index 01c95afa..e70173f6 100644 +--- a/src/topology/parser.c ++++ b/src/topology/parser.c +@@ -21,25 +21,6 @@ + #include "list.h" + #include "tplg_local.h" + +-/* +- * Safe strtol call +- */ +-int safe_strtol_base(const char *str, long *val, int base) +-{ +- char *end; +- long v; +- if (!*str) +- return -EINVAL; +- errno = 0; +- v = strtol(str, &end, base); +- if (errno) +- return -errno; +- if (*end) +- return -EINVAL; +- *val = v; +- return 0; +-} +- + /* + * Get integer value + */ diff --git a/buildroot-2022.02.1/package/alsa-lib/0004-conf-fix-the-export-of-safe_strto-functions-from-libasound.patch b/buildroot-2022.02.1/package/alsa-lib/0004-conf-fix-the-export-of-safe_strto-functions-from-libasound.patch new file mode 100644 index 00000000..3dfcb78b --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-lib/0004-conf-fix-the-export-of-safe_strto-functions-from-libasound.patch @@ -0,0 +1,88 @@ +From c687c482107f746332dd18f7407f6c6efbffccb2 Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela +Date: Sat, 1 Jan 2022 19:18:25 +0100 +Subject: [PATCH] conf: fix the export of safe_strto* functions from libasound + +Only one library should define the safe_strto function. Export it +correctly and add _snd_ prefix to avoid possible clashes with the other +application code. + +Fixes: 47252054 ("src/topology/parser.c: drop duplicate safe_strtol_base") +Fixes: https://github.com/alsa-project/alsa-lib/pull/208 +Signed-off-by: Jaroslav Kysela + +[Retrieved from: +https://github.com/alsa-project/alsa-lib/commit/c687c482107f746332dd18f7407f6c6efbffccb2] +Signed-off-by: Fabrice Fontaine +--- + include/local.h | 8 ++++++-- + src/Versions.in | 6 ++++++ + src/conf.c | 6 +++--- + 3 files changed, 15 insertions(+), 5 deletions(-) + +diff --git a/include/local.h b/include/local.h +index ebc9350c..f64fe9d8 100644 +--- a/include/local.h ++++ b/include/local.h +@@ -232,10 +232,14 @@ size_t page_align(size_t size); + size_t page_size(void); + size_t page_ptr(size_t object_offset, size_t object_size, size_t *offset, size_t *mmap_offset); + +-int safe_strtoll_base(const char *str, long long *val, int base); ++#define safe_strtoll_base _snd_safe_strtoll_base ++int _snd_safe_strtoll_base(const char *str, long long *val, int base); + static inline int safe_strtoll(const char *str, long long *val) { return safe_strtoll_base(str, val, 0); } +-int safe_strtol_base(const char *str, long *val, int base); ++#define safe_strtol_base _snd_safe_strtol_base ++int _snd_safe_strtol_base(const char *str, long *val, int base); + static inline int safe_strtol(const char *str, long *val) { return safe_strtol_base(str, val, 0); } ++#define safe_strtod _snd_safe_strtod ++int _snd_safe_strtod(const char *str, double *val); + + int snd_send_fd(int sock, void *data, size_t len, int fd); + int snd_receive_fd(int sock, void *data, size_t len, int *fd); +diff --git a/src/Versions.in b/src/Versions.in +index 5daccbd4..85031b38 100644 +--- a/src/Versions.in ++++ b/src/Versions.in +@@ -134,3 +134,9 @@ ALSA_1.1.6 { + + @SYMBOL_PREFIX@snd_dlopen; + } ALSA_0.9.7; ++ ++ALSA_1.2.6 { ++ global: ++ ++ @SYMBOL_PREFIX@_snd_safe_strto*; ++} ALSA_1.1.6; +diff --git a/src/conf.c b/src/conf.c +index d3597cbc..098ebd63 100644 +--- a/src/conf.c ++++ b/src/conf.c +@@ -663,7 +663,7 @@ static int input_stdio_open(snd_input_t **inputp, const char *file, + return err; + } + +-int safe_strtoll_base(const char *str, long long *val, int base) ++int _snd_safe_strtoll_base(const char *str, long long *val, int base) + { + char *end; + long v; +@@ -679,7 +679,7 @@ int safe_strtoll_base(const char *str, long long *val, int base) + return 0; + } + +-int safe_strtol_base(const char *str, long *val, int base) ++int _snd_safe_strtol_base(const char *str, long *val, int base) + { + char *end; + long v; +@@ -695,7 +695,7 @@ int safe_strtol_base(const char *str, long *val, int base) + return 0; + } + +-static int safe_strtod(const char *str, double *val) ++int _snd_safe_strtod(const char *str, double *val) + { + char *end; + double v; diff --git a/buildroot-2022.02.1/package/alsa-lib/Config.in b/buildroot-2022.02.1/package/alsa-lib/Config.in new file mode 100644 index 00000000..af3de984 --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-lib/Config.in @@ -0,0 +1,83 @@ +comment "alsa-lib needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +menuconfig BR2_PACKAGE_ALSA_LIB + bool "alsa-lib" + # Even though some parts of alsa-lib use threads only when + # available, some PCM plugins use them unconditionally. Since + # the usage of alsa-lib on no-thread systems is pretty + # unlikely, just require thread support globally for alsa-lib. + depends on BR2_TOOLCHAIN_HAS_THREADS + # Temporary until + # https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4913 + # is fixed + select BR2_PACKAGE_ALSA_LIB_PCM + help + The Advanced Linux Sound Architecture (ALSA) provides audio + and MIDI functionality to the Linux operating system. + + http://www.alsa-project.org/ + +if BR2_PACKAGE_ALSA_LIB + +config BR2_PACKAGE_ALSA_LIB_PYTHON + bool "Python support for alsa-lib" + depends on BR2_PACKAGE_PYTHON3 + help + Add python support for alsa-lib. + Python will be built and libpython will be installed + in the target directory + http://www.alsa-project.org/ + +config BR2_PACKAGE_ALSA_LIB_DEVDIR + string "directory with ALSA device files" + default "/dev/snd" + +config BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS + string "built PCM plugins" + default "all" if BR2_USE_MMU + default "copy linear route mulaw alaw adpcm rate plug multi file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul" if !BR2_USE_MMU + +config BR2_PACKAGE_ALSA_LIB_CTL_PLUGINS + string "built control plugins" + default "all" + +config BR2_PACKAGE_ALSA_LIB_ALOAD + bool "aload" + default y + +config BR2_PACKAGE_ALSA_LIB_MIXER + bool "mixer" + default y + +config BR2_PACKAGE_ALSA_LIB_PCM + bool "pcm" + default y + +config BR2_PACKAGE_ALSA_LIB_RAWMIDI + bool "rawmidi" + default y + +config BR2_PACKAGE_ALSA_LIB_HWDEP + bool "hwdep" + default y + +config BR2_PACKAGE_ALSA_LIB_SEQ + bool "seq" + default y + +config BR2_PACKAGE_ALSA_LIB_UCM + bool "ucm" + default y + select BR2_PACKAGE_ALSA_LIB_MIXER + +config BR2_PACKAGE_ALSA_LIB_ALISP + bool "alisp" + default y + depends on BR2_USE_MMU + +config BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS + bool "old-symbols" + default y + +endif diff --git a/buildroot-2022.02.1/package/alsa-lib/alsa-lib.hash b/buildroot-2022.02.1/package/alsa-lib/alsa-lib.hash new file mode 100644 index 00000000..97bcd871 --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-lib/alsa-lib.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 7fe3057894ec319118abfd042ef84632a1dcd911806ec9fff6daaa68d15a8c52 alsa-lib-1.2.6.tar.bz2 +sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING +sha256 bfe16cf823bcff261fc6a062c07ee96660e3c39678f42f39a788a68dbc234ced aserver/COPYING diff --git a/buildroot-2022.02.1/package/alsa-lib/alsa-lib.mk b/buildroot-2022.02.1/package/alsa-lib/alsa-lib.mk new file mode 100644 index 00000000..5d12f5e6 --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-lib/alsa-lib.mk @@ -0,0 +1,77 @@ +################################################################################ +# +# alsa-lib +# +################################################################################ + +ALSA_LIB_VERSION = 1.2.6 +ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2 +ALSA_LIB_SITE = https://www.alsa-project.org/files/pub/lib +ALSA_LIB_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver) +ALSA_LIB_LICENSE_FILES = COPYING aserver/COPYING +ALSA_LIB_CPE_ID_VENDOR = alsa-project +ALSA_LIB_INSTALL_STAGING = YES +ALSA_LIB_CFLAGS = $(TARGET_CFLAGS) +ALSA_LIB_AUTORECONF = YES +ALSA_LIB_CONF_OPTS = \ + --with-alsa-devdir=$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_DEVDIR)) \ + --with-pcm-plugins="$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS))" \ + --with-ctl-plugins="$(call qstrip,$(BR2_PACKAGE_ALSA_LIB_CTL_PLUGINS))" + +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) +ALSA_LIB_CONF_OPTS += --without-versioned +endif + +# Can't build with static & shared at the same time (1.0.25+) +ifeq ($(BR2_STATIC_LIBS),y) +ALSA_LIB_CONF_OPTS += \ + --enable-shared=no \ + --without-libdl +else +ALSA_LIB_CONF_OPTS += --enable-static=no +endif + +ifneq ($(BR2_PACKAGE_ALSA_LIB_ALOAD),y) +ALSA_LIB_CONF_OPTS += --disable-aload +endif +ifneq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y) +ALSA_LIB_CONF_OPTS += --disable-mixer +endif +ifneq ($(BR2_PACKAGE_ALSA_LIB_PCM),y) +ALSA_LIB_CONF_OPTS += --disable-pcm +endif +ifneq ($(BR2_PACKAGE_ALSA_LIB_RAWMIDI),y) +ALSA_LIB_CONF_OPTS += --disable-rawmidi +endif +ifneq ($(BR2_PACKAGE_ALSA_LIB_HWDEP),y) +ALSA_LIB_CONF_OPTS += --disable-hwdep +endif +ifneq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y) +ALSA_LIB_CONF_OPTS += --disable-seq +endif +ifneq ($(BR2_PACKAGE_ALSA_LIB_UCM),y) +ALSA_LIB_CONF_OPTS += --disable-ucm +endif +ifneq ($(BR2_PACKAGE_ALSA_LIB_ALISP),y) +ALSA_LIB_CONF_OPTS += --disable-alisp +endif +ifneq ($(BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS),y) +ALSA_LIB_CONF_OPTS += --disable-old-symbols +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y) +ALSA_LIB_CONF_OPTS += \ + --enable-mixer-pymods \ + --with-pythonlibs=-lpython$(PYTHON3_VERSION_MAJOR) \ + --with-pythonincludes=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) +ALSA_LIB_CFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) +ALSA_LIB_DEPENDENCIES += python3 +else +ALSA_LIB_CONF_OPTS += --disable-python +endif + +ALSA_LIB_CONF_ENV = \ + CFLAGS="$(ALSA_LIB_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) -lm" + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/alsa-plugins/Config.in b/buildroot-2022.02.1/package/alsa-plugins/Config.in new file mode 100644 index 00000000..ee0fb4c1 --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-plugins/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_ALSA_PLUGINS + bool "alsa-plugins" + depends on BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_HWDEP + help + Advanced Linux Sound Architecture Plugins + + http://www.alsa-project.org/ diff --git a/buildroot-2022.02.1/package/alsa-plugins/alsa-plugins.hash b/buildroot-2022.02.1/package/alsa-plugins/alsa-plugins.hash new file mode 100644 index 00000000..8ecbd199 --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-plugins/alsa-plugins.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 42eef98433d2c8d11f1deeeb459643619215a75aa5a5bbdd06a794e4c413df20 alsa-plugins-1.2.5.tar.bz2 +sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING.GPL diff --git a/buildroot-2022.02.1/package/alsa-plugins/alsa-plugins.mk b/buildroot-2022.02.1/package/alsa-plugins/alsa-plugins.mk new file mode 100644 index 00000000..396f47ad --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-plugins/alsa-plugins.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# alsa-plugins +# +################################################################################ + +ALSA_PLUGINS_VERSION = 1.2.5 +ALSA_PLUGINS_SOURCE = alsa-plugins-$(ALSA_PLUGINS_VERSION).tar.bz2 +ALSA_PLUGINS_SITE = https://www.alsa-project.org/files/pub/plugins +ALSA_PLUGINS_LICENSE = LGPL-2.1+ +ALSA_PLUGINS_LICENSE_FILES = COPYING +ALSA_PLUGINS_DEPENDENCIES = host-pkgconf alsa-lib + +ALSA_PLUGINS_CONF_OPTS = \ + --disable-jack \ + --disable-usbstream \ + --disable-pulseaudio \ + --disable-libav \ + --disable-maemo-plugin \ + --disable-maemo-resource-manager \ + --with-speex=no + +ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) +ALSA_PLUGINS_CONF_OPTS += --enable-samplerate +ALSA_PLUGINS_DEPENDENCIES += libsamplerate +ALSA_PLUGINS_LICENSE += , GPL-2.0+ (samplerate plugin) +ALSA_PLUGINS_LICENSE_FILES += COPYING.GPL +else +ALSA_PLUGINS_CONF_OPTS += --disable-samplerate +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/alsa-utils/Config.in b/buildroot-2022.02.1/package/alsa-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/alsa-utils/Config.in rename to buildroot-2022.02.1/package/alsa-utils/Config.in diff --git a/buildroot-2022.02.1/package/alsa-utils/alsa-utils.hash b/buildroot-2022.02.1/package/alsa-utils/alsa-utils.hash new file mode 100644 index 00000000..c2d3ee9b --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-utils/alsa-utils.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 6a1efd8a1f1d9d38e489633eaec1fffa5c315663b316cab804be486887e6145d alsa-utils-1.2.6.tar.bz2 +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/buildroot-2022.02.1/package/alsa-utils/alsa-utils.mk b/buildroot-2022.02.1/package/alsa-utils/alsa-utils.mk new file mode 100644 index 00000000..c1478bf8 --- /dev/null +++ b/buildroot-2022.02.1/package/alsa-utils/alsa-utils.mk @@ -0,0 +1,101 @@ +################################################################################ +# +# alsa-utils +# +################################################################################ + +ALSA_UTILS_VERSION = 1.2.6 +ALSA_UTILS_SOURCE = alsa-utils-$(ALSA_UTILS_VERSION).tar.bz2 +ALSA_UTILS_SITE = https://www.alsa-project.org/files/pub/utils +ALSA_UTILS_LICENSE = GPL-2.0 +ALSA_UTILS_LICENSE_FILES = COPYING +ALSA_UTILS_INSTALL_STAGING = YES +ALSA_UTILS_DEPENDENCIES = host-pkgconf alsa-lib \ + $(if $(BR2_PACKAGE_NCURSES),ncurses) \ + $(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \ + $(TARGET_NLS_DEPENDENCIES) + +ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL),y) +ALSA_UTILS_SELINUX_MODULES += alsa +endif + +ALSA_UTILS_CONF_ENV = \ + ac_cv_prog_ncurses5_config=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) \ + LIBS=$(TARGET_NLS_LIBS) + +ALSA_UTILS_CONF_OPTS = \ + --disable-xmlto \ + --disable-rst2man \ + --with-curses=$(if $(BR2_PACKAGE_NCURSES_WCHAR),ncursesw,ncurses) + +ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSALOOP),y) +ALSA_UTILS_CONF_OPTS += --enable-alsaloop +else +ALSA_UTILS_CONF_OPTS += --disable-alsaloop +endif + +ifneq ($(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER),y) +ALSA_UTILS_CONF_OPTS += --disable-alsamixer +endif + +ifeq ($(BR2_PACKAGE_ALSA_UTILS_BAT),y) +ALSA_UTILS_CONF_OPTS += --enable-bat +# Analysis support requires fftw single precision +ALSA_UTILS_DEPENDENCIES += $(if $(BR2_PACKAGE_FFTW_SINGLE),fftw-single) +else +ALSA_UTILS_CONF_OPTS += --disable-bat +endif + +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACONF) += usr/sbin/alsaconf +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSACTL) += usr/sbin/alsactl +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSALOOP) += usr/bin/alsaloop +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAMIXER) += usr/bin/alsamixer +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSATPLG) += usr/bin/alsatplg +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIDI) += usr/bin/amidi +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_AMIXER) += usr/bin/amixer +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAY) += usr/bin/aplay usr/bin/arecord +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_BAT) += usr/bin/alsabat +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_IECSET) += usr/bin/iecset +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ACONNECT) += usr/bin/aconnect +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ALSAUCM) += usr/bin/alsaucm +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_APLAYMIDI) += usr/bin/aplaymidi +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ARECORDMIDI) += usr/bin/arecordmidi +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ASEQDUMP) += usr/bin/aseqdump +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_ASEQNET) += usr/bin/aseqnet +ALSA_UTILS_TARGETS_$(BR2_PACKAGE_ALSA_UTILS_SPEAKER_TEST) += usr/bin/speaker-test + +define ALSA_UTILS_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/var/lib/alsa + for i in $(ALSA_UTILS_TARGETS_y); do \ + $(INSTALL) -D -m 755 $(STAGING_DIR)/$$i $(TARGET_DIR)/$$i || exit 1; \ + done + if [ -x "$(TARGET_DIR)/usr/bin/speaker-test" ]; then \ + mkdir -p $(TARGET_DIR)/usr/share/alsa/speaker-test; \ + mkdir -p $(TARGET_DIR)/usr/share/sounds/alsa; \ + cp -rdpf $(STAGING_DIR)/usr/share/alsa/speaker-test/* $(TARGET_DIR)/usr/share/alsa/speaker-test/; \ + cp -rdpf $(STAGING_DIR)/usr/share/sounds/alsa/* $(TARGET_DIR)/usr/share/sounds/alsa/; \ + fi + if [ -x "$(TARGET_DIR)/usr/sbin/alsactl" ]; then \ + mkdir -p $(TARGET_DIR)/usr/share/; \ + cp -rdpf $(STAGING_DIR)/usr/share/alsa/* $(TARGET_DIR)/usr/share/alsa/; \ + fi +endef + +ifeq ($(BR2_PACKAGE_ALSA_UTILS_ALSACTL)$(BR2_INIT_SYSTEMD),yy) +ALSA_UTILS_DEPENDENCIES += systemd +ALSA_UTILS_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system +define ALSA_UTILS_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-restore.service \ + $(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service + $(INSTALL) -D -m 0644 $(@D)/alsactl/alsa-state.service \ + $(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service.d + printf '[Install]\nWantedBy=multi-user.target\n' \ + >$(TARGET_DIR)/usr/lib/systemd/system/alsa-restore.service.d/buildroot-enable.conf + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service.d + printf '[Install]\nWantedBy=multi-user.target\n' \ + >$(TARGET_DIR)/usr/lib/systemd/system/alsa-state.service.d/buildroot-enable.conf; +endef +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/alsamixergui/0001-misc-fixes.patch b/buildroot-2022.02.1/package/alsamixergui/0001-misc-fixes.patch similarity index 100% rename from buildroot-2021.05/package/alsamixergui/0001-misc-fixes.patch rename to buildroot-2022.02.1/package/alsamixergui/0001-misc-fixes.patch diff --git a/buildroot-2021.05/package/alsamixergui/0002-configure-fix-detection-of-fltk-libs.patch b/buildroot-2022.02.1/package/alsamixergui/0002-configure-fix-detection-of-fltk-libs.patch similarity index 100% rename from buildroot-2021.05/package/alsamixergui/0002-configure-fix-detection-of-fltk-libs.patch rename to buildroot-2022.02.1/package/alsamixergui/0002-configure-fix-detection-of-fltk-libs.patch diff --git a/buildroot-2021.05/package/alsamixergui/Config.in b/buildroot-2022.02.1/package/alsamixergui/Config.in similarity index 100% rename from buildroot-2021.05/package/alsamixergui/Config.in rename to buildroot-2022.02.1/package/alsamixergui/Config.in diff --git a/buildroot-2021.05/package/alsamixergui/alsamixergui.hash b/buildroot-2022.02.1/package/alsamixergui/alsamixergui.hash similarity index 100% rename from buildroot-2021.05/package/alsamixergui/alsamixergui.hash rename to buildroot-2022.02.1/package/alsamixergui/alsamixergui.hash diff --git a/buildroot-2021.05/package/alsamixergui/alsamixergui.mk b/buildroot-2022.02.1/package/alsamixergui/alsamixergui.mk similarity index 100% rename from buildroot-2021.05/package/alsamixergui/alsamixergui.mk rename to buildroot-2022.02.1/package/alsamixergui/alsamixergui.mk diff --git a/buildroot-2021.05/package/altera-stapl/Config.in b/buildroot-2022.02.1/package/altera-stapl/Config.in similarity index 100% rename from buildroot-2021.05/package/altera-stapl/Config.in rename to buildroot-2022.02.1/package/altera-stapl/Config.in diff --git a/buildroot-2021.05/package/altera-stapl/altera-stapl.hash b/buildroot-2022.02.1/package/altera-stapl/altera-stapl.hash similarity index 100% rename from buildroot-2021.05/package/altera-stapl/altera-stapl.hash rename to buildroot-2022.02.1/package/altera-stapl/altera-stapl.hash diff --git a/buildroot-2021.05/package/altera-stapl/altera-stapl.mk b/buildroot-2022.02.1/package/altera-stapl/altera-stapl.mk similarity index 100% rename from buildroot-2021.05/package/altera-stapl/altera-stapl.mk rename to buildroot-2022.02.1/package/altera-stapl/altera-stapl.mk diff --git a/buildroot-2021.05/package/alure/Config.in b/buildroot-2022.02.1/package/alure/Config.in similarity index 100% rename from buildroot-2021.05/package/alure/Config.in rename to buildroot-2022.02.1/package/alure/Config.in diff --git a/buildroot-2021.05/package/alure/alure.hash b/buildroot-2022.02.1/package/alure/alure.hash similarity index 100% rename from buildroot-2021.05/package/alure/alure.hash rename to buildroot-2022.02.1/package/alure/alure.hash diff --git a/buildroot-2021.05/package/alure/alure.mk b/buildroot-2022.02.1/package/alure/alure.mk similarity index 100% rename from buildroot-2021.05/package/alure/alure.mk rename to buildroot-2022.02.1/package/alure/alure.mk diff --git a/buildroot-2021.05/package/am335x-pru-package/0001-install-does-not-build.patch b/buildroot-2022.02.1/package/am335x-pru-package/0001-install-does-not-build.patch similarity index 100% rename from buildroot-2021.05/package/am335x-pru-package/0001-install-does-not-build.patch rename to buildroot-2022.02.1/package/am335x-pru-package/0001-install-does-not-build.patch diff --git a/buildroot-2021.05/package/am335x-pru-package/Config.in b/buildroot-2022.02.1/package/am335x-pru-package/Config.in similarity index 100% rename from buildroot-2021.05/package/am335x-pru-package/Config.in rename to buildroot-2022.02.1/package/am335x-pru-package/Config.in diff --git a/buildroot-2021.05/package/am335x-pru-package/am335x-pru-package.hash b/buildroot-2022.02.1/package/am335x-pru-package/am335x-pru-package.hash similarity index 100% rename from buildroot-2021.05/package/am335x-pru-package/am335x-pru-package.hash rename to buildroot-2022.02.1/package/am335x-pru-package/am335x-pru-package.hash diff --git a/buildroot-2021.05/package/am335x-pru-package/am335x-pru-package.mk b/buildroot-2022.02.1/package/am335x-pru-package/am335x-pru-package.mk similarity index 100% rename from buildroot-2021.05/package/am335x-pru-package/am335x-pru-package.mk rename to buildroot-2022.02.1/package/am335x-pru-package/am335x-pru-package.mk diff --git a/buildroot-2021.05/package/am33x-cm3/0001-fix-makefile.patch b/buildroot-2022.02.1/package/am33x-cm3/0001-fix-makefile.patch similarity index 100% rename from buildroot-2021.05/package/am33x-cm3/0001-fix-makefile.patch rename to buildroot-2022.02.1/package/am33x-cm3/0001-fix-makefile.patch diff --git a/buildroot-2021.05/package/am33x-cm3/0002-Makefile-unconditionally-disable-SSP.patch b/buildroot-2022.02.1/package/am33x-cm3/0002-Makefile-unconditionally-disable-SSP.patch similarity index 100% rename from buildroot-2021.05/package/am33x-cm3/0002-Makefile-unconditionally-disable-SSP.patch rename to buildroot-2022.02.1/package/am33x-cm3/0002-Makefile-unconditionally-disable-SSP.patch diff --git a/buildroot-2021.05/package/am33x-cm3/0003-Makefile-unconditionally-disable-PIE.patch b/buildroot-2022.02.1/package/am33x-cm3/0003-Makefile-unconditionally-disable-PIE.patch similarity index 100% rename from buildroot-2021.05/package/am33x-cm3/0003-Makefile-unconditionally-disable-PIE.patch rename to buildroot-2022.02.1/package/am33x-cm3/0003-Makefile-unconditionally-disable-PIE.patch diff --git a/buildroot-2021.05/package/am33x-cm3/0004-Makefile-add-fno-builtin.patch b/buildroot-2022.02.1/package/am33x-cm3/0004-Makefile-add-fno-builtin.patch similarity index 100% rename from buildroot-2021.05/package/am33x-cm3/0004-Makefile-add-fno-builtin.patch rename to buildroot-2022.02.1/package/am33x-cm3/0004-Makefile-add-fno-builtin.patch diff --git a/buildroot-2021.05/package/am33x-cm3/Config.in b/buildroot-2022.02.1/package/am33x-cm3/Config.in similarity index 100% rename from buildroot-2021.05/package/am33x-cm3/Config.in rename to buildroot-2022.02.1/package/am33x-cm3/Config.in diff --git a/buildroot-2021.05/package/am33x-cm3/S93-am335x-pm-firmware-load b/buildroot-2022.02.1/package/am33x-cm3/S93-am335x-pm-firmware-load similarity index 100% rename from buildroot-2021.05/package/am33x-cm3/S93-am335x-pm-firmware-load rename to buildroot-2022.02.1/package/am33x-cm3/S93-am335x-pm-firmware-load diff --git a/buildroot-2021.05/package/am33x-cm3/am33x-cm3.hash b/buildroot-2022.02.1/package/am33x-cm3/am33x-cm3.hash similarity index 100% rename from buildroot-2021.05/package/am33x-cm3/am33x-cm3.hash rename to buildroot-2022.02.1/package/am33x-cm3/am33x-cm3.hash diff --git a/buildroot-2021.05/package/am33x-cm3/am33x-cm3.mk b/buildroot-2022.02.1/package/am33x-cm3/am33x-cm3.mk similarity index 100% rename from buildroot-2021.05/package/am33x-cm3/am33x-cm3.mk rename to buildroot-2022.02.1/package/am33x-cm3/am33x-cm3.mk diff --git a/buildroot-2021.05/package/android-tools/0001-Fix-makefiles-for-out-of-tree-build.patch b/buildroot-2022.02.1/package/android-tools/0001-Fix-makefiles-for-out-of-tree-build.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0001-Fix-makefiles-for-out-of-tree-build.patch rename to buildroot-2022.02.1/package/android-tools/0001-Fix-makefiles-for-out-of-tree-build.patch diff --git a/buildroot-2021.05/package/android-tools/0002-Fix-adbd-for-non-Ubuntu-systems.patch b/buildroot-2022.02.1/package/android-tools/0002-Fix-adbd-for-non-Ubuntu-systems.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0002-Fix-adbd-for-non-Ubuntu-systems.patch rename to buildroot-2022.02.1/package/android-tools/0002-Fix-adbd-for-non-Ubuntu-systems.patch diff --git a/buildroot-2021.05/package/android-tools/0003-Fix-build-issue-with-uclibc.patch b/buildroot-2022.02.1/package/android-tools/0003-Fix-build-issue-with-uclibc.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0003-Fix-build-issue-with-uclibc.patch rename to buildroot-2022.02.1/package/android-tools/0003-Fix-build-issue-with-uclibc.patch diff --git a/buildroot-2021.05/package/android-tools/0004-Fix-build-issue-with-musl.patch b/buildroot-2022.02.1/package/android-tools/0004-Fix-build-issue-with-musl.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0004-Fix-build-issue-with-musl.patch rename to buildroot-2022.02.1/package/android-tools/0004-Fix-build-issue-with-musl.patch diff --git a/buildroot-2021.05/package/android-tools/0005-Use-pkgconf-to-get-libs-deps.patch b/buildroot-2022.02.1/package/android-tools/0005-Use-pkgconf-to-get-libs-deps.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0005-Use-pkgconf-to-get-libs-deps.patch rename to buildroot-2022.02.1/package/android-tools/0005-Use-pkgconf-to-get-libs-deps.patch diff --git a/buildroot-2021.05/package/android-tools/0006-fix-big-endian-build.patch b/buildroot-2022.02.1/package/android-tools/0006-fix-big-endian-build.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0006-fix-big-endian-build.patch rename to buildroot-2022.02.1/package/android-tools/0006-fix-big-endian-build.patch diff --git a/buildroot-2021.05/package/android-tools/0007-include-cdefs-h-when-needed.patch b/buildroot-2022.02.1/package/android-tools/0007-include-cdefs-h-when-needed.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0007-include-cdefs-h-when-needed.patch rename to buildroot-2022.02.1/package/android-tools/0007-include-cdefs-h-when-needed.patch diff --git a/buildroot-2021.05/package/android-tools/0008-Include-sysmacros.h-to-compile-with-glibc-2.28.patch b/buildroot-2022.02.1/package/android-tools/0008-Include-sysmacros.h-to-compile-with-glibc-2.28.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0008-Include-sysmacros.h-to-compile-with-glibc-2.28.patch rename to buildroot-2022.02.1/package/android-tools/0008-Include-sysmacros.h-to-compile-with-glibc-2.28.patch diff --git a/buildroot-2021.05/package/android-tools/0009-Fix-makefiles-for-out-of-tree-ext4_utils-build.patch b/buildroot-2022.02.1/package/android-tools/0009-Fix-makefiles-for-out-of-tree-ext4_utils-build.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0009-Fix-makefiles-for-out-of-tree-ext4_utils-build.patch rename to buildroot-2022.02.1/package/android-tools/0009-Fix-makefiles-for-out-of-tree-ext4_utils-build.patch diff --git a/buildroot-2021.05/package/android-tools/0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch b/buildroot-2022.02.1/package/android-tools/0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch similarity index 100% rename from buildroot-2021.05/package/android-tools/0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch rename to buildroot-2022.02.1/package/android-tools/0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch diff --git a/buildroot-2022.02.1/package/android-tools/Config.in b/buildroot-2022.02.1/package/android-tools/Config.in new file mode 100644 index 00000000..bc76d545 --- /dev/null +++ b/buildroot-2022.02.1/package/android-tools/Config.in @@ -0,0 +1,82 @@ +config BR2_PACKAGE_ANDROID_TOOLS + bool "android-tools" + # Technically, fastboot could build on noMMU systems. But + # since we need at least one of the three sub-options enabled, + # and adb/adbd can't be built on noMMU systems, and fastboot + # has some complicated dependencies, we simply make the whole + # package not available on noMMU platforms. + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_ANDROID_TOOLS_ADBD if \ + !BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT && \ + !BR2_PACKAGE_ANDROID_TOOLS_ADB + help + This package contains the fastboot and adb utilities, that + can be used to interact with target devices using of these + protocols. + + https://wiki.debian.org/AndroidTools#Original_android-tools_package + +if BR2_PACKAGE_ANDROID_TOOLS + +# We need kernel headers that support the __SANE_USERSPACE_TYPES__ +# mechanism for 64 bits architectures, so that u64 gets defined as +# "unsigned long long" and not "unsigned long". We know that >= 3.16 +# is needed for MIPS64 (kernel commit +# f4b3aa7cd9d32407670e67238c5ee752bb98f481) and >= 3.10 is needed for +# PowerPC64 (kernel commit +# 2c9c6ce0199a4d252e20c531cfdc9d24e39235c0). Without this, the build +# fails with a bad redefinition of u64 (the android-tools fastboot +# code defines it as "unsigned long long"). +config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS + bool + default y if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 && (BR2_powerpc64 || BR2_powerpc64le) + default y if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 && (BR2_mips64 || BR2_mips64el) + default y if !BR2_powerpc64 && !BR2_powerpc64le && !BR2_mips64 && !BR2_mips64el + +config BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT + bool "fastboot" + depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux + depends on !BR2_STATIC_LIBS # libselinux + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libselinux -> libsepol + depends on BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS + select BR2_PACKAGE_LIBSELINUX + select BR2_PACKAGE_ZLIB + help + This option will build and install the fastboot utility for + the target, which can be used to reflash other target devices + implementing the fastboot protocol. + +comment "fastboot needs a toolchain w/ threads, dynamic library, gcc >= 5" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +comment "fastboot needs headers >= 3.10 (PowerPC64), headers >= 3.16 (MIPS64)" + depends on !BR2_arc + depends on !BR2_PACKAGE_ANDROID_TOOLS_FASTBOOT_GOOD_KERNEL_HEADERS + +config BR2_PACKAGE_ANDROID_TOOLS_ADB + bool "adb" + depends on BR2_USE_MMU # uses fork() + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_ZLIB + help + This option will build and install the adb utility for the + target, which can be used to interact with other target + devices implementing the ADB protocol. + +config BR2_PACKAGE_ANDROID_TOOLS_ADBD + bool "adbd" + depends on BR2_USE_MMU # uses fork() + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_ZLIB + help + This option will build and install the adbd utility for the + target, which can be used to interact with a host machine + implementing the ADB protocol. + +endif + +comment "android-tools needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/android-tools/Config.in.host b/buildroot-2022.02.1/package/android-tools/Config.in.host new file mode 100644 index 00000000..898ddb21 --- /dev/null +++ b/buildroot-2022.02.1/package/android-tools/Config.in.host @@ -0,0 +1,41 @@ +config BR2_PACKAGE_HOST_ANDROID_TOOLS + bool "host android-tools" + select BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB if \ + !BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT + help + This package contains the fastboot and adb utilities, that + can be used to interact with target devices using of these + protocols. + +if BR2_PACKAGE_HOST_ANDROID_TOOLS + +config BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT + bool "fastboot" + depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol + help + This option will build and install the fastboot utility for + the host, which can be used to reflash target devices + implementing the fastboot protocol. + +comment "fastboot needs a toolchain w/ host gcc >= 5" + depends on !BR2_HOST_GCC_AT_LEAST_5 + +config BR2_PACKAGE_HOST_ANDROID_TOOLS_ADB + bool "adb" + help + This option will build and install the adb utility for the + host, which can be used to interact with target devices + implementing the ADB protocol. + +config BR2_PACKAGE_HOST_ANDROID_TOOLS_EXT4_UTILS + bool "ext4 utils" + depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol + help + This option will build and install the ext4 utils for the + host, i.e. make_ext4fs, ext4fixup, ext2simg, img2simg, + simg2img and simg2simg. + +comment "ext4 utils needs a toolchain w/ host gcc >= 5" + depends on !BR2_HOST_GCC_AT_LEAST_5 + +endif diff --git a/buildroot-2021.05/package/android-tools/android-tools.hash b/buildroot-2022.02.1/package/android-tools/android-tools.hash similarity index 100% rename from buildroot-2021.05/package/android-tools/android-tools.hash rename to buildroot-2022.02.1/package/android-tools/android-tools.hash diff --git a/buildroot-2021.05/package/android-tools/android-tools.mk b/buildroot-2022.02.1/package/android-tools/android-tools.mk similarity index 100% rename from buildroot-2021.05/package/android-tools/android-tools.mk rename to buildroot-2022.02.1/package/android-tools/android-tools.mk diff --git a/buildroot-2021.05/package/angular-websocket/Config.in b/buildroot-2022.02.1/package/angular-websocket/Config.in similarity index 100% rename from buildroot-2021.05/package/angular-websocket/Config.in rename to buildroot-2022.02.1/package/angular-websocket/Config.in diff --git a/buildroot-2021.05/package/angular-websocket/angular-websocket.hash b/buildroot-2022.02.1/package/angular-websocket/angular-websocket.hash similarity index 100% rename from buildroot-2021.05/package/angular-websocket/angular-websocket.hash rename to buildroot-2022.02.1/package/angular-websocket/angular-websocket.hash diff --git a/buildroot-2021.05/package/angular-websocket/angular-websocket.mk b/buildroot-2022.02.1/package/angular-websocket/angular-websocket.mk similarity index 100% rename from buildroot-2021.05/package/angular-websocket/angular-websocket.mk rename to buildroot-2022.02.1/package/angular-websocket/angular-websocket.mk diff --git a/buildroot-2021.05/package/angularjs/Config.in b/buildroot-2022.02.1/package/angularjs/Config.in similarity index 100% rename from buildroot-2021.05/package/angularjs/Config.in rename to buildroot-2022.02.1/package/angularjs/Config.in diff --git a/buildroot-2021.05/package/angularjs/angularjs.hash b/buildroot-2022.02.1/package/angularjs/angularjs.hash similarity index 100% rename from buildroot-2021.05/package/angularjs/angularjs.hash rename to buildroot-2022.02.1/package/angularjs/angularjs.hash diff --git a/buildroot-2021.05/package/angularjs/angularjs.mk b/buildroot-2022.02.1/package/angularjs/angularjs.mk similarity index 100% rename from buildroot-2021.05/package/angularjs/angularjs.mk rename to buildroot-2022.02.1/package/angularjs/angularjs.mk diff --git a/buildroot-2021.05/package/aoetools/0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch b/buildroot-2022.02.1/package/aoetools/0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch similarity index 100% rename from buildroot-2021.05/package/aoetools/0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch rename to buildroot-2022.02.1/package/aoetools/0001-Change-shell-script-interpreter-from-bin-bash-to-bin.patch diff --git a/buildroot-2021.05/package/aoetools/Config.in b/buildroot-2022.02.1/package/aoetools/Config.in similarity index 100% rename from buildroot-2021.05/package/aoetools/Config.in rename to buildroot-2022.02.1/package/aoetools/Config.in diff --git a/buildroot-2021.05/package/aoetools/aoetools.hash b/buildroot-2022.02.1/package/aoetools/aoetools.hash similarity index 100% rename from buildroot-2021.05/package/aoetools/aoetools.hash rename to buildroot-2022.02.1/package/aoetools/aoetools.hash diff --git a/buildroot-2021.05/package/aoetools/aoetools.mk b/buildroot-2022.02.1/package/aoetools/aoetools.mk similarity index 100% rename from buildroot-2021.05/package/aoetools/aoetools.mk rename to buildroot-2022.02.1/package/aoetools/aoetools.mk diff --git a/buildroot-2021.05/package/apache/0001-cross-compile.patch b/buildroot-2022.02.1/package/apache/0001-cross-compile.patch similarity index 100% rename from buildroot-2021.05/package/apache/0001-cross-compile.patch rename to buildroot-2022.02.1/package/apache/0001-cross-compile.patch diff --git a/buildroot-2021.05/package/apache/0002-nios2_is_not_os2.patch b/buildroot-2022.02.1/package/apache/0002-nios2_is_not_os2.patch similarity index 100% rename from buildroot-2021.05/package/apache/0002-nios2_is_not_os2.patch rename to buildroot-2022.02.1/package/apache/0002-nios2_is_not_os2.patch diff --git a/buildroot-2021.05/package/apache/0003-server-Makefile.in-handle-separate-APR_INCLUDE_DIR-A.patch b/buildroot-2022.02.1/package/apache/0003-server-Makefile.in-handle-separate-APR_INCLUDE_DIR-A.patch similarity index 100% rename from buildroot-2021.05/package/apache/0003-server-Makefile.in-handle-separate-APR_INCLUDE_DIR-A.patch rename to buildroot-2022.02.1/package/apache/0003-server-Makefile.in-handle-separate-APR_INCLUDE_DIR-A.patch diff --git a/buildroot-2022.02.1/package/apache/Config.in b/buildroot-2022.02.1/package/apache/Config.in new file mode 100644 index 00000000..270296bc --- /dev/null +++ b/buildroot-2022.02.1/package/apache/Config.in @@ -0,0 +1,48 @@ +config BR2_PACKAGE_APACHE + bool "apache" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # apr + select BR2_PACKAGE_APR_UTIL + select BR2_PACKAGE_PCRE2 + help + The Apache HTTP Server Project is an effort to develop and + maintain an open-source HTTP server for modern operating + systems including UNIX and Windows NT. The goal of this + project is to provide a secure, efficient and extensible + server that provides HTTP services in sync with the current + HTTP standards. + + https://httpd.apache.org + +if BR2_PACKAGE_APACHE + +choice + prompt "Multi-Processing Module (MPM)" + default BR2_PACKAGE_APACHE_MPM_WORKER + help + Select the Multi-Processing Module (MPM). + +config BR2_PACKAGE_APACHE_MPM_EVENT + bool "event" + help + A variant of the worker MPM with the goal of consuming threads + only for connections with active processing + +config BR2_PACKAGE_APACHE_MPM_PREFORK + bool "prefork" + help + Implements a non-threaded, pre-forking web server + +config BR2_PACKAGE_APACHE_MPM_WORKER + bool "worker" + help + Implements a hybrid multi-threaded multi-process web server + +endchoice + +endif + +comment "apache needs a toolchain w/ dynamic library, threads" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/apache/S50apache b/buildroot-2022.02.1/package/apache/S50apache similarity index 100% rename from buildroot-2021.05/package/apache/S50apache rename to buildroot-2022.02.1/package/apache/S50apache diff --git a/buildroot-2022.02.1/package/apache/apache.hash b/buildroot-2022.02.1/package/apache/apache.hash new file mode 100644 index 00000000..11dcdefe --- /dev/null +++ b/buildroot-2022.02.1/package/apache/apache.hash @@ -0,0 +1,5 @@ +# From https://downloads.apache.org/httpd/httpd-2.4.53.tar.bz2.{sha256,sha512} +sha256 d0bbd1121a57b5f2a6ff92d7b96f8050c5a45d3f14db118f64979d525858db63 httpd-2.4.53.tar.bz2 +sha512 07ef59594251a30a864cc9cc9a58ab788c2d006cef85b728f29533243927c63cb063e0867f2a306f37324c3adb9cf7dcb2402f3516b05c2c6f32469d475dd756 httpd-2.4.53.tar.bz2 +# Locally computed +sha256 47b8c2b6c3309282a99d4a3001575c790fead690cc14734628c4667d2bbffc43 LICENSE diff --git a/buildroot-2022.02.1/package/apache/apache.mk b/buildroot-2022.02.1/package/apache/apache.mk new file mode 100644 index 00000000..b2c855aa --- /dev/null +++ b/buildroot-2022.02.1/package/apache/apache.mk @@ -0,0 +1,118 @@ +################################################################################ +# +# apache +# +################################################################################ + +APACHE_VERSION = 2.4.53 +APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2 +APACHE_SITE = https://downloads.apache.org/httpd +APACHE_LICENSE = Apache-2.0 +APACHE_LICENSE_FILES = LICENSE +APACHE_CPE_ID_VENDOR = apache +APACHE_CPE_ID_PRODUCT = http_server +APACHE_SELINUX_MODULES = apache +# Needed for mod_php +APACHE_INSTALL_STAGING = YES +# We have a patch touching configure.in and Makefile.in, +# so we need to autoreconf: +APACHE_AUTORECONF = YES +APACHE_DEPENDENCIES = apr apr-util pcre2 + +APACHE_CONF_ENV= \ + ap_cv_void_ptr_lt_long=no \ + PCRE_CONFIG=$(STAGING_DIR)/usr/bin/pcre2-config + +ifeq ($(BR2_PACKAGE_APACHE_MPM_EVENT),y) +APACHE_MPM = event +else ifeq ($(BR2_PACKAGE_APACHE_MPM_PREFORK),y) +APACHE_MPM = prefork +else ifeq ($(BR2_PACKAGE_APACHE_MPM_WORKER),y) +APACHE_MPM = worker +endif + +APACHE_CONF_OPTS = \ + --sysconfdir=/etc/apache2 \ + --with-apr=$(STAGING_DIR)/usr \ + --with-apr-util=$(STAGING_DIR)/usr \ + --with-pcre=$(STAGING_DIR)/usr/bin/pcre2-config \ + --enable-http \ + --enable-dbd \ + --enable-proxy \ + --enable-mime-magic \ + --without-suexec-bin \ + --enable-mods-shared=all \ + --with-mpm=$(APACHE_MPM) \ + --disable-luajit + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +APACHE_DEPENDENCIES += libxml2 +# Apache wants the path to the header file, where it can find +# . +APACHE_CONF_OPTS += \ + --enable-xml2enc \ + --enable-proxy-html \ + --with-libxml2=$(STAGING_DIR)/usr/include/libxml2 +else +APACHE_CONF_OPTS += \ + --disable-xml2enc \ + --disable-proxy-html +endif + +ifeq ($(BR2_PACKAGE_LUA),y) +APACHE_CONF_OPTS += --enable-lua +APACHE_DEPENDENCIES += lua +else +APACHE_CONF_OPTS += --disable-lua +endif + +ifeq ($(BR2_PACKAGE_NGHTTP2),y) +APACHE_CONF_OPTS += \ + --enable-http2 \ + --with-nghttp2=$(STAGING_DIR)/usr +APACHE_DEPENDENCIES += nghttp2 +else +APACHE_CONF_OPTS += --disable-http2 +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +APACHE_DEPENDENCIES += openssl +APACHE_CONF_OPTS += \ + --enable-ssl \ + --with-ssl=$(STAGING_DIR)/usr +else +APACHE_CONF_OPTS += --disable-ssl +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +APACHE_DEPENDENCIES += zlib +APACHE_CONF_OPTS += \ + --enable-deflate \ + --with-z=$(STAGING_DIR)/usr +else +APACHE_CONF_OPTS += --disable-deflate +endif + +define APACHE_FIX_STAGING_APACHE_CONFIG + $(SED) 's%"/usr/bin"%"$(STAGING_DIR)/usr/bin"%' $(STAGING_DIR)/usr/bin/apxs + $(SED) 's%/usr/build%$(STAGING_DIR)/usr/build%' $(STAGING_DIR)/usr/bin/apxs + $(SED) 's%^prefix =.*%prefix = $(STAGING_DIR)/usr%' $(STAGING_DIR)/usr/build/config_vars.mk +endef +APACHE_POST_INSTALL_STAGING_HOOKS += APACHE_FIX_STAGING_APACHE_CONFIG + +define APACHE_CLEANUP_TARGET + $(RM) -rf $(TARGET_DIR)/usr/manual $(TARGET_DIR)/usr/build +endef +APACHE_POST_INSTALL_TARGET_HOOKS += APACHE_CLEANUP_TARGET + +define APACHE_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/apache/S50apache \ + $(TARGET_DIR)/etc/init.d/S50apache +endef + +define APACHE_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/apache/apache.service \ + $(TARGET_DIR)/usr/lib/systemd/system/apache.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/apache/apache.service b/buildroot-2022.02.1/package/apache/apache.service similarity index 100% rename from buildroot-2021.05/package/apache/apache.service rename to buildroot-2022.02.1/package/apache/apache.service diff --git a/buildroot-2021.05/package/apcupsd/Config.in b/buildroot-2022.02.1/package/apcupsd/Config.in similarity index 100% rename from buildroot-2021.05/package/apcupsd/Config.in rename to buildroot-2022.02.1/package/apcupsd/Config.in diff --git a/buildroot-2021.05/package/apcupsd/apcupsd.hash b/buildroot-2022.02.1/package/apcupsd/apcupsd.hash similarity index 100% rename from buildroot-2021.05/package/apcupsd/apcupsd.hash rename to buildroot-2022.02.1/package/apcupsd/apcupsd.hash diff --git a/buildroot-2022.02.1/package/apcupsd/apcupsd.mk b/buildroot-2022.02.1/package/apcupsd/apcupsd.mk new file mode 100644 index 00000000..80ed0b08 --- /dev/null +++ b/buildroot-2022.02.1/package/apcupsd/apcupsd.mk @@ -0,0 +1,83 @@ +################################################################################ +# +# apcupsd +# +################################################################################ + +APCUPSD_VERSION = 3.14.14 +APCUPSD_SITE = http://downloads.sourceforge.net/project/apcupsd/apcupsd%20-%20Stable/$(APCUPSD_VERSION) +APCUPSD_LICENSE = GPL-2.0 +APCUPSD_LICENSE_FILES = COPYING +APCUPSD_CPE_ID_VENDOR = apcupsd +APCUPSD_SELINUX_MODULES = apache apcupsd +APCUPSD_CONF_OPTS = --disable-test + +ifneq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB)$(BR2_PACKAGE_APCUPSD_USB),) +APCUPSD_CONF_ENV += ac_cv_path_usbcfg=$(STAGING_DIR)/usr/bin/libusb-config +ifeq ($(BR2_STATIC_LIBS),y) +APCUPSD_DEPENDENCIES += host-pkgconf +APCUPSD_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libusb`" +endif +endif + +ifeq ($(BR2_PACKAGE_APCUPSD_APCSMART),y) +APCUPSD_CONF_OPTS += --enable-apcsmart +else +APCUPSD_CONF_OPTS += --disable-apcsmart +endif + +ifeq ($(BR2_PACKAGE_APCUPSD_DUMB),y) +APCUPSD_CONF_OPTS += --enable-dumb +else +APCUPSD_CONF_OPTS += --disable-dumb +endif + +ifeq ($(BR2_PACKAGE_APCUPSD_MODBUS_USB),y) +APCUPSD_CONF_OPTS += --enable-modbus-usb +APCUPSD_DEPENDENCIES += libusb libusb-compat +else +APCUPSD_CONF_OPTS += --disable-modbus-usb +endif + +ifeq ($(BR2_PACKAGE_APCUPSD_MODBUS),y) +APCUPSD_CONF_OPTS += --enable-modbus +else +APCUPSD_CONF_OPTS += --disable-modbus +endif + +ifeq ($(BR2_PACKAGE_APCUPSD_NET),y) +APCUPSD_CONF_OPTS += --enable-net +else +APCUPSD_CONF_OPTS += --disable-net +endif + +ifeq ($(BR2_PACKAGE_APCUPSD_PCNET),y) +APCUPSD_CONF_OPTS += --enable-pcnet +else +APCUPSD_CONF_OPTS += --disable-pcnet +endif + +ifeq ($(BR2_PACKAGE_APCUPSD_SNMP),y) +APCUPSD_CONF_OPTS += --enable-snmp +else +APCUPSD_CONF_OPTS += --disable-snmp +endif + +ifeq ($(BR2_PACKAGE_APCUPSD_USB),y) +APCUPSD_CONF_OPTS += --enable-usb +APCUPSD_DEPENDENCIES += libusb libusb-compat +else +APCUPSD_CONF_OPTS += --disable-usb +endif + +define APCUPSD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/platforms +endef + +define APCUPSD_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/platforms DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/apg/Config.in b/buildroot-2022.02.1/package/apg/Config.in new file mode 100644 index 00000000..94c286a1 --- /dev/null +++ b/buildroot-2022.02.1/package/apg/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_APG + bool "apg" + help + Automated Password Generator (APG). + + https://github.com/wilx/apg diff --git a/buildroot-2022.02.1/package/apg/apg.hash b/buildroot-2022.02.1/package/apg/apg.hash new file mode 100644 index 00000000..5532289a --- /dev/null +++ b/buildroot-2022.02.1/package/apg/apg.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 89539aa734a47d68124fca5ba7acbe559edc5003b6791f5200ef9e706dd00fe9 apg-2.3.0b.tar.gz +sha256 5d0c892ea452c3828f1e311637cde4e3a04eb6431554308b3fcdac8c1b330168 COPYING diff --git a/buildroot-2022.02.1/package/apg/apg.mk b/buildroot-2022.02.1/package/apg/apg.mk new file mode 100644 index 00000000..ac4dce77 --- /dev/null +++ b/buildroot-2022.02.1/package/apg/apg.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# apg +# +################################################################################ + +APG_VERSION = 2.3.0b +APG_SITE = $(call github,wilx,apg,v$(APG_VERSION)) +APG_LICENSE = BSD-3-Clause +APG_LICENSE_FILES = COPYING + +define APG_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(APG_CFLAGS)" \ + -C $(@D) +endef + +define APG_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/apg $(TARGET_DIR)/usr/bin/apg +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/apitrace/0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch b/buildroot-2022.02.1/package/apitrace/0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch new file mode 100644 index 00000000..bc76e5e2 --- /dev/null +++ b/buildroot-2022.02.1/package/apitrace/0001-thirdparty-libbacktrace-backtrace-h-include-config.h.patch @@ -0,0 +1,40 @@ +From 36ff87a927092b4d62c587736d7684dea9c82e63 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 19 Jul 2021 08:27:48 +0200 +Subject: [PATCH] thirdparty/libbacktrace/backtrace/h: include config.h + +Build on musl is broken since version 10.0 because the include on +config.h was removed by +https://github.com/apitrace/apitrace/commit/1544abf59d68d74977b8b692bea4d7468d65547b: + +In file included from /home/buildroot/autobuild/instance-3/output-1/build/apitrace-10.0/thirdparty/libbacktrace/testlib.c:40: +/home/buildroot/autobuild/instance-3/output-1/build/apitrace-10.0/thirdparty/libbacktrace/backtrace.h:53:10: fatal error: gstdint.h: No such file or directory + 53 | #include "gstdint.h" + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/a10793d01efa3a1533ba37aa845b9ac2bb1dfb6b + +Signed-off-by: Fabrice Fontaine +[Upstream status: not needed +(https://github.com/apitrace/apitrace/issues/755)] +--- + thirdparty/libbacktrace/backtrace.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/thirdparty/libbacktrace/backtrace.h b/thirdparty/libbacktrace/backtrace.h +index 2814763f..ab7679a0 100644 +--- a/thirdparty/libbacktrace/backtrace.h ++++ b/thirdparty/libbacktrace/backtrace.h +@@ -33,6 +33,8 @@ POSSIBILITY OF SUCH DAMAGE. */ + #ifndef BACKTRACE_H + #define BACKTRACE_H + ++#include "config.h" ++ + #include + #include + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/apitrace/0002-gltrace-Avoid-__libc_dlsym-and-__libc_dlopen_mode-on-GLIBC-2-34.patch b/buildroot-2022.02.1/package/apitrace/0002-gltrace-Avoid-__libc_dlsym-and-__libc_dlopen_mode-on-GLIBC-2-34.patch new file mode 100644 index 00000000..57e3ee24 --- /dev/null +++ b/buildroot-2022.02.1/package/apitrace/0002-gltrace-Avoid-__libc_dlsym-and-__libc_dlopen_mode-on-GLIBC-2-34.patch @@ -0,0 +1,34 @@ +From d28a980802ad48568c87da02d630c8babfe163bb Mon Sep 17 00:00:00 2001 +From: Jose Fonseca +Date: Wed, 1 Sep 2021 16:34:54 +0100 +Subject: [PATCH] gltrace: Avoid __libc_dlsym and __libc_dlopen_mode on GLIBC + 2.34. + +These GLIBC_PRIVATE symbols are gone from GLIBC 2.34 due to the merge of +libdl.so onto libc.so. + +This means apitrace can't defend against infinite recursion when +used with Steam Overlay, but at least it should work otherwise. + +Fixes https://github.com/apitrace/apitrace/issues/756 + +[Retrieved from: +https://github.com/apitrace/apitrace/commit/d28a980802ad48568c87da02d630c8babfe163bb] +Signed-off-by: Fabrice Fontaine +--- + wrappers/dlsym.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wrappers/dlsym.cpp b/wrappers/dlsym.cpp +index 5ab8465b0..5369af35a 100644 +--- a/wrappers/dlsym.cpp ++++ b/wrappers/dlsym.cpp +@@ -34,7 +34,7 @@ + #include "os.hpp" + + +-#if defined(__GLIBC__) && !defined(__UCLIBC__) ++#if defined(__GLIBC__) && !defined(__UCLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 34 + + + #include diff --git a/buildroot-2022.02.1/package/apitrace/Config.in b/buildroot-2022.02.1/package/apitrace/Config.in new file mode 100644 index 00000000..44bd6964 --- /dev/null +++ b/buildroot-2022.02.1/package/apitrace/Config.in @@ -0,0 +1,22 @@ +comment "apitrace needs a toolchain w/ C++, wchar, dynamic library, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + +config BR2_PACKAGE_APITRACE + bool "apitrace" + depends on BR2_USE_MMU # fork() + depends on BR2_USE_WCHAR + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_LIBPNG + help + Trace and replay OpenGL and OpenGL ES APIs calls to/from a + file. You may install apitrace GUI from your distribution to + inspect generated traces. + + http://apitrace.github.io/ diff --git a/buildroot-2022.02.1/package/apitrace/apitrace.hash b/buildroot-2022.02.1/package/apitrace/apitrace.hash new file mode 100644 index 00000000..7ccf6cfb --- /dev/null +++ b/buildroot-2022.02.1/package/apitrace/apitrace.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2e57d37af39369d7ce78666acb8afb1a49ec758f683a21077ec39eb0befae4ad apitrace-10.0.tar.gz +sha256 7066bb1b787519c42f8278b77757c21de522cd97755cb30a22759ac401c62260 LICENSE diff --git a/buildroot-2022.02.1/package/apitrace/apitrace.mk b/buildroot-2022.02.1/package/apitrace/apitrace.mk new file mode 100644 index 00000000..c4756223 --- /dev/null +++ b/buildroot-2022.02.1/package/apitrace/apitrace.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# apitrace +# +################################################################################ + +APITRACE_VERSION = 10.0 +APITRACE_SITE = $(call github,apitrace,apitrace,$(APITRACE_VERSION)) +APITRACE_LICENSE = MIT +APITRACE_LICENSE_FILES = LICENSE + +APITRACE_DEPENDENCIES = host-python3 libpng + +ifeq ($(BR2_PACKAGE_XORG7),y) +APITRACE_DEPENDENCIES += xlib_libX11 +APITRACE_CONF_OPTS += -DENABLE_X11=ON +else +APITRACE_CONF_OPTS += -DENABLE_X11=OFF +endif + +# Gui was never tested, so we prefer to explicitly disable it +APITRACE_CONF_OPTS += -DENABLE_GUI=false + +APITRACE_CFLAGS = $(TARGET_CFLAGS) +APITRACE_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) +# This works around embedded Brotli build failure +APITRACE_CFLAGS += -O0 +# CMakeLists.txt sets CMAKE_CXX_FLAGS_ depending on +# BUILD_TYPE, and this comes after the generic CMAKE_CXX_FLAGS. +# Override CMAKE_BUILD_TYPE so no overrides are applied. +APITRACE_CONF_OPTS += -DCMAKE_BUILD_TYPE=Buildroot +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +# This works around Apitrace itself build failure +APITRACE_CXXFLAGS += -O0 +endif + +# m68k needs 32-bit offsets in switch tables to build +ifeq ($(BR2_m68k),y) +APITRACE_CXXFLAGS += -mlong-jump-table-offsets +endif + +APITRACE_CONF_OPTS += \ + -DCMAKE_C_FLAGS="$(APITRACE_CFLAGS)" \ + -DCMAKE_CXX_FLAGS="$(APITRACE_CXXFLAGS)" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/apparmor/Config.in b/buildroot-2022.02.1/package/apparmor/Config.in similarity index 100% rename from buildroot-2021.05/package/apparmor/Config.in rename to buildroot-2022.02.1/package/apparmor/Config.in diff --git a/buildroot-2022.02.1/package/apparmor/apparmor.hash b/buildroot-2022.02.1/package/apparmor/apparmor.hash new file mode 100644 index 00000000..88280cbf --- /dev/null +++ b/buildroot-2022.02.1/package/apparmor/apparmor.hash @@ -0,0 +1,6 @@ +# From: https://gitlab.com/apparmor/apparmor/-/wikis/home#userspace +sha256 153db05d8f491e0596022663c19fb1166806cb473b3c6f0a7279feda2ec25a59 apparmor-3.0.3.tar.gz + +# locally computed +sha256 a7e0cdcbea5c14927cedfc600d46526bdcbb1eb0a4d951e2ea53c2a6de159cb4 LICENSE +sha256 dd54950fa69a3096fe907a466a454d217ccca9bca77398d5232704766d5a0040 parser/COPYING.GPL diff --git a/buildroot-2022.02.1/package/apparmor/apparmor.mk b/buildroot-2022.02.1/package/apparmor/apparmor.mk new file mode 100644 index 00000000..43bfa053 --- /dev/null +++ b/buildroot-2022.02.1/package/apparmor/apparmor.mk @@ -0,0 +1,87 @@ +################################################################################ +# +# apparmor +# +################################################################################ + +# When updating the version here, please also update the libapparmor package +APPARMOR_VERSION_MAJOR = 3.0 +APPARMOR_VERSION = $(APPARMOR_VERSION_MAJOR).3 +APPARMOR_SITE = https://launchpad.net/apparmor/$(APPARMOR_VERSION_MAJOR)/$(APPARMOR_VERSION)/+download +APPARMOR_DL_SUBDIR = libapparmor +APPARMOR_LICENSE = GPL-2.0 +APPARMOR_LICENSE_FILES = LICENSE parser/COPYING.GPL +APPARMOR_CPE_ID_VENDOR = canonical + +APPARMOR_DEPENDENCIES = libapparmor + +APPARMOR_TOOLS = parser +APPARMOR_MAKE_OPTS = USE_SYSTEM=1 DISTRO=unknown POD2MAN=true POD2HTML=true + +ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) +APPARMOR_DEPENDENCIES += gettext +APPARMOR_MAKE_OPTS += WITH_LIBINTL=1 +endif + +ifeq ($(BR2_PACKAGE_APPARMOR_BINUTILS),y) +APPARMOR_TOOLS += binutils +endif + +ifeq ($(BR2_PACKAGE_APPARMOR_UTILS),y) +APPARMOR_DEPENDENCIES += host-python3 python3 +APPARMOR_TOOLS += utils +APPARMOR_MAKE_OPTS += PYTHON=$(HOST_DIR)/bin/python3 + +ifeq ($(BR2_PACKAGE_APPARMOR_UTILS_EXTRA),) +define APPARMOR_UTILS_NO_EXTRA + $(Q)rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,aa-decode aa-notify aa-remove-unknown) +endef +APPARMOR_POST_INSTALL_TARGET_HOOKS += APPARMOR_UTILS_NO_EXTRA +endif # BR2_PACKAGE_APPARMOR_UTILS_EXTRA + +endif # BR2_PACKAGE_APPARMOR_UTILS + +ifeq ($(BR2_PACKAGE_APPARMOR_PROFILES),y) +APPARMOR_TOOLS += profiles +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +APPARMOR_DEPENDENCIES += linux-pam +APPARMOR_TOOLS += changehat/pam_apparmor +endif + +ifeq ($(BR2_PACKAGE_APACHE),y) +APPARMOR_DEPENDENCIES += apache +APPARMOR_TOOLS += changehat/mod_apparmor +APPARMOR_MAKE_OPTS += APXS=$(STAGING_DIR)/usr/bin/apxs +endif + +define APPARMOR_BUILD_CMDS + $(foreach tool,$(APPARMOR_TOOLS),\ + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ + $(MAKE) -C $(@D)/$(tool) $(APPARMOR_MAKE_OPTS) + ) +endef + +define APPARMOR_INSTALL_TARGET_CMDS + $(foreach tool,$(APPARMOR_TOOLS),\ + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ + $(MAKE) -C $(@D)/$(tool) $(APPARMOR_MAKE_OPTS) \ + DESTDIR=$(TARGET_DIR) install + ) +endef + +# Despite its name, apparmor.systemd is a sysv-init compatible startup script +define APPARMOR_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 $(@D)/parser/apparmor.systemd \ + $(TARGET_DIR)/etc/init.d/S00apparmor +endef + +define APPARMOR_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0755 $(@D)/parser/apparmor.systemd \ + $(TARGET_DIR)/lib/apparmor/apparmor.systemd + $(INSTALL) -D -m 0644 $(@D)/parser/apparmor.service \ + $(TARGET_DIR)/usr/lib/systemd/system/apparmor.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/apr-util/0001-remove-checkapr.patch b/buildroot-2022.02.1/package/apr-util/0001-remove-checkapr.patch similarity index 100% rename from buildroot-2021.05/package/apr-util/0001-remove-checkapr.patch rename to buildroot-2022.02.1/package/apr-util/0001-remove-checkapr.patch diff --git a/buildroot-2022.02.1/package/apr-util/Config.in b/buildroot-2022.02.1/package/apr-util/Config.in new file mode 100644 index 00000000..c1a967bd --- /dev/null +++ b/buildroot-2022.02.1/package/apr-util/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_APR_UTIL + bool "apr-util" + # apr really needs shared library support + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # apr + select BR2_PACKAGE_APR + select BR2_PACKAGE_EXPAT + help + The utility library for the apache runtime project + + https://apr.apache.org + +comment "apr-util needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/apr-util/apr-util.hash b/buildroot-2022.02.1/package/apr-util/apr-util.hash similarity index 100% rename from buildroot-2021.05/package/apr-util/apr-util.hash rename to buildroot-2022.02.1/package/apr-util/apr-util.hash diff --git a/buildroot-2022.02.1/package/apr-util/apr-util.mk b/buildroot-2022.02.1/package/apr-util/apr-util.mk new file mode 100644 index 00000000..fb0735f5 --- /dev/null +++ b/buildroot-2022.02.1/package/apr-util/apr-util.mk @@ -0,0 +1,86 @@ +################################################################################ +# +# apr-util +# +################################################################################ + +APR_UTIL_VERSION = 1.6.1 +APR_UTIL_SOURCE = apr-util-$(APR_UTIL_VERSION).tar.bz2 +APR_UTIL_SITE = https://archive.apache.org/dist/apr +APR_UTIL_LICENSE = Apache-2.0 +APR_UTIL_LICENSE_FILES = LICENSE +APR_UTIL_CPE_ID_VENDOR = apache +APR_UTIL_CPE_ID_PRODUCT = portable_runtime_utility +APR_UTIL_INSTALL_STAGING = YES +APR_UTIL_DEPENDENCIES = apr expat +APR_UTIL_CONF_OPTS = \ + --with-apr=$(STAGING_DIR)/usr/bin/apr-1-config +APR_UTIL_CONFIG_SCRIPTS = apu-1-config + +# When iconv is available, then use it to provide charset conversion +# features. +APR_UTIL_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +ifeq ($(BR2_PACKAGE_BERKELEYDB),y) +APR_UTIL_CONF_OPTS += --with-dbm=db53 --with-berkeley-db="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += berkeleydb +else +APR_UTIL_CONF_OPTS += --without-berkeley-db +endif + +ifeq ($(BR2_PACKAGE_GDBM),y) +APR_UTIL_CONF_OPTS += --with-gdbm="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += gdbm +else +APR_UTIL_CONF_OPTS += --without-gdbm +endif + +ifeq ($(BR2_PACKAGE_MYSQL),y) +APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += mysql +else +APR_UTIL_CONF_OPTS += --without-mysql +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += sqlite +else +APR_UTIL_CONF_OPTS += --without-sqlite3 +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +APR_UTIL_CONF_ENV += ac_cv_ldap_set_rebind_proc_style=three +APR_UTIL_CONF_OPTS += \ + --with-ldap \ + --with-ldap-include="$(STAGING_DIR)/usr/include/" \ + --with-ldap-lib="$(STAGING_DIR)/usr/lib" +APR_UTIL_DEPENDENCIES += openldap +else +APR_UTIL_CONF_OPTS += --without-ldap +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +APR_UTIL_CONF_OPTS += --with-crypto --with-openssl="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += openssl +else +APR_UTIL_CONF_OPTS += --without-crypto +endif + +ifeq ($(BR2_PACKAGE_POSTGRESQL),y) +APR_UTIL_CONF_OPTS += --with-pgsql="$(STAGING_DIR)/usr" +APR_UTIL_DEPENDENCIES += postgresql +else +APR_UTIL_CONF_OPTS += --without-pgsql +endif + +ifeq ($(BR2_PACKAGE_UNIXODBC),y) +APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr" +# avoid using target binary $(STAGING_DIR)/usr/bin/odbc_config +APR_UTIL_CONF_ENV += ac_cv_path_ODBC_CONFIG="" +APR_UTIL_DEPENDENCIES += unixodbc +else +APR_UTIL_CONF_OPTS += --without-odbc +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/apr/0001-cross-compile.patch b/buildroot-2022.02.1/package/apr/0001-cross-compile.patch similarity index 100% rename from buildroot-2021.05/package/apr/0001-cross-compile.patch rename to buildroot-2022.02.1/package/apr/0001-cross-compile.patch diff --git a/buildroot-2021.05/package/apr/0002-sys-param-h.patch b/buildroot-2022.02.1/package/apr/0002-sys-param-h.patch similarity index 100% rename from buildroot-2021.05/package/apr/0002-sys-param-h.patch rename to buildroot-2022.02.1/package/apr/0002-sys-param-h.patch diff --git a/buildroot-2022.02.1/package/apr/0003-Merge-r1887279-from-trunk.patch b/buildroot-2022.02.1/package/apr/0003-Merge-r1887279-from-trunk.patch new file mode 100644 index 00000000..444b9d2b --- /dev/null +++ b/buildroot-2022.02.1/package/apr/0003-Merge-r1887279-from-trunk.patch @@ -0,0 +1,69 @@ +From a15958a37a06f71c42c690278f9c958b93b7ee20 Mon Sep 17 00:00:00 2001 +From: Yann Ylavic +Date: Thu, 11 Mar 2021 14:10:21 +0000 +Subject: [PATCH] Merge r1887279 from trunk: + +build/apr_common.m4: avoid explicit inclusion of "confdefs.h" + +The failure is observed on `autoconf-2.69d` (soon to be released +as `autoconf-2.70`). There `int64_t` detection fails as: + +$ autoreconf && ./configure +checking whether int64_t and int use fmt %d... no +checking whether int64_t and long use fmt %ld... no +checking whether int64_t and long long use fmt %lld... no +configure: error: could not determine the string function for int64_t +``` + +This happens because `./configure` always stumbles on warning: + +configure:3350: gcc -c -g -O2 -Werror conftest.c >&5 +In file included from conftest.c:31: +confdefs.h:22: error: "__STDC_WANT_IEC_60559_ATTRIBS_EXT__" redefined [-Werror] + 22 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 + | + +It's triggered by double inclusion of `"confdefs.h"` contents: +explicitly in `APR_TRY_COMPILE_NO_WARNING` macro and implicitly +via `AC_LANG_SOURCE` use. + +To fix it and avoid having to define `main()` declaration the change +uses `AC_LANG_PROGRAM` instead. + +Tested on both `autoconf-2.69` and `autoconf-2.69d`. + + +Github: closes #25 +Submitted by: Sergei Trofimovich +Reviewed by: ylavic + + +git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1887485 13f79535-47bb-0310-9956-ffa450edef68 + +[Retrieved from: +https://github.com/apache/apr/commit/0a763c5e500f4304b7c534fae0fad430d64982e8] +Signed-off-by: Fabrice Fontaine +--- + build/apr_common.m4 | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +diff --git a/build/apr_common.m4 b/build/apr_common.m4 +index 297dd32cf75..b67a8608abe 100644 +--- a/build/apr_common.m4 ++++ b/build/apr_common.m4 +@@ -467,13 +467,9 @@ AC_DEFUN([APR_TRY_COMPILE_NO_WARNING], + CFLAGS="$CFLAGS -Werror" + fi + AC_COMPILE_IFELSE( +- [AC_LANG_SOURCE( +- [#include "confdefs.h" +- ] +- [[$1]] +- [int main(int argc, const char *const *argv) {] ++ [AC_LANG_PROGRAM( ++ [[$1]], + [[$2]] +- [ return 0; }] + )], [CFLAGS=$apr_save_CFLAGS + $3], [CFLAGS=$apr_save_CFLAGS + $4]) diff --git a/buildroot-2022.02.1/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch b/buildroot-2022.02.1/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch new file mode 100644 index 00000000..b065a333 --- /dev/null +++ b/buildroot-2022.02.1/package/apr/0004-apr-1.7.0-CVE-2021-35940.patch @@ -0,0 +1,57 @@ + +SECURITY: CVE-2021-35940 (cve.mitre.org) + +Restore fix for CVE-2017-12613 which was missing in 1.7.x branch, though +was addressed in 1.6.x in 1.6.3 and later via r1807976. + +The fix was merged back to 1.7.x in r1891198. + +Since this was a regression in 1.7.0, a new CVE name has been assigned +to track this, CVE-2021-35940. + +Thanks to Iveta Cesalova for reporting this issue. + +https://svn.apache.org/viewvc?view=revision&revision=1891198 + +[Retrieved from: +https://dist.apache.org/repos/dist/release/apr/patches/apr-1.7.0-CVE-2021-35940.patch] +Signed-off-by: Fabrice Fontaine + +Index: ./time/unix/time.c +=================================================================== +--- ./time/unix/time.c (revision 1891197) ++++ ./time/unix/time.c (revision 1891198) +@@ -142,6 +142,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) +Index: ./time/win32/time.c +=================================================================== +--- ./time/win32/time.c (revision 1891197) ++++ ./time/win32/time.c (revision 1891198) +@@ -54,6 +54,9 @@ + static const int dayoffset[12] = + {0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334}; + ++ if (tm->wMonth < 1 || tm->wMonth > 12) ++ return APR_EBADDATE; ++ + /* Note; the caller is responsible for filling in detailed tm_usec, + * tm_gmtoff and tm_isdst data when applicable. + */ +@@ -228,6 +231,9 @@ + static const int dayoffset[12] = + {306, 337, 0, 31, 61, 92, 122, 153, 184, 214, 245, 275}; + ++ if (xt->tm_mon < 0 || xt->tm_mon >= 12) ++ return APR_EBADDATE; ++ + /* shift new year to 1st March in order to make leap year calc easy */ + + if (xt->tm_mon < 2) diff --git a/buildroot-2022.02.1/package/apr/Config.in b/buildroot-2022.02.1/package/apr/Config.in new file mode 100644 index 00000000..4606fc53 --- /dev/null +++ b/buildroot-2022.02.1/package/apr/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_APR + bool "apr" + # apr really needs shared library support + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # fork() in apr_proc_fork() + help + The mission of the Apache Portable Runtime (APR) project is to + create and maintain software libraries that provide a + predictable and consistent interface to underlying + platform-specific implementations + + https://apr.apache.org + +comment "apr needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/apr/apr.hash b/buildroot-2022.02.1/package/apr/apr.hash similarity index 100% rename from buildroot-2021.05/package/apr/apr.hash rename to buildroot-2022.02.1/package/apr/apr.hash diff --git a/buildroot-2022.02.1/package/apr/apr.mk b/buildroot-2022.02.1/package/apr/apr.mk new file mode 100644 index 00000000..77217ccb --- /dev/null +++ b/buildroot-2022.02.1/package/apr/apr.mk @@ -0,0 +1,91 @@ +################################################################################ +# +# apr +# +################################################################################ + +APR_VERSION = 1.7.0 +APR_SOURCE = apr-$(APR_VERSION).tar.bz2 +APR_SITE = https://archive.apache.org/dist/apr +APR_LICENSE = Apache-2.0 +APR_LICENSE_FILES = LICENSE +APR_CPE_ID_VENDOR = apache +APR_CPE_ID_PRODUCT = portable_runtime +APR_INSTALL_STAGING = YES +# We have a patch touching configure.in and Makefile.in, +# so we need to autoreconf: +APR_AUTORECONF = YES + +# 0004-apr-1.7.0-CVE-2021-35940.patch +APR_IGNORE_CVES += CVE-2021-35940 + +# avoid apr_hints.m4 by setting apr_preload_done=yes and set +# the needed CFLAGS on our own (avoids '-D_REENTRANT' in case +# not supported by toolchain and subsequent configure failure) +APR_CFLAGS = $(TARGET_CFLAGS) -DLINUX -D_GNU_SOURCE +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +APR_CFLAGS += -D_REENTRANT +endif + +APR_CONF_ENV = \ + CC_FOR_BUILD="$(HOSTCC)" \ + CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ + CFLAGS="$(APR_CFLAGS)" \ + ac_cv_file__dev_zero=yes \ + ac_cv_func_setpgrp_void=yes \ + apr_cv_process_shared_works=yes \ + apr_cv_mutex_robust_shared=no \ + apr_cv_tcp_nodelay_with_cork=yes \ + ac_cv_sizeof_struct_iovec=8 \ + ac_cv_sizeof_pid_t=4 \ + ac_cv_struct_rlimit=yes \ + ac_cv_o_nonblock_inherited=no \ + apr_cv_mutex_recursive=yes \ + apr_cv_epoll=yes \ + apr_cv_epoll_create1=yes \ + apr_cv_dup3=yes \ + apr_cv_sock_cloexec=yes \ + apr_cv_accept4=yes \ + apr_preload_done=yes +APR_CONFIG_SCRIPTS = apr-1-config + +# Doesn't even try to guess when cross compiling +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +APR_CONF_ENV += apr_cv_pthreads_lib="-lpthread" +endif + +# Fix lfs detection when cross compiling +APR_CONF_ENV += apr_cv_use_lfs64=yes + +# Use non-portable atomics when available. We have to override +# ap_cv_atomic_builtins because the test used to check for atomic +# builtins uses AC_TRY_RUN, which doesn't work when cross-compiling. +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8),y) +APR_CONF_OPTS += --enable-nonportable-atomics +APR_CONF_ENV += ap_cv_atomic_builtins=yes +else +APR_CONF_OPTS += --disable-nonportable-atomics +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +APR_DEPENDENCIES += util-linux +endif + +define APR_CLEANUP_UNNEEDED_FILES + $(RM) -rf $(TARGET_DIR)/usr/build-1/ +endef + +APR_POST_INSTALL_TARGET_HOOKS += APR_CLEANUP_UNNEEDED_FILES + +define APR_FIXUP_RULES_MK + $(SED) 's%apr_builddir=%apr_builddir=$(STAGING_DIR)%' \ + $(STAGING_DIR)/usr/build-1/apr_rules.mk + $(SED) 's%apr_builders=%apr_builders=$(STAGING_DIR)%' \ + $(STAGING_DIR)/usr/build-1/apr_rules.mk + $(SED) 's%top_builddir=%top_builddir=$(STAGING_DIR)%' \ + $(STAGING_DIR)/usr/build-1/apr_rules.mk +endef + +APR_POST_INSTALL_STAGING_HOOKS += APR_FIXUP_RULES_MK + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/argp-standalone/0001-throw-in-funcdef.patch b/buildroot-2022.02.1/package/argp-standalone/0001-throw-in-funcdef.patch similarity index 100% rename from buildroot-2021.05/package/argp-standalone/0001-throw-in-funcdef.patch rename to buildroot-2022.02.1/package/argp-standalone/0001-throw-in-funcdef.patch diff --git a/buildroot-2021.05/package/argp-standalone/0002-isprint.patch b/buildroot-2022.02.1/package/argp-standalone/0002-isprint.patch similarity index 100% rename from buildroot-2021.05/package/argp-standalone/0002-isprint.patch rename to buildroot-2022.02.1/package/argp-standalone/0002-isprint.patch diff --git a/buildroot-2021.05/package/argp-standalone/0003-fix_build_with_c99_compilers.patch b/buildroot-2022.02.1/package/argp-standalone/0003-fix_build_with_c99_compilers.patch similarity index 100% rename from buildroot-2021.05/package/argp-standalone/0003-fix_build_with_c99_compilers.patch rename to buildroot-2022.02.1/package/argp-standalone/0003-fix_build_with_c99_compilers.patch diff --git a/buildroot-2021.05/package/argp-standalone/Config.in b/buildroot-2022.02.1/package/argp-standalone/Config.in similarity index 100% rename from buildroot-2021.05/package/argp-standalone/Config.in rename to buildroot-2022.02.1/package/argp-standalone/Config.in diff --git a/buildroot-2021.05/package/argp-standalone/argp-standalone.hash b/buildroot-2022.02.1/package/argp-standalone/argp-standalone.hash similarity index 100% rename from buildroot-2021.05/package/argp-standalone/argp-standalone.hash rename to buildroot-2022.02.1/package/argp-standalone/argp-standalone.hash diff --git a/buildroot-2021.05/package/argp-standalone/argp-standalone.mk b/buildroot-2022.02.1/package/argp-standalone/argp-standalone.mk similarity index 100% rename from buildroot-2021.05/package/argp-standalone/argp-standalone.mk rename to buildroot-2022.02.1/package/argp-standalone/argp-standalone.mk diff --git a/buildroot-2021.05/package/argparse/Config.in b/buildroot-2022.02.1/package/argparse/Config.in similarity index 100% rename from buildroot-2021.05/package/argparse/Config.in rename to buildroot-2022.02.1/package/argparse/Config.in diff --git a/buildroot-2021.05/package/argparse/argparse.hash b/buildroot-2022.02.1/package/argparse/argparse.hash similarity index 100% rename from buildroot-2021.05/package/argparse/argparse.hash rename to buildroot-2022.02.1/package/argparse/argparse.hash diff --git a/buildroot-2021.05/package/argparse/argparse.mk b/buildroot-2022.02.1/package/argparse/argparse.mk similarity index 100% rename from buildroot-2021.05/package/argparse/argparse.mk rename to buildroot-2022.02.1/package/argparse/argparse.mk diff --git a/buildroot-2021.05/package/argus/Config.in b/buildroot-2022.02.1/package/argus/Config.in similarity index 100% rename from buildroot-2021.05/package/argus/Config.in rename to buildroot-2022.02.1/package/argus/Config.in diff --git a/buildroot-2021.05/package/argus/argus.hash b/buildroot-2022.02.1/package/argus/argus.hash similarity index 100% rename from buildroot-2021.05/package/argus/argus.hash rename to buildroot-2022.02.1/package/argus/argus.hash diff --git a/buildroot-2021.05/package/argus/argus.mk b/buildroot-2022.02.1/package/argus/argus.mk similarity index 100% rename from buildroot-2021.05/package/argus/argus.mk rename to buildroot-2022.02.1/package/argus/argus.mk diff --git a/buildroot-2022.02.1/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.hash b/buildroot-2022.02.1/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.hash new file mode 100644 index 00000000..73c2708f --- /dev/null +++ b/buildroot-2022.02.1/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 45225813f74e0c3f76af2715d30d1fbebb873c1abe7098f9c694e5567cc2279c gcc-arm-10.3-2021.07-x86_64-arm-none-eabi.tar.xz diff --git a/buildroot-2022.02.1/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.mk b/buildroot-2022.02.1/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.mk new file mode 100644 index 00000000..97ab89c9 --- /dev/null +++ b/buildroot-2022.02.1/package/arm-gnu-a-toolchain/arm-gnu-a-toolchain.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# arm-gnu-a-toolchain +# +################################################################################ + +ARM_GNU_A_TOOLCHAIN_VERSION = 10.3-2021.07 +ARM_GNU_A_TOOLCHAIN_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/$(ARM_GNU_A_TOOLCHAIN_VERSION)/binrel +ARM_GNU_A_TOOLCHAIN_SOURCE = gcc-arm-$(ARM_GNU_A_TOOLCHAIN_VERSION)-x86_64-arm-none-eabi.tar.xz +ARM_GNU_A_TOOLCHAIN_LICENSE = GPL-3.0+ + +HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR = $(HOST_DIR)/opt/gcc-arm-none-eabi + +define HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_CMDS + rm -rf $(HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR) + mkdir -p $(HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR) + cp -rf $(@D)/* $(HOST_ARM_GNU_A_TOOLCHAIN_INSTALL_DIR)/ + + mkdir -p $(HOST_DIR)/bin + cd $(HOST_DIR)/bin && \ + for i in ../opt/gcc-arm-none-eabi/bin/*; do \ + ln -sf $$i; \ + done +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/armadillo/Config.in b/buildroot-2022.02.1/package/armadillo/Config.in new file mode 100644 index 00000000..7aed4fd0 --- /dev/null +++ b/buildroot-2022.02.1/package/armadillo/Config.in @@ -0,0 +1,38 @@ +comment "armadillo needs a toolchain w/ C++" + depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP + +comment "armadillo needs a toolchain w/ fortran, C++" + depends on !BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS # otherwise, see comment above + depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_FORTRAN || !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_ARMADILLO + bool "armadillo" + depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS || \ + (BR2_PACKAGE_LAPACK_ARCH_SUPPORTS && BR2_TOOLCHAIN_HAS_FORTRAN) + depends on BR2_INSTALL_LIBSTDCPP + help + Armadillo: An Open Source C++ Linear Algebra Library for + Fast Prototyping and Computationally Intensive Experiments. + + http://arma.sourceforge.net/ + +if BR2_PACKAGE_ARMADILLO + +choice + prompt "BLAS implementation" + +config BR2_PACKAGE_ARMADILLO_OPENBLAS + bool "openblas" + depends on BR2_PACKAGE_OPENBLAS_ARCH_SUPPORTS + select BR2_PACKAGE_OPENBLAS + +config BR2_PACKAGE_ARMADILLO_LAPACK + bool "lapack" + depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS && BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_PACKAGE_LAPACK + +endchoice + +endif diff --git a/buildroot-2021.05/package/armadillo/armadillo.hash b/buildroot-2022.02.1/package/armadillo/armadillo.hash similarity index 100% rename from buildroot-2021.05/package/armadillo/armadillo.hash rename to buildroot-2022.02.1/package/armadillo/armadillo.hash diff --git a/buildroot-2022.02.1/package/armadillo/armadillo.mk b/buildroot-2022.02.1/package/armadillo/armadillo.mk new file mode 100644 index 00000000..8661bfd9 --- /dev/null +++ b/buildroot-2022.02.1/package/armadillo/armadillo.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# armadillo +# +################################################################################ + +ARMADILLO_VERSION = 9.900.2 +ARMADILLO_SOURCE = armadillo-$(ARMADILLO_VERSION).tar.xz +ARMADILLO_SITE = https://downloads.sourceforge.net/project/arma +ARMADILLO_INSTALL_STAGING = YES +ARMADILLO_LICENSE = Apache-2.0 +ARMADILLO_LICENSE_FILES = LICENSE.txt + +ARMADILLO_CONF_OPTS = -DDETECT_HDF5=false + +# blas support may be provided by lapack (libblas.a) or openblas (libopenblas.a) +ARMADILLO_CONF_OPTS += -DBLAS_FOUND=ON +ifeq ($(BR2_PACKAGE_ARMADILLO_OPENBLAS),y) +ARMADILLO_CONF_OPTS += -DBLAS_LIBRARIES=-lopenblas +ARMADILLO_DEPENDENCIES += openblas +else +# Since BR2_PACKAGE_LAPACK is selected in this case, the dependency on it is +# added below. +ARMADILLO_CONF_OPTS += -DBLAS_LIBRARIES=-lblas +endif + +# lapack support is optional and can only be provided by lapack, not openblas +ifeq ($(BR2_PACKAGE_LAPACK),y) +ARMADILLO_CONF_OPTS += -DLAPACK_FOUND=ON +ARMADILLO_DEPENDENCIES += lapack +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/armbian-firmware/Config.in b/buildroot-2022.02.1/package/armbian-firmware/Config.in new file mode 100644 index 00000000..7fb654b6 --- /dev/null +++ b/buildroot-2022.02.1/package/armbian-firmware/Config.in @@ -0,0 +1,36 @@ +config BR2_PACKAGE_ARMBIAN_FIRMWARE + bool "armbian-firmware" + help + This package enables access to various firmware + blobs from the Armbian firmware repository. + + https://github.com/armbian/firmware + +if BR2_PACKAGE_ARMBIAN_FIRMWARE + +config BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6212 + bool "AP6212 WiFi/BT" + help + Firmware files for AP6212 WiFi/BT combo chip. + +config BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6256 + bool "AP6256 WiFi/BT" + help + Firmware files for AP6256 WiFi/BT combo chip. + +config BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6255 + bool "AP6255 WiFi/BT" + help + Firmware files for AP6255 WiFi/BT combo chip. + +config BR2_PACKAGE_ARMBIAN_FIRMWARE_RTL8822CS + bool "Realtek 8822CS SDIO WiFi/BT" + help + Firmware files for Realtek 8822CS SDIO combo chip. + +config BR2_PACKAGE_ARMBIAN_FIRMWARE_XR819 + bool "XR819 WiFi" + help + Firmware files for XR819 WiFi SDIO chip. + +endif diff --git a/buildroot-2022.02.1/package/armbian-firmware/armbian-firmware.hash b/buildroot-2022.02.1/package/armbian-firmware/armbian-firmware.hash new file mode 100644 index 00000000..5ef875db --- /dev/null +++ b/buildroot-2022.02.1/package/armbian-firmware/armbian-firmware.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 725b1f65a5947f053a593f917f91c6634d496c92af6180845cc3679d1377ab79 armbian-firmware-5d685ad233b4dfd03a4d025fa0061f6b0f850cb3-br1.tar.gz diff --git a/buildroot-2022.02.1/package/armbian-firmware/armbian-firmware.mk b/buildroot-2022.02.1/package/armbian-firmware/armbian-firmware.mk new file mode 100644 index 00000000..5d945548 --- /dev/null +++ b/buildroot-2022.02.1/package/armbian-firmware/armbian-firmware.mk @@ -0,0 +1,84 @@ +################################################################################ +# +# armbian-firmware +# +################################################################################ + +ARMBIAN_FIRMWARE_VERSION = 5d685ad233b4dfd03a4d025fa0061f6b0f850cb3 +ARMBIAN_FIRMWARE_SITE = https://github.com/armbian/firmware +ARMBIAN_FIRMWARE_SITE_METHOD = git + +# AP6212 WiFi/BT combo firmware +ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6212),y) +ARMBIAN_FIRMWARE_DIRS += ap6212 +endif + +# AP6256 WiFi/BT combo firmware +ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6256),y) +ARMBIAN_FIRMWARE_FILES += \ + brcm/BCM4345C5.hcd \ + brcm/brcmfmac43456-sdio.bin \ + brcm/brcmfmac43456-sdio.txt +endif + +# AP6255 WiFi/BT combo firmware +ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_AP6255),y) +ARMBIAN_FIRMWARE_FILES += \ + BCM4345C0.hcd \ + fw_bcm43455c0_ag.bin \ + fw_bcm43455c0_ag_apsta.bin \ + fw_bcm43455c0_ag_p2p.bin \ + nvram_ap6255.txt \ + brcm/brcmfmac43455-sdio.bin \ + brcm/brcmfmac43455-sdio.clm_blob \ + brcm/brcmfmac43455-sdio.txt \ + brcm/config.txt +endif + +# Realtek 8822CS SDIO WiFi/BT combo firmware +ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_RTL8822CS),y) +ARMBIAN_FIRMWARE_FILES += \ + rtlbt/rtl8822cs_config \ + rtlbt/rtl8822cs_fw \ + rtl_bt/rtl8822cs_config.bin \ + rtl_bt/rtl8822cs_fw.bin +endif + +# XR819 WiFi firmware +ifeq ($(BR2_PACKAGE_ARMBIAN_FIRMWARE_XR819),y) +ARMBIAN_FIRMWARE_FILES += \ + xr819/boot_xr819.bin \ + xr819/fw_xr819.bin \ + xr819/sdd_xr819.bin +endif + +ifneq ($(ARMBIAN_FIRMWARE_FILES),) +define ARMBIAN_FIRMWARE_INSTALL_FILES + cd $(@D) && \ + $(TAR) cf install.tar $(sort $(ARMBIAN_FIRMWARE_FILES)) && \ + $(TAR) xf install.tar -C $(TARGET_DIR)/lib/firmware +endef +endif + +ifneq ($(ARMBIAN_FIRMWARE_DIRS),) +# We need to rm -rf the destination directory to avoid copying +# into it in itself, should we re-install the package. +define ARMBIAN_FIRMWARE_INSTALL_DIRS + $(foreach d,$(ARMBIAN_FIRMWARE_DIRS), \ + rm -rf $(TARGET_DIR)/lib/firmware/$(d); \ + cp -a $(@D)/$(d) $(TARGET_DIR)/lib/firmware/$(d)$(sep)) +endef +endif + +ifneq ($(ARMBIAN_FIRMWARE_FILES)$(ARMBIAN_FIRMWARE_DIRS),) +ARMBIAN_FIRMWARE_LICENSE = PROPRIETARY +ARMBIAN_FIRMWARE_REDISTRIBUTE = NO +endif + +define ARMBIAN_FIRMWARE_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/lib/firmware + $(ARMBIAN_FIRMWARE_INSTALL_FILES) + $(ARMBIAN_FIRMWARE_INSTALL_DIRS) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/arp-scan/Config.in b/buildroot-2022.02.1/package/arp-scan/Config.in similarity index 100% rename from buildroot-2021.05/package/arp-scan/Config.in rename to buildroot-2022.02.1/package/arp-scan/Config.in diff --git a/buildroot-2021.05/package/arp-scan/arp-scan.hash b/buildroot-2022.02.1/package/arp-scan/arp-scan.hash similarity index 100% rename from buildroot-2021.05/package/arp-scan/arp-scan.hash rename to buildroot-2022.02.1/package/arp-scan/arp-scan.hash diff --git a/buildroot-2022.02.1/package/arp-scan/arp-scan.mk b/buildroot-2022.02.1/package/arp-scan/arp-scan.mk new file mode 100644 index 00000000..3fdbd463 --- /dev/null +++ b/buildroot-2022.02.1/package/arp-scan/arp-scan.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# arp-scan +# +################################################################################ + +ARP_SCAN_VERSION = 1.9.7 +ARP_SCAN_SITE = $(call github,royhills,arp-scan,$(ARP_SCAN_VERSION)) +ARP_SCAN_LICENSE = GPL-3.0+ +ARP_SCAN_LICENSE_FILES = COPYING +ARP_SCAN_DEPENDENCIES = libpcap +ARP_SCAN_AUTORECONF = YES + +ifeq ($(BR2_STATIC_LIBS),y) +ARP_SCAN_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" +endif + +ARP_SCAN_CONF_ENV = pgac_cv_snprintf_long_long_int_format='%lld' + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/arptables/0001-Fix-musl-build-issue.patch b/buildroot-2022.02.1/package/arptables/0001-Fix-musl-build-issue.patch new file mode 100644 index 00000000..28bfa21f --- /dev/null +++ b/buildroot-2022.02.1/package/arptables/0001-Fix-musl-build-issue.patch @@ -0,0 +1,71 @@ +From cbf84a0bc377c6a368d30571f37ebfab27784697 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= +Date: Wed, 2 Dec 2015 04:57:33 +0100 +Subject: [PATCH] Fix musl build issue +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Due to clashes in the namespace between the Linux Kernel headers and the +netinet headers building arptables with the musl C library fails. + +Best advice from the musl developers is to not include both headers in a +userspace tool (see the thread on the musl mailing list [1], especially [2]). + +Since arptables only requires a few definitions from the Linux Kernel headers +we opt-out the clashing header files and define the needed definitions. + +[1] http://www.openwall.com/lists/musl/2012/10/09/1 +[2] http://www.openwall.com/lists/musl/2012/10/11/1 + +Signed-off-by: Jörg Krause +--- + extensions/arpt_CLASSIFY.c | 7 +++++++ + include/linux/netfilter_arp.h | 11 +++++++++++ + 2 files changed, 18 insertions(+) + +diff --git a/extensions/arpt_CLASSIFY.c b/extensions/arpt_CLASSIFY.c +index cb5770b..c58129f 100644 +--- a/extensions/arpt_CLASSIFY.c ++++ b/extensions/arpt_CLASSIFY.c +@@ -21,7 +21,14 @@ + #include + #include + #include ++ ++#ifdef __KERNEL__ + #include ++#else ++struct xt_classify_target_info { ++ uint32_t priority; ++}; ++#endif + + #define TC_H_MAJ_MASK (0xFFFF0000U) + #define TC_H_MIN_MASK (0x0000FFFFU) +diff --git a/include/linux/netfilter_arp.h b/include/linux/netfilter_arp.h +index 92bc6dd..2a63e82 100644 +--- a/include/linux/netfilter_arp.h ++++ b/include/linux/netfilter_arp.h +@@ -5,7 +5,18 @@ + * (C)2002 Rusty Russell IBM -- This code is GPL. + */ + ++#ifdef __KERNEL__ + #include ++#else ++/* Responses from hook functions. */ ++#define NF_DROP 0 ++#define NF_ACCEPT 1 ++#define NF_STOLEN 2 ++#define NF_QUEUE 3 ++#define NF_REPEAT 4 ++#define NF_STOP 5 ++#define NF_MAX_VERDICT NF_STOP ++#endif + + /* There is no PF_ARP. */ + #define NF_ARP 0 +-- +2.6.2 + diff --git a/buildroot-2021.05/package/arptables/Config.in b/buildroot-2022.02.1/package/arptables/Config.in similarity index 100% rename from buildroot-2021.05/package/arptables/Config.in rename to buildroot-2022.02.1/package/arptables/Config.in diff --git a/buildroot-2021.05/package/arptables/arptables.hash b/buildroot-2022.02.1/package/arptables/arptables.hash similarity index 100% rename from buildroot-2021.05/package/arptables/arptables.hash rename to buildroot-2022.02.1/package/arptables/arptables.hash diff --git a/buildroot-2021.05/package/arptables/arptables.mk b/buildroot-2022.02.1/package/arptables/arptables.mk similarity index 100% rename from buildroot-2021.05/package/arptables/arptables.mk rename to buildroot-2022.02.1/package/arptables/arptables.mk diff --git a/buildroot-2021.05/package/ascii-invaders/Config.in b/buildroot-2022.02.1/package/ascii-invaders/Config.in similarity index 100% rename from buildroot-2021.05/package/ascii-invaders/Config.in rename to buildroot-2022.02.1/package/ascii-invaders/Config.in diff --git a/buildroot-2021.05/package/ascii-invaders/ascii-invaders.hash b/buildroot-2022.02.1/package/ascii-invaders/ascii-invaders.hash similarity index 100% rename from buildroot-2021.05/package/ascii-invaders/ascii-invaders.hash rename to buildroot-2022.02.1/package/ascii-invaders/ascii-invaders.hash diff --git a/buildroot-2021.05/package/ascii-invaders/ascii-invaders.mk b/buildroot-2022.02.1/package/ascii-invaders/ascii-invaders.mk similarity index 100% rename from buildroot-2021.05/package/ascii-invaders/ascii-invaders.mk rename to buildroot-2022.02.1/package/ascii-invaders/ascii-invaders.mk diff --git a/buildroot-2021.05/package/asn1c/Config.in.host b/buildroot-2022.02.1/package/asn1c/Config.in.host similarity index 100% rename from buildroot-2021.05/package/asn1c/Config.in.host rename to buildroot-2022.02.1/package/asn1c/Config.in.host diff --git a/buildroot-2021.05/package/asn1c/asn1c.hash b/buildroot-2022.02.1/package/asn1c/asn1c.hash similarity index 100% rename from buildroot-2021.05/package/asn1c/asn1c.hash rename to buildroot-2022.02.1/package/asn1c/asn1c.hash diff --git a/buildroot-2021.05/package/asn1c/asn1c.mk b/buildroot-2022.02.1/package/asn1c/asn1c.mk similarity index 100% rename from buildroot-2021.05/package/asn1c/asn1c.mk rename to buildroot-2022.02.1/package/asn1c/asn1c.mk diff --git a/buildroot-2022.02.1/package/assimp/0001-code-disable-Werror.patch b/buildroot-2022.02.1/package/assimp/0001-code-disable-Werror.patch new file mode 100644 index 00000000..33867e61 --- /dev/null +++ b/buildroot-2022.02.1/package/assimp/0001-code-disable-Werror.patch @@ -0,0 +1,39 @@ +From 5146e1c4d58174e302dbdcf2a85c2023be1cffc6 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Fri, 10 Dec 2021 15:15:30 +0100 +Subject: [PATCH] code: disable -Werror +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + .../build/assimp-5.1.3/code/PostProcessing/TriangulateProcess.cpp:285:50: error: argument 1 value ‘4294967294’ exceeds maximum object size 2147483647 [-Werror=alloc-size-larger-than=] + 285 | std::unique_ptr done(new bool[max_out]); + | ^ + [...] + .../host/opt/ext-toolchain/powerpc-buildroot-linux-uclibc/include/c++/9.3.0/new:127:26: note: in a call to allocation function ‘void* operator new [](std::size_t)’ declared here + 127 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) + | ^~~~~~~~ + +Signed-off-by: Peter Seiderer +--- + code/CMakeLists.txt | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt +index e45bf8a2a..f71b6583d 100644 +--- a/code/CMakeLists.txt ++++ b/code/CMakeLists.txt +@@ -1167,8 +1167,6 @@ TARGET_USE_COMMON_OUTPUT_DIRECTORY(assimp) + # enable warnings as errors ######################################## + IF (MSVC) + TARGET_COMPILE_OPTIONS(assimp PRIVATE /WX) +-ELSE() +- TARGET_COMPILE_OPTIONS(assimp PRIVATE -Werror) + ENDIF() + + # adds C_FLAGS required to compile zip.c on old GCC 4.x compiler +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/assimp/Config.in b/buildroot-2022.02.1/package/assimp/Config.in new file mode 100644 index 00000000..833e559a --- /dev/null +++ b/buildroot-2022.02.1/package/assimp/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_ASSIMP + bool "assimp" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_PACKAGE_LIBZLIB + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + help + Open Asset Import Library (assimp) is a portable Open Source + library to import various well-known 3D model formats in a + uniform manner. The most recent version also knows how to + export 3d files and is therefore suitable as a general-purpose + 3D model converter. + + http://www.assimp.org + +comment "assimp needs a toolchain w/ C++, wchar" + depends on BR2_PACKAGE_LIBZLIB + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR + +comment "assimp needs libzlib" + depends on !BR2_PACKAGE_LIBZLIB + +comment "assimp needs exception_ptr" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2022.02.1/package/assimp/assimp.hash b/buildroot-2022.02.1/package/assimp/assimp.hash new file mode 100644 index 00000000..50f0b3e6 --- /dev/null +++ b/buildroot-2022.02.1/package/assimp/assimp.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 52ad3a3776ce320c8add531dbcb2d3b93f2e1f10fcff5ac30178b09ba934d084 assimp-5.1.6.tar.gz +sha256 147874443d242b4e2bae97036e26ec9d6b37f706174c1bd5ecfcc8c1294cef51 LICENSE diff --git a/buildroot-2022.02.1/package/assimp/assimp.mk b/buildroot-2022.02.1/package/assimp/assimp.mk new file mode 100644 index 00000000..766b2c9b --- /dev/null +++ b/buildroot-2022.02.1/package/assimp/assimp.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# assimp +# +################################################################################ + +ASSIMP_VERSION = 5.1.6 +ASSIMP_SITE = $(call github,assimp,assimp,v$(ASSIMP_VERSION)) +ASSIMP_LICENSE = BSD-3-Clause +ASSIMP_LICENSE_FILES = LICENSE +ASSIMP_DEPENDENCIES = zlib +ASSIMP_INSTALL_STAGING = YES + +# relocation truncated to fit: R_68K_GOT16O. We also need to disable +# optimizations to not run into "Error: value -43420 out of range" +# assembler issues. +ifeq ($(BR2_m68k),y) +ASSIMP_CXXFLAGS += -mxgot -O0 +endif + +# just like m68k coldfire, mips64 also has some limitations on the GOT +# size for large libraries, which can be overcome by passing +# -mxgot. Solves "relocation truncated to fit: R_MIPS_CALL16" issues. +ifeq ($(BR2_mips64)$(BR2_mips64el),y) +ASSIMP_CXXFLAGS += -mxgot +endif + +# workaround SuperH compiler failure when static linking (i.e -fPIC is +# not passed) in gcc versions 5.x or older. The -Os optimization level +# causes a "unable to find a register to spill in class +# 'GENERAL_REGS'" error. -O2 works fine. +ifeq ($(BR2_sh):$(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:y:) +ASSIMP_CXXFLAGS += -O2 +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +ASSIMP_CXXFLAGS += -O0 +endif + +ASSIMP_CONF_OPTS += -DASSIMP_BUILD_TESTS=OFF \ + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) $(ASSIMP_CXXFLAGS)" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/asterisk/0001-sounds-do-not-download-and-check-sha1s.patch b/buildroot-2022.02.1/package/asterisk/0001-sounds-do-not-download-and-check-sha1s.patch similarity index 100% rename from buildroot-2021.05/package/asterisk/0001-sounds-do-not-download-and-check-sha1s.patch rename to buildroot-2022.02.1/package/asterisk/0001-sounds-do-not-download-and-check-sha1s.patch diff --git a/buildroot-2021.05/package/asterisk/0002-configure-fix-detection-of-libcrypt.patch b/buildroot-2022.02.1/package/asterisk/0002-configure-fix-detection-of-libcrypt.patch similarity index 100% rename from buildroot-2021.05/package/asterisk/0002-configure-fix-detection-of-libcrypt.patch rename to buildroot-2022.02.1/package/asterisk/0002-configure-fix-detection-of-libcrypt.patch diff --git a/buildroot-2021.05/package/asterisk/0003-build-ensure-target-directory-for-modules-exists.patch b/buildroot-2022.02.1/package/asterisk/0003-build-ensure-target-directory-for-modules-exists.patch similarity index 100% rename from buildroot-2021.05/package/asterisk/0003-build-ensure-target-directory-for-modules-exists.patch rename to buildroot-2022.02.1/package/asterisk/0003-build-ensure-target-directory-for-modules-exists.patch diff --git a/buildroot-2021.05/package/asterisk/0004-install-samples-need-the-data-files.patch b/buildroot-2022.02.1/package/asterisk/0004-install-samples-need-the-data-files.patch similarity index 100% rename from buildroot-2021.05/package/asterisk/0004-install-samples-need-the-data-files.patch rename to buildroot-2022.02.1/package/asterisk/0004-install-samples-need-the-data-files.patch diff --git a/buildroot-2021.05/package/asterisk/0005-configure-fix-detection-of-re-entrant-resolver-funct.patch b/buildroot-2022.02.1/package/asterisk/0005-configure-fix-detection-of-re-entrant-resolver-funct.patch similarity index 100% rename from buildroot-2021.05/package/asterisk/0005-configure-fix-detection-of-re-entrant-resolver-funct.patch rename to buildroot-2022.02.1/package/asterisk/0005-configure-fix-detection-of-re-entrant-resolver-funct.patch diff --git a/buildroot-2021.05/package/asterisk/Config.in b/buildroot-2022.02.1/package/asterisk/Config.in similarity index 100% rename from buildroot-2021.05/package/asterisk/Config.in rename to buildroot-2022.02.1/package/asterisk/Config.in diff --git a/buildroot-2022.02.1/package/asterisk/asterisk.hash b/buildroot-2022.02.1/package/asterisk/asterisk.hash new file mode 100644 index 00000000..eabe11e0 --- /dev/null +++ b/buildroot-2022.02.1/package/asterisk/asterisk.hash @@ -0,0 +1,15 @@ +# Locally computed +sha256 1ba86666072b903e24b5cfef3d6d607d0d090c0fd232429ed410496e8f93ac40 asterisk-16.21.1.tar.gz + +# sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases +# sha256 locally computed +sha1 721c512feaea102700d5bdce952fdc0bb29dc640 asterisk-core-sounds-en-gsm-1.6.1.tar.gz +sha256 d79c3d2044d41da8f363c447dfccc140be86b4fcc41b1ca5a60a80da52f24f2d asterisk-core-sounds-en-gsm-1.6.1.tar.gz +sha1 f40fd6ea03dfe8d72ada2540b2288bfdc006381d asterisk-moh-opsound-wav-2.03.tar.gz +sha256 449fb810d16502c3052fedf02f7e77b36206ac5a145f3dacf4177843a2fcb538 asterisk-moh-opsound-wav-2.03.tar.gz + +# License files, locally computed +sha256 82af40ed7f49c08685360811993d9396320842f021df828801d733e8fdc0312f COPYING +sha256 ac5571f00e558e3b7c9b3f13f421b874cc12cf4250c4f70094c71544cf486312 main/sha1.c +sha256 6215e3ed73c3982a5c6701127d681ec0b9f1121ac78a28805bd93f93c3eb84c0 codecs/speex/speex_resampler.h +sha256 ea69cc96ab8a779c180a362377caeada71926897d1b55b980f04d74ba5aaa388 utils/db1-ast/include/db.h diff --git a/buildroot-2022.02.1/package/asterisk/asterisk.mk b/buildroot-2022.02.1/package/asterisk/asterisk.mk new file mode 100644 index 00000000..2b7854b9 --- /dev/null +++ b/buildroot-2022.02.1/package/asterisk/asterisk.mk @@ -0,0 +1,343 @@ +################################################################################ +# +# asterisk +# +################################################################################ + +ASTERISK_VERSION = 16.21.1 +# Use the github mirror: it's an official mirror maintained by Digium, and +# provides tarballs, which the main Asterisk git tree (behind Gerrit) does not. +ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION)) + +ASTERISK_SOUNDS_BASE_URL = http://downloads.asterisk.org/pub/telephony/sounds/releases +ASTERISK_EXTRA_DOWNLOADS = \ + $(ASTERISK_SOUNDS_BASE_URL)/asterisk-core-sounds-en-gsm-1.6.1.tar.gz \ + $(ASTERISK_SOUNDS_BASE_URL)/asterisk-moh-opsound-wav-2.03.tar.gz + +ASTERISK_LICENSE = GPL-2.0, BSD-3-Clause (SHA1, resample), BSD-4-Clause (db1-ast) +ASTERISK_LICENSE_FILES = \ + COPYING \ + main/sha1.c \ + codecs/speex/speex_resampler.h \ + utils/db1-ast/include/db.h + +ASTERISK_CPE_ID_VENDOR = asterisk +ASTERISK_CPE_ID_PRODUCT = open_source +ASTERISK_SELINUX_MODULES = asterisk + +# For patches 0002, 0003 and 0005 +ASTERISK_AUTORECONF = YES +ASTERISK_AUTORECONF_OPTS = -Iautoconf -Ithird-party -Ithird-party/pjproject -Ithird-party/jansson + +ASTERISK_DEPENDENCIES = \ + host-asterisk \ + jansson \ + libcurl \ + libedit \ + libxml2 \ + sqlite \ + util-linux + +# Asterisk wants to run its menuselect tool (a highly tweaked derivative of +# kconfig), but builds it using the target tools. So we build it in the host +# variant (see below), and copy the full build tree of menuselect. +define ASTERISK_COPY_MENUSELECT + rm -rf $(@D)/menuselect + cp -a $(HOST_ASTERISK_DIR)/menuselect $(@D)/menuselect +endef +ASTERISK_PRE_CONFIGURE_HOOKS += ASTERISK_COPY_MENUSELECT + +ASTERISK_CONF_OPTS = \ + --disable-xmldoc \ + --disable-internal-poll \ + --disable-asteriskssl \ + --disable-rpath \ + --without-bfd \ + --without-cap \ + --without-cpg \ + --without-curses \ + --without-gtk2 \ + --without-gmime \ + --without-hoard \ + --without-iconv \ + --without-iksemel \ + --without-imap \ + --without-inotify \ + --without-iodbc \ + --without-isdnnet \ + --without-jack \ + --without-uriparser \ + --without-kqueue \ + --without-libedit \ + --without-libxslt \ + --without-lua \ + --without-misdn \ + --without-mysqlclient \ + --without-nbs \ + --without-neon29 \ + --without-newt \ + --without-openr2 \ + --without-osptk \ + --without-oss \ + --without-postgres \ + --without-pjproject \ + --without-pjproject-bundled \ + --without-popt \ + --without-resample \ + --without-sdl \ + --without-SDL_image \ + --without-sqlite \ + --without-suppserv \ + --without-tds \ + --without-termcap \ + --without-timerfd \ + --without-tinfo \ + --without-unbound \ + --without-unixodbc \ + --without-vpb \ + --without-x11 \ + --with-crypt \ + --with-jansson \ + --with-libcurl \ + --with-ilbc \ + --with-libxml2 \ + --with-libedit="$(STAGING_DIR)/usr" \ + --with-sqlite3="$(STAGING_DIR)/usr" \ + --with-sounds-cache=$(ASTERISK_DL_DIR) + +# avcodec are from ffmpeg. There is virtually zero chance this could +# even work; asterisk is looking for ffmpeg/avcodec.h which has not +# been installed in this location since early 2007 (~10 years ago at +# the time of this writing). +ASTERISK_CONF_OPTS += --without-avcodec + +# asterisk is not compatible with freeswitch spandsp +ASTERISK_CONF_OPTS += --without-spandsp + +ASTERISK_CONF_ENV = \ + ac_cv_file_bridges_bridge_softmix_include_hrirs_h=true \ + ac_cv_path_CONFIG_LIBXML2=$(STAGING_DIR)/usr/bin/xml2-config + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +ASTERISK_CONF_ENV += LIBS="-latomic" +endif + +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) +ASTERISK_CONF_OPTS += --with-execinfo +else +ASTERISK_CONF_OPTS += --without-execinfo +endif + +ifeq ($(BR2_PACKAGE_LIBGSM),y) +ASTERISK_DEPENDENCIES += libgsm +ASTERISK_CONF_OPTS += --with-gsm +else +ASTERISK_CONF_OPTS += --without-gsm +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +ASTERISK_DEPENDENCIES += alsa-lib +ASTERISK_CONF_OPTS += --with-asound +else +ASTERISK_CONF_OPTS += --without-asound +endif + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) +ASTERISK_DEPENDENCIES += bluez5_utils +ASTERISK_CONF_OPTS += --with-bluetooth +else +ASTERISK_CONF_OPTS += --without-bluetooth +endif + +ifeq ($(BR2_PACKAGE_LIBICAL),y) +ASTERISK_DEPENDENCIES += libical +ASTERISK_CONF_OPTS += --with-ical +else +ASTERISK_CONF_OPTS += --without-ical +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +ASTERISK_DEPENDENCIES += openldap +ASTERISK_CONF_OPTS += --with-ldap +else +ASTERISK_CONF_OPTS += --without-ldap +endif + +ifeq ($(BR2_PACKAGE_NEON),y) +ASTERISK_DEPENDENCIES += neon +ASTERISK_CONF_OPTS += --with-neon +ASTERISK_CONF_ENV += \ + ac_cv_path_CONFIG_NEON=$(STAGING_DIR)/usr/bin/neon-config +else +ASTERISK_CONF_OPTS += --without-neon +endif + +ifeq ($(BR2_PACKAGE_NETSNMP),y) +ASTERISK_DEPENDENCIES += netsnmp +ASTERISK_CONF_OPTS += --with-netsnmp=$(STAGING_DIR)/usr +else +ASTERISK_CONF_OPTS += --without-netsnmp +endif + +ifeq ($(BR2_PACKAGE_LIBOGG),y) +ASTERISK_DEPENDENCIES += libogg +ASTERISK_CONF_OPTS += --with-ogg +else +ASTERISK_CONF_OPTS += --without-ogg +endif + +ifeq ($(BR2_PACKAGE_OPUS),y) +ASTERISK_DEPENDENCIES += opus +ASTERISK_CONF_OPTS += --with-opus +else +ASTERISK_CONF_OPTS += --without-opus +endif + +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +ASTERISK_DEPENDENCIES += portaudio +ASTERISK_CONF_OPTS += --with-portaudio +else +ASTERISK_CONF_OPTS += --without-portaudio +endif + +ifeq ($(BR2_PACKAGE_FREERADIUS_CLIENT),y) +ASTERISK_DEPENDENCIES += freeradius-client +ASTERISK_CONF_OPTS += --with-radius +else +ASTERISK_CONF_OPTS += --without-radius +endif + +ifeq ($(BR2_PACKAGE_DAHDI_LINUX)$(BR2_PACKAGE_DAHDI_TOOLS),yy) +ASTERISK_DEPENDENCIES += dahdi-linux dahdi-tools +ASTERISK_CONF_OPTS += --with-dahdi --with-tonezone + +ifeq ($(BR2_PACKAGE_LIBPRI),y) +ASTERISK_DEPENDENCIES += libpri +ASTERISK_CONF_OPTS += --with-pri +else +ASTERISK_CONF_OPTS += --without-pri +endif # PRI + +ifeq ($(BR2_PACKAGE_LIBSS7),y) +ASTERISK_DEPENDENCIES += libss7 +ASTERISK_CONF_OPTS += --with-ss7 +else +ASTERISK_CONF_OPTS += --without-ss7 +endif # SS7 + +else +ASTERISK_CONF_OPTS += \ + --without-dahdi --without-tonezone \ + --without-pri --without-ss7 +endif # DAHDI + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ASTERISK_DEPENDENCIES += openssl +ASTERISK_CONF_OPTS += --with-ssl +else +ASTERISK_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) +ASTERISK_DEPENDENCIES += speex +ASTERISK_CONF_OPTS += --with-speex --with-speexdsp +else +ASTERISK_CONF_OPTS += --without-speex --without-speexdsp +endif + +# asterisk needs an openssl-enabled libsrtp +ifeq ($(BR2_PACKAGE_LIBSRTP)$(BR2_PACKAGE_OPENSSL),yy) +ASTERISK_DEPENDENCIES += libsrtp +ASTERISK_CONF_OPTS += --with-srtp +else +ASTERISK_CONF_OPTS += --without-srtp +endif + +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +ASTERISK_DEPENDENCIES += libvorbis +ASTERISK_CONF_OPTS += --with-vorbis +else +ASTERISK_CONF_OPTS += --without-vorbis +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +ASTERISK_DEPENDENCIES += zlib +ASTERISK_CONF_OPTS += --with-z +else +ASTERISK_CONF_OPTS += --without-z +endif + +ASTERISK_DIRS = \ + ASTVARLIBDIR="/usr/lib/asterisk" \ + ASTDATADIR="/usr/lib/asterisk" \ + ASTKEYDIR="/usr/lib/asterisk" \ + ASTDBDIR="/usr/lib/asterisk" + +ASTERISK_MAKE_OPTS = $(ASTERISK_DIRS) + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +ASTERISK_MAKE_OPTS += ASTLDFLAGS="-latomic" +endif + +# Remove default -O3 optimization flag +ASTERISK_MAKE_OPTS += OPTIMIZE="" + +ASTERISK_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_93847),y) +ASTERISK_CFLAGS += -O0 +endif + +ASTERISK_CONF_OPTS += CFLAGS="$(ASTERISK_CFLAGS)" + +# We want to install sample configuration files, too. +ASTERISK_INSTALL_TARGET_OPTS = \ + $(ASTERISK_DIRS) \ + DESTDIR=$(TARGET_DIR) \ + LDCONFIG=true \ + install samples + +$(eval $(autotools-package)) + +#------------------------------------------------------------------------------- +# This part deals with building the menuselect tool as a host package + +HOST_ASTERISK_DEPENDENCIES = host-pkgconf host-libxml2 host-ncurses +HOST_ASTERISK_SUBDIR = menuselect + +HOST_ASTERISK_LICENSE = GPL-2.0 +HOST_ASTERISK_LICENSE_FILES = COPYING + +# No need to autoreconf for the host variant, +# so do not inherit the target setup. +HOST_ASTERISK_AUTORECONF = NO + +HOST_ASTERISK_CONF_ENV = CONFIG_LIBXML2=$(HOST_DIR)/bin/xml2-config + +HOST_ASTERISK_CONF_OPTS = \ + --without-newt \ + --without-curses \ + --with-ncurses=$(HOST_DIR) + +# Not an automake package, so does not inherit LDFLAGS et al. from +# the configure run. +HOST_ASTERISK_MAKE_ENV = $(HOST_CONFIGURE_OPTS) + +# Even though menuselect is an autotools package, it is not an automake +# package and does not have an 'install' rule, as asterisk does expect +# it to be in a sub-directory of its source tree. We do so by copying +# the full menuselect build tree as a pre-configure hook in the target +# variant. +# However, the sanity checks on host packages are not run on menuselect. +# But we still want to catch that menuselect has the proper rpath set, +# for example, as it uses host libraries that we do build, like +# host-libxml2. +# So we do manually install the menuselect tool. +define HOST_ASTERISK_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/menuselect/menuselect \ + $(HOST_DIR)/bin/asterisk-menuselect +endef + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/at-spi2-atk/0001-meson-add-tests-option.patch b/buildroot-2022.02.1/package/at-spi2-atk/0001-meson-add-tests-option.patch similarity index 100% rename from buildroot-2021.05/package/at-spi2-atk/0001-meson-add-tests-option.patch rename to buildroot-2022.02.1/package/at-spi2-atk/0001-meson-add-tests-option.patch diff --git a/buildroot-2021.05/package/at-spi2-atk/Config.in b/buildroot-2022.02.1/package/at-spi2-atk/Config.in similarity index 100% rename from buildroot-2021.05/package/at-spi2-atk/Config.in rename to buildroot-2022.02.1/package/at-spi2-atk/Config.in diff --git a/buildroot-2021.05/package/at-spi2-atk/at-spi2-atk.hash b/buildroot-2022.02.1/package/at-spi2-atk/at-spi2-atk.hash similarity index 100% rename from buildroot-2021.05/package/at-spi2-atk/at-spi2-atk.hash rename to buildroot-2022.02.1/package/at-spi2-atk/at-spi2-atk.hash diff --git a/buildroot-2021.05/package/at-spi2-atk/at-spi2-atk.mk b/buildroot-2022.02.1/package/at-spi2-atk/at-spi2-atk.mk similarity index 100% rename from buildroot-2021.05/package/at-spi2-atk/at-spi2-atk.mk rename to buildroot-2022.02.1/package/at-spi2-atk/at-spi2-atk.mk diff --git a/buildroot-2021.05/package/at-spi2-core/Config.in b/buildroot-2022.02.1/package/at-spi2-core/Config.in similarity index 100% rename from buildroot-2021.05/package/at-spi2-core/Config.in rename to buildroot-2022.02.1/package/at-spi2-core/Config.in diff --git a/buildroot-2021.05/package/at-spi2-core/at-spi2-core.hash b/buildroot-2022.02.1/package/at-spi2-core/at-spi2-core.hash similarity index 100% rename from buildroot-2021.05/package/at-spi2-core/at-spi2-core.hash rename to buildroot-2022.02.1/package/at-spi2-core/at-spi2-core.hash diff --git a/buildroot-2021.05/package/at-spi2-core/at-spi2-core.mk b/buildroot-2022.02.1/package/at-spi2-core/at-spi2-core.mk similarity index 100% rename from buildroot-2021.05/package/at-spi2-core/at-spi2-core.mk rename to buildroot-2022.02.1/package/at-spi2-core/at-spi2-core.mk diff --git a/buildroot-2022.02.1/package/at/0001-Makefile.in-fix-make-install-for-non-root-don-t-stri.patch b/buildroot-2022.02.1/package/at/0001-Makefile.in-fix-make-install-for-non-root-don-t-stri.patch new file mode 100644 index 00000000..91e97383 --- /dev/null +++ b/buildroot-2022.02.1/package/at/0001-Makefile.in-fix-make-install-for-non-root-don-t-stri.patch @@ -0,0 +1,92 @@ +From 77b28c32ebfed0eb130a0acdb2acb7206f2b9530 Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Fri, 23 Jul 2021 16:47:56 +0200 +Subject: [PATCH] Makefile.in: fix make install for non-root, don't strip + +Buildroot will ensure all files are owned by root and stripped anyway +(if needed) before the rootfs is created. + +Signed-off-by: Peter Korsgaard +Signed-off-by: Vicente Olivert Riera +[Vincent: tweak the patch for the new version] +Signed-off-by: Giulio Benetti +[Giulio: convert patch to git format and rebase to version 3.2.2 and +3.2.4] +--- + Makefile.in | 47 +++++++++++++++++++++++------------------------ + 1 file changed, 23 insertions(+), 24 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 4ae194f..af82e4c 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -102,43 +102,42 @@ atrun: atrun.in + $(CC) -c $(CFLAGS) $(DEFS) $*.c + + install: all +- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(etcdir) +- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(bindir) +- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(sbindir) +- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(atdatadir) +- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(docdir) +- $(INSTALL) -g root -o root -m 755 -d $(DESTDIR)$(atdocdir) +- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 755 -d $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR) ++ $(INSTALL) -m 755 -d $(DESTDIR)$(etcdir) ++ $(INSTALL) -m 755 -d $(DESTDIR)$(bindir) ++ $(INSTALL) -m 755 -d $(DESTDIR)$(sbindir) ++ $(INSTALL) -m 755 -d $(DESTDIR)$(atdatadir) ++ $(INSTALL) -m 755 -d $(DESTDIR)$(docdir) ++ $(INSTALL) -m 755 -d $(DESTDIR)$(atdocdir) ++ $(INSTALL) -m 755 -d $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR) + chmod 1770 $(DESTDIR)$(ATSPOOL_DIR) $(DESTDIR)$(ATJOB_DIR) + touch $(DESTDIR)$(LFILE) + chmod 600 $(DESTDIR)$(LFILE) +- chown $(DAEMON_USERNAME):$(DAEMON_GROUPNAME) $(DESTDIR)$(LFILE) +- test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -o root -g $(DAEMON_GROUPNAME) -m 640 at.deny $(DESTDIR)$(etcdir)/ +- $(INSTALL) -g $(DAEMON_GROUPNAME) -o $(DAEMON_USERNAME) -m 6755 at $(DESTDIR)$(bindir) ++ test -f $(DESTDIR)$(etcdir)/at.allow || test -f $(DESTDIR)$(etcdir)/at.deny || $(INSTALL) -m 640 at.deny $(DESTDIR)$(etcdir)/ ++ $(INSTALL) -m 6755 at $(DESTDIR)$(bindir) + $(LN_S) -f at $(DESTDIR)$(bindir)/atq + $(LN_S) -f at $(DESTDIR)$(bindir)/atrm +- $(INSTALL) -g root -o root -m 755 batch $(DESTDIR)$(bindir) +- $(INSTALL) -g root -o root -m 755 batch-job $(DESTDIR)$(atdatadir) +- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man1dir) +- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man5dir) +- $(INSTALL) -d -o root -g root -m 755 $(DESTDIR)$(man8dir) +- $(INSTALL) -g root -o root -m 755 atd $(DESTDIR)$(sbindir) +- $(INSTALL) -g root -o root -m 755 atrun $(DESTDIR)$(sbindir) +- $(INSTALL) -g root -o root -m 644 at.1 $(DESTDIR)$(man1dir)/ ++ $(INSTALL) -m 755 batch $(DESTDIR)$(bindir) ++ $(INSTALL) -m 755 batch-job $(DESTDIR)$(atdatadir) ++ $(INSTALL) -d -m 755 $(DESTDIR)$(man1dir) ++ $(INSTALL) -d -m 755 $(DESTDIR)$(man5dir) ++ $(INSTALL) -d -m 755 $(DESTDIR)$(man8dir) ++ $(INSTALL) -m 755 atd $(DESTDIR)$(sbindir) ++ $(INSTALL) -m 755 atrun $(DESTDIR)$(sbindir) ++ $(INSTALL) -m 644 at.1 $(DESTDIR)$(man1dir)/ + cd $(DESTDIR)$(man1dir) && $(LN_S) -f at.1 atq.1 && $(LN_S) -f at.1 batch.1 && $(LN_S) -f at.1 atrm.1 +- $(INSTALL) -g root -o root -m 644 atd.8 $(DESTDIR)$(man8dir)/ ++ $(INSTALL) -m 644 atd.8 $(DESTDIR)$(man8dir)/ + sed "s,\$${exec_prefix},$(exec_prefix),g" tmpman +- $(INSTALL) -g root -o root -m 644 tmpman $(DESTDIR)$(man8dir)/atrun.8 ++ $(INSTALL) -m 644 tmpman $(DESTDIR)$(man8dir)/atrun.8 + rm -f tmpman +- $(INSTALL) -g root -o root -m 644 at.allow.5 $(DESTDIR)$(man5dir)/ ++ $(INSTALL) -m 644 at.allow.5 $(DESTDIR)$(man5dir)/ + cd $(DESTDIR)$(man5dir) && $(LN_S) -f at.allow.5 at.deny.5 +- $(INSTALL) -g root -o root -m 644 $(DOCS) $(DESTDIR)$(atdocdir) ++ $(INSTALL) -m 644 $(DOCS) $(DESTDIR)$(atdocdir) + rm -f $(DESTDIR)$(mandir)/cat1/at.1* $(DESTDIR)$(mandir)/cat1/batch.1* \ + $(DESTDIR)$(mandir)/cat1/atq.1* + rm -f $(DESTDIR)$(mandir)/cat1/atd.8* + if test x"$(systemdsystemunitdir)" != xno; then \ +- $(INSTALL) -o root -g root -m 755 -d $(DESTDIR)$(systemdsystemunitdir); \ +- $(INSTALL) -o root -g root -m 644 atd.service $(DESTDIR)$(systemdsystemunitdir); \ ++ $(INSTALL) -m 755 -d $(DESTDIR)$(systemdsystemunitdir); \ ++ $(INSTALL) -m 644 atd.service $(DESTDIR)$(systemdsystemunitdir); \ + fi + + dist: checkin $(DIST) $(LIST) Filelist.asc +-- +2.25.1 + diff --git a/buildroot-2021.05/package/at/Config.in b/buildroot-2022.02.1/package/at/Config.in similarity index 100% rename from buildroot-2021.05/package/at/Config.in rename to buildroot-2022.02.1/package/at/Config.in diff --git a/buildroot-2021.05/package/at/S99at b/buildroot-2022.02.1/package/at/S99at similarity index 100% rename from buildroot-2021.05/package/at/S99at rename to buildroot-2022.02.1/package/at/S99at diff --git a/buildroot-2022.02.1/package/at/at.hash b/buildroot-2022.02.1/package/at/at.hash new file mode 100644 index 00000000..d4ad9aa4 --- /dev/null +++ b/buildroot-2022.02.1/package/at/at.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 76990cbb6f4b9bfedb926637904fdcc0d4fa20b6596b9c932117a49a0624c684 at_3.2.4.orig.tar.gz + +sha256 01dccc0975aa9ba1a9f83e7c5e04f16077353d3c72a0a759b8846ee7a5b2b616 Copyright +sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING diff --git a/buildroot-2022.02.1/package/at/at.mk b/buildroot-2022.02.1/package/at/at.mk new file mode 100644 index 00000000..26c44f52 --- /dev/null +++ b/buildroot-2022.02.1/package/at/at.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# at +# +################################################################################ + +AT_VERSION = 3.2.4 +AT_SOURCE = at_$(AT_VERSION).orig.tar.gz +AT_SITE = http://software.calhariz.com/at +AT_DEPENDENCIES = $(if $(BR2_PACKAGE_FLEX),flex) host-bison host-flex +AT_LICENSE = GPL-2.0+, GPL-3.0+, ISC +AT_LICENSE_FILES = Copyright COPYING + +AT_CONF_OPTS = \ + --with-jobdir=/var/spool/cron/atjobs \ + --with-atspool=/var/spool/cron/atspool \ + --with-daemon_username=root \ + --with-daemon_groupname=root \ + SENDMAIL=/usr/sbin/sendmail + +define AT_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/at/S99at $(TARGET_DIR)/etc/init.d/S99at +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/atest/0001-seq.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/atest/0001-seq.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/atest/0001-seq.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/atest/0001-seq.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/atest/Config.in b/buildroot-2022.02.1/package/atest/Config.in similarity index 100% rename from buildroot-2021.05/package/atest/Config.in rename to buildroot-2022.02.1/package/atest/Config.in diff --git a/buildroot-2021.05/package/atest/atest.hash b/buildroot-2022.02.1/package/atest/atest.hash similarity index 100% rename from buildroot-2021.05/package/atest/atest.hash rename to buildroot-2022.02.1/package/atest/atest.hash diff --git a/buildroot-2021.05/package/atest/atest.mk b/buildroot-2022.02.1/package/atest/atest.mk similarity index 100% rename from buildroot-2021.05/package/atest/atest.mk rename to buildroot-2022.02.1/package/atest/atest.mk diff --git a/buildroot-2021.05/package/atf/Config.in b/buildroot-2022.02.1/package/atf/Config.in similarity index 100% rename from buildroot-2021.05/package/atf/Config.in rename to buildroot-2022.02.1/package/atf/Config.in diff --git a/buildroot-2021.05/package/atf/atf.hash b/buildroot-2022.02.1/package/atf/atf.hash similarity index 100% rename from buildroot-2021.05/package/atf/atf.hash rename to buildroot-2022.02.1/package/atf/atf.hash diff --git a/buildroot-2021.05/package/atf/atf.mk b/buildroot-2022.02.1/package/atf/atf.mk similarity index 100% rename from buildroot-2021.05/package/atf/atf.mk rename to buildroot-2022.02.1/package/atf/atf.mk diff --git a/buildroot-2021.05/package/atftp/Config.in b/buildroot-2022.02.1/package/atftp/Config.in similarity index 100% rename from buildroot-2021.05/package/atftp/Config.in rename to buildroot-2022.02.1/package/atftp/Config.in diff --git a/buildroot-2022.02.1/package/atftp/atftp.hash b/buildroot-2022.02.1/package/atftp/atftp.hash new file mode 100644 index 00000000..6b0d9a58 --- /dev/null +++ b/buildroot-2022.02.1/package/atftp/atftp.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 93c87a4fb18218414e008e01c995dadd231ba4c752d0f894b34416d1e6d3038a atftp-0.7.5.tar.gz +sha256 86dc744860e6dfacfeba2f33fea908db03fe67c7e37a878285b7aae8e4596735 LICENSE diff --git a/buildroot-2022.02.1/package/atftp/atftp.mk b/buildroot-2022.02.1/package/atftp/atftp.mk new file mode 100644 index 00000000..70ef4c0f --- /dev/null +++ b/buildroot-2022.02.1/package/atftp/atftp.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# atftp +# +################################################################################ + +ATFTP_VERSION = 0.7.5 +ATFTP_SITE = http://sourceforge.net/projects/atftp/files +ATFTP_LICENSE = GPL-2.0+ +ATFTP_LICENSE_FILES = LICENSE +ATFTP_CPE_ID_VENDOR = atftp_project +ATFTP_SELINUX_MODULES = tftp +ATFTP_CONF_OPTS = --disable-libwrap --disable-mtftp +# For static we need to explicitly link against libpthread +ATFTP_LIBS = -lpthread +# -fgnu89-inline is needed to avoid multiple definition error with gcc 5. See +# https://gcc.gnu.org/gcc-5/porting_to.html. +ATFTP_CONF_ENV = LIBS="$(ATFTP_LIBS)" \ + CFLAGS="$(TARGET_CFLAGS) -fgnu89-inline" + +ifeq ($(BR2_PACKAGE_READLINE),y) +ATFTP_DEPENDENCIES += readline +ATFTP_CONF_OPTS += --enable-libreadline +# For static, readline links with ncurses +ATFTP_LIBS += -lncurses +else +ATFTP_CONF_OPTS += --disable-libreadline +endif + +ifeq ($(BR2_PACKAGE_PCRE),y) +ATFTP_DEPENDENCIES += pcre +ATFTP_CONF_OPTS += --enable-libpcre +else +ATFTP_CONF_OPTS += --disable-libpcre +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/atk/Config.in b/buildroot-2022.02.1/package/atk/Config.in similarity index 100% rename from buildroot-2021.05/package/atk/Config.in rename to buildroot-2022.02.1/package/atk/Config.in diff --git a/buildroot-2021.05/package/atk/atk.hash b/buildroot-2022.02.1/package/atk/atk.hash similarity index 100% rename from buildroot-2021.05/package/atk/atk.hash rename to buildroot-2022.02.1/package/atk/atk.hash diff --git a/buildroot-2021.05/package/atk/atk.mk b/buildroot-2022.02.1/package/atk/atk.mk similarity index 100% rename from buildroot-2021.05/package/atk/atk.mk rename to buildroot-2022.02.1/package/atk/atk.mk diff --git a/buildroot-2022.02.1/package/atkmm/Config.in b/buildroot-2022.02.1/package/atkmm/Config.in new file mode 100644 index 00000000..aa58f8d5 --- /dev/null +++ b/buildroot-2022.02.1/package/atkmm/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_ATKMM + bool "atkmm" + depends on BR2_INSTALL_LIBSTDCPP # glibmm + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc + depends on BR2_TOOLCHAIN_HAS_THREADS # atk/glibmm -> libglib2 + depends on BR2_USE_MMU # atk/glibmm -> libglib2 + depends on BR2_USE_WCHAR # atk/glibmm -> libglib2 + select BR2_PACKAGE_ATK + select BR2_PACKAGE_GLIBMM + select BR2_PACKAGE_LIBSIGC + + help + The atkmm package is a set of C++ bindings for Atk. + + http://www.gtkmm.org/ + +comment "atkmm needs a toolchain w/ C++, wchar, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \ + || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/atkmm/atkmm.hash b/buildroot-2022.02.1/package/atkmm/atkmm.hash new file mode 100644 index 00000000..f965ad29 --- /dev/null +++ b/buildroot-2022.02.1/package/atkmm/atkmm.hash @@ -0,0 +1,5 @@ +# From http://ftp.gnome.org/pub/gnome/sources/atkmm/2.36/atkmm-2.36.1.sha256sum +sha256 e11324bfed1b6e330a02db25cecc145dca03fb0dff47f0710c85e317687da458 atkmm-2.36.1.tar.xz +# locally computed +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools diff --git a/buildroot-2022.02.1/package/atkmm/atkmm.mk b/buildroot-2022.02.1/package/atkmm/atkmm.mk new file mode 100644 index 00000000..3bcb941c --- /dev/null +++ b/buildroot-2022.02.1/package/atkmm/atkmm.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# atkmm +# +################################################################################ + +ATKMM_VERSION_MAJOR = 2.36 +ATKMM_VERSION = $(ATKMM_VERSION_MAJOR).1 +ATKMM_SOURCE = atkmm-$(ATKMM_VERSION).tar.xz +ATKMM_SITE = http://ftp.gnome.org/pub/gnome/sources/atkmm/$(ATKMM_VERSION_MAJOR) +ATKMM_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) +ATKMM_LICENSE_FILES = COPYING COPYING.tools +ATKMM_INSTALL_STAGING = YES +ATKMM_DEPENDENCIES = atk glibmm libsigc host-pkgconf + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/atop/Config.in b/buildroot-2022.02.1/package/atop/Config.in similarity index 100% rename from buildroot-2021.05/package/atop/Config.in rename to buildroot-2022.02.1/package/atop/Config.in diff --git a/buildroot-2022.02.1/package/atop/atop.hash b/buildroot-2022.02.1/package/atop/atop.hash new file mode 100644 index 00000000..18ba4234 --- /dev/null +++ b/buildroot-2022.02.1/package/atop/atop.hash @@ -0,0 +1,5 @@ +# Locally computed: +sha256 ca48d2f17e071deead5e6e9cc9e388bf6a3270d695e61976b3794d4d927b5c4e atop-2.7.1.tar.gz + +# Hash for license file: +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2022.02.1/package/atop/atop.mk b/buildroot-2022.02.1/package/atop/atop.mk new file mode 100644 index 00000000..8a0fcda3 --- /dev/null +++ b/buildroot-2022.02.1/package/atop/atop.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# atop +# +################################################################################ + +ATOP_VERSION = 2.7.1 +ATOP_SITE = http://www.atoptool.nl/download +ATOP_LICENSE = GPL-2.0+ +ATOP_LICENSE_FILES = COPYING +ATOP_CPE_ID_VENDOR = atop_project +ATOP_DEPENDENCIES = ncurses zlib + +ATOP_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +ATOP_CFLAGS += -O0 +endif + +define ATOP_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(ATOP_CFLAGS)" \ + -C $(@D) +endef + +define ATOP_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/atop $(TARGET_DIR)/usr/bin/atop +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/attr/0001-build-with-older-GCCs.patch b/buildroot-2022.02.1/package/attr/0001-build-with-older-GCCs.patch similarity index 100% rename from buildroot-2021.05/package/attr/0001-build-with-older-GCCs.patch rename to buildroot-2022.02.1/package/attr/0001-build-with-older-GCCs.patch diff --git a/buildroot-2021.05/package/attr/Config.in b/buildroot-2022.02.1/package/attr/Config.in similarity index 100% rename from buildroot-2021.05/package/attr/Config.in rename to buildroot-2022.02.1/package/attr/Config.in diff --git a/buildroot-2021.05/package/attr/attr.hash b/buildroot-2022.02.1/package/attr/attr.hash similarity index 100% rename from buildroot-2021.05/package/attr/attr.hash rename to buildroot-2022.02.1/package/attr/attr.hash diff --git a/buildroot-2021.05/package/attr/attr.mk b/buildroot-2022.02.1/package/attr/attr.mk similarity index 100% rename from buildroot-2021.05/package/attr/attr.mk rename to buildroot-2022.02.1/package/attr/attr.mk diff --git a/buildroot-2021.05/package/aubio/Config.in b/buildroot-2022.02.1/package/aubio/Config.in similarity index 100% rename from buildroot-2021.05/package/aubio/Config.in rename to buildroot-2022.02.1/package/aubio/Config.in diff --git a/buildroot-2021.05/package/aubio/aubio.hash b/buildroot-2022.02.1/package/aubio/aubio.hash similarity index 100% rename from buildroot-2021.05/package/aubio/aubio.hash rename to buildroot-2022.02.1/package/aubio/aubio.hash diff --git a/buildroot-2021.05/package/aubio/aubio.mk b/buildroot-2022.02.1/package/aubio/aubio.mk similarity index 100% rename from buildroot-2021.05/package/aubio/aubio.mk rename to buildroot-2022.02.1/package/aubio/aubio.mk diff --git a/buildroot-2021.05/package/audit/Config.in b/buildroot-2022.02.1/package/audit/Config.in similarity index 100% rename from buildroot-2021.05/package/audit/Config.in rename to buildroot-2022.02.1/package/audit/Config.in diff --git a/buildroot-2022.02.1/package/audit/S02auditd b/buildroot-2022.02.1/package/audit/S02auditd new file mode 100644 index 00000000..dd3dc22d --- /dev/null +++ b/buildroot-2022.02.1/package/audit/S02auditd @@ -0,0 +1,80 @@ +#!/bin/sh +# +# auditd This starts and stops auditd +# +# description: This starts the Linux Auditing System Daemon, +# which collects security related events in a dedicated +# audit log. If this daemon is turned off, audit events +# will be sent to syslog. +# + +NAME=auditd +DAEMON=/usr/sbin/${NAME} +CONFIG=/etc/audit/auditd.conf +PIDFILE=/var/run/${NAME}.pid + +start(){ + printf "Starting ${NAME}: " + + # Create dir to store log files in if one doesn't exist. Create + # the directory with SELinux permissions if possible + command -v selabel_lookup >/dev/null 2>&1 + if [ $? = 0 ]; then + mkdir -p /var/log/audit -Z `selabel_lookup -b file -k /var/log/audit | cut -d ' ' -f 3` + else + mkdir -p /var/log/audit + fi + + # Run audit daemon executable + start-stop-daemon -S -q -p ${PIDFILE} --exec ${DAEMON} + + if [ $? = 0 ]; then + # Load the default rules + test -f /etc/audit/rules.d/audit.rules && /usr/sbin/auditctl -R /etc/audit/rules.d/audit.rules >/dev/null + echo "OK" + else + echo "FAIL" + fi +} + +stop(){ + printf "Stopping ${NAME}: " + + start-stop-daemon -K -q -p ${PIDFILE} + [ $? = 0 ] && echo "OK" || echo "FAIL" +} + +reload(){ + printf "Reloading ${NAME} configuration: " + start-stop-daemon --stop -s 1 -p ${PIDFILE} 1>/dev/null + [ $? = 0 ] && echo "OK" || echo "FAIL" +} + +rotate(){ + printf "Rotating ${NAME} logs: " + start-stop-daemon --stop -s 10 -p ${PIDFILE} 1>/dev/null + [ $? = 0 ] && echo "OK" || echo "FAIL" +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + start + ;; + reload) + reload + ;; + rotate) + rotate + ;; + *) + echo "Usage: $0 {start|stop|restart|reload|rotate}" + exit 1 + ;; +esac diff --git a/buildroot-2022.02.1/package/audit/audit.hash b/buildroot-2022.02.1/package/audit/audit.hash new file mode 100644 index 00000000..6260f158 --- /dev/null +++ b/buildroot-2022.02.1/package/audit/audit.hash @@ -0,0 +1,4 @@ +#Locally computed +sha256 8b4c78632a9301a1c7f859b0e38fc0b9c260b8214d6b7c771bf28b3d73a62597 audit-3.0.7.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING +sha256 f18a0811fa0e220ccbc42f661545e77f0388631e209585ed582a1c693029c6aa COPYING.LIB diff --git a/buildroot-2022.02.1/package/audit/audit.mk b/buildroot-2022.02.1/package/audit/audit.mk new file mode 100644 index 00000000..aa8ef515 --- /dev/null +++ b/buildroot-2022.02.1/package/audit/audit.mk @@ -0,0 +1,69 @@ +################################################################################ +# +# audit +# +################################################################################ + +AUDIT_VERSION = 3.0.7 +AUDIT_SITE = http://people.redhat.com/sgrubb/audit +AUDIT_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries) +AUDIT_LICENSE_FILES = COPYING COPYING.LIB +AUDIT_CPE_ID_VENDOR = linux_audit_project +AUDIT_CPE_ID_PRODUCT = linux_audit + +AUDIT_INSTALL_STAGING = YES + +AUDIT_CONF_OPTS = --without-python --without-python3 --disable-zos-remote + +ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) +AUDIT_DEPENDENCIES += libcap-ng +AUDIT_CONF_OPTS += --with-libcap-ng=yes +else +AUDIT_CONF_OPTS += --with-libcap-ng=no +endif + +# For i386, x86-64 and PowerPC, the system call tables are +# unconditionally included. However, for ARM(eb) and AArch64, then +# need to be explicitly enabled. + +ifeq ($(BR2_arm)$(BR2_armeb),y) +AUDIT_CONF_OPTS += --with-arm +endif +ifeq ($(BR2_aarch64),y) +AUDIT_CONF_OPTS += --with-aarch64 +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +AUDIT_CONF_OPTS += --enable-systemd +else +AUDIT_CONF_OPTS += --disable-systemd +endif + +define AUDIT_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/audit/S02auditd $(TARGET_DIR)/etc/init.d/S02auditd +endef + +define AUDIT_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/audit/audit_tmpfiles.conf \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/audit.conf +endef + +define AUDIT_INSTALL_CLEANUP + $(RM) $(TARGET_DIR)/etc/rc.d/init.d/auditd + $(RM) $(TARGET_DIR)/etc/sysconfig/auditd +endef +AUDIT_POST_INSTALL_TARGET_HOOKS += AUDIT_INSTALL_CLEANUP + +define AUDIT_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT) +endef + +HOST_AUDIT_CONF_OPTS = \ + --without-python \ + --without-python3 \ + --disable-zos-remote \ + --without-libcap-ng + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/audit/audit_tmpfiles.conf b/buildroot-2022.02.1/package/audit/audit_tmpfiles.conf similarity index 100% rename from buildroot-2021.05/package/audit/audit_tmpfiles.conf rename to buildroot-2022.02.1/package/audit/audit_tmpfiles.conf diff --git a/buildroot-2021.05/package/aufs-util/0001-remove-user-settings.patch b/buildroot-2022.02.1/package/aufs-util/0001-remove-user-settings.patch similarity index 100% rename from buildroot-2021.05/package/aufs-util/0001-remove-user-settings.patch rename to buildroot-2022.02.1/package/aufs-util/0001-remove-user-settings.patch diff --git a/buildroot-2021.05/package/aufs-util/0002-no-check-ver.patch b/buildroot-2022.02.1/package/aufs-util/0002-no-check-ver.patch similarity index 100% rename from buildroot-2021.05/package/aufs-util/0002-no-check-ver.patch rename to buildroot-2022.02.1/package/aufs-util/0002-no-check-ver.patch diff --git a/buildroot-2021.05/package/aufs-util/0003-no-strip-lib.patch b/buildroot-2022.02.1/package/aufs-util/0003-no-strip-lib.patch similarity index 100% rename from buildroot-2021.05/package/aufs-util/0003-no-strip-lib.patch rename to buildroot-2022.02.1/package/aufs-util/0003-no-strip-lib.patch diff --git a/buildroot-2021.05/package/aufs-util/Config.in b/buildroot-2022.02.1/package/aufs-util/Config.in similarity index 100% rename from buildroot-2021.05/package/aufs-util/Config.in rename to buildroot-2022.02.1/package/aufs-util/Config.in diff --git a/buildroot-2021.05/package/aufs-util/aufs-util.mk b/buildroot-2022.02.1/package/aufs-util/aufs-util.mk similarity index 100% rename from buildroot-2021.05/package/aufs-util/aufs-util.mk rename to buildroot-2022.02.1/package/aufs-util/aufs-util.mk diff --git a/buildroot-2021.05/package/aufs/Config.in b/buildroot-2022.02.1/package/aufs/Config.in similarity index 100% rename from buildroot-2021.05/package/aufs/Config.in rename to buildroot-2022.02.1/package/aufs/Config.in diff --git a/buildroot-2021.05/package/aufs/aufs.mk b/buildroot-2022.02.1/package/aufs/aufs.mk similarity index 100% rename from buildroot-2021.05/package/aufs/aufs.mk rename to buildroot-2022.02.1/package/aufs/aufs.mk diff --git a/buildroot-2021.05/package/augeas/Config.in b/buildroot-2022.02.1/package/augeas/Config.in similarity index 100% rename from buildroot-2021.05/package/augeas/Config.in rename to buildroot-2022.02.1/package/augeas/Config.in diff --git a/buildroot-2021.05/package/augeas/augeas.hash b/buildroot-2022.02.1/package/augeas/augeas.hash similarity index 100% rename from buildroot-2021.05/package/augeas/augeas.hash rename to buildroot-2022.02.1/package/augeas/augeas.hash diff --git a/buildroot-2021.05/package/augeas/augeas.mk b/buildroot-2022.02.1/package/augeas/augeas.mk similarity index 100% rename from buildroot-2021.05/package/augeas/augeas.mk rename to buildroot-2022.02.1/package/augeas/augeas.mk diff --git a/buildroot-2021.05/package/aumix/0001-fix-incorrect-makefile-am.patch b/buildroot-2022.02.1/package/aumix/0001-fix-incorrect-makefile-am.patch similarity index 100% rename from buildroot-2021.05/package/aumix/0001-fix-incorrect-makefile-am.patch rename to buildroot-2022.02.1/package/aumix/0001-fix-incorrect-makefile-am.patch diff --git a/buildroot-2021.05/package/aumix/Config.in b/buildroot-2022.02.1/package/aumix/Config.in similarity index 100% rename from buildroot-2021.05/package/aumix/Config.in rename to buildroot-2022.02.1/package/aumix/Config.in diff --git a/buildroot-2021.05/package/aumix/aumix.hash b/buildroot-2022.02.1/package/aumix/aumix.hash similarity index 100% rename from buildroot-2021.05/package/aumix/aumix.hash rename to buildroot-2022.02.1/package/aumix/aumix.hash diff --git a/buildroot-2021.05/package/aumix/aumix.mk b/buildroot-2022.02.1/package/aumix/aumix.mk similarity index 100% rename from buildroot-2021.05/package/aumix/aumix.mk rename to buildroot-2022.02.1/package/aumix/aumix.mk diff --git a/buildroot-2022.02.1/package/autoconf-archive/autoconf-archive.hash b/buildroot-2022.02.1/package/autoconf-archive/autoconf-archive.hash new file mode 100644 index 00000000..79ee5ff6 --- /dev/null +++ b/buildroot-2022.02.1/package/autoconf-archive/autoconf-archive.hash @@ -0,0 +1,4 @@ +# Computed locally +sha256 e8a6eb9d28ddcba8ffef3fa211653239e9bf239aba6a01a6b7cfc7ceaec69cbd autoconf-archive-2021.02.19.tar.xz +sha256 e6037104443f9a7829b2aa7c5370d0789a7bda3ca65a0b904cdc0c2e285d9195 COPYING +sha256 23ed0b84fa023bfa33433b498192cd08a3bfb1f4864a8ed791a84f3eb48b2dd2 COPYING.EXCEPTION diff --git a/buildroot-2022.02.1/package/autoconf-archive/autoconf-archive.mk b/buildroot-2022.02.1/package/autoconf-archive/autoconf-archive.mk new file mode 100644 index 00000000..bd4a09d9 --- /dev/null +++ b/buildroot-2022.02.1/package/autoconf-archive/autoconf-archive.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# autoconf-archive +# +################################################################################ + +AUTOCONF_ARCHIVE_VERSION = 2021.02.19 +AUTOCONF_ARCHIVE_SOURCE = autoconf-archive-$(AUTOCONF_ARCHIVE_VERSION).tar.xz +AUTOCONF_ARCHIVE_SITE = $(BR2_GNU_MIRROR)/autoconf-archive +AUTOCONF_ARCHIVE_LICENSE = GPL-3.0+ with exception +AUTOCONF_ARCHIVE_LICENSE_FILES = COPYING COPYING.EXCEPTION +HOST_AUTOCONF_ARCHIVE_INSTALL_OPTS = aclocaldir=$(HOST_DIR)/share/autoconf-archive install + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/autoconf/0001-dont-add-dirty-to-version.patch b/buildroot-2022.02.1/package/autoconf/0001-dont-add-dirty-to-version.patch similarity index 100% rename from buildroot-2021.05/package/autoconf/0001-dont-add-dirty-to-version.patch rename to buildroot-2022.02.1/package/autoconf/0001-dont-add-dirty-to-version.patch diff --git a/buildroot-2022.02.1/package/autoconf/autoconf.hash b/buildroot-2022.02.1/package/autoconf/autoconf.hash new file mode 100644 index 00000000..de0840dd --- /dev/null +++ b/buildroot-2022.02.1/package/autoconf/autoconf.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 f14c83cfebcc9427f2c3cea7258bd90df972d92eb26752da4ddad81c87a0faa4 autoconf-2.71.tar.xz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYINGv3 +sha256 1f1cde9fb68b9b3cff18c420894bec5bd4defacd700b7d13df54a887301e5350 COPYING.EXCEPTION diff --git a/buildroot-2022.02.1/package/autoconf/autoconf.mk b/buildroot-2022.02.1/package/autoconf/autoconf.mk new file mode 100644 index 00000000..7e085042 --- /dev/null +++ b/buildroot-2022.02.1/package/autoconf/autoconf.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# autoconf +# +################################################################################ + +AUTOCONF_VERSION = 2.71 +AUTOCONF_SOURCE = autoconf-$(AUTOCONF_VERSION).tar.xz +AUTOCONF_SITE = $(BR2_GNU_MIRROR)/autoconf + +AUTOCONF_LICENSE = GPL-3.0+ with exceptions +AUTOCONF_LICENSE_FILES = COPYINGv3 COPYING.EXCEPTION + +HOST_AUTOCONF_CONF_ENV = \ + EMACS="no" \ + ac_cv_path_M4=$(HOST_DIR)/bin/m4 \ + ac_cv_prog_gnu_m4_gnu=no + +HOST_AUTOCONF_DEPENDENCIES = host-m4 host-libtool + +$(eval $(host-autotools-package)) + +# variables used by other packages +AUTOCONF = $(HOST_DIR)/bin/autoconf -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)" +AUTOHEADER = $(HOST_DIR)/bin/autoheader -I "$(ACLOCAL_DIR)" -I "$(ACLOCAL_HOST_DIR)" +AUTORECONF = $(HOST_CONFIGURE_OPTS) ACLOCAL="$(ACLOCAL)" AUTOCONF="$(AUTOCONF)" AUTOHEADER="$(AUTOHEADER)" AUTOMAKE="$(AUTOMAKE)" AUTOPOINT=/bin/true GTKDOCIZE=/bin/true $(HOST_DIR)/bin/autoreconf -f -i diff --git a/buildroot-2021.05/package/autofs/Config.in b/buildroot-2022.02.1/package/autofs/Config.in similarity index 100% rename from buildroot-2021.05/package/autofs/Config.in rename to buildroot-2022.02.1/package/autofs/Config.in diff --git a/buildroot-2022.02.1/package/autofs/autofs.hash b/buildroot-2022.02.1/package/autofs/autofs.hash new file mode 100644 index 00000000..97bc757d --- /dev/null +++ b/buildroot-2022.02.1/package/autofs/autofs.hash @@ -0,0 +1,6 @@ +# From https://www.kernel.org/pub/linux/daemons/autofs/v5/sha256sums.asc +sha256 b33d1059855664b20eeda26f3e28ff518fb0c3d58f565570af2ae569dc73c0fd autofs-5.1.8.tar.xz + +# Hash for license files +sha256 458028929f712b4795bc5adc31a1d6a2151364ce1b372ac43f613f56c8448fed COPYING +sha256 26c826658dfa9e5ce5f182fbfbadf3fda2d184e78dba3d99da34c60113b2ce54 COPYRIGHT diff --git a/buildroot-2022.02.1/package/autofs/autofs.mk b/buildroot-2022.02.1/package/autofs/autofs.mk new file mode 100644 index 00000000..97b1b6b3 --- /dev/null +++ b/buildroot-2022.02.1/package/autofs/autofs.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# autofs +# +################################################################################ + +AUTOFS_VERSION = 5.1.8 +AUTOFS_SOURCE = autofs-$(AUTOFS_VERSION).tar.xz +AUTOFS_SITE = $(BR2_KERNEL_MIRROR)/linux/daemons/autofs/v5 +AUTOFS_LICENSE = GPL-2.0+ +AUTOFS_LICENSE_FILES = COPYING COPYRIGHT +AUTOFS_DEPENDENCIES = host-flex host-bison host-pkgconf host-nfs-utils + +# autofs looks on the build machine for the path of modprobe, mount, +# umount and fsck programs so tell it explicitly where they will be +# located on the target. +AUTOFS_CONF_ENV = \ + ac_cv_path_E2FSCK=/sbin/fsck \ + ac_cv_path_E3FSCK=no \ + ac_cv_path_E4FSCK=no \ + ac_cv_path_KRB5_CONFIG=no \ + ac_cv_path_MODPROBE=/sbin/modprobe \ + ac_cv_path_MOUNT=/bin/mount \ + ac_cv_path_MOUNT_NFS=/usr/sbin/mount.nfs \ + ac_cv_path_UMOUNT=/bin/umount \ + ac_cv_linux_procfs=yes + +# instead of looking in the PATH like any reasonable package, autofs +# configure looks only in an hardcoded search path for host tools, +# which we have to override with --with-path. +AUTOFS_CONF_OPTS = \ + --disable-mount-locking \ + --enable-ignore-busy \ + --without-openldap \ + --without-sasl \ + --with-path="$(BR_PATH)" \ + --with-hesiod=no + +AUTOFS_MAKE_ENV = DONTSTRIP=1 + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +AUTOFS_CONF_OPTS += --with-libtirpc +AUTOFS_DEPENDENCIES += libtirpc +else +AUTOFS_CONF_OPTS += --without-libtirpc +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/automake/0001-noman.patch b/buildroot-2022.02.1/package/automake/0001-noman.patch similarity index 100% rename from buildroot-2021.05/package/automake/0001-noman.patch rename to buildroot-2022.02.1/package/automake/0001-noman.patch diff --git a/buildroot-2022.02.1/package/automake/automake.hash b/buildroot-2022.02.1/package/automake/automake.hash new file mode 100644 index 00000000..b2e70641 --- /dev/null +++ b/buildroot-2022.02.1/package/automake/automake.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 f01d58cd6d9d77fbdca9eb4bbd5ead1988228fdb73d6f7a201f5f8d6b118b469 automake-1.16.5.tar.xz +# License files, locally calculated +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/automake/automake.mk b/buildroot-2022.02.1/package/automake/automake.mk new file mode 100644 index 00000000..fd7933dd --- /dev/null +++ b/buildroot-2022.02.1/package/automake/automake.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# automake +# +################################################################################ + +AUTOMAKE_VERSION = 1.16.5 +AUTOMAKE_SOURCE = automake-$(AUTOMAKE_VERSION).tar.xz +AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake +AUTOMAKE_LICENSE = GPL-2.0+ +AUTOMAKE_LICENSE_FILES = COPYING +AUTOMAKE_CPE_ID_VENDOR = gnu + +HOST_AUTOMAKE_DEPENDENCIES = host-autoconf + +ACLOCAL_HOST_DIR = $(HOST_DIR)/share/aclocal + +define HOST_AUTOMAKE_GTK_DOC_M4_INSTALL + $(INSTALL) -D -m 0644 package/automake/gtk-doc.m4 \ + $(ACLOCAL_HOST_DIR)/gtk-doc.m4 +endef + +# ensure staging aclocal dir exists +define HOST_AUTOMAKE_MAKE_ACLOCAL + mkdir -p $(ACLOCAL_DIR) +endef + +HOST_AUTOMAKE_POST_INSTALL_HOOKS += HOST_AUTOMAKE_GTK_DOC_M4_INSTALL +HOST_AUTOMAKE_POST_INSTALL_HOOKS += HOST_AUTOMAKE_MAKE_ACLOCAL + +$(eval $(host-autotools-package)) + +# variables used by other packages +AUTOMAKE = $(HOST_DIR)/bin/automake +ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal +ACLOCAL = $(HOST_DIR)/bin/aclocal +ACLOCAL_PATH = $(ACLOCAL_DIR):$(ACLOCAL_HOST_DIR) +export ACLOCAL_PATH diff --git a/buildroot-2021.05/package/automake/gtk-doc.m4 b/buildroot-2022.02.1/package/automake/gtk-doc.m4 similarity index 100% rename from buildroot-2021.05/package/automake/gtk-doc.m4 rename to buildroot-2022.02.1/package/automake/gtk-doc.m4 diff --git a/buildroot-2021.05/package/autossh/Config.in b/buildroot-2022.02.1/package/autossh/Config.in similarity index 100% rename from buildroot-2021.05/package/autossh/Config.in rename to buildroot-2022.02.1/package/autossh/Config.in diff --git a/buildroot-2021.05/package/autossh/autossh.hash b/buildroot-2022.02.1/package/autossh/autossh.hash similarity index 100% rename from buildroot-2021.05/package/autossh/autossh.hash rename to buildroot-2022.02.1/package/autossh/autossh.hash diff --git a/buildroot-2021.05/package/autossh/autossh.mk b/buildroot-2022.02.1/package/autossh/autossh.mk similarity index 100% rename from buildroot-2021.05/package/autossh/autossh.mk rename to buildroot-2022.02.1/package/autossh/autossh.mk diff --git a/buildroot-2022.02.1/package/avahi/0001-Fix-NULL-pointer-crashes-from-175.patch b/buildroot-2022.02.1/package/avahi/0001-Fix-NULL-pointer-crashes-from-175.patch new file mode 100644 index 00000000..7e191e8d --- /dev/null +++ b/buildroot-2022.02.1/package/avahi/0001-Fix-NULL-pointer-crashes-from-175.patch @@ -0,0 +1,152 @@ +From 9d31939e55280a733d930b15ac9e4dda4497680c Mon Sep 17 00:00:00 2001 +From: Tommi Rantala +Date: Mon, 8 Feb 2021 11:04:43 +0200 +Subject: [PATCH] Fix NULL pointer crashes from #175 + +avahi-daemon is crashing when running "ping .local". +The crash is due to failing assertion from NULL pointer. +Add missing NULL pointer checks to fix it. + +Introduced in #175 - merge commit 8f75a045709a780c8cf92a6a21e9d35b593bdecd + +[Retrieved from: +https://github.com/lathiat/avahi/commit/9d31939e55280a733d930b15ac9e4dda4497680c] +Signed-off-by: Fabrice Fontaine +--- + avahi-core/browse-dns-server.c | 5 ++++- + avahi-core/browse-domain.c | 5 ++++- + avahi-core/browse-service-type.c | 3 +++ + avahi-core/browse-service.c | 3 +++ + avahi-core/browse.c | 3 +++ + avahi-core/resolve-address.c | 5 ++++- + avahi-core/resolve-host-name.c | 5 ++++- + avahi-core/resolve-service.c | 5 ++++- + 8 files changed, 29 insertions(+), 5 deletions(-) + +diff --git a/avahi-core/browse-dns-server.c b/avahi-core/browse-dns-server.c +index 049752e9..c2d914fa 100644 +--- a/avahi-core/browse-dns-server.c ++++ b/avahi-core/browse-dns-server.c +@@ -343,7 +343,10 @@ AvahiSDNSServerBrowser *avahi_s_dns_server_browser_new( + AvahiSDNSServerBrowser* b; + + b = avahi_s_dns_server_browser_prepare(server, interface, protocol, domain, type, aprotocol, flags, callback, userdata); ++ if (!b) ++ return NULL; ++ + avahi_s_dns_server_browser_start(b); + + return b; +-} +\ No newline at end of file ++} +diff --git a/avahi-core/browse-domain.c b/avahi-core/browse-domain.c +index f145d56a..06fa70c0 100644 +--- a/avahi-core/browse-domain.c ++++ b/avahi-core/browse-domain.c +@@ -253,7 +253,10 @@ AvahiSDomainBrowser *avahi_s_domain_browser_new( + AvahiSDomainBrowser *b; + + b = avahi_s_domain_browser_prepare(server, interface, protocol, domain, type, flags, callback, userdata); ++ if (!b) ++ return NULL; ++ + avahi_s_domain_browser_start(b); + + return b; +-} +\ No newline at end of file ++} +diff --git a/avahi-core/browse-service-type.c b/avahi-core/browse-service-type.c +index fdd22dcd..b1fc7af8 100644 +--- a/avahi-core/browse-service-type.c ++++ b/avahi-core/browse-service-type.c +@@ -171,6 +171,9 @@ AvahiSServiceTypeBrowser *avahi_s_service_type_browser_new( + AvahiSServiceTypeBrowser *b; + + b = avahi_s_service_type_browser_prepare(server, interface, protocol, domain, flags, callback, userdata); ++ if (!b) ++ return NULL; ++ + avahi_s_service_type_browser_start(b); + + return b; +diff --git a/avahi-core/browse-service.c b/avahi-core/browse-service.c +index 5531360c..63e0275a 100644 +--- a/avahi-core/browse-service.c ++++ b/avahi-core/browse-service.c +@@ -184,6 +184,9 @@ AvahiSServiceBrowser *avahi_s_service_browser_new( + AvahiSServiceBrowser *b; + + b = avahi_s_service_browser_prepare(server, interface, protocol, service_type, domain, flags, callback, userdata); ++ if (!b) ++ return NULL; ++ + avahi_s_service_browser_start(b); + + return b; +diff --git a/avahi-core/browse.c b/avahi-core/browse.c +index 2941e579..e8a915e9 100644 +--- a/avahi-core/browse.c ++++ b/avahi-core/browse.c +@@ -634,6 +634,9 @@ AvahiSRecordBrowser *avahi_s_record_browser_new( + AvahiSRecordBrowser *b; + + b = avahi_s_record_browser_prepare(server, interface, protocol, key, flags, callback, userdata); ++ if (!b) ++ return NULL; ++ + avahi_s_record_browser_start_query(b); + + return b; +diff --git a/avahi-core/resolve-address.c b/avahi-core/resolve-address.c +index ac0b29b1..e61dd242 100644 +--- a/avahi-core/resolve-address.c ++++ b/avahi-core/resolve-address.c +@@ -286,7 +286,10 @@ AvahiSAddressResolver *avahi_s_address_resolver_new( + AvahiSAddressResolver *b; + + b = avahi_s_address_resolver_prepare(server, interface, protocol, address, flags, callback, userdata); ++ if (!b) ++ return NULL; ++ + avahi_s_address_resolver_start(b); + + return b; +-} +\ No newline at end of file ++} +diff --git a/avahi-core/resolve-host-name.c b/avahi-core/resolve-host-name.c +index 808b0e72..4e8e5973 100644 +--- a/avahi-core/resolve-host-name.c ++++ b/avahi-core/resolve-host-name.c +@@ -318,7 +318,10 @@ AvahiSHostNameResolver *avahi_s_host_name_resolver_new( + AvahiSHostNameResolver *b; + + b = avahi_s_host_name_resolver_prepare(server, interface, protocol, host_name, aprotocol, flags, callback, userdata); ++ if (!b) ++ return NULL; ++ + avahi_s_host_name_resolver_start(b); + + return b; +-} +\ No newline at end of file ++} +diff --git a/avahi-core/resolve-service.c b/avahi-core/resolve-service.c +index 66bf3cae..43771763 100644 +--- a/avahi-core/resolve-service.c ++++ b/avahi-core/resolve-service.c +@@ -519,7 +519,10 @@ AvahiSServiceResolver *avahi_s_service_resolver_new( + AvahiSServiceResolver *b; + + b = avahi_s_service_resolver_prepare(server, interface, protocol, name, type, domain, aprotocol, flags, callback, userdata); ++ if (!b) ++ return NULL; ++ + avahi_s_service_resolver_start(b); + + return b; +-} +\ No newline at end of file ++} diff --git a/buildroot-2022.02.1/package/avahi/Config.in b/buildroot-2022.02.1/package/avahi/Config.in new file mode 100644 index 00000000..2484d8ce --- /dev/null +++ b/buildroot-2022.02.1/package/avahi/Config.in @@ -0,0 +1,62 @@ +config BR2_PACKAGE_AVAHI + bool "avahi" + # libdaemon uses fork() + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + help + Avahi is a system which facilitates service + discovery on a local network. + + http://www.avahi.org/ + +if BR2_PACKAGE_AVAHI + +config BR2_PACKAGE_AVAHI_AUTOIPD + bool "IPv4LL network address configuration daemon" + default y + select BR2_PACKAGE_LIBDAEMON + help + Avahi-autoipd implements IPv4LL, "Dynamic Configuration of + IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for + automatic IP address configuration from the link-local + 169.254.0.0/16 range without the need for a central server. + It is primarily intended to be used in ad-hoc networks which + lack a DHCP server. + +config BR2_PACKAGE_AVAHI_DAEMON + bool "mDNS/DNS-SD daemon" + select BR2_PACKAGE_LIBDAEMON + select BR2_PACKAGE_EXPAT + help + The Avahi mDNS/DNS-SD daemon implementing Apple's ZeroConf + architecture (also known as "Rendezvous" or "Bonjour"). + The daemon registers local IP addresses and services using + mDNS/DNS-SD. + +# This hidden option allows packages that need the libavahi-client to +# more easily determine if it's available or not. +config BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT + bool + default y if BR2_PACKAGE_AVAHI_DAEMON && BR2_PACKAGE_DBUS + +config BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY + bool "libdns_sd compatibility (Bonjour)" + depends on BR2_PACKAGE_AVAHI_DAEMON + select BR2_PACKAGE_DBUS + help + Enable the libdns_sd (Bonjour) compatibility library support + for legacy applications. + +config BR2_PACKAGE_AVAHI_DEFAULT_SERVICES + bool "install default service definitions" + depends on BR2_PACKAGE_AVAHI_DAEMON + help + Install the SSH/SFTP service definitions included with the + Avahi daemon by default. + +endif + +comment "avahi needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/avahi/S05avahi-setup.sh b/buildroot-2022.02.1/package/avahi/S05avahi-setup.sh similarity index 100% rename from buildroot-2021.05/package/avahi/S05avahi-setup.sh rename to buildroot-2022.02.1/package/avahi/S05avahi-setup.sh diff --git a/buildroot-2021.05/package/avahi/S50avahi-daemon b/buildroot-2022.02.1/package/avahi/S50avahi-daemon similarity index 100% rename from buildroot-2021.05/package/avahi/S50avahi-daemon rename to buildroot-2022.02.1/package/avahi/S50avahi-daemon diff --git a/buildroot-2021.05/package/avahi/avahi.hash b/buildroot-2022.02.1/package/avahi/avahi.hash similarity index 100% rename from buildroot-2021.05/package/avahi/avahi.hash rename to buildroot-2022.02.1/package/avahi/avahi.hash diff --git a/buildroot-2022.02.1/package/avahi/avahi.mk b/buildroot-2022.02.1/package/avahi/avahi.mk new file mode 100644 index 00000000..1992669a --- /dev/null +++ b/buildroot-2022.02.1/package/avahi/avahi.mk @@ -0,0 +1,210 @@ +################################################################################ +# +# avahi +# +################################################################################ + +AVAHI_VERSION = 0.8 +AVAHI_SITE = https://github.com/lathiat/avahi/releases/download/v$(AVAHI_VERSION) +AVAHI_LICENSE = LGPL-2.1+ +AVAHI_LICENSE_FILES = LICENSE +AVAHI_CPE_ID_VENDOR = avahi +AVAHI_SELINUX_MODULES = avahi +AVAHI_INSTALL_STAGING = YES + +# CVE-2021-26720 is an issue in avahi-daemon-check-dns.sh, which is +# part of the Debian packaging and not part of upstream avahi +AVAHI_IGNORE_CVES += CVE-2021-26720 + +# 0001-Fix-NULL-pointer-crashes-from-175.patch +AVAHI_IGNORE_CVES += CVE-2021-36217 + +AVAHI_CONF_ENV = \ + avahi_cv_sys_cxx_works=yes \ + DATADIRNAME=share + +# Note: even if we have Gtk2 and Gtk3 support in Buildroot, we +# explicitly disable support for them, in order to avoid the following +# circular dependencies: +# +# avahi -> libglade -> libgtk2 -> cups -> avahi +# avahi -> libgtk3 -> cups -> avahi +# +# Since Gtk2 and Gtk3 in Avahi are only used for some example/demo +# programs, we decided to disable their support to solve the circular +# dependency. +AVAHI_CONF_OPTS = \ + --disable-qt3 \ + --disable-qt4 \ + --disable-qt5 \ + --disable-gtk \ + --disable-gtk3 \ + --disable-gdbm \ + --disable-mono \ + --disable-monodoc \ + --disable-stack-protector \ + --disable-introspection \ + --with-distro=none \ + --disable-manpages \ + $(if $(BR2_PACKAGE_AVAHI_AUTOIPD),--enable,--disable)-autoipd \ + --with-avahi-user=avahi \ + --with-avahi-group=avahi \ + --with-autoipd-user=avahi \ + --with-autoipd-group=avahi + +AVAHI_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) + +AVAHI_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +AVAHI_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system +else +AVAHI_CONF_OPTS += --with-systemdsystemunitdir=no +AVAHI_CFLAGS += -DDISABLE_SYSTEMD +endif + +ifneq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_AVAHI_AUTOIPD),) +AVAHI_DEPENDENCIES += libdaemon +else +AVAHI_CONF_OPTS += --disable-libdaemon +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +AVAHI_DEPENDENCIES += libcap +endif + +ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y) +AVAHI_DEPENDENCIES += expat +AVAHI_CONF_OPTS += --with-xml=expat +else +AVAHI_CONF_OPTS += --with-xml=none +endif + +ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y) +AVAHI_CONF_OPTS += --enable-compat-libdns_sd +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +AVAHI_DEPENDENCIES += dbus +AVAHI_CONF_OPTS += --with-dbus-sys=/usr/share/dbus-1/system.d +else +AVAHI_CONF_OPTS += --disable-dbus +endif + +ifeq ($(BR2_PACKAGE_LIBEVENT),y) +AVAHI_DEPENDENCIES += libevent +else +AVAHI_CONF_OPTS += --disable-libevent +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +AVAHI_DEPENDENCIES += libglib2 +else +AVAHI_CONF_OPTS += --disable-glib --disable-gobject +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +AVAHI_CONF_ENV += \ + am_cv_pathless_PYTHON=python3 \ + am_cv_python_version=$(PYTHON3_VERSION) \ + am_cv_python_platform=linux5 \ + am_cv_python_pythondir=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + am_cv_python_pyexecdir=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + py_cv_mod_socket_=yes + +AVAHI_DEPENDENCIES += python3 +AVAHI_CONF_OPTS += --enable-python +else +AVAHI_CONF_OPTS += --disable-python +endif + +ifeq ($(BR2_PACKAGE_DBUS_PYTHON),y) +AVAHI_CONF_OPTS += --enable-python-dbus +AVAHI_CONF_ENV += py_cv_mod_dbus_=yes +AVAHI_DEPENDENCIES += dbus-python +else +AVAHI_CONF_OPTS += --disable-python-dbus +endif + +ifeq ($(BR2_PACKAGE_PYTHON_GOBJECT),y) +AVAHI_CONF_OPTS += --enable-pygobject +AVAHI_DEPENDENCIES += python-gobject +else +AVAHI_CONF_OPTS += --disable-pygobject +endif + +AVAHI_CONF_ENV += CFLAGS="$(AVAHI_CFLAGS)" + +AVAHI_MAKE_OPTS += LIBS=$(TARGET_NLS_LIBS) + +define AVAHI_USERS + avahi -1 avahi -1 * - - - +endef + +define AVAHI_REMOVE_INITSCRIPT + rm -rf $(TARGET_DIR)/etc/init.d/avahi-* +endef + +AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_REMOVE_INITSCRIPT + +ifeq ($(BR2_PACKAGE_AVAHI_AUTOIPD),y) +define AVAHI_INSTALL_AUTOIPD + rm -f $(TARGET_DIR)/var/lib/avahi-autoipd + $(INSTALL) -d -m 0755 $(TARGET_DIR)/var/lib + ln -sf /tmp/avahi-autoipd $(TARGET_DIR)/var/lib/avahi-autoipd +endef + +define AVAHI_INSTALL_AUTOIPD_INIT_SYSV + $(INSTALL) -D -m 0755 package/avahi/S05avahi-setup.sh $(TARGET_DIR)/etc/init.d/S05avahi-setup.sh +endef + +AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_INSTALL_AUTOIPD +endif + +ifeq ($(BR2_PACKAGE_AVAHI_DAEMON),y) + +ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) +define AVAHI_INSTALL_SYSTEMD_SYSUSERS + $(INSTALL) -D -m 644 package/avahi/avahi_sysusers.conf \ + $(TARGET_DIR)/usr/lib/sysusers.d/avahi.conf +endef +endif + +define AVAHI_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/avahi/avahi_tmpfiles.conf \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/avahi.conf + + $(AVAHI_INSTALL_SYSTEMD_SYSUSERS) +endef + +define AVAHI_INSTALL_DAEMON_INIT_SYSV + $(INSTALL) -D -m 0755 package/avahi/S50avahi-daemon $(TARGET_DIR)/etc/init.d/S50avahi-daemon +endef + +endif + +define AVAHI_INSTALL_INIT_SYSV + $(AVAHI_INSTALL_AUTOIPD_INIT_SYSV) + $(AVAHI_INSTALL_DAEMON_INIT_SYSV) +endef + +ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y) +# applications expects to be able to #include +define AVAHI_STAGING_INSTALL_LIBDNSSD_LINK + ln -sf avahi-compat-libdns_sd/dns_sd.h \ + $(STAGING_DIR)/usr/include/dns_sd.h +endef + +AVAHI_POST_INSTALL_STAGING_HOOKS += AVAHI_STAGING_INSTALL_LIBDNSSD_LINK +endif + +ifeq ($(BR2_PACKAGE_AVAHI_DEFAULT_SERVICES),) +define AVAHI_REMOVE_DEFAULT_SERVICES + $(foreach service,ssh sftp-ssh, \ + $(RM) -f $(TARGET_DIR)/etc/avahi/services/$(service).service + ) +endef +AVAHI_POST_INSTALL_TARGET_HOOKS += AVAHI_REMOVE_DEFAULT_SERVICES +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/avahi/avahi_sysusers.conf b/buildroot-2022.02.1/package/avahi/avahi_sysusers.conf similarity index 100% rename from buildroot-2021.05/package/avahi/avahi_sysusers.conf rename to buildroot-2022.02.1/package/avahi/avahi_sysusers.conf diff --git a/buildroot-2021.05/package/avahi/avahi_tmpfiles.conf b/buildroot-2022.02.1/package/avahi/avahi_tmpfiles.conf similarity index 100% rename from buildroot-2021.05/package/avahi/avahi_tmpfiles.conf rename to buildroot-2022.02.1/package/avahi/avahi_tmpfiles.conf diff --git a/buildroot-2021.05/package/avrdude/Config.in b/buildroot-2022.02.1/package/avrdude/Config.in similarity index 100% rename from buildroot-2021.05/package/avrdude/Config.in rename to buildroot-2022.02.1/package/avrdude/Config.in diff --git a/buildroot-2022.02.1/package/avrdude/avrdude.hash b/buildroot-2022.02.1/package/avrdude/avrdude.hash new file mode 100644 index 00000000..d53d4dd6 --- /dev/null +++ b/buildroot-2022.02.1/package/avrdude/avrdude.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 bbe2cf09163b3561ea28e9d48c2a588838f7adcd7858e34ced9c886feacb5be6 avrdude-6.4.tar.gz +sha256 201babc7da198873304a77a30dbfc7ca449c9bba52df2dffa4cca0009dbdfcb2 COPYING diff --git a/buildroot-2022.02.1/package/avrdude/avrdude.mk b/buildroot-2022.02.1/package/avrdude/avrdude.mk new file mode 100644 index 00000000..accd92c1 --- /dev/null +++ b/buildroot-2022.02.1/package/avrdude/avrdude.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# avrdude +# +################################################################################ + +AVRDUDE_VERSION = 6.4 +AVRDUDE_SITE = $(call github,avrdudes,avrdude,v$(AVRDUDE_VERSION)) +AVRDUDE_LICENSE = GPL-2.0+ +AVRDUDE_LICENSE_FILES = COPYING + +# Sources coming from git, without generated configure and Makefile.in +# files. +AVRDUDE_AUTORECONF = YES +AVRDUDE_CONF_OPTS = --enable-linuxgpio +AVRDUDE_DEPENDENCIES = elfutils libusb libusb-compat ncurses \ + host-flex host-bison + +ifeq ($(BR2_PACKAGE_AVRDUDE_SPI),y) +AVRDUDE_CONF_OPTS += --enable-linuxspi +else +AVRDUDE_CONF_OPTS += --disable-linuxspi +endif + +ifeq ($(BR2_PACKAGE_LIBFTDI1),y) +AVRDUDE_DEPENDENCIES += libftdi1 +else ifeq ($(BR2_PACKAGE_LIBFTDI),y) +AVRDUDE_DEPENDENCIES += libftdi +endif + +ifeq ($(BR2_PACKAGE_HIDAPI),y) +AVRDUDE_DEPENDENCIES += hidapi +endif + +# if /etc/avrdude.conf exists, the installation process creates a +# backup file, which we do not want in the context of Buildroot. +define AVRDUDE_REMOVE_BACKUP_FILE + $(RM) -f $(TARGET_DIR)/etc/avrdude.conf.bak +endef + +AVRDUDE_POST_INSTALL_TARGET_HOOKS += AVRDUDE_REMOVE_BACKUP_FILE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/avro-c/0001-cmake-Build-failure-without-a-C-compiler-again.patch b/buildroot-2022.02.1/package/avro-c/0001-cmake-Build-failure-without-a-C-compiler-again.patch similarity index 100% rename from buildroot-2021.05/package/avro-c/0001-cmake-Build-failure-without-a-C-compiler-again.patch rename to buildroot-2022.02.1/package/avro-c/0001-cmake-Build-failure-without-a-C-compiler-again.patch diff --git a/buildroot-2021.05/package/avro-c/Config.in b/buildroot-2022.02.1/package/avro-c/Config.in similarity index 100% rename from buildroot-2021.05/package/avro-c/Config.in rename to buildroot-2022.02.1/package/avro-c/Config.in diff --git a/buildroot-2021.05/package/avro-c/avro-c.hash b/buildroot-2022.02.1/package/avro-c/avro-c.hash similarity index 100% rename from buildroot-2021.05/package/avro-c/avro-c.hash rename to buildroot-2022.02.1/package/avro-c/avro-c.hash diff --git a/buildroot-2021.05/package/avro-c/avro-c.mk b/buildroot-2022.02.1/package/avro-c/avro-c.mk similarity index 100% rename from buildroot-2021.05/package/avro-c/avro-c.mk rename to buildroot-2022.02.1/package/avro-c/avro-c.mk diff --git a/buildroot-2021.05/package/axel/Config.in b/buildroot-2022.02.1/package/axel/Config.in similarity index 100% rename from buildroot-2021.05/package/axel/Config.in rename to buildroot-2022.02.1/package/axel/Config.in diff --git a/buildroot-2022.02.1/package/axel/axel.hash b/buildroot-2022.02.1/package/axel/axel.hash new file mode 100644 index 00000000..ca7ad5c1 --- /dev/null +++ b/buildroot-2022.02.1/package/axel/axel.hash @@ -0,0 +1,2 @@ +sha256 580b2c18692482fd7f1e2b2819159484311ffc50f6d18924dceb80fd41d4ccf9 axel-2.17.11.tar.xz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/axel/axel.mk b/buildroot-2022.02.1/package/axel/axel.mk new file mode 100644 index 00000000..191484d1 --- /dev/null +++ b/buildroot-2022.02.1/package/axel/axel.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# axel +# +################################################################################ + +AXEL_VERSION = 2.17.11 +AXEL_SITE = https://github.com/axel-download-accelerator/axel/releases/download/v$(AXEL_VERSION) +AXEL_SOURCE = axel-$(AXEL_VERSION).tar.xz +AXEL_LICENSE = GPL-2.0+ +AXEL_LICENSE_FILES = COPYING +AXEL_CPE_ID_VENDOR = axel_project +AXEL_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) + +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +AXEL_CONF_OPTS = \ + ac_cv_prog_cc_c99=-std=c99 \ + CFLAGS="$(TARGET_CFLAGS)" + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +AXEL_CONF_OPTS += --with-ssl +AXEL_DEPENDENCIES += openssl +else +AXEL_CONF_OPTS += --without-ssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/axfsutils/axfsutils.hash b/buildroot-2022.02.1/package/axfsutils/axfsutils.hash similarity index 100% rename from buildroot-2021.05/package/axfsutils/axfsutils.hash rename to buildroot-2022.02.1/package/axfsutils/axfsutils.hash diff --git a/buildroot-2021.05/package/axfsutils/axfsutils.mk b/buildroot-2022.02.1/package/axfsutils/axfsutils.mk similarity index 100% rename from buildroot-2021.05/package/axfsutils/axfsutils.mk rename to buildroot-2022.02.1/package/axfsutils/axfsutils.mk diff --git a/buildroot-2022.02.1/package/azmq/Config.in b/buildroot-2022.02.1/package/azmq/Config.in new file mode 100644 index 00000000..7bdd07eb --- /dev/null +++ b/buildroot-2022.02.1/package/azmq/Config.in @@ -0,0 +1,28 @@ +config BR2_PACKAGE_AZMQ + bool "azmq" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_HAS_THREADS # boost, zeromq + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on BR2_USE_WCHAR # boost + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + select BR2_PACKAGE_ZEROMQ + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_CHRONO + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_RANDOM + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD + help + This library provides Boost Asio style bindings for ZeroMQ. + + https://github.com/zeromq/azmq + +comment "azmq needs a toolchain w/ C++11, wchar and threads" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ + && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS) + +comment "azmq needs exception_ptr" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2022.02.1/package/azmq/azmq.hash b/buildroot-2022.02.1/package/azmq/azmq.hash new file mode 100644 index 00000000..6caf5358 --- /dev/null +++ b/buildroot-2022.02.1/package/azmq/azmq.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 80cfb951c5614b8c2e55a59ea2e5723a18ebed08da80e5420e525d6bf273771a azmq-1.0.3.tar.gz +sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE-BOOST_1_0 diff --git a/buildroot-2022.02.1/package/azmq/azmq.mk b/buildroot-2022.02.1/package/azmq/azmq.mk new file mode 100644 index 00000000..a72b1556 --- /dev/null +++ b/buildroot-2022.02.1/package/azmq/azmq.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# azmq +# +################################################################################ + +AZMQ_VERSION = 1.0.3 +AZMQ_SITE = $(call github,zeromq,azmq,v$(AZMQ_VERSION)) +AZMQ_DEPENDENCIES = boost zeromq +AZMQ_LICENSE = BSL-1.0 +AZMQ_LICENSE_FILES = LICENSE-BOOST_1_0 + +# AZMQ is a header only library, so it does not need to be installed on the +# target. +AZMQ_INSTALL_STAGING = YES +AZMQ_INSTALL_TARGET = NO + +AZMQ_CONF_OPTS = -DAZMQ_NO_TESTS=ON + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/azure-iot-sdk-c/0001-hmac-c-fix-mismatching-function-prototype.patch b/buildroot-2022.02.1/package/azure-iot-sdk-c/0001-hmac-c-fix-mismatching-function-prototype.patch new file mode 100644 index 00000000..0c262e6c --- /dev/null +++ b/buildroot-2022.02.1/package/azure-iot-sdk-c/0001-hmac-c-fix-mismatching-function-prototype.patch @@ -0,0 +1,35 @@ +From 3a7997af72e7a4f70109d1639e6725b39046443e Mon Sep 17 00:00:00 2001 +From: Francesco Giancane <30423178+fgiancane8@users.noreply.github.com> +Date: Fri, 2 Jul 2021 20:47:38 +0200 +Subject: [PATCH] hmac.c: fix mismatching function prototype (#537) + +The reported function raises a warning when compilers assert the flag +`-Warray-parameter=`, signaling that an array-type argument was promoted +to a pointer-type argument. + +While in practice in most C implementations this is correct, fixing the +warning (and, in this case, indicating the maximum size for the array) +would represent a best-practice for finding out-of-bound accesses or +identifying wrongly-sized arrays passed in the function. + +Signed-off-by: Francesco Giancane +[Retrieved from: +https://github.com/Azure/azure-c-shared-utility/commit/3a7997af72e7a4f70109d1639e6725b39046443e] +Signed-off-by: Fabrice Fontaine +--- + src/hmac.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/hmac.c b/src/hmac.c +index 53f2411f8..160af9d2f 100644 +--- a/c-utility/src/hmac.c ++++ b/c-utility/src/hmac.c +@@ -208,7 +208,7 @@ int hmacFinalBits(HMACContext *ctx, + * sha Error Code. + * + */ +-int hmacResult(HMACContext *ctx, uint8_t *digest) ++int hmacResult(HMACContext *ctx, uint8_t digest[USHAMaxHashSize]) + { + if (!ctx) return shaNull; + diff --git a/buildroot-2021.05/package/azure-iot-sdk-c/Config.in b/buildroot-2022.02.1/package/azure-iot-sdk-c/Config.in similarity index 100% rename from buildroot-2021.05/package/azure-iot-sdk-c/Config.in rename to buildroot-2022.02.1/package/azure-iot-sdk-c/Config.in diff --git a/buildroot-2021.05/package/azure-iot-sdk-c/azure-iot-sdk-c.hash b/buildroot-2022.02.1/package/azure-iot-sdk-c/azure-iot-sdk-c.hash similarity index 100% rename from buildroot-2021.05/package/azure-iot-sdk-c/azure-iot-sdk-c.hash rename to buildroot-2022.02.1/package/azure-iot-sdk-c/azure-iot-sdk-c.hash diff --git a/buildroot-2022.02.1/package/azure-iot-sdk-c/azure-iot-sdk-c.mk b/buildroot-2022.02.1/package/azure-iot-sdk-c/azure-iot-sdk-c.mk new file mode 100644 index 00000000..e6de8c85 --- /dev/null +++ b/buildroot-2022.02.1/package/azure-iot-sdk-c/azure-iot-sdk-c.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# azure-iot-sdk-c +# +################################################################################ + +AZURE_IOT_SDK_C_VERSION = LTS_01_2021_Ref01 +AZURE_IOT_SDK_C_SITE = https://github.com/Azure/azure-iot-sdk-c +AZURE_IOT_SDK_C_SITE_METHOD = git +AZURE_IOT_SDK_C_GIT_SUBMODULES = YES +AZURE_IOT_SDK_C_LICENSE = MIT +AZURE_IOT_SDK_C_LICENSE_FILES = LICENSE +AZURE_IOT_SDK_C_INSTALL_STAGING = YES +AZURE_IOT_SDK_C_DEPENDENCIES = libxml2 openssl libcurl util-linux +AZURE_IOT_SDK_C_CONF_OPTS = -Dskip_samples=ON + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/b43-firmware/Config.in b/buildroot-2022.02.1/package/b43-firmware/Config.in similarity index 100% rename from buildroot-2021.05/package/b43-firmware/Config.in rename to buildroot-2022.02.1/package/b43-firmware/Config.in diff --git a/buildroot-2021.05/package/b43-firmware/b43-firmware.hash b/buildroot-2022.02.1/package/b43-firmware/b43-firmware.hash similarity index 100% rename from buildroot-2021.05/package/b43-firmware/b43-firmware.hash rename to buildroot-2022.02.1/package/b43-firmware/b43-firmware.hash diff --git a/buildroot-2021.05/package/b43-firmware/b43-firmware.mk b/buildroot-2022.02.1/package/b43-firmware/b43-firmware.mk similarity index 100% rename from buildroot-2021.05/package/b43-firmware/b43-firmware.mk rename to buildroot-2022.02.1/package/b43-firmware/b43-firmware.mk diff --git a/buildroot-2021.05/package/b43-fwcutter/b43-fwcutter.hash b/buildroot-2022.02.1/package/b43-fwcutter/b43-fwcutter.hash similarity index 100% rename from buildroot-2021.05/package/b43-fwcutter/b43-fwcutter.hash rename to buildroot-2022.02.1/package/b43-fwcutter/b43-fwcutter.hash diff --git a/buildroot-2021.05/package/b43-fwcutter/b43-fwcutter.mk b/buildroot-2022.02.1/package/b43-fwcutter/b43-fwcutter.mk similarity index 100% rename from buildroot-2021.05/package/b43-fwcutter/b43-fwcutter.mk rename to buildroot-2022.02.1/package/b43-fwcutter/b43-fwcutter.mk diff --git a/buildroot-2021.05/package/babeld/Config.in b/buildroot-2022.02.1/package/babeld/Config.in similarity index 100% rename from buildroot-2021.05/package/babeld/Config.in rename to buildroot-2022.02.1/package/babeld/Config.in diff --git a/buildroot-2021.05/package/babeld/S50babeld b/buildroot-2022.02.1/package/babeld/S50babeld similarity index 100% rename from buildroot-2021.05/package/babeld/S50babeld rename to buildroot-2022.02.1/package/babeld/S50babeld diff --git a/buildroot-2021.05/package/babeld/babeld.hash b/buildroot-2022.02.1/package/babeld/babeld.hash similarity index 100% rename from buildroot-2021.05/package/babeld/babeld.hash rename to buildroot-2022.02.1/package/babeld/babeld.hash diff --git a/buildroot-2021.05/package/babeld/babeld.mk b/buildroot-2022.02.1/package/babeld/babeld.mk similarity index 100% rename from buildroot-2021.05/package/babeld/babeld.mk rename to buildroot-2022.02.1/package/babeld/babeld.mk diff --git a/buildroot-2021.05/package/babeld/babeld.service b/buildroot-2022.02.1/package/babeld/babeld.service similarity index 100% rename from buildroot-2021.05/package/babeld/babeld.service rename to buildroot-2022.02.1/package/babeld/babeld.service diff --git a/buildroot-2021.05/package/babeltrace2/0001-configure-simplify-warning-flags-detection.patch b/buildroot-2022.02.1/package/babeltrace2/0001-configure-simplify-warning-flags-detection.patch similarity index 100% rename from buildroot-2021.05/package/babeltrace2/0001-configure-simplify-warning-flags-detection.patch rename to buildroot-2022.02.1/package/babeltrace2/0001-configure-simplify-warning-flags-detection.patch diff --git a/buildroot-2021.05/package/babeltrace2/Config.in b/buildroot-2022.02.1/package/babeltrace2/Config.in similarity index 100% rename from buildroot-2021.05/package/babeltrace2/Config.in rename to buildroot-2022.02.1/package/babeltrace2/Config.in diff --git a/buildroot-2021.05/package/babeltrace2/Config.in.host b/buildroot-2022.02.1/package/babeltrace2/Config.in.host similarity index 100% rename from buildroot-2021.05/package/babeltrace2/Config.in.host rename to buildroot-2022.02.1/package/babeltrace2/Config.in.host diff --git a/buildroot-2022.02.1/package/babeltrace2/babeltrace2.hash b/buildroot-2022.02.1/package/babeltrace2/babeltrace2.hash new file mode 100644 index 00000000..164e65cd --- /dev/null +++ b/buildroot-2022.02.1/package/babeltrace2/babeltrace2.hash @@ -0,0 +1,8 @@ +# From https://www.efficios.com/files/babeltrace/babeltrace2-2.0.4.tar.bz2.sha256 +sha256 774f116685dab5db9c51577dde43c8c1df482aae6bb78a089b1e9e7c8b489bca babeltrace2-2.0.4.tar.bz2 + +# Hash for license files +sha256 d919c6347409efde6dea63c6f349fb06bc060a2b721fc3df07b5f720b5f1d60e LICENSE +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 gpl-2.0.txt +sha256 c68fd1ffc1623ea0dace21abf57305818e4998a4ae0c79010aaaa943eb660b55 lgpl-2.1.txt +sha256 2f801b7c2494850c3d91da820eb230502dc0192c9d0db024db37ec08d0be1434 mit-license.txt diff --git a/buildroot-2022.02.1/package/babeltrace2/babeltrace2.mk b/buildroot-2022.02.1/package/babeltrace2/babeltrace2.mk new file mode 100644 index 00000000..eedfc72b --- /dev/null +++ b/buildroot-2022.02.1/package/babeltrace2/babeltrace2.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# babeltrace2 +# +################################################################################ + +BABELTRACE2_SITE = https://www.efficios.com/files/babeltrace +BABELTRACE2_VERSION = 2.0.4 +BABELTRACE2_SOURCE = babeltrace2-$(BABELTRACE2_VERSION).tar.bz2 +BABELTRACE2_LICENSE = MIT, LGPL-2.1 (src/common/list.h), GPL-2.0 (test code) +BABELTRACE2_LICENSE_FILES = mit-license.txt lgpl-2.1.txt gpl-2.0.txt LICENSE +# We're patching configure.ac +BABELTRACE2_AUTORECONF = YES +BABELTRACE2_CONF_OPTS = --disable-man-pages +BABELTRACE2_DEPENDENCIES = libglib2 host-pkgconf +# The host-elfutils dependency is optional, but since we don't have +# options for host packages, just build support for it +# unconditionally. +HOST_BABELTRACE2_DEPENDENCIES = host-libglib2 host-pkgconf host-elfutils +HOST_BABELTRACE2_CONF_OPTS += --enable-debug-info + +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +BABELTRACE2_DEPENDENCIES += elfutils +BABELTRACE2_CONF_OPTS += --enable-debug-info +BABELTRACE2_CONF_ENV += bt_cv_lib_elfutils=yes +else +BABELTRACE2_CONF_OPTS += --disable-debug-info +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +BABELTRACE2_CONF_ENV += LIBS=-latomic +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/balena-engine/Config.in b/buildroot-2022.02.1/package/balena-engine/Config.in similarity index 100% rename from buildroot-2021.05/package/balena-engine/Config.in rename to buildroot-2022.02.1/package/balena-engine/Config.in diff --git a/buildroot-2021.05/package/balena-engine/balena-engine.hash b/buildroot-2022.02.1/package/balena-engine/balena-engine.hash similarity index 100% rename from buildroot-2021.05/package/balena-engine/balena-engine.hash rename to buildroot-2022.02.1/package/balena-engine/balena-engine.hash diff --git a/buildroot-2021.05/package/balena-engine/balena-engine.mk b/buildroot-2022.02.1/package/balena-engine/balena-engine.mk similarity index 100% rename from buildroot-2021.05/package/balena-engine/balena-engine.mk rename to buildroot-2022.02.1/package/balena-engine/balena-engine.mk diff --git a/buildroot-2021.05/package/bandwidthd/0001-src-bandwidthd.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/bandwidthd/0001-src-bandwidthd.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/bandwidthd/0001-src-bandwidthd.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/bandwidthd/0001-src-bandwidthd.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/bandwidthd/Config.in b/buildroot-2022.02.1/package/bandwidthd/Config.in similarity index 100% rename from buildroot-2021.05/package/bandwidthd/Config.in rename to buildroot-2022.02.1/package/bandwidthd/Config.in diff --git a/buildroot-2021.05/package/bandwidthd/bandwidthd.hash b/buildroot-2022.02.1/package/bandwidthd/bandwidthd.hash similarity index 100% rename from buildroot-2021.05/package/bandwidthd/bandwidthd.hash rename to buildroot-2022.02.1/package/bandwidthd/bandwidthd.hash diff --git a/buildroot-2021.05/package/bandwidthd/bandwidthd.mk b/buildroot-2022.02.1/package/bandwidthd/bandwidthd.mk similarity index 100% rename from buildroot-2021.05/package/bandwidthd/bandwidthd.mk rename to buildroot-2022.02.1/package/bandwidthd/bandwidthd.mk diff --git a/buildroot-2021.05/package/bandwidthd/bandwidthd.service b/buildroot-2022.02.1/package/bandwidthd/bandwidthd.service similarity index 100% rename from buildroot-2021.05/package/bandwidthd/bandwidthd.service rename to buildroot-2022.02.1/package/bandwidthd/bandwidthd.service diff --git a/buildroot-2021.05/package/bash-completion/Config.in b/buildroot-2022.02.1/package/bash-completion/Config.in similarity index 100% rename from buildroot-2021.05/package/bash-completion/Config.in rename to buildroot-2022.02.1/package/bash-completion/Config.in diff --git a/buildroot-2021.05/package/bash-completion/bash-completion.hash b/buildroot-2022.02.1/package/bash-completion/bash-completion.hash similarity index 100% rename from buildroot-2021.05/package/bash-completion/bash-completion.hash rename to buildroot-2022.02.1/package/bash-completion/bash-completion.hash diff --git a/buildroot-2021.05/package/bash-completion/bash-completion.mk b/buildroot-2022.02.1/package/bash-completion/bash-completion.mk similarity index 100% rename from buildroot-2021.05/package/bash-completion/bash-completion.mk rename to buildroot-2022.02.1/package/bash-completion/bash-completion.mk diff --git a/buildroot-2021.05/package/bash/0005-input.h-add-missing-include-on-stdio.h.patch b/buildroot-2022.02.1/package/bash/0001-input.h-add-missing-include-on-stdio.h.patch similarity index 100% rename from buildroot-2021.05/package/bash/0005-input.h-add-missing-include-on-stdio.h.patch rename to buildroot-2022.02.1/package/bash/0001-input.h-add-missing-include-on-stdio.h.patch diff --git a/buildroot-2021.05/package/bash/0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch b/buildroot-2022.02.1/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch similarity index 100% rename from buildroot-2021.05/package/bash/0006-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch rename to buildroot-2022.02.1/package/bash/0002-locale-fix-typo-local_shiftstates-vs.-locale_shiftst.patch diff --git a/buildroot-2021.05/package/bash/0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch b/buildroot-2022.02.1/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch similarity index 100% rename from buildroot-2021.05/package/bash/0007-glob-fix-dequote_pathname-vs.-udequote_pathname.patch rename to buildroot-2022.02.1/package/bash/0003-glob-fix-dequote_pathname-vs.-udequote_pathname.patch diff --git a/buildroot-2021.05/package/bash/Config.in b/buildroot-2022.02.1/package/bash/Config.in similarity index 100% rename from buildroot-2021.05/package/bash/Config.in rename to buildroot-2022.02.1/package/bash/Config.in diff --git a/buildroot-2022.02.1/package/bash/bash.hash b/buildroot-2022.02.1/package/bash/bash.hash new file mode 100644 index 00000000..4660e9d3 --- /dev/null +++ b/buildroot-2022.02.1/package/bash/bash.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature from +# https://ftp.gnu.org/gnu/bash/bash-5.1.16.tar.gz.sig +sha256 5bac17218d3911834520dad13cd1f85ab944e1c09ae1aba55906be1f8192f558 bash-5.1.16.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/bash/bash.mk b/buildroot-2022.02.1/package/bash/bash.mk new file mode 100644 index 00000000..3aca2289 --- /dev/null +++ b/buildroot-2022.02.1/package/bash/bash.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# bash +# +################################################################################ + +BASH_VERSION = 5.1.16 +BASH_SITE = $(BR2_GNU_MIRROR)/bash +BASH_DEPENDENCIES = ncurses readline host-bison +BASH_LICENSE = GPL-3.0+ +BASH_LICENSE_FILES = COPYING +BASH_CPE_ID_VENDOR = gnu + +# We want the bash binary in /bin +BASH_CONF_OPTS = \ + --bindir=/bin \ + --with-installed-readline \ + --without-bash-malloc + +BASH_CONF_ENV += \ + ac_cv_rl_prefix="$(STAGING_DIR)" \ + ac_cv_rl_version="$(READLINE_VERSION)" \ + bash_cv_getcwd_malloc=yes \ + bash_cv_job_control_missing=present \ + bash_cv_sys_named_pipes=present \ + bash_cv_func_sigsetjmp=present \ + bash_cv_printf_a_format=yes + +# The static build needs some trickery +ifeq ($(BR2_STATIC_LIBS),y) +BASH_CONF_OPTS += --enable-static-link +# bash wants to redefine the getenv() function. To check whether this is +# possible, AC_TRY_RUN is used which is not possible in +# cross-compilation. +# On uClibc, redefining getenv is not possible; on glibc and musl it is. +# Related: +# http://lists.gnu.org/archive/html/bug-bash/2012-03/msg00052.html +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +BASH_CONF_ENV += bash_cv_getenv_redef=no +else +BASH_CONF_ENV += bash_cv_getenv_redef=yes +endif +endif + +define BASH_REMOVE_UNUSED_FILES + rm -f $(TARGET_DIR)/bin/bashbug +endef +BASH_POST_INSTALL_TARGET_HOOKS += BASH_REMOVE_UNUSED_FILES + +ifeq ($(BR2_PACKAGE_BASH_LOADABLE_EXAMPLES),y) +define BASH_REMOVE_LOADABLE_UNUSED_FILES + rm -f $(TARGET_DIR)/usr/lib/bash/Makefile.inc + rm -f $(TARGET_DIR)/usr/lib/bash/loadables.h +endef +BASH_POST_INSTALL_TARGET_HOOKS += BASH_REMOVE_LOADABLE_UNUSED_FILES +else +define BASH_REMOVE_LOADABLE_EXAMPLES + rm -rf $(TARGET_DIR)/usr/lib/bash +endef +BASH_POST_INSTALL_TARGET_HOOKS += BASH_REMOVE_LOADABLE_EXAMPLES +endif + +# Add /bin/bash to /etc/shells otherwise some login tools like dropbear +# can reject the user connection. See man shells. +define BASH_ADD_MKSH_TO_SHELLS + grep -qsE '^/bin/bash$$' $(TARGET_DIR)/etc/shells \ + || echo "/bin/bash" >> $(TARGET_DIR)/etc/shells +endef +BASH_TARGET_FINALIZE_HOOKS += BASH_ADD_MKSH_TO_SHELLS + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/bat/Config.in b/buildroot-2022.02.1/package/bat/Config.in new file mode 100644 index 00000000..515eaf59 --- /dev/null +++ b/buildroot-2022.02.1/package/bat/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_BAT + bool "bat" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_RUSTC + # we need a full version of less + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_LESS + help + A cat(1) clone with syntax highlighting and Git integration. + + https://github.com/sharkdp/bat diff --git a/buildroot-2022.02.1/package/bat/bat.hash b/buildroot-2022.02.1/package/bat/bat.hash new file mode 100644 index 00000000..f4d3e32c --- /dev/null +++ b/buildroot-2022.02.1/package/bat/bat.hash @@ -0,0 +1,4 @@ +# Locally generated +sha256 7940641baaa61cd3bcd1c3db4804d179609d6ccd955868928a129bf3f853e0b2 bat-0.19.0.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE-APACHE +sha256 64de710b6309a7db5e44ad0af382300c7fb6f6d116d8ae32f0164e05db033068 LICENSE-MIT diff --git a/buildroot-2022.02.1/package/bat/bat.mk b/buildroot-2022.02.1/package/bat/bat.mk new file mode 100644 index 00000000..dc29a854 --- /dev/null +++ b/buildroot-2022.02.1/package/bat/bat.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# bat +# +################################################################################ + +BAT_VERSION = 0.19.0 +BAT_SITE = $(call github,sharkdp,bat,v$(BAT_VERSION)) +BAT_LICENSE = Apache-2.0 or MIT +BAT_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT + +$(eval $(cargo-package)) diff --git a/buildroot-2021.05/package/batctl/Config.in b/buildroot-2022.02.1/package/batctl/Config.in similarity index 100% rename from buildroot-2021.05/package/batctl/Config.in rename to buildroot-2022.02.1/package/batctl/Config.in diff --git a/buildroot-2021.05/package/batctl/batctl.hash b/buildroot-2022.02.1/package/batctl/batctl.hash similarity index 100% rename from buildroot-2021.05/package/batctl/batctl.hash rename to buildroot-2022.02.1/package/batctl/batctl.hash diff --git a/buildroot-2021.05/package/batctl/batctl.mk b/buildroot-2022.02.1/package/batctl/batctl.mk similarity index 100% rename from buildroot-2021.05/package/batctl/batctl.mk rename to buildroot-2022.02.1/package/batctl/batctl.mk diff --git a/buildroot-2021.05/package/batman-adv/Config.in b/buildroot-2022.02.1/package/batman-adv/Config.in similarity index 100% rename from buildroot-2021.05/package/batman-adv/Config.in rename to buildroot-2022.02.1/package/batman-adv/Config.in diff --git a/buildroot-2022.02.1/package/batman-adv/batman-adv.hash b/buildroot-2022.02.1/package/batman-adv/batman-adv.hash new file mode 100644 index 00000000..c0986637 --- /dev/null +++ b/buildroot-2022.02.1/package/batman-adv/batman-adv.hash @@ -0,0 +1,7 @@ +# From https://downloads.open-mesh.org/batman/releases/batman-adv-2021.4/batman-adv-2021.4.tar.gz.sha1 +sha1 80a3e4d763b6bf35db6e561ed9d6775dc874d7c6 batman-adv-2021.4.tar.gz + +# Hash for license files +sha256 cff7a2f160045fd0dbf1f1cd7e35e93bf489e81cb8b9501b3756daa391f3eb1b batman-adv-2021.4.tar.gz +sha256 cecbf53d1148e13256ac29f8b900655b7fc8dc12d59939a95bc2323ea1747025 LICENSES/preferred/GPL-2.0 +sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/preferred/MIT diff --git a/buildroot-2022.02.1/package/batman-adv/batman-adv.mk b/buildroot-2022.02.1/package/batman-adv/batman-adv.mk new file mode 100644 index 00000000..838f9b18 --- /dev/null +++ b/buildroot-2022.02.1/package/batman-adv/batman-adv.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# batman-adv +# +################################################################################ + +BATMAN_ADV_VERSION = 2021.4 +BATMAN_ADV_SITE = https://downloads.open-mesh.org/batman/stable/sources/batman-adv +BATMAN_ADV_LICENSE = GPL-2.0, MIT (batman_adv.h) +BATMAN_ADV_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT + +BATMAN_ADV_CFLAGS = \ + -I$(@D)/compat-include/ \ + -I$(@D)/include/ \ + -include $(@D)/compat.h \ + -DBATADV_SOURCE_VERSION=\"\\\"$(BATMAN_ADV_VERSION)\\\"\" + +# Bridge Loop Avoidance, Distributed Arp Table are always enabled +BATMAN_ADV_MODULE_MAKE_OPTS = \ + KVER=$(LINUX_VERSION_PROBED) \ + INSTALL_MOD_DIR=updates/net/batman-adv \ + NOSTDINC_FLAGS="$(BATMAN_ADV_CFLAGS)" \ + CONFIG_BATMAN_ADV=m \ + CONFIG_BATMAN_ADV_BLA=y \ + CONFIG_BATMAN_ADV_DAT=y \ + CONFIG_BATMAN_ADV_MCAST=y \ + CONFIG_BATMAN_ADV_BATMAN_V=$(if $(BR2_PACKAGE_BATMAN_ADV_BATMAN_V),y,n) \ + CONFIG_BATMAN_ADV_DEBUG=$(if $(BR2_PACKAGE_BATMAN_ADV_DEBUG),y,n) \ + CONFIG_BATMAN_ADV_NC=$(if $(BR2_PACKAGE_BATMAN_ADV_NC),y,n) + +BATMAN_ADV_MODULE_SUBDIRS = net/batman-adv + +define BATMAN_ADV_CONFIGURE_CMDS + $(BATMAN_ADV_MODULE_MAKE_OPTS) $(@D)/gen-compat-autoconf.sh $(@D)/compat-autoconf.h +endef + +define BATMAN_ADV_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_LIBCRC32C) +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/bats-core/Config.in b/buildroot-2022.02.1/package/bats-core/Config.in similarity index 100% rename from buildroot-2021.05/package/bats-core/Config.in rename to buildroot-2022.02.1/package/bats-core/Config.in diff --git a/buildroot-2022.02.1/package/bats-core/bats-core.hash b/buildroot-2022.02.1/package/bats-core/bats-core.hash new file mode 100644 index 00000000..369cc703 --- /dev/null +++ b/buildroot-2022.02.1/package/bats-core/bats-core.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 bff517da043ae24440ec8272039f396c2a7907076ac67693c0f18d4a17c08f7d bats-core-1.4.1.tar.gz + +# License files +sha256 55074b2b3b87809105034e1468e59076554d76a80c67bcc592000cc3d929852d LICENSE.md diff --git a/buildroot-2022.02.1/package/bats-core/bats-core.mk b/buildroot-2022.02.1/package/bats-core/bats-core.mk new file mode 100644 index 00000000..181d4eb0 --- /dev/null +++ b/buildroot-2022.02.1/package/bats-core/bats-core.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# bats-core +# +################################################################################ + +BATS_CORE_VERSION = 1.4.1 +BATS_CORE_SITE = $(call github,bats-core,bats-core,v$(BATS_CORE_VERSION)) +BATS_CORE_LICENSE = MIT +BATS_CORE_LICENSE_FILES = LICENSE.md + +define BATS_CORE_INSTALL_TARGET_CMDS + $(@D)/install.sh $(TARGET_DIR)/usr +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/bayer2rgb-neon/Config.in b/buildroot-2022.02.1/package/bayer2rgb-neon/Config.in new file mode 100644 index 00000000..b0e3017b --- /dev/null +++ b/buildroot-2022.02.1/package/bayer2rgb-neon/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS + bool + default y if BR2_arm && BR2_ARM_CPU_HAS_NEON + default y if BR2_aarch64 + +config BR2_PACKAGE_BAYER2RGB_NEON + bool "bayer2rgb-neon" + depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS + depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 + help + bayer2rgb-neon is a library which allows + to decode raw camera bayer to RGB using + NEON hardware acceleration. + + https://gitlab-ext.sigma-chemnitz.de/ensc/bayer2rgb + +comment "bayer2rgb-neon needs a toolchain w/ C++, dynamic library, gcc >= 4.9" + depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/bayer2rgb-neon/bayer2rgb-neon.hash b/buildroot-2022.02.1/package/bayer2rgb-neon/bayer2rgb-neon.hash new file mode 100644 index 00000000..26a14fcb --- /dev/null +++ b/buildroot-2022.02.1/package/bayer2rgb-neon/bayer2rgb-neon.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 edf451dbb52ad67eb35f9043390bd75ea7228d493c99184aae80b3bd27beab62 bayer2rgb-neon-15feb1115b4828488cc36d09f625e23e8b6a0ec5-br1.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/bayer2rgb-neon/bayer2rgb-neon.mk b/buildroot-2022.02.1/package/bayer2rgb-neon/bayer2rgb-neon.mk new file mode 100644 index 00000000..212fe767 --- /dev/null +++ b/buildroot-2022.02.1/package/bayer2rgb-neon/bayer2rgb-neon.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# bayer2rgb-neon +# +################################################################################ + +BAYER2RGB_NEON_VERSION = 15feb1115b4828488cc36d09f625e23e8b6a0ec5 +BAYER2RGB_NEON_SITE = https://gitlab-ext.sigma-chemnitz.de/ensc/bayer2rgb.git +BAYER2RGB_NEON_SITE_METHOD = git +BAYER2RGB_NEON_LICENSE = GPL-3.0 +BAYER2RGB_NEON_LICENSE_FILES = COPYING +BAYER2RGB_NEON_INSTALL_STAGING = YES +BAYER2RGB_NEON_DEPENDENCIES = host-pkgconf host-gengetopt +BAYER2RGB_NEON_AUTORECONF = YES + +BAYER2RGB_NEON_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_arm),y) +BAYER2RGB_NEON_CFLAGS += -mfpu=neon +endif + +BAYER2RGB_NEON_CONF_ENV = CFLAGS="$(BAYER2RGB_NEON_CFLAGS)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bc/0001-bc-use-MAKEINFO-variable-for-docs.patch b/buildroot-2022.02.1/package/bc/0001-bc-use-MAKEINFO-variable-for-docs.patch similarity index 100% rename from buildroot-2021.05/package/bc/0001-bc-use-MAKEINFO-variable-for-docs.patch rename to buildroot-2022.02.1/package/bc/0001-bc-use-MAKEINFO-variable-for-docs.patch diff --git a/buildroot-2021.05/package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch b/buildroot-2022.02.1/package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch similarity index 100% rename from buildroot-2021.05/package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch rename to buildroot-2022.02.1/package/bc/0002-notice-read-and-write-errors-on-input-and-output.patch diff --git a/buildroot-2021.05/package/bc/0003-dc-fix-exit-code-of-q-command.patch b/buildroot-2022.02.1/package/bc/0003-dc-fix-exit-code-of-q-command.patch similarity index 100% rename from buildroot-2021.05/package/bc/0003-dc-fix-exit-code-of-q-command.patch rename to buildroot-2022.02.1/package/bc/0003-dc-fix-exit-code-of-q-command.patch diff --git a/buildroot-2021.05/package/bc/0004-no-gen-libmath.patch b/buildroot-2022.02.1/package/bc/0004-no-gen-libmath.patch similarity index 100% rename from buildroot-2021.05/package/bc/0004-no-gen-libmath.patch rename to buildroot-2022.02.1/package/bc/0004-no-gen-libmath.patch diff --git a/buildroot-2021.05/package/bc/Config.in b/buildroot-2022.02.1/package/bc/Config.in similarity index 100% rename from buildroot-2021.05/package/bc/Config.in rename to buildroot-2022.02.1/package/bc/Config.in diff --git a/buildroot-2021.05/package/bc/bc.hash b/buildroot-2022.02.1/package/bc/bc.hash similarity index 100% rename from buildroot-2021.05/package/bc/bc.hash rename to buildroot-2022.02.1/package/bc/bc.hash diff --git a/buildroot-2021.05/package/bc/bc.mk b/buildroot-2022.02.1/package/bc/bc.mk similarity index 100% rename from buildroot-2021.05/package/bc/bc.mk rename to buildroot-2022.02.1/package/bc/bc.mk diff --git a/buildroot-2021.05/package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch b/buildroot-2022.02.1/package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch similarity index 100% rename from buildroot-2021.05/package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch rename to buildroot-2022.02.1/package/bcache-tools/0001-Don-t-inline-crc64-for-gcc-5-compatability.patch diff --git a/buildroot-2021.05/package/bcache-tools/Config.in b/buildroot-2022.02.1/package/bcache-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/bcache-tools/Config.in rename to buildroot-2022.02.1/package/bcache-tools/Config.in diff --git a/buildroot-2021.05/package/bcache-tools/bcache-tools.hash b/buildroot-2022.02.1/package/bcache-tools/bcache-tools.hash similarity index 100% rename from buildroot-2021.05/package/bcache-tools/bcache-tools.hash rename to buildroot-2022.02.1/package/bcache-tools/bcache-tools.hash diff --git a/buildroot-2021.05/package/bcache-tools/bcache-tools.mk b/buildroot-2022.02.1/package/bcache-tools/bcache-tools.mk similarity index 100% rename from buildroot-2021.05/package/bcache-tools/bcache-tools.mk rename to buildroot-2022.02.1/package/bcache-tools/bcache-tools.mk diff --git a/buildroot-2021.05/package/bcg729/Config.in b/buildroot-2022.02.1/package/bcg729/Config.in similarity index 100% rename from buildroot-2021.05/package/bcg729/Config.in rename to buildroot-2022.02.1/package/bcg729/Config.in diff --git a/buildroot-2021.05/package/bcg729/bcg729.hash b/buildroot-2022.02.1/package/bcg729/bcg729.hash similarity index 100% rename from buildroot-2021.05/package/bcg729/bcg729.hash rename to buildroot-2022.02.1/package/bcg729/bcg729.hash diff --git a/buildroot-2021.05/package/bcg729/bcg729.mk b/buildroot-2022.02.1/package/bcg729/bcg729.mk similarity index 100% rename from buildroot-2021.05/package/bcg729/bcg729.mk rename to buildroot-2022.02.1/package/bcg729/bcg729.mk diff --git a/buildroot-2022.02.1/package/bcm2835/Config.in b/buildroot-2022.02.1/package/bcm2835/Config.in new file mode 100644 index 00000000..8c77a62a --- /dev/null +++ b/buildroot-2022.02.1/package/bcm2835/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_BCM2835 + bool "bcm2835" + depends on BR2_arm + help + C library for Broadcom BCM 2835 as used in Raspberry Pi. + It provides access to GPIO and other IO functions on the + Broadcom BCM 2835 chip, allowing access to the GPIO pins + on the 26 pin IDE plug on the RPi board so you can control + and interface with various external devices. + + WARNING: the opinion of the Buildroot developers is that + such library is a complete abomination as it entirely works + around the standard Linux interfaces to access GPIOs, I2C, + SPI busses or other IOs. The library directly remaps the + hardware registers in user-space, completely bypassing what + the kernel drivers are doing, and potentially conflicting + with them. + + https://www.airspayce.com/mikem/bcm2835 diff --git a/buildroot-2022.02.1/package/bcm2835/bcm2835.hash b/buildroot-2022.02.1/package/bcm2835/bcm2835.hash new file mode 100644 index 00000000..2cdc35fc --- /dev/null +++ b/buildroot-2022.02.1/package/bcm2835/bcm2835.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 564920d205977d7e2846e434947708455d468d3a952feca9faef643abd03a227 bcm2835-1.71.tar.gz +sha256 8b1ba204bb69a0ade2bfcf65ef294a920f6bb361b317dba43c7ef29d96332b9b COPYING diff --git a/buildroot-2022.02.1/package/bcm2835/bcm2835.mk b/buildroot-2022.02.1/package/bcm2835/bcm2835.mk new file mode 100644 index 00000000..4870aa10 --- /dev/null +++ b/buildroot-2022.02.1/package/bcm2835/bcm2835.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# bcm2835 +# +################################################################################ + +BCM2835_VERSION = 1.71 +BCM2835_SITE = https://www.airspayce.com/mikem/bcm2835 +BCM2835_LICENSE = GPL-3.0 +BCM2835_LICENSE_FILES = COPYING +BCM2835_INSTALL_STAGING = YES + +# disable doxygen doc generation +BCM2835_CONF_ENV = ac_cv_prog_DOXYGEN=/bin/true + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch b/buildroot-2022.02.1/package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch similarity index 100% rename from buildroot-2021.05/package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch rename to buildroot-2022.02.1/package/bctoolbox/0001-Fix-Libs.private-flags-for-mbedtls.patch diff --git a/buildroot-2021.05/package/bctoolbox/Config.in b/buildroot-2022.02.1/package/bctoolbox/Config.in similarity index 100% rename from buildroot-2021.05/package/bctoolbox/Config.in rename to buildroot-2022.02.1/package/bctoolbox/Config.in diff --git a/buildroot-2021.05/package/bctoolbox/bctoolbox.hash b/buildroot-2022.02.1/package/bctoolbox/bctoolbox.hash similarity index 100% rename from buildroot-2021.05/package/bctoolbox/bctoolbox.hash rename to buildroot-2022.02.1/package/bctoolbox/bctoolbox.hash diff --git a/buildroot-2021.05/package/bctoolbox/bctoolbox.mk b/buildroot-2022.02.1/package/bctoolbox/bctoolbox.mk similarity index 100% rename from buildroot-2021.05/package/bctoolbox/bctoolbox.mk rename to buildroot-2022.02.1/package/bctoolbox/bctoolbox.mk diff --git a/buildroot-2021.05/package/bcusdk/0001-fd_set-requires-inclusion-of-sys-select.h.patch b/buildroot-2022.02.1/package/bcusdk/0001-fd_set-requires-inclusion-of-sys-select.h.patch similarity index 100% rename from buildroot-2021.05/package/bcusdk/0001-fd_set-requires-inclusion-of-sys-select.h.patch rename to buildroot-2022.02.1/package/bcusdk/0001-fd_set-requires-inclusion-of-sys-select.h.patch diff --git a/buildroot-2021.05/package/bcusdk/0002-eibd-fix-endless-recursion-when-using-USB-backends.patch b/buildroot-2022.02.1/package/bcusdk/0002-eibd-fix-endless-recursion-when-using-USB-backends.patch similarity index 100% rename from buildroot-2021.05/package/bcusdk/0002-eibd-fix-endless-recursion-when-using-USB-backends.patch rename to buildroot-2022.02.1/package/bcusdk/0002-eibd-fix-endless-recursion-when-using-USB-backends.patch diff --git a/buildroot-2021.05/package/bcusdk/Config.in b/buildroot-2022.02.1/package/bcusdk/Config.in similarity index 100% rename from buildroot-2021.05/package/bcusdk/Config.in rename to buildroot-2022.02.1/package/bcusdk/Config.in diff --git a/buildroot-2021.05/package/bcusdk/bcusdk.hash b/buildroot-2022.02.1/package/bcusdk/bcusdk.hash similarity index 100% rename from buildroot-2021.05/package/bcusdk/bcusdk.hash rename to buildroot-2022.02.1/package/bcusdk/bcusdk.hash diff --git a/buildroot-2021.05/package/bcusdk/bcusdk.mk b/buildroot-2022.02.1/package/bcusdk/bcusdk.mk similarity index 100% rename from buildroot-2021.05/package/bcusdk/bcusdk.mk rename to buildroot-2022.02.1/package/bcusdk/bcusdk.mk diff --git a/buildroot-2022.02.1/package/bdwgc/Config.in b/buildroot-2022.02.1/package/bdwgc/Config.in new file mode 100644 index 00000000..aad2bc9e --- /dev/null +++ b/buildroot-2022.02.1/package/bdwgc/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_BDWGC + bool "bdwgc" + depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS + select BR2_PACKAGE_LIBATOMIC_OPS + help + The Boehm-Demers-Weiser conservative garbage collector can + be used as a garbage collecting replacement for C 'malloc' + or C++ 'new'. + + https://www.hboehm.info/gc/ diff --git a/buildroot-2022.02.1/package/bdwgc/bdwgc.hash b/buildroot-2022.02.1/package/bdwgc/bdwgc.hash new file mode 100644 index 00000000..d0459969 --- /dev/null +++ b/buildroot-2022.02.1/package/bdwgc/bdwgc.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 3b4914abc9fa76593596773e4da671d7ed4d5390e3d46fbf2e5f155e121bea11 gc-8.0.6.tar.gz +sha256 0aab7a56a92ed878c4a5464cf282d65f38bcdee64fe9cf213e26254bddb3f340 README.QUICK diff --git a/buildroot-2022.02.1/package/bdwgc/bdwgc.mk b/buildroot-2022.02.1/package/bdwgc/bdwgc.mk new file mode 100644 index 00000000..d1c9d4df --- /dev/null +++ b/buildroot-2022.02.1/package/bdwgc/bdwgc.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# bdwgc +# +################################################################################ + +BDWGC_VERSION = 8.0.6 +BDWGC_SOURCE = gc-$(BDWGC_VERSION).tar.gz +BDWGC_SITE = https://github.com/ivmai/bdwgc/releases/download/v$(BDWGC_VERSION) +BDWGC_INSTALL_STAGING = YES +BDWGC_LICENSE = bdwgc license +BDWGC_LICENSE_FILES = README.QUICK +BDWGC_CPE_ID_VENDOR = bdwgc_project +BDWGC_DEPENDENCIES = libatomic_ops host-pkgconf +HOST_BDWGC_DEPENDENCIES = host-libatomic_ops host-pkgconf + +BDWGC_CONF_OPTS = CFLAGS_EXTRA="$(BDWGC_CFLAGS_EXTRA)" +ifeq ($(BR2_sparc),y) +BDWGC_CFLAGS_EXTRA += -DAO_NO_SPARC_V9 +endif +ifeq ($(BR2_STATIC_LIBS),y) +BDWGC_CFLAGS_EXTRA += -DGC_NO_DLOPEN +endif + +# Ensure we use the system libatomic_ops, and not the internal one. +BDWGC_CONF_OPTS += --with-libatomic-ops=yes +HOST_BDWGC_CONF_OPTS = --with-libatomic-ops=yes + +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +BDWGC_CONF_OPTS += --enable-cplusplus +else +BDWGC_CONF_OPTS += --disable-cplusplus +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/bearssl/Config.in b/buildroot-2022.02.1/package/bearssl/Config.in similarity index 100% rename from buildroot-2021.05/package/bearssl/Config.in rename to buildroot-2022.02.1/package/bearssl/Config.in diff --git a/buildroot-2021.05/package/bearssl/bearssl.hash b/buildroot-2022.02.1/package/bearssl/bearssl.hash similarity index 100% rename from buildroot-2021.05/package/bearssl/bearssl.hash rename to buildroot-2022.02.1/package/bearssl/bearssl.hash diff --git a/buildroot-2021.05/package/bearssl/bearssl.mk b/buildroot-2022.02.1/package/bearssl/bearssl.mk similarity index 100% rename from buildroot-2021.05/package/bearssl/bearssl.mk rename to buildroot-2022.02.1/package/bearssl/bearssl.mk diff --git a/buildroot-2021.05/package/beecrypt/0001-cppglue.cxx-cplusplus-only.patch b/buildroot-2022.02.1/package/beecrypt/0001-cppglue.cxx-cplusplus-only.patch similarity index 100% rename from buildroot-2021.05/package/beecrypt/0001-cppglue.cxx-cplusplus-only.patch rename to buildroot-2022.02.1/package/beecrypt/0001-cppglue.cxx-cplusplus-only.patch diff --git a/buildroot-2021.05/package/beecrypt/0002-build-system.patch b/buildroot-2022.02.1/package/beecrypt/0002-build-system.patch similarity index 100% rename from buildroot-2021.05/package/beecrypt/0002-build-system.patch rename to buildroot-2022.02.1/package/beecrypt/0002-build-system.patch diff --git a/buildroot-2021.05/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch b/buildroot-2022.02.1/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch similarity index 100% rename from buildroot-2021.05/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch rename to buildroot-2022.02.1/package/beecrypt/0003-don-t-check-for-cplusplus-compiler.patch diff --git a/buildroot-2021.05/package/beecrypt/Config.in b/buildroot-2022.02.1/package/beecrypt/Config.in similarity index 100% rename from buildroot-2021.05/package/beecrypt/Config.in rename to buildroot-2022.02.1/package/beecrypt/Config.in diff --git a/buildroot-2021.05/package/beecrypt/beecrypt.hash b/buildroot-2022.02.1/package/beecrypt/beecrypt.hash similarity index 100% rename from buildroot-2021.05/package/beecrypt/beecrypt.hash rename to buildroot-2022.02.1/package/beecrypt/beecrypt.hash diff --git a/buildroot-2021.05/package/beecrypt/beecrypt.mk b/buildroot-2022.02.1/package/beecrypt/beecrypt.mk similarity index 100% rename from buildroot-2021.05/package/beecrypt/beecrypt.mk rename to buildroot-2022.02.1/package/beecrypt/beecrypt.mk diff --git a/buildroot-2021.05/package/belle-sip/Config.in b/buildroot-2022.02.1/package/belle-sip/Config.in similarity index 100% rename from buildroot-2021.05/package/belle-sip/Config.in rename to buildroot-2022.02.1/package/belle-sip/Config.in diff --git a/buildroot-2021.05/package/belle-sip/belle-sip.hash b/buildroot-2022.02.1/package/belle-sip/belle-sip.hash similarity index 100% rename from buildroot-2021.05/package/belle-sip/belle-sip.hash rename to buildroot-2022.02.1/package/belle-sip/belle-sip.hash diff --git a/buildroot-2022.02.1/package/belle-sip/belle-sip.mk b/buildroot-2022.02.1/package/belle-sip/belle-sip.mk new file mode 100644 index 00000000..11b96f3f --- /dev/null +++ b/buildroot-2022.02.1/package/belle-sip/belle-sip.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# belle-sip +# +################################################################################ + +BELLE_SIP_VERSION = 4.4.8 +BELLE_SIP_SITE = \ + https://gitlab.linphone.org/BC/public/belle-sip/-/archive/$(BELLE_SIP_VERSION) +BELLE_SIP_LICENSE = GPL-3.0+ +BELLE_SIP_LICENSE_FILES = LICENSE.txt +BELLE_SIP_CPE_ID_VENDOR = linphone +BELLE_SIP_INSTALL_STAGING = YES +BELLE_SIP_DEPENDENCIES = \ + bctoolbox \ + $(if $(BR2_PACKAGE_ZLIB),zlib) +BELLE_SIP_CONF_OPTS = \ + -DENABLE_STRICT=OFF \ + -DENABLE_TESTS=OFF + +ifeq ($(BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY),y) +BELLE_SIP_CONF_OPTS += -DENABLE_MDNS=ON +BELLE_SIP_DEPENDENCIES += avahi +else +BELLE_SIP_CONF_OPTS += -DENABLE_MDNS=OFF +endif + +ifeq ($(BR2_STATIC_LIBS),y) +BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=ON +else ifeq ($(BR2_SHARED_LIBS),y) +BELLE_SIP_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF +endif + +BELLE_SIP_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_99140),y) +BELLE_SIP_CFLAGS += -O0 +endif + +BELLE_SIP_CONF_OPTS += -DCMAKE_C_FLAGS="$(BELLE_SIP_CFLAGS)" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/belr/Config.in b/buildroot-2022.02.1/package/belr/Config.in similarity index 100% rename from buildroot-2021.05/package/belr/Config.in rename to buildroot-2022.02.1/package/belr/Config.in diff --git a/buildroot-2021.05/package/belr/belr.hash b/buildroot-2022.02.1/package/belr/belr.hash similarity index 100% rename from buildroot-2021.05/package/belr/belr.hash rename to buildroot-2022.02.1/package/belr/belr.hash diff --git a/buildroot-2022.02.1/package/belr/belr.mk b/buildroot-2022.02.1/package/belr/belr.mk new file mode 100644 index 00000000..26b94973 --- /dev/null +++ b/buildroot-2022.02.1/package/belr/belr.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# belr +# +################################################################################ + +BELR_VERSION = 4.4.8 +BELR_SITE = https://gitlab.linphone.org/BC/public/belr/-/archive/$(BELR_VERSION) +BELR_LICENSE = GPL-3.0+ +BELR_LICENSE_FILES = LICENSE.txt +BELR_INSTALL_STAGING = YES +BELR_DEPENDENCIES = bctoolbox +BELR_CONF_OPTS = \ + -DENABLE_STRICT=OFF \ + -DENABLE_TESTS=OFF \ + -DENABLE_TOOLS=OFF + +ifeq ($(BR2_STATIC_LIBS),y) +BELR_CONF_OPTS += -DENABLE_SHARED=OFF -DENABLE_STATIC=ON +else +# cannot build static and shared together +BELR_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/benejson/0001-c-std.patch b/buildroot-2022.02.1/package/benejson/0001-c-std.patch similarity index 100% rename from buildroot-2021.05/package/benejson/0001-c-std.patch rename to buildroot-2022.02.1/package/benejson/0001-c-std.patch diff --git a/buildroot-2021.05/package/benejson/0002-Use-print-as-a-function-for-Py3-compatibility.patch b/buildroot-2022.02.1/package/benejson/0002-Use-print-as-a-function-for-Py3-compatibility.patch similarity index 100% rename from buildroot-2021.05/package/benejson/0002-Use-print-as-a-function-for-Py3-compatibility.patch rename to buildroot-2022.02.1/package/benejson/0002-Use-print-as-a-function-for-Py3-compatibility.patch diff --git a/buildroot-2021.05/package/benejson/Config.in b/buildroot-2022.02.1/package/benejson/Config.in similarity index 100% rename from buildroot-2021.05/package/benejson/Config.in rename to buildroot-2022.02.1/package/benejson/Config.in diff --git a/buildroot-2021.05/package/benejson/benejson.hash b/buildroot-2022.02.1/package/benejson/benejson.hash similarity index 100% rename from buildroot-2021.05/package/benejson/benejson.hash rename to buildroot-2022.02.1/package/benejson/benejson.hash diff --git a/buildroot-2022.02.1/package/benejson/benejson.mk b/buildroot-2022.02.1/package/benejson/benejson.mk new file mode 100644 index 00000000..680e5b5b --- /dev/null +++ b/buildroot-2022.02.1/package/benejson/benejson.mk @@ -0,0 +1,60 @@ +################################################################################ +# +# benejson +# +################################################################################ + +BENEJSON_VERSION = 0.9.7 +BENEJSON_SITE = $(call github,codehero,benejson,$(BENEJSON_VERSION)) +BENEJSON_LICENSE = MIT +BENEJSON_LICENSE_FILES = LICENSE +BENEJSON_INSTALL_STAGING = YES +BENEJSON_DEPENDENCIES = host-scons + +# wchar support needs to be manually disabled +ifeq ($(BR2_USE_WCHAR),) +define BENEJSON_DISABLE_WCHAR + $(SED) 's,^#define BNJ_WCHAR_SUPPORT,#undef BNJ_WCHAR_SUPPORT,' \ + $(@D)/benejson/benejson.h +endef +BENEJSON_POST_PATCH_HOOKS += BENEJSON_DISABLE_WCHAR +endif + +BENEJSON_SCONS_TARGETS = include + +ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +BENEJSON_SCONS_TARGETS += lib/libbenejson.a +define BENEJSON_INSTALL_STATIC_LIB + $(INSTALL) -D -m 0644 $(@D)/lib/libbenejson.a \ + $(1)/usr/lib/libbenejson.a +endef +endif # Static enabled + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +BENEJSON_SCONS_TARGETS += lib/libbenejson.so +define BENEJSON_INSTALL_SHARED_LIB + $(INSTALL) -D -m 0644 $(@D)/lib/libbenejson.so \ + $(1)/usr/lib/libbenejson.so +endef +endif # Shared enabled + +define BENEJSON_BUILD_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) CROSS=$(TARGET_CROSS) \ + $(SCONS) $(BENEJSON_SCONS_TARGETS)) +endef + +define BENEJSON_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0644 $(@D)/include/benejson/benejson.h \ + $(STAGING_DIR)/usr/include/benejson/benejson.h; \ + $(INSTALL) -D -m 0644 $(@D)/include/benejson/pull.hh \ + $(STAGING_DIR)/usr/include/benejson/pull.hh + $(call BENEJSON_INSTALL_STATIC_LIB,$(STAGING_DIR)) + $(call BENEJSON_INSTALL_SHARED_LIB,$(STAGING_DIR)) +endef + +define BENEJSON_INSTALL_TARGET_CMDS + $(call BENEJSON_INSTALL_SHARED_LIB,$(TARGET_DIR)) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/bento4/0001-Add-support-for-cmake-install.patch b/buildroot-2022.02.1/package/bento4/0001-Add-support-for-cmake-install.patch new file mode 100644 index 00000000..cec0cb18 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0001-Add-support-for-cmake-install.patch @@ -0,0 +1,130 @@ +From ba95f55c495c4c34c75a95de843acfa00f6afe24 Mon Sep 17 00:00:00 2001 +From: Harry Mallon +Date: Fri, 9 Jul 2021 15:50:26 +0100 +Subject: [PATCH] Add support for cmake install + +Downloaded from upstream commit +https://github.com/axiomatic-systems/Bento4/commit/ba95f55c495c4c34c75a95de843acfa00f6afe24 + +Signed-off-by: Bernd Kuhls +--- + Build/cmake/Config.cmake.in | 4 ++ + CMakeLists.txt | 73 ++++++++++++++++++++++++++++++++++--- + 2 files changed, 71 insertions(+), 6 deletions(-) + create mode 100644 Build/cmake/Config.cmake.in + +diff --git a/Build/cmake/Config.cmake.in b/Build/cmake/Config.cmake.in +new file mode 100644 +index 00000000..38bbde7b +--- /dev/null ++++ b/Build/cmake/Config.cmake.in +@@ -0,0 +1,4 @@ ++@PACKAGE_INIT@ ++ ++include("${CMAKE_CURRENT_LIST_DIR}/@TARGETS_EXPORT_NAME@.cmake") ++check_required_components("@PROJECT_NAME@") +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6de3bfe1..6ebf127f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,7 +7,14 @@ else() + cmake_minimum_required(VERSION 3.10) + endif() + +-project(bento4) ++function(get_bento4_version) ++ file(STRINGS "Source/C++/Core/Ap4Version.h" _temp REGEX "AP4_VERSION_STRING") ++ string(REGEX MATCH "\"([^\"]+)\"" _temp "${_temp}") ++ set(BENTO4_VERSION "${CMAKE_MATCH_1}" PARENT_SCOPE) ++endfunction() ++ ++get_bento4_version() ++project(bento4 VERSION "${BENTO4_VERSION}") + + # Variables + set(SOURCE_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/Source/C++) +@@ -51,14 +58,22 @@ endif() + + # Includes + set(AP4_INCLUDE_DIRS +- ${SOURCE_CORE} +- ${SOURCE_CODECS} +- ${SOURCE_CRYPTO} +- ${SOURCE_METADATA} ++ $ ++ $ ++ $ ++ $ ++) ++file(GLOB AP4_HEADERS ++ ${SOURCE_CORE}/*.h ++ ${SOURCE_CODECS}/*.h ++ ${SOURCE_CRYPTO}/*.h ++ ${SOURCE_METADATA}/*.h + ) + + add_library(ap4 STATIC ${AP4_SOURCES}) +-target_include_directories(ap4 PUBLIC ${AP4_INCLUDE_DIRS}) ++target_include_directories(ap4 PUBLIC ++ ${AP4_INCLUDE_DIRS} ++) + + # Use the statically linked C runtime library + if(MSVC) +@@ -72,6 +87,7 @@ if(BUILD_APPS) + file(GLOB BENTO4_APPS RELATIVE ${SOURCE_ROOT}/Apps ${SOURCE_ROOT}/Apps/*) + foreach(app ${BENTO4_APPS}) + string(TOLOWER ${app} binary_name) ++ list(APPEND BENTO4_APPS_LOWERCASE ${binary_name}) + add_executable(${binary_name} ${SOURCE_ROOT}/Apps/${app}/${app}.cpp) + target_link_libraries(${binary_name} ap4) + +@@ -81,3 +97,48 @@ foreach(app ${BENTO4_APPS}) + endif() + endforeach() + endif(BUILD_APPS) ++ ++# Install ++include(GNUInstallDirs) ++set(config_install_dir "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}") ++set(generated_dir "${CMAKE_CURRENT_BINARY_DIR}/generated") ++set(version_config "${generated_dir}/${PROJECT_NAME}ConfigVersion.cmake") ++set(project_config "${generated_dir}/${PROJECT_NAME}Config.cmake") ++set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets") ++set(namespace "${PROJECT_NAME}::") ++ ++include(CMakePackageConfigHelpers) ++write_basic_package_version_file( ++ "${version_config}" COMPATIBILITY SameMajorVersion ++) ++ ++configure_package_config_file( ++ "Build/cmake/Config.cmake.in" ++ "${project_config}" ++ INSTALL_DESTINATION "${config_install_dir}" ++) ++ ++install( ++ TARGETS ap4 ${BENTO4_APPS_LOWERCASE} ++ EXPORT "${TARGETS_EXPORT_NAME}" ++ LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ++ ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" ++ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" ++ INCLUDES DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}" ++) ++ ++install( ++ FILES ${AP4_HEADERS} ++ DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/bento4" ++) ++ ++install( ++ FILES "${project_config}" "${version_config}" ++ DESTINATION "${config_install_dir}" ++) ++ ++install( ++ EXPORT "${TARGETS_EXPORT_NAME}" ++ NAMESPACE "${namespace}" ++ DESTINATION "${config_install_dir}" ++) diff --git a/buildroot-2022.02.1/package/bento4/0002-Add-additional-methods-funtions-and-passing-poolid.patch b/buildroot-2022.02.1/package/bento4/0002-Add-additional-methods-funtions-and-passing-poolid.patch new file mode 100644 index 00000000..22ac657a --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0002-Add-additional-methods-funtions-and-passing-poolid.patch @@ -0,0 +1,634 @@ +From b2027d354ef5d52efd525730fa5e6beccb88d33f Mon Sep 17 00:00:00 2001 +From: Glenn Guy +Date: Thu, 22 Jul 2021 10:00:44 +0200 +Subject: [PATCH] Add additional methods/funtions and passing poolid + +Added back: +* SSD - > ParentIsOwner functionality +* LinearReader: GetSample, SeekSample, Reset +* Ap4Movie -> GetPsshAtoms +* Uuid/VppC -> GetData +* Ap4Protection -> WVTT atom type + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4ByteStream.h | 1 - + Source/C++/Core/Ap4CommonEncryption.cpp | 15 ++-- + Source/C++/Core/Ap4CommonEncryption.h | 24 +++++-- + Source/C++/Core/Ap4IsmaCryp.cpp | 5 +- + Source/C++/Core/Ap4IsmaCryp.h | 3 +- + Source/C++/Core/Ap4LinearReader.cpp | 94 ++++++++++++++++++++++++- + Source/C++/Core/Ap4LinearReader.h | 4 ++ + Source/C++/Core/Ap4Marlin.cpp | 5 +- + Source/C++/Core/Ap4Marlin.h | 3 +- + Source/C++/Core/Ap4MoovAtom.cpp | 28 +++++++- + Source/C++/Core/Ap4MoovAtom.h | 5 ++ + Source/C++/Core/Ap4Movie.cpp | 10 +++ + Source/C++/Core/Ap4Movie.h | 4 ++ + Source/C++/Core/Ap4OmaDcf.cpp | 8 ++- + Source/C++/Core/Ap4OmaDcf.h | 6 +- + Source/C++/Core/Ap4Protection.h | 3 +- + Source/C++/Core/Ap4SampleDescription.h | 1 + + Source/C++/Core/Ap4UuidAtom.h | 1 + + Source/C++/Core/Ap4VpccAtom.h | 3 + + 19 files changed, 197 insertions(+), 26 deletions(-) + +diff --git a/Source/C++/Core/Ap4ByteStream.h b/Source/C++/Core/Ap4ByteStream.h +index 0a59e63..93ac80f 100644 +--- a/Source/C++/Core/Ap4ByteStream.h ++++ b/Source/C++/Core/Ap4ByteStream.h +@@ -195,7 +195,6 @@ public: + AP4_UI08* UseData() { return m_Buffer->UseData(); } + AP4_Size GetDataSize() { return m_Buffer->GetDataSize(); } + +-protected: + virtual ~AP4_MemoryByteStream(); + + private: +diff --git a/Source/C++/Core/Ap4CommonEncryption.cpp b/Source/C++/Core/Ap4CommonEncryption.cpp +index acd6361..5308200 100644 +--- a/Source/C++/Core/Ap4CommonEncryption.cpp ++++ b/Source/C++/Core/Ap4CommonEncryption.cpp +@@ -1859,7 +1859,8 @@ AP4_CencSingleSampleDecrypter::~AP4_CencSingleSampleDecrypter() { + | AP4_CencSingleSampleDecrypter::DecryptSampleData + +---------------------------------------------------------------------*/ + AP4_Result +-AP4_CencSingleSampleDecrypter::DecryptSampleData(AP4_DataBuffer& data_in, ++AP4_CencSingleSampleDecrypter::DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* iv, + unsigned int subsample_count, +@@ -2094,8 +2095,9 @@ AP4_CencSampleDecrypter::Create(AP4_CencSampleInfoTable* sample_info_table, + +---------------------------------------------------------------------*/ + AP4_CencSampleDecrypter::~AP4_CencSampleDecrypter() + { +- delete m_SampleInfoTable; +- delete m_SingleSampleDecrypter; ++ delete m_SampleInfoTable; ++ if (m_SingleSampleDecrypter->GetParentIsOwner()) ++ delete m_SingleSampleDecrypter; + } + + /*---------------------------------------------------------------------- +@@ -2112,7 +2114,8 @@ AP4_CencSampleDecrypter::SetSampleIndex(AP4_Ordinal sample_index) + | AP4_CencSampleDecrypter::DecryptSampleData + +---------------------------------------------------------------------*/ + AP4_Result +-AP4_CencSampleDecrypter::DecryptSampleData(AP4_DataBuffer& data_in, ++AP4_CencSampleDecrypter::DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* iv) + { +@@ -2139,7 +2142,7 @@ AP4_CencSampleDecrypter::DecryptSampleData(AP4_DataBuffer& data_in, + } + + // decrypt the sample +- return m_SingleSampleDecrypter->DecryptSampleData(data_in, data_out, iv_block, subsample_count, bytes_of_cleartext_data, bytes_of_encrypted_data); ++ return m_SingleSampleDecrypter->DecryptSampleData(poolid, data_in, data_out, iv_block, subsample_count, bytes_of_cleartext_data, bytes_of_encrypted_data); + } + + /*---------------------------------------------------------------------- +@@ -2323,7 +2326,7 @@ AP4_CencFragmentDecrypter::ProcessSample(AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out) + { + // decrypt the sample +- return m_SampleDecrypter->DecryptSampleData(data_in, data_out, NULL); ++ return m_SampleDecrypter->DecryptSampleData(0, data_in, data_out, NULL); + } + + /*---------------------------------------------------------------------- +diff --git a/Source/C++/Core/Ap4CommonEncryption.h b/Source/C++/Core/Ap4CommonEncryption.h +index 80db456..580de66 100644 +--- a/Source/C++/Core/Ap4CommonEncryption.h ++++ b/Source/C++/Core/Ap4CommonEncryption.h +@@ -691,9 +691,18 @@ public: + // methods + AP4_CencSingleSampleDecrypter(AP4_StreamCipher* cipher) : + m_Cipher(cipher), +- m_FullBlocksOnly(false) {} ++ m_FullBlocksOnly(false), ++ m_ParentIsOwner(true) {} + virtual ~AP4_CencSingleSampleDecrypter(); +- virtual AP4_Result DecryptSampleData(AP4_DataBuffer& data_in, ++ virtual AP4_Result SetFragmentInfo(AP4_UI32 poolid, const AP4_UI08* keyid, const AP4_UI08 nalu_length_size, ++ AP4_DataBuffer &annexb_sps_pps, AP4_UI32 flags) { ++ return AP4_ERROR_NOT_SUPPORTED; ++ }; ++ virtual AP4_UI32 AddPool() { return 0; }; ++ virtual void RemovePool(AP4_UI32 poolid) {}; ++ virtual const char* GetSessionId() { return nullptr; }; ++ virtual AP4_Result DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + + // always 16 bytes +@@ -706,7 +715,9 @@ public: + const AP4_UI16* bytes_of_cleartext_data, + + // array of integers. NULL if subsample_count is 0 +- const AP4_UI32* bytes_of_encrypted_data); ++ const AP4_UI32* bytes_of_encrypted_data); ++ bool GetParentIsOwner()const { return m_ParentIsOwner; }; ++ void SetParentIsOwner(bool parent_is_owner) { m_ParentIsOwner = parent_is_owner; }; + + private: + // constructor +@@ -715,12 +726,14 @@ private: + bool reset_iv_at_each_subsample) : + m_Cipher(cipher), + m_FullBlocksOnly(full_blocks_only), +- m_ResetIvAtEachSubsample(reset_iv_at_each_subsample) {} ++ m_ResetIvAtEachSubsample(reset_iv_at_each_subsample), ++ m_ParentIsOwner(true) {} + + // members + AP4_StreamCipher* m_Cipher; + bool m_FullBlocksOnly; + bool m_ResetIvAtEachSubsample; ++ bool m_ParentIsOwner; + }; + + /*---------------------------------------------------------------------- +@@ -766,7 +779,8 @@ public: + m_SampleCursor(0) {} + virtual ~AP4_CencSampleDecrypter(); + virtual AP4_Result SetSampleIndex(AP4_Ordinal sample_index); +- virtual AP4_Result DecryptSampleData(AP4_DataBuffer& data_in, ++ virtual AP4_Result DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* iv); + +diff --git a/Source/C++/Core/Ap4IsmaCryp.cpp b/Source/C++/Core/Ap4IsmaCryp.cpp +index dfb59a4..442ad49 100644 +--- a/Source/C++/Core/Ap4IsmaCryp.cpp ++++ b/Source/C++/Core/Ap4IsmaCryp.cpp +@@ -142,7 +142,8 @@ AP4_IsmaCipher::GetDecryptedSampleSize(AP4_Sample& sample) + | AP4_IsmaCipher::DecryptSampleData + +---------------------------------------------------------------------*/ + AP4_Result +-AP4_IsmaCipher::DecryptSampleData(AP4_DataBuffer& data_in, ++AP4_IsmaCipher::DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* /*iv*/) + { +@@ -333,7 +334,7 @@ AP4_Result + AP4_IsmaTrackDecrypter::ProcessSample(AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out) + { +- return m_Cipher->DecryptSampleData(data_in, data_out); ++ return m_Cipher->DecryptSampleData(0, data_in, data_out); + } + + /*---------------------------------------------------------------------- +diff --git a/Source/C++/Core/Ap4IsmaCryp.h b/Source/C++/Core/Ap4IsmaCryp.h +index 4b9c60e..970dac8 100644 +--- a/Source/C++/Core/Ap4IsmaCryp.h ++++ b/Source/C++/Core/Ap4IsmaCryp.h +@@ -74,7 +74,8 @@ public: + AP4_Result EncryptSampleData(AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + AP4_UI32 block_counter); +- AP4_Result DecryptSampleData(AP4_DataBuffer& data_in, ++ AP4_Result DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* iv = NULL); + AP4_Size GetDecryptedSampleSize(AP4_Sample& sample); +diff --git a/Source/C++/Core/Ap4LinearReader.cpp b/Source/C++/Core/Ap4LinearReader.cpp +index 08b55ee..7cc3ebd 100644 +--- a/Source/C++/Core/Ap4LinearReader.cpp ++++ b/Source/C++/Core/Ap4LinearReader.cpp +@@ -117,6 +117,29 @@ AP4_LinearReader::FlushQueues() + } + } + ++/*---------------------------------------------------------------------- ++| AP4_LinearReader::Reset +++---------------------------------------------------------------------*/ ++void ++AP4_LinearReader::Reset() ++{ ++ // flush any queued samples ++ FlushQueues(); ++ ++ // reset tracker states ++ for (unsigned int i = 0; i < m_Trackers.ItemCount(); i++) { ++ if (m_Trackers[i]->m_SampleTableIsOwned) { ++ delete m_Trackers[i]->m_SampleTable; ++ } ++ delete m_Trackers[i]->m_NextSample; ++ m_Trackers[i]->m_SampleTable = NULL; ++ m_Trackers[i]->m_NextSample = NULL; ++ m_Trackers[i]->m_NextSampleIndex = 0; ++ m_Trackers[i]->m_Eos = false; ++ } ++ m_NextFragmentPosition = 0; ++} ++ + /*---------------------------------------------------------------------- + | AP4_LinearReader::SetSampleIndex + +---------------------------------------------------------------------*/ +@@ -591,6 +614,75 @@ AP4_LinearReader::ReadNextSample(AP4_Sample& sample, + return ReadNextSample(sample, &sample_data, track_id); + } + ++/*---------------------------------------------------------------------- ++| AP4_LinearReader::GetSample +++---------------------------------------------------------------------*/ ++AP4_Result AP4_LinearReader::GetSample(AP4_UI32 track_id, AP4_Sample &sample, AP4_Ordinal sample_index) ++{ ++ // look for a sample from a specific track ++ Tracker* tracker = FindTracker(track_id); ++ if (tracker == NULL) ++ return AP4_ERROR_INVALID_PARAMETERS; ++ ++ // don't continue if we've reached the end of that tracker ++ if (tracker->m_Eos) ++ return AP4_ERROR_EOS; ++ ++ return tracker->m_SampleTable->GetSample(sample_index, sample); ++} ++ ++/*---------------------------------------------------------------------- ++| AP4_LinearReader::SeekSample +++---------------------------------------------------------------------*/ ++AP4_Result ++AP4_LinearReader::SeekSample(AP4_UI32 track_id, AP4_UI64 ts, AP4_Ordinal &sample_index, bool preceedingSync) ++{ ++ // we only support fragmented sources for now ++ if (!m_HasFragments) ++ return AP4_ERROR_NOT_SUPPORTED; ++ ++ if (m_Trackers.ItemCount() == 0) { ++ return AP4_ERROR_NO_SUCH_ITEM; ++ } ++ ++ // look for a sample from a specific track ++ Tracker* tracker = FindTracker(track_id); ++ if (tracker == NULL) ++ return AP4_ERROR_INVALID_PARAMETERS; ++ ++ // don't continue if we've reached the end of that tracker ++ if (tracker->m_Eos) ++ return AP4_ERROR_EOS; ++ ++ AP4_Result result; ++ ++ if (!tracker->m_SampleTable && AP4_FAILED(result = Advance())) ++ return result; ++ ++ while (AP4_FAILED(result = tracker->m_SampleTable->GetSampleIndexForTimeStamp(ts, sample_index))) ++ { ++ if (result == AP4_ERROR_NOT_ENOUGH_DATA) ++ { ++ tracker->m_NextSampleIndex = tracker->m_SampleTable->GetSampleCount(); ++ if (AP4_FAILED(result = Advance())) ++ return result; ++ continue; ++ } ++ return result; ++ } ++ ++ sample_index = tracker->m_SampleTable->GetNearestSyncSampleIndex(sample_index, preceedingSync); ++ //we have reached the end -> go for the first sample of the next segment ++ if (sample_index == tracker->m_SampleTable->GetSampleCount()) ++ { ++ tracker->m_NextSampleIndex = tracker->m_SampleTable->GetSampleCount(); ++ if (AP4_FAILED(result = Advance())) ++ return result; ++ sample_index = 0; ++ } ++ return SetSampleIndex(tracker->m_Track->GetId(), sample_index); ++} ++ + /*---------------------------------------------------------------------- + | AP4_LinearReader::GetNextSample + +---------------------------------------------------------------------*/ +@@ -633,5 +725,5 @@ AP4_DecryptingSampleReader::ReadSampleData(AP4_Sample& sample, + AP4_Result result = sample.ReadData(m_DataBuffer); + if (AP4_FAILED(result)) return result; + +- return m_Decrypter->DecryptSampleData(m_DataBuffer, sample_data); ++ return m_Decrypter->DecryptSampleData(0, m_DataBuffer, sample_data); + } +diff --git a/Source/C++/Core/Ap4LinearReader.h b/Source/C++/Core/Ap4LinearReader.h +index 549cb5f..21f4871 100644 +--- a/Source/C++/Core/Ap4LinearReader.h ++++ b/Source/C++/Core/Ap4LinearReader.h +@@ -85,6 +85,8 @@ public: + AP4_Result SetSampleIndex(AP4_UI32 track_id, AP4_UI32 sample_index); + + AP4_Result SeekTo(AP4_UI32 time_ms, AP4_UI32* actual_time_ms = 0); ++ ++ AP4_Result SeekSample(AP4_UI32 track_id, AP4_UI64 ts, AP4_Ordinal &sample_index, bool preceedingSync); + + // accessors + AP4_Size GetBufferFullness() { return m_BufferFullness; } +@@ -169,8 +171,10 @@ protected: + AP4_Result ReadNextSample(AP4_Sample& sample, + AP4_DataBuffer* sample_data, + AP4_UI32& track_id); ++ AP4_Result GetSample(AP4_UI32 track_id, AP4_Sample &sample, AP4_Ordinal sample_index); + void FlushQueue(Tracker* tracker); + void FlushQueues(); ++ void Reset(); + + // members + AP4_Movie& m_Movie; +diff --git a/Source/C++/Core/Ap4Marlin.cpp b/Source/C++/Core/Ap4Marlin.cpp +index d0ddd3f..c1aa8b6 100644 +--- a/Source/C++/Core/Ap4Marlin.cpp ++++ b/Source/C++/Core/Ap4Marlin.cpp +@@ -431,7 +431,8 @@ AP4_MarlinIpmpSampleDecrypter::GetDecryptedSampleSize(AP4_Sample& sample) + | AP4_MarlinIpmpSampleDecrypter::DecryptSampleData + +---------------------------------------------------------------------*/ + AP4_Result +-AP4_MarlinIpmpSampleDecrypter::DecryptSampleData(AP4_DataBuffer& data_in, ++AP4_MarlinIpmpSampleDecrypter::DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* /*iv*/) + { +@@ -630,7 +631,7 @@ AP4_Result + AP4_MarlinIpmpTrackDecrypter::ProcessSample(AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out) + { +- return m_SampleDecrypter->DecryptSampleData(data_in, data_out); ++ return m_SampleDecrypter->DecryptSampleData(0, data_in, data_out); + } + + /*---------------------------------------------------------------------- +diff --git a/Source/C++/Core/Ap4Marlin.h b/Source/C++/Core/Ap4Marlin.h +index 774e04f..9280ad6 100644 +--- a/Source/C++/Core/Ap4Marlin.h ++++ b/Source/C++/Core/Ap4Marlin.h +@@ -118,7 +118,8 @@ public: + + // AP4_SampleDecrypter methods + AP4_Size GetDecryptedSampleSize(AP4_Sample& sample); +- AP4_Result DecryptSampleData(AP4_DataBuffer& data_in, ++ AP4_Result DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* iv = NULL); + +diff --git a/Source/C++/Core/Ap4MoovAtom.cpp b/Source/C++/Core/Ap4MoovAtom.cpp +index 1ceab49..fbeee4f 100644 +--- a/Source/C++/Core/Ap4MoovAtom.cpp ++++ b/Source/C++/Core/Ap4MoovAtom.cpp +@@ -31,6 +31,7 @@ + +---------------------------------------------------------------------*/ + #include "Ap4MoovAtom.h" + #include "Ap4TrakAtom.h" ++#include "Ap4PsshAtom.h" + #include "Ap4AtomFactory.h" + + /*---------------------------------------------------------------------- +@@ -61,6 +62,29 @@ private: + AP4_List* m_TrakAtoms; + }; + ++/*---------------------------------------------------------------------- ++| AP4_PsshAtomCollector +++---------------------------------------------------------------------*/ ++class AP4_PsshAtomCollector : public AP4_List::Item::Operator ++{ ++public: ++ AP4_PsshAtomCollector(AP4_List* pssh_atoms) : ++ m_PsshAtoms(pssh_atoms) {} ++ ++ AP4_Result Action(AP4_Atom* atom) const { ++ if (atom->GetType() == AP4_ATOM_TYPE_PSSH) { ++ AP4_PsshAtom* pssh = AP4_DYNAMIC_CAST(AP4_PsshAtom, atom); ++ if (pssh) { ++ m_PsshAtoms->Add(pssh); ++ } ++ } ++ return AP4_SUCCESS; ++ } ++ ++private: ++ AP4_List* m_PsshAtoms; ++}; ++ + /*---------------------------------------------------------------------- + | AP4_MoovAtom::AP4_MoovAtom + +---------------------------------------------------------------------*/ +@@ -80,7 +104,9 @@ AP4_MoovAtom::AP4_MoovAtom(AP4_UI32 size, + m_TimeScale(0) + { + // collect all trak atoms +- m_Children.Apply(AP4_TrakAtomCollector(&m_TrakAtoms)); ++ m_Children.Apply(AP4_TrakAtomCollector(&m_TrakAtoms)); ++ // collect all pssh atoms ++ m_Children.Apply(AP4_PsshAtomCollector(&m_PsshAtoms)); + } + + /*---------------------------------------------------------------------- +diff --git a/Source/C++/Core/Ap4MoovAtom.h b/Source/C++/Core/Ap4MoovAtom.h +index f06b2a1..d1a0147 100644 +--- a/Source/C++/Core/Ap4MoovAtom.h ++++ b/Source/C++/Core/Ap4MoovAtom.h +@@ -40,6 +40,7 @@ + +---------------------------------------------------------------------*/ + class AP4_AtomFactory; + class AP4_TrakAtom; ++class AP4_PsshAtom; + + /*---------------------------------------------------------------------- + | AP4_MoovAtom +@@ -61,6 +62,9 @@ public: + AP4_List& GetTrakAtoms() { + return m_TrakAtoms; + } ++ AP4_List& GetPsshAtoms() { ++ return m_PsshAtoms; ++ } + AP4_UI32 GetTimeScale() { + return m_TimeScale; + } +@@ -77,6 +81,7 @@ private: + AP4_AtomFactory& atom_factory); + + // members ++ AP4_List m_PsshAtoms; + AP4_List m_TrakAtoms; + AP4_UI32 m_TimeScale; + }; +diff --git a/Source/C++/Core/Ap4Movie.cpp b/Source/C++/Core/Ap4Movie.cpp +index b080b53..9617494 100644 +--- a/Source/C++/Core/Ap4Movie.cpp ++++ b/Source/C++/Core/Ap4Movie.cpp +@@ -32,6 +32,7 @@ + #include "Ap4File.h" + #include "Ap4Atom.h" + #include "Ap4TrakAtom.h" ++#include "Ap4PsshAtom.h" + #include "Ap4MoovAtom.h" + #include "Ap4MvhdAtom.h" + #include "Ap4AtomFactory.h" +@@ -110,6 +111,15 @@ AP4_Movie::AP4_Movie(AP4_MoovAtom* moov, AP4_ByteStream& sample_stream, bool tra + time_scale = 0; + } + ++ // get the pssh atoms ++ AP4_List* pssh_atoms; ++ pssh_atoms = &moov->GetPsshAtoms(); ++ AP4_List::Item* pssh_item = pssh_atoms->FirstItem(); ++ while (pssh_item) { ++ m_PsshAtoms.Append(*pssh_item->GetData()); ++ pssh_item = pssh_item->GetNext(); ++ } ++ + // get all tracks + AP4_List* trak_atoms; + trak_atoms = &moov->GetTrakAtoms(); +diff --git a/Source/C++/Core/Ap4Movie.h b/Source/C++/Core/Ap4Movie.h +index 21ef173..04992a4 100644 +--- a/Source/C++/Core/Ap4Movie.h ++++ b/Source/C++/Core/Ap4Movie.h +@@ -37,6 +37,7 @@ + #include "Ap4MvhdAtom.h" + #include "Ap4Track.h" + #include "Ap4List.h" ++#include "Ap4PsshAtom.h" + + /*---------------------------------------------------------------------- + | class references +@@ -60,6 +61,8 @@ public: + AP4_Result Inspect(AP4_AtomInspector& inspector); + + AP4_MoovAtom* GetMoovAtom() { return m_MoovAtom;} ++ void SetMoovAtom(AP4_MoovAtom* atom) { m_MoovAtom = atom; } ++ AP4_Array& GetPsshAtoms() { return m_PsshAtoms; } + AP4_MvhdAtom* GetMvhdAtom() { return m_MvhdAtom;} + AP4_List& GetTracks() { return m_Tracks; } + AP4_Track* GetTrack(AP4_UI32 track_id); +@@ -75,6 +78,7 @@ private: + AP4_MoovAtom* m_MoovAtom; + bool m_MoovAtomIsOwned; + AP4_MvhdAtom* m_MvhdAtom; ++ AP4_Array m_PsshAtoms; + AP4_List m_Tracks; + }; + +diff --git a/Source/C++/Core/Ap4OmaDcf.cpp b/Source/C++/Core/Ap4OmaDcf.cpp +index 17099a1..4eefbaf 100644 +--- a/Source/C++/Core/Ap4OmaDcf.cpp ++++ b/Source/C++/Core/Ap4OmaDcf.cpp +@@ -436,7 +436,8 @@ AP4_OmaDcfCtrSampleDecrypter::~AP4_OmaDcfCtrSampleDecrypter() + | AP4_OmaDcfCtrSampleDecrypter::DecryptSampleData + +---------------------------------------------------------------------*/ + AP4_Result +-AP4_OmaDcfCtrSampleDecrypter::DecryptSampleData(AP4_DataBuffer& data_in, ++AP4_OmaDcfCtrSampleDecrypter::DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* /*iv*/) + { +@@ -531,7 +532,8 @@ AP4_OmaDcfCbcSampleDecrypter::~AP4_OmaDcfCbcSampleDecrypter() + | AP4_OmaDbcCbcSampleDecrypter::DecryptSampleData + +---------------------------------------------------------------------*/ + AP4_Result +-AP4_OmaDcfCbcSampleDecrypter::DecryptSampleData(AP4_DataBuffer& data_in, ++AP4_OmaDcfCbcSampleDecrypter::DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* /*iv*/) + { +@@ -853,7 +855,7 @@ AP4_Result + AP4_OmaDcfTrackDecrypter::ProcessSample(AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out) + { +- return m_Cipher->DecryptSampleData(data_in, data_out); ++ return m_Cipher->DecryptSampleData(0, data_in, data_out); + } + + /*---------------------------------------------------------------------- +diff --git a/Source/C++/Core/Ap4OmaDcf.h b/Source/C++/Core/Ap4OmaDcf.h +index 23f10ed..bb7b3d6 100644 +--- a/Source/C++/Core/Ap4OmaDcf.h ++++ b/Source/C++/Core/Ap4OmaDcf.h +@@ -133,7 +133,8 @@ public: + ~AP4_OmaDcfCtrSampleDecrypter(); + + // methods +- virtual AP4_Result DecryptSampleData(AP4_DataBuffer& data_in, ++ virtual AP4_Result DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* iv = NULL); + virtual AP4_Size GetDecryptedSampleSize(AP4_Sample& sample); +@@ -155,7 +156,8 @@ public: + ~AP4_OmaDcfCbcSampleDecrypter(); + + // methods +- virtual AP4_Result DecryptSampleData(AP4_DataBuffer& data_in, ++ virtual AP4_Result DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* iv = NULL); + virtual AP4_Size GetDecryptedSampleSize(AP4_Sample& sample); +diff --git a/Source/C++/Core/Ap4Protection.h b/Source/C++/Core/Ap4Protection.h +index 856f1f3..4080584 100644 +--- a/Source/C++/Core/Ap4Protection.h ++++ b/Source/C++/Core/Ap4Protection.h +@@ -393,7 +393,8 @@ public: + // methods + virtual AP4_Size GetDecryptedSampleSize(AP4_Sample& sample) { return sample.GetSize(); } + virtual AP4_Result SetSampleIndex(AP4_Ordinal /*index*/) { return AP4_SUCCESS; } +- virtual AP4_Result DecryptSampleData(AP4_DataBuffer& data_in, ++ virtual AP4_Result DecryptSampleData(AP4_UI32 poolid, ++ AP4_DataBuffer& data_in, + AP4_DataBuffer& data_out, + const AP4_UI08* iv = NULL) = 0; + }; +diff --git a/Source/C++/Core/Ap4SampleDescription.h b/Source/C++/Core/Ap4SampleDescription.h +index 27f3136..d493f96 100644 +--- a/Source/C++/Core/Ap4SampleDescription.h ++++ b/Source/C++/Core/Ap4SampleDescription.h +@@ -101,6 +101,7 @@ const AP4_UI32 AP4_SAMPLE_FORMAT_TX3G = AP4_ATOM_TYPE('t','x','3','g'); + const AP4_UI32 AP4_SAMPLE_FORMAT_VC_1 = AP4_ATOM_TYPE('v','c','-','1'); + const AP4_UI32 AP4_SAMPLE_FORMAT_XML_ = AP4_ATOM_TYPE('x','m','l',' '); + const AP4_UI32 AP4_SAMPLE_FORMAT_STPP = AP4_ATOM_TYPE('s','t','p','p'); ++const AP4_UI32 AP4_SAMPLE_FORMAT_WVTT = AP4_ATOM_TYPE('w','v','t','t'); + const AP4_UI32 AP4_SAMPLE_FORMAT_FLAC = AP4_ATOM_TYPE('f','L','a','C'); + const AP4_UI32 AP4_SAMPLE_FORMAT_OPUS = AP4_ATOM_TYPE('O','p','u','s'); + const AP4_UI32 AP4_SAMPLE_FORMAT_VP8 = AP4_ATOM_TYPE('v','p','0','8'); +diff --git a/Source/C++/Core/Ap4UuidAtom.h b/Source/C++/Core/Ap4UuidAtom.h +index b9771bd..0ec3b08 100644 +--- a/Source/C++/Core/Ap4UuidAtom.h ++++ b/Source/C++/Core/Ap4UuidAtom.h +@@ -90,6 +90,7 @@ public: + + // methods + virtual AP4_Result WriteFields(AP4_ByteStream& stream); ++ const AP4_DataBuffer &GetData() { return m_Data; }; + + protected: + // members +diff --git a/Source/C++/Core/Ap4VpccAtom.h b/Source/C++/Core/Ap4VpccAtom.h +index 9fb60bc..929048a 100644 +--- a/Source/C++/Core/Ap4VpccAtom.h ++++ b/Source/C++/Core/Ap4VpccAtom.h +@@ -79,10 +79,13 @@ public: + AP4_UI08 GetTransferCharacteristics() { return m_TransferCharacteristics; } + AP4_UI08 GetMatrixCoefficients() { return m_MatrixCoefficients; } + const AP4_DataBuffer& GetCodecInitializationData() { return m_CodecIntializationData; } ++ const AP4_DataBuffer& GetData() { return m_Data; } + + // helpers + AP4_Result GetCodecString(AP4_UI32 container_type, AP4_String& codec); + ++protected: ++ AP4_DataBuffer m_Data; + private: + // methods + AP4_VpccAtom(AP4_UI32 size, const AP4_UI08* payload); +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0003-Backport-Smmothstream-changes.patch b/buildroot-2022.02.1/package/bento4/0003-Backport-Smmothstream-changes.patch new file mode 100644 index 00000000..a9a577a2 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0003-Backport-Smmothstream-changes.patch @@ -0,0 +1,99 @@ +From 97088e7bd7e84a493bea7e5fe4e808c8ac3e00ff Mon Sep 17 00:00:00 2001 +From: CastagnaIT +Date: Thu, 22 Jul 2021 10:09:24 +0200 +Subject: [PATCH] Backport Smmothstream changes + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4File.cpp | 14 ++++++++------ + Source/C++/Core/Ap4File.h | 6 ++++-- + Source/C++/Core/Ap4FragmentSampleTable.cpp | 2 +- + 3 files changed, 13 insertions(+), 9 deletions(-) + +diff --git a/Source/C++/Core/Ap4File.cpp b/Source/C++/Core/Ap4File.cpp +index cb20c3e..f1d2727 100644 +--- a/Source/C++/Core/Ap4File.cpp ++++ b/Source/C++/Core/Ap4File.cpp +@@ -55,13 +55,14 @@ AP4_File::AP4_File(AP4_Movie* movie) : + +---------------------------------------------------------------------*/ + AP4_File::AP4_File(AP4_ByteStream& stream, + AP4_AtomFactory& atom_factory, +- bool moov_only) : +- m_Movie(NULL), ++ bool moov_only, ++ AP4_Movie* movie) : ++ m_Movie(movie), + m_FileType(NULL), + m_MetaData(NULL), + m_MoovIsBeforeMdat(true) + { +- ParseStream(stream, atom_factory, moov_only); ++ ParseStream(stream, atom_factory, moov_only, movie); + } + + /*---------------------------------------------------------------------- +@@ -75,7 +76,7 @@ AP4_File::AP4_File(AP4_ByteStream& stream, + m_MoovIsBeforeMdat(true) + { + AP4_DefaultAtomFactory atom_factory; +- ParseStream(stream, atom_factory, moov_only); ++ ParseStream(stream, atom_factory, moov_only, m_Movie); + } + + /*---------------------------------------------------------------------- +@@ -93,12 +94,13 @@ AP4_File::~AP4_File() + void + AP4_File::ParseStream(AP4_ByteStream& stream, + AP4_AtomFactory& atom_factory, +- bool moov_only) ++ bool moov_only, ++ AP4_Movie* movie) + { + // parse top-level atoms + AP4_Atom* atom; + AP4_Position stream_position; +- bool keep_parsing = true; ++ bool keep_parsing = movie == 0; + while (keep_parsing && + AP4_SUCCEEDED(stream.Tell(stream_position)) && + AP4_SUCCEEDED(atom_factory.CreateAtomFromStream(stream, atom))) { +diff --git a/Source/C++/Core/Ap4File.h b/Source/C++/Core/Ap4File.h +index 9375258..2f00187 100644 +--- a/Source/C++/Core/Ap4File.h ++++ b/Source/C++/Core/Ap4File.h +@@ -101,7 +101,8 @@ public: + */ + AP4_File(AP4_ByteStream& stream, + AP4_AtomFactory& atom_factory, +- bool moov_only); ++ bool moov_only, ++ AP4_Movie* movie = NULL); + + /** + * Constructs an AP4_File from a stream using the default atom factory +@@ -161,7 +162,8 @@ private: + // methods + void ParseStream(AP4_ByteStream& stream, + AP4_AtomFactory& atom_factory, +- bool moov_only); ++ bool moov_only, ++ AP4_Movie* movie); + + // members + AP4_Movie* m_Movie; +diff --git a/Source/C++/Core/Ap4FragmentSampleTable.cpp b/Source/C++/Core/Ap4FragmentSampleTable.cpp +index 84e5ded..3fbb53e 100644 +--- a/Source/C++/Core/Ap4FragmentSampleTable.cpp ++++ b/Source/C++/Core/Ap4FragmentSampleTable.cpp +@@ -130,7 +130,7 @@ AP4_FragmentSampleTable::AddTrun(AP4_TrunAtom* trun, + data_offset += trun->GetDataOffset(); + } + // MS hack +- if (data_offset == moof_offset) { ++ if (data_offset < payload_offset) { + data_offset = payload_offset; + } else { + payload_offset = data_offset; +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0004-more-SPS-parameters.patch b/buildroot-2022.02.1/package/bento4/0004-more-SPS-parameters.patch new file mode 100644 index 00000000..70347398 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0004-more-SPS-parameters.patch @@ -0,0 +1,219 @@ +From 25df596f009514b213c5eaf5d5eb94072391c1be Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 10:22:39 +0200 +Subject: [PATCH] more SPS parameters + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Codecs/Ap4AvcParser.cpp | 100 ++++++++++++++++++++++++++++- + Source/C++/Codecs/Ap4AvcParser.h | 22 +++++++ + Source/C++/Core/Ap4Utils.cpp | 8 +++ + Source/C++/Core/Ap4Utils.h | 2 +- + 4 files changed, 129 insertions(+), 3 deletions(-) + +diff --git a/Source/C++/Codecs/Ap4AvcParser.cpp b/Source/C++/Codecs/Ap4AvcParser.cpp +index b95398b..7efb5c9 100644 +--- a/Source/C++/Codecs/Ap4AvcParser.cpp ++++ b/Source/C++/Codecs/Ap4AvcParser.cpp +@@ -30,7 +30,6 @@ + | includes + +---------------------------------------------------------------------*/ + #include "Ap4AvcParser.h" +-#include "Ap4Utils.h" + + /*---------------------------------------------------------------------- + | debugging +@@ -123,6 +122,25 @@ AP4_AvcNalParser::SliceTypeName(unsigned int slice_type) + } + } + ++const int SAR[17][2] = { ++ { 0, 1 }, ++ { 1, 1 }, ++ { 12, 11 }, ++ { 10, 11 }, ++ { 16, 11 }, ++ { 40, 33 }, ++ { 24, 11 }, ++ { 20, 11 }, ++ { 32, 11 }, ++ { 80, 33 }, ++ { 18, 11 }, ++ { 15, 11 }, ++ { 64, 33 }, ++ { 160, 99 }, ++ { 4, 3 }, ++ { 3, 2 }, ++ { 2, 1 }, ++}; + /*---------------------------------------------------------------------- + | AP4_AvcNalParser::AP4_AvcNalParser + +---------------------------------------------------------------------*/ +@@ -236,7 +254,28 @@ AP4_AvcSequenceParameterSet::AP4_AvcSequenceParameterSet() : + frame_crop_left_offset(0), + frame_crop_right_offset(0), + frame_crop_top_offset(0), +- frame_crop_bottom_offset(0) ++ frame_crop_bottom_offset(0), ++ vui_parameters_present_flag(0), ++ aspect_ratio_info_present_flag(0), ++ aspect_ratio_idc(0), ++ sar_width(0), ++ sar_height(0), ++ overscan_info_present_flag(0), ++ overscan_appropriate_flag(0), ++ video_signal_type_present_flag(0), ++ video_format(0), ++ video_full_range_flag(0), ++ colour_description_present_flag(0), ++ colour_primaries(0), ++ transfer_characteristics(0), ++ matrix_coefficients(0), ++ chroma_loc_info_present_flag(0), ++ chroma_sample_loc_type_top_field(0), ++ chroma_sample_loc_type_bottom_field(0), ++ timing_info_present_flag(0), ++ num_units_in_tick(0), ++ time_scale(0), ++ fixed_frame_rate_flag(0) + { + AP4_SetMemory(scaling_list_4x4, 0, sizeof(scaling_list_4x4)); + AP4_SetMemory(use_default_scaling_matrix_4x4, 0, sizeof(use_default_scaling_matrix_4x4)); +@@ -372,7 +411,64 @@ AP4_AvcFrameParser::ParseSPS(const unsigned char* data, + sps.frame_crop_top_offset = ReadGolomb(bits); + sps.frame_crop_bottom_offset = ReadGolomb(bits); + } ++ sps.vui_parameters_present_flag = bits.ReadBit(); ++ if (sps.vui_parameters_present_flag) { ++ sps.aspect_ratio_info_present_flag = bits.ReadBit(); ++ if (sps.aspect_ratio_info_present_flag) { ++ sps.aspect_ratio_idc = bits.ReadBits(8); ++ if (sps.aspect_ratio_idc == 0xFF) ++ { ++ sps.sar_width = bits.ReadBits(16); ++ sps.sar_height = bits.ReadBits(16); ++ } ++ else if (sps.aspect_ratio_idc < 17) ++ { ++ sps.sar_width = SAR[sps.aspect_ratio_idc][0]; ++ sps.sar_height = SAR[sps.aspect_ratio_idc][1]; ++ } ++ } ++ sps.overscan_info_present_flag = bits.ReadBit(); ++ if (sps.overscan_info_present_flag) ++ sps.overscan_appropriate_flag = bits.ReadBit(); ++ ++ sps.video_signal_type_present_flag = bits.ReadBit(); ++ if (sps.video_signal_type_present_flag) { ++ sps.video_format = bits.ReadBits(3); ++ sps.video_full_range_flag = bits.ReadBit(); ++ sps.colour_description_present_flag = bits.ReadBit(); ++ if (sps.colour_description_present_flag) { ++ sps.colour_primaries = bits.ReadBits(8); ++ sps.transfer_characteristics = bits.ReadBits(8); ++ sps.matrix_coefficients = bits.ReadBits(8); ++ } ++ } ++ + ++ sps.chroma_loc_info_present_flag = bits.ReadBit(); ++ if (sps.chroma_loc_info_present_flag) { ++ sps.chroma_sample_loc_type_top_field = ReadGolomb(bits); ++ sps.chroma_sample_loc_type_bottom_field = ReadGolomb(bits); ++ } ++ ++ if (bits.PeekBit() && bits.BitsLeft() < 10) ++ return AP4_SUCCESS; ++ ++ sps.timing_info_present_flag = bits.ReadBit(); ++ if (sps.timing_info_present_flag) { ++#if AP4_PLATFORM_BYTE_ORDER == AP4_PLATFORM_BYTE_ORDER_BIG_ENDIAN ++ sps.num_units_in_tick = bits.ReadBits(32); ++ sps.time_scale = bits.ReadBits(32); ++#else ++ sps.num_units_in_tick = bits.ReadBits(16) << 16; ++ sps.num_units_in_tick |= bits.ReadBits(16); ++ sps.time_scale = bits.ReadBits(16) << 16; ++ sps.time_scale |= bits.ReadBits(16); ++#endif ++ if (!sps.num_units_in_tick || !sps.time_scale) ++ sps.timing_info_present_flag = 0; ++ sps.fixed_frame_rate_flag = bits.ReadBit(); ++ } ++ } + return AP4_SUCCESS; + } + +diff --git a/Source/C++/Codecs/Ap4AvcParser.h b/Source/C++/Codecs/Ap4AvcParser.h +index 8f9cd6c..9f97892 100644 +--- a/Source/C++/Codecs/Ap4AvcParser.h ++++ b/Source/C++/Codecs/Ap4AvcParser.h +@@ -37,6 +37,7 @@ + #include "Ap4DataBuffer.h" + #include "Ap4NalParser.h" + #include "Ap4Array.h" ++#include "Ap4Utils.h" + + /*---------------------------------------------------------------------- + | constants +@@ -131,6 +132,27 @@ struct AP4_AvcSequenceParameterSet { + unsigned int frame_crop_right_offset; + unsigned int frame_crop_top_offset; + unsigned int frame_crop_bottom_offset; ++ unsigned int vui_parameters_present_flag; ++ unsigned int aspect_ratio_info_present_flag; ++ unsigned int aspect_ratio_idc; ++ unsigned int sar_width; ++ unsigned int sar_height; ++ unsigned int overscan_info_present_flag; ++ unsigned int overscan_appropriate_flag; ++ unsigned int video_signal_type_present_flag; ++ unsigned int video_format; ++ unsigned int video_full_range_flag; ++ unsigned int colour_description_present_flag; ++ unsigned int colour_primaries; ++ unsigned int transfer_characteristics; ++ unsigned int matrix_coefficients; ++ unsigned int chroma_loc_info_present_flag; ++ unsigned int chroma_sample_loc_type_top_field; ++ unsigned int chroma_sample_loc_type_bottom_field; ++ unsigned int timing_info_present_flag; ++ unsigned int num_units_in_tick; ++ unsigned int time_scale; ++ unsigned int fixed_frame_rate_flag; + }; + + struct AP4_AvcPictureParameterSet { +diff --git a/Source/C++/Core/Ap4Utils.cpp b/Source/C++/Core/Ap4Utils.cpp +index 96def27..6de4dba 100644 +--- a/Source/C++/Core/Ap4Utils.cpp ++++ b/Source/C++/Core/Ap4Utils.cpp +@@ -581,4 +581,12 @@ AP4_BitReader::SkipBit() + } + } + ++/*---------------------------------------------------------------------- ++| AP4_BitReader::BitsLeft +++---------------------------------------------------------------------*/ ++AP4_UI32 ++AP4_BitReader::BitsLeft() ++{ ++ return (m_Buffer.GetDataSize() - m_Position) * 8 + m_BitsCached; ++} + +diff --git a/Source/C++/Core/Ap4Utils.h b/Source/C++/Core/Ap4Utils.h +index 475bff3..e66bafa 100644 +--- a/Source/C++/Core/Ap4Utils.h ++++ b/Source/C++/Core/Ap4Utils.h +@@ -262,7 +262,7 @@ public: + AP4_Result SkipBytes(AP4_Size byte_count); + void SkipBit(); + void SkipBits(unsigned int bit_count); +- ++ AP4_UI32 BitsLeft(); + unsigned int GetBitsRead(); + + private: +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0005-AVC-extract-VUI-values-from-SPS.patch b/buildroot-2022.02.1/package/bento4/0005-AVC-extract-VUI-values-from-SPS.patch new file mode 100644 index 00000000..27b95722 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0005-AVC-extract-VUI-values-from-SPS.patch @@ -0,0 +1,96 @@ +From 56e0acde44adbc5503da20dd96c31db33f744bd7 Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 10:27:50 +0200 +Subject: [PATCH] AVC extract VUI values from SPS + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Codecs/Ap4AvcParser.cpp | 54 +++++++++++++++++++++++++----- + Source/C++/Codecs/Ap4AvcParser.h | 3 +- + 2 files changed, 47 insertions(+), 10 deletions(-) + +diff --git a/Source/C++/Codecs/Ap4AvcParser.cpp b/Source/C++/Codecs/Ap4AvcParser.cpp +index 7efb5c9..7f4fc34 100644 +--- a/Source/C++/Codecs/Ap4AvcParser.cpp ++++ b/Source/C++/Codecs/Ap4AvcParser.cpp +@@ -287,18 +287,54 @@ AP4_AvcSequenceParameterSet::AP4_AvcSequenceParameterSet() : + /*---------------------------------------------------------------------- + | AP4_AvcSequenceParameterSet::GetInfo + +---------------------------------------------------------------------*/ +-void ++bool + AP4_AvcSequenceParameterSet::GetInfo(unsigned int& width, unsigned int& height) + { +- width = (pic_width_in_mbs_minus1+1) * 16; +- height = (2-frame_mbs_only_flag) * (pic_height_in_map_units_minus1+1) * 16; ++ unsigned int nwidth = (pic_width_in_mbs_minus1+1) * 16; ++ unsigned int nheight = (2-frame_mbs_only_flag) * (pic_height_in_map_units_minus1+1) * 16; + +- if (frame_cropping_flag) { +- unsigned int crop_h = 2*(frame_crop_left_offset+frame_crop_right_offset); +- unsigned int crop_v = 2*(frame_crop_top_offset+frame_crop_bottom_offset)*(2-frame_mbs_only_flag); +- if (crop_h < width) width -= crop_h; +- if (crop_v < height) height -= crop_v; +- } ++ if (frame_cropping_flag) { ++ unsigned int crop_h = 2*(frame_crop_left_offset+frame_crop_right_offset); ++ unsigned int crop_v = 2*(frame_crop_top_offset+frame_crop_bottom_offset)*(2-frame_mbs_only_flag); ++ if (crop_h < nwidth) nwidth -= crop_h; ++ if (crop_v < nheight) nheight -= crop_v; ++ } ++ if (nwidth != width || nheight != height) ++ { ++ width = nwidth; ++ height = nheight; ++ return true; ++ } ++ return false; ++} ++ ++/*---------------------------------------------------------------------- ++| AP4_AvcSequenceParameterSet::GetVUIInfo +++---------------------------------------------------------------------*/ ++bool ++AP4_AvcSequenceParameterSet::GetVUIInfo(unsigned int& fps_ticks, unsigned int& fps_scale, float &aspect) ++{ ++ bool ret(false); ++ if (timing_info_present_flag && fixed_frame_rate_flag) ++ { ++ if (fps_scale != (num_units_in_tick << 1) || fps_ticks != time_scale) ++ { ++ fps_scale = num_units_in_tick << 1; ++ fps_ticks = time_scale; ++ ret = true; ++ } ++ } ++ unsigned int w, h; ++ if (aspect_ratio_info_present_flag && GetInfo(w, h)) ++ { ++ float a((float)(sar_width * w) / (sar_height * h)); ++ if (a != aspect) ++ { ++ aspect = a; ++ ret = true; ++ } ++ } ++ return ret; + } + + /*---------------------------------------------------------------------- +diff --git a/Source/C++/Codecs/Ap4AvcParser.h b/Source/C++/Codecs/Ap4AvcParser.h +index 9f97892..431a294 100644 +--- a/Source/C++/Codecs/Ap4AvcParser.h ++++ b/Source/C++/Codecs/Ap4AvcParser.h +@@ -91,7 +91,8 @@ typedef struct { + struct AP4_AvcSequenceParameterSet { + AP4_AvcSequenceParameterSet(); + +- void GetInfo(unsigned int& width, unsigned int& height); ++ bool GetInfo(unsigned int& width, unsigned int& height); ++ bool GetVUIInfo(unsigned int& fps_ticks, unsigned int& fps_scale, float &aspect); + + AP4_DataBuffer raw_bytes; + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0006-Implement-SPS-Frame-parser.patch b/buildroot-2022.02.1/package/bento4/0006-Implement-SPS-Frame-parser.patch new file mode 100644 index 00000000..d2c224cc --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0006-Implement-SPS-Frame-parser.patch @@ -0,0 +1,67 @@ +From 441247d84e8493a49d234fe062100b049956de90 Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 10:34:42 +0200 +Subject: [PATCH] Implement SPS Frame parser + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Codecs/Ap4AvcParser.cpp | 26 ++++++++++++++++++++++++++ + Source/C++/Codecs/Ap4AvcParser.h | 5 +++++ + 2 files changed, 31 insertions(+) + +diff --git a/Source/C++/Codecs/Ap4AvcParser.cpp b/Source/C++/Codecs/Ap4AvcParser.cpp +index 7f4fc34..cfa841d 100644 +--- a/Source/C++/Codecs/Ap4AvcParser.cpp ++++ b/Source/C++/Codecs/Ap4AvcParser.cpp +@@ -1112,6 +1112,32 @@ AP4_AvcFrameParser::AppendNalUnitData(const unsigned char* data, unsigned int da + m_AccessUnitData.Append(new AP4_DataBuffer(data, data_size)); + } + ++/*---------------------------------------------------------------------- ++| AP4_AvcFrameParser::Feed +++---------------------------------------------------------------------*/ ++AP4_Result AP4_AvcFrameParser::ParseFrameForSPS(const AP4_Byte* data, AP4_Size data_size, AP4_UI08 naluLengthSize, AP4_AvcSequenceParameterSet &sps) ++{ ++ if (data_size < naluLengthSize) ++ return AP4_ERROR_EOS; ++ ++ while (data_size > naluLengthSize) ++ { ++ AP4_Size nalSize(0); ++ for (unsigned int i(0); i < naluLengthSize; ++i) { nalSize = (nalSize << 8) + *data++; }; ++ data_size -= naluLengthSize; ++ if (nalSize > data_size) ++ return AP4_ERROR_INVALID_PARAMETERS; ++ ++ if ((*data & 0x1F) == AP4_AVC_NAL_UNIT_TYPE_SPS) ++ { ++ AP4_AvcFrameParser fp; ++ return fp.ParseSPS(data, data_size, sps); ++ } ++ data_size -= nalSize; ++ } ++ return AP4_SUCCESS; ++} ++ + /*---------------------------------------------------------------------- + | AP4_AvcFrameParser::Feed + +---------------------------------------------------------------------*/ +diff --git a/Source/C++/Codecs/Ap4AvcParser.h b/Source/C++/Codecs/Ap4AvcParser.h +index 431a294..99c5320 100644 +--- a/Source/C++/Codecs/Ap4AvcParser.h ++++ b/Source/C++/Codecs/Ap4AvcParser.h +@@ -258,6 +258,11 @@ public: + AP4_AvcFrameParser(); + ~AP4_AvcFrameParser(); + ++ static AP4_Result ParseFrameForSPS(const AP4_Byte* data, ++ AP4_Size data_size, ++ AP4_UI08 naluLengthSize, ++ AP4_AvcSequenceParameterSet &sps); ++ + /** + * Feed some data to the parser and look for the next NAL Unit. + * +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0007-Fix-segfault-when-AP4_Sample-s-seek.patch b/buildroot-2022.02.1/package/bento4/0007-Fix-segfault-when-AP4_Sample-s-seek.patch new file mode 100644 index 00000000..bd7f4346 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0007-Fix-segfault-when-AP4_Sample-s-seek.patch @@ -0,0 +1,25 @@ +From b36f3c02a93029308654f77c01c3c04259449c5c Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 10:35:48 +0200 +Subject: [PATCH] Fix segfault when AP4_Sample's seek + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4LinearReader.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Source/C++/Core/Ap4LinearReader.cpp b/Source/C++/Core/Ap4LinearReader.cpp +index 7cc3ebd..61dd60e 100644 +--- a/Source/C++/Core/Ap4LinearReader.cpp ++++ b/Source/C++/Core/Ap4LinearReader.cpp +@@ -482,6 +482,7 @@ AP4_LinearReader::Advance(bool read_data) + result = buffer->m_Sample->ReadData(buffer->m_Data); + } + if (AP4_FAILED(result)) { ++ buffer->m_Sample = nullptr; + delete buffer; + return result; + } +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0008-Hack-HBO.patch b/buildroot-2022.02.1/package/bento4/0008-Hack-HBO.patch new file mode 100644 index 00000000..ed297574 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0008-Hack-HBO.patch @@ -0,0 +1,214 @@ +From 37e54320f2822bdc7eab50eb54b1fc4a452c7f60 Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 11:18:14 +0200 +Subject: [PATCH] Hack HBO + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4FragmentSampleTable.cpp | 8 +++++++- + Source/C++/Core/Ap4FragmentSampleTable.h | 1 + + Source/C++/Core/Ap4LinearReader.cpp | 20 +++++++++++++------- + Source/C++/Core/Ap4LinearReader.h | 3 ++- + Source/C++/Core/Ap4MovieFragment.cpp | 5 ++++- + Source/C++/Core/Ap4MovieFragment.h | 2 ++ + Source/C++/Core/Ap4Processor.cpp | 3 ++- + 7 files changed, 31 insertions(+), 11 deletions(-) + +diff --git a/Source/C++/Core/Ap4FragmentSampleTable.cpp b/Source/C++/Core/Ap4FragmentSampleTable.cpp +index 3fbb53e..cea5c7d 100644 +--- a/Source/C++/Core/Ap4FragmentSampleTable.cpp ++++ b/Source/C++/Core/Ap4FragmentSampleTable.cpp +@@ -47,6 +47,7 @@ AP4_FragmentSampleTable::AP4_FragmentSampleTable(AP4_ContainerAtom* traf, + AP4_ByteStream* sample_stream, + AP4_Position moof_offset, + AP4_Position mdat_payload_offset, ++ AP4_UI64 mdat_payload_size, + AP4_UI64 dts_origin) : + m_Duration(0) + { +@@ -73,6 +74,7 @@ AP4_FragmentSampleTable::AP4_FragmentSampleTable(AP4_ContainerAtom* traf, + } + + // process all the trun atoms ++ AP4_UI32 trun_flags(0); + for (AP4_List::Item* item = traf->GetChildren().FirstItem(); + item; + item = item->GetNext()) { +@@ -88,9 +90,13 @@ AP4_FragmentSampleTable::AP4_FragmentSampleTable(AP4_ContainerAtom* traf, + mdat_payload_offset, + dts_origin); + if (AP4_FAILED(result)) return; ++ trun_flags |= trun->GetFlags(); + } + } +- } ++ } ++ // Hack if we have a single sample and default sample size is wrong (hbo ttml) ++ if (m_Samples.ItemCount() == 1 && (trun_flags & AP4_TRUN_FLAG_SAMPLE_SIZE_PRESENT) == 0) ++ m_Samples[0].SetSize(mdat_payload_size); + } + + /*---------------------------------------------------------------------- +diff --git a/Source/C++/Core/Ap4FragmentSampleTable.h b/Source/C++/Core/Ap4FragmentSampleTable.h +index 67192de..29fa4a9 100644 +--- a/Source/C++/Core/Ap4FragmentSampleTable.h ++++ b/Source/C++/Core/Ap4FragmentSampleTable.h +@@ -57,6 +57,7 @@ class AP4_FragmentSampleTable : public AP4_SampleTable + AP4_ByteStream* sample_stream, + AP4_Position moof_offset, + AP4_Position mdat_payload_offset, // hack because MS doesn't implement the spec correctly ++ AP4_UI64 mdat_payload_size, + AP4_UI64 dts_origin=0); + virtual ~AP4_FragmentSampleTable(); + +diff --git a/Source/C++/Core/Ap4LinearReader.cpp b/Source/C++/Core/Ap4LinearReader.cpp +index 61dd60e..eabeacf 100644 +--- a/Source/C++/Core/Ap4LinearReader.cpp ++++ b/Source/C++/Core/Ap4LinearReader.cpp +@@ -309,7 +309,8 @@ AP4_LinearReader::ProcessTrack(AP4_Track* track) + AP4_Result + AP4_LinearReader::ProcessMoof(AP4_ContainerAtom* moof, + AP4_Position moof_offset, +- AP4_Position mdat_payload_offset) ++ AP4_Position mdat_payload_offset, ++ AP4_UI64 mdat_payload_size) + { + AP4_Result result; + +@@ -334,7 +335,8 @@ AP4_LinearReader::ProcessMoof(AP4_ContainerAtom* moof, + ids[j], + m_FragmentStream, + moof_offset, +- mdat_payload_offset, ++ mdat_payload_offset, ++ mdat_payload_size, + tracker->m_NextDts, + sample_table); + if (AP4_FAILED(result)) return result; +@@ -382,13 +384,11 @@ AP4_LinearReader::AdvanceFragment() + AP4_Position position = 0; + m_FragmentStream->Tell(position); + +- // process the movie fragment +- result = ProcessMoof(moof, position-atom->GetSize(), position+8); +- if (AP4_FAILED(result)) return result; +- + // compute where the next fragment will be + AP4_UI32 size; + AP4_UI32 type; ++ AP4_UI64 size_64 = 0; ++ + m_FragmentStream->Tell(position); + result = m_FragmentStream->ReadUI32(size); + if (AP4_FAILED(result)) return AP4_SUCCESS; // can't read more +@@ -397,13 +397,19 @@ AP4_LinearReader::AdvanceFragment() + if (size == 0) { + m_NextFragmentPosition = 0; + } else if (size == 1) { +- AP4_UI64 size_64 = 0; + result = m_FragmentStream->ReadUI64(size_64); + if (AP4_FAILED(result)) return AP4_SUCCESS; // can't read more + m_NextFragmentPosition = position+size_64; ++ size_64 -= 8; + } else { + m_NextFragmentPosition = position+size; ++ size_64 = size; + } ++ ++ // process the movie fragment ++ result = ProcessMoof(moof, position - atom->GetSize(), position + 8, size_64 - 8); ++ if (AP4_FAILED(result)) return result; ++ + return AP4_SUCCESS; + } else { + delete atom; +diff --git a/Source/C++/Core/Ap4LinearReader.h b/Source/C++/Core/Ap4LinearReader.h +index 21f4871..929b4e1 100644 +--- a/Source/C++/Core/Ap4LinearReader.h ++++ b/Source/C++/Core/Ap4LinearReader.h +@@ -161,7 +161,8 @@ protected: + virtual AP4_Result ProcessTrack(AP4_Track* track); + virtual AP4_Result ProcessMoof(AP4_ContainerAtom* moof, + AP4_Position moof_offset, +- AP4_Position mdat_payload_offset); ++ AP4_Position mdat_payload_offset, ++ AP4_UI64 mdat_payload_size); + + // methods + Tracker* FindTracker(AP4_UI32 track_id); +diff --git a/Source/C++/Core/Ap4MovieFragment.cpp b/Source/C++/Core/Ap4MovieFragment.cpp +index 028d42d..c2ead25 100644 +--- a/Source/C++/Core/Ap4MovieFragment.cpp ++++ b/Source/C++/Core/Ap4MovieFragment.cpp +@@ -127,6 +127,7 @@ AP4_MovieFragment::CreateSampleTable(AP4_MoovAtom* moov, + AP4_ByteStream* sample_stream, + AP4_Position moof_offset, + AP4_Position mdat_payload_offset, ++ AP4_UI64 mdat_payload_size, + AP4_UI64 dts_origin, + AP4_FragmentSampleTable*& sample_table) + { +@@ -158,6 +159,7 @@ AP4_MovieFragment::CreateSampleTable(AP4_MoovAtom* moov, + sample_stream, + moof_offset, + mdat_payload_offset, ++ mdat_payload_size, + dts_origin); + return AP4_SUCCESS; + } +@@ -174,9 +176,10 @@ AP4_MovieFragment::CreateSampleTable(AP4_Movie* movie, + AP4_ByteStream* sample_stream, + AP4_Position moof_offset, + AP4_Position mdat_payload_offset, ++ AP4_UI64 mdat_payload_size, + AP4_UI64 dts_origin, + AP4_FragmentSampleTable*& sample_table) + { + AP4_MoovAtom* moov = movie?movie->GetMoovAtom():NULL; +- return CreateSampleTable(moov, track_id, sample_stream, moof_offset, mdat_payload_offset, dts_origin, sample_table); ++ return CreateSampleTable(moov, track_id, sample_stream, moof_offset, mdat_payload_offset, mdat_payload_size, dts_origin, sample_table); + } +diff --git a/Source/C++/Core/Ap4MovieFragment.h b/Source/C++/Core/Ap4MovieFragment.h +index f829411..de59c42 100644 +--- a/Source/C++/Core/Ap4MovieFragment.h ++++ b/Source/C++/Core/Ap4MovieFragment.h +@@ -70,6 +70,7 @@ public: + AP4_ByteStream* sample_stream, + AP4_Position moof_offset, + AP4_Position mdat_payload_offset, // hack because MS doesn't implement the spec properly ++ AP4_UI64 mdat_payload_size, + AP4_UI64 dts_origin, + AP4_FragmentSampleTable*& sample_table); + AP4_Result CreateSampleTable(AP4_Movie* movie, +@@ -77,6 +78,7 @@ public: + AP4_ByteStream* sample_stream, + AP4_Position moof_offset, + AP4_Position mdat_payload_offset, // hack because MS doesn't implement the spec properly ++ AP4_UI64 mdat_payload_size, + AP4_UI64 dts_origin, + AP4_FragmentSampleTable*& sample_table); + +diff --git a/Source/C++/Core/Ap4Processor.cpp b/Source/C++/Core/Ap4Processor.cpp +index c4e1d78..365d955 100644 +--- a/Source/C++/Core/Ap4Processor.cpp ++++ b/Source/C++/Core/Ap4Processor.cpp +@@ -156,6 +156,7 @@ AP4_Processor::ProcessFragments(AP4_MoovAtom* moov, + AP4_Atom* atom = locator->m_Atom; + AP4_UI64 atom_offset = locator->m_Offset; + AP4_UI64 mdat_payload_offset = atom_offset+atom->GetSize()+AP4_ATOM_HEADER_SIZE; ++ AP4_UI64 mdat_payload_size = atom->GetSize(); + AP4_Sample sample; + AP4_DataBuffer sample_data_in; + AP4_DataBuffer sample_data_out; +@@ -226,7 +227,7 @@ AP4_Processor::ProcessFragments(AP4_MoovAtom* moov, + + // create a sample table object so we can read the sample data + AP4_FragmentSampleTable* sample_table = NULL; +- result = fragment->CreateSampleTable(moov, tfhd->GetTrackId(), &input, atom_offset, mdat_payload_offset, 0, sample_table); ++ result = fragment->CreateSampleTable(moov, tfhd->GetTrackId(), &input, atom_offset, mdat_payload_offset, mdat_payload_size, 0, sample_table); + if (AP4_FAILED(result)) return result; + sample_tables.Append(sample_table); + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0009-Android-32-ftello-fix.patch b/buildroot-2022.02.1/package/bento4/0009-Android-32-ftello-fix.patch new file mode 100644 index 00000000..0adca20e --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0009-Android-32-ftello-fix.patch @@ -0,0 +1,31 @@ +From f12fbb6f54b8302db2ab7c926a26f9189cf86532 Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 10:41:35 +0200 +Subject: [PATCH] Android 32 ftello fix + +ref: https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4Config.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Source/C++/Core/Ap4Config.h b/Source/C++/Core/Ap4Config.h +index 422069e..c859a03 100644 +--- a/Source/C++/Core/Ap4Config.h ++++ b/Source/C++/Core/Ap4Config.h +@@ -141,10 +141,10 @@ + #endif + + #if !defined(AP4_fseek) +-#define AP4_fseek fseeko ++#define AP4_fseek fseek + #endif + #if !defined(AP4_ftell) +-#define AP4_ftell ftello ++#define AP4_ftell ftell + #endif + + /* some compilers (ex: MSVC 8) deprecate those, so we rename them */ +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0010-Dazn-sample-duration-workaround.patch b/buildroot-2022.02.1/package/bento4/0010-Dazn-sample-duration-workaround.patch new file mode 100644 index 00000000..5c642103 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0010-Dazn-sample-duration-workaround.patch @@ -0,0 +1,30 @@ +From 10f931c703c68b4fc856e09788dfe64579252bb8 Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 10:48:36 +0200 +Subject: [PATCH] Dazn sample duration workaround + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4TrunAtom.cpp | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/Source/C++/Core/Ap4TrunAtom.cpp b/Source/C++/Core/Ap4TrunAtom.cpp +index c51f21d..77b7c6d 100644 +--- a/Source/C++/Core/Ap4TrunAtom.cpp ++++ b/Source/C++/Core/Ap4TrunAtom.cpp +@@ -128,6 +128,12 @@ AP4_TrunAtom::AP4_TrunAtom(AP4_UI32 size, + for (unsigned int i=0; i 1 sequences ++ if (i && m_Entries[i].sample_duration == 1 && m_Entries[i - 1].sample_duration > 1) ++ { ++ m_Entries[i].sample_duration = m_Entries[i - 1].sample_duration >> 1; ++ m_Entries[i - 1].sample_duration -= m_Entries[i].sample_duration; ++ } + --record_fields_count; + } + if (flags & AP4_TRUN_FLAG_SAMPLE_SIZE_PRESENT) { +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0011-Add-argument-to-reuse-single-sample-decrypter.patch b/buildroot-2022.02.1/package/bento4/0011-Add-argument-to-reuse-single-sample-decrypter.patch new file mode 100644 index 00000000..15159af8 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0011-Add-argument-to-reuse-single-sample-decrypter.patch @@ -0,0 +1,179 @@ +From 7bb5120b52814e4471a165e295acdc6b6155259e Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 11:01:12 +0200 +Subject: [PATCH] Add argument to reuse single sample decrypter + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4CommonEncryption.cpp | 36 ++++++++++++++++++------- + Source/C++/Core/Ap4CommonEncryption.h | 8 +++++- + Source/C++/Core/Ap4Protection.cpp | 3 ++- + 3 files changed, 35 insertions(+), 12 deletions(-) + +diff --git a/Source/C++/Core/Ap4CommonEncryption.cpp b/Source/C++/Core/Ap4CommonEncryption.cpp +index 5308200..cb5c328 100644 +--- a/Source/C++/Core/Ap4CommonEncryption.cpp ++++ b/Source/C++/Core/Ap4CommonEncryption.cpp +@@ -1967,6 +1967,7 @@ AP4_CencSampleDecrypter::Create(AP4_ProtectedSampleDescription* sample_descripti + const AP4_UI08* key, + AP4_Size key_size, + AP4_BlockCipherFactory* block_cipher_factory, ++ AP4_CencSingleSampleDecrypter* singlesample_decrypter, + AP4_CencSampleDecrypter*& decrypter) + { + AP4_SaioAtom* saio = NULL; +@@ -1982,6 +1983,7 @@ AP4_CencSampleDecrypter::Create(AP4_ProtectedSampleDescription* sample_descripti + saio, + saiz, + sample_encryption_atom, ++ singlesample_decrypter, + decrypter); + } + +@@ -1999,6 +2001,7 @@ AP4_CencSampleDecrypter::Create(AP4_ProtectedSampleDescription* sample_descripti + AP4_SaioAtom*& saio, + AP4_SaizAtom*& saiz, + AP4_CencSampleEncryption*& sample_encryption_atom, ++ AP4_CencSingleSampleDecrypter* singlesample_decrypter, + AP4_CencSampleDecrypter*& decrypter) + { + // default return values +@@ -2032,6 +2035,7 @@ AP4_CencSampleDecrypter::Create(AP4_ProtectedSampleDescription* sample_descripti + key_size, + block_cipher_factory, + reset_iv_at_each_subsample, ++ singlesample_decrypter, + decrypter); + } + +@@ -2045,6 +2049,7 @@ AP4_CencSampleDecrypter::Create(AP4_CencSampleInfoTable* sample_info_table, + AP4_Size key_size, + AP4_BlockCipherFactory* block_cipher_factory, + bool reset_iv_at_each_subsample, ++ AP4_CencSingleSampleDecrypter* singlesample_decrypter, + AP4_CencSampleDecrypter*& decrypter) + { + // default return value +@@ -2074,15 +2079,23 @@ AP4_CencSampleDecrypter::Create(AP4_CencSampleInfoTable* sample_info_table, + + // create a single-sample decrypter + AP4_CencSingleSampleDecrypter* single_sample_decrypter = NULL; +- AP4_Result result = AP4_CencSingleSampleDecrypter::Create(cipher_type, +- key, +- key_size, +- sample_info_table->GetCryptByteBlock(), +- sample_info_table->GetSkipByteBlock(), +- block_cipher_factory, +- reset_iv_at_each_subsample, +- single_sample_decrypter); +- if (AP4_FAILED(result)) return result; ++ if (!singlesample_decrypter) ++ { ++ AP4_Result result = AP4_CencSingleSampleDecrypter::Create(cipher_type, ++ key, ++ key_size, ++ sample_info_table->GetCryptByteBlock(), ++ sample_info_table->GetSkipByteBlock(), ++ block_cipher_factory, ++ reset_iv_at_each_subsample, ++ single_sample_decrypter); ++ ++ if (AP4_FAILED(result)) return result; ++ } ++ else ++ { ++ single_sample_decrypter = singlesample_decrypter; ++ } + + // create the decrypter + decrypter = new AP4_CencSampleDecrypter(single_sample_decrypter, sample_info_table); +@@ -2333,7 +2346,9 @@ AP4_CencFragmentDecrypter::ProcessSample(AP4_DataBuffer& data_in, + | AP4_CencDecryptingProcessor::AP4_CencDecryptingProcessor + +---------------------------------------------------------------------*/ + AP4_CencDecryptingProcessor::AP4_CencDecryptingProcessor(const AP4_ProtectionKeyMap* key_map, +- AP4_BlockCipherFactory* block_cipher_factory) : ++ AP4_BlockCipherFactory* block_cipher_factory, ++ AP4_CencSingleSampleDecrypter *cenc_singlesample_decrypter) : ++ m_CencSingleSampleDecrypter(cenc_singlesample_decrypter), + m_KeyMap(key_map) + { + if (block_cipher_factory) { +@@ -2483,6 +2498,7 @@ AP4_CencDecryptingProcessor::CreateFragmentHandler(AP4_TrakAtom* trak, + saio, + saiz, + sample_encryption_atom, ++ m_CencSingleSampleDecrypter, + sample_decrypter); + if (AP4_FAILED(result)) return NULL; + +diff --git a/Source/C++/Core/Ap4CommonEncryption.h b/Source/C++/Core/Ap4CommonEncryption.h +index 580de66..a6b20ce 100644 +--- a/Source/C++/Core/Ap4CommonEncryption.h ++++ b/Source/C++/Core/Ap4CommonEncryption.h +@@ -48,6 +48,7 @@ class AP4_SaioAtom; + class AP4_CencSampleInfoTable; + class AP4_AvcFrameParser; + class AP4_HevcFrameParser; ++class AP4_CencSingleSampleDecrypter; + + /*---------------------------------------------------------------------- + | constants +@@ -654,7 +655,8 @@ class AP4_CencDecryptingProcessor : public AP4_Processor + public: + // constructor + AP4_CencDecryptingProcessor(const AP4_ProtectionKeyMap* key_map, +- AP4_BlockCipherFactory* block_cipher_factory = NULL); ++ AP4_BlockCipherFactory* block_cipher_factory = NULL, ++ AP4_CencSingleSampleDecrypter* cenc_singlesample_decrypter = NULL); + + // AP4_Processor methods + virtual AP4_Processor::TrackHandler* CreateTrackHandler(AP4_TrakAtom* trak); +@@ -670,6 +672,7 @@ protected: + + // members + AP4_BlockCipherFactory* m_BlockCipherFactory; ++ AP4_CencSingleSampleDecrypter* m_CencSingleSampleDecrypter; + const AP4_ProtectionKeyMap* m_KeyMap; + }; + +@@ -752,6 +755,7 @@ public: + AP4_SaioAtom*& saio_atom, // [out] + AP4_SaizAtom*& saiz_atom, // [out] + AP4_CencSampleEncryption*& sample_encryption_atom, // [out] ++ AP4_CencSingleSampleDecrypter* singlesample_decrypter, + AP4_CencSampleDecrypter*& decrypter); + + static AP4_Result Create(AP4_ProtectedSampleDescription* sample_description, +@@ -761,6 +765,7 @@ public: + const AP4_UI08* key, + AP4_Size key_size, + AP4_BlockCipherFactory* block_cipher_factory, ++ AP4_CencSingleSampleDecrypter* singlesample_decrypter, + AP4_CencSampleDecrypter*& decrypter); + + static AP4_Result Create(AP4_CencSampleInfoTable* sample_info_table, +@@ -769,6 +774,7 @@ public: + AP4_Size key_size, + AP4_BlockCipherFactory* block_cipher_factory, + bool reset_iv_at_each_subsample, ++ AP4_CencSingleSampleDecrypter* singlesample_decrypter, + AP4_CencSampleDecrypter*& decrypter); + + // methods +diff --git a/Source/C++/Core/Ap4Protection.cpp b/Source/C++/Core/Ap4Protection.cpp +index fd421e9..80bb9f0 100644 +--- a/Source/C++/Core/Ap4Protection.cpp ++++ b/Source/C++/Core/Ap4Protection.cpp +@@ -812,7 +812,8 @@ AP4_SampleDecrypter::Create(AP4_ProtectedSampleDescription* sample_description, + aux_info_data_offset, + key, + key_size, +- block_cipher_factory, ++ block_cipher_factory, ++ NULL, + decrypter); + if (AP4_FAILED(result)) return NULL; + return decrypter; +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0012-Static-ReadGolomb-SignedGolomb.patch b/buildroot-2022.02.1/package/bento4/0012-Static-ReadGolomb-SignedGolomb.patch new file mode 100644 index 00000000..d20e1191 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0012-Static-ReadGolomb-SignedGolomb.patch @@ -0,0 +1,54 @@ +From 91e148a9c53811447d35c36d9f11f767d49477a0 Mon Sep 17 00:00:00 2001 +From: Glenn Guy +Date: Thu, 22 Jul 2021 11:04:26 +0200 +Subject: [PATCH] Static ReadGolomb/SignedGolomb + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Codecs/Ap4AvcParser.cpp | 8 ++++---- + Source/C++/Codecs/Ap4AvcParser.h | 3 +++ + 2 files changed, 7 insertions(+), 4 deletions(-) + +diff --git a/Source/C++/Codecs/Ap4AvcParser.cpp b/Source/C++/Codecs/Ap4AvcParser.cpp +index cfa841d..a17b698 100644 +--- a/Source/C++/Codecs/Ap4AvcParser.cpp ++++ b/Source/C++/Codecs/Ap4AvcParser.cpp +@@ -191,8 +191,8 @@ AP4_AvcFrameParser::~AP4_AvcFrameParser() + /*---------------------------------------------------------------------- + | ReadGolomb + +---------------------------------------------------------------------*/ +-static unsigned int +-ReadGolomb(AP4_BitReader& bits) ++unsigned int ++AP4_AvcFrameParser::ReadGolomb(AP4_BitReader& bits) + { + unsigned int leading_zeros = 0; + while (bits.ReadBit() == 0) { +@@ -209,8 +209,8 @@ ReadGolomb(AP4_BitReader& bits) + /*---------------------------------------------------------------------- + | SignedGolomb + +---------------------------------------------------------------------*/ +-static int +-SignedGolomb(unsigned int code_num) ++int ++AP4_AvcFrameParser::SignedGolomb(unsigned int code_num) + { + if (code_num % 2) { + return (code_num+1)/2; +diff --git a/Source/C++/Codecs/Ap4AvcParser.h b/Source/C++/Codecs/Ap4AvcParser.h +index 99c5320..0c74c0e 100644 +--- a/Source/C++/Codecs/Ap4AvcParser.h ++++ b/Source/C++/Codecs/Ap4AvcParser.h +@@ -321,6 +321,9 @@ public: + unsigned int nal_ref_idc, + AP4_AvcSliceHeader& slice_header); + ++ static unsigned int ReadGolomb(AP4_BitReader& bits); ++ static int SignedGolomb(unsigned int code_num); ++ + private: + // methods + bool SameFrame(unsigned int nal_unit_type_1, unsigned int nal_ref_idc_1, AP4_AvcSliceHeader& sh1, +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0013-Add-GetChannels-method.patch b/buildroot-2022.02.1/package/bento4/0013-Add-GetChannels-method.patch new file mode 100644 index 00000000..7e3f6e69 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0013-Add-GetChannels-method.patch @@ -0,0 +1,40 @@ +From 15e31e3641e4f85475984bf4d9ebf8ae47303a8a Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 11:07:13 +0200 +Subject: [PATCH] Add GetChannels method + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4Dac3Atom.cpp | 6 ++++++ + Source/C++/Core/Ap4Dac3Atom.h | 1 + + 2 files changed, 7 insertions(+) + +diff --git a/Source/C++/Core/Ap4Dac3Atom.cpp b/Source/C++/Core/Ap4Dac3Atom.cpp +index 80a511e..a9ea78a 100644 +--- a/Source/C++/Core/Ap4Dac3Atom.cpp ++++ b/Source/C++/Core/Ap4Dac3Atom.cpp +@@ -143,3 +143,9 @@ AP4_Dac3Atom::InspectFields(AP4_AtomInspector& inspector) + inspector.AddField("lfeon", m_StreamInfo.lfeon); + return AP4_SUCCESS; + } ++ ++AP4_UI08 AP4_Dac3Atom::GetChannels() const ++{ ++ static const AP4_UI08 CC[] = { 2, 1, 2, 3, 3, 4, 4, 5 }; ++ return CC[m_StreamInfo.acmod] + m_StreamInfo.lfeon; ++} +diff --git a/Source/C++/Core/Ap4Dac3Atom.h b/Source/C++/Core/Ap4Dac3Atom.h +index 2532ef2..78e2875 100644 +--- a/Source/C++/Core/Ap4Dac3Atom.h ++++ b/Source/C++/Core/Ap4Dac3Atom.h +@@ -73,6 +73,7 @@ public: + const AP4_DataBuffer& GetRawBytes() const { return m_RawBytes; } + unsigned int GetDataRate() const { return m_DataRate; } + const StreamInfo& GetStreamInfo() const { return m_StreamInfo; } ++ AP4_UI08 GetChannels() const; + + private: + // methods +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0014-Implemented-GetSampleIndexForTimeStamp-GetNearestSyn.patch b/buildroot-2022.02.1/package/bento4/0014-Implemented-GetSampleIndexForTimeStamp-GetNearestSyn.patch new file mode 100644 index 00000000..a2bc7aef --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0014-Implemented-GetSampleIndexForTimeStamp-GetNearestSyn.patch @@ -0,0 +1,59 @@ +From f673675843144785658a010bab455972d83af004 Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 11:09:37 +0200 +Subject: [PATCH] Implemented + GetSampleIndexForTimeStamp/GetNearestSyncSampleIndex + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4FragmentSampleTable.cpp | 25 ++++++++++++++++++---- + 1 file changed, 21 insertions(+), 4 deletions(-) + +diff --git a/Source/C++/Core/Ap4FragmentSampleTable.cpp b/Source/C++/Core/Ap4FragmentSampleTable.cpp +index cea5c7d..1c62f24 100644 +--- a/Source/C++/Core/Ap4FragmentSampleTable.cpp ++++ b/Source/C++/Core/Ap4FragmentSampleTable.cpp +@@ -297,10 +297,19 @@ AP4_FragmentSampleTable::GetSampleChunkPosition(AP4_Ordinal sample_index, + | AP4_FragmentSampleTable::GetSampleIndexForTimeStamp + +---------------------------------------------------------------------*/ + AP4_Result +-AP4_FragmentSampleTable::GetSampleIndexForTimeStamp(AP4_UI64 /*ts*/, ++AP4_FragmentSampleTable::GetSampleIndexForTimeStamp(AP4_UI64 ts, + AP4_Ordinal& sample_index) + { +- sample_index = 0; // TODO ++ if (!m_Samples.ItemCount()) ++ return AP4_ERROR_NOT_ENOUGH_DATA; ++ ++ sample_index = 0; ++ while (sample_index < m_Samples.ItemCount() && m_Samples[sample_index].GetCts() + m_Samples[sample_index].GetDuration() < ts) ++ ++sample_index; ++ ++ if (sample_index == m_Samples.ItemCount()) ++ return AP4_ERROR_NOT_ENOUGH_DATA; ++ + return AP4_SUCCESS; + } + +@@ -308,8 +317,16 @@ AP4_FragmentSampleTable::GetSampleIndexForTimeStamp(AP4_UI64 /*ts*/, + | AP4_FragmentSampleTable::GetNearestSyncSampleIndex + +---------------------------------------------------------------------*/ + AP4_Ordinal +-AP4_FragmentSampleTable::GetNearestSyncSampleIndex(AP4_Ordinal /*sample_index*/, bool /*before*/) ++AP4_FragmentSampleTable::GetNearestSyncSampleIndex(AP4_Ordinal sample_index, bool before) + { +- return 0; // TODO ++ if (sample_index >= m_Samples.ItemCount()) ++ return sample_index; ++ ++ AP4_Ordinal end(before ? 0 : m_Samples.ItemCount()); ++ ++ while (sample_index != end && !m_Samples[sample_index].IsSync()) ++ sample_index = sample_index + (before ? -1 : 1); ++ ++ return sample_index; + } + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0015-Avoid-set-next-fragment-position.patch b/buildroot-2022.02.1/package/bento4/0015-Avoid-set-next-fragment-position.patch new file mode 100644 index 00000000..ded33ffd --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0015-Avoid-set-next-fragment-position.patch @@ -0,0 +1,43 @@ +From 0658d38be16c88585b248b237895b4dc63f28e79 Mon Sep 17 00:00:00 2001 +From: peak3d +Date: Thu, 22 Jul 2021 11:23:13 +0200 +Subject: [PATCH] Avoid set next fragment position + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4LinearReader.cpp | 12 +++++++----- + 1 file changed, 7 insertions(+), 5 deletions(-) + +diff --git a/Source/C++/Core/Ap4LinearReader.cpp b/Source/C++/Core/Ap4LinearReader.cpp +index eabeacf..61c3a9d 100644 +--- a/Source/C++/Core/Ap4LinearReader.cpp ++++ b/Source/C++/Core/Ap4LinearReader.cpp +@@ -54,8 +54,8 @@ AP4_LinearReader::AP4_LinearReader(AP4_Movie& movie, + m_HasFragments = movie.HasFragments(); + if (fragment_stream) { + fragment_stream->AddReference(); +- fragment_stream->Tell(m_CurrentFragmentPosition); +- m_NextFragmentPosition = m_CurrentFragmentPosition; ++ //fragment_stream->Tell(m_CurrentFragmentPosition); ++ //m_NextFragmentPosition = m_CurrentFragmentPosition; + } + } + +@@ -360,9 +360,11 @@ AP4_LinearReader::AdvanceFragment() + AP4_Result result; + + // go the the start of the next fragment +- result = m_FragmentStream->Seek(m_NextFragmentPosition); +- if (AP4_FAILED(result)) return result; +- m_CurrentFragmentPosition = m_NextFragmentPosition; ++ if (m_NextFragmentPosition) { ++ result = m_FragmentStream->Seek(m_NextFragmentPosition); ++ if (AP4_FAILED(result)) return result; ++ m_CurrentFragmentPosition = m_NextFragmentPosition; ++ } + + // read atoms until we find a moof + assert(m_HasFragments); +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bento4/0016-Fix-segfault-in-AP4_LinearReader-ProcessMoof.patch b/buildroot-2022.02.1/package/bento4/0016-Fix-segfault-in-AP4_LinearReader-ProcessMoof.patch new file mode 100644 index 00000000..cbcc62f9 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/0016-Fix-segfault-in-AP4_LinearReader-ProcessMoof.patch @@ -0,0 +1,27 @@ +From e5b37c1e0a7a84fdc7b403c5e30a5e93706104b8 Mon Sep 17 00:00:00 2001 +From: Dobroslaw Kijowski +Date: Tue, 19 Oct 2021 14:17:11 +0200 +Subject: [PATCH] Fix segfault in Ap4LinearReader ProcessMoof + +Downloaded from https://github.com/xbmc/inputstream.adaptive/pull/856 + +Signed-off-by: Bernd Kuhls +--- + Source/C++/Core/Ap4LinearReader.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Source/C++/Core/Ap4LinearReader.cpp b/Source/C++/Core/Ap4LinearReader.cpp +index 61c3a9d..2464865 100644 +--- a/Source/C++/Core/Ap4LinearReader.cpp ++++ b/Source/C++/Core/Ap4LinearReader.cpp +@@ -329,7 +329,7 @@ AP4_LinearReader::ProcessMoof(AP4_ContainerAtom* moof, + tracker->m_SampleTable = NULL; + tracker->m_NextSampleIndex = 0; + for (unsigned int j=0; jm_Track->GetId()) { ++ if (ids.ItemCount()==1 || ids[j] == tracker->m_Track->GetId()) { + AP4_FragmentSampleTable* sample_table = NULL; + result = m_Fragment->CreateSampleTable(&m_Movie, + ids[j], +-- +2.33.1 diff --git a/buildroot-2022.02.1/package/bento4/Config.in b/buildroot-2022.02.1/package/bento4/Config.in new file mode 100644 index 00000000..5b9eb127 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_BENTO4 + bool "bento4" + depends on BR2_INSTALL_LIBSTDCPP + help + Bento4 is a C++ class library designed to read and write + ISO-MP4 files. + + https://www.bento4.com/ + +comment "bento4 support needs a toolchain with C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/bento4/bento4.hash b/buildroot-2022.02.1/package/bento4/bento4.hash new file mode 100644 index 00000000..8b9ec610 --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/bento4.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 9f3eb912207d7ed9c1e6e05315083404b32a11f8aacd604a9b2bdcb10bf79eb9 bento4-1.6.0-639.tar.gz +sha256 7daae92c8628ada28def8d096fe2fde298b72ec3e2d64a3c408afce38edb361b Documents/LICENSE.txt diff --git a/buildroot-2022.02.1/package/bento4/bento4.mk b/buildroot-2022.02.1/package/bento4/bento4.mk new file mode 100644 index 00000000..89ff2e4b --- /dev/null +++ b/buildroot-2022.02.1/package/bento4/bento4.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# bento4 +# +################################################################################ + +BENTO4_VERSION = 1.6.0-639 +BENTO4_SITE = $(call github,axiomatic-systems,Bento4,v$(BENTO4_VERSION)) +BENTO4_INSTALL_STAGING = YES +BENTO4_LICENSE = GPL-2.0+ +BENTO4_LICENSE_FILES = Documents/LICENSE.txt +BENTO4_CPE_ID_VENDOR = axiosys + +# Source/C++/Core/Ap4Config.h +ifeq ($(BR2_ENDIAN),"BIG") +BENTO4_BYTE_ORDER = 0 +else +BENTO4_BYTE_ORDER = 1 +endif + +BENTO4_CONF_OPTS += \ + -DBUILD_APPS=OFF \ + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -std=c++11 -fPIC -DAP4_PLATFORM_BYTE_ORDER=$(BENTO4_BYTE_ORDER)" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/berkeleydb/0001-cwd-db_config.patch b/buildroot-2022.02.1/package/berkeleydb/0001-cwd-db_config.patch similarity index 100% rename from buildroot-2021.05/package/berkeleydb/0001-cwd-db_config.patch rename to buildroot-2022.02.1/package/berkeleydb/0001-cwd-db_config.patch diff --git a/buildroot-2021.05/package/berkeleydb/0002-atomic_compare_exchange.patch b/buildroot-2022.02.1/package/berkeleydb/0002-atomic_compare_exchange.patch similarity index 100% rename from buildroot-2021.05/package/berkeleydb/0002-atomic_compare_exchange.patch rename to buildroot-2022.02.1/package/berkeleydb/0002-atomic_compare_exchange.patch diff --git a/buildroot-2021.05/package/berkeleydb/Config.in b/buildroot-2022.02.1/package/berkeleydb/Config.in similarity index 100% rename from buildroot-2021.05/package/berkeleydb/Config.in rename to buildroot-2022.02.1/package/berkeleydb/Config.in diff --git a/buildroot-2021.05/package/berkeleydb/berkeleydb.hash b/buildroot-2022.02.1/package/berkeleydb/berkeleydb.hash similarity index 100% rename from buildroot-2021.05/package/berkeleydb/berkeleydb.hash rename to buildroot-2022.02.1/package/berkeleydb/berkeleydb.hash diff --git a/buildroot-2021.05/package/berkeleydb/berkeleydb.mk b/buildroot-2022.02.1/package/berkeleydb/berkeleydb.mk similarity index 100% rename from buildroot-2021.05/package/berkeleydb/berkeleydb.mk rename to buildroot-2022.02.1/package/berkeleydb/berkeleydb.mk diff --git a/buildroot-2021.05/package/bind/0001-cross.patch b/buildroot-2022.02.1/package/bind/0001-cross.patch similarity index 100% rename from buildroot-2021.05/package/bind/0001-cross.patch rename to buildroot-2022.02.1/package/bind/0001-cross.patch diff --git a/buildroot-2022.02.1/package/bind/Config.in b/buildroot-2022.02.1/package/bind/Config.in new file mode 100644 index 00000000..9887403e --- /dev/null +++ b/buildroot-2022.02.1/package/bind/Config.in @@ -0,0 +1,49 @@ +config BR2_PACKAGE_BIND + bool "bind" + depends on BR2_USE_MMU # fork(), libuv + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv + depends on !BR2_STATIC_LIBS # libuv + select BR2_PACKAGE_LIBUV + select BR2_PACKAGE_OPENSSL + help + BIND (Berkeley Internet Name Domain) is an + implementation of the Domain Name System (DNS) protocols + and provides an openly redistributable reference + implementation of the major components of the Domain + Name System, including: + + * a Domain Name System server (named) + * a Domain Name System resolver library + * tools for verifying the proper operation of the DNS + server + + The BIND DNS Server is used on the vast majority of name + serving machines on the Internet, providing a robust and + stable architecture on top of which an organization's naming + architecture can be built. The resolver library included in + the BIND distribution provides the standard APIs for + translation between domain names and Internet addresses and is + intended to be linked with applications requiring name + service. + + https://www.isc.org/bind/ + +comment "bind needs a toolchain w/ NPTL, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS + +if BR2_PACKAGE_BIND + +config BR2_PACKAGE_BIND_SERVER + bool "Install server components" + help + Install server components (named, lwresd) + +config BR2_PACKAGE_BIND_TOOLS + bool "Install tools" + help + Install tools (dig, host, nslookup, nsupdate) + +endif diff --git a/buildroot-2021.05/package/bind/S81named b/buildroot-2022.02.1/package/bind/S81named similarity index 100% rename from buildroot-2021.05/package/bind/S81named rename to buildroot-2022.02.1/package/bind/S81named diff --git a/buildroot-2022.02.1/package/bind/bind.hash b/buildroot-2022.02.1/package/bind/bind.hash new file mode 100644 index 00000000..2c10a042 --- /dev/null +++ b/buildroot-2022.02.1/package/bind/bind.hash @@ -0,0 +1,4 @@ +# Verified from https://ftp.isc.org/isc/bind9/9.16.27/bind-9.16.27.tar.xz.asc +# with key AADBBA5074F1402F7B69D56BC5B4EE931A9F9DFD +sha256 90902aaf104c81019d75d6f8b2f7ec40fcd249406f894b44e4a9c6b5e08bf566 bind-9.16.27.tar.xz +sha256 daf6f1eddf5983ed664a2d125b619e56e2e93917c19d0d41c7586ea153ba2155 COPYRIGHT diff --git a/buildroot-2022.02.1/package/bind/bind.mk b/buildroot-2022.02.1/package/bind/bind.mk new file mode 100644 index 00000000..5164001a --- /dev/null +++ b/buildroot-2022.02.1/package/bind/bind.mk @@ -0,0 +1,136 @@ +################################################################################ +# +# bind +# +################################################################################ + +BIND_VERSION = 9.16.27 +BIND_SOURCE= bind-$(BIND_VERSION).tar.xz +BIND_SITE = https://ftp.isc.org/isc/bind9/$(BIND_VERSION) +# bind does not support parallel builds. +BIND_MAKE = $(MAKE1) +BIND_INSTALL_STAGING = YES +BIND_LICENSE = MPL-2.0 +BIND_LICENSE_FILES = COPYRIGHT +BIND_CPE_ID_VENDOR = isc +BIND_SELINUX_MODULES = bind +# Only applies to RHEL6.x with DNSSEC validation on +BIND_IGNORE_CVES = CVE-2017-3139 +# Library CVE and not used by bind but used by ISC DHCP +BIND_IGNORE_CVES += CVE-2019-6470 +BIND_TARGET_SERVER_SBIN = arpaname ddns-confgen dnssec-checkds dnssec-coverage +BIND_TARGET_SERVER_SBIN += dnssec-importkey dnssec-keygen dnssec-revoke +BIND_TARGET_SERVER_SBIN += dnssec-settime dnssec-verify genrandom +BIND_TARGET_SERVER_SBIN += isc-hmac-fixup named-journalprint nsec3hash +BIND_TARGET_SERVER_SBIN += lwresd named named-checkconf named-checkzone +BIND_TARGET_SERVER_SBIN += named-compilezone rndc rndc-confgen dnssec-dsfromkey +BIND_TARGET_SERVER_SBIN += dnssec-keyfromlabel dnssec-signzone tsig-keygen +BIND_TARGET_TOOLS_BIN = dig host nslookup nsupdate +BIND_CONF_ENV = \ + BUILD_CC="$(TARGET_CC)" \ + BUILD_CFLAGS="$(TARGET_CFLAGS)" \ + LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` +BIND_CONF_OPTS = \ + $(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-threads,--disable-threads) \ + --without-lmdb \ + --with-json-c=no \ + --with-randomdev=/dev/urandom \ + --enable-epoll \ + --enable-filter-aaaa \ + --disable-backtrace \ + --with-openssl=$(STAGING_DIR)/usr \ + --with-ecdsa=yes \ + --with-eddsa=no \ + --with-aes=yes + +BIND_DEPENDENCIES = host-pkgconf libuv openssl + +ifeq ($(BR2_PACKAGE_ZLIB),y) +BIND_CONF_OPTS += --with-zlib +BIND_DEPENDENCIES += zlib +else +BIND_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +BIND_CONF_OPTS += --enable-linux-caps +BIND_DEPENDENCIES += libcap +else +BIND_CONF_OPTS += --disable-linux-caps +endif + +ifeq ($(BR2_PACKAGE_LIBKRB5),y) +BIND_CONF_OPTS += --with-gssapi=$(STAGING_DIR)/usr/bin/krb5-config +BIND_DEPENDENCIES += libkrb5 +else +BIND_CONF_OPTS += --with-gssapi=no +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +BIND_CONF_OPTS += --with-libxml2 +BIND_DEPENDENCIES += libxml2 +else +BIND_CONF_OPTS += --with-libxml2=no +endif + +# GOST cipher support requires openssl extra engines +ifeq ($(BR2_PACKAGE_OPENSSL_ENGINES),y) +BIND_CONF_OPTS += --with-gost=yes +else +BIND_CONF_OPTS += --with-gost=no +endif + +# Used by dnssec-keymgr +ifeq ($(BR2_PACKAGE_PYTHON_PLY),y) +BIND_DEPENDENCIES += host-python-ply +BIND_CONF_OPTS += --with-python=$(HOST_DIR)/usr/bin/python +else +BIND_CONF_OPTS += --with-python=no +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +BIND_DEPENDENCIES += readline +else +BIND_CONF_OPTS += --with-readline=no +endif + +ifeq ($(BR2_STATIC_LIBS),y) +BIND_CONF_OPTS += \ + --without-dlopen \ + --without-libtool +else +BIND_CONF_OPTS += \ + --with-dlopen \ + --with-libtool +endif + +define BIND_TARGET_REMOVE_SERVER + rm -rf $(addprefix $(TARGET_DIR)/usr/sbin/, $(BIND_TARGET_SERVER_SBIN)) +endef + +define BIND_TARGET_REMOVE_TOOLS + rm -rf $(addprefix $(TARGET_DIR)/usr/bin/, $(BIND_TARGET_TOOLS_BIN)) +endef + +ifeq ($(BR2_PACKAGE_BIND_SERVER),y) +define BIND_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D $(BIND_PKGDIR)/S81named \ + $(TARGET_DIR)/etc/init.d/S81named +endef +define BIND_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(BIND_PKGDIR)/named.service \ + $(TARGET_DIR)/usr/lib/systemd/system/named.service +endef +else +BIND_POST_INSTALL_TARGET_HOOKS += BIND_TARGET_REMOVE_SERVER +endif + +ifeq ($(BR2_PACKAGE_BIND_TOOLS),) +BIND_POST_INSTALL_TARGET_HOOKS += BIND_TARGET_REMOVE_TOOLS +endif + +define BIND_USERS + named -1 named -1 * /etc/bind - - BIND daemon +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bind/named.service b/buildroot-2022.02.1/package/bind/named.service similarity index 100% rename from buildroot-2021.05/package/bind/named.service rename to buildroot-2022.02.1/package/bind/named.service diff --git a/buildroot-2021.05/package/binutils/2.32/0001-sh-conf.patch b/buildroot-2022.02.1/package/binutils/2.32/0001-sh-conf.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0001-sh-conf.patch rename to buildroot-2022.02.1/package/binutils/2.32/0001-sh-conf.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0002-poison-system-directories.patch b/buildroot-2022.02.1/package/binutils/2.32/0002-poison-system-directories.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0002-poison-system-directories.patch rename to buildroot-2022.02.1/package/binutils/2.32/0002-poison-system-directories.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch b/buildroot-2022.02.1/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch rename to buildroot-2022.02.1/package/binutils/2.32/0003-bfd-xtensa-fix-shrink_dynamic_reloc_sections-for-exp.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch b/buildroot-2022.02.1/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch rename to buildroot-2022.02.1/package/binutils/2.32/0004-gas-use-literals-const16-for-xtensa-loop-relaxation.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch b/buildroot-2022.02.1/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch rename to buildroot-2022.02.1/package/binutils/2.32/0005-xtensa-gas-put-.literal_position-at-section-start.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch b/buildroot-2022.02.1/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch rename to buildroot-2022.02.1/package/binutils/2.32/0006-or1k-Fix-incorrect-value-in-PLT-GOT-entries-causing-.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch b/buildroot-2022.02.1/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch rename to buildroot-2022.02.1/package/binutils/2.32/0007-bfd-xtensa-fix-PR-ld-25630.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch b/buildroot-2022.02.1/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch rename to buildroot-2022.02.1/package/binutils/2.32/0008-xtensa-fix-PR-ld-25861.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch b/buildroot-2022.02.1/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch rename to buildroot-2022.02.1/package/binutils/2.32/0009-xtensa-fix-XTENSA_NDIFF-handling-for-PR-ld-25861.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/buildroot-2022.02.1/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch rename to buildroot-2022.02.1/package/binutils/2.32/0010-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/buildroot-2022.02.1/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch rename to buildroot-2022.02.1/package/binutils/2.32/0011-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/buildroot-2022.02.1/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch rename to buildroot-2022.02.1/package/binutils/2.32/0012-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch diff --git a/buildroot-2021.05/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/buildroot-2022.02.1/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch rename to buildroot-2022.02.1/package/binutils/2.32/0013-or1k-Support-large-plt_relocs-when-generating-plt-en.patch diff --git a/buildroot-2022.02.1/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/buildroot-2022.02.1/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch new file mode 100644 index 00000000..c3978e22 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.32/0014-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch @@ -0,0 +1,50 @@ +From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 9 Jun 2021 17:28:27 +0200 +Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 + +Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use +an old compiler(i.e. gcc 4.9) build fails on: +``` +elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in +C99 or C11 mode + for (size_t i = 0; i < insn_count; i++) + ^ +``` + +So let's declare `size_t i` at the top of the function instead of inside +for loop. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..32063ab0289 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + { + unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; + unsigned output_insns[PLT_MAX_INSN_COUNT]; ++ size_t i; + + /* Copy instructions into the output buffer. */ +- for (size_t i = 0; i < insn_count; i++) ++ for (i = 0; i < insn_count; i++) + output_insns[i] = insns[i]; + + /* Honor the no-delay-slot setting. */ +@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + } + + /* Write out the output buffer. */ +- for (size_t i = 0; i < (insn_count+1); i++) ++ for (i = 0; i < (insn_count+1); i++) + bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); + } + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/buildroot-2022.02.1/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch new file mode 100644 index 00000000..585b97b2 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.32/0015-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch @@ -0,0 +1,59 @@ +From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sat, 10 Jul 2021 17:57:34 +0200 +Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC + relative 26 bit relocation + +When building openal we were seeing the assert failure: + +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourcePausev +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourceStopv +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourceRewindv +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourcePlayv +collect2: error: ld returned 1 exit status + +This happens because in R_OR1K_INSN_REL_26 case we can't reference local +symbol as previously done but we need to make sure that calls to actual +symbol always call the version of current object. + +bfd/Changelog: + + * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry + in switch case R_OR1K_INSN_REL_26 where we need to check for + !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..4f9092539f5 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, + break; + + case R_OR1K_INSN_REL_26: ++ /* For a non-shared link, these will reference plt or call the ++ version of actual object. */ ++ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) ++ { ++ _bfd_error_handler ++ (_("%pB: pc-relative relocation against dynamic symbol %s"), ++ input_bfd, name); ++ ret_val = FALSE; ++ bfd_set_error (bfd_error_bad_value); ++ } ++ break; ++ + case R_OR1K_PCREL_PG21: + case R_OR1K_LO13: + case R_OR1K_SLO13: +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/buildroot-2022.02.1/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch new file mode 100644 index 00000000..7e92e2bf --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.32/0016-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch @@ -0,0 +1,75 @@ +From 51def3dc6a168d03d28e0d4e2935d9ddb2929192 Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Sun, 2 Jan 2022 09:03:28 +0900 +Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special + howto + +Previously when fixing PR 21464 we masked out upper bits of the +relocation value in order to avoid overflow complaints when acceptable. +It turns out this does not work when the relocation value ends up being +signed. + +To fix this this patch introduces a special howto with +complain_on_overflow set to complain_overflow_dont. This is used in +place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 +relocations. + +bfd/ChangeLog: + + PR 28735 + * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. + (or1k_elf_relocate_section): Use new howto instead of trying to + mask out relocation bits. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index cfa292f0032..ecb70753b6a 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = + FALSE), /* pcrel_offset */ + }; + ++/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 ++ relocations when we know we can ignore overflows. */ ++static reloc_howto_type or1k_elf_got16_no_overflow_howto = ++ HOWTO (R_OR1K_GOT16, /* type */ ++ 0, /* rightshift */ ++ 2, /* size (0 = byte, 1 = short, 2 = long) */ ++ 16, /* bitsize */ ++ FALSE, /* pc_relative */ ++ 0, /* bitpos */ ++ complain_overflow_dont, /* complain_on_overflow */ ++ bfd_elf_generic_reloc, /* special_function */ ++ "R_OR1K_GOT16", /* name */ ++ FALSE, /* partial_inplace */ ++ 0, /* src_mask */ ++ 0xffff, /* dst_mask */ ++ FALSE); /* pcrel_offset */ ++ + /* Map BFD reloc types to Or1k ELF reloc types. */ + + struct or1k_reloc_map +@@ -1477,12 +1494,11 @@ or1k_elf_relocate_section (bfd *output_bfd, + if (r_type == R_OR1K_GOT_AHI16) + saw_gotha = TRUE; + +- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 ++ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 + relocation we assume the code is doing the right thing to avoid +- overflows. Here we mask the lower 16-bit of the relocation to +- avoid overflow validation failures. */ ++ overflows. */ + if (r_type == R_OR1K_GOT16 && saw_gotha) +- relocation &= 0xffff; ++ howto = &or1k_elf_got16_no_overflow_howto; + + /* Addend should be zero. */ + if (rel->r_addend != 0) +-- +2.25.1 + diff --git a/buildroot-2021.05/package/binutils/2.35.2/0001-sh-conf.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0001-sh-conf.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.35.2/0001-sh-conf.patch rename to buildroot-2022.02.1/package/binutils/2.35.2/0001-sh-conf.patch diff --git a/buildroot-2021.05/package/binutils/2.35.2/0002-poison-system-directories.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0002-poison-system-directories.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.35.2/0002-poison-system-directories.patch rename to buildroot-2022.02.1/package/binutils/2.35.2/0002-poison-system-directories.patch diff --git a/buildroot-2021.05/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch rename to buildroot-2022.02.1/package/binutils/2.35.2/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch diff --git a/buildroot-2021.05/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch rename to buildroot-2022.02.1/package/binutils/2.35.2/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch diff --git a/buildroot-2021.05/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch rename to buildroot-2022.02.1/package/binutils/2.35.2/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch diff --git a/buildroot-2021.05/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch rename to buildroot-2022.02.1/package/binutils/2.35.2/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch diff --git a/buildroot-2022.02.1/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch new file mode 100644 index 00000000..c3978e22 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.35.2/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch @@ -0,0 +1,50 @@ +From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 9 Jun 2021 17:28:27 +0200 +Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 + +Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use +an old compiler(i.e. gcc 4.9) build fails on: +``` +elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in +C99 or C11 mode + for (size_t i = 0; i < insn_count; i++) + ^ +``` + +So let's declare `size_t i` at the top of the function instead of inside +for loop. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..32063ab0289 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + { + unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; + unsigned output_insns[PLT_MAX_INSN_COUNT]; ++ size_t i; + + /* Copy instructions into the output buffer. */ +- for (size_t i = 0; i < insn_count; i++) ++ for (i = 0; i < insn_count; i++) + output_insns[i] = insns[i]; + + /* Honor the no-delay-slot setting. */ +@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + } + + /* Write out the output buffer. */ +- for (size_t i = 0; i < (insn_count+1); i++) ++ for (i = 0; i < (insn_count+1); i++) + bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); + } + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch new file mode 100644 index 00000000..585b97b2 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.35.2/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch @@ -0,0 +1,59 @@ +From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sat, 10 Jul 2021 17:57:34 +0200 +Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC + relative 26 bit relocation + +When building openal we were seeing the assert failure: + +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourcePausev +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourceStopv +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourceRewindv +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourcePlayv +collect2: error: ld returned 1 exit status + +This happens because in R_OR1K_INSN_REL_26 case we can't reference local +symbol as previously done but we need to make sure that calls to actual +symbol always call the version of current object. + +bfd/Changelog: + + * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry + in switch case R_OR1K_INSN_REL_26 where we need to check for + !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..4f9092539f5 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, + break; + + case R_OR1K_INSN_REL_26: ++ /* For a non-shared link, these will reference plt or call the ++ version of actual object. */ ++ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) ++ { ++ _bfd_error_handler ++ (_("%pB: pc-relative relocation against dynamic symbol %s"), ++ input_bfd, name); ++ ret_val = FALSE; ++ bfd_set_error (bfd_error_bad_value); ++ } ++ break; ++ + case R_OR1K_PCREL_PG21: + case R_OR1K_LO13: + case R_OR1K_SLO13: +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch new file mode 100644 index 00000000..e96d4912 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.35.2/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch @@ -0,0 +1,75 @@ +From fbab8933bca6b7dba2aa19190a71f799a370c3d4 Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Sun, 2 Jan 2022 09:03:28 +0900 +Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special + howto + +Previously when fixing PR 21464 we masked out upper bits of the +relocation value in order to avoid overflow complaints when acceptable. +It turns out this does not work when the relocation value ends up being +signed. + +To fix this this patch introduces a special howto with +complain_on_overflow set to complain_overflow_dont. This is used in +place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 +relocations. + +bfd/ChangeLog: + + PR 28735 + * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. + (or1k_elf_relocate_section): Use new howto instead of trying to + mask out relocation bits. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 2ff998066a8..3df31172fcb 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = + FALSE), /* pcrel_offset */ + }; + ++/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 ++ relocations when we know we can ignore overflows. */ ++static reloc_howto_type or1k_elf_got16_no_overflow_howto = ++ HOWTO (R_OR1K_GOT16, /* type */ ++ 0, /* rightshift */ ++ 2, /* size (0 = byte, 1 = short, 2 = long) */ ++ 16, /* bitsize */ ++ FALSE, /* pc_relative */ ++ 0, /* bitpos */ ++ complain_overflow_dont, /* complain_on_overflow */ ++ bfd_elf_generic_reloc, /* special_function */ ++ "R_OR1K_GOT16", /* name */ ++ FALSE, /* partial_inplace */ ++ 0, /* src_mask */ ++ 0xffff, /* dst_mask */ ++ FALSE); /* pcrel_offset */ ++ + /* Map BFD reloc types to Or1k ELF reloc types. */ + + struct or1k_reloc_map +@@ -1508,12 +1525,11 @@ or1k_elf_relocate_section (bfd *output_bfd, + if (r_type == R_OR1K_GOT_AHI16) + saw_gotha = TRUE; + +- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 ++ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 + relocation we assume the code is doing the right thing to avoid +- overflows. Here we mask the lower 16-bit of the relocation to +- avoid overflow validation failures. */ ++ overflows. */ + if (r_type == R_OR1K_GOT16 && saw_gotha) +- relocation &= 0xffff; ++ howto = &or1k_elf_got16_no_overflow_howto; + + /* Addend should be zero. */ + if (rel->r_addend != 0) +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch b/buildroot-2022.02.1/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch new file mode 100644 index 00000000..e95eb1e7 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.35.2/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch @@ -0,0 +1,46 @@ +From 30a954525f4e53a9cd50a1a8a6f201c7cf6595c7 Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" +Date: Mon, 7 Feb 2022 15:22:19 -0800 +Subject: [PATCH] i386: Allow GOT32 relocations against ABS symbols + +GOT32 relocations are allowed since absolute value + addend is stored in +the GOT slot. + +Tested on glibc 2.35 build with GCC 11.2 and -Os. + +bfd/ + + PR ld/28870 + * elfxx-x86.c (_bfd_elf_x86_valid_reloc_p): Also allow GOT32 + relocations. + +Signed-off-by: Waldemar Brodkorb + +diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c +index 7ac2411fc80..d00dc45677b 100644 +--- a/bfd/elfxx-x86.c ++++ b/bfd/elfxx-x86.c +@@ -1942,9 +1942,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, + irel = *rel; + + /* Only allow relocations against absolute symbol, which can be +- resolved as absolute value + addend. GOTPCREL relocations +- are allowed since absolute value + addend is stored in the +- GOT slot. */ ++ resolved as absolute value + addend. GOTPCREL and GOT32 ++ relocations are allowed since absolute value + addend is ++ stored in the GOT slot. */ + if (bed->target_id == X86_64_ELF_DATA) + { + r_type &= ~R_X86_64_converted_reloc_bit; +@@ -1965,7 +1965,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, + else + valid_p = (r_type == R_386_32 + || r_type == R_386_16 +- || r_type == R_386_8); ++ || r_type == R_386_8 ++ || r_type == R_386_GOT32 ++ || r_type == R_386_GOT32X); + + if (valid_p) + *no_dynreloc_p = true; diff --git a/buildroot-2021.05/package/binutils/2.36.1/0001-sh-conf.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0001-sh-conf.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.36.1/0001-sh-conf.patch rename to buildroot-2022.02.1/package/binutils/2.36.1/0001-sh-conf.patch diff --git a/buildroot-2021.05/package/binutils/2.36.1/0002-poison-system-directories.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0002-poison-system-directories.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.36.1/0002-poison-system-directories.patch rename to buildroot-2022.02.1/package/binutils/2.36.1/0002-poison-system-directories.patch diff --git a/buildroot-2021.05/package/binutils/2.36.1/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.36.1/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch rename to buildroot-2022.02.1/package/binutils/2.36.1/0003-or1k-Fix-issue-with-plt-link-failure-for-local-calls.patch diff --git a/buildroot-2021.05/package/binutils/2.36.1/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.36.1/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch rename to buildroot-2022.02.1/package/binutils/2.36.1/0004-or1k-Implement-relocation-R_OR1K_GOT_AHI16-for-gotha.patch diff --git a/buildroot-2021.05/package/binutils/2.36.1/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.36.1/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch rename to buildroot-2022.02.1/package/binutils/2.36.1/0005-or1k-Avoid-R_OR1K_GOT16-overflow-failures-in-presenc.patch diff --git a/buildroot-2021.05/package/binutils/2.36.1/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch similarity index 100% rename from buildroot-2021.05/package/binutils/2.36.1/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch rename to buildroot-2022.02.1/package/binutils/2.36.1/0006-or1k-Support-large-plt_relocs-when-generating-plt-en.patch diff --git a/buildroot-2022.02.1/package/binutils/2.36.1/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch new file mode 100644 index 00000000..c3978e22 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.36.1/0007-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch @@ -0,0 +1,50 @@ +From c3003947e4bad18faea4337fd2073feeb30ee078 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 9 Jun 2021 17:28:27 +0200 +Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 + +Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use +an old compiler(i.e. gcc 4.9) build fails on: +``` +elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in +C99 or C11 mode + for (size_t i = 0; i < insn_count; i++) + ^ +``` + +So let's declare `size_t i` at the top of the function instead of inside +for loop. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..32063ab0289 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + { + unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; + unsigned output_insns[PLT_MAX_INSN_COUNT]; ++ size_t i; + + /* Copy instructions into the output buffer. */ +- for (size_t i = 0; i < insn_count; i++) ++ for (i = 0; i < insn_count; i++) + output_insns[i] = insns[i]; + + /* Honor the no-delay-slot setting. */ +@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + } + + /* Write out the output buffer. */ +- for (size_t i = 0; i < (insn_count+1); i++) ++ for (i = 0; i < (insn_count+1); i++) + bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); + } + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.36.1/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch new file mode 100644 index 00000000..585b97b2 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.36.1/0008-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch @@ -0,0 +1,59 @@ +From 9af93e143a7fbdb75aa1ed37277f9250eb111628 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sat, 10 Jul 2021 17:57:34 +0200 +Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC + relative 26 bit relocation + +When building openal we were seeing the assert failure: + +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourcePausev +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourceStopv +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourceRewindv +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourcePlayv +collect2: error: ld returned 1 exit status + +This happens because in R_OR1K_INSN_REL_26 case we can't reference local +symbol as previously done but we need to make sure that calls to actual +symbol always call the version of current object. + +bfd/Changelog: + + * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry + in switch case R_OR1K_INSN_REL_26 where we need to check for + !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..4f9092539f5 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, + break; + + case R_OR1K_INSN_REL_26: ++ /* For a non-shared link, these will reference plt or call the ++ version of actual object. */ ++ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) ++ { ++ _bfd_error_handler ++ (_("%pB: pc-relative relocation against dynamic symbol %s"), ++ input_bfd, name); ++ ret_val = FALSE; ++ bfd_set_error (bfd_error_bad_value); ++ } ++ break; ++ + case R_OR1K_PCREL_PG21: + case R_OR1K_LO13: + case R_OR1K_SLO13: +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.36.1/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch new file mode 100644 index 00000000..c4fedb71 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.36.1/0009-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch @@ -0,0 +1,75 @@ +From 190091f9c1ec4cb80f8106e45ab4125eefa4114b Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Sun, 2 Jan 2022 09:03:28 +0900 +Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special + howto + +Previously when fixing PR 21464 we masked out upper bits of the +relocation value in order to avoid overflow complaints when acceptable. +It turns out this does not work when the relocation value ends up being +signed. + +To fix this this patch introduces a special howto with +complain_on_overflow set to complain_overflow_dont. This is used in +place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 +relocations. + +bfd/ChangeLog: + + PR 28735 + * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. + (or1k_elf_relocate_section): Use new howto instead of trying to + mask out relocation bits. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 431a8ee479f..ea26cdf1033 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = + FALSE), /* pcrel_offset */ + }; + ++/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 ++ relocations when we know we can ignore overflows. */ ++static reloc_howto_type or1k_elf_got16_no_overflow_howto = ++ HOWTO (R_OR1K_GOT16, /* type */ ++ 0, /* rightshift */ ++ 2, /* size (0 = byte, 1 = short, 2 = long) */ ++ 16, /* bitsize */ ++ FALSE, /* pc_relative */ ++ 0, /* bitpos */ ++ complain_overflow_dont, /* complain_on_overflow */ ++ bfd_elf_generic_reloc, /* special_function */ ++ "R_OR1K_GOT16", /* name */ ++ FALSE, /* partial_inplace */ ++ 0, /* src_mask */ ++ 0xffff, /* dst_mask */ ++ FALSE); /* pcrel_offset */ ++ + /* Map BFD reloc types to Or1k ELF reloc types. */ + + struct or1k_reloc_map +@@ -1506,12 +1523,11 @@ or1k_elf_relocate_section (bfd *output_bfd, + if (r_type == R_OR1K_GOT_AHI16) + saw_gotha = TRUE; + +- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 ++ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 + relocation we assume the code is doing the right thing to avoid +- overflows. Here we mask the lower 16-bit of the relocation to +- avoid overflow validation failures. */ ++ overflows. */ + if (r_type == R_OR1K_GOT16 && saw_gotha) +- relocation &= 0xffff; ++ howto = &or1k_elf_got16_no_overflow_howto; + + /* Addend should be zero. */ + if (rel->r_addend != 0) +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.36.1/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch b/buildroot-2022.02.1/package/binutils/2.36.1/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch new file mode 100644 index 00000000..af96f1a0 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.36.1/0010-i386-Allow-GOT32-relocations-against-ABS-symbols.patch @@ -0,0 +1,53 @@ +From 30a954525f4e53a9cd50a1a8a6f201c7cf6595c7 Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" +Date: Mon, 7 Feb 2022 15:22:19 -0800 +Subject: [PATCH] i386: Allow GOT32 relocations against ABS symbols + +GOT32 relocations are allowed since absolute value + addend is stored in +the GOT slot. + +Tested on glibc 2.35 build with GCC 11.2 and -Os. + +bfd/ + + PR ld/28870 + * elfxx-x86.c (_bfd_elf_x86_valid_reloc_p): Also allow GOT32 + relocations. + +ld/ + + PR ld/28870 + * testsuite/ld-i386/i386.exp: Run pr28870. + * testsuite/ld-i386/pr28870.d: New file. + * testsuite/ld-i386/pr28870.s: Likewise. + +Signed-off-by: Waldemar Brodkorb + +diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c +index 7ac2411fc80..d00dc45677b 100644 +--- a/bfd/elfxx-x86.c ++++ b/bfd/elfxx-x86.c +@@ -1942,9 +1942,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, + irel = *rel; + + /* Only allow relocations against absolute symbol, which can be +- resolved as absolute value + addend. GOTPCREL relocations +- are allowed since absolute value + addend is stored in the +- GOT slot. */ ++ resolved as absolute value + addend. GOTPCREL and GOT32 ++ relocations are allowed since absolute value + addend is ++ stored in the GOT slot. */ + if (bed->target_id == X86_64_ELF_DATA) + { + r_type &= ~R_X86_64_converted_reloc_bit; +@@ -1965,7 +1965,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, + else + valid_p = (r_type == R_386_32 + || r_type == R_386_16 +- || r_type == R_386_8); ++ || r_type == R_386_8 ++ || r_type == R_386_GOT32 ++ || r_type == R_386_GOT32X); + + if (valid_p) + *no_dynreloc_p = true; diff --git a/buildroot-2022.02.1/package/binutils/2.37/0001-sh-conf.patch b/buildroot-2022.02.1/package/binutils/2.37/0001-sh-conf.patch new file mode 100644 index 00000000..fcc597e4 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.37/0001-sh-conf.patch @@ -0,0 +1,48 @@ +From 33f3c1f804efc2e4f97849081589efb70cda31e5 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 25 Dec 2015 11:38:13 +0100 +Subject: [PATCH] sh-conf + +Likewise, binutils has no idea about any of these new targets either, so we +fix that up too.. now we're able to actually build a real toolchain for +sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more +inept targets than that one, really. Go look, I promise). + +[Romain: rebase on top of 2.32] +Signed-off-by: Romain Naour +[Thomas: rebase on top of 2.29, in which sh64 support was removed.] +Signed-off-by: Thomas Petazzoni +--- + configure | 2 +- + configure.ac | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 3dd206525a7..6881ce632f5 100755 +--- a/configure ++++ b/configure +@@ -3892,7 +3892,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +diff --git a/configure.ac b/configure.ac +index 797a624621e..1f9256bbf18 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1175,7 +1175,7 @@ case "${target}" in + nvptx*-*-*) + noconfigdirs="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc" + ;; +- sh-*-*) ++ sh*-*-*) + case "${target}" in + sh*-*-elf) + ;; +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.37/0002-poison-system-directories.patch b/buildroot-2022.02.1/package/binutils/2.37/0002-poison-system-directories.patch new file mode 100644 index 00000000..1a5fe465 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.37/0002-poison-system-directories.patch @@ -0,0 +1,306 @@ +From 4d8705ddb55897e8a74b617ab95736d520d9e1ea Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 25 Dec 2015 11:45:38 +0100 +Subject: [PATCH] poison-system-directories + +Patch adapted to binutils 2.23.2 and extended to use +BR_COMPILER_PARANOID_UNSAFE_PATH by Thomas Petazzoni. + +[Romain: rebase on top of 2.33.1] +Signed-off-by: Romain Naour +[Gustavo: adapt to binutils 2.25] +Signed-off-by: Thomas Petazzoni +Signed-off-by: Gustavo Zacarias + +Upstream-Status: Inappropriate [distribution: codesourcery] + +Patch originally created by Mark Hatle, forward-ported to +binutils 2.21 by Scott Garman. + +purpose: warn for uses of system directories when cross linking + +Code Merged from Sourcery G++ binutils 2.19 - 4.4-277 + +2008-07-02 Joseph Myers + + ld/ + * ld.h (args_type): Add error_poison_system_directories. + * ld.texinfo (--error-poison-system-directories): Document. + * ldfile.c (ldfile_add_library_path): Check + command_line.error_poison_system_directories. + * ldmain.c (main): Initialize + command_line.error_poison_system_directories. + * lexsup.c (enum option_values): Add + OPTION_ERROR_POISON_SYSTEM_DIRECTORIES. + (ld_options): Add --error-poison-system-directories. + (parse_args): Handle new option. + +2007-06-13 Joseph Myers + + ld/ + * config.in: Regenerate. + * ld.h (args_type): Add poison_system_directories. + * ld.texinfo (--no-poison-system-directories): Document. + * ldfile.c (ldfile_add_library_path): Check + command_line.poison_system_directories. + * ldmain.c (main): Initialize + command_line.poison_system_directories. + * lexsup.c (enum option_values): Add + OPTION_NO_POISON_SYSTEM_DIRECTORIES. + (ld_options): Add --no-poison-system-directories. + (parse_args): Handle new option. + +2007-04-20 Joseph Myers + + Merge from Sourcery G++ binutils 2.17: + + 2007-03-20 Joseph Myers + Based on patch by Mark Hatle . + ld/ + * configure.ac (--enable-poison-system-directories): New option. + * configure, config.in: Regenerate. + * ldfile.c (ldfile_add_library_path): If + ENABLE_POISON_SYSTEM_DIRECTORIES defined, warn for use of /lib, + /usr/lib, /usr/local/lib or /usr/X11R6/lib. + +Signed-off-by: Mark Hatle +Signed-off-by: Scott Garman +--- + ld/config.in | 3 +++ + ld/configure | 14 ++++++++++++++ + ld/configure.ac | 10 ++++++++++ + ld/ld.h | 8 ++++++++ + ld/ld.texi | 12 ++++++++++++ + ld/ldfile.c | 17 +++++++++++++++++ + ld/ldlex.h | 2 ++ + ld/ldmain.c | 2 ++ + ld/lexsup.c | 21 +++++++++++++++++++++ + 9 files changed, 89 insertions(+) + +diff --git a/ld/config.in b/ld/config.in +index 26d55a00d47..ffad464783c 100644 +--- a/ld/config.in ++++ b/ld/config.in +@@ -43,6 +43,9 @@ + language is requested. */ + #undef ENABLE_NLS + ++/* Define to warn for use of native system library directories */ ++#undef ENABLE_POISON_SYSTEM_DIRECTORIES ++ + /* Additional extension a shared object might have. */ + #undef EXTRA_SHLIB_EXTENSION + +diff --git a/ld/configure b/ld/configure +index c197aaef3cb..882263aa43f 100755 +--- a/ld/configure ++++ b/ld/configure +@@ -829,6 +829,7 @@ with_lib_path + enable_targets + enable_64_bit_bfd + with_sysroot ++enable_poison_system_directories + enable_gold + enable_got + enable_compressed_debug_sections +@@ -1498,6 +1499,8 @@ Optional Features: + --enable-checking enable run-time checks + --enable-targets alternative target configurations + --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) ++ --enable-poison-system-directories ++ warn for use of native system library directories + --enable-gold[=ARG] build gold [ARG={default,yes,no}] + --enable-got= GOT handling scheme (target, single, negative, + multigot) +@@ -15236,7 +15239,18 @@ else + fi + + ++# Check whether --enable-poison-system-directories was given. ++if test "${enable_poison_system_directories+set}" = set; then : ++ enableval=$enable_poison_system_directories; ++else ++ enable_poison_system_directories=no ++fi ++ ++if test "x${enable_poison_system_directories}" = "xyes"; then + ++$as_echo "#define ENABLE_POISON_SYSTEM_DIRECTORIES 1" >>confdefs.h ++ ++fi + + # Check whether --enable-got was given. + if test "${enable_got+set}" = set; then : +diff --git a/ld/configure.ac b/ld/configure.ac +index 8ea97c43cd4..0f246db67d8 100644 +--- a/ld/configure.ac ++++ b/ld/configure.ac +@@ -106,6 +106,16 @@ AC_SUBST(use_sysroot) + AC_SUBST(TARGET_SYSTEM_ROOT) + AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) + ++AC_ARG_ENABLE([poison-system-directories], ++ AS_HELP_STRING([--enable-poison-system-directories], ++ [warn for use of native system library directories]),, ++ [enable_poison_system_directories=no]) ++if test "x${enable_poison_system_directories}" = "xyes"; then ++ AC_DEFINE([ENABLE_POISON_SYSTEM_DIRECTORIES], ++ [1], ++ [Define to warn for use of native system library directories]) ++fi ++ + dnl Use --enable-gold to decide if this linker should be the default. + dnl "install_as_default" is set to false if gold is the default linker. + dnl "installed_linker" is the installed BFD linker name. +diff --git a/ld/ld.h b/ld/ld.h +index 35fafebfaed..74e66405de6 100644 +--- a/ld/ld.h ++++ b/ld/ld.h +@@ -162,6 +162,14 @@ typedef struct + in the linker script. */ + bool force_group_allocation; + ++ /* If TRUE (the default) warn for uses of system directories when ++ cross linking. */ ++ bool poison_system_directories; ++ ++ /* If TRUE (default FALSE) give an error for uses of system ++ directories when cross linking instead of a warning. */ ++ bool error_poison_system_directories; ++ + /* Big or little endian as set on command line. */ + enum endian_enum endian; + +diff --git a/ld/ld.texi b/ld/ld.texi +index dd8f571d4e4..3ab210b41b9 100644 +--- a/ld/ld.texi ++++ b/ld/ld.texi +@@ -2863,6 +2863,18 @@ string identifying the original linked file does not change. + + Passing @code{none} for @var{style} disables the setting from any + @code{--build-id} options earlier on the command line. ++ ++@kindex --no-poison-system-directories ++@item --no-poison-system-directories ++Do not warn for @option{-L} options using system directories such as ++@file{/usr/lib} when cross linking. This option is intended for use ++in chroot environments when such directories contain the correct ++libraries for the target system rather than the host. ++ ++@kindex --error-poison-system-directories ++@item --error-poison-system-directories ++Give an error instead of a warning for @option{-L} options using ++system directories when cross linking. + @end table + + @c man end +diff --git a/ld/ldfile.c b/ld/ldfile.c +index 9d0af06f1f6..7cdd3b1c1b1 100644 +--- a/ld/ldfile.c ++++ b/ld/ldfile.c +@@ -117,6 +117,23 @@ ldfile_add_library_path (const char *name, bool cmdline) + new_dirs->name = concat (ld_sysroot, name + strlen ("$SYSROOT"), (const char *) NULL); + else + new_dirs->name = xstrdup (name); ++ ++#ifdef ENABLE_POISON_SYSTEM_DIRECTORIES ++ if (command_line.poison_system_directories ++ && ((!strncmp (name, "/lib", 4)) ++ || (!strncmp (name, "/usr/lib", 8)) ++ || (!strncmp (name, "/usr/local/lib", 14)) ++ || (!strncmp (name, "/usr/X11R6/lib", 14)))) ++ { ++ if (command_line.error_poison_system_directories) ++ einfo (_("%X%P: error: library search path \"%s\" is unsafe for " ++ "cross-compilation\n"), name); ++ else ++ einfo (_("%P: warning: library search path \"%s\" is unsafe for " ++ "cross-compilation\n"), name); ++ } ++#endif ++ + } + + /* Try to open a BFD for a lang_input_statement. */ +diff --git a/ld/ldlex.h b/ld/ldlex.h +index 9e8bf5fb835..2f0fadfe0a3 100644 +--- a/ld/ldlex.h ++++ b/ld/ldlex.h +@@ -163,6 +163,8 @@ enum option_values + OPTION_CTF_VARIABLES, + OPTION_NO_CTF_VARIABLES, + OPTION_CTF_SHARE_TYPES, ++ OPTION_NO_POISON_SYSTEM_DIRECTORIES, ++ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES, + }; + + /* The initial parser states. */ +diff --git a/ld/ldmain.c b/ld/ldmain.c +index 42660eb9a3c..1aef9387f93 100644 +--- a/ld/ldmain.c ++++ b/ld/ldmain.c +@@ -321,6 +321,8 @@ main (int argc, char **argv) + command_line.warn_mismatch = true; + command_line.warn_search_mismatch = true; + command_line.check_section_addresses = -1; ++ command_line.poison_system_directories = true; ++ command_line.error_poison_system_directories = false; + + /* We initialize DEMANGLING based on the environment variable + COLLECT_NO_DEMANGLE. The gcc collect2 program will demangle the +diff --git a/ld/lexsup.c b/ld/lexsup.c +index 00274c500d0..4f23b3a2da2 100644 +--- a/ld/lexsup.c ++++ b/ld/lexsup.c +@@ -595,6 +595,14 @@ static const struct ld_option ld_options[] = + " is: share-unconflicted (default),\n" + " share-duplicated"), + TWO_DASHES }, ++ { {"no-poison-system-directories", no_argument, NULL, ++ OPTION_NO_POISON_SYSTEM_DIRECTORIES}, ++ '\0', NULL, N_("Do not warn for -L options using system directories"), ++ TWO_DASHES }, ++ { {"error-poison-system-directories", no_argument, NULL, ++ OPTION_ERROR_POISON_SYSTEM_DIRECTORIES}, ++ '\0', NULL, N_("Give an error for -L options using system directories"), ++ TWO_DASHES }, + }; + + #define OPTION_COUNT ARRAY_SIZE (ld_options) +@@ -607,6 +615,7 @@ parse_args (unsigned argc, char **argv) + int ingroup = 0; + char *default_dirlist = NULL; + char *shortopts; ++ char *BR_paranoid_env; + struct option *longopts; + struct option *really_longopts; + int last_optind; +@@ -1643,6 +1652,14 @@ parse_args (unsigned argc, char **argv) + } + break; + ++ case OPTION_NO_POISON_SYSTEM_DIRECTORIES: ++ command_line.poison_system_directories = false; ++ break; ++ ++ case OPTION_ERROR_POISON_SYSTEM_DIRECTORIES: ++ command_line.error_poison_system_directories = true; ++ break; ++ + case OPTION_PUSH_STATE: + input_flags.pushed = xmemdup (&input_flags, + sizeof (input_flags), +@@ -1788,6 +1805,10 @@ parse_args (unsigned argc, char **argv) + command_line.soname = NULL; + } + ++ BR_paranoid_env = getenv("BR_COMPILER_PARANOID_UNSAFE_PATH"); ++ if (BR_paranoid_env && strlen(BR_paranoid_env) > 0) ++ command_line.error_poison_system_directories = true; ++ + while (ingroup) + { + einfo (_("%P: missing --end-group; added as last command line option\n")); +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.37/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch b/buildroot-2022.02.1/package/binutils/2.37/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch new file mode 100644 index 00000000..bfd531b8 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.37/0003-bfd-elf32-or1k-fix-building-with-gcc-version-5.patch @@ -0,0 +1,50 @@ +From ef4ba1da823e8366ea4f126f50885a44ebf4dcf0 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Wed, 9 Jun 2021 17:28:27 +0200 +Subject: [PATCH] bfd/elf32-or1k: fix building with gcc version < 5 + +Gcc version >= 5 has standard C mode not set to -std=gnu11, so if we use +an old compiler(i.e. gcc 4.9) build fails on: +``` +elf32-or1k.c:2251:3: error: 'for' loop initial declarations are only allowed in +C99 or C11 mode + for (size_t i = 0; i < insn_count; i++) + ^ +``` + +So let's declare `size_t i` at the top of the function instead of inside +for loop. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..32063ab0289 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -2244,9 +2244,10 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + { + unsigned nodelay = elf_elfheader (output_bfd)->e_flags & EF_OR1K_NODELAY; + unsigned output_insns[PLT_MAX_INSN_COUNT]; ++ size_t i; + + /* Copy instructions into the output buffer. */ +- for (size_t i = 0; i < insn_count; i++) ++ for (i = 0; i < insn_count; i++) + output_insns[i] = insns[i]; + + /* Honor the no-delay-slot setting. */ +@@ -2277,7 +2278,7 @@ or1k_write_plt_entry (bfd *output_bfd, bfd_byte *contents, unsigned insnj, + } + + /* Write out the output buffer. */ +- for (size_t i = 0; i < (insn_count+1); i++) ++ for (i = 0; i < (insn_count+1); i++) + bfd_put_32 (output_bfd, output_insns[i], contents + (i*4)); + } + +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.37/0004-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch b/buildroot-2022.02.1/package/binutils/2.37/0004-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch new file mode 100644 index 00000000..0d18321e --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.37/0004-or1k-fix-pc-relative-relocation-against-dynamic-on-P.patch @@ -0,0 +1,59 @@ +From 203b80f8dbdd3ddb860114b03351a0dea28c978f Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sat, 10 Jul 2021 17:57:34 +0200 +Subject: [PATCH] or1k: fix pc-relative relocation against dynamic on PC + relative 26 bit relocation + +When building openal we were seeing the assert failure: + +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourcePausev +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourceStopv +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourceRewindv +/home/buildroot/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld: CMakeFiles/OpenAL.dir/al/source.cpp.o: +pc-relative relocation against dynamic symbol alSourcePlayv +collect2: error: ld returned 1 exit status + +This happens because in R_OR1K_INSN_REL_26 case we can't reference local +symbol as previously done but we need to make sure that calls to actual +symbol always call the version of current object. + +bfd/Changelog: + + * elf32-or1k.c (or1k_elf_relocate_section): use a separate entry + in switch case R_OR1K_INSN_REL_26 where we need to check for + !SYMBOL_CALLS_LOCAL() instead of !SYMBOL_REFERENCES_LOCAL(). + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 32063ab0289..67252394173 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -1543,6 +1543,18 @@ or1k_elf_relocate_section (bfd *output_bfd, + break; + + case R_OR1K_INSN_REL_26: ++ /* For a non-shared link, these will reference plt or call the ++ version of actual object. */ ++ if (bfd_link_pic (info) && !SYMBOL_CALLS_LOCAL (info, h)) ++ { ++ _bfd_error_handler ++ (_("%pB: pc-relative relocation against dynamic symbol %s"), ++ input_bfd, name); ++ ret_val = false; ++ bfd_set_error (bfd_error_bad_value); ++ } ++ break; ++ + case R_OR1K_PCREL_PG21: + case R_OR1K_LO13: + case R_OR1K_SLO13: +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.37/0005-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch b/buildroot-2022.02.1/package/binutils/2.37/0005-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch new file mode 100644 index 00000000..8609db95 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.37/0005-or1k-Avoid-R_OR1K_GOT16-signed-overflow-by-using-spe.patch @@ -0,0 +1,75 @@ +From 362a20108782b87cd780a989c0dbd014fc2def8b Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Sun, 2 Jan 2022 09:03:28 +0900 +Subject: [PATCH] or1k: Avoid R_OR1K_GOT16 signed overflow by using special + howto + +Previously when fixing PR 21464 we masked out upper bits of the +relocation value in order to avoid overflow complaints when acceptable. +It turns out this does not work when the relocation value ends up being +signed. + +To fix this this patch introduces a special howto with +complain_on_overflow set to complain_overflow_dont. This is used in +place of the normal R_OR1K_GOT16 howto when we detect R_OR1K_GOT_AHI16 +relocations. + +bfd/ChangeLog: + + PR 28735 + * elf32-or1k.c (or1k_elf_got16_no_overflow_howto): Define. + (or1k_elf_relocate_section): Use new howto instead of trying to + mask out relocation bits. + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-or1k.c | 24 ++++++++++++++++++++---- + 1 file changed, 20 insertions(+), 4 deletions(-) + +diff --git a/bfd/elf32-or1k.c b/bfd/elf32-or1k.c +index 4ae7f324d33..7fd88d72442 100644 +--- a/bfd/elf32-or1k.c ++++ b/bfd/elf32-or1k.c +@@ -828,6 +828,23 @@ static reloc_howto_type or1k_elf_howto_table[] = + false), /* pcrel_offset */ + }; + ++/* A copy of the R_OR1K_GOT16 used in the presense of R_OR1K_GOT_AHI16 ++ relocations when we know we can ignore overflows. */ ++static reloc_howto_type or1k_elf_got16_no_overflow_howto = ++ HOWTO (R_OR1K_GOT16, /* type */ ++ 0, /* rightshift */ ++ 2, /* size (0 = byte, 1 = short, 2 = long) */ ++ 16, /* bitsize */ ++ false, /* pc_relative */ ++ 0, /* bitpos */ ++ complain_overflow_dont, /* complain_on_overflow */ ++ bfd_elf_generic_reloc, /* special_function */ ++ "R_OR1K_GOT16", /* name */ ++ false, /* partial_inplace */ ++ 0, /* src_mask */ ++ 0xffff, /* dst_mask */ ++ false); /* pcrel_offset */ ++ + /* Map BFD reloc types to Or1k ELF reloc types. */ + + struct or1k_reloc_map +@@ -1506,12 +1523,11 @@ or1k_elf_relocate_section (bfd *output_bfd, + if (r_type == R_OR1K_GOT_AHI16) + saw_gotha = true; + +- /* If we have a R_OR1K_GOT16 followed by a R_OR1K_GOT_AHI16 ++ /* If we have a R_OR1K_GOT16 following a R_OR1K_GOT_AHI16 + relocation we assume the code is doing the right thing to avoid +- overflows. Here we mask the lower 16-bit of the relocation to +- avoid overflow validation failures. */ ++ overflows. */ + if (r_type == R_OR1K_GOT16 && saw_gotha) +- relocation &= 0xffff; ++ howto = &or1k_elf_got16_no_overflow_howto; + + /* Addend should be zero. */ + if (rel->r_addend != 0) +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.37/0006-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch b/buildroot-2022.02.1/package/binutils/2.37/0006-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch new file mode 100644 index 00000000..46697cc5 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.37/0006-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch @@ -0,0 +1,236 @@ +From 1c611b40e6bfc8029bff7696814330b5bc0ee5c0 Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" +Date: Mon, 26 Jul 2021 05:59:55 -0700 +Subject: [PATCH] bfd: Close the file descriptor if there is no archive fd + +Close the file descriptor if there is no archive plugin file descriptor +to avoid running out of file descriptors on thin archives with many +archive members. + +bfd/ + + PR ld/28138 + * plugin.c (bfd_plugin_close_file_descriptor): Close the file + descriptor there is no archive plugin file descriptor. + +ld/ + + PR ld/28138 + * testsuite/ld-plugin/lto.exp: Run tmpdir/pr28138 only for + native build. + + PR ld/28138 + * testsuite/ld-plugin/lto.exp: Run ld/28138 tests. + * testsuite/ld-plugin/pr28138.c: New file. + * testsuite/ld-plugin/pr28138-1.c: Likewise. + * testsuite/ld-plugin/pr28138-2.c: Likewise. + * testsuite/ld-plugin/pr28138-3.c: Likewise. + * testsuite/ld-plugin/pr28138-4.c: Likewise. + * testsuite/ld-plugin/pr28138-5.c: Likewise. + * testsuite/ld-plugin/pr28138-6.c: Likewise. + * testsuite/ld-plugin/pr28138-7.c: Likewise. + +(cherry picked from commit 5a98fb7513b559e20dfebdbaa2a471afda3b4742) +(cherry picked from commit 7dc37e1e1209c80e0bab784df6b6bac335e836f2) + +[Upstream: + https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1c611b40e6bfc8029bff7696814330b5bc0ee5c0] +Signed-off-by: Peter Seiderer +--- + bfd/plugin.c | 8 +++++++ + ld/testsuite/ld-plugin/lto.exp | 34 ++++++++++++++++++++++++++++++ + ld/testsuite/ld-plugin/pr28138-1.c | 6 ++++++ + ld/testsuite/ld-plugin/pr28138-2.c | 6 ++++++ + ld/testsuite/ld-plugin/pr28138-3.c | 6 ++++++ + ld/testsuite/ld-plugin/pr28138-4.c | 6 ++++++ + ld/testsuite/ld-plugin/pr28138-5.c | 6 ++++++ + ld/testsuite/ld-plugin/pr28138-6.c | 6 ++++++ + ld/testsuite/ld-plugin/pr28138-7.c | 6 ++++++ + ld/testsuite/ld-plugin/pr28138.c | 20 ++++++++++++++++++ + 10 files changed, 104 insertions(+) + create mode 100644 ld/testsuite/ld-plugin/pr28138-1.c + create mode 100644 ld/testsuite/ld-plugin/pr28138-2.c + create mode 100644 ld/testsuite/ld-plugin/pr28138-3.c + create mode 100644 ld/testsuite/ld-plugin/pr28138-4.c + create mode 100644 ld/testsuite/ld-plugin/pr28138-5.c + create mode 100644 ld/testsuite/ld-plugin/pr28138-6.c + create mode 100644 ld/testsuite/ld-plugin/pr28138-7.c + create mode 100644 ld/testsuite/ld-plugin/pr28138.c + +diff --git a/bfd/plugin.c b/bfd/plugin.c +index 6cfa2b66470..3bab8febe88 100644 +--- a/bfd/plugin.c ++++ b/bfd/plugin.c +@@ -291,6 +291,14 @@ bfd_plugin_close_file_descriptor (bfd *abfd, int fd) + && !bfd_is_thin_archive (abfd->my_archive)) + abfd = abfd->my_archive; + ++ /* Close the file descriptor if there is no archive plugin file ++ descriptor. */ ++ if (abfd->archive_plugin_fd == -1) ++ { ++ close (fd); ++ return; ++ } ++ + abfd->archive_plugin_fd_open_count--; + /* Dup the archive plugin file descriptor for later use, which + will be closed by _bfd_archive_close_and_cleanup. */ +diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp +index def69e43ab3..999d911ce6a 100644 +--- a/ld/testsuite/ld-plugin/lto.exp ++++ b/ld/testsuite/ld-plugin/lto.exp +@@ -687,6 +687,40 @@ if { [is_elf_format] && [check_lto_shared_available] } { + } + } + ++run_cc_link_tests [list \ ++ [list \ ++ "Build pr28138.a" \ ++ "-T" "" \ ++ {pr28138-1.c pr28138-2.c pr28138-3.c pr28138-4.c pr28138-5.c \ ++ pr28138-6.c pr28138-7.c} {} "pr28138.a" \ ++ ] \ ++ [list \ ++ "Build pr28138.o" \ ++ "" "" \ ++ {pr28138.c} {} \ ++ ] \ ++] ++ ++set exec_output [run_host_cmd "sh" \ ++ "-c \"ulimit -n 20; \ ++ $CC -Btmpdir/ld -o tmpdir/pr28138 \ ++ tmpdir/pr28138.o tmpdir/pr28138.a\""] ++set exec_output [prune_warnings $exec_output] ++if [string match "" $exec_output] then { ++ if { [isnative] } { ++ set exec_output [run_host_cmd "tmpdir/pr28138" ""] ++ if [string match "PASS" $exec_output] then { ++ pass "PR ld/28138" ++ } else { ++ fail "PR ld/28138" ++ } ++ } else { ++ pass "PR ld/28138" ++ } ++} else { ++ fail "PR ld/28138" ++} ++ + set testname "Build liblto-11.a" + remote_file host delete "tmpdir/liblto-11.a" + set catch_output [run_host_cmd "$ar" "rc $plug_opt tmpdir/liblto-11.a tmpdir/lto-11a.o tmpdir/lto-11b.o tmpdir/lto-11c.o"] +diff --git a/ld/testsuite/ld-plugin/pr28138-1.c b/ld/testsuite/ld-plugin/pr28138-1.c +new file mode 100644 +index 00000000000..51d119e1642 +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr28138-1.c +@@ -0,0 +1,6 @@ ++extern int a0(void); ++int ++a1(void) ++{ ++ return 1 + a0(); ++} +diff --git a/ld/testsuite/ld-plugin/pr28138-2.c b/ld/testsuite/ld-plugin/pr28138-2.c +new file mode 100644 +index 00000000000..1120cd797e9 +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr28138-2.c +@@ -0,0 +1,6 @@ ++extern int a1(void); ++int ++a2(void) ++{ ++ return 1 + a1(); ++} +diff --git a/ld/testsuite/ld-plugin/pr28138-3.c b/ld/testsuite/ld-plugin/pr28138-3.c +new file mode 100644 +index 00000000000..ec464947ee6 +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr28138-3.c +@@ -0,0 +1,6 @@ ++extern int a2(void); ++int ++a3(void) ++{ ++ return 1 + a2(); ++} +diff --git a/ld/testsuite/ld-plugin/pr28138-4.c b/ld/testsuite/ld-plugin/pr28138-4.c +new file mode 100644 +index 00000000000..475701b2c5c +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr28138-4.c +@@ -0,0 +1,6 @@ ++extern int a3(void); ++int ++a4(void) ++{ ++ return 1 + a3(); ++} +diff --git a/ld/testsuite/ld-plugin/pr28138-5.c b/ld/testsuite/ld-plugin/pr28138-5.c +new file mode 100644 +index 00000000000..e24f86c363e +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr28138-5.c +@@ -0,0 +1,6 @@ ++extern int a4(void); ++int ++a5(void) ++{ ++ return 1 + a4(); ++} +diff --git a/ld/testsuite/ld-plugin/pr28138-6.c b/ld/testsuite/ld-plugin/pr28138-6.c +new file mode 100644 +index 00000000000..b5b938bdb21 +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr28138-6.c +@@ -0,0 +1,6 @@ ++extern int a5(void); ++int ++a6(void) ++{ ++ return 1 + a5(); ++} +diff --git a/ld/testsuite/ld-plugin/pr28138-7.c b/ld/testsuite/ld-plugin/pr28138-7.c +new file mode 100644 +index 00000000000..4ef75bf0f0c +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr28138-7.c +@@ -0,0 +1,6 @@ ++extern int a6(void); ++int ++a7(void) ++{ ++ return 1 + a6(); ++} +diff --git a/ld/testsuite/ld-plugin/pr28138.c b/ld/testsuite/ld-plugin/pr28138.c +new file mode 100644 +index 00000000000..68252c9f382 +--- /dev/null ++++ b/ld/testsuite/ld-plugin/pr28138.c +@@ -0,0 +1,20 @@ ++#include ++ ++extern int a7(void); ++ ++int ++a0(void) ++{ ++ return 0; ++} ++ ++int ++main() ++{ ++ if (a7() == 7) ++ { ++ printf ("PASS\n"); ++ return 0; ++ } ++ return 1; ++} +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/binutils/2.37/0007-i386-Allow-GOT32-relocations-against-ABS-symbols.patch b/buildroot-2022.02.1/package/binutils/2.37/0007-i386-Allow-GOT32-relocations-against-ABS-symbols.patch new file mode 100644 index 00000000..3e292822 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/2.37/0007-i386-Allow-GOT32-relocations-against-ABS-symbols.patch @@ -0,0 +1,47 @@ +From 30a954525f4e53a9cd50a1a8a6f201c7cf6595c7 Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" +Date: Mon, 7 Feb 2022 15:22:19 -0800 +Subject: [PATCH] i386: Allow GOT32 relocations against ABS symbols + +GOT32 relocations are allowed since absolute value + addend is stored in +the GOT slot. + +Tested on glibc 2.35 build with GCC 11.2 and -Os. + +bfd/ + + PR ld/28870 + * elfxx-x86.c (_bfd_elf_x86_valid_reloc_p): Also allow GOT32 + relocations. + + +Signed-off-by: Waldemar Brodkorb + +diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c +index 7ac2411fc80..d00dc45677b 100644 +--- a/bfd/elfxx-x86.c ++++ b/bfd/elfxx-x86.c +@@ -1942,9 +1942,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, + irel = *rel; + + /* Only allow relocations against absolute symbol, which can be +- resolved as absolute value + addend. GOTPCREL relocations +- are allowed since absolute value + addend is stored in the +- GOT slot. */ ++ resolved as absolute value + addend. GOTPCREL and GOT32 ++ relocations are allowed since absolute value + addend is ++ stored in the GOT slot. */ + if (bed->target_id == X86_64_ELF_DATA) + { + r_type &= ~R_X86_64_converted_reloc_bit; +@@ -1965,7 +1965,9 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section, + else + valid_p = (r_type == R_386_32 + || r_type == R_386_16 +- || r_type == R_386_8); ++ || r_type == R_386_8 ++ || r_type == R_386_GOT32 ++ || r_type == R_386_GOT32X); + + if (valid_p) + *no_dynreloc_p = true; diff --git a/buildroot-2022.02.1/package/binutils/Config.in b/buildroot-2022.02.1/package/binutils/Config.in new file mode 100644 index 00000000..5e1a7699 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/Config.in @@ -0,0 +1,26 @@ +config BR2_PACKAGE_BINUTILS + bool "binutils" + depends on !BR2_nios2 + depends on BR2_USE_WCHAR + select BR2_PACKAGE_ZLIB + help + Install binutils on the target + +if BR2_PACKAGE_BINUTILS + +config BR2_PACKAGE_BINUTILS_TARGET + bool "binutils binaries" + help + The GNU Binutils are a collection of binary tools: + + ld - the GNU linker. + as - the GNU assembler. + and others... + + http://www.gnu.org/software/binutils/ + +endif + +comment "binutils needs a toolchain w/ wchar" + depends on !BR2_nios2 + depends on !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/binutils/Config.in.host b/buildroot-2022.02.1/package/binutils/Config.in.host new file mode 100644 index 00000000..ea1f0209 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/Config.in.host @@ -0,0 +1,60 @@ +comment "Binutils Options" + +config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI + bool + default y + depends on !BR2_microblaze + +choice + prompt "Binutils Version" + default BR2_BINUTILS_VERSION_2_36_X if !BR2_arc && !BR2_csky + default BR2_BINUTILS_VERSION_ARC if BR2_arc + help + Select the version of binutils you wish to use. + +config BR2_BINUTILS_VERSION_2_32_X + bool "binutils 2.32" + depends on !BR2_csky + +config BR2_BINUTILS_VERSION_2_35_X + bool "binutils 2.35.2" + depends on !BR2_csky + # https://github.com/uclinux-dev/elf2flt/pull/16 + # https://github.com/uclinux-dev/elf2flt/issues/12 + depends on !BR2_BINFMT_FLAT + +config BR2_BINUTILS_VERSION_2_36_X + bool "binutils 2.36.1" + depends on !BR2_csky + # https://github.com/uclinux-dev/elf2flt/pull/16 + # https://github.com/uclinux-dev/elf2flt/issues/12 + depends on !BR2_BINFMT_FLAT + +config BR2_BINUTILS_VERSION_2_37_X + bool "binutils 2.37" + # https://github.com/uclinux-dev/elf2flt/pull/16 + # https://github.com/uclinux-dev/elf2flt/issues/12 + depends on !BR2_BINFMT_FLAT + +config BR2_BINUTILS_VERSION_ARC + bool "binutils arc (2.34.50)" + depends on BR2_arc + +endchoice + +config BR2_BINUTILS_VERSION + string + default "arc-2020.09-release" if BR2_BINUTILS_VERSION_ARC + default "2.32" if BR2_BINUTILS_VERSION_2_32_X + default "2.35.2" if BR2_BINUTILS_VERSION_2_35_X + default "2.36.1" if BR2_BINUTILS_VERSION_2_36_X + default "2.37" if BR2_BINUTILS_VERSION_2_37_X + +config BR2_BINUTILS_ENABLE_LTO + bool + +config BR2_BINUTILS_EXTRA_CONFIG_OPTIONS + string "Additional binutils options" + default "" + help + Any additional binutils options you may want to include. diff --git a/buildroot-2021.05/package/binutils/arc-2020.09-release/0001-poison-system-directories.patch b/buildroot-2022.02.1/package/binutils/arc-2020.09-release/0001-poison-system-directories.patch similarity index 100% rename from buildroot-2021.05/package/binutils/arc-2020.09-release/0001-poison-system-directories.patch rename to buildroot-2022.02.1/package/binutils/arc-2020.09-release/0001-poison-system-directories.patch diff --git a/buildroot-2022.02.1/package/binutils/binutils.hash b/buildroot-2022.02.1/package/binutils/binutils.hash new file mode 100644 index 00000000..d1be6cbc --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/binutils.hash @@ -0,0 +1,12 @@ +# From ftp://gcc.gnu.org/pub/binutils/releases/sha512.sum +sha512 d326408f12a03d9a61a9de56584c2af12f81c2e50d2d7e835d51565df8314df01575724afa1e43bd0db45cfc9916b41519b67dfce03232aa4978704492a6994a binutils-2.32.tar.xz +sha512 9974ede5978d32e0d68fef23da48fa00bd06b0bff7ec45b00ca075c126d6bbe0cf2defc03ecc3f17bc6cc85b64271a13009c4049d7ba17de26e84e3a6e2c0348 binutils-2.35.2.tar.xz +sha512 cc24590bcead10b90763386b6f96bb027d7594c659c2d95174a6352e8b98465a50ec3e4088d0da038428abe059bbc4ae5f37b269f31a40fc048072c8a234f4e9 binutils-2.36.1.tar.xz +sha512 5c11aeef6935860a6819ed3a3c93371f052e52b4bdc5033da36037c1544d013b7f12cb8d561ec954fe7469a68f1b66f1a3cd53d5a3af7293635a90d69edd15e7 binutils-2.37.tar.xz + +# Locally calculated (fetched from Github) +sha512 76a8227a19218435319c660e4983ea17985194b7f496f163e97543e7f6fd3e9249241fdc05a16ba512fba96a1d846c1f7b080983404d821d6215f10e7f11e238 binutils-gdb-arc-2020.09-release.tar.gz + +# locally computed +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING3 +sha256 56bdea73b6145ef6ac5259b3da390b981d840c24cb03b8e1cbc678de7ecfa18d COPYING.LIB diff --git a/buildroot-2022.02.1/package/binutils/binutils.mk b/buildroot-2022.02.1/package/binutils/binutils.mk new file mode 100644 index 00000000..8c4a1371 --- /dev/null +++ b/buildroot-2022.02.1/package/binutils/binutils.mk @@ -0,0 +1,141 @@ +################################################################################ +# +# binutils +# +################################################################################ + +# Version is set when using buildroot toolchain. +# If not, we do like other packages +BINUTILS_VERSION = $(call qstrip,$(BR2_BINUTILS_VERSION)) +ifeq ($(BINUTILS_VERSION),) +ifeq ($(BR2_arc),y) +BINUTILS_VERSION = arc-2020.09-release +else +BINUTILS_VERSION = 2.36.1 +endif +endif # BINUTILS_VERSION + +ifeq ($(BINUTILS_VERSION),arc-2020.09-release) +BINUTILS_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(BINUTILS_VERSION)) +BINUTILS_SOURCE = binutils-gdb-$(BINUTILS_VERSION).tar.gz +BINUTILS_FROM_GIT = y +endif + +BINUTILS_SITE ?= $(BR2_GNU_MIRROR)/binutils +BINUTILS_SOURCE ?= binutils-$(BINUTILS_VERSION).tar.xz +BINUTILS_EXTRA_CONFIG_OPTIONS = $(call qstrip,$(BR2_BINUTILS_EXTRA_CONFIG_OPTIONS)) +BINUTILS_INSTALL_STAGING = YES +BINUTILS_DEPENDENCIES = zlib $(TARGET_NLS_DEPENDENCIES) +BINUTILS_MAKE_OPTS = LIBS=$(TARGET_NLS_LIBS) +BINUTILS_LICENSE = GPL-3.0+, libiberty LGPL-2.1+ +BINUTILS_LICENSE_FILES = COPYING3 COPYING.LIB +BINUTILS_CPE_ID_VENDOR = gnu + +ifeq ($(BINUTILS_FROM_GIT),y) +BINUTILS_DEPENDENCIES += host-flex host-bison +HOST_BINUTILS_DEPENDENCIES += host-flex host-bison +endif + +# When binutils sources are fetched from the binutils-gdb repository, +# they also contain the gdb sources, but gdb shouldn't be built, so we +# disable it. +BINUTILS_DISABLE_GDB_CONF_OPTS = \ + --disable-sim \ + --disable-gdb + +# We need to specify host & target to avoid breaking ARM EABI +BINUTILS_CONF_OPTS = \ + --disable-multilib \ + --disable-werror \ + --host=$(GNU_TARGET_NAME) \ + --target=$(GNU_TARGET_NAME) \ + --enable-install-libiberty \ + --enable-build-warnings=no \ + --with-system-zlib \ + $(BINUTILS_DISABLE_GDB_CONF_OPTS) \ + $(BINUTILS_EXTRA_CONFIG_OPTIONS) + +ifeq ($(BR2_STATIC_LIBS),y) +BINUTILS_CONF_OPTS += --disable-plugins +endif + +# Don't build documentation. It takes up extra space / build time, +# and sometimes needs specific makeinfo versions to work +BINUTILS_CONF_ENV += MAKEINFO=true +BINUTILS_MAKE_OPTS += MAKEINFO=true +BINUTILS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) MAKEINFO=true install +HOST_BINUTILS_CONF_ENV += MAKEINFO=true +HOST_BINUTILS_MAKE_OPTS += MAKEINFO=true +HOST_BINUTILS_INSTALL_OPTS += MAKEINFO=true install + +# Workaround a build issue with -Os for ARM Cortex-M cpus. +# (Binutils 2.25.1 and 2.26.1) +# https://sourceware.org/bugzilla/show_bug.cgi?id=20552 +ifeq ($(BR2_ARM_CPU_ARMV7M)$(BR2_OPTIMIZE_S),yy) +BINUTILS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O2" +endif + +# "host" binutils should actually be "cross" +# We just keep the convention of "host utility" for now +HOST_BINUTILS_CONF_OPTS = \ + --disable-multilib \ + --disable-werror \ + --target=$(GNU_TARGET_NAME) \ + --disable-shared \ + --enable-static \ + --with-sysroot=$(STAGING_DIR) \ + --enable-poison-system-directories \ + --without-debuginfod \ + $(BINUTILS_DISABLE_GDB_CONF_OPTS) \ + $(BINUTILS_EXTRA_CONFIG_OPTIONS) + +# binutils run configure script of subdirs at make time, so ensure +# our TARGET_CONFIGURE_ARGS are taken into consideration for those +BINUTILS_MAKE_ENV = $(TARGET_CONFIGURE_ARGS) + +# We just want libbfd, libiberty and libopcodes, +# not the full-blown binutils in staging +define BINUTILS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(STAGING_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/opcodes DESTDIR=$(STAGING_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install +endef + +# If we don't want full binutils on target +ifneq ($(BR2_PACKAGE_BINUTILS_TARGET),y) +# libiberty is static-only, so it is only installed to staging, above. +define BINUTILS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(TARGET_DIR) install + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/opcodes DESTDIR=$(TARGET_DIR) install +endef +endif + +ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) +define BINUTILS_XTENSA_OVERLAY_EXTRACT + $(call arch-xtensa-overlay-extract,$(@D),binutils) +endef +BINUTILS_POST_EXTRACT_HOOKS += BINUTILS_XTENSA_OVERLAY_EXTRACT +BINUTILS_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) +HOST_BINUTILS_POST_EXTRACT_HOOKS += BINUTILS_XTENSA_OVERLAY_EXTRACT +HOST_BINUTILS_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) +endif + +ifeq ($(BR2_BINUTILS_ENABLE_LTO),y) +HOST_BINUTILS_CONF_OPTS += --enable-plugins --enable-lto +endif + +# Hardlinks between binaries in different directories cause a problem +# with rpath fixup, so we de-hardlink those binaries, and replace them +# with copies instead. +BINUTILS_TOOLS = ar as ld ld.bfd nm objcopy objdump ranlib readelf strip +define HOST_BINUTILS_FIXUP_HARDLINKS + $(foreach tool,$(BINUTILS_TOOLS),\ + rm -f $(HOST_DIR)/$(GNU_TARGET_NAME)/bin/$(tool) && \ + cp -a $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-$(tool) \ + $(HOST_DIR)/$(GNU_TARGET_NAME)/bin/$(tool) + ) +endef +HOST_BINUTILS_POST_INSTALL_HOOKS += HOST_BINUTILS_FIXUP_HARDLINKS + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/biosdevname/Config.in b/buildroot-2022.02.1/package/biosdevname/Config.in similarity index 100% rename from buildroot-2021.05/package/biosdevname/Config.in rename to buildroot-2022.02.1/package/biosdevname/Config.in diff --git a/buildroot-2021.05/package/biosdevname/biosdevname.hash b/buildroot-2022.02.1/package/biosdevname/biosdevname.hash similarity index 100% rename from buildroot-2021.05/package/biosdevname/biosdevname.hash rename to buildroot-2022.02.1/package/biosdevname/biosdevname.hash diff --git a/buildroot-2021.05/package/biosdevname/biosdevname.mk b/buildroot-2022.02.1/package/biosdevname/biosdevname.mk similarity index 100% rename from buildroot-2021.05/package/biosdevname/biosdevname.mk rename to buildroot-2022.02.1/package/biosdevname/biosdevname.mk diff --git a/buildroot-2022.02.1/package/bird/Config.in b/buildroot-2022.02.1/package/bird/Config.in new file mode 100644 index 00000000..866fc656 --- /dev/null +++ b/buildroot-2022.02.1/package/bird/Config.in @@ -0,0 +1,86 @@ +config BR2_PACKAGE_BIRD + bool "bird" + depends on !BR2_nios2 # relocations don't fit + depends on BR2_USE_MMU # fork() + help + BIRD Internet Routing Daemon + + The BIRD project aims to develop a dynamic IP routing daemon + with full support of all modern routing protocols, easy to + use configuration interface and powerful route filtering + language + + http://bird.network.cz/ + +if BR2_PACKAGE_BIRD + +config BR2_PACKAGE_BIRD_CLIENT + bool "birdc" + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_READLINE + help + Enable the BIRD client + +comment "protocol support" + +config BR2_PACKAGE_BIRD_BABEL + bool "babel" + help + Enable Babel protocol. + +config BR2_PACKAGE_BIRD_BFD + bool "bfd" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + help + Enable BFD protocol. + +comment "BFD protocol needs a toolchain w/ NPTL" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL + +config BR2_PACKAGE_BIRD_BGP + bool "bgp" + default y + help + Enable BGP protocol. + +config BR2_PACKAGE_BIRD_MRT + bool "mrt" + help + Enable MRT protocol. + +config BR2_PACKAGE_BIRD_OSPF + bool "ospf" + help + Enable OSPFv2 and OSPFv3 protocol. + +config BR2_PACKAGE_BIRD_PERF + bool "perf" + help + Enable Perf protocol. + +config BR2_PACKAGE_BIRD_PIPE + bool "pipe" + help + Enable Pipe protocol. + +config BR2_PACKAGE_BIRD_RADV + bool "radv" + help + Enable RAdv protocol. + +config BR2_PACKAGE_BIRD_RIP + bool "rip" + help + Enable RIP protocol. + +config BR2_PACKAGE_BIRD_RPKI + bool "rpki" + help + Enable RPKI protocol. + +config BR2_PACKAGE_BIRD_STATIC + bool "static" + help + Enable Static protocol. + +endif diff --git a/buildroot-2022.02.1/package/bird/bird.hash b/buildroot-2022.02.1/package/bird/bird.hash new file mode 100644 index 00000000..2d20491d --- /dev/null +++ b/buildroot-2022.02.1/package/bird/bird.hash @@ -0,0 +1,2 @@ +sha256 19d2de83ee25a307b9e5b9e58797dd68766d439bcee33e3ac617ed502370e7f6 bird-2.0.8.tar.gz +sha256 94c53c84320078920ac1f0d49c81a4e9004512f534521a58bdf145acbcbc2cd2 README diff --git a/buildroot-2022.02.1/package/bird/bird.mk b/buildroot-2022.02.1/package/bird/bird.mk new file mode 100644 index 00000000..7d7002d5 --- /dev/null +++ b/buildroot-2022.02.1/package/bird/bird.mk @@ -0,0 +1,45 @@ +################################################################################ +# +# bird +# +################################################################################ + +BIRD_VERSION = 2.0.8 +BIRD_SITE = ftp://bird.network.cz/pub/bird +BIRD_LICENSE = GPL-2.0+ +BIRD_LICENSE_FILES = README +BIRD_CPE_ID_VENDOR = nic +BIRD_SELINUX_MODULES = bird +BIRD_DEPENDENCIES = host-flex host-bison +BIRD_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_BIRD_CLIENT),y) +BIRD_CONF_OPTS += --enable-client +BIRD_DEPENDENCIES += ncurses readline +else +BIRD_CONF_OPTS += --disable-client +endif + +ifeq ($(BR2_PACKAGE_LIBSSH),y) +BIRD_CONF_OPTS += --enable-libssh +BIRD_DEPENDENCIES += libssh +else +BIRD_CONF_OPTS += --disable-libssh +endif + +BIRD_PROTOCOLS = \ + $(if $(BR2_PACKAGE_BIRD_BFD),bfd) \ + $(if $(BR2_PACKAGE_BIRD_BABEL),babel) \ + $(if $(BR2_PACKAGE_BIRD_BGP),bgp) \ + $(if $(BR2_PACKAGE_BIRD_MRT),mrt) \ + $(if $(BR2_PACKAGE_BIRD_OSPF),ospf) \ + $(if $(BR2_PACKAGE_BIRD_PERF),perf) \ + $(if $(BR2_PACKAGE_BIRD_PIPE),pipe) \ + $(if $(BR2_PACKAGE_BIRD_RADV),radv) \ + $(if $(BR2_PACKAGE_BIRD_RIP),rip) \ + $(if $(BR2_PACKAGE_BIRD_RPKI),rpki) \ + $(if $(BR2_PACKAGE_BIRD_STATIC),static) + +BIRD_CONF_OPTS += --with-protocols=$(subst $(space),$(comma),$(strip $(BIRD_PROTOCOLS))) + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/bison/bison.hash b/buildroot-2022.02.1/package/bison/bison.hash new file mode 100644 index 00000000..98ce5b97 --- /dev/null +++ b/buildroot-2022.02.1/package/bison/bison.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature from +# http://mirror.keystealth.org/gnu/bison/bison-3.8.2.tar.xz.sig +sha256 9bba0214ccf7f1079c5d59210045227bcf619519840ebfa80cd3849cff5a5bf2 bison-3.8.2.tar.xz +# License files, locally calculated +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2022.02.1/package/bison/bison.mk b/buildroot-2022.02.1/package/bison/bison.mk new file mode 100644 index 00000000..27038de6 --- /dev/null +++ b/buildroot-2022.02.1/package/bison/bison.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# bison +# +################################################################################ + +BISON_VERSION = 3.8.2 +BISON_SOURCE = bison-$(BISON_VERSION).tar.xz +BISON_SITE = $(BR2_GNU_MIRROR)/bison +BISON_LICENSE = GPL-3.0+ +BISON_LICENSE_FILES = COPYING +BISON_CPE_ID_VENDOR = gnu +# parallel build issue in examples/c/reccalc/ +BISON_MAKE = $(MAKE1) +HOST_BISON_DEPENDENCIES = host-m4 +HOST_BISON_CONF_OPTS = --enable-relocatable +HOST_BISON_CONF_ENV = ac_cv_libtextstyle=no + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/bitcoin/0001-src-randomenv.cpp-fix-build-on-uclibc.patch b/buildroot-2022.02.1/package/bitcoin/0001-src-randomenv.cpp-fix-build-on-uclibc.patch similarity index 100% rename from buildroot-2021.05/package/bitcoin/0001-src-randomenv.cpp-fix-build-on-uclibc.patch rename to buildroot-2022.02.1/package/bitcoin/0001-src-randomenv.cpp-fix-build-on-uclibc.patch diff --git a/buildroot-2022.02.1/package/bitcoin/Config.in b/buildroot-2022.02.1/package/bitcoin/Config.in new file mode 100644 index 00000000..a344811d --- /dev/null +++ b/buildroot-2022.02.1/package/bitcoin/Config.in @@ -0,0 +1,47 @@ +config BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS + bool + default y if BR2_TOOLCHAIN_HAS_ATOMIC + # bitcoin uses 8-byte __atomic intrinsics, which are not + # available on ARM noMMU platforms that we + # support. BR2_TOOLCHAIN_HAS_ATOMIC does not provide a + # size-level granularity to express this dependency. + depends on !(BR2_arm || BR2_armeb) || BR2_USE_MMU + +config BR2_PACKAGE_BITCOIN + bool "bitcoin" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread, boost-filesystem + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future + depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS # boost + depends on BR2_USE_WCHAR + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_THREAD + select BR2_PACKAGE_LIBEVENT + help + Bitcoin Core is an open source project which maintains and + releases Bitcoin client software called “Bitcoin Core”. + + It is a direct descendant of the original Bitcoin software + client released by Satoshi Nakamoto after he published the + famous Bitcoin whitepaper. + + Bitcoin Core consists of both "full-node" software for fully + validating the blockchain as well as a bitcoin wallet. The + project also currently maintains related software such as + the cryptography library libsecp256k1 and others located at + GitHub. + + https://bitcoincore.org + +comment "bitcoin needs a toolchain w/ C++, threads, wchar" + depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR + +comment "bitcoin needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2022.02.1/package/bitcoin/bitcoin.hash b/buildroot-2022.02.1/package/bitcoin/bitcoin.hash new file mode 100644 index 00000000..643fcbc1 --- /dev/null +++ b/buildroot-2022.02.1/package/bitcoin/bitcoin.hash @@ -0,0 +1,5 @@ +# From https://bitcoincore.org/bin/bitcoin-core-0.21.2/SHA256SUMS.asc +sha256 4146f751fc5691bdcf911cbdb8d32d8d25c297d29d58173227ae1ae6438edb9e bitcoin-0.21.2.tar.gz + +# Hash for license file +sha256 96fe807030b21f88305adc32af62f9aa19915f2783509fd6f52aea02cf83f644 COPYING diff --git a/buildroot-2022.02.1/package/bitcoin/bitcoin.mk b/buildroot-2022.02.1/package/bitcoin/bitcoin.mk new file mode 100644 index 00000000..10ae3220 --- /dev/null +++ b/buildroot-2022.02.1/package/bitcoin/bitcoin.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# bitcoin +# +################################################################################ + +BITCOIN_VERSION = 0.21.2 +BITCOIN_SITE = https://bitcoincore.org/bin/bitcoin-core-$(BITCOIN_VERSION) +BITCOIN_AUTORECONF = YES +BITCOIN_LICENSE = MIT +BITCOIN_LICENSE_FILES = COPYING +BITCOIN_CPE_ID_VENDOR = bitcoin +BITCOIN_CPE_ID_PRODUCT = bitcoin_core +BITCOIN_DEPENDENCIES = host-pkgconf boost libevent +BITCOIN_MAKE_ENV = BITCOIN_GENBUILD_NO_GIT=1 +BITCOIN_CONF_OPTS = \ + --disable-bench \ + --disable-wallet \ + --disable-tests \ + --with-boost-libdir=$(STAGING_DIR)/usr/lib/ \ + --disable-hardening \ + --without-gui + +ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y) +BITCOIN_DEPENDENCIES += libminiupnpc +BITCOIN_CONF_OPTS += --with-miniupnpc +else +BITCOIN_CONF_OPTS += --without-miniupnpc +endif + +ifeq ($(BR2_PACKAGE_ZEROMQ),y) +BITCOIN_DEPENDENCIES += zeromq +BITCOIN_CONF_OPTS += --with-zmq +else +BITCOIN_CONF_OPTS += --without-zmq +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bitstream-vera/Config.in b/buildroot-2022.02.1/package/bitstream-vera/Config.in similarity index 100% rename from buildroot-2021.05/package/bitstream-vera/Config.in rename to buildroot-2022.02.1/package/bitstream-vera/Config.in diff --git a/buildroot-2021.05/package/bitstream-vera/bitstream-vera.hash b/buildroot-2022.02.1/package/bitstream-vera/bitstream-vera.hash similarity index 100% rename from buildroot-2021.05/package/bitstream-vera/bitstream-vera.hash rename to buildroot-2022.02.1/package/bitstream-vera/bitstream-vera.hash diff --git a/buildroot-2021.05/package/bitstream-vera/bitstream-vera.mk b/buildroot-2022.02.1/package/bitstream-vera/bitstream-vera.mk similarity index 100% rename from buildroot-2021.05/package/bitstream-vera/bitstream-vera.mk rename to buildroot-2022.02.1/package/bitstream-vera/bitstream-vera.mk diff --git a/buildroot-2021.05/package/bitstream/Config.in b/buildroot-2022.02.1/package/bitstream/Config.in similarity index 100% rename from buildroot-2021.05/package/bitstream/Config.in rename to buildroot-2022.02.1/package/bitstream/Config.in diff --git a/buildroot-2021.05/package/bitstream/bitstream.hash b/buildroot-2022.02.1/package/bitstream/bitstream.hash similarity index 100% rename from buildroot-2021.05/package/bitstream/bitstream.hash rename to buildroot-2022.02.1/package/bitstream/bitstream.hash diff --git a/buildroot-2021.05/package/bitstream/bitstream.mk b/buildroot-2022.02.1/package/bitstream/bitstream.mk similarity index 100% rename from buildroot-2021.05/package/bitstream/bitstream.mk rename to buildroot-2022.02.1/package/bitstream/bitstream.mk diff --git a/buildroot-2021.05/package/bitwise/Config.in b/buildroot-2022.02.1/package/bitwise/Config.in similarity index 100% rename from buildroot-2021.05/package/bitwise/Config.in rename to buildroot-2022.02.1/package/bitwise/Config.in diff --git a/buildroot-2022.02.1/package/bitwise/bitwise.hash b/buildroot-2022.02.1/package/bitwise/bitwise.hash new file mode 100644 index 00000000..c8daa0aa --- /dev/null +++ b/buildroot-2022.02.1/package/bitwise/bitwise.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 f524f794188a10defc4df673d8cf0b3739f93e58e93aff0cdb8a99fbdcca2ffb bitwise-v0.43.tar.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2022.02.1/package/bitwise/bitwise.mk b/buildroot-2022.02.1/package/bitwise/bitwise.mk new file mode 100644 index 00000000..33d8f677 --- /dev/null +++ b/buildroot-2022.02.1/package/bitwise/bitwise.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# bitwise +# +################################################################################ + +BITWISE_VERSION = 0.43 +BITWISE_SITE = https://github.com/mellowcandle/bitwise/releases/download/v$(BITWISE_VERSION) +BITWISE_SOURCE = bitwise-v$(BITWISE_VERSION).tar.gz +BITWISE_DEPENDENCIES = ncurses readline +BITWISE_LICENSE = GPL-3.0 +BITWISE_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/blktrace/Config.in b/buildroot-2022.02.1/package/blktrace/Config.in similarity index 100% rename from buildroot-2021.05/package/blktrace/Config.in rename to buildroot-2022.02.1/package/blktrace/Config.in diff --git a/buildroot-2022.02.1/package/blktrace/blktrace.hash b/buildroot-2022.02.1/package/blktrace/blktrace.hash new file mode 100644 index 00000000..d279419c --- /dev/null +++ b/buildroot-2022.02.1/package/blktrace/blktrace.hash @@ -0,0 +1,6 @@ +# From http://brick.kernel.dk/snaps/MD5SUMS +md5 aa9bc7d76870d8dae56aa816527e8e15 blktrace-1.3.0.tar.bz2 + +# Locally computed +sha256 d6deda03862de2bd1b1b9fba729bbb862d9bca795e6aa7f7ca86b656811a70d6 blktrace-1.3.0.tar.bz2 +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2022.02.1/package/blktrace/blktrace.mk b/buildroot-2022.02.1/package/blktrace/blktrace.mk new file mode 100644 index 00000000..d66a3522 --- /dev/null +++ b/buildroot-2022.02.1/package/blktrace/blktrace.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# blktrace +# +################################################################################ + +BLKTRACE_VERSION = 1.3.0 +BLKTRACE_SOURCE = blktrace-$(BLKTRACE_VERSION).tar.bz2 +BLKTRACE_SITE = http://brick.kernel.dk/snaps +BLKTRACE_DEPENDENCIES = libaio +BLKTRACE_LICENSE = GPL-2.0+ +BLKTRACE_LICENSE_FILES = COPYING +BLKTRACE_CPE_ID_VENDOR = blktrace_project + +define BLKTRACE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) +endef + +define BLKTRACE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(TARGET_CONFIGURE_OPTS) install \ + DESTDIR=$(TARGET_DIR) prefix=/usr +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/bluez-alsa/Config.in b/buildroot-2022.02.1/package/bluez-alsa/Config.in new file mode 100644 index 00000000..42bb9133 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez-alsa/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_BLUEZ_ALSA + bool "bluez-alsa" + depends on !BR2_STATIC_LIBS # bluez5 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5 + depends on BR2_USE_MMU # bluez5 -> dbus + depends on BR2_USE_WCHAR # libglib2 + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_BLUEZ5_UTILS + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_SBC + help + Bluetooth Audio ALSA Backend. + + https://github.com/Arkq/bluez-alsa + +if BR2_PACKAGE_BLUEZ_ALSA + +config BR2_PACKAGE_BLUEZ_ALSA_HCITOP + bool "hcitop" + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS + select BR2_PACKAGE_LIBBSD + select BR2_PACKAGE_NCURSES + help + Enable top-like monitoring tool for HCI. + +config BR2_PACKAGE_BLUEZ_ALSA_RFCOMM + bool "rfcomm" + select BR2_PACKAGE_READLINE + help + Simple tool for sending RFCOMM commands. + +endif + +comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic library, gcc >= 4.9" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/bluez-alsa/bluez-alsa.hash b/buildroot-2022.02.1/package/bluez-alsa/bluez-alsa.hash new file mode 100644 index 00000000..f6e72946 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez-alsa/bluez-alsa.hash @@ -0,0 +1,3 @@ +# Locally calculated: +sha256 d9a878d9fd7f18842c9c8ed83bc96cab684753c90f2751d575a3cdd776ec78a5 bluez-alsa-3.1.0.tar.gz +sha256 60253922a459245128c34eb379cbda7c76936636d4c10edc576663a0f560dd4d LICENSE diff --git a/buildroot-2022.02.1/package/bluez-alsa/bluez-alsa.mk b/buildroot-2022.02.1/package/bluez-alsa/bluez-alsa.mk new file mode 100644 index 00000000..f5e3aa12 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez-alsa/bluez-alsa.mk @@ -0,0 +1,79 @@ +################################################################################ +# +# bluez-alsa +# +################################################################################ + +BLUEZ_ALSA_VERSION = 3.1.0 +BLUEZ_ALSA_SITE = $(call github,Arkq,bluez-alsa,v$(BLUEZ_ALSA_VERSION)) +BLUEZ_ALSA_LICENSE = MIT +BLUEZ_ALSA_LICENSE_FILES = LICENSE +BLUEZ_ALSA_DEPENDENCIES = alsa-lib bluez5_utils libglib2 sbc host-pkgconf + +# git repo, no configure +BLUEZ_ALSA_AUTORECONF = YES + +BLUEZ_ALSA_CONF_OPTS = \ + --enable-a2dpconf \ + --enable-aplay \ + --disable-debug-time \ + --with-alsaplugindir=/usr/lib/alsa-lib \ + --with-alsaconfdir=/etc/alsa/conf.d + +ifeq ($(BR2_PACKAGE_FDK_AAC),y) +BLUEZ_ALSA_DEPENDENCIES += fdk-aac +BLUEZ_ALSA_CONF_OPTS += --enable-aac +else +BLUEZ_ALSA_CONF_OPTS += --disable-aac +endif + +ifeq ($(BR2_PACKAGE_LAME),y) +BLUEZ_ALSA_DEPENDENCIES += lame +BLUEZ_ALSA_CONF_OPTS += --enable-mp3lame +else +BLUEZ_ALSA_CONF_OPTS += --disable-mp3lame +endif + +ifeq ($(BR2_PACKAGE_MPG123),y) +BLUEZ_ALSA_DEPENDENCIES += mpg123 +BLUEZ_ALSA_CONF_OPTS += --enable-mpg123 +else +BLUEZ_ALSA_CONF_OPTS += --disable-mpg123 +endif + +# no build dependency, disables internal HFP in favor of oFonos HFP profile +ifeq ($(BR2_PACKAGE_OFONO),y) +BLUEZ_ALSA_CONF_OPTS += --enable-ofono +else +BLUEZ_ALSA_CONF_OPTS += --disable-ofono +endif + +# no build dependency, enables integration with UPower D-Bus service +ifeq ($(BR2_PACKAGE_UPOWER),y) +BLUEZ_ALSA_CONF_OPTS += --enable-upower +else +BLUEZ_ALSA_CONF_OPTS += --disable-upower +endif + +ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_HCITOP),y) +BLUEZ_ALSA_DEPENDENCIES += libbsd ncurses +BLUEZ_ALSA_CONF_OPTS += --enable-hcitop +else +BLUEZ_ALSA_CONF_OPTS += --disable-hcitop +endif + +ifeq ($(BR2_PACKAGE_BLUEZ_ALSA_RFCOMM),y) +BLUEZ_ALSA_DEPENDENCIES += readline +BLUEZ_ALSA_CONF_OPTS += --enable-rfcomm +else +BLUEZ_ALSA_CONF_OPTS += --disable-rfcomm +endif + +ifeq ($(BR2_PACKAGE_LIBOPENAPTX),y) +BLUEZ_ALSA_DEPENDENCIES += libopenaptx +BLUEZ_ALSA_CONF_OPTS += --with-libopenaptx --enable-aptx --enable-aptx-hd +else +BLUEZ_ALSA_CONF_OPTS += --without-libopenaptx --disable-aptx --disable-aptx-hd +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bluez-tools/Config.in b/buildroot-2022.02.1/package/bluez-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/bluez-tools/Config.in rename to buildroot-2022.02.1/package/bluez-tools/Config.in diff --git a/buildroot-2022.02.1/package/bluez-tools/bluez-tools.hash b/buildroot-2022.02.1/package/bluez-tools/bluez-tools.hash new file mode 100644 index 00000000..f013f195 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez-tools/bluez-tools.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 dd5acf9e501514f4ad1136af966d2723f3270e0e2fffd6d29da93fa76c9fafa3 bluez-tools-f65321736475429316f07ee94ec0deac8e46ec4a.tar.gz +sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING diff --git a/buildroot-2022.02.1/package/bluez-tools/bluez-tools.mk b/buildroot-2022.02.1/package/bluez-tools/bluez-tools.mk new file mode 100644 index 00000000..00723595 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez-tools/bluez-tools.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# bluez-tools +# +################################################################################ + +BLUEZ_TOOLS_VERSION = f65321736475429316f07ee94ec0deac8e46ec4a +BLUEZ_TOOLS_SITE = $(call github,khvzak,bluez-tools,$(BLUEZ_TOOLS_VERSION)) + +# sources fetched from github, no configure script) +BLUEZ_TOOLS_AUTORECONF = YES +BLUEZ_TOOLS_DEPENDENCIES = host-pkgconf dbus dbus-glib bluez5_utils readline +BLUEZ_TOOLS_LICENSE = GPL-2.0+ +BLUEZ_TOOLS_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bluez5_utils-headers/Config.in b/buildroot-2022.02.1/package/bluez5_utils-headers/Config.in similarity index 100% rename from buildroot-2021.05/package/bluez5_utils-headers/Config.in rename to buildroot-2022.02.1/package/bluez5_utils-headers/Config.in diff --git a/buildroot-2021.05/package/bluez5_utils-headers/bluez5_utils-headers.hash b/buildroot-2022.02.1/package/bluez5_utils-headers/bluez5_utils-headers.hash similarity index 100% rename from buildroot-2021.05/package/bluez5_utils-headers/bluez5_utils-headers.hash rename to buildroot-2022.02.1/package/bluez5_utils-headers/bluez5_utils-headers.hash diff --git a/buildroot-2022.02.1/package/bluez5_utils-headers/bluez5_utils-headers.mk b/buildroot-2022.02.1/package/bluez5_utils-headers/bluez5_utils-headers.mk new file mode 100644 index 00000000..5bfc6523 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils-headers/bluez5_utils-headers.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# bluez5_utils-headers +# +################################################################################ + +# Keep the version and patches in sync with bluez5_utils +BLUEZ5_UTILS_HEADERS_VERSION = 5.63 +BLUEZ5_UTILS_HEADERS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz +BLUEZ5_UTILS_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth +BLUEZ5_UTILS_HEADERS_DL_SUBDIR = bluez5_utils +BLUEZ5_UTILS_HEADERS_LICENSE = GPL-2.0+, LGPL-2.1+ +BLUEZ5_UTILS_HEADERS_LICENSE_FILES = COPYING COPYING.LIB +BLUEZ5_UTILS_HEADERS_CPE_ID_VENDOR = bluez +BLUEZ5_UTILS_HEADERS_CPE_ID_PRODUCT = bluez + +BLUEZ5_UTILS_HEADERS_INSTALL_STAGING = YES +BLUEZ5_UTILS_HEADERS_INSTALL_TARGET = NO + +define BLUEZ5_UTILS_HEADERS_INSTALL_STAGING_CMDS + $(INSTALL) -d $(STAGING_DIR)/usr/include/bluetooth/ + $(INSTALL) -m 644 $(@D)/lib/*.h $(STAGING_DIR)/usr/include/bluetooth/ +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/bluez5_utils/0001-tools-mesh-cfgtest-include-limits.h.patch b/buildroot-2022.02.1/package/bluez5_utils/0001-tools-mesh-cfgtest-include-limits.h.patch new file mode 100644 index 00000000..7f119735 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/0001-tools-mesh-cfgtest-include-limits.h.patch @@ -0,0 +1,33 @@ +From 5158827fded7cb4daf550a5956aff0c74f6c38fc Mon Sep 17 00:00:00 2001 +From: Michael Nosthoff +Date: Thu, 22 Jul 2021 21:36:13 +0200 +Subject: [PATCH] tools/mesh-cfgtest: include limits.h + +mesh-cfgtest.c uses PATH_MAX so it should include limits.h. + +fixes compilation error when enabling mesh support with musl-based +toolchains observed in buildroot autobuilders. + +http://autobuild.buildroot.net/results/20cc47f54de0b0d4bdf108c3715c590ae8ab476f/ +http://autobuild.buildroot.net/results/003968b25906579dbcf5a95d1e43fec0ab504ef5/ + +Signed-off-by: Michael Nosthoff +--- + tools/mesh-cfgtest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/mesh-cfgtest.c b/tools/mesh-cfgtest.c +index fa0474faa..116ab7f16 100644 +--- a/tools/mesh-cfgtest.c ++++ b/tools/mesh-cfgtest.c +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.32.0 + diff --git a/buildroot-2022.02.1/package/bluez5_utils/0002-shared-util-Rename-btd_malloc-to-util_malloc.patch b/buildroot-2022.02.1/package/bluez5_utils/0002-shared-util-Rename-btd_malloc-to-util_malloc.patch new file mode 100644 index 00000000..f8d74528 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/0002-shared-util-Rename-btd_malloc-to-util_malloc.patch @@ -0,0 +1,67 @@ +From f3263fed28bf510a1225661fe2b5f598300c11cd Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Wed, 5 Jan 2022 15:53:35 -0800 +Subject: [PATCH] shared/util: Rename btd_malloc to util_malloc + +util functions are not limited to daemon only which is normally the case +when using btd prefix. + +(cherry picked from commit 710220f861b100856711a0a4d4a852874228a57a) +Signed-off-by: Thomas Devoogdt +--- + profiles/audio/avdtp.c | 2 +- + src/shared/util.c | 2 +- + src/shared/util.h | 4 ++-- + 3 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c +index d3dfbf96d..f2b461330 100644 +--- a/profiles/audio/avdtp.c ++++ b/profiles/audio/avdtp.c +@@ -1333,7 +1333,7 @@ static GSList *caps_to_list(uint8_t *data, size_t size, + break; + } + +- cpy = btd_malloc(sizeof(*cpy) + cap->length); ++ cpy = util_malloc(sizeof(*cpy) + cap->length); + memcpy(cpy, cap, sizeof(*cap) + cap->length); + + size -= sizeof(*cap) + cap->length; +diff --git a/src/shared/util.c b/src/shared/util.c +index 81b20d86f..93110047b 100644 +--- a/src/shared/util.c ++++ b/src/shared/util.c +@@ -25,7 +25,7 @@ + + #include "src/shared/util.h" + +-void *btd_malloc(size_t size) ++void *util_malloc(size_t size) + { + if (__builtin_expect(!!size, 1)) { + void *ptr; +diff --git a/src/shared/util.h b/src/shared/util.h +index ac70117ca..11d09979d 100644 +--- a/src/shared/util.h ++++ b/src/shared/util.h +@@ -75,7 +75,7 @@ do { \ + size_t __n = (size_t) (count); \ + size_t __s = sizeof(type); \ + void *__p; \ +- __p = btd_malloc(__n * __s); \ ++ __p = util_malloc(__n * __s); \ + memset(__p, 0, __n * __s); \ + __p; \ + })) +@@ -86,7 +86,7 @@ do { \ + char *strdelimit(char *str, char *del, char c); + int strsuffix(const char *str, const char *suffix); + +-void *btd_malloc(size_t size); ++void *util_malloc(size_t size); + + typedef void (*util_debug_func_t)(const char *str, void *user_data); + +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/bluez5_utils/0003-shared-util-Add-util_memdup.patch b/buildroot-2022.02.1/package/bluez5_utils/0003-shared-util-Add-util_memdup.patch new file mode 100644 index 00000000..d5c31a26 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/0003-shared-util-Add-util_memdup.patch @@ -0,0 +1,57 @@ +From 28f1c140374d1ecda65e3d59cca72352c3a07774 Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Thu, 6 Jan 2022 11:45:12 -0800 +Subject: [PATCH] shared/util: Add util_memdup + +This adds util_memdup which is intended to replace g_memdup since +replacing that with g_memdup2 requires bumping the glib version. + +(cherry picked from commit 9f09e69ecb077082301dafb745856e1f3731aaa7) +Signed-off-by: Thomas Devoogdt +--- + src/shared/util.c | 16 ++++++++++++++++ + src/shared/util.h | 1 + + 2 files changed, 17 insertions(+) + +diff --git a/src/shared/util.c b/src/shared/util.c +index 93110047b..6e1c83057 100644 +--- a/src/shared/util.c ++++ b/src/shared/util.c +@@ -41,6 +41,22 @@ void *util_malloc(size_t size) + return NULL; + } + ++void *util_memdup(const void *src, size_t size) ++{ ++ void *cpy; ++ ++ if (!src || !size) ++ return NULL; ++ ++ cpy = util_malloc(size); ++ if (!cpy) ++ return NULL; ++ ++ memcpy(cpy, src, size); ++ ++ return cpy; ++} ++ + void util_debug_va(util_debug_func_t function, void *user_data, + const char *format, va_list va) + { +diff --git a/src/shared/util.h b/src/shared/util.h +index 11d09979d..8ef6132c4 100644 +--- a/src/shared/util.h ++++ b/src/shared/util.h +@@ -87,6 +87,7 @@ char *strdelimit(char *str, char *del, char c); + int strsuffix(const char *str, const char *suffix); + + void *util_malloc(size_t size); ++void *util_memdup(const void *src, size_t size); + + typedef void (*util_debug_func_t)(const char *str, void *user_data); + +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/bluez5_utils/0004-build-Replace-use-of-g_memdup-with-util_memdup.patch b/buildroot-2022.02.1/package/bluez5_utils/0004-build-Replace-use-of-g_memdup-with-util_memdup.patch new file mode 100644 index 00000000..9e1047c9 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/0004-build-Replace-use-of-g_memdup-with-util_memdup.patch @@ -0,0 +1,1411 @@ +From 7eb74180cf6fd6cebc61bb719d458cbf5d7f4ca7 Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Thu, 6 Jan 2022 12:50:33 -0800 +Subject: [PATCH] build: Replace use of g_memdup with util_memdup +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This replaces the uses of g_memdup with util_memdup since the former has +been deprecated: + + warning: ‘g_memdup’ is deprecated: Use 'g_memdup2' instead + [-Wdeprecated-declarations] + +g_memdup2 requires bumping glib version which would likely have its +own problems thus why util_memdup was introduced. + +(cherry picked from commit cfab569484b18407fc117bb96634525cc76ea1f5) +Signed-off-by: Thomas Devoogdt +--- + Makefile.am | 10 ++--- + Makefile.obexd | 1 + + Makefile.tools | 11 ++++-- + android/a2dp.c | 9 +++-- + android/avctp.c | 5 ++- + android/avrcp-lib.c | 2 +- + android/gatt.c | 5 ++- + android/hidhost.c | 3 +- + android/tester-main.c | 77 +++++++++++++++++++++----------------- + attrib/gatt.c | 12 +++--- + client/gatt.c | 2 +- + gobex/gobex-header.c | 7 ++-- + gobex/gobex-packet.c | 5 ++- + obexd/src/obex.c | 5 ++- + plugins/neard.c | 9 +++-- + plugins/policy.c | 7 ++-- + profiles/audio/avctp.c | 9 +++-- + profiles/audio/avrcp.c | 10 ++--- + profiles/battery/bas.c | 4 +- + profiles/battery/battery.c | 4 +- + profiles/deviceinfo/dis.c | 4 +- + profiles/input/hog-lib.c | 12 +++--- + profiles/scanparam/scpp.c | 4 +- + src/eir.c | 8 ++-- + tools/gatt-service.c | 15 ++++---- + tools/mesh-gatt/gatt.c | 5 ++- + unit/test-avctp.c | 4 +- + unit/test-avdtp.c | 6 +-- + unit/test-avrcp.c | 10 ++--- + unit/test-gatt.c | 4 +- + unit/test-hfp.c | 11 +++--- + unit/test-hog.c | 26 ++++++------- + unit/test-sdp.c | 10 +++-- + unit/test-uhid.c | 2 +- + 34 files changed, 172 insertions(+), 146 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 308f13c50..9b5e140b8 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -508,23 +508,23 @@ unit_tests += unit/test-gobex-header unit/test-gobex-packet unit/test-gobex \ + + unit_test_gobex_SOURCES = $(gobex_sources) unit/util.c unit/util.h \ + unit/test-gobex.c +-unit_test_gobex_LDADD = $(GLIB_LIBS) ++unit_test_gobex_LDADD = src/libshared-glib.la $(GLIB_LIBS) + + unit_test_gobex_packet_SOURCES = $(gobex_sources) unit/util.c unit/util.h \ + unit/test-gobex-packet.c +-unit_test_gobex_packet_LDADD = $(GLIB_LIBS) ++unit_test_gobex_packet_LDADD = src/libshared-glib.la $(GLIB_LIBS) + + unit_test_gobex_header_SOURCES = $(gobex_sources) unit/util.c unit/util.h \ + unit/test-gobex-header.c +-unit_test_gobex_header_LDADD = $(GLIB_LIBS) ++unit_test_gobex_header_LDADD = src/libshared-glib.la $(GLIB_LIBS) + + unit_test_gobex_transfer_SOURCES = $(gobex_sources) unit/util.c unit/util.h \ + unit/test-gobex-transfer.c +-unit_test_gobex_transfer_LDADD = $(GLIB_LIBS) ++unit_test_gobex_transfer_LDADD = src/libshared-glib.la $(GLIB_LIBS) + + unit_test_gobex_apparam_SOURCES = $(gobex_sources) unit/util.c unit/util.h \ + unit/test-gobex-apparam.c +-unit_test_gobex_apparam_LDADD = $(GLIB_LIBS) ++unit_test_gobex_apparam_LDADD = src/libshared-glib.la $(GLIB_LIBS) + endif + + unit_tests += unit/test-lib +diff --git a/Makefile.obexd b/Makefile.obexd +index 37a133455..5d1a4ff65 100644 +--- a/Makefile.obexd ++++ b/Makefile.obexd +@@ -82,6 +82,7 @@ obexd_src_obexd_SOURCES = $(btio_sources) $(gobex_sources) \ + obexd/src/map_ap.h + obexd_src_obexd_LDADD = lib/libbluetooth-internal.la \ + gdbus/libgdbus-internal.la \ ++ src/libshared-glib.la \ + $(ICAL_LIBS) $(DBUS_LIBS) $(LIBEBOOK_LIBS) \ + $(LIBEDATASERVER_LIBS) $(GLIB_LIBS) -ldl + +diff --git a/Makefile.tools b/Makefile.tools +index c7bdff83f..35b0021ea 100644 +--- a/Makefile.tools ++++ b/Makefile.tools +@@ -302,7 +302,8 @@ tools_mpris_proxy_SOURCES = tools/mpris-proxy.c + tools_mpris_proxy_LDADD = gdbus/libgdbus-internal.la $(GLIB_LIBS) $(DBUS_LIBS) + + tools_gatt_service_SOURCES = tools/gatt-service.c +-tools_gatt_service_LDADD = $(GLIB_LIBS) $(DBUS_LIBS) gdbus/libgdbus-internal.la ++tools_gatt_service_LDADD = gdbus/libgdbus-internal.la \ ++ src/libshared-mainloop.la $(GLIB_LIBS) $(DBUS_LIBS) + + profiles_iap_iapd_SOURCES = profiles/iap/main.c + profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la $(GLIB_LIBS) $(DBUS_LIBS) +@@ -448,11 +449,12 @@ noinst_PROGRAMS += tools/btmgmt tools/obex-client-tool tools/obex-server-tool \ + tools_obex_client_tool_SOURCES = $(gobex_sources) $(btio_sources) \ + tools/obex-client-tool.c + tools_obex_client_tool_LDADD = lib/libbluetooth-internal.la \ +- $(GLIB_LIBS) -lreadline ++ src/libshared-glib.la $(GLIB_LIBS) -lreadline + + tools_obex_server_tool_SOURCES = $(gobex_sources) $(btio_sources) \ + tools/obex-server-tool.c +-tools_obex_server_tool_LDADD = lib/libbluetooth-internal.la $(GLIB_LIBS) ++tools_obex_server_tool_LDADD = lib/libbluetooth-internal.la \ ++ src/libshared-glib.la $(GLIB_LIBS) + + tools_bluetooth_player_SOURCES = tools/bluetooth-player.c + tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \ +@@ -461,7 +463,8 @@ tools_bluetooth_player_LDADD = gdbus/libgdbus-internal.la \ + + tools_obexctl_SOURCES = tools/obexctl.c + tools_obexctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \ +- $(GLIB_LIBS) $(DBUS_LIBS) -lreadline ++ src/libshared-glib.la $(GLIB_LIBS) $(DBUS_LIBS) \ ++ -lreadline + + tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c + tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \ +diff --git a/android/a2dp.c b/android/a2dp.c +index 029107cf5..ee607a32d 100644 +--- a/android/a2dp.c ++++ b/android/a2dp.c +@@ -26,6 +26,7 @@ + #include "lib/sdp_lib.h" + #include "profiles/audio/a2dp-codecs.h" + #include "src/shared/queue.h" ++#include "src/shared/util.h" + #include "src/log.h" + #include "hal-msg.h" + #include "ipc-common.h" +@@ -428,7 +429,7 @@ static struct a2dp_preset *sbc_select_range(void *caps, uint8_t caps_len, + + p = g_new0(struct a2dp_preset, 1); + p->len = conf_len; +- p->data = g_memdup(conf, p->len); ++ p->data = util_memdup(conf, p->len); + + return p; + } +@@ -448,7 +449,7 @@ static struct a2dp_preset *aac_select_range(void *caps, uint8_t caps_len, + + p = g_new0(struct a2dp_preset, 1); + p->len = conf_len; +- p->data = g_memdup(conf, p->len); ++ p->data = util_memdup(conf, p->len); + + return p; + } +@@ -1036,7 +1037,7 @@ static gboolean sep_setconf_ind(struct avdtp *session, + + preset = g_new0(struct a2dp_preset, 1); + preset->len = cap->length - sizeof(*codec); +- preset->data = g_memdup(codec->data, preset->len); ++ preset->data = util_memdup(codec->data, preset->len); + + if (check_config(endpoint, preset) < 0) { + preset_free(preset); +@@ -1365,7 +1366,7 @@ static GSList *parse_presets(const struct audio_preset *p, uint8_t count, + + preset = g_new0(struct a2dp_preset, 1); + preset->len = p->len; +- preset->data = g_memdup(p->data, preset->len); ++ preset->data = util_memdup(p->data, preset->len); + l = g_slist_append(l, preset); + + len -= preset->len; +diff --git a/android/avctp.c b/android/avctp.c +index 14ebbc391..37b4cec4f 100644 +--- a/android/avctp.c ++++ b/android/avctp.c +@@ -31,6 +31,7 @@ + #include + + #include "lib/sdp.h" ++#include "src/shared/util.h" + #include "src/log.h" + #include "avctp.h" + +@@ -1177,7 +1178,7 @@ static int avctp_send_req(struct avctp *session, uint8_t code, uint8_t subunit, + + for (i = 0; i < iov_cnt; i++) { + pdu[i].iov_len = iov[i].iov_len; +- pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); ++ pdu[i].iov_base = util_memdup(iov[i].iov_base, iov[i].iov_len); + } + + req = g_new0(struct avctp_control_req, 1); +@@ -1218,7 +1219,7 @@ int avctp_send_browsing_req(struct avctp *session, + + for (i = 0; i < iov_cnt; i++) { + pdu[i].iov_len = iov[i].iov_len; +- pdu[i].iov_base = g_memdup(iov[i].iov_base, iov[i].iov_len); ++ pdu[i].iov_base = util_memdup(iov[i].iov_base, iov[i].iov_len); + } + + req = g_new0(struct avctp_browsing_req, 1); +diff --git a/android/avrcp-lib.c b/android/avrcp-lib.c +index 2007d09d2..b342692cb 100644 +--- a/android/avrcp-lib.c ++++ b/android/avrcp-lib.c +@@ -2620,7 +2620,7 @@ static char *parse_folder_list(uint8_t *params, uint16_t params_len, + return NULL; + } + +- folders[count] = g_memdup(¶ms[i], len); ++ folders[count] = util_memdup(¶ms[i], len); + i += len; + } + +diff --git a/android/gatt.c b/android/gatt.c +index a8a0c488b..e8ba5aabb 100644 +--- a/android/gatt.c ++++ b/android/gatt.c +@@ -1338,7 +1338,8 @@ static void discover_primary_cb(uint8_t status, GSList *services, + } + + bt_uuid_to_uuid128(&uuid, &u128); +- new_uuid = g_memdup(&u128.value.u128, sizeof(u128.value.u128)); ++ new_uuid = util_memdup(&u128.value.u128, ++ sizeof(u128.value.u128)); + + uuids = g_slist_prepend(uuids, new_uuid); + } +@@ -6633,7 +6634,7 @@ static uint8_t write_prep_request(const uint8_t *cmd, uint16_t cmd_len, + + queue_push_tail(dev->pending_requests, data); + +- data->value = g_memdup(value, vlen); ++ data->value = util_memdup(value, vlen); + data->length = vlen; + + if (!gatt_db_attribute_write(attrib, offset, value, vlen, cmd[0], +diff --git a/android/hidhost.c b/android/hidhost.c +index 016382e17..b4e5c527f 100644 +--- a/android/hidhost.c ++++ b/android/hidhost.c +@@ -689,7 +689,8 @@ static void hid_sdp_search_cb(sdp_list_t *recs, int err, gpointer data) + goto fail; + + dev->rd_size = data->unitSize; +- dev->rd_data = g_memdup(data->val.str, data->unitSize); ++ dev->rd_data = util_memdup(data->val.str, ++ data->unitSize); + } + } + +diff --git a/android/tester-main.c b/android/tester-main.c +index ff5ecdf83..317c1de06 100644 +--- a/android/tester-main.c ++++ b/android/tester-main.c +@@ -1253,7 +1253,8 @@ static bt_property_t *copy_properties(int num_properties, + for (i = 0; i < num_properties; i++) { + props[i].type = properties[i].type; + props[i].len = properties[i].len; +- props[i].val = g_memdup(properties[i].val, properties[i].len); ++ props[i].val = util_memdup(properties[i].val, ++ properties[i].len); + } + + return props; +@@ -1268,7 +1269,8 @@ static bt_property_t *repack_properties(int num_properties, + for (i = 0; i < num_properties; i++) { + props[i].type = properties[i]->type; + props[i].len = properties[i]->len; +- props[i].val = g_memdup(properties[i]->val, properties[i]->len); ++ props[i].val = util_memdup(properties[i]->val, ++ properties[i]->len); + } + + return props; +@@ -1281,7 +1283,7 @@ static bt_property_t *create_property(bt_property_type_t type, void *val, + + prop->type = type; + prop->len = len; +- prop->val = g_memdup(val, len); ++ prop->val = util_memdup(val, len); + + return prop; + } +@@ -1615,7 +1617,7 @@ static void gattc_search_result_cb(int conn_id, btgatt_srvc_id_t *srvc_id) + + step->callback = CB_GATTC_SEARCH_RESULT; + step->callback_result.conn_id = conn_id; +- step->callback_result.service = g_memdup(srvc_id, sizeof(*srvc_id)); ++ step->callback_result.service = util_memdup(srvc_id, sizeof(*srvc_id)); + + schedule_callback_verification(step); + } +@@ -1639,8 +1641,8 @@ static void gattc_get_characteristic_cb(int conn_id, int status, + step->callback = CB_GATTC_GET_CHARACTERISTIC; + step->callback_result.status = status; + step->callback_result.conn_id = conn_id; +- step->callback_result.service = g_memdup(srvc_id, sizeof(*srvc_id)); +- step->callback_result.characteristic = g_memdup(char_id, ++ step->callback_result.service = util_memdup(srvc_id, sizeof(*srvc_id)); ++ step->callback_result.characteristic = util_memdup(char_id, + sizeof(*char_id)); + step->callback_result.char_prop = char_prop; + +@@ -1656,10 +1658,10 @@ static void gattc_get_descriptor_cb(int conn_id, int status, + step->callback = CB_GATTC_GET_DESCRIPTOR; + step->callback_result.status = status; + step->callback_result.conn_id = conn_id; +- step->callback_result.service = g_memdup(srvc_id, sizeof(*srvc_id)); +- step->callback_result.characteristic = g_memdup(char_id, ++ step->callback_result.service = util_memdup(srvc_id, sizeof(*srvc_id)); ++ step->callback_result.characteristic = util_memdup(char_id, + sizeof(*char_id)); +- step->callback_result.descriptor = g_memdup(descr_id, ++ step->callback_result.descriptor = util_memdup(descr_id, + sizeof(*descr_id)); + + schedule_callback_verification(step); +@@ -1673,8 +1675,8 @@ static void gattc_get_included_service_cb(int conn_id, int status, + step->callback = CB_GATTC_GET_INCLUDED_SERVICE; + step->callback_result.status = status; + step->callback_result.conn_id = conn_id; +- step->callback_result.service = g_memdup(srvc_id, sizeof(*srvc_id)); +- step->callback_result.included = g_memdup(incl_srvc_id, ++ step->callback_result.service = util_memdup(srvc_id, sizeof(*srvc_id)); ++ step->callback_result.included = util_memdup(incl_srvc_id, + sizeof(*srvc_id)); + + schedule_callback_verification(step); +@@ -1688,7 +1690,8 @@ static void gattc_read_characteristic_cb(int conn_id, int status, + step->callback = CB_GATTC_READ_CHARACTERISTIC; + step->callback_result.status = status; + step->callback_result.conn_id = conn_id; +- step->callback_result.read_params = g_memdup(p_data, sizeof(*p_data)); ++ step->callback_result.read_params = util_memdup(p_data, ++ sizeof(*p_data)); + + schedule_callback_verification(step); + } +@@ -1701,7 +1704,8 @@ static void gattc_read_descriptor_cb(int conn_id, int status, + step->callback = CB_GATTC_READ_DESCRIPTOR; + step->callback_result.status = status; + step->callback_result.conn_id = conn_id; +- step->callback_result.read_params = g_memdup(p_data, sizeof(*p_data)); ++ step->callback_result.read_params = util_memdup(p_data, ++ sizeof(*p_data)); + + schedule_callback_verification(step); + } +@@ -1714,7 +1718,8 @@ static void gattc_write_characteristic_cb(int conn_id, int status, + step->callback = CB_GATTC_WRITE_CHARACTERISTIC; + step->callback_result.status = status; + step->callback_result.conn_id = conn_id; +- step->callback_result.write_params = g_memdup(p_data, sizeof(*p_data)); ++ step->callback_result.write_params = util_memdup(p_data, ++ sizeof(*p_data)); + + schedule_callback_verification(step); + } +@@ -1727,7 +1732,8 @@ static void gattc_write_descriptor_cb(int conn_id, int status, + step->callback = CB_GATTC_WRITE_DESCRIPTOR; + step->callback_result.status = status; + step->callback_result.conn_id = conn_id; +- step->callback_result.write_params = g_memdup(p_data, sizeof(*p_data)); ++ step->callback_result.write_params = util_memdup(p_data, ++ sizeof(*p_data)); + + schedule_callback_verification(step); + } +@@ -1742,8 +1748,8 @@ static void gattc_register_for_notification_cb(int conn_id, int registered, + step->callback = CB_GATTC_REGISTER_FOR_NOTIFICATION; + step->callback_result.status = status; + step->callback_result.conn_id = conn_id; +- step->callback_result.service = g_memdup(srvc_id, sizeof(*srvc_id)); +- step->callback_result.characteristic = g_memdup(char_id, ++ step->callback_result.service = util_memdup(srvc_id, sizeof(*srvc_id)); ++ step->callback_result.characteristic = util_memdup(char_id, + sizeof(*char_id)); + step->callback_result.notification_registered = registered; + +@@ -1756,7 +1762,8 @@ static void gattc_notif_cb(int conn_id, btgatt_notify_params_t *p_data) + + step->callback = CB_GATTC_NOTIFY; + step->callback_result.conn_id = conn_id; +- step->callback_result.notify_params = g_memdup(p_data, sizeof(*p_data)); ++ step->callback_result.notify_params = util_memdup(p_data, ++ sizeof(*p_data)); + + schedule_callback_verification(step); + } +@@ -1827,8 +1834,8 @@ static void gatts_service_added_cb(int status, int server_if, + + step->callback_result.status = status; + step->callback_result.gatt_app_id = server_if; +- step->callback_result.service = g_memdup(srvc_id, sizeof(*srvc_id)); +- step->callback_result.srvc_handle = g_memdup(&srvc_handle, ++ step->callback_result.service = util_memdup(srvc_id, sizeof(*srvc_id)); ++ step->callback_result.srvc_handle = util_memdup(&srvc_handle, + sizeof(srvc_handle)); + + schedule_callback_verification(step); +@@ -1844,9 +1851,9 @@ static void gatts_included_service_added_cb(int status, int server_if, + + step->callback_result.status = status; + step->callback_result.gatt_app_id = server_if; +- step->callback_result.srvc_handle = g_memdup(&srvc_handle, ++ step->callback_result.srvc_handle = util_memdup(&srvc_handle, + sizeof(srvc_handle)); +- step->callback_result.inc_srvc_handle = g_memdup(&inc_srvc_handle, ++ step->callback_result.inc_srvc_handle = util_memdup(&inc_srvc_handle, + sizeof(inc_srvc_handle)); + + schedule_callback_verification(step); +@@ -1863,10 +1870,10 @@ static void gatts_characteristic_added_cb(int status, int server_if, + + step->callback_result.status = status; + step->callback_result.gatt_app_id = server_if; +- step->callback_result.srvc_handle = g_memdup(&srvc_handle, ++ step->callback_result.srvc_handle = util_memdup(&srvc_handle, + sizeof(srvc_handle)); +- step->callback_result.uuid = g_memdup(uuid, sizeof(*uuid)); +- step->callback_result.char_handle = g_memdup(&char_handle, ++ step->callback_result.uuid = util_memdup(uuid, sizeof(*uuid)); ++ step->callback_result.char_handle = util_memdup(&char_handle, + sizeof(char_handle)); + + schedule_callback_verification(step); +@@ -1883,10 +1890,10 @@ static void gatts_descriptor_added_cb(int status, int server_if, + + step->callback_result.status = status; + step->callback_result.gatt_app_id = server_if; +- step->callback_result.srvc_handle = g_memdup(&srvc_handle, ++ step->callback_result.srvc_handle = util_memdup(&srvc_handle, + sizeof(srvc_handle)); +- step->callback_result.uuid = g_memdup(uuid, sizeof(*uuid)); +- step->callback_result.desc_handle = g_memdup(&desc_handle, ++ step->callback_result.uuid = util_memdup(uuid, sizeof(*uuid)); ++ step->callback_result.desc_handle = util_memdup(&desc_handle, + sizeof(desc_handle)); + + schedule_callback_verification(step); +@@ -1900,7 +1907,7 @@ static void gatts_service_started_cb(int status, int server_if, int srvc_handle) + + step->callback_result.status = status; + step->callback_result.gatt_app_id = server_if; +- step->callback_result.srvc_handle = g_memdup(&srvc_handle, ++ step->callback_result.srvc_handle = util_memdup(&srvc_handle, + sizeof(srvc_handle)); + + schedule_callback_verification(step); +@@ -1914,7 +1921,7 @@ static void gatts_service_stopped_cb(int status, int server_if, int srvc_handle) + + step->callback_result.status = status; + step->callback_result.gatt_app_id = server_if; +- step->callback_result.srvc_handle = g_memdup(&srvc_handle, ++ step->callback_result.srvc_handle = util_memdup(&srvc_handle, + sizeof(srvc_handle)); + + schedule_callback_verification(step); +@@ -1928,7 +1935,7 @@ static void gatts_service_deleted_cb(int status, int server_if, int srvc_handle) + + step->callback_result.status = status; + step->callback_result.gatt_app_id = server_if; +- step->callback_result.srvc_handle = g_memdup(&srvc_handle, ++ step->callback_result.srvc_handle = util_memdup(&srvc_handle, + sizeof(srvc_handle)); + + schedule_callback_verification(step); +@@ -1945,7 +1952,7 @@ static void gatts_request_read_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, + + step->callback_result.conn_id = conn_id; + step->callback_result.trans_id = trans_id; +- step->callback_result.attr_handle = g_memdup(&attr_handle, ++ step->callback_result.attr_handle = util_memdup(&attr_handle, + sizeof(attr_handle)); + step->callback_result.offset = offset; + step->callback_result.is_long = is_long; +@@ -1974,13 +1981,13 @@ static void gatts_request_write_cb(int conn_id, int trans_id, bt_bdaddr_t *bda, + + step->callback_result.conn_id = conn_id; + step->callback_result.trans_id = trans_id; +- step->callback_result.attr_handle = g_memdup(&attr_handle, ++ step->callback_result.attr_handle = util_memdup(&attr_handle, + sizeof(attr_handle)); + step->callback_result.offset = offset; + step->callback_result.length = length; + step->callback_result.need_rsp = need_rsp; + step->callback_result.is_prep = is_prep; +- step->callback_result.value = g_memdup(&value, length); ++ step->callback_result.value = util_memdup(&value, length); + + /* Utilize property verification mechanism for bdaddr */ + props[0] = create_property(BT_PROPERTY_BDADDR, bda, sizeof(*bda)); +@@ -2169,7 +2176,7 @@ static btmce_mas_instance_t *copy_mas_instances(int num_instances, + inst[i].id = instances[i].id; + inst[i].scn = instances[i].scn; + inst[i].msg_types = instances[i].msg_types; +- inst[i].p_name = g_memdup(instances[i].p_name, ++ inst[i].p_name = util_memdup(instances[i].p_name, + strlen(instances[i].p_name)); + } + +diff --git a/attrib/gatt.c b/attrib/gatt.c +index 46b2ca381..b496dd1eb 100644 +--- a/attrib/gatt.c ++++ b/attrib/gatt.c +@@ -135,7 +135,7 @@ static void discover_char_unref(void *data) + + g_slist_free_full(dc->characteristics, g_free); + g_attrib_unref(dc->attrib); +- g_free(dc->uuid); ++ free(dc->uuid); + g_free(dc); + } + +@@ -157,7 +157,7 @@ static void discover_desc_unref(void *data) + + g_slist_free_full(dd->descriptors, g_free); + g_attrib_unref(dd->attrib); +- g_free(dd->uuid); ++ free(dd->uuid); + g_free(dd); + } + +@@ -696,7 +696,7 @@ guint gatt_discover_char(GAttrib *attrib, uint16_t start, uint16_t end, + dc->user_data = user_data; + dc->end = end; + dc->start = start; +- dc->uuid = g_memdup(uuid, sizeof(bt_uuid_t)); ++ dc->uuid = util_memdup(uuid, sizeof(bt_uuid_t)); + + dc->id = g_attrib_send(attrib, 0, buf, plen, char_discovered_cb, + discover_char_ref(dc), discover_char_unref); +@@ -905,7 +905,7 @@ static void prepare_write_cb(guint8 status, const guint8 *rpdu, guint16 rlen, + if (long_write->offset == long_write->vlen) { + execute_write(long_write->attrib, ATT_WRITE_ALL_PREP_WRITES, + long_write->func, long_write->user_data); +- g_free(long_write->value); ++ free(long_write->value); + g_free(long_write); + + return; +@@ -964,7 +964,7 @@ guint gatt_write_char(GAttrib *attrib, uint16_t handle, const uint8_t *value, + long_write->func = func; + long_write->user_data = user_data; + long_write->handle = handle; +- long_write->value = g_memdup(value, vlen); ++ long_write->value = util_memdup(value, vlen); + long_write->vlen = vlen; + + return prepare_write(long_write); +@@ -1130,7 +1130,7 @@ guint gatt_discover_desc(GAttrib *attrib, uint16_t start, uint16_t end, + dd->user_data = user_data; + dd->start = start; + dd->end = end; +- dd->uuid = g_memdup(uuid, sizeof(bt_uuid_t)); ++ dd->uuid = util_memdup(uuid, sizeof(bt_uuid_t)); + + dd->id = g_attrib_send(attrib, 0, buf, plen, desc_discovered_cb, + discover_desc_ref(dd), discover_desc_unref); +diff --git a/client/gatt.c b/client/gatt.c +index 11f70dc4f..13872c794 100644 +--- a/client/gatt.c ++++ b/client/gatt.c +@@ -811,7 +811,7 @@ static uint8_t *str2bytearray(char *arg, size_t *val_len) + + *val_len = i; + +- return g_memdup(value, i); ++ return util_memdup(value, i); + } + + void gatt_write_attribute(GDBusProxy *proxy, int argc, char *argv[]) +diff --git a/gobex/gobex-header.c b/gobex/gobex-header.c +index 011d33d1a..002ba8861 100644 +--- a/gobex/gobex-header.c ++++ b/gobex/gobex-header.c +@@ -15,6 +15,7 @@ + + #include "gobex-header.h" + #include "gobex-debug.h" ++#include "src/shared/util.h" + + /* Header types */ + #define G_OBEX_HDR_ENC_UNICODE (0 << 6) +@@ -222,7 +223,7 @@ GObexHeader *g_obex_header_decode(const void *data, gsize len, + + switch (data_policy) { + case G_OBEX_DATA_COPY: +- header->v.data = g_memdup(ptr, header->vlen); ++ header->v.data = util_memdup(ptr, header->vlen); + break; + case G_OBEX_DATA_REF: + header->extdata = TRUE; +@@ -282,7 +283,7 @@ void g_obex_header_free(GObexHeader *header) + break; + case G_OBEX_HDR_ENC_BYTES: + if (!header->extdata) +- g_free(header->v.data); ++ free(header->v.data); + break; + case G_OBEX_HDR_ENC_UINT8: + case G_OBEX_HDR_ENC_UINT32: +@@ -410,7 +411,7 @@ GObexHeader *g_obex_header_new_bytes(guint8 id, const void *data, gsize len) + header->id = id; + header->vlen = len; + header->hlen = len + 3; +- header->v.data = g_memdup(data, len); ++ header->v.data = util_memdup(data, len); + + return header; + } +diff --git a/gobex/gobex-packet.c b/gobex/gobex-packet.c +index 11937a5a5..8ae78b0f6 100644 +--- a/gobex/gobex-packet.c ++++ b/gobex/gobex-packet.c +@@ -17,6 +17,7 @@ + #include "gobex-defs.h" + #include "gobex-packet.h" + #include "gobex-debug.h" ++#include "src/shared/util.h" + + #define FINAL_BIT 0x80 + +@@ -201,7 +202,7 @@ gboolean g_obex_packet_set_data(GObexPacket *pkt, const void *data, gsize len, + + switch (data_policy) { + case G_OBEX_DATA_COPY: +- pkt->data.buf = g_memdup(data, len); ++ pkt->data.buf = util_memdup(data, len); + break; + case G_OBEX_DATA_REF: + pkt->data.buf_ref = data; +@@ -259,7 +260,7 @@ void g_obex_packet_free(GObexPacket *pkt) + switch (pkt->data_policy) { + case G_OBEX_DATA_INHERIT: + case G_OBEX_DATA_COPY: +- g_free(pkt->data.buf); ++ free(pkt->data.buf); + break; + case G_OBEX_DATA_REF: + break; +diff --git a/obexd/src/obex.c b/obexd/src/obex.c +index 9f992ec18..3a68fd66c 100644 +--- a/obexd/src/obex.c ++++ b/obexd/src/obex.c +@@ -40,6 +40,7 @@ + #include "mimetype.h" + #include "service.h" + #include "transport.h" ++#include "src/shared/util.h" + + typedef struct { + uint8_t version; +@@ -145,7 +146,7 @@ static void os_reset_session(struct obex_session *os) + os->path = NULL; + } + if (os->apparam) { +- g_free(os->apparam); ++ free(os->apparam); + os->apparam = NULL; + os->apparam_len = 0; + } +@@ -594,7 +595,7 @@ static void parse_apparam(struct obex_session *os, GObexPacket *req) + if (!g_obex_header_get_bytes(hdr, &apparam, &len)) + return; + +- os->apparam = g_memdup(apparam, len); ++ os->apparam = util_memdup(apparam, len); + os->apparam_len = len; + DBG("APPARAM"); + } +diff --git a/plugins/neard.c b/plugins/neard.c +index e07b51106..a75527148 100644 +--- a/plugins/neard.c ++++ b/plugins/neard.c +@@ -30,6 +30,7 @@ + #include "src/eir.h" + #include "src/agent.h" + #include "src/btd.h" ++#include "src/shared/util.h" + + #define NEARD_NAME "org.neard" + #define NEARD_PATH "/" +@@ -71,7 +72,7 @@ static void free_oob_params(struct oob_params *params) + g_free(params->name); + g_free(params->hash); + g_free(params->randomizer); +- g_free(params->pin); ++ free(params->pin); + } + + static DBusMessage *error_reply(DBusMessage *msg, int error) +@@ -407,10 +408,10 @@ static int process_nokia_long (void *data, size_t size, uint8_t marker, + remote->name = g_strndup((char *)n->name, n->name_len); + + if (marker == 0x01) { +- remote->pin = g_memdup(n->authentication, 4); ++ remote->pin = util_memdup(n->authentication, 4); + remote->pin_len = 4; + } else if (marker == 0x02) { +- remote->pin = g_memdup(n->authentication, 16); ++ remote->pin = util_memdup(n->authentication, 16); + remote->pin_len = 16; + } + +@@ -439,7 +440,7 @@ static int process_nokia_short (void *data, size_t size, + if (n->name_len > 0) + remote->name = g_strndup((char *)n->name, n->name_len); + +- remote->pin = g_memdup(n->authentication, 4); ++ remote->pin = util_memdup(n->authentication, 4); + remote->pin_len = 4; + + return 0; +diff --git a/plugins/policy.c b/plugins/policy.c +index 051db82e1..48f5db7d3 100644 +--- a/plugins/policy.c ++++ b/plugins/policy.c +@@ -32,6 +32,7 @@ + #include "src/profile.h" + #include "src/btd.h" + #include "src/shared/timeout.h" ++#include "src/shared/util.h" + + #define CONTROL_CONNECT_TIMEOUT 2 + #define SOURCE_RETRY_TIMEOUT 2 +@@ -855,7 +856,7 @@ static int policy_init(void) + reconnect_attempts = default_attempts; + reconnect_intervals_len = sizeof(default_intervals) / + sizeof(*reconnect_intervals); +- reconnect_intervals = g_memdup(default_intervals, ++ reconnect_intervals = util_memdup(default_intervals, + sizeof(default_intervals)); + goto done; + } +@@ -886,7 +887,7 @@ static int policy_init(void) + g_clear_error(&gerr); + reconnect_intervals_len = sizeof(default_intervals) / + sizeof(*reconnect_intervals); +- reconnect_intervals = g_memdup(default_intervals, ++ reconnect_intervals = util_memdup(default_intervals, + sizeof(default_intervals)); + } + +@@ -919,7 +920,7 @@ static void policy_exit(void) + if (reconnect_uuids) + g_strfreev(reconnect_uuids); + +- g_free(reconnect_intervals); ++ free(reconnect_intervals); + + g_slist_free_full(reconnects, reconnect_destroy); + +diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c +index 64d1a8504..6f64f162b 100644 +--- a/profiles/audio/avctp.c ++++ b/profiles/audio/avctp.c +@@ -40,6 +40,7 @@ + #include "src/log.h" + #include "src/error.h" + #include "src/shared/timeout.h" ++#include "src/shared/util.h" + + #include "avctp.h" + #include "avrcp.h" +@@ -760,7 +761,7 @@ static void control_req_destroy(void *data) + NULL, 0, req->user_data); + + done: +- g_free(req->operands); ++ free(req->operands); + g_free(req); + } + +@@ -776,7 +777,7 @@ static void browsing_req_destroy(void *data) + req->func(session, NULL, 0, req->user_data); + + done: +- g_free(req->operands); ++ free(req->operands); + g_free(req); + } + +@@ -1727,7 +1728,7 @@ static int avctp_send_req(struct avctp *session, uint8_t code, + req->subunit = subunit; + req->op = opcode; + req->func = func; +- req->operands = g_memdup(operands, operand_count); ++ req->operands = util_memdup(operands, operand_count); + req->operand_count = operand_count; + req->user_data = user_data; + +@@ -1765,7 +1766,7 @@ int avctp_send_browsing_req(struct avctp *session, + + req = g_new0(struct avctp_browsing_req, 1); + req->func = func; +- req->operands = g_memdup(operands, operand_count); ++ req->operands = util_memdup(operands, operand_count); + req->operand_count = operand_count; + req->user_data = user_data; + +diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c +index 7c280203c..d4e19ffc0 100644 +--- a/profiles/audio/avrcp.c ++++ b/profiles/audio/avrcp.c +@@ -1298,7 +1298,7 @@ static uint8_t avrcp_handle_get_current_player_value(struct avrcp *session, + * Save a copy of requested settings because we can override them + * while responding + */ +- settings = g_memdup(&pdu->params[1], pdu->params[0]); ++ settings = util_memdup(&pdu->params[1], pdu->params[0]); + len = 0; + + /* +@@ -1323,7 +1323,7 @@ static uint8_t avrcp_handle_get_current_player_value(struct avrcp *session, + pdu->params[++len] = val; + } + +- g_free(settings); ++ free(settings); + + if (len) { + pdu->params[0] = len / 2; +@@ -2801,7 +2801,7 @@ static gboolean avrcp_set_browsed_player_rsp(struct avctp *conn, + break; + } + +- folders[count] = g_memdup(&pdu->params[i], len); ++ folders[count] = util_memdup(&pdu->params[i], len); + i += len; + } + +@@ -2888,7 +2888,7 @@ static void avrcp_player_parse_features(struct avrcp_player *player, + { + struct media_player *mp = player->user_data; + +- player->features = g_memdup(features, 16); ++ player->features = util_memdup(features, 16); + + if (features[7] & 0x08) { + media_player_set_browsable(mp, true); +@@ -3622,7 +3622,7 @@ static void player_destroy(gpointer data) + g_slist_free(player->sessions); + g_free(player->path); + g_free(player->change_path); +- g_free(player->features); ++ free(player->features); + g_free(player); + } + +diff --git a/profiles/battery/bas.c b/profiles/battery/bas.c +index 3c6173b61..16ff22e19 100644 +--- a/profiles/battery/bas.c ++++ b/profiles/battery/bas.c +@@ -62,7 +62,7 @@ static void bas_free(struct bt_bas *bas) + { + bt_bas_detach(bas); + +- g_free(bas->primary); ++ free(bas->primary); + queue_destroy(bas->gatt_op, (void *) destroy_gatt_req); + free(bas); + } +@@ -75,7 +75,7 @@ struct bt_bas *bt_bas_new(void *primary) + bas->gatt_op = queue_new(); + + if (primary) +- bas->primary = g_memdup(primary, sizeof(*bas->primary)); ++ bas->primary = util_memdup(primary, sizeof(*bas->primary)); + + return bt_bas_ref(bas); + } +diff --git a/profiles/battery/battery.c b/profiles/battery/battery.c +index 176d127f6..02d024d92 100644 +--- a/profiles/battery/battery.c ++++ b/profiles/battery/battery.c +@@ -66,7 +66,7 @@ static void batt_free(struct batt *batt) + gatt_db_unref(batt->db); + bt_gatt_client_unref(batt->client); + btd_device_unref(batt->device); +- g_free (batt->initial_value); ++ free(batt->initial_value); + if (batt->battery) + btd_battery_unregister(batt->battery); + g_free(batt); +@@ -159,7 +159,7 @@ static void read_initial_battery_level_cb(bool success, + if (!length) + return; + +- batt->initial_value = g_memdup(value, length); ++ batt->initial_value = util_memdup(value, length); + + /* request notify */ + batt->batt_level_cb_id = +diff --git a/profiles/deviceinfo/dis.c b/profiles/deviceinfo/dis.c +index 87fa63306..f660179ed 100644 +--- a/profiles/deviceinfo/dis.c ++++ b/profiles/deviceinfo/dis.c +@@ -72,7 +72,7 @@ static void dis_free(struct bt_dis *dis) + { + bt_dis_detach(dis); + +- g_free(dis->primary); ++ free(dis->primary); + queue_destroy(dis->gatt_op, (void *) destroy_gatt_req); + g_free(dis); + } +@@ -143,7 +143,7 @@ struct bt_dis *bt_dis_new_primary(void *primary) + dis->gatt_op = queue_new(); + + if (primary) +- dis->primary = g_memdup(primary, sizeof(*dis->primary)); ++ dis->primary = util_memdup(primary, sizeof(*dis->primary)); + + return bt_dis_ref(dis); + } +diff --git a/profiles/input/hog-lib.c b/profiles/input/hog-lib.c +index 3bbe42370..d37caa1f1 100644 +--- a/profiles/input/hog-lib.c ++++ b/profiles/input/hog-lib.c +@@ -527,9 +527,9 @@ static void report_read_cb(guint8 status, const guint8 *pdu, guint16 len, + } + + if (report->value) +- g_free(report->value); ++ free(report->value); + +- report->value = g_memdup(pdu, len); ++ report->value = util_memdup(pdu, len); + report->len = len; + } + +@@ -1217,7 +1217,7 @@ static void report_free(void *data) + { + struct report *report = data; + +- g_free(report->value); ++ free(report->value); + g_free(report); + } + +@@ -1241,7 +1241,7 @@ static void hog_free(void *data) + bt_uhid_unref(hog->uhid); + g_slist_free_full(hog->reports, report_free); + g_free(hog->name); +- g_free(hog->primary); ++ free(hog->primary); + queue_destroy(hog->gatt_op, (void *) destroy_gatt_req); + if (hog->gatt_db) + gatt_db_unref(hog->gatt_db); +@@ -1609,7 +1609,7 @@ static void hog_attach_hog(struct bt_hog *hog, struct gatt_primary *primary) + struct bt_hog *instance; + + if (!hog->primary) { +- hog->primary = g_memdup(primary, sizeof(*primary)); ++ hog->primary = util_memdup(primary, sizeof(*primary)); + discover_char(hog, hog->attrib, primary->range.start, + primary->range.end, NULL, + char_discovered_cb, hog); +@@ -1623,7 +1623,7 @@ static void hog_attach_hog(struct bt_hog *hog, struct gatt_primary *primary) + if (!instance) + return; + +- instance->primary = g_memdup(primary, sizeof(*primary)); ++ instance->primary = util_memdup(primary, sizeof(*primary)); + find_included(instance, hog->attrib, primary->range.start, + primary->range.end, find_included_cb, instance); + +diff --git a/profiles/scanparam/scpp.c b/profiles/scanparam/scpp.c +index da38a6aaa..4be8b26cc 100644 +--- a/profiles/scanparam/scpp.c ++++ b/profiles/scanparam/scpp.c +@@ -91,7 +91,7 @@ static void scpp_free(struct bt_scpp *scan) + { + bt_scpp_detach(scan); + +- g_free(scan->primary); ++ free(scan->primary); + queue_destroy(scan->gatt_op, NULL); /* cleared in bt_scpp_detach */ + g_free(scan); + } +@@ -110,7 +110,7 @@ struct bt_scpp *bt_scpp_new(void *primary) + scan->gatt_op = queue_new(); + + if (primary) +- scan->primary = g_memdup(primary, sizeof(*scan->primary)); ++ scan->primary = util_memdup(primary, sizeof(*scan->primary)); + + return bt_scpp_ref(scan); + } +diff --git a/src/eir.c b/src/eir.c +index 0f5d14fcd..2f9ee036f 100644 +--- a/src/eir.c ++++ b/src/eir.c +@@ -53,9 +53,9 @@ void eir_data_free(struct eir_data *eir) + eir->services = NULL; + g_free(eir->name); + eir->name = NULL; +- g_free(eir->hash); ++ free(eir->hash); + eir->hash = NULL; +- g_free(eir->randomizer); ++ free(eir->randomizer); + eir->randomizer = NULL; + g_slist_free_full(eir->msd_list, g_free); + eir->msd_list = NULL; +@@ -323,13 +323,13 @@ void eir_parse(struct eir_data *eir, const uint8_t *eir_data, uint8_t eir_len) + case EIR_SSP_HASH: + if (data_len < 16) + break; +- eir->hash = g_memdup(data, 16); ++ eir->hash = util_memdup(data, 16); + break; + + case EIR_SSP_RANDOMIZER: + if (data_len < 16) + break; +- eir->randomizer = g_memdup(data, 16); ++ eir->randomizer = util_memdup(data, 16); + break; + + case EIR_DEVICE_ID: +diff --git a/tools/gatt-service.c b/tools/gatt-service.c +index 631c4f249..ed6b06f1e 100644 +--- a/tools/gatt-service.c ++++ b/tools/gatt-service.c +@@ -26,6 +26,7 @@ + #include "gdbus/gdbus.h" + + #include "src/error.h" ++#include "src/shared/util.h" + + #define GATT_MGR_IFACE "org.bluez.GattManager1" + #define GATT_SERVICE_IFACE "org.bluez.GattService1" +@@ -126,8 +127,8 @@ static gboolean desc_get_value(const GDBusPropertyTable *property, + + static void desc_write(struct descriptor *desc, const uint8_t *value, int len) + { +- g_free(desc->value); +- desc->value = g_memdup(value, len); ++ free(desc->value); ++ desc->value = util_memdup(value, len); + desc->vlen = len; + + g_dbus_emit_property_changed(connection, desc->path, +@@ -264,8 +265,8 @@ static gboolean chr_get_props(const GDBusPropertyTable *property, + + static void chr_write(struct characteristic *chr, const uint8_t *value, int len) + { +- g_free(chr->value); +- chr->value = g_memdup(value, len); ++ free(chr->value); ++ chr->value = util_memdup(value, len); + chr->vlen = len; + + g_dbus_emit_property_changed(connection, chr->path, GATT_CHR_IFACE, +@@ -388,7 +389,7 @@ static void chr_iface_destroy(gpointer user_data) + + g_free(chr->uuid); + g_free(chr->service); +- g_free(chr->value); ++ free(chr->value); + g_free(chr->path); + g_free(chr); + } +@@ -398,7 +399,7 @@ static void desc_iface_destroy(gpointer user_data) + struct descriptor *desc = user_data; + + g_free(desc->uuid); +- g_free(desc->value); ++ free(desc->value); + g_free(desc->path); + g_free(desc); + } +@@ -592,7 +593,7 @@ static gboolean register_characteristic(const char *chr_uuid, + + chr = g_new0(struct characteristic, 1); + chr->uuid = g_strdup(chr_uuid); +- chr->value = g_memdup(value, vlen); ++ chr->value = util_memdup(value, vlen); + chr->vlen = vlen; + chr->props = props; + chr->service = g_strdup(service_path); +diff --git a/tools/mesh-gatt/gatt.c b/tools/mesh-gatt/gatt.c +index c8a8123fb..ab9743cd1 100644 +--- a/tools/mesh-gatt/gatt.c ++++ b/tools/mesh-gatt/gatt.c +@@ -24,6 +24,7 @@ + + #include "src/shared/io.h" + #include "src/shared/shell.h" ++#include "src/shared/util.h" + #include "gdbus/gdbus.h" + #include "lib/bluetooth.h" + #include "lib/uuid.h" +@@ -86,7 +87,7 @@ static void write_data_free(void *user_data) + { + struct write_data *data = user_data; + +- g_free(data->gatt_data); ++ free(data->gatt_data); + free(data); + } + +@@ -338,7 +339,7 @@ bool mesh_gatt_write(GDBusProxy *proxy, uint8_t *buf, uint16_t len, + /* TODO: should keep in queue in case we need to cancel write? */ + + data->gatt_len = len; +- data->gatt_data = g_memdup(buf, len); ++ data->gatt_data = util_memdup(buf, len); + data->gatt_data[0] &= GATT_TYPE_MASK; + data->iov.iov_base = data->gatt_data; + data->iov.iov_len = len; +diff --git a/unit/test-avctp.c b/unit/test-avctp.c +index fa7db59c8..25fd3abc2 100644 +--- a/unit/test-avctp.c ++++ b/unit/test-avctp.c +@@ -53,7 +53,7 @@ struct context { + #define raw_pdu(args...) \ + { \ + .valid = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -64,7 +64,7 @@ struct context { + }; \ + static struct test_data data; \ + data.test_name = g_strdup(name); \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus)); \ + tester_add(name, &data, NULL, function, NULL); \ + } while (0) + +diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c +index 4e8a68c6b..2e49def43 100644 +--- a/unit/test-avdtp.c ++++ b/unit/test-avdtp.c +@@ -48,7 +48,7 @@ struct test_data { + #define raw_pdu(args...) \ + { \ + .valid = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -56,7 +56,7 @@ struct test_data { + { \ + .valid = true, \ + .fragmented = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -67,7 +67,7 @@ struct test_data { + }; \ + static struct test_data data; \ + data.test_name = g_strdup(name); \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus)); \ + tester_add(name, &data, NULL, function, NULL); \ + } while (0) + +diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c +index 34a70377d..b637a8a1b 100644 +--- a/unit/test-avrcp.c ++++ b/unit/test-avrcp.c +@@ -61,7 +61,7 @@ struct context { + #define raw_pdu(args...) \ + { \ + .valid = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -69,7 +69,7 @@ struct context { + { \ + .valid = true, \ + .browse = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -77,7 +77,7 @@ struct context { + { \ + .valid = true, \ + .fragmented = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -85,7 +85,7 @@ struct context { + { \ + .valid = true, \ + .continuing = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -96,7 +96,7 @@ struct context { + }; \ + static struct test_data data; \ + data.test_name = g_strdup(name); \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus)); \ + tester_add(name, &data, NULL, function, NULL); \ + } while (0) + +diff --git a/unit/test-gatt.c b/unit/test-gatt.c +index 6a47268e6..f92d860c4 100644 +--- a/unit/test-gatt.c ++++ b/unit/test-gatt.c +@@ -73,7 +73,7 @@ struct context { + #define raw_pdu(args...) \ + { \ + .valid = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -94,7 +94,7 @@ struct context { + data.uuid = bt_uuid; \ + data.step = test_step; \ + data.source_db = db; \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus)); \ + tester_add(name, &data, NULL, function, NULL); \ + } while (0) + +diff --git a/unit/test-hfp.c b/unit/test-hfp.c +index f504724d7..b4af99d53 100644 +--- a/unit/test-hfp.c ++++ b/unit/test-hfp.c +@@ -17,6 +17,7 @@ + #include + #include "src/shared/hfp.h" + #include "src/shared/tester.h" ++#include "src/shared/util.h" + + struct context { + guint watch_id; +@@ -50,7 +51,7 @@ struct test_data { + #define raw_pdu(args...) \ + { \ + .valid = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +@@ -62,7 +63,7 @@ struct test_data { + #define type_pdu(cmd_type, args...) \ + { \ + .valid = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + .type = cmd_type, \ + } +@@ -70,7 +71,7 @@ struct test_data { + #define frg_pdu(args...) \ + { \ + .valid = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + .fragmented = true, \ + } +@@ -82,7 +83,7 @@ struct test_data { + }; \ + static struct test_data data; \ + data.test_name = g_strdup(name); \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus)); \ + data.result_func = result_function; \ + tester_add(name, &data, NULL, function, NULL); \ + data.test_handler = test_handler; \ +@@ -96,7 +97,7 @@ struct test_data { + }; \ + static struct test_data data; \ + data.test_name = g_strdup(name); \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus)); \ + data.hf_result_func = result_func; \ + data.response_func = response_function; \ + tester_add(name, &data, NULL, function, NULL); \ +diff --git a/unit/test-hog.c b/unit/test-hog.c +index 116a5cb07..067497de4 100644 +--- a/unit/test-hog.c ++++ b/unit/test-hog.c +@@ -59,24 +59,24 @@ struct context { + #define raw_pdu(args...) \ + { \ + .valid = true, \ +- .data = g_memdup(data(args), sizeof(data(args))), \ ++ .data = util_memdup(data(args), sizeof(data(args))), \ + .size = sizeof(data(args)), \ + } + +-#define false_pdu() \ +-{ \ +- .valid = false, \ ++#define false_pdu() \ ++{ \ ++ .valid = false, \ + } + +-#define define_test(name, function, args...) \ +- do { \ +- const struct test_pdu pdus[] = { \ +- args, { } \ +- }; \ +- static struct test_data data; \ +- data.test_name = g_strdup(name); \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ +- tester_add(name, &data, NULL, function, NULL); \ ++#define define_test(name, function, args...) \ ++ do { \ ++ const struct test_pdu pdus[] = { \ ++ args, { } \ ++ }; \ ++ static struct test_data data; \ ++ data.test_name = g_strdup(name); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus));\ ++ tester_add(name, &data, NULL, function, NULL); \ + } while (0) + + static gboolean context_quit(gpointer user_data) +diff --git a/unit/test-sdp.c b/unit/test-sdp.c +index 8f95fcb71..5c04a71eb 100644 +--- a/unit/test-sdp.c ++++ b/unit/test-sdp.c +@@ -47,14 +47,16 @@ struct test_data { + #define raw_pdu(args...) \ + { \ + .valid = true, \ +- .raw_data = g_memdup(raw_data(args), sizeof(raw_data(args))), \ ++ .raw_data = util_memdup(raw_data(args), \ ++ sizeof(raw_data(args))), \ + .raw_size = sizeof(raw_data(args)), \ + } + + #define raw_pdu_cont(cont, args...) \ + { \ + .valid = true, \ +- .raw_data = g_memdup(raw_data(args), sizeof(raw_data(args))), \ ++ .raw_data = util_memdup(raw_data(args), \ ++ sizeof(raw_data(args))), \ + .raw_size = sizeof(raw_data(args)), \ + .cont_len = cont, \ + } +@@ -66,7 +68,7 @@ struct test_data { + }; \ + static struct test_data data; \ + data.mtu = _mtu; \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus)); \ + tester_add(name, &data, NULL, test_sdp, NULL); \ + } while (0) + +@@ -92,7 +94,7 @@ struct test_data_de { + #define define_test_de_attr(name, input, exp) \ + do { \ + static struct test_data_de data; \ +- data.input_data = g_memdup(input, sizeof(input)); \ ++ data.input_data = util_memdup(input, sizeof(input)); \ + data.input_size = sizeof(input); \ + data.expected = exp; \ + tester_add("/sdp/DE/ATTR/" name, &data, NULL, \ +diff --git a/unit/test-uhid.c b/unit/test-uhid.c +index 001d39a3d..8a8eef855 100644 +--- a/unit/test-uhid.c ++++ b/unit/test-uhid.c +@@ -61,7 +61,7 @@ struct context { + }; \ + static struct test_data data; \ + data.test_name = g_strdup(name); \ +- data.pdu_list = g_memdup(pdus, sizeof(pdus)); \ ++ data.pdu_list = util_memdup(pdus, sizeof(pdus)); \ + tester_add(name, &data, NULL, function, NULL); \ + } while (0) + +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/bluez5_utils/0005-build-Fix-errors-with-glibc-2-25.patch b/buildroot-2022.02.1/package/bluez5_utils/0005-build-Fix-errors-with-glibc-2-25.patch new file mode 100644 index 00000000..13033da7 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/0005-build-Fix-errors-with-glibc-2-25.patch @@ -0,0 +1,312 @@ +From fb57ad9b9d107856e5f1c8135da04ffa2f7a11ac Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 14 Feb 2022 21:17:39 +0100 +Subject: build: Fix errors with glibc < 2.25 + +getrandom and sys/random.h are only available since glibc 2.25: +https://www.gnu.org/software/gnulib/manual/html_node/sys_002frandom_002eh.html +resulting in the following build failures since version 5.63 and +https://git.kernel.org/pub/scm/bluetooth/bluez.git/log/?qt=grep&q=getrandom: + +plugins/autopair.c:20:24: fatal error: sys/random.h: No such file or directory + #include + ^ + +To fix this build failure, add util_getrandom and a fallback (borrowed +from pipewire and licensed under MIT): +https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/src/pipewire/utils.c + +Fixes: + - http://autobuild.buildroot.org/results/6b8870d12e0804d6154230a7322c49416c1dc0e2 + +[Retrieved from: +https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=fb57ad9b9d107856e5f1c8135da04ffa2f7a11ac] +Signed-off-by: Fabrice Fontaine +--- + configure.ac | 4 +++- + emulator/le.c | 3 +-- + emulator/phy.c | 3 +-- + peripheral/main.c | 4 ++-- + plugins/autopair.c | 4 ++-- + profiles/health/hdp.c | 4 ++-- + profiles/health/mcap.c | 6 +++--- + src/shared/util.c | 25 +++++++++++++++++++++++++ + src/shared/util.h | 2 ++ + tools/btgatt-server.c | 3 +-- + 10 files changed, 42 insertions(+), 16 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 07d068a4d..441bd5f29 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -54,6 +54,8 @@ AC_ARG_ENABLE(threads, AS_HELP_STRING([--enable-threads], + + AC_CHECK_FUNCS(explicit_bzero) + ++AC_CHECK_FUNCS(getrandom) ++ + AC_CHECK_FUNCS(rawmemchr) + + AC_CHECK_FUNC(signalfd, dummy=yes, +@@ -68,7 +70,7 @@ AC_CHECK_LIB(pthread, pthread_create, dummy=yes, + AC_CHECK_LIB(dl, dlopen, dummy=yes, + AC_MSG_ERROR(dynamic linking loader is required)) + +-AC_CHECK_HEADERS(linux/types.h linux/if_alg.h linux/uinput.h linux/uhid.h) ++AC_CHECK_HEADERS(linux/types.h linux/if_alg.h linux/uinput.h linux/uhid.h sys/random.h) + + PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.28, dummy=yes, + AC_MSG_ERROR(GLib >= 2.28 is required)) +diff --git a/emulator/le.c b/emulator/le.c +index f8f313f2c..7656a657c 100644 +--- a/emulator/le.c ++++ b/emulator/le.c +@@ -20,7 +20,6 @@ + #include + #include + #include +-#include + #include + + #include "lib/bluetooth.h" +@@ -509,7 +508,7 @@ static unsigned int get_adv_delay(void) + /* The advertising delay is a pseudo-random value with a range + * of 0 ms to 10 ms generated for each advertising event. + */ +- if (getrandom(&val, sizeof(val), 0) < 0) { ++ if (util_getrandom(&val, sizeof(val), 0) < 0) { + /* If it fails to get the random number, use a static value */ + val = 5; + } +diff --git a/emulator/phy.c b/emulator/phy.c +index 44cace438..7de85fb05 100644 +--- a/emulator/phy.c ++++ b/emulator/phy.c +@@ -19,7 +19,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -174,7 +173,7 @@ struct bt_phy *bt_phy_new(void) + mainloop_add_fd(phy->rx_fd, EPOLLIN, phy_rx_callback, phy, NULL); + + if (!get_random_bytes(&phy->id, sizeof(phy->id))) { +- if (getrandom(&phy->id, sizeof(phy->id), 0) < 0) { ++ if (util_getrandom(&phy->id, sizeof(phy->id), 0) < 0) { + mainloop_remove_fd(phy->rx_fd); + close(phy->tx_fd); + close(phy->rx_fd); +diff --git a/peripheral/main.c b/peripheral/main.c +index 91adb45fc..b82d7caf6 100644 +--- a/peripheral/main.c ++++ b/peripheral/main.c +@@ -25,13 +25,13 @@ + #include + #include + #include +-#include + + #ifndef WAIT_ANY + #define WAIT_ANY (-1) + #endif + + #include "src/shared/mainloop.h" ++#include "src/shared/util.h" + #include "peripheral/efivars.h" + #include "peripheral/attach.h" + #include "peripheral/gap.h" +@@ -192,7 +192,7 @@ int main(int argc, char *argv[]) + addr, 6) < 0) { + printf("Generating new persistent static address\n"); + +- if (getrandom(addr, sizeof(addr), 0) < 0) { ++ if (util_getrandom(addr, sizeof(addr), 0) < 0) { + perror("Failed to get random static address"); + return EXIT_FAILURE; + } +diff --git a/plugins/autopair.c b/plugins/autopair.c +index a75ecebe4..0b09e893f 100644 +--- a/plugins/autopair.c ++++ b/plugins/autopair.c +@@ -17,7 +17,6 @@ + #include + #include + #include +-#include + + #include + +@@ -29,6 +28,7 @@ + #include "src/device.h" + #include "src/log.h" + #include "src/storage.h" ++#include "src/shared/util.h" + + /* + * Plugin to handle automatic pairing of devices with reduced user +@@ -131,7 +131,7 @@ static ssize_t autopair_pincb(struct btd_adapter *adapter, + if (attempt >= 4) + return 0; + +- if (getrandom(&val, sizeof(val), 0) < 0) { ++ if (util_getrandom(&val, sizeof(val), 0) < 0) { + error("Failed to get a random pincode"); + return 0; + } +diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c +index 9d9d1e824..b6590cd3a 100644 +--- a/profiles/health/hdp.c ++++ b/profiles/health/hdp.c +@@ -16,7 +16,6 @@ + #include + #include + #include +-#include + + #include + +@@ -33,6 +32,7 @@ + #include "src/device.h" + #include "src/sdpd.h" + #include "src/shared/timeout.h" ++#include "src/shared/util.h" + #include "btio/btio.h" + + #include "hdp_types.h" +@@ -1490,7 +1490,7 @@ static void *generate_echo_packet(void) + if (!buf) + return NULL; + +- if (getrandom(buf, HDP_ECHO_LEN, 0) < 0) { ++ if (util_getrandom(buf, HDP_ECHO_LEN, 0) < 0) { + g_free(buf); + return NULL; + } +diff --git a/profiles/health/mcap.c b/profiles/health/mcap.c +index aad0a08a3..5d2bac3d9 100644 +--- a/profiles/health/mcap.c ++++ b/profiles/health/mcap.c +@@ -19,7 +19,6 @@ + #include + #include + #include +-#include + + #include + +@@ -28,6 +27,7 @@ + #include "btio/btio.h" + #include "src/log.h" + #include "src/shared/timeout.h" ++#include "src/shared/util.h" + + #include "mcap.h" + +@@ -1905,7 +1905,7 @@ gboolean mcap_create_mcl(struct mcap_instance *mi, + mcl->state = MCL_IDLE; + bacpy(&mcl->addr, addr); + set_default_cb(mcl); +- if (getrandom(&val, sizeof(val), 0) < 0) { ++ if (util_getrandom(&val, sizeof(val), 0) < 0) { + mcap_instance_unref(mcl->mi); + g_free(mcl); + return FALSE; +@@ -2049,7 +2049,7 @@ static void connect_mcl_event_cb(GIOChannel *chan, GError *gerr, + mcl->mi = mcap_instance_ref(mi); + bacpy(&mcl->addr, &dst); + set_default_cb(mcl); +- if (getrandom(&val, sizeof(val), 0) < 0) { ++ if (util_getrandom(&val, sizeof(val), 0) < 0) { + mcap_instance_unref(mcl->mi); + g_free(mcl); + goto drop; +diff --git a/src/shared/util.c b/src/shared/util.c +index 6e1c83057..33196bf8b 100644 +--- a/src/shared/util.c ++++ b/src/shared/util.c +@@ -13,6 +13,7 @@ + #endif + + #define _GNU_SOURCE ++#include + #include + #include + #include +@@ -23,6 +24,10 @@ + #include + #include + ++#ifdef HAVE_SYS_RANDOM_H ++#include ++#endif ++ + #include "src/shared/util.h" + + void *util_malloc(size_t size) +@@ -138,6 +143,26 @@ unsigned char util_get_dt(const char *parent, const char *name) + return DT_UNKNOWN; + } + ++/* Helper for getting a random in case getrandom unavailable (glibc < 2.25) */ ++ssize_t util_getrandom(void *buf, size_t buflen, unsigned int flags) ++{ ++#ifdef HAVE_GETRANDOM ++ return getrandom(buf, buflen, flags); ++#else ++ int fd; ++ ssize_t bytes; ++ ++ fd = open("/dev/urandom", O_CLOEXEC); ++ if (fd < 0) ++ return -1; ++ ++ bytes = read(fd, buf, buflen); ++ close(fd); ++ ++ return bytes; ++#endif ++} ++ + /* Helpers for bitfield operations */ + + /* Find unique id in range from 1 to max but no bigger than 64. */ +diff --git a/src/shared/util.h b/src/shared/util.h +index 8ef6132c4..c01eccf8a 100644 +--- a/src/shared/util.h ++++ b/src/shared/util.h +@@ -103,6 +103,8 @@ void util_hexdump(const char dir, const unsigned char *buf, size_t len, + + unsigned char util_get_dt(const char *parent, const char *name); + ++ssize_t util_getrandom(void *buf, size_t buflen, unsigned int flags); ++ + uint8_t util_get_uid(uint64_t *bitmap, uint8_t max); + void util_clear_uid(uint64_t *bitmap, uint8_t id); + +diff --git a/tools/btgatt-server.c b/tools/btgatt-server.c +index 15d49a464..4a5d2b720 100644 +--- a/tools/btgatt-server.c ++++ b/tools/btgatt-server.c +@@ -20,7 +20,6 @@ + #include + #include + #include +-#include + + #include "lib/bluetooth.h" + #include "lib/hci.h" +@@ -287,7 +286,7 @@ static bool hr_msrmt_cb(void *user_data) + uint32_t cur_ee; + uint32_t val; + +- if (getrandom(&val, sizeof(val), 0) < 0) ++ if (util_getrandom(&val, sizeof(val), 0) < 0) + return false; + + pdu[0] = 0x06; +-- +cgit + diff --git a/buildroot-2022.02.1/package/bluez5_utils/0006-src-shared-util.h-include-sys-types.h.patch b/buildroot-2022.02.1/package/bluez5_utils/0006-src-shared-util.h-include-sys-types.h.patch new file mode 100644 index 00000000..8a5bd64d --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/0006-src-shared-util.h-include-sys-types.h.patch @@ -0,0 +1,39 @@ +From 1d21878d84f16e28e16c61b36799a62e22732d97 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 24 Feb 2022 18:19:33 +0100 +Subject: [PATCH] src/shared/util.h: include sys/types.h + +Include sys/types.h to avoid the following build failure on musl raised +since commit fb57ad9b9d107856e5f1c8135da04ffa2f7a11ac: + +In file included from src/shared/queue.c:15: +./src/shared/util.h:106:1: error: unknown type name 'ssize_t'; did you mean 'size_t'? + 106 | ssize_t util_getrandom(void *buf, size_t buflen, unsigned int flags); + | ^~~~~~~ + | size_t + +Fixes: + - http://autobuild.buildroot.org/results/83eaeb3863040645409f5787fdbdde79385c5257 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://patchwork.kernel.org/project/bluetooth/patch/20220224173104.479809-1-fontaine.fabrice@gmail.com] +--- + src/shared/util.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/shared/util.h b/src/shared/util.h +index c01eccf8a..554481e1e 100644 +--- a/src/shared/util.h ++++ b/src/shared/util.h +@@ -14,6 +14,7 @@ + #include + #include + #include ++#include + + #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) + #define BIT(n) (1 << (n)) +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/bluez5_utils/Config.in b/buildroot-2022.02.1/package/bluez5_utils/Config.in new file mode 100644 index 00000000..49bb7191 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/Config.in @@ -0,0 +1,175 @@ +config BR2_PACKAGE_BLUEZ5_UTILS + bool "bluez-utils" + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2 + depends on BR2_USE_MMU # dbus + depends on !BR2_STATIC_LIBS # uses dlfcn + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_LIBGLIB2 + help + BlueZ utils + + Provides Stack, Library and Tooling for Bluetooth Classic + and Bluetooth LE. + + BlueZ utils will use systemd and/or udev if enabled. + + http://www.bluez.org + http://www.kernel.org/pub/linux/bluetooth + +if BR2_PACKAGE_BLUEZ5_UTILS + +config BR2_PACKAGE_BLUEZ5_UTILS_OBEX + bool "build OBEX support" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBICAL + help + Enable OBEX support. + +comment "OBEX support needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_BLUEZ5_UTILS_CLIENT + bool "build CLI client" + select BR2_PACKAGE_READLINE + help + Build the command line client "bluetoothctl". + +config BR2_PACKAGE_BLUEZ5_UTILS_MONITOR + bool "build monitor utility" + help + Build monitor utility btmon. + +config BR2_PACKAGE_BLUEZ5_UTILS_TOOLS + bool "build tools" + help + Build tools like bluemoon, btattach, hex2hcd, l2test, + l2ping, mpris-proxy, rctest. + +config BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED + bool "install deprecated tools" + depends on BR2_PACKAGE_BLUEZ5_UTILS_CLIENT || BR2_PACKAGE_BLUEZ5_UTILS_TOOLS + help + Build deprecated tools. + + When "build tools" is selected these tools are installed: + hciattach, hciconfig, hcitool, hcidump, rfcomm, sdptool, + ciptool. + + When CLI client is enabled "gatttool" is installed. + +config BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL + bool "build experimental tools" + help + Build experimental tools. This is currently only the + "Nokia OBEX PC Suite tool". So, only if OBEX support is + enabled this option has an effect. + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO + bool "build audio plugins (a2dp and avrcp)" + help + Build plugins for audio profiles (for A2DP and AVRCP). + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH + bool "build health plugin" + help + Build plugin for health profiles. + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID + bool "build hid plugin" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG + help + Build plugin for HID (input) profiles. + +comment "hid plugin needs a toolchain w/ headers >= 3.18" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG + bool "build hog plugin" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + help + Build plugin for HoG (input) profiles. + +comment "hog plugin needs a toolchain w/ headers >= 3.18" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH + bool "build mesh plugin" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # ell + select BR2_PACKAGE_ELL + select BR2_PACKAGE_JSON_C + select BR2_PACKAGE_READLINE + help + Build plugin for Mesh support. + +comment "mesh profile needs a toolchain w/ headers >= 4.12" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI + bool "build midi plugin" + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_SEQ + help + Build MIDI support via ALSA sequencer. + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NETWORK + bool "build network plugin" + default y + help + Build plugin for PANU, NAP, GN profiles. + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC + bool "build nfc plugin" + help + Build plugin for NFC pairing. + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP + bool "build sap plugin" + help + Build plugin for SAP profile. + +config BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS + bool "build sixaxis plugin" + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # hid plugin + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime + help + Build sixaxis plugin (support Sony Dualshock + controller) + +comment "sixaxis plugin needs a toolchain w/ headers >= 3.18" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +comment "sixaxis plugin needs udev /dev management" + depends on !BR2_PACKAGE_HAS_UDEV + +config BR2_PACKAGE_BLUEZ5_UTILS_TEST + bool "install test scripts" + help + Install the python test scripts from the "test" directory. + +config BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI + bool "build hid2hci tool" + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # hid plugin + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime + select BR2_PACKAGE_BLUEZ5_UTILS_TOOLS + help + Build hid2hci tool + +comment "hid2hci tool needs a toolchain w/ headers >= 3.18" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +comment "hid2hci tool needs udev /dev management" + depends on !BR2_PACKAGE_HAS_UDEV + +endif + +comment "bluez5-utils needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/bluez5_utils/S40bluetooth b/buildroot-2022.02.1/package/bluez5_utils/S40bluetooth similarity index 100% rename from buildroot-2021.05/package/bluez5_utils/S40bluetooth rename to buildroot-2022.02.1/package/bluez5_utils/S40bluetooth diff --git a/buildroot-2022.02.1/package/bluez5_utils/bluez5_utils.hash b/buildroot-2022.02.1/package/bluez5_utils/bluez5_utils.hash new file mode 100644 index 00000000..a8f5399f --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/bluez5_utils.hash @@ -0,0 +1,5 @@ +# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc: +sha256 9349e11e8160bb3d720835d271250d8a7424d3690f5289e6db6fe07cc66c6d76 bluez-5.63.tar.xz +# Locally computed +sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING +sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB diff --git a/buildroot-2022.02.1/package/bluez5_utils/bluez5_utils.mk b/buildroot-2022.02.1/package/bluez5_utils/bluez5_utils.mk new file mode 100644 index 00000000..3d76cfb7 --- /dev/null +++ b/buildroot-2022.02.1/package/bluez5_utils/bluez5_utils.mk @@ -0,0 +1,193 @@ +################################################################################ +# +# bluez5_utils +# +################################################################################ + +# Keep the version and patches in sync with bluez5_utils-headers +BLUEZ5_UTILS_VERSION = 5.63 +BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz +BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth +BLUEZ5_UTILS_INSTALL_STAGING = YES +BLUEZ5_UTILS_LICENSE = GPL-2.0+, LGPL-2.1+ +BLUEZ5_UTILS_LICENSE_FILES = COPYING COPYING.LIB +BLUEZ5_UTILS_CPE_ID_VENDOR = bluez +BLUEZ5_UTILS_CPE_ID_PRODUCT = bluez +# We're patching Makefile.am and configure.ac +BLUEZ5_UTILS_AUTORECONF = YES + +BLUEZ5_UTILS_DEPENDENCIES = \ + $(if $(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),bluez5_utils-headers) \ + dbus \ + libglib2 + +BLUEZ5_UTILS_CONF_OPTS = \ + --enable-library \ + --disable-cups \ + --disable-manpages \ + --disable-asan \ + --disable-lsan \ + --disable-ubsan \ + --disable-pie \ + --with-dbusconfdir=/etc + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_OBEX),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-obex +BLUEZ5_UTILS_DEPENDENCIES += libical +else +BLUEZ5_UTILS_CONF_OPTS += --disable-obex +endif + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_CLIENT),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-client +BLUEZ5_UTILS_DEPENDENCIES += readline +else +BLUEZ5_UTILS_CONF_OPTS += --disable-client +endif + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_MONITOR),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-monitor +else +BLUEZ5_UTILS_CONF_OPTS += --disable-monitor +endif + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_TOOLS),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-tools +else +BLUEZ5_UTILS_CONF_OPTS += --disable-tools +endif + +# experimental plugins +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_EXPERIMENTAL),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-experimental +else +BLUEZ5_UTILS_CONF_OPTS += --disable-experimental +endif + +# enable audio plugins (a2dp and avrcp) +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-a2dp --enable-avrcp +else +BLUEZ5_UTILS_CONF_OPTS += --disable-a2dp --disable-avrcp +endif + +# enable health plugin +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HEALTH),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-health +else +BLUEZ5_UTILS_CONF_OPTS += --disable-health +endif + +# enable hid plugin +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-hid +else +BLUEZ5_UTILS_CONF_OPTS += --disable-hid +endif + +# enable hog plugin +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HOG),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-hog +else +BLUEZ5_UTILS_CONF_OPTS += --disable-hog +endif + +# enable mesh profile +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MESH),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-external-ell --enable-mesh +BLUEZ5_UTILS_DEPENDENCIES += ell json-c readline +else +BLUEZ5_UTILS_CONF_OPTS += --disable-external-ell --disable-mesh +endif + +# enable midi profile +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_MIDI),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-midi +BLUEZ5_UTILS_DEPENDENCIES += alsa-lib +else +BLUEZ5_UTILS_CONF_OPTS += --disable-midi +endif + +# enable network plugin +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NETWORK),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-network +else +BLUEZ5_UTILS_CONF_OPTS += --disable-network +endif + +# enable nfc plugin +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_NFC),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-nfc +else +BLUEZ5_UTILS_CONF_OPTS += --disable-nfc +endif + +# enable sap plugin +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SAP),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-sap +else +BLUEZ5_UTILS_CONF_OPTS += --disable-sap +endif + +# enable sixaxis plugin +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_SIXAXIS),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-sixaxis +else +BLUEZ5_UTILS_CONF_OPTS += --disable-sixaxis +endif + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_DEPRECATED),y) +# install gatttool (For some reason upstream choose not to do it by default) +# gattool depends on the client for readline +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_CLIENT),y) +define BLUEZ5_UTILS_INSTALL_GATTTOOL + $(INSTALL) -D -m 0755 $(@D)/attrib/gatttool $(TARGET_DIR)/usr/bin/gatttool +endef +BLUEZ5_UTILS_POST_INSTALL_TARGET_HOOKS += BLUEZ5_UTILS_INSTALL_GATTTOOL +endif + +# hciattach_bcm43xx defines default firmware path in `/etc/firmware`, but +# Broadcom firmware blobs are usually located in `/lib/firmware`. +BLUEZ5_UTILS_CONF_ENV += \ + CPPFLAGS='$(TARGET_CPPFLAGS) -DFIRMWARE_DIR=\"/lib/firmware\"' +BLUEZ5_UTILS_CONF_OPTS += --enable-deprecated +else +BLUEZ5_UTILS_CONF_OPTS += --disable-deprecated +endif + +# enable test +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_TEST),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-test +else +BLUEZ5_UTILS_CONF_OPTS += --disable-test +endif + +# enable hid2hci tool +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_TOOLS_HID2HCI),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-hid2hci +else +BLUEZ5_UTILS_CONF_OPTS += --disable-hid2hci +endif + +# use udev if available +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-udev +BLUEZ5_UTILS_DEPENDENCIES += udev +else +BLUEZ5_UTILS_CONF_OPTS += --disable-udev +endif + +# integrate with systemd if available +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +BLUEZ5_UTILS_CONF_OPTS += --enable-systemd +BLUEZ5_UTILS_DEPENDENCIES += systemd +else +BLUEZ5_UTILS_CONF_OPTS += --disable-systemd +endif + +define BLUEZ5_UTILS_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/bluez5_utils/S40bluetooth \ + $(TARGET_DIR)/etc/init.d/S40bluetooth +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/bmap-tools/Config.in b/buildroot-2022.02.1/package/bmap-tools/Config.in new file mode 100644 index 00000000..91081069 --- /dev/null +++ b/buildroot-2022.02.1/package/bmap-tools/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_BMAP_TOOLS + bool "bmap-tools" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime, pkg_resources + select BR2_PACKAGE_PYTHON_SIX # runtime + help + Tool to flash image files to block devices using the block map + bmaptool is a generic tool for creating the block map (bmap) + for a file, and copying files using the block map. The idea is + that large file containing unused blocks, like raw system + image files, can be copied or flashed a lot faster with + bmaptool than with traditional tools like "dd" or "cp". + + Relevant optional dependencies: + + - Busybox compiled with CONFIG_BZIP2, or BR2_PACKAGE_BZIP2, + to support bz2 compressed images + + - BR2_PACKAGE_PIGZ for optimized gzip decompression + + - Busybox compiled with CONFIG_LZOP, or BR2_PACKAGE_LZOP, to + support lzo compressed images. + + - BR2_PACKAGE_ZIP to support zip compressed images + + - BR2_PACKAGE_LZ4 to support lz4 compressed images + + - BR2_PACKAGE_ZSTD to support zstd compressed images + + - Busybox compiled CONFIG_FEATURE_SEAMLESS_* or + BR2_PACKAGE_TAR to support tar compressed images + + - BR2_PACKAGE_OPENSSH to retrieve images over SSH. + + - BR2_PACKAGE_SSHPASS to retrieve images over SSH if + password authentication is used. + + Image signature verification is not supported as + python-gpgme is not available. Optimized bzip2 decompression + is not supported as pbzip2 is not available. + + https://github.com/intel/bmap-tools diff --git a/buildroot-2022.02.1/package/bmap-tools/Config.in.host b/buildroot-2022.02.1/package/bmap-tools/Config.in.host new file mode 100644 index 00000000..a2082903 --- /dev/null +++ b/buildroot-2022.02.1/package/bmap-tools/Config.in.host @@ -0,0 +1,12 @@ +config BR2_PACKAGE_HOST_BMAP_TOOLS + bool "host bmap-tools" + select BR2_PACKAGE_HOST_PYTHON_SIX # runtime + help + Tool to flash image files to block devices using the block map + bmaptool is a generic tool for creating the block map (bmap) + for a file, and copying files using the block map. The idea is + that large file containing unused blocks, like raw system + image files, can be copied or flashed a lot faster with + bmaptool than with traditional tools like "dd" or "cp". + + https://github.com/intel/bmap-tools diff --git a/buildroot-2022.02.1/package/bmap-tools/bmap-tools.hash b/buildroot-2022.02.1/package/bmap-tools/bmap-tools.hash new file mode 100644 index 00000000..82a570ec --- /dev/null +++ b/buildroot-2022.02.1/package/bmap-tools/bmap-tools.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 0658afb972e7221aa16fece3f84e29e5102e901c929253d7fb6040bde28243f7 bmap-tools-3.6.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/bmap-tools/bmap-tools.mk b/buildroot-2022.02.1/package/bmap-tools/bmap-tools.mk new file mode 100644 index 00000000..32399ca1 --- /dev/null +++ b/buildroot-2022.02.1/package/bmap-tools/bmap-tools.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# bmap-tools +# +################################################################################ + +BMAP_TOOLS_VERSION = 3.6 +BMAP_TOOLS_SITE = $(call github,intel,bmap-tools,v$(BMAP_TOOLS_VERSION)) +BMAP_TOOLS_LICENSE = GPL-2.0 +BMAP_TOOLS_LICENSE_FILES = COPYING +BMAP_TOOLS_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/bmon/Config.in b/buildroot-2022.02.1/package/bmon/Config.in similarity index 100% rename from buildroot-2021.05/package/bmon/Config.in rename to buildroot-2022.02.1/package/bmon/Config.in diff --git a/buildroot-2021.05/package/bmon/bmon.hash b/buildroot-2022.02.1/package/bmon/bmon.hash similarity index 100% rename from buildroot-2021.05/package/bmon/bmon.hash rename to buildroot-2022.02.1/package/bmon/bmon.hash diff --git a/buildroot-2021.05/package/bmon/bmon.mk b/buildroot-2022.02.1/package/bmon/bmon.mk similarity index 100% rename from buildroot-2021.05/package/bmon/bmon.mk rename to buildroot-2022.02.1/package/bmon/bmon.mk diff --git a/buildroot-2022.02.1/package/bmx7/0001-Fix-schedule.c-378-36-error-SIOCGSTAMP-undeclared.patch b/buildroot-2022.02.1/package/bmx7/0001-Fix-schedule.c-378-36-error-SIOCGSTAMP-undeclared.patch new file mode 100644 index 00000000..d627cf61 --- /dev/null +++ b/buildroot-2022.02.1/package/bmx7/0001-Fix-schedule.c-378-36-error-SIOCGSTAMP-undeclared.patch @@ -0,0 +1,28 @@ +From f16fa9796e05ca9ea6ee764b3c1f0b8baed535e8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jos=C3=A9=20Pekkarinen?= +Date: Fri, 10 Dec 2021 14:35:45 +0200 +Subject: [PATCH] Fix schedule.c:378:36: error: 'SIOCGSTAMP' undeclared +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: José Pekkarinen +--- + src/schedule.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/schedule.c b/src/schedule.c +index 8868b01..09ab248 100644 +--- a/src/schedule.c ++++ b/src/schedule.c +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + + + #include "list.h" +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bmx7/0002-Fix-linking-error.patch b/buildroot-2022.02.1/package/bmx7/0002-Fix-linking-error.patch new file mode 100644 index 00000000..04354c6a --- /dev/null +++ b/buildroot-2022.02.1/package/bmx7/0002-Fix-linking-error.patch @@ -0,0 +1,29 @@ +From 974541b80bf8d7ec78ed9214a1b541957670f9cd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jos=C3=A9=20Pekkarinen?= +Date: Fri, 10 Dec 2021 14:36:55 +0200 +Subject: [PATCH] Fix linking error +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: José Pekkarinen +--- + src/bmx.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/bmx.h b/src/bmx.h +index 4269903..7789f7f 100644 +--- a/src/bmx.h ++++ b/src/bmx.h +@@ -290,7 +290,7 @@ enum ADGSN { + #define SUCCESS 0 + #define FAILURE -1 + +-const void* FAILURE_PTR; ++extern const void* FAILURE_PTR; + + + #define MAX_SELECT_TIMEOUT_MS 1100 /* MUST be smaller than (1000/2) to fit into max tv_usec */ +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bmx7/0003-Reorder-includes-to-avoid-ethhdr-collision.patch b/buildroot-2022.02.1/package/bmx7/0003-Reorder-includes-to-avoid-ethhdr-collision.patch new file mode 100644 index 00000000..75cc3925 --- /dev/null +++ b/buildroot-2022.02.1/package/bmx7/0003-Reorder-includes-to-avoid-ethhdr-collision.patch @@ -0,0 +1,35 @@ +From fc13da06c1de4d085e21dc2bf45e1e95eb6145d9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jos=C3=A9=20Pekkarinen?= +Date: Fri, 10 Dec 2021 14:37:37 +0200 +Subject: [PATCH] Reorder includes to avoid ethhdr collision +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: José Pekkarinen +--- + src/ip.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ip.c b/src/ip.c +index cd50074..4198e92 100644 +--- a/src/ip.c ++++ b/src/ip.c +@@ -43,13 +43,13 @@ + #include + #include + +-#include /* TUNSETPERSIST, ... */ + #include + + #ifndef BMX7_LIB_IWINFO + #define BMX7_LIB_IW + #include + #endif ++#include /* TUNSETPERSIST, ... */ + //#include + // apt-get install libiw-dev + //#include +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/bmx7/Config.in b/buildroot-2022.02.1/package/bmx7/Config.in new file mode 100644 index 00000000..6fa6a079 --- /dev/null +++ b/buildroot-2022.02.1/package/bmx7/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_BMX7 + bool "bmx7" + depends on !BR2_STATIC_LIBS # dlopen() + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_MBEDTLS + select BR2_PACKAGE_WIRELESS_TOOLS + select BR2_PACKAGE_WIRELESS_TOOLS_LIB + help + BMX7 is a mesh routing protocol for Linux based + operating systems. + + https://github.com/bmx-routing/bmx7 + +comment "bmx7 needs a toolchain with dynamic library support" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/bmx7/bmx7.hash b/buildroot-2022.02.1/package/bmx7/bmx7.hash new file mode 100644 index 00000000..39203c97 --- /dev/null +++ b/buildroot-2022.02.1/package/bmx7/bmx7.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 5f88df1c95e5cb842a6016bb1604e3e7f6097c63c5c9916edc3c84e96d4f5f65 bmx7-7.1.1.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/bmx7/bmx7.mk b/buildroot-2022.02.1/package/bmx7/bmx7.mk new file mode 100644 index 00000000..7eb8a3d6 --- /dev/null +++ b/buildroot-2022.02.1/package/bmx7/bmx7.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# bmx7 +# +################################################################################ + +BMX7_VERSION = 7.1.1 +BMX7_SITE = $(call github,bmx-routing,bmx7,v$(BMX7_VERSION)) +BMX7_LICENSE = GPL-2.0 +BMX7_LICENSE_FILES = LICENSE +BMX7_DEPENDENCIES = zlib mbedtls wireless_tools + +define BMX7_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/src +endef + +define BMX7_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/src/bmx7 $(TARGET_DIR)/usr/bin/bmx7 +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/boinc/Config.in b/buildroot-2022.02.1/package/boinc/Config.in new file mode 100644 index 00000000..72d54401 --- /dev/null +++ b/buildroot-2022.02.1/package/boinc/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_BOINC + bool "boinc" + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + help + Open-source software for volunteer computing and grid + computing. + + Use the idle time on your computer to cure diseases, study + global warming, discover pulsars, and do many other types of + scientific research. + + https://boinc.berkeley.edu + +comment "boinc needs a toolchain w/ dynamic library, C++, threads, gcc >= 4.8" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ + || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/boinc/S99boinc-client b/buildroot-2022.02.1/package/boinc/S99boinc-client similarity index 100% rename from buildroot-2021.05/package/boinc/S99boinc-client rename to buildroot-2022.02.1/package/boinc/S99boinc-client diff --git a/buildroot-2022.02.1/package/boinc/boinc.hash b/buildroot-2022.02.1/package/boinc/boinc.hash new file mode 100644 index 00000000..35e59ce4 --- /dev/null +++ b/buildroot-2022.02.1/package/boinc/boinc.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 274388d9c49e488b6c8502ffc6eb605d5ceae391fb0c2fc56dbb0254d0ceb27e boinc-7.18.1.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LESSER diff --git a/buildroot-2022.02.1/package/boinc/boinc.mk b/buildroot-2022.02.1/package/boinc/boinc.mk new file mode 100644 index 00000000..0d992f13 --- /dev/null +++ b/buildroot-2022.02.1/package/boinc/boinc.mk @@ -0,0 +1,60 @@ +################################################################################ +# +# boinc +# +################################################################################ + +BOINC_VERSION_MAJOR = 7.18 +BOINC_VERSION = $(BOINC_VERSION_MAJOR).1 +BOINC_SITE = \ + $(call github,BOINC,boinc,client_release/$(BOINC_VERSION_MAJOR)/$(BOINC_VERSION)) +BOINC_LICENSE = LGPL-3.0+ +BOINC_LICENSE_FILES = COPYING COPYING.LESSER +BOINC_CPE_ID_VENDOR = rom_walton +BOINC_SELINUX_MODULES = boinc +BOINC_DEPENDENCIES = host-pkgconf libcurl openssl +BOINC_AUTORECONF = YES +# The ac_cv_c_undeclared_builtin_options value is to help +# AC_CHECK_DECLS realize that it doesn't need any particular compiler +# option to get an error when building a program that uses undeclared +# symbols. Otherwise, AC_CHECK_DECLS is confused by the configure +# script unconditionally passing -mavx, which only exists on x86, and +# therefore causes a failure on all other architectures. +BOINC_CONF_ENV = \ + ac_cv_c_undeclared_builtin_options='none needed' \ + ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config +BOINC_CONF_OPTS = \ + --disable-apps \ + --disable-boinczip \ + --disable-fcgi \ + --disable-manager \ + --disable-server \ + --enable-client \ + --enable-dynamic-client-linkage \ + --enable-libraries \ + --with-pkg-config=$(PKG_CONFIG_HOST_BINARY) \ + --with-libcurl=$(STAGING_DIR)/usr + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +BOINC_DEPENDENCIES += freetype +endif + +BOINC_MAKE_OPTS = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +# Remove boinc-client because it is incompatible with buildroot +define BOINC_REMOVE_UNNEEDED_FILE + $(RM) $(TARGET_DIR)/etc/init.d/boinc-client +endef + +BOINC_POST_INSTALL_TARGET_HOOKS += BOINC_REMOVE_UNNEEDED_FILE + +define BOINC_USERS + boinc -1 boinc -1 * /var/lib/boinc - BOINC user +endef + +define BOINC_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/boinc/S99boinc-client \ + $(TARGET_DIR)/etc/init.d/S99boinc-client +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bonnie/Config.in b/buildroot-2022.02.1/package/bonnie/Config.in similarity index 100% rename from buildroot-2021.05/package/bonnie/Config.in rename to buildroot-2022.02.1/package/bonnie/Config.in diff --git a/buildroot-2021.05/package/bonnie/bonnie.hash b/buildroot-2022.02.1/package/bonnie/bonnie.hash similarity index 100% rename from buildroot-2021.05/package/bonnie/bonnie.hash rename to buildroot-2022.02.1/package/bonnie/bonnie.hash diff --git a/buildroot-2021.05/package/bonnie/bonnie.mk b/buildroot-2022.02.1/package/bonnie/bonnie.mk similarity index 100% rename from buildroot-2021.05/package/bonnie/bonnie.mk rename to buildroot-2022.02.1/package/bonnie/bonnie.mk diff --git a/buildroot-2022.02.1/package/boost/0001-Fix-missing-sys-stat-h-include-on-musl-based-systems.patch b/buildroot-2022.02.1/package/boost/0001-Fix-missing-sys-stat-h-include-on-musl-based-systems.patch new file mode 100644 index 00000000..9b86b816 --- /dev/null +++ b/buildroot-2022.02.1/package/boost/0001-Fix-missing-sys-stat-h-include-on-musl-based-systems.patch @@ -0,0 +1,31 @@ +From de657e01635306085488290ea83de541ec393f8b Mon Sep 17 00:00:00 2001 +From: Leonardo Neumann +Date: Mon, 13 Dec 2021 01:07:20 -0300 +Subject: [PATCH] Fix missing sys/stat.h include on musl-based systems + +Boost 1.78.0 fails to build on musl-based systems because musl does +not include sys/stat.h by default. + +Fixes #161 ("Boost compiler error") + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/boostorg/interprocess/pull/162] +--- + include/boost/interprocess/permissions.hpp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/boost/interprocess/permissions.hpp b/boost/interprocess/permissions.hpp +index ab55411e..0b21a685 100644 +--- a/boost/interprocess/permissions.hpp ++++ b/boost/interprocess/permissions.hpp +@@ -29,6 +29,10 @@ + + #include + ++#else ++ ++#include ++ + #endif + + #endif //#ifndef BOOST_INTERPROCESS_DOXYGEN_INVOKED diff --git a/buildroot-2022.02.1/package/boost/Config.in b/buildroot-2022.02.1/package/boost/Config.in new file mode 100644 index 00000000..33a53370 --- /dev/null +++ b/buildroot-2022.02.1/package/boost/Config.in @@ -0,0 +1,398 @@ +comment "boost needs a toolchain w/ C++, threads, wchar" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR + +config BR2_PACKAGE_BOOST + bool "boost" + depends on BR2_INSTALL_LIBSTDCPP + # Boost could theorically be built with threading=single, but + # that unfortunately doesn't work. Until someone fixes that, + # let's depend on threads. + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + help + A general purpose C++ library + + http://www.boost.org/ + +if BR2_PACKAGE_BOOST + +choice + prompt "Layout" + default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM + help + Selects the layout of Boost binary names + +config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM + bool "system" + help + Boost binary names do not include the Boost version number + or the name and version number of the compiler. + +config BR2_PACKAGE_BOOST_LAYOUT_TAGGED + bool "tagged" + help + Boost binary names include the encoded build properties such + as variant and threading, but do not include compiler name + and version, or Boost version. This option is useful if you + build several variants of Boost, using the same compiler. + +config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED + bool "versioned" + help + Boost binary names include the Boost version number, name + and version of the compiler and encoded build properties. + +endchoice + +config BR2_PACKAGE_BOOST_LAYOUT + string + default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM + default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED + default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED + +config BR2_PACKAGE_BOOST_ATOMIC + bool "boost-atomic" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + help + C++11-style atomic<>. + +config BR2_PACKAGE_BOOST_CHRONO + bool "boost-chrono" + select BR2_PACKAGE_BOOST_SYSTEM + help + Useful time utilities. C++11. + +config BR2_PACKAGE_BOOST_CONTAINER + bool "boost-container" + help + Standard library containers and extensions. + +# see +# http://www.boost.org/doc/libs/1_78_0/libs/context/doc/html/context/architectures.html +# for the list of supported architectures. Sparc pretends to be +# supported, but it doesn't build. +config BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + bool + default y if ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) + default y if (BR2_aarch64 || BR2_aarch64_be) + default y if BR2_i386 + default y if BR2_mips + default y if BR2_mipsel + default y if BR2_powerpc + default y if BR2_x86_64 + +config BR2_PACKAGE_BOOST_CONTEXT + bool "boost-context" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ + || BR2_TOOLCHAIN_GCC_AT_LEAST_6 # boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + select BR2_PACKAGE_BOOST_THREAD if !BR2_TOOLCHAIN_GCC_AT_LEAST_6 + help + C++11 context switching library. + +config BR2_PACKAGE_BOOST_CONTRACT + bool "boost-contract" + # pthread_condattr_setclock + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_PACKAGE_BOOST_SYSTEM + help + Contract programming for C++. + +comment "boost-contract needs a toolchain w/ NPTL" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL + +config BR2_PACKAGE_BOOST_COROUTINE + bool "boost-coroutine" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context, boost-thread + select BR2_PACKAGE_BOOST_CHRONO + select BR2_PACKAGE_BOOST_CONTEXT + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD + help + deprecated coroutine library, the non-depricated coroutine2 + library is a header-only library and does not need to be + selected. + +comment "boost-coroutine needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_BOOST_DATE_TIME + bool "boost-date_time" + help + A set of date-time libraries based on generic programming + concepts. + +config BR2_PACKAGE_BOOST_EXCEPTION + bool "boost-exception" + help + The Boost Exception library supports transporting of arbitrary + data in exception objects, and transporting of exceptions + between threads. + +config BR2_PACKAGE_BOOST_FIBER + bool "boost-fiber" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + # mips support uses the "pause" instruction, only available + # since mips32r2/mips64r2. + depends on !BR2_MIPS_CPU_MIPS32 && !BR2_MIPS_CPU_MIPS64 + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-context + select BR2_PACKAGE_BOOST_CONTEXT + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_SYSTEM + help + C++11 userland threads library. + +comment "boost-fiber needs a toolchain w/ NPTL" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL + +comment "boost-fiber needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ + || BR2_TOOLCHAIN_GCC_AT_LEAST_6 + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_BOOST_FILESYSTEM + bool "boost-filesystem" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic + select BR2_PACKAGE_BOOST_ATOMIC + select BR2_PACKAGE_BOOST_SYSTEM + help + The Boost Filesystem Library provides portable facilities to + query and manipulate paths, files, and directories. + +config BR2_PACKAGE_BOOST_GRAPH + bool "boost-graph" + select BR2_PACKAGE_BOOST_REGEX + help + The BGL graph interface and graph components are generic, in + the same sense as the the Standard Template Library (STL). + +config BR2_PACKAGE_BOOST_GRAPH_PARALLEL + bool "boost-graph_parallel" + help + The PBGL graph interface and graph components are generic, in + the same sense as the the Standard Template Library (STL). + +config BR2_PACKAGE_BOOST_IOSTREAMS + bool "boost-iostreams" + select BR2_PACKAGE_BZIP2 + select BR2_PACKAGE_ZLIB + help + Boost.IOStreams provides a framework for defining streams, + stream buffers and i/o filters. + +config BR2_PACKAGE_BOOST_JSON + bool "boost-json" + select BR2_PACKAGE_BOOST_CONTAINER + help + Boost.JSON is a portable C++ library which provides containers + and algorithms that implement JavaScript Object Notation, or + simply "JSON", a lightweight data-interchange format. + + To use the library "header-only" this option is not needed. + +config BR2_PACKAGE_BOOST_LOCALE + bool "boost-locale" + # When boost-locale is enabled with icu support, Boost no + # longer supports building the libboost_* libraries as static + # libraries, causing build failures when other boost features + # than boost-locale are enabled. To work around this, we + # prevent using boost-locale on static linking configurations + # with icu enabled. See + # https://svn.boost.org/trac/boost/ticket/9685 for more + # details. + depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU) + depends on !(BR2_TOOLCHAIN_HAS_GCC_BUG_64735 && BR2_PACKAGE_ICU) # boost-thread + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS \ + || !BR2_PACKAGE_ICU # boost-thread + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD if BR2_PACKAGE_ICU + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + Provide localization and Unicode handling tools for C++. + +comment "boost-locale needs a toolchain w/ dynamic library" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on BR2_PACKAGE_ICU + depends on BR2_STATIC_LIBS + +comment "boost-locale needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on BR2_PACKAGE_ICU + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_BOOST_LOG + bool "boost-log" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + select BR2_PACKAGE_BOOST_ATOMIC + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_REGEX + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD + help + Logging library. + +comment "boost-log needs a toolchain w/ NPTL" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL + +comment "boost-log needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_BOOST_MATH + bool "boost-math" + help + Boost.Math includes several contributions in the domain of + mathematics: + + The Greatest Common Divisor and Least Common + Multiple library provides run-time and compile-time evaluation + of the greatest common divisor (GCD) or least common multiple + (LCM) of two integers. + + The Special Functions library currently provides eight + templated special functions, in namespace boost. + + The Complex Number Inverse Trigonometric Functions are the + inverses of trigonometric functions currently present in the + C++ standard. + + Quaternions are a relative of complex numbers often used to + parameterise rotations in three dimentional space. + + Octonions, like quaternions, are a relative of complex + numbers. + +config BR2_PACKAGE_BOOST_MPI + bool "boost-mpi" + help + Message Passing Interface library, for use in + distributed-memory parallel application programming. + +config BR2_PACKAGE_BOOST_NOWIDE + bool "boost-nowide" + help + Library for cross-platform, unicode aware programming. + +config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS + bool "boost-program_options" + help + The program_options library allows program developers to + obtain program options, that is (name, value) pairs from the + user, via conventional methods such as command line and config + file. + +config BR2_PACKAGE_BOOST_PYTHON + bool "boost-python" + depends on BR2_PACKAGE_PYTHON3 + help + The Boost Python Library is a framework for interfacing Python + and C++. It allows you to quickly and seamlessly expose C++ + classes functions and objects to Python, and vice-versa, + using no special tools -- just your C++ compiler. + +config BR2_PACKAGE_BOOST_RANDOM + bool "boost-random" + select BR2_PACKAGE_BOOST_SYSTEM + help + A complete system for random number generation. + +config BR2_PACKAGE_BOOST_REGEX + bool "boost-regex" + help + A new infrastructure for generic algorithms that builds on top + of the new iterator concepts. + +config BR2_PACKAGE_BOOST_SERIALIZATION + bool "boost-serialization" + help + Serialization for persistence and marshalling. + +config BR2_PACKAGE_BOOST_STACKTRACE + bool "boost-stacktrace" + depends on !BR2_STATIC_LIBS + help + Gather, store, copy and print backtraces. + +comment "boost-stacktrace needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_BOOST_SYSTEM + bool "boost-system" + help + Operating system support, including the diagnostics support + that will be part of the C++0x standard library. + +config BR2_PACKAGE_BOOST_TEST + bool "boost-test" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_TIMER + help + Support for simple program testing, full unit testing, and for + program execution monitoring. + +config BR2_PACKAGE_BOOST_THREAD + bool "boost-thread" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception + select BR2_PACKAGE_BOOST_CHRONO + select BR2_PACKAGE_BOOST_SYSTEM + help + Portable C++ multi-threading. C++11, C++14. + +comment "boost-thread needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_BOOST_TIMER + bool "boost-timer" + select BR2_PACKAGE_BOOST_CHRONO + select BR2_PACKAGE_BOOST_SYSTEM + help + Event timer, progress timer, and progress display classes. + +config BR2_PACKAGE_BOOST_TYPE_ERASURE + bool "boost-type_erasure" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD + help + Runtime polymorphism based on concepts. + +comment "boost-type_erasure needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_BOOST_WAVE + bool "boost-wave" + # limitation of assembler for coldfire + # error: Tried to convert PC relative branch to absolute jump + depends on !BR2_m68k_cf + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD + help + The Boost.Wave library is a Standards conformant, and highly + configurable implementation of the mandated C99/C++ + preprocessor functionality packed behind an easy to use + iterator interface. + +comment "boost-wave needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +endif diff --git a/buildroot-2022.02.1/package/boost/boost.hash b/buildroot-2022.02.1/package/boost/boost.hash new file mode 100644 index 00000000..a174e414 --- /dev/null +++ b/buildroot-2022.02.1/package/boost/boost.hash @@ -0,0 +1,5 @@ +# From https://www.boost.org/users/history/version_1_78_0.html +sha256 8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc boost_1_78_0.tar.bz2 + +# Locally computed +sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE_1_0.txt diff --git a/buildroot-2022.02.1/package/boost/boost.mk b/buildroot-2022.02.1/package/boost/boost.mk new file mode 100644 index 00000000..032ba5c8 --- /dev/null +++ b/buildroot-2022.02.1/package/boost/boost.mk @@ -0,0 +1,203 @@ +################################################################################ +# +# boost +# +################################################################################ + +BOOST_VERSION = 1.78.0 +BOOST_SOURCE = boost_$(subst .,_,$(BOOST_VERSION)).tar.bz2 +BOOST_SITE = https://boostorg.jfrog.io/artifactory/main/release/$(BOOST_VERSION)/source +BOOST_INSTALL_STAGING = YES +BOOST_LICENSE = BSL-1.0 +BOOST_LICENSE_FILES = LICENSE_1_0.txt +BOOST_CPE_ID_VENDOR = boost + +# keep host variant as minimal as possible +HOST_BOOST_FLAGS = --without-icu --with-toolset=gcc \ + --without-libraries=$(subst $(space),$(comma),atomic chrono context \ + contract container coroutine date_time exception fiber filesystem graph \ + graph_parallel iostreams json locale log math mpi nowide program_options \ + python random serialization stacktrace test thread timer \ + type_erasure wave) + +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_ATOMIC),,atomic) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CHRONO),,chrono) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTAINER),,container) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTEXT),,context) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_CONTRACT),,contract) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_COROUTINE),,coroutine) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_DATE_TIME),,date_time) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_EXCEPTION),,exception) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FIBER),,fiber) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_FILESYSTEM),,filesystem) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_GRAPH),,graph) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_GRAPH_PARALLEL),,graph_parallel) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_IOSTREAMS),,iostreams) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_JSON),,json) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOCALE),,locale) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_LOG),,log) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MATH),,math) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_MPI),,mpi) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_NOWIDE),,nowide) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PROGRAM_OPTIONS),,program_options) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_PYTHON),,python) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_RANDOM),,random) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_REGEX),,regex) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SERIALIZATION),,serialization) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_STACKTRACE),,stacktrace) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SYSTEM),,system) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TEST),,test) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_THREAD),,thread) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TIMER),,timer) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TYPE_ERASURE),,type_erasure) +BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_WAVE),,wave) + +BOOST_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS) + +BOOST_FLAGS = --with-toolset=gcc + +ifeq ($(BR2_PACKAGE_ICU),y) +BOOST_FLAGS += --with-icu=$(STAGING_DIR)/usr +BOOST_DEPENDENCIES += icu +else +BOOST_FLAGS += --without-icu +endif + +ifeq ($(BR2_PACKAGE_BOOST_IOSTREAMS),y) +BOOST_DEPENDENCIES += bzip2 zlib +endif + +ifeq ($(BR2_PACKAGE_BOOST_PYTHON),y) +BOOST_FLAGS += \ + --with-python-root=$(HOST_DIR) \ + --with-python=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) +BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) +BOOST_DEPENDENCIES += python3 +endif + +HOST_BOOST_OPTS += --no-cmake-config toolset=gcc threading=multi \ + variant=release link=shared runtime-link=shared + +ifeq ($(BR2_MIPS_OABI32),y) +BOOST_ABI = o32 +else ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_aarch64_be),y) +BOOST_ABI = aapcs +else +BOOST_ABI = sysv +endif + +BOOST_OPTS += --no-cmake-config \ + toolset=gcc \ + threading=multi \ + abi=$(BOOST_ABI) \ + variant=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) + +ifeq ($(BR2_sparc64),y) +BOOST_OPTS += architecture=sparc instruction-set=ultrasparc +endif + +ifeq ($(BR2_sparc),y) +BOOST_OPTS += architecture=sparc instruction-set=v8 +endif + +# By default, Boost build and installs both the shared and static +# variants. Override that if we want static only or shared only. +ifeq ($(BR2_STATIC_LIBS),y) +BOOST_OPTS += link=static runtime-link=static +else ifeq ($(BR2_SHARED_LIBS),y) +BOOST_OPTS += link=shared runtime-link=shared +endif + +ifeq ($(BR2_PACKAGE_BOOST_LOCALE),y) +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +# posix backend needs monetary.h which isn't available on uClibc +BOOST_OPTS += boost.locale.posix=off +endif + +BOOST_DEPENDENCIES += $(if $(BR2_ENABLE_LOCALE),,libiconv) +endif + +BOOST_WITHOUT_FLAGS_COMMASEPARATED += $(subst $(space),$(comma),$(strip $(BOOST_WITHOUT_FLAGS))) +BOOST_FLAGS += $(if $(BOOST_WITHOUT_FLAGS_COMMASEPARATED), --without-libraries=$(BOOST_WITHOUT_FLAGS_COMMASEPARATED)) +BOOST_LAYOUT = $(call qstrip, $(BR2_PACKAGE_BOOST_LAYOUT)) + +# how verbose should the build be? +BOOST_OPTS += $(if $(QUIET),-d,-d+1) +HOST_BOOST_OPTS += $(if $(QUIET),-d,-d+1) + +define BOOST_CONFIGURE_CMDS + (cd $(@D) && ./bootstrap.sh $(BOOST_FLAGS)) + echo "using gcc : `$(TARGET_CC) -dumpversion` : $(TARGET_CXX) : \"$(BOOST_TARGET_CXXFLAGS)\" \"$(TARGET_LDFLAGS)\" ;" > $(@D)/user-config.jam + echo "" >> $(@D)/user-config.jam + sed -i "s/: -O.* ;/: $(TARGET_OPTIMIZATION) ;/" $(@D)/tools/build/src/tools/gcc.jam +endef + +define BOOST_BUILD_CMDS + (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ + --user-config=$(@D)/user-config.jam \ + $(BOOST_OPTS) \ + --ignore-site-config \ + --layout=$(BOOST_LAYOUT)) +endef + +define BOOST_INSTALL_TARGET_CMDS + (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \ + --user-config=$(@D)/user-config.jam \ + $(BOOST_OPTS) \ + --prefix=$(TARGET_DIR)/usr \ + --ignore-site-config \ + --layout=$(BOOST_LAYOUT) install ) +endef + +define BOOST_INSTALL_STAGING_CMDS + (cd $(@D) && $(TARGET_MAKE_ENV) ./tools/build/src/engine/bjam -j$(PARALLEL_JOBS) -q \ + --user-config=$(@D)/user-config.jam \ + $(BOOST_OPTS) \ + --prefix=$(STAGING_DIR)/usr \ + --ignore-site-config \ + --layout=$(BOOST_LAYOUT) install) +endef + +# These hooks will help us to detect missing select in Config.in +# Indeed boost buildsystem can select a library even if the user has +# disable it +define BOOST_REMOVE_TARGET_LIBRARIES + rm -rf $(TARGET_DIR)/usr/lib/libboost_* +endef + +BOOST_PRE_INSTALL_TARGET_HOOKS += BOOST_REMOVE_TARGET_LIBRARIES + +define BOOST_CHECK_TARGET_LIBRARIES + @$(foreach disabled,$(BOOST_WITHOUT_FLAGS),\ + ! ls $(TARGET_DIR)/usr/lib/libboost_$(disabled)* 1>/dev/null 2>&1 || \ + ! echo "libboost_$(disabled) shouldn't have been installed: missing select in boost/Config.in" || \ + exit 1;) +endef + +BOOST_POST_INSTALL_TARGET_HOOKS += BOOST_CHECK_TARGET_LIBRARIES + +define HOST_BOOST_CONFIGURE_CMDS + (cd $(@D) && ./bootstrap.sh $(HOST_BOOST_FLAGS)) + echo "using gcc : `$(HOST_CC) -dumpversion` : $(HOSTCXX) : \"$(HOST_CXXFLAGS)\" \"$(HOST_LDFLAGS)\" ;" > $(@D)/user-config.jam + echo "" >> $(@D)/user-config.jam +endef + +define HOST_BOOST_BUILD_CMDS + (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ + --user-config=$(@D)/user-config.jam \ + $(HOST_BOOST_OPTS) \ + --ignore-site-config \ + --prefix=$(HOST_DIR) ) +endef + +define HOST_BOOST_INSTALL_CMDS + (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \ + --user-config=$(@D)/user-config.jam \ + $(HOST_BOOST_OPTS) \ + --prefix=$(HOST_DIR) \ + --ignore-site-config \ + --layout=$(BOOST_LAYOUT) install ) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/bootstrap/Config.in b/buildroot-2022.02.1/package/bootstrap/Config.in similarity index 100% rename from buildroot-2021.05/package/bootstrap/Config.in rename to buildroot-2022.02.1/package/bootstrap/Config.in diff --git a/buildroot-2021.05/package/bootstrap/bootstrap.hash b/buildroot-2022.02.1/package/bootstrap/bootstrap.hash similarity index 100% rename from buildroot-2021.05/package/bootstrap/bootstrap.hash rename to buildroot-2022.02.1/package/bootstrap/bootstrap.hash diff --git a/buildroot-2021.05/package/bootstrap/bootstrap.mk b/buildroot-2022.02.1/package/bootstrap/bootstrap.mk similarity index 100% rename from buildroot-2021.05/package/bootstrap/bootstrap.mk rename to buildroot-2022.02.1/package/bootstrap/bootstrap.mk diff --git a/buildroot-2022.02.1/package/botan/0001-Revert-workaround-a-miscompilation-issue-in-clang-12.patch b/buildroot-2022.02.1/package/botan/0001-Revert-workaround-a-miscompilation-issue-in-clang-12.patch new file mode 100644 index 00000000..b43aeafe --- /dev/null +++ b/buildroot-2022.02.1/package/botan/0001-Revert-workaround-a-miscompilation-issue-in-clang-12.patch @@ -0,0 +1,144 @@ +From 372bdf0348fb86d671e73baab19daa34bd0cf73d Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 9 Nov 2021 19:01:20 +0100 +Subject: [PATCH] Revert "workaround a miscompilation issue in clang 12 + (XCode 13)" + +This reverts commit 219329f8e777af54d785ae7259f8be32a714b751. + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/randombit/botan/issues/2845] +--- + src/lib/hash/sha3/sha3.cpp | 46 ++++++----------------- + src/lib/hash/sha3/sha3_bmi2/sha3_bmi2.cpp | 46 ++++++----------------- + 2 files changed, 22 insertions(+), 70 deletions(-) + +diff --git a/src/lib/hash/sha3/sha3.cpp b/src/lib/hash/sha3/sha3.cpp +index 289e451ff..690c2b264 100644 +--- a/src/lib/hash/sha3/sha3.cpp ++++ b/src/lib/hash/sha3/sha3.cpp +@@ -11,47 +11,23 @@ + #include + #include + +-#include +- + namespace Botan { + + namespace { + +-// This is a workaround for a suspected bug in clang 12 (and XCode 13) +-// that caused a miscompile of the SHA3 implementation for optimization +-// level -O2 and higher. +-// +-// For details, see: https://github.com/randombit/botan/issues/2802 +-#if defined(__clang__) && \ +- (( defined(__apple_build_version__) && __clang_major__ == 13) || \ +- (!defined(__apple_build_version__) && __clang_major__ == 12)) +-#define BOTAN_WORKAROUND_MAYBE_INLINE __attribute__((noinline)) +-#else +-#define BOTAN_WORKAROUND_MAYBE_INLINE inline +-#endif +- +-BOTAN_WORKAROUND_MAYBE_INLINE std::tuple +- xor_CNs(const uint64_t A[25]) +- { +- return { +- A[0] ^ A[5] ^ A[10] ^ A[15] ^ A[20], +- A[1] ^ A[6] ^ A[11] ^ A[16] ^ A[21], +- A[2] ^ A[7] ^ A[12] ^ A[17] ^ A[22], +- A[3] ^ A[8] ^ A[13] ^ A[18] ^ A[23], +- A[4] ^ A[9] ^ A[14] ^ A[19] ^ A[24]}; +- } +- +-#undef BOTAN_WORKAROUND_MAYBE_INLINE +- + inline void SHA3_round(uint64_t T[25], const uint64_t A[25], uint64_t RC) + { +- const auto Cs = xor_CNs(A); +- +- const uint64_t D0 = rotl<1>(std::get<0>(Cs)) ^ std::get<3>(Cs); +- const uint64_t D1 = rotl<1>(std::get<1>(Cs)) ^ std::get<4>(Cs); +- const uint64_t D2 = rotl<1>(std::get<2>(Cs)) ^ std::get<0>(Cs); +- const uint64_t D3 = rotl<1>(std::get<3>(Cs)) ^ std::get<1>(Cs); +- const uint64_t D4 = rotl<1>(std::get<4>(Cs)) ^ std::get<2>(Cs); ++ const uint64_t C0 = A[0] ^ A[5] ^ A[10] ^ A[15] ^ A[20]; ++ const uint64_t C1 = A[1] ^ A[6] ^ A[11] ^ A[16] ^ A[21]; ++ const uint64_t C2 = A[2] ^ A[7] ^ A[12] ^ A[17] ^ A[22]; ++ const uint64_t C3 = A[3] ^ A[8] ^ A[13] ^ A[18] ^ A[23]; ++ const uint64_t C4 = A[4] ^ A[9] ^ A[14] ^ A[19] ^ A[24]; ++ ++ const uint64_t D0 = rotl<1>(C0) ^ C3; ++ const uint64_t D1 = rotl<1>(C1) ^ C4; ++ const uint64_t D2 = rotl<1>(C2) ^ C0; ++ const uint64_t D3 = rotl<1>(C3) ^ C1; ++ const uint64_t D4 = rotl<1>(C4) ^ C2; + + const uint64_t B00 = A[ 0] ^ D1; + const uint64_t B01 = rotl<44>(A[ 6] ^ D2); +diff --git a/src/lib/hash/sha3/sha3_bmi2/sha3_bmi2.cpp b/src/lib/hash/sha3/sha3_bmi2/sha3_bmi2.cpp +index c7f1914a3..a9650ad9d 100644 +--- a/src/lib/hash/sha3/sha3_bmi2/sha3_bmi2.cpp ++++ b/src/lib/hash/sha3/sha3_bmi2/sha3_bmi2.cpp +@@ -8,47 +8,23 @@ + #include + #include + +-#include +- + namespace Botan { + + namespace { + +-// This is a workaround for a suspected bug in clang 12 (and XCode 13) +-// that caused a miscompile of the SHA3 implementation for optimization +-// level -O2 and higher. +-// +-// For details, see: https://github.com/randombit/botan/issues/2802 +-#if defined(__clang__) && \ +- (( defined(__apple_build_version__) && __clang_major__ == 13) || \ +- (!defined(__apple_build_version__) && __clang_major__ == 12)) +-#define BOTAN_WORKAROUND_MAYBE_INLINE __attribute__((noinline)) +-#else +-#define BOTAN_WORKAROUND_MAYBE_INLINE inline +-#endif +- +-BOTAN_WORKAROUND_MAYBE_INLINE std::tuple +- xor_CNs(const uint64_t A[25]) +- { +- return { +- A[0] ^ A[5] ^ A[10] ^ A[15] ^ A[20], +- A[1] ^ A[6] ^ A[11] ^ A[16] ^ A[21], +- A[2] ^ A[7] ^ A[12] ^ A[17] ^ A[22], +- A[3] ^ A[8] ^ A[13] ^ A[18] ^ A[23], +- A[4] ^ A[9] ^ A[14] ^ A[19] ^ A[24]}; +- } +- +-#undef BOTAN_WORKAROUND_MAYBE_INLINE +- + inline void SHA3_BMI2_round(uint64_t T[25], const uint64_t A[25], uint64_t RC) + { +- const auto Cs = xor_CNs(A); +- +- const uint64_t D0 = rotl<1>(std::get<0>(Cs)) ^ std::get<3>(Cs); +- const uint64_t D1 = rotl<1>(std::get<1>(Cs)) ^ std::get<4>(Cs); +- const uint64_t D2 = rotl<1>(std::get<2>(Cs)) ^ std::get<0>(Cs); +- const uint64_t D3 = rotl<1>(std::get<3>(Cs)) ^ std::get<1>(Cs); +- const uint64_t D4 = rotl<1>(std::get<4>(Cs)) ^ std::get<2>(Cs); ++ const uint64_t C0 = A[0] ^ A[5] ^ A[10] ^ A[15] ^ A[20]; ++ const uint64_t C1 = A[1] ^ A[6] ^ A[11] ^ A[16] ^ A[21]; ++ const uint64_t C2 = A[2] ^ A[7] ^ A[12] ^ A[17] ^ A[22]; ++ const uint64_t C3 = A[3] ^ A[8] ^ A[13] ^ A[18] ^ A[23]; ++ const uint64_t C4 = A[4] ^ A[9] ^ A[14] ^ A[19] ^ A[24]; ++ ++ const uint64_t D0 = rotl<1>(C0) ^ C3; ++ const uint64_t D1 = rotl<1>(C1) ^ C4; ++ const uint64_t D2 = rotl<1>(C2) ^ C0; ++ const uint64_t D3 = rotl<1>(C3) ^ C1; ++ const uint64_t D4 = rotl<1>(C4) ^ C2; + + const uint64_t B00 = A[ 0] ^ D1; + const uint64_t B01 = rotl<44>(A[ 6] ^ D2); +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/botan/Config.in b/buildroot-2022.02.1/package/botan/Config.in new file mode 100644 index 00000000..635fe183 --- /dev/null +++ b/buildroot-2022.02.1/package/botan/Config.in @@ -0,0 +1,37 @@ +config BR2_PACKAGE_BOTAN_ARCH_SUPPORTS + bool + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_arm || BR2_armeb + default y if BR2_i386 || BR2_x86_64 + default y if BR2_m68k + default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le + default y if BR2_riscv + default y if BR2_sparc || BR2_sparc64 + default y if BR2_s390x + default y if BR2_sh + +config BR2_PACKAGE_BOTAN + bool "botan" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future + select BR2_PACKAGE_BOOST_FILESYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + select BR2_PACKAGE_BOOST_SYSTEM if BR2_PACKAGE_BOOST && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + help + Botan is a crypto library for C++ + + http://botan.randombit.net + +comment "botan needs a toolchain w/ C++, threads, gcc >= 4.8" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS + +comment "botan needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2022.02.1/package/botan/botan.hash b/buildroot-2022.02.1/package/botan/botan.hash new file mode 100644 index 00000000..91e1bf74 --- /dev/null +++ b/buildroot-2022.02.1/package/botan/botan.hash @@ -0,0 +1,4 @@ +# From https://botan.randombit.net/releases/sha256sums.txt +sha256 541a3b13f1b9d30f977c6c1ae4c7bfdfda763cda6e44de807369dce79f42307e Botan-2.18.2.tar.xz +# Locally computed +sha256 fb7f0322d36fba55ca17d77bc203a9f09a40daa8a249b75cf8887aba36cec9d0 license.txt diff --git a/buildroot-2022.02.1/package/botan/botan.mk b/buildroot-2022.02.1/package/botan/botan.mk new file mode 100644 index 00000000..ebff1343 --- /dev/null +++ b/buildroot-2022.02.1/package/botan/botan.mk @@ -0,0 +1,107 @@ +################################################################################ +# +# botan +# +################################################################################ + +BOTAN_VERSION = 2.18.2 +BOTAN_SOURCE = Botan-$(BOTAN_VERSION).tar.xz +BOTAN_SITE = http://botan.randombit.net/releases +BOTAN_LICENSE = BSD-2-Clause +BOTAN_LICENSE_FILES = license.txt +BOTAN_CPE_ID_VENDOR = botan_project + +BOTAN_INSTALL_STAGING = YES + +BOTAN_CONF_OPTS = \ + --cpu=$(BR2_ARCH) \ + --os=linux \ + --cc=gcc \ + --cc-bin="$(TARGET_CXX)" \ + --prefix=/usr \ + --without-documentation + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +BOTAN_CONF_OPTS += --extra-libs=atomic +endif + +ifeq ($(BR2_SHARED_LIBS),y) +BOTAN_CONF_OPTS += \ + --disable-static-library \ + --enable-shared-library +else ifeq ($(BR2_STATIC_LIBS),y) +BOTAN_CONF_OPTS += \ + --disable-shared-library \ + --enable-static-library \ + --no-autoload +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +BOTAN_CONF_OPTS += \ + --enable-shared-library \ + --enable-static-library +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y) +BOTAN_CONF_OPTS += --with-stack-protector +else +BOTAN_CONF_OPTS += --without-stack-protector +endif + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +BOTAN_CONF_OPTS += --without-os-feature=getauxval +endif + +ifeq ($(BR2_PACKAGE_BOOST_FILESYSTEM)$(BR2_PACKAGE_BOOST_SYSTEM),yy) +BOTAN_DEPENDENCIES += boost +BOTAN_CONF_OPTS += --with-boost +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +BOTAN_DEPENDENCIES += bzip2 +BOTAN_CONF_OPTS += --with-bzip2 +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +BOTAN_DEPENDENCIES += openssl +BOTAN_CONF_OPTS += --with-openssl +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +BOTAN_DEPENDENCIES += sqlite +BOTAN_CONF_OPTS += --with-sqlite +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +BOTAN_DEPENDENCIES += xz +BOTAN_CONF_OPTS += --with-lzma +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +BOTAN_DEPENDENCIES += zlib +BOTAN_CONF_OPTS += --with-zlib +endif + +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),) +BOTAN_CONF_OPTS += --disable-altivec +endif + +ifeq ($(BR2_ARM_CPU_HAS_NEON),) +BOTAN_CONF_OPTS += --disable-neon +endif + +define BOTAN_CONFIGURE_CMDS + (cd $(@D); $(TARGET_MAKE_ENV) ./configure.py $(BOTAN_CONF_OPTS)) +endef + +define BOTAN_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) AR="$(TARGET_AR)" +endef + +define BOTAN_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install +endef + +define BOTAN_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/bpftool/Config.in b/buildroot-2022.02.1/package/bpftool/Config.in new file mode 100644 index 00000000..a1ef3843 --- /dev/null +++ b/buildroot-2022.02.1/package/bpftool/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + bool + # see libbpf/src/bpf.c + default y if BR2_arc + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_i386 || BR2_x86_64 + default y if BR2_sparc || BR2_sparc64 + default y if BR2_s390x + +config BR2_PACKAGE_BPFTOOL + bool "bpftool" + depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on !BR2_nios2 # binutils + depends on BR2_USE_WCHAR # binutils, elfutils + depends on !BR2_STATIC_LIBS # elfutils + depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils + depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + select BR2_PACKAGE_BINUTILS + select BR2_PACKAGE_ELFUTILS + help + bpftool is a tool for for inspection and simple manipulation + of eBPF programs and maps. + +comment "bpftool needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.12" + depends on BR2_PACKAGE_BPFTOOL_ARCH_SUPPORTS + depends on !BR2_nios2 + depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_HAS_THREADS \ + || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) \ + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 diff --git a/buildroot-2022.02.1/package/bpftool/bpftool.hash b/buildroot-2022.02.1/package/bpftool/bpftool.hash new file mode 100644 index 00000000..2e414b8e --- /dev/null +++ b/buildroot-2022.02.1/package/bpftool/bpftool.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 e4ce219d3b87dd70d8dbfb8f02bd356f70c010f739f17baca1c8912199a8a72b bpftool-v6.7.0-br1.tar.gz +sha256 7c588754d5e81e92e2a12e47cf78949d485c9c22b4850f12d21b3835c85947d1 LICENSE +sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd LICENSE.BSD-2-Clause +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL-2.0 diff --git a/buildroot-2022.02.1/package/bpftool/bpftool.mk b/buildroot-2022.02.1/package/bpftool/bpftool.mk new file mode 100644 index 00000000..87429172 --- /dev/null +++ b/buildroot-2022.02.1/package/bpftool/bpftool.mk @@ -0,0 +1,45 @@ +################################################################################ +# +# bpftool +# +################################################################################ + +BPFTOOL_VERSION = v6.7.0 +BPFTOOL_SITE = https://github.com/libbpf/bpftool +BPFTOOL_SITE_METHOD = git +BPFTOOL_GIT_SUBMODULES = YES +BPFTOOL_LICENSE = GPL-2.0, BSD-2-Clause +BPFTOOL_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.GPL-2.0 +BPFTOOL_DEPENDENCIES = binutils elfutils +HOST_BPFTOOL_DEPENDENCIES = host-elfutils host-pkgconf host-zlib + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +BPFTOOL_DEPENDENCIES += libcap +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +BPFTOOL_DEPENDENCIES += zlib +endif + +define BPFTOOL_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src +endef + +define HOST_BPFTOOL_BUILD_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src +endef + +define BPFTOOL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install DESTDIR="$(TARGET_DIR)" prefix=/usr +endef + +define HOST_BPFTOOL_INSTALL_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install DESTDIR="$(HOST_DIR)" prefix=/usr +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/brcm-patchram-plus/Config.in b/buildroot-2022.02.1/package/brcm-patchram-plus/Config.in similarity index 100% rename from buildroot-2021.05/package/brcm-patchram-plus/Config.in rename to buildroot-2022.02.1/package/brcm-patchram-plus/Config.in diff --git a/buildroot-2021.05/package/brcm-patchram-plus/brcm-patchram-plus.hash b/buildroot-2022.02.1/package/brcm-patchram-plus/brcm-patchram-plus.hash similarity index 100% rename from buildroot-2021.05/package/brcm-patchram-plus/brcm-patchram-plus.hash rename to buildroot-2022.02.1/package/brcm-patchram-plus/brcm-patchram-plus.hash diff --git a/buildroot-2021.05/package/brcm-patchram-plus/brcm-patchram-plus.mk b/buildroot-2022.02.1/package/brcm-patchram-plus/brcm-patchram-plus.mk similarity index 100% rename from buildroot-2021.05/package/brcm-patchram-plus/brcm-patchram-plus.mk rename to buildroot-2022.02.1/package/brcm-patchram-plus/brcm-patchram-plus.mk diff --git a/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/Config.in b/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/Config.in new file mode 100644 index 00000000..73f400a2 --- /dev/null +++ b/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/Config.in @@ -0,0 +1,29 @@ +config BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI + bool "brcmfmac-sdio-firmware-rpi" + depends on BR2_arm || BR2_aarch64 + help + Raspberry Broadcom Bluetooth and Wifi firmware. + + https://github.com/LibreELEC/brcmfmac_sdio-firmware-rpi + +if BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI + +config BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_BT + bool "brcmfmac-sdio-firmware-rpi-bt" + help + Raspberry Pi 3 and Zero W Broadcom BCM43438 Bluetooth module + firmware. Raspberry Pi 3 Model B+ Broadcom BCM4345C0 + Bluetooth module firmware. + +config BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_WIFI + bool "brcmfmac-sdio-firmware-rpi-wifi" + depends on !BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX + help + Raspberry Pi 3 and Zero W Broadcom BCM43430 wifi module + NVRAM data. Raspberry Pi 3 Model B+ Broadcom BCM43455 + wifi module NVRAM data. + +comment "brcmfmac-sdio-firmware-rpi-wifi conflicts with linux-firmware Broadcom BRCM bcm43xx" + depends on BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX + +endif diff --git a/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/brcmfmac_sdio-firmware-rpi.hash b/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/brcmfmac_sdio-firmware-rpi.hash new file mode 100644 index 00000000..a12e92cb --- /dev/null +++ b/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/brcmfmac_sdio-firmware-rpi.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 e51b717c2a60ca29fcdd8e04e07c00996226cb48fa56a8ad1934b5f4ddee2e3d brcmfmac_sdio-firmware-rpi-ea9963f3f77b4bb6cd280577eb115152bdd67e8d.tar.gz +sha256 b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d LICENCE.broadcom_bcm43xx diff --git a/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/brcmfmac_sdio-firmware-rpi.mk b/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/brcmfmac_sdio-firmware-rpi.mk new file mode 100644 index 00000000..5332bf53 --- /dev/null +++ b/buildroot-2022.02.1/package/brcmfmac_sdio-firmware-rpi/brcmfmac_sdio-firmware-rpi.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# brcmfmac_sdio-firmware-rpi +# +################################################################################ + +BRCMFMAC_SDIO_FIRMWARE_RPI_VERSION = ea9963f3f77b4bb6cd280577eb115152bdd67e8d +BRCMFMAC_SDIO_FIRMWARE_RPI_SITE = $(call github,LibreELEC,brcmfmac_sdio-firmware-rpi,$(BRCMFMAC_SDIO_FIRMWARE_RPI_VERSION)) +BRCMFMAC_SDIO_FIRMWARE_RPI_LICENSE = PROPRIETARY +BRCMFMAC_SDIO_FIRMWARE_RPI_LICENSE_FILES = LICENCE.broadcom_bcm43xx + +ifeq ($(BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_BT),y) +define BRCMFMAC_SDIO_FIRMWARE_RPI_INSTALL_TARGET_BT + $(INSTALL) -d $(TARGET_DIR)/lib/firmware/brcm + $(INSTALL) -m 0644 $(@D)/firmware/brcm/*.hcd $(TARGET_DIR)/lib/firmware/brcm +endef +endif + +ifeq ($(BR2_PACKAGE_BRCMFMAC_SDIO_FIRMWARE_RPI_WIFI),y) +define BRCMFMAC_SDIO_FIRMWARE_RPI_INSTALL_TARGET_WIFI + $(INSTALL) -d $(TARGET_DIR)/lib/firmware/brcm + $(INSTALL) -m 0644 $(@D)/firmware/brcm/brcmfmac* $(TARGET_DIR)/lib/firmware/brcm + ln -sf ../cypress/cyfmac43430-sdio.bin $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43430-sdio.bin + ln -sf ../cypress/cyfmac43430-sdio.clm_blob $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43430-sdio.clm_blob + ln -sf brcmfmac43430-sdio.txt $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt + ln -sf brcmfmac43430-sdio.txt $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt + ln -sf ../cypress/cyfmac43455-sdio.bin $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43455-sdio.bin + ln -sf ../cypress/cyfmac43455-sdio.clm_blob $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43455-sdio.clm_blob + ln -sf brcmfmac43455-sdio.txt $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-a-plus.txt + ln -sf brcmfmac43455-sdio.txt $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt + ln -sf brcmfmac43455-sdio.txt $(TARGET_DIR)/lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt + $(INSTALL) -d $(TARGET_DIR)/lib/firmware/cypress + $(INSTALL) -m 0644 $(@D)/firmware/cypress/cyfmac* $(TARGET_DIR)/lib/firmware/cypress +endef +endif + +define BRCMFMAC_SDIO_FIRMWARE_RPI_INSTALL_TARGET_CMDS + $(BRCMFMAC_SDIO_FIRMWARE_RPI_INSTALL_TARGET_BT) + $(BRCMFMAC_SDIO_FIRMWARE_RPI_INSTALL_TARGET_WIFI) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/brickd/Config.in b/buildroot-2022.02.1/package/brickd/Config.in similarity index 100% rename from buildroot-2021.05/package/brickd/Config.in rename to buildroot-2022.02.1/package/brickd/Config.in diff --git a/buildroot-2021.05/package/brickd/S70brickd b/buildroot-2022.02.1/package/brickd/S70brickd similarity index 100% rename from buildroot-2021.05/package/brickd/S70brickd rename to buildroot-2022.02.1/package/brickd/S70brickd diff --git a/buildroot-2022.02.1/package/brickd/brickd.hash b/buildroot-2022.02.1/package/brickd/brickd.hash new file mode 100644 index 00000000..be9ad9ed --- /dev/null +++ b/buildroot-2022.02.1/package/brickd/brickd.hash @@ -0,0 +1,5 @@ +# Locally computed hash +sha256 8469b6959a7e32c4b39a56e1a4f7479f785d83e6db3269487f5312f3cf1df382 brickd-v1.2.2-br1.tar.gz + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.txt diff --git a/buildroot-2022.02.1/package/brickd/brickd.mk b/buildroot-2022.02.1/package/brickd/brickd.mk new file mode 100644 index 00000000..f42b3c99 --- /dev/null +++ b/buildroot-2022.02.1/package/brickd/brickd.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# brickd +# +################################################################################ + +BRICKD_VERSION = v1.2.2 +BRICKD_SITE = https://github.com/ev3dev/brickd +BRICKD_SITE_METHOD = git +BRICKD_GIT_SUBMODULES = YES + +BRICKD_LICENSE = GPL-2.0 +BRICKD_LICENSE_FILES = LICENSE.txt + +BRICKD_INSTALL_STAGING = YES +BRICKD_DEPENDENCIES = host-pkgconf host-vala libglib2 libgudev + +define BRICKD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/brickd/S70brickd $(TARGET_DIR)/etc/init.d/S70brickd +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/bridge-utils/0001-fix-build-on-musl.patch b/buildroot-2022.02.1/package/bridge-utils/0001-fix-build-on-musl.patch similarity index 100% rename from buildroot-2021.05/package/bridge-utils/0001-fix-build-on-musl.patch rename to buildroot-2022.02.1/package/bridge-utils/0001-fix-build-on-musl.patch diff --git a/buildroot-2021.05/package/bridge-utils/Config.in b/buildroot-2022.02.1/package/bridge-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/bridge-utils/Config.in rename to buildroot-2022.02.1/package/bridge-utils/Config.in diff --git a/buildroot-2021.05/package/bridge-utils/bridge-utils.hash b/buildroot-2022.02.1/package/bridge-utils/bridge-utils.hash similarity index 100% rename from buildroot-2021.05/package/bridge-utils/bridge-utils.hash rename to buildroot-2022.02.1/package/bridge-utils/bridge-utils.hash diff --git a/buildroot-2021.05/package/bridge-utils/bridge-utils.mk b/buildroot-2022.02.1/package/bridge-utils/bridge-utils.mk similarity index 100% rename from buildroot-2021.05/package/bridge-utils/bridge-utils.mk rename to buildroot-2022.02.1/package/bridge-utils/bridge-utils.mk diff --git a/buildroot-2021.05/package/brltty/0001-Fix-linking-error-on-mips64el.patch b/buildroot-2022.02.1/package/brltty/0001-Fix-linking-error-on-mips64el.patch similarity index 100% rename from buildroot-2021.05/package/brltty/0001-Fix-linking-error-on-mips64el.patch rename to buildroot-2022.02.1/package/brltty/0001-Fix-linking-error-on-mips64el.patch diff --git a/buildroot-2022.02.1/package/brltty/Config.in b/buildroot-2022.02.1/package/brltty/Config.in new file mode 100644 index 00000000..3527df61 --- /dev/null +++ b/buildroot-2022.02.1/package/brltty/Config.in @@ -0,0 +1,23 @@ +config BR2_PACKAGE_BRLTTY + bool "brltty" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID if BR2_PACKAGE_BLUEZ5_UTILS && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # runtime + help + A daemon providing access to the Linux console for a blind + person using a refreshable braille display. + + http://brltty.app/ + +if BR2_PACKAGE_BRLTTY + +config BR2_PACKAGE_BRLTTY_TEXT_TABLE + string "text-table" + +endif + +comment "brltty needs a toolchain w/ dynamic lib, threads, wchar" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/brltty/S10brltty b/buildroot-2022.02.1/package/brltty/S10brltty similarity index 100% rename from buildroot-2021.05/package/brltty/S10brltty rename to buildroot-2022.02.1/package/brltty/S10brltty diff --git a/buildroot-2022.02.1/package/brltty/brltty.hash b/buildroot-2022.02.1/package/brltty/brltty.hash new file mode 100644 index 00000000..cec074d8 --- /dev/null +++ b/buildroot-2022.02.1/package/brltty/brltty.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 bc7573b0d0ab865c36607945b64c209312405571788f3b409397726f6143eaa6 brltty-6.4.tar.xz +sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f LICENSE-LGPL +sha256 429be921e6bf783303a1f94cbb7f29dc4f0839e47efe38150b808f886028f4df README diff --git a/buildroot-2022.02.1/package/brltty/brltty.mk b/buildroot-2022.02.1/package/brltty/brltty.mk new file mode 100644 index 00000000..600bf596 --- /dev/null +++ b/buildroot-2022.02.1/package/brltty/brltty.mk @@ -0,0 +1,140 @@ +################################################################################ +# +# brltty +# +################################################################################ + +BRLTTY_VERSION = 6.4 +BRLTTY_SOURCE = brltty-$(BRLTTY_VERSION).tar.xz +BRLTTY_SITE = http://brltty.com/archive +BRLTTY_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install +BRLTTY_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install +BRLTTY_LICENSE = LGPL-2.1+ +BRLTTY_LICENSE_FILES = LICENSE-LGPL README + +BRLTTY_DEPENDENCIES = \ + $(TARGET_NLS_DEPENDENCIES) \ + host-autoconf \ + host-gawk \ + host-pkgconf \ + $(if $(BR2_PACKAGE_AT_SPI2_CORE),at-spi2-core) + +BRLTTY_CONF_ENV = \ + PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/bin/pkgconf + +BRLTTY_CONF_OPTS = \ + --disable-java-bindings \ + --disable-lisp-bindings \ + --disable-ocaml-bindings \ + --disable-python-bindings \ + --disable-tcl-bindings \ + --disable-x \ + --without-espeak-ng \ + --without-midi-package \ + --without-mikropuhe --without-speechd --without-swift \ + --without-theta + +# Autoreconf is needed because we're patching configure.ac in +# 0001-Fix-linking-error-on-mips64el. However, a plain autoreconf doesn't work, +# because this package is only autoconf-based. +define BRLTTY_AUTOCONF + cd $(BRLTTY_SRCDIR) && $(AUTOCONF) +endef + +BRLTTY_PRE_CONFIGURE_HOOKS += BRLTTY_AUTOCONF + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) +BRLTTY_DEPENDENCIES += bluez5_utils +BRLTTY_CONF_OPTS += --with-bluetooth-package +else +BRLTTY_CONF_OPTS += --without-bluetooth-package +endif + +ifeq ($(BR2_PACKAGE_ESPEAK),y) +BRLTTY_DEPENDENCIES += espeak +BRLTTY_CONF_OPTS += --with-espeak=$(TARGET_DIR)/usr +else +BRLTTY_CONF_OPTS += --without-espeak +endif + +ifeq ($(BR2_PACKAGE_EXPAT),y) +# host-expat is needed by tbl2hex's host program +BRLTTY_DEPENDENCIES += host-expat expat +BRLTTY_CONF_OPTS += --enable-expat +else +BRLTTY_CONF_OPTS += --disable-expat +endif + +ifeq ($(BR2_PACKAGE_FLITE),y) +BRLTTY_DEPENDENCIES += flite +BRLTTY_CONF_OPTS += --with-flite=$(STAGING_DIR)/usr +else +BRLTTY_CONF_OPTS += --without-flite +endif + +ifeq ($(BR2_PACKAGE_ICU),y) +BRLTTY_DEPENDENCIES += icu +BRLTTY_CONF_OPTS += --enable-icu +else +BRLTTY_CONF_OPTS += --disable-icu +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) +BRLTTY_DEPENDENCIES += ncurses +BRLTTY_CONF_OPTS += --with-curses +else +BRLTTY_CONF_OPTS += --without-curses +endif + +ifeq ($(BR2_PACKAGE_PCRE2_32),y) +BRLTTY_DEPENDENCIES += pcre2 +BRLTTY_CONF_OPTS += --with-rgx-package +else ifeq ($(BR2_PACKAGE_PCRE_32),y) +BRLTTY_DEPENDENCIES += pcre +BRLTTY_CONF_OPTS += --with-rgx-package +else +BRLTTY_CONF_OPTS += --without-rgx-package +endif + +ifeq ($(BR2_PACKAGE_POLKIT),y) +BRLTTY_DEPENDENCIES += polkit +BRLTTY_CONF_OPTS += --enable-polkit +else +BRLTTY_CONF_OPTS += --disable-polkit +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +BRLTTY_DEPENDENCIES += systemd +BRLTTY_CONF_OPTS += --with-service-package +else +BRLTTY_CONF_OPTS += --without-service-package +endif + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +BRLTTY_CONF_OPTS += --enable-i18n +else +BRLTTY_CONF_OPTS += --disable-i18n +endif + +BRLTTY_TEXT_TABLE = $(call qstrip,$(BR2_PACKAGE_BRLTTY_TEXT_TABLE)) +ifneq ($(BRLTTY_TEXT_TABLE),) +BRLTTY_CONF_OPTS += --with-text-table=$(BRLTTY_TEXT_TABLE) +endif + +define BRLTTY_INSTALL_CONF + $(INSTALL) -D -m 644 $(@D)/Documents/brltty.conf $(TARGET_DIR)/etc/brltty.conf +endef + +BRLTTY_POST_INSTALL_TARGET_HOOKS += BRLTTY_INSTALL_CONF + +define BRLTTY_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/brltty/S10brltty \ + $(TARGET_DIR)/etc/init.d/S10brltty +endef + +define BRLTTY_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/brltty/brltty.service \ + $(TARGET_DIR)/usr/lib/systemd/system/brltty.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/brltty/brltty.service b/buildroot-2022.02.1/package/brltty/brltty.service similarity index 100% rename from buildroot-2021.05/package/brltty/brltty.service rename to buildroot-2022.02.1/package/brltty/brltty.service diff --git a/buildroot-2021.05/package/brotli/0001-CMake-Allow-using-BUILD_SHARED_LIBS-to-choose-static.patch b/buildroot-2022.02.1/package/brotli/0001-CMake-Allow-using-BUILD_SHARED_LIBS-to-choose-static.patch similarity index 100% rename from buildroot-2021.05/package/brotli/0001-CMake-Allow-using-BUILD_SHARED_LIBS-to-choose-static.patch rename to buildroot-2022.02.1/package/brotli/0001-CMake-Allow-using-BUILD_SHARED_LIBS-to-choose-static.patch diff --git a/buildroot-2021.05/package/brotli/0002-Revert-Add-runtime-linker-path-to-pkg-config-files.patch b/buildroot-2022.02.1/package/brotli/0002-Revert-Add-runtime-linker-path-to-pkg-config-files.patch similarity index 100% rename from buildroot-2021.05/package/brotli/0002-Revert-Add-runtime-linker-path-to-pkg-config-files.patch rename to buildroot-2022.02.1/package/brotli/0002-Revert-Add-runtime-linker-path-to-pkg-config-files.patch diff --git a/buildroot-2021.05/package/brotli/Config.in b/buildroot-2022.02.1/package/brotli/Config.in similarity index 100% rename from buildroot-2021.05/package/brotli/Config.in rename to buildroot-2022.02.1/package/brotli/Config.in diff --git a/buildroot-2021.05/package/brotli/brotli.hash b/buildroot-2022.02.1/package/brotli/brotli.hash similarity index 100% rename from buildroot-2021.05/package/brotli/brotli.hash rename to buildroot-2022.02.1/package/brotli/brotli.hash diff --git a/buildroot-2021.05/package/brotli/brotli.mk b/buildroot-2022.02.1/package/brotli/brotli.mk similarity index 100% rename from buildroot-2021.05/package/brotli/brotli.mk rename to buildroot-2022.02.1/package/brotli/brotli.mk diff --git a/buildroot-2021.05/package/bsdiff/0001-Add-missing-header-for-u_char.patch b/buildroot-2022.02.1/package/bsdiff/0001-Add-missing-header-for-u_char.patch similarity index 100% rename from buildroot-2021.05/package/bsdiff/0001-Add-missing-header-for-u_char.patch rename to buildroot-2022.02.1/package/bsdiff/0001-Add-missing-header-for-u_char.patch diff --git a/buildroot-2021.05/package/bsdiff/Config.in b/buildroot-2022.02.1/package/bsdiff/Config.in similarity index 100% rename from buildroot-2021.05/package/bsdiff/Config.in rename to buildroot-2022.02.1/package/bsdiff/Config.in diff --git a/buildroot-2021.05/package/bsdiff/bsdiff.hash b/buildroot-2022.02.1/package/bsdiff/bsdiff.hash similarity index 100% rename from buildroot-2021.05/package/bsdiff/bsdiff.hash rename to buildroot-2022.02.1/package/bsdiff/bsdiff.hash diff --git a/buildroot-2021.05/package/bsdiff/bsdiff.mk b/buildroot-2022.02.1/package/bsdiff/bsdiff.mk similarity index 100% rename from buildroot-2021.05/package/bsdiff/bsdiff.mk rename to buildroot-2022.02.1/package/bsdiff/bsdiff.mk diff --git a/buildroot-2022.02.1/package/btrfs-progs/0001-btrfs-progs-include-linux-const-h-to-fix-build-with-5-12-headers.patch b/buildroot-2022.02.1/package/btrfs-progs/0001-btrfs-progs-include-linux-const-h-to-fix-build-with-5-12-headers.patch new file mode 100644 index 00000000..b6c1a424 --- /dev/null +++ b/buildroot-2022.02.1/package/btrfs-progs/0001-btrfs-progs-include-linux-const-h-to-fix-build-with-5-12-headers.patch @@ -0,0 +1,43 @@ +From b28f7bd9bba6f65258da48955154794f466b4104 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield +Date: Thu, 30 Dec 2021 15:23:59 +0200 +Subject: [PATCH] btrfs-progs: include linux/const.h to fix build with 5.12+ + headers + +btrfs-tools compile fails with mips, musl and 5.12+ headers. + +The definition of __ALIGN_KERNEL has moved in 5.12+ kernels, so we +add an explicit include of const.h to pickup the macro: + + | make: *** [Makefile:595: mkfs.btrfs] Error 1 + | make: *** Waiting for unfinished jobs.... + | libbtrfs.a(volumes.o): in function `dev_extent_search_start': + | /usr/src/debug/btrfs-tools/5.12.1-r0/git/kernel-shared/volumes.c:464: undefined reference to `__ALIGN_KERNEL' + | collect2: error: ld returned 1 exit status + +This is safe for older kernel's as well, since the header still +exists, and is valid to include. + +Signed-off-by: Bruce Ashfield +[remove invalid OE Upstream-status] +Signed-off-by: Stijn Tintel +Signed-off-by: David Sterba +[Retrieved from: +https://github.com/kdave/btrfs-progs/commit/b28f7bd9bba6f65258da48955154794f466b4104] +Signed-off-by: Fabrice Fontaine +--- + kerncompat.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/kerncompat.h b/kerncompat.h +index df167fe6c..2503d1afa 100644 +--- a/kerncompat.h ++++ b/kerncompat.h +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + #include + + #include diff --git a/buildroot-2022.02.1/package/btrfs-progs/0002-btrfs-progs-include-sys-sysinfo-h-conditionally-on-musl.patch b/buildroot-2022.02.1/package/btrfs-progs/0002-btrfs-progs-include-sys-sysinfo-h-conditionally-on-musl.patch new file mode 100644 index 00000000..7473fe67 --- /dev/null +++ b/buildroot-2022.02.1/package/btrfs-progs/0002-btrfs-progs-include-sys-sysinfo-h-conditionally-on-musl.patch @@ -0,0 +1,49 @@ +From a2511aaa85c8d95d12805dfdcbb5667fa3e30ba5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 8 Jan 2022 22:44:44 +0100 +Subject: [PATCH] btrfs-progs: include sys/sysinfo.h conditionally on musl + +Make inclusion of sys/sysinfo.h conditional to avoid the following build +failure on musl: + +In file included from .../i586-buildroot-linux-musl/sysroot/usr/include/linux/kernel.h:4, + from ./kerncompat.h:31, + from common/utils.c:42: +.../i586-buildroot-linux-musl/sysroot/usr/include/linux/sysinfo.h:7:8: error: redefinition of 'struct sysinfo' + 7 | struct sysinfo { + | ^~~~~~~ +In file included from common/utils.c:27: +.../i586-buildroot-linux-musl/sysroot/usr/include/sys/sysinfo.h:10:8: note: originally defined here + 10 | struct sysinfo { + | ^~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/16f44fb9dea72a7079e8e5517e760dd79d2724cc + +The 'struct sysinfo' is defined in linux/sysinfo.h and sys/sysinfo.h, +while both must not be included at the same time. Stop including +linux/kernel.h that sometimes unconditionally includes sys/sysinfo.h and +causes the double definition for some reason. As we now include +linux/const.h directly, there's no other effective change. + +Pull-request: #433 +Signed-off-by: Fabrice Fontaine +Signed-off-by: David Sterba +[Retrieved from: +https://github.com/kdave/btrfs-progs/commit/a2511aaa85c8d95d12805dfdcbb5667fa3e30ba5] +--- + kerncompat.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/kerncompat.h b/kerncompat.h +index 2503d1afa..6ca1526e2 100644 +--- a/kerncompat.h ++++ b/kerncompat.h +@@ -28,7 +28,6 @@ + #include + #include + #include +-#include + #include + #include + diff --git a/buildroot-2022.02.1/package/btrfs-progs/0003-btrfs-progs-kerncompat-add-local-definition-for-alignment-macros.patch b/buildroot-2022.02.1/package/btrfs-progs/0003-btrfs-progs-kerncompat-add-local-definition-for-alignment-macros.patch new file mode 100644 index 00000000..86c63edc --- /dev/null +++ b/buildroot-2022.02.1/package/btrfs-progs/0003-btrfs-progs-kerncompat-add-local-definition-for-alignment-macros.patch @@ -0,0 +1,46 @@ +From b0cfe12c4d4b8b4ef335cdf4ddefcbdcd1b70d58 Mon Sep 17 00:00:00 2001 +From: David Sterba +Date: Thu, 13 Jan 2022 14:47:08 +0100 +Subject: [PATCH] btrfs-progs: kerncompat: add local definition for alignment + macros + +There's still problem left with compilation on musl and kernel < 5.11, +because __ALIGN_KERNEL is not defined anymore: + +../bin/ld: kernel-shared/volumes.o: in function `create_chunk': +volumes.c:(.text+0x17f8): undefined reference to `__ALIGN_KERNEL' + +Due to the entangled includes and unconditional definition of +__ALIGN_KERNEL, we can't use #ifdef in kerncompat.h to define it +eventually (as kerncompat.h is the first include). Instead add local +definitions of the macros and rename them to avoid name clashes. + +Pull-request: #433 +Signed-off-by: David Sterba +[Retrieved from: +https://github.com/kdave/btrfs-progs/commit/b0cfe12c4d4b8b4ef335cdf4ddefcbdcd1b70d58] +Signed-off-by: Fabrice Fontaine +--- + kerncompat.h | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/kerncompat.h b/kerncompat.h +index 6ca1526e2..f0a6e196e 100644 +--- a/kerncompat.h ++++ b/kerncompat.h +@@ -359,7 +359,14 @@ do { \ + + /* Alignment check */ + #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) +-#define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) ++ ++/* ++ * Alignment, copied and renamed from /usr/include/linux/const.h to work around ++ * issues caused by moving the definition in 5.12 ++ */ ++#define __ALIGN_KERNEL__(x, a) __ALIGN_KERNEL_MASK__(x, (typeof(x))(a) - 1) ++#define __ALIGN_KERNEL_MASK__(x, mask) (((x) + (mask)) & ~(mask)) ++#define ALIGN(x, a) __ALIGN_KERNEL__((x), (a)) + + static inline int is_power_of_2(unsigned long n) + { diff --git a/buildroot-2021.05/package/btrfs-progs/Config.in b/buildroot-2022.02.1/package/btrfs-progs/Config.in similarity index 100% rename from buildroot-2021.05/package/btrfs-progs/Config.in rename to buildroot-2022.02.1/package/btrfs-progs/Config.in diff --git a/buildroot-2021.05/package/btrfs-progs/Config.in.host b/buildroot-2022.02.1/package/btrfs-progs/Config.in.host similarity index 100% rename from buildroot-2021.05/package/btrfs-progs/Config.in.host rename to buildroot-2022.02.1/package/btrfs-progs/Config.in.host diff --git a/buildroot-2022.02.1/package/btrfs-progs/btrfs-progs.hash b/buildroot-2022.02.1/package/btrfs-progs/btrfs-progs.hash new file mode 100644 index 00000000..339eab02 --- /dev/null +++ b/buildroot-2022.02.1/package/btrfs-progs/btrfs-progs.hash @@ -0,0 +1,5 @@ +# From https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/sha256sums.asc +sha256 6230f8f33961bd62633d601b0d049a3c6b833c1a1a7a2f2782d0c5796e7ab920 btrfs-progs-v5.15.1.tar.xz +# Locally computed +sha256 0d5bf346df9e635a29dcdddf832dc5b002ca6cdc1c5c9c6c567d2a61bb0c5c15 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 libbtrfsutil/COPYING diff --git a/buildroot-2022.02.1/package/btrfs-progs/btrfs-progs.mk b/buildroot-2022.02.1/package/btrfs-progs/btrfs-progs.mk new file mode 100644 index 00000000..54922df8 --- /dev/null +++ b/buildroot-2022.02.1/package/btrfs-progs/btrfs-progs.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# btrfs-progs +# +################################################################################ + +BTRFS_PROGS_VERSION = 5.15.1 +BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs +BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz +BTRFS_PROGS_DEPENDENCIES = host-pkgconf lzo util-linux zlib +BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-python +BTRFS_PROGS_LICENSE = GPL-2.0, LGPL-2.1+ (libbtrfsutil) +BTRFS_PROGS_LICENSE_FILES = COPYING libbtrfsutil/COPYING +BTRFS_PROGS_INSTALL_STAGING = YES + +# Doesn't autodetect static-only and tries to build both +ifeq ($(BR2_STATIC_LIBS),y) +BTRFS_PROGS_MAKE_OPTS = static +BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static +BTRFS_PROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static +endif + +# convert also supports conversion from reiserfs, which needs some +# reiserfs libraries, but we have no package for them in Buildroot, so +# we keep things simple and only handle ext2. +ifeq ($(BR2_PACKAGE_E2FSPROGS),y) +BTRFS_PROGS_CONF_OPTS += --enable-convert --with-convert=ext2 +BTRFS_PROGS_DEPENDENCIES += e2fsprogs +else +BTRFS_PROGS_CONF_OPTS += --disable-convert +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +BTRFS_PROGS_CONF_OPTS += --enable-zstd +BTRFS_PROGS_DEPENDENCIES += zstd +else +BTRFS_PROGS_CONF_OPTS += --disable-zstd +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +BTRFS_PROGS_CONF_OPTS += --enable-libudev +BTRFS_PROGS_DEPENDENCIES += udev +else +BTRFS_PROGS_CONF_OPTS += --disable-libudev +endif + +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10),y) +BTRFS_PROGS_CONF_OPTS += --enable-zoned +else +BTRFS_PROGS_CONF_OPTS += --disable-zoned +endif + +HOST_BTRFS_PROGS_DEPENDENCIES = host-util-linux host-lzo host-zlib +HOST_BTRFS_PROGS_CONF_OPTS = \ + --disable-backtrace \ + --disable-libudev \ + --disable-zoned \ + --disable-zstd \ + --disable-python \ + --disable-convert + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/bubblewrap/Config.in b/buildroot-2022.02.1/package/bubblewrap/Config.in similarity index 100% rename from buildroot-2021.05/package/bubblewrap/Config.in rename to buildroot-2022.02.1/package/bubblewrap/Config.in diff --git a/buildroot-2022.02.1/package/bubblewrap/bubblewrap.hash b/buildroot-2022.02.1/package/bubblewrap/bubblewrap.hash new file mode 100644 index 00000000..88aba150 --- /dev/null +++ b/buildroot-2022.02.1/package/bubblewrap/bubblewrap.hash @@ -0,0 +1,5 @@ +# From https://github.com/containers/bubblewrap/releases/tag/v0.5.0 +sha256 16fdaf33799d63104e347e0133f909196fe90d0c50515d010bcb422eb5a00818 bubblewrap-0.5.0.tar.xz + +# Hash for license files: +sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/buildroot-2022.02.1/package/bubblewrap/bubblewrap.mk b/buildroot-2022.02.1/package/bubblewrap/bubblewrap.mk new file mode 100644 index 00000000..5f3d95e8 --- /dev/null +++ b/buildroot-2022.02.1/package/bubblewrap/bubblewrap.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# bubblewrap +# +################################################################################ + +BUBBLEWRAP_VERSION = 0.5.0 +BUBBLEWRAP_SITE = https://github.com/containers/bubblewrap/releases/download/v$(BUBBLEWRAP_VERSION) +BUBBLEWRAP_SOURCE = bubblewrap-$(BUBBLEWRAP_VERSION).tar.xz +BUBBLEWRAP_DEPENDENCIES = host-pkgconf libcap + +BUBBLEWRAP_LICENSE = LGPL-2.0+ +BUBBLEWRAP_LICENSE_FILES = COPYING +BUBBLEWRAP_CPE_ID_VENDOR = projectatomic + +BUBBLEWRAP_CONF_OPTS = \ + --enable-require-userns=no \ + --disable-man \ + --disable-sudo \ + --with-priv-mode=none + +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +BUBBLEWRAP_CONF_OPTS += --with-bash-completion-dir=/usr/share/bash-completion/completions +else +BUBBLEWRAP_CONF_OPTS += --without-bash-completion-dir +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +BUBBLEWRAP_CONF_OPTS += --enable-selinux +BUBBLEWRAP_DEPENDENCIES += libselinux +else +BUBBLEWRAP_CONF_OPTS += --disable-selinux +endif + +# We need to mark bwrap as setuid, in case the kernel +# has user namespaces disabled for non-root users. +define BUBBLEWRAP_PERMISSIONS + /usr/bin/bwrap f 1755 0 0 - - - - - +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/bullet/Config.in b/buildroot-2022.02.1/package/bullet/Config.in similarity index 100% rename from buildroot-2021.05/package/bullet/Config.in rename to buildroot-2022.02.1/package/bullet/Config.in diff --git a/buildroot-2022.02.1/package/bullet/bullet.hash b/buildroot-2022.02.1/package/bullet/bullet.hash new file mode 100644 index 00000000..5c70c683 --- /dev/null +++ b/buildroot-2022.02.1/package/bullet/bullet.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 49d1ee47aa8cbb0bc6bb459f0a4cfb9579b40e28f5c7d9a36c313e3031fb3965 bullet-3.21.tar.gz +sha256 885cd516a8420acb7c3e0b1a7119913b686495001ae564e3229740460e8cff59 LICENSE.txt diff --git a/buildroot-2022.02.1/package/bullet/bullet.mk b/buildroot-2022.02.1/package/bullet/bullet.mk new file mode 100644 index 00000000..9afd922e --- /dev/null +++ b/buildroot-2022.02.1/package/bullet/bullet.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# bullet +# +################################################################################ + +BULLET_VERSION = 3.21 +BULLET_SITE = $(call github,bulletphysics,bullet3,$(BULLET_VERSION)) +BULLET_INSTALL_STAGING = YES +BULLET_LICENSE = Zlib +BULLET_LICENSE_FILES = LICENSE.txt + +# Disable unit tests. +# Don't disable demos apps and Bullet3 library to avoid a build failure: +# https://github.com/bulletphysics/bullet3/issues/3143 +BULLET_CONF_OPTS = -DBUILD_UNIT_TESTS=OFF + +# extras needs dlfcn.h and NPTL (pthread_barrier_init) +ifeq ($(BR2_STATIC_LIBS):$(BR2_TOOLCHAIN_HAS_THREADS_NPTL),:y) +BULLET_CONF_OPTS += -DBUILD_EXTRAS=ON +else +BULLET_CONF_OPTS += -DBUILD_EXTRAS=OFF +endif + +BULLET_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifneq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180)$(BR2_TOOLCHAIN_HAS_GCC_BUG_101952),) +BULLET_CXXFLAGS += -O0 +endif + +BULLET_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(BULLET_CXXFLAGS)" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/bustle/Config.in b/buildroot-2022.02.1/package/bustle/Config.in similarity index 100% rename from buildroot-2021.05/package/bustle/Config.in rename to buildroot-2022.02.1/package/bustle/Config.in diff --git a/buildroot-2021.05/package/bustle/bustle.hash b/buildroot-2022.02.1/package/bustle/bustle.hash similarity index 100% rename from buildroot-2021.05/package/bustle/bustle.hash rename to buildroot-2022.02.1/package/bustle/bustle.hash diff --git a/buildroot-2021.05/package/bustle/bustle.mk b/buildroot-2022.02.1/package/bustle/bustle.mk similarity index 100% rename from buildroot-2021.05/package/bustle/bustle.mk rename to buildroot-2022.02.1/package/bustle/bustle.mk diff --git a/buildroot-2022.02.1/package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch b/buildroot-2022.02.1/package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch new file mode 100644 index 00000000..9b5eaf89 --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/0001-networking-libiproute-use-linux-if_packet.h-instead-.patch @@ -0,0 +1,37 @@ +From 60da1d0763224698008d847eb8ad8d4d8c6f54ff Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 5 Oct 2013 15:55:06 +0200 +Subject: [PATCH] networking/libiproute: use instead of + + +The musl C library doesn't provide the since the +corresponding kernel headers already provides the +necessary definitions. Replacing by + also removes the need to include + + +This commit fixes the build of iplink with the musl C library. + +Signed-off-by: Thomas Petazzoni +[Gustavo: update for busybox 1.22.0] +Signed-off-by: Petr Vorel +--- + networking/libiproute/iplink.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c +index 1a1064bdc..a4c3ad307 100644 +--- a/networking/libiproute/iplink.c ++++ b/networking/libiproute/iplink.c +@@ -7,7 +7,7 @@ + */ + #include + /*#include - not needed? */ +-#include ++#include + #include + + #include +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch b/buildroot-2022.02.1/package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch new file mode 100644 index 00000000..3a942410 --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch @@ -0,0 +1,33 @@ +From 59daea82e7b5abcdb42a4f97a0109f14d5a774ea Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Mon, 25 Nov 2013 22:51:53 +0100 +Subject: [PATCH] Makefile.flags: strip non -l arguments returned by + pkg-config + +Signed-off-by: Thomas Petazzoni +[yann.morin.1998@free.fr: refresh for 1.29.0] +[petr.vorel@gmail.com: refresh for 1.32.0] +Signed-off-by: "Yann E. MORIN" +Signed-off-by: Petr Vorel +--- + Makefile.flags | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/Makefile.flags b/Makefile.flags +index 667481983..88d76efec 100644 +--- a/Makefile.flags ++++ b/Makefile.flags +@@ -180,7 +180,9 @@ ifeq ($(CONFIG_SELINUX),y) + SELINUX_PC_MODULES = libselinux libsepol + $(eval $(call pkg_check_modules,SELINUX,$(SELINUX_PC_MODULES))) + CPPFLAGS += $(SELINUX_CFLAGS) +-LDLIBS += $(if $(SELINUX_LIBS),$(SELINUX_LIBS:-l%=%),$(SELINUX_PC_MODULES:lib%=%)) ++LDLIBS += $(if $(SELINUX_LIBS),\ ++ $(patsubst -l%,%,$(filter -l%,$(SELINUX_LIBS))),\ ++ $(SELINUX_PC_MODULES:lib%=%)) + endif + + ifeq ($(CONFIG_FEATURE_NSLOOKUP_BIG),y) +-- +2.33.0 + diff --git a/buildroot-2021.05/package/busybox/Config.in b/buildroot-2022.02.1/package/busybox/Config.in similarity index 100% rename from buildroot-2021.05/package/busybox/Config.in rename to buildroot-2022.02.1/package/busybox/Config.in diff --git a/buildroot-2021.05/package/busybox/S01syslogd b/buildroot-2022.02.1/package/busybox/S01syslogd similarity index 100% rename from buildroot-2021.05/package/busybox/S01syslogd rename to buildroot-2022.02.1/package/busybox/S01syslogd diff --git a/buildroot-2021.05/package/busybox/S02klogd b/buildroot-2022.02.1/package/busybox/S02klogd similarity index 100% rename from buildroot-2021.05/package/busybox/S02klogd rename to buildroot-2022.02.1/package/busybox/S02klogd diff --git a/buildroot-2021.05/package/busybox/S02sysctl b/buildroot-2022.02.1/package/busybox/S02sysctl similarity index 100% rename from buildroot-2021.05/package/busybox/S02sysctl rename to buildroot-2022.02.1/package/busybox/S02sysctl diff --git a/buildroot-2021.05/package/busybox/S10mdev b/buildroot-2022.02.1/package/busybox/S10mdev similarity index 100% rename from buildroot-2021.05/package/busybox/S10mdev rename to buildroot-2022.02.1/package/busybox/S10mdev diff --git a/buildroot-2021.05/package/busybox/S15watchdog b/buildroot-2022.02.1/package/busybox/S15watchdog similarity index 100% rename from buildroot-2021.05/package/busybox/S15watchdog rename to buildroot-2022.02.1/package/busybox/S15watchdog diff --git a/buildroot-2021.05/package/busybox/S50telnet b/buildroot-2022.02.1/package/busybox/S50telnet similarity index 100% rename from buildroot-2021.05/package/busybox/S50telnet rename to buildroot-2022.02.1/package/busybox/S50telnet diff --git a/buildroot-2022.02.1/package/busybox/busybox-minimal.config b/buildroot-2022.02.1/package/busybox/busybox-minimal.config new file mode 100644 index 00000000..1fb4e39e --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/busybox-minimal.config @@ -0,0 +1,1212 @@ +# +# Automatically generated make config: don't edit +# Busybox version: 1.35.0 +# Thu Jan 27 10:16:03 2022 +# +CONFIG_HAVE_DOT_CONFIG=y + +# +# Settings +# +# CONFIG_DESKTOP is not set +# CONFIG_EXTRA_COMPAT is not set +# CONFIG_FEDORA_COMPAT is not set +CONFIG_INCLUDE_SUSv2=y +CONFIG_LONG_OPTS=y +# CONFIG_SHOW_USAGE is not set +# CONFIG_FEATURE_VERBOSE_USAGE is not set +# CONFIG_FEATURE_COMPRESS_USAGE is not set +CONFIG_LFS=y +# CONFIG_PAM is not set +CONFIG_FEATURE_DEVPTS=y +CONFIG_FEATURE_UTMP=y +CONFIG_FEATURE_WTMP=y +# CONFIG_FEATURE_PIDFILE is not set +CONFIG_PID_FILE_PATH="" +CONFIG_BUSYBOX=y +CONFIG_FEATURE_SHOW_SCRIPT=y +CONFIG_FEATURE_INSTALLER=y +# CONFIG_INSTALL_NO_USR is not set +CONFIG_FEATURE_SUID=y +# CONFIG_FEATURE_SUID_CONFIG is not set +# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set +# CONFIG_FEATURE_PREFER_APPLETS is not set +CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" +# CONFIG_SELINUX is not set +# CONFIG_FEATURE_CLEAN_UP is not set +CONFIG_FEATURE_SYSLOG_INFO=y +CONFIG_FEATURE_SYSLOG=y + +# +# Build Options +# +CONFIG_STATIC=y +# CONFIG_PIE is not set +# CONFIG_NOMMU is not set +# CONFIG_BUILD_LIBBUSYBOX is not set +# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set +# CONFIG_FEATURE_INDIVIDUAL is not set +# CONFIG_FEATURE_SHARED_BUSYBOX is not set +CONFIG_CROSS_COMPILER_PREFIX="" +CONFIG_SYSROOT="" +CONFIG_EXTRA_CFLAGS="" +CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDLIBS="" +# CONFIG_USE_PORTABLE_CODE is not set +CONFIG_STACK_OPTIMIZATION_386=y +CONFIG_STATIC_LIBGCC=y + +# +# Installation Options ("make install" behavior) +# +CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# CONFIG_INSTALL_APPLET_DONT is not set +# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set +# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set +# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set +CONFIG_PREFIX="./_install" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_DEBUG_PESSIMIZE is not set +# CONFIG_DEBUG_SANITIZE is not set +# CONFIG_UNIT_TEST is not set +# CONFIG_WERROR is not set +# CONFIG_WARN_SIMPLE_MSG is not set +CONFIG_NO_DEBUG_LIB=y +# CONFIG_DMALLOC is not set +# CONFIG_EFENCE is not set + +# +# Library Tuning +# +# CONFIG_FEATURE_USE_BSS_TAIL is not set +CONFIG_FLOAT_DURATION=y +CONFIG_FEATURE_RTMINMAX=y +CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS=y +CONFIG_FEATURE_BUFFERS_USE_MALLOC=y +# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set +# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set +CONFIG_PASSWORD_MINLEN=6 +CONFIG_MD5_SMALL=1 +CONFIG_SHA3_SMALL=1 +CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_FEATURE_USE_SENDFILE=y +CONFIG_FEATURE_COPYBUF_KB=4 +CONFIG_MONOTONIC_SYSCALL=y +CONFIG_IOCTL_HEX2STR_ERROR=y +CONFIG_FEATURE_EDITING=y +CONFIG_FEATURE_EDITING_MAX_LEN=1024 +CONFIG_FEATURE_EDITING_VI=y +CONFIG_FEATURE_EDITING_HISTORY=999 +CONFIG_FEATURE_EDITING_SAVEHISTORY=y +# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set +CONFIG_FEATURE_REVERSE_SEARCH=y +CONFIG_FEATURE_TAB_COMPLETION=y +# CONFIG_FEATURE_USERNAME_COMPLETION is not set +CONFIG_FEATURE_EDITING_FANCY_PROMPT=y +CONFIG_FEATURE_EDITING_WINCH=y +# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set +# CONFIG_LOCALE_SUPPORT is not set +# CONFIG_UNICODE_SUPPORT is not set +# CONFIG_UNICODE_USING_LOCALE is not set +# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set +CONFIG_SUBST_WCHAR=0 +CONFIG_LAST_SUPPORTED_WCHAR=0 +# CONFIG_UNICODE_COMBINING_WCHARS is not set +# CONFIG_UNICODE_WIDE_WCHARS is not set +# CONFIG_UNICODE_BIDI_SUPPORT is not set +# CONFIG_UNICODE_NEUTRAL_TABLE is not set +# CONFIG_UNICODE_PRESERVE_BROKEN is not set + +# +# Applets +# + +# +# Archival Utilities +# +# CONFIG_FEATURE_SEAMLESS_XZ is not set +# CONFIG_FEATURE_SEAMLESS_LZMA is not set +# CONFIG_FEATURE_SEAMLESS_BZ2 is not set +# CONFIG_FEATURE_SEAMLESS_GZ is not set +# CONFIG_FEATURE_SEAMLESS_Z is not set +# CONFIG_AR is not set +# CONFIG_FEATURE_AR_LONG_FILENAMES is not set +# CONFIG_FEATURE_AR_CREATE is not set +# CONFIG_UNCOMPRESS is not set +# CONFIG_GUNZIP is not set +CONFIG_ZCAT=y +# CONFIG_FEATURE_GUNZIP_LONG_OPTIONS is not set +# CONFIG_BUNZIP2 is not set +CONFIG_BZCAT=y +# CONFIG_UNLZMA is not set +CONFIG_LZCAT=y +# CONFIG_LZMA is not set +# CONFIG_UNXZ is not set +CONFIG_XZCAT=y +# CONFIG_XZ is not set +# CONFIG_BZIP2 is not set +CONFIG_BZIP2_SMALL=0 +CONFIG_FEATURE_BZIP2_DECOMPRESS=y +# CONFIG_CPIO is not set +# CONFIG_FEATURE_CPIO_O is not set +# CONFIG_FEATURE_CPIO_P is not set +# CONFIG_FEATURE_CPIO_IGNORE_DEVNO is not set +# CONFIG_FEATURE_CPIO_RENUMBER_INODES is not set +# CONFIG_DPKG is not set +# CONFIG_DPKG_DEB is not set +# CONFIG_GZIP is not set +# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set +CONFIG_GZIP_FAST=0 +# CONFIG_FEATURE_GZIP_LEVELS is not set +CONFIG_FEATURE_GZIP_DECOMPRESS=y +# CONFIG_LZOP is not set +CONFIG_UNLZOP=y +CONFIG_LZOPCAT=y +# CONFIG_LZOP_COMPR_HIGH is not set +# CONFIG_RPM is not set +# CONFIG_RPM2CPIO is not set +# CONFIG_TAR is not set +# CONFIG_FEATURE_TAR_LONG_OPTIONS is not set +# CONFIG_FEATURE_TAR_CREATE is not set +# CONFIG_FEATURE_TAR_AUTODETECT is not set +# CONFIG_FEATURE_TAR_FROM is not set +# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set +# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set +# CONFIG_FEATURE_TAR_GNU_EXTENSIONS is not set +# CONFIG_FEATURE_TAR_TO_COMMAND is not set +# CONFIG_FEATURE_TAR_UNAME_GNAME is not set +# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +# CONFIG_FEATURE_TAR_SELINUX is not set +# CONFIG_UNZIP is not set +# CONFIG_FEATURE_UNZIP_CDF is not set +# CONFIG_FEATURE_UNZIP_BZIP2 is not set +# CONFIG_FEATURE_UNZIP_LZMA is not set +# CONFIG_FEATURE_UNZIP_XZ is not set +# CONFIG_FEATURE_LZMA_FAST is not set + +# +# Coreutils +# +CONFIG_FEATURE_VERBOSE=y + +# +# Common options for date and touch +# +# CONFIG_FEATURE_TIMEZONE is not set + +# +# Common options for cp and mv +# +CONFIG_FEATURE_PRESERVE_HARDLINKS=y + +# +# Common options for df, du, ls +# +CONFIG_FEATURE_HUMAN_READABLE=y +CONFIG_BASENAME=y +CONFIG_CAT=y +CONFIG_FEATURE_CATN=y +CONFIG_FEATURE_CATV=y +CONFIG_CHGRP=y +CONFIG_CHMOD=y +CONFIG_CHOWN=y +# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set +CONFIG_CHROOT=y +CONFIG_CKSUM=y +CONFIG_CRC32=y +# CONFIG_COMM is not set +CONFIG_CP=y +# CONFIG_FEATURE_CP_LONG_OPTIONS is not set +# CONFIG_FEATURE_CP_REFLINK is not set +CONFIG_CUT=y +CONFIG_FEATURE_CUT_REGEX=y +CONFIG_DATE=y +CONFIG_FEATURE_DATE_ISOFMT=y +# CONFIG_FEATURE_DATE_NANO is not set +CONFIG_FEATURE_DATE_COMPAT=y +CONFIG_DD=y +CONFIG_FEATURE_DD_SIGNAL_HANDLING=y +# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set +CONFIG_FEATURE_DD_IBS_OBS=y +CONFIG_FEATURE_DD_STATUS=y +CONFIG_DF=y +# CONFIG_FEATURE_DF_FANCY is not set +CONFIG_FEATURE_SKIP_ROOTFS=y +CONFIG_DIRNAME=y +CONFIG_DOS2UNIX=y +CONFIG_UNIX2DOS=y +CONFIG_DU=y +CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y +CONFIG_ECHO=y +CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_ENV=y +# CONFIG_EXPAND is not set +# CONFIG_UNEXPAND is not set +CONFIG_EXPR=y +CONFIG_EXPR_MATH_SUPPORT_64=y +CONFIG_FACTOR=y +CONFIG_FALSE=y +CONFIG_FOLD=y +CONFIG_HEAD=y +CONFIG_FEATURE_FANCY_HEAD=y +CONFIG_HOSTID=y +CONFIG_ID=y +# CONFIG_GROUPS is not set +CONFIG_INSTALL=y +CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y +CONFIG_LINK=y +CONFIG_LN=y +CONFIG_LOGNAME=y +CONFIG_LS=y +CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_FEATURE_LS_WIDTH=y +CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_FEATURE_LS_USERNAME=y +CONFIG_FEATURE_LS_COLOR=y +CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y +CONFIG_MD5SUM=y +CONFIG_SHA1SUM=y +CONFIG_SHA256SUM=y +CONFIG_SHA512SUM=y +CONFIG_SHA3SUM=y + +# +# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum +# +CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y +CONFIG_MKDIR=y +CONFIG_MKFIFO=y +CONFIG_MKNOD=y +# CONFIG_MKTEMP is not set +CONFIG_MV=y +CONFIG_NICE=y +CONFIG_NL=y +CONFIG_NOHUP=y +CONFIG_NPROC=y +CONFIG_OD=y +CONFIG_PASTE=y +CONFIG_PRINTENV=y +CONFIG_PRINTF=y +CONFIG_PWD=y +CONFIG_READLINK=y +CONFIG_FEATURE_READLINK_FOLLOW=y +CONFIG_REALPATH=y +CONFIG_RM=y +CONFIG_RMDIR=y +CONFIG_SEQ=y +CONFIG_SHRED=y +# CONFIG_SHUF is not set +CONFIG_SLEEP=y +CONFIG_FEATURE_FANCY_SLEEP=y +CONFIG_SORT=y +CONFIG_FEATURE_SORT_BIG=y +# CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY is not set +# CONFIG_SPLIT is not set +# CONFIG_FEATURE_SPLIT_FANCY is not set +# CONFIG_STAT is not set +# CONFIG_FEATURE_STAT_FORMAT is not set +# CONFIG_FEATURE_STAT_FILESYSTEM is not set +CONFIG_STTY=y +# CONFIG_SUM is not set +CONFIG_SYNC=y +# CONFIG_FEATURE_SYNC_FANCY is not set +# CONFIG_FSYNC is not set +# CONFIG_TAC is not set +CONFIG_TAIL=y +CONFIG_FEATURE_FANCY_TAIL=y +CONFIG_TEE=y +CONFIG_FEATURE_TEE_USE_BLOCK_IO=y +CONFIG_TEST=y +CONFIG_TEST1=y +CONFIG_TEST2=y +CONFIG_FEATURE_TEST_64=y +# CONFIG_TIMEOUT is not set +CONFIG_TOUCH=y +CONFIG_FEATURE_TOUCH_SUSV3=y +CONFIG_TR=y +CONFIG_FEATURE_TR_CLASSES=y +CONFIG_FEATURE_TR_EQUIV=y +CONFIG_TRUE=y +CONFIG_TRUNCATE=y +CONFIG_TTY=y +CONFIG_UNAME=y +CONFIG_UNAME_OSNAME="GNU/Linux" +CONFIG_BB_ARCH=y +CONFIG_UNIQ=y +CONFIG_UNLINK=y +CONFIG_USLEEP=y +CONFIG_UUDECODE=y +CONFIG_BASE32=y +# CONFIG_BASE64 is not set +CONFIG_UUENCODE=y +CONFIG_WC=y +# CONFIG_FEATURE_WC_LARGE is not set +CONFIG_WHO=y +CONFIG_W=y +# CONFIG_USERS is not set +CONFIG_WHOAMI=y +CONFIG_YES=y + +# +# Console Utilities +# +# CONFIG_CHVT is not set +# CONFIG_CLEAR is not set +# CONFIG_DEALLOCVT is not set +# CONFIG_DUMPKMAP is not set +# CONFIG_FGCONSOLE is not set +# CONFIG_KBD_MODE is not set +# CONFIG_LOADFONT is not set +# CONFIG_SETFONT is not set +# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set +CONFIG_DEFAULT_SETFONT_DIR="" +# CONFIG_FEATURE_LOADFONT_PSF2 is not set +# CONFIG_FEATURE_LOADFONT_RAW is not set +# CONFIG_LOADKMAP is not set +# CONFIG_OPENVT is not set +# CONFIG_RESET is not set +# CONFIG_RESIZE is not set +# CONFIG_FEATURE_RESIZE_PRINT is not set +# CONFIG_SETCONSOLE is not set +# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set +# CONFIG_SETKEYCODES is not set +# CONFIG_SETLOGCONS is not set +# CONFIG_SHOWKEY is not set + +# +# Debian Utilities +# +# CONFIG_PIPE_PROGRESS is not set +CONFIG_RUN_PARTS=y +CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y +CONFIG_FEATURE_RUN_PARTS_FANCY=y +CONFIG_START_STOP_DAEMON=y +CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y +CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y +CONFIG_WHICH=y + +# +# klibc-utils +# +# CONFIG_MINIPS is not set +CONFIG_NUKE=y +CONFIG_RESUME=y +CONFIG_RUN_INIT=y + +# +# Editors +# +# CONFIG_AWK is not set +# CONFIG_FEATURE_AWK_LIBM is not set +# CONFIG_FEATURE_AWK_GNU_EXTENSIONS is not set +# CONFIG_CMP is not set +# CONFIG_DIFF is not set +# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set +# CONFIG_FEATURE_DIFF_DIR is not set +# CONFIG_ED is not set +# CONFIG_PATCH is not set +CONFIG_SED=y +# CONFIG_VI is not set +CONFIG_FEATURE_VI_MAX_LEN=0 +# CONFIG_FEATURE_VI_8BIT is not set +# CONFIG_FEATURE_VI_COLON is not set +# CONFIG_FEATURE_VI_COLON_EXPAND is not set +# CONFIG_FEATURE_VI_YANKMARK is not set +# CONFIG_FEATURE_VI_SEARCH is not set +# CONFIG_FEATURE_VI_REGEX_SEARCH is not set +# CONFIG_FEATURE_VI_USE_SIGNALS is not set +# CONFIG_FEATURE_VI_DOT_CMD is not set +# CONFIG_FEATURE_VI_READONLY is not set +# CONFIG_FEATURE_VI_SETOPTS is not set +# CONFIG_FEATURE_VI_SET is not set +# CONFIG_FEATURE_VI_WIN_RESIZE is not set +# CONFIG_FEATURE_VI_ASK_TERMINAL is not set +# CONFIG_FEATURE_VI_UNDO is not set +# CONFIG_FEATURE_VI_UNDO_QUEUE is not set +CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=0 +# CONFIG_FEATURE_VI_VERBOSE_STATUS is not set +# CONFIG_FEATURE_ALLOW_EXEC is not set + +# +# Finding Utilities +# +# CONFIG_FIND is not set +# CONFIG_FEATURE_FIND_PRINT0 is not set +# CONFIG_FEATURE_FIND_MTIME is not set +# CONFIG_FEATURE_FIND_ATIME is not set +# CONFIG_FEATURE_FIND_CTIME is not set +# CONFIG_FEATURE_FIND_MMIN is not set +# CONFIG_FEATURE_FIND_AMIN is not set +# CONFIG_FEATURE_FIND_CMIN is not set +# CONFIG_FEATURE_FIND_PERM is not set +# CONFIG_FEATURE_FIND_TYPE is not set +# CONFIG_FEATURE_FIND_EXECUTABLE is not set +# CONFIG_FEATURE_FIND_XDEV is not set +# CONFIG_FEATURE_FIND_MAXDEPTH is not set +# CONFIG_FEATURE_FIND_NEWER is not set +# CONFIG_FEATURE_FIND_INUM is not set +# CONFIG_FEATURE_FIND_SAMEFILE is not set +# CONFIG_FEATURE_FIND_EXEC is not set +# CONFIG_FEATURE_FIND_EXEC_PLUS is not set +# CONFIG_FEATURE_FIND_USER is not set +# CONFIG_FEATURE_FIND_GROUP is not set +# CONFIG_FEATURE_FIND_NOT is not set +# CONFIG_FEATURE_FIND_DEPTH is not set +# CONFIG_FEATURE_FIND_PAREN is not set +# CONFIG_FEATURE_FIND_SIZE is not set +# CONFIG_FEATURE_FIND_PRUNE is not set +# CONFIG_FEATURE_FIND_QUIT is not set +# CONFIG_FEATURE_FIND_DELETE is not set +# CONFIG_FEATURE_FIND_EMPTY is not set +# CONFIG_FEATURE_FIND_PATH is not set +# CONFIG_FEATURE_FIND_REGEX is not set +# CONFIG_FEATURE_FIND_CONTEXT is not set +# CONFIG_FEATURE_FIND_LINKS is not set +CONFIG_GREP=y +CONFIG_EGREP=y +CONFIG_FGREP=y +CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_XARGS=y +# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set +CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y +CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y +CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y +CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y +CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL=y +CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y + +# +# Init Utilities +# +# CONFIG_BOOTCHARTD is not set +# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set +# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set +CONFIG_HALT=y +CONFIG_POWEROFF=y +CONFIG_REBOOT=y +CONFIG_FEATURE_WAIT_FOR_INIT=y +# CONFIG_FEATURE_CALL_TELINIT is not set +CONFIG_TELINIT_PATH="" +CONFIG_INIT=y +CONFIG_LINUXRC=y +CONFIG_FEATURE_USE_INITTAB=y +CONFIG_FEATURE_KILL_REMOVED=y +CONFIG_FEATURE_KILL_DELAY=0 +CONFIG_FEATURE_INIT_SCTTY=y +CONFIG_FEATURE_INIT_SYSLOG=y +CONFIG_FEATURE_INIT_QUIET=y +# CONFIG_FEATURE_INIT_COREDUMPS is not set +CONFIG_INIT_TERMINAL_TYPE="linux" +CONFIG_FEATURE_INIT_MODIFY_CMDLINE=y + +# +# Login/Password Management Utilities +# +CONFIG_FEATURE_SHADOWPASSWDS=y +# CONFIG_USE_BB_PWD_GRP is not set +# CONFIG_USE_BB_SHADOW is not set +CONFIG_USE_BB_CRYPT=y +# CONFIG_USE_BB_CRYPT_SHA is not set +# CONFIG_ADD_SHELL is not set +# CONFIG_REMOVE_SHELL is not set +# CONFIG_ADDGROUP is not set +# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set +CONFIG_ADDUSER=y +# CONFIG_FEATURE_CHECK_NAMES is not set +CONFIG_LAST_ID=60000 +CONFIG_FIRST_SYSTEM_ID=100 +CONFIG_LAST_SYSTEM_ID=999 +# CONFIG_CHPASSWD is not set +CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="des" +# CONFIG_CRYPTPW is not set +# CONFIG_MKPASSWD is not set +# CONFIG_DELUSER is not set +# CONFIG_DELGROUP is not set +# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set +CONFIG_GETTY=y +CONFIG_LOGIN=y +# CONFIG_LOGIN_SESSION_AS_CHILD is not set +# CONFIG_LOGIN_SCRIPTS is not set +CONFIG_FEATURE_NOLOGIN=y +CONFIG_FEATURE_SECURETTY=y +CONFIG_PASSWD=y +CONFIG_FEATURE_PASSWD_WEAK_CHECK=y +# CONFIG_SU is not set +# CONFIG_FEATURE_SU_SYSLOG is not set +# CONFIG_FEATURE_SU_CHECKS_SHELLS is not set +# CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY is not set +# CONFIG_SULOGIN is not set +# CONFIG_VLOCK is not set + +# +# Linux Ext2 FS Progs +# +# CONFIG_CHATTR is not set +# CONFIG_FSCK is not set +# CONFIG_LSATTR is not set +# CONFIG_TUNE2FS is not set + +# +# Linux Module Utilities +# +# CONFIG_MODPROBE_SMALL is not set +# CONFIG_DEPMOD is not set +# CONFIG_INSMOD is not set +# CONFIG_LSMOD is not set +# CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set +# CONFIG_MODINFO is not set +# CONFIG_MODPROBE is not set +# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set +# CONFIG_RMMOD is not set + +# +# Options common to multiple modutils +# +# CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS is not set +# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set +# CONFIG_FEATURE_2_4_MODULES is not set +# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set +# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set +# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set +# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set +# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set +# CONFIG_FEATURE_MODUTILS_ALIAS is not set +# CONFIG_FEATURE_MODUTILS_SYMBOLS is not set +CONFIG_DEFAULT_MODULES_DIR="" +CONFIG_DEFAULT_DEPMOD_FILE="" + +# +# Linux System Utilities +# +# CONFIG_ACPID is not set +# CONFIG_FEATURE_ACPID_COMPAT is not set +# CONFIG_BLKDISCARD is not set +# CONFIG_BLKID is not set +# CONFIG_FEATURE_BLKID_TYPE is not set +# CONFIG_BLOCKDEV is not set +# CONFIG_CAL is not set +# CONFIG_CHRT is not set +CONFIG_DMESG=y +CONFIG_FEATURE_DMESG_PRETTY=y +# CONFIG_EJECT is not set +# CONFIG_FEATURE_EJECT_SCSI is not set +CONFIG_FALLOCATE=y +# CONFIG_FATATTR is not set +# CONFIG_FBSET is not set +# CONFIG_FEATURE_FBSET_FANCY is not set +# CONFIG_FEATURE_FBSET_READMODE is not set +# CONFIG_FDFORMAT is not set +# CONFIG_FDISK is not set +# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set +# CONFIG_FEATURE_FDISK_WRITABLE is not set +# CONFIG_FEATURE_AIX_LABEL is not set +# CONFIG_FEATURE_SGI_LABEL is not set +# CONFIG_FEATURE_SUN_LABEL is not set +# CONFIG_FEATURE_OSF_LABEL is not set +# CONFIG_FEATURE_GPT_LABEL is not set +# CONFIG_FEATURE_FDISK_ADVANCED is not set +# CONFIG_FINDFS is not set +# CONFIG_FLOCK is not set +# CONFIG_FDFLUSH is not set +CONFIG_FREERAMDISK=y +# CONFIG_FSCK_MINIX is not set +CONFIG_FSFREEZE=y +# CONFIG_FSTRIM is not set +CONFIG_GETOPT=y +CONFIG_FEATURE_GETOPT_LONG=y +# CONFIG_HEXDUMP is not set +# CONFIG_HD is not set +CONFIG_XXD=y +# CONFIG_HWCLOCK is not set +# CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS is not set +# CONFIG_IONICE is not set +# CONFIG_IPCRM is not set +# CONFIG_IPCS is not set +# CONFIG_LAST is not set +# CONFIG_FEATURE_LAST_FANCY is not set +# CONFIG_LOSETUP is not set +# CONFIG_LSPCI is not set +# CONFIG_LSUSB is not set +# CONFIG_MDEV is not set +# CONFIG_FEATURE_MDEV_CONF is not set +# CONFIG_FEATURE_MDEV_RENAME is not set +# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set +# CONFIG_FEATURE_MDEV_EXEC is not set +# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set +# CONFIG_FEATURE_MDEV_DAEMON is not set +CONFIG_MESG=y +CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y +CONFIG_MKE2FS=y +# CONFIG_MKFS_EXT2 is not set +# CONFIG_MKFS_MINIX is not set +# CONFIG_FEATURE_MINIX2 is not set +# CONFIG_MKFS_REISER is not set +CONFIG_MKDOSFS=y +# CONFIG_MKFS_VFAT is not set +# CONFIG_MKSWAP is not set +# CONFIG_FEATURE_MKSWAP_UUID is not set +CONFIG_MORE=y +CONFIG_MOUNT=y +# CONFIG_FEATURE_MOUNT_FAKE is not set +# CONFIG_FEATURE_MOUNT_VERBOSE is not set +# CONFIG_FEATURE_MOUNT_HELPERS is not set +# CONFIG_FEATURE_MOUNT_LABEL is not set +# CONFIG_FEATURE_MOUNT_NFS is not set +CONFIG_FEATURE_MOUNT_CIFS=y +CONFIG_FEATURE_MOUNT_FLAGS=y +CONFIG_FEATURE_MOUNT_FSTAB=y +CONFIG_FEATURE_MOUNT_OTHERTAB=y +# CONFIG_MOUNTPOINT is not set +CONFIG_NOLOGIN=y +# CONFIG_NOLOGIN_DEPENDENCIES is not set +# CONFIG_NSENTER is not set +# CONFIG_PIVOT_ROOT is not set +# CONFIG_RDATE is not set +# CONFIG_RDEV is not set +# CONFIG_READPROFILE is not set +# CONFIG_RENICE is not set +# CONFIG_REV is not set +# CONFIG_RTCWAKE is not set +# CONFIG_SCRIPT is not set +# CONFIG_SCRIPTREPLAY is not set +# CONFIG_SETARCH is not set +CONFIG_LINUX32=y +CONFIG_LINUX64=y +CONFIG_SETPRIV=y +CONFIG_FEATURE_SETPRIV_DUMP=y +CONFIG_FEATURE_SETPRIV_CAPABILITIES=y +CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES=y +# CONFIG_SETSID is not set +CONFIG_SWAPON=y +# CONFIG_FEATURE_SWAPON_DISCARD is not set +# CONFIG_FEATURE_SWAPON_PRI is not set +CONFIG_SWAPOFF=y +CONFIG_FEATURE_SWAPONOFF_LABEL=y +# CONFIG_SWITCH_ROOT is not set +# CONFIG_TASKSET is not set +# CONFIG_FEATURE_TASKSET_FANCY is not set +# CONFIG_FEATURE_TASKSET_CPULIST is not set +# CONFIG_UEVENT is not set +CONFIG_UMOUNT=y +CONFIG_FEATURE_UMOUNT_ALL=y +# CONFIG_UNSHARE is not set +# CONFIG_WALL is not set + +# +# Common options for mount/umount +# +CONFIG_FEATURE_MOUNT_LOOP=y +CONFIG_FEATURE_MOUNT_LOOP_CREATE=y +# CONFIG_FEATURE_MTAB_SUPPORT is not set +CONFIG_VOLUMEID=y + +# +# Filesystem/Volume identification +# +# CONFIG_FEATURE_VOLUMEID_BCACHE is not set +# CONFIG_FEATURE_VOLUMEID_BTRFS is not set +# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set +CONFIG_FEATURE_VOLUMEID_EROFS=y +# CONFIG_FEATURE_VOLUMEID_EXFAT is not set +# CONFIG_FEATURE_VOLUMEID_EXT is not set +# CONFIG_FEATURE_VOLUMEID_F2FS is not set +# CONFIG_FEATURE_VOLUMEID_FAT is not set +# CONFIG_FEATURE_VOLUMEID_HFS is not set +# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set +# CONFIG_FEATURE_VOLUMEID_JFS is not set +# CONFIG_FEATURE_VOLUMEID_LFS is not set +# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set +# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set +# CONFIG_FEATURE_VOLUMEID_LUKS is not set +CONFIG_FEATURE_VOLUMEID_MINIX=y +# CONFIG_FEATURE_VOLUMEID_NILFS is not set +# CONFIG_FEATURE_VOLUMEID_NTFS is not set +# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set +# CONFIG_FEATURE_VOLUMEID_REISERFS is not set +# CONFIG_FEATURE_VOLUMEID_ROMFS is not set +# CONFIG_FEATURE_VOLUMEID_SQUASHFS is not set +# CONFIG_FEATURE_VOLUMEID_SYSV is not set +# CONFIG_FEATURE_VOLUMEID_UBIFS is not set +# CONFIG_FEATURE_VOLUMEID_UDF is not set +# CONFIG_FEATURE_VOLUMEID_XFS is not set + +# +# Miscellaneous Utilities +# +# CONFIG_ADJTIMEX is not set +CONFIG_ASCII=y +# CONFIG_BBCONFIG is not set +# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set +CONFIG_BC=y +# CONFIG_DC is not set +CONFIG_FEATURE_DC_BIG=y +# CONFIG_FEATURE_DC_LIBM is not set +CONFIG_FEATURE_BC_INTERACTIVE=y +CONFIG_FEATURE_BC_LONG_OPTIONS=y +# CONFIG_BEEP is not set +CONFIG_FEATURE_BEEP_FREQ=0 +CONFIG_FEATURE_BEEP_LENGTH_MS=0 +# CONFIG_CHAT is not set +# CONFIG_FEATURE_CHAT_NOFAIL is not set +# CONFIG_FEATURE_CHAT_TTY_HIFI is not set +# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set +# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set +# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set +# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set +# CONFIG_FEATURE_CHAT_CLR_ABORT is not set +# CONFIG_CONSPY is not set +# CONFIG_CROND is not set +# CONFIG_FEATURE_CROND_D is not set +# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +# CONFIG_FEATURE_CROND_SPECIAL_TIMES is not set +CONFIG_FEATURE_CROND_DIR="" +# CONFIG_CRONTAB is not set +# CONFIG_DEVFSD is not set +# CONFIG_DEVFSD_MODLOAD is not set +# CONFIG_DEVFSD_FG_NP is not set +# CONFIG_DEVFSD_VERBOSE is not set +# CONFIG_FEATURE_DEVFS is not set +# CONFIG_DEVMEM is not set +# CONFIG_FBSPLASH is not set +# CONFIG_FLASH_ERASEALL is not set +# CONFIG_FLASH_LOCK is not set +# CONFIG_FLASH_UNLOCK is not set +# CONFIG_FLASHCP is not set +# CONFIG_HDPARM is not set +# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set +# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set +# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set +CONFIG_HEXEDIT=y +# CONFIG_I2CGET is not set +# CONFIG_I2CSET is not set +# CONFIG_I2CDUMP is not set +# CONFIG_I2CDETECT is not set +CONFIG_I2CTRANSFER=y +# CONFIG_INOTIFYD is not set +# CONFIG_LESS is not set +CONFIG_FEATURE_LESS_MAXLINES=0 +# CONFIG_FEATURE_LESS_BRACKETS is not set +# CONFIG_FEATURE_LESS_FLAGS is not set +# CONFIG_FEATURE_LESS_TRUNCATE is not set +# CONFIG_FEATURE_LESS_MARKS is not set +# CONFIG_FEATURE_LESS_REGEXP is not set +# CONFIG_FEATURE_LESS_WINCH is not set +# CONFIG_FEATURE_LESS_ASK_TERMINAL is not set +# CONFIG_FEATURE_LESS_DASHCMD is not set +# CONFIG_FEATURE_LESS_LINENUMS is not set +# CONFIG_FEATURE_LESS_RAW is not set +# CONFIG_FEATURE_LESS_ENV is not set +CONFIG_LSSCSI=y +# CONFIG_MAKEDEVS is not set +# CONFIG_FEATURE_MAKEDEVS_LEAF is not set +# CONFIG_FEATURE_MAKEDEVS_TABLE is not set +# CONFIG_MAN is not set +# CONFIG_MICROCOM is not set +CONFIG_MIM=y +# CONFIG_MT is not set +# CONFIG_NANDWRITE is not set +# CONFIG_NANDDUMP is not set +CONFIG_PARTPROBE=y +# CONFIG_RAIDAUTORUN is not set +# CONFIG_READAHEAD is not set +# CONFIG_RFKILL is not set +# CONFIG_RUNLEVEL is not set +# CONFIG_RX is not set +CONFIG_SETFATTR=y +CONFIG_SETSERIAL=y +# CONFIG_STRINGS is not set +# CONFIG_TIME is not set +CONFIG_TS=y +# CONFIG_TTYSIZE is not set +# CONFIG_UBIATTACH is not set +# CONFIG_UBIDETACH is not set +# CONFIG_UBIMKVOL is not set +# CONFIG_UBIRMVOL is not set +# CONFIG_UBIRSVOL is not set +# CONFIG_UBIUPDATEVOL is not set +# CONFIG_UBIRENAME is not set +# CONFIG_VOLNAME is not set +# CONFIG_WATCHDOG is not set +# CONFIG_FEATURE_WATCHDOG_OPEN_TWICE is not set + +# +# Networking Utilities +# +# CONFIG_FEATURE_IPV6 is not set +# CONFIG_FEATURE_UNIX_LOCAL is not set +# CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set +# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set +# CONFIG_FEATURE_ETC_NETWORKS is not set +# CONFIG_FEATURE_ETC_SERVICES is not set +CONFIG_FEATURE_HWIB=y +# CONFIG_FEATURE_TLS_SHA1 is not set +# CONFIG_ARP is not set +# CONFIG_ARPING is not set +# CONFIG_BRCTL is not set +# CONFIG_FEATURE_BRCTL_FANCY is not set +# CONFIG_FEATURE_BRCTL_SHOW is not set +# CONFIG_DNSD is not set +# CONFIG_ETHER_WAKE is not set +# CONFIG_FTPD is not set +# CONFIG_FEATURE_FTPD_WRITE is not set +# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set +# CONFIG_FEATURE_FTPD_AUTHENTICATION is not set +# CONFIG_FTPGET is not set +# CONFIG_FTPPUT is not set +# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set +CONFIG_HOSTNAME=y +CONFIG_DNSDOMAINNAME=y +# CONFIG_HTTPD is not set +CONFIG_FEATURE_HTTPD_PORT_DEFAULT=0 +# CONFIG_FEATURE_HTTPD_RANGES is not set +# CONFIG_FEATURE_HTTPD_SETUID is not set +# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set +# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set +# CONFIG_FEATURE_HTTPD_CGI is not set +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set +# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set +# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set +# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set +# CONFIG_FEATURE_HTTPD_PROXY is not set +# CONFIG_FEATURE_HTTPD_GZIP is not set +# CONFIG_FEATURE_HTTPD_ETAG is not set +# CONFIG_FEATURE_HTTPD_LAST_MODIFIED is not set +# CONFIG_FEATURE_HTTPD_DATE is not set +# CONFIG_FEATURE_HTTPD_ACL_IP is not set +CONFIG_IFCONFIG=y +CONFIG_FEATURE_IFCONFIG_STATUS=y +# CONFIG_FEATURE_IFCONFIG_SLIP is not set +# CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ is not set +CONFIG_FEATURE_IFCONFIG_HW=y +CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y +# CONFIG_IFENSLAVE is not set +# CONFIG_IFPLUGD is not set +CONFIG_IFUP=y +CONFIG_IFDOWN=y +CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" +CONFIG_FEATURE_IFUPDOWN_IP=y +CONFIG_FEATURE_IFUPDOWN_IPV4=y +# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set +# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set +CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP=y +# CONFIG_INETD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME is not set +# CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN is not set +# CONFIG_FEATURE_INETD_RPC is not set +CONFIG_IP=y +CONFIG_IPADDR=y +CONFIG_IPLINK=y +CONFIG_IPROUTE=y +# CONFIG_IPTUNNEL is not set +# CONFIG_IPRULE is not set +# CONFIG_IPNEIGH is not set +CONFIG_FEATURE_IP_ADDRESS=y +CONFIG_FEATURE_IP_LINK=y +CONFIG_FEATURE_IP_ROUTE=y +CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2" +# CONFIG_FEATURE_IP_TUNNEL is not set +# CONFIG_FEATURE_IP_RULE is not set +# CONFIG_FEATURE_IP_NEIGH is not set +# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set +# CONFIG_IPCALC is not set +# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set +# CONFIG_FEATURE_IPCALC_FANCY is not set +# CONFIG_FAKEIDENTD is not set +# CONFIG_NAMEIF is not set +# CONFIG_FEATURE_NAMEIF_EXTENDED is not set +# CONFIG_NBDCLIENT is not set +CONFIG_NC=y +# CONFIG_NETCAT is not set +CONFIG_NC_SERVER=y +# CONFIG_NC_EXTRA is not set +# CONFIG_NC_110_COMPAT is not set +CONFIG_NETSTAT=y +# CONFIG_FEATURE_NETSTAT_WIDE is not set +CONFIG_FEATURE_NETSTAT_PRG=y +# CONFIG_NSLOOKUP is not set +# CONFIG_FEATURE_NSLOOKUP_BIG is not set +# CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS is not set +# CONFIG_NTPD is not set +# CONFIG_FEATURE_NTPD_SERVER is not set +# CONFIG_FEATURE_NTPD_CONF is not set +# CONFIG_FEATURE_NTP_AUTH is not set +CONFIG_PING=y +# CONFIG_PING6 is not set +# CONFIG_FEATURE_FANCY_PING is not set +# CONFIG_PSCAN is not set +CONFIG_ROUTE=y +# CONFIG_SLATTACH is not set +# CONFIG_SSL_CLIENT is not set +CONFIG_TC=y +CONFIG_FEATURE_TC_INGRESS=y +# CONFIG_TCPSVD is not set +# CONFIG_UDPSVD is not set +CONFIG_TELNET=y +CONFIG_FEATURE_TELNET_TTYPE=y +CONFIG_FEATURE_TELNET_AUTOLOGIN=y +CONFIG_FEATURE_TELNET_WIDTH=y +# CONFIG_TELNETD is not set +# CONFIG_FEATURE_TELNETD_STANDALONE is not set +CONFIG_FEATURE_TELNETD_PORT_DEFAULT=0 +# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set +# CONFIG_TFTP is not set +# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set +# CONFIG_FEATURE_TFTP_HPA_COMPAT is not set +# CONFIG_TFTPD is not set +# CONFIG_FEATURE_TFTP_GET is not set +# CONFIG_FEATURE_TFTP_PUT is not set +# CONFIG_FEATURE_TFTP_BLOCKSIZE is not set +# CONFIG_TFTP_DEBUG is not set +# CONFIG_TLS is not set +# CONFIG_TRACEROUTE is not set +# CONFIG_TRACEROUTE6 is not set +# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set +# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +# CONFIG_TUNCTL is not set +# CONFIG_FEATURE_TUNCTL_UG is not set +# CONFIG_VCONFIG is not set +CONFIG_WGET=y +# CONFIG_FEATURE_WGET_LONG_OPTIONS is not set +# CONFIG_FEATURE_WGET_STATUSBAR is not set +CONFIG_FEATURE_WGET_FTP=y +# CONFIG_FEATURE_WGET_AUTHENTICATION is not set +# CONFIG_FEATURE_WGET_TIMEOUT is not set +# CONFIG_FEATURE_WGET_HTTPS is not set +# CONFIG_FEATURE_WGET_OPENSSL is not set +# CONFIG_WHOIS is not set +# CONFIG_ZCIP is not set +# CONFIG_UDHCPD is not set +# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set +# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set +CONFIG_DHCPD_LEASES_FILE="" +# CONFIG_DUMPLEASES is not set +# CONFIG_DHCPRELAY is not set +CONFIG_UDHCPC=y +# CONFIG_FEATURE_UDHCPC_ARPING is not set +CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y +CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" +# CONFIG_UDHCPC6 is not set +# CONFIG_FEATURE_UDHCPC6_RFC3646 is not set +# CONFIG_FEATURE_UDHCPC6_RFC4704 is not set +# CONFIG_FEATURE_UDHCPC6_RFC4833 is not set +# CONFIG_FEATURE_UDHCPC6_RFC5970 is not set + +# +# Common options for DHCP applets +# +CONFIG_UDHCPC_DEFAULT_INTERFACE="eth0" +# CONFIG_FEATURE_UDHCP_PORT is not set +CONFIG_UDHCP_DEBUG=9 +CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 +# CONFIG_FEATURE_UDHCP_RFC3397 is not set +# CONFIG_FEATURE_UDHCP_8021Q is not set +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R" + +# +# Print Utilities +# +# CONFIG_LPD is not set +# CONFIG_LPR is not set +# CONFIG_LPQ is not set + +# +# Mail Utilities +# +CONFIG_FEATURE_MIME_CHARSET="" +# CONFIG_MAKEMIME is not set +# CONFIG_POPMAILDIR is not set +# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set +# CONFIG_REFORMIME is not set +# CONFIG_FEATURE_REFORMIME_COMPAT is not set +# CONFIG_SENDMAIL is not set + +# +# Process Utilities +# +# CONFIG_FEATURE_FAST_TOP is not set +# CONFIG_FEATURE_SHOW_THREADS is not set +# CONFIG_FREE is not set +# CONFIG_FUSER is not set +# CONFIG_IOSTAT is not set +CONFIG_KILL=y +CONFIG_KILLALL=y +CONFIG_KILLALL5=y +# CONFIG_LSOF is not set +# CONFIG_MPSTAT is not set +# CONFIG_NMETER is not set +# CONFIG_PGREP is not set +# CONFIG_PKILL is not set +# CONFIG_PIDOF is not set +# CONFIG_FEATURE_PIDOF_SINGLE is not set +# CONFIG_FEATURE_PIDOF_OMIT is not set +# CONFIG_PMAP is not set +# CONFIG_POWERTOP is not set +# CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set +CONFIG_PS=y +CONFIG_FEATURE_PS_WIDE=y +CONFIG_FEATURE_PS_LONG=y +# CONFIG_FEATURE_PS_TIME is not set +# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set +# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set +# CONFIG_PSTREE is not set +# CONFIG_PWDX is not set +# CONFIG_SMEMCAP is not set +# CONFIG_BB_SYSCTL is not set +# CONFIG_TOP is not set +# CONFIG_FEATURE_TOP_INTERACTIVE is not set +# CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE is not set +# CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS is not set +# CONFIG_FEATURE_TOP_SMP_CPU is not set +# CONFIG_FEATURE_TOP_DECIMALS is not set +# CONFIG_FEATURE_TOP_SMP_PROCESS is not set +# CONFIG_FEATURE_TOPMEM is not set +# CONFIG_UPTIME is not set +# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set +# CONFIG_WATCH is not set + +# +# Runit Utilities +# +# CONFIG_CHPST is not set +# CONFIG_SETUIDGID is not set +# CONFIG_ENVUIDGID is not set +# CONFIG_ENVDIR is not set +# CONFIG_SOFTLIMIT is not set +# CONFIG_RUNSV is not set +# CONFIG_RUNSVDIR is not set +# CONFIG_FEATURE_RUNSVDIR_LOG is not set +# CONFIG_SV is not set +CONFIG_SV_DEFAULT_SERVICE_DIR="" +CONFIG_SVC=y +CONFIG_SVOK=y +# CONFIG_SVLOGD is not set +# CONFIG_CHCON is not set +# CONFIG_GETENFORCE is not set +# CONFIG_GETSEBOOL is not set +# CONFIG_LOAD_POLICY is not set +# CONFIG_MATCHPATHCON is not set +# CONFIG_RUNCON is not set +# CONFIG_SELINUXENABLED is not set +# CONFIG_SESTATUS is not set +# CONFIG_SETENFORCE is not set +# CONFIG_SETFILES is not set +# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set +# CONFIG_RESTORECON is not set +# CONFIG_SETSEBOOL is not set + +# +# Shells +# +# CONFIG_SH_IS_ASH is not set +CONFIG_SH_IS_HUSH=y +# CONFIG_SH_IS_NONE is not set +# CONFIG_BASH_IS_ASH is not set +# CONFIG_BASH_IS_HUSH is not set +CONFIG_BASH_IS_NONE=y +# CONFIG_SHELL_ASH is not set +# CONFIG_ASH is not set +# CONFIG_ASH_OPTIMIZE_FOR_SIZE is not set +# CONFIG_ASH_INTERNAL_GLOB is not set +# CONFIG_ASH_BASH_COMPAT is not set +# CONFIG_ASH_BASH_SOURCE_CURDIR is not set +# CONFIG_ASH_BASH_NOT_FOUND_HOOK is not set +# CONFIG_ASH_JOB_CONTROL is not set +# CONFIG_ASH_ALIAS is not set +# CONFIG_ASH_RANDOM_SUPPORT is not set +# CONFIG_ASH_EXPAND_PRMT is not set +# CONFIG_ASH_IDLE_TIMEOUT is not set +# CONFIG_ASH_MAIL is not set +# CONFIG_ASH_ECHO is not set +# CONFIG_ASH_PRINTF is not set +# CONFIG_ASH_TEST is not set +# CONFIG_ASH_HELP is not set +# CONFIG_ASH_GETOPTS is not set +# CONFIG_ASH_CMDCMD is not set +# CONFIG_CTTYHACK is not set +CONFIG_HUSH=y +CONFIG_SHELL_HUSH=y +CONFIG_HUSH_BASH_COMPAT=y +CONFIG_HUSH_BRACE_EXPANSION=y +# CONFIG_HUSH_BASH_SOURCE_CURDIR is not set +CONFIG_HUSH_LINENO_VAR=y +CONFIG_HUSH_INTERACTIVE=y +CONFIG_HUSH_SAVEHISTORY=y +CONFIG_HUSH_JOB=y +CONFIG_HUSH_TICK=y +CONFIG_HUSH_IF=y +CONFIG_HUSH_LOOPS=y +CONFIG_HUSH_CASE=y +CONFIG_HUSH_FUNCTIONS=y +CONFIG_HUSH_LOCAL=y +CONFIG_HUSH_RANDOM_SUPPORT=y +CONFIG_HUSH_MODE_X=y +CONFIG_HUSH_ECHO=y +CONFIG_HUSH_PRINTF=y +CONFIG_HUSH_TEST=y +CONFIG_HUSH_HELP=y +CONFIG_HUSH_EXPORT=y +CONFIG_HUSH_EXPORT_N=y +CONFIG_HUSH_READONLY=y +CONFIG_HUSH_KILL=y +CONFIG_HUSH_WAIT=y +CONFIG_HUSH_COMMAND=y +CONFIG_HUSH_TRAP=y +CONFIG_HUSH_TYPE=y +CONFIG_HUSH_TIMES=y +CONFIG_HUSH_READ=y +CONFIG_HUSH_SET=y +CONFIG_HUSH_UNSET=y +CONFIG_HUSH_ULIMIT=y +CONFIG_HUSH_UMASK=y +CONFIG_HUSH_GETOPTS=y +# CONFIG_HUSH_MEMLEAK is not set + +# +# Options common to all shells +# +CONFIG_FEATURE_SH_MATH=y +CONFIG_FEATURE_SH_MATH_64=y +CONFIG_FEATURE_SH_MATH_BASE=y +CONFIG_FEATURE_SH_EXTRA_QUIET=y +# CONFIG_FEATURE_SH_STANDALONE is not set +# CONFIG_FEATURE_SH_NOFORK is not set +CONFIG_FEATURE_SH_READ_FRAC=y +# CONFIG_FEATURE_SH_HISTFILESIZE is not set +CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS=y + +# +# System Logging Utilities +# +# CONFIG_KLOGD is not set +# CONFIG_FEATURE_KLOGD_KLOGCTL is not set +# CONFIG_LOGGER is not set +# CONFIG_LOGREAD is not set +# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set +# CONFIG_SYSLOGD is not set +# CONFIG_FEATURE_ROTATE_LOGFILE is not set +# CONFIG_FEATURE_REMOTE_LOG is not set +# CONFIG_FEATURE_SYSLOGD_DUP is not set +# CONFIG_FEATURE_SYSLOGD_CFG is not set +# CONFIG_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS is not set +CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=0 +# CONFIG_FEATURE_IPC_SYSLOG is not set +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 +# CONFIG_FEATURE_KMSG_SYSLOG is not set diff --git a/buildroot-2022.02.1/package/busybox/busybox.config b/buildroot-2022.02.1/package/busybox/busybox.config new file mode 100644 index 00000000..52cb8ffc --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/busybox.config @@ -0,0 +1,1216 @@ +# +# Automatically generated make config: don't edit +# Busybox version: 1.35.0 +# Thu Jan 27 10:16:54 2022 +# +CONFIG_HAVE_DOT_CONFIG=y + +# +# Settings +# +CONFIG_DESKTOP=y +# CONFIG_EXTRA_COMPAT is not set +# CONFIG_FEDORA_COMPAT is not set +CONFIG_INCLUDE_SUSv2=y +CONFIG_LONG_OPTS=y +CONFIG_SHOW_USAGE=y +CONFIG_FEATURE_VERBOSE_USAGE=y +# CONFIG_FEATURE_COMPRESS_USAGE is not set +CONFIG_LFS=y +# CONFIG_PAM is not set +CONFIG_FEATURE_DEVPTS=y +CONFIG_FEATURE_UTMP=y +CONFIG_FEATURE_WTMP=y +# CONFIG_FEATURE_PIDFILE is not set +CONFIG_PID_FILE_PATH="" +CONFIG_BUSYBOX=y +CONFIG_FEATURE_SHOW_SCRIPT=y +CONFIG_FEATURE_INSTALLER=y +# CONFIG_INSTALL_NO_USR is not set +CONFIG_FEATURE_SUID=y +# CONFIG_FEATURE_SUID_CONFIG is not set +# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set +# CONFIG_FEATURE_PREFER_APPLETS is not set +CONFIG_BUSYBOX_EXEC_PATH="/proc/self/exe" +# CONFIG_SELINUX is not set +# CONFIG_FEATURE_CLEAN_UP is not set +CONFIG_FEATURE_SYSLOG_INFO=y +CONFIG_FEATURE_SYSLOG=y + +# +# Build Options +# +# CONFIG_STATIC is not set +# CONFIG_PIE is not set +# CONFIG_NOMMU is not set +# CONFIG_BUILD_LIBBUSYBOX is not set +# CONFIG_FEATURE_LIBBUSYBOX_STATIC is not set +# CONFIG_FEATURE_INDIVIDUAL is not set +# CONFIG_FEATURE_SHARED_BUSYBOX is not set +CONFIG_CROSS_COMPILER_PREFIX="" +CONFIG_SYSROOT="" +CONFIG_EXTRA_CFLAGS="" +CONFIG_EXTRA_LDFLAGS="" +CONFIG_EXTRA_LDLIBS="" +# CONFIG_USE_PORTABLE_CODE is not set +CONFIG_STACK_OPTIMIZATION_386=y +CONFIG_STATIC_LIBGCC=y + +# +# Installation Options ("make install" behavior) +# +CONFIG_INSTALL_APPLET_SYMLINKS=y +# CONFIG_INSTALL_APPLET_HARDLINKS is not set +# CONFIG_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# CONFIG_INSTALL_APPLET_DONT is not set +# CONFIG_INSTALL_SH_APPLET_SYMLINK is not set +# CONFIG_INSTALL_SH_APPLET_HARDLINK is not set +# CONFIG_INSTALL_SH_APPLET_SCRIPT_WRAPPER is not set +CONFIG_PREFIX="./_install" + +# +# Debugging Options +# +# CONFIG_DEBUG is not set +# CONFIG_DEBUG_PESSIMIZE is not set +# CONFIG_DEBUG_SANITIZE is not set +# CONFIG_UNIT_TEST is not set +# CONFIG_WERROR is not set +# CONFIG_WARN_SIMPLE_MSG is not set +CONFIG_NO_DEBUG_LIB=y +# CONFIG_DMALLOC is not set +# CONFIG_EFENCE is not set + +# +# Library Tuning +# +# CONFIG_FEATURE_USE_BSS_TAIL is not set +CONFIG_FLOAT_DURATION=y +CONFIG_FEATURE_RTMINMAX=y +CONFIG_FEATURE_RTMINMAX_USE_LIBC_DEFINITIONS=y +CONFIG_FEATURE_BUFFERS_USE_MALLOC=y +# CONFIG_FEATURE_BUFFERS_GO_ON_STACK is not set +# CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set +CONFIG_PASSWORD_MINLEN=6 +CONFIG_MD5_SMALL=1 +CONFIG_SHA3_SMALL=1 +CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_FEATURE_USE_SENDFILE=y +CONFIG_FEATURE_COPYBUF_KB=4 +CONFIG_MONOTONIC_SYSCALL=y +CONFIG_IOCTL_HEX2STR_ERROR=y +CONFIG_FEATURE_EDITING=y +CONFIG_FEATURE_EDITING_MAX_LEN=1024 +CONFIG_FEATURE_EDITING_VI=y +CONFIG_FEATURE_EDITING_HISTORY=999 +CONFIG_FEATURE_EDITING_SAVEHISTORY=y +# CONFIG_FEATURE_EDITING_SAVE_ON_EXIT is not set +CONFIG_FEATURE_REVERSE_SEARCH=y +CONFIG_FEATURE_TAB_COMPLETION=y +# CONFIG_FEATURE_USERNAME_COMPLETION is not set +CONFIG_FEATURE_EDITING_FANCY_PROMPT=y +CONFIG_FEATURE_EDITING_WINCH=y +# CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set +# CONFIG_LOCALE_SUPPORT is not set +# CONFIG_UNICODE_SUPPORT is not set +# CONFIG_UNICODE_USING_LOCALE is not set +# CONFIG_FEATURE_CHECK_UNICODE_IN_ENV is not set +CONFIG_SUBST_WCHAR=0 +CONFIG_LAST_SUPPORTED_WCHAR=0 +# CONFIG_UNICODE_COMBINING_WCHARS is not set +# CONFIG_UNICODE_WIDE_WCHARS is not set +# CONFIG_UNICODE_BIDI_SUPPORT is not set +# CONFIG_UNICODE_NEUTRAL_TABLE is not set +# CONFIG_UNICODE_PRESERVE_BROKEN is not set + +# +# Applets +# + +# +# Archival Utilities +# +# CONFIG_FEATURE_SEAMLESS_XZ is not set +# CONFIG_FEATURE_SEAMLESS_LZMA is not set +# CONFIG_FEATURE_SEAMLESS_BZ2 is not set +# CONFIG_FEATURE_SEAMLESS_GZ is not set +# CONFIG_FEATURE_SEAMLESS_Z is not set +CONFIG_AR=y +# CONFIG_FEATURE_AR_LONG_FILENAMES is not set +CONFIG_FEATURE_AR_CREATE=y +# CONFIG_UNCOMPRESS is not set +CONFIG_GUNZIP=y +CONFIG_ZCAT=y +CONFIG_FEATURE_GUNZIP_LONG_OPTIONS=y +CONFIG_BUNZIP2=y +CONFIG_BZCAT=y +CONFIG_UNLZMA=y +CONFIG_LZCAT=y +CONFIG_LZMA=y +CONFIG_UNXZ=y +CONFIG_XZCAT=y +CONFIG_XZ=y +# CONFIG_BZIP2 is not set +CONFIG_BZIP2_SMALL=0 +CONFIG_FEATURE_BZIP2_DECOMPRESS=y +CONFIG_CPIO=y +# CONFIG_FEATURE_CPIO_O is not set +# CONFIG_FEATURE_CPIO_P is not set +# CONFIG_FEATURE_CPIO_IGNORE_DEVNO is not set +# CONFIG_FEATURE_CPIO_RENUMBER_INODES is not set +# CONFIG_DPKG is not set +# CONFIG_DPKG_DEB is not set +CONFIG_GZIP=y +# CONFIG_FEATURE_GZIP_LONG_OPTIONS is not set +CONFIG_GZIP_FAST=0 +# CONFIG_FEATURE_GZIP_LEVELS is not set +CONFIG_FEATURE_GZIP_DECOMPRESS=y +# CONFIG_LZOP is not set +CONFIG_UNLZOP=y +CONFIG_LZOPCAT=y +# CONFIG_LZOP_COMPR_HIGH is not set +# CONFIG_RPM is not set +# CONFIG_RPM2CPIO is not set +CONFIG_TAR=y +CONFIG_FEATURE_TAR_LONG_OPTIONS=y +CONFIG_FEATURE_TAR_CREATE=y +# CONFIG_FEATURE_TAR_AUTODETECT is not set +CONFIG_FEATURE_TAR_FROM=y +# CONFIG_FEATURE_TAR_OLDGNU_COMPATIBILITY is not set +# CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY is not set +CONFIG_FEATURE_TAR_GNU_EXTENSIONS=y +CONFIG_FEATURE_TAR_TO_COMMAND=y +# CONFIG_FEATURE_TAR_UNAME_GNAME is not set +# CONFIG_FEATURE_TAR_NOPRESERVE_TIME is not set +# CONFIG_FEATURE_TAR_SELINUX is not set +CONFIG_UNZIP=y +CONFIG_FEATURE_UNZIP_CDF=y +CONFIG_FEATURE_UNZIP_BZIP2=y +CONFIG_FEATURE_UNZIP_LZMA=y +CONFIG_FEATURE_UNZIP_XZ=y +# CONFIG_FEATURE_LZMA_FAST is not set + +# +# Coreutils +# +CONFIG_FEATURE_VERBOSE=y + +# +# Common options for date and touch +# +CONFIG_FEATURE_TIMEZONE=y + +# +# Common options for cp and mv +# +CONFIG_FEATURE_PRESERVE_HARDLINKS=y + +# +# Common options for df, du, ls +# +CONFIG_FEATURE_HUMAN_READABLE=y +CONFIG_BASENAME=y +CONFIG_CAT=y +CONFIG_FEATURE_CATN=y +CONFIG_FEATURE_CATV=y +CONFIG_CHGRP=y +CONFIG_CHMOD=y +CONFIG_CHOWN=y +# CONFIG_FEATURE_CHOWN_LONG_OPTIONS is not set +CONFIG_CHROOT=y +CONFIG_CKSUM=y +CONFIG_CRC32=y +# CONFIG_COMM is not set +CONFIG_CP=y +# CONFIG_FEATURE_CP_LONG_OPTIONS is not set +# CONFIG_FEATURE_CP_REFLINK is not set +CONFIG_CUT=y +CONFIG_FEATURE_CUT_REGEX=y +CONFIG_DATE=y +CONFIG_FEATURE_DATE_ISOFMT=y +# CONFIG_FEATURE_DATE_NANO is not set +CONFIG_FEATURE_DATE_COMPAT=y +CONFIG_DD=y +CONFIG_FEATURE_DD_SIGNAL_HANDLING=y +# CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set +CONFIG_FEATURE_DD_IBS_OBS=y +CONFIG_FEATURE_DD_STATUS=y +CONFIG_DF=y +# CONFIG_FEATURE_DF_FANCY is not set +CONFIG_FEATURE_SKIP_ROOTFS=y +CONFIG_DIRNAME=y +CONFIG_DOS2UNIX=y +CONFIG_UNIX2DOS=y +CONFIG_DU=y +CONFIG_FEATURE_DU_DEFAULT_BLOCKSIZE_1K=y +CONFIG_ECHO=y +CONFIG_FEATURE_FANCY_ECHO=y +CONFIG_ENV=y +# CONFIG_EXPAND is not set +# CONFIG_UNEXPAND is not set +CONFIG_EXPR=y +CONFIG_EXPR_MATH_SUPPORT_64=y +CONFIG_FACTOR=y +CONFIG_FALSE=y +CONFIG_FOLD=y +CONFIG_HEAD=y +CONFIG_FEATURE_FANCY_HEAD=y +CONFIG_HOSTID=y +CONFIG_ID=y +# CONFIG_GROUPS is not set +CONFIG_INSTALL=y +CONFIG_FEATURE_INSTALL_LONG_OPTIONS=y +CONFIG_LINK=y +CONFIG_LN=y +CONFIG_LOGNAME=y +CONFIG_LS=y +CONFIG_FEATURE_LS_FILETYPES=y +CONFIG_FEATURE_LS_FOLLOWLINKS=y +CONFIG_FEATURE_LS_RECURSIVE=y +CONFIG_FEATURE_LS_WIDTH=y +CONFIG_FEATURE_LS_SORTFILES=y +CONFIG_FEATURE_LS_TIMESTAMPS=y +CONFIG_FEATURE_LS_USERNAME=y +CONFIG_FEATURE_LS_COLOR=y +CONFIG_FEATURE_LS_COLOR_IS_DEFAULT=y +CONFIG_MD5SUM=y +CONFIG_SHA1SUM=y +CONFIG_SHA256SUM=y +CONFIG_SHA512SUM=y +CONFIG_SHA3SUM=y + +# +# Common options for md5sum, sha1sum, sha256sum, sha512sum, sha3sum +# +CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y +CONFIG_MKDIR=y +CONFIG_MKFIFO=y +CONFIG_MKNOD=y +CONFIG_MKTEMP=y +CONFIG_MV=y +CONFIG_NICE=y +CONFIG_NL=y +CONFIG_NOHUP=y +CONFIG_NPROC=y +CONFIG_OD=y +CONFIG_PASTE=y +CONFIG_PRINTENV=y +CONFIG_PRINTF=y +CONFIG_PWD=y +CONFIG_READLINK=y +CONFIG_FEATURE_READLINK_FOLLOW=y +CONFIG_REALPATH=y +CONFIG_RM=y +CONFIG_RMDIR=y +CONFIG_SEQ=y +CONFIG_SHRED=y +# CONFIG_SHUF is not set +CONFIG_SLEEP=y +CONFIG_FEATURE_FANCY_SLEEP=y +CONFIG_SORT=y +CONFIG_FEATURE_SORT_BIG=y +# CONFIG_FEATURE_SORT_OPTIMIZE_MEMORY is not set +# CONFIG_SPLIT is not set +# CONFIG_FEATURE_SPLIT_FANCY is not set +# CONFIG_STAT is not set +# CONFIG_FEATURE_STAT_FORMAT is not set +# CONFIG_FEATURE_STAT_FILESYSTEM is not set +CONFIG_STTY=y +# CONFIG_SUM is not set +CONFIG_SYNC=y +# CONFIG_FEATURE_SYNC_FANCY is not set +# CONFIG_FSYNC is not set +# CONFIG_TAC is not set +CONFIG_TAIL=y +CONFIG_FEATURE_FANCY_TAIL=y +CONFIG_TEE=y +CONFIG_FEATURE_TEE_USE_BLOCK_IO=y +CONFIG_TEST=y +CONFIG_TEST1=y +CONFIG_TEST2=y +CONFIG_FEATURE_TEST_64=y +# CONFIG_TIMEOUT is not set +CONFIG_TOUCH=y +CONFIG_FEATURE_TOUCH_SUSV3=y +CONFIG_TR=y +CONFIG_FEATURE_TR_CLASSES=y +CONFIG_FEATURE_TR_EQUIV=y +CONFIG_TRUE=y +CONFIG_TRUNCATE=y +CONFIG_TTY=y +CONFIG_UNAME=y +CONFIG_UNAME_OSNAME="GNU/Linux" +CONFIG_BB_ARCH=y +CONFIG_UNIQ=y +CONFIG_UNLINK=y +CONFIG_USLEEP=y +CONFIG_UUDECODE=y +CONFIG_BASE32=y +CONFIG_BASE64=y +CONFIG_UUENCODE=y +CONFIG_WC=y +# CONFIG_FEATURE_WC_LARGE is not set +CONFIG_WHO=y +CONFIG_W=y +# CONFIG_USERS is not set +CONFIG_WHOAMI=y +CONFIG_YES=y + +# +# Console Utilities +# +CONFIG_CHVT=y +CONFIG_CLEAR=y +CONFIG_DEALLOCVT=y +CONFIG_DUMPKMAP=y +# CONFIG_FGCONSOLE is not set +# CONFIG_KBD_MODE is not set +CONFIG_LOADFONT=y +# CONFIG_SETFONT is not set +# CONFIG_FEATURE_SETFONT_TEXTUAL_MAP is not set +CONFIG_DEFAULT_SETFONT_DIR="" + +# +# Common options for loadfont and setfont +# +CONFIG_FEATURE_LOADFONT_PSF2=y +CONFIG_FEATURE_LOADFONT_RAW=y +CONFIG_LOADKMAP=y +CONFIG_OPENVT=y +CONFIG_RESET=y +CONFIG_RESIZE=y +CONFIG_FEATURE_RESIZE_PRINT=y +CONFIG_SETCONSOLE=y +# CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS is not set +CONFIG_SETKEYCODES=y +CONFIG_SETLOGCONS=y +# CONFIG_SHOWKEY is not set + +# +# Debian Utilities +# +CONFIG_PIPE_PROGRESS=y +CONFIG_RUN_PARTS=y +CONFIG_FEATURE_RUN_PARTS_LONG_OPTIONS=y +# CONFIG_FEATURE_RUN_PARTS_FANCY is not set +CONFIG_START_STOP_DAEMON=y +CONFIG_FEATURE_START_STOP_DAEMON_LONG_OPTIONS=y +CONFIG_FEATURE_START_STOP_DAEMON_FANCY=y +CONFIG_WHICH=y + +# +# klibc-utils +# +# CONFIG_MINIPS is not set +CONFIG_NUKE=y +CONFIG_RESUME=y +CONFIG_RUN_INIT=y + +# +# Editors +# +CONFIG_AWK=y +# CONFIG_FEATURE_AWK_LIBM is not set +CONFIG_FEATURE_AWK_GNU_EXTENSIONS=y +CONFIG_CMP=y +CONFIG_DIFF=y +# CONFIG_FEATURE_DIFF_LONG_OPTIONS is not set +CONFIG_FEATURE_DIFF_DIR=y +# CONFIG_ED is not set +CONFIG_PATCH=y +CONFIG_SED=y +CONFIG_VI=y +CONFIG_FEATURE_VI_MAX_LEN=4096 +CONFIG_FEATURE_VI_8BIT=y +CONFIG_FEATURE_VI_COLON=y +CONFIG_FEATURE_VI_COLON_EXPAND=y +CONFIG_FEATURE_VI_YANKMARK=y +CONFIG_FEATURE_VI_SEARCH=y +# CONFIG_FEATURE_VI_REGEX_SEARCH is not set +CONFIG_FEATURE_VI_USE_SIGNALS=y +CONFIG_FEATURE_VI_DOT_CMD=y +CONFIG_FEATURE_VI_READONLY=y +CONFIG_FEATURE_VI_SETOPTS=y +CONFIG_FEATURE_VI_SET=y +CONFIG_FEATURE_VI_WIN_RESIZE=y +CONFIG_FEATURE_VI_ASK_TERMINAL=y +CONFIG_FEATURE_VI_UNDO=y +CONFIG_FEATURE_VI_UNDO_QUEUE=y +CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256 +CONFIG_FEATURE_VI_VERBOSE_STATUS=y +CONFIG_FEATURE_ALLOW_EXEC=y + +# +# Finding Utilities +# +CONFIG_FIND=y +CONFIG_FEATURE_FIND_PRINT0=y +CONFIG_FEATURE_FIND_MTIME=y +CONFIG_FEATURE_FIND_ATIME=y +CONFIG_FEATURE_FIND_CTIME=y +CONFIG_FEATURE_FIND_MMIN=y +CONFIG_FEATURE_FIND_AMIN=y +CONFIG_FEATURE_FIND_CMIN=y +CONFIG_FEATURE_FIND_PERM=y +CONFIG_FEATURE_FIND_TYPE=y +CONFIG_FEATURE_FIND_EXECUTABLE=y +CONFIG_FEATURE_FIND_XDEV=y +CONFIG_FEATURE_FIND_MAXDEPTH=y +CONFIG_FEATURE_FIND_NEWER=y +# CONFIG_FEATURE_FIND_INUM is not set +CONFIG_FEATURE_FIND_SAMEFILE=y +CONFIG_FEATURE_FIND_EXEC=y +CONFIG_FEATURE_FIND_EXEC_PLUS=y +CONFIG_FEATURE_FIND_USER=y +CONFIG_FEATURE_FIND_GROUP=y +CONFIG_FEATURE_FIND_NOT=y +CONFIG_FEATURE_FIND_DEPTH=y +CONFIG_FEATURE_FIND_PAREN=y +CONFIG_FEATURE_FIND_SIZE=y +CONFIG_FEATURE_FIND_PRUNE=y +CONFIG_FEATURE_FIND_QUIT=y +# CONFIG_FEATURE_FIND_DELETE is not set +CONFIG_FEATURE_FIND_EMPTY=y +CONFIG_FEATURE_FIND_PATH=y +CONFIG_FEATURE_FIND_REGEX=y +# CONFIG_FEATURE_FIND_CONTEXT is not set +# CONFIG_FEATURE_FIND_LINKS is not set +CONFIG_GREP=y +CONFIG_EGREP=y +CONFIG_FGREP=y +CONFIG_FEATURE_GREP_CONTEXT=y +CONFIG_XARGS=y +# CONFIG_FEATURE_XARGS_SUPPORT_CONFIRMATION is not set +CONFIG_FEATURE_XARGS_SUPPORT_QUOTES=y +CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT=y +CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y +CONFIG_FEATURE_XARGS_SUPPORT_REPL_STR=y +CONFIG_FEATURE_XARGS_SUPPORT_PARALLEL=y +CONFIG_FEATURE_XARGS_SUPPORT_ARGS_FILE=y + +# +# Init Utilities +# +# CONFIG_BOOTCHARTD is not set +# CONFIG_FEATURE_BOOTCHARTD_BLOATED_HEADER is not set +# CONFIG_FEATURE_BOOTCHARTD_CONFIG_FILE is not set +CONFIG_HALT=y +CONFIG_POWEROFF=y +CONFIG_REBOOT=y +CONFIG_FEATURE_WAIT_FOR_INIT=y +# CONFIG_FEATURE_CALL_TELINIT is not set +CONFIG_TELINIT_PATH="" +CONFIG_INIT=y +CONFIG_LINUXRC=y +CONFIG_FEATURE_USE_INITTAB=y +CONFIG_FEATURE_KILL_REMOVED=y +CONFIG_FEATURE_KILL_DELAY=0 +CONFIG_FEATURE_INIT_SCTTY=y +CONFIG_FEATURE_INIT_SYSLOG=y +CONFIG_FEATURE_INIT_QUIET=y +# CONFIG_FEATURE_INIT_COREDUMPS is not set +CONFIG_INIT_TERMINAL_TYPE="linux" +CONFIG_FEATURE_INIT_MODIFY_CMDLINE=y + +# +# Login/Password Management Utilities +# +CONFIG_FEATURE_SHADOWPASSWDS=y +# CONFIG_USE_BB_PWD_GRP is not set +# CONFIG_USE_BB_SHADOW is not set +CONFIG_USE_BB_CRYPT=y +# CONFIG_USE_BB_CRYPT_SHA is not set +# CONFIG_ADD_SHELL is not set +# CONFIG_REMOVE_SHELL is not set +CONFIG_ADDGROUP=y +# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set +CONFIG_ADDUSER=y +# CONFIG_FEATURE_CHECK_NAMES is not set +CONFIG_LAST_ID=60000 +CONFIG_FIRST_SYSTEM_ID=100 +CONFIG_LAST_SYSTEM_ID=999 +# CONFIG_CHPASSWD is not set +CONFIG_FEATURE_DEFAULT_PASSWD_ALGO="md5" +# CONFIG_CRYPTPW is not set +CONFIG_MKPASSWD=y +CONFIG_DELUSER=y +CONFIG_DELGROUP=y +# CONFIG_FEATURE_DEL_USER_FROM_GROUP is not set +CONFIG_GETTY=y +CONFIG_LOGIN=y +# CONFIG_LOGIN_SESSION_AS_CHILD is not set +# CONFIG_LOGIN_SCRIPTS is not set +CONFIG_FEATURE_NOLOGIN=y +CONFIG_FEATURE_SECURETTY=y +CONFIG_PASSWD=y +CONFIG_FEATURE_PASSWD_WEAK_CHECK=y +CONFIG_SU=y +CONFIG_FEATURE_SU_SYSLOG=y +CONFIG_FEATURE_SU_CHECKS_SHELLS=y +# CONFIG_FEATURE_SU_BLANK_PW_NEEDS_SECURE_TTY is not set +CONFIG_SULOGIN=y +CONFIG_VLOCK=y + +# +# Linux Ext2 FS Progs +# +CONFIG_CHATTR=y +CONFIG_FSCK=y +CONFIG_LSATTR=y +# CONFIG_TUNE2FS is not set + +# +# Linux Module Utilities +# +# CONFIG_MODPROBE_SMALL is not set +# CONFIG_DEPMOD is not set +CONFIG_INSMOD=y +CONFIG_LSMOD=y +CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y +# CONFIG_MODINFO is not set +CONFIG_MODPROBE=y +# CONFIG_FEATURE_MODPROBE_BLACKLIST is not set +CONFIG_RMMOD=y + +# +# Options common to multiple modutils +# +CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS=y +# CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is not set +# CONFIG_FEATURE_2_4_MODULES is not set +# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set +# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set +# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set +# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set +CONFIG_FEATURE_CHECK_TAINTED_MODULE=y +# CONFIG_FEATURE_INSMOD_TRY_MMAP is not set +CONFIG_FEATURE_MODUTILS_ALIAS=y +CONFIG_FEATURE_MODUTILS_SYMBOLS=y +CONFIG_DEFAULT_MODULES_DIR="/lib/modules" +CONFIG_DEFAULT_DEPMOD_FILE="modules.dep" + +# +# Linux System Utilities +# +# CONFIG_ACPID is not set +# CONFIG_FEATURE_ACPID_COMPAT is not set +# CONFIG_BLKDISCARD is not set +CONFIG_BLKID=y +# CONFIG_FEATURE_BLKID_TYPE is not set +# CONFIG_BLOCKDEV is not set +# CONFIG_CAL is not set +CONFIG_CHRT=y +CONFIG_DMESG=y +CONFIG_FEATURE_DMESG_PRETTY=y +CONFIG_EJECT=y +# CONFIG_FEATURE_EJECT_SCSI is not set +CONFIG_FALLOCATE=y +# CONFIG_FATATTR is not set +CONFIG_FBSET=y +CONFIG_FEATURE_FBSET_FANCY=y +CONFIG_FEATURE_FBSET_READMODE=y +CONFIG_FDFORMAT=y +CONFIG_FDISK=y +# CONFIG_FDISK_SUPPORT_LARGE_DISKS is not set +CONFIG_FEATURE_FDISK_WRITABLE=y +# CONFIG_FEATURE_AIX_LABEL is not set +# CONFIG_FEATURE_SGI_LABEL is not set +# CONFIG_FEATURE_SUN_LABEL is not set +# CONFIG_FEATURE_OSF_LABEL is not set +CONFIG_FEATURE_GPT_LABEL=y +CONFIG_FEATURE_FDISK_ADVANCED=y +# CONFIG_FINDFS is not set +CONFIG_FLOCK=y +CONFIG_FDFLUSH=y +CONFIG_FREERAMDISK=y +# CONFIG_FSCK_MINIX is not set +CONFIG_FSFREEZE=y +CONFIG_FSTRIM=y +CONFIG_GETOPT=y +CONFIG_FEATURE_GETOPT_LONG=y +CONFIG_HEXDUMP=y +# CONFIG_HD is not set +CONFIG_XXD=y +CONFIG_HWCLOCK=y +CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y +# CONFIG_IONICE is not set +CONFIG_IPCRM=y +CONFIG_IPCS=y +CONFIG_LAST=y +# CONFIG_FEATURE_LAST_FANCY is not set +CONFIG_LOSETUP=y +CONFIG_LSPCI=y +CONFIG_LSUSB=y +CONFIG_MDEV=y +CONFIG_FEATURE_MDEV_CONF=y +CONFIG_FEATURE_MDEV_RENAME=y +# CONFIG_FEATURE_MDEV_RENAME_REGEXP is not set +CONFIG_FEATURE_MDEV_EXEC=y +# CONFIG_FEATURE_MDEV_LOAD_FIRMWARE is not set +CONFIG_FEATURE_MDEV_DAEMON=y +CONFIG_MESG=y +CONFIG_FEATURE_MESG_ENABLE_ONLY_GROUP=y +CONFIG_MKE2FS=y +# CONFIG_MKFS_EXT2 is not set +# CONFIG_MKFS_MINIX is not set +# CONFIG_FEATURE_MINIX2 is not set +# CONFIG_MKFS_REISER is not set +CONFIG_MKDOSFS=y +# CONFIG_MKFS_VFAT is not set +CONFIG_MKSWAP=y +# CONFIG_FEATURE_MKSWAP_UUID is not set +CONFIG_MORE=y +CONFIG_MOUNT=y +# CONFIG_FEATURE_MOUNT_FAKE is not set +# CONFIG_FEATURE_MOUNT_VERBOSE is not set +# CONFIG_FEATURE_MOUNT_HELPERS is not set +# CONFIG_FEATURE_MOUNT_LABEL is not set +# CONFIG_FEATURE_MOUNT_NFS is not set +CONFIG_FEATURE_MOUNT_CIFS=y +CONFIG_FEATURE_MOUNT_FLAGS=y +CONFIG_FEATURE_MOUNT_FSTAB=y +CONFIG_FEATURE_MOUNT_OTHERTAB=y +CONFIG_MOUNTPOINT=y +CONFIG_NOLOGIN=y +# CONFIG_NOLOGIN_DEPENDENCIES is not set +# CONFIG_NSENTER is not set +CONFIG_PIVOT_ROOT=y +CONFIG_RDATE=y +# CONFIG_RDEV is not set +CONFIG_READPROFILE=y +CONFIG_RENICE=y +# CONFIG_REV is not set +# CONFIG_RTCWAKE is not set +# CONFIG_SCRIPT is not set +# CONFIG_SCRIPTREPLAY is not set +CONFIG_SETARCH=y +CONFIG_LINUX32=y +CONFIG_LINUX64=y +CONFIG_SETPRIV=y +CONFIG_FEATURE_SETPRIV_DUMP=y +CONFIG_FEATURE_SETPRIV_CAPABILITIES=y +CONFIG_FEATURE_SETPRIV_CAPABILITY_NAMES=y +CONFIG_SETSID=y +CONFIG_SWAPON=y +# CONFIG_FEATURE_SWAPON_DISCARD is not set +# CONFIG_FEATURE_SWAPON_PRI is not set +CONFIG_SWAPOFF=y +CONFIG_FEATURE_SWAPONOFF_LABEL=y +CONFIG_SWITCH_ROOT=y +# CONFIG_TASKSET is not set +# CONFIG_FEATURE_TASKSET_FANCY is not set +# CONFIG_FEATURE_TASKSET_CPULIST is not set +CONFIG_UEVENT=y +CONFIG_UMOUNT=y +CONFIG_FEATURE_UMOUNT_ALL=y +# CONFIG_UNSHARE is not set +# CONFIG_WALL is not set + +# +# Common options for mount/umount +# +CONFIG_FEATURE_MOUNT_LOOP=y +CONFIG_FEATURE_MOUNT_LOOP_CREATE=y +# CONFIG_FEATURE_MTAB_SUPPORT is not set +CONFIG_VOLUMEID=y + +# +# Filesystem/Volume identification +# +# CONFIG_FEATURE_VOLUMEID_BCACHE is not set +# CONFIG_FEATURE_VOLUMEID_BTRFS is not set +# CONFIG_FEATURE_VOLUMEID_CRAMFS is not set +CONFIG_FEATURE_VOLUMEID_EROFS=y +CONFIG_FEATURE_VOLUMEID_EXFAT=y +CONFIG_FEATURE_VOLUMEID_EXT=y +CONFIG_FEATURE_VOLUMEID_F2FS=y +CONFIG_FEATURE_VOLUMEID_FAT=y +# CONFIG_FEATURE_VOLUMEID_HFS is not set +# CONFIG_FEATURE_VOLUMEID_ISO9660 is not set +# CONFIG_FEATURE_VOLUMEID_JFS is not set +# CONFIG_FEATURE_VOLUMEID_LFS is not set +# CONFIG_FEATURE_VOLUMEID_LINUXRAID is not set +# CONFIG_FEATURE_VOLUMEID_LINUXSWAP is not set +# CONFIG_FEATURE_VOLUMEID_LUKS is not set +CONFIG_FEATURE_VOLUMEID_MINIX=y +# CONFIG_FEATURE_VOLUMEID_NILFS is not set +# CONFIG_FEATURE_VOLUMEID_NTFS is not set +# CONFIG_FEATURE_VOLUMEID_OCFS2 is not set +# CONFIG_FEATURE_VOLUMEID_REISERFS is not set +# CONFIG_FEATURE_VOLUMEID_ROMFS is not set +# CONFIG_FEATURE_VOLUMEID_SQUASHFS is not set +# CONFIG_FEATURE_VOLUMEID_SYSV is not set +CONFIG_FEATURE_VOLUMEID_UBIFS=y +# CONFIG_FEATURE_VOLUMEID_UDF is not set +# CONFIG_FEATURE_VOLUMEID_XFS is not set + +# +# Miscellaneous Utilities +# +# CONFIG_ADJTIMEX is not set +CONFIG_ASCII=y +# CONFIG_BBCONFIG is not set +# CONFIG_FEATURE_COMPRESS_BBCONFIG is not set +CONFIG_BC=y +CONFIG_DC=y +CONFIG_FEATURE_DC_BIG=y +# CONFIG_FEATURE_DC_LIBM is not set +CONFIG_FEATURE_BC_INTERACTIVE=y +CONFIG_FEATURE_BC_LONG_OPTIONS=y +# CONFIG_BEEP is not set +CONFIG_FEATURE_BEEP_FREQ=0 +CONFIG_FEATURE_BEEP_LENGTH_MS=0 +# CONFIG_CHAT is not set +# CONFIG_FEATURE_CHAT_NOFAIL is not set +# CONFIG_FEATURE_CHAT_TTY_HIFI is not set +# CONFIG_FEATURE_CHAT_IMPLICIT_CR is not set +# CONFIG_FEATURE_CHAT_SWALLOW_OPTS is not set +# CONFIG_FEATURE_CHAT_SEND_ESCAPES is not set +# CONFIG_FEATURE_CHAT_VAR_ABORT_LEN is not set +# CONFIG_FEATURE_CHAT_CLR_ABORT is not set +# CONFIG_CONSPY is not set +CONFIG_CROND=y +# CONFIG_FEATURE_CROND_D is not set +# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set +CONFIG_FEATURE_CROND_SPECIAL_TIMES=y +CONFIG_FEATURE_CROND_DIR="/var/spool/cron" +CONFIG_CRONTAB=y +# CONFIG_DEVFSD is not set +# CONFIG_DEVFSD_MODLOAD is not set +# CONFIG_DEVFSD_FG_NP is not set +# CONFIG_DEVFSD_VERBOSE is not set +# CONFIG_FEATURE_DEVFS is not set +CONFIG_DEVMEM=y +# CONFIG_FBSPLASH is not set +# CONFIG_FLASH_ERASEALL is not set +# CONFIG_FLASH_LOCK is not set +# CONFIG_FLASH_UNLOCK is not set +# CONFIG_FLASHCP is not set +CONFIG_HDPARM=y +CONFIG_FEATURE_HDPARM_GET_IDENTITY=y +# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set +# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set +# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set +CONFIG_HEXEDIT=y +CONFIG_I2CGET=y +CONFIG_I2CSET=y +CONFIG_I2CDUMP=y +CONFIG_I2CDETECT=y +CONFIG_I2CTRANSFER=y +# CONFIG_INOTIFYD is not set +CONFIG_LESS=y +CONFIG_FEATURE_LESS_MAXLINES=9999999 +CONFIG_FEATURE_LESS_BRACKETS=y +CONFIG_FEATURE_LESS_FLAGS=y +CONFIG_FEATURE_LESS_TRUNCATE=y +# CONFIG_FEATURE_LESS_MARKS is not set +CONFIG_FEATURE_LESS_REGEXP=y +# CONFIG_FEATURE_LESS_WINCH is not set +# CONFIG_FEATURE_LESS_ASK_TERMINAL is not set +# CONFIG_FEATURE_LESS_DASHCMD is not set +# CONFIG_FEATURE_LESS_LINENUMS is not set +# CONFIG_FEATURE_LESS_RAW is not set +# CONFIG_FEATURE_LESS_ENV is not set +CONFIG_LSSCSI=y +CONFIG_MAKEDEVS=y +# CONFIG_FEATURE_MAKEDEVS_LEAF is not set +CONFIG_FEATURE_MAKEDEVS_TABLE=y +# CONFIG_MAN is not set +CONFIG_MICROCOM=y +CONFIG_MIM=y +CONFIG_MT=y +# CONFIG_NANDWRITE is not set +# CONFIG_NANDDUMP is not set +CONFIG_PARTPROBE=y +# CONFIG_RAIDAUTORUN is not set +# CONFIG_READAHEAD is not set +# CONFIG_RFKILL is not set +CONFIG_RUNLEVEL=y +# CONFIG_RX is not set +CONFIG_SETFATTR=y +CONFIG_SETSERIAL=y +CONFIG_STRINGS=y +CONFIG_TIME=y +CONFIG_TS=y +# CONFIG_TTYSIZE is not set +# CONFIG_UBIATTACH is not set +# CONFIG_UBIDETACH is not set +# CONFIG_UBIMKVOL is not set +# CONFIG_UBIRMVOL is not set +# CONFIG_UBIRSVOL is not set +# CONFIG_UBIUPDATEVOL is not set +CONFIG_UBIRENAME=y +# CONFIG_VOLNAME is not set +CONFIG_WATCHDOG=y +# CONFIG_FEATURE_WATCHDOG_OPEN_TWICE is not set + +# +# Networking Utilities +# +CONFIG_FEATURE_IPV6=y +# CONFIG_FEATURE_UNIX_LOCAL is not set +CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y +# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set +# CONFIG_FEATURE_ETC_NETWORKS is not set +# CONFIG_FEATURE_ETC_SERVICES is not set +CONFIG_FEATURE_HWIB=y +# CONFIG_FEATURE_TLS_SHA1 is not set +CONFIG_ARP=y +CONFIG_ARPING=y +# CONFIG_BRCTL is not set +# CONFIG_FEATURE_BRCTL_FANCY is not set +# CONFIG_FEATURE_BRCTL_SHOW is not set +CONFIG_DNSD=y +CONFIG_ETHER_WAKE=y +# CONFIG_FTPD is not set +# CONFIG_FEATURE_FTPD_WRITE is not set +# CONFIG_FEATURE_FTPD_ACCEPT_BROKEN_LIST is not set +# CONFIG_FEATURE_FTPD_AUTHENTICATION is not set +# CONFIG_FTPGET is not set +# CONFIG_FTPPUT is not set +# CONFIG_FEATURE_FTPGETPUT_LONG_OPTIONS is not set +CONFIG_HOSTNAME=y +CONFIG_DNSDOMAINNAME=y +# CONFIG_HTTPD is not set +CONFIG_FEATURE_HTTPD_PORT_DEFAULT=0 +# CONFIG_FEATURE_HTTPD_RANGES is not set +# CONFIG_FEATURE_HTTPD_SETUID is not set +# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set +# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set +# CONFIG_FEATURE_HTTPD_CGI is not set +# CONFIG_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR is not set +# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set +# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set +# CONFIG_FEATURE_HTTPD_ERROR_PAGES is not set +# CONFIG_FEATURE_HTTPD_PROXY is not set +# CONFIG_FEATURE_HTTPD_GZIP is not set +# CONFIG_FEATURE_HTTPD_ETAG is not set +# CONFIG_FEATURE_HTTPD_LAST_MODIFIED is not set +# CONFIG_FEATURE_HTTPD_DATE is not set +# CONFIG_FEATURE_HTTPD_ACL_IP is not set +CONFIG_IFCONFIG=y +CONFIG_FEATURE_IFCONFIG_STATUS=y +CONFIG_FEATURE_IFCONFIG_SLIP=y +CONFIG_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y +CONFIG_FEATURE_IFCONFIG_HW=y +# CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS is not set +# CONFIG_IFENSLAVE is not set +# CONFIG_IFPLUGD is not set +CONFIG_IFUP=y +CONFIG_IFDOWN=y +CONFIG_IFUPDOWN_IFSTATE_PATH="/var/run/ifstate" +CONFIG_FEATURE_IFUPDOWN_IP=y +CONFIG_FEATURE_IFUPDOWN_IPV4=y +CONFIG_FEATURE_IFUPDOWN_IPV6=y +CONFIG_FEATURE_IFUPDOWN_MAPPING=y +# CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP is not set +CONFIG_INETD=y +CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_ECHO=y +CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DISCARD=y +CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_TIME=y +CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME=y +CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_CHARGEN=y +# CONFIG_FEATURE_INETD_RPC is not set +CONFIG_IP=y +CONFIG_IPADDR=y +CONFIG_IPLINK=y +CONFIG_IPROUTE=y +CONFIG_IPTUNNEL=y +CONFIG_IPRULE=y +CONFIG_IPNEIGH=y +CONFIG_FEATURE_IP_ADDRESS=y +CONFIG_FEATURE_IP_LINK=y +CONFIG_FEATURE_IP_ROUTE=y +CONFIG_FEATURE_IP_ROUTE_DIR="/etc/iproute2" +CONFIG_FEATURE_IP_TUNNEL=y +CONFIG_FEATURE_IP_RULE=y +CONFIG_FEATURE_IP_NEIGH=y +# CONFIG_FEATURE_IP_RARE_PROTOCOLS is not set +# CONFIG_IPCALC is not set +# CONFIG_FEATURE_IPCALC_LONG_OPTIONS is not set +# CONFIG_FEATURE_IPCALC_FANCY is not set +# CONFIG_FAKEIDENTD is not set +CONFIG_NAMEIF=y +# CONFIG_FEATURE_NAMEIF_EXTENDED is not set +# CONFIG_NBDCLIENT is not set +# CONFIG_NC is not set +# CONFIG_NETCAT is not set +# CONFIG_NC_SERVER is not set +# CONFIG_NC_EXTRA is not set +# CONFIG_NC_110_COMPAT is not set +CONFIG_NETSTAT=y +# CONFIG_FEATURE_NETSTAT_WIDE is not set +# CONFIG_FEATURE_NETSTAT_PRG is not set +CONFIG_NSLOOKUP=y +CONFIG_FEATURE_NSLOOKUP_BIG=y +CONFIG_FEATURE_NSLOOKUP_LONG_OPTIONS=y +# CONFIG_NTPD is not set +# CONFIG_FEATURE_NTPD_SERVER is not set +# CONFIG_FEATURE_NTPD_CONF is not set +# CONFIG_FEATURE_NTP_AUTH is not set +CONFIG_PING=y +# CONFIG_PING6 is not set +CONFIG_FEATURE_FANCY_PING=y +# CONFIG_PSCAN is not set +CONFIG_ROUTE=y +# CONFIG_SLATTACH is not set +# CONFIG_SSL_CLIENT is not set +CONFIG_TC=y +CONFIG_FEATURE_TC_INGRESS=y +# CONFIG_TCPSVD is not set +# CONFIG_UDPSVD is not set +CONFIG_TELNET=y +CONFIG_FEATURE_TELNET_TTYPE=y +CONFIG_FEATURE_TELNET_AUTOLOGIN=y +CONFIG_FEATURE_TELNET_WIDTH=y +# CONFIG_TELNETD is not set +# CONFIG_FEATURE_TELNETD_STANDALONE is not set +CONFIG_FEATURE_TELNETD_PORT_DEFAULT=0 +# CONFIG_FEATURE_TELNETD_INETD_WAIT is not set +CONFIG_TFTP=y +# CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set +CONFIG_FEATURE_TFTP_HPA_COMPAT=y +# CONFIG_TFTPD is not set +CONFIG_FEATURE_TFTP_GET=y +CONFIG_FEATURE_TFTP_PUT=y +CONFIG_FEATURE_TFTP_BLOCKSIZE=y +# CONFIG_TFTP_DEBUG is not set +# CONFIG_TLS is not set +CONFIG_TRACEROUTE=y +# CONFIG_TRACEROUTE6 is not set +# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set +# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set +# CONFIG_TUNCTL is not set +# CONFIG_FEATURE_TUNCTL_UG is not set +CONFIG_VCONFIG=y +CONFIG_WGET=y +CONFIG_FEATURE_WGET_LONG_OPTIONS=y +CONFIG_FEATURE_WGET_STATUSBAR=y +CONFIG_FEATURE_WGET_FTP=y +CONFIG_FEATURE_WGET_AUTHENTICATION=y +CONFIG_FEATURE_WGET_TIMEOUT=y +# CONFIG_FEATURE_WGET_HTTPS is not set +# CONFIG_FEATURE_WGET_OPENSSL is not set +# CONFIG_WHOIS is not set +# CONFIG_ZCIP is not set +# CONFIG_UDHCPD is not set +# CONFIG_FEATURE_UDHCPD_BASE_IP_ON_MAC is not set +# CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY is not set +CONFIG_DHCPD_LEASES_FILE="" +# CONFIG_DUMPLEASES is not set +# CONFIG_DHCPRELAY is not set +CONFIG_UDHCPC=y +CONFIG_FEATURE_UDHCPC_ARPING=y +CONFIG_FEATURE_UDHCPC_SANITIZEOPT=y +CONFIG_UDHCPC_DEFAULT_SCRIPT="/usr/share/udhcpc/default.script" +# CONFIG_UDHCPC6 is not set +# CONFIG_FEATURE_UDHCPC6_RFC3646 is not set +# CONFIG_FEATURE_UDHCPC6_RFC4704 is not set +# CONFIG_FEATURE_UDHCPC6_RFC4833 is not set +# CONFIG_FEATURE_UDHCPC6_RFC5970 is not set + +# +# Common options for DHCP applets +# +CONFIG_UDHCPC_DEFAULT_INTERFACE="eth0" +# CONFIG_FEATURE_UDHCP_PORT is not set +CONFIG_UDHCP_DEBUG=0 +CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80 +CONFIG_FEATURE_UDHCP_RFC3397=y +CONFIG_FEATURE_UDHCP_8021Q=y +CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-b -R -O search" + +# +# Print Utilities +# +# CONFIG_LPD is not set +# CONFIG_LPR is not set +# CONFIG_LPQ is not set + +# +# Mail Utilities +# +CONFIG_FEATURE_MIME_CHARSET="" +# CONFIG_MAKEMIME is not set +# CONFIG_POPMAILDIR is not set +# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set +# CONFIG_REFORMIME is not set +# CONFIG_FEATURE_REFORMIME_COMPAT is not set +# CONFIG_SENDMAIL is not set + +# +# Process Utilities +# +# CONFIG_FEATURE_FAST_TOP is not set +# CONFIG_FEATURE_SHOW_THREADS is not set +CONFIG_FREE=y +CONFIG_FUSER=y +# CONFIG_IOSTAT is not set +CONFIG_KILL=y +CONFIG_KILLALL=y +CONFIG_KILLALL5=y +CONFIG_LSOF=y +# CONFIG_MPSTAT is not set +# CONFIG_NMETER is not set +# CONFIG_PGREP is not set +# CONFIG_PKILL is not set +CONFIG_PIDOF=y +CONFIG_FEATURE_PIDOF_SINGLE=y +CONFIG_FEATURE_PIDOF_OMIT=y +# CONFIG_PMAP is not set +# CONFIG_POWERTOP is not set +# CONFIG_FEATURE_POWERTOP_INTERACTIVE is not set +CONFIG_PS=y +# CONFIG_FEATURE_PS_WIDE is not set +# CONFIG_FEATURE_PS_LONG is not set +# CONFIG_FEATURE_PS_TIME is not set +# CONFIG_FEATURE_PS_UNUSUAL_SYSTEMS is not set +# CONFIG_FEATURE_PS_ADDITIONAL_COLUMNS is not set +# CONFIG_PSTREE is not set +# CONFIG_PWDX is not set +# CONFIG_SMEMCAP is not set +CONFIG_BB_SYSCTL=y +CONFIG_TOP=y +CONFIG_FEATURE_TOP_INTERACTIVE=y +CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y +CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y +# CONFIG_FEATURE_TOP_SMP_CPU is not set +# CONFIG_FEATURE_TOP_DECIMALS is not set +# CONFIG_FEATURE_TOP_SMP_PROCESS is not set +# CONFIG_FEATURE_TOPMEM is not set +CONFIG_UPTIME=y +# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set +CONFIG_WATCH=y + +# +# Runit Utilities +# +# CONFIG_CHPST is not set +# CONFIG_SETUIDGID is not set +# CONFIG_ENVUIDGID is not set +# CONFIG_ENVDIR is not set +# CONFIG_SOFTLIMIT is not set +# CONFIG_RUNSV is not set +# CONFIG_RUNSVDIR is not set +# CONFIG_FEATURE_RUNSVDIR_LOG is not set +# CONFIG_SV is not set +CONFIG_SV_DEFAULT_SERVICE_DIR="" +CONFIG_SVC=y +CONFIG_SVOK=y +# CONFIG_SVLOGD is not set +# CONFIG_CHCON is not set +# CONFIG_GETENFORCE is not set +# CONFIG_GETSEBOOL is not set +# CONFIG_LOAD_POLICY is not set +# CONFIG_MATCHPATHCON is not set +# CONFIG_RUNCON is not set +# CONFIG_SELINUXENABLED is not set +# CONFIG_SESTATUS is not set +# CONFIG_SETENFORCE is not set +# CONFIG_SETFILES is not set +# CONFIG_FEATURE_SETFILES_CHECK_OPTION is not set +# CONFIG_RESTORECON is not set +# CONFIG_SETSEBOOL is not set + +# +# Shells +# +CONFIG_SH_IS_ASH=y +# CONFIG_SH_IS_HUSH is not set +# CONFIG_SH_IS_NONE is not set +# CONFIG_BASH_IS_ASH is not set +# CONFIG_BASH_IS_HUSH is not set +CONFIG_BASH_IS_NONE=y +CONFIG_SHELL_ASH=y +CONFIG_ASH=y +CONFIG_ASH_OPTIMIZE_FOR_SIZE=y +CONFIG_ASH_INTERNAL_GLOB=y +CONFIG_ASH_BASH_COMPAT=y +# CONFIG_ASH_BASH_SOURCE_CURDIR is not set +CONFIG_ASH_BASH_NOT_FOUND_HOOK=y +CONFIG_ASH_JOB_CONTROL=y +CONFIG_ASH_ALIAS=y +CONFIG_ASH_RANDOM_SUPPORT=y +CONFIG_ASH_EXPAND_PRMT=y +CONFIG_ASH_IDLE_TIMEOUT=y +# CONFIG_ASH_MAIL is not set +CONFIG_ASH_ECHO=y +CONFIG_ASH_PRINTF=y +CONFIG_ASH_TEST=y +CONFIG_ASH_HELP=y +CONFIG_ASH_GETOPTS=y +CONFIG_ASH_CMDCMD=y +# CONFIG_CTTYHACK is not set +# CONFIG_HUSH is not set +# CONFIG_SHELL_HUSH is not set +# CONFIG_HUSH_BASH_COMPAT is not set +# CONFIG_HUSH_BRACE_EXPANSION is not set +# CONFIG_HUSH_BASH_SOURCE_CURDIR is not set +# CONFIG_HUSH_LINENO_VAR is not set +# CONFIG_HUSH_INTERACTIVE is not set +# CONFIG_HUSH_SAVEHISTORY is not set +# CONFIG_HUSH_JOB is not set +# CONFIG_HUSH_TICK is not set +# CONFIG_HUSH_IF is not set +# CONFIG_HUSH_LOOPS is not set +# CONFIG_HUSH_CASE is not set +# CONFIG_HUSH_FUNCTIONS is not set +# CONFIG_HUSH_LOCAL is not set +# CONFIG_HUSH_RANDOM_SUPPORT is not set +# CONFIG_HUSH_MODE_X is not set +# CONFIG_HUSH_ECHO is not set +# CONFIG_HUSH_PRINTF is not set +# CONFIG_HUSH_TEST is not set +# CONFIG_HUSH_HELP is not set +# CONFIG_HUSH_EXPORT is not set +# CONFIG_HUSH_EXPORT_N is not set +# CONFIG_HUSH_READONLY is not set +# CONFIG_HUSH_KILL is not set +# CONFIG_HUSH_WAIT is not set +# CONFIG_HUSH_COMMAND is not set +# CONFIG_HUSH_TRAP is not set +# CONFIG_HUSH_TYPE is not set +# CONFIG_HUSH_TIMES is not set +# CONFIG_HUSH_READ is not set +# CONFIG_HUSH_SET is not set +# CONFIG_HUSH_UNSET is not set +# CONFIG_HUSH_ULIMIT is not set +# CONFIG_HUSH_UMASK is not set +# CONFIG_HUSH_GETOPTS is not set +# CONFIG_HUSH_MEMLEAK is not set + +# +# Options common to all shells +# +CONFIG_FEATURE_SH_MATH=y +CONFIG_FEATURE_SH_MATH_64=y +CONFIG_FEATURE_SH_MATH_BASE=y +CONFIG_FEATURE_SH_EXTRA_QUIET=y +# CONFIG_FEATURE_SH_STANDALONE is not set +# CONFIG_FEATURE_SH_NOFORK is not set +CONFIG_FEATURE_SH_READ_FRAC=y +# CONFIG_FEATURE_SH_HISTFILESIZE is not set +CONFIG_FEATURE_SH_EMBEDDED_SCRIPTS=y + +# +# System Logging Utilities +# +CONFIG_KLOGD=y +CONFIG_FEATURE_KLOGD_KLOGCTL=y +CONFIG_LOGGER=y +# CONFIG_LOGREAD is not set +# CONFIG_FEATURE_LOGREAD_REDUCED_LOCKING is not set +CONFIG_SYSLOGD=y +CONFIG_FEATURE_ROTATE_LOGFILE=y +CONFIG_FEATURE_REMOTE_LOG=y +# CONFIG_FEATURE_SYSLOGD_DUP is not set +# CONFIG_FEATURE_SYSLOGD_CFG is not set +# CONFIG_FEATURE_SYSLOGD_PRECISE_TIMESTAMPS is not set +CONFIG_FEATURE_SYSLOGD_READ_BUFFER_SIZE=256 +# CONFIG_FEATURE_IPC_SYSLOG is not set +CONFIG_FEATURE_IPC_SYSLOG_BUFFER_SIZE=0 +# CONFIG_FEATURE_KMSG_SYSLOG is not set diff --git a/buildroot-2022.02.1/package/busybox/busybox.hash b/buildroot-2022.02.1/package/busybox/busybox.hash new file mode 100644 index 00000000..2091cdaf --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/busybox.hash @@ -0,0 +1,5 @@ +# From https://busybox.net/downloads/busybox-1.35.0.tar.bz2.sha256 +sha256 faeeb244c35a348a334f4a59e44626ee870fb07b6884d68c10ae8bc19f83a694 busybox-1.35.0.tar.bz2 +# Locally computed +sha256 bbfc9843646d483c334664f651c208b9839626891d8f17604db2146962f43548 LICENSE +sha256 b5a136ed67798e51fe2e0ca0b2a21cb01b904ff0c9f7d563a6292e276607e58f archival/libarchive/bz/LICENSE diff --git a/buildroot-2022.02.1/package/busybox/busybox.mk b/buildroot-2022.02.1/package/busybox/busybox.mk new file mode 100644 index 00000000..3e49de0a --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/busybox.mk @@ -0,0 +1,416 @@ +################################################################################ +# +# busybox +# +################################################################################ + +BUSYBOX_VERSION = 1.35.0 +BUSYBOX_SITE = https://www.busybox.net/downloads +BUSYBOX_SOURCE = busybox-$(BUSYBOX_VERSION).tar.bz2 +BUSYBOX_LICENSE = GPL-2.0, bzip2-1.0.4 +BUSYBOX_LICENSE_FILES = LICENSE archival/libarchive/bz/LICENSE +BUSYBOX_CPE_ID_VENDOR = busybox + +BUSYBOX_CFLAGS = \ + $(TARGET_CFLAGS) + +BUSYBOX_LDFLAGS = \ + $(TARGET_LDFLAGS) + +# Packages that provide commands that may also be busybox applets: +BUSYBOX_DEPENDENCIES = \ + $(if $(BR2_PACKAGE_ATTR),attr) \ + $(if $(BR2_PACKAGE_BASH),bash) \ + $(if $(BR2_PACKAGE_BC),bc) \ + $(if $(BR2_PACKAGE_BINUTILS),binutils) \ + $(if $(BR2_PACKAGE_COREUTILS),coreutils) \ + $(if $(BR2_PACKAGE_CPIO),cpio) \ + $(if $(BR2_PACKAGE_DCRON),dcron) \ + $(if $(BR2_PACKAGE_DEBIANUTILS),debianutils) \ + $(if $(BR2_PACKAGE_DIFFUTILS),diffutils) \ + $(if $(BR2_PACKAGE_DOS2UNIX),dos2unix) \ + $(if $(BR2_PACKAGE_DOSFSTOOLS),dosfstools) \ + $(if $(BR2_PACKAGE_E2FSPROGS),e2fsprogs) \ + $(if $(BR2_PACKAGE_FBSET),fbset) \ + $(if $(BR2_PACKAGE_GAWK),gawk) \ + $(if $(BR2_PACKAGE_GREP),grep) \ + $(if $(BR2_PACKAGE_GZIP),gzip) \ + $(if $(BR2_PACKAGE_I2C_TOOLS),i2c-tools) \ + $(if $(BR2_PACKAGE_IFENSLAVE),ifenslave) \ + $(if $(BR2_PACKAGE_IFPLUGD),ifplugd) \ + $(if $(BR2_PACKAGE_IFUPDOWN),ifupdown) \ + $(if $(BR2_PACKAGE_IPCALC),ipcalc) \ + $(if $(BR2_PACKAGE_IPROUTE2),iproute2) \ + $(if $(BR2_PACKAGE_IPUTILS),iputils) \ + $(if $(BR2_PACKAGE_KMOD),kmod) \ + $(if $(BR2_PACKAGE_LESS),less) \ + $(if $(BR2_PACKAGE_LSOF),lsof) \ + $(if $(BR2_PACKAGE_MTD),mtd) \ + $(if $(BR2_PACKAGE_NET_TOOLS),net-tools) \ + $(if $(BR2_PACKAGE_NETCAT),netcat) \ + $(if $(BR2_PACKAGE_NETCAT_OPENSBSD),netcat-openbsd) \ + $(if $(BR2_PACKAGE_NMAP),nmap) \ + $(if $(BR2_PACKAGE_NTP),ntp) \ + $(if $(BR2_PACKAGE_PCIUTILS),pciutils) \ + $(if $(BR2_PACKAGE_PROCPS_NG),procps-ng) \ + $(if $(BR2_PACKAGE_PSMISC),psmisc) \ + $(if $(BR2_PACKAGE_START_STOP_DAEMON),start-stop-daemon) \ + $(if $(BR2_PACKAGE_SYSKLOGD),sysklogd) \ + $(if $(BR2_PACKAGE_SYSTEMD),systemd) \ + $(if $(BR2_PACKAGE_SYSVINIT),sysvinit) \ + $(if $(BR2_PACKAGE_TAR),tar) \ + $(if $(BR2_PACKAGE_TFTPD),tftpd) \ + $(if $(BR2_PACKAGE_TRACEROUTE),traceroute) \ + $(if $(BR2_PACKAGE_UNZIP),unzip) \ + $(if $(BR2_PACKAGE_USBUTILS),usbutils) \ + $(if $(BR2_PACKAGE_UTIL_LINUX),util-linux) \ + $(if $(BR2_PACKAGE_VIM),vim) \ + $(if $(BR2_PACKAGE_WATCHDOG),watchdog) \ + $(if $(BR2_PACKAGE_WGET),wget) \ + $(if $(BR2_PACKAGE_WHOIS),whois) + +# Link against libtirpc if available so that we can leverage its RPC +# support for NFS mounting with BusyBox +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +BUSYBOX_DEPENDENCIES += libtirpc host-pkgconf +BUSYBOX_CFLAGS += "`$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" +# Don't use LDFLAGS for -ltirpc, because LDFLAGS is used for +# the non-final link of modules as well. +BUSYBOX_CFLAGS_busybox += "`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`" +endif + +# Allows the build system to tweak CFLAGS +BUSYBOX_MAKE_ENV = \ + $(TARGET_MAKE_ENV) \ + CFLAGS="$(BUSYBOX_CFLAGS)" \ + CFLAGS_busybox="$(BUSYBOX_CFLAGS_busybox)" + +ifeq ($(BR2_REPRODUCIBLE),y) +BUSYBOX_MAKE_ENV += \ + KCONFIG_NOTIMESTAMP=1 +endif + +BUSYBOX_MAKE_OPTS = \ + AR="$(TARGET_AR)" \ + NM="$(TARGET_NM)" \ + RANLIB="$(TARGET_RANLIB)" \ + CC="$(TARGET_CC)" \ + ARCH=$(NORMALIZED_ARCH) \ + PREFIX="$(TARGET_DIR)" \ + EXTRA_LDFLAGS="$(BUSYBOX_LDFLAGS)" \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + CONFIG_PREFIX="$(TARGET_DIR)" \ + SKIP_STRIP=y + +ifndef BUSYBOX_CONFIG_FILE +BUSYBOX_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG)) +endif + +BUSYBOX_KCONFIG_SUPPORTS_DEFCONFIG = NO +BUSYBOX_KCONFIG_FILE = $(BUSYBOX_CONFIG_FILE) +BUSYBOX_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES)) +BUSYBOX_KCONFIG_EDITORS = menuconfig xconfig gconfig +BUSYBOX_KCONFIG_OPTS = $(BUSYBOX_MAKE_OPTS) + +ifeq ($(BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES),y) +define BUSYBOX_PERMISSIONS +# Set permissions on all applets with BB_SUID_REQUIRE and BB_SUID_MAYBE. +# 12 Applets are pulled from applets.h using grep command : +# grep -r -e "APPLET.*BB_SUID_REQUIRE\|APPLET.*BB_SUID_MAYBE" \ +# $(@D)/include/applets.h +# These applets are added to the device table and the makedev file +# ignores the files with type 'F' ( optional files). + /usr/bin/wall F 4755 0 0 - - - - - + /bin/ping F 4755 0 0 - - - - - + /bin/ping6 F 4755 0 0 - - - - - + /usr/bin/crontab F 4755 0 0 - - - - - + /sbin/findfs F 4755 0 0 - - - - - + /bin/login F 4755 0 0 - - - - - + /bin/mount F 4755 0 0 - - - - - + /usr/bin/passwd F 4755 0 0 - - - - - + /bin/su F 4755 0 0 - - - - - + /usr/bin/traceroute F 4755 0 0 - - - - - + /usr/bin/traceroute6 F 4755 0 0 - - - - - + /usr/bin/vlock F 4755 0 0 - - - - - +endef +else +define BUSYBOX_PERMISSIONS + /bin/busybox f 4755 0 0 - - - - - +endef +endif + +# If mdev will be used for device creation enable it and copy S10mdev to /etc/init.d +ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV),y) +define BUSYBOX_INSTALL_MDEV_SCRIPT + $(INSTALL) -D -m 0755 package/busybox/S10mdev \ + $(TARGET_DIR)/etc/init.d/S10mdev +endef +define BUSYBOX_INSTALL_MDEV_CONF + $(INSTALL) -D -m 0644 package/busybox/mdev.conf \ + $(TARGET_DIR)/etc/mdev.conf +endef +define BUSYBOX_SET_MDEV + $(call KCONFIG_ENABLE_OPT,CONFIG_MDEV) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_CONF) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_EXEC) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MDEV_LOAD_FIRMWARE) +endef +endif + +# sha passwords need USE_BB_CRYPT_SHA +ifeq ($(BR2_TARGET_GENERIC_PASSWD_SHA256)$(BR2_TARGET_GENERIC_PASSWD_SHA512),y) +define BUSYBOX_SET_CRYPT_SHA + $(call KCONFIG_ENABLE_OPT,CONFIG_USE_BB_CRYPT_SHA) +endef +endif + +ifeq ($(BR2_USE_MMU),y) +define BUSYBOX_SET_MMU + $(call KCONFIG_DISABLE_OPT,CONFIG_NOMMU) +endef +else +define BUSYBOX_SET_MMU + $(call KCONFIG_ENABLE_OPT,CONFIG_NOMMU) + $(call KCONFIG_DISABLE_OPT,CONFIG_SWAPON) + $(call KCONFIG_DISABLE_OPT,CONFIG_SWAPOFF) + $(call KCONFIG_DISABLE_OPT,CONFIG_ASH) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_BASH_COMPAT) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_BRACE_EXPANSION) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_HELP) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_INTERACTIVE) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_SAVEHISTORY) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_JOB) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_TICK) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_IF) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_LOOPS) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_CASE) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_FUNCTIONS) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_LOCAL) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_RANDOM_SUPPORT) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_EXPORT_N) + $(call KCONFIG_ENABLE_OPT,CONFIG_HUSH_MODE_X) +endef +endif + +# If we're using static libs do the same for busybox +ifeq ($(BR2_STATIC_LIBS),y) +define BUSYBOX_PREFER_STATIC + $(call KCONFIG_ENABLE_OPT,CONFIG_STATIC) +endef +endif + +define BUSYBOX_INSTALL_UDHCPC_SCRIPT + if grep -q CONFIG_UDHCPC=y $(@D)/.config; then \ + $(INSTALL) -m 0755 -D package/busybox/udhcpc.script \ + $(TARGET_DIR)/usr/share/udhcpc/default.script; \ + $(INSTALL) -m 0755 -d \ + $(TARGET_DIR)/usr/share/udhcpc/default.script.d; \ + fi +endef + +define BUSYBOX_INSTALL_ZCIP_SCRIPT + if grep -q CONFIG_ZCIP=y $(@D)/.config; then \ + $(INSTALL) -m 0755 -D $(@D)/examples/zcip.script \ + $(TARGET_DIR)/usr/share/zcip/default.script; \ + fi +endef + +ifeq ($(BR2_INIT_BUSYBOX),y) + +define BUSYBOX_SET_INIT + $(call KCONFIG_ENABLE_OPT,CONFIG_INIT) +endef + +ifeq ($(BR2_TARGET_GENERIC_GETTY),y) +define BUSYBOX_SET_GETTY + $(SED) '/# GENERIC_SERIAL$$/s~^.*#~$(SYSTEM_GETTY_PORT)::respawn:/sbin/getty -L $(SYSTEM_GETTY_OPTIONS) $(SYSTEM_GETTY_PORT) $(SYSTEM_GETTY_BAUDRATE) $(SYSTEM_GETTY_TERM) #~' \ + $(TARGET_DIR)/etc/inittab +endef +else +define BUSYBOX_SET_GETTY + $(SED) '/# GENERIC_SERIAL$$/s~^.*#~#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 #~' $(TARGET_DIR)/etc/inittab +endef +endif # BR2_TARGET_GENERIC_GETTY +BUSYBOX_TARGET_FINALIZE_HOOKS += BUSYBOX_SET_GETTY + +BUSYBOX_TARGET_FINALIZE_HOOKS += SYSTEM_REMOUNT_ROOT_INITTAB + +endif # BR2_INIT_BUSYBOX + +ifeq ($(BR2_PACKAGE_BUSYBOX_SELINUX),y) +BUSYBOX_DEPENDENCIES += host-pkgconf libselinux libsepol +define BUSYBOX_SET_SELINUX + $(call KCONFIG_ENABLE_OPT,CONFIG_SELINUX) + $(call KCONFIG_ENABLE_OPT,CONFIG_SELINUXENABLED) +endef +endif + +# enable relevant options to allow the Busybox less applet to be used +# as a systemd pager +ifeq ($(BR2_PACKAGE_SYSTEMD):$(BR2_PACKAGE_LESS),y:) +define BUSYBOX_SET_LESS_FLAGS + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_DASHCMD) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_RAW) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_TRUNCATE) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_FLAGS) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_LESS_ENV) +endef +endif + +ifeq ($(BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES),y) +define BUSYBOX_SET_INDIVIDUAL_BINARIES + $(call KCONFIG_ENABLE_OPT,CONFIG_BUILD_LIBBUSYBOX) + $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_INDIVIDUAL) +endef + +define BUSYBOX_INSTALL_INDIVIDUAL_BINARIES + rm -f $(TARGET_DIR)/bin/busybox +endef +endif + +# Only install our logging scripts if no other package does it. +ifeq ($(BR2_PACKAGE_SYSKLOGD)$(BR2_PACKAGE_RSYSLOG)$(BR2_PACKAGE_SYSLOG_NG),) +define BUSYBOX_INSTALL_LOGGING_SCRIPT + if grep -q CONFIG_SYSLOGD=y $(@D)/.config; \ + then \ + $(INSTALL) -m 0755 -D package/busybox/S01syslogd \ + $(TARGET_DIR)/etc/init.d/S01syslogd; \ + fi; \ + if grep -q CONFIG_KLOGD=y $(@D)/.config; \ + then \ + $(INSTALL) -m 0755 -D package/busybox/S02klogd \ + $(TARGET_DIR)/etc/init.d/S02klogd; \ + fi +endef +endif + +# Only install our sysctl scripts if no other package does it. +ifeq ($(BR2_PACKAGE_PROCPS_NG),) +define BUSYBOX_INSTALL_SYSCTL_SCRIPT + if grep -q CONFIG_BB_SYSCTL=y $(@D)/.config; \ + then \ + $(INSTALL) -m 0755 -D package/busybox/S02sysctl \ + $(TARGET_DIR)/etc/init.d/S02sysctl ; \ + fi +endef +endif + +ifeq ($(BR2_INIT_BUSYBOX),y) +define BUSYBOX_INSTALL_INITTAB + if test ! -e $(TARGET_DIR)/etc/inittab; then \ + $(INSTALL) -D -m 0644 package/busybox/inittab $(TARGET_DIR)/etc/inittab; \ + fi +endef +endif + +ifeq ($(BR2_PACKAGE_BUSYBOX_WATCHDOG),y) +define BUSYBOX_SET_WATCHDOG + $(call KCONFIG_ENABLE_OPT,CONFIG_WATCHDOG) +endef +define BUSYBOX_INSTALL_WATCHDOG_SCRIPT + $(INSTALL) -D -m 0755 package/busybox/S15watchdog \ + $(TARGET_DIR)/etc/init.d/S15watchdog + $(SED) s/PERIOD/$(call qstrip,$(BR2_PACKAGE_BUSYBOX_WATCHDOG_PERIOD))/ \ + $(TARGET_DIR)/etc/init.d/S15watchdog +endef +endif + +# PAM support requires thread support in the toolchain +ifeq ($(BR2_PACKAGE_LINUX_PAM)$(BR2_TOOLCHAIN_HAS_THREADS),yy) +define BUSYBOX_LINUX_PAM + $(call KCONFIG_ENABLE_OPT,CONFIG_PAM) +endef +BUSYBOX_DEPENDENCIES += linux-pam +else +define BUSYBOX_LINUX_PAM + $(call KCONFIG_DISABLE_OPT,CONFIG_PAM) +endef +endif + +# Telnet support +define BUSYBOX_INSTALL_TELNET_SCRIPT + if grep -q CONFIG_FEATURE_TELNETD_STANDALONE=y $(@D)/.config; then \ + $(INSTALL) -m 0755 -D package/busybox/S50telnet \ + $(TARGET_DIR)/etc/init.d/S50telnet ; \ + fi +endef +define BUSYBOX_INSTALL_TELNET_SERVICE + if grep -q CONFIG_FEATURE_TELNETD_STANDALONE=y $(@D)/.config; then \ + $(INSTALL) -D -m 0644 package/busybox/telnetd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/telnetd.service ; \ + fi +endef + +# Add /bin/{a,hu}sh to /etc/shells otherwise some login tools like dropbear +# can reject the user connection. See man shells. +define BUSYBOX_INSTALL_ADD_TO_SHELLS + if grep -q CONFIG_ASH=y $(BUSYBOX_DIR)/.config; then \ + grep -qsE '^/bin/ash$$' $(TARGET_DIR)/etc/shells \ + || echo "/bin/ash" >> $(TARGET_DIR)/etc/shells; \ + fi + if grep -q CONFIG_HUSH=y $(BUSYBOX_DIR)/.config; then \ + grep -qsE '^/bin/hush$$' $(TARGET_DIR)/etc/shells \ + || echo "/bin/hush" >> $(TARGET_DIR)/etc/shells; \ + fi +endef +BUSYBOX_TARGET_FINALIZE_HOOKS += BUSYBOX_INSTALL_ADD_TO_SHELLS + +define BUSYBOX_KCONFIG_FIXUP_CMDS + $(BUSYBOX_SET_MMU) + $(BUSYBOX_PREFER_STATIC) + $(BUSYBOX_SET_MDEV) + $(BUSYBOX_SET_CRYPT_SHA) + $(BUSYBOX_LINUX_PAM) + $(BUSYBOX_SET_INIT) + $(BUSYBOX_SET_WATCHDOG) + $(BUSYBOX_SET_SELINUX) + $(BUSYBOX_SET_LESS_FLAGS) + $(BUSYBOX_SET_INDIVIDUAL_BINARIES) +endef + +define BUSYBOX_BUILD_CMDS + $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) +endef + +define BUSYBOX_INSTALL_TARGET_CMDS + # Use the 'noclobber' install rule, to prevent BusyBox from overwriting + # any full-blown versions of apps installed by other packages. + $(BUSYBOX_MAKE_ENV) $(MAKE) $(BUSYBOX_MAKE_OPTS) -C $(@D) install-noclobber + $(BUSYBOX_INSTALL_INDIVIDUAL_BINARIES) + $(BUSYBOX_INSTALL_INITTAB) + $(BUSYBOX_INSTALL_UDHCPC_SCRIPT) + $(BUSYBOX_INSTALL_ZCIP_SCRIPT) + $(BUSYBOX_INSTALL_MDEV_CONF) +endef + +# Install the sysvinit scripts, for the moment, but not those that already +# have a corresponding one in openrc. +define BUSYBOX_INSTALL_INIT_OPENRC + $(BUSYBOX_INSTALL_MDEV_SCRIPT) + $(BUSYBOX_INSTALL_LOGGING_SCRIPT) + $(BUSYBOX_INSTALL_WATCHDOG_SCRIPT) + $(BUSYBOX_INSTALL_TELNET_SCRIPT) +endef + +define BUSYBOX_INSTALL_INIT_SYSTEMD + $(BUSYBOX_INSTALL_TELNET_SERVICE) +endef + +define BUSYBOX_INSTALL_INIT_SYSV + $(BUSYBOX_INSTALL_MDEV_SCRIPT) + $(BUSYBOX_INSTALL_LOGGING_SCRIPT) + $(BUSYBOX_INSTALL_WATCHDOG_SCRIPT) + $(BUSYBOX_INSTALL_SYSCTL_SCRIPT) + $(BUSYBOX_INSTALL_TELNET_SCRIPT) +endef + +# Checks to give errors that the user can understand +# Must be before we call to kconfig-package +ifeq ($(BR2_PACKAGE_BUSYBOX)$(BR_BUILDING),yy) +ifeq ($(call qstrip,$(BR2_PACKAGE_BUSYBOX_CONFIG)),) +$(error No BusyBox configuration file specified, check your BR2_PACKAGE_BUSYBOX_CONFIG setting) +endif +endif + +$(eval $(kconfig-package)) diff --git a/buildroot-2022.02.1/package/busybox/inittab b/buildroot-2022.02.1/package/busybox/inittab new file mode 100644 index 00000000..f2b4df80 --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/inittab @@ -0,0 +1,40 @@ +# /etc/inittab +# +# Copyright (C) 2001 Erik Andersen +# +# Note: BusyBox init doesn't support runlevels. The runlevels field is +# completely ignored by BusyBox init. If you want runlevels, use +# sysvinit. +# +# Format for each entry: ::: +# +# id == tty to run on, or empty for /dev/console +# runlevels == ignored +# action == one of sysinit, respawn, askfirst, wait, and once +# process == program to run + +# Startup the system +::sysinit:/bin/mount -t proc proc /proc +::sysinit:/bin/mount -o remount,rw / +::sysinit:/bin/mkdir -p /dev/pts /dev/shm +::sysinit:/bin/mount -a +::sysinit:/bin/mkdir -p /run/lock/subsys +::sysinit:/sbin/swapon -a +null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd +null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin +null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout +null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr +::sysinit:/bin/hostname -F /etc/hostname +# now run any rc scripts +::sysinit:/etc/init.d/rcS + +# Put a getty on the serial port +#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL + +# Stuff to do for the 3-finger salute +#::ctrlaltdel:/sbin/reboot + +# Stuff to do before rebooting +::shutdown:/etc/init.d/rcK +::shutdown:/sbin/swapoff -a +::shutdown:/bin/umount -a -r diff --git a/buildroot-2021.05/package/busybox/mdev.conf b/buildroot-2022.02.1/package/busybox/mdev.conf similarity index 100% rename from buildroot-2021.05/package/busybox/mdev.conf rename to buildroot-2022.02.1/package/busybox/mdev.conf diff --git a/buildroot-2022.02.1/package/busybox/telnetd.service b/buildroot-2022.02.1/package/busybox/telnetd.service new file mode 100644 index 00000000..8a640b76 --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/telnetd.service @@ -0,0 +1,10 @@ +[Unit] +Description=Telnetd Service +After=network.target + +[Service] +Type=simple +ExecStart=/usr/sbin/telnetd -F + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2022.02.1/package/busybox/udhcpc.script b/buildroot-2022.02.1/package/busybox/udhcpc.script new file mode 100755 index 00000000..74dc5532 --- /dev/null +++ b/buildroot-2022.02.1/package/busybox/udhcpc.script @@ -0,0 +1,122 @@ +#!/bin/sh + +# udhcpc script edited by Tim Riker + +[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 + +ACTION="$1" +RESOLV_CONF="/etc/resolv.conf" +[ -e $RESOLV_CONF ] || touch $RESOLV_CONF +[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" +[ -n "$subnet" ] && NETMASK="netmask $subnet" +# Handle stateful DHCPv6 like DHCPv4 +[ -n "$ipv6" ] && ip="$ipv6/128" + +if [ -z "${IF_WAIT_DELAY}" ]; then + IF_WAIT_DELAY=10 +fi + +wait_for_ipv6_default_route() { + printf "Waiting for IPv6 default route to appear" + while [ $IF_WAIT_DELAY -gt 0 ]; do + if ip -6 route list | grep -q default; then + printf "\n" + return + fi + sleep 1 + printf "." + : $((IF_WAIT_DELAY -= 1)) + done + printf " timeout!\n" +} + +case "$ACTION" in + deconfig) + /sbin/ifconfig $interface up + /sbin/ifconfig $interface 0.0.0.0 + + # drop info from this interface + # resolv.conf may be a symlink to /tmp/, so take care + TMPFILE=$(mktemp) + grep -vE "# $interface\$" $RESOLV_CONF > $TMPFILE + cat $TMPFILE > $RESOLV_CONF + rm -f $TMPFILE + + if [ -x /usr/sbin/avahi-autoipd ]; then + /usr/sbin/avahi-autoipd -c $interface && /usr/sbin/avahi-autoipd -k $interface + fi + ;; + + leasefail|nak) + if [ -x /usr/sbin/avahi-autoipd ]; then + /usr/sbin/avahi-autoipd -c $interface || /usr/sbin/avahi-autoipd -wD $interface --no-chroot + fi + ;; + + renew|bound) + if [ -x /usr/sbin/avahi-autoipd ]; then + /usr/sbin/avahi-autoipd -c $interface && /usr/sbin/avahi-autoipd -k $interface + fi + /sbin/ifconfig $interface $ip $BROADCAST $NETMASK + if [ -n "$ipv6" ] ; then + wait_for_ipv6_default_route + fi + + # RFC3442: If the DHCP server returns both a Classless + # Static Routes option and a Router option, the DHCP + # client MUST ignore the Router option. + if [ -n "$staticroutes" ]; then + echo "deleting routers" + route -n | while read dest gw mask flags metric ref use iface; do + [ "$iface" != "$interface" -o "$gw" = "0.0.0.0" ] || \ + route del -net "$dest" netmask "$mask" gw "$gw" dev "$interface" + done + + # format: dest1/mask gw1 ... destn/mask gwn + set -- $staticroutes + while [ -n "$1" -a -n "$2" ]; do + route add -net "$1" gw "$2" dev "$interface" + shift 2 + done + elif [ -n "$router" ] ; then + echo "deleting routers" + while route del default gw 0.0.0.0 dev $interface 2> /dev/null; do + : + done + + for i in $router ; do + route add default gw $i dev $interface + done + fi + + # drop info from this interface + # resolv.conf may be a symlink to /tmp/, so take care + TMPFILE=$(mktemp) + grep -vE "# $interface\$" $RESOLV_CONF > $TMPFILE + cat $TMPFILE > $RESOLV_CONF + rm -f $TMPFILE + + # prefer rfc3397 domain search list (option 119) if available + if [ -n "$search" ]; then + search_list=$search + elif [ -n "$domain" ]; then + search_list=$domain + fi + + [ -n "$search_list" ] && + echo "search $search_list # $interface" >> $RESOLV_CONF + + for i in $dns ; do + echo adding dns $i + echo "nameserver $i # $interface" >> $RESOLV_CONF + done + ;; +esac + +HOOK_DIR="$0.d" +for hook in "${HOOK_DIR}/"*; do + [ -f "${hook}" -a -x "${hook}" ] || continue + "${hook}" "$ACTION" +done + +exit 0 diff --git a/buildroot-2021.05/package/bwm-ng/Config.in b/buildroot-2022.02.1/package/bwm-ng/Config.in similarity index 100% rename from buildroot-2021.05/package/bwm-ng/Config.in rename to buildroot-2022.02.1/package/bwm-ng/Config.in diff --git a/buildroot-2021.05/package/bwm-ng/bwm-ng.hash b/buildroot-2022.02.1/package/bwm-ng/bwm-ng.hash similarity index 100% rename from buildroot-2021.05/package/bwm-ng/bwm-ng.hash rename to buildroot-2022.02.1/package/bwm-ng/bwm-ng.hash diff --git a/buildroot-2021.05/package/bwm-ng/bwm-ng.mk b/buildroot-2022.02.1/package/bwm-ng/bwm-ng.mk similarity index 100% rename from buildroot-2021.05/package/bwm-ng/bwm-ng.mk rename to buildroot-2022.02.1/package/bwm-ng/bwm-ng.mk diff --git a/buildroot-2021.05/package/bzip2/0001-build-objects-twice.patch b/buildroot-2022.02.1/package/bzip2/0001-build-objects-twice.patch similarity index 100% rename from buildroot-2021.05/package/bzip2/0001-build-objects-twice.patch rename to buildroot-2022.02.1/package/bzip2/0001-build-objects-twice.patch diff --git a/buildroot-2021.05/package/bzip2/0002-improve-build-system.patch b/buildroot-2022.02.1/package/bzip2/0002-improve-build-system.patch similarity index 100% rename from buildroot-2021.05/package/bzip2/0002-improve-build-system.patch rename to buildroot-2022.02.1/package/bzip2/0002-improve-build-system.patch diff --git a/buildroot-2021.05/package/bzip2/Config.in b/buildroot-2022.02.1/package/bzip2/Config.in similarity index 100% rename from buildroot-2021.05/package/bzip2/Config.in rename to buildroot-2022.02.1/package/bzip2/Config.in diff --git a/buildroot-2021.05/package/bzip2/bzip2.hash b/buildroot-2022.02.1/package/bzip2/bzip2.hash similarity index 100% rename from buildroot-2021.05/package/bzip2/bzip2.hash rename to buildroot-2022.02.1/package/bzip2/bzip2.hash diff --git a/buildroot-2021.05/package/bzip2/bzip2.mk b/buildroot-2022.02.1/package/bzip2/bzip2.mk similarity index 100% rename from buildroot-2021.05/package/bzip2/bzip2.mk rename to buildroot-2022.02.1/package/bzip2/bzip2.mk diff --git a/buildroot-2021.05/package/c-ares/Config.in b/buildroot-2022.02.1/package/c-ares/Config.in similarity index 100% rename from buildroot-2021.05/package/c-ares/Config.in rename to buildroot-2022.02.1/package/c-ares/Config.in diff --git a/buildroot-2022.02.1/package/c-ares/c-ares.hash b/buildroot-2022.02.1/package/c-ares/c-ares.hash new file mode 100644 index 00000000..af1f076a --- /dev/null +++ b/buildroot-2022.02.1/package/c-ares/c-ares.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 1a7d52a8a84a9fbffb1be9133c0f6e17217d91ea5a6fa61f6b4729cda78ebbcf c-ares-1.18.1.tar.gz + +# Hash for license file +sha256 db4eb63fe09daebdf57d3f79b091bb5ee5070c0d761040e83264e648d307af4c LICENSE.md diff --git a/buildroot-2022.02.1/package/c-ares/c-ares.mk b/buildroot-2022.02.1/package/c-ares/c-ares.mk new file mode 100644 index 00000000..0152759e --- /dev/null +++ b/buildroot-2022.02.1/package/c-ares/c-ares.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# c-ares +# +################################################################################ + +C_ARES_VERSION = 1.18.1 +C_ARES_SITE = http://c-ares.haxx.se/download +C_ARES_INSTALL_STAGING = YES +C_ARES_CONF_OPTS = --with-random=/dev/urandom +C_ARES_LICENSE = MIT +C_ARES_LICENSE_FILES = LICENSE.md +C_ARES_CPE_ID_VENDOR = c-ares_project + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/c-capnproto/Config.in b/buildroot-2022.02.1/package/c-capnproto/Config.in similarity index 100% rename from buildroot-2021.05/package/c-capnproto/Config.in rename to buildroot-2022.02.1/package/c-capnproto/Config.in diff --git a/buildroot-2021.05/package/c-capnproto/c-capnproto.hash b/buildroot-2022.02.1/package/c-capnproto/c-capnproto.hash similarity index 100% rename from buildroot-2021.05/package/c-capnproto/c-capnproto.hash rename to buildroot-2022.02.1/package/c-capnproto/c-capnproto.hash diff --git a/buildroot-2021.05/package/c-capnproto/c-capnproto.mk b/buildroot-2022.02.1/package/c-capnproto/c-capnproto.mk similarity index 100% rename from buildroot-2021.05/package/c-capnproto/c-capnproto.mk rename to buildroot-2022.02.1/package/c-capnproto/c-capnproto.mk diff --git a/buildroot-2021.05/package/c-icap-modules/Config.in b/buildroot-2022.02.1/package/c-icap-modules/Config.in similarity index 100% rename from buildroot-2021.05/package/c-icap-modules/Config.in rename to buildroot-2022.02.1/package/c-icap-modules/Config.in diff --git a/buildroot-2021.05/package/c-icap-modules/c-icap-modules.hash b/buildroot-2022.02.1/package/c-icap-modules/c-icap-modules.hash similarity index 100% rename from buildroot-2021.05/package/c-icap-modules/c-icap-modules.hash rename to buildroot-2022.02.1/package/c-icap-modules/c-icap-modules.hash diff --git a/buildroot-2021.05/package/c-icap-modules/c-icap-modules.mk b/buildroot-2022.02.1/package/c-icap-modules/c-icap-modules.mk similarity index 100% rename from buildroot-2021.05/package/c-icap-modules/c-icap-modules.mk rename to buildroot-2022.02.1/package/c-icap-modules/c-icap-modules.mk diff --git a/buildroot-2021.05/package/c-icap/0001-Required-fixes-to-compile-and-run-under-cygwin.patch b/buildroot-2022.02.1/package/c-icap/0001-Required-fixes-to-compile-and-run-under-cygwin.patch similarity index 100% rename from buildroot-2021.05/package/c-icap/0001-Required-fixes-to-compile-and-run-under-cygwin.patch rename to buildroot-2022.02.1/package/c-icap/0001-Required-fixes-to-compile-and-run-under-cygwin.patch diff --git a/buildroot-2021.05/package/c-icap/Config.in b/buildroot-2022.02.1/package/c-icap/Config.in similarity index 100% rename from buildroot-2021.05/package/c-icap/Config.in rename to buildroot-2022.02.1/package/c-icap/Config.in diff --git a/buildroot-2021.05/package/c-icap/S96cicap b/buildroot-2022.02.1/package/c-icap/S96cicap similarity index 100% rename from buildroot-2021.05/package/c-icap/S96cicap rename to buildroot-2022.02.1/package/c-icap/S96cicap diff --git a/buildroot-2021.05/package/c-icap/c-icap.hash b/buildroot-2022.02.1/package/c-icap/c-icap.hash similarity index 100% rename from buildroot-2021.05/package/c-icap/c-icap.hash rename to buildroot-2022.02.1/package/c-icap/c-icap.hash diff --git a/buildroot-2021.05/package/c-icap/c-icap.mk b/buildroot-2022.02.1/package/c-icap/c-icap.mk similarity index 100% rename from buildroot-2021.05/package/c-icap/c-icap.mk rename to buildroot-2022.02.1/package/c-icap/c-icap.mk diff --git a/buildroot-2021.05/package/c-periphery/Config.in b/buildroot-2022.02.1/package/c-periphery/Config.in similarity index 100% rename from buildroot-2021.05/package/c-periphery/Config.in rename to buildroot-2022.02.1/package/c-periphery/Config.in diff --git a/buildroot-2021.05/package/c-periphery/c-periphery.hash b/buildroot-2022.02.1/package/c-periphery/c-periphery.hash similarity index 100% rename from buildroot-2021.05/package/c-periphery/c-periphery.hash rename to buildroot-2022.02.1/package/c-periphery/c-periphery.hash diff --git a/buildroot-2021.05/package/c-periphery/c-periphery.mk b/buildroot-2022.02.1/package/c-periphery/c-periphery.mk similarity index 100% rename from buildroot-2021.05/package/c-periphery/c-periphery.mk rename to buildroot-2022.02.1/package/c-periphery/c-periphery.mk diff --git a/buildroot-2022.02.1/package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch b/buildroot-2022.02.1/package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch new file mode 100644 index 00000000..b76c1bfd --- /dev/null +++ b/buildroot-2022.02.1/package/ca-certificates/0001-mozilla-certdata2pem.py-make-cryptography-module-opt.patch @@ -0,0 +1,59 @@ +From bf18b564122e8f976681a2398862fde1eafd84ba Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Thu, 6 Jan 2022 23:15:00 +0100 +Subject: [PATCH] mozilla/certdata2pem.py: make cryptography module optional + +The Python cryptography module is only used to verify if trusted +certificates have expired, but this is only a warning. For some build +systems and distributions, providing Python cryptography is costly, +especially since it's now partly written in Rust. + +As the check is only a warning, it's anyway going to be overlooked by +most people. This commit changes the check to be optional: if the +cryptography Python module is there, we perform the check, otherwise +the check is skipped. + +Signed-off-by: Thomas Petazzoni +--- + mozilla/certdata2pem.py | 18 ++++++++++-------- + 1 file changed, 10 insertions(+), 8 deletions(-) + +diff --git a/mozilla/certdata2pem.py b/mozilla/certdata2pem.py +index ede23d4..a6261f8 100644 +--- a/mozilla/certdata2pem.py ++++ b/mozilla/certdata2pem.py +@@ -28,9 +28,6 @@ import sys + import textwrap + import io + +-from cryptography import x509 +- +- + objects = [] + + # Dirty file parser. +@@ -122,11 +119,16 @@ for obj in objects: + if not obj['CKA_LABEL'] in trust or not trust[obj['CKA_LABEL']]: + continue + +- cert = x509.load_der_x509_certificate(obj['CKA_VALUE']) +- if cert.not_valid_after < datetime.datetime.now(): +- print('!'*74) +- print('Trusted but expired certificate found: %s' % obj['CKA_LABEL']) +- print('!'*74) ++ try: ++ from cryptography import x509 ++ ++ cert = x509.load_der_x509_certificate(obj['CKA_VALUE']) ++ if cert.not_valid_after < datetime.datetime.now(): ++ print('!'*74) ++ print('Trusted but expired certificate found: %s' % obj['CKA_LABEL']) ++ print('!'*74) ++ except ImportError: ++ pass + + bname = obj['CKA_LABEL'][1:-1].replace('/', '_')\ + .replace(' ', '_')\ +-- +2.33.1 + diff --git a/buildroot-2021.05/package/ca-certificates/Config.in b/buildroot-2022.02.1/package/ca-certificates/Config.in similarity index 100% rename from buildroot-2021.05/package/ca-certificates/Config.in rename to buildroot-2022.02.1/package/ca-certificates/Config.in diff --git a/buildroot-2022.02.1/package/ca-certificates/ca-certificates.hash b/buildroot-2022.02.1/package/ca-certificates/ca-certificates.hash new file mode 100644 index 00000000..a1675b99 --- /dev/null +++ b/buildroot-2022.02.1/package/ca-certificates/ca-certificates.hash @@ -0,0 +1,6 @@ +# hashes from: $(CA_CERTIFICATES_SITE)/ca-certificates_$(CA_CERTIFICATES_VERSION).dsc : +sha1 bce5a8fac45456dbebf256f3a812c6cd0a853e3e ca-certificates_20211016.tar.xz +sha256 2ae9b6dc5f40c25d6d7fe55e07b54f12a8967d1955d3b7b2f42ee46266eeef88 ca-certificates_20211016.tar.xz + +# Locally computed +sha256 e85e1bcad3a915dc7e6f41412bc5bdeba275cadd817896ea0451f2140a93967c debian/copyright diff --git a/buildroot-2022.02.1/package/ca-certificates/ca-certificates.mk b/buildroot-2022.02.1/package/ca-certificates/ca-certificates.mk new file mode 100644 index 00000000..0b6962ab --- /dev/null +++ b/buildroot-2022.02.1/package/ca-certificates/ca-certificates.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# ca-certificates +# +################################################################################ + +CA_CERTIFICATES_VERSION = 20211016 +CA_CERTIFICATES_SOURCE = ca-certificates_$(CA_CERTIFICATES_VERSION).tar.xz +CA_CERTIFICATES_SITE = https://snapshot.debian.org/archive/debian/20211022T144903Z/pool/main/c/ca-certificates +CA_CERTIFICATES_DEPENDENCIES = host-openssl host-python3 +CA_CERTIFICATES_LICENSE = GPL-2.0+ (script), MPL-2.0 (data) +CA_CERTIFICATES_LICENSE_FILES = debian/copyright + +define CA_CERTIFICATES_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) clean all +endef + +define CA_CERTIFICATES_INSTALL_TARGET_CMDS + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/ca-certificates + $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/ssl/certs + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) + rm -f $(TARGET_DIR)/usr/sbin/update-ca-certificates + + # Remove any existing certificates under /etc/ssl/certs + rm -f $(TARGET_DIR)/etc/ssl/certs/* + + # Create symlinks to certificates under /etc/ssl/certs + # and generate the bundle + cd $(TARGET_DIR) ;\ + for i in `find usr/share/ca-certificates -name "*.crt" | LC_COLLATE=C sort` ; do \ + ln -sf ../../../$$i etc/ssl/certs/`basename $${i} .crt`.pem ;\ + cat $$i ;\ + done >$(@D)/ca-certificates.crt + + # Create symlinks to the certificates by their hash values + $(HOST_DIR)/bin/c_rehash $(TARGET_DIR)/etc/ssl/certs + + # Install the certificates bundle + $(INSTALL) -D -m 644 $(@D)/ca-certificates.crt \ + $(TARGET_DIR)/etc/ssl/certs/ca-certificates.crt +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/cache-calibrator/0001-Fix-conflicting-round-function.patch b/buildroot-2022.02.1/package/cache-calibrator/0001-Fix-conflicting-round-function.patch similarity index 100% rename from buildroot-2021.05/package/cache-calibrator/0001-Fix-conflicting-round-function.patch rename to buildroot-2022.02.1/package/cache-calibrator/0001-Fix-conflicting-round-function.patch diff --git a/buildroot-2021.05/package/cache-calibrator/Config.in b/buildroot-2022.02.1/package/cache-calibrator/Config.in similarity index 100% rename from buildroot-2021.05/package/cache-calibrator/Config.in rename to buildroot-2022.02.1/package/cache-calibrator/Config.in diff --git a/buildroot-2021.05/package/cache-calibrator/cache-calibrator.hash b/buildroot-2022.02.1/package/cache-calibrator/cache-calibrator.hash similarity index 100% rename from buildroot-2021.05/package/cache-calibrator/cache-calibrator.hash rename to buildroot-2022.02.1/package/cache-calibrator/cache-calibrator.hash diff --git a/buildroot-2021.05/package/cache-calibrator/cache-calibrator.mk b/buildroot-2022.02.1/package/cache-calibrator/cache-calibrator.mk similarity index 100% rename from buildroot-2021.05/package/cache-calibrator/cache-calibrator.mk rename to buildroot-2022.02.1/package/cache-calibrator/cache-calibrator.mk diff --git a/buildroot-2021.05/package/cage/Config.in b/buildroot-2022.02.1/package/cage/Config.in similarity index 100% rename from buildroot-2021.05/package/cage/Config.in rename to buildroot-2022.02.1/package/cage/Config.in diff --git a/buildroot-2022.02.1/package/cage/cage.hash b/buildroot-2022.02.1/package/cage/cage.hash new file mode 100644 index 00000000..31ae25ba --- /dev/null +++ b/buildroot-2022.02.1/package/cage/cage.hash @@ -0,0 +1,5 @@ +# Generated locally after checking GPG signature +sha256 dfe27fb0c7d43db72d6c82f01e2736580a0791a23ba69d7b56285d08af98ad90 cage-0.1.4.tar.gz + +# Hashes for license files: +sha256 e117104073335dbaf78596fb1bedf89dda63c71f60f0b665947b2d369c77ecee LICENSE diff --git a/buildroot-2022.02.1/package/cage/cage.mk b/buildroot-2022.02.1/package/cage/cage.mk new file mode 100644 index 00000000..c132f086 --- /dev/null +++ b/buildroot-2022.02.1/package/cage/cage.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# cage +# +################################################################################ + +CAGE_VERSION = 0.1.4 +CAGE_SITE = https://github.com/Hjdskes/cage/releases/download/v$(CAGE_VERSION) +CAGE_LICENSE = MIT +CAGE_LICENSE_FILES = LICENSE +CAGE_DEPENDENCIES = host-pkgconf wlroots +CAGE_CONF_OPTS = -Dman-pages=disabled + +ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) +CAGE_CONF_OPTS += -Dxwayland=true +else +CAGE_CONF_OPTS += -Dxwayland=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/cairo/0001-fix-nofork-build.patch b/buildroot-2022.02.1/package/cairo/0001-fix-nofork-build.patch similarity index 100% rename from buildroot-2021.05/package/cairo/0001-fix-nofork-build.patch rename to buildroot-2022.02.1/package/cairo/0001-fix-nofork-build.patch diff --git a/buildroot-2021.05/package/cairo/0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch b/buildroot-2022.02.1/package/cairo/0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch similarity index 100% rename from buildroot-2021.05/package/cairo/0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch rename to buildroot-2022.02.1/package/cairo/0002-ft-Use-FT_Done_MM_Var-instead-of-free-when-available-in-cairo_ft_apply_variation.patch diff --git a/buildroot-2021.05/package/cairo/Config.in b/buildroot-2022.02.1/package/cairo/Config.in similarity index 100% rename from buildroot-2021.05/package/cairo/Config.in rename to buildroot-2022.02.1/package/cairo/Config.in diff --git a/buildroot-2021.05/package/cairo/cairo.hash b/buildroot-2022.02.1/package/cairo/cairo.hash similarity index 100% rename from buildroot-2021.05/package/cairo/cairo.hash rename to buildroot-2022.02.1/package/cairo/cairo.hash diff --git a/buildroot-2021.05/package/cairo/cairo.mk b/buildroot-2022.02.1/package/cairo/cairo.mk similarity index 100% rename from buildroot-2021.05/package/cairo/cairo.mk rename to buildroot-2022.02.1/package/cairo/cairo.mk diff --git a/buildroot-2022.02.1/package/cairomm/Config.in b/buildroot-2022.02.1/package/cairomm/Config.in new file mode 100644 index 00000000..dae52f01 --- /dev/null +++ b/buildroot-2022.02.1/package/cairomm/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_CAIROMM + bool "cairomm" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_USE_MMU # libglib2 + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBSIGC + help + The cairomm package is a set of C++ bindings for Cairo. + + http://www.gtkmm.org/ + +comment "cairomm needs a toolchain w/ C++, wchar, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \ + || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/cairomm/cairomm.hash b/buildroot-2022.02.1/package/cairomm/cairomm.hash new file mode 100644 index 00000000..d14a65c2 --- /dev/null +++ b/buildroot-2022.02.1/package/cairomm/cairomm.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 bb86d855041bd46d31b03e43ea355d233de44034b39d4200725b1e0947e63e67 cairomm-1.16.1.tar.gz +sha256 bfe4a52dc4645385f356a8e83cc54216a293e3b6f1cb4f79f5fc0277abf937fd COPYING diff --git a/buildroot-2022.02.1/package/cairomm/cairomm.mk b/buildroot-2022.02.1/package/cairomm/cairomm.mk new file mode 100644 index 00000000..856c9d67 --- /dev/null +++ b/buildroot-2022.02.1/package/cairomm/cairomm.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# cairomm +# +################################################################################ + +CAIROMM_VERSION = 1.16.1 +CAIROMM_LICENSE = LGPL-2.0+ +CAIROMM_LICENSE_FILES = COPYING +CAIROMM_SITE = https://gitlab.freedesktop.org/cairo/cairomm/-/archive/$(CAIROMM_VERSION) +CAIROMM_INSTALL_STAGING = YES +CAIROMM_DEPENDENCIES = cairo libglib2 libsigc host-pkgconf +CAIROMM_CONF_OPTS = -Dbuild-examples=false -Dbuild-tests=false + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/can-utils/Config.in b/buildroot-2022.02.1/package/can-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/can-utils/Config.in rename to buildroot-2022.02.1/package/can-utils/Config.in diff --git a/buildroot-2022.02.1/package/can-utils/can-utils.hash b/buildroot-2022.02.1/package/can-utils/can-utils.hash new file mode 100644 index 00000000..4e47143f --- /dev/null +++ b/buildroot-2022.02.1/package/can-utils/can-utils.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 c9b8f29515ad34af7f78450ec55c983abc5393e86b1f128a92ac0dfd141baaf7 can-utils-2021.08.0.tar.gz +sha256 c3dc748f5e725cf5ed89784fe78e4ff1b05d309bf1e7ade4c572e8fde1b8406c LICENSES/BSD-3-Clause +sha256 995a31f60a9ddb4c609214cc7d17ca94cc3cbc7f37e1e64dba81e7f8ea9d4f91 LICENSES/GPL-2.0-only.txt diff --git a/buildroot-2022.02.1/package/can-utils/can-utils.mk b/buildroot-2022.02.1/package/can-utils/can-utils.mk new file mode 100644 index 00000000..5b8a2aee --- /dev/null +++ b/buildroot-2022.02.1/package/can-utils/can-utils.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# can-utils +# +################################################################################ + +CAN_UTILS_VERSION = 2021.08.0 +CAN_UTILS_SITE = $(call github,linux-can,can-utils,v$(CAN_UTILS_VERSION)) +CAN_UTILS_LICENSE = BSD-3-Clause or GPL-2.0 +CAN_UTILS_LICENSE_FILES = LICENSES/BSD-3-Clause LICENSES/GPL-2.0-only.txt +CAN_UTILS_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/cannelloni/Config.in b/buildroot-2022.02.1/package/cannelloni/Config.in similarity index 100% rename from buildroot-2021.05/package/cannelloni/Config.in rename to buildroot-2022.02.1/package/cannelloni/Config.in diff --git a/buildroot-2021.05/package/cannelloni/cannelloni.hash b/buildroot-2022.02.1/package/cannelloni/cannelloni.hash similarity index 100% rename from buildroot-2021.05/package/cannelloni/cannelloni.hash rename to buildroot-2022.02.1/package/cannelloni/cannelloni.hash diff --git a/buildroot-2021.05/package/cannelloni/cannelloni.mk b/buildroot-2022.02.1/package/cannelloni/cannelloni.mk similarity index 100% rename from buildroot-2021.05/package/cannelloni/cannelloni.mk rename to buildroot-2022.02.1/package/cannelloni/cannelloni.mk diff --git a/buildroot-2021.05/package/cantarell/Config.in b/buildroot-2022.02.1/package/cantarell/Config.in similarity index 100% rename from buildroot-2021.05/package/cantarell/Config.in rename to buildroot-2022.02.1/package/cantarell/Config.in diff --git a/buildroot-2021.05/package/cantarell/cantarell.hash b/buildroot-2022.02.1/package/cantarell/cantarell.hash similarity index 100% rename from buildroot-2021.05/package/cantarell/cantarell.hash rename to buildroot-2022.02.1/package/cantarell/cantarell.hash diff --git a/buildroot-2021.05/package/cantarell/cantarell.mk b/buildroot-2022.02.1/package/cantarell/cantarell.mk similarity index 100% rename from buildroot-2021.05/package/cantarell/cantarell.mk rename to buildroot-2022.02.1/package/cantarell/cantarell.mk diff --git a/buildroot-2021.05/package/capnproto/Config.in b/buildroot-2022.02.1/package/capnproto/Config.in similarity index 100% rename from buildroot-2021.05/package/capnproto/Config.in rename to buildroot-2022.02.1/package/capnproto/Config.in diff --git a/buildroot-2022.02.1/package/capnproto/capnproto.hash b/buildroot-2022.02.1/package/capnproto/capnproto.hash new file mode 100644 index 00000000..7fd0e615 --- /dev/null +++ b/buildroot-2022.02.1/package/capnproto/capnproto.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 daf49f794560f715e2f4651c842aaece2d065d4216834c5c3d3254962e35b535 capnproto-0.9.1.tar.gz +sha256 9564998c8d7f270a61a8b89869a8d17a9d5e3783b64027788b5e339ec8479e10 LICENSE diff --git a/buildroot-2022.02.1/package/capnproto/capnproto.mk b/buildroot-2022.02.1/package/capnproto/capnproto.mk new file mode 100644 index 00000000..7fc07043 --- /dev/null +++ b/buildroot-2022.02.1/package/capnproto/capnproto.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# capnproto +# +################################################################################ + +CAPNPROTO_VERSION = 0.9.1 +CAPNPROTO_SITE = $(call github,capnproto,capnproto,v$(CAPNPROTO_VERSION)) +CAPNPROTO_LICENSE = MIT +CAPNPROTO_LICENSE_FILES = LICENSE +CAPNPROTO_CPE_ID_VENDOR = capnproto +CAPNPROTO_INSTALL_STAGING = YES +# Fetched from Github with no configure script +CAPNPROTO_AUTORECONF = YES +CAPNPROTO_CONF_OPTS = --with-external-capnp +# Needs the capnproto compiler on the host to generate C++ code from message +# definitions +CAPNPROTO_DEPENDENCIES = host-autoconf host-capnproto +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +CAPNPROTO_CONF_ENV += LIBS=-latomic +endif +# The actual source to be compiled is within a 'c++' subdirectory +CAPNPROTO_SUBDIR = c++ + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CAPNPROTO_CONF_OPTS += --with-openssl +CAPNPROTO_DEPENDENCIES += openssl +else +CAPNPROTO_CONF_OPTS += --without-openssl +endif + +# musl doesn't support getcontext/setcontext +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +CAPNPROTO_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -DKJ_USE_FIBERS=0" +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/caps/0001-Fix-stdint-types-with-musl.patch b/buildroot-2022.02.1/package/caps/0001-Fix-stdint-types-with-musl.patch similarity index 100% rename from buildroot-2021.05/package/caps/0001-Fix-stdint-types-with-musl.patch rename to buildroot-2022.02.1/package/caps/0001-Fix-stdint-types-with-musl.patch diff --git a/buildroot-2021.05/package/caps/Config.in b/buildroot-2022.02.1/package/caps/Config.in similarity index 100% rename from buildroot-2021.05/package/caps/Config.in rename to buildroot-2022.02.1/package/caps/Config.in diff --git a/buildroot-2021.05/package/caps/caps.hash b/buildroot-2022.02.1/package/caps/caps.hash similarity index 100% rename from buildroot-2021.05/package/caps/caps.hash rename to buildroot-2022.02.1/package/caps/caps.hash diff --git a/buildroot-2021.05/package/caps/caps.mk b/buildroot-2022.02.1/package/caps/caps.mk similarity index 100% rename from buildroot-2021.05/package/caps/caps.mk rename to buildroot-2022.02.1/package/caps/caps.mk diff --git a/buildroot-2021.05/package/casync/0001-castore-fix-build-without-lzma-or-xz.patch b/buildroot-2022.02.1/package/casync/0001-castore-fix-build-without-lzma-or-xz.patch similarity index 100% rename from buildroot-2021.05/package/casync/0001-castore-fix-build-without-lzma-or-xz.patch rename to buildroot-2022.02.1/package/casync/0001-castore-fix-build-without-lzma-or-xz.patch diff --git a/buildroot-2021.05/package/casync/0002-build-don-t-install-udev-rules-without-udev-support.patch b/buildroot-2022.02.1/package/casync/0002-build-don-t-install-udev-rules-without-udev-support.patch similarity index 100% rename from buildroot-2021.05/package/casync/0002-build-don-t-install-udev-rules-without-udev-support.patch rename to buildroot-2022.02.1/package/casync/0002-build-don-t-install-udev-rules-without-udev-support.patch diff --git a/buildroot-2021.05/package/casync/Config.in b/buildroot-2022.02.1/package/casync/Config.in similarity index 100% rename from buildroot-2021.05/package/casync/Config.in rename to buildroot-2022.02.1/package/casync/Config.in diff --git a/buildroot-2021.05/package/casync/casync.hash b/buildroot-2022.02.1/package/casync/casync.hash similarity index 100% rename from buildroot-2021.05/package/casync/casync.hash rename to buildroot-2022.02.1/package/casync/casync.hash diff --git a/buildroot-2022.02.1/package/casync/casync.mk b/buildroot-2022.02.1/package/casync/casync.mk new file mode 100644 index 00000000..bb9bd8cc --- /dev/null +++ b/buildroot-2022.02.1/package/casync/casync.mk @@ -0,0 +1,64 @@ +################################################################################ +# +# casync +# +################################################################################ + +CASYNC_VERSION = 4ad9bcb94bc83ff36cfc65515107ea06a88c2dfc +CASYNC_SITE = $(call github,systemd,casync,$(CASYNC_VERSION)) +CASYNC_LICENSE = LGPL-2.1+ +CASYNC_LICENSE_FILES = LICENSE.LGPL2.1 +CASYNC_DEPENDENCIES = acl libcurl openssl + +CASYNC_CONF_OPTS = -Dman=false -Doss-fuzz=false -Dllvm-fuzz=false + +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +CASYNC_DEPENDENCIES += bash-completion +# The default path is correct, leave it as-is +else +CASYNC_CONF_OPTS += -Dbashcompletiondir=no +endif + +ifeq ($(BR2_PACKAGE_LIBFUSE),y) +CASYNC_DEPENDENCIES += libfuse +CASYNC_CONF_OPTS += -Dfuse=true +else +CASYNC_CONF_OPTS += -Dfuse=false +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +CASYNC_DEPENDENCIES += libselinux +CASYNC_CONF_OPTS += -Dselinux=true +else +CASYNC_CONF_OPTS += -Dselinux=false +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +CASYNC_DEPENDENCIES += udev +CASYNC_CONF_OPTS += -Dudev=true +else +CASYNC_CONF_OPTS += -Dudev=false +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +CASYNC_DEPENDENCIES += zstd +CASYNC_CONF_OPTS += -Dlibzstd=enabled +else +CASYNC_CONF_OPTS += -Dlibzstd=disabled +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +CASYNC_DEPENDENCIES += xz +CASYNC_CONF_OPTS += -Dliblzma=enabled +else +CASYNC_CONF_OPTS += -Dliblzma=disabled +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +CASYNC_DEPENDENCIES += zlib +CASYNC_CONF_OPTS += -Dlibz=enabled +else +CASYNC_CONF_OPTS += -Dlibz=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/cbootimage/Config.in b/buildroot-2022.02.1/package/cbootimage/Config.in similarity index 100% rename from buildroot-2021.05/package/cbootimage/Config.in rename to buildroot-2022.02.1/package/cbootimage/Config.in diff --git a/buildroot-2021.05/package/cbootimage/Config.in.host b/buildroot-2022.02.1/package/cbootimage/Config.in.host similarity index 100% rename from buildroot-2021.05/package/cbootimage/Config.in.host rename to buildroot-2022.02.1/package/cbootimage/Config.in.host diff --git a/buildroot-2021.05/package/cbootimage/cbootimage.hash b/buildroot-2022.02.1/package/cbootimage/cbootimage.hash similarity index 100% rename from buildroot-2021.05/package/cbootimage/cbootimage.hash rename to buildroot-2022.02.1/package/cbootimage/cbootimage.hash diff --git a/buildroot-2021.05/package/cbootimage/cbootimage.mk b/buildroot-2022.02.1/package/cbootimage/cbootimage.mk similarity index 100% rename from buildroot-2021.05/package/cbootimage/cbootimage.mk rename to buildroot-2022.02.1/package/cbootimage/cbootimage.mk diff --git a/buildroot-2022.02.1/package/cc-tool/Config.in b/buildroot-2022.02.1/package/cc-tool/Config.in new file mode 100644 index 00000000..fa5674b3 --- /dev/null +++ b/buildroot-2022.02.1/package/cc-tool/Config.in @@ -0,0 +1,25 @@ +config BR2_PACKAGE_CC_TOOL + bool "cc-tool" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + depends on BR2_USE_WCHAR # boost-filesystem + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_REGEX + select BR2_PACKAGE_BOOST_FILESYSTEM + help + cc-tool provides support for Texas Instruments CC Debugger + for Linux OS in order to program 8051-based System-On-Chip + devices: CC254x CC253x CC243x CC251x CC111x + + https://github.com/dashesy/cc-tool/ + +comment "cc-tool needs a toolchain w/ C++, threads, wchar, gcc >= 4.9 " + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/cc-tool/cc-tool.hash b/buildroot-2022.02.1/package/cc-tool/cc-tool.hash similarity index 100% rename from buildroot-2021.05/package/cc-tool/cc-tool.hash rename to buildroot-2022.02.1/package/cc-tool/cc-tool.hash diff --git a/buildroot-2021.05/package/cc-tool/cc-tool.mk b/buildroot-2022.02.1/package/cc-tool/cc-tool.mk similarity index 100% rename from buildroot-2021.05/package/cc-tool/cc-tool.mk rename to buildroot-2022.02.1/package/cc-tool/cc-tool.mk diff --git a/buildroot-2021.05/package/ccache/ccache.hash b/buildroot-2022.02.1/package/ccache/ccache.hash similarity index 100% rename from buildroot-2021.05/package/ccache/ccache.hash rename to buildroot-2022.02.1/package/ccache/ccache.hash diff --git a/buildroot-2021.05/package/ccache/ccache.mk b/buildroot-2022.02.1/package/ccache/ccache.mk similarity index 100% rename from buildroot-2021.05/package/ccache/ccache.mk rename to buildroot-2022.02.1/package/ccache/ccache.mk diff --git a/buildroot-2021.05/package/ccid/Config.in b/buildroot-2022.02.1/package/ccid/Config.in similarity index 100% rename from buildroot-2021.05/package/ccid/Config.in rename to buildroot-2022.02.1/package/ccid/Config.in diff --git a/buildroot-2021.05/package/ccid/ccid.hash b/buildroot-2022.02.1/package/ccid/ccid.hash similarity index 100% rename from buildroot-2021.05/package/ccid/ccid.hash rename to buildroot-2022.02.1/package/ccid/ccid.hash diff --git a/buildroot-2021.05/package/ccid/ccid.mk b/buildroot-2022.02.1/package/ccid/ccid.mk similarity index 100% rename from buildroot-2021.05/package/ccid/ccid.mk rename to buildroot-2022.02.1/package/ccid/ccid.mk diff --git a/buildroot-2021.05/package/ccrypt/Config.in b/buildroot-2022.02.1/package/ccrypt/Config.in similarity index 100% rename from buildroot-2021.05/package/ccrypt/Config.in rename to buildroot-2022.02.1/package/ccrypt/Config.in diff --git a/buildroot-2021.05/package/ccrypt/ccrypt.hash b/buildroot-2022.02.1/package/ccrypt/ccrypt.hash similarity index 100% rename from buildroot-2021.05/package/ccrypt/ccrypt.hash rename to buildroot-2022.02.1/package/ccrypt/ccrypt.hash diff --git a/buildroot-2021.05/package/ccrypt/ccrypt.mk b/buildroot-2022.02.1/package/ccrypt/ccrypt.mk similarity index 100% rename from buildroot-2021.05/package/ccrypt/ccrypt.mk rename to buildroot-2022.02.1/package/ccrypt/ccrypt.mk diff --git a/buildroot-2021.05/package/cctz/Config.in b/buildroot-2022.02.1/package/cctz/Config.in similarity index 100% rename from buildroot-2021.05/package/cctz/Config.in rename to buildroot-2022.02.1/package/cctz/Config.in diff --git a/buildroot-2021.05/package/cctz/cctz.hash b/buildroot-2022.02.1/package/cctz/cctz.hash similarity index 100% rename from buildroot-2021.05/package/cctz/cctz.hash rename to buildroot-2022.02.1/package/cctz/cctz.hash diff --git a/buildroot-2021.05/package/cctz/cctz.mk b/buildroot-2022.02.1/package/cctz/cctz.mk similarity index 100% rename from buildroot-2021.05/package/cctz/cctz.mk rename to buildroot-2022.02.1/package/cctz/cctz.mk diff --git a/buildroot-2021.05/package/cdrkit/0001-no-rcmd.patch b/buildroot-2022.02.1/package/cdrkit/0001-no-rcmd.patch similarity index 100% rename from buildroot-2021.05/package/cdrkit/0001-no-rcmd.patch rename to buildroot-2022.02.1/package/cdrkit/0001-no-rcmd.patch diff --git a/buildroot-2021.05/package/cdrkit/0002-define-__THROW-to-avoid-build-issue-with-musl.patch b/buildroot-2022.02.1/package/cdrkit/0002-define-__THROW-to-avoid-build-issue-with-musl.patch similarity index 100% rename from buildroot-2021.05/package/cdrkit/0002-define-__THROW-to-avoid-build-issue-with-musl.patch rename to buildroot-2022.02.1/package/cdrkit/0002-define-__THROW-to-avoid-build-issue-with-musl.patch diff --git a/buildroot-2021.05/package/cdrkit/0003-Add-extern-to-char-outfile-declaration-to-fix-build-.patch b/buildroot-2022.02.1/package/cdrkit/0003-Add-extern-to-char-outfile-declaration-to-fix-build-.patch similarity index 100% rename from buildroot-2021.05/package/cdrkit/0003-Add-extern-to-char-outfile-declaration-to-fix-build-.patch rename to buildroot-2022.02.1/package/cdrkit/0003-Add-extern-to-char-outfile-declaration-to-fix-build-.patch diff --git a/buildroot-2021.05/package/cdrkit/Config.in b/buildroot-2022.02.1/package/cdrkit/Config.in similarity index 100% rename from buildroot-2021.05/package/cdrkit/Config.in rename to buildroot-2022.02.1/package/cdrkit/Config.in diff --git a/buildroot-2021.05/package/cdrkit/cdrkit.hash b/buildroot-2022.02.1/package/cdrkit/cdrkit.hash similarity index 100% rename from buildroot-2021.05/package/cdrkit/cdrkit.hash rename to buildroot-2022.02.1/package/cdrkit/cdrkit.hash diff --git a/buildroot-2021.05/package/cdrkit/cdrkit.mk b/buildroot-2022.02.1/package/cdrkit/cdrkit.mk similarity index 100% rename from buildroot-2021.05/package/cdrkit/cdrkit.mk rename to buildroot-2022.02.1/package/cdrkit/cdrkit.mk diff --git a/buildroot-2022.02.1/package/cegui/0001-XMLParser.cpp-include-string.h.patch b/buildroot-2022.02.1/package/cegui/0001-XMLParser.cpp-include-string.h.patch new file mode 100644 index 00000000..e117d622 --- /dev/null +++ b/buildroot-2022.02.1/package/cegui/0001-XMLParser.cpp-include-string.h.patch @@ -0,0 +1,37 @@ +From b98ed87225fa3c0f156b0798ca5c285d8fa8fac1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 15 Jun 2021 07:27:41 +0200 +Subject: [PATCH] XMLParser.cpp: include string.h + +Include string.h to avoid the following build failure: + +/home/buildroot/autobuild/run/instance-3/output-1/build/cegui-00b4e1fe174da53b7ed726ab5970ba51bd5b5ee0/cegui/src/XMLParserModules/RapidXML/XMLParser.cpp:73:5: error: 'memcpy' was not declared in this scope + 73 | memcpy(buf, source.getDataPtr(), size); + | ^~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/1cb09e5f52435efc505c61707b2d5d2ee871524b + +Signed-off-by: Fabrice Fontaine +Upstream: 628f7edf4b420f752f1965ea11e5e747e3ff93b0 +Signed-off-by: Thomas Petazzoni +--- + cegui/src/XMLParserModules/RapidXML/XMLParser.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/cegui/src/XMLParserModules/RapidXML/XMLParser.cpp b/cegui/src/XMLParserModules/RapidXML/XMLParser.cpp +index 810ea6bbf..59822fc80 100644 +--- a/cegui/src/XMLParserModules/RapidXML/XMLParser.cpp ++++ b/cegui/src/XMLParserModules/RapidXML/XMLParser.cpp +@@ -38,6 +38,8 @@ + #include "CEGUI/Logger.h" + #include "CEGUI/Exceptions.h" + ++#include ++ + // Start of CEGUI namespace section + namespace CEGUI + { +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/cegui/Config.in b/buildroot-2022.02.1/package/cegui/Config.in new file mode 100644 index 00000000..20b86583 --- /dev/null +++ b/buildroot-2022.02.1/package/cegui/Config.in @@ -0,0 +1,24 @@ +comment "cegui needs a toolchain w/ C++, threads, dynamic library, wchar, gcc >= 5" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \ + || BR2_STATIC_LIBS || !BR2_USE_WCHAR \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +config BR2_PACKAGE_CEGUI + bool "cegui" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11 PR59987 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + select BR2_PACKAGE_GLM + select BR2_PACKAGE_LIBGLFW if BR2_PACKAGE_HAS_LIBGL # SampleBrowser dependency + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + Crazy Eddie's GUI System is a free library providing windowing + and widgets for graphics APIs / engines where such + functionality is not natively available, or severely lacking. + The library is object orientated, written in C++, and targeted + at games developers who should be spending their time creating + great games, not building GUI sub-systems! + + http://www.cegui.org.uk/ diff --git a/buildroot-2022.02.1/package/cegui/cegui.hash b/buildroot-2022.02.1/package/cegui/cegui.hash new file mode 100644 index 00000000..131b2486 --- /dev/null +++ b/buildroot-2022.02.1/package/cegui/cegui.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 5b6f9e209e8a29b2f30d6aef92efd125c8bedaab5be04b562208be51e5e7f04e cegui-00b4e1fe174da53b7ed726ab5970ba51bd5b5ee0.tar.gz +sha256 cc869e2ece8ad039f6d7fd17259db4ea0ae0a502d02a1bb506c0168deb12e40d COPYING diff --git a/buildroot-2022.02.1/package/cegui/cegui.mk b/buildroot-2022.02.1/package/cegui/cegui.mk new file mode 100644 index 00000000..2e563223 --- /dev/null +++ b/buildroot-2022.02.1/package/cegui/cegui.mk @@ -0,0 +1,102 @@ +################################################################################ +# +# cegui +# +################################################################################ + +CEGUI_VERSION = 00b4e1fe174da53b7ed726ab5970ba51bd5b5ee0 +CEGUI_SITE = $(call github,cegui,cegui,$(CEGUI_VERSION)) +CEGUI_LICENSE = MIT +CEGUI_LICENSE_FILES = COPYING +CEGUI_INSTALL_STAGING = YES +CEGUI_CONF_OPTS = \ + -DCEGUI_HAS_MINIZIP_RESOURCE_PROVIDER=OFF \ + -DCEGUI_BUILD_RENDERER_IRRLICHT=OFF \ + -DCEGUI_BUILD_RENDERER_OGRE=OFF \ + -DCEGUI_BUILD_RENDERER_OPENGLES=OFF \ + -DCEGUI_BUILD_XMLPARSER_XERCES=OFF \ + -DCEGUI_USE_FRIBIDI=OFF \ + -DCEGUI_SAMPLES_ENABLED=OFF \ + -DCEGUI_BUILD_APPLICATION_TEMPLATES=OFF \ + -DCEGUI_BUILD_PYTHON_MODULES_SWIG=OFF +CEGUI_DEPENDENCIES = glm \ + $(if $(BR2_PACKAGE_LIBGLFW),libglfw) \ + $(if $(BR2_PACKAGE_HAS_LIBGL),libgl) \ + $(if $(BR2_PACKAGE_HAS_LIBGLES),libgles) \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +# libepoxy support cannot be enabled together with libglew +ifeq ($(BR2_PACKAGE_LIBGLEW)$(BR2_PACKAGE_LIBGLU),yy) +CEGUI_DEPENDENCIES += libglew libglu +CEGUI_CONF_OPTS += -DCEGUI_USE_GLEW=ON -DCEGUI_USE_EPOXY=OFF \ + -DCEGUI_BUILD_RENDERER_OPENGL=ON \ + -DCEGUI_BUILD_RENDERER_OPENGL3=ON +else ifeq ($(BR2_PACKAGE_LIBEPOXY),y) +CEGUI_DEPENDENCIES += libepoxy +# old OpenGL renderer module is only supported using GLEW +CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=ON -DCEGUI_USE_GLEW=OFF \ + -DCEGUI_BUILD_RENDERER_OPENGL=OFF \ + -DCEGUI_BUILD_RENDERER_OPENGL3=ON +else +CEGUI_CONF_OPTS += -DCEGUI_USE_EPOXY=OFF -DCEGUI_USE_GLEW=OFF \ + -DCEGUI_BUILD_RENDERER_OPENGL=OFF \ + -DCEGUI_BUILD_RENDERER_OPENGL3=OFF +endif + +ifeq ($(BR2_PACKAGE_EXPAT),y) +CEGUI_DEPENDENCIES += expat +CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_EXPAT=ON +else +CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_EXPAT=OFF +endif + +ifeq ($(BR2_PACKAGE_SDL2)$(BR2_PACKAGE_SDL2_IMAGE),yy) +CEGUI_DEPENDENCIES += sdl2 sdl2_image +CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_SDL2=ON +else +CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_SDL2=OFF +endif + +ifeq ($(BR2_PACKAGE_PCRE),y) +CEGUI_DEPENDENCIES += pcre +CEGUI_CONF_OPTS += -DCEGUI_HAS_PCRE_REGEX=ON +else +CEGUI_CONF_OPTS += -DCEGUI_HAS_PCRE_REGEX=OFF +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +CEGUI_DEPENDENCIES += freetype +CEGUI_CONF_OPTS += -DCEGUI_HAS_FREETYPE=ON +else +CEGUI_CONF_OPTS += -DCEGUI_HAS_FREETYPE=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +CEGUI_DEPENDENCIES += libxml2 +CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_LIBXML2=ON +else +CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_LIBXML2=OFF +endif + +ifeq ($(BR2_PACKAGE_RAPIDXML),y) +CEGUI_DEPENDENCIES += rapidxml +CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_RAPIDXML=ON +else +CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_RAPIDXML=OFF +endif + +ifeq ($(BR2_PACKAGE_TINYXML),y) +CEGUI_DEPENDENCIES += tinyxml +CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_TINYXML=ON +else +CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_TINYXML=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBFREEIMAGE),y) +CEGUI_DEPENDENCIES += libfreeimage +CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=ON +else +CEGUI_CONF_OPTS += -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/cereal/Config.in b/buildroot-2022.02.1/package/cereal/Config.in similarity index 100% rename from buildroot-2021.05/package/cereal/Config.in rename to buildroot-2022.02.1/package/cereal/Config.in diff --git a/buildroot-2022.02.1/package/cereal/cereal.hash b/buildroot-2022.02.1/package/cereal/cereal.hash new file mode 100644 index 00000000..18889b4d --- /dev/null +++ b/buildroot-2022.02.1/package/cereal/cereal.hash @@ -0,0 +1,6 @@ +# Locally computed +sha256 65ea6ddda98f4274f5c10fb3e07b2269ccdd1e5cbb227be6a2fd78b8f382c976 cereal-1.3.1.tar.gz +sha256 58604a126af6a671ea390ee3d5b3e42228aa59b2858fb7af1d5b20b31739ccbb LICENSE +sha256 d9e523e8736ac0c68064c7ad312a222f285e82bf6c96a1b1c2cadaffff9fc64f include/cereal/external/base64.hpp +sha256 7fb69c707f0ed3a8b59b8f949f0928a9cc06d67bc15d599094693703ff70ea26 include/cereal/external/rapidjson/rapidjson.h +sha256 794bf3b2ecf5cf0c740ac6c524d66ce6284c4b1de1f983d21a242b8abbeb9720 include/cereal/external/rapidxml/license.txt diff --git a/buildroot-2022.02.1/package/cereal/cereal.mk b/buildroot-2022.02.1/package/cereal/cereal.mk new file mode 100644 index 00000000..a44f09c7 --- /dev/null +++ b/buildroot-2022.02.1/package/cereal/cereal.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# cereal +# +################################################################################ + +CEREAL_VERSION = 1.3.1 +CEREAL_SITE = $(call github,USCiLab,cereal,v$(CEREAL_VERSION)) +# For licensing, see also: https://github.com/USCiLab/cereal/issues/609 +CEREAL_LICENSE = BSD-3-Clause (cereal), Zlib (base64.hpp), MIT (rapidjson), BSL-1.0 or MIT (rapidxml) +CEREAL_LICENSE_FILES = LICENSE include/cereal/external/base64.hpp include/cereal/external/rapidjson/rapidjson.h include/cereal/external/rapidxml/license.txt +CEREAL_CPE_ID_VENDOR = usc +CEREAL_INSTALL_STAGING = YES +CEREAL_INSTALL_TARGET = NO +CEREAL_CONF_OPTS = \ + -DTHREAD_SAFE=ON \ + -DJUST_INSTALL_CEREAL=ON + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/cfm/Config.in b/buildroot-2022.02.1/package/cfm/Config.in new file mode 100644 index 00000000..1c2e92be --- /dev/null +++ b/buildroot-2022.02.1/package/cfm/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_CFM + bool "cfm" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + select BR2_PACKAGE_LIBEV + select BR2_PACKAGE_LIBMNL + select BR2_PACKAGE_LIBNL + help + This is the userspace application that configures the kernel + to run CFM protocol. The userspace application is made of 2 + applications, one daemon and a client. + + https://github.com/microchip-ung/cfm + +comment "cfm needs a toolchain w/ threads, kernel headers >= 5.0" + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 diff --git a/buildroot-2022.02.1/package/cfm/S65cfm b/buildroot-2022.02.1/package/cfm/S65cfm new file mode 100644 index 00000000..10192686 --- /dev/null +++ b/buildroot-2022.02.1/package/cfm/S65cfm @@ -0,0 +1,55 @@ +#!/bin/sh +# +# Start cfm +# + +DAEMON="cfm_server" + +PIDFILE="/var/run/$DAEMON.pid" + +# shellcheck source=/dev/null +[ -r "/etc/default/cfm_server" ] && . "/etc/default/cfm_server" + +start() { + printf "Starting cfm daemon: " + start-stop-daemon -S -b -q -m -p $PIDFILE \ + -x /usr/bin/$DAEMON + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return $status +} + +stop() { + printf "Stopping cfm daemon: " + start-stop-daemon -K -q -p $PIDFILE + status=$? + if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" + echo "OK" + else + echo "FAIL" + fi + return $status +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + stop + start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? diff --git a/buildroot-2022.02.1/package/cfm/cfm.hash b/buildroot-2022.02.1/package/cfm/cfm.hash new file mode 100644 index 00000000..a1805d81 --- /dev/null +++ b/buildroot-2022.02.1/package/cfm/cfm.hash @@ -0,0 +1,3 @@ +# locally calculated +sha256 b5ce096e8c496c397d108201f1a46855f735da6c4163b7a9af345916e75a7126 cfm-0.3.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/cfm/cfm.mk b/buildroot-2022.02.1/package/cfm/cfm.mk new file mode 100644 index 00000000..850b8d60 --- /dev/null +++ b/buildroot-2022.02.1/package/cfm/cfm.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# cfm +# +################################################################################ + +CFM_VERSION = 0.3 +CFM_SITE = $(call github,microchip-ung,cfm,v$(CFM_VERSION)) +CFM_DEPENDENCIES = libev libmnl libnl +CFM_LICENSE = GPL-2.0 +CFM_LICENSE_FILES = LICENSE +CFM_INSTALL_STAGING = YES + +define CFM_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D $(CFM_PKGDIR)/S65cfm \ + $(TARGET_DIR)/etc/init.d/S65cfm +endef + +define CFM_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(CFM_PKGDIR)/cfm.service \ + $(TARGET_DIR)/usr/lib/systemd/system/cfm.service +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/cfm/cfm.service b/buildroot-2022.02.1/package/cfm/cfm.service new file mode 100644 index 00000000..1a00c5ba --- /dev/null +++ b/buildroot-2022.02.1/package/cfm/cfm.service @@ -0,0 +1,10 @@ +[Unit] +Description=Connectivity Fault Management +After=network.target + +[Service] +ExecStart=/usr/bin/cfm_server +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/cgic/0001-prepare_makefile.patch b/buildroot-2022.02.1/package/cgic/0001-prepare_makefile.patch similarity index 100% rename from buildroot-2021.05/package/cgic/0001-prepare_makefile.patch rename to buildroot-2022.02.1/package/cgic/0001-prepare_makefile.patch diff --git a/buildroot-2021.05/package/cgic/0002-file_enhancements.patch b/buildroot-2022.02.1/package/cgic/0002-file_enhancements.patch similarity index 100% rename from buildroot-2021.05/package/cgic/0002-file_enhancements.patch rename to buildroot-2022.02.1/package/cgic/0002-file_enhancements.patch diff --git a/buildroot-2021.05/package/cgic/0003-restore-cgiFormFileGetTempfileName.patch b/buildroot-2022.02.1/package/cgic/0003-restore-cgiFormFileGetTempfileName.patch similarity index 100% rename from buildroot-2021.05/package/cgic/0003-restore-cgiFormFileGetTempfileName.patch rename to buildroot-2022.02.1/package/cgic/0003-restore-cgiFormFileGetTempfileName.patch diff --git a/buildroot-2021.05/package/cgic/Config.in b/buildroot-2022.02.1/package/cgic/Config.in similarity index 100% rename from buildroot-2021.05/package/cgic/Config.in rename to buildroot-2022.02.1/package/cgic/Config.in diff --git a/buildroot-2021.05/package/cgic/cgic.hash b/buildroot-2022.02.1/package/cgic/cgic.hash similarity index 100% rename from buildroot-2021.05/package/cgic/cgic.hash rename to buildroot-2022.02.1/package/cgic/cgic.hash diff --git a/buildroot-2021.05/package/cgic/cgic.mk b/buildroot-2022.02.1/package/cgic/cgic.mk similarity index 100% rename from buildroot-2021.05/package/cgic/cgic.mk rename to buildroot-2022.02.1/package/cgic/cgic.mk diff --git a/buildroot-2021.05/package/cgilua/Config.in b/buildroot-2022.02.1/package/cgilua/Config.in similarity index 100% rename from buildroot-2021.05/package/cgilua/Config.in rename to buildroot-2022.02.1/package/cgilua/Config.in diff --git a/buildroot-2021.05/package/cgilua/cgilua.hash b/buildroot-2022.02.1/package/cgilua/cgilua.hash similarity index 100% rename from buildroot-2021.05/package/cgilua/cgilua.hash rename to buildroot-2022.02.1/package/cgilua/cgilua.hash diff --git a/buildroot-2022.02.1/package/cgilua/cgilua.mk b/buildroot-2022.02.1/package/cgilua/cgilua.mk new file mode 100644 index 00000000..8061eaf3 --- /dev/null +++ b/buildroot-2022.02.1/package/cgilua/cgilua.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# cgilua +# +################################################################################ + +CGILUA_VERSION = 6.0.2-0 +CGILUA_SUBDIR = cgilua +CGILUA_LICENSE = MIT +CGILUA_LICENSE_FILES = $(CGILUA_SUBDIR)/doc/us/license.html +CGILUA_CPE_ID_VENDOR = keplerproject + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/cgroupfs-mount/Config.in b/buildroot-2022.02.1/package/cgroupfs-mount/Config.in similarity index 100% rename from buildroot-2021.05/package/cgroupfs-mount/Config.in rename to buildroot-2022.02.1/package/cgroupfs-mount/Config.in diff --git a/buildroot-2021.05/package/cgroupfs-mount/S30cgroupfs b/buildroot-2022.02.1/package/cgroupfs-mount/S30cgroupfs similarity index 100% rename from buildroot-2021.05/package/cgroupfs-mount/S30cgroupfs rename to buildroot-2022.02.1/package/cgroupfs-mount/S30cgroupfs diff --git a/buildroot-2021.05/package/cgroupfs-mount/cgroupfs-mount.hash b/buildroot-2022.02.1/package/cgroupfs-mount/cgroupfs-mount.hash similarity index 100% rename from buildroot-2021.05/package/cgroupfs-mount/cgroupfs-mount.hash rename to buildroot-2022.02.1/package/cgroupfs-mount/cgroupfs-mount.hash diff --git a/buildroot-2021.05/package/cgroupfs-mount/cgroupfs-mount.mk b/buildroot-2022.02.1/package/cgroupfs-mount/cgroupfs-mount.mk similarity index 100% rename from buildroot-2021.05/package/cgroupfs-mount/cgroupfs-mount.mk rename to buildroot-2022.02.1/package/cgroupfs-mount/cgroupfs-mount.mk diff --git a/buildroot-2021.05/package/chartjs/Config.in b/buildroot-2022.02.1/package/chartjs/Config.in similarity index 100% rename from buildroot-2021.05/package/chartjs/Config.in rename to buildroot-2022.02.1/package/chartjs/Config.in diff --git a/buildroot-2021.05/package/chartjs/chartjs.hash b/buildroot-2022.02.1/package/chartjs/chartjs.hash similarity index 100% rename from buildroot-2021.05/package/chartjs/chartjs.hash rename to buildroot-2022.02.1/package/chartjs/chartjs.hash diff --git a/buildroot-2021.05/package/chartjs/chartjs.mk b/buildroot-2022.02.1/package/chartjs/chartjs.mk similarity index 100% rename from buildroot-2021.05/package/chartjs/chartjs.mk rename to buildroot-2022.02.1/package/chartjs/chartjs.mk diff --git a/buildroot-2021.05/package/check/Config.in b/buildroot-2022.02.1/package/check/Config.in similarity index 100% rename from buildroot-2021.05/package/check/Config.in rename to buildroot-2022.02.1/package/check/Config.in diff --git a/buildroot-2021.05/package/check/check.hash b/buildroot-2022.02.1/package/check/check.hash similarity index 100% rename from buildroot-2021.05/package/check/check.hash rename to buildroot-2022.02.1/package/check/check.hash diff --git a/buildroot-2021.05/package/check/check.mk b/buildroot-2022.02.1/package/check/check.mk similarity index 100% rename from buildroot-2021.05/package/check/check.mk rename to buildroot-2022.02.1/package/check/check.mk diff --git a/buildroot-2022.02.1/package/checkpolicy/Config.in b/buildroot-2022.02.1/package/checkpolicy/Config.in new file mode 100644 index 00000000..6a1f2299 --- /dev/null +++ b/buildroot-2022.02.1/package/checkpolicy/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_CHECKPOLICY + bool "checkpolicy" + depends on BR2_TOOLCHAIN_HAS_THREADS # libselinux + depends on !BR2_STATIC_LIBS # libselinux + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libselinux -> libsepol + select BR2_PACKAGE_LIBSELINUX + select BR2_PACKAGE_FLEX + help + checkpolicy is the SELinux policy compiler. It uses libsepol + to generate the binary policy. checkpolicy uses the static + libsepol since it deals with low level details of the policy + that have not been encapsulated/abstracted by a proper + shared library interface. + + http://selinuxproject.org/page/Main_Page + +comment "checkpolicy needs a toolchain w/ threads, dynamic library, gcc >= 5" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/checkpolicy/Config.in.host b/buildroot-2022.02.1/package/checkpolicy/Config.in.host new file mode 100644 index 00000000..38e35e2f --- /dev/null +++ b/buildroot-2022.02.1/package/checkpolicy/Config.in.host @@ -0,0 +1,14 @@ +config BR2_PACKAGE_HOST_CHECKPOLICY + bool "host checkpolicy" + depends on BR2_HOST_GCC_AT_LEAST_5 # host-libselinux -> host-libsepol + help + checkpolicy is the SELinux policy compiler. It uses libsepol + to generate the binary policy. checkpolicy uses the static + libsepol since it deals with low level details of the policy + that have not been encapsulated/abstracted by a proper + shared library interface. + + http://selinuxproject.org/page/Main_Page + +comment "host checkpolicy needs a toolchain w/ host gcc >= 5" + depends on !BR2_HOST_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/checkpolicy/checkpolicy.hash b/buildroot-2022.02.1/package/checkpolicy/checkpolicy.hash new file mode 100644 index 00000000..35863890 --- /dev/null +++ b/buildroot-2022.02.1/package/checkpolicy/checkpolicy.hash @@ -0,0 +1,5 @@ +# https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 25c84edfa3a10ab8cb073b97bc55cb66377532d54a2723da9accdabd05431485 checkpolicy-3.3.tar.gz + +# Hash for license file +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2022.02.1/package/checkpolicy/checkpolicy.mk b/buildroot-2022.02.1/package/checkpolicy/checkpolicy.mk new file mode 100644 index 00000000..af9a58ce --- /dev/null +++ b/buildroot-2022.02.1/package/checkpolicy/checkpolicy.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# checkpolicy +# +################################################################################ + +CHECKPOLICY_VERSION = 3.3 +CHECKPOLICY_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(CHECKPOLICY_VERSION) +CHECKPOLICY_LICENSE = GPL-2.0 +CHECKPOLICY_LICENSE_FILES = COPYING + +CHECKPOLICY_DEPENDENCIES = libselinux flex host-flex host-bison + +CHECKPOLICY_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) \ + LEX="$(HOST_DIR)/bin/flex" \ + YACC="$(HOST_DIR)/bin/bison -y" + +# DESTDIR is used at build time to find libselinux +define CHECKPOLICY_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(CHECKPOLICY_MAKE_OPTS) DESTDIR=$(STAGING_DIR) +endef + +define CHECKPOLICY_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(CHECKPOLICY_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install + +endef + +define CHECKPOLICY_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(CHECKPOLICY_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install +endef + +HOST_CHECKPOLICY_DEPENDENCIES = host-libselinux host-flex host-bison + +# PREFIX is used at build time to find host-libselinux +HOST_CHECKPOLICY_MAKE_OPTS = \ + $(HOST_CONFIGURE_OPTS) \ + PREFIX=$(HOST_DIR) \ + LEX="$(HOST_DIR)/bin/flex" \ + YACC="$(HOST_DIR)/bin/bison -y" + +define HOST_CHECKPOLICY_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CHECKPOLICY_MAKE_OPTS) +endef + +define HOST_CHECKPOLICY_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CHECKPOLICY_MAKE_OPTS) install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/checksec/Config.in.host b/buildroot-2022.02.1/package/checksec/Config.in.host similarity index 100% rename from buildroot-2021.05/package/checksec/Config.in.host rename to buildroot-2022.02.1/package/checksec/Config.in.host diff --git a/buildroot-2022.02.1/package/checksec/checksec.hash b/buildroot-2022.02.1/package/checksec/checksec.hash new file mode 100644 index 00000000..41aae818 --- /dev/null +++ b/buildroot-2022.02.1/package/checksec/checksec.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 1034459d7cd2b0ee515c2b6b003375fec566fb59c838fc5e1961e1fcf76b54fa checksec-2.5.0.tar.gz +sha256 7888fee828bf56d547fc1f634e40638984148b4fc41373b7626eb465060640de LICENSE.txt diff --git a/buildroot-2022.02.1/package/checksec/checksec.mk b/buildroot-2022.02.1/package/checksec/checksec.mk new file mode 100644 index 00000000..61ef110f --- /dev/null +++ b/buildroot-2022.02.1/package/checksec/checksec.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# checksec +# +################################################################################ + +CHECKSEC_VERSION = 2.5.0 +CHECKSEC_SITE = $(call github,slimm609,checksec.sh,$(CHECKSEC_VERSION)) +CHECKSEC_LICENSE = BSD-3-Clause +CHECKSEC_LICENSE_FILES = LICENSE.txt + +define HOST_CHECKSEC_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/checksec $(HOST_DIR)/bin/checksec +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/chipmunk/0001-Fix-build-failure-on-musl.patch b/buildroot-2022.02.1/package/chipmunk/0001-Fix-build-failure-on-musl.patch similarity index 100% rename from buildroot-2021.05/package/chipmunk/0001-Fix-build-failure-on-musl.patch rename to buildroot-2022.02.1/package/chipmunk/0001-Fix-build-failure-on-musl.patch diff --git a/buildroot-2021.05/package/chipmunk/Config.in b/buildroot-2022.02.1/package/chipmunk/Config.in similarity index 100% rename from buildroot-2021.05/package/chipmunk/Config.in rename to buildroot-2022.02.1/package/chipmunk/Config.in diff --git a/buildroot-2021.05/package/chipmunk/chipmunk.hash b/buildroot-2022.02.1/package/chipmunk/chipmunk.hash similarity index 100% rename from buildroot-2021.05/package/chipmunk/chipmunk.hash rename to buildroot-2022.02.1/package/chipmunk/chipmunk.hash diff --git a/buildroot-2021.05/package/chipmunk/chipmunk.mk b/buildroot-2022.02.1/package/chipmunk/chipmunk.mk similarity index 100% rename from buildroot-2021.05/package/chipmunk/chipmunk.mk rename to buildroot-2022.02.1/package/chipmunk/chipmunk.mk diff --git a/buildroot-2021.05/package/chocolate-doom/0001-Remove-redundant-demoextend-definition.patch b/buildroot-2022.02.1/package/chocolate-doom/0001-Remove-redundant-demoextend-definition.patch similarity index 100% rename from buildroot-2021.05/package/chocolate-doom/0001-Remove-redundant-demoextend-definition.patch rename to buildroot-2022.02.1/package/chocolate-doom/0001-Remove-redundant-demoextend-definition.patch diff --git a/buildroot-2021.05/package/chocolate-doom/Config.in b/buildroot-2022.02.1/package/chocolate-doom/Config.in similarity index 100% rename from buildroot-2021.05/package/chocolate-doom/Config.in rename to buildroot-2022.02.1/package/chocolate-doom/Config.in diff --git a/buildroot-2021.05/package/chocolate-doom/chocolate-doom.hash b/buildroot-2022.02.1/package/chocolate-doom/chocolate-doom.hash similarity index 100% rename from buildroot-2021.05/package/chocolate-doom/chocolate-doom.hash rename to buildroot-2022.02.1/package/chocolate-doom/chocolate-doom.hash diff --git a/buildroot-2021.05/package/chocolate-doom/chocolate-doom.mk b/buildroot-2022.02.1/package/chocolate-doom/chocolate-doom.mk similarity index 100% rename from buildroot-2021.05/package/chocolate-doom/chocolate-doom.mk rename to buildroot-2022.02.1/package/chocolate-doom/chocolate-doom.mk diff --git a/buildroot-2021.05/package/chrony/Config.in b/buildroot-2022.02.1/package/chrony/Config.in similarity index 100% rename from buildroot-2021.05/package/chrony/Config.in rename to buildroot-2022.02.1/package/chrony/Config.in diff --git a/buildroot-2021.05/package/chrony/S49chrony b/buildroot-2022.02.1/package/chrony/S49chrony similarity index 100% rename from buildroot-2021.05/package/chrony/S49chrony rename to buildroot-2022.02.1/package/chrony/S49chrony diff --git a/buildroot-2022.02.1/package/chrony/chrony.hash b/buildroot-2022.02.1/package/chrony/chrony.hash new file mode 100644 index 00000000..f8dd1438 --- /dev/null +++ b/buildroot-2022.02.1/package/chrony/chrony.hash @@ -0,0 +1,4 @@ +# From https://listengine.tuxfamily.org/chrony.tuxfamily.org/chrony-announce/2021/05/msg00000.html +sha256 ed76f2d3f9347ac6221a91ad4bd553dd0565ac188cd7490d0801d08f7171164c chrony-4.1.tar.gz +# Locally calculated +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/chrony/chrony.mk b/buildroot-2022.02.1/package/chrony/chrony.mk new file mode 100644 index 00000000..5a34f70e --- /dev/null +++ b/buildroot-2022.02.1/package/chrony/chrony.mk @@ -0,0 +1,86 @@ +################################################################################ +# +# chrony +# +################################################################################ + +CHRONY_VERSION = 4.1 +CHRONY_SITE = http://download.tuxfamily.org/chrony +CHRONY_LICENSE = GPL-2.0 +CHRONY_LICENSE_FILES = COPYING +CHRONY_CPE_ID_VENDOR = tuxfamily +CHRONY_SELINUX_MODULES = chronyd +CHRONY_DEPENDENCIES = host-pkgconf + +CHRONY_CONF_OPTS = \ + --host-system=Linux \ + --host-machine=$(BR2_ARCH) \ + --prefix=/usr \ + --without-tomcrypt \ + $(if $(BR2_PACKAGE_CHRONY_DEBUG_LOGGING),--enable-debug,--disable-debug) + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +CHRONY_DEPENDENCIES += libcap +else +CHRONY_CONF_OPTS += --without-libcap +endif + +ifeq ($(BR2_PACKAGE_LIBNSS),y) +CHRONY_DEPENDENCIES += libnss +else +CHRONY_CONF_OPTS += --without-nss +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +CHRONY_CONF_OPTS += --enable-scfilter +CHRONY_DEPENDENCIES += libseccomp +else +CHRONY_CONF_OPTS += --without-seccomp +endif + +ifeq ($(BR2_PACKAGE_LIBEDIT),y) +CHRONY_DEPENDENCIES += libedit +else +CHRONY_CONF_OPTS += --without-editline --disable-readline +endif + +# If pps-tools is available, build it before so the package can use it +# (HAVE_SYS_TIMEPPS_H). +ifeq ($(BR2_PACKAGE_PPS_TOOLS),y) +CHRONY_DEPENDENCIES += pps-tools +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +CHRONY_DEPENDENCIES += gnutls +else +CHRONY_CONF_OPTS += --without-gnutls +endif + +ifeq ($(BR2_PACKAGE_NETTLE),y) +CHRONY_DEPENDENCIES += nettle +else +CHRONY_CONF_OPTS += --without-nettle +endif + +define CHRONY_CONFIGURE_CMDS + cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure $(CHRONY_CONF_OPTS) +endef + +define CHRONY_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define CHRONY_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install +endef + +define CHRONY_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/chrony/S49chrony $(TARGET_DIR)/etc/init.d/S49chrony +endef + +define CHRONY_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/chrony/chrony.service \ + $(TARGET_DIR)/usr/lib/systemd/system/chrony.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/chrony/chrony.service b/buildroot-2022.02.1/package/chrony/chrony.service new file mode 100644 index 00000000..210122cf --- /dev/null +++ b/buildroot-2022.02.1/package/chrony/chrony.service @@ -0,0 +1,15 @@ +[Unit] +Description=Chrony Network Time Daemon +After=syslog.target network.target +Conflicts=systemd-timesyncd.service + +[Service] +# Turn off DNSSEC validation for hostname look-ups, since those need the +# correct time to work, but we likely won't acquire that without NTP. Let's +# break this chicken-and-egg cycle here. +Environment=SYSTEMD_NSS_RESOLVE_VALIDATE=0 +ExecStart=/usr/sbin/chronyd -n +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2022.02.1/package/cifs-utils/Config.in b/buildroot-2022.02.1/package/cifs-utils/Config.in new file mode 100644 index 00000000..d1b1406a --- /dev/null +++ b/buildroot-2022.02.1/package/cifs-utils/Config.in @@ -0,0 +1,33 @@ +config BR2_PACKAGE_CIFS_UTILS + bool "cifs-utils" + # uses fork() + depends on BR2_USE_MMU + help + The in-kernel CIFS filesystem is generally the preferred + method for mounting SMB/CIFS shares on Linux. The in-kernel + CIFS filesystem relies on a set of user-space tools. That + package of tools is called cifs-utils. Although not really + part of Samba proper, these tools were originally part of + the Samba package. For several reasons, shipping these tools + as part of Samba was problematic and it was deemed better to + split them off into their own package. + + http://wiki.samba.org/index.php/LinuxCIFS_utils + +if BR2_PACKAGE_CIFS_UTILS + +config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS + bool "smbtools" + depends on BR2_USE_WCHAR # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on !BR2_STATIC_LIBS # python3 + select BR2_PACKAGE_PYTHON3 # runtime + help + Install the smb tools smbinfo and smb2-quota (python + implementations). + +comment "smbtools needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + +endif diff --git a/buildroot-2021.05/package/cifs-utils/cifs-utils.hash b/buildroot-2022.02.1/package/cifs-utils/cifs-utils.hash similarity index 100% rename from buildroot-2021.05/package/cifs-utils/cifs-utils.hash rename to buildroot-2022.02.1/package/cifs-utils/cifs-utils.hash diff --git a/buildroot-2021.05/package/cifs-utils/cifs-utils.mk b/buildroot-2022.02.1/package/cifs-utils/cifs-utils.mk similarity index 100% rename from buildroot-2021.05/package/cifs-utils/cifs-utils.mk rename to buildroot-2022.02.1/package/cifs-utils/cifs-utils.mk diff --git a/buildroot-2021.05/package/circus/Config.in b/buildroot-2022.02.1/package/circus/Config.in similarity index 100% rename from buildroot-2021.05/package/circus/Config.in rename to buildroot-2022.02.1/package/circus/Config.in diff --git a/buildroot-2021.05/package/circus/circus.hash b/buildroot-2022.02.1/package/circus/circus.hash similarity index 100% rename from buildroot-2021.05/package/circus/circus.hash rename to buildroot-2022.02.1/package/circus/circus.hash diff --git a/buildroot-2021.05/package/circus/circus.mk b/buildroot-2022.02.1/package/circus/circus.mk similarity index 100% rename from buildroot-2021.05/package/circus/circus.mk rename to buildroot-2022.02.1/package/circus/circus.mk diff --git a/buildroot-2022.02.1/package/civetweb/Config.in b/buildroot-2022.02.1/package/civetweb/Config.in new file mode 100644 index 00000000..6bca5ed8 --- /dev/null +++ b/buildroot-2022.02.1/package/civetweb/Config.in @@ -0,0 +1,28 @@ +config BR2_PACKAGE_CIVETWEB + bool "civetweb" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_CIVETWEB_SERVER if !BR2_PACKAGE_CIVETWEB_LIB + help + Full featured embedded web server with Lua support. + + https://sourceforge.net/projects/civetweb + +if BR2_PACKAGE_CIVETWEB + +config BR2_PACKAGE_CIVETWEB_SERVER + bool "enable the web server application" + help + Include the web server and its config files. + +config BR2_PACKAGE_CIVETWEB_LIB + bool "enable library for embedding" + help + Enable the civetweb library for embedding in another + application. + +endif + +comment "civetweb needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/civetweb/civetweb.hash b/buildroot-2022.02.1/package/civetweb/civetweb.hash new file mode 100644 index 00000000..bdf6d774 --- /dev/null +++ b/buildroot-2022.02.1/package/civetweb/civetweb.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 90a533422944ab327a4fbb9969f0845d0dba05354f9cacce3a5005fa59f593b9 civetweb-1.15.tar.gz +sha256 24d3d2aee56ae3cddcdf3392c1250877818108314233cf15f2bc9eb3ac298934 LICENSE.md diff --git a/buildroot-2022.02.1/package/civetweb/civetweb.mk b/buildroot-2022.02.1/package/civetweb/civetweb.mk new file mode 100644 index 00000000..a299de85 --- /dev/null +++ b/buildroot-2022.02.1/package/civetweb/civetweb.mk @@ -0,0 +1,105 @@ +################################################################################ +# +# civetweb +# +################################################################################ + +CIVETWEB_VERSION = 1.15 +CIVETWEB_SITE = $(call github,civetweb,civetweb,v$(CIVETWEB_VERSION)) +CIVETWEB_LICENSE = MIT +CIVETWEB_LICENSE_FILES = LICENSE.md +CIVETWEB_CPE_ID_VENDOR = civetweb_project + +CIVETWEB_CONF_OPTS = TARGET_OS=LINUX WITH_IPV6=1 \ + $(if $(BR2_INSTALL_LIBSTDCPP),WITH_CPP=1) +CIVETWEB_COPT = -DHAVE_POSIX_FALLOCATE=0 +CIVETWEB_LIBS = -lpthread -lm +CIVETWEB_SYSCONFDIR = /etc +CIVETWEB_HTMLDIR = /var/www +CIVETWEB_INSTALL_OPTS = \ + DOCUMENT_ROOT="$(CIVETWEB_HTMLDIR)" \ + CONFIG_FILE2="$(CIVETWEB_SYSCONFDIR)/civetweb.conf" \ + HTMLDIR="$(TARGET_DIR)$(CIVETWEB_HTMLDIR)" \ + SYSCONFDIR="$(TARGET_DIR)$(CIVETWEB_SYSCONFDIR)" + +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),) +CIVETWEB_COPT += -DNO_ATOMICS=1 +endif + +ifeq ($(BR2_PACKAGE_LUAJIT),y) +CIVETWEB_CONF_OPTS += WITH_LUAJIT_SHARED=1 +CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs luajit` -ldl +CIVETWEB_DEPENDENCIES += host-pkgconf luajit +else ifeq ($(BR2_PACKAGE_LUA):$(BR2_STATIC_LIBS),y:) +CIVETWEB_CONF_OPTS += WITH_LUA=1 WITH_LUA_SHARED=1 LUA_SHARED_LIB_FLAG='' +CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs lua` +CIVETWEB_DEPENDENCIES += host-pkgconf lua +ifeq ($(BR2_PACKAGE_LUA_5_1),y) +CIVETWEB_CONF_OPTS += WITH_LUA_VERSION=501 +else ifeq ($(BR2_PACKAGE_LUA_5_3),y) +CIVETWEB_CONF_OPTS += WITH_LUA_VERSION=503 +else ifeq ($(BR2_PACKAGE_LUA_5_4),y) +CIVETWEB_CONF_OPTS += WITH_LUA_VERSION=504 +endif +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CIVETWEB_COPT += -DNO_SSL_DL +CIVETWEB_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` +CIVETWEB_DEPENDENCIES += openssl host-pkgconf +else +CIVETWEB_COPT += -DNO_SSL +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +CIVETWEB_CONF_OPTS += WITH_ZLIB=1 +CIVETWEB_LIBS += -lz +CIVETWEB_DEPENDENCIES += zlib +endif + +ifeq ($(BR2_PACKAGE_CIVETWEB_SERVER),y) +CIVETWEB_BUILD_TARGETS += build +CIVETWEB_INSTALL_TARGETS += install +endif + +ifeq ($(BR2_PACKAGE_CIVETWEB_LIB),y) +CIVETWEB_INSTALL_STAGING = YES +CIVETWEB_INSTALL_TARGETS += install-headers + +ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +CIVETWEB_BUILD_TARGETS += lib +CIVETWEB_INSTALL_TARGETS += install-lib +endif + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +CIVETWEB_BUILD_TARGETS += slib +CIVETWEB_INSTALL_TARGETS += install-slib +endif + +endif # BR2_PACKAGE_CIVETWEB_LIB + +define CIVETWEB_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(CIVETWEB_BUILD_TARGETS) \ + $(CIVETWEB_CONF_OPTS) \ + COPT="$(CIVETWEB_COPT)" LIBS="$(CIVETWEB_LIBS)" +endef + +define CIVETWEB_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(CIVETWEB_INSTALL_TARGETS) \ + PREFIX="$(STAGING_DIR)/usr" \ + $(CIVETWEB_INSTALL_OPTS) \ + $(CIVETWEB_CONF_OPTS) \ + COPT='$(CIVETWEB_COPT)' +endef + +define CIVETWEB_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/include + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(CIVETWEB_INSTALL_TARGETS) \ + PREFIX="$(TARGET_DIR)/usr" \ + $(CIVETWEB_INSTALL_OPTS) \ + $(CIVETWEB_CONF_OPTS) \ + COPT='$(CIVETWEB_COPT)' +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/cjson/Config.in b/buildroot-2022.02.1/package/cjson/Config.in similarity index 100% rename from buildroot-2021.05/package/cjson/Config.in rename to buildroot-2022.02.1/package/cjson/Config.in diff --git a/buildroot-2022.02.1/package/cjson/cjson.hash b/buildroot-2022.02.1/package/cjson/cjson.hash new file mode 100644 index 00000000..c39e884c --- /dev/null +++ b/buildroot-2022.02.1/package/cjson/cjson.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 5308fd4bd90cef7aa060558514de6a1a4a0819974a26e6ed13973c5f624c24b2 cjson-1.7.15.tar.gz +sha256 a36dda207c36db5818729c54e7ad4e8b0c6fba847491ba64f372c1a2037b6d5c LICENSE diff --git a/buildroot-2022.02.1/package/cjson/cjson.mk b/buildroot-2022.02.1/package/cjson/cjson.mk new file mode 100644 index 00000000..ac8db570 --- /dev/null +++ b/buildroot-2022.02.1/package/cjson/cjson.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# cjson +# +################################################################################ + +CJSON_VERSION = 1.7.15 +CJSON_SITE = $(call github,DaveGamble,cjson,v$(CJSON_VERSION)) +CJSON_INSTALL_STAGING = YES +CJSON_LICENSE = MIT +CJSON_LICENSE_FILES = LICENSE +CJSON_CPE_ID_VENDOR = cjson_project +# Set ENABLE_CUSTOM_COMPILER_FLAGS to OFF in particular to disable +# -fstack-protector-strong which depends on BR2_TOOLCHAIN_HAS_SSP +CJSON_CONF_OPTS += \ + -DENABLE_CJSON_TEST=OFF \ + -DENABLE_CUSTOM_COMPILER_FLAGS=OFF + +# If BUILD_SHARED_AND_STATIC_LIBS is set to OFF, cjson uses the +# standard BUILD_SHARED_LIBS option which is passed by the +# cmake-package infrastructure. +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +CJSON_CONF_OPTS += -DBUILD_SHARED_AND_STATIC_LIBS=ON +else +CJSON_CONF_OPTS += -DBUILD_SHARED_AND_STATIC_LIBS=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/clamav/0002-mbox-do-not-use-backtrace-if-using-uClibc-without-ba.patch b/buildroot-2022.02.1/package/clamav/0001-mbox-do-not-use-backtrace-if-using-uClibc-without-ba.patch similarity index 100% rename from buildroot-2021.05/package/clamav/0002-mbox-do-not-use-backtrace-if-using-uClibc-without-ba.patch rename to buildroot-2022.02.1/package/clamav/0001-mbox-do-not-use-backtrace-if-using-uClibc-without-ba.patch diff --git a/buildroot-2021.05/package/clamav/Config.in b/buildroot-2022.02.1/package/clamav/Config.in similarity index 100% rename from buildroot-2021.05/package/clamav/Config.in rename to buildroot-2022.02.1/package/clamav/Config.in diff --git a/buildroot-2022.02.1/package/clamav/clamav.hash b/buildroot-2022.02.1/package/clamav/clamav.hash new file mode 100644 index 00000000..73f4ff88 --- /dev/null +++ b/buildroot-2022.02.1/package/clamav/clamav.hash @@ -0,0 +1,14 @@ +# Locally calculated +sha256 1e74b1e1d2a8a9056449c313f48a6983b9d5ba0d6fb5ef0b2be6ad3c841a5426 clamav-0.103.5.tar.gz +sha256 0c4fd2fa9733fc9122503797648710851e4ee6d9e4969dd33fcbd8c63cd2f584 COPYING +sha256 d72a145c90918184a05ef65a04c9e6f7466faa59bc1b82c8f6a8ddc7ddcb9bed COPYING.bzip2 +sha256 dfb818a0d41411c6fb1c193c68b73018ceadd1994bda41ad541cbff292894bc6 COPYING.file +sha256 6dce638b76399e7521ad8e182d3e33e4496c85b3b69b6ff434b53017101e82ad COPYING.getopt +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LGPL +sha256 e3a9b913515a42f8ff3ef1551c3a2cdba383c39ed959729e0e2911219496ad74 COPYING.llvm +sha256 d96d71b66aa32c4a2d1619b9ca3347dafa9460bcf0fb5ac2408916067ad31dfc COPYING.lzma +sha256 accdcf2455c07b99abea59016b3663eaef926a92092d103bfaa25fed27cf6b24 COPYING.pcre +sha256 e2c1395a3d9fea6d5d25847c9d783db6e2cc8b085b4025861f459139c5dfd90b COPYING.regex +sha256 1faccc6b5c7b958fb807a3f573d5be9bf7889fe898f7e0617c544b05a81bfd00 COPYING.unrar +sha256 a20d6317c5384e8d4c05f9c31097878675d9429ec46090656166039cc10bc957 COPYING.YARA +sha256 c2f77553f8d870c5635b0dace0519253233f172b33ce1fdf6578610706294eee COPYING.zlib diff --git a/buildroot-2022.02.1/package/clamav/clamav.mk b/buildroot-2022.02.1/package/clamav/clamav.mk new file mode 100644 index 00000000..cd2d06e6 --- /dev/null +++ b/buildroot-2022.02.1/package/clamav/clamav.mk @@ -0,0 +1,102 @@ +################################################################################ +# +# clamav +# +################################################################################ + +CLAMAV_VERSION = 0.103.5 +CLAMAV_SITE = https://www.clamav.net/downloads/production +CLAMAV_LICENSE = GPL-2.0 +CLAMAV_LICENSE_FILES = COPYING COPYING.bzip2 COPYING.file COPYING.getopt \ + COPYING.LGPL COPYING.llvm COPYING.lzma COPYING.pcre COPYING.regex \ + COPYING.unrar COPYING.zlib +CLAMAV_CPE_ID_VENDOR = clamav +CLAMAV_SELINUX_MODULES = clamav +CLAMAV_DEPENDENCIES = \ + host-pkgconf \ + libcurl \ + libmspack \ + openssl \ + zlib \ + $(TARGET_NLS_DEPENDENCIES) + +# mmap cannot be detected when cross-compiling, needed for mempool support +CLAMAV_CONF_ENV = \ + ac_cv_c_mmap_private=yes \ + have_cv_ipv6=yes \ + OBJC=$(TARGET_CC) + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +CLAMAV_LIBS += -latomic +endif + +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) +CLAMAV_DEPENDENCIES += musl-fts +CLAMAV_LIBS += -lfts +endif + +CLAMAV_CONF_ENV += LIBS="$(CLAMAV_LIBS)" + +CLAMAV_CONF_OPTS = \ + --with-dbdir=/var/lib/clamav \ + --with-libcurl=$(STAGING_DIR)/usr \ + --with-openssl=$(STAGING_DIR)/usr \ + --with-system-libmspack=$(STAGING_DIR)/usr \ + --with-zlib=$(STAGING_DIR)/usr \ + --disable-zlib-vcheck \ + --disable-rpath \ + --disable-clamav \ + --disable-milter \ + --disable-llvm \ + --disable-clamdtop \ + --enable-mempool + +ifeq ($(BR2_PACKAGE_BZIP2),y) +CLAMAV_DEPENDENCIES += bzip2 +# autodetection gets confused if host has bzip2, so force it +CLAMAV_CONF_ENV += \ + ac_cv_libbz2_libs=-lbz2 \ + ac_cv_libbz2_ltlibs=-lbz2 +else +CLAMAV_CONF_OPTS += --disable-bzip2 +endif + +ifeq ($(BR2_PACKAGE_JSON_C),y) +CLAMAV_CONF_OPTS += --with-libjson=$(STAGING_DIR)/usr +CLAMAV_DEPENDENCIES += json-c +else +CLAMAV_CONF_OPTS += --without-libjson +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +CLAMAV_CONF_OPTS += --with-xml=$(STAGING_DIR)/usr +CLAMAV_DEPENDENCIES += libxml2 +else +CLAMAV_CONF_OPTS += --disable-xml +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +CLAMAV_CONF_OPTS += --with-iconv +CLAMAV_DEPENDENCIES += libiconv +else +CLAMAV_CONF_OPTS += --without-iconv +endif + +ifeq ($(BR2_PACKAGE_PCRE2),y) +CLAMAV_CONF_OPTS += --with-pcre=$(STAGING_DIR)/usr +CLAMAV_DEPENDENCIES += pcre2 +else ifeq ($(BR2_PACKAGE_PCRE),y) +CLAMAV_CONF_OPTS += --with-pcre=$(STAGING_DIR)/usr +CLAMAV_DEPENDENCIES += pcre +else +CLAMAV_CONF_OPTS += --without-pcre +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +CLAMAV_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system +CLAMAV_DEPENDENCIES += systemd +else +CLAMAV_CONF_OPTS += --with-systemdsystemunitdir=no +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/clang/Config.in b/buildroot-2022.02.1/package/clang/Config.in similarity index 100% rename from buildroot-2021.05/package/clang/Config.in rename to buildroot-2022.02.1/package/clang/Config.in diff --git a/buildroot-2021.05/package/clang/clang.hash b/buildroot-2022.02.1/package/clang/clang.hash similarity index 100% rename from buildroot-2021.05/package/clang/clang.hash rename to buildroot-2022.02.1/package/clang/clang.hash diff --git a/buildroot-2021.05/package/clang/clang.mk b/buildroot-2022.02.1/package/clang/clang.mk similarity index 100% rename from buildroot-2021.05/package/clang/clang.mk rename to buildroot-2022.02.1/package/clang/clang.mk diff --git a/buildroot-2021.05/package/clinfo/Config.in b/buildroot-2022.02.1/package/clinfo/Config.in similarity index 100% rename from buildroot-2021.05/package/clinfo/Config.in rename to buildroot-2022.02.1/package/clinfo/Config.in diff --git a/buildroot-2021.05/package/clinfo/clinfo.hash b/buildroot-2022.02.1/package/clinfo/clinfo.hash similarity index 100% rename from buildroot-2021.05/package/clinfo/clinfo.hash rename to buildroot-2022.02.1/package/clinfo/clinfo.hash diff --git a/buildroot-2021.05/package/clinfo/clinfo.mk b/buildroot-2022.02.1/package/clinfo/clinfo.mk similarity index 100% rename from buildroot-2021.05/package/clinfo/clinfo.mk rename to buildroot-2022.02.1/package/clinfo/clinfo.mk diff --git a/buildroot-2022.02.1/package/cloop/cloop.hash b/buildroot-2022.02.1/package/cloop/cloop.hash new file mode 100644 index 00000000..eb922764 --- /dev/null +++ b/buildroot-2022.02.1/package/cloop/cloop.hash @@ -0,0 +1,6 @@ +# From http://snapshot.debian.org/archive/debian/20200419T152225Z/pool/main/c/cloop/cloop_3.14.1.3.dsc +sha256 e3079e70f9edae8ed1ac64694af08f6c7dc710ca65a56e4770dcb1325a293193 cloop_3.14.1.3.tar.xz + +# Hash for license files +sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad advancecomp-1.15/COPYING +sha256 1b1f89e94e131e259b9e334565c5c3500d4b8aa755b75c3f145ddcdff3b89124 README diff --git a/buildroot-2022.02.1/package/cloop/cloop.mk b/buildroot-2022.02.1/package/cloop/cloop.mk new file mode 100644 index 00000000..6f6d5fe6 --- /dev/null +++ b/buildroot-2022.02.1/package/cloop/cloop.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# cloop +# +################################################################################ + +CLOOP_VERSION = 3.14.1.3 +CLOOP_SOURCE = cloop_$(CLOOP_VERSION).tar.xz +CLOOP_SITE = http://snapshot.debian.org/archive/debian/20200419T152225Z/pool/main/c/cloop +CLOOP_LICENSE = GPL-2.0 (module), GPL-2.0+ (advancecomp) +CLOOP_LICENSE_FILES = README advancecomp-1.15/COPYING + +HOST_CLOOP_DEPENDENCIES = host-zlib + +define HOST_CLOOP_BUILD_CMDS + $(HOST_CONFIGURE_OPTS) $(MAKE1) -C $(@D) APPSONLY=yes \ + CFLAGS="$(HOST_CFLAGS) -D_GNU_SOURCE" CPPFLAGS="-std=c++14" +endef + +define HOST_CLOOP_INSTALL_CMDS + $(INSTALL) -m 0755 -d $(HOST_DIR)/bin + $(INSTALL) -m 755 $(@D)/create_compressed_fs $(HOST_DIR)/bin + $(INSTALL) -m 755 $(@D)/extract_compressed_fs $(HOST_DIR)/bin +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/cmake/0001-rename-cmake-rootfile.patch b/buildroot-2022.02.1/package/cmake/0001-rename-cmake-rootfile.patch similarity index 100% rename from buildroot-2021.05/package/cmake/0001-rename-cmake-rootfile.patch rename to buildroot-2022.02.1/package/cmake/0001-rename-cmake-rootfile.patch diff --git a/buildroot-2021.05/package/cmake/Config.in b/buildroot-2022.02.1/package/cmake/Config.in similarity index 100% rename from buildroot-2021.05/package/cmake/Config.in rename to buildroot-2022.02.1/package/cmake/Config.in diff --git a/buildroot-2021.05/package/cmake/Config.in.host b/buildroot-2022.02.1/package/cmake/Config.in.host similarity index 100% rename from buildroot-2021.05/package/cmake/Config.in.host rename to buildroot-2022.02.1/package/cmake/Config.in.host diff --git a/buildroot-2021.05/package/cmake/cmake.hash b/buildroot-2022.02.1/package/cmake/cmake.hash similarity index 100% rename from buildroot-2021.05/package/cmake/cmake.hash rename to buildroot-2022.02.1/package/cmake/cmake.hash diff --git a/buildroot-2021.05/package/cmake/cmake.mk b/buildroot-2022.02.1/package/cmake/cmake.mk similarity index 100% rename from buildroot-2021.05/package/cmake/cmake.mk rename to buildroot-2022.02.1/package/cmake/cmake.mk diff --git a/buildroot-2021.05/package/cmocka/0001-Don-t-redefine-uintptr_t.patch b/buildroot-2022.02.1/package/cmocka/0001-Don-t-redefine-uintptr_t.patch similarity index 100% rename from buildroot-2021.05/package/cmocka/0001-Don-t-redefine-uintptr_t.patch rename to buildroot-2022.02.1/package/cmocka/0001-Don-t-redefine-uintptr_t.patch diff --git a/buildroot-2021.05/package/cmocka/Config.in b/buildroot-2022.02.1/package/cmocka/Config.in similarity index 100% rename from buildroot-2021.05/package/cmocka/Config.in rename to buildroot-2022.02.1/package/cmocka/Config.in diff --git a/buildroot-2021.05/package/cmocka/cmocka.hash b/buildroot-2022.02.1/package/cmocka/cmocka.hash similarity index 100% rename from buildroot-2021.05/package/cmocka/cmocka.hash rename to buildroot-2022.02.1/package/cmocka/cmocka.hash diff --git a/buildroot-2021.05/package/cmocka/cmocka.mk b/buildroot-2022.02.1/package/cmocka/cmocka.mk similarity index 100% rename from buildroot-2021.05/package/cmocka/cmocka.mk rename to buildroot-2022.02.1/package/cmocka/cmocka.mk diff --git a/buildroot-2022.02.1/package/cog/Config.in b/buildroot-2022.02.1/package/cog/Config.in new file mode 100644 index 00000000..d4238750 --- /dev/null +++ b/buildroot-2022.02.1/package/cog/Config.in @@ -0,0 +1,58 @@ +comment "cog needs wpewebkit and a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_WPEWEBKIT || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_COG + bool "cog" + depends on BR2_PACKAGE_WPEWEBKIT + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus + depends on BR2_USE_MMU # dbus + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_WAYLAND + help + Single "window" launcher for the WebKit WPE port, and + helper library for implementing WPE launcher. It does + not provide any chrome, and is suitable to be used + as a Web application container. + + https://github.com/Igalia/cog + +if BR2_PACKAGE_COG + +config BR2_PACKAGE_COG_PROGRAMS_HOME_URI + string "home uri" + default "https://wpewebkit.org" + help + Default URI to open when "cog" is launched. If an empty + string is used, there is no default and the URI to open + must be always specified in the command line. + +config BR2_PACKAGE_COG_PLATFORM_FDO + bool "Wayland backend" + default y + select BR2_PACKAGE_LIBXKBCOMMON + select BR2_PACKAGE_WAYLAND_PROTOCOLS + help + Enable the Wayland backend. Cog will interface with + a compositor over the Wayland protocol. + +config BR2_PACKAGE_COG_PLATFORM_DRM + bool "DRM backend" + depends on BR2_PACKAGE_HAS_UDEV # libinput + depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # gbm + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_LIBINPUT + help + Enable the DRM platform backend. Cog will interface directly + with video drivers that support kernel mode-setting (KMS) + via the DRM user-space API. + +config BR2_PACKAGE_COG_USE_SYSTEM_DBUS + bool "expose system D-Bus control interface" + help + Expose remote control interface on system bus + +comment "DRM platform needs mesa3d w/ EGL driver and GBM" + depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL + +endif diff --git a/buildroot-2022.02.1/package/cog/cog.hash b/buildroot-2022.02.1/package/cog/cog.hash new file mode 100644 index 00000000..00d3a4e1 --- /dev/null +++ b/buildroot-2022.02.1/package/cog/cog.hash @@ -0,0 +1,7 @@ +# From https://wpewebkit.org/releases/cog-0.12.4.tar.xz.sums +md5 cdb8acdc3acc9b5082e7db9c279155c3 cog-0.12.4.tar.xz +sha1 600b30efadf55bf94ea5062a0a1b2ea0b74053e5 cog-0.12.4.tar.xz +sha256 9983c621c8e14fca3792ff566cb6b86d6a1f17446eb4c083af4a5a749112982f cog-0.12.4.tar.xz + +# Hashes for license files: +sha256 e6c42d93c68b292bcccf6d2ec3e13da85df90b718ba27c2c2a01053a9d009252 COPYING diff --git a/buildroot-2022.02.1/package/cog/cog.mk b/buildroot-2022.02.1/package/cog/cog.mk new file mode 100644 index 00000000..f2ca0af9 --- /dev/null +++ b/buildroot-2022.02.1/package/cog/cog.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# cog +# +################################################################################ + +COG_VERSION = 0.12.4 +COG_SITE = https://wpewebkit.org/releases +COG_SOURCE = cog-$(COG_VERSION).tar.xz +COG_INSTALL_STAGING = YES +COG_DEPENDENCIES = dbus wpewebkit wpebackend-fdo wayland +COG_LICENSE = MIT +COG_LICENSE_FILES = COPYING +COG_CONF_OPTS = \ + -DCOG_BUILD_PROGRAMS=ON \ + -DCOG_PLATFORM_HEADLESS=ON \ + -DCOG_WESTON_DIRECT_DISPLAY=OFF \ + -DINSTALL_MAN_PAGES=OFF \ + -DCOG_HOME_URI='$(call qstrip,$(BR2_PACKAGE_COG_PROGRAMS_HOME_URI))' \ + -DUSE_SOUP2=ON + +ifeq ($(BR2_PACKAGE_COG_PLATFORM_FDO),y) +COG_CONF_OPTS += -DCOG_PLATFORM_WL=ON +COG_DEPENDENCIES += libxkbcommon wayland-protocols +else +COG_CONF_OPTS += -DCOG_PLATFORM_WL=OFF +endif + +ifeq ($(BR2_PACKAGE_COG_PLATFORM_DRM),y) +COG_CONF_OPTS += -DCOG_PLATFORM_DRM=ON +COG_DEPENDENCIES += libdrm libinput +else +COG_CONF_OPTS += -DCOG_PLATFORM_DRM=OFF +endif + +ifeq ($(BR2_PACKAGE_COG_USE_SYSTEM_DBUS),y) +COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=ON +else +COG_CONF_OPTS += -DCOG_DBUS_SYSTEM_BUS=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/collectd/0001-src-netlink.c-remove-REG_NOERROR.patch b/buildroot-2022.02.1/package/collectd/0001-src-netlink.c-remove-REG_NOERROR.patch similarity index 100% rename from buildroot-2021.05/package/collectd/0001-src-netlink.c-remove-REG_NOERROR.patch rename to buildroot-2022.02.1/package/collectd/0001-src-netlink.c-remove-REG_NOERROR.patch diff --git a/buildroot-2022.02.1/package/collectd/Config.in b/buildroot-2022.02.1/package/collectd/Config.in new file mode 100644 index 00000000..67413ffd --- /dev/null +++ b/buildroot-2022.02.1/package/collectd/Config.in @@ -0,0 +1,797 @@ +menuconfig BR2_PACKAGE_COLLECTD + bool "collectd" + # Uses fork() + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + help + collectd is a daemon which collects system performance + statistics periodically and provides mechanisms to store + the values in a variety of ways, for example in RRD files. + + http://collectd.org/ + +if BR2_PACKAGE_COLLECTD + +menu "match plugins" + +config BR2_PACKAGE_COLLECTD_EMPTY_COUNTER + bool "empty counter" + help + Match counter values which are currently zero. + +config BR2_PACKAGE_COLLECTD_HASHED + bool "hashed" + help + Match values using a hash function of the hostname. + +config BR2_PACKAGE_COLLECTD_REGEX + bool "regex" + help + Match values by their identifier based on regular expressions. + +config BR2_PACKAGE_COLLECTD_TIMEDIFF + bool "timediff" + help + Match values with an invalid timestamp. + +config BR2_PACKAGE_COLLECTD_VALUE + bool "value" + help + Select values by their data sources' values. + +endmenu + +menu "misc plugins" + +config BR2_PACKAGE_COLLECTD_AGGREGATION + bool "aggregation" + help + The Aggregate plugin allows to aggregate multiple values into + a single value using one or several consolidation functions, + e.g. summation and average. + +config BR2_PACKAGE_COLLECTD_LOGFILE + bool "logfile" + default y + help + Writes log messages to a file or STDOUT/STDERR. + +config BR2_PACKAGE_COLLECTD_LOGSTASH + bool "logstash" + select BR2_PACKAGE_YAJL + help + Writes log messages formatted as logstash JSON events. + +config BR2_PACKAGE_COLLECTD_LUA + bool "lua" + depends on BR2_PACKAGE_HAS_LUAINTERPRETER + help + Embeds a Lua interpreter into collectd and provides an + interface to collectd's plugin system. + +comment "lua support needs a Lua interpreter" + depends on !BR2_PACKAGE_HAS_LUAINTERPRETER + +config BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL + bool "notify_email" + depends on !BR2_STATIC_LIBS # libesmtp + select BR2_PACKAGE_LIBESMTP + select BR2_PACKAGE_OPENSSL + help + Send an E-mail with the notification message to the + configured recipients. + +comment "notify_email needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_COLLECTD_NOTIFY_NAGIOS + bool "notify_nagios" + help + Sends notifications to Nagios as a passive check result. + +config BR2_PACKAGE_COLLECTD_SYSLOG + bool "syslog" + default y + help + Logs to the standard UNIX logging mechanism. + +config BR2_PACKAGE_COLLECTD_THRESHOLD + bool "threshold" + help + Checks values against configured thresholds and creates + notifications if values are out of bounds. + +endmenu + +menu "read plugins" + +comment "Select at least one for collectd to be useful" + +config BR2_PACKAGE_COLLECTD_APACHE + bool "apache" + select BR2_PACKAGE_LIBCURL + help + Collects Apache's mod_status information. + +config BR2_PACKAGE_COLLECTD_APCUPS + bool "apcups" + help + Collects UPS statistics from apcupsd. + +config BR2_PACKAGE_COLLECTD_BATTERY + bool "battery" + help + Collects the battery's charge, the drawn current and voltage. + +config BR2_PACKAGE_COLLECTD_BIND + bool "bind" + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBXML2 + help + Collects BIND DNS statistics. + +config BR2_PACKAGE_COLLECTD_BUDDYINFO + bool "buddyinfo" + help + Statistics from buddyinfo file about memory fragmentation. + +config BR2_PACKAGE_COLLECTD_CAPABILITIES + bool "capabilities" + depends on BR2_aarch64 || BR2_i386 || BR2_x86_64 # dmidecode + select BR2_PACKAGE_DMIDECODE # runtime + select BR2_PACKAGE_JANSSON + select BR2_PACKAGE_LIBMICROHTTPD + help + Collects selected static platform data using dmidecode and + expose it through micro embedded webserver. + +config BR2_PACKAGE_COLLECTD_CEPH + bool "ceph" + select BR2_PACKAGE_YAJL + help + Statistics from the Ceph distributed storage system. + +config BR2_PACKAGE_COLLECTD_CHRONY + bool "chrony" + help + Collects NTP data from the chrony NTP server. + +config BR2_PACKAGE_COLLECTD_CGROUPS + bool "cgroups" + help + Collects CGroups CPU usage accounting. + +config BR2_PACKAGE_COLLECTD_CONNTRACK + bool "conntrack" + help + Collects the number of entries in Linux's connection tracking + table. + +config BR2_PACKAGE_COLLECTD_CONTEXTSWITCH + bool "contextswitch" + help + Collects the number of context switches done by the operating + system. + +config BR2_PACKAGE_COLLECTD_CPU + bool "cpu" + help + Collects the amount of time spent by the CPU in various + states. + +config BR2_PACKAGE_COLLECTD_CPUFREQ + bool "cpufreq" + help + Collects the current CPU's frequency. + +config BR2_PACKAGE_COLLECTD_CPUSLEEP + bool "cpusleep" + help + Measures time spent by CPU in deep sleep mode. + +config BR2_PACKAGE_COLLECTD_CURL + bool "curl" + select BR2_PACKAGE_LIBCURL + help + Uses libcurl to read files and then parses them according + to the configuration. + +config BR2_PACKAGE_COLLECTD_CURL_JSON + bool "curl-json" + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_YAJL + help + Queries JSON data using the cURL library and parses it + according to the user's configuration using YAJL. + +config BR2_PACKAGE_COLLECTD_CURL_XML + bool "curl-xml" + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBXML2 + help + Reads files using libcurl and parses it as XML. + +config BR2_PACKAGE_COLLECTD_DBI + bool "dbi" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBDBI + help + Executes SQL statements on various databases and + interprets the returned data. + +comment "dbi support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_COLLECTD_DF + bool "df" + help + Collects file system usage information. + +config BR2_PACKAGE_COLLECTD_DISK + bool "disk" + help + Collects performance statistics of hard-disks and partitions. + +config BR2_PACKAGE_COLLECTD_DNS + bool "dns" + select BR2_PACKAGE_LIBPCAP + help + Collects statistics of DNS traffic using libpcap. + +config BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY + bool "dpdk_telemetry" + select BR2_PACKAGE_JANSSON + help + Collects DPDK ethernet device metrics via dpdk_telemetry + library. + +config BR2_PACKAGE_COLLECTD_DRBD + bool "drbd" + help + Collect individual drbd resource statistics. + +config BR2_PACKAGE_COLLECTD_ENTROPY + bool "entropy" + help + Collects the available entropy on a system. + +config BR2_PACKAGE_COLLECTD_ETHSTAT + bool "ethstat" + help + Collects network interface card statistics. + +config BR2_PACKAGE_COLLECTD_EXEC + bool "exec" + help + Executes scripts and reads values back that are printed + to STDOUT by that program. + +config BR2_PACKAGE_COLLECTD_FHCOUNT + bool "fhcount" + help + File handles statistics. + +config BR2_PACKAGE_COLLECTD_FILECOUNT + bool "filecount" + help + Counts the number of files in a directory and all its + subdirectories. + +config BR2_PACKAGE_COLLECTD_FSCACHE + bool "fscache" + help + Collects information about the file-system based caching + infrastructure for network file-systems and other slow media. + +config BR2_PACKAGE_COLLECTD_GPS + bool "gps" + select BR2_PACKAGE_GPSD + help + Reports the number of sattelites seen by and precision + of a GPS receiver. + +config BR2_PACKAGE_COLLECTD_HUGEPAGES + bool "hugepages" + help + Reports the number of used and free hugepages on Linux. + +config BR2_PACKAGE_COLLECTD_INFINIBAND + bool "infiniband" + help + Attributes and counters for each port on each IB device. + +config BR2_PACKAGE_COLLECTD_INTERFACE + bool "interface" + help + Collects information about the traffic of network interfaces. + +config BR2_PACKAGE_COLLECTD_IPC + bool "ipc" + help + IPC counters: semaphores used, number of allocated segments + in shared memory and more. + +config BR2_PACKAGE_COLLECTD_IPMI + bool "ipmi" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_PACKAGE_OPENIPMI + help + Read hardware sensors from servers using the Intelligent + Platform Management Interface (IPMI). + +comment "ipmi needs a toolchain w/ NPTL" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL + +config BR2_PACKAGE_COLLECTD_IPTABLES + bool "iptables" + select BR2_PACKAGE_IPTABLES + help + Gather statistics from iptables packet filter. + +config BR2_PACKAGE_COLLECTD_IPVS + bool "ipvs" + help + Extracts statistics from IP Virtual Server (IPVS), the + transport-layer load-balancer of the LVS project. + It stores traffic and connections history for each of the + Real Servers (RS) behind a local Virtual Server (VS). + Collectd must be run on Directors (in LVS jargon). + +config BR2_PACKAGE_COLLECTD_IRQ + bool "irq" + help + Collects the number of interrupts. + +config BR2_PACKAGE_COLLECTD_LOAD + bool "load" + help + Collects the system load. + +config BR2_PACKAGE_COLLECTD_LOGPARSER + bool "logparser" + help + Plugin for filtering and parsing log messages. + +config BR2_PACKAGE_COLLECTD_MD + bool "md" + help + Collects software-RAID device information. + +config BR2_PACKAGE_COLLECTD_MDEVENTS + bool "mdevents" + help + Events from md (Linux Software RAID) devices. + +config BR2_PACKAGE_COLLECTD_MEMCACHEC + bool "memcachec" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBMEMCACHED + help + Query and parse data from a memcache daemon. + +comment "memcachec needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_COLLECTD_MEMCACHED + bool "memcached" + help + Collects statistics from a memcached daemon. + +config BR2_PACKAGE_COLLECTD_MEMORY + bool "memory" + help + Collects physical memory utilization. + +config BR2_PACKAGE_COLLECTD_MODBUS + bool "modbus" + select BR2_PACKAGE_LIBMODBUS + help + Reads register values from a modbus "slave" via Modbus/TCP. + +config BR2_PACKAGE_COLLECTD_MYSQL + bool "mysql" + depends on BR2_INSTALL_LIBSTDCPP # mysql + depends on BR2_USE_MMU # mysql + depends on BR2_TOOLCHAIN_HAS_THREADS # mysql + select BR2_PACKAGE_MYSQL + help + Connects to a MySQL database and issues a "show status" + command. + +comment "mysql needs a toolchain w/ C++, threads" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_COLLECTD_NETLINK + bool "netlink" + select BR2_PACKAGE_LIBMNL + help + Get statistics for interfaces, qdiscs, classes, and filters. + +config BR2_PACKAGE_COLLECTD_NFS + bool "nfs" + help + Collects information about the usage of the Network File + System. + +config BR2_PACKAGE_COLLECTD_NGINX + bool "nginx" + select BR2_PACKAGE_LIBCURL + help + Collects the number of requests handled by the nginx daemon + since startup and the number of current connections by state. + +config BR2_PACKAGE_COLLECTD_NTPD + bool "ntpd" + help + Queries an NTP server and extracts parameters. + +config BR2_PACKAGE_COLLECTD_NUT + bool "nut" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_NUT + help + The NUT plugin collects uninterruptible power supply (UPS) + statistics using the Network UPS Tools (NUT). + +comment "nut needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_COLLECTD_OLSRD + bool "olsrd" + help + Reads information about meshed networks from olsrd. + +config BR2_PACKAGE_COLLECTD_ONEWIRE + bool "onewire" + select BR2_PACKAGE_OWFS + help + Collects temperature information from sensors connected over + the OneWire bus. + +config BR2_PACKAGE_COLLECTD_OPENLDAP + bool "openldap" + depends on BR2_USE_WCHAR + select BR2_PACKAGE_OPENLDAP + help + Read monitoring information from OpenLDAP's cn=Monitor + subtree. + +comment "openldap support needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR + +config BR2_PACKAGE_COLLECTD_OPENVPN + bool "openvpn" + help + Reads the status file of OpenVPN to collect statistics. + +config BR2_PACKAGE_COLLECTD_PING + bool "ping" + select BR2_PACKAGE_LIBOPING + help + Mesures network latency using ICMP "echo requests". + +config BR2_PACKAGE_COLLECTD_POSTGRESQL + bool "postgresql" + depends on BR2_USE_WCHAR # postgresql + select BR2_PACKAGE_POSTGRESQL + help + Connects to and executes SQL statements on a PostgreSQL + database. It then reads back the results and, depending on the + configuration, the returned values are then converted into + collectd 'value lists'. + +comment "postgresql support needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR + +config BR2_PACKAGE_COLLECTD_PROCESSES + bool "processes" + help + Collects the number of processes gruped by state. + +config BR2_PACKAGE_COLLECTD_PROTOCOLS + bool "protocols" + help + Collects information about the network protocols. + +config BR2_PACKAGE_COLLECTD_REDIS + bool "redis" + select BR2_PACKAGE_HIREDIS + help + Connects to one or more instances of Redis. + +config BR2_PACKAGE_COLLECTD_SENSORS + bool "sensors" + select BR2_PACKAGE_LM_SENSORS + help + Collects data from lm-sensors. + +config BR2_PACKAGE_COLLECTD_SERIAL + bool "serial" + help + Collects the traffic on serial interfaces. + +config BR2_PACKAGE_COLLECTD_SMART + bool "SMART" + depends on BR2_PACKAGE_HAS_UDEV # libatasmart + select BR2_PACKAGE_LIBATASMART + help + Collect SMART statistics, notably load cycle count, + temperature and bad sectors. + +comment "SMART requires udev to be enabled" + depends on !BR2_PACKAGE_HAS_UDEV + +config BR2_PACKAGE_COLLECTD_STATSD + bool "StatsD" + help + StatsD network protocol to allow clients to report "events". + +config BR2_PACKAGE_COLLECTD_SNMP + bool "snmp" + select BR2_PACKAGE_NETSNMP + help + Reads values from SNMP devices. + +config BR2_PACKAGE_COLLECTD_SWAP + bool "swap" + help + Collects the amount of memory currently written to disk. + +config BR2_PACKAGE_COLLECTD_SYNPROXY + bool "synproxy" + help + Synproxy stats plugin. + +config BR2_PACKAGE_COLLECTD_TABLE + bool "table" + help + Parses table-like structured plain-text files. + +config BR2_PACKAGE_COLLECTD_TAIL + bool "tail" + help + Tails log files and each line is given to one or more matches + which test if the line is relevant for any statistics. + +config BR2_PACKAGE_COLLECTD_TAIL_CSV + bool "tail csv" + help + Follows (tails) files in CSV format, parses each line and + submits extracted values. + +config BR2_PACKAGE_COLLECTD_TCPCONNS + bool "tcpconns" + help + Counts the number of TCP connections to/from a specified port. + +config BR2_PACKAGE_COLLECTD_THERMAL + bool "thermal" + help + Reads ACPI thermal zone information. + +config BR2_PACKAGE_COLLECTD_UBI + bool "ubi" + help + UBI (Unsorted Block Images) is an erase block management layer + for flash memory devices. UBI serves two purposes, tracking + NAND flash bad blocks and providing wear leveling. + This plugin collects some stats about UBI devices: + * bad physical underlying blocks (bad_peb_count) + * max erase counter value (max_ec) + +config BR2_PACKAGE_COLLECTD_UPTIME + bool "uptime" + help + Keeps track of the system uptime. + +config BR2_PACKAGE_COLLECTD_USERS + bool "users" + help + Counts the number of users currently logged in. + +config BR2_PACKAGE_COLLECTD_VIRT + bool "virt" + depends on BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS # libvirt + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # libvirt + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64 # libvirt + depends on BR2_PACKAGE_HAS_UDEV # libvirt + depends on BR2_USE_WCHAR # libvirt + select BR2_PACKAGE_LIBVIRT + select BR2_PACKAGE_LIBXML2 + help + Gather statistics about virtualized guests on a system. + +comment "virt needs udev /dev management, a toolchain w/ wchar, kernel headers >= 3.12 (4.11 for AArch64)" + depends on BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS + depends on !BR2_PACKAGE_HAS_UDEV || !BR2_USE_WCHAR || \ + !(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 && \ + (BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64)) + +config BR2_PACKAGE_COLLECTD_VMEM + bool "vmem" + help + Collects information about the virtual memory subsystem. + +config BR2_PACKAGE_COLLECTD_WIRELESS + bool "wireless" + help + Collects signal quality, power and noise ratio for WLAN cards. + +config BR2_PACKAGE_COLLECTD_ZOOKEEPER + bool "zookeeper" + help + Read data from Zookeeper's MNTR command. + +endmenu + +menu "target plugins" + +config BR2_PACKAGE_COLLECTD_NOTIFICATION + bool "notification" + help + Create and dispatch a notification. + +config BR2_PACKAGE_COLLECTD_REPLACE + bool "replace" + help + Replace parts of an identifier using regular expressions. + +config BR2_PACKAGE_COLLECTD_SCALE + bool "scale" + help + Scale (multiply) values by an arbitrary number. + +config BR2_PACKAGE_COLLECTD_SET + bool "set" + help + Set (overwrite) entire parts of an identifier. + +endmenu + +menu "write plugins" + +comment "Select at least one for collectd to be useful" + +config BR2_PACKAGE_COLLECTD_AMQP + bool "amqp" + select BR2_PACKAGE_OPENSSL # needs rabbitmq-c with ssl support + select BR2_PACKAGE_RABBITMQ_C + help + Send/receive values via the Advanced Message Queuing Protocol + (AMQP). + +config BR2_PACKAGE_COLLECTD_CSV + bool "csv" + help + Writes values to a plain-text file in Comma Separated Values + format. + +config BR2_PACKAGE_COLLECTD_GRAPHITE + bool "graphite" + help + Writes data collected to Carbon (Graphite's) storage API. + http://graphite.wikidot.com/start + +config BR2_PACKAGE_COLLECTD_GRPC + bool "grpc" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC # grpc + depends on BR2_INSTALL_LIBSTDCPP # grpc -> protobuf + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # grpc -> protobuf + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # grpc -> libabseil-cpp + depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # grpc + select BR2_PACKAGE_GRPC + help + Send/receive values using the gRPC protocol. + +comment "grpc needs a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ + || !BR2_HOST_GCC_AT_LEAST_4_9 + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS # grpc + +config BR2_PACKAGE_COLLECTD_MQTT + bool "mqtt" + select BR2_PACKAGE_MOSQUITTO + help + Sends metrics to and/or receives metrics from an MQTT broker. + +config BR2_PACKAGE_COLLECTD_NETWORK + bool "network" + help + Send/receive values from other instances of collectd. + +config BR2_PACKAGE_COLLECTD_NETWORK_GCRYPT + bool "crypto support" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt + depends on BR2_PACKAGE_COLLECTD_NETWORK + select BR2_PACKAGE_LIBGCRYPT + help + Enable crypto support + +config BR2_PACKAGE_COLLECTD_RRDTOOL + bool "rrdtool" + depends on BR2_USE_WCHAR # rrdtool + select BR2_PACKAGE_RRDTOOL + help + Writes values to RRD-files. + +comment "rrdtool support needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR + +config BR2_PACKAGE_COLLECTD_RIEMANN + bool "riemann" + # riemann-c-client -> protobuf-c + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + select BR2_PACKAGE_RIEMANN_C_CLIENT + select BR2_PACKAGE_LIBTOOL + help + Sends data to Riemann, a stream processing and monitoring + system. + +config BR2_PACKAGE_COLLECTD_UNIXSOCK + bool "unixsock" + help + Opens a UNIX domain socket and accepts connections. + One can send commands to the daemon and receive information. + +config BR2_PACKAGE_COLLECTD_WRITEHTTP + bool "write_http" + select BR2_PACKAGE_LIBCURL + help + Sends values collected to a web-server using HTTP POST and + PUTVAL. + +config BR2_PACKAGE_COLLECTD_WRITEINFLUXDBUDP + bool "write_influxdb_udp" + help + Sends data to an instance of InfluxDB using the "Line + Protocol". + +config BR2_PACKAGE_COLLECTD_WRITELOG + bool "write_log" + help + Writes data to the log. + +config BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS + bool "write_prometheus" + depends on BR2_INSTALL_LIBSTDCPP # protobuf-c + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + select BR2_PACKAGE_LIBMICROHTTPD + select BR2_PACKAGE_PROTOBUF_C + help + Publishes values using an embedded HTTP server, in a format + compatible with Prometheus' collectd_exporter. + +comment "write_prometheus needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + +config BR2_PACKAGE_COLLECTD_WRITEREDIS + bool "write_redis" + select BR2_PACKAGE_HIREDIS + help + Sends data to Redis. + +config BR2_PACKAGE_COLLECTD_WRITESENSU + bool "write_sensu" + help + Sends data to Sensu, a stream processing and monitoring + system, via the Sensu client local TCP socket. + +config BR2_PACKAGE_COLLECTD_WRITETSDB + bool "write_tsdb" + help + Sends data OpenTSDB, a scalable no master, no shared state + time series database. + +endmenu + +endif + +comment "collectd needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/collectd/S90collectd b/buildroot-2022.02.1/package/collectd/S90collectd similarity index 100% rename from buildroot-2021.05/package/collectd/S90collectd rename to buildroot-2022.02.1/package/collectd/S90collectd diff --git a/buildroot-2021.05/package/collectd/collectd.hash b/buildroot-2022.02.1/package/collectd/collectd.hash similarity index 100% rename from buildroot-2021.05/package/collectd/collectd.hash rename to buildroot-2022.02.1/package/collectd/collectd.hash diff --git a/buildroot-2022.02.1/package/collectd/collectd.mk b/buildroot-2022.02.1/package/collectd/collectd.mk new file mode 100644 index 00000000..57517570 --- /dev/null +++ b/buildroot-2022.02.1/package/collectd/collectd.mk @@ -0,0 +1,260 @@ +################################################################################ +# +# collectd +# +################################################################################ + +COLLECTD_VERSION = 5.12.0 +COLLECTD_SITE = \ + https://github.com/collectd/collectd/releases/download/collectd-$(COLLECTD_VERSION) +COLLECTD_SOURCE = collectd-$(COLLECTD_VERSION).tar.bz2 +COLLECTD_CONF_ENV = ac_cv_lib_yajl_yajl_alloc=yes +COLLECTD_INSTALL_STAGING = YES +COLLECTD_LICENSE = MIT (daemon, plugins), GPL-2.0 (plugins), LGPL-2.1 (plugins) +COLLECTD_LICENSE_FILES = COPYING +COLLECTD_CPE_ID_VENDOR = collectd +COLLECTD_SELINUX_MODULES = apache collectd + +# These require unmet dependencies, are fringe, pointless or deprecated +COLLECTD_PLUGINS_DISABLE = \ + apple_sensors aquaero ascent barometer dpdkstat email \ + gmond hddtemp intel_rdt java lpar \ + madwifi mbmon mic multimeter netapp notify_desktop numa \ + oracle perl pf pinba powerdns python routeros \ + rrdcached sigrok tape target_v5upgrade teamspeak2 ted \ + tokyotyrant turbostat uuid varnish vserver write_kafka \ + write_mongodb xencpu xmms zfs_arc zone + +COLLECTD_CONF_ENV += LIBS="-lm" + +# +# NOTE: There's also a third availible setting "intswap", which might +# be needed on some old ARM hardware (see [2]), but is not being +# accounted for as per discussion [1] +# +# [1] http://lists.busybox.net/pipermail/buildroot/2017-November/206100.html +# [2] http://lists.busybox.net/pipermail/buildroot/2017-November/206251.html +# +ifeq ($(BR2_ENDIAN),"BIG") +COLLECTD_FP_LAYOUT=endianflip +else +COLLECTD_FP_LAYOUT=nothing +endif + +COLLECTD_CONF_OPTS += \ + --with-nan-emulation \ + --with-fp-layout=$(COLLECTD_FP_LAYOUT) \ + --with-perl-bindings=no \ + --disable-werror \ + $(foreach p, $(COLLECTD_PLUGINS_DISABLE), --disable-$(p)) \ + $(if $(BR2_PACKAGE_COLLECTD_AGGREGATION),--enable-aggregation,--disable-aggregation) \ + $(if $(BR2_PACKAGE_COLLECTD_AMQP),--enable-amqp,--disable-amqp) \ + $(if $(BR2_PACKAGE_COLLECTD_APACHE),--enable-apache,--disable-apache) \ + $(if $(BR2_PACKAGE_COLLECTD_APCUPS),--enable-apcups,--disable-apcups) \ + $(if $(BR2_PACKAGE_COLLECTD_BATTERY),--enable-battery,--disable-battery) \ + $(if $(BR2_PACKAGE_COLLECTD_BIND),--enable-bind,--disable-bind) \ + $(if $(BR2_PACKAGE_COLLECTD_BUDDYINFO),--enable-buddyinfo,--disable-buddyinfo) \ + $(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),--enable-capabilities,--disable-capabilities) \ + $(if $(BR2_PACKAGE_COLLECTD_CEPH),--enable-ceph,--disable-ceph) \ + $(if $(BR2_PACKAGE_COLLECTD_CHRONY),--enable-chrony,--disable-chrony) \ + $(if $(BR2_PACKAGE_COLLECTD_CGROUPS),--enable-cgroups,--disable-cgroups) \ + $(if $(BR2_PACKAGE_COLLECTD_CONNTRACK),--enable-conntrack,--disable-conntrack) \ + $(if $(BR2_PACKAGE_COLLECTD_CONTEXTSWITCH),--enable-contextswitch,--disable-contextswitch) \ + $(if $(BR2_PACKAGE_COLLECTD_CPU),--enable-cpu,--disable-cpu) \ + $(if $(BR2_PACKAGE_COLLECTD_CPUFREQ),--enable-cpufreq,--disable-cpufreq) \ + $(if $(BR2_PACKAGE_COLLECTD_CPUSLEEP),--enable-cpusleep,--disable-cpusleep) \ + $(if $(BR2_PACKAGE_COLLECTD_CSV),--enable-csv,--disable-csv) \ + $(if $(BR2_PACKAGE_COLLECTD_CURL),--enable-curl,--disable-curl) \ + $(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),--enable-curl_json,--disable-curl_json) \ + $(if $(BR2_PACKAGE_COLLECTD_CURL_XML),--enable-curl_xml,--disable-curl_xml) \ + $(if $(BR2_PACKAGE_COLLECTD_DBI),--enable-dbi,--disable-dbi) \ + $(if $(BR2_PACKAGE_COLLECTD_DF),--enable-df,--disable-df) \ + $(if $(BR2_PACKAGE_COLLECTD_DISK),--enable-disk,--disable-disk) \ + $(if $(BR2_PACKAGE_COLLECTD_DNS),--enable-dns,--disable-dns) \ + $(if $(BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY),--enable-dpdk_telemetry,--disable-dpdk_telemetry) \ + $(if $(BR2_PACKAGE_COLLECTD_DRBD),--enable-drbd,--disable-drbd) \ + $(if $(BR2_PACKAGE_COLLECTD_EMPTY_COUNTER),--enable-match_empty_counter,--disable-match_empty_counter) \ + $(if $(BR2_PACKAGE_COLLECTD_ENTROPY),--enable-entropy,--disable-entropy) \ + $(if $(BR2_PACKAGE_COLLECTD_ETHSTAT),--enable-ethstat,--disable-ethstat) \ + $(if $(BR2_PACKAGE_COLLECTD_EXEC),--enable-exec,--disable-exec) \ + $(if $(BR2_PACKAGE_COLLECTD_FHCOUNT),--enable-fhcount,--disable-fhcount) \ + $(if $(BR2_PACKAGE_COLLECTD_FILECOUNT),--enable-filecount,--disable-filecount) \ + $(if $(BR2_PACKAGE_COLLECTD_FSCACHE),--enable-fscache,--disable-fscache) \ + $(if $(BR2_PACKAGE_COLLECTD_GPS),--enable-gps,--disable-gps) \ + $(if $(BR2_PACKAGE_COLLECTD_GRAPHITE),--enable-write_graphite,--disable-write_graphite) \ + $(if $(BR2_PACKAGE_COLLECTD_GRPC),--enable-grpc,--disable-grpc) \ + $(if $(BR2_PACKAGE_COLLECTD_HASHED),--enable-match_hashed,--disable-match_hashed) \ + $(if $(BR2_PACKAGE_COLLECTD_HUGEPAGES),--enable-hugepages,--disable-hugepages) \ + $(if $(BR2_PACKAGE_COLLECTD_INFINIBAND),--enable-infiniband,--disable-infiniband) \ + $(if $(BR2_PACKAGE_COLLECTD_INTERFACE),--enable-interface,--disable-interface) \ + $(if $(BR2_PACKAGE_COLLECTD_IPC),--enable-ipc,--disable-ipc) \ + $(if $(BR2_PACKAGE_COLLECTD_IPMI),--enable-ipmi,--disable-ipmi) \ + $(if $(BR2_PACKAGE_COLLECTD_IPTABLES),--enable-iptables,--disable-iptables) \ + $(if $(BR2_PACKAGE_COLLECTD_IPVS),--enable-ipvs,--disable-ipvs) \ + $(if $(BR2_PACKAGE_COLLECTD_IRQ),--enable-irq,--disable-irq) \ + $(if $(BR2_PACKAGE_COLLECTD_LOAD),--enable-load,--disable-load) \ + $(if $(BR2_PACKAGE_COLLECTD_LOGFILE),--enable-logfile,--disable-logfile) \ + $(if $(BR2_PACKAGE_COLLECTD_LOGPARSER),--enable-logparser,--disable-logparser) \ + $(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),--enable-log_logstash,--disable-log_logstash) \ + $(if $(BR2_PACKAGE_COLLECTD_LUA),--enable-lua,--disable-lua) \ + $(if $(BR2_PACKAGE_COLLECTD_MD),--enable-md,--disable-md) \ + $(if $(BR2_PACKAGE_COLLECTD_MDEVENTS),--enable-mdevents,--disable-mdevents) \ + $(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),--enable-memcachec,--disable-memcachec) \ + $(if $(BR2_PACKAGE_COLLECTD_MEMCACHED),--enable-memcached,--disable-memcached) \ + $(if $(BR2_PACKAGE_COLLECTD_MEMORY),--enable-memory,--disable-memory) \ + $(if $(BR2_PACKAGE_COLLECTD_MODBUS),--enable-modbus,--disable-modbus) \ + $(if $(BR2_PACKAGE_COLLECTD_MQTT),--enable-mqtt,--disable-mqtt) \ + $(if $(BR2_PACKAGE_COLLECTD_MYSQL),--enable-mysql,--disable-mysql) \ + $(if $(BR2_PACKAGE_COLLECTD_NETLINK),--enable-netlink,--disable-netlink) \ + $(if $(BR2_PACKAGE_COLLECTD_NETWORK),--enable-network,--disable-network) \ + $(if $(BR2_PACKAGE_COLLECTD_NFS),--enable-nfs,--disable-nfs) \ + $(if $(BR2_PACKAGE_COLLECTD_NGINX),--enable-nginx,--disable-nginx) \ + $(if $(BR2_PACKAGE_COLLECTD_NOTIFICATION),--enable-target_notification,--disable-target_notification) \ + $(if $(BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL),--enable-notify_email,--disable-notify_email) \ + $(if $(BR2_PACKAGE_COLLECTD_NOTIFY_NAGIOS),--enable-notify_nagios,--disable-notify_nagios) \ + $(if $(BR2_PACKAGE_COLLECTD_NTPD),--enable-ntpd,--disable-ntpd) \ + $(if $(BR2_PACKAGE_COLLECTD_NUT),--enable-nut,--disable-nut) \ + $(if $(BR2_PACKAGE_COLLECTD_OLSRD),--enable-olsrd,--disable-olsrd) \ + $(if $(BR2_PACKAGE_COLLECTD_ONEWIRE),--enable-onewire,--disable-onewire) \ + $(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),--enable-openldap,--disable-openldap) \ + $(if $(BR2_PACKAGE_COLLECTD_OPENVPN),--enable-openvpn,--disable-openvpn) \ + $(if $(BR2_PACKAGE_COLLECTD_PING),--enable-ping,--disable-ping) \ + $(if $(BR2_PACKAGE_COLLECTD_POSTGRESQL),--enable-postgresql,--disable-postgresql) \ + $(if $(BR2_PACKAGE_COLLECTD_PROCESSES),--enable-processes,--disable-processes) \ + $(if $(BR2_PACKAGE_COLLECTD_PROTOCOLS),--enable-protocols,--disable-protocols) \ + $(if $(BR2_PACKAGE_COLLECTD_REDIS),--enable-redis,--disable-redis) \ + $(if $(BR2_PACKAGE_COLLECTD_REGEX),--enable-match_regex,--disable-match-regex) \ + $(if $(BR2_PACKAGE_COLLECTD_REPLACE),--enable-target_replace,--disable-target_replace) \ + $(if $(BR2_PACKAGE_COLLECTD_RIEMANN),--enable-write_riemann,--disable-write_riemann) \ + $(if $(BR2_PACKAGE_COLLECTD_RRDTOOL),--enable-rrdtool,--disable-rrdtool) \ + $(if $(BR2_PACKAGE_COLLECTD_SCALE),--enable-target_scale,--disable-target_scale) \ + $(if $(BR2_PACKAGE_COLLECTD_SENSORS),--enable-sensors,--disable-sensors) \ + $(if $(BR2_PACKAGE_COLLECTD_SERIAL),--enable-serial,--disable-serial) \ + $(if $(BR2_PACKAGE_COLLECTD_STATSD),--enable-statsd,--disable-statsd) \ + $(if $(BR2_PACKAGE_COLLECTD_SET),--enable-target_set,--disable-target_set) \ + $(if $(BR2_PACKAGE_COLLECTD_SMART),--enable-smart,--disable-smart) \ + $(if $(BR2_PACKAGE_COLLECTD_SNMP),--enable-snmp,--disable-snmp) \ + $(if $(BR2_PACKAGE_COLLECTD_SWAP),--enable-swap,--disable-swap) \ + $(if $(BR2_PACKAGE_COLLECTD_SYNPROXY),--enable-synproxy,--disable-synproxy) \ + $(if $(BR2_PACKAGE_COLLECTD_SYSLOG),--enable-syslog,--disable-syslog) \ + $(if $(BR2_PACKAGE_COLLECTD_TABLE),--enable-table,--disable-table) \ + $(if $(BR2_PACKAGE_COLLECTD_TAIL),--enable-tail,--disable-tail) \ + $(if $(BR2_PACKAGE_COLLECTD_TAIL_CSV),--enable-tail_csv,--disable-tail_csv) \ + $(if $(BR2_PACKAGE_COLLECTD_TCPCONNS),--enable-tcpconns,--disable-tcpconns) \ + $(if $(BR2_PACKAGE_COLLECTD_THERMAL),--enable-thermal,--disable-thermal) \ + $(if $(BR2_PACKAGE_COLLECTD_THRESHOLD),--enable-threshold,--disable-threshold) \ + $(if $(BR2_PACKAGE_COLLECTD_TIMEDIFF),--enable-match_timediff,--disable-match_timediff) \ + $(if $(BR2_PACKAGE_COLLECTD_UBI),--enable-ubi,--disable-ubi) \ + $(if $(BR2_PACKAGE_COLLECTD_UNIXSOCK),--enable-unixsock,--disable-unixsock) \ + $(if $(BR2_PACKAGE_COLLECTD_UPTIME),--enable-uptime,--disable-uptime) \ + $(if $(BR2_PACKAGE_COLLECTD_USERS),--enable-users,--disable-users) \ + $(if $(BR2_PACKAGE_COLLECTD_VALUE),--enable-match_value,--disable-match_value) \ + $(if $(BR2_PACKAGE_COLLECTD_VIRT),--enable-virt,--disable-virt) \ + $(if $(BR2_PACKAGE_COLLECTD_VMEM),--enable-vmem,--disable-vmem) \ + $(if $(BR2_PACKAGE_COLLECTD_WIRELESS),--enable-wireless,--disable-wireless) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),--enable-write_http,--disable-write_http) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITEINFLUXDBUDP),--enable-write_influxdb_udp,--disable-write_influxdb_udp) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITELOG),--enable-write_log,--disable-write_log) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS),--enable-write_prometheus,--disable-write_prometheus) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITEREDIS),--enable-write_redis,--disable-write_redis) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITESENSU),--enable-write_sensu,--disable-write_sensu) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITETSDB),--enable-write_tsdb,--disable-write_tsdb) \ + $(if $(BR2_PACKAGE_COLLECTD_ZOOKEEPER),--enable-zookeeper,--disable-zookeeper) + +COLLECTD_DEPENDENCIES = \ + host-pkgconf \ + $(if $(BR2_PACKAGE_COLLECTD_AMQP),rabbitmq-c) \ + $(if $(BR2_PACKAGE_COLLECTD_APACHE),libcurl) \ + $(if $(BR2_PACKAGE_COLLECTD_BIND),libcurl libxml2) \ + $(if $(BR2_PACKAGE_COLLECTD_CAPABILITIES),jansson libmicrohttpd) \ + $(if $(BR2_PACKAGE_COLLECTD_CEPH),yajl) \ + $(if $(BR2_PACKAGE_COLLECTD_CURL),libcurl) \ + $(if $(BR2_PACKAGE_COLLECTD_CURL_JSON),libcurl yajl) \ + $(if $(BR2_PACKAGE_COLLECTD_CURL_XML),libcurl libxml2) \ + $(if $(BR2_PACKAGE_COLLECTD_DBI),libdbi) \ + $(if $(BR2_PACKAGE_COLLECTD_DNS),libpcap) \ + $(if $(BR2_PACKAGE_COLLECTD_DPDK_TELEMETRY),jansson) \ + $(if $(BR2_PACKAGE_COLLECTD_GPS),gpsd) \ + $(if $(BR2_PACKAGE_COLLECTD_GRPC),grpc) \ + $(if $(BR2_PACKAGE_COLLECTD_IPMI),openipmi) \ + $(if $(BR2_PACKAGE_COLLECTD_IPTABLES),iptables) \ + $(if $(BR2_PACKAGE_COLLECTD_LOGSTASH),yajl) \ + $(if $(BR2_PACKAGE_COLLECTD_LUA),luainterpreter) \ + $(if $(BR2_PACKAGE_COLLECTD_MEMCACHEC),libmemcached) \ + $(if $(BR2_PACKAGE_COLLECTD_MODBUS),libmodbus) \ + $(if $(BR2_PACKAGE_COLLECTD_MQTT),mosquitto) \ + $(if $(BR2_PACKAGE_COLLECTD_MYSQL),mysql) \ + $(if $(BR2_PACKAGE_COLLECTD_NETLINK),libmnl) \ + $(if $(BR2_PACKAGE_COLLECTD_NGINX),libcurl) \ + $(if $(BR2_PACKAGE_COLLECTD_NOTIFY_EMAIL),libesmtp) \ + $(if $(BR2_PACKAGE_COLLECTD_NUT),nut) \ + $(if $(BR2_PACKAGE_COLLECTD_ONEWIRE),owfs) \ + $(if $(BR2_PACKAGE_COLLECTD_OPENLDAP),openldap) \ + $(if $(BR2_PACKAGE_COLLECTD_PING),liboping) \ + $(if $(BR2_PACKAGE_COLLECTD_POSTGRESQL),postgresql) \ + $(if $(BR2_PACKAGE_COLLECTD_REDIS),hiredis) \ + $(if $(BR2_PACKAGE_COLLECTD_RIEMANN),libtool riemann-c-client) \ + $(if $(BR2_PACKAGE_COLLECTD_RRDTOOL),rrdtool) \ + $(if $(BR2_PACKAGE_COLLECTD_SENSORS),lm-sensors) \ + $(if $(BR2_PACKAGE_COLLECTD_SMART),libatasmart) \ + $(if $(BR2_PACKAGE_COLLECTD_SNMP),netsnmp) \ + $(if $(BR2_PACKAGE_COLLECTD_VIRT),libvirt libxml2) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITEHTTP),libcurl) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITEPROMETHEUS),libmicrohttpd protobuf-c) \ + $(if $(BR2_PACKAGE_COLLECTD_WRITEREDIS),hiredis) + +# include/library fixups +ifeq ($(BR2_PACKAGE_JANSSON),y) +COLLECTD_CONF_OPTS += --with-libjansson=$(STAGING_DIR)/usr +endif +ifeq ($(BR2_PACKAGE_LIBCURL),y) +COLLECTD_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr +endif +ifeq ($(BR2_PACKAGE_LUAJIT),y) +COLLECTD_CONF_ENV += LIBLUA_PKG_CONFIG_NAME=luajit +endif +ifeq ($(BR2_PACKAGE_MYSQL),y) +COLLECTD_CONF_OPTS += --with-libmysql=$(STAGING_DIR)/usr +endif +ifeq ($(BR2_PACKAGE_NETSNMP),y) +COLLECTD_CONF_OPTS += --with-libnetsnmp=$(STAGING_DIR)/usr +endif +ifeq ($(BR2_PACKAGE_POSTGRESQL),y) +COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config +COLLECTD_CONF_ENV += LIBS="-lpthread -lm" +endif +ifeq ($(BR2_PACKAGE_YAJL),y) +COLLECTD_CONF_OPTS += --with-libyajl=$(STAGING_DIR)/usr +endif + +# network can use libgcrypt +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +COLLECTD_DEPENDENCIES += libgcrypt +COLLECTD_CONF_OPTS += --with-libgcrypt=$(STAGING_DIR)/usr/bin/libgcrypt-config +else +COLLECTD_CONF_OPTS += --with-libgcrypt=no +endif + +define COLLECTD_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install + rm -f $(TARGET_DIR)/usr/bin/collectd-nagios +endef + +ifeq ($(BR2_PACKAGE_COLLECTD_POSTGRESQL),) +define COLLECTD_REMOVE_UNNEEDED_POSTGRESQL_DEFAULT_CONF + rm -f $(TARGET_DIR)/usr/share/collectd/postgresql_default.conf +endef +COLLECTD_POST_INSTALL_TARGET_HOOKS += COLLECTD_REMOVE_UNNEEDED_POSTGRESQL_DEFAULT_CONF +endif + +define COLLECTD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/collectd/collectd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/collectd.service +endef + +define COLLECTD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/collectd/S90collectd \ + $(TARGET_DIR)/etc/init.d/S90collectd +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/collectd/collectd.service b/buildroot-2022.02.1/package/collectd/collectd.service similarity index 100% rename from buildroot-2021.05/package/collectd/collectd.service rename to buildroot-2022.02.1/package/collectd/collectd.service diff --git a/buildroot-2021.05/package/collectl/Config.in b/buildroot-2022.02.1/package/collectl/Config.in similarity index 100% rename from buildroot-2021.05/package/collectl/Config.in rename to buildroot-2022.02.1/package/collectl/Config.in diff --git a/buildroot-2022.02.1/package/collectl/collectl.hash b/buildroot-2022.02.1/package/collectl/collectl.hash new file mode 100644 index 00000000..1785d25d --- /dev/null +++ b/buildroot-2022.02.1/package/collectl/collectl.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 9fab4769441c07201748e52c7f8c7b21526ab45a05142dd2b2b1fa5c16c38750 collectl-4.3.2.src.tar.gz +sha256 b92800d37afa2aa03c02817ff3b68efc7236436fe76af06ad9b1fc4682f59bcb ARTISTIC +sha256 264fe27852db5624e6a9a9845b4e14e91ee5007305b33e5556dfade394d578a8 COPYING +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 GPL diff --git a/buildroot-2022.02.1/package/collectl/collectl.mk b/buildroot-2022.02.1/package/collectl/collectl.mk new file mode 100644 index 00000000..c6cb2e14 --- /dev/null +++ b/buildroot-2022.02.1/package/collectl/collectl.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# collectl +# +################################################################################ + +COLLECTL_VERSION = 4.3.2 +COLLECTL_SOURCE = collectl-$(COLLECTL_VERSION).src.tar.gz +COLLECTL_SITE = http://downloads.sourceforge.net/collectl/collectl +COLLECTL_LICENSE = Artistic or GPL-2.0 +COLLECTL_LICENSE_FILES = COPYING ARTISTIC GPL + +define COLLECTL_INSTALL_TARGET_CMDS + (cd $(@D); \ + DESTDIR=$(TARGET_DIR) ./INSTALL) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/comix-cursors/Config.in b/buildroot-2022.02.1/package/comix-cursors/Config.in similarity index 100% rename from buildroot-2021.05/package/comix-cursors/Config.in rename to buildroot-2022.02.1/package/comix-cursors/Config.in diff --git a/buildroot-2021.05/package/comix-cursors/comix-cursors.hash b/buildroot-2022.02.1/package/comix-cursors/comix-cursors.hash similarity index 100% rename from buildroot-2021.05/package/comix-cursors/comix-cursors.hash rename to buildroot-2022.02.1/package/comix-cursors/comix-cursors.hash diff --git a/buildroot-2021.05/package/comix-cursors/comix-cursors.mk b/buildroot-2022.02.1/package/comix-cursors/comix-cursors.mk similarity index 100% rename from buildroot-2021.05/package/comix-cursors/comix-cursors.mk rename to buildroot-2022.02.1/package/comix-cursors/comix-cursors.mk diff --git a/buildroot-2021.05/package/connman-gtk/Config.in b/buildroot-2022.02.1/package/connman-gtk/Config.in similarity index 100% rename from buildroot-2021.05/package/connman-gtk/Config.in rename to buildroot-2022.02.1/package/connman-gtk/Config.in diff --git a/buildroot-2021.05/package/connman-gtk/connman-gtk.hash b/buildroot-2022.02.1/package/connman-gtk/connman-gtk.hash similarity index 100% rename from buildroot-2021.05/package/connman-gtk/connman-gtk.hash rename to buildroot-2022.02.1/package/connman-gtk/connman-gtk.hash diff --git a/buildroot-2021.05/package/connman-gtk/connman-gtk.mk b/buildroot-2022.02.1/package/connman-gtk/connman-gtk.mk similarity index 100% rename from buildroot-2021.05/package/connman-gtk/connman-gtk.mk rename to buildroot-2022.02.1/package/connman-gtk/connman-gtk.mk diff --git a/buildroot-2021.05/package/connman/Config.in b/buildroot-2022.02.1/package/connman/Config.in similarity index 100% rename from buildroot-2021.05/package/connman/Config.in rename to buildroot-2022.02.1/package/connman/Config.in diff --git a/buildroot-2021.05/package/connman/S45connman b/buildroot-2022.02.1/package/connman/S45connman similarity index 100% rename from buildroot-2021.05/package/connman/S45connman rename to buildroot-2022.02.1/package/connman/S45connman diff --git a/buildroot-2022.02.1/package/connman/connman.hash b/buildroot-2022.02.1/package/connman/connman.hash new file mode 100644 index 00000000..6fc5edf2 --- /dev/null +++ b/buildroot-2022.02.1/package/connman/connman.hash @@ -0,0 +1,4 @@ +# From https://www.kernel.org/pub/linux/network/connman/sha256sums.asc +sha256 79fb40f4fdd5530c45aa8e592fb16ba23d3674f3a98cf10b89a6576f198de589 connman-1.41.tar.xz +# Locally computed +sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING diff --git a/buildroot-2022.02.1/package/connman/connman.mk b/buildroot-2022.02.1/package/connman/connman.mk new file mode 100644 index 00000000..1b6fd611 --- /dev/null +++ b/buildroot-2022.02.1/package/connman/connman.mk @@ -0,0 +1,117 @@ +################################################################################ +# +# connman +# +################################################################################ + +CONNMAN_VERSION = 1.41 +CONNMAN_SOURCE = connman-$(CONNMAN_VERSION).tar.xz +CONNMAN_SITE = $(BR2_KERNEL_MIRROR)/linux/network/connman +CONNMAN_DEPENDENCIES = libglib2 dbus +CONNMAN_INSTALL_STAGING = YES +CONNMAN_LICENSE = GPL-2.0 +CONNMAN_LICENSE_FILES = COPYING +CONNMAN_CPE_ID_VENDOR = intel + +CONNMAN_CONF_OPTS = --with-dbusconfdir=/etc + +ifeq ($(BR2_INIT_SYSTEMD),y) +CONNMAN_CONF_OPTS += --with-systemdunitdir=/usr/lib/systemd/system +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_BLUETOOTH),y) +CONNMAN_CONF_OPTS += --enable-bluetooth +else +CONNMAN_CONF_OPTS += --disable-bluetooth +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_DEBUG),y) +CONNMAN_CONF_OPTS += --enable-debug +else +CONNMAN_CONF_OPTS += --disable-debug +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_ETHERNET),y) +CONNMAN_CONF_OPTS += --enable-ethernet +else +CONNMAN_CONF_OPTS += --disable-ethernet +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_IPTABLES),y) +CONNMAN_CONF_OPTS += --with-firewall=iptables +CONNMAN_DEPENDENCIES += iptables +else ifeq ($(BR2_PACKAGE_CONNMAN_NFTABLES),y) +CONNMAN_CONF_OPTS += --with-firewall=nftables +CONNMAN_DEPENDENCIES += libmnl nftables +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_LOOPBACK),y) +CONNMAN_CONF_OPTS += --enable-loopback +else +CONNMAN_CONF_OPTS += --disable-loopback +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_NEARD),y) +CONNMAN_CONF_OPTS += --enable-neard +CONNMAN_DEPENDENCIES += neard +else +CONNMAN_CONF_OPTS += --disable-neard +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_OFONO),y) +CONNMAN_CONF_OPTS += --enable-ofono +CONNMAN_DEPENDENCIES += ofono +else +CONNMAN_CONF_OPTS += --disable-ofono +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_WIFI),y) +CONNMAN_CONF_OPTS += --enable-wifi +else +CONNMAN_CONF_OPTS += --disable-wifi +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_WIREGUARD),y) +CONNMAN_CONF_OPTS += --enable-wireguard +CONNMAN_DEPENDENCIES += libmnl +else +CONNMAN_CONF_OPTS += --disable-wireguard +endif + +ifeq ($(BR2_PACKAGE_CONNMAN_WISPR),y) +CONNMAN_CONF_OPTS += --enable-wispr +CONNMAN_DEPENDENCIES += gnutls +else +CONNMAN_CONF_OPTS += --disable-wispr +endif + +ifeq ($(BR2_PACKAGE_IWD),y) +CONNMAN_CONF_OPTS += --enable-iwd +else +CONNMAN_CONF_OPTS += --disable-iwd +endif + +define CONNMAN_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/connman/S45connman $(TARGET_DIR)/etc/init.d/S45connman +endef + +ifeq ($(BR2_PACKAGE_CONNMAN_CLIENT),y) +CONNMAN_LICENSE += , GPL-2.0+ (client) +CONNMAN_CONF_OPTS += --enable-client +CONNMAN_DEPENDENCIES += readline + +define CONNMAN_INSTALL_CM + $(INSTALL) -m 0755 -D $(@D)/client/connmanctl $(TARGET_DIR)/usr/bin/connmanctl +endef + +CONNMAN_POST_INSTALL_TARGET_HOOKS += CONNMAN_INSTALL_CM +else +CONNMAN_CONF_OPTS += --disable-client +endif + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +CONNMAN_DEPENDENCIES += libexecinfo +CONNMAN_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lexecinfo" +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/conntrack-tools/Config.in b/buildroot-2022.02.1/package/conntrack-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/conntrack-tools/Config.in rename to buildroot-2022.02.1/package/conntrack-tools/Config.in diff --git a/buildroot-2021.05/package/conntrack-tools/conntrack-tools.hash b/buildroot-2022.02.1/package/conntrack-tools/conntrack-tools.hash similarity index 100% rename from buildroot-2021.05/package/conntrack-tools/conntrack-tools.hash rename to buildroot-2022.02.1/package/conntrack-tools/conntrack-tools.hash diff --git a/buildroot-2021.05/package/conntrack-tools/conntrack-tools.mk b/buildroot-2022.02.1/package/conntrack-tools/conntrack-tools.mk similarity index 100% rename from buildroot-2021.05/package/conntrack-tools/conntrack-tools.mk rename to buildroot-2022.02.1/package/conntrack-tools/conntrack-tools.mk diff --git a/buildroot-2021.05/package/containerd/Config.in b/buildroot-2022.02.1/package/containerd/Config.in similarity index 100% rename from buildroot-2021.05/package/containerd/Config.in rename to buildroot-2022.02.1/package/containerd/Config.in diff --git a/buildroot-2022.02.1/package/containerd/containerd.hash b/buildroot-2022.02.1/package/containerd/containerd.hash new file mode 100644 index 00000000..3f5c9865 --- /dev/null +++ b/buildroot-2022.02.1/package/containerd/containerd.hash @@ -0,0 +1,3 @@ +# Computed locally +sha256 02b79d5e2b07b5e64cd28f1fe84395ee11eef95fc49fd923a9ab93022b148be6 containerd-1.5.11.tar.gz +sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE diff --git a/buildroot-2022.02.1/package/containerd/containerd.mk b/buildroot-2022.02.1/package/containerd/containerd.mk new file mode 100644 index 00000000..c405b75e --- /dev/null +++ b/buildroot-2022.02.1/package/containerd/containerd.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# containerd +# +################################################################################ + +CONTAINERD_VERSION = 1.5.11 +CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION)) +CONTAINERD_LICENSE = Apache-2.0 +CONTAINERD_LICENSE_FILES = LICENSE +CONTAINERD_CPE_ID_VENDOR = linuxfoundation +CONTAINERD_CPE_ID_PRODUCT = containerd + +CONTAINERD_GOMOD = github.com/containerd/containerd + +CONTAINERD_LDFLAGS = \ + -X $(CONTAINERD_GOMOD)/version.Version=$(CONTAINERD_VERSION) + +CONTAINERD_BUILD_TARGETS = \ + cmd/containerd \ + cmd/containerd-shim \ + cmd/containerd-shim-runc-v1 \ + cmd/containerd-shim-runc-v2 \ + cmd/ctr + +CONTAINERD_INSTALL_BINS = $(notdir $(CONTAINERD_BUILD_TARGETS)) + +ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) +CONTAINERD_DEPENDENCIES += libapparmor +CONTAINERD_TAGS += apparmor +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +CONTAINERD_DEPENDENCIES += libseccomp host-pkgconf +CONTAINERD_TAGS += seccomp +endif + +ifeq ($(BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS),y) +CONTAINERD_DEPENDENCIES += btrfs-progs +else +CONTAINERD_TAGS += no_btrfs +endif + +$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/copas/0001-Do-not-load-coxpcall-for-LuaJIT.patch b/buildroot-2022.02.1/package/copas/0001-Do-not-load-coxpcall-for-LuaJIT.patch similarity index 100% rename from buildroot-2021.05/package/copas/0001-Do-not-load-coxpcall-for-LuaJIT.patch rename to buildroot-2022.02.1/package/copas/0001-Do-not-load-coxpcall-for-LuaJIT.patch diff --git a/buildroot-2021.05/package/copas/Config.in b/buildroot-2022.02.1/package/copas/Config.in similarity index 100% rename from buildroot-2021.05/package/copas/Config.in rename to buildroot-2022.02.1/package/copas/Config.in diff --git a/buildroot-2021.05/package/copas/copas.hash b/buildroot-2022.02.1/package/copas/copas.hash similarity index 100% rename from buildroot-2021.05/package/copas/copas.hash rename to buildroot-2022.02.1/package/copas/copas.hash diff --git a/buildroot-2021.05/package/copas/copas.mk b/buildroot-2022.02.1/package/copas/copas.mk similarity index 100% rename from buildroot-2021.05/package/copas/copas.mk rename to buildroot-2022.02.1/package/copas/copas.mk diff --git a/buildroot-2021.05/package/coremark-pro/Config.in b/buildroot-2022.02.1/package/coremark-pro/Config.in similarity index 100% rename from buildroot-2021.05/package/coremark-pro/Config.in rename to buildroot-2022.02.1/package/coremark-pro/Config.in diff --git a/buildroot-2021.05/package/coremark-pro/coremark-pro.hash b/buildroot-2022.02.1/package/coremark-pro/coremark-pro.hash similarity index 100% rename from buildroot-2021.05/package/coremark-pro/coremark-pro.hash rename to buildroot-2022.02.1/package/coremark-pro/coremark-pro.hash diff --git a/buildroot-2022.02.1/package/coremark-pro/coremark-pro.mk b/buildroot-2022.02.1/package/coremark-pro/coremark-pro.mk new file mode 100644 index 00000000..6a850885 --- /dev/null +++ b/buildroot-2022.02.1/package/coremark-pro/coremark-pro.mk @@ -0,0 +1,62 @@ +################################################################################ +# +# CoreMark-PRO +# +################################################################################ + +COREMARK_PRO_VERSION = 1.1.2743 +COREMARK_PRO_SITE = $(call github,eembc,coremark-pro,v$(COREMARK_PRO_VERSION)) +COREMARK_PRO_LICENSE = Apache-2.0 +COREMARK_PRO_LICENSE_FILES = LICENSE.md +COREMARK_PRO_DEPENDENCIES = perl + +COREMARK_PRO_LDFLAGS = $(TARGET_LDFLAGS) -lm + +ifeq ($(BR2_ENDIAN),"BIG") +COREMARK_PRO_DEFINES += \ + EE_BIG_ENDIAN=1 \ + EE_LITTLE_ENDIAN=0 +else +COREMARK_PRO_DEFINES += \ + EE_BIG_ENDIAN=0 \ + EE_LITTLE_ENDIAN=1 +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +COREMARK_PRO_DEFINES += \ + USE_NATIVE_PTHREAD=1 \ + USE_SINGLE_CONTEXT=0 +COREMARK_PRO_LDFLAGS += -lpthread +else +COREMARK_PRO_DEFINES += \ + USE_NATIVE_PTHREAD=0 \ + USE_SINGLE_CONTEXT=1 +endif + +COREMARK_PRO_MAKE_OPTS += \ + LINKER_LAST="$(COREMARK_PRO_LDFLAGS)" \ + PLATFORM_DEFINES="$(COREMARK_PRO_DEFINES)" \ + TARGET=linux$(if $(BR2_ARCH_IS_64),64) \ + EXE= + +define COREMARK_PRO_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC)" LD="$(TARGET_CC)" -C $(@D) \ + $(COREMARK_PRO_MAKE_OPTS) build +endef + +COREMARK_PRO_MARKS = cjpeg-rose7-preset core linear_alg-mid-100x100-sp loops-all-mid-10k-sp nnet_test parser-125k radix2-big-64k sha-test zip-test +COREMARK_PRO_SCRIPTS = results_parser.pl cert_median.pl cert_mark.pl headings.txt + +define COREMARK_PRO_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/share/coremark-pro/logs + $(foreach m,$(COREMARK_PRO_MARKS),\ + $(INSTALL) -D $(@D)/builds/linux$(if $(BR2_ARCH_IS_64),64)/gcc$(if $(BR2_ARCH_IS_64),64)/bin/$(m) $(TARGET_DIR)/usr/bin/$(m)$(sep) \ + size $(TARGET_DIR)/usr/bin/$(m) > $(TARGET_DIR)/usr/share/coremark-pro/logs/$(m).size.log$(sep)) + $(INSTALL) -D $(@D)/builds/linux$(if $(BR2_ARCH_IS_64),64)/gcc$(if $(BR2_ARCH_IS_64),64)/data/libbmp/Rose256.bmp $(TARGET_DIR)/usr/share/coremark-pro/Rose256.bmp + $(foreach s,$(COREMARK_PRO_SCRIPTS),\ + $(INSTALL) -D $(@D)/util/perl/$(s) $(TARGET_DIR)/usr/share/coremark-pro/util/perl/$(s)$(sep)) + $(Q)sed "s/@COREMARK_PRO_MARKS@/$(COREMARK_PRO_MARKS)/" \ + package/coremark-pro/coremark-pro.sh.in >$(TARGET_DIR)/usr/bin/coremark-pro.sh +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/coremark-pro/coremark-pro.sh.in b/buildroot-2022.02.1/package/coremark-pro/coremark-pro.sh.in similarity index 100% rename from buildroot-2021.05/package/coremark-pro/coremark-pro.sh.in rename to buildroot-2022.02.1/package/coremark-pro/coremark-pro.sh.in diff --git a/buildroot-2021.05/package/coremark/Config.in b/buildroot-2022.02.1/package/coremark/Config.in similarity index 100% rename from buildroot-2021.05/package/coremark/Config.in rename to buildroot-2022.02.1/package/coremark/Config.in diff --git a/buildroot-2021.05/package/coremark/coremark.hash b/buildroot-2022.02.1/package/coremark/coremark.hash similarity index 100% rename from buildroot-2021.05/package/coremark/coremark.hash rename to buildroot-2022.02.1/package/coremark/coremark.hash diff --git a/buildroot-2021.05/package/coremark/coremark.mk b/buildroot-2022.02.1/package/coremark/coremark.mk similarity index 100% rename from buildroot-2021.05/package/coremark/coremark.mk rename to buildroot-2022.02.1/package/coremark/coremark.mk diff --git a/buildroot-2022.02.1/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/buildroot-2022.02.1/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch new file mode 100644 index 00000000..88390a11 --- /dev/null +++ b/buildroot-2022.02.1/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch @@ -0,0 +1,46 @@ +From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 1 Apr 2021 07:49:46 +0200 +Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 + +Fix the following build failure with uclibc < 1.0.35 which is raised +since the addition of getrandom module in +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: + +In file included from ./sys/random.h:40, + from getrandom.c:22: +/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' + 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) + | ^~~~~~ +/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? + 7 | #include + +++ |+#include + 8 | + +This patch is not upstreamable as it is only a workaround for +uclibc < 1.0.35, upstream uclibc has been patched with +https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 + +Fixes: + - http://autobuild.buildroot.org/results/c69f5c8b8e53ed3de753f0c6d2cdd99497504b49 + +Signed-off-by: Fabrice Fontaine +--- + lib/getrandom.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/getrandom.c b/lib/getrandom.c +index 41212fb32..0ad3f9648 100644 +--- a/lib/getrandom.c ++++ b/lib/getrandom.c +@@ -19,6 +19,7 @@ + + #include + ++#include + #include + + #include +-- +2.30.2 + diff --git a/buildroot-2021.05/package/coreutils/Config.in b/buildroot-2022.02.1/package/coreutils/Config.in similarity index 100% rename from buildroot-2021.05/package/coreutils/Config.in rename to buildroot-2022.02.1/package/coreutils/Config.in diff --git a/buildroot-2022.02.1/package/coreutils/coreutils.hash b/buildroot-2022.02.1/package/coreutils/coreutils.hash new file mode 100644 index 00000000..758a6341 --- /dev/null +++ b/buildroot-2022.02.1/package/coreutils/coreutils.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 ce30acdf4a41bc5bb30dd955e9eaa75fa216b4e3deb08889ed32433c7b3b97ce coreutils-9.0.tar.xz +# Locally computed +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2022.02.1/package/coreutils/coreutils.mk b/buildroot-2022.02.1/package/coreutils/coreutils.mk new file mode 100644 index 00000000..438b7910 --- /dev/null +++ b/buildroot-2022.02.1/package/coreutils/coreutils.mk @@ -0,0 +1,170 @@ +################################################################################ +# +# coreutils +# +################################################################################ + +COREUTILS_VERSION = 9.0 +COREUTILS_SITE = $(BR2_GNU_MIRROR)/coreutils +COREUTILS_SOURCE = coreutils-$(COREUTILS_VERSION).tar.xz +COREUTILS_LICENSE = GPL-3.0+ +COREUTILS_LICENSE_FILES = COPYING +COREUTILS_CPE_ID_VENDOR = gnu + +COREUTILS_CONF_OPTS = --disable-rpath \ + $(if $(BR2_TOOLCHAIN_USES_MUSL),--with-included-regex) + +ifeq ($(BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES),y) +COREUTILS_CONF_OPTS += --disable-single-binary +else +COREUTILS_CONF_OPTS += --enable-single-binary=symlinks +endif + +COREUTILS_CONF_ENV = ac_cv_c_restrict=no \ + ac_cv_func_chown_works=yes \ + ac_cv_func_euidaccess=no \ + ac_cv_func_fstatat=yes \ + ac_cv_func_getdelim=yes \ + ac_cv_func_getgroups=yes \ + ac_cv_func_getgroups_works=yes \ + ac_cv_func_getloadavg=no \ + ac_cv_func_lstat_dereferences_slashed_symlink=yes \ + ac_cv_func_lstat_empty_string_bug=no \ + ac_cv_func_strerror_r_char_p=no \ + ac_cv_func_strnlen_working=yes \ + ac_cv_func_strtod=yes \ + ac_cv_func_working_mktime=yes \ + ac_cv_have_decl_strerror_r=yes \ + ac_cv_have_decl_strnlen=yes \ + ac_cv_lib_getloadavg_getloadavg=no \ + ac_cv_lib_util_getloadavg=no \ + ac_fsusage_space=yes \ + ac_use_included_regex=no \ + am_cv_func_working_getline=yes \ + fu_cv_sys_stat_statfs2_bsize=yes \ + gl_cv_func_getcwd_null=yes \ + gl_cv_func_getcwd_path_max=yes \ + gl_cv_func_gettimeofday_clobber=no \ + gl_cv_func_link_follows_symlink=no \ + gl_cv_func_re_compile_pattern_working=yes \ + gl_cv_func_svid_putenv=yes \ + gl_cv_func_tzset_clobber=no \ + gl_cv_func_working_mkstemp=yes \ + gl_cv_func_working_utimes=yes \ + gl_getline_needs_run_time_check=no \ + gl_cv_have_proc_uptime=yes \ + utils_cv_localtime_cache=no \ + PERL=missing \ + MAKEINFO=true \ + INSTALL_PROGRAM=$(INSTALL) + +COREUTILS_BIN_PROGS = base64 cat chgrp chmod chown cp date dd df dir echo false \ + kill link ln ls mkdir mknod mktemp mv nice printenv pwd rm rmdir \ + vdir sleep stty sync touch true uname join + +ifeq ($(BR2_PACKAGE_ACL),y) +COREUTILS_DEPENDENCIES += acl +else +COREUTILS_CONF_OPTS += --disable-acl +endif + +ifeq ($(BR2_PACKAGE_ATTR),y) +COREUTILS_DEPENDENCIES += attr +else +COREUTILS_CONF_OPTS += --disable-xattr +endif + +COREUTILS_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) + +# It otherwise fails to link properly, not mandatory though +ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) +COREUTILS_CONF_OPTS += --with-libintl-prefix=$(STAGING_DIR)/usr +endif + +ifeq ($(BR2_PACKAGE_GMP),y) +COREUTILS_DEPENDENCIES += gmp +else +COREUTILS_CONF_OPTS += --without-gmp +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +COREUTILS_DEPENDENCIES += libcap +else +COREUTILS_CONF_OPTS += --disable-libcap +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +COREUTILS_DEPENDENCIES += libselinux +COREUTILS_CONF_OPTS += --with-selinux +else +COREUTILS_CONF_OPTS += --without-selinux +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +COREUTILS_CONF_OPTS += --with-openssl=yes +COREUTILS_DEPENDENCIES += openssl +endif + +ifeq ($(BR2_ROOTFS_MERGED_USR),) +# We want to move a few binaries from /usr/bin to /bin. In the case of +# coreutils being built as multi-call binary, we do so by re-creating +# the corresponding symlinks. If coreutils is built with individual +# binaries, we actually move the binaries. +ifeq ($(BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES),y) +define COREUTILS_FIX_BIN_LOCATION + $(foreach f,$(COREUTILS_BIN_PROGS), \ + mv $(TARGET_DIR)/usr/bin/$(f) $(TARGET_DIR)/bin + ) +endef +else +define COREUTILS_FIX_BIN_LOCATION + # some things go in /bin rather than /usr/bin + $(foreach f,$(COREUTILS_BIN_PROGS), \ + rm -f $(TARGET_DIR)/usr/bin/$(f) && \ + ln -sf ../usr/bin/coreutils $(TARGET_DIR)/bin/$(f) + ) +endef +endif +COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_FIX_BIN_LOCATION +endif + +ifeq ($(BR2_STATIC_LIBS),y) +COREUTILS_CONF_OPTS += --enable-no-install-program=stdbuf +endif + +# link for archaic shells +define COREUTILS_CREATE_TEST_SYMLINK + ln -fs test $(TARGET_DIR)/usr/bin/[ +endef +COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_CREATE_TEST_SYMLINK + +# gnu thinks chroot is in bin, debian thinks it's in sbin +ifeq ($(BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES),y) +define COREUTILS_FIX_CHROOT_LOCATION + mv $(TARGET_DIR)/usr/bin/chroot $(TARGET_DIR)/usr/sbin +endef +else +define COREUTILS_FIX_CHROOT_LOCATION + rm -f $(TARGET_DIR)/usr/bin/chroot + ln -sf ../bin/coreutils $(TARGET_DIR)/usr/sbin/chroot +endef +endif +COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_FIX_CHROOT_LOCATION + +# Explicitly install ln and realpath, which we *are* insterested in. +# A lot of other programs still get installed, however, but disabling +# them does not gain much at build time, and is a loooong list that is +# difficult to maintain... Just avoid overwriting fakedate when creating +# a reproducible build +HOST_COREUTILS_CONF_OPTS = \ + --disable-acl \ + --disable-libcap \ + --disable-rpath \ + --disable-single-binary \ + --disable-xattr \ + --without-gmp \ + --enable-install-program=ln,realpath \ + --enable-no-install-program=date + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/corkscrew/Config.in b/buildroot-2022.02.1/package/corkscrew/Config.in similarity index 100% rename from buildroot-2021.05/package/corkscrew/Config.in rename to buildroot-2022.02.1/package/corkscrew/Config.in diff --git a/buildroot-2021.05/package/corkscrew/corkscrew.hash b/buildroot-2022.02.1/package/corkscrew/corkscrew.hash similarity index 100% rename from buildroot-2021.05/package/corkscrew/corkscrew.hash rename to buildroot-2022.02.1/package/corkscrew/corkscrew.hash diff --git a/buildroot-2021.05/package/corkscrew/corkscrew.mk b/buildroot-2022.02.1/package/corkscrew/corkscrew.mk similarity index 100% rename from buildroot-2021.05/package/corkscrew/corkscrew.mk rename to buildroot-2022.02.1/package/corkscrew/corkscrew.mk diff --git a/buildroot-2021.05/package/coxpcall/Config.in b/buildroot-2022.02.1/package/coxpcall/Config.in similarity index 100% rename from buildroot-2021.05/package/coxpcall/Config.in rename to buildroot-2022.02.1/package/coxpcall/Config.in diff --git a/buildroot-2021.05/package/coxpcall/coxpcall.hash b/buildroot-2022.02.1/package/coxpcall/coxpcall.hash similarity index 100% rename from buildroot-2021.05/package/coxpcall/coxpcall.hash rename to buildroot-2022.02.1/package/coxpcall/coxpcall.hash diff --git a/buildroot-2021.05/package/coxpcall/coxpcall.mk b/buildroot-2022.02.1/package/coxpcall/coxpcall.mk similarity index 100% rename from buildroot-2021.05/package/coxpcall/coxpcall.mk rename to buildroot-2022.02.1/package/coxpcall/coxpcall.mk diff --git a/buildroot-2021.05/package/cpio/0001-Minor-fix.patch b/buildroot-2022.02.1/package/cpio/0001-Minor-fix.patch similarity index 100% rename from buildroot-2021.05/package/cpio/0001-Minor-fix.patch rename to buildroot-2022.02.1/package/cpio/0001-Minor-fix.patch diff --git a/buildroot-2022.02.1/package/cpio/0002-Rewrite-dynamic-string-support.patch b/buildroot-2022.02.1/package/cpio/0002-Rewrite-dynamic-string-support.patch new file mode 100644 index 00000000..44282ae3 --- /dev/null +++ b/buildroot-2022.02.1/package/cpio/0002-Rewrite-dynamic-string-support.patch @@ -0,0 +1,461 @@ +From dd96882877721703e19272fe25034560b794061b Mon Sep 17 00:00:00 2001 +From: Sergey Poznyakoff +Date: Sat, 7 Aug 2021 12:52:21 +0300 +Subject: Rewrite dynamic string support. + +* src/dstring.c (ds_init): Take a single argument. +(ds_free): New function. +(ds_resize): Take a single argument. Use x2nrealloc to expand +the storage. +(ds_reset,ds_append,ds_concat,ds_endswith): New function. +(ds_fgetstr): Rewrite. In particular, this fixes integer overflow. +* src/dstring.h (dynamic_string): Keep both the allocated length +(ds_size) and index of the next free byte in the string (ds_idx). +(ds_init,ds_resize): Change signature. +(ds_len): New macro. +(ds_free,ds_reset,ds_append,ds_concat,ds_endswith): New protos. +* src/copyin.c: Use new ds_ functions. +* src/copyout.c: Likewise. +* src/copypass.c: Likewise. +* src/util.c: Likewise. + +[Retrieved from: +https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=dd96882877721703e19272fe25034560b794061b] +Signed-off-by: Fabrice Fontaine +--- + src/copyin.c | 40 +++++++++++++------------- + src/copyout.c | 16 ++++------- + src/copypass.c | 34 +++++++++++------------ + src/dstring.c | 88 ++++++++++++++++++++++++++++++++++++++++++---------------- + src/dstring.h | 31 ++++++++++----------- + src/util.c | 6 ++-- + 6 files changed, 123 insertions(+), 92 deletions(-) + +diff --git a/src/copyin.c b/src/copyin.c +index a096048..4fb14af 100644 +--- a/src/copyin.c ++++ b/src/copyin.c +@@ -55,11 +55,12 @@ query_rename(struct cpio_file_stat* file_hdr, FILE *tty_in, FILE *tty_out, + char *str_res; /* Result for string function. */ + static dynamic_string new_name; /* New file name for rename option. */ + static int initialized_new_name = false; ++ + if (!initialized_new_name) +- { +- ds_init (&new_name, 128); +- initialized_new_name = true; +- } ++ { ++ ds_init (&new_name); ++ initialized_new_name = true; ++ } + + if (rename_flag) + { +@@ -780,37 +781,36 @@ long_format (struct cpio_file_stat *file_hdr, char const *link_name) + already in `save_patterns' (from the command line) are preserved. */ + + static void +-read_pattern_file () ++read_pattern_file (void) + { +- int max_new_patterns; +- char **new_save_patterns; +- int new_num_patterns; ++ char **new_save_patterns = NULL; ++ size_t max_new_patterns; ++ size_t new_num_patterns; + int i; +- dynamic_string pattern_name; ++ dynamic_string pattern_name = DYNAMIC_STRING_INITIALIZER; + FILE *pattern_fp; + + if (num_patterns < 0) + num_patterns = 0; +- max_new_patterns = 1 + num_patterns; +- new_save_patterns = (char **) xmalloc (max_new_patterns * sizeof (char *)); + new_num_patterns = num_patterns; +- ds_init (&pattern_name, 128); ++ max_new_patterns = num_patterns; ++ new_save_patterns = xcalloc (max_new_patterns, sizeof (new_save_patterns[0])); + + pattern_fp = fopen (pattern_file_name, "r"); + if (pattern_fp == NULL) + open_fatal (pattern_file_name); + while (ds_fgetstr (pattern_fp, &pattern_name, '\n') != NULL) + { +- if (new_num_patterns >= max_new_patterns) +- { +- max_new_patterns += 1; +- new_save_patterns = (char **) +- xrealloc ((char *) new_save_patterns, +- max_new_patterns * sizeof (char *)); +- } ++ if (new_num_patterns == max_new_patterns) ++ new_save_patterns = x2nrealloc (new_save_patterns, ++ &max_new_patterns, ++ sizeof (new_save_patterns[0])); + new_save_patterns[new_num_patterns] = xstrdup (pattern_name.ds_string); + ++new_num_patterns; + } ++ ++ ds_free (&pattern_name); ++ + if (ferror (pattern_fp) || fclose (pattern_fp) == EOF) + close_error (pattern_file_name); + +@@ -1210,7 +1210,7 @@ swab_array (char *ptr, int count) + in the file system. */ + + void +-process_copy_in () ++process_copy_in (void) + { + FILE *tty_in = NULL; /* Interactive file for rename option. */ + FILE *tty_out = NULL; /* Interactive file for rename option. */ +diff --git a/src/copyout.c b/src/copyout.c +index 5ca587f..ca6798c 100644 +--- a/src/copyout.c ++++ b/src/copyout.c +@@ -594,9 +594,10 @@ assign_string (char **pvar, char *value) + The format of the header depends on the compatibility (-c) flag. */ + + void +-process_copy_out () ++process_copy_out (void) + { +- dynamic_string input_name; /* Name of file read from stdin. */ ++ dynamic_string input_name = DYNAMIC_STRING_INITIALIZER; ++ /* Name of file read from stdin. */ + struct stat file_stat; /* Stat record for file. */ + struct cpio_file_stat file_hdr = CPIO_FILE_STAT_INITIALIZER; + /* Output header information. */ +@@ -605,7 +606,6 @@ process_copy_out () + char *orig_file_name = NULL; + + /* Initialize the copy out. */ +- ds_init (&input_name, 128); + file_hdr.c_magic = 070707; + + /* Check whether the output file might be a tape. */ +@@ -657,14 +657,9 @@ process_copy_out () + { + if (file_hdr.c_mode & CP_IFDIR) + { +- int len = strlen (input_name.ds_string); + /* Make sure the name ends with a slash */ +- if (input_name.ds_string[len-1] != '/') +- { +- ds_resize (&input_name, len + 2); +- input_name.ds_string[len] = '/'; +- input_name.ds_string[len+1] = 0; +- } ++ if (!ds_endswith (&input_name, '/')) ++ ds_append (&input_name, '/'); + } + } + +@@ -875,6 +870,7 @@ process_copy_out () + (unsigned long) blocks), (unsigned long) blocks); + } + cpio_file_stat_free (&file_hdr); ++ ds_free (&input_name); + } + + +diff --git a/src/copypass.c b/src/copypass.c +index 5d5e939..23ee687 100644 +--- a/src/copypass.c ++++ b/src/copypass.c +@@ -48,10 +48,12 @@ set_copypass_perms (int fd, const char *name, struct stat *st) + If `link_flag', link instead of copying. */ + + void +-process_copy_pass () ++process_copy_pass (void) + { +- dynamic_string input_name; /* Name of file from stdin. */ +- dynamic_string output_name; /* Name of new file. */ ++ dynamic_string input_name = DYNAMIC_STRING_INITIALIZER; ++ /* Name of file from stdin. */ ++ dynamic_string output_name = DYNAMIC_STRING_INITIALIZER; ++ /* Name of new file. */ + size_t dirname_len; /* Length of `directory_name'. */ + int res; /* Result of functions. */ + char *slash; /* For moving past slashes in input name. */ +@@ -65,25 +67,18 @@ process_copy_pass () + created files */ + + /* Initialize the copy pass. */ +- ds_init (&input_name, 128); + + dirname_len = strlen (directory_name); + if (change_directory_option && !ISSLASH (directory_name[0])) + { + char *pwd = xgetcwd (); +- +- dirname_len += strlen (pwd) + 1; +- ds_init (&output_name, dirname_len + 2); +- strcpy (output_name.ds_string, pwd); +- strcat (output_name.ds_string, "/"); +- strcat (output_name.ds_string, directory_name); ++ ++ ds_concat (&output_name, pwd); ++ ds_append (&output_name, '/'); + } +- else +- { +- ds_init (&output_name, dirname_len + 2); +- strcpy (output_name.ds_string, directory_name); +- } +- output_name.ds_string[dirname_len] = '/'; ++ ds_concat (&output_name, directory_name); ++ ds_append (&output_name, '/'); ++ dirname_len = ds_len (&output_name); + output_is_seekable = true; + + change_dir (); +@@ -116,8 +111,8 @@ process_copy_pass () + /* Make the name of the new file. */ + for (slash = input_name.ds_string; *slash == '/'; ++slash) + ; +- ds_resize (&output_name, dirname_len + strlen (slash) + 2); +- strcpy (output_name.ds_string + dirname_len + 1, slash); ++ ds_reset (&output_name, dirname_len); ++ ds_concat (&output_name, slash); + + existing_dir = false; + if (lstat (output_name.ds_string, &out_file_stat) == 0) +@@ -333,6 +328,9 @@ process_copy_pass () + (unsigned long) blocks), + (unsigned long) blocks); + } ++ ++ ds_free (&input_name); ++ ds_free (&output_name); + } + + /* Try and create a hard link from FILE_NAME to another file +diff --git a/src/dstring.c b/src/dstring.c +index b261d5a..692d3e7 100644 +--- a/src/dstring.c ++++ b/src/dstring.c +@@ -20,8 +20,8 @@ + #if defined(HAVE_CONFIG_H) + # include + #endif +- + #include ++#include + #if defined(HAVE_STRING_H) || defined(STDC_HEADERS) + #include + #else +@@ -33,24 +33,41 @@ + /* Initialiaze dynamic string STRING with space for SIZE characters. */ + + void +-ds_init (dynamic_string *string, int size) ++ds_init (dynamic_string *string) ++{ ++ memset (string, 0, sizeof *string); ++} ++ ++/* Free the dynamic string storage. */ ++ ++void ++ds_free (dynamic_string *string) + { +- string->ds_length = size; +- string->ds_string = (char *) xmalloc (size); ++ free (string->ds_string); + } + +-/* Expand dynamic string STRING, if necessary, to hold SIZE characters. */ ++/* Expand dynamic string STRING, if necessary. */ + + void +-ds_resize (dynamic_string *string, int size) ++ds_resize (dynamic_string *string) + { +- if (size > string->ds_length) ++ if (string->ds_idx == string->ds_size) + { +- string->ds_length = size; +- string->ds_string = (char *) xrealloc ((char *) string->ds_string, size); ++ string->ds_string = x2nrealloc (string->ds_string, &string->ds_size, ++ 1); + } + } + ++/* Reset the index of the dynamic string S to LEN. */ ++ ++void ++ds_reset (dynamic_string *s, size_t len) ++{ ++ while (len > s->ds_size) ++ ds_resize (s); ++ s->ds_idx = len; ++} ++ + /* Dynamic string S gets a string terminated by the EOS character + (which is removed) from file F. S will increase + in size during the function if the string from F is longer than +@@ -61,34 +78,50 @@ ds_resize (dynamic_string *string, int size) + char * + ds_fgetstr (FILE *f, dynamic_string *s, char eos) + { +- int insize; /* Amount needed for line. */ +- int strsize; /* Amount allocated for S. */ + int next_ch; + + /* Initialize. */ +- insize = 0; +- strsize = s->ds_length; ++ s->ds_idx = 0; + + /* Read the input string. */ +- next_ch = getc (f); +- while (next_ch != eos && next_ch != EOF) ++ while ((next_ch = getc (f)) != eos && next_ch != EOF) + { +- if (insize >= strsize - 1) +- { +- ds_resize (s, strsize * 2 + 2); +- strsize = s->ds_length; +- } +- s->ds_string[insize++] = next_ch; +- next_ch = getc (f); ++ ds_resize (s); ++ s->ds_string[s->ds_idx++] = next_ch; + } +- s->ds_string[insize++] = '\0'; ++ ds_resize (s); ++ s->ds_string[s->ds_idx] = '\0'; + +- if (insize == 1 && next_ch == EOF) ++ if (s->ds_idx == 0 && next_ch == EOF) + return NULL; + else + return s->ds_string; + } + ++void ++ds_append (dynamic_string *s, int c) ++{ ++ ds_resize (s); ++ s->ds_string[s->ds_idx] = c; ++ if (c) ++ { ++ s->ds_idx++; ++ ds_resize (s); ++ s->ds_string[s->ds_idx] = 0; ++ } ++} ++ ++void ++ds_concat (dynamic_string *s, char const *str) ++{ ++ size_t len = strlen (str); ++ while (len + 1 > s->ds_size) ++ ds_resize (s); ++ memcpy (s->ds_string + s->ds_idx, str, len); ++ s->ds_idx += len; ++ s->ds_string[s->ds_idx] = 0; ++} ++ + char * + ds_fgets (FILE *f, dynamic_string *s) + { +@@ -100,3 +133,10 @@ ds_fgetname (FILE *f, dynamic_string *s) + { + return ds_fgetstr (f, s, '\0'); + } ++ ++/* Return true if the dynamic string S ends with character C. */ ++int ++ds_endswith (dynamic_string *s, int c) ++{ ++ return (s->ds_idx > 0 && s->ds_string[s->ds_idx - 1] == c); ++} +diff --git a/src/dstring.h b/src/dstring.h +index 5d24181..ca7a5f1 100644 +--- a/src/dstring.h ++++ b/src/dstring.h +@@ -17,10 +17,6 @@ + Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301 USA. */ + +-#ifndef NULL +-#define NULL 0 +-#endif +- + /* A dynamic string consists of record that records the size of an + allocated string and the pointer to that string. The actual string + is a normal zero byte terminated string that can be used with the +@@ -30,22 +26,25 @@ + + typedef struct + { +- int ds_length; /* Actual amount of storage allocated. */ +- char *ds_string; /* String. */ ++ size_t ds_size; /* Actual amount of storage allocated. */ ++ size_t ds_idx; /* Index of the next free byte in the string. */ ++ char *ds_string; /* String storage. */ + } dynamic_string; + ++#define DYNAMIC_STRING_INITIALIZER { 0, 0, NULL } + +-/* Macros that look similar to the original string functions. +- WARNING: These macros work only on pointers to dynamic string records. +- If used with a real record, an "&" must be used to get the pointer. */ +-#define ds_strlen(s) strlen ((s)->ds_string) +-#define ds_strcmp(s1, s2) strcmp ((s1)->ds_string, (s2)->ds_string) +-#define ds_strncmp(s1, s2, n) strncmp ((s1)->ds_string, (s2)->ds_string, n) +-#define ds_index(s, c) index ((s)->ds_string, c) +-#define ds_rindex(s, c) rindex ((s)->ds_string, c) ++void ds_init (dynamic_string *string); ++void ds_free (dynamic_string *string); ++void ds_reset (dynamic_string *s, size_t len); + +-void ds_init (dynamic_string *string, int size); +-void ds_resize (dynamic_string *string, int size); ++/* All functions below guarantee that s->ds_string[s->ds_idx] == '\0' */ + char *ds_fgetname (FILE *f, dynamic_string *s); + char *ds_fgets (FILE *f, dynamic_string *s); + char *ds_fgetstr (FILE *f, dynamic_string *s, char eos); ++void ds_append (dynamic_string *s, int c); ++void ds_concat (dynamic_string *s, char const *str); ++ ++#define ds_len(s) ((s)->ds_idx) ++ ++int ds_endswith (dynamic_string *s, int c); ++ +diff --git a/src/util.c b/src/util.c +index 996d4fa..ff2746d 100644 +--- a/src/util.c ++++ b/src/util.c +@@ -846,11 +846,9 @@ get_next_reel (int tape_des) + FILE *tty_out; /* File for interacting with user. */ + int old_tape_des; + char *next_archive_name; +- dynamic_string new_name; ++ dynamic_string new_name = DYNAMIC_STRING_INITIALIZER; + char *str_res; + +- ds_init (&new_name, 128); +- + /* Open files for interactive communication. */ + tty_in = fopen (TTY_NAME, "r"); + if (tty_in == NULL) +@@ -925,7 +923,7 @@ get_next_reel (int tape_des) + error (PAXEXIT_FAILURE, 0, _("internal error: tape descriptor changed from %d to %d"), + old_tape_des, tape_des); + +- free (new_name.ds_string); ++ ds_free (&new_name); + fclose (tty_in); + fclose (tty_out); + } +-- +cgit v1.2.1 + diff --git a/buildroot-2022.02.1/package/cpio/0003-Fix-previous-commit.patch b/buildroot-2022.02.1/package/cpio/0003-Fix-previous-commit.patch new file mode 100644 index 00000000..e33a8523 --- /dev/null +++ b/buildroot-2022.02.1/package/cpio/0003-Fix-previous-commit.patch @@ -0,0 +1,40 @@ +From dfc801c44a93bed7b3951905b188823d6a0432c8 Mon Sep 17 00:00:00 2001 +From: Sergey Poznyakoff +Date: Wed, 11 Aug 2021 18:10:38 +0300 +Subject: Fix previous commit + +* src/dstring.c (ds_reset,ds_concat): Don't call ds_resize in a +loop. + +[Retrieved from: +https://git.savannah.gnu.org/cgit/cpio.git/commit/?id=dfc801c44a93bed7b3951905b188823d6a0432c8] +Signed-off-by: Fabrice Fontaine +--- + src/dstring.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/dstring.c b/src/dstring.c +index 692d3e7..b7e0bb5 100644 +--- a/src/dstring.c ++++ b/src/dstring.c +@@ -64,7 +64,7 @@ void + ds_reset (dynamic_string *s, size_t len) + { + while (len > s->ds_size) +- ds_resize (s); ++ s->ds_string = x2nrealloc (s->ds_string, &s->ds_size, 1); + s->ds_idx = len; + } + +@@ -116,7 +116,7 @@ ds_concat (dynamic_string *s, char const *str) + { + size_t len = strlen (str); + while (len + 1 > s->ds_size) +- ds_resize (s); ++ s->ds_string = x2nrealloc (s->ds_string, &s->ds_size, 1); + memcpy (s->ds_string + s->ds_idx, str, len); + s->ds_idx += len; + s->ds_string[s->ds_idx] = 0; +-- +cgit v1.2.1 + diff --git a/buildroot-2021.05/package/cpio/Config.in b/buildroot-2022.02.1/package/cpio/Config.in similarity index 100% rename from buildroot-2021.05/package/cpio/Config.in rename to buildroot-2022.02.1/package/cpio/Config.in diff --git a/buildroot-2021.05/package/cpio/cpio.hash b/buildroot-2022.02.1/package/cpio/cpio.hash similarity index 100% rename from buildroot-2021.05/package/cpio/cpio.hash rename to buildroot-2022.02.1/package/cpio/cpio.hash diff --git a/buildroot-2022.02.1/package/cpio/cpio.mk b/buildroot-2022.02.1/package/cpio/cpio.mk new file mode 100644 index 00000000..e95ea742 --- /dev/null +++ b/buildroot-2022.02.1/package/cpio/cpio.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# cpio +# +################################################################################ + +CPIO_VERSION = 2.13 +CPIO_SOURCE = cpio-$(CPIO_VERSION).tar.bz2 +CPIO_SITE = $(BR2_GNU_MIRROR)/cpio +CPIO_CONF_OPTS = --bindir=/bin +CPIO_LICENSE = GPL-3.0+ +CPIO_LICENSE_FILES = COPYING +CPIO_CPE_ID_VENDOR = gnu + +# 0002-Rewrite-dynamic-string-support.patch +# 0003-Fix-previous-commit.patch +CPIO_IGNORE_CVES += CVE-2021-38185 + +# cpio uses argp.h which is not provided by uclibc or musl by default. +# Use the argp-standalone package to provide this. +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +CPIO_DEPENDENCIES += argp-standalone +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/cppcms/Config.in b/buildroot-2022.02.1/package/cppcms/Config.in new file mode 100644 index 00000000..6c0bff93 --- /dev/null +++ b/buildroot-2022.02.1/package/cppcms/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_CPPCMS + bool "cppcms" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on !BR2_STATIC_LIBS # dlopen() + depends on BR2_USE_WCHAR + select BR2_PACKAGE_PCRE + help + CppCMS is a Free High Performance Web Development Framework + (not a CMS) aimed for Rapid Web Application Development. It + differs from most of other web development frameworks like: + Python Django or Java Servlets on the following aspects: + + - It is designed and tuned to handle extremely high loads. + - It uses modern C++ as primary development language in + order to achieve the above goal. + - It is aimed on development of both Web Sites and Web + Services. + + http://cppcms.com + +if BR2_PACKAGE_CPPCMS + +config BR2_PACKAGE_CPPCMS_ICU + bool "enable icu support" + depends on !BR2_BINFMT_FLAT # icu + depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu + select BR2_PACKAGE_ICU + help + Using ICU allows advanced localization features into CppCMS, + in another hand ICU is heavier than iconv. + +comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9" + depends on !BR2_BINFMT_FLAT + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 + +endif + +comment "cppcms needs a toolchain w/ C++, NPTL, wchar, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_USE_WCHAR || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/cppcms/cppcms.hash b/buildroot-2022.02.1/package/cppcms/cppcms.hash similarity index 100% rename from buildroot-2021.05/package/cppcms/cppcms.hash rename to buildroot-2022.02.1/package/cppcms/cppcms.hash diff --git a/buildroot-2022.02.1/package/cppcms/cppcms.mk b/buildroot-2022.02.1/package/cppcms/cppcms.mk new file mode 100644 index 00000000..c560b5d0 --- /dev/null +++ b/buildroot-2022.02.1/package/cppcms/cppcms.mk @@ -0,0 +1,65 @@ +################################################################################ +# +# cppcms +# +################################################################################ + +CPPCMS_VERSION = 1.2.1 +CPPCMS_SOURCE = cppcms-$(CPPCMS_VERSION).tar.bz2 +CPPCMS_LICENSE = MIT, BSL-1.0 (boost), Public Domain (json2.js), Zlib (md5) +CPPCMS_LICENSE_FILES = COPYING.TXT MIT.TXT THIRD_PARTY_SOFTWARE.TXT +CPPCMS_SITE = http://downloads.sourceforge.net/project/cppcms/cppcms/$(CPPCMS_VERSION) +CPPCMS_INSTALL_STAGING = YES +CPPCMS_CXXFLAGS = $(TARGET_CXXFLAGS) + +# disable rpath to avoid getting /usr/lib added to the link search +# path +CPPCMS_CONF_OPTS = \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_CXX_FLAGS="$(CPPCMS_CXXFLAGS)" + +CPPCMS_DEPENDENCIES = pcre + +ifeq ($(BR2_PACKAGE_CPPCMS_ICU),y) +CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=OFF +CPPCMS_DEPENDENCIES += icu +CPPCMS_CXXFLAGS += "`$(STAGING_DIR)/usr/bin/icu-config --cxxflags`" +else +CPPCMS_CONF_OPTS += -DDISABLE_ICU_LOCALE=ON +endif + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=OFF +CPPCMS_DEPENDENCIES += libgcrypt +else +CPPCMS_CONF_OPTS += -DDISABLE_GCRYPT=ON +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=OFF +CPPCMS_DEPENDENCIES += openssl +else +CPPCMS_CONF_OPTS += -DDISABLE_OPENSSL=ON +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=OFF +CPPCMS_DEPENDENCIES += zlib +else +CPPCMS_CONF_OPTS += -DDISABLE_GZIP=ON +endif + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +# posix backend needs monetary.h which isn't available on uClibc +CPPCMS_CONF_OPTS += -DDISABLE_POSIX_LOCALE=on +endif + +# We copy cppcms_tmpl_cc from staging to host because this file can be +# needed for compiling packages using cppcms. And it is not worth +# creating a host package just for a python script. +define CPPCMS_INSTALL_HOST_TOOLS + cp $(STAGING_DIR)/usr/bin/cppcms_tmpl_cc $(HOST_DIR)/bin/cppcms_tmpl_cc +endef +CPPCMS_POST_INSTALL_STAGING_HOOKS += CPPCMS_INSTALL_HOST_TOOLS + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/cppdb/0001-mysql-library-suffix.patch b/buildroot-2022.02.1/package/cppdb/0001-mysql-library-suffix.patch similarity index 100% rename from buildroot-2021.05/package/cppdb/0001-mysql-library-suffix.patch rename to buildroot-2022.02.1/package/cppdb/0001-mysql-library-suffix.patch diff --git a/buildroot-2021.05/package/cppdb/Config.in b/buildroot-2022.02.1/package/cppdb/Config.in similarity index 100% rename from buildroot-2021.05/package/cppdb/Config.in rename to buildroot-2022.02.1/package/cppdb/Config.in diff --git a/buildroot-2021.05/package/cppdb/cppdb.hash b/buildroot-2022.02.1/package/cppdb/cppdb.hash similarity index 100% rename from buildroot-2021.05/package/cppdb/cppdb.hash rename to buildroot-2022.02.1/package/cppdb/cppdb.hash diff --git a/buildroot-2021.05/package/cppdb/cppdb.mk b/buildroot-2022.02.1/package/cppdb/cppdb.mk similarity index 100% rename from buildroot-2021.05/package/cppdb/cppdb.mk rename to buildroot-2022.02.1/package/cppdb/cppdb.mk diff --git a/buildroot-2021.05/package/cppunit/Config.in b/buildroot-2022.02.1/package/cppunit/Config.in similarity index 100% rename from buildroot-2021.05/package/cppunit/Config.in rename to buildroot-2022.02.1/package/cppunit/Config.in diff --git a/buildroot-2021.05/package/cppunit/cppunit.hash b/buildroot-2022.02.1/package/cppunit/cppunit.hash similarity index 100% rename from buildroot-2021.05/package/cppunit/cppunit.hash rename to buildroot-2022.02.1/package/cppunit/cppunit.hash diff --git a/buildroot-2021.05/package/cppunit/cppunit.mk b/buildroot-2022.02.1/package/cppunit/cppunit.mk similarity index 100% rename from buildroot-2021.05/package/cppunit/cppunit.mk rename to buildroot-2022.02.1/package/cppunit/cppunit.mk diff --git a/buildroot-2021.05/package/cppzmq/Config.in b/buildroot-2022.02.1/package/cppzmq/Config.in similarity index 100% rename from buildroot-2021.05/package/cppzmq/Config.in rename to buildroot-2022.02.1/package/cppzmq/Config.in diff --git a/buildroot-2022.02.1/package/cppzmq/cppzmq.hash b/buildroot-2022.02.1/package/cppzmq/cppzmq.hash new file mode 100644 index 00000000..31b93275 --- /dev/null +++ b/buildroot-2022.02.1/package/cppzmq/cppzmq.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 7a23639a45f3a0049e11a188e29aaedd10b2f4845f0000cf3e22d6774ebde0af cppzmq-4.8.1.tar.gz +sha256 7e6db90e2e805c72b3daa77849d1cb5f1f92da0e69750c8a4aa1d86d70704748 LICENSE diff --git a/buildroot-2022.02.1/package/cppzmq/cppzmq.mk b/buildroot-2022.02.1/package/cppzmq/cppzmq.mk new file mode 100644 index 00000000..570ad4e3 --- /dev/null +++ b/buildroot-2022.02.1/package/cppzmq/cppzmq.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# cppzmq +# +################################################################################ + +CPPZMQ_VERSION = 4.8.1 +CPPZMQ_SITE = $(call github,zeromq,cppzmq,v$(CPPZMQ_VERSION)) +CPPZMQ_INSTALL_STAGING = YES +CPPZMQ_DEPENDENCIES = host-pkgconf zeromq +CPPZMQ_LICENSE = MIT +CPPZMQ_LICENSE_FILES = LICENSE +CPPZMQ_CONF_OPTS = -DCPPZMQ_BUILD_TESTS=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/cpuburn-arm/Config.in b/buildroot-2022.02.1/package/cpuburn-arm/Config.in similarity index 100% rename from buildroot-2021.05/package/cpuburn-arm/Config.in rename to buildroot-2022.02.1/package/cpuburn-arm/Config.in diff --git a/buildroot-2021.05/package/cpuburn-arm/cpuburn-arm.hash b/buildroot-2022.02.1/package/cpuburn-arm/cpuburn-arm.hash similarity index 100% rename from buildroot-2021.05/package/cpuburn-arm/cpuburn-arm.hash rename to buildroot-2022.02.1/package/cpuburn-arm/cpuburn-arm.hash diff --git a/buildroot-2021.05/package/cpuburn-arm/cpuburn-arm.mk b/buildroot-2022.02.1/package/cpuburn-arm/cpuburn-arm.mk similarity index 100% rename from buildroot-2021.05/package/cpuburn-arm/cpuburn-arm.mk rename to buildroot-2022.02.1/package/cpuburn-arm/cpuburn-arm.mk diff --git a/buildroot-2021.05/package/cpuload/Config.in b/buildroot-2022.02.1/package/cpuload/Config.in similarity index 100% rename from buildroot-2021.05/package/cpuload/Config.in rename to buildroot-2022.02.1/package/cpuload/Config.in diff --git a/buildroot-2021.05/package/cpuload/cpuload.hash b/buildroot-2022.02.1/package/cpuload/cpuload.hash similarity index 100% rename from buildroot-2021.05/package/cpuload/cpuload.hash rename to buildroot-2022.02.1/package/cpuload/cpuload.hash diff --git a/buildroot-2021.05/package/cpuload/cpuload.mk b/buildroot-2022.02.1/package/cpuload/cpuload.mk similarity index 100% rename from buildroot-2021.05/package/cpuload/cpuload.mk rename to buildroot-2022.02.1/package/cpuload/cpuload.mk diff --git a/buildroot-2021.05/package/cracklib/0001-Force-grep-to-treat-the-input-as-text-when-formattin.patch b/buildroot-2022.02.1/package/cracklib/0001-Force-grep-to-treat-the-input-as-text-when-formattin.patch similarity index 100% rename from buildroot-2021.05/package/cracklib/0001-Force-grep-to-treat-the-input-as-text-when-formattin.patch rename to buildroot-2022.02.1/package/cracklib/0001-Force-grep-to-treat-the-input-as-text-when-formattin.patch diff --git a/buildroot-2021.05/package/cracklib/Config.in b/buildroot-2022.02.1/package/cracklib/Config.in similarity index 100% rename from buildroot-2021.05/package/cracklib/Config.in rename to buildroot-2022.02.1/package/cracklib/Config.in diff --git a/buildroot-2021.05/package/cracklib/cracklib.hash b/buildroot-2022.02.1/package/cracklib/cracklib.hash similarity index 100% rename from buildroot-2021.05/package/cracklib/cracklib.hash rename to buildroot-2022.02.1/package/cracklib/cracklib.hash diff --git a/buildroot-2022.02.1/package/cracklib/cracklib.mk b/buildroot-2022.02.1/package/cracklib/cracklib.mk new file mode 100644 index 00000000..46917b79 --- /dev/null +++ b/buildroot-2022.02.1/package/cracklib/cracklib.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# cracklib +# +################################################################################ + +CRACKLIB_VERSION = 2.9.7 +CRACKLIB_SITE = https://github.com/cracklib/cracklib/releases/download/v$(CRACKLIB_VERSION) +CRACKLIB_LICENSE = LGPL-2.1 +CRACKLIB_LICENSE_FILES = COPYING.LIB +CRACKLIB_CPE_ID_VENDOR = cracklib_project +CRACKLIB_INSTALL_STAGING = YES +CRACKLIB_DEPENDENCIES = host-cracklib $(TARGET_NLS_DEPENDENCIES) +CRACKLIB_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_ZLIB),y) +CRACKLIB_CONF_OPTS += --with-zlib +CRACKLIB_DEPENDENCIES += zlib +else +CRACKLIB_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +CRACKLIB_CONF_OPTS += --with-python +CRACKLIB_CONF_ENV += \ + ac_cv_path_PYTHON=$(HOST_DIR)/bin/python3 \ + am_cv_python_version=$(PYTHON3_VERSION_MAJOR) +CRACKLIB_DEPENDENCIES += python3 +else +CRACKLIB_CONF_OPTS += --without-python +endif + +HOST_CRACKLIB_CONF_OPTS += --without-python --without-zlib + +ifeq ($(BR2_PACKAGE_CRACKLIB_FULL_DICT),y) +CRACKLIB_EXTRA_DOWNLOADS = cracklib-words-$(CRACKLIB_VERSION).gz +CRACKLIB_DICT_SOURCE = $(CRACKLIB_DL_DIR)/cracklib-words-$(CRACKLIB_VERSION).gz +else +CRACKLIB_DICT_SOURCE = $(@D)/dicts/cracklib-small +endif + +ifeq ($(BR2_PACKAGE_CRACKLIB_TOOLS),) +define CRACKLIB_REMOVE_TOOLS + rm -f $(TARGET_DIR)/usr/sbin/*cracklib* +endef +CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_REMOVE_TOOLS +endif + +define CRACKLIB_BUILD_DICT + $(HOST_MAKE_ENV) cracklib-format $(CRACKLIB_DICT_SOURCE) | \ + $(HOST_MAKE_ENV) cracklib-packer $(TARGET_DIR)/usr/share/cracklib/pw_dict + rm $(TARGET_DIR)/usr/share/cracklib/cracklib-small +endef +CRACKLIB_POST_INSTALL_TARGET_HOOKS += CRACKLIB_BUILD_DICT + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/cramfs/Config.in b/buildroot-2022.02.1/package/cramfs/Config.in similarity index 100% rename from buildroot-2021.05/package/cramfs/Config.in rename to buildroot-2022.02.1/package/cramfs/Config.in diff --git a/buildroot-2021.05/package/cramfs/Config.in.host b/buildroot-2022.02.1/package/cramfs/Config.in.host similarity index 100% rename from buildroot-2021.05/package/cramfs/Config.in.host rename to buildroot-2022.02.1/package/cramfs/Config.in.host diff --git a/buildroot-2021.05/package/cramfs/cramfs.hash b/buildroot-2022.02.1/package/cramfs/cramfs.hash similarity index 100% rename from buildroot-2021.05/package/cramfs/cramfs.hash rename to buildroot-2022.02.1/package/cramfs/cramfs.hash diff --git a/buildroot-2021.05/package/cramfs/cramfs.mk b/buildroot-2022.02.1/package/cramfs/cramfs.mk similarity index 100% rename from buildroot-2021.05/package/cramfs/cramfs.mk rename to buildroot-2022.02.1/package/cramfs/cramfs.mk diff --git a/buildroot-2021.05/package/crda/0001-crda-support-python-3-in-utils-key2pub.py.patch b/buildroot-2022.02.1/package/crda/0001-crda-support-python-3-in-utils-key2pub.py.patch similarity index 100% rename from buildroot-2021.05/package/crda/0001-crda-support-python-3-in-utils-key2pub.py.patch rename to buildroot-2022.02.1/package/crda/0001-crda-support-python-3-in-utils-key2pub.py.patch diff --git a/buildroot-2021.05/package/crda/0002-drop-ldconfig-call.patch b/buildroot-2022.02.1/package/crda/0002-drop-ldconfig-call.patch similarity index 100% rename from buildroot-2021.05/package/crda/0002-drop-ldconfig-call.patch rename to buildroot-2022.02.1/package/crda/0002-drop-ldconfig-call.patch diff --git a/buildroot-2021.05/package/crda/0003-drop-werror.patch b/buildroot-2022.02.1/package/crda/0003-drop-werror.patch similarity index 100% rename from buildroot-2021.05/package/crda/0003-drop-werror.patch rename to buildroot-2022.02.1/package/crda/0003-drop-werror.patch diff --git a/buildroot-2021.05/package/crda/Config.in b/buildroot-2022.02.1/package/crda/Config.in similarity index 100% rename from buildroot-2021.05/package/crda/Config.in rename to buildroot-2022.02.1/package/crda/Config.in diff --git a/buildroot-2021.05/package/crda/crda.hash b/buildroot-2022.02.1/package/crda/crda.hash similarity index 100% rename from buildroot-2021.05/package/crda/crda.hash rename to buildroot-2022.02.1/package/crda/crda.hash diff --git a/buildroot-2021.05/package/crda/crda.mk b/buildroot-2022.02.1/package/crda/crda.mk similarity index 100% rename from buildroot-2021.05/package/crda/crda.mk rename to buildroot-2022.02.1/package/crda/crda.mk diff --git a/buildroot-2022.02.1/package/crudini/Config.in b/buildroot-2022.02.1/package/crudini/Config.in new file mode 100644 index 00000000..ff4c98d5 --- /dev/null +++ b/buildroot-2022.02.1/package/crudini/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_CRUDINI + bool "crudini" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_INIPARSE # runtime + help + A utility for handling ini files from the command line and + shell scripts + + https://pypi.python.org/pypi/crudini diff --git a/buildroot-2021.05/package/crudini/crudini.hash b/buildroot-2022.02.1/package/crudini/crudini.hash similarity index 100% rename from buildroot-2021.05/package/crudini/crudini.hash rename to buildroot-2022.02.1/package/crudini/crudini.hash diff --git a/buildroot-2021.05/package/crudini/crudini.mk b/buildroot-2022.02.1/package/crudini/crudini.mk similarity index 100% rename from buildroot-2021.05/package/crudini/crudini.mk rename to buildroot-2022.02.1/package/crudini/crudini.mk diff --git a/buildroot-2022.02.1/package/cryptodev-linux/cryptodev-linux.hash b/buildroot-2022.02.1/package/cryptodev-linux/cryptodev-linux.hash new file mode 100644 index 00000000..d649e893 --- /dev/null +++ b/buildroot-2022.02.1/package/cryptodev-linux/cryptodev-linux.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 f51c2254749233b1b1d7ec9445158bd709f124f88e1c650fe2faac83c3a81938 cryptodev-linux-1.12.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/cryptodev-linux/cryptodev-linux.mk b/buildroot-2022.02.1/package/cryptodev-linux/cryptodev-linux.mk new file mode 100644 index 00000000..f9026053 --- /dev/null +++ b/buildroot-2022.02.1/package/cryptodev-linux/cryptodev-linux.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# cryptodev-linux +# +################################################################################ + +CRYPTODEV_LINUX_VERSION = 1.12 +CRYPTODEV_LINUX_SITE = $(call github,cryptodev-linux,cryptodev-linux,cryptodev-linux-$(CRYPTODEV_LINUX_VERSION)) +CRYPTODEV_LINUX_INSTALL_STAGING = YES +CRYPTODEV_LINUX_LICENSE = GPL-2.0+ +CRYPTODEV_LINUX_LICENSE_FILES = COPYING +CRYPTODEV_LINUX_CPE_ID_VENDOR = cryptodev-linux + +CRYPTODEV_LINUX_PROVIDES = cryptodev + +define CRYPTODEV_LINUX_MODULE_GEN_VERSION_H + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) version.h +endef +CRYPTODEV_LINUX_PRE_BUILD_HOOKS += CRYPTODEV_LINUX_MODULE_GEN_VERSION_H + +define CRYPTODEV_LINUX_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 644 $(@D)/crypto/cryptodev.h \ + $(STAGING_DIR)/usr/include/crypto/cryptodev.h +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/cryptodev/Config.in b/buildroot-2022.02.1/package/cryptodev/Config.in similarity index 100% rename from buildroot-2021.05/package/cryptodev/Config.in rename to buildroot-2022.02.1/package/cryptodev/Config.in diff --git a/buildroot-2021.05/package/cryptodev/cryptodev.mk b/buildroot-2022.02.1/package/cryptodev/cryptodev.mk similarity index 100% rename from buildroot-2021.05/package/cryptodev/cryptodev.mk rename to buildroot-2022.02.1/package/cryptodev/cryptodev.mk diff --git a/buildroot-2022.02.1/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch b/buildroot-2022.02.1/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch new file mode 100644 index 00000000..5f87414d --- /dev/null +++ b/buildroot-2022.02.1/package/cryptopp/0001-GNUmakefile-add-missing-shared-library-symlink.patch @@ -0,0 +1,62 @@ +From e4c2e3bc8174f24cf63923619f5d06d85b84ae1d Mon Sep 17 00:00:00 2001 +From: Kamel Bouhara +Date: Fri, 7 Jan 2022 22:59:23 +0100 +Subject: [PATCH] GNUmakefile: add missing shared library symlink + +The GNUmakefile install-lib target currently installs the following +symlink: + + libcryptopp.so -> libcryptopp.so.8.6.0 + +However, it does not create the following symlink: + + libcryptopp.so.8 -> libcryptopp.so.8.6.0 + +This symlink is necessary at runtime because libcryptopp.so.8 is the +SONAME of the cryptopp library, and therefore this is what the dynamic +loader will search when starting a program that is linked against +cryptopp. + +For native compilation, the 'ldconfig' invocation that immediately +follows will create that symlink, so everything works. + +For cross-compilation however, ldconfig can't be used, and therefore +LDCONFIG is passed as /bin/true, and therefore it doesn't create the +symlink. So instead, create it directly inside the GNUmakefile, +without relying on ldconfig. + +Upstream: https://github.com/weidai11/cryptopp/pull/1101 +Signed-off-by: Kamel Bouhara +Signed-off-by: Thomas Petazzoni +--- + GNUmakefile | 1 + + GNUmakefile-cross | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/GNUmakefile b/GNUmakefile +index 23273edb..3b55e420 100644 +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -1412,6 +1412,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) + $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) + ifeq ($(HAS_SOLIB_VERSION),1) + -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so ++ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) + $(LDCONF) $(DESTDIR)$(LIBDIR) + endif + endif +diff --git a/GNUmakefile-cross b/GNUmakefile-cross +index 9847f04b..a2b87e4a 100644 +--- a/GNUmakefile-cross ++++ b/GNUmakefile-cross +@@ -856,6 +856,7 @@ ifneq ($(wildcard libcryptopp.so$(SOLIB_VERSION_SUFFIX)),) + $(CHMOD) u=rwx,go=rx $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_VERSION_SUFFIX) + ifeq ($(HAS_SOLIB_VERSION),1) + -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so ++ -$(LN) libcryptopp.so$(SOLIB_VERSION_SUFFIX) $(DESTDIR)$(LIBDIR)/libcryptopp.so$(SOLIB_COMPAT_SUFFIX) + $(LDCONF) $(DESTDIR)$(LIBDIR) + endif + endif +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/cryptopp/Config.in b/buildroot-2022.02.1/package/cryptopp/Config.in new file mode 100644 index 00000000..1648a73f --- /dev/null +++ b/buildroot-2022.02.1/package/cryptopp/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_CRYPTOPP + bool "cryptopp" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR + help + A free C++ class library of cryptographic schemes + +comment "cryptopp needs a toolchain w/ C++, dynamic library, wchar" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ + !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/cryptopp/cryptopp.hash b/buildroot-2022.02.1/package/cryptopp/cryptopp.hash new file mode 100644 index 00000000..9a113b8f --- /dev/null +++ b/buildroot-2022.02.1/package/cryptopp/cryptopp.hash @@ -0,0 +1,5 @@ +# Hash from: https://www.cryptopp.com/release860.html: +sha512 e7773f5e4a7dc7e8e735b1702524bee56ba38e5211544c9c9778bc51ed8dc7b376c17f2e406410043b636312336f26f76dc963f298872f8c13933e88c232fc03 cryptopp860.zip + +# Hash for license file: +sha256 e668af8c73a38a66a1e8951d14ec24e7582fee5254dd6c3dae488a416d105d5f License.txt diff --git a/buildroot-2022.02.1/package/cryptopp/cryptopp.mk b/buildroot-2022.02.1/package/cryptopp/cryptopp.mk new file mode 100644 index 00000000..87d6fba2 --- /dev/null +++ b/buildroot-2022.02.1/package/cryptopp/cryptopp.mk @@ -0,0 +1,78 @@ +################################################################################ +# +# cryptopp +# +################################################################################ + +CRYPTOPP_VERSION = 8.6.0 +CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip +CRYPTOPP_SITE = https://cryptopp.com +CRYPTOPP_LICENSE = BSL-1.0, BSD-3-Clause (CRYPTOGAMS), Public domain (ChaCha SSE2 and AVX) +CRYPTOPP_LICENSE_FILES = License.txt +CRYPTOPP_CPE_ID_VENDOR = cryptopp +CRYPTOPP_CPE_ID_PRODUCT = crypto\+\+ +CRYPTOPP_INSTALL_STAGING = YES + +define HOST_CRYPTOPP_EXTRACT_CMDS + $(UNZIP) $(HOST_CRYPTOPP_DL_DIR)/$(CRYPTOPP_SOURCE) -d $(@D) +endef + +HOST_CRYPTOPP_CXXFLAGS = $(HOST_CFLAGS) -fPIC + +# _mm256_broadcastsi128_si256 has been added only in gcc 4.9 +ifneq ($(BR2_HOST_GCC_AT_LEAST_4_9),y) +HOST_CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX2 +endif + +HOST_CRYPTOPP_MAKE_OPTS = \ + $(HOST_CONFIGURE_OPTS) \ + CXXFLAGS="$(HOST_CRYPTOPP_CXXFLAGS)" + +define HOST_CRYPTOPP_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CRYPTOPP_MAKE_OPTS) shared +endef + +define HOST_CRYPTOPP_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install-lib +endef + +define CRYPTOPP_EXTRACT_CMDS + $(UNZIP) $(CRYPTOPP_DL_DIR)/$(CRYPTOPP_SOURCE) -d $(@D) +endef + +CRYPTOPP_CXXFLAGS = $(TARGET_CXXFLAGS) -fPIC + +# _mm256_broadcastsi128_si256 has been added only in gcc 4.9 +ifneq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_9),y) +CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_AVX2 +endif + +ifneq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) +CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_ALTIVEC +endif + +ifneq ($(BR2_ARM_CPU_HAS_NEON),y) +CRYPTOPP_CXXFLAGS += -DCRYPTOPP_DISABLE_ARM_NEON +endif + +CRYPTOPP_MAKE_OPTS = \ + $(TARGET_CONFIGURE_OPTS) \ + CXXFLAGS="$(CRYPTOPP_CXXFLAGS)" + +define CRYPTOPP_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(CRYPTOPP_MAKE_OPTS) \ + PREFIX=/usr shared libcryptopp.pc +endef + +define CRYPTOPP_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(TARGET_DIR) \ + LDCONFIG=/bin/true install-lib +endef + +define CRYPTOPP_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=/usr DESTDIR=$(STAGING_DIR) \ + LDCONFIG=/bin/true install-lib +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/cryptsetup/0001-Add-check-program-for-symver-attribute.patch b/buildroot-2022.02.1/package/cryptsetup/0001-Add-check-program-for-symver-attribute.patch new file mode 100644 index 00000000..04f59a20 --- /dev/null +++ b/buildroot-2022.02.1/package/cryptsetup/0001-Add-check-program-for-symver-attribute.patch @@ -0,0 +1,56 @@ +From 7c6ec620de3f99d4212f4a54aa576df1b97020ab Mon Sep 17 00:00:00 2001 +From: Ondrej Kozina +Date: Wed, 2 Feb 2022 11:34:57 +0100 +Subject: [PATCH] Add check program for symver attribute. + +Fixes: #709. +Signed-off-by: Giulio Benetti +--- + configure.ac | 11 +++++++++++ + lib/libcryptsetup_symver.h | 8 +++----- + 2 files changed, 14 insertions(+), 5 deletions(-) + +diff --git a/configure.ac b/configure.ac +index a0e5990d..b052f8cf 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -554,6 +554,17 @@ if test "x$enable_static_cryptsetup" = "xyes"; then + PKG_CONFIG=$saved_PKG_CONFIG + fi + ++dnl Check compiler support for symver function attribute ++saved_CFLAGS=$CFLAGS ++CFLAGS="-O0 -Werror" ++AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ ++ void _test_sym(void); ++ __attribute__((__symver__("sym@VERSION_4.2"))) void _test_sym(void) {} ++]], ++[[ _test_sym() ]] ++)],[ AC_DEFINE([HAVE_ATTRIBUTE_SYMVER], 1, [Define to 1 to use __attribute__((symver))])]) ++CFLAGS=$saved_CFLAGS ++ + AC_MSG_CHECKING([for systemd tmpfiles config directory]) + PKG_CHECK_VAR([systemd_tmpfilesdir], [systemd], [tmpfilesdir], [], [systemd_tmpfilesdir=no]) + AC_MSG_RESULT([$systemd_tmpfilesdir]) +diff --git a/lib/libcryptsetup_symver.h b/lib/libcryptsetup_symver.h +index 2a804b6a..3558310d 100644 +--- a/lib/libcryptsetup_symver.h ++++ b/lib/libcryptsetup_symver.h +@@ -67,11 +67,9 @@ + * under CRYPT_SYMBOL_EXPORT_OLD(int, crypt_func_X, ...) macro + */ + +-#ifdef __has_attribute +-# if __has_attribute(symver) +-# define _CRYPT_SYMVER(_local_sym, _public_sym, _ver_str, _maj, _min) \ +- __attribute__((__symver__(#_public_sym _ver_str #_maj "." #_min))) +-# endif ++#if HAVE_ATTRIBUTE_SYMVER ++# define _CRYPT_SYMVER(_local_sym, _public_sym, _ver_str, _maj, _min) \ ++ __attribute__((__symver__(#_public_sym _ver_str #_maj "." #_min))) + #endif + + #if !defined(_CRYPT_SYMVER) && defined(__GNUC__) +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/cryptsetup/Config.in b/buildroot-2022.02.1/package/cryptsetup/Config.in new file mode 100644 index 00000000..f36883ea --- /dev/null +++ b/buildroot-2022.02.1/package/cryptsetup/Config.in @@ -0,0 +1,26 @@ +config BR2_PACKAGE_CRYPTSETUP + bool "cryptsetup" + depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 + depends on BR2_USE_MMU # lvm2, libargon2 + depends on !BR2_STATIC_LIBS # lvm2, libargon2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c + select BR2_PACKAGE_ARGP_STANDALONE if BR2_PACKAGE_LIBSSH && \ + (BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL) + select BR2_PACKAGE_POPT + select BR2_PACKAGE_LVM2 + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_JSON_C + select BR2_PACKAGE_LIBARGON2 + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + This tool helps manipulate dm-crypt and luks partitions for + on-disk encryption. + + https://gitlab.com/cryptsetup/cryptsetup + +comment "cryptsetup needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/cryptsetup/Config.in.host b/buildroot-2022.02.1/package/cryptsetup/Config.in.host similarity index 100% rename from buildroot-2021.05/package/cryptsetup/Config.in.host rename to buildroot-2022.02.1/package/cryptsetup/Config.in.host diff --git a/buildroot-2022.02.1/package/cryptsetup/cryptsetup.hash b/buildroot-2022.02.1/package/cryptsetup/cryptsetup.hash new file mode 100644 index 00000000..dce2686d --- /dev/null +++ b/buildroot-2022.02.1/package/cryptsetup/cryptsetup.hash @@ -0,0 +1,4 @@ +# From https://www.kernel.org/pub/linux/utils/cryptsetup/v2.4/sha256sums.asc +sha256 fc0df945188172264ec5bf1d0bda08264fadc8a3f856d47eba91f31fe354b507 cryptsetup-2.4.3.tar.xz +sha256 45670cce8b6a0ddd66c8016cd8ccef6cd71f35717cbacc7f1e895b3855207b33 COPYING +sha256 8c33cc37871654ec7ed87e6fbb896c8cf33ef5ef05b1611a5aed857596ffafa5 COPYING.LGPL diff --git a/buildroot-2022.02.1/package/cryptsetup/cryptsetup.mk b/buildroot-2022.02.1/package/cryptsetup/cryptsetup.mk new file mode 100644 index 00000000..bd8681d5 --- /dev/null +++ b/buildroot-2022.02.1/package/cryptsetup/cryptsetup.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# cryptsetup +# +################################################################################ + +CRYPTSETUP_VERSION_MAJOR = 2.4 +CRYPTSETUP_VERSION = $(CRYPTSETUP_VERSION_MAJOR).3 +CRYPTSETUP_SOURCE = cryptsetup-$(CRYPTSETUP_VERSION).tar.xz +CRYPTSETUP_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/cryptsetup/v$(CRYPTSETUP_VERSION_MAJOR) +CRYPTSETUP_DEPENDENCIES = \ + lvm2 popt host-pkgconf json-c libargon2 \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBS),util-linux-libs,util-linux) \ + $(TARGET_NLS_DEPENDENCIES) +CRYPTSETUP_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) +CRYPTSETUP_LICENSE_FILES = COPYING COPYING.LGPL +CRYPTSETUP_CPE_ID_VENDOR = cryptsetup_project +CRYPTSETUP_INSTALL_STAGING = YES + +# 0001-Add-check-program-for-symver-attribute.patch +CRYPTSETUP_AUTORECONF = YES + +CRYPTSETUP_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" +CRYPTSETUP_CONF_OPTS += --enable-blkid --enable-libargon2 + +# cryptsetup uses libgcrypt by default, but can be configured to use OpenSSL +# or kernel crypto modules instead +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +CRYPTSETUP_DEPENDENCIES += libgcrypt +CRYPTSETUP_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config +CRYPTSETUP_CONF_OPTS += --with-crypto_backend=gcrypt +else ifeq ($(BR2_PACKAGE_OPENSSL),y) +CRYPTSETUP_DEPENDENCIES += openssl +CRYPTSETUP_CONF_OPTS += --with-crypto_backend=openssl +else +CRYPTSETUP_CONF_OPTS += --with-crypto_backend=kernel +endif + +ifeq ($(BR2_PACKAGE_LIBSSH),y) +CRYPTSETUP_DEPENDENCIES += \ + $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) \ + libssh +CRYPTSETUP_CONF_OPTS += --enable-ssh-token +else +CRYPTSETUP_CONF_OPTS += --disable-ssh-token +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +CRYPTSETUP_CONF_OPTS += --with-tmpfilesdir=/usr/lib/tmpfiles.d +endif + +HOST_CRYPTSETUP_DEPENDENCIES = \ + host-pkgconf \ + host-lvm2 \ + host-popt \ + host-util-linux \ + host-json-c \ + host-openssl + +HOST_CRYPTSETUP_CONF_OPTS = --with-crypto_backend=openssl \ + --disable-kernel_crypto \ + --disable-ssh-token \ + --enable-blkid \ + --with-tmpfilesdir=no + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/ctorrent/0001-fix-musl-build.patch b/buildroot-2022.02.1/package/ctorrent/0001-fix-musl-build.patch similarity index 100% rename from buildroot-2021.05/package/ctorrent/0001-fix-musl-build.patch rename to buildroot-2022.02.1/package/ctorrent/0001-fix-musl-build.patch diff --git a/buildroot-2021.05/package/ctorrent/Config.in b/buildroot-2022.02.1/package/ctorrent/Config.in similarity index 100% rename from buildroot-2021.05/package/ctorrent/Config.in rename to buildroot-2022.02.1/package/ctorrent/Config.in diff --git a/buildroot-2021.05/package/ctorrent/ctorrent.hash b/buildroot-2022.02.1/package/ctorrent/ctorrent.hash similarity index 100% rename from buildroot-2021.05/package/ctorrent/ctorrent.hash rename to buildroot-2022.02.1/package/ctorrent/ctorrent.hash diff --git a/buildroot-2021.05/package/ctorrent/ctorrent.mk b/buildroot-2022.02.1/package/ctorrent/ctorrent.mk similarity index 100% rename from buildroot-2021.05/package/ctorrent/ctorrent.mk rename to buildroot-2022.02.1/package/ctorrent/ctorrent.mk diff --git a/buildroot-2021.05/package/cukinia/Config.in b/buildroot-2022.02.1/package/cukinia/Config.in similarity index 100% rename from buildroot-2021.05/package/cukinia/Config.in rename to buildroot-2022.02.1/package/cukinia/Config.in diff --git a/buildroot-2021.05/package/cukinia/cukinia.conf b/buildroot-2022.02.1/package/cukinia/cukinia.conf similarity index 100% rename from buildroot-2021.05/package/cukinia/cukinia.conf rename to buildroot-2022.02.1/package/cukinia/cukinia.conf diff --git a/buildroot-2021.05/package/cukinia/cukinia.hash b/buildroot-2022.02.1/package/cukinia/cukinia.hash similarity index 100% rename from buildroot-2021.05/package/cukinia/cukinia.hash rename to buildroot-2022.02.1/package/cukinia/cukinia.hash diff --git a/buildroot-2021.05/package/cukinia/cukinia.mk b/buildroot-2022.02.1/package/cukinia/cukinia.mk similarity index 100% rename from buildroot-2021.05/package/cukinia/cukinia.mk rename to buildroot-2022.02.1/package/cukinia/cukinia.mk diff --git a/buildroot-2021.05/package/cunit/Config.in b/buildroot-2022.02.1/package/cunit/Config.in similarity index 100% rename from buildroot-2021.05/package/cunit/Config.in rename to buildroot-2022.02.1/package/cunit/Config.in diff --git a/buildroot-2021.05/package/cunit/cunit.hash b/buildroot-2022.02.1/package/cunit/cunit.hash similarity index 100% rename from buildroot-2021.05/package/cunit/cunit.hash rename to buildroot-2022.02.1/package/cunit/cunit.hash diff --git a/buildroot-2021.05/package/cunit/cunit.mk b/buildroot-2022.02.1/package/cunit/cunit.mk similarity index 100% rename from buildroot-2021.05/package/cunit/cunit.mk rename to buildroot-2022.02.1/package/cunit/cunit.mk diff --git a/buildroot-2022.02.1/package/cups-filters/Config.in b/buildroot-2022.02.1/package/cups-filters/Config.in new file mode 100644 index 00000000..ded99a47 --- /dev/null +++ b/buildroot-2022.02.1/package/cups-filters/Config.in @@ -0,0 +1,40 @@ +config BR2_PACKAGE_CUPS_FILTERS + bool "cups-filters" + # needs fork() + depends on BR2_USE_MMU + depends on BR2_INSTALL_LIBSTDCPP # qpdf + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_PACKAGE_CUPS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # qpdf + depends on BR2_TOOLCHAIN_HAS_ATOMIC # qpdf + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_LCMS2 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_QPDF + help + This project provides backends, filters, and other software + that was once part of the core CUPS distribution but is no + longer maintained by Apple Inc. In addition it contains + additional filters and software developed independently of + Apple, especially filters for the PDF-centric printing + workflow introduced by OpenPrinting and a daemon to browse + Bonjour broadcasts of remote CUPS printers to make these + printers available locally and to provide backward + compatibility to the old CUPS broadcasting and browsing of + CUPS 1.5.x and older. From CUPS 1.6.0 on, this package is + required for using printer drivers with CUPS under Linux. + With CUPS 1.5.x and earlier this package can be used + optionally to switch over to PDF-based printing. + + http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters + +comment "cups-filters needs a toolchain w/ wchar, C++, threads and dynamic library, gcc >= 5" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_USE_WCHAR || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2021.05/package/cups-filters/S82cups-browsed b/buildroot-2022.02.1/package/cups-filters/S82cups-browsed similarity index 100% rename from buildroot-2021.05/package/cups-filters/S82cups-browsed rename to buildroot-2022.02.1/package/cups-filters/S82cups-browsed diff --git a/buildroot-2022.02.1/package/cups-filters/cups-filters.hash b/buildroot-2022.02.1/package/cups-filters/cups-filters.hash new file mode 100644 index 00000000..aefb67f6 --- /dev/null +++ b/buildroot-2022.02.1/package/cups-filters/cups-filters.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 8cb40355287d65ea03e90dfa7e2d34f0d46752957c8a6d4e96ab6fe6c581e5d2 cups-filters-1.28.10.tar.gz +sha256 38192ffdaca98b718f78b2d4abc38bb087f0bbcc9a16d212c98b903b985f900f COPYING diff --git a/buildroot-2022.02.1/package/cups-filters/cups-filters.mk b/buildroot-2022.02.1/package/cups-filters/cups-filters.mk new file mode 100644 index 00000000..c8f2dd0a --- /dev/null +++ b/buildroot-2022.02.1/package/cups-filters/cups-filters.mk @@ -0,0 +1,86 @@ +################################################################################ +# +# cups-filters +# +################################################################################ + +CUPS_FILTERS_VERSION = 1.28.10 +CUPS_FILTERS_SITE = http://openprinting.org/download/cups-filters +CUPS_FILTERS_LICENSE = GPL-2.0, GPL-2.0+, GPL-3.0, GPL-3.0+, LGPL-2, LGPL-2.1+, MIT, BSD-4-Clause +CUPS_FILTERS_LICENSE_FILES = COPYING +CUPS_FILTERS_CPE_ID_VENDOR = linuxfoundation + +CUPS_FILTERS_DEPENDENCIES = cups libglib2 lcms2 qpdf fontconfig freetype jpeg + +CUPS_FILTERS_CONF_OPTS = \ + --disable-mutool \ + --disable-foomatic \ + --disable-braille \ + --enable-imagefilters \ + --with-cups-config=$(STAGING_DIR)/usr/bin/cups-config \ + --with-sysroot=$(STAGING_DIR) \ + --with-pdftops=pdftops \ + --with-jpeg \ + --with-test-font-path=/dev/null \ + --without-rcdir + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +CUPS_FILTERS_CONF_OPTS += --with-png +CUPS_FILTERS_DEPENDENCIES += libpng +else +CUPS_FILTERS_CONF_OPTS += --without-png +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +CUPS_FILTERS_CONF_OPTS += --with-tiff +CUPS_FILTERS_DEPENDENCIES += tiff +else +CUPS_FILTERS_CONF_OPTS += --without-tiff +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +CUPS_FILTERS_CONF_OPTS += --enable-dbus +CUPS_FILTERS_DEPENDENCIES += dbus +else +CUPS_FILTERS_CONF_OPTS += --disable-dbus +endif + +ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y) +CUPS_FILTERS_DEPENDENCIES += avahi +CUPS_FILTERS_CONF_OPTS += --enable-avahi +else +CUPS_FILTERS_CONF_OPTS += --disable-avahi +endif + +ifeq ($(BR2_PACKAGE_GHOSTSCRIPT),y) +CUPS_FILTERS_DEPENDENCIES += ghostscript +CUPS_FILTERS_CONF_OPTS += --enable-ghostscript +else +CUPS_FILTERS_CONF_OPTS += --disable-ghostscript +endif + +ifeq ($(BR2_PACKAGE_IJS),y) +CUPS_FILTERS_DEPENDENCIES += ijs +CUPS_FILTERS_CONF_OPTS += --enable-ijs +else +CUPS_FILTERS_CONF_OPTS += --disable-ijs +endif + +ifeq ($(BR2_PACKAGE_POPPLER),y) +CUPS_FILTERS_DEPENDENCIES += poppler +CUPS_FILTERS_CONF_OPTS += --enable-poppler +else +CUPS_FILTERS_CONF_OPTS += --disable-poppler +endif + +define CUPS_FILTERS_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/cups-filters/S82cups-browsed \ + $(TARGET_DIR)/etc/init.d/S82cups-browsed +endef + +define CUPS_FILTERS_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0755 $(@D)/utils/cups-browsed.service \ + $(TARGET_DIR)/usr/lib/systemd/system/cups-browsed.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/cups-pk-helper/Config.in b/buildroot-2022.02.1/package/cups-pk-helper/Config.in new file mode 100644 index 00000000..113f4337 --- /dev/null +++ b/buildroot-2022.02.1/package/cups-pk-helper/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_CUPS_PK_HELPER + bool "cups-pk-helper" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> c++17 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, polkit + depends on BR2_USE_WCHAR # libglib2 + depends on !BR2_STATIC_LIBS # polkit -> duktape + depends on BR2_PACKAGE_CUPS + select BR2_PACKAGE_POLKIT + help + cups-pk-helper is a PolicyKit helper to configure cups with + fine-grained privileges. + + https://wiki.freedesktop.org/www/Software/cups-pk-helper/ + +comment "cups-pk-helper support needs a toolchain with threads, wchar, dynamic library, gcc >= 7" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/cups-pk-helper/cups-pk-helper.hash b/buildroot-2022.02.1/package/cups-pk-helper/cups-pk-helper.hash new file mode 100644 index 00000000..18fe7893 --- /dev/null +++ b/buildroot-2022.02.1/package/cups-pk-helper/cups-pk-helper.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 959af8f2f5a2761e7e498b61c9caf25ae963335031eae9972d999e9a0d97a228 cups-pk-helper-0.2.6.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/cups-pk-helper/cups-pk-helper.mk b/buildroot-2022.02.1/package/cups-pk-helper/cups-pk-helper.mk new file mode 100644 index 00000000..c6887431 --- /dev/null +++ b/buildroot-2022.02.1/package/cups-pk-helper/cups-pk-helper.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# cups-pk-helper +# +################################################################################ + +CUPS_PK_HELPER_VERSION = 0.2.6 +CUPS_PK_HELPER_SITE = https://www.freedesktop.org/software/cups-pk-helper/releases +CUPS_PK_HELPER_SOURCE = cups-pk-helper-$(CUPS_PK_HELPER_VERSION).tar.xz +CUPS_PK_HELPER_LICENSE = GPL-2.0+ +CUPS_PK_HELPER_LICENSE_FILES = COPYING +CUPS_PK_HELPER_CPE_ID_VENDOR = cups-pk-helper_project +CUPS_PK_HELPER_DEPENDENCIES = cups libglib2 polkit + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/cups/0001-Remove-man-from-BUILDDIRS-in-configure.patch b/buildroot-2022.02.1/package/cups/0001-Remove-man-from-BUILDDIRS-in-configure.patch new file mode 100644 index 00000000..6b81a93d --- /dev/null +++ b/buildroot-2022.02.1/package/cups/0001-Remove-man-from-BUILDDIRS-in-configure.patch @@ -0,0 +1,33 @@ +From 6bc1d15250841cf17d307cfb4f35c960c23d8797 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sun, 29 May 2016 19:31:50 +0200 +Subject: [PATCH] Remove man from BUILDDIRS in configure + +Signed-off-by: Bernd Kuhls +[Fabrice: updated for 2.3.0] +Signed-off-by: Fabrice Fontaine +[Michael: updated for 2.3.3] +Signed-off-by: Michael Trimarchi +[Angelo: updated for 2.4.0] +Signed-off-by: Angelo Compagnucci +--- + config-scripts/cups-common.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config-scripts/cups-common.m4 b/config-scripts/cups-common.m4 +index 3a162b6d5..fb629fdfd 100644 +--- a/config-scripts/cups-common.m4 ++++ b/config-scripts/cups-common.m4 +@@ -462,7 +462,7 @@ LIBHEADERS="\$(COREHEADERS) \$(DRIVERHEADERS)" + LIBHEADERSPRIV="\$(COREHEADERSPRIV) \$(DRIVERHEADERSPRIV)" + + AS_CASE(["$COMPONENTS"], [all], [ +- BUILDDIRS="tools filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates" ++ BUILDDIRS="tools filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale doc examples templates" + ], [core], [ + BUILDDIRS="tools examples locale" + ], [corelite], [ + +-- +2.17.1 + diff --git a/buildroot-2021.05/package/cups/0002-Do-not-use-genstrings.patch b/buildroot-2022.02.1/package/cups/0002-Do-not-use-genstrings.patch similarity index 100% rename from buildroot-2021.05/package/cups/0002-Do-not-use-genstrings.patch rename to buildroot-2022.02.1/package/cups/0002-Do-not-use-genstrings.patch diff --git a/buildroot-2021.05/package/cups/0003-Sanitize-the-installation-process.patch b/buildroot-2022.02.1/package/cups/0003-Sanitize-the-installation-process.patch similarity index 100% rename from buildroot-2021.05/package/cups/0003-Sanitize-the-installation-process.patch rename to buildroot-2022.02.1/package/cups/0003-Sanitize-the-installation-process.patch diff --git a/buildroot-2021.05/package/cups/0004-Remove-PIE-flags-from-the-build.patch b/buildroot-2022.02.1/package/cups/0004-Remove-PIE-flags-from-the-build.patch similarity index 100% rename from buildroot-2021.05/package/cups/0004-Remove-PIE-flags-from-the-build.patch rename to buildroot-2022.02.1/package/cups/0004-Remove-PIE-flags-from-the-build.patch diff --git a/buildroot-2021.05/package/cups/70-usb-printers.rules b/buildroot-2022.02.1/package/cups/70-usb-printers.rules similarity index 100% rename from buildroot-2021.05/package/cups/70-usb-printers.rules rename to buildroot-2022.02.1/package/cups/70-usb-printers.rules diff --git a/buildroot-2021.05/package/cups/Config.in b/buildroot-2022.02.1/package/cups/Config.in similarity index 100% rename from buildroot-2021.05/package/cups/Config.in rename to buildroot-2022.02.1/package/cups/Config.in diff --git a/buildroot-2021.05/package/cups/S81cupsd b/buildroot-2022.02.1/package/cups/S81cupsd similarity index 100% rename from buildroot-2021.05/package/cups/S81cupsd rename to buildroot-2022.02.1/package/cups/S81cupsd diff --git a/buildroot-2022.02.1/package/cups/cups.hash b/buildroot-2022.02.1/package/cups/cups.hash new file mode 100644 index 00000000..b0e3654b --- /dev/null +++ b/buildroot-2022.02.1/package/cups/cups.hash @@ -0,0 +1,4 @@ +# Locally calculated: +sha256 9abecec128ca6847c5bb2d3e3d30c87b782c0697b9acf284d16fa38f80a3a6de cups-2.4.0-source.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE +sha256 a2a46d024e4d78dd2475d89f2f3d905578edfeca7dcb041e1d0ba079d9a87b48 NOTICE diff --git a/buildroot-2022.02.1/package/cups/cups.mk b/buildroot-2022.02.1/package/cups/cups.mk new file mode 100644 index 00000000..e406d3bc --- /dev/null +++ b/buildroot-2022.02.1/package/cups/cups.mk @@ -0,0 +1,101 @@ +################################################################################ +# +# cups +# +################################################################################ + +CUPS_VERSION = 2.4.0 +CUPS_SOURCE = cups-$(CUPS_VERSION)-source.tar.gz +CUPS_SITE = https://github.com/OpenPrinting/cups/releases/download/v$(CUPS_VERSION) +CUPS_LICENSE = Apache-2.0 with GPL-2.0/LGPL-2.0 exception +CUPS_LICENSE_FILES = LICENSE NOTICE +CUPS_CPE_ID_VENDOR = cups +CUPS_SELINUX_MODULES = cups +CUPS_INSTALL_STAGING = YES + +# Using autoconf, not autoheader, so we cannot use AUTORECONF = YES. +define CUPS_RUN_AUTOCONF + cd $(@D); $(AUTOCONF) -f +endef +CUPS_PRE_CONFIGURE_HOOKS += CUPS_RUN_AUTOCONF + +CUPS_CONF_OPTS = \ + --with-docdir=/usr/share/cups/doc-root \ + --disable-gssapi \ + --disable-pam \ + --libdir=/usr/lib \ + --with-cups-user=lp \ + --with-cups-group=lp \ + --with-system-groups="lpadmin sys root" \ + --without-rcdir +CUPS_CONFIG_SCRIPTS = cups-config +CUPS_DEPENDENCIES = \ + host-autoconf \ + host-pkgconf \ + $(if $(BR2_PACKAGE_ZLIB),zlib) + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +CUPS_CONF_OPTS += --with-systemd=/usr/lib/systemd/system \ + --enable-systemd +CUPS_DEPENDENCIES += systemd +else +CUPS_CONF_OPTS += --disable-systemd +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +CUPS_CONF_OPTS += --enable-dbus +CUPS_DEPENDENCIES += dbus +else +CUPS_CONF_OPTS += --disable-dbus +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +CUPS_CONF_OPTS += --with-tls=yes +CUPS_DEPENDENCIES += gnutls +else +CUPS_CONF_OPTS += --with-tls=no +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +CUPS_CONF_OPTS += --enable-libusb +CUPS_DEPENDENCIES += libusb +else +CUPS_CONF_OPTS += --disable-libusb +endif + +ifeq ($(BR2_PACKAGE_LIBPAPER),y) +CUPS_CONF_OPTS += --enable-libpaper +CUPS_DEPENDENCIES += libpaper +else +CUPS_CONF_OPTS += --disable-libpaper +endif + +ifeq ($(BR2_PACKAGE_AVAHI),y) +CUPS_DEPENDENCIES += avahi +CUPS_CONF_OPTS += --enable-avahi +else +CUPS_CONF_OPTS += --disable-avahi +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +define CUPS_INSTALL_UDEV_RULES + $(INSTALL) -D -m 0644 package/cups/70-usb-printers.rules \ + $(TARGET_DIR)/lib/udev/rules.d/70-usb-printers.rules +endef + +CUPS_POST_INSTALL_TARGET_HOOKS += CUPS_INSTALL_UDEV_RULES +endif + +define CUPS_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/cups/S81cupsd \ + $(TARGET_DIR)/etc/init.d/S81cupsd +endef + +# lp user is needed to run cups spooler +# lpadmin group membership grants administrative privileges +define CUPS_USERS + lp -1 lp -1 * /var/spool/lpd /bin/false - lp + - - lpadmin -1 * - - - Printers admin group. +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/curlftpfs/0001-fix-CURLOPT_INFILESIZE.patch b/buildroot-2022.02.1/package/curlftpfs/0001-fix-CURLOPT_INFILESIZE.patch similarity index 100% rename from buildroot-2021.05/package/curlftpfs/0001-fix-CURLOPT_INFILESIZE.patch rename to buildroot-2022.02.1/package/curlftpfs/0001-fix-CURLOPT_INFILESIZE.patch diff --git a/buildroot-2021.05/package/curlftpfs/0002-free_ftpfs_file-memleak-fix.patch b/buildroot-2022.02.1/package/curlftpfs/0002-free_ftpfs_file-memleak-fix.patch similarity index 100% rename from buildroot-2021.05/package/curlftpfs/0002-free_ftpfs_file-memleak-fix.patch rename to buildroot-2022.02.1/package/curlftpfs/0002-free_ftpfs_file-memleak-fix.patch diff --git a/buildroot-2021.05/package/curlftpfs/0003-nocache-memleak-fix.patch b/buildroot-2022.02.1/package/curlftpfs/0003-nocache-memleak-fix.patch similarity index 100% rename from buildroot-2021.05/package/curlftpfs/0003-nocache-memleak-fix.patch rename to buildroot-2022.02.1/package/curlftpfs/0003-nocache-memleak-fix.patch diff --git a/buildroot-2021.05/package/curlftpfs/0004-fix-musl-build-off-t.patch b/buildroot-2022.02.1/package/curlftpfs/0004-fix-musl-build-off-t.patch similarity index 100% rename from buildroot-2021.05/package/curlftpfs/0004-fix-musl-build-off-t.patch rename to buildroot-2022.02.1/package/curlftpfs/0004-fix-musl-build-off-t.patch diff --git a/buildroot-2021.05/package/curlftpfs/Config.in b/buildroot-2022.02.1/package/curlftpfs/Config.in similarity index 100% rename from buildroot-2021.05/package/curlftpfs/Config.in rename to buildroot-2022.02.1/package/curlftpfs/Config.in diff --git a/buildroot-2021.05/package/curlftpfs/curlftpfs.hash b/buildroot-2022.02.1/package/curlftpfs/curlftpfs.hash similarity index 100% rename from buildroot-2021.05/package/curlftpfs/curlftpfs.hash rename to buildroot-2022.02.1/package/curlftpfs/curlftpfs.hash diff --git a/buildroot-2021.05/package/curlftpfs/curlftpfs.mk b/buildroot-2022.02.1/package/curlftpfs/curlftpfs.mk similarity index 100% rename from buildroot-2021.05/package/curlftpfs/curlftpfs.mk rename to buildroot-2022.02.1/package/curlftpfs/curlftpfs.mk diff --git a/buildroot-2021.05/package/curlpp/Config.in b/buildroot-2022.02.1/package/curlpp/Config.in similarity index 100% rename from buildroot-2021.05/package/curlpp/Config.in rename to buildroot-2022.02.1/package/curlpp/Config.in diff --git a/buildroot-2021.05/package/curlpp/curlpp.hash b/buildroot-2022.02.1/package/curlpp/curlpp.hash similarity index 100% rename from buildroot-2021.05/package/curlpp/curlpp.hash rename to buildroot-2022.02.1/package/curlpp/curlpp.hash diff --git a/buildroot-2021.05/package/curlpp/curlpp.mk b/buildroot-2022.02.1/package/curlpp/curlpp.mk similarity index 100% rename from buildroot-2021.05/package/curlpp/curlpp.mk rename to buildroot-2022.02.1/package/curlpp/curlpp.mk diff --git a/buildroot-2021.05/package/cutelyst/0001-server-CMakeLists.txt-don-t-override-CMAKE_EXE_LINKE.patch b/buildroot-2022.02.1/package/cutelyst/0001-server-CMakeLists.txt-don-t-override-CMAKE_EXE_LINKE.patch similarity index 100% rename from buildroot-2021.05/package/cutelyst/0001-server-CMakeLists.txt-don-t-override-CMAKE_EXE_LINKE.patch rename to buildroot-2022.02.1/package/cutelyst/0001-server-CMakeLists.txt-don-t-override-CMAKE_EXE_LINKE.patch diff --git a/buildroot-2021.05/package/cutelyst/Config.in b/buildroot-2022.02.1/package/cutelyst/Config.in similarity index 100% rename from buildroot-2021.05/package/cutelyst/Config.in rename to buildroot-2022.02.1/package/cutelyst/Config.in diff --git a/buildroot-2021.05/package/cutelyst/cutelyst.hash b/buildroot-2022.02.1/package/cutelyst/cutelyst.hash similarity index 100% rename from buildroot-2021.05/package/cutelyst/cutelyst.hash rename to buildroot-2022.02.1/package/cutelyst/cutelyst.hash diff --git a/buildroot-2021.05/package/cutelyst/cutelyst.mk b/buildroot-2022.02.1/package/cutelyst/cutelyst.mk similarity index 100% rename from buildroot-2021.05/package/cutelyst/cutelyst.mk rename to buildroot-2022.02.1/package/cutelyst/cutelyst.mk diff --git a/buildroot-2021.05/package/cvs/Config.in b/buildroot-2022.02.1/package/cvs/Config.in similarity index 100% rename from buildroot-2021.05/package/cvs/Config.in rename to buildroot-2022.02.1/package/cvs/Config.in diff --git a/buildroot-2021.05/package/cvs/cvs.hash b/buildroot-2022.02.1/package/cvs/cvs.hash similarity index 100% rename from buildroot-2021.05/package/cvs/cvs.hash rename to buildroot-2022.02.1/package/cvs/cvs.hash diff --git a/buildroot-2022.02.1/package/cvs/cvs.mk b/buildroot-2022.02.1/package/cvs/cvs.mk new file mode 100644 index 00000000..bd1e04ee --- /dev/null +++ b/buildroot-2022.02.1/package/cvs/cvs.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# cvs +# +################################################################################ + +CVS_VERSION = 1.12.13 +CVS_SOURCE = cvs_$(CVS_VERSION).orig.tar.gz +CVS_PATCH = cvs_$(CVS_VERSION)-12+squeeze1.diff.gz +CVS_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/c/cvs +CVS_LICENSE = GPL-1.0+, LGPL-2.0+, LGPL-2.1+ (glob) +CVS_LICENSE_FILES = COPYING COPYING.LIB lib/glob-libc.h +CVS_CPE_ID_VENDOR = gnu +CVS_SELINUX_MODULES = apache cvs +CVS_DEPENDENCIES = ncurses + +CVS_CONF_ENV = \ + ac_cv_func_working_mktime=yes \ + cvs_cv_func_printf_ptr=yes + +CVS_CONFIGURE_ARGS = --disable-old-info-format-support +ifeq ($(BR2_PACKAGE_CVS_SERVER),y) +CVS_CONFIGURE_ARGS += --enable-server +else +CVS_CONFIGURE_ARGS += --disable-server +endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +CVS_CONFIGURE_ARGS += --with-external-zlib +endif + +CVS_CONF_OPTS = $(CVS_CONFIGURE_ARGS) + +define CVS_BZIP_UNPACK + $(BZCAT) $(@D)/cvs-$(CVS_VERSION).tar.bz2 | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + rm -f $(@D)/cvs-$(CVS_VERSION).tar.bz2 +endef + +CVS_POST_PATCH_HOOKS += CVS_BZIP_UNPACK + +ifneq ($(CVS_PATCH),) +define CVS_DEBIAN_PATCHES + if [ -d $(@D)/debian/patches ]; then \ + (cd $(@D)/debian/patches && for i in *; \ + do $(SED) 's,^\+\+\+ .*cvs-$(CVS_VERSION)/,+++ cvs-$(CVS_VERSION)/,' $$i; \ + done; \ + ); \ + $(APPLY_PATCHES) $(@D) $(@D)/debian/patches \*; \ + fi +endef +endif + +CVS_POST_PATCH_HOOKS += CVS_DEBIAN_PATCHES + +define CVS_INSTALL_TARGET_CMDS + $(INSTALL) -D $(@D)/src/cvs $(TARGET_DIR)/usr/bin/cvs +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch b/buildroot-2022.02.1/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch new file mode 100644 index 00000000..857e7452 --- /dev/null +++ b/buildroot-2022.02.1/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch @@ -0,0 +1,27 @@ +From af6bffb5b8b71e99e0f9bbbd2cf1fbd695a643c2 Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Sat, 8 Dec 2012 13:32:40 +0100 +Subject: [PATCH] wmdemo: fix linking by adding the missing -lbluetooth to + LDLIBS + +Signed-off-by: Samuel Martin +--- + wmdemo/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wmdemo/Makefile.in b/wmdemo/Makefile.in +index 56aed58..1eccc02 100644 +--- a/wmdemo/Makefile.in ++++ b/wmdemo/Makefile.in +@@ -8,7 +8,7 @@ SOURCES = wmdemo.c + + CFLAGS += -I@top_builddir@/libcwiid + LDFLAGS += -L@top_builddir@/libcwiid +-LDLIBS += -lcwiid ++LDLIBS += -lcwiid -lbluetooth + INST_DIR = @bindir@ + + include $(COMMON)/include/app.mak +-- +1.8.5.2 + diff --git a/buildroot-2022.02.1/package/cwiid/0002-configure-make-wmgui-build-optional.patch b/buildroot-2022.02.1/package/cwiid/0002-configure-make-wmgui-build-optional.patch new file mode 100644 index 00000000..49fd5faa --- /dev/null +++ b/buildroot-2022.02.1/package/cwiid/0002-configure-make-wmgui-build-optional.patch @@ -0,0 +1,64 @@ +From dbb578450974db5decc24560da4aeaed838849a1 Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Thu, 2 Jan 2014 14:03:07 +0100 +Subject: [PATCH] configure: make wmgui build optional + +So, make gtk-2 and glib2 dependencies optional (only needed by wmgui) + +Signed-off-by: Samuel Martin +--- + Makefile.in | 2 +- + configure.ac | 17 +++++++++++++---- + 2 files changed, 14 insertions(+), 5 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 6d3ac98..3d2fb45 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -3,7 +3,7 @@ + include @top_builddir@/defs.mak + + LIB_DIRS = libcwiid +-BIN_DIRS = wmgui wminput lswm ++BIN_DIRS = @WMGUI@ wminput lswm + DOC_DIRS = man doc + ifdef PYTHON + BIND_DIRS = python +diff --git a/configure.ac b/configure.ac +index 82ca3e1..d146cb6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -15,6 +15,11 @@ if test "$YACC" != "bison -y"; then + AC_MSG_ERROR([bison not found]) + fi + ++AC_ARG_ENABLE( ++ [wmgui], ++ [AS_HELP_STRING([--disable-wmgui],[Do not build wmgui binary (also drop the gtk-2/glib2 dependency)])], ++ [ENABLE_WMGUI="$enableval"],[ENABLE_WMGUI=yes]) ++ + AC_ARG_WITH( + [python], + [AS_HELP_STRING([--without-python],[compile without python support])], +@@ -98,10 +103,14 @@ else + fi + AC_SUBST(LDCONFIG) + +-pkg_modules="gtk+-2.0 >= 2.0.0 gthread-2.0" +-PKG_CHECK_MODULES([GTK], [$pkg_modules]) +-AC_SUBST(GTK_CFLAGS) +-AC_SUBST(GTK_LIBS) ++AS_IF( ++ [test "x$ENABLE_WMGUI" = xyes], ++ [pkg_modules="gtk+-2.0 >= 2.0.0 gthread-2.0" ; ++ PKG_CHECK_MODULES([GTK], [$pkg_modules]) ++ AC_SUBST(GTK_CFLAGS) ++ AC_SUBST(GTK_LIBS) ++ AC_SUBST(WMGUI, wmgui)] ++) + + AC_OUTPUT( + [Makefile] +-- +1.8.5.2 + diff --git a/buildroot-2022.02.1/package/cwiid/Config.in b/buildroot-2022.02.1/package/cwiid/Config.in new file mode 100644 index 00000000..7e8cdc30 --- /dev/null +++ b/buildroot-2022.02.1/package/cwiid/Config.in @@ -0,0 +1,36 @@ +config BR2_PACKAGE_CWIID + bool "cwiid" + depends on !BR2_STATIC_LIBS # bluez5_utils + depends on BR2_USE_WCHAR # bluez5_utils -> libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, alsa-lib, libglib2 + depends on BR2_USE_MMU # bluez5_utils -> dbus, libglib2 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # bluez5_utils hid plugin + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils + select BR2_PACKAGE_BLUEZ5_UTILS + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID # runtime + help + A collection of Linux tools written in C for interfacing to + the Nintendo Wiimote. + + https://github.com/abstrakraft/cwiid + +if BR2_PACKAGE_CWIID +config BR2_PACKAGE_CWIID_WMGUI + bool "wmgui" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz + depends on BR2_PACKAGE_XORG7 # libgtk2 + depends on BR2_USE_WCHAR # libgtk2 -> libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2 + depends on BR2_USE_MMU # libgtk2 -> libglib2 + depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBGTK2 +endif + +comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar, headers >= 3.18" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + depends on !BR2_USE_MMU diff --git a/buildroot-2021.05/package/cwiid/cwiid.hash b/buildroot-2022.02.1/package/cwiid/cwiid.hash similarity index 100% rename from buildroot-2021.05/package/cwiid/cwiid.hash rename to buildroot-2022.02.1/package/cwiid/cwiid.hash diff --git a/buildroot-2021.05/package/cwiid/cwiid.mk b/buildroot-2022.02.1/package/cwiid/cwiid.mk similarity index 100% rename from buildroot-2021.05/package/cwiid/cwiid.mk rename to buildroot-2022.02.1/package/cwiid/cwiid.mk diff --git a/buildroot-2021.05/package/cxxtest/Config.in b/buildroot-2022.02.1/package/cxxtest/Config.in similarity index 100% rename from buildroot-2021.05/package/cxxtest/Config.in rename to buildroot-2022.02.1/package/cxxtest/Config.in diff --git a/buildroot-2021.05/package/cxxtest/cxxtest.hash b/buildroot-2022.02.1/package/cxxtest/cxxtest.hash similarity index 100% rename from buildroot-2021.05/package/cxxtest/cxxtest.hash rename to buildroot-2022.02.1/package/cxxtest/cxxtest.hash diff --git a/buildroot-2021.05/package/cxxtest/cxxtest.mk b/buildroot-2022.02.1/package/cxxtest/cxxtest.mk similarity index 100% rename from buildroot-2021.05/package/cxxtest/cxxtest.mk rename to buildroot-2022.02.1/package/cxxtest/cxxtest.mk diff --git a/buildroot-2021.05/package/czmq/Config.in b/buildroot-2022.02.1/package/czmq/Config.in similarity index 100% rename from buildroot-2021.05/package/czmq/Config.in rename to buildroot-2022.02.1/package/czmq/Config.in diff --git a/buildroot-2021.05/package/czmq/czmq.hash b/buildroot-2022.02.1/package/czmq/czmq.hash similarity index 100% rename from buildroot-2021.05/package/czmq/czmq.hash rename to buildroot-2022.02.1/package/czmq/czmq.hash diff --git a/buildroot-2021.05/package/czmq/czmq.mk b/buildroot-2022.02.1/package/czmq/czmq.mk similarity index 100% rename from buildroot-2021.05/package/czmq/czmq.mk rename to buildroot-2022.02.1/package/czmq/czmq.mk diff --git a/buildroot-2021.05/package/dacapo/Config.in b/buildroot-2022.02.1/package/dacapo/Config.in similarity index 100% rename from buildroot-2021.05/package/dacapo/Config.in rename to buildroot-2022.02.1/package/dacapo/Config.in diff --git a/buildroot-2021.05/package/dacapo/dacapo.hash b/buildroot-2022.02.1/package/dacapo/dacapo.hash similarity index 100% rename from buildroot-2021.05/package/dacapo/dacapo.hash rename to buildroot-2022.02.1/package/dacapo/dacapo.hash diff --git a/buildroot-2021.05/package/dacapo/dacapo.mk b/buildroot-2022.02.1/package/dacapo/dacapo.mk similarity index 100% rename from buildroot-2021.05/package/dacapo/dacapo.mk rename to buildroot-2022.02.1/package/dacapo/dacapo.mk diff --git a/buildroot-2021.05/package/dado/Config.in b/buildroot-2022.02.1/package/dado/Config.in similarity index 100% rename from buildroot-2021.05/package/dado/Config.in rename to buildroot-2022.02.1/package/dado/Config.in diff --git a/buildroot-2021.05/package/dado/dado.hash b/buildroot-2022.02.1/package/dado/dado.hash similarity index 100% rename from buildroot-2021.05/package/dado/dado.hash rename to buildroot-2022.02.1/package/dado/dado.hash diff --git a/buildroot-2021.05/package/dado/dado.mk b/buildroot-2022.02.1/package/dado/dado.mk similarity index 100% rename from buildroot-2021.05/package/dado/dado.mk rename to buildroot-2022.02.1/package/dado/dado.mk diff --git a/buildroot-2022.02.1/package/daemon/0001-daemon-fix-build-with-musl-libc-again.patch b/buildroot-2022.02.1/package/daemon/0001-daemon-fix-build-with-musl-libc-again.patch new file mode 100644 index 00000000..48d95f12 --- /dev/null +++ b/buildroot-2022.02.1/package/daemon/0001-daemon-fix-build-with-musl-libc-again.patch @@ -0,0 +1,46 @@ +From b879e6886498fdd147287bffdf5867378c7f3299 Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Thu, 24 Jun 2021 14:28:10 +0300 +Subject: [PATCH] daemon: fix build with musl libc (again) + +Commit 6b28c54dd95b3 added HAVE_SYS_TTYDEFAULTS_H to guard +sys/ttydefaults.h include. This breaks musl libc build because +HAVE_SYS_TTYDEFAULTS_H is not defined until config.h is included. + +Move sys/ttydefaults.h include below config.h + +Signed-off-by: Baruch Siach +--- +Upstream status: https://github.com/raforg/daemon/pull/4 + + daemon.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/daemon.c b/daemon.c +index 5c5ef2cb86df..f88a0d49bf84 100644 +--- a/daemon.c ++++ b/daemon.c +@@ -1011,9 +1011,6 @@ I + #ifdef _RESTORE_POSIX_SOURCE + #define _POSIX_SOURCE + #endif +-#ifdef HAVE_SYS_TTYDEFAULTS_H /* For CEOF in musl libc (Linux only) */ +-#include +-#endif + #include + #include + #include +@@ -1037,6 +1034,10 @@ I + #include + #endif + ++#ifdef HAVE_SYS_TTYDEFAULTS_H /* For CEOF in musl libc (Linux only) */ ++#include ++#endif ++ + /* Configuration file entries */ + + typedef struct Config Config; +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/daemon/0002-Fix-build-with-NDEBUG-defined.patch b/buildroot-2022.02.1/package/daemon/0002-Fix-build-with-NDEBUG-defined.patch new file mode 100644 index 00000000..e99e9d8e --- /dev/null +++ b/buildroot-2022.02.1/package/daemon/0002-Fix-build-with-NDEBUG-defined.patch @@ -0,0 +1,46 @@ +From fc84d8d572ffcecb533fd6d6d025abea12ce027e Mon Sep 17 00:00:00 2001 +Message-Id: +From: Baruch Siach +Date: Thu, 3 Jun 2021 15:01:10 +0300 +Subject: [PATCH] Fix build with NDEBUG defined + +Build with NDEBUG fails because the debug() macro becomes empty. This +creates invalid syntax with the debug() call is the only statement in +the body of a 'for' loop. + +This fixes build failures like: + +daemon.c: In function 'show': +daemon.c:3607:2: error: expected expression before '}' token + } + ^ + +Signed-off-by: Baruch Siach +--- +Upstream status: https://github.com/raforg/daemon/pull/3 + + libslack/err.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/libslack/err.h b/libslack/err.h +index 106bdb01e074..7acfbe46d60a 100644 +--- a/libslack/err.h ++++ b/libslack/err.h +@@ -40,10 +40,10 @@ + #undef check + + #ifdef NDEBUG +-#define debug(args) +-#define vdebug(args) +-#define debugsys(args) +-#define vdebugsys(args) ++#define debug(args) do {} while (0); ++#define vdebug(args) do {} while (0); ++#define debugsys(args) do {} while (0); ++#define vdebugsys(args) do {} while (0); + #define check(cond, mesg) (void_cast(0)) + #else + #define debug(args) debugf args; +-- +2.30.2 + diff --git a/buildroot-2021.05/package/daemon/Config.in b/buildroot-2022.02.1/package/daemon/Config.in similarity index 100% rename from buildroot-2021.05/package/daemon/Config.in rename to buildroot-2022.02.1/package/daemon/Config.in diff --git a/buildroot-2022.02.1/package/daemon/daemon.hash b/buildroot-2022.02.1/package/daemon/daemon.hash new file mode 100644 index 00000000..c490f715 --- /dev/null +++ b/buildroot-2022.02.1/package/daemon/daemon.hash @@ -0,0 +1,5 @@ +# From http://www.libslack.org/daemon/ +sha256 74f12e6d4b3c85632489bd08431d3d997bc17264bf57b7202384f2e809cff596 daemon-0.8.tar.gz +# Locally calculated +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE +sha256 91329bb9be4ae0b7800081fa054e9bb760c60005b26958c1fb8461bc66bcd998 COPYING diff --git a/buildroot-2022.02.1/package/daemon/daemon.mk b/buildroot-2022.02.1/package/daemon/daemon.mk new file mode 100644 index 00000000..96a163e5 --- /dev/null +++ b/buildroot-2022.02.1/package/daemon/daemon.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# daemon +# +################################################################################ + +DAEMON_VERSION = 0.8 +DAEMON_SITE = http://libslack.org/daemon/download +DAEMON_LICENSE = GPL-2.0+ +DAEMON_LICENSE_FILES = LICENSE COPYING + +define DAEMON_CONFIGURE_CMDS + (cd $(@D); ./configure) +endef + +define DAEMON_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define DAEMON_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) DEB_BUILD_OPTIONS=nostrip \ + $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) \ + install-daemon-bin +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/dahdi-linux/0001-drivers-dahdi-Kbuild-fix-HOTPLUG_FIRMWARE-definition.patch b/buildroot-2022.02.1/package/dahdi-linux/0001-drivers-dahdi-Kbuild-fix-HOTPLUG_FIRMWARE-definition.patch new file mode 100644 index 00000000..82fd9bdc --- /dev/null +++ b/buildroot-2022.02.1/package/dahdi-linux/0001-drivers-dahdi-Kbuild-fix-HOTPLUG_FIRMWARE-definition.patch @@ -0,0 +1,64 @@ +From dc0a646a460e6da10ddbe7bf02794051d76f8751 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 4 Nov 2021 17:30:06 +0100 +Subject: [PATCH] drivers/dahdi/Kbuild: fix HOTPLUG_FIRMWARE definition + +HOTPLUG_FIRMWARE is used before being defined resulting in the following +build failure since version 2.7.0 and +https://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commit;h=e2f492595c9191ba6d556ccac1bde4c1bb892938: + + MODPOST /home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/Module.symvers +ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_start" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcaxx.ko] undefined! +ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_size" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcaxx.ko] undefined! +ERROR: modpost: "_binary_dahdi_fw_oct6114_128_bin_start" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte43x.ko] undefined! +ERROR: modpost: "_binary_dahdi_fw_oct6114_064_bin_start" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte43x.ko] undefined! +ERROR: modpost: "_binary_dahdi_fw_oct6114_128_bin_size" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte43x.ko] undefined! +ERROR: modpost: "_binary_dahdi_fw_oct6114_064_bin_size" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte43x.ko] undefined! +ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_start" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte13xp.ko] undefined! +ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_size" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/wcte13xp.ko] undefined! + +Signed-off-by: Fabrice Fontaine +[Upstream status: sent to "Shaun Ruffell "] +--- + drivers/dahdi/Kbuild | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/drivers/dahdi/Kbuild b/drivers/dahdi/Kbuild +index 855e5bf..b1a8481 100644 +--- a/drivers/dahdi/Kbuild ++++ b/drivers/dahdi/Kbuild +@@ -13,6 +13,15 @@ obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTC4XXP) += wctc4xxp/ + obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTDM24XXP) += wctdm24xxp/ + obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTE13XP) += wcte13xp.o + ++ifndef HOTPLUG_FIRMWARE ++ifneq (,$(filter y m,$(CONFIG_FW_LOADER))) ++HOTPLUG_FIRMWARE := yes ++else ++HOTPLUG_FIRMWARE := no ++endif ++export HOTPLUG_FIRMWARE ++endif ++ + wcte13xp-objs := wcte13xp-base.o wcxb_spi.o wcxb.o wcxb_flash.o + CFLAGS_wcte13xp-base.o += -I$(src)/oct612x -I$(src)/oct612x/include -I$(src)/oct612x/octdeviceapi -I$(src)/oct612x/octdeviceapi/oct6100api + ifeq ($(HOTPLUG_FIRMWARE),yes) +@@ -61,15 +70,6 @@ endif + + CFLAGS_MODULE += -I$(DAHDI_INCLUDE) -I$(src) -Wno-format-truncation + +-ifndef HOTPLUG_FIRMWARE +-ifneq (,$(filter y m,$(CONFIG_FW_LOADER))) +-HOTPLUG_FIRMWARE := yes +-else +-HOTPLUG_FIRMWARE := no +-endif +-export HOTPLUG_FIRMWARE +-endif +- + # fix typo present in CentOS and RHEL 2.6.9 kernels + BAD_KERNELS_VERS := 22 34 34.0.1 34.0.2 + BAD_KERNELS := $(foreach ver,$(BAD_KERNELS_VERS),2.6.9-$(ver).EL 2.6.9-$(ver).ELsmp) +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/dahdi-linux/0002-fix-build-with-32-bits-kernel.patch b/buildroot-2022.02.1/package/dahdi-linux/0002-fix-build-with-32-bits-kernel.patch new file mode 100644 index 00000000..ddaf6b4e --- /dev/null +++ b/buildroot-2022.02.1/package/dahdi-linux/0002-fix-build-with-32-bits-kernel.patch @@ -0,0 +1,144 @@ +From aa74fa2fb5acf54bd46ad4c1b10e0a23a2cb3d25 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 4 Nov 2021 18:45:11 +0100 +Subject: [PATCH] fix build with 32-bits kernel + +Use div_s64 or div_s64_rem to fix the following build failure on 32-bits +kernels: + +ERROR: modpost: "__divdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp_usb.ko] undefined! +ERROR: modpost: "__udivdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp_usb.ko] undefined! +ERROR: modpost: "__moddi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp.ko] undefined! +ERROR: modpost: "__divdi3" [/home/fabrice/buildroot/output/build/dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8/drivers/dahdi/xpp/xpp.ko] undefined! + +Signed-off-by: Fabrice Fontaine +--- + drivers/dahdi/xpp/xbus-core.c | 9 ++++++--- + drivers/dahdi/xpp/xbus-pcm.c | 4 ++-- + drivers/dahdi/xpp/xbus-sysfs.c | 2 +- + drivers/dahdi/xpp/xframe_queue.c | 15 ++++++++++----- + drivers/dahdi/xpp/xpp_usb.c | 2 +- + 5 files changed, 20 insertions(+), 12 deletions(-) + +diff --git a/drivers/dahdi/xpp/xbus-core.c b/drivers/dahdi/xpp/xbus-core.c +index fc4ce7b..b1d1fd7 100644 +--- a/drivers/dahdi/xpp/xbus-core.c ++++ b/drivers/dahdi/xpp/xbus-core.c +@@ -1754,11 +1754,14 @@ out: + + static void xbus_fill_proc_queue(struct seq_file *sfile, struct xframe_queue *q) + { ++ s64 msec = 0; ++ s32 rem = 0; ++ ++ msec = div_s64_rem(q->worst_lag_usec, 1000, &rem); + seq_printf(sfile, +- "%-15s: counts %3d, %3d, %3d worst %3d, overflows %3d worst_lag %02lld.%lld ms\n", ++ "%-15s: counts %3d, %3d, %3d worst %3d, overflows %3d worst_lag %02lld.%d ms\n", + q->name, q->steady_state_count, q->count, q->max_count, +- q->worst_count, q->overflows, q->worst_lag_usec / 1000, +- q->worst_lag_usec % 1000); ++ q->worst_count, q->overflows, msec, rem); + xframe_queue_clearstats(q); + } + +diff --git a/drivers/dahdi/xpp/xbus-pcm.c b/drivers/dahdi/xpp/xbus-pcm.c +index 8bb2fe7..e690ce7 100644 +--- a/drivers/dahdi/xpp/xbus-pcm.c ++++ b/drivers/dahdi/xpp/xbus-pcm.c +@@ -129,7 +129,7 @@ static int xpp_ticker_step(struct xpp_ticker *ticker, const ktime_t t) + usec = ktime_us_delta(ticker->last_sample, + ticker->first_sample); + ticker->first_sample = ticker->last_sample; +- ticker->tick_period = usec / ticker->cycle; ++ ticker->tick_period = div_s64(usec, ticker->cycle); + cycled = 1; + } + ticker->count++; +@@ -497,7 +497,7 @@ static void send_drift(xbus_t *xbus, int drift) + XBUS_DBG(SYNC, xbus, + "%sDRIFT adjust %s (%d) (last update %lld seconds ago)\n", + (disable_pll_sync) ? "Fake " : "", msg, drift, +- msec_delta / MSEC_PER_SEC); ++ div_s64(msec_delta, MSEC_PER_SEC)); + if (!disable_pll_sync) + CALL_PROTO(GLOBAL, SYNC_SOURCE, xbus, NULL, SYNC_MODE_PLL, + drift); +diff --git a/drivers/dahdi/xpp/xbus-sysfs.c b/drivers/dahdi/xpp/xbus-sysfs.c +index d8c11dc..35180d9 100644 +--- a/drivers/dahdi/xpp/xbus-sysfs.c ++++ b/drivers/dahdi/xpp/xbus-sysfs.c +@@ -249,7 +249,7 @@ static DEVICE_ATTR_READER(driftinfo_show, dev, buf) + /* + * Calculate lost ticks time + */ +- seconds = ktime_ms_delta(now, di->last_lost_tick) / 1000; ++ seconds = div_s64(ktime_ms_delta(now, di->last_lost_tick), 1000); + minutes = seconds / 60; + seconds = seconds % 60; + hours = minutes / 60; +diff --git a/drivers/dahdi/xpp/xframe_queue.c b/drivers/dahdi/xpp/xframe_queue.c +index e986083..8e5e508 100644 +--- a/drivers/dahdi/xpp/xframe_queue.c ++++ b/drivers/dahdi/xpp/xframe_queue.c +@@ -35,15 +35,18 @@ static void __xframe_dump_queue(struct xframe_queue *q) + int i = 0; + char prefix[30]; + ktime_t now = ktime_get(); ++ s64 msec = 0; ++ s32 rem = 0; + + printk(KERN_DEBUG "%s: dump queue '%s' (first packet in each frame)\n", + THIS_MODULE->name, q->name); + list_for_each_entry_reverse(xframe, &q->head, frame_list) { + xpacket_t *pack = (xpacket_t *)&xframe->packets[0]; + s64 usec = ktime_us_delta(now, xframe->kt_queued); ++ msec = div_s64_rem(usec, 1000, &rem); + +- snprintf(prefix, ARRAY_SIZE(prefix), " %3d> %5lld.%03lld msec", +- i++, usec / 1000, usec % 1000); ++ snprintf(prefix, ARRAY_SIZE(prefix), " %3d> %5lld.%03d msec", ++ i++, msec, rem); + dump_packet(prefix, pack, 1); + } + } +@@ -52,6 +55,8 @@ static bool __xframe_enqueue(struct xframe_queue *q, xframe_t *xframe) + { + int ret = 1; + static int overflow_cnt; ++ s64 msec = 0; ++ s32 rem = 0; + + if (unlikely(q->disabled)) { + ret = 0; +@@ -60,11 +65,11 @@ static bool __xframe_enqueue(struct xframe_queue *q, xframe_t *xframe) + if (q->count >= q->max_count) { + q->overflows++; + if ((overflow_cnt++ % 1000) < 5) { +- NOTICE("Overflow of %-15s: counts %3d, %3d, %3d worst %3d, overflows %3d worst_lag %02lld.%lld ms\n", ++ msec = div_s64_rem(q->worst_lag_usec, 1000, &rem); ++ NOTICE("Overflow of %-15s: counts %3d, %3d, %3d worst %3d, overflows %3d worst_lag %02lld.%d ms\n", + q->name, q->steady_state_count, q->count, + q->max_count, q->worst_count, q->overflows, +- q->worst_lag_usec / 1000, +- q->worst_lag_usec % 1000); ++ msec, rem); + __xframe_dump_queue(q); + } + ret = 0; +diff --git a/drivers/dahdi/xpp/xpp_usb.c b/drivers/dahdi/xpp/xpp_usb.c +index 1a591b1..3741457 100644 +--- a/drivers/dahdi/xpp/xpp_usb.c ++++ b/drivers/dahdi/xpp/xpp_usb.c +@@ -882,7 +882,7 @@ static void xpp_send_callback(struct urb *urb) + usec = 0; /* System clock jumped */ + if (usec > xusb->max_tx_delay) + xusb->max_tx_delay = usec; +- i = usec / USEC_BUCKET; ++ i = div_s64(usec, USEC_BUCKET); + if (i >= NUM_BUCKETS) + i = NUM_BUCKETS - 1; + xusb->usb_tx_delay[i]++; +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/dahdi-linux/Config.in b/buildroot-2022.02.1/package/dahdi-linux/Config.in new file mode 100644 index 00000000..7b6ce794 --- /dev/null +++ b/buildroot-2022.02.1/package/dahdi-linux/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_DAHDI_LINUX + bool "dahdi-linux" + depends on BR2_LINUX_KERNEL + help + DAHDI (Digium/Asterisk Hardware Device Interface) is the open + source device interface technology used to control Digium and + other legacy telephony interface cards. + + DAHDI Linux is the open source device driver framework used to + interface Asterisk with telephony hardware. + + http://www.asterisk.org/downloads/dahdi + +comment "dahdi-linux needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL diff --git a/buildroot-2022.02.1/package/dahdi-linux/dahdi-linux.hash b/buildroot-2022.02.1/package/dahdi-linux/dahdi-linux.hash new file mode 100644 index 00000000..7a4c6880 --- /dev/null +++ b/buildroot-2022.02.1/package/dahdi-linux/dahdi-linux.hash @@ -0,0 +1,25 @@ +# Locally computed +sha256 3faf127ee3f1fad0195c56d00b7bf2708ec8a54bf3c31edd827fd9beb47e0a51 dahdi-linux-5c840cf43838e0690873e73409491c392333b3b8-br1.tar.gz + +# Firmware files have no upstream hash, so sha56 locally computed +sha256 3ff26cf80555fd7470b43a87c51d03c1db2a75abcd4561d79f69b6c48298e4a1 dahdi-fwload-vpmadt032-1.25.0.tar.gz +sha256 d5b6ab6851e431afcfec2ecc39d95fa88fe3939ffdb2e3d4f28a43cabf30e95b dahdi-fw-a4a-a0017.tar.gz +sha256 e039af8bec36407b74e1dd9ebdd49ba077469eda79d4e6093721ed2836d4536f dahdi-fw-a4b-d001e.tar.gz +sha256 5064f9877b8aec99b19fd57988216fe1a9c0b7c07853dd3b32b5a55ab7b418e6 dahdi-fw-a8a-1d0017.tar.gz +sha256 09a8992786309e025aa60b400a2c7d21226ac9bb6f1b66f562a5e7e9dc892b03 dahdi-fw-a8b-1f001e.tar.gz +sha256 449ab3fd03d55d808e999efb7677cd04de202b92c9fcb039539a7e48a39a80f5 dahdi-fw-hx8-2.06.tar.gz +sha256 7a006073202d67e45f1d5ff1e9c6e8663e6056cef9dc4c5abae86a1018db349c dahdi-fw-oct6114-032-1.05.01.tar.gz +sha256 56bac1f2024c76ecf9b6f40992eeea29a1fbee676bb2a37a058179bacfbb1c91 dahdi-fw-oct6114-064-1.05.01.tar.gz +sha256 e1146749d205c41603b9b76852c3f8104dac233d0025d700db24504d10c99775 dahdi-fw-oct6114-128-1.05.01.tar.gz +sha256 5fe5036a2766cf0e8a968b0c58b700507d86e1cde9296ca437170cc626a9c79c dahdi-fw-oct6114-256-1.05.01.tar.gz +sha256 11dd8d009809e41fc9a3a36766f59ff73d29075eede5b8724331d9a6e5259774 dahdi-fw-tc400m-MR6.12.tar.gz +sha256 511c1966295a20df673bb87af30245f0ad165efd6ccb92b4d8ed535ca7f5ac65 dahdi-fw-te133-7a001e.tar.gz +sha256 99f7c410bf47d2a5ae687d717e51448ce5b52aca902830bf39bffe683150fa2d dahdi-fw-te134-780017.tar.gz +sha256 c8f55d57cc0bf332e8d96cdf9ff6dd0e322f33581e1efc24c2b9a0e0c5eb7ee4 dahdi-fw-te435-13001e.tar.gz +sha256 0980f4a8d191c6872aa27d971758046f0e7827ac161549f2cc1b0eeab0ae9333 dahdi-fw-te436-10017.tar.gz +sha256 5b823e25828e2c1c6548886ad408b2e31dbc8cd17170c52592792d9c754a199c dahdi-fw-te820-1.76.tar.gz +sha256 6b199cf836f150f9cb35f763f0f502fb52cfa2724a449b500429c746973904ad dahdi-fw-vpmoct032-1.12.0.tar.gz + +# License files, locally computed +sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE +sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 LICENSE.LGPL diff --git a/buildroot-2022.02.1/package/dahdi-linux/dahdi-linux.mk b/buildroot-2022.02.1/package/dahdi-linux/dahdi-linux.mk new file mode 100644 index 00000000..93124f0e --- /dev/null +++ b/buildroot-2022.02.1/package/dahdi-linux/dahdi-linux.mk @@ -0,0 +1,93 @@ +################################################################################ +# +# dahdi-linux +# +################################################################################ + +DAHDI_LINUX_VERSION = 5c840cf43838e0690873e73409491c392333b3b8 +DAHDI_LINUX_SITE = https://gerrit.asterisk.org/dahdi-linux +DAHDI_LINUX_SITE_METHOD = git + +# We need to download all those firmware blobs ourselves, otherwise +# dahdi-linux will try to download them at install time. +DAHDI_LINUX_FW_SITE = http://downloads.digium.com/pub/telephony/firmware/releases +DAHDI_LINUX_FW_FILES = \ + dahdi-fwload-vpmadt032-1.25.0.tar.gz \ + dahdi-fw-oct6114-032-1.05.01.tar.gz \ + dahdi-fw-oct6114-064-1.05.01.tar.gz \ + dahdi-fw-oct6114-128-1.05.01.tar.gz \ + dahdi-fw-oct6114-256-1.05.01.tar.gz \ + dahdi-fw-tc400m-MR6.12.tar.gz \ + dahdi-fw-hx8-2.06.tar.gz \ + dahdi-fw-vpmoct032-1.12.0.tar.gz \ + dahdi-fw-te820-1.76.tar.gz \ + dahdi-fw-te133-7a001e.tar.gz \ + dahdi-fw-te134-780017.tar.gz \ + dahdi-fw-a8b-1f001e.tar.gz \ + dahdi-fw-a8a-1d0017.tar.gz \ + dahdi-fw-a4b-d001e.tar.gz \ + dahdi-fw-a4a-a0017.tar.gz \ + dahdi-fw-te435-13001e.tar.gz \ + dahdi-fw-te436-10017.tar.gz + +DAHDI_LINUX_EXTRA_DOWNLOADS = \ + $(patsubst %,$(DAHDI_LINUX_FW_SITE)/%,$(DAHDI_LINUX_FW_FILES)) + +# dahdi-linux claims to be GPLv2 with parts LGPLv2.1 (not 'or later'), +# but there are the so-called firmware files (downloaded above) for +# which the license is unclear: the header claims to be GPLv2, the +# 'loader-wrapper' claims to be GPLv2, but there are two so-called +# 'firmware' binary-only .o blobs for which the license is not +# explicited, which look like they end up as part of a kernel module, +# and for which the source is nowhere to be found on the upstream site +# (they are only for x86/x86_64, but we still list them unconditionally). +DAHDI_LINUX_LICENSE = GPL-2.0, LGPL-2.1, unknown (firmware files) +DAHDI_LINUX_LICENSE_FILES = LICENSE LICENSE.LGPL + +DAHDI_LINUX_INSTALL_STAGING = YES + +DAHDI_LINUX_MODULE_SUBDIRS = drivers/dahdi + +DAHDI_LINUX_MODULE_MAKE_OPTS = \ + KSRC=$(LINUX_DIR) \ + KVERS=$(LINUX_VERSION_PROBED) \ + DAHDI_BUILD_ALL=m \ + DAHDI_INCLUDE=$(@D)/include \ + INSTALL_MOD_DIR=dahdi + +define DAHDI_LINUX_EXTRACT_FW + $(foreach f,$(DAHDI_LINUX_FW_FILES),\ + cp $(DAHDI_LINUX_DL_DIR)/$(f) $(@D)/drivers/dahdi/firmware/$(f)$(sep)) +endef +DAHDI_LINUX_POST_EXTRACT_HOOKS += DAHDI_LINUX_EXTRACT_FW + +define DAHDI_LINUX_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CRC_CCITT) +endef + +# Need to pass the same options as for building the modules, because +# it wants to scan Linux' .config file to check whether some options +# are set or not (like CONFIG_FW_LOADER). +define DAHDI_LINUX_CONFIGURE_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + $(DAHDI_LINUX_MODULE_MAKE_OPTS) \ + prereq +endef + +define DAHDI_LINUX_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + $(DAHDI_LINUX_MODULE_MAKE_OPTS) \ + DESTDIR=$(STAGING_DIR) \ + install-include +endef + +define DAHDI_LINUX_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + $(DAHDI_LINUX_MODULE_MAKE_OPTS) \ + DESTDIR=$(TARGET_DIR) \ + install-firmware \ + install-xpp-firm +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dahdi-tools/0001-no-build-docs.patch b/buildroot-2022.02.1/package/dahdi-tools/0001-no-build-docs.patch similarity index 100% rename from buildroot-2021.05/package/dahdi-tools/0001-no-build-docs.patch rename to buildroot-2022.02.1/package/dahdi-tools/0001-no-build-docs.patch diff --git a/buildroot-2021.05/package/dahdi-tools/0002-no-perl-manpages.patch b/buildroot-2022.02.1/package/dahdi-tools/0002-no-perl-manpages.patch similarity index 100% rename from buildroot-2021.05/package/dahdi-tools/0002-no-perl-manpages.patch rename to buildroot-2022.02.1/package/dahdi-tools/0002-no-perl-manpages.patch diff --git a/buildroot-2021.05/package/dahdi-tools/Config.in b/buildroot-2022.02.1/package/dahdi-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/dahdi-tools/Config.in rename to buildroot-2022.02.1/package/dahdi-tools/Config.in diff --git a/buildroot-2022.02.1/package/dahdi-tools/dahdi-tools.hash b/buildroot-2022.02.1/package/dahdi-tools/dahdi-tools.hash new file mode 100644 index 00000000..72fa995c --- /dev/null +++ b/buildroot-2022.02.1/package/dahdi-tools/dahdi-tools.hash @@ -0,0 +1,8 @@ +# sha1 from http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases +# sha256 locally computed +sha1 fff6c8fdc72a66f81768e4f50bf55156f7cebbc4 dahdi-tools-3.1.0.tar.gz +sha256 ea852ebd274ee1cc90ff5e4ac84261b0b787b1a74e8b76ad659bc9ec4f77e67e dahdi-tools-3.1.0.tar.gz + +# License files, locally computed +sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 LICENSE +sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 LICENSE.LGPL diff --git a/buildroot-2022.02.1/package/dahdi-tools/dahdi-tools.mk b/buildroot-2022.02.1/package/dahdi-tools/dahdi-tools.mk new file mode 100644 index 00000000..fc0c591c --- /dev/null +++ b/buildroot-2022.02.1/package/dahdi-tools/dahdi-tools.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# dahdi-tools +# +################################################################################ + +DAHDI_TOOLS_VERSION = 3.1.0 +DAHDI_TOOLS_SITE = http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases + +DAHDI_TOOLS_LICENSE = GPLv2, LGPLv2.1 +DAHDI_TOOLS_LICENSE_FILES = LICENSE LICENSE.LGPL + +DAHDI_TOOLS_DEPENDENCIES = dahdi-linux perl + +DAHDI_TOOLS_INSTALL_STAGING = YES +DAHDI_TOOLS_AUTORECONF = YES + +# Buildroot globally exports PERL with the value it has on the host, so we need +# to override it with the location where it will be on the target. +DAHDI_TOOLS_CONF_ENV = PERL=/usr/bin/perl + +DAHDI_TOOLS_CONF_OPTS = \ + --without-newt \ + --without-usb \ + --without-pcap \ + --without-libusbx \ + --without-libusb \ + --without-selinux \ + --without-ppp \ + --with-perllib=/usr/lib/perl5/$(PERL_VERSION) + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dante/0001-fix-sparc-compile.patch b/buildroot-2022.02.1/package/dante/0001-fix-sparc-compile.patch similarity index 100% rename from buildroot-2021.05/package/dante/0001-fix-sparc-compile.patch rename to buildroot-2022.02.1/package/dante/0001-fix-sparc-compile.patch diff --git a/buildroot-2021.05/package/dante/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch b/buildroot-2022.02.1/package/dante/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch similarity index 100% rename from buildroot-2021.05/package/dante/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch rename to buildroot-2022.02.1/package/dante/0002-osdep-m4-Remove-getaddrinfo-too-low-checks.patch diff --git a/buildroot-2021.05/package/dante/Config.in b/buildroot-2022.02.1/package/dante/Config.in similarity index 100% rename from buildroot-2021.05/package/dante/Config.in rename to buildroot-2022.02.1/package/dante/Config.in diff --git a/buildroot-2021.05/package/dante/S50dante b/buildroot-2022.02.1/package/dante/S50dante similarity index 100% rename from buildroot-2021.05/package/dante/S50dante rename to buildroot-2022.02.1/package/dante/S50dante diff --git a/buildroot-2022.02.1/package/dante/dante.hash b/buildroot-2022.02.1/package/dante/dante.hash new file mode 100644 index 00000000..a76018fd --- /dev/null +++ b/buildroot-2022.02.1/package/dante/dante.hash @@ -0,0 +1,5 @@ +# From https://www.inet.no/dante/download.html +sha256 418a065fe1a4b8ace8fbf77c2da269a98f376e7115902e76cda7e741e4846a5d dante-1.4.3.tar.gz + +# Hash for license file +sha256 05e2db26147a8575005f090aada119ea6cb40a4382164929d647f00abef3bdfd LICENSE diff --git a/buildroot-2022.02.1/package/dante/dante.mk b/buildroot-2022.02.1/package/dante/dante.mk new file mode 100644 index 00000000..ae60252b --- /dev/null +++ b/buildroot-2022.02.1/package/dante/dante.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# dante +# +################################################################################ + +DANTE_VERSION = 1.4.3 +DANTE_SITE = http://www.inet.no/dante/files +DANTE_LICENSE = BSD-3-Clause +DANTE_LICENSE_FILES = LICENSE +DANTE_SELINUX_MODULES = dante + +# Needed so that our libtool patch applies properly +DANTE_AUTORECONF = YES + +DANTE_CONF_OPTS += --disable-client --disable-preload + +ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y) +DANTE_DEPENDENCIES += libminiupnpc +DANTE_CONF_OPTS += --with-upnp +else +DANTE_CONF_OPTS += --without-upnp +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +DANTE_DEPENDENCIES += linux-pam +DANTE_CONF_OPTS += --with-pam +else +DANTE_CONF_OPTS += --without-pam +endif + +define DANTE_INSTALL_CONFIG_FILE + $(INSTALL) -D -m 644 $(@D)/example/sockd.conf \ + $(TARGET_DIR)/etc/sockd.conf +endef + +DANTE_POST_INSTALL_TARGET_HOOKS += DANTE_INSTALL_CONFIG_FILE + +define DANTE_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/dante/dante.service \ + $(TARGET_DIR)/usr/lib/systemd/system/dante.service +endef + +define DANTE_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/dante/S50dante \ + $(TARGET_DIR)/etc/init.d/S50dante +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dante/dante.service b/buildroot-2022.02.1/package/dante/dante.service similarity index 100% rename from buildroot-2021.05/package/dante/dante.service rename to buildroot-2022.02.1/package/dante/dante.service diff --git a/buildroot-2021.05/package/daq/0001-Fix-build-against-the-musl-C-library.patch b/buildroot-2022.02.1/package/daq/0001-Fix-build-against-the-musl-C-library.patch similarity index 100% rename from buildroot-2021.05/package/daq/0001-Fix-build-against-the-musl-C-library.patch rename to buildroot-2022.02.1/package/daq/0001-Fix-build-against-the-musl-C-library.patch diff --git a/buildroot-2021.05/package/daq/0002-parallel-grammar.patch b/buildroot-2022.02.1/package/daq/0002-parallel-grammar.patch similarity index 100% rename from buildroot-2021.05/package/daq/0002-parallel-grammar.patch rename to buildroot-2022.02.1/package/daq/0002-parallel-grammar.patch diff --git a/buildroot-2021.05/package/daq/Config.in b/buildroot-2022.02.1/package/daq/Config.in similarity index 100% rename from buildroot-2021.05/package/daq/Config.in rename to buildroot-2022.02.1/package/daq/Config.in diff --git a/buildroot-2021.05/package/daq/daq.hash b/buildroot-2022.02.1/package/daq/daq.hash similarity index 100% rename from buildroot-2021.05/package/daq/daq.hash rename to buildroot-2022.02.1/package/daq/daq.hash diff --git a/buildroot-2021.05/package/daq/daq.mk b/buildroot-2022.02.1/package/daq/daq.mk similarity index 100% rename from buildroot-2021.05/package/daq/daq.mk rename to buildroot-2022.02.1/package/daq/daq.mk diff --git a/buildroot-2022.02.1/package/daq3/Config.in b/buildroot-2022.02.1/package/daq3/Config.in new file mode 100644 index 00000000..b53e5508 --- /dev/null +++ b/buildroot-2022.02.1/package/daq3/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_DAQ3 + bool "daq3" + depends on !BR2_PACKAGE_DAQ + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_TOOLCHAIN_HAS_THREADS + help + DAQ is a Data Acquisition library for packet I/O from the + Snort project. + + https://www.snort.org + +comment "daq3 needs a toolchain w/ dynamic library, gcc >= 4.9, threads" + depends on !BR2_PACKAGE_DAQ + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ + || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/daq3/daq3.hash b/buildroot-2022.02.1/package/daq3/daq3.hash new file mode 100644 index 00000000..a97f8183 --- /dev/null +++ b/buildroot-2022.02.1/package/daq3/daq3.hash @@ -0,0 +1,6 @@ +# Locally computed: +sha256 4281464c5502037669e69d314b628df863420f590c4999c5b567c8016cd1e658 daq3-3.0.5.tar.gz + +# Hash for license files: +sha256 64601289158eddad72cb4de72652f9e64dc886942c910b38ddee93ba13b0db26 COPYING +sha256 64601289158eddad72cb4de72652f9e64dc886942c910b38ddee93ba13b0db26 LICENSE diff --git a/buildroot-2022.02.1/package/daq3/daq3.mk b/buildroot-2022.02.1/package/daq3/daq3.mk new file mode 100644 index 00000000..ed97615e --- /dev/null +++ b/buildroot-2022.02.1/package/daq3/daq3.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# daq3 +# +################################################################################ + +DAQ3_VERSION = 3.0.5 +DAQ3_SITE = $(call github,snort3,libdaq,v$(DAQ3_VERSION)) +DAQ3_LICENSE = GPL-2.0 +DAQ3_LICENSE_FILES = COPYING LICENSE +DAQ3_INSTALL_STAGING = YES +DAQ3_DEPENDENCIES = host-pkgconf +# From git +DAQ3_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_LIBNETFILTER_QUEUE),y) +DAQ3_DEPENDENCIES += libnetfilter_queue +DAQ3_CONF_OPTS += --enable-nfq-module +else +DAQ3_CONF_OPTS += --disable-nfq-module +endif + +ifeq ($(BR2_PACKAGE_LIBPCAP),y) +DAQ3_DEPENDENCIES += libpcap +DAQ3_CONF_OPTS += --enable-pcap-module +else +DAQ3_CONF_OPTS += --disable-pcap-module +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/darkhttpd/0001-Declare-vars-outside-of-for-loop-for-std-c90.patch b/buildroot-2022.02.1/package/darkhttpd/0001-Declare-vars-outside-of-for-loop-for-std-c90.patch new file mode 100644 index 00000000..7584bff9 --- /dev/null +++ b/buildroot-2022.02.1/package/darkhttpd/0001-Declare-vars-outside-of-for-loop-for-std-c90.patch @@ -0,0 +1,39 @@ +From 81b491e60affd67f4ec2feccbee1cdf98dc57b81 Mon Sep 17 00:00:00 2001 +From: Emil Mikulic +Date: Sun, 21 Mar 2021 15:03:14 +1100 +Subject: [PATCH] Declare vars outside of for() loop for -std=c90. + +Fixes #2. + +[Retrieved from: +https://github.com/emikulic/darkhttpd/commit/81b491e60affd67f4ec2feccbee1cdf98dc57b81] +Signed-off-by: Fabrice Fontaine +--- + darkhttpd.c | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/darkhttpd.c b/darkhttpd.c +index 219a8a3..268628a 100644 +--- a/darkhttpd.c ++++ b/darkhttpd.c +@@ -966,8 +966,9 @@ static char *base64_encode(char *str) { + char *encoded_data = malloc(output_length+1); + if (encoded_data == NULL) return NULL; + +- for (int i = 0, j = 0; i < input_length;) { +- ++ int i; ++ int j; ++ for (i = 0, j = 0; i < input_length;) { + uint32_t octet_a = i < input_length ? (unsigned char)str[i++] : 0; + uint32_t octet_b = i < input_length ? (unsigned char)str[i++] : 0; + uint32_t octet_c = i < input_length ? (unsigned char)str[i++] : 0; +@@ -981,7 +982,7 @@ static char *base64_encode(char *str) { + } + + const int mod_table[] = {0, 2, 1}; +- for (int i = 0; i < mod_table[input_length % 3]; i++) ++ for (i = 0; i < mod_table[input_length % 3]; i++) + encoded_data[output_length - 1 - i] = '='; + encoded_data[output_length] = '\0'; + diff --git a/buildroot-2021.05/package/darkhttpd/Config.in b/buildroot-2022.02.1/package/darkhttpd/Config.in similarity index 100% rename from buildroot-2021.05/package/darkhttpd/Config.in rename to buildroot-2022.02.1/package/darkhttpd/Config.in diff --git a/buildroot-2021.05/package/darkhttpd/S50darkhttpd b/buildroot-2022.02.1/package/darkhttpd/S50darkhttpd similarity index 100% rename from buildroot-2021.05/package/darkhttpd/S50darkhttpd rename to buildroot-2022.02.1/package/darkhttpd/S50darkhttpd diff --git a/buildroot-2022.02.1/package/darkhttpd/darkhttpd.hash b/buildroot-2022.02.1/package/darkhttpd/darkhttpd.hash new file mode 100644 index 00000000..af5a2bf8 --- /dev/null +++ b/buildroot-2022.02.1/package/darkhttpd/darkhttpd.hash @@ -0,0 +1,3 @@ +# Locally generated +sha256 1d88c395ac79ca9365aa5af71afe4ad136a4ed45099ca398168d4a2014dc0fc2 darkhttpd-1.13.tar.gz +sha256 44e784df460954c7760e2eeae69aecb12a3d23ca1c0a4f6047c3c6452b2e2f49 darkhttpd.c diff --git a/buildroot-2022.02.1/package/darkhttpd/darkhttpd.mk b/buildroot-2022.02.1/package/darkhttpd/darkhttpd.mk new file mode 100644 index 00000000..56e5a6ec --- /dev/null +++ b/buildroot-2022.02.1/package/darkhttpd/darkhttpd.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# darkhttpd +# +################################################################################ + +DARKHTTPD_VERSION = 1.13 +DARKHTTPD_SITE = $(call github,emikulic,darkhttpd,v$(DARKHTTPD_VERSION)) +DARKHTTPD_LICENSE = MIT +DARKHTTPD_LICENSE_FILES = darkhttpd.c + +define DARKHTTPD_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define DARKHTTPD_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/darkhttpd \ + $(TARGET_DIR)/usr/sbin/darkhttpd +endef + +define DARKHTTPD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/darkhttpd/darkhttpd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/darkhttpd.service +endef + +define DARKHTTPD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/darkhttpd/S50darkhttpd \ + $(TARGET_DIR)/etc/init.d/S50darkhttpd +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/darkhttpd/darkhttpd.service b/buildroot-2022.02.1/package/darkhttpd/darkhttpd.service similarity index 100% rename from buildroot-2021.05/package/darkhttpd/darkhttpd.service rename to buildroot-2022.02.1/package/darkhttpd/darkhttpd.service diff --git a/buildroot-2021.05/package/dash/Config.in b/buildroot-2022.02.1/package/dash/Config.in similarity index 100% rename from buildroot-2021.05/package/dash/Config.in rename to buildroot-2022.02.1/package/dash/Config.in diff --git a/buildroot-2022.02.1/package/dash/dash.hash b/buildroot-2022.02.1/package/dash/dash.hash new file mode 100644 index 00000000..1803bcdb --- /dev/null +++ b/buildroot-2022.02.1/package/dash/dash.hash @@ -0,0 +1,4 @@ +# From http://gondor.apana.org.au/~herbert/dash/files/dash-0.5.11.5.tar.gz.sha512sum +sha512 5387e213820eeb44d812bb4697543023fd4662b51a9ffd52a702810fed8b28d23fbe35a7f371e6686107de9f81902eff109458964b4622f4c5412d60190a66bf dash-0.5.11.5.tar.gz +# Locally calculated +sha256 254a7894923ff62e69184a991dcbccae97edee58a1105e8efbe78caf10595d72 COPYING diff --git a/buildroot-2022.02.1/package/dash/dash.mk b/buildroot-2022.02.1/package/dash/dash.mk new file mode 100644 index 00000000..fed3a995 --- /dev/null +++ b/buildroot-2022.02.1/package/dash/dash.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# dash +# +################################################################################ + +DASH_VERSION = 0.5.11.5 +DASH_SITE = http://gondor.apana.org.au/~herbert/dash/files +DASH_LICENSE = BSD-3-Clause, GPL-2.0+ (mksignames.c) +DASH_LICENSE_FILES = COPYING + +# dash does not build in parallel +DASH_MAKE = $(MAKE1) + +ifeq ($(BR2_PACKAGE_LIBEDIT),y) +DASH_DEPENDENCIES += libedit host-pkgconf +DASH_CONF_OPTS += --with-libedit +DASH_CONF_ENV += LIBS=`pkg-config --libs libedit` + +# Enable line editing, Emacs style +define DASH_INSTALL_PROFILE + mkdir -p $(TARGET_DIR)/etc/profile.d + echo 'set -E' > $(TARGET_DIR)/etc/profile.d/dash.sh +endef +DASH_POST_INSTALL_TARGET_HOOKS += DASH_INSTALL_PROFILE +else +DASH_CONF_OPTS += --without-libedit +endif + +define DASH_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/src/dash $(TARGET_DIR)/bin/dash +endef + +# Add /bin/dash to /etc/shells otherwise some login tools like dropbear +# can reject the user connection. See man shells. +define DASH_ADD_DASH_TO_SHELLS + grep -qsE '^/bin/dash$$' $(TARGET_DIR)/etc/shells \ + || echo "/bin/dash" >> $(TARGET_DIR)/etc/shells +endef +DASH_TARGET_FINALIZE_HOOKS += DASH_ADD_DASH_TO_SHELLS + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/datatables-buttons/Config.in b/buildroot-2022.02.1/package/datatables-buttons/Config.in similarity index 100% rename from buildroot-2021.05/package/datatables-buttons/Config.in rename to buildroot-2022.02.1/package/datatables-buttons/Config.in diff --git a/buildroot-2021.05/package/datatables-buttons/datatables-buttons.hash b/buildroot-2022.02.1/package/datatables-buttons/datatables-buttons.hash similarity index 100% rename from buildroot-2021.05/package/datatables-buttons/datatables-buttons.hash rename to buildroot-2022.02.1/package/datatables-buttons/datatables-buttons.hash diff --git a/buildroot-2021.05/package/datatables-buttons/datatables-buttons.mk b/buildroot-2022.02.1/package/datatables-buttons/datatables-buttons.mk similarity index 100% rename from buildroot-2021.05/package/datatables-buttons/datatables-buttons.mk rename to buildroot-2022.02.1/package/datatables-buttons/datatables-buttons.mk diff --git a/buildroot-2021.05/package/datatables-fixedcolumns/Config.in b/buildroot-2022.02.1/package/datatables-fixedcolumns/Config.in similarity index 100% rename from buildroot-2021.05/package/datatables-fixedcolumns/Config.in rename to buildroot-2022.02.1/package/datatables-fixedcolumns/Config.in diff --git a/buildroot-2021.05/package/datatables-fixedcolumns/datatables-fixedcolumns.hash b/buildroot-2022.02.1/package/datatables-fixedcolumns/datatables-fixedcolumns.hash similarity index 100% rename from buildroot-2021.05/package/datatables-fixedcolumns/datatables-fixedcolumns.hash rename to buildroot-2022.02.1/package/datatables-fixedcolumns/datatables-fixedcolumns.hash diff --git a/buildroot-2022.02.1/package/datatables-fixedcolumns/datatables-fixedcolumns.mk b/buildroot-2022.02.1/package/datatables-fixedcolumns/datatables-fixedcolumns.mk new file mode 100644 index 00000000..33174e10 --- /dev/null +++ b/buildroot-2022.02.1/package/datatables-fixedcolumns/datatables-fixedcolumns.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# datatables-fixedcolumns +# +################################################################################ + +DATATABLES_FIXEDCOLUMNS_VERSION = 3.3.0 +DATATABLES_FIXEDCOLUMNS_SITE = https://datatables.net/releases +DATATABLES_FIXEDCOLUMNS_SOURCE = FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION).zip +DATATABLES_FIXEDCOLUMNS_LICENSE = MIT +DATATABLES_FIXEDCOLUMNS_LICENSE_FILES = License.txt + +define DATATABLES_FIXEDCOLUMNS_EXTRACT_CMDS + $(UNZIP) $(DATATABLES_FIXEDCOLUMNS_DL_DIR)/$(DATATABLES_FIXEDCOLUMNS_SOURCE) -d $(@D) + mv $(@D)/FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION)/* $(@D) + rmdir $(@D)/FixedColumns-$(DATATABLES_FIXEDCOLUMNS_VERSION) +endef + +define DATATABLES_FIXEDCOLUMNS_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-fixedcolumns/css $(TARGET_DIR)/var/www/datatables-fixedcolumns/js + $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-fixedcolumns/css $(@D)/css/*.min.css + $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-fixedcolumns/js $(@D)/js/*.min.js +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/datatables-responsive/Config.in b/buildroot-2022.02.1/package/datatables-responsive/Config.in similarity index 100% rename from buildroot-2021.05/package/datatables-responsive/Config.in rename to buildroot-2022.02.1/package/datatables-responsive/Config.in diff --git a/buildroot-2021.05/package/datatables-responsive/datatables-responsive.hash b/buildroot-2022.02.1/package/datatables-responsive/datatables-responsive.hash similarity index 100% rename from buildroot-2021.05/package/datatables-responsive/datatables-responsive.hash rename to buildroot-2022.02.1/package/datatables-responsive/datatables-responsive.hash diff --git a/buildroot-2022.02.1/package/datatables-responsive/datatables-responsive.mk b/buildroot-2022.02.1/package/datatables-responsive/datatables-responsive.mk new file mode 100644 index 00000000..2809a522 --- /dev/null +++ b/buildroot-2022.02.1/package/datatables-responsive/datatables-responsive.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# datatables-responsive +# +################################################################################ + +DATATABLES_RESPONSIVE_VERSION = 2.2.3 +DATATABLES_RESPONSIVE_SITE = https://datatables.net/releases +DATATABLES_RESPONSIVE_SOURCE = Responsive-$(DATATABLES_RESPONSIVE_VERSION).zip +DATATABLES_RESPONSIVE_LICENSE = MIT +DATATABLES_RESPONSIVE_LICENSE_FILES = License.txt + +define DATATABLES_RESPONSIVE_EXTRACT_CMDS + $(UNZIP) $(DATATABLES_RESPONSIVE_DL_DIR)/$(DATATABLES_RESPONSIVE_SOURCE) -d $(@D) + mv $(@D)/Responsive-$(DATATABLES_RESPONSIVE_VERSION)/* $(@D) + rmdir $(@D)/Responsive-$(DATATABLES_RESPONSIVE_VERSION) +endef + +define DATATABLES_RESPONSIVE_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables-responsive/css $(TARGET_DIR)/var/www/datatables-responsive/js + $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-responsive/css $(@D)/css/*.min.css + $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables-responsive/js $(@D)/js/*.min.js +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/datatables/Config.in b/buildroot-2022.02.1/package/datatables/Config.in similarity index 100% rename from buildroot-2021.05/package/datatables/Config.in rename to buildroot-2022.02.1/package/datatables/Config.in diff --git a/buildroot-2021.05/package/datatables/datatables.hash b/buildroot-2022.02.1/package/datatables/datatables.hash similarity index 100% rename from buildroot-2021.05/package/datatables/datatables.hash rename to buildroot-2022.02.1/package/datatables/datatables.hash diff --git a/buildroot-2022.02.1/package/datatables/datatables.mk b/buildroot-2022.02.1/package/datatables/datatables.mk new file mode 100644 index 00000000..c20cdf12 --- /dev/null +++ b/buildroot-2022.02.1/package/datatables/datatables.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# datatables +# +################################################################################ + +DATATABLES_VERSION = 1.10.20 +DATATABLES_SITE = https://datatables.net/releases +DATATABLES_SOURCE = DataTables-$(DATATABLES_VERSION).zip +DATATABLES_LICENSE = MIT +DATATABLES_LICENSE_FILES = license.txt + +define DATATABLES_EXTRACT_CMDS + $(UNZIP) $(DATATABLES_DL_DIR)/$(DATATABLES_SOURCE) -d $(@D) + mv $(@D)/DataTables-$(DATATABLES_VERSION)/* $(@D) + rmdir $(@D)/DataTables-$(DATATABLES_VERSION) +endef + +define DATATABLES_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -d $(TARGET_DIR)/var/www/datatables/css $(TARGET_DIR)/var/www/datatables/js + $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/css $(@D)/media/css/*.min.css + $(INSTALL) -m 0644 -t $(TARGET_DIR)/var/www/datatables/js $(@D)/media/js/*.min.js +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dav1d/Config.in b/buildroot-2022.02.1/package/dav1d/Config.in similarity index 100% rename from buildroot-2021.05/package/dav1d/Config.in rename to buildroot-2022.02.1/package/dav1d/Config.in diff --git a/buildroot-2022.02.1/package/dav1d/dav1d.hash b/buildroot-2022.02.1/package/dav1d/dav1d.hash new file mode 100644 index 00000000..5e838b09 --- /dev/null +++ b/buildroot-2022.02.1/package/dav1d/dav1d.hash @@ -0,0 +1,4 @@ +# From http://download.videolan.org/pub/videolan/dav1d/0.9.2/dav1d-0.9.2.tar.xz.sha256 +sha256 e3235ab6c43c0135b0db1d131e1923fad4c84db9d85683e30b91b33a52d61c71 dav1d-0.9.2.tar.xz +# Locally computed +sha256 b327887de263238deaa80c34cdd2ff3e0ba1d35db585ce14a37ce3e74ee389e9 COPYING diff --git a/buildroot-2022.02.1/package/dav1d/dav1d.mk b/buildroot-2022.02.1/package/dav1d/dav1d.mk new file mode 100644 index 00000000..ecc4cc55 --- /dev/null +++ b/buildroot-2022.02.1/package/dav1d/dav1d.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# dav1d +# +################################################################################ + +DAV1D_VERSION = 0.9.2 +DAV1D_SOURCE = dav1d-$(DAV1D_VERSION).tar.xz +DAV1D_SITE = http://download.videolan.org/pub/videolan/dav1d/$(DAV1D_VERSION) +DAV1D_LICENSE = BSD-2-Clause +DAV1D_LICENSE_FILES = COPYING +DAV1D_INSTALL_STAGING = YES +DAV1D_CONF_OPTS = \ + -Denable_tests=false \ + -Denable_tools=false + +ifeq ($(BR2_i386)$(BR2_x86_64),y) +DAV1D_DEPENDENCIES += host-nasm +endif + +# ARM assembly requires v6+ ISA +ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y) +DAV1D_CONF_OPTS += -Denable_asm=false +endif + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DAV1D_LDFLAGS += $(TARGET_LDFLAGS) -latomic +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/davfs2/0001-src-Makefile.am-do-not-hardcode-fstack-protector-str.patch b/buildroot-2022.02.1/package/davfs2/0001-src-Makefile.am-do-not-hardcode-fstack-protector-str.patch similarity index 100% rename from buildroot-2021.05/package/davfs2/0001-src-Makefile.am-do-not-hardcode-fstack-protector-str.patch rename to buildroot-2022.02.1/package/davfs2/0001-src-Makefile.am-do-not-hardcode-fstack-protector-str.patch diff --git a/buildroot-2021.05/package/davfs2/Config.in b/buildroot-2022.02.1/package/davfs2/Config.in similarity index 100% rename from buildroot-2021.05/package/davfs2/Config.in rename to buildroot-2022.02.1/package/davfs2/Config.in diff --git a/buildroot-2022.02.1/package/davfs2/davfs2.hash b/buildroot-2022.02.1/package/davfs2/davfs2.hash new file mode 100644 index 00000000..a555779d --- /dev/null +++ b/buildroot-2022.02.1/package/davfs2/davfs2.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 ce3eb948ece582a51c934ccb0cc70e659839172717caff173f69a5e2af90c5c0 davfs2-1.6.1.tar.gz +# License file, locally calculated +sha256 0ae0485a5bd37a63e63603596417e4eb0e653334fa6c7f932ca3a0e85d4af227 COPYING diff --git a/buildroot-2022.02.1/package/davfs2/davfs2.mk b/buildroot-2022.02.1/package/davfs2/davfs2.mk new file mode 100644 index 00000000..42192faa --- /dev/null +++ b/buildroot-2022.02.1/package/davfs2/davfs2.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# davfs2 +# +################################################################################ + +DAVFS2_VERSION = 1.6.1 +DAVFS2_SITE = http://download.savannah.nongnu.org/releases/davfs2 +DAVFS2_LICENSE = GPL-3.0+ +DAVFS2_LICENSE_FILES = COPYING +DAVFS2_CPE_ID_VENDOR = werner_baumann + +DAVFS2_DEPENDENCIES = \ + neon \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ + $(TARGET_NLS_DEPENDENCIES) + +DAVFS2_CONF_ENV += \ + ac_cv_path_NEON_CONFIG=$(STAGING_DIR)/usr/bin/neon-config \ + LIBS=$(TARGET_NLS_LIBS) + +define DAVFS2_USERS + davfs2 -1 davfs2 -1 * - - - davfs user +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/davici/Config.in b/buildroot-2022.02.1/package/davici/Config.in similarity index 100% rename from buildroot-2021.05/package/davici/Config.in rename to buildroot-2022.02.1/package/davici/Config.in diff --git a/buildroot-2022.02.1/package/davici/davici.hash b/buildroot-2022.02.1/package/davici/davici.hash new file mode 100644 index 00000000..27ec2a6d --- /dev/null +++ b/buildroot-2022.02.1/package/davici/davici.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b03c5a1aad905e962271d70246d6af6c337ffd00449d990082ea02161327bde8 davici-1.4.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/davici/davici.mk b/buildroot-2022.02.1/package/davici/davici.mk new file mode 100644 index 00000000..d54e02e2 --- /dev/null +++ b/buildroot-2022.02.1/package/davici/davici.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# davici +# +################################################################################ + +DAVICI_VERSION = 1.4 +DAVICI_SITE = $(call github,strongswan,davici,v$(DAVICI_VERSION)) +DAVICI_LICENSE = LGPL-2.1+ +DAVICI_LICENSE_FILES = COPYING +DAVICI_CPE_ID_VENDOR = strongswan +DAVICI_DEPENDENCIES = strongswan +DAVICI_INSTALL_STAGING = YES +DAVICI_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/davinci-bootcount/Config.in b/buildroot-2022.02.1/package/davinci-bootcount/Config.in new file mode 100644 index 00000000..e34adde5 --- /dev/null +++ b/buildroot-2022.02.1/package/davinci-bootcount/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_DAVINCI_BOOTCOUNT + bool "davinci-bootcount" + depends on BR2_arm # only relevant for TI am335x + help + U-Boot implements a boot count scheme that can be used to + detect multiple failed attempts to boot Linux. On Davinci + platform (TI AM 335x) the `bootcount' is stored in the RTC + SCRATCH2 register. This tool allows to read and write this + register from userspace. + + https://github.com/VoltServer/uboot-davinci-bootcount diff --git a/buildroot-2022.02.1/package/davinci-bootcount/davinci-bootcount.hash b/buildroot-2022.02.1/package/davinci-bootcount/davinci-bootcount.hash new file mode 100644 index 00000000..ef4bca2b --- /dev/null +++ b/buildroot-2022.02.1/package/davinci-bootcount/davinci-bootcount.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 de7843cf1245a739b6d18d4db478893e50c2de0ee19bbce96dc323065d28c3e4 davinci-bootcount-0973689c7556a953d2b468e4d8d46758c6d467b4.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/davinci-bootcount/davinci-bootcount.mk b/buildroot-2022.02.1/package/davinci-bootcount/davinci-bootcount.mk new file mode 100644 index 00000000..385d96d5 --- /dev/null +++ b/buildroot-2022.02.1/package/davinci-bootcount/davinci-bootcount.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# davinci-bootcount +# +################################################################################ + +DAVINCI_BOOTCOUNT_VERSION = 0973689c7556a953d2b468e4d8d46758c6d467b4 +DAVINCI_BOOTCOUNT_SITE = $(call github,VoltServer,uboot-davinci-bootcount,$(DAVINCI_BOOTCOUNT_VERSION)) +DAVINCI_BOOTCOUNT_LICENSE = GPL-3.0 +DAVINCI_BOOTCOUNT_LICENSE_FILES = COPYING + +# sources fetched from github, no configure script +DAVINCI_BOOTCOUNT_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dawgdic/Config.in b/buildroot-2022.02.1/package/dawgdic/Config.in similarity index 100% rename from buildroot-2021.05/package/dawgdic/Config.in rename to buildroot-2022.02.1/package/dawgdic/Config.in diff --git a/buildroot-2021.05/package/dawgdic/dawgdic.hash b/buildroot-2022.02.1/package/dawgdic/dawgdic.hash similarity index 100% rename from buildroot-2021.05/package/dawgdic/dawgdic.hash rename to buildroot-2022.02.1/package/dawgdic/dawgdic.hash diff --git a/buildroot-2021.05/package/dawgdic/dawgdic.mk b/buildroot-2022.02.1/package/dawgdic/dawgdic.mk similarity index 100% rename from buildroot-2021.05/package/dawgdic/dawgdic.mk rename to buildroot-2022.02.1/package/dawgdic/dawgdic.mk diff --git a/buildroot-2021.05/package/dbus-cpp/0001-gcc4.7.patch b/buildroot-2022.02.1/package/dbus-cpp/0001-gcc4.7.patch similarity index 100% rename from buildroot-2021.05/package/dbus-cpp/0001-gcc4.7.patch rename to buildroot-2022.02.1/package/dbus-cpp/0001-gcc4.7.patch diff --git a/buildroot-2021.05/package/dbus-cpp/0002-cross-compile-tools.patch b/buildroot-2022.02.1/package/dbus-cpp/0002-cross-compile-tools.patch similarity index 100% rename from buildroot-2021.05/package/dbus-cpp/0002-cross-compile-tools.patch rename to buildroot-2022.02.1/package/dbus-cpp/0002-cross-compile-tools.patch diff --git a/buildroot-2021.05/package/dbus-cpp/0003-src-pipe.c-fix-build-error-with-gcc-7.x.patch b/buildroot-2022.02.1/package/dbus-cpp/0003-src-pipe.c-fix-build-error-with-gcc-7.x.patch similarity index 100% rename from buildroot-2021.05/package/dbus-cpp/0003-src-pipe.c-fix-build-error-with-gcc-7.x.patch rename to buildroot-2022.02.1/package/dbus-cpp/0003-src-pipe.c-fix-build-error-with-gcc-7.x.patch diff --git a/buildroot-2021.05/package/dbus-cpp/Config.in b/buildroot-2022.02.1/package/dbus-cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/dbus-cpp/Config.in rename to buildroot-2022.02.1/package/dbus-cpp/Config.in diff --git a/buildroot-2021.05/package/dbus-cpp/dbus-cpp.hash b/buildroot-2022.02.1/package/dbus-cpp/dbus-cpp.hash similarity index 100% rename from buildroot-2021.05/package/dbus-cpp/dbus-cpp.hash rename to buildroot-2022.02.1/package/dbus-cpp/dbus-cpp.hash diff --git a/buildroot-2021.05/package/dbus-cpp/dbus-cpp.mk b/buildroot-2022.02.1/package/dbus-cpp/dbus-cpp.mk similarity index 100% rename from buildroot-2021.05/package/dbus-cpp/dbus-cpp.mk rename to buildroot-2022.02.1/package/dbus-cpp/dbus-cpp.mk diff --git a/buildroot-2022.02.1/package/dbus-cxx/0001-gcc11-include-typeinfo.patch b/buildroot-2022.02.1/package/dbus-cxx/0001-gcc11-include-typeinfo.patch new file mode 100644 index 00000000..b4b7d83d --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-cxx/0001-gcc11-include-typeinfo.patch @@ -0,0 +1,29 @@ +From 0a4c5db225d8d213916655593471e303ba71e0ea Mon Sep 17 00:00:00 2001 +From: Oleksandr Kravchuk +Date: Mon, 13 Dec 2021 03:42:44 +0100 +Subject: [PATCH] Include typeinfo for typeid() (#83) + +Otherwise fails with: + error: must '#include ' before using 'typeid' + +Fetch from: https://github.com/dbus-cxx/dbus-cxx/pull/83 +Upstream-Status: Accepted +Signed-off-by: Daniel Lang + +--- + dbus-cxx/demangle.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/dbus-cxx/demangle.h b/dbus-cxx/demangle.h +index b71bcb9..9a4e99b 100644 +--- a/dbus-cxx/demangle.h ++++ b/dbus-cxx/demangle.h +@@ -21,6 +21,7 @@ + #define DBUSCXX_DEMANGLE_H + + #include ++#include + #include + + #if DBUS_CXX_HAS_CXXABI_H + diff --git a/buildroot-2022.02.1/package/dbus-cxx/0002-cmake-improve-include-paths.patch b/buildroot-2022.02.1/package/dbus-cxx/0002-cmake-improve-include-paths.patch new file mode 100644 index 00000000..1f6a36a2 --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-cxx/0002-cmake-improve-include-paths.patch @@ -0,0 +1,91 @@ +From 5a0ebbf55515a928acf9926d3fcd789115e347d3 Mon Sep 17 00:00:00 2001 +From: Lang Daniel +Date: Mon, 17 Jan 2022 13:57:55 +0100 +Subject: [PATCH] cmake: improve include paths + +Adding the dbus-cxx subfolders as an include path might override system +headers (signal.h for gcc 10). +By removing the subfolders, includes can happen via #include "..." or +via #include . + +Fetch from: https://github.com/dbus-cxx/dbus-cxx/pull/86 +Upstream-Status: Accepted +Signed-off-by: Daniel Lang + +--- + CMakeLists.txt | 4 +--- + dbus-cxx/matchrule.h | 2 +- + dbus-cxx/sasl.h | 2 +- + dbus-cxx/sendmsgtransport.cpp | 2 +- + dbus-cxx/simpletransport.cpp | 2 +- + 5 files changed, 5 insertions(+), 7 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5b6d28c..e76cd61 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -207,9 +207,7 @@ set( DBUS_CXX_HEADERS + + set( DBUS_CXX_INCLUDE_DIRECTORIES + ${PROJECT_SOURCE_DIR} +- ${PROJECT_SOURCE_DIR}/dbus-cxx +- ${PROJECT_BINARY_DIR} +- ${PROJECT_BINARY_DIR}/dbus-cxx ) ++ ${PROJECT_BINARY_DIR} ) + include_directories( ${DBUS_CXX_INCLUDE_DIRECTORIES} + ${dbus_INCLUDE_DIRS} + ${sigc_INCLUDE_DIRS} ) +diff --git a/dbus-cxx/matchrule.h b/dbus-cxx/matchrule.h +index 69fdab7..18c9e81 100644 +--- a/dbus-cxx/matchrule.h ++++ b/dbus-cxx/matchrule.h +@@ -20,7 +20,7 @@ + #define DBUSCXX_MATCH_RULE_H + + #include +-#include "dbus-cxx-config.h" ++#include + + namespace DBus { + +diff --git a/dbus-cxx/sasl.h b/dbus-cxx/sasl.h +index d7429a3..44edd6e 100644 +--- a/dbus-cxx/sasl.h ++++ b/dbus-cxx/sasl.h +@@ -19,7 +19,7 @@ + #ifndef DBUSCXX_SASL_H + #define DBUSCXX_SASL_H + +-#include ++#include + + #include + #include +diff --git a/dbus-cxx/sendmsgtransport.cpp b/dbus-cxx/sendmsgtransport.cpp +index ae053ff..a10ae66 100644 +--- a/dbus-cxx/sendmsgtransport.cpp ++++ b/dbus-cxx/sendmsgtransport.cpp +@@ -21,8 +21,8 @@ + #include "dbus-cxx-private.h" + #include "utility.h" + #include "validator.h" ++#include "message.h" + +-#include + #include + #include + #include +diff --git a/dbus-cxx/simpletransport.cpp b/dbus-cxx/simpletransport.cpp +index f291d9f..fed4364 100644 +--- a/dbus-cxx/simpletransport.cpp ++++ b/dbus-cxx/simpletransport.cpp +@@ -18,7 +18,7 @@ + ***************************************************************************/ + #include "simpletransport.h" + +-#include ++#include "dbus-cxx-private.h" + #include "demarshaling.h" + #include "message.h" + #include "utility.h" + diff --git a/buildroot-2022.02.1/package/dbus-cxx/0003-sasl-use-uid_t.patch b/buildroot-2022.02.1/package/dbus-cxx/0003-sasl-use-uid_t.patch new file mode 100644 index 00000000..f08769b6 --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-cxx/0003-sasl-use-uid_t.patch @@ -0,0 +1,41 @@ +From 9db9673c0c2407e18e215844adadbd4a397e6f78 Mon Sep 17 00:00:00 2001 +From: Lang Daniel +Date: Fri, 28 Jan 2022 07:53:13 +0100 +Subject: [PATCH] use uid_t instead of __uid_t + +uclibc and glibc define getuid() as +extern __uid_t getuid (void) __THROW; +https://elixir.bootlin.com/glibc/glibc-2.34/source/posix/unistd.h#L698 +which is a typedef for unsigned int. + +musl uses uid_t as return type +uid_t getuid(void); +https://elixir.bootlin.com/musl/v1.2.2/source/include/unistd.h#L108 +which is a typedef to unsigned. + +glibc and uclibc include typedefs from __uid_t to uid_t, +which means one should be able to use uid_t as a replacement +for __uid_t and make compiling with all three c standard libraries +possible. + +Fetch from: https://github.com/dbus-cxx/dbus-cxx/pull/87 +Signed-off-by: Daniel Lang + +--- + dbus-cxx/sasl.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dbus-cxx/sasl.cpp b/dbus-cxx/sasl.cpp +index e8a6060..7a76af6 100644 +--- a/dbus-cxx/sasl.cpp ++++ b/dbus-cxx/sasl.cpp +@@ -70,7 +70,7 @@ std::tuple> SASL::authenticate() { + bool success = false; + bool negotiatedFD = false; + std::vector serverGUID; +- __uid_t uid = getuid(); ++ uid_t uid = getuid(); + std::string line; + std::smatch regex_match; + + diff --git a/buildroot-2022.02.1/package/dbus-cxx/Config.in b/buildroot-2022.02.1/package/dbus-cxx/Config.in new file mode 100644 index 00000000..1892f73a --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-cxx/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_DBUS_CXX + bool "dbus-cxx" + depends on BR2_USE_MMU # dbus + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_DBUS # runtime + select BR2_PACKAGE_LIBSIGC + help + DBus-cxx is a C++ implementation for DBus. DBus is a + Linux-specific RPC (remote procedure call) and + IPC (inter-process communications) mechanism. + DBus-cxx provides an object-oriented view of all programs + on the DBus, and allows an object-oriented way of + exporting methods onto the DBus. + + https://dbus-cxx.github.io/ + +comment "dbus-cxx needs a toolchain w/ C++, threads, gcc >= 7 and dynamic library support" + depends on BR2_USE_MMU # dbus + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 diff --git a/buildroot-2022.02.1/package/dbus-cxx/dbus-cxx.hash b/buildroot-2022.02.1/package/dbus-cxx/dbus-cxx.hash new file mode 100644 index 00000000..907de186 --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-cxx/dbus-cxx.hash @@ -0,0 +1,5 @@ +# Locally computed: +sha256 05c4f4750261f09819564bb8ee93b5d7f56fd05bbcd755858860fa6697d09c2a dbus-cxx-2.1.0.tar.gz +sha256 e85e018c8ee7d4f439b097289bf4371f6fcfec24e89f3e77c422944501bc383d COPYING +sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 cmake-modules/LICENSE_1_0.txt +sha256 c6596eb7be8581c18be736c846fb9173b69eccf6ef94c5135893ec56bd92ba08 tools/libcppgenerate/LICENSE diff --git a/buildroot-2022.02.1/package/dbus-cxx/dbus-cxx.mk b/buildroot-2022.02.1/package/dbus-cxx/dbus-cxx.mk new file mode 100644 index 00000000..3e89fc9d --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-cxx/dbus-cxx.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# dbus-cxx +# +################################################################################ + +DBUS_CXX_VERSION = 2.1.0 +DBUS_CXX_SITE = $(call github,dbus-cxx,dbus-cxx,$(DBUS_CXX_VERSION)) +DBUS_CXX_LICENSE = GPL-3.0, Boost license (cmake-modules), Apache 2.0 (libcppgenerate) +DBUS_CXX_LICENSE_FILES = COPYING cmake-modules/LICENSE_1_0.txt tools/libcppgenerate/LICENSE +DBUS_CXX_INSTALL_STAGING = YES +DBUS_CXX_DEPENDENCIES = libsigc + +ifeq ($(BR2_PACKAGE_QT5BASE),y) +DBUS_CXX_CONF_OPTS += -DENABLE_QT_SUPPORT=ON +DBUS_CXX_DEPENDENCIES += qt5base +else +DBUS_CXX_CONF_OPTS += -DENABLE_QT_SUPPORT=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +DBUS_CXX_CONF_OPTS += -DENABLE_GLIB_SUPPORT=ON +DBUS_CXX_DEPENDENCIES += libglib2 +else +DBUS_CXX_CONF_OPTS += -DENABLE_GLIB_SUPPORT=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/dbus-glib/Config.in b/buildroot-2022.02.1/package/dbus-glib/Config.in similarity index 100% rename from buildroot-2021.05/package/dbus-glib/Config.in rename to buildroot-2022.02.1/package/dbus-glib/Config.in diff --git a/buildroot-2022.02.1/package/dbus-glib/dbus-glib.hash b/buildroot-2022.02.1/package/dbus-glib/dbus-glib.hash new file mode 100644 index 00000000..072dde3d --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-glib/dbus-glib.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 7d550dccdfcd286e33895501829ed971eeb65c614e73aadb4a08aeef719b143a dbus-glib-0.112.tar.gz + +# Locally calculated +sha256 589bc300214a8b9ecd121f51570fe6342617487fd8fc0fb1f4ec26a13d5b96f8 COPYING diff --git a/buildroot-2022.02.1/package/dbus-glib/dbus-glib.mk b/buildroot-2022.02.1/package/dbus-glib/dbus-glib.mk new file mode 100644 index 00000000..0d247e1d --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-glib/dbus-glib.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# dbus-glib +# +################################################################################ + +DBUS_GLIB_VERSION = 0.112 +DBUS_GLIB_SITE = http://dbus.freedesktop.org/releases/dbus-glib +DBUS_GLIB_INSTALL_STAGING = YES +DBUS_GLIB_LICENSE = AFL-2.1 or GPL-2.0+ +DBUS_GLIB_LICENSE_FILES = COPYING +DBUS_GLIB_CPE_ID_VENDOR = freedesktop + +DBUS_GLIB_CONF_ENV = \ + ac_cv_have_abstract_sockets=yes \ + ac_cv_func_posix_getpwnam_r=yes \ + have_abstract_sockets=yes + +DBUS_GLIB_CONF_OPTS = \ + --disable-tests \ + --disable-xml-docs \ + --with-introspect-xml=$(DBUS_HOST_INTROSPECT) \ + --with-dbus-binding-tool=$(DBUS_GLIB_HOST_BINARY) \ + --disable-bash-completion \ + --disable-doxygen-docs \ + --enable-asserts=yes + +DBUS_GLIB_DEPENDENCIES = host-pkgconf dbus host-dbus host-dbus-glib libglib2 expat + +HOST_DBUS_GLIB_DEPENDENCIES = host-dbus host-expat host-libglib2 + +HOST_DBUS_GLIB_CONF_OPTS = \ + --disable-tests \ + --disable-xml-docs \ + --disable-bash-completion \ + --disable-doxygen-docs \ + --enable-asserts=yes + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) + +# dbus-glib for the host +DBUS_GLIB_HOST_BINARY = $(HOST_DIR)/bin/dbus-binding-tool diff --git a/buildroot-2022.02.1/package/dbus-python/Config.in b/buildroot-2022.02.1/package/dbus-python/Config.in new file mode 100644 index 00000000..76453e16 --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-python/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_DBUS_PYTHON + bool "dbus-python" + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_PACKAGE_DBUS + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + help + Python bindings for D-Bus + + http://dbus.freedesktop.org/doc/dbus-python/ + +comment "dbus-python needs a toolchain w/ wchar, threads" + depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON3 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/dbus-python/Config.in.host b/buildroot-2022.02.1/package/dbus-python/Config.in.host similarity index 100% rename from buildroot-2021.05/package/dbus-python/Config.in.host rename to buildroot-2022.02.1/package/dbus-python/Config.in.host diff --git a/buildroot-2022.02.1/package/dbus-python/dbus-python.hash b/buildroot-2022.02.1/package/dbus-python/dbus-python.hash new file mode 100644 index 00000000..8d1609de --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-python/dbus-python.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +sha256 92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260 dbus-python-1.2.18.tar.gz + +# Locally calculated +sha256 1e4562245383fdb5203b1769789e5b28bba21af4923aea7e8b2614f7f93623c0 COPYING +sha256 064523e3ab64d6f03904132b2cc4a1bd8500586edb4cd050c2ff2b96aed4c33b dbus-gmain/COPYING diff --git a/buildroot-2022.02.1/package/dbus-python/dbus-python.mk b/buildroot-2022.02.1/package/dbus-python/dbus-python.mk new file mode 100644 index 00000000..d9bb30ed --- /dev/null +++ b/buildroot-2022.02.1/package/dbus-python/dbus-python.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# dbus-python +# +################################################################################ + +DBUS_PYTHON_VERSION = 1.2.18 +DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python +DBUS_PYTHON_INSTALL_STAGING = YES +DBUS_PYTHON_LICENSE = MIT (dbus-python), AFL-2.1 or GPL-2.0+ (dbus-gmain) +DBUS_PYTHON_LICENSE_FILES = COPYING dbus-gmain/COPYING +DBUS_PYTHON_DEPENDENCIES = dbus libglib2 python3 host-python3 +HOST_DBUS_PYTHON_DEPENDENCIES = host-dbus host-libglib2 host-python3 + +DBUS_PYTHON_CONF_ENV = \ + PYTHON=$(HOST_DIR)/bin/python3 \ + PYTHON_INCLUDES="`$(STAGING_DIR)/usr/bin/python3-config --includes`" \ + PYTHON_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --ldflags`" \ + PYTHON_EXTRA_LIBS="`$(STAGING_DIR)/usr/bin/python3-config --libs --embed`" + +HOST_DBUS_PYTHON_CONF_ENV = \ + PYTHON=$(HOST_DIR)/bin/python3 \ + PYTHON_INCLUDES="`$(HOST_DIR)/usr/bin/python3-config --includes`" \ + PYTHON_LIBS="`$(HOST_DIR)/usr/bin/python3-config --ldflags`" \ + PYTHON_EXTRA_LIBS="`$(HOST_DIR)/usr/bin/python3-config --libs --embed`" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dbus-triggerd/Config.in b/buildroot-2022.02.1/package/dbus-triggerd/Config.in similarity index 100% rename from buildroot-2021.05/package/dbus-triggerd/Config.in rename to buildroot-2022.02.1/package/dbus-triggerd/Config.in diff --git a/buildroot-2021.05/package/dbus-triggerd/dbus-triggerd.hash b/buildroot-2022.02.1/package/dbus-triggerd/dbus-triggerd.hash similarity index 100% rename from buildroot-2021.05/package/dbus-triggerd/dbus-triggerd.hash rename to buildroot-2022.02.1/package/dbus-triggerd/dbus-triggerd.hash diff --git a/buildroot-2021.05/package/dbus-triggerd/dbus-triggerd.mk b/buildroot-2022.02.1/package/dbus-triggerd/dbus-triggerd.mk similarity index 100% rename from buildroot-2021.05/package/dbus-triggerd/dbus-triggerd.mk rename to buildroot-2022.02.1/package/dbus-triggerd/dbus-triggerd.mk diff --git a/buildroot-2021.05/package/dbus/Config.in b/buildroot-2022.02.1/package/dbus/Config.in similarity index 100% rename from buildroot-2021.05/package/dbus/Config.in rename to buildroot-2022.02.1/package/dbus/Config.in diff --git a/buildroot-2021.05/package/dbus/S30dbus b/buildroot-2022.02.1/package/dbus/S30dbus similarity index 100% rename from buildroot-2021.05/package/dbus/S30dbus rename to buildroot-2022.02.1/package/dbus/S30dbus diff --git a/buildroot-2022.02.1/package/dbus/dbus.hash b/buildroot-2022.02.1/package/dbus/dbus.hash new file mode 100644 index 00000000..176396fe --- /dev/null +++ b/buildroot-2022.02.1/package/dbus/dbus.hash @@ -0,0 +1,7 @@ +# Locally calculated after checking pgp signature +# https://dbus.freedesktop.org/releases/dbus/dbus-1.12.22.tar.gz.asc +# using key 36EC5A6448A4F5EF79BEFE98E05AE1478F814C4F +sha256 8d25785c798ec4f892e6f9d177fb0ceeb8b29867b119798f9d5228561d3ad474 dbus-1.12.22.tar.gz + +# Locally calculated +sha256 0e46f54efb12d04ab5c33713bacd0e140c9a35b57ae29e03c853203266e8f3a1 COPYING diff --git a/buildroot-2022.02.1/package/dbus/dbus.mk b/buildroot-2022.02.1/package/dbus/dbus.mk new file mode 100644 index 00000000..de447d86 --- /dev/null +++ b/buildroot-2022.02.1/package/dbus/dbus.mk @@ -0,0 +1,125 @@ +################################################################################ +# +# dbus +# +################################################################################ + +DBUS_VERSION = 1.12.22 +DBUS_SITE = https://dbus.freedesktop.org/releases/dbus +DBUS_LICENSE = AFL-2.1 or GPL-2.0+ (library, tools), GPL-2.0+ (tools) +DBUS_LICENSE_FILES = COPYING +DBUS_CPE_ID_VENDOR = d-bus_project +DBUS_CPE_ID_PRODUCT = d-bus +DBUS_INSTALL_STAGING = YES + +define DBUS_PERMISSIONS + /usr/libexec/dbus-daemon-launch-helper f 4750 0 dbus - - - - - +endef + +define DBUS_USERS + dbus -1 dbus -1 * /run/dbus - dbus DBus messagebus user +endef + +DBUS_DEPENDENCIES = host-pkgconf expat + +DBUS_SELINUX_MODULES = dbus + +DBUS_CONF_OPTS = \ + --with-dbus-user=dbus \ + --disable-tests \ + --disable-asserts \ + --disable-xml-docs \ + --disable-doxygen-docs \ + --with-system-socket=/run/dbus/system_bus_socket \ + --with-system-pid-file=/run/messagebus.pid + +ifeq ($(BR2_STATIC_LIBS),y) +DBUS_CONF_OPTS += LIBS='-pthread' +endif + +ifeq ($(BR2_microblaze),y) +# microblaze toolchain doesn't provide inotify_rm_* but does have sys/inotify.h +DBUS_CONF_OPTS += --disable-inotify +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +DBUS_CONF_OPTS += --enable-selinux +DBUS_DEPENDENCIES += libselinux +else +DBUS_CONF_OPTS += --disable-selinux +endif + +ifeq ($(BR2_PACKAGE_AUDIT)$(BR2_PACKAGE_LIBCAP_NG),yy) +DBUS_CONF_OPTS += --enable-libaudit +DBUS_DEPENDENCIES += audit libcap-ng +else +DBUS_CONF_OPTS += --disable-libaudit +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +DBUS_CONF_OPTS += --with-x +DBUS_DEPENDENCIES += xlib_libX11 +ifeq ($(BR2_PACKAGE_XLIB_LIBSM),y) +DBUS_DEPENDENCIES += xlib_libSM +endif +else +DBUS_CONF_OPTS += --without-x +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +DBUS_CONF_OPTS += \ + --enable-systemd \ + --with-systemdsystemunitdir=/usr/lib/systemd/system +DBUS_DEPENDENCIES += systemd +else +DBUS_CONF_OPTS += --disable-systemd +endif + +# fix rebuild (dbus makefile errors out if /var/lib/dbus is a symlink) +define DBUS_REMOVE_VAR_LIB_DBUS + rm -rf $(TARGET_DIR)/var/lib/dbus +endef + +DBUS_PRE_INSTALL_TARGET_HOOKS += DBUS_REMOVE_VAR_LIB_DBUS + +define DBUS_REMOVE_DEVFILES + rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 +endef + +DBUS_POST_INSTALL_TARGET_HOOKS += DBUS_REMOVE_DEVFILES + +define DBUS_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/dbus/S30dbus \ + $(TARGET_DIR)/etc/init.d/S30dbus + + mkdir -p $(TARGET_DIR)/var/lib + rm -rf $(TARGET_DIR)/var/lib/dbus + ln -sf /tmp/dbus $(TARGET_DIR)/var/lib/dbus +endef + +define DBUS_INSTALL_INIT_SYSTEMD + mkdir -p $(TARGET_DIR)/var/lib/dbus + ln -sf /etc/machine-id $(TARGET_DIR)/var/lib/dbus/machine-id +endef + +HOST_DBUS_DEPENDENCIES = host-pkgconf host-expat +HOST_DBUS_CONF_OPTS = \ + --with-dbus-user=dbus \ + --disable-tests \ + --disable-asserts \ + --disable-selinux \ + --disable-xml-docs \ + --disable-doxygen-docs \ + --disable-systemd \ + --without-x + +# dbus for the host +DBUS_HOST_INTROSPECT = $(HOST_DBUS_DIR)/introspect.xml + +HOST_DBUS_GEN_INTROSPECT = \ + $(HOST_DIR)/bin/dbus-daemon --introspect > $(DBUS_HOST_INTROSPECT) + +HOST_DBUS_POST_INSTALL_HOOKS += HOST_DBUS_GEN_INTROSPECT + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dc3dd/0001-no_man.patch b/buildroot-2022.02.1/package/dc3dd/0001-no_man.patch similarity index 100% rename from buildroot-2021.05/package/dc3dd/0001-no_man.patch rename to buildroot-2022.02.1/package/dc3dd/0001-no_man.patch diff --git a/buildroot-2021.05/package/dc3dd/0002-fix-autoreconf.patch b/buildroot-2022.02.1/package/dc3dd/0002-fix-autoreconf.patch similarity index 100% rename from buildroot-2021.05/package/dc3dd/0002-fix-autoreconf.patch rename to buildroot-2022.02.1/package/dc3dd/0002-fix-autoreconf.patch diff --git a/buildroot-2021.05/package/dc3dd/0003-fix-for-glibc-2.28.patch b/buildroot-2022.02.1/package/dc3dd/0003-fix-for-glibc-2.28.patch similarity index 100% rename from buildroot-2021.05/package/dc3dd/0003-fix-for-glibc-2.28.patch rename to buildroot-2022.02.1/package/dc3dd/0003-fix-for-glibc-2.28.patch diff --git a/buildroot-2022.02.1/package/dc3dd/Config.in b/buildroot-2022.02.1/package/dc3dd/Config.in new file mode 100644 index 00000000..bd181b70 --- /dev/null +++ b/buildroot-2022.02.1/package/dc3dd/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_DC3DD + bool "dc3dd" + depends on !BR2_RISCV_32 + depends on !BR2_arc + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_MUSL + help + dc3dd is a patch to the GNU dd program, this version has + several features intended for forensic acquisition of data. + Highlights include hashing on-the-fly, split output files, + pattern writing, a progress meter, and file verification. + + https://sourceforge.net/projects/dc3dd/ + +comment "dc3dd needs a glibc or uClibc toolchain w/ threads" + depends on !BR2_RISCV_32 + depends on !BR2_arc + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_TOOLCHAIN_USES_MUSL diff --git a/buildroot-2021.05/package/dc3dd/dc3dd.hash b/buildroot-2022.02.1/package/dc3dd/dc3dd.hash similarity index 100% rename from buildroot-2021.05/package/dc3dd/dc3dd.hash rename to buildroot-2022.02.1/package/dc3dd/dc3dd.hash diff --git a/buildroot-2021.05/package/dc3dd/dc3dd.mk b/buildroot-2022.02.1/package/dc3dd/dc3dd.mk similarity index 100% rename from buildroot-2021.05/package/dc3dd/dc3dd.mk rename to buildroot-2022.02.1/package/dc3dd/dc3dd.mk diff --git a/buildroot-2021.05/package/dcron/0001-main.c-add-newline-to-logfile-openning-error-message.patch b/buildroot-2022.02.1/package/dcron/0001-main.c-add-newline-to-logfile-openning-error-message.patch similarity index 100% rename from buildroot-2021.05/package/dcron/0001-main.c-add-newline-to-logfile-openning-error-message.patch rename to buildroot-2022.02.1/package/dcron/0001-main.c-add-newline-to-logfile-openning-error-message.patch diff --git a/buildroot-2021.05/package/dcron/Config.in b/buildroot-2022.02.1/package/dcron/Config.in similarity index 100% rename from buildroot-2021.05/package/dcron/Config.in rename to buildroot-2022.02.1/package/dcron/Config.in diff --git a/buildroot-2021.05/package/dcron/S90dcron b/buildroot-2022.02.1/package/dcron/S90dcron similarity index 100% rename from buildroot-2021.05/package/dcron/S90dcron rename to buildroot-2022.02.1/package/dcron/S90dcron diff --git a/buildroot-2021.05/package/dcron/dcron.hash b/buildroot-2022.02.1/package/dcron/dcron.hash similarity index 100% rename from buildroot-2021.05/package/dcron/dcron.hash rename to buildroot-2022.02.1/package/dcron/dcron.hash diff --git a/buildroot-2021.05/package/dcron/dcron.mk b/buildroot-2022.02.1/package/dcron/dcron.mk similarity index 100% rename from buildroot-2021.05/package/dcron/dcron.mk rename to buildroot-2022.02.1/package/dcron/dcron.mk diff --git a/buildroot-2021.05/package/dcron/dcron.service b/buildroot-2022.02.1/package/dcron/dcron.service similarity index 100% rename from buildroot-2021.05/package/dcron/dcron.service rename to buildroot-2022.02.1/package/dcron/dcron.service diff --git a/buildroot-2021.05/package/ddrescue/Config.in b/buildroot-2022.02.1/package/ddrescue/Config.in similarity index 100% rename from buildroot-2021.05/package/ddrescue/Config.in rename to buildroot-2022.02.1/package/ddrescue/Config.in diff --git a/buildroot-2022.02.1/package/ddrescue/ddrescue.hash b/buildroot-2022.02.1/package/ddrescue/ddrescue.hash new file mode 100644 index 00000000..f7c82b08 --- /dev/null +++ b/buildroot-2022.02.1/package/ddrescue/ddrescue.hash @@ -0,0 +1,4 @@ +# From https://lists.gnu.org/archive/html/info-gnu/2022-01/msg00013.html +sha256 e513cd3a90d9810dfdd91197d40aa40f6df01597bfb5ecfdfb205de1127c551f ddrescue-1.26.tar.lz +# Locally computed +sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING diff --git a/buildroot-2022.02.1/package/ddrescue/ddrescue.mk b/buildroot-2022.02.1/package/ddrescue/ddrescue.mk new file mode 100644 index 00000000..6d16d870 --- /dev/null +++ b/buildroot-2022.02.1/package/ddrescue/ddrescue.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# ddrescue +# +################################################################################ + +DDRESCUE_VERSION = 1.26 +DDRESCUE_SOURCE = ddrescue-$(DDRESCUE_VERSION).tar.lz +DDRESCUE_SITE = http://download.savannah.gnu.org/releases/ddrescue +DDRESCUE_LICENSE = GPL-2.0+ +DDRESCUE_LICENSE_FILES = COPYING + +define DDRESCUE_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_MAKE_ENV) ./configure \ + --prefix=/usr \ + $(TARGET_CONFIGURE_OPTS) \ + ) +endef + +DDRESCUE_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +DDRESCUE_CXXFLAGS += -O0 +endif + +define DDRESCUE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CXXFLAGS="$(DDRESCUE_CXXFLAGS)" -C $(@D) +endef + +define DDRESCUE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/debianutils/Config.in b/buildroot-2022.02.1/package/debianutils/Config.in similarity index 100% rename from buildroot-2021.05/package/debianutils/Config.in rename to buildroot-2022.02.1/package/debianutils/Config.in diff --git a/buildroot-2021.05/package/debianutils/debianutils.hash b/buildroot-2022.02.1/package/debianutils/debianutils.hash similarity index 100% rename from buildroot-2021.05/package/debianutils/debianutils.hash rename to buildroot-2022.02.1/package/debianutils/debianutils.hash diff --git a/buildroot-2021.05/package/debianutils/debianutils.mk b/buildroot-2022.02.1/package/debianutils/debianutils.mk similarity index 100% rename from buildroot-2021.05/package/debianutils/debianutils.mk rename to buildroot-2022.02.1/package/debianutils/debianutils.mk diff --git a/buildroot-2022.02.1/package/dehydrated/Config.in b/buildroot-2022.02.1/package/dehydrated/Config.in new file mode 100644 index 00000000..13b3632f --- /dev/null +++ b/buildroot-2022.02.1/package/dehydrated/Config.in @@ -0,0 +1,33 @@ +config BR2_PACKAGE_DEHYDRATED + bool "dehydrated" + depends on BR2_USE_MMU # bash + select BR2_PACKAGE_BASH + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBCURL_CURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL + help + Dehydrated is a client for signing certificates with an + ACME-server (e.g. Let's Encrypt) implemented as a relatively + simple (zsh-compatible) bash-script. This client supports + both ACME v1 and the new ACME v2 including support for + wildcard certificates! + + To use this script in Buildroot: + - Create /etc/dehydrated/domains.txt + - Make sure that "dehydrated -c" is called regularly, e.g. + from cron. + - Make sure /etc/dehydrated is writable. + - Configure the webserver to export the WELLKNOWN directory + (/var/www/dehydrated) as /.well-known/acme-challenge + - Configure the webserver to use the certificates under + /etc/dehydrated/certs/ + - Register a HOOK to reload the webserver after the + certificates have been renewed. + + You probably need to install a custom /etc/dehydrated/config + with the rootfs overlay. + + https://github.com/dehydrated-io/dehydrated diff --git a/buildroot-2022.02.1/package/dehydrated/dehydrated.hash b/buildroot-2022.02.1/package/dehydrated/dehydrated.hash new file mode 100644 index 00000000..04526452 --- /dev/null +++ b/buildroot-2022.02.1/package/dehydrated/dehydrated.hash @@ -0,0 +1,6 @@ +# Locally computed after verifying +# https://github.com/dehydrated-io/dehydrated/releases/download/v0.7.0/dehydrated-0.7.0.tar.gz.asc +# with key 3C2F2605E078A1E18F4793909C4DBE6CF438F333 from https://keybase.io/lukas2511 +sha256 1c5f12c2e57e64b1762803f82f0f7e767a72e65a6ce68e4d1ec197e61b9dc4f9 dehydrated-0.7.0.tar.gz +# License, locally computed +sha256 b4583b7dd07e3e2a08906de38e7e329d41f921ed9dcb6310b3886e013a6b8723 LICENSE diff --git a/buildroot-2022.02.1/package/dehydrated/dehydrated.mk b/buildroot-2022.02.1/package/dehydrated/dehydrated.mk new file mode 100644 index 00000000..28fb5a49 --- /dev/null +++ b/buildroot-2022.02.1/package/dehydrated/dehydrated.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# dehydrated +# +################################################################################ + +DEHYDRATED_VERSION = 0.7.0 +DEHYDRATED_SITE = https://github.com/dehydrated-io/dehydrated/releases/download/v$(DEHYDRATED_VERSION) + +DEHYDRATED_LICENSE = MIT +DEHYDRATED_LICENSE_FILES = LICENSE + +define DEHYDRATED_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/dehydrated $(TARGET_DIR)/usr/bin/dehydrated + $(INSTALL) -D -m 0644 $(@D)/docs/examples/config $(TARGET_DIR)/etc/dehydrated/config +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dejavu/Config.in b/buildroot-2022.02.1/package/dejavu/Config.in similarity index 100% rename from buildroot-2021.05/package/dejavu/Config.in rename to buildroot-2022.02.1/package/dejavu/Config.in diff --git a/buildroot-2021.05/package/dejavu/dejavu.hash b/buildroot-2022.02.1/package/dejavu/dejavu.hash similarity index 100% rename from buildroot-2021.05/package/dejavu/dejavu.hash rename to buildroot-2022.02.1/package/dejavu/dejavu.hash diff --git a/buildroot-2021.05/package/dejavu/dejavu.mk b/buildroot-2022.02.1/package/dejavu/dejavu.mk similarity index 100% rename from buildroot-2021.05/package/dejavu/dejavu.mk rename to buildroot-2022.02.1/package/dejavu/dejavu.mk diff --git a/buildroot-2021.05/package/delve/Config.in b/buildroot-2022.02.1/package/delve/Config.in similarity index 100% rename from buildroot-2021.05/package/delve/Config.in rename to buildroot-2022.02.1/package/delve/Config.in diff --git a/buildroot-2022.02.1/package/delve/Config.in.host b/buildroot-2022.02.1/package/delve/Config.in.host new file mode 100644 index 00000000..dab5ca89 --- /dev/null +++ b/buildroot-2022.02.1/package/delve/Config.in.host @@ -0,0 +1,7 @@ +config BR2_PACKAGE_HOST_DELVE + bool "host delve" + depends on BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS + help + Delve is a debugger for the Go programming language. + + https://github.com/go-delve/delve diff --git a/buildroot-2022.02.1/package/delve/delve.hash b/buildroot-2022.02.1/package/delve/delve.hash new file mode 100644 index 00000000..04ea4954 --- /dev/null +++ b/buildroot-2022.02.1/package/delve/delve.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 086106a4776fa155bf20c37d27b9caed55255be6359c7f0bda1893d3adbb614e delve-1.8.0.tar.gz +sha256 778864b990007e8cef6633f8c372dd05bac1fada6cf67b008afb1483f83b38f5 LICENSE diff --git a/buildroot-2022.02.1/package/delve/delve.mk b/buildroot-2022.02.1/package/delve/delve.mk new file mode 100644 index 00000000..4ca1786f --- /dev/null +++ b/buildroot-2022.02.1/package/delve/delve.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# delve +# +################################################################################ + +DELVE_VERSION = 1.8.0 +DELVE_SITE = $(call github,go-delve,delve,v$(DELVE_VERSION)) +DELVE_LICENSE = MIT +DELVE_LICENSE_FILES = LICENSE +DELVE_DEPENDENCIES = host-pkgconf + +DELVE_TAGS = cgo +DELVE_BUILD_TARGETS = cmd/dlv +DELVE_INSTALL_BINS = $(notdir $(DELVE_BUILD_TARGETS)) + +HOST_DELVE_TAGS = cgo +HOST_DELVE_BUILD_TARGETS = cmd/dlv +HOST_DELVE_INSTALL_BINS = $(notdir $(HOST_DELVE_BUILD_TARGETS)) + +$(eval $(golang-package)) +$(eval $(host-golang-package)) diff --git a/buildroot-2022.02.1/package/desktop-file-utils/desktop-file-utils.hash b/buildroot-2022.02.1/package/desktop-file-utils/desktop-file-utils.hash new file mode 100644 index 00000000..48623831 --- /dev/null +++ b/buildroot-2022.02.1/package/desktop-file-utils/desktop-file-utils.hash @@ -0,0 +1,3 @@ +# Locally calculated: +sha256 b26dbde79ea72c8c84fb7f9d870ffd857381d049a86d25e0038c4cef4c747309 desktop-file-utils-0.26.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/desktop-file-utils/desktop-file-utils.mk b/buildroot-2022.02.1/package/desktop-file-utils/desktop-file-utils.mk new file mode 100644 index 00000000..12f000ed --- /dev/null +++ b/buildroot-2022.02.1/package/desktop-file-utils/desktop-file-utils.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# desktop-file-utils +# +################################################################################ + +DESKTOP_FILE_UTILS_VERSION = 0.26 +DESKTOP_FILE_UTILS_SOURCE = desktop-file-utils-$(DESKTOP_FILE_UTILS_VERSION).tar.xz +DESKTOP_FILE_UTILS_SITE = https://www.freedesktop.org/software/desktop-file-utils/releases +DESKTOP_FILE_UTILS_LICENSE = GPL-2.0+ +DESKTOP_FILE_UTILS_LICENSE_FILES = COPYING +HOST_DESKTOP_FILE_UTILS_DEPENDENCIES = host-libglib2 + +$(eval $(host-meson-package)) diff --git a/buildroot-2022.02.1/package/dfu-util/Config.in b/buildroot-2022.02.1/package/dfu-util/Config.in new file mode 100644 index 00000000..2eddbf05 --- /dev/null +++ b/buildroot-2022.02.1/package/dfu-util/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_DFU_UTIL + bool "dfu-util" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Dfu-util is the host side implementation of the DFU 1.0 and + DFU 1.1 specification of the USB forum. + DFU is intended to download and upload firmware to devices + connected over USB. + + http://dfu-util.sourceforge.net/ + +comment "dfu-util needs a toolchain w/ threads, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/dfu-util/Config.in.host b/buildroot-2022.02.1/package/dfu-util/Config.in.host new file mode 100644 index 00000000..5ce0da03 --- /dev/null +++ b/buildroot-2022.02.1/package/dfu-util/Config.in.host @@ -0,0 +1,13 @@ +config BR2_PACKAGE_HOST_DFU_UTIL + bool "host dfu-util" + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb + help + Dfu-util is the host side implementation of the DFU 1.0 and + DFU 1.1 specification of the USB forum. + DFU is intended to download and upload firmware to devices + connected over USB. + + http://dfu-util.sourceforge.net/ + +comment "host dfu-util needs a toolchain w/ host gcc >= 4.9" + depends on !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/dfu-util/dfu-util.hash b/buildroot-2022.02.1/package/dfu-util/dfu-util.hash new file mode 100644 index 00000000..4ca28a26 --- /dev/null +++ b/buildroot-2022.02.1/package/dfu-util/dfu-util.hash @@ -0,0 +1,6 @@ +# From http://dfu-util.sourceforge.net/releases/dfu-util-0.11.tar.gz.md5 +md5 31c983543a1fe8f03260ca4d56ad4f43 dfu-util-0.11.tar.gz + +# Locally computed +sha256 b4b53ba21a82ef7e3d4c47df2952adf5fa494f499b6b0b57c58c5d04ae8ff19e dfu-util-0.11.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2022.02.1/package/dfu-util/dfu-util.mk b/buildroot-2022.02.1/package/dfu-util/dfu-util.mk new file mode 100644 index 00000000..638cb32f --- /dev/null +++ b/buildroot-2022.02.1/package/dfu-util/dfu-util.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# dfu-util +# +################################################################################ + +DFU_UTIL_VERSION = 0.11 +DFU_UTIL_SITE = http://dfu-util.sourceforge.net/releases +DFU_UTIL_LICENSE = GPL-2.0+, LGPL-3.0 +DFU_UTIL_LICENSE_FILES = COPYING + +DFU_UTIL_DEPENDENCIES = libusb +HOST_DFU_UTIL_DEPENDENCIES = host-libusb + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch b/buildroot-2022.02.1/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch similarity index 100% rename from buildroot-2021.05/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch rename to buildroot-2022.02.1/package/dhcp/0001-WIP-Resolve-ISC-DHCP-does-not-build-with-gcc10.patch diff --git a/buildroot-2022.02.1/package/dhcp/Config.in b/buildroot-2022.02.1/package/dhcp/Config.in new file mode 100644 index 00000000..e0706efa --- /dev/null +++ b/buildroot-2022.02.1/package/dhcp/Config.in @@ -0,0 +1,38 @@ +config BR2_PACKAGE_DHCP + bool "dhcp (ISC)" + # fork() + depends on BR2_USE_MMU + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + help + DHCP relay agent from the ISC DHCP distribution. + + https://www.isc.org/downloads/dhcp/ + +if BR2_PACKAGE_DHCP + +config BR2_PACKAGE_DHCP_SERVER + bool "dhcp server" + help + DHCP server from the ISC DHCP distribution. + + This also installs omshell, an interactive tool to connect to, + query, and possibly change, the server's state via the Object + Management API (OMAPI). + +config BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK + bool "Enable delayed ACK feature" + depends on BR2_PACKAGE_DHCP_SERVER + help + Enable delayed ACK feature in the ISC DHCP server. + +config BR2_PACKAGE_DHCP_RELAY + bool "dhcp relay" + help + DHCP relay agent from the ISC DHCP distribution. + +config BR2_PACKAGE_DHCP_CLIENT + bool "dhcp client" + help + DHCP client from the ISC DHCP distribution. + +endif diff --git a/buildroot-2021.05/package/dhcp/S80dhcp-relay b/buildroot-2022.02.1/package/dhcp/S80dhcp-relay similarity index 100% rename from buildroot-2021.05/package/dhcp/S80dhcp-relay rename to buildroot-2022.02.1/package/dhcp/S80dhcp-relay diff --git a/buildroot-2021.05/package/dhcp/S80dhcp-server b/buildroot-2022.02.1/package/dhcp/S80dhcp-server similarity index 100% rename from buildroot-2021.05/package/dhcp/S80dhcp-server rename to buildroot-2022.02.1/package/dhcp/S80dhcp-server diff --git a/buildroot-2021.05/package/dhcp/dhclient-script b/buildroot-2022.02.1/package/dhcp/dhclient-script similarity index 100% rename from buildroot-2021.05/package/dhcp/dhclient-script rename to buildroot-2022.02.1/package/dhcp/dhclient-script diff --git a/buildroot-2021.05/package/dhcp/dhclient.conf b/buildroot-2022.02.1/package/dhcp/dhclient.conf similarity index 100% rename from buildroot-2021.05/package/dhcp/dhclient.conf rename to buildroot-2022.02.1/package/dhcp/dhclient.conf diff --git a/buildroot-2021.05/package/dhcp/dhcp.hash b/buildroot-2022.02.1/package/dhcp/dhcp.hash similarity index 100% rename from buildroot-2021.05/package/dhcp/dhcp.hash rename to buildroot-2022.02.1/package/dhcp/dhcp.hash diff --git a/buildroot-2022.02.1/package/dhcp/dhcp.mk b/buildroot-2022.02.1/package/dhcp/dhcp.mk new file mode 100644 index 00000000..460e62a8 --- /dev/null +++ b/buildroot-2022.02.1/package/dhcp/dhcp.mk @@ -0,0 +1,135 @@ +################################################################################ +# +# dhcp +# +################################################################################ + +DHCP_VERSION = 4.4.2-P1 +DHCP_SITE = https://ftp.isc.org/isc/dhcp/$(DHCP_VERSION) +DHCP_INSTALL_STAGING = YES +DHCP_LICENSE = MPL-2.0 +DHCP_LICENSE_FILES = LICENSE +DHCP_DEPENDENCIES = host-gawk +DHCP_CPE_ID_VENDOR = isc +# internal bind does not support parallel builds. +DHCP_MAKE = $(MAKE1) + +# use libtool-enabled configure.ac +define DHCP_LIBTOOL_AUTORECONF + cp $(@D)/configure.ac+lt $(@D)/configure.ac +endef + +DHCP_CONF_ENV = \ + CPPFLAGS='-D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \ + -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"' \ + CFLAGS='$(TARGET_CFLAGS) -DISC_CHECK_NONE=1' +DHCP_BIND_EXTRA_CONFIG = BUILD_CC='$(TARGET_CC)' + +DHCP_CONF_ENV += ac_cv_prog_AWK=$(HOST_DIR)/bin/gawk + +DHCP_CONF_OPTS = \ + --with-bind-extra-config="$(DHCP_BIND_EXTRA_CONFIG)" \ + --with-randomdev=/dev/random \ + --with-srv-lease-file=/var/lib/dhcp/dhcpd.leases \ + --with-srv6-lease-file=/var/lib/dhcp/dhcpd6.leases \ + --with-cli-lease-file=/var/lib/dhcp/dhclient.leases \ + --with-cli6-lease-file=/var/lib/dhcp/dhclient6.leases \ + --with-srv-pid-file=/var/run/dhcpd.pid \ + --with-srv6-pid-file=/var/run/dhcpd6.pid \ + --with-cli-pid-file=/var/run/dhclient.pid \ + --with-cli6-pid-file=/var/run/dhclient6.pid \ + --with-relay-pid-file=/var/run/dhcrelay.pid \ + --with-relay6-pid-file=/var/run/dhcrelay6.pid + +ifeq ($(BR2_PACKAGE_ZLIB),y) +DHCP_BIND_EXTRA_CONFIG += --with-zlib=$(STAGING_DIR)/usr +DHCP_DEPENDENCIES += zlib +else +DHCP_BIND_EXTRA_CONFIG += --without-zlib +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +DHCP_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_STATIC_LIBS),y) +DHCP_CONF_OPTS += --disable-libtool +else +DHCP_POST_EXTRACT_HOOKS += DHCP_LIBTOOL_AUTORECONF +DHCP_AUTORECONF = YES +DHCP_CONF_OPTS += --enable-libtool +endif + +ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) +DHCP_CONF_OPTS += --enable-delayed-ack +endif + +define DHCP_INSTALL_LIBS + $(MAKE) -C $(@D)/common install-exec DESTDIR=$(TARGET_DIR) + $(MAKE) -C $(@D)/omapip install-exec DESTDIR=$(TARGET_DIR) +endef + +ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) +define DHCP_INSTALL_CTL_LIBS + $(MAKE) -C $(@D)/dhcpctl install-exec DESTDIR=$(TARGET_DIR) +endef +define DHCP_INSTALL_SERVER + mkdir -p $(TARGET_DIR)/var/lib + (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) + $(MAKE) -C $(@D)/server DESTDIR=$(TARGET_DIR) install-sbinPROGRAMS + $(INSTALL) -m 0644 -D package/dhcp/dhcpd.conf \ + $(TARGET_DIR)/etc/dhcp/dhcpd.conf +endef +endif + +ifeq ($(BR2_PACKAGE_DHCP_RELAY),y) +define DHCP_INSTALL_RELAY + mkdir -p $(TARGET_DIR)/var/lib + (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) + $(MAKE) -C $(@D)/relay DESTDIR=$(TARGET_DIR) install-sbinPROGRAMS +endef +endif + +ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y) +define DHCP_INSTALL_CLIENT + mkdir -p $(TARGET_DIR)/var/lib + (cd $(TARGET_DIR)/var/lib; ln -snf /tmp dhcp) + $(MAKE) -C $(@D)/client DESTDIR=$(TARGET_DIR) sbindir=/sbin \ + install-sbinPROGRAMS + $(INSTALL) -m 0644 -D package/dhcp/dhclient.conf \ + $(TARGET_DIR)/etc/dhcp/dhclient.conf + $(INSTALL) -m 0755 -D package/dhcp/dhclient-script \ + $(TARGET_DIR)/sbin/dhclient-script +endef +endif + +# Options don't matter, scripts won't start if binaries aren't there +define DHCP_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/dhcp/S80dhcp-server \ + $(TARGET_DIR)/etc/init.d/S80dhcp-server + $(INSTALL) -m 0755 -D package/dhcp/S80dhcp-relay \ + $(TARGET_DIR)/etc/init.d/S80dhcp-relay +endef + +ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) +define DHCP_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/dhcp/dhcpd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/dhcpd.service + + mkdir -p $(TARGET_DIR)/usr/lib/tmpfiles.d + echo "d /var/lib/dhcp 0755 - - - -" > \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf + echo "f /var/lib/dhcp/dhcpd.leases - - - - -" >> \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/dhcpd.conf +endef +endif + +define DHCP_INSTALL_TARGET_CMDS + $(DHCP_INSTALL_LIBS) + $(DHCP_INSTALL_CTL_LIBS) + $(DHCP_INSTALL_RELAY) + $(DHCP_INSTALL_SERVER) + $(DHCP_INSTALL_CLIENT) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dhcp/dhcpd.conf b/buildroot-2022.02.1/package/dhcp/dhcpd.conf similarity index 100% rename from buildroot-2021.05/package/dhcp/dhcpd.conf rename to buildroot-2022.02.1/package/dhcp/dhcpd.conf diff --git a/buildroot-2021.05/package/dhcp/dhcpd.service b/buildroot-2022.02.1/package/dhcp/dhcpd.service similarity index 100% rename from buildroot-2021.05/package/dhcp/dhcpd.service rename to buildroot-2022.02.1/package/dhcp/dhcpd.service diff --git a/buildroot-2022.02.1/package/dhcpcd/Config.in b/buildroot-2022.02.1/package/dhcpcd/Config.in new file mode 100644 index 00000000..3ebacb3b --- /dev/null +++ b/buildroot-2022.02.1/package/dhcpcd/Config.in @@ -0,0 +1,29 @@ +comment "dhcpcd needs a toolchain w/ headers >= 3.1" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 + +config BR2_PACKAGE_DHCPCD + bool "dhcpcd" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 # sa_family_t in linux/socket.h + help + An RFC2131 compliant DHCP client + + http://roy.marples.name/projects/dhcpcd/ + +if BR2_PACKAGE_DHCPCD + +config BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP + bool + default y + depends on BR2_USE_MMU + # Audit headers were only added in recent kernels for some arches + depends on !(BR2_arceb || BR2_arcle) || \ + BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 + depends on !(BR2_microblazeel || BR2_microblazebe) || \ + BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + depends on !BR2_nds32 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 + depends on !BR2_nios2 || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 + depends on !BR2_or1k || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + depends on !BR2_sh || BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + depends on !BR2_xtensa || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + +endif diff --git a/buildroot-2021.05/package/dhcpcd/S41dhcpcd b/buildroot-2022.02.1/package/dhcpcd/S41dhcpcd similarity index 100% rename from buildroot-2021.05/package/dhcpcd/S41dhcpcd rename to buildroot-2022.02.1/package/dhcpcd/S41dhcpcd diff --git a/buildroot-2022.02.1/package/dhcpcd/dhcpcd.hash b/buildroot-2022.02.1/package/dhcpcd/dhcpcd.hash new file mode 100644 index 00000000..532fbd46 --- /dev/null +++ b/buildroot-2022.02.1/package/dhcpcd/dhcpcd.hash @@ -0,0 +1,4 @@ +# sha256 from ftp://roy.marples.name/pub/dhcpcd/dhcpcd-9.4.1.tar.xz.distinfo +sha256 819357634efed1ea5cf44ec01b24d3d3f8852fec8b4249925dcc5667c54e376c dhcpcd-9.4.1.tar.xz +# Locally calculated +sha256 4f21ce186859516dcab9b3197f3e9533a9bd1b87932015c87f539af4a48cd592 LICENSE diff --git a/buildroot-2022.02.1/package/dhcpcd/dhcpcd.mk b/buildroot-2022.02.1/package/dhcpcd/dhcpcd.mk new file mode 100644 index 00000000..922d289b --- /dev/null +++ b/buildroot-2022.02.1/package/dhcpcd/dhcpcd.mk @@ -0,0 +1,75 @@ +################################################################################ +# +# dhcpcd +# +################################################################################ + +DHCPCD_VERSION = 9.4.1 +DHCPCD_SOURCE = dhcpcd-$(DHCPCD_VERSION).tar.xz +DHCPCD_SITE = http://roy.marples.name/downloads/dhcpcd +DHCPCD_DEPENDENCIES = host-pkgconf +DHCPCD_LICENSE = BSD-2-Clause +DHCPCD_LICENSE_FILES = LICENSE +DHCPCD_CPE_ID_VENDOR = dhcpcd_project + +DHCPCD_CONFIG_OPTS = \ + --libexecdir=/lib/dhcpcd \ + --os=linux \ + --privsepuser=dhcpcd + +ifeq ($(BR2_PACKAGE_DHCPCD_ENABLE_PRIVSEP),y) +DHCPCD_CONFIG_OPTS += --enable-privsep +else +DHCPCD_CONFIG_OPTS += --disable-privsep +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +DHCPCD_CONFIG_OPTS += --with-udev +DHCPCD_DEPENDENCIES += udev +else +DHCPCD_CONFIG_OPTS += --without-udev +endif + +ifeq ($(BR2_STATIC_LIBS),y) +DHCPCD_CONFIG_OPTS += --enable-static +endif + +ifeq ($(BR2_USE_MMU),) +DHCPCD_CONFIG_OPTS += --disable-fork +endif + +define DHCPCD_CONFIGURE_CMDS + (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure $(DHCPCD_CONFIG_OPTS)) +endef + +define DHCPCD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) all +endef + +define DHCPCD_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install DESTDIR=$(TARGET_DIR) +endef + +# When network-manager is enabled together with dhcpcd, it will use +# dhcpcd as a DHCP client, and will be in charge of running, so we +# don't want the init script or service file to be installed. +ifeq ($(BR2_PACKAGE_NETWORK_MANAGER),) +define DHCPCD_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/dhcpcd/S41dhcpcd \ + $(TARGET_DIR)/etc/init.d/S41dhcpcd +endef + +define DHCPCD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/dhcpcd/dhcpcd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/dhcpcd.service +endef +endif + +define DHCPCD_USERS + dhcpcd -1 dhcpcd -1 * - - - dhcpcd user +endef + +# NOTE: Even though this package has a configure script, it is not generated +# using the autotools, so we have to use the generic package infrastructure. + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dhcpcd/dhcpcd.service b/buildroot-2022.02.1/package/dhcpcd/dhcpcd.service similarity index 100% rename from buildroot-2021.05/package/dhcpcd/dhcpcd.service rename to buildroot-2022.02.1/package/dhcpcd/dhcpcd.service diff --git a/buildroot-2021.05/package/dhcpdump/0001-use-non-bsd-structures.patch b/buildroot-2022.02.1/package/dhcpdump/0001-use-non-bsd-structures.patch similarity index 100% rename from buildroot-2021.05/package/dhcpdump/0001-use-non-bsd-structures.patch rename to buildroot-2022.02.1/package/dhcpdump/0001-use-non-bsd-structures.patch diff --git a/buildroot-2021.05/package/dhcpdump/Config.in b/buildroot-2022.02.1/package/dhcpdump/Config.in similarity index 100% rename from buildroot-2021.05/package/dhcpdump/Config.in rename to buildroot-2022.02.1/package/dhcpdump/Config.in diff --git a/buildroot-2021.05/package/dhcpdump/dhcpdump.hash b/buildroot-2022.02.1/package/dhcpdump/dhcpdump.hash similarity index 100% rename from buildroot-2021.05/package/dhcpdump/dhcpdump.hash rename to buildroot-2022.02.1/package/dhcpdump/dhcpdump.hash diff --git a/buildroot-2021.05/package/dhcpdump/dhcpdump.mk b/buildroot-2022.02.1/package/dhcpdump/dhcpdump.mk similarity index 100% rename from buildroot-2021.05/package/dhcpdump/dhcpdump.mk rename to buildroot-2022.02.1/package/dhcpdump/dhcpdump.mk diff --git a/buildroot-2021.05/package/dhrystone/0001-cmdline-nruns.patch b/buildroot-2022.02.1/package/dhrystone/0001-cmdline-nruns.patch similarity index 100% rename from buildroot-2021.05/package/dhrystone/0001-cmdline-nruns.patch rename to buildroot-2022.02.1/package/dhrystone/0001-cmdline-nruns.patch diff --git a/buildroot-2021.05/package/dhrystone/0002-HZ.patch b/buildroot-2022.02.1/package/dhrystone/0002-HZ.patch similarity index 100% rename from buildroot-2021.05/package/dhrystone/0002-HZ.patch rename to buildroot-2022.02.1/package/dhrystone/0002-HZ.patch diff --git a/buildroot-2021.05/package/dhrystone/0003-exit.patch b/buildroot-2022.02.1/package/dhrystone/0003-exit.patch similarity index 100% rename from buildroot-2021.05/package/dhrystone/0003-exit.patch rename to buildroot-2022.02.1/package/dhrystone/0003-exit.patch diff --git a/buildroot-2021.05/package/dhrystone/0004-headers.patch b/buildroot-2022.02.1/package/dhrystone/0004-headers.patch similarity index 100% rename from buildroot-2021.05/package/dhrystone/0004-headers.patch rename to buildroot-2022.02.1/package/dhrystone/0004-headers.patch diff --git a/buildroot-2021.05/package/dhrystone/0005-prototypes.patch b/buildroot-2022.02.1/package/dhrystone/0005-prototypes.patch similarity index 100% rename from buildroot-2021.05/package/dhrystone/0005-prototypes.patch rename to buildroot-2022.02.1/package/dhrystone/0005-prototypes.patch diff --git a/buildroot-2021.05/package/dhrystone/Config.in b/buildroot-2022.02.1/package/dhrystone/Config.in similarity index 100% rename from buildroot-2021.05/package/dhrystone/Config.in rename to buildroot-2022.02.1/package/dhrystone/Config.in diff --git a/buildroot-2021.05/package/dhrystone/Makefile b/buildroot-2022.02.1/package/dhrystone/Makefile similarity index 100% rename from buildroot-2021.05/package/dhrystone/Makefile rename to buildroot-2022.02.1/package/dhrystone/Makefile diff --git a/buildroot-2021.05/package/dhrystone/dhrystone.hash b/buildroot-2022.02.1/package/dhrystone/dhrystone.hash similarity index 100% rename from buildroot-2021.05/package/dhrystone/dhrystone.hash rename to buildroot-2022.02.1/package/dhrystone/dhrystone.hash diff --git a/buildroot-2021.05/package/dhrystone/dhrystone.mk b/buildroot-2022.02.1/package/dhrystone/dhrystone.mk similarity index 100% rename from buildroot-2021.05/package/dhrystone/dhrystone.mk rename to buildroot-2022.02.1/package/dhrystone/dhrystone.mk diff --git a/buildroot-2021.05/package/dialog/Config.in b/buildroot-2022.02.1/package/dialog/Config.in similarity index 100% rename from buildroot-2021.05/package/dialog/Config.in rename to buildroot-2022.02.1/package/dialog/Config.in diff --git a/buildroot-2021.05/package/dialog/dialog.hash b/buildroot-2022.02.1/package/dialog/dialog.hash similarity index 100% rename from buildroot-2021.05/package/dialog/dialog.hash rename to buildroot-2022.02.1/package/dialog/dialog.hash diff --git a/buildroot-2021.05/package/dialog/dialog.mk b/buildroot-2022.02.1/package/dialog/dialog.mk similarity index 100% rename from buildroot-2021.05/package/dialog/dialog.mk rename to buildroot-2022.02.1/package/dialog/dialog.mk diff --git a/buildroot-2021.05/package/dieharder/0001-Do-not-use-includedir-as-include-search-path-for-bui.patch b/buildroot-2022.02.1/package/dieharder/0001-Do-not-use-includedir-as-include-search-path-for-bui.patch similarity index 100% rename from buildroot-2021.05/package/dieharder/0001-Do-not-use-includedir-as-include-search-path-for-bui.patch rename to buildroot-2022.02.1/package/dieharder/0001-Do-not-use-includedir-as-include-search-path-for-bui.patch diff --git a/buildroot-2021.05/package/dieharder/0002-Fix-missing-type-intptr_t.patch b/buildroot-2022.02.1/package/dieharder/0002-Fix-missing-type-intptr_t.patch similarity index 100% rename from buildroot-2021.05/package/dieharder/0002-Fix-missing-type-intptr_t.patch rename to buildroot-2022.02.1/package/dieharder/0002-Fix-missing-type-intptr_t.patch diff --git a/buildroot-2021.05/package/dieharder/0003-Add-_GNU_SOURCE-for-uint-and-M_PI-with-musl-libc.patch b/buildroot-2022.02.1/package/dieharder/0003-Add-_GNU_SOURCE-for-uint-and-M_PI-with-musl-libc.patch similarity index 100% rename from buildroot-2021.05/package/dieharder/0003-Add-_GNU_SOURCE-for-uint-and-M_PI-with-musl-libc.patch rename to buildroot-2022.02.1/package/dieharder/0003-Add-_GNU_SOURCE-for-uint-and-M_PI-with-musl-libc.patch diff --git a/buildroot-2021.05/package/dieharder/0004-Add-static-to-inline-functions.patch b/buildroot-2022.02.1/package/dieharder/0004-Add-static-to-inline-functions.patch similarity index 100% rename from buildroot-2021.05/package/dieharder/0004-Add-static-to-inline-functions.patch rename to buildroot-2022.02.1/package/dieharder/0004-Add-static-to-inline-functions.patch diff --git a/buildroot-2022.02.1/package/dieharder/0005-Remove-defunct-rgb_operm.patch b/buildroot-2022.02.1/package/dieharder/0005-Remove-defunct-rgb_operm.patch new file mode 100644 index 00000000..efc311db --- /dev/null +++ b/buildroot-2022.02.1/package/dieharder/0005-Remove-defunct-rgb_operm.patch @@ -0,0 +1,732 @@ +From 40d377b86c856f5a4510a6f5cd56be004873ad77 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Marcus=20M=C3=BCller?= +Date: Mon, 12 Oct 2020 21:30:12 +0200 +Subject: [PATCH] Remove defunct rgb_operm + +[Retrieved from: +https://github.com/eddelbuettel/dieharder/pull/2/commits/40d377b86c856f5a4510a6f5cd56be004873ad77] +Signed-off-by: Fabrice Fontaine +--- + include/Makefile.am | 1 - + include/dieharder/rgb_operm.h | 38 -- + include/dieharder/tests.h | 2 - + libdieharder/rgb_operm.c | 633 ---------------------------------- + 4 files changed, 674 deletions(-) + delete mode 100644 include/dieharder/rgb_operm.h + delete mode 100644 libdieharder/rgb_operm.c + +diff --git a/include/Makefile.am b/include/Makefile.am +index f80b4ff..e4659cd 100644 +--- a/include/Makefile.am ++++ b/include/Makefile.am +@@ -33,7 +33,6 @@ nobase_include_HEADERS = dieharder/copyright.h \ + dieharder/rgb_lagged_sums.h \ + dieharder/rgb_lmn.h \ + dieharder/rgb_minimum_distance.h \ +- dieharder/rgb_operm.h \ + dieharder/rgb_persist.h \ + dieharder/rgb_permutations.h \ + dieharder/rgb_timing.h \ +diff --git a/include/dieharder/rgb_operm.h b/include/dieharder/rgb_operm.h +deleted file mode 100644 +index c48fa37..0000000 +--- a/include/dieharder/rgb_operm.h ++++ /dev/null +@@ -1,38 +0,0 @@ +-/* +- * rgb_operm test header. +- */ +- +-/* +- * function prototype +- */ +-int rgb_operm(Test **test,int irun); +- +-static Dtest rgb_operm_dtest __attribute__((unused)) = { +- "RGB Overlapping Permuations Test", +- "rgb_operm", +- "\n\ +-#========================================================================\n\ +-# RGB Overlapping Permutations Test\n\ +-# Forms both the exact (expected) covariance matrix for overlapping\n\ +-# permutations of random integer and an empirical covariance matrix\n\ +-# formed from a long string of samples. The difference is expected\n\ +-# to have a chisq distribution and hence can be transformed into a\n\ +-# sample p-value. Note that this is one possible functional replacement\n\ +-# for the broken/defunct diehard operm5 test, but one that permits k (the\n\ +-# number of numbers in the overlapping permutation window) to be varied\n\ +-# from 2 to perhaps 8.\n\ +-#\n", +- 100, /* Default psamples */ +- 100000, /* Default tsamples */ +- 1, /* We magically make all the bit tests return a single histogram */ +- rgb_operm, +- 0 +-}; +- +-/* +- * Global variables. +- * +- * rgb_operm_k is the size of the overlapping window that is slid along +- * a data stream of rands from x_i to x_{i+k} to compute c[][]. +- */ +-unsigned int rgb_operm_k; +diff --git a/include/dieharder/tests.h b/include/dieharder/tests.h +index 1674aed..b50dbe3 100644 +--- a/include/dieharder/tests.h ++++ b/include/dieharder/tests.h +@@ -11,7 +11,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -80,7 +79,6 @@ + RGB_PERMUTATIONS, + RGB_LAGGED_SUMS, + RGB_LMN, +- RGB_OPERM, + DAB_BYTEDISTRIB, + DAB_DCT, + DAB_FILLTREE, +diff --git a/libdieharder/rgb_operm.c b/libdieharder/rgb_operm.c +deleted file mode 100644 +index 15f8e9a..0000000 +--- a/libdieharder/rgb_operm.c ++++ /dev/null +@@ -1,633 +0,0 @@ +-/* +- * ======================================================================== +- * $Id: rgb_operm.c 252 2006-10-10 13:17:36Z rgb $ +- * +- * See copyright in copyright.h and the accompanying file COPYING +- * ======================================================================== +- */ +- +-/* +- * ======================================================================== +- * This is the revised Overlapping Permutations test. It directly +- * simulates the covariance matrix of overlapping permutations. The way +- * this works below (tentatively) is: +- * +- * For a bit ntuple of length N, slide a window of length N to the +- * right one bit at a time. Compute the permutation index of the +- * original ntuple, the permutation index of the window ntuple, and +- * accumulate the covariance matrix of the two positions. This +- * can be directly and precisely computed as well. The simulated +- * result should be distributed according to the chisq distribution, +- * so we subtract the two and feed it into the chisq program as a +- * vector to compute p. +- * +- * This MAY NOT BE RIGHT. I'm working from both Marsaglia's limited +- * documentation (in a program that doesn't do ANYTHING like what the +- * documentation says it does) and from Nilpotent Markov Processes. +- * But I confess to not quite understand how to actually perform the +- * test in the latter -- it is very good at describing the construction +- * of the target matrix, not so good at describing how to transform +- * this into a chisq and p. +- * +- * FWIW, as I get something that actually works here, I'm going to +- * THOROUGHLY document it in the book that will accompany the test. +- *======================================================================== +- */ +- +-#include +-#define RGB_OPERM_KMAX 10 +- +-/* +- * Some globals that will eventually go in the test include where they +- * arguably belong. +- */ +-double fpipi(int pi1,int pi2,int nkp); +-uint piperm(size_t *data,int len); +-void make_cexact(); +-void make_cexpt(); +-int nperms,noperms; +-double **cexact,**ceinv,**cexpt,**idty; +-double *cvexact,*cvein,*cvexpt,*vidty; +- +-int rgb_operm(Test **test,int irun) +-{ +- +- int i,j,n,nb,iv,s; +- uint csamples; /* rgb_operm_k^2 is vector size of cov matrix */ +- uint *count,ctotal; /* counters */ +- uint size; +- double pvalue,ntuple_prob,pbin; /* probabilities */ +- Vtest *vtest; /* Chisq entry vector */ +- +- gsl_matrix_view CEXACT,CEINV,CEXPT,IDTY; +- +- /* +- * For a given n = ntuple size in bits, there are n! bit orderings +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("#==================================================================\n"); +- printf("# rgb_operm: Running rgb_operm verbosely for k = %d.\n",rgb_operm_k); +- printf("# rgb_operm: Use -v = %d to focus.\n",D_RGB_OPERM); +- printf("# rgb_operm: ======================================================\n"); +- } +- +- /* +- * Sanity check first +- */ +- if((rgb_operm_k < 0) || (rgb_operm_k > RGB_OPERM_KMAX)){ +- printf("\nError: rgb_operm_k must be a positive integer <= %u. Exiting.\n",RGB_OPERM_KMAX); +- exit(0); +- } +- +- nperms = gsl_sf_fact(rgb_operm_k); +- noperms = gsl_sf_fact(3*rgb_operm_k-2); +- csamples = rgb_operm_k*rgb_operm_k; +- gsl_permutation * p = gsl_permutation_alloc(nperms); +- +- /* +- * Allocate memory for value_max vector of Vtest structs and counts, +- * PER TEST. Note that we must free both of these when we are done +- * or leak. +- */ +- vtest = (Vtest *)malloc(csamples*sizeof(Vtest)); +- count = (uint *)malloc(csamples*sizeof(uint)); +- Vtest_create(vtest,csamples+1); +- +- /* +- * We have to allocate and free the cexact and cexpt matrices here +- * or they'll be forgotten when these routines return. +- */ +- MYDEBUG(D_RGB_OPERM){ +- printf("# rgb_operm: Creating and zeroing cexact[][] and cexpt[][].\n"); +- } +- cexact = (double **)malloc(nperms*sizeof(double*)); +- ceinv = (double **)malloc(nperms*sizeof(double*)); +- cexpt = (double **)malloc(nperms*sizeof(double*)); +- idty = (double **)malloc(nperms*sizeof(double*)); +- cvexact = (double *)malloc(nperms*nperms*sizeof(double)); +- cvein = (double *)malloc(nperms*nperms*sizeof(double)); +- cvexpt = (double *)malloc(nperms*nperms*sizeof(double)); +- vidty = (double *)malloc(nperms*nperms*sizeof(double)); +- for(i=0;idata[k]; +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("#------------------------------------------------------------------\n"); +- printf("# Generating offset sample permutation pi's\n"); +- } +- */ +- for(k=0;k<2*rgb_operm_k - 1;k++){ +- gsl_sort_index((size_t *) ps,&testv[k],1,rgb_operm_k); +- pi[k] = piperm((size_t *) ps,rgb_operm_k); +- +- /* Not cruft, but quiet... +- MYDEBUG(D_RGB_OPERM){ +- printf("# %u: ",k); +- for(ip=k;ipdata[ip]); +- } +- printf(" = %u\n",pi[k]); +- } +- */ +- } +- +- /* +- * This is the business end of things. The covariance matrix is the +- * the sum of a central function of the permutation indices that yields +- * nperms-1/nperms on diagonal, -1/nperms off diagonal, for all the +- * possible permutations, for the FIRST permutation in a sample (fi) +- * times the sum of the same function over all the overlapping permutations +- * drawn from the same sample. Quite simple, really. +- */ +- for(i=0;idata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } else { +- gsl_permutation_memcpy(lookup[i],lookup[i-1]); +- gsl_permutation_next(lookup[i]); +- for(j=0;jdata[rgb_operm_k-j-1] = lookup[i]->data[j]; +- } +- } +- } +- */ +- MYDEBUG(D_RGB_OPERM){ +- for(i=0;i ",i); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf("\n"); +- } +- } +- +- } +- +- for(i=0;idata,len*sizeof(uint))==0){ +- /* Not cruft, but off: +- MYDEBUG(D_RGB_OPERM){ +- printf("# piperm(): "); +- gsl_permutation_fprintf(stdout,lookup[i]," %u"); +- printf(" = %u\n",i); +- } +- */ +- return(i); +- } +- } +- printf("We'd better not get here...\n"); +- +- return(0); +- +-} +- +-double fpipi(int pi1,int pi2,int nkp) +-{ +- +- int i; +- double fret; +- +- /* +- * compute the k-permutation index from iperm for the window +- * at data[offset] of length len. If it matches pind, return +- * the first quantity, otherwise return the second. +- */ +- if(pi1 == pi2){ +- +- fret = (double) (nkp - 1.0)/nkp; +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } else { +- +- fret = (double) (-1.0/nkp); +- if(verbose < 0){ +- printf(" f(%d,%d) = %10.6f\n",pi1,pi2,fret); +- } +- return(fret); +- +- } +- +- +-} +- +- +- +- diff --git a/buildroot-2021.05/package/dieharder/Config.in b/buildroot-2022.02.1/package/dieharder/Config.in similarity index 100% rename from buildroot-2021.05/package/dieharder/Config.in rename to buildroot-2022.02.1/package/dieharder/Config.in diff --git a/buildroot-2021.05/package/dieharder/dieharder.hash b/buildroot-2022.02.1/package/dieharder/dieharder.hash similarity index 100% rename from buildroot-2021.05/package/dieharder/dieharder.hash rename to buildroot-2022.02.1/package/dieharder/dieharder.hash diff --git a/buildroot-2021.05/package/dieharder/dieharder.mk b/buildroot-2022.02.1/package/dieharder/dieharder.mk similarity index 100% rename from buildroot-2021.05/package/dieharder/dieharder.mk rename to buildroot-2022.02.1/package/dieharder/dieharder.mk diff --git a/buildroot-2022.02.1/package/diffutils/0001-m4-stack-direction.m4-fix-build-on-microblazeel.patch b/buildroot-2022.02.1/package/diffutils/0001-m4-stack-direction.m4-fix-build-on-microblazeel.patch new file mode 100644 index 00000000..6e60beec --- /dev/null +++ b/buildroot-2022.02.1/package/diffutils/0001-m4-stack-direction.m4-fix-build-on-microblazeel.patch @@ -0,0 +1,39 @@ +From 7fd9de7f12718db0ace575c15c3a0e061ef6c542 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 11 Nov 2021 09:46:41 +0100 +Subject: [PATCH] m4/stack-direction.m4: fix build on microblazeel + +Fix the following build failure on microblazeel with diffutils raised +since version 3.8 and +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=e54aa6196947ed22ff66bcd714e4fc7bd0c5c3b4 + +sigsegv.c: In function 'sigsegv_handler': +sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' + 979 | : vma.is_near_this (addr, &vma)) + | ^ + +Fixes: + - http://autobuild.buildroot.org/results/5ecd55b7c72f9630a7acc72341ccb60e94ddb574 + +Signed-off-by: Fabrice Fontaine +[Upstream status: sent to bug-gnulib@gnu.org] +--- + m4/stack-direction.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 +index c90d69733..70286c8f5 100644 +--- a/m4/stack-direction.m4 ++++ b/m4/stack-direction.m4 +@@ -37,7 +37,7 @@ AC_DEFUN([SV_STACK_DIRECTION], + m68* | \ + m88k | \ + mcore | \ +- microblaze | \ ++ microblaze* | \ + mips* | \ + mmix | \ + mn10200 | \ +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/diffutils/0002-sigsegv-fix-build-on-or1k.patch b/buildroot-2022.02.1/package/diffutils/0002-sigsegv-fix-build-on-or1k.patch new file mode 100644 index 00000000..73385fe9 --- /dev/null +++ b/buildroot-2022.02.1/package/diffutils/0002-sigsegv-fix-build-on-or1k.patch @@ -0,0 +1,32 @@ +From 496c1740e5475be85b65fdb2b143771f09ed27cb Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 11 Nov 2021 10:06:31 +0100 +Subject: sigsegv: fix build on or1k + +Fix the following build failure on or1k with diffutils 3.8 +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=e54aa6196947ed22ff66bcd714e4fc7bd0c5c3b4 +sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' +http://autobuild.buildroot.org/results/5427e52489d29ed4f18b4a70b3c36f0f7bb0ddd9 + +[Retrieved from: +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=496c1740e5475be85b65fdb2b143771f09ed27cb] +Signed-off-by: Fabrice Fontaine +--- + m4/stack-direction.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 +index 70286c8f5..29e398d77 100644 +--- a/m4/stack-direction.m4 ++++ b/m4/stack-direction.m4 +@@ -45,6 +45,7 @@ AC_DEFUN([SV_STACK_DIRECTION], + nios2 | \ + nds32* | \ + ns32k | \ ++ or1k | \ + pdp11 | \ + pj* | \ + powerpc* | rs6000 | \ +-- +cgit v1.2.1 + diff --git a/buildroot-2022.02.1/package/diffutils/0003-sys_random-port-better-to-uClibc-1-0-35.patch b/buildroot-2022.02.1/package/diffutils/0003-sys_random-port-better-to-uClibc-1-0-35.patch new file mode 100644 index 00000000..f9dd12f8 --- /dev/null +++ b/buildroot-2022.02.1/package/diffutils/0003-sys_random-port-better-to-uClibc-1-0-35.patch @@ -0,0 +1,39 @@ +From 135414a7f543e4d40ad0a7cbd51885e159a6e0f4 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Tue, 30 Nov 2021 17:50:01 -0800 +Subject: sys_random: port better to uClibc < 1.0.35 + +Problem reported by Fabrice Fontaine in: +https://lists.gnu.org/r/bug-gnulib/2021-11/msg00043.html +* lib/sys_random.in.h [HAVE_SYS_RANDOM_H && !__GLIBC__ && __UCLIBC__]: +Include , in case this file is included before +__UCLIBC__ is defined. + +[Retrieved (and backported to remove ChangeLog update) from: +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4] +Signed-off-by: Fabrice Fontaine +--- + ChangeLog | 9 +++++++++ + lib/sys_random.in.h | 6 ++++-- + 2 files changed, 13 insertions(+), 2 deletions(-) + +diff --git a/lib/sys_random.in.h b/lib/sys_random.in.h +index 1abd6c544..8b4b934a1 100644 +--- a/lib/sys_random.in.h ++++ b/lib/sys_random.in.h +@@ -23,8 +23,10 @@ + + #if @HAVE_SYS_RANDOM_H@ + +-/* On uClibc, assumes prior inclusion of . */ +-# if defined __UCLIBC__ ++/* On uClibc < 1.0.35, assumes prior inclusion of . ++ Do not use __UCLIBC__ here, as it might not be defined yet. ++ But avoid namespace pollution on glibc systems. */ ++# ifndef __GLIBC__ + # include + # endif + /* On Mac OS X 10.5, assumes prior inclusion of . +-- +cgit v1.2.1 + diff --git a/buildroot-2021.05/package/diffutils/Config.in b/buildroot-2022.02.1/package/diffutils/Config.in similarity index 100% rename from buildroot-2021.05/package/diffutils/Config.in rename to buildroot-2022.02.1/package/diffutils/Config.in diff --git a/buildroot-2022.02.1/package/diffutils/diffutils.hash b/buildroot-2022.02.1/package/diffutils/diffutils.hash new file mode 100644 index 00000000..8cf4eb75 --- /dev/null +++ b/buildroot-2022.02.1/package/diffutils/diffutils.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 a6bdd7d1b31266d11c4f4de6c1b748d4607ab0231af5188fc2533d0ae2438fec diffutils-3.8.tar.xz +# Locally calculated +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/diffutils/diffutils.mk b/buildroot-2022.02.1/package/diffutils/diffutils.mk new file mode 100644 index 00000000..3d865412 --- /dev/null +++ b/buildroot-2022.02.1/package/diffutils/diffutils.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# diffutils +# +################################################################################ + +DIFFUTILS_VERSION = 3.8 +DIFFUTILS_SOURCE = diffutils-$(DIFFUTILS_VERSION).tar.xz +DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils +DIFFUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +DIFFUTILS_LICENSE = GPL-3.0+ +DIFFUTILS_LICENSE_FILES = COPYING +# We're patching m4/stack-direction.m4 +DIFFUTILS_AUTORECONF = YES + +# Since glibc >= 2.26, don't try to use getopt_long replacement bundled +# with diffutils. It will conflict with the one from glibc. +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) +DIFFUTILS_CONF_ENV += gl_cv_func_getopt_gnu=yes +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dillo/0001-usr-local-include.patch b/buildroot-2022.02.1/package/dillo/0001-usr-local-include.patch similarity index 100% rename from buildroot-2021.05/package/dillo/0001-usr-local-include.patch rename to buildroot-2022.02.1/package/dillo/0001-usr-local-include.patch diff --git a/buildroot-2021.05/package/dillo/0002-Fix-openssl-detection.patch b/buildroot-2022.02.1/package/dillo/0002-Fix-openssl-detection.patch similarity index 100% rename from buildroot-2021.05/package/dillo/0002-Fix-openssl-detection.patch rename to buildroot-2022.02.1/package/dillo/0002-Fix-openssl-detection.patch diff --git a/buildroot-2021.05/package/dillo/0003-Support-OpenSSL-1.1.0.patch b/buildroot-2022.02.1/package/dillo/0003-Support-OpenSSL-1.1.0.patch similarity index 100% rename from buildroot-2021.05/package/dillo/0003-Support-OpenSSL-1.1.0.patch rename to buildroot-2022.02.1/package/dillo/0003-Support-OpenSSL-1.1.0.patch diff --git a/buildroot-2021.05/package/dillo/0004-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/dillo/0004-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/dillo/0004-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/dillo/0004-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/dillo/Config.in b/buildroot-2022.02.1/package/dillo/Config.in similarity index 100% rename from buildroot-2021.05/package/dillo/Config.in rename to buildroot-2022.02.1/package/dillo/Config.in diff --git a/buildroot-2021.05/package/dillo/dillo.hash b/buildroot-2022.02.1/package/dillo/dillo.hash similarity index 100% rename from buildroot-2021.05/package/dillo/dillo.hash rename to buildroot-2022.02.1/package/dillo/dillo.hash diff --git a/buildroot-2021.05/package/dillo/dillo.mk b/buildroot-2022.02.1/package/dillo/dillo.mk similarity index 100% rename from buildroot-2021.05/package/dillo/dillo.mk rename to buildroot-2022.02.1/package/dillo/dillo.mk diff --git a/buildroot-2021.05/package/ding-libs/Config.in b/buildroot-2022.02.1/package/ding-libs/Config.in similarity index 100% rename from buildroot-2021.05/package/ding-libs/Config.in rename to buildroot-2022.02.1/package/ding-libs/Config.in diff --git a/buildroot-2021.05/package/ding-libs/ding-libs.hash b/buildroot-2022.02.1/package/ding-libs/ding-libs.hash similarity index 100% rename from buildroot-2021.05/package/ding-libs/ding-libs.hash rename to buildroot-2022.02.1/package/ding-libs/ding-libs.hash diff --git a/buildroot-2021.05/package/ding-libs/ding-libs.mk b/buildroot-2022.02.1/package/ding-libs/ding-libs.mk similarity index 100% rename from buildroot-2021.05/package/ding-libs/ding-libs.mk rename to buildroot-2022.02.1/package/ding-libs/ding-libs.mk diff --git a/buildroot-2021.05/package/directfb-examples/0001-remove-bzero.patch b/buildroot-2022.02.1/package/directfb-examples/0001-remove-bzero.patch similarity index 100% rename from buildroot-2021.05/package/directfb-examples/0001-remove-bzero.patch rename to buildroot-2022.02.1/package/directfb-examples/0001-remove-bzero.patch diff --git a/buildroot-2022.02.1/package/directfb-examples/Config.in b/buildroot-2022.02.1/package/directfb-examples/Config.in new file mode 100644 index 00000000..4d5de030 --- /dev/null +++ b/buildroot-2022.02.1/package/directfb-examples/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_DIRECTFB_EXAMPLES + bool "directfb examples" + depends on BR2_PACKAGE_DIRECTFB + help + The DirectFB-examples package contains a set of simple + DirectFB applications that can be used to test and demonstrate + various DirectFB features. As of 4 October 2015, DirectFB's + website http://www.directfb.org/ is down. See alternative site + listed below. + + http://elinux.org/DirectFB diff --git a/buildroot-2021.05/package/directfb-examples/directfb-examples.hash b/buildroot-2022.02.1/package/directfb-examples/directfb-examples.hash similarity index 100% rename from buildroot-2021.05/package/directfb-examples/directfb-examples.hash rename to buildroot-2022.02.1/package/directfb-examples/directfb-examples.hash diff --git a/buildroot-2022.02.1/package/directfb-examples/directfb-examples.mk b/buildroot-2022.02.1/package/directfb-examples/directfb-examples.mk new file mode 100644 index 00000000..c8d09b3e --- /dev/null +++ b/buildroot-2022.02.1/package/directfb-examples/directfb-examples.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# directfb-examples +# +################################################################################ + +DIRECTFB_EXAMPLES_VERSION = 1.7.0 +DIRECTFB_EXAMPLES_SITE = http://sources.buildroot.net/directfb-examples +DIRECTFB_EXAMPLES_SOURCE = DirectFB-examples-$(DIRECTFB_EXAMPLES_VERSION).tar.gz +DIRECTFB_EXAMPLES_LICENSE = MIT +DIRECTFB_EXAMPLES_LICENSE_FILES = COPYING +DIRECTFB_EXAMPLES_DEPENDENCIES = directfb + +ifeq ($(BR2_STATIC_LIBS),y) +DIRECTFB_EXAMPLES_CONF_OPTS += LIBS=-lstdc++ +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/directfb/0001-fix-missing-davinci-voodoo-header.patch b/buildroot-2022.02.1/package/directfb/0001-fix-missing-davinci-voodoo-header.patch similarity index 100% rename from buildroot-2021.05/package/directfb/0001-fix-missing-davinci-voodoo-header.patch rename to buildroot-2022.02.1/package/directfb/0001-fix-missing-davinci-voodoo-header.patch diff --git a/buildroot-2021.05/package/directfb/0002-imlib2-config.patch b/buildroot-2022.02.1/package/directfb/0002-imlib2-config.patch similarity index 100% rename from buildroot-2021.05/package/directfb/0002-imlib2-config.patch rename to buildroot-2022.02.1/package/directfb/0002-imlib2-config.patch diff --git a/buildroot-2021.05/package/directfb/0003-setregion-lock.patch b/buildroot-2022.02.1/package/directfb/0003-setregion-lock.patch similarity index 100% rename from buildroot-2021.05/package/directfb/0003-setregion-lock.patch rename to buildroot-2022.02.1/package/directfb/0003-setregion-lock.patch diff --git a/buildroot-2021.05/package/directfb/0004-use-gcc-link.patch b/buildroot-2022.02.1/package/directfb/0004-use-gcc-link.patch similarity index 100% rename from buildroot-2021.05/package/directfb/0004-use-gcc-link.patch rename to buildroot-2022.02.1/package/directfb/0004-use-gcc-link.patch diff --git a/buildroot-2021.05/package/directfb/0005-add-missing-idivine-header.patch b/buildroot-2022.02.1/package/directfb/0005-add-missing-idivine-header.patch similarity index 100% rename from buildroot-2021.05/package/directfb/0005-add-missing-idivine-header.patch rename to buildroot-2022.02.1/package/directfb/0005-add-missing-idivine-header.patch diff --git a/buildroot-2021.05/package/directfb/0006-fix-client-gfx_state-initialisation.patch b/buildroot-2022.02.1/package/directfb/0006-fix-client-gfx_state-initialisation.patch similarity index 100% rename from buildroot-2021.05/package/directfb/0006-fix-client-gfx_state-initialisation.patch rename to buildroot-2022.02.1/package/directfb/0006-fix-client-gfx_state-initialisation.patch diff --git a/buildroot-2021.05/package/directfb/Config.in b/buildroot-2022.02.1/package/directfb/Config.in similarity index 100% rename from buildroot-2021.05/package/directfb/Config.in rename to buildroot-2022.02.1/package/directfb/Config.in diff --git a/buildroot-2021.05/package/directfb/directfb.hash b/buildroot-2022.02.1/package/directfb/directfb.hash similarity index 100% rename from buildroot-2021.05/package/directfb/directfb.hash rename to buildroot-2022.02.1/package/directfb/directfb.hash diff --git a/buildroot-2022.02.1/package/directfb/directfb.mk b/buildroot-2022.02.1/package/directfb/directfb.mk new file mode 100644 index 00000000..56a396ab --- /dev/null +++ b/buildroot-2022.02.1/package/directfb/directfb.mk @@ -0,0 +1,173 @@ +################################################################################ +# +# directfb +# +################################################################################ + +DIRECTFB_VERSION_MAJOR = 1.7 +DIRECTFB_VERSION = $(DIRECTFB_VERSION_MAJOR).7 +DIRECTFB_SITE = http://sources.buildroot.net/directfb +DIRECTFB_SOURCE = DirectFB-$(DIRECTFB_VERSION).tar.gz +DIRECTFB_LICENSE = LGPL-2.1+ +DIRECTFB_LICENSE_FILES = COPYING +DIRECTFB_INSTALL_STAGING = YES +DIRECTFB_AUTORECONF = YES + +DIRECTFB_CONF_OPTS = \ + --enable-zlib \ + --enable-freetype \ + --enable-fbdev \ + --disable-sdl \ + --disable-vnc \ + --disable-osx \ + --disable-video4linux \ + --disable-video4linux2 \ + --without-tools \ + --disable-x11 + +ifeq ($(BR2_STATIC_LIBS),y) +DIRECTFB_CONF_OPTS += --disable-dynload +endif + +DIRECTFB_CONFIG_SCRIPTS = directfb-config + +DIRECTFB_DEPENDENCIES = freetype zlib + +ifeq ($(BR2_PACKAGE_DIRECTFB_MULTI),y) +DIRECTFB_CONF_OPTS += --enable-multi --enable-multi-kernel +DIRECTFB_DEPENDENCIES += linux-fusion +else +DIRECTFB_CONF_OPTS += --disable-multi --disable-multi-kernel +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG_SUPPORT),y) +DIRECTFB_CONF_OPTS += --enable-debug-support +ifeq ($(BR2_PACKAGE_DIRECTFB_DEBUG),y) +DIRECTFB_CONF_OPTS += --enable-debug +endif +else +DIRECTFB_CONF_OPTS += --disable-debug-support +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_TRACE),y) +DIRECTFB_CONF_OPTS += --enable-trace +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_DIVINE),y) +DIRECTFB_CONF_OPTS += --enable-divine +else +DIRECTFB_CONF_OPTS += --disable-divine +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_SAWMAN),y) +DIRECTFB_CONF_OPTS += --enable-sawman +else +DIRECTFB_CONF_OPTS += --disable-sawman +endif + +DIRECTFB_GFX = \ + $(if $(BR2_PACKAGE_DIRECTFB_ATI128),ati128) \ + $(if $(BR2_PACKAGE_DIRECTFB_CYBER5K),cyber5k) \ + $(if $(BR2_PACKAGE_DIRECTFB_MATROX),matrox) \ + $(if $(BR2_PACKAGE_DIRECTFB_PXA3XX),pxa3xx) \ + $(if $(BR2_PACKAGE_DIRECTFB_I830),i830) \ + $(if $(BR2_PACKAGE_DIRECTFB_EP9X),ep9x) + +ifeq ($(strip $(DIRECTFB_GFX)),) +DIRECTFB_CONF_OPTS += --with-gfxdrivers=none +else +DIRECTFB_CONF_OPTS += \ + --with-gfxdrivers=$(subst $(space),$(comma),$(strip $(DIRECTFB_GFX))) +endif + +DIRECTFB_INPUT = \ + $(if $(BR2_PACKAGE_DIRECTFB_LINUXINPUT),linuxinput) \ + $(if $(BR2_PACKAGE_DIRECTFB_KEYBOARD),keyboard) \ + $(if $(BR2_PACKAGE_DIRECTFB_PS2MOUSE),ps2mouse) \ + $(if $(BR2_PACKAGE_DIRECTFB_SERIALMOUSE),serialmouse) \ + $(if $(BR2_PACKAGE_DIRECTFB_TSLIB),tslib) + +ifeq ($(BR2_PACKAGE_DIRECTFB_TSLIB),y) +DIRECTFB_DEPENDENCIES += tslib +endif + +ifeq ($(strip $(DIRECTFB_INPUT)),) +DIRECTFB_CONF_OPTS += --with-inputdrivers=none +else +DIRECTFB_CONF_OPTS += \ + --with-inputdrivers=$(subst $(space),$(comma),$(strip $(DIRECTFB_INPUT))) +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_GIF),y) +DIRECTFB_CONF_OPTS += --enable-gif +else +DIRECTFB_CONF_OPTS += --disable-gif +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_TIFF),y) +DIRECTFB_CONF_OPTS += --enable-tiff +DIRECTFB_DEPENDENCIES += tiff +else +DIRECTFB_CONF_OPTS += --disable-tiff +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_PNG),y) +DIRECTFB_CONF_OPTS += --enable-png +DIRECTFB_DEPENDENCIES += libpng +DIRECTFB_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config +else +DIRECTFB_CONF_OPTS += --disable-png +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_JPEG),y) +DIRECTFB_CONF_OPTS += --enable-jpeg +DIRECTFB_DEPENDENCIES += jpeg +else +DIRECTFB_CONF_OPTS += --disable-jpeg +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_SVG),y) +DIRECTFB_CONF_OPTS += --enable-svg +# needs some help to find cairo includes +DIRECTFB_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/cairo" +DIRECTFB_DEPENDENCIES += libsvg-cairo +else +DIRECTFB_CONF_OPTS += --disable-svg +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_IMLIB2),y) +DIRECTFB_CONF_OPTS += --enable-imlib2 +DIRECTFB_DEPENDENCIES += imlib2 +DIRECTFB_CONF_ENV += ac_cv_path_IMLIB2_CONFIG=$(STAGING_DIR)/usr/bin/imlib2-config +else +DIRECTFB_CONF_OPTS += --disable-imlib2 +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_DITHER_RGB16),y) +DIRECTFB_CONF_OPTS += --with-dither-rgb16=advanced +else +DIRECTFB_CONF_OPTS += --with-dither-rgb16=none +endif + +ifeq ($(BR2_PACKAGE_DIRECTFB_TESTS),y) +DIRECTFB_CONF_OPTS += --with-tests +endif + +HOST_DIRECTFB_DEPENDENCIES = host-pkgconf host-libpng +HOST_DIRECTFB_CONF_OPTS = \ + --disable-multi \ + --enable-png \ + --with-gfxdrivers=none \ + --with-inputdrivers=none + +HOST_DIRECTFB_BUILD_CMDS = \ + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/tools directfb-csource + +HOST_DIRECTFB_INSTALL_CMDS = \ + $(INSTALL) -m 0755 $(@D)/tools/directfb-csource $(HOST_DIR)/bin + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) + +# directfb-csource for the host +DIRECTFB_HOST_BINARY = $(HOST_DIR)/bin/directfb-csource diff --git a/buildroot-2022.02.1/package/dmalloc/0001-mips.patch b/buildroot-2022.02.1/package/dmalloc/0001-mips.patch new file mode 100644 index 00000000..3150d030 --- /dev/null +++ b/buildroot-2022.02.1/package/dmalloc/0001-mips.patch @@ -0,0 +1,45 @@ +[Fabrice: Updated for 5.6.5] +Signed-off-by: Fabrice Fontaine +--- a/configure ++++ b/configure +@@ -7107,7 +7107,7 @@ + { $as_echo "$as_me:${as_lineno-$LINENO}: checking return.h macros work" >&5 + $as_echo_n "checking return.h macros work... " >&6; } + if test "$cross_compiling" = yes; then : +- $as_echo "#define RETURN_MACROS_WORK 0" >>confdefs.h ++ $as_echo "#define RETURN_MACROS_WORK 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 + $as_echo "no" >&6; } + +--- a/return.h ++++ b/return.h +@@ -106,26 +106,16 @@ + /*************************************/ + + /* +- * For DEC Mips machines running Ultrix ++ * For Mips machines running Linux + */ + #if __mips + + /* +- * I have no idea how to get inline assembly with the default cc. +- * Anyone know how? +- */ +- +-#if 0 +- +-/* + * NOTE: we assume here that file is global. + * +- * $31 is the frame pointer. $2 looks to be the return address but maybe +- * not consistently. ++ * $31 is the return address. + */ +-#define GET_RET_ADDR(file) asm("sw $2, file") +- +-#endif ++#define GET_RET_ADDR(file) asm("sw $31, %0" : "=m" (file)) + + #endif /* __mips */ + diff --git a/buildroot-2021.05/package/dmalloc/Config.in b/buildroot-2022.02.1/package/dmalloc/Config.in similarity index 100% rename from buildroot-2021.05/package/dmalloc/Config.in rename to buildroot-2022.02.1/package/dmalloc/Config.in diff --git a/buildroot-2022.02.1/package/dmalloc/dmalloc.hash b/buildroot-2022.02.1/package/dmalloc/dmalloc.hash new file mode 100644 index 00000000..f4cc98e8 --- /dev/null +++ b/buildroot-2022.02.1/package/dmalloc/dmalloc.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 480e3414ab6cedca837721c756b7d64b01a84d2d0e837378d98444e2f63a7c01 dmalloc-5.6.5.tgz +sha256 8657f6bc5ebb765dd792b2c3c54d5dc37b8b4e6bbe8aa48d464fd92081b1e720 LICENSE.txt diff --git a/buildroot-2022.02.1/package/dmalloc/dmalloc.mk b/buildroot-2022.02.1/package/dmalloc/dmalloc.mk new file mode 100644 index 00000000..93dc45c1 --- /dev/null +++ b/buildroot-2022.02.1/package/dmalloc/dmalloc.mk @@ -0,0 +1,80 @@ +################################################################################ +# +# dmalloc +# +################################################################################ + +DMALLOC_VERSION = 5.6.5 +DMALLOC_SOURCE = dmalloc-$(DMALLOC_VERSION).tgz +DMALLOC_SITE = http://dmalloc.com/releases + +DMALLOC_LICENSE = ISC +DMALLOC_LICENSE_FILES = LICENSE.txt + +DMALLOC_INSTALL_STAGING = YES +DMALLOC_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_STATIC_LIBS),y) +DMALLOC_CONF_OPTS += --disable-shlib +else +DMALLOC_CONF_OPTS += --enable-shlib +DMALLOC_CFLAGS += -fPIC +endif + +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +DMALLOC_CONF_OPTS += --enable-cxx +else +DMALLOC_CONF_OPTS += --disable-cxx +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +DMALLOC_CONF_OPTS += --enable-threads +else +DMALLOC_CONF_OPTS += --disable-threads +endif + +# dmalloc has some assembly function that are not present in thumb1 mode: +# Error: lo register required -- `str lr,[sp,#4]' +# so, we desactivate thumb mode +ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) +DMALLOC_CFLAGS += -marm +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_63261),y) +DMALLOC_CFLAGS += -O0 +endif + +DMALLOC_CONF_ENV = CFLAGS="$(DMALLOC_CFLAGS)" + +define DMALLOC_POST_PATCH + $(SED) 's/^ac_cv_page_size=0$$/ac_cv_page_size=12/' $(@D)/configure + $(SED) 's/ac_cv_strdup_macro=no$$/ac_cv_strdup_macro=yes/' $(@D)/configure + $(SED) 's/(ld -/($${LD-ld} -/' $(@D)/configure + $(SED) 's/'\''ld -/"$${LD-ld}"'\'' -/' $(@D)/configure + $(SED) 's/ar cr/$$(AR) cr/' $(@D)/Makefile.in +endef + +DMALLOC_POST_PATCH_HOOKS += DMALLOC_POST_PATCH + +# both DESTDIR and PREFIX are ignored.. +define DMALLOC_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) includedir="$(STAGING_DIR)/usr/include" \ + bindir="$(STAGING_DIR)/usr/bin" \ + libdir="$(STAGING_DIR)/usr/lib" \ + shlibdir="$(STAGING_DIR)/usr/lib" \ + infodir="$(STAGING_DIR)/usr/share/info/" \ + -C $(@D) install +endef + +ifeq ($(BR2_STATIC_LIBS),) +define DMALLOC_INSTALL_SHARED_LIB + cp -dpf $(STAGING_DIR)/usr/lib/libdmalloc*.so $(TARGET_DIR)/usr/lib +endef +endif + +define DMALLOC_INSTALL_TARGET_CMDS + $(DMALLOC_INSTALL_SHARED_LIB) + cp -dpf $(STAGING_DIR)/usr/bin/dmalloc $(TARGET_DIR)/usr/bin/dmalloc +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dmidecode/Config.in b/buildroot-2022.02.1/package/dmidecode/Config.in similarity index 100% rename from buildroot-2021.05/package/dmidecode/Config.in rename to buildroot-2022.02.1/package/dmidecode/Config.in diff --git a/buildroot-2021.05/package/dmidecode/dmidecode.hash b/buildroot-2022.02.1/package/dmidecode/dmidecode.hash similarity index 100% rename from buildroot-2021.05/package/dmidecode/dmidecode.hash rename to buildroot-2022.02.1/package/dmidecode/dmidecode.hash diff --git a/buildroot-2021.05/package/dmidecode/dmidecode.mk b/buildroot-2022.02.1/package/dmidecode/dmidecode.mk similarity index 100% rename from buildroot-2021.05/package/dmidecode/dmidecode.mk rename to buildroot-2022.02.1/package/dmidecode/dmidecode.mk diff --git a/buildroot-2022.02.1/package/dmraid/0001-fix-compilation-under-musl.patch b/buildroot-2022.02.1/package/dmraid/0001-fix-compilation-under-musl.patch new file mode 100644 index 00000000..a6f5c410 --- /dev/null +++ b/buildroot-2022.02.1/package/dmraid/0001-fix-compilation-under-musl.patch @@ -0,0 +1,47 @@ +From 89c7fc15e064dd407e6d5ccefe78985b86b8a036 Mon Sep 17 00:00:00 2001 +From: Brendan Heading +Date: Tue, 1 Sep 2015 12:26:36 +0100 +Subject: [PATCH] fix compilation under musl + +Patch borrowed from Void Linux : + +https://github.com/voidlinux/void-packages/blob/master/srcpkgs/dmraid/patches/25_musl-libc.patch + +Upstream package appears dormant, no mailing list and no +maintainence releases since Nov 2010. + +Upstream-Status: dormant +Signed-off-by: Brendan Heading + +--- + 1.0.0.rc16-3/dmraid/include/dmraid/misc.h | 1 + + 1.0.0.rc16-3/dmraid/lib/device/scan.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/1.0.0.rc16-3/dmraid/include/dmraid/misc.h b/1.0.0.rc16-3/dmraid/include/dmraid/misc.h +index 247a68e..1b1dfdf 100644 +--- a/1.0.0.rc16-3/dmraid/include/dmraid/misc.h ++++ b/1.0.0.rc16-3/dmraid/include/dmraid/misc.h +@@ -10,6 +10,7 @@ + + #ifndef _MISC_H_ + #define _MISC_H_ ++#include + + #define DM_ASSERT(__cond) do { if (!(__cond)) { printf("ASSERT file:%s line:%d fuction:%s cond: %s\n", __FILE__, __LINE__, __FUNCTION__, #__cond); } } while(0); + +diff --git a/1.0.0.rc16-3/dmraid/lib/device/scan.c b/1.0.0.rc16-3/dmraid/lib/device/scan.c +index a040d53..6897146 100644 +--- a/1.0.0.rc16-3/dmraid/lib/device/scan.c ++++ b/1.0.0.rc16-3/dmraid/lib/device/scan.c +@@ -10,6 +10,7 @@ + # include + # include + #else ++# include + # include + # include + #endif +-- +2.4.3 + diff --git a/buildroot-2021.05/package/dmraid/Config.in b/buildroot-2022.02.1/package/dmraid/Config.in similarity index 100% rename from buildroot-2021.05/package/dmraid/Config.in rename to buildroot-2022.02.1/package/dmraid/Config.in diff --git a/buildroot-2021.05/package/dmraid/S20dmraid b/buildroot-2022.02.1/package/dmraid/S20dmraid similarity index 100% rename from buildroot-2021.05/package/dmraid/S20dmraid rename to buildroot-2022.02.1/package/dmraid/S20dmraid diff --git a/buildroot-2021.05/package/dmraid/dmraid.hash b/buildroot-2022.02.1/package/dmraid/dmraid.hash similarity index 100% rename from buildroot-2021.05/package/dmraid/dmraid.hash rename to buildroot-2022.02.1/package/dmraid/dmraid.hash diff --git a/buildroot-2021.05/package/dmraid/dmraid.mk b/buildroot-2022.02.1/package/dmraid/dmraid.mk similarity index 100% rename from buildroot-2021.05/package/dmraid/dmraid.mk rename to buildroot-2022.02.1/package/dmraid/dmraid.mk diff --git a/buildroot-2022.02.1/package/dnsmasq/0001-src-option.c-fix-build-with-gcc-4.8.patch b/buildroot-2022.02.1/package/dnsmasq/0001-src-option.c-fix-build-with-gcc-4.8.patch new file mode 100644 index 00000000..50ecf2f1 --- /dev/null +++ b/buildroot-2022.02.1/package/dnsmasq/0001-src-option.c-fix-build-with-gcc-4.8.patch @@ -0,0 +1,52 @@ +From 46312909d9080ff8743133fbd52427b4b2213171 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 31 Dec 2021 17:29:44 +0100 +Subject: [PATCH] src/option.c: fix build with gcc 4.8 + +Fix the following build failure with gcc 4.8 raised since version 2.86: + +option.c: In function 'one_opt': +option.c:2445:11: error: 'for' loop initial declarations are only allowed in C99 mode + for (char *p = arg; *p; p++) { + ^ +option.c:2445:11: note: use option -std=c99 or -std=gnu99 to compile your code +option.c:2453:11: error: 'for' loop initial declarations are only allowed in C99 mode + for (u8 i = 0; i < sizeof(daemon->umbrella_device); i++, arg+=2) { + ^ + +Fixes: + - http://autobuild.buildroot.org/results/39b34a4e69fc10f4bd9d4ddb0ed8c0aae5741c84 + +Signed-off-by: Fabrice Fontaine +[Upstream commit 46312909d9080ff8743133fbd52427b4b2213171] +--- + src/option.c | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/option.c b/src/option.c +index ff54def..c57f6d8 100644 +--- a/src/option.c ++++ b/src/option.c +@@ -2525,7 +2525,8 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma + arg += 9; + if (strlen(arg) != 16) + ret_err(gen_err); +- for (char *p = arg; *p; p++) { ++ char *p; ++ for (*p = arg; *p; p++) { + if (!isxdigit((int)*p)) + ret_err(gen_err); + } +@@ -2533,7 +2534,8 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma + + u8 *u = daemon->umbrella_device; + char word[3]; +- for (u8 i = 0; i < sizeof(daemon->umbrella_device); i++, arg+=2) { ++ u8 i; ++ for (i = 0; i < sizeof(daemon->umbrella_device); i++, arg+=2) { + memcpy(word, &(arg[0]), 2); + *u++ = strtoul(word, NULL, 16); + } +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/dnsmasq/0002-Fix-46312909d9080ff8743133fbd52427b4b2213171-typo.patch b/buildroot-2022.02.1/package/dnsmasq/0002-Fix-46312909d9080ff8743133fbd52427b4b2213171-typo.patch new file mode 100644 index 00000000..8cdf5b3f --- /dev/null +++ b/buildroot-2022.02.1/package/dnsmasq/0002-Fix-46312909d9080ff8743133fbd52427b4b2213171-typo.patch @@ -0,0 +1,36 @@ +From 2748fb81e23b71e2c44956e99321816aca91905d Mon Sep 17 00:00:00 2001 +From: Simon Kelley +Date: Sat, 1 Jan 2022 23:03:26 +0000 +Subject: [PATCH] Fix 46312909d9080ff8743133fbd52427b4b2213171 typo. + +[Upstream commit 2748fb81e23b71e2c44956e99321816aca91905d] +Signed-off-by: Fabrice Fontaine +--- + src/option.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/option.c b/src/option.c +index c57f6d8..6f56ce8 100644 +--- a/src/option.c ++++ b/src/option.c +@@ -357,7 +357,7 @@ static const struct myoption opts[] = + { "dhcp-ignore-clid", 0, 0, LOPT_IGNORE_CLID }, + { "dynamic-host", 1, 0, LOPT_DYNHOST }, + { "log-debug", 0, 0, LOPT_LOG_DEBUG }, +- { "umbrella", 2, 0, LOPT_UMBRELLA }, ++ { "umbrella", 2, 0, LOPT_UMBRELLA }, + { "quiet-tftp", 0, 0, LOPT_QUIET_TFTP }, + { NULL, 0, 0, 0 } + }; +@@ -2526,7 +2526,7 @@ static int one_opt(int option, char *arg, char *errstr, char *gen_err, int comma + if (strlen(arg) != 16) + ret_err(gen_err); + char *p; +- for (*p = arg; *p; p++) { ++ for (p = arg; *p; p++) { + if (!isxdigit((int)*p)) + ret_err(gen_err); + } +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/dnsmasq/0003-Fix-FTBFS-when-CONNTRACK-and-UBUS-but-not-DNSSEC-compile-options-selected.patch b/buildroot-2022.02.1/package/dnsmasq/0003-Fix-FTBFS-when-CONNTRACK-and-UBUS-but-not-DNSSEC-compile-options-selected.patch new file mode 100644 index 00000000..9c98af2b --- /dev/null +++ b/buildroot-2022.02.1/package/dnsmasq/0003-Fix-FTBFS-when-CONNTRACK-and-UBUS-but-not-DNSSEC-compile-options-selected.patch @@ -0,0 +1,34 @@ +From 2c60441239e1c10c4987cb586653b1ea08f703c0 Mon Sep 17 00:00:00 2001 +From: Simon Kelley +Date: Tue, 28 Sep 2021 23:42:15 +0100 +Subject: [PATCH] Fix FTBFS when CONNTRACK and UBUS but not DNSSEC compile + options selected. + +[Retrieved from: +https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=2c60441239e1c10c4987cb586653b1ea08f703c0] +Signed-off-by: Fabrice Fontaine +--- + src/dnsmasq.h | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/src/dnsmasq.h b/src/dnsmasq.h +index c8a918a..3fdc1b0 100644 +--- a/src/dnsmasq.h ++++ b/src/dnsmasq.h +@@ -1173,9 +1173,12 @@ extern struct daemon { + char *packet; /* packet buffer */ + int packet_buff_sz; /* size of above */ + char *namebuff; /* MAXDNAME size buffer */ ++#if (defined(HAVE_CONNTRACK) && defined(HAVE_UBUS)) || defined(HAVE_DNSSEC) ++ /* CONNTRACK UBUS code uses this buffer, as well as DNSSEC code. */ ++ char *workspacename; ++#endif + #ifdef HAVE_DNSSEC + char *keyname; /* MAXDNAME size buffer */ +- char *workspacename; /* ditto */ + unsigned long *rr_status; /* ceiling in TTL from DNSSEC or zero for insecure */ + int rr_status_sz; + int dnssec_no_time_check; +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch b/buildroot-2022.02.1/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch new file mode 100644 index 00000000..90bb02b2 --- /dev/null +++ b/buildroot-2022.02.1/package/dnsmasq/0004-src-pattern.c-fix-build-with-gcc-4.8.patch @@ -0,0 +1,57 @@ +From 0c89dd2fa0fe50b00bca638dbbacfbd361526e0a Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 2 Jan 2022 21:57:52 +0100 +Subject: [PATCH] src/pattern.c: fix build with gcc 4.8 + +Fix the following build failure: + +pattern.c: In function 'is_valid_dns_name': +pattern.c:134:3: error: 'for' loop initial declarations are only allowed in C99 mode + for (const char *c = value;; c++) + ^ +pattern.c:134:3: note: use option -std=c99 or -std=gnu99 to compile your code +pattern.c: In function 'is_valid_dns_name_pattern': +pattern.c:249:3: error: 'for' loop initial declarations are only allowed in C99 mode + for (const char *c = value;; c++) + ^ + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=b2690415bfa1bc105e61b75f642fb5c1aaf0fae8] +--- + src/pattern.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/pattern.c b/src/pattern.c +index 03e23b9..928d259 100644 +--- a/src/pattern.c ++++ b/src/pattern.c +@@ -129,9 +129,9 @@ int is_valid_dns_name(const char *value) + + size_t num_bytes = 0; + size_t num_labels = 0; +- const char *label = NULL; ++ const char *c, *label = NULL; + int is_label_numeric = 1; +- for (const char *c = value;; c++) ++ for (c = value;; c++) + { + if (*c && + *c != '-' && *c != '.' && +@@ -242,11 +242,11 @@ int is_valid_dns_name_pattern(const char *value) + + size_t num_bytes = 0; + size_t num_labels = 0; +- const char *label = NULL; ++ const char *c, *label = NULL; + int is_label_numeric = 1; + size_t num_wildcards = 0; + int previous_label_has_wildcard = 1; +- for (const char *c = value;; c++) ++ for (c = value;; c++) + { + if (*c && + *c != '*' && /* Wildcard. */ +-- +2.20.1 + diff --git a/buildroot-2021.05/package/dnsmasq/Config.in b/buildroot-2022.02.1/package/dnsmasq/Config.in similarity index 100% rename from buildroot-2021.05/package/dnsmasq/Config.in rename to buildroot-2022.02.1/package/dnsmasq/Config.in diff --git a/buildroot-2021.05/package/dnsmasq/S80dnsmasq b/buildroot-2022.02.1/package/dnsmasq/S80dnsmasq similarity index 100% rename from buildroot-2021.05/package/dnsmasq/S80dnsmasq rename to buildroot-2022.02.1/package/dnsmasq/S80dnsmasq diff --git a/buildroot-2022.02.1/package/dnsmasq/dnsmasq.hash b/buildroot-2022.02.1/package/dnsmasq/dnsmasq.hash new file mode 100644 index 00000000..80401282 --- /dev/null +++ b/buildroot-2022.02.1/package/dnsmasq/dnsmasq.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.86.tar.xz.asc +sha256 28d52cfc9e2004ac4f85274f52b32e1647b4dbc9761b82e7de1e41c49907eb08 dnsmasq-2.86.tar.xz +# Locally calculated +sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING-v3 diff --git a/buildroot-2022.02.1/package/dnsmasq/dnsmasq.mk b/buildroot-2022.02.1/package/dnsmasq/dnsmasq.mk new file mode 100644 index 00000000..230e4a81 --- /dev/null +++ b/buildroot-2022.02.1/package/dnsmasq/dnsmasq.mk @@ -0,0 +1,95 @@ +################################################################################ +# +# dnsmasq +# +################################################################################ + +DNSMASQ_VERSION = 2.86 +DNSMASQ_SOURCE = dnsmasq-$(DNSMASQ_VERSION).tar.xz +DNSMASQ_SITE = http://thekelleys.org.uk/dnsmasq +DNSMASQ_MAKE_ENV = $(TARGET_MAKE_ENV) CC="$(TARGET_CC)" +DNSMASQ_MAKE_OPTS = COPTS="$(DNSMASQ_COPTS)" PREFIX=/usr CFLAGS="$(TARGET_CFLAGS)" +DNSMASQ_MAKE_OPTS += DESTDIR=$(TARGET_DIR) LDFLAGS="$(TARGET_LDFLAGS)" \ + LIBS+=$(TARGET_NLS_LIBS) +DNSMASQ_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) +DNSMASQ_LICENSE = GPL-2.0 or GPL-3.0 +DNSMASQ_LICENSE_FILES = COPYING COPYING-v3 +DNSMASQ_CPE_ID_VENDOR = thekelleys +DNSMASQ_SELINUX_MODULES = dnsmasq + +DNSMASQ_I18N = $(if $(BR2_SYSTEM_ENABLE_NLS),-i18n) + +ifneq ($(BR2_PACKAGE_DNSMASQ_DHCP),y) +DNSMASQ_COPTS += -DNO_DHCP +endif + +ifeq ($(BR2_PACKAGE_DNSMASQ_DNSSEC),y) +DNSMASQ_DEPENDENCIES += gmp nettle +DNSMASQ_COPTS += -DHAVE_DNSSEC +endif + +ifneq ($(BR2_PACKAGE_DNSMASQ_TFTP),y) +DNSMASQ_COPTS += -DNO_TFTP +endif + +ifeq ($(BR2_PACKAGE_DNSMASQ_IDN),y) +ifeq ($(BR2_PACKAGE_LIBIDN2),y) +DNSMASQ_DEPENDENCIES += libidn2 +DNSMASQ_COPTS += -DHAVE_LIBIDN2 +else +DNSMASQ_DEPENDENCIES += libidn +DNSMASQ_COPTS += -DHAVE_IDN +endif +endif + +ifeq ($(BR2_PACKAGE_DNSMASQ_CONNTRACK),y) +DNSMASQ_DEPENDENCIES += libnetfilter_conntrack +DNSMASQ_COPTS += -DHAVE_CONNTRACK +endif + +ifeq ($(BR2_PACKAGE_DNSMASQ_LUA),y) +DNSMASQ_DEPENDENCIES += lua +DNSMASQ_COPTS += -DHAVE_LUASCRIPT + +# liblua uses dlopen when dynamically linked +ifneq ($(BR2_STATIC_LIBS),y) +DNSMASQ_MAKE_OPTS += LIBS+="-ldl" +endif + +define DNSMASQ_TWEAK_LIBLUA + $(SED) 's/lua5.2/lua/g' $(DNSMASQ_DIR)/Makefile +endef +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +DNSMASQ_DEPENDENCIES += dbus +DNSMASQ_COPTS += -DHAVE_DBUS + +define DNSMASQ_INSTALL_DBUS + $(INSTALL) -m 0644 -D $(@D)/dbus/dnsmasq.conf \ + $(TARGET_DIR)/etc/dbus-1/system.d/dnsmasq.conf +endef +endif + +ifeq ($(BR2_PACKAGE_UBUS),y) +DNSMASQ_DEPENDENCIES += ubus +DNSMASQ_COPTS += -DHAVE_UBUS +endif + +define DNSMASQ_BUILD_CMDS + $(DNSMASQ_TWEAK_LIBLUA) + $(DNSMASQ_MAKE_ENV) $(MAKE) -C $(@D) $(DNSMASQ_MAKE_OPTS) all$(DNSMASQ_I18N) +endef + +define DNSMASQ_INSTALL_TARGET_CMDS + $(DNSMASQ_MAKE_ENV) $(MAKE) -C $(@D) $(DNSMASQ_MAKE_OPTS) install$(DNSMASQ_I18N) + mkdir -p $(TARGET_DIR)/var/lib/misc/ + $(DNSMASQ_INSTALL_DBUS) +endef + +define DNSMASQ_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/dnsmasq/S80dnsmasq \ + $(TARGET_DIR)/etc/init.d/S80dnsmasq +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/doc-asciidoc.mk b/buildroot-2022.02.1/package/doc-asciidoc.mk new file mode 100644 index 00000000..2bd761ed --- /dev/null +++ b/buildroot-2022.02.1/package/doc-asciidoc.mk @@ -0,0 +1,190 @@ +# we can't use suitable-host-package here because that's not available in +# the context of 'make release' +.PHONY: asciidoc-check-dependencies +asciidoc-check-dependencies: + $(Q)if [ -z "$(shell support/dependencies/check-host-asciidoc.sh)" ]; then \ + echo "You need a sufficiently recent asciidoc on your host" \ + "to generate documents"; \ + exit 1; \ + fi + $(Q)if [ -z "`which w3m 2>/dev/null`" ]; then \ + echo "You need w3m on your host to generate documents"; \ + exit 1; \ + fi + +asciidoc-check-dependencies-pdf: + $(Q)if [ -z "`which dblatex 2>/dev/null`" ]; then \ + echo "You need dblatex on your host to generate PDF documents"; \ + exit 1; \ + fi + +# PDF generation is broken because of a bug in xsltproc program provided +# by libxslt <=1.1.28, which does not honor an option we need to set. +# Fortunately, this bug is already fixed upstream: +# https://gitorious.org/libxslt/libxslt/commit/5af7ad745323004984287e48b42712e7305de35c +# +# So, bail out when trying to build a PDF using a buggy version of the +# xsltproc program. +# +# So, to overcome this issue and being able to build a PDF, you can +# build xsltproc from its source repository, then run: +# $ PATH=/path/to/custom-xsltproc/bin:${PATH} make manual +GENDOC_XSLTPROC_IS_BROKEN = \ + $(shell xsltproc --maxvars 0 >/dev/null 2>/dev/null || echo y) + +# Apply this configuration to all documents +BR_ASCIIDOC_CONF = docs/conf/asciidoc.conf + +################################################################################ +# ASCIIDOC_INNER -- generates the make targets needed to build a specific type of +# asciidoc documentation. +# +# argument 1 is the name of the document and the top-level asciidoc file must +# have the same name +# argument 2 is the uppercase name of the document +# argument 3 is the type of document to generate (-f argument of a2x) +# argument 4 is the document type as used in the make target +# argument 5 is the output file extension for the document type +# argument 6 is the human text for the document type +# argument 7 (optional) are extra arguments for a2x +# +# The variable _SOURCES defines the dependencies. +# +# Since this function will be called from within an $(eval ...) +# all variable references except the arguments must be $$-quoted. +################################################################################ +define ASCIIDOC_INNER +$(1): $(1)-$(4) +.PHONY: $(1)-$(4) +$(1)-$(4): $$(O)/docs/$(1)/$(1).$(5) + +asciidoc-check-dependencies-$(4): +.PHONY: $(1)-check-dependencies-$(4) +# Single line, because splitting a foreach is not easy... +$(1)-check-dependencies-$(4): asciidoc-check-dependencies-$(4) + $$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_$$(call UPPERCASE,$(4))_HOOKS),$$(call $$(hook))$$(sep)) + +# Include Buildroot's AsciiDoc configuration first: +# - generic configuration, +# - then output-specific configuration +ifneq ($$(wildcard $$(BR_ASCIIDOC_CONF)),) +$(2)_$(3)_ASCIIDOC_OPTS += -f $$(BR_ASCIIDOC_CONF) +endif +BR_$(3)_ASCIIDOC_CONF = docs/conf/asciidoc-$(3).conf +ifneq ($$(wildcard $$(BR_$(3)_ASCIIDOC_CONF)),) +$(2)_$(3)_ASCIIDOC_OPTS += -f $$(BR_$(3)_ASCIIDOC_CONF) +endif + +# Then include the document's AsciiDoc configuration: +# - generic configuration, +# - then output-specific configuration +ifneq ($$(wildcard $$($(2)_ASCIIDOC_CONF)),) +$(2)_$(3)_ASCIIDOC_OPTS += -f $$($(2)_ASCIIDOC_CONF) +endif +$(2)_$(3)_ASCIIDOC_CONF = $$($(2)_DOCDIR)/asciidoc-$(3).conf +ifneq ($$(wildcard $$($(2)_$(3)_ASCIIDOC_CONF)),) +$(2)_$(3)_ASCIIDOC_OPTS += -f $$($(2)_$(3)_ASCIIDOC_CONF) +endif + +# Handle a2x warning about --destination-dir option only applicable to HTML +# based outputs. So: +# - use the --destination-dir option if possible (html and split-html), +# - otherwise copy the generated document to the output directory +$(2)_$(3)_A2X_OPTS = +ifneq ($$(filter $(4),html split-html),) +$(2)_$(3)_A2X_OPTS += --destination-dir="$$(@D)" +else +define $(2)_$(3)_INSTALL_CMDS + $$(Q)cp -f $$(BUILD_DIR)/docs/$(1)/$(1).$(5) $$(@D) +endef +endif + +$$(O)/docs/$(1)/$(1).$(5): export TZ=UTC + +ifeq ($(5)-$$(GENDOC_XSLTPROC_IS_BROKEN),pdf-y) +$$(O)/docs/$(1)/$(1).$(5): + $$(warning PDF generation is disabled because of a bug in \ + xsltproc. To be able to generate a PDF, you should \ + build xsltproc from the libxslt sources >=1.1.29 and pass it \ + to make through the command line: \ + 'PATH=/path/to/custom-xsltproc/bin:$$$${PATH} make $(1)-pdf') +else +# -r $(@D) is there for documents that use external filters; those filters +# generate code at the same location it finds the document's source files. +$$(O)/docs/$(1)/$(1).$(5): $$($(2)_SOURCES) \ + $(1)-check-dependencies \ + $(1)-check-dependencies-$(4) \ + $(1)-prepare-sources + $$(Q)$$(call MESSAGE,"Generating $(6) $(1)...") + $$(Q)mkdir -p $$(@D) + $$(Q)a2x $(7) -f $(3) -d book -L \ + $$(foreach r,$$($(2)_RESOURCES) $$(@D), \ + --resource="$$(abspath $$(r))") \ + $$($(2)_$(3)_A2X_OPTS) \ + --asciidoc-opts="$$($(2)_$(3)_ASCIIDOC_OPTS)" \ + $$(BUILD_DIR)/docs/$(1)/$(1).txt +# install the generated document + $$($(2)_$(3)_INSTALL_CMDS) +endif +endef + +################################################################################ +# ASCIIDOC -- generates the make targets needed to build asciidoc documentation. +# +# argument 1 is the lowercase name of the document; the document's main file +# must have the same name, with the .txt extension +# argument 2 is the uppercase name of the document +# +# The variable _SOURCES defines the dependencies. +# The variable _RESOURCES defines where the document's +# resources, such as images, are located; must be an absolute path. +################################################################################ +define ASCIIDOC +$(2)_DOCDIR = $(pkgdir) + +# Single line, because splitting a foreach is not easy... +.PHONY: $(1)-check-dependencies +$(1)-check-dependencies: asciidoc-check-dependencies $$($(2)_DEPENDENCIES) + $$(Q)$$(foreach hook,$$($(2)_CHECK_DEPENDENCIES_HOOKS),$$(call $$(hook))$$(sep)) + +# Single line, because splitting a foreach is not easy... +# Do not touch the stamp file, so we get to rsync again every time we build +# the document. +$$(BUILD_DIR)/docs/$(1)/.stamp_doc_rsynced: + $$(Q)$$(call MESSAGE,"Preparing the $(1) sources...") + $$(Q)mkdir -p $$(@D) + $$(Q)rsync -a $$($(2)_DOCDIR) $$(@D) + $$(Q)$$(foreach hook,$$($(2)_POST_RSYNC_HOOKS),$$(call $$(hook))$$(sep)) + +.PHONY: $(1)-prepare-sources +$(1)-prepare-sources: $$(BUILD_DIR)/docs/$(1)/.stamp_doc_rsynced + +$(2)_ASCIIDOC_CONF = $$($(2)_DOCDIR)/asciidoc.conf + +$(call ASCIIDOC_INNER,$(1),$(2),xhtml,html,html,HTML,\ + --xsltproc-opts "--stringparam toc.section.depth 1") + +$(call ASCIIDOC_INNER,$(1),$(2),chunked,split-html,chunked,split HTML,\ + --xsltproc-opts "--stringparam toc.section.depth 1") + +# dblatex needs to pass the '--maxvars ...' option to xsltproc to prevent it +# from reaching the template recursion limit when processing the (long) target +# package table and bailing out. +$(call ASCIIDOC_INNER,$(1),$(2),pdf,pdf,pdf,PDF,\ + --dblatex-opts "-P latex.output.revhistory=0 -x '--maxvars 100000'") + +$(call ASCIIDOC_INNER,$(1),$(2),text,text,text,text) + +$(call ASCIIDOC_INNER,$(1),$(2),epub,epub,epub,ePUB) + +clean: $(1)-clean +$(1)-clean: + $$(Q)$$(RM) -rf $$(BUILD_DIR)/docs/$(1) +.PHONY: $(1) $(1)-clean +endef + +################################################################################ +# asciidoc-document -- the target generator macro for asciidoc documents +################################################################################ + +asciidoc-document = $(call ASCIIDOC,$(pkgname),$(call UPPERCASE,$(pkgname))) diff --git a/buildroot-2021.05/package/docker-cli/Config.in b/buildroot-2022.02.1/package/docker-cli/Config.in similarity index 100% rename from buildroot-2021.05/package/docker-cli/Config.in rename to buildroot-2022.02.1/package/docker-cli/Config.in diff --git a/buildroot-2022.02.1/package/docker-cli/docker-cli.hash b/buildroot-2022.02.1/package/docker-cli/docker-cli.hash new file mode 100644 index 00000000..9a07acf8 --- /dev/null +++ b/buildroot-2022.02.1/package/docker-cli/docker-cli.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 bda289b27b18675d6a6ff07568453768fe68c16c27b5e52724e46896d5464a55 docker-cli-20.10.14.tar.gz +sha256 2d81ea060825006fc8f3fe28aa5dc0ffeb80faf325b612c955229157b8c10dc0 LICENSE diff --git a/buildroot-2022.02.1/package/docker-cli/docker-cli.mk b/buildroot-2022.02.1/package/docker-cli/docker-cli.mk new file mode 100644 index 00000000..c7458f85 --- /dev/null +++ b/buildroot-2022.02.1/package/docker-cli/docker-cli.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# docker-cli +# +################################################################################ + +DOCKER_CLI_VERSION = 20.10.14 +DOCKER_CLI_SITE = $(call github,docker,cli,v$(DOCKER_CLI_VERSION)) + +DOCKER_CLI_LICENSE = Apache-2.0 +DOCKER_CLI_LICENSE_FILES = LICENSE + +DOCKER_CLI_DEPENDENCIES = host-pkgconf + +DOCKER_CLI_CPE_ID_VENDOR = docker +DOCKER_CLI_CPE_ID_PRODUCT = docker + +DOCKER_CLI_TAGS = autogen +DOCKER_CLI_BUILD_TARGETS = cmd/docker +DOCKER_CLI_GOMOD = github.com/docker/cli + +DOCKER_CLI_LDFLAGS = \ + -X $(DOCKER_CLI_GOMOD)/cli/version.GitCommit=$(DOCKER_CLI_VERSION) \ + -X $(DOCKER_CLI_GOMOD)/cli/version.Version=$(DOCKER_CLI_VERSION) + +ifeq ($(BR2_PACKAGE_DOCKER_CLI_STATIC),y) +DOCKER_CLI_LDFLAGS += -extldflags '-static' +DOCKER_CLI_TAGS += osusergo netgo +DOCKER_CLI_GO_ENV = CGO_ENABLED=no +endif + +DOCKER_CLI_INSTALL_BINS = $(notdir $(DOCKER_CLI_BUILD_TARGETS)) + +$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/docker-compose/0001-Strip-up-generic-versions-and-bump-requests.patch b/buildroot-2022.02.1/package/docker-compose/0001-Strip-up-generic-versions-and-bump-requests.patch similarity index 100% rename from buildroot-2021.05/package/docker-compose/0001-Strip-up-generic-versions-and-bump-requests.patch rename to buildroot-2022.02.1/package/docker-compose/0001-Strip-up-generic-versions-and-bump-requests.patch diff --git a/buildroot-2021.05/package/docker-compose/0002-Bump-texttable-from-0.9.1-to-1.6.2.patch b/buildroot-2022.02.1/package/docker-compose/0002-Bump-texttable-from-0.9.1-to-1.6.2.patch similarity index 100% rename from buildroot-2021.05/package/docker-compose/0002-Bump-texttable-from-0.9.1-to-1.6.2.patch rename to buildroot-2022.02.1/package/docker-compose/0002-Bump-texttable-from-0.9.1-to-1.6.2.patch diff --git a/buildroot-2021.05/package/docker-compose/0003-support-PyYAML-up-to-5.1-version.patch b/buildroot-2022.02.1/package/docker-compose/0003-support-PyYAML-up-to-5.1-version.patch similarity index 100% rename from buildroot-2021.05/package/docker-compose/0003-support-PyYAML-up-to-5.1-version.patch rename to buildroot-2022.02.1/package/docker-compose/0003-support-PyYAML-up-to-5.1-version.patch diff --git a/buildroot-2022.02.1/package/docker-compose/Config.in b/buildroot-2022.02.1/package/docker-compose/Config.in new file mode 100644 index 00000000..f82a0c4b --- /dev/null +++ b/buildroot-2022.02.1/package/docker-compose/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_DOCKER_COMPOSE + bool "docker-compose" + depends on BR2_USE_MMU # python3 + depends on BR2_USE_WCHAR # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on !BR2_STATIC_LIBS # python3 + # python-paramiko -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_CACHED_PROPERTY # runtime + select BR2_PACKAGE_PYTHON_DOCOPT # runtime + select BR2_PACKAGE_PYTHON_PARAMIKO # runtime + select BR2_PACKAGE_PYTHON_PYYAML # runtime + select BR2_PACKAGE_PYTHON_REQUESTS # runtime + select BR2_PACKAGE_PYTHON_TEXTTABLE # runtime + select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime + select BR2_PACKAGE_PYTHON_DOCKER # runtime + select BR2_PACKAGE_PYTHON_DOCKERPTY # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime + help + Multi-container orchestration for Docker. + + https://www.docker.com/ + +comment "docker-compose needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/docker-compose/docker-compose.hash b/buildroot-2022.02.1/package/docker-compose/docker-compose.hash similarity index 100% rename from buildroot-2021.05/package/docker-compose/docker-compose.hash rename to buildroot-2022.02.1/package/docker-compose/docker-compose.hash diff --git a/buildroot-2021.05/package/docker-compose/docker-compose.mk b/buildroot-2022.02.1/package/docker-compose/docker-compose.mk similarity index 100% rename from buildroot-2021.05/package/docker-compose/docker-compose.mk rename to buildroot-2022.02.1/package/docker-compose/docker-compose.mk diff --git a/buildroot-2022.02.1/package/docker-engine/Config.in b/buildroot-2022.02.1/package/docker-engine/Config.in new file mode 100644 index 00000000..1f0efb8f --- /dev/null +++ b/buildroot-2022.02.1/package/docker-engine/Config.in @@ -0,0 +1,56 @@ +config BR2_PACKAGE_DOCKER_ENGINE + bool "docker-engine" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd -> runc + depends on BR2_USE_MMU # containerd + select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency + select BR2_PACKAGE_CONTAINERD # runtime dependency + select BR2_PACKAGE_DOCKER_PROXY # runtime dependency + select BR2_PACKAGE_IPTABLES # runtime dependency + help + Docker is a platform to build, ship, + and run applications as lightweight containers. + + https://github.com/docker/docker + +if BR2_PACKAGE_DOCKER_ENGINE + +config BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL + bool "build experimental features" + +config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS + bool "btrfs filesystem driver" + depends on BR2_USE_MMU # btrfs-progs + depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs + select BR2_PACKAGE_BTRFS_PROGS + help + Build the btrfs filesystem driver for Docker. + +config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER + bool "devicemapper filesystem driver" + depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 + depends on BR2_USE_MMU # lvm2 + depends on !BR2_STATIC_LIBS # lvm2 + select BR2_PACKAGE_LVM2 + help + Build the devicemapper filesystem driver for Docker. + +config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS + bool "vfs filesystem driver" + depends on BR2_USE_WCHAR # gvfs + depends on BR2_USE_MMU # gvfs + depends on BR2_TOOLCHAIN_HAS_THREADS # gvfs + depends on !BR2_STATIC_LIBS # gvfs + select BR2_PACKAGE_GVFS + help + Build the vfs filesystem driver for Docker. + +endif + +comment "docker-engine needs a glibc or musl toolchain w/ threads" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/docker-engine/S60dockerd b/buildroot-2022.02.1/package/docker-engine/S60dockerd similarity index 100% rename from buildroot-2021.05/package/docker-engine/S60dockerd rename to buildroot-2022.02.1/package/docker-engine/S60dockerd diff --git a/buildroot-2022.02.1/package/docker-engine/docker-engine.hash b/buildroot-2022.02.1/package/docker-engine/docker-engine.hash new file mode 100644 index 00000000..d4fe83a8 --- /dev/null +++ b/buildroot-2022.02.1/package/docker-engine/docker-engine.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 dbe1ae342351108b7b30232c4bce0559c81ad9fb6c978d7c8425d6aa53e476c1 docker-engine-20.10.14.tar.gz +sha256 7c87873291f289713ac5df48b1f2010eb6963752bbd6b530416ab99fc37914a8 LICENSE diff --git a/buildroot-2022.02.1/package/docker-engine/docker-engine.mk b/buildroot-2022.02.1/package/docker-engine/docker-engine.mk new file mode 100644 index 00000000..3aef3159 --- /dev/null +++ b/buildroot-2022.02.1/package/docker-engine/docker-engine.mk @@ -0,0 +1,138 @@ +################################################################################ +# +# docker-engine +# +################################################################################ + +DOCKER_ENGINE_VERSION = 20.10.14 +DOCKER_ENGINE_SITE = $(call github,moby,moby,v$(DOCKER_ENGINE_VERSION)) + +DOCKER_ENGINE_LICENSE = Apache-2.0 +DOCKER_ENGINE_LICENSE_FILES = LICENSE + +DOCKER_ENGINE_DEPENDENCIES = host-pkgconf +DOCKER_ENGINE_GOMOD = github.com/docker/docker + +DOCKER_ENGINE_CPE_ID_VENDOR = docker +DOCKER_ENGINE_CPE_ID_PRODUCT = docker + +DOCKER_ENGINE_LDFLAGS = \ + -X $(DOCKER_ENGINE_GOMOD)/dockerversion.BuildTime="" \ + -X $(DOCKER_ENGINE_GOMOD)/dockerversion.GitCommit="buildroot" \ + -X $(DOCKER_ENGINE_GOMOD)/dockerversion.IAmStatic="false" \ + -X $(DOCKER_ENGINE_GOMOD)/dockerversion.InitCommitID="" \ + -X $(DOCKER_ENGINE_GOMOD)/dockerversion.Version="$(DOCKER_ENGINE_VERSION)" + +DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs +DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd + +ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) +DOCKER_ENGINE_DEPENDENCIES += libapparmor +DOCKER_ENGINE_TAGS += apparmor +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +DOCKER_ENGINE_TAGS += seccomp +DOCKER_ENGINE_DEPENDENCIES += libseccomp +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +DOCKER_ENGINE_DEPENDENCIES += systemd +DOCKER_ENGINE_TAGS += systemd journald +endif +ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_EXPERIMENTAL),y) +DOCKER_ENGINE_TAGS += experimental +endif + +ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS),y) +DOCKER_ENGINE_DEPENDENCIES += btrfs-progs +else +DOCKER_ENGINE_TAGS += exclude_graphdriver_btrfs +endif + +ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER),y) +DOCKER_ENGINE_DEPENDENCIES += lvm2 +else +DOCKER_ENGINE_TAGS += exclude_graphdriver_devicemapper +endif + +ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS),y) +DOCKER_ENGINE_DEPENDENCIES += gvfs +else +DOCKER_ENGINE_TAGS += exclude_graphdriver_vfs +endif + +DOCKER_ENGINE_INSTALL_BINS = $(notdir $(DOCKER_ENGINE_BUILD_TARGETS)) + +define DOCKER_ENGINE_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/contrib/init/systemd/docker.service \ + $(TARGET_DIR)/usr/lib/systemd/system/docker.service + $(INSTALL) -D -m 0644 $(@D)/contrib/init/systemd/docker.socket \ + $(TARGET_DIR)/usr/lib/systemd/system/docker.socket +endef + +define DOCKER_ENGINE_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/docker-engine/S60dockerd \ + $(TARGET_DIR)/etc/init.d/S60dockerd +endef + +define DOCKER_ENGINE_USERS + - - docker -1 * - - - Docker Application Container Framework +endef + +ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_BTRFS),y) +define DOCKER_ENGINE_DRIVER_BTRFS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_BTRFS_FS) + $(call KCONFIG_ENABLE_OPT,CONFIG_BTRFS_FS_POSIX_ACL) +endef +endif + +ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_DEVICEMAPPER),y) +define DOCKER_ENGINE_DRIVER_DM_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_MD) + $(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_DM) + $(call KCONFIG_ENABLE_OPT,CONFIG_MD_THIN_PROVISIONING) +endef +endif + +# based on contrib/check-config.sh +define DOCKER_ENGINE_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_POSIX_MQUEUE) + $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS) + $(call KCONFIG_ENABLE_OPT,CONFIG_MEMCG) + $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUP_SCHED) + $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUP_FREEZER) + $(call KCONFIG_ENABLE_OPT,CONFIG_CPUSETS) + $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUP_DEVICE) + $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUP_CPUACCT) + $(call KCONFIG_ENABLE_OPT,CONFIG_NAMESPACES) + $(call KCONFIG_ENABLE_OPT,CONFIG_UTS_NS) + $(call KCONFIG_ENABLE_OPT,CONFIG_IPC_NS) + $(call KCONFIG_ENABLE_OPT,CONFIG_PID_NS) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET_NS) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED) + $(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE_NETFILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XTABLES) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XT_MATCH_ADDRTYPE) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XT_MATCH_CONNTRACK) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XT_MATCH_IPVS) + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES) + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_NAT) + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_TARGET_MASQUERADE) + $(call KCONFIG_ENABLE_OPT,CONFIG_BRIDGE) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE) + $(call KCONFIG_ENABLE_OPT,CONFIG_DUMMY) + $(call KCONFIG_ENABLE_OPT,CONFIG_MACVLAN) + $(call KCONFIG_ENABLE_OPT,CONFIG_IPVLAN) + $(call KCONFIG_ENABLE_OPT,CONFIG_VXLAN) + $(call KCONFIG_ENABLE_OPT,CONFIG_VETH) + $(call KCONFIG_ENABLE_OPT,CONFIG_OVERLAY_FS) + $(call KCONFIG_ENABLE_OPT,CONFIG_KEYS) + $(DOCKER_ENGINE_DRIVER_BTRFS_LINUX_CONFIG_FIXUPS) + $(DOCKER_ENGINE_DRIVER_DM_LINUX_CONFIG_FIXUPS) +endef + +$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/docker-proxy/Config.in b/buildroot-2022.02.1/package/docker-proxy/Config.in similarity index 100% rename from buildroot-2021.05/package/docker-proxy/Config.in rename to buildroot-2022.02.1/package/docker-proxy/Config.in diff --git a/buildroot-2021.05/package/docker-proxy/docker-proxy.hash b/buildroot-2022.02.1/package/docker-proxy/docker-proxy.hash similarity index 100% rename from buildroot-2021.05/package/docker-proxy/docker-proxy.hash rename to buildroot-2022.02.1/package/docker-proxy/docker-proxy.hash diff --git a/buildroot-2021.05/package/docker-proxy/docker-proxy.mk b/buildroot-2022.02.1/package/docker-proxy/docker-proxy.mk similarity index 100% rename from buildroot-2021.05/package/docker-proxy/docker-proxy.mk rename to buildroot-2022.02.1/package/docker-proxy/docker-proxy.mk diff --git a/buildroot-2021.05/package/docker/Config.in b/buildroot-2022.02.1/package/docker/Config.in similarity index 100% rename from buildroot-2021.05/package/docker/Config.in rename to buildroot-2022.02.1/package/docker/Config.in diff --git a/buildroot-2021.05/package/docker/docker.hash b/buildroot-2022.02.1/package/docker/docker.hash similarity index 100% rename from buildroot-2021.05/package/docker/docker.hash rename to buildroot-2022.02.1/package/docker/docker.hash diff --git a/buildroot-2021.05/package/docker/docker.mk b/buildroot-2022.02.1/package/docker/docker.mk similarity index 100% rename from buildroot-2021.05/package/docker/docker.mk rename to buildroot-2022.02.1/package/docker/docker.mk diff --git a/buildroot-2021.05/package/domoticz/Config.in b/buildroot-2022.02.1/package/domoticz/Config.in similarity index 100% rename from buildroot-2021.05/package/domoticz/Config.in rename to buildroot-2022.02.1/package/domoticz/Config.in diff --git a/buildroot-2021.05/package/domoticz/S99domoticz b/buildroot-2022.02.1/package/domoticz/S99domoticz similarity index 100% rename from buildroot-2021.05/package/domoticz/S99domoticz rename to buildroot-2022.02.1/package/domoticz/S99domoticz diff --git a/buildroot-2022.02.1/package/domoticz/domoticz.hash b/buildroot-2022.02.1/package/domoticz/domoticz.hash new file mode 100644 index 00000000..18bf57b7 --- /dev/null +++ b/buildroot-2022.02.1/package/domoticz/domoticz.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 b7faf959c4f1dbfec3b0c17ab495f29b3d1437bc2251579c5252be82247e7ff9 domoticz-2022.1-br1.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 License.txt diff --git a/buildroot-2022.02.1/package/domoticz/domoticz.mk b/buildroot-2022.02.1/package/domoticz/domoticz.mk new file mode 100644 index 00000000..5edc10e8 --- /dev/null +++ b/buildroot-2022.02.1/package/domoticz/domoticz.mk @@ -0,0 +1,101 @@ +################################################################################ +# +# domoticz +# +################################################################################ + +DOMOTICZ_VERSION = 2022.1 +DOMOTICZ_SITE = https://github.com/domoticz/domoticz +DOMOTICZ_SITE_METHOD = git +DOMOTICZ_GIT_SUBMODULES = YES +DOMOTICZ_LICENSE = GPL-3.0 +DOMOTICZ_LICENSE_FILES = License.txt +DOMOTICZ_CPE_ID_VENDOR = domoticz +DOMOTICZ_DEPENDENCIES = \ + boost \ + cereal \ + fmt \ + host-pkgconf \ + jsoncpp \ + libcurl \ + lua \ + mosquitto \ + openssl \ + sqlite \ + zlib + +# Disable precompiled header as it needs cmake >= 3.16 +DOMOTICZ_CONF_OPTS = -DUSE_PRECOMPILED_HEADER=OFF + +# Due to the dependency on mosquitto, domoticz depends on +# !BR2_STATIC_LIBS so set USE_STATIC_BOOST and USE_OPENSSL_STATIC to OFF +DOMOTICZ_CONF_OPTS += \ + -DUSE_STATIC_BOOST=OFF \ + -DUSE_OPENSSL_STATIC=OFF + +# Do not use any built-in libraries which are enabled by default for +# jsoncpp, fmt, sqlite and mqtt +DOMOTICZ_CONF_OPTS += \ + -DUSE_BUILTIN_JSONCPP=OFF \ + -DUSE_BUILTIN_LIBFMT=OFF \ + -DUSE_BUILTIN_SQLITE=OFF \ + -DUSE_BUILTIN_MQTT=OFF + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +DOMOTICZ_DEPENDENCIES += libexecinfo +DOMOTICZ_CONF_OPTS += -DEXECINFO_LIBRARIES=-lexecinfo +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +DOMOTICZ_DEPENDENCIES += libusb +DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=ON +else +DOMOTICZ_CONF_OPTS += -DWITH_LIBUSB=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENZWAVE),y) +DOMOTICZ_DEPENDENCIES += openzwave + +# Due to the dependency on mosquitto, domoticz depends on +# !BR2_STATIC_LIBS so set USE_STATIC_OPENZWAVE to OFF otherwise +# domoticz will not find the openzwave library as it searches by +# default a static library. +DOMOTICZ_CONF_OPTS += -DUSE_STATIC_OPENZWAVE=OFF +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +DOMOTICZ_DEPENDENCIES += python3 +DOMOTICZ_CONF_OPTS += -DUSE_PYTHON=ON +else +DOMOTICZ_CONF_OPTS += -DUSE_PYTHON=OFF +endif + +# Install domoticz in a dedicated directory (/opt/domoticz) as +# domoticz expects by default that all its subdirectories (www, +# Config, scripts, ...) are in the binary directory. +DOMOTICZ_TARGET_DIR = /opt/domoticz +DOMOTICZ_CONF_OPTS += -DCMAKE_INSTALL_PREFIX=$(DOMOTICZ_TARGET_DIR) + +# Delete License.txt and updatedomo files installed by domoticz in target +# directory +# Do not delete History.txt as it is used in source code +define DOMOTICZ_REMOVE_UNNEEDED_FILES + $(RM) $(TARGET_DIR)/$(DOMOTICZ_TARGET_DIR)/License.txt + $(RM) $(TARGET_DIR)/$(DOMOTICZ_TARGET_DIR)/updatedomo +endef + +DOMOTICZ_POST_INSTALL_TARGET_HOOKS += DOMOTICZ_REMOVE_UNNEEDED_FILES + +# Use dedicated init scripts for systemV and systemd instead of using +# domoticz.sh as it is not compatible with buildroot init system +define DOMOTICZ_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/domoticz/S99domoticz \ + $(TARGET_DIR)/etc/init.d/S99domoticz +endef + +define DOMOTICZ_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/domoticz/domoticz.service \ + $(TARGET_DIR)/usr/lib/systemd/system/domoticz.service +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/domoticz/domoticz.service b/buildroot-2022.02.1/package/domoticz/domoticz.service similarity index 100% rename from buildroot-2021.05/package/domoticz/domoticz.service rename to buildroot-2022.02.1/package/domoticz/domoticz.service diff --git a/buildroot-2021.05/package/doom-wad/Config.in b/buildroot-2022.02.1/package/doom-wad/Config.in similarity index 100% rename from buildroot-2021.05/package/doom-wad/Config.in rename to buildroot-2022.02.1/package/doom-wad/Config.in diff --git a/buildroot-2021.05/package/doom-wad/doom-wad.hash b/buildroot-2022.02.1/package/doom-wad/doom-wad.hash similarity index 100% rename from buildroot-2021.05/package/doom-wad/doom-wad.hash rename to buildroot-2022.02.1/package/doom-wad/doom-wad.hash diff --git a/buildroot-2021.05/package/doom-wad/doom-wad.mk b/buildroot-2022.02.1/package/doom-wad/doom-wad.mk similarity index 100% rename from buildroot-2021.05/package/doom-wad/doom-wad.mk rename to buildroot-2022.02.1/package/doom-wad/doom-wad.mk diff --git a/buildroot-2021.05/package/dos2unix/Config.in b/buildroot-2022.02.1/package/dos2unix/Config.in similarity index 100% rename from buildroot-2021.05/package/dos2unix/Config.in rename to buildroot-2022.02.1/package/dos2unix/Config.in diff --git a/buildroot-2021.05/package/dos2unix/Config.in.host b/buildroot-2022.02.1/package/dos2unix/Config.in.host similarity index 100% rename from buildroot-2021.05/package/dos2unix/Config.in.host rename to buildroot-2022.02.1/package/dos2unix/Config.in.host diff --git a/buildroot-2021.05/package/dos2unix/dos2unix.hash b/buildroot-2022.02.1/package/dos2unix/dos2unix.hash similarity index 100% rename from buildroot-2021.05/package/dos2unix/dos2unix.hash rename to buildroot-2022.02.1/package/dos2unix/dos2unix.hash diff --git a/buildroot-2021.05/package/dos2unix/dos2unix.mk b/buildroot-2022.02.1/package/dos2unix/dos2unix.mk similarity index 100% rename from buildroot-2021.05/package/dos2unix/dos2unix.mk rename to buildroot-2022.02.1/package/dos2unix/dos2unix.mk diff --git a/buildroot-2021.05/package/dosfstools/Config.in b/buildroot-2022.02.1/package/dosfstools/Config.in similarity index 100% rename from buildroot-2021.05/package/dosfstools/Config.in rename to buildroot-2022.02.1/package/dosfstools/Config.in diff --git a/buildroot-2021.05/package/dosfstools/Config.in.host b/buildroot-2022.02.1/package/dosfstools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/dosfstools/Config.in.host rename to buildroot-2022.02.1/package/dosfstools/Config.in.host diff --git a/buildroot-2021.05/package/dosfstools/dosfstools.hash b/buildroot-2022.02.1/package/dosfstools/dosfstools.hash similarity index 100% rename from buildroot-2021.05/package/dosfstools/dosfstools.hash rename to buildroot-2022.02.1/package/dosfstools/dosfstools.hash diff --git a/buildroot-2022.02.1/package/dosfstools/dosfstools.mk b/buildroot-2022.02.1/package/dosfstools/dosfstools.mk new file mode 100644 index 00000000..26a28670 --- /dev/null +++ b/buildroot-2022.02.1/package/dosfstools/dosfstools.mk @@ -0,0 +1,60 @@ +################################################################################ +# +# dosfstools +# +################################################################################ + +DOSFSTOOLS_VERSION = 4.2 +DOSFSTOOLS_SITE = https://github.com/dosfstools/dosfstools/releases/download/v$(DOSFSTOOLS_VERSION) +DOSFSTOOLS_LICENSE = GPL-3.0+ +DOSFSTOOLS_LICENSE_FILES = COPYING +DOSFSTOOLS_CPE_ID_VENDOR = dosfstools_project +DOSFSTOOLS_SELINUX_MODULES = fstools +DOSFSTOOLS_CONF_OPTS = --enable-compat-symlinks --exec-prefix=/ +HOST_DOSFSTOOLS_CONF_OPTS = --enable-compat-symlinks + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +DOSFSTOOLS_CONF_OPTS += --with-udev +DOSFSTOOLS_DEPENDENCIES += udev +else +DOSFSTOOLS_CONF_OPTS += --without-udev +endif + +ifneq ($(BR2_ENABLE_LOCALE),y) +DOSFSTOOLS_CONF_OPTS += LIBS="-liconv" +DOSFSTOOLS_DEPENDENCIES += libiconv +endif + +ifeq ($(BR2_PACKAGE_DOSFSTOOLS_FATLABEL),y) +define DOSFSTOOLS_INSTALL_FATLABEL + $(INSTALL) -D -m 0755 $(@D)/src/fatlabel $(TARGET_DIR)/sbin/fatlabel + ln -sf fatlabel $(TARGET_DIR)/sbin/dosfslabel +endef +endif + +ifeq ($(BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT),y) +define DOSFSTOOLS_INSTALL_FSCK_FAT + $(INSTALL) -D -m 0755 $(@D)/src/fsck.fat $(TARGET_DIR)/sbin/fsck.fat + ln -sf fsck.fat $(TARGET_DIR)/sbin/fsck.vfat + ln -sf fsck.fat $(TARGET_DIR)/sbin/fsck.msdos + ln -sf fsck.fat $(TARGET_DIR)/sbin/dosfsck +endef +endif + +ifeq ($(BR2_PACKAGE_DOSFSTOOLS_MKFS_FAT),y) +define DOSFSTOOLS_INSTALL_MKFS_FAT + $(INSTALL) -D -m 0755 $(@D)/src/mkfs.fat $(TARGET_DIR)/sbin/mkfs.fat + ln -sf mkfs.fat $(TARGET_DIR)/sbin/mkdosfs + ln -sf mkfs.fat $(TARGET_DIR)/sbin/mkfs.msdos + ln -sf mkfs.fat $(TARGET_DIR)/sbin/mkfs.vfat +endef +endif + +define DOSFSTOOLS_INSTALL_TARGET_CMDS + $(call DOSFSTOOLS_INSTALL_FATLABEL) + $(call DOSFSTOOLS_INSTALL_FSCK_FAT) + $(call DOSFSTOOLS_INSTALL_MKFS_FAT) +endef + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/dovecot-pigeonhole/Config.in b/buildroot-2022.02.1/package/dovecot-pigeonhole/Config.in similarity index 100% rename from buildroot-2021.05/package/dovecot-pigeonhole/Config.in rename to buildroot-2022.02.1/package/dovecot-pigeonhole/Config.in diff --git a/buildroot-2022.02.1/package/dovecot-pigeonhole/dovecot-pigeonhole.hash b/buildroot-2022.02.1/package/dovecot-pigeonhole/dovecot-pigeonhole.hash new file mode 100644 index 00000000..f3a58901 --- /dev/null +++ b/buildroot-2022.02.1/package/dovecot-pigeonhole/dovecot-pigeonhole.hash @@ -0,0 +1,3 @@ +# Locally computed after checking signature +sha256 a6d828f8d6f2decba5105343ece5c7a65245bd94e46a8ae4432a6d97543108a5 dovecot-2.3-pigeonhole-0.5.18.tar.gz +sha256 fc9e9522216f2a9a28b31300e3c73c1df56acc27dfae951bf516e7995366b51a COPYING diff --git a/buildroot-2022.02.1/package/dovecot-pigeonhole/dovecot-pigeonhole.mk b/buildroot-2022.02.1/package/dovecot-pigeonhole/dovecot-pigeonhole.mk new file mode 100644 index 00000000..62d9909c --- /dev/null +++ b/buildroot-2022.02.1/package/dovecot-pigeonhole/dovecot-pigeonhole.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# dovecot-pigeonhole +# +################################################################################ + +DOVECOT_PIGEONHOLE_VERSION = 0.5.18 +DOVECOT_PIGEONHOLE_SOURCE = dovecot-2.3-pigeonhole-$(DOVECOT_PIGEONHOLE_VERSION).tar.gz +DOVECOT_PIGEONHOLE_SITE = https://pigeonhole.dovecot.org/releases/2.3 +DOVECOT_PIGEONHOLE_LICENSE = LGPL-2.1 +DOVECOT_PIGEONHOLE_LICENSE_FILES = COPYING +DOVECOT_PIGEONHOLE_CPE_ID_VENDOR = dovecot +DOVECOT_PIGEONHOLE_CPE_ID_PRODUCT = pigeonhole +DOVECOT_PIGEONHOLE_DEPENDENCIES = dovecot + +DOVECOT_PIGEONHOLE_CONF_OPTS = --with-dovecot=$(STAGING_DIR)/usr/lib + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dovecot/Config.in b/buildroot-2022.02.1/package/dovecot/Config.in similarity index 100% rename from buildroot-2021.05/package/dovecot/Config.in rename to buildroot-2022.02.1/package/dovecot/Config.in diff --git a/buildroot-2022.02.1/package/dovecot/dovecot.hash b/buildroot-2022.02.1/package/dovecot/dovecot.hash new file mode 100644 index 00000000..0363b6e9 --- /dev/null +++ b/buildroot-2022.02.1/package/dovecot/dovecot.hash @@ -0,0 +1,5 @@ +# Locally computed after checking signature +sha256 1c67ccccdc81a75007c01dedc02ad608c4d856c60a6b89b9cd246e79f72aa2b8 dovecot-2.3.17.1.tar.gz +sha256 319a9830aab406109cd67cb45496587566a8123203d66d037b209ca3e13de02a COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL +sha256 52b8c95fabb19575281874b661ef7968ea47e8f5d74ba0dd40ce512e52b3fc97 COPYING.MIT diff --git a/buildroot-2022.02.1/package/dovecot/dovecot.mk b/buildroot-2022.02.1/package/dovecot/dovecot.mk new file mode 100644 index 00000000..fb299a8e --- /dev/null +++ b/buildroot-2022.02.1/package/dovecot/dovecot.mk @@ -0,0 +1,135 @@ +################################################################################ +# +# dovecot +# +################################################################################ + +DOVECOT_VERSION_MAJOR = 2.3 +DOVECOT_VERSION = $(DOVECOT_VERSION_MAJOR).17.1 +DOVECOT_SITE = https://dovecot.org/releases/$(DOVECOT_VERSION_MAJOR) +DOVECOT_INSTALL_STAGING = YES +DOVECOT_LICENSE = LGPL-2.1, MIT, Public Domain, BSD-3-Clause, Unicode-DFS-2015 +DOVECOT_LICENSE_FILES = COPYING COPYING.LGPL COPYING.MIT +DOVECOT_CPE_ID_VENDOR = dovecot +DOVECOT_SELINUX_MODULES = dovecot +DOVECOT_DEPENDENCIES = \ + host-pkgconf \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ + openssl + +# CVE-2016-4983 is an issue in a postinstall script in the dovecot rpm, which +# is part of the Red Hat packaging and not part of upstream dovecot +DOVECOT_IGNORE_CVES += CVE-2016-4983 + +DOVECOT_CONF_ENV = \ + RPCGEN=__disable_RPCGEN_rquota \ + i_cv_epoll_works=yes \ + i_cv_inotify_works=yes \ + i_cv_posix_fallocate_works=no \ + i_cv_signed_size_t=no \ + i_cv_gmtime_max_time_t=32 \ + i_cv_signed_time_t=yes \ + i_cv_mmap_plays_with_write=yes \ + i_cv_fd_passing=yes \ + i_cv_c99_vsnprintf=yes \ + lib_cv_va_copy=yes \ + lib_cv___va_copy=yes \ + lib_cv_va_val_copy=yes + +DOVECOT_CONF_OPTS = --without-docs --with-ssl=openssl + +ifeq ($(BR2_PACKAGE_DOVECOT_MYSQL)$(BR2_PACKAGE_DOVECOT_SQLITE),) +DOVECOT_CONF_OPTS += --without-sql +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +DOVECOT_CONF_OPTS += --with-bzlib +DOVECOT_DEPENDENCIES += bzip2 +else +DOVECOT_CONF_OPTS += --without-bzlib +endif + +ifeq ($(BR2_PACKAGE_ICU),y) +DOVECOT_CONF_OPTS += --with-icu +DOVECOT_DEPENDENCIES += icu +else +DOVECOT_CONF_OPTS += --without-icu +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +DOVECOT_CONF_OPTS += --with-libcap +DOVECOT_DEPENDENCIES += libcap +else +DOVECOT_CONF_OPTS += --without-libcap +endif + +ifeq ($(BR2_PACKAGE_LIBSODIUM),y) +DOVECOT_CONF_OPTS += --with-sodium +DOVECOT_DEPENDENCIES += libsodium +else +DOVECOT_CONF_OPTS += --without-sodium +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +DOVECOT_CONF_OPTS += --with-pam +DOVECOT_DEPENDENCIES += linux-pam +else +DOVECOT_CONF_OPTS += --without-pam +endif + +ifeq ($(BR2_PACKAGE_DOVECOT_MYSQL),y) +DOVECOT_CONF_ENV += MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config" +DOVECOT_CONF_OPTS += --with-mysql +DOVECOT_DEPENDENCIES += mysql +else +DOVECOT_CONF_OPTS += --without-mysql +endif + +ifeq ($(BR2_PACKAGE_DOVECOT_SQLITE),y) +DOVECOT_CONF_OPTS += --with-sqlite +DOVECOT_DEPENDENCIES += sqlite +else +DOVECOT_CONF_OPTS += --without-sqlite +endif + +ifeq ($(BR2_PACKAGE_LZ4),y) +DOVECOT_CONF_OPTS += --with-lz4 +DOVECOT_DEPENDENCIES += lz4 +else +DOVECOT_CONF_OPTS += --without-lz4 +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +DOVECOT_CONF_OPTS += --with-lzma +DOVECOT_DEPENDENCIES += xz +else +DOVECOT_CONF_OPTS += --without-lzma +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +DOVECOT_CONF_OPTS += --with-zlib +DOVECOT_DEPENDENCIES += zlib +else +DOVECOT_CONF_OPTS += --without-zlib +endif + +# fix paths to avoid using /usr/lib/dovecot +define DOVECOT_POST_CONFIGURE + for i in $$(find $(@D) -name "Makefile"); do \ + $(SED) 's%^pkglibdir =.*%pkglibdir = \$$(libdir)%' $$i; \ + $(SED) 's%^pkglibexecdir =.*%pkglibexecdir = \$$(libexecdir)%' $$i; \ + done +endef + +DOVECOT_POST_CONFIGURE_HOOKS += DOVECOT_POST_CONFIGURE + +# dovecot installs dovecot-config in usr/lib/, therefore +# DOVECOT_CONFIG_SCRIPTS can not be used to rewrite paths +define DOVECOT_FIX_STAGING_DOVECOT_CONFIG + $(SED) 's,^LIBDOVECOT_INCLUDE=.*$$,LIBDOVECOT_INCLUDE=\"-I$(STAGING_DIR)/usr/include/dovecot\",' $(STAGING_DIR)/usr/lib/dovecot-config + $(SED) 's,^LIBDOVECOT=.*$$,LIBDOVECOT=\"-L$(STAGING_DIR)/usr/lib -ldovecot\",' $(STAGING_DIR)/usr/lib/dovecot-config +endef + +DOVECOT_POST_INSTALL_STAGING_HOOKS += DOVECOT_FIX_STAGING_DOVECOT_CONFIG + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/doxygen/Config.in.host b/buildroot-2022.02.1/package/doxygen/Config.in.host similarity index 100% rename from buildroot-2021.05/package/doxygen/Config.in.host rename to buildroot-2022.02.1/package/doxygen/Config.in.host diff --git a/buildroot-2021.05/package/doxygen/doxygen.hash b/buildroot-2022.02.1/package/doxygen/doxygen.hash similarity index 100% rename from buildroot-2021.05/package/doxygen/doxygen.hash rename to buildroot-2022.02.1/package/doxygen/doxygen.hash diff --git a/buildroot-2021.05/package/doxygen/doxygen.mk b/buildroot-2022.02.1/package/doxygen/doxygen.mk similarity index 100% rename from buildroot-2021.05/package/doxygen/doxygen.mk rename to buildroot-2022.02.1/package/doxygen/doxygen.mk diff --git a/buildroot-2021.05/package/drbd-utils/Config.in b/buildroot-2022.02.1/package/drbd-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/drbd-utils/Config.in rename to buildroot-2022.02.1/package/drbd-utils/Config.in diff --git a/buildroot-2022.02.1/package/drbd-utils/drbd-utils.hash b/buildroot-2022.02.1/package/drbd-utils/drbd-utils.hash new file mode 100644 index 00000000..58d28271 --- /dev/null +++ b/buildroot-2022.02.1/package/drbd-utils/drbd-utils.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 3827bfed6630f8784ec558a8ac3de68175d544876d897c0810ad141a61487cad drbd-utils-9.19.0.tar.gz +sha256 1ca3e8f71b7de618968e7ea9fe47822d9e704dc476aef8544033abedec355225 COPYING diff --git a/buildroot-2022.02.1/package/drbd-utils/drbd-utils.mk b/buildroot-2022.02.1/package/drbd-utils/drbd-utils.mk new file mode 100644 index 00000000..2082810a --- /dev/null +++ b/buildroot-2022.02.1/package/drbd-utils/drbd-utils.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# drbd-utils +# +################################################################################ + +DRBD_UTILS_VERSION = 9.19.0 +DRBD_UTILS_SITE = http://pkg.linbit.com/downloads/drbd/utils +DRBD_UTILS_LICENSE = GPL-2.0+ +DRBD_UTILS_LICENSE_FILES = COPYING +DRBD_UTILS_SELINUX_MODULES = drbd +DRBD_UTILS_DEPENDENCIES = host-flex + +DRBD_UTILS_CONF_OPTS = --with-distro=generic --without-manual + +ifeq ($(BR2_INIT_SYSTEMD),y) +DRBD_UTILS_CONF_OPTS += --with-initscripttype=systemd +DRBD_UTILS_DEPENDENCIES += systemd +else +DRBD_UTILS_CONF_OPTS += --with-initscripttype=sysv +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +DRBD_UTILS_CONF_OPTS += --with-udev=yes +DRBD_UTILS_DEPENDENCIES += udev +else +DRBD_UTILS_CONF_OPTS += --with-udev=no +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dropbear/Config.in b/buildroot-2022.02.1/package/dropbear/Config.in similarity index 100% rename from buildroot-2021.05/package/dropbear/Config.in rename to buildroot-2022.02.1/package/dropbear/Config.in diff --git a/buildroot-2021.05/package/dropbear/S50dropbear b/buildroot-2022.02.1/package/dropbear/S50dropbear similarity index 100% rename from buildroot-2021.05/package/dropbear/S50dropbear rename to buildroot-2022.02.1/package/dropbear/S50dropbear diff --git a/buildroot-2021.05/package/dropbear/dropbear.hash b/buildroot-2022.02.1/package/dropbear/dropbear.hash similarity index 100% rename from buildroot-2021.05/package/dropbear/dropbear.hash rename to buildroot-2022.02.1/package/dropbear/dropbear.hash diff --git a/buildroot-2021.05/package/dropbear/dropbear.mk b/buildroot-2022.02.1/package/dropbear/dropbear.mk similarity index 100% rename from buildroot-2021.05/package/dropbear/dropbear.mk rename to buildroot-2022.02.1/package/dropbear/dropbear.mk diff --git a/buildroot-2021.05/package/dropbear/dropbear.service b/buildroot-2022.02.1/package/dropbear/dropbear.service similarity index 100% rename from buildroot-2021.05/package/dropbear/dropbear.service rename to buildroot-2022.02.1/package/dropbear/dropbear.service diff --git a/buildroot-2021.05/package/dropbear/etc-pam.d-sshd b/buildroot-2022.02.1/package/dropbear/etc-pam.d-sshd similarity index 100% rename from buildroot-2021.05/package/dropbear/etc-pam.d-sshd rename to buildroot-2022.02.1/package/dropbear/etc-pam.d-sshd diff --git a/buildroot-2021.05/package/dropwatch/Config.in b/buildroot-2022.02.1/package/dropwatch/Config.in similarity index 100% rename from buildroot-2021.05/package/dropwatch/Config.in rename to buildroot-2022.02.1/package/dropwatch/Config.in diff --git a/buildroot-2021.05/package/dropwatch/dropwatch.hash b/buildroot-2022.02.1/package/dropwatch/dropwatch.hash similarity index 100% rename from buildroot-2021.05/package/dropwatch/dropwatch.hash rename to buildroot-2022.02.1/package/dropwatch/dropwatch.hash diff --git a/buildroot-2021.05/package/dropwatch/dropwatch.mk b/buildroot-2022.02.1/package/dropwatch/dropwatch.mk similarity index 100% rename from buildroot-2021.05/package/dropwatch/dropwatch.mk rename to buildroot-2022.02.1/package/dropwatch/dropwatch.mk diff --git a/buildroot-2022.02.1/package/dstat/Config.in b/buildroot-2022.02.1/package/dstat/Config.in new file mode 100644 index 00000000..09d1970f --- /dev/null +++ b/buildroot-2022.02.1/package/dstat/Config.in @@ -0,0 +1,28 @@ +config BR2_PACKAGE_DSTAT + bool "dstat" + depends on BR2_USE_WCHAR # python3 + depends on BR2_USE_MMU # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on !BR2_STATIC_LIBS # python3 + select BR2_PACKAGE_PYTHON3 # runtime + help + Dstat, written in Python, is a versatile replacement for + vmstat, iostat, netstat and ifstat. Dstat overcomes some of + their limitations and adds some extra features, more counters + and flexibility. Dstat is handy for monitoring systems during + performance tuning tests, benchmarks or troubleshooting. + Dstat allows you to view all of your system resources in + real-time, you can e.g. compare disk utilization in + combination with interrupts from your IDE controller, or + compare the network bandwidth numbers directly with the disk + throughput (in the same interval). + + Note that to get proper output, your terminal size should be + known by the termios subsystem. This can be done by running + the 'resize' utility of busybox. + + http://dag.wieers.com/home-made/dstat/ + +comment "dstat needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/dstat/dstat.hash b/buildroot-2022.02.1/package/dstat/dstat.hash similarity index 100% rename from buildroot-2021.05/package/dstat/dstat.hash rename to buildroot-2022.02.1/package/dstat/dstat.hash diff --git a/buildroot-2021.05/package/dstat/dstat.mk b/buildroot-2022.02.1/package/dstat/dstat.mk similarity index 100% rename from buildroot-2021.05/package/dstat/dstat.mk rename to buildroot-2022.02.1/package/dstat/dstat.mk diff --git a/buildroot-2021.05/package/dt-utils/Config.in b/buildroot-2022.02.1/package/dt-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/dt-utils/Config.in rename to buildroot-2022.02.1/package/dt-utils/Config.in diff --git a/buildroot-2022.02.1/package/dt-utils/dt-utils.hash b/buildroot-2022.02.1/package/dt-utils/dt-utils.hash new file mode 100644 index 00000000..9fca594d --- /dev/null +++ b/buildroot-2022.02.1/package/dt-utils/dt-utils.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 63cf47c70911bb3605bafac38a5a7e19eb753ac1c90de2abceaf2fdefd71be6d dt-utils-2021.03.0.tar.xz +sha256 a45932c79317d15116eadbf1c9c6fc59117ec3c4621db3a876066defa723963b COPYING diff --git a/buildroot-2022.02.1/package/dt-utils/dt-utils.mk b/buildroot-2022.02.1/package/dt-utils/dt-utils.mk new file mode 100644 index 00000000..d264e2cd --- /dev/null +++ b/buildroot-2022.02.1/package/dt-utils/dt-utils.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# dt-utils +# +################################################################################ + +DT_UTILS_VERSION = 2021.03.0 +DT_UTILS_SOURCE = dt-utils-$(DT_UTILS_VERSION).tar.xz +DT_UTILS_SITE = https://git.pengutronix.de/cgit/tools/dt-utils/snapshot +DT_UTILS_LICENSE = GPL-2.0 +DT_UTILS_LICENSE_FILES = COPYING +DT_UTILS_DEPENDENCIES = udev +DT_UTILS_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/dt/0001-adjust-os-symlink.patch b/buildroot-2022.02.1/package/dt/0001-adjust-os-symlink.patch similarity index 100% rename from buildroot-2021.05/package/dt/0001-adjust-os-symlink.patch rename to buildroot-2022.02.1/package/dt/0001-adjust-os-symlink.patch diff --git a/buildroot-2021.05/package/dt/0002-dt-default-source-define.patch b/buildroot-2022.02.1/package/dt/0002-dt-default-source-define.patch similarity index 100% rename from buildroot-2021.05/package/dt/0002-dt-default-source-define.patch rename to buildroot-2022.02.1/package/dt/0002-dt-default-source-define.patch diff --git a/buildroot-2021.05/package/dt/Config.in b/buildroot-2022.02.1/package/dt/Config.in similarity index 100% rename from buildroot-2021.05/package/dt/Config.in rename to buildroot-2022.02.1/package/dt/Config.in diff --git a/buildroot-2021.05/package/dt/dt.hash b/buildroot-2022.02.1/package/dt/dt.hash similarity index 100% rename from buildroot-2021.05/package/dt/dt.hash rename to buildroot-2022.02.1/package/dt/dt.hash diff --git a/buildroot-2021.05/package/dt/dt.mk b/buildroot-2022.02.1/package/dt/dt.mk similarity index 100% rename from buildroot-2021.05/package/dt/dt.mk rename to buildroot-2022.02.1/package/dt/dt.mk diff --git a/buildroot-2021.05/package/dtach/Config.in b/buildroot-2022.02.1/package/dtach/Config.in similarity index 100% rename from buildroot-2021.05/package/dtach/Config.in rename to buildroot-2022.02.1/package/dtach/Config.in diff --git a/buildroot-2021.05/package/dtach/dtach.hash b/buildroot-2022.02.1/package/dtach/dtach.hash similarity index 100% rename from buildroot-2021.05/package/dtach/dtach.hash rename to buildroot-2022.02.1/package/dtach/dtach.hash diff --git a/buildroot-2021.05/package/dtach/dtach.mk b/buildroot-2022.02.1/package/dtach/dtach.mk similarity index 100% rename from buildroot-2021.05/package/dtach/dtach.mk rename to buildroot-2022.02.1/package/dtach/dtach.mk diff --git a/buildroot-2022.02.1/package/dtbocfg/Config.in b/buildroot-2022.02.1/package/dtbocfg/Config.in new file mode 100644 index 00000000..35e31806 --- /dev/null +++ b/buildroot-2022.02.1/package/dtbocfg/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_DTBOCFG + bool "dtbocfg" + depends on BR2_LINUX_KERNEL + help + dtbocfg, which stands for Device Tree Blob Overlay + Configuration File System, was developed to serve + as a userspace API of Device Tree Overlay. + + https://github.com/ikwzm/dtbocfg + +comment "dtbocfg needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL diff --git a/buildroot-2022.02.1/package/dtbocfg/dtbocfg.hash b/buildroot-2022.02.1/package/dtbocfg/dtbocfg.hash new file mode 100644 index 00000000..7db69f9e --- /dev/null +++ b/buildroot-2022.02.1/package/dtbocfg/dtbocfg.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 faa53aefd7f7636c65e2b56bec223d2bc7676354e3ad9b5c1691aca349b9bbb8 dtbocfg-0.0.9.tar.gz +sha256 e57cb9f2ed607cd95bf1b64371325c505c1ac8fe640a8c9933e7fe7637a38567 LICENSE diff --git a/buildroot-2022.02.1/package/dtbocfg/dtbocfg.mk b/buildroot-2022.02.1/package/dtbocfg/dtbocfg.mk new file mode 100644 index 00000000..68beb1a4 --- /dev/null +++ b/buildroot-2022.02.1/package/dtbocfg/dtbocfg.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# dtbocfg +# +################################################################################ + +DTBOCFG_VERSION = 0.0.9 +DTBOCFG_SITE = $(call github,ikwzm,dtbocfg,v$(DTBOCFG_VERSION)) +DTBOCFG_LICENSE = BSD-2-Clause +DTBOCFG_LICENSE_FILES = LICENSE + +define DTBOCFG_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_OF_OVERLAY) + $(call KCONFIG_ENABLE_OPT,CONFIG_CONFIGFS_FS) +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch b/buildroot-2022.02.1/package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch similarity index 100% rename from buildroot-2021.05/package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch rename to buildroot-2022.02.1/package/dtc/0001-Fix-include-guards-for-older-kernel-u-boot-sources.patch diff --git a/buildroot-2021.05/package/dtc/Config.in b/buildroot-2022.02.1/package/dtc/Config.in similarity index 100% rename from buildroot-2021.05/package/dtc/Config.in rename to buildroot-2022.02.1/package/dtc/Config.in diff --git a/buildroot-2021.05/package/dtc/Config.in.host b/buildroot-2022.02.1/package/dtc/Config.in.host similarity index 100% rename from buildroot-2021.05/package/dtc/Config.in.host rename to buildroot-2022.02.1/package/dtc/Config.in.host diff --git a/buildroot-2022.02.1/package/dtc/dtc.hash b/buildroot-2022.02.1/package/dtc/dtc.hash new file mode 100644 index 00000000..29b7e0b1 --- /dev/null +++ b/buildroot-2022.02.1/package/dtc/dtc.hash @@ -0,0 +1,7 @@ +# from https://www.kernel.org/pub/software/utils/dtc/sha256sums.asc +sha256 65cec529893659a49a89740bb362f507a3b94fc8cd791e76a8d6a2b6f3203473 dtc-1.6.1.tar.xz + +# Hash for license files +sha256 78e1e1ce5728a990d59c7de61d4741c49185d5129daf783b386380a214328d68 README.license +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 GPL +sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd BSD-2-Clause diff --git a/buildroot-2022.02.1/package/dtc/dtc.mk b/buildroot-2022.02.1/package/dtc/dtc.mk new file mode 100644 index 00000000..53f9c9c8 --- /dev/null +++ b/buildroot-2022.02.1/package/dtc/dtc.mk @@ -0,0 +1,79 @@ +################################################################################ +# +# dtc +# +################################################################################ + +DTC_VERSION = 1.6.1 +DTC_SOURCE = dtc-$(DTC_VERSION).tar.xz +DTC_SITE = https://www.kernel.org/pub/software/utils/dtc +DTC_LICENSE = GPL-2.0+ or BSD-2-Clause (library) +DTC_LICENSE_FILES = README.license GPL BSD-2-Clause +DTC_CPE_ID_VENDOR = dtc_project +DTC_INSTALL_STAGING = YES +DTC_DEPENDENCIES = host-bison host-flex host-pkgconf +HOST_DTC_DEPENDENCIES = host-bison host-flex host-pkgconf + +DTC_MAKE_OPTS = \ + PREFIX=/usr \ + NO_PYTHON=1 \ + NO_VALGRIND=1 + +# For the host, we install headers in a special subdirectory to avoid +# conflicts with the in-kernel libfdt copy. +HOST_DTC_MAKE_OPTS = \ + PREFIX=$(HOST_DIR) \ + INCLUDEDIR=$(HOST_DIR)/include/libfdt \ + NO_PYTHON=1 \ + NO_VALGRIND=1 \ + NO_YAML=1 + +ifeq ($(BR2_PACKAGE_LIBYAML),y) +DTC_DEPENDENCIES += libyaml +else +DTC_MAKE_OPTS += NO_YAML=1 +endif + +define DTC_POST_INSTALL_TARGET_RM_DTDIFF + rm -f $(TARGET_DIR)/usr/bin/dtdiff +endef + +ifeq ($(BR2_PACKAGE_DTC_PROGRAMS),y) + +DTC_LICENSE += , GPL-2.0+ (programs) +DTC_INSTALL_GOAL = install +ifeq ($(BR2_PACKAGE_BASH),) +DTC_POST_INSTALL_TARGET_HOOKS += DTC_POST_INSTALL_TARGET_RM_DTDIFF +endif + +else # $(BR2_PACKAGE_DTC_PROGRAMS) != y + +DTC_INSTALL_GOAL = install-lib + +endif # $(BR2_PACKAGE_DTC_PROGRAMS) != y + +define DTC_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) EXTRA_CFLAGS="$(TARGET_CFLAGS) -fPIC" -C $(@D) $(DTC_MAKE_OPTS) +endef + +# For staging, only the library is needed +define DTC_INSTALL_STAGING_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) $(DTC_MAKE_OPTS) install-lib \ + install-includes +endef + +define DTC_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) $(DTC_MAKE_OPTS) $(DTC_INSTALL_GOAL) +endef + +# host build +define HOST_DTC_BUILD_CMDS + $(HOST_CONFIGURE_OPTS) $(MAKE) EXTRA_CFLAGS="$(HOST_CFLAGS) -fPIC" -C $(@D) $(HOST_DTC_MAKE_OPTS) +endef + +define HOST_DTC_INSTALL_CMDS + $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(HOST_DTC_MAKE_OPTS) install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/dtv-scan-tables/Config.in b/buildroot-2022.02.1/package/dtv-scan-tables/Config.in similarity index 100% rename from buildroot-2021.05/package/dtv-scan-tables/Config.in rename to buildroot-2022.02.1/package/dtv-scan-tables/Config.in diff --git a/buildroot-2022.02.1/package/dtv-scan-tables/dtv-scan-tables.hash b/buildroot-2022.02.1/package/dtv-scan-tables/dtv-scan-tables.hash new file mode 100644 index 00000000..8d4290fc --- /dev/null +++ b/buildroot-2022.02.1/package/dtv-scan-tables/dtv-scan-tables.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 186a6fe1755d83d583590de3f83013c2e4df47b258c88180dffd1afb0d36d4d6 dtv-scan-tables-25ee9e0ce4bbacdb278d4cff306ceb6528c4f548-br1.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING +sha256 4fd46f32582c29007657e2daad8d0a6d954cf4e9d2e47bae8f8d8c32765fc987 COPYING.LGPL diff --git a/buildroot-2022.02.1/package/dtv-scan-tables/dtv-scan-tables.mk b/buildroot-2022.02.1/package/dtv-scan-tables/dtv-scan-tables.mk new file mode 100644 index 00000000..4150abd1 --- /dev/null +++ b/buildroot-2022.02.1/package/dtv-scan-tables/dtv-scan-tables.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# dtv-scan-tables +# +################################################################################ + +DTV_SCAN_TABLES_VERSION = 25ee9e0ce4bbacdb278d4cff306ceb6528c4f548 +DTV_SCAN_TABLES_SITE = https://git.linuxtv.org/dtv-scan-tables.git +DTV_SCAN_TABLES_SITE_METHOD = git + +# This package only contains the transponders data. This is not a 'work' +# as per traditional copyright, but just a collection of 'facts', so there's +# probably no license to apply to these data files. +# However, the package prominently contains the COPYING and COPYING.LIB +# license files (respectively for the GPL-2.0 and the LGPL-2.1), so we use +# that as the licensing information. +DTV_SCAN_TABLES_LICENSE = GPL-2.0, LGPL-2.1 +DTV_SCAN_TABLES_LICENSE_FILES = COPYING COPYING.LGPL + +define DTV_SCAN_TABLES_INSTALL_TARGET_CMDS + for f in atsc dvb-c dvb-s dvb-t; do \ + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/dvb/$$f; \ + $(INSTALL) $(@D)/$$f/* $(TARGET_DIR)/usr/share/dvb/$$f; \ + done +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/duktape/Config.in b/buildroot-2022.02.1/package/duktape/Config.in similarity index 100% rename from buildroot-2021.05/package/duktape/Config.in rename to buildroot-2022.02.1/package/duktape/Config.in diff --git a/buildroot-2021.05/package/duktape/duktape.hash b/buildroot-2022.02.1/package/duktape/duktape.hash similarity index 100% rename from buildroot-2021.05/package/duktape/duktape.hash rename to buildroot-2022.02.1/package/duktape/duktape.hash diff --git a/buildroot-2022.02.1/package/duktape/duktape.mk b/buildroot-2022.02.1/package/duktape/duktape.mk new file mode 100644 index 00000000..89a6e451 --- /dev/null +++ b/buildroot-2022.02.1/package/duktape/duktape.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# duktape +# +################################################################################ + +DUKTAPE_VERSION = 2.6.0 +DUKTAPE_SOURCE = duktape-$(DUKTAPE_VERSION).tar.xz +DUKTAPE_SITE = \ + https://github.com/svaarala/duktape/releases/download/v$(DUKTAPE_VERSION) +DUKTAPE_LICENSE = MIT +DUKTAPE_LICENSE_FILES = LICENSE.txt +DUKTAPE_INSTALL_STAGING = YES + +define DUKTAPE_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary +endef + +define DUKTAPE_INSTALL_STAGING_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \ + INSTALL_PREFIX=$(STAGING_DIR)/usr install + $(INSTALL) -D -m 0644 $(DUKTAPE_PKGDIR)/duktape.pc.in \ + $(STAGING_DIR)/usr/lib/pkgconfig/duktape.pc + $(SED) 's/@VERSION@/$(DUKTAPE_VERSION)/g;' \ + $(STAGING_DIR)/usr/lib/pkgconfig/duktape.pc +endef + +define DUKTAPE_INSTALL_TARGET_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) -f Makefile.sharedlibrary \ + INSTALL_PREFIX=$(TARGET_DIR)/usr install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/duktape/duktape.pc.in b/buildroot-2022.02.1/package/duktape/duktape.pc.in new file mode 100644 index 00000000..eaef5f69 --- /dev/null +++ b/buildroot-2022.02.1/package/duktape/duktape.pc.in @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: duktape +Description: Embeddable Javascript engine +Version: @VERSION@ +Libs: -L${libdir} -lduktape +Cflags: -I${includedir}/ diff --git a/buildroot-2021.05/package/duma/0001-fix-cross-compilation.patch b/buildroot-2022.02.1/package/duma/0001-fix-cross-compilation.patch similarity index 100% rename from buildroot-2021.05/package/duma/0001-fix-cross-compilation.patch rename to buildroot-2022.02.1/package/duma/0001-fix-cross-compilation.patch diff --git a/buildroot-2021.05/package/duma/0002-no-tests.patch b/buildroot-2022.02.1/package/duma/0002-no-tests.patch similarity index 100% rename from buildroot-2021.05/package/duma/0002-no-tests.patch rename to buildroot-2022.02.1/package/duma/0002-no-tests.patch diff --git a/buildroot-2021.05/package/duma/0003-fix-C++14.patch b/buildroot-2022.02.1/package/duma/0003-fix-C++14.patch similarity index 100% rename from buildroot-2021.05/package/duma/0003-fix-C++14.patch rename to buildroot-2022.02.1/package/duma/0003-fix-C++14.patch diff --git a/buildroot-2021.05/package/duma/0004-Fix-build-with-latest-glibc.patch b/buildroot-2022.02.1/package/duma/0004-Fix-build-with-latest-glibc.patch similarity index 100% rename from buildroot-2021.05/package/duma/0004-Fix-build-with-latest-glibc.patch rename to buildroot-2022.02.1/package/duma/0004-Fix-build-with-latest-glibc.patch diff --git a/buildroot-2021.05/package/duma/Config.in b/buildroot-2022.02.1/package/duma/Config.in similarity index 100% rename from buildroot-2021.05/package/duma/Config.in rename to buildroot-2022.02.1/package/duma/Config.in diff --git a/buildroot-2021.05/package/duma/duma.hash b/buildroot-2022.02.1/package/duma/duma.hash similarity index 100% rename from buildroot-2021.05/package/duma/duma.hash rename to buildroot-2022.02.1/package/duma/duma.hash diff --git a/buildroot-2022.02.1/package/duma/duma.mk b/buildroot-2022.02.1/package/duma/duma.mk new file mode 100644 index 00000000..906db872 --- /dev/null +++ b/buildroot-2022.02.1/package/duma/duma.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# duma +# +################################################################################ + +DUMA_VERSION = 2.5.15 +DUMA_SOURCE = duma_$(subst .,_,$(DUMA_VERSION)).tar.gz +DUMA_SITE = http://downloads.sourceforge.net/project/duma/duma/$(DUMA_VERSION) +DUMA_LICENSE = GPL-2.0+, LGPL-2.1+ +DUMA_LICENSE_FILES = COPYING-GPL COPYING-LGPL + +DUMA_INSTALL_STAGING = YES + +DUMA_OPTIONS = \ + $(if $(BR2_PACKAGE_DUMA_NO_LEAKDETECTION),-DDUMA_LIB_NO_LEAKDETECTION) + +# The dependency of some source files in duma_config.h, which is generated at +# build time, is not specified in the Makefile. Force non-parallel build. +define DUMA_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) $(TARGET_CONFIGURE_OPTS) \ + OS=linux \ + DUMA_OPTIONS="$(DUMA_OPTIONS)" \ + CPPFLAGS="$(TARGET_CXXFLAGS) -std=c++11" -C $(@D) +endef + +define DUMA_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) OS=linux prefix=$(STAGING_DIR)/usr install -C $(@D) +endef + +define DUMA_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) OS=linux prefix=$(TARGET_DIR)/usr install -C $(@D) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dump1090/0001-dump1090.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/dump1090/0001-dump1090.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/dump1090/0001-dump1090.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/dump1090/0001-dump1090.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/dump1090/Config.in b/buildroot-2022.02.1/package/dump1090/Config.in similarity index 100% rename from buildroot-2021.05/package/dump1090/Config.in rename to buildroot-2022.02.1/package/dump1090/Config.in diff --git a/buildroot-2021.05/package/dump1090/dump1090.hash b/buildroot-2022.02.1/package/dump1090/dump1090.hash similarity index 100% rename from buildroot-2021.05/package/dump1090/dump1090.hash rename to buildroot-2022.02.1/package/dump1090/dump1090.hash diff --git a/buildroot-2021.05/package/dump1090/dump1090.mk b/buildroot-2022.02.1/package/dump1090/dump1090.mk similarity index 100% rename from buildroot-2021.05/package/dump1090/dump1090.mk rename to buildroot-2022.02.1/package/dump1090/dump1090.mk diff --git a/buildroot-2021.05/package/dvb-apps/0001-Fix-generate-keynames.patch b/buildroot-2022.02.1/package/dvb-apps/0001-Fix-generate-keynames.patch similarity index 100% rename from buildroot-2021.05/package/dvb-apps/0001-Fix-generate-keynames.patch rename to buildroot-2022.02.1/package/dvb-apps/0001-Fix-generate-keynames.patch diff --git a/buildroot-2021.05/package/dvb-apps/0002-Fix-compiler-warning-flags.patch b/buildroot-2022.02.1/package/dvb-apps/0002-Fix-compiler-warning-flags.patch similarity index 100% rename from buildroot-2021.05/package/dvb-apps/0002-Fix-compiler-warning-flags.patch rename to buildroot-2022.02.1/package/dvb-apps/0002-Fix-compiler-warning-flags.patch diff --git a/buildroot-2021.05/package/dvb-apps/0003-handle-static-shared-only-build.patch b/buildroot-2022.02.1/package/dvb-apps/0003-handle-static-shared-only-build.patch similarity index 100% rename from buildroot-2021.05/package/dvb-apps/0003-handle-static-shared-only-build.patch rename to buildroot-2022.02.1/package/dvb-apps/0003-handle-static-shared-only-build.patch diff --git a/buildroot-2021.05/package/dvb-apps/0004-Makefile-remove-test.patch b/buildroot-2022.02.1/package/dvb-apps/0004-Makefile-remove-test.patch similarity index 100% rename from buildroot-2021.05/package/dvb-apps/0004-Makefile-remove-test.patch rename to buildroot-2022.02.1/package/dvb-apps/0004-Makefile-remove-test.patch diff --git a/buildroot-2021.05/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch b/buildroot-2022.02.1/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch similarity index 100% rename from buildroot-2021.05/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch rename to buildroot-2022.02.1/package/dvb-apps/0005-utils-fix-build-with-kernel-headers-4.14.patch diff --git a/buildroot-2021.05/package/dvb-apps/0006-fix-glibc-2.31.patch b/buildroot-2022.02.1/package/dvb-apps/0006-fix-glibc-2.31.patch similarity index 100% rename from buildroot-2021.05/package/dvb-apps/0006-fix-glibc-2.31.patch rename to buildroot-2022.02.1/package/dvb-apps/0006-fix-glibc-2.31.patch diff --git a/buildroot-2021.05/package/dvb-apps/Config.in b/buildroot-2022.02.1/package/dvb-apps/Config.in similarity index 100% rename from buildroot-2021.05/package/dvb-apps/Config.in rename to buildroot-2022.02.1/package/dvb-apps/Config.in diff --git a/buildroot-2021.05/package/dvb-apps/dvb-apps.hash b/buildroot-2022.02.1/package/dvb-apps/dvb-apps.hash similarity index 100% rename from buildroot-2021.05/package/dvb-apps/dvb-apps.hash rename to buildroot-2022.02.1/package/dvb-apps/dvb-apps.hash diff --git a/buildroot-2022.02.1/package/dvb-apps/dvb-apps.mk b/buildroot-2022.02.1/package/dvb-apps/dvb-apps.mk new file mode 100644 index 00000000..161c1f84 --- /dev/null +++ b/buildroot-2022.02.1/package/dvb-apps/dvb-apps.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# dvb-apps +# +################################################################################ + +DVB_APPS_VERSION = 3d43b280298c39a67d1d889e01e173f52c12da35 +DVB_APPS_SITE = http://linuxtv.org/hg/dvb-apps +DVB_APPS_SITE_METHOD = hg +DVB_APPS_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1+ +DVB_APPS_LICENSE_FILES = COPYING COPYING.LGPL + +ifeq ($(BR2_ENABLE_LOCALE),) +DVB_APPS_DEPENDENCIES += libiconv +DVB_APPS_LDLIBS += -liconv +endif + +DVB_APPS_MAKE_OPTS = PERL5LIB=$(@D)/util/scan + +ifeq ($(BR2_STATIC_LIBS),y) +DVB_APPS_MAKE_OPTS += enable_shared=no +else ifeq ($(BR2_SHARED_LIBS),y) +DVB_APPS_MAKE_OPTS += enable_static=no +endif + +DVB_APPS_INSTALL_STAGING = YES + +define DVB_APPS_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) LDLIBS="$(DVB_APPS_LDLIBS)" \ + $(MAKE1) -C $(@D) CROSS_ROOT=$(STAGING_DIR) \ + $(DVB_APPS_MAKE_OPTS) +endef + +define DVB_APPS_INSTALL_STAGING_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(DVB_APPS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install +endef + +define DVB_APPS_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(DVB_APPS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/dvblast/0001-missing-lm.patch b/buildroot-2022.02.1/package/dvblast/0001-missing-lm.patch similarity index 100% rename from buildroot-2021.05/package/dvblast/0001-missing-lm.patch rename to buildroot-2022.02.1/package/dvblast/0001-missing-lm.patch diff --git a/buildroot-2021.05/package/dvblast/0002-fix-int-types.patch b/buildroot-2022.02.1/package/dvblast/0002-fix-int-types.patch similarity index 100% rename from buildroot-2021.05/package/dvblast/0002-fix-int-types.patch rename to buildroot-2022.02.1/package/dvblast/0002-fix-int-types.patch diff --git a/buildroot-2021.05/package/dvblast/Config.in b/buildroot-2022.02.1/package/dvblast/Config.in similarity index 100% rename from buildroot-2021.05/package/dvblast/Config.in rename to buildroot-2022.02.1/package/dvblast/Config.in diff --git a/buildroot-2021.05/package/dvblast/dvblast.hash b/buildroot-2022.02.1/package/dvblast/dvblast.hash similarity index 100% rename from buildroot-2021.05/package/dvblast/dvblast.hash rename to buildroot-2022.02.1/package/dvblast/dvblast.hash diff --git a/buildroot-2021.05/package/dvblast/dvblast.mk b/buildroot-2022.02.1/package/dvblast/dvblast.mk similarity index 100% rename from buildroot-2021.05/package/dvblast/dvblast.mk rename to buildroot-2022.02.1/package/dvblast/dvblast.mk diff --git a/buildroot-2021.05/package/dvbsnoop/0001-musl-types-h.patch b/buildroot-2022.02.1/package/dvbsnoop/0001-musl-types-h.patch similarity index 100% rename from buildroot-2021.05/package/dvbsnoop/0001-musl-types-h.patch rename to buildroot-2022.02.1/package/dvbsnoop/0001-musl-types-h.patch diff --git a/buildroot-2021.05/package/dvbsnoop/Config.in b/buildroot-2022.02.1/package/dvbsnoop/Config.in similarity index 100% rename from buildroot-2021.05/package/dvbsnoop/Config.in rename to buildroot-2022.02.1/package/dvbsnoop/Config.in diff --git a/buildroot-2021.05/package/dvbsnoop/dvbsnoop.hash b/buildroot-2022.02.1/package/dvbsnoop/dvbsnoop.hash similarity index 100% rename from buildroot-2021.05/package/dvbsnoop/dvbsnoop.hash rename to buildroot-2022.02.1/package/dvbsnoop/dvbsnoop.hash diff --git a/buildroot-2021.05/package/dvbsnoop/dvbsnoop.mk b/buildroot-2022.02.1/package/dvbsnoop/dvbsnoop.mk similarity index 100% rename from buildroot-2021.05/package/dvbsnoop/dvbsnoop.mk rename to buildroot-2022.02.1/package/dvbsnoop/dvbsnoop.mk diff --git a/buildroot-2021.05/package/dvdauthor/Config.in b/buildroot-2022.02.1/package/dvdauthor/Config.in similarity index 100% rename from buildroot-2021.05/package/dvdauthor/Config.in rename to buildroot-2022.02.1/package/dvdauthor/Config.in diff --git a/buildroot-2021.05/package/dvdauthor/dvdauthor.hash b/buildroot-2022.02.1/package/dvdauthor/dvdauthor.hash similarity index 100% rename from buildroot-2021.05/package/dvdauthor/dvdauthor.hash rename to buildroot-2022.02.1/package/dvdauthor/dvdauthor.hash diff --git a/buildroot-2021.05/package/dvdauthor/dvdauthor.mk b/buildroot-2022.02.1/package/dvdauthor/dvdauthor.mk similarity index 100% rename from buildroot-2021.05/package/dvdauthor/dvdauthor.mk rename to buildroot-2022.02.1/package/dvdauthor/dvdauthor.mk diff --git a/buildroot-2021.05/package/dvdrw-tools/0001-limits.h.patch b/buildroot-2022.02.1/package/dvdrw-tools/0001-limits.h.patch similarity index 100% rename from buildroot-2021.05/package/dvdrw-tools/0001-limits.h.patch rename to buildroot-2022.02.1/package/dvdrw-tools/0001-limits.h.patch diff --git a/buildroot-2021.05/package/dvdrw-tools/0002-Include-sysmacros.h-to-compile-with-newer-gcc.patch b/buildroot-2022.02.1/package/dvdrw-tools/0002-Include-sysmacros.h-to-compile-with-newer-gcc.patch similarity index 100% rename from buildroot-2021.05/package/dvdrw-tools/0002-Include-sysmacros.h-to-compile-with-newer-gcc.patch rename to buildroot-2022.02.1/package/dvdrw-tools/0002-Include-sysmacros.h-to-compile-with-newer-gcc.patch diff --git a/buildroot-2021.05/package/dvdrw-tools/Config.in b/buildroot-2022.02.1/package/dvdrw-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/dvdrw-tools/Config.in rename to buildroot-2022.02.1/package/dvdrw-tools/Config.in diff --git a/buildroot-2021.05/package/dvdrw-tools/dvdrw-tools.hash b/buildroot-2022.02.1/package/dvdrw-tools/dvdrw-tools.hash similarity index 100% rename from buildroot-2021.05/package/dvdrw-tools/dvdrw-tools.hash rename to buildroot-2022.02.1/package/dvdrw-tools/dvdrw-tools.hash diff --git a/buildroot-2021.05/package/dvdrw-tools/dvdrw-tools.mk b/buildroot-2022.02.1/package/dvdrw-tools/dvdrw-tools.mk similarity index 100% rename from buildroot-2021.05/package/dvdrw-tools/dvdrw-tools.mk rename to buildroot-2022.02.1/package/dvdrw-tools/dvdrw-tools.mk diff --git a/buildroot-2021.05/package/e2fsprogs/Config.in b/buildroot-2022.02.1/package/e2fsprogs/Config.in similarity index 100% rename from buildroot-2021.05/package/e2fsprogs/Config.in rename to buildroot-2022.02.1/package/e2fsprogs/Config.in diff --git a/buildroot-2021.05/package/e2fsprogs/Config.in.host b/buildroot-2022.02.1/package/e2fsprogs/Config.in.host similarity index 100% rename from buildroot-2021.05/package/e2fsprogs/Config.in.host rename to buildroot-2022.02.1/package/e2fsprogs/Config.in.host diff --git a/buildroot-2022.02.1/package/e2fsprogs/e2fsprogs.hash b/buildroot-2022.02.1/package/e2fsprogs/e2fsprogs.hash new file mode 100644 index 00000000..452c8d56 --- /dev/null +++ b/buildroot-2022.02.1/package/e2fsprogs/e2fsprogs.hash @@ -0,0 +1,6 @@ +# From https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v1.46.5/sha256sums.asc +sha256 2f16c9176704cf645dc69d5b15ff704ae722d665df38b2ed3cfc249757d8d81e e2fsprogs-1.46.5.tar.xz +# Locally calculated +sha256 5da5ef153e559c1d990d4c3eedbedd4442db892d37eae1f35fff069de8ec9020 NOTICE +sha256 032989b508f1a72ebee5b3417e55d06d473f9ee203e45ab11864a7e49cdec63d lib/ss/mit-sipb-copyright.h +sha256 47182fe6631a32f271a15bbe210751b3825b7199f588879aac7d4804fc8b4b8f lib/et/internal.h diff --git a/buildroot-2022.02.1/package/e2fsprogs/e2fsprogs.mk b/buildroot-2022.02.1/package/e2fsprogs/e2fsprogs.mk new file mode 100644 index 00000000..cd70e3a0 --- /dev/null +++ b/buildroot-2022.02.1/package/e2fsprogs/e2fsprogs.mk @@ -0,0 +1,100 @@ +################################################################################ +# +# e2fsprogs +# +################################################################################ + +E2FSPROGS_VERSION = 1.46.5 +E2FSPROGS_SOURCE = e2fsprogs-$(E2FSPROGS_VERSION).tar.xz +E2FSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/tytso/e2fsprogs/v$(E2FSPROGS_VERSION) +E2FSPROGS_LICENSE = GPL-2.0, MIT-like with advertising clause (libss and libet) +E2FSPROGS_LICENSE_FILES = NOTICE lib/ss/mit-sipb-copyright.h lib/et/internal.h +E2FSPROGS_CPE_ID_VENDOR = e2fsprogs_project +E2FSPROGS_INSTALL_STAGING = YES + +# Use libblkid and libuuid from util-linux for host and target packages. +# This prevents overriding them with e2fsprogs' ones, which may cause +# problems for other packages. +E2FSPROGS_DEPENDENCIES = host-pkgconf util-linux +HOST_E2FSPROGS_DEPENDENCIES = host-pkgconf host-util-linux + +E2FSPROGS_SELINUX_MODULES = fstools + +# e4defrag doesn't build on older systems like RHEL5.x, and we don't +# need it on the host anyway. +# Disable fuse2fs as well to avoid carrying over deps, and it's unused +HOST_E2FSPROGS_CONF_OPTS = \ + --disable-defrag \ + --disable-e2initrd-helper \ + --disable-fuse2fs \ + --disable-fsck \ + --disable-libblkid \ + --disable-libuuid \ + --disable-testio-debug \ + --enable-symlink-install \ + --enable-elf-shlibs \ + --with-crond-dir=no \ + --with-udev-rules-dir=no \ + --with-systemd-unit-dir=no + +# Set the binary directories to "/bin" and "/sbin", as busybox does, +# so that we do not end up with two versions of e2fs tools. +E2FSPROGS_CONF_OPTS = \ + --bindir=/bin \ + --sbindir=/sbin \ + $(if $(BR2_STATIC_LIBS),--disable-elf-shlibs,--enable-elf-shlibs) \ + $(if $(BR2_PACKAGE_E2FSPROGS_DEBUGFS),--enable-debugfs,--disable-debugfs) \ + $(if $(BR2_PACKAGE_E2FSPROGS_E2IMAGE),--enable-imager,--disable-imager) \ + $(if $(BR2_PACKAGE_E2FSPROGS_E4DEFRAG),--enable-defrag,--disable-defrag) \ + $(if $(BR2_PACKAGE_E2FSPROGS_FSCK),--enable-fsck,--disable-fsck) \ + $(if $(BR2_PACKAGE_E2FSPROGS_RESIZE2FS),--enable-resizer,--disable-resizer) \ + --disable-uuidd \ + --disable-libblkid \ + --disable-libuuid \ + --disable-e2initrd-helper \ + --disable-testio-debug \ + --disable-rpath \ + --enable-symlink-install + +ifeq ($(BR2_PACKAGE_E2FSPROGS_FUSE2FS),y) +E2FSPROGS_CONF_OPTS += --enable-fuse2fs +E2FSPROGS_DEPENDENCIES += libfuse +else +E2FSPROGS_CONF_OPTS += --disable-fuse2fs +endif + +ifeq ($(BR2_nios2),y) +E2FSPROGS_CONF_ENV += ac_cv_func_fallocate=no +endif + +E2FSPROGS_CONF_ENV += ac_cv_path_LDCONFIG=true + +HOST_E2FSPROGS_CONF_ENV += ac_cv_path_LDCONFIG=true + +E2FSPROGS_INSTALL_STAGING_OPTS = \ + DESTDIR=$(STAGING_DIR) \ + install-libs + +# e2scrub has no associated --enable/disable option +ifneq ($(BR2_PACKAGE_E2FSPROGS_E2SCRUB),y) +E2FSPROGS_MAKE_OPTS += E2SCRUB_DIR= +endif + +E2FSPROGS_INSTALL_TARGET_OPTS = \ + $(E2FSPROGS_MAKE_OPTS) \ + DESTDIR=$(TARGET_DIR) \ + install + +# Package does not build in parallel due to improper make rules +define HOST_E2FSPROGS_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) install install-libs +endef + +# Remove compile_et which raises a build failure with samba4 +define HOST_E2FSPROGS_REMOVE_COMPILE_ET + $(RM) $(HOST_DIR)/bin/compile_et +endef +HOST_E2FSPROGS_POST_INSTALL_HOOKS += HOST_E2FSPROGS_REMOVE_COMPILE_ET + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/e2tools/Config.in b/buildroot-2022.02.1/package/e2tools/Config.in similarity index 100% rename from buildroot-2021.05/package/e2tools/Config.in rename to buildroot-2022.02.1/package/e2tools/Config.in diff --git a/buildroot-2021.05/package/e2tools/Config.in.host b/buildroot-2022.02.1/package/e2tools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/e2tools/Config.in.host rename to buildroot-2022.02.1/package/e2tools/Config.in.host diff --git a/buildroot-2021.05/package/e2tools/e2tools.hash b/buildroot-2022.02.1/package/e2tools/e2tools.hash similarity index 100% rename from buildroot-2021.05/package/e2tools/e2tools.hash rename to buildroot-2022.02.1/package/e2tools/e2tools.hash diff --git a/buildroot-2021.05/package/e2tools/e2tools.mk b/buildroot-2022.02.1/package/e2tools/e2tools.mk similarity index 100% rename from buildroot-2021.05/package/e2tools/e2tools.mk rename to buildroot-2022.02.1/package/e2tools/e2tools.mk diff --git a/buildroot-2021.05/package/earlyoom/Config.in b/buildroot-2022.02.1/package/earlyoom/Config.in similarity index 100% rename from buildroot-2021.05/package/earlyoom/Config.in rename to buildroot-2022.02.1/package/earlyoom/Config.in diff --git a/buildroot-2021.05/package/earlyoom/S02earlyoom b/buildroot-2022.02.1/package/earlyoom/S02earlyoom similarity index 100% rename from buildroot-2021.05/package/earlyoom/S02earlyoom rename to buildroot-2022.02.1/package/earlyoom/S02earlyoom diff --git a/buildroot-2022.02.1/package/earlyoom/earlyoom.hash b/buildroot-2022.02.1/package/earlyoom/earlyoom.hash new file mode 100644 index 00000000..ab91383e --- /dev/null +++ b/buildroot-2022.02.1/package/earlyoom/earlyoom.hash @@ -0,0 +1,4 @@ +# locally calculated +sha256 227234cf9e77831c21c748bd361e1a7c415e158b96034eacd59e70586779bb6c earlyoom-1.6.2.tar.gz +# License files, locally calculated +sha256 e730b3ec729de46d987ae73f30ed337e4cbe832f09205330acfa71848c6e0087 LICENSE diff --git a/buildroot-2022.02.1/package/earlyoom/earlyoom.mk b/buildroot-2022.02.1/package/earlyoom/earlyoom.mk new file mode 100644 index 00000000..d1cf9d4d --- /dev/null +++ b/buildroot-2022.02.1/package/earlyoom/earlyoom.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# earlyoom +# +################################################################################ + +EARLYOOM_VERSION = 1.6.2 +EARLYOOM_SITE = $(call github,rfjakob,earlyoom,v$(EARLYOOM_VERSION)) +EARLYOOM_LICENSE = MIT +EARLYOOM_LICENSE_FILES = LICENSE + +EARLYOOM_BUILD_TARGETS = earlyoom.service earlyoom +EARLYOOM_INSTALL_TARGETS = install-default install-bin +EARLYOOM_CFLAGS = '$(TARGET_CFLAGS) -std=gnu99 -DVERSION=\"1.6\"' + +EARLYOOM_MAKE_OPTS = \ + $(TARGET_CONFIGURE_OPTS) \ + PREFIX=/usr + +define EARLYOOM_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(EARLYOOM_MAKE_OPTS) -C $(@D) \ + $(EARLYOOM_BUILD_TARGETS) CFLAGS=$(EARLYOOM_CFLAGS) +endef + +define EARLYOOM_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(EARLYOOM_MAKE_OPTS) -C $(@D) \ + $(EARLYOOM_INSTALL_TARGETS) DESTDIR=$(TARGET_DIR) +endef + +define EARLYOOM_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 $(EARLYOOM_PKGDIR)/S02earlyoom \ + $(TARGET_DIR)/etc/init.d/S02earlyoom +endef + +define EARLYOOM_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(@D)/earlyoom.service \ + $(TARGET_DIR)/usr/lib/systemd/system/earlyoom.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/easy-rsa/Config.in b/buildroot-2022.02.1/package/easy-rsa/Config.in similarity index 100% rename from buildroot-2021.05/package/easy-rsa/Config.in rename to buildroot-2022.02.1/package/easy-rsa/Config.in diff --git a/buildroot-2021.05/package/easy-rsa/easy-rsa.hash b/buildroot-2022.02.1/package/easy-rsa/easy-rsa.hash similarity index 100% rename from buildroot-2021.05/package/easy-rsa/easy-rsa.hash rename to buildroot-2022.02.1/package/easy-rsa/easy-rsa.hash diff --git a/buildroot-2021.05/package/easy-rsa/easy-rsa.mk b/buildroot-2022.02.1/package/easy-rsa/easy-rsa.mk similarity index 100% rename from buildroot-2021.05/package/easy-rsa/easy-rsa.mk rename to buildroot-2022.02.1/package/easy-rsa/easy-rsa.mk diff --git a/buildroot-2021.05/package/easydbus/Config.in b/buildroot-2022.02.1/package/easydbus/Config.in similarity index 100% rename from buildroot-2021.05/package/easydbus/Config.in rename to buildroot-2022.02.1/package/easydbus/Config.in diff --git a/buildroot-2021.05/package/easydbus/easydbus.hash b/buildroot-2022.02.1/package/easydbus/easydbus.hash similarity index 100% rename from buildroot-2021.05/package/easydbus/easydbus.hash rename to buildroot-2022.02.1/package/easydbus/easydbus.hash diff --git a/buildroot-2021.05/package/easydbus/easydbus.mk b/buildroot-2022.02.1/package/easydbus/easydbus.mk similarity index 100% rename from buildroot-2021.05/package/easydbus/easydbus.mk rename to buildroot-2022.02.1/package/easydbus/easydbus.mk diff --git a/buildroot-2021.05/package/easyframes/Config.in b/buildroot-2022.02.1/package/easyframes/Config.in similarity index 100% rename from buildroot-2021.05/package/easyframes/Config.in rename to buildroot-2022.02.1/package/easyframes/Config.in diff --git a/buildroot-2022.02.1/package/easyframes/easyframes.hash b/buildroot-2022.02.1/package/easyframes/easyframes.hash new file mode 100644 index 00000000..d9a804aa --- /dev/null +++ b/buildroot-2022.02.1/package/easyframes/easyframes.hash @@ -0,0 +1,3 @@ +# locally calculated +sha256 0b8f4af8c41b0b1de2529d500aef6b9be7609f25b28e6a863129578a66806e5d easyframes-0.4.tar.gz +sha256 24f37598e822a1411fb7164ce7eb3ef120aea8279016399abc282c2381ce3f57 COPYING diff --git a/buildroot-2022.02.1/package/easyframes/easyframes.mk b/buildroot-2022.02.1/package/easyframes/easyframes.mk new file mode 100644 index 00000000..10e15612 --- /dev/null +++ b/buildroot-2022.02.1/package/easyframes/easyframes.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# easyframes +# +################################################################################ + +EASYFRAMES_VERSION = 0.4 +EASYFRAMES_SITE = $(call github,microchip-ung,easyframes,v$(EASYFRAMES_VERSION)) +EASYFRAMES_DEPENDENCIES = host-pkgconf libpcap +EASYFRAMES_LICENSE = MIT +EASYFRAMES_LICENSE_FILES = COPYING + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/ebtables/0001-replace-ebtables-save-perl-script-with-bash.patch b/buildroot-2022.02.1/package/ebtables/0001-replace-ebtables-save-perl-script-with-bash.patch similarity index 100% rename from buildroot-2021.05/package/ebtables/0001-replace-ebtables-save-perl-script-with-bash.patch rename to buildroot-2022.02.1/package/ebtables/0001-replace-ebtables-save-perl-script-with-bash.patch diff --git a/buildroot-2021.05/package/ebtables/0002-ebtables.h-restore-KERNEL_64_USERSPACE_32-checks.patch b/buildroot-2022.02.1/package/ebtables/0002-ebtables.h-restore-KERNEL_64_USERSPACE_32-checks.patch similarity index 100% rename from buildroot-2021.05/package/ebtables/0002-ebtables.h-restore-KERNEL_64_USERSPACE_32-checks.patch rename to buildroot-2022.02.1/package/ebtables/0002-ebtables.h-restore-KERNEL_64_USERSPACE_32-checks.patch diff --git a/buildroot-2021.05/package/ebtables/0003-configure.ac-add-option-enable-kernel-64-userland-32.patch b/buildroot-2022.02.1/package/ebtables/0003-configure.ac-add-option-enable-kernel-64-userland-32.patch similarity index 100% rename from buildroot-2021.05/package/ebtables/0003-configure.ac-add-option-enable-kernel-64-userland-32.patch rename to buildroot-2022.02.1/package/ebtables/0003-configure.ac-add-option-enable-kernel-64-userland-32.patch diff --git a/buildroot-2021.05/package/ebtables/Config.in b/buildroot-2022.02.1/package/ebtables/Config.in similarity index 100% rename from buildroot-2021.05/package/ebtables/Config.in rename to buildroot-2022.02.1/package/ebtables/Config.in diff --git a/buildroot-2021.05/package/ebtables/ebtables.hash b/buildroot-2022.02.1/package/ebtables/ebtables.hash similarity index 100% rename from buildroot-2021.05/package/ebtables/ebtables.hash rename to buildroot-2022.02.1/package/ebtables/ebtables.hash diff --git a/buildroot-2021.05/package/ebtables/ebtables.mk b/buildroot-2022.02.1/package/ebtables/ebtables.mk similarity index 100% rename from buildroot-2021.05/package/ebtables/ebtables.mk rename to buildroot-2022.02.1/package/ebtables/ebtables.mk diff --git a/buildroot-2021.05/package/ecryptfs-utils/0001-musl.patch b/buildroot-2022.02.1/package/ecryptfs-utils/0001-musl.patch similarity index 100% rename from buildroot-2021.05/package/ecryptfs-utils/0001-musl.patch rename to buildroot-2022.02.1/package/ecryptfs-utils/0001-musl.patch diff --git a/buildroot-2021.05/package/ecryptfs-utils/0002-openssl110.patch b/buildroot-2022.02.1/package/ecryptfs-utils/0002-openssl110.patch similarity index 100% rename from buildroot-2021.05/package/ecryptfs-utils/0002-openssl110.patch rename to buildroot-2022.02.1/package/ecryptfs-utils/0002-openssl110.patch diff --git a/buildroot-2021.05/package/ecryptfs-utils/0003-fix-parallel-build-issue.patch b/buildroot-2022.02.1/package/ecryptfs-utils/0003-fix-parallel-build-issue.patch similarity index 100% rename from buildroot-2021.05/package/ecryptfs-utils/0003-fix-parallel-build-issue.patch rename to buildroot-2022.02.1/package/ecryptfs-utils/0003-fix-parallel-build-issue.patch diff --git a/buildroot-2021.05/package/ecryptfs-utils/Config.in b/buildroot-2022.02.1/package/ecryptfs-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/ecryptfs-utils/Config.in rename to buildroot-2022.02.1/package/ecryptfs-utils/Config.in diff --git a/buildroot-2021.05/package/ecryptfs-utils/ecryptfs-utils.hash b/buildroot-2022.02.1/package/ecryptfs-utils/ecryptfs-utils.hash similarity index 100% rename from buildroot-2021.05/package/ecryptfs-utils/ecryptfs-utils.hash rename to buildroot-2022.02.1/package/ecryptfs-utils/ecryptfs-utils.hash diff --git a/buildroot-2021.05/package/ecryptfs-utils/ecryptfs-utils.mk b/buildroot-2022.02.1/package/ecryptfs-utils/ecryptfs-utils.mk similarity index 100% rename from buildroot-2021.05/package/ecryptfs-utils/ecryptfs-utils.mk rename to buildroot-2022.02.1/package/ecryptfs-utils/ecryptfs-utils.mk diff --git a/buildroot-2021.05/package/ed/Config.in b/buildroot-2022.02.1/package/ed/Config.in similarity index 100% rename from buildroot-2021.05/package/ed/Config.in rename to buildroot-2022.02.1/package/ed/Config.in diff --git a/buildroot-2022.02.1/package/ed/ed.hash b/buildroot-2022.02.1/package/ed/ed.hash new file mode 100644 index 00000000..90d467d1 --- /dev/null +++ b/buildroot-2022.02.1/package/ed/ed.hash @@ -0,0 +1,4 @@ +# From https://lists.gnu.org/archive/html/bug-ed/2021-01/msg00000.html +sha256 71de39883c25b6fab44add80635382a10c9bf154515b94729f4a6529ddcc5e54 ed-1.17.tar.lz +# Locally calculated +sha256 f03a12bef9dfb7281864a0dd965166d4f4ec7a66633df2bc72fa4363e57de02c COPYING diff --git a/buildroot-2022.02.1/package/ed/ed.mk b/buildroot-2022.02.1/package/ed/ed.mk new file mode 100644 index 00000000..975cf3be --- /dev/null +++ b/buildroot-2022.02.1/package/ed/ed.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# ed +# +################################################################################ + +ED_VERSION = 1.17 +ED_SITE = $(BR2_GNU_MIRROR)/ed +ED_SOURCE = ed-$(ED_VERSION).tar.lz +ED_LICENSE = GPL-3.0+ +ED_LICENSE_FILES = COPYING +ED_CPE_ID_VENDOR = gnu + +define ED_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_MAKE_ENV) ./configure \ + --prefix=/usr \ + $(TARGET_CONFIGURE_OPTS) \ + ) +endef + +define ED_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define ED_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/edid-decode/Config.in b/buildroot-2022.02.1/package/edid-decode/Config.in similarity index 100% rename from buildroot-2021.05/package/edid-decode/Config.in rename to buildroot-2022.02.1/package/edid-decode/Config.in diff --git a/buildroot-2021.05/package/edid-decode/edid-decode.hash b/buildroot-2022.02.1/package/edid-decode/edid-decode.hash similarity index 100% rename from buildroot-2021.05/package/edid-decode/edid-decode.hash rename to buildroot-2022.02.1/package/edid-decode/edid-decode.hash diff --git a/buildroot-2021.05/package/edid-decode/edid-decode.mk b/buildroot-2022.02.1/package/edid-decode/edid-decode.mk similarity index 100% rename from buildroot-2021.05/package/edid-decode/edid-decode.mk rename to buildroot-2022.02.1/package/edid-decode/edid-decode.mk diff --git a/buildroot-2022.02.1/package/edk2-platforms/Config.in b/buildroot-2022.02.1/package/edk2-platforms/Config.in new file mode 100644 index 00000000..17633c0f --- /dev/null +++ b/buildroot-2022.02.1/package/edk2-platforms/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_EDK2_PLATFORMS + bool + help + EDK2 description files for all supported platforms. + The main EDK2 bootloader package will depend on these + description files while building firmware for some platforms. + + https://github.com/tianocore/edk2-platforms diff --git a/buildroot-2022.02.1/package/edk2-platforms/edk2-platforms.hash b/buildroot-2022.02.1/package/edk2-platforms/edk2-platforms.hash new file mode 100644 index 00000000..30ae2350 --- /dev/null +++ b/buildroot-2022.02.1/package/edk2-platforms/edk2-platforms.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 dfdc34fea86e5037a3a6cbd2a83b1f655f16b4c9ab4f5ff9da91e45a358c9a14 edk2-platforms-db922e1253cb6f1fc456805bc42fb7d401eed5c2.tar.gz +sha256 50ce20c9cfdb0e19ee34fe0a51fc0afe961f743697b068359ab2f862b494df80 License.txt diff --git a/buildroot-2022.02.1/package/edk2-platforms/edk2-platforms.mk b/buildroot-2022.02.1/package/edk2-platforms/edk2-platforms.mk new file mode 100644 index 00000000..430791ae --- /dev/null +++ b/buildroot-2022.02.1/package/edk2-platforms/edk2-platforms.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# edk2-platforms +# +################################################################################ + +# Keep in sync with latest commit as of the release date for boot/edk2 +EDK2_PLATFORMS_VERSION = db922e1253cb6f1fc456805bc42fb7d401eed5c2 +EDK2_PLATFORMS_SITE = $(call github,tianocore,edk2-platforms,$(EDK2_PLATFORMS_VERSION)) +EDK2_PLATFORMS_LICENSE = BSD-2-Clause +EDK2_PLATFORMS_LICENSE_FILE = License.txt +EDK2_PLATFORMS_INSTALL_TARGET = NO +EDK2_PLATFORMS_INSTALL_STAGING = YES + +# There is nothing to build for edk2-platforms. All we need to do is to copy +# all description files to staging, for other packages to build with. +define EDK2_PLATFORMS_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/share/edk2-platforms + cp -rf $(@D)/*/ $(STAGING_DIR)/usr/share/edk2-platforms/ +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/efibootmgr/0001-Allow-build-with-uClibc.patch b/buildroot-2022.02.1/package/efibootmgr/0001-Allow-build-with-uClibc.patch similarity index 100% rename from buildroot-2021.05/package/efibootmgr/0001-Allow-build-with-uClibc.patch rename to buildroot-2022.02.1/package/efibootmgr/0001-Allow-build-with-uClibc.patch diff --git a/buildroot-2022.02.1/package/efibootmgr/0002-remove-extra-decl.patch b/buildroot-2022.02.1/package/efibootmgr/0002-remove-extra-decl.patch new file mode 100644 index 00000000..f838d50a --- /dev/null +++ b/buildroot-2022.02.1/package/efibootmgr/0002-remove-extra-decl.patch @@ -0,0 +1,28 @@ +From 99b578501643377e0b1994b2a068b790d189d5ad Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Wed, 13 Jun 2018 09:41:01 -0400 +Subject: [PATCH] remove extra decl + +Downloaded from upstream commit +https://github.com/rhboot/efibootmgr/commit/99b578501643377e0b1994b2a068b790d189d5ad + +Signed-off-by: Peter Jones +Signed-off-by: Bernd Kuhls +--- + src/efibootmgr.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/efibootmgr.c b/src/efibootmgr.c +index de38f01..4e1a680 100644 +--- a/src/efibootmgr.c ++++ b/src/efibootmgr.c +@@ -1536,9 +1536,6 @@ parse_opts(int argc, char **argv) + "invalid numeric value %s\n", + optarg); + } +- /* XXX efivar-36 accidentally doesn't have a public +- * header for this */ +- extern int efi_set_verbose(int verbosity, FILE *errlog); + efi_set_verbose(opts.verbose - 2, stderr); + break; + case 'V': diff --git a/buildroot-2021.05/package/efibootmgr/Config.in b/buildroot-2022.02.1/package/efibootmgr/Config.in similarity index 100% rename from buildroot-2021.05/package/efibootmgr/Config.in rename to buildroot-2022.02.1/package/efibootmgr/Config.in diff --git a/buildroot-2022.02.1/package/efibootmgr/efibootmgr.hash b/buildroot-2022.02.1/package/efibootmgr/efibootmgr.hash new file mode 100644 index 00000000..fdbc9a27 --- /dev/null +++ b/buildroot-2022.02.1/package/efibootmgr/efibootmgr.hash @@ -0,0 +1,3 @@ +# locally computed hash +sha256 22a95ebe0d5c9fb2915b3a100450f8f37484d1dbb8b296f55b343cc84f10397d efibootmgr-17.tar.gz +sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING diff --git a/buildroot-2022.02.1/package/efibootmgr/efibootmgr.mk b/buildroot-2022.02.1/package/efibootmgr/efibootmgr.mk new file mode 100644 index 00000000..7e09b5f6 --- /dev/null +++ b/buildroot-2022.02.1/package/efibootmgr/efibootmgr.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# efibootmgr +# +################################################################################ + +EFIBOOTMGR_VERSION = 17 +EFIBOOTMGR_SITE = $(call github,rhboot,efibootmgr,$(EFIBOOTMGR_VERSION)) +EFIBOOTMGR_LICENSE = GPL-2.0+ +EFIBOOTMGR_LICENSE_FILES = COPYING +EFIBOOTMGR_DEPENDENCIES = host-pkgconf efivar popt $(TARGET_NLS_DEPENDENCIES) +EFIBOOTMGR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) +EFIBOOTMGR_MAKE_ARGS = EFIDIR=buildroot + +define EFIBOOTMGR_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ + LDFLAGS="$(EFIBOOTMGR_LDFLAGS)" $(MAKE1) -C $(@D) \ + $(EFIBOOTMGR_MAKE_ARGS) +endef + +define EFIBOOTMGR_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(EFIBOOTMGR_MAKE_ARGS) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/efivar/0001-Allow-build-with-uClibc.patch b/buildroot-2022.02.1/package/efivar/0001-Allow-build-with-uClibc.patch similarity index 100% rename from buildroot-2021.05/package/efivar/0001-Allow-build-with-uClibc.patch rename to buildroot-2022.02.1/package/efivar/0001-Allow-build-with-uClibc.patch diff --git a/buildroot-2021.05/package/efivar/0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch b/buildroot-2022.02.1/package/efivar/0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch similarity index 100% rename from buildroot-2021.05/package/efivar/0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch rename to buildroot-2022.02.1/package/efivar/0002-dp.h-make-format_guid-handle-misaligned-guid-pointer.patch diff --git a/buildroot-2021.05/package/efivar/0003-Fix-all-the-places-Werror-address-of-packed-member-c.patch b/buildroot-2022.02.1/package/efivar/0003-Fix-all-the-places-Werror-address-of-packed-member-c.patch similarity index 100% rename from buildroot-2021.05/package/efivar/0003-Fix-all-the-places-Werror-address-of-packed-member-c.patch rename to buildroot-2022.02.1/package/efivar/0003-Fix-all-the-places-Werror-address-of-packed-member-c.patch diff --git a/buildroot-2021.05/package/efivar/0004-Fix-another-error-of-Werror-address-of-packed-member.patch b/buildroot-2022.02.1/package/efivar/0004-Fix-another-error-of-Werror-address-of-packed-member.patch similarity index 100% rename from buildroot-2021.05/package/efivar/0004-Fix-another-error-of-Werror-address-of-packed-member.patch rename to buildroot-2022.02.1/package/efivar/0004-Fix-another-error-of-Werror-address-of-packed-member.patch diff --git a/buildroot-2021.05/package/efivar/0005-ucs2.h-remove-unused-variable.patch b/buildroot-2022.02.1/package/efivar/0005-ucs2.h-remove-unused-variable.patch similarity index 100% rename from buildroot-2021.05/package/efivar/0005-ucs2.h-remove-unused-variable.patch rename to buildroot-2022.02.1/package/efivar/0005-ucs2.h-remove-unused-variable.patch diff --git a/buildroot-2021.05/package/efivar/0006-ucs2.h-fix-logic-that-checks-for-UCS-2-string-termin.patch b/buildroot-2022.02.1/package/efivar/0006-ucs2.h-fix-logic-that-checks-for-UCS-2-string-termin.patch similarity index 100% rename from buildroot-2021.05/package/efivar/0006-ucs2.h-fix-logic-that-checks-for-UCS-2-string-termin.patch rename to buildroot-2022.02.1/package/efivar/0006-ucs2.h-fix-logic-that-checks-for-UCS-2-string-termin.patch diff --git a/buildroot-2021.05/package/efivar/0007-gcc.specs-drop-Werror.patch b/buildroot-2022.02.1/package/efivar/0007-gcc.specs-drop-Werror.patch similarity index 100% rename from buildroot-2021.05/package/efivar/0007-gcc.specs-drop-Werror.patch rename to buildroot-2022.02.1/package/efivar/0007-gcc.specs-drop-Werror.patch diff --git a/buildroot-2021.05/package/efivar/Config.in b/buildroot-2022.02.1/package/efivar/Config.in similarity index 100% rename from buildroot-2021.05/package/efivar/Config.in rename to buildroot-2022.02.1/package/efivar/Config.in diff --git a/buildroot-2021.05/package/efivar/efivar.hash b/buildroot-2022.02.1/package/efivar/efivar.hash similarity index 100% rename from buildroot-2021.05/package/efivar/efivar.hash rename to buildroot-2022.02.1/package/efivar/efivar.hash diff --git a/buildroot-2021.05/package/efivar/efivar.mk b/buildroot-2022.02.1/package/efivar/efivar.mk similarity index 100% rename from buildroot-2021.05/package/efivar/efivar.mk rename to buildroot-2022.02.1/package/efivar/efivar.mk diff --git a/buildroot-2022.02.1/package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch b/buildroot-2022.02.1/package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch new file mode 100644 index 00000000..8fa4658f --- /dev/null +++ b/buildroot-2022.02.1/package/efl/0001-ecore_evas-engines-drm-meson.build-use-gl_deps-as-en.patch @@ -0,0 +1,36 @@ +From 00833baac6935bd1e3e9856211bc165c5b02a7bd Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Sat, 1 Aug 2020 02:25:47 +0200 +Subject: [PATCH] ecore_evas/engines/drm/meson.build: use "gl_deps" as engine + dependencies + +Meson trigger an error since "engine_gl_drm" variable doesn't exist. + +src/modules/ecore_evas/engines/drm/meson.build:10:2: ERROR: Unknown variable "engine_gl_drm". + +Instead use "gl_deps" as engine dependencies. + +Upstream status: +https://sourceforge.net/p/enlightenment/mailman/message/37075016/ + +Signed-off-by: Romain Naour +--- + src/modules/ecore_evas/engines/drm/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/modules/ecore_evas/engines/drm/meson.build b/src/modules/ecore_evas/engines/drm/meson.build +index 58071010d0..0741d7fccd 100644 +--- a/src/modules/ecore_evas/engines/drm/meson.build ++++ b/src/modules/ecore_evas/engines/drm/meson.build +@@ -3,7 +3,7 @@ engine_deps = [ecore_drm2, ecore_input, eeze, elput, libdrm, engine_drm] + + if get_option('opengl') != 'none' + config_h.set('BUILD_ECORE_EVAS_GL_DRM', '1') +- engine_deps += [engine_gl_drm] ++ engine_deps += [gl_deps] + endif + + engine_include_dir += include_directories(join_paths('..', '..', '..', 'evas', 'engines', 'drm')) +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch b/buildroot-2022.02.1/package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch new file mode 100644 index 00000000..3465fc50 --- /dev/null +++ b/buildroot-2022.02.1/package/efl/0002-ecore_evas-engines-drm-meson.build-fix-gl_drm-includ.patch @@ -0,0 +1,37 @@ +From a21e71cc2284a19a34c913aff757e656e3a8c14a Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Sat, 1 Aug 2020 01:01:00 +0200 +Subject: [PATCH] ecore_evas/engines/drm/meson.build: fix "gl_drm" include + directory + +The Evas_Engine_GL_Drm.h file is in "gl_drm" directory, not "drm". + +../src/modules/ecore_evas/engines/drm/ecore_evas_drm.c:23:11: fatal error: Evas_Engine_GL_Drm.h: No such file or directory + 23 | # include + | ^~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. + +Upstream status: +https://sourceforge.net/p/enlightenment/mailman/message/37075004/ + +Signed-off-by: Romain Naour +--- + src/modules/ecore_evas/engines/drm/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/modules/ecore_evas/engines/drm/meson.build b/src/modules/ecore_evas/engines/drm/meson.build +index 0741d7fccd..edda1abd71 100644 +--- a/src/modules/ecore_evas/engines/drm/meson.build ++++ b/src/modules/ecore_evas/engines/drm/meson.build +@@ -6,7 +6,7 @@ if get_option('opengl') != 'none' + engine_deps += [gl_deps] + endif + +-engine_include_dir += include_directories(join_paths('..', '..', '..', 'evas', 'engines', 'drm')) ++engine_include_dir += include_directories(join_paths('..', '..', '..', 'evas', 'engines', 'gl_drm')) + + shared_module(mod_full_name, engine_src, + include_directories : config_dir + [engine_include_dir], +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/efl/0003-ecore_fb-fix-build-with-tslib.patch b/buildroot-2022.02.1/package/efl/0003-ecore_fb-fix-build-with-tslib.patch new file mode 100644 index 00000000..2756e093 --- /dev/null +++ b/buildroot-2022.02.1/package/efl/0003-ecore_fb-fix-build-with-tslib.patch @@ -0,0 +1,35 @@ +From 836b13de08980d89fc13690284efd355c1b43218 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 10 Jul 2021 22:38:03 +0200 +Subject: [PATCH] ecore_fb: fix build with tslib + +Build with tslib is broken since version 1.25.0 and +https://git.enlightenment.org/core/efl.git/commit/?id=8e3606698eb439eecd7302a885504365aca7e564: + +/data/buildroot-autobuilder/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc-buildroot-linux-uclibc/9.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: src/lib/ecore_fb/libecore_fb.so.1.25.1.p/ecore_fb_ts.c.o: in function `_ecore_fb_ts_fd_handler': +ecore_fb_ts.c:(.text+0x4c): undefined reference to `ts_read_raw' + +Fixes: + - http://autobuild.buildroot.org/results/fa111306b95316eed54771550474dae804fa261e + +Signed-off-by: Fabrice Fontaine +--- + src/lib/ecore_fb/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lib/ecore_fb/meson.build b/src/lib/ecore_fb/meson.build +index 6d50e0f146..7c7f6786c3 100644 +--- a/src/lib/ecore_fb/meson.build ++++ b/src/lib/ecore_fb/meson.build +@@ -22,7 +22,7 @@ ecore_fb_src = files([ + ecore_fb_lib = library('ecore_fb', + ecore_fb_src, pub_eo_file_target, + c_args : package_c_args, +- dependencies: ecore_fb_pub_deps + ecore_fb_deps, ++ dependencies: ecore_fb_pub_deps + ecore_fb_deps + ecore_fb_ext_deps, + include_directories : config_dir, + install: true, + version : meson.project_version() +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/efl/Config.in b/buildroot-2022.02.1/package/efl/Config.in new file mode 100644 index 00000000..c4f82b92 --- /dev/null +++ b/buildroot-2022.02.1/package/efl/Config.in @@ -0,0 +1,295 @@ +config BR2_PACKAGE_EFL + bool "efl" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-efl + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads + depends on BR2_USE_MMU + depends on BR2_USE_WCHAR # use wchar_t + depends on !BR2_STATIC_LIBS # dlfcn.h + # https://phab.enlightenment.org/T2728 + depends on BR2_PACKAGE_LUAJIT + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_GIFLIB + select BR2_PACKAGE_JPEG # Emile needs libjpeg + select BR2_PACKAGE_LIBCURL # Ecore_con_url, runtime dependency + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_GNUTLS && BR2_PACKAGE_LIBGCRYPT) + select BR2_PACKAGE_LZ4 + select BR2_PACKAGE_ZLIB + help + Enlightenment Foundation Libraries + + https://www.enlightenment.org/ + +if BR2_PACKAGE_EFL + +config BR2_PACKAGE_EFL_BULLET + bool "Enable bullet support" + select BR2_PACKAGE_BULLET + help + If you have chosen to disable physics support, this disables + lots of core functionality and is effectively never + tested. You are going to find features that suddenly don't + work and as a result cause a series of breakages. This is + simply not tested so you are on your own in terms of + ensuring everything works if you do this. + +config BR2_PACKAGE_EFL_EEZE + bool "Enable eeze (udev) support (recommended)" + default y + depends on BR2_PACKAGE_HAS_UDEV # libudev + help + Eeze is EFL's hardware abstraction layer on top of udev. + Having it off will disable some hardware detection, such as + 'drm' graphics engine or 'elput', as well as mounting + removable media. + +comment "eeze needs udev /dev management" + depends on !BR2_PACKAGE_HAS_UDEV + +config BR2_PACKAGE_EFL_FONTCONFIG + bool "Enable fontconfig support (recommended)" + default y + select BR2_PACKAGE_FONTCONFIG + help + If fontconfig is disabled, this is going to make general + font searching not work, and only some very direct 'load + /path/file.ttf' will work alongside some old-school ttf file + path searching. This is very likely not what you want, so + highly reconsider turning fontconfig off. Having it off will + lead to visual problems like missing text in many UI areas + etc... + +config BR2_PACKAGE_EFL_GSTREAMER1 + bool "Enable gstreamer1 support (recommended)" + default y + select BR2_PACKAGE_GSTREAMER1 + select BR2_PACKAGE_GST1_PLUGINS_BASE + help + If Gstreamer 1.x support is disabled, it will heavily limit + your media support options and render some functionality as + useless, leading to visible application bugs. + +config BR2_PACKAGE_EFL_LIBFRIBIDI + bool "Enable libfribidi support (recommended)" + default y + select BR2_PACKAGE_LIBFRIBIDI + help + Fribidi is used for handling right-to-left text (like + Arabic, Hebrew, Farsi, Persian etc.) and is very likely not + a feature you want to disable unless you know for absolute + certain you will never encounter and have to display such + scripts. Also note that we don't test with fribidi disabled + so you may also trigger code paths with bugs that are never + normally used. + +config BR2_PACKAGE_EFL_ELPUT + bool "Enable elput support (recommended)" + default y + depends on BR2_PACKAGE_HAS_UDEV # libinput, efl-eeze + select BR2_PACKAGE_EFL_EEZE + select BR2_PACKAGE_LIBINPUT + select BR2_PACKAGE_LIBXKBCOMMON + help + Eplut is used to support gesture recognition. + +comment "elput needs udev /dev management" + depends on !BR2_PACKAGE_HAS_UDEV + +config BR2_PACKAGE_EFL_LIBSNDFILE + bool "Enable libsndfile support (recommended)" + default y + select BR2_PACKAGE_LIBSNDFILE + help + If you disabled audio support in Ecore, this is not tested + and may create bugs for you due to it creating untested code + paths. Reconsider disabling audio. + +config BR2_PACKAGE_EFL_PULSEAUDIO + bool "Enable pulseaudio support (recommended)" + default y + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU + select BR2_PACKAGE_PULSEAUDIO + help + The only audio output method supported by Ecore right now is + via Pulseaudio. You have disabled that and likely have + broken a whole bunch of things in the process. Reconsider + your configure options. + + NOTE: multisense support is automatically enabled with + pulseaudio. + +config BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT + bool "Enable libmount support (recommended)" + default y + depends on BR2_PACKAGE_HAS_UDEV # efl-eeze + select BR2_PACKAGE_EFL_EEZE + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + # libblkid is part of required tools, see EFL's README. + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + help + Libmount is used heavily inside Eeze for support of removable + devices etc... and disabling this will hurt support for + Enlightenment and its filemanager. + +comment "efl's libmount support needs udev /dev management " + depends on !BR2_PACKAGE_HAS_UDEV + +config BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG + bool + default y if BR2_PACKAGE_EFL_EEZE && \ + BR2_PACKAGE_EFL_FONTCONFIG && \ + BR2_PACKAGE_EFL_GSTREAMER1 && \ + BR2_PACKAGE_EFL_LIBFRIBIDI && \ + BR2_PACKAGE_EFL_LIBSNDFILE && \ + BR2_PACKAGE_EFL_PULSEAUDIO && \ + BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT + +comment "Warning: one of the recommended option for EFL is not enabled" + depends on !BR2_PACKAGE_EFL_HAS_RECOMMENDED_CONFIG + +config BR2_PACKAGE_EFL_EOLIAN_CPP + bool "Enable Eolian C++ bindings" + help + Eolian is an EO object parser and code generator. + With this option enabled Eolian will handle automatic + generation of EFL bindings for the C++11 language. + +comment "libecore video support" + +config BR2_PACKAGE_EFL_FB + bool "FB support" + +config BR2_PACKAGE_EFL_X_XLIB + bool "X11 support (xlib)" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXCOMPOSITE + select BR2_PACKAGE_XLIB_LIBXCURSOR + select BR2_PACKAGE_XLIB_LIBXDAMAGE + select BR2_PACKAGE_XLIB_LIBXINERAMA + select BR2_PACKAGE_XLIB_LIBXRANDR + select BR2_PACKAGE_XLIB_LIBXRENDER + select BR2_PACKAGE_XLIB_LIBXSCRNSAVER + select BR2_PACKAGE_XLIB_LIBXTST + select BR2_PACKAGE_XORGPROTO + +config BR2_PACKAGE_EFL_WAYLAND + bool "Wayland support" + depends on BR2_PACKAGE_WAYLAND + depends on BR2_TOOLCHAIN_HAS_THREADS # Evas DRM Engine -> libdrm + depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # Evas DRM Engine + depends on BR2_PACKAGE_HAS_UDEV # efl drm, efl-eeze + depends on BR2_PACKAGE_EFL_OPENGLES # OpenGL ES with EGL support only + depends on BR2_ENABLE_LOCALE # efl-drm <- efl-elput <- linput + select BR2_PACKAGE_EFL_DRM + select BR2_PACKAGE_WAYLAND_PROTOCOLS + +comment "Wayland support needs udev /dev management, OpenGL ES w/ EGL, threads, locales" + depends on BR2_PACKAGE_WAYLAND + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \ + || !BR2_PACKAGE_EFL_OPENGLES || !BR2_PACKAGE_HAS_UDEV \ + || !BR2_ENABLE_LOCALE + +choice + bool "OpenGL support" + help + libevas can be configured to use HW acceleration with OpenGL + or OpenGL ES. + +config BR2_PACKAGE_EFL_OPENGL + bool "OpenGL" + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_EFL_X_XLIB + +comment "OpenGL support needs X11 and an OpenGL provider" + depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_EFL_OPENGLES + bool "OpenGL ES (w/ EGL)" + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBGLES + +comment "OpenGL ES support needs an OpenGL ES w/ EGL provider" + depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL + +config BR2_PACKAGE_EFL_OPENGL_NONE + bool "none" + +endchoice # OpenGL support + +config BR2_PACKAGE_EFL_DRM + bool "Evas DRM Engine" + depends on BR2_PACKAGE_HAS_UDEV # efl-elput, efl-eeze + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm + depends on BR2_PACKAGE_MESA3D_OPENGL_EGL # require libgbm from mesa3d + select BR2_PACKAGE_EFL_ELPUT + select BR2_PACKAGE_LIBDRM + help + This option enable building support for the Evas DRM Engine. + + Since efl 1.23.x, the drm option enable the elput library + which is an efl abstraction for the libinput library which + can be used by various other subsystems (ecore_fb, ecore_drm, + etc) to handle interfacing with libinput without having to + duplicate the code in each subsystem. + +comment "Evas DRM Engine needs udev /dev management, mesa3d w/ EGL support, threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_MESA3D_OPENGL_EGL \ + || !BR2_PACKAGE_HAS_UDEV + +comment "libevas loaders" + +config BR2_PACKAGE_EFL_JPEG + bool "libevas jpeg loader" + select BR2_PACKAGE_OPENJPEG + help + This enables the loader code that loads jpeg files using + libjpeg. + +config BR2_PACKAGE_EFL_TIFF + bool "libevas tiff loader" + select BR2_PACKAGE_TIFF + help + This enables the loader code that loads tiff files. + +config BR2_PACKAGE_EFL_WEBP + bool "libevas webp image loader" + select BR2_PACKAGE_WEBP + select BR2_PACKAGE_WEBP_DEMUX + help + This enables the loader code that loads images using WebP. + +config BR2_PACKAGE_EFL_LIBRAW + bool "libraw loader" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libraw + select BR2_PACKAGE_LIBRAW + help + This option enables the Evas generic Libraw loader + +config BR2_PACKAGE_EFL_SVG + bool "SVG loader" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # librsvg + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # librsvg -> pango -> harfbuzz + select BR2_PACKAGE_LIBRSVG + select BR2_PACKAGE_CAIRO + help + This option enables the Evas generic SVG loader + +endif # BR2_PACKAGE_EFL + +comment "efl needs a toolchain w/ C++, dynamic library, gcc >= 4.9, host gcc >= 4.9, threads, wchar" + depends on !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ + || !BR2_HOST_GCC_AT_LEAST_4_9 || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/efl/efl.hash b/buildroot-2022.02.1/package/efl/efl.hash new file mode 100644 index 00000000..8d50400e --- /dev/null +++ b/buildroot-2022.02.1/package/efl/efl.hash @@ -0,0 +1,13 @@ +# From https://www.enlightenment.org/news/2022-01-03-efl-1.26.1 +sha256 86a9677e3d48dd0c13a399ebb417bd417bd8d150d6b06cc491bc92275c88a642 efl-1.26.1.tar.xz + +sha256 d666b6b2df9f5b791f85c299c65516cb55528b02a807603de246f65f4918ae22 COMPLIANCE +sha256 5bceb52d65debe420bc520f2992807740dc928b7fdc3c2e9a74b5889177ddf4c COPYING +sha256 e5133b4034a4749a781e2220ffb230b60a282b88861f1124d69a58abd5143994 COPYING.images +sha256 c95bae1d1ce0235ecccd3560b772ec1efb97f348a79f0fbe0a634f0c2ccefe2c licenses/COPYING.ASL +sha256 af4ffe7ed1795a6e9cd3b3ce8747fdc45da449ff58cf35b8027c0699a66fd5cf licenses/COPYING.BSD +sha256 e60d07dfb2c5264f9f405fa52bf0d4f85429dd9ae1bc2ffcff8af1924ef720d1 licenses/COPYING.FTL +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 licenses/COPYING.GPL +sha256 ae2d99bf2a8e8310281bdbe5e8b78cbe5e89bfead8c01e67a8c68b530efcf25a licenses/COPYING.LGPL +sha256 2996a1c43ee757f9c997a829d82bdd584052323e73cf02ff8126c6fbd95c2d87 licenses/COPYING.NGINX-MIT +sha256 d847c749aa38b8d864665fc4e5c80e2f2a505e414fafe9712e85b5154e908218 licenses/COPYING.SMALL diff --git a/buildroot-2022.02.1/package/efl/efl.mk b/buildroot-2022.02.1/package/efl/efl.mk new file mode 100644 index 00000000..d4a16475 --- /dev/null +++ b/buildroot-2022.02.1/package/efl/efl.mk @@ -0,0 +1,374 @@ +################################################################################ +# +# efl +# +################################################################################ + +EFL_VERSION = 1.26.1 +EFL_SOURCE = efl-$(EFL_VERSION).tar.xz +EFL_SITE = https://download.enlightenment.org/rel/libs/efl +EFL_LICENSE = BSD-2-Clause, LGPL-2.1+, GPL-2.0+, FTL, MIT +EFL_LICENSE_FILES = \ + COMPLIANCE \ + COPYING \ + COPYING.images \ + licenses/COPYING.ASL \ + licenses/COPYING.BSD \ + licenses/COPYING.FTL \ + licenses/COPYING.GPL \ + licenses/COPYING.LGPL \ + licenses/COPYING.NGINX-MIT \ + licenses/COPYING.SMALL + +EFL_INSTALL_STAGING = YES + +EFL_DEPENDENCIES = host-pkgconf host-efl host-luajit dbus freetype \ + giflib jpeg libpng luajit lz4 zlib $(TARGET_NLS_DEPENDENCIES) + +# Configure options: +# elua=true: build elua for the target. +# sdl=false: disable sdl2 support. +# embedded-lz4=false: use liblz4 from lz4 package. +# native-arch-optimization=false: avoid optimization flags added by meson. +# network-backend=none: disable connman networkmanager. +EFL_CONF_OPTS = \ + -Davahi=false \ + -Dbuild-examples=false \ + -Dbuild-tests=false \ + -Ddotnet=false \ + -Decore-imf-loaders-disabler=ibus,scim,xim \ + -Delua=true \ + -Dembedded-lz4=false \ + -Dlua-interpreter=luajit \ + -Dnative-arch-optimization=false \ + -Dnetwork-backend=none \ + -Dpixman=false \ + -Dsdl=false \ + -Dvnc-server=false + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +EFL_CONF_OPTS += -Dnls=true +else +EFL_CONF_OPTS += -Dnls=false +endif + +EFL_BINDINGS = lua + +ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y) +EFL_BINDINGS += cxx +endif + +EFL_CONF_OPTS += -Dbindings=$(subst $(space),$(comma),$(EFL_BINDINGS)) + +ifeq ($(BR2_PACKAGE_EFL_EEZE),y) +EFL_DEPENDENCIES += udev +EFL_CONF_OPTS += -Deeze=true +else +EFL_CONF_OPTS += -Deeze=false +endif + +ifeq ($(BR2_PACKAGE_EFL_ELPUT),y) +EFL_DEPENDENCIES += libinput libxkbcommon +EFL_CONF_OPTS += -Dinput=true +else +EFL_CONF_OPTS += -Dinput=false +endif + +ifeq ($(BR2_PACKAGE_EFL_UTIL_LINUX_LIBMOUNT),y) +EFL_DEPENDENCIES += util-linux +EFL_CONF_OPTS += -Dlibmount=true +else +EFL_CONF_OPTS += -Dlibmount=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +EFL_CONF_OPTS += -Dsystemd=true +EFL_DEPENDENCIES += systemd +else +EFL_CONF_OPTS += -Dsystemd=false +endif + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +EFL_CONF_OPTS += -Dfontconfig=true +EFL_DEPENDENCIES += fontconfig +else +EFL_CONF_OPTS += -Dfontconfig=false +endif + +ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) +EFL_CONF_OPTS += -Dfribidi=true +EFL_DEPENDENCIES += libfribidi +else +EFL_CONF_OPTS += -Dfribidi=false +endif + +ifeq ($(BR2_PACKAGE_GSTREAMER1)$(BR2_PACKAGE_GST1_PLUGINS_BASE),yy) +EFL_CONF_OPTS += -Dgstreamer=true +EFL_DEPENDENCIES += gstreamer1 gst1-plugins-base +else +EFL_CONF_OPTS += -Dgstreamer=false +endif + +ifeq ($(BR2_PACKAGE_BULLET),y) +EFL_CONF_OPTS += -Dphysics=true +EFL_DEPENDENCIES += bullet +else +EFL_CONF_OPTS += -Dphysics=false +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +EFL_CONF_OPTS += -Daudio=true +EFL_DEPENDENCIES += libsndfile +else +EFL_CONF_OPTS += -Daudio=false +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +EFL_CONF_OPTS += -Dpulseaudio=true +EFL_DEPENDENCIES += pulseaudio +else +EFL_CONF_OPTS += -Dpulseaudio=false +endif + +ifeq ($(BR2_PACKAGE_HARFBUZZ),y) +EFL_DEPENDENCIES += harfbuzz +EFL_CONF_OPTS += -Dharfbuzz=true +else +EFL_CONF_OPTS += -Dharfbuzz=false +endif + +ifeq ($(BR2_PACKAGE_TSLIB),y) +EFL_DEPENDENCIES += tslib +EFL_CONF_OPTS += -Dtslib=true +else +EFL_CONF_OPTS += -Dtslib=false +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +EFL_DEPENDENCIES += libglib2 +EFL_CONF_OPTS += -Dglib=true +else +EFL_CONF_OPTS += -Dglib=false +endif + +# Prefer openssl (the default) over gnutls. +ifeq ($(BR2_PACKAGE_OPENSSL),y) +EFL_DEPENDENCIES += openssl +EFL_CONF_OPTS += -Dcrypto=openssl +else +EFL_DEPENDENCIES += gnutls libgcrypt +EFL_CONF_OPTS += -Dcrypto=gnutls +endif + +ifeq ($(BR2_PACKAGE_EFL_FB),y) +EFL_CONF_OPTS += -Dfb=true +else +EFL_CONF_OPTS += -Dfb=false +endif + +ifeq ($(BR2_PACKAGE_EFL_X_XLIB),y) +EFL_CONF_OPTS += -Dx11=true \ + -Dxinput2=true \ + -Dxinput22=true + +EFL_DEPENDENCIES += \ + xlib_libX11 \ + xlib_libXcomposite \ + xlib_libXcursor \ + xlib_libXdamage \ + xlib_libXext \ + xlib_libXinerama \ + xlib_libXrandr \ + xlib_libXrender \ + xlib_libXScrnSaver \ + xlib_libXtst +else +EFL_CONF_OPTS += -Dx11=false +endif + +ifeq ($(BR2_PACKAGE_EFL_OPENGL),y) +EFL_CONF_OPTS += -Dopengl=full +EFL_DEPENDENCIES += libgl +# OpenGL ES requires EGL +else ifeq ($(BR2_PACKAGE_EFL_OPENGLES),y) +EFL_CONF_OPTS += -Dopengl=es-egl +EFL_DEPENDENCIES += libegl libgles +else ifeq ($(BR2_PACKAGE_EFL_OPENGL_NONE),y) +EFL_CONF_OPTS += -Dopengl=none +endif + +ifeq ($(BR2_PACKAGE_EFL_DRM),y) +EFL_CONF_OPTS += -Ddrm=true +EFL_DEPENDENCIES += libdrm libegl mesa3d +else +EFL_CONF_OPTS += -Ddrm=false +endif + +ifeq ($(BR2_PACKAGE_EFL_WAYLAND),y) +EFL_DEPENDENCIES += wayland wayland-protocols +EFL_CONF_OPTS += -Dwl=true +else +EFL_CONF_OPTS += -Dwl=false +endif + +# json evas loader is disabled by default by upstream. +# Disable libspectre (ps). +# Keep all other evas loader enabled or handled below. +EFL_EVAS_LOADERS_DISABLER = avif gst heif json ps + +# efl already depends on jpeg. +ifeq ($(BR2_PACKAGE_EFL_JPEG),y) +EFL_DEPENDENCIES += openjpeg +else +EFL_EVAS_LOADERS_DISABLER += jp2k +endif + +ifeq ($(BR2_PACKAGE_EFL_TIFF),y) +EFL_DEPENDENCIES += tiff +else +EFL_EVAS_LOADERS_DISABLER += tiff +endif + +ifeq ($(BR2_PACKAGE_EFL_WEBP),y) +EFL_DEPENDENCIES += webp +else +EFL_EVAS_LOADERS_DISABLER += webp +endif + +ifeq ($(BR2_PACKAGE_POPPLER),y) +# poppler needs c++11 +EFL_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" +EFL_DEPENDENCIES += poppler +else +EFL_EVAS_LOADERS_DISABLER += pdf +endif + +ifeq ($(BR2_PACKAGE_EFL_LIBRAW),y) +EFL_DEPENDENCIES += libraw +else +EFL_EVAS_LOADERS_DISABLER += raw +endif + +ifeq ($(BR2_PACKAGE_EFL_SVG),y) +EFL_DEPENDENCIES += librsvg cairo +else +EFL_EVAS_LOADERS_DISABLER += rsvg +endif + +EFL_CONF_OPTS += -Devas-loaders-disabler=$(subst $(space),$(comma),$(EFL_EVAS_LOADERS_DISABLER)) + +ifeq ($(BR2_PACKAGE_UPOWER),) +# upower ecore system module is only useful if upower +# dbus service is available. +# It's not essential, only used to notify applications +# of power state, such as low battery or AC power, so +# they can adapt their power consumption. +define EFL_HOOK_REMOVE_UPOWER + rm -fr $(TARGET_DIR)/usr/lib/ecore/system/upower +endef +EFL_POST_INSTALL_TARGET_HOOKS = EFL_HOOK_REMOVE_UPOWER +endif + +ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +EFL_DEPENDENCIES += libunwind +endif + +$(eval $(meson-package)) + +################################################################################ +# +# host-efl +# +################################################################################ + +# We want to build only some host tools used later in the build. +# Actually we want: edje_cc, eet and embryo_cc. eolian_cxx is built only +# if selected for the target. + +# Host dependencies: +# * host-dbus: for Eldbus +# * host-freetype: for libevas +# * host-libglib2: for libecore +# * host-giflib, host-libjpeg, host-libpng: for libevas image loader +# * host-luajit for Elua tool for the host +# * host-openssl: cryptography backends. +HOST_EFL_DEPENDENCIES = \ + host-pkgconf \ + host-dbus \ + host-freetype \ + host-giflib \ + host-libglib2 \ + host-libjpeg \ + host-libpng \ + host-luajit \ + host-openssl \ + host-zlib + +# Configure options: +# audio=false: remove libsndfile dependency. +# eeze=false: remove libudev dependency. +# input=false: remove libinput dependency. +# libmount=false: remove dependency on host-util-linux libmount. +# elua=true: build elua for the host. +# physics=false: remove Bullet dependency. +# network-backend=none: remove network-backend (connman). +# embedded-lz4=true: use lz4 bundled in efl. +HOST_EFL_CONF_OPTS += \ + -Daudio=false \ + -Davahi=false \ + -Dbuild-examples=false \ + -Dbuild-tests=false \ + -Dcrypto=openssl \ + -Ddotnet=false \ + -Decore-imf-loaders-disabler=ibus,scim,xim \ + -Dedje-sound-and-video=false \ + -Deeze=false \ + -Delua=true \ + -Dembedded-lz4=true \ + -Dfontconfig=false \ + -Dfribidi=false \ + -Dglib=true \ + -Dgstreamer=false \ + -Dharfbuzz=false \ + -Dinput=false \ + -Dlibmount=false \ + -Dlua-interpreter=luajit \ + -Dnetwork-backend=none \ + -Dnls=false \ + -Dopengl=none \ + -Dphysics=false \ + -Dpixman=false \ + -Dpulseaudio=false \ + -Dsdl=false \ + -Dsystemd=false \ + -Dv4l2=false \ + -Dvnc-server=false \ + -Dx11=false \ + -Dxinput22=false + +# List of modular image/vector loaders to disable in efl +HOST_EFL_EVAS_LOADERS_DISABLER = avif bmp dds eet generic gst heif ico json \ + jp2k pdf pmaps ps psd raw rsvg tga tgv tiff wbmp webp xcf xpm + +HOST_EFL_CONF_OPTS += -Devas-loaders-disabler=$(subst $(space),$(comma),$(HOST_EFL_EVAS_LOADERS_DISABLER)) + +HOST_EFL_BINDINGS = lua + +# Enable Eolian language bindings to provide eolian_cxx tool for the +# host which is required to build Eolian language bindings for the +# target. +ifeq ($(BR2_PACKAGE_EFL_EOLIAN_CPP),y) +HOST_EFL_BINDINGS += cxx +endif +HOST_EFL_CONF_OPTS += -Dbindings=$(subst $(space),$(comma),$(HOST_EFL_BINDINGS)) + +# Always disable upower system module from host as it's +# not useful and would try to use the output/host/var +# system bus which is non-existent and does not contain +# any upower service in it. +define HOST_EFL_HOOK_REMOVE_UPOWER + rm -fr $(HOST_DIR)/lib/ecore/system/upower +endef +HOST_EFL_POST_INSTALL_HOOKS = HOST_EFL_HOOK_REMOVE_UPOWER + +$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/eigen/Config.in b/buildroot-2022.02.1/package/eigen/Config.in similarity index 100% rename from buildroot-2021.05/package/eigen/Config.in rename to buildroot-2022.02.1/package/eigen/Config.in diff --git a/buildroot-2021.05/package/eigen/eigen.hash b/buildroot-2022.02.1/package/eigen/eigen.hash similarity index 100% rename from buildroot-2021.05/package/eigen/eigen.hash rename to buildroot-2022.02.1/package/eigen/eigen.hash diff --git a/buildroot-2022.02.1/package/eigen/eigen.mk b/buildroot-2022.02.1/package/eigen/eigen.mk new file mode 100644 index 00000000..98e6c61e --- /dev/null +++ b/buildroot-2022.02.1/package/eigen/eigen.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# eigen +# +################################################################################ + +EIGEN_VERSION = 3.3.7 +EIGEN_SOURCE = eigen-$(EIGEN_VERSION).tar.bz2 +EIGEN_SITE = $(call gitlab,libeigen,eigen,$(EIGEN_VERSION)) +EIGEN_LICENSE = MPL2, BSD-3-Clause, LGPL-2.1 +EIGEN_LICENSE_FILES = COPYING.MPL2 COPYING.BSD COPYING.LGPL COPYING.README +EIGEN_INSTALL_STAGING = YES +EIGEN_INSTALL_TARGET = NO +EIGEN_SUPPORTS_IN_SOURCE_BUILD = NO + +# Default Eigen CMake installs .pc file in /usr/share/pkgconfig +# change it to /usr/lib/pkgconfig, to be consistent with other packages. +EIGEN_CONF_OPTS = -DPKGCONFIG_INSTALL_DIR=/usr/lib/pkgconfig \ + -DCMAKE_Fortran_COMPILER=$(TARGET_FC) + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/ejabberd/0001-Makefile.in-do-not-download-or-compile-dependencies.patch b/buildroot-2022.02.1/package/ejabberd/0001-Makefile.in-do-not-download-or-compile-dependencies.patch similarity index 100% rename from buildroot-2021.05/package/ejabberd/0001-Makefile.in-do-not-download-or-compile-dependencies.patch rename to buildroot-2022.02.1/package/ejabberd/0001-Makefile.in-do-not-download-or-compile-dependencies.patch diff --git a/buildroot-2021.05/package/ejabberd/0002-fix-ejabberdctl.patch b/buildroot-2022.02.1/package/ejabberd/0002-fix-ejabberdctl.patch similarity index 100% rename from buildroot-2021.05/package/ejabberd/0002-fix-ejabberdctl.patch rename to buildroot-2022.02.1/package/ejabberd/0002-fix-ejabberdctl.patch diff --git a/buildroot-2021.05/package/ejabberd/Config.in b/buildroot-2022.02.1/package/ejabberd/Config.in similarity index 100% rename from buildroot-2021.05/package/ejabberd/Config.in rename to buildroot-2022.02.1/package/ejabberd/Config.in diff --git a/buildroot-2021.05/package/ejabberd/S50ejabberd b/buildroot-2022.02.1/package/ejabberd/S50ejabberd similarity index 100% rename from buildroot-2021.05/package/ejabberd/S50ejabberd rename to buildroot-2022.02.1/package/ejabberd/S50ejabberd diff --git a/buildroot-2021.05/package/ejabberd/check-erlang-lib b/buildroot-2022.02.1/package/ejabberd/check-erlang-lib similarity index 100% rename from buildroot-2021.05/package/ejabberd/check-erlang-lib rename to buildroot-2022.02.1/package/ejabberd/check-erlang-lib diff --git a/buildroot-2021.05/package/ejabberd/ejabberd.hash b/buildroot-2022.02.1/package/ejabberd/ejabberd.hash similarity index 100% rename from buildroot-2021.05/package/ejabberd/ejabberd.hash rename to buildroot-2022.02.1/package/ejabberd/ejabberd.hash diff --git a/buildroot-2021.05/package/ejabberd/ejabberd.mk b/buildroot-2022.02.1/package/ejabberd/ejabberd.mk similarity index 100% rename from buildroot-2021.05/package/ejabberd/ejabberd.mk rename to buildroot-2022.02.1/package/ejabberd/ejabberd.mk diff --git a/buildroot-2021.05/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch b/buildroot-2022.02.1/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch similarity index 100% rename from buildroot-2021.05/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch rename to buildroot-2022.02.1/package/elf2flt/0001-ld-elf2flt-behave-properly-when-called-with-a-name-d.patch diff --git a/buildroot-2021.05/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch b/buildroot-2022.02.1/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch similarity index 100% rename from buildroot-2021.05/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch rename to buildroot-2022.02.1/package/elf2flt/0002-elf2flt.c-add-new-relocation-types-for-xtensa.patch diff --git a/buildroot-2021.05/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch b/buildroot-2022.02.1/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch similarity index 100% rename from buildroot-2021.05/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch rename to buildroot-2022.02.1/package/elf2flt/0003-elf2flt-handle-binutils-2.34.patch diff --git a/buildroot-2022.02.1/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch b/buildroot-2022.02.1/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch new file mode 100644 index 00000000..4b007584 --- /dev/null +++ b/buildroot-2022.02.1/package/elf2flt/0004-elf2flt-add-riscv-64-bits-support.patch @@ -0,0 +1,137 @@ +From 1dea576eac4289602adc4a37f48c80330bf82e63 Mon Sep 17 00:00:00 2001 +From: Damien Le Moal +Date: Wed, 9 Sep 2020 17:31:33 +0900 +Subject: [PATCH] elf2flt: add riscv 64-bits support + +Add support for riscv 64bits ISA by defining the relocation types +R_RISCV_32_PCREL, R_RISCV_ADD32, R_RISCV_SUB32, R_RISCV_32 and +R_RISCV_64. riscv64 support also needs the __global_pointer$ symbol to +be defined right after the relocation tables in the data section. +Furthermore, the .got and .got.plt sections must be reversed. These 2 +requirements are handled with runtime modifications of the default +linker script using the append_sed() function. +(1) For the .got.plt and .got sections order swap, append_sed() is used +to rename "(.got.plt)" to "(.got.tmp)" and to rename "(.got)" to +"(.got.plt)". A last call finalize the name swap by replacing +"(.got.tmp)" with "(.got)" +(2) For the global pointer synbol, a definition line starting with +"RISCV_GP" is added. The "RISCV_GP" string is removed if the target CPU +type is riscv64. The definition line is dropped for other CPU types. + +With these changes, buildroot/busybox builds and run on NOMMU +systems with kernel 5.13. Tested on Canaan Kendryte K210 boards. + +This patch is based on earlier work by Christoph Hellwig . + +Signed-off-by: Damien Le Moal +--- + elf2flt.c | 23 +++++++++++++++++++++++ + elf2flt.ld.in | 9 +++++---- + ld-elf2flt.c | 16 ++++++++++++++++ + 3 files changed, 44 insertions(+), 4 deletions(-) + +diff --git a/elf2flt.c b/elf2flt.c +index f87f1fc..dbce467 100644 +--- a/elf2flt.c ++++ b/elf2flt.c +@@ -80,6 +80,8 @@ const char *elf2flt_progname; + #include + #elif defined(TARGET_xtensa) + #include ++#elif defined(TARGET_riscv64) ++#include + #endif + + #if defined(__MINGW32__) +@@ -122,6 +124,8 @@ const char *elf2flt_progname; + #define ARCH "nios2" + #elif defined(TARGET_xtensa) + #define ARCH "xtensa" ++#elif defined(TARGET_riscv64) ++#define ARCH "riscv64" + #else + #error "Don't know how to support your CPU architecture??" + #endif +@@ -797,6 +801,16 @@ output_relocs ( + goto good_32bit_resolved_reloc; + default: + goto bad_resolved_reloc; ++#elif defined(TARGET_riscv64) ++ case R_RISCV_32_PCREL: ++ case R_RISCV_ADD32: ++ case R_RISCV_SUB32: ++ continue; ++ case R_RISCV_32: ++ case R_RISCV_64: ++ goto good_32bit_resolved_reloc; ++ default: ++ goto bad_resolved_reloc; + #else + default: + /* The default is to assume that the +@@ -1806,6 +1820,15 @@ int main(int argc, char *argv[]) + if (!load_to_ram && !pfile) + load_to_ram = 1; + ++#if defined(TARGET_riscv64) ++ /* ++ * riscv only supports loading text and data contiguously. ++ * So fail if load_to_ram is false. ++ */ ++ if (!load_to_ram) ++ fatal("Loading to RAM ('-r' option) is required"); ++#endif ++ + fname = argv[argc-1]; + + if (pfile) { +diff --git a/elf2flt.ld.in b/elf2flt.ld.in +index ec1fe6f..c0c44b8 100644 +--- a/elf2flt.ld.in ++++ b/elf2flt.ld.in +@@ -70,10 +70,11 @@ W_RODAT *(.gnu.linkonce.r*) + . = ALIGN(0x20) ; + LONG(-1) + . = ALIGN(0x20) ; +-R_RODAT *(.rodata) +-R_RODAT *(.rodata1) +-R_RODAT *(.rodata.*) +-R_RODAT *(.gnu.linkonce.r*) ++RISCV_GP: __global_pointer$ = . + 0x800 ; ++R_RODAT *(.rodata) ++R_RODAT *(.rodata1) ++R_RODAT *(.rodata.*) ++R_RODAT *(.gnu.linkonce.r*) + *(.data) + *(.data1) + *(.data.*) +diff --git a/ld-elf2flt.c b/ld-elf2flt.c +index e5de506..31b565f 100644 +--- a/ld-elf2flt.c ++++ b/ld-elf2flt.c +@@ -324,6 +324,22 @@ static int do_final_link(void) + append_option(&other_options, concat(got_offset, "=", buf, NULL)); + } + ++ if (streq(TARGET_CPU, "riscv64")) { ++ /* ++ * The .got section must come before the .got.plt section ++ * (gcc/ld bug ?). ++ */ ++ append_sed(&sed, "(.got.plt)", "(.got.tmp)"); ++ append_sed(&sed, "(.got.plt)", "(.got)"); ++ append_sed(&sed, "(.got.tmp)", "(.got.plt)"); ++ ++ /* The global pointer symbol is defined after the GOT. */ ++ append_sed(&sed, "^RISCV_GP:", ""); ++ } else { ++ /* Get rid of the global pointer definition. */ ++ append_sed(&sed, "^RISCV_GP:", NULL); ++ } ++ + /* Locate the default linker script, if we don't have one provided. */ + if (!linker_script) + linker_script = concat(ldscriptpath, "/elf2flt.ld", NULL); +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/elf2flt/Config.in.host b/buildroot-2022.02.1/package/elf2flt/Config.in.host new file mode 100644 index 00000000..2bab0095 --- /dev/null +++ b/buildroot-2022.02.1/package/elf2flt/Config.in.host @@ -0,0 +1,13 @@ +config BR2_PACKAGE_HOST_ELF2FLT + bool "Enable elf2flt support?" + depends on BR2_arm || BR2_sh || BR2_sparc || BR2_xtensa || BR2_RISCV_64 + depends on !BR2_USE_MMU + help + uCLinux uses a Binary Flat format commonly known as BFLT. It + is a relatively simple and lightweight executable format + based on the original a.out format. + + This option compiles the required tools and makes the required + modifications on your toolchain (linker). + + https://github.com/uclinux-dev/elf2flt diff --git a/buildroot-2021.05/package/elf2flt/elf2flt.hash b/buildroot-2022.02.1/package/elf2flt/elf2flt.hash similarity index 100% rename from buildroot-2021.05/package/elf2flt/elf2flt.hash rename to buildroot-2022.02.1/package/elf2flt/elf2flt.hash diff --git a/buildroot-2021.05/package/elf2flt/elf2flt.mk b/buildroot-2022.02.1/package/elf2flt/elf2flt.mk similarity index 100% rename from buildroot-2021.05/package/elf2flt/elf2flt.mk rename to buildroot-2022.02.1/package/elf2flt/elf2flt.mk diff --git a/buildroot-2021.05/package/elftosb/0001-fixes-includes.patch b/buildroot-2022.02.1/package/elftosb/0001-fixes-includes.patch similarity index 100% rename from buildroot-2021.05/package/elftosb/0001-fixes-includes.patch rename to buildroot-2022.02.1/package/elftosb/0001-fixes-includes.patch diff --git a/buildroot-2022.02.1/package/elftosb/0002-force-cxx-compiler.patch b/buildroot-2022.02.1/package/elftosb/0002-force-cxx-compiler.patch new file mode 100644 index 00000000..efa92d11 --- /dev/null +++ b/buildroot-2022.02.1/package/elftosb/0002-force-cxx-compiler.patch @@ -0,0 +1,98 @@ +Subject: [PATCH] elftosb: force host C++ compiler + +Because Freescale provides *.cpp sources and elftosb links again libstdc++, +force to use the host c++ compiler. + +This patch avoids the following error occurs: + +gcc AESKey.o Blob.o crc.o DataSource.o DataTarget.o ELFSourceFile.o EncoreBootImage.o EvalContext.o GHSSecInfo.o GlobMatcher.o HexValues.o Logging.o Operation.o OptionDictionary.o options.o OutputSection.o Random.o RijndaelCBCMAC.o rijndael.o SHA1.o SourceFile.o SRecordSourceFile.o stdafx.o StELFFile.o StExecutableImage.o StSRecordFile.o Value.o Version.o format_string.o ExcludesListMatcher.o SearchPath.o DataSourceImager.o IVTDataSource.o BootImageGenerator.o ConversionController.o ElftosbAST.o elftosb.o elftosb_lexer.o ElftosbLexer.o elftosb_parser.tab.o EncoreBootImageGenerator.o -lstdc++ -o elftosb +/usr/bin/ld: ElftosbAST.o: undefined reference to symbol 'powf@@GLIBC_2.2.5' +/usr/bin/ld: note: 'powf@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line +/lib64/libm.so.6: could not read symbols: Invalid operation +collect2: error: ld returned 1 exit status + +When compiling with gcc and linking against libstdc++, ld uses libc instead of +libstdc++. +However, libc does not provide all functions libstdc++ does. +Indeed, maths functions are provided by libm, not libc. +Thus, elftosb should either: +- use gcc and link against libc and libm; +- or use g++ and link against libstdc++. + +Because elftosb is written in C++, this patch implement the sencond option, using +g++ and linking against libstdc++. + +Signed-off-by: Samuel Martin + +--- +Index: host-elftosb-10.12.01/makefile.rules +=================================================================== +--- host-elftosb-10.12.01.orig/makefile.rules 2012-06-09 21:12:23.557526100 +0200 ++++ host-elftosb-10.12.01/makefile.rules 2012-06-09 21:15:21.659894571 +0200 +@@ -15,6 +15,8 @@ + # UNAMES is going to be set to either "Linux" or "CYGWIN_NT-5.1" + UNAMES = $(shell uname -s) + ++CXX ?= g++ ++ + #******************************************************************************* + # Directories + +@@ -37,9 +39,9 @@ + #******************************************************************************* + # Build flags +-# gcc Compiler flags ++# Compiler flags + # -g : Produce debugging information. + +-CFLAGS = -g $(INC_PATH) -D${UNAMES} ++CXXFLAGS = -g $(INC_PATH) -D${UNAMES} + + #******************************************************************************* + # File lists +@@ -137,13 +139,13 @@ clean: + ${EXEC_FILE_ELFTOSB2} ${EXEC_FILE_SBTOOL} ${EXEC_FILE_KEYGEN} + + elftosb: ${OBJ_FILES_ELFTOSB2} +- gcc ${OBJ_FILES_ELFTOSB2} ${LIBS} -o ${EXEC_FILE_ELFTOSB2} ++ $(CXX) ${OBJ_FILES_ELFTOSB2} ${LIBS} -o ${EXEC_FILE_ELFTOSB2} + + sbtool: ${OBJ_FILES_SBTOOL} +- gcc ${OBJ_FILES_SBTOOL} ${LIBS} -o ${EXEC_FILE_SBTOOL} ++ $(CXX) ${OBJ_FILES_SBTOOL} ${LIBS} -o ${EXEC_FILE_SBTOOL} + + keygen: ${OBJ_FILES_KEYGEN} +- gcc ${OBJ_FILES_KEYGEN} ${LIBS} -o ${EXEC_FILE_KEYGEN} ++ $(CXX) ${OBJ_FILES_KEYGEN} ${LIBS} -o ${EXEC_FILE_KEYGEN} + + + #ifeq ("${UNAMES}", "Linux") +@@ -153,10 +155,10 @@ keygen: ${OBJ_FILES_KEYGEN} + .SUFFIXES : .c .cpp + + .c.o : +- gcc ${CFLAGS} -c $< ++ $(CC) ${CXXFLAGS} -c $< + + .cpp.o : +- gcc ${CFLAGS} -c $< ++ $(CXX) ${CXXFLAGS} -c $< + + #endif + +@@ -165,13 +167,13 @@ keygen: ${OBJ_FILES_KEYGEN} + + %.d: %.c + @set -e; \ +- $(CC) -MM $(CFLAGS) $< | \ ++ $(CC) -MM $(CXXFLAGS) $< | \ + sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' > $@; \ + [ -s $@ ] || rm -f $@ + + %.d: %.cpp + @set -e; \ +- $(CC) -MM $(CFLAGS) $< | \ ++ $(CXX) -MM $(CXXFLAGS) $< | \ + sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' > $@; \ + [ -s $@ ] || rm -f $@ + diff --git a/buildroot-2021.05/package/elftosb/elftosb.hash b/buildroot-2022.02.1/package/elftosb/elftosb.hash similarity index 100% rename from buildroot-2021.05/package/elftosb/elftosb.hash rename to buildroot-2022.02.1/package/elftosb/elftosb.hash diff --git a/buildroot-2021.05/package/elftosb/elftosb.mk b/buildroot-2022.02.1/package/elftosb/elftosb.mk similarity index 100% rename from buildroot-2021.05/package/elftosb/elftosb.mk rename to buildroot-2022.02.1/package/elftosb/elftosb.mk diff --git a/buildroot-2021.05/package/elfutils/0001-Add-a-enable-disable-progs-configure-option.patch b/buildroot-2022.02.1/package/elfutils/0001-Add-a-enable-disable-progs-configure-option.patch similarity index 100% rename from buildroot-2021.05/package/elfutils/0001-Add-a-enable-disable-progs-configure-option.patch rename to buildroot-2022.02.1/package/elfutils/0001-Add-a-enable-disable-progs-configure-option.patch diff --git a/buildroot-2021.05/package/elfutils/0002-Really-make-Werror-conditional-to-BUILD_WERROR.patch b/buildroot-2022.02.1/package/elfutils/0002-Really-make-Werror-conditional-to-BUILD_WERROR.patch similarity index 100% rename from buildroot-2021.05/package/elfutils/0002-Really-make-Werror-conditional-to-BUILD_WERROR.patch rename to buildroot-2022.02.1/package/elfutils/0002-Really-make-Werror-conditional-to-BUILD_WERROR.patch diff --git a/buildroot-2021.05/package/elfutils/Config.in b/buildroot-2022.02.1/package/elfutils/Config.in similarity index 100% rename from buildroot-2021.05/package/elfutils/Config.in rename to buildroot-2022.02.1/package/elfutils/Config.in diff --git a/buildroot-2022.02.1/package/elfutils/elfutils.hash b/buildroot-2022.02.1/package/elfutils/elfutils.hash new file mode 100644 index 00000000..3274b326 --- /dev/null +++ b/buildroot-2022.02.1/package/elfutils/elfutils.hash @@ -0,0 +1,6 @@ +# From https://sourceware.org/elfutils/ftp/0.186/sha512.sum +sha512 c9180b27ec62935f18b9431268d176f6023d1bb938731d2af6e7626ae460af6608a70ba68483aa1ec7e6cb0fa0528b661ca8b68bc4f58ea8e18af527c5950c78 elfutils-0.186.tar.bz2 +# Locally calculated +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING-GPLV2 +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING-LGPLV3 diff --git a/buildroot-2022.02.1/package/elfutils/elfutils.mk b/buildroot-2022.02.1/package/elfutils/elfutils.mk new file mode 100644 index 00000000..8116ae59 --- /dev/null +++ b/buildroot-2022.02.1/package/elfutils/elfutils.mk @@ -0,0 +1,99 @@ +################################################################################ +# +# elfutils +# +################################################################################ + +ELFUTILS_VERSION = 0.186 +ELFUTILS_SOURCE = elfutils-$(ELFUTILS_VERSION).tar.bz2 +ELFUTILS_SITE = https://sourceware.org/elfutils/ftp/$(ELFUTILS_VERSION) +ELFUTILS_INSTALL_STAGING = YES +ELFUTILS_LICENSE = GPL-2.0+ or LGPL-3.0+ (library) +ELFUTILS_LICENSE_FILES = COPYING COPYING-GPLV2 COPYING-LGPLV3 +ELFUTILS_CPE_ID_VENDOR = elfutils_project +ELFUTILS_DEPENDENCIES = host-pkgconf zlib $(TARGET_NLS_DEPENDENCIES) +HOST_ELFUTILS_DEPENDENCIES = host-pkgconf host-zlib host-bzip2 host-xz + +# We patch configure.ac +ELFUTILS_AUTORECONF = YES +HOST_ELFUTILS_AUTORECONF = YES + +# Pass a custom program prefix to avoid a naming conflict between +# elfutils binaries and binutils binaries. +ELFUTILS_CONF_OPTS += \ + --program-prefix="eu-" + +HOST_ELFUTILS_CONF_OPTS = \ + --with-bzlib \ + --with-lzma \ + --without-zstd \ + --disable-progs + +# elfutils gets confused when lfs mode is forced, so don't +ELFUTILS_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS)) +ELFUTILS_CPPFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS)) + +# sparc64 needs -fPIC instead of -fpic +ifeq ($(BR2_sparc64),y) +ELFUTILS_CFLAGS += -fPIC +endif + +ELFUTILS_CONF_ENV += \ + CFLAGS="$(ELFUTILS_CFLAGS)" \ + CPPFLAGS="$(ELFUTILS_CPPFLAGS)" + +ELFUTILS_LDFLAGS = $(TARGET_LDFLAGS) \ + $(TARGET_NLS_LIBS) + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +ELFUTILS_LDFLAGS += -latomic +endif + +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) +ELFUTILS_DEPENDENCIES += musl-fts +ELFUTILS_LDFLAGS += -lfts +endif + +# disable for now, needs "distro" support +ELFUTILS_CONF_OPTS += --disable-libdebuginfod --disable-debuginfod +HOST_ELFUTILS_CONF_OPTS += --disable-libdebuginfod --disable-debuginfod + +ELFUTILS_CONF_ENV += \ + LDFLAGS="$(ELFUTILS_LDFLAGS)" + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +ELFUTILS_DEPENDENCIES += argp-standalone +ELFUTILS_CONF_OPTS += --disable-symbol-versioning +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +ELFUTILS_DEPENDENCIES += bzip2 +ELFUTILS_CONF_OPTS += --with-bzlib +else +ELFUTILS_CONF_OPTS += --without-bzlib +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +ELFUTILS_DEPENDENCIES += xz +ELFUTILS_CONF_OPTS += --with-lzma +else +ELFUTILS_CONF_OPTS += --without-lzma +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +ELFUTILS_DEPENDENCIES += zstd +ELFUTILS_CONF_OPTS += --with-zstd +else +ELFUTILS_CONF_OPTS += --without-zstd +endif + +ifeq ($(BR2_PACKAGE_ELFUTILS_PROGS),y) +ELFUTILS_CONF_OPTS += --enable-progs +ELFUTILS_LICENSE += , GPL-3.0+ (programs) +ELFUTILS_LICENSE_FILES += COPYING +else +ELFUTILS_CONF_OPTS += --disable-progs +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/elixir/elixir.hash b/buildroot-2022.02.1/package/elixir/elixir.hash similarity index 100% rename from buildroot-2021.05/package/elixir/elixir.hash rename to buildroot-2022.02.1/package/elixir/elixir.hash diff --git a/buildroot-2021.05/package/elixir/elixir.mk b/buildroot-2022.02.1/package/elixir/elixir.mk similarity index 100% rename from buildroot-2021.05/package/elixir/elixir.mk rename to buildroot-2022.02.1/package/elixir/elixir.mk diff --git a/buildroot-2021.05/package/ell/Config.in b/buildroot-2022.02.1/package/ell/Config.in similarity index 100% rename from buildroot-2021.05/package/ell/Config.in rename to buildroot-2022.02.1/package/ell/Config.in diff --git a/buildroot-2022.02.1/package/ell/ell.hash b/buildroot-2022.02.1/package/ell/ell.hash new file mode 100644 index 00000000..4bde1ab6 --- /dev/null +++ b/buildroot-2022.02.1/package/ell/ell.hash @@ -0,0 +1,5 @@ +# From https://mirrors.edge.kernel.org/pub/linux/libs/ell/sha256sums.asc +sha256 9894943042a5d6165d3e5cc354f92274fb1304004d02b4bee682ab6067cdbbd5 ell-0.48.tar.xz + +# License files +sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING diff --git a/buildroot-2022.02.1/package/ell/ell.mk b/buildroot-2022.02.1/package/ell/ell.mk new file mode 100644 index 00000000..267b44e5 --- /dev/null +++ b/buildroot-2022.02.1/package/ell/ell.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# ell +# +################################################################################ + +ELL_VERSION = 0.48 +ELL_SOURCE = ell-$(ELL_VERSION).tar.xz +ELL_SITE = $(BR2_KERNEL_MIRROR)/linux/libs/ell +ELL_LICENSE = LGPL-2.1+ +ELL_LICENSE_FILES = COPYING +ELL_INSTALL_STAGING = YES + +ELL_DEPENDENCIES = host-pkgconf + +# disable ell/glib main loop example +ELL_CONF_OPTS = --disable-glib + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/embiggen-disk/Config.in b/buildroot-2022.02.1/package/embiggen-disk/Config.in new file mode 100644 index 00000000..667d71c8 --- /dev/null +++ b/buildroot-2022.02.1/package/embiggen-disk/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_EMBIGGEN_DISK + bool "embiggen-disk" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve + depends on BR2_USE_MMU # util-linux + select BR2_PACKAGE_UTIL_LINUX # sfdisk + select BR2_PACKAGE_UTIL_LINUX_BINARIES # sfdisk + help + embiggen-disk is a tool to resize disk partitions at runtime. + + https://github.com/bradfitz/embiggen-disk + +comment "embiggen-disk needs a glibc or musl toolchain w/ threads" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS && \ + BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC diff --git a/buildroot-2022.02.1/package/embiggen-disk/embiggen-disk.hash b/buildroot-2022.02.1/package/embiggen-disk/embiggen-disk.hash new file mode 100644 index 00000000..3a290e2e --- /dev/null +++ b/buildroot-2022.02.1/package/embiggen-disk/embiggen-disk.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 514cde66ab9fe6af91b97f17acc19b37976f675ebea0e1be741d6bd621811d87 embiggen-disk-9e7b2fc7b99c4dece41a805489a6ca377ce55a62.tar.gz +sha256 063aedec1652c5a05c2d04c40e032b932453142ee8ef7fd53c04a9acc127fc95 LICENSE diff --git a/buildroot-2022.02.1/package/embiggen-disk/embiggen-disk.mk b/buildroot-2022.02.1/package/embiggen-disk/embiggen-disk.mk new file mode 100644 index 00000000..66f2087d --- /dev/null +++ b/buildroot-2022.02.1/package/embiggen-disk/embiggen-disk.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# embiggen-disk +# +################################################################################ + +EMBIGGEN_DISK_VERSION = 9e7b2fc7b99c4dece41a805489a6ca377ce55a62 +EMBIGGEN_DISK_SITE = $(call github,bradfitz,embiggen-disk,$(EMBIGGEN_DISK_VERSION)) +EMBIGGEN_DISK_LICENSE = Apache-2.0 +EMBIGGEN_DISK_LICENSE_FILES = LICENSE + +$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/emlog/Config.in b/buildroot-2022.02.1/package/emlog/Config.in similarity index 100% rename from buildroot-2021.05/package/emlog/Config.in rename to buildroot-2022.02.1/package/emlog/Config.in diff --git a/buildroot-2021.05/package/emlog/emlog.hash b/buildroot-2022.02.1/package/emlog/emlog.hash similarity index 100% rename from buildroot-2021.05/package/emlog/emlog.hash rename to buildroot-2022.02.1/package/emlog/emlog.hash diff --git a/buildroot-2021.05/package/emlog/emlog.mk b/buildroot-2022.02.1/package/emlog/emlog.mk similarity index 100% rename from buildroot-2021.05/package/emlog/emlog.mk rename to buildroot-2022.02.1/package/emlog/emlog.mk diff --git a/buildroot-2021.05/package/empty/0001-respect-LDFLAGS.patch b/buildroot-2022.02.1/package/empty/0001-respect-LDFLAGS.patch similarity index 100% rename from buildroot-2021.05/package/empty/0001-respect-LDFLAGS.patch rename to buildroot-2022.02.1/package/empty/0001-respect-LDFLAGS.patch diff --git a/buildroot-2021.05/package/empty/Config.in b/buildroot-2022.02.1/package/empty/Config.in similarity index 100% rename from buildroot-2021.05/package/empty/Config.in rename to buildroot-2022.02.1/package/empty/Config.in diff --git a/buildroot-2021.05/package/empty/empty.hash b/buildroot-2022.02.1/package/empty/empty.hash similarity index 100% rename from buildroot-2021.05/package/empty/empty.hash rename to buildroot-2022.02.1/package/empty/empty.hash diff --git a/buildroot-2021.05/package/empty/empty.mk b/buildroot-2022.02.1/package/empty/empty.mk similarity index 100% rename from buildroot-2021.05/package/empty/empty.mk rename to buildroot-2022.02.1/package/empty/empty.mk diff --git a/buildroot-2021.05/package/enchant/Config.in b/buildroot-2022.02.1/package/enchant/Config.in similarity index 100% rename from buildroot-2021.05/package/enchant/Config.in rename to buildroot-2022.02.1/package/enchant/Config.in diff --git a/buildroot-2022.02.1/package/enchant/enchant.hash b/buildroot-2022.02.1/package/enchant/enchant.hash new file mode 100644 index 00000000..9df5316a --- /dev/null +++ b/buildroot-2022.02.1/package/enchant/enchant.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 ce9ba47fd4d34031bd69445598a698a6611602b2b0e91d705e91a6f5099ead6e enchant-2.3.2.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2022.02.1/package/enchant/enchant.mk b/buildroot-2022.02.1/package/enchant/enchant.mk new file mode 100644 index 00000000..e00fcb25 --- /dev/null +++ b/buildroot-2022.02.1/package/enchant/enchant.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# enchant +# +################################################################################ + +ENCHANT_VERSION = 2.3.2 +ENCHANT_SITE = \ + https://github.com/AbiWord/enchant/releases/download/v$(ENCHANT_VERSION) +ENCHANT_INSTALL_STAGING = YES +ENCHANT_DEPENDENCIES = libglib2 host-pkgconf +ENCHANT_LICENSE = LGPL-2.1+ +ENCHANT_LICENSE_FILES = COPYING.LIB + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/enet/Config.in b/buildroot-2022.02.1/package/enet/Config.in similarity index 100% rename from buildroot-2021.05/package/enet/Config.in rename to buildroot-2022.02.1/package/enet/Config.in diff --git a/buildroot-2021.05/package/enet/enet.hash b/buildroot-2022.02.1/package/enet/enet.hash similarity index 100% rename from buildroot-2021.05/package/enet/enet.hash rename to buildroot-2022.02.1/package/enet/enet.hash diff --git a/buildroot-2021.05/package/enet/enet.mk b/buildroot-2022.02.1/package/enet/enet.mk similarity index 100% rename from buildroot-2021.05/package/enet/enet.mk rename to buildroot-2022.02.1/package/enet/enet.mk diff --git a/buildroot-2022.02.1/package/enlightenment/Config.in b/buildroot-2022.02.1/package/enlightenment/Config.in new file mode 100644 index 00000000..cdf4d921 --- /dev/null +++ b/buildroot-2022.02.1/package/enlightenment/Config.in @@ -0,0 +1,38 @@ +config BR2_PACKAGE_ENLIGHTENMENT + bool "enlightenment" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # efl svg -> librsvg + # libevas-generic-loaders-svg -> librsvg -> glib2 / pango + depends on BR2_USE_WCHAR + depends on BR2_INSTALL_LIBSTDCPP + # libedbus -> dbus + # libedbus -> glib2, libevas + depends on BR2_TOOLCHAIN_HAS_THREADS + # libedbus -> dbus, efl libraries + depends on BR2_USE_MMU + depends on BR2_PACKAGE_EFL + depends on BR2_PACKAGE_HAS_UDEV # efl (eeze) -> libudev + depends on BR2_PACKAGE_XORG7 + # libevas-generic-loaders-svg -> librsvg -> pango -> harfbuzz + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + select BR2_PACKAGE_EFL_X_XLIB + select BR2_PACKAGE_EFL_EEZE + select BR2_PACKAGE_EFL_JPEG # needed at runtime by enlightenment_start + select BR2_PACKAGE_EFL_SVG + select BR2_PACKAGE_XCB_UTIL_KEYSYMS + help + Enlightenment, also known simply as E, is a stacking window + manager for the X Window System which can be used alone or + in conjunction with a desktop environment such as GNOME or + KDE. Enlightenment can be used as a substitute for a full + desktop environment. + + https://www.enlightenment.org/ + +comment "enlightenment needs udev /dev management and a toolchain w/ wchar, C++, threads, gcc >= 4.9" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_EFL && BR2_PACKAGE_XORG7 && BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_PACKAGE_HAS_UDEV + depends on BR2_TOOLCHAIN_HAS_SYNC_4 diff --git a/buildroot-2022.02.1/package/enlightenment/enlightenment.hash b/buildroot-2022.02.1/package/enlightenment/enlightenment.hash new file mode 100644 index 00000000..2d977b86 --- /dev/null +++ b/buildroot-2022.02.1/package/enlightenment/enlightenment.hash @@ -0,0 +1,4 @@ +# From https://www.enlightenment.org/news/2022-01-03-enlightenment-0.25.1 +sha256 2cf05fe3d96ef35e823619dbc0ac513ecabcae2186800ecd804924a637112444 enlightenment-0.25.1.tar.xz +sha256 8d2fbc393e967cd6f5b8559d1744881a6a1ceb3ec6e1c2368c3916809ffccb8d COPYING +sha256 cdc77ee1732455b203610f923fe4196046b3f7509038c48dc0b0c7e3492c23f3 src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt diff --git a/buildroot-2022.02.1/package/enlightenment/enlightenment.mk b/buildroot-2022.02.1/package/enlightenment/enlightenment.mk new file mode 100644 index 00000000..95670e80 --- /dev/null +++ b/buildroot-2022.02.1/package/enlightenment/enlightenment.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# enlightenment +# +################################################################################ + +ENLIGHTENMENT_VERSION = 0.25.1 +ENLIGHTENMENT_SOURCE = enlightenment-$(ENLIGHTENMENT_VERSION).tar.xz +ENLIGHTENMENT_SITE = https://download.enlightenment.org/rel/apps/enlightenment +ENLIGHTENMENT_LICENSE = BSD-2-Clause, OFL-1.1 (font) +ENLIGHTENMENT_LICENSE_FILES = COPYING \ + src/modules/wl_weekeyboard/themes/default/fonts/LICENSE.txt +ENLIGHTENMENT_CPE_ID_VENDOR = enlightenment + +ENLIGHTENMENT_DEPENDENCIES = \ + host-pkgconf \ + host-efl \ + efl \ + xcb-util-keysyms + +ENLIGHTENMENT_CONF_OPTS = \ + -Dedje-cc=$(HOST_DIR)/bin/edje_cc \ + -Deet=$(HOST_DIR)/bin/eet \ + -Deldbus-codegen=$(HOST_DIR)/bin/eldbus-codegen \ + -Dlibexif=false \ + -Dpam=false \ + -Dpolkit=false + +# enlightenment.pc and /usr/lib/enlightenment/modules/*.so +ENLIGHTENMENT_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +ENLIGHTENMENT_CONF_OPTS += -Dsystemd=true +ENLIGHTENMENT_DEPENDENCIES += systemd +else +ENLIGHTENMENT_CONF_OPTS += -Dsystemd=false +endif + +# alsa backend needs mixer support +ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy) +ENLIGHTENMENT_CONF_OPTS += -Dmixer=true +ENLIGHTENMENT_DEPENDENCIES += alsa-lib +else +ENLIGHTENMENT_CONF_OPTS += -Dmixer=false +endif + +ifeq ($(BR2_PACKAGE_XKEYBOARD_CONFIG),y) +ENLIGHTENMENT_DEPENDENCIES += xkeyboard-config +endif + +define ENLIGHTENMENT_REMOVE_DOCUMENTATION + rm -rf $(TARGET_DIR)/usr/share/enlightenment/doc/ + rm -f $(TARGET_DIR)/usr/share/enlightenment/COPYING + rm -f $(TARGET_DIR)/usr/share/enlightenment/AUTHORS +endef +ENLIGHTENMENT_POST_INSTALL_TARGET_HOOKS += ENLIGHTENMENT_REMOVE_DOCUMENTATION + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/enscript/Config.in b/buildroot-2022.02.1/package/enscript/Config.in similarity index 100% rename from buildroot-2021.05/package/enscript/Config.in rename to buildroot-2022.02.1/package/enscript/Config.in diff --git a/buildroot-2021.05/package/enscript/enscript.hash b/buildroot-2022.02.1/package/enscript/enscript.hash similarity index 100% rename from buildroot-2021.05/package/enscript/enscript.hash rename to buildroot-2022.02.1/package/enscript/enscript.hash diff --git a/buildroot-2021.05/package/enscript/enscript.mk b/buildroot-2022.02.1/package/enscript/enscript.mk similarity index 100% rename from buildroot-2021.05/package/enscript/enscript.mk rename to buildroot-2022.02.1/package/enscript/enscript.mk diff --git a/buildroot-2021.05/package/environment-setup/Config.in.host b/buildroot-2022.02.1/package/environment-setup/Config.in.host similarity index 100% rename from buildroot-2021.05/package/environment-setup/Config.in.host rename to buildroot-2022.02.1/package/environment-setup/Config.in.host diff --git a/buildroot-2022.02.1/package/environment-setup/environment-setup b/buildroot-2022.02.1/package/environment-setup/environment-setup new file mode 100644 index 00000000..84a9843c --- /dev/null +++ b/buildroot-2022.02.1/package/environment-setup/environment-setup @@ -0,0 +1,25 @@ +cat <<'EOF' + _ _ _ _ _ +| |__ _ _(_) | __| |_ __ ___ ___ | |_ +| '_ \| | | | | |/ _` | '__/ _ \ / _ \| __| +| |_) | |_| | | | (_| | | | (_) | (_) | |_ +|_.__/ \__,_|_|_|\__,_|_| \___/ \___/ \__| + + Making embedded Linux easy! + +Some tips: +* PATH now contains the SDK utilities +* Standard autotools variables (CC, LD, CFLAGS) are exported +* Kernel compilation variables (ARCH, CROSS_COMPILE, KERNELDIR) are exported +* To configure do "./configure $CONFIGURE_FLAGS" or use + the "configure" alias +* To build CMake-based projects, use the "cmake" alias + +EOF +if [ x"$BASH_VERSION" != x"" ] ; then + SDK_PATH=$(dirname $(realpath "${BASH_SOURCE[0]}")) +elif [ x"$ZSH_VERSION" != x"" ] ; then + SDK_PATH=$(dirname $(realpath $0)) +else + echo "unsupported shell" +fi diff --git a/buildroot-2022.02.1/package/environment-setup/environment-setup.mk b/buildroot-2022.02.1/package/environment-setup/environment-setup.mk new file mode 100644 index 00000000..29ec5a9a --- /dev/null +++ b/buildroot-2022.02.1/package/environment-setup/environment-setup.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# environment-setup +# +################################################################################ + +ENVIRONMENT_SETUP_FILE = $(HOST_DIR)/environment-setup + +define HOST_ENVIRONMENT_SETUP_INSTALL_CMDS + cp package/environment-setup/environment-setup $(ENVIRONMENT_SETUP_FILE) + for var in $(TARGET_CONFIGURE_OPTS); do \ + printf "export \"$$var\"\n" >> $(ENVIRONMENT_SETUP_FILE); \ + done + printf "export \"ARCH=$(NORMALIZED_ARCH)\"\n" >> $(ENVIRONMENT_SETUP_FILE) + printf "export \"CROSS_COMPILE=$(TARGET_CROSS)\"\n" >> $(ENVIRONMENT_SETUP_FILE) + printf "export \"CONFIGURE_FLAGS=--target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --prefix=/usr \ + --exec-prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --program-prefix=\"\n" >> $(ENVIRONMENT_SETUP_FILE) + printf "alias configure=\"./configure \$${CONFIGURE_FLAGS}\"\n" \ + >> $(ENVIRONMENT_SETUP_FILE) + printf "alias cmake=\"cmake \ + -DCMAKE_TOOLCHAIN_FILE=$(HOST_DIR)/share/buildroot/toolchainfile.cmake \ + -DCMAKE_INSTALL_PREFIX=/usr\"\n" >> $(ENVIRONMENT_SETUP_FILE) + $(SED) 's%$(HOST_DIR)/bin/%%g' \ + -e 's%$(HOST_DIR)%\$$SDK_PATH%g' \ + -e '/^export "PATH=/c\' \ + $(ENVIRONMENT_SETUP_FILE) + printf "export \"PATH=\$$SDK_PATH/bin:\$$SDK_PATH/sbin:\$$PATH\"\n" \ + >> $(ENVIRONMENT_SETUP_FILE) + + $(if $(BR2_LINUX_KERNEL),\ + printf "export \"KERNELDIR=$(LINUX_BUILDDIR)\"\n" \ + >> $(ENVIRONMENT_SETUP_FILE),) +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/erlang-base64url/Config.in b/buildroot-2022.02.1/package/erlang-base64url/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-base64url/Config.in rename to buildroot-2022.02.1/package/erlang-base64url/Config.in diff --git a/buildroot-2021.05/package/erlang-base64url/erlang-base64url.hash b/buildroot-2022.02.1/package/erlang-base64url/erlang-base64url.hash similarity index 100% rename from buildroot-2021.05/package/erlang-base64url/erlang-base64url.hash rename to buildroot-2022.02.1/package/erlang-base64url/erlang-base64url.hash diff --git a/buildroot-2021.05/package/erlang-base64url/erlang-base64url.mk b/buildroot-2022.02.1/package/erlang-base64url/erlang-base64url.mk similarity index 100% rename from buildroot-2021.05/package/erlang-base64url/erlang-base64url.mk rename to buildroot-2022.02.1/package/erlang-base64url/erlang-base64url.mk diff --git a/buildroot-2021.05/package/erlang-eimp/Config.in b/buildroot-2022.02.1/package/erlang-eimp/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-eimp/Config.in rename to buildroot-2022.02.1/package/erlang-eimp/Config.in diff --git a/buildroot-2021.05/package/erlang-eimp/erlang-eimp.hash b/buildroot-2022.02.1/package/erlang-eimp/erlang-eimp.hash similarity index 100% rename from buildroot-2021.05/package/erlang-eimp/erlang-eimp.hash rename to buildroot-2022.02.1/package/erlang-eimp/erlang-eimp.hash diff --git a/buildroot-2021.05/package/erlang-eimp/erlang-eimp.mk b/buildroot-2022.02.1/package/erlang-eimp/erlang-eimp.mk similarity index 100% rename from buildroot-2021.05/package/erlang-eimp/erlang-eimp.mk rename to buildroot-2022.02.1/package/erlang-eimp/erlang-eimp.mk diff --git a/buildroot-2021.05/package/erlang-goldrush/Config.in b/buildroot-2022.02.1/package/erlang-goldrush/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-goldrush/Config.in rename to buildroot-2022.02.1/package/erlang-goldrush/Config.in diff --git a/buildroot-2021.05/package/erlang-goldrush/erlang-goldrush.hash b/buildroot-2022.02.1/package/erlang-goldrush/erlang-goldrush.hash similarity index 100% rename from buildroot-2021.05/package/erlang-goldrush/erlang-goldrush.hash rename to buildroot-2022.02.1/package/erlang-goldrush/erlang-goldrush.hash diff --git a/buildroot-2021.05/package/erlang-goldrush/erlang-goldrush.mk b/buildroot-2022.02.1/package/erlang-goldrush/erlang-goldrush.mk similarity index 100% rename from buildroot-2021.05/package/erlang-goldrush/erlang-goldrush.mk rename to buildroot-2022.02.1/package/erlang-goldrush/erlang-goldrush.mk diff --git a/buildroot-2021.05/package/erlang-idna/Config.in b/buildroot-2022.02.1/package/erlang-idna/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-idna/Config.in rename to buildroot-2022.02.1/package/erlang-idna/Config.in diff --git a/buildroot-2021.05/package/erlang-idna/erlang-idna.hash b/buildroot-2022.02.1/package/erlang-idna/erlang-idna.hash similarity index 100% rename from buildroot-2021.05/package/erlang-idna/erlang-idna.hash rename to buildroot-2022.02.1/package/erlang-idna/erlang-idna.hash diff --git a/buildroot-2021.05/package/erlang-idna/erlang-idna.mk b/buildroot-2022.02.1/package/erlang-idna/erlang-idna.mk similarity index 100% rename from buildroot-2021.05/package/erlang-idna/erlang-idna.mk rename to buildroot-2022.02.1/package/erlang-idna/erlang-idna.mk diff --git a/buildroot-2021.05/package/erlang-jiffy/Config.in b/buildroot-2022.02.1/package/erlang-jiffy/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-jiffy/Config.in rename to buildroot-2022.02.1/package/erlang-jiffy/Config.in diff --git a/buildroot-2022.02.1/package/erlang-jiffy/erlang-jiffy.hash b/buildroot-2022.02.1/package/erlang-jiffy/erlang-jiffy.hash new file mode 100644 index 00000000..93c5e1f8 --- /dev/null +++ b/buildroot-2022.02.1/package/erlang-jiffy/erlang-jiffy.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 45c224afe0ea2d3ece39e227f01f5585ad53b8b91d2d6924f9f50548874ae879 erlang-jiffy-1.0.9.tar.gz +sha256 0fa8afad2f02c08850a16e36fe55376ee19732b3a116a0207f2a73c857777a49 LICENSE diff --git a/buildroot-2022.02.1/package/erlang-jiffy/erlang-jiffy.mk b/buildroot-2022.02.1/package/erlang-jiffy/erlang-jiffy.mk new file mode 100644 index 00000000..cd946329 --- /dev/null +++ b/buildroot-2022.02.1/package/erlang-jiffy/erlang-jiffy.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# erlang-jiffy +# +################################################################################ + +ERLANG_JIFFY_VERSION = 1.0.9 +ERLANG_JIFFY_SITE = $(call github,davisp,jiffy,$(ERLANG_JIFFY_VERSION)) +ERLANG_JIFFY_LICENSE = MIT (core), \ + BSD-3-Clause (Google double conversion library), \ + BSD-3-Clause (tests) +ERLANG_JIFFY_LICENSE_FILES = LICENSE + +$(eval $(rebar-package)) diff --git a/buildroot-2021.05/package/erlang-jose/Config.in b/buildroot-2022.02.1/package/erlang-jose/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-jose/Config.in rename to buildroot-2022.02.1/package/erlang-jose/Config.in diff --git a/buildroot-2021.05/package/erlang-jose/erlang-jose.hash b/buildroot-2022.02.1/package/erlang-jose/erlang-jose.hash similarity index 100% rename from buildroot-2021.05/package/erlang-jose/erlang-jose.hash rename to buildroot-2022.02.1/package/erlang-jose/erlang-jose.hash diff --git a/buildroot-2021.05/package/erlang-jose/erlang-jose.mk b/buildroot-2022.02.1/package/erlang-jose/erlang-jose.mk similarity index 100% rename from buildroot-2021.05/package/erlang-jose/erlang-jose.mk rename to buildroot-2022.02.1/package/erlang-jose/erlang-jose.mk diff --git a/buildroot-2021.05/package/erlang-lager/Config.in b/buildroot-2022.02.1/package/erlang-lager/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-lager/Config.in rename to buildroot-2022.02.1/package/erlang-lager/Config.in diff --git a/buildroot-2021.05/package/erlang-lager/erlang-lager.hash b/buildroot-2022.02.1/package/erlang-lager/erlang-lager.hash similarity index 100% rename from buildroot-2021.05/package/erlang-lager/erlang-lager.hash rename to buildroot-2022.02.1/package/erlang-lager/erlang-lager.hash diff --git a/buildroot-2021.05/package/erlang-lager/erlang-lager.mk b/buildroot-2022.02.1/package/erlang-lager/erlang-lager.mk similarity index 100% rename from buildroot-2021.05/package/erlang-lager/erlang-lager.mk rename to buildroot-2022.02.1/package/erlang-lager/erlang-lager.mk diff --git a/buildroot-2021.05/package/erlang-p1-acme/0001-rebar.config.script-remove-extra-dependency-to-base6.patch b/buildroot-2022.02.1/package/erlang-p1-acme/0001-rebar.config.script-remove-extra-dependency-to-base6.patch similarity index 100% rename from buildroot-2021.05/package/erlang-p1-acme/0001-rebar.config.script-remove-extra-dependency-to-base6.patch rename to buildroot-2022.02.1/package/erlang-p1-acme/0001-rebar.config.script-remove-extra-dependency-to-base6.patch diff --git a/buildroot-2021.05/package/erlang-p1-acme/Config.in b/buildroot-2022.02.1/package/erlang-p1-acme/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-acme/Config.in rename to buildroot-2022.02.1/package/erlang-p1-acme/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-acme/erlang-p1-acme.hash b/buildroot-2022.02.1/package/erlang-p1-acme/erlang-p1-acme.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-acme/erlang-p1-acme.hash rename to buildroot-2022.02.1/package/erlang-p1-acme/erlang-p1-acme.hash diff --git a/buildroot-2021.05/package/erlang-p1-acme/erlang-p1-acme.mk b/buildroot-2022.02.1/package/erlang-p1-acme/erlang-p1-acme.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-acme/erlang-p1-acme.mk rename to buildroot-2022.02.1/package/erlang-p1-acme/erlang-p1-acme.mk diff --git a/buildroot-2021.05/package/erlang-p1-cache-tab/Config.in b/buildroot-2022.02.1/package/erlang-p1-cache-tab/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-cache-tab/Config.in rename to buildroot-2022.02.1/package/erlang-p1-cache-tab/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-cache-tab/erlang-p1-cache-tab.hash b/buildroot-2022.02.1/package/erlang-p1-cache-tab/erlang-p1-cache-tab.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-cache-tab/erlang-p1-cache-tab.hash rename to buildroot-2022.02.1/package/erlang-p1-cache-tab/erlang-p1-cache-tab.hash diff --git a/buildroot-2021.05/package/erlang-p1-cache-tab/erlang-p1-cache-tab.mk b/buildroot-2022.02.1/package/erlang-p1-cache-tab/erlang-p1-cache-tab.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-cache-tab/erlang-p1-cache-tab.mk rename to buildroot-2022.02.1/package/erlang-p1-cache-tab/erlang-p1-cache-tab.mk diff --git a/buildroot-2021.05/package/erlang-p1-mqtree/Config.in b/buildroot-2022.02.1/package/erlang-p1-mqtree/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-mqtree/Config.in rename to buildroot-2022.02.1/package/erlang-p1-mqtree/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-mqtree/erlang-p1-mqtree.hash b/buildroot-2022.02.1/package/erlang-p1-mqtree/erlang-p1-mqtree.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-mqtree/erlang-p1-mqtree.hash rename to buildroot-2022.02.1/package/erlang-p1-mqtree/erlang-p1-mqtree.hash diff --git a/buildroot-2021.05/package/erlang-p1-mqtree/erlang-p1-mqtree.mk b/buildroot-2022.02.1/package/erlang-p1-mqtree/erlang-p1-mqtree.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-mqtree/erlang-p1-mqtree.mk rename to buildroot-2022.02.1/package/erlang-p1-mqtree/erlang-p1-mqtree.mk diff --git a/buildroot-2021.05/package/erlang-p1-oauth2/Config.in b/buildroot-2022.02.1/package/erlang-p1-oauth2/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-oauth2/Config.in rename to buildroot-2022.02.1/package/erlang-p1-oauth2/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-oauth2/erlang-p1-oauth2.hash b/buildroot-2022.02.1/package/erlang-p1-oauth2/erlang-p1-oauth2.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-oauth2/erlang-p1-oauth2.hash rename to buildroot-2022.02.1/package/erlang-p1-oauth2/erlang-p1-oauth2.hash diff --git a/buildroot-2021.05/package/erlang-p1-oauth2/erlang-p1-oauth2.mk b/buildroot-2022.02.1/package/erlang-p1-oauth2/erlang-p1-oauth2.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-oauth2/erlang-p1-oauth2.mk rename to buildroot-2022.02.1/package/erlang-p1-oauth2/erlang-p1-oauth2.mk diff --git a/buildroot-2021.05/package/erlang-p1-pkix/Config.in b/buildroot-2022.02.1/package/erlang-p1-pkix/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-pkix/Config.in rename to buildroot-2022.02.1/package/erlang-p1-pkix/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-pkix/erlang-p1-pkix.hash b/buildroot-2022.02.1/package/erlang-p1-pkix/erlang-p1-pkix.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-pkix/erlang-p1-pkix.hash rename to buildroot-2022.02.1/package/erlang-p1-pkix/erlang-p1-pkix.hash diff --git a/buildroot-2021.05/package/erlang-p1-pkix/erlang-p1-pkix.mk b/buildroot-2022.02.1/package/erlang-p1-pkix/erlang-p1-pkix.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-pkix/erlang-p1-pkix.mk rename to buildroot-2022.02.1/package/erlang-p1-pkix/erlang-p1-pkix.mk diff --git a/buildroot-2021.05/package/erlang-p1-sip/0001-correct-include.patch b/buildroot-2022.02.1/package/erlang-p1-sip/0001-correct-include.patch similarity index 100% rename from buildroot-2021.05/package/erlang-p1-sip/0001-correct-include.patch rename to buildroot-2022.02.1/package/erlang-p1-sip/0001-correct-include.patch diff --git a/buildroot-2021.05/package/erlang-p1-sip/Config.in b/buildroot-2022.02.1/package/erlang-p1-sip/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-sip/Config.in rename to buildroot-2022.02.1/package/erlang-p1-sip/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-sip/erlang-p1-sip.hash b/buildroot-2022.02.1/package/erlang-p1-sip/erlang-p1-sip.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-sip/erlang-p1-sip.hash rename to buildroot-2022.02.1/package/erlang-p1-sip/erlang-p1-sip.hash diff --git a/buildroot-2021.05/package/erlang-p1-sip/erlang-p1-sip.mk b/buildroot-2022.02.1/package/erlang-p1-sip/erlang-p1-sip.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-sip/erlang-p1-sip.mk rename to buildroot-2022.02.1/package/erlang-p1-sip/erlang-p1-sip.mk diff --git a/buildroot-2021.05/package/erlang-p1-stringprep/Config.in b/buildroot-2022.02.1/package/erlang-p1-stringprep/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-stringprep/Config.in rename to buildroot-2022.02.1/package/erlang-p1-stringprep/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-stringprep/erlang-p1-stringprep.hash b/buildroot-2022.02.1/package/erlang-p1-stringprep/erlang-p1-stringprep.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-stringprep/erlang-p1-stringprep.hash rename to buildroot-2022.02.1/package/erlang-p1-stringprep/erlang-p1-stringprep.hash diff --git a/buildroot-2021.05/package/erlang-p1-stringprep/erlang-p1-stringprep.mk b/buildroot-2022.02.1/package/erlang-p1-stringprep/erlang-p1-stringprep.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-stringprep/erlang-p1-stringprep.mk rename to buildroot-2022.02.1/package/erlang-p1-stringprep/erlang-p1-stringprep.mk diff --git a/buildroot-2021.05/package/erlang-p1-stun/Config.in b/buildroot-2022.02.1/package/erlang-p1-stun/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-stun/Config.in rename to buildroot-2022.02.1/package/erlang-p1-stun/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-stun/erlang-p1-stun.hash b/buildroot-2022.02.1/package/erlang-p1-stun/erlang-p1-stun.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-stun/erlang-p1-stun.hash rename to buildroot-2022.02.1/package/erlang-p1-stun/erlang-p1-stun.hash diff --git a/buildroot-2021.05/package/erlang-p1-stun/erlang-p1-stun.mk b/buildroot-2022.02.1/package/erlang-p1-stun/erlang-p1-stun.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-stun/erlang-p1-stun.mk rename to buildroot-2022.02.1/package/erlang-p1-stun/erlang-p1-stun.mk diff --git a/buildroot-2021.05/package/erlang-p1-tls/Config.in b/buildroot-2022.02.1/package/erlang-p1-tls/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-tls/Config.in rename to buildroot-2022.02.1/package/erlang-p1-tls/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-tls/erlang-p1-tls.hash b/buildroot-2022.02.1/package/erlang-p1-tls/erlang-p1-tls.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-tls/erlang-p1-tls.hash rename to buildroot-2022.02.1/package/erlang-p1-tls/erlang-p1-tls.hash diff --git a/buildroot-2021.05/package/erlang-p1-tls/erlang-p1-tls.mk b/buildroot-2022.02.1/package/erlang-p1-tls/erlang-p1-tls.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-tls/erlang-p1-tls.mk rename to buildroot-2022.02.1/package/erlang-p1-tls/erlang-p1-tls.mk diff --git a/buildroot-2021.05/package/erlang-p1-utils/Config.in b/buildroot-2022.02.1/package/erlang-p1-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-utils/Config.in rename to buildroot-2022.02.1/package/erlang-p1-utils/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-utils/erlang-p1-utils.hash b/buildroot-2022.02.1/package/erlang-p1-utils/erlang-p1-utils.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-utils/erlang-p1-utils.hash rename to buildroot-2022.02.1/package/erlang-p1-utils/erlang-p1-utils.hash diff --git a/buildroot-2021.05/package/erlang-p1-utils/erlang-p1-utils.mk b/buildroot-2022.02.1/package/erlang-p1-utils/erlang-p1-utils.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-utils/erlang-p1-utils.mk rename to buildroot-2022.02.1/package/erlang-p1-utils/erlang-p1-utils.mk diff --git a/buildroot-2021.05/package/erlang-p1-xml/Config.in b/buildroot-2022.02.1/package/erlang-p1-xml/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-xml/Config.in rename to buildroot-2022.02.1/package/erlang-p1-xml/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-xml/erlang-p1-xml.hash b/buildroot-2022.02.1/package/erlang-p1-xml/erlang-p1-xml.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-xml/erlang-p1-xml.hash rename to buildroot-2022.02.1/package/erlang-p1-xml/erlang-p1-xml.hash diff --git a/buildroot-2021.05/package/erlang-p1-xml/erlang-p1-xml.mk b/buildroot-2022.02.1/package/erlang-p1-xml/erlang-p1-xml.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-xml/erlang-p1-xml.mk rename to buildroot-2022.02.1/package/erlang-p1-xml/erlang-p1-xml.mk diff --git a/buildroot-2021.05/package/erlang-p1-xmpp/0001-fix-includes.patch b/buildroot-2022.02.1/package/erlang-p1-xmpp/0001-fix-includes.patch similarity index 100% rename from buildroot-2021.05/package/erlang-p1-xmpp/0001-fix-includes.patch rename to buildroot-2022.02.1/package/erlang-p1-xmpp/0001-fix-includes.patch diff --git a/buildroot-2021.05/package/erlang-p1-xmpp/Config.in b/buildroot-2022.02.1/package/erlang-p1-xmpp/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-xmpp/Config.in rename to buildroot-2022.02.1/package/erlang-p1-xmpp/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-xmpp/erlang-p1-xmpp.hash b/buildroot-2022.02.1/package/erlang-p1-xmpp/erlang-p1-xmpp.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-xmpp/erlang-p1-xmpp.hash rename to buildroot-2022.02.1/package/erlang-p1-xmpp/erlang-p1-xmpp.hash diff --git a/buildroot-2021.05/package/erlang-p1-xmpp/erlang-p1-xmpp.mk b/buildroot-2022.02.1/package/erlang-p1-xmpp/erlang-p1-xmpp.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-xmpp/erlang-p1-xmpp.mk rename to buildroot-2022.02.1/package/erlang-p1-xmpp/erlang-p1-xmpp.mk diff --git a/buildroot-2021.05/package/erlang-p1-yaml/Config.in b/buildroot-2022.02.1/package/erlang-p1-yaml/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-yaml/Config.in rename to buildroot-2022.02.1/package/erlang-p1-yaml/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-yaml/erlang-p1-yaml.hash b/buildroot-2022.02.1/package/erlang-p1-yaml/erlang-p1-yaml.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-yaml/erlang-p1-yaml.hash rename to buildroot-2022.02.1/package/erlang-p1-yaml/erlang-p1-yaml.hash diff --git a/buildroot-2021.05/package/erlang-p1-yaml/erlang-p1-yaml.mk b/buildroot-2022.02.1/package/erlang-p1-yaml/erlang-p1-yaml.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-yaml/erlang-p1-yaml.mk rename to buildroot-2022.02.1/package/erlang-p1-yaml/erlang-p1-yaml.mk diff --git a/buildroot-2021.05/package/erlang-p1-yconf/Config.in b/buildroot-2022.02.1/package/erlang-p1-yconf/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-yconf/Config.in rename to buildroot-2022.02.1/package/erlang-p1-yconf/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-yconf/erlang-p1-yconf.hash b/buildroot-2022.02.1/package/erlang-p1-yconf/erlang-p1-yconf.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-yconf/erlang-p1-yconf.hash rename to buildroot-2022.02.1/package/erlang-p1-yconf/erlang-p1-yconf.hash diff --git a/buildroot-2021.05/package/erlang-p1-yconf/erlang-p1-yconf.mk b/buildroot-2022.02.1/package/erlang-p1-yconf/erlang-p1-yconf.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-yconf/erlang-p1-yconf.mk rename to buildroot-2022.02.1/package/erlang-p1-yconf/erlang-p1-yconf.mk diff --git a/buildroot-2021.05/package/erlang-p1-zlib/Config.in b/buildroot-2022.02.1/package/erlang-p1-zlib/Config.in similarity index 100% rename from buildroot-2021.05/package/erlang-p1-zlib/Config.in rename to buildroot-2022.02.1/package/erlang-p1-zlib/Config.in diff --git a/buildroot-2021.05/package/erlang-p1-zlib/erlang-p1-zlib.hash b/buildroot-2022.02.1/package/erlang-p1-zlib/erlang-p1-zlib.hash similarity index 100% rename from buildroot-2021.05/package/erlang-p1-zlib/erlang-p1-zlib.hash rename to buildroot-2022.02.1/package/erlang-p1-zlib/erlang-p1-zlib.hash diff --git a/buildroot-2021.05/package/erlang-p1-zlib/erlang-p1-zlib.mk b/buildroot-2022.02.1/package/erlang-p1-zlib/erlang-p1-zlib.mk similarity index 100% rename from buildroot-2021.05/package/erlang-p1-zlib/erlang-p1-zlib.mk rename to buildroot-2022.02.1/package/erlang-p1-zlib/erlang-p1-zlib.mk diff --git a/buildroot-2022.02.1/package/erlang-rebar/0001-src-rebar_port_compiler-add-fPIC-to-LDFLAGS-by-defau.patch b/buildroot-2022.02.1/package/erlang-rebar/0001-src-rebar_port_compiler-add-fPIC-to-LDFLAGS-by-defau.patch new file mode 100644 index 00000000..a9c1670a --- /dev/null +++ b/buildroot-2022.02.1/package/erlang-rebar/0001-src-rebar_port_compiler-add-fPIC-to-LDFLAGS-by-defau.patch @@ -0,0 +1,35 @@ +From 7f54d48ee5db037778ead310e0b8278f3fe70b41 Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Sun, 19 Dec 2021 07:52:55 +0100 +Subject: [PATCH] src/rebar_port_compiler: add -fPIC to LDFLAGS by default + +Since both DRV_CFLAGS and EXE_CFLAGS list -fPIC we need also the LDFLAGS +to follow them. Unfortunately adding -fPIC only to DRV_LDFLAGS and +EXE_LDFLAGS is not sufficient, since when linking as a library(.so) it +doesn't take into account those variables. Since -fPIC is needed by default +by any kind of linking, let's add it to the general -fPIC. Rebar seems to +link libraries without taking into account any variable listed in: +src/rebar_port_compiler.erl +this after testing and tracing for every variable. + +Signed-off-by: Giulio Benetti +--- + src/rebar_port_compiler.erl | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl +index 9679c80..bd08b21 100644 +--- a/src/rebar_port_compiler.erl ++++ b/src/rebar_port_compiler.erl +@@ -645,6 +645,8 @@ default_env() -> + {"OBJCOPY", get_tool(Arch, "objcopy", "objcopy")}, + {"OBJDUMP", get_tool(Arch, "objdump", "objdump")}, + ++ {"LDFLAGS", "-fPIC $LDFLAGS"}, ++ + {"DRV_CXX_TEMPLATE", + "$CXX -c $CXXFLAGS $DRV_CFLAGS $PORT_IN_FILES -o $PORT_OUT_FILE"}, + {"DRV_CC_TEMPLATE", +-- +2.25.1 + diff --git a/buildroot-2021.05/package/erlang-rebar/erlang-rebar.hash b/buildroot-2022.02.1/package/erlang-rebar/erlang-rebar.hash similarity index 100% rename from buildroot-2021.05/package/erlang-rebar/erlang-rebar.hash rename to buildroot-2022.02.1/package/erlang-rebar/erlang-rebar.hash diff --git a/buildroot-2021.05/package/erlang-rebar/erlang-rebar.mk b/buildroot-2022.02.1/package/erlang-rebar/erlang-rebar.mk similarity index 100% rename from buildroot-2021.05/package/erlang-rebar/erlang-rebar.mk rename to buildroot-2022.02.1/package/erlang-rebar/erlang-rebar.mk diff --git a/buildroot-2021.05/package/erlang/0001-erts-ethread-instruct-libatomic_ops-we-do-require-CA.patch b/buildroot-2022.02.1/package/erlang/0001-erts-ethread-instruct-libatomic_ops-we-do-require-CA.patch similarity index 100% rename from buildroot-2021.05/package/erlang/0001-erts-ethread-instruct-libatomic_ops-we-do-require-CA.patch rename to buildroot-2022.02.1/package/erlang/0001-erts-ethread-instruct-libatomic_ops-we-do-require-CA.patch diff --git a/buildroot-2021.05/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch b/buildroot-2022.02.1/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch similarity index 100% rename from buildroot-2021.05/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch rename to buildroot-2022.02.1/package/erlang/0002-erts-emulator-reorder-inclued-headers-paths.patch diff --git a/buildroot-2022.02.1/package/erlang/Config.in b/buildroot-2022.02.1/package/erlang/Config.in new file mode 100644 index 00000000..15931b58 --- /dev/null +++ b/buildroot-2022.02.1/package/erlang/Config.in @@ -0,0 +1,49 @@ +config BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "x86" + +config BR2_PACKAGE_ERLANG_ARCH_SUPPORTS + bool + # see HOWTO/INSTALL.md for Erlang's supported platforms + # when using its native atomic ops implementation or gcc's + # __atomic_* builtins + default y if BR2_i386 || BR2_x86_64 || BR2_powerpc || \ + BR2_sparc_v9 || BR2_arm || BR2_aarch64 || BR2_mipsel || \ + BR2_RISCV_64 + # erlang needs host-erlang + depends on BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS + +comment "erlang needs a toolchain w/ dynamic library, threads" + depends on BR2_USE_MMU # fork() + depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_ERLANG + bool "erlang" + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_ERLANG_ARCH_SUPPORTS + select BR2_PACKAGE_ZLIB + help + Erlang is a programming language used to build massively + scalable soft real-time systems with requirements on high + availability. Some of its uses are in telecoms, banking, + e-commerce, computer telephony and instant messaging. + Erlang's runtime system has built-in support for + concurrency, distribution and fault tolerance. + + http://www.erlang.org + +if BR2_PACKAGE_ERLANG + +config BR2_PACKAGE_ERLANG_MEGACO + bool "install megaco application" + help + The Megaco application is a framework for building + applications on top of the Megaco/H.248 protocol. It is + approximately 14MB in size so if you do not need it then + it is recommended not to enable it. + +endif # BR2_PACKAGE_ERLANG diff --git a/buildroot-2022.02.1/package/erlang/erlang.hash b/buildroot-2022.02.1/package/erlang/erlang.hash new file mode 100644 index 00000000..338545a0 --- /dev/null +++ b/buildroot-2022.02.1/package/erlang/erlang.hash @@ -0,0 +1,5 @@ +# From https://github.com/erlang/otp/releases/download/OTP-22.3.4.22/SHA256.txt +sha256 e7f0793e62f8da4f7551dc9c1c0de76c40f19773ba516121fc56315c840f60cc otp_src_22.3.4.22.tar.gz + +# Hash for license file +sha256 809fa1ed21450f59827d1e9aec720bbc4b687434fa22283c6cb5dd82a47ab9c0 LICENSE.txt diff --git a/buildroot-2022.02.1/package/erlang/erlang.mk b/buildroot-2022.02.1/package/erlang/erlang.mk new file mode 100644 index 00000000..ac2c204a --- /dev/null +++ b/buildroot-2022.02.1/package/erlang/erlang.mk @@ -0,0 +1,115 @@ +################################################################################ +# +# erlang +# +################################################################################ + +# See note below when updating Erlang +ERLANG_VERSION = 22.3.4.22 +ERLANG_SITE = \ + https://github.com/erlang/otp/releases/download/OTP-$(ERLANG_VERSION) +ERLANG_SOURCE = otp_src_$(ERLANG_VERSION).tar.gz +ERLANG_DEPENDENCIES = host-erlang + +ERLANG_LICENSE = Apache-2.0 +ERLANG_LICENSE_FILES = LICENSE.txt +ERLANG_CPE_ID_VENDOR = erlang +ERLANG_CPE_ID_PRODUCT = erlang\/otp +ERLANG_INSTALL_STAGING = YES + +# windows specific issue: https://nvd.nist.gov/vuln/detail/CVE-2021-29221 +ERLANG_IGNORE_CVES += CVE-2021-29221 + +# Remove the leftover deps directory from the ssl app +# See https://bugs.erlang.org/browse/ERL-1168 +define ERLANG_REMOVE_SSL_DEPS + rm -rf $(@D)/lib/ssl/src/deps +endef +ERLANG_POST_PATCH_HOOKS += ERLANG_REMOVE_SSL_DEPS + +# Patched erts/aclocal.m4 +define ERLANG_RUN_AUTOCONF + cd $(@D) && PATH=$(BR_PATH) ./otp_build autoconf +endef +ERLANG_DEPENDENCIES += host-autoconf +ERLANG_PRE_CONFIGURE_HOOKS += ERLANG_RUN_AUTOCONF +HOST_ERLANG_DEPENDENCIES += host-autoconf +HOST_ERLANG_PRE_CONFIGURE_HOOKS += ERLANG_RUN_AUTOCONF + +# Whenever updating Erlang, this value should be updated as well, to the +# value of EI_VSN in the file lib/erl_interface/vsn.mk +ERLANG_EI_VSN = 3.13.2.2 + +# The configure checks for these functions fail incorrectly +ERLANG_CONF_ENV = ac_cv_func_isnan=yes ac_cv_func_isinf=yes + +# Set erl_xcomp variables. See xcomp/erl-xcomp.conf.template +# for documentation. +ERLANG_CONF_ENV += erl_xcomp_sysroot=$(STAGING_DIR) + +ERLANG_CONF_OPTS = --without-javac + +# Force ERL_TOP to the downloaded source directory. This prevents +# Erlang's configure script from inadvertantly using files from +# a version of Erlang installed on the host. +ERLANG_CONF_ENV += ERL_TOP=$(@D) +HOST_ERLANG_CONF_ENV += ERL_TOP=$(@D) + +# erlang uses openssl for all things crypto. Since the host tools (such as +# rebar) uses crypto, we need to build host-erlang with support for openssl. +HOST_ERLANG_DEPENDENCIES += host-openssl +HOST_ERLANG_CONF_OPTS = --without-javac --with-ssl=$(HOST_DIR) + +HOST_ERLANG_CONF_OPTS += --without-termcap + +ifeq ($(BR2_PACKAGE_NCURSES),y) +ERLANG_CONF_OPTS += --with-termcap +ERLANG_DEPENDENCIES += ncurses +else +ERLANG_CONF_OPTS += --without-termcap +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ERLANG_CONF_OPTS += --with-ssl +ERLANG_DEPENDENCIES += openssl +else +ERLANG_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_UNIXODBC),y) +ERLANG_DEPENDENCIES += unixodbc +ERLANG_CONF_OPTS += --with-odbc +else +ERLANG_CONF_OPTS += --without-odbc +endif + +# Always use Buildroot's zlib +ERLANG_CONF_OPTS += --disable-builtin-zlib +ERLANG_DEPENDENCIES += zlib + +# Remove source, example, gs and wx files from staging and target. +ERLANG_REMOVE_PACKAGES = gs wx + +ifneq ($(BR2_PACKAGE_ERLANG_MEGACO),y) +ERLANG_REMOVE_PACKAGES += megaco +endif + +define ERLANG_REMOVE_STAGING_UNUSED + for package in $(ERLANG_REMOVE_PACKAGES); do \ + rm -rf $(STAGING_DIR)/usr/lib/erlang/lib/$${package}-*; \ + done +endef + +define ERLANG_REMOVE_TARGET_UNUSED + find $(TARGET_DIR)/usr/lib/erlang -type d -name src -prune -exec rm -rf {} \; + find $(TARGET_DIR)/usr/lib/erlang -type d -name examples -prune -exec rm -rf {} \; + for package in $(ERLANG_REMOVE_PACKAGES); do \ + rm -rf $(TARGET_DIR)/usr/lib/erlang/lib/$${package}-*; \ + done +endef + +ERLANG_POST_INSTALL_STAGING_HOOKS += ERLANG_REMOVE_STAGING_UNUSED +ERLANG_POST_INSTALL_TARGET_HOOKS += ERLANG_REMOVE_TARGET_UNUSED + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/erofs-utils/0001-erofs-utils-manpage-only-install-erofsfuse.1-with-th.patch b/buildroot-2022.02.1/package/erofs-utils/0001-erofs-utils-manpage-only-install-erofsfuse.1-with-th.patch new file mode 100644 index 00000000..0aa99d53 --- /dev/null +++ b/buildroot-2022.02.1/package/erofs-utils/0001-erofs-utils-manpage-only-install-erofsfuse.1-with-th.patch @@ -0,0 +1,32 @@ +From 7ab34000c672adca90388a8fcb1f70a7d391d35c Mon Sep 17 00:00:00 2001 +From: David Michael +Date: Thu, 3 Jun 2021 16:18:57 -0400 +Subject: [PATCH] erofs-utils: manpage: only install erofsfuse.1 with the + command + +Link: https://lore.kernel.org/r/87lf7q3dn2.fsf@gmail.com +Reviewed-by: Gao Xiang +Signed-off-by: David Michael +Signed-off-by: Gao Xiang +--- + man/Makefile.am | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/man/Makefile.am b/man/Makefile.am +index ffcf6f81c255..0df947b6fbf7 100644 +--- a/man/Makefile.am ++++ b/man/Makefile.am +@@ -1,5 +1,9 @@ + # SPDX-License-Identifier: GPL-2.0+ + # Makefile.am + +-dist_man_MANS = mkfs.erofs.1 erofsfuse.1 ++dist_man_MANS = mkfs.erofs.1 + ++EXTRA_DIST = erofsfuse.1 ++if ENABLE_FUSE ++man_MANS = erofsfuse.1 ++endif +-- +2.20.1 + diff --git a/buildroot-2021.05/package/erofs-utils/Config.in b/buildroot-2022.02.1/package/erofs-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/erofs-utils/Config.in rename to buildroot-2022.02.1/package/erofs-utils/Config.in diff --git a/buildroot-2021.05/package/erofs-utils/Config.in.host b/buildroot-2022.02.1/package/erofs-utils/Config.in.host similarity index 100% rename from buildroot-2021.05/package/erofs-utils/Config.in.host rename to buildroot-2022.02.1/package/erofs-utils/Config.in.host diff --git a/buildroot-2022.02.1/package/erofs-utils/erofs-utils.hash b/buildroot-2022.02.1/package/erofs-utils/erofs-utils.hash new file mode 100644 index 00000000..8bbb0885 --- /dev/null +++ b/buildroot-2022.02.1/package/erofs-utils/erofs-utils.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 132635740039bbe76d743aea72378bfae30dbf034e123929f5d794198d4c0b12 erofs-utils-1.3.tar.gz +sha256 feee3b3157dcdf78d4f50edefbd5dd7adf8b6d52c11bfaaa746a85a373256713 COPYING diff --git a/buildroot-2022.02.1/package/erofs-utils/erofs-utils.mk b/buildroot-2022.02.1/package/erofs-utils/erofs-utils.mk new file mode 100644 index 00000000..e35470b0 --- /dev/null +++ b/buildroot-2022.02.1/package/erofs-utils/erofs-utils.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# erofs-utils +# +################################################################################ + +EROFS_UTILS_VERSION = 1.3 +EROFS_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/snapshot +EROFS_UTILS_LICENSE = GPL-2.0+ +EROFS_UTILS_LICENSE_FILES = COPYING + +# From a git tree: no generated autotools files +EROFS_UTILS_AUTORECONF = YES + +EROFS_UTILS_DEPENDENCIES = host-pkgconf util-linux + +ifeq ($(BR2_PACKAGE_EROFS_UTILS_LZ4),y) +EROFS_UTILS_DEPENDENCIES += lz4 +EROFS_UTILS_CONF_OPTS += --enable-lz4 +else +EROFS_UTILS_CONF_OPTS += --disable-lz4 +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +EROFS_UTILS_CONF_OPTS += --with-selinux +EROFS_UTILS_DEPENDENCIES += libselinux +else +EROFS_UTILS_CONF_OPTS += --without-selinux +endif + +ifeq ($(BR2_PACKAGE_EROFS_UTILS_EROFSFUSE),y) +EROFS_UTILS_CONF_OPTS += --enable-fuse +EROFS_UTILS_DEPENDENCIES += libfuse +else +EROFS_UTILS_CONF_OPTS += --disable-fuse +endif + +HOST_EROFS_UTILS_DEPENDENCIES = host-pkgconf host-util-linux host-lz4 +HOST_EROFS_UTILS_CONF_OPTS += --enable-lz4 --disable-fuse --without-selinux + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/espeak/0001-Fix-build-of-shared-library-on-architectures-needing.patch b/buildroot-2022.02.1/package/espeak/0001-Fix-build-of-shared-library-on-architectures-needing.patch similarity index 100% rename from buildroot-2021.05/package/espeak/0001-Fix-build-of-shared-library-on-architectures-needing.patch rename to buildroot-2022.02.1/package/espeak/0001-Fix-build-of-shared-library-on-architectures-needing.patch diff --git a/buildroot-2022.02.1/package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch b/buildroot-2022.02.1/package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch new file mode 100644 index 00000000..2391fc8c --- /dev/null +++ b/buildroot-2022.02.1/package/espeak/0002-tr_languages-cast-string_ordinal-init-values.patch @@ -0,0 +1,33 @@ +From 451330d09a6a3500b40bc4f5896ba790ab46cd6c Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Sun, 15 Jan 2017 19:37:31 +0100 +Subject: [PATCH] tr_languages: cast string_ordinal init values + +On some architecture, "char" is signed (x86_64, nios2...) so the +compiler try to convert int 0xc2 and 0xba to a signed char. +This is an error since gcc6 (Wnarrowing). + +Fixes: +http://autobuild.buildroot.net/results/bae/baef9888b1979d18171668a675985e3f3b45fda6 + +Signed-off-by: Romain Naour +--- + src/tr_languages.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp +index 5c80286..dbc6e36 100644 +--- a/src/tr_languages.cpp ++++ b/src/tr_languages.cpp +@@ -200,7 +200,7 @@ static const unsigned short chars_ignore_zwnj_hyphen[] = { + 0x200d, 1, // zero width joiner + 0, 0 }; + +-const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8 ++const char string_ordinal[] = {(char)0xc2,(char)0xba,0}; // masculine ordinal character, UTF-8 + + + static Translator* NewTranslator(void) +-- +2.9.3 + diff --git a/buildroot-2021.05/package/espeak/Config.in b/buildroot-2022.02.1/package/espeak/Config.in similarity index 100% rename from buildroot-2021.05/package/espeak/Config.in rename to buildroot-2022.02.1/package/espeak/Config.in diff --git a/buildroot-2021.05/package/espeak/espeak.hash b/buildroot-2022.02.1/package/espeak/espeak.hash similarity index 100% rename from buildroot-2021.05/package/espeak/espeak.hash rename to buildroot-2022.02.1/package/espeak/espeak.hash diff --git a/buildroot-2022.02.1/package/espeak/espeak.mk b/buildroot-2022.02.1/package/espeak/espeak.mk new file mode 100644 index 00000000..d592673a --- /dev/null +++ b/buildroot-2022.02.1/package/espeak/espeak.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# espeak +# +################################################################################ + +ESPEAK_VERSION_MAJOR = 1.48 +ESPEAK_VERSION = $(ESPEAK_VERSION_MAJOR).04 +ESPEAK_SOURCE = espeak-$(ESPEAK_VERSION)-source.zip +ESPEAK_SITE = http://downloads.sourceforge.net/project/espeak/espeak/espeak-$(ESPEAK_VERSION_MAJOR) +ESPEAK_LICENSE = GPL-3.0+ +ESPEAK_LICENSE_FILES = License.txt + +ifeq ($(BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA),y) +ESPEAK_AUDIO_BACKEND = portaudio +ESPEAK_DEPENDENCIES += portaudio +endif +ifeq ($(BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO),y) +ESPEAK_AUDIO_BACKEND = pulseaudio +ESPEAK_DEPENDENCIES += pulseaudio +endif + +define ESPEAK_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(ESPEAK_DL_DIR)/$(ESPEAK_SOURCE) + mv $(@D)/espeak-$(ESPEAK_VERSION)-source/* $(@D) + $(RM) -r $(@D)/espeak-$(ESPEAK_VERSION)-source +endef + +define ESPEAK_CONFIGURE_CMDS + # Buildroot provides portaudio V19, see ReadMe file for more details. + cp $(@D)/src/portaudio19.h $(@D)/src/portaudio.h +endef + +define ESPEAK_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) \ + AUDIO="$(ESPEAK_AUDIO_BACKEND)" all +endef + +define ESPEAK_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ethtool/Config.in b/buildroot-2022.02.1/package/ethtool/Config.in similarity index 100% rename from buildroot-2021.05/package/ethtool/Config.in rename to buildroot-2022.02.1/package/ethtool/Config.in diff --git a/buildroot-2022.02.1/package/ethtool/ethtool.hash b/buildroot-2022.02.1/package/ethtool/ethtool.hash new file mode 100644 index 00000000..59c657e8 --- /dev/null +++ b/buildroot-2022.02.1/package/ethtool/ethtool.hash @@ -0,0 +1,5 @@ +# From https://www.kernel.org/pub/software/network/ethtool/sha256sums.asc +sha256 686fd6110389d49c2a120f00c3cd5dfe43debada8e021e4270d74bbe452a116d ethtool-5.15.tar.xz +# Locally calculated +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 5d632934396f90c82dfebe3c9512648bbb6333b406113d0cd331b0e0aa2d34a1 LICENSE diff --git a/buildroot-2022.02.1/package/ethtool/ethtool.mk b/buildroot-2022.02.1/package/ethtool/ethtool.mk new file mode 100644 index 00000000..c4bb9bdd --- /dev/null +++ b/buildroot-2022.02.1/package/ethtool/ethtool.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# ethtool +# +################################################################################ + +ETHTOOL_VERSION = 5.15 +ETHTOOL_SOURCE = ethtool-$(ETHTOOL_VERSION).tar.xz +ETHTOOL_SITE = $(BR2_KERNEL_MIRROR)/software/network/ethtool +ETHTOOL_LICENSE = GPL-2.0 +ETHTOOL_LICENSE_FILES = LICENSE COPYING +ETHTOOL_CPE_ID_VENDOR = kernel +ETHTOOL_CONF_OPTS = \ + $(if $(BR2_PACKAGE_ETHTOOL_PRETTY_PRINT),--enable-pretty-dump,--disable-pretty-dump) + +ifeq ($(BR2_PACKAGE_LIBMNL),y) +ETHTOOL_DEPENDENCIES += host-pkgconf libmnl +ETHTOOL_CONF_OPTS += --enable-netlink +else +ETHTOOL_CONF_OPTS += --disable-netlink +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/eudev/0001-Only-use-pragma-for-ignoring-diagnostics-if-.patch b/buildroot-2022.02.1/package/eudev/0001-Only-use-pragma-for-ignoring-diagnostics-if-.patch similarity index 100% rename from buildroot-2021.05/package/eudev/0001-Only-use-pragma-for-ignoring-diagnostics-if-.patch rename to buildroot-2022.02.1/package/eudev/0001-Only-use-pragma-for-ignoring-diagnostics-if-.patch diff --git a/buildroot-2022.02.1/package/eudev/Config.in b/buildroot-2022.02.1/package/eudev/Config.in new file mode 100644 index 00000000..6e7bbe46 --- /dev/null +++ b/buildroot-2022.02.1/package/eudev/Config.in @@ -0,0 +1,46 @@ +config BR2_PACKAGE_EUDEV + bool "eudev" + depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV + depends on BR2_USE_MMU # uses fork() + depends on BR2_USE_WCHAR # needs C99 compiler + depends on !BR2_STATIC_LIBS # kmod + select BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_UDEV_GENTOO_SCRIPTS if BR2_INIT_OPENRC + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBS + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_KMOD + help + eudev is a fork of systemd-udev with the goal of obtaining + better compatibility with existing software such as OpenRC and + Upstart, older kernels, various toolchains and anything else + required by users and various distributions. + + https://github.com/eudev-project/eudev + +if BR2_PACKAGE_EUDEV + +config BR2_PACKAGE_PROVIDES_UDEV + default "eudev" + +config BR2_PACKAGE_EUDEV_RULES_GEN + bool "enable rules generator" + help + Enable persistent rules generator + +config BR2_PACKAGE_EUDEV_ENABLE_HWDB + bool "enable hwdb installation" + default y + select BR2_PACKAGE_HOST_EUDEV # for udevadm, during target-finalize + help + Enables hardware database installation to /etc/udev/hwdb.bin + +endif + +comment "eudev needs eudev /dev management" + depends on BR2_USE_MMU + depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV + +comment "eudev needs a toolchain w/ wchar, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/eudev/Config.in.host b/buildroot-2022.02.1/package/eudev/Config.in.host similarity index 100% rename from buildroot-2021.05/package/eudev/Config.in.host rename to buildroot-2022.02.1/package/eudev/Config.in.host diff --git a/buildroot-2021.05/package/eudev/S10udev b/buildroot-2022.02.1/package/eudev/S10udev similarity index 100% rename from buildroot-2021.05/package/eudev/S10udev rename to buildroot-2022.02.1/package/eudev/S10udev diff --git a/buildroot-2022.02.1/package/eudev/eudev.hash b/buildroot-2022.02.1/package/eudev/eudev.hash new file mode 100644 index 00000000..fe6c7ef0 --- /dev/null +++ b/buildroot-2022.02.1/package/eudev/eudev.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 19847cafec67897da855fde56f9dc7d92e21c50e450aa79068a7e704ed44558b eudev-3.2.11.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/eudev/eudev.mk b/buildroot-2022.02.1/package/eudev/eudev.mk new file mode 100644 index 00000000..70537068 --- /dev/null +++ b/buildroot-2022.02.1/package/eudev/eudev.mk @@ -0,0 +1,94 @@ +################################################################################ +# +# eudev +# +################################################################################ + +EUDEV_VERSION = 3.2.11 +EUDEV_SITE = https://github.com/eudev-project/eudev/releases/download/v$(EUDEV_VERSION) +EUDEV_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries) +EUDEV_LICENSE_FILES = COPYING +EUDEV_INSTALL_STAGING = YES + +EUDEV_CONF_OPTS = \ + --disable-manpages \ + --sbindir=/sbin \ + --libexecdir=/lib \ + --disable-introspection \ + --enable-kmod \ + --enable-blkid + +# eudev requires only the util-linux libraries at build time +EUDEV_DEPENDENCIES = host-gperf host-pkgconf util-linux-libs kmod +EUDEV_PROVIDES = udev + +ifeq ($(BR2_ROOTFS_MERGED_USR),) +EUDEV_CONF_OPTS += --with-rootlibdir=/lib --enable-split-usr +endif + +ifeq ($(BR2_PACKAGE_EUDEV_RULES_GEN),y) +EUDEV_CONF_OPTS += --enable-rule-generator +else +EUDEV_CONF_OPTS += --disable-rule-generator +endif + +ifeq ($(BR2_PACKAGE_EUDEV_ENABLE_HWDB),y) +EUDEV_CONF_OPTS += --enable-hwdb +else +EUDEV_CONF_OPTS += --disable-hwdb +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +EUDEV_CONF_OPTS += --enable-selinux +EUDEV_DEPENDENCIES += libselinux +else +EUDEV_CONF_OPTS += --disable-selinux +endif + +define EUDEV_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/eudev/S10udev $(TARGET_DIR)/etc/init.d/S10udev +endef + +# Avoid installing S10udev with openrc, as the service is started by a unit +# from the udev-gentoo-scripts package. +define EUDEV_INSTALL_INIT_OPENRC + @: +endef + +HOST_EUDEV_DEPENDENCIES = host-gperf host-pkgconf + +HOST_EUDEV_SYSCONFDIR = $(if $(BR2_PACKAGE_SYSTEMD),/usr/lib,/etc) +HOST_EUDEV_CONF_OPTS = \ + --prefix=/usr \ + --sbindir=/sbin \ + --libexecdir=/lib \ + --with-rootlibdir=/lib \ + --sysconfdir=$(HOST_EUDEV_SYSCONFDIR) \ + --disable-blkid \ + --disable-introspection \ + --disable-kmod \ + --disable-manpages \ + --disable-rule-generator \ + --disable-selinux \ + --enable-hwdb + +define HOST_EUDEV_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/src/udev/udevadm \ + $(HOST_DIR)/bin/udevadm +endef + +define HOST_EUDEV_BUILD_HWDB + $(HOST_DIR)/bin/udevadm hwdb --update --root $(TARGET_DIR) +endef +HOST_EUDEV_TARGET_FINALIZE_HOOKS += HOST_EUDEV_BUILD_HWDB + +# Note: this will run in the filesystem context, so will use a copy +# of tharget/, not the real one, so the files are still available on +# re-builds (foo-rebuild, etc...) +define HOST_EUDEV_RM_HWDB_SRC + rm -rf $(TARGET_DIR)/$(HOST_EUDEV_SYSCONFDIR)/udev/hwdb.d/ +endef +HOST_EUDEV_ROOTFS_PRE_CMD_HOOKS += HOST_EUDEV_RM_HWDB_SRC + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/ev3dev-linux-drivers/Config.in b/buildroot-2022.02.1/package/ev3dev-linux-drivers/Config.in similarity index 100% rename from buildroot-2021.05/package/ev3dev-linux-drivers/Config.in rename to buildroot-2022.02.1/package/ev3dev-linux-drivers/Config.in diff --git a/buildroot-2021.05/package/ev3dev-linux-drivers/ev3dev-linux-drivers.mk b/buildroot-2022.02.1/package/ev3dev-linux-drivers/ev3dev-linux-drivers.mk similarity index 100% rename from buildroot-2021.05/package/ev3dev-linux-drivers/ev3dev-linux-drivers.mk rename to buildroot-2022.02.1/package/ev3dev-linux-drivers/ev3dev-linux-drivers.mk diff --git a/buildroot-2021.05/package/ev3dev-linux-drivers/lego-linux-drivers.hash b/buildroot-2022.02.1/package/ev3dev-linux-drivers/lego-linux-drivers.hash similarity index 100% rename from buildroot-2021.05/package/ev3dev-linux-drivers/lego-linux-drivers.hash rename to buildroot-2022.02.1/package/ev3dev-linux-drivers/lego-linux-drivers.hash diff --git a/buildroot-2021.05/package/evemu/0001-Include-limits.h-for-PATH_MAX.patch b/buildroot-2022.02.1/package/evemu/0001-Include-limits.h-for-PATH_MAX.patch similarity index 100% rename from buildroot-2021.05/package/evemu/0001-Include-limits.h-for-PATH_MAX.patch rename to buildroot-2022.02.1/package/evemu/0001-Include-limits.h-for-PATH_MAX.patch diff --git a/buildroot-2021.05/package/evemu/0002-evemu-Update-struct-input_event.patch b/buildroot-2022.02.1/package/evemu/0002-evemu-Update-struct-input_event.patch similarity index 100% rename from buildroot-2021.05/package/evemu/0002-evemu-Update-struct-input_event.patch rename to buildroot-2022.02.1/package/evemu/0002-evemu-Update-struct-input_event.patch diff --git a/buildroot-2021.05/package/evemu/0003-src-evemu.c-fix-build-with-kernels-4.16.patch b/buildroot-2022.02.1/package/evemu/0003-src-evemu.c-fix-build-with-kernels-4.16.patch similarity index 100% rename from buildroot-2021.05/package/evemu/0003-src-evemu.c-fix-build-with-kernels-4.16.patch rename to buildroot-2022.02.1/package/evemu/0003-src-evemu.c-fix-build-with-kernels-4.16.patch diff --git a/buildroot-2021.05/package/evemu/0004-src-evemu.c-fix-build-with-kernels-4.16.patch b/buildroot-2022.02.1/package/evemu/0004-src-evemu.c-fix-build-with-kernels-4.16.patch similarity index 100% rename from buildroot-2021.05/package/evemu/0004-src-evemu.c-fix-build-with-kernels-4.16.patch rename to buildroot-2022.02.1/package/evemu/0004-src-evemu.c-fix-build-with-kernels-4.16.patch diff --git a/buildroot-2021.05/package/evemu/Config.in b/buildroot-2022.02.1/package/evemu/Config.in similarity index 100% rename from buildroot-2021.05/package/evemu/Config.in rename to buildroot-2022.02.1/package/evemu/Config.in diff --git a/buildroot-2021.05/package/evemu/evemu.hash b/buildroot-2022.02.1/package/evemu/evemu.hash similarity index 100% rename from buildroot-2021.05/package/evemu/evemu.hash rename to buildroot-2022.02.1/package/evemu/evemu.hash diff --git a/buildroot-2022.02.1/package/evemu/evemu.mk b/buildroot-2022.02.1/package/evemu/evemu.mk new file mode 100644 index 00000000..b27033af --- /dev/null +++ b/buildroot-2022.02.1/package/evemu/evemu.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# evemu +# +################################################################################ + +EVEMU_VERSION = 2.7.0 +EVEMU_SITE = http://www.freedesktop.org/software/evemu +EVEMU_SOURCE = evemu-$(EVEMU_VERSION).tar.xz +EVEMU_LICENSE = LGPL-3.0 (library), GPL-3.0 (tools) +EVEMU_LICENSE_FILES = COPYING + +# asciidoc used to generate manpages, which we don't need, and if it's +# present on the build host, it ends getting called with our host-python +# which doesn't have all the needed modules enabled, breaking the build +EVEMU_CONF_ENV = ac_cv_path_ASCIIDOC="" + +# disable tests generation because of C++ dependency +EVEMU_CONF_OPTS += --disable-tests + +# Uses PKG_CHECK_MODULES() in configure.ac +EVEMU_DEPENDENCIES = host-pkgconf libevdev + +# Check for target python +ifeq ($(BR2_PACKAGE_PYTHON3),y) +EVEMU_CONF_OPTS += --enable-python-bindings +EVEMU_DEPENDENCIES += python3 +else +EVEMU_CONF_OPTS += --disable-python-bindings +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/evtest/0001-Add-missing-limits.h-include.patch b/buildroot-2022.02.1/package/evtest/0001-Add-missing-limits.h-include.patch similarity index 100% rename from buildroot-2021.05/package/evtest/0001-Add-missing-limits.h-include.patch rename to buildroot-2022.02.1/package/evtest/0001-Add-missing-limits.h-include.patch diff --git a/buildroot-2021.05/package/evtest/0002-Fix-build-on-32bit-arches-with-64bit-time_t.patch b/buildroot-2022.02.1/package/evtest/0002-Fix-build-on-32bit-arches-with-64bit-time_t.patch similarity index 100% rename from buildroot-2021.05/package/evtest/0002-Fix-build-on-32bit-arches-with-64bit-time_t.patch rename to buildroot-2022.02.1/package/evtest/0002-Fix-build-on-32bit-arches-with-64bit-time_t.patch diff --git a/buildroot-2021.05/package/evtest/Config.in b/buildroot-2022.02.1/package/evtest/Config.in similarity index 100% rename from buildroot-2021.05/package/evtest/Config.in rename to buildroot-2022.02.1/package/evtest/Config.in diff --git a/buildroot-2021.05/package/evtest/evtest.hash b/buildroot-2022.02.1/package/evtest/evtest.hash similarity index 100% rename from buildroot-2021.05/package/evtest/evtest.hash rename to buildroot-2022.02.1/package/evtest/evtest.hash diff --git a/buildroot-2021.05/package/evtest/evtest.mk b/buildroot-2022.02.1/package/evtest/evtest.mk similarity index 100% rename from buildroot-2021.05/package/evtest/evtest.mk rename to buildroot-2022.02.1/package/evtest/evtest.mk diff --git a/buildroot-2021.05/package/execline/Config.in b/buildroot-2022.02.1/package/execline/Config.in similarity index 100% rename from buildroot-2021.05/package/execline/Config.in rename to buildroot-2022.02.1/package/execline/Config.in diff --git a/buildroot-2021.05/package/execline/execline.hash b/buildroot-2022.02.1/package/execline/execline.hash similarity index 100% rename from buildroot-2021.05/package/execline/execline.hash rename to buildroot-2022.02.1/package/execline/execline.hash diff --git a/buildroot-2021.05/package/execline/execline.mk b/buildroot-2022.02.1/package/execline/execline.mk similarity index 100% rename from buildroot-2021.05/package/execline/execline.mk rename to buildroot-2022.02.1/package/execline/execline.mk diff --git a/buildroot-2021.05/package/exempi/Config.in b/buildroot-2022.02.1/package/exempi/Config.in similarity index 100% rename from buildroot-2021.05/package/exempi/Config.in rename to buildroot-2022.02.1/package/exempi/Config.in diff --git a/buildroot-2022.02.1/package/exempi/exempi.hash b/buildroot-2022.02.1/package/exempi/exempi.hash new file mode 100644 index 00000000..5df610de --- /dev/null +++ b/buildroot-2022.02.1/package/exempi/exempi.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 072451ac1e0dc97ed69a2e5bfc235fd94fe093d837f65584d0e3581af5db18cd exempi-2.6.1.tar.bz2 +sha256 3d3c3593c15e0d35bdae0df7c642106250f6be3adc61477419413900f23ae607 COPYING diff --git a/buildroot-2022.02.1/package/exempi/exempi.mk b/buildroot-2022.02.1/package/exempi/exempi.mk new file mode 100644 index 00000000..56fbe203 --- /dev/null +++ b/buildroot-2022.02.1/package/exempi/exempi.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# exempi +# +################################################################################ + +EXEMPI_VERSION = 2.6.1 +EXEMPI_SOURCE = exempi-$(EXEMPI_VERSION).tar.bz2 +EXEMPI_SITE = https://libopenraw.freedesktop.org/download +EXEMPI_INSTALL_STAGING = YES +EXEMPI_CONF_OPTS = --disable-unittest +EXEMPI_DEPENDENCIES = host-pkgconf expat zlib \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) +EXEMPI_LICENSE = BSD-3-Clause +EXEMPI_LICENSE_FILES = COPYING +EXEMPI_CPE_ID_VENDOR = exempi_project + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/exfat-utils/Config.in b/buildroot-2022.02.1/package/exfat-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/exfat-utils/Config.in rename to buildroot-2022.02.1/package/exfat-utils/Config.in diff --git a/buildroot-2021.05/package/exfat-utils/exfat-utils.hash b/buildroot-2022.02.1/package/exfat-utils/exfat-utils.hash similarity index 100% rename from buildroot-2021.05/package/exfat-utils/exfat-utils.hash rename to buildroot-2022.02.1/package/exfat-utils/exfat-utils.hash diff --git a/buildroot-2021.05/package/exfat-utils/exfat-utils.mk b/buildroot-2022.02.1/package/exfat-utils/exfat-utils.mk similarity index 100% rename from buildroot-2021.05/package/exfat-utils/exfat-utils.mk rename to buildroot-2022.02.1/package/exfat-utils/exfat-utils.mk diff --git a/buildroot-2021.05/package/exfat/Config.in b/buildroot-2022.02.1/package/exfat/Config.in similarity index 100% rename from buildroot-2021.05/package/exfat/Config.in rename to buildroot-2022.02.1/package/exfat/Config.in diff --git a/buildroot-2021.05/package/exfat/exfat.hash b/buildroot-2022.02.1/package/exfat/exfat.hash similarity index 100% rename from buildroot-2021.05/package/exfat/exfat.hash rename to buildroot-2022.02.1/package/exfat/exfat.hash diff --git a/buildroot-2022.02.1/package/exfat/exfat.mk b/buildroot-2022.02.1/package/exfat/exfat.mk new file mode 100644 index 00000000..282a30aa --- /dev/null +++ b/buildroot-2022.02.1/package/exfat/exfat.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# exfat +# +################################################################################ + +EXFAT_VERSION = 1.3.0 +EXFAT_SITE = https://github.com/relan/exfat/releases/download/v$(EXFAT_VERSION) +EXFAT_SOURCE = fuse-exfat-$(EXFAT_VERSION).tar.gz +EXFAT_DEPENDENCIES = libfuse host-pkgconf +EXFAT_LICENSE = GPL-2.0+ +EXFAT_LICENSE_FILES = COPYING +EXFAT_CPE_ID_VENDOR = exfat_project +EXFAT_CFLAGS = $(TARGET_CFLAGS) -std=c99 + +EXFAT_CONF_OPTS += --exec-prefix=/ + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/exfatprogs/Config.in b/buildroot-2022.02.1/package/exfatprogs/Config.in similarity index 100% rename from buildroot-2021.05/package/exfatprogs/Config.in rename to buildroot-2022.02.1/package/exfatprogs/Config.in diff --git a/buildroot-2021.05/package/exfatprogs/Config.in.host b/buildroot-2022.02.1/package/exfatprogs/Config.in.host similarity index 100% rename from buildroot-2021.05/package/exfatprogs/Config.in.host rename to buildroot-2022.02.1/package/exfatprogs/Config.in.host diff --git a/buildroot-2022.02.1/package/exfatprogs/exfatprogs.hash b/buildroot-2022.02.1/package/exfatprogs/exfatprogs.hash new file mode 100644 index 00000000..99f57c9d --- /dev/null +++ b/buildroot-2022.02.1/package/exfatprogs/exfatprogs.hash @@ -0,0 +1,5 @@ +# From https://github.com/exfatprogs/exfatprogs/releases/download/1.1.3/exfatprogs-1.1.3.tar.xz.sha256 +sha256 3dbd74b60eec18d2c68d57be4a872d7baa4f7d848e669e31159452ef5245b809 exfatprogs-1.1.3.tar.xz + +# Hash for license file +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/exfatprogs/exfatprogs.mk b/buildroot-2022.02.1/package/exfatprogs/exfatprogs.mk new file mode 100644 index 00000000..2911d21f --- /dev/null +++ b/buildroot-2022.02.1/package/exfatprogs/exfatprogs.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# exfatprogs +# +################################################################################ + +EXFATPROGS_VERSION = 1.1.3 +EXFATPROGS_SOURCE = exfatprogs-$(EXFATPROGS_VERSION).tar.xz +EXFATPROGS_SITE = https://github.com/exfatprogs/exfatprogs/releases/download/$(EXFATPROGS_VERSION) +EXFATPROGS_LICENSE = GPL-2.0+ +EXFATPROGS_LICENSE_FILES = COPYING +EXFATPROGS_DEPENDENCIES = host-pkgconf +HOST_EXFATPROGS_DEPENDENCIES = host-pkgconf + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/exim/0001-Build-buildconfig-for-the-host.patch b/buildroot-2022.02.1/package/exim/0001-Build-buildconfig-for-the-host.patch similarity index 100% rename from buildroot-2021.05/package/exim/0001-Build-buildconfig-for-the-host.patch rename to buildroot-2022.02.1/package/exim/0001-Build-buildconfig-for-the-host.patch diff --git a/buildroot-2021.05/package/exim/0002-Don-t-make-backup-copies-of-installed-files.patch b/buildroot-2022.02.1/package/exim/0002-Don-t-make-backup-copies-of-installed-files.patch similarity index 100% rename from buildroot-2021.05/package/exim/0002-Don-t-make-backup-copies-of-installed-files.patch rename to buildroot-2022.02.1/package/exim/0002-Don-t-make-backup-copies-of-installed-files.patch diff --git a/buildroot-2021.05/package/exim/0003-Skip-version-check-and-symlink-installation.patch b/buildroot-2022.02.1/package/exim/0003-Skip-version-check-and-symlink-installation.patch similarity index 100% rename from buildroot-2021.05/package/exim/0003-Skip-version-check-and-symlink-installation.patch rename to buildroot-2022.02.1/package/exim/0003-Skip-version-check-and-symlink-installation.patch diff --git a/buildroot-2021.05/package/exim/0004-Fix-uClibc-build.patch b/buildroot-2022.02.1/package/exim/0004-Fix-uClibc-build.patch similarity index 100% rename from buildroot-2021.05/package/exim/0004-Fix-uClibc-build.patch rename to buildroot-2022.02.1/package/exim/0004-Fix-uClibc-build.patch diff --git a/buildroot-2021.05/package/exim/0005-exim_lock-fix-lstat-related-build-errors.patch b/buildroot-2022.02.1/package/exim/0005-exim_lock-fix-lstat-related-build-errors.patch similarity index 100% rename from buildroot-2021.05/package/exim/0005-exim_lock-fix-lstat-related-build-errors.patch rename to buildroot-2022.02.1/package/exim/0005-exim_lock-fix-lstat-related-build-errors.patch diff --git a/buildroot-2021.05/package/exim/0006-sieve-fix-build-errors.patch b/buildroot-2022.02.1/package/exim/0006-sieve-fix-build-errors.patch similarity index 100% rename from buildroot-2021.05/package/exim/0006-sieve-fix-build-errors.patch rename to buildroot-2022.02.1/package/exim/0006-sieve-fix-build-errors.patch diff --git a/buildroot-2021.05/package/exim/Config.in b/buildroot-2022.02.1/package/exim/Config.in similarity index 100% rename from buildroot-2021.05/package/exim/Config.in rename to buildroot-2022.02.1/package/exim/Config.in diff --git a/buildroot-2021.05/package/exim/S86exim b/buildroot-2022.02.1/package/exim/S86exim similarity index 100% rename from buildroot-2021.05/package/exim/S86exim rename to buildroot-2022.02.1/package/exim/S86exim diff --git a/buildroot-2022.02.1/package/exim/exim.hash b/buildroot-2022.02.1/package/exim/exim.hash new file mode 100644 index 00000000..5cbad08a --- /dev/null +++ b/buildroot-2022.02.1/package/exim/exim.hash @@ -0,0 +1,6 @@ +# From https://ftp.exim.org/pub/exim/exim4/00-sha256sums.txt +sha256 cc9cb653fff2ea947c3702680b59c99ac0bd1bbf19976d37e22a463cd804f167 exim-4.95.tar.xz +# From https://ftp.exim.org/pub/exim/exim4/00-sha512sums.txt +sha512 93d09c20d99f27da5edbe3e6dc7d25aa4548faa2b67ca26f2cc0b4aeaf58398dd468e0263714fcf0df97531f05d16fcd3f1f0e9d0656ead7858a66b248a44a65 exim-4.95.tar.xz +# Locally calculated +sha256 49240db527b7e55b312a46fc59794fde5dd006422e422257f4f057bfd27b3c8f LICENCE diff --git a/buildroot-2022.02.1/package/exim/exim.mk b/buildroot-2022.02.1/package/exim/exim.mk new file mode 100644 index 00000000..b45458b2 --- /dev/null +++ b/buildroot-2022.02.1/package/exim/exim.mk @@ -0,0 +1,160 @@ +################################################################################ +# +# exim +# +################################################################################ + +EXIM_VERSION = 4.95 +EXIM_SOURCE = exim-$(EXIM_VERSION).tar.xz +EXIM_SITE = https://ftp.exim.org/pub/exim/exim4 +EXIM_LICENSE = GPL-2.0+ +EXIM_LICENSE_FILES = LICENCE +EXIM_CPE_ID_VENDOR = exim +EXIM_SELINUX_MODULES = exim mta +EXIM_DEPENDENCIES = host-berkeleydb host-pcre pcre berkeleydb host-pkgconf + +# Modify a variable value. It must already exist in the file, either +# commented or not. +define exim-config-change # variable-name, variable-value + $(SED) 's,^[#[:space:]]*$1[[:space:]]*=.*$$,$1=$2,' \ + $(@D)/Local/Makefile +endef + +# Comment-out a variable. Has no effect if it does not exits. +define exim-config-unset # variable-name + $(SED) 's,^\([[:space:]]*$1[[:space:]]*=.*$$\),# \1,' \ + $(@D)/Local/Makefile +endef + +# Add a variable definition. It must not already exist in the file, +# otherwise it would be defined twice with potentially different values. +define exim-config-add # variable-name, variable-value + echo "$1=$2" >>$(@D)/Local/Makefile +endef + +define EXIM_USE_CUSTOM_CONFIG_FILE + $(INSTALL) -m 0644 $(BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE) \ + $(@D)/Local/Makefile +endef + +define EXIM_USE_DEFAULT_CONFIG_FILE + $(INSTALL) -m 0644 $(@D)/src/EDITME $(@D)/Local/Makefile + $(call exim-config-change,BIN_DIRECTORY,/usr/sbin) + $(call exim-config-change,CONFIGURE_FILE,/etc/exim/configure) + $(call exim-config-change,LOG_FILE_PATH,/var/log/exim/exim_%slog) + $(call exim-config-change,PID_FILE_PATH,/var/run/exim/exim.pid) + $(call exim-config-change,EXIM_USER,ref:exim) + $(call exim-config-change,EXIM_GROUP,mail) + $(call exim-config-change,TRANSPORT_LMTP,yes) + $(call exim-config-change,PCRE_LIBS,-lpcre) + $(call exim-config-change,PCRE_CONFIG,no) + $(call exim-config-change,HAVE_ICONV,no) + $(call exim-config-unset,EXIM_MONITOR) + $(call exim-config-change,AUTH_PLAINTEXT,yes) + $(call exim-config-change,AUTH_CRAM_MD5,yes) + $(call exim-config-unset,SUPPORT_DANE) +endef + +ifeq ($(BR2_PACKAGE_DOVECOT),y) +EXIM_DEPENDENCIES += dovecot +define EXIM_USE_DEFAULT_CONFIG_FILE_DOVECOT + $(call exim-config-change,AUTH_DOVECOT,yes) +endef +endif + +ifeq ($(BR2_PACKAGE_CLAMAV),y) +EXIM_DEPENDENCIES += clamav +define EXIM_USE_DEFAULT_CONFIG_FILE_CLAMAV + $(call exim-config-change,WITH_CONTENT_SCAN,yes) +endef +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +EXIM_DEPENDENCIES += host-openssl openssl +define EXIM_USE_DEFAULT_CONFIG_FILE_OPENSSL + $(call exim-config-change,USE_OPENSSL,yes) + $(call exim-config-change,USE_OPENSSL_PC,openssl) +endef +else +define EXIM_USE_DEFAULT_CONFIG_FILE_OPENSSL + $(call exim-config-change,DISABLE_TLS,yes) +endef +endif + +# musl does not provide struct ip_options nor struct ip_opts (but it is +# available with both glibc and uClibc) +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +define EXIM_FIX_IP_OPTIONS_FOR_MUSL + $(SED) 's/#define GLIBC_IP_OPTIONS/#define DARWIN_IP_OPTIONS/' \ + $(@D)/OS/os.h-Linux +endef +endif + +define EXIM_CONFIGURE_TOOLCHAIN + $(call exim-config-add,CC,$(TARGET_CC)) + $(call exim-config-add,CFLAGS,$(TARGET_CFLAGS)) + $(call exim-config-add,AR,$(TARGET_AR) cq) + $(call exim-config-add,RANLIB,$(TARGET_RANLIB)) + $(call exim-config-add,HOSTCC,$(HOSTCC)) + $(call exim-config-add,HOSTCFLAGS,$(HOSTCFLAGS)) + $(EXIM_FIX_IP_OPTIONS_FOR_MUSL) +endef + +ifneq ($(call qstrip,$(BR2_PACKAGE_EXIM_CUSTOM_CONFIG_FILE)),) +define EXIM_CONFIGURE_CMDS + $(EXIM_USE_CUSTOM_CONFIG_FILE) + $(EXIM_CONFIGURE_TOOLCHAIN) +endef +else # CUSTOM_CONFIG +define EXIM_CONFIGURE_CMDS + $(EXIM_USE_DEFAULT_CONFIG_FILE) + $(EXIM_USE_DEFAULT_CONFIG_FILE_DOVECOT) + $(EXIM_USE_DEFAULT_CONFIG_FILE_CLAMAV) + $(EXIM_USE_DEFAULT_CONFIG_FILE_OPENSSL) + $(EXIM_CONFIGURE_TOOLCHAIN) +endef +endif # CUSTOM_CONFIG + +# exim needs a bit of love to build statically +ifeq ($(BR2_STATIC_LIBS),y) +EXIM_STATIC_FLAGS = LFLAGS="-pthread --static" +endif + +# We need the host version of macro_predef during the build, before +# building it we need to prepare the makefile. +define EXIM_BUILD_CMDS + $(TARGET_MAKE_ENV) build=br $(MAKE) -C $(@D) makefile + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/build-br macro_predef \ + CC="$(HOSTCC)" \ + LNCC="$(HOSTCC)" \ + CFLAGS="-std=c99 $(HOST_CFLAGS)" \ + LFLAGS="-fPIC $(HOST_LDFLAGS)" + $(TARGET_MAKE_ENV) build=br $(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \ + CFLAGS="-std=c99 $(TARGET_CFLAGS)" +endef + +# Need to replicate the LFLAGS in install, as exim still wants to build +# something when installing... +define EXIM_INSTALL_TARGET_CMDS + DESTDIR=$(TARGET_DIR) INSTALL_ARG="-no_chown -no_symlink" build=br \ + $(MAKE) -C $(@D) $(EXIM_STATIC_FLAGS) \ + CFLAGS="-std=c99 $(TARGET_CFLAGS)" \ + install + chmod u+s $(TARGET_DIR)/usr/sbin/exim +endef + +define EXIM_USERS + exim 88 mail 8 * - - - exim +endef + +define EXIM_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/exim/S86exim \ + $(TARGET_DIR)/etc/init.d/S86exim +endef + +define EXIM_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/exim/exim.service \ + $(TARGET_DIR)/usr/lib/systemd/system/exim.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/exim/exim.service b/buildroot-2022.02.1/package/exim/exim.service similarity index 100% rename from buildroot-2021.05/package/exim/exim.service rename to buildroot-2022.02.1/package/exim/exim.service diff --git a/buildroot-2022.02.1/package/exiv2/0001-add-BUILD_WITH_STACK_PROTECTOR-option.patch b/buildroot-2022.02.1/package/exiv2/0001-add-BUILD_WITH_STACK_PROTECTOR-option.patch new file mode 100644 index 00000000..18684ebb --- /dev/null +++ b/buildroot-2022.02.1/package/exiv2/0001-add-BUILD_WITH_STACK_PROTECTOR-option.patch @@ -0,0 +1,54 @@ +From 4bb57da5fb0bb0d7e747b9e325e9ec0876ffc1f9 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 31 Jul 2021 16:36:50 +0200 +Subject: [PATCH] add BUILD_WITH_STACK_PROTECTOR option + +Add BUILD_WITH_STACK_PROTECTOR to avoid the following build failure with +toolchains that don't support stack-protector: + +/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-uclibc/9.3.0/../../../../mipsel-buildroot-linux-uclibc/bin/ld: utils.cpp:(.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag[_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPcEEvT_S7_St20forward_iterator_tag]+0xd0): undefined reference to `__stack_chk_fail' + +Indeed, support for -fstack-protector-strong can't be detected through +check_cxx_compiler_flag as some toolchains need to link with -lssp to +enable SSP support + +Fixes: + - http://autobuild.buildroot.org/results/ae4635899124c602c70d2b342a76f95c34aa4a3d + +Upstream: https://github.com/Exiv2/exiv2/commit/f31c0eba098889899d29b7b0da830aee2b62a7b8 +Signed-off-by: Fabrice Fontaine +--- + CMakeLists.txt | 1 + + cmake/compilerFlags.cmake | 4 ++-- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6f0da06a..0746ee14 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -47,6 +47,7 @@ mark_as_advanced( + EXIV2_TEAM_USE_SANITIZERS + ) + ++option( BUILD_WITH_STACK_PROTECTOR "Build with stack protector" ON ) + option( BUILD_WITH_CCACHE "Use ccache to speed up compilations" OFF ) + option( BUILD_WITH_COVERAGE "Add compiler flags to generate coverage stats" OFF ) + +diff --git a/cmake/compilerFlags.cmake b/cmake/compilerFlags.cmake +index 35faf501..0a646e50 100644 +--- a/cmake/compilerFlags.cmake ++++ b/cmake/compilerFlags.cmake +@@ -33,8 +33,8 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Linux, APPLE, CYGWIN + endif() + if(HAS_FCF_PROTECTION) + add_compile_options(-fcf-protection) +- endif() +- if(HAS_FSTACK_PROTECTOR_STRONG) ++ endif() ++ if(BUILD_WITH_STACK_PROTECTOR AND HAS_FSTACK_PROTECTOR_STRONG) + add_compile_options(-fstack-protector-strong) + endif() + endif() +-- +2.31.1 + diff --git a/buildroot-2021.05/package/exiv2/Config.in b/buildroot-2022.02.1/package/exiv2/Config.in similarity index 100% rename from buildroot-2021.05/package/exiv2/Config.in rename to buildroot-2022.02.1/package/exiv2/Config.in diff --git a/buildroot-2022.02.1/package/exiv2/exiv2.hash b/buildroot-2022.02.1/package/exiv2/exiv2.hash new file mode 100644 index 00000000..a405d261 --- /dev/null +++ b/buildroot-2022.02.1/package/exiv2/exiv2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 35a58618ab236a901ca4928b0ad8b31007ebdc0386d904409d825024e45ea6e2 exiv2-0.27.5-Source.tar.gz +sha256 a7ba75cb966aca374711e2af49e5f3aea6a4443a803440f5d93e73a5a1222f66 COPYING diff --git a/buildroot-2022.02.1/package/exiv2/exiv2.mk b/buildroot-2022.02.1/package/exiv2/exiv2.mk new file mode 100644 index 00000000..2a91c71c --- /dev/null +++ b/buildroot-2022.02.1/package/exiv2/exiv2.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# exiv2 +# +################################################################################ + +EXIV2_VERSION = 0.27.5 +EXIV2_SOURCE = exiv2-$(EXIV2_VERSION)-Source.tar.gz +EXIV2_SITE = https://exiv2.org/builds +EXIV2_INSTALL_STAGING = YES +EXIV2_LICENSE = GPL-2.0+ +EXIV2_LICENSE_FILES = COPYING +EXIV2_CPE_ID_VENDOR = exiv2 + +EXIV2_CONF_OPTS += \ + -DBUILD_WITH_STACK_PROTECTOR=OFF \ + -DEXIV2_BUILD_SAMPLES=OFF + +ifeq ($(BR2_PACKAGE_EXIV2_LENSDATA),y) +EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=ON +else +EXIV2_CONF_OPTS += -DEXIV2_ENABLE_LENSDATA=OFF +endif + +ifeq ($(BR2_PACKAGE_EXIV2_PNG),y) +EXIV2_CONF_OPTS += -DEXIV2_ENABLE_PNG=ON +EXIV2_DEPENDENCIES += zlib +else +EXIV2_CONF_OPTS += -DEXIV2_ENABLE_PNG=OFF +endif + +ifeq ($(BR2_PACKAGE_EXIV2_XMP),y) +EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=ON +EXIV2_DEPENDENCIES += expat +else +EXIV2_CONF_OPTS += -DEXIV2_ENABLE_XMP=OFF +endif + +EXIV2_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +EXIV2_CONF_OPTS += -DEXIV2_ENABLE_NLS=ON +else +EXIV2_CONF_OPTS += -DEXIV2_ENABLE_NLS=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/expat/Config.in b/buildroot-2022.02.1/package/expat/Config.in similarity index 100% rename from buildroot-2021.05/package/expat/Config.in rename to buildroot-2022.02.1/package/expat/Config.in diff --git a/buildroot-2022.02.1/package/expat/expat.hash b/buildroot-2022.02.1/package/expat/expat.hash new file mode 100644 index 00000000..26f1098b --- /dev/null +++ b/buildroot-2022.02.1/package/expat/expat.hash @@ -0,0 +1,7 @@ +# From https://sourceforge.net/projects/expat/files/expat/2.4.7/ +md5 75a1f475e30281a00cb6f083ea481159 expat-2.4.7.tar.xz +sha1 032ceaa11cd791d4bc622bbf0d835b8766207796 expat-2.4.7.tar.xz + +# Locally calculated +sha256 9875621085300591f1e64c18fd3da3a0eeca4a74f884b9abac2758ad1bd07a7d expat-2.4.7.tar.xz +sha256 8c6b5b6de8fae20b317f4992729abc0e520bfba4c7606cd1e9eeb87418eebdec COPYING diff --git a/buildroot-2022.02.1/package/expat/expat.mk b/buildroot-2022.02.1/package/expat/expat.mk new file mode 100644 index 00000000..b29b0e1d --- /dev/null +++ b/buildroot-2022.02.1/package/expat/expat.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# expat +# +################################################################################ + +EXPAT_VERSION = 2.4.7 +EXPAT_SITE = http://downloads.sourceforge.net/project/expat/expat/$(EXPAT_VERSION) +EXPAT_SOURCE = expat-$(EXPAT_VERSION).tar.xz +EXPAT_INSTALL_STAGING = YES +EXPAT_DEPENDENCIES = host-pkgconf +HOST_EXPAT_DEPENDENCIES = host-pkgconf +EXPAT_LICENSE = MIT +EXPAT_LICENSE_FILES = COPYING +EXPAT_CPE_ID_VENDOR = libexpat_project +EXPAT_CPE_ID_PRODUCT = libexpat + +EXPAT_CONF_OPTS = --without-docbook +HOST_EXPAT_CONF_OPTS = --without-docbook + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/expect/0001-enable-cross-compilation.patch b/buildroot-2022.02.1/package/expect/0001-enable-cross-compilation.patch similarity index 100% rename from buildroot-2021.05/package/expect/0001-enable-cross-compilation.patch rename to buildroot-2022.02.1/package/expect/0001-enable-cross-compilation.patch diff --git a/buildroot-2021.05/package/expect/0002-allow-tcl-build-directory.patch b/buildroot-2022.02.1/package/expect/0002-allow-tcl-build-directory.patch similarity index 100% rename from buildroot-2021.05/package/expect/0002-allow-tcl-build-directory.patch rename to buildroot-2022.02.1/package/expect/0002-allow-tcl-build-directory.patch diff --git a/buildroot-2021.05/package/expect/Config.in b/buildroot-2022.02.1/package/expect/Config.in similarity index 100% rename from buildroot-2021.05/package/expect/Config.in rename to buildroot-2022.02.1/package/expect/Config.in diff --git a/buildroot-2021.05/package/expect/expect.hash b/buildroot-2022.02.1/package/expect/expect.hash similarity index 100% rename from buildroot-2021.05/package/expect/expect.hash rename to buildroot-2022.02.1/package/expect/expect.hash diff --git a/buildroot-2022.02.1/package/expect/expect.mk b/buildroot-2022.02.1/package/expect/expect.mk new file mode 100644 index 00000000..44bf74af --- /dev/null +++ b/buildroot-2022.02.1/package/expect/expect.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# expect +# +################################################################################ + +EXPECT_VERSION = 5.45.4 +EXPECT_SITE = https://sourceforge.net/projects/expect/files/Expect/$(EXPECT_VERSION) +EXPECT_SOURCE = expect$(EXPECT_VERSION).tar.gz +EXPECT_LICENSE = Public domain +EXPECT_LICENSE_FILES = README + +# 0001-enable-cross-compilation.patch +EXPECT_AUTORECONF = YES +EXPECT_DEPENDENCIES = tcl +EXPECT_CONF_OPTS = --with-tcl=$(BUILD_DIR)/tcl-$(TCL_VERSION)/unix + +# Since we don't want examples installed +EXPECT_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-binaries + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/explorercanvas/Config.in b/buildroot-2022.02.1/package/explorercanvas/Config.in similarity index 100% rename from buildroot-2021.05/package/explorercanvas/Config.in rename to buildroot-2022.02.1/package/explorercanvas/Config.in diff --git a/buildroot-2021.05/package/explorercanvas/explorercanvas.hash b/buildroot-2022.02.1/package/explorercanvas/explorercanvas.hash similarity index 100% rename from buildroot-2021.05/package/explorercanvas/explorercanvas.hash rename to buildroot-2022.02.1/package/explorercanvas/explorercanvas.hash diff --git a/buildroot-2021.05/package/explorercanvas/explorercanvas.mk b/buildroot-2022.02.1/package/explorercanvas/explorercanvas.mk similarity index 100% rename from buildroot-2021.05/package/explorercanvas/explorercanvas.mk rename to buildroot-2022.02.1/package/explorercanvas/explorercanvas.mk diff --git a/buildroot-2021.05/package/f2fs-tools/Config.in b/buildroot-2022.02.1/package/f2fs-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/f2fs-tools/Config.in rename to buildroot-2022.02.1/package/f2fs-tools/Config.in diff --git a/buildroot-2021.05/package/f2fs-tools/Config.in.host b/buildroot-2022.02.1/package/f2fs-tools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/f2fs-tools/Config.in.host rename to buildroot-2022.02.1/package/f2fs-tools/Config.in.host diff --git a/buildroot-2021.05/package/f2fs-tools/f2fs-tools.hash b/buildroot-2022.02.1/package/f2fs-tools/f2fs-tools.hash similarity index 100% rename from buildroot-2021.05/package/f2fs-tools/f2fs-tools.hash rename to buildroot-2022.02.1/package/f2fs-tools/f2fs-tools.hash diff --git a/buildroot-2021.05/package/f2fs-tools/f2fs-tools.mk b/buildroot-2022.02.1/package/f2fs-tools/f2fs-tools.mk similarity index 100% rename from buildroot-2021.05/package/f2fs-tools/f2fs-tools.mk rename to buildroot-2022.02.1/package/f2fs-tools/f2fs-tools.mk diff --git a/buildroot-2021.05/package/faad2/Config.in b/buildroot-2022.02.1/package/faad2/Config.in similarity index 100% rename from buildroot-2021.05/package/faad2/Config.in rename to buildroot-2022.02.1/package/faad2/Config.in diff --git a/buildroot-2021.05/package/faad2/faad2.hash b/buildroot-2022.02.1/package/faad2/faad2.hash similarity index 100% rename from buildroot-2021.05/package/faad2/faad2.hash rename to buildroot-2022.02.1/package/faad2/faad2.hash diff --git a/buildroot-2021.05/package/faad2/faad2.mk b/buildroot-2022.02.1/package/faad2/faad2.mk similarity index 100% rename from buildroot-2021.05/package/faad2/faad2.mk rename to buildroot-2022.02.1/package/faad2/faad2.mk diff --git a/buildroot-2021.05/package/faifa/0001-sha2.c-explicitly-include-endian.h-for-BYTE_ORDER-ma.patch b/buildroot-2022.02.1/package/faifa/0001-sha2.c-explicitly-include-endian.h-for-BYTE_ORDER-ma.patch similarity index 100% rename from buildroot-2021.05/package/faifa/0001-sha2.c-explicitly-include-endian.h-for-BYTE_ORDER-ma.patch rename to buildroot-2022.02.1/package/faifa/0001-sha2.c-explicitly-include-endian.h-for-BYTE_ORDER-ma.patch diff --git a/buildroot-2022.02.1/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch b/buildroot-2022.02.1/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch new file mode 100644 index 00000000..c5547a5e --- /dev/null +++ b/buildroot-2022.02.1/package/faifa/0002-hpav_cfg.c-do-not-include-linux-if_ether.h-for-musl-.patch @@ -0,0 +1,32 @@ +From 36eed08a3783df6bb8d92d3c80cd47d0660eeb12 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 30 Jan 2016 16:27:37 +0100 +Subject: [PATCH] hpav_cfg.c: do not include linux/if_ether.h for musl + compatibility + +Fixes a build issue with the musl C library +http://autobuild.buildroot.net/results/dc6/dc6e4d7327d2031ef921cccd814605dec73a0f9c/build-end.log + +Patch sent upstream: https://github.com/ffainelli/faifa/pull/13 + +Signed-off-by: Bernd Kuhls +--- + hpav_cfg.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/hpav_cfg.c b/hpav_cfg.c +index 7cc53af..45d3f0a 100644 +--- a/hpav_cfg.c ++++ b/hpav_cfg.c +@@ -53,8 +53,6 @@ + #include + #include + +-#include +- + #include "homeplug_av.h" + #include "crypto.h" + +-- +2.7.0.rc3 + diff --git a/buildroot-2021.05/package/faifa/0003-Makefile.in-fix-asbolute-symlink-of-libfaifa.so.patch b/buildroot-2022.02.1/package/faifa/0003-Makefile.in-fix-asbolute-symlink-of-libfaifa.so.patch similarity index 100% rename from buildroot-2021.05/package/faifa/0003-Makefile.in-fix-asbolute-symlink-of-libfaifa.so.patch rename to buildroot-2022.02.1/package/faifa/0003-Makefile.in-fix-asbolute-symlink-of-libfaifa.so.patch diff --git a/buildroot-2021.05/package/faifa/Config.in b/buildroot-2022.02.1/package/faifa/Config.in similarity index 100% rename from buildroot-2021.05/package/faifa/Config.in rename to buildroot-2022.02.1/package/faifa/Config.in diff --git a/buildroot-2021.05/package/faifa/faifa.hash b/buildroot-2022.02.1/package/faifa/faifa.hash similarity index 100% rename from buildroot-2021.05/package/faifa/faifa.hash rename to buildroot-2022.02.1/package/faifa/faifa.hash diff --git a/buildroot-2021.05/package/faifa/faifa.mk b/buildroot-2022.02.1/package/faifa/faifa.mk similarity index 100% rename from buildroot-2021.05/package/faifa/faifa.mk rename to buildroot-2022.02.1/package/faifa/faifa.mk diff --git a/buildroot-2022.02.1/package/fail2ban/0001-fixed-possible-RCE-vulnerability-unset-escape-variable.patch b/buildroot-2022.02.1/package/fail2ban/0001-fixed-possible-RCE-vulnerability-unset-escape-variable.patch new file mode 100644 index 00000000..6d44f41d --- /dev/null +++ b/buildroot-2022.02.1/package/fail2ban/0001-fixed-possible-RCE-vulnerability-unset-escape-variable.patch @@ -0,0 +1,158 @@ +From 410a6ce5c80dd981c22752da034f2529b5eee844 Mon Sep 17 00:00:00 2001 +From: sebres +Date: Mon, 21 Jun 2021 17:12:53 +0200 +Subject: [PATCH] fixed possible RCE vulnerability, unset escape variable + (default tilde) stops consider "~" char after new-line as composing escape + sequence + +[Retrieved from: +https://github.com/fail2ban/fail2ban/commit/410a6ce5c80dd981c22752da034f2529b5eee844] +Signed-off-by: Fabrice Fontaine +--- + config/action.d/complain.conf | 2 +- + config/action.d/dshield.conf | 2 +- + config/action.d/mail-buffered.conf | 8 ++++---- + config/action.d/mail-whois-lines.conf | 2 +- + config/action.d/mail-whois.conf | 6 +++--- + config/action.d/mail.conf | 6 +++--- + 6 files changed, 13 insertions(+), 13 deletions(-) + +diff --git a/config/action.d/complain.conf b/config/action.d/complain.conf +index 3a5f882c9f..4d73b05859 100644 +--- a/config/action.d/complain.conf ++++ b/config/action.d/complain.conf +@@ -102,7 +102,7 @@ logpath = /dev/null + # Notes.: Your system mail command. Is passed 2 args: subject and recipient + # Values: CMD + # +-mailcmd = mail -s ++mailcmd = mail -E 'set escape' -s + + # Option: mailargs + # Notes.: Additional arguments to mail command. e.g. for standard Unix mail: +diff --git a/config/action.d/dshield.conf b/config/action.d/dshield.conf +index c128bef348..3d5a7a53a9 100644 +--- a/config/action.d/dshield.conf ++++ b/config/action.d/dshield.conf +@@ -179,7 +179,7 @@ tcpflags = + # Notes.: Your system mail command. Is passed 2 args: subject and recipient + # Values: CMD + # +-mailcmd = mail -s ++mailcmd = mail -E 'set escape' -s + + # Option: mailargs + # Notes.: Additional arguments to mail command. e.g. for standard Unix mail: +diff --git a/config/action.d/mail-buffered.conf b/config/action.d/mail-buffered.conf +index 325f185b2f..79b841049c 100644 +--- a/config/action.d/mail-buffered.conf ++++ b/config/action.d/mail-buffered.conf +@@ -17,7 +17,7 @@ actionstart = printf %%b "Hi,\n + The jail has been started successfully.\n + Output will be buffered until lines are available.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : started on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : started on " + + # Option: actionstop + # Notes.: command executed at the stop of jail (or at the end of Fail2Ban) +@@ -28,13 +28,13 @@ actionstop = if [ -f ]; then + These hosts have been banned by Fail2Ban.\n + `cat ` + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : Summary from " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : Summary from " + rm + fi + printf %%b "Hi,\n + The jail has been stopped.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : stopped on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : stopped on " + + # Option: actioncheck + # Notes.: command executed once before each actionban command +@@ -55,7 +55,7 @@ actionban = printf %%b "`date`: ( failures)\n" >> + These hosts have been banned by Fail2Ban.\n + `cat ` + \nRegards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : Summary" ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : Summary" + rm + fi + +diff --git a/config/action.d/mail-whois-lines.conf b/config/action.d/mail-whois-lines.conf +index 3a3e56b2c7..d2818cb9b9 100644 +--- a/config/action.d/mail-whois-lines.conf ++++ b/config/action.d/mail-whois-lines.conf +@@ -72,7 +72,7 @@ actionunban = + # Notes.: Your system mail command. Is passed 2 args: subject and recipient + # Values: CMD + # +-mailcmd = mail -s ++mailcmd = mail -E 'set escape' -s + + # Default name of the chain + # +diff --git a/config/action.d/mail-whois.conf b/config/action.d/mail-whois.conf +index 7fea34c40d..ab33b616dc 100644 +--- a/config/action.d/mail-whois.conf ++++ b/config/action.d/mail-whois.conf +@@ -20,7 +20,7 @@ norestored = 1 + actionstart = printf %%b "Hi,\n + The jail has been started successfully.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : started on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : started on " + + # Option: actionstop + # Notes.: command executed at the stop of jail (or at the end of Fail2Ban) +@@ -29,7 +29,7 @@ actionstart = printf %%b "Hi,\n + actionstop = printf %%b "Hi,\n + The jail has been stopped.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : stopped on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : stopped on " + + # Option: actioncheck + # Notes.: command executed once before each actionban command +@@ -49,7 +49,7 @@ actionban = printf %%b "Hi,\n + Here is more information about :\n + `%(_whois_command)s`\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : banned from " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : banned from " + + # Option: actionunban + # Notes.: command executed when unbanning an IP. Take care that the +diff --git a/config/action.d/mail.conf b/config/action.d/mail.conf +index 5d8c0e154c..f4838ddcb6 100644 +--- a/config/action.d/mail.conf ++++ b/config/action.d/mail.conf +@@ -16,7 +16,7 @@ norestored = 1 + actionstart = printf %%b "Hi,\n + The jail has been started successfully.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : started on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : started on " + + # Option: actionstop + # Notes.: command executed at the stop of jail (or at the end of Fail2Ban) +@@ -25,7 +25,7 @@ actionstart = printf %%b "Hi,\n + actionstop = printf %%b "Hi,\n + The jail has been stopped.\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : stopped on " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : stopped on " + + # Option: actioncheck + # Notes.: command executed once before each actionban command +@@ -43,7 +43,7 @@ actionban = printf %%b "Hi,\n + The IP has just been banned by Fail2Ban after + attempts against .\n + Regards,\n +- Fail2Ban"|mail -s "[Fail2Ban] : banned from " ++ Fail2Ban"|mail -E 'set escape' -s "[Fail2Ban] : banned from " + + # Option: actionunban + # Notes.: command executed when unbanning an IP. Take care that the diff --git a/buildroot-2022.02.1/package/fail2ban/0002-fix-gh-3098-build-fails-with-error-in-fail2ban-setup-command.patch b/buildroot-2022.02.1/package/fail2ban/0002-fix-gh-3098-build-fails-with-error-in-fail2ban-setup-command.patch new file mode 100644 index 00000000..8cb097dc --- /dev/null +++ b/buildroot-2022.02.1/package/fail2ban/0002-fix-gh-3098-build-fails-with-error-in-fail2ban-setup-command.patch @@ -0,0 +1,67 @@ +From 5ac303df8a171f748330d4c645ccbf1c2c7f3497 Mon Sep 17 00:00:00 2001 +From: sebres +Date: Sun, 19 Sep 2021 18:49:18 +0200 +Subject: [PATCH] fix gh-3098: build fails with error in fail2ban setup + command: use_2to3 is invalid (setuptools 58+) + +[Retrieved from: +https://github.com/fail2ban/fail2ban/commit/5ac303df8a171f748330d4c645ccbf1c2c7f3497] +Signed-off-by: Fabrice Fontaine +--- + setup.py | 16 +--------------- + 1 file changed, 1 insertion(+), 15 deletions(-) + +diff --git a/setup.py b/setup.py +index f4c2550f6..98413273c 100755 +--- a/setup.py ++++ b/setup.py +@@ -48,7 +48,7 @@ + from glob import glob + + from fail2ban.setup import updatePyExec +- ++from fail2ban.version import version + + source_dir = os.path.realpath(os.path.dirname( + # __file__ seems to be overwritten sometimes on some python versions (e.g. bug of 2.6 by running under cProfile, etc.): +@@ -112,22 +112,12 @@ def update_scripts(self, dry_run=False): + # Wrapper to specify fail2ban own options: + class install_command_f2b(install): + user_options = install.user_options + [ +- ('disable-2to3', None, 'Specify to deactivate 2to3, e.g. if the install runs from fail2ban test-cases.'), + ('without-tests', None, 'without tests files installation'), + ] + def initialize_options(self): +- self.disable_2to3 = None + self.without_tests = not with_tests + install.initialize_options(self) + def finalize_options(self): +- global _2to3 +- ## in the test cases 2to3 should be already done (fail2ban-2to3): +- if self.disable_2to3: +- _2to3 = False +- if _2to3: +- cmdclass = self.distribution.cmdclass +- cmdclass['build_py'] = build_py_2to3 +- cmdclass['build_scripts'] = build_scripts_2to3 + if self.without_tests: + self.distribution.scripts.remove('bin/fail2ban-testcases') + +@@ -178,7 +168,6 @@ def run(self): + if setuptools: + setup_extra = { + 'test_suite': "fail2ban.tests.utils.gatherTests", +- 'use_2to3': True, + } + else: + setup_extra = {} +@@ -202,9 +191,6 @@ def run(self): + ('/usr/share/doc/fail2ban', doc_files) + ) + +-# Get version number, avoiding importing fail2ban. +-# This is due to tests not functioning for python3 as 2to3 takes place later +-exec(open(join("fail2ban", "version.py")).read()) + + setup( + name = "fail2ban", diff --git a/buildroot-2022.02.1/package/fail2ban/Config.in b/buildroot-2022.02.1/package/fail2ban/Config.in new file mode 100644 index 00000000..8a48a8c1 --- /dev/null +++ b/buildroot-2022.02.1/package/fail2ban/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_FAIL2BAN + bool "fail2ban" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_SYSTEMD if BR2_PACKAGE_SYSTEMD + help + Fail2ban scans log files (e.g. /var/log/apache/error_log) and + bans IPs that show the malicious signs -- too many password + failures, seeking for exploits, etc. Out of the box Fail2Ban + comes with filters for various services (apache, courier, + ssh, etc). + + Fail2Ban is able to reduce the rate of incorrect + authentications attempts however it cannot eliminate the risk + that weak authentication presents. + + https://www.fail2ban.org diff --git a/buildroot-2021.05/package/fail2ban/S60fail2ban b/buildroot-2022.02.1/package/fail2ban/S60fail2ban similarity index 100% rename from buildroot-2021.05/package/fail2ban/S60fail2ban rename to buildroot-2022.02.1/package/fail2ban/S60fail2ban diff --git a/buildroot-2021.05/package/fail2ban/fail2ban.hash b/buildroot-2022.02.1/package/fail2ban/fail2ban.hash similarity index 100% rename from buildroot-2021.05/package/fail2ban/fail2ban.hash rename to buildroot-2022.02.1/package/fail2ban/fail2ban.hash diff --git a/buildroot-2022.02.1/package/fail2ban/fail2ban.mk b/buildroot-2022.02.1/package/fail2ban/fail2ban.mk new file mode 100644 index 00000000..4a08981a --- /dev/null +++ b/buildroot-2022.02.1/package/fail2ban/fail2ban.mk @@ -0,0 +1,51 @@ +################################################################################ +# +# fail2ban +# +################################################################################ + +FAIL2BAN_VERSION = 0.11.2 +FAIL2BAN_SITE = $(call github,fail2ban,fail2ban,$(FAIL2BAN_VERSION)) +FAIL2BAN_LICENSE = GPL-2.0+ +FAIL2BAN_LICENSE_FILES = COPYING +FAIL2BAN_CPE_ID_VENDOR = fail2ban +FAIL2BAN_SELINUX_MODULES = fail2ban +FAIL2BAN_SETUP_TYPE = distutils + +# 0001-fixed-possible-RCE-vulnerability-unset-escape-variable.patch +FAIL2BAN_IGNORE_CVES += CVE-2021-32749 + +define FAIL2BAN_PYTHON_2TO3 + $(HOST_DIR)/bin/2to3 --write --nobackups --no-diffs $(@D)/bin/* $(@D)/fail2ban +endef +FAIL2BAN_DEPENDENCIES = host-python3 +# We can't use _POST_PATCH_HOOKS because dependencies are not guaranteed +# to build and install before _POST_PATCH_HOOKS run. +FAIL2BAN_PRE_CONFIGURE_HOOKS += FAIL2BAN_PYTHON_2TO3 + +define FAIL2BAN_FIX_DEFAULT_CONFIG + $(SED) '/^socket/c\socket = /run/fail2ban.sock' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf + $(SED) '/^pidfile/c\pidfile = /run/fail2ban.pid' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf + $(SED) '/^dbfile/c\dbfile = None' $(TARGET_DIR)/etc/fail2ban/fail2ban.conf +endef +FAIL2BAN_POST_INSTALL_TARGET_HOOKS += FAIL2BAN_FIX_DEFAULT_CONFIG + +# fail2ban-python points to host python +define FAIL2BAN_FIX_FAIL2BAN_PYTHON_SYMLINK + ln -snf python3 $(TARGET_DIR)/usr/bin/fail2ban-python +endef +FAIL2BAN_POST_INSTALL_TARGET_HOOKS += FAIL2BAN_FIX_FAIL2BAN_PYTHON_SYMLINK + +define FAIL2BAN_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/fail2ban/S60fail2ban \ + $(TARGET_DIR)/etc/init.d/S60fail2ban +endef + +define FAIL2BAN_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/files/fail2ban.service.in \ + $(TARGET_DIR)/usr/lib/systemd/system/fail2ban.service + $(SED) 's,@BINDIR@,/usr/bin,g' $(TARGET_DIR)/usr/lib/systemd/system/fail2ban.service + $(SED) '/^PIDFile/c\PIDFile=/run/fail2ban.pid' $(TARGET_DIR)/usr/lib/systemd/system/fail2ban.service +endef + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/fakedate/fakedate b/buildroot-2022.02.1/package/fakedate/fakedate new file mode 100755 index 00000000..7ebbf1f0 --- /dev/null +++ b/buildroot-2022.02.1/package/fakedate/fakedate @@ -0,0 +1,56 @@ +#!/bin/bash +# vim: set sw=4 expandtab: +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# Copyright (C) 2016 Jérôme Pouiller +# + +# Do not call any 'date' before us in the PATH, or that would create +# an infinite recursion. +found=false +for date in $(which -a date); do + if [ "${date}" -ef "$0" ]; then + found=true + elif ${found}; then + DATE_BIN="${date}" + break + fi +done + +if [ -z "${DATE_BIN}" ]; then + printf 'fakedate: no real date found in PATH after "%s"\n' "${0}" >&2 + exit 1 +fi + +if [ -n "$SOURCE_DATE_EPOCH" ]; then + FORCE_EPOCH=1 + for i in "$@"; do + # Use of --date, --file and --reference (and their short option counter + # parts) is incompatible with SOURCE_DATE_EPOCH. + # -u and -R are the only short options without argument. So they could + # appear between '-' and option we want to match. + if echo "$i" | grep -qE '^-([uR]*d|-date|[uR]*f|-file|[uR]*r|--reference)'; then + FORCE_EPOCH=0 + break; + fi + done + if [ $FORCE_EPOCH -eq 1 ]; then + echo "date: Warning: using \$SOURCE_DATE_EPOCH instead of true time" >&2 + ARGS="-d @$SOURCE_DATE_EPOCH" + fi +fi + +exec $DATE_BIN $ARGS "$@" diff --git a/buildroot-2021.05/package/fakedate/fakedate.mk b/buildroot-2022.02.1/package/fakedate/fakedate.mk similarity index 100% rename from buildroot-2021.05/package/fakedate/fakedate.mk rename to buildroot-2022.02.1/package/fakedate/fakedate.mk diff --git a/buildroot-2022.02.1/package/fakeroot/0001-fix-prototype-generation.patch b/buildroot-2022.02.1/package/fakeroot/0001-fix-prototype-generation.patch new file mode 100644 index 00000000..960bad21 --- /dev/null +++ b/buildroot-2022.02.1/package/fakeroot/0001-fix-prototype-generation.patch @@ -0,0 +1,61 @@ +Subject: Fix prototype generation for openat +Author: Christoph Biedl +Date: 2021-12-30 +Bug-Debian: https://bugs.debian.org/995393 +Forwarded: Yes (implicitely) + + As jrtc27 pointed out in IRC, ppc64el is more strict than other + architectures when it comes to va_arg handling: + + it's that ppc64le uses the elfv2 abi, and for variadic calls you + must reserve space for a parameter save area + + So enhance wrapawk to create a proper prototype and argument + handling although it's specific to the openat call. Also add the + missing documentation for the sixth column to wrapfunc.inp. + +Signed-off-by: Joel Stanley + +--- a/wrapawk ++++ b/wrapawk +@@ -37,7 +37,25 @@ + argtype=$3; + argname=$4; + MACRO=$5; +- if(MACRO){ ++ openat_extra=$6; ++ if(openat_extra){ ++ print " {(void(*))&next_" name ", \"" name "\"}," > structfile; ++ print "extern " ret " (*next_" name ")" openat_extra ";" > headerfile; ++ print ret " (*next_" name ")" openat_extra "=tmp_" name ";"> deffile; ++ ++ print ret " tmp_" name, openat_extra "{" > tmpffile; ++ print " mode_t mode = 0;" > tmpffile; ++ print " if (flags & O_CREAT) {" > tmpffile; ++ print " va_list args;" > tmpffile; ++ print " va_start(args, flags);" > tmpffile; ++ print " mode = va_arg(args, int);" > tmpffile; ++ print " va_end(args);" > tmpffile; ++ print " }" > tmpffile; ++ print " load_library_symbols();" > tmpffile; ++ print " return next_" name, argname ";" > tmpffile; ++ print "}" > tmpffile; ++ print "" > tmpffile; ++ } else if(MACRO){ + print " {(void(*))&NEXT_" MACRO "_NOARG, " name "_QUOTE}," > structfile; + print "extern " ret " (*NEXT_" MACRO "_NOARG)" argtype ";" > headerfile; + print ret " (*NEXT_" MACRO "_NOARG)" argtype "=TMP_" MACRO ";"> deffile; +--- a/wrapfunc.inp ++++ b/wrapfunc.inp +@@ -9,8 +9,10 @@ + /**/ */ + /* each line of this file lists 4 fields, seperated by a ";". */ + /* The first field is the name of the wrapped function, then it's return */ +-/* value. After that come the function arguments with types, and the last */ ++/* value. After that come the function arguments with types, and the fifth */ + /* field contains the function arguments without types. */ ++/* A sixth field is a special needed when wrapping the openat syscall. */ ++/* Otherwise it's like the third (function arguments with types). */ + /**/ + + /* __*xstat are used on glibc systems instead of just *xstat. */ diff --git a/buildroot-2022.02.1/package/fakeroot/fakeroot.hash b/buildroot-2022.02.1/package/fakeroot/fakeroot.hash new file mode 100644 index 00000000..3d53eeb0 --- /dev/null +++ b/buildroot-2022.02.1/package/fakeroot/fakeroot.hash @@ -0,0 +1,4 @@ +# From http://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.26-1.dsc +sha256 480a578ffdc5592e73df4c086950d321b4adc78dbdaec56c82e4fe1fb68de8e9 fakeroot_1.26.orig.tar.gz +# License files, locally calculated +sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING diff --git a/buildroot-2022.02.1/package/fakeroot/fakeroot.mk b/buildroot-2022.02.1/package/fakeroot/fakeroot.mk new file mode 100644 index 00000000..3fadf1c0 --- /dev/null +++ b/buildroot-2022.02.1/package/fakeroot/fakeroot.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# fakeroot +# +################################################################################ + +FAKEROOT_VERSION = 1.26 +FAKEROOT_SOURCE = fakeroot_$(FAKEROOT_VERSION).orig.tar.gz +FAKEROOT_SITE = https://snapshot.debian.org/archive/debian/20210907T092512Z/pool/main/f/fakeroot + +HOST_FAKEROOT_DEPENDENCIES = host-acl +# Force capabilities detection off +# For now these are process capabilities (faked) rather than file +# so they're of no real use +HOST_FAKEROOT_CONF_ENV = \ + ac_cv_header_sys_capability_h=no \ + ac_cv_func_capset=no +FAKEROOT_LICENSE = GPL-3.0+ +FAKEROOT_LICENSE_FILES = COPYING + +define HOST_FAKEROOT_BUILD_AUX + mkdir -p $(@D)/build-aux +endef +HOST_FAKEROOT_POST_PATCH_HOOKS += HOST_FAKEROOT_BUILD_AUX + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/faketime/Config.in.host b/buildroot-2022.02.1/package/faketime/Config.in.host similarity index 100% rename from buildroot-2021.05/package/faketime/Config.in.host rename to buildroot-2022.02.1/package/faketime/Config.in.host diff --git a/buildroot-2021.05/package/faketime/faketime.hash b/buildroot-2022.02.1/package/faketime/faketime.hash similarity index 100% rename from buildroot-2021.05/package/faketime/faketime.hash rename to buildroot-2022.02.1/package/faketime/faketime.hash diff --git a/buildroot-2021.05/package/faketime/faketime.mk b/buildroot-2022.02.1/package/faketime/faketime.mk similarity index 100% rename from buildroot-2021.05/package/faketime/faketime.mk rename to buildroot-2022.02.1/package/faketime/faketime.mk diff --git a/buildroot-2021.05/package/fan-ctrl/Config.in b/buildroot-2022.02.1/package/fan-ctrl/Config.in similarity index 100% rename from buildroot-2021.05/package/fan-ctrl/Config.in rename to buildroot-2022.02.1/package/fan-ctrl/Config.in diff --git a/buildroot-2021.05/package/fan-ctrl/fan-ctrl.hash b/buildroot-2022.02.1/package/fan-ctrl/fan-ctrl.hash similarity index 100% rename from buildroot-2021.05/package/fan-ctrl/fan-ctrl.hash rename to buildroot-2022.02.1/package/fan-ctrl/fan-ctrl.hash diff --git a/buildroot-2021.05/package/fan-ctrl/fan-ctrl.mk b/buildroot-2022.02.1/package/fan-ctrl/fan-ctrl.mk similarity index 100% rename from buildroot-2021.05/package/fan-ctrl/fan-ctrl.mk rename to buildroot-2022.02.1/package/fan-ctrl/fan-ctrl.mk diff --git a/buildroot-2022.02.1/package/fastd/Config.in b/buildroot-2022.02.1/package/fastd/Config.in new file mode 100644 index 00000000..97fac936 --- /dev/null +++ b/buildroot-2022.02.1/package/fastd/Config.in @@ -0,0 +1,36 @@ +config BR2_PACKAGE_FASTD + bool "fastd" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS # libuecc + select BR2_PACKAGE_LIBUECC + select BR2_PACKAGE_LIBSODIUM + select BR2_PACKAGE_LIBSODIUM_FULL + help + Fast and Secure Tunneling Daemon + + https://github.com/NeoRaider/fastd/wiki + +if BR2_PACKAGE_FASTD + +config BR2_PACKAGE_FASTD_STATUS_SOCKET + bool "status socket support" + default y + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c + select BR2_PACKAGE_JSON_C + help + Enable support for a socket to get fastd's status. + +config BR2_PACKAGE_FASTD_OFFLOAD_L2TP + bool "l2tp offload support" + select BR2_PACKAGE_LIBMNL + help + L2TP can be offloaded to the Linux kernel, significantly + increasing throughput. + +endif + +comment "fastd needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/fastd/fastd.hash b/buildroot-2022.02.1/package/fastd/fastd.hash new file mode 100644 index 00000000..5f7f9665 --- /dev/null +++ b/buildroot-2022.02.1/package/fastd/fastd.hash @@ -0,0 +1,3 @@ +# computed locally +sha256 19750b88705d66811b7c21b672537909c19ae6b21350688cbd1a3a54d08a8951 fastd-22.tar.xz +sha256 adf08b42f1b890b89e998360a864cb4f8441a0a57c9e95e2ce1bfdfc24c49976 COPYRIGHT diff --git a/buildroot-2022.02.1/package/fastd/fastd.mk b/buildroot-2022.02.1/package/fastd/fastd.mk new file mode 100644 index 00000000..5cd6a909 --- /dev/null +++ b/buildroot-2022.02.1/package/fastd/fastd.mk @@ -0,0 +1,55 @@ +################################################################################ +# +# fastd +# +################################################################################ + +FASTD_VERSION = 22 +FASTD_SITE = https://github.com/NeoRaider/fastd/releases/download/v$(FASTD_VERSION) +FASTD_SOURCE = fastd-$(FASTD_VERSION).tar.xz +FASTD_LICENSE = BSD-2-Clause +FASTD_LICENSE_FILES = COPYRIGHT +FASTD_CPE_ID_VERSION = $(FASTD_VERSION).0 +FASTD_DEPENDENCIES = host-bison host-pkgconf libuecc libsodium + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +FASTD_CONF_OPTS += -Dcapabilities=enabled +FASTD_DEPENDENCIES += libcap +else +FASTD_CONF_OPTS += -Dcapabilities=disabled +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +FASTD_CONF_OPTS += -Dcipher_aes128-ctr=enabled +FASTD_DEPENDENCIES += openssl +else +FASTD_CONF_OPTS += -Dcipher_aes128-ctr=disabled +endif + +ifeq ($(BR2_PACKAGE_FASTD_STATUS_SOCKET),y) +FASTD_CONF_OPTS += -Dstatus_socket=enabled +FASTD_DEPENDENCIES += json-c +else +FASTD_CONF_OPTS += -Dstatus_socket=disabled +endif + +ifeq ($(BR2_PACKAGE_FASTD_OFFLOAD_L2TP),y) +FASTD_CONF_OPTS += -Doffload_l2tp=enabled -Dlibmnl_builtin=false +FASTD_DEPENDENCIES += libmnl +else +FASTD_CONF_OPTS += -Doffload_l2tp=disabled +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +FASTD_CONF_OPTS += -Dsystemd=enabled +else +FASTD_CONF_OPTS += -Dsystemd=disabled +endif + +ifeq ($(BR2_GCC_ENABLE_LTO),y) +FASTD_CONF_OPTS += -Db_lto=true +else +FASTD_CONF_OPTS += -Db_lto=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/fatcat/Config.in.host b/buildroot-2022.02.1/package/fatcat/Config.in.host similarity index 100% rename from buildroot-2021.05/package/fatcat/Config.in.host rename to buildroot-2022.02.1/package/fatcat/Config.in.host diff --git a/buildroot-2022.02.1/package/fatcat/fatcat.hash b/buildroot-2022.02.1/package/fatcat/fatcat.hash new file mode 100644 index 00000000..56f89edd --- /dev/null +++ b/buildroot-2022.02.1/package/fatcat/fatcat.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 5574f715f62a9feda7fffc8099f8bca7134ff4f1274bb1bc0db96a2969eea206 fatcat-1.1.1.tar.gz +sha256 3ea03755e32cf7f5b12981de92a0fdad396448195fe0024990c9cbc388e9866c LICENSE diff --git a/buildroot-2022.02.1/package/fatcat/fatcat.mk b/buildroot-2022.02.1/package/fatcat/fatcat.mk new file mode 100644 index 00000000..0dff53fa --- /dev/null +++ b/buildroot-2022.02.1/package/fatcat/fatcat.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# fatcat +# +################################################################################ + +FATCAT_VERSION = 1.1.1 +FATCAT_SITE = $(call github,Gregwar,fatcat,v$(FATCAT_VERSION)) +FATCAT_LICENSE = MIT +FATCAT_LICENSE_FILES = LICENSE + +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/fb-test-app/Config.in b/buildroot-2022.02.1/package/fb-test-app/Config.in similarity index 100% rename from buildroot-2021.05/package/fb-test-app/Config.in rename to buildroot-2022.02.1/package/fb-test-app/Config.in diff --git a/buildroot-2022.02.1/package/fb-test-app/fb-test-app.hash b/buildroot-2022.02.1/package/fb-test-app/fb-test-app.hash new file mode 100644 index 00000000..ff7730ef --- /dev/null +++ b/buildroot-2022.02.1/package/fb-test-app/fb-test-app.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 45d490ed78a6e4425d9a760e81e99dc503af01704e17ab5bf186b87a31c5e3db fb-test-app-1.1.1.tar.gz +sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/buildroot-2022.02.1/package/fb-test-app/fb-test-app.mk b/buildroot-2022.02.1/package/fb-test-app/fb-test-app.mk new file mode 100644 index 00000000..89d533ab --- /dev/null +++ b/buildroot-2022.02.1/package/fb-test-app/fb-test-app.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# fb-test-app +# +################################################################################ + +FB_TEST_APP_VERSION = 1.1.1 +FB_TEST_APP_SITE = $(call github,andy-shev,fb-test-app,rosetta-$(FB_TEST_APP_VERSION)) +FB_TEST_APP_LICENSE = GPL-2.0 +FB_TEST_APP_LICENSE_FILES = COPYING + +define FB_TEST_APP_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all +endef + +define FB_TEST_APP_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/perf $(TARGET_DIR)/usr/bin/fb-test-perf + $(INSTALL) -D -m 0755 $(@D)/rect $(TARGET_DIR)/usr/bin/fb-test-rect + $(INSTALL) -D -m 0755 $(@D)/fb-test $(TARGET_DIR)/usr/bin/fb-test + $(INSTALL) -D -m 0755 $(@D)/offset $(TARGET_DIR)/usr/bin/fb-test-offset + $(INSTALL) -D -m 0755 $(@D)/fb-string $(TARGET_DIR)/usr/bin/fb-test-string +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/fbdump/Config.in b/buildroot-2022.02.1/package/fbdump/Config.in similarity index 100% rename from buildroot-2021.05/package/fbdump/Config.in rename to buildroot-2022.02.1/package/fbdump/Config.in diff --git a/buildroot-2021.05/package/fbdump/fbdump.hash b/buildroot-2022.02.1/package/fbdump/fbdump.hash similarity index 100% rename from buildroot-2021.05/package/fbdump/fbdump.hash rename to buildroot-2022.02.1/package/fbdump/fbdump.hash diff --git a/buildroot-2021.05/package/fbdump/fbdump.mk b/buildroot-2022.02.1/package/fbdump/fbdump.mk similarity index 100% rename from buildroot-2021.05/package/fbdump/fbdump.mk rename to buildroot-2022.02.1/package/fbdump/fbdump.mk diff --git a/buildroot-2021.05/package/fbgrab/0001-fix-static-build.patch b/buildroot-2022.02.1/package/fbgrab/0001-fix-static-build.patch similarity index 100% rename from buildroot-2021.05/package/fbgrab/0001-fix-static-build.patch rename to buildroot-2022.02.1/package/fbgrab/0001-fix-static-build.patch diff --git a/buildroot-2021.05/package/fbgrab/Config.in b/buildroot-2022.02.1/package/fbgrab/Config.in similarity index 100% rename from buildroot-2021.05/package/fbgrab/Config.in rename to buildroot-2022.02.1/package/fbgrab/Config.in diff --git a/buildroot-2022.02.1/package/fbgrab/fbgrab.hash b/buildroot-2022.02.1/package/fbgrab/fbgrab.hash new file mode 100644 index 00000000..8cd1ff15 --- /dev/null +++ b/buildroot-2022.02.1/package/fbgrab/fbgrab.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 0202a9c4fb430eee4d8f566d09ab5f6e35c50804a192ba106046e54eb886f8f1 fbgrab-1.5.tar.gz +sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 COPYING diff --git a/buildroot-2022.02.1/package/fbgrab/fbgrab.mk b/buildroot-2022.02.1/package/fbgrab/fbgrab.mk new file mode 100644 index 00000000..693c4c28 --- /dev/null +++ b/buildroot-2022.02.1/package/fbgrab/fbgrab.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# fbgrab +# +################################################################################ + +FBGRAB_VERSION = 1.5 +FBGRAB_SITE = $(call github,GunnarMonell,fbgrab,$(FBGRAB_VERSION)) +FBGRAB_DEPENDENCIES = libpng +FBGRAB_LICENSE = GPL-2.0 +FBGRAB_LICENSE_FILES = COPYING + +define FBGRAB_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) fbgrab +endef + +define FBGRAB_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/fbgrab $(TARGET_DIR)/usr/bin/fbgrab +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/fbset/0001-Fix-musl-compile.patch b/buildroot-2022.02.1/package/fbset/0001-Fix-musl-compile.patch similarity index 100% rename from buildroot-2021.05/package/fbset/0001-Fix-musl-compile.patch rename to buildroot-2022.02.1/package/fbset/0001-Fix-musl-compile.patch diff --git a/buildroot-2021.05/package/fbset/Config.in b/buildroot-2022.02.1/package/fbset/Config.in similarity index 100% rename from buildroot-2021.05/package/fbset/Config.in rename to buildroot-2022.02.1/package/fbset/Config.in diff --git a/buildroot-2021.05/package/fbset/fbset.hash b/buildroot-2022.02.1/package/fbset/fbset.hash similarity index 100% rename from buildroot-2021.05/package/fbset/fbset.hash rename to buildroot-2022.02.1/package/fbset/fbset.hash diff --git a/buildroot-2021.05/package/fbset/fbset.mk b/buildroot-2022.02.1/package/fbset/fbset.mk similarity index 100% rename from buildroot-2021.05/package/fbset/fbset.mk rename to buildroot-2022.02.1/package/fbset/fbset.mk diff --git a/buildroot-2021.05/package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch b/buildroot-2022.02.1/package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch similarity index 100% rename from buildroot-2021.05/package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch rename to buildroot-2022.02.1/package/fbterm/0001-fbio.cpp-improxy.cpp-fbterm.cpp-fix-musl-compile.patch diff --git a/buildroot-2021.05/package/fbterm/0002-mouse.cpp-fix-musl-compile.patch b/buildroot-2022.02.1/package/fbterm/0002-mouse.cpp-fix-musl-compile.patch similarity index 100% rename from buildroot-2021.05/package/fbterm/0002-mouse.cpp-fix-musl-compile.patch rename to buildroot-2022.02.1/package/fbterm/0002-mouse.cpp-fix-musl-compile.patch diff --git a/buildroot-2021.05/package/fbterm/0003-C++11-compliance.patch b/buildroot-2022.02.1/package/fbterm/0003-C++11-compliance.patch similarity index 100% rename from buildroot-2021.05/package/fbterm/0003-C++11-compliance.patch rename to buildroot-2022.02.1/package/fbterm/0003-C++11-compliance.patch diff --git a/buildroot-2021.05/package/fbterm/0004-iconv.patch b/buildroot-2022.02.1/package/fbterm/0004-iconv.patch similarity index 100% rename from buildroot-2021.05/package/fbterm/0004-iconv.patch rename to buildroot-2022.02.1/package/fbterm/0004-iconv.patch diff --git a/buildroot-2021.05/package/fbterm/Config.in b/buildroot-2022.02.1/package/fbterm/Config.in similarity index 100% rename from buildroot-2021.05/package/fbterm/Config.in rename to buildroot-2022.02.1/package/fbterm/Config.in diff --git a/buildroot-2021.05/package/fbterm/fbterm.hash b/buildroot-2022.02.1/package/fbterm/fbterm.hash similarity index 100% rename from buildroot-2021.05/package/fbterm/fbterm.hash rename to buildroot-2022.02.1/package/fbterm/fbterm.hash diff --git a/buildroot-2021.05/package/fbterm/fbterm.mk b/buildroot-2022.02.1/package/fbterm/fbterm.mk similarity index 100% rename from buildroot-2021.05/package/fbterm/fbterm.mk rename to buildroot-2022.02.1/package/fbterm/fbterm.mk diff --git a/buildroot-2021.05/package/fbtft/Config.in b/buildroot-2022.02.1/package/fbtft/Config.in similarity index 100% rename from buildroot-2021.05/package/fbtft/Config.in rename to buildroot-2022.02.1/package/fbtft/Config.in diff --git a/buildroot-2021.05/package/fbtft/fbtft.hash b/buildroot-2022.02.1/package/fbtft/fbtft.hash similarity index 100% rename from buildroot-2021.05/package/fbtft/fbtft.hash rename to buildroot-2022.02.1/package/fbtft/fbtft.hash diff --git a/buildroot-2021.05/package/fbtft/fbtft.mk b/buildroot-2022.02.1/package/fbtft/fbtft.mk similarity index 100% rename from buildroot-2021.05/package/fbtft/fbtft.mk rename to buildroot-2022.02.1/package/fbtft/fbtft.mk diff --git a/buildroot-2021.05/package/fbv/0002-cross.patch b/buildroot-2022.02.1/package/fbv/0002-cross.patch similarity index 100% rename from buildroot-2021.05/package/fbv/0002-cross.patch rename to buildroot-2022.02.1/package/fbv/0002-cross.patch diff --git a/buildroot-2021.05/package/fbv/0003-fix-24bpp-support-on-big-endian.patch b/buildroot-2022.02.1/package/fbv/0003-fix-24bpp-support-on-big-endian.patch similarity index 100% rename from buildroot-2021.05/package/fbv/0003-fix-24bpp-support-on-big-endian.patch rename to buildroot-2022.02.1/package/fbv/0003-fix-24bpp-support-on-big-endian.patch diff --git a/buildroot-2021.05/package/fbv/0004-fix-bgr555.patch b/buildroot-2022.02.1/package/fbv/0004-fix-bgr555.patch similarity index 100% rename from buildroot-2021.05/package/fbv/0004-fix-bgr555.patch rename to buildroot-2022.02.1/package/fbv/0004-fix-bgr555.patch diff --git a/buildroot-2021.05/package/fbv/0005-giflib.patch b/buildroot-2022.02.1/package/fbv/0005-giflib.patch similarity index 100% rename from buildroot-2021.05/package/fbv/0005-giflib.patch rename to buildroot-2022.02.1/package/fbv/0005-giflib.patch diff --git a/buildroot-2021.05/package/fbv/0006-include.patch b/buildroot-2022.02.1/package/fbv/0006-include.patch similarity index 100% rename from buildroot-2021.05/package/fbv/0006-include.patch rename to buildroot-2022.02.1/package/fbv/0006-include.patch diff --git a/buildroot-2021.05/package/fbv/0007-libpng15.patch b/buildroot-2022.02.1/package/fbv/0007-libpng15.patch similarity index 100% rename from buildroot-2021.05/package/fbv/0007-libpng15.patch rename to buildroot-2022.02.1/package/fbv/0007-libpng15.patch diff --git a/buildroot-2021.05/package/fbv/Config.in b/buildroot-2022.02.1/package/fbv/Config.in similarity index 100% rename from buildroot-2021.05/package/fbv/Config.in rename to buildroot-2022.02.1/package/fbv/Config.in diff --git a/buildroot-2021.05/package/fbv/fbv.hash b/buildroot-2022.02.1/package/fbv/fbv.hash similarity index 100% rename from buildroot-2021.05/package/fbv/fbv.hash rename to buildroot-2022.02.1/package/fbv/fbv.hash diff --git a/buildroot-2021.05/package/fbv/fbv.mk b/buildroot-2022.02.1/package/fbv/fbv.mk similarity index 100% rename from buildroot-2021.05/package/fbv/fbv.mk rename to buildroot-2022.02.1/package/fbv/fbv.mk diff --git a/buildroot-2021.05/package/fcgiwrap/0001-use-LIBS-from-configure.patch b/buildroot-2022.02.1/package/fcgiwrap/0001-use-LIBS-from-configure.patch similarity index 100% rename from buildroot-2021.05/package/fcgiwrap/0001-use-LIBS-from-configure.patch rename to buildroot-2022.02.1/package/fcgiwrap/0001-use-LIBS-from-configure.patch diff --git a/buildroot-2021.05/package/fcgiwrap/0002-link-with-libsystemd-instead-of-libsystemd-daemon.patch b/buildroot-2022.02.1/package/fcgiwrap/0002-link-with-libsystemd-instead-of-libsystemd-daemon.patch similarity index 100% rename from buildroot-2021.05/package/fcgiwrap/0002-link-with-libsystemd-instead-of-libsystemd-daemon.patch rename to buildroot-2022.02.1/package/fcgiwrap/0002-link-with-libsystemd-instead-of-libsystemd-daemon.patch diff --git a/buildroot-2021.05/package/fcgiwrap/Config.in b/buildroot-2022.02.1/package/fcgiwrap/Config.in similarity index 100% rename from buildroot-2021.05/package/fcgiwrap/Config.in rename to buildroot-2022.02.1/package/fcgiwrap/Config.in diff --git a/buildroot-2021.05/package/fcgiwrap/fcgiwrap.hash b/buildroot-2022.02.1/package/fcgiwrap/fcgiwrap.hash similarity index 100% rename from buildroot-2021.05/package/fcgiwrap/fcgiwrap.hash rename to buildroot-2022.02.1/package/fcgiwrap/fcgiwrap.hash diff --git a/buildroot-2021.05/package/fcgiwrap/fcgiwrap.mk b/buildroot-2022.02.1/package/fcgiwrap/fcgiwrap.mk similarity index 100% rename from buildroot-2021.05/package/fcgiwrap/fcgiwrap.mk rename to buildroot-2022.02.1/package/fcgiwrap/fcgiwrap.mk diff --git a/buildroot-2021.05/package/fconfig/Config.in b/buildroot-2022.02.1/package/fconfig/Config.in similarity index 100% rename from buildroot-2021.05/package/fconfig/Config.in rename to buildroot-2022.02.1/package/fconfig/Config.in diff --git a/buildroot-2021.05/package/fconfig/fconfig.hash b/buildroot-2022.02.1/package/fconfig/fconfig.hash similarity index 100% rename from buildroot-2021.05/package/fconfig/fconfig.hash rename to buildroot-2022.02.1/package/fconfig/fconfig.hash diff --git a/buildroot-2021.05/package/fconfig/fconfig.mk b/buildroot-2022.02.1/package/fconfig/fconfig.mk similarity index 100% rename from buildroot-2021.05/package/fconfig/fconfig.mk rename to buildroot-2022.02.1/package/fconfig/fconfig.mk diff --git a/buildroot-2021.05/package/fdk-aac/Config.in b/buildroot-2022.02.1/package/fdk-aac/Config.in similarity index 100% rename from buildroot-2021.05/package/fdk-aac/Config.in rename to buildroot-2022.02.1/package/fdk-aac/Config.in diff --git a/buildroot-2022.02.1/package/fdk-aac/fdk-aac.hash b/buildroot-2022.02.1/package/fdk-aac/fdk-aac.hash new file mode 100644 index 00000000..b10d5f92 --- /dev/null +++ b/buildroot-2022.02.1/package/fdk-aac/fdk-aac.hash @@ -0,0 +1,6 @@ +# From https://sourceforge.net/projects/opencore-amr/files/fdk-aac/ +sha1 579b34e8174b4feb21a9c598695f5ff4a7ceef8c fdk-aac-2.0.2.tar.gz +md5 b41222194b31f570b3132bd622a9aef6 fdk-aac-2.0.2.tar.gz +# Locally computed: +sha256 c9e8630cf9d433f3cead74906a1520d2223f89bcd3fa9254861017440b8eb22f fdk-aac-2.0.2.tar.gz +sha256 95ec80da40b4af12ad4c4f3158c9cfb80f2479f3246e4260cb600827cc8c7836 NOTICE diff --git a/buildroot-2022.02.1/package/fdk-aac/fdk-aac.mk b/buildroot-2022.02.1/package/fdk-aac/fdk-aac.mk new file mode 100644 index 00000000..c66f6df7 --- /dev/null +++ b/buildroot-2022.02.1/package/fdk-aac/fdk-aac.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# fdk-aac +# +################################################################################ + +FDK_AAC_VERSION = 2.0.2 +FDK_AAC_SITE = http://downloads.sourceforge.net/project/opencore-amr/fdk-aac +FDK_AAC_LICENSE = fdk-aac license +FDK_AAC_LICENSE_FILES = NOTICE + +FDK_AAC_INSTALL_STAGING = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/feh/Config.in b/buildroot-2022.02.1/package/feh/Config.in similarity index 100% rename from buildroot-2021.05/package/feh/Config.in rename to buildroot-2022.02.1/package/feh/Config.in diff --git a/buildroot-2022.02.1/package/feh/feh.hash b/buildroot-2022.02.1/package/feh/feh.hash new file mode 100644 index 00000000..07c0dd94 --- /dev/null +++ b/buildroot-2022.02.1/package/feh/feh.hash @@ -0,0 +1,3 @@ +# Locally calculated after checking pgp signature +sha256 57ab1ca61f57c96595878069f550d36f518530f88fa31b74cc39cd739f9258b6 feh-3.7.1.tar.bz2 +sha256 2c3a31327dc3cc3331aa6e759d378e4f66d0ece7174a0d5aa137f3cba4bf0509 COPYING diff --git a/buildroot-2022.02.1/package/feh/feh.mk b/buildroot-2022.02.1/package/feh/feh.mk new file mode 100644 index 00000000..3aa509ab --- /dev/null +++ b/buildroot-2022.02.1/package/feh/feh.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# feh +# +################################################################################ + +FEH_VERSION = 3.7.1 +FEH_SOURCE = feh-$(FEH_VERSION).tar.bz2 +FEH_SITE = http://feh.finalrewind.org +FEH_DEPENDENCIES = imlib2 libpng xlib_libXt +FEH_LICENSE = MIT +FEH_LICENSE_FILES = COPYING +FEH_CPE_ID_VENDOR = feh_project + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +FEH_DEPENDENCIES += libcurl +FEH_MAKE_OPTS += curl=1 +else +FEH_MAKE_OPTS += curl=0 +endif + +ifeq ($(BR2_PACKAGE_LIBEXIF),y) +FEH_DEPENDENCIES += libexif +FEH_MAKE_OPTS += exif=1 +else +FEH_MAKE_OPTS += exif=0 +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +FEH_DEPENDENCIES += xlib_libXinerama +FEH_MAKE_OPTS += xinerama=1 +else +FEH_MAKE_OPTS += xinerama=0 +endif + +define FEH_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \ + $(MAKE) $(FEH_MAKE_OPTS) -C $(@D) all +endef + +define FEH_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(FEH_MAKE_OPTS) PREFIX=/usr \ + DESTDIR=$(TARGET_DIR) -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/fetchmail/Config.in b/buildroot-2022.02.1/package/fetchmail/Config.in similarity index 100% rename from buildroot-2021.05/package/fetchmail/Config.in rename to buildroot-2022.02.1/package/fetchmail/Config.in diff --git a/buildroot-2022.02.1/package/fetchmail/fetchmail.hash b/buildroot-2022.02.1/package/fetchmail/fetchmail.hash new file mode 100644 index 00000000..3d4c3da3 --- /dev/null +++ b/buildroot-2022.02.1/package/fetchmail/fetchmail.hash @@ -0,0 +1,4 @@ +# From https://sourceforge.net/p/fetchmail/mailman/message/37388106/ +sha256 9c961df25cd922f539218b0b56a77e7a47778e49ed907edaa5b4941ad3b253cf fetchmail-6.4.24.tar.xz +# Locally computed: +sha256 001d1b8d111a83e3bab8b4d511ea4767d37d3bd0583560fccece630df1ba8f3c COPYING diff --git a/buildroot-2022.02.1/package/fetchmail/fetchmail.mk b/buildroot-2022.02.1/package/fetchmail/fetchmail.mk new file mode 100644 index 00000000..7d6be719 --- /dev/null +++ b/buildroot-2022.02.1/package/fetchmail/fetchmail.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# fetchmail +# +################################################################################ + +FETCHMAIL_VERSION_MAJOR = 6.4 +FETCHMAIL_VERSION = $(FETCHMAIL_VERSION_MAJOR).24 +FETCHMAIL_SOURCE = fetchmail-$(FETCHMAIL_VERSION).tar.xz +FETCHMAIL_SITE = http://downloads.sourceforge.net/project/fetchmail/branch_$(FETCHMAIL_VERSION_MAJOR) +FETCHMAIL_LICENSE = GPL-2.0; some exceptions are mentioned in COPYING +FETCHMAIL_LICENSE_FILES = COPYING +FETCHMAIL_CPE_ID_VENDOR = fetchmail +FETCHMAIL_SELINUX_MODULES = fetchmail mta + +FETCHMAIL_CONF_OPTS = \ + --with-ssl=$(STAGING_DIR)/usr + +FETCHMAIL_DEPENDENCIES = \ + ca-certificates \ + host-pkgconf \ + openssl \ + $(TARGET_NLS_DEPENDENCIES) + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch b/buildroot-2022.02.1/package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch similarity index 100% rename from buildroot-2021.05/package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch rename to buildroot-2022.02.1/package/ffmpeg/0001-swscale-x86-yuv2rgb-Fix-build-without-SSSE3.patch diff --git a/buildroot-2021.05/package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch b/buildroot-2022.02.1/package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch similarity index 100% rename from buildroot-2021.05/package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch rename to buildroot-2022.02.1/package/ffmpeg/0002-avcodec-vaapi_h264-skip-decode-if-pic-has-no-slices.patch diff --git a/buildroot-2022.02.1/package/ffmpeg/0003-libavutil-Fix-mips-build.patch b/buildroot-2022.02.1/package/ffmpeg/0003-libavutil-Fix-mips-build.patch new file mode 100644 index 00000000..8b81e669 --- /dev/null +++ b/buildroot-2022.02.1/package/ffmpeg/0003-libavutil-Fix-mips-build.patch @@ -0,0 +1,72 @@ +From 6e8daf0d502a2a822f1f08f42368d7d676dc1a9e Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sun, 6 Jun 2021 08:54:53 +0200 +Subject: [PATCH] libavutil: Fix mips build + +Check for sys/auxv.h because not all toolchains contain this header. + +Fixes https://trac.ffmpeg.org/ticket/9138 + +Patch sent upstream: +http://ffmpeg.org/pipermail/ffmpeg-devel/2021-June/281272.html + +Signed-off-by: Bernd Kuhls +--- + configure | 2 ++ + libavutil/mips/cpu.c | 6 +++--- + 2 files changed, 5 insertions(+), 3 deletions(-) + +diff --git a/configure b/configure +index 6bfd98b384..773a7d516c 100755 +--- a/configure ++++ b/configure +@@ -2161,6 +2161,7 @@ HEADERS_LIST=" + opencv2_core_core_c_h + OpenGL_gl3_h + poll_h ++ sys_auxv_h + sys_param_h + sys_resource_h + sys_select_h +@@ -6218,6 +6219,7 @@ check_func_headers VideoToolbox/VTCompressionSession.h VTCompressionSessionPrepa + check_headers windows.h + check_headers X11/extensions/XvMClib.h + check_headers asm/types.h ++check_headers sys/auxv.h + + # it seems there are versions of clang in some distros that try to use the + # gcc headers, which explodes for stdatomic +diff --git a/libavutil/mips/cpu.c b/libavutil/mips/cpu.c +index 59619d54de..19196de50b 100644 +--- a/libavutil/mips/cpu.c ++++ b/libavutil/mips/cpu.c +@@ -19,7 +19,7 @@ + #include "libavutil/cpu.h" + #include "libavutil/cpu_internal.h" + #include "config.h" +-#if defined __linux__ || defined __ANDROID__ ++#if (defined __linux__ || defined __ANDROID__) && HAVE_SYS_AUXV_H + #include + #include + #include +@@ -28,7 +28,7 @@ + #include "libavutil/avstring.h" + #endif + +-#if defined __linux__ || defined __ANDROID__ ++#if (defined __linux__ || defined __ANDROID__) && HAVE_SYS_AUXV_H + + #define HWCAP_LOONGSON_CPUCFG (1 << 14) + +@@ -105,7 +105,7 @@ static int cpu_flags_cpuinfo(void) + + int ff_get_cpu_flags_mips(void) + { +-#if defined __linux__ || defined __ANDROID__ ++#if (defined __linux__ || defined __ANDROID__) && HAVE_SYS_AUXV_H + if (cpucfg_available()) + return cpu_flags_cpucfg(); + else +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/ffmpeg/0004-configure-add-extralibs-to-extralibs_xxx.patch b/buildroot-2022.02.1/package/ffmpeg/0004-configure-add-extralibs-to-extralibs_xxx.patch new file mode 100644 index 00000000..dbc19c1c --- /dev/null +++ b/buildroot-2022.02.1/package/ffmpeg/0004-configure-add-extralibs-to-extralibs_xxx.patch @@ -0,0 +1,47 @@ +From 0c288853630b7b4e004774c39945d4a804afcfa8 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 6 Aug 2021 09:17:20 +0200 +Subject: [PATCH] configure: add extralibs to extralibs_xxx + +Add extralibs to extralibs_xxx (e.g. extralibs_avformat) to allow +applications such as motion to retrieve ffmpeg dependencies such as +-latomic through pkg-config + +Signed-off-by: Fabrice Fontaine +[Upstream status: not upstreamable] +--- + configure | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/configure b/configure +index 0bb3a7cf2b..3bda99e415 100755 +--- a/configure ++++ b/configure +@@ -7602,15 +7602,15 @@ rpath=$(enabled rpath && echo "-Wl,-rpath,\${libdir}") + source_path=${source_path} + LIBPREF=${LIBPREF} + LIBSUF=${LIBSUF} +-extralibs_avutil="$avutil_extralibs" +-extralibs_avcodec="$avcodec_extralibs" +-extralibs_avformat="$avformat_extralibs" +-extralibs_avdevice="$avdevice_extralibs" +-extralibs_avfilter="$avfilter_extralibs" +-extralibs_avresample="$avresample_extralibs" +-extralibs_postproc="$postproc_extralibs" +-extralibs_swscale="$swscale_extralibs" +-extralibs_swresample="$swresample_extralibs" ++extralibs_avutil="$avutil_extralibs $extralibs" ++extralibs_avcodec="$avcodec_extralibs $extralibs" ++extralibs_avformat="$avformat_extralibs $extralibs" ++extralibs_avdevice="$avdevice_extralibs $extralibs" ++extralibs_avfilter="$avfilter_extralibs $extralibs" ++extralibs_avresample="$avresample_extralibs $extralibs" ++extralibs_postproc="$postproc_extralibs $extralibs" ++extralibs_swscale="$swscale_extralibs $extralibs" ++extralibs_swresample="$swresample_extralibs $extralibs" + EOF + + for lib in $LIBRARY_LIST; do +-- +2.30.2 + diff --git a/buildroot-2021.05/package/ffmpeg/Config.in b/buildroot-2022.02.1/package/ffmpeg/Config.in similarity index 100% rename from buildroot-2021.05/package/ffmpeg/Config.in rename to buildroot-2022.02.1/package/ffmpeg/Config.in diff --git a/buildroot-2022.02.1/package/ffmpeg/ffmpeg.hash b/buildroot-2022.02.1/package/ffmpeg/ffmpeg.hash new file mode 100644 index 00000000..abb397f8 --- /dev/null +++ b/buildroot-2022.02.1/package/ffmpeg/ffmpeg.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02 ffmpeg-4.4.1.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 +sha256 b634ab5640e258563c536e658cad87080553df6f34f62269a21d554844e58bfe COPYING.LGPLv2.1 +sha256 cb48bf09a11f5fb576cddb0431c8f5ed0a60157a9ec942adffc13907cbe083f2 LICENSE.md diff --git a/buildroot-2022.02.1/package/ffmpeg/ffmpeg.mk b/buildroot-2022.02.1/package/ffmpeg/ffmpeg.mk new file mode 100644 index 00000000..5a79faed --- /dev/null +++ b/buildroot-2022.02.1/package/ffmpeg/ffmpeg.mk @@ -0,0 +1,576 @@ +################################################################################ +# +# ffmpeg +# +################################################################################ + +FFMPEG_VERSION = 4.4.1 +FFMPEG_SOURCE = ffmpeg-$(FFMPEG_VERSION).tar.xz +FFMPEG_SITE = http://ffmpeg.org/releases +FFMPEG_INSTALL_STAGING = YES + +FFMPEG_LICENSE = LGPL-2.1+, libjpeg license +FFMPEG_LICENSE_FILES = LICENSE.md COPYING.LGPLv2.1 +ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y) +FFMPEG_LICENSE += and GPL-2.0+ +FFMPEG_LICENSE_FILES += COPYING.GPLv2 +endif + +FFMPEG_CPE_ID_VENDOR = ffmpeg + +FFMPEG_CONF_OPTS = \ + --prefix=/usr \ + --enable-avfilter \ + --disable-version3 \ + --enable-logging \ + --enable-optimizations \ + --disable-extra-warnings \ + --enable-avdevice \ + --enable-avcodec \ + --enable-avformat \ + --enable-network \ + --disable-gray \ + --enable-swscale-alpha \ + --disable-small \ + --enable-dct \ + --enable-fft \ + --enable-mdct \ + --enable-rdft \ + --disable-crystalhd \ + --disable-dxva2 \ + --enable-runtime-cpudetect \ + --disable-hardcoded-tables \ + --disable-mipsdsp \ + --disable-mipsdspr2 \ + --disable-msa \ + --enable-hwaccels \ + --disable-cuda \ + --disable-cuvid \ + --disable-nvenc \ + --disable-avisynth \ + --disable-frei0r \ + --disable-libopencore-amrnb \ + --disable-libopencore-amrwb \ + --disable-libdc1394 \ + --disable-libgsm \ + --disable-libilbc \ + --disable-libvo-amrwbenc \ + --disable-symver \ + --disable-doc + +FFMPEG_DEPENDENCIES += host-pkgconf + +ifeq ($(BR2_PACKAGE_FFMPEG_GPL),y) +FFMPEG_CONF_OPTS += --enable-gpl +else +FFMPEG_CONF_OPTS += --disable-gpl +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_NONFREE),y) +FFMPEG_CONF_OPTS += --enable-nonfree +else +FFMPEG_CONF_OPTS += --disable-nonfree +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_FFMPEG),y) +FFMPEG_CONF_OPTS += --enable-ffmpeg +else +FFMPEG_CONF_OPTS += --disable-ffmpeg +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_FFPLAY),y) +FFMPEG_DEPENDENCIES += sdl2 +FFMPEG_CONF_OPTS += --enable-ffplay +FFMPEG_CONF_ENV += SDL_CONFIG=$(STAGING_DIR)/usr/bin/sdl2-config +else +FFMPEG_CONF_OPTS += --disable-ffplay +endif + +ifeq ($(BR2_PACKAGE_LIBV4L),y) +FFMPEG_DEPENDENCIES += libv4l +FFMPEG_CONF_OPTS += --enable-libv4l2 +else +FFMPEG_CONF_OPTS += --disable-libv4l2 +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y) +FFMPEG_CONF_OPTS += --enable-avresample +else +FFMPEG_CONF_OPTS += --disable-avresample +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_FFPROBE),y) +FFMPEG_CONF_OPTS += --enable-ffprobe +else +FFMPEG_CONF_OPTS += --disable-ffprobe +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_XCBGRAB),y) +FFMPEG_CONF_OPTS += \ + --enable-libxcb \ + --enable-libxcb-shape \ + --enable-libxcb-shm \ + --enable-libxcb-xfixes +FFMPEG_DEPENDENCIES += libxcb +else +FFMPEG_CONF_OPTS += --disable-libxcb +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y) +FFMPEG_CONF_OPTS += --enable-postproc +else +FFMPEG_CONF_OPTS += --disable-postproc +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y) +FFMPEG_CONF_OPTS += --enable-swscale +else +FFMPEG_CONF_OPTS += --disable-swscale +endif + +ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_ENCODERS)),all) +FFMPEG_CONF_OPTS += --disable-encoders \ + $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_ENCODERS)),--enable-encoder=$(x)) +endif + +ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_DECODERS)),all) +FFMPEG_CONF_OPTS += --disable-decoders \ + $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_DECODERS)),--enable-decoder=$(x)) +endif + +ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_MUXERS)),all) +FFMPEG_CONF_OPTS += --disable-muxers \ + $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_MUXERS)),--enable-muxer=$(x)) +endif + +ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_DEMUXERS)),all) +FFMPEG_CONF_OPTS += --disable-demuxers \ + $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_DEMUXERS)),--enable-demuxer=$(x)) +endif + +ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_PARSERS)),all) +FFMPEG_CONF_OPTS += --disable-parsers \ + $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_PARSERS)),--enable-parser=$(x)) +endif + +ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_BSFS)),all) +FFMPEG_CONF_OPTS += --disable-bsfs \ + $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_BSFS)),--enable-bsf=$(x)) +endif + +ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_PROTOCOLS)),all) +FFMPEG_CONF_OPTS += --disable-protocols \ + $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_PROTOCOLS)),--enable-protocol=$(x)) +endif + +ifneq ($(call qstrip,$(BR2_PACKAGE_FFMPEG_FILTERS)),all) +FFMPEG_CONF_OPTS += --disable-filters \ + $(foreach x,$(call qstrip,$(BR2_PACKAGE_FFMPEG_FILTERS)),--enable-filter=$(x)) +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_INDEVS),y) +FFMPEG_CONF_OPTS += --enable-indevs +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +FFMPEG_CONF_OPTS += --enable-alsa +FFMPEG_DEPENDENCIES += alsa-lib +else +FFMPEG_CONF_OPTS += --disable-alsa +endif +else +FFMPEG_CONF_OPTS += --disable-indevs +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_OUTDEVS),y) +FFMPEG_CONF_OPTS += --enable-outdevs +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +FFMPEG_DEPENDENCIES += alsa-lib +endif +else +FFMPEG_CONF_OPTS += --disable-outdevs +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +FFMPEG_CONF_OPTS += --enable-pthreads +else +FFMPEG_CONF_OPTS += --disable-pthreads +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +FFMPEG_CONF_OPTS += --enable-zlib +FFMPEG_DEPENDENCIES += zlib +else +FFMPEG_CONF_OPTS += --disable-zlib +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +FFMPEG_CONF_OPTS += --enable-bzlib +FFMPEG_DEPENDENCIES += bzip2 +else +FFMPEG_CONF_OPTS += --disable-bzlib +endif + +ifeq ($(BR2_PACKAGE_FDK_AAC)$(BR2_PACKAGE_FFMPEG_NONFREE),yy) +FFMPEG_CONF_OPTS += --enable-libfdk-aac +FFMPEG_DEPENDENCIES += fdk-aac +else +FFMPEG_CONF_OPTS += --disable-libfdk-aac +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_GPL)$(BR2_PACKAGE_LIBCDIO_PARANOIA),yy) +FFMPEG_CONF_OPTS += --enable-libcdio +FFMPEG_DEPENDENCIES += libcdio-paranoia +else +FFMPEG_CONF_OPTS += --disable-libcdio +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +FFMPEG_CONF_OPTS += --enable-gnutls --disable-openssl +FFMPEG_DEPENDENCIES += gnutls +else +FFMPEG_CONF_OPTS += --disable-gnutls +ifeq ($(BR2_PACKAGE_OPENSSL),y) +# openssl isn't license compatible with GPL +ifeq ($(BR2_PACKAGE_FFMPEG_GPL)x$(BR2_PACKAGE_FFMPEG_NONFREE),yx) +FFMPEG_CONF_OPTS += --disable-openssl +else +FFMPEG_CONF_OPTS += --enable-openssl +FFMPEG_DEPENDENCIES += openssl +endif +else +FFMPEG_CONF_OPTS += --disable-openssl +endif +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_GPL)$(BR2_PACKAGE_LIBEBUR128),yy) +FFMPEG_DEPENDENCIES += libebur128 +endif + +ifeq ($(BR2_PACKAGE_LIBDRM),y) +FFMPEG_CONF_OPTS += --enable-libdrm +FFMPEG_DEPENDENCIES += libdrm +else +FFMPEG_CONF_OPTS += --disable-libdrm +endif + +ifeq ($(BR2_PACKAGE_LIBOPENH264),y) +FFMPEG_CONF_OPTS += --enable-libopenh264 +FFMPEG_DEPENDENCIES += libopenh264 +else +FFMPEG_CONF_OPTS += --disable-libopenh264 +endif + +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +FFMPEG_DEPENDENCIES += libvorbis +FFMPEG_CONF_OPTS += \ + --enable-libvorbis \ + --enable-muxer=ogg \ + --enable-encoder=libvorbis +endif + +ifeq ($(BR2_PACKAGE_LIBVA),y) +FFMPEG_CONF_OPTS += --enable-vaapi +FFMPEG_DEPENDENCIES += libva +else +FFMPEG_CONF_OPTS += --disable-vaapi +endif + +ifeq ($(BR2_PACKAGE_LIBVDPAU),y) +FFMPEG_CONF_OPTS += --enable-vdpau +FFMPEG_DEPENDENCIES += libvdpau +else +FFMPEG_CONF_OPTS += --disable-vdpau +endif + +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +FFMPEG_CONF_OPTS += --enable-mmal --enable-omx --enable-omx-rpi \ + --extra-cflags=-I$(STAGING_DIR)/usr/include/IL +FFMPEG_DEPENDENCIES += rpi-userland +else +FFMPEG_CONF_OPTS += --disable-mmal --disable-omx --disable-omx-rpi +endif + +# To avoid a circular dependency only use opencv if opencv itself does +# not depend on ffmpeg. +ifeq ($(BR2_PACKAGE_OPENCV3_LIB_IMGPROC)x$(BR2_PACKAGE_OPENCV3_WITH_FFMPEG),yx) +FFMPEG_CONF_OPTS += --enable-libopencv +FFMPEG_DEPENDENCIES += opencv3 +else +FFMPEG_CONF_OPTS += --disable-libopencv +endif + +ifeq ($(BR2_PACKAGE_OPUS),y) +FFMPEG_CONF_OPTS += --enable-libopus +FFMPEG_DEPENDENCIES += opus +else +FFMPEG_CONF_OPTS += --disable-libopus +endif + +ifeq ($(BR2_PACKAGE_LIBVPX),y) +FFMPEG_CONF_OPTS += --enable-libvpx +FFMPEG_DEPENDENCIES += libvpx +else +FFMPEG_CONF_OPTS += --disable-libvpx +endif + +ifeq ($(BR2_PACKAGE_LIBASS),y) +FFMPEG_CONF_OPTS += --enable-libass +FFMPEG_DEPENDENCIES += libass +else +FFMPEG_CONF_OPTS += --disable-libass +endif + +ifeq ($(BR2_PACKAGE_LIBBLURAY),y) +FFMPEG_CONF_OPTS += --enable-libbluray +FFMPEG_DEPENDENCIES += libbluray +else +FFMPEG_CONF_OPTS += --disable-libbluray +endif + +ifeq ($(BR2_PACKAGE_INTEL_MEDIASDK),y) +FFMPEG_CONF_OPTS += --enable-libmfx +FFMPEG_DEPENDENCIES += intel-mediasdk +else +FFMPEG_CONF_OPTS += --disable-libmfx +endif + +ifeq ($(BR2_PACKAGE_RTMPDUMP),y) +FFMPEG_CONF_OPTS += --enable-librtmp +FFMPEG_DEPENDENCIES += rtmpdump +else +FFMPEG_CONF_OPTS += --disable-librtmp +endif + +ifeq ($(BR2_PACKAGE_LAME),y) +FFMPEG_CONF_OPTS += --enable-libmp3lame +FFMPEG_DEPENDENCIES += lame +else +FFMPEG_CONF_OPTS += --disable-libmp3lame +endif + +ifeq ($(BR2_PACKAGE_LIBMODPLUG),y) +FFMPEG_CONF_OPTS += --enable-libmodplug +FFMPEG_DEPENDENCIES += libmodplug +else +FFMPEG_CONF_OPTS += --disable-libmodplug +endif + +ifeq ($(BR2_PACKAGE_SPEEX),y) +FFMPEG_CONF_OPTS += --enable-libspeex +FFMPEG_DEPENDENCIES += speex +else +FFMPEG_CONF_OPTS += --disable-libspeex +endif + +ifeq ($(BR2_PACKAGE_LIBTHEORA),y) +FFMPEG_CONF_OPTS += --enable-libtheora +FFMPEG_DEPENDENCIES += libtheora +else +FFMPEG_CONF_OPTS += --disable-libtheora +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +FFMPEG_CONF_OPTS += --enable-iconv +FFMPEG_DEPENDENCIES += libiconv +else +FFMPEG_CONF_OPTS += --disable-iconv +endif + +# ffmpeg freetype support require fenv.h which is only +# available/working on glibc. +# The microblaze variant doesn't provide the needed exceptions +ifeq ($(BR2_PACKAGE_FREETYPE)$(BR2_TOOLCHAIN_USES_GLIBC)x$(BR2_microblaze),yyx) +FFMPEG_CONF_OPTS += --enable-libfreetype +FFMPEG_DEPENDENCIES += freetype +else +FFMPEG_CONF_OPTS += --disable-libfreetype +endif + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +FFMPEG_CONF_OPTS += --enable-fontconfig +FFMPEG_DEPENDENCIES += fontconfig +else +FFMPEG_CONF_OPTS += --disable-fontconfig +endif + +ifeq ($(BR2_PACKAGE_OPENJPEG),y) +FFMPEG_CONF_OPTS += --enable-libopenjpeg +FFMPEG_DEPENDENCIES += openjpeg +else +FFMPEG_CONF_OPTS += --disable-libopenjpeg +endif + +ifeq ($(BR2_PACKAGE_X264)$(BR2_PACKAGE_FFMPEG_GPL),yy) +FFMPEG_CONF_OPTS += --enable-libx264 +FFMPEG_DEPENDENCIES += x264 +else +FFMPEG_CONF_OPTS += --disable-libx264 +endif + +ifeq ($(BR2_PACKAGE_X265)$(BR2_PACKAGE_FFMPEG_GPL),yy) +FFMPEG_CONF_OPTS += --enable-libx265 +FFMPEG_DEPENDENCIES += x265 +else +FFMPEG_CONF_OPTS += --disable-libx265 +endif + +ifeq ($(BR2_PACKAGE_DAV1D),y) +FFMPEG_CONF_OPTS += --enable-libdav1d +FFMPEG_DEPENDENCIES += dav1d +else +FFMPEG_CONF_OPTS += --disable-libdav1d +endif + +ifeq ($(BR2_X86_CPU_HAS_MMX),y) +FFMPEG_CONF_OPTS += --enable-x86asm +FFMPEG_DEPENDENCIES += host-nasm +else +FFMPEG_CONF_OPTS += --disable-x86asm +FFMPEG_CONF_OPTS += --disable-mmx +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE),y) +FFMPEG_CONF_OPTS += --enable-sse +else +FFMPEG_CONF_OPTS += --disable-sse +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE2),y) +FFMPEG_CONF_OPTS += --enable-sse2 +else +FFMPEG_CONF_OPTS += --disable-sse2 +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE3),y) +FFMPEG_CONF_OPTS += --enable-sse3 +else +FFMPEG_CONF_OPTS += --disable-sse3 +endif + +ifeq ($(BR2_X86_CPU_HAS_SSSE3),y) +FFMPEG_CONF_OPTS += --enable-ssse3 +else +FFMPEG_CONF_OPTS += --disable-ssse3 +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE4),y) +FFMPEG_CONF_OPTS += --enable-sse4 +else +FFMPEG_CONF_OPTS += --disable-sse4 +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE42),y) +FFMPEG_CONF_OPTS += --enable-sse42 +else +FFMPEG_CONF_OPTS += --disable-sse42 +endif + +ifeq ($(BR2_X86_CPU_HAS_AVX),y) +FFMPEG_CONF_OPTS += --enable-avx +else +FFMPEG_CONF_OPTS += --disable-avx +endif + +ifeq ($(BR2_X86_CPU_HAS_AVX2),y) +FFMPEG_CONF_OPTS += --enable-avx2 +else +FFMPEG_CONF_OPTS += --disable-avx2 +endif + +# Explicitly disable everything that doesn't match for ARM +# FFMPEG "autodetects" by compiling an extended instruction via AS +# This works on compilers that aren't built for generic by default +ifeq ($(BR2_ARM_CPU_ARMV4),y) +FFMPEG_CONF_OPTS += --disable-armv5te +endif +ifeq ($(BR2_ARM_CPU_ARMV6)$(BR2_ARM_CPU_ARMV7A),y) +FFMPEG_CONF_OPTS += --enable-armv6 +else +FFMPEG_CONF_OPTS += --disable-armv6 --disable-armv6t2 +endif +ifeq ($(BR2_ARM_CPU_HAS_VFPV2),y) +FFMPEG_CONF_OPTS += --enable-vfp +else +FFMPEG_CONF_OPTS += --disable-vfp +endif +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +FFMPEG_CONF_OPTS += --enable-neon +else ifeq ($(BR2_aarch64),y) +FFMPEG_CONF_OPTS += --enable-neon +else +FFMPEG_CONF_OPTS += --disable-neon +endif + +ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) +ifeq ($(BR2_MIPS_SOFT_FLOAT),y) +FFMPEG_CONF_OPTS += --disable-mipsfpu +else +FFMPEG_CONF_OPTS += --enable-mipsfpu +endif + +# Fix build failure on several missing assembly instructions +FFMPEG_CONF_OPTS += --disable-asm +endif # MIPS + +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) +FFMPEG_CONF_OPTS += --enable-altivec +else +FFMPEG_CONF_OPTS += --disable-altivec +endif + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +FFMPEG_CONF_OPTS += --extra-libs=-latomic +endif + +ifeq ($(BR2_STATIC_LIBS),) +FFMPEG_CONF_OPTS += --enable-pic +else +FFMPEG_CONF_OPTS += --disable-pic +endif + +# Default to --cpu=generic for MIPS architecture, in order to avoid a +# warning from ffmpeg's configure script. +ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) +FFMPEG_CONF_OPTS += --cpu=generic +else ifneq ($(GCC_TARGET_CPU),) +FFMPEG_CONF_OPTS += --cpu="$(GCC_TARGET_CPU)" +else ifneq ($(GCC_TARGET_ARCH),) +FFMPEG_CONF_OPTS += --cpu="$(GCC_TARGET_ARCH)" +endif + +FFMPEG_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +FFMPEG_CONF_OPTS += --disable-optimizations +FFMPEG_CFLAGS += -O0 +endif + +FFMPEG_CONF_ENV += CFLAGS="$(FFMPEG_CFLAGS)" +FFMPEG_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_FFMPEG_EXTRACONF)) + +# Override FFMPEG_CONFIGURE_CMDS: FFmpeg does not support --target and others +define FFMPEG_CONFIGURE_CMDS + (cd $(FFMPEG_SRCDIR) && rm -rf config.cache && \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + $(FFMPEG_CONF_ENV) \ + ./configure \ + --enable-cross-compile \ + --cross-prefix=$(TARGET_CROSS) \ + --sysroot=$(STAGING_DIR) \ + --host-cc="$(HOSTCC)" \ + --arch=$(BR2_ARCH) \ + --target-os="linux" \ + --disable-stripping \ + --pkg-config="$(PKG_CONFIG_HOST_BINARY)" \ + $(SHARED_STATIC_LIBS_OPTS) \ + $(FFMPEG_CONF_OPTS) \ + ) +endef + +define FFMPEG_REMOVE_EXAMPLE_SRC_FILES + rm -rf $(TARGET_DIR)/usr/share/ffmpeg/examples +endef +FFMPEG_POST_INSTALL_TARGET_HOOKS += FFMPEG_REMOVE_EXAMPLE_SRC_FILES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fftw/Config.in b/buildroot-2022.02.1/package/fftw/Config.in similarity index 100% rename from buildroot-2021.05/package/fftw/Config.in rename to buildroot-2022.02.1/package/fftw/Config.in diff --git a/buildroot-2021.05/package/fftw/fftw-double/Config.in b/buildroot-2022.02.1/package/fftw/fftw-double/Config.in similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-double/Config.in rename to buildroot-2022.02.1/package/fftw/fftw-double/Config.in diff --git a/buildroot-2021.05/package/fftw/fftw-double/fftw-double.hash b/buildroot-2022.02.1/package/fftw/fftw-double/fftw-double.hash similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-double/fftw-double.hash rename to buildroot-2022.02.1/package/fftw/fftw-double/fftw-double.hash diff --git a/buildroot-2021.05/package/fftw/fftw-double/fftw-double.mk b/buildroot-2022.02.1/package/fftw/fftw-double/fftw-double.mk similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-double/fftw-double.mk rename to buildroot-2022.02.1/package/fftw/fftw-double/fftw-double.mk diff --git a/buildroot-2021.05/package/fftw/fftw-long-double/Config.in b/buildroot-2022.02.1/package/fftw/fftw-long-double/Config.in similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-long-double/Config.in rename to buildroot-2022.02.1/package/fftw/fftw-long-double/Config.in diff --git a/buildroot-2021.05/package/fftw/fftw-long-double/fftw-long-double.hash b/buildroot-2022.02.1/package/fftw/fftw-long-double/fftw-long-double.hash similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-long-double/fftw-long-double.hash rename to buildroot-2022.02.1/package/fftw/fftw-long-double/fftw-long-double.hash diff --git a/buildroot-2021.05/package/fftw/fftw-long-double/fftw-long-double.mk b/buildroot-2022.02.1/package/fftw/fftw-long-double/fftw-long-double.mk similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-long-double/fftw-long-double.mk rename to buildroot-2022.02.1/package/fftw/fftw-long-double/fftw-long-double.mk diff --git a/buildroot-2021.05/package/fftw/fftw-quad/Config.in b/buildroot-2022.02.1/package/fftw/fftw-quad/Config.in similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-quad/Config.in rename to buildroot-2022.02.1/package/fftw/fftw-quad/Config.in diff --git a/buildroot-2021.05/package/fftw/fftw-quad/fftw-quad.hash b/buildroot-2022.02.1/package/fftw/fftw-quad/fftw-quad.hash similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-quad/fftw-quad.hash rename to buildroot-2022.02.1/package/fftw/fftw-quad/fftw-quad.hash diff --git a/buildroot-2021.05/package/fftw/fftw-quad/fftw-quad.mk b/buildroot-2022.02.1/package/fftw/fftw-quad/fftw-quad.mk similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-quad/fftw-quad.mk rename to buildroot-2022.02.1/package/fftw/fftw-quad/fftw-quad.mk diff --git a/buildroot-2021.05/package/fftw/fftw-single/Config.in b/buildroot-2022.02.1/package/fftw/fftw-single/Config.in similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-single/Config.in rename to buildroot-2022.02.1/package/fftw/fftw-single/Config.in diff --git a/buildroot-2021.05/package/fftw/fftw-single/fftw-single.hash b/buildroot-2022.02.1/package/fftw/fftw-single/fftw-single.hash similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-single/fftw-single.hash rename to buildroot-2022.02.1/package/fftw/fftw-single/fftw-single.hash diff --git a/buildroot-2021.05/package/fftw/fftw-single/fftw-single.mk b/buildroot-2022.02.1/package/fftw/fftw-single/fftw-single.mk similarity index 100% rename from buildroot-2021.05/package/fftw/fftw-single/fftw-single.mk rename to buildroot-2022.02.1/package/fftw/fftw-single/fftw-single.mk diff --git a/buildroot-2021.05/package/fftw/fftw.hash b/buildroot-2022.02.1/package/fftw/fftw.hash similarity index 100% rename from buildroot-2021.05/package/fftw/fftw.hash rename to buildroot-2022.02.1/package/fftw/fftw.hash diff --git a/buildroot-2021.05/package/fftw/fftw.mk b/buildroot-2022.02.1/package/fftw/fftw.mk similarity index 100% rename from buildroot-2021.05/package/fftw/fftw.mk rename to buildroot-2022.02.1/package/fftw/fftw.mk diff --git a/buildroot-2021.05/package/ficl/0001-fix-Makefile.patch b/buildroot-2022.02.1/package/ficl/0001-fix-Makefile.patch similarity index 100% rename from buildroot-2021.05/package/ficl/0001-fix-Makefile.patch rename to buildroot-2022.02.1/package/ficl/0001-fix-Makefile.patch diff --git a/buildroot-2021.05/package/ficl/Config.in b/buildroot-2022.02.1/package/ficl/Config.in similarity index 100% rename from buildroot-2021.05/package/ficl/Config.in rename to buildroot-2022.02.1/package/ficl/Config.in diff --git a/buildroot-2021.05/package/ficl/ficl.hash b/buildroot-2022.02.1/package/ficl/ficl.hash similarity index 100% rename from buildroot-2021.05/package/ficl/ficl.hash rename to buildroot-2022.02.1/package/ficl/ficl.hash diff --git a/buildroot-2021.05/package/ficl/ficl.mk b/buildroot-2022.02.1/package/ficl/ficl.mk similarity index 100% rename from buildroot-2021.05/package/ficl/ficl.mk rename to buildroot-2022.02.1/package/ficl/ficl.mk diff --git a/buildroot-2021.05/package/file/Config.in b/buildroot-2022.02.1/package/file/Config.in similarity index 100% rename from buildroot-2021.05/package/file/Config.in rename to buildroot-2022.02.1/package/file/Config.in diff --git a/buildroot-2022.02.1/package/file/file.hash b/buildroot-2022.02.1/package/file/file.hash new file mode 100644 index 00000000..33875776 --- /dev/null +++ b/buildroot-2022.02.1/package/file/file.hash @@ -0,0 +1,7 @@ +# Locally calculated after verifying signature +# ftp://ftp.astron.com/pub/file/file-5.41.tar.gz.asc +# using key BE04995BA8F90ED0C0C176C471112AB16CB33B3A +sha256 13e532c7b364f7d57e23dfeea3147103150cb90593a57af86c10e4f6e411603f file-5.41.tar.gz +sha256 0bfa856a9930bddadbef95d1be1cf4e163c0be618e76ea3275caaf255283e274 COPYING +sha256 4ccb60d623884ef637af4a5bc16b2cb350163e2135e967655837336019a64462 src/mygetopt.h +sha256 c4fa92d6504b88484a12140fe3e24b9b29b0112717f94b1ff4205d54828b1c70 src/vasprintf.c diff --git a/buildroot-2022.02.1/package/file/file.mk b/buildroot-2022.02.1/package/file/file.mk new file mode 100644 index 00000000..c0697546 --- /dev/null +++ b/buildroot-2022.02.1/package/file/file.mk @@ -0,0 +1,52 @@ +################################################################################ +# +# file +# +################################################################################ + +FILE_VERSION = 5.41 +FILE_SITE = ftp://ftp.astron.com/pub/file +FILE_LICENSE = BSD-2-Clause, BSD-4-Clause (one file), BSD-3-Clause (one file) +FILE_LICENSE_FILES = COPYING src/mygetopt.h src/vasprintf.c +FILE_CPE_ID_VENDOR = file_project + +FILE_AUTORECONF = YES + +FILE_DEPENDENCIES = host-file +FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' +FILE_INSTALL_STAGING = YES + +HOST_FILE_DEPENDENCIES = host-zlib +HOST_FILE_CONF_OPTS = --disable-libseccomp +HOST_FILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' + +ifeq ($(BR2_PACKAGE_BZIP2),y) +FILE_CONF_OPTS += --enable-bzlib +FILE_DEPENDENCIES += bzip2 +else +FILE_CONF_OPTS += --disable-bzlib +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +FILE_CONF_OPTS += --enable-libseccomp +FILE_DEPENDENCIES += libseccomp +else +FILE_CONF_OPTS += --disable-libseccomp +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +FILE_CONF_OPTS += --enable-xzlib +FILE_DEPENDENCIES += xz +else +FILE_CONF_OPTS += --disable-xzlib +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +FILE_CONF_OPTS += --enable-zlib +FILE_DEPENDENCIES += zlib +else +FILE_CONF_OPTS += --disable-zlib +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/filemq/Config.in b/buildroot-2022.02.1/package/filemq/Config.in similarity index 100% rename from buildroot-2021.05/package/filemq/Config.in rename to buildroot-2022.02.1/package/filemq/Config.in diff --git a/buildroot-2022.02.1/package/filemq/filemq.hash b/buildroot-2022.02.1/package/filemq/filemq.hash new file mode 100644 index 00000000..cf81eb4f --- /dev/null +++ b/buildroot-2022.02.1/package/filemq/filemq.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 bdec8584a181e1c9a1d9be567768bcf8c3f7132ea701dd1829f74370c6536991 filemq-af4768dcaf2fcb8083a32bad107a22ecb7a5d954.tar.gz +sha256 60222c28c1a7f6a92c7df98e5c5f4459e624e6e285e0b9b94467af5f6ab3343d LICENSE diff --git a/buildroot-2022.02.1/package/filemq/filemq.mk b/buildroot-2022.02.1/package/filemq/filemq.mk new file mode 100644 index 00000000..665d6da2 --- /dev/null +++ b/buildroot-2022.02.1/package/filemq/filemq.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# filemq +# +################################################################################ + +FILEMQ_VERSION = af4768dcaf2fcb8083a32bad107a22ecb7a5d954 +FILEMQ_SITE = $(call github,zeromq,filemq,$(FILEMQ_VERSION)) + +FILEMQ_AUTORECONF = YES +FILEMQ_CONF_ENV = filemq_have_asciidoc=no +FILEMQ_INSTALL_STAGING = YES +FILEMQ_DEPENDENCIES = czmq openssl zeromq +FILEMQ_LICENSE = MPL-2.0 +FILEMQ_LICENSE_FILES = LICENSE + +define FILEMQ_CREATE_CONFIG_DIR + mkdir -p $(@D)/config +endef + +FILEMQ_POST_PATCH_HOOKS += FILEMQ_CREATE_CONFIG_DIR + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/findutils/Config.in b/buildroot-2022.02.1/package/findutils/Config.in similarity index 100% rename from buildroot-2021.05/package/findutils/Config.in rename to buildroot-2022.02.1/package/findutils/Config.in diff --git a/buildroot-2022.02.1/package/findutils/findutils.hash b/buildroot-2022.02.1/package/findutils/findutils.hash new file mode 100644 index 00000000..0284c0e7 --- /dev/null +++ b/buildroot-2022.02.1/package/findutils/findutils.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 a2bfb8c09d436770edc59f50fa483e785b161a3b7b9d547573cb08065fd462fe findutils-4.9.0.tar.xz + +# Hash for license file +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2022.02.1/package/findutils/findutils.mk b/buildroot-2022.02.1/package/findutils/findutils.mk new file mode 100644 index 00000000..9731a350 --- /dev/null +++ b/buildroot-2022.02.1/package/findutils/findutils.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# findutils +# +################################################################################ + +FINDUTILS_VERSION = 4.9.0 +FINDUTILS_SOURCE = findutils-$(FINDUTILS_VERSION).tar.xz +FINDUTILS_SITE = $(BR2_GNU_MIRROR)/findutils +FINDUTILS_LICENSE = GPL-3.0+ +FINDUTILS_LICENSE_FILES = COPYING +FINDUTILS_CPE_ID_VENDOR = gnu +FINDUTILS_CONF_ENV = \ + gl_cv_func_stdin=yes \ + ac_cv_func_working_mktime=yes \ + gl_cv_func_wcwidth_works=yes + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +FINDUTILS_DEPENDENCIES += libselinux +FINDUTILS_CONF_OPTS += --with-selinux +else +FINDUTILS_CONF_OPTS += --without-selinux +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/fio/Config.in b/buildroot-2022.02.1/package/fio/Config.in new file mode 100644 index 00000000..7825209b --- /dev/null +++ b/buildroot-2022.02.1/package/fio/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_FIO + bool "fio" + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_TOOLCHAIN_HAS_THREADS + # fio uses fallocate() which becomes fallocate64() while compiling with + # largefile support, but fallocate64() is not available on nios2 + depends on !BR2_nios2 + help + fio is an I/O tool meant to be used both for benchmark + and stress/hardware verification. + + http://git.kernel.dk/?p=fio.git;a=summary + +comment "fio needs a toolchain w/ dynamic library, threads, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_nios2 + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/fio/fio.hash b/buildroot-2022.02.1/package/fio/fio.hash new file mode 100644 index 00000000..891ca4e4 --- /dev/null +++ b/buildroot-2022.02.1/package/fio/fio.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 859dca5241e5494d86c4aa1531a984cc556789c78e56b30d6070acfbdd193a8c fio-3.28.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 8a240c1ad13d1fe3e58588643d81d0695899be4a669fe6d8fafa76ca6a89db2c MORAL-LICENSE diff --git a/buildroot-2022.02.1/package/fio/fio.mk b/buildroot-2022.02.1/package/fio/fio.mk new file mode 100644 index 00000000..13818b60 --- /dev/null +++ b/buildroot-2022.02.1/package/fio/fio.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# fio +# +################################################################################ + +FIO_VERSION = 3.28 +FIO_SITE = http://brick.kernel.dk/snaps +FIO_LICENSE = GPL-2.0 +FIO_LICENSE_FILES = COPYING MORAL-LICENSE + +ifeq ($(BR2_PACKAGE_LIBAIO),y) +FIO_DEPENDENCIES += libaio +endif + +ifeq ($(BR2_PACKAGE_LIBNFS),y) +FIO_DEPENDENCIES += libnfs +endif + +ifeq ($(BR2_PACKAGE_NUMACTL),y) +FIO_DEPENDENCIES += numactl +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +FIO_DEPENDENCIES += zlib +endif + +define FIO_CONFIGURE_CMDS + (cd $(@D); $(TARGET_MAKE_ENV) ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)") +endef + +define FIO_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define FIO_INSTALL_TARGET_CMDS + $(INSTALL) -D $(@D)/fio $(TARGET_DIR)/usr/bin/fio +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/firmware-utils/Config.in b/buildroot-2022.02.1/package/firmware-utils/Config.in new file mode 100644 index 00000000..77533607 --- /dev/null +++ b/buildroot-2022.02.1/package/firmware-utils/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_FIRMWARE_UTILS + bool "firmware-utils" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_ZLIB + help + Firmware utils are tools that can be used for managing + platform / device / vendor specific firmware images. Depending + on a specific tool it may be possible to read information, + extract data, modify or build an image from a scratch. + + A common target usage of firmware utils is to upgrade kernel + and / or rootfs. Depending on device it may be required to + extract a part of firmware image and flash it. + + https://git.openwrt.org/?p=project/firmware-utils.git;a=summary + +comment "firmware-utils needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/firmware-utils/Config.in.host b/buildroot-2022.02.1/package/firmware-utils/Config.in.host new file mode 100644 index 00000000..4aaec050 --- /dev/null +++ b/buildroot-2022.02.1/package/firmware-utils/Config.in.host @@ -0,0 +1,12 @@ +config BR2_PACKAGE_HOST_FIRMWARE_UTILS + bool "host firmware-utils" + help + Firmware utils are tools that can be used for managing + platform / device / vendor specific firmware images. Depending + on a specific tool it may be possible to read information, + extract data, modify or build an image from a scratch. + + A common host usage of firmware utils is to build a bootloader + supported image. + + https://git.openwrt.org/?p=project/firmware-utils.git;a=summary diff --git a/buildroot-2022.02.1/package/firmware-utils/firmware-utils.hash b/buildroot-2022.02.1/package/firmware-utils/firmware-utils.hash new file mode 100644 index 00000000..16197cab --- /dev/null +++ b/buildroot-2022.02.1/package/firmware-utils/firmware-utils.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 0df1b7912d68822025f9bb6a7ddfdf9675e2116d34c3c74bbdc83defcefe203c firmware-utils-86739f2b3ae9502368b89ef37fa6f31c42aad6f4-br1.tar.gz diff --git a/buildroot-2022.02.1/package/firmware-utils/firmware-utils.mk b/buildroot-2022.02.1/package/firmware-utils/firmware-utils.mk new file mode 100644 index 00000000..d5b079e4 --- /dev/null +++ b/buildroot-2022.02.1/package/firmware-utils/firmware-utils.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# firmware-utils +# +################################################################################ + +FIRMWARE_UTILS_VERSION = 86739f2b3ae9502368b89ef37fa6f31c42aad6f4 +FIRMWARE_UTILS_SITE = https://git.openwrt.org/project/firmware-utils.git +FIRMWARE_UTILS_SITE_METHOD = git +FIRMWARE_UTILS_LICENSE = \ + BSD-2-Clause (tplink-safeloader), \ + BSD-3-Clause (seama), \ + GPL-2.0 (add_header, bcmalgo, buffalo-enc, buffalo-lib, buffalo-tag, \ + buffalo-tftp, dgfirmware, dns313-header, edimax_fw_header, \ + fix-u-media-header, hcsmakeimage, mkbrncmdline, mkbrnimg, \ + mkbuffaloimg, mkcameofw, mkcasfw, mkdapimg, mkdapimg2, \ + mkdhpimg, mkdniimg, mkhilinkfw, mkmerakifw-old, mkmerakifw, \ + mkplanexfw, mkporayfw, mkrasimage, mkrtn56uimg, mksenaofw, \ + mksercommfw, mktitanimg, mktplinkfw-lib, mktplinkfw, \ + mktplinkfw2, mkwrggimg, mkwrgimg, mkzcfw, mkzynfw, \ + mkzyxelzldfw osbridge-crc, pc1crypt, srec2bin, trx2edips, \ + uimage_padhdr, wrt400n, zyimage, zytrx), \ + GPL-2.0+ (addpattern, asustrx, bcm4908asus, bcm4908kernel, dgn3500sum, \ + encode_crc, jcgimage, lzma2eva, makeamitbin, mkchkimg, \ + mkcsysimg, mkdlinkfw-lib, mkdlinkfw, mkedimaximg, mkfwimage, \ + mkfwimage2, mkheader_gemtek, mkmylofw, motorola-bin, \ + nec-enc, oseama, otrx, ptgen, sign_dlink_ru, spw303v, trx, \ + uimage_sgehdr, xiaomifw, xorimage, zyxbcm), \ + GPL-2.0 OR GPL-3.0 (nand_ecc), \ + GPL-2.0+ OR MIT (lxlfw), \ + UNKNOWN (imagetag, trx2usr) +# No explicit license file. We could use the source files, but that would mean +# we need to use all of them. If we need to do that, we can just as well leave +# it to the integrator to get them from the sources + +FIRMWARE_UTILS_DEPENDENCIES = openssl zlib +HOST_FIRMWARE_UTILS_DEPENDENCIES = host-openssl host-zlib + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2022.02.1/package/flac/0001-Fix-uclibc-build.patch b/buildroot-2022.02.1/package/flac/0001-Fix-uclibc-build.patch new file mode 100644 index 00000000..fcba670f --- /dev/null +++ b/buildroot-2022.02.1/package/flac/0001-Fix-uclibc-build.patch @@ -0,0 +1,81 @@ +From 4c62082f64132bfcbcb6569aa914c5ec283303f9 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 21 Feb 2022 18:21:11 +0100 +Subject: [PATCH] Fix uclibc build + +Commit 4fbb6d4f2ecf2a96c17ea9880108409f852c08a9 reverted commit +44036c9a9b45d03373fe90e9c112852bfc054c51 and so broke again the build on +uclibc + +So put back the sys/auxv.h check as well as a getauxval check in a way +that doesn't break iOS + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/xiph/flac/pull/292] +--- + configure.ac | 5 ++++- + src/libFLAC/cpu.c | 9 ++++----- + 2 files changed, 8 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4d7dc2e4..6f32fa45 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -69,7 +69,7 @@ AC_C_INLINE + AC_C_VARARRAYS + AC_C_TYPEOF + +-AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/param.h sys/ioctl.h termios.h x86intrin.h cpuid.h]) ++AC_CHECK_HEADERS([stdint.h inttypes.h byteswap.h sys/auxv.h sys/param.h sys/ioctl.h termios.h x86intrin.h cpuid.h]) + + XIPH_C_BSWAP32 + XIPH_C_BSWAP16 +@@ -101,6 +101,9 @@ fi + # For the XMMS plugin. + AC_CHECK_TYPES(socklen_t, [], []) + ++dnl check for getauxval in standard library ++AC_CHECK_FUNCS(getauxval) ++ + dnl check for getopt in standard library + dnl AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) + AC_CHECK_FUNCS(getopt_long, [], []) +diff --git a/src/libFLAC/cpu.c b/src/libFLAC/cpu.c +index 8b92f4c7..64c6acad 100644 +--- a/src/libFLAC/cpu.c ++++ b/src/libFLAC/cpu.c +@@ -53,11 +53,9 @@ + #define dfprintf(file, format, ...) + #endif + +-#if defined FLAC__CPU_PPC +-#if defined(__linux__) || (defined(__FreeBSD__) && (__FreeBSD__ >= 12)) ++#if defined(HAVE_SYS_AUXV_H) + #include + #endif +-#endif + + #if (defined FLAC__CPU_IA32 || defined FLAC__CPU_X86_64) && (defined FLAC__HAS_NASM || FLAC__HAS_X86INTRIN) && !defined FLAC__NO_ASM + +@@ -247,7 +245,7 @@ ppc_cpu_info (FLAC__CPUInfo *info) + #define PPC_FEATURE2_ARCH_2_07 0x80000000 + #endif + +-#ifdef __linux__ ++#if defined (__linux__) && defined(HAVE_GETAUXVAL) + if (getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_3_00) { + info->ppc.arch_3_00 = true; + } else if (getauxval(AT_HWCAP2) & PPC_FEATURE2_ARCH_2_07) { +@@ -267,7 +265,8 @@ ppc_cpu_info (FLAC__CPUInfo *info) + info->ppc.arch_2_07 = false; + info->ppc.arch_3_00 = false; + #else +-#error Unsupported platform! Please add support for reading ppc hwcaps. ++ info->ppc.arch_2_07 = false; ++ info->ppc.arch_3_00 = false; + #endif + + #else +-- +2.34.1 + diff --git a/buildroot-2021.05/package/flac/Config.in b/buildroot-2022.02.1/package/flac/Config.in similarity index 100% rename from buildroot-2021.05/package/flac/Config.in rename to buildroot-2022.02.1/package/flac/Config.in diff --git a/buildroot-2022.02.1/package/flac/flac.hash b/buildroot-2022.02.1/package/flac/flac.hash new file mode 100644 index 00000000..2444535e --- /dev/null +++ b/buildroot-2022.02.1/package/flac/flac.hash @@ -0,0 +1,8 @@ +# From https://ftp.osuosl.org/pub/xiph/releases/flac/SHA1SUMS +sha1 99c28482a8b2d81deaf740639e4cb55658427420 flac-1.3.4.tar.xz +# From http://downloads.xiph.org/releases/flac/SHA256SUMS.txt +sha256 8ff0607e75a322dd7cd6ec48f4f225471404ae2730d0ea945127b1355155e737 flac-1.3.4.tar.xz +# Locally computed +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL +sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING.LGPL +sha256 fa27cb11f13f97b0c5f3ff363b1e2610c6efe87ed175779cb2a78e44eb19d34c COPYING.Xiph diff --git a/buildroot-2022.02.1/package/flac/flac.mk b/buildroot-2022.02.1/package/flac/flac.mk new file mode 100644 index 00000000..3a18d815 --- /dev/null +++ b/buildroot-2022.02.1/package/flac/flac.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# flac +# +################################################################################ + +FLAC_VERSION = 1.3.4 +FLAC_SITE = http://downloads.xiph.org/releases/flac +FLAC_SOURCE = flac-$(FLAC_VERSION).tar.xz +FLAC_INSTALL_STAGING = YES +FLAC_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) +FLAC_LICENSE = Xiph BSD-like (libFLAC), GPL-2.0+ (tools), LGPL-2.1+ (other libraries) +FLAC_LICENSE_FILES = COPYING.Xiph COPYING.GPL COPYING.LGPL +FLAC_CPE_ID_VENDOR = flac_project + +# patch touching configure.ac +FLAC_AUTORECONF = YES + +FLAC_CONF_OPTS = \ + $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cpplibs,--disable-cpplibs) \ + --disable-xmms-plugin \ + --disable-altivec \ + --disable-stack-smash-protection \ + --disable-vsx + +ifeq ($(BR2_PACKAGE_LIBOGG),y) +FLAC_CONF_OPTS += --with-ogg=$(STAGING_DIR)/usr +FLAC_DEPENDENCIES += libogg +else +FLAC_CONF_OPTS += --disable-ogg +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE),y) +FLAC_DEPENDENCIES += host-nasm +FLAC_CONF_OPTS += --enable-sse +else +FLAC_CONF_OPTS += --disable-sse +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/flann/0001-src-cpp-fix-cmake-3.11-build.patch b/buildroot-2022.02.1/package/flann/0001-src-cpp-fix-cmake-3.11-build.patch similarity index 100% rename from buildroot-2021.05/package/flann/0001-src-cpp-fix-cmake-3.11-build.patch rename to buildroot-2022.02.1/package/flann/0001-src-cpp-fix-cmake-3.11-build.patch diff --git a/buildroot-2021.05/package/flann/Config.in b/buildroot-2022.02.1/package/flann/Config.in similarity index 100% rename from buildroot-2021.05/package/flann/Config.in rename to buildroot-2022.02.1/package/flann/Config.in diff --git a/buildroot-2021.05/package/flann/flann.hash b/buildroot-2022.02.1/package/flann/flann.hash similarity index 100% rename from buildroot-2021.05/package/flann/flann.hash rename to buildroot-2022.02.1/package/flann/flann.hash diff --git a/buildroot-2021.05/package/flann/flann.mk b/buildroot-2022.02.1/package/flann/flann.mk similarity index 100% rename from buildroot-2021.05/package/flann/flann.mk rename to buildroot-2022.02.1/package/flann/flann.mk diff --git a/buildroot-2022.02.1/package/flannel/Config.in b/buildroot-2022.02.1/package/flannel/Config.in new file mode 100644 index 00000000..eb8d798f --- /dev/null +++ b/buildroot-2022.02.1/package/flannel/Config.in @@ -0,0 +1,15 @@ +comment "flannel needs a toolchain w/ threads" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_FLANNEL + bool "flannel" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + help + Flannel is a virtual network that gives a subnet to each + host for use with container runtimes. + + https://github.com/flannel-io/flannel diff --git a/buildroot-2022.02.1/package/flannel/flannel.hash b/buildroot-2022.02.1/package/flannel/flannel.hash new file mode 100644 index 00000000..0d0f75e6 --- /dev/null +++ b/buildroot-2022.02.1/package/flannel/flannel.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 e17164db3b158d13ce5e40bb7b233790cb186762d929fa4f626baf586d4d63ca v0.14.0.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/flannel/flannel.mk b/buildroot-2022.02.1/package/flannel/flannel.mk new file mode 100644 index 00000000..231cf90d --- /dev/null +++ b/buildroot-2022.02.1/package/flannel/flannel.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# flannel +# +################################################################################ + +FLANNEL_VERSION = 0.14.0 +FLANNEL_SITE = https://github.com/flannel-io/flannel/archive +FLANNEL_SOURCE = v$(FLANNEL_VERSION).tar.gz + +FLANNEL_LICENSE = Apache-2.0 +FLANNEL_LICENSE_FILES = LICENSE + +FLANNEL_LDFLAGS = -X github.com/flannel-io/flannel/version.Version=$(FLANNEL_VERSION) + +# Install flannel to its well known location. +define FLANNEL_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/flannel $(TARGET_DIR)/opt/bin/flanneld + $(INSTALL) -D -m 0755 $(@D)/dist/mk-docker-opts.sh $(TARGET_DIR)/opt/bin/mk-docker-opts.sh +endef + +$(eval $(golang-package)) diff --git a/buildroot-2022.02.1/package/flare-engine/Config.in b/buildroot-2022.02.1/package/flare-engine/Config.in new file mode 100644 index 00000000..9c997c2b --- /dev/null +++ b/buildroot-2022.02.1/package/flare-engine/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_FLARE_ENGINE + bool "flare-engine" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS # SDL2 + select BR2_PACKAGE_LIBPNG # SDL2_IMAGE needs libpng support + select BR2_PACKAGE_SDL2 + select BR2_PACKAGE_SDL2_IMAGE + select BR2_PACKAGE_SDL2_MIXER + select BR2_PACKAGE_SDL2_TTF + select BR2_PACKAGE_TREMOR # for SDL2_mixer ogg support + help + Flare (Free Libre Action Roleplaying Engine) is a simple game + engine built to handle a very specific kind of game: + single-player 2D action RPGs. + Flare is not a reimplementation of an existing game or engine. + It is a tribute to and exploration of the action RPG genre. + + http://flarerpg.org + +comment "flare-engine needs a toolchain w/ C++, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/flare-engine/flare-engine.hash b/buildroot-2022.02.1/package/flare-engine/flare-engine.hash new file mode 100644 index 00000000..7f616938 --- /dev/null +++ b/buildroot-2022.02.1/package/flare-engine/flare-engine.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 287a08532972fa3ac56ce7cb213d21be8be35b529339f61d4eeadbd501c78a8e flare-engine-1.12.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/flare-engine/flare-engine.mk b/buildroot-2022.02.1/package/flare-engine/flare-engine.mk new file mode 100644 index 00000000..cbb7add4 --- /dev/null +++ b/buildroot-2022.02.1/package/flare-engine/flare-engine.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# flare-engine +# +################################################################################ + +FLARE_ENGINE_VERSION = 1.12 +FLARE_ENGINE_SITE = $(call github,flareteam,flare-engine,v$(FLARE_ENGINE_VERSION)) +FLARE_ENGINE_LICENSE = GPL-3.0+ +FLARE_ENGINE_LICENSE_FILES = COPYING + +FLARE_ENGINE_DEPENDENCIES += sdl2 sdl2_image sdl2_mixer sdl2_ttf tremor + +# Don't use /usr/games and /usr/share/games +FLARE_ENGINE_CONF_OPTS += -DBINDIR=bin -DDATADIR=share/flare + +# CMAKE_BUILD_TYPE is only used to set optimization and debug flags, all of +# which we want Buildroot to steer explicitly. Explicitly set a fake build type +# to get this control. +FLARE_ENGINE_CONF_OPTS += -DCMAKE_BUILD_TYPE=Buildroot + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +FLARE_ENGINE_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -O0" +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/flare-game/Config.in b/buildroot-2022.02.1/package/flare-game/Config.in similarity index 100% rename from buildroot-2021.05/package/flare-game/Config.in rename to buildroot-2022.02.1/package/flare-game/Config.in diff --git a/buildroot-2022.02.1/package/flare-game/flare-game.hash b/buildroot-2022.02.1/package/flare-game/flare-game.hash new file mode 100644 index 00000000..3d6d678c --- /dev/null +++ b/buildroot-2022.02.1/package/flare-game/flare-game.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 19a909f2c6e0868baae823bb491e8840d5fb3e0454f00201de8da119772e5160 flare-game-1.12.tar.gz +sha256 3f941b3b89cf7b8370ceb83cc76d2120d471b58735d8ca60238a751a48d7f72f LICENSE.txt diff --git a/buildroot-2022.02.1/package/flare-game/flare-game.mk b/buildroot-2022.02.1/package/flare-game/flare-game.mk new file mode 100644 index 00000000..41f02bec --- /dev/null +++ b/buildroot-2022.02.1/package/flare-game/flare-game.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# flare-game +# +################################################################################ + +FLARE_GAME_VERSION = 1.12 +FLARE_GAME_SITE = $(call github,flareteam,flare-game,v$(FLARE_GAME_VERSION)) +FLARE_GAME_LICENSE = CC-BY-SA-3.0 (data files), GPL-2.0 (GNU Unifont), \ + OFL-1.1 (Liberation Sans) +FLARE_GAME_LICENSE_FILES = LICENSE.txt + +FLARE_GAME_DEPENDENCIES = flare-engine + +# Don't use /usr/share/games +FLARE_GAME_CONF_OPTS += -DDATADIR=share/flare + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/flashbench/Config.in b/buildroot-2022.02.1/package/flashbench/Config.in similarity index 100% rename from buildroot-2021.05/package/flashbench/Config.in rename to buildroot-2022.02.1/package/flashbench/Config.in diff --git a/buildroot-2021.05/package/flashbench/flashbench.hash b/buildroot-2022.02.1/package/flashbench/flashbench.hash similarity index 100% rename from buildroot-2021.05/package/flashbench/flashbench.hash rename to buildroot-2022.02.1/package/flashbench/flashbench.hash diff --git a/buildroot-2022.02.1/package/flashbench/flashbench.mk b/buildroot-2022.02.1/package/flashbench/flashbench.mk new file mode 100644 index 00000000..f5791c3e --- /dev/null +++ b/buildroot-2022.02.1/package/flashbench/flashbench.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# flashbench +# +################################################################################ + +FLASHBENCH_VERSION = 2e30b1968a66147412f21002ea844122a0d5e2f0 +FLASHBENCH_SITE = https://git.linaro.org/people/arnd/flashbench.git +FLASHBENCH_SITE_METHOD = git +FLASHBENCH_LICENSE = GPL-2.0 +FLASHBENCH_LICENSE_FILES = COPYING + +define FLASHBENCH_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) -lrt" +endef + +define FLASHBENCH_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -D $(@D)/flashbench $(TARGET_DIR)/usr/bin/flashbench + $(INSTALL) -m 755 -D $(@D)/erase $(TARGET_DIR)/usr/bin/erase +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/flashrom/0001-Makefile-Fix-building-on-AArch64-NixOS.patch b/buildroot-2022.02.1/package/flashrom/0001-Makefile-Fix-building-on-AArch64-NixOS.patch similarity index 100% rename from buildroot-2021.05/package/flashrom/0001-Makefile-Fix-building-on-AArch64-NixOS.patch rename to buildroot-2022.02.1/package/flashrom/0001-Makefile-Fix-building-on-AArch64-NixOS.patch diff --git a/buildroot-2021.05/package/flashrom/Config.in b/buildroot-2022.02.1/package/flashrom/Config.in similarity index 100% rename from buildroot-2021.05/package/flashrom/Config.in rename to buildroot-2022.02.1/package/flashrom/Config.in diff --git a/buildroot-2021.05/package/flashrom/flashrom.hash b/buildroot-2022.02.1/package/flashrom/flashrom.hash similarity index 100% rename from buildroot-2021.05/package/flashrom/flashrom.hash rename to buildroot-2022.02.1/package/flashrom/flashrom.hash diff --git a/buildroot-2021.05/package/flashrom/flashrom.mk b/buildroot-2022.02.1/package/flashrom/flashrom.mk similarity index 100% rename from buildroot-2021.05/package/flashrom/flashrom.mk rename to buildroot-2022.02.1/package/flashrom/flashrom.mk diff --git a/buildroot-2022.02.1/package/flatbuffers/0001-include-flatbuffers-base.h-fix-build-on-musl.patch b/buildroot-2022.02.1/package/flatbuffers/0001-include-flatbuffers-base.h-fix-build-on-musl.patch new file mode 100644 index 00000000..b4bc0e12 --- /dev/null +++ b/buildroot-2022.02.1/package/flatbuffers/0001-include-flatbuffers-base.h-fix-build-on-musl.patch @@ -0,0 +1,51 @@ +From 0315cef04a5a8a953072691faa48af9acb6009bd Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 10 Aug 2021 13:39:58 +0200 +Subject: [PATCH] include/flatbuffers/base.h: fix build on musl + +Build of applications using flatbuffers such as snort3 are broken on +musl since version 1.11.0 and +https://github.com/google/flatbuffers/commit/5f32f948102e65eaeea461b44f3b43f96c7a7a5a +because strtoll_l (and strtoull_l) are not available on musl. +flatbuffers checks for the availability of strtoull_l in CMakeLists.txt +so flatbuffers builds successfully but for applications using +flatbuffers, the result of this check is not available and +FLATBUFFERS_LOCALE_INDEPENDENT is set to 1 resulting in the following +build failure: + +In file included from /tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/flatbuffers/flexbuffers.h:24, + from /tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/flatbuffers/idl.h:26, + from /tmp/instance-0/output-1/build/snort3-3.1.6.0/src/network_inspectors/perf_monitor/fbs_formatter.cc:29: +/tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/flatbuffers/util.h: In function 'void flatbuffers::strtoval_impl(int64_t*, const char*, char**, int)': +/tmp/instance-0/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/flatbuffers/util.h:258:12: error: 'strtoll_l' was not declared in this scope; did you mean 'strcoll_l'? + 258 | *val = __strtoll_impl(str, endptr, base); + | ^~~~~~~~~~~~~~ + +Fix this failure by checking if __GNUC__ is defined before setting +FLATBUFFERS_LOCALE_INDEPENDENT to 1. + +Fixes: + - http://autobuild.buildroot.org/results/68045b83e94f8caa337b1af7ed5f493ac1a55c47 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/google/flatbuffers/pull/6773] +--- + include/flatbuffers/base.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/include/flatbuffers/base.h b/include/flatbuffers/base.h +index de7898dc..101c7598 100644 +--- a/include/flatbuffers/base.h ++++ b/include/flatbuffers/base.h +@@ -266,7 +266,7 @@ namespace flatbuffers { + #ifndef FLATBUFFERS_LOCALE_INDEPENDENT + // Enable locale independent functions {strtof_l, strtod_l,strtoll_l, strtoull_l}. + #if ((defined(_MSC_VER) && _MSC_VER >= 1800) || \ +- (defined(_XOPEN_VERSION) && (_XOPEN_VERSION>=700)) && (!defined(__ANDROID_API__) || (defined(__ANDROID_API__) && (__ANDROID_API__>=21)))) ++ (defined(__GLIBC__) && defined(_XOPEN_VERSION) && (_XOPEN_VERSION>=700)) && (!defined(__ANDROID_API__) || (defined(__ANDROID_API__) && (__ANDROID_API__>=21)))) + #define FLATBUFFERS_LOCALE_INDEPENDENT 1 + #else + #define FLATBUFFERS_LOCALE_INDEPENDENT 0 +-- +2.30.2 + diff --git a/buildroot-2021.05/package/flatbuffers/Config.in b/buildroot-2022.02.1/package/flatbuffers/Config.in similarity index 100% rename from buildroot-2021.05/package/flatbuffers/Config.in rename to buildroot-2022.02.1/package/flatbuffers/Config.in diff --git a/buildroot-2022.02.1/package/flatbuffers/flatbuffers.hash b/buildroot-2022.02.1/package/flatbuffers/flatbuffers.hash new file mode 100644 index 00000000..b05b9e7b --- /dev/null +++ b/buildroot-2022.02.1/package/flatbuffers/flatbuffers.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 9ddb9031798f4f8754d00fca2f1a68ecf9d0f83dfac7239af1311e4fd9a565c4 flatbuffers-2.0.0.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt diff --git a/buildroot-2022.02.1/package/flatbuffers/flatbuffers.mk b/buildroot-2022.02.1/package/flatbuffers/flatbuffers.mk new file mode 100644 index 00000000..280834c2 --- /dev/null +++ b/buildroot-2022.02.1/package/flatbuffers/flatbuffers.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# flatbuffers +# +################################################################################ + +FLATBUFFERS_VERSION = 2.0.0 +FLATBUFFERS_SITE = $(call github,google,flatbuffers,v$(FLATBUFFERS_VERSION)) +FLATBUFFERS_LICENSE = Apache-2.0 +FLATBUFFERS_LICENSE_FILES = LICENSE.txt +FLATBUFFERS_CPE_ID_VENDOR = google +FLATBUFFERS_INSTALL_STAGING = YES + +FLATBUFFERS_CONF_OPTS += \ + -DCMAKE_CXX_FLAGS="-std=c++11" \ + -DFLATBUFFERS_BUILD_TESTS=OFF + +ifeq ($(BR2_STATIC_LIBS),y) +FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=OFF +else +FLATBUFFERS_CONF_OPTS += -DFLATBUFFERS_BUILD_SHAREDLIB=ON +endif + +HOST_FLATBUFFERS_CONF_OPTS += \ + -DCMAKE_CXX_FLAGS="-std=c++11" \ + -DFLATBUFFERS_BUILD_FLATLIB=OFF \ + -DFLATBUFFERS_BUILD_FLATC=ON \ + -DFLATBUFFERS_BUILD_FLATHASH=OFF \ + -DFLATBUFFERS_BUILD_GRPCTEST=OFF \ + -DFLATBUFFERS_BUILD_SHAREDLIB=OFF \ + -DFLATBUFFERS_BUILD_TESTS=OFF + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/flatcc/Config.in b/buildroot-2022.02.1/package/flatcc/Config.in similarity index 100% rename from buildroot-2021.05/package/flatcc/Config.in rename to buildroot-2022.02.1/package/flatcc/Config.in diff --git a/buildroot-2021.05/package/flatcc/flatcc.hash b/buildroot-2022.02.1/package/flatcc/flatcc.hash similarity index 100% rename from buildroot-2021.05/package/flatcc/flatcc.hash rename to buildroot-2022.02.1/package/flatcc/flatcc.hash diff --git a/buildroot-2021.05/package/flatcc/flatcc.mk b/buildroot-2022.02.1/package/flatcc/flatcc.mk similarity index 100% rename from buildroot-2021.05/package/flatcc/flatcc.mk rename to buildroot-2022.02.1/package/flatcc/flatcc.mk diff --git a/buildroot-2021.05/package/flex/0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch b/buildroot-2022.02.1/package/flex/0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch similarity index 100% rename from buildroot-2021.05/package/flex/0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch rename to buildroot-2022.02.1/package/flex/0001-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch diff --git a/buildroot-2021.05/package/flex/0002-build-make-it-possible-to-disable-the-build-of-the-f.patch b/buildroot-2022.02.1/package/flex/0002-build-make-it-possible-to-disable-the-build-of-the-f.patch similarity index 100% rename from buildroot-2021.05/package/flex/0002-build-make-it-possible-to-disable-the-build-of-the-f.patch rename to buildroot-2022.02.1/package/flex/0002-build-make-it-possible-to-disable-the-build-of-the-f.patch diff --git a/buildroot-2021.05/package/flex/0003-build-make-it-possible-to-disable-the-build-of-the-d.patch b/buildroot-2022.02.1/package/flex/0003-build-make-it-possible-to-disable-the-build-of-the-d.patch similarity index 100% rename from buildroot-2021.05/package/flex/0003-build-make-it-possible-to-disable-the-build-of-the-d.patch rename to buildroot-2022.02.1/package/flex/0003-build-make-it-possible-to-disable-the-build-of-the-d.patch diff --git a/buildroot-2021.05/package/flex/Config.in b/buildroot-2022.02.1/package/flex/Config.in similarity index 100% rename from buildroot-2021.05/package/flex/Config.in rename to buildroot-2022.02.1/package/flex/Config.in diff --git a/buildroot-2021.05/package/flex/flex.hash b/buildroot-2022.02.1/package/flex/flex.hash similarity index 100% rename from buildroot-2021.05/package/flex/flex.hash rename to buildroot-2022.02.1/package/flex/flex.hash diff --git a/buildroot-2021.05/package/flex/flex.mk b/buildroot-2022.02.1/package/flex/flex.mk similarity index 100% rename from buildroot-2021.05/package/flex/flex.mk rename to buildroot-2022.02.1/package/flex/flex.mk diff --git a/buildroot-2021.05/package/flickcurl/Config.in b/buildroot-2022.02.1/package/flickcurl/Config.in similarity index 100% rename from buildroot-2021.05/package/flickcurl/Config.in rename to buildroot-2022.02.1/package/flickcurl/Config.in diff --git a/buildroot-2021.05/package/flickcurl/flickcurl.hash b/buildroot-2022.02.1/package/flickcurl/flickcurl.hash similarity index 100% rename from buildroot-2021.05/package/flickcurl/flickcurl.hash rename to buildroot-2022.02.1/package/flickcurl/flickcurl.hash diff --git a/buildroot-2021.05/package/flickcurl/flickcurl.mk b/buildroot-2022.02.1/package/flickcurl/flickcurl.mk similarity index 100% rename from buildroot-2021.05/package/flickcurl/flickcurl.mk rename to buildroot-2022.02.1/package/flickcurl/flickcurl.mk diff --git a/buildroot-2021.05/package/flite/0001-fix-alsa-static.patch b/buildroot-2022.02.1/package/flite/0001-fix-alsa-static.patch similarity index 100% rename from buildroot-2021.05/package/flite/0001-fix-alsa-static.patch rename to buildroot-2022.02.1/package/flite/0001-fix-alsa-static.patch diff --git a/buildroot-2021.05/package/flite/Config.in b/buildroot-2022.02.1/package/flite/Config.in similarity index 100% rename from buildroot-2021.05/package/flite/Config.in rename to buildroot-2022.02.1/package/flite/Config.in diff --git a/buildroot-2022.02.1/package/flite/flite.hash b/buildroot-2022.02.1/package/flite/flite.hash new file mode 100644 index 00000000..35ec6196 --- /dev/null +++ b/buildroot-2022.02.1/package/flite/flite.hash @@ -0,0 +1,4 @@ +# locally computed hash +sha256 ab1555fe5adc3f99f1d4a1a0eb1596d329fd6d74f1464a0097c81f53c0cf9e5c flite-2.2.tar.gz +# License files, locally calculated +sha256 d31bceaf2823d56a8c9400f7bde3b17140e739e991eb4f203bdcf9827754ab59 COPYING diff --git a/buildroot-2022.02.1/package/flite/flite.mk b/buildroot-2022.02.1/package/flite/flite.mk new file mode 100644 index 00000000..79b2288f --- /dev/null +++ b/buildroot-2022.02.1/package/flite/flite.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# flite +# +################################################################################ + +FLITE_VERSION = 2.2 +FLITE_SITE = $(call github,festvox,flite,v$(FLITE_VERSION)) +FLITE_LICENSE = BSD-4-Clause +FLITE_LICENSE_FILES = COPYING + +FLITE_INSTALL_STAGING = YES +# Patching configure.in +FLITE_AUTORECONF = YES +FLITE_DEPENDENCIES = host-pkgconf + +# Sadly, Flite does not support parallel build, especially when building its +# shared libraries. +FLITE_MAKE = $(MAKE1) + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +FLITE_DEPENDENCIES += alsa-lib +FLITE_CONF_OPTS += --with-audio=alsa +else +FLITE_CONF_OPTS += --with-audio=oss +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/flot/Config.in b/buildroot-2022.02.1/package/flot/Config.in similarity index 100% rename from buildroot-2021.05/package/flot/Config.in rename to buildroot-2022.02.1/package/flot/Config.in diff --git a/buildroot-2021.05/package/flot/flot.hash b/buildroot-2022.02.1/package/flot/flot.hash similarity index 100% rename from buildroot-2021.05/package/flot/flot.hash rename to buildroot-2022.02.1/package/flot/flot.hash diff --git a/buildroot-2021.05/package/flot/flot.mk b/buildroot-2022.02.1/package/flot/flot.mk similarity index 100% rename from buildroot-2021.05/package/flot/flot.mk rename to buildroot-2022.02.1/package/flot/flot.mk diff --git a/buildroot-2021.05/package/fltk/0001-disable-tests.patch b/buildroot-2022.02.1/package/fltk/0001-disable-tests.patch similarity index 100% rename from buildroot-2021.05/package/fltk/0001-disable-tests.patch rename to buildroot-2022.02.1/package/fltk/0001-disable-tests.patch diff --git a/buildroot-2021.05/package/fltk/Config.in b/buildroot-2022.02.1/package/fltk/Config.in similarity index 100% rename from buildroot-2021.05/package/fltk/Config.in rename to buildroot-2022.02.1/package/fltk/Config.in diff --git a/buildroot-2022.02.1/package/fltk/fltk.hash b/buildroot-2022.02.1/package/fltk/fltk.hash new file mode 100644 index 00000000..f8afe0c4 --- /dev/null +++ b/buildroot-2022.02.1/package/fltk/fltk.hash @@ -0,0 +1,5 @@ +# From http://www.fltk.org/software.php?VERSION=1.3.7 +md5 b28470d0509d00633d21bee9b65167f8 fltk-1.3.7-source.tar.bz2 +# Locally generated +sha256 5ff1e90766ff4216e78e9a19a9bf527e6258f04accccd4429e9bb829b01d690d fltk-1.3.7-source.tar.bz2 +sha256 57dd381e713fb309fb7dd85c3c38b274557ecb333475d0f1d65a5f06ad85c9a6 COPYING diff --git a/buildroot-2022.02.1/package/fltk/fltk.mk b/buildroot-2022.02.1/package/fltk/fltk.mk new file mode 100644 index 00000000..7c268393 --- /dev/null +++ b/buildroot-2022.02.1/package/fltk/fltk.mk @@ -0,0 +1,64 @@ +################################################################################ +# +# fltk +# +################################################################################ + +FLTK_VERSION = 1.3.7 +FLTK_SOURCE = fltk-$(FLTK_VERSION)-source.tar.bz2 +FLTK_SITE = http://fltk.org/pub/fltk/$(FLTK_VERSION) +FLTK_INSTALL_STAGING = YES +# We force --libdir=/usr/lib, because by default, it is set to +# ${exec_prefix}/lib, which doesn't match the condition used by the +# fltk build system to decide whether it should pass a -rpath,/usr/lib +# or not. Since this rpath breaks the build, we want the fltk build +# system to not pass it, which requires having --libdir set to +# /usr/lib. +FLTK_CONF_OPTS = --enable-threads --with-x --disable-gl \ + --disable-localjpeg --disable-localpng --disable-localzlib \ + --libdir=/usr/lib +FLTK_DEPENDENCIES = jpeg libpng xlib_libX11 xlib_libXext xlib_libXt +FLTK_CONFIG_SCRIPTS = fltk-config +FLTK_LICENSE = LGPL-2.0 with exceptions +FLTK_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_CAIRO),y) +FLTK_CONF_OPTS += --enable-cairo +FLTK_DEPENDENCIES += cairo +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) +FLTK_DEPENDENCIES += xlib_libXcursor +FLTK_CONF_OPTS += --enable-xcursor +else +FLTK_CONF_OPTS += --disable-xcursor +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) +FLTK_DEPENDENCIES += xlib_libXfixes +FLTK_CONF_OPTS += --enable-xfixes +else +FLTK_CONF_OPTS += --disable-xfixes +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) +FLTK_CONF_ENV += ac_cv_path_FTCONFIG=$(STAGING_DIR)/usr/bin/freetype-config +FLTK_DEPENDENCIES += xlib_libXft +else +FLTK_CONF_OPTS += --disable-xft +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +FLTK_DEPENDENCIES += xlib_libXinerama +else +FLTK_CONF_OPTS += --disable-xinerama +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y) +FLTK_DEPENDENCIES += xlib_libXrender +FLTK_CONF_OPTS += --enable-xrender +else +FLTK_CONF_OPTS += --disable-xrender +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fluid-soundfont/Config.in b/buildroot-2022.02.1/package/fluid-soundfont/Config.in similarity index 100% rename from buildroot-2021.05/package/fluid-soundfont/Config.in rename to buildroot-2022.02.1/package/fluid-soundfont/Config.in diff --git a/buildroot-2021.05/package/fluid-soundfont/fluid-soundfont.hash b/buildroot-2022.02.1/package/fluid-soundfont/fluid-soundfont.hash similarity index 100% rename from buildroot-2021.05/package/fluid-soundfont/fluid-soundfont.hash rename to buildroot-2022.02.1/package/fluid-soundfont/fluid-soundfont.hash diff --git a/buildroot-2021.05/package/fluid-soundfont/fluid-soundfont.mk b/buildroot-2022.02.1/package/fluid-soundfont/fluid-soundfont.mk similarity index 100% rename from buildroot-2021.05/package/fluid-soundfont/fluid-soundfont.mk rename to buildroot-2022.02.1/package/fluid-soundfont/fluid-soundfont.mk diff --git a/buildroot-2022.02.1/package/fluidsynth/Config.in b/buildroot-2022.02.1/package/fluidsynth/Config.in new file mode 100644 index 00000000..376419ce --- /dev/null +++ b/buildroot-2022.02.1/package/fluidsynth/Config.in @@ -0,0 +1,135 @@ +config BR2_PACKAGE_FLUIDSYNTH + bool "fluidsynth" + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + # the .pc file installed by fluidsynth does not mention its + # indirect dependencies in Libs.private. + depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBGLIB2 + help + FluidSynth is a real-time software synthesizer based on the + SoundFont 2 specifications and has reached widespread + distribution. FluidSynth itself does not have a graphical + user interface, but due to its powerful API several + applications utilize it and it has even found its way onto + embedded systems and is used in some mobile apps. + + http://www.fluidsynth.org/ + +if BR2_PACKAGE_FLUIDSYNTH + +comment "Output support" + +config BR2_PACKAGE_FLUIDSYNTH_ALSA_LIB + bool "alsa" + default y + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_RAWMIDI + select BR2_PACKAGE_ALSA_LIB_SEQ + help + Enable alsa support. + +comment "alsa support needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_FLUIDSYNTH_JACK2 + bool "jack2" + # See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908 + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS + depends on BR2_TOOLCHAIN_HAS_THREADS # jack2 + depends on BR2_USE_MMU # jack2 + depends on BR2_INSTALL_LIBSTDCPP # jack2 + depends on !BR2_STATIC_LIBS # jack2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # jack2 + select BR2_PACKAGE_JACK2 + help + Enable jack support. + +comment "jack support needs a toolchain w/ dynamic library, threads, C++" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_FLUIDSYNTH_LIBSNDFILE + bool "libsndfile" + select BR2_PACKAGE_LIBSNDFILE + help + Enable libsndfile support, for writing output to WAV files. + +config BR2_PACKAGE_FLUIDSYNTH_PORTAUDIO + bool "portaudio" + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_PORTAUDIO + help + Enable portaudio support. + +comment "portaudio support needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO + bool "pulseaudio" + # See: https://sourceware.org/bugzilla/show_bug.cgi?id=19908 + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC # pulseaudio + depends on BR2_USE_WCHAR # pulseaudio + depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio + depends on !BR2_STATIC_LIBS # pulseaudio + depends on BR2_USE_MMU # pulseaudio + select BR2_PACKAGE_PULSEAUDIO + help + Enable PulseAudio support. + +comment "pulseaudio support needs a toolchain w/ dynamic library, wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + depends on BR2_STATIC_LIBS || !BR2_USE_MMU || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_FLUIDSYNTH_SDL2 + bool "sdl2" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_SDL2 + help + Enable SDL2 audio support. + +comment "SDL2 audio support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +comment "Misc options" + +config BR2_PACKAGE_FLUIDSYNTH_DBUS + bool "dbus" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU + select BR2_PACKAGE_DBUS + help + Enable dbus support. + +comment "dbus support needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_FLUIDSYNTH_FLOATS + bool "32-bit single precision float" + help + Enable 32-bit single precision float support, instead of + 64-bit double precision floats for DSP samples. + +config BR2_PACKAGE_FLUIDSYNTH_READLINE + bool "readline" + select BR2_PACKAGE_READLINE + help + Enable readline support, for better line editing in FluidSynth + shell. + +endif # BR2_PACKAGE_FLUIDSYNTH + +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library, C++" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/fluidsynth/fluidsynth.hash b/buildroot-2022.02.1/package/fluidsynth/fluidsynth.hash new file mode 100644 index 00000000..20eb9ec4 --- /dev/null +++ b/buildroot-2022.02.1/package/fluidsynth/fluidsynth.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 ca90fe675cacd9a7b442662783c4e7fa0e1fd638b28d64105a4e3fe0f618d20f fluidsynth-2.2.6.tar.gz +sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE diff --git a/buildroot-2022.02.1/package/fluidsynth/fluidsynth.mk b/buildroot-2022.02.1/package/fluidsynth/fluidsynth.mk new file mode 100644 index 00000000..d7c72ed0 --- /dev/null +++ b/buildroot-2022.02.1/package/fluidsynth/fluidsynth.mk @@ -0,0 +1,84 @@ +################################################################################ +# +# fluidsynth +# +################################################################################ + +FLUIDSYNTH_VERSION = 2.2.6 +FLUIDSYNTH_SITE = $(call github,FluidSynth,fluidsynth,v$(FLUIDSYNTH_VERSION)) +FLUIDSYNTH_LICENSE = LGPL-2.1+ +FLUIDSYNTH_LICENSE_FILES = LICENSE +FLUIDSYNTH_CPE_ID_VENDOR = fluidsynth +FLUIDSYNTH_INSTALL_STAGING = YES +FLUIDSYNTH_DEPENDENCIES = libglib2 + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_ALSA_LIB),y) +FLUIDSYNTH_CONF_OPTS += -Denable-alsa=1 +FLUIDSYNTH_DEPENDENCIES += alsa-lib +else +FLUIDSYNTH_CONF_OPTS += -Denable-alsa=0 +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_DBUS),y) +FLUIDSYNTH_CONF_OPTS += -Denable-dbus=1 +FLUIDSYNTH_DEPENDENCIES += dbus +else +FLUIDSYNTH_CONF_OPTS += -Denable-dbus=0 +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_FLOATS),y) +FLUIDSYNTH_CONF_OPTS += -Denable-floats=1 +else +FLUIDSYNTH_CONF_OPTS += -Denable-floats=0 +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_JACK2),y) +FLUIDSYNTH_CONF_OPTS += -Denable-jack=1 +FLUIDSYNTH_DEPENDENCIES += jack2 +else +FLUIDSYNTH_CONF_OPTS += -Denable-jack=0 +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_LIBSNDFILE),y) +FLUIDSYNTH_CONF_OPTS += -Denable-libsndfile=1 +FLUIDSYNTH_DEPENDENCIES += libsndfile +else +FLUIDSYNTH_CONF_OPTS += -Denable-libsndfile=0 +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_PORTAUDIO),y) +FLUIDSYNTH_CONF_OPTS += -Denable-portaudio=1 +FLUIDSYNTH_DEPENDENCIES += portaudio +else +FLUIDSYNTH_CONF_OPTS += -Denable-portaudio=0 +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_PULSEAUDIO),y) +FLUIDSYNTH_CONF_OPTS += -Denable-pulseaudio=1 +FLUIDSYNTH_DEPENDENCIES += pulseaudio +else +FLUIDSYNTH_CONF_OPTS += -Denable-pulseaudio=0 +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_READLINE),y) +FLUIDSYNTH_CONF_OPTS += -Denable-readline=1 +FLUIDSYNTH_DEPENDENCIES += readline +else +FLUIDSYNTH_CONF_OPTS += -Denable-readline=0 +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH_SDL2),y) +FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=1 +FLUIDSYNTH_DEPENDENCIES += sdl2 +else +FLUIDSYNTH_CONF_OPTS += -Denable-sdl2=0 +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +FLUIDSYNTH_CONF_OPTS += -Denable-systemd=1 +FLUIDSYNTH_DEPENDENCIES += systemd +else +FLUIDSYNTH_CONF_OPTS += -Denable-systemd=0 +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/fluxbox/0001-fixes-bug-1138.patch b/buildroot-2022.02.1/package/fluxbox/0001-fixes-bug-1138.patch new file mode 100644 index 00000000..9c02e933 --- /dev/null +++ b/buildroot-2022.02.1/package/fluxbox/0001-fixes-bug-1138.patch @@ -0,0 +1,25 @@ +From 22866c4d30f5b289c429c5ca88d800200db4fc4f Mon Sep 17 00:00:00 2001 +From: John Sennesael +Date: Mon, 2 Nov 2015 15:14:32 -0600 +Subject: [PATCH] fixes bug #1138 + +[Retrieved from: +https://github.com/fluxbox/fluxbox/commit/22866c4d30f5b289c429c5ca88d800200db4fc4f] +Signed-off-by: Fabrice Fontaine +--- + util/fluxbox-remote.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/util/fluxbox-remote.cc b/util/fluxbox-remote.cc +index 59852e6a..504015b5 100644 +--- a/util/fluxbox-remote.cc ++++ b/util/fluxbox-remote.cc +@@ -73,7 +73,7 @@ int main(int argc, char **argv) { + if (strcmp(cmd, "result") == 0) { + XTextProperty text_prop; + if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0 +- && text_prop.value > 0 ++ && text_prop.value != 0 + && text_prop.nitems > 0) { + + printf("%s", text_prop.value); diff --git a/buildroot-2021.05/package/fluxbox/Config.in b/buildroot-2022.02.1/package/fluxbox/Config.in similarity index 100% rename from buildroot-2021.05/package/fluxbox/Config.in rename to buildroot-2022.02.1/package/fluxbox/Config.in diff --git a/buildroot-2021.05/package/fluxbox/fluxbox.hash b/buildroot-2022.02.1/package/fluxbox/fluxbox.hash similarity index 100% rename from buildroot-2021.05/package/fluxbox/fluxbox.hash rename to buildroot-2022.02.1/package/fluxbox/fluxbox.hash diff --git a/buildroot-2021.05/package/fluxbox/fluxbox.mk b/buildroot-2022.02.1/package/fluxbox/fluxbox.mk similarity index 100% rename from buildroot-2021.05/package/fluxbox/fluxbox.mk rename to buildroot-2022.02.1/package/fluxbox/fluxbox.mk diff --git a/buildroot-2021.05/package/fluxbox/xsession b/buildroot-2022.02.1/package/fluxbox/xsession similarity index 100% rename from buildroot-2021.05/package/fluxbox/xsession rename to buildroot-2022.02.1/package/fluxbox/xsession diff --git a/buildroot-2021.05/package/fmc/Config.in b/buildroot-2022.02.1/package/fmc/Config.in similarity index 100% rename from buildroot-2021.05/package/fmc/Config.in rename to buildroot-2022.02.1/package/fmc/Config.in diff --git a/buildroot-2021.05/package/fmc/fmc.hash b/buildroot-2022.02.1/package/fmc/fmc.hash similarity index 100% rename from buildroot-2021.05/package/fmc/fmc.hash rename to buildroot-2022.02.1/package/fmc/fmc.hash diff --git a/buildroot-2021.05/package/fmc/fmc.mk b/buildroot-2022.02.1/package/fmc/fmc.mk similarity index 100% rename from buildroot-2021.05/package/fmc/fmc.mk rename to buildroot-2022.02.1/package/fmc/fmc.mk diff --git a/buildroot-2021.05/package/fmlib/Config.in b/buildroot-2022.02.1/package/fmlib/Config.in similarity index 100% rename from buildroot-2021.05/package/fmlib/Config.in rename to buildroot-2022.02.1/package/fmlib/Config.in diff --git a/buildroot-2021.05/package/fmlib/fmlib.hash b/buildroot-2022.02.1/package/fmlib/fmlib.hash similarity index 100% rename from buildroot-2021.05/package/fmlib/fmlib.hash rename to buildroot-2022.02.1/package/fmlib/fmlib.hash diff --git a/buildroot-2021.05/package/fmlib/fmlib.mk b/buildroot-2022.02.1/package/fmlib/fmlib.mk similarity index 100% rename from buildroot-2021.05/package/fmlib/fmlib.mk rename to buildroot-2022.02.1/package/fmlib/fmlib.mk diff --git a/buildroot-2021.05/package/fmt/Config.in b/buildroot-2022.02.1/package/fmt/Config.in similarity index 100% rename from buildroot-2021.05/package/fmt/Config.in rename to buildroot-2022.02.1/package/fmt/Config.in diff --git a/buildroot-2022.02.1/package/fmt/fmt.hash b/buildroot-2022.02.1/package/fmt/fmt.hash new file mode 100644 index 00000000..79956c25 --- /dev/null +++ b/buildroot-2022.02.1/package/fmt/fmt.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 23778bad8edba12d76e4075da06db591f3b0e3c6c04928ced4a7282ca3400e5d fmt-8.1.1.zip +sha256 825c9324e70f8c839c8ba910543dd4a7daee243b86ef960594c11381a19980b8 LICENSE.rst diff --git a/buildroot-2022.02.1/package/fmt/fmt.mk b/buildroot-2022.02.1/package/fmt/fmt.mk new file mode 100644 index 00000000..be7ffb02 --- /dev/null +++ b/buildroot-2022.02.1/package/fmt/fmt.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# fmt +# +################################################################################ + +FMT_VERSION = 8.1.1 +FMT_SITE = https://github.com/fmtlib/fmt/releases/download/$(FMT_VERSION) +FMT_SOURCE = fmt-$(FMT_VERSION).zip +FMT_LICENSE = MIT with exception +FMT_LICENSE_FILES = LICENSE.rst +FMT_CPE_ID_VENDOR = fmt +FMT_INSTALL_STAGING = YES + +FMT_CONF_OPTS = \ + -DFMT_INSTALL=ON \ + -DFMT_TEST=OFF + +define FMT_EXTRACT_CMDS + $(UNZIP) -d $(BUILD_DIR) $(FMT_DL_DIR)/$(FMT_SOURCE) +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/fmtools/Config.in b/buildroot-2022.02.1/package/fmtools/Config.in similarity index 100% rename from buildroot-2021.05/package/fmtools/Config.in rename to buildroot-2022.02.1/package/fmtools/Config.in diff --git a/buildroot-2021.05/package/fmtools/fmtools.hash b/buildroot-2022.02.1/package/fmtools/fmtools.hash similarity index 100% rename from buildroot-2021.05/package/fmtools/fmtools.hash rename to buildroot-2022.02.1/package/fmtools/fmtools.hash diff --git a/buildroot-2021.05/package/fmtools/fmtools.mk b/buildroot-2022.02.1/package/fmtools/fmtools.mk similarity index 100% rename from buildroot-2021.05/package/fmtools/fmtools.mk rename to buildroot-2022.02.1/package/fmtools/fmtools.mk diff --git a/buildroot-2021.05/package/font-awesome/Config.in b/buildroot-2022.02.1/package/font-awesome/Config.in similarity index 100% rename from buildroot-2021.05/package/font-awesome/Config.in rename to buildroot-2022.02.1/package/font-awesome/Config.in diff --git a/buildroot-2021.05/package/font-awesome/font-awesome.hash b/buildroot-2022.02.1/package/font-awesome/font-awesome.hash similarity index 100% rename from buildroot-2021.05/package/font-awesome/font-awesome.hash rename to buildroot-2022.02.1/package/font-awesome/font-awesome.hash diff --git a/buildroot-2022.02.1/package/font-awesome/font-awesome.mk b/buildroot-2022.02.1/package/font-awesome/font-awesome.mk new file mode 100644 index 00000000..5211ac22 --- /dev/null +++ b/buildroot-2022.02.1/package/font-awesome/font-awesome.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# font-awesome +# +################################################################################ + +FONT_AWESOME_VERSION = 4.7.0 +FONT_AWESOME_SITE = $(call github,FortAwesome,Font-Awesome,v$(FONT_AWESOME_VERSION)) +FONT_AWESOME_LICENSE = OFL-1.1 (font), MIT (CSS, LESS and Sass files) +FONT_AWESOME_DIRECTORIES_LIST = css fonts less scss + +define FONT_AWESOME_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/share/font-awesome/ + $(foreach d,$(FONT_AWESOME_DIRECTORIES_LIST),\ + cp -dpfr $(@D)/$(d) $(TARGET_DIR)/usr/share/font-awesome$(sep)) + mkdir -p $(TARGET_DIR)/usr/share/fonts/ + ln -sf ../font-awesome $(TARGET_DIR)/usr/share/fonts/font-awesome +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/fontconfig/0001-Fix-the-build-issue-with-enable-static.patch b/buildroot-2022.02.1/package/fontconfig/0001-Fix-the-build-issue-with-enable-static.patch similarity index 100% rename from buildroot-2021.05/package/fontconfig/0001-Fix-the-build-issue-with-enable-static.patch rename to buildroot-2022.02.1/package/fontconfig/0001-Fix-the-build-issue-with-enable-static.patch diff --git a/buildroot-2021.05/package/fontconfig/0002-add-pthread-as-a-dependency-of-a-static-lib.patch b/buildroot-2022.02.1/package/fontconfig/0002-add-pthread-as-a-dependency-of-a-static-lib.patch similarity index 100% rename from buildroot-2021.05/package/fontconfig/0002-add-pthread-as-a-dependency-of-a-static-lib.patch rename to buildroot-2022.02.1/package/fontconfig/0002-add-pthread-as-a-dependency-of-a-static-lib.patch diff --git a/buildroot-2021.05/package/fontconfig/Config.in b/buildroot-2022.02.1/package/fontconfig/Config.in similarity index 100% rename from buildroot-2021.05/package/fontconfig/Config.in rename to buildroot-2022.02.1/package/fontconfig/Config.in diff --git a/buildroot-2021.05/package/fontconfig/fontconfig.hash b/buildroot-2022.02.1/package/fontconfig/fontconfig.hash similarity index 100% rename from buildroot-2021.05/package/fontconfig/fontconfig.hash rename to buildroot-2022.02.1/package/fontconfig/fontconfig.hash diff --git a/buildroot-2022.02.1/package/fontconfig/fontconfig.mk b/buildroot-2022.02.1/package/fontconfig/fontconfig.mk new file mode 100644 index 00000000..e34acde5 --- /dev/null +++ b/buildroot-2022.02.1/package/fontconfig/fontconfig.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# fontconfig +# +################################################################################ + +FONTCONFIG_VERSION = 2.13.1 +FONTCONFIG_SITE = http://fontconfig.org/release +FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.bz2 +# 0002-add-pthread-as-a-dependency-of-a-static-lib.patch +FONTCONFIG_AUTORECONF = YES +FONTCONFIG_INSTALL_STAGING = YES +FONTCONFIG_DEPENDENCIES = freetype expat host-pkgconf host-gperf \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBS),util-linux-libs,util-linux) \ + $(TARGET_NLS_DEPENDENCIES) +HOST_FONTCONFIG_DEPENDENCIES = \ + host-freetype host-expat host-pkgconf host-gperf host-util-linux \ + host-gettext +FONTCONFIG_LICENSE = fontconfig license +FONTCONFIG_LICENSE_FILES = COPYING +FONTCONFIG_CPE_ID_VENDOR = fontconfig_project + +FONTCONFIG_CONF_OPTS = \ + --with-arch=$(GNU_TARGET_NAME) \ + --with-cache-dir=/var/cache/fontconfig \ + --disable-docs + +HOST_FONTCONFIG_CONF_OPTS = \ + --disable-static + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/fping/Config.in b/buildroot-2022.02.1/package/fping/Config.in similarity index 100% rename from buildroot-2021.05/package/fping/Config.in rename to buildroot-2022.02.1/package/fping/Config.in diff --git a/buildroot-2022.02.1/package/fping/fping.hash b/buildroot-2022.02.1/package/fping/fping.hash new file mode 100644 index 00000000..4671cd77 --- /dev/null +++ b/buildroot-2022.02.1/package/fping/fping.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 1ee5268c063d76646af2b4426052e7d81a42b657e6a77d8e7d3d2e60fd7409fe fping-5.1.tar.gz + +# Hash for license file +sha256 6051b27e4b4a648f7bc8b329024da53a6e95ce88fcf0ccc259c371a74b741757 COPYING diff --git a/buildroot-2022.02.1/package/fping/fping.mk b/buildroot-2022.02.1/package/fping/fping.mk new file mode 100644 index 00000000..5986d05b --- /dev/null +++ b/buildroot-2022.02.1/package/fping/fping.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# fping +# +################################################################################ + +FPING_VERSION = 5.1 +FPING_SITE = http://fping.org/dist +FPING_LICENSE = BSD-like +FPING_LICENSE_FILES = COPYING +FPING_SELINUX_MODULES = netutils + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/freeipmi/0001-libfreeipmi-rename-md2-and-md5-functions-macros.patch b/buildroot-2022.02.1/package/freeipmi/0001-libfreeipmi-rename-md2-and-md5-functions-macros.patch new file mode 100644 index 00000000..0de5b29c --- /dev/null +++ b/buildroot-2022.02.1/package/freeipmi/0001-libfreeipmi-rename-md2-and-md5-functions-macros.patch @@ -0,0 +1,695 @@ +From 50eeda7f14c4eaa56aa86ba570a47557456544f2 Mon Sep 17 00:00:00 2001 +From: Albert Chu +Date: Wed, 19 Jan 2022 11:55:55 -0800 +Subject: [PATCH] libfreeipmi: rename md2 and md5 functions / macros + +Static compilation with libfreeipmi can lead to problems if +other software has similarly named md2/md5 functions +(such as md5_init()). Prefix all macros and functions with +'ipmi_' as needed. Update all callers accordingly. + +[Retrieved from: +https://github.com/chu11/freeipmi-mirror/commit/50eeda7f14c4eaa56aa86ba570a47557456544f2] +Signed-off-by: Fabrice Fontaine +--- + ChangeLog | 11 ++ + libfreeipmi/interface/ipmi-lan-interface.c | 48 +++---- + .../interface/ipmi-rmcpplus-interface.c | 2 +- + libfreeipmi/libcommon/ipmi-md2.c | 72 +++++------ + libfreeipmi/libcommon/ipmi-md2.h | 30 ++--- + libfreeipmi/libcommon/ipmi-md5.c | 64 +++++----- + libfreeipmi/libcommon/ipmi-md5.h | 18 +-- + libfreeipmi/util/ipmi-lan-util.c | 120 +++++++++--------- + 8 files changed, 188 insertions(+), 177 deletions(-) + +diff --git a/ChangeLog b/ChangeLog +index 883a195cf..60bf8c323 100644 +--- a/ChangeLog ++++ b/ChangeLog +@@ -1,3 +1,14 @@ ++2021-01-19 Albert Chu ++ ++ * libfreeipmi/libcommon/ipmi-md2.h, ++ libfreeipmi/libcommon/ipmi-md2.c, ++ libfreeipmi/libcommon/ipmi-md5.h, ++ libfreeipmi/libcommon/ipmi-md5.c: Static compilation with ++ libfreeipmi can lead to problems if other software has similarly ++ named md2/md5 functions (such as md5_init()). Prefix all macros ++ and functions with 'ipmi_' as needed. Update all callers ++ accordingly. ++ + 2022-01-18 Fabrice Fontaine + + * configure.ac: use pkg-config to find gcrypt +diff --git a/libfreeipmi/interface/ipmi-lan-interface.c b/libfreeipmi/interface/ipmi-lan-interface.c +index 20099d770..658be53e1 100644 +--- a/libfreeipmi/interface/ipmi-lan-interface.c ++++ b/libfreeipmi/interface/ipmi-lan-interface.c +@@ -533,37 +533,37 @@ assemble_ipmi_lan_pkt (fiid_obj_t obj_rmcp_hdr, + + if (authentication_type == IPMI_AUTHENTICATION_TYPE_MD2) + { +- md2_t ctx; +- uint8_t digest[MD2_DIGEST_LENGTH]; ++ ipmi_md2_t ctx; ++ uint8_t digest[IPMI_MD2_DIGEST_LENGTH]; + +- assert (IPMI_1_5_MAX_PASSWORD_LENGTH == MD2_DIGEST_LENGTH); ++ assert (IPMI_1_5_MAX_PASSWORD_LENGTH == IPMI_MD2_DIGEST_LENGTH); + +- md2_init (&ctx); +- md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md2_update_data (&ctx, session_id_buf, session_id_len); +- md2_update_data (&ctx, msg_data_ptr, msg_data_count); +- md2_update_data (&ctx, session_sequence_number_buf, session_sequence_number_len); +- md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md2_finish (&ctx, digest, MD2_DIGEST_LENGTH); +- md2_init (&ctx); ++ ipmi_md2_init (&ctx); ++ ipmi_md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md2_update_data (&ctx, session_id_buf, session_id_len); ++ ipmi_md2_update_data (&ctx, msg_data_ptr, msg_data_count); ++ ipmi_md2_update_data (&ctx, session_sequence_number_buf, session_sequence_number_len); ++ ipmi_md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md2_finish (&ctx, digest, IPMI_MD2_DIGEST_LENGTH); ++ ipmi_md2_init (&ctx); + + memcpy (authentication_code_field_ptr, digest, IPMI_1_5_MAX_PASSWORD_LENGTH); + } + else if (authentication_type == IPMI_AUTHENTICATION_TYPE_MD5) + { +- md5_t ctx; +- uint8_t digest[MD5_DIGEST_LENGTH]; +- +- assert (IPMI_1_5_MAX_PASSWORD_LENGTH == MD5_DIGEST_LENGTH); +- +- md5_init (&ctx); +- md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md5_update_data (&ctx, session_id_buf, session_id_len); +- md5_update_data (&ctx, msg_data_ptr, msg_data_count); +- md5_update_data (&ctx, session_sequence_number_buf, session_sequence_number_len); +- md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md5_finish (&ctx, digest, MD5_DIGEST_LENGTH); +- md5_init (&ctx); ++ ipmi_md5_t ctx; ++ uint8_t digest[IPMI_MD5_DIGEST_LENGTH]; ++ ++ assert (IPMI_1_5_MAX_PASSWORD_LENGTH == IPMI_MD5_DIGEST_LENGTH); ++ ++ ipmi_md5_init (&ctx); ++ ipmi_md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md5_update_data (&ctx, session_id_buf, session_id_len); ++ ipmi_md5_update_data (&ctx, msg_data_ptr, msg_data_count); ++ ipmi_md5_update_data (&ctx, session_sequence_number_buf, session_sequence_number_len); ++ ipmi_md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md5_finish (&ctx, digest, IPMI_MD5_DIGEST_LENGTH); ++ ipmi_md5_init (&ctx); + + memcpy (authentication_code_field_ptr, digest, IPMI_1_5_MAX_PASSWORD_LENGTH); + } +diff --git a/libfreeipmi/interface/ipmi-rmcpplus-interface.c b/libfreeipmi/interface/ipmi-rmcpplus-interface.c +index 1f462da7e..d1fd0753a 100644 +--- a/libfreeipmi/interface/ipmi-rmcpplus-interface.c ++++ b/libfreeipmi/interface/ipmi-rmcpplus-interface.c +@@ -1134,7 +1134,7 @@ _construct_session_trlr_authentication_code (uint8_t integrity_algorithm, + { + hash_algorithm = IPMI_CRYPT_HASH_MD5; + hash_flags = 0; +- expected_digest_len = MD5_DIGEST_LENGTH; ++ expected_digest_len = IPMI_MD5_DIGEST_LENGTH; + copy_digest_len = IPMI_MD5_128_AUTHENTICATION_CODE_LENGTH; + } + else /* IPMI_INTEGRITY_ALGORITHM_HMAC_SHA256_128 */ +diff --git a/libfreeipmi/libcommon/ipmi-md2.c b/libfreeipmi/libcommon/ipmi-md2.c +index 6e9386be7..076b555bd 100644 +--- a/libfreeipmi/libcommon/ipmi-md2.c ++++ b/libfreeipmi/libcommon/ipmi-md2.c +@@ -101,15 +101,15 @@ static unsigned char S[256] = + 0xDB, 0x99, 0x8D, 0x33, 0x9F, 0x11, 0x83, 0x14 + }; + +-#define L ctx->l +-#define X ctx->x +-#define C ctx->c +-#define M ctx->m +-#define Mlen ctx->mlen +-#define MD2_MAGIC 0xf00fd00d ++#define L ctx->l ++#define X ctx->x ++#define C ctx->c ++#define M ctx->m ++#define Mlen ctx->mlen ++#define IPMI_MD2_MAGIC 0xf00fd00d + + int +-md2_init (md2_t *ctx) ++ipmi_md2_init (ipmi_md2_t *ctx) + { + + if (ctx == NULL) +@@ -118,26 +118,26 @@ md2_init (md2_t *ctx) + return (-1); + } + +- ctx->magic = MD2_MAGIC; ++ ctx->magic = IPMI_MD2_MAGIC; + + L = 0; + Mlen = 0; +- memset (X, '\0', MD2_BUFFER_LENGTH); +- memset (C, '\0', MD2_CHKSUM_LENGTH); +- memset (M, '\0', MD2_BLOCK_LENGTH); ++ memset (X, '\0', IPMI_MD2_BUFFER_LENGTH); ++ memset (C, '\0', IPMI_MD2_CHKSUM_LENGTH); ++ memset (M, '\0', IPMI_MD2_BLOCK_LENGTH); + + return (0); + } + + static void +-_md2_update_digest_and_checksum (md2_t *ctx) ++_ipmi_md2_update_digest_and_checksum (ipmi_md2_t *ctx) + { + unsigned int j, k; + uint8_t c, t; + + /* Update X */ + +- for (j = 0; j < MD2_BLOCK_LENGTH; j++) ++ for (j = 0; j < IPMI_MD2_BLOCK_LENGTH; j++) + { + X[16+j] = M[j]; + X[32+j] = (X[16+j] ^ X[j]); +@@ -145,9 +145,9 @@ _md2_update_digest_and_checksum (md2_t *ctx) + + t = 0; + +- for (j = 0; j < MD2_ROUNDS_LENGTH; j++) ++ for (j = 0; j < IPMI_MD2_ROUNDS_LENGTH; j++) + { +- for (k = 0; k < MD2_BUFFER_LENGTH; k++) ++ for (k = 0; k < IPMI_MD2_BUFFER_LENGTH; k++) + { + t = X[k] = (X[k] ^ S[t]); + } +@@ -166,7 +166,7 @@ _md2_update_digest_and_checksum (md2_t *ctx) + * Set C[j] to C[j] xor S[c xor L]. + */ + +- for (j = 0; j < MD2_BLOCK_LENGTH; j++) ++ for (j = 0; j < IPMI_MD2_BLOCK_LENGTH; j++) + { + c = M[j]; + C[j] = C[j] ^ S[c ^ L]; +@@ -175,10 +175,10 @@ _md2_update_digest_and_checksum (md2_t *ctx) + } + + int +-md2_update_data (md2_t *ctx, const void *buf, unsigned int buflen) ++ipmi_md2_update_data (ipmi_md2_t *ctx, const void *buf, unsigned int buflen) + { + +- if (ctx == NULL || ctx->magic != MD2_MAGIC || buf == NULL) ++ if (ctx == NULL || ctx->magic != IPMI_MD2_MAGIC || buf == NULL) + { + errno = EINVAL; + return (-1); +@@ -187,19 +187,19 @@ md2_update_data (md2_t *ctx, const void *buf, unsigned int buflen) + if (buflen == 0) + return (0); + +- if ((Mlen + buflen) >= MD2_BLOCK_LENGTH) ++ if ((Mlen + buflen) >= IPMI_MD2_BLOCK_LENGTH) + { + unsigned int bufcount; + +- bufcount = (MD2_BLOCK_LENGTH - Mlen); ++ bufcount = (IPMI_MD2_BLOCK_LENGTH - Mlen); + memcpy (M + Mlen, buf, bufcount); +- _md2_update_digest_and_checksum (ctx); ++ _ipmi_md2_update_digest_and_checksum (ctx); + +- while ((buflen - bufcount) >= MD2_BLOCK_LENGTH) ++ while ((buflen - bufcount) >= IPMI_MD2_BLOCK_LENGTH) + { +- memcpy (M, buf + bufcount, MD2_BLOCK_LENGTH); +- bufcount += MD2_BLOCK_LENGTH; +- _md2_update_digest_and_checksum (ctx); ++ memcpy (M, buf + bufcount, IPMI_MD2_BLOCK_LENGTH); ++ bufcount += IPMI_MD2_BLOCK_LENGTH; ++ _ipmi_md2_update_digest_and_checksum (ctx); + } + + Mlen = buflen - bufcount; +@@ -217,33 +217,33 @@ md2_update_data (md2_t *ctx, const void *buf, unsigned int buflen) + } + + static void +-_md2_append_padding_and_checksum (md2_t *ctx) ++_ipmi_md2_append_padding_and_checksum (ipmi_md2_t *ctx) + { + unsigned int padlen; + int padindex; + +- padlen = MD2_PADDING_LENGTH - Mlen; ++ padlen = IPMI_MD2_PADDING_LENGTH - Mlen; + padindex = padlen - 1; + +- md2_update_data (ctx, padding[padindex], padlen); ++ ipmi_md2_update_data (ctx, padding[padindex], padlen); + +- md2_update_data (ctx, C, MD2_CHKSUM_LENGTH); ++ ipmi_md2_update_data (ctx, C, IPMI_MD2_CHKSUM_LENGTH); + } + + int +-md2_finish (md2_t *ctx, void *digest, unsigned int digestlen) ++ipmi_md2_finish (ipmi_md2_t *ctx, void *digest, unsigned int digestlen) + { +- if (ctx == NULL || ctx->magic != MD2_MAGIC +- || digest == NULL || digestlen < MD2_DIGEST_LENGTH) ++ if (ctx == NULL || ctx->magic != IPMI_MD2_MAGIC ++ || digest == NULL || digestlen < IPMI_MD2_DIGEST_LENGTH) + { + errno = EINVAL; + return (-1); + } + +- _md2_append_padding_and_checksum (ctx); +- memcpy (digest, X, MD2_DIGEST_LENGTH); ++ _ipmi_md2_append_padding_and_checksum (ctx); ++ memcpy (digest, X, IPMI_MD2_DIGEST_LENGTH); + +- ctx->magic = ~MD2_MAGIC; +- return (MD2_DIGEST_LENGTH); ++ ctx->magic = ~IPMI_MD2_MAGIC; ++ return (IPMI_MD2_DIGEST_LENGTH); + } + +diff --git a/libfreeipmi/libcommon/ipmi-md2.h b/libfreeipmi/libcommon/ipmi-md2.h +index c102fce2c..05328e85e 100644 +--- a/libfreeipmi/libcommon/ipmi-md2.h ++++ b/libfreeipmi/libcommon/ipmi-md2.h +@@ -34,26 +34,26 @@ + + #include + +-#define MD2_BLOCK_LENGTH 16 +-#define MD2_BUFFER_LENGTH 48 +-#define MD2_CHKSUM_LENGTH 16 +-#define MD2_DIGEST_LENGTH 16 +-#define MD2_PADDING_LENGTH 16 +-#define MD2_ROUNDS_LENGTH 18 +- +-typedef struct __md2 { ++#define IPMI_MD2_BLOCK_LENGTH 16 ++#define IPMI_MD2_BUFFER_LENGTH 48 ++#define IPMI_MD2_CHKSUM_LENGTH 16 ++#define IPMI_MD2_DIGEST_LENGTH 16 ++#define IPMI_MD2_PADDING_LENGTH 16 ++#define IPMI_MD2_ROUNDS_LENGTH 18 ++ ++typedef struct __ipmi_md2 { + uint32_t magic; + uint8_t l; + unsigned int mlen; +- uint8_t x[MD2_BUFFER_LENGTH]; +- uint8_t c[MD2_CHKSUM_LENGTH]; +- uint8_t m[MD2_BLOCK_LENGTH]; +-} md2_t; ++ uint8_t x[IPMI_MD2_BUFFER_LENGTH]; ++ uint8_t c[IPMI_MD2_CHKSUM_LENGTH]; ++ uint8_t m[IPMI_MD2_BLOCK_LENGTH]; ++} ipmi_md2_t; + +-int md2_init (md2_t *ctx); ++int ipmi_md2_init (ipmi_md2_t *ctx); + +-int md2_update_data (md2_t *ctx, const void *buf, unsigned int buflen); ++int ipmi_md2_update_data (ipmi_md2_t *ctx, const void *buf, unsigned int buflen); + +-int md2_finish (md2_t *ctx, void *digest, unsigned int digestlen); ++int ipmi_md2_finish (ipmi_md2_t *ctx, void *digest, unsigned int digestlen); + + #endif /* IPMI_MD2_H */ +diff --git a/libfreeipmi/libcommon/ipmi-md5.c b/libfreeipmi/libcommon/ipmi-md5.c +index 17073b85f..c84e350a6 100644 +--- a/libfreeipmi/libcommon/ipmi-md5.c ++++ b/libfreeipmi/libcommon/ipmi-md5.c +@@ -92,7 +92,7 @@ static uint32_t T[64] = + #define D ctx->d + #define M ctx->m + #define Mlen ctx->mlen +-#define MD5_MAGIC 0xfb0fdb0d ++#define IPMI_MD5_MAGIC 0xfb0fdb0d + + #define F(x,y,z) (((x) & (y)) | ((~(x)) & (z))) + #define G(x,y,z) (((x) & (z)) | ((y) & (~(z)))) +@@ -126,7 +126,7 @@ static uint32_t T[64] = + } while (0) + + int +-md5_init (md5_t *ctx) ++ipmi_md5_init (ipmi_md5_t *ctx) + { + if (ctx == NULL) + { +@@ -134,13 +134,13 @@ md5_init (md5_t *ctx) + return (-1); + } + +- ctx->magic = MD5_MAGIC; ++ ctx->magic = IPMI_MD5_MAGIC; + + Mlen = 0; + ctx->bytes_mod_64 = 0; + ctx->bit_count[0] = 0; + ctx->bit_count[1] = 0; +- memset (M, '\0', MD5_BLOCK_LENGTH); ++ memset (M, '\0', IPMI_MD5_BLOCK_LENGTH); + + /* initial values are listed low-order byte first */ + A = 0x67452301; +@@ -152,16 +152,16 @@ md5_init (md5_t *ctx) + } + + static void +-_md5_update_digest (md5_t *ctx) ++_ipmi_md5_update_digest (ipmi_md5_t *ctx) + { + uint32_t AA, BB, CC, DD; +- uint32_t X[MD5_BLOCK_WORDS_LENGTH]; ++ uint32_t X[IPMI_MD5_BLOCK_WORDS_LENGTH]; + unsigned int j; + + /* Note there are no endian issues here, compiler is required to + * handle shifts correctly + */ +- for (j = 0; j < MD5_BLOCK_WORDS_LENGTH; j++) ++ for (j = 0; j < IPMI_MD5_BLOCK_WORDS_LENGTH; j++) + X[j] = ((uint32_t)M[j*4] + | ((uint32_t)M[j*4+1] << 8) + | ((uint32_t)M[j*4+2] << 16) +@@ -251,7 +251,7 @@ _md5_update_digest (md5_t *ctx) + } + + static void +-_md5_update_count (md5_t *ctx, unsigned int buflen) ++_ipmi_md5_update_count (ipmi_md5_t *ctx, unsigned int buflen) + { + + /* Use two uint32_t integers to hold our 64 bit count. +@@ -272,10 +272,10 @@ _md5_update_count (md5_t *ctx, unsigned int buflen) + } + + int +-md5_update_data (md5_t *ctx, const void *buf, unsigned int buflen) ++ipmi_md5_update_data (ipmi_md5_t *ctx, const void *buf, unsigned int buflen) + { + +- if (ctx == NULL || ctx->magic != MD5_MAGIC || buf == NULL) ++ if (ctx == NULL || ctx->magic != IPMI_MD5_MAGIC || buf == NULL) + { + errno = EINVAL; + return (-1); +@@ -284,28 +284,28 @@ md5_update_data (md5_t *ctx, const void *buf, unsigned int buflen) + if (buflen == 0) + return (0); + +- if ((Mlen + buflen) >= MD5_BLOCK_LENGTH) ++ if ((Mlen + buflen) >= IPMI_MD5_BLOCK_LENGTH) + { + unsigned int bufcount; + +- bufcount = (MD5_BLOCK_LENGTH - Mlen); ++ bufcount = (IPMI_MD5_BLOCK_LENGTH - Mlen); + memcpy (M + Mlen, buf, bufcount); +- _md5_update_digest (ctx); +- _md5_update_count (ctx, bufcount); ++ _ipmi_md5_update_digest (ctx); ++ _ipmi_md5_update_count (ctx, bufcount); + +- while ((buflen - bufcount) >= MD5_BLOCK_LENGTH) ++ while ((buflen - bufcount) >= IPMI_MD5_BLOCK_LENGTH) + { +- memcpy (M, buf + bufcount, MD5_BLOCK_LENGTH); +- bufcount += MD5_BLOCK_LENGTH; +- _md5_update_digest (ctx); +- _md5_update_count (ctx, MD5_BLOCK_LENGTH); ++ memcpy (M, buf + bufcount, IPMI_MD5_BLOCK_LENGTH); ++ bufcount += IPMI_MD5_BLOCK_LENGTH; ++ _ipmi_md5_update_digest (ctx); ++ _ipmi_md5_update_count (ctx, IPMI_MD5_BLOCK_LENGTH); + } + + Mlen = buflen - bufcount; + if (Mlen > 0) + { + memcpy (M, buf + bufcount, Mlen); +- _md5_update_count (ctx, Mlen); ++ _ipmi_md5_update_count (ctx, Mlen); + } + } + else +@@ -313,14 +313,14 @@ md5_update_data (md5_t *ctx, const void *buf, unsigned int buflen) + /* Not enough data to update digest, just copy in data */ + memcpy (M + Mlen, buf, buflen); + Mlen += buflen; +- _md5_update_count (ctx, buflen); ++ _ipmi_md5_update_count (ctx, buflen); + } + + return (buflen); + } + + static void +-_md5_append_padding_and_length (md5_t *ctx) ++_ipmi_md5_append_padding_and_length (ipmi_md5_t *ctx) + { + unsigned int padlen; + char length[8]; +@@ -348,23 +348,23 @@ _md5_append_padding_and_length (md5_t *ctx) + length[6] = (ctx->bit_count[0] & 0x00ff0000) >> 16; + length[7] = (ctx->bit_count[0] & 0xff000000) >> 24; + +- md5_update_data (ctx, padding, padlen); +- md5_update_data (ctx, length, 8); ++ ipmi_md5_update_data (ctx, padding, padlen); ++ ipmi_md5_update_data (ctx, length, 8); + } + + int +-md5_finish (md5_t *ctx, void *digest, unsigned int digestlen) ++ipmi_md5_finish (ipmi_md5_t *ctx, void *digest, unsigned int digestlen) + { +- uint8_t buf[MD5_DIGEST_LENGTH]; ++ uint8_t buf[IPMI_MD5_DIGEST_LENGTH]; + +- if (ctx == NULL || ctx->magic != MD5_MAGIC +- || digest == NULL || digestlen < MD5_DIGEST_LENGTH) ++ if (ctx == NULL || ctx->magic != IPMI_MD5_MAGIC ++ || digest == NULL || digestlen < IPMI_MD5_DIGEST_LENGTH) + { + errno = EINVAL; + return (-1); + } + +- _md5_append_padding_and_length (ctx); ++ _ipmi_md5_append_padding_and_length (ctx); + + /* Note there are no endian issues here, compiler is required to + * handle bitmasks and shifts correctly +@@ -387,7 +387,7 @@ md5_finish (md5_t *ctx, void *digest, unsigned int digestlen) + buf[14] = (D & 0x00ff0000) >> 16; + buf[15] = (D & 0xff000000) >> 24; + +- memcpy (digest, buf, MD5_DIGEST_LENGTH); +- ctx->magic = ~MD5_MAGIC; +- return (MD5_DIGEST_LENGTH); ++ memcpy (digest, buf, IPMI_MD5_DIGEST_LENGTH); ++ ctx->magic = ~IPMI_MD5_MAGIC; ++ return (IPMI_MD5_DIGEST_LENGTH); + } +diff --git a/libfreeipmi/libcommon/ipmi-md5.h b/libfreeipmi/libcommon/ipmi-md5.h +index 0f86f1754..6b863ef36 100644 +--- a/libfreeipmi/libcommon/ipmi-md5.h ++++ b/libfreeipmi/libcommon/ipmi-md5.h +@@ -34,11 +34,11 @@ + + #include + +-#define MD5_BLOCK_LENGTH 64 +-#define MD5_BLOCK_WORDS_LENGTH (MD5_BLOCK_LENGTH/4) +-#define MD5_DIGEST_LENGTH 16 ++#define IPMI_MD5_BLOCK_LENGTH 64 ++#define IPMI_MD5_BLOCK_WORDS_LENGTH (IPMI_MD5_BLOCK_LENGTH/4) ++#define IPMI_MD5_DIGEST_LENGTH 16 + +-typedef struct __md5 { ++typedef struct __ipmi_md5 { + uint32_t magic; + unsigned int mlen; + unsigned int bytes_mod_64; +@@ -47,13 +47,13 @@ typedef struct __md5 { + uint32_t b; + uint32_t c; + uint32_t d; +- uint8_t m[MD5_BLOCK_LENGTH]; +-} md5_t; ++ uint8_t m[IPMI_MD5_BLOCK_LENGTH]; ++} ipmi_md5_t; + +-int md5_init (md5_t *ctx); ++int ipmi_md5_init (ipmi_md5_t *ctx); + +-int md5_update_data (md5_t *ctx, const void *buf, unsigned int buflen); ++int ipmi_md5_update_data (ipmi_md5_t *ctx, const void *buf, unsigned int buflen); + +-int md5_finish (md5_t *ctx, void *digest, unsigned int digestlen); ++int ipmi_md5_finish (ipmi_md5_t *ctx, void *digest, unsigned int digestlen); + + #endif /* IPMI_MD5_H */ +diff --git a/libfreeipmi/util/ipmi-lan-util.c b/libfreeipmi/util/ipmi-lan-util.c +index cd269fcb9..a374acc8d 100644 +--- a/libfreeipmi/util/ipmi-lan-util.c ++++ b/libfreeipmi/util/ipmi-lan-util.c +@@ -281,33 +281,33 @@ ipmi_lan_check_session_authentication_code (fiid_obj_t obj_lan_session_hdr_rs, + + if (authentication_type == IPMI_AUTHENTICATION_TYPE_MD2) + { +- md2_t ctx; +- +- assert (IPMI_1_5_MAX_PASSWORD_LENGTH == MD2_DIGEST_LENGTH); +- +- md2_init (&ctx); +- md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md2_update_data (&ctx, session_id_buf, session_id_len); +- md2_update_data (&ctx, buf, len); +- md2_update_data (&ctx, session_sequence_number_buf, session_sequence_number_len); +- md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md2_finish (&ctx, authentication_code_calc, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md2_init (&ctx); ++ ipmi_md2_t ctx; ++ ++ assert (IPMI_1_5_MAX_PASSWORD_LENGTH == IPMI_MD2_DIGEST_LENGTH); ++ ++ ipmi_md2_init (&ctx); ++ ipmi_md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md2_update_data (&ctx, session_id_buf, session_id_len); ++ ipmi_md2_update_data (&ctx, buf, len); ++ ipmi_md2_update_data (&ctx, session_sequence_number_buf, session_sequence_number_len); ++ ipmi_md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md2_finish (&ctx, authentication_code_calc, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md2_init (&ctx); + } + else if (authentication_type == IPMI_AUTHENTICATION_TYPE_MD5) + { +- md5_t ctx; +- +- assert (IPMI_1_5_MAX_PASSWORD_LENGTH == MD5_DIGEST_LENGTH); +- +- md5_init (&ctx); +- md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md5_update_data (&ctx, session_id_buf, session_id_len); +- md5_update_data (&ctx, buf, len); +- md5_update_data (&ctx, session_sequence_number_buf, session_sequence_number_len); +- md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md5_finish (&ctx, authentication_code_calc, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md5_init (&ctx); ++ ipmi_md5_t ctx; ++ ++ assert (IPMI_1_5_MAX_PASSWORD_LENGTH == IPMI_MD5_DIGEST_LENGTH); ++ ++ ipmi_md5_init (&ctx); ++ ipmi_md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md5_update_data (&ctx, session_id_buf, session_id_len); ++ ipmi_md5_update_data (&ctx, buf, len); ++ ipmi_md5_update_data (&ctx, session_sequence_number_buf, session_sequence_number_len); ++ ipmi_md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md5_finish (&ctx, authentication_code_calc, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md5_init (&ctx); + } + } + +@@ -451,45 +451,45 @@ ipmi_lan_check_packet_session_authentication_code (const void *pkt, + memcpy (pwbuf, authentication_code_data, authentication_code_data_len); + if (authentication_type == IPMI_AUTHENTICATION_TYPE_MD2) + { +- md2_t ctx; +- +- assert (IPMI_1_5_MAX_PASSWORD_LENGTH == MD2_DIGEST_LENGTH); +- +- md2_init (&ctx); +- md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md2_update_data (&ctx, +- pkt + session_id_offset, +- session_id_len); +- md2_update_data (&ctx, +- pkt + data_offset, +- pkt_len - data_offset); +- md2_update_data (&ctx, +- pkt + session_sequence_number_offset, +- session_sequence_number_len); +- md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md2_finish (&ctx, authentication_code_buf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md2_init (&ctx); ++ ipmi_md2_t ctx; ++ ++ assert (IPMI_1_5_MAX_PASSWORD_LENGTH == IPMI_MD2_DIGEST_LENGTH); ++ ++ ipmi_md2_init (&ctx); ++ ipmi_md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md2_update_data (&ctx, ++ pkt + session_id_offset, ++ session_id_len); ++ ipmi_md2_update_data (&ctx, ++ pkt + data_offset, ++ pkt_len - data_offset); ++ ipmi_md2_update_data (&ctx, ++ pkt + session_sequence_number_offset, ++ session_sequence_number_len); ++ ipmi_md2_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md2_finish (&ctx, authentication_code_buf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md2_init (&ctx); + } + else if (authentication_type == IPMI_AUTHENTICATION_TYPE_MD5) + { +- md5_t ctx; +- +- assert (IPMI_1_5_MAX_PASSWORD_LENGTH == MD5_DIGEST_LENGTH); +- +- md5_init (&ctx); +- md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md5_update_data (&ctx, +- pkt + session_id_offset, +- session_id_len); +- md5_update_data (&ctx, +- pkt + data_offset, +- pkt_len - data_offset); +- md5_update_data (&ctx, +- pkt + session_sequence_number_offset, +- session_sequence_number_len); +- md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md5_finish (&ctx, authentication_code_buf, IPMI_1_5_MAX_PASSWORD_LENGTH); +- md5_init (&ctx); ++ ipmi_md5_t ctx; ++ ++ assert (IPMI_1_5_MAX_PASSWORD_LENGTH == IPMI_MD5_DIGEST_LENGTH); ++ ++ ipmi_md5_init (&ctx); ++ ipmi_md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md5_update_data (&ctx, ++ pkt + session_id_offset, ++ session_id_len); ++ ipmi_md5_update_data (&ctx, ++ pkt + data_offset, ++ pkt_len - data_offset); ++ ipmi_md5_update_data (&ctx, ++ pkt + session_sequence_number_offset, ++ session_sequence_number_len); ++ ipmi_md5_update_data (&ctx, pwbuf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md5_finish (&ctx, authentication_code_buf, IPMI_1_5_MAX_PASSWORD_LENGTH); ++ ipmi_md5_init (&ctx); + } + } + else /* authentication_type == IPMI_AUTHENTICATION_TYPE_STRAIGHT_PASSWORD_KEY diff --git a/buildroot-2022.02.1/package/freeipmi/Config.in b/buildroot-2022.02.1/package/freeipmi/Config.in new file mode 100644 index 00000000..8ef2e137 --- /dev/null +++ b/buildroot-2022.02.1/package/freeipmi/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_FREEIPMI + bool "freeipmi" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + help + FreeIPMI provides in-band and out-of-band IPMI software based + on the IPMI v1.5/2.0 specification. + + The IPMI specification defines a set of interfaces for + platform management and is implemented by a number vendors + for system management. The features of IPMI that most users + will be interested in are sensor monitoring, system event + monitoring, power control, and serial-over-LAN (SOL). + + https://www.gnu.org/software/freeipmi/ + +comment "freeipmi needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/freeipmi/freeipmi.hash b/buildroot-2022.02.1/package/freeipmi/freeipmi.hash new file mode 100644 index 00000000..05fb50bd --- /dev/null +++ b/buildroot-2022.02.1/package/freeipmi/freeipmi.hash @@ -0,0 +1,15 @@ +# Locally computed: +sha256 f25e1c35f3d0f1b5a99cc31ecc2353ca83ed46a15163842fba870127dc9c8206 freeipmi-1.6.9.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.bmc-watchdog +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ipmiconsole +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ipmi-dcmi +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ipmidetect +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ipmi-fru +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ipmimonitoring +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ipmiping +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ipmipower +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ipmiseld +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.pstdout +sha256 48f44386b3f359e70d7e4a5d7f1d529d8591a7c64c47df3f4abdf2ad45a6d537 COPYING.sunbmc +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING.ZRESEARCH diff --git a/buildroot-2022.02.1/package/freeipmi/freeipmi.mk b/buildroot-2022.02.1/package/freeipmi/freeipmi.mk new file mode 100644 index 00000000..9fb59245 --- /dev/null +++ b/buildroot-2022.02.1/package/freeipmi/freeipmi.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# freeipmi +# +################################################################################ + +FREEIPMI_VERSION = 1.6.9 +FREEIPMI_SITE = https://ftp.gnu.org/gnu/freeipmi +FREEIPMI_LICENSE = GPL-3.0+, BSD-like (sunbmc) +FREEIPMI_LICENSE_FILES = \ + COPYING COPYING.bmc-watchdog COPYING.ipmiconsole COPYING.ipmi-dcmi \ + COPYING.ipmidetect COPYING.ipmi-fru COPYING.ipmimonitoring \ + COPYING.ipmiping COPYING.ipmipower COPYING.ipmiseld COPYING.pstdout \ + COPYING.sunbmc COPYING.ZRESEARCH +FREEIPMI_DEPENDENCIES = host-pkgconf +FREEIPMI_INSTALL_STAGING = YES +# Disable checking for /dev/urandom and /dev/random through AC_CHECK_FILE +FREEIPMI_CONF_OPTS = --without-random-device + +# Work around for uClibc or musl toolchains which lack argp_*() +# functions. +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +FREEIPMI_DEPENDENCIES += argp-standalone +endif + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +FREEIPMI_CONF_OPTS += --with-encryption +FREEIPMI_DEPENDENCIES += libgcrypt +else +FREEIPMI_CONF_OPTS += --without-encryption +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/freeradius-client/0001-fix-for-nettle.patch b/buildroot-2022.02.1/package/freeradius-client/0001-fix-for-nettle.patch similarity index 100% rename from buildroot-2021.05/package/freeradius-client/0001-fix-for-nettle.patch rename to buildroot-2022.02.1/package/freeradius-client/0001-fix-for-nettle.patch diff --git a/buildroot-2021.05/package/freeradius-client/Config.in b/buildroot-2022.02.1/package/freeradius-client/Config.in similarity index 100% rename from buildroot-2021.05/package/freeradius-client/Config.in rename to buildroot-2022.02.1/package/freeradius-client/Config.in diff --git a/buildroot-2021.05/package/freeradius-client/freeradius-client.hash b/buildroot-2022.02.1/package/freeradius-client/freeradius-client.hash similarity index 100% rename from buildroot-2021.05/package/freeradius-client/freeradius-client.hash rename to buildroot-2022.02.1/package/freeradius-client/freeradius-client.hash diff --git a/buildroot-2021.05/package/freeradius-client/freeradius-client.mk b/buildroot-2022.02.1/package/freeradius-client/freeradius-client.mk similarity index 100% rename from buildroot-2021.05/package/freeradius-client/freeradius-client.mk rename to buildroot-2022.02.1/package/freeradius-client/freeradius-client.mk diff --git a/buildroot-2021.05/package/freerdp/0001-Fix-variable-declaration-in-loop.patch b/buildroot-2022.02.1/package/freerdp/0001-Fix-variable-declaration-in-loop.patch similarity index 100% rename from buildroot-2021.05/package/freerdp/0001-Fix-variable-declaration-in-loop.patch rename to buildroot-2022.02.1/package/freerdp/0001-Fix-variable-declaration-in-loop.patch diff --git a/buildroot-2021.05/package/freerdp/0002-Fixed-variable-declaration-in-loop.patch b/buildroot-2022.02.1/package/freerdp/0002-Fixed-variable-declaration-in-loop.patch similarity index 100% rename from buildroot-2021.05/package/freerdp/0002-Fixed-variable-declaration-in-loop.patch rename to buildroot-2022.02.1/package/freerdp/0002-Fixed-variable-declaration-in-loop.patch diff --git a/buildroot-2022.02.1/package/freerdp/0003-winpr-include-winpr-file.h-fix-build-on-uclibc.patch b/buildroot-2022.02.1/package/freerdp/0003-winpr-include-winpr-file.h-fix-build-on-uclibc.patch new file mode 100644 index 00000000..d8dfe13d --- /dev/null +++ b/buildroot-2022.02.1/package/freerdp/0003-winpr-include-winpr-file.h-fix-build-on-uclibc.patch @@ -0,0 +1,39 @@ +From 21036304f909eae9f7506f48703ba1c74724342b Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 31 Jul 2021 09:49:27 +0200 +Subject: [PATCH] winpr/include/winpr/file.h: fix build on uclibc + +Include stdio.h to fix the following build failure with uclibc raised +since version 2.4.0 and +https://github.com/FreeRDP/FreeRDP/commit/eb6777ea69b022c9e43a1576a2192a1cb807b1e6: + +In file included from /tmp/instance-0/output-1/build/freerdp-2.4.0/winpr/libwinpr/utils/lodepng/lodepng.c:30: +/tmp/instance-0/output-1/build/freerdp-2.4.0/winpr/include/winpr/file.h:524:11: error: unknown type name 'FILE' + WINPR_API FILE* winpr_fopen(const char* path, const char* mode); + ^~~~ + +Fixes: + - http://autobuild.buildroot.org/results/31e770a330158035e24b7b952bec0030138482b7 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/FreeRDP/FreeRDP/pull/7205] +--- + winpr/include/winpr/file.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/winpr/include/winpr/file.h b/winpr/include/winpr/file.h +index 48a29f9f5..79c9b392c 100644 +--- a/winpr/include/winpr/file.h ++++ b/winpr/include/winpr/file.h +@@ -30,6 +30,8 @@ + + #ifndef _WIN32 + ++#include ++ + #ifndef MAX_PATH + #define MAX_PATH 260 + #endif +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/freerdp/Config.in b/buildroot-2022.02.1/package/freerdp/Config.in new file mode 100644 index 00000000..14c5f986 --- /dev/null +++ b/buildroot-2022.02.1/package/freerdp/Config.in @@ -0,0 +1,74 @@ +config BR2_PACKAGE_FREERDP + bool "freerdp" + # FreeRDP does not have a single C++ source file, however it + # insists on having a C++ compiler. Removing that requirement + # is a bit too much involving, so we just depend on it... + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on !BR2_STATIC_LIBS # uses dlfcn.h + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # libglib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LIBGLIB2 + help + FreeRDP is a free implementation of the Remote Desktop + Protocol (RDP), released under the Apache license + + This only installs the freerdp libraries. + + http://www.freerdp.com/ + + Note: this also installs a key and certificate in + /etc/freerdp/keys/ . These are publicly-known, as they + are present in FreeRDP's source tree. It is strongly + suggested that you overwrite them with your own set, + either in an overlay rootfs or in a post-build script. + +if BR2_PACKAGE_FREERDP + +config BR2_PACKAGE_FREERDP_GSTREAMER1 + bool "gstreamer support" + depends on BR2_PACKAGE_GSTREAMER1 + depends on BR2_PACKAGE_XORG7 # xlib-libxrandr + # gstreamer-1.x dependencies already dependencies of FreeRDP + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP + select BR2_PACKAGE_XLIB_LIBXRANDR + +comment "gstreamer support needs X.Org" + depends on !BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_GSTREAMER1 + +config BR2_PACKAGE_FREERDP_SERVER + bool "server" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXDAMAGE + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXFIXES + +config BR2_PACKAGE_FREERDP_CLIENT_X11 + bool "X11 client" + default y + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + +comment "server and X11 client need X.Org" + depends on !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_FREERDP_CLIENT_WL + bool "wayland client" + default y + depends on BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_LIBXKBCOMMON + +endif + +comment "freerdp needs a toolchain w/ wchar, dynamic library, threads, C++" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/freerdp/freerdp.hash b/buildroot-2022.02.1/package/freerdp/freerdp.hash new file mode 100644 index 00000000..28e733aa --- /dev/null +++ b/buildroot-2022.02.1/package/freerdp/freerdp.hash @@ -0,0 +1,5 @@ +# From https://pub.freerdp.com/releases/freerdp-2.6.1.tar.gz.sha256 +sha256 e4b3b93d102bc03164f592d26d7a06d6de648bf78b1e3dcbd8d62941431c1f28 freerdp-2.6.1.tar.gz + +# Locally calculated +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/freerdp/freerdp.mk b/buildroot-2022.02.1/package/freerdp/freerdp.mk new file mode 100644 index 00000000..a1791b27 --- /dev/null +++ b/buildroot-2022.02.1/package/freerdp/freerdp.mk @@ -0,0 +1,272 @@ +################################################################################ +# +# freerdp +# +################################################################################ + +FREERDP_VERSION = 2.6.1 +FREERDP_SITE = https://pub.freerdp.com/releases +FREERDP_DEPENDENCIES = libglib2 openssl zlib +FREERDP_LICENSE = Apache-2.0 +FREERDP_LICENSE_FILES = LICENSE +FREERDP_CPE_ID_VENDOR = freerdp + +FREERDP_INSTALL_STAGING = YES + +FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF -Wno-dev -DWITH_GSTREAMER_0_10=OFF + +ifeq ($(BR2_PACKAGE_FREERDP_GSTREAMER1),y) +FREERDP_CONF_OPTS += -DWITH_GSTREAMER_1_0=ON +FREERDP_DEPENDENCIES += gstreamer1 gst1-plugins-base +else +FREERDP_CONF_OPTS += -DWITH_GSTREAMER_1_0=OFF +endif + +ifeq ($(BR2_PACKAGE_CUPS),y) +FREERDP_CONF_OPTS += -DWITH_CUPS=ON +FREERDP_DEPENDENCIES += cups +else +FREERDP_CONF_OPTS += -DWITH_CUPS=OFF +endif + +ifeq ($(BR2_PACKAGE_FFMPEG),y) +FREERDP_CONF_OPTS += -DWITH_FFMPEG=ON +FREERDP_DEPENDENCIES += ffmpeg +else +FREERDP_CONF_OPTS += -DWITH_FFMPEG=OFF +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y) +FREERDP_CONF_OPTS += -DWITH_ALSA=ON +FREERDP_DEPENDENCIES += alsa-lib +else +FREERDP_CONF_OPTS += -DWITH_ALSA=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +FREERDP_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lexecinfo +FREERDP_DEPENDENCIES += libexecinfo +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +FREERDP_CONF_OPTS += -DCHANNEL_URBDRC=ON +FREERDP_DEPENDENCIES += libusb +else +FREERDP_CONF_OPTS += -DCHANNEL_URBDRC=OFF +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +FREERDP_CONF_OPTS += -DWITH_PULSE=ON +FREERDP_DEPENDENCIES += pulseaudio +else +FREERDP_CONF_OPTS += -DWITH_PULSE=OFF +endif + +# For the systemd journal +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=ON +FREERDP_DEPENDENCIES += systemd +else +FREERDP_CONF_OPTS += -DWITH_LIBSYSTEMD=OFF +endif + +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +FREERDP_CONF_OPTS += -DWITH_NEON=ON +else +FREERDP_CONF_OPTS += -DWITH_NEON=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE2),y) +FREERDP_CONF_OPTS += -DWITH_SSE2=ON +else +FREERDP_CONF_OPTS += -DWITH_SSE2=OFF +endif + +ifeq ($(BR2_arm)$(BR2_armeb),y) +FREERDP_CONF_OPTS += -DARM_FP_ABI=$(GCC_TARGET_FLOAT_ABI) +endif + +#--------------------------------------- +# Enabling server and/or client + +# Clients and server interface must always be enabled to build the +# corresponding libraries. +FREERDP_CONF_OPTS += -DWITH_SERVER_INTERFACE=ON +FREERDP_CONF_OPTS += -DWITH_CLIENT_INTERFACE=ON + +ifeq ($(BR2_PACKAGE_FREERDP_SERVER),y) +FREERDP_CONF_OPTS += -DWITH_SERVER=ON +endif + +ifneq ($(BR2_PACKAGE_FREERDP_CLIENT_X11)$(BR2_PACKAGE_FREERDP_CLIENT_WL),) +FREERDP_CONF_OPTS += -DWITH_CLIENT=ON +endif + +#--------------------------------------- +# Libraries for client and/or server + +# The FreeRDP buildsystem uses non-orthogonal options. For example it +# is not possible to build the server and the wayland client without +# also building the X client. That's because the dependencies of the +# server (the X libraries) are a superset of those of the X client. +# So, as soon as FreeRDP is configured for the server and the wayland +# client, it will believe it also has to build the X client, because +# the libraries it needs are enabled. +# +# Furthermore, the shadow server is always built, even if there's nothing +# it can serve (i.e. the X libs are disabled). +# +# So, we do not care whether we build too much; we remove, as +# post-install hooks, whatever we do not want. + +# If Xorg is enabled, and the server or the X client are, then libX11 +# and libXext are forcibly enabled at the Kconfig level. However, if +# Xorg is enabled but neither the server nor the X client are, then +# there's nothing that guarantees those two libs are enabled. So we +# really must check for them. +ifeq ($(BR2_PACKAGE_XLIB_LIBX11)$(BR2_PACKAGE_XLIB_LIBXEXT),yy) +FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXext +FREERDP_CONF_OPTS += -DWITH_X11=ON +else +FREERDP_CONF_OPTS += -DWITH_X11=OFF +endif + +# The following libs are either optional or mandatory only for either +# the server or the client. A mandatory library for either one is +# selected from Kconfig, so we can make it conditional here +ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) +FREERDP_CONF_OPTS += -DWITH_XCURSOR=ON +FREERDP_DEPENDENCIES += xlib_libXcursor +else +FREERDP_CONF_OPTS += -DWITH_XCURSOR=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) +FREERDP_CONF_OPTS += -DWITH_XDAMAGE=ON +FREERDP_DEPENDENCIES += xlib_libXdamage +else +FREERDP_CONF_OPTS += -DWITH_XDAMAGE=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) +FREERDP_CONF_OPTS += -DWITH_XFIXES=ON +FREERDP_DEPENDENCIES += xlib_libXfixes +else +FREERDP_CONF_OPTS += -DWITH_XFIXES=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) +FREERDP_CONF_OPTS += -DWITH_XI=ON +FREERDP_DEPENDENCIES += xlib_libXi +else +FREERDP_CONF_OPTS += -DWITH_XI=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +FREERDP_CONF_OPTS += -DWITH_XINERAMA=ON +FREERDP_DEPENDENCIES += xlib_libXinerama +else +FREERDP_CONF_OPTS += -DWITH_XINERAMA=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y) +FREERDP_CONF_OPTS += -DWITH_XKBFILE=ON +FREERDP_DEPENDENCIES += xlib_libxkbfile +else +FREERDP_CONF_OPTS += -DWITH_XKBFILE=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) +FREERDP_CONF_OPTS += -DWITH_XRANDR=ON +FREERDP_DEPENDENCIES += xlib_libXrandr +else +FREERDP_CONF_OPTS += -DWITH_XRANDR=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y) +FREERDP_CONF_OPTS += -DWITH_XRENDER=ON +FREERDP_DEPENDENCIES += xlib_libXrender +else +FREERDP_CONF_OPTS += -DWITH_XRENDER=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXTST),y) +FREERDP_CONF_OPTS += -DWITH_XTEST=ON +FREERDP_DEPENDENCIES += xlib_libXtst +else +FREERDP_CONF_OPTS += -DWITH_XTEST=OFF +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y) +FREERDP_CONF_OPTS += -DWITH_XV=ON +FREERDP_DEPENDENCIES += xlib_libXv +else +FREERDP_CONF_OPTS += -DWITH_XV=OFF +endif + +ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_WL),y) +FREERDP_DEPENDENCIES += wayland libxkbcommon +FREERDP_CONF_OPTS += \ + -DWITH_WAYLAND=ON \ + -DWAYLAND_SCANNER=$(HOST_DIR)/bin/wayland-scanner +else +FREERDP_CONF_OPTS += -DWITH_WAYLAND=OFF +endif + +#--------------------------------------- +# Post-install hooks to cleanup and install missing stuff + +# Shadow server is always installed, no matter what, so we manually +# remove it if the user does not want the server. +ifeq ($(BR2_PACKAGE_FREERDP_SERVER),) +define FREERDP_RM_SHADOW_SERVER + rm -f $(TARGET_DIR)/usr/bin/freerdp-shadow +endef +FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_SHADOW_SERVER +endif # ! server + +# X client is always built as soon as a client is enabled and the +# necessary libs are enabled (e.g. because of the server), so manually +# remove it if the user does not want it. +ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_X11),) +define FREERDP_RM_CLIENT_X11 + rm -f $(TARGET_DIR)/usr/bin/xfreerdp + rm -f $(TARGET_DIR)/usr/lib/libxfreerdp-client* +endef +FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_CLIENT_X11 +define FREERDP_RM_CLIENT_X11_LIB + rm -f $(STAGING_DIR)/usr/lib/libxfreerdp-client* +endef +FREERDP_POST_INSTALL_STAGING_HOOKS += FREERDP_RM_CLIENT_X11_LIB +endif # ! X client + +# Wayland client is always built as soon as wayland is enabled, so +# manually remove it if the user does not want it. +ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_WL),) +define FREERDP_RM_CLIENT_WL + rm -f $(TARGET_DIR)/usr/bin/wlfreerdp +endef +FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_CLIENT_WL +endif + +# Remove static libraries in unusual dir +define FREERDP_CLEANUP + rm -rf $(TARGET_DIR)/usr/lib/freerdp +endef +FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_CLEANUP + +# Install the server key and certificate, so that a client can connect. +# A user can override them with its own in a post-build script, if needed. +# We install them even if the server is not enabled, since another server +# can be built and linked with libfreerdp (e.g. weston with the RDP +# backend). Key and cert are installed world-readable, so non-root users +# can start a server. +define FREERDP_INSTALL_KEYS + $(INSTALL) -m 0644 -D $(@D)/server/Sample/server.key \ + $(TARGET_DIR)/etc/freerdp/keys/server.key + $(INSTALL) -m 0644 -D $(@D)/server/Sample/server.crt \ + $(TARGET_DIR)/etc/freerdp/keys/server.crt +endef +FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_INSTALL_KEYS + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/freescale-imx/Config.in b/buildroot-2022.02.1/package/freescale-imx/Config.in new file mode 100644 index 00000000..4a4237fb --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/Config.in @@ -0,0 +1,129 @@ +menuconfig BR2_PACKAGE_FREESCALE_IMX + bool "Freescale i.MX libraries" + depends on BR2_arm || BR2_aarch64 + help + Those packages provide hardware acceleration for GPU or VPU, + hardware optimization or some hardware tools for Freescale + i.MX platforms. + +if BR2_PACKAGE_FREESCALE_IMX +choice + prompt "i.MX platform" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK + bool "imx25-3stack" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS + bool "imx27ads" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK + bool "imx37-3stack" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50 + bool "imx50" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 + bool "imx51" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 + bool "imx53" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q + bool "imx6q/imx6dl" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S + bool "imx6sl/imx6sx" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL + bool "imx6ul/imx6ull" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 + bool "imx7d/imx7ulp" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 + bool "imx8" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + bool "imx8m" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM + bool "imx8mm" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN + bool "imx8mn" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + bool "imx8mp" + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X + bool "imx8x" +endchoice + +config BR2_PACKAGE_FREESCALE_IMX_PLATFORM + string + default "IMX25_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK + default "IMX27ADS" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS + default "IMX37_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK + default "IMX50" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50 + default "IMX51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 + default "IMX53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 + default "IMX6Q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q + default "IMX6S" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S + default "IMX6UL" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL + default "IMX7" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 + default "IMX8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 + default "IMX8MQ" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + default "IMX8MM" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM + default "IMX8MN" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN + default "IMX8MP" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + +config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU + bool + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q + +config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO + bool + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + +config BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU + bool + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP || \ + BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X + +source "package/freescale-imx/imx-alsa-plugins/Config.in" +source "package/freescale-imx/imx-codec/Config.in" +source "package/freescale-imx/imx-kobs/Config.in" +source "package/freescale-imx/imx-lib/Config.in" +source "package/freescale-imx/imx-m4fwloader/Config.in" +source "package/freescale-imx/imx-parser/Config.in" +source "package/freescale-imx/imx-uuc/Config.in" +source "package/freescale-imx/imx-vpu/Config.in" +source "package/freescale-imx/imx-vpu-hantro/Config.in" +source "package/freescale-imx/imx-vpuwrap/Config.in" +source "package/freescale-imx/firmware-imx/Config.in" +source "package/freescale-imx/imx-sc-firmware/Config.in" +source "package/freescale-imx/imx-seco/Config.in" +source "package/freescale-imx/imx-vpu-hantro-vc/Config.in" +if (BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53) +source "package/freescale-imx/gpu-amd-bin-mx51/Config.in" +source "package/freescale-imx/libz160/Config.in" +endif +if BR2_PACKAGE_FREESCALE_IMX_HAS_VIV_GPU +source "package/freescale-imx/imx-gpu-g2d/Config.in" +source "package/freescale-imx/imx-gpu-viv/Config.in" +source "package/freescale-imx/kernel-module-imx-gpu-viv/Config.in" +endif + +endif diff --git a/buildroot-2022.02.1/package/freescale-imx/firmware-imx/Config.in b/buildroot-2022.02.1/package/freescale-imx/firmware-imx/Config.in new file mode 100644 index 00000000..06c4d803 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/firmware-imx/Config.in @@ -0,0 +1,99 @@ +config BR2_PACKAGE_FIRMWARE_IMX + bool "firmware-imx" + depends on BR2_arm || BR2_aarch64 # Only relevant for i.MX + help + Firmware blobs for the Freescale i.MX SoCs. + + It contains blobs for SDMA, VPU, HDMI, EDPC, and DDR + training. + + This library is provided by Freescale as-is and doesn't have + an upstream. + +if BR2_PACKAGE_FIRMWARE_IMX + +config BR2_PACKAGE_FIRMWARE_IMX_SDMA_FW_NAME + string + default "imx25" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK + default "imx51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 + default "imx53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 + default "imx6q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q + default "imx6q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S + default "imx6q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6UL + default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX7 + default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM + default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN + default "imx7d" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + +config BR2_PACKAGE_FIRMWARE_IMX_VPU_FW_NAME + string + default "imx27" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS + default "imx51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 + default "imx53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 + default "imx6" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q + default "imx8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8 + default "imx8" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8X + +config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW + bool + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + +config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EASRC_FW + bool + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN + +config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EPDC_FW + bool + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6S + +config BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW + bool + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MM + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MN + default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8MP + +if BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW + +choice + bool "DDR training binaries" + default BR2_PACKAGE_FIRMWARE_IMX_LPDDR4 + help + Choose the DDR training binaries to be used depending on the + kind of memory that is available on the target board (DDR4, + LPDDR4, etc...). + +config BR2_PACKAGE_FIRMWARE_IMX_LPDDR4 + bool "lpddr4" + help + Use LPDDR4 binaries (i.e.: lpddr4_pmu_train_*.bin) + +config BR2_PACKAGE_FIRMWARE_IMX_DDR4 + bool "DDR4" + help + Use DDR4 binaries (i.e.: ddr4_*_201810.bin). + +config BR2_PACKAGE_FIRMWARE_IMX_DDR3 + bool "DDR3" + help + Use DDR3 binaries (i.e.: ddr3_*_201810.bin). + +endchoice # DDR training FW + +config BR2_PACKAGE_FIRMWARE_IMX_IMEM_LEN + hex "(LP)DDR IMEM padding length" + default 0x8000 + help + The IMEM firmware will be padded to this length + +config BR2_PACKAGE_FIRMWARE_IMX_DMEM_LEN + hex "(LP)DDR DMEM padding length" + default 0x4000 + help + The DMEM firmware will be padded to this length + +endif # BR2_PACKAGE_FIRMWARE_IMX_NEEDS_DDR_FW + +endif # BR2_PACKAGE_FIRMWARE_IMX diff --git a/buildroot-2022.02.1/package/freescale-imx/firmware-imx/firmware-imx.hash b/buildroot-2022.02.1/package/freescale-imx/firmware-imx/firmware-imx.hash new file mode 100644 index 00000000..98a0e730 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/firmware-imx/firmware-imx.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 6b6747bf36ecc53e385234afdce01f69c5775adf0d6685c885281ca6e4e322ef firmware-imx-8.12.bin +sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING +sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA diff --git a/buildroot-2022.02.1/package/freescale-imx/firmware-imx/firmware-imx.mk b/buildroot-2022.02.1/package/freescale-imx/firmware-imx/firmware-imx.mk new file mode 100644 index 00000000..211a43c4 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/firmware-imx/firmware-imx.mk @@ -0,0 +1,180 @@ +################################################################################ +# +# firmware-imx +# +################################################################################ + +FIRMWARE_IMX_VERSION = 8.12 +FIRMWARE_IMX_SITE = $(FREESCALE_IMX_SITE) +FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin + +FIRMWARE_IMX_LICENSE = NXP Semiconductor Software License Agreement +FIRMWARE_IMX_LICENSE_FILES = EULA COPYING +FIRMWARE_IMX_REDISTRIBUTE = NO + +FIRMWARE_IMX_INSTALL_IMAGES = YES + +define FIRMWARE_IMX_EXTRACT_CMDS + $(call FREESCALE_IMX_EXTRACT_HELPER,$(FIRMWARE_IMX_DL_DIR)/$(FIRMWARE_IMX_SOURCE)) +endef + +# +# DDR firmware +# + +define FIRMWARE_IMX_PREPARE_DDR_FW + $(TARGET_OBJCOPY) -I binary -O binary \ + --pad-to $(BR2_PACKAGE_FIRMWARE_IMX_IMEM_LEN) --gap-fill=0x0 \ + $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(1)).bin \ + $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(1))_pad.bin + $(TARGET_OBJCOPY) -I binary -O binary \ + --pad-to $(BR2_PACKAGE_FIRMWARE_IMX_DMEM_LEN) --gap-fill=0x0 \ + $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(2)).bin \ + $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(2))_pad.bin + cat $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(1))_pad.bin \ + $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(2))_pad.bin > \ + $(FIRMWARE_IMX_DDRFW_DIR)/$(strip $(3)).bin +endef + +ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_LPDDR4),y) +FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys + +define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW + # Create padded versions of lpddr4_pmu_* and generate lpddr4_pmu_train_fw.bin. + # lpddr4_pmu_train_fw.bin is needed when generating imx8-boot-sd.bin + # which is done in post-image script. + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + lpddr4_pmu_train_1d_imem,lpddr4_pmu_train_1d_dmem,lpddr4_pmu_train_1d_fw) + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + lpddr4_pmu_train_2d_imem,lpddr4_pmu_train_2d_dmem,lpddr4_pmu_train_2d_fw) + cat $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_1d_fw.bin \ + $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4_pmu_train_2d_fw.bin > \ + $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin + ln -sf $(BINARIES_DIR)/lpddr4_pmu_train_fw.bin $(BINARIES_DIR)/ddr_fw.bin + + # U-Boot supports creation of the combined flash.bin image. To make + # sure that U-Boot can access all available files copy them to + # the binary dir. + cp $(FIRMWARE_IMX_DDRFW_DIR)/lpddr4*.bin $(BINARIES_DIR)/ +endef +endif + +ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_DDR4),y) +FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys + +define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW + # Create padded versions of ddr4_* and generate ddr4_fw.bin. + # ddr4_fw.bin is needed when generating imx8-boot-sd.bin + # which is done in post-image script. + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + ddr4_imem_1d_201810,ddr4_dmem_1d_201810,ddr4_1d_201810_fw) + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + ddr4_imem_2d_201810,ddr4_dmem_2d_201810,ddr4_2d_201810_fw) + cat $(FIRMWARE_IMX_DDRFW_DIR)/ddr4_1d_201810_fw.bin \ + $(FIRMWARE_IMX_DDRFW_DIR)/ddr4_2d_201810_fw.bin > \ + $(BINARIES_DIR)/ddr4_201810_fw.bin + ln -sf $(BINARIES_DIR)/ddr4_201810_fw.bin $(BINARIES_DIR)/ddr_fw.bin + + # U-Boot supports creation of the combined flash.bin image. To make + # sure that U-Boot can access all available files copy them to + # the binary dir. + cp $(FIRMWARE_IMX_DDRFW_DIR)/ddr4*.bin $(BINARIES_DIR)/ +endef +endif + +ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_DDR3),y) +FIRMWARE_IMX_DDRFW_DIR = $(@D)/firmware/ddr/synopsys + +define FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW + # Create padded versions of ddr3_* and generate ddr3_fw.bin. + # ddr3_fw.bin is needed when generating imx8-boot-sd.bin + # which is done in post-image script. + $(call FIRMWARE_IMX_PREPARE_DDR_FW, \ + ddr3_imem_1d_201810,ddr3_dmem_1d_201810,ddr3_1d_201810_fw) + cat $(FIRMWARE_IMX_DDRFW_DIR)/ddr3_1d_201810_fw.bin > \ + $(BINARIES_DIR)/ddr3_201810_fw.bin + ln -sf $(BINARIES_DIR)/ddr3_201810_fw.bin $(BINARIES_DIR)/ddr_fw.bin + + # U-Boot supports creation of the combined flash.bin image. To make + # sure that U-Boot can access all available files copy them to + # the binary dir. + cp $(FIRMWARE_IMX_DDRFW_DIR)/ddr3*.bin $(BINARIES_DIR)/ +endef +endif + +# +# HDMI firmware +# + +ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_NEEDS_HDMI_FW),y) +define FIRMWARE_IMX_INSTALL_IMAGE_HDMI_FW + cp $(@D)/firmware/hdmi/cadence/signed_hdmi_imx8m.bin \ + $(BINARIES_DIR)/signed_hdmi_imx8m.bin +endef +endif + +# +# EASRC firmware +# + +ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EASRC_FW),y) +define FIRMWARE_IMX_INSTALL_TARGET_EASRC_FW + mkdir -p $(TARGET_DIR)/lib/firmware/imx + cp -r $(@D)/firmware/easrc $(TARGET_DIR)/lib/firmware/imx +endef +endif + +# +# EPDC firmware +# + +ifeq ($(BR2_PACKAGE_FIRMWARE_IMX_NEEDS_EPDC_FW),y) +define FIRMWARE_IMX_INSTALL_TARGET_EPDC_FW + mkdir -p $(TARGET_DIR)/lib/firmware/imx + cp -r $(@D)/firmware/epdc $(TARGET_DIR)/lib/firmware/imx + mv $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted \ + $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw +endef +endif + +# +# SDMA firmware +# + +FIRMWARE_IMX_SDMA_FW_NAME = $(call qstrip,$(BR2_PACKAGE_FIRMWARE_IMX_SDMA_FW_NAME)) +ifneq ($(FIRMWARE_IMX_SDMA_FW_NAME),) +define FIRMWARE_IMX_INSTALL_TARGET_SDMA_FW + mkdir -p $(TARGET_DIR)/lib/firmware/imx/sdma + cp -r $(@D)/firmware/sdma/sdma-$(FIRMWARE_IMX_SDMA_FW_NAME)*.bin \ + $(TARGET_DIR)/lib/firmware/imx/sdma/ +endef +endif + +# +# VPU firmware +# + +FIRMWARE_IMX_VPU_FW_NAME = $(call qstrip,$(BR2_PACKAGE_FIRMWARE_IMX_VPU_FW_NAME)) +ifneq ($(FIRMWARE_IMX_VPU_FW_NAME),) +define FIRMWARE_IMX_INSTALL_TARGET_VPU_FW + mkdir -p $(TARGET_DIR)/lib/firmware/vpu + for i in $$(find $(@D)/firmware/vpu/vpu_fw_$(FIRMWARE_IMX_VPU_FW_NAME)*.bin); do \ + cp $$i $(TARGET_DIR)/lib/firmware/vpu/ ; \ + ln -sf vpu/$$(basename $$i) $(TARGET_DIR)/lib/firmware/$$(basename $$i) ; \ + done +endef +endif + +define FIRMWARE_IMX_INSTALL_IMAGES_CMDS + $(FIRMWARE_IMX_INSTALL_IMAGE_DDR_FW) + $(FIRMWARE_IMX_INSTALL_IMAGE_HDMI_FW) +endef + +define FIRMWARE_IMX_INSTALL_TARGET_CMDS + $(FIRMWARE_IMX_INSTALL_TARGET_EASRC_FW) + $(FIRMWARE_IMX_INSTALL_TARGET_EPDC_FW) + $(FIRMWARE_IMX_INSTALL_TARGET_SDMA_FW) + $(FIRMWARE_IMX_INSTALL_TARGET_VPU_FW) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/freescale-imx.mk b/buildroot-2022.02.1/package/freescale-imx/freescale-imx.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/freescale-imx.mk rename to buildroot-2022.02.1/package/freescale-imx/freescale-imx.mk diff --git a/buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/Config.in b/buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/Config.in rename to buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/egl.pc b/buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/egl.pc similarity index 100% rename from buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/egl.pc rename to buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/egl.pc diff --git a/buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/glesv2.pc b/buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/glesv2.pc similarity index 100% rename from buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/glesv2.pc rename to buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/glesv2.pc diff --git a/buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.hash b/buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.hash rename to buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.hash diff --git a/buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk b/buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk new file mode 100644 index 00000000..c99c568f --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk @@ -0,0 +1,67 @@ +################################################################################ +# +# gpu-amd-bin-mx51 +# +################################################################################ + +GPU_AMD_BIN_MX51_SITE = $(FREESCALE_IMX_SITE) +GPU_AMD_BIN_MX51_BASE_VERSION = 11.09.01 +ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_FB),y) +GPU_AMD_BIN_MX51_VERSION = $(GPU_AMD_BIN_MX51_BASE_VERSION)-fb +GPU_AMD_BIN_MX51_SOURCE = amd-gpu-bin-mx51-$(GPU_AMD_BIN_MX51_BASE_VERSION).bin +else +GPU_AMD_BIN_MX51_VERSION = $(GPU_AMD_BIN_MX51_BASE_VERSION)-x11 +GPU_AMD_BIN_MX51_SOURCE = amd-gpu-x11-bin-mx51-$(GPU_AMD_BIN_MX51_BASE_VERSION).bin +GPU_AMD_BIN_MX51_DEPENDENCIES += libxcb xlib_libX11 xlib_libXext \ + xlib_libXrender xlib_libXau xlib_libXdmcp +endif +GPU_AMD_BIN_MX51_PROVIDES = libegl libgles libopenvg +GPU_AMD_BIN_MX51_INSTALL_STAGING = YES + +GPU_AMD_BIN_MX51_LICENSE = Freescale Semiconductor Software License Agreement +GPU_AMD_BIN_MX51_LICENSE_FILES = EULA +GPU_AMD_BIN_MX51_REDISTRIBUTE = NO + +define GPU_AMD_BIN_MX51_EXTRACT_CMDS + $(call FREESCALE_IMX_EXTRACT_HELPER,$(GPU_AMD_BIN_MX51_DL_DIR)/$(GPU_AMD_BIN_MX51_SOURCE)) +endef + +# Upstream headers need to be compiled with -D_LINUX. It is more convenient +# to rely on __linux__ which is defined in compiler itself +define GPU_AMD_BIN_MX51_FIXUP_HEADERS + $(SED) 's/_LINUX/__linux__/g' $(@D)/usr/include/*/*.h +endef +GPU_AMD_BIN_MX51_POST_PATCH_HOOKS += GPU_AMD_BIN_MX51_FIXUP_HEADERS + +# eglplatform_1.4.h contains X11 compatible headers +ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11),y) +define GPU_AMD_BIN_MX51_FIXUP_EGL_HEADERS + mv $(STAGING_DIR)/usr/include/EGL/eglplatform_1.4.h $(STAGING_DIR)/usr/include/EGL/eglplatform.h +endef +endif + +define GPU_AMD_BIN_MX51_INSTALL_STAGING_CMDS + $(INSTALL) -d $(STAGING_DIR)/usr/lib/pkgconfig + $(INSTALL) -m 644 package/freescale-imx/gpu-amd-bin-mx51/*.pc $(STAGING_DIR)/usr/lib/pkgconfig/ + $(INSTALL) -m 755 $(@D)/usr/lib/lib* $(STAGING_DIR)/usr/lib/ + cp -r $(@D)/usr/include/* $(STAGING_DIR)/usr/include + $(GPU_AMD_BIN_MX51_FIXUP_EGL_HEADERS) +endef + +ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES),y) +define GPU_AMD_BIN_MX51_INSTALL_EXAMPLES + $(INSTALL) -d $(TARGET_DIR)/usr/share/examples/gpu_amd_samples + $(INSTALL) -m 755 $(@D)/usr/bin/* $(TARGET_DIR)/usr/share/examples/gpu_amd_samples +endef +endif + +define GPU_AMD_BIN_MX51_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 $(@D)/usr/lib/lib*so* $(TARGET_DIR)/usr/lib/ + $(GPU_AMD_BIN_MX51_INSTALL_EXAMPLES) +endef + +define GPU_AMD_BIN_MX51_DEVICES + /dev/gsl_kmod c 640 0 0 249 0 1 4 +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/vg.pc b/buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/vg.pc similarity index 100% rename from buildroot-2021.05/package/freescale-imx/gpu-amd-bin-mx51/vg.pc rename to buildroot-2022.02.1/package/freescale-imx/gpu-amd-bin-mx51/vg.pc diff --git a/buildroot-2021.05/package/freescale-imx/imx-alsa-plugins/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-alsa-plugins/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-alsa-plugins/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-alsa-plugins/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash b/buildroot-2022.02.1/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk b/buildroot-2022.02.1/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-alsa-plugins/imx-alsa-plugins.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-codec/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-codec/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-codec/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-codec/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-codec/imx-codec.hash b/buildroot-2022.02.1/package/freescale-imx/imx-codec/imx-codec.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-codec/imx-codec.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-codec/imx-codec.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-codec/imx-codec.mk b/buildroot-2022.02.1/package/freescale-imx/imx-codec/imx-codec.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-codec/imx-codec.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-codec/imx-codec.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-gpu-g2d/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-g2d/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-gpu-g2d/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-gpu-g2d/Config.in diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash new file mode 100644 index 00000000..4d28b037 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 39fe307916e19a0892a514621121086e276a43858af90230372a1344852116a2 imx-gpu-g2d-6.4.3.p2.0-arm.bin +sha256 2642a49e088daae4cf568a150d01e7c095995e8a6ff1883c02c3fa6d26d254b3 imx-gpu-g2d-6.4.3.p2.0-aarch64.bin +sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING +sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk new file mode 100644 index 00000000..0e4078a9 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-g2d/imx-gpu-g2d.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# imx-gpu-g2d +# +################################################################################ + +ifeq ($(BR2_aarch64),y) +IMX_GPU_G2D_VERSION = 6.4.3.p2.0-aarch64 +else +IMX_GPU_G2D_VERSION = 6.4.3.p2.0-arm +endif +IMX_GPU_G2D_SITE = $(FREESCALE_IMX_SITE) +IMX_GPU_G2D_SOURCE = imx-gpu-g2d-$(IMX_GPU_G2D_VERSION).bin +IMX_GPU_G2D_DEPENDENCIES = imx-gpu-viv +IMX_GPU_G2D_INSTALL_STAGING = YES + +IMX_GPU_G2D_LICENSE = NXP Semiconductor Software License Agreement +IMX_GPU_G2D_LICENSE_FILES = EULA COPYING +IMX_GPU_G2D_REDISTRIBUTE = NO + +define IMX_GPU_G2D_EXTRACT_CMDS + $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_G2D_DL_DIR)/$(IMX_GPU_G2D_SOURCE)) +endef + +define IMX_GPU_G2D_INSTALL_STAGING_CMDS + cp -a $(@D)/g2d/usr/* $(STAGING_DIR)/usr +endef + +ifeq ($(BR2_PACKAGE_IMX_GPU_G2D_EXAMPLES),y) +define IMX_GPU_G2D_INSTALL_EXAMPLES + mkdir -p $(TARGET_DIR)/usr/share/examples/ + cp -a $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/ +endef +endif + +define IMX_GPU_G2D_INSTALL_TARGET_CMDS + $(IMX_GPU_G2D_INSTALL_EXAMPLES) + cp -a $(@D)/g2d/usr/lib $(TARGET_DIR)/usr +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/Config.in new file mode 100644 index 00000000..9ba3d042 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/Config.in @@ -0,0 +1,114 @@ +comment "imx-gpu-viv needs a glibc toolchain with armhf enabled" + depends on BR2_arm + depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF + +comment "imx-gpu-viv needs a glibc toolchain" + depends on BR2_aarch64 + depends on !BR2_TOOLCHAIN_USES_GLIBC + +config BR2_PACKAGE_IMX_GPU_VIV + bool "imx-gpu-viv" + # Pre-built binaries only available for ARM EABIhf + depends on (BR2_arm && BR2_ARM_EABIHF) || BR2_aarch64 + # Library binaries are linked against libc.so.6 + depends on BR2_TOOLCHAIN_USES_GLIBC + # Library binaries are linked against libdrm.so.2, except framebuffer + # output on ARM + select BR2_PACKAGE_LIBDRM if !(BR2_arm && BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB) + select BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_HAS_LIBGLES + # gbm is only available in the aarch64 blobs + select BR2_PACKAGE_HAS_LIBGBM if BR2_aarch64 + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF if BR2_aarch64 + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT if BR2_aarch64 + select BR2_PACKAGE_HAS_LIBOPENCL + select BR2_PACKAGE_HAS_LIBOPENVG + help + Userspace libraries for Vivante GPU on i.MX platforms + + It contains libraries and headers for GLES, OpenCL, and + OpenVG. It also contains a DRI plugin for X11. It also + contains a plugin for DirectFB-1.4.0, but that doesn't work + together with buildroot's DirectFB version. + + This library is provided by Freescale as-is and doesn't have + an upstream. + +if BR2_PACKAGE_IMX_GPU_VIV + +choice + prompt "Output option" + help + There are two versions of this library: one for + direct framebuffer access, one for X11 rendering. + Choose here which version to install. + +config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 + bool "X11" + depends on BR2_PACKAGE_XORG7 + # The i.MX8 blob doesn't support X11 output + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + select BR2_PACKAGE_XLIB_LIBXDAMAGE + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXFIXES + +comment "X11 backend needs Xorg package" + depends on !BR2_PACKAGE_XORG7 + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + +config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB + bool "Framebuffer" + # The i.MX8 blob doesn't support FB output + depends on !BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX8M + +config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL + bool "Wayland" + select BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_HAS_LIBEGL_WAYLAND + +endchoice + +config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT + string + default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11 + default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB + default "wayland" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL + +config BR2_PACKAGE_PROVIDES_LIBEGL + default "imx-gpu-viv" + +config BR2_PACKAGE_PROVIDES_LIBGLES + default "imx-gpu-viv" + +config BR2_PACKAGE_PROVIDES_LIBOPENCL + default "imx-gpu-viv" + +config BR2_PACKAGE_PROVIDES_LIBOPENVG + default "imx-gpu-viv" + +if BR2_aarch64 + +config BR2_PACKAGE_PROVIDES_LIBGBM + default "imx-gpu-viv" + +endif + +config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES + bool "install examples" + # example binaries are linked against libstdc++.so.6 + depends on BR2_INSTALL_LIBSTDCPP + help + Copy the Vivante examples to the target. + + Warning: examples take approximately 150 MB of disk space. + +comment "imx-gpu-viv-examples need a toolchain w/ C++ support" + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO + bool "install gmem_info tool" + help + Copy the gmem_info tool to the target which provides + information about GPU memory consumption. + +endif diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash new file mode 100644 index 00000000..312eeb6f --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 1324b1aaf190110b80ad9a6f6533f4f50dce9e9ab8d49d8503f59764b151d219 imx-gpu-viv-6.4.3.p2.0-aarch32.bin +sha256 003c30baefb1655790b475c3cdfa5cefbf81ea89ef37c6649b64f151dd23a52e imx-gpu-viv-6.4.3.p2.0-aarch64.bin +sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING +sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk new file mode 100644 index 00000000..1d76d79e --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk @@ -0,0 +1,101 @@ +################################################################################ +# +# imx-gpu-viv +# +################################################################################ + +ifeq ($(BR2_aarch64),y) +IMX_GPU_VIV_VERSION = 6.4.3.p2.0-aarch64 +else +IMX_GPU_VIV_VERSION = 6.4.3.p2.0-aarch32 +endif +IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE) +IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin + +IMX_GPU_VIV_INSTALL_STAGING = YES + +IMX_GPU_VIV_LICENSE = NXP Semiconductor Software License Agreement +IMX_GPU_VIV_LICENSE_FILES = EULA COPYING +IMX_GPU_VIV_REDISTRIBUTE = NO + +IMX_GPU_VIV_PROVIDES = libegl libgles libopencl libopenvg + +ifeq ($(BR2_aarch64),y) +IMX_GPU_VIV_PROVIDES += libgbm +endif + +IMX_GPU_VIV_LIB_TARGET = $(call qstrip,$(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT)) + +ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11) +# The libGAL.so library provided by imx-gpu-viv uses X functions. Packages +# may want to link against libGAL.so (QT5 Base with OpenGL and X support +# does so). For this to work we need build dependencies to libXdamage, +# libXext and libXfixes so that X functions used in libGAL.so are referenced. +IMX_GPU_VIV_DEPENDENCIES += xlib_libXdamage xlib_libXext xlib_libXfixes +endif + +# Libraries are linked against libdrm, except framebuffer output on ARM +ifneq ($(IMX_GPU_VIV_LIB_TARGET)$(BR2_arm),fby) +IMX_GPU_VIV_DEPENDENCIES += libdrm +endif + +ifeq ($(IMX_GPU_VIV_LIB_TARGET),wayland) +IMX_GPU_VIV_DEPENDENCIES += wayland +endif + +define IMX_GPU_VIV_EXTRACT_CMDS + $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_GPU_VIV_DL_DIR)/$(IMX_GPU_VIV_SOURCE)) +endef + +ifeq ($(IMX_GPU_VIV_LIB_TARGET),fb) +define IMX_GPU_VIV_FIXUP_PKGCONFIG + ln -sf egl_linuxfb.pc $(@D)/gpu-core/usr/lib/pkgconfig/egl.pc +endef +else ifeq ($(IMX_GPU_VIV_LIB_TARGET),wayland) +define IMX_GPU_VIV_FIXUP_PKGCONFIG + ln -sf egl_wayland.pc $(@D)/gpu-core/usr/lib/pkgconfig/egl.pc +endef +else ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11) +define IMX_GPU_VIV_FIXUP_PKGCONFIG + $(foreach lib,egl gbm glesv1_cm glesv2 vg, \ + ln -sf $(lib)_x11.pc $(@D)/gpu-core/usr/lib/pkgconfig/$(lib).pc + ) +endef +endif + +# Instead of building, we fix up the inconsistencies that exist +# in the upstream archive here. We also remove unused backend files. +# Make sure these commands are idempotent. +define IMX_GPU_VIV_BUILD_CMDS + cp -dpfr $(@D)/gpu-core/usr/lib/$(IMX_GPU_VIV_LIB_TARGET)/* $(@D)/gpu-core/usr/lib/ + $(foreach backend,fb x11 wayland, \ + $(RM) -r $(@D)/gpu-core/usr/lib/$(backend) + ) + $(IMX_GPU_VIV_FIXUP_PKGCONFIG) +endef + +define IMX_GPU_VIV_INSTALL_STAGING_CMDS + cp -r $(@D)/gpu-core/usr/* $(STAGING_DIR)/usr +endef + +ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES),y) +define IMX_GPU_VIV_INSTALL_EXAMPLES + mkdir -p $(TARGET_DIR)/usr/share/examples/ + cp -r $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/ +endef +endif + +ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO),y) +define IMX_GPU_VIV_INSTALL_GMEM_INFO + cp -dpfr $(@D)/gpu-tools/gmem-info/usr/bin/* $(TARGET_DIR)/usr/bin/ +endef +endif + +define IMX_GPU_VIV_INSTALL_TARGET_CMDS + $(IMX_GPU_VIV_INSTALL_EXAMPLES) + $(IMX_GPU_VIV_INSTALL_GMEM_INFO) + cp -a $(@D)/gpu-core/usr/lib $(TARGET_DIR)/usr + $(INSTALL) -D -m 0644 $(@D)/gpu-core/etc/Vivante.icd $(TARGET_DIR)/etc/OpenCL/vendors/Vivante.icd +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch b/buildroot-2022.02.1/package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch rename to buildroot-2022.02.1/package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch diff --git a/buildroot-2021.05/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch b/buildroot-2022.02.1/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch rename to buildroot-2022.02.1/package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch diff --git a/buildroot-2021.05/package/freescale-imx/imx-kobs/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-kobs/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-kobs/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-kobs/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-kobs/imx-kobs.hash b/buildroot-2022.02.1/package/freescale-imx/imx-kobs/imx-kobs.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-kobs/imx-kobs.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-kobs/imx-kobs.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-kobs/imx-kobs.mk b/buildroot-2022.02.1/package/freescale-imx/imx-kobs/imx-kobs.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-kobs/imx-kobs.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-kobs/imx-kobs.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-lib/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-lib/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-lib/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-lib/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-lib/imx-lib.hash b/buildroot-2022.02.1/package/freescale-imx/imx-lib/imx-lib.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-lib/imx-lib.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-lib/imx-lib.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-lib/imx-lib.mk b/buildroot-2022.02.1/package/freescale-imx/imx-lib/imx-lib.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-lib/imx-lib.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-lib/imx-lib.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-m4fwloader/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-m4fwloader/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-m4fwloader/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-m4fwloader/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.hash b/buildroot-2022.02.1/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk b/buildroot-2022.02.1/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-parser/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-parser/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-parser/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-parser/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-parser/imx-parser.hash b/buildroot-2022.02.1/package/freescale-imx/imx-parser/imx-parser.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-parser/imx-parser.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-parser/imx-parser.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-parser/imx-parser.mk b/buildroot-2022.02.1/package/freescale-imx/imx-parser/imx-parser.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-parser/imx-parser.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-parser/imx-parser.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-sc-firmware/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-sc-firmware/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-sc-firmware/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-sc-firmware/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-sc-firmware/imx-sc-firmware.hash b/buildroot-2022.02.1/package/freescale-imx/imx-sc-firmware/imx-sc-firmware.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-sc-firmware/imx-sc-firmware.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-sc-firmware/imx-sc-firmware.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-sc-firmware/imx-sc-firmware.mk b/buildroot-2022.02.1/package/freescale-imx/imx-sc-firmware/imx-sc-firmware.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-sc-firmware/imx-sc-firmware.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-sc-firmware/imx-sc-firmware.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-seco/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-seco/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-seco/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-seco/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-seco/imx-seco.hash b/buildroot-2022.02.1/package/freescale-imx/imx-seco/imx-seco.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-seco/imx-seco.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-seco/imx-seco.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-seco/imx-seco.mk b/buildroot-2022.02.1/package/freescale-imx/imx-seco/imx-seco.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-seco/imx-seco.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-seco/imx-seco.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-uuc/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-uuc/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-uuc/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-uuc/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-uuc/S80imx-uuc b/buildroot-2022.02.1/package/freescale-imx/imx-uuc/S80imx-uuc similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-uuc/S80imx-uuc rename to buildroot-2022.02.1/package/freescale-imx/imx-uuc/S80imx-uuc diff --git a/buildroot-2021.05/package/freescale-imx/imx-uuc/imx-uuc.hash b/buildroot-2022.02.1/package/freescale-imx/imx-uuc/imx-uuc.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-uuc/imx-uuc.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-uuc/imx-uuc.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-uuc/imx-uuc.mk b/buildroot-2022.02.1/package/freescale-imx/imx-uuc/imx-uuc.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-uuc/imx-uuc.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-uuc/imx-uuc.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-uuc/imx-uuc.service b/buildroot-2022.02.1/package/freescale-imx/imx-uuc/imx-uuc.service similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-uuc/imx-uuc.service rename to buildroot-2022.02.1/package/freescale-imx/imx-uuc/imx-uuc.service diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/Config.in new file mode 100644 index 00000000..9a0f448b --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/Config.in @@ -0,0 +1,14 @@ +comment "imx-vpu-hantro-vc needs an i.MX-specific Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +comment "imx-vpu-hantro-vc needs an i.MX platform with Hantro VPU" + depends on BR2_LINUX_KERNEL + depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO + +config BR2_PACKAGE_IMX_VPU_HANTRO_VC + bool "imx-vpu-hantro-vc" + depends on BR2_LINUX_KERNEL + depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU_HANTRO + help + i.MX VC8000E Encoder library. Intended for the i.MX 8M Plus + processor. diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash new file mode 100644 index 00000000..aadf5b12 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 d5efae484c4271c098286d007590d6bf40c272d4f35702ff65625f2362715ab3 imx-vpu-hantro-vc-1.4.0.bin +sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING +sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk new file mode 100644 index 00000000..b07e1166 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro-vc/imx-vpu-hantro-vc.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# imx-vpu-hantro-vc +# +################################################################################ + +IMX_VPU_HANTRO_VC_VERSION = 1.4.0 +IMX_VPU_HANTRO_VC_SITE = $(FREESCALE_IMX_SITE) +IMX_VPU_HANTRO_VC_SOURCE = imx-vpu-hantro-vc-$(IMX_VPU_HANTRO_VC_VERSION).bin +IMX_VPU_HANTRO_VC_DEPENDENCIES = linux + +IMX_VPU_HANTRO_VC_LICENSE = NXP Semiconductor Software License Agreement +IMX_VPU_HANTRO_VC_LICENSE_FILES = EULA COPYING +IMX_VPU_HANTRO_VC_REDISTRIBUTE = NO + +define IMX_VPU_HANTRO_VC_EXTRACT_CMDS + $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPU_HANTRO_VC_DL_DIR)/$(IMX_VPU_HANTRO_VC_SOURCE)) +endef + +define IMX_VPU_HANTRO_VC_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/usr/lib/libhantro_vc8000e.so $(TARGET_DIR)/usr/lib/libhantro_vc8000e.so + $(INSTALL) -D -m 0755 $(@D)/usr/lib/libhantro_vc8000e.so.1 $(TARGET_DIR)/usr/lib/libhantro_vc8000e.so.1 +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch new file mode 100644 index 00000000..7a89dd99 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/0001-Fix-ion.h-header-inclusion-to-be-standard.patch @@ -0,0 +1,77 @@ +From dfe8ef9123936d2c1d5da34f63f661849171d5ef Mon Sep 17 00:00:00 2001 +From: Gary Bisson +Date: Sun, 3 Oct 2021 16:39:29 -0700 +Subject: [PATCH] Fix ion.h header inclusion to be standard + +NXP "solution" was to manually copy the header to include/linux. +Let's point the Makefile to the proper (mainline) location instead: +https://elixir.bootlin.com/linux/v4.17/source/drivers/staging/android/uapi/ion.h + +Signed-off-by: Gary Bisson +Signed-off-by: Chris Dimich +--- + Makefile_G1G2 | 4 ++-- + Makefile_H1 | 4 ++-- + decoder_sw/software/linux/dwl/dwl_linux.c | 2 +- + h1_encoder/software/linux_reference/ewl/ewl_x280_common.c | 2 +- + 4 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/Makefile_G1G2 b/Makefile_G1G2 +index 8f83391..25884fa 100755 +--- a/Makefile_G1G2 ++++ b/Makefile_G1G2 +@@ -10,8 +10,8 @@ INCLUDE_HEADERS = -I./decoder_sw -I$(SOURCE_ROOT)/source/inc -I$(SOURCE_ROOT)/so + + INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/memalloc + #INCLUDE_HEADERS += -I$(SOURCE_ROOT)/linux/ldriver +-#INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include +-INCLUDE_HEADERS += -I$(SDKTARGETSYSROOT)/usr/include/imx ++INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include ++INCLUDE_HEADERS += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi + + CFLAGS += -DDEC_MODULE_PATH=\"/dev/mxc_hantro\" -DUSE_FAKE_RFC_TABLE -DFIFO_DATATYPE=void* -DNDEBUG -DDOWN_SCALER \ + -DUSE_EXTERNAL_BUFFER -DUSE_FAST_EC -DUSE_VP9_EC -DGET_FREE_BUFFER_NON_BLOCK \ +diff --git a/Makefile_H1 b/Makefile_H1 +index 0979571..479940a 100755 +--- a/Makefile_H1 ++++ b/Makefile_H1 +@@ -17,8 +17,8 @@ ENV = -DENC_MODULE_PATH=\\\"/dev/mxc_hantro_h1\\\" + #ENV += -DSDRAM_LM_BASE=0x00000000 + ENV += -DEWL_NO_HW_TIMEOUT + ENV += -DUSE_ION +-#ENV += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include +-ENV += -I$(SDKTARGETSYSROOT)/usr/include/imx ++ENV += -I$(LINUX_KERNEL_ROOT)/include/uapi -I$(LINUX_KERNEL_ROOT)/include ++ENV += -I$(LINUX_KERNEL_ROOT)/drivers/staging/android/uapi + + ifeq ($(CFG_SECURE_DATA_PATH), y) + ENV += -DCFG_SECURE_DATA_PATH +diff --git a/decoder_sw/software/linux/dwl/dwl_linux.c b/decoder_sw/software/linux/dwl/dwl_linux.c +index 7d5e33b..c0e5727 100755 +--- a/decoder_sw/software/linux/dwl/dwl_linux.c ++++ b/decoder_sw/software/linux/dwl/dwl_linux.c +@@ -50,7 +50,7 @@ + #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) + #include + #else +-#include ++#include + #endif + #ifdef ANDROID + #include +diff --git a/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c b/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c +index 312e4cc..70630c3 100755 +--- a/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c ++++ b/h1_encoder/software/linux_reference/ewl/ewl_x280_common.c +@@ -52,7 +52,7 @@ + #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 11, 0) + #include + #else +-#include ++#include + #endif + #include + #include +-- +2.31.1 + diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/0002-Fix-build-with-uclibc-toolchain.patch b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/0002-Fix-build-with-uclibc-toolchain.patch similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/0002-Fix-build-with-uclibc-toolchain.patch rename to buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/0002-Fix-build-with-uclibc-toolchain.patch diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-vpu-hantro/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/Config.in diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash new file mode 100644 index 00000000..dd3b167e --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 03c61dfb268b31a0d25a4d1387cb3ad0261029ad5de801f72224602e2b37da00 imx-vpu-hantro-1.22.0.bin +sha256 ea58636bf34f589048fcd46e38497c47229fde8498df086ff5fb52f9ef8e15ee COPYING +sha256 50099e283cfd307f84f159aeb1a6f462351320273dbcdb80d7f2c9db0494b71c EULA diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk new file mode 100644 index 00000000..360591b4 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-vpu-hantro/imx-vpu-hantro.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# imx-vpu-hantro +# +################################################################################ + +IMX_VPU_HANTRO_VERSION = 1.22.0 +IMX_VPU_HANTRO_SITE = $(FREESCALE_IMX_SITE) +IMX_VPU_HANTRO_SOURCE = imx-vpu-hantro-$(IMX_VPU_HANTRO_VERSION).bin +IMX_VPU_HANTRO_DEPENDENCIES = linux +IMX_VPU_HANTRO_INSTALL_STAGING = YES + +IMX_VPU_HANTRO_MAKE_ENV = \ + $(TARGET_MAKE_ENV) \ + $(TARGET_CONFIGURE_OPTS) \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + SDKTARGETSYSROOT=$(STAGING_DIR) \ + LINUX_KERNEL_ROOT=$(LINUX_DIR) \ + PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) + +IMX_VPU_HANTRO_LICENSE = NXP Semiconductor Software License Agreement +IMX_VPU_HANTRO_LICENSE_FILES = EULA COPYING +IMX_VPU_HANTRO_REDISTRIBUTE = NO + +define IMX_VPU_HANTRO_EXTRACT_CMDS + $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPU_HANTRO_DL_DIR)/$(IMX_VPU_HANTRO_SOURCE)) +endef + +define IMX_VPU_HANTRO_BUILD_CMDS + $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) +endef + +define IMX_VPU_HANTRO_INSTALL_STAGING_CMDS + $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \ + DEST_DIR=$(STAGING_DIR) libdir=/usr/lib install +endef + +define IMX_VPU_HANTRO_INSTALL_TARGET_CMDS + $(IMX_VPU_HANTRO_MAKE_ENV) $(MAKE1) -C $(@D) \ + DEST_DIR=$(TARGET_DIR) libdir=/usr/lib install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpu/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-vpu/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-vpu/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-vpu/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpu/imx-vpu.hash b/buildroot-2022.02.1/package/freescale-imx/imx-vpu/imx-vpu.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-vpu/imx-vpu.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-vpu/imx-vpu.hash diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpu/imx-vpu.mk b/buildroot-2022.02.1/package/freescale-imx/imx-vpu/imx-vpu.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-vpu/imx-vpu.mk rename to buildroot-2022.02.1/package/freescale-imx/imx-vpu/imx-vpu.mk diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpuwrap/Config.in b/buildroot-2022.02.1/package/freescale-imx/imx-vpuwrap/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-vpuwrap/Config.in rename to buildroot-2022.02.1/package/freescale-imx/imx-vpuwrap/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.hash b/buildroot-2022.02.1/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.hash rename to buildroot-2022.02.1/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.hash diff --git a/buildroot-2022.02.1/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk b/buildroot-2022.02.1/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk new file mode 100644 index 00000000..4f891654 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# imx-vpuwrap +# +################################################################################ + +IMX_VPUWRAP_VERSION = 4.3.5 +IMX_VPUWRAP_SITE = $(FREESCALE_IMX_SITE) +IMX_VPUWRAP_SOURCE = imx-vpuwrap-$(IMX_VPUWRAP_VERSION).bin +IMX_VPUWRAP_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_IMX_VPU),y) +IMX_VPUWRAP_DEPENDENCIES += imx-vpu +endif + +ifeq ($(BR2_PACKAGE_IMX_VPU_HANTRO),y) +IMX_VPUWRAP_DEPENDENCIES += imx-vpu-hantro +endif + +IMX_VPUWRAP_LICENSE = NXP Semiconductor Software License Agreement +IMX_VPUWRAP_LICENSE_FILES = EULA COPYING +IMX_VPUWRAP_REDISTRIBUTE = NO + +define IMX_VPUWRAP_EXTRACT_CMDS + $(call FREESCALE_IMX_EXTRACT_HELPER,$(IMX_VPUWRAP_DL_DIR)/$(IMX_VPUWRAP_SOURCE)) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/freescale-imx/kernel-module-imx-gpu-viv/Config.in b/buildroot-2022.02.1/package/freescale-imx/kernel-module-imx-gpu-viv/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/kernel-module-imx-gpu-viv/Config.in rename to buildroot-2022.02.1/package/freescale-imx/kernel-module-imx-gpu-viv/Config.in diff --git a/buildroot-2022.02.1/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash b/buildroot-2022.02.1/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash new file mode 100644 index 00000000..ee105ef8 --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 257c6cd8b01cfb6543827cbeb78409e6a2ad4ae321891751dcea1abc47d89379 kernel-module-imx-gpu-viv-ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5.tar.gz +sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING diff --git a/buildroot-2022.02.1/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk b/buildroot-2022.02.1/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk new file mode 100644 index 00000000..10505fdf --- /dev/null +++ b/buildroot-2022.02.1/package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# kernel-module-imx-gpu-viv +# +################################################################################ + +KERNEL_MODULE_IMX_GPU_VIV_VERSION = ae0f3be0b7240f11cca191a3e2bdd4a445ee46e5 +KERNEL_MODULE_IMX_GPU_VIV_SITE = \ + $(call github,Freescale,kernel-module-imx-gpu-viv,$(KERNEL_MODULE_IMX_GPU_VIV_VERSION)) +KERNEL_MODULE_IMX_GPU_VIV_LICENSE = GPL-2.0 +KERNEL_MODULE_IMX_GPU_VIV_LICENSE_FILES = COPYING + +KERNEL_MODULE_IMX_GPU_VIV_MODULE_MAKE_OPTS = \ + AQROOT=$(@D)/kernel-module-imx-gpu-viv-src \ + KERNEL_DIR=$(LINUX_DIR) + +KERNEL_MODULE_IMX_GPU_VIV_MODULE_SUBDIRS = kernel-module-imx-gpu-viv-src + +define KERNEL_MODULE_IMX_GPU_VIV_LINUX_CONFIG_FIXUPS + $(call KCONFIG_DISABLE_OPT,CONFIG_MXC_GPU_VIV) +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/freescale-imx/libz160/Config.in b/buildroot-2022.02.1/package/freescale-imx/libz160/Config.in similarity index 100% rename from buildroot-2021.05/package/freescale-imx/libz160/Config.in rename to buildroot-2022.02.1/package/freescale-imx/libz160/Config.in diff --git a/buildroot-2021.05/package/freescale-imx/libz160/libz160.hash b/buildroot-2022.02.1/package/freescale-imx/libz160/libz160.hash similarity index 100% rename from buildroot-2021.05/package/freescale-imx/libz160/libz160.hash rename to buildroot-2022.02.1/package/freescale-imx/libz160/libz160.hash diff --git a/buildroot-2021.05/package/freescale-imx/libz160/libz160.mk b/buildroot-2022.02.1/package/freescale-imx/libz160/libz160.mk similarity index 100% rename from buildroot-2021.05/package/freescale-imx/libz160/libz160.mk rename to buildroot-2022.02.1/package/freescale-imx/libz160/libz160.mk diff --git a/buildroot-2021.05/package/freeswitch-mod-bcg729/Config.in b/buildroot-2022.02.1/package/freeswitch-mod-bcg729/Config.in similarity index 100% rename from buildroot-2021.05/package/freeswitch-mod-bcg729/Config.in rename to buildroot-2022.02.1/package/freeswitch-mod-bcg729/Config.in diff --git a/buildroot-2021.05/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.hash b/buildroot-2022.02.1/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.hash similarity index 100% rename from buildroot-2021.05/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.hash rename to buildroot-2022.02.1/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.hash diff --git a/buildroot-2021.05/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk b/buildroot-2022.02.1/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk similarity index 100% rename from buildroot-2021.05/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk rename to buildroot-2022.02.1/package/freeswitch-mod-bcg729/freeswitch-mod-bcg729.mk diff --git a/buildroot-2022.02.1/package/freeswitch/0001-fix-build-SWITCH_BYTE_ORDER-__BIG_ENDIAN.patch b/buildroot-2022.02.1/package/freeswitch/0001-fix-build-SWITCH_BYTE_ORDER-__BIG_ENDIAN.patch new file mode 100644 index 00000000..57f6e660 --- /dev/null +++ b/buildroot-2022.02.1/package/freeswitch/0001-fix-build-SWITCH_BYTE_ORDER-__BIG_ENDIAN.patch @@ -0,0 +1,26 @@ +From 68039d344d8e826e8b403c9cd0284fd07b4495ac Mon Sep 17 00:00:00 2001 +From: Dragos Oancea +Date: Tue, 26 Oct 2021 08:42:58 +0000 +Subject: [PATCH] [core] fix build SWITCH_BYTE_ORDER == __BIG_ENDIAN + +Downloaded from upstream commit: +https://github.com/signalwire/freeswitch/commit/68039d344d8e826e8b403c9cd0284fd07b4495ac + +Signed-off-by: Bernd Kuhls +--- + src/switch_rtp.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/switch_rtp.c b/src/switch_rtp.c +index 1880bbb19c..843ee81381 100644 +--- a/src/switch_rtp.c ++++ b/src/switch_rtp.c +@@ -2155,7 +2155,7 @@ static void switch_send_rtcp_event(switch_rtp_t *rtp_session ,struct switch_rtcp + switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, header, value); + snprintf(header, sizeof(header), "Source-Lost"); + #if SWITCH_BYTE_ORDER == __BIG_ENDIAN +- tmpLost = report->lost; /* signed 24bit will extended signess to int32_t automatically */ ++ tmpLost = rtcp_report_block->lost; /* signed 24bit will extended signess to int32_t automatically */ + #else + tmpLost = ntohl(rtcp_report_block->lost)>>8; + tmpLost = tmpLost | ((tmpLost & 0x00800000) ? 0xff000000 : 0x00000000); /* ...and signess compensation */ diff --git a/buildroot-2022.02.1/package/freeswitch/0002-core-fix--disable-libyuv.patch b/buildroot-2022.02.1/package/freeswitch/0002-core-fix--disable-libyuv.patch new file mode 100644 index 00000000..137cb27c --- /dev/null +++ b/buildroot-2022.02.1/package/freeswitch/0002-core-fix--disable-libyuv.patch @@ -0,0 +1,129 @@ +From a2ce46c6fde38d6ac54a8a2ee1a5b391e2ed2071 Mon Sep 17 00:00:00 2001 +From: Sebastian Kemper +Date: Mon, 1 Nov 2021 09:59:09 +0100 +Subject: [PATCH] [core] fix "--disable-libyuv" + +Recent changes made it impossible to compile freeswitch without libyuv +support. + +src/switch_core_video.c: In function 'switch_img_read_from_file': +src/switch_core_video.c:3139:4: error: implicit declaration of function 'RAWToI420' [-Werror=implicit-function-declaration] +RAWToI420(data, width * 3, +^ +src/switch_core_video.c:3148:4: error: implicit declaration of function 'ABGRToARGB' [-Werror=implicit-function-declaration] +ABGRToARGB(data, width * 4, img->planes[SWITCH_PLANE_PACKED], img->stride[SWITCH_PLANE_PACKED], width, height); +^ + +Fix this my adding/moving the checks for "SWITCH_HAVE_YUV". + +Downloaded from upstream commit: +https://github.com/signalwire/freeswitch/commit/a2ce46c6fde38d6ac54a8a2ee1a5b391e2ed2071 + +Signed-off-by: Bernd Kuhls +Signed-off-by: Sebastian Kemper +--- + src/switch_core_video.c | 12 ++++++++++++ + tests/unit/switch_core_video.c | 4 ++++ + 2 files changed, 16 insertions(+) + +diff --git a/src/switch_core_video.c b/src/switch_core_video.c +index 7dbd685d6ee..0d377f9c3e4 100644 +--- a/src/switch_core_video.c ++++ b/src/switch_core_video.c +@@ -3116,6 +3116,7 @@ SWITCH_DECLARE(switch_status_t) switch_img_data_url_png(switch_image_t *img, cha + + SWITCH_DECLARE(switch_image_t *) switch_img_read_from_file(const char* file_name, switch_img_fmt_t img_fmt) + { ++#ifdef SWITCH_HAVE_YUV + int width = 0, height = 0, channels = 0; + int comp = STBI_rgb; + unsigned char *data = NULL; +@@ -3155,12 +3156,16 @@ SWITCH_DECLARE(switch_image_t *) switch_img_read_from_file(const char* file_name + } else if (data) { + stbi_image_free(data); + } ++#endif + + return NULL; + } + + SWITCH_DECLARE(switch_status_t) switch_img_write_to_file(switch_image_t *img, const char* file_name, int quality) + { ++#ifndef SWITCH_HAVE_YUV ++ return SWITCH_STATUS_FALSE; ++#else + int comp = STBI_rgb; + unsigned char *data = NULL; + const char *ext = strrchr(file_name, '.'); +@@ -3217,6 +3222,7 @@ SWITCH_DECLARE(switch_status_t) switch_img_write_to_file(switch_image_t *img, co + free(data); + + return ret ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_FALSE; ++#endif + } + + typedef struct data_url_context_s { +@@ -3224,14 +3230,19 @@ typedef struct data_url_context_s { + char **urlP; + } data_url_context_t; + ++#ifdef SWITCH_HAVE_YUV + static void data_url_write_func(void *context, void *data, int size) + { + switch_buffer_t *buffer = (switch_buffer_t *)context; + switch_buffer_write(buffer, data, size); + } ++#endif + + SWITCH_DECLARE(switch_status_t) switch_img_data_url(switch_image_t *img, char **urlP, const char *type, int quality) + { ++#ifndef SWITCH_HAVE_YUV ++ return SWITCH_STATUS_FALSE; ++#else + int comp = STBI_rgb; + unsigned char *data = NULL; + int stride_in_bytes = 0; +@@ -3300,6 +3311,7 @@ SWITCH_DECLARE(switch_status_t) switch_img_data_url(switch_image_t *img, char ** + switch_buffer_destroy(&buffer); + + return ret ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_FALSE; ++#endif /* SWITCH_HAVE_YUV */ + } + + +diff --git a/tests/unit/switch_core_video.c b/tests/unit/switch_core_video.c +index 27c96102929..e395db474d5 100644 +--- a/tests/unit/switch_core_video.c ++++ b/tests/unit/switch_core_video.c +@@ -48,6 +48,7 @@ FST_CORE_BEGIN("./conf") + } + FST_TEARDOWN_END() + ++#ifdef SWITCH_HAVE_YUV + FST_TEST_BEGIN(data_url_test) + { + char *data_url = NULL; +@@ -88,6 +89,7 @@ FST_CORE_BEGIN("./conf") + unlink(argb_filename); + } + FST_TEST_END() ++#endif /* SWITCH_HAVE_YUV */ + + FST_TEST_BEGIN(img_patch) + { +@@ -239,6 +241,7 @@ FST_CORE_BEGIN("./conf") + } + FST_TEST_END() + ++#ifdef SWITCH_HAVE_YUV + FST_TEST_BEGIN(stb_data_url) + { + switch_image_t *img = switch_img_alloc(NULL, SWITCH_IMG_FMT_I420, 120, 60, 1); +@@ -321,6 +324,7 @@ FST_CORE_BEGIN("./conf") + unlink(jpg_write_filename); + } + FST_TEST_END() ++#endif /* SWITCH_HAVE_YUV */ + } + FST_SUITE_END() + } diff --git a/buildroot-2021.05/package/freeswitch/Config.in b/buildroot-2022.02.1/package/freeswitch/Config.in similarity index 100% rename from buildroot-2021.05/package/freeswitch/Config.in rename to buildroot-2022.02.1/package/freeswitch/Config.in diff --git a/buildroot-2022.02.1/package/freeswitch/freeswitch.hash b/buildroot-2022.02.1/package/freeswitch/freeswitch.hash new file mode 100644 index 00000000..8066c620 --- /dev/null +++ b/buildroot-2022.02.1/package/freeswitch/freeswitch.hash @@ -0,0 +1,12 @@ +# From https://files.freeswitch.org/freeswitch-releases/freeswitch-1.10.7.-release.tar.xz.sha256 +sha256 0919bddc2ea9cab2e4944314e71637bea9dd4f40d510722a74ea032104594c41 freeswitch-1.10.7.-release.tar.xz +# Locally computed +sha256 75c933202f40939cdc3827fce20a1efdaa38291e2b5a65d234eb16e2cffda66a COPYING +sha256 c3e3388768dae8bf4edcc4108f95be815b8a05c0b0aef6e4c3d8df81affdfa34 docs/OPENH264_BINARY_LICENSE.txt +sha256 e8e26b16da14aa3e6ed5c22c705fdc1f45d6225fca461ea9f7314bcdfdc414c4 libs/apr/LICENSE +sha256 1eefb2ea1db0af7729a9d8a27d7c65d8a37ab185393f935b029aac6828ce315a libs/apr-util/LICENSE +sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 libs/libvpx/LICENSE +sha256 2b2cc1180c7e6988328ad2033b04b80117419db9c4c584918bbb3cfec7e9364f libs/libyuv/LICENSE +sha256 7d72a8aee2c4b1a084200487992a5d86f5df6b535727a14c1874918e99d24600 libs/libzrtp/src/zrtp_legal.c +sha256 8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae libs/srtp/LICENSE +sha256 ab00a482b6a3902e40211b43c5d0441962ea99b6cc7c25c0f243fa270b78d482 src/mod/codecs/mod_isac/LICENSE diff --git a/buildroot-2022.02.1/package/freeswitch/freeswitch.mk b/buildroot-2022.02.1/package/freeswitch/freeswitch.mk new file mode 100644 index 00000000..c576e5f2 --- /dev/null +++ b/buildroot-2022.02.1/package/freeswitch/freeswitch.mk @@ -0,0 +1,352 @@ +################################################################################ +# +# freeswitch +# +################################################################################ + +FREESWITCH_VERSION = 1.10.7 +FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).-release.tar.xz +FREESWITCH_SITE = https://files.freeswitch.org/freeswitch-releases +# External modules need headers/libs from staging +FREESWITCH_INSTALL_STAGING = YES +FREESWITCH_LICENSE = MPL-1.1, \ + GPL-3.0+ with font exception (fonts), \ + Apache-2.0 (apr, apr-util), \ + BSD-3-Clause (libsrtp) + +FREESWITCH_LICENSE_FILES = \ + COPYING \ + libs/apr/LICENSE \ + libs/apr-util/LICENSE \ + libs/srtp/LICENSE + +FREESWITCH_CPE_ID_VENDOR = freeswitch + +# required dependencies +FREESWITCH_DEPENDENCIES = \ + host-pkgconf \ + jpeg \ + libcurl \ + openssl \ + pcre \ + spandsp \ + sofia-sip \ + speex \ + sqlite \ + tiff \ + util-linux \ + zlib + +# disable display of ClueCon banner in fs_cli +FREESWITCH_CONF_ENV += \ + disable_cc=yes + +# we neither need host-perl nor host-php +FREESWITCH_CONF_ENV += \ + ac_cv_prog_PERL=false \ + ac_cv_have_perl=no \ + ac_cv_prog_PHP=false \ + ac_cv_have_php=no \ + ac_cv_prog_PHP_CONFIG=false \ + ac_cv_have_php_config=no + +# copied from freeswitch/configure.ac, line 258+ +FREESWITCH_CONF_ENV += \ + ac_cv_file__dev_ptmx=yes \ + ac_cv_va_copy=yes \ + ac_cv_file__dev_urandom=yes \ + ac_cv_func_realloc_0_nonnull=yes \ + ac_cv_func_malloc_0_nonnull=yes \ + ac_cv_func_setpgrp_void=yes \ + ac_cv_file__dev_zero=yes \ + apr_cv_tcp_nodelay_with_cork=yes \ + ac_cv_file_dbd_apr_dbd_mysql_c=no \ + ac_cv_sizeof_ssize_t=4 \ + apr_cv_mutex_recursive=yes \ + ac_cv_func_pthread_rwlock_init=yes \ + apr_cv_type_rwlock_t=yes \ + apr_cv_process_shared_works=yes \ + apr_cv_mutex_robust_shared=yes + +# build breaks with -Werror enabled +FREESWITCH_CONF_ENV += \ + ac_cv_gcc_supports_w_no_unused_result=no + +FREESWITCH_CONF_OPTS = \ + --without-erlang \ + --enable-fhs \ + --without-python \ + --disable-system-xmlrpc-c + +# zrtp supports a limited set of archs, sparc support is also broken due +# to a broken ld call by gcc, see libs/libzrtp/include/zrtp_config.h +ifeq ($(BR2_i386)$(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_aarch64_be)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpcle)$(BR2_x86_64),y) +FREESWITCH_LICENSE_FILES += libs/libzrtp/src/zrtp_legal.c +FREESWITCH_CONF_OPTS += --enable-zrtp +else +FREESWITCH_CONF_OPTS += --disable-zrtp +endif + +# Enable optional modules +FREESWITCH_ENABLED_MODULES += \ + applications/mod_avmd \ + applications/mod_blacklist \ + applications/mod_callcenter \ + applications/mod_commands \ + applications/mod_conference \ + applications/mod_curl \ + applications/mod_db \ + applications/mod_directory \ + applications/mod_dptools \ + applications/mod_easyroute \ + applications/mod_esf \ + applications/mod_esl \ + applications/mod_expr \ + applications/mod_fifo \ + applications/mod_fsk \ + applications/mod_hash \ + applications/mod_httapi \ + applications/mod_lcr \ + applications/mod_sms \ + applications/mod_snom \ + applications/mod_spandsp \ + applications/mod_spy \ + applications/mod_valet_parking \ + applications/mod_voicemail \ + codecs/mod_g723_1 \ + dialplans/mod_dialplan_asterisk \ + dialplans/mod_dialplan_xml \ + endpoints/mod_loopback \ + endpoints/mod_rtc \ + endpoints/mod_rtmp \ + endpoints/mod_sofia \ + event_handlers/mod_cdr_csv \ + event_handlers/mod_cdr_sqlite \ + event_handlers/mod_event_socket \ + formats/mod_local_stream \ + formats/mod_native_file \ + formats/mod_tone_stream \ + loggers/mod_console \ + loggers/mod_logfile \ + loggers/mod_syslog \ + say/mod_say_de \ + say/mod_say_en \ + say/mod_say_es \ + say/mod_say_es_ar \ + say/mod_say_fa \ + say/mod_say_fr \ + say/mod_say_he \ + say/mod_say_hr \ + say/mod_say_hu \ + say/mod_say_it \ + say/mod_say_ja \ + say/mod_say_nl \ + say/mod_say_pl \ + say/mod_say_pt \ + say/mod_say_ru \ + say/mod_say_sv \ + say/mod_say_th \ + say/mod_say_zh \ + timers/mod_timerfd \ + xml_int/mod_xml_cdr \ + xml_int/mod_xml_rpc \ + xml_int/mod_xml_scgi + +define FREESWITCH_ENABLE_MODULES + $(Q)echo $(FREESWITCH_ENABLED_MODULES) \ + | tr ' ' '\n' \ + > $(@D)/modules.conf +endef +FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES + +# mod_isac supports a limited set of archs +# src/mod/codecs/mod_isac/typedefs.h +ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_64),y) +FREESWITCH_LICENSE += , BSD-3-Clause (mod_isac) +FREESWITCH_LICENSE_FILES += src/mod/codecs/mod_isac/LICENSE +FREESWITCH_ENABLED_MODULES += codecs/mod_isac +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +FREESWITCH_DEPENDENCIES += alsa-lib +FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa +endif + +# Use the pass-through g729 module provided by freeswitch instead of +# the external mod_bcg729 provided by freeswitch-mod-bcg729. +ifeq ($(BR2_PACKAGE_FREESWITCH_MOD_BCG729),) +FREESWITCH_ENABLED_MODULES += codecs/mod_g729 +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +FREESWITCH_DEPENDENCIES += freetype +endif + +ifeq ($(BR2_PACKAGE_LIBBROADVOICE),y) +FREESWITCH_DEPENDENCIES += libbroadvoice +FREESWITCH_ENABLED_MODULES += codecs/mod_bv +endif + +ifeq ($(BR2_PACKAGE_LIBCODEC2),y) +FREESWITCH_DEPENDENCIES += libcodec2 +FREESWITCH_ENABLED_MODULES += codecs/mod_codec2 +endif + +ifeq ($(BR2_PACKAGE_LIBEDIT),y) +FREESWITCH_DEPENDENCIES += libedit +FREESWITCH_CONF_OPTS += --enable-core-libedit-support +else +FREESWITCH_CONF_OPTS += --disable-core-libedit-support +endif + +ifeq ($(BR2_PACKAGE_LIBG7221),y) +FREESWITCH_DEPENDENCIES += libg7221 +endif + +ifeq ($(BR2_PACKAGE_LIBILBC),y) +FREESWITCH_DEPENDENCIES += libilbc +FREESWITCH_ENABLED_MODULES += codecs/mod_ilbc +endif + +ifeq ($(BR2_PACKAGE_LIBKS),y) +FREESWITCH_DEPENDENCIES += libks +FREESWITCH_ENABLED_MODULES += endpoints/mod_verto +endif + +ifeq ($(BR2_PACKAGE_LIBLDNS),y) +FREESWITCH_DEPENDENCIES += libldns +FREESWITCH_ENABLED_MODULES += applications/mod_enum +endif + +ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y) +FREESWITCH_DEPENDENCIES += libmemcached +FREESWITCH_ENABLED_MODULES += applications/mod_memcache +endif + +ifeq ($(BR2_PACKAGE_LIBOPENH264),y) +FREESWITCH_LICENSE += , BSD-2-Clause (libopenh264) +FREESWITCH_LICENSE_FILES += docs/OPENH264_BINARY_LICENSE.txt +FREESWITCH_DEPENDENCIES += libopenh264 +FREESWITCH_ENABLED_MODULES += codecs/mod_openh264 +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +FREESWITCH_DEPENDENCIES += libpng +FREESWITCH_ENABLED_MODULES += formats/mod_png +endif + +ifeq ($(BR2_PACKAGE_LIBYAML),y) +FREESWITCH_DEPENDENCIES += libyaml +FREESWITCH_ENABLED_MODULES += languages/mod_yaml +endif + +ifeq ($(BR2_PACKAGE_LUA),y) +FREESWITCH_DEPENDENCIES += lua +FREESWITCH_ENABLED_MODULES += languages/mod_lua +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +FREESWITCH_DEPENDENCIES += openldap +FREESWITCH_ENABLED_MODULES += directories/mod_ldap xml_int/mod_xml_ldap +endif + +ifeq ($(BR2_PACKAGE_OPUS),y) +FREESWITCH_DEPENDENCIES += opus +FREESWITCH_ENABLED_MODULES += codecs/mod_opus +endif + +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +FREESWITCH_DEPENDENCIES += portaudio +FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio +endif + +ifeq ($(BR2_PACKAGE_LAME)$(BR2_PACKAGE_LIBSHOUT)$(BR2_PACKAGE_MPG123),yyy) +FREESWITCH_DEPENDENCIES += lame libshout mpg123 +FREESWITCH_ENABLED_MODULES += formats/mod_shout +endif + +ifeq ($(BR2_PACKAGE_LIBSILK),y) +FREESWITCH_DEPENDENCIES += libsilk +FREESWITCH_ENABLED_MODULES += codecs/mod_silk +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +FREESWITCH_DEPENDENCIES += libsndfile +FREESWITCH_ENABLED_MODULES += formats/mod_sndfile +endif + +ifeq ($(BR2_PACKAGE_LIBSOUNDTOUCH),y) +FREESWITCH_DEPENDENCIES += libsoundtouch +FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch +endif + +ifeq ($(BR2_PACKAGE_OPENCV3),y) +FREESWITCH_DEPENDENCIES += opencv3 +FREESWITCH_ENABLED_MODULES += applications/mod_cv +endif + +ifeq ($(BR2_PACKAGE_POSTGRESQL),y) +FREESWITCH_CONF_ENV += \ + ac_cv_path_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config +FREESWITCH_DEPENDENCIES += postgresql +FREESWITCH_ENABLED_MODULES += databases/mod_pgsql +endif + +ifeq ($(BR2_PACKAGE_UNIXODBC),y) +FREESWITCH_DEPENDENCIES += unixodbc +FREESWITCH_CONF_OPTS += \ + --enable-core-odbc-support \ + --with-odbc=$(STAGING_DIR)/usr +else +FREESWITCH_CONF_OPTS += --disable-core-odbc-support +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +FREESWITCH_DEPENDENCIES += xz +endif + +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8)$(BR2_PACKAGE_FFMPEG),yy) +FREESWITCH_LICENSE += , BSD-3-Clause (libvpx, libyuv) +FREESWITCH_LICENSE_FILES += libs/libvpx/LICENSE libs/libyuv/LICENSE +FREESWITCH_CONF_OPTS += --enable-libvpx --enable-libyuv +FREESWITCH_DEPENDENCIES += host-yasm ffmpeg +FREESWITCH_ENABLED_MODULES += applications/mod_av applications/mod_fsv +FREESWITCH_MAKE_ENV += CROSS=$(TARGET_CROSS) + +# Freeswitch's buildsystem forgets to pass important environment +# variables and config options when it configures libvpx, so +# pre-build libvpx manually, so Freeswitch does not attempt to run +# its flawed commands... +# Freeswitch only ever uses the static libtrary, that's hard-coded, +# we can't do anything about that... +# From package/libvpx/libvpx.mk: +# - this is not a true autotools package. It is based on the ffmpeg +# build system. +# - ld is being used with cc options. therefore, pretend ld is cc. +define FREESWITCH_BUILD_LIBVPX + cd $(@D)/libs/libvpx && \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + LD="$(TARGET_CC)" \ + CROSS=$(GNU_TARGET_NAME) \ + ./configure \ + --target=generic-gnu \ + --enable-pic \ + --prefix=/usr \ + --disable-shared --enable-static \ + --disable-examples \ + --disable-docs \ + --disable-unit-tests && \ + $(TARGET_MAKE_ENV) \ + $(LIBVPX_MAKE_ENV) \ + $(MAKE) \ + -C $(@D)/libs/libvpx \ + all +endef +FREESWITCH_PRE_BUILD_HOOKS += FREESWITCH_BUILD_LIBVPX + +else +FREESWITCH_CONF_OPTS += --disable-libvpx --disable-libyuv +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/freetype/Config.in b/buildroot-2022.02.1/package/freetype/Config.in similarity index 100% rename from buildroot-2021.05/package/freetype/Config.in rename to buildroot-2022.02.1/package/freetype/Config.in diff --git a/buildroot-2022.02.1/package/freetype/freetype.hash b/buildroot-2022.02.1/package/freetype/freetype.hash new file mode 100644 index 00000000..7abc3d96 --- /dev/null +++ b/buildroot-2022.02.1/package/freetype/freetype.hash @@ -0,0 +1,8 @@ +# From https://sourceforge.net/projects/freetype/files/freetype2/2.11.1/ +sha1 86bdc98b37efe447cf53420bf2c18402ff905112 freetype-2.11.1.tar.xz + +# Locally calculated +sha256 3333ae7cfda88429c97a7ae63b7d01ab398076c3b67182e960e5684050f2c5c8 freetype-2.11.1.tar.xz +sha256 c85e842b7ff04d95dab7d68e812773de0f8b67940e5449d35b42c66eb0f619fe LICENSE.TXT +sha256 08c135755dd589039470f1fdbb400daaabaaa50d0b366d19cebff4d22986baa1 docs/FTL.TXT +sha256 c4120c6752c910c299e3bd9cb3a46ff262c268303ca2069b61f92f10a5656c18 docs/GPLv2.TXT diff --git a/buildroot-2022.02.1/package/freetype/freetype.mk b/buildroot-2022.02.1/package/freetype/freetype.mk new file mode 100644 index 00000000..912e6c4d --- /dev/null +++ b/buildroot-2022.02.1/package/freetype/freetype.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# freetype +# +################################################################################ + +FREETYPE_VERSION = 2.11.1 +FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.xz +FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype +FREETYPE_INSTALL_STAGING = YES +FREETYPE_MAKE_OPTS = CCexe="$(HOSTCC)" +FREETYPE_LICENSE = Dual FTL/GPL-2.0+ +FREETYPE_LICENSE_FILES = LICENSE.TXT docs/FTL.TXT docs/GPLv2.TXT +FREETYPE_CPE_ID_VENDOR = freetype +FREETYPE_DEPENDENCIES = host-pkgconf +FREETYPE_CONFIG_SCRIPTS = freetype-config + +# harfbuzz already depends on freetype so disable harfbuzz in freetype to avoid +# a circular dependency +FREETYPE_CONF_OPTS = --without-harfbuzz + +HOST_FREETYPE_DEPENDENCIES = host-pkgconf +HOST_FREETYPE_CONF_OPTS = \ + --without-brotli \ + --without-bzip2 \ + --without-harfbuzz \ + --without-png \ + --without-zlib + +# since 2.9.1 needed for freetype-config install +FREETYPE_CONF_OPTS += --enable-freetype-config +HOST_FREETYPE_CONF_OPTS += --enable-freetype-config + +ifeq ($(BR2_PACKAGE_ZLIB),y) +FREETYPE_DEPENDENCIES += zlib +FREETYPE_CONF_OPTS += --with-zlib +else +FREETYPE_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_BROTLI),y) +FREETYPE_DEPENDENCIES += brotli +FREETYPE_CONF_OPTS += --with-brotli +else +FREETYPE_CONF_OPTS += --without-brotli +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +FREETYPE_DEPENDENCIES += bzip2 +FREETYPE_CONF_OPTS += --with-bzip2 +else +FREETYPE_CONF_OPTS += --without-bzip2 +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +FREETYPE_DEPENDENCIES += libpng +FREETYPE_CONF_OPTS += --with-png +else +FREETYPE_CONF_OPTS += --without-png +endif + +# Extra fixing since includedir and libdir are expanded from configure values +define FREETYPE_FIX_CONFIG_FILE + $(SED) 's:^includedir=.*:includedir="$${prefix}/include":' \ + -e 's:^libdir=.*:libdir="$${exec_prefix}/lib":' \ + $(STAGING_DIR)/usr/bin/freetype-config +endef +FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/frotz/Config.in b/buildroot-2022.02.1/package/frotz/Config.in similarity index 100% rename from buildroot-2021.05/package/frotz/Config.in rename to buildroot-2022.02.1/package/frotz/Config.in diff --git a/buildroot-2021.05/package/frotz/frotz.hash b/buildroot-2022.02.1/package/frotz/frotz.hash similarity index 100% rename from buildroot-2021.05/package/frotz/frotz.hash rename to buildroot-2022.02.1/package/frotz/frotz.hash diff --git a/buildroot-2021.05/package/frotz/frotz.mk b/buildroot-2022.02.1/package/frotz/frotz.mk similarity index 100% rename from buildroot-2021.05/package/frotz/frotz.mk rename to buildroot-2022.02.1/package/frotz/frotz.mk diff --git a/buildroot-2022.02.1/package/frr/0001-configure.ac-fix-enable_bmp-typo.patch b/buildroot-2022.02.1/package/frr/0001-configure.ac-fix-enable_bmp-typo.patch new file mode 100644 index 00000000..c8ce500d --- /dev/null +++ b/buildroot-2022.02.1/package/frr/0001-configure.ac-fix-enable_bmp-typo.patch @@ -0,0 +1,29 @@ +From bacabf2476553d0e873b827359e1c8a4216c2f8c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 16 Dec 2021 20:10:26 +0100 +Subject: [PATCH] configure.ac: fix enable_bmp typo + +enable_bmp doesn't exist, use enable_bgp_bmp + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/FRRouting/frr/pull/10236] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 1bcc42ef8..c7a5f1286 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1806,7 +1806,7 @@ if test "$enable_bgp_vnc" != "no";then + fi + + bgpd_bmp=false +-case "${enable_bmp}" in ++case "${enable_bgp_bmp}" in + no) + ;; + yes) +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/frr/0002-lib-fix-elf_py-TLS-section-handling.patch b/buildroot-2022.02.1/package/frr/0002-lib-fix-elf_py-TLS-section-handling.patch new file mode 100644 index 00000000..d491cb1a --- /dev/null +++ b/buildroot-2022.02.1/package/frr/0002-lib-fix-elf_py-TLS-section-handling.patch @@ -0,0 +1,31 @@ +From 3942ee1f7bc754dd0dd9ae79f89d0f2635be334f Mon Sep 17 00:00:00 2001 +From: David Lamparter +Date: Wed, 10 Nov 2021 15:30:07 +0100 +Subject: [PATCH] lib: fix elf_py TLS section handling + +... need to ignore TLS sections, their address is effectively +meaningless but can overlap other sections we actually need to access. + +Signed-off-by: David Lamparter + +[Retrieved from: +https://github.com/FRRouting/frr/commit/3942ee1f7bc754dd0dd9ae79f89d0f2635be334f] +Signed-off-by: Fabrice Fontaine +--- + lib/elf_py.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/lib/elf_py.c b/lib/elf_py.c +index 1c306893ad8..f230add6957 100644 +--- a/lib/elf_py.c ++++ b/lib/elf_py.c +@@ -636,6 +636,9 @@ static Elf_Scn *elf_find_addr(struct elffile *ef, uint64_t addr, size_t *idx) + Elf_Scn *scn = elf_getscn(ef->elf, i); + GElf_Shdr _shdr, *shdr = gelf_getshdr(scn, &_shdr); + ++ /* virtual address is kinda meaningless for TLS sections */ ++ if (shdr->sh_flags & SHF_TLS) ++ continue; + if (addr < shdr->sh_addr || + addr >= shdr->sh_addr + shdr->sh_size) + continue; diff --git a/buildroot-2022.02.1/package/frr/Config.in b/buildroot-2022.02.1/package/frr/Config.in new file mode 100644 index 00000000..c2e9577a --- /dev/null +++ b/buildroot-2022.02.1/package/frr/Config.in @@ -0,0 +1,40 @@ +config BR2_PACKAGE_FRR + bool "frr" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS # libyang + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c, libyang + select BR2_PACKAGE_BASH + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash + select BR2_PACKAGE_LIBYANG + select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_READLINE + select BR2_PACKAGE_JSON_C + help + The FRRouting Protocol Suite. + + FRR is free software that implements and manages various + IPv4 and IPv6 routing protocols. + + https://frrouting.org + +if BR2_PACKAGE_FRR + +config BR2_PACKAGE_FRR_BMP + bool "BMP protocol" + select BR2_PACKAGE_C_ARES + help + Build BGP Monitoring Protocol daemon. + +config BR2_PACKAGE_FRR_NHRPD + bool "NHRPD protocol" + select BR2_PACKAGE_C_ARES + help + Build Next Hop Routing Protocol daemon. + +endif + +comment "frr needs a toolchain w/ threads, dynamic library" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/frr/S50frr b/buildroot-2022.02.1/package/frr/S50frr similarity index 100% rename from buildroot-2021.05/package/frr/S50frr rename to buildroot-2022.02.1/package/frr/S50frr diff --git a/buildroot-2022.02.1/package/frr/frr.hash b/buildroot-2022.02.1/package/frr/frr.hash new file mode 100644 index 00000000..bb6c32b7 --- /dev/null +++ b/buildroot-2022.02.1/package/frr/frr.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 9d82c11b304ab89a30627fcbb4150f51e639f473f8563976e14101e796240599 frr-8.1.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/frr/frr.mk b/buildroot-2022.02.1/package/frr/frr.mk new file mode 100644 index 00000000..0e6ab7a8 --- /dev/null +++ b/buildroot-2022.02.1/package/frr/frr.mk @@ -0,0 +1,108 @@ +################################################################################ +# +# frr +# +################################################################################ + +FRR_VERSION = 8.1 +FRR_SITE = $(call github,FRRouting,frr,frr-$(FRR_VERSION)) +FRR_LICENSE = GPL-2.0 +FRR_LICENSE_FILES = COPYING +FRR_CPE_ID_VENDOR = linuxfoundation +FRR_CPE_ID_PRODUCT = free_range_routing +FRR_AUTORECONF = YES + +FRR_DEPENDENCIES = host-frr readline json-c libyang libnl \ + $(if $(BR2_PACKAGE_C_ARES),c-ares) + +HOST_FRR_DEPENDENCIES = host-flex host-bison host-elfutils host-python3 + +FRR_CONF_ENV = \ + ac_cv_lib_cunit_CU_initialize_registry=no \ + CFLAGS="$(TARGET_CFLAGS) -DFRR_XREF_NO_NOTE" + +FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \ + --sysconfdir=/etc/frr \ + --localstatedir=/var/run/frr \ + --with-moduledir=/usr/lib/frr/modules \ + --enable-configfile-mask=0640 \ + --enable-logfile-mask=0640 \ + --enable-multipath=256 \ + --disable-ospfclient \ + --enable-shell-access \ + --enable-user=frr \ + --enable-group=frr \ + --enable-vty-group=frrvty \ + --enable-fpm + +HOST_FRR_CONF_OPTS = --enable-clippy-only + +ifeq ($(BR2_PACKAGE_FRR_BMP),y) +FRR_CONF_OPTS += --enable-bgp-bmp +else +FRR_CONF_OPTS += --disable-bgp-bmp +endif + +ifeq ($(BR2_PACKAGE_FRR_NHRPD),y) +FRR_CONF_OPTS += --enable-nhrpd +else +FRR_CONF_OPTS += --disable-nhrpd +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +FRR_DEPENDENCIES += libcap +FRR_CONF_OPTS += --enable-capabilities +else +FRR_CONF_OPTS += --disable-capabilities +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +FRR_DEPENDENCIES += sqlite +FRR_CONF_OPTS += --enable-config-rollbacks +else +FRR_CONF_OPTS += --disable-config-rollbacks +endif + +ifeq ($(BR2_PACKAGE_ZEROMQ),y) +FRR_DEPENDENCIES += zeromq +FRR_CONF_OPTS += --enable-zeromq +else +FRR_CONF_OPTS += --disable-zeromq +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +FRR_CONF_ENV += LIBS=-latomic +endif + +define HOST_FRR_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/lib/clippy $(HOST_DIR)/bin/clippy +endef + +define FRR_INSTALL_CONFIG_FILES + $(foreach f,daemons daemons.conf frr.conf vtysh.conf support_bundle_commands.conf,\ + $(INSTALL) -D -m 0640 $(@D)/tools/etc/frr/$(f) \ + $(TARGET_DIR)/etc/frr/$(f) + ) + $(RM) $(TARGET_DIR)/etc/frr/*.sample +endef +FRR_POST_INSTALL_TARGET_HOOKS += FRR_INSTALL_CONFIG_FILES + +define FRR_PERMISSIONS + /etc/frr/daemons f 640 frr frr - - - - - + /etc/frr/daemons.conf f 640 frr frr - - - - - + /etc/frr/frr.conf f 640 frr frr - - - - - + /etc/frr/vtysh.conf f 640 frr frrvty - - - - - + /etc/frr/support_bundle_commands.conf f 640 frr frr +endef + +define FRR_USERS + frr -1 frr -1 * /var/run/frr - frrvty FRR user priv +endef + +define FRR_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 $(FRR_PKGDIR)/S50frr \ + $(TARGET_DIR)/etc/init.d/S50frr +endef + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/fscryptctl/Config.in b/buildroot-2022.02.1/package/fscryptctl/Config.in similarity index 100% rename from buildroot-2021.05/package/fscryptctl/Config.in rename to buildroot-2022.02.1/package/fscryptctl/Config.in diff --git a/buildroot-2021.05/package/fscryptctl/fscryptctl.hash b/buildroot-2022.02.1/package/fscryptctl/fscryptctl.hash similarity index 100% rename from buildroot-2021.05/package/fscryptctl/fscryptctl.hash rename to buildroot-2022.02.1/package/fscryptctl/fscryptctl.hash diff --git a/buildroot-2021.05/package/fscryptctl/fscryptctl.mk b/buildroot-2022.02.1/package/fscryptctl/fscryptctl.mk similarity index 100% rename from buildroot-2021.05/package/fscryptctl/fscryptctl.mk rename to buildroot-2022.02.1/package/fscryptctl/fscryptctl.mk diff --git a/buildroot-2021.05/package/fstrcmp/0001-disable-rpath.patch b/buildroot-2022.02.1/package/fstrcmp/0001-disable-rpath.patch similarity index 100% rename from buildroot-2021.05/package/fstrcmp/0001-disable-rpath.patch rename to buildroot-2022.02.1/package/fstrcmp/0001-disable-rpath.patch diff --git a/buildroot-2021.05/package/fstrcmp/Config.in b/buildroot-2022.02.1/package/fstrcmp/Config.in similarity index 100% rename from buildroot-2021.05/package/fstrcmp/Config.in rename to buildroot-2022.02.1/package/fstrcmp/Config.in diff --git a/buildroot-2021.05/package/fstrcmp/fstrcmp.hash b/buildroot-2022.02.1/package/fstrcmp/fstrcmp.hash similarity index 100% rename from buildroot-2021.05/package/fstrcmp/fstrcmp.hash rename to buildroot-2022.02.1/package/fstrcmp/fstrcmp.hash diff --git a/buildroot-2021.05/package/fstrcmp/fstrcmp.mk b/buildroot-2022.02.1/package/fstrcmp/fstrcmp.mk similarity index 100% rename from buildroot-2021.05/package/fstrcmp/fstrcmp.mk rename to buildroot-2022.02.1/package/fstrcmp/fstrcmp.mk diff --git a/buildroot-2021.05/package/fswebcam/Config.in b/buildroot-2022.02.1/package/fswebcam/Config.in similarity index 100% rename from buildroot-2021.05/package/fswebcam/Config.in rename to buildroot-2022.02.1/package/fswebcam/Config.in diff --git a/buildroot-2022.02.1/package/fswebcam/fswebcam.hash b/buildroot-2022.02.1/package/fswebcam/fswebcam.hash new file mode 100644 index 00000000..6ecb0d97 --- /dev/null +++ b/buildroot-2022.02.1/package/fswebcam/fswebcam.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 d5439b2bf49bb634100d7e42ed9854f84bfd355c1d40bc3d4d81593eeadd8aee fswebcam-20200725.tar.gz +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 LICENSE diff --git a/buildroot-2022.02.1/package/fswebcam/fswebcam.mk b/buildroot-2022.02.1/package/fswebcam/fswebcam.mk new file mode 100644 index 00000000..12e7860e --- /dev/null +++ b/buildroot-2022.02.1/package/fswebcam/fswebcam.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# fswebcam +# +################################################################################ + +FSWEBCAM_VERSION = 20200725 +FSWEBCAM_SITE = $(call github,fsphil,fswebcam,$(FSWEBCAM_VERSION)) +FSWEBCAM_LICENSE = GPL-2.0 +FSWEBCAM_LICENSE_FILES = LICENSE + +FSWEBCAM_DEPENDENCIES += freetype jpeg libpng gd + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ftop/0001-overflow.patch b/buildroot-2022.02.1/package/ftop/0001-overflow.patch similarity index 100% rename from buildroot-2021.05/package/ftop/0001-overflow.patch rename to buildroot-2022.02.1/package/ftop/0001-overflow.patch diff --git a/buildroot-2021.05/package/ftop/Config.in b/buildroot-2022.02.1/package/ftop/Config.in similarity index 100% rename from buildroot-2021.05/package/ftop/Config.in rename to buildroot-2022.02.1/package/ftop/Config.in diff --git a/buildroot-2021.05/package/ftop/ftop.hash b/buildroot-2022.02.1/package/ftop/ftop.hash similarity index 100% rename from buildroot-2021.05/package/ftop/ftop.hash rename to buildroot-2022.02.1/package/ftop/ftop.hash diff --git a/buildroot-2021.05/package/ftop/ftop.mk b/buildroot-2022.02.1/package/ftop/ftop.mk similarity index 100% rename from buildroot-2021.05/package/ftop/ftop.mk rename to buildroot-2022.02.1/package/ftop/ftop.mk diff --git a/buildroot-2021.05/package/fuse-overlayfs/Config.in b/buildroot-2022.02.1/package/fuse-overlayfs/Config.in similarity index 100% rename from buildroot-2021.05/package/fuse-overlayfs/Config.in rename to buildroot-2022.02.1/package/fuse-overlayfs/Config.in diff --git a/buildroot-2022.02.1/package/fuse-overlayfs/fuse-overlayfs.hash b/buildroot-2022.02.1/package/fuse-overlayfs/fuse-overlayfs.hash new file mode 100644 index 00000000..f9473c15 --- /dev/null +++ b/buildroot-2022.02.1/package/fuse-overlayfs/fuse-overlayfs.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 6c81b65b71067b303aaa9871f512c2cabc23e2b793f19c6c854d01a492b5a923 fuse-overlayfs-1.5.0.tar.gz +# Locally computed +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/fuse-overlayfs/fuse-overlayfs.mk b/buildroot-2022.02.1/package/fuse-overlayfs/fuse-overlayfs.mk new file mode 100644 index 00000000..0ad7dbc5 --- /dev/null +++ b/buildroot-2022.02.1/package/fuse-overlayfs/fuse-overlayfs.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# fuse-overlayfs +# +################################################################################ + +FUSE_OVERLAYFS_VERSION = 1.5.0 +FUSE_OVERLAYFS_SITE = $(call github,containers,fuse-overlayfs,v$(FUSE_OVERLAYFS_VERSION)) +FUSE_OVERLAYFS_LICENSE = GPL-3.0 +FUSE_OVERLAYFS_LICENSE_FILES = COPYING + +FUSE_OVERLAYFS_AUTORECONF = YES +FUSE_OVERLAYFS_DEPENDENCIES = libfuse3 host-pkgconf + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/fwts/0001-build-do-not-use-Werror.patch b/buildroot-2022.02.1/package/fwts/0001-build-do-not-use-Werror.patch new file mode 100644 index 00000000..715c4f63 --- /dev/null +++ b/buildroot-2022.02.1/package/fwts/0001-build-do-not-use-Werror.patch @@ -0,0 +1,79 @@ +From e481c2f990ffa71f205d4b9daf0823e71269a7f3 Mon Sep 17 00:00:00 2001 +From: Erico Nunes +Date: Fri, 12 Aug 2016 23:11:56 +0200 +Subject: [PATCH] fwts: do not use -Werror +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Warnings come and go with various compiler versions, so using -Werror is +prone to cause build failures with various compiler versions, especially +newer versions that introduce new warnings. + +Remove use of -Werror. + +Signed-off-by: Erico Nunes +[Fabrice: updated for 20.08.00] +Signed-off-by: Fabrice Fontaine +[Vincent: rebased onto V21.05.00] +Signed-off-by: Vincent Stehlé +--- + configure.ac | 2 +- + src/Makefile.am | 2 +- + src/lib/src/Makefile.am | 2 +- + src/utilities/Makefile.am | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index f40c3678..0ff5025b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1,5 +1,5 @@ + AC_INIT([fwts],[0.1],[fwts-devel@lists.ubuntu.com]) +- AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) ++ AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) + m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) + AC_CANONICAL_HOST + AC_CONFIG_MACRO_DIR([m4]) +diff --git a/src/Makefile.am b/src/Makefile.am +index cdabb386..7c2e5730 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -12,7 +12,7 @@ AM_CPPFLAGS = \ + -I$(top_srcdir)/src/acpica/source/compiler \ + -I$(top_srcdir)/efi_runtime \ + -pthread `pkg-config --cflags glib-2.0 gio-2.0` \ +- -Wall -Werror -Wextra \ ++ -Wall -Wextra \ + -Wno-address-of-packed-member \ + -Wfloat-equal -Wmissing-declarations \ + -Wno-long-long -Wredundant-decls -Wshadow \ +diff --git a/src/lib/src/Makefile.am b/src/lib/src/Makefile.am +index 55c52b41..50efa97a 100644 +--- a/src/lib/src/Makefile.am ++++ b/src/lib/src/Makefile.am +@@ -25,7 +25,7 @@ AM_CPPFLAGS = \ + `pkg-config --silence-errors --cflags json-c` \ + `pkg-config --cflags glib-2.0 gio-2.0` \ + -DDATAROOTDIR=\"$(datarootdir)\" \ +- -Wall -Werror -Wextra \ ++ -Wall -Wextra \ + -Wno-address-of-packed-member + + pkglib_LTLIBRARIES = libfwts.la +diff --git a/src/utilities/Makefile.am b/src/utilities/Makefile.am +index 1fc0fc02..53614e33 100644 +--- a/src/utilities/Makefile.am ++++ b/src/utilities/Makefile.am +@@ -16,7 +16,7 @@ + # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + # + +-AM_CPPFLAGS = -Wall -Werror -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \ ++AM_CPPFLAGS = -Wall -Wextra -DDATAROOTDIR=\"$(datarootdir)\" \ + -I$(srcdir)/../lib/include + + bin_PROGRAMS = kernelscan +-- +2.30.2 + diff --git a/buildroot-2021.05/package/fwts/Config.in b/buildroot-2022.02.1/package/fwts/Config.in similarity index 100% rename from buildroot-2021.05/package/fwts/Config.in rename to buildroot-2022.02.1/package/fwts/Config.in diff --git a/buildroot-2022.02.1/package/fwts/fwts.hash b/buildroot-2022.02.1/package/fwts/fwts.hash new file mode 100644 index 00000000..8634980e --- /dev/null +++ b/buildroot-2022.02.1/package/fwts/fwts.hash @@ -0,0 +1,5 @@ +# Hash from: http://fwts.ubuntu.com/release/SHA256SUMS +sha256 17d1f0b9639e0f9b092ed8233be2d63d6c44ea8d2a76be0fb5902cc867961374 fwts-V21.11.00.tar.gz + +# Hash for license file +sha256 fbbea748555635dd8c7e6e2f99cddd778f5ee3f9e3510775183bf9799076e5e5 debian/copyright diff --git a/buildroot-2022.02.1/package/fwts/fwts.mk b/buildroot-2022.02.1/package/fwts/fwts.mk new file mode 100644 index 00000000..6634cdc4 --- /dev/null +++ b/buildroot-2022.02.1/package/fwts/fwts.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# fwts +# +################################################################################ + +FWTS_VERSION = 21.11.00 +FWTS_SOURCE = fwts-V$(FWTS_VERSION).tar.gz +FWTS_SITE = http://fwts.ubuntu.com/release +FWTS_STRIP_COMPONENTS = 0 +FWTS_LICENSE = GPL-2.0, LGPL-2.1, Custom +FWTS_LICENSE_FILES = debian/copyright +FWTS_AUTORECONF = YES +FWTS_DEPENDENCIES = host-bison host-flex host-pkgconf libglib2 libbsd \ + $(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \ + $(if $(BR2_PACKAGE_DTC),dtc) + +ifdef BR2_PACKAGE_FWTS_EFI_RUNTIME_MODULE +FWTS_MODULE_SUBDIRS = efi_runtime +$(eval $(kernel-module)) +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/fwup/Config.in b/buildroot-2022.02.1/package/fwup/Config.in similarity index 100% rename from buildroot-2021.05/package/fwup/Config.in rename to buildroot-2022.02.1/package/fwup/Config.in diff --git a/buildroot-2021.05/package/fwup/Config.in.host b/buildroot-2022.02.1/package/fwup/Config.in.host similarity index 100% rename from buildroot-2021.05/package/fwup/Config.in.host rename to buildroot-2022.02.1/package/fwup/Config.in.host diff --git a/buildroot-2022.02.1/package/fwup/fwup.hash b/buildroot-2022.02.1/package/fwup/fwup.hash new file mode 100644 index 00000000..2e5b2b1f --- /dev/null +++ b/buildroot-2022.02.1/package/fwup/fwup.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 18ae6753145cef2fd5f5fc83e29c2d883e570668d8aa064ee6c94d4c5e44d73d fwup-1.9.0.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/fwup/fwup.mk b/buildroot-2022.02.1/package/fwup/fwup.mk new file mode 100644 index 00000000..62016d94 --- /dev/null +++ b/buildroot-2022.02.1/package/fwup/fwup.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# fwup +# +################################################################################ + +FWUP_VERSION = 1.9.0 +FWUP_SITE = $(call github,fwup-home,fwup,v$(FWUP_VERSION)) +FWUP_LICENSE = Apache-2.0 +FWUP_LICENSE_FILES = LICENSE +FWUP_DEPENDENCIES = host-pkgconf libconfuse libarchive +HOST_FWUP_DEPENDENCIES = host-pkgconf host-libconfuse host-libarchive +FWUP_AUTORECONF = YES +FWUP_CONF_ENV = ac_cv_path_HELP2MAN="" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/fxload/Config.in b/buildroot-2022.02.1/package/fxload/Config.in similarity index 100% rename from buildroot-2021.05/package/fxload/Config.in rename to buildroot-2022.02.1/package/fxload/Config.in diff --git a/buildroot-2021.05/package/fxload/fxload.hash b/buildroot-2022.02.1/package/fxload/fxload.hash similarity index 100% rename from buildroot-2021.05/package/fxload/fxload.hash rename to buildroot-2022.02.1/package/fxload/fxload.hash diff --git a/buildroot-2021.05/package/fxload/fxload.mk b/buildroot-2022.02.1/package/fxload/fxload.mk similarity index 100% rename from buildroot-2021.05/package/fxload/fxload.mk rename to buildroot-2022.02.1/package/fxload/fxload.mk diff --git a/buildroot-2021.05/package/gamin/0001-no-abstract-sockets.patch b/buildroot-2022.02.1/package/gamin/0001-no-abstract-sockets.patch similarity index 100% rename from buildroot-2021.05/package/gamin/0001-no-abstract-sockets.patch rename to buildroot-2022.02.1/package/gamin/0001-no-abstract-sockets.patch diff --git a/buildroot-2021.05/package/gamin/0002-no-const-return.patch b/buildroot-2022.02.1/package/gamin/0002-no-const-return.patch similarity index 100% rename from buildroot-2021.05/package/gamin/0002-no-const-return.patch rename to buildroot-2022.02.1/package/gamin/0002-no-const-return.patch diff --git a/buildroot-2021.05/package/gamin/0003-fix-missing-PTHREAD_MUTEX_RECURSIVE_NP.patch b/buildroot-2022.02.1/package/gamin/0003-fix-missing-PTHREAD_MUTEX_RECURSIVE_NP.patch similarity index 100% rename from buildroot-2021.05/package/gamin/0003-fix-missing-PTHREAD_MUTEX_RECURSIVE_NP.patch rename to buildroot-2022.02.1/package/gamin/0003-fix-missing-PTHREAD_MUTEX_RECURSIVE_NP.patch diff --git a/buildroot-2021.05/package/gamin/Config.in b/buildroot-2022.02.1/package/gamin/Config.in similarity index 100% rename from buildroot-2021.05/package/gamin/Config.in rename to buildroot-2022.02.1/package/gamin/Config.in diff --git a/buildroot-2021.05/package/gamin/gamin.hash b/buildroot-2022.02.1/package/gamin/gamin.hash similarity index 100% rename from buildroot-2021.05/package/gamin/gamin.hash rename to buildroot-2022.02.1/package/gamin/gamin.hash diff --git a/buildroot-2021.05/package/gamin/gamin.mk b/buildroot-2022.02.1/package/gamin/gamin.mk similarity index 100% rename from buildroot-2021.05/package/gamin/gamin.mk rename to buildroot-2022.02.1/package/gamin/gamin.mk diff --git a/buildroot-2021.05/package/gauche/Config.in b/buildroot-2022.02.1/package/gauche/Config.in similarity index 100% rename from buildroot-2021.05/package/gauche/Config.in rename to buildroot-2022.02.1/package/gauche/Config.in diff --git a/buildroot-2021.05/package/gauche/gauche.hash b/buildroot-2022.02.1/package/gauche/gauche.hash similarity index 100% rename from buildroot-2021.05/package/gauche/gauche.hash rename to buildroot-2022.02.1/package/gauche/gauche.hash diff --git a/buildroot-2022.02.1/package/gauche/gauche.mk b/buildroot-2022.02.1/package/gauche/gauche.mk new file mode 100644 index 00000000..fe0a613a --- /dev/null +++ b/buildroot-2022.02.1/package/gauche/gauche.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# gauche +# +################################################################################ + +GAUCHE_VERSION = 0.9.9 +GAUCHE_SOURCE = Gauche-$(GAUCHE_VERSION).tgz +GAUCHE_SITE = http://downloads.sourceforge.net/project/gauche/Gauche +GAUCHE_LICENSE = BSD-3-Clause, Boehm-gc, SRFI (srfi-11.scm), reload (reload.scm) +GAUCHE_LICENSE_FILES = COPYING +GAUCHE_DEPENDENCIES = host-gauche + +HOST_GAUCHE_CONF_OPTS = --without-zlib +GAUCHE_CONF_OPTS = --without-libatomic-ops + +# Enable embedded axTLS +GAUCHE_TLS_LIBS = axtls + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +GAUCHE_TLS_LIBS += mbedtls +GAUCHE_DEPENDENCIES += mbedtls +endif + +GAUCHE_CONF_OPTS += --with-tls="$(GAUCHE_TLS_LIBS)" + +ifeq ($(BR2_PACKAGE_ZLIB),y) +GAUCHE_CONF_OPTS += --with-zlib=$(STAGING_DIR) +GAUCHE_DEPENDENCIES += zlib +else +GAUCHE_CONF_OPTS += --without-zlib +endif + +# Detection of c99 support in configure fails without WCHAR. To enable +# automatic detection of c99 support by configure, we need to enable +# WCHAR in toolchain. But actually we do not need WCHAR at gauche +# runtime. So reuesting WCHAR in toolchain just for automatic detection +# will be overkill. To solve this, explicitly -std=gnu99 is specified +# here. +GAUCHE_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gawk/0001-no-versioned.patch b/buildroot-2022.02.1/package/gawk/0001-no-versioned.patch similarity index 100% rename from buildroot-2021.05/package/gawk/0001-no-versioned.patch rename to buildroot-2022.02.1/package/gawk/0001-no-versioned.patch diff --git a/buildroot-2021.05/package/gawk/Config.in b/buildroot-2022.02.1/package/gawk/Config.in similarity index 100% rename from buildroot-2021.05/package/gawk/Config.in rename to buildroot-2022.02.1/package/gawk/Config.in diff --git a/buildroot-2022.02.1/package/gawk/gawk.hash b/buildroot-2022.02.1/package/gawk/gawk.hash new file mode 100644 index 00000000..894c939c --- /dev/null +++ b/buildroot-2022.02.1/package/gawk/gawk.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://ftp.gnu.org/gnu/gawk/gawk-5.1.1.tar.xz.sig +# Primary key fingerprint: D196 7C63 7887 1317 7D86 1ED7 DF59 7815 937E C0D2 +sha256 d87629386e894bbea11a5e00515fc909dc9b7249529dad9e6a3a2c77085f7ea2 gawk-5.1.1.tar.xz +# Locally calculated +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/gawk/gawk.mk b/buildroot-2022.02.1/package/gawk/gawk.mk new file mode 100644 index 00000000..b55c74d0 --- /dev/null +++ b/buildroot-2022.02.1/package/gawk/gawk.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# gawk +# +################################################################################ + +GAWK_VERSION = 5.1.1 +GAWK_SOURCE = gawk-$(GAWK_VERSION).tar.xz +GAWK_SITE = $(BR2_GNU_MIRROR)/gawk +GAWK_DEPENDENCIES = host-gawk +GAWK_LICENSE = GPL-3.0+ +GAWK_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_LIBSIGSEGV),y) +GAWK_DEPENDENCIES += libsigsegv +endif + +# --with-mpfr requires an argument so just let +# configure find it automatically +ifeq ($(BR2_PACKAGE_MPFR),y) +GAWK_DEPENDENCIES += mpfr +else +GAWK_CONF_OPTS += --without-mpfr +endif + +# --with-readline requires an argument so just let +# configure find it automatically +ifeq ($(BR2_PACKAGE_READLINE),y) +GAWK_DEPENDENCIES += readline +else +GAWK_CONF_OPTS += --without-readline +endif + +HOST_GAWK_CONF_OPTS = --without-readline --without-mpfr + +define GAWK_CREATE_SYMLINK + ln -sf gawk $(TARGET_DIR)/usr/bin/awk +endef + +GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK + +define HOST_GAWK_CREATE_SYMLINK + ln -sf gawk $(HOST_DIR)/usr/bin/awk +endef + +HOST_GAWK_POST_INSTALL_HOOKS += HOST_GAWK_CREATE_SYMLINK + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gcc/10.3.0/0001-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch b/buildroot-2022.02.1/package/gcc/10.3.0/0001-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch similarity index 100% rename from buildroot-2021.05/package/gcc/10.3.0/0001-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch rename to buildroot-2022.02.1/package/gcc/10.3.0/0001-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch diff --git a/buildroot-2021.05/package/gcc/10.3.0/0002-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch b/buildroot-2022.02.1/package/gcc/10.3.0/0002-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch similarity index 100% rename from buildroot-2021.05/package/gcc/10.3.0/0002-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch rename to buildroot-2022.02.1/package/gcc/10.3.0/0002-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch diff --git a/buildroot-2021.05/package/gcc/10.3.0/0003-or1k-Use-cmodel-large-when-building-crtstuff.patch b/buildroot-2022.02.1/package/gcc/10.3.0/0003-or1k-Use-cmodel-large-when-building-crtstuff.patch similarity index 100% rename from buildroot-2021.05/package/gcc/10.3.0/0003-or1k-Use-cmodel-large-when-building-crtstuff.patch rename to buildroot-2022.02.1/package/gcc/10.3.0/0003-or1k-Use-cmodel-large-when-building-crtstuff.patch diff --git a/buildroot-2022.02.1/package/gcc/10.3.0/0004-Remove-cyclades-from-libsanitizer.patch b/buildroot-2022.02.1/package/gcc/10.3.0/0004-Remove-cyclades-from-libsanitizer.patch new file mode 100644 index 00000000..ee6e349a --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/10.3.0/0004-Remove-cyclades-from-libsanitizer.patch @@ -0,0 +1,125 @@ +From 745dae5923aba02982563481d75a21595df22ff8 Mon Sep 17 00:00:00 2001 +From: Tamar Christina +Date: Fri, 21 May 2021 10:30:59 +0100 +Subject: [PATCH] libsanitizer: Remove cyclades from libsanitizer + +The Linux kernel has removed the interface to cyclades from +the latest kernel headers[1] due to them being orphaned for the +past 13 years. + +libsanitizer uses this header when compiling against glibc, but +glibcs itself doesn't seem to have any references to cyclades. + +Further more it seems that the driver is broken in the kernel and +the firmware doesn't seem to be available anymore. + +As such since this is breaking the build of libsanitizer (and so the +GCC bootstrap[2]) I propose to remove this. + +[1] https://lkml.org/lkml/2021/3/2/153 +[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379 + +(cherry picked from commit f7c5351552387bd43f6ca3631016d7f0dfe0f135) + +libsanitizer/ChangeLog: + + PR sanitizer/100379 + * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick + llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135. + * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise. + * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise. + +Signed-off-by: Maxim Kochetkov +--- + .../sanitizer_common_interceptors_ioctl.inc | 9 --------- + .../sanitizer_platform_limits_posix.cpp | 11 ----------- + .../sanitizer_platform_limits_posix.h | 10 ---------- + 3 files changed, 30 deletions(-) + +diff --git a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +index 7f181258eab..b7da6598755 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc ++++ b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +@@ -370,15 +370,6 @@ static void ioctl_table_fill() { + + #if SANITIZER_GLIBC + // _(SIOCDEVPLIP, WRITE, struct_ifreq_sz); // the same as EQL_ENSLAVE +- _(CYGETDEFTHRESH, WRITE, sizeof(int)); +- _(CYGETDEFTIMEOUT, WRITE, sizeof(int)); +- _(CYGETMON, WRITE, struct_cyclades_monitor_sz); +- _(CYGETTHRESH, WRITE, sizeof(int)); +- _(CYGETTIMEOUT, WRITE, sizeof(int)); +- _(CYSETDEFTHRESH, NONE, 0); +- _(CYSETDEFTIMEOUT, NONE, 0); +- _(CYSETTHRESH, NONE, 0); +- _(CYSETTIMEOUT, NONE, 0); + _(EQL_EMANCIPATE, WRITE, struct_ifreq_sz); + _(EQL_ENSLAVE, WRITE, struct_ifreq_sz); + _(EQL_GETMASTRCFG, WRITE, struct_ifreq_sz); +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp +index 35a690cba5c..6e5c330b98e 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp +@@ -143,7 +143,6 @@ typedef struct user_fpregs elf_fpregset_t; + # include + #endif + #include +-#include + #include + #include + #include +@@ -460,7 +459,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + + #if SANITIZER_GLIBC + unsigned struct_ax25_parms_struct_sz = sizeof(struct ax25_parms_struct); +- unsigned struct_cyclades_monitor_sz = sizeof(struct cyclades_monitor); + #if EV_VERSION > (0x010000) + unsigned struct_input_keymap_entry_sz = sizeof(struct input_keymap_entry); + #else +@@ -824,15 +822,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + #endif // SANITIZER_LINUX + + #if SANITIZER_LINUX && !SANITIZER_ANDROID +- unsigned IOCTL_CYGETDEFTHRESH = CYGETDEFTHRESH; +- unsigned IOCTL_CYGETDEFTIMEOUT = CYGETDEFTIMEOUT; +- unsigned IOCTL_CYGETMON = CYGETMON; +- unsigned IOCTL_CYGETTHRESH = CYGETTHRESH; +- unsigned IOCTL_CYGETTIMEOUT = CYGETTIMEOUT; +- unsigned IOCTL_CYSETDEFTHRESH = CYSETDEFTHRESH; +- unsigned IOCTL_CYSETDEFTIMEOUT = CYSETDEFTIMEOUT; +- unsigned IOCTL_CYSETTHRESH = CYSETTHRESH; +- unsigned IOCTL_CYSETTIMEOUT = CYSETTIMEOUT; + unsigned IOCTL_EQL_EMANCIPATE = EQL_EMANCIPATE; + unsigned IOCTL_EQL_ENSLAVE = EQL_ENSLAVE; + unsigned IOCTL_EQL_GETMASTRCFG = EQL_GETMASTRCFG; +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h +index ad358eef8b7..cba41ba5494 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h +@@ -983,7 +983,6 @@ extern unsigned struct_vt_mode_sz; + + #if SANITIZER_LINUX && !SANITIZER_ANDROID + extern unsigned struct_ax25_parms_struct_sz; +-extern unsigned struct_cyclades_monitor_sz; + extern unsigned struct_input_keymap_entry_sz; + extern unsigned struct_ipx_config_data_sz; + extern unsigned struct_kbdiacrs_sz; +@@ -1328,15 +1327,6 @@ extern unsigned IOCTL_VT_WAITACTIVE; + #endif // SANITIZER_LINUX + + #if SANITIZER_LINUX && !SANITIZER_ANDROID +-extern unsigned IOCTL_CYGETDEFTHRESH; +-extern unsigned IOCTL_CYGETDEFTIMEOUT; +-extern unsigned IOCTL_CYGETMON; +-extern unsigned IOCTL_CYGETTHRESH; +-extern unsigned IOCTL_CYGETTIMEOUT; +-extern unsigned IOCTL_CYSETDEFTHRESH; +-extern unsigned IOCTL_CYSETDEFTIMEOUT; +-extern unsigned IOCTL_CYSETTHRESH; +-extern unsigned IOCTL_CYSETTIMEOUT; + extern unsigned IOCTL_EQL_EMANCIPATE; + extern unsigned IOCTL_EQL_ENSLAVE; + extern unsigned IOCTL_EQL_GETMASTRCFG; +-- +2.27.0 + diff --git a/buildroot-2022.02.1/package/gcc/10.3.0/0005-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch b/buildroot-2022.02.1/package/gcc/10.3.0/0005-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch new file mode 100644 index 00000000..5ac03d7c --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/10.3.0/0005-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch @@ -0,0 +1,31 @@ +From f80e9941739fb3973b61fc6a5abddef5ad2faf73 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 27 Mar 2020 21:23:53 +0100 +Subject: [PATCH] gcc: define _REENTRANT for OpenRISC when -pthread is passed + +The detection of pthread support fails on OpenRISC unless _REENTRANT +is defined. Added the CPP_SPEC definition to correct this. + +Patch sent upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372 + +Signed-off-by: Bernd Kuhls +--- + gcc/config/or1k/linux.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/gcc/config/or1k/linux.h b/gcc/config/or1k/linux.h +index cbdc781418f..36303af892c 100644 +--- a/gcc/config/or1k/linux.h ++++ b/gcc/config/or1k/linux.h +@@ -32,6 +32,8 @@ + #undef MUSL_DYNAMIC_LINKER + #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-or1k.so.1" + ++#define CPP_SPEC "%{pthread:-D_REENTRANT}" ++ + #undef LINK_SPEC + #define LINK_SPEC "%{h*} \ + %{static:-Bstatic} \ +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/gcc/11.2.0/0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch b/buildroot-2022.02.1/package/gcc/11.2.0/0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch new file mode 100644 index 00000000..6e32f953 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/11.2.0/0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch @@ -0,0 +1,200 @@ +From eff8110674ef193481d3657456a262beeb9951ff Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Tue, 6 Apr 2021 05:47:17 +0900 +Subject: [PATCH] or1k: Add mcmodel option to handle large GOTs + +When building libgeos we get an error with: + + linux-uclibc/9.3.0/crtbeginS.o: in function `__do_global_dtors_aux': + crtstuff.c:(.text+0x118): relocation truncated to fit: R_OR1K_GOT16 against symbol `__cxa_finalize' defined in .text section in + /home/shorne/work/openrisc/3eb9f9d0f6d8274b2d19753c006bd83f7d536e3c/output/host/or1k-buildroot-linux-uclibc/sysroot/lib/libc.so. + +This is caused by GOT code having a limit of 64k. In OpenRISC this +looks to be the only relocation code pattern to be limited to 64k. + +This patch allows specifying a new option -mcmodel=large which can be +used to generate 2 more instructions to construct 32-bit addresses for +up to 4G GOTs. + +gcc/ChangeLog: + + PR target/99783 + * config/or1k/or1k-opts.h: New file. + * config/or1k/or1k.c (or1k_legitimize_address_1, print_reloc): + Support generating gotha relocations if -mcmodel=large is + specified. + * config/or1k/or1k.h (TARGET_CMODEL_SMALL, TARGET_CMODEL_LARGE): + New macros. + * config/or1k/or1k.opt (mcmodel=): New option. + * doc/invoke.texi (OpenRISC Options): Document mcmodel. + +Signed-off-by: Giulio Benetti +--- + gcc/config/or1k/or1k-opts.h | 30 ++++++++++++++++++++++++++++++ + gcc/config/or1k/or1k.c | 11 +++++++++-- + gcc/config/or1k/or1k.h | 7 +++++++ + gcc/config/or1k/or1k.opt | 19 +++++++++++++++++++ + gcc/doc/invoke.texi | 12 +++++++++++- + 5 files changed, 76 insertions(+), 3 deletions(-) + create mode 100644 gcc/config/or1k/or1k-opts.h + +diff --git a/gcc/config/or1k/or1k-opts.h b/gcc/config/or1k/or1k-opts.h +new file mode 100644 +index 00000000000..f791b894fdd +--- /dev/null ++++ b/gcc/config/or1k/or1k-opts.h +@@ -0,0 +1,30 @@ ++/* Definitions for option handling for OpenRISC. ++ Copyright (C) 2021 Free Software Foundation, Inc. ++ Contributed by Stafford Horne. ++ ++ This file is part of GCC. ++ ++ GCC is free software; you can redistribute it and/or modify it ++ under the terms of the GNU General Public License as published ++ by the Free Software Foundation; either version 3, or (at your ++ option) any later version. ++ ++ GCC is distributed in the hope that it will be useful, but WITHOUT ++ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ++ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public ++ License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with GCC; see the file COPYING3. If not see ++ . */ ++ ++#ifndef GCC_OR1K_OPTS_H ++#define GCC_OR1K_OPTS_H ++ ++/* The OpenRISC code generation models available. */ ++enum or1k_cmodel_type { ++ CMODEL_SMALL, ++ CMODEL_LARGE ++}; ++ ++#endif /* GCC_OR1K_OPTS_H */ +diff --git a/gcc/config/or1k/or1k.c b/gcc/config/or1k/or1k.c +index e772a7addea..27d3fa17995 100644 +--- a/gcc/config/or1k/or1k.c ++++ b/gcc/config/or1k/or1k.c +@@ -750,7 +750,14 @@ or1k_legitimize_address_1 (rtx x, rtx scratch) + { + base = gen_sym_unspec (base, UNSPEC_GOT); + crtl->uses_pic_offset_table = 1; +- t2 = gen_rtx_LO_SUM (Pmode, pic_offset_table_rtx, base); ++ if (TARGET_CMODEL_LARGE) ++ { ++ emit_insn (gen_rtx_SET (t1, gen_rtx_HIGH (Pmode, base))); ++ emit_insn (gen_add3_insn (t1, t1, pic_offset_table_rtx)); ++ t2 = gen_rtx_LO_SUM (Pmode, t1, base); ++ } ++ else ++ t2 = gen_rtx_LO_SUM (Pmode, pic_offset_table_rtx, base); + t2 = gen_const_mem (Pmode, t2); + emit_insn (gen_rtx_SET (t1, t2)); + base = t1; +@@ -1089,7 +1096,7 @@ print_reloc (FILE *stream, rtx x, HOST_WIDE_INT add, reloc_kind kind) + no special markup. */ + static const char * const relocs[RKIND_MAX][RTYPE_MAX] = { + { "lo", "got", "gotofflo", "tpofflo", "gottpofflo", "tlsgdlo" }, +- { "ha", NULL, "gotoffha", "tpoffha", "gottpoffha", "tlsgdhi" }, ++ { "ha", "gotha", "gotoffha", "tpoffha", "gottpoffha", "tlsgdhi" }, + }; + reloc_type type = RTYPE_DIRECT; + +diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h +index fe01ab81ead..669907e7e74 100644 +--- a/gcc/config/or1k/or1k.h ++++ b/gcc/config/or1k/or1k.h +@@ -21,6 +21,8 @@ + #ifndef GCC_OR1K_H + #define GCC_OR1K_H + ++#include "config/or1k/or1k-opts.h" ++ + /* Names to predefine in the preprocessor for this target machine. */ + #define TARGET_CPU_CPP_BUILTINS() \ + do \ +@@ -37,6 +39,11 @@ + } \ + while (0) + ++#define TARGET_CMODEL_SMALL \ ++ (or1k_code_model == CMODEL_SMALL) ++#define TARGET_CMODEL_LARGE \ ++ (or1k_code_model == CMODEL_LARGE) ++ + /* Storage layout. */ + + #define DEFAULT_SIGNED_CHAR 1 +diff --git a/gcc/config/or1k/or1k.opt b/gcc/config/or1k/or1k.opt +index 6bd0f3eee6d..cc23e3b8856 100644 +--- a/gcc/config/or1k/or1k.opt ++++ b/gcc/config/or1k/or1k.opt +@@ -21,6 +21,9 @@ + ; See the GCC internals manual (options.texi) for a description of + ; this file's format. + ++HeaderInclude ++config/or1k/or1k-opts.h ++ + mhard-div + Target RejectNegative InverseMask(SOFT_DIV) + Enable generation of hardware divide (l.div, l.divu) instructions. This is the +@@ -63,6 +66,22 @@ When -mhard-float is selected, enables generation of unordered floating point + compare and set flag (lf.sfun*) instructions. By default functions from libgcc + are used to perform unordered floating point compare and set flag operations. + ++mcmodel= ++Target RejectNegative Joined Enum(or1k_cmodel_type) Var(or1k_code_model) Init(CMODEL_SMALL) ++Specify the code model used for accessing memory addresses. Specifying large ++enables generating binaries with large global offset tables. By default the ++value is small. ++ ++Enum ++Name(or1k_cmodel_type) Type(enum or1k_cmodel_type) ++Known code model types (for use with the -mcmodel= option): ++ ++EnumValue ++Enum(or1k_cmodel_type) String(small) Value(CMODEL_SMALL) ++ ++EnumValue ++Enum(or1k_cmodel_type) String(large) Value(CMODEL_LARGE) ++ + mcmov + Target RejectNegative Mask(CMOV) + Enable generation of conditional move (l.cmov) instructions. By default the +diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi +index 57b97a0838c..d8a6b0b60c9 100644 +--- a/gcc/doc/invoke.texi ++++ b/gcc/doc/invoke.texi +@@ -1141,7 +1141,8 @@ Objective-C and Objective-C++ Dialects}. + @gccoptlist{-mboard=@var{name} -mnewlib -mhard-mul -mhard-div @gol + -msoft-mul -msoft-div @gol + -msoft-float -mhard-float -mdouble-float -munordered-float @gol +--mcmov -mror -mrori -msext -msfimm -mshftimm} ++-mcmov -mror -mrori -msext -msfimm -mshftimm @gol ++-mcmodel=@var{code-model}} + + @emph{PDP-11 Options} + @gccoptlist{-mfpu -msoft-float -mac0 -mno-ac0 -m40 -m45 -m10 @gol +@@ -26684,6 +26685,15 @@ Enable generation of shift with immediate (@code{l.srai}, @code{l.srli}, + @code{l.slli}) instructions. By default extra instructions will be generated + to store the immediate to a register first. + ++@item -mcmodel=small ++@opindex mcmodel=small ++Generate OpenRISC code for the small model: The GOT is limited to 64k. This is ++the default model. ++ ++@item -mcmodel=large ++@opindex mcmodel=large ++Generate OpenRISC code for the large model: The GOT may grow up to 4G in size. ++ + + @end table + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gcc/11.2.0/0002-or1k-Use-cmodel-large-when-building-crtstuff.patch b/buildroot-2022.02.1/package/gcc/11.2.0/0002-or1k-Use-cmodel-large-when-building-crtstuff.patch new file mode 100644 index 00000000..00dd5de2 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/11.2.0/0002-or1k-Use-cmodel-large-when-building-crtstuff.patch @@ -0,0 +1,60 @@ +From da8a9d695b3c4b9397b5d9a27660bfa48af8d707 Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Wed, 21 Apr 2021 05:33:15 +0900 +Subject: [PATCH] or1k: Use cmodel=large when building crtstuff + +When linking gcc runtime objects into large binaries the link may fail +with the below errors. This will happen even if we are building with +-mcmodel=large. + + /home/shorne/work/openrisc/output/host/lib/gcc/or1k-buildroot-linux-uclibc/10.3.0/crtbeginS.o: in function `deregister_tm_clones': + crtstuff.c:(.text+0x3c): relocation truncated to fit: R_OR1K_GOT16 against undefined symbol `_ITM_deregisterTMCloneTable' + /home/shorne/work/openrisc/output/host/lib/gcc/or1k-buildroot-linux-uclibc/10.3.0/crtbeginS.o: in function `register_tm_clones': + crtstuff.c:(.text+0xc0): relocation truncated to fit: R_OR1K_GOT16 against undefined symbol `_ITM_registerTMCloneTable' + +This patch builds the gcc crtstuff binaries always with the +-mcmodel=large option to ensure they can be linked into large binaries. + +libgcc/ChangeLog: + + PR target/99783 + * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff. + * config/or1k/t-crtstuff: New file. + +Signed-off-by: Giulio Benetti +--- + libgcc/config.host | 4 ++-- + libgcc/config/or1k/t-crtstuff | 2 ++ + 2 files changed, 4 insertions(+), 2 deletions(-) + create mode 100644 libgcc/config/or1k/t-crtstuff + +diff --git a/libgcc/config.host b/libgcc/config.host +index 50f00062232..8ca7a00082a 100644 +--- a/libgcc/config.host ++++ b/libgcc/config.host +@@ -1119,12 +1119,12 @@ nios2-*-*) + extra_parts="$extra_parts crti.o crtn.o" + ;; + or1k-*-linux*) +- tmake_file="$tmake_file or1k/t-or1k" ++ tmake_file="$tmake_file or1k/t-or1k or1k/t-crtstuff" + tmake_file="$tmake_file t-softfp-sfdf t-softfp" + md_unwind_header=or1k/linux-unwind.h + ;; + or1k-*-*) +- tmake_file="$tmake_file or1k/t-or1k" ++ tmake_file="$tmake_file or1k/t-or1k or1k/t-crtstuff" + tmake_file="$tmake_file t-softfp-sfdf t-softfp" + ;; + pdp11-*-*) +diff --git a/libgcc/config/or1k/t-crtstuff b/libgcc/config/or1k/t-crtstuff +new file mode 100644 +index 00000000000..dcae7f3498e +--- /dev/null ++++ b/libgcc/config/or1k/t-crtstuff +@@ -0,0 +1,2 @@ ++# Compile crtbeginS.o and crtendS.o with -mcmodel=large ++CRTSTUFF_T_CFLAGS_S += -mcmodel=large +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gcc/11.2.0/0003-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch b/buildroot-2022.02.1/package/gcc/11.2.0/0003-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch new file mode 100644 index 00000000..5ac03d7c --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/11.2.0/0003-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch @@ -0,0 +1,31 @@ +From f80e9941739fb3973b61fc6a5abddef5ad2faf73 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 27 Mar 2020 21:23:53 +0100 +Subject: [PATCH] gcc: define _REENTRANT for OpenRISC when -pthread is passed + +The detection of pthread support fails on OpenRISC unless _REENTRANT +is defined. Added the CPP_SPEC definition to correct this. + +Patch sent upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372 + +Signed-off-by: Bernd Kuhls +--- + gcc/config/or1k/linux.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/gcc/config/or1k/linux.h b/gcc/config/or1k/linux.h +index cbdc781418f..36303af892c 100644 +--- a/gcc/config/or1k/linux.h ++++ b/gcc/config/or1k/linux.h +@@ -32,6 +32,8 @@ + #undef MUSL_DYNAMIC_LINKER + #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-or1k.so.1" + ++#define CPP_SPEC "%{pthread:-D_REENTRANT}" ++ + #undef LINK_SPEC + #define LINK_SPEC "%{h*} \ + %{static:-Bstatic} \ +-- +2.31.1 + diff --git a/buildroot-2021.05/package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch b/buildroot-2022.02.1/package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch similarity index 100% rename from buildroot-2021.05/package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch rename to buildroot-2022.02.1/package/gcc/8.4.0/0001-xtensa-fix-PR-target-91880.patch diff --git a/buildroot-2021.05/package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch b/buildroot-2022.02.1/package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch similarity index 100% rename from buildroot-2021.05/package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch rename to buildroot-2022.02.1/package/gcc/8.4.0/0002-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch diff --git a/buildroot-2022.02.1/package/gcc/8.4.0/0003-libsanitizer-Remove-cyclades-from-libsanitizer.patch b/buildroot-2022.02.1/package/gcc/8.4.0/0003-libsanitizer-Remove-cyclades-from-libsanitizer.patch new file mode 100644 index 00000000..b4c14acf --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/8.4.0/0003-libsanitizer-Remove-cyclades-from-libsanitizer.patch @@ -0,0 +1,123 @@ +From 29210b168cc458480f71b242ad964ecd79214e38 Mon Sep 17 00:00:00 2001 +From: Tamar Christina +Date: Fri, 21 May 2021 12:16:56 +0100 +Subject: [PATCH] libsanitizer: Remove cyclades from libsanitizer + +The Linux kernel has removed the interface to cyclades from +the latest kernel headers[1] due to them being orphaned for the +past 13 years. + +libsanitizer uses this header when compiling against glibc, but +glibcs itself doesn't seem to have any references to cyclades. + +Further more it seems that the driver is broken in the kernel and +the firmware doesn't seem to be available anymore. + +As such since this is breaking the build of libsanitizer (and so the +GCC bootstrap[2]) I propose to remove this. + +[1] https://lkml.org/lkml/2021/3/2/153 +[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379 + +libsanitizer/ChangeLog: + + PR sanitizer/100379 + * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick + llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135. + * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise. + * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise. + +Signed-off-by: Maxim Kochetkov +--- + .../sanitizer_common_interceptors_ioctl.inc | 9 --------- + .../sanitizer_platform_limits_posix.cc | 11 ----------- + .../sanitizer_platform_limits_posix.h | 10 ---------- + 3 files changed, 30 deletions(-) + +diff --git a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +index a68534c5a0a..85ab53e7430 100755 +--- a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc ++++ b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +@@ -361,15 +361,6 @@ static void ioctl_table_fill() { + + #if SANITIZER_LINUX && !SANITIZER_ANDROID + // _(SIOCDEVPLIP, WRITE, struct_ifreq_sz); // the same as EQL_ENSLAVE +- _(CYGETDEFTHRESH, WRITE, sizeof(int)); +- _(CYGETDEFTIMEOUT, WRITE, sizeof(int)); +- _(CYGETMON, WRITE, struct_cyclades_monitor_sz); +- _(CYGETTHRESH, WRITE, sizeof(int)); +- _(CYGETTIMEOUT, WRITE, sizeof(int)); +- _(CYSETDEFTHRESH, NONE, 0); +- _(CYSETDEFTIMEOUT, NONE, 0); +- _(CYSETTHRESH, NONE, 0); +- _(CYSETTIMEOUT, NONE, 0); + _(EQL_EMANCIPATE, WRITE, struct_ifreq_sz); + _(EQL_ENSLAVE, WRITE, struct_ifreq_sz); + _(EQL_GETMASTRCFG, WRITE, struct_ifreq_sz); +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc +index 5c720b2e700..17f2c78b389 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc +@@ -157,7 +157,6 @@ typedef struct user_fpregs elf_fpregset_t; + # include + #endif + #include +-#include + #include + #include + #include +@@ -464,7 +463,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + + #if SANITIZER_LINUX && !SANITIZER_ANDROID + unsigned struct_ax25_parms_struct_sz = sizeof(struct ax25_parms_struct); +- unsigned struct_cyclades_monitor_sz = sizeof(struct cyclades_monitor); + #if EV_VERSION > (0x010000) + unsigned struct_input_keymap_entry_sz = sizeof(struct input_keymap_entry); + #else +@@ -831,15 +829,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + #endif // SANITIZER_LINUX || SANITIZER_FREEBSD + + #if SANITIZER_LINUX && !SANITIZER_ANDROID +- unsigned IOCTL_CYGETDEFTHRESH = CYGETDEFTHRESH; +- unsigned IOCTL_CYGETDEFTIMEOUT = CYGETDEFTIMEOUT; +- unsigned IOCTL_CYGETMON = CYGETMON; +- unsigned IOCTL_CYGETTHRESH = CYGETTHRESH; +- unsigned IOCTL_CYGETTIMEOUT = CYGETTIMEOUT; +- unsigned IOCTL_CYSETDEFTHRESH = CYSETDEFTHRESH; +- unsigned IOCTL_CYSETDEFTIMEOUT = CYSETDEFTIMEOUT; +- unsigned IOCTL_CYSETTHRESH = CYSETTHRESH; +- unsigned IOCTL_CYSETTIMEOUT = CYSETTIMEOUT; + unsigned IOCTL_EQL_EMANCIPATE = EQL_EMANCIPATE; + unsigned IOCTL_EQL_ENSLAVE = EQL_ENSLAVE; + unsigned IOCTL_EQL_GETMASTRCFG = EQL_GETMASTRCFG; +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h +index 9c1429623ab..9f05c4e9ea7 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h +@@ -1004,7 +1004,6 @@ struct __sanitizer_cookie_io_functions_t { + + #if SANITIZER_LINUX && !SANITIZER_ANDROID + extern unsigned struct_ax25_parms_struct_sz; +- extern unsigned struct_cyclades_monitor_sz; + extern unsigned struct_input_keymap_entry_sz; + extern unsigned struct_ipx_config_data_sz; + extern unsigned struct_kbdiacrs_sz; +@@ -1349,15 +1348,6 @@ struct __sanitizer_cookie_io_functions_t { + #endif // SANITIZER_LINUX || SANITIZER_FREEBSD + + #if SANITIZER_LINUX && !SANITIZER_ANDROID +- extern unsigned IOCTL_CYGETDEFTHRESH; +- extern unsigned IOCTL_CYGETDEFTIMEOUT; +- extern unsigned IOCTL_CYGETMON; +- extern unsigned IOCTL_CYGETTHRESH; +- extern unsigned IOCTL_CYGETTIMEOUT; +- extern unsigned IOCTL_CYSETDEFTHRESH; +- extern unsigned IOCTL_CYSETDEFTIMEOUT; +- extern unsigned IOCTL_CYSETTHRESH; +- extern unsigned IOCTL_CYSETTIMEOUT; + extern unsigned IOCTL_EQL_EMANCIPATE; + extern unsigned IOCTL_EQL_ENSLAVE; + extern unsigned IOCTL_EQL_GETMASTRCFG; +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/gcc/9.4.0/0001-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch b/buildroot-2022.02.1/package/gcc/9.4.0/0001-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch new file mode 100644 index 00000000..185e16c1 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/9.4.0/0001-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch @@ -0,0 +1,105 @@ +From 014db5e5febec94e35c13ce89ee6b389328873a1 Mon Sep 17 00:00:00 2001 +From: shorne +Date: Sat, 31 Aug 2019 06:00:56 +0000 +Subject: [PATCH] or1k: Fix issue with set_got clobbering LR (r9) + +When compiling glibc we found that the GOT register was being allocated +r9 when the instruction was still set_got_tmp. That is a problem +because r9 is the Link Register (LR) in OpenRISC which is used/clobbered +in set_got. We cannot use r9 as the GOT register. Also, we cannot +simply say set_got_tmp clobbers r9 as this is the reason for having the +temporary set_got_tmp. + +Fix by using a register class constraint that does not allow r9 during +register allocation. + +gcc/ChangeLog: + + * config/or1k/constraints.md (t): New constraint. + * config/or1k/or1k.h (GOT_REGS): New register class. + * config/or1k/or1k.md (set_got_tmp, set_got): Use t contraint. + +git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@275242 138bc75d-0d04-0410-961f-82ee72b054a4 +(cherry picked from commit 5b9471ffca25d39635680516ba2ff85295480fc3) +Signed-off-by: Romain Naour +--- + gcc/config/or1k/constraints.md | 4 ++++ + gcc/config/or1k/or1k.h | 3 +++ + gcc/config/or1k/or1k.md | 4 ++-- + 3 files changed, 9 insertions(+), 2 deletions(-) + +diff --git a/gcc/config/or1k/constraints.md b/gcc/config/or1k/constraints.md +index 93da8c058c6..a16b749008f 100644 +--- a/gcc/config/or1k/constraints.md ++++ b/gcc/config/or1k/constraints.md +@@ -24,6 +24,7 @@ + + ; We use: + ; c - sibcall registers ++; t - got address registers (excludes LR (r9) which is clobbered by set_got) + ; I - constant signed 16-bit + ; K - constant unsigned 16-bit + ; M - constant signed 16-bit shifted left 16-bits (l.movhi) +@@ -32,6 +33,9 @@ + (define_register_constraint "c" "SIBCALL_REGS" + "Registers which can hold a sibling call address") + ++(define_register_constraint "t" "GOT_REGS" ++ "Registers which can be used to store the Global Offset Table (GOT) address.") ++ + ;; Immediates + (define_constraint "I" + "A signed 16-bit immediate in the range -32768 to 32767." +diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h +index 6dda230f217..feee702d89c 100644 +--- a/gcc/config/or1k/or1k.h ++++ b/gcc/config/or1k/or1k.h +@@ -189,6 +189,7 @@ enum reg_class + { + NO_REGS, + SIBCALL_REGS, ++ GOT_REGS, + GENERAL_REGS, + FLAG_REGS, + ALL_REGS, +@@ -200,6 +201,7 @@ enum reg_class + #define REG_CLASS_NAMES { \ + "NO_REGS", \ + "SIBCALL_REGS", \ ++ "GOT_REGS", \ + "GENERAL_REGS", \ + "FLAG_REGS", \ + "ALL_REGS" } +@@ -212,6 +214,7 @@ enum reg_class + #define REG_CLASS_CONTENTS \ + { { 0x00000000, 0x00000000 }, \ + { SIBCALL_REGS_MASK, 0 }, \ ++ { 0xfffffdff, 0x00000000 }, \ + { 0xffffffff, 0x00000003 }, \ + { 0x00000000, 0x00000004 }, \ + { 0xffffffff, 0x00000007 } \ +diff --git a/gcc/config/or1k/or1k.md b/gcc/config/or1k/or1k.md +index 2dad51cd46b..88f3f02630f 100644 +--- a/gcc/config/or1k/or1k.md ++++ b/gcc/config/or1k/or1k.md +@@ -595,7 +595,7 @@ + ;; set_got pattern below. This works because the set_got_tmp insn is the + ;; first insn in the stream and that it isn't moved during RA. + (define_insn "set_got_tmp" +- [(set (match_operand:SI 0 "register_operand" "=r") ++ [(set (match_operand:SI 0 "register_operand" "=t") + (unspec_volatile:SI [(const_int 0)] UNSPECV_SET_GOT))] + "" + { +@@ -604,7 +604,7 @@ + + ;; The insn to initialize the GOT. + (define_insn "set_got" +- [(set (match_operand:SI 0 "register_operand" "=r") ++ [(set (match_operand:SI 0 "register_operand" "=t") + (unspec:SI [(const_int 0)] UNSPEC_SET_GOT)) + (clobber (reg:SI LR_REGNUM))] + "" +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/gcc/9.4.0/0002-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch b/buildroot-2022.02.1/package/gcc/9.4.0/0002-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch new file mode 100644 index 00000000..5ac03d7c --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/9.4.0/0002-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch @@ -0,0 +1,31 @@ +From f80e9941739fb3973b61fc6a5abddef5ad2faf73 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 27 Mar 2020 21:23:53 +0100 +Subject: [PATCH] gcc: define _REENTRANT for OpenRISC when -pthread is passed + +The detection of pthread support fails on OpenRISC unless _REENTRANT +is defined. Added the CPP_SPEC definition to correct this. + +Patch sent upstream: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94372 + +Signed-off-by: Bernd Kuhls +--- + gcc/config/or1k/linux.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/gcc/config/or1k/linux.h b/gcc/config/or1k/linux.h +index cbdc781418f..36303af892c 100644 +--- a/gcc/config/or1k/linux.h ++++ b/gcc/config/or1k/linux.h +@@ -32,6 +32,8 @@ + #undef MUSL_DYNAMIC_LINKER + #define MUSL_DYNAMIC_LINKER "/lib/ld-musl-or1k.so.1" + ++#define CPP_SPEC "%{pthread:-D_REENTRANT}" ++ + #undef LINK_SPEC + #define LINK_SPEC "%{h*} \ + %{static:-Bstatic} \ +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/gcc/9.4.0/0003-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch b/buildroot-2022.02.1/package/gcc/9.4.0/0003-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch new file mode 100644 index 00000000..0c69de93 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/9.4.0/0003-Revert-re-PR-target-92095-internal-error-with-O1-mcp.patch @@ -0,0 +1,325 @@ +From 1107ecc3e8af31adc7bbd4e08c0614836bd1cebd Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Wed, 20 Jan 2021 23:22:16 +0100 +Subject: [PATCH] Revert "re PR target/92095 (internal error with -O1 + -mcpu=niagara2 -fPIE)" + +This reverts commit 6bf2990842388101897b6f465524cbc295ee8cf9. + +Building the Buildroot defconfig qemu_sparc_ss10_defconfig using +gcc 8.4, 9.3 and 10 produce a broken rootfs that trigger illegal +instruction messages. + +gcc 8.3, 9.2 are the latest working gcc version. +git bisect between gcc 8.4 and 8.4 allowed to identify +the commit that introcuce the regression. + +Reverting this patch allowed to produce a working rootfs. + +Signed-off-by: Romain Naour +Cc: Eric Botcazou +--- + gcc/config/sparc/sparc-protos.h | 1 - + gcc/config/sparc/sparc.c | 121 +++++++----------- + gcc/config/sparc/sparc.md | 5 +- + .../gcc.c-torture/compile/20191108-1.c | 14 -- + gcc/testsuite/gcc.target/sparc/overflow-3.c | 2 +- + gcc/testsuite/gcc.target/sparc/overflow-4.c | 2 +- + gcc/testsuite/gcc.target/sparc/overflow-5.c | 2 +- + 7 files changed, 53 insertions(+), 94 deletions(-) + delete mode 100644 gcc/testsuite/gcc.c-torture/compile/20191108-1.c + +diff --git a/gcc/config/sparc/sparc-protos.h b/gcc/config/sparc/sparc-protos.h +index f1c120c4860..f4b6f00a7b1 100644 +--- a/gcc/config/sparc/sparc-protos.h ++++ b/gcc/config/sparc/sparc-protos.h +@@ -69,7 +69,6 @@ extern void sparc_split_reg_mem (rtx, rtx, machine_mode); + extern void sparc_split_mem_reg (rtx, rtx, machine_mode); + extern int sparc_split_reg_reg_legitimate (rtx, rtx); + extern void sparc_split_reg_reg (rtx, rtx, machine_mode); +-extern const char *output_load_pcrel_sym (rtx *); + extern const char *output_ubranch (rtx, rtx_insn *); + extern const char *output_cbranch (rtx, rtx, int, int, int, rtx_insn *); + extern const char *output_return (rtx_insn *); +diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c +index 0553dc501e6..516dcf96d7b 100644 +--- a/gcc/config/sparc/sparc.c ++++ b/gcc/config/sparc/sparc.c +@@ -4170,6 +4170,13 @@ eligible_for_sibcall_delay (rtx_insn *trial) + static bool + sparc_cannot_force_const_mem (machine_mode mode, rtx x) + { ++ /* After IRA has run in PIC mode, it is too late to put anything into the ++ constant pool if the PIC register hasn't already been initialized. */ ++ if ((lra_in_progress || reload_in_progress) ++ && flag_pic ++ && !crtl->uses_pic_offset_table) ++ return true; ++ + switch (GET_CODE (x)) + { + case CONST_INT: +@@ -4205,11 +4212,9 @@ sparc_cannot_force_const_mem (machine_mode mode, rtx x) + } + + /* Global Offset Table support. */ +-static GTY(()) rtx got_symbol_rtx = NULL_RTX; +-static GTY(()) rtx got_register_rtx = NULL_RTX; + static GTY(()) rtx got_helper_rtx = NULL_RTX; +- +-static GTY(()) bool got_helper_needed = false; ++static GTY(()) rtx got_register_rtx = NULL_RTX; ++static GTY(()) rtx got_symbol_rtx = NULL_RTX; + + /* Return the SYMBOL_REF for the Global Offset Table. */ + +@@ -4222,6 +4227,27 @@ sparc_got (void) + return got_symbol_rtx; + } + ++#ifdef HAVE_GAS_HIDDEN ++# define USE_HIDDEN_LINKONCE 1 ++#else ++# define USE_HIDDEN_LINKONCE 0 ++#endif ++ ++static void ++get_pc_thunk_name (char name[32], unsigned int regno) ++{ ++ const char *reg_name = reg_names[regno]; ++ ++ /* Skip the leading '%' as that cannot be used in a ++ symbol name. */ ++ reg_name += 1; ++ ++ if (USE_HIDDEN_LINKONCE) ++ sprintf (name, "__sparc_get_pc_thunk.%s", reg_name); ++ else ++ ASM_GENERATE_INTERNAL_LABEL (name, "LADDPC", regno); ++} ++ + /* Wrapper around the load_pcrel_sym{si,di} patterns. */ + + static rtx +@@ -4241,78 +4267,30 @@ gen_load_pcrel_sym (rtx op0, rtx op1, rtx op2) + return insn; + } + +-/* Output the load_pcrel_sym{si,di} patterns. */ +- +-const char * +-output_load_pcrel_sym (rtx *operands) +-{ +- if (flag_delayed_branch) +- { +- output_asm_insn ("sethi\t%%hi(%a1-4), %0", operands); +- output_asm_insn ("call\t%a2", operands); +- output_asm_insn (" add\t%0, %%lo(%a1+4), %0", operands); +- } +- else +- { +- output_asm_insn ("sethi\t%%hi(%a1-8), %0", operands); +- output_asm_insn ("add\t%0, %%lo(%a1-4), %0", operands); +- output_asm_insn ("call\t%a2", operands); +- output_asm_insn (" nop", NULL); +- } +- +- if (operands[2] == got_helper_rtx) +- got_helper_needed = true; +- +- return ""; +-} +- +-#ifdef HAVE_GAS_HIDDEN +-# define USE_HIDDEN_LINKONCE 1 +-#else +-# define USE_HIDDEN_LINKONCE 0 +-#endif +- + /* Emit code to load the GOT register. */ + + void + load_got_register (void) + { +- rtx insn; ++ if (!got_register_rtx) ++ got_register_rtx = gen_rtx_REG (Pmode, GLOBAL_OFFSET_TABLE_REGNUM); + + if (TARGET_VXWORKS_RTP) +- { +- if (!got_register_rtx) +- got_register_rtx = pic_offset_table_rtx; +- +- insn = gen_vxworks_load_got (); +- } ++ emit_insn (gen_vxworks_load_got ()); + else + { +- if (!got_register_rtx) +- got_register_rtx = gen_rtx_REG (Pmode, GLOBAL_OFFSET_TABLE_REGNUM); +- + /* The GOT symbol is subject to a PC-relative relocation so we need a + helper function to add the PC value and thus get the final value. */ + if (!got_helper_rtx) + { + char name[32]; +- +- /* Skip the leading '%' as that cannot be used in a symbol name. */ +- if (USE_HIDDEN_LINKONCE) +- sprintf (name, "__sparc_get_pc_thunk.%s", +- reg_names[REGNO (got_register_rtx)] + 1); +- else +- ASM_GENERATE_INTERNAL_LABEL (name, "LADDPC", +- REGNO (got_register_rtx)); +- ++ get_pc_thunk_name (name, GLOBAL_OFFSET_TABLE_REGNUM); + got_helper_rtx = gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (name)); + } + +- insn +- = gen_load_pcrel_sym (got_register_rtx, sparc_got (), got_helper_rtx); ++ emit_insn (gen_load_pcrel_sym (got_register_rtx, sparc_got (), ++ got_helper_rtx)); + } +- +- emit_insn (insn); + } + + /* Ensure that we are not using patterns that are not OK with PIC. */ +@@ -5477,7 +5455,7 @@ save_local_or_in_reg_p (unsigned int regno, int leaf_function) + return true; + + /* GOT register (%l7) if needed. */ +- if (got_register_rtx && regno == REGNO (got_register_rtx)) ++ if (regno == GLOBAL_OFFSET_TABLE_REGNUM && got_register_rtx) + return true; + + /* If the function accesses prior frames, the frame pointer and the return +@@ -12520,9 +12498,10 @@ static void + sparc_file_end (void) + { + /* If we need to emit the special GOT helper function, do so now. */ +- if (got_helper_needed) ++ if (got_helper_rtx) + { + const char *name = XSTR (got_helper_rtx, 0); ++ const char *reg_name = reg_names[GLOBAL_OFFSET_TABLE_REGNUM]; + #ifdef DWARF2_UNWIND_INFO + bool do_cfi; + #endif +@@ -12559,22 +12538,17 @@ sparc_file_end (void) + #ifdef DWARF2_UNWIND_INFO + do_cfi = dwarf2out_do_cfi_asm (); + if (do_cfi) +- output_asm_insn (".cfi_startproc", NULL); ++ fprintf (asm_out_file, "\t.cfi_startproc\n"); + #endif + if (flag_delayed_branch) +- { +- output_asm_insn ("jmp\t%%o7+8", NULL); +- output_asm_insn (" add\t%%o7, %0, %0", &got_register_rtx); +- } ++ fprintf (asm_out_file, "\tjmp\t%%o7+8\n\t add\t%%o7, %s, %s\n", ++ reg_name, reg_name); + else +- { +- output_asm_insn ("add\t%%o7, %0, %0", &got_register_rtx); +- output_asm_insn ("jmp\t%%o7+8", NULL); +- output_asm_insn (" nop", NULL); +- } ++ fprintf (asm_out_file, "\tadd\t%%o7, %s, %s\n\tjmp\t%%o7+8\n\t nop\n", ++ reg_name, reg_name); + #ifdef DWARF2_UNWIND_INFO + if (do_cfi) +- output_asm_insn (".cfi_endproc", NULL); ++ fprintf (asm_out_file, "\t.cfi_endproc\n"); + #endif + } + +@@ -13080,10 +13054,7 @@ sparc_init_pic_reg (void) + edge entry_edge; + rtx_insn *seq; + +- /* In PIC mode, we need to always initialize the PIC register if optimization +- is enabled, because we are called from IRA and LRA may later force things +- to the constant pool for optimization purposes. */ +- if (!flag_pic || (!crtl->uses_pic_offset_table && !optimize)) ++ if (!crtl->uses_pic_offset_table) + return; + + start_sequence (); +diff --git a/gcc/config/sparc/sparc.md b/gcc/config/sparc/sparc.md +index d9ef79c13cc..6dbd054f1c7 100644 +--- a/gcc/config/sparc/sparc.md ++++ b/gcc/config/sparc/sparc.md +@@ -1601,7 +1601,10 @@ + (clobber (reg:P O7_REG))] + "REGNO (operands[0]) == INTVAL (operands[3])" + { +- return output_load_pcrel_sym (operands); ++ if (flag_delayed_branch) ++ return "sethi\t%%hi(%a1-4), %0\n\tcall\t%a2\n\t add\t%0, %%lo(%a1+4), %0"; ++ else ++ return "sethi\t%%hi(%a1-8), %0\n\tadd\t%0, %%lo(%a1-4), %0\n\tcall\t%a2\n\t nop"; + } + [(set (attr "type") (const_string "multi")) + (set (attr "length") +diff --git a/gcc/testsuite/gcc.c-torture/compile/20191108-1.c b/gcc/testsuite/gcc.c-torture/compile/20191108-1.c +deleted file mode 100644 +index 7929751bb06..00000000000 +--- a/gcc/testsuite/gcc.c-torture/compile/20191108-1.c ++++ /dev/null +@@ -1,14 +0,0 @@ +-/* PR target/92095 */ +-/* Testcase by Sergei Trofimovich */ +- +-typedef union { +- double a; +- int b[2]; +-} c; +- +-double d(int e) +-{ +- c f; +- (&f)->b[0] = 15728640; +- return e ? -(&f)->a : (&f)->a; +-} +diff --git a/gcc/testsuite/gcc.target/sparc/overflow-3.c b/gcc/testsuite/gcc.target/sparc/overflow-3.c +index 52d6ab2b688..86dddfb09e6 100644 +--- a/gcc/testsuite/gcc.target/sparc/overflow-3.c ++++ b/gcc/testsuite/gcc.target/sparc/overflow-3.c +@@ -1,6 +1,6 @@ + /* { dg-do compile } */ + /* { dg-require-effective-target lp64 } */ +-/* { dg-options "-O -fno-pie" } */ ++/* { dg-options "-O" } */ + + #include + #include +diff --git a/gcc/testsuite/gcc.target/sparc/overflow-4.c b/gcc/testsuite/gcc.target/sparc/overflow-4.c +index c6121b958c3..019feee335c 100644 +--- a/gcc/testsuite/gcc.target/sparc/overflow-4.c ++++ b/gcc/testsuite/gcc.target/sparc/overflow-4.c +@@ -1,6 +1,6 @@ + /* { dg-do compile } */ + /* { dg-require-effective-target lp64 } */ +-/* { dg-options "-O -fno-pie -mno-vis3 -mno-vis4" } */ ++/* { dg-options "-O -mno-vis3 -mno-vis4" } */ + + #include + #include +diff --git a/gcc/testsuite/gcc.target/sparc/overflow-5.c b/gcc/testsuite/gcc.target/sparc/overflow-5.c +index f00283f6e7b..67d4ac38095 100644 +--- a/gcc/testsuite/gcc.target/sparc/overflow-5.c ++++ b/gcc/testsuite/gcc.target/sparc/overflow-5.c +@@ -1,6 +1,6 @@ + /* { dg-do compile } */ + /* { dg-require-effective-target lp64 } */ +-/* { dg-options "-O -fno-pie -mvis3" } */ ++/* { dg-options "-O -mvis3" } */ + + #include + #include +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/gcc/9.4.0/0004-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch b/buildroot-2022.02.1/package/gcc/9.4.0/0004-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch new file mode 100644 index 00000000..894411f3 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/9.4.0/0004-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch @@ -0,0 +1,201 @@ +From 90b202b59fa2bdb68314a23471b32d3e16602bc8 Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Sun, 2 May 2021 06:11:44 +0900 +Subject: [PATCH] or1k: Add mcmodel option to handle large GOTs + +When building libgeos we get an error with: + + linux-uclibc/9.3.0/crtbeginS.o: in function `__do_global_dtors_aux': + crtstuff.c:(.text+0x118): relocation truncated to fit: R_OR1K_GOT16 against symbol `__cxa_finalize' defined in .text section in + /home/shorne/work/openrisc/3eb9f9d0f6d8274b2d19753c006bd83f7d536e3c/output/host/or1k-buildroot-linux-uclibc/sysroot/lib/libc.so. + +This is caused by GOT code having a limit of 64k. In OpenRISC this +looks to be the only relocation code pattern to be limited to 64k. + +This patch allows specifying a new option -mcmodel=large which can be +used to generate 2 more instructions to construct 32-bit addresses for +up to 4G GOTs. + +gcc/ChangeLog: + + PR 99783 + * config/or1k/or1k-opts.h: New file. + * config/or1k/or1k.c (or1k_legitimize_address_1, print_reloc): + Support generating gotha relocations if -mcmodel=large is + specified. + * config/or1k/or1k.h (TARGET_CMODEL_SMALL, TARGET_CMODEL_LARGE): + New macros. + * config/or1k/or1k.opt (mcmodel=): New option. + * doc/invoke.text (OpenRISC Options): Document mcmodel. + +Signed-off-by: Giulio Benetti +--- + gcc/config/or1k/or1k-opts.h | 30 ++++++++++++++++++++++++++++++ + gcc/config/or1k/or1k.c | 11 +++++++++-- + gcc/config/or1k/or1k.h | 7 +++++++ + gcc/config/or1k/or1k.opt | 19 +++++++++++++++++++ + gcc/doc/invoke.texi | 13 ++++++++++++- + 5 files changed, 77 insertions(+), 3 deletions(-) + create mode 100644 gcc/config/or1k/or1k-opts.h + +diff --git a/gcc/config/or1k/or1k-opts.h b/gcc/config/or1k/or1k-opts.h +new file mode 100644 +index 00000000000..f791b894fdd +--- /dev/null ++++ b/gcc/config/or1k/or1k-opts.h +@@ -0,0 +1,30 @@ ++/* Definitions for option handling for OpenRISC. ++ Copyright (C) 2021 Free Software Foundation, Inc. ++ Contributed by Stafford Horne. ++ ++ This file is part of GCC. ++ ++ GCC is free software; you can redistribute it and/or modify it ++ under the terms of the GNU General Public License as published ++ by the Free Software Foundation; either version 3, or (at your ++ option) any later version. ++ ++ GCC is distributed in the hope that it will be useful, but WITHOUT ++ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ++ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public ++ License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with GCC; see the file COPYING3. If not see ++ . */ ++ ++#ifndef GCC_OR1K_OPTS_H ++#define GCC_OR1K_OPTS_H ++ ++/* The OpenRISC code generation models available. */ ++enum or1k_cmodel_type { ++ CMODEL_SMALL, ++ CMODEL_LARGE ++}; ++ ++#endif /* GCC_OR1K_OPTS_H */ +diff --git a/gcc/config/or1k/or1k.c b/gcc/config/or1k/or1k.c +index fc10fcfabde..df67d72b139 100644 +--- a/gcc/config/or1k/or1k.c ++++ b/gcc/config/or1k/or1k.c +@@ -750,7 +750,14 @@ or1k_legitimize_address_1 (rtx x, rtx scratch) + { + base = gen_sym_unspec (base, UNSPEC_GOT); + crtl->uses_pic_offset_table = 1; +- t2 = gen_rtx_LO_SUM (Pmode, pic_offset_table_rtx, base); ++ if (TARGET_CMODEL_LARGE) ++ { ++ emit_insn (gen_rtx_SET (t1, gen_rtx_HIGH (Pmode, base))); ++ emit_insn (gen_add3_insn (t1, t1, pic_offset_table_rtx)); ++ t2 = gen_rtx_LO_SUM (Pmode, t1, base); ++ } ++ else ++ t2 = gen_rtx_LO_SUM (Pmode, pic_offset_table_rtx, base); + t2 = gen_const_mem (Pmode, t2); + emit_insn (gen_rtx_SET (t1, t2)); + base = t1; +@@ -1097,7 +1104,7 @@ print_reloc (FILE *stream, rtx x, HOST_WIDE_INT add, reloc_kind kind) + no special markup. */ + static const char * const relocs[RKIND_MAX][RTYPE_MAX] = { + { "lo", "got", "gotofflo", "tpofflo", "gottpofflo", "tlsgdlo" }, +- { "ha", NULL, "gotoffha", "tpoffha", "gottpoffha", "tlsgdhi" }, ++ { "ha", "gotha", "gotoffha", "tpoffha", "gottpoffha", "tlsgdhi" }, + }; + reloc_type type = RTYPE_DIRECT; + +diff --git a/gcc/config/or1k/or1k.h b/gcc/config/or1k/or1k.h +index feee702d89c..dbaf0d0fe4c 100644 +--- a/gcc/config/or1k/or1k.h ++++ b/gcc/config/or1k/or1k.h +@@ -21,6 +21,8 @@ + #ifndef GCC_OR1K_H + #define GCC_OR1K_H + ++#include "config/or1k/or1k-opts.h" ++ + /* Names to predefine in the preprocessor for this target machine. */ + #define TARGET_CPU_CPP_BUILTINS() \ + do \ +@@ -35,6 +37,11 @@ + } \ + while (0) + ++#define TARGET_CMODEL_SMALL \ ++ (or1k_code_model == CMODEL_SMALL) ++#define TARGET_CMODEL_LARGE \ ++ (or1k_code_model == CMODEL_LARGE) ++ + /* Storage layout. */ + + #define DEFAULT_SIGNED_CHAR 1 +diff --git a/gcc/config/or1k/or1k.opt b/gcc/config/or1k/or1k.opt +index 7bdbd842dd4..116524c3441 100644 +--- a/gcc/config/or1k/or1k.opt ++++ b/gcc/config/or1k/or1k.opt +@@ -23,6 +23,9 @@ + + ; Please try to keep this file in ASCII collating order. + ++HeaderInclude ++config/or1k/or1k-opts.h ++ + mhard-div + Target RejectNegative InverseMask(SOFT_DIV) + Use hardware divide instructions, use -msoft-div for emulation. +@@ -31,6 +34,22 @@ mhard-mul + Target RejectNegative InverseMask(SOFT_MUL). + Use hardware multiply instructions, use -msoft-mul for emulation. + ++mcmodel= ++Target RejectNegative Joined Enum(or1k_cmodel_type) Var(or1k_code_model) Init(CMODEL_SMALL) ++Specify the code model used for accessing memory addresses. Specifying large ++enables generating binaries with large global offset tables. By default the ++value is small. ++ ++Enum ++Name(or1k_cmodel_type) Type(enum or1k_cmodel_type) ++Known code model types (for use with the -mcmodel= option): ++ ++EnumValue ++Enum(or1k_cmodel_type) String(small) Value(CMODEL_SMALL) ++ ++EnumValue ++Enum(or1k_cmodel_type) String(large) Value(CMODEL_LARGE) ++ + mcmov + Target RejectNegative Mask(CMOV) + Allows generation of binaries which use the l.cmov instruction. If your target +diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi +index 7b5f6e03d9f..683c64417af 100644 +--- a/gcc/doc/invoke.texi ++++ b/gcc/doc/invoke.texi +@@ -1032,7 +1032,9 @@ Objective-C and Objective-C++ Dialects}. + @emph{OpenRISC Options} + @gccoptlist{-mboard=@var{name} -mnewlib -mhard-mul -mhard-div @gol + -msoft-mul -msoft-div @gol +--mcmov -mror -msext -msfimm -mshftimm} ++-mcmov -mror -mrori -msext -msfimm -mshftimm @gol ++-mcmodel=@var{code-model}} ++ + + @emph{PDP-11 Options} + @gccoptlist{-mfpu -msoft-float -mac0 -mno-ac0 -m40 -m45 -m10 @gol +@@ -27462,6 +27464,15 @@ MWAITX, SHA, CLZERO, AES, PCL_MUL, CX16, MOVBE, MMX, SSE, SSE2, SSE3, SSE4A, + SSSE3, SSE4.1, SSE4.2, ABM, XSAVEC, XSAVES, CLFLUSHOPT, POPCNT, and 64-bit + instruction set extensions.) + ++@item -mcmodel=small ++@opindex mcmodel=small ++Generate OpenRISC code for the small model: The GOT is limited to 64k. This is ++the default model. ++ ++@item -mcmodel=large ++@opindex mcmodel=large ++Generate OpenRISC code for the large model: The GOT may grow up to 4G in size. ++ + + @item btver1 + CPUs based on AMD Family 14h cores with x86-64 instruction set support. (This +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/gcc/9.4.0/0005-or1k-Use-cmodel-large-when-building-crtstuff.patch b/buildroot-2022.02.1/package/gcc/9.4.0/0005-or1k-Use-cmodel-large-when-building-crtstuff.patch new file mode 100644 index 00000000..69d14334 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/9.4.0/0005-or1k-Use-cmodel-large-when-building-crtstuff.patch @@ -0,0 +1,60 @@ +From d64a757040fe36b0d9dc65d24107c656f66bc8e5 Mon Sep 17 00:00:00 2001 +From: Stafford Horne +Date: Sun, 2 May 2021 06:11:45 +0900 +Subject: [PATCH] or1k: Use cmodel=large when building crtstuff + +When linking gcc runtime objects into large binaries the link may fail +with the below errors. This will happen even if we are building with +-mcmodel=large. + + /home/shorne/work/openrisc/output/host/lib/gcc/or1k-buildroot-linux-uclibc/10.3.0/crtbeginS.o: in function `deregister_tm_clones': + crtstuff.c:(.text+0x3c): relocation truncated to fit: R_OR1K_GOT16 against undefined symbol `_ITM_deregisterTMCloneTable' + /home/shorne/work/openrisc/output/host/lib/gcc/or1k-buildroot-linux-uclibc/10.3.0/crtbeginS.o: in function `register_tm_clones': + crtstuff.c:(.text+0xc0): relocation truncated to fit: R_OR1K_GOT16 against undefined symbol `_ITM_registerTMCloneTable' + +This patch builds the gcc crtstuff binaries always with the +-mcmodel=large option to ensure they can be linked into large binaries. + +libgcc/ChangeLog: + + PR 99783 + * config.host (or1k-*, tmake_file): Add or1k/t-crtstuff. + * config/or1k/t-crtstuff: New file. + +Signed-off-by: Giulio Benetti +--- + libgcc/config.host | 4 ++-- + libgcc/config/or1k/t-crtstuff | 2 ++ + 2 files changed, 4 insertions(+), 2 deletions(-) + create mode 100644 libgcc/config/or1k/t-crtstuff + +diff --git a/libgcc/config.host b/libgcc/config.host +index bdbf77a3e62..bfb45a90630 100644 +--- a/libgcc/config.host ++++ b/libgcc/config.host +@@ -1061,12 +1061,12 @@ nios2-*-*) + extra_parts="$extra_parts crti.o crtn.o" + ;; + or1k-*-linux*) +- tmake_file="$tmake_file or1k/t-or1k" ++ tmake_file="$tmake_file or1k/t-or1k or1k/t-crtstuff" + tmake_file="$tmake_file t-softfp-sfdf t-softfp" + md_unwind_header=or1k/linux-unwind.h + ;; + or1k-*-*) +- tmake_file="$tmake_file or1k/t-or1k" ++ tmake_file="$tmake_file or1k/t-or1k or1k/t-crtstuff" + tmake_file="$tmake_file t-softfp-sfdf t-softfp" + ;; + pdp11-*-*) +diff --git a/libgcc/config/or1k/t-crtstuff b/libgcc/config/or1k/t-crtstuff +new file mode 100644 +index 00000000000..dcae7f3498e +--- /dev/null ++++ b/libgcc/config/or1k/t-crtstuff +@@ -0,0 +1,2 @@ ++# Compile crtbeginS.o and crtendS.o with -mcmodel=large ++CRTSTUFF_T_CFLAGS_S += -mcmodel=large +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/gcc/Config.in.host b/buildroot-2022.02.1/package/gcc/Config.in.host new file mode 100644 index 00000000..a1fe192d --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/Config.in.host @@ -0,0 +1,149 @@ +comment "GCC Options" + +choice + prompt "GCC compiler Version" + default BR2_GCC_VERSION_ARC if BR2_arc + default BR2_GCC_VERSION_POWERPC_SPE if BR2_powerpc_SPE + default BR2_GCC_VERSION_10_X + help + Select the version of gcc you wish to use. + +config BR2_GCC_VERSION_ARC + bool "gcc arc (10.x)" + # Only supported architecture + depends on BR2_arc + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + +config BR2_GCC_VERSION_POWERPC_SPE + bool "gcc powerpc spe" + # powerpc spe support has been deprecated since gcc 8.x. + # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html + depends on BR2_powerpc_SPE + select BR2_TOOLCHAIN_GCC_AT_LEAST_8 + +config BR2_GCC_VERSION_9_X + bool "gcc 9.x" + depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_10 + # powerpc spe support has been deprecated since gcc 8.x. + # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html + depends on !BR2_powerpc_SPE + # C-SKY sk610 needs abiv1, which is not supported in + # upstream gcc. C-SKY gcc upstream support not tested + # with upstream binutils and glibc. + depends on !BR2_csky + select BR2_TOOLCHAIN_GCC_AT_LEAST_9 + +config BR2_GCC_VERSION_10_X + bool "gcc 10.x" + depends on !BR2_ARCH_NEEDS_GCC_AT_LEAST_11 + # powerpc spe support has been deprecated since gcc 8.x. + # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html + depends on !BR2_powerpc_SPE + # C-SKY sk610 needs abiv1, which is not supported in + # upstream gcc. C-SKY gcc upstream support not tested + # with upstream binutils and glibc. + depends on !BR2_csky + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + +config BR2_GCC_VERSION_11_X + bool "gcc 11.x" + # powerpc spe support has been deprecated since gcc 8.x. + # https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html + depends on !BR2_powerpc_SPE + # uClibc-ng broken on sparc due to recent gcc changes + # that need to be reverted since gcc 8.4, 9.3 and 10.1. + # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98784 + depends on !BR2_sparc + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + +endchoice + +# libcilkrts was introduced in gcc 4.9 and removed in gcc 8.x +config BR2_GCC_SUPPORTS_LIBCILKRTS + bool + default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + +config BR2_GCC_SUPPORTS_DLANG + bool + default y if BR2_aarch64 + default y if BR2_arm + default y if BR2_i386 + default y if BR2_mips || BR2_mipsel + default y if BR2_mips64 || BR2_mips64el + default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le + default y if BR2_x86_64 + default y if BR2_riscv && !BR2_RISCV_64 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 + depends on BR2_TOOLCHAIN_USES_GLIBC + +config BR2_GCC_VERSION + string + default "8.4.0" if BR2_GCC_VERSION_POWERPC_SPE + default "9.4.0" if BR2_GCC_VERSION_9_X + default "10.3.0" if BR2_GCC_VERSION_10_X + default "11.2.0" if BR2_GCC_VERSION_11_X + default "arc-2020.09-release" if BR2_GCC_VERSION_ARC + +config BR2_EXTRA_GCC_CONFIG_OPTIONS + string "Additional gcc options" + default "" + help + Any additional gcc configure options you may want to + include. Those options are applied for all of the gcc + initial, gcc intermediate and gcc final passes. + +config BR2_TOOLCHAIN_BUILDROOT_CXX + bool "Enable C++ support" + select BR2_INSTALL_LIBSTDCPP + help + Enable this option if you want your toolchain to support the + C++ language and you want C++ libraries to be installed on + your target system. + +comment "Fortran support needs a toolchain w/ wchar" + depends on BR2_TOOLCHAIN_HAS_LIBQUADMATH + depends on !BR2_USE_WCHAR # libquadmath + +config BR2_TOOLCHAIN_BUILDROOT_FORTRAN + bool "Enable Fortran support" + # on architecture building libquadmath, wchar is required + depends on !BR2_TOOLCHAIN_HAS_LIBQUADMATH || \ + (BR2_TOOLCHAIN_HAS_LIBQUADMATH && BR2_USE_WCHAR) + select BR2_TOOLCHAIN_HAS_FORTRAN + help + Enable this option if you want your toolchain to support the + Fortran language and you want Fortran libraries to be + installed on your target system. + +config BR2_TOOLCHAIN_BUILDROOT_DLANG + bool "Enable D language support" + depends on BR2_GCC_SUPPORTS_DLANG + select BR2_TOOLCHAIN_HAS_DLANG + help + Enable this option if you want your toolchain to support the + D language and you want D libraries to be installed on your + target system. + +config BR2_GCC_ENABLE_LTO + bool "Enable compiler link-time-optimization support" + select BR2_BINUTILS_ENABLE_LTO + help + This option enables link-time optimization (LTO) support in + gcc. + +config BR2_GCC_ENABLE_OPENMP + bool "Enable compiler OpenMP support" + depends on !BR2_PTHREADS_NONE && !BR2_arc && !BR2_microblaze + select BR2_TOOLCHAIN_HAS_OPENMP + help + Enable OpenMP support for the compiler + +config BR2_GCC_ENABLE_GRAPHITE + bool "Enable graphite support" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + help + This option enables the graphite optimizations in the + compiler. + +comment "graphite support needs gcc >= 5.x" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2021.05/package/gcc/arc-2020.09-release/0001-arc-Refurbish-adc-sbc-patterns.patch b/buildroot-2022.02.1/package/gcc/arc-2020.09-release/0001-arc-Refurbish-adc-sbc-patterns.patch similarity index 100% rename from buildroot-2021.05/package/gcc/arc-2020.09-release/0001-arc-Refurbish-adc-sbc-patterns.patch rename to buildroot-2022.02.1/package/gcc/arc-2020.09-release/0001-arc-Refurbish-adc-sbc-patterns.patch diff --git a/buildroot-2022.02.1/package/gcc/arc-2020.09-release/0002-libsanitizer-Remove-cyclades-from-libsanitizer.patch b/buildroot-2022.02.1/package/gcc/arc-2020.09-release/0002-libsanitizer-Remove-cyclades-from-libsanitizer.patch new file mode 100644 index 00000000..051d4db3 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/arc-2020.09-release/0002-libsanitizer-Remove-cyclades-from-libsanitizer.patch @@ -0,0 +1,121 @@ +From 1557c3d919623a95c2aa090d3018c31401f63f88 Mon Sep 17 00:00:00 2001 +From: Tamar Christina +Date: Fri, 21 May 2021 12:16:56 +0100 +Subject: [PATCH] libsanitizer: Remove cyclades from libsanitizer + +The Linux kernel has removed the interface to cyclades from +the latest kernel headers[1] due to them being orphaned for the +past 13 years. + +libsanitizer uses this header when compiling against glibc, but +glibcs itself doesn't seem to have any references to cyclades. + +Further more it seems that the driver is broken in the kernel and +the firmware doesn't seem to be available anymore. + +As such since this is breaking the build of libsanitizer (and so the +GCC bootstrap[2]) I propose to remove this. + +[1] https://lkml.org/lkml/2021/3/2/153 +[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379 + +libsanitizer/ChangeLog: + + PR sanitizer/100379 + * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry-pick + llvm-project revision f7c5351552387bd43f6ca3631016d7f0dfe0f135. + * sanitizer_common/sanitizer_platform_limits_posix.cc: Likewise. + * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise. +--- + .../sanitizer_common_interceptors_ioctl.inc | 9 --------- + .../sanitizer_platform_limits_posix.cpp | 11 ----------- + .../sanitizer_platform_limits_posix.h | 10 ---------- + 3 files changed, 30 deletions(-) + +diff --git a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +index 490a04b2181..42e43a04441 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc ++++ b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc +@@ -366,15 +366,6 @@ static void ioctl_table_fill() { + + #if SANITIZER_LINUX && !SANITIZER_ANDROID + // _(SIOCDEVPLIP, WRITE, struct_ifreq_sz); // the same as EQL_ENSLAVE +- _(CYGETDEFTHRESH, WRITE, sizeof(int)); +- _(CYGETDEFTIMEOUT, WRITE, sizeof(int)); +- _(CYGETMON, WRITE, struct_cyclades_monitor_sz); +- _(CYGETTHRESH, WRITE, sizeof(int)); +- _(CYGETTIMEOUT, WRITE, sizeof(int)); +- _(CYSETDEFTHRESH, NONE, 0); +- _(CYSETDEFTIMEOUT, NONE, 0); +- _(CYSETTHRESH, NONE, 0); +- _(CYSETTIMEOUT, NONE, 0); + _(EQL_EMANCIPATE, WRITE, struct_ifreq_sz); + _(EQL_ENSLAVE, WRITE, struct_ifreq_sz); + _(EQL_GETMASTRCFG, WRITE, struct_ifreq_sz); +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp +index aa845df4dde..badf6a401cc 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp +@@ -130,7 +130,6 @@ typedef struct user_fpregs elf_fpregset_t; + # include + #endif + #include +-#include + #include + #include + #include +@@ -443,7 +442,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + + #if SANITIZER_LINUX && !SANITIZER_ANDROID + unsigned struct_ax25_parms_struct_sz = sizeof(struct ax25_parms_struct); +- unsigned struct_cyclades_monitor_sz = sizeof(struct cyclades_monitor); + #if EV_VERSION > (0x010000) + unsigned struct_input_keymap_entry_sz = sizeof(struct input_keymap_entry); + #else +@@ -809,15 +807,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + #endif // SANITIZER_LINUX + + #if SANITIZER_LINUX && !SANITIZER_ANDROID +- unsigned IOCTL_CYGETDEFTHRESH = CYGETDEFTHRESH; +- unsigned IOCTL_CYGETDEFTIMEOUT = CYGETDEFTIMEOUT; +- unsigned IOCTL_CYGETMON = CYGETMON; +- unsigned IOCTL_CYGETTHRESH = CYGETTHRESH; +- unsigned IOCTL_CYGETTIMEOUT = CYGETTIMEOUT; +- unsigned IOCTL_CYSETDEFTHRESH = CYSETDEFTHRESH; +- unsigned IOCTL_CYSETDEFTIMEOUT = CYSETDEFTIMEOUT; +- unsigned IOCTL_CYSETTHRESH = CYSETTHRESH; +- unsigned IOCTL_CYSETTIMEOUT = CYSETTIMEOUT; + unsigned IOCTL_EQL_EMANCIPATE = EQL_EMANCIPATE; + unsigned IOCTL_EQL_ENSLAVE = EQL_ENSLAVE; + unsigned IOCTL_EQL_GETMASTRCFG = EQL_GETMASTRCFG; +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h +index d82fd5e4005..dc6423bc297 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h +@@ -974,7 +974,6 @@ extern unsigned struct_vt_mode_sz; + + #if SANITIZER_LINUX && !SANITIZER_ANDROID + extern unsigned struct_ax25_parms_struct_sz; +-extern unsigned struct_cyclades_monitor_sz; + extern unsigned struct_input_keymap_entry_sz; + extern unsigned struct_ipx_config_data_sz; + extern unsigned struct_kbdiacrs_sz; +@@ -1319,15 +1318,6 @@ extern unsigned IOCTL_VT_WAITACTIVE; + #endif // SANITIZER_LINUX + + #if SANITIZER_LINUX && !SANITIZER_ANDROID +-extern unsigned IOCTL_CYGETDEFTHRESH; +-extern unsigned IOCTL_CYGETDEFTIMEOUT; +-extern unsigned IOCTL_CYGETMON; +-extern unsigned IOCTL_CYGETTHRESH; +-extern unsigned IOCTL_CYGETTIMEOUT; +-extern unsigned IOCTL_CYSETDEFTHRESH; +-extern unsigned IOCTL_CYSETDEFTIMEOUT; +-extern unsigned IOCTL_CYSETTHRESH; +-extern unsigned IOCTL_CYSETTIMEOUT; + extern unsigned IOCTL_EQL_EMANCIPATE; + extern unsigned IOCTL_EQL_ENSLAVE; + extern unsigned IOCTL_EQL_GETMASTRCFG; +-- +2.31.1 + diff --git a/buildroot-2021.05/package/gcc/arc-2020.09-release/0100-uclibc-conf.patch b/buildroot-2022.02.1/package/gcc/arc-2020.09-release/0100-uclibc-conf.patch similarity index 100% rename from buildroot-2021.05/package/gcc/arc-2020.09-release/0100-uclibc-conf.patch rename to buildroot-2022.02.1/package/gcc/arc-2020.09-release/0100-uclibc-conf.patch diff --git a/buildroot-2021.05/package/gcc/gcc-final/gcc-final.hash b/buildroot-2022.02.1/package/gcc/gcc-final/gcc-final.hash similarity index 100% rename from buildroot-2021.05/package/gcc/gcc-final/gcc-final.hash rename to buildroot-2022.02.1/package/gcc/gcc-final/gcc-final.hash diff --git a/buildroot-2022.02.1/package/gcc/gcc-final/gcc-final.mk b/buildroot-2022.02.1/package/gcc/gcc-final/gcc-final.mk new file mode 100644 index 00000000..aa883beb --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/gcc-final/gcc-final.mk @@ -0,0 +1,219 @@ +################################################################################ +# +# gcc-final +# +################################################################################ + +GCC_FINAL_VERSION = $(GCC_VERSION) +GCC_FINAL_SITE = $(GCC_SITE) +GCC_FINAL_SOURCE = $(GCC_SOURCE) + +HOST_GCC_FINAL_DL_SUBDIR = gcc + +HOST_GCC_FINAL_DEPENDENCIES = \ + $(HOST_GCC_COMMON_DEPENDENCIES) \ + $(BR_LIBC) + +HOST_GCC_FINAL_EXCLUDES = $(HOST_GCC_EXCLUDES) + +ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) +HOST_GCC_FINAL_POST_EXTRACT_HOOKS += HOST_GCC_XTENSA_OVERLAY_EXTRACT +HOST_GCC_FINAL_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) +endif + +HOST_GCC_FINAL_POST_PATCH_HOOKS += HOST_GCC_APPLY_PATCHES + +# gcc doesn't support in-tree build, so we create a 'build' +# subdirectory in the gcc sources, and build from there. +HOST_GCC_FINAL_SUBDIR = build + +HOST_GCC_FINAL_PRE_CONFIGURE_HOOKS += HOST_GCC_CONFIGURE_SYMLINK + +# We want to always build the static variants of all the gcc libraries, +# of which libstdc++, libgomp, libmudflap... +# To do so, we can not just pass --enable-static to override the generic +# --disable-static flag, otherwise gcc fails to build some of those +# libraries, see; +# http://lists.busybox.net/pipermail/buildroot/2013-October/080412.html +# +# So we must completely override the generic commands and provide our own. +# +define HOST_GCC_FINAL_CONFIGURE_CMDS + (cd $(HOST_GCC_FINAL_SRCDIR) && rm -rf config.cache; \ + $(HOST_CONFIGURE_OPTS) \ + CFLAGS="$(HOST_CFLAGS)" \ + LDFLAGS="$(HOST_LDFLAGS)" \ + $(HOST_GCC_FINAL_CONF_ENV) \ + ./configure \ + --prefix="$(HOST_DIR)" \ + --sysconfdir="$(HOST_DIR)/etc" \ + --enable-static \ + $(QUIET) $(HOST_GCC_FINAL_CONF_OPTS) \ + ) +endef + +# Languages supported by the cross-compiler +GCC_FINAL_CROSS_LANGUAGES-y = c +GCC_FINAL_CROSS_LANGUAGES-$(BR2_INSTALL_LIBSTDCPP) += c++ +GCC_FINAL_CROSS_LANGUAGES-$(BR2_TOOLCHAIN_BUILDROOT_DLANG) += d +GCC_FINAL_CROSS_LANGUAGES-$(BR2_TOOLCHAIN_BUILDROOT_FORTRAN) += fortran +GCC_FINAL_CROSS_LANGUAGES = $(subst $(space),$(comma),$(GCC_FINAL_CROSS_LANGUAGES-y)) + +HOST_GCC_FINAL_CONF_OPTS = \ + $(HOST_GCC_COMMON_CONF_OPTS) \ + --enable-languages=$(GCC_FINAL_CROSS_LANGUAGES) \ + --with-build-time-tools=$(HOST_DIR)/$(GNU_TARGET_NAME)/bin + +# The kernel wants to use the -m4-nofpu option to make sure that it +# doesn't use floating point operations. +ifeq ($(BR2_sh4)$(BR2_sh4eb),y) +HOST_GCC_FINAL_CONF_OPTS += "--with-multilib-list=m4,m4-nofpu" +HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4* +else ifeq ($(BR2_sh4a)$(BR2_sh4aeb),y) +HOST_GCC_FINAL_CONF_OPTS += "--with-multilib-list=m4a,m4a-nofpu" +HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib/!m4* +else +HOST_GCC_FINAL_GCC_LIB_DIR = $(HOST_DIR)/$(GNU_TARGET_NAME)/lib* +endif + +ifeq ($(BR2_GCC_SUPPORTS_LIBCILKRTS),y) + +# libcilkrts does not support v8 +ifeq ($(BR2_sparc),y) +HOST_GCC_FINAL_CONF_OPTS += --disable-libcilkrts +endif + +# Pthreads are required to build libcilkrts +ifeq ($(BR2_PTHREADS_NONE),y) +HOST_GCC_FINAL_CONF_OPTS += --disable-libcilkrts +endif + +ifeq ($(BR2_STATIC_LIBS),y) +# disable libcilkrts as there is no static version +HOST_GCC_FINAL_CONF_OPTS += --disable-libcilkrts +endif + +endif # BR2_GCC_SUPPORTS_LIBCILKRTS + +# Disable shared libs like libstdc++ if we do static since it confuses linking +ifeq ($(BR2_STATIC_LIBS),y) +HOST_GCC_FINAL_CONF_OPTS += --disable-shared +else +HOST_GCC_FINAL_CONF_OPTS += --enable-shared +endif + +ifeq ($(BR2_GCC_ENABLE_OPENMP),y) +HOST_GCC_FINAL_CONF_OPTS += --enable-libgomp +else +HOST_GCC_FINAL_CONF_OPTS += --disable-libgomp +endif + +# End with user-provided options, so that they can override previously +# defined options. +HOST_GCC_FINAL_CONF_OPTS += \ + $(call qstrip,$(BR2_EXTRA_GCC_CONFIG_OPTIONS)) + +HOST_GCC_FINAL_CONF_ENV = \ + $(HOST_GCC_COMMON_CONF_ENV) + +HOST_GCC_FINAL_MAKE_OPTS += $(HOST_GCC_COMMON_MAKE_OPTS) + +# Make sure we have 'cc' +define HOST_GCC_FINAL_CREATE_CC_SYMLINKS + if [ ! -e $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-cc ]; then \ + ln -f $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-gcc \ + $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-cc; \ + fi +endef + +HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_CREATE_CC_SYMLINKS + +HOST_GCC_FINAL_TOOLCHAIN_WRAPPER_ARGS += $(HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS) +HOST_GCC_FINAL_POST_BUILD_HOOKS += TOOLCHAIN_WRAPPER_BUILD +HOST_GCC_FINAL_POST_INSTALL_HOOKS += TOOLCHAIN_WRAPPER_INSTALL +# Note: this must be done after CREATE_CC_SYMLINKS, otherwise the +# -cc symlink to the wrapper is not created. +HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_INSTALL_WRAPPER_AND_SIMPLE_SYMLINKS + +# coldfire is not working without removing these object files from libgcc.a +ifeq ($(BR2_m68k_cf),y) +define HOST_GCC_FINAL_M68K_LIBGCC_FIXUP + find $(STAGING_DIR) -name libgcc.a -print | \ + while read t; do $(GNU_TARGET_NAME)-ar dv "$t" _ctors.o; done +endef +HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_M68K_LIBGCC_FIXUP +endif + +# Cannot use the HOST_GCC_FINAL_USR_LIBS mechanism below, because we want +# libgcc_s to be installed in /lib and not /usr/lib. +define HOST_GCC_FINAL_INSTALL_LIBGCC + -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libgcc_s* \ + $(STAGING_DIR)/lib/ + -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libgcc_s* \ + $(TARGET_DIR)/lib/ +endef + +HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_INSTALL_LIBGCC + +define HOST_GCC_FINAL_INSTALL_LIBATOMIC + -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libatomic* \ + $(STAGING_DIR)/lib/ + -cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/libatomic* \ + $(TARGET_DIR)/lib/ +endef + +HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_INSTALL_LIBATOMIC + +# Handle the installation of libraries in /usr/lib +HOST_GCC_FINAL_USR_LIBS = + +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +HOST_GCC_FINAL_USR_LIBS += libstdc++ +endif + +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_DLANG),y) +HOST_GCC_FINAL_USR_LIBS += libgdruntime libgphobos +endif + +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_FORTRAN),y) +HOST_GCC_FINAL_USR_LIBS += libgfortran +# fortran needs quadmath on x86 and x86_64 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBQUADMATH),y) +HOST_GCC_FINAL_USR_LIBS += libquadmath +endif +endif + +ifeq ($(BR2_GCC_ENABLE_OPENMP),y) +HOST_GCC_FINAL_USR_LIBS += libgomp +endif + +HOST_GCC_FINAL_USR_LIBS += $(call qstrip,$(BR2_TOOLCHAIN_EXTRA_LIBS)) + +ifneq ($(HOST_GCC_FINAL_USR_LIBS),) +define HOST_GCC_FINAL_INSTALL_STATIC_LIBS + for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \ + cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/$${i}.a \ + $(STAGING_DIR)/usr/lib/ ; \ + done +endef + +ifeq ($(BR2_STATIC_LIBS),) +define HOST_GCC_FINAL_INSTALL_SHARED_LIBS + for i in $(HOST_GCC_FINAL_USR_LIBS) ; do \ + cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/$${i}.so* \ + $(STAGING_DIR)/usr/lib/ ; \ + cp -dpf $(HOST_GCC_FINAL_GCC_LIB_DIR)/$${i}.so* \ + $(TARGET_DIR)/usr/lib/ ; \ + done +endef +endif + +define HOST_GCC_FINAL_INSTALL_USR_LIBS + mkdir -p $(TARGET_DIR)/usr/lib + $(HOST_GCC_FINAL_INSTALL_STATIC_LIBS) + $(HOST_GCC_FINAL_INSTALL_SHARED_LIBS) +endef +HOST_GCC_FINAL_POST_INSTALL_HOOKS += HOST_GCC_FINAL_INSTALL_USR_LIBS +endif + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gcc/gcc-initial/gcc-initial.hash b/buildroot-2022.02.1/package/gcc/gcc-initial/gcc-initial.hash similarity index 100% rename from buildroot-2021.05/package/gcc/gcc-initial/gcc-initial.hash rename to buildroot-2022.02.1/package/gcc/gcc-initial/gcc-initial.hash diff --git a/buildroot-2021.05/package/gcc/gcc-initial/gcc-initial.mk b/buildroot-2022.02.1/package/gcc/gcc-initial/gcc-initial.mk similarity index 100% rename from buildroot-2021.05/package/gcc/gcc-initial/gcc-initial.mk rename to buildroot-2022.02.1/package/gcc/gcc-initial/gcc-initial.mk diff --git a/buildroot-2022.02.1/package/gcc/gcc.hash b/buildroot-2022.02.1/package/gcc/gcc.hash new file mode 100644 index 00000000..5655c7a9 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/gcc.hash @@ -0,0 +1,13 @@ +# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-8.4.0/sha512.sum +sha512 6de904f552a02de33b11ef52312bb664396efd7e1ce3bbe37bfad5ef617f133095b3767b4804bc7fe78df335cb53bc83f1ac055baed40979ce4c2c3e46b70280 gcc-8.4.0.tar.xz +# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-9.4.0/sha512.sum +sha512 dfd3500bf21784b8351a522d53463cf362ede66b0bc302edf350bb44e94418497a8b4b797b6af8ca9b2eeb746b3b115d9c3698381b989546e9151b4496415624 gcc-9.4.0.tar.xz +# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-10.3.0/sha512.sum +sha512 2b2dd7453d48a398c29eaebd1422b70341001b8c90a62aee51e83344e7fdd8a8e45f82a4a9165bd7edc76dada912c932f4b6632c5636760fec4c5d7e402b3f86 gcc-10.3.0.tar.xz +# From ftp://gcc.gnu.org/pub/gcc/releases/gcc-11.2.0/sha512.sum +sha512 d53a0a966230895c54f01aea38696f818817b505f1e2bfa65e508753fcd01b2aedb4a61434f41f3a2ddbbd9f41384b96153c684ded3f0fa97c82758d9de5c7cf gcc-11.2.0.tar.xz + +# Locally calculated (fetched from Github) +sha512 b0853e2b1c5998044392023fa653e399e74118c46e616504ac59e1a2cf27620f94434767ce06b6cf4ca3dfb57f81d6eda92752befaf095ea5e564a9181b4659c gcc-arc-2020.09-release.tar.gz +# Locally calculated (fetched from Github) +sha512 2de7cf47333a4092b02d3bb98f4206f14966f1d139a724d09cf3b22f8a43ae0c704f33e6477d6367a03c29b265480dc900169e9d417006c5d46f0ae446b8c6f1 gcc-or1k-musl-5.4.0-20170218.tar.gz diff --git a/buildroot-2022.02.1/package/gcc/gcc.mk b/buildroot-2022.02.1/package/gcc/gcc.mk new file mode 100644 index 00000000..128cf842 --- /dev/null +++ b/buildroot-2022.02.1/package/gcc/gcc.mk @@ -0,0 +1,334 @@ +################################################################################ +# +# Common variables for the gcc-initial and gcc-final packages. +# +################################################################################ + +# +# Version, site and source +# + +GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION)) + +ifeq ($(BR2_GCC_VERSION_ARC),y) +GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION)) +GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz +else +GCC_SITE = $(BR2_GNU_MIRROR:/=)/gcc/gcc-$(GCC_VERSION) +GCC_SOURCE = gcc-$(GCC_VERSION).tar.xz +endif + +# +# Xtensa special hook +# +define HOST_GCC_XTENSA_OVERLAY_EXTRACT + $(call arch-xtensa-overlay-extract,$(@D),gcc) +endef + +# +# Apply patches +# + +# gcc is a special package, not named gcc, but gcc-initial and +# gcc-final, but patches are nonetheless stored in package/gcc in the +# tree, and potentially in BR2_GLOBAL_PATCH_DIR directories as well. +define HOST_GCC_APPLY_PATCHES + for patchdir in \ + package/gcc/$(GCC_VERSION) \ + $(addsuffix /gcc/$(GCC_VERSION),$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ + $(addsuffix /gcc,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) ; do \ + if test -d $${patchdir}; then \ + $(APPLY_PATCHES) $(@D) $${patchdir} \*.patch || exit 1; \ + fi; \ + done + $(HOST_GCC_APPLY_POWERPC_PATCH) +endef + +HOST_GCC_EXCLUDES = \ + libjava/* libgo/* + +# +# Create 'build' directory and configure symlink +# + +define HOST_GCC_CONFIGURE_SYMLINK + mkdir -p $(@D)/build + ln -sf ../configure $(@D)/build/configure +endef + +# +# Common configuration options +# + +HOST_GCC_COMMON_DEPENDENCIES = \ + host-binutils \ + host-gmp \ + host-mpc \ + host-mpfr \ + $(if $(BR2_BINFMT_FLAT),host-elf2flt) + +HOST_GCC_COMMON_CONF_OPTS = \ + --target=$(GNU_TARGET_NAME) \ + --with-sysroot=$(STAGING_DIR) \ + --enable-__cxa_atexit \ + --with-gnu-ld \ + --disable-libssp \ + --disable-multilib \ + --disable-decimal-float \ + --with-gmp=$(HOST_DIR) \ + --with-mpc=$(HOST_DIR) \ + --with-mpfr=$(HOST_DIR) \ + --with-pkgversion="Buildroot $(BR2_VERSION_FULL)" \ + --with-bugurl="http://bugs.buildroot.net/" \ + --without-zstd + +# Don't build documentation. It takes up extra space / build time, +# and sometimes needs specific makeinfo versions to work +HOST_GCC_COMMON_CONF_ENV = \ + MAKEINFO=missing + +GCC_COMMON_TARGET_CFLAGS = $(TARGET_CFLAGS) +GCC_COMMON_TARGET_CXXFLAGS = $(TARGET_CXXFLAGS) + +# used to fix ../../../../libsanitizer/libbacktrace/../../libbacktrace/elf.c:772:21: error: 'st.st_mode' may be used uninitialized in this function [-Werror=maybe-uninitialized] +ifeq ($(BR2_ENABLE_DEBUG),y) +GCC_COMMON_TARGET_CFLAGS += -Wno-error +endif + +# Make sure libgcc & libstdc++ always get built with -matomic on ARC700 +ifeq ($(GCC_TARGET_CPU):$(BR2_ARC_ATOMIC_EXT),arc700:y) +GCC_COMMON_TARGET_CFLAGS += -matomic +GCC_COMMON_TARGET_CXXFLAGS += -matomic +endif + +# Propagate options used for target software building to GCC target libs +HOST_GCC_COMMON_CONF_ENV += CFLAGS_FOR_TARGET="$(GCC_COMMON_TARGET_CFLAGS)" +HOST_GCC_COMMON_CONF_ENV += CXXFLAGS_FOR_TARGET="$(GCC_COMMON_TARGET_CXXFLAGS)" +HOST_GCC_COMMON_CONF_ENV += AR_FOR_TARGET=gcc-ar NM_FOR_TARGET=gcc-nm RANLIB_FOR_TARGET=gcc-ranlib + +# libitm needs sparc V9+ +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +HOST_GCC_COMMON_CONF_OPTS += --disable-libitm +endif + +# libmpx uses secure_getenv and struct _libc_fpstate not present in musl +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_MUSL)$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),yy) +HOST_GCC_COMMON_CONF_OPTS += --disable-libmpx +endif + +# quadmath support requires wchar +ifeq ($(BR2_USE_WCHAR)$(BR2_TOOLCHAIN_HAS_LIBQUADMATH),yy) +HOST_GCC_COMMON_CONF_OPTS += --enable-libquadmath +else +HOST_GCC_COMMON_CONF_OPTS += --disable-libquadmath --disable-libquadmath-support +endif + +# libsanitizer requires wordexp, not in default uClibc config. Also +# doesn't build properly with musl. +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC)$(BR2_TOOLCHAIN_BUILDROOT_MUSL),y) +HOST_GCC_COMMON_CONF_OPTS += --disable-libsanitizer +endif + +# libsanitizer is broken for SPARC +# https://bugs.busybox.net/show_bug.cgi?id=7951 +ifeq ($(BR2_sparc)$(BR2_sparc64),y) +HOST_GCC_COMMON_CONF_OPTS += --disable-libsanitizer +endif + +# The logic in libbacktrace/configure.ac to detect if __sync builtins +# are available assumes they are as soon as target_subdir is not +# empty, i.e when cross-compiling. However, some platforms do not have +# __sync builtins, so help the configure script a bit. +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),) +HOST_GCC_COMMON_CONF_ENV += target_configargs="libbacktrace_cv_sys_sync=no" +endif + +# TLS support is not needed on uClibc/no-thread and +# uClibc/linux-threads, otherwise, for all other situations (glibc, +# musl and uClibc/NPTL), we need it. +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_UCLIBC)$(BR2_PTHREADS)$(BR2_PTHREADS_NONE),yy) +HOST_GCC_COMMON_CONF_OPTS += --disable-tls +else +HOST_GCC_COMMON_CONF_OPTS += --enable-tls +endif + +ifeq ($(BR2_GCC_ENABLE_LTO),y) +HOST_GCC_COMMON_CONF_OPTS += --enable-plugins --enable-lto +endif + +ifeq ($(BR2_PTHREADS_NONE),y) +HOST_GCC_COMMON_CONF_OPTS += \ + --disable-threads \ + --disable-libitm \ + --disable-libatomic +else +HOST_GCC_COMMON_CONF_OPTS += --enable-threads +endif + +# gcc 5 doesn't need cloog any more, see +# https://gcc.gnu.org/gcc-5/changes.html and we don't support graphite +# on GCC 4.9.x, so only isl is needed. +ifeq ($(BR2_GCC_ENABLE_GRAPHITE),y) +HOST_GCC_COMMON_DEPENDENCIES += host-isl +HOST_GCC_COMMON_CONF_OPTS += --with-isl=$(HOST_DIR) +else +HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog +endif + +ifeq ($(BR2_arc),y) +HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison +endif + +ifeq ($(BR2_SOFT_FLOAT),y) +# only mips*-*-*, arm*-*-* and sparc*-*-* accept --with-float +# powerpc seems to be needing it as well +ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_sparc),y) +HOST_GCC_COMMON_CONF_OPTS += --with-float=soft +endif +endif + +# Determine arch/tune/abi/cpu options +ifneq ($(GCC_TARGET_ARCH),) +HOST_GCC_COMMON_CONF_OPTS += --with-arch="$(GCC_TARGET_ARCH)" +endif +ifneq ($(GCC_TARGET_ABI),) +HOST_GCC_COMMON_CONF_OPTS += --with-abi="$(GCC_TARGET_ABI)" +endif +ifeq ($(BR2_TOOLCHAIN_HAS_MNAN_OPTION),y) +ifneq ($(GCC_TARGET_NAN),) +HOST_GCC_COMMON_CONF_OPTS += --with-nan="$(GCC_TARGET_NAN)" +endif +endif +ifneq ($(GCC_TARGET_FP32_MODE),) +HOST_GCC_COMMON_CONF_OPTS += --with-fp-32="$(GCC_TARGET_FP32_MODE)" +endif +ifneq ($(GCC_TARGET_CPU),) +HOST_GCC_COMMON_CONF_OPTS += --with-cpu=$(GCC_TARGET_CPU) +endif + +ifneq ($(GCC_TARGET_FPU),) +HOST_GCC_COMMON_CONF_OPTS += --with-fpu=$(GCC_TARGET_FPU) +endif + +ifneq ($(GCC_TARGET_FLOAT_ABI),) +HOST_GCC_COMMON_CONF_OPTS += --with-float=$(GCC_TARGET_FLOAT_ABI) +endif + +ifneq ($(GCC_TARGET_MODE),) +HOST_GCC_COMMON_CONF_OPTS += --with-mode=$(GCC_TARGET_MODE) +endif + +# Enable proper double/long double for SPE ABI +ifeq ($(BR2_powerpc_SPE),y) +HOST_GCC_COMMON_CONF_OPTS += \ + --enable-obsolete \ + --enable-e500_double \ + --with-long-double-128 +endif + +# Set default to Secure-PLT to prevent run-time +# generation of PLT stubs (supports RELRO and +# SELinux non-exemem capabilities) +ifeq ($(BR2_powerpc)$(BR2_powerpc64),y) +HOST_GCC_COMMON_CONF_OPTS += --enable-secureplt +endif + +# PowerPC64 big endian by default uses the elfv1 ABI, and PowerPC 64 +# little endian by default uses the elfv2 ABI. However, musl has +# decided to use the elfv2 ABI for both, so we force the elfv2 ABI for +# Power64 big endian when the selected C library is musl. +ifeq ($(BR2_TOOLCHAIN_USES_MUSL)$(BR2_powerpc64),yy) +HOST_GCC_COMMON_CONF_OPTS += \ + --with-abi=elfv2 \ + --without-long-double-128 +endif + +# Since glibc >= 2.26, poerpc64le requires double/long double which +# requires at least gcc 6.2. +# See sysdeps/powerpc/powerpc64le/configure.ac +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC)$(BR2_TOOLCHAIN_GCC_AT_LEAST_6)$(BR2_powerpc64le),yyy) +HOST_GCC_COMMON_CONF_OPTS += \ + --with-long-double-128 +endif + +ifeq ($(BR2_s390x),y) +HOST_GCC_COMMON_CONF_OPTS += \ + --with-long-double-128 +endif + +HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS += -DBR_CROSS_PATH_SUFFIX='".br_real"' + +# For gcc-initial, we need to tell gcc that the C library will be +# providing the ssp support, as it can't guess it since the C library +# hasn't been built yet. +# +# For gcc-final, the gcc logic to detect whether SSP support is +# available or not in the C library is not working properly for +# uClibc, so let's be explicit as well. +HOST_GCC_COMMON_MAKE_OPTS = \ + gcc_cv_libc_provides_ssp=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) + +ifeq ($(BR2_CCACHE),y) +HOST_GCC_COMMON_CCACHE_HASH_FILES += $(GCC_DL_DIR)/$(GCC_SOURCE) + +# Cfr. PATCH_BASE_DIRS in .stamp_patched, but we catch both versioned +# and unversioned patches unconditionally. Moreover, to facilitate the +# addition of gcc patches in BR2_GLOBAL_PATCH_DIR, we allow them to be +# stored in a sub-directory called 'gcc' even if it's not technically +# the name of the package. +HOST_GCC_COMMON_CCACHE_HASH_FILES += \ + $(sort $(wildcard \ + package/gcc/$(GCC_VERSION)/*.patch \ + $(addsuffix /$($(PKG)_RAWNAME)/$(GCC_VERSION)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ + $(addsuffix /$($(PKG)_RAWNAME)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ + $(addsuffix /gcc/$(GCC_VERSION)/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) \ + $(addsuffix /gcc/*.patch,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))))) +ifeq ($(BR2_xtensa),y) +HOST_GCC_COMMON_CCACHE_HASH_FILES += $(ARCH_XTENSA_OVERLAY_FILE) +endif + +# _CONF_OPTS contains some references to the absolute path of $(HOST_DIR) +# and a reference to the Buildroot git revision (BR2_VERSION_FULL), +# so substitute those away. +HOST_GCC_COMMON_TOOLCHAIN_WRAPPER_ARGS += -DBR_CCACHE_HASH=\"`\ + printf '%s\n' $(subst $(HOST_DIR),@HOST_DIR@,\ + $(subst --with-pkgversion="Buildroot $(BR2_VERSION_FULL)",,$($(PKG)_CONF_OPTS))) \ + | sha256sum - $(HOST_GCC_COMMON_CCACHE_HASH_FILES) \ + | cut -c -64 | tr -d '\n'`\" +endif # BR2_CCACHE + +# The LTO support in gcc creates wrappers for ar, ranlib and nm which load +# the lto plugin. These wrappers are called *-gcc-ar, *-gcc-ranlib, and +# *-gcc-nm and should be used instead of the real programs when -flto is +# used. However, we should not add the toolchain wrapper for them, and they +# match the *cc-* pattern. Therefore, an additional case is added for *-ar, +# *-ranlib and *-nm. +# According to gfortran manpage, it supports all options supported by gcc, so +# add gfortran to the list of the program called via the Buildroot wrapper. +# Avoid that a .br_real is symlinked a second time. +# Also create -linux- symlinks. +define HOST_GCC_INSTALL_WRAPPER_AND_SIMPLE_SYMLINKS + $(Q)cd $(HOST_DIR)/bin; \ + for i in $(GNU_TARGET_NAME)-*; do \ + case "$$i" in \ + *.br_real) \ + ;; \ + *-ar|*-ranlib|*-nm) \ + ln -snf $$i $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}; \ + ;; \ + *cc|*cc-*|*++|*++-*|*cpp|*-gfortran|*-gdc) \ + rm -f $$i.br_real; \ + mv $$i $$i.br_real; \ + ln -sf toolchain-wrapper $$i; \ + ln -sf toolchain-wrapper $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}; \ + ln -snf $$i.br_real $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}.br_real; \ + ;; \ + *) \ + ln -snf $$i $(ARCH)-linux$${i##$(GNU_TARGET_NAME)}; \ + ;; \ + esac; \ + done + +endef + +include $(sort $(wildcard package/gcc/*/*.mk)) diff --git a/buildroot-2022.02.1/package/gcnano-binaries/Config.in b/buildroot-2022.02.1/package/gcnano-binaries/Config.in new file mode 100644 index 00000000..ade19e21 --- /dev/null +++ b/buildroot-2022.02.1/package/gcnano-binaries/Config.in @@ -0,0 +1,39 @@ +comment "gcnano-binaries needs a Linux kernel to be built" + depends on BR2_arm + depends on !BR2_LINUX_KERNEL + +comment "gcnano-binaries needs a glibc toolchain w/ threads, dynamic library" + depends on BR2_arm + depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_STATIC_LIBS + +config BR2_PACKAGE_GCNANO_BINARIES + bool "gcnano-binaries" + depends on BR2_arm + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_HAS_LIBGBM + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF + select BR2_PACKAGE_HAS_LIBGLES + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_WAYLAND + help + Driver and libaries for stm vivante gcnano gpu. + https://github.com/STMicroelectronics/gcnano-binaries/ + +if BR2_PACKAGE_GCNANO_BINARIES + +config BR2_PACKAGE_PROVIDES_LIBEGL + default "gcnano-binaries" + +config BR2_PACKAGE_PROVIDES_LIBGBM + default "gcnano-binaries" + +config BR2_PACKAGE_PROVIDES_LIBGLES + default "gcnano-binaries" + +endif diff --git a/buildroot-2022.02.1/package/gcnano-binaries/gcnano-binaries.hash b/buildroot-2022.02.1/package/gcnano-binaries/gcnano-binaries.hash new file mode 100644 index 00000000..e3efc82f --- /dev/null +++ b/buildroot-2022.02.1/package/gcnano-binaries/gcnano-binaries.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 afec2ba2f524821452d561b56afd2fc241293ea4a6e8598d1663f58e5d16800f gcnano-binaries-1534c3eaabb5ae545a8f97e95f853531365a13fc.tar.gz +sha256 7d209718473d18f69f75adb7caf9cb5d4b0a31da068756aa011bea617de3dc57 EULA diff --git a/buildroot-2022.02.1/package/gcnano-binaries/gcnano-binaries.mk b/buildroot-2022.02.1/package/gcnano-binaries/gcnano-binaries.mk new file mode 100644 index 00000000..f6adc36d --- /dev/null +++ b/buildroot-2022.02.1/package/gcnano-binaries/gcnano-binaries.mk @@ -0,0 +1,78 @@ +################################################################################ +# +# gcnano-binaries +# +################################################################################ + +GCNANO_BINARIES_LIB_VERSION = 6.4 +GCNANO_BINARIES_LIB_REVISION = 3 +GCNANO_BINARIES_LIB_FULL_VERSION = $(GCNANO_BINARIES_LIB_VERSION).$(GCNANO_BINARIES_LIB_REVISION) +GCNANO_BINARIES_DRIVER_VERSION = $(GCNANO_BINARIES_LIB_FULL_VERSION) +GCNANO_BINARIES_USERLAND_VERSION = $(GCNANO_BINARIES_LIB_FULL_VERSION)-20200902 +GCNANO_BINARIES_VERSION = 1534c3eaabb5ae545a8f97e95f853531365a13fc +GCNANO_BINARIES_SITE = $(call github,STMicroelectronics,gcnano-binaries,$(GCNANO_BINARIES_VERSION)) + +GCNANO_BINARIES_LICENSE = MIT, Vivante End User Software License Terms +GCNANO_BINARIES_LICENSE_FILES = EULA +GCNANO_BINARIES_REDISTRIBUTE = NO + +GCNANO_BINARIES_DEPENDENCIES = linux wayland libdrm + +GCNANO_BINARIES_INSTALL_STAGING = YES + +GCNANO_BINARIES_PROVIDES = libegl libgles libgbm + +# The Github repository doesn't contain the source code as-is: it +# contains a tarball with the kernel driver source code, and a +# self-extractible binary for the user-space parts. So we extract both +# below, and also extract the EULA text from the self-extractible binary +define GCNANO_BINARIES_EXTRACT_HELPER + tar --strip-components=1 -xJf $(@D)/gcnano-driver-$(GCNANO_BINARIES_DRIVER_VERSION).tar.xz -C $(@D) + awk 'BEGIN { start = 0; } \ + /^EOEULA/ { start = 0; } \ + { if (start) print; } \ + /< $(@D)/EULA + cd $(@D) && sh gcnano-userland-multi-$(GCNANO_BINARIES_USERLAND_VERSION).bin --auto-accept +endef + +GCNANO_BINARIES_POST_EXTRACT_HOOKS += GCNANO_BINARIES_EXTRACT_HELPER + +GCNANO_BINARIES_MODULE_MAKE_OPTS = \ + KERNEL_DIR=$(LINUX_DIR) \ + SOC_PLATFORM=st-st \ + AQROOT=$(@D) \ + DEBUG=0 + +GCNANO_BINARIES_LIBRARIES = \ + libgbm_viv libEGL libGAL libgbm libGLESv1_CM \ + libGLESv2 libGLSLC libOpenVG libVSC + +GCNANO_BINARIES_USERLAND_SUBDIR = gcnano-userland-multi-$(GCNANO_BINARIES_USERLAND_VERSION) + +GCNANO_BINARIES_PKG_CONFIGS = egl gbm glesv1_cm glesv2 vg + +define GCNANO_BINARIES_INSTALL + $(foreach lib,$(GCNANO_BINARIES_LIBRARIES), \ + $(INSTALL) -D -m 0755 $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/lib/$(lib).$(GCNANO_BINARIES_LIB_VERSION).multi.release.so \ + $(1)/usr/lib/$(lib).$(GCNANO_BINARIES_LIB_VERSION).multi.release.so ; \ + cp -a $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/lib/$(lib).so* $(1)/usr/lib + ) + mkdir -p $(1)/usr/include + cp -a $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/include/* $(1)/usr/include/ + $(foreach pkgconfig,$(GCNANO_BINARIES_PKG_CONFIGS), \ + $(INSTALL) -D -m 0644 $(@D)/$(GCNANO_BINARIES_USERLAND_SUBDIR)/usr/lib/pkgconfig/$(pkgconfig).pc \ + $(1)/usr/lib/pkgconfig/$(pkgconfig).pc + ) +endef + +define GCNANO_BINARIES_INSTALL_TARGET_CMDS + $(call GCNANO_BINARIES_INSTALL,$(TARGET_DIR)) +endef + +define GCNANO_BINARIES_INSTALL_STAGING_CMDS + $(call GCNANO_BINARIES_INSTALL,$(STAGING_DIR)) +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/gconf/Config.in b/buildroot-2022.02.1/package/gconf/Config.in similarity index 100% rename from buildroot-2021.05/package/gconf/Config.in rename to buildroot-2022.02.1/package/gconf/Config.in diff --git a/buildroot-2021.05/package/gconf/gconf.hash b/buildroot-2022.02.1/package/gconf/gconf.hash similarity index 100% rename from buildroot-2021.05/package/gconf/gconf.hash rename to buildroot-2022.02.1/package/gconf/gconf.hash diff --git a/buildroot-2021.05/package/gconf/gconf.mk b/buildroot-2022.02.1/package/gconf/gconf.mk similarity index 100% rename from buildroot-2021.05/package/gconf/gconf.mk rename to buildroot-2022.02.1/package/gconf/gconf.mk diff --git a/buildroot-2022.02.1/package/gcr/0001-meson-Fix-unknown-kw-argument-in-gnome.generate_gir.patch b/buildroot-2022.02.1/package/gcr/0001-meson-Fix-unknown-kw-argument-in-gnome.generate_gir.patch new file mode 100644 index 00000000..a1d4e1b4 --- /dev/null +++ b/buildroot-2022.02.1/package/gcr/0001-meson-Fix-unknown-kw-argument-in-gnome.generate_gir.patch @@ -0,0 +1,64 @@ +From b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8 Mon Sep 17 00:00:00 2001 +From: Jakub Jirutka +Date: Wed, 12 Jan 2022 00:24:20 +0100 +Subject: [PATCH] meson: Fix unknown kw argument in gnome.generate_gir + +This argument has been removed in Meson 0.61.0: + + gck/meson.build:130:2: ERROR: gnome.generate_gir got unknown keyword arguments "packages" + +https://github.com/mesonbuild/meson/commit/f8fc5cb860465718fe7c79a1bf1fe00659f138de: + +> The packages argument to gnome.generate_gir was allowed, but never did anything, so stop passing it. + +Fixes #89 + +[aperez@igalia.com: backport from upstream] +Signed-off-by: Adrian Perez de Castro +[yann.morin.1998@free.fr: make it an actual backport] +Signed-off-by: Yann E. MORIN +--- + gck/meson.build | 1 - + gcr/meson.build | 1 - + ui/meson.build | 1 - + 3 files changed, 3 deletions(-) + +diff --git a/gck/meson.build b/gck/meson.build +index 756b486..a21a1e9 100644 +--- a/gck/meson.build ++++ b/gck/meson.build +@@ -131,7 +131,6 @@ if get_option('introspection') + sources: gck_gir_sources, + namespace: 'Gck', + nsversion: '@0@'.format(gck_major_version), +- packages: gck_deps, + export_packages: 'gck-@0@'.format(gck_major_version), + includes: [ 'GObject-2.0', 'Gio-2.0' ], + header: 'gck/gck.h', +diff --git a/gcr/meson.build b/gcr/meson.build +index 2233a44..c83641b 100644 +--- a/gcr/meson.build ++++ b/gcr/meson.build +@@ -190,7 +190,6 @@ if get_option('introspection') + sources: [ gcr_base_public_sources, gcr_base_headers ], + namespace: 'Gcr', + nsversion: '@0@'.format(gcr_major_version), +- packages: gcr_base_deps, + export_packages: 'gcr-base-@0@'.format(gcr_major_version), + includes: [ + 'GObject-2.0', +diff --git a/ui/meson.build b/ui/meson.build +index e656ea2..32ee057 100644 +--- a/ui/meson.build ++++ b/ui/meson.build +@@ -152,7 +152,6 @@ if get_option('introspection') + export_packages: 'gcr-ui-@0@'.format(gcr_major_version), + identifier_prefix: 'Gcr', + symbol_prefix: 'gcr', +- packages: gcr_ui_deps, + includes: [ + 'GObject-2.0', + 'Gio-2.0', +-- +2.25.1 + diff --git a/buildroot-2021.05/package/gcr/Config.in b/buildroot-2022.02.1/package/gcr/Config.in similarity index 100% rename from buildroot-2021.05/package/gcr/Config.in rename to buildroot-2022.02.1/package/gcr/Config.in diff --git a/buildroot-2022.02.1/package/gcr/gcr.hash b/buildroot-2022.02.1/package/gcr/gcr.hash new file mode 100644 index 00000000..e6074a99 --- /dev/null +++ b/buildroot-2022.02.1/package/gcr/gcr.hash @@ -0,0 +1,3 @@ +# From http://ftp.acc.umu.se/pub/gnome/sources/gcr/3.40/gcr-3.40.0.sha256sum +sha256 b9d3645a5fd953a54285cc64d4fc046736463dbd4dcc25caf5c7b59bed3027f5 gcr-3.40.0.tar.xz +sha256 94b03f1a60a7fd5007149530626a895a6ef5a8b9342abfd56860c5f3956f5d23 COPYING diff --git a/buildroot-2022.02.1/package/gcr/gcr.mk b/buildroot-2022.02.1/package/gcr/gcr.mk new file mode 100644 index 00000000..ef253b4e --- /dev/null +++ b/buildroot-2022.02.1/package/gcr/gcr.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# gcr +# +################################################################################ + +GCR_VERSION_MAJOR = 3.40 +GCR_VERSION = $(GCR_VERSION_MAJOR).0 +GCR_SITE = http://ftp.acc.umu.se/pub/gnome/sources/gcr/$(GCR_VERSION_MAJOR) +GCR_SOURCE = gcr-$(GCR_VERSION).tar.xz +GCR_DEPENDENCIES = \ + host-pkgconf \ + libgcrypt \ + libglib2 \ + p11-kit \ + $(TARGET_NLS_DEPENDENCIES) +GCR_INSTALL_STAGING = YES +GCR_CONF_OPTS = \ + -Dgpg_path=/usr/bin/gpg2 \ + -Dgtk_doc=false +# Even though COPYING is v2 the code states v2.1+ +GCR_LICENSE = LGPL-2.1+ +GCR_LICENSE_FILES = COPYING +GCR_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GCR_DEPENDENCIES += gobject-introspection host-libxslt host-vala +GCR_CONF_OPTS += -Dintrospection=true +else +GCR_CONF_OPTS += -Dintrospection=false +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) +GCR_DEPENDENCIES += libgtk3 +GCR_CONF_OPTS += -Dgtk=true +else ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y) +GCR_DEPENDENCIES += libgtk3 +GCR_CONF_OPTS += -Dgtk=true +else +GCR_CONF_OPTS += -Dgtk=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gd/Config.in b/buildroot-2022.02.1/package/gd/Config.in similarity index 100% rename from buildroot-2021.05/package/gd/Config.in rename to buildroot-2022.02.1/package/gd/Config.in diff --git a/buildroot-2022.02.1/package/gd/gd.hash b/buildroot-2022.02.1/package/gd/gd.hash new file mode 100644 index 00000000..d0b1e976 --- /dev/null +++ b/buildroot-2022.02.1/package/gd/gd.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 3fe822ece20796060af63b7c60acb151e5844204d289da0ce08f8fdf131e5a61 libgd-2.3.3.tar.xz +sha256 005f4b6b0141d1bd11d371bbf7d4f67947f85a4906b7f5465f942204cf918ba3 COPYING diff --git a/buildroot-2022.02.1/package/gd/gd.mk b/buildroot-2022.02.1/package/gd/gd.mk new file mode 100644 index 00000000..55c12e69 --- /dev/null +++ b/buildroot-2022.02.1/package/gd/gd.mk @@ -0,0 +1,96 @@ +################################################################################ +# +# gd +# +################################################################################ + +GD_VERSION = 2.3.3 +GD_SOURCE = libgd-$(GD_VERSION).tar.xz +GD_SITE = https://github.com/libgd/libgd/releases/download/gd-$(GD_VERSION) +GD_INSTALL_STAGING = YES +GD_LICENSE = GD license +GD_LICENSE_FILES = COPYING +GD_CPE_ID_VENDOR = libgd +GD_CPE_ID_PRODUCT = libgd +GD_CONF_OPTS = --without-x --disable-rpath --disable-werror +GD_DEPENDENCIES = host-pkgconf + +# gd forgets to link utilities with -pthread even though it uses +# pthreads, causing linking errors with static linking +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +GD_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread" +endif + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +GD_DEPENDENCIES += fontconfig +GD_CONF_OPTS += --with-fontconfig +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +GD_DEPENDENCIES += freetype +GD_CONF_OPTS += --with-freetype=$(STAGING_DIR)/usr +else +GD_CONF_OPTS += --without-freetype +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +GD_DEPENDENCIES += libiconv +# not strictly needed for gd, but ensures -liconv ends up in gdlib.pc +GD_CONF_ENV += LIBS_PRIVATES="-liconv" +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +GD_DEPENDENCIES += jpeg +GD_CONF_OPTS += --with-jpeg +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +GD_DEPENDENCIES += libpng +GD_CONF_OPTS += --with-png +else +GD_CONF_OPTS += --without-png +endif + +ifeq ($(BR2_PACKAGE_WEBP),y) +GD_DEPENDENCIES += webp +GD_CONF_OPTS += --with-webp +else +GD_CONF_OPTS += --without-webp +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +GD_DEPENDENCIES += tiff +GD_CONF_OPTS += --with-tiff +else +GD_CONF_OPTS += --without-tiff +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y) +GD_DEPENDENCIES += xlib_libXpm +GD_CONF_OPTS += --with-xpm +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +GD_DEPENDENCIES += zlib +endif + +GD_TOOLS_$(BR2_PACKAGE_GD_ANNOTATE) += annotate +GD_TOOLS_$(BR2_PACKAGE_GD_BDFTOGD) += bdftogd +GD_TOOLS_$(BR2_PACKAGE_GD_GD2COPYPAL) += gd2copypal +GD_TOOLS_$(BR2_PACKAGE_GD_GD2TOGIF) += gd2togif +GD_TOOLS_$(BR2_PACKAGE_GD_GD2TOPNG) += gd2topng +GD_TOOLS_$(BR2_PACKAGE_GD_GDCMPGIF) += gdcmpgif +GD_TOOLS_$(BR2_PACKAGE_GD_GDPARTTOPNG) += gdparttopng +GD_TOOLS_$(BR2_PACKAGE_GD_GDTOPNG) += gdtopng +GD_TOOLS_$(BR2_PACKAGE_GD_GIFTOGD2) += giftogd2 +GD_TOOLS_$(BR2_PACKAGE_GD_PNGTOGD) += pngtogd +GD_TOOLS_$(BR2_PACKAGE_GD_PNGTOGD2) += pngtogd2 +GD_TOOLS_$(BR2_PACKAGE_GD_WEBPNG) += webpng + +define GD_REMOVE_TOOLS + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(GD_TOOLS_)) +endef + +GD_POST_INSTALL_TARGET_HOOKS += GD_REMOVE_TOOLS + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gdb/10.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/buildroot-2022.02.1/package/gdb/10.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch similarity index 100% rename from buildroot-2021.05/package/gdb/10.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch rename to buildroot-2022.02.1/package/gdb/10.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch diff --git a/buildroot-2021.05/package/gdb/10.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch b/buildroot-2022.02.1/package/gdb/10.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch similarity index 100% rename from buildroot-2021.05/package/gdb/10.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch rename to buildroot-2022.02.1/package/gdb/10.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch diff --git a/buildroot-2021.05/package/gdb/10.1/0003-use-asm-sgidefs.h.patch b/buildroot-2022.02.1/package/gdb/10.2/0003-use-asm-sgidefs.h.patch similarity index 100% rename from buildroot-2021.05/package/gdb/10.1/0003-use-asm-sgidefs.h.patch rename to buildroot-2022.02.1/package/gdb/10.2/0003-use-asm-sgidefs.h.patch diff --git a/buildroot-2021.05/package/gdb/10.1/0004-gdbserver-fix-build-for-m68k.patch b/buildroot-2022.02.1/package/gdb/10.2/0004-gdbserver-fix-build-for-m68k.patch similarity index 100% rename from buildroot-2021.05/package/gdb/10.1/0004-gdbserver-fix-build-for-m68k.patch rename to buildroot-2022.02.1/package/gdb/10.2/0004-gdbserver-fix-build-for-m68k.patch diff --git a/buildroot-2021.05/package/gdb/10.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch b/buildroot-2022.02.1/package/gdb/10.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch similarity index 100% rename from buildroot-2021.05/package/gdb/10.1/0005-nat-fork-inferior-include-linux-ptrace.h.patch rename to buildroot-2022.02.1/package/gdb/10.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch diff --git a/buildroot-2022.02.1/package/gdb/10.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch b/buildroot-2022.02.1/package/gdb/10.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch new file mode 100644 index 00000000..4b212e2d --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/10.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch @@ -0,0 +1,39 @@ +From bb894a9cfb1c3cf0e0a174c496ad848f589ee7da Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Sat, 6 Nov 2021 10:06:25 +0100 +Subject: [PATCH] Fix getrandom compile for uclibc < v1.0.35 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- fix getrandom compile for uclibc < v1.0.35, add missing stddef.h + include (fixed in uclibc since v1.0.35, see [1]) + +Fixes: + + .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name ‘size_t’ + 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) + | ^~~~~~ + +[1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=00972c02c2b6e0a95d5def4a71bdfb188e091782t + +Signed-off-by: Peter Seiderer +--- + gnulib/import/getrandom.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gnulib/import/getrandom.c b/gnulib/import/getrandom.c +index 030a78b..7b24350 100644 +--- a/gnulib/import/getrandom.c ++++ b/gnulib/import/getrandom.c +@@ -19,6 +19,7 @@ + + #include + ++#include + #include + + #include +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/gdb/10.2/0007-fix-musl-build-on-riscv.patch b/buildroot-2022.02.1/package/gdb/10.2/0007-fix-musl-build-on-riscv.patch new file mode 100644 index 00000000..34ab08a9 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/10.2/0007-fix-musl-build-on-riscv.patch @@ -0,0 +1,60 @@ +From c3fdbc0a24c83246f951ba79c7167547da979ae5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 10 Nov 2021 23:14:54 +0100 +Subject: [PATCH] fix musl build on riscv + +Fix the following build failure raised with musl: + +../../gdbserver/linux-riscv-low.cc: In function 'void riscv_fill_fpregset(regcache*, void*)': +../../gdbserver/linux-riscv-low.cc:140:19: error: 'ELF_NFPREG' was not declared in this scope; did you mean 'ELF_NGREG'? + 140 | for (i = 0; i < ELF_NFPREG - 1; i++, regbuf += flen) + | ^~~~~~~~~~ + | ELF_NGREG + +musl fixed the issue with +https://git.musl-libc.org/cgit/musl/commit/?id=e5d2823631bbfebacf48e1a34ed28f28d7cb2570 + +Fixes: + - http://autobuild.buildroot.org/results/16b19198980ce9c81a618b3f6e8dc9fe28247a28 + +Signed-off-by: Fabrice Fontaine +--- + gdb/nat/riscv-linux-tdesc.c | 5 +++++ + gdbserver/linux-riscv-low.cc | 5 +++++ + 2 files changed, 10 insertions(+) + +diff --git a/gdb/nat/riscv-linux-tdesc.c b/gdb/nat/riscv-linux-tdesc.c +index 837b1707e0f..667c013006a 100644 +--- a/gdb/nat/riscv-linux-tdesc.c ++++ b/gdb/nat/riscv-linux-tdesc.c +@@ -31,6 +31,11 @@ + # define NFPREG 33 + #endif + ++/* Work around musl breakage since version 1.1.24. */ ++#ifndef ELF_NFPREG ++# define ELF_NFPREG 33 ++#endif ++ + /* See nat/riscv-linux-tdesc.h. */ + + struct riscv_gdbarch_features +diff --git a/gdbserver/linux-riscv-low.cc b/gdbserver/linux-riscv-low.cc +index 8bf97ea4aa3..1142dbc7b16 100644 +--- a/gdbserver/linux-riscv-low.cc ++++ b/gdbserver/linux-riscv-low.cc +@@ -30,6 +30,11 @@ + # define NFPREG 33 + #endif + ++/* Work around musl breakage since version 1.1.24. */ ++#ifndef ELF_NFPREG ++# define ELF_NFPREG 33 ++#endif ++ + /* Linux target op definitions for the RISC-V architecture. */ + + class riscv_target : public linux_process_target +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/gdb/10.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch b/buildroot-2022.02.1/package/gdb/10.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch new file mode 100644 index 00000000..3d7534a4 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/10.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch @@ -0,0 +1,38 @@ +From c098500aee945ee7a3021649eb0a2655b004103c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 18 Nov 2021 22:52:08 +0100 +Subject: [PATCH] gdbserver/Makefile.in: fix NLS build + +Fix the following build failure raised since gdb version 10.1 and +https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=9a665d62266e75f0519f3a663784c458885b5c63: + + CXXLD libinproctrace.so +/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: gdbsupport/tdesc-ipa.o: in function `print_xml_feature::visit(tdesc_type_builtin const*)': +/home/buildroot/autobuild/instance-2/output-1/build/gdb-10.2/build/gdbserver/../../gdbserver/../gdbsupport/tdesc.cc:310: undefined reference to `libintl_gettext' + +Fixes: + - http://autobuild.buildroot.org/results/faacc874fe9d32b74cb3d3dea988ef661cb0e3d0 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://sourceware.org/pipermail/gdb-patches/2021-November/183580.html] +--- + gdbserver/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in +index 71c3c4ad959..e69fbc4dae4 100644 +--- a/gdbserver/Makefile.in ++++ b/gdbserver/Makefile.in +@@ -383,7 +383,7 @@ $(IPA_LIB): $(sort $(IPA_OBJS)) ${CDEPS} + $(SILENCE) rm -f $(IPA_LIB) + $(ECHO_CXXLD) $(CC_LD) -shared -fPIC -Wl,--soname=$(IPA_LIB) \ + -Wl,--no-undefined $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) \ +- -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread ++ -o $(IPA_LIB) ${IPA_OBJS} -ldl -pthread $(INTL) + + # Put the proper machine-specific files first, so M-. on a machine + # specific routine gets the one for the correct machine. +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/gdb/11.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/buildroot-2022.02.1/package/gdb/11.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch new file mode 100644 index 00000000..9369a14d --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/11.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch @@ -0,0 +1,55 @@ +From 64b8ab56118d2fea027adfb7ebbc01668b29528e Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 6 Aug 2016 17:32:50 -0700 +Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +Signed-off-by: Thomas Petazzoni +[Rebase on gdb 8.3] +Signed-off-by: Romain Naour +--- + gdb/nat/ppc-linux.h | 6 ++++++ + gdbserver/linux-ppc-low.cc | 6 ++++++ + 2 files changed, 12 insertions(+) + +diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h +index d937a65b69c..1fd54b4a0e0 100644 +--- a/gdb/nat/ppc-linux.h ++++ b/gdb/nat/ppc-linux.h +@@ -18,7 +18,13 @@ + #ifndef NAT_PPC_LINUX_H + #define NAT_PPC_LINUX_H + ++#if !defined(__GLIBC__) ++# define pt_regs uapi_pt_regs ++#endif + #include ++#if !defined(__GLIBC__) ++# undef pt_regs ++#endif + #include + + /* This sometimes isn't defined. */ +diff --git a/gdbserver/linux-ppc-low.cc b/gdbserver/linux-ppc-low.cc +index 337d555aee7..5d518f37268 100644 +--- a/gdbserver/linux-ppc-low.cc ++++ b/gdbserver/linux-ppc-low.cc +@@ -23,7 +23,13 @@ + #include "elf/common.h" + #include + #include ++#if !defined(__GLIBC__) ++# define pt_regs uapi_pt_regs ++#endif + #include ++#if !defined(__GLIBC__) ++# undef pt_regs ++#endif + + #include "arch/ppc-linux-common.h" + #include "arch/ppc-linux-tdesc.h" +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/gdb/11.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch b/buildroot-2022.02.1/package/gdb/11.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch new file mode 100644 index 00000000..2f96d298 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/11.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch @@ -0,0 +1,43 @@ +From d205f398e1e36f9673f50f368a3f29fd1dfaa794 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 3 Jun 2017 21:23:52 +0200 +Subject: [PATCH] sh/ptrace: Define pt_{dsp,}regs uapi_pt_{dsp,}regs on !GLIBC + systems + +Fixes a pt_{dsp,}regs redefinition when building with the musl C library +on SuperH. + +Inspired by +http://git.yoctoproject.org/clean/cgit.cgi/poky/plain/meta/recipes-devtools/gdb/gdb/0004-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch, +adapted for SuperH. + +Signed-off-by: Thomas Petazzoni +[Rebase on gdb 8.0] +Signed-off-by: Romain Naour +--- + gdbserver/linux-sh-low.cc | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/gdbserver/linux-sh-low.cc b/gdbserver/linux-sh-low.cc +index a6d3fc60047..b83cce6b9fe 100644 +--- a/gdbserver/linux-sh-low.cc ++++ b/gdbserver/linux-sh-low.cc +@@ -76,7 +76,15 @@ extern const struct target_desc *tdesc_sh; + #include + #endif + ++#if !defined(__GLIBC__) ++# define pt_regs uapi_pt_regs ++# define pt_dspregs uapi_pt_dspregs ++#endif + #include ++#if !defined(__GLIBC__) ++# undef pt_regs ++# undef pt_dspregs ++#endif + + #define sh_num_regs 41 + +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/gdb/11.2/0003-use-asm-sgidefs.h.patch b/buildroot-2022.02.1/package/gdb/11.2/0003-use-asm-sgidefs.h.patch new file mode 100644 index 00000000..e04ebd1d --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/11.2/0003-use-asm-sgidefs.h.patch @@ -0,0 +1,40 @@ +From 65acc8800dba7e10da882871d4648241805c47ce Mon Sep 17 00:00:00 2001 +From: Andre McCurdy +Date: Sat, 30 Apr 2016 15:29:06 -0700 +Subject: [PATCH] use + +Build fix for MIPS with musl libc + +The MIPS specific header is provided by glibc and uclibc +but not by musl. Regardless of the libc, the kernel headers provide + which provides the same definitions, so use that +instead. + +Upstream-Status: Pending + +[Vincent: +Taken from: https://sourceware.org/bugzilla/show_bug.cgi?id=21070] + +Signed-off-by: Andre McCurdy +Signed-off-by: Khem Raj +Signed-off-by: Vicente Olivert Riera +--- + gdb/mips-linux-nat.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c +index 38ff461a35b..b6cf194b2bf 100644 +--- a/gdb/mips-linux-nat.c ++++ b/gdb/mips-linux-nat.c +@@ -31,7 +31,7 @@ + #include "gdb_proc_service.h" + #include "gregset.h" + +-#include ++#include + #include "nat/gdb_ptrace.h" + #include + #include "inf-ptrace.h" +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/gdb/11.2/0004-gdbserver-fix-build-for-m68k.patch b/buildroot-2022.02.1/package/gdb/11.2/0004-gdbserver-fix-build-for-m68k.patch new file mode 100644 index 00000000..846f7ed2 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/11.2/0004-gdbserver-fix-build-for-m68k.patch @@ -0,0 +1,63 @@ +From 90ebe548922538b854de52e8b687384f44360984 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 22 Jun 2018 22:40:26 +0200 +Subject: [PATCH] gdbserver: fix build for m68k +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +As for strace [1], when is included after , +the build fails on m68k with the following diagnostics: + +In file included from ./../nat/linux-ptrace.h:28:0, + from linux-low.h:27, + from linux-m68k-low.c:20: +[...]/usr/include/sys/reg.h:26:3: error: expected identifier before numeric constant + PT_D1 = 0, + ^ +[...]usr/include/sys/reg.h:26:3: error: expected « } » before numeric constant +[...]usr/include/sys/reg.h:26:3: error: expected unqualified-id before numeric constant +In file included from linux-m68k-low.c:27:0: +[...]usr/include/sys/reg.h:99:1: error: expected declaration before « } » token + }; + ^ + +Fix this by moving on top of "linux-low.h". + +[1] https://github.com/strace/strace/commit/6ebf6c4f9e5ebca123a5b5f24afe67cf0473cf92 + +Signed-off-by: Romain Naour +--- + gdbserver/linux-m68k-low.cc | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/gdbserver/linux-m68k-low.cc b/gdbserver/linux-m68k-low.cc +index 838ba353b0b..36679682b9a 100644 +--- a/gdbserver/linux-m68k-low.cc ++++ b/gdbserver/linux-m68k-low.cc +@@ -17,6 +17,11 @@ + along with this program. If not, see . */ + + #include "server.h" ++ ++#ifdef HAVE_SYS_REG_H ++#include ++#endif ++ + #include "linux-low.h" + + /* Linux target op definitions for the m68k architecture. */ +@@ -80,10 +85,6 @@ m68k_target::low_decr_pc_after_break () + void init_registers_m68k (void); + extern const struct target_desc *tdesc_m68k; + +-#ifdef HAVE_SYS_REG_H +-#include +-#endif +- + #define m68k_num_regs 29 + #define m68k_num_gregs 18 + +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/gdb/11.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch b/buildroot-2022.02.1/package/gdb/11.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch new file mode 100644 index 00000000..33dce4d9 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/11.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch @@ -0,0 +1,53 @@ +From c8454711eca2e79437e17ed1e1e68b48b4c8d927 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sun, 24 Jun 2018 23:33:55 +0200 +Subject: [PATCH] nat/fork-inferior: include linux-ptrace.h + +To decide whether fork() or vfork() should be used, fork-inferior.c +uses the following test: + + #if !(defined(__UCLIBC__) && defined(HAS_NOMMU)) + +However, HAS_NOMMU is never defined, because it gets defined in +linux-ptrace.h, which is not included by fork-inferior.c. Due to this, +gdbserver fails to build on noMMU architectures. This commit fixes +that by simply including linux-ptrace.h. + +This bug was introduced by commit +2090129c36c7e582943b7d300968d19b46160d84 ("Share fork_inferior et al +with gdbserver"). Indeed, the same fork()/vfork() selection was done, +but in another file where linux-ptrace.h was included. + +Fixes the following build issue: + +../nat/fork-inferior.c: In function 'pid_t fork_inferior(const char*, const string&, char**, void (*)(), void (*)(int), void (*)(), const char*, void (*)(const char*, char* const*, char* const*))': +../nat/fork-inferior.c:376:11: error: 'fork' was not declared in this scope + pid = fork (); + ^~~~ +../nat/fork-inferior.c:376:11: note: suggested alternative: 'vfork' + pid = fork (); + ^~~~ + vfork + +Signed-off-by: Thomas Petazzoni +[Romain: rebase on gdb 8.3] +Signed-off-by: Romain Naour +--- + gdb/nat/fork-inferior.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gdb/nat/fork-inferior.c b/gdb/nat/fork-inferior.c +index 7ba0126871d..53e1ec72f09 100644 +--- a/gdb/nat/fork-inferior.c ++++ b/gdb/nat/fork-inferior.c +@@ -27,6 +27,7 @@ + #include "gdbsupport/pathstuff.h" + #include "gdbsupport/signals-state-save-restore.h" + #include "gdbsupport/gdb_tilde_expand.h" ++#include "linux-ptrace.h" + #include + + extern char **environ; +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/gdb/11.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch b/buildroot-2022.02.1/package/gdb/11.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch new file mode 100644 index 00000000..b02d63fc --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/11.2/0006-Fix-getrandom-compile-for-uclibc-v1.0.35.patch @@ -0,0 +1,39 @@ +From 879008ef9a48aa1363671f5c1736b49f30c5a379 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Sat, 6 Nov 2021 10:06:25 +0100 +Subject: [PATCH] Fix getrandom compile for uclibc < v1.0.35 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- fix getrandom compile for uclibc < v1.0.35, add missing stddef.h + include (fixed in uclibc since v1.0.35, see [1]) + +Fixes: + + .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name ‘size_t’ + 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) + | ^~~~~~ + +[1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=00972c02c2b6e0a95d5def4a71bdfb188e091782t + +Signed-off-by: Peter Seiderer +--- + gnulib/import/getrandom.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gnulib/import/getrandom.c b/gnulib/import/getrandom.c +index 41212fb..0ad3f96 100644 +--- a/gnulib/import/getrandom.c ++++ b/gnulib/import/getrandom.c +@@ -19,6 +19,7 @@ + + #include + ++#include + #include + + #include +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/gdb/11.2/0007-fix-musl-build-on-riscv.patch b/buildroot-2022.02.1/package/gdb/11.2/0007-fix-musl-build-on-riscv.patch new file mode 100644 index 00000000..34ab08a9 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/11.2/0007-fix-musl-build-on-riscv.patch @@ -0,0 +1,60 @@ +From c3fdbc0a24c83246f951ba79c7167547da979ae5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 10 Nov 2021 23:14:54 +0100 +Subject: [PATCH] fix musl build on riscv + +Fix the following build failure raised with musl: + +../../gdbserver/linux-riscv-low.cc: In function 'void riscv_fill_fpregset(regcache*, void*)': +../../gdbserver/linux-riscv-low.cc:140:19: error: 'ELF_NFPREG' was not declared in this scope; did you mean 'ELF_NGREG'? + 140 | for (i = 0; i < ELF_NFPREG - 1; i++, regbuf += flen) + | ^~~~~~~~~~ + | ELF_NGREG + +musl fixed the issue with +https://git.musl-libc.org/cgit/musl/commit/?id=e5d2823631bbfebacf48e1a34ed28f28d7cb2570 + +Fixes: + - http://autobuild.buildroot.org/results/16b19198980ce9c81a618b3f6e8dc9fe28247a28 + +Signed-off-by: Fabrice Fontaine +--- + gdb/nat/riscv-linux-tdesc.c | 5 +++++ + gdbserver/linux-riscv-low.cc | 5 +++++ + 2 files changed, 10 insertions(+) + +diff --git a/gdb/nat/riscv-linux-tdesc.c b/gdb/nat/riscv-linux-tdesc.c +index 837b1707e0f..667c013006a 100644 +--- a/gdb/nat/riscv-linux-tdesc.c ++++ b/gdb/nat/riscv-linux-tdesc.c +@@ -31,6 +31,11 @@ + # define NFPREG 33 + #endif + ++/* Work around musl breakage since version 1.1.24. */ ++#ifndef ELF_NFPREG ++# define ELF_NFPREG 33 ++#endif ++ + /* See nat/riscv-linux-tdesc.h. */ + + struct riscv_gdbarch_features +diff --git a/gdbserver/linux-riscv-low.cc b/gdbserver/linux-riscv-low.cc +index 8bf97ea4aa3..1142dbc7b16 100644 +--- a/gdbserver/linux-riscv-low.cc ++++ b/gdbserver/linux-riscv-low.cc +@@ -30,6 +30,11 @@ + # define NFPREG 33 + #endif + ++/* Work around musl breakage since version 1.1.24. */ ++#ifndef ELF_NFPREG ++# define ELF_NFPREG 33 ++#endif ++ + /* Linux target op definitions for the RISC-V architecture. */ + + class riscv_target : public linux_process_target +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/gdb/11.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch b/buildroot-2022.02.1/package/gdb/11.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch new file mode 100644 index 00000000..903dc61d --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/11.2/0008-gdbserver-Makefile.in-fix-NLS-build.patch @@ -0,0 +1,38 @@ +From c098500aee945ee7a3021649eb0a2655b004103c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 18 Nov 2021 22:52:08 +0100 +Subject: [PATCH] gdbserver/Makefile.in: fix NLS build + +Fix the following build failure raised since gdb version 10.1 and +https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=9a665d62266e75f0519f3a663784c458885b5c63: + + CXXLD libinproctrace.so +/home/buildroot/autobuild/instance-2/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/9.3.0/../../../../i586-buildroot-linux-musl/bin/ld: gdbsupport/tdesc-ipa.o: in function `print_xml_feature::visit(tdesc_type_builtin const*)': +/home/buildroot/autobuild/instance-2/output-1/build/gdb-10.2/build/gdbserver/../../gdbserver/../gdbsupport/tdesc.cc:310: undefined reference to `libintl_gettext' + +Fixes: + - http://autobuild.buildroot.org/results/faacc874fe9d32b74cb3d3dea988ef661cb0e3d0 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://sourceware.org/pipermail/gdb-patches/2021-November/183580.html] +--- + gdbserver/Makefile.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gdbserver/Makefile.in b/gdbserver/Makefile.in +index 71c3c4ad959..e69fbc4dae4 100644 +--- a/gdbserver/Makefile.in ++++ b/gdbserver/Makefile.in +@@ -383,7 +383,7 @@ $(IPA_LIB): $(sort $(IPA_OBJS)) ${CDEPS} + $(ECHO_CXXLD) $(CC_LD) -shared -fPIC -Wl,--soname=$(IPA_LIB) \ + -Wl,--no-undefined $(INTERNAL_CFLAGS) $(INTERNAL_LDFLAGS) \ + $(CXXFLAGS) \ +- -o $(IPA_LIB) ${IPA_OBJS} $(LIBIBERTY_FOR_SHLIB) -ldl -pthread ++ -o $(IPA_LIB) ${IPA_OBJS} $(LIBIBERTY_FOR_SHLIB) -ldl -pthread $(INTL) + + # Put the proper machine-specific files first, so M-. on a machine + # specific routine gets the one for the correct machine. +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/gdb/4ecb98fbc2f94dbe01b69384afbc515107de73df/0001-Fix-Python3.9-related-runtime-problems.patch b/buildroot-2022.02.1/package/gdb/4ecb98fbc2f94dbe01b69384afbc515107de73df/0001-Fix-Python3.9-related-runtime-problems.patch new file mode 100644 index 00000000..8c2a9d3d --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/4ecb98fbc2f94dbe01b69384afbc515107de73df/0001-Fix-Python3.9-related-runtime-problems.patch @@ -0,0 +1,193 @@ +From 8342feee01e4e8d38affcf35e47ad900567f42e0 Mon Sep 17 00:00:00 2001 +From: Kevin Buettner +Date: Wed, 27 May 2020 20:05:40 -0700 +Subject: [PATCH] Fix Python3.9 related runtime problems + +Python3.9b1 is now available on Rawhide. GDB w/ Python 3.9 support +can be built using the configure switch -with-python=/usr/bin/python3.9. + +Attempting to run gdb/Python3.9 segfaults on startup: + + #0 0x00007ffff7b0582c in PyEval_ReleaseLock () from /lib64/libpython3.9.so.1.0 + #1 0x000000000069ccbf in do_start_initialization () + at worktree-test1/gdb/python/python.c:1789 + #2 _initialize_python () + at worktree-test1/gdb/python/python.c:1877 + #3 0x00000000007afb0a in initialize_all_files () at init.c:237 + ... + +Consulting the the documentation... + +https://docs.python.org/3/c-api/init.html + +...we find that PyEval_ReleaseLock() has been deprecated since version +3.2. It recommends using PyEval_SaveThread or PyEval_ReleaseThread() +instead. In do_start_initialization, in gdb/python/python.c, we +can replace the calls to PyThreadState_Swap() and PyEval_ReleaseLock() +with a single call to PyEval_SaveThread. (Thanks to Keith Seitz +for working this out.) + +With that in place, GDB gets a little bit further. It still dies +on startup, but the backtrace is different: + + #0 0x00007ffff7b04306 in PyOS_InterruptOccurred () + from /lib64/libpython3.9.so.1.0 + #1 0x0000000000576e86 in check_quit_flag () + at worktree-test1/gdb/extension.c:776 + #2 0x0000000000576f8a in set_active_ext_lang (now_active=now_active@entry=0x983c00 ) + at worktree-test1/gdb/extension.c:705 + #3 0x000000000069d399 in gdbpy_enter::gdbpy_enter (this=0x7fffffffd2d0, + gdbarch=0x0, language=0x0) + at worktree-test1/gdb/python/python.c:211 + #4 0x0000000000686e00 in python_new_inferior (inf=0xddeb10) + at worktree-test1/gdb/python/py-inferior.c:251 + #5 0x00000000005d9fb9 in std::function::operator()(inferior*) const (__args#0=, this=0xccad20) + at /usr/include/c++/10/bits/std_function.h:617 + #6 gdb::observers::observable::notify (args#0=0xddeb10, + this=) + at worktree-test1/gdb/../gdbsupport/observable.h:106 + #7 add_inferior_silent (pid=0) + at worktree-test1/gdb/inferior.c:113 + #8 0x00000000005dbcb8 in initialize_inferiors () + at worktree-test1/gdb/inferior.c:947 + ... + +We checked with some Python Developers and were told that we should +acquire the GIL prior to calling any Python C API function. We +definitely don't have the GIL for calls of PyOS_InterruptOccurred(). + +I moved class_gdbpy_gil earlier in the file and use it in +gdbpy_check_quit_flag() to acquire (and automatically release) the +GIL. + +With those changes in place, I was able to run to a GDB prompt. But, +when trying to quit, it segfaulted again due to due to some other +problems with gdbpy_check_quit_flag(): + + Thread 1 "gdb" received signal SIGSEGV, Segmentation fault. + 0x00007ffff7bbab0c in new_threadstate () from /lib64/libpython3.9.so.1.0 + (top-gdb) bt 8 + #0 0x00007ffff7bbab0c in new_threadstate () from /lib64/libpython3.9.so.1.0 + #1 0x00007ffff7afa5ea in PyGILState_Ensure.cold () + from /lib64/libpython3.9.so.1.0 + #2 0x000000000069b58c in gdbpy_gil::gdbpy_gil (this=) + at worktree-test1/gdb/python/python.c:278 + #3 gdbpy_check_quit_flag (extlang=) + at worktree-test1/gdb/python/python.c:278 + #4 0x0000000000576e96 in check_quit_flag () + at worktree-test1/gdb/extension.c:776 + #5 0x000000000057700c in restore_active_ext_lang (previous=0xe9c050) + at worktree-test1/gdb/extension.c:729 + #6 0x000000000088913a in do_my_cleanups ( + pmy_chain=0xc31870 , + old_chain=0xae5720 ) + at worktree-test1/gdbsupport/cleanups.cc:131 + #7 do_final_cleanups () + at worktree-test1/gdbsupport/cleanups.cc:143 + +In this case, we're trying to call a Python C API function after +Py_Finalize() has been called from finalize_python(). I made +finalize_python set gdb_python_initialized to false and then cause +check_quit_flag() to return early when it's false. + +With these changes in place, GDB seems to be working again with +Python3.9b1. I think it likely that there are other problems lurking. +I wouldn't be surprised to find that there are other calls into Python +where we don't first make sure that we have the GIL. Further changes +may well be needed. + +I see no regressions testing on Rawhide using a GDB built with the +default Python version (3.8.3) versus one built using Python 3.9b1. + +I've also tested on Fedora 28, 29, 30, 31, and 32 (all x86_64) using +the default (though updated) system installed versions of Python on +those OSes. This means that I've tested against Python versions +2.7.15, 2.7.17, 2.7.18, 3.7.7, 3.8.2, and 3.8.3. In each case GDB +still builds without problem and shows no regressions after applying +this patch. + +gdb/ChangeLog: + +2020-MM-DD Kevin Buettner + Keith Seitz + + * python/python.c (do_start_initialization): For Python 3.9 and + later, call PyEval_SaveThread instead of PyEval_ReleaseLock. + (class gdbpy_gil): Move to earlier in file. + (finalize_python): Set gdb_python_initialized. + (gdbpy_check_quit_flag): Acquire GIL via gdbpy_gil. Return early + when not initialized. + +[import into Buildroot, removing ChangeLog change to avoid conflict] +Signed-off-by: Thomas De Schampheleire +--- + gdb/python/python.c | 32 ++++++++++++++++++++++++++++++-- + 1 file changed, 30 insertions(+), 2 deletions(-) + +diff --git a/gdb/python/python.c b/gdb/python/python.c +index b00b70be85b..0eee3f0397c 100644 +--- a/gdb/python/python.c ++++ b/gdb/python/python.c +@@ -268,6 +268,30 @@ ensure_python_env (struct gdbarch *gdbarch, + return make_cleanup (restore_python_env, env); + } + ++/* A helper class to save and restore the GIL, but without touching ++ the other globals that are handled by gdbpy_enter. */ ++ ++class gdbpy_gil ++{ ++public: ++ ++ gdbpy_gil () ++ : m_state (PyGILState_Ensure ()) ++ { ++ } ++ ++ ~gdbpy_gil () ++ { ++ PyGILState_Release (m_state); ++ } ++ ++ DISABLE_COPY_AND_ASSIGN (gdbpy_gil); ++ ++private: ++ ++ PyGILState_STATE m_state; ++}; ++ + /* Set the quit flag. */ + + static void +@@ -281,6 +305,10 @@ gdbpy_set_quit_flag (const struct extension_language_defn *extlang) + static int + gdbpy_check_quit_flag (const struct extension_language_defn *extlang) + { ++ if (!gdb_python_initialized) ++ return 0; ++ ++ gdbpy_gil gil; + return PyOS_InterruptOccurred (); + } + +@@ -1620,6 +1648,7 @@ finalize_python (void *ignore) + + Py_Finalize (); + ++ gdb_python_initialized = false; + restore_active_ext_lang (previous_active); + } + #endif +@@ -1854,8 +1883,7 @@ message == an error message without a stack will be printed."), + goto fail; + + /* Release the GIL while gdb runs. */ +- PyThreadState_Swap (NULL); +- PyEval_ReleaseLock (); ++ PyEval_SaveThread (); + + make_final_cleanup (finalize_python, NULL); + +-- +2.31.1 + diff --git a/buildroot-2021.05/package/gdb/8.3.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch b/buildroot-2022.02.1/package/gdb/9.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch similarity index 100% rename from buildroot-2021.05/package/gdb/8.3.1/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch rename to buildroot-2022.02.1/package/gdb/9.2/0001-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch diff --git a/buildroot-2021.05/package/gdb/8.3.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch b/buildroot-2022.02.1/package/gdb/9.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch similarity index 100% rename from buildroot-2021.05/package/gdb/8.3.1/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch rename to buildroot-2022.02.1/package/gdb/9.2/0002-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch diff --git a/buildroot-2021.05/package/gdb/8.3.1/0003-use-asm-sgidefs.h.patch b/buildroot-2022.02.1/package/gdb/9.2/0003-use-asm-sgidefs.h.patch similarity index 100% rename from buildroot-2021.05/package/gdb/8.3.1/0003-use-asm-sgidefs.h.patch rename to buildroot-2022.02.1/package/gdb/9.2/0003-use-asm-sgidefs.h.patch diff --git a/buildroot-2021.05/package/gdb/8.3.1/0004-gdbserver-fix-build-for-m68k.patch b/buildroot-2022.02.1/package/gdb/9.2/0004-gdbserver-fix-build-for-m68k.patch similarity index 100% rename from buildroot-2021.05/package/gdb/8.3.1/0004-gdbserver-fix-build-for-m68k.patch rename to buildroot-2022.02.1/package/gdb/9.2/0004-gdbserver-fix-build-for-m68k.patch diff --git a/buildroot-2021.05/package/gdb/9.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch b/buildroot-2022.02.1/package/gdb/9.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch similarity index 100% rename from buildroot-2021.05/package/gdb/9.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch rename to buildroot-2022.02.1/package/gdb/9.2/0005-nat-fork-inferior-include-linux-ptrace.h.patch diff --git a/buildroot-2021.05/package/gdb/9.2/0006-sim-ppc-Fix-linker-error-with-fno-common.patch b/buildroot-2022.02.1/package/gdb/9.2/0006-sim-ppc-Fix-linker-error-with-fno-common.patch similarity index 100% rename from buildroot-2021.05/package/gdb/9.2/0006-sim-ppc-Fix-linker-error-with-fno-common.patch rename to buildroot-2022.02.1/package/gdb/9.2/0006-sim-ppc-Fix-linker-error-with-fno-common.patch diff --git a/buildroot-2022.02.1/package/gdb/9.2/0007-Fix-Python3.9-related-runtime-problems.patch b/buildroot-2022.02.1/package/gdb/9.2/0007-Fix-Python3.9-related-runtime-problems.patch new file mode 100644 index 00000000..89b0cdc4 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/9.2/0007-Fix-Python3.9-related-runtime-problems.patch @@ -0,0 +1,227 @@ +From c47bae859a5af0d95224d90000df0e529f7c5aa0 Mon Sep 17 00:00:00 2001 +From: Kevin Buettner +Date: Wed, 27 May 2020 20:05:40 -0700 +Subject: [PATCH] Fix Python3.9 related runtime problems + +Python3.9b1 is now available on Rawhide. GDB w/ Python 3.9 support +can be built using the configure switch -with-python=/usr/bin/python3.9. + +Attempting to run gdb/Python3.9 segfaults on startup: + + #0 0x00007ffff7b0582c in PyEval_ReleaseLock () from /lib64/libpython3.9.so.1.0 + #1 0x000000000069ccbf in do_start_initialization () + at worktree-test1/gdb/python/python.c:1789 + #2 _initialize_python () + at worktree-test1/gdb/python/python.c:1877 + #3 0x00000000007afb0a in initialize_all_files () at init.c:237 + ... + +Consulting the the documentation... + +https://docs.python.org/3/c-api/init.html + +...we find that PyEval_ReleaseLock() has been deprecated since version +3.2. It recommends using PyEval_SaveThread or PyEval_ReleaseThread() +instead. In do_start_initialization, in gdb/python/python.c, we +can replace the calls to PyThreadState_Swap() and PyEval_ReleaseLock() +with a single call to PyEval_SaveThread. (Thanks to Keith Seitz +for working this out.) + +With that in place, GDB gets a little bit further. It still dies +on startup, but the backtrace is different: + + #0 0x00007ffff7b04306 in PyOS_InterruptOccurred () + from /lib64/libpython3.9.so.1.0 + #1 0x0000000000576e86 in check_quit_flag () + at worktree-test1/gdb/extension.c:776 + #2 0x0000000000576f8a in set_active_ext_lang (now_active=now_active@entry=0x983c00 ) + at worktree-test1/gdb/extension.c:705 + #3 0x000000000069d399 in gdbpy_enter::gdbpy_enter (this=0x7fffffffd2d0, + gdbarch=0x0, language=0x0) + at worktree-test1/gdb/python/python.c:211 + #4 0x0000000000686e00 in python_new_inferior (inf=0xddeb10) + at worktree-test1/gdb/python/py-inferior.c:251 + #5 0x00000000005d9fb9 in std::function::operator()(inferior*) const (__args#0=, this=0xccad20) + at /usr/include/c++/10/bits/std_function.h:617 + #6 gdb::observers::observable::notify (args#0=0xddeb10, + this=) + at worktree-test1/gdb/../gdbsupport/observable.h:106 + #7 add_inferior_silent (pid=0) + at worktree-test1/gdb/inferior.c:113 + #8 0x00000000005dbcb8 in initialize_inferiors () + at worktree-test1/gdb/inferior.c:947 + ... + +We checked with some Python Developers and were told that we should +acquire the GIL prior to calling any Python C API function. We +definitely don't have the GIL for calls of PyOS_InterruptOccurred(). + +I moved class_gdbpy_gil earlier in the file and use it in +gdbpy_check_quit_flag() to acquire (and automatically release) the +GIL. + +With those changes in place, I was able to run to a GDB prompt. But, +when trying to quit, it segfaulted again due to due to some other +problems with gdbpy_check_quit_flag(): + + Thread 1 "gdb" received signal SIGSEGV, Segmentation fault. + 0x00007ffff7bbab0c in new_threadstate () from /lib64/libpython3.9.so.1.0 + (top-gdb) bt 8 + #0 0x00007ffff7bbab0c in new_threadstate () from /lib64/libpython3.9.so.1.0 + #1 0x00007ffff7afa5ea in PyGILState_Ensure.cold () + from /lib64/libpython3.9.so.1.0 + #2 0x000000000069b58c in gdbpy_gil::gdbpy_gil (this=) + at worktree-test1/gdb/python/python.c:278 + #3 gdbpy_check_quit_flag (extlang=) + at worktree-test1/gdb/python/python.c:278 + #4 0x0000000000576e96 in check_quit_flag () + at worktree-test1/gdb/extension.c:776 + #5 0x000000000057700c in restore_active_ext_lang (previous=0xe9c050) + at worktree-test1/gdb/extension.c:729 + #6 0x000000000088913a in do_my_cleanups ( + pmy_chain=0xc31870 , + old_chain=0xae5720 ) + at worktree-test1/gdbsupport/cleanups.cc:131 + #7 do_final_cleanups () + at worktree-test1/gdbsupport/cleanups.cc:143 + +In this case, we're trying to call a Python C API function after +Py_Finalize() has been called from finalize_python(). I made +finalize_python set gdb_python_initialized to false and then cause +check_quit_flag() to return early when it's false. + +With these changes in place, GDB seems to be working again with +Python3.9b1. I think it likely that there are other problems lurking. +I wouldn't be surprised to find that there are other calls into Python +where we don't first make sure that we have the GIL. Further changes +may well be needed. + +I see no regressions testing on Rawhide using a GDB built with the +default Python version (3.8.3) versus one built using Python 3.9b1. + +I've also tested on Fedora 28, 29, 30, 31, and 32 (all x86_64) using +the default (though updated) system installed versions of Python on +those OSes. This means that I've tested against Python versions +2.7.15, 2.7.17, 2.7.18, 3.7.7, 3.8.2, and 3.8.3. In each case GDB +still builds without problem and shows no regressions after applying +this patch. + +gdb/ChangeLog: + +2020-MM-DD Kevin Buettner + Keith Seitz + + * python/python.c (do_start_initialization): For Python 3.9 and + later, call PyEval_SaveThread instead of PyEval_ReleaseLock. + (class gdbpy_gil): Move to earlier in file. + (finalize_python): Set gdb_python_initialized. + (gdbpy_check_quit_flag): Acquire GIL via gdbpy_gil. Return early + when not initialized. + + +[import into Buildroot, removing ChangeLog change to avoid conflict] +Signed-off-by: Thomas De Schampheleire + +--- + gdb/ChangeLog | 10 ++++++++ + gdb/python/python.c | 56 ++++++++++++++++++++++++--------------------- + 2 files changed, 40 insertions(+), 26 deletions(-) + +diff --git a/gdb/python/python.c b/gdb/python/python.c +index 67f362b852d..4bdd2201abc 100644 +--- a/gdb/python/python.c ++++ b/gdb/python/python.c +@@ -238,6 +238,30 @@ gdbpy_enter::~gdbpy_enter () + PyGILState_Release (m_state); + } + ++/* A helper class to save and restore the GIL, but without touching ++ the other globals that are handled by gdbpy_enter. */ ++ ++class gdbpy_gil ++{ ++public: ++ ++ gdbpy_gil () ++ : m_state (PyGILState_Ensure ()) ++ { ++ } ++ ++ ~gdbpy_gil () ++ { ++ PyGILState_Release (m_state); ++ } ++ ++ DISABLE_COPY_AND_ASSIGN (gdbpy_gil); ++ ++private: ++ ++ PyGILState_STATE m_state; ++}; ++ + /* Set the quit flag. */ + + static void +@@ -251,6 +275,10 @@ gdbpy_set_quit_flag (const struct extension_language_defn *extlang) + static int + gdbpy_check_quit_flag (const struct extension_language_defn *extlang) + { ++ if (!gdb_python_initialized) ++ return 0; ++ ++ gdbpy_gil gil; + return PyOS_InterruptOccurred (); + } + +@@ -943,30 +971,6 @@ gdbpy_source_script (const struct extension_language_defn *extlang, + + /* Posting and handling events. */ + +-/* A helper class to save and restore the GIL, but without touching +- the other globals that are handled by gdbpy_enter. */ +- +-class gdbpy_gil +-{ +-public: +- +- gdbpy_gil () +- : m_state (PyGILState_Ensure ()) +- { +- } +- +- ~gdbpy_gil () +- { +- PyGILState_Release (m_state); +- } +- +- DISABLE_COPY_AND_ASSIGN (gdbpy_gil); +- +-private: +- +- PyGILState_STATE m_state; +-}; +- + /* A single event. */ + struct gdbpy_event + { +@@ -1616,6 +1620,7 @@ finalize_python (void *ignore) + + Py_Finalize (); + ++ gdb_python_initialized = false; + restore_active_ext_lang (previous_active); + } + +@@ -1785,8 +1790,7 @@ do_start_initialization () + return false; + + /* Release the GIL while gdb runs. */ +- PyThreadState_Swap (NULL); +- PyEval_ReleaseLock (); ++ PyEval_SaveThread (); + + make_final_cleanup (finalize_python, NULL); + +-- +2.26.3 + diff --git a/buildroot-2021.05/package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch b/buildroot-2022.02.1/package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch similarity index 100% rename from buildroot-2021.05/package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch rename to buildroot-2022.02.1/package/gdb/9.2/0007-gdb-configure.tgt-build-gdbserver-with-m68k-and-ucli.patch diff --git a/buildroot-2022.02.1/package/gdb/Config.in b/buildroot-2022.02.1/package/gdb/Config.in new file mode 100644 index 00000000..daad6c91 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/Config.in @@ -0,0 +1,86 @@ +config BR2_PACKAGE_GDB_ARCH_SUPPORTS + bool + default y + depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) + depends on !BR2_microblaze + depends on !BR2_or1k + depends on !BR2_nds32 + +comment "gdb/gdbserver needs a toolchain w/ threads, threads debug" + depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_HAS_THREADS_DEBUG + +comment "gdb/gdbserver >= 8.x needs a toolchain w/ C++, gcc >= 4.8" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +config BR2_PACKAGE_GDB + bool "gdb" + depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_HAS_THREADS_DEBUG + depends on BR2_PACKAGE_GDB_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_INSTALL_LIBSTDCPP + # When the external toolchain gdbserver is copied to the + # target, we don't allow building a separate gdbserver. The + # one from the external toolchain should be used. + select BR2_PACKAGE_GDB_SERVER if \ + (!BR2_PACKAGE_GDB_DEBUGGER && !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY) + help + GDB, the GNU Project debugger, allows you to see what is + going on `inside' another program while it executes -- or + what another program was doing at the moment it crashed. + + This option allows to build gdbserver and/or the gdb + debugger for the target. + + For embedded development, the most common solution is to + build only 'gdbserver' for the target, and use a cross-gdb + on the host. See BR2_PACKAGE_HOST_GDB in the Toolchain menu + to enable one. Notice that external toolchains often provide + their own pre-built cross-gdb and gdbserver binaries. + + http://www.gnu.org/software/gdb/ + +if BR2_PACKAGE_GDB + +config BR2_PACKAGE_GDB_SERVER + bool "gdbserver" + depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY + help + Build the gdbserver stub to run on the target. + A full gdb is needed to debug the progam. + +config BR2_PACKAGE_GDB_DEBUGGER + bool "full debugger" + depends on BR2_USE_WCHAR + depends on !BR2_sh + depends on !BR2_csky + select BR2_PACKAGE_GMP if BR2_GDB_VERSION_11 + select BR2_PACKAGE_NCURSES + +comment "full gdb on target needs a toolchain w/ wchar" + depends on !BR2_sh + depends on !BR2_USE_WCHAR + +if BR2_PACKAGE_GDB_DEBUGGER + +config BR2_PACKAGE_GDB_TUI + bool "TUI support" + help + This option enables terminal user interface (TUI) for gdb + + "The GDB Text User Interface (TUI) is a terminal interface + which uses the curses library to show the source file, the + assembly output, the program registers and GDB commands in + separate text windows." + + https://sourceware.org/gdb/current/onlinedocs/gdb/TUI.html + +config BR2_PACKAGE_GDB_PYTHON + bool "Python support" + depends on BR2_PACKAGE_PYTHON3 + help + This option enables Python support in the target gdb. + +endif + +endif diff --git a/buildroot-2022.02.1/package/gdb/Config.in.host b/buildroot-2022.02.1/package/gdb/Config.in.host new file mode 100644 index 00000000..d3dea0b0 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/Config.in.host @@ -0,0 +1,85 @@ +config BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS + bool + default y + depends on !((BR2_arm || BR2_armeb) && BR2_BINFMT_FLAT) + depends on !BR2_microblaze + depends on !BR2_or1k + depends on !BR2_nds32 + +comment "Host GDB Options" + depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY + depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS + +config BR2_PACKAGE_HOST_GDB + bool "Build cross gdb for the host" + # When the external toolchain gdbserver is used, we shouldn't + # allow to build a cross-gdb, as the one of the external + # toolchain should be used. + depends on !BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY + depends on BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS + help + Build a cross gdb that runs on the host machine and debugs + programs running on the target. It requires 'gdbserver' + installed on the target, see BR2_PACKAGE_GDB_SERVER to + enable it. + +if BR2_PACKAGE_HOST_GDB + +config BR2_PACKAGE_HOST_GDB_TUI + bool "TUI support" + help + This option enables terminal user interface (TUI) for gdb + +config BR2_PACKAGE_HOST_GDB_PYTHON3 + bool "Python support" + help + This option enables the Python 3 support in the cross gdb. + +config BR2_PACKAGE_HOST_GDB_SIM + bool "Simulator support" + depends on !BR2_arc + help + This option enables the simulator support in the cross gdb. + +choice + prompt "GDB debugger Version" + default BR2_GDB_VERSION_10 + depends on !BR2_arc + depends on !BR2_csky + help + Select the version of gdb you wish to use. + +config BR2_GDB_VERSION_9_2 + bool "gdb 9.2.x" + # gdbserver support missing + depends on !BR2_riscv + +config BR2_GDB_VERSION_10 + bool "gdb 10.x" + +config BR2_GDB_VERSION_11 + bool "gdb 11.x" + +endchoice + +endif + +# If cross-gdb is not enabled, the latest stable version is chosen. +config BR2_GDB_VERSION + string + default "arc-2020.09-release-gdb" if BR2_arc + default "4ecb98fbc2f94dbe01b69384afbc515107de73df" if BR2_csky + default "9.2" if BR2_GDB_VERSION_9_2 + default "10.2" if BR2_GDB_VERSION_10 || !BR2_PACKAGE_HOST_GDB + default "11.2" if BR2_GDB_VERSION_11 + depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB + +# recent gdb versions (>= 10) have gdbserver moved at the top-level, +# which requires a different build logic. +config BR2_PACKAGE_GDB_TOPLEVEL + bool + default y if BR2_arc + default y if BR2_GDB_VERSION_10 + default y if BR2_GDB_VERSION_11 + default y if !BR2_PACKAGE_HOST_GDB + depends on BR2_PACKAGE_GDB || BR2_PACKAGE_HOST_GDB diff --git a/buildroot-2021.05/package/gdb/gdb-python-config b/buildroot-2022.02.1/package/gdb/gdb-python-config similarity index 100% rename from buildroot-2021.05/package/gdb/gdb-python-config rename to buildroot-2022.02.1/package/gdb/gdb-python-config diff --git a/buildroot-2022.02.1/package/gdb/gdb.hash b/buildroot-2022.02.1/package/gdb/gdb.hash new file mode 100644 index 00000000..e7933374 --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/gdb.hash @@ -0,0 +1,10 @@ +# From ftp://gcc.gnu.org/pub/gdb/releases/sha512.sum +sha512 73635f00f343117aa5e2436f1e1597099e2bfb31ef7bb162b273fa1ea282c3fa9b0f52762e70bfc7ad0334addb8d159e9ac7cbe5998ca4f755ea8cf90714d274 gdb-9.2.tar.xz +sha512 3653762ac008e065c37cd641653184c9ff7ce51ee2222ade1122bec9d6cc64dffd4fb74888ef11ac1942064a08910e96b7865112ad37f4602eb0a16bed074caa gdb-10.2.tar.xz +sha512 07e9026423438049b11f4f784d57401ece4e940570f613bd6958b3714fe7fbc2c048470bcce3e7d7d9f93331cdf3881d30dcc964cb113a071143a02b28e5b127 gdb-11.2.tar.xz + +# Locally calculated (fetched from Github) +sha512 5a2acf2fd33ab2ff589e1037ca40abda54328997dcff26b2b49b874bd3be980be5a63342962254f3c3bda98e32ce7a33af704d37353352833dee193135600458 gdb-arc-2020.09-release-gdb.tar.gz + +# Locally calculated (fetched from https://github.com/c-sky/binutils-gdb) +sha512 c421e1f3c0d6cfb3c04544573c0c4b0075c8d8e3d563c6c234fcc1e4c2167ab203d1e57aec3b58abd348dc46f8cf9b47b753d3a43dba3ea970c9c9a6bd78c07b gdb-4ecb98fbc2f94dbe01b69384afbc515107de73df.tar.gz diff --git a/buildroot-2022.02.1/package/gdb/gdb.mk b/buildroot-2022.02.1/package/gdb/gdb.mk new file mode 100644 index 00000000..9bde2bee --- /dev/null +++ b/buildroot-2022.02.1/package/gdb/gdb.mk @@ -0,0 +1,320 @@ +################################################################################ +# +# gdb +# +################################################################################ + +GDB_VERSION = $(call qstrip,$(BR2_GDB_VERSION)) +GDB_SITE = $(BR2_GNU_MIRROR)/gdb +GDB_SOURCE = gdb-$(GDB_VERSION).tar.xz + +ifeq ($(BR2_arc),y) +GDB_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,binutils-gdb,$(GDB_VERSION)) +GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz +GDB_FROM_GIT = y +endif + +ifeq ($(BR2_csky),y) +GDB_SITE = $(call github,c-sky,binutils-gdb,$(GDB_VERSION)) +GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz +GDB_FROM_GIT = y +endif + +GDB_LICENSE = GPL-2.0+, LGPL-2.0+, GPL-3.0+, LGPL-3.0+ +GDB_LICENSE_FILES = COPYING COPYING.LIB COPYING3 COPYING3.LIB +GDB_CPE_ID_VENDOR = gnu + +# On gdb < 10, if you want to build only gdbserver, you need to +# configure only gdb/gdbserver. +ifeq ($(BR2_PACKAGE_GDB_DEBUGGER)$(BR2_PACKAGE_GDB_TOPLEVEL),) +GDB_SUBDIR = gdb/gdbserver + +# When we want to build the full gdb, or for very recent versions of +# gdb with gdbserver at the top-level, out of tree build is mandatory, +# so we create a 'build' subdirectory in the gdb sources, and build +# from there. +else +GDB_SUBDIR = build +define GDB_CONFIGURE_SYMLINK + mkdir -p $(@D)/$(GDB_SUBDIR) + ln -sf ../configure $(@D)/$(GDB_SUBDIR)/configure +endef +GDB_PRE_CONFIGURE_HOOKS += GDB_CONFIGURE_SYMLINK +endif + +# For the host variant, we really want to build with XML support, +# which is needed to read XML descriptions of target architectures. We +# also need ncurses. +# As for libiberty, gdb may use a system-installed one if present, so +# we must ensure ours is installed first. +HOST_GDB_DEPENDENCIES = host-expat host-libiberty host-ncurses + +# Disable building documentation +GDB_MAKE_OPTS += MAKEINFO=true +GDB_INSTALL_TARGET_OPTS += MAKEINFO=true DESTDIR=$(TARGET_DIR) install +HOST_GDB_MAKE_OPTS += MAKEINFO=true +HOST_GDB_INSTALL_OPTS += MAKEINFO=true install + +# Apply the Xtensa specific patches +ifneq ($(ARCH_XTENSA_OVERLAY_FILE),) +define GDB_XTENSA_OVERLAY_EXTRACT + $(call arch-xtensa-overlay-extract,$(@D),gdb) +endef +GDB_POST_EXTRACT_HOOKS += GDB_XTENSA_OVERLAY_EXTRACT +GDB_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) +HOST_GDB_POST_EXTRACT_HOOKS += GDB_XTENSA_OVERLAY_EXTRACT +HOST_GDB_EXTRA_DOWNLOADS += $(ARCH_XTENSA_OVERLAY_URL) +endif + +ifeq ($(GDB_FROM_GIT),y) +GDB_DEPENDENCIES += host-flex host-bison +HOST_GDB_DEPENDENCIES += host-flex host-bison +endif + +# When BR2_GDB_VERSION_11=y, we're going to build gdb 11.x for the +# host (if enabled), so we add the necessary gmp dependency. +ifeq ($(BR2_GDB_VERSION_11),y) +HOST_GDB_DEPENDENCIES += host-gmp +endif + +# When gdb sources are fetched from the binutils-gdb repository, they +# also contain the binutils sources, but binutils shouldn't be built, +# so we disable it (additionally the option --disable-install-libbfd +# prevents the un-wanted installation of libobcodes.so and libbfd.so). +GDB_DISABLE_BINUTILS_CONF_OPTS = \ + --disable-binutils \ + --disable-install-libbfd \ + --disable-ld \ + --disable-gas \ + --disable-gprof + +GDB_CONF_ENV = \ + ac_cv_type_uintptr_t=yes \ + gt_cv_func_gettext_libintl=yes \ + ac_cv_func_dcgettext=yes \ + gdb_cv_func_sigsetjmp=yes \ + bash_cv_func_strcoll_broken=no \ + bash_cv_must_reinstall_sighandlers=no \ + bash_cv_func_sigsetjmp=present \ + bash_cv_have_mbstate_t=yes \ + gdb_cv_func_sigsetjmp=yes + +# Starting with gdb 7.11, the bundled gnulib tries to use +# rpl_gettimeofday (gettimeofday replacement) due to the code being +# unable to determine if the replacement function should be used or +# not when cross-compiling with uClibc or musl as C libraries. So use +# gl_cv_func_gettimeofday_clobber=no to not use rpl_gettimeofday, +# assuming musl and uClibc have a properly working gettimeofday +# implementation. It needs to be passed to GDB_CONF_ENV to build +# gdbserver only but also to GDB_MAKE_ENV, because otherwise it does +# not get passed to the configure script of nested packages while +# building gdbserver with full debugger. +GDB_CONF_ENV += gl_cv_func_gettimeofday_clobber=no +GDB_MAKE_ENV += gl_cv_func_gettimeofday_clobber=no + +# Similarly, starting with gdb 8.1, the bundled gnulib tries to use +# rpl_strerror. Let's tell gnulib the C library implementation works +# well enough. +GDB_CONF_ENV += \ + gl_cv_func_working_strerror=yes \ + gl_cv_func_strerror_0_works=yes +GDB_MAKE_ENV += \ + gl_cv_func_working_strerror=yes \ + gl_cv_func_strerror_0_works=yes + +# Starting with glibc 2.25, the proc_service.h header has been copied +# from gdb to glibc so other tools can use it. However, that makes it +# necessary to make sure that declaration of prfpregset_t declaration +# is consistent between gdb and glibc. In gdb, however, there is a +# workaround for a broken prfpregset_t declaration in glibc 2.3 which +# uses AC_TRY_RUN to detect if it's needed, which doesn't work in +# cross-compilation. So pass the cache option to configure. +# It needs to be passed to GDB_CONF_ENV to build gdbserver only but +# also to GDB_MAKE_ENV, because otherwise it does not get passed to the +# configure script of nested packages while building gdbserver with full +# debugger. +GDB_CONF_ENV += gdb_cv_prfpregset_t_broken=no +GDB_MAKE_ENV += gdb_cv_prfpregset_t_broken=no + +# The shared only build is not supported by gdb, so enable static build for +# build-in libraries with --enable-static. +GDB_CONF_OPTS = \ + --without-uiout \ + --disable-gdbtk \ + --without-x \ + --disable-sim \ + $(GDB_DISABLE_BINUTILS_CONF_OPTS) \ + --without-included-gettext \ + --disable-werror \ + --enable-static \ + --without-mpfr + +ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),y) +GDB_CONF_OPTS += \ + --enable-gdb \ + --with-curses +GDB_DEPENDENCIES += ncurses \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) +else +GDB_CONF_OPTS += \ + --disable-gdb \ + --without-curses +endif + +# When BR2_GDB_VERSION_11=y (because it's enabled for the host) and +# we're building the full gdb for the target, we need gmp as a +# dependency. For now the default gdb version in Buildroot doesn't +# require gmp. +ifeq ($(BR2_GDB_VERSION_11)$(BR2_PACKAGE_GDB_DEBUGGER),yy) +GDB_CONF_OPTS += \ + --with-libgmp-prefix=$(STAGING_DIR)/usr +GDB_DEPENDENCIES += gmp +endif + +ifeq ($(BR2_PACKAGE_GDB_SERVER),y) +GDB_CONF_OPTS += --enable-gdbserver +GDB_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) +else +GDB_CONF_OPTS += --disable-gdbserver +endif + +# When gdb is built as C++ application for ARC it segfaults at runtime +# So we pass --disable-build-with-cxx config option to force gdb not to +# be built as C++ app. +ifeq ($(BR2_arc),y) +GDB_CONF_OPTS += --disable-build-with-cxx +endif + +# gdb 7.12+ by default builds with a C++ compiler, which doesn't work +# when we don't have C++ support in the toolchain +ifneq ($(BR2_INSTALL_LIBSTDCPP),y) +GDB_CONF_OPTS += --disable-build-with-cxx +endif + +# inprocess-agent can't be built statically +ifeq ($(BR2_STATIC_LIBS),y) +GDB_CONF_OPTS += --disable-inprocess-agent +endif + +ifeq ($(BR2_PACKAGE_GDB_TUI),y) +GDB_CONF_OPTS += --enable-tui +else +GDB_CONF_OPTS += --disable-tui +endif + +ifeq ($(BR2_PACKAGE_GDB_PYTHON),y) +# CONF_ENV: for top-level configure; MAKE_ENV: for sub-projects' configure. +GDB_CONF_ENV += BR_PYTHON_VERSION=$(PYTHON3_VERSION_MAJOR) +GDB_MAKE_ENV += BR_PYTHON_VERSION=$(PYTHON3_VERSION_MAJOR) +GDB_DEPENDENCIES += python3 +GDB_CONF_OPTS += --with-python=$(TOPDIR)/package/gdb/gdb-python-config +else +GDB_CONF_OPTS += --without-python +endif + +ifeq ($(BR2_PACKAGE_EXPAT),y) +GDB_CONF_OPTS += --with-expat +GDB_CONF_OPTS += --with-libexpat-prefix=$(STAGING_DIR)/usr +GDB_DEPENDENCIES += expat +else +GDB_CONF_OPTS += --without-expat +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +GDB_CONF_OPTS += --with-lzma +GDB_CONF_OPTS += --with-liblzma-prefix=$(STAGING_DIR)/usr +GDB_DEPENDENCIES += xz +else +GDB_CONF_OPTS += --without-lzma +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +GDB_CONF_OPTS += --with-zlib +GDB_DEPENDENCIES += zlib +else +GDB_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_GDB_PYTHON),) +# This removes some unneeded Python scripts and XML target description +# files that are not useful for a normal usage of the debugger. +define GDB_REMOVE_UNNEEDED_FILES + $(RM) -rf $(TARGET_DIR)/usr/share/gdb +endef + +GDB_POST_INSTALL_TARGET_HOOKS += GDB_REMOVE_UNNEEDED_FILES +endif + +# This installs the gdbserver somewhere into the $(HOST_DIR) so that +# it becomes an integral part of the SDK, if the toolchain generated +# by Buildroot is later used as an external toolchain. We install it +# in debug-root/usr/bin/gdbserver so that it matches what Crosstool-NG +# does. +define GDB_SDK_INSTALL_GDBSERVER + $(INSTALL) -D -m 0755 $(TARGET_DIR)/usr/bin/gdbserver \ + $(HOST_DIR)/$(GNU_TARGET_NAME)/debug-root/usr/bin/gdbserver +endef + +ifeq ($(BR2_PACKAGE_GDB_SERVER),y) +GDB_POST_INSTALL_TARGET_HOOKS += GDB_SDK_INSTALL_GDBSERVER +endif + +# A few notes: +# * --target, because we're doing a cross build rather than a real +# host build. +# * --enable-static because gdb really wants to use libbfd.a +HOST_GDB_CONF_OPTS = \ + --target=$(GNU_TARGET_NAME) \ + --enable-static \ + --without-uiout \ + --disable-gdbtk \ + --without-x \ + --enable-threads \ + --disable-werror \ + --without-included-gettext \ + --with-curses \ + --without-mpfr \ + $(GDB_DISABLE_BINUTILS_CONF_OPTS) + +ifeq ($(BR2_PACKAGE_HOST_GDB_TUI),y) +HOST_GDB_CONF_OPTS += --enable-tui +else +HOST_GDB_CONF_OPTS += --disable-tui +endif + +ifeq ($(BR2_PACKAGE_HOST_GDB_PYTHON3),y) +HOST_GDB_CONF_OPTS += --with-python=$(HOST_DIR)/bin/python3 +HOST_GDB_DEPENDENCIES += host-python3 +else +HOST_GDB_CONF_OPTS += --without-python +endif + +ifeq ($(BR2_PACKAGE_HOST_GDB_SIM),y) +HOST_GDB_CONF_OPTS += --enable-sim +else +HOST_GDB_CONF_OPTS += --disable-sim +endif + +# Since gdb 9, in-tree builds for GDB are not allowed anymore, +# so we create a 'build' subdirectory in the gdb sources, and +# build from there. +HOST_GDB_SUBDIR = build + +define HOST_GDB_CONFIGURE_SYMLINK + mkdir -p $(@D)/build + ln -sf ../configure $(@D)/build/configure +endef +HOST_GDB_PRE_CONFIGURE_HOOKS += HOST_GDB_CONFIGURE_SYMLINK + +# legacy $arch-linux-gdb symlink +define HOST_GDB_ADD_SYMLINK + cd $(HOST_DIR)/bin && \ + ln -snf $(GNU_TARGET_NAME)-gdb $(ARCH)-linux-gdb +endef + +HOST_GDB_POST_INSTALL_HOOKS += HOST_GDB_ADD_SYMLINK + +HOST_GDB_POST_INSTALL_HOOKS += gen_gdbinit_file + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/gdbm/Config.in b/buildroot-2022.02.1/package/gdbm/Config.in new file mode 100644 index 00000000..7c8fcc4e --- /dev/null +++ b/buildroot-2022.02.1/package/gdbm/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_GDBM + bool "gdbm" + depends on BR2_USE_MMU # fork() + depends on BR2_USE_WCHAR + help + GNU dbm is a set of database routines that use extensible + hashing. It works similar to the standard UNIX dbm routines. + + https://www.gnu.org/software/gdbm/gdbm.html + +comment "gdbm needs a toolchain w/ wchar" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/gdbm/gdbm.hash b/buildroot-2022.02.1/package/gdbm/gdbm.hash new file mode 100644 index 00000000..59f9ea62 --- /dev/null +++ b/buildroot-2022.02.1/package/gdbm/gdbm.hash @@ -0,0 +1,6 @@ +# From https://www.gnu.org.ua/software/gdbm/download.html +md5 0bbd38f12656e4728e2f7c4708aec014 gdbm-1.22.tar.gz +sha1 c45cc0178cbf41828369b07749d41778741703bd gdbm-1.22.tar.gz +# Locally computed +sha256 f366c823a6724af313b6bbe975b2809f9a157e5f6a43612a72949138d161d762 gdbm-1.22.tar.gz +sha256 690d762f2e8e149ab1e2d6a409a3853b6151a2533b2382fae549a176d6bedecf COPYING diff --git a/buildroot-2022.02.1/package/gdbm/gdbm.mk b/buildroot-2022.02.1/package/gdbm/gdbm.mk new file mode 100644 index 00000000..52624f58 --- /dev/null +++ b/buildroot-2022.02.1/package/gdbm/gdbm.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# gdbm +# +################################################################################ + +GDBM_VERSION = 1.22 +GDBM_SITE = $(BR2_GNU_MIRROR)/gdbm +GDBM_LICENSE = GPL-3.0+ +GDBM_LICENSE_FILES = COPYING +GDBM_INSTALL_STAGING = YES +GDBM_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) + +ifeq ($(BR2_PACKAGE_READLINE),y) +GDBM_CONF_OPTS += --with-readline +GDBM_DEPENDENCIES += readline +else +GDBM_CONF_OPTS += --without-readline +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/gdk-pixbuf-xlib/Config.in b/buildroot-2022.02.1/package/gdk-pixbuf-xlib/Config.in new file mode 100644 index 00000000..2efc5d4d --- /dev/null +++ b/buildroot-2022.02.1/package/gdk-pixbuf-xlib/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_GDK_PIXBUF_XLIB + bool "gdk-pixbuf-xlib" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU # gdk-pixbuf -> glib2 + depends on BR2_USE_WCHAR # gdk-pixbuf -> glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> glib2 + select BR2_PACKAGE_GDK_PIXBUF + select BR2_PACKAGE_XLIB_LIBX11 + help + Deprecated Xlib integration for GdkPixbuf. + + https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib + +comment "gdk-pixbuf-xlib needs a toolchain w/ wchar, threads" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash b/buildroot-2022.02.1/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash new file mode 100644 index 00000000..e7f74e2b --- /dev/null +++ b/buildroot-2022.02.1/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.hash @@ -0,0 +1,5 @@ +# From https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf-xlib/2.40/gdk-pixbuf-xlib-2.40.2.sha256sum +sha256 8b8e1c270ec16a06f665ea841f8e4e167eaa0118d0cbfeeade43745f09198ff7 gdk-pixbuf-xlib-2.40.2.tar.xz + +# Hash for license file +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk b/buildroot-2022.02.1/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk new file mode 100644 index 00000000..3e61373b --- /dev/null +++ b/buildroot-2022.02.1/package/gdk-pixbuf-xlib/gdk-pixbuf-xlib.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# gdk-pixbuf-xlib +# +################################################################################ + +GDK_PIXBUF_XLIB_VERSION_MAJOR = 2.40 +GDK_PIXBUF_XLIB_VERSION = $(GDK_PIXBUF_XLIB_VERSION_MAJOR).2 +GDK_PIXBUF_XLIB_SOURCE = gdk-pixbuf-xlib-$(GDK_PIXBUF_XLIB_VERSION).tar.xz +GDK_PIXBUF_XLIB_SITE = http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf-xlib/$(GDK_PIXBUF_XLIB_VERSION_MAJOR) +GDK_PIXBUF_XLIB_LICENSE = LGPL-2.1+ +GDK_PIXBUF_XLIB_LICENSE_FILES = COPYING +GDK_PIXBUF_XLIB_INSTALL_STAGING = YES +GDK_PIXBUF_XLIB_DEPENDENCIES = gdk-pixbuf xlib_libX11 + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gdk-pixbuf/Config.in b/buildroot-2022.02.1/package/gdk-pixbuf/Config.in new file mode 100644 index 00000000..0ba6dda8 --- /dev/null +++ b/buildroot-2022.02.1/package/gdk-pixbuf/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_GDK_PIXBUF + bool "gdk-pixbuf" + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + Gdk-Pixbuf is an image loader and scaler. It uses GObject + and the GLib, to integrate well with GNOME applications. + + https://www.gtk.org/ + +comment "gdk-pixbuf needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/gdk-pixbuf/gdk-pixbuf.hash b/buildroot-2022.02.1/package/gdk-pixbuf/gdk-pixbuf.hash new file mode 100644 index 00000000..5e7dc7e0 --- /dev/null +++ b/buildroot-2022.02.1/package/gdk-pixbuf/gdk-pixbuf.hash @@ -0,0 +1,3 @@ +# From https://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.4.sha256sum +sha256 fe9c5dd88f486194ea2bc09b8814c1ed895bb6c530f37cbbf259757c4e482e4d gdk-pixbuf-2.42.4.tar.xz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/gdk-pixbuf/gdk-pixbuf.mk b/buildroot-2022.02.1/package/gdk-pixbuf/gdk-pixbuf.mk new file mode 100644 index 00000000..329c0552 --- /dev/null +++ b/buildroot-2022.02.1/package/gdk-pixbuf/gdk-pixbuf.mk @@ -0,0 +1,96 @@ +################################################################################ +# +# gdk-pixbuf +# +################################################################################ + +GDK_PIXBUF_VERSION_MAJOR = 2.42 +GDK_PIXBUF_VERSION = $(GDK_PIXBUF_VERSION_MAJOR).4 +GDK_PIXBUF_SOURCE = gdk-pixbuf-$(GDK_PIXBUF_VERSION).tar.xz +GDK_PIXBUF_SITE = http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/$(GDK_PIXBUF_VERSION_MAJOR) +GDK_PIXBUF_LICENSE = LGPL-2.1+ +GDK_PIXBUF_LICENSE_FILES = COPYING +GDK_PIXBUF_CPE_ID_VENDOR = gnome +GDK_PIXBUF_INSTALL_STAGING = YES +GDK_PIXBUF_DEPENDENCIES = \ + host-gdk-pixbuf host-libglib2 host-pkgconf \ + libglib2 $(if $(BR2_ENABLE_LOCALE),,libiconv) +HOST_GDK_PIXBUF_DEPENDENCIES = host-libpng host-pkgconf host-libglib2 + +GDK_PIXBUF_CONF_OPTS = \ + -Dgio_sniffing=false \ + -Dinstalled_tests=false \ + -Dman=false + +HOST_GDK_PIXBUF_CONF_OPTS = \ + -Dgio_sniffing=false \ + -Dinstalled_tests=false \ + -Dintrospection=disabled \ + -Drelocatable=true \ + -Dman=false + +ifeq ($(BR2_STATIC_LIBS),y) +GDK_PIXBUF_CONF_OPTS += -Dbuiltin_loaders=all +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GDK_PIXBUF_CONF_OPTS += -Dintrospection=enabled +GDK_PIXBUF_DEPENDENCIES += gobject-introspection +else +GDK_PIXBUF_CONF_OPTS += -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +GDK_PIXBUF_CONF_OPTS += -Dpng=true +GDK_PIXBUF_DEPENDENCIES += libpng +else +GDK_PIXBUF_CONF_OPTS += -Dpng=false +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +GDK_PIXBUF_CONF_OPTS += -Djpeg=true +HOST_GDK_PIXBUF_CONF_OPTS += -Djpeg=true +GDK_PIXBUF_DEPENDENCIES += jpeg +HOST_GDK_PIXBUF_DEPENDENCIES += host-libjpeg +else +GDK_PIXBUF_CONF_OPTS += -Djpeg=false +HOST_GDK_PIXBUF_CONF_OPTS += -Djpeg=false +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +GDK_PIXBUF_CONF_OPTS += -Dtiff=true +HOST_GDK_PIXBUF_CONF_OPTS += -Dtiff=true +GDK_PIXBUF_DEPENDENCIES += tiff +HOST_GDK_PIXBUF_DEPENDENCIES += host-tiff +else +GDK_PIXBUF_CONF_OPTS += -Dtiff=false +HOST_GDK_PIXBUF_CONF_OPTS += -Dtiff=false +endif + +# gdk-pixbuf requires the loaders.cache file populated to work properly +# Rather than doing so at runtime, since the fs can be read-only, do so +# here after building and installing to target. +# And since the cache file will contain relative host directory names we +# need to prepend them with /usr/. +ifeq ($(BR2_STATIC_LIBS),) +define GDK_PIXBUF_UPDATE_CACHE + GDK_PIXBUF_MODULEDIR=$(HOST_DIR)/lib/gdk-pixbuf-2.0/2.10.0/loaders \ + $(HOST_DIR)/bin/gdk-pixbuf-query-loaders \ + > $(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache + $(SED) 's,^"lib,"/usr/lib,g' \ + $(TARGET_DIR)/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache +endef +GDK_PIXBUF_POST_INSTALL_TARGET_HOOKS += GDK_PIXBUF_UPDATE_CACHE +endif + +# Target gdk-pixbuf needs loaders.cache populated to build for the +# thumbnailer. Use the host-built since it matches the target options +# regarding mime types (which is the used information). +define GDK_PIXBUF_COPY_LOADERS_CACHE + cp -f $(HOST_DIR)/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache \ + $(@D)/gdk-pixbuf +endef +GDK_PIXBUF_PRE_BUILD_HOOKS += GDK_PIXBUF_COPY_LOADERS_CACHE + +$(eval $(meson-package)) +$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/genext2fs/Config.in b/buildroot-2022.02.1/package/genext2fs/Config.in similarity index 100% rename from buildroot-2021.05/package/genext2fs/Config.in rename to buildroot-2022.02.1/package/genext2fs/Config.in diff --git a/buildroot-2021.05/package/genext2fs/Config.in.host b/buildroot-2022.02.1/package/genext2fs/Config.in.host similarity index 100% rename from buildroot-2021.05/package/genext2fs/Config.in.host rename to buildroot-2022.02.1/package/genext2fs/Config.in.host diff --git a/buildroot-2021.05/package/genext2fs/genext2fs.hash b/buildroot-2022.02.1/package/genext2fs/genext2fs.hash similarity index 100% rename from buildroot-2021.05/package/genext2fs/genext2fs.hash rename to buildroot-2022.02.1/package/genext2fs/genext2fs.hash diff --git a/buildroot-2021.05/package/genext2fs/genext2fs.mk b/buildroot-2022.02.1/package/genext2fs/genext2fs.mk similarity index 100% rename from buildroot-2021.05/package/genext2fs/genext2fs.mk rename to buildroot-2022.02.1/package/genext2fs/genext2fs.mk diff --git a/buildroot-2021.05/package/gengetopt/0001-configure.ac-add-disable-doc-option.patch b/buildroot-2022.02.1/package/gengetopt/0001-configure.ac-add-disable-doc-option.patch similarity index 100% rename from buildroot-2021.05/package/gengetopt/0001-configure.ac-add-disable-doc-option.patch rename to buildroot-2022.02.1/package/gengetopt/0001-configure.ac-add-disable-doc-option.patch diff --git a/buildroot-2021.05/package/gengetopt/gengetopt.hash b/buildroot-2022.02.1/package/gengetopt/gengetopt.hash similarity index 100% rename from buildroot-2021.05/package/gengetopt/gengetopt.hash rename to buildroot-2022.02.1/package/gengetopt/gengetopt.hash diff --git a/buildroot-2021.05/package/gengetopt/gengetopt.mk b/buildroot-2022.02.1/package/gengetopt/gengetopt.mk similarity index 100% rename from buildroot-2021.05/package/gengetopt/gengetopt.mk rename to buildroot-2022.02.1/package/gengetopt/gengetopt.mk diff --git a/buildroot-2021.05/package/genimage/Config.in.host b/buildroot-2022.02.1/package/genimage/Config.in.host similarity index 100% rename from buildroot-2021.05/package/genimage/Config.in.host rename to buildroot-2022.02.1/package/genimage/Config.in.host diff --git a/buildroot-2022.02.1/package/genimage/genimage.hash b/buildroot-2022.02.1/package/genimage/genimage.hash new file mode 100644 index 00000000..80065d53 --- /dev/null +++ b/buildroot-2022.02.1/package/genimage/genimage.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 9bca24bf883310b30ee4511cbc3a580e40ad4540826e5ed3992c595ce72d003e genimage-15.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/genimage/genimage.mk b/buildroot-2022.02.1/package/genimage/genimage.mk new file mode 100644 index 00000000..44963b48 --- /dev/null +++ b/buildroot-2022.02.1/package/genimage/genimage.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# genimage +# +################################################################################ + +GENIMAGE_VERSION = 15 +GENIMAGE_SOURCE = genimage-$(GENIMAGE_VERSION).tar.xz +GENIMAGE_SITE = https://github.com/pengutronix/genimage/releases/download/v$(GENIMAGE_VERSION) +HOST_GENIMAGE_DEPENDENCIES = host-pkgconf host-libconfuse +GENIMAGE_LICENSE = GPL-2.0 +GENIMAGE_LICENSE_FILES = COPYING + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/genpart/0001-fix-return-code.patch b/buildroot-2022.02.1/package/genpart/0001-fix-return-code.patch similarity index 100% rename from buildroot-2021.05/package/genpart/0001-fix-return-code.patch rename to buildroot-2022.02.1/package/genpart/0001-fix-return-code.patch diff --git a/buildroot-2021.05/package/genpart/Config.in b/buildroot-2022.02.1/package/genpart/Config.in similarity index 100% rename from buildroot-2021.05/package/genpart/Config.in rename to buildroot-2022.02.1/package/genpart/Config.in diff --git a/buildroot-2021.05/package/genpart/Config.in.host b/buildroot-2022.02.1/package/genpart/Config.in.host similarity index 100% rename from buildroot-2021.05/package/genpart/Config.in.host rename to buildroot-2022.02.1/package/genpart/Config.in.host diff --git a/buildroot-2021.05/package/genpart/genpart.hash b/buildroot-2022.02.1/package/genpart/genpart.hash similarity index 100% rename from buildroot-2021.05/package/genpart/genpart.hash rename to buildroot-2022.02.1/package/genpart/genpart.hash diff --git a/buildroot-2021.05/package/genpart/genpart.mk b/buildroot-2022.02.1/package/genpart/genpart.mk similarity index 100% rename from buildroot-2021.05/package/genpart/genpart.mk rename to buildroot-2022.02.1/package/genpart/genpart.mk diff --git a/buildroot-2021.05/package/genromfs/0001-build-system.patch b/buildroot-2022.02.1/package/genromfs/0001-build-system.patch similarity index 100% rename from buildroot-2021.05/package/genromfs/0001-build-system.patch rename to buildroot-2022.02.1/package/genromfs/0001-build-system.patch diff --git a/buildroot-2021.05/package/genromfs/Config.in b/buildroot-2022.02.1/package/genromfs/Config.in similarity index 100% rename from buildroot-2021.05/package/genromfs/Config.in rename to buildroot-2022.02.1/package/genromfs/Config.in diff --git a/buildroot-2021.05/package/genromfs/genromfs.hash b/buildroot-2022.02.1/package/genromfs/genromfs.hash similarity index 100% rename from buildroot-2021.05/package/genromfs/genromfs.hash rename to buildroot-2022.02.1/package/genromfs/genromfs.hash diff --git a/buildroot-2021.05/package/genromfs/genromfs.mk b/buildroot-2022.02.1/package/genromfs/genromfs.mk similarity index 100% rename from buildroot-2021.05/package/genromfs/genromfs.mk rename to buildroot-2022.02.1/package/genromfs/genromfs.mk diff --git a/buildroot-2021.05/package/gensio/Config.in b/buildroot-2022.02.1/package/gensio/Config.in similarity index 100% rename from buildroot-2021.05/package/gensio/Config.in rename to buildroot-2022.02.1/package/gensio/Config.in diff --git a/buildroot-2022.02.1/package/gensio/gensio.hash b/buildroot-2022.02.1/package/gensio/gensio.hash new file mode 100644 index 00000000..930a2fff --- /dev/null +++ b/buildroot-2022.02.1/package/gensio/gensio.hash @@ -0,0 +1,7 @@ +# From https://sourceforge.net/projects/ser2net/files/ser2net/ +md5 45cd3a4d9058816e50351b0700a035ad gensio-2.2.9.tar.gz +sha1 4bb34517931f5be4dc5982f6e7a567cf6fdc41b8 gensio-2.2.9.tar.gz +# Locally computed: +sha256 3609f66e61c98cce181ec1b37508b727b636d7cfffdb6edd4c254d2f6097a000 gensio-2.2.9.tar.gz +sha256 501f3108e6c03e5a0a5585ebaaa369171aead5319cd0a7a4dc1f66211c1f09f1 COPYING +sha256 dcac7d447dd81ab96d28dce00a07a6486e623f7ded94e2a2a8e83312405cdf89 COPYING.LIB diff --git a/buildroot-2022.02.1/package/gensio/gensio.mk b/buildroot-2022.02.1/package/gensio/gensio.mk new file mode 100644 index 00000000..266ac137 --- /dev/null +++ b/buildroot-2022.02.1/package/gensio/gensio.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# gensio +# +################################################################################ + +GENSIO_VERSION = 2.2.9 +GENSIO_SITE = http://downloads.sourceforge.net/project/ser2net/ser2net +GENSIO_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) +GENSIO_LICENSE_FILES = COPYING.LIB COPYING +GENSIO_INSTALL_STAGING = YES +GENSIO_DEPENDENCIES = $(if $(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),avahi) +GENSIO_CONF_OPTS = \ + --without-openipmi \ + --without-swig \ + --without-python + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +GENSIO_DEPENDENCIES += host-pkgconf openssl +GENSIO_CONF_OPTS += --with-openssl +else +GENSIO_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GENSIO_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +GENSIO_CONF_OPTS += --with-pthreads +else +GENSIO_CONF_OPTS += --without-pthreads +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/geoip/Config.in b/buildroot-2022.02.1/package/geoip/Config.in similarity index 100% rename from buildroot-2021.05/package/geoip/Config.in rename to buildroot-2022.02.1/package/geoip/Config.in diff --git a/buildroot-2021.05/package/geoip/geoip.hash b/buildroot-2022.02.1/package/geoip/geoip.hash similarity index 100% rename from buildroot-2021.05/package/geoip/geoip.hash rename to buildroot-2022.02.1/package/geoip/geoip.hash diff --git a/buildroot-2021.05/package/geoip/geoip.mk b/buildroot-2022.02.1/package/geoip/geoip.mk similarity index 100% rename from buildroot-2021.05/package/geoip/geoip.mk rename to buildroot-2022.02.1/package/geoip/geoip.mk diff --git a/buildroot-2022.02.1/package/gerbera/0001-Fix-for-fmt-8-0.patch b/buildroot-2022.02.1/package/gerbera/0001-Fix-for-fmt-8-0.patch new file mode 100644 index 00000000..c4419209 --- /dev/null +++ b/buildroot-2022.02.1/package/gerbera/0001-Fix-for-fmt-8-0.patch @@ -0,0 +1,44 @@ +From 82d84ac5e62c23e717198fc7b2ef190ff95e70d1 Mon Sep 17 00:00:00 2001 +From: kyak +Date: Wed, 12 Jan 2022 19:41:37 +0300 +Subject: [PATCH] Fix for fmt > 8.0 + +[Retrieved from: +https://github.com/gerbera/gerbera/commit/82d84ac5e62c23e717198fc7b2ef190ff95e70d1] +Signed-off-by: Fabrice Fontaine +--- + src/util/logger.h | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +diff --git a/src/util/logger.h b/src/util/logger.h +index 58696e52f..ba64afa79 100644 +--- a/src/util/logger.h ++++ b/src/util/logger.h +@@ -32,7 +32,9 @@ + #ifndef __LOGGER_H__ + #define __LOGGER_H__ + ++#include + #include ++#include + + #define log_debug SPDLOG_DEBUG + #define log_info SPDLOG_INFO +@@ -40,4 +42,17 @@ + #define log_error SPDLOG_ERROR + #define log_js SPDLOG_INFO + ++#if FMT_VERSION >= 80100 ++template ++struct fmt::formatter, char>> ++ : formatter> { ++ template ++ auto format(const T& value, FormatContext& ctx) -> decltype(ctx.out()) ++ { ++ return fmt::formatter>::format( ++ static_cast>(value), ctx); ++ } ++}; ++#endif ++ + #endif // __LOGGER_H__ diff --git a/buildroot-2021.05/package/gerbera/Config.in b/buildroot-2022.02.1/package/gerbera/Config.in similarity index 100% rename from buildroot-2021.05/package/gerbera/Config.in rename to buildroot-2022.02.1/package/gerbera/Config.in diff --git a/buildroot-2021.05/package/gerbera/S99gerbera b/buildroot-2022.02.1/package/gerbera/S99gerbera similarity index 100% rename from buildroot-2021.05/package/gerbera/S99gerbera rename to buildroot-2022.02.1/package/gerbera/S99gerbera diff --git a/buildroot-2021.05/package/gerbera/config.xml b/buildroot-2022.02.1/package/gerbera/config.xml similarity index 100% rename from buildroot-2021.05/package/gerbera/config.xml rename to buildroot-2022.02.1/package/gerbera/config.xml diff --git a/buildroot-2022.02.1/package/gerbera/gerbera.hash b/buildroot-2022.02.1/package/gerbera/gerbera.hash new file mode 100644 index 00000000..5dcd364c --- /dev/null +++ b/buildroot-2022.02.1/package/gerbera/gerbera.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 dee562cc5d22e8442e2fe1620b073bda612c80f9c4a8333311c647db06c1c4cd gerbera-1.9.2.tar.gz +sha256 cae4138373be41fd2be75faf41ce7efbcf49fb17d0e05ad1c51cc01ac335b9b6 LICENSE.md diff --git a/buildroot-2022.02.1/package/gerbera/gerbera.mk b/buildroot-2022.02.1/package/gerbera/gerbera.mk new file mode 100644 index 00000000..ab49f661 --- /dev/null +++ b/buildroot-2022.02.1/package/gerbera/gerbera.mk @@ -0,0 +1,133 @@ +################################################################################ +# +# gerbera +# +################################################################################ + +GERBERA_VERSION = 1.9.2 +GERBERA_SITE = $(call github,gerbera,gerbera,v$(GERBERA_VERSION)) +GERBERA_LICENSE = GPL-2.0 +GERBERA_LICENSE_FILES = LICENSE.md +GERBERA_DEPENDENCIES = \ + fmt \ + host-pkgconf \ + pugixml \ + spdlog \ + sqlite \ + util-linux \ + zlib +GERBERA_CONF_OPTS = -DWITH_DEBUG=OFF + +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_9)$(BR2_OPTIMIZE_S),yy) +GERBERA_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -O2" +endif + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GERBERA_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +ifeq ($(BR2_PACKAGE_DUKTAPE),y) +GERBERA_DEPENDENCIES += duktape +GERBERA_CONF_OPTS += -DWITH_JS=ON +else +GERBERA_CONF_OPTS += -DWITH_JS=OFF +endif + +ifeq ($(BR2_PACKAGE_EXIV2),y) +GERBERA_DEPENDENCIES += exiv2 +GERBERA_CONF_OPTS += -DWITH_EXIV2=ON +else +GERBERA_CONF_OPTS += -DWITH_EXIV2=OFF +endif + +ifeq ($(BR2_PACKAGE_FFMPEG),y) +GERBERA_DEPENDENCIES += ffmpeg +GERBERA_CONF_OPTS += -DWITH_AVCODEC=ON +else +GERBERA_CONF_OPTS += -DWITH_AVCODEC=OFF +endif + +ifeq ($(BR2_PACKAGE_FILE),y) +GERBERA_DEPENDENCIES += file +GERBERA_CONF_OPTS += -DWITH_MAGIC=ON +else +GERBERA_CONF_OPTS += -DWITH_MAGIC=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +GERBERA_DEPENDENCIES += libcurl +GERBERA_CONF_OPTS += -DWITH_CURL=ON +else +GERBERA_CONF_OPTS += -DWITH_CURL=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBEXIF),y) +GERBERA_DEPENDENCIES += libexif +GERBERA_CONF_OPTS += -DWITH_EXIF=ON +else +GERBERA_CONF_OPTS += -DWITH_EXIF=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +GERBERA_DEPENDENCIES += libiconv +endif + +ifeq ($(BR2_PACKAGE_LIBMATROSKA),y) +GERBERA_DEPENDENCIES += libmatroska +GERBERA_CONF_OPTS += -DWITH_MATROSKA=ON +else +GERBERA_CONF_OPTS += -DWITH_MATROSKA=OFF +endif + +# Either libupnp or libnpupnp are guranteed to be enabled +ifeq ($(BR2_PACKAGE_LIBNPUPNP),y) +GERBERA_DEPENDENCIES += libnpupnp +GERBERA_CONF_OPTS += -DWITH_NPUPNP=ON +else +GERBERA_DEPENDENCIES += libupnp +GERBERA_CONF_OPTS += -DWITH_NPUPNP=OFF +endif + +ifeq ($(BR2_PACKAGE_MYSQL),y) +GERBERA_DEPENDENCIES += mysql +GERBERA_CONF_OPTS += -DWITH_MYSQL=ON +else +GERBERA_CONF_OPTS += -DWITH_MYSQL=OFF +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +GERBERA_DEPENDENCIES += systemd +GERBERA_CONF_OPTS += -DWITH_SYSTEMD=ON +else +GERBERA_CONF_OPTS += -DWITH_SYSTEMD=OFF +endif + +ifeq ($(BR2_PACKAGE_TAGLIB),y) +GERBERA_DEPENDENCIES += taglib +GERBERA_CONF_OPTS += -DWITH_TAGLIB=ON +else +GERBERA_CONF_OPTS += -DWITH_TAGLIB=OFF +endif + +# gerbera does not provide a default configuration file, it can be +# created during run time through --create-config: +# http://docs.gerbera.io/en/latest/config-overview.html#generating-configuration +# However, to have a correct home directory and UDN, install it ourself +define GERBERA_INSTALL_CONFIGURATION + $(INSTALL) -D -m 0644 package/gerbera/config.xml \ + $(TARGET_DIR)/etc/gerbera/config.xml +endef + +GERBERA_POST_INSTALL_TARGET_HOOKS += GERBERA_INSTALL_CONFIGURATION + +define GERBERA_USERS + gerbera -1 gerbera -1 * /var/lib/gerbera - - Gerbera user +endef + +define GERBERA_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/gerbera/S99gerbera \ + $(TARGET_DIR)/etc/init.d/S99gerbera +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/gesftpserver/0001-Change-order-of-v3-attributes-according-to-draft-iet.patch b/buildroot-2022.02.1/package/gesftpserver/0001-Change-order-of-v3-attributes-according-to-draft-iet.patch similarity index 100% rename from buildroot-2021.05/package/gesftpserver/0001-Change-order-of-v3-attributes-according-to-draft-iet.patch rename to buildroot-2022.02.1/package/gesftpserver/0001-Change-order-of-v3-attributes-according-to-draft-iet.patch diff --git a/buildroot-2021.05/package/gesftpserver/Config.in b/buildroot-2022.02.1/package/gesftpserver/Config.in similarity index 100% rename from buildroot-2021.05/package/gesftpserver/Config.in rename to buildroot-2022.02.1/package/gesftpserver/Config.in diff --git a/buildroot-2021.05/package/gesftpserver/gesftpserver.hash b/buildroot-2022.02.1/package/gesftpserver/gesftpserver.hash similarity index 100% rename from buildroot-2021.05/package/gesftpserver/gesftpserver.hash rename to buildroot-2022.02.1/package/gesftpserver/gesftpserver.hash diff --git a/buildroot-2022.02.1/package/gesftpserver/gesftpserver.mk b/buildroot-2022.02.1/package/gesftpserver/gesftpserver.mk new file mode 100644 index 00000000..20ad92d2 --- /dev/null +++ b/buildroot-2022.02.1/package/gesftpserver/gesftpserver.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# gesftpserver +# +################################################################################ + +GESFTPSERVER_VERSION = 1 +GESFTPSERVER_SOURCE = sftpserver-$(GESFTPSERVER_VERSION).tar.gz +GESFTPSERVER_SITE = http://www.greenend.org.uk/rjk/sftpserver +GESFTPSERVER_LICENSE = GPL-2.0+ +GESFTPSERVER_LICENSE_FILES = COPYING + +# "Missing prototype" warning treated as error +GESFTPSERVER_CONF_OPTS = --disable-warnings-as-errors +GESFTPSERVER_CPE_ID_VENDOR = green_end +GESFTPSERVER_CPE_ID_PRODUCT = sftpserver + +# forgets to link against pthread when cross compiling +GESFTPSERVER_CONF_ENV = LIBS=-lpthread + +# overwrite openssh version if enabled +GESFTPSERVER_DEPENDENCIES += \ + $(if $(BR2_ENABLE_LOCALE),,libiconv) \ + $(if $(BR2_PACKAGE_OPENSSH),openssh) + +# Python on the host is only used for tests, which we don't use in +# Buildroot +GESFTPSERVER_CONF_ENV += rjk_cv_python24=false + +# openssh/dropbear looks here +define GESFTPSERVER_ADD_SYMLINK + ln -sf gesftpserver $(TARGET_DIR)/usr/libexec/sftp-server +endef + +GESFTPSERVER_POST_INSTALL_TARGET_HOOKS += GESFTPSERVER_ADD_SYMLINK + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/getent/Config.in b/buildroot-2022.02.1/package/getent/Config.in similarity index 100% rename from buildroot-2021.05/package/getent/Config.in rename to buildroot-2022.02.1/package/getent/Config.in diff --git a/buildroot-2021.05/package/getent/getent b/buildroot-2022.02.1/package/getent/getent similarity index 100% rename from buildroot-2021.05/package/getent/getent rename to buildroot-2022.02.1/package/getent/getent diff --git a/buildroot-2021.05/package/getent/getent.mk b/buildroot-2022.02.1/package/getent/getent.mk similarity index 100% rename from buildroot-2021.05/package/getent/getent.mk rename to buildroot-2022.02.1/package/getent/getent.mk diff --git a/buildroot-2021.05/package/gettext-gnu/0001-error_print_progname.patch b/buildroot-2022.02.1/package/gettext-gnu/0001-error_print_progname.patch similarity index 100% rename from buildroot-2021.05/package/gettext-gnu/0001-error_print_progname.patch rename to buildroot-2022.02.1/package/gettext-gnu/0001-error_print_progname.patch diff --git a/buildroot-2021.05/package/gettext-gnu/0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch b/buildroot-2022.02.1/package/gettext-gnu/0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch similarity index 100% rename from buildroot-2021.05/package/gettext-gnu/0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch rename to buildroot-2022.02.1/package/gettext-gnu/0002-restore-the-ability-to-buld-gettext-tools-seperately-part1.patch diff --git a/buildroot-2021.05/package/gettext-gnu/Config.in b/buildroot-2022.02.1/package/gettext-gnu/Config.in similarity index 100% rename from buildroot-2021.05/package/gettext-gnu/Config.in rename to buildroot-2022.02.1/package/gettext-gnu/Config.in diff --git a/buildroot-2021.05/package/gettext-gnu/gettext-gnu.hash b/buildroot-2022.02.1/package/gettext-gnu/gettext-gnu.hash similarity index 100% rename from buildroot-2021.05/package/gettext-gnu/gettext-gnu.hash rename to buildroot-2022.02.1/package/gettext-gnu/gettext-gnu.hash diff --git a/buildroot-2021.05/package/gettext-gnu/gettext-gnu.mk b/buildroot-2022.02.1/package/gettext-gnu/gettext-gnu.mk similarity index 100% rename from buildroot-2021.05/package/gettext-gnu/gettext-gnu.mk rename to buildroot-2022.02.1/package/gettext-gnu/gettext-gnu.mk diff --git a/buildroot-2021.05/package/gettext-tiny/Config.in b/buildroot-2022.02.1/package/gettext-tiny/Config.in similarity index 100% rename from buildroot-2021.05/package/gettext-tiny/Config.in rename to buildroot-2022.02.1/package/gettext-tiny/Config.in diff --git a/buildroot-2021.05/package/gettext-tiny/gettext-tiny.hash b/buildroot-2022.02.1/package/gettext-tiny/gettext-tiny.hash similarity index 100% rename from buildroot-2021.05/package/gettext-tiny/gettext-tiny.hash rename to buildroot-2022.02.1/package/gettext-tiny/gettext-tiny.hash diff --git a/buildroot-2021.05/package/gettext-tiny/gettext-tiny.mk b/buildroot-2022.02.1/package/gettext-tiny/gettext-tiny.mk similarity index 100% rename from buildroot-2021.05/package/gettext-tiny/gettext-tiny.mk rename to buildroot-2022.02.1/package/gettext-tiny/gettext-tiny.mk diff --git a/buildroot-2021.05/package/gettext-tiny/gettext-wrapper b/buildroot-2022.02.1/package/gettext-tiny/gettext-wrapper similarity index 100% rename from buildroot-2021.05/package/gettext-tiny/gettext-wrapper rename to buildroot-2022.02.1/package/gettext-tiny/gettext-wrapper diff --git a/buildroot-2021.05/package/gettext/Config.in b/buildroot-2022.02.1/package/gettext/Config.in similarity index 100% rename from buildroot-2021.05/package/gettext/Config.in rename to buildroot-2022.02.1/package/gettext/Config.in diff --git a/buildroot-2021.05/package/gettext/gettext.mk b/buildroot-2022.02.1/package/gettext/gettext.mk similarity index 100% rename from buildroot-2021.05/package/gettext/gettext.mk rename to buildroot-2022.02.1/package/gettext/gettext.mk diff --git a/buildroot-2021.05/package/gflags/Config.in b/buildroot-2022.02.1/package/gflags/Config.in similarity index 100% rename from buildroot-2021.05/package/gflags/Config.in rename to buildroot-2022.02.1/package/gflags/Config.in diff --git a/buildroot-2021.05/package/gflags/gflags.hash b/buildroot-2022.02.1/package/gflags/gflags.hash similarity index 100% rename from buildroot-2021.05/package/gflags/gflags.hash rename to buildroot-2022.02.1/package/gflags/gflags.hash diff --git a/buildroot-2021.05/package/gflags/gflags.mk b/buildroot-2022.02.1/package/gflags/gflags.mk similarity index 100% rename from buildroot-2021.05/package/gflags/gflags.mk rename to buildroot-2022.02.1/package/gflags/gflags.mk diff --git a/buildroot-2021.05/package/ghostscript-fonts/Config.in b/buildroot-2022.02.1/package/ghostscript-fonts/Config.in similarity index 100% rename from buildroot-2021.05/package/ghostscript-fonts/Config.in rename to buildroot-2022.02.1/package/ghostscript-fonts/Config.in diff --git a/buildroot-2021.05/package/ghostscript-fonts/ghostscript-fonts.hash b/buildroot-2022.02.1/package/ghostscript-fonts/ghostscript-fonts.hash similarity index 100% rename from buildroot-2021.05/package/ghostscript-fonts/ghostscript-fonts.hash rename to buildroot-2022.02.1/package/ghostscript-fonts/ghostscript-fonts.hash diff --git a/buildroot-2021.05/package/ghostscript-fonts/ghostscript-fonts.mk b/buildroot-2022.02.1/package/ghostscript-fonts/ghostscript-fonts.mk similarity index 100% rename from buildroot-2021.05/package/ghostscript-fonts/ghostscript-fonts.mk rename to buildroot-2022.02.1/package/ghostscript-fonts/ghostscript-fonts.mk diff --git a/buildroot-2022.02.1/package/ghostscript/0001-Bug-704405-Fix-typo-in-non-forked-lcms2-code.patch b/buildroot-2022.02.1/package/ghostscript/0001-Bug-704405-Fix-typo-in-non-forked-lcms2-code.patch new file mode 100644 index 00000000..bb1227f6 --- /dev/null +++ b/buildroot-2022.02.1/package/ghostscript/0001-Bug-704405-Fix-typo-in-non-forked-lcms2-code.patch @@ -0,0 +1,28 @@ +From 830afae5454dea3bff903869d82022306890a96c Mon Sep 17 00:00:00 2001 +From: Robin Watts +Date: Fri, 1 Oct 2021 12:44:44 +0100 +Subject: [PATCH] Bug 704405: Fix typo in non-forked lcms2 code. + +[Retrieved from: +https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=830afae5454dea3bff903869d82022306890a96c] +Signed-off-by: Fabrice Fontaine +--- + base/gsicc_lcms2.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/base/gsicc_lcms2.c b/base/gsicc_lcms2.c +index ccf1d7051..9badb6dee 100644 +--- a/base/gsicc_lcms2.c ++++ b/base/gsicc_lcms2.c +@@ -462,7 +462,7 @@ int + gscms_transform_color(gx_device *dev, gsicc_link_t *icclink, void *inputcolor, + void *outputcolor, int num_bytes) + { +- return gscms_transformm_color_const(dev, icclink, inputcolor, outputcolor, num_bytes); ++ return gscms_transform_color_const(dev, icclink, inputcolor, outputcolor, num_bytes); + } + + int +-- +2.25.1 + diff --git a/buildroot-2021.05/package/ghostscript/Config.in b/buildroot-2022.02.1/package/ghostscript/Config.in similarity index 100% rename from buildroot-2021.05/package/ghostscript/Config.in rename to buildroot-2022.02.1/package/ghostscript/Config.in diff --git a/buildroot-2022.02.1/package/ghostscript/ghostscript.hash b/buildroot-2022.02.1/package/ghostscript/ghostscript.hash new file mode 100644 index 00000000..95305a5e --- /dev/null +++ b/buildroot-2022.02.1/package/ghostscript/ghostscript.hash @@ -0,0 +1,5 @@ +# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9550/SHA512SUMS +sha512 3646b7981dced443559ba97c74c08463139e86a5479661e4dcd217c51e3f8e766da9cf4d7889a98ba3c079a17e9e5b452cc765b633e0720deab2337e77efdd09 ghostscript-9.55.0.tar.gz + +# Hash for license file: +sha256 8ce064f423b7c24a011b6ebf9431b8bf9861a5255e47c84bfb23fc526d030a8b LICENSE diff --git a/buildroot-2022.02.1/package/ghostscript/ghostscript.mk b/buildroot-2022.02.1/package/ghostscript/ghostscript.mk new file mode 100644 index 00000000..02cb35fc --- /dev/null +++ b/buildroot-2022.02.1/package/ghostscript/ghostscript.mk @@ -0,0 +1,90 @@ +################################################################################ +# +# ghostscript +# +################################################################################ + +GHOSTSCRIPT_VERSION = 9.55.0 +GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs$(subst .,,$(GHOSTSCRIPT_VERSION)) +GHOSTSCRIPT_LICENSE = AGPL-3.0 +GHOSTSCRIPT_LICENSE_FILES = LICENSE +GHOSTSCRIPT_CPE_ID_VENDOR = artifex +GHOSTSCRIPT_DEPENDENCIES = \ + host-lcms2 \ + host-libjpeg \ + host-pkgconf \ + host-zlib \ + fontconfig \ + ghostscript-fonts \ + jpeg \ + lcms2 \ + libpng \ + tiff + +# Ghostscript includes (old) copies of several libraries, delete them. +# Inspired by linuxfromscratch: +# http://www.linuxfromscratch.org/blfs/view/svn/pst/gs.html +define GHOSTSCRIPT_REMOVE_LIBS + rm -rf $(@D)/freetype $(@D)/ijs $(@D)/jbig2dec $(@D)/jpeg \ + $(@D)/lcms2mt $(@D)/libpng $(@D)/openjpeg $(@D)/tiff \ + $(@D)/zlib +endef +GHOSTSCRIPT_POST_PATCH_HOOKS += GHOSTSCRIPT_REMOVE_LIBS + +GHOSTSCRIPT_CONF_ENV = \ + CCAUX="$(HOSTCC)" \ + CFLAGSAUX="$(HOST_CFLAGS) $(HOST_LDFLAGS)" \ + PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" + +GHOSTSCRIPT_CONF_OPTS = \ + --disable-compile-inits \ + --enable-fontconfig \ + --with-fontpath=/usr/share/fonts \ + --enable-freetype \ + --disable-gtk \ + --without-libpaper \ + --without-pdf \ + --with-system-libtiff + +ifeq ($(BR2_PACKAGE_JBIG2DEC),y) +GHOSTSCRIPT_DEPENDENCIES += jbig2dec +GHOSTSCRIPT_CONF_OPTS += --with-jbig2dec +else +GHOSTSCRIPT_CONF_OPTS += --without-jbig2dec +endif + +ifeq ($(BR2_PACKAGE_LIBIDN),y) +GHOSTSCRIPT_DEPENDENCIES += libidn +GHOSTSCRIPT_CONF_OPTS += --with-libidn +else +GHOSTSCRIPT_CONF_OPTS += --without-libidn +endif + +ifeq ($(BR2_PACKAGE_OPENJPEG),y) +GHOSTSCRIPT_DEPENDENCIES += openjpeg +GHOSTSCRIPT_CONF_OPTS += --enable-openjpeg +else +GHOSTSCRIPT_CONF_OPTS += --disable-openjpeg +endif + +ifeq ($(BR2_PACKAGE_CUPS),y) +GHOSTSCRIPT_DEPENDENCIES += cups +GHOSTSCRIPT_CONF_OPTS += \ + CUPSCONFIG=$(STAGING_DIR)/usr/bin/cups-config \ + --enable-cups +else +GHOSTSCRIPT_CONF_OPTS += --disable-cups +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +GHOSTSCRIPT_DEPENDENCIES += xlib_libX11 +GHOSTSCRIPT_CONF_OPTS += --with-x +else +GHOSTSCRIPT_CONF_OPTS += --without-x +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) +GHOSTSCRIPT_CONF_OPTS += --without-tesseract +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/giblib/0001-fix-imlib2-detection.patch b/buildroot-2022.02.1/package/giblib/0001-fix-imlib2-detection.patch similarity index 100% rename from buildroot-2021.05/package/giblib/0001-fix-imlib2-detection.patch rename to buildroot-2022.02.1/package/giblib/0001-fix-imlib2-detection.patch diff --git a/buildroot-2021.05/package/giblib/Config.in b/buildroot-2022.02.1/package/giblib/Config.in similarity index 100% rename from buildroot-2021.05/package/giblib/Config.in rename to buildroot-2022.02.1/package/giblib/Config.in diff --git a/buildroot-2021.05/package/giblib/giblib.hash b/buildroot-2022.02.1/package/giblib/giblib.hash similarity index 100% rename from buildroot-2021.05/package/giblib/giblib.hash rename to buildroot-2022.02.1/package/giblib/giblib.hash diff --git a/buildroot-2021.05/package/giblib/giblib.mk b/buildroot-2022.02.1/package/giblib/giblib.mk similarity index 100% rename from buildroot-2021.05/package/giblib/giblib.mk rename to buildroot-2022.02.1/package/giblib/giblib.mk diff --git a/buildroot-2021.05/package/giflib/0001-Makefile-add-targets-to-manage-static-building.patch b/buildroot-2022.02.1/package/giflib/0001-Makefile-add-targets-to-manage-static-building.patch similarity index 100% rename from buildroot-2021.05/package/giflib/0001-Makefile-add-targets-to-manage-static-building.patch rename to buildroot-2022.02.1/package/giflib/0001-Makefile-add-targets-to-manage-static-building.patch diff --git a/buildroot-2021.05/package/giflib/Config.in b/buildroot-2022.02.1/package/giflib/Config.in similarity index 100% rename from buildroot-2021.05/package/giflib/Config.in rename to buildroot-2022.02.1/package/giflib/Config.in diff --git a/buildroot-2021.05/package/giflib/giflib.hash b/buildroot-2022.02.1/package/giflib/giflib.hash similarity index 100% rename from buildroot-2021.05/package/giflib/giflib.hash rename to buildroot-2022.02.1/package/giflib/giflib.hash diff --git a/buildroot-2021.05/package/giflib/giflib.mk b/buildroot-2022.02.1/package/giflib/giflib.mk similarity index 100% rename from buildroot-2021.05/package/giflib/giflib.mk rename to buildroot-2022.02.1/package/giflib/giflib.mk diff --git a/buildroot-2021.05/package/git-crypt/Config.in b/buildroot-2022.02.1/package/git-crypt/Config.in similarity index 100% rename from buildroot-2021.05/package/git-crypt/Config.in rename to buildroot-2022.02.1/package/git-crypt/Config.in diff --git a/buildroot-2021.05/package/git-crypt/git-crypt.hash b/buildroot-2022.02.1/package/git-crypt/git-crypt.hash similarity index 100% rename from buildroot-2021.05/package/git-crypt/git-crypt.hash rename to buildroot-2022.02.1/package/git-crypt/git-crypt.hash diff --git a/buildroot-2021.05/package/git-crypt/git-crypt.mk b/buildroot-2022.02.1/package/git-crypt/git-crypt.mk similarity index 100% rename from buildroot-2021.05/package/git-crypt/git-crypt.mk rename to buildroot-2022.02.1/package/git-crypt/git-crypt.mk diff --git a/buildroot-2021.05/package/git/0001-Fix-build-without-threads.patch b/buildroot-2022.02.1/package/git/0001-Fix-build-without-threads.patch similarity index 100% rename from buildroot-2021.05/package/git/0001-Fix-build-without-threads.patch rename to buildroot-2022.02.1/package/git/0001-Fix-build-without-threads.patch diff --git a/buildroot-2021.05/package/git/Config.in b/buildroot-2022.02.1/package/git/Config.in similarity index 100% rename from buildroot-2021.05/package/git/Config.in rename to buildroot-2022.02.1/package/git/Config.in diff --git a/buildroot-2021.05/package/git/git.hash b/buildroot-2022.02.1/package/git/git.hash similarity index 100% rename from buildroot-2021.05/package/git/git.hash rename to buildroot-2022.02.1/package/git/git.hash diff --git a/buildroot-2022.02.1/package/git/git.mk b/buildroot-2022.02.1/package/git/git.mk new file mode 100644 index 00000000..90b1acd6 --- /dev/null +++ b/buildroot-2022.02.1/package/git/git.mk @@ -0,0 +1,84 @@ +################################################################################ +# +# git +# +################################################################################ + +GIT_VERSION = 2.31.1 +GIT_SOURCE = git-$(GIT_VERSION).tar.xz +GIT_SITE = $(BR2_KERNEL_MIRROR)/software/scm/git +GIT_LICENSE = GPL-2.0, LGPL-2.1+ +GIT_LICENSE_FILES = COPYING LGPL-2.1 +GIT_CPE_ID_VENDOR = git-scm +GIT_SELINUX_MODULES = apache git xdg +GIT_DEPENDENCIES = zlib $(TARGET_NLS_DEPENDENCIES) +# We're patching configure.ac +GIT_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +GIT_DEPENDENCIES += host-pkgconf openssl +GIT_CONF_OPTS += --with-openssl +GIT_MAKE_OPTS += LIB_4_CRYPTO="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" +else +GIT_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_PACKAGE_PCRE2),y) +GIT_DEPENDENCIES += pcre2 +GIT_CONF_OPTS += --with-libpcre2 +else +GIT_CONF_OPTS += --without-libpcre2 +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +GIT_DEPENDENCIES += libcurl +GIT_CONF_OPTS += --with-curl +GIT_CONF_ENV += \ + ac_cv_prog_CURL_CONFIG=$(STAGING_DIR)/usr/bin/$(LIBCURL_CONFIG_SCRIPTS) +else +GIT_CONF_OPTS += --without-curl +endif + +ifeq ($(BR2_PACKAGE_EXPAT),y) +GIT_DEPENDENCIES += expat +GIT_CONF_OPTS += --with-expat +else +GIT_CONF_OPTS += --without-expat +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +GIT_DEPENDENCIES += libiconv +GIT_CONF_ENV_LIBS += -liconv +GIT_CONF_OPTS += --with-iconv=/usr/lib +else +GIT_CONF_OPTS += --without-iconv +endif + +ifeq ($(BR2_PACKAGE_TCL),y) +GIT_DEPENDENCIES += tcl +GIT_CONF_OPTS += --with-tcltk +else +GIT_CONF_OPTS += --without-tcltk +endif + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),) +GIT_MAKE_OPTS += NO_GETTEXT=1 +endif + +GIT_CFLAGS = $(TARGET_CFLAGS) + +ifneq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180)$(BR2_TOOLCHAIN_HAS_GCC_BUG_93847),) +GIT_CFLAGS += -O0 +endif + +GIT_CONF_OPTS += CFLAGS="$(GIT_CFLAGS)" + +GIT_INSTALL_TARGET_OPTS = $(GIT_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install + +# assume yes for these tests, configure will bail out otherwise +# saying error: cannot run test program while cross compiling +GIT_CONF_ENV += \ + ac_cv_fread_reads_directories=yes \ + ac_cv_snprintf_returns_bogus=yes LIBS='$(GIT_CONF_ENV_LIBS)' + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gkrellm/Config.in b/buildroot-2022.02.1/package/gkrellm/Config.in similarity index 100% rename from buildroot-2021.05/package/gkrellm/Config.in rename to buildroot-2022.02.1/package/gkrellm/Config.in diff --git a/buildroot-2021.05/package/gkrellm/gkrellm.hash b/buildroot-2022.02.1/package/gkrellm/gkrellm.hash similarity index 100% rename from buildroot-2021.05/package/gkrellm/gkrellm.hash rename to buildroot-2022.02.1/package/gkrellm/gkrellm.hash diff --git a/buildroot-2021.05/package/gkrellm/gkrellm.mk b/buildroot-2022.02.1/package/gkrellm/gkrellm.mk similarity index 100% rename from buildroot-2021.05/package/gkrellm/gkrellm.mk rename to buildroot-2022.02.1/package/gkrellm/gkrellm.mk diff --git a/buildroot-2022.02.1/package/gli/0001-Optional-building-tests.patch b/buildroot-2022.02.1/package/gli/0001-Optional-building-tests.patch new file mode 100644 index 00000000..c085e506 --- /dev/null +++ b/buildroot-2022.02.1/package/gli/0001-Optional-building-tests.patch @@ -0,0 +1,45 @@ +From 629fc81ce73114a5925484937df796467adbe8c7 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jo=C3=A3o=20Pereira?= +Date: Fri, 22 Mar 2019 22:58:17 +0000 +Subject: [PATCH] Optional building tests + +[Retrieved from: +https://github.com/g-truc/gli/commit/629fc81ce73114a5925484937df796467adbe8c7] +Signed-off-by: Fabrice Fontaine +--- + CMakeLists.txt | 1 + + test/CMakeLists.txt | 8 +++++--- + 2 files changed, 6 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 6eb1a68b..bcff7ef0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -13,6 +13,7 @@ include(GNUInstallDirs) + include(CMakePackageConfigHelpers) + + enable_testing() ++option(GLI_TEST_ENABLE "Build unit tests" ON) + + add_definitions(-D_CRT_SECURE_NO_WARNINGS) + add_definitions(-DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}") +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index 6b1d4826..e51a3181 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -19,10 +19,12 @@ function(glmCreateTestGTC NAME) + set(SAMPLE_NAME test-${NAME}) + add_executable(${SAMPLE_NAME} ${NAME}.cpp) + target_link_libraries(${SAMPLE_NAME} gli) +- add_test( ++ add_test( + NAME ${SAMPLE_NAME} + COMMAND $ ) + endfunction() + +-add_subdirectory(bug) +-add_subdirectory(core) ++if(GLI_TEST_ENABLE) ++ add_subdirectory(bug) ++ add_subdirectory(core) ++endif() diff --git a/buildroot-2021.05/package/gli/Config.in b/buildroot-2022.02.1/package/gli/Config.in similarity index 100% rename from buildroot-2021.05/package/gli/Config.in rename to buildroot-2022.02.1/package/gli/Config.in diff --git a/buildroot-2021.05/package/gli/gli.hash b/buildroot-2022.02.1/package/gli/gli.hash similarity index 100% rename from buildroot-2021.05/package/gli/gli.hash rename to buildroot-2022.02.1/package/gli/gli.hash diff --git a/buildroot-2022.02.1/package/gli/gli.mk b/buildroot-2022.02.1/package/gli/gli.mk new file mode 100644 index 00000000..9b999091 --- /dev/null +++ b/buildroot-2022.02.1/package/gli/gli.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# gli +# +################################################################################ + +GLI_VERSION = 559cbe1ec38878e182507d331e0780fbae5baf15 +GLI_SITE = $(call github,g-truc,gli,$(GLI_VERSION)) +GLI_LICENSE = MIT +GLI_LICENSE_FILES = manual.md + +# GLI is a header-only library, it only makes sense +# to have it installed into the staging directory. +GLI_INSTALL_STAGING = YES +GLI_INSTALL_TARGET = NO + +GLI_CONF_OPTS = -DGLI_TEST_ENABLE=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/glib-networking/0001-meson-change-std-to-gnu99.patch b/buildroot-2022.02.1/package/glib-networking/0001-meson-change-std-to-gnu99.patch new file mode 100644 index 00000000..9f266bc2 --- /dev/null +++ b/buildroot-2022.02.1/package/glib-networking/0001-meson-change-std-to-gnu99.patch @@ -0,0 +1,30 @@ +From cdfa726bae1d82b7bd3735475fc2b2c6a31c1d2f Mon Sep 17 00:00:00 2001 +From: Ignacio Casal Quinteiro +Date: Fri, 12 Nov 2021 11:51:33 +0100 +Subject: [PATCH] meson: change std to gnu99 + +This is the same as glib and should fix issues with old +compilers + +(cherry picked from commit b192086b9936602a40a14d00a6883b339b9d7955) +Signed-off-by: Thomas Devoogdt +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index b018ca7b..130a2bf0 100644 +--- a/meson.build ++++ b/meson.build +@@ -3,7 +3,7 @@ project( + version: '2.70.0', + license: 'LGPL2.1+', + meson_version: '>= 0.50.0', +- default_options: ['c_std=c99'] ++ default_options: ['c_std=gnu99'] + ) + + prefix = get_option('prefix') +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/glib-networking/Config.in b/buildroot-2022.02.1/package/glib-networking/Config.in new file mode 100644 index 00000000..9c5d36af --- /dev/null +++ b/buildroot-2022.02.1/package/glib-networking/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_GLIB_NETWORKING + bool "glib-networking" + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_P11_KIT if BR2_PACKAGE_GNUTLS + help + Network-related GIO modules for glib. + + https://gitlab.gnome.org/GNOME/glib-networking + +comment "glib-networking needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/glib-networking/glib-networking.hash b/buildroot-2022.02.1/package/glib-networking/glib-networking.hash new file mode 100644 index 00000000..347ef677 --- /dev/null +++ b/buildroot-2022.02.1/package/glib-networking/glib-networking.hash @@ -0,0 +1,3 @@ +# From http://ftp.gnome.org/pub/gnome/sources/glib-networking/2.70/glib-networking-2.70.1.sha256sum +sha256 2a16bfc2d271ccd3266e3fb462bc8a4103c02e81bbb339aa92d6fb060592d7bc glib-networking-2.70.1.tar.xz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/glib-networking/glib-networking.mk b/buildroot-2022.02.1/package/glib-networking/glib-networking.mk new file mode 100644 index 00000000..e8905dff --- /dev/null +++ b/buildroot-2022.02.1/package/glib-networking/glib-networking.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# glib-networking +# +################################################################################ + +GLIB_NETWORKING_VERSION_MAJOR = 2.70 +GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).1 +GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR) +GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz +GLIB_NETWORKING_INSTALL_STAGING = YES +GLIB_NETWORKING_DEPENDENCIES = \ + $(TARGET_NLS_DEPENDENCIES) \ + host-pkgconf \ + libglib2 + +GLIB_NETWORKING_CONF_OPTS = \ + -Dlibproxy=disabled \ + -Dgnome_proxy=disabled + +GLIB_NETWORKING_LICENSE = LGPL-2.0+ +GLIB_NETWORKING_LICENSE_FILES = COPYING +GLIB_NETWORKING_CPE_ID_VENDOR = gnome +GLIB_NETWORKING_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) \ + GIO_MODULE_DIR=/usr/lib/gio/modules install + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +GLIB_NETWORKING_DEPENDENCIES += gnutls +GLIB_NETWORKING_CONF_OPTS += -Dgnutls=enabled +else +GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +GLIB_NETWORKING_DEPENDENCIES += openssl +GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled +else +GLIB_NETWORKING_CONF_OPTS += -Dopenssl=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/glibc/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0001-sysdeps-unix-sysv-linux-microblaze-pselect32.c-add-m.patch b/buildroot-2022.02.1/package/glibc/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0001-sysdeps-unix-sysv-linux-microblaze-pselect32.c-add-m.patch new file mode 100644 index 00000000..3597cd6a --- /dev/null +++ b/buildroot-2022.02.1/package/glibc/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0001-sysdeps-unix-sysv-linux-microblaze-pselect32.c-add-m.patch @@ -0,0 +1,85 @@ +From af06fe63f9babb6d0179ae5d7d9245daada6bf56 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sun, 26 Dec 2021 10:30:01 +0100 +Subject: [PATCH] sysdeps/unix/sysv/linux/microblaze/pselect32.c: add missing + implementation when !__ASSUME_TIME64_SYSCALLS + +In commit a92f4e6299fe0e3cb6f77e79de00817aece501ce ("linux: Add time64 +pselect support"), a Microblaze specific implementation of +__pselect32() was added to cover the case of kernels < 3.15 which lack +the pselect6 system call. + +This new file sysdeps/unix/sysv/linux/microblaze/pselect32.c takes +precedence over the default implementation +sysdeps/unix/sysv/linux/pselect32.c. + +However sysdeps/unix/sysv/linux/pselect32.c provides an implementation +of __pselect32() which is needed when __ASSUME_TIME64_SYSCALLS is not +defined. On Microblaze, which is a 32-bit architecture, +__ASSUME_TIME64_SYSCALLS is only true for kernels >= 5.1. + +Due to sysdeps/unix/sysv/linux/microblaze/pselect32.c taking +precedence over sysdeps/unix/sysv/linux/pselect32.c, it means that +when we are with a kernel >= 3.15 but < 5.1, we need a __pselect32() +implementation, but sysdeps/unix/sysv/linux/microblaze/pselect32.c +doesn't provide it, and sysdeps/unix/sysv/linux/pselect32.c which +would provide it is not compiled in. + +This causes the following build failure on Microblaze with for example +Linux kernel headers 4.9: + +/home/thomas/buildroot/buildroot/output/host/lib/gcc/microblazeel-buildroot-linux-gnu/10.3.0/../../../../microblazeel-buildroot-linux-gnu/bin/ld: /home/thomas/buildroot/buildroot/output/build/glibc-2.34-9-g9acab0bba6a5a57323b1f94bf95b21618a9e5aa4/build/libc_pic.os: in function `__pselect64': +(.text+0x120b44): undefined reference to `__pselect32' +collect2: error: ld returned 1 exit status + +To fix this, we take a crude approach: replicate in +sysdeps/unix/sysv/linux/microblaze/pselect32.c the +!__ASSUME_TIME64_SYSCALLS implementation that is already in +sysdeps/unix/sysv/linux/pselect32.c. + +Upstream: https://sourceware.org/pipermail/libc-alpha/2021-December/134635.html +Signed-off-by: Thomas Petazzoni +--- + .../unix/sysv/linux/microblaze/pselect32.c | 22 +++++++++++++++++-- + 1 file changed, 20 insertions(+), 2 deletions(-) + +diff --git a/sysdeps/unix/sysv/linux/microblaze/pselect32.c b/sysdeps/unix/sysv/linux/microblaze/pselect32.c +index 70b7b52a48..6b6b3e8a2e 100644 +--- a/sysdeps/unix/sysv/linux/microblaze/pselect32.c ++++ b/sysdeps/unix/sysv/linux/microblaze/pselect32.c +@@ -22,7 +22,25 @@ + #include + #include + +-#ifndef __ASSUME_PSELECT ++#if !defined(__ASSUME_TIME64_SYSCALLS) ++int ++__pselect32 (int nfds, fd_set *readfds, fd_set *writefds, ++ fd_set *exceptfds, const struct __timespec64 *timeout, ++ const sigset_t *sigmask) ++{ ++ struct timespec ts32, *pts32 = NULL; ++ if (timeout != NULL) ++ { ++ ts32 = valid_timespec64_to_timespec (*timeout); ++ pts32 = &ts32; ++ } ++ ++ return SYSCALL_CANCEL (pselect6, nfds, readfds, writefds, exceptfds, ++ pts32, ++ ((__syscall_ulong_t[]){ (uintptr_t) sigmask, ++ __NSIG_BYTES })); ++} ++#elif !defined(__ASSUME_PSELECT) + int + __pselect32 (int nfds, fd_set *readfds, fd_set *writefds, + fd_set *exceptfds, const struct __timespec64 *timeout, +@@ -57,4 +75,4 @@ __pselect32 (int nfds, fd_set *readfds, fd_set *writefds, + + return ret; + } +-#endif /* __ASSUME_PSELECT */ ++#endif +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/glibc/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/glibc.hash b/buildroot-2022.02.1/package/glibc/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/glibc.hash new file mode 100644 index 00000000..dfd93902 --- /dev/null +++ b/buildroot-2022.02.1/package/glibc/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/glibc.hash @@ -0,0 +1,7 @@ +# Locally calculated (fetched from Github) +sha256 3c299a21468a80356b848ca341f45551616c4928a6c871e6d45cee942e8b0f24 glibc-2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c.tar.gz + +# Hashes for license files +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB +sha256 b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc LICENSES diff --git a/buildroot-2022.02.1/package/glibc/Config.in b/buildroot-2022.02.1/package/glibc/Config.in new file mode 100644 index 00000000..8e9ddac7 --- /dev/null +++ b/buildroot-2022.02.1/package/glibc/Config.in @@ -0,0 +1,31 @@ +if BR2_TOOLCHAIN_BUILDROOT_GLIBC + +comment "Glibc Options" + +config BR2_PACKAGE_GLIBC + bool + default y + select BR2_PACKAGE_LINUX_HEADERS + select BR2_TOOLCHAIN_HAS_SSP if BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI + help + https://www.gnu.org/software/libc/ + +config BR2_PACKAGE_GLIBC_KERNEL_COMPAT + bool "Enable compatibiltiy shims to run on older kernels" + help + Say 'y' here if you plan on running your system on a kernel + older than the version used for the toolchain headers. + + Enabling those compatibility shims may generate a slightly + bigger and slightly slower glibc library. + + The oldest supported kernel version depends on the + architecture. + +config BR2_PACKAGE_GLIBC_UTILS + bool "Install glibc utilities" + help + Enabling this option will compile and install the getconf, + ldconfig, ldd and locale glibc utilities for the target. + +endif # BR2_TOOLCHAIN_BUILDROOT_GLIBC diff --git a/buildroot-2021.05/package/glibc/glibc.hash b/buildroot-2022.02.1/package/glibc/glibc.hash similarity index 100% rename from buildroot-2021.05/package/glibc/glibc.hash rename to buildroot-2022.02.1/package/glibc/glibc.hash diff --git a/buildroot-2022.02.1/package/glibc/glibc.mk b/buildroot-2022.02.1/package/glibc/glibc.mk new file mode 100644 index 00000000..2702994c --- /dev/null +++ b/buildroot-2022.02.1/package/glibc/glibc.mk @@ -0,0 +1,174 @@ +################################################################################ +# +# glibc +# +################################################################################ + +# Generate version string using: +# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- +# When updating the version, please also update localedef +GLIBC_VERSION = 2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c +# Upstream doesn't officially provide an https download link. +# There is one (https://sourceware.org/git/glibc.git) but it's not reliable, +# sometimes the connection times out. So use an unofficial github mirror. +# When updating the version, check it on the official repository; +# *NEVER* decide on a version string by looking at the mirror. +# Then check that the mirror has been synced already (happens once a day.) +GLIBC_SITE = $(call github,bminor,glibc,$(GLIBC_VERSION)) + +GLIBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+, BSD-3-Clause, MIT (library) +GLIBC_LICENSE_FILES = COPYING COPYING.LIB LICENSES +GLIBC_CPE_ID_VENDOR = gnu + +# glibc is part of the toolchain so disable the toolchain dependency +GLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO + +# Before glibc is configured, we must have the first stage +# cross-compiler and the kernel headers +GLIBC_DEPENDENCIES = host-gcc-initial linux-headers host-bison host-gawk \ + $(BR2_MAKE_HOST_DEPENDENCY) $(BR2_PYTHON3_HOST_DEPENDENCY) + +GLIBC_SUBDIR = build + +GLIBC_INSTALL_STAGING = YES + +GLIBC_INSTALL_STAGING_OPTS = install_root=$(STAGING_DIR) install + +# Thumb build is broken, build in ARM mode +ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) +GLIBC_EXTRA_CFLAGS += -marm +endif + +# MIPS64 defaults to n32 so pass the correct -mabi if +# we are using a different ABI. OABI32 is also used +# in MIPS so we pass -mabi=32 in this case as well +# even though it's not strictly necessary. +ifeq ($(BR2_MIPS_NABI64),y) +GLIBC_EXTRA_CFLAGS += -mabi=64 +else ifeq ($(BR2_MIPS_OABI32),y) +GLIBC_EXTRA_CFLAGS += -mabi=32 +endif + +ifeq ($(BR2_ENABLE_DEBUG),y) +GLIBC_EXTRA_CFLAGS += -g +endif + +# glibc explicitly requires compile barriers between files +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7),y) +GLIBC_EXTRA_CFLAGS += -fno-lto +endif + +# The stubs.h header is not installed by install-headers, but is +# needed for the gcc build. An empty stubs.h will work, as explained +# in http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html. The same trick +# is used by Crosstool-NG. +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_GLIBC),y) +define GLIBC_ADD_MISSING_STUB_H + mkdir -p $(STAGING_DIR)/usr/include/gnu + touch $(STAGING_DIR)/usr/include/gnu/stubs.h +endef +endif + +GLIBC_CONF_ENV = \ + ac_cv_path_BASH_SHELL=/bin/$(if $(BR2_PACKAGE_BASH),bash,sh) \ + libc_cv_forced_unwind=yes \ + libc_cv_ssp=no + +# POSIX shell does not support localization, so remove the corresponding +# syntax from ldd if bash is not selected. +ifeq ($(BR2_PACKAGE_BASH),) +define GLIBC_LDD_NO_BASH + $(SED) 's/$$"/"/g' $(@D)/elf/ldd.bash.in +endef +GLIBC_POST_PATCH_HOOKS += GLIBC_LDD_NO_BASH +endif + +# Override the default library locations of /lib64/ and +# /usr/lib64// for RISC-V. +ifeq ($(BR2_riscv),y) +ifeq ($(BR2_RISCV_64),y) +GLIBC_CONF_ENV += libc_cv_slibdir=/lib64 libc_cv_rtlddir=/lib +else +GLIBC_CONF_ENV += libc_cv_slibdir=/lib32 libc_cv_rtlddir=/lib +endif +endif + +# glibc requires make >= 4.0 since 2.28 release. +# https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html +GLIBC_MAKE = $(BR2_MAKE) +GLIBC_CONF_ENV += ac_cv_prog_MAKE="$(BR2_MAKE)" + +ifeq ($(BR2_PACKAGE_GLIBC_KERNEL_COMPAT),) +GLIBC_CONF_OPTS += --enable-kernel=$(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)) +endif + +# Even though we use the autotools-package infrastructure, we have to +# override the default configure commands for several reasons: +# +# 1. We have to build out-of-tree, but we can't use the same +# 'symbolic link to configure' used with the gcc packages. +# +# 2. We have to execute the configure script with bash and not sh. +# +# Note that as mentionned in +# http://patches.openembedded.org/patch/38849/, glibc must be +# built with -O2, so we pass our own CFLAGS and CXXFLAGS below. +define GLIBC_CONFIGURE_CMDS + mkdir -p $(@D)/build + # Do the configuration + (cd $(@D)/build; \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="-O2 $(GLIBC_EXTRA_CFLAGS)" CPPFLAGS="" \ + CXXFLAGS="-O2 $(GLIBC_EXTRA_CFLAGS)" \ + $(GLIBC_CONF_ENV) \ + $(SHELL) $(@D)/configure \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --prefix=/usr \ + --enable-shared \ + $(if $(BR2_x86_64),--enable-lock-elision) \ + --with-pkgversion="Buildroot" \ + --disable-profile \ + --disable-werror \ + --without-gd \ + --with-headers=$(STAGING_DIR)/usr/include \ + $(GLIBC_CONF_OPTS)) + $(GLIBC_ADD_MISSING_STUB_H) +endef + +# +# We also override the install to target commands since we only want +# to install the libraries, and nothing more. +# + +GLIBC_LIBS_LIB = \ + ld*.so.* libanl.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* \ + libm.so.* libpthread.so.* libresolv.so.* librt.so.* \ + libutil.so.* libnss_files.so.* libnss_dns.so.* libmvec.so.* + +ifeq ($(BR2_PACKAGE_GDB),y) +GLIBC_LIBS_LIB += libthread_db.so.* +endif + +ifeq ($(BR2_PACKAGE_GLIBC_UTILS),y) +GLIBC_TARGET_UTILS_USR_BIN = posix/getconf elf/ldd +GLIBC_TARGET_UTILS_SBIN = elf/ldconfig +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +GLIBC_TARGET_UTILS_USR_BIN += locale/locale +endif +endif + +define GLIBC_INSTALL_TARGET_CMDS + for libpattern in $(GLIBC_LIBS_LIB); do \ + $(call copy_toolchain_lib_root,$$libpattern) ; \ + done + $(foreach util,$(GLIBC_TARGET_UTILS_USR_BIN), \ + $(INSTALL) -D -m 0755 $(@D)/build/$(util) $(TARGET_DIR)/usr/bin/$(notdir $(util)) + ) + $(foreach util,$(GLIBC_TARGET_UTILS_SBIN), \ + $(INSTALL) -D -m 0755 $(@D)/build/$(util) $(TARGET_DIR)/sbin/$(notdir $(util)) + ) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/glibc/nsswitch.conf b/buildroot-2022.02.1/package/glibc/nsswitch.conf similarity index 100% rename from buildroot-2021.05/package/glibc/nsswitch.conf rename to buildroot-2022.02.1/package/glibc/nsswitch.conf diff --git a/buildroot-2022.02.1/package/glibmm/Config.in b/buildroot-2022.02.1/package/glibmm/Config.in new file mode 100644 index 00000000..2dfc8618 --- /dev/null +++ b/buildroot-2022.02.1/package/glibmm/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_GLIBMM + bool "glibmm" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBSIGC + help + The GLibmm package is a set of C++ bindings for GLib. + + http://www.gtkmm.org/ + +comment "glibmm needs a toolchain w/ C++, wchar, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \ + || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/glibmm/glibmm.hash b/buildroot-2022.02.1/package/glibmm/glibmm.hash new file mode 100644 index 00000000..f0bc7f4e --- /dev/null +++ b/buildroot-2022.02.1/package/glibmm/glibmm.hash @@ -0,0 +1,5 @@ +# From http://ftp.gnome.org/pub/gnome/sources/glibmm/2.68/glibmm-2.68.2.sha256sum +sha256 91e0a8618f7b82db4aaf2648932ea2bcfe626ad030068c18fa2d106fd838d8ad glibmm-2.68.2.tar.xz +# License files, locally calculated +sha256 3ea7fa7c5d9a3a113e950eca9cfb85107f096270d8e4dd99daa9d8abdebc60e7 COPYING +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools diff --git a/buildroot-2022.02.1/package/glibmm/glibmm.mk b/buildroot-2022.02.1/package/glibmm/glibmm.mk new file mode 100644 index 00000000..525da6b6 --- /dev/null +++ b/buildroot-2022.02.1/package/glibmm/glibmm.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# glibmm +# +################################################################################ + +GLIBMM_VERSION_MAJOR = 2.68 +GLIBMM_VERSION = $(GLIBMM_VERSION_MAJOR).2 +GLIBMM_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) +GLIBMM_LICENSE_FILES = COPYING COPYING.tools +GLIBMM_SOURCE = glibmm-$(GLIBMM_VERSION).tar.xz +GLIBMM_SITE = http://ftp.gnome.org/pub/gnome/sources/glibmm/$(GLIBMM_VERSION_MAJOR) +GLIBMM_INSTALL_STAGING = YES +GLIBMM_DEPENDENCIES = libglib2 libsigc host-pkgconf +GLIBMM_CONF_OPTS = -Dbuild-examples=false + +GLIBMM_CXXFLAGS = $(TARGET_CXXFLAGS) +GLIBMM_LDFLAGS = $(TARGET_LDFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +GLIBMM_CXXFLAGS += -O0 +endif + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GLIBMM_LDFLAGS += -latomic +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/glm/Config.in b/buildroot-2022.02.1/package/glm/Config.in similarity index 100% rename from buildroot-2021.05/package/glm/Config.in rename to buildroot-2022.02.1/package/glm/Config.in diff --git a/buildroot-2021.05/package/glm/glm.hash b/buildroot-2022.02.1/package/glm/glm.hash similarity index 100% rename from buildroot-2021.05/package/glm/glm.hash rename to buildroot-2022.02.1/package/glm/glm.hash diff --git a/buildroot-2021.05/package/glm/glm.mk b/buildroot-2022.02.1/package/glm/glm.mk similarity index 100% rename from buildroot-2021.05/package/glm/glm.mk rename to buildroot-2022.02.1/package/glm/glm.mk diff --git a/buildroot-2021.05/package/glmark2/0001-wscript-use-find_program-to-find-wayland-scanner.patch b/buildroot-2022.02.1/package/glmark2/0001-wscript-use-find_program-to-find-wayland-scanner.patch similarity index 100% rename from buildroot-2021.05/package/glmark2/0001-wscript-use-find_program-to-find-wayland-scanner.patch rename to buildroot-2022.02.1/package/glmark2/0001-wscript-use-find_program-to-find-wayland-scanner.patch diff --git a/buildroot-2022.02.1/package/glmark2/Config.in b/buildroot-2022.02.1/package/glmark2/Config.in new file mode 100644 index 00000000..059acc62 --- /dev/null +++ b/buildroot-2022.02.1/package/glmark2/Config.in @@ -0,0 +1,73 @@ +config BR2_PACKAGE_GLMARK2_FLAVOR_ANY + bool + +config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2 + bool + default y + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBGBM + depends on BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs -> libdrm + select BR2_PACKAGE_GLMARK2_FLAVOR_ANY + +config BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GL + bool + default y + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_GLMARK2_FLAVOR_ANY + +config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2 + bool + default y + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_GLMARK2_FLAVOR_ANY + +config BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL + bool + default y + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_GLMARK2_FLAVOR_ANY + +config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2 + bool + default y + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_GLMARK2_FLAVOR_ANY + +config BR2_PACKAGE_GLMARK2_FLAVOR_X11_GL + bool + default y + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_GLMARK2_FLAVOR_ANY + +comment "glmark2 needs a toolchain w/ C++, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +comment "glmark2 needs an OpenGL or an openGL ES and EGL backend" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_INSTALL_LIBSTDCPP + depends on !BR2_PACKAGE_GLMARK2_FLAVOR_ANY + +config BR2_PACKAGE_GLMARK2 + bool "glmark2" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 + depends on BR2_PACKAGE_GLMARK2_FLAVOR_ANY + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2 + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL + select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2 + help + glmark2 is an OpenGL 2.0 and ES 2.0 benchmark. + + https://github.com/glmark2/glmark2 diff --git a/buildroot-2022.02.1/package/glmark2/glmark2.hash b/buildroot-2022.02.1/package/glmark2/glmark2.hash new file mode 100644 index 00000000..84058197 --- /dev/null +++ b/buildroot-2022.02.1/package/glmark2/glmark2.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 12aef3ce80406bc723542979b9818886a28d0a4c93f62379eaadfd830974790d glmark2-06e78b67702b5413335ecdf1ae816da9c20f6ed9.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 16fbc228292bd774b263b212ae422c524cbf3b2078bcf21b22f8bdd4373be617 COPYING.SGI diff --git a/buildroot-2022.02.1/package/glmark2/glmark2.mk b/buildroot-2022.02.1/package/glmark2/glmark2.mk new file mode 100644 index 00000000..e8d6f71d --- /dev/null +++ b/buildroot-2022.02.1/package/glmark2/glmark2.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# glmark2 +# +################################################################################ + +GLMARK2_VERSION = 06e78b67702b5413335ecdf1ae816da9c20f6ed9 +GLMARK2_SITE = $(call github,glmark2,glmark2,$(GLMARK2_VERSION)) +GLMARK2_LICENSE = GPL-3.0+, SGIv1 +GLMARK2_LICENSE_FILES = COPYING COPYING.SGI +GLMARK2_DEPENDENCIES = host-pkgconf jpeg libegl libpng + +ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GLESV2),y) +GLMARK2_DEPENDENCIES += libdrm libgbm libgles udev +GLMARK2_FLAVORS += drm-glesv2 +endif + +ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_DRM_GL),y) +GLMARK2_DEPENDENCIES += libgl udev +GLMARK2_FLAVORS += drm-gl +endif + +ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_X11_GLESV2),y) +GLMARK2_DEPENDENCIES += libgles xlib_libX11 +GLMARK2_FLAVORS += x11-glesv2 +endif + +ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_X11_GL),y) +GLMARK2_DEPENDENCIES += libgl xlib_libX11 +GLMARK2_FLAVORS += x11-gl +endif + +ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GLESV2),y) +GLMARK2_DEPENDENCIES += libgles wayland wayland-protocols +GLMARK2_FLAVORS += wayland-glesv2 +endif + +ifeq ($(BR2_PACKAGE_GLMARK2_FLAVOR_WAYLAND_GL),y) +GLMARK2_DEPENDENCIES += libgl wayland wayland-protocols +GLMARK2_FLAVORS += wayland-gl +endif + +GLMARK2_CONF_OPTS += \ + --prefix=/usr \ + --with-flavors=$(subst $(space),$(comma),$(GLMARK2_FLAVORS)) + +$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/glog/Config.in b/buildroot-2022.02.1/package/glog/Config.in similarity index 100% rename from buildroot-2021.05/package/glog/Config.in rename to buildroot-2022.02.1/package/glog/Config.in diff --git a/buildroot-2022.02.1/package/glog/glog.hash b/buildroot-2022.02.1/package/glog/glog.hash new file mode 100644 index 00000000..3f844729 --- /dev/null +++ b/buildroot-2022.02.1/package/glog/glog.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 eede71f28371bf39aa69b45de23b329d37214016e2055269b3b5e7cfd40b59f5 glog-0.5.0.tar.gz + +# Hash for License file: +sha256 0fc497129c5c69ff6f22da6933c7e4aaef082fde8437fd57680c2780100772a4 COPYING diff --git a/buildroot-2022.02.1/package/glog/glog.mk b/buildroot-2022.02.1/package/glog/glog.mk new file mode 100644 index 00000000..325107fb --- /dev/null +++ b/buildroot-2022.02.1/package/glog/glog.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# glog +# +################################################################################ + +GLOG_VERSION = 0.5.0 +GLOG_SITE = $(call github,google,glog,v$(GLOG_VERSION)) +GLOG_INSTALL_STAGING = YES +GLOG_LICENSE = BSD-3-Clause +GLOG_LICENSE_FILES = COPYING +GLOG_CONF_OPTS = \ + -DWITH_GTEST=OFF \ + $(if $(BR2_TOOLCHAIN_HAS_THREADS),-DWITH_THREADS=ON, -DWITH_THREADS=OFF) + +ifeq ($(BR2_PACKAGE_GFLAGS),y) +GLOG_DEPENDENCIES += gflags +GLOG_CONF_OPTS += -DWITH_GFLAGS=ON +else +GLOG_CONF_OPTS += -DWITH_GFLAGS=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/gloox/0001-src-connectiontcpserver-cpp-fix-musl.patch b/buildroot-2022.02.1/package/gloox/0001-src-connectiontcpserver-cpp-fix-musl.patch similarity index 100% rename from buildroot-2021.05/package/gloox/0001-src-connectiontcpserver-cpp-fix-musl.patch rename to buildroot-2022.02.1/package/gloox/0001-src-connectiontcpserver-cpp-fix-musl.patch diff --git a/buildroot-2021.05/package/gloox/Config.in b/buildroot-2022.02.1/package/gloox/Config.in similarity index 100% rename from buildroot-2021.05/package/gloox/Config.in rename to buildroot-2022.02.1/package/gloox/Config.in diff --git a/buildroot-2021.05/package/gloox/gloox.hash b/buildroot-2022.02.1/package/gloox/gloox.hash similarity index 100% rename from buildroot-2021.05/package/gloox/gloox.hash rename to buildroot-2022.02.1/package/gloox/gloox.hash diff --git a/buildroot-2021.05/package/gloox/gloox.mk b/buildroot-2022.02.1/package/gloox/gloox.mk similarity index 100% rename from buildroot-2021.05/package/gloox/gloox.mk rename to buildroot-2022.02.1/package/gloox/gloox.mk diff --git a/buildroot-2021.05/package/glorytun/Config.in b/buildroot-2022.02.1/package/glorytun/Config.in similarity index 100% rename from buildroot-2021.05/package/glorytun/Config.in rename to buildroot-2022.02.1/package/glorytun/Config.in diff --git a/buildroot-2021.05/package/glorytun/glorytun.hash b/buildroot-2022.02.1/package/glorytun/glorytun.hash similarity index 100% rename from buildroot-2021.05/package/glorytun/glorytun.hash rename to buildroot-2022.02.1/package/glorytun/glorytun.hash diff --git a/buildroot-2022.02.1/package/glorytun/glorytun.mk b/buildroot-2022.02.1/package/glorytun/glorytun.mk new file mode 100644 index 00000000..389c7a07 --- /dev/null +++ b/buildroot-2022.02.1/package/glorytun/glorytun.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# glorytun +# +################################################################################ + +GLORYTUN_VERSION = 0.3.4 +GLORYTUN_SITE = https://github.com/angt/glorytun/releases/download/v$(GLORYTUN_VERSION) +GLORYTUN_DEPENDENCIES = libsodium host-pkgconf +GLORYTUN_LICENSE = BSD-2-Clause +GLORYTUN_LICENSE_FILES = LICENSE + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/glslsandbox-player/Config.in b/buildroot-2022.02.1/package/glslsandbox-player/Config.in new file mode 100644 index 00000000..317eb628 --- /dev/null +++ b/buildroot-2022.02.1/package/glslsandbox-player/Config.in @@ -0,0 +1,117 @@ +config BR2_PACKAGE_GLSLSANDBOX_PLAYER + bool "glslsandbox-player" + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBGLES + # Doesn't really depend on threads, but this makes sure we have at least + # one native windowing system available, and is good enough in practice. + depends on BR2_TOOLCHAIN_HAS_THREADS + help + GLSL Sandbox standalone player allow one to run and render + (most of) nice shaders available online on the + http://glslsandbox.com/ website, but without the need of an + Internet connection, a web browser or any of its + dependencies. Instead, the only requirement of + glslsandbox-player is a working EGL and GLESv2 libraries. + + This package is useful for stressing and testing GLES shader + compiler in GPU drivers. + + https://github.com/jolivain/glslsandbox-player + +if BR2_PACKAGE_GLSLSANDBOX_PLAYER + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG + bool "Enable PNG support" + select BR2_PACKAGE_LIBPNG + help + Enable PNG texture loading support + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING + bool "Enable testing" + help + Generate and install test suite on target + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS + bool "Install scripts" + depends on !BR2_STATIC_LIBS # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on BR2_USE_MMU # bash, python3 + depends on BR2_USE_WCHAR # python3 + select BR2_PACKAGE_BASH # runtime + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS if BR2_PACKAGE_BUSYBOX # bash + select BR2_PACKAGE_COREUTILS # runtime (timeout) + select BR2_PACKAGE_LIBCURL_CURL # runtime + select BR2_PACKAGE_IMAGEMAGICK # runtime + select BR2_PACKAGE_JPEG # runtime + select BR2_PACKAGE_LIBCURL # runtime + select BR2_PACKAGE_LIBOPENSSL_BIN if BR2_PACKAGE_LIBOPENSSL # runtime + select BR2_PACKAGE_LIBRESSL_BIN if BR2_PACKAGE_LIBRESSL # runtime + select BR2_PACKAGE_MAKE # runtime + select BR2_PACKAGE_OPENSSL # runtime + select BR2_PACKAGE_PYTHON3 # runtime + help + Install additional helper scripts + +choice + prompt "Native windowing system" + default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI if BR2_PACKAGE_SUNXI_MALI_UTGARD + default BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X if BR2_PACKAGE_MALI_T76X + default BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI if BR2_PACKAGE_RPI_USERLAND + default BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2 if BR2_PACKAGE_SDL2_OPENGLES + default BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX if BR2_PACKAGE_TI_SGX_UM + default BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB + default BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL if BR2_PACKAGE_WAYLAND + default BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11 if BR2_PACKAGE_XORG7 + help + Select the native windowing system you wish to use. + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS + bool "KMS/DRM/GBM" + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm + select BR2_PACKAGE_LIBDRM + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI + bool "Allwinner ARM/Mali Frame Buffer" + depends on BR2_PACKAGE_SUNXI_MALI_UTGARD + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X + bool "ARM/Mali T76x Frame Buffer" + depends on BR2_PACKAGE_MALI_T76X + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI + bool "RaspberryPI Frame Buffer" + depends on BR2_PACKAGE_RPI_USERLAND + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2 + bool "SDL2" + depends on BR2_PACKAGE_SDL2_OPENGLES + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX + bool "TI/SGX Frame Buffer" + depends on BR2_PACKAGE_TI_SGX_UM + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB + bool "Vivante Frame Buffer" + depends on BR2_PACKAGE_IMX_GPU_VIV + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL + bool "Wayland" + depends on BR2_PACKAGE_WAYLAND + +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11 + bool "X11" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBX11 + +endchoice + +if BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL +config BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_IVI + bool "Wayland IVI shell support" +endif + +endif + +comment "glslsandbox-player needs a toolchain w/ threads and an openGL ES and EGL driver" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_HAS_LIBGLES diff --git a/buildroot-2022.02.1/package/glslsandbox-player/glslsandbox-player.hash b/buildroot-2022.02.1/package/glslsandbox-player/glslsandbox-player.hash new file mode 100644 index 00000000..bc8946c6 --- /dev/null +++ b/buildroot-2022.02.1/package/glslsandbox-player/glslsandbox-player.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b4af34889faa6d3a904e980f23aeb720dfb614d50aa01b9b1874fc2ae77dbcf4 glslsandbox-player-2021.08.24.tar.gz +sha256 970d45d8a3dfd042d303008294f49db8c0c464f7687aa6e28a01b0926e74df85 LICENSE diff --git a/buildroot-2022.02.1/package/glslsandbox-player/glslsandbox-player.mk b/buildroot-2022.02.1/package/glslsandbox-player/glslsandbox-player.mk new file mode 100644 index 00000000..c5fbf062 --- /dev/null +++ b/buildroot-2022.02.1/package/glslsandbox-player/glslsandbox-player.mk @@ -0,0 +1,75 @@ +################################################################################ +# +# glslsandbox-player +# +################################################################################ + +GLSLSANDBOX_PLAYER_VERSION = 2021.08.24 +GLSLSANDBOX_PLAYER_SITE = $(call github,jolivain,glslsandbox-player,v$(GLSLSANDBOX_PLAYER_VERSION)) +GLSLSANDBOX_PLAYER_AUTORECONF = YES +GLSLSANDBOX_PLAYER_DEPENDENCIES = libegl libgles host-pkgconf + +GLSLSANDBOX_PLAYER_LICENSE = BSD-2-Clause +GLSLSANDBOX_PLAYER_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_PNG),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += libpng +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-libpng +else +GLSLSANDBOX_PLAYER_CONF_OPTS += --without-libpng +endif + +ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_TESTING),y) +GLSLSANDBOX_PLAYER_CONF_OPTS += \ + --with-shader-list=shader-tests.list \ + --enable-testing \ + --enable-install-testsuite +else +GLSLSANDBOX_PLAYER_CONF_OPTS += \ + --with-shader-list=shader-local.list \ + --disable-testing +endif + +ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_SCRIPTS),y) +GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-install-scripts +else +GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-install-scripts +endif + +ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_KMS),y) +# gbm dependency is not needed, as it is normally packaged with +# libegl/libgles drivers. +GLSLSANDBOX_PLAYER_DEPENDENCIES += libdrm +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=kms +else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += sunxi-mali-utgard +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=mali +else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_MALI_T76X),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += mali-t76x +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=nullws +else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_RPI),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += rpi-userland +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=rpi +else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_SDL2),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += sdl2 +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=sdl2 +else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_TISGX),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += ti-sgx-um +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=tisgx +else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_VIVFB),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += imx-gpu-viv +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=vivfb +else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += wayland +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=wl +ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_WL_IVI),y) +GLSLSANDBOX_PLAYER_CONF_OPTS += --enable-ivi +else +GLSLSANDBOX_PLAYER_CONF_OPTS += --disable-ivi +endif +else ifeq ($(BR2_PACKAGE_GLSLSANDBOX_PLAYER_X11),y) +GLSLSANDBOX_PLAYER_DEPENDENCIES += xlib_libX11 +GLSLSANDBOX_PLAYER_CONF_OPTS += --with-native-gfx=x11 +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/gmp/0001-mpz-inp_raw.c-Avoid-bit-size-overflows.patch b/buildroot-2022.02.1/package/gmp/0001-mpz-inp_raw.c-Avoid-bit-size-overflows.patch new file mode 100644 index 00000000..0003f342 --- /dev/null +++ b/buildroot-2022.02.1/package/gmp/0001-mpz-inp_raw.c-Avoid-bit-size-overflows.patch @@ -0,0 +1,27 @@ +# HG changeset patch +# User Marco Bodrato +# Date 1634836009 -7200 +# Node ID 561a9c25298e17bb01896801ff353546c6923dbd +# Parent e1fd9db13b475209a864577237ea4b9105b3e96e +mpz/inp_raw.c: Avoid bit size overflows + +[Retrieved from: https://gmplib.org/repo/gmp-6.2/rev/561a9c25298e] +Signed-off-by: Fabrice Fontaine + +diff -r e1fd9db13b47 -r 561a9c25298e mpz/inp_raw.c +--- a/mpz/inp_raw.c Tue Dec 22 23:49:51 2020 +0100 ++++ b/mpz/inp_raw.c Thu Oct 21 19:06:49 2021 +0200 +@@ -88,8 +88,11 @@ + + abs_csize = ABS (csize); + ++ if (UNLIKELY (abs_csize > ~(mp_bitcnt_t) 0 / 8)) ++ return 0; /* Bit size overflows */ ++ + /* round up to a multiple of limbs */ +- abs_xsize = BITS_TO_LIMBS (abs_csize*8); ++ abs_xsize = BITS_TO_LIMBS ((mp_bitcnt_t) abs_csize * 8); + + if (abs_xsize != 0) + { + diff --git a/buildroot-2021.05/package/gmp/Config.in b/buildroot-2022.02.1/package/gmp/Config.in similarity index 100% rename from buildroot-2021.05/package/gmp/Config.in rename to buildroot-2022.02.1/package/gmp/Config.in diff --git a/buildroot-2021.05/package/gmp/gmp.hash b/buildroot-2022.02.1/package/gmp/gmp.hash similarity index 100% rename from buildroot-2021.05/package/gmp/gmp.hash rename to buildroot-2022.02.1/package/gmp/gmp.hash diff --git a/buildroot-2022.02.1/package/gmp/gmp.mk b/buildroot-2022.02.1/package/gmp/gmp.mk new file mode 100644 index 00000000..9b402767 --- /dev/null +++ b/buildroot-2022.02.1/package/gmp/gmp.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# gmp +# +################################################################################ + +GMP_VERSION = 6.2.1 +GMP_SITE = $(BR2_GNU_MIRROR)/gmp +GMP_SOURCE = gmp-$(GMP_VERSION).tar.xz +GMP_INSTALL_STAGING = YES +GMP_LICENSE = LGPL-3.0+ or GPL-2.0+ +GMP_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2 +GMP_CPE_ID_VENDOR = gmplib +GMP_DEPENDENCIES = host-m4 +HOST_GMP_DEPENDENCIES = host-m4 + +# 0001-mpz-inp_raw.c-Avoid-bit-size-overflows.patch +GMP_IGNORE_CVES += CVE-2021-43618 + +# GMP doesn't support assembly for coldfire or mips r6 ISA yet +# Disable for ARM v7m since it has different asm constraints +ifeq ($(BR2_m68k_cf)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6)$(BR2_ARM_CPU_ARMV7M),y) +GMP_CONF_OPTS += --disable-assembly +endif + +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +GMP_CONF_OPTS += --enable-cxx +else +GMP_CONF_OPTS += --disable-cxx +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gmpc/Config.in b/buildroot-2022.02.1/package/gmpc/Config.in similarity index 100% rename from buildroot-2021.05/package/gmpc/Config.in rename to buildroot-2022.02.1/package/gmpc/Config.in diff --git a/buildroot-2021.05/package/gmpc/gmpc.hash b/buildroot-2022.02.1/package/gmpc/gmpc.hash similarity index 100% rename from buildroot-2021.05/package/gmpc/gmpc.hash rename to buildroot-2022.02.1/package/gmpc/gmpc.hash diff --git a/buildroot-2021.05/package/gmpc/gmpc.mk b/buildroot-2022.02.1/package/gmpc/gmpc.mk similarity index 100% rename from buildroot-2021.05/package/gmpc/gmpc.mk rename to buildroot-2022.02.1/package/gmpc/gmpc.mk diff --git a/buildroot-2021.05/package/gmrender-resurrect/Config.in b/buildroot-2022.02.1/package/gmrender-resurrect/Config.in similarity index 100% rename from buildroot-2021.05/package/gmrender-resurrect/Config.in rename to buildroot-2022.02.1/package/gmrender-resurrect/Config.in diff --git a/buildroot-2022.02.1/package/gmrender-resurrect/gmrender-resurrect.hash b/buildroot-2022.02.1/package/gmrender-resurrect/gmrender-resurrect.hash new file mode 100644 index 00000000..526b2b6c --- /dev/null +++ b/buildroot-2022.02.1/package/gmrender-resurrect/gmrender-resurrect.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c3a9c80c7058a9a1f32175da25a564fb3021a7055c2df3941e8da8860a509009 gmrender-resurrect-0.0.9.tar.gz +sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING diff --git a/buildroot-2022.02.1/package/gmrender-resurrect/gmrender-resurrect.mk b/buildroot-2022.02.1/package/gmrender-resurrect/gmrender-resurrect.mk new file mode 100644 index 00000000..4a7efd71 --- /dev/null +++ b/buildroot-2022.02.1/package/gmrender-resurrect/gmrender-resurrect.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# gmrender-resurrect +# +################################################################################ + +GMRENDER_RESURRECT_VERSION = 0.0.9 +GMRENDER_RESURRECT_SITE = $(call github,hzeller,gmrender-resurrect,v$(GMRENDER_RESURRECT_VERSION)) +# Original distribution does not have default configure, +# so we need to autoreconf: +GMRENDER_RESURRECT_AUTORECONF = YES +GMRENDER_RESURRECT_LICENSE = GPL-2.0+ +GMRENDER_RESURRECT_LICENSE_FILES = COPYING +GMRENDER_RESURRECT_DEPENDENCIES = \ + gstreamer1 \ + libupnp + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch b/buildroot-2022.02.1/package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch similarity index 100% rename from buildroot-2021.05/package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch rename to buildroot-2022.02.1/package/gnu-efi/0001-Make.defaults-don-t-override-ARCH-when-cross-compili.patch diff --git a/buildroot-2021.05/package/gnu-efi/0002-Revert-efilink-fix-build-with-gcc-4.8.patch b/buildroot-2022.02.1/package/gnu-efi/0002-Revert-efilink-fix-build-with-gcc-4.8.patch similarity index 100% rename from buildroot-2021.05/package/gnu-efi/0002-Revert-efilink-fix-build-with-gcc-4.8.patch rename to buildroot-2022.02.1/package/gnu-efi/0002-Revert-efilink-fix-build-with-gcc-4.8.patch diff --git a/buildroot-2022.02.1/package/gnu-efi/Config.in b/buildroot-2022.02.1/package/gnu-efi/Config.in new file mode 100644 index 00000000..8e35fddb --- /dev/null +++ b/buildroot-2022.02.1/package/gnu-efi/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS + bool + default y if BR2_ARM_CPU_HAS_ARM + default y if BR2_aarch64 + default y if BR2_aarch64_be + default y if BR2_i386 + default y if BR2_mips64el + default y if BR2_x86_64 + +config BR2_PACKAGE_GNU_EFI + bool "gnu-efi" + depends on BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS + help + Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 + (IPF), IA-32 (x86), and MIPS platforms using the GNU toolchain + and the EFI development environment. + + http://gnu-efi.sourceforge.net/ diff --git a/buildroot-2021.05/package/gnu-efi/gnu-efi.hash b/buildroot-2022.02.1/package/gnu-efi/gnu-efi.hash similarity index 100% rename from buildroot-2021.05/package/gnu-efi/gnu-efi.hash rename to buildroot-2022.02.1/package/gnu-efi/gnu-efi.hash diff --git a/buildroot-2022.02.1/package/gnu-efi/gnu-efi.mk b/buildroot-2022.02.1/package/gnu-efi/gnu-efi.mk new file mode 100644 index 00000000..06bf2547 --- /dev/null +++ b/buildroot-2022.02.1/package/gnu-efi/gnu-efi.mk @@ -0,0 +1,45 @@ +################################################################################ +# +# gnu-efi +# +################################################################################ + +GNU_EFI_VERSION = 3.0.10 +GNU_EFI_SOURCE = gnu-efi-$(GNU_EFI_VERSION).tar.bz2 +GNU_EFI_SITE = http://downloads.sourceforge.net/project/gnu-efi +GNU_EFI_INSTALL_STAGING = YES +GNU_EFI_LICENSE = BSD-3-Clause and/or GPL-2.0+ (gnuefi), BSD-3-Clause (efilib) +GNU_EFI_LICENSE_FILES = README.efilib + +# gnu-efi is a set of library and header files used to build +# standalone EFI applications such as bootloaders. There is no point +# in installing these libraries to the target. +GNU_EFI_INSTALL_TARGET = NO + +ifeq ($(BR2_i386),y) +GNU_EFI_PLATFORM = ia32 +else ifeq ($(BR2_x86_64),y) +GNU_EFI_PLATFORM = x86_64 +else ifeq ($(BR2_arm)$(BR2_armeb),y) +GNU_EFI_PLATFORM = arm +else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) +GNU_EFI_PLATFORM = aarch64 +else ifeq ($(BR2_mips64el),y) +GNU_EFI_PLATFORM = mips64el +endif + +GNU_EFI_MAKE_OPTS = \ + ARCH=$(GNU_EFI_PLATFORM) \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + PREFIX=/usr + +define GNU_EFI_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(GNU_EFI_MAKE_OPTS) +endef + +define GNU_EFI_INSTALL_STAGING_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(GNU_EFI_MAKE_OPTS) \ + INSTALLROOT=$(STAGING_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/gnuchess/Config.in b/buildroot-2022.02.1/package/gnuchess/Config.in similarity index 100% rename from buildroot-2021.05/package/gnuchess/Config.in rename to buildroot-2022.02.1/package/gnuchess/Config.in diff --git a/buildroot-2022.02.1/package/gnuchess/gnuchess.hash b/buildroot-2022.02.1/package/gnuchess/gnuchess.hash new file mode 100644 index 00000000..0248abcf --- /dev/null +++ b/buildroot-2022.02.1/package/gnuchess/gnuchess.hash @@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 ddfcc20bdd756900a9ab6c42c7daf90a2893bf7f19ce347420ce36baebc41890 gnuchess-6.2.9.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/gnuchess/gnuchess.mk b/buildroot-2022.02.1/package/gnuchess/gnuchess.mk new file mode 100644 index 00000000..630b3aef --- /dev/null +++ b/buildroot-2022.02.1/package/gnuchess/gnuchess.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# gnuchess +# +################################################################################ + +GNUCHESS_VERSION = 6.2.9 +GNUCHESS_SITE = $(BR2_GNU_MIRROR)/chess +GNUCHESS_LICENSE = GPL-3.0+ +GNUCHESS_LICENSE_FILES = COPYING +GNUCHESS_CPE_ID_VENDOR = gnu +GNUCHESS_CPE_ID_PRODUCT = chess + +GNUCHESS_DEPENDENCIES = host-flex flex +GNUCHESS_DEPENDENCIES += $(if $(BR2_PACKAGE_READLINE),readline) \ + $(TARGET_NLS_DEPENDENCIES) + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch b/buildroot-2022.02.1/package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch similarity index 100% rename from buildroot-2021.05/package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch rename to buildroot-2022.02.1/package/gnupg/0001-build-Always-use-EXTERN_UNLESS_MAIN_MODULE-pattern.patch diff --git a/buildroot-2021.05/package/gnupg/Config.in b/buildroot-2022.02.1/package/gnupg/Config.in similarity index 100% rename from buildroot-2021.05/package/gnupg/Config.in rename to buildroot-2022.02.1/package/gnupg/Config.in diff --git a/buildroot-2021.05/package/gnupg/Config.in.host b/buildroot-2022.02.1/package/gnupg/Config.in.host similarity index 100% rename from buildroot-2021.05/package/gnupg/Config.in.host rename to buildroot-2022.02.1/package/gnupg/Config.in.host diff --git a/buildroot-2021.05/package/gnupg/gnupg.hash b/buildroot-2022.02.1/package/gnupg/gnupg.hash similarity index 100% rename from buildroot-2021.05/package/gnupg/gnupg.hash rename to buildroot-2022.02.1/package/gnupg/gnupg.hash diff --git a/buildroot-2022.02.1/package/gnupg/gnupg.mk b/buildroot-2022.02.1/package/gnupg/gnupg.mk new file mode 100644 index 00000000..68df11a0 --- /dev/null +++ b/buildroot-2022.02.1/package/gnupg/gnupg.mk @@ -0,0 +1,91 @@ +################################################################################ +# +# gnupg +# +################################################################################ + +GNUPG_VERSION = 1.4.23 +GNUPG_SOURCE = gnupg-$(GNUPG_VERSION).tar.bz2 +GNUPG_SITE = https://gnupg.org/ftp/gcrypt/gnupg +GNUPG_LICENSE = GPL-3.0+ +GNUPG_LICENSE_FILES = COPYING +GNUPG_DEPENDENCIES = zlib $(if $(BR2_PACKAGE_LIBICONV),libiconv) +GNUPG_CPE_ID_VENDOR = gnupg +GNUPG_SELINUX_MODULES = gpg +GNUPG_CONF_ENV = ac_cv_sys_symbol_underscore=no +GNUPG_CONF_OPTS = \ + --disable-rpath \ + --enable-minimal \ + --disable-regex \ + --enable-sha256 \ + --enable-sha512 + +HOST_GNUPG_DEPENDENCIES = host-zlib +HOST_GNUPG_CONF_OPTS = \ + --disable-rpath \ + --enable-minimal \ + --disable-regex \ + --enable-sha256 \ + --enable-sha512 \ + --enable-aes \ + --enable-rsa \ + --without-libcurl \ + --without-readline + +# gnupg doesn't support assembly for coldfire +ifeq ($(BR2_m68k_cf),y) +GNUPG_CONF_OPTS += --disable-asm +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +GNUPG_CONF_OPTS += --enable-bzip2 +GNUPG_DEPENDENCIES += bzip2 +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +GNUPG_CONF_ENV += ac_cv_path__libcurl_config=$(STAGING_DIR)/usr/bin/curl-config +GNUPG_DEPENDENCIES += libcurl +else +GNUPG_CONF_OPTS += --without-libcurl +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +GNUPG_DEPENDENCIES += readline +else +GNUPG_CONF_OPTS += --without-readline +endif + +ifeq ($(BR2_PACKAGE_GNUPG_AES),y) +GNUPG_CONF_OPTS += --enable-aes +else +GNUPG_CONF_OPTS += --disable-aes +endif + +ifeq ($(BR2_PACKAGE_GNUPG_RSA),y) +GNUPG_CONF_OPTS += --enable-rsa +else +GNUPG_CONF_OPTS += --disable-rsa +endif + +ifneq ($(BR2_PACKAGE_GNUPG_GPGV),y) +define GNUPG_REMOVE_GPGV + rm -f $(TARGET_DIR)/usr/bin/gpgv +endef +GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGV +endif + +ifneq ($(BR2_PACKAGE_GNUPG_GPGSPLIT),y) +define GNUPG_REMOVE_GPGSPLIT + rm -f $(TARGET_DIR)/usr/bin/gpgsplit +endef +GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_REMOVE_GPGSPLIT +endif + +define GNUPG_FIXUP_GPG_ZIP + test -f $(TARGET_DIR)/usr/bin/gpg-zip && \ + $(SED) 's%^TAR=.*%TAR=/bin/tar%' $(TARGET_DIR)/usr/bin/gpg-zip +endef +GNUPG_POST_INSTALL_TARGET_HOOKS += GNUPG_FIXUP_GPG_ZIP + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/gnupg2/Config.in b/buildroot-2022.02.1/package/gnupg2/Config.in similarity index 100% rename from buildroot-2021.05/package/gnupg2/Config.in rename to buildroot-2022.02.1/package/gnupg2/Config.in diff --git a/buildroot-2022.02.1/package/gnupg2/gnupg2.hash b/buildroot-2022.02.1/package/gnupg2/gnupg2.hash new file mode 100644 index 00000000..caf5dcc8 --- /dev/null +++ b/buildroot-2022.02.1/package/gnupg2/gnupg2.hash @@ -0,0 +1,7 @@ +# From https://lists.gnupg.org/pipermail/gnupg-announce/2021q2/000460.html +sha1 81684626720c91060ae9920936c768df9fc8b2f6 gnupg-2.2.32.tar.bz2 +# Calculated based on the hash above and signature +# https://gnupg.org/ftp/gcrypt/gnupg/gnupg-2.2.32.tar.bz2.sig +# using key 6DAA6E64A76D2840571B4902528897B826403ADA +sha256 b2571b35f82c63e7d278aa6a1add0d73453dc14d3f0854be490c844fca7e0614 gnupg-2.2.32.tar.bz2 +sha256 bc2d6664f6276fa0a72d57633b3ae68dc7dcb677b71018bf08c8e93e509f1357 COPYING diff --git a/buildroot-2022.02.1/package/gnupg2/gnupg2.mk b/buildroot-2022.02.1/package/gnupg2/gnupg2.mk new file mode 100644 index 00000000..906b79e0 --- /dev/null +++ b/buildroot-2022.02.1/package/gnupg2/gnupg2.mk @@ -0,0 +1,69 @@ +################################################################################ +# +# gnupg2 +# +################################################################################ + +GNUPG2_VERSION = 2.2.32 +GNUPG2_SOURCE = gnupg-$(GNUPG2_VERSION).tar.bz2 +GNUPG2_SITE = https://gnupg.org/ftp/gcrypt/gnupg +GNUPG2_LICENSE = GPL-3.0+ +GNUPG2_LICENSE_FILES = COPYING +GNUPG2_CPE_ID_VENDOR = gnupg +GNUPG2_CPE_ID_PRODUCT = gnupg +GNUPG2_SELINUX_MODULES = gpg +GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libnpth \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) host-pkgconf + +GNUPG2_CONF_OPTS = \ + --disable-rpath --disable-regex \ + --with-libgpg-error-prefix=$(STAGING_DIR)/usr \ + --with-libgcrypt-prefix=$(STAGING_DIR)/usr \ + --with-libassuan-prefix=$(STAGING_DIR)/usr \ + --with-ksba-prefix=$(STAGING_DIR)/usr \ + --with-npth-prefix=$(STAGING_DIR)/usr + +ifneq ($(BR2_PACKAGE_GNUPG2_GPGV),y) +define GNUPG2_REMOVE_GPGV + rm -f $(TARGET_DIR)/usr/bin/gpgv +endef +GNUPG2_POST_INSTALL_TARGET_HOOKS += GNUPG2_REMOVE_GPGV +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +GNUPG2_CONF_OPTS += --enable-bzip2 --with-bzip2=$(STAGING_DIR) +GNUPG2_DEPENDENCIES += bzip2 +else +GNUPG2_CONF_OPTS += --disable-bzip2 +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +GNUPG2_CONF_OPTS += --enable-gnutls +GNUPG2_DEPENDENCIES += gnutls +else +GNUPG2_CONF_OPTS += --disable-gnutls +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +GNUPG2_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/libusb-1.0" +GNUPG2_CONF_OPTS += --enable-ccid-driver +GNUPG2_DEPENDENCIES += libusb +else +GNUPG2_CONF_OPTS += --disable-ccid-driver +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +GNUPG2_CONF_OPTS += --with-readline=$(STAGING_DIR) +GNUPG2_DEPENDENCIES += readline +else +GNUPG2_CONF_OPTS += --without-readline +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +GNUPG2_CONF_OPTS += --enable-sqlite +GNUPG2_DEPENDENCIES += sqlite +else +GNUPG2_CONF_OPTS += --disable-sqlite +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gnuplot/0001-configure-add-without-demo-option.patch b/buildroot-2022.02.1/package/gnuplot/0001-configure-add-without-demo-option.patch similarity index 100% rename from buildroot-2021.05/package/gnuplot/0001-configure-add-without-demo-option.patch rename to buildroot-2022.02.1/package/gnuplot/0001-configure-add-without-demo-option.patch diff --git a/buildroot-2021.05/package/gnuplot/Config.in b/buildroot-2022.02.1/package/gnuplot/Config.in similarity index 100% rename from buildroot-2021.05/package/gnuplot/Config.in rename to buildroot-2022.02.1/package/gnuplot/Config.in diff --git a/buildroot-2022.02.1/package/gnuplot/gnuplot.hash b/buildroot-2022.02.1/package/gnuplot/gnuplot.hash new file mode 100644 index 00000000..1cc14973 --- /dev/null +++ b/buildroot-2022.02.1/package/gnuplot/gnuplot.hash @@ -0,0 +1,6 @@ +# From https://sourceforge.net/projects/gnuplot/files/gnuplot/5.4.2/ +md5 9bb03cfa77e38924e08ffbb9eb59d8b1 gnuplot-5.4.3.tar.gz +sha1 c4b60fd7a700b22fa62b14829cbb0e17911627c9 gnuplot-5.4.3.tar.gz +# Locally computed +sha256 51f89bbab90f96d3543f95235368d188eb1e26eda296912256abcd3535bd4d84 gnuplot-5.4.3.tar.gz +sha256 895928ec0735cca1c8cec42656c7e314a065d0242813bb8693c0c1bf61fd4e4d Copyright diff --git a/buildroot-2022.02.1/package/gnuplot/gnuplot.mk b/buildroot-2022.02.1/package/gnuplot/gnuplot.mk new file mode 100644 index 00000000..6cf36a09 --- /dev/null +++ b/buildroot-2022.02.1/package/gnuplot/gnuplot.mk @@ -0,0 +1,54 @@ +################################################################################ +# +# gnuplot +# +################################################################################ + +GNUPLOT_VERSION = 5.4.3 +GNUPLOT_SITE = http://downloads.sourceforge.net/project/gnuplot/gnuplot/$(GNUPLOT_VERSION) +GNUPLOT_LICENSE = gnuplot license (open source) +GNUPLOT_LICENSE_FILES = Copyright +GNUPLOT_CPE_ID_VENDOR = gnuplot_project + +GNUPLOT_AUTORECONF = YES + +GNUPLOT_CONF_OPTS = \ + --without-x \ + --disable-raise-console \ + --disable-mouse \ + --without-tutorial \ + --disable-demo \ + --without-row-help \ + --disable-history-file \ + --disable-wxwidgets \ + --without-lua \ + --without-latex \ + --without-cairo + +# relocation truncated to fit: R_68K_GOT16O +ifeq ($(BR2_m68k_cf),y) +GNUPLOT_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" +endif + +ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy) +GNUPLOT_CONF_OPTS += --with-gd +GNUPLOT_DEPENDENCIES += host-pkgconf gd +else +GNUPLOT_CONF_OPTS += --without-gd +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +GNUPLOT_CONF_OPTS += --with-readline=gnu +GNUPLOT_DEPENDENCIES += readline +else +GNUPLOT_CONF_OPTS += --without-readline +endif + +# Remove Javascript scripts, lua scripts, PostScript files +define GNUPLOT_REMOVE_UNNEEDED_FILES + $(RM) -rf $(TARGET_DIR)/usr/share/gnuplot +endef + +GNUPLOT_POST_INSTALL_TARGET_HOOKS += GNUPLOT_REMOVE_UNNEEDED_FILES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gnuradio/0001-gr-digital-glfsr.h-drop-boost-cstdint.hpp-and-use-cs.patch b/buildroot-2022.02.1/package/gnuradio/0001-gr-digital-glfsr.h-drop-boost-cstdint.hpp-and-use-cs.patch similarity index 100% rename from buildroot-2021.05/package/gnuradio/0001-gr-digital-glfsr.h-drop-boost-cstdint.hpp-and-use-cs.patch rename to buildroot-2022.02.1/package/gnuradio/0001-gr-digital-glfsr.h-drop-boost-cstdint.hpp-and-use-cs.patch diff --git a/buildroot-2022.02.1/package/gnuradio/0002-boost_qualify_placeholders_with_their_full_namespace.patch b/buildroot-2022.02.1/package/gnuradio/0002-boost_qualify_placeholders_with_their_full_namespace.patch new file mode 100644 index 00000000..431cc125 --- /dev/null +++ b/buildroot-2022.02.1/package/gnuradio/0002-boost_qualify_placeholders_with_their_full_namespace.patch @@ -0,0 +1,1012 @@ +From 5d4c317a372c77aa70df6ab3403d161cd41a7d17 Mon Sep 17 00:00:00 2001 +From: ponce +Date: Sun, 17 May 2020 14:02:57 +0200 +Subject: [PATCH] boost: qualify placeholders with their full namespace. + +This is needed with boost >= 1.73.0. + +[Upstream status: https://github.com/gnuradio/gnuradio/pull/3566] + +Signed-off-by: ponce +Signed-off-by: Gwenhael Goavec-Merou +--- + .../(exported from wiki) Message Passing.txt | 8 +++--- + gnuradio-runtime/lib/block.cc | 3 ++- + gr-blocks/lib/copy_impl.cc | 4 ++- + gr-blocks/lib/message_debug_impl.cc | 13 +++++++--- + gr-blocks/lib/message_strobe_impl.cc | 5 ++-- + gr-blocks/lib/message_strobe_random_impl.cc | 5 ++-- + gr-blocks/lib/multiply_matrix_impl.cc | 11 +++++--- + gr-blocks/lib/mute_impl.cc | 5 ++-- + gr-blocks/lib/nop_impl.cc | 5 ++-- + gr-blocks/lib/pdu_filter_impl.cc | 5 ++-- + gr-blocks/lib/pdu_remove_impl.cc | 5 ++-- + gr-blocks/lib/pdu_set_impl.cc | 4 ++- + gr-blocks/lib/random_pdu_impl.cc | 5 ++-- + gr-blocks/lib/repeat_impl.cc | 5 ++-- + gr-blocks/lib/socket_pdu_impl.cc | 18 ++++++++----- + .../lib/tagged_stream_multiply_length_impl.cc | 7 +++--- + gr-blocks/lib/tuntap_pdu_impl.cc | 3 ++- + gr-digital/lib/chunks_to_symbols_impl.cc | 5 ++-- + .../lib/constellation_receiver_cb_impl.cc | 14 ++++++----- + gr-digital/lib/costas_loop_cc_impl.cc | 4 ++- + gr-digital/lib/crc32_async_bb_impl.cc | 8 ++++-- + gr-digital/lib/header_payload_demux_impl.cc | 7 +++--- + .../lib/protocol_formatter_async_impl.cc | 4 ++- + gr-fec/lib/async_decoder_impl.cc | 8 ++++-- + gr-fec/lib/async_encoder_impl.cc | 8 ++++-- + gr-fec/lib/depuncture_bb_impl.cc | 4 ++- + gr-fec/lib/puncture_bb_impl.cc | 4 ++- + gr-fec/lib/puncture_ff_impl.cc | 4 ++- + gr-filter/lib/freq_xlating_fir_filter_impl.cc | 2 +- + gr-filter/lib/mmse_resampler_cc_impl.cc | 5 ++-- + gr-filter/lib/mmse_resampler_ff_impl.cc | 5 ++-- + gr-qtgui/lib/const_sink_c_impl.cc | 5 ++-- + gr-qtgui/lib/edit_box_msg_impl.cc | 4 ++- + gr-qtgui/lib/freq_sink_c_impl.cc | 12 ++++++--- + gr-qtgui/lib/freq_sink_f_impl.cc | 12 ++++++--- + gr-qtgui/lib/histogram_sink_f_impl.cc | 5 ++-- + gr-qtgui/lib/sink_c_impl.cc | 4 ++- + gr-qtgui/lib/sink_f_impl.cc | 4 ++- + gr-qtgui/lib/time_raster_sink_b_impl.cc | 4 ++- + gr-qtgui/lib/time_raster_sink_f_impl.cc | 4 ++- + gr-qtgui/lib/time_sink_c_impl.cc | 4 ++- + gr-qtgui/lib/time_sink_f_impl.cc | 4 ++- + gr-qtgui/lib/waterfall_sink_c_impl.cc | 13 +++++++--- + gr-qtgui/lib/waterfall_sink_f_impl.cc | 13 +++++++--- + gr-uhd/lib/usrp_block_impl.cc | 25 ++++++++++++------- + gr-uhd/lib/usrp_source_impl.cc | 5 ++-- + gr-zeromq/lib/pub_msg_sink_impl.cc | 4 ++- + gr-zeromq/lib/push_msg_sink_impl.cc | 4 ++- + 48 files changed, 213 insertions(+), 106 deletions(-) + +diff --git a/docs/usage-manual/(exported from wiki) Message Passing.txt b/docs/usage-manual/(exported from wiki) Message Passing.txt +index 4654bd5da..551e71022 100644 +--- a/docs/usage-manual/(exported from wiki) Message Passing.txt ++++ b/docs/usage-manual/(exported from wiki) Message Passing.txt +@@ -94,7 +94,7 @@ must then bind this port to the message handler. For this, we use + Boost's 'bind' function: + + set_msg_handler(pmt::pmt_t port_id, +- boost::bind(&block_class::message_handler_function, this, _1)); ++ boost::bind(&block_class::message_handler_function, this, boost::placeholders::_1)); + + In Python: + +@@ -241,15 +241,15 @@ The constructor of this block looks like this: + { + message_port_register_in(pmt::mp("print")); + set_msg_handler(pmt::mp("print"), +- boost::bind(&message_debug_impl::print, this, _1)); ++ boost::bind(&message_debug_impl::print, this, boost::placeholders::_1)); + + message_port_register_in(pmt::mp("store")); + set_msg_handler(pmt::mp("store"), +- boost::bind(&message_debug_impl::store, this, _1)); ++ boost::bind(&message_debug_impl::store, this, boost::placeholders::_1)); + + message_port_register_in(pmt::mp("print_pdu")); + set_msg_handler(pmt::mp("print_pdu"), +- boost::bind(&message_debug_impl::print_pdu, this, _1)); ++ boost::bind(&message_debug_impl::print_pdu, this, boost::placeholders::_1)); + } + + +diff --git a/gnuradio-runtime/lib/block.cc b/gnuradio-runtime/lib/block.cc +index 591428390..fca4cab97 100644 +--- a/gnuradio-runtime/lib/block.cc ++++ b/gnuradio-runtime/lib/block.cc +@@ -61,7 +61,8 @@ block::block(const std::string& name, + { + global_block_registry.register_primitive(alias(), this); + message_port_register_in(d_system_port); +- set_msg_handler(d_system_port, boost::bind(&block::system_handler, this, _1)); ++ set_msg_handler(d_system_port, ++ boost::bind(&block::system_handler, this, boost::placeholders::_1)); + + configure_default_loggers(d_logger, d_debug_logger, symbol_name()); + } +diff --git a/gr-blocks/lib/copy_impl.cc b/gr-blocks/lib/copy_impl.cc +index c377e57b1..b55196c24 100644 +--- a/gr-blocks/lib/copy_impl.cc ++++ b/gr-blocks/lib/copy_impl.cc +@@ -44,7 +44,9 @@ copy_impl::copy_impl(size_t itemsize) + d_enabled(true) + { + message_port_register_in(pmt::mp("en")); +- set_msg_handler(pmt::mp("en"), boost::bind(©_impl::handle_enable, this, _1)); ++ set_msg_handler( ++ pmt::mp("en"), ++ boost::bind(©_impl::handle_enable, this, boost::placeholders::_1)); + } + + copy_impl::~copy_impl() {} +diff --git a/gr-blocks/lib/message_debug_impl.cc b/gr-blocks/lib/message_debug_impl.cc +index a8c84aa50..916f97ca3 100644 +--- a/gr-blocks/lib/message_debug_impl.cc ++++ b/gr-blocks/lib/message_debug_impl.cc +@@ -90,14 +90,19 @@ message_debug_impl::message_debug_impl() + : block("message_debug", io_signature::make(0, 0, 0), io_signature::make(0, 0, 0)) + { + message_port_register_in(pmt::mp("print")); +- set_msg_handler(pmt::mp("print"), boost::bind(&message_debug_impl::print, this, _1)); ++ set_msg_handler( ++ pmt::mp("print"), ++ boost::bind(&message_debug_impl::print, this, boost::placeholders::_1)); + + message_port_register_in(pmt::mp("store")); +- set_msg_handler(pmt::mp("store"), boost::bind(&message_debug_impl::store, this, _1)); ++ set_msg_handler( ++ pmt::mp("store"), ++ boost::bind(&message_debug_impl::store, this, boost::placeholders::_1)); + + message_port_register_in(pmt::mp("print_pdu")); +- set_msg_handler(pmt::mp("print_pdu"), +- boost::bind(&message_debug_impl::print_pdu, this, _1)); ++ set_msg_handler( ++ pmt::mp("print_pdu"), ++ boost::bind(&message_debug_impl::print_pdu, this, boost::placeholders::_1)); + } + + message_debug_impl::~message_debug_impl() {} +diff --git a/gr-blocks/lib/message_strobe_impl.cc b/gr-blocks/lib/message_strobe_impl.cc +index 038eeae5a..d131b8166 100644 +--- a/gr-blocks/lib/message_strobe_impl.cc ++++ b/gr-blocks/lib/message_strobe_impl.cc +@@ -53,8 +53,9 @@ message_strobe_impl::message_strobe_impl(pmt::pmt_t msg, long period_ms) + message_port_register_out(d_port); + + message_port_register_in(pmt::mp("set_msg")); +- set_msg_handler(pmt::mp("set_msg"), +- boost::bind(&message_strobe_impl::set_msg, this, _1)); ++ set_msg_handler( ++ pmt::mp("set_msg"), ++ boost::bind(&message_strobe_impl::set_msg, this, boost::placeholders::_1)); + } + + message_strobe_impl::~message_strobe_impl() {} +diff --git a/gr-blocks/lib/message_strobe_random_impl.cc b/gr-blocks/lib/message_strobe_random_impl.cc +index 0ab5d6adc..53e641fba 100644 +--- a/gr-blocks/lib/message_strobe_random_impl.cc ++++ b/gr-blocks/lib/message_strobe_random_impl.cc +@@ -74,8 +74,9 @@ message_strobe_random_impl::message_strobe_random_impl( + new gr::thread::thread(boost::bind(&message_strobe_random_impl::run, this))); + + message_port_register_in(pmt::mp("set_msg")); +- set_msg_handler(pmt::mp("set_msg"), +- boost::bind(&message_strobe_random_impl::set_msg, this, _1)); ++ set_msg_handler( ++ pmt::mp("set_msg"), ++ boost::bind(&message_strobe_random_impl::set_msg, this, boost::placeholders::_1)); + } + + long message_strobe_random_impl::next_delay() +diff --git a/gr-blocks/lib/multiply_matrix_impl.cc b/gr-blocks/lib/multiply_matrix_impl.cc +index e1b9c746c..e38953bab 100644 +--- a/gr-blocks/lib/multiply_matrix_impl.cc ++++ b/gr-blocks/lib/multiply_matrix_impl.cc +@@ -235,9 +235,10 @@ multiply_matrix_impl::multiply_matrix_impl( + + pmt::pmt_t port_name = pmt::string_to_symbol("set_A"); + message_port_register_in(port_name); +- set_msg_handler( +- port_name, +- boost::bind(&multiply_matrix_impl::msg_handler_A, this, _1)); ++ set_msg_handler(port_name, ++ boost::bind(&multiply_matrix_impl::msg_handler_A, ++ this, ++ boost::placeholders::_1)); + } + + template <> +@@ -257,7 +258,9 @@ multiply_matrix_impl::multiply_matrix_impl( + pmt::pmt_t port_name = pmt::string_to_symbol("set_A"); + message_port_register_in(port_name); + set_msg_handler(port_name, +- boost::bind(&multiply_matrix_impl::msg_handler_A, this, _1)); ++ boost::bind(&multiply_matrix_impl::msg_handler_A, ++ this, ++ boost::placeholders::_1)); + } + + +diff --git a/gr-blocks/lib/mute_impl.cc b/gr-blocks/lib/mute_impl.cc +index bd65ce207..5c732f8f4 100644 +--- a/gr-blocks/lib/mute_impl.cc ++++ b/gr-blocks/lib/mute_impl.cc +@@ -47,8 +47,9 @@ mute_impl::mute_impl(bool mute) + d_mute(mute) + { + this->message_port_register_in(pmt::intern("set_mute")); +- this->set_msg_handler(pmt::intern("set_mute"), +- boost::bind(&mute_impl::set_mute_pmt, this, _1)); ++ this->set_msg_handler( ++ pmt::intern("set_mute"), ++ boost::bind(&mute_impl::set_mute_pmt, this, boost::placeholders::_1)); + } + + template +diff --git a/gr-blocks/lib/nop_impl.cc b/gr-blocks/lib/nop_impl.cc +index db216d97a..e9baee587 100644 +--- a/gr-blocks/lib/nop_impl.cc ++++ b/gr-blocks/lib/nop_impl.cc +@@ -44,8 +44,9 @@ nop_impl::nop_impl(size_t sizeof_stream_item) + { + // Arrange to have count_received_msgs called when messages are received. + message_port_register_in(pmt::mp("port")); +- set_msg_handler(pmt::mp("port"), +- boost::bind(&nop_impl::count_received_msgs, this, _1)); ++ set_msg_handler( ++ pmt::mp("port"), ++ boost::bind(&nop_impl::count_received_msgs, this, boost::placeholders::_1)); + } + + nop_impl::~nop_impl() {} +diff --git a/gr-blocks/lib/pdu_filter_impl.cc b/gr-blocks/lib/pdu_filter_impl.cc +index b0748eec0..63cfe47e4 100644 +--- a/gr-blocks/lib/pdu_filter_impl.cc ++++ b/gr-blocks/lib/pdu_filter_impl.cc +@@ -44,8 +44,9 @@ pdu_filter_impl::pdu_filter_impl(pmt::pmt_t k, pmt::pmt_t v, bool invert) + { + message_port_register_out(pdu::pdu_port_id()); + message_port_register_in(pdu::pdu_port_id()); +- set_msg_handler(pdu::pdu_port_id(), +- boost::bind(&pdu_filter_impl::handle_msg, this, _1)); ++ set_msg_handler( ++ pdu::pdu_port_id(), ++ boost::bind(&pdu_filter_impl::handle_msg, this, boost::placeholders::_1)); + } + + void pdu_filter_impl::handle_msg(pmt::pmt_t pdu) +diff --git a/gr-blocks/lib/pdu_remove_impl.cc b/gr-blocks/lib/pdu_remove_impl.cc +index 19cc4dc76..2b97f827b 100644 +--- a/gr-blocks/lib/pdu_remove_impl.cc ++++ b/gr-blocks/lib/pdu_remove_impl.cc +@@ -42,8 +42,9 @@ pdu_remove_impl::pdu_remove_impl(pmt::pmt_t k) + { + message_port_register_out(pdu::pdu_port_id()); + message_port_register_in(pdu::pdu_port_id()); +- set_msg_handler(pdu::pdu_port_id(), +- boost::bind(&pdu_remove_impl::handle_msg, this, _1)); ++ set_msg_handler( ++ pdu::pdu_port_id(), ++ boost::bind(&pdu_remove_impl::handle_msg, this, boost::placeholders::_1)); + } + + void pdu_remove_impl::handle_msg(pmt::pmt_t pdu) +diff --git a/gr-blocks/lib/pdu_set_impl.cc b/gr-blocks/lib/pdu_set_impl.cc +index 40fbc3cd8..af59ef70f 100644 +--- a/gr-blocks/lib/pdu_set_impl.cc ++++ b/gr-blocks/lib/pdu_set_impl.cc +@@ -43,7 +43,9 @@ pdu_set_impl::pdu_set_impl(pmt::pmt_t k, pmt::pmt_t v) + { + message_port_register_out(pdu::pdu_port_id()); + message_port_register_in(pdu::pdu_port_id()); +- set_msg_handler(pdu::pdu_port_id(), boost::bind(&pdu_set_impl::handle_msg, this, _1)); ++ set_msg_handler( ++ pdu::pdu_port_id(), ++ boost::bind(&pdu_set_impl::handle_msg, this, boost::placeholders::_1)); + } + + void pdu_set_impl::handle_msg(pmt::pmt_t pdu) +diff --git a/gr-blocks/lib/random_pdu_impl.cc b/gr-blocks/lib/random_pdu_impl.cc +index 75d825aef..6c142c353 100644 +--- a/gr-blocks/lib/random_pdu_impl.cc ++++ b/gr-blocks/lib/random_pdu_impl.cc +@@ -52,8 +52,9 @@ random_pdu_impl::random_pdu_impl(int min_items, + { + message_port_register_out(pdu::pdu_port_id()); + message_port_register_in(pmt::mp("generate")); +- set_msg_handler(pmt::mp("generate"), +- boost::bind(&random_pdu_impl::generate_pdu, this, _1)); ++ set_msg_handler( ++ pmt::mp("generate"), ++ boost::bind(&random_pdu_impl::generate_pdu, this, boost::placeholders::_1)); + if (length_modulo < 1) + throw std::runtime_error("length_module must be >= 1"); + if (max_items < length_modulo) +diff --git a/gr-blocks/lib/repeat_impl.cc b/gr-blocks/lib/repeat_impl.cc +index 189fbc894..d6569625d 100644 +--- a/gr-blocks/lib/repeat_impl.cc ++++ b/gr-blocks/lib/repeat_impl.cc +@@ -44,8 +44,9 @@ repeat_impl::repeat_impl(size_t itemsize, int interp) + d_interp(interp) + { + message_port_register_in(pmt::mp("interpolation")); +- set_msg_handler(pmt::mp("interpolation"), +- boost::bind(&repeat_impl::msg_set_interpolation, this, _1)); ++ set_msg_handler( ++ pmt::mp("interpolation"), ++ boost::bind(&repeat_impl::msg_set_interpolation, this, boost::placeholders::_1)); + } + + void repeat_impl::msg_set_interpolation(pmt::pmt_t msg) +diff --git a/gr-blocks/lib/socket_pdu_impl.cc b/gr-blocks/lib/socket_pdu_impl.cc +index df69f07ad..163eec3a6 100644 +--- a/gr-blocks/lib/socket_pdu_impl.cc ++++ b/gr-blocks/lib/socket_pdu_impl.cc +@@ -101,7 +101,9 @@ socket_pdu_impl::socket_pdu_impl(std::string type, + start_tcp_accept(); + + set_msg_handler(pdu::pdu_port_id(), +- boost::bind(&socket_pdu_impl::tcp_server_send, this, _1)); ++ boost::bind(&socket_pdu_impl::tcp_server_send, ++ this, ++ boost::placeholders::_1)); + } else if (type == "TCP_CLIENT") { + boost::system::error_code error = boost::asio::error::host_not_found; + d_tcp_socket.reset(new boost::asio::ip::tcp::socket(d_io_service)); +@@ -111,7 +113,9 @@ socket_pdu_impl::socket_pdu_impl(std::string type, + d_tcp_socket->set_option(boost::asio::ip::tcp::no_delay(d_tcp_no_delay)); + + set_msg_handler(pdu::pdu_port_id(), +- boost::bind(&socket_pdu_impl::tcp_client_send, this, _1)); ++ boost::bind(&socket_pdu_impl::tcp_client_send, ++ this, ++ boost::placeholders::_1)); + + d_tcp_socket->async_read_some( + boost::asio::buffer(d_rxbuf), +@@ -130,8 +134,9 @@ socket_pdu_impl::socket_pdu_impl(std::string type, + boost::asio::placeholders::error, + boost::asio::placeholders::bytes_transferred)); + +- set_msg_handler(pdu::pdu_port_id(), +- boost::bind(&socket_pdu_impl::udp_send, this, _1)); ++ set_msg_handler( ++ pdu::pdu_port_id(), ++ boost::bind(&socket_pdu_impl::udp_send, this, boost::placeholders::_1)); + } else if (type == "UDP_CLIENT") { + d_udp_socket.reset( + new boost::asio::ip::udp::socket(d_io_service, d_udp_endpoint)); +@@ -143,8 +148,9 @@ socket_pdu_impl::socket_pdu_impl(std::string type, + boost::asio::placeholders::error, + boost::asio::placeholders::bytes_transferred)); + +- set_msg_handler(pdu::pdu_port_id(), +- boost::bind(&socket_pdu_impl::udp_send, this, _1)); ++ set_msg_handler( ++ pdu::pdu_port_id(), ++ boost::bind(&socket_pdu_impl::udp_send, this, boost::placeholders::_1)); + } else + throw std::runtime_error("gr::blocks:socket_pdu: unknown socket type"); + +diff --git a/gr-blocks/lib/tagged_stream_multiply_length_impl.cc b/gr-blocks/lib/tagged_stream_multiply_length_impl.cc +index 30f4c46dc..34b95d647 100644 +--- a/gr-blocks/lib/tagged_stream_multiply_length_impl.cc ++++ b/gr-blocks/lib/tagged_stream_multiply_length_impl.cc +@@ -49,9 +49,10 @@ tagged_stream_multiply_length_impl::tagged_stream_multiply_length_impl( + set_tag_propagation_policy(TPP_DONT); + set_relative_rate(1, 1); + message_port_register_in(pmt::intern("set_scalar")); +- set_msg_handler( +- pmt::intern("set_scalar"), +- boost::bind(&tagged_stream_multiply_length_impl::set_scalar_pmt, this, _1)); ++ set_msg_handler(pmt::intern("set_scalar"), ++ boost::bind(&tagged_stream_multiply_length_impl::set_scalar_pmt, ++ this, ++ boost::placeholders::_1)); + } + + tagged_stream_multiply_length_impl::~tagged_stream_multiply_length_impl() {} +diff --git a/gr-blocks/lib/tuntap_pdu_impl.cc b/gr-blocks/lib/tuntap_pdu_impl.cc +index 4343ae1dc..0d9d7e28c 100644 +--- a/gr-blocks/lib/tuntap_pdu_impl.cc ++++ b/gr-blocks/lib/tuntap_pdu_impl.cc +@@ -96,7 +96,8 @@ tuntap_pdu_impl::tuntap_pdu_impl(std::string dev, int MTU, bool istunflag) + + // set up input message port + message_port_register_in(pdu::pdu_port_id()); +- set_msg_handler(pdu::pdu_port_id(), boost::bind(&tuntap_pdu_impl::send, this, _1)); ++ set_msg_handler(pdu::pdu_port_id(), ++ boost::bind(&tuntap_pdu_impl::send, this, boost::placeholders::_1)); + } + + int tuntap_pdu_impl::tun_alloc(char* dev, int flags) +diff --git a/gr-digital/lib/chunks_to_symbols_impl.cc b/gr-digital/lib/chunks_to_symbols_impl.cc +index 26d590a66..a6810a69e 100644 +--- a/gr-digital/lib/chunks_to_symbols_impl.cc ++++ b/gr-digital/lib/chunks_to_symbols_impl.cc +@@ -53,8 +53,9 @@ chunks_to_symbols_impl::chunks_to_symbols_impl( + this->message_port_register_in(pmt::mp("set_symbol_table")); + this->set_msg_handler( + pmt::mp("set_symbol_table"), +- boost::bind( +- &chunks_to_symbols_impl::handle_set_symbol_table, this, _1)); ++ boost::bind(&chunks_to_symbols_impl::handle_set_symbol_table, ++ this, ++ boost::placeholders::_1)); + } + + template +diff --git a/gr-digital/lib/constellation_receiver_cb_impl.cc b/gr-digital/lib/constellation_receiver_cb_impl.cc +index 7fb7559d5..7e216ece5 100644 +--- a/gr-digital/lib/constellation_receiver_cb_impl.cc ++++ b/gr-digital/lib/constellation_receiver_cb_impl.cc +@@ -61,14 +61,16 @@ constellation_receiver_cb_impl::constellation_receiver_cb_impl( + "This receiver only works with constellations of dimension 1."); + + message_port_register_in(pmt::mp("set_constellation")); +- set_msg_handler( +- pmt::mp("set_constellation"), +- boost::bind(&constellation_receiver_cb_impl::handle_set_constellation, this, _1)); ++ set_msg_handler(pmt::mp("set_constellation"), ++ boost::bind(&constellation_receiver_cb_impl::handle_set_constellation, ++ this, ++ boost::placeholders::_1)); + + message_port_register_in(pmt::mp("rotate_phase")); +- set_msg_handler( +- pmt::mp("rotate_phase"), +- boost::bind(&constellation_receiver_cb_impl::handle_rotate_phase, this, _1)); ++ set_msg_handler(pmt::mp("rotate_phase"), ++ boost::bind(&constellation_receiver_cb_impl::handle_rotate_phase, ++ this, ++ boost::placeholders::_1)); + } + + constellation_receiver_cb_impl::~constellation_receiver_cb_impl() {} +diff --git a/gr-digital/lib/costas_loop_cc_impl.cc b/gr-digital/lib/costas_loop_cc_impl.cc +index c3b30834e..e1229e6f4 100644 +--- a/gr-digital/lib/costas_loop_cc_impl.cc ++++ b/gr-digital/lib/costas_loop_cc_impl.cc +@@ -82,7 +82,9 @@ costas_loop_cc_impl::costas_loop_cc_impl(float loop_bw, int order, bool use_snr) + + message_port_register_in(pmt::mp("noise")); + set_msg_handler(pmt::mp("noise"), +- boost::bind(&costas_loop_cc_impl::handle_set_noise, this, _1)); ++ boost::bind(&costas_loop_cc_impl::handle_set_noise, ++ this, ++ boost::placeholders::_1)); + } + + costas_loop_cc_impl::~costas_loop_cc_impl() {} +diff --git a/gr-digital/lib/crc32_async_bb_impl.cc b/gr-digital/lib/crc32_async_bb_impl.cc +index bffbb2a73..66143866c 100644 +--- a/gr-digital/lib/crc32_async_bb_impl.cc ++++ b/gr-digital/lib/crc32_async_bb_impl.cc +@@ -48,9 +48,13 @@ crc32_async_bb_impl::crc32_async_bb_impl(bool check) + message_port_register_out(d_out_port); + + if (check) +- set_msg_handler(d_in_port, boost::bind(&crc32_async_bb_impl::check, this, _1)); ++ set_msg_handler( ++ d_in_port, ++ boost::bind(&crc32_async_bb_impl::check, this, boost::placeholders::_1)); + else +- set_msg_handler(d_in_port, boost::bind(&crc32_async_bb_impl::calc, this, _1)); ++ set_msg_handler( ++ d_in_port, ++ boost::bind(&crc32_async_bb_impl::calc, this, boost::placeholders::_1)); + } + + crc32_async_bb_impl::~crc32_async_bb_impl() {} +diff --git a/gr-digital/lib/header_payload_demux_impl.cc b/gr-digital/lib/header_payload_demux_impl.cc +index 98c805fb2..7cc1e0a4e 100644 +--- a/gr-digital/lib/header_payload_demux_impl.cc ++++ b/gr-digital/lib/header_payload_demux_impl.cc +@@ -150,9 +150,10 @@ header_payload_demux_impl::header_payload_demux_impl( + } + set_tag_propagation_policy(TPP_DONT); + message_port_register_in(msg_port_id()); +- set_msg_handler( +- msg_port_id(), +- boost::bind(&header_payload_demux_impl::parse_header_data_msg, this, _1)); ++ set_msg_handler(msg_port_id(), ++ boost::bind(&header_payload_demux_impl::parse_header_data_msg, ++ this, ++ boost::placeholders::_1)); + for (size_t i = 0; i < special_tags.size(); i++) { + d_special_tags.push_back(pmt::string_to_symbol(special_tags[i])); + d_special_tags_last_value.push_back(pmt::PMT_NIL); +diff --git a/gr-digital/lib/protocol_formatter_async_impl.cc b/gr-digital/lib/protocol_formatter_async_impl.cc +index 84b693745..c08bbb9ae 100644 +--- a/gr-digital/lib/protocol_formatter_async_impl.cc ++++ b/gr-digital/lib/protocol_formatter_async_impl.cc +@@ -55,7 +55,9 @@ protocol_formatter_async_impl::protocol_formatter_async_impl( + message_port_register_out(d_pld_port); + + set_msg_handler(d_in_port, +- boost::bind(&protocol_formatter_async_impl::append, this, _1)); ++ boost::bind(&protocol_formatter_async_impl::append, ++ this, ++ boost::placeholders::_1)); + } + + protocol_formatter_async_impl::~protocol_formatter_async_impl() {} +diff --git a/gr-fec/lib/async_decoder_impl.cc b/gr-fec/lib/async_decoder_impl.cc +index e7a668c83..5d68d13ae 100644 +--- a/gr-fec/lib/async_decoder_impl.cc ++++ b/gr-fec/lib/async_decoder_impl.cc +@@ -65,10 +65,14 @@ async_decoder_impl::async_decoder_impl(generic_decoder::sptr my_decoder, + if (d_packed) { + d_pack = new blocks::kernel::pack_k_bits(8); + set_msg_handler(d_in_port, +- boost::bind(&async_decoder_impl::decode_packed, this, _1)); ++ boost::bind(&async_decoder_impl::decode_packed, ++ this, ++ boost::placeholders::_1)); + } else { + set_msg_handler(d_in_port, +- boost::bind(&async_decoder_impl::decode_unpacked, this, _1)); ++ boost::bind(&async_decoder_impl::decode_unpacked, ++ this, ++ boost::placeholders::_1)); + } + + // The maximum frame size is set by the initial frame size of the decoder. +diff --git a/gr-fec/lib/async_encoder_impl.cc b/gr-fec/lib/async_encoder_impl.cc +index 811d55601..506ae5c7e 100644 +--- a/gr-fec/lib/async_encoder_impl.cc ++++ b/gr-fec/lib/async_encoder_impl.cc +@@ -64,7 +64,9 @@ async_encoder_impl::async_encoder_impl(generic_encoder::sptr my_encoder, + + if (d_packed) { + set_msg_handler(d_in_port, +- boost::bind(&async_encoder_impl::encode_packed, this, _1)); ++ boost::bind(&async_encoder_impl::encode_packed, ++ this, ++ boost::placeholders::_1)); + + d_unpack = new blocks::kernel::unpack_k_bits(8); + +@@ -74,7 +76,9 @@ async_encoder_impl::async_encoder_impl(generic_encoder::sptr my_encoder, + + } else { + set_msg_handler(d_in_port, +- boost::bind(&async_encoder_impl::encode_unpacked, this, _1)); ++ boost::bind(&async_encoder_impl::encode_unpacked, ++ this, ++ boost::placeholders::_1)); + } + + if (d_packed || (strncmp(d_encoder->get_input_conversion(), "pack", 4) == 0)) { +diff --git a/gr-fec/lib/depuncture_bb_impl.cc b/gr-fec/lib/depuncture_bb_impl.cc +index 27d00bb5b..f64dad45f 100644 +--- a/gr-fec/lib/depuncture_bb_impl.cc ++++ b/gr-fec/lib/depuncture_bb_impl.cc +@@ -74,7 +74,9 @@ depuncture_bb_impl::depuncture_bb_impl(int puncsize, int puncpat, int delay, cha + set_fixed_rate(true); + set_relative_rate((uint64_t)d_puncsize, (uint64_t)(d_puncsize - d_puncholes)); + set_output_multiple(d_puncsize); +- // set_msg_handler(boost::bind(&depuncture_bb_impl::catch_msg, this, _1)); ++ // set_msg_handler(boost::bind(&depuncture_bb_impl::catch_msg, ++ // this, ++ // boost::placeholders::_1)); + } + + depuncture_bb_impl::~depuncture_bb_impl() {} +diff --git a/gr-fec/lib/puncture_bb_impl.cc b/gr-fec/lib/puncture_bb_impl.cc +index a365d6a69..f2078d8c5 100644 +--- a/gr-fec/lib/puncture_bb_impl.cc ++++ b/gr-fec/lib/puncture_bb_impl.cc +@@ -72,7 +72,9 @@ puncture_bb_impl::puncture_bb_impl(int puncsize, int puncpat, int delay) + set_fixed_rate(true); + set_relative_rate((uint64_t)(d_puncsize - d_puncholes), (uint64_t)d_puncsize); + set_output_multiple(d_puncsize - d_puncholes); +- // set_msg_handler(boost::bind(&puncture_bb_impl::catch_msg, this, _1)); ++ // set_msg_handler(boost::bind(&puncture_bb_impl::catch_msg, ++ // this, ++ // boost::placeholders::_1)); + } + + puncture_bb_impl::~puncture_bb_impl() {} +diff --git a/gr-fec/lib/puncture_ff_impl.cc b/gr-fec/lib/puncture_ff_impl.cc +index c95288d69..95fb649a8 100644 +--- a/gr-fec/lib/puncture_ff_impl.cc ++++ b/gr-fec/lib/puncture_ff_impl.cc +@@ -72,7 +72,9 @@ puncture_ff_impl::puncture_ff_impl(int puncsize, int puncpat, int delay) + set_fixed_rate(true); + set_relative_rate((uint64_t)(d_puncsize - d_puncholes), (uint64_t)d_puncsize); + set_output_multiple(d_puncsize - d_puncholes); +- // set_msg_handler(boost::bind(&puncture_ff_impl::catch_msg, this, _1)); ++ // set_msg_handler(boost::bind(&puncture_ff_impl::catch_msg, ++ // this, ++ // boost::placeholders::_1)); + } + + puncture_ff_impl::~puncture_ff_impl() {} +diff --git a/gr-filter/lib/freq_xlating_fir_filter_impl.cc b/gr-filter/lib/freq_xlating_fir_filter_impl.cc +index 8ddc967ba..50ec58947 100644 +--- a/gr-filter/lib/freq_xlating_fir_filter_impl.cc ++++ b/gr-filter/lib/freq_xlating_fir_filter_impl.cc +@@ -72,7 +72,7 @@ freq_xlating_fir_filter_impl::freq_xlating_fir_filter_impl( + boost::bind( + &freq_xlating_fir_filter_impl::handle_set_center_freq, + this, +- _1)); ++ boost::placeholders::_1)); + } + + template +diff --git a/gr-filter/lib/mmse_resampler_cc_impl.cc b/gr-filter/lib/mmse_resampler_cc_impl.cc +index 59f9eacfa..bdce51716 100644 +--- a/gr-filter/lib/mmse_resampler_cc_impl.cc ++++ b/gr-filter/lib/mmse_resampler_cc_impl.cc +@@ -52,8 +52,9 @@ mmse_resampler_cc_impl::mmse_resampler_cc_impl(float phase_shift, float resamp_r + + set_inverse_relative_rate(d_mu_inc); + message_port_register_in(pmt::intern("msg_in")); +- set_msg_handler(pmt::intern("msg_in"), +- boost::bind(&mmse_resampler_cc_impl::handle_msg, this, _1)); ++ set_msg_handler( ++ pmt::intern("msg_in"), ++ boost::bind(&mmse_resampler_cc_impl::handle_msg, this, boost::placeholders::_1)); + } + + mmse_resampler_cc_impl::~mmse_resampler_cc_impl() { delete d_resamp; } +diff --git a/gr-filter/lib/mmse_resampler_ff_impl.cc b/gr-filter/lib/mmse_resampler_ff_impl.cc +index 342d9f767..3d7272711 100644 +--- a/gr-filter/lib/mmse_resampler_ff_impl.cc ++++ b/gr-filter/lib/mmse_resampler_ff_impl.cc +@@ -53,8 +53,9 @@ mmse_resampler_ff_impl::mmse_resampler_ff_impl(float phase_shift, float resamp_r + set_inverse_relative_rate(d_mu_inc); + + message_port_register_in(pmt::intern("msg_in")); +- set_msg_handler(pmt::intern("msg_in"), +- boost::bind(&mmse_resampler_ff_impl::handle_msg, this, _1)); ++ set_msg_handler( ++ pmt::intern("msg_in"), ++ boost::bind(&mmse_resampler_ff_impl::handle_msg, this, boost::placeholders::_1)); + } + + mmse_resampler_ff_impl::~mmse_resampler_ff_impl() { delete d_resamp; } +diff --git a/gr-qtgui/lib/const_sink_c_impl.cc b/gr-qtgui/lib/const_sink_c_impl.cc +index 852f6ee10..04d421d03 100644 +--- a/gr-qtgui/lib/const_sink_c_impl.cc ++++ b/gr-qtgui/lib/const_sink_c_impl.cc +@@ -69,8 +69,9 @@ const_sink_c_impl::const_sink_c_impl(int size, + + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), +- boost::bind(&const_sink_c_impl::handle_pdus, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&const_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); + + for (int i = 0; i < d_nconnections; i++) { + d_residbufs_real.push_back( +diff --git a/gr-qtgui/lib/edit_box_msg_impl.cc b/gr-qtgui/lib/edit_box_msg_impl.cc +index 8713aa820..39546cbf3 100644 +--- a/gr-qtgui/lib/edit_box_msg_impl.cc ++++ b/gr-qtgui/lib/edit_box_msg_impl.cc +@@ -158,7 +158,9 @@ edit_box_msg_impl::edit_box_msg_impl(data_type_t type, + message_port_register_out(d_port); + message_port_register_in(pmt::mp("val")); + +- set_msg_handler(pmt::mp("val"), boost::bind(&edit_box_msg_impl::set_value, this, _1)); ++ set_msg_handler( ++ pmt::mp("val"), ++ boost::bind(&edit_box_msg_impl::set_value, this, boost::placeholders::_1)); + } + + edit_box_msg_impl::~edit_box_msg_impl() +diff --git a/gr-qtgui/lib/freq_sink_c_impl.cc b/gr-qtgui/lib/freq_sink_c_impl.cc +index 3a34df6ec..fe231699f 100644 +--- a/gr-qtgui/lib/freq_sink_c_impl.cc ++++ b/gr-qtgui/lib/freq_sink_c_impl.cc +@@ -82,17 +82,23 @@ freq_sink_c_impl::freq_sink_c_impl(int fftsize, + + // setup bw input port + message_port_register_in(d_port_bw); +- set_msg_handler(d_port_bw, boost::bind(&freq_sink_c_impl::handle_set_bw, this, _1)); ++ set_msg_handler( ++ d_port_bw, ++ boost::bind(&freq_sink_c_impl::handle_set_bw, this, boost::placeholders::_1)); + + // setup output message port to post frequency when display is + // double-clicked + message_port_register_out(d_port); + message_port_register_in(d_port); +- set_msg_handler(d_port, boost::bind(&freq_sink_c_impl::handle_set_freq, this, _1)); ++ set_msg_handler( ++ d_port, ++ boost::bind(&freq_sink_c_impl::handle_set_freq, this, boost::placeholders::_1)); + + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_c_impl::handle_pdus, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&freq_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); + + d_main_gui = NULL; + +diff --git a/gr-qtgui/lib/freq_sink_f_impl.cc b/gr-qtgui/lib/freq_sink_f_impl.cc +index c14bfc31f..7090d8699 100644 +--- a/gr-qtgui/lib/freq_sink_f_impl.cc ++++ b/gr-qtgui/lib/freq_sink_f_impl.cc +@@ -82,17 +82,23 @@ freq_sink_f_impl::freq_sink_f_impl(int fftsize, + + // setup bw input port + message_port_register_in(d_port_bw); +- set_msg_handler(d_port_bw, boost::bind(&freq_sink_f_impl::handle_set_bw, this, _1)); ++ set_msg_handler( ++ d_port_bw, ++ boost::bind(&freq_sink_f_impl::handle_set_bw, this, boost::placeholders::_1)); + + // setup output message port to post frequency when display is + // double-clicked + message_port_register_out(d_port); + message_port_register_in(d_port); +- set_msg_handler(d_port, boost::bind(&freq_sink_f_impl::handle_set_freq, this, _1)); ++ set_msg_handler( ++ d_port, ++ boost::bind(&freq_sink_f_impl::handle_set_freq, this, boost::placeholders::_1)); + + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), boost::bind(&freq_sink_f_impl::handle_pdus, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&freq_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); + + d_main_gui = NULL; + +diff --git a/gr-qtgui/lib/histogram_sink_f_impl.cc b/gr-qtgui/lib/histogram_sink_f_impl.cc +index d16de932c..1602d1896 100644 +--- a/gr-qtgui/lib/histogram_sink_f_impl.cc ++++ b/gr-qtgui/lib/histogram_sink_f_impl.cc +@@ -81,8 +81,9 @@ histogram_sink_f_impl::histogram_sink_f_impl(int size, + + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), +- boost::bind(&histogram_sink_f_impl::handle_pdus, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&histogram_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); + + // +1 for the PDU buffer + for (int i = 0; i < d_nconnections + 1; i++) { +diff --git a/gr-qtgui/lib/sink_c_impl.cc b/gr-qtgui/lib/sink_c_impl.cc +index d3feb9d16..73136e789 100644 +--- a/gr-qtgui/lib/sink_c_impl.cc ++++ b/gr-qtgui/lib/sink_c_impl.cc +@@ -96,7 +96,9 @@ sink_c_impl::sink_c_impl(int fftsize, + // double-clicked + message_port_register_out(d_port); + message_port_register_in(d_port); +- set_msg_handler(d_port, boost::bind(&sink_c_impl::handle_set_freq, this, _1)); ++ set_msg_handler( ++ d_port, ++ boost::bind(&sink_c_impl::handle_set_freq, this, boost::placeholders::_1)); + + d_main_gui = NULL; + +diff --git a/gr-qtgui/lib/sink_f_impl.cc b/gr-qtgui/lib/sink_f_impl.cc +index 418b630b7..d31023a51 100644 +--- a/gr-qtgui/lib/sink_f_impl.cc ++++ b/gr-qtgui/lib/sink_f_impl.cc +@@ -95,7 +95,9 @@ sink_f_impl::sink_f_impl(int fftsize, + // double-clicked + message_port_register_out(d_port); + message_port_register_in(d_port); +- set_msg_handler(d_port, boost::bind(&sink_f_impl::handle_set_freq, this, _1)); ++ set_msg_handler( ++ d_port, ++ boost::bind(&sink_f_impl::handle_set_freq, this, boost::placeholders::_1)); + + d_main_gui = NULL; + +diff --git a/gr-qtgui/lib/time_raster_sink_b_impl.cc b/gr-qtgui/lib/time_raster_sink_b_impl.cc +index 045c216b0..3aa503ccf 100644 +--- a/gr-qtgui/lib/time_raster_sink_b_impl.cc ++++ b/gr-qtgui/lib/time_raster_sink_b_impl.cc +@@ -84,7 +84,9 @@ time_raster_sink_b_impl::time_raster_sink_b_impl(double samp_rate, + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); + set_msg_handler(pmt::mp("in"), +- boost::bind(&time_raster_sink_b_impl::handle_pdus, this, _1)); ++ boost::bind(&time_raster_sink_b_impl::handle_pdus, ++ this, ++ boost::placeholders::_1)); + + d_scale = 1.0f; + +diff --git a/gr-qtgui/lib/time_raster_sink_f_impl.cc b/gr-qtgui/lib/time_raster_sink_f_impl.cc +index d186f319d..b3516e5be 100644 +--- a/gr-qtgui/lib/time_raster_sink_f_impl.cc ++++ b/gr-qtgui/lib/time_raster_sink_f_impl.cc +@@ -84,7 +84,9 @@ time_raster_sink_f_impl::time_raster_sink_f_impl(double samp_rate, + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); + set_msg_handler(pmt::mp("in"), +- boost::bind(&time_raster_sink_f_impl::handle_pdus, this, _1)); ++ boost::bind(&time_raster_sink_f_impl::handle_pdus, ++ this, ++ boost::placeholders::_1)); + + d_icols = static_cast(ceil(d_cols)); + d_tmpflt = (float*)volk_malloc(d_icols * sizeof(float), volk_get_alignment()); +diff --git a/gr-qtgui/lib/time_sink_c_impl.cc b/gr-qtgui/lib/time_sink_c_impl.cc +index b73a1c1ad..83fbda298 100644 +--- a/gr-qtgui/lib/time_sink_c_impl.cc ++++ b/gr-qtgui/lib/time_sink_c_impl.cc +@@ -80,7 +80,9 @@ time_sink_c_impl::time_sink_c_impl(int size, + + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_c_impl::handle_pdus, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&time_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); + + // +2 for the PDU message buffers + for (unsigned int n = 0; n < d_nconnections + 2; n++) { +diff --git a/gr-qtgui/lib/time_sink_f_impl.cc b/gr-qtgui/lib/time_sink_f_impl.cc +index df13998d7..dd5ed12c8 100644 +--- a/gr-qtgui/lib/time_sink_f_impl.cc ++++ b/gr-qtgui/lib/time_sink_f_impl.cc +@@ -80,7 +80,9 @@ time_sink_f_impl::time_sink_f_impl(int size, + + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), boost::bind(&time_sink_f_impl::handle_pdus, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&time_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); + + // +1 for the PDU buffer + for (unsigned int n = 0; n < d_nconnections + 1; n++) { +diff --git a/gr-qtgui/lib/waterfall_sink_c_impl.cc b/gr-qtgui/lib/waterfall_sink_c_impl.cc +index fcf2ed98b..da38d32ba 100644 +--- a/gr-qtgui/lib/waterfall_sink_c_impl.cc ++++ b/gr-qtgui/lib/waterfall_sink_c_impl.cc +@@ -118,19 +118,24 @@ waterfall_sink_c_impl::waterfall_sink_c_impl(int fftsize, + // setup bw input port + message_port_register_in(d_port_bw); + set_msg_handler(d_port_bw, +- boost::bind(&waterfall_sink_c_impl::handle_set_bw, this, _1)); ++ boost::bind(&waterfall_sink_c_impl::handle_set_bw, ++ this, ++ boost::placeholders::_1)); + + // setup output message port to post frequency when display is + // double-clicked + message_port_register_out(d_port); + message_port_register_in(d_port); + set_msg_handler(d_port, +- boost::bind(&waterfall_sink_c_impl::handle_set_freq, this, _1)); ++ boost::bind(&waterfall_sink_c_impl::handle_set_freq, ++ this, ++ boost::placeholders::_1)); + + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), +- boost::bind(&waterfall_sink_c_impl::handle_pdus, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&waterfall_sink_c_impl::handle_pdus, this, boost::placeholders::_1)); + } + + waterfall_sink_c_impl::~waterfall_sink_c_impl() +diff --git a/gr-qtgui/lib/waterfall_sink_f_impl.cc b/gr-qtgui/lib/waterfall_sink_f_impl.cc +index aa1037a47..d4231a564 100644 +--- a/gr-qtgui/lib/waterfall_sink_f_impl.cc ++++ b/gr-qtgui/lib/waterfall_sink_f_impl.cc +@@ -116,19 +116,24 @@ waterfall_sink_f_impl::waterfall_sink_f_impl(int fftsize, + // setup bw input port + message_port_register_in(d_port_bw); + set_msg_handler(d_port_bw, +- boost::bind(&waterfall_sink_f_impl::handle_set_bw, this, _1)); ++ boost::bind(&waterfall_sink_f_impl::handle_set_bw, ++ this, ++ boost::placeholders::_1)); + + // setup output message port to post frequency when display is + // double-clicked + message_port_register_out(d_port); + message_port_register_in(d_port); + set_msg_handler(d_port, +- boost::bind(&waterfall_sink_f_impl::handle_set_freq, this, _1)); ++ boost::bind(&waterfall_sink_f_impl::handle_set_freq, ++ this, ++ boost::placeholders::_1)); + + // setup PDU handling input port + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), +- boost::bind(&waterfall_sink_f_impl::handle_pdus, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&waterfall_sink_f_impl::handle_pdus, this, boost::placeholders::_1)); + } + + waterfall_sink_f_impl::~waterfall_sink_f_impl() +diff --git a/gr-uhd/lib/usrp_block_impl.cc b/gr-uhd/lib/usrp_block_impl.cc +index 4f030159f..697d633c1 100644 +--- a/gr-uhd/lib/usrp_block_impl.cc ++++ b/gr-uhd/lib/usrp_block_impl.cc +@@ -137,12 +137,18 @@ usrp_block_impl::usrp_block_impl(const ::uhd::device_addr_t& device_addr, + // Set up message ports: + message_port_register_in(pmt::mp("command")); + set_msg_handler(pmt::mp("command"), +- boost::bind(&usrp_block_impl::msg_handler_command, this, _1)); ++ boost::bind(&usrp_block_impl::msg_handler_command, ++ this, ++ boost::placeholders::_1)); + + // cuz we lazy: +-#define REGISTER_CMD_HANDLER(key, _handler) \ +- register_msg_cmd_handler(key, \ +- boost::bind(&usrp_block_impl::_handler, this, _1, _2, _3)) ++#define REGISTER_CMD_HANDLER(key, _handler) \ ++ register_msg_cmd_handler(key, \ ++ boost::bind(&usrp_block_impl::_handler, \ ++ this, \ ++ boost::placeholders::_1, \ ++ boost::placeholders::_2, \ ++ boost::placeholders::_3)) + // Register default command handlers: + REGISTER_CMD_HANDLER(cmd_freq_key(), _cmd_handler_freq); + REGISTER_CMD_HANDLER(cmd_gain_key(), _cmd_handler_gain); +@@ -257,11 +263,12 @@ bool usrp_block_impl::_check_mboard_sensors_locked() + } else if (_dev->get_clock_source(mboard_index) == "mimo") { + sensor_name = "mimo_locked"; + } +- if (not _wait_for_locked_sensor( +- get_mboard_sensor_names(mboard_index), +- sensor_name, +- boost::bind( +- &usrp_block_impl::get_mboard_sensor, this, _1, mboard_index))) { ++ if (not _wait_for_locked_sensor(get_mboard_sensor_names(mboard_index), ++ sensor_name, ++ boost::bind(&usrp_block_impl::get_mboard_sensor, ++ this, ++ boost::placeholders::_1, ++ mboard_index))) { + GR_LOG_WARN( + d_logger, + boost::format( +diff --git a/gr-uhd/lib/usrp_source_impl.cc b/gr-uhd/lib/usrp_source_impl.cc +index a2ff0821b..5e6bd4328 100644 +--- a/gr-uhd/lib/usrp_source_impl.cc ++++ b/gr-uhd/lib/usrp_source_impl.cc +@@ -57,8 +57,9 @@ usrp_source_impl::usrp_source_impl(const ::uhd::device_addr_t& device_addr, + + _samp_rate = this->get_samp_rate(); + _samps_per_packet = 1; +- register_msg_cmd_handler(cmd_tag_key(), +- boost::bind(&usrp_source_impl::_cmd_handler_tag, this, _1)); ++ register_msg_cmd_handler( ++ cmd_tag_key(), ++ boost::bind(&usrp_source_impl::_cmd_handler_tag, this, boost::placeholders::_1)); + } + + usrp_source_impl::~usrp_source_impl() {} +diff --git a/gr-zeromq/lib/pub_msg_sink_impl.cc b/gr-zeromq/lib/pub_msg_sink_impl.cc +index b5da7421e..957cfa411 100644 +--- a/gr-zeromq/lib/pub_msg_sink_impl.cc ++++ b/gr-zeromq/lib/pub_msg_sink_impl.cc +@@ -62,7 +62,9 @@ pub_msg_sink_impl::pub_msg_sink_impl(char* address, int timeout, bool bind) + } + + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), boost::bind(&pub_msg_sink_impl::handler, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&pub_msg_sink_impl::handler, this, boost::placeholders::_1)); + } + + pub_msg_sink_impl::~pub_msg_sink_impl() +diff --git a/gr-zeromq/lib/push_msg_sink_impl.cc b/gr-zeromq/lib/push_msg_sink_impl.cc +index 4140781ab..7d07d3a30 100644 +--- a/gr-zeromq/lib/push_msg_sink_impl.cc ++++ b/gr-zeromq/lib/push_msg_sink_impl.cc +@@ -62,7 +62,9 @@ push_msg_sink_impl::push_msg_sink_impl(char* address, int timeout, bool bind) + } + + message_port_register_in(pmt::mp("in")); +- set_msg_handler(pmt::mp("in"), boost::bind(&push_msg_sink_impl::handler, this, _1)); ++ set_msg_handler( ++ pmt::mp("in"), ++ boost::bind(&push_msg_sink_impl::handler, this, boost::placeholders::_1)); + } + + push_msg_sink_impl::~push_msg_sink_impl() +-- +2.26.2 + diff --git a/buildroot-2021.05/package/gnuradio/0003-gnuradio-runtime_pmt-dont-hardcode-INTERFACE_INCLUDE_DIRECTORIES.patch b/buildroot-2022.02.1/package/gnuradio/0003-gnuradio-runtime_pmt-dont-hardcode-INTERFACE_INCLUDE_DIRECTORIES.patch similarity index 100% rename from buildroot-2021.05/package/gnuradio/0003-gnuradio-runtime_pmt-dont-hardcode-INTERFACE_INCLUDE_DIRECTORIES.patch rename to buildroot-2022.02.1/package/gnuradio/0003-gnuradio-runtime_pmt-dont-hardcode-INTERFACE_INCLUDE_DIRECTORIES.patch diff --git a/buildroot-2021.05/package/gnuradio/0004-gr-qtgui-dont-t-add-examples-c-subdirectory-when-gr-.patch b/buildroot-2022.02.1/package/gnuradio/0004-gr-qtgui-dont-t-add-examples-c-subdirectory-when-gr-.patch similarity index 100% rename from buildroot-2021.05/package/gnuradio/0004-gr-qtgui-dont-t-add-examples-c-subdirectory-when-gr-.patch rename to buildroot-2022.02.1/package/gnuradio/0004-gr-qtgui-dont-t-add-examples-c-subdirectory-when-gr-.patch diff --git a/buildroot-2022.02.1/package/gnuradio/0005-boost-remove-deprecated-math-common_factor.hpp.patch b/buildroot-2022.02.1/package/gnuradio/0005-boost-remove-deprecated-math-common_factor.hpp.patch new file mode 100644 index 00000000..0c282b73 --- /dev/null +++ b/buildroot-2022.02.1/package/gnuradio/0005-boost-remove-deprecated-math-common_factor.hpp.patch @@ -0,0 +1,165 @@ +From 2c767bb260a25b415e8c9c4b3ea37280b2127cec Mon Sep 17 00:00:00 2001 +From: japm48 +Date: Fri, 10 Apr 2020 23:35:30 +0200 +Subject: [PATCH] boost: remove deprecated math/common_factor.hpp + +Remove deprecation warning and prefer using std::{lcm,gcd} to Boost. +Fixes #2712. + +[Retrieved from: +https://github.com/gnuradio/gnuradio/commit/2c767bb260a25b415e8c9c4b3ea37280b2127cec] +Signed-off-by: Fabrice Fontaine +--- + .../include/gnuradio/CMakeLists.txt | 1 + + .../include/gnuradio/integer_math.h | 35 +++++++++++++++++++ + gnuradio-runtime/lib/buffer.cc | 19 ++-------- + gr-digital/lib/symbol_sync_cc_impl.cc | 4 +-- + gr-digital/lib/symbol_sync_ff_impl.cc | 4 +-- + 5 files changed, 43 insertions(+), 20 deletions(-) + create mode 100644 gnuradio-runtime/include/gnuradio/integer_math.h + +diff --git a/gnuradio-runtime/include/gnuradio/CMakeLists.txt b/gnuradio-runtime/include/gnuradio/CMakeLists.txt +index 8d718e87b5b..056af5d6f48 100644 +--- a/gnuradio-runtime/include/gnuradio/CMakeLists.txt ++++ b/gnuradio-runtime/include/gnuradio/CMakeLists.txt +@@ -31,6 +31,7 @@ install(FILES + gr_complex.h + hier_block2.h + high_res_timer.h ++ integer_math.h + io_signature.h + logger.h + math.h +diff --git a/gnuradio-runtime/include/gnuradio/integer_math.h b/gnuradio-runtime/include/gnuradio/integer_math.h +new file mode 100644 +index 00000000000..15141049fa4 +--- /dev/null ++++ b/gnuradio-runtime/include/gnuradio/integer_math.h +@@ -0,0 +1,35 @@ ++/* -*- c++ -*- */ ++/* ++ * Copyright 2020 Free Software Foundation, Inc. ++ * ++ * This file is part of GNU Radio ++ * ++ * SPDX-License-Identifier: GPL-3.0-or-later ++ * ++ */ ++#ifndef INCLUDED_GR_INTEGER_MATH_H ++#define INCLUDED_GR_INTEGER_MATH_H ++ ++#if (__cplusplus >= 201703L) ++ ++// Prefer C++17 goodness. ++#include ++#define GR_GCD std::gcd ++#define GR_LCM std::lcm ++ ++#elif (BOOST_VERSION >= 105800) ++ ++// Fallback: newer boost API (introduced in Boost 1.58.0). ++#include ++#define GR_GCD boost::integer::gcd ++#define GR_LCM boost::integer::lcm ++ ++#else ++ ++// Last resort: old deprecated boost API. ++#include ++#define GR_GCD boost::math::gcd ++#define GR_LCM boost::math::lcm ++ ++#endif /* __cplusplus >= 201703L */ ++#endif /* INCLUDED_GR_INTEGER_MATH_H */ +diff --git a/gnuradio-runtime/lib/buffer.cc b/gnuradio-runtime/lib/buffer.cc +index 720c72c4ee8..46d704542b1 100644 +--- a/gnuradio-runtime/lib/buffer.cc ++++ b/gnuradio-runtime/lib/buffer.cc +@@ -13,22 +13,13 @@ + #endif + #include "vmcircbuf.h" + #include ++#include + #include + #include + #include + #include + #include + +-// the following header is deprecated as of Boost 1.66.0, and the +-// other API was introduced in Boost 1.58.0. Since we still support +-// Boost back to 1.54.0, use the older API if pre-1.5.80 and otherwise +-// use the newer API. +-#if (BOOST_VERSION < 105800) +-#include +-#else +-#include +-#endif +- + namespace gr { + + static long s_buffer_count = 0; // counts for debugging storage mgmt +@@ -68,13 +59,9 @@ static long s_buffer_reader_count = 0; + * + * type_size * nitems == k * page_size + */ +-static long minimum_buffer_items(long type_size, long page_size) ++static inline long minimum_buffer_items(long type_size, long page_size) + { +-#if (BOOST_VERSION < 105800) +- return page_size / boost::math::gcd(type_size, page_size); +-#else +- return page_size / boost::integer::gcd(type_size, page_size); +-#endif ++ return page_size / GR_GCD(type_size, page_size); + } + + +diff --git a/gr-digital/lib/symbol_sync_cc_impl.cc b/gr-digital/lib/symbol_sync_cc_impl.cc +index 55f85e7c6a7..55f162dc727 100644 +--- a/gr-digital/lib/symbol_sync_cc_impl.cc ++++ b/gr-digital/lib/symbol_sync_cc_impl.cc +@@ -13,9 +13,9 @@ + #endif + + #include "symbol_sync_cc_impl.h" ++#include + #include + #include +-#include + #include + + namespace gr { +@@ -95,7 +95,7 @@ symbol_sync_cc_impl::symbol_sync_cc_impl(enum ted_type detector_type, + throw std::runtime_error("unable to create interpolating_resampler_ccf"); + + // Block Internal Clocks +- d_interps_per_symbol_n = boost::math::lcm(d_ted->inputs_per_symbol(), d_osps_n); ++ d_interps_per_symbol_n = GR_LCM(d_ted->inputs_per_symbol(), d_osps_n); + d_interps_per_ted_input_n = d_interps_per_symbol_n / d_ted->inputs_per_symbol(); + d_interps_per_output_sample_n = d_interps_per_symbol_n / d_osps_n; + +diff --git a/gr-digital/lib/symbol_sync_ff_impl.cc b/gr-digital/lib/symbol_sync_ff_impl.cc +index d0ec32ab192..1172c1b4f8a 100644 +--- a/gr-digital/lib/symbol_sync_ff_impl.cc ++++ b/gr-digital/lib/symbol_sync_ff_impl.cc +@@ -13,9 +13,9 @@ + #endif + + #include "symbol_sync_ff_impl.h" ++#include + #include + #include +-#include + #include + + namespace gr { +@@ -97,7 +97,7 @@ symbol_sync_ff_impl::symbol_sync_ff_impl(enum ted_type detector_type, + throw std::runtime_error("unable to create interpolating_resampler_fff"); + + // Block Internal Clocks +- d_interps_per_symbol_n = boost::math::lcm(d_ted->inputs_per_symbol(), d_osps_n); ++ d_interps_per_symbol_n = GR_LCM(d_ted->inputs_per_symbol(), d_osps_n); + d_interps_per_ted_input_n = d_interps_per_symbol_n / d_ted->inputs_per_symbol(); + d_interps_per_output_sample_n = d_interps_per_symbol_n / d_osps_n; + diff --git a/buildroot-2022.02.1/package/gnuradio/Config.in b/buildroot-2022.02.1/package/gnuradio/Config.in new file mode 100644 index 00000000..1896d132 --- /dev/null +++ b/buildroot-2022.02.1/package/gnuradio/Config.in @@ -0,0 +1,164 @@ +comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS + +comment "gnuradio needs a toolchain not affected by GCC bug 43744 and 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_43744 + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_GNURADIO + bool "gnuradio" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_USE_MMU # use fork() + depends on BR2_USE_WCHAR # boost + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic, boost-filesystem + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_43744 + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_ATOMIC + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS + select BR2_PACKAGE_BOOST_REGEX + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD + select BR2_PACKAGE_LOG4CPP + select BR2_PACKAGE_GMP + help + GNU Radio is a free & open-source software development + toolkit that provides signal processing blocks to implement + software radios. It can be used with readily-available + low-cost external RF hardware to create software-defined + radios, or without hardware in a simulation-like + environment. It is widely used in hobbyist, academic and + commercial environments to support both wireless + communications research and real-world radio systems. + + http://gnuradio.org/ + +if BR2_PACKAGE_GNURADIO + +config BR2_PACKAGE_GNURADIO_AUDIO + bool "gr-audio" + select BR2_PACKAGE_ALSA_LIB if !BR2_PACKAGE_PORTAUDIO + help + Add audio source/sink to GNU Radio + +config BR2_PACKAGE_GNURADIO_BLOCKS + bool "blocks support" + help + GNU Radio basic block library + +config BR2_PACKAGE_GNURADIO_CTRLPORT + bool "ctrlport support" + help + GNU Radio ctrlport block + +config BR2_PACKAGE_GNURADIO_DTV + bool "gr-dtv support" + select BR2_PACKAGE_GNURADIO_ANALOG + select BR2_PACKAGE_GNURADIO_FEC + select BR2_PACKAGE_GNURADIO_FILTER + help + various digital television standards blocks + +config BR2_PACKAGE_GNURADIO_FEC + bool "gr-fec support" + select BR2_PACKAGE_GNURADIO_BLOCKS + select BR2_PACKAGE_GSL + help + FEC signal processing blocks + +config BR2_PACKAGE_GNURADIO_PYTHON + bool "python support" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy + select BR2_PACKAGE_BOOST_PYTHON + select BR2_PACKAGE_PYTHON_NUMPY # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + Enable python component + +comment "python support needs glibc or musl" + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) + +config BR2_PACKAGE_GNURADIO_UTILS + bool "gr-utils support" + depends on BR2_PACKAGE_GNURADIO_PYTHON + help + Misc python utilities + +config BR2_PACKAGE_GNURADIO_ZEROMQ + bool "gr-zeromq support" + select BR2_PACKAGE_CPPZMQ + select BR2_PACKAGE_PYTHON_PYZMQ if BR2_PACKAGE_GNURADIO_PYTHON + help + zeromq communication support + +config BR2_PACKAGE_GNURADIO_ANALOG + bool "gr-analog support" + select BR2_PACKAGE_GNURADIO_FILTER + help + Analog communications blocks + +config BR2_PACKAGE_GNURADIO_CHANNELS + bool "gr-channels support" + select BR2_PACKAGE_GNURADIO_ANALOG + help + Channel model blocks + +config BR2_PACKAGE_GNURADIO_DIGITAL + bool "gr-digital support" + select BR2_PACKAGE_GNURADIO_ANALOG + help + Digital communications blocks + +config BR2_PACKAGE_GNURADIO_FFT + bool "gr-fft support" + select BR2_PACKAGE_FFTW + select BR2_PACKAGE_FFTW_SINGLE + select BR2_PACKAGE_GNURADIO_BLOCKS + help + FFT signal processing blocks + +config BR2_PACKAGE_GNURADIO_FILTER + bool "gr-filter support" + select BR2_PACKAGE_GNURADIO_FFT + help + Filter signal processing blocks + +config BR2_PACKAGE_GNURADIO_QTGUI + bool "gr-qtgui" + depends on BR2_PACKAGE_GNURADIO_PYTHON + depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_GNURADIO_FFT + select BR2_PACKAGE_GNURADIO_FILTER + select BR2_PACKAGE_PYTHON_PYQT5 + select BR2_PACKAGE_QT5BASE_FONTCONFIG # runtime + select BR2_PACKAGE_QT5BASE_GUI # runtime + select BR2_PACKAGE_QT5BASE_WIDGETS # runtime + select BR2_PACKAGE_QWT + help + GNU Radio Qt scopes + +config BR2_PACKAGE_GNURADIO_TRELLIS + bool "gr-trellis support" + select BR2_PACKAGE_GNURADIO_DIGITAL + help + Trellis coded modulation blocks + +config BR2_PACKAGE_GNURADIO_UHD + bool "gr-uhd support" + select BR2_PACKAGE_UHD + select BR2_PACKAGE_GNURADIO_ANALOG + select BR2_PACKAGE_GNURADIO_BLOCKS + select BR2_PACKAGE_GNURADIO_FILTER + help + UHD support + +endif diff --git a/buildroot-2022.02.1/package/gnuradio/gnuradio.hash b/buildroot-2022.02.1/package/gnuradio/gnuradio.hash new file mode 100644 index 00000000..e47c5faa --- /dev/null +++ b/buildroot-2022.02.1/package/gnuradio/gnuradio.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 3e293541a9ac8d78660762bae8b80c0f6195b3494e1c50c01a9fd79cc60bb624 gnuradio-3.8.2.0.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/gnuradio/gnuradio.mk b/buildroot-2022.02.1/package/gnuradio/gnuradio.mk new file mode 100644 index 00000000..49e3b951 --- /dev/null +++ b/buildroot-2022.02.1/package/gnuradio/gnuradio.mk @@ -0,0 +1,162 @@ +################################################################################ +# +# gnuradio +# +################################################################################ + +GNURADIO_VERSION = 3.8.2.0 +GNURADIO_SITE = https://github.com/gnuradio/gnuradio/releases/download/v$(GNURADIO_VERSION) +GNURADIO_LICENSE = GPL-3.0+ +GNURADIO_LICENSE_FILES = COPYING + +GNURADIO_SUPPORTS_IN_SOURCE_BUILD = NO + +# host-python-mako and host-python-six are needed for volk to compile +GNURADIO_DEPENDENCIES = \ + host-python3 \ + host-python-mako \ + host-python-six \ + host-swig \ + boost \ + log4cpp \ + gmp + +GNURADIO_CONF_OPTS = \ + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ + -DENABLE_DEFAULT=OFF \ + -DENABLE_VOLK=ON \ + -DENABLE_GNURADIO_RUNTIME=ON \ + -DENABLE_TESTING=OFF \ + -DXMLTO_EXECUTABLE=NOTFOUND + +# For third-party blocks, the gnuradio libraries are mandatory at +# compile time. +GNURADIO_INSTALL_STAGING = YES + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GNURADIO_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +ifeq ($(BR2_PACKAGE_ORC),y) +GNURADIO_DEPENDENCIES += orc +GNURADIO_CONF_OPTS += -DENABLE_ORC=ON +else +GNURADIO_CONF_OPTS += -DENABLE_ORC=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_ANALOG),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_ANALOG=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_AUDIO),y) +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +GNURADIO_DEPENDENCIES += alsa-lib +endif +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +GNURADIO_DEPENDENCIES += portaudio +endif +GNURADIO_CONF_OPTS += -DENABLE_GR_AUDIO=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_AUDIO=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_BLOCKS),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_BLOCKS=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_CHANNELS),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_CHANNELS=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_CTRLPORT),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_CTRLPORT=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_CTRLPORT=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_DIGITAL),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_DIGITAL=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_DTV),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_DTV=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_DTV=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_FEC),y) +GNURADIO_DEPENDENCIES += gsl +GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_FEC=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_FFT),y) +GNURADIO_DEPENDENCIES += fftw-single +GNURADIO_CONF_OPTS += -DENABLE_GR_FFT=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_FFT=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_FILTER),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y) +GNURADIO_DEPENDENCIES += python3 +GNURADIO_CONF_OPTS += -DENABLE_PYTHON=ON +# mandatory to install python modules in site-packages and to use +# correct path for python libraries +GNURADIO_CONF_OPTS += -DGR_PYTHON_RELATIVE=ON \ + -DGR_PYTHON_DIR=lib/python$(PYTHON3_VERSION_MAJOR)/site-packages +else +GNURADIO_CONF_OPTS += -DENABLE_PYTHON=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_QTGUI),y) +GNURADIO_DEPENDENCIES += qt5base python-pyqt5 qwt +GNURADIO_CONF_OPTS += -DENABLE_GR_QTGUI=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_QTGUI=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_TRELLIS),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_TRELLIS=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_UHD),y) +GNURADIO_DEPENDENCIES += uhd +GNURADIO_CONF_OPTS += -DENABLE_GR_UHD=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_UHD=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_UTILS),y) +GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_UTILS=OFF +endif + +ifeq ($(BR2_PACKAGE_GNURADIO_ZEROMQ),y) +GNURADIO_DEPENDENCIES += cppzmq +ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y) +GNURADIO_DEPENDENCIES += python-pyzmq +endif +GNURADIO_CONF_OPTS += -DENABLE_GR_ZEROMQ=ON +else +GNURADIO_CONF_OPTS += -DENABLE_GR_ZEROMQ=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch b/buildroot-2022.02.1/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch new file mode 100644 index 00000000..52965c05 --- /dev/null +++ b/buildroot-2022.02.1/package/gnutls/0001-locks-define-lock-functions-as-a-macro.patch @@ -0,0 +1,179 @@ +From 5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd Mon Sep 17 00:00:00 2001 +From: Daiki Ueno +Date: Wed, 9 Mar 2022 08:07:58 +0100 +Subject: [PATCH] locks: define lock functions as a macro + +When threads are not supported, glthread_* functions are defined as +no-op and thus dereferencing lock variables in inline functions will +cause compilation error. This change fixes it by redefining our lock +functions as a macro so it will also be compiled out. + +Reported by Fabrice Fontaine in: +https://gitlab.com/gnutls/gnutls/-/issues/1330 + +Signed-off-by: Daiki Ueno + +[Retrieved from: +https://gitlab.com/gnutls/gnutls/-/commit/5803bfa3d4febdcf32494e2c2c8f4731cb8be7cd] +Signed-off-by: Fabrice Fontaine +--- + lib/locks.c | 54 ----------------------------------------------- + lib/locks.h | 28 ++++++++++++++++++------ + lib/pkcs11.c | 2 +- + lib/priority.c | 2 +- + lib/verify-tofu.c | 2 +- + 5 files changed, 25 insertions(+), 63 deletions(-) + +diff --git a/lib/locks.c b/lib/locks.c +index d61504e077..8888ed6b12 100644 +--- a/lib/locks.c ++++ b/lib/locks.c +@@ -63,57 +63,3 @@ gnutls_global_set_mutex(mutex_init_func init, mutex_deinit_func deinit, + gnutls_mutex_lock = lock; + gnutls_mutex_unlock = unlock; + } +- +-int +-gnutls_static_mutex_lock(gnutls_static_mutex_t lock) +-{ +- if (unlikely(glthread_lock_lock(lock))) { +- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); +- } +- return 0; +-} +- +-int +-gnutls_static_mutex_unlock(gnutls_static_mutex_t lock) +-{ +- if (unlikely(glthread_lock_unlock(lock))) { +- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); +- } +- return 0; +-} +- +-int +-gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock) +-{ +- if (unlikely(glthread_rwlock_rdlock(rwlock))) { +- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); +- } +- return 0; +-} +- +-int +-gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock) +-{ +- if (unlikely(glthread_rwlock_wrlock(rwlock))) { +- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); +- } +- return 0; +-} +- +-int +-gnutls_rwlock_unlock(gnutls_rwlock_t rwlock) +-{ +- if (unlikely(glthread_rwlock_unlock(rwlock))) { +- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); +- } +- return 0; +-} +- +-int +-gnutls_once(gnutls_once_t once, void (*init_func) (void)) +-{ +- if (unlikely(glthread_once(once, init_func))) { +- return gnutls_assert_val(GNUTLS_E_LOCKING_ERROR); +- } +- return 0; +-} +diff --git a/lib/locks.h b/lib/locks.h +index a1ff0fa9d7..907adfc134 100644 +--- a/lib/locks.h ++++ b/lib/locks.h +@@ -40,8 +40,14 @@ extern mutex_unlock_func gnutls_mutex_unlock; + */ + #define GNUTLS_STATIC_MUTEX(lock) gl_lock_define_initialized(static, lock) + typedef gl_lock_t *gnutls_static_mutex_t; +-int gnutls_static_mutex_lock(gnutls_static_mutex_t lock); +-int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); ++ ++#define gnutls_static_mutex_lock(LOCK) \ ++ (unlikely(glthread_lock_lock(LOCK)) ? \ ++ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) ++ ++#define gnutls_static_mutex_unlock(LOCK) \ ++ (unlikely(glthread_lock_unlock(LOCK)) ? \ ++ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) + + /* Unlike static mutexes, static rwlocks can be locked/unlocked with + * the functions defined below, because there is no way to replace +@@ -50,13 +56,23 @@ int gnutls_static_mutex_unlock(gnutls_static_mutex_t lock); + #define GNUTLS_RWLOCK(rwlock) gl_rwlock_define_initialized(static, rwlock) + typedef gl_rwlock_t *gnutls_rwlock_t; + +-int gnutls_rwlock_rdlock(gnutls_rwlock_t rwlock); +-int gnutls_rwlock_wrlock(gnutls_rwlock_t rwlock); +-int gnutls_rwlock_unlock(gnutls_rwlock_t rwlock); ++#define gnutls_rwlock_rdlock(RWLOCK) \ ++ (unlikely(glthread_rwlock_rdlock(RWLOCK)) ? \ ++ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) ++ ++#define gnutls_rwlock_wrlock(RWLOCK) \ ++ (unlikely(glthread_rwlock_wrlock(RWLOCK)) ? \ ++ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) ++ ++#define gnutls_rwlock_unlock(RWLOCK) \ ++ (unlikely(glthread_rwlock_unlock(RWLOCK)) ? \ ++ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) + + #define GNUTLS_ONCE(once) gl_once_define(static, once) + typedef gl_once_t *gnutls_once_t; + +-int gnutls_once(gnutls_once_t once, void (*init_func) (void)); ++#define gnutls_once(ONCE, INIT_FUNC) \ ++ (unlikely(glthread_once(ONCE, INIT_FUNC)) ? \ ++ gnutls_assert_val(GNUTLS_E_LOCKING_ERROR) : 0) + + #endif /* GNUTLS_LIB_LOCKS_H */ +diff --git a/lib/pkcs11.c b/lib/pkcs11.c +index 8dda0f07c9..ba8ac0c375 100644 +--- a/lib/pkcs11.c ++++ b/lib/pkcs11.c +@@ -351,7 +351,7 @@ int _gnutls_pkcs11_check_init(init_level_t req_level, void *priv, pkcs11_reinit_ + ret = sret; + + cleanup: +- gnutls_static_mutex_unlock(&pkcs11_mutex); ++ (void)gnutls_static_mutex_unlock(&pkcs11_mutex); + + return ret; + } +diff --git a/lib/priority.c b/lib/priority.c +index d17a923318..55ae185c1f 100644 +--- a/lib/priority.c ++++ b/lib/priority.c +@@ -2505,7 +2505,7 @@ static int set_ciphersuite_list(gnutls_priority_t priority_cache) + } + + out: +- gnutls_rwlock_unlock(&system_wide_config_rwlock); ++ (void)gnutls_rwlock_unlock(&system_wide_config_rwlock); + return ret; + } + +diff --git a/lib/verify-tofu.c b/lib/verify-tofu.c +index 40b7acdc8a..97f47385e6 100644 +--- a/lib/verify-tofu.c ++++ b/lib/verify-tofu.c +@@ -434,7 +434,7 @@ int store_pubkey(const char *db_name, const char *host, + if (fp != NULL) + fclose(fp); + +- gnutls_static_mutex_unlock(&file_mutex); ++ (void)gnutls_static_mutex_unlock(&file_mutex); + gnutls_free(b64key.data); + + return ret; +-- +GitLab + diff --git a/buildroot-2022.02.1/package/gnutls/Config.in b/buildroot-2022.02.1/package/gnutls/Config.in new file mode 100644 index 00000000..d57bb8d1 --- /dev/null +++ b/buildroot-2022.02.1/package/gnutls/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_GNUTLS + bool "gnutls" + # https://gitlab.com/gnutls/gnutls/issues/203 + depends on !BR2_STATIC_LIBS + # gnulib requires a library that implements wctomb(). + # This is noticed only when linking with libgnutls.so. + depends on BR2_USE_WCHAR + select BR2_PACKAGE_LIBTASN1 + select BR2_PACKAGE_NETTLE + select BR2_PACKAGE_PCRE + help + GnuTLS is a secure communications library implementing the SSL + and TLS protocols and technologies around them. + + https://www.gnutls.org/ + +if BR2_PACKAGE_GNUTLS + +config BR2_PACKAGE_GNUTLS_OPENSSL + bool "OpenSSL compatibility library" + help + Install OpenSSL compatibility library. + +config BR2_PACKAGE_GNUTLS_TOOLS + bool "install tools" + help + Install GnuTLS command line tools for various cryptographic + tasks. + +config BR2_PACKAGE_GNUTLS_ENABLE_SSL2 + bool "enable SSLv2" + help + Enable SSLv2 protocol. + +config BR2_PACKAGE_GNUTLS_ENABLE_GOST + bool "enable GOST" + help + Enable GOST cipher. + +endif + +comment "gnutls needs a toolchain w/ wchar, dynamic library" + depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/gnutls/gnutls.hash b/buildroot-2022.02.1/package/gnutls/gnutls.hash new file mode 100644 index 00000000..2ffc6c1b --- /dev/null +++ b/buildroot-2022.02.1/package/gnutls/gnutls.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.3.tar.xz.sig +sha256 fc59c43bc31ab20a6977ff083029277a31935b8355ce387b634fa433f8f6c49a gnutls-3.7.3.tar.xz +# Locally calculated +sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b doc/COPYING +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 doc/COPYING.LESSER diff --git a/buildroot-2022.02.1/package/gnutls/gnutls.mk b/buildroot-2022.02.1/package/gnutls/gnutls.mk new file mode 100644 index 00000000..7317a3bb --- /dev/null +++ b/buildroot-2022.02.1/package/gnutls/gnutls.mk @@ -0,0 +1,92 @@ +################################################################################ +# +# gnutls +# +################################################################################ + +GNUTLS_VERSION_MAJOR = 3.7 +GNUTLS_VERSION = $(GNUTLS_VERSION_MAJOR).3 +GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.xz +GNUTLS_SITE = https://www.gnupg.org/ftp/gcrypt/gnutls/v$(GNUTLS_VERSION_MAJOR) +GNUTLS_LICENSE = LGPL-2.1+ (core library) +GNUTLS_LICENSE_FILES = doc/COPYING.LESSER + +ifeq ($(BR2_PACKAGE_GNUTLS_OPENSSL),y) +GNUTLS_LICENSE += , GPL-3.0+ (gnutls-openssl library) +GNUTLS_LICENSE_FILES += doc/COPYING +endif + +GNUTLS_DEPENDENCIES = host-pkgconf libtasn1 nettle pcre +GNUTLS_CPE_ID_VENDOR = gnu +GNUTLS_CONF_OPTS = \ + --disable-doc \ + --disable-guile \ + --disable-libdane \ + --disable-rpath \ + --disable-tests \ + --enable-local-libopts \ + --enable-openssl-compatibility \ + --with-librt-prefix=$(STAGING_DIR) \ + --without-tpm \ + $(if $(BR2_PACKAGE_GNUTLS_OPENSSL),--enable,--disable)-openssl-compatibility \ + $(if $(BR2_PACKAGE_GNUTLS_TOOLS),--enable-tools,--disable-tools) \ + $(if $(BR2_PACKAGE_GNUTLS_ENABLE_SSL2),--enable,--disable)-ssl2-support \ + $(if $(BR2_PACKAGE_GNUTLS_ENABLE_GOST),--enable,--disable)-gost +GNUTLS_CONF_ENV = gl_cv_socket_ipv6=yes \ + ac_cv_header_wchar_h=$(if $(BR2_USE_WCHAR),yes,no) \ + gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no) \ + gt_cv_c_wint_t=$(if $(BR2_USE_WCHAR),yes,no) \ + gl_cv_func_gettimeofday_clobber=no +GNUTLS_INSTALL_STAGING = YES + +# libpthread autodetection poison the linkpath +GNUTLS_CONF_OPTS += $(if $(BR2_TOOLCHAIN_HAS_THREADS),--with-libpthread-prefix=$(STAGING_DIR)/usr) + +# gnutls needs libregex, but pcre can be used too +# The check isn't cross-compile friendly +GNUTLS_CONF_ENV += libopts_cv_with_libregex=yes +GNUTLS_CONF_OPTS += \ + --with-regex-header=pcreposix.h \ + --with-libregex-cflags="`$(PKG_CONFIG_HOST_BINARY) libpcreposix --cflags`" \ + --with-libregex-libs="`$(PKG_CONFIG_HOST_BINARY) libpcreposix --libs`" + +ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y) +GNUTLS_CONF_OPTS += --enable-cryptodev +GNUTLS_DEPENDENCIES += cryptodev-linux +endif + +ifeq ($(BR2_PACKAGE_LIBIDN2),y) +GNUTLS_CONF_OPTS += --with-idn +GNUTLS_DEPENDENCIES += libidn2 +else +GNUTLS_CONF_OPTS += --without-idn +endif + +ifeq ($(BR2_PACKAGE_P11_KIT),y) +GNUTLS_CONF_OPTS += --with-p11-kit +GNUTLS_DEPENDENCIES += p11-kit +else +GNUTLS_CONF_OPTS += --without-p11-kit +endif + +ifeq ($(BR2_PACKAGE_LIBUNISTRING),y) +GNUTLS_CONF_OPTS += --with-libunistring-prefix=$(STAGING_DIR)/usr +GNUTLS_DEPENDENCIES += libunistring +else +GNUTLS_CONF_OPTS += --with-included-unistring +endif + +# Provide a default CA cert location +ifeq ($(BR2_PACKAGE_P11_KIT),y) +GNUTLS_CONF_OPTS += --with-default-trust-store-pkcs11=pkcs11:model=p11-kit-trust +else ifeq ($(BR2_PACKAGE_CA_CERTIFICATES),y) +GNUTLS_CONF_OPTS += --with-default-trust-store-file=/etc/ssl/certs/ca-certificates.crt +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GNUTLS_LIBS += -latomic +endif + +GNUTLS_CONF_ENV += LIBS="$(GNUTLS_LIBS)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/go-bootstrap/Config.in.host b/buildroot-2022.02.1/package/go-bootstrap/Config.in.host similarity index 100% rename from buildroot-2021.05/package/go-bootstrap/Config.in.host rename to buildroot-2022.02.1/package/go-bootstrap/Config.in.host diff --git a/buildroot-2022.02.1/package/go-bootstrap/go-bootstrap.hash b/buildroot-2022.02.1/package/go-bootstrap/go-bootstrap.hash new file mode 100644 index 00000000..0f186a5d --- /dev/null +++ b/buildroot-2022.02.1/package/go-bootstrap/go-bootstrap.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52 go1.4-bootstrap-20171003.tar.gz +sha256 dd26a7abddd02e2d0aba97805b31f248ef7835d9e10da289b22e3b8ab78b324d LICENSE diff --git a/buildroot-2022.02.1/package/go-bootstrap/go-bootstrap.mk b/buildroot-2022.02.1/package/go-bootstrap/go-bootstrap.mk new file mode 100644 index 00000000..71696a15 --- /dev/null +++ b/buildroot-2022.02.1/package/go-bootstrap/go-bootstrap.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# go-bootstrap +# +################################################################################ + +# Use last C-based Go compiler: v1.4.x +# See https://golang.org/doc/install/source#bootstrapFromSource +GO_BOOTSTRAP_VERSION = 1.4-bootstrap-20171003 +GO_BOOTSTRAP_SITE = https://dl.google.com/go +GO_BOOTSTRAP_SOURCE = go$(GO_BOOTSTRAP_VERSION).tar.gz + +GO_BOOTSTRAP_LICENSE = BSD-3-Clause +GO_BOOTSTRAP_LICENSE_FILES = LICENSE + +# To build programs that need cgo support the toolchain needs to be +# available, so the toolchain is not needed to build host-go-bootstrap +# itself, but needed by other packages that depend on +# host-go-bootstrap. +HOST_GO_BOOTSTRAP_DEPENDENCIES = toolchain + +HOST_GO_BOOTSTRAP_ROOT = $(HOST_DIR)/lib/go-$(GO_BOOTSTRAP_VERSION) + +# The go build system is not compatable with ccache, so use HOSTCC_NOCCACHE +# here. See https://github.com/golang/go/issues/11685. +HOST_GO_BOOTSTRAP_MAKE_ENV = \ + GOOS=linux \ + GOROOT_FINAL="$(HOST_GO_BOOTSTRAP_ROOT)" \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + CC=$(HOSTCC_NOCCACHE) \ + CGO_ENABLED=0 + +define HOST_GO_BOOTSTRAP_BUILD_CMDS + cd $(@D)/src && $(HOST_GO_BOOTSTRAP_MAKE_ENV) ./make.bash +endef + +define HOST_GO_BOOTSTRAP_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_BOOTSTRAP_ROOT)/bin/go + $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_BOOTSTRAP_ROOT)/bin/gofmt + + cp -a $(@D)/lib $(HOST_GO_BOOTSTRAP_ROOT)/ + cp -a $(@D)/pkg $(HOST_GO_BOOTSTRAP_ROOT)/ + + # There is a known issue which requires the go sources to be installed + # https://golang.org/issue/2775 + cp -a $(@D)/src $(HOST_GO_BOOTSTRAP_ROOT)/ +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/go/0001-build.go-explicit-option-for-crosscompilation.patch b/buildroot-2022.02.1/package/go/0001-build.go-explicit-option-for-crosscompilation.patch similarity index 100% rename from buildroot-2021.05/package/go/0001-build.go-explicit-option-for-crosscompilation.patch rename to buildroot-2022.02.1/package/go/0001-build.go-explicit-option-for-crosscompilation.patch diff --git a/buildroot-2021.05/package/go/Config.in.host b/buildroot-2022.02.1/package/go/Config.in.host similarity index 100% rename from buildroot-2021.05/package/go/Config.in.host rename to buildroot-2022.02.1/package/go/Config.in.host diff --git a/buildroot-2022.02.1/package/go/go.hash b/buildroot-2022.02.1/package/go/go.hash new file mode 100644 index 00000000..85e6adfb --- /dev/null +++ b/buildroot-2022.02.1/package/go/go.hash @@ -0,0 +1,3 @@ +# From https://golang.org/dl/ +sha256 2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a go1.17.8.src.tar.gz +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 LICENSE diff --git a/buildroot-2022.02.1/package/go/go.mk b/buildroot-2022.02.1/package/go/go.mk new file mode 100644 index 00000000..3df16c9a --- /dev/null +++ b/buildroot-2022.02.1/package/go/go.mk @@ -0,0 +1,160 @@ +################################################################################ +# +# go +# +################################################################################ + +GO_VERSION = 1.17.8 +GO_SITE = https://storage.googleapis.com/golang +GO_SOURCE = go$(GO_VERSION).src.tar.gz + +GO_LICENSE = BSD-3-Clause +GO_LICENSE_FILES = LICENSE +GO_CPE_ID_VENDOR = golang + +HOST_GO_DEPENDENCIES = host-go-bootstrap +HOST_GO_GOPATH = $(HOST_DIR)/usr/share/go-path +HOST_GO_HOST_CACHE = $(HOST_DIR)/usr/share/host-go-cache +HOST_GO_ROOT = $(HOST_DIR)/lib/go +HOST_GO_TARGET_CACHE = $(HOST_DIR)/usr/share/go-cache + +# We pass an empty GOBIN, otherwise "go install: cannot install +# cross-compiled binaries when GOBIN is set" +HOST_GO_COMMON_ENV = \ + GO111MODULE=on \ + GOFLAGS=-mod=vendor \ + GOROOT="$(HOST_GO_ROOT)" \ + GOPATH="$(HOST_GO_GOPATH)" \ + GOPROXY=off \ + PATH=$(BR_PATH) \ + GOBIN= \ + CGO_ENABLED=$(HOST_GO_CGO_ENABLED) + +ifeq ($(BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS),y) + +ifeq ($(BR2_arm),y) +GO_GOARCH = arm +ifeq ($(BR2_ARM_CPU_ARMV5),y) +GO_GOARM = 5 +else ifeq ($(BR2_ARM_CPU_ARMV6),y) +GO_GOARM = 6 +else ifeq ($(BR2_ARM_CPU_ARMV7A),y) +GO_GOARM = 7 +else ifeq ($(BR2_ARM_CPU_ARMV8A),y) +# Go doesn't support 32-bit GOARM=8 (https://github.com/golang/go/issues/29373) +# but can still benefit from armv7 optimisations +GO_GOARM = 7 +endif +else ifeq ($(BR2_aarch64),y) +GO_GOARCH = arm64 +else ifeq ($(BR2_i386),y) +GO_GOARCH = 386 +# i386: use softfloat if no SSE2: https://golang.org/doc/go1.16#386 +ifneq ($(BR2_X86_CPU_HAS_SSE2),y) +GO_GO386 = softfloat +endif +else ifeq ($(BR2_x86_64),y) +GO_GOARCH = amd64 +else ifeq ($(BR2_powerpc64),y) +GO_GOARCH = ppc64 +else ifeq ($(BR2_powerpc64le),y) +GO_GOARCH = ppc64le +else ifeq ($(BR2_mips64),y) +GO_GOARCH = mips64 +else ifeq ($(BR2_mips64el),y) +GO_GOARCH = mips64le +else ifeq ($(BR2_s390x),y) +GO_GOARCH = s390x +endif + +# For the convienience of target packages. +HOST_GO_TOOLDIR = $(HOST_GO_ROOT)/pkg/tool/linux_$(GO_GOARCH) +HOST_GO_TARGET_ENV = \ + $(HOST_GO_COMMON_ENV) \ + GOARCH=$(GO_GOARCH) \ + GOCACHE="$(HOST_GO_TARGET_CACHE)" \ + CC="$(TARGET_CC)" \ + CXX="$(TARGET_CXX)" \ + CGO_CFLAGS="$(TARGET_CFLAGS)" \ + CGO_CXXFLAGS="$(TARGET_CXXFLAGS)" \ + CGO_LDFLAGS="$(TARGET_LDFLAGS)" \ + GOTOOLDIR="$(HOST_GO_TOOLDIR)" + +# The go compiler's cgo support uses threads. If BR2_TOOLCHAIN_HAS_THREADS is +# set, build in cgo support for any go programs that may need it. Note that +# any target package needing cgo support must include +# 'depends on BR2_TOOLCHAIN_HAS_THREADS' in its config file. +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +HOST_GO_CGO_ENABLED = 1 +else +HOST_GO_CGO_ENABLED = 0 +endif + +HOST_GO_CROSS_ENV = \ + CC_FOR_TARGET="$(TARGET_CC)" \ + CXX_FOR_TARGET="$(TARGET_CXX)" \ + GOARCH=$(GO_GOARCH) \ + $(if $(GO_GO386),GO386=$(GO_GO386)) \ + $(if $(GO_GOARM),GOARM=$(GO_GOARM)) \ + GO_ASSUME_CROSSCOMPILING=1 + +else # !BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS +# host-go can still be used to build packages for the host. No need to set all +# the arch stuff since we will not be cross-compiling. +HOST_GO_CGO_ENABLED = 1 +endif # BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + +# For the convenience of host golang packages +HOST_GO_HOST_ENV = \ + $(HOST_GO_COMMON_ENV) \ + GOARCH="" \ + GOCACHE="$(HOST_GO_HOST_CACHE)" \ + CC="$(HOSTCC_NOCCACHE)" \ + CXX="$(HOSTCXX_NOCCACHE)" \ + CGO_CFLAGS="$(HOST_CFLAGS)" \ + CGO_CXXFLAGS="$(HOST_CXXFLAGS)" \ + CGO_LDFLAGS="$(HOST_LDFLAGS)" + +# The go build system is not compatible with ccache, so use +# HOSTCC_NOCCACHE. See https://github.com/golang/go/issues/11685. +HOST_GO_MAKE_ENV = \ + GO111MODULE=off \ + GOCACHE=$(HOST_GO_HOST_CACHE) \ + GOROOT_BOOTSTRAP=$(HOST_GO_BOOTSTRAP_ROOT) \ + GOROOT_FINAL=$(HOST_GO_ROOT) \ + GOROOT="$(@D)" \ + GOBIN="$(@D)/bin" \ + GOOS=linux \ + CC=$(HOSTCC_NOCCACHE) \ + CXX=$(HOSTCXX_NOCCACHE) \ + CGO_ENABLED=$(HOST_GO_CGO_ENABLED) \ + $(HOST_GO_CROSS_ENV) + +define HOST_GO_BUILD_CMDS + cd $(@D)/src && \ + $(HOST_GO_MAKE_ENV) ./make.bash $(if $(VERBOSE),-v) +endef + +define HOST_GO_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/go $(HOST_GO_ROOT)/bin/go + $(INSTALL) -D -m 0755 $(@D)/bin/gofmt $(HOST_GO_ROOT)/bin/gofmt + + ln -sf ../lib/go/bin/go $(HOST_DIR)/bin/ + ln -sf ../lib/go/bin/gofmt $(HOST_DIR)/bin/ + + cp -a $(@D)/lib $(HOST_GO_ROOT)/ + + mkdir -p $(HOST_GO_ROOT)/pkg + cp -a $(@D)/pkg/include $(@D)/pkg/linux_* $(HOST_GO_ROOT)/pkg/ + cp -a $(@D)/pkg/tool $(HOST_GO_ROOT)/pkg/ + + # There is a known issue which requires the go sources to be installed + # https://golang.org/issue/2775 + cp -a $(@D)/src $(HOST_GO_ROOT)/ + + # Set all file timestamps to prevent the go compiler from rebuilding any + # built in packages when programs are built. + find $(HOST_GO_ROOT) -type f -exec touch -r $(@D)/bin/go {} \; +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/gob2/0001-dont-include-from-prefix.patch b/buildroot-2022.02.1/package/gob2/0001-dont-include-from-prefix.patch similarity index 100% rename from buildroot-2021.05/package/gob2/0001-dont-include-from-prefix.patch rename to buildroot-2022.02.1/package/gob2/0001-dont-include-from-prefix.patch diff --git a/buildroot-2021.05/package/gob2/gob2.hash b/buildroot-2022.02.1/package/gob2/gob2.hash similarity index 100% rename from buildroot-2021.05/package/gob2/gob2.hash rename to buildroot-2022.02.1/package/gob2/gob2.hash diff --git a/buildroot-2021.05/package/gob2/gob2.mk b/buildroot-2022.02.1/package/gob2/gob2.mk similarity index 100% rename from buildroot-2021.05/package/gob2/gob2.mk rename to buildroot-2022.02.1/package/gob2/gob2.mk diff --git a/buildroot-2022.02.1/package/gobject-introspection/0001-disable-tests.patch b/buildroot-2022.02.1/package/gobject-introspection/0001-disable-tests.patch new file mode 100644 index 00000000..ed2d9d6f --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/0001-disable-tests.patch @@ -0,0 +1,34 @@ +From c87faf380ddf44da9d624dabd28178c9065f0f76 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 3 Feb 2020 10:07:15 -0800 +Subject: [PATCH] disable tests + +If introspection data on the host is not built, meson throws the error: +"Unknown variable "typelibs". Because tests are not required, removing +the subdir tests alltogether fixes this issue. + +Signed-off-by: Adam Duskett +--- + meson.build | 6 ------ + 1 file changed, 6 deletions(-) + +diff --git a/meson.build b/meson.build +index c2cb577f..65ce7adf 100644 +--- a/meson.build ++++ b/meson.build +@@ -225,12 +225,6 @@ else + endif + subdir('docs') + +-# The tests will also run, which is not possible if they +-# were built for a different architecture. +-if not meson.is_cross_build() +- subdir('tests') +-endif +- + install_data('Makefile.introspection', install_dir: join_paths(get_option('datadir'), 'gobject-introspection-1.0')) + install_data('m4/introspection.m4', install_dir: join_paths(get_option('datadir'), 'aclocal')) + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch b/buildroot-2022.02.1/package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch new file mode 100644 index 00000000..e21da42c --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/0002-Add-rpath-links-to-ccompiler.patch @@ -0,0 +1,29 @@ +From 952e2e2bb6a22ec8824223b03b65cb28361c6e34 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Wed, 14 Mar 2018 12:07:10 -0400 +Subject: [PATCH] Add rpath links to ccompiler + +This patch allows gobject-introspection to process extra paths passed to the +compiler via the GIR_EXTRA_LIBS_PATH variable. + +Signed-off-by: Adam Duskett +--- + giscanner/ccompiler.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py +index cb97e76f..d29b28c8 100644 +--- a/giscanner/ccompiler.py ++++ b/giscanner/ccompiler.py +@@ -231,6 +231,8 @@ class CCompiler(object): + + for envvar in runtime_path_envvar: + if envvar in os.environ: ++ for envvar_path in os.environ[envvar].split(':'): ++ args.append("-Wl,-rpath-link," + envvar_path) + os.environ[envvar] = \ + os.pathsep.join(runtime_paths + [os.environ[envvar]]) + else: +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gobject-introspection/0003-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch b/buildroot-2022.02.1/package/gobject-introspection/0003-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch new file mode 100644 index 00000000..f1ea5189 --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/0003-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch @@ -0,0 +1,31 @@ +From e0fc4a2a5161a36483ddc518be9bb14390f11b19 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin +Date: Wed, 5 Sep 2018 16:46:52 +0200 +Subject: [PATCH] giscanner: ignore error return codes from ldd-wrapper + +prelink-rtld, which we use instead of ldd returns 127 when it can't find a library. +It is not an error per se, but it breaks subprocess.check_output(). + +Upstream-Status: Inappropriate [oe-core specific] +Signed-off-by: Alexander Kanavin +Signed-off-by: Adam Duskett +--- + giscanner/shlibs.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py +index 9f8ab5df..7a1a72fe 100644 +--- a/giscanner/shlibs.py ++++ b/giscanner/shlibs.py +@@ -103,7 +103,7 @@ def _resolve_non_libtool(options, binary, libraries): + args.extend(['otool', '-L', binary.args[0]]) + else: + args.extend(['ldd', binary.args[0]]) +- output = subprocess.check_output(args) ++ output = subprocess.run(args, check=False, stdout=subprocess.PIPE).stdout + if isinstance(output, bytes): + output = output.decode("utf-8", "replace") + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gobject-introspection/0004-build-Avoid-the-doctemplates-hack.patch b/buildroot-2022.02.1/package/gobject-introspection/0004-build-Avoid-the-doctemplates-hack.patch new file mode 100644 index 00000000..0b70b5c4 --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/0004-build-Avoid-the-doctemplates-hack.patch @@ -0,0 +1,221 @@ +From 0504b26ec2adb13dfdff51679d84ad2f69af5918 Mon Sep 17 00:00:00 2001 +From: Emmanuele Bassi +Date: Tue, 11 Jan 2022 15:51:10 +0000 +Subject: [PATCH] build: Avoid the doctemplates hack +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The hack that copies the doctemplates directory into the build +directory has stopped working with newer versions of Meson; while it's +possible to copy files, custom_target() cannot depend on a directory. +Additionally, the dependency has always been broken. + +Instead, we enumerate the template files—after all, it's not like they +change a lot—and then we list them as dependencies for the test targets. + +Fixes: #414 + +Signed-off-by: James Hilliard +[james.hilliard1@gmail.com: backport from upstream commit +effb1e09dee263cdac4ec593e8caf316e6f01fe2] +--- + giscanner/doctemplates/devdocs/meson.build | 19 +++++++ + giscanner/doctemplates/mallard/meson.build | 63 ++++++++++++++++++++++ + giscanner/meson.build | 14 ++--- + tests/scanner/meson.build | 24 +++++---- + 4 files changed, 98 insertions(+), 22 deletions(-) + create mode 100644 giscanner/doctemplates/devdocs/meson.build + create mode 100644 giscanner/doctemplates/mallard/meson.build + +diff --git a/giscanner/doctemplates/devdocs/meson.build b/giscanner/doctemplates/devdocs/meson.build +new file mode 100644 +index 00000000..2037182a +--- /dev/null ++++ b/giscanner/doctemplates/devdocs/meson.build +@@ -0,0 +1,19 @@ ++doc_templates += files([ ++ 'Gjs/_doc.tmpl', ++ 'Gjs/_index.tmpl', ++ 'Gjs/_method.tmpl', ++ 'Gjs/_methods.tmpl', ++ 'Gjs/_properties.tmpl', ++ 'Gjs/_signals.tmpl', ++ 'Gjs/_staticmethods.tmpl', ++ 'Gjs/_vfuncs.tmpl', ++ 'Gjs/base.tmpl', ++ 'Gjs/callback.tmpl', ++ 'Gjs/class.tmpl', ++ 'Gjs/default.tmpl', ++ 'Gjs/enum.tmpl', ++ 'Gjs/function.tmpl', ++ 'Gjs/interface.tmpl', ++ 'Gjs/method.tmpl', ++ 'Gjs/namespace.tmpl', ++]) +diff --git a/giscanner/doctemplates/mallard/meson.build b/giscanner/doctemplates/mallard/meson.build +new file mode 100644 +index 00000000..5fe4e2af +--- /dev/null ++++ b/giscanner/doctemplates/mallard/meson.build +@@ -0,0 +1,63 @@ ++base_templates = files([ ++ 'base.tmpl', ++ 'class.tmpl', ++ 'namespace.tmpl', ++]) ++ ++c_templates = files([ ++ 'C/callback.tmpl', ++ 'C/class.tmpl', ++ 'C/constructor.tmpl', ++ 'C/default.tmpl', ++ 'C/enum.tmpl', ++ 'C/field.tmpl', ++ 'C/function.tmpl', ++ 'C/interface.tmpl', ++ 'C/method.tmpl', ++ 'C/namespace.tmpl', ++ 'C/property.tmpl', ++ 'C/record.tmpl', ++ 'C/signal.tmpl', ++ 'C/vfunc.tmpl', ++]) ++ ++gjs_templates = files([ ++ 'Gjs/callback.tmpl', ++ 'Gjs/class.tmpl', ++ 'Gjs/constructor.tmpl', ++ 'Gjs/default.tmpl', ++ 'Gjs/enum.tmpl', ++ 'Gjs/field.tmpl', ++ 'Gjs/function.tmpl', ++ 'Gjs/interface.tmpl', ++ 'Gjs/method.tmpl', ++ 'Gjs/namespace.tmpl', ++ 'Gjs/property.tmpl', ++ 'Gjs/record.tmpl', ++ 'Gjs/signal.tmpl', ++ 'Gjs/vfunc.tmpl', ++]) ++ ++py_templates = files([ ++ 'Python/callback.tmpl', ++ 'Python/class.tmpl', ++ 'Python/constructor.tmpl', ++ 'Python/default.tmpl', ++ 'Python/enum.tmpl', ++ 'Python/field.tmpl', ++ 'Python/function.tmpl', ++ 'Python/interface.tmpl', ++ 'Python/method.tmpl', ++ 'Python/namespace.tmpl', ++ 'Python/property.tmpl', ++ 'Python/record.tmpl', ++ 'Python/signal.tmpl', ++ 'Python/vfunc.tmpl', ++]) ++ ++doc_templates += [ ++ base_templates, ++ c_templates, ++ gjs_templates, ++ py_templates, ++] +diff --git a/giscanner/meson.build b/giscanner/meson.build +index 41edcd44..3d7dc678 100644 +--- a/giscanner/meson.build ++++ b/giscanner/meson.build +@@ -53,17 +53,9 @@ configure_file(input : '../girepository/gdump.c', + + install_subdir('doctemplates', install_dir: giscannerdir) + +-# XXX: this doesn't track the input, but there is nothing to copy many files +-# in meson. +-doc_templates = custom_target('copy-templates', +- input : 'doctemplates', +- output : 'doctemplates', +- command : [ +- python, '-c', +- 'import sys, shutil;' + +- 'shutil.rmtree(sys.argv[2], ignore_errors=True);' + +- 'shutil.copytree(sys.argv[1], sys.argv[2])', +- '@INPUT@', '@OUTPUT@']) ++doc_templates = [] ++subdir('doctemplates/devdocs') ++subdir('doctemplates/mallard') + + flex = find_program('flex', 'win_flex') + bison = find_program('bison', 'win_bison') +diff --git a/tests/scanner/meson.build b/tests/scanner/meson.build +index 5176b957..b81b3fd5 100644 +--- a/tests/scanner/meson.build ++++ b/tests/scanner/meson.build +@@ -525,19 +525,26 @@ foreach gir : test_girs + endforeach + + if has_girdoctool and glib_dep.type_name() == 'pkgconfig' ++ doctool_env = environment() ++ doctool_env.set('srcdir', meson.current_source_dir()) ++ doctool_env.set('builddir', meson.current_build_dir()) ++ + foreach language : ['C', 'Python', 'Gjs'] + regress_docs = custom_target( + 'generate-docs-' + language, + input: regress_gir, +- depends: [doc_templates], ++ depend_files: doc_templates, + build_by_default: not cairo_deps_found, ++ env: doctool_env, + output: 'Regress-1.0-' + language, + command: [ + python, girdoctool, + '--add-include-path=' + join_paths(build_root, 'gir'), + '--add-include-path=' + meson.current_build_dir(), + '--language', language, +- '@INPUT@', '-o', '@OUTPUT@'], ++ '--templates-dir=' + join_paths(meson.current_source_dir(), '../../giscanner/doctemplates'), ++ '@INPUT@', '-o', '@OUTPUT@', ++ ], + ) + + if cairo_deps_found +@@ -546,10 +553,7 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig' + python, + args: [gi_tester, 'Regress-1.0-' + language], + depends: [regress_docs], +- env: [ +- 'srcdir=' + meson.current_source_dir(), +- 'builddir=' + meson.current_build_dir(), +- ], ++ env: doctool_env, + ) + endif + endforeach +@@ -557,9 +561,10 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig' + regress_sections = custom_target( + 'generate-docs-sections', + input: regress_gir, +- depends: [doc_templates], ++ depend_files: [doc_templates], + build_by_default: not cairo_deps_found, + output: 'Regress-1.0-sections.txt', ++ env: doctool_env, + command: [ + python, girdoctool, + '--add-include-path=' + join_paths(build_root, 'gir'), +@@ -574,10 +579,7 @@ if has_girdoctool and glib_dep.type_name() == 'pkgconfig' + python, + args: [gi_tester, 'Regress-1.0-sections.txt'], + depends: [regress_sections], +- env: [ +- 'srcdir=' + meson.current_source_dir(), +- 'builddir=' + meson.current_build_dir(), +- ], ++ env: doctool_env, + ) + endif + endif +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gobject-introspection/Config.in b/buildroot-2022.02.1/package/gobject-introspection/Config.in new file mode 100644 index 00000000..42250eb7 --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/Config.in @@ -0,0 +1,50 @@ +config BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS + +config BR2_PACKAGE_GOBJECT_INTROSPECTION + bool "gobject-introspection" + depends on BR2_USE_MMU # python3, libglib2 + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + # While gcc 4.8 might be compatible with gobject-introspection, + # The autobuilders use some toolchains from codesourcery which + # have gcc 4.8 and a very old version of glibc, which will cause + # compile errors with locale.c. As such, require 4.9 until this + # can be verified. + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_HOST_GCC_AT_LEAST_8 # host-qemu + depends on BR2_TOOLCHAIN_USES_GLIBC + # gobject-introspection does not require python3 to run on the + # target; however, because the tools run in a qemu wrapper, a + # cross-compiled python3 must be installed to staging. As there + # is no current mechanism to tell Buildroot only to install + # python to staging, then python must also be installed + # unconditionally to the target when building + # gobject-introspection. + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_HOST_QEMU + select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE + select BR2_PACKAGE_LIBFFI + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_ZLIB + help + GObject introspection is a middleware layer between C + libraries (using GObject) and language bindings. The C library + can be scanned at compile time and generate a metadata file, + in addition to the actual native C library. Then at runtime, + language bindings can read this metadata and automatically + provide bindings to call into the C library. + + https://wiki.gnome.org/action/show/Projects/GObjectIntrospection + +comment "gobject-introspection needs python3" + depends on !BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + +comment "gobject-introspection needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_8 diff --git a/buildroot-2022.02.1/package/gobject-introspection/g-ir-compiler.in b/buildroot-2022.02.1/package/gobject-introspection/g-ir-compiler.in new file mode 100644 index 00000000..71275302 --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/g-ir-compiler.in @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +"$(dirname "$0")"/g-ir-scanner-qemuwrapper "$(dirname "$0")"/g-ir-compiler.real "$@" diff --git a/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner-lddwrapper.in b/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner-lddwrapper.in new file mode 100644 index 00000000..2f09bca7 --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner-lddwrapper.in @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +"${HOST_DIR}"/sbin/prelink-rtld --root="$(dirname "$0")/../../" "$@" diff --git a/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner-qemuwrapper.in b/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner-qemuwrapper.in new file mode 100644 index 00000000..9786feea --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner-qemuwrapper.in @@ -0,0 +1,22 @@ +#!/usr/bin/env sh + +GOI_LIBRARY_PATH="${GIR_EXTRA_LIBS_PATH:+${GIR_EXTRA_LIBS_PATH}:}.libs:$(dirname "$0")/../lib:$(dirname "$0")/../../lib" + +# Pass -r to qemu-user as to trick glibc into not erroring out if the host kernel +# is older than the target kernel. +# Use a modules directory which does not exist so we don't load random things +# which may then get deleted (or their dependencies) and potentially segfault +GIO_MODULE_DIR="$(dirname "$0")/../lib/gio/modules-dummy" \ +@QEMU_USER@ -r @TOOLCHAIN_HEADERS_VERSION@ \ + @QEMU_USERMODE_ARGS@ \ + -L "$(dirname "$0")/../../" \ + -E LD_LIBRARY_PATH="${GOI_LIBRARY_PATH}" \ + "$@" + +# shellcheck disable=SC2181 +if [ $? -ne 0 ]; then + echo "If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the .mk file should help." + # shellcheck disable=SC2016 + echo 'Typically like this: PKG_MAKE_ENV += GIR_EXTRA_LIBS_PATH="$(@D)/.libs"' + exit 1 +fi diff --git a/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner.in b/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner.in new file mode 100644 index 00000000..013eb157 --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/g-ir-scanner.in @@ -0,0 +1,22 @@ +#!/usr/bin/env sh + +# These environment variables are empty by default, and as such ccompiler.py +# defaults to either using the system tools (CC, CXX, and CPP) or leaving +# the variables blank (LDFLAGS, CFLAGS, and CPPFLAGS.) +# Export these variables to ensure all build systems can generate .gir and +# .typelib files properly. +export CPP="${CPP:-${HOST_DIR}/bin/@BASENAME_TARGET_CPP@}" +export CC="${CC:-${HOST_DIR}/bin/@BASENAME_TARGET_CC@}" +export CXX="${CXX:-${HOST_DIR}/bin/@BASENAME_TARGET_CXX@}" +export CPPFLAGS="${CPPFLAGS:-@TARGET_CPPFLAGS@}" +export CFLAGS="${CFLAGS:-@TARGET_CFLAGS@}" +export CXXFLAGS="${CXXFLAGS:-@TARGET_CXXFLAGS@}" +export LDFLAGS="${LDFLAGS:-@TARGET_LDFLAGS@}" + +export GI_SCANNER_DISABLE_CACHE=1 + +"${HOST_DIR}"/bin/g-ir-scanner \ + --lib-dirs-envvar=GIR_EXTRA_LIBS_PATH \ + --use-binary-wrapper="$(dirname "$0")"/g-ir-scanner-qemuwrapper \ + --use-ldd-wrapper="$(dirname "$0")"/g-ir-scanner-lddwrapper \ + --add-include-path="$(dirname "$0")"/../share/gir-1.0 "$@" diff --git a/buildroot-2022.02.1/package/gobject-introspection/gobject-introspection.hash b/buildroot-2022.02.1/package/gobject-introspection/gobject-introspection.hash new file mode 100644 index 00000000..5b76df6b --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/gobject-introspection.hash @@ -0,0 +1,5 @@ +#From http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.70/gobject-introspection-1.70.0.sha256sum +sha256 902b4906e3102d17aa2fcb6dad1c19971c70f2a82a159ddc4a94df73a3cafc4a gobject-introspection-1.70.0.tar.xz +sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING.LGPL +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING.GPL +sha256 23f82cbc9808cdd8e902df38271434040ce0562ca382ac2a96f5e3bf807b6d31 giscanner/scannerlexer.l diff --git a/buildroot-2022.02.1/package/gobject-introspection/gobject-introspection.mk b/buildroot-2022.02.1/package/gobject-introspection/gobject-introspection.mk new file mode 100644 index 00000000..41d64171 --- /dev/null +++ b/buildroot-2022.02.1/package/gobject-introspection/gobject-introspection.mk @@ -0,0 +1,154 @@ +################################################################################ +# +# gobject-introspection +# +################################################################################ + +GOBJECT_INTROSPECTION_VERSION_MAJOR = 1.70 +GOBJECT_INTROSPECTION_VERSION = $(GOBJECT_INTROSPECTION_VERSION_MAJOR).0 +GOBJECT_INTROSPECTION_SITE = http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/$(GOBJECT_INTROSPECTION_VERSION_MAJOR) +GOBJECT_INTROSPECTION_SOURCE = gobject-introspection-$(GOBJECT_INTROSPECTION_VERSION).tar.xz +GOBJECT_INTROSPECTION_INSTALL_STAGING = YES +GOBJECT_INTROSPECTION_AUTORECONF = YES +GOBJECT_INTROSPECTION_LICENSE = LGPL-2.0+, GPL-2.0+, BSD-2-Clause +GOBJECT_INTROSPECTION_LICENSE_FILES = COPYING.LGPL COPYING.GPL giscanner/scannerlexer.l + +GOBJECT_INTROSPECTION_DEPENDENCIES = \ + host-autoconf-archive \ + host-gobject-introspection \ + host-prelink-cross \ + host-qemu \ + libffi \ + libglib2 \ + python3 \ + zlib + +HOST_GOBJECT_INTROSPECTION_DEPENDENCIES = \ + host-bison \ + host-flex \ + host-libglib2 \ + host-python3 + +# g-ir-scanner will default to /usr/bin/ld for linking if this is not set. +GOBJECT_INTROSPECTION_NINJA_ENV += \ + CC="$(TARGET_CC)" + +# When building, gobject-introspection uses tools/g-ir-scanner to build several +# .gir and .typelib files. g-ir-scanner does not use LDFLAGS, and by default, +# links to the system-installed libglib2 path. To remedy this issue, defining +# LD_LIBRARY_PATH forces g-ir-scanner to use our host installed libglib2 files. +HOST_GOBJECT_INTROSPECTION_NINJA_ENV += \ + LD_LIBRARY_PATH="$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(HOST_DIR)/lib" + +# Use the host gi-scanner to prevent the scanner from generating incorrect +# elf classes. +GOBJECT_INTROSPECTION_CONF_OPTS = \ + -Dgi_cross_use_prebuilt_gi=true \ + -Dgi_cross_binary_wrapper="$(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper" \ + -Dgi_cross_ldd_wrapper="$(STAGING_DIR)/usr/bin/g-ir-scanner-lddwrapper" \ + -Dbuild_introspection_data=true \ + -Ddoctool=disabled + +ifeq ($(BR2_PACKAGE_CAIRO),y) +GOBJECT_INTROSPECTION_DEPENDENCIES += cairo +GOBJECT_INTROSPECTION_CONF_OPTS += -Dcairo=enabled +else +GOBJECT_INTROSPECTION_CONF_OPTS += -Dcairo=disabled +endif + +# GI_SCANNER_DISABLE_CACHE=1 prevents g-ir-scanner from writing cache data to ${HOME} +GOBJECT_INTROSPECTION_CONF_ENV = \ + GI_SCANNER_DISABLE_CACHE=1 + +HOST_GOBJECT_INTROSPECTION_CONF_ENV = \ + GI_SCANNER_DISABLE_CACHE=1 + +# Make sure g-ir-tool-template uses the host python. +define GOBJECT_INTROSPECTION_FIX_TOOLS_PYTHON_PATH + $(SED) '1s%#!.*%#!$(HOST_DIR)/bin/python3%' $(@D)/tools/g-ir-tool-template.in +endef +HOST_GOBJECT_INTROSPECTION_PRE_CONFIGURE_HOOKS += GOBJECT_INTROSPECTION_FIX_TOOLTEMPLATE_PYTHON_PATH + +# Perform the following: +# - Just as above, Ensure that g-ir-tool-template.in uses the host python. +# - Install all of the wrappers needed to build gobject-introspection. +# - Create a safe modules directory which does not exist so we don't load random things +# which may then get deleted (or their dependencies) and potentially segfault +define GOBJECT_INTROSPECTION_INSTALL_PRE_WRAPPERS + $(SED) '1s%#!.*%#!$(HOST_DIR)/bin/python3%' $(@D)/tools/g-ir-tool-template.in + + $(INSTALL) -D -m 755 $(GOBJECT_INTROSPECTION_PKGDIR)/g-ir-scanner-lddwrapper.in \ + $(STAGING_DIR)/usr/bin/g-ir-scanner-lddwrapper + + $(INSTALL) -D -m 755 $(GOBJECT_INTROSPECTION_PKGDIR)/g-ir-scanner-qemuwrapper.in \ + $(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper + $(SED) "s%@QEMU_USER@%$(QEMU_USER)%g" \ + $(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper + $(SED) "s%@QEMU_USERMODE_ARGS@%$(call qstrip,$(BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS))%g" \ + $(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper + $(SED) "s%@TOOLCHAIN_HEADERS_VERSION@%$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)%g" \ + $(STAGING_DIR)/usr/bin/g-ir-scanner-qemuwrapper + + # Use a modules directory which does not exist so we don't load random things + # which may then get deleted (or their dependencies) and potentially segfault + mkdir -p $(STAGING_DIR)/usr/lib/gio/modules-dummy +endef +GOBJECT_INTROSPECTION_PRE_CONFIGURE_HOOKS += GOBJECT_INTROSPECTION_INSTALL_PRE_WRAPPERS + +# Move the real compiler and scanner to .real, and replace them with the wrappers. +# Using .real has the following advantages: +# - There is no need to change the logic for other packages. +# - The wrappers call the .real files using qemu. +define GOBJECT_INTROSPECTION_INSTALL_WRAPPERS + # Move the real binaries to their names.real, then replace them with + # the wrappers. + $(foreach w,g-ir-compiler g-ir-scanner, + mv $(STAGING_DIR)/usr/bin/$(w) $(STAGING_DIR)/usr/bin/$(w).real + $(INSTALL) -D -m 755 \ + $(GOBJECT_INTROSPECTION_PKGDIR)/$(w).in $(STAGING_DIR)/usr/bin/$(w) + ) + $(SED) "s%@BASENAME_TARGET_CPP@%$(notdir $(TARGET_CPP))%g" \ + -e "s%@BASENAME_TARGET_CC@%$(notdir $(TARGET_CC))%g" \ + -e "s%@BASENAME_TARGET_CXX@%$(notdir $(TARGET_CXX))%g" \ + -e "s%@TARGET_CPPFLAGS@%$(TARGET_CPPFLAGS)%g" \ + -e "s%@TARGET_CFLAGS@%$(TARGET_CFLAGS)%g" \ + -e "s%@TARGET_CXXFLAGS@%$(TARGET_CXXFLAGS)%g" \ + -e "s%@TARGET_LDFLAGS@%$(TARGET_LDFLAGS)%g" \ + $(STAGING_DIR)/usr/bin/g-ir-scanner + + # Gobject-introspection installs Makefile.introspection in + # $(STAGING_DIR)/usr/share which is needed for autotools-based programs to + # build .gir and .typelib files. Unfortunately, gobject-introspection-1.0.pc + # uses $(prefix)/share as the directory, which + # causes the host /usr/share being used instead of $(STAGING_DIR)/usr/share. + # Change datadir to $(libdir)/../share which will prefix $(STAGING_DIR) + # to the correct location. + $(SED) "s%^datadir=.*%datadir=\$${libdir}/../share%g" \ + $(STAGING_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc + + # By default, girdir and typelibdir use datadir and libdir as their prefix, + # of which pkg-config appends the sysroot directory. This results in files + # being installed in $(STAGING_DIR)/$(STAGING_DIR)/path/to/files. + # Changing the prefix to prefix prevents this error. + $(SED) "s%girdir=.*%girdir=\$${prefix}/share/gir-1.0%g" \ + $(STAGING_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc + + $(SED) "s%typelibdir=.*%typelibdir=\$${prefix}/lib/girepository-1.0%g" \ + $(STAGING_DIR)/usr/lib/pkgconfig/gobject-introspection-1.0.pc + + # Set includedir to $(STAGING_DIR)/usr/share/gir-1.0 instead of . or + # g-ir-compiler won't find .gir files resulting in a build failure for + # autotools-based based programs + $(SED) "s%includedir=.%includedir=$(STAGING_DIR)/usr/share/gir-1.0%g" \ + $(STAGING_DIR)/usr/share/gobject-introspection-1.0/Makefile.introspection +endef +GOBJECT_INTROSPECTION_POST_INSTALL_STAGING_HOOKS += GOBJECT_INTROSPECTION_INSTALL_WRAPPERS + +# Only .typelib files are needed to run. +define GOBJECT_INTROSPECTION_REMOVE_DEVELOPMENT_FILES + find $(TARGET_DIR)/usr/share \( -iname "*.gir" -o -iname \*.rnc \) -delete +endef +GOBJECT_INTROSPECTION_TARGET_FINALIZE_HOOKS += GOBJECT_INTROSPECTION_REMOVE_DEVELOPMENT_FILES + +$(eval $(meson-package)) +$(eval $(host-meson-package)) diff --git a/buildroot-2022.02.1/package/gocryptfs/Config.in b/buildroot-2022.02.1/package/gocryptfs/Config.in new file mode 100644 index 00000000..2630cafd --- /dev/null +++ b/buildroot-2022.02.1/package/gocryptfs/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_GOCRYPTFS + bool "gocryptfs" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + help + gocryptfs is an encrypted FUSE overlay filesystem. + + https://github.com/rfjakob/gocryptfs + +comment "gocryptfs needs a toolchain w/ threads" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/gocryptfs/gocryptfs.hash b/buildroot-2022.02.1/package/gocryptfs/gocryptfs.hash new file mode 100644 index 00000000..ae161d1c --- /dev/null +++ b/buildroot-2022.02.1/package/gocryptfs/gocryptfs.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 88f32bb8e18fa89e4ab666f7c8ad622281a11e423b4093e50ac260f960bc40b6 gocryptfs-2.2.1.tar.gz +sha256 322a7e3b02cf18e38b7e6b18cafefb773df8676c65634b34e8a2beb931294a4b LICENSE diff --git a/buildroot-2022.02.1/package/gocryptfs/gocryptfs.mk b/buildroot-2022.02.1/package/gocryptfs/gocryptfs.mk new file mode 100644 index 00000000..8f70dba7 --- /dev/null +++ b/buildroot-2022.02.1/package/gocryptfs/gocryptfs.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# gocryptfs +# +################################################################################ + +GOCRYPTFS_VERSION = 2.2.1 +GOCRYPTFS_SITE = $(call github,rfjakob,gocryptfs,v$(GOCRYPTFS_VERSION)) +GOCRYPTFS_LICENSE = MIT +GOCRYPTFS_LICENSE_FILES = LICENSE + +GOCRYPTFS_GOMOD = github.com/rfjakob/gocryptfs/v2 + +GOCRYPTFS_LDFLAGS = \ + -X main.GitVersion=$(GOCRYPTFS_VERSION) \ + -X main.GitVersionFuse=[vendored] +GOCRYPTFS_TAGS = without_openssl + +$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch b/buildroot-2022.02.1/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch similarity index 100% rename from buildroot-2021.05/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch rename to buildroot-2022.02.1/package/google-breakpad/0001-add-missing-asm-ptrace-include.patch diff --git a/buildroot-2021.05/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch b/buildroot-2022.02.1/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch similarity index 100% rename from buildroot-2021.05/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch rename to buildroot-2022.02.1/package/google-breakpad/0002-Replace-remaining-references-to-struct-ucontext-with.patch diff --git a/buildroot-2021.05/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch b/buildroot-2022.02.1/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch similarity index 100% rename from buildroot-2021.05/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch rename to buildroot-2022.02.1/package/google-breakpad/0003-src-client-linux-handler-exception_handler.cc-rename.patch diff --git a/buildroot-2022.02.1/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch b/buildroot-2022.02.1/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch new file mode 100644 index 00000000..4291216c --- /dev/null +++ b/buildroot-2022.02.1/package/google-breakpad/0004-Fix-for-non-constant-SIGSTKSZ.patch @@ -0,0 +1,34 @@ +From 4a332d01186b09a9d46390b845024d914d9149cb Mon Sep 17 00:00:00 2001 +From: Michel Alexandre Salim +Date: Sun, 21 Mar 2021 13:17:00 -0700 +Subject: [PATCH] Fix for non-constant SIGSTKSZ + +On glibc > 2.33, `SIGSTKSZ` might not be constant (in which case +it expands to a call to `sysconf` which returns a `long int`); see +http://sourceware-org.1504.n7.nabble.com/PATCH-sysconf-Add-SC-MINSIGSTKSZ-SC-SIGSTKSZ-BZ-20305-td650948.html + +Cast the two arguments to `max` to `unsigned`, which is the type of the variable +we're storing the result in anyway, so that it works both with the old-style constant +`SIGSTKSZ` and the new configurable one. + +Signed-off-by: Michel Alexandre Salim +Change-Id: I3d87048561a87c6b9fcdbb14b3d53dd45b0a00f0 + +[Retrieved from: +https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2776379] +Signed-off-by: Fabrice Fontaine +--- + +diff --git a/src/client/linux/handler/exception_handler.cc b/src/client/linux/handler/exception_handler.cc +index ca353c4..3788829 100644 +--- a/src/client/linux/handler/exception_handler.cc ++++ b/src/client/linux/handler/exception_handler.cc +@@ -138,7 +138,7 @@ + // SIGSTKSZ may be too small to prevent the signal handlers from overrunning + // the alternative stack. Ensure that the size of the alternative stack is + // large enough. +- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); ++ static const unsigned kSigStackSize = std::max((unsigned) 16384, (unsigned) SIGSTKSZ); + + // Only set an alternative stack if there isn't already one, or if the current + // one is too small. diff --git a/buildroot-2021.05/package/google-breakpad/Config.in b/buildroot-2022.02.1/package/google-breakpad/Config.in similarity index 100% rename from buildroot-2021.05/package/google-breakpad/Config.in rename to buildroot-2022.02.1/package/google-breakpad/Config.in diff --git a/buildroot-2021.05/package/google-breakpad/Config.in.host b/buildroot-2022.02.1/package/google-breakpad/Config.in.host similarity index 100% rename from buildroot-2021.05/package/google-breakpad/Config.in.host rename to buildroot-2022.02.1/package/google-breakpad/Config.in.host diff --git a/buildroot-2021.05/package/google-breakpad/gen-syms.sh b/buildroot-2022.02.1/package/google-breakpad/gen-syms.sh similarity index 100% rename from buildroot-2021.05/package/google-breakpad/gen-syms.sh rename to buildroot-2022.02.1/package/google-breakpad/gen-syms.sh diff --git a/buildroot-2021.05/package/google-breakpad/google-breakpad.hash b/buildroot-2022.02.1/package/google-breakpad/google-breakpad.hash similarity index 100% rename from buildroot-2021.05/package/google-breakpad/google-breakpad.hash rename to buildroot-2022.02.1/package/google-breakpad/google-breakpad.hash diff --git a/buildroot-2021.05/package/google-breakpad/google-breakpad.mk b/buildroot-2022.02.1/package/google-breakpad/google-breakpad.mk similarity index 100% rename from buildroot-2021.05/package/google-breakpad/google-breakpad.mk rename to buildroot-2022.02.1/package/google-breakpad/google-breakpad.mk diff --git a/buildroot-2021.05/package/google-material-design-icons/Config.in b/buildroot-2022.02.1/package/google-material-design-icons/Config.in similarity index 100% rename from buildroot-2021.05/package/google-material-design-icons/Config.in rename to buildroot-2022.02.1/package/google-material-design-icons/Config.in diff --git a/buildroot-2021.05/package/google-material-design-icons/google-material-design-icons.hash b/buildroot-2022.02.1/package/google-material-design-icons/google-material-design-icons.hash similarity index 100% rename from buildroot-2021.05/package/google-material-design-icons/google-material-design-icons.hash rename to buildroot-2022.02.1/package/google-material-design-icons/google-material-design-icons.hash diff --git a/buildroot-2021.05/package/google-material-design-icons/google-material-design-icons.mk b/buildroot-2022.02.1/package/google-material-design-icons/google-material-design-icons.mk similarity index 100% rename from buildroot-2021.05/package/google-material-design-icons/google-material-design-icons.mk rename to buildroot-2022.02.1/package/google-material-design-icons/google-material-design-icons.mk diff --git a/buildroot-2021.05/package/googlefontdirectory/Config.in b/buildroot-2022.02.1/package/googlefontdirectory/Config.in similarity index 100% rename from buildroot-2021.05/package/googlefontdirectory/Config.in rename to buildroot-2022.02.1/package/googlefontdirectory/Config.in diff --git a/buildroot-2021.05/package/googlefontdirectory/googlefontdirectory.hash b/buildroot-2022.02.1/package/googlefontdirectory/googlefontdirectory.hash similarity index 100% rename from buildroot-2021.05/package/googlefontdirectory/googlefontdirectory.hash rename to buildroot-2022.02.1/package/googlefontdirectory/googlefontdirectory.hash diff --git a/buildroot-2021.05/package/googlefontdirectory/googlefontdirectory.mk b/buildroot-2022.02.1/package/googlefontdirectory/googlefontdirectory.mk similarity index 100% rename from buildroot-2021.05/package/googlefontdirectory/googlefontdirectory.mk rename to buildroot-2022.02.1/package/googlefontdirectory/googlefontdirectory.mk diff --git a/buildroot-2021.05/package/gperf/Config.in b/buildroot-2022.02.1/package/gperf/Config.in similarity index 100% rename from buildroot-2021.05/package/gperf/Config.in rename to buildroot-2022.02.1/package/gperf/Config.in diff --git a/buildroot-2021.05/package/gperf/gperf.hash b/buildroot-2022.02.1/package/gperf/gperf.hash similarity index 100% rename from buildroot-2021.05/package/gperf/gperf.hash rename to buildroot-2022.02.1/package/gperf/gperf.hash diff --git a/buildroot-2021.05/package/gperf/gperf.mk b/buildroot-2022.02.1/package/gperf/gperf.mk similarity index 100% rename from buildroot-2021.05/package/gperf/gperf.mk rename to buildroot-2022.02.1/package/gperf/gperf.mk diff --git a/buildroot-2021.05/package/gpm/0001-Added-musl-support-to-libgpm-and-the-daemon.patch b/buildroot-2022.02.1/package/gpm/0001-Added-musl-support-to-libgpm-and-the-daemon.patch similarity index 100% rename from buildroot-2021.05/package/gpm/0001-Added-musl-support-to-libgpm-and-the-daemon.patch rename to buildroot-2022.02.1/package/gpm/0001-Added-musl-support-to-libgpm-and-the-daemon.patch diff --git a/buildroot-2021.05/package/gpm/0002-Install-unversioned-solibrary.patch b/buildroot-2022.02.1/package/gpm/0002-Install-unversioned-solibrary.patch similarity index 100% rename from buildroot-2021.05/package/gpm/0002-Install-unversioned-solibrary.patch rename to buildroot-2022.02.1/package/gpm/0002-Install-unversioned-solibrary.patch diff --git a/buildroot-2022.02.1/package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch b/buildroot-2022.02.1/package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch new file mode 100644 index 00000000..25918019 --- /dev/null +++ b/buildroot-2022.02.1/package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch @@ -0,0 +1,31 @@ +From 445be05fba32c512fd87a0c98b4e9936629ef95e Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 20 Feb 2016 17:59:52 +0100 +Subject: [PATCH] src/Makefile.in: Really install unversioned solibrary + +This commit is a follow-up to +https://github.com/telmich/gpm/commit/06b00d53d8bd513ad5d262dc94a016c6fbf2d3aa +which created libgpm.so but failed to include it in the install target. + +Patch sent upstream: https://github.com/telmich/gpm/pull/11 + +Signed-off-by: Bernd Kuhls +--- + src/Makefile.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/Makefile.in b/src/Makefile.in +index 7e9e2ef..bca226f 100644 +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -115,6 +115,7 @@ install: check + if test "x@SHLIB@" != "x" ; then \ + $(INSTALL_DATA) -m 755 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@ ; \ + cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ ; \ ++ cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so ; \ + echo "WARNING: We installed a lib, you should now call ldconfig" ; \ + echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" ; \ + echo "Or to update everything just type ldconfig" ; \ +-- +2.7.0 + diff --git a/buildroot-2021.05/package/gpm/0004-Use-sigemptyset-API-instead-of-__sigemptyset.patch b/buildroot-2022.02.1/package/gpm/0004-Use-sigemptyset-API-instead-of-__sigemptyset.patch similarity index 100% rename from buildroot-2021.05/package/gpm/0004-Use-sigemptyset-API-instead-of-__sigemptyset.patch rename to buildroot-2022.02.1/package/gpm/0004-Use-sigemptyset-API-instead-of-__sigemptyset.patch diff --git a/buildroot-2021.05/package/gpm/0005-fix-building-w-newer-glibc.patch b/buildroot-2022.02.1/package/gpm/0005-fix-building-w-newer-glibc.patch similarity index 100% rename from buildroot-2021.05/package/gpm/0005-fix-building-w-newer-glibc.patch rename to buildroot-2022.02.1/package/gpm/0005-fix-building-w-newer-glibc.patch diff --git a/buildroot-2021.05/package/gpm/0006-src-headers-daemon.h-avoid-redefinition-of-last_sele.patch b/buildroot-2022.02.1/package/gpm/0006-src-headers-daemon.h-avoid-redefinition-of-last_sele.patch similarity index 100% rename from buildroot-2021.05/package/gpm/0006-src-headers-daemon.h-avoid-redefinition-of-last_sele.patch rename to buildroot-2022.02.1/package/gpm/0006-src-headers-daemon.h-avoid-redefinition-of-last_sele.patch diff --git a/buildroot-2021.05/package/gpm/Config.in b/buildroot-2022.02.1/package/gpm/Config.in similarity index 100% rename from buildroot-2021.05/package/gpm/Config.in rename to buildroot-2022.02.1/package/gpm/Config.in diff --git a/buildroot-2021.05/package/gpm/gpm.hash b/buildroot-2022.02.1/package/gpm/gpm.hash similarity index 100% rename from buildroot-2021.05/package/gpm/gpm.hash rename to buildroot-2022.02.1/package/gpm/gpm.hash diff --git a/buildroot-2022.02.1/package/gpm/gpm.mk b/buildroot-2022.02.1/package/gpm/gpm.mk new file mode 100644 index 00000000..69526434 --- /dev/null +++ b/buildroot-2022.02.1/package/gpm/gpm.mk @@ -0,0 +1,72 @@ +################################################################################ +# +# gpm +# +################################################################################ + +GPM_VERSION = 1.20.7 +GPM_SOURCE = gpm-$(GPM_VERSION).tar.lzma +GPM_SITE = http://www.nico.schottelius.org/software/gpm/archives +GPM_LICENSE = GPL-2.0+ +GPM_LICENSE_FILES = COPYING +GPM_SELINUX_MODULES = gpm +GPM_INSTALL_STAGING = YES +GPM_DEPENDENCIES = host-bison + +# if not already installed in staging dir, gpm Makefile may fail to find some +# of the headers needed to generate build dependencies, the first time it is +# built. CPPFLAGS is used to pass the right include path to dependency rules. +GPM_CONF_ENV = \ + CPPFLAGS="$(TARGET_CPPFLAGS) -I$(@D)/src/headers/" \ + ac_cv_path_emacs=no + +# For some reason, Microblaze gcc does not define __ELF__, which gpm +# configure script uses to determine whether the architecture uses ELF +# binaries and therefore can build shared libraries. We fix this by +# telling GPM that ELF is used on Microblaze. +ifeq ($(BR2_microblaze),y) +GPM_CONF_ENV += itz_cv_sys_elf=yes +endif + +# gpm and ncurses have a circular dependency. As gpm function GPM_Wgetch() +# (requiring ncurses) is not recommended for use by ncurses people themselves +# and as it's better to have gpm support in ncurses that the contrary, we force +# gpm to not look after ncurses explicitly. +# http://invisible-island.net/ncurses/ncurses.faq.html#using_gpm_lib +GPM_CONF_OPTS = --without-curses + +# configure is missing but gpm seems not compatible with our autoreconf +# mechanism so we have to do it manually instead of using GPM_AUTORECONF = YES +define GPM_RUN_AUTOGEN + cd $(@D) && PATH=$(BR_PATH) ./autogen.sh +endef +GPM_PRE_CONFIGURE_HOOKS += GPM_RUN_AUTOGEN + +GPM_DEPENDENCIES += host-automake host-autoconf host-libtool + +# gpm tries to build/install .info doc even if makeinfo isn't installed on the +# host, so we have to disable global doc installation to prevent autobuild +# errors. +define GPM_DISABLE_DOC_INSTALL + $(SED) 's/SUBDIRS = src doc contrib/SUBDIRS = src contrib/' \ + $(@D)/Makefile.in +endef +GPM_POST_PATCH_HOOKS += GPM_DISABLE_DOC_INSTALL + +ifeq ($(BR2_PACKAGE_GPM_INSTALL_TEST_TOOLS),) +define GPM_REMOVE_TEST_TOOLS_FROM_TARGET + for tools in mev hltest mouse-test display-buttons \ + get-versions display-coords; do \ + rm -f $(TARGET_DIR)/usr/bin/$$tools ; \ + done +endef +GPM_POST_INSTALL_TARGET_HOOKS += GPM_REMOVE_TEST_TOOLS_FROM_TARGET +endif + +define GPM_INSTALL_GPM_ROOT_CONF_ON_TARGET + $(INSTALL) -m 0644 -D $(@D)/conf/gpm-root.conf $(TARGET_DIR)/etc/ +endef + +GPM_POST_INSTALL_TARGET_HOOKS += GPM_INSTALL_GPM_ROOT_CONF_ON_TARGET + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/gpsd/Config.in b/buildroot-2022.02.1/package/gpsd/Config.in new file mode 100644 index 00000000..b66d0952 --- /dev/null +++ b/buildroot-2022.02.1/package/gpsd/Config.in @@ -0,0 +1,243 @@ +comment "gpsd needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +menuconfig BR2_PACKAGE_GPSD + bool "gpsd" + # Uses fork() + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_THREADS + # Always tries to build a shared library + depends on !BR2_STATIC_LIBS + help + gpsd is a service daemon that monitors one or more GPSes or + AIS receivers attached to a host computer through serial or + USB ports, making all data on the location/course/velocity of + the sensors available to be queried on TCP port 2947 of the + host computer. + + The D-Bus interface is included if dbus-glib is enabled. + + https://gpsd.gitlab.io/gpsd + +if BR2_PACKAGE_GPSD + +config BR2_PACKAGE_GPSD_DEVICES + string "Where to look for GPSes" + default "/dev/ttyS1" + +comment "Features" + +config BR2_PACKAGE_GPSD_CLIENT_DEBUG + bool "client debugging support" + +config BR2_PACKAGE_GPSD_OLDSTYLE + bool "oldstyle (pre-JSON) protocol support" + +config BR2_PACKAGE_GPSD_PROFILING + bool "profiling support" + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_aarch64 + # Needs glibc for ARC arc-2018.03-eng007+ for correct __mcount linking + depends on !BR2_arc + +comment "profiling support not available with uClibc-based toolchain" + depends on !BR2_TOOLCHAIN_USES_GLIBC + +config BR2_PACKAGE_GPSD_USER + bool "GPSD privilege revocation user" + +config BR2_PACKAGE_GPSD_USER_VALUE + string "user to run as" + default "nobody" + depends on BR2_PACKAGE_GPSD_USER + +config BR2_PACKAGE_GPSD_GROUP + bool "GPSD privilege revocation group" + +config BR2_PACKAGE_GPSD_GROUP_VALUE + string "group to run as" + default "nobody" + depends on BR2_PACKAGE_GPSD_GROUP + +config BR2_PACKAGE_GPSD_MAX_CLIENT + bool "compile with limited maximum clients" + +config BR2_PACKAGE_GPSD_MAX_CLIENT_VALUE + int "maximum number of clients" + default "10" + depends on BR2_PACKAGE_GPSD_MAX_CLIENT + +config BR2_PACKAGE_GPSD_MAX_DEV + bool "compile with maximum allowed devices" + +config BR2_PACKAGE_GPSD_MAX_DEV_VALUE + int "maximum allowed devices" + default "2" + depends on BR2_PACKAGE_GPSD_MAX_DEV + +config BR2_PACKAGE_GPSD_SQUELCH + bool "squelch gpsd_report and gpsd_hexdump to save cpu" + +config BR2_PACKAGE_GPSD_PYTHON + bool "build Python support and modules" + depends on BR2_USE_WCHAR # python3 + select BR2_PACKAGE_PYTHON3 + help + Python libraries and tools for the gpsd service daemon + including gpsfake test harness. + +comment "GPSD python support not available with toolchain w/o wide characters support" + depends on !BR2_USE_WCHAR + +comment "Protocols" + +config BR2_PACKAGE_GPSD_AIVDM + bool "Aivdm" + help + Aivdm support + +config BR2_PACKAGE_GPSD_ASHTECH + bool "Ashtech" + help + Ashtech support + +config BR2_PACKAGE_GPSD_EARTHMATE + bool "Earthmate" + help + DeLorme EarthMate Zodiac support + +config BR2_PACKAGE_GPSD_EVERMORE + bool "EverMore" + help + EverMore binary support + +config BR2_PACKAGE_GPSD_FURY + bool "Fury" + help + Jackson Labs Fury and Firefly support + +config BR2_PACKAGE_GPSD_FV18 + bool "FV-18" + help + San Jose Navigation FV-18 support + +config BR2_PACKAGE_GPSD_GARMIN + bool "Garmin (kernel)" + help + Garmin kernel driver support + +config BR2_PACKAGE_GPSD_GARMIN_SIMPLE_TXT + bool "Garmin (simple text)" + help + Garmin Simple Text support + +config BR2_PACKAGE_GPSD_GEOSTAR + bool "Geostar" + help + Geostar Protocol support + +config BR2_PACKAGE_GPSD_GPSCLOCK + bool "GPSClock" + help + GPSClock support + +config BR2_PACKAGE_GPSD_GREIS + bool "Greis" + help + Greis support + +config BR2_PACKAGE_GPSD_ISYNC + bool "iSync" + help + Spectratime iSync LNRClok/GRCLOK support + +config BR2_PACKAGE_GPSD_ITRAX + bool "iTrax" + help + iTrax support + +config BR2_PACKAGE_GPSD_MTK3301 + bool "MTK-3301" + help + Mediatek MTK-3301 support + +config BR2_PACKAGE_GPSD_NAVCOM + bool "Navcom" + help + Navcom binary support + +config BR2_PACKAGE_GPSD_NMEA + bool "NMEA" + default y + help + Generic NMEA support + +config BR2_PACKAGE_GPSD_NMEA2000 + bool "NMEA2000" + select BR2_PACKAGE_GPSD_NAVCOM + select BR2_PACKAGE_GPSD_AIVDM + help + NMEA2000/CAN support + +config BR2_PACKAGE_GPSD_NTRIP + bool "NTRIP" + help + NTRIP support + +config BR2_PACKAGE_GPSD_OCEANSERVER + bool "OceanServer" + help + OceanServer Digital Compass support + +config BR2_PACKAGE_GPSD_ONCORE + bool "OnCore" + help + OnCore support + +config BR2_PACKAGE_GPSD_RTCM104V2 + bool "RTCM104 v2" + help + RTCM104 v2 support + +config BR2_PACKAGE_GPSD_RTCM104V3 + bool "RTCM104 v3" + help + RTCM104 v3 support + +config BR2_PACKAGE_GPSD_SIRF + bool "SiRF" + help + SiRF binary support + +config BR2_PACKAGE_GPSD_SKYTRAQ + bool "Skytraq" + help + Skytraq support + +config BR2_PACKAGE_GPSD_SUPERSTAR2 + bool "SuperStarII" + help + Novatel SuperStarII binary support + +config BR2_PACKAGE_GPSD_TRIMBLE_TSIP + bool "Trimble TSIP" + help + Trimble TSIP support + +config BR2_PACKAGE_GPSD_TRIPMATE + bool "TripMate" + help + Delorme TripMate support + +config BR2_PACKAGE_GPSD_TRUE_NORTH + bool "True North Technologies" + help + True North Technologies support + +config BR2_PACKAGE_GPSD_UBX + bool "UBX" + help + uBlox UBX binary support + +endif diff --git a/buildroot-2021.05/package/gpsd/S50gpsd b/buildroot-2022.02.1/package/gpsd/S50gpsd similarity index 100% rename from buildroot-2021.05/package/gpsd/S50gpsd rename to buildroot-2022.02.1/package/gpsd/S50gpsd diff --git a/buildroot-2022.02.1/package/gpsd/gpsd.hash b/buildroot-2022.02.1/package/gpsd/gpsd.hash new file mode 100644 index 00000000..6d93e7b5 --- /dev/null +++ b/buildroot-2022.02.1/package/gpsd/gpsd.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 0b991ce9a46538c4ea450f7a8ee428ff44fb4f8d665fddf2ffe40fe0ae9a6c09 gpsd-3.23.1.tar.gz +sha256 fdf339997bbca9eaf507476b82fbcac608fc39a3d89b86b51e16db4c9f933716 COPYING diff --git a/buildroot-2022.02.1/package/gpsd/gpsd.mk b/buildroot-2022.02.1/package/gpsd/gpsd.mk new file mode 100644 index 00000000..4388b7e2 --- /dev/null +++ b/buildroot-2022.02.1/package/gpsd/gpsd.mk @@ -0,0 +1,255 @@ +################################################################################ +# +# gpsd +# +################################################################################ + +GPSD_VERSION = 3.23.1 +GPSD_SITE = http://download-mirror.savannah.gnu.org/releases/gpsd +GPSD_LICENSE = BSD-2-Clause +GPSD_LICENSE_FILES = COPYING +GPSD_CPE_ID_VENDOR = gpsd_project +GPSD_SELINUX_MODULES = gpsd +GPSD_INSTALL_STAGING = YES + +GPSD_DEPENDENCIES = host-scons host-pkgconf + +GPSD_LDFLAGS = $(TARGET_LDFLAGS) +GPSD_CFLAGS = $(TARGET_CFLAGS) +GPSD_CXXFLAGS = $(TARGET_CXXFLAGS) + +GPSD_SCONS_ENV = $(TARGET_CONFIGURE_OPTS) + +GPSD_SCONS_OPTS = \ + arch=$(ARCH) \ + manbuild=no \ + prefix=/usr \ + sysroot=$(STAGING_DIR) \ + strip=no \ + qt=no \ + systemd=$(if $(BR2_INIT_SYSTEMD),yes,no) + +ifeq ($(BR2_PACKAGE_NCURSES),y) +GPSD_DEPENDENCIES += ncurses +else +GPSD_SCONS_OPTS += ncurses=no +endif + +# Build libgpsmm if we've got C++ +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +GPSD_LDFLAGS += -lstdc++ +GPSD_CFLAGS += -std=gnu++98 +GPSD_CXXFLAGS += -std=gnu++98 +GPSD_SCONS_OPTS += libgpsmm=yes +else +GPSD_SCONS_OPTS += libgpsmm=no +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) +GPSD_CFLAGS += -O0 +GPSD_CXXFLAGS += -O0 +endif + +# If libusb is available build it before so the package can use it +ifeq ($(BR2_PACKAGE_LIBUSB),y) +GPSD_DEPENDENCIES += libusb +else +GPSD_SCONS_OPTS += usb=no +endif + +# If bluetooth is available build it before so the package can use it +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) +GPSD_DEPENDENCIES += bluez5_utils +else +GPSD_SCONS_OPTS += bluez=no +endif + +# If pps-tools is available, build it before so the package can use it +# (HAVE_SYS_TIMEPPS_H). +ifeq ($(BR2_PACKAGE_PPS_TOOLS),y) +GPSD_DEPENDENCIES += pps-tools +endif + +ifeq ($(BR2_PACKAGE_DBUS_GLIB),y) +GPSD_SCONS_OPTS += dbus_export=yes +GPSD_DEPENDENCIES += dbus-glib +endif + +# Protocol support +ifneq ($(BR2_PACKAGE_GPSD_ASHTECH),y) +GPSD_SCONS_OPTS += ashtech=no +endif +ifneq ($(BR2_PACKAGE_GPSD_AIVDM),y) +GPSD_SCONS_OPTS += aivdm=no +endif +ifneq ($(BR2_PACKAGE_GPSD_EARTHMATE),y) +GPSD_SCONS_OPTS += earthmate=no +endif +ifneq ($(BR2_PACKAGE_GPSD_EVERMORE),y) +GPSD_SCONS_OPTS += evermore=no +endif +ifneq ($(BR2_PACKAGE_GPSD_FURY),y) +GPSD_SCONS_OPTS += fury=no +endif +ifneq ($(BR2_PACKAGE_GPSD_FV18),y) +GPSD_SCONS_OPTS += fv18=no +endif +ifneq ($(BR2_PACKAGE_GPSD_GARMIN),y) +GPSD_SCONS_OPTS += garmin=no +endif +ifneq ($(BR2_PACKAGE_GPSD_GARMIN_SIMPLE_TXT),y) +GPSD_SCONS_OPTS += garmintxt=no +endif +ifneq ($(BR2_PACKAGE_GPSD_GEOSTAR),y) +GPSD_SCONS_OPTS += geostar=no +endif +ifneq ($(BR2_PACKAGE_GPSD_GPSCLOCK),y) +GPSD_SCONS_OPTS += gpsclock=no +endif +ifneq ($(BR2_PACKAGE_GPSD_GREIS),y) +GPSD_SCONS_OPTS += greis=no +endif +ifneq ($(BR2_PACKAGE_GPSD_ISYNC),y) +GPSD_SCONS_OPTS += isync=no +endif +ifneq ($(BR2_PACKAGE_GPSD_ITRAX),y) +GPSD_SCONS_OPTS += itrax=no +endif +ifneq ($(BR2_PACKAGE_GPSD_MTK3301),y) +GPSD_SCONS_OPTS += mtk3301=no +endif +ifneq ($(BR2_PACKAGE_GPSD_NMEA),y) +GPSD_SCONS_OPTS += nmea0183=no +endif +ifneq ($(BR2_PACKAGE_GPSD_NTRIP),y) +GPSD_SCONS_OPTS += ntrip=no +endif +ifneq ($(BR2_PACKAGE_GPSD_NAVCOM),y) +GPSD_SCONS_OPTS += navcom=no +endif +ifneq ($(BR2_PACKAGE_GPSD_NMEA2000),y) +GPSD_SCONS_OPTS += nmea2000=no +endif +ifneq ($(BR2_PACKAGE_GPSD_OCEANSERVER),y) +GPSD_SCONS_OPTS += oceanserver=no +endif +ifneq ($(BR2_PACKAGE_GPSD_ONCORE),y) +GPSD_SCONS_OPTS += oncore=no +endif +ifneq ($(BR2_PACKAGE_GPSD_RTCM104V2),y) +GPSD_SCONS_OPTS += rtcm104v2=no +endif +ifneq ($(BR2_PACKAGE_GPSD_RTCM104V3),y) +GPSD_SCONS_OPTS += rtcm104v3=no +endif +ifneq ($(BR2_PACKAGE_GPSD_SIRF),y) +GPSD_SCONS_OPTS += sirf=no +endif +ifneq ($(BR2_PACKAGE_GPSD_SKYTRAQ),y) +GPSD_SCONS_OPTS += skytraq=no +endif +ifneq ($(BR2_PACKAGE_GPSD_SUPERSTAR2),y) +GPSD_SCONS_OPTS += superstar2=no +endif +ifneq ($(BR2_PACKAGE_GPSD_TRIMBLE_TSIP),y) +GPSD_SCONS_OPTS += tsip=no +endif +ifneq ($(BR2_PACKAGE_GPSD_TRIPMATE),y) +GPSD_SCONS_OPTS += tripmate=no +endif +ifneq ($(BR2_PACKAGE_GPSD_TRUE_NORTH),y) +GPSD_SCONS_OPTS += tnt=no +endif +ifneq ($(BR2_PACKAGE_GPSD_UBX),y) +GPSD_SCONS_OPTS += ublox=no +endif + +# Features +ifeq ($(BR2_PACKAGE_GPSD_SQUELCH),y) +GPSD_SCONS_OPTS += squelch=yes +endif +ifneq ($(BR2_PACKAGE_GPSD_OLDSTYLE),y) +GPSD_SCONS_OPTS += oldstyle=no +endif +ifeq ($(BR2_PACKAGE_GPSD_PROFILING),y) +GPSD_SCONS_OPTS += profiling=yes +endif +ifneq ($(BR2_PACKAGE_GPSD_CLIENT_DEBUG),y) +GPSD_SCONS_OPTS += clientdebug=no +endif +ifeq ($(BR2_PACKAGE_GPSD_USER),y) +GPSD_SCONS_OPTS += gpsd_user=$(BR2_PACKAGE_GPSD_USER_VALUE) +endif +ifeq ($(BR2_PACKAGE_GPSD_GROUP),y) +GPSD_SCONS_OPTS += gpsd_group=$(BR2_PACKAGE_GPSD_GROUP_VALUE) +endif +ifeq ($(BR2_PACKAGE_GPSD_MAX_CLIENT),y) +GPSD_SCONS_OPTS += max_clients=$(BR2_PACKAGE_GPSD_MAX_CLIENT_VALUE) +endif +ifeq ($(BR2_PACKAGE_GPSD_MAX_DEV),y) +GPSD_SCONS_OPTS += max_devices=$(BR2_PACKAGE_GPSD_MAX_DEV_VALUE) +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +GPSD_SCONS_OPTS += \ + python=yes \ + python_libdir="/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages" +else +GPSD_SCONS_OPTS += python=no +endif + +GPSD_SCONS_ENV += \ + LDFLAGS="$(GPSD_LDFLAGS)" \ + CFLAGS="$(GPSD_CFLAGS)" \ + CCFLAGS="$(GPSD_CFLAGS)" \ + CXXFLAGS="$(GPSD_CXXFLAGS)" + +define GPSD_BUILD_CMDS + (cd $(@D); \ + $(GPSD_SCONS_ENV) \ + $(SCONS) \ + $(GPSD_SCONS_OPTS)) +endef + +define GPSD_INSTALL_TARGET_CMDS + (cd $(@D); \ + $(GPSD_SCONS_ENV) \ + DESTDIR=$(TARGET_DIR) \ + $(SCONS) \ + $(GPSD_SCONS_OPTS) \ + $(if $(BR2_PACKAGE_HAS_UDEV),udev-install,install)) +endef + +define GPSD_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd + $(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd +endef + +# systemd unit files are installed automatically, but need to update the +# /usr/local path references in the provided files to /usr. +define GPSD_INSTALL_INIT_SYSTEMD + $(SED) 's%/usr/local%/usr%' \ + $(TARGET_DIR)/usr/lib/systemd/system/gpsd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/gpsdctl@.service +endef + +define GPSD_INSTALL_STAGING_CMDS + (cd $(@D); \ + $(GPSD_SCONS_ENV) \ + DESTDIR=$(STAGING_DIR) \ + $(SCONS) \ + $(GPSD_SCONS_OPTS) \ + install) +endef + +# After the udev rule is installed, make it writable so that this +# package can be re-built/re-installed. +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +define GPSD_INSTALL_UDEV_RULES + chmod u+w $(TARGET_DIR)/lib/udev/rules.d/25-gpsd.rules +endef + +GPSD_POST_INSTALL_TARGET_HOOKS += GPSD_INSTALL_UDEV_RULES +endif + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch b/buildroot-2022.02.1/package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch similarity index 100% rename from buildroot-2021.05/package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch rename to buildroot-2022.02.1/package/gptfdisk/0001-gptcurses-partially-revert-Tweaks-for-building-on-th.patch diff --git a/buildroot-2021.05/package/gptfdisk/Config.in b/buildroot-2022.02.1/package/gptfdisk/Config.in similarity index 100% rename from buildroot-2021.05/package/gptfdisk/Config.in rename to buildroot-2022.02.1/package/gptfdisk/Config.in diff --git a/buildroot-2021.05/package/gptfdisk/Config.in.host b/buildroot-2022.02.1/package/gptfdisk/Config.in.host similarity index 100% rename from buildroot-2021.05/package/gptfdisk/Config.in.host rename to buildroot-2022.02.1/package/gptfdisk/Config.in.host diff --git a/buildroot-2022.02.1/package/gptfdisk/gptfdisk.hash b/buildroot-2022.02.1/package/gptfdisk/gptfdisk.hash new file mode 100644 index 00000000..caded358 --- /dev/null +++ b/buildroot-2022.02.1/package/gptfdisk/gptfdisk.hash @@ -0,0 +1,5 @@ +# From http://sourceforge.net/projects/gptfdisk/files/gptfdisk/1.0.8/ +sha1 c8824e779056158fa32887e415f5399a8646c3c5 gptfdisk-1.0.8.tar.gz +# Locally computed +sha256 95d19856f004dabc4b8c342b2612e8d0a9eebdd52004297188369f152e9dc6df gptfdisk-1.0.8.tar.gz +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/buildroot-2022.02.1/package/gptfdisk/gptfdisk.mk b/buildroot-2022.02.1/package/gptfdisk/gptfdisk.mk new file mode 100644 index 00000000..9869975f --- /dev/null +++ b/buildroot-2022.02.1/package/gptfdisk/gptfdisk.mk @@ -0,0 +1,55 @@ +################################################################################ +# +# gptfdisk +# +################################################################################ + +GPTFDISK_VERSION = 1.0.8 +GPTFDISK_SITE = http://downloads.sourceforge.net/sourceforge/gptfdisk +GPTFDISK_LICENSE = GPL-2.0+ +GPTFDISK_LICENSE_FILES = COPYING + +GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_GDISK) += gdisk +GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_SGDISK) += sgdisk +GPTFDISK_TARGETS_$(BR2_PACKAGE_GPTFDISK_CGDISK) += cgdisk + +GPTFDISK_DEPENDENCIES += util-linux +ifeq ($(BR2_PACKAGE_GPTFDISK_SGDISK),y) +GPTFDISK_DEPENDENCIES += popt +endif +ifeq ($(BR2_PACKAGE_GPTFDISK_CGDISK),y) +GPTFDISK_DEPENDENCIES += ncurses +endif + +ifeq ($(BR2_STATIC_LIBS),y) +# gptfdisk dependencies may link against libiconv, so we need to do so +# as well when linking statically +ifeq ($(BR2_PACKAGE_LIBICONV),y) +GPTFDISK_DEPENDENCIES += libiconv +GPTFDISK_LDLIBS += -liconv +endif +endif + +define GPTFDISK_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + LDLIBS='$(GPTFDISK_LDLIBS)' $(GPTFDISK_TARGETS_y) +endef + +define GPTFDISK_INSTALL_TARGET_CMDS + for i in $(GPTFDISK_TARGETS_y); do \ + $(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \ + done +endef + +HOST_GPTFDISK_DEPENDENCIES = host-util-linux host-popt + +define HOST_GPTFDISK_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) sgdisk +endef + +define HOST_GPTFDISK_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/sgdisk $(HOST_DIR)/sbin/sgdisk +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/gqrx/Config.in b/buildroot-2022.02.1/package/gqrx/Config.in new file mode 100644 index 00000000..adcdbb08 --- /dev/null +++ b/buildroot-2022.02.1/package/gqrx/Config.in @@ -0,0 +1,52 @@ +comment "gqrx needs a toolchain w/ C++, threads, wchar, dynamic library" + depends on BR2_USE_MMU # gnuradio + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_USE_WCHAR || BR2_STATIC_LIBS + +comment "gqrx needs qt5" + depends on !BR2_PACKAGE_QT5 + +comment "gqrx needs a toolchain not affected by GCC bug 43744 and 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_43744 || BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_GQRX + bool "gqrx" + depends on BR2_USE_MMU # gnuradio + depends on !BR2_STATIC_LIBS # gnuradio + depends on BR2_INSTALL_LIBSTDCPP # boost + depends on BR2_TOOLCHAIN_HAS_THREADS # boost + depends on BR2_USE_WCHAR # boost + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_PACKAGE_QT5 + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # gnuradio -> boost-atomic + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_43744 # gnuradio + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # gnuradio + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_GNURADIO + select BR2_PACKAGE_GNURADIO_ANALOG + select BR2_PACKAGE_GNURADIO_AUDIO + select BR2_PACKAGE_GNURADIO_BLOCKS + select BR2_PACKAGE_GNURADIO_DIGITAL + select BR2_PACKAGE_GNURADIO_FFT + select BR2_PACKAGE_GNURADIO_FILTER + select BR2_PACKAGE_GR_OSMOSDR + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5SVG + help + Gqrx is an open source software defined radio (SDR) receiver + implemented using GNU Radio and the Qt GUI + toolkit. Currently it works on Linux and Mac with hardware + supported by gr-osmosdr, including Funcube Dongle, RTL-SDR, + Airspy, HackRF, BladeRF, RFSpace, USRP and SoapySDR. + + Gqrx can operate as an AM/FM/SSB receiver with audio output + or as an FFT-only instrument. There are also various hooks + for interacting with external application using network + sockets. + + http://gqrx.dk/ diff --git a/buildroot-2022.02.1/package/gqrx/gqrx.hash b/buildroot-2022.02.1/package/gqrx/gqrx.hash new file mode 100644 index 00000000..1991dfea --- /dev/null +++ b/buildroot-2022.02.1/package/gqrx/gqrx.hash @@ -0,0 +1,4 @@ +# Locally calculated: +sha256 aec35c77ebde9c71a5f973c509eec3d6aa2f18a6e052b180fcd9029d88273e5b gqrx-2.14.4.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 7cc22ce5ee61df62e427ec43b8130de149edee3cafb5af4f18d59b6dc3958faf LICENSE-CTK diff --git a/buildroot-2022.02.1/package/gqrx/gqrx.mk b/buildroot-2022.02.1/package/gqrx/gqrx.mk new file mode 100644 index 00000000..4d464298 --- /dev/null +++ b/buildroot-2022.02.1/package/gqrx/gqrx.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# gqrx +# +################################################################################ + +GQRX_VERSION = 2.14.4 +GQRX_SITE = $(call github,csete,gqrx,v$(GQRX_VERSION)) +GQRX_LICENSE = GPL-3.0+, Apache-2.0 +GQRX_LICENSE_FILES = COPYING LICENSE-CTK +GQRX_DEPENDENCIES = boost gnuradio gr-osmosdr qt5base qt5svg + +GQRX_CONF_OPTS = -DLINUX_AUDIO_BACKEND=Gr-audio + +# gqrx can use __atomic builtins, so we need to link with +# libatomic when available +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GQRX_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/gr-osmosdr/Config.in b/buildroot-2022.02.1/package/gr-osmosdr/Config.in similarity index 100% rename from buildroot-2021.05/package/gr-osmosdr/Config.in rename to buildroot-2022.02.1/package/gr-osmosdr/Config.in diff --git a/buildroot-2021.05/package/gr-osmosdr/gr-osmosdr.hash b/buildroot-2022.02.1/package/gr-osmosdr/gr-osmosdr.hash similarity index 100% rename from buildroot-2021.05/package/gr-osmosdr/gr-osmosdr.hash rename to buildroot-2022.02.1/package/gr-osmosdr/gr-osmosdr.hash diff --git a/buildroot-2021.05/package/gr-osmosdr/gr-osmosdr.mk b/buildroot-2022.02.1/package/gr-osmosdr/gr-osmosdr.mk similarity index 100% rename from buildroot-2021.05/package/gr-osmosdr/gr-osmosdr.mk rename to buildroot-2022.02.1/package/gr-osmosdr/gr-osmosdr.mk diff --git a/buildroot-2022.02.1/package/granite/Config.in b/buildroot-2022.02.1/package/granite/Config.in new file mode 100644 index 00000000..9519e16d --- /dev/null +++ b/buildroot-2022.02.1/package/granite/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_GRANITE + bool "granite" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgee + depends on BR2_PACKAGE_LIBGTK3 + select BR2_PACKAGE_LIBGEE + select BR2_PACKAGE_LIBGLIB2 + help + An extension to GTK+ that provides several useful widgets and + classes to ease application development. + + https://github.com/elementary/granite + +comment "granite needs libgtk3 and a toolchain w/ wchar, threads, gcc >= 4.9" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_LIBGTK3 || !BR2_USE_WCHAR \ + || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/granite/granite.hash b/buildroot-2022.02.1/package/granite/granite.hash new file mode 100644 index 00000000..a91f468b --- /dev/null +++ b/buildroot-2022.02.1/package/granite/granite.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 c62d8d29e8bb59a5fa2d9006a9c13196aea9159410a7c86e3d51fa10d0f9dcc0 granite-6.0.0.tar.gz +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING diff --git a/buildroot-2022.02.1/package/granite/granite.mk b/buildroot-2022.02.1/package/granite/granite.mk new file mode 100644 index 00000000..71dfbf4c --- /dev/null +++ b/buildroot-2022.02.1/package/granite/granite.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# granite +# +################################################################################ + +GRANITE_VERSION = 6.0.0 +GRANITE_SITE = $(call github,elementary,granite,$(GRANITE_VERSION)) +GRANITE_DEPENDENCIES = \ + host-pkgconf \ + host-vala \ + libgee \ + libglib2 \ + libgtk3 \ + $(TARGET_NLS_DEPENDENCIES) +GRANITE_INSTALL_STAGING = YES +GRANITE_LICENSE = LGPL-3.0+ +GRANITE_LICENSE_FILES = COPYING +GRANITE_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GRANITE_CONF_OPTS += -Dintrospection=true +GRANITE_DEPENDENCIES += gobject-introspection +else +GRANITE_CONF_OPTS += -Dintrospection=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/grantlee/Config.in b/buildroot-2022.02.1/package/grantlee/Config.in similarity index 100% rename from buildroot-2021.05/package/grantlee/Config.in rename to buildroot-2022.02.1/package/grantlee/Config.in diff --git a/buildroot-2021.05/package/grantlee/grantlee.hash b/buildroot-2022.02.1/package/grantlee/grantlee.hash similarity index 100% rename from buildroot-2021.05/package/grantlee/grantlee.hash rename to buildroot-2022.02.1/package/grantlee/grantlee.hash diff --git a/buildroot-2021.05/package/grantlee/grantlee.mk b/buildroot-2022.02.1/package/grantlee/grantlee.mk similarity index 100% rename from buildroot-2021.05/package/grantlee/grantlee.mk rename to buildroot-2022.02.1/package/grantlee/grantlee.mk diff --git a/buildroot-2021.05/package/graphicsmagick/Config.in b/buildroot-2022.02.1/package/graphicsmagick/Config.in similarity index 100% rename from buildroot-2021.05/package/graphicsmagick/Config.in rename to buildroot-2022.02.1/package/graphicsmagick/Config.in diff --git a/buildroot-2022.02.1/package/graphicsmagick/graphicsmagick.hash b/buildroot-2022.02.1/package/graphicsmagick/graphicsmagick.hash new file mode 100644 index 00000000..cf6d2242 --- /dev/null +++ b/buildroot-2022.02.1/package/graphicsmagick/graphicsmagick.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 90dc22f1a7bd240e4c9065a940962bf13da43c99bcc36cb111cc3c1a0d7477d4 GraphicsMagick-1.3.37.tar.xz +sha256 8a4d960c5a3e453ee21e459e1794c7a0c85559825d3363a8d3b510b3344fdad4 Copyright.txt diff --git a/buildroot-2022.02.1/package/graphicsmagick/graphicsmagick.mk b/buildroot-2022.02.1/package/graphicsmagick/graphicsmagick.mk new file mode 100644 index 00000000..38743487 --- /dev/null +++ b/buildroot-2022.02.1/package/graphicsmagick/graphicsmagick.mk @@ -0,0 +1,125 @@ +################################################################################ +# +# graphicsmagick +# +################################################################################ + +GRAPHICSMAGICK_VERSION = 1.3.37 +GRAPHICSMAGICK_SOURCE = GraphicsMagick-$(GRAPHICSMAGICK_VERSION).tar.xz +GRAPHICSMAGICK_SITE = https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/$(GRAPHICSMAGICK_VERSION) +GRAPHICSMAGICK_LICENSE = MIT +GRAPHICSMAGICK_LICENSE_FILES = Copyright.txt +GRAPHICSMAGICK_CPE_ID_VENDOR = graphicsmagick + +GRAPHICSMAGICK_INSTALL_STAGING = YES +GRAPHICSMAGICK_CONFIG_SCRIPTS = GraphicsMagick-config GraphicsMagickWand-config + +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +GRAPHICSMAGICK_CONFIG_SCRIPTS += GraphicsMagick++-config +endif + +GRAPHICSMAGICK_CONF_OPTS = \ + --without-dps \ + --without-fpx \ + --without-jbig \ + --without-perl \ + --without-trio \ + --without-wmf \ + --without-x \ + --with-gs-font-dir=/usr/share/fonts/gs + +GRAPHICSMAGICK_DEPENDENCIES = host-pkgconf + +ifeq ($(BR2_TOOLCHAIN_HAS_OPENMP),y) +GRAPHICSMAGICK_CONF_OPTS += --enable-openmp +else +GRAPHICSMAGICK_CONF_OPTS += --disable-openmp +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +GRAPHICSMAGICK_CONF_OPTS += --with-ttf +GRAPHICSMAGICK_CONF_ENV += ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config +GRAPHICSMAGICK_DEPENDENCIES += freetype +else +GRAPHICSMAGICK_CONF_OPTS += --without-ttf +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +GRAPHICSMAGICK_CONF_OPTS += --with-jpeg +GRAPHICSMAGICK_DEPENDENCIES += jpeg +else +GRAPHICSMAGICK_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_OPENJPEG),y) +GRAPHICSMAGICK_CONF_OPTS += --with-jp2 +GRAPHICSMAGICK_DEPENDENCIES += openjpeg +else +GRAPHICSMAGICK_CONF_OPTS += --without-jp2 +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +GRAPHICSMAGICK_CONF_OPTS += --with-lcms2 +GRAPHICSMAGICK_DEPENDENCIES += lcms2 +else +GRAPHICSMAGICK_CONF_OPTS += --without-lcms2 +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +GRAPHICSMAGICK_CONF_OPTS += --with-png +GRAPHICSMAGICK_DEPENDENCIES += libpng +else +GRAPHICSMAGICK_CONF_OPTS += --without-png +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +GRAPHICSMAGICK_CONF_OPTS += --with-xml +GRAPHICSMAGICK_CONF_ENV += ac_cv_path_xml2_config=$(STAGING_DIR)/usr/bin/xml2-config +GRAPHICSMAGICK_DEPENDENCIES += libxml2 +else +GRAPHICSMAGICK_CONF_OPTS += --without-xml +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +GRAPHICSMAGICK_CONF_OPTS += --with-tiff +GRAPHICSMAGICK_DEPENDENCIES += tiff +else +GRAPHICSMAGICK_CONF_OPTS += --without-tiff +endif + +ifeq ($(BR2_PACKAGE_WEBP_MUX),y) +GRAPHICSMAGICK_CONF_OPTS += --with-webp +GRAPHICSMAGICK_DEPENDENCIES += webp +else +GRAPHICSMAGICK_CONF_OPTS += --without-webp +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +GRAPHICSMAGICK_CONF_OPTS += --with-lzma +GRAPHICSMAGICK_DEPENDENCIES += xz +else +GRAPHICSMAGICK_CONF_OPTS += --without-lzma +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +GRAPHICSMAGICK_CONF_OPTS += --with-zlib +GRAPHICSMAGICK_DEPENDENCIES += zlib +else +GRAPHICSMAGICK_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +GRAPHICSMAGICK_CONF_OPTS += --with-bzlib +GRAPHICSMAGICK_DEPENDENCIES += bzip2 +else +GRAPHICSMAGICK_CONF_OPTS += --without-bzlib +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +GRAPHICSMAGICK_CONF_OPTS += --with-zstd +GRAPHICSMAGICK_DEPENDENCIES += zstd +else +GRAPHICSMAGICK_CONF_OPTS += --without-zstd +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/graphite2/0001-don-t-install-a-libtool-file-with-static-library.patch b/buildroot-2022.02.1/package/graphite2/0001-don-t-install-a-libtool-file-with-static-library.patch similarity index 100% rename from buildroot-2021.05/package/graphite2/0001-don-t-install-a-libtool-file-with-static-library.patch rename to buildroot-2022.02.1/package/graphite2/0001-don-t-install-a-libtool-file-with-static-library.patch diff --git a/buildroot-2021.05/package/graphite2/Config.in b/buildroot-2022.02.1/package/graphite2/Config.in similarity index 100% rename from buildroot-2021.05/package/graphite2/Config.in rename to buildroot-2022.02.1/package/graphite2/Config.in diff --git a/buildroot-2021.05/package/graphite2/graphite2.hash b/buildroot-2022.02.1/package/graphite2/graphite2.hash similarity index 100% rename from buildroot-2021.05/package/graphite2/graphite2.hash rename to buildroot-2022.02.1/package/graphite2/graphite2.hash diff --git a/buildroot-2021.05/package/graphite2/graphite2.mk b/buildroot-2022.02.1/package/graphite2/graphite2.mk similarity index 100% rename from buildroot-2021.05/package/graphite2/graphite2.mk rename to buildroot-2022.02.1/package/graphite2/graphite2.mk diff --git a/buildroot-2022.02.1/package/grep/0001-sigsegv-fix-build-on-microblazeel.patch b/buildroot-2022.02.1/package/grep/0001-sigsegv-fix-build-on-microblazeel.patch new file mode 100644 index 00000000..06869b71 --- /dev/null +++ b/buildroot-2022.02.1/package/grep/0001-sigsegv-fix-build-on-microblazeel.patch @@ -0,0 +1,32 @@ +From 3079cea1b18fe72aa1da6b04e561abfb36f4f443 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 11 Nov 2021 09:57:23 +0100 +Subject: sigsegv: fix build on microblazeel + +Fix the following build failure on microblazeel with diffutils 3.8: +sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' +http://autobuild.buildroot.org/results/5ecd55b7c72f9630a7acc72341ccb60e94ddb574 + +[Retrieved from: +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=3079cea1b18fe72aa1da6b04e561abfb36f4f443] +Signed-off-by: Fabrice Fontaine +--- + m4/stack-direction.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 +index c90d69733..70286c8f5 100644 +--- a/m4/stack-direction.m4 ++++ b/m4/stack-direction.m4 +@@ -37,7 +37,7 @@ AC_DEFUN([SV_STACK_DIRECTION], + m68* | \ + m88k | \ + mcore | \ +- microblaze | \ ++ microblaze* | \ + mips* | \ + mmix | \ + mn10200 | \ +-- +cgit v1.2.1 + diff --git a/buildroot-2022.02.1/package/grep/0002-sigsegv-fix-build-on-or1k.patch b/buildroot-2022.02.1/package/grep/0002-sigsegv-fix-build-on-or1k.patch new file mode 100644 index 00000000..73385fe9 --- /dev/null +++ b/buildroot-2022.02.1/package/grep/0002-sigsegv-fix-build-on-or1k.patch @@ -0,0 +1,32 @@ +From 496c1740e5475be85b65fdb2b143771f09ed27cb Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 11 Nov 2021 10:06:31 +0100 +Subject: sigsegv: fix build on or1k + +Fix the following build failure on or1k with diffutils 3.8 +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=e54aa6196947ed22ff66bcd714e4fc7bd0c5c3b4 +sigsegv.c:979:28: error: 'struct vma_struct' has no member named 'is_near_this' +http://autobuild.buildroot.org/results/5427e52489d29ed4f18b4a70b3c36f0f7bb0ddd9 + +[Retrieved from: +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=496c1740e5475be85b65fdb2b143771f09ed27cb] +Signed-off-by: Fabrice Fontaine +--- + m4/stack-direction.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 +index 70286c8f5..29e398d77 100644 +--- a/m4/stack-direction.m4 ++++ b/m4/stack-direction.m4 +@@ -45,6 +45,7 @@ AC_DEFUN([SV_STACK_DIRECTION], + nios2 | \ + nds32* | \ + ns32k | \ ++ or1k | \ + pdp11 | \ + pj* | \ + powerpc* | rs6000 | \ +-- +cgit v1.2.1 + diff --git a/buildroot-2021.05/package/grep/Config.in b/buildroot-2022.02.1/package/grep/Config.in similarity index 100% rename from buildroot-2021.05/package/grep/Config.in rename to buildroot-2022.02.1/package/grep/Config.in diff --git a/buildroot-2022.02.1/package/grep/grep.hash b/buildroot-2022.02.1/package/grep/grep.hash new file mode 100644 index 00000000..29d9eb1c --- /dev/null +++ b/buildroot-2022.02.1/package/grep/grep.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking signature +# http://ftp.gnu.org/gnu/grep/grep-3.7.tar.xz.sig +# using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE +sha256 5c10da312460aec721984d5d83246d24520ec438dd48d7ab5a05dbc0d6d6823c grep-3.7.tar.xz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2022.02.1/package/grep/grep.mk b/buildroot-2022.02.1/package/grep/grep.mk new file mode 100644 index 00000000..a485f23d --- /dev/null +++ b/buildroot-2022.02.1/package/grep/grep.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# grep +# +################################################################################ + +GREP_VERSION = 3.7 +GREP_SITE = $(BR2_GNU_MIRROR)/grep +GREP_SOURCE = grep-$(GREP_VERSION).tar.xz +GREP_LICENSE = GPL-3.0+ +GREP_LICENSE_FILES = COPYING +GREP_CPE_ID_VENDOR = gnu +# We're patching m4/stack-direction.m4 +GREP_AUTORECONF = YES +GREP_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +# install into /bin like busybox grep +GREP_CONF_OPTS = --exec-prefix=/ + +ifeq ($(BR2_SYSTEM_BIN_SH_NONE),y) + +define GREP_REMOVE_ALIAS + $(RM) $(TARGET_DIR)/bin/[fe]grep +endef +GREP_POST_INSTALL_TARGET_HOOKS += GREP_REMOVE_ALIAS + +else + +# ensure egrep/fgrep shell wrappers use #!/bin/sh +define GREP_FIXUP_SHEBANG + $(SED) 's/bash$$/sh/' $(TARGET_DIR)/bin/[fe]grep +endef +GREP_POST_INSTALL_TARGET_HOOKS += GREP_FIXUP_SHEBANG + +endif + +# link with iconv if enabled +ifeq ($(BR2_PACKAGE_LIBICONV),y) +GREP_CONF_ENV += LIBS=-liconv +GREP_DEPENDENCIES += libiconv +endif + +# link with pcre if enabled +ifeq ($(BR2_PACKAGE_PCRE),y) +GREP_CONF_OPTS += --enable-perl-regexp +GREP_DEPENDENCIES += pcre +else +GREP_CONF_OPTS += --disable-perl-regexp +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/grpc/0001-Properly-detect-the-availability-of-pthread_setname_.patch b/buildroot-2022.02.1/package/grpc/0001-Properly-detect-the-availability-of-pthread_setname_.patch new file mode 100644 index 00000000..92dc5a6c --- /dev/null +++ b/buildroot-2022.02.1/package/grpc/0001-Properly-detect-the-availability-of-pthread_setname_.patch @@ -0,0 +1,66 @@ +From 0dfb289a3b362b082ac3608d887e42f09dadc0d2 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Mon, 31 Dec 2018 16:22:07 +0100 +Subject: [PATCH] Properly detect the availability of pthread_setname_np() + +This commit adds a CMake check for the availability of +pthread_setname_np(), and only uses it on Linux when available. + +Indeed, some C libraries, such as uClibc, do not provide this +non-POSIX function in all cases. + +Upstream: https://github.com/grpc/grpc/pull/17610 +Signed-off-by: Thomas Petazzoni + +[buildroot@heine.tech: + 1.42.0 added new logic to handle older glibc without pthread_setname_np() + but is still not sufficient for all cases. So alter the patch to wrap all + this with our cmake based workaround. + See: https://github.com/grpc/grpc/pull/27540 +] +Signed-off-by: Michael Nosthoff +--- + CMakeLists.txt | 6 ++++++ + include/grpc/impl/codegen/port_platform.h | 2 ++ + 2 files changed, 8 insertions(+) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 45c2fcb..0b2be4f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -208,6 +208,12 @@ if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE) + endif() + list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules") + ++include(CheckSymbolExists) ++check_symbol_exists(pthread_setname_np pthread.h HAVE_PTHREAD_SETNAME_NP) ++if (HAVE_PTHREAD_SETNAME_NP) ++ add_definitions(-DHAVE_PTHREAD_SETNAME_NP) ++endif () ++ + if(MSVC) + include(cmake/msvc_static_runtime.cmake) + add_definitions(-D_WIN32_WINNT=0x600 -D_SCL_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_WARNINGS -D_WINSOCK_DEPRECATED_NO_WARNINGS) +diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h +index 4f213ff..55ecd9d 100644 +--- a/include/grpc/impl/codegen/port_platform.h ++++ b/include/grpc/impl/codegen/port_platform.h +@@ -186,6 +186,7 @@ + #endif /* _LP64 */ + #ifdef __GLIBC__ + #define GPR_POSIX_CRASH_HANDLER 1 ++#if defined(HAVE_PTHREAD_SETNAME_NP) + #ifdef __GLIBC_PREREQ + #if __GLIBC_PREREQ(2, 12) + #define GPR_LINUX_PTHREAD_NAME 1 +@@ -194,6 +195,7 @@ + // musl libc & others + #define GPR_LINUX_PTHREAD_NAME 1 + #endif ++#endif /* HAVE_PTHREAD_SETNAME_NP */ + #include + #else /* musl libc */ + #define GPR_MUSL_LIBC_COMPAT 1 + +-- +2.26.63 diff --git a/buildroot-2022.02.1/package/grpc/0002-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch b/buildroot-2022.02.1/package/grpc/0002-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch new file mode 100644 index 00000000..aac92bab --- /dev/null +++ b/buildroot-2022.02.1/package/grpc/0002-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch @@ -0,0 +1,34 @@ +From be030314805137cd63b46ea6eaa702b608669910 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 2 Jun 2019 17:45:47 +0200 +Subject: [PATCH] wrap_memcpy.cc: add GPR_DISABLE_WRAPPED_MEMCPY + +Add GPR_DISABLE_WRAPPED_MEMCPY to allow the user to disable wrapped +memcpy. This will fix build on x86_64 on musl/uclibc without changing +the cpu behavior. + +Fixes: + - http://autobuild.buildroot.org/results/20d6f2489a4e291a53bd514da66105eb607e1014 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/grpc/grpc/pull/19207] +--- + src/core/lib/gpr/wrap_memcpy.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/core/lib/gpr/wrap_memcpy.cc b/src/core/lib/gpr/wrap_memcpy.cc +index 9b8608e056..38b76acf95 100644 +--- a/src/core/lib/gpr/wrap_memcpy.cc ++++ b/src/core/lib/gpr/wrap_memcpy.cc +@@ -29,7 +29,7 @@ + extern "C" { + #ifdef __linux__ + #if defined(__x86_64__) && !defined(GPR_MUSL_LIBC_COMPAT) && \ +- !defined(__ANDROID__) ++ !defined(__ANDROID__) && !defined(GPR_DISABLE_WRAPPED_MEMCPY) + __asm__(".symver memcpy,memcpy@GLIBC_2.2.5"); + void* __wrap_memcpy(void* destination, const void* source, size_t num) { + return memcpy(destination, source, num); +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/grpc/0004-host-grpc-only-cpp-plugin.patch b/buildroot-2022.02.1/package/grpc/0004-host-grpc-only-cpp-plugin.patch new file mode 100644 index 00000000..c97d9a93 --- /dev/null +++ b/buildroot-2022.02.1/package/grpc/0004-host-grpc-only-cpp-plugin.patch @@ -0,0 +1,215 @@ +From a1922eadfc87da3dd221ff631f94ddd4a8ee7049 Mon Sep 17 00:00:00 2001 +From: Thomas De Schampheleire +Date: Tue, 25 May 2021 14:55:23 +0200 +Subject: [PATCH] Add option to restrict building of (host-)grpc to + grpc_cpp_plugin only. + +This avoids unnecessary dependencies on big packages like libabseil-cpp and +others. + +Upstream-status: not accepted (see https://github.com/grpc/grpc/issues/25322) + +Signed-off-by: Thomas De Schampheleire +Signed-off-by: Fabrice Fontaine +--- + CMakeLists.txt | 43 +++++++++++++++++++++++++++++++++++-------- + 1 file changed, 35 insertions(+), 8 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e8934a3e03..c2df332cc6 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -48,12 +48,16 @@ option(gRPC_BUILD_TESTS "Build tests" OFF) + option(gRPC_BUILD_CODEGEN "Build codegen" ON) + option(gRPC_BUILD_CSHARP_EXT "Build C# extensions" ON) + option(gRPC_BACKWARDS_COMPATIBILITY_MODE "Build libraries that are binary compatible across a larger number of OS and libc versions" OFF) ++option(gRPC_BUILD_PLUGIN_SUPPORT_ONLY "Build plugin support only" OFF) + + set(gRPC_INSTALL_default ON) + if(NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR) + # Disable gRPC_INSTALL by default if building as a submodule + set(gRPC_INSTALL_default OFF) + endif() ++if(gRPC_BUILD_PLUGIN_SUPPORT_ONLY) ++ set(gRPC_INSTALL_default OFF) ++endif() + set(gRPC_INSTALL ${gRPC_INSTALL_default} CACHE BOOL + "Generate installation target") + +@@ -367,6 +371,8 @@ add_custom_target(plugins + DEPENDS ${_gRPC_PLUGIN_LIST} + ) + ++if (NOT gRPC_BUILD_PLUGIN_SUPPORT_ONLY) ++ + add_custom_target(tools_c + DEPENDS + check_epollexclusive +@@ -382,6 +388,8 @@ add_custom_target(tools_cxx + add_custom_target(tools + DEPENDS tools_c tools_cxx) + ++endif() # gRPC_BUILD_PLUGIN_SUPPORT_ONLY ++ + protobuf_generate_grpc_cpp( + src/proto/grpc/channelz/channelz.proto + ) +@@ -1000,6 +1008,7 @@ if(gRPC_BUILD_TESTS) + DEPENDS buildtests_c buildtests_cxx) + endif() + ++if (NOT gRPC_BUILD_PLUGIN_SUPPORT_ONLY) + + add_library(address_sorting + third_party/address_sorting/address_sorting.c +@@ -1051,6 +1060,8 @@ if(gRPC_INSTALL) + ) + endif() + ++endif() # gRPC_BUILD_PLUGIN_SUPPORT_ONLY ++ + if(gRPC_BUILD_TESTS) + + add_library(end2end_nosec_tests +@@ -1313,6 +1324,8 @@ target_link_libraries(end2end_tests + + endif() + ++if(NOT gRPC_BUILD_PLUGIN_SUPPORT_ONLY) ++ + add_library(gpr + src/core/lib/gpr/alloc.cc + src/core/lib/gpr/atm.cc +@@ -2106,6 +2119,8 @@ if(gRPC_INSTALL) + ) + endif() + ++endif() # gRPC_BUILD_PLUGIN_SUPPORT_ONLY ++ + if(gRPC_BUILD_CSHARP_EXT) + + add_library(grpc_csharp_ext SHARED +@@ -2288,6 +2303,8 @@ endif() + + endif() + ++if(NOT gRPC_BUILD_PLUGIN_SUPPORT_ONLY) ++ + add_library(grpc_unsecure + src/core/ext/filters/census/grpc_context.cc + src/core/ext/filters/client_channel/backend_metric.cc +@@ -2650,6 +2667,8 @@ if(gRPC_INSTALL) + ) + endif() + ++endif() # gRPC_BUILD_PLUGIN_SUPPORT_ONLY ++ + if(gRPC_BUILD_TESTS) + + if(gRPC_BUILD_CODEGEN) +@@ -2717,6 +2736,8 @@ endif() + + endif() + ++if(NOT gRPC_BUILD_PLUGIN_SUPPORT_ONLY) ++ + add_library(grpc++ + src/cpp/client/channel_cc.cc + src/cpp/client/client_callback.cc +@@ -3134,6 +3155,7 @@ if(gRPC_INSTALL) + ) + endif() + ++endif() # gRPC_BUILD_PLUGIN_SUPPORT_ONLY + + if(gRPC_BUILD_CODEGEN) + add_library(grpc++_reflection +@@ -3374,6 +3396,8 @@ target_link_libraries(grpc++_test_util + + endif() + ++if(NOT gRPC_BUILD_PLUGIN_SUPPORT_ONLY) ++ + add_library(grpc++_unsecure + src/cpp/client/channel_cc.cc + src/cpp/client/client_callback.cc +@@ -3656,6 +3680,7 @@ if(gRPC_INSTALL) + ) + endif() + ++endif() # gRPC_BUILD_PLUGIN_SUPPORT_ONLY + + add_library(grpc_plugin_support + src/compiler/cpp_generator.cc +@@ -3715,7 +3740,7 @@ foreach(_hdr + endforeach() + + +-if(gRPC_INSTALL) ++if(gRPC_INSTALL OR gRPC_BUILD_PLUGIN_SUPPORT_ONLY) + install(TARGETS grpc_plugin_support EXPORT gRPCTargets + RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} + LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} +@@ -3795,6 +3820,8 @@ endif() + + endif() + ++if(NOT gRPC_BUILD_PLUGIN_SUPPORT_ONLY) ++ + add_library(upb + third_party/upb/upb/decode_fast.c + third_party/upb/upb/decode.c +@@ -3852,8 +3879,6 @@ if(gRPC_INSTALL) + ) + endif() + +- +- + add_executable(check_epollexclusive + test/build/check_epollexclusive.c + ) +@@ -3958,6 +3981,8 @@ target_link_libraries(gen_percent_encoding_tables + ${_gRPC_ALLTARGETS_LIBRARIES} + ) + ++endif() # gRPC_BUILD_PLUGIN_SUPPORT_ONLY ++ + + if(gRPC_BUILD_TESTS) + +@@ -10722,7 +10747,7 @@ target_link_libraries(grpc_cli + + + endif() +-if(gRPC_BUILD_CODEGEN AND gRPC_BUILD_GRPC_CPP_PLUGIN) ++if(gRPC_BUILD_GRPC_CPP_PLUGIN) + + add_executable(grpc_cpp_plugin + src/compiler/cpp_plugin.cc +@@ -10752,7 +10777,7 @@ target_link_libraries(grpc_cpp_plugin + + + +-if(gRPC_INSTALL) ++if(gRPC_INSTALL OR gRPC_BUILD_PLUGIN_SUPPORT_ONLY) + install(TARGETS grpc_cpp_plugin EXPORT gRPCTargets + RUNTIME DESTINATION ${gRPC_INSTALL_BINDIR} + LIBRARY DESTINATION ${gRPC_INSTALL_LIBDIR} +@@ -15420,7 +15445,7 @@ endif() + + + +- ++if (NOT gRPC_BUILD_PLUGIN_SUPPORT_ONLY) + + if(gRPC_INSTALL) + install(EXPORT gRPCTargets +@@ -15517,3 +15542,5 @@ generate_pkgconfig( + "-lgrpc++_unsecure -labsl_statusor -labsl_status -labsl_raw_hash_set -labsl_hashtablez_sampler -labsl_synchronization -labsl_time -labsl_time_zone -labsl_civil_time -labsl_graphcycles_internal -labsl_symbolize -labsl_demangle_internal -labsl_malloc_internal -labsl_stacktrace -labsl_debugging_internal -labsl_exponential_biased -labsl_cord -labsl_str_format_internal -labsl_hash -labsl_bad_variant_access -labsl_bad_optional_access -labsl_strings -labsl_strings_internal -labsl_base -labsl_spinlock_wait -labsl_int128 -labsl_city -labsl_throw_delegate -labsl_raw_logging_internal -labsl_log_severity" + "" + "grpc++_unsecure.pc") ++ ++endif() # gRPC_BUILD_PLUGIN_SUPPORT_ONLY +-- +2.26.3 + diff --git a/buildroot-2022.02.1/package/grpc/Config.in b/buildroot-2022.02.1/package/grpc/Config.in new file mode 100644 index 00000000..ad3ddbcf --- /dev/null +++ b/buildroot-2022.02.1/package/grpc/Config.in @@ -0,0 +1,27 @@ +config BR2_PACKAGE_GRPC + bool "grpc" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2 + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp + depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_LIBABSEIL_CPP + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_RE2 + select BR2_PACKAGE_ZLIB + help + A language-neutral, platform-neutral, open source, remote + procedure call (RPC) system initially developed at Google. + + http://github.com/grpc/grpc + +comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.9" + depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS diff --git a/buildroot-2022.02.1/package/grpc/grpc.hash b/buildroot-2022.02.1/package/grpc/grpc.hash new file mode 100644 index 00000000..3da1d9a3 --- /dev/null +++ b/buildroot-2022.02.1/package/grpc/grpc.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 9647220c699cea4dafa92ec0917c25c7812be51a18143af047e20f3fb05adddc grpc-1.43.0.tar.gz +sha256 277adcc1dcef8359b1efb48e628635f88b40be8fbd64e82fd0169930d135d7a5 LICENSE diff --git a/buildroot-2022.02.1/package/grpc/grpc.mk b/buildroot-2022.02.1/package/grpc/grpc.mk new file mode 100644 index 00000000..5d8201f1 --- /dev/null +++ b/buildroot-2022.02.1/package/grpc/grpc.mk @@ -0,0 +1,94 @@ +################################################################################ +# +# grpc +# +################################################################################ + +GRPC_VERSION = 1.43.0 +GRPC_SITE = $(call github,grpc,grpc,v$(GRPC_VERSION)) +GRPC_LICENSE = Apache-2.0, BSD-3-Clause (third_party code), MPL-2.0 (etc/roots.pem) +GRPC_LICENSE_FILES = LICENSE +GRPC_CPE_ID_VENDOR = grpc + +GRPC_INSTALL_STAGING = YES + +# Need to use host grpc_cpp_plugin during cross compilation. +GRPC_DEPENDENCIES = c-ares host-grpc libabseil-cpp openssl protobuf re2 zlib +HOST_GRPC_DEPENDENCIES = host-protobuf + +# gRPC_CARES_PROVIDER=package won't work because it requires c-ares to have +# installed a cmake config file, but buildroot uses c-ares' autotools build, +# which doesn't do this. These CARES settings trick the gRPC cmake code into +# not looking for c-ares at all and yet still linking with the library. +GRPC_CONF_OPTS = \ + -DgRPC_ABSL_PROVIDER=package \ + -D_gRPC_CARES_LIBRARIES=cares \ + -DgRPC_CARES_PROVIDER=none \ + -DgRPC_PROTOBUF_PROVIDER=package \ + -DgRPC_RE2_PROVIDER=package \ + -DgRPC_SSL_PROVIDER=package \ + -DgRPC_ZLIB_PROVIDER=package \ + -DgRPC_BUILD_GRPC_CPP_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF + +# grpc can use __atomic builtins, so we need to link with +# libatomic when available +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GRPC_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +GRPC_CFLAGS = $(TARGET_CFLAGS) +GRPC_CXXFLAGS = $(TARGET_CXXFLAGS) + +# Set GPR_DISABLE_WRAPPED_MEMCPY otherwise build will fail on x86_64 with uclibc +# because grpc tries to link with memcpy@GLIBC_2.2.5 +ifeq ($(BR2_x86_64):$(BR2_TOOLCHAIN_USES_GLIBC),y:) +GRPC_CFLAGS += -DGPR_DISABLE_WRAPPED_MEMCPY +GRPC_CXXFLAGS += -DGPR_DISABLE_WRAPPED_MEMCPY +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +GRPC_CFLAGS += -O0 +GRPC_CXXFLAGS += -O0 +endif + +# Toolchains older than gcc5 will fail to compile with -0s due to: +# error: failure memory model cannot be stronger than success memory model for +# '__atomic_compare_exchange', so we use -O2 in these cases +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5):$(BR2_OPTIMIZE_S),:y) +GRPC_CFLAGS += -O2 +GRPC_CXXFLAGS += -O2 +endif + +GRPC_CONF_OPTS += \ + -DCMAKE_C_FLAGS="$(GRPC_CFLAGS)" \ + -DCMAKE_CXX_FLAGS="$(GRPC_CXXFLAGS)" + +# For host-grpc, we only need the 'grpc_cpp_plugin' binary, which is needed for +# target grpc compilation. To avoid unnecessary build steps and host +# dependencies, supply enough options to pass the configure checks without +# requiring other host packages, unless those needed by grpc_cpp_plugin. +HOST_GRPC_CONF_OPTS = \ + -DgRPC_PROTOBUF_PROVIDER=package \ + -DgRPC_ABSL_PROVIDER=none \ + -DgRPC_CARES_PROVIDER=none \ + -DgRPC_RE2_PROVIDER=none \ + -DgRPC_SSL_PROVIDER=none \ + -DgRPC_ZLIB_PROVIDER=none \ + -DgRPC_BUILD_CODEGEN=OFF \ + -DgRPC_BUILD_CSHARP_EXT=OFF \ + -DgRPC_BUILD_PLUGIN_SUPPORT_ONLY=ON \ + -DgRPC_BUILD_GRPC_CSHARP_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_NODE_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_OBJECTIVE_C_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_PHP_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_PYTHON_PLUGIN=OFF \ + -DgRPC_BUILD_GRPC_RUBY_PLUGIN=OFF + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/gsettings-desktop-schemas/Config.in b/buildroot-2022.02.1/package/gsettings-desktop-schemas/Config.in similarity index 100% rename from buildroot-2021.05/package/gsettings-desktop-schemas/Config.in rename to buildroot-2022.02.1/package/gsettings-desktop-schemas/Config.in diff --git a/buildroot-2021.05/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash b/buildroot-2022.02.1/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash similarity index 100% rename from buildroot-2021.05/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash rename to buildroot-2022.02.1/package/gsettings-desktop-schemas/gsettings-desktop-schemas.hash diff --git a/buildroot-2021.05/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk b/buildroot-2022.02.1/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk similarity index 100% rename from buildroot-2021.05/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk rename to buildroot-2022.02.1/package/gsettings-desktop-schemas/gsettings-desktop-schemas.mk diff --git a/buildroot-2021.05/package/gsl/Config.in b/buildroot-2022.02.1/package/gsl/Config.in similarity index 100% rename from buildroot-2021.05/package/gsl/Config.in rename to buildroot-2022.02.1/package/gsl/Config.in diff --git a/buildroot-2021.05/package/gsl/gsl.hash b/buildroot-2022.02.1/package/gsl/gsl.hash similarity index 100% rename from buildroot-2021.05/package/gsl/gsl.hash rename to buildroot-2022.02.1/package/gsl/gsl.hash diff --git a/buildroot-2021.05/package/gsl/gsl.mk b/buildroot-2022.02.1/package/gsl/gsl.mk similarity index 100% rename from buildroot-2021.05/package/gsl/gsl.mk rename to buildroot-2022.02.1/package/gsl/gsl.mk diff --git a/buildroot-2021.05/package/gssdp/Config.in b/buildroot-2022.02.1/package/gssdp/Config.in similarity index 100% rename from buildroot-2021.05/package/gssdp/Config.in rename to buildroot-2022.02.1/package/gssdp/Config.in diff --git a/buildroot-2022.02.1/package/gssdp/gssdp.hash b/buildroot-2022.02.1/package/gssdp/gssdp.hash new file mode 100644 index 00000000..c9bbd660 --- /dev/null +++ b/buildroot-2022.02.1/package/gssdp/gssdp.hash @@ -0,0 +1,5 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/gssdp/1.4/gssdp-1.4.0.1.sha256sum: +sha256 8676849d57fb822b8728856dbadebf3867f89ee47a0ec47a20045d011f431582 gssdp-1.4.0.1.tar.xz + +# Hash for license file: +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/gssdp/gssdp.mk b/buildroot-2022.02.1/package/gssdp/gssdp.mk new file mode 100644 index 00000000..f1fed371 --- /dev/null +++ b/buildroot-2022.02.1/package/gssdp/gssdp.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# gssdp +# +################################################################################ + +GSSDP_VERSION_MAJOR = 1.4 +GSSDP_VERSION = $(GSSDP_VERSION_MAJOR).0.1 +GSSDP_SOURCE = gssdp-$(GSSDP_VERSION).tar.xz +GSSDP_SITE = http://ftp.gnome.org/pub/gnome/sources/gssdp/$(GSSDP_VERSION_MAJOR) +GSSDP_LICENSE = LGPL-2.1+ +GSSDP_LICENSE_FILES = COPYING +GSSDP_INSTALL_STAGING = YES +GSSDP_DEPENDENCIES = host-pkgconf libglib2 libsoup +GSSDP_CONF_OPTS = -Dexamples=false -Dgtk_doc=false -Dsniffer=false + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GSSDP_CONF_OPTS += -Dintrospection=true -Dvapi=true +GSSDP_DEPENDENCIES += host-vala gobject-introspection +else +GSSDP_CONF_OPTS += -Dintrospection=false -Dvapi=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/Config.in b/buildroot-2022.02.1/package/gstreamer1/Config.in new file mode 100644 index 00000000..8fe8a343 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/Config.in @@ -0,0 +1,21 @@ +# Gstreamer 1.x & Plugins +source "package/gstreamer1/gstreamer1/Config.in" + +if BR2_PACKAGE_GSTREAMER1 +source "package/gstreamer1/gst1-plugins-base/Config.in" +source "package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in" +source "package/gstreamer1/gst1-plugins-good/Config.in" +source "package/gstreamer1/gst1-plugins-bad/Config.in" +source "package/gstreamer1/gst1-plugins-ugly/Config.in" +source "package/gstreamer1/gst1-devtools/Config.in" +source "package/gstreamer1/gst1-imx/Config.in" +source "package/gstreamer1/gst1-interpipe/Config.in" +source "package/gstreamer1/gst1-libav/Config.in" +source "package/gstreamer1/gst1-python/Config.in" +source "package/gstreamer1/gst1-rtsp-server/Config.in" +source "package/gstreamer1/gst1-shark/Config.in" +source "package/gstreamer1/gst1-vaapi/Config.in" +source "package/gstreamer1/gst-omx/Config.in" +source "package/gstreamer1/gstd/Config.in" +source "package/gstreamer1/gstreamer1-editing-services/Config.in" +endif diff --git a/buildroot-2021.05/package/gstreamer1/gst-omx/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst-omx/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst-omx/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gst-omx/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gst-omx/gst-omx.hash b/buildroot-2022.02.1/package/gstreamer1/gst-omx/gst-omx.hash new file mode 100644 index 00000000..33c20def --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst-omx/gst-omx.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-1.20.1.tar.xz.sha256sum +sha256 86b52e30ebd0f59fcb5cf81a163211975f73ef32e5a6782562804646316bcd7c gst-omx-1.20.1.tar.xz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst-omx/gst-omx.mk b/buildroot-2022.02.1/package/gstreamer1/gst-omx/gst-omx.mk new file mode 100644 index 00000000..462c8876 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst-omx/gst-omx.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# gst-omx +# +################################################################################ + +GST_OMX_VERSION = 1.20.1 +GST_OMX_SOURCE = gst-omx-$(GST_OMX_VERSION).tar.xz +GST_OMX_SITE = https://gstreamer.freedesktop.org/src/gst-omx + +GST_OMX_LICENSE = LGPL-2.1 +GST_OMX_LICENSE_FILES = COPYING + +GST_OMX_CONF_OPTS = \ + -Dexamples=disabled \ + -Dtests=disabled \ + -Dtools=disabled \ + -Ddoc=disabled + +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +GST_OMX_VARIANT = rpi +GST_OMX_CONF_OPTS += -Dheader_path=$(STAGING_DIR)/usr/include/IL +else +GST_OMX_VARIANT = generic +endif + +GST_OMX_CONF_OPTS += -Dtarget=$(GST_OMX_VARIANT) + +GST_OMX_DEPENDENCIES = gstreamer1 gst1-plugins-base libopenmax + +# adjust library paths to where buildroot installs them +define GST_OMX_FIXUP_CONFIG_PATHS + find $(@D)/config -name gstomx.conf | \ + xargs $(SED) 's|/usr/local|/usr|g' -e 's|/opt/vc|/usr|g' +endef + +GST_OMX_POST_PATCH_HOOKS += GST_OMX_FIXUP_CONFIG_PATHS + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/Config.in new file mode 100644 index 00000000..3f39beff --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_GST1_DEVTOOLS + bool "gst1-devtools" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_GSTREAMER1_CHECK + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_JSON_GLIB + select BR2_PACKAGE_PYTHON3_PYEXPAT + # cairo is autodetected but needs PNG support + select BR2_PACKAGE_CAIRO_PNG if BR2_PACKAGE_CAIRO + help + GStreamer development tools (gst-validate). + + https://gstreamer.freedesktop.org + +comment "gst1-devtools depends on python" + depends on !BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/gst1-devtools.hash new file mode 100644 index 00000000..7173dbe2 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/gst1-devtools.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.20.1.tar.xz.sha256sum +sha256 81f1c7ef105b8bdb63412638952f6320723b3161c96a80f113b020e2de554b2b gst-devtools-1.20.1.tar.xz +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/gst1-devtools.mk new file mode 100644 index 00000000..8c430800 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-devtools/gst1-devtools.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# gst1-devtools +# +################################################################################ + +GST1_DEVTOOLS_VERSION = 1.20.1 +GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz +GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools +GST1_DEVTOOLS_LICENSE = LGPL-2.1+ +GST1_DEVTOOLS_LICENSE_FILES = validate/COPYING +GST1_DEVTOOLS_INSTALL_STAGING = YES + +GST1_DEVTOOLS_DEPENDENCIES = \ + host-python3 \ + python3 \ + gstreamer1 \ + gst1-plugins-base \ + json-glib + +ifeq ($(BR2_PACKAGE_GST1_RTSP_SERVER),y) +GST1_DEVTOOLS_DEPENDENCIES += gst1-rtsp-server +endif + +GST1_DEVTOOLS_CONF_OPTS = \ + -Dvalidate=enabled \ + -Ddebug_viewer=disabled \ + -Dintrospection=disabled \ + -Dtests=disabled \ + -Ddoc=disabled + +# build GstValidateVideo +ifeq ($(BR2_PACKAGE_CAIRO),y) +GST1_DEVTOOLS_CONF_OPTS += -Dcairo=enabled +GST1_DEVTOOLS_DEPENDENCIES += cairo +else +GST1_DEVTOOLS_CONF_OPTS += -Dcairo=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-imx/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-imx/Config.in new file mode 100644 index 00000000..41ef8548 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-imx/Config.in @@ -0,0 +1,100 @@ +comment "gst1-imx needs a toolchain w/ dynamic library" + depends on BR2_arm + depends on BR2_STATIC_LIBS + +menuconfig BR2_PACKAGE_GST1_IMX + bool "gst1-imx" + depends on BR2_arm # Only relevant for i.MX + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_GST1_PLUGINS_BASE + help + This is a set of GStreamer 1.0 plugins for plugins for + Freescale's i.MX platforms, which make use of the i.MX + multimedia capabilities. + + https://github.com/Freescale/gstreamer-imx + +if BR2_PACKAGE_GST1_IMX + +config BR2_PACKAGE_GST1_IMX_EGLVISINK + bool "imxeglvivsink" + depends on BR2_PACKAGE_IMX_GPU_VIV + help + Elements leveraging the 3D GPU + +comment "imxeglvivsink needs the Vivante 3D libraries" + depends on !BR2_PACKAGE_IMX_GPU_VIV + +config BR2_PACKAGE_GST1_IMX_G2D + bool "imxg2d" + depends on BR2_PACKAGE_IMX_GPU_G2D + help + Elements leveraging the 2D GPU + +comment "imxg2d needs the G2D libraries" + depends on !BR2_PACKAGE_IMX_GPU_G2D + +config BR2_PACKAGE_GST1_IMX_IPU + bool "imxipu" + depends on BR2_LINUX_KERNEL + help + Elements leveraging the IPU + +comment "imxipu needs an imx-specific Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +config BR2_PACKAGE_GST1_IMX_MP3ENCODER + bool "mp3encoder" + depends on BR2_PACKAGE_IMX_CODEC + help + Elements for MP3 encoding + +comment "mp3encoder needs the i.MX codec binaries" + depends on !BR2_PACKAGE_IMX_CODEC + +config BR2_PACKAGE_GST1_IMX_PXP + bool "imxpxp" + depends on BR2_LINUX_KERNEL + help + Elements leveraging the PXP + +comment "imxpxp needs an imx-specific Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +config BR2_PACKAGE_GST1_IMX_UNIAUDIODEC + bool "uniaudiodec" + depends on BR2_PACKAGE_IMX_CODEC + help + Elements for audio decoding + +comment "uniaudiodec needs the i.MX codec binaries" + depends on !BR2_PACKAGE_IMX_CODEC + +config BR2_PACKAGE_GST1_IMX_VPU + bool "imxvpu" + depends on BR2_PACKAGE_LIBIMXVPUAPI + help + Elements leveraging the VPU + +comment "imxvpu needs the VPU imxvpuapi library" + depends on !BR2_PACKAGE_LIBIMXVPUAPI + +config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSRC + bool "imxv4l2videosrc" + select BR2_PACKAGE_GST1_PLUGINS_BAD + help + Elements for V4L2 capture + +config BR2_PACKAGE_GST1_IMX_V4L2VIDEOSINK + bool "imxv4l2videosink" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 # V4L2_COLORSPACE_DEFAULT + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad + select BR2_PACKAGE_GST1_PLUGINS_BAD + help + Elements for V4L2 output + +comment "imxv4l2videosink needs a toolchain w/ headers >= 4.2, C++" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 || \ + !BR2_INSTALL_LIBSTDCPP + +endif diff --git a/buildroot-2021.05/package/gstreamer1/gst1-imx/gst1-imx.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-imx/gst1-imx.hash similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst1-imx/gst1-imx.hash rename to buildroot-2022.02.1/package/gstreamer1/gst1-imx/gst1-imx.hash diff --git a/buildroot-2021.05/package/gstreamer1/gst1-imx/gst1-imx.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-imx/gst1-imx.mk similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst1-imx/gst1-imx.mk rename to buildroot-2022.02.1/package/gstreamer1/gst1-imx/gst1-imx.mk diff --git a/buildroot-2021.05/package/gstreamer1/gst1-interpipe/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-interpipe/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst1-interpipe/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gst1-interpipe/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-interpipe/gst1-interpipe.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-interpipe/gst1-interpipe.hash new file mode 100644 index 00000000..d9f09d29 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-interpipe/gst1-interpipe.hash @@ -0,0 +1,5 @@ +# locally computed hash +sha256 b97af0dfa108c5f736a961c388267c7a9c8f915e753985d7e85939091032deed gst1-interpipe-v1.1.8-br1.tar.gz + +# Hashes for license files: +sha256 16d7caa6cabbfd0ca47e064a7b48cb446d013e84ca88c854d6470851752136d5 COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-interpipe/gst1-interpipe.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-interpipe/gst1-interpipe.mk new file mode 100644 index 00000000..cec23e7f --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-interpipe/gst1-interpipe.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# gst1-interpipe +# +################################################################################ + +GST1_INTERPIPE_VERSION = v1.1.8 +GST1_INTERPIPE_SITE = https://github.com/RidgeRun/gst-interpipe +GST1_INTERPIPE_SITE_METHOD = git +# fetch gst-interpipe/common sub module +GST1_INTERPIPE_GIT_SUBMODULES = YES + +GST1_INTERPIPE_LICENSE = LGPL-2.1 +GST1_INTERPIPE_LICENSE_FILES = COPYING + +GST1_INTERPIPE_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base + +GST1_INTERPIPE_CONF_OPTS = \ + -Dtests=disabled \ + -Denable-gtk-doc=false + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch b/buildroot-2022.02.1/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch new file mode 100644 index 00000000..6b275220 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-libav/0001-gst-libav-fix-build-on-systems-without-C-compiler.patch @@ -0,0 +1,35 @@ +From 1477eb1fad92ac07cd057b3ecdb04edeeef9edba Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 4 Apr 2022 23:32:56 +0200 +Subject: [PATCH] gst-libav: fix build on systems without C++ compiler + +Fix the following build failure on systems without C++ compiler: + +The following exception(s) were encountered: +Running "/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++ --version" gave "[Errno 2] No such file or directory: '/nvmedata/autobuild/instance-9/output-1/host/bin/or1k-buildroot-linux-musl-g++'" + +Fixes: + - http://autobuild.buildroot.org/results/8ac0ba5eaaf7571857b4d8cfabf1488d640dc59a + +Part-of: + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/1477eb1fad92ac07cd057b3ecdb04edeeef9edba] +Signed-off-by: Fabrice Fontaine +--- + subprojects/gst-libav/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index fbfa3049afe..7da94b80d59 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('gst-libav', 'c', 'cpp', ++project('gst-libav', 'c', + version : '1.20.1', + meson_version : '>= 0.60', + default_options : [ 'warning_level=1', +-- +GitLab + diff --git a/buildroot-2021.05/package/gstreamer1/gst1-libav/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-libav/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst1-libav/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gst1-libav/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-libav/gst1-libav.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-libav/gst1-libav.hash new file mode 100644 index 00000000..3f9c8497 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-libav/gst1-libav.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.20.1.tar.xz.sha256sum +sha256 91a71fb633b75e1bd52e22a457845cb0ba563a2972ba5954ec88448f443a9fc7 gst-libav-1.20.1.tar.xz +sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-libav/gst1-libav.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-libav/gst1-libav.mk new file mode 100644 index 00000000..4e99de45 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-libav/gst1-libav.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# gst1-libav +# +################################################################################ + +GST1_LIBAV_VERSION = 1.20.1 +GST1_LIBAV_SOURCE = gst-libav-$(GST1_LIBAV_VERSION).tar.xz +GST1_LIBAV_SITE = https://gstreamer.freedesktop.org/src/gst-libav +GST1_LIBAV_LICENSE = LGPL-2.1+ +GST1_LIBAV_LICENSE_FILES = COPYING +GST1_LIBAV_DEPENDENCIES = host-pkgconf ffmpeg gstreamer1 gst1-plugins-base +GST1_LIBAV_CONF_OPTS = -Ddoc=disabled + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/Config.in new file mode 100644 index 00000000..669360ad --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/Config.in @@ -0,0 +1,730 @@ +menuconfig BR2_PACKAGE_GST1_PLUGINS_BAD + bool "gst1-plugins-bad" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_GST1_PLUGINS_BASE + help + A set of plug-ins for GStreamer that may be of poor quality + or lacking some features. + + https://gstreamer.freedesktop.org/ + +if BR2_PACKAGE_GST1_PLUGINS_BAD + +comment "dependency-less plugins" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP + bool "accurip" + help + Accurip plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC + bool "adpcmdec" + help + ADPCM decoder + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC + bool "adpcmenc" + help + ADPCM encoder + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF + bool "aiff" + help + Create and parse Audio interchange File Format (AIFF) files + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX + bool "asfmux" + help + ASF Muxer Plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOBUFFERSPLIT + bool "audiobuffersplit" + help + Audio buffersplit plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD + bool "audiofxbad" + help + Audio filters plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOLATENCY + bool "audiolatency" + help + Audio latency plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXMATRIX + bool "audiomixmatrix" + help + Audio N:M mixer plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS + bool "audiovisualizers" + help + Creates video visualizations of audio input + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT + bool "autoconvert" + help + Selects convertor element based on caps + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER + bool "bayer" + help + Elements to convert Bayer images + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2 + bool "camerabin2" + help + Take image snapshots and record movies from camera + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CODECALPHA + bool "codecalpha" + help + Elements for VP8/VP9 alpha support (codecalphademux, + alphacombine, vp8alphadecodebin, vp9alphadecodebin) + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS + bool "coloreffects" + help + Color Look-up Table filters + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS + bool "debugutils" + help + Collection of elements that may or may not be useful for + debugging + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBENC + bool "dvbsubenc" + help + DVB subpicture encoding support + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY + bool "dvbsuboverlay" + help + DVB subtitle renderer plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU + bool "dvdspu" + help + DVD Sub-picture Overlay element + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY + bool "faceoverlay" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL + bool "festival" + help + Synthesizes plain text into audio + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS + bool "fieldanalysis" + help + Video field analysis + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB + bool "freeverb" + help + Reverberation/room effect + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R + bool "frei0r" + help + frei0r plugin library + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS + bool "gaudieffects" + help + Gaudi video effects + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM + bool "geometrictransform" + help + Various geometric image transform elements + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP + bool "gdp" + help + Payload/depayload GDP packets + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG + bool "id3tag" + help + ID3 v1 and v2 muxing plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER + bool "inter" + help + plugin for inter-pipeline communication + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE + bool "interlace" + help + Create an interlaced video stream + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE + bool "ivfparse" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC + bool "ivtc" + help + Inverse Telecine plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR + bool "jp2kdecimator" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT + bool "jpegformat" + help + JPEG interchange format plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB + bool "librfb" + help + Connects to a VNC server and decodes RFB stream + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI + bool "midi" + help + MIDI plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX + bool "mpegdemux" + help + MPEG-PS demuxer + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX + bool "mpegtsdemux" + help + MPEG TS demuxer + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX + bool "mpegtsmux" + help + MPEG-TS muxer + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX + bool "mpegpsmux" + help + MPEG-PS muxer + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF + bool "mxf" + help + MXF plugin library + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NETSIM + bool "netsim" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ONVIF + bool "onvif" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE + bool "pcapparse" + help + Element parsing raw pcap streams + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM + bool "pnm" + help + PNM plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PROXY + bool "proxy" + help + Proxy plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE + bool "rawparse" + help + Parses byte streams into raw frames + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE + bool "removesilence" + help + Removes silence from an audio stream + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RIST + bool "rist" + help + RIST streaming + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP2 + bool "rtmp2" + help + RTMP sink/source (rtmp2sink, rtmp2src) + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP2 + bool "rtp" + help + RTP (rtpsrc/rtpsink) + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP + bool "rtmp" + select BR2_PACKAGE_RTMPDUMP + help + RTMP plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP + bool "sdp" + help + configure streaming sessions using SDP + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP + bool "segmentclip" + help + Segment clip elements + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN + bool "siren" + help + Siren encoder/decoder/payloader/depayloader plugins + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH + bool "smooth" + help + Apply a smooth filter to an image + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED + bool "speed" + help + Set speed/pitch on audio/raw streams (resampler) + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC + bool "subenc" + help + subtitle encoders + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SWITCHBIN + bool "switchbin" + help + Switching between paths based on input caps + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TIMECODE + bool "timecode" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS + bool "videofilters" + help + Video filters in gst-plugins-bad + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFRAME_AUDIOLEVEL + bool "videoframe_audiolevel" + help + videoframe_audiolevel + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS + bool "videoparsers" + help + videoparsers + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL + bool "videosignal" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC + bool "vmnc" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M + bool "y4m" + help + Demuxes/decodes YUV4MPEG streams + +comment "plugins with external dependencies" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AES + bool "aes" + select BR2_PACKAGE_OPENSSL + help + "AES encryption/decryption plugin" + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER + bool "assrender" + depends on BR2_INSTALL_LIBSTDCPP # libass -> harfbuzz + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libass -> harfbuzz + select BR2_PACKAGE_LIBASS + +comment "assrender plugin needs a toolchain w/ C++, gcc >= 4.9" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ + bool "bluez" + depends on BR2_USE_WCHAR # bluez5_utils -> libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, libglib2 + depends on BR2_USE_MMU # bluez5_utils -> dbus + depends on !BR2_STATIC_LIBS # bluez5_utils -> uses dlfcn + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils + select BR2_PACKAGE_BLUEZ5_UTILS + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO # runtime + help + Bluetooth audio A2DP/AVDTP sink, AVDTP source plugin + +comment "bluez plugin needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_MMU + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2 + bool "bz2" + select BR2_PACKAGE_BZIP2 + help + Compress or decompress streams + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL + bool "curl" + select BR2_PACKAGE_LIBCURL + help + libcurl-based elements + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH + bool "dash" + select BR2_PACKAGE_LIBXML2 + help + DASH demuxer plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK + bool "decklink" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS # + help + Blackmagic Decklink plugin + +comment "decklink needs a toolchain w/ C++, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB + bool "directfb" + default y + depends on BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB + bool "dvb" + # FEC_2_5 / QAM_4_NR definitions + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + select BR2_PACKAGE_DTV_SCAN_TABLES + help + DVB elements + +comment "dvb needs a toolchain w/ headers >= 3.7" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD + bool "faad" + select BR2_PACKAGE_FAAD2 + help + Free AAC Decoder (FAAD) + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV + bool "fbdev" + help + Linux framebuffer video sink + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC + bool "fdk-aac" + depends on BR2_PACKAGE_FDK_AAC_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_FDK_AAC + help + MPEG AAC encoder/decoder + +comment "fdk-aac needs a toolchain w/ C++" + depends on BR2_PACKAGE_FDK_AAC_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH + bool "fluidsynth" + depends on !BR2_STATIC_LIBS # fluidsynth + depends on BR2_USE_WCHAR # fluidsynth + depends on BR2_TOOLCHAIN_HAS_THREADS # fluidsynth + depends on BR2_USE_MMU # fluidsynth + select BR2_PACKAGE_FLUIDSYNTH + help + Fluidsynth MIDI decoder plugin + +comment "fluidsynth needs a toolchain w/ threads, wchar, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL + bool "gl" + default y + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL + +comment "gl needs the gst1-plugins-base opengl library" + depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS + bool "hls" + select BR2_PACKAGE_NETTLE if !(BR2_PACKAGE_LIBGCRYPT || BR2_PACKAGE_OPENSSL) + help + Fragmented streaming plugins + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS + bool "kmssink" + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm -> libpthread-stubs + select BR2_PACKAGE_LIBDRM + help + KMS video sink + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS + bool "dtls" + select BR2_PACKAGE_OPENSSL + help + DTLS plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTML + bool "ttml" + depends on BR2_USE_WCHAR # pango -> glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> glib2 + depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_PANGO + help + Timed Text Markup Language (TTML) subtitle plugin + +comment "ttml needs a toolchain w/ wchar, threads, C++" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC + bool "mpeg2enc" + depends on BR2_USE_MMU # fork + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBMPEG2 + select BR2_PACKAGE_MJPEGTOOLS + help + High-quality MPEG-1/2 video encoder + +comment "mpeg2enc needs a toolchain w/ threads, C++" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK + bool "musepack" + select BR2_PACKAGE_MUSEPACK + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON + bool "neon" + select BR2_PACKAGE_NEON + help + lib neon http client src + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL + bool "openal" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_PAKCAGE_OPENAL_ARCH_SUPPORTS + select BR2_PACKAGE_OPENAL + +comment "openal plugin needs a toolchain w/ NPTL, C++, gcc >= 4.9" + depends on BR2_PAKCAGE_OPENAL_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \ + || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264 + bool "openh264" + depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP # libopenh264 + depends on !BR2_STATIC_LIBS # libopenh264 + depends on BR2_TOOLCHAIN_HAS_THREADS # libopenh264 + select BR2_PACKAGE_LIBOPENH264 + help + OpenH264 based encoding/decoding plugin + +comment "openh264 plugin needs a toolchain w/ C++, dynamic library, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + depends on BR2_PACKAGE_LIBOPENH264_ARCH_SUPPORTS + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG + bool "openjpeg" + select BR2_PACKAGE_OPENJPEG + help + GStreamer OpenJPEG plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS + bool "opus" + select BR2_PACKAGE_OPUS + help + OPUS plugin library + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_QROVERLAY + bool "qroverlay" + select BR2_PACKAGE_JSON_GLIB + select BR2_PACKAGE_LIBQRENCODE + help + Elements qroverlay, debugqroverlay (overlay data on top of + video in the form of a QR code) + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG + bool "rsvg" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # librsvg + depends on BR2_INSTALL_LIBSTDCPP # librsvg -> pango + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # librsvg -> pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # librsvg -> pango -> harfbuzz + select BR2_PACKAGE_LIBRSVG + help + RSVG plugin library + +comment "rsvg plugin needs a toolchain w/ C++, gcc >= 4.9" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SBC + bool "sbc" + select BR2_PACKAGE_SBC + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SCTP + bool "sctp" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrinsics + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM + bool "shm" + help + shared memory sink source + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE + bool "sndfile" + select BR2_PACKAGE_LIBSNDFILE + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP + bool "srtp" + select BR2_PACKAGE_LIBSRTP + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_UVCH264 + bool "uvch264" + depends on BR2_PACKAGE_HAS_UDEV # libgudev + depends on BR2_TOOLCHAIN_HAS_THREADS # libgudev, libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + depends on BR2_USE_MMU # libgudev + depends on BR2_USE_WCHAR # libgudev + select BR2_PACKAGE_LIBGUDEV + select BR2_PACKAGE_LIBUSB + help + UVC compliant H.264 camera source plugin + +comment "uvch264 needs udev /dev management" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_HAS_UDEV + +comment "uvch264 needs a toolchain w/ threads, wchar, gcc >= 4.9" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC + bool "voaacenc" + select BR2_PACKAGE_VO_AACENC + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND + bool "wayland" + default y + depends on BR2_PACKAGE_WAYLAND + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm -> libpthread-stubs + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_WAYLAND_PROTOCOLS + help + Wayland Video Sink + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP + bool "webp" + select BR2_PACKAGE_WEBP + help + Webp image format plugin + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC + bool "webrtc" + depends on !BR2_STATIC_LIBS # libnice -> gnutls + select BR2_PACKAGE_GST1_PLUGINS_BASE # libgstsdp + select BR2_PACKAGE_LIBNICE + help + WebRTC plugins (webrtcbin - a bin for webrtc connections) + +comment "webrtc needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP + bool "webrtcdsp" + # All depends from webrtc-audio-processing + depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING + help + WebRTC echo-cancellation, gain control and noise suppression + +comment "webrtcdsp needs a toolchain w/ C++, NPTL, gcc >= 4.8" + depends on BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WPE + bool "wpe" + default y + depends on BR2_PACKAGE_WPEWEBKIT + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL + depends on !BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM + +comment "wpe needs the gst1-plugins-base opengl library and wpewebkit" + depends on !BR2_PACKAGE_WPEWEBKIT \ + || !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL + +comment "wpe is incompatible w/ wpewebkit media-stream support" + depends on BR2_PACKAGE_WPEWEBKIT + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL + depends on BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_V4L2CODECS + bool "v4l2codecs" + depends on BR2_PACKAGE_HAS_UDEV # libgudev + select BR2_PACKAGE_LIBGUDEV + help + Video4Linux Stateless CODECs support + +comment "v4l2codecs need udev /dev management" + depends on !BR2_PACKAGE_HAS_UDEV + +config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265 + bool "x265" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # x265 + select BR2_PACKAGE_X265 + help + x265 encoding plugin + +comment "x265 needs a toolchain w/ C++, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS + +config BR2_PACKAGE_GST1_PLUGINS_BAD_ZBAR + bool "zbar" + depends on BR2_TOOLCHAIN_HAS_THREADS # zbar-> libv4l + depends on BR2_USE_MMU # zbar-> libv4l + depends on BR2_INSTALL_LIBSTDCPP # zbar-> libv4l + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # zbar -> libv4l + select BR2_PACKAGE_ZBAR + +comment "zbar plugin needs a toolchain w/ threads, C++ and headers >= 3.0" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + +endif + +comment "gst1-plugins-bad needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash new file mode 100644 index 00000000..2874d955 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.20.1.tar.xz.sha256sum +sha256 09d3c2cf5911f0bc7da6bf557a55251779243d3de216b6a26cc90c445b423848 gst-plugins-bad-1.20.1.tar.xz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk new file mode 100644 index 00000000..343a53a3 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk @@ -0,0 +1,825 @@ +################################################################################ +# +# gst1-plugins-bad +# +################################################################################ + +GST1_PLUGINS_BAD_VERSION = 1.20.1 +GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz +GST1_PLUGINS_BAD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-bad +GST1_PLUGINS_BAD_INSTALL_STAGING = YES +# Additional plugin licenses will be appended to GST1_PLUGINS_BAD_LICENSE and +# GST1_PLUGINS_BAD_LICENSE_FILES if enabled. +GST1_PLUGINS_BAD_LICENSE_FILES = COPYING +GST1_PLUGINS_BAD_LICENSE = LGPL-2.0+ +GST1_PLUGINS_BAD_CPE_ID_VENDOR = freedesktop +GST1_PLUGINS_BAD_CPE_ID_PRODUCT = gst-plugins-bad + +GST1_PLUGINS_BAD_CFLAGS = $(TARGET_CFLAGS) -std=c99 -D_GNU_SOURCE +GST1_PLUGINS_BAD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +GST1_PLUGINS_BAD_CONF_OPTS = \ + -Dexamples=disabled \ + -Dtests=disabled \ + -Ddirectsound=disabled \ + -Dd3dvideosink=disabled \ + -Dwinks=disabled \ + -Dandroidmedia=disabled \ + -Dapplemedia=disabled \ + -Dgobject-cast-checks=disabled \ + -Dglib-asserts=disabled \ + -Dglib-checks=disabled \ + -Dextra-checks=disabled \ + -Ddoc=disabled + +# Options which require currently unpackaged libraries +GST1_PLUGINS_BAD_CONF_OPTS += \ + -Dasio=disabled \ + -Davtp=disabled \ + -Dopensles=disabled \ + -Dmsdk=disabled \ + -Dvoamrwbenc=disabled \ + -Dbs2b=disabled \ + -Dchromaprint=disabled \ + -Dd3d11=disabled \ + -Ddc1394=disabled \ + -Ddts=disabled \ + -Dresindvd=disabled \ + -Dfaac=disabled \ + -Dflite=disabled \ + -Dgs=disabled \ + -Dgsm=disabled \ + -Dkate=disabled \ + -Dladspa=disabled \ + -Dldac=disabled \ + -Dlv2=disabled \ + -Dmediafoundation=disabled \ + -Dmicrodns=disabled \ + -Dlibde265=disabled \ + -Dmodplug=disabled \ + -Dmplex=disabled \ + -Donnx=disabled \ + -Dopenexr=disabled \ + -Dopenni2=disabled \ + -Dteletext=disabled \ + -Dwildmidi=disabled \ + -Dsmoothstreaming=disabled \ + -Dsoundtouch=disabled \ + -Dgme=disabled \ + -Dspandsp=disabled \ + -Dsvthevcenc=disabled \ + -Dtranscode=disabled \ + -Dwasapi2=disabled \ + -Dzxing=disabled \ + -Dmagicleap=disabled \ + -Disac=disabled \ + -Diqa=disabled \ + -Dopencv=disabled + +GST1_PLUGINS_BAD_DEPENDENCIES = gst1-plugins-base gstreamer1 + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += gobject-introspection +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WAYLAND),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libdrm wayland wayland-protocols +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dwayland=disabled +endif + +ifeq ($(BR2_PACKAGE_ORC),y) +GST1_PLUGINS_BAD_DEPENDENCIES += orc +GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dorc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ),y) +GST1_PLUGINS_BAD_DEPENDENCIES += bluez5_utils +GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dbluez=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ACCURIP),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Daccurip=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Daccurip=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMDEC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmdec=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmdec=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ADPCMENC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmenc=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dadpcmenc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AIFF),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Daiff=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Daiff=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASFMUX),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dasfmux=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dasfmux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOBUFFERSPLIT),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiobuffersplit=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiobuffersplit=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOFXBAD),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiofxbad=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiofxbad=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOLATENCY),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiolatency=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiolatency=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXMATRIX),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiomixmatrix=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiomixmatrix=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOVISUALIZERS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiovisualizers=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Daudiovisualizers=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUTOCONVERT),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dautoconvert=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dautoconvert=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BAYER),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dbayer=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dbayer=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CAMERABIN2),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dcamerabin2=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CODECALPHA),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dcodecalpha=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dcodecalpha=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COLOREFFECTS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dcoloreffects=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddebugutils=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddebugutils=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBENC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsubenc=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsubenc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsuboverlay=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddvbsuboverlay=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVDSPU),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddvdspu=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddvdspu=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FACEOVERLAY),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfaceoverlay=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfaceoverlay=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FESTIVAL),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfestival=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfestival=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FIELDANALYSIS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfieldanalysis=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfieldanalysis=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREEVERB),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfreeverb=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfreeverb=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FREI0R),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfrei0r=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfrei0r=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GAUDIEFFECTS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dgaudieffects=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dgaudieffects=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GEOMETRICTRANSFORM),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dgeometrictransform=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dgeometrictransform=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GDP),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dgdp=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dgdp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ID3TAG),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Did3tag=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Did3tag=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTER),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dinter=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dinter=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_INTERLACE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dinterlace=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dinterlace=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVFPARSE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Divfparse=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Divfparse=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IVTC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Divtc=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Divtc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JP2KDECIMATOR),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Djp2kdecimator=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Djp2kdecimator=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_JPEGFORMAT),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Djpegformat=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Djpegformat=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBRFB),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dlibrfb=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dlibrfb=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MIDI),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dmidi=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dmidi=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGDEMUX),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegdemux=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegdemux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGPSMUX),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegpsmux=enabled +GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegpsmux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSMUX),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsmux=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsmux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsdemux=enabled +GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE = y +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpegtsdemux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MXF),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dmxf=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dmxf=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NETSIM),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dnetsim=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dnetsim=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ONVIF),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Donvif=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Donvif=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PCAPPARSE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dpcapparse=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dpcapparse=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PNM),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dpnm=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dpnm=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PROXY),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dproxy=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dproxy=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RAWPARSE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Drawparse=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Drawparse=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REMOVESILENCE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dremovesilence=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dremovesilence=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RIST),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Drist=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Drist=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP2),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp2=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp2=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP2),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Drtp=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Drtp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTMP),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += rtmpdump +else +GST1_PLUGINS_BAD_CONF_OPTS += -Drtmp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDP),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dsdp=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dsdp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SEGMENTCLIP),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dsegmentclip=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dsegmentclip=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SIREN),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dsiren=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dsiren=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SMOOTH),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dsmooth=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dsmooth=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SPEED),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dspeed=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dspeed=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SUBENC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dsubenc=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dsubenc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SWITCHBIN),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dswitchbin=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dswitchbin=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TIMECODE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dtimecode=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dtimecode=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFILTERS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dvideofilters=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dvideofilters=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOFRAME_AUDIOLEVEL),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoframe_audiolevel=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoframe_audiolevel=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOPARSERS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoparsers=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dvideoparsers=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOSIGNAL),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dvideosignal=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dvideosignal=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VMNC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dvmnc=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dvmnc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_Y4M),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dy4m=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dy4m=disabled +endif + +# Plugins with dependencies + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AES),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Daes=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += openssl +else +GST1_PLUGINS_BAD_CONF_OPTS += -Daes=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_ASSRENDER),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libass +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dassrender=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dbz2=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += bzip2 +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dbz2=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CURL),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dcurl=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libcurl +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dcurl=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DASH),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddash=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libxml2 +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddash=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DECKLINK),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddecklink=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DIRECTFB),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += directfb +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddirectfb=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += dtv-scan-tables +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddvb=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FAAD),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfaad=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += faad2 +GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfaad=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfbdev=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfbdev=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FDK_AAC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += fdk-aac +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += fluidsynth +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dhls=enabled + +ifeq ($(BR2_PACKAGE_NETTLE),y) +GST1_PLUGINS_BAD_DEPENDENCIES += nettle +GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='nettle' +else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +GST1_PLUGINS_BAD_DEPENDENCIES += libgcrypt +GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='libgcrypt' +else +GST1_PLUGINS_BAD_DEPENDENCIES += openssl +GST1_PLUGINS_BAD_CONF_OPTS += -Dhls-crypto='openssl' +endif + +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dhls=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_KMS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libdrm +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dkms=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DTLS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += openssl +GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE = y +else +GST1_PLUGINS_BAD_CONF_OPTS += -Ddtls=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTML),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dttml=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += cairo libxml2 pango +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dttml=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpeg2enc=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libmpeg2 mjpegtools +GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dmpeg2enc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MUSEPACK),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dmusepack=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += musepack +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dmusepack=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dneon=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += neon +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dneon=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dopenal=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += openal +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dopenal=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENH264),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dopenh264=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libopenh264 +GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE = y +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dopenh264=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENJPEG),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dopenjpeg=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += openjpeg +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dopenjpeg=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += opus +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dopus=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_QROVERLAY),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dqroverlay=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += json-glib libqrencode +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dqroverlay=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += librsvg +else +GST1_PLUGINS_BAD_CONF_OPTS += -Drsvg=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SBC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dsbc=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += sbc +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dsbc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SCTP),y) +GST1_PLUGINS_BAD_CONF_OPTS += \ + -Dsctp=enabled \ + -Dsctp-internal-usrsctp=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += \ + -Dsctp=disabled \ + -Dsctp-internal-usrsctp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SHM),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dshm=enabled +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dshm=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dsndfile=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libsndfile +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dsndfile=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SRTP),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libsrtp +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dsrtp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_UVCH264),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libgudev libusb +else +GST1_PLUGINS_BAD_CONF_OPTS += -Duvch264=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VOAACENC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += vo-aacenc +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dvoaacenc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBP),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dwebp=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += webp +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dwebp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtc=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += gst1-plugins-base libnice +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WEBRTCDSP),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtcdsp=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += webrtc-audio-processing +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dwebrtcdsp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_WPE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dwpe=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libwpe wpewebkit wpebackend-fdo +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dwpe=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_V4L2CODECS),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dv4l2codecs=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += libgudev +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dv4l2codecs=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_X265),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dx265=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += x265 +GST1_PLUGINS_BAD_HAS_GPL_LICENSE = y +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dx265=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_ZBAR),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=enabled +GST1_PLUGINS_BAD_DEPENDENCIES += zbar +else +GST1_PLUGINS_BAD_CONF_OPTS += -Dzbar=disabled +endif + +# Add GPL license if GPL licensed plugins enabled. +ifeq ($(GST1_PLUGINS_BAD_HAS_GPL_LICENSE),y) +GST1_PLUGINS_BAD_CONF_OPTS += -Dgpl=enabled +GST1_PLUGINS_BAD_LICENSE += , GPL-2.0+ +GST1_PLUGINS_BAD_LICENSE_FILES += COPYING +endif + +# Add BSD license if BSD licensed plugins enabled. +ifeq ($(GST1_PLUGINS_BAD_HAS_BSD2C_LICENSE),y) +GST1_PLUGINS_BAD_LICENSE += , BSD-2-Clause +endif + +# Add Unknown license if Unknown licensed plugins enabled. +ifeq ($(GST1_PLUGINS_BAD_HAS_UNKNOWN_LICENSE),y) +GST1_PLUGINS_BAD_LICENSE += , UNKNOWN +endif + +# Use the following command to extract license info for plugins. +# # find . -name 'plugin-*.xml' | xargs grep license + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/Config.in new file mode 100644 index 00000000..7ca94d7d --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/Config.in @@ -0,0 +1,318 @@ +menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE + bool "gst1-plugins-base" + select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXV if BR2_PACKAGE_XORG7 + help + A basic set of well-supported plug-ins for GStreamer. + + https://gstreamer.freedesktop.org/ + +if BR2_PACKAGE_GST1_PLUGINS_BASE + +config BR2_PACKAGE_GST1_PLUGINS_BASE_INSTALL_TOOLS + bool "install tools" + help + Install the gst-discoverer, gst-device-monitor and gst-play + tools. + +comment "dependency-less plugins" + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER + bool "adder" + help + Adds multiple streams + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP + bool "app" + help + Elements used to communicate with applications + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT + bool "audioconvert (mandatory for audio playback)" + default y + help + Convert audio to different formats + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER + bool "audiomixer" + help + Audio mixer plugin + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE + bool "audiorate" + help + Adjusts audio frames + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC + bool "audiotestsrc" + help + Creates audio test signals of given frequency and volume + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR + bool "compositor" + help + Video compositor plugin + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING + bool "encoding" + help + various encoding-related elements + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT + bool "videoconvert" + help + Colorspace conversion + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO + bool "gio" + help + GIO elements + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_TYPEFINDER + bool "gio-typefinder" + help + GIO typefinder elements + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION + bool "overlaycomposition" + help + Overlaycomposition plugin. + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK + bool "playback" + default y + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND + help + various playback elements + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE + bool "audioresample (mandatory for audio playback)" + default y + help + Resamples audio + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE + bool "rawparse" + help + Parses byte streams into raw frames + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE + bool "subparse" + help + Subtitle parsing + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP + bool "tcp" + help + transfer data over the network via TCP + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND + bool "typefind" + default y + help + default typefind functions + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC + bool "videotestsrc" + help + Creates a test video stream + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE + bool "videorate" + help + Adjusts video frames + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE + bool "videoscale (mandatory for video playback)" + default y + help + Resizes video + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME + bool "volume (mandatory for audio playback)" + default y + help + plugin for controlling audio volume + +comment "plugins with external dependencies" + +menuconfig BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL + bool "opengl" + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES + +if BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL + +config BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL + def_bool BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW + +comment "The opengl library needs an API, a platform and a window system" + depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_HAS_LIB_OPENGL + +comment "APIs" + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API + bool + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL + bool "opengl" + default y + depends on BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_LIBGLU + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API + +comment "opengl needs an OpenGL backend" + depends on !BR2_PACKAGE_HAS_LIBGL + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2 + bool "gles2" + default y + depends on BR2_PACKAGE_HAS_LIBGLES + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API + +comment "gles2 needs an OpenGL ES backend" + depends on !BR2_PACKAGE_HAS_LIBGLES + +comment "Platforms" + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM + bool + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX + bool "glx" + default y + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL + depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR # mesa needs big X + depends on !BR2_PACKAGE_RPI_USERLAND # x11 + select BR2_PACKAGE_XLIB_LIBXRENDER + select BR2_PACKAGE_XORGPROTO + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11 + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM + help + OpenGL Extension to the X Window System + +comment "glx not supported with rpi-userland" + depends on BR2_PACKAGE_RPI_USERLAND + +comment "glx needs the opengl API and modular X.org" + depends on !BR2_PACKAGE_RPI_USERLAND && \ + (!BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL || \ + !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR) + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL + bool "egl" + default y + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API + depends on BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM + +comment "egl needs an API and an EGL backend" + depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API || \ + !BR2_PACKAGE_HAS_LIBEGL + +comment "Window systems" + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW + bool + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11 + bool "x11" + default y + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM + depends on !BR2_PACKAGE_RPI_USERLAND + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW + +comment "x11 not supported with rpi-userland" + depends on BR2_PACKAGE_RPI_USERLAND + +comment "x11 needs a platform and X.org" + depends on !BR2_PACKAGE_RPI_USERLAND && \ + (!BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM || \ + !BR2_PACKAGE_XORG7) + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND + bool "wayland" + default y + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL + depends on BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW + +comment "wayland needs the egl platform and the wayland package" + depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL || \ + !BR2_PACKAGE_WAYLAND + +config BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX + bool "dispmanx" + default y + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL + depends on BR2_PACKAGE_RPI_USERLAND + select BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW + help + Raspberry Pi's Dispmanx windowing system + +comment "dispmanx needs the egl platform and rpi-userland" + depends on !BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL || \ + !BR2_PACKAGE_RPI_USERLAND +endif + +comment "opengl needs an OpenGL or OpenGL ES backend" + depends on !BR2_PACKAGE_HAS_LIBGL && !BR2_PACKAGE_HAS_LIBGLES + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA + bool "alsa (mandatory for audio playback)" + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_MIXER + select BR2_PACKAGE_ALSA_LIB_PCM + select BR2_PACKAGE_ALSA_LIB_SEQ + help + ALSA plugin library + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR + bool "tremor" + select BR2_PACKAGE_TREMOR + help + Vorbis Tremor decoder + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG + bool "ogg (*.ogg audio/video)" + select BR2_PACKAGE_LIBOGG + help + ogg stream manipulation (info about ogg: http://xiph.org) + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS + bool "opus" + select BR2_PACKAGE_OPUS + help + Opus codec for speech and audio. + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO + bool "pango font renderer" + depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuzz + select BR2_PACKAGE_PANGO + help + Pango-based text rendering and overlay + +comment "pango plugin needs a toolchain w/ C++, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA + bool "theora (*.ogg video)" + select BR2_PACKAGE_LIBTHEORA + help + Theora plugin library + +config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS + bool "vorbis (*.ogg audio)" + select BR2_PACKAGE_LIBVORBIS + help + Vorbis plugin library + +endif diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash new file mode 100644 index 00000000..748d9519 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.20.1.tar.xz.sha256sum +sha256 96d8a6413ba9394fbec1217aeef63741a729d476a505a797c1d5337d8fa7c204 gst-plugins-base-1.20.1.tar.xz +sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk new file mode 100644 index 00000000..766af88e --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-base/gst1-plugins-base.mk @@ -0,0 +1,301 @@ +################################################################################ +# +# gst1-plugins-base +# +################################################################################ + +GST1_PLUGINS_BASE_VERSION = 1.20.1 +GST1_PLUGINS_BASE_SOURCE = gst-plugins-base-$(GST1_PLUGINS_BASE_VERSION).tar.xz +GST1_PLUGINS_BASE_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-base +GST1_PLUGINS_BASE_INSTALL_STAGING = YES +GST1_PLUGINS_BASE_LICENSE_FILES = COPYING +GST1_PLUGINS_BASE_LICENSE = LGPL-2.1+ + +GST1_PLUGINS_BASE_CFLAGS = $(TARGET_CFLAGS) -std=gnu99 + +GST1_PLUGINS_BASE_CONF_OPTS = \ + -Dexamples=disabled \ + -Dtests=disabled \ + -Dgobject-cast-checks=disabled \ + -Dglib-asserts=disabled \ + -Dglib-checks=disabled \ + -Dqt5=disabled \ + -Ddoc=disabled + +# Options which require currently unpackaged libraries +GST1_PLUGINS_BASE_CONF_OPTS += \ + -Dcdparanoia=disabled \ + -Dlibvisual=disabled \ + -Diso-codes=disabled + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_INSTALL_TOOLS),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dtools=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dtools=disabled +endif + +GST1_PLUGINS_BASE_DEPENDENCIES = gstreamer1 $(TARGET_NLS_DEPENDENCIES) + +GST1_PLUGINS_BASE_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +# These plugins are listed in the order from ./configure --help + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=enabled +GST1_PLUGINS_BASE_DEPENDENCIES += gobject-introspection +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_ORC),y) +GST1_PLUGINS_BASE_DEPENDENCIES += orc +GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dorc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_API)$(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM)$(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_WINDOW),yyy) +GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dgl=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_OPENGL),y) +GST1_PLUGINS_BASE_GL_API_LIST = opengl +GST1_PLUGINS_BASE_DEPENDENCIES += libgl libglu +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLES2),y) +GST1_PLUGINS_BASE_GL_API_LIST += gles2 +GST1_PLUGINS_BASE_DEPENDENCIES += libgles +endif + +GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_api='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_API_LIST))' + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_GLX),y) +GST1_PLUGINS_BASE_GL_PLATFORM_LIST += glx +GST1_PLUGINS_BASE_DEPENDENCIES += xorgproto xlib_libXrender +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_EGL),y) +GST1_PLUGINS_BASE_GL_PLATFORM_LIST += egl +GST1_PLUGINS_BASE_DEPENDENCIES += libegl +endif +GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_platform='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_GL_PLATFORM_LIST))' + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_X11),y) +GST1_PLUGINS_BASE_WINSYS_LIST += x11 +GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_WAYLAND),y) +GST1_PLUGINS_BASE_WINSYS_LIST += wayland +GST1_PLUGINS_BASE_DEPENDENCIES += wayland wayland-protocols +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_DISPMANX),y) +GST1_PLUGINS_BASE_WINSYS_LIST += dispmanx +GST1_PLUGINS_BASE_DEPENDENCIES += rpi-userland +endif +GST1_PLUGINS_BASE_CONF_OPTS += -Dgl_winsys='$(subst $(space),$(comma),$(GST1_PLUGINS_BASE_WINSYS_LIST))' + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ADDER),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dadder=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dadder=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dapp=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dapp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Daudioconvert=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Daudiomixer=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORATE),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Daudiorate=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOTESTSRC),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Daudiotestsrc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_COMPOSITOR),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dcompositor=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ENCODING),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dencoding=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvert=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoconvert=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dgio=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dgio=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_GIO_TYPEFINDER),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dgio-typefinder=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dgio-typefinder=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OVERLAYCOMPOSITION),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Doverlaycomposition=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dplayback=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Daudioresample=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_RAWPARSE),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Drawparse=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_SUBPARSE),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dsubparse=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TCP),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dtcp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TYPEFIND),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dtypefind=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dvideotestsrc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dvideorate=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoscale=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dvideoscale=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dvolume=disabled +endif + +# Zlib is checked for headers and is not an option. +ifeq ($(BR2_PACKAGE_ZLIB),y) +GST1_PLUGINS_BASE_DEPENDENCIES += zlib +endif + +ifeq ($(BR2_PACKAGE_XORG7),y) +GST1_PLUGINS_BASE_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv +GST1_PLUGINS_BASE_CONF_OPTS += \ + -Dx11=enabled \ + -Dxshm=enabled \ + -Dxvideo=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += \ + -Dx11=disabled \ + -Dxshm=disabled \ + -Dxvideo=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA),y) +GST1_PLUGINS_BASE_DEPENDENCIES += alsa-lib +GST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=enabled +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dalsa=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_TREMOR),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=enabled +GST1_PLUGINS_BASE_DEPENDENCIES += tremor +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dtremor=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OPUS),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dopus=enabled +GST1_PLUGINS_BASE_DEPENDENCIES += opus +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dopus=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dogg=enabled +GST1_PLUGINS_BASE_DEPENDENCIES += libogg +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dogg=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dpango=enabled +GST1_PLUGINS_BASE_DEPENDENCIES += pango +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dpango=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=enabled +GST1_PLUGINS_BASE_DEPENDENCIES += libtheora +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dtheora=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS),y) +GST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=enabled +GST1_PLUGINS_BASE_DEPENDENCIES += libvorbis +else +GST1_PLUGINS_BASE_CONF_OPTS += -Dvorbis=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in new file mode 100644 index 00000000..57bafd33 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_GST1_PLUGINS_BAYER2RGB_NEON + bool "gst1-plugins-bayer2rgb-neon" + depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS + depends on !BR2_STATIC_LIBS # bayer2rgb-neon + depends on BR2_INSTALL_LIBSTDCPP # bayer2rgb-neon + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # bayer2rgb-neon + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_BAYER2RGB_NEON + help + gst1-plugins-bayer2rgb-neon is a gstreamer1 + plugin which uses bayer2rgb-neon library to + decode raw camera bayer to RGB using + NEON hardware acceleration. + + https://gitlab-ext.sigma-chemnitz.de/ensc/gst-bayer2rgb-neon + +comment "gst1-plugins-bayer2rgb-neon needs a toolchain w/ C++, dynamic library, gcc >= 4.9" + depends on BR2_PACKAGE_BAYER2RGB_NEON_ARCH_SUPPORTS + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.hash new file mode 100644 index 00000000..e626d0ba --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 76b2135a23f465f789ccb86bd3a8190a1e30f86cdb28abfac4d9a2cdece63fa2 gst1-plugins-bayer2rgb-neon-b630798efcd611879e7cb1c246052e5ba1acc41d-br1.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.mk new file mode 100644 index 00000000..0d4aeac7 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-bayer2rgb-neon/gst1-plugins-bayer2rgb-neon.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# gst1-plugins-bayer2rgb-neon +# +################################################################################ + +GST1_PLUGINS_BAYER2RGB_NEON_VERSION = b630798efcd611879e7cb1c246052e5ba1acc41d +GST1_PLUGINS_BAYER2RGB_NEON_SITE = https://gitlab-ext.sigma-chemnitz.de/ensc/gst-bayer2rgb-neon.git +GST1_PLUGINS_BAYER2RGB_NEON_SITE_METHOD = git +GST1_PLUGINS_BAYER2RGB_NEON_LICENSE = GPL-3.0 +GST1_PLUGINS_BAYER2RGB_NEON_LICENSE_FILES = COPYING + +GST1_PLUGINS_BAYER2RGB_NEON_DEPENDENCIES = \ + host-pkgconf \ + gstreamer1 \ + gst1-plugins-base \ + bayer2rgb-neon + +GST1_PLUGINS_BAYER2RGB_NEON_AUTORECONF = YES + +GST1_PLUGINS_BAYER2RGB_NEON_CONF_OPTS = --with-plugindir=/usr/lib/gstreamer-1.0 + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-good/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-good/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst1-plugins-good/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gst1-plugins-good/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash new file mode 100644 index 00000000..cccd07dd --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.20.1.tar.xz.sha256sum +sha256 3c66876f821d507bcdbebffb08b4f31a322727d6753f65a0f02c905ecb7084aa gst-plugins-good-1.20.1.tar.xz +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk new file mode 100644 index 00000000..1168feb2 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk @@ -0,0 +1,493 @@ +################################################################################ +# +# gst1-plugins-good +# +################################################################################ + +GST1_PLUGINS_GOOD_VERSION = 1.20.1 +GST1_PLUGINS_GOOD_SOURCE = gst-plugins-good-$(GST1_PLUGINS_GOOD_VERSION).tar.xz +GST1_PLUGINS_GOOD_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-good +GST1_PLUGINS_GOOD_LICENSE_FILES = COPYING +GST1_PLUGINS_GOOD_LICENSE = LGPL-2.1+ + +GST1_PLUGINS_GOOD_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +GST1_PLUGINS_GOOD_CONF_OPTS = \ + -Dexamples=disabled \ + -Dtests=disabled \ + -Dgobject-cast-checks=disabled \ + -Dglib-asserts=disabled \ + -Dglib-checks=disabled \ + -Dasm=disabled \ + -Ddirectsound=disabled \ + -Dwaveform=disabled \ + -Drpicamsrc=disabled \ + -Dosxaudio=disabled \ + -Dosxvideo=disabled \ + -Daalib=disabled \ + -Dlibcaca=disabled \ + -Ddoc=disabled + +# Options which require currently unpackaged libraries +GST1_PLUGINS_GOOD_CONF_OPTS += \ + -Ddv=disabled \ + -Ddv1394=disabled + +GST1_PLUGINS_GOOD_DEPENDENCIES = \ + gstreamer1 \ + gst1-plugins-base \ + $(TARGET_NLS_DEPENDENCIES) + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_JACK),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Djack=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += jack2 +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Djack=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBV4L),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += libv4l +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-libv4l2=disabled +endif + +ifeq ($(BR2_PACKAGE_ORC),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dorc=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += orc +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ALPHA),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dalpha=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_APETAG),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dapetag=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dapetag=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOFX),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Daudiofx=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Daudiofx=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUDIOPARSERS),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Daudioparsers=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Daudioparsers=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUPARSE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dauparse=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dauparse=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dautodetect=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dautodetect=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AVI),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Davi=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Davi=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CUTTER),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dcutter=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dcutter=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEBUGUTILS),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Ddebugutils=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Ddebugutils=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DEINTERLACE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Ddeinterlace=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Ddeinterlace=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_DTMF),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Ddtmf=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Ddtmf=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EFFECTV),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Deffectv=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Deffectv=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_EQUALIZER),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dequalizer=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dequalizer=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLV),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dflv=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dflv=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLX),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dflx=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dflx=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GOOM2K1),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom2k1=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dgoom2k1=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ICYDEMUX),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dicydemux=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dicydemux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ID3DEMUX),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Did3demux=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Did3demux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_IMAGEFREEZE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dimagefreeze=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dimagefreeze=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_INTERLEAVE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dinterleave=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dinterleave=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Disomp4=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Disomp4=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAME),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dlame=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += lame +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dlame=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MPG123),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmpg123=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += mpg123 +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmpg123=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LAW),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dlaw=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dlaw=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_LEVEL),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dlevel=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dlevel=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmatroska=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmatroska=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MONOSCOPE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmonoscope=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmonoscope=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIFILE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultifile=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultifile=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MULTIPART),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultipart=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dmultipart=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_REPLAYGAIN),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dreplaygain=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dreplaygain=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Drtp=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Drtp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Drtpmanager=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Drtpmanager=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Drtsp=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Drtsp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHAPEWIPE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dshapewipe=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dshapewipe=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SMPTE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dsmpte=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dsmpte=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPECTRUM),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dspectrum=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dspectrum=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_UDP),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dudp=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dudp=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOBOX),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideobox=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideobox=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOCROP),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideocrop=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideocrop=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOFILTER),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideofilter=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideofilter=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VIDEOMIXER),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideomixer=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvideomixer=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVENC),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavenc=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavenc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPARSE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavparse=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavparse=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_Y4M),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dy4m=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dy4m=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Doss=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Doss=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Doss4=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Doss4=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_QMLGL),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dqt5=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += qt5declarative +ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) +GST1_PLUGINS_GOOD_DEPENDENCIES += qt5x11extras +endif +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dqt5=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SHOUT2),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dshout2=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += libshout +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dshout2=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2=enabled +# Enable use of gudev if available, for device probing and monitoring. +ifeq ($(BR2_PACKAGE_LIBGUDEV),y) +GST1_PLUGINS_GOOD_DEPENDENCIES += libgudev +GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-gudev=enabled +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-gudev=disabled +endif +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2_PROBE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-probe=true +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dv4l2-probe=false +endif + +ifeq ($(BR2_PACKAGE_XORG7),y) +GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXv +GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc=enabled +ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) +GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libXfixes +GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc-xfixes=enabled +endif +ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) +GST1_PLUGINS_GOOD_DEPENDENCIES += xlib_libXdamage +GST1_PLUGINS_GOOD_CONF_OPTS += -Dximagesrc-xdamage=enabled +endif +else +GST1_PLUGINS_GOOD_CONF_OPTS += \ + -Dximagesrc=disabled \ + -Dximagesrc-xfixes=disabled \ + -Dximagesrc-xdamage=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dcairo=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += cairo +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dcairo=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dflac=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += flac +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dflac=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dgdk-pixbuf=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += gdk-pixbuf +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dgdk-pixbuf=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_JPEG),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Djpeg=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += jpeg +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Djpeg=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PNG),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dpng=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += libpng +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dpng=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dpulse=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += pulseaudio +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dpulse=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dsoup=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += libsoup +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dsoup=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dspeex=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += speex +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dspeex=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TAGLIB),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dtaglib=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += taglib +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dtaglib=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_TWOLAME),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dtwolame=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += twolame +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dtwolame=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvpx=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += libvpx +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dvpx=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_WAVPACK),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavpack=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += wavpack +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dwavpack=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_ZLIB),y) +GST1_PLUGINS_GOOD_DEPENDENCIES += zlib +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_BZ2),y) +GST1_PLUGINS_GOOD_CONF_OPTS += -Dbz2=enabled +GST1_PLUGINS_GOOD_DEPENDENCIES += bzip2 +else +GST1_PLUGINS_GOOD_CONF_OPTS += -Dbz2=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-plugins-ugly/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-ugly/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst1-plugins-ugly/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gst1-plugins-ugly/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash new file mode 100644 index 00000000..d022ba31 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.20.1.tar.xz.sha256sum +sha256 42035145e29983308d2828207bb4ef933ed0407bb587fb3a569738c6a57fdb19 gst-plugins-ugly-1.20.1.tar.xz +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk new file mode 100644 index 00000000..be45d183 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk @@ -0,0 +1,99 @@ +################################################################################ +# +# gst1-plugins-ugly +# +################################################################################ + +GST1_PLUGINS_UGLY_VERSION = 1.20.1 +GST1_PLUGINS_UGLY_SOURCE = gst-plugins-ugly-$(GST1_PLUGINS_UGLY_VERSION).tar.xz +GST1_PLUGINS_UGLY_SITE = https://gstreamer.freedesktop.org/src/gst-plugins-ugly +GST1_PLUGINS_UGLY_LICENSE_FILES = COPYING +# GPL licensed plugins will append to GST1_PLUGINS_UGLY_LICENSE if enabled. +GST1_PLUGINS_UGLY_LICENSE = LGPL-2.1+ + +GST1_PLUGINS_UGLY_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +GST1_PLUGINS_UGLY_CONF_OPTS += \ + -Dtests=disabled \ + -Ddoc=disabled + +GST1_PLUGINS_UGLY_CONF_OPTS += \ + -Da52dec=disabled \ + -Damrnb=disabled \ + -Damrwbdec=disabled \ + -Dcdio=disabled \ + -Dsidplay=disabled + +GST1_PLUGINS_UGLY_DEPENDENCIES = gstreamer1 gst1-plugins-base + +ifeq ($(BR2_PACKAGE_ORC),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=enabled +GST1_PLUGINS_UGLY_DEPENDENCIES += orc +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Dorc=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_ASFDEMUX),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=enabled +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Dasfdemux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDLPCMDEC),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=enabled +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdlpcmdec=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDSUB),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=enabled +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdsub=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_XINGMUX),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=enabled +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Dxingmux=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_REALMEDIA),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=enabled +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Drealmedia=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=enabled +GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread +GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Ddvdread=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPEG2DEC),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=enabled +GST1_PLUGINS_UGLY_DEPENDENCIES += libmpeg2 +GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Dmpeg2dec=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_X264),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=enabled +GST1_PLUGINS_UGLY_DEPENDENCIES += x264 +GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y +else +GST1_PLUGINS_UGLY_CONF_OPTS += -Dx264=disabled +endif + +# Add GPL license if GPL plugins enabled. +ifeq ($(GST1_PLUGINS_UGLY_HAS_GPL_LICENSE),y) +GST1_PLUGINS_UGLY_CONF_OPTS += -Dgpl=enabled +GST1_PLUGINS_UGLY_LICENSE += , GPL-2.0 +endif + +# Use the following command to extract license info for plugins. +# # find . -name 'plugin-*.xml' | xargs grep license + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-python/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-python/Config.in new file mode 100644 index 00000000..d2671266 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-python/Config.in @@ -0,0 +1,26 @@ +config BR2_PACKAGE_GST1_PYTHON + bool "gst1-python" + depends on BR2_USE_MMU # libglib2, gobject-introspection + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection + depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection + depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection + depends on BR2_PACKAGE_PYTHON3 # gobject-introspection + select BR2_PACKAGE_GOBJECT_INTROSPECTION + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PYTHON_GOBJECT + help + GStreamer python overrides for the gobject-introspection-based + pygst bindings. + + https://gstreamer.freedesktop.org/modules/gst-python.html + +comment "gst1-python needs python3" + depends on !BR2_PACKAGE_PYTHON3 + +comment "gst1-python needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_8 diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-python/gst1-python.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-python/gst1-python.hash new file mode 100644 index 00000000..fe1e2068 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-python/gst1-python.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gst-python/gst-python-1.20.1.tar.xz.sha256sum +sha256 ba6cd59faa3db3981d8c6982351c239d823c0b8e80b1acf58d2997b050289422 gst-python-1.20.1.tar.xz +sha256 ea3ad127610e5ded2210b3a86a46314f2b3b28e438eccffdae19a4d6fbcdb0c2 COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-python/gst1-python.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-python/gst1-python.mk new file mode 100644 index 00000000..3fd8059b --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-python/gst1-python.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# gst1-python +# +################################################################################ + +GST1_PYTHON_VERSION = 1.20.1 +GST1_PYTHON_SOURCE = gst-python-$(GST1_PYTHON_VERSION).tar.xz +GST1_PYTHON_SITE = https://gstreamer.freedesktop.org/src/gst-python +GST1_PYTHON_INSTALL_STAGING = YES +GST1_PYTHON_LICENSE_FILES = COPYING +GST1_PYTHON_LICENSE = LGPL-2.1+ + +GST1_PYTHON_DEPENDENCIES = \ + gst1-plugins-base \ + gstreamer1 \ + python-gobject + +# A sysconfigdata_name must be manually specified or the resulting .so +# will have a x86_64 prefix, which causes "from gi.repository import Gst" +# to fail. A pythonpath must be specified or the host python path will be +# used resulting in a "not a valid python" error. +GST1_PYTHON_CONF_ENV += \ + _PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \ + PYTHONPATH=$(PYTHON3_PATH) + +# Due to the CONF_ENV options, libpython-dir must be set manually +# or else the error: "Python dynamic library path could not be determined" +# occurs. We set the libpython-dir to /usr/lib as this path is hard-coded +# into the resulting .so file as /usr/lib/python3.$(PYTHON3_VERSION_MAJOR).so. +# Because we provide PYTHONPATH=$(PYTHON3_PATH) above, the logic in the meson +# file uses the above python path to determine if /usr/lib/ has the proper .so +# file. Because Buildroot provides the appropriate paths, the meson file finds +# the correct .so file, and the resulting compiled library has the appropriate +# path of /usr/lib/python3.$(PYTHON3_VERSION_MAJOR).so +GST1_PYTHON_CONF_OPTS += \ + -Dlibpython-dir=/usr/lib/ + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-rtsp-server/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-rtsp-server/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst1-rtsp-server/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gst1-rtsp-server/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash new file mode 100644 index 00000000..1e66ed72 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.hash @@ -0,0 +1,4 @@ +# From https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.20.1.tar.xz.sha256sum +sha256 4745bc528ad7de711a41d576ddce7412266e66d05c4cfcc636c9ba4da5521509 gst-rtsp-server-1.20.1.tar.xz +sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING +sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING.LIB diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk new file mode 100644 index 00000000..978f7b44 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-rtsp-server/gst1-rtsp-server.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# gst1-rtsp-server +# +################################################################################ + +GST1_RTSP_SERVER_VERSION = 1.20.1 +GST1_RTSP_SERVER_SOURCE = gst-rtsp-server-$(GST1_RTSP_SERVER_VERSION).tar.xz +GST1_RTSP_SERVER_SITE = http://gstreamer.freedesktop.org/src/gst-rtsp-server +GST1_RTSP_SERVER_LICENSE = LGPL-2.1+ +GST1_RTSP_SERVER_LICENSE_FILES = COPYING COPYING.LIB +GST1_RTSP_SERVER_CPE_ID_VENDOR = gstreamer_project +GST1_RTSP_SERVER_CPE_ID_PRODUCT = gst-rtsp-server +GST1_RTSP_SERVER_INSTALL_STAGING = YES +GST1_RTSP_SERVER_DEPENDENCIES = \ + host-pkgconf \ + gstreamer1 \ + gst1-plugins-base \ + gst1-plugins-good + +GST1_RTSP_SERVER_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +GST1_RTSP_SERVER_CONF_OPTS = \ + -Dexamples=disabled \ + -Dtests=disabled \ + -Ddoc=disabled + +GST1_RTSP_SERVER_CONF_OPTS += \ + -Dexamples=disabled \ + -Dtests=disabled \ + -Dgobject-cast-checks=disabled \ + -Dglib-asserts=disabled \ + -Dglib-checks=disabled + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=enabled +GST1_RTSP_SERVER_DEPENDENCIES += gobject-introspection +else +GST1_RTSP_SERVER_CONF_OPTS += -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBCGROUP),y) +GST1_RTSP_SERVER_DEPENDENCIES += libcgroup +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD),y) +GST1_RTSP_SERVER_DEPENDENCIES += gst1-plugins-bad +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gst1-shark/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-shark/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gst1-shark/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gst1-shark/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-shark/gst1-shark.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-shark/gst1-shark.hash new file mode 100644 index 00000000..be260507 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-shark/gst1-shark.hash @@ -0,0 +1,5 @@ +# locally computed hash +sha256 689e60b4e10635a4f3af795b53045c6e90643896fa07b61e164a96158a79bdcf gst1-shark-v0.7.3-br1.tar.gz + +# Hashes for license files: +sha256 6d191b8f1fa03cabced18b8e48fddbf960a19f965bed8491e76ed62238f92f0b COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-shark/gst1-shark.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-shark/gst1-shark.mk new file mode 100644 index 00000000..4e7801e9 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-shark/gst1-shark.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# gst1-shark +# +################################################################################ + +GST1_SHARK_VERSION = v0.7.3 +GST1_SHARK_SITE = https://github.com/RidgeRun/gst-shark.git +GST1_SHARK_SITE_METHOD = git +GST1_SHARK_GIT_SUBMODULES = YES + +GST1_SHARK_LICENSE = LGPL-2.1+ +GST1_SHARK_LICENSE_FILES = COPYING + +GST1_SHARK_AUTORECONF = YES +GST1_SHARK_DEPENDENCIES = host-pkgconf gstreamer1 gst1-plugins-base +GST1_SHARK_CONF_OPTS = --disable-graphviz + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/Config.in b/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/Config.in new file mode 100644 index 00000000..ade8b83a --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/Config.in @@ -0,0 +1,51 @@ +config BR2_PACKAGE_GST1_VAAPI + bool "gst1-vaapi" + depends on !BR2_STATIC_LIBS # dlopen(), libva + depends on BR2_TOOLCHAIN_HAS_THREADS # libva, libdrm + depends on BR2_INSTALL_LIBSTDCPP # gst1-plugins-bad + depends on BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_LIBVA + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_GST1_PLUGINS_BAD # gstreamer-codecparsers + help + gstreamer-vaapi consists in a collection of VA-API based + plugins for GStreamer and helper libraries. + + vaapidec is used to decode JPEG, MPEG-2, MPEG-4:2, + H.264 AVC, H.264 MVC, VP8, VC-1, WMV3, HEVC videos to VA + surfaces, depending on the actual value of and the + underlying hardware capabilities. This plugin is also able + to implicitly download the decoded surface to raw YUV + buffers. + + vaapienc is used to encode into MPEG-2, H.264 AVC, + H.264 MVC, JPEG, VP8, HEVC videos, depending on the actual + value of (mpeg2, h264, etc.) and the hardware + capabilities. By default, raw format bitstreams are + generated, so the result may be piped to a muxer, e.g. qtmux + for MP4 containers. + + vaapipostproc is used to filter VA surfaces, for + e.g. scaling, deinterlacing (bob, motion-adaptive, + motion-compensated), noise reduction or sharpening. This + plugin is also used to upload raw YUV pixels into VA + surfaces. + + vaapisink is used to render VA surfaces to an X11 or Wayland + display. This plugin also features a "headless" mode (DRM) + more suited to remote transcode scenarios, with faster + throughput. + + https://cgit.freedesktop.org/gstreamer/gstreamer-vaapi + +if BR2_PACKAGE_GST1_VAAPI + +config BR2_PACKAGE_GST1_VAAPI_ENCODERS + bool "enable encoders" + +endif + +comment "gst1-vaapi needs udev /dev management and a toolchain w/ threads, dynamic library, C++" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash b/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash new file mode 100644 index 00000000..26a1f52b --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/gst1-vaapi.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gstreamer-vaapi/gstreamer-vaapi-1.20.1.tar.xz.sha256sum +sha256 87fbf6c537af9079c99a9aefe951da119e16e5bcc9cc8614f5035f062bf21137 gstreamer-vaapi-1.20.1.tar.xz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk b/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk new file mode 100644 index 00000000..e0502914 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gst1-vaapi/gst1-vaapi.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# gst1-vaapi +# +################################################################################ + +GST1_VAAPI_VERSION = 1.20.1 +GST1_VAAPI_SITE = https://gstreamer.freedesktop.org/src/gstreamer-vaapi +GST1_VAAPI_SOURCE = gstreamer-vaapi-$(GST1_VAAPI_VERSION).tar.xz +GST1_VAAPI_LICENSE = LGPL-2.1+ +GST1_VAAPI_LICENSE_FILES = COPYING.LIB + +GST1_VAAPI_DEPENDENCIES += \ + gstreamer1 \ + gst1-plugins-base \ + gst1-plugins-bad \ + libva \ + libdrm + +GST1_VAAPI_CONF_OPTS += \ + -Dwith_drm=yes \ + -Dwith_x11=no \ + -Dwith_glx=no \ + -Dwith_wayland=no \ + -Dwith_egl=no \ + -Dexamples=disabled \ + -Dtests=disabled \ + -Ddoc=disabled + +ifeq ($(BR2_PACKAGE_GST1_VAAPI_ENCODERS),y) +GST1_VAAPI_CONF_OPTS += -Dwith_encoders=yes +else +GST1_VAAPI_CONF_OPTS += -Dwith_encoders=no +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gstreamer1/gstd/0001-Fix-gstd_chmod.sh-DESTDIR-path.patch b/buildroot-2022.02.1/package/gstreamer1/gstd/0001-Fix-gstd_chmod.sh-DESTDIR-path.patch new file mode 100644 index 00000000..79a65ffb --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstd/0001-Fix-gstd_chmod.sh-DESTDIR-path.patch @@ -0,0 +1,27 @@ +From f1c953b9077619a83ab21c24dc343c7e21cd220d Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Tue, 14 Sep 2021 01:46:25 -0600 +Subject: [PATCH] Fix gstd_chmod.sh DESTDIR path. + +This should fix the chmod path when cross compiling. + +Signed-off-by: James Hilliard +[Upstream status: +https://github.com/RidgeRun/gstd-1.x/pull/247] +--- + gstd/gstd_chmod.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gstd/gstd_chmod.sh b/gstd/gstd_chmod.sh +index 8e58bce..fa7fa80 100755 +--- a/gstd/gstd_chmod.sh ++++ b/gstd/gstd_chmod.sh +@@ -3,4 +3,4 @@ + # $1 mode + # $2 file + +-chmod $1 $2 ++chmod $1 ${DESTDIR}/$2 +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gstreamer1/gstd/0002-Don-t-require-gstreamer-check-1.0-unless-tests-are-e.patch b/buildroot-2022.02.1/package/gstreamer1/gstd/0002-Don-t-require-gstreamer-check-1.0-unless-tests-are-e.patch new file mode 100644 index 00000000..495fbfc3 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstd/0002-Don-t-require-gstreamer-check-1.0-unless-tests-are-e.patch @@ -0,0 +1,33 @@ +From 586bb97459e72da30bd9991c228b6b8e9251c68b Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Tue, 14 Sep 2021 01:49:49 -0600 +Subject: [PATCH] Don't require gstreamer-check-1.0 unless tests are enabled. + +Signed-off-by: James Hilliard +[Upstream status: +https://github.com/RidgeRun/gstd-1.x/pull/248] +--- + meson.build | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 1d9ce9d..76990a0 100644 +--- a/meson.build ++++ b/meson.build +@@ -22,10 +22,12 @@ gio_unix_dep = dependency('gio-unix-2.0', version : '>=2.44.1') + json_glib_dep = dependency('json-glib-1.0', version : '>=0.16.2') + libd_dep = dependency('libdaemon', version : '>=0.14') + jansson_dep = dependency('jansson', version : '>=2.7') +-gst_check_dep = dependency('gstreamer-check-1.0',version : '>=1.0.5') + thread_dep = dependency('threads') + libsoup_dep = dependency('libsoup-2.4', version : '>=2.4') + ++gst_check_required = get_option('enable-tests').enabled() ++gst_check_dep = dependency('gstreamer-check-1.0', required : gst_check_required, version : '>=1.0.5') ++ + systemd_required = get_option('enable-systemd').enabled() + systemd_dep = dependency('systemd', required : systemd_required, version : '>=232') + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gstreamer1/gstd/0003-Use-relative-symlink-for-gstd-gst-client-exe.patch b/buildroot-2022.02.1/package/gstreamer1/gstd/0003-Use-relative-symlink-for-gstd-gst-client-exe.patch new file mode 100644 index 00000000..265ea8d8 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstd/0003-Use-relative-symlink-for-gstd-gst-client-exe.patch @@ -0,0 +1,38 @@ +From a670beca8dcc76171dcfe3f10970d76c6f0439be Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Tue, 14 Sep 2021 02:49:10 -0600 +Subject: [PATCH] Use relative symlink for gstd/gst-client exe. + +This should fix the symlink path when cross compiling. + +Signed-off-by: James Hilliard +[Upstream status: +https://github.com/RidgeRun/gstd-1.x/pull/249] +--- + gst_client/gst_client_symbolic_link.sh | 2 +- + gstd/gstd_symbolic_link.sh | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gst_client/gst_client_symbolic_link.sh b/gst_client/gst_client_symbolic_link.sh +index d8d7617..b87dd12 100755 +--- a/gst_client/gst_client_symbolic_link.sh ++++ b/gst_client/gst_client_symbolic_link.sh +@@ -4,4 +4,4 @@ + # $1: target + # $2: link name + rm -f ${DESTDIR}${MESON_INSTALL_PREFIX}/$2 +-ln -s ${DESTDIR}${MESON_INSTALL_PREFIX}/$1 ${DESTDIR}${MESON_INSTALL_PREFIX}/$2 ++ln -s --relative ${DESTDIR}${MESON_INSTALL_PREFIX}/$1 ${DESTDIR}${MESON_INSTALL_PREFIX}/$2 +diff --git a/gstd/gstd_symbolic_link.sh b/gstd/gstd_symbolic_link.sh +index d8d7617..b87dd12 100755 +--- a/gstd/gstd_symbolic_link.sh ++++ b/gstd/gstd_symbolic_link.sh +@@ -4,4 +4,4 @@ + # $1: target + # $2: link name + rm -f ${DESTDIR}${MESON_INSTALL_PREFIX}/$2 +-ln -s ${DESTDIR}${MESON_INSTALL_PREFIX}/$1 ${DESTDIR}${MESON_INSTALL_PREFIX}/$2 ++ln -s --relative ${DESTDIR}${MESON_INSTALL_PREFIX}/$1 ${DESTDIR}${MESON_INSTALL_PREFIX}/$2 +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gstreamer1/gstd/0004-Don-t-require-gstd-check-user-xenv.sh-for-systemd-se.patch b/buildroot-2022.02.1/package/gstreamer1/gstd/0004-Don-t-require-gstd-check-user-xenv.sh-for-systemd-se.patch new file mode 100644 index 00000000..247b5ab3 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstd/0004-Don-t-require-gstd-check-user-xenv.sh-for-systemd-se.patch @@ -0,0 +1,34 @@ +From 05ae5237b1bc23399898f9c06463cfe2b5bba499 Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Tue, 14 Sep 2021 17:48:03 -0600 +Subject: [PATCH] Don't require gstd-check-user-xenv.sh for systemd service + +The gstd-check-user-xenv.sh script does not appear to be required +for running the gstd service so we shouldn't require it for the +service to start. + +Note that the non-systemd init script already does not require this. + +Signed-off-by: James Hilliard +[Upstream status: +https://github.com/RidgeRun/gstd-1.x/pull/251] +--- + init/gstd.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/init/gstd.service.in b/init/gstd.service.in +index 3d20ecd..9125983 100644 +--- a/init/gstd.service.in ++++ b/init/gstd.service.in +@@ -6,7 +6,7 @@ StartLimitIntervalSec=30 + [Service] + Restart=on-failure + RestartSec=5s +-ExecStartPre=@GSTD_SYSTEMD_DIR@/gstd-check-user-xenv.sh ++ExecStartPre=-@GSTD_SYSTEMD_DIR@/gstd-check-user-xenv.sh + ExecStart=@prefix@/bin/gstd + + [Install] +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gstreamer1/gstd/0005-Use-native-meson-python-module-for-python-install.patch b/buildroot-2022.02.1/package/gstreamer1/gstd/0005-Use-native-meson-python-module-for-python-install.patch new file mode 100644 index 00000000..a27d79a0 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstd/0005-Use-native-meson-python-module-for-python-install.patch @@ -0,0 +1,78 @@ +From 1067f6138e947d18fd835e4a39f229ae2293f864 Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Tue, 14 Sep 2021 23:37:03 -0600 +Subject: [PATCH] Use native meson python module for python install. + +Signed-off-by: James Hilliard +[upstreeam: https://github.com/RidgeRun/gstd-1.x/pull/253] +Signed-off-by: Yann E. MORIN +--- + libgstc/meson.build | 4 +++- + libgstc/python/meson.build | 26 +++++++++++++++++++++++++- + meson_options.txt | 2 ++ + 3 files changed, 30 insertions(+), 2 deletions(-) + +diff --git a/libgstc/meson.build b/libgstc/meson.build +index e94dcd1..582cbb8 100644 +--- a/libgstc/meson.build ++++ b/libgstc/meson.build +@@ -1,2 +1,4 @@ + subdir('c') +-subdir('python') ++if not get_option('enable-python').disabled() ++ subdir('python') ++endif +diff --git a/libgstc/python/meson.build b/libgstc/python/meson.build +index 057114b..24e3242 100644 +--- a/libgstc/python/meson.build ++++ b/libgstc/python/meson.build +@@ -1 +1,25 @@ +-run_command('pip3', 'install', '.') ++pymod = import('python') ++python = pymod.find_installation( ++ get_option('with-python-version'), ++ required : get_option('enable-python').enabled(), ++ disabler : true ++) ++ ++pythonver = python.language_version() ++if pythonver.version_compare('<3.7') ++ error('Python @0@ is not supported anymore, please port your code to python3.7 or newer.'.format(python.language_version())) ++endif ++ ++pygstc_src_files = [ ++ 'pygstc/__init__.py', ++ 'pygstc/gstc.py', ++ 'pygstc/gstcerror.py', ++ 'pygstc/logger.py', ++ 'pygstc/tcp.py' ++] ++ ++python.install_sources( ++ pygstc_src_files, ++ subdir : 'pygstc', ++ pure : true ++) +diff --git a/meson_options.txt b/meson_options.txt +index f50e540..25292e6 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -4,6 +4,7 @@ option('enable-examples', type : 'feature', value : 'auto', yield : true, descri + option('enable-gtk-doc', type : 'boolean', value : false, description : 'Use gtk-doc to build documentation') + option('enable-systemd', type : 'feature', value : 'auto', description : 'Enable systemd gstd.service install') + option('enable-initd', type : 'feature', value : 'disabled', description : 'Enable init script install') ++option('enable-python', type : 'feature', value : 'auto', description : 'Install the pygstc library') + + # String options + option('with-gstd-runstatedir', type : 'string', value : '${prefix}/var/run/gstd', description : 'Specify the location of the gstd\'s PID file') +@@ -11,6 +12,7 @@ option('with-gstd-logstatedir', type : 'string', value : '${prefix}/var/log/gstd + option('with-gstd-systemddir', type : 'string', value : 'Systemd default systemduserunitdir', description : 'Specify the location of gstd.service file') + option('with-gstd-initddir', type : 'string', value : '${sysconfdir}/init.d', description : 'Specify the location of gstd init script') + option('with-statedir-owner', type : 'string', value : 'root', description : 'Specify the owner of gstd\'s run and log dirs created by the initd script') ++option('with-python-version', type : 'string', value : 'python3', description : 'Specify the python version for pygstc installation') + + # Common options + option('package-name', type : 'string', yield : true, +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/gstreamer1/gstd/Config.in b/buildroot-2022.02.1/package/gstreamer1/gstd/Config.in new file mode 100644 index 00000000..f36d25f1 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstd/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_GSTD + bool "gstd" + depends on BR2_USE_WCHAR # libglib2 -> gettext, libsoup + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libsoup + depends on BR2_USE_MMU # libdaemon, libglib2 + select BR2_PACKAGE_GSTREAMER1_GST_DEBUG # gst_debug_bin_to_dot_data + select BR2_PACKAGE_JANSSON + select BR2_PACKAGE_JSON_GLIB + select BR2_PACKAGE_LIBDAEMON + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBSOUP + select BR2_PACKAGE_READLINE + help + GStreamer Daemon, also called gstd, is a GStreamer framework + for controlling audio and video streaming using an + InterProcess Communication protocol. + + https://developer.ridgerun.com/wiki/index.php?title=GStreamer_Daemon diff --git a/buildroot-2022.02.1/package/gstreamer1/gstd/gstd.hash b/buildroot-2022.02.1/package/gstreamer1/gstd/gstd.hash new file mode 100644 index 00000000..6ec84bd5 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstd/gstd.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 94c10c798d3618b63cc68cbe053fabd19335a57f982a47b3d66c27c37d325da3 gstd-0.13.0.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gstd/gstd.mk b/buildroot-2022.02.1/package/gstreamer1/gstd/gstd.mk new file mode 100644 index 00000000..959e2772 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstd/gstd.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# gstd +# +################################################################################ + +GSTD_VERSION = 0.13.0 +GSTD_SITE = $(call github,RidgeRun,gstd-1.x,v$(GSTD_VERSION)) +GSTD_LICENSE_FILES = COPYING +GSTD_LICENSE = GPL-2.0+ + +GSTD_DEPENDENCIES = \ + $(BR2_COREUTILS_HOST_DEPENDENCY) \ + gstreamer1 \ + jansson \ + json-glib \ + libdaemon \ + libglib2 \ + libsoup \ + readline + +GSTD_CONF_OPTS = \ + -Denable-tests=disabled \ + -Denable-examples=disabled \ + -Denable-gtk-doc=false \ + -Denable-python=disabled \ + -Dwith-gstd-runstatedir=/var/run/gstd \ + -Dwith-gstd-logstatedir=/var/log/gstd \ + -Dwith-gstd-systemddir=/usr/lib/systemd/system + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +GSTD_CONF_OPTS += -Denable-systemd=enabled -Denable-initd=disabled +GSTD_DEPENDENCIES += systemd +else +GSTD_CONF_OPTS += -Denable-systemd=disabled -Denable-initd=enabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1-editing-services/Config.in b/buildroot-2022.02.1/package/gstreamer1/gstreamer1-editing-services/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gstreamer1-editing-services/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gstreamer1-editing-services/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash b/buildroot-2022.02.1/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash new file mode 100644 index 00000000..5d77a9bb --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.hash @@ -0,0 +1,6 @@ +# From https://gstreamer.freedesktop.org/src/gstreamer-editing-services/gst-editing-services-1.20.1.tar.xz.sha256sum +sha256 6ace1b21b58e0110b7dadd469f79b77e2f47d6207604231492531ae9fd4148df gst-editing-services-1.20.1.tar.xz + +# Hashes for license files: +sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING +sha256 f445dc78b88496f7e20c7a2a461b95baba5865c8919b8289ac24ac0a80c6ce7a COPYING.LIB diff --git a/buildroot-2022.02.1/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk b/buildroot-2022.02.1/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk new file mode 100644 index 00000000..dbdf2abc --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstreamer1-editing-services/gstreamer1-editing-services.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# gstreamer1-editing-services +# +################################################################################ + +GSTREAMER1_EDITING_SERVICES_VERSION = 1.20.1 +GSTREAMER1_EDITING_SERVICES_SOURCE = gst-editing-services-$(GSTREAMER1_EDITING_SERVICES_VERSION).tar.xz +GSTREAMER1_EDITING_SERVICES_SITE = https://gstreamer.freedesktop.org/src/gstreamer-editing-services +GSTREAMER1_EDITING_SERVICES_LICENSE = LGPL-2.0+ +GSTREAMER1_EDITING_SERVICES_LICENSE_FILES = COPYING COPYING.LIB +GSTREAMER1_EDITING_SERVICES_INSTALL_STAGING = YES +GSTREAMER1_EDITING_SERVICES_DEPENDENCIES = \ + host-pkgconf \ + gstreamer1 \ + gst1-plugins-base \ + gst1-plugins-good \ + libxml2 + +GSTREAMER1_EDITING_SERVICES_CONF_OPTS = \ + -Ddoc=disabled \ + -Dexamples=disabled \ + -Dintrospection=disabled \ + -Dtests=disabled \ + -Dtools=enabled \ + -Dbash-completion=disabled \ + -Dxptv=disabled \ + -Dpython=disabled + +ifeq ($(BR2_PACKAGE_GST1_DEVTOOLS),y) +GSTREAMER1_EDITING_SERVICES_DEPENDENCIES += gst1-devtools +GSTREAMER1_EDITING_SERVICES_CONF_OPTS += -Dvalidate=enabled +else +GSTREAMER1_EDITING_SERVICES_CONF_OPTS += -Dvalidate=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1.mk b/buildroot-2022.02.1/package/gstreamer1/gstreamer1.mk similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gstreamer1.mk rename to buildroot-2022.02.1/package/gstreamer1/gstreamer1.mk diff --git a/buildroot-2021.05/package/gstreamer1/gstreamer1/Config.in b/buildroot-2022.02.1/package/gstreamer1/gstreamer1/Config.in similarity index 100% rename from buildroot-2021.05/package/gstreamer1/gstreamer1/Config.in rename to buildroot-2022.02.1/package/gstreamer1/gstreamer1/Config.in diff --git a/buildroot-2022.02.1/package/gstreamer1/gstreamer1/gstreamer1.hash b/buildroot-2022.02.1/package/gstreamer1/gstreamer1/gstreamer1.hash new file mode 100644 index 00000000..128bb564 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstreamer1/gstreamer1.hash @@ -0,0 +1,3 @@ +# From https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.20.1.tar.xz.sha256sum +sha256 de094a404a3ad8f4977829ea87edf695a4da0b5c8f613ebe54ab414bac89f031 gstreamer-1.20.1.tar.xz +sha256 ad2eec519ebd4b5df86ea84dff24ae3bfa2edea846a703b58902dd221ae375db COPYING diff --git a/buildroot-2022.02.1/package/gstreamer1/gstreamer1/gstreamer1.mk b/buildroot-2022.02.1/package/gstreamer1/gstreamer1/gstreamer1.mk new file mode 100644 index 00000000..995c5b11 --- /dev/null +++ b/buildroot-2022.02.1/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -0,0 +1,61 @@ +################################################################################ +# +# gstreamer1 +# +################################################################################ + +GSTREAMER1_VERSION = 1.20.1 +GSTREAMER1_SOURCE = gstreamer-$(GSTREAMER1_VERSION).tar.xz +GSTREAMER1_SITE = https://gstreamer.freedesktop.org/src/gstreamer +GSTREAMER1_INSTALL_STAGING = YES +GSTREAMER1_LICENSE_FILES = COPYING +GSTREAMER1_LICENSE = LGPL-2.1+ +GSTREAMER1_CPE_ID_VENDOR = gstreamer_project +GSTREAMER1_CPE_ID_PRODUCT = gstreamer + +GSTREAMER1_CONF_OPTS = \ + -Dexamples=disabled \ + -Dtests=disabled \ + -Dbenchmarks=disabled \ + -Dtools=$(if $(BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS),enabled,disabled) \ + -Dgobject-cast-checks=disabled \ + -Dglib-asserts=disabled \ + -Dglib-checks=disabled \ + -Dextra-checks=disabled \ + -Dcheck=$(if $(BR2_PACKAGE_GSTREAMER1_CHECK),enabled,disabled) \ + -Dtracer_hooks=$(if $(BR2_PACKAGE_GSTREAMER1_TRACE),true,false) \ + -Doption-parsing=$(if $(BR2_PACKAGE_GSTREAMER1_PARSE),true,false) \ + -Dgst_debug=$(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),true,false) \ + -Dgst_parse=true \ + -Dregistry=$(if $(BR2_PACKAGE_GSTREAMER1_PLUGIN_REGISTRY),true,false) \ + -Ddoc=disabled + +GSTREAMER1_DEPENDENCIES = \ + host-bison \ + host-flex \ + host-pkgconf \ + libglib2 \ + $(if $(BR2_PACKAGE_LIBUNWIND),libunwind) \ + $(if $(BR2_PACKAGE_VALGRIND),valgrind) \ + $(TARGET_NLS_DEPENDENCIES) + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GSTREAMER1_CONF_OPTS += -Dintrospection=enabled +GSTREAMER1_DEPENDENCIES += gobject-introspection +else +GSTREAMER1_CONF_OPTS += -Dintrospection=disabled +endif + +GSTREAMER1_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +# By default, girdir uses datadir as its prefix of which pkg-config will not +# append the sysroot directory. This results in a build failure with +# gst1-plugins-base. Changing prefix to ${libdir}/../share prevents this error. +define GSTREAMER1_FIX_GIRDIR + $(SED) "s%girdir=.*%girdir=\$${libdir}/../share/gir-1.0%g" \ + $(STAGING_DIR)/usr/lib/pkgconfig/gstreamer-1.0.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/gstreamer-base-1.0.pc +endef +GSTREAMER1_POST_INSTALL_STAGING_HOOKS += GSTREAMER1_FIX_GIRDIR + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/gtest/0001-pkg-config-fix-gtest.pc-gmock.pc-library-names-for-t.patch b/buildroot-2022.02.1/package/gtest/0001-pkg-config-fix-gtest.pc-gmock.pc-library-names-for-t.patch new file mode 100644 index 00000000..c47e8fc8 --- /dev/null +++ b/buildroot-2022.02.1/package/gtest/0001-pkg-config-fix-gtest.pc-gmock.pc-library-names-for-t.patch @@ -0,0 +1,62 @@ +From cf5a3177159ca832470e7f876cab0a1923fa666f Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Fri, 22 Oct 2021 20:17:36 +0200 +Subject: [PATCH] pkg-config: fix gtest.pc/gmock.pc library names for the debug + build + +In case CMAKE_BUILD_TYPE is set to Debug the gtest library is +name libgtestd.a but the link command returned from gtest.pc is +'-lgtest' (without the debug d) and so the linking of dependent +packages fails (see [1] for a buildroot failure example). + +Enhance the gtest.pc ang gmock.pc generation to honour the debug 'd'. + +[1] http://lists.busybox.net/pipermail/buildroot/2021-October/626382.html + +[Upstream: https://github.com/google/googletest/pull/3625] +Signed-off-by: Peter Seiderer +--- + googlemock/cmake/gmock.pc.in | 2 +- + googletest/cmake/gtest.pc.in | 2 +- + googletest/cmake/internal_utils.cmake | 3 +++ + 3 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/googlemock/cmake/gmock.pc.in b/googlemock/cmake/gmock.pc.in +index 23c67b5c..0f469857 100644 +--- a/googlemock/cmake/gmock.pc.in ++++ b/googlemock/cmake/gmock.pc.in +@@ -6,5 +6,5 @@ Description: GoogleMock (without main() function) + Version: @PROJECT_VERSION@ + URL: https://github.com/google/googletest + Requires: gtest = @PROJECT_VERSION@ +-Libs: -L${libdir} -lgmock @CMAKE_THREAD_LIBS_INIT@ ++Libs: -L${libdir} -lgmock@DEBUG_POSTFIX@ @CMAKE_THREAD_LIBS_INIT@ + Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ +diff --git a/googletest/cmake/gtest.pc.in b/googletest/cmake/gtest.pc.in +index b4148fae..225bba81 100644 +--- a/googletest/cmake/gtest.pc.in ++++ b/googletest/cmake/gtest.pc.in +@@ -5,5 +5,5 @@ Name: gtest + Description: GoogleTest (without main() function) + Version: @PROJECT_VERSION@ + URL: https://github.com/google/googletest +-Libs: -L${libdir} -lgtest @CMAKE_THREAD_LIBS_INIT@ ++Libs: -L${libdir} -lgtest@DEBUG_POSTFIX@ @CMAKE_THREAD_LIBS_INIT@ + Cflags: -I${includedir} @GTEST_HAS_PTHREAD_MACRO@ +diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake +index 58fc9bfb..fd81b825 100644 +--- a/googletest/cmake/internal_utils.cmake ++++ b/googletest/cmake/internal_utils.cmake +@@ -335,6 +335,9 @@ function(install_project) + # Configure and install pkgconfig files. + foreach(t ${ARGN}) + set(configured_pc "${generated_dir}/${t}.pc") ++ if(CMAKE_BUILD_TYPE MATCHES Debug) ++ set(DEBUG_POSTFIX "d") ++ endif() + configure_file("${PROJECT_SOURCE_DIR}/cmake/${t}.pc.in" + "${configured_pc}" @ONLY) + install(FILES "${configured_pc}" +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/gtest/Config.in b/buildroot-2022.02.1/package/gtest/Config.in new file mode 100644 index 00000000..d8bcf634 --- /dev/null +++ b/buildroot-2022.02.1/package/gtest/Config.in @@ -0,0 +1,56 @@ +config BR2_PACKAGE_GTEST + bool "gtest" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 + depends on BR2_USE_MMU # fork() + help + Google's framework for writing C++ tests on a variety of + platforms (Linux, Mac OS X, Windows, Cygwin, Windows CE, and + Symbian). Based on the xUnit architecture. Supports + automatic test discovery, a rich set of assertions, + user-defined assertions, death tests, fatal and non-fatal + failures, value- and type-parameterized tests, various + options for running the tests, and XML test report + generation. + + Gtest also allows to easily build testsuites for C programs. + + This package allows running testsuites on the target which + might be advantageous in certain cases. + + https://github.com/google/googletest + +if BR2_PACKAGE_GTEST + +config BR2_PACKAGE_GTEST_GMOCK + bool "gmock" + help + Inspired by jMock, EasyMock, and Hamcrest, and designed with + C++'s specifics in mind, Google C++ Mocking Framework (or + Google Mock for short) is a library for writing and using C++ + mock classes. + + Google Mock: + + * lets you create mock classes trivially using simple + macros, supports a rich set of matchers and actions, + * handles unordered, partially ordered, or completely + ordered expectations, + * is extensible by users, and + * works on Linux, Mac OS X, Windows, Windows Mobile, minGW, + and Symbian. + + There are both host and target packages. The target one has + include files required to compile the tests and the static + libraries required to link/run them. The host package installs + gmock_gen, a Python script used to generate code mocks. + +endif # BR2_PACKAGE_GTEST + +comment "gtest needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/gtest/gtest.hash b/buildroot-2022.02.1/package/gtest/gtest.hash new file mode 100644 index 00000000..d21fea71 --- /dev/null +++ b/buildroot-2022.02.1/package/gtest/gtest.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 b4870bf121ff7795ba20d20bcdd8627b8e088f2d1dab299a031c1034eddc93d5 gtest-1.11.0.tar.gz +sha256 9702de7e4117a8e2b20dafab11ffda58c198aede066406496bef670d40a22138 LICENSE diff --git a/buildroot-2022.02.1/package/gtest/gtest.mk b/buildroot-2022.02.1/package/gtest/gtest.mk new file mode 100644 index 00000000..e7ce89a3 --- /dev/null +++ b/buildroot-2022.02.1/package/gtest/gtest.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# gtest +# +################################################################################ + +GTEST_VERSION = 1.11.0 +GTEST_SITE = $(call github,google,googletest,release-$(GTEST_VERSION)) +GTEST_INSTALL_STAGING = YES +GTEST_INSTALL_TARGET = NO +GTEST_LICENSE = BSD-3-Clause +GTEST_LICENSE_FILES = LICENSE +GTEST_CPE_ID_VENDOR = google +GTEST_CPE_ID_PRODUCT = google_test + +ifeq ($(BR2_PACKAGE_GTEST_GMOCK),y) +GTEST_DEPENDENCIES += host-gtest +endif + +HOST_GTEST_LICENSE = Apache-2.0 +HOST_GTEST_LICENSE_FILES = googlemock/scripts/generator/LICENSE +HOST_GTEST_DEPENDENCIES = host-python3 + +# While it is possible to build gtest as shared library, using this gtest shared +# library requires to set some special configure option in the project using +# gtest. +# So, force to build gtest as a static library. +# +# For further details, refer to the explaination given in the README file from +# the gtest sources. +GTEST_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF + +# Ensure that GTest is compiled with -fPIC to allow linking the static +# libraries with dynamically linked programs. This is not a requirement +# for most architectures but is mandatory for ARM. +ifeq ($(BR2_STATIC_LIBS),) +GTEST_CONF_OPTS += -DCMAKE_POSITION_INDEPENDENT_CODE=ON +endif + +ifeq ($(BR2_PACKAGE_GTEST_GMOCK),y) +GTEST_CONF_OPTS += -DBUILD_GMOCK=ON +else +GTEST_CONF_OPTS += -DBUILD_GMOCK=OFF +endif + +define HOST_GTEST_POST_INSTALL_PYTHON + $(INSTALL) -D -m 0755 $(@D)/googlemock/scripts/generator/gmock_gen.py \ + $(HOST_DIR)/bin/gmock_gen + cp -rp $(@D)/googlemock/scripts/generator/cpp \ + $(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages +endef + +HOST_GTEST_POST_INSTALL_HOOKS += HOST_GTEST_POST_INSTALL_PYTHON + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/gtk2-engines/Config.in b/buildroot-2022.02.1/package/gtk2-engines/Config.in similarity index 100% rename from buildroot-2021.05/package/gtk2-engines/Config.in rename to buildroot-2022.02.1/package/gtk2-engines/Config.in diff --git a/buildroot-2021.05/package/gtk2-engines/gtk2-engines.hash b/buildroot-2022.02.1/package/gtk2-engines/gtk2-engines.hash similarity index 100% rename from buildroot-2021.05/package/gtk2-engines/gtk2-engines.hash rename to buildroot-2022.02.1/package/gtk2-engines/gtk2-engines.hash diff --git a/buildroot-2021.05/package/gtk2-engines/gtk2-engines.mk b/buildroot-2022.02.1/package/gtk2-engines/gtk2-engines.mk similarity index 100% rename from buildroot-2021.05/package/gtk2-engines/gtk2-engines.mk rename to buildroot-2022.02.1/package/gtk2-engines/gtk2-engines.mk diff --git a/buildroot-2022.02.1/package/gtkmm3/Config.in b/buildroot-2022.02.1/package/gtkmm3/Config.in new file mode 100644 index 00000000..3c1c6f36 --- /dev/null +++ b/buildroot-2022.02.1/package/gtkmm3/Config.in @@ -0,0 +1,30 @@ +comment "gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \ + || !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_LIBGTK3 \ + || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_GTKMM3 + bool "gtkmm3" + # Broken on existing external/internal nios2 toolchains, + # revisit when they are upgraded with at least Binutils >= 2.26 + # and GCC >= 5.3. + # https://sourceware.org/bugzilla/show_bug.cgi?id=19405 + depends on !BR2_nios2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz + depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc + depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/libgtk3 -> libglib2 + depends on BR2_USE_MMU # *mm/libgtk3 -> libglib2 + depends on BR2_USE_WCHAR # *mm/libgtk3 -> libglib2 + depends on BR2_PACKAGE_LIBGTK3 + select BR2_PACKAGE_ATKMM + select BR2_PACKAGE_CAIROMM + select BR2_PACKAGE_GLIBMM + select BR2_PACKAGE_LIBSIGC + select BR2_PACKAGE_PANGOMM + help + The gtkmm3 package is a set of C++ bindings for GTK 3. + + http://www.gtkmm.org/ diff --git a/buildroot-2021.05/package/gtkmm3/gtkmm3.hash b/buildroot-2022.02.1/package/gtkmm3/gtkmm3.hash similarity index 100% rename from buildroot-2021.05/package/gtkmm3/gtkmm3.hash rename to buildroot-2022.02.1/package/gtkmm3/gtkmm3.hash diff --git a/buildroot-2021.05/package/gtkmm3/gtkmm3.mk b/buildroot-2022.02.1/package/gtkmm3/gtkmm3.mk similarity index 100% rename from buildroot-2021.05/package/gtkmm3/gtkmm3.mk rename to buildroot-2022.02.1/package/gtkmm3/gtkmm3.mk diff --git a/buildroot-2021.05/package/gtkperf/Config.in b/buildroot-2022.02.1/package/gtkperf/Config.in similarity index 100% rename from buildroot-2021.05/package/gtkperf/Config.in rename to buildroot-2022.02.1/package/gtkperf/Config.in diff --git a/buildroot-2021.05/package/gtkperf/gtkperf.hash b/buildroot-2022.02.1/package/gtkperf/gtkperf.hash similarity index 100% rename from buildroot-2021.05/package/gtkperf/gtkperf.hash rename to buildroot-2022.02.1/package/gtkperf/gtkperf.hash diff --git a/buildroot-2021.05/package/gtkperf/gtkperf.mk b/buildroot-2022.02.1/package/gtkperf/gtkperf.mk similarity index 100% rename from buildroot-2021.05/package/gtkperf/gtkperf.mk rename to buildroot-2022.02.1/package/gtkperf/gtkperf.mk diff --git a/buildroot-2021.05/package/gtksourceview/Config.in b/buildroot-2022.02.1/package/gtksourceview/Config.in similarity index 100% rename from buildroot-2021.05/package/gtksourceview/Config.in rename to buildroot-2022.02.1/package/gtksourceview/Config.in diff --git a/buildroot-2021.05/package/gtksourceview/gtksourceview.hash b/buildroot-2022.02.1/package/gtksourceview/gtksourceview.hash similarity index 100% rename from buildroot-2021.05/package/gtksourceview/gtksourceview.hash rename to buildroot-2022.02.1/package/gtksourceview/gtksourceview.hash diff --git a/buildroot-2021.05/package/gtksourceview/gtksourceview.mk b/buildroot-2022.02.1/package/gtksourceview/gtksourceview.mk similarity index 100% rename from buildroot-2021.05/package/gtksourceview/gtksourceview.mk rename to buildroot-2022.02.1/package/gtksourceview/gtksourceview.mk diff --git a/buildroot-2021.05/package/guile/0002-calculate-csqrt_manually.patch b/buildroot-2022.02.1/package/guile/0001-calculate-csqrt_manually.patch similarity index 100% rename from buildroot-2021.05/package/guile/0002-calculate-csqrt_manually.patch rename to buildroot-2022.02.1/package/guile/0001-calculate-csqrt_manually.patch diff --git a/buildroot-2021.05/package/guile/0003-Makefile.am-fix-build-without-makeinfo.patch b/buildroot-2022.02.1/package/guile/0002-Makefile.am-fix-build-without-makeinfo.patch similarity index 100% rename from buildroot-2021.05/package/guile/0003-Makefile.am-fix-build-without-makeinfo.patch rename to buildroot-2022.02.1/package/guile/0002-Makefile.am-fix-build-without-makeinfo.patch diff --git a/buildroot-2022.02.1/package/guile/0003-module-system-base-target.scm-support-riscv32.patch b/buildroot-2022.02.1/package/guile/0003-module-system-base-target.scm-support-riscv32.patch new file mode 100644 index 00000000..a988d2d9 --- /dev/null +++ b/buildroot-2022.02.1/package/guile/0003-module-system-base-target.scm-support-riscv32.patch @@ -0,0 +1,33 @@ +From 6142350d7c0562b0525462abdd41309ae0faa2eb Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 6 Aug 2021 19:49:37 +0200 +Subject: [PATCH] module/system/base/target.scm: support riscv32 + +Fix the following build failure on riscv32: + +system/base/target.scm:132:16: In procedure triplet-pointer-size: +unknown CPU word size "riscv32" + +Fixes: + - http://autobuild.buildroot.org/results/6705630c1484239ec8b73d57ebc2e2570fbfc8f8 + +Signed-off-by: Fabrice Fontaine +--- + module/system/base/target.scm | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/module/system/base/target.scm b/module/system/base/target.scm +index 2088cd866..dba46664d 100644 +--- a/module/system/base/target.scm ++++ b/module/system/base/target.scm +@@ -116,6 +116,7 @@ + + ((string-match "^x86_64-.*-gnux32" triplet) 4) ; x32 + ++ ((string-match "32$" cpu) 4) + ((string-match "64$" cpu) 8) + ((string-match "64_?[lbe][lbe]$" cpu) 8) + ((member cpu '("sparc" "powerpc" "mips" "mipsel" "nios2" "m68k" "sh3" "sh4")) 4) +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/guile/0004-Update-gnulib-to-8f4538a53d64054ae2fc8b86c0f87c418c6176e6.patch b/buildroot-2022.02.1/package/guile/0004-Update-gnulib-to-8f4538a53d64054ae2fc8b86c0f87c418c6176e6.patch new file mode 100644 index 00000000..f471dbc5 --- /dev/null +++ b/buildroot-2022.02.1/package/guile/0004-Update-gnulib-to-8f4538a53d64054ae2fc8b86c0f87c418c6176e6.patch @@ -0,0 +1,13930 @@ +From b4a80f4239b19fea4d2cc3e9d197f24b809f0624 Mon Sep 17 00:00:00 2001 +From: Daniel Llorens +Date: Mon, 16 Aug 2021 13:23:27 +0200 +Subject: Update gnulib to 8f4538a53d64054ae2fc8b86c0f87c418c6176e6 + +Includes gnulib:0c907f7da13232908f05c415b8cec56024071906 to fix #49930 +https://lists.gnu.org/archive/html/bug-guile/2021-08/msg00003.html. + +[Retrieved from: +https://git.savannah.gnu.org/cgit/guile.git/commit/?id=b4a80f4239b19fea4d2cc3e9d197f24b809f0624] +Signed-off-by: Fabrice Fontaine +--- + build-aux/announce-gen | 49 +- + build-aux/gendocs.sh | 6 +- + build-aux/git-version-gen | 8 +- + build-aux/gnupload | 17 +- + build-aux/useless-if-before-free | 18 +- + lib/Makefile.am | 986 ++++++++++++++++++++------------------- + lib/_Noreturn.h | 2 +- + lib/accept.c | 10 +- + lib/accept4.c | 14 +- + lib/alignof.h | 12 +- + lib/alloca.c | 4 +- + lib/alloca.in.h | 20 +- + lib/arpa_inet.in.h | 12 +- + lib/asnprintf.c | 14 +- + lib/assure.h | 10 +- + lib/attribute.h | 16 +- + lib/basename-lgpl.c | 10 +- + lib/basename-lgpl.h | 26 +- + lib/binary-io.c | 10 +- + lib/binary-io.h | 10 +- + lib/bind.c | 10 +- + lib/btowc.c | 10 +- + lib/byteswap.in.h | 10 +- + lib/c-ctype.c | 18 + + lib/c-ctype.h | 24 +- + lib/c-strcase.h | 12 +- + lib/c-strcasecmp.c | 12 +- + lib/c-strcaseeq.h | 14 +- + lib/c-strncasecmp.c | 12 +- + lib/canonicalize-lgpl.c | 3 +- + lib/cdefs.h | 43 +- + lib/ceil.c | 10 +- + lib/cloexec.c | 14 +- + lib/cloexec.h | 14 +- + lib/close.c | 10 +- + lib/connect.c | 10 +- + lib/copysign.c | 10 +- + lib/dirent.in.h | 111 +++-- + lib/dirfd.c | 10 +- + lib/dirname-lgpl.c | 10 +- + lib/dirname.h | 39 +- + lib/dup2.c | 10 +- + lib/duplocale.c | 10 +- + lib/dynarray.h | 20 +- + lib/errno.in.h | 12 +- + lib/fcntl.c | 10 +- + lib/fcntl.in.h | 10 +- + lib/fd-hook.c | 14 +- + lib/fd-hook.h | 14 +- + lib/float+.h | 12 +- + lib/float.c | 10 +- + lib/float.in.h | 10 +- + lib/floor.c | 10 +- + lib/free.c | 10 +- + lib/frexp.c | 10 +- + lib/fstat.c | 10 +- + lib/fsync.c | 14 +- + lib/full-read.c | 10 +- + lib/full-read.h | 10 +- + lib/full-write.c | 10 +- + lib/full-write.h | 10 +- + lib/gai_strerror.c | 12 +- + lib/getaddrinfo.c | 12 +- + lib/getdtablesize.c | 10 +- + lib/getlogin.c | 10 +- + lib/getpeername.c | 10 +- + lib/getrandom.c | 16 +- + lib/getsockname.c | 10 +- + lib/getsockopt.c | 10 +- + lib/gettext.h | 14 +- + lib/hard-locale.c | 10 +- + lib/hard-locale.h | 10 +- + lib/iconv.c | 14 +- + lib/iconv.in.h | 12 +- + lib/iconv_close.c | 14 +- + lib/iconv_open-aix.gperf | 14 +- + lib/iconv_open-hpux.gperf | 14 +- + lib/iconv_open-irix.gperf | 14 +- + lib/iconv_open-osf.gperf | 14 +- + lib/iconv_open-solaris.gperf | 14 +- + lib/iconv_open-zos.gperf | 14 +- + lib/iconv_open.c | 14 +- + lib/iconveh.h | 10 +- + lib/inet_ntop.c | 12 +- + lib/inet_pton.c | 10 +- + lib/inttypes.in.h | 10 +- + lib/isfinite.c | 14 +- + lib/isinf.c | 14 +- + lib/isnan.c | 10 +- + lib/isnand-nolibm.h | 10 +- + lib/isnand.c | 10 +- + lib/isnanf-nolibm.h | 10 +- + lib/isnanf.c | 10 +- + lib/isnanl-nolibm.h | 10 +- + lib/isnanl.c | 10 +- + lib/itold.c | 10 +- + lib/langinfo.in.h | 12 +- + lib/lc-charset-dispatch.c | 10 +- + lib/lc-charset-dispatch.h | 10 +- + lib/libc-config.h | 20 +- + lib/libunistring.valgrind | 22 +- + lib/limits.in.h | 28 +- + lib/link.c | 12 +- + lib/listen.c | 10 +- + lib/localcharset.c | 14 +- + lib/localcharset.h | 14 +- + lib/locale.in.h | 10 +- + lib/localeconv.c | 10 +- + lib/log.c | 10 +- + lib/log1p.c | 10 +- + lib/lstat.c | 10 +- + lib/malloc.c | 47 +- + lib/malloc/dynarray_at_failure.c | 3 +- + lib/malloca.c | 36 +- + lib/malloca.h | 36 +- + lib/math.c | 18 + + lib/math.in.h | 10 +- + lib/mbrtowc-impl-utf8.h | 10 +- + lib/mbrtowc-impl.h | 10 +- + lib/mbrtowc.c | 10 +- + lib/mbsinit.c | 10 +- + lib/mbtowc-impl.h | 10 +- + lib/mbtowc-lock.c | 10 +- + lib/mbtowc-lock.h | 10 +- + lib/mbtowc.c | 10 +- + lib/memchr.c | 24 +- + lib/memchr.valgrind | 10 +- + lib/mempcpy.c | 12 +- + lib/minmax.h | 12 +- + lib/mkdir.c | 10 +- + lib/mkostemp.c | 10 +- + lib/msvc-inval.c | 14 +- + lib/msvc-inval.h | 14 +- + lib/msvc-nothrow.c | 14 +- + lib/msvc-nothrow.h | 14 +- + lib/netdb.in.h | 12 +- + lib/netinet_in.in.h | 12 +- + lib/nl_langinfo-lock.c | 10 +- + lib/nl_langinfo.c | 10 +- + lib/nproc.c | 12 +- + lib/nproc.h | 12 +- + lib/nstrftime.c | 19 +- + lib/open.c | 10 +- + lib/pathmax.h | 12 +- + lib/pipe.c | 14 +- + lib/pipe2.c | 14 +- + lib/poll.c | 14 +- + lib/poll.in.h | 14 +- + lib/printf-args.c | 14 +- + lib/printf-args.h | 14 +- + lib/printf-parse.c | 25 +- + lib/printf-parse.h | 14 +- + lib/putenv.c | 10 +- + lib/raise.c | 10 +- + lib/rawmemchr.c | 10 +- + lib/rawmemchr.valgrind | 10 +- + lib/read.c | 10 +- + lib/readlink.c | 10 +- + lib/realloc.c | 68 +-- + lib/recv.c | 10 +- + lib/recvfrom.c | 10 +- + lib/regex_internal.c | 9 +- + lib/regexec.c | 12 +- + lib/rename.c | 10 +- + lib/rmdir.c | 10 +- + lib/round.c | 14 +- + lib/safe-read.c | 10 +- + lib/safe-read.h | 10 +- + lib/safe-write.c | 10 +- + lib/safe-write.h | 10 +- + lib/same-inode.h | 10 +- + lib/scratch_buffer.h | 20 +- + lib/select.c | 23 +- + lib/send.c | 10 +- + lib/sendto.c | 10 +- + lib/setenv.c | 10 +- + lib/setlocale-lock.c | 10 +- + lib/setlocale_null.c | 10 +- + lib/setlocale_null.h | 10 +- + lib/setsockopt.c | 10 +- + lib/shutdown.c | 10 +- + lib/signal.in.h | 10 +- + lib/signbitd.c | 10 +- + lib/signbitf.c | 10 +- + lib/signbitl.c | 10 +- + lib/size_max.h | 12 +- + lib/snprintf.c | 14 +- + lib/socket.c | 10 +- + lib/sockets.c | 10 +- + lib/sockets.h | 10 +- + lib/stat-time.c | 18 + + lib/stat-time.h | 10 +- + lib/stat-w32.c | 10 +- + lib/stat-w32.h | 10 +- + lib/stat.c | 10 +- + lib/stdalign.in.h | 12 +- + lib/stdbool.in.h | 12 +- + lib/stddef.in.h | 12 +- + lib/stdint.in.h | 16 +- + lib/stdio.in.h | 126 +++-- + lib/stdlib.in.h | 185 ++++++-- + lib/strdup.c | 14 +- + lib/streq.h | 14 +- + lib/strftime.h | 10 +- + lib/striconveh.c | 10 +- + lib/striconveh.h | 18 +- + lib/string.in.h | 68 ++- + lib/stripslash.c | 10 +- + lib/sys-limits.h | 12 +- + lib/sys_file.in.h | 12 +- + lib/sys_random.in.h | 12 +- + lib/sys_select.in.h | 12 +- + lib/sys_socket.c | 18 + + lib/sys_socket.in.h | 12 +- + lib/sys_stat.in.h | 12 +- + lib/sys_time.in.h | 12 +- + lib/sys_times.in.h | 12 +- + lib/sys_types.in.h | 12 +- + lib/sys_uio.in.h | 12 +- + lib/tempname.h | 10 +- + lib/time-internal.h | 14 +- + lib/time.in.h | 12 +- + lib/time_r.c | 14 +- + lib/time_rz.c | 14 +- + lib/times.c | 12 +- + lib/trunc.c | 10 +- + lib/tzset.c | 12 +- + lib/unistd.c | 18 + + lib/unistd.in.h | 25 +- + lib/unsetenv.c | 10 +- + lib/vasnprintf.c | 50 +- + lib/vasnprintf.h | 14 +- + lib/verify.h | 14 +- + lib/vsnprintf.c | 14 +- + lib/w32sock.h | 10 +- + lib/wchar.in.h | 63 ++- + lib/wcrtomb.c | 10 +- + lib/wctype-h.c | 19 + + lib/wctype.in.h | 22 +- + lib/windows-initguard.h | 12 +- + lib/write.c | 10 +- + lib/xalloc-oversized.h | 47 +- + lib/xsize.c | 18 + + lib/xsize.h | 12 +- + m4/arpa_inet_h.m4 | 31 +- + m4/dirent_h.m4 | 45 +- + m4/environ.m4 | 5 +- + m4/fcntl_h.m4 | 39 +- + m4/flock.m4 | 4 +- + m4/fstat.m4 | 4 +- + m4/getaddrinfo.m4 | 10 +- + m4/gnulib-common.m4 | 140 +++++- + m4/gnulib-comp.m4 | 140 ++++-- + m4/hostent.m4 | 4 +- + m4/iconv_h.m4 | 27 +- + m4/inttypes.m4 | 31 +- + m4/langinfo_h.m4 | 25 +- + m4/largefile.m4 | 28 +- + m4/limits-h.m4 | 3 +- + m4/locale_h.m4 | 37 +- + m4/malloc.m4 | 152 ++++-- + m4/math_h.m4 | 227 ++++----- + m4/memchr.m4 | 4 +- + m4/mempcpy.m4 | 4 +- + m4/mktime.m4 | 4 +- + m4/netdb_h.m4 | 25 +- + m4/poll_h.m4 | 29 +- + m4/printf.m4 | 5 +- + m4/rawmemchr.m4 | 4 +- + m4/realloc.m4 | 47 +- + m4/regex.m4 | 44 +- + m4/select.m4 | 4 +- + m4/servent.m4 | 4 +- + m4/signal_h.m4 | 33 +- + m4/sockpfaf.m4 | 6 +- + m4/stat.m4 | 4 +- + m4/stddef_h.m4 | 23 +- + m4/stdint.m4 | 6 +- + m4/stdio_h.m4 | 168 ++++--- + m4/stdlib_h.m4 | 116 +++-- + m4/strdup.m4 | 6 +- + m4/string_h.m4 | 124 ++--- + m4/sys_file_h.m4 | 29 +- + m4/sys_random_h.m4 | 25 +- + m4/sys_select_h.m4 | 29 +- + m4/sys_socket_h.m4 | 53 ++- + m4/sys_stat_h.m4 | 65 ++- + m4/sys_time_h.m4 | 34 +- + m4/sys_times_h.m4 | 25 +- + m4/sys_types_h.m4 | 16 +- + m4/sys_uio_h.m4 | 23 +- + m4/threadlib.m4 | 64 ++- + m4/time_h.m4 | 62 +-- + m4/time_r.m4 | 2 +- + m4/time_rz.m4 | 2 +- + m4/timegm.m4 | 4 +- + m4/tzset.m4 | 4 +- + m4/unistd_h.m4 | 194 ++++---- + m4/visibility.m4 | 6 +- + m4/wchar_h.m4 | 109 +++-- + m4/wctype_h.m4 | 39 +- + m4/wint_t.m4 | 10 +- + m4/year2038.m4 | 124 +++++ + maint.mk | 3 +- + 304 files changed, 4266 insertions(+), 3005 deletions(-) + create mode 100644 m4/year2038.m4 + +diff --git a/build-aux/announce-gen b/build-aux/announce-gen +index 84d2d63..f3b5461 100755 +--- a/build-aux/announce-gen ++++ b/build-aux/announce-gen +@@ -35,12 +35,14 @@ + eval 'exec perl -wSx "$0" "$@"' + if 0; + +-my $VERSION = '2020-05-10 16:13'; # UTC ++my $VERSION = '2021-08-04 09:17'; # UTC + # The definition above must lie within the first 8 lines in order + # for the Emacs time-stamp write hook (at end) to update it. + # If you change this file with Emacs, please let the write hook + # do its job. Otherwise, update this string manually. + ++my $copyright_year = '2021'; ++ + use strict; + use Getopt::Long; + use POSIX qw(strftime); +@@ -49,12 +51,6 @@ use POSIX qw(strftime); + + my %valid_release_types = map {$_ => 1} qw (alpha beta stable); + my @archive_suffixes = qw (tar.gz tar.bz2 tar.lz tar.lzma tar.xz); +-my %digest_classes = +- ( +- 'md5' => (eval { require Digest::MD5; } and 'Digest::MD5'), +- 'sha1' => ((eval { require Digest::SHA; } and 'Digest::SHA') +- or (eval { require Digest::SHA1; } and 'Digest::SHA1')) +- ); + my $srcdir = '.'; + + sub usage ($) +@@ -94,7 +90,7 @@ The following are optional: + VERSION is the result of running git describe + in the gnulib source directory. + required if gnulib is in TOOL_LIST. +- --no-print-checksums do not emit MD5 or SHA1 checksums ++ --no-print-checksums do not emit SHA1 or SHA256 checksums + --archive-suffix=SUF add SUF to the list of archive suffixes + --mail-headers=HEADERS a space-separated list of mail headers, e.g., + To: x\@example.com Cc: y-announce\@example.com,... +@@ -161,7 +157,7 @@ sub print_locations ($\@\%@) + + =item C. ++Print the SHA1 and SHA256 signature section for each C<@file>. + + =cut + +@@ -169,23 +165,18 @@ sub print_checksums (@) + { + my (@file) = @_; + +- print "Here are the MD5 and SHA1 checksums:\n"; ++ print "Here are the SHA1 and SHA256 checksums:\n"; + print "\n"; + +- foreach my $meth (qw (md5 sha1)) ++ use Digest::file qw(digest_file_hex digest_file_base64); ++ ++ foreach my $f (@file) + { +- my $class = $digest_classes{$meth} or next; +- foreach my $f (@file) +- { +- open IN, '<', $f +- or die "$ME: $f: cannot open for reading: $!\n"; +- binmode IN; +- my $dig = $class->new->addfile(*IN)->hexdigest; +- close IN; +- print "$dig $f\n"; +- } ++ print digest_file_hex($f, "SHA-1"), " $f\n"; ++ print digest_file_base64($f, "SHA-256"), " $f\n"; + } +- print "\n"; ++ print "\nThe SHA256 checksum is base64 encoded, instead of the\n"; ++ print "hexadecimal encoding that most checksum tools default to.\n\n"; + } + + =item C \@archive_suffixes, + + help => sub { usage 0 }, +- version => sub { print "$ME version $VERSION\n"; exit }, ++ version => ++ sub ++ { ++ print "$ME version $VERSION\n"; ++ print "Copyright (C) $copyright_year Free Software Foundation, Inc.\n"; ++ print "License GPLv3+: GNU GPL version 3 or later .\n" ++ . "This is free software: you are free to change and redistribute it.\n" ++ . "There is NO WARRANTY, to the extent permitted by law.\n"; ++ print "\n"; ++ my $author = "Jim Meyering"; ++ print "Written by $author.\n"; ++ exit ++ }, + ) or usage 1; + + my $fail = 0; +diff --git a/build-aux/gendocs.sh b/build-aux/gendocs.sh +index 1872de9..1241ee3 100755 +--- a/build-aux/gendocs.sh ++++ b/build-aux/gendocs.sh +@@ -2,7 +2,7 @@ + # gendocs.sh -- generate a GNU manual in many formats. This script is + # mentioned in maintain.texi. See the help message below for usage details. + +-scriptversion=2021-01-01.00 ++scriptversion=2021-07-19.18 + + # Copyright 2003-2021 Free Software Foundation, Inc. + # +@@ -58,7 +58,7 @@ EMAIL=webmasters@gnu.org # please override with --email + commonarg= # passed to all makeinfo/texi2html invcations. + dirargs= # passed to all tools (-I dir). + dirs= # -I directories. +-htmlarg="--css-ref=/software/gnulib/manual.css -c TOP_NODE_UP_URL=/manual" ++htmlarg="--css-ref=https://www.gnu.org/software/gnulib/manual.css -c TOP_NODE_UP_URL=/manual" + default_htmlarg=true + infoarg=--no-split + generate_ascii=true +@@ -202,7 +202,7 @@ base=$PACKAGE + + if $default_htmlarg && test -n "$use_texi2html"; then + # The legacy texi2html doesn't support TOP_NODE_UP_URL +- htmlarg="--css-ref=/software/gnulib/manual.css" ++ htmlarg="--css-ref=https://www.gnu.org/software/gnulib/manual.css" + fi + + if test -n "$srcfile"; then +diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen +index be0fc20..5e42afb 100755 +--- a/build-aux/git-version-gen ++++ b/build-aux/git-version-gen +@@ -75,10 +75,10 @@ me=$0 + year=`expr "$scriptversion" : '\([^-]*\)'` + version="git-version-gen $scriptversion + +-Copyright $year Free Software Foundation, Inc. +-There is NO warranty. You may redistribute this software +-under the terms of the GNU General Public License. +-For more information about these matters, see the files named COPYING." ++Copyright (C) ${year} Free Software Foundation, Inc. ++License GPLv3+: GNU GPL version 3 or later . ++This is free software: you are free to change and redistribute it. ++There is NO WARRANTY, to the extent permitted by law." + + usage="\ + Usage: $me [OPTION]... \$srcdir/.tarball-version [TAG-NORMALIZATION-SED-SCRIPT] +diff --git a/build-aux/gnupload b/build-aux/gnupload +index 434741d..e7822ae 100755 +--- a/build-aux/gnupload ++++ b/build-aux/gnupload +@@ -1,13 +1,13 @@ + #!/bin/sh + # Sign files and upload them. + +-scriptversion=2018-05-19.18; # UTC ++scriptversion=2021-04-11.09; # UTC + + # Copyright (C) 2004-2021 Free Software Foundation, Inc. + # + # This program is free software; you can redistribute it and/or modify + # it under the terms of the GNU General Public License as published by +-# the Free Software Foundation; either version 3, or (at your option) ++# the Free Software Foundation; either version 2, or (at your option) + # any later version. + # + # This program is distributed in the hope that it will be useful, +@@ -27,8 +27,8 @@ set -e + GPG=gpg + # Choose the proper version of gpg, so as to avoid a + # "gpg-agent is not available in this session" error +-# when gpg-agent is version 3 but gpg is still version 1. +-# FIXME-2020: remove, once all major distros ship gpg version 3 as /usr/bin/gpg ++# when gpg-agent is version 2 but gpg is still version 1. ++# FIXME-2020: remove, once all major distros ship gpg version 2 as /usr/bin/gpg + gpg_agent_version=`(gpg-agent --version) 2>/dev/null | sed -e '2,$d' -e 's/^[^0-9]*//'` + case "$gpg_agent_version" in + 2.*) +@@ -145,6 +145,12 @@ the build-aux/ directory of the gnulib package + + Send patches and bug reports to ." + ++copyright_year=`echo "$scriptversion" | sed -e 's/[^0-9].*//'` ++copyright="Copyright (C) ${copyright_year} Free Software Foundation, Inc. ++License GPLv2+: GNU GPL version 2 or later . ++This is free software: you are free to change and redistribute it. ++There is NO WARRANTY, to the extent permitted by law." ++ + # Read local configuration file + if test -r "$conffile"; then + echo "$0: Reading configuration file $conffile" +@@ -209,7 +215,8 @@ while test -n "$1"; do + ;; + --version) + echo "gnupload $scriptversion" +- exit $? ++ echo "$copyright" ++ exit 0 + ;; + --) + shift +diff --git a/build-aux/useless-if-before-free b/build-aux/useless-if-before-free +index 784d80b..5bbbc44 100755 +--- a/build-aux/useless-if-before-free ++++ b/build-aux/useless-if-before-free +@@ -36,12 +36,14 @@ + eval 'exec perl -wSx "$0" "$@"' + if 0; + +-my $VERSION = '2020-04-04 15:07'; # UTC ++my $VERSION = '2021-04-11 10:11'; # UTC + # The definition above must lie within the first 8 lines in order + # for the Emacs time-stamp write hook (at end) to update it. + # If you change this file with Emacs, please let the write hook + # do its job. Otherwise, update this string manually. + ++my $copyright_year = '2021'; ++ + use strict; + use warnings; + use Getopt::Long; +@@ -118,7 +120,19 @@ sub is_NULL ($) + GetOptions + ( + help => sub { usage 0 }, +- version => sub { print "$ME version $VERSION\n"; exit }, ++ version => ++ sub ++ { ++ print "$ME version $VERSION\n"; ++ print "Copyright (C) $copyright_year Free Software Foundation, Inc.\n"; ++ print "License GPLv3+: GNU GPL version 3 or later .\n" ++ . "This is free software: you are free to change and redistribute it.\n" ++ . "There is NO WARRANTY, to the extent permitted by law.\n"; ++ print "\n"; ++ my $author = "Jim Meyering"; ++ print "Written by $author.\n"; ++ exit ++ }, + list => \$list, + 'name=s@' => \@name, + ) or usage 1; +diff --git a/lib/Makefile.am b/lib/Makefile.am +index 02480f6..cb29c31 100644 +--- a/lib/Makefile.am ++++ b/lib/Makefile.am +@@ -288,8 +288,8 @@ arpa/inet.h: arpa_inet.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON + -e 's|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \ + -e 's|@''NEXT_ARPA_INET_H''@|$(NEXT_ARPA_INET_H)|g' \ + -e 's|@''HAVE_ARPA_INET_H''@|$(HAVE_ARPA_INET_H)|g' \ +- -e 's/@''GNULIB_INET_NTOP''@/$(GNULIB_INET_NTOP)/g' \ +- -e 's/@''GNULIB_INET_PTON''@/$(GNULIB_INET_PTON)/g' \ ++ -e 's/@''GNULIB_INET_NTOP''@/$(GL_GNULIB_INET_NTOP)/g' \ ++ -e 's/@''GNULIB_INET_PTON''@/$(GL_GNULIB_INET_PTON)/g' \ + -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ + -e 's|@''HAVE_DECL_INET_NTOP''@|$(HAVE_DECL_INET_NTOP)|g' \ + -e 's|@''HAVE_DECL_INET_PTON''@|$(HAVE_DECL_INET_PTON)|g' \ +@@ -470,14 +470,14 @@ dirent.h: dirent.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_DIRENT_H''@|$(NEXT_DIRENT_H)|g' \ +- -e 's/@''GNULIB_OPENDIR''@/$(GNULIB_OPENDIR)/g' \ +- -e 's/@''GNULIB_READDIR''@/$(GNULIB_READDIR)/g' \ +- -e 's/@''GNULIB_REWINDDIR''@/$(GNULIB_REWINDDIR)/g' \ +- -e 's/@''GNULIB_CLOSEDIR''@/$(GNULIB_CLOSEDIR)/g' \ +- -e 's/@''GNULIB_DIRFD''@/$(GNULIB_DIRFD)/g' \ +- -e 's/@''GNULIB_FDOPENDIR''@/$(GNULIB_FDOPENDIR)/g' \ +- -e 's/@''GNULIB_SCANDIR''@/$(GNULIB_SCANDIR)/g' \ +- -e 's/@''GNULIB_ALPHASORT''@/$(GNULIB_ALPHASORT)/g' \ ++ -e 's/@''GNULIB_OPENDIR''@/$(GL_GNULIB_OPENDIR)/g' \ ++ -e 's/@''GNULIB_READDIR''@/$(GL_GNULIB_READDIR)/g' \ ++ -e 's/@''GNULIB_REWINDDIR''@/$(GL_GNULIB_REWINDDIR)/g' \ ++ -e 's/@''GNULIB_CLOSEDIR''@/$(GL_GNULIB_CLOSEDIR)/g' \ ++ -e 's/@''GNULIB_DIRFD''@/$(GL_GNULIB_DIRFD)/g' \ ++ -e 's/@''GNULIB_FDOPENDIR''@/$(GL_GNULIB_FDOPENDIR)/g' \ ++ -e 's/@''GNULIB_SCANDIR''@/$(GL_GNULIB_SCANDIR)/g' \ ++ -e 's/@''GNULIB_ALPHASORT''@/$(GL_GNULIB_ALPHASORT)/g' \ + -e 's/@''HAVE_OPENDIR''@/$(HAVE_OPENDIR)/g' \ + -e 's/@''HAVE_READDIR''@/$(HAVE_READDIR)/g' \ + -e 's/@''HAVE_REWINDDIR''@/$(HAVE_REWINDDIR)/g' \ +@@ -543,6 +543,32 @@ EXTRA_libgnu_la_SOURCES += duplocale.c + ## begin gnulib module dynarray + + if gl_GNULIB_ENABLED_dynarray ++BUILT_SOURCES += malloc/dynarray.gl.h malloc/dynarray-skeleton.gl.h ++ ++malloc/dynarray.gl.h: malloc/dynarray.h ++ $(AM_V_at)$(MKDIR_P) malloc ++ $(AM_V_GEN)rm -f $@-t $@ && \ ++ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ ++ sed -e '/libc_hidden_proto/d' < $(srcdir)/malloc/dynarray.h; \ ++ } > $@-t && \ ++ mv $@-t $@ ++MOSTLYCLEANFILES += malloc/dynarray.gl.h malloc/dynarray.gl.h-t ++ ++malloc/dynarray-skeleton.gl.h: malloc/dynarray-skeleton.c ++ $(AM_V_at)$(MKDIR_P) malloc ++ $(AM_V_GEN)rm -f $@-t $@ && \ ++ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ ++ sed -e 's|||g' \ ++ -e 's|__attribute_maybe_unused__|_GL_ATTRIBUTE_MAYBE_UNUSED|g' \ ++ -e 's|__attribute_nonnull__|_GL_ATTRIBUTE_NONNULL|g' \ ++ -e 's|__attribute_warn_unused_result__|_GL_ATTRIBUTE_NODISCARD|g' \ ++ -e 's|__glibc_likely|_GL_LIKELY|g' \ ++ -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \ ++ < $(srcdir)/malloc/dynarray-skeleton.c; \ ++ } > $@-t && \ ++ mv $@-t $@ ++MOSTLYCLEANFILES += malloc/dynarray-skeleton.gl.h malloc/dynarray-skeleton.gl.h-t ++ + libgnu_la_SOURCES += malloc/dynarray_at_failure.c malloc/dynarray_emplace_enlarge.c malloc/dynarray_finalize.c malloc/dynarray_resize.c malloc/dynarray_resize_clear.c + + endif +@@ -620,13 +646,13 @@ fcntl.h: fcntl.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_FCNTL_H''@|$(NEXT_FCNTL_H)|g' \ +- -e 's/@''GNULIB_CREAT''@/$(GNULIB_CREAT)/g' \ +- -e 's/@''GNULIB_FCNTL''@/$(GNULIB_FCNTL)/g' \ +- -e 's/@''GNULIB_NONBLOCKING''@/$(GNULIB_NONBLOCKING)/g' \ +- -e 's/@''GNULIB_OPEN''@/$(GNULIB_OPEN)/g' \ +- -e 's/@''GNULIB_OPENAT''@/$(GNULIB_OPENAT)/g' \ +- -e 's/@''GNULIB_MDA_CREAT''@/$(GNULIB_MDA_CREAT)/g' \ +- -e 's/@''GNULIB_MDA_OPEN''@/$(GNULIB_MDA_OPEN)/g' \ ++ -e 's/@''GNULIB_CREAT''@/$(GL_GNULIB_CREAT)/g' \ ++ -e 's/@''GNULIB_FCNTL''@/$(GL_GNULIB_FCNTL)/g' \ ++ -e 's/@''GNULIB_NONBLOCKING''@/$(GL_GNULIB_NONBLOCKING)/g' \ ++ -e 's/@''GNULIB_OPEN''@/$(GL_GNULIB_OPEN)/g' \ ++ -e 's/@''GNULIB_OPENAT''@/$(GL_GNULIB_OPENAT)/g' \ ++ -e 's/@''GNULIB_MDA_CREAT''@/$(GL_GNULIB_MDA_CREAT)/g' \ ++ -e 's/@''GNULIB_MDA_OPEN''@/$(GL_GNULIB_MDA_OPEN)/g' \ + -e 's|@''HAVE_FCNTL''@|$(HAVE_FCNTL)|g' \ + -e 's|@''HAVE_OPENAT''@|$(HAVE_OPENAT)|g' \ + -e 's|@''REPLACE_CREAT''@|$(REPLACE_CREAT)|g' \ +@@ -930,7 +956,7 @@ iconv.h: iconv.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_ICONV_H''@|$(NEXT_ICONV_H)|g' \ +- -e 's/@''GNULIB_ICONV''@/$(GNULIB_ICONV)/g' \ ++ -e 's/@''GNULIB_ICONV''@/$(GL_GNULIB_ICONV)/g' \ + -e 's|@''ICONV_CONST''@|$(ICONV_CONST)|g' \ + -e 's|@''REPLACE_ICONV''@|$(REPLACE_ICONV)|g' \ + -e 's|@''REPLACE_ICONV_OPEN''@|$(REPLACE_ICONV_OPEN)|g' \ +@@ -984,10 +1010,8 @@ EXTRA_libgnu_la_SOURCES += iconv.c iconv_close.c iconv_open.c + + ## begin gnulib module idx + +-if gl_GNULIB_ENABLED_idx + libgnu_la_SOURCES += idx.h + +-endif + ## end gnulib module idx + + ## begin gnulib module inet_ntop +@@ -1031,10 +1055,10 @@ inttypes.h: inttypes.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_U + -e 's|@''NEXT_INTTYPES_H''@|$(NEXT_INTTYPES_H)|g' \ + -e 's/@''APPLE_UNIVERSAL_BUILD''@/$(APPLE_UNIVERSAL_BUILD)/g' \ + -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \ +- -e 's/@''GNULIB_IMAXABS''@/$(GNULIB_IMAXABS)/g' \ +- -e 's/@''GNULIB_IMAXDIV''@/$(GNULIB_IMAXDIV)/g' \ +- -e 's/@''GNULIB_STRTOIMAX''@/$(GNULIB_STRTOIMAX)/g' \ +- -e 's/@''GNULIB_STRTOUMAX''@/$(GNULIB_STRTOUMAX)/g' \ ++ -e 's/@''GNULIB_IMAXABS''@/$(GL_GNULIB_IMAXABS)/g' \ ++ -e 's/@''GNULIB_IMAXDIV''@/$(GL_GNULIB_IMAXDIV)/g' \ ++ -e 's/@''GNULIB_STRTOIMAX''@/$(GL_GNULIB_STRTOIMAX)/g' \ ++ -e 's/@''GNULIB_STRTOUMAX''@/$(GL_GNULIB_STRTOUMAX)/g' \ + -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \ + -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \ + -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \ +@@ -1151,7 +1175,7 @@ langinfo.h: langinfo.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_U + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \ +- -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \ ++ -e 's/@''GNULIB_NL_LANGINFO''@/$(GL_GNULIB_NL_LANGINFO)/g' \ + -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \ + -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \ + -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \ +@@ -1264,11 +1288,11 @@ locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \ +- -e 's/@''GNULIB_LOCALECONV''@/$(GNULIB_LOCALECONV)/g' \ +- -e 's/@''GNULIB_SETLOCALE''@/$(GNULIB_SETLOCALE)/g' \ +- -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GNULIB_SETLOCALE_NULL)/g' \ +- -e 's/@''GNULIB_DUPLOCALE''@/$(GNULIB_DUPLOCALE)/g' \ +- -e 's/@''GNULIB_LOCALENAME''@/$(GNULIB_LOCALENAME)/g' \ ++ -e 's/@''GNULIB_LOCALECONV''@/$(GL_GNULIB_LOCALECONV)/g' \ ++ -e 's/@''GNULIB_SETLOCALE''@/$(GL_GNULIB_SETLOCALE)/g' \ ++ -e 's/@''GNULIB_SETLOCALE_NULL''@/$(GL_GNULIB_SETLOCALE_NULL)/g' \ ++ -e 's/@''GNULIB_DUPLOCALE''@/$(GL_GNULIB_DUPLOCALE)/g' \ ++ -e 's/@''GNULIB_LOCALENAME''@/$(GL_GNULIB_LOCALENAME)/g' \ + -e 's|@''HAVE_NEWLOCALE''@|$(HAVE_NEWLOCALE)|g' \ + -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \ + -e 's|@''HAVE_FREELOCALE''@|$(HAVE_FREELOCALE)|g' \ +@@ -1379,108 +1403,108 @@ math.h: math.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $( + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_AS_FIRST_DIRECTIVE_MATH_H''@|$(NEXT_AS_FIRST_DIRECTIVE_MATH_H)|g' \ +- -e 's/@''GNULIB_ACOSF''@/$(GNULIB_ACOSF)/g' \ +- -e 's/@''GNULIB_ACOSL''@/$(GNULIB_ACOSL)/g' \ +- -e 's/@''GNULIB_ASINF''@/$(GNULIB_ASINF)/g' \ +- -e 's/@''GNULIB_ASINL''@/$(GNULIB_ASINL)/g' \ +- -e 's/@''GNULIB_ATANF''@/$(GNULIB_ATANF)/g' \ +- -e 's/@''GNULIB_ATANL''@/$(GNULIB_ATANL)/g' \ +- -e 's/@''GNULIB_ATAN2F''@/$(GNULIB_ATAN2F)/g' \ +- -e 's/@''GNULIB_CBRT''@/$(GNULIB_CBRT)/g' \ +- -e 's/@''GNULIB_CBRTF''@/$(GNULIB_CBRTF)/g' \ +- -e 's/@''GNULIB_CBRTL''@/$(GNULIB_CBRTL)/g' \ +- -e 's/@''GNULIB_CEIL''@/$(GNULIB_CEIL)/g' \ +- -e 's/@''GNULIB_CEILF''@/$(GNULIB_CEILF)/g' \ +- -e 's/@''GNULIB_CEILL''@/$(GNULIB_CEILL)/g' \ +- -e 's/@''GNULIB_COPYSIGN''@/$(GNULIB_COPYSIGN)/g' \ +- -e 's/@''GNULIB_COPYSIGNF''@/$(GNULIB_COPYSIGNF)/g' \ +- -e 's/@''GNULIB_COPYSIGNL''@/$(GNULIB_COPYSIGNL)/g' \ +- -e 's/@''GNULIB_COSF''@/$(GNULIB_COSF)/g' \ +- -e 's/@''GNULIB_COSL''@/$(GNULIB_COSL)/g' \ +- -e 's/@''GNULIB_COSHF''@/$(GNULIB_COSHF)/g' \ +- -e 's/@''GNULIB_EXPF''@/$(GNULIB_EXPF)/g' \ +- -e 's/@''GNULIB_EXPL''@/$(GNULIB_EXPL)/g' \ +- -e 's/@''GNULIB_EXP2''@/$(GNULIB_EXP2)/g' \ +- -e 's/@''GNULIB_EXP2F''@/$(GNULIB_EXP2F)/g' \ +- -e 's/@''GNULIB_EXP2L''@/$(GNULIB_EXP2L)/g' \ +- -e 's/@''GNULIB_EXPM1''@/$(GNULIB_EXPM1)/g' \ +- -e 's/@''GNULIB_EXPM1F''@/$(GNULIB_EXPM1F)/g' \ +- -e 's/@''GNULIB_EXPM1L''@/$(GNULIB_EXPM1L)/g' \ +- -e 's/@''GNULIB_FABSF''@/$(GNULIB_FABSF)/g' \ +- -e 's/@''GNULIB_FABSL''@/$(GNULIB_FABSL)/g' \ +- -e 's/@''GNULIB_FLOOR''@/$(GNULIB_FLOOR)/g' \ +- -e 's/@''GNULIB_FLOORF''@/$(GNULIB_FLOORF)/g' \ +- -e 's/@''GNULIB_FLOORL''@/$(GNULIB_FLOORL)/g' \ +- -e 's/@''GNULIB_FMA''@/$(GNULIB_FMA)/g' \ +- -e 's/@''GNULIB_FMAF''@/$(GNULIB_FMAF)/g' \ +- -e 's/@''GNULIB_FMAL''@/$(GNULIB_FMAL)/g' \ +- -e 's/@''GNULIB_FMOD''@/$(GNULIB_FMOD)/g' \ +- -e 's/@''GNULIB_FMODF''@/$(GNULIB_FMODF)/g' \ +- -e 's/@''GNULIB_FMODL''@/$(GNULIB_FMODL)/g' \ +- -e 's/@''GNULIB_FREXPF''@/$(GNULIB_FREXPF)/g' \ +- -e 's/@''GNULIB_FREXP''@/$(GNULIB_FREXP)/g' \ +- -e 's/@''GNULIB_FREXPL''@/$(GNULIB_FREXPL)/g' \ +- -e 's/@''GNULIB_HYPOT''@/$(GNULIB_HYPOT)/g' \ +- -e 's/@''GNULIB_HYPOTF''@/$(GNULIB_HYPOTF)/g' \ +- -e 's/@''GNULIB_HYPOTL''@/$(GNULIB_HYPOTL)/g' \ ++ -e 's/@''GNULIB_ACOSF''@/$(GL_GNULIB_ACOSF)/g' \ ++ -e 's/@''GNULIB_ACOSL''@/$(GL_GNULIB_ACOSL)/g' \ ++ -e 's/@''GNULIB_ASINF''@/$(GL_GNULIB_ASINF)/g' \ ++ -e 's/@''GNULIB_ASINL''@/$(GL_GNULIB_ASINL)/g' \ ++ -e 's/@''GNULIB_ATANF''@/$(GL_GNULIB_ATANF)/g' \ ++ -e 's/@''GNULIB_ATANL''@/$(GL_GNULIB_ATANL)/g' \ ++ -e 's/@''GNULIB_ATAN2F''@/$(GL_GNULIB_ATAN2F)/g' \ ++ -e 's/@''GNULIB_CBRT''@/$(GL_GNULIB_CBRT)/g' \ ++ -e 's/@''GNULIB_CBRTF''@/$(GL_GNULIB_CBRTF)/g' \ ++ -e 's/@''GNULIB_CBRTL''@/$(GL_GNULIB_CBRTL)/g' \ ++ -e 's/@''GNULIB_CEIL''@/$(GL_GNULIB_CEIL)/g' \ ++ -e 's/@''GNULIB_CEILF''@/$(GL_GNULIB_CEILF)/g' \ ++ -e 's/@''GNULIB_CEILL''@/$(GL_GNULIB_CEILL)/g' \ ++ -e 's/@''GNULIB_COPYSIGN''@/$(GL_GNULIB_COPYSIGN)/g' \ ++ -e 's/@''GNULIB_COPYSIGNF''@/$(GL_GNULIB_COPYSIGNF)/g' \ ++ -e 's/@''GNULIB_COPYSIGNL''@/$(GL_GNULIB_COPYSIGNL)/g' \ ++ -e 's/@''GNULIB_COSF''@/$(GL_GNULIB_COSF)/g' \ ++ -e 's/@''GNULIB_COSL''@/$(GL_GNULIB_COSL)/g' \ ++ -e 's/@''GNULIB_COSHF''@/$(GL_GNULIB_COSHF)/g' \ ++ -e 's/@''GNULIB_EXPF''@/$(GL_GNULIB_EXPF)/g' \ ++ -e 's/@''GNULIB_EXPL''@/$(GL_GNULIB_EXPL)/g' \ ++ -e 's/@''GNULIB_EXP2''@/$(GL_GNULIB_EXP2)/g' \ ++ -e 's/@''GNULIB_EXP2F''@/$(GL_GNULIB_EXP2F)/g' \ ++ -e 's/@''GNULIB_EXP2L''@/$(GL_GNULIB_EXP2L)/g' \ ++ -e 's/@''GNULIB_EXPM1''@/$(GL_GNULIB_EXPM1)/g' \ ++ -e 's/@''GNULIB_EXPM1F''@/$(GL_GNULIB_EXPM1F)/g' \ ++ -e 's/@''GNULIB_EXPM1L''@/$(GL_GNULIB_EXPM1L)/g' \ ++ -e 's/@''GNULIB_FABSF''@/$(GL_GNULIB_FABSF)/g' \ ++ -e 's/@''GNULIB_FABSL''@/$(GL_GNULIB_FABSL)/g' \ ++ -e 's/@''GNULIB_FLOOR''@/$(GL_GNULIB_FLOOR)/g' \ ++ -e 's/@''GNULIB_FLOORF''@/$(GL_GNULIB_FLOORF)/g' \ ++ -e 's/@''GNULIB_FLOORL''@/$(GL_GNULIB_FLOORL)/g' \ ++ -e 's/@''GNULIB_FMA''@/$(GL_GNULIB_FMA)/g' \ ++ -e 's/@''GNULIB_FMAF''@/$(GL_GNULIB_FMAF)/g' \ ++ -e 's/@''GNULIB_FMAL''@/$(GL_GNULIB_FMAL)/g' \ ++ -e 's/@''GNULIB_FMOD''@/$(GL_GNULIB_FMOD)/g' \ ++ -e 's/@''GNULIB_FMODF''@/$(GL_GNULIB_FMODF)/g' \ ++ -e 's/@''GNULIB_FMODL''@/$(GL_GNULIB_FMODL)/g' \ ++ -e 's/@''GNULIB_FREXPF''@/$(GL_GNULIB_FREXPF)/g' \ ++ -e 's/@''GNULIB_FREXP''@/$(GL_GNULIB_FREXP)/g' \ ++ -e 's/@''GNULIB_FREXPL''@/$(GL_GNULIB_FREXPL)/g' \ ++ -e 's/@''GNULIB_HYPOT''@/$(GL_GNULIB_HYPOT)/g' \ ++ -e 's/@''GNULIB_HYPOTF''@/$(GL_GNULIB_HYPOTF)/g' \ ++ -e 's/@''GNULIB_HYPOTL''@/$(GL_GNULIB_HYPOTL)/g' \ + < $(srcdir)/math.in.h | \ +- sed -e 's/@''GNULIB_ILOGB''@/$(GNULIB_ILOGB)/g' \ +- -e 's/@''GNULIB_ILOGBF''@/$(GNULIB_ILOGBF)/g' \ +- -e 's/@''GNULIB_ILOGBL''@/$(GNULIB_ILOGBL)/g' \ +- -e 's/@''GNULIB_ISFINITE''@/$(GNULIB_ISFINITE)/g' \ +- -e 's/@''GNULIB_ISINF''@/$(GNULIB_ISINF)/g' \ +- -e 's/@''GNULIB_ISNAN''@/$(GNULIB_ISNAN)/g' \ +- -e 's/@''GNULIB_ISNANF''@/$(GNULIB_ISNANF)/g' \ +- -e 's/@''GNULIB_ISNAND''@/$(GNULIB_ISNAND)/g' \ +- -e 's/@''GNULIB_ISNANL''@/$(GNULIB_ISNANL)/g' \ +- -e 's/@''GNULIB_LDEXPF''@/$(GNULIB_LDEXPF)/g' \ +- -e 's/@''GNULIB_LDEXPL''@/$(GNULIB_LDEXPL)/g' \ +- -e 's/@''GNULIB_LOG''@/$(GNULIB_LOG)/g' \ +- -e 's/@''GNULIB_LOGF''@/$(GNULIB_LOGF)/g' \ +- -e 's/@''GNULIB_LOGL''@/$(GNULIB_LOGL)/g' \ +- -e 's/@''GNULIB_LOG10''@/$(GNULIB_LOG10)/g' \ +- -e 's/@''GNULIB_LOG10F''@/$(GNULIB_LOG10F)/g' \ +- -e 's/@''GNULIB_LOG10L''@/$(GNULIB_LOG10L)/g' \ +- -e 's/@''GNULIB_LOG1P''@/$(GNULIB_LOG1P)/g' \ +- -e 's/@''GNULIB_LOG1PF''@/$(GNULIB_LOG1PF)/g' \ +- -e 's/@''GNULIB_LOG1PL''@/$(GNULIB_LOG1PL)/g' \ +- -e 's/@''GNULIB_LOG2''@/$(GNULIB_LOG2)/g' \ +- -e 's/@''GNULIB_LOG2F''@/$(GNULIB_LOG2F)/g' \ +- -e 's/@''GNULIB_LOG2L''@/$(GNULIB_LOG2L)/g' \ +- -e 's/@''GNULIB_LOGB''@/$(GNULIB_LOGB)/g' \ +- -e 's/@''GNULIB_LOGBF''@/$(GNULIB_LOGBF)/g' \ +- -e 's/@''GNULIB_LOGBL''@/$(GNULIB_LOGBL)/g' \ +- -e 's/@''GNULIB_MODF''@/$(GNULIB_MODF)/g' \ +- -e 's/@''GNULIB_MODFF''@/$(GNULIB_MODFF)/g' \ +- -e 's/@''GNULIB_MODFL''@/$(GNULIB_MODFL)/g' \ +- -e 's/@''GNULIB_POWF''@/$(GNULIB_POWF)/g' \ +- -e 's/@''GNULIB_REMAINDER''@/$(GNULIB_REMAINDER)/g' \ +- -e 's/@''GNULIB_REMAINDERF''@/$(GNULIB_REMAINDERF)/g' \ +- -e 's/@''GNULIB_REMAINDERL''@/$(GNULIB_REMAINDERL)/g' \ +- -e 's/@''GNULIB_RINT''@/$(GNULIB_RINT)/g' \ +- -e 's/@''GNULIB_RINTF''@/$(GNULIB_RINTF)/g' \ +- -e 's/@''GNULIB_RINTL''@/$(GNULIB_RINTL)/g' \ +- -e 's/@''GNULIB_ROUND''@/$(GNULIB_ROUND)/g' \ +- -e 's/@''GNULIB_ROUNDF''@/$(GNULIB_ROUNDF)/g' \ +- -e 's/@''GNULIB_ROUNDL''@/$(GNULIB_ROUNDL)/g' \ +- -e 's/@''GNULIB_SIGNBIT''@/$(GNULIB_SIGNBIT)/g' \ +- -e 's/@''GNULIB_SINF''@/$(GNULIB_SINF)/g' \ +- -e 's/@''GNULIB_SINL''@/$(GNULIB_SINL)/g' \ +- -e 's/@''GNULIB_SINHF''@/$(GNULIB_SINHF)/g' \ +- -e 's/@''GNULIB_SQRTF''@/$(GNULIB_SQRTF)/g' \ +- -e 's/@''GNULIB_SQRTL''@/$(GNULIB_SQRTL)/g' \ +- -e 's/@''GNULIB_TANF''@/$(GNULIB_TANF)/g' \ +- -e 's/@''GNULIB_TANL''@/$(GNULIB_TANL)/g' \ +- -e 's/@''GNULIB_TANHF''@/$(GNULIB_TANHF)/g' \ +- -e 's/@''GNULIB_TRUNC''@/$(GNULIB_TRUNC)/g' \ +- -e 's/@''GNULIB_TRUNCF''@/$(GNULIB_TRUNCF)/g' \ +- -e 's/@''GNULIB_TRUNCL''@/$(GNULIB_TRUNCL)/g' \ +- -e 's/@''GNULIB_MDA_J0''@/$(GNULIB_MDA_J0)/g' \ +- -e 's/@''GNULIB_MDA_J1''@/$(GNULIB_MDA_J1)/g' \ +- -e 's/@''GNULIB_MDA_JN''@/$(GNULIB_MDA_JN)/g' \ +- -e 's/@''GNULIB_MDA_Y0''@/$(GNULIB_MDA_Y0)/g' \ +- -e 's/@''GNULIB_MDA_Y1''@/$(GNULIB_MDA_Y1)/g' \ +- -e 's/@''GNULIB_MDA_YN''@/$(GNULIB_MDA_YN)/g' \ ++ sed -e 's/@''GNULIB_ILOGB''@/$(GL_GNULIB_ILOGB)/g' \ ++ -e 's/@''GNULIB_ILOGBF''@/$(GL_GNULIB_ILOGBF)/g' \ ++ -e 's/@''GNULIB_ILOGBL''@/$(GL_GNULIB_ILOGBL)/g' \ ++ -e 's/@''GNULIB_ISFINITE''@/$(GL_GNULIB_ISFINITE)/g' \ ++ -e 's/@''GNULIB_ISINF''@/$(GL_GNULIB_ISINF)/g' \ ++ -e 's/@''GNULIB_ISNAN''@/$(GL_GNULIB_ISNAN)/g' \ ++ -e 's/@''GNULIB_ISNANF''@/$(GL_GNULIB_ISNANF)/g' \ ++ -e 's/@''GNULIB_ISNAND''@/$(GL_GNULIB_ISNAND)/g' \ ++ -e 's/@''GNULIB_ISNANL''@/$(GL_GNULIB_ISNANL)/g' \ ++ -e 's/@''GNULIB_LDEXPF''@/$(GL_GNULIB_LDEXPF)/g' \ ++ -e 's/@''GNULIB_LDEXPL''@/$(GL_GNULIB_LDEXPL)/g' \ ++ -e 's/@''GNULIB_LOG''@/$(GL_GNULIB_LOG)/g' \ ++ -e 's/@''GNULIB_LOGF''@/$(GL_GNULIB_LOGF)/g' \ ++ -e 's/@''GNULIB_LOGL''@/$(GL_GNULIB_LOGL)/g' \ ++ -e 's/@''GNULIB_LOG10''@/$(GL_GNULIB_LOG10)/g' \ ++ -e 's/@''GNULIB_LOG10F''@/$(GL_GNULIB_LOG10F)/g' \ ++ -e 's/@''GNULIB_LOG10L''@/$(GL_GNULIB_LOG10L)/g' \ ++ -e 's/@''GNULIB_LOG1P''@/$(GL_GNULIB_LOG1P)/g' \ ++ -e 's/@''GNULIB_LOG1PF''@/$(GL_GNULIB_LOG1PF)/g' \ ++ -e 's/@''GNULIB_LOG1PL''@/$(GL_GNULIB_LOG1PL)/g' \ ++ -e 's/@''GNULIB_LOG2''@/$(GL_GNULIB_LOG2)/g' \ ++ -e 's/@''GNULIB_LOG2F''@/$(GL_GNULIB_LOG2F)/g' \ ++ -e 's/@''GNULIB_LOG2L''@/$(GL_GNULIB_LOG2L)/g' \ ++ -e 's/@''GNULIB_LOGB''@/$(GL_GNULIB_LOGB)/g' \ ++ -e 's/@''GNULIB_LOGBF''@/$(GL_GNULIB_LOGBF)/g' \ ++ -e 's/@''GNULIB_LOGBL''@/$(GL_GNULIB_LOGBL)/g' \ ++ -e 's/@''GNULIB_MODF''@/$(GL_GNULIB_MODF)/g' \ ++ -e 's/@''GNULIB_MODFF''@/$(GL_GNULIB_MODFF)/g' \ ++ -e 's/@''GNULIB_MODFL''@/$(GL_GNULIB_MODFL)/g' \ ++ -e 's/@''GNULIB_POWF''@/$(GL_GNULIB_POWF)/g' \ ++ -e 's/@''GNULIB_REMAINDER''@/$(GL_GNULIB_REMAINDER)/g' \ ++ -e 's/@''GNULIB_REMAINDERF''@/$(GL_GNULIB_REMAINDERF)/g' \ ++ -e 's/@''GNULIB_REMAINDERL''@/$(GL_GNULIB_REMAINDERL)/g' \ ++ -e 's/@''GNULIB_RINT''@/$(GL_GNULIB_RINT)/g' \ ++ -e 's/@''GNULIB_RINTF''@/$(GL_GNULIB_RINTF)/g' \ ++ -e 's/@''GNULIB_RINTL''@/$(GL_GNULIB_RINTL)/g' \ ++ -e 's/@''GNULIB_ROUND''@/$(GL_GNULIB_ROUND)/g' \ ++ -e 's/@''GNULIB_ROUNDF''@/$(GL_GNULIB_ROUNDF)/g' \ ++ -e 's/@''GNULIB_ROUNDL''@/$(GL_GNULIB_ROUNDL)/g' \ ++ -e 's/@''GNULIB_SIGNBIT''@/$(GL_GNULIB_SIGNBIT)/g' \ ++ -e 's/@''GNULIB_SINF''@/$(GL_GNULIB_SINF)/g' \ ++ -e 's/@''GNULIB_SINL''@/$(GL_GNULIB_SINL)/g' \ ++ -e 's/@''GNULIB_SINHF''@/$(GL_GNULIB_SINHF)/g' \ ++ -e 's/@''GNULIB_SQRTF''@/$(GL_GNULIB_SQRTF)/g' \ ++ -e 's/@''GNULIB_SQRTL''@/$(GL_GNULIB_SQRTL)/g' \ ++ -e 's/@''GNULIB_TANF''@/$(GL_GNULIB_TANF)/g' \ ++ -e 's/@''GNULIB_TANL''@/$(GL_GNULIB_TANL)/g' \ ++ -e 's/@''GNULIB_TANHF''@/$(GL_GNULIB_TANHF)/g' \ ++ -e 's/@''GNULIB_TRUNC''@/$(GL_GNULIB_TRUNC)/g' \ ++ -e 's/@''GNULIB_TRUNCF''@/$(GL_GNULIB_TRUNCF)/g' \ ++ -e 's/@''GNULIB_TRUNCL''@/$(GL_GNULIB_TRUNCL)/g' \ ++ -e 's/@''GNULIB_MDA_J0''@/$(GL_GNULIB_MDA_J0)/g' \ ++ -e 's/@''GNULIB_MDA_J1''@/$(GL_GNULIB_MDA_J1)/g' \ ++ -e 's/@''GNULIB_MDA_JN''@/$(GL_GNULIB_MDA_JN)/g' \ ++ -e 's/@''GNULIB_MDA_Y0''@/$(GL_GNULIB_MDA_Y0)/g' \ ++ -e 's/@''GNULIB_MDA_Y1''@/$(GL_GNULIB_MDA_Y1)/g' \ ++ -e 's/@''GNULIB_MDA_YN''@/$(GL_GNULIB_MDA_YN)/g' \ + | \ + sed -e 's|@''HAVE_ACOSF''@|$(HAVE_ACOSF)|g' \ + -e 's|@''HAVE_ACOSL''@|$(HAVE_ACOSL)|g' \ +@@ -1804,7 +1828,7 @@ netdb.h: netdb.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_NETDB_H''@|$(NEXT_NETDB_H)|g' \ + -e 's|@''HAVE_NETDB_H''@|$(HAVE_NETDB_H)|g' \ +- -e 's/@''GNULIB_GETADDRINFO''@/$(GNULIB_GETADDRINFO)/g' \ ++ -e 's/@''GNULIB_GETADDRINFO''@/$(GL_GNULIB_GETADDRINFO)/g' \ + -e 's|@''HAVE_STRUCT_ADDRINFO''@|$(HAVE_STRUCT_ADDRINFO)|g' \ + -e 's|@''HAVE_DECL_FREEADDRINFO''@|$(HAVE_DECL_FREEADDRINFO)|g' \ + -e 's|@''HAVE_DECL_GAI_STRERROR''@|$(HAVE_DECL_GAI_STRERROR)|g' \ +@@ -1937,7 +1961,7 @@ poll.h: poll.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_POLL_H''@|$(NEXT_POLL_H)|g' \ +- -e 's/@''GNULIB_POLL''@/$(GNULIB_POLL)/g' \ ++ -e 's/@''GNULIB_POLL''@/$(GL_GNULIB_POLL)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's|@''HAVE_POLL''@|$(HAVE_POLL)|g' \ + -e 's|@''REPLACE_POLL''@|$(REPLACE_POLL)|g' \ +@@ -2098,6 +2122,21 @@ EXTRA_DIST += same-inode.h + ## begin gnulib module scratch_buffer + + if gl_GNULIB_ENABLED_scratch_buffer ++BUILT_SOURCES += malloc/scratch_buffer.gl.h ++ ++malloc/scratch_buffer.gl.h: malloc/scratch_buffer.h ++ $(AM_V_at)$(MKDIR_P) malloc ++ $(AM_V_GEN)rm -f $@-t $@ && \ ++ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ ++ sed -e 's|__always_inline|inline _GL_ATTRIBUTE_ALWAYS_INLINE|g' \ ++ -e 's|__glibc_likely|_GL_LIKELY|g' \ ++ -e 's|__glibc_unlikely|_GL_UNLIKELY|g' \ ++ -e '/libc_hidden_proto/d' \ ++ < $(srcdir)/malloc/scratch_buffer.h; \ ++ } > $@-t && \ ++ mv $@-t $@ ++MOSTLYCLEANFILES += malloc/scratch_buffer.gl.h malloc/scratch_buffer.gl.h-t ++ + libgnu_la_SOURCES += malloc/scratch_buffer_dupfree.c malloc/scratch_buffer_grow.c malloc/scratch_buffer_grow_preserve.c malloc/scratch_buffer_set_array_size.c + + endif +@@ -2185,11 +2224,11 @@ signal.h: signal.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SIGNAL_H''@|$(NEXT_SIGNAL_H)|g' \ +- -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GNULIB_PTHREAD_SIGMASK)/g' \ +- -e 's/@''GNULIB_RAISE''@/$(GNULIB_RAISE)/g' \ +- -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GNULIB_SIGNAL_H_SIGPIPE)/g' \ +- -e 's/@''GNULIB_SIGPROCMASK''@/$(GNULIB_SIGPROCMASK)/g' \ +- -e 's/@''GNULIB_SIGACTION''@/$(GNULIB_SIGACTION)/g' \ ++ -e 's/@''GNULIB_PTHREAD_SIGMASK''@/$(GL_GNULIB_PTHREAD_SIGMASK)/g' \ ++ -e 's/@''GNULIB_RAISE''@/$(GL_GNULIB_RAISE)/g' \ ++ -e 's/@''GNULIB_SIGNAL_H_SIGPIPE''@/$(GL_GNULIB_SIGNAL_H_SIGPIPE)/g' \ ++ -e 's/@''GNULIB_SIGPROCMASK''@/$(GL_GNULIB_SIGPROCMASK)/g' \ ++ -e 's/@''GNULIB_SIGACTION''@/$(GL_GNULIB_SIGACTION)/g' \ + -e 's|@''HAVE_POSIX_SIGNALBLOCKING''@|$(HAVE_POSIX_SIGNALBLOCKING)|g' \ + -e 's|@''HAVE_PTHREAD_SIGMASK''@|$(HAVE_PTHREAD_SIGMASK)|g' \ + -e 's|@''HAVE_RAISE''@|$(HAVE_RAISE)|g' \ +@@ -2442,7 +2481,7 @@ stdint.h: stdint.in.h $(top_builddir)/config.status + -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \ + -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \ + -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \ +- -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ ++ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ + < $(srcdir)/stdint.in.h; \ + } > $@-t && \ + mv $@-t $@ +@@ -2470,65 +2509,65 @@ stdio.h: stdio.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STDIO_H''@|$(NEXT_STDIO_H)|g' \ +- -e 's/@''GNULIB_DPRINTF''@/$(GNULIB_DPRINTF)/g' \ +- -e 's/@''GNULIB_FCLOSE''@/$(GNULIB_FCLOSE)/g' \ +- -e 's/@''GNULIB_FDOPEN''@/$(GNULIB_FDOPEN)/g' \ +- -e 's/@''GNULIB_FFLUSH''@/$(GNULIB_FFLUSH)/g' \ +- -e 's/@''GNULIB_FGETC''@/$(GNULIB_FGETC)/g' \ +- -e 's/@''GNULIB_FGETS''@/$(GNULIB_FGETS)/g' \ +- -e 's/@''GNULIB_FOPEN''@/$(GNULIB_FOPEN)/g' \ +- -e 's/@''GNULIB_FPRINTF''@/$(GNULIB_FPRINTF)/g' \ +- -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GNULIB_FPRINTF_POSIX)/g' \ +- -e 's/@''GNULIB_FPURGE''@/$(GNULIB_FPURGE)/g' \ +- -e 's/@''GNULIB_FPUTC''@/$(GNULIB_FPUTC)/g' \ +- -e 's/@''GNULIB_FPUTS''@/$(GNULIB_FPUTS)/g' \ +- -e 's/@''GNULIB_FREAD''@/$(GNULIB_FREAD)/g' \ +- -e 's/@''GNULIB_FREOPEN''@/$(GNULIB_FREOPEN)/g' \ +- -e 's/@''GNULIB_FSCANF''@/$(GNULIB_FSCANF)/g' \ +- -e 's/@''GNULIB_FSEEK''@/$(GNULIB_FSEEK)/g' \ +- -e 's/@''GNULIB_FSEEKO''@/$(GNULIB_FSEEKO)/g' \ +- -e 's/@''GNULIB_FTELL''@/$(GNULIB_FTELL)/g' \ +- -e 's/@''GNULIB_FTELLO''@/$(GNULIB_FTELLO)/g' \ +- -e 's/@''GNULIB_FWRITE''@/$(GNULIB_FWRITE)/g' \ +- -e 's/@''GNULIB_GETC''@/$(GNULIB_GETC)/g' \ +- -e 's/@''GNULIB_GETCHAR''@/$(GNULIB_GETCHAR)/g' \ +- -e 's/@''GNULIB_GETDELIM''@/$(GNULIB_GETDELIM)/g' \ +- -e 's/@''GNULIB_GETLINE''@/$(GNULIB_GETLINE)/g' \ +- -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GNULIB_OBSTACK_PRINTF)/g' \ +- -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GNULIB_OBSTACK_PRINTF_POSIX)/g' \ +- -e 's/@''GNULIB_PCLOSE''@/$(GNULIB_PCLOSE)/g' \ +- -e 's/@''GNULIB_PERROR''@/$(GNULIB_PERROR)/g' \ +- -e 's/@''GNULIB_POPEN''@/$(GNULIB_POPEN)/g' \ +- -e 's/@''GNULIB_PRINTF''@/$(GNULIB_PRINTF)/g' \ +- -e 's/@''GNULIB_PRINTF_POSIX''@/$(GNULIB_PRINTF_POSIX)/g' \ +- -e 's/@''GNULIB_PUTC''@/$(GNULIB_PUTC)/g' \ +- -e 's/@''GNULIB_PUTCHAR''@/$(GNULIB_PUTCHAR)/g' \ +- -e 's/@''GNULIB_PUTS''@/$(GNULIB_PUTS)/g' \ +- -e 's/@''GNULIB_REMOVE''@/$(GNULIB_REMOVE)/g' \ +- -e 's/@''GNULIB_RENAME''@/$(GNULIB_RENAME)/g' \ +- -e 's/@''GNULIB_RENAMEAT''@/$(GNULIB_RENAMEAT)/g' \ +- -e 's/@''GNULIB_SCANF''@/$(GNULIB_SCANF)/g' \ +- -e 's/@''GNULIB_SNPRINTF''@/$(GNULIB_SNPRINTF)/g' \ +- -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GNULIB_SPRINTF_POSIX)/g' \ +- -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GNULIB_STDIO_H_NONBLOCKING)/g' \ +- -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GNULIB_STDIO_H_SIGPIPE)/g' \ +- -e 's/@''GNULIB_TMPFILE''@/$(GNULIB_TMPFILE)/g' \ +- -e 's/@''GNULIB_VASPRINTF''@/$(GNULIB_VASPRINTF)/g' \ +- -e 's/@''GNULIB_VDPRINTF''@/$(GNULIB_VDPRINTF)/g' \ +- -e 's/@''GNULIB_VFPRINTF''@/$(GNULIB_VFPRINTF)/g' \ +- -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GNULIB_VFPRINTF_POSIX)/g' \ +- -e 's/@''GNULIB_VFSCANF''@/$(GNULIB_VFSCANF)/g' \ +- -e 's/@''GNULIB_VSCANF''@/$(GNULIB_VSCANF)/g' \ +- -e 's/@''GNULIB_VPRINTF''@/$(GNULIB_VPRINTF)/g' \ +- -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GNULIB_VPRINTF_POSIX)/g' \ +- -e 's/@''GNULIB_VSNPRINTF''@/$(GNULIB_VSNPRINTF)/g' \ +- -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GNULIB_VSPRINTF_POSIX)/g' \ +- -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GNULIB_MDA_FCLOSEALL)/g' \ +- -e 's/@''GNULIB_MDA_FDOPEN''@/$(GNULIB_MDA_FDOPEN)/g' \ +- -e 's/@''GNULIB_MDA_FILENO''@/$(GNULIB_MDA_FILENO)/g' \ +- -e 's/@''GNULIB_MDA_GETW''@/$(GNULIB_MDA_GETW)/g' \ +- -e 's/@''GNULIB_MDA_PUTW''@/$(GNULIB_MDA_PUTW)/g' \ +- -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GNULIB_MDA_TEMPNAM)/g' \ ++ -e 's/@''GNULIB_DPRINTF''@/$(GL_GNULIB_DPRINTF)/g' \ ++ -e 's/@''GNULIB_FCLOSE''@/$(GL_GNULIB_FCLOSE)/g' \ ++ -e 's/@''GNULIB_FDOPEN''@/$(GL_GNULIB_FDOPEN)/g' \ ++ -e 's/@''GNULIB_FFLUSH''@/$(GL_GNULIB_FFLUSH)/g' \ ++ -e 's/@''GNULIB_FGETC''@/$(GL_GNULIB_FGETC)/g' \ ++ -e 's/@''GNULIB_FGETS''@/$(GL_GNULIB_FGETS)/g' \ ++ -e 's/@''GNULIB_FOPEN''@/$(GL_GNULIB_FOPEN)/g' \ ++ -e 's/@''GNULIB_FPRINTF''@/$(GL_GNULIB_FPRINTF)/g' \ ++ -e 's/@''GNULIB_FPRINTF_POSIX''@/$(GL_GNULIB_FPRINTF_POSIX)/g' \ ++ -e 's/@''GNULIB_FPURGE''@/$(GL_GNULIB_FPURGE)/g' \ ++ -e 's/@''GNULIB_FPUTC''@/$(GL_GNULIB_FPUTC)/g' \ ++ -e 's/@''GNULIB_FPUTS''@/$(GL_GNULIB_FPUTS)/g' \ ++ -e 's/@''GNULIB_FREAD''@/$(GL_GNULIB_FREAD)/g' \ ++ -e 's/@''GNULIB_FREOPEN''@/$(GL_GNULIB_FREOPEN)/g' \ ++ -e 's/@''GNULIB_FSCANF''@/$(GL_GNULIB_FSCANF)/g' \ ++ -e 's/@''GNULIB_FSEEK''@/$(GL_GNULIB_FSEEK)/g' \ ++ -e 's/@''GNULIB_FSEEKO''@/$(GL_GNULIB_FSEEKO)/g' \ ++ -e 's/@''GNULIB_FTELL''@/$(GL_GNULIB_FTELL)/g' \ ++ -e 's/@''GNULIB_FTELLO''@/$(GL_GNULIB_FTELLO)/g' \ ++ -e 's/@''GNULIB_FWRITE''@/$(GL_GNULIB_FWRITE)/g' \ ++ -e 's/@''GNULIB_GETC''@/$(GL_GNULIB_GETC)/g' \ ++ -e 's/@''GNULIB_GETCHAR''@/$(GL_GNULIB_GETCHAR)/g' \ ++ -e 's/@''GNULIB_GETDELIM''@/$(GL_GNULIB_GETDELIM)/g' \ ++ -e 's/@''GNULIB_GETLINE''@/$(GL_GNULIB_GETLINE)/g' \ ++ -e 's/@''GNULIB_OBSTACK_PRINTF''@/$(GL_GNULIB_OBSTACK_PRINTF)/g' \ ++ -e 's/@''GNULIB_OBSTACK_PRINTF_POSIX''@/$(GL_GNULIB_OBSTACK_PRINTF_POSIX)/g' \ ++ -e 's/@''GNULIB_PCLOSE''@/$(GL_GNULIB_PCLOSE)/g' \ ++ -e 's/@''GNULIB_PERROR''@/$(GL_GNULIB_PERROR)/g' \ ++ -e 's/@''GNULIB_POPEN''@/$(GL_GNULIB_POPEN)/g' \ ++ -e 's/@''GNULIB_PRINTF''@/$(GL_GNULIB_PRINTF)/g' \ ++ -e 's/@''GNULIB_PRINTF_POSIX''@/$(GL_GNULIB_PRINTF_POSIX)/g' \ ++ -e 's/@''GNULIB_PUTC''@/$(GL_GNULIB_PUTC)/g' \ ++ -e 's/@''GNULIB_PUTCHAR''@/$(GL_GNULIB_PUTCHAR)/g' \ ++ -e 's/@''GNULIB_PUTS''@/$(GL_GNULIB_PUTS)/g' \ ++ -e 's/@''GNULIB_REMOVE''@/$(GL_GNULIB_REMOVE)/g' \ ++ -e 's/@''GNULIB_RENAME''@/$(GL_GNULIB_RENAME)/g' \ ++ -e 's/@''GNULIB_RENAMEAT''@/$(GL_GNULIB_RENAMEAT)/g' \ ++ -e 's/@''GNULIB_SCANF''@/$(GL_GNULIB_SCANF)/g' \ ++ -e 's/@''GNULIB_SNPRINTF''@/$(GL_GNULIB_SNPRINTF)/g' \ ++ -e 's/@''GNULIB_SPRINTF_POSIX''@/$(GL_GNULIB_SPRINTF_POSIX)/g' \ ++ -e 's/@''GNULIB_STDIO_H_NONBLOCKING''@/$(GL_GNULIB_STDIO_H_NONBLOCKING)/g' \ ++ -e 's/@''GNULIB_STDIO_H_SIGPIPE''@/$(GL_GNULIB_STDIO_H_SIGPIPE)/g' \ ++ -e 's/@''GNULIB_TMPFILE''@/$(GL_GNULIB_TMPFILE)/g' \ ++ -e 's/@''GNULIB_VASPRINTF''@/$(GL_GNULIB_VASPRINTF)/g' \ ++ -e 's/@''GNULIB_VDPRINTF''@/$(GL_GNULIB_VDPRINTF)/g' \ ++ -e 's/@''GNULIB_VFPRINTF''@/$(GL_GNULIB_VFPRINTF)/g' \ ++ -e 's/@''GNULIB_VFPRINTF_POSIX''@/$(GL_GNULIB_VFPRINTF_POSIX)/g' \ ++ -e 's/@''GNULIB_VFSCANF''@/$(GL_GNULIB_VFSCANF)/g' \ ++ -e 's/@''GNULIB_VSCANF''@/$(GL_GNULIB_VSCANF)/g' \ ++ -e 's/@''GNULIB_VPRINTF''@/$(GL_GNULIB_VPRINTF)/g' \ ++ -e 's/@''GNULIB_VPRINTF_POSIX''@/$(GL_GNULIB_VPRINTF_POSIX)/g' \ ++ -e 's/@''GNULIB_VSNPRINTF''@/$(GL_GNULIB_VSNPRINTF)/g' \ ++ -e 's/@''GNULIB_VSPRINTF_POSIX''@/$(GL_GNULIB_VSPRINTF_POSIX)/g' \ ++ -e 's/@''GNULIB_MDA_FCLOSEALL''@/$(GL_GNULIB_MDA_FCLOSEALL)/g' \ ++ -e 's/@''GNULIB_MDA_FDOPEN''@/$(GL_GNULIB_MDA_FDOPEN)/g' \ ++ -e 's/@''GNULIB_MDA_FILENO''@/$(GL_GNULIB_MDA_FILENO)/g' \ ++ -e 's/@''GNULIB_MDA_GETW''@/$(GL_GNULIB_MDA_GETW)/g' \ ++ -e 's/@''GNULIB_MDA_PUTW''@/$(GL_GNULIB_MDA_PUTW)/g' \ ++ -e 's/@''GNULIB_MDA_TEMPNAM''@/$(GL_GNULIB_MDA_TEMPNAM)/g' \ + < $(srcdir)/stdio.in.h | \ + sed -e 's|@''HAVE_DECL_FCLOSEALL''@|$(HAVE_DECL_FCLOSEALL)|g' \ + -e 's|@''HAVE_DECL_FPURGE''@|$(HAVE_DECL_FPURGE)|g' \ +@@ -2606,51 +2645,51 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STDLIB_H''@|$(NEXT_STDLIB_H)|g' \ +- -e 's/@''GNULIB__EXIT''@/$(GNULIB__EXIT)/g' \ +- -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GNULIB_ALIGNED_ALLOC)/g' \ +- -e 's/@''GNULIB_ATOLL''@/$(GNULIB_ATOLL)/g' \ +- -e 's/@''GNULIB_CALLOC_POSIX''@/$(GNULIB_CALLOC_POSIX)/g' \ +- -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GNULIB_CANONICALIZE_FILE_NAME)/g' \ +- -e 's/@''GNULIB_FREE_POSIX''@/$(GNULIB_FREE_POSIX)/g' \ +- -e 's/@''GNULIB_GETLOADAVG''@/$(GNULIB_GETLOADAVG)/g' \ +- -e 's/@''GNULIB_GETSUBOPT''@/$(GNULIB_GETSUBOPT)/g' \ +- -e 's/@''GNULIB_GRANTPT''@/$(GNULIB_GRANTPT)/g' \ +- -e 's/@''GNULIB_MALLOC_POSIX''@/$(GNULIB_MALLOC_POSIX)/g' \ +- -e 's/@''GNULIB_MBTOWC''@/$(GNULIB_MBTOWC)/g' \ +- -e 's/@''GNULIB_MKDTEMP''@/$(GNULIB_MKDTEMP)/g' \ +- -e 's/@''GNULIB_MKOSTEMP''@/$(GNULIB_MKOSTEMP)/g' \ +- -e 's/@''GNULIB_MKOSTEMPS''@/$(GNULIB_MKOSTEMPS)/g' \ +- -e 's/@''GNULIB_MKSTEMP''@/$(GNULIB_MKSTEMP)/g' \ +- -e 's/@''GNULIB_MKSTEMPS''@/$(GNULIB_MKSTEMPS)/g' \ +- -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GNULIB_POSIX_MEMALIGN)/g' \ +- -e 's/@''GNULIB_POSIX_OPENPT''@/$(GNULIB_POSIX_OPENPT)/g' \ +- -e 's/@''GNULIB_PTSNAME''@/$(GNULIB_PTSNAME)/g' \ +- -e 's/@''GNULIB_PTSNAME_R''@/$(GNULIB_PTSNAME_R)/g' \ +- -e 's/@''GNULIB_PUTENV''@/$(GNULIB_PUTENV)/g' \ +- -e 's/@''GNULIB_QSORT_R''@/$(GNULIB_QSORT_R)/g' \ +- -e 's/@''GNULIB_RANDOM''@/$(GNULIB_RANDOM)/g' \ +- -e 's/@''GNULIB_RANDOM_R''@/$(GNULIB_RANDOM_R)/g' \ +- -e 's/@''GNULIB_REALLOC_POSIX''@/$(GNULIB_REALLOC_POSIX)/g' \ +- -e 's/@''GNULIB_REALLOCARRAY''@/$(GNULIB_REALLOCARRAY)/g' \ +- -e 's/@''GNULIB_REALPATH''@/$(GNULIB_REALPATH)/g' \ +- -e 's/@''GNULIB_RPMATCH''@/$(GNULIB_RPMATCH)/g' \ +- -e 's/@''GNULIB_SECURE_GETENV''@/$(GNULIB_SECURE_GETENV)/g' \ +- -e 's/@''GNULIB_SETENV''@/$(GNULIB_SETENV)/g' \ +- -e 's/@''GNULIB_STRTOD''@/$(GNULIB_STRTOD)/g' \ +- -e 's/@''GNULIB_STRTOL''@/$(GNULIB_STRTOL)/g' \ +- -e 's/@''GNULIB_STRTOLD''@/$(GNULIB_STRTOLD)/g' \ +- -e 's/@''GNULIB_STRTOLL''@/$(GNULIB_STRTOLL)/g' \ +- -e 's/@''GNULIB_STRTOUL''@/$(GNULIB_STRTOUL)/g' \ +- -e 's/@''GNULIB_STRTOULL''@/$(GNULIB_STRTOULL)/g' \ +- -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GNULIB_SYSTEM_POSIX)/g' \ +- -e 's/@''GNULIB_UNLOCKPT''@/$(GNULIB_UNLOCKPT)/g' \ +- -e 's/@''GNULIB_UNSETENV''@/$(GNULIB_UNSETENV)/g' \ +- -e 's/@''GNULIB_WCTOMB''@/$(GNULIB_WCTOMB)/g' \ +- -e 's/@''GNULIB_MDA_ECVT''@/$(GNULIB_MDA_ECVT)/g' \ +- -e 's/@''GNULIB_MDA_FCVT''@/$(GNULIB_MDA_FCVT)/g' \ +- -e 's/@''GNULIB_MDA_GCVT''@/$(GNULIB_MDA_GCVT)/g' \ +- -e 's/@''GNULIB_MDA_MKTEMP''@/$(GNULIB_MDA_MKTEMP)/g' \ +- -e 's/@''GNULIB_MDA_PUTENV''@/$(GNULIB_MDA_PUTENV)/g' \ ++ -e 's/@''GNULIB__EXIT''@/$(GL_GNULIB__EXIT)/g' \ ++ -e 's/@''GNULIB_ALIGNED_ALLOC''@/$(GL_GNULIB_ALIGNED_ALLOC)/g' \ ++ -e 's/@''GNULIB_ATOLL''@/$(GL_GNULIB_ATOLL)/g' \ ++ -e 's/@''GNULIB_CALLOC_POSIX''@/$(GL_GNULIB_CALLOC_POSIX)/g' \ ++ -e 's/@''GNULIB_CANONICALIZE_FILE_NAME''@/$(GL_GNULIB_CANONICALIZE_FILE_NAME)/g' \ ++ -e 's/@''GNULIB_FREE_POSIX''@/$(GL_GNULIB_FREE_POSIX)/g' \ ++ -e 's/@''GNULIB_GETLOADAVG''@/$(GL_GNULIB_GETLOADAVG)/g' \ ++ -e 's/@''GNULIB_GETSUBOPT''@/$(GL_GNULIB_GETSUBOPT)/g' \ ++ -e 's/@''GNULIB_GRANTPT''@/$(GL_GNULIB_GRANTPT)/g' \ ++ -e 's/@''GNULIB_MALLOC_POSIX''@/$(GL_GNULIB_MALLOC_POSIX)/g' \ ++ -e 's/@''GNULIB_MBTOWC''@/$(GL_GNULIB_MBTOWC)/g' \ ++ -e 's/@''GNULIB_MKDTEMP''@/$(GL_GNULIB_MKDTEMP)/g' \ ++ -e 's/@''GNULIB_MKOSTEMP''@/$(GL_GNULIB_MKOSTEMP)/g' \ ++ -e 's/@''GNULIB_MKOSTEMPS''@/$(GL_GNULIB_MKOSTEMPS)/g' \ ++ -e 's/@''GNULIB_MKSTEMP''@/$(GL_GNULIB_MKSTEMP)/g' \ ++ -e 's/@''GNULIB_MKSTEMPS''@/$(GL_GNULIB_MKSTEMPS)/g' \ ++ -e 's/@''GNULIB_POSIX_MEMALIGN''@/$(GL_GNULIB_POSIX_MEMALIGN)/g' \ ++ -e 's/@''GNULIB_POSIX_OPENPT''@/$(GL_GNULIB_POSIX_OPENPT)/g' \ ++ -e 's/@''GNULIB_PTSNAME''@/$(GL_GNULIB_PTSNAME)/g' \ ++ -e 's/@''GNULIB_PTSNAME_R''@/$(GL_GNULIB_PTSNAME_R)/g' \ ++ -e 's/@''GNULIB_PUTENV''@/$(GL_GNULIB_PUTENV)/g' \ ++ -e 's/@''GNULIB_QSORT_R''@/$(GL_GNULIB_QSORT_R)/g' \ ++ -e 's/@''GNULIB_RANDOM''@/$(GL_GNULIB_RANDOM)/g' \ ++ -e 's/@''GNULIB_RANDOM_R''@/$(GL_GNULIB_RANDOM_R)/g' \ ++ -e 's/@''GNULIB_REALLOC_POSIX''@/$(GL_GNULIB_REALLOC_POSIX)/g' \ ++ -e 's/@''GNULIB_REALLOCARRAY''@/$(GL_GNULIB_REALLOCARRAY)/g' \ ++ -e 's/@''GNULIB_REALPATH''@/$(GL_GNULIB_REALPATH)/g' \ ++ -e 's/@''GNULIB_RPMATCH''@/$(GL_GNULIB_RPMATCH)/g' \ ++ -e 's/@''GNULIB_SECURE_GETENV''@/$(GL_GNULIB_SECURE_GETENV)/g' \ ++ -e 's/@''GNULIB_SETENV''@/$(GL_GNULIB_SETENV)/g' \ ++ -e 's/@''GNULIB_STRTOD''@/$(GL_GNULIB_STRTOD)/g' \ ++ -e 's/@''GNULIB_STRTOL''@/$(GL_GNULIB_STRTOL)/g' \ ++ -e 's/@''GNULIB_STRTOLD''@/$(GL_GNULIB_STRTOLD)/g' \ ++ -e 's/@''GNULIB_STRTOLL''@/$(GL_GNULIB_STRTOLL)/g' \ ++ -e 's/@''GNULIB_STRTOUL''@/$(GL_GNULIB_STRTOUL)/g' \ ++ -e 's/@''GNULIB_STRTOULL''@/$(GL_GNULIB_STRTOULL)/g' \ ++ -e 's/@''GNULIB_SYSTEM_POSIX''@/$(GL_GNULIB_SYSTEM_POSIX)/g' \ ++ -e 's/@''GNULIB_UNLOCKPT''@/$(GL_GNULIB_UNLOCKPT)/g' \ ++ -e 's/@''GNULIB_UNSETENV''@/$(GL_GNULIB_UNSETENV)/g' \ ++ -e 's/@''GNULIB_WCTOMB''@/$(GL_GNULIB_WCTOMB)/g' \ ++ -e 's/@''GNULIB_MDA_ECVT''@/$(GL_GNULIB_MDA_ECVT)/g' \ ++ -e 's/@''GNULIB_MDA_FCVT''@/$(GL_GNULIB_MDA_FCVT)/g' \ ++ -e 's/@''GNULIB_MDA_GCVT''@/$(GL_GNULIB_MDA_GCVT)/g' \ ++ -e 's/@''GNULIB_MDA_MKTEMP''@/$(GL_GNULIB_MDA_MKTEMP)/g' \ ++ -e 's/@''GNULIB_MDA_PUTENV''@/$(GL_GNULIB_MDA_PUTENV)/g' \ + < $(srcdir)/stdlib.in.h | \ + sed -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ + -e 's|@''HAVE_ALIGNED_ALLOC''@|$(HAVE_ALIGNED_ALLOC)|g' \ +@@ -2711,6 +2750,7 @@ stdlib.h: stdlib.in.h $(top_builddir)/config.status $(CXXDEFS_H) \ + -e 's|@''REPLACE_RANDOM''@|$(REPLACE_RANDOM)|g' \ + -e 's|@''REPLACE_RANDOM_R''@|$(REPLACE_RANDOM_R)|g' \ + -e 's|@''REPLACE_REALLOC''@|$(REPLACE_REALLOC)|g' \ ++ -e 's|@''REPLACE_REALLOCARRAY''@|$(REPLACE_REALLOCARRAY)|g' \ + -e 's|@''REPLACE_REALPATH''@|$(REPLACE_REALPATH)|g' \ + -e 's|@''REPLACE_SETENV''@|$(REPLACE_SETENV)|g' \ + -e 's|@''REPLACE_SETSTATE''@|$(REPLACE_SETSTATE)|g' \ +@@ -2779,49 +2819,49 @@ string.h: string.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_STRING_H''@|$(NEXT_STRING_H)|g' \ +- -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GNULIB_EXPLICIT_BZERO)/g' \ +- -e 's/@''GNULIB_FFSL''@/$(GNULIB_FFSL)/g' \ +- -e 's/@''GNULIB_FFSLL''@/$(GNULIB_FFSLL)/g' \ +- -e 's/@''GNULIB_MBSLEN''@/$(GNULIB_MBSLEN)/g' \ +- -e 's/@''GNULIB_MBSNLEN''@/$(GNULIB_MBSNLEN)/g' \ +- -e 's/@''GNULIB_MBSCHR''@/$(GNULIB_MBSCHR)/g' \ +- -e 's/@''GNULIB_MBSRCHR''@/$(GNULIB_MBSRCHR)/g' \ +- -e 's/@''GNULIB_MBSSTR''@/$(GNULIB_MBSSTR)/g' \ +- -e 's/@''GNULIB_MBSCASECMP''@/$(GNULIB_MBSCASECMP)/g' \ +- -e 's/@''GNULIB_MBSNCASECMP''@/$(GNULIB_MBSNCASECMP)/g' \ +- -e 's/@''GNULIB_MBSPCASECMP''@/$(GNULIB_MBSPCASECMP)/g' \ +- -e 's/@''GNULIB_MBSCASESTR''@/$(GNULIB_MBSCASESTR)/g' \ +- -e 's/@''GNULIB_MBSCSPN''@/$(GNULIB_MBSCSPN)/g' \ +- -e 's/@''GNULIB_MBSPBRK''@/$(GNULIB_MBSPBRK)/g' \ +- -e 's/@''GNULIB_MBSSPN''@/$(GNULIB_MBSSPN)/g' \ +- -e 's/@''GNULIB_MBSSEP''@/$(GNULIB_MBSSEP)/g' \ +- -e 's/@''GNULIB_MBSTOK_R''@/$(GNULIB_MBSTOK_R)/g' \ +- -e 's/@''GNULIB_MEMCHR''@/$(GNULIB_MEMCHR)/g' \ +- -e 's/@''GNULIB_MEMMEM''@/$(GNULIB_MEMMEM)/g' \ +- -e 's/@''GNULIB_MEMPCPY''@/$(GNULIB_MEMPCPY)/g' \ +- -e 's/@''GNULIB_MEMRCHR''@/$(GNULIB_MEMRCHR)/g' \ +- -e 's/@''GNULIB_RAWMEMCHR''@/$(GNULIB_RAWMEMCHR)/g' \ +- -e 's/@''GNULIB_STPCPY''@/$(GNULIB_STPCPY)/g' \ +- -e 's/@''GNULIB_STPNCPY''@/$(GNULIB_STPNCPY)/g' \ +- -e 's/@''GNULIB_STRCHRNUL''@/$(GNULIB_STRCHRNUL)/g' \ +- -e 's/@''GNULIB_STRDUP''@/$(GNULIB_STRDUP)/g' \ +- -e 's/@''GNULIB_STRNCAT''@/$(GNULIB_STRNCAT)/g' \ +- -e 's/@''GNULIB_STRNDUP''@/$(GNULIB_STRNDUP)/g' \ +- -e 's/@''GNULIB_STRNLEN''@/$(GNULIB_STRNLEN)/g' \ +- -e 's/@''GNULIB_STRPBRK''@/$(GNULIB_STRPBRK)/g' \ +- -e 's/@''GNULIB_STRSEP''@/$(GNULIB_STRSEP)/g' \ +- -e 's/@''GNULIB_STRSTR''@/$(GNULIB_STRSTR)/g' \ +- -e 's/@''GNULIB_STRCASESTR''@/$(GNULIB_STRCASESTR)/g' \ +- -e 's/@''GNULIB_STRTOK_R''@/$(GNULIB_STRTOK_R)/g' \ +- -e 's/@''GNULIB_STRERROR''@/$(GNULIB_STRERROR)/g' \ +- -e 's/@''GNULIB_STRERROR_R''@/$(GNULIB_STRERROR_R)/g' \ +- -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GNULIB_STRERRORNAME_NP)/g' \ +- -e 's/@''GNULIB_SIGABBREV_NP''@/$(GNULIB_SIGABBREV_NP)/g' \ +- -e 's/@''GNULIB_SIGDESCR_NP''@/$(GNULIB_SIGDESCR_NP)/g' \ +- -e 's/@''GNULIB_STRSIGNAL''@/$(GNULIB_STRSIGNAL)/g' \ +- -e 's/@''GNULIB_STRVERSCMP''@/$(GNULIB_STRVERSCMP)/g' \ +- -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GNULIB_MDA_MEMCCPY)/g' \ +- -e 's/@''GNULIB_MDA_STRDUP''@/$(GNULIB_MDA_STRDUP)/g' \ ++ -e 's/@''GNULIB_EXPLICIT_BZERO''@/$(GL_GNULIB_EXPLICIT_BZERO)/g' \ ++ -e 's/@''GNULIB_FFSL''@/$(GL_GNULIB_FFSL)/g' \ ++ -e 's/@''GNULIB_FFSLL''@/$(GL_GNULIB_FFSLL)/g' \ ++ -e 's/@''GNULIB_MBSLEN''@/$(GL_GNULIB_MBSLEN)/g' \ ++ -e 's/@''GNULIB_MBSNLEN''@/$(GL_GNULIB_MBSNLEN)/g' \ ++ -e 's/@''GNULIB_MBSCHR''@/$(GL_GNULIB_MBSCHR)/g' \ ++ -e 's/@''GNULIB_MBSRCHR''@/$(GL_GNULIB_MBSRCHR)/g' \ ++ -e 's/@''GNULIB_MBSSTR''@/$(GL_GNULIB_MBSSTR)/g' \ ++ -e 's/@''GNULIB_MBSCASECMP''@/$(GL_GNULIB_MBSCASECMP)/g' \ ++ -e 's/@''GNULIB_MBSNCASECMP''@/$(GL_GNULIB_MBSNCASECMP)/g' \ ++ -e 's/@''GNULIB_MBSPCASECMP''@/$(GL_GNULIB_MBSPCASECMP)/g' \ ++ -e 's/@''GNULIB_MBSCASESTR''@/$(GL_GNULIB_MBSCASESTR)/g' \ ++ -e 's/@''GNULIB_MBSCSPN''@/$(GL_GNULIB_MBSCSPN)/g' \ ++ -e 's/@''GNULIB_MBSPBRK''@/$(GL_GNULIB_MBSPBRK)/g' \ ++ -e 's/@''GNULIB_MBSSPN''@/$(GL_GNULIB_MBSSPN)/g' \ ++ -e 's/@''GNULIB_MBSSEP''@/$(GL_GNULIB_MBSSEP)/g' \ ++ -e 's/@''GNULIB_MBSTOK_R''@/$(GL_GNULIB_MBSTOK_R)/g' \ ++ -e 's/@''GNULIB_MEMCHR''@/$(GL_GNULIB_MEMCHR)/g' \ ++ -e 's/@''GNULIB_MEMMEM''@/$(GL_GNULIB_MEMMEM)/g' \ ++ -e 's/@''GNULIB_MEMPCPY''@/$(GL_GNULIB_MEMPCPY)/g' \ ++ -e 's/@''GNULIB_MEMRCHR''@/$(GL_GNULIB_MEMRCHR)/g' \ ++ -e 's/@''GNULIB_RAWMEMCHR''@/$(GL_GNULIB_RAWMEMCHR)/g' \ ++ -e 's/@''GNULIB_STPCPY''@/$(GL_GNULIB_STPCPY)/g' \ ++ -e 's/@''GNULIB_STPNCPY''@/$(GL_GNULIB_STPNCPY)/g' \ ++ -e 's/@''GNULIB_STRCHRNUL''@/$(GL_GNULIB_STRCHRNUL)/g' \ ++ -e 's/@''GNULIB_STRDUP''@/$(GL_GNULIB_STRDUP)/g' \ ++ -e 's/@''GNULIB_STRNCAT''@/$(GL_GNULIB_STRNCAT)/g' \ ++ -e 's/@''GNULIB_STRNDUP''@/$(GL_GNULIB_STRNDUP)/g' \ ++ -e 's/@''GNULIB_STRNLEN''@/$(GL_GNULIB_STRNLEN)/g' \ ++ -e 's/@''GNULIB_STRPBRK''@/$(GL_GNULIB_STRPBRK)/g' \ ++ -e 's/@''GNULIB_STRSEP''@/$(GL_GNULIB_STRSEP)/g' \ ++ -e 's/@''GNULIB_STRSTR''@/$(GL_GNULIB_STRSTR)/g' \ ++ -e 's/@''GNULIB_STRCASESTR''@/$(GL_GNULIB_STRCASESTR)/g' \ ++ -e 's/@''GNULIB_STRTOK_R''@/$(GL_GNULIB_STRTOK_R)/g' \ ++ -e 's/@''GNULIB_STRERROR''@/$(GL_GNULIB_STRERROR)/g' \ ++ -e 's/@''GNULIB_STRERROR_R''@/$(GL_GNULIB_STRERROR_R)/g' \ ++ -e 's/@''GNULIB_STRERRORNAME_NP''@/$(GL_GNULIB_STRERRORNAME_NP)/g' \ ++ -e 's/@''GNULIB_SIGABBREV_NP''@/$(GL_GNULIB_SIGABBREV_NP)/g' \ ++ -e 's/@''GNULIB_SIGDESCR_NP''@/$(GL_GNULIB_SIGDESCR_NP)/g' \ ++ -e 's/@''GNULIB_STRSIGNAL''@/$(GL_GNULIB_STRSIGNAL)/g' \ ++ -e 's/@''GNULIB_STRVERSCMP''@/$(GL_GNULIB_STRVERSCMP)/g' \ ++ -e 's/@''GNULIB_MDA_MEMCCPY''@/$(GL_GNULIB_MDA_MEMCCPY)/g' \ ++ -e 's/@''GNULIB_MDA_STRDUP''@/$(GL_GNULIB_MDA_STRDUP)/g' \ + < $(srcdir)/string.in.h | \ + sed -e 's|@''HAVE_EXPLICIT_BZERO''@|$(HAVE_EXPLICIT_BZERO)|g' \ + -e 's|@''HAVE_FFSL''@|$(HAVE_FFSL)|g' \ +@@ -2893,7 +2933,7 @@ sys/file.h: sys_file.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_FILE_H''@|$(NEXT_SYS_FILE_H)|g' \ + -e 's/@''HAVE_FLOCK''@/$(HAVE_FLOCK)/g' \ +- -e 's/@''GNULIB_FLOCK''@/$(GNULIB_FLOCK)/g' \ ++ -e 's/@''GNULIB_FLOCK''@/$(GL_GNULIB_FLOCK)/g' \ + -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \ + < $(srcdir)/sys_file.in.h; \ + } > $@-t && \ +@@ -2922,7 +2962,7 @@ sys/random.h: sys_random.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_N + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_RANDOM_H''@|$(NEXT_SYS_RANDOM_H)|g' \ + -e 's|@''HAVE_SYS_RANDOM_H''@|$(HAVE_SYS_RANDOM_H)|g' \ +- -e 's/@''GNULIB_GETRANDOM''@/$(GNULIB_GETRANDOM)/g' \ ++ -e 's/@''GNULIB_GETRANDOM''@/$(GL_GNULIB_GETRANDOM)/g' \ + -e 's/@''HAVE_GETRANDOM''@/$(HAVE_GETRANDOM)/g' \ + -e 's/@''REPLACE_GETRANDOM''@/$(REPLACE_GETRANDOM)/g' \ + -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \ +@@ -2955,8 +2995,8 @@ sys/select.h: sys_select.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_SELECT_H''@|$(NEXT_SYS_SELECT_H)|g' \ + -e 's|@''HAVE_SYS_SELECT_H''@|$(HAVE_SYS_SELECT_H)|g' \ +- -e 's/@''GNULIB_PSELECT''@/$(GNULIB_PSELECT)/g' \ +- -e 's/@''GNULIB_SELECT''@/$(GNULIB_SELECT)/g' \ ++ -e 's/@''GNULIB_PSELECT''@/$(GL_GNULIB_PSELECT)/g' \ ++ -e 's/@''GNULIB_SELECT''@/$(GL_GNULIB_SELECT)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's|@''HAVE_PSELECT''@|$(HAVE_PSELECT)|g' \ + -e 's|@''REPLACE_PSELECT''@|$(REPLACE_PSELECT)|g' \ +@@ -2990,22 +3030,22 @@ sys/socket.h: sys_socket.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_SOCKET_H''@|$(NEXT_SYS_SOCKET_H)|g' \ + -e 's|@''HAVE_SYS_SOCKET_H''@|$(HAVE_SYS_SOCKET_H)|g' \ +- -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ +- -e 's/@''GNULIB_SOCKET''@/$(GNULIB_SOCKET)/g' \ +- -e 's/@''GNULIB_CONNECT''@/$(GNULIB_CONNECT)/g' \ +- -e 's/@''GNULIB_ACCEPT''@/$(GNULIB_ACCEPT)/g' \ +- -e 's/@''GNULIB_BIND''@/$(GNULIB_BIND)/g' \ +- -e 's/@''GNULIB_GETPEERNAME''@/$(GNULIB_GETPEERNAME)/g' \ +- -e 's/@''GNULIB_GETSOCKNAME''@/$(GNULIB_GETSOCKNAME)/g' \ +- -e 's/@''GNULIB_GETSOCKOPT''@/$(GNULIB_GETSOCKOPT)/g' \ +- -e 's/@''GNULIB_LISTEN''@/$(GNULIB_LISTEN)/g' \ +- -e 's/@''GNULIB_RECV''@/$(GNULIB_RECV)/g' \ +- -e 's/@''GNULIB_SEND''@/$(GNULIB_SEND)/g' \ +- -e 's/@''GNULIB_RECVFROM''@/$(GNULIB_RECVFROM)/g' \ +- -e 's/@''GNULIB_SENDTO''@/$(GNULIB_SENDTO)/g' \ +- -e 's/@''GNULIB_SETSOCKOPT''@/$(GNULIB_SETSOCKOPT)/g' \ +- -e 's/@''GNULIB_SHUTDOWN''@/$(GNULIB_SHUTDOWN)/g' \ +- -e 's/@''GNULIB_ACCEPT4''@/$(GNULIB_ACCEPT4)/g' \ ++ -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \ ++ -e 's/@''GNULIB_SOCKET''@/$(GL_GNULIB_SOCKET)/g' \ ++ -e 's/@''GNULIB_CONNECT''@/$(GL_GNULIB_CONNECT)/g' \ ++ -e 's/@''GNULIB_ACCEPT''@/$(GL_GNULIB_ACCEPT)/g' \ ++ -e 's/@''GNULIB_BIND''@/$(GL_GNULIB_BIND)/g' \ ++ -e 's/@''GNULIB_GETPEERNAME''@/$(GL_GNULIB_GETPEERNAME)/g' \ ++ -e 's/@''GNULIB_GETSOCKNAME''@/$(GL_GNULIB_GETSOCKNAME)/g' \ ++ -e 's/@''GNULIB_GETSOCKOPT''@/$(GL_GNULIB_GETSOCKOPT)/g' \ ++ -e 's/@''GNULIB_LISTEN''@/$(GL_GNULIB_LISTEN)/g' \ ++ -e 's/@''GNULIB_RECV''@/$(GL_GNULIB_RECV)/g' \ ++ -e 's/@''GNULIB_SEND''@/$(GL_GNULIB_SEND)/g' \ ++ -e 's/@''GNULIB_RECVFROM''@/$(GL_GNULIB_RECVFROM)/g' \ ++ -e 's/@''GNULIB_SENDTO''@/$(GL_GNULIB_SENDTO)/g' \ ++ -e 's/@''GNULIB_SETSOCKOPT''@/$(GL_GNULIB_SETSOCKOPT)/g' \ ++ -e 's/@''GNULIB_SHUTDOWN''@/$(GL_GNULIB_SHUTDOWN)/g' \ ++ -e 's/@''GNULIB_ACCEPT4''@/$(GL_GNULIB_ACCEPT4)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's|@''HAVE_WS2TCPIP_H''@|$(HAVE_WS2TCPIP_H)|g' \ + -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|$(HAVE_STRUCT_SOCKADDR_STORAGE)|g' \ +@@ -3042,25 +3082,25 @@ sys/stat.h: sys_stat.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU + -e 's|@''NEXT_SYS_STAT_H''@|$(NEXT_SYS_STAT_H)|g' \ + -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|$(WINDOWS_64_BIT_ST_SIZE)|g' \ + -e 's|@''WINDOWS_STAT_TIMESPEC''@|$(WINDOWS_STAT_TIMESPEC)|g' \ +- -e 's/@''GNULIB_FCHMODAT''@/$(GNULIB_FCHMODAT)/g' \ +- -e 's/@''GNULIB_FSTAT''@/$(GNULIB_FSTAT)/g' \ +- -e 's/@''GNULIB_FSTATAT''@/$(GNULIB_FSTATAT)/g' \ +- -e 's/@''GNULIB_FUTIMENS''@/$(GNULIB_FUTIMENS)/g' \ +- -e 's/@''GNULIB_GETUMASK''@/$(GNULIB_GETUMASK)/g' \ +- -e 's/@''GNULIB_LCHMOD''@/$(GNULIB_LCHMOD)/g' \ +- -e 's/@''GNULIB_LSTAT''@/$(GNULIB_LSTAT)/g' \ +- -e 's/@''GNULIB_MKDIR''@/$(GNULIB_MKDIR)/g' \ +- -e 's/@''GNULIB_MKDIRAT''@/$(GNULIB_MKDIRAT)/g' \ +- -e 's/@''GNULIB_MKFIFO''@/$(GNULIB_MKFIFO)/g' \ +- -e 's/@''GNULIB_MKFIFOAT''@/$(GNULIB_MKFIFOAT)/g' \ +- -e 's/@''GNULIB_MKNOD''@/$(GNULIB_MKNOD)/g' \ +- -e 's/@''GNULIB_MKNODAT''@/$(GNULIB_MKNODAT)/g' \ +- -e 's/@''GNULIB_STAT''@/$(GNULIB_STAT)/g' \ +- -e 's/@''GNULIB_UTIMENSAT''@/$(GNULIB_UTIMENSAT)/g' \ +- -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GNULIB_OVERRIDES_STRUCT_STAT)/g' \ +- -e 's/@''GNULIB_MDA_CHMOD''@/$(GNULIB_MDA_CHMOD)/g' \ +- -e 's/@''GNULIB_MDA_MKDIR''@/$(GNULIB_MDA_MKDIR)/g' \ +- -e 's/@''GNULIB_MDA_UMASK''@/$(GNULIB_MDA_UMASK)/g' \ ++ -e 's/@''GNULIB_FCHMODAT''@/$(GL_GNULIB_FCHMODAT)/g' \ ++ -e 's/@''GNULIB_FSTAT''@/$(GL_GNULIB_FSTAT)/g' \ ++ -e 's/@''GNULIB_FSTATAT''@/$(GL_GNULIB_FSTATAT)/g' \ ++ -e 's/@''GNULIB_FUTIMENS''@/$(GL_GNULIB_FUTIMENS)/g' \ ++ -e 's/@''GNULIB_GETUMASK''@/$(GL_GNULIB_GETUMASK)/g' \ ++ -e 's/@''GNULIB_LCHMOD''@/$(GL_GNULIB_LCHMOD)/g' \ ++ -e 's/@''GNULIB_LSTAT''@/$(GL_GNULIB_LSTAT)/g' \ ++ -e 's/@''GNULIB_MKDIR''@/$(GL_GNULIB_MKDIR)/g' \ ++ -e 's/@''GNULIB_MKDIRAT''@/$(GL_GNULIB_MKDIRAT)/g' \ ++ -e 's/@''GNULIB_MKFIFO''@/$(GL_GNULIB_MKFIFO)/g' \ ++ -e 's/@''GNULIB_MKFIFOAT''@/$(GL_GNULIB_MKFIFOAT)/g' \ ++ -e 's/@''GNULIB_MKNOD''@/$(GL_GNULIB_MKNOD)/g' \ ++ -e 's/@''GNULIB_MKNODAT''@/$(GL_GNULIB_MKNODAT)/g' \ ++ -e 's/@''GNULIB_STAT''@/$(GL_GNULIB_STAT)/g' \ ++ -e 's/@''GNULIB_UTIMENSAT''@/$(GL_GNULIB_UTIMENSAT)/g' \ ++ -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/$(GL_GNULIB_OVERRIDES_STRUCT_STAT)/g' \ ++ -e 's/@''GNULIB_MDA_CHMOD''@/$(GL_GNULIB_MDA_CHMOD)/g' \ ++ -e 's/@''GNULIB_MDA_MKDIR''@/$(GL_GNULIB_MDA_MKDIR)/g' \ ++ -e 's/@''GNULIB_MDA_UMASK''@/$(GL_GNULIB_MDA_UMASK)/g' \ + -e 's|@''HAVE_FCHMODAT''@|$(HAVE_FCHMODAT)|g' \ + -e 's|@''HAVE_FSTATAT''@|$(HAVE_FSTATAT)|g' \ + -e 's|@''HAVE_FUTIMENS''@|$(HAVE_FUTIMENS)|g' \ +@@ -3114,7 +3154,7 @@ sys/time.h: sys_time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNU + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_TIME_H''@|$(NEXT_SYS_TIME_H)|g' \ +- -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GNULIB_GETTIMEOFDAY)/g' \ ++ -e 's/@''GNULIB_GETTIMEOFDAY''@/$(GL_GNULIB_GETTIMEOFDAY)/g' \ + -e 's|@''HAVE_WINSOCK2_H''@|$(HAVE_WINSOCK2_H)|g' \ + -e 's/@''HAVE_GETTIMEOFDAY''@/$(HAVE_GETTIMEOFDAY)/g' \ + -e 's/@''HAVE_STRUCT_TIMEVAL''@/$(HAVE_STRUCT_TIMEVAL)/g' \ +@@ -3148,7 +3188,7 @@ sys/times.h: sys_times.in.h $(top_builddir)/config.status $(WARN_ON_USE_H) $(ARG + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_SYS_TIMES_H''@|$(NEXT_SYS_TIMES_H)|g' \ +- -e 's/@''GNULIB_TIMES''@/$(GNULIB_TIMES)/g' \ ++ -e 's/@''GNULIB_TIMES''@/$(GL_GNULIB_TIMES)/g' \ + -e 's|@''HAVE_STRUCT_TMS''@|$(HAVE_STRUCT_TMS)|g' \ + -e 's|@''HAVE_TIMES''@|$(HAVE_TIMES)|g' \ + -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \ +@@ -3239,18 +3279,18 @@ time.h: time.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $( + -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \ + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_TIME_H''@|$(NEXT_TIME_H)|g' \ +- -e 's/@''GNULIB_CTIME''@/$(GNULIB_CTIME)/g' \ +- -e 's/@''GNULIB_LOCALTIME''@/$(GNULIB_LOCALTIME)/g' \ +- -e 's/@''GNULIB_MKTIME''@/$(GNULIB_MKTIME)/g' \ +- -e 's/@''GNULIB_NANOSLEEP''@/$(GNULIB_NANOSLEEP)/g' \ +- -e 's/@''GNULIB_STRFTIME''@/$(GNULIB_STRFTIME)/g' \ +- -e 's/@''GNULIB_STRPTIME''@/$(GNULIB_STRPTIME)/g' \ +- -e 's/@''GNULIB_TIMEGM''@/$(GNULIB_TIMEGM)/g' \ +- -e 's/@''GNULIB_TIMESPEC_GET''@/$(GNULIB_TIMESPEC_GET)/g' \ +- -e 's/@''GNULIB_TIME_R''@/$(GNULIB_TIME_R)/g' \ +- -e 's/@''GNULIB_TIME_RZ''@/$(GNULIB_TIME_RZ)/g' \ +- -e 's/@''GNULIB_TZSET''@/$(GNULIB_TZSET)/g' \ +- -e 's/@''GNULIB_MDA_TZSET''@/$(GNULIB_MDA_TZSET)/g' \ ++ -e 's/@''GNULIB_CTIME''@/$(GL_GNULIB_CTIME)/g' \ ++ -e 's/@''GNULIB_LOCALTIME''@/$(GL_GNULIB_LOCALTIME)/g' \ ++ -e 's/@''GNULIB_MKTIME''@/$(GL_GNULIB_MKTIME)/g' \ ++ -e 's/@''GNULIB_NANOSLEEP''@/$(GL_GNULIB_NANOSLEEP)/g' \ ++ -e 's/@''GNULIB_STRFTIME''@/$(GL_GNULIB_STRFTIME)/g' \ ++ -e 's/@''GNULIB_STRPTIME''@/$(GL_GNULIB_STRPTIME)/g' \ ++ -e 's/@''GNULIB_TIMEGM''@/$(GL_GNULIB_TIMEGM)/g' \ ++ -e 's/@''GNULIB_TIMESPEC_GET''@/$(GL_GNULIB_TIMESPEC_GET)/g' \ ++ -e 's/@''GNULIB_TIME_R''@/$(GL_GNULIB_TIME_R)/g' \ ++ -e 's/@''GNULIB_TIME_RZ''@/$(GL_GNULIB_TIME_RZ)/g' \ ++ -e 's/@''GNULIB_TZSET''@/$(GL_GNULIB_TZSET)/g' \ ++ -e 's/@''GNULIB_MDA_TZSET''@/$(GL_GNULIB_MDA_TZSET)/g' \ + -e 's|@''HAVE_DECL_LOCALTIME_R''@|$(HAVE_DECL_LOCALTIME_R)|g' \ + -e 's|@''HAVE_NANOSLEEP''@|$(HAVE_NANOSLEEP)|g' \ + -e 's|@''HAVE_STRPTIME''@|$(HAVE_STRPTIME)|g' \ +@@ -3360,89 +3400,89 @@ unistd.h: unistd.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_UNISTD_H''@|$(NEXT_UNISTD_H)|g' \ + -e 's|@''WINDOWS_64_BIT_OFF_T''@|$(WINDOWS_64_BIT_OFF_T)|g' \ +- -e 's/@''GNULIB_ACCESS''@/$(GNULIB_ACCESS)/g' \ +- -e 's/@''GNULIB_CHDIR''@/$(GNULIB_CHDIR)/g' \ +- -e 's/@''GNULIB_CHOWN''@/$(GNULIB_CHOWN)/g' \ +- -e 's/@''GNULIB_CLOSE''@/$(GNULIB_CLOSE)/g' \ +- -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GNULIB_COPY_FILE_RANGE)/g' \ +- -e 's/@''GNULIB_DUP''@/$(GNULIB_DUP)/g' \ +- -e 's/@''GNULIB_DUP2''@/$(GNULIB_DUP2)/g' \ +- -e 's/@''GNULIB_DUP3''@/$(GNULIB_DUP3)/g' \ +- -e 's/@''GNULIB_ENVIRON''@/$(GNULIB_ENVIRON)/g' \ +- -e 's/@''GNULIB_EUIDACCESS''@/$(GNULIB_EUIDACCESS)/g' \ +- -e 's/@''GNULIB_EXECL''@/$(GNULIB_EXECL)/g' \ +- -e 's/@''GNULIB_EXECLE''@/$(GNULIB_EXECLE)/g' \ +- -e 's/@''GNULIB_EXECLP''@/$(GNULIB_EXECLP)/g' \ +- -e 's/@''GNULIB_EXECV''@/$(GNULIB_EXECV)/g' \ +- -e 's/@''GNULIB_EXECVE''@/$(GNULIB_EXECVE)/g' \ +- -e 's/@''GNULIB_EXECVP''@/$(GNULIB_EXECVP)/g' \ +- -e 's/@''GNULIB_EXECVPE''@/$(GNULIB_EXECVPE)/g' \ +- -e 's/@''GNULIB_FACCESSAT''@/$(GNULIB_FACCESSAT)/g' \ +- -e 's/@''GNULIB_FCHDIR''@/$(GNULIB_FCHDIR)/g' \ +- -e 's/@''GNULIB_FCHOWNAT''@/$(GNULIB_FCHOWNAT)/g' \ +- -e 's/@''GNULIB_FDATASYNC''@/$(GNULIB_FDATASYNC)/g' \ +- -e 's/@''GNULIB_FSYNC''@/$(GNULIB_FSYNC)/g' \ +- -e 's/@''GNULIB_FTRUNCATE''@/$(GNULIB_FTRUNCATE)/g' \ +- -e 's/@''GNULIB_GETCWD''@/$(GNULIB_GETCWD)/g' \ +- -e 's/@''GNULIB_GETDOMAINNAME''@/$(GNULIB_GETDOMAINNAME)/g' \ +- -e 's/@''GNULIB_GETDTABLESIZE''@/$(GNULIB_GETDTABLESIZE)/g' \ +- -e 's/@''GNULIB_GETENTROPY''@/$(GNULIB_GETENTROPY)/g' \ +- -e 's/@''GNULIB_GETGROUPS''@/$(GNULIB_GETGROUPS)/g' \ +- -e 's/@''GNULIB_GETHOSTNAME''@/$(GNULIB_GETHOSTNAME)/g' \ +- -e 's/@''GNULIB_GETLOGIN''@/$(GNULIB_GETLOGIN)/g' \ +- -e 's/@''GNULIB_GETLOGIN_R''@/$(GNULIB_GETLOGIN_R)/g' \ +- -e 's/@''GNULIB_GETOPT_POSIX''@/$(GNULIB_GETOPT_POSIX)/g' \ +- -e 's/@''GNULIB_GETPAGESIZE''@/$(GNULIB_GETPAGESIZE)/g' \ +- -e 's/@''GNULIB_GETPASS''@/$(GNULIB_GETPASS)/g' \ +- -e 's/@''GNULIB_GETUSERSHELL''@/$(GNULIB_GETUSERSHELL)/g' \ +- -e 's/@''GNULIB_GROUP_MEMBER''@/$(GNULIB_GROUP_MEMBER)/g' \ +- -e 's/@''GNULIB_ISATTY''@/$(GNULIB_ISATTY)/g' \ +- -e 's/@''GNULIB_LCHOWN''@/$(GNULIB_LCHOWN)/g' \ +- -e 's/@''GNULIB_LINK''@/$(GNULIB_LINK)/g' \ +- -e 's/@''GNULIB_LINKAT''@/$(GNULIB_LINKAT)/g' \ +- -e 's/@''GNULIB_LSEEK''@/$(GNULIB_LSEEK)/g' \ +- -e 's/@''GNULIB_PIPE''@/$(GNULIB_PIPE)/g' \ +- -e 's/@''GNULIB_PIPE2''@/$(GNULIB_PIPE2)/g' \ +- -e 's/@''GNULIB_PREAD''@/$(GNULIB_PREAD)/g' \ +- -e 's/@''GNULIB_PWRITE''@/$(GNULIB_PWRITE)/g' \ +- -e 's/@''GNULIB_READ''@/$(GNULIB_READ)/g' \ +- -e 's/@''GNULIB_READLINK''@/$(GNULIB_READLINK)/g' \ +- -e 's/@''GNULIB_READLINKAT''@/$(GNULIB_READLINKAT)/g' \ +- -e 's/@''GNULIB_RMDIR''@/$(GNULIB_RMDIR)/g' \ +- -e 's/@''GNULIB_SETHOSTNAME''@/$(GNULIB_SETHOSTNAME)/g' \ +- -e 's/@''GNULIB_SLEEP''@/$(GNULIB_SLEEP)/g' \ +- -e 's/@''GNULIB_SYMLINK''@/$(GNULIB_SYMLINK)/g' \ +- -e 's/@''GNULIB_SYMLINKAT''@/$(GNULIB_SYMLINKAT)/g' \ +- -e 's/@''GNULIB_TRUNCATE''@/$(GNULIB_TRUNCATE)/g' \ +- -e 's/@''GNULIB_TTYNAME_R''@/$(GNULIB_TTYNAME_R)/g' \ +- -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GNULIB_GL_UNISTD_H_GETOPT)/g' \ +- -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GNULIB_UNISTD_H_NONBLOCKING)/g' \ +- -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GNULIB_UNISTD_H_SIGPIPE)/g' \ +- -e 's/@''GNULIB_UNLINK''@/$(GNULIB_UNLINK)/g' \ +- -e 's/@''GNULIB_UNLINKAT''@/$(GNULIB_UNLINKAT)/g' \ +- -e 's/@''GNULIB_USLEEP''@/$(GNULIB_USLEEP)/g' \ +- -e 's/@''GNULIB_WRITE''@/$(GNULIB_WRITE)/g' \ +- -e 's/@''GNULIB_MDA_ACCESS''@/$(GNULIB_MDA_ACCESS)/g' \ +- -e 's/@''GNULIB_MDA_CHDIR''@/$(GNULIB_MDA_CHDIR)/g' \ +- -e 's/@''GNULIB_MDA_CLOSE''@/$(GNULIB_MDA_CLOSE)/g' \ +- -e 's/@''GNULIB_MDA_DUP''@/$(GNULIB_MDA_DUP)/g' \ +- -e 's/@''GNULIB_MDA_DUP2''@/$(GNULIB_MDA_DUP2)/g' \ +- -e 's/@''GNULIB_MDA_EXECL''@/$(GNULIB_MDA_EXECL)/g' \ +- -e 's/@''GNULIB_MDA_EXECLE''@/$(GNULIB_MDA_EXECLE)/g' \ +- -e 's/@''GNULIB_MDA_EXECLP''@/$(GNULIB_MDA_EXECLP)/g' \ +- -e 's/@''GNULIB_MDA_EXECV''@/$(GNULIB_MDA_EXECV)/g' \ +- -e 's/@''GNULIB_MDA_EXECVE''@/$(GNULIB_MDA_EXECVE)/g' \ +- -e 's/@''GNULIB_MDA_EXECVP''@/$(GNULIB_MDA_EXECVP)/g' \ +- -e 's/@''GNULIB_MDA_EXECVPE''@/$(GNULIB_MDA_EXECVPE)/g' \ +- -e 's/@''GNULIB_MDA_GETCWD''@/$(GNULIB_MDA_GETCWD)/g' \ +- -e 's/@''GNULIB_MDA_GETPID''@/$(GNULIB_MDA_GETPID)/g' \ +- -e 's/@''GNULIB_MDA_ISATTY''@/$(GNULIB_MDA_ISATTY)/g' \ +- -e 's/@''GNULIB_MDA_LSEEK''@/$(GNULIB_MDA_LSEEK)/g' \ +- -e 's/@''GNULIB_MDA_READ''@/$(GNULIB_MDA_READ)/g' \ +- -e 's/@''GNULIB_MDA_RMDIR''@/$(GNULIB_MDA_RMDIR)/g' \ +- -e 's/@''GNULIB_MDA_SWAB''@/$(GNULIB_MDA_SWAB)/g' \ +- -e 's/@''GNULIB_MDA_UNLINK''@/$(GNULIB_MDA_UNLINK)/g' \ +- -e 's/@''GNULIB_MDA_WRITE''@/$(GNULIB_MDA_WRITE)/g' \ ++ -e 's/@''GNULIB_ACCESS''@/$(GL_GNULIB_ACCESS)/g' \ ++ -e 's/@''GNULIB_CHDIR''@/$(GL_GNULIB_CHDIR)/g' \ ++ -e 's/@''GNULIB_CHOWN''@/$(GL_GNULIB_CHOWN)/g' \ ++ -e 's/@''GNULIB_CLOSE''@/$(GL_GNULIB_CLOSE)/g' \ ++ -e 's/@''GNULIB_COPY_FILE_RANGE''@/$(GL_GNULIB_COPY_FILE_RANGE)/g' \ ++ -e 's/@''GNULIB_DUP''@/$(GL_GNULIB_DUP)/g' \ ++ -e 's/@''GNULIB_DUP2''@/$(GL_GNULIB_DUP2)/g' \ ++ -e 's/@''GNULIB_DUP3''@/$(GL_GNULIB_DUP3)/g' \ ++ -e 's/@''GNULIB_ENVIRON''@/$(GL_GNULIB_ENVIRON)/g' \ ++ -e 's/@''GNULIB_EUIDACCESS''@/$(GL_GNULIB_EUIDACCESS)/g' \ ++ -e 's/@''GNULIB_EXECL''@/$(GL_GNULIB_EXECL)/g' \ ++ -e 's/@''GNULIB_EXECLE''@/$(GL_GNULIB_EXECLE)/g' \ ++ -e 's/@''GNULIB_EXECLP''@/$(GL_GNULIB_EXECLP)/g' \ ++ -e 's/@''GNULIB_EXECV''@/$(GL_GNULIB_EXECV)/g' \ ++ -e 's/@''GNULIB_EXECVE''@/$(GL_GNULIB_EXECVE)/g' \ ++ -e 's/@''GNULIB_EXECVP''@/$(GL_GNULIB_EXECVP)/g' \ ++ -e 's/@''GNULIB_EXECVPE''@/$(GL_GNULIB_EXECVPE)/g' \ ++ -e 's/@''GNULIB_FACCESSAT''@/$(GL_GNULIB_FACCESSAT)/g' \ ++ -e 's/@''GNULIB_FCHDIR''@/$(GL_GNULIB_FCHDIR)/g' \ ++ -e 's/@''GNULIB_FCHOWNAT''@/$(GL_GNULIB_FCHOWNAT)/g' \ ++ -e 's/@''GNULIB_FDATASYNC''@/$(GL_GNULIB_FDATASYNC)/g' \ ++ -e 's/@''GNULIB_FSYNC''@/$(GL_GNULIB_FSYNC)/g' \ ++ -e 's/@''GNULIB_FTRUNCATE''@/$(GL_GNULIB_FTRUNCATE)/g' \ ++ -e 's/@''GNULIB_GETCWD''@/$(GL_GNULIB_GETCWD)/g' \ ++ -e 's/@''GNULIB_GETDOMAINNAME''@/$(GL_GNULIB_GETDOMAINNAME)/g' \ ++ -e 's/@''GNULIB_GETDTABLESIZE''@/$(GL_GNULIB_GETDTABLESIZE)/g' \ ++ -e 's/@''GNULIB_GETENTROPY''@/$(GL_GNULIB_GETENTROPY)/g' \ ++ -e 's/@''GNULIB_GETGROUPS''@/$(GL_GNULIB_GETGROUPS)/g' \ ++ -e 's/@''GNULIB_GETHOSTNAME''@/$(GL_GNULIB_GETHOSTNAME)/g' \ ++ -e 's/@''GNULIB_GETLOGIN''@/$(GL_GNULIB_GETLOGIN)/g' \ ++ -e 's/@''GNULIB_GETLOGIN_R''@/$(GL_GNULIB_GETLOGIN_R)/g' \ ++ -e 's/@''GNULIB_GETOPT_POSIX''@/$(GL_GNULIB_GETOPT_POSIX)/g' \ ++ -e 's/@''GNULIB_GETPAGESIZE''@/$(GL_GNULIB_GETPAGESIZE)/g' \ ++ -e 's/@''GNULIB_GETPASS''@/$(GL_GNULIB_GETPASS)/g' \ ++ -e 's/@''GNULIB_GETUSERSHELL''@/$(GL_GNULIB_GETUSERSHELL)/g' \ ++ -e 's/@''GNULIB_GROUP_MEMBER''@/$(GL_GNULIB_GROUP_MEMBER)/g' \ ++ -e 's/@''GNULIB_ISATTY''@/$(GL_GNULIB_ISATTY)/g' \ ++ -e 's/@''GNULIB_LCHOWN''@/$(GL_GNULIB_LCHOWN)/g' \ ++ -e 's/@''GNULIB_LINK''@/$(GL_GNULIB_LINK)/g' \ ++ -e 's/@''GNULIB_LINKAT''@/$(GL_GNULIB_LINKAT)/g' \ ++ -e 's/@''GNULIB_LSEEK''@/$(GL_GNULIB_LSEEK)/g' \ ++ -e 's/@''GNULIB_PIPE''@/$(GL_GNULIB_PIPE)/g' \ ++ -e 's/@''GNULIB_PIPE2''@/$(GL_GNULIB_PIPE2)/g' \ ++ -e 's/@''GNULIB_PREAD''@/$(GL_GNULIB_PREAD)/g' \ ++ -e 's/@''GNULIB_PWRITE''@/$(GL_GNULIB_PWRITE)/g' \ ++ -e 's/@''GNULIB_READ''@/$(GL_GNULIB_READ)/g' \ ++ -e 's/@''GNULIB_READLINK''@/$(GL_GNULIB_READLINK)/g' \ ++ -e 's/@''GNULIB_READLINKAT''@/$(GL_GNULIB_READLINKAT)/g' \ ++ -e 's/@''GNULIB_RMDIR''@/$(GL_GNULIB_RMDIR)/g' \ ++ -e 's/@''GNULIB_SETHOSTNAME''@/$(GL_GNULIB_SETHOSTNAME)/g' \ ++ -e 's/@''GNULIB_SLEEP''@/$(GL_GNULIB_SLEEP)/g' \ ++ -e 's/@''GNULIB_SYMLINK''@/$(GL_GNULIB_SYMLINK)/g' \ ++ -e 's/@''GNULIB_SYMLINKAT''@/$(GL_GNULIB_SYMLINKAT)/g' \ ++ -e 's/@''GNULIB_TRUNCATE''@/$(GL_GNULIB_TRUNCATE)/g' \ ++ -e 's/@''GNULIB_TTYNAME_R''@/$(GL_GNULIB_TTYNAME_R)/g' \ ++ -e 's/@''GNULIB_UNISTD_H_GETOPT''@/0$(GL_GNULIB_UNISTD_H_GETOPT)/g' \ ++ -e 's/@''GNULIB_UNISTD_H_NONBLOCKING''@/$(GL_GNULIB_UNISTD_H_NONBLOCKING)/g' \ ++ -e 's/@''GNULIB_UNISTD_H_SIGPIPE''@/$(GL_GNULIB_UNISTD_H_SIGPIPE)/g' \ ++ -e 's/@''GNULIB_UNLINK''@/$(GL_GNULIB_UNLINK)/g' \ ++ -e 's/@''GNULIB_UNLINKAT''@/$(GL_GNULIB_UNLINKAT)/g' \ ++ -e 's/@''GNULIB_USLEEP''@/$(GL_GNULIB_USLEEP)/g' \ ++ -e 's/@''GNULIB_WRITE''@/$(GL_GNULIB_WRITE)/g' \ ++ -e 's/@''GNULIB_MDA_ACCESS''@/$(GL_GNULIB_MDA_ACCESS)/g' \ ++ -e 's/@''GNULIB_MDA_CHDIR''@/$(GL_GNULIB_MDA_CHDIR)/g' \ ++ -e 's/@''GNULIB_MDA_CLOSE''@/$(GL_GNULIB_MDA_CLOSE)/g' \ ++ -e 's/@''GNULIB_MDA_DUP''@/$(GL_GNULIB_MDA_DUP)/g' \ ++ -e 's/@''GNULIB_MDA_DUP2''@/$(GL_GNULIB_MDA_DUP2)/g' \ ++ -e 's/@''GNULIB_MDA_EXECL''@/$(GL_GNULIB_MDA_EXECL)/g' \ ++ -e 's/@''GNULIB_MDA_EXECLE''@/$(GL_GNULIB_MDA_EXECLE)/g' \ ++ -e 's/@''GNULIB_MDA_EXECLP''@/$(GL_GNULIB_MDA_EXECLP)/g' \ ++ -e 's/@''GNULIB_MDA_EXECV''@/$(GL_GNULIB_MDA_EXECV)/g' \ ++ -e 's/@''GNULIB_MDA_EXECVE''@/$(GL_GNULIB_MDA_EXECVE)/g' \ ++ -e 's/@''GNULIB_MDA_EXECVP''@/$(GL_GNULIB_MDA_EXECVP)/g' \ ++ -e 's/@''GNULIB_MDA_EXECVPE''@/$(GL_GNULIB_MDA_EXECVPE)/g' \ ++ -e 's/@''GNULIB_MDA_GETCWD''@/$(GL_GNULIB_MDA_GETCWD)/g' \ ++ -e 's/@''GNULIB_MDA_GETPID''@/$(GL_GNULIB_MDA_GETPID)/g' \ ++ -e 's/@''GNULIB_MDA_ISATTY''@/$(GL_GNULIB_MDA_ISATTY)/g' \ ++ -e 's/@''GNULIB_MDA_LSEEK''@/$(GL_GNULIB_MDA_LSEEK)/g' \ ++ -e 's/@''GNULIB_MDA_READ''@/$(GL_GNULIB_MDA_READ)/g' \ ++ -e 's/@''GNULIB_MDA_RMDIR''@/$(GL_GNULIB_MDA_RMDIR)/g' \ ++ -e 's/@''GNULIB_MDA_SWAB''@/$(GL_GNULIB_MDA_SWAB)/g' \ ++ -e 's/@''GNULIB_MDA_UNLINK''@/$(GL_GNULIB_MDA_UNLINK)/g' \ ++ -e 's/@''GNULIB_MDA_WRITE''@/$(GL_GNULIB_MDA_WRITE)/g' \ + < $(srcdir)/unistd.in.h | \ + sed -e 's|@''HAVE_CHOWN''@|$(HAVE_CHOWN)|g' \ + -e 's|@''HAVE_COPY_FILE_RANGE''@|$(HAVE_COPY_FILE_RANGE)|g' \ +@@ -3617,49 +3657,49 @@ wchar.h: wchar.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) + -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \ + -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \ + -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ +- -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ +- -e 's/@''GNULIB_BTOWC''@/$(GNULIB_BTOWC)/g' \ +- -e 's/@''GNULIB_WCTOB''@/$(GNULIB_WCTOB)/g' \ +- -e 's/@''GNULIB_MBSINIT''@/$(GNULIB_MBSINIT)/g' \ +- -e 's/@''GNULIB_MBRTOWC''@/$(GNULIB_MBRTOWC)/g' \ +- -e 's/@''GNULIB_MBRLEN''@/$(GNULIB_MBRLEN)/g' \ +- -e 's/@''GNULIB_MBSRTOWCS''@/$(GNULIB_MBSRTOWCS)/g' \ +- -e 's/@''GNULIB_MBSNRTOWCS''@/$(GNULIB_MBSNRTOWCS)/g' \ +- -e 's/@''GNULIB_WCRTOMB''@/$(GNULIB_WCRTOMB)/g' \ +- -e 's/@''GNULIB_WCSRTOMBS''@/$(GNULIB_WCSRTOMBS)/g' \ +- -e 's/@''GNULIB_WCSNRTOMBS''@/$(GNULIB_WCSNRTOMBS)/g' \ +- -e 's/@''GNULIB_WCWIDTH''@/$(GNULIB_WCWIDTH)/g' \ +- -e 's/@''GNULIB_WMEMCHR''@/$(GNULIB_WMEMCHR)/g' \ +- -e 's/@''GNULIB_WMEMCMP''@/$(GNULIB_WMEMCMP)/g' \ +- -e 's/@''GNULIB_WMEMCPY''@/$(GNULIB_WMEMCPY)/g' \ +- -e 's/@''GNULIB_WMEMMOVE''@/$(GNULIB_WMEMMOVE)/g' \ +- -e 's/@''GNULIB_WMEMPCPY''@/$(GNULIB_WMEMPCPY)/g' \ +- -e 's/@''GNULIB_WMEMSET''@/$(GNULIB_WMEMSET)/g' \ +- -e 's/@''GNULIB_WCSLEN''@/$(GNULIB_WCSLEN)/g' \ +- -e 's/@''GNULIB_WCSNLEN''@/$(GNULIB_WCSNLEN)/g' \ +- -e 's/@''GNULIB_WCSCPY''@/$(GNULIB_WCSCPY)/g' \ +- -e 's/@''GNULIB_WCPCPY''@/$(GNULIB_WCPCPY)/g' \ +- -e 's/@''GNULIB_WCSNCPY''@/$(GNULIB_WCSNCPY)/g' \ +- -e 's/@''GNULIB_WCPNCPY''@/$(GNULIB_WCPNCPY)/g' \ +- -e 's/@''GNULIB_WCSCAT''@/$(GNULIB_WCSCAT)/g' \ +- -e 's/@''GNULIB_WCSNCAT''@/$(GNULIB_WCSNCAT)/g' \ +- -e 's/@''GNULIB_WCSCMP''@/$(GNULIB_WCSCMP)/g' \ +- -e 's/@''GNULIB_WCSNCMP''@/$(GNULIB_WCSNCMP)/g' \ +- -e 's/@''GNULIB_WCSCASECMP''@/$(GNULIB_WCSCASECMP)/g' \ +- -e 's/@''GNULIB_WCSNCASECMP''@/$(GNULIB_WCSNCASECMP)/g' \ +- -e 's/@''GNULIB_WCSCOLL''@/$(GNULIB_WCSCOLL)/g' \ +- -e 's/@''GNULIB_WCSXFRM''@/$(GNULIB_WCSXFRM)/g' \ +- -e 's/@''GNULIB_WCSDUP''@/$(GNULIB_WCSDUP)/g' \ +- -e 's/@''GNULIB_WCSCHR''@/$(GNULIB_WCSCHR)/g' \ +- -e 's/@''GNULIB_WCSRCHR''@/$(GNULIB_WCSRCHR)/g' \ +- -e 's/@''GNULIB_WCSCSPN''@/$(GNULIB_WCSCSPN)/g' \ +- -e 's/@''GNULIB_WCSSPN''@/$(GNULIB_WCSSPN)/g' \ +- -e 's/@''GNULIB_WCSPBRK''@/$(GNULIB_WCSPBRK)/g' \ +- -e 's/@''GNULIB_WCSSTR''@/$(GNULIB_WCSSTR)/g' \ +- -e 's/@''GNULIB_WCSTOK''@/$(GNULIB_WCSTOK)/g' \ +- -e 's/@''GNULIB_WCSWIDTH''@/$(GNULIB_WCSWIDTH)/g' \ +- -e 's/@''GNULIB_WCSFTIME''@/$(GNULIB_WCSFTIME)/g' \ +- -e 's/@''GNULIB_MDA_WCSDUP''@/$(GNULIB_MDA_WCSDUP)/g' \ ++ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ ++ -e 's/@''GNULIB_BTOWC''@/$(GL_GNULIB_BTOWC)/g' \ ++ -e 's/@''GNULIB_WCTOB''@/$(GL_GNULIB_WCTOB)/g' \ ++ -e 's/@''GNULIB_MBSINIT''@/$(GL_GNULIB_MBSINIT)/g' \ ++ -e 's/@''GNULIB_MBRTOWC''@/$(GL_GNULIB_MBRTOWC)/g' \ ++ -e 's/@''GNULIB_MBRLEN''@/$(GL_GNULIB_MBRLEN)/g' \ ++ -e 's/@''GNULIB_MBSRTOWCS''@/$(GL_GNULIB_MBSRTOWCS)/g' \ ++ -e 's/@''GNULIB_MBSNRTOWCS''@/$(GL_GNULIB_MBSNRTOWCS)/g' \ ++ -e 's/@''GNULIB_WCRTOMB''@/$(GL_GNULIB_WCRTOMB)/g' \ ++ -e 's/@''GNULIB_WCSRTOMBS''@/$(GL_GNULIB_WCSRTOMBS)/g' \ ++ -e 's/@''GNULIB_WCSNRTOMBS''@/$(GL_GNULIB_WCSNRTOMBS)/g' \ ++ -e 's/@''GNULIB_WCWIDTH''@/$(GL_GNULIB_WCWIDTH)/g' \ ++ -e 's/@''GNULIB_WMEMCHR''@/$(GL_GNULIB_WMEMCHR)/g' \ ++ -e 's/@''GNULIB_WMEMCMP''@/$(GL_GNULIB_WMEMCMP)/g' \ ++ -e 's/@''GNULIB_WMEMCPY''@/$(GL_GNULIB_WMEMCPY)/g' \ ++ -e 's/@''GNULIB_WMEMMOVE''@/$(GL_GNULIB_WMEMMOVE)/g' \ ++ -e 's/@''GNULIB_WMEMPCPY''@/$(GL_GNULIB_WMEMPCPY)/g' \ ++ -e 's/@''GNULIB_WMEMSET''@/$(GL_GNULIB_WMEMSET)/g' \ ++ -e 's/@''GNULIB_WCSLEN''@/$(GL_GNULIB_WCSLEN)/g' \ ++ -e 's/@''GNULIB_WCSNLEN''@/$(GL_GNULIB_WCSNLEN)/g' \ ++ -e 's/@''GNULIB_WCSCPY''@/$(GL_GNULIB_WCSCPY)/g' \ ++ -e 's/@''GNULIB_WCPCPY''@/$(GL_GNULIB_WCPCPY)/g' \ ++ -e 's/@''GNULIB_WCSNCPY''@/$(GL_GNULIB_WCSNCPY)/g' \ ++ -e 's/@''GNULIB_WCPNCPY''@/$(GL_GNULIB_WCPNCPY)/g' \ ++ -e 's/@''GNULIB_WCSCAT''@/$(GL_GNULIB_WCSCAT)/g' \ ++ -e 's/@''GNULIB_WCSNCAT''@/$(GL_GNULIB_WCSNCAT)/g' \ ++ -e 's/@''GNULIB_WCSCMP''@/$(GL_GNULIB_WCSCMP)/g' \ ++ -e 's/@''GNULIB_WCSNCMP''@/$(GL_GNULIB_WCSNCMP)/g' \ ++ -e 's/@''GNULIB_WCSCASECMP''@/$(GL_GNULIB_WCSCASECMP)/g' \ ++ -e 's/@''GNULIB_WCSNCASECMP''@/$(GL_GNULIB_WCSNCASECMP)/g' \ ++ -e 's/@''GNULIB_WCSCOLL''@/$(GL_GNULIB_WCSCOLL)/g' \ ++ -e 's/@''GNULIB_WCSXFRM''@/$(GL_GNULIB_WCSXFRM)/g' \ ++ -e 's/@''GNULIB_WCSDUP''@/$(GL_GNULIB_WCSDUP)/g' \ ++ -e 's/@''GNULIB_WCSCHR''@/$(GL_GNULIB_WCSCHR)/g' \ ++ -e 's/@''GNULIB_WCSRCHR''@/$(GL_GNULIB_WCSRCHR)/g' \ ++ -e 's/@''GNULIB_WCSCSPN''@/$(GL_GNULIB_WCSCSPN)/g' \ ++ -e 's/@''GNULIB_WCSSPN''@/$(GL_GNULIB_WCSSPN)/g' \ ++ -e 's/@''GNULIB_WCSPBRK''@/$(GL_GNULIB_WCSPBRK)/g' \ ++ -e 's/@''GNULIB_WCSSTR''@/$(GL_GNULIB_WCSSTR)/g' \ ++ -e 's/@''GNULIB_WCSTOK''@/$(GL_GNULIB_WCSTOK)/g' \ ++ -e 's/@''GNULIB_WCSWIDTH''@/$(GL_GNULIB_WCSWIDTH)/g' \ ++ -e 's/@''GNULIB_WCSFTIME''@/$(GL_GNULIB_WCSFTIME)/g' \ ++ -e 's/@''GNULIB_MDA_WCSDUP''@/$(GL_GNULIB_MDA_WCSDUP)/g' \ + < $(srcdir)/wchar.in.h | \ + sed -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \ + -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \ +@@ -3760,14 +3800,14 @@ wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H + -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \ + -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ + -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \ +- -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \ +- -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \ +- -e 's/@''GNULIB_ISWDIGIT''@/$(GNULIB_ISWDIGIT)/g' \ +- -e 's/@''GNULIB_ISWXDIGIT''@/$(GNULIB_ISWXDIGIT)/g' \ +- -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \ +- -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \ +- -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \ +- -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \ ++ -e 's/@''GNULIBHEADERS_OVERRIDE_WINT_T''@/$(GNULIBHEADERS_OVERRIDE_WINT_T)/g' \ ++ -e 's/@''GNULIB_ISWBLANK''@/$(GL_GNULIB_ISWBLANK)/g' \ ++ -e 's/@''GNULIB_ISWDIGIT''@/$(GL_GNULIB_ISWDIGIT)/g' \ ++ -e 's/@''GNULIB_ISWXDIGIT''@/$(GL_GNULIB_ISWXDIGIT)/g' \ ++ -e 's/@''GNULIB_WCTYPE''@/$(GL_GNULIB_WCTYPE)/g' \ ++ -e 's/@''GNULIB_ISWCTYPE''@/$(GL_GNULIB_ISWCTYPE)/g' \ ++ -e 's/@''GNULIB_WCTRANS''@/$(GL_GNULIB_WCTRANS)/g' \ ++ -e 's/@''GNULIB_TOWCTRANS''@/$(GL_GNULIB_TOWCTRANS)/g' \ + -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \ + -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ + -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \ +diff --git a/lib/_Noreturn.h b/lib/_Noreturn.h +index cb72f26..6fed3c7 100644 +--- a/lib/_Noreturn.h ++++ b/lib/_Noreturn.h +@@ -29,7 +29,7 @@ + # elif ((!defined __cplusplus || defined __clang__) \ + && (201112 <= (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) \ + || (!defined __STRICT_ANSI__ \ +- && (__4 < __GNUC__ + (7 <= __GNUC_MINOR__) \ ++ && (4 < __GNUC__ + (7 <= __GNUC_MINOR__) \ + || (defined __apple_build_version__ \ + ? 6000000 <= __apple_build_version__ \ + : 3 < __clang_major__ + (5 <= __clang_minor__)))))) +diff --git a/lib/accept.c b/lib/accept.c +index 4ec4f43..71457db 100644 +--- a/lib/accept.c ++++ b/lib/accept.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/accept4.c b/lib/accept4.c +index b444e22..4c2b80e 100644 +--- a/lib/accept4.c ++++ b/lib/accept4.c +@@ -1,18 +1,18 @@ + /* Accept a connection on a socket, with specific opening flags. + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/alignof.h b/lib/alignof.h +index 6977c3e..e6e7a51 100644 +--- a/lib/alignof.h ++++ b/lib/alignof.h +@@ -1,18 +1,18 @@ + /* Determine alignment of types. + Copyright (C) 2003-2004, 2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _ALIGNOF_H + #define _ALIGNOF_H +diff --git a/lib/alloca.c b/lib/alloca.c +index 91b9ec3..4880283 100644 +--- a/lib/alloca.c ++++ b/lib/alloca.c +@@ -1,5 +1,7 @@ + /* alloca.c -- allocate automatically reclaimed memory +- (Mostly) portable public-domain implementation -- D A Gwyn ++ This file is in the public domain. */ ++ ++/* (Mostly) portable implementation -- D A Gwyn + + This implementation of the PWB library alloca function, + which is used to allocate space off the run-time stack so +diff --git a/lib/alloca.in.h b/lib/alloca.in.h +index 9c7ccbb..65c2d4d 100644 +--- a/lib/alloca.in.h ++++ b/lib/alloca.in.h +@@ -3,20 +3,18 @@ + Copyright (C) 1995, 1999, 2001-2004, 2006-2021 Free Software Foundation, + Inc. + +- This program is free software; you can redistribute it and/or modify it +- under the terms of the GNU Lesser General Public License as published +- by the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +- Lesser General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public +- License along with this program; if not, see +- . +- */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Avoid using the symbol _ALLOCA_H here, as Bison assumes _ALLOCA_H + means there is a real alloca function. */ +diff --git a/lib/arpa_inet.in.h b/lib/arpa_inet.in.h +index 0ac83ab..9968067 100644 +--- a/lib/arpa_inet.in.h ++++ b/lib/arpa_inet.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2005-2006, 2008-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _@GUARD_PREFIX@_ARPA_INET_H + +diff --git a/lib/asnprintf.c b/lib/asnprintf.c +index 420440a..c5367b2 100644 +--- a/lib/asnprintf.c ++++ b/lib/asnprintf.c +@@ -1,18 +1,18 @@ + /* Formatted output to strings. + Copyright (C) 1999, 2002, 2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/assure.h b/lib/assure.h +index d95c0c9..49aa82f 100644 +--- a/lib/assure.h ++++ b/lib/assure.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2014-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/attribute.h b/lib/attribute.h +index 27a0fce..80a23f5 100644 +--- a/lib/attribute.h ++++ b/lib/attribute.h +@@ -2,15 +2,15 @@ + + Copyright 2020-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify it +- under the terms of the GNU Lesser General Public License as published +- by the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +- Lesser General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ +@@ -32,7 +32,7 @@ + + + /* This file defines two types of attributes: +- * C2X standard attributes. These have macro names that do not begin with ++ * C2x standard attributes. These have macro names that do not begin with + 'ATTRIBUTE_'. + * Selected GCC attributes; see: + https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html +diff --git a/lib/basename-lgpl.c b/lib/basename-lgpl.c +index 405edfa..5dbd157 100644 +--- a/lib/basename-lgpl.c ++++ b/lib/basename-lgpl.c +@@ -3,12 +3,12 @@ + Copyright (C) 1990, 1998-2001, 2003-2006, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/basename-lgpl.h b/lib/basename-lgpl.h +index 222d21f..d520c09 100644 +--- a/lib/basename-lgpl.h ++++ b/lib/basename-lgpl.h +@@ -1,20 +1,20 @@ +-/* Extract the last component (base name) of a file name. ++/* Extract the last component (base name) of a file name. + +- Copyright (C) 1998, 2001, 2003-2006, 2009-2021 Free Software Foundation, +- Inc. ++ Copyright (C) 1998, 2001, 2003-2006, 2009-2021 Free Software Foundation, ++ Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, +- but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU Lesser General Public License for more details. ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License +- along with this program. If not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _BASENAME_LGPL_H + #define _BASENAME_LGPL_H +diff --git a/lib/binary-io.c b/lib/binary-io.c +index 83a820a..adc0ae2 100644 +--- a/lib/binary-io.c ++++ b/lib/binary-io.c +@@ -1,12 +1,12 @@ + /* Binary mode I/O. + Copyright 2017-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/binary-io.h b/lib/binary-io.h +index 1dfbe5a..0fa8d54 100644 +--- a/lib/binary-io.h ++++ b/lib/binary-io.h +@@ -1,12 +1,12 @@ + /* Binary mode I/O. + Copyright (C) 2001, 2003, 2005, 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/bind.c b/lib/bind.c +index 87fe0ed..0e47254 100644 +--- a/lib/bind.c ++++ b/lib/bind.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/btowc.c b/lib/btowc.c +index e800878..b8239af 100644 +--- a/lib/btowc.c ++++ b/lib/btowc.c +@@ -2,12 +2,12 @@ + Copyright (C) 2008, 2010-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/byteswap.in.h b/lib/byteswap.in.h +index c176238..113f878 100644 +--- a/lib/byteswap.in.h ++++ b/lib/byteswap.in.h +@@ -2,12 +2,12 @@ + Copyright (C) 2005, 2007, 2009-2021 Free Software Foundation, Inc. + Written by Oskar Liljeblad , 2005. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/c-ctype.c b/lib/c-ctype.c +index 5d9d4d8..300f97c 100644 +--- a/lib/c-ctype.c ++++ b/lib/c-ctype.c +@@ -1,3 +1,21 @@ ++/* Character handling in C locale. ++ ++ Copyright (C) 2003-2021 Free Software Foundation, Inc. ++ ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. ++ ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ ++ + #include ++ + #define C_CTYPE_INLINE _GL_EXTERN_INLINE + #include "c-ctype.h" +diff --git a/lib/c-ctype.h b/lib/c-ctype.h +index e8403db..3a652ac 100644 +--- a/lib/c-ctype.h ++++ b/lib/c-ctype.h +@@ -7,18 +7,18 @@ + + Copyright (C) 2000-2003, 2006, 2008-2021 Free Software Foundation, Inc. + +-This program is free software; you can redistribute it and/or modify +-it under the terms of the GNU Lesser General Public License as published by +-the Free Software Foundation; either version 2 of the License, or +-(at your option) any later version. +- +-This program is distributed in the hope that it will be useful, +-but WITHOUT ANY WARRANTY; without even the implied warranty of +-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-GNU Lesser General Public License for more details. +- +-You should have received a copy of the GNU Lesser General Public License +-along with this program; if not, see . */ ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. ++ ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef C_CTYPE_H + #define C_CTYPE_H +diff --git a/lib/c-strcase.h b/lib/c-strcase.h +index 8240dbc..82f99bb 100644 +--- a/lib/c-strcase.h ++++ b/lib/c-strcase.h +@@ -2,18 +2,18 @@ + Copyright (C) 1995-1996, 2001, 2003, 2005, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef C_STRCASE_H + #define C_STRCASE_H +diff --git a/lib/c-strcasecmp.c b/lib/c-strcasecmp.c +index 805dc99..3c22455 100644 +--- a/lib/c-strcasecmp.c ++++ b/lib/c-strcasecmp.c +@@ -1,18 +1,18 @@ + /* c-strcasecmp.c -- case insensitive string comparator in C locale + Copyright (C) 1998-1999, 2005-2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/c-strcaseeq.h b/lib/c-strcaseeq.h +index ed979aa..66b9cf3 100644 +--- a/lib/c-strcaseeq.h ++++ b/lib/c-strcaseeq.h +@@ -1,15 +1,15 @@ + /* Optimized case-insensitive string comparison in C locale. + Copyright (C) 2001-2002, 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify it +- under the terms of the GNU Lesser General Public License as published +- by the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +- Lesser General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ +diff --git a/lib/c-strncasecmp.c b/lib/c-strncasecmp.c +index c3203fd..f3ca786 100644 +--- a/lib/c-strncasecmp.c ++++ b/lib/c-strncasecmp.c +@@ -1,18 +1,18 @@ + /* c-strncasecmp.c -- case insensitive string comparator in C locale + Copyright (C) 1998-1999, 2005-2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/canonicalize-lgpl.c b/lib/canonicalize-lgpl.c +index c6fef17..92e9639 100644 +--- a/lib/canonicalize-lgpl.c ++++ b/lib/canonicalize-lgpl.c +@@ -74,7 +74,6 @@ + # define __pathconf pathconf + # define __rawmemchr rawmemchr + # define __readlink readlink +-# define __stat stat + # if IN_RELOCWRAPPER + /* When building the relocatable program wrapper, use the system's memmove + function, not the gnulib override, otherwise we would get a link error. +@@ -105,7 +104,7 @@ file_accessible (char const *file) + return __faccessat (AT_FDCWD, file, F_OK, AT_EACCESS) == 0; + # else + struct stat st; +- return __stat (file, &st) == 0 || errno == EOVERFLOW; ++ return stat (file, &st) == 0 || errno == EOVERFLOW; + # endif + } + +diff --git a/lib/cdefs.h b/lib/cdefs.h +index 90f9741..4dac9d2 100644 +--- a/lib/cdefs.h ++++ b/lib/cdefs.h +@@ -259,9 +259,7 @@ + # define __attribute_const__ /* Ignore */ + #endif + +-#if defined __STDC_VERSION__ && 201710L < __STDC_VERSION__ +-# define __attribute_maybe_unused__ [[__maybe_unused__]] +-#elif __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__) ++#if __GNUC_PREREQ (2,7) || __glibc_has_attribute (__unused__) + # define __attribute_maybe_unused__ __attribute__ ((__unused__)) + #else + # define __attribute_maybe_unused__ /* Ignore */ +@@ -320,7 +318,9 @@ + #endif + + /* The nonnull function attribute marks pointer parameters that +- must not be NULL. */ ++ must not be NULL. This has the name __nonnull in glibc, ++ and __attribute_nonnull__ in files shared with Gnulib to avoid ++ collision with a different __nonnull in DragonFlyBSD 5.9. */ + #ifndef __attribute_nonnull__ + # if __GNUC_PREREQ (3,3) || __glibc_has_attribute (__nonnull__) + # define __attribute_nonnull__(params) __attribute__ ((__nonnull__ params)) +@@ -332,6 +332,16 @@ + # define __nonnull(params) __attribute_nonnull__ (params) + #endif + ++/* The returns_nonnull function attribute marks the return type of the function ++ as always being non-null. */ ++#ifndef __returns_nonnull ++# if __GNUC_PREREQ (4, 9) || __glibc_has_attribute (__returns_nonnull__) ++# define __returns_nonnull __attribute__ ((__returns_nonnull__)) ++# else ++# define __returns_nonnull ++# endif ++#endif ++ + /* If fortification mode, we warn about unused results of certain + function calls which can lead to problems. */ + #if __GNUC_PREREQ (3,4) || __glibc_has_attribute (__warn_unused_result__) +@@ -485,9 +495,9 @@ + [!!sizeof (struct { int __error_if_negative: (expr) ? 2 : -1; })] + #endif + +-/* The #ifndef lets Gnulib avoid including these on non-glibc +- platforms, where the includes typically do not exist. */ +-#ifndef __WORDSIZE ++/* Gnulib avoids including these, as they don't work on non-glibc or ++ older glibc platforms. */ ++#ifndef __GNULIB_CDEFS + # include + # include + #endif +@@ -594,9 +604,26 @@ _Static_assert (0, "IEEE 128-bits long double requires redirection on this platf + array according to access mode, or at least one element when + size-index is not provided: + access (access-mode, [, ]) */ +-#define __attr_access(x) __attribute__ ((__access__ x)) ++# define __attr_access(x) __attribute__ ((__access__ x)) ++# if __GNUC_PREREQ (11, 0) ++# define __attr_access_none(argno) __attribute__ ((__access__ (__none__, argno))) ++# else ++# define __attr_access_none(argno) ++# endif + #else + # define __attr_access(x) ++# define __attr_access_none(argno) ++#endif ++ ++#if __GNUC_PREREQ (11, 0) ++/* Designates dealloc as a function to call to deallocate objects ++ allocated by the declared function. */ ++# define __attr_dealloc(dealloc, argno) \ ++ __attribute__ ((__malloc__ (dealloc, argno))) ++# define __attr_dealloc_free __attr_dealloc (__builtin_free, 1) ++#else ++# define __attr_dealloc(dealloc, argno) ++# define __attr_dealloc_free + #endif + + /* Specify that a function such as setjmp or vfork may return +diff --git a/lib/ceil.c b/lib/ceil.c +index 06e7e5e..fce05d9 100644 +--- a/lib/ceil.c ++++ b/lib/ceil.c +@@ -1,12 +1,12 @@ + /* Round towards positive infinity. + Copyright (C) 2007, 2010-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/cloexec.c b/lib/cloexec.c +index 1f58b72..7defa93 100644 +--- a/lib/cloexec.c ++++ b/lib/cloexec.c +@@ -2,20 +2,20 @@ + + Copyright (C) 1991, 2004-2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program. If not, see . ++ along with this program. If not, see . */ + +- The code is taken from glibc/manual/llio.texi */ ++/* The code is taken from glibc/manual/llio.texi */ + + #include + +diff --git a/lib/cloexec.h b/lib/cloexec.h +index 7a71ad4..97a3659 100644 +--- a/lib/cloexec.h ++++ b/lib/cloexec.h +@@ -2,20 +2,18 @@ + + Copyright (C) 2004, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program. If not, see . +- +-*/ ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/close.c b/lib/close.c +index 11e31db..5b9ab6c 100644 +--- a/lib/close.c ++++ b/lib/close.c +@@ -1,12 +1,12 @@ + /* close replacement. + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/connect.c b/lib/connect.c +index fe0de7e..b2b2e93 100644 +--- a/lib/connect.c ++++ b/lib/connect.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/copysign.c b/lib/copysign.c +index ad5b102..fee131b 100644 +--- a/lib/copysign.c ++++ b/lib/copysign.c +@@ -1,12 +1,12 @@ + /* Copy sign into another 'double' number. + Copyright (C) 2011-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/dirent.in.h b/lib/dirent.in.h +index a285bde..5775edf 100644 +--- a/lib/dirent.in.h ++++ b/lib/dirent.in.h +@@ -1,12 +1,12 @@ + /* A GNU-like . + Copyright (C) 2006-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -74,6 +74,30 @@ typedef struct gl_directory DIR; + + /* Declare overridden functions. */ + ++#if @GNULIB_CLOSEDIR@ ++# if @REPLACE_CLOSEDIR@ ++# if !(defined __cplusplus && defined GNULIB_NAMESPACE) ++# undef closedir ++# define closedir rpl_closedir ++# define GNULIB_defined_closedir 1 ++# endif ++_GL_FUNCDECL_RPL (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1))); ++_GL_CXXALIAS_RPL (closedir, int, (DIR *dirp)); ++# else ++# if !@HAVE_CLOSEDIR@ ++_GL_FUNCDECL_SYS (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1))); ++# endif ++_GL_CXXALIAS_SYS (closedir, int, (DIR *dirp)); ++# endif ++_GL_CXXALIASWARN (closedir); ++#elif defined GNULIB_POSIXCHECK ++# undef closedir ++# if HAVE_RAW_DECL_CLOSEDIR ++_GL_WARN_ON_USE (closedir, "closedir is not portable - " ++ "use gnulib module closedir for portability"); ++# endif ++#endif ++ + #if @GNULIB_OPENDIR@ + # if @REPLACE_OPENDIR@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) +@@ -81,20 +105,36 @@ typedef struct gl_directory DIR; + # define opendir rpl_opendir + # define GNULIB_defined_opendir 1 + # endif +-_GL_FUNCDECL_RPL (opendir, DIR *, (const char *dir_name) _GL_ARG_NONNULL ((1))); ++_GL_FUNCDECL_RPL (opendir, DIR *, ++ (const char *dir_name) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1)); + _GL_CXXALIAS_RPL (opendir, DIR *, (const char *dir_name)); + # else +-# if !@HAVE_OPENDIR@ +-_GL_FUNCDECL_SYS (opendir, DIR *, (const char *dir_name) _GL_ARG_NONNULL ((1))); ++# if !@HAVE_OPENDIR@ || __GNUC__ >= 11 ++_GL_FUNCDECL_SYS (opendir, DIR *, ++ (const char *dir_name) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1)); + # endif + _GL_CXXALIAS_SYS (opendir, DIR *, (const char *dir_name)); + # endif + _GL_CXXALIASWARN (opendir); +-#elif defined GNULIB_POSIXCHECK +-# undef opendir +-# if HAVE_RAW_DECL_OPENDIR ++#else ++# if @GNULIB_CLOSEDIR@ && __GNUC__ >= 11 && !defined opendir ++/* For -Wmismatched-dealloc: Associate opendir with closedir or ++ rpl_closedir. */ ++_GL_FUNCDECL_SYS (opendir, DIR *, ++ (const char *dir_name) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1)); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef opendir ++# if HAVE_RAW_DECL_OPENDIR + _GL_WARN_ON_USE (opendir, "opendir is not portable - " + "use gnulib module opendir for portability"); ++# endif + # endif + #endif + +@@ -126,30 +166,6 @@ _GL_WARN_ON_USE (rewinddir, "rewinddir is not portable - " + # endif + #endif + +-#if @GNULIB_CLOSEDIR@ +-# if @REPLACE_CLOSEDIR@ +-# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +-# undef closedir +-# define closedir rpl_closedir +-# define GNULIB_defined_closedir 1 +-# endif +-_GL_FUNCDECL_RPL (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1))); +-_GL_CXXALIAS_RPL (closedir, int, (DIR *dirp)); +-# else +-# if !@HAVE_CLOSEDIR@ +-_GL_FUNCDECL_SYS (closedir, int, (DIR *dirp) _GL_ARG_NONNULL ((1))); +-# endif +-_GL_CXXALIAS_SYS (closedir, int, (DIR *dirp)); +-# endif +-_GL_CXXALIASWARN (closedir); +-#elif defined GNULIB_POSIXCHECK +-# undef closedir +-# if HAVE_RAW_DECL_CLOSEDIR +-_GL_WARN_ON_USE (closedir, "closedir is not portable - " +- "use gnulib module closedir for portability"); +-# endif +-#endif +- + #if @GNULIB_DIRFD@ + /* Return the file descriptor associated with the given directory stream, + or -1 if none exists. */ +@@ -200,20 +216,33 @@ _GL_WARN_ON_USE (dirfd, "dirfd is unportable - " + # undef fdopendir + # define fdopendir rpl_fdopendir + # endif +-_GL_FUNCDECL_RPL (fdopendir, DIR *, (int fd)); ++_GL_FUNCDECL_RPL (fdopendir, DIR *, ++ (int fd) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1)); + _GL_CXXALIAS_RPL (fdopendir, DIR *, (int fd)); + # else +-# if !@HAVE_FDOPENDIR@ || !@HAVE_DECL_FDOPENDIR@ +-_GL_FUNCDECL_SYS (fdopendir, DIR *, (int fd)); ++# if !@HAVE_FDOPENDIR@ || !@HAVE_DECL_FDOPENDIR@ || __GNUC__ >= 11 ++_GL_FUNCDECL_SYS (fdopendir, DIR *, ++ (int fd) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1)); + # endif + _GL_CXXALIAS_SYS (fdopendir, DIR *, (int fd)); + # endif + _GL_CXXALIASWARN (fdopendir); +-#elif defined GNULIB_POSIXCHECK +-# undef fdopendir +-# if HAVE_RAW_DECL_FDOPENDIR ++#else ++# if @GNULIB_CLOSEDIR@ && __GNUC__ >= 11 && !defined fdopendir ++/* For -Wmismatched-dealloc: Associate fdopendir with closedir or ++ rpl_closedir. */ ++_GL_FUNCDECL_SYS (fdopendir, DIR *, ++ (int fd) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (closedir, 1)); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef fdopendir ++# if HAVE_RAW_DECL_FDOPENDIR + _GL_WARN_ON_USE (fdopendir, "fdopendir is unportable - " + "use gnulib module fdopendir for portability"); ++# endif + # endif + #endif + +diff --git a/lib/dirfd.c b/lib/dirfd.c +index 7da640f..640cb4f 100644 +--- a/lib/dirfd.c ++++ b/lib/dirfd.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2001, 2006, 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/dirname-lgpl.c b/lib/dirname-lgpl.c +index 9cc5db7..95f9c99 100644 +--- a/lib/dirname-lgpl.c ++++ b/lib/dirname-lgpl.c +@@ -3,12 +3,12 @@ + Copyright (C) 1990, 1998, 2000-2001, 2003-2006, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/dirname.h b/lib/dirname.h +index dce1859..25abc7b 100644 +--- a/lib/dirname.h ++++ b/lib/dirname.h +@@ -1,26 +1,26 @@ +-/* Take file names apart into directory and base names. ++/* Take file names apart into directory and base names. + +- Copyright (C) 1998, 2001, 2003-2006, 2009-2021 Free Software Foundation, +- Inc. ++ Copyright (C) 1998, 2001, 2003-2006, 2009-2021 Free Software Foundation, ++ Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, +- but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +- GNU Lesser General Public License for more details. ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License +- along with this program. If not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef DIRNAME_H_ + # define DIRNAME_H_ 1 + + # include +-# include ++# include + # include "filename.h" + # include "basename-lgpl.h" + +@@ -33,11 +33,16 @@ extern "C" { + #endif + + # if GNULIB_DIRNAME +-char *base_name (char const *file) _GL_ATTRIBUTE_MALLOC; +-char *dir_name (char const *file); ++char *base_name (char const *file) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE ++ _GL_ATTRIBUTE_RETURNS_NONNULL; ++char *dir_name (char const *file) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE ++ _GL_ATTRIBUTE_RETURNS_NONNULL; + # endif + +-char *mdir_name (char const *file); ++char *mdir_name (char const *file) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; + size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE; + + bool strip_trailing_slashes (char *file); +diff --git a/lib/dup2.c b/lib/dup2.c +index 653ef89..53e5552 100644 +--- a/lib/dup2.c ++++ b/lib/dup2.c +@@ -2,12 +2,12 @@ + + Copyright (C) 1999, 2004-2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/duplocale.c b/lib/duplocale.c +index 430634d..bc8740d 100644 +--- a/lib/duplocale.c ++++ b/lib/duplocale.c +@@ -1,12 +1,12 @@ + /* Duplicate a locale object. + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/dynarray.h b/lib/dynarray.h +index 5db6ed9..ec64273 100644 +--- a/lib/dynarray.h ++++ b/lib/dynarray.h +@@ -1,12 +1,12 @@ + /* Type-safe arrays which grow dynamically. + Copyright 2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -257,18 +257,22 @@ static DYNARRAY_ELEMENT * + + #if defined DYNARRAY_STRUCT || defined DYNARRAY_ELEMENT || defined DYNARRAY_PREFIX + +-# include ++# ifndef _GL_LIKELY ++/* Rely on __builtin_expect, as provided by the module 'builtin-expect'. */ ++# define _GL_LIKELY(cond) __builtin_expect ((cond), 1) ++# define _GL_UNLIKELY(cond) __builtin_expect ((cond), 0) ++# endif + + /* Define auxiliary structs and declare auxiliary functions, common to all + instantiations of dynarray. */ +-# include ++# include + + /* Define the instantiation, specified through + DYNARRAY_STRUCT + DYNARRAY_ELEMENT + DYNARRAY_PREFIX + etc. */ +-# include ++# include + + #else + +diff --git a/lib/errno.in.h b/lib/errno.in.h +index 0ae2ace..3cad9e2 100644 +--- a/lib/errno.in.h ++++ b/lib/errno.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _@GUARD_PREFIX@_ERRNO_H + +diff --git a/lib/fcntl.c b/lib/fcntl.c +index e6c4b8e..c744eb9 100644 +--- a/lib/fcntl.c ++++ b/lib/fcntl.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/fcntl.in.h b/lib/fcntl.in.h +index 7254a56..26dedc3 100644 +--- a/lib/fcntl.in.h ++++ b/lib/fcntl.in.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2006-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/fd-hook.c b/lib/fd-hook.c +index f8e2781..75b1626 100644 +--- a/lib/fd-hook.c ++++ b/lib/fd-hook.c +@@ -2,15 +2,15 @@ + Copyright (C) 2009-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2009. + +- This program is free software: you can redistribute it and/or modify it +- under the terms of the GNU Lesser General Public License as published +- by the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +- Lesser General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ +diff --git a/lib/fd-hook.h b/lib/fd-hook.h +index 0005db7..98e2a52 100644 +--- a/lib/fd-hook.h ++++ b/lib/fd-hook.h +@@ -1,15 +1,15 @@ + /* Hook for making file descriptor functions close(), ioctl() extensible. + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify it +- under the terms of the GNU Lesser General Public License as published +- by the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +- Lesser General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ +diff --git a/lib/float+.h b/lib/float+.h +index d814bf1..ad891f6 100644 +--- a/lib/float+.h ++++ b/lib/float+.h +@@ -2,18 +2,18 @@ + Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2007. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _FLOATPLUS_H + #define _FLOATPLUS_H +diff --git a/lib/float.c b/lib/float.c +index 5c16d61..dd1e84a 100644 +--- a/lib/float.c ++++ b/lib/float.c +@@ -2,12 +2,12 @@ + Copyright (C) 2011-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2011. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/float.in.h b/lib/float.in.h +index 1179df5..f52aba3 100644 +--- a/lib/float.in.h ++++ b/lib/float.in.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/floor.c b/lib/floor.c +index 9f13d16..1530300 100644 +--- a/lib/floor.c ++++ b/lib/floor.c +@@ -1,12 +1,12 @@ + /* Round towards negative infinity. + Copyright (C) 2007, 2010-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/free.c b/lib/free.c +index b221241..780f03d 100644 +--- a/lib/free.c ++++ b/lib/free.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2003, 2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/frexp.c b/lib/frexp.c +index 55340b8..ab5f343 100644 +--- a/lib/frexp.c ++++ b/lib/frexp.c +@@ -1,12 +1,12 @@ + /* Split a double into fraction and mantissa. + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/fstat.c b/lib/fstat.c +index 30440d6..512c688 100644 +--- a/lib/fstat.c ++++ b/lib/fstat.c +@@ -1,12 +1,12 @@ + /* fstat() replacement. + Copyright (C) 2011-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/fsync.c b/lib/fsync.c +index 71fcdde..99a932d 100644 +--- a/lib/fsync.c ++++ b/lib/fsync.c +@@ -9,15 +9,15 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This library is free software; you can redistribute it and/or +- modify it under the terms of the GNU Lesser General Public +- License as published by the Free Software Foundation; either +- version 2.1 of the License, or (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This library is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +- Lesser General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ +diff --git a/lib/full-read.c b/lib/full-read.c +index 32ff1a5..53be659 100644 +--- a/lib/full-read.c ++++ b/lib/full-read.c +@@ -1,12 +1,12 @@ + /* An interface to read that retries after partial reads and interrupts. + Copyright (C) 2002-2003, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/full-read.h b/lib/full-read.h +index 450d645..b36f2e1 100644 +--- a/lib/full-read.h ++++ b/lib/full-read.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2002, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/full-write.c b/lib/full-write.c +index acbfc31..614ca0b 100644 +--- a/lib/full-write.c ++++ b/lib/full-write.c +@@ -2,12 +2,12 @@ + + Copyright (C) 1993-1994, 1997-2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/full-write.h b/lib/full-write.h +index 1220d05..c316224 100644 +--- a/lib/full-write.h ++++ b/lib/full-write.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2002-2003, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/gai_strerror.c b/lib/gai_strerror.c +index 907e8e6..4874ef5 100644 +--- a/lib/gai_strerror.c ++++ b/lib/gai_strerror.c +@@ -3,18 +3,18 @@ + This file is part of the GNU C Library. + Contributed by Philip Blundell , 1997. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _LIBC + # include +diff --git a/lib/getaddrinfo.c b/lib/getaddrinfo.c +index 05fc59e..0c42d1b 100644 +--- a/lib/getaddrinfo.c ++++ b/lib/getaddrinfo.c +@@ -2,18 +2,18 @@ + Copyright (C) 1997, 2001-2002, 2004-2021 Free Software Foundation, Inc. + Contributed by Simon Josefsson . + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Don't use __attribute__ __nonnull__ in this compilation unit. Otherwise gcc + optimizes away the sa == NULL test below. */ +diff --git a/lib/getdtablesize.c b/lib/getdtablesize.c +index 918db9d..5006c2d 100644 +--- a/lib/getdtablesize.c ++++ b/lib/getdtablesize.c +@@ -2,12 +2,12 @@ + Copyright (C) 2008-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/getlogin.c b/lib/getlogin.c +index 4a70994..7b78c67 100644 +--- a/lib/getlogin.c ++++ b/lib/getlogin.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2010-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/getpeername.c b/lib/getpeername.c +index 5d9cf79..468bb3d 100644 +--- a/lib/getpeername.c ++++ b/lib/getpeername.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/getrandom.c b/lib/getrandom.c +index b467caa..a186c4d 100644 +--- a/lib/getrandom.c ++++ b/lib/getrandom.c +@@ -2,12 +2,12 @@ + + Copyright 2020-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -178,7 +178,11 @@ getrandom (void *buffer, size_t length, unsigned int flags) + + (flags & GRND_NONBLOCK ? O_NONBLOCK : 0)); + fd = open (randdevice[devrandom], oflags); + if (fd < 0) +- return fd; ++ { ++ if (errno == ENOENT || errno == ENOTDIR) ++ errno = ENOSYS; ++ return -1; ++ } + randfd[devrandom] = fd; + } + +diff --git a/lib/getsockname.c b/lib/getsockname.c +index 83c1b7d..d1f17b3 100644 +--- a/lib/getsockname.c ++++ b/lib/getsockname.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/getsockopt.c b/lib/getsockopt.c +index cec4933..b92d034 100644 +--- a/lib/getsockopt.c ++++ b/lib/getsockopt.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/gettext.h b/lib/gettext.h +index dd05cda..f1c7a24 100644 +--- a/lib/gettext.h ++++ b/lib/gettext.h +@@ -2,18 +2,18 @@ + Copyright (C) 1995-1998, 2000-2002, 2004-2006, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _LIBGETTEXT_H + #define _LIBGETTEXT_H 1 +diff --git a/lib/hard-locale.c b/lib/hard-locale.c +index ab3610d..8b6802d 100644 +--- a/lib/hard-locale.c ++++ b/lib/hard-locale.c +@@ -3,12 +3,12 @@ + Copyright (C) 1997-1999, 2002-2004, 2006-2007, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/hard-locale.h b/lib/hard-locale.h +index c4449f9..eba6601 100644 +--- a/lib/hard-locale.h ++++ b/lib/hard-locale.h +@@ -2,12 +2,12 @@ + + Copyright (C) 1999, 2003-2004, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/iconv.c b/lib/iconv.c +index f3480aa..bf51493 100644 +--- a/lib/iconv.c ++++ b/lib/iconv.c +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 1999-2001, 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/iconv.in.h b/lib/iconv.in.h +index 0fc0fa7..3a2f94e 100644 +--- a/lib/iconv.in.h ++++ b/lib/iconv.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _@GUARD_PREFIX@_ICONV_H + +diff --git a/lib/iconv_close.c b/lib/iconv_close.c +index bc40fec..7429b92 100644 +--- a/lib/iconv_close.c ++++ b/lib/iconv_close.c +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/iconv_open-aix.gperf b/lib/iconv_open-aix.gperf +index 20ce70a..d073759 100644 +--- a/lib/iconv_open-aix.gperf ++++ b/lib/iconv_open-aix.gperf +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + struct mapping { int standard_name; const char vendor_name[10 + 1]; }; + %struct-type +diff --git a/lib/iconv_open-hpux.gperf b/lib/iconv_open-hpux.gperf +index 921c722..f4664d6 100644 +--- a/lib/iconv_open-hpux.gperf ++++ b/lib/iconv_open-hpux.gperf +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + struct mapping { int standard_name; const char vendor_name[9 + 1]; }; + %struct-type +diff --git a/lib/iconv_open-irix.gperf b/lib/iconv_open-irix.gperf +index 6241de6..9885d92 100644 +--- a/lib/iconv_open-irix.gperf ++++ b/lib/iconv_open-irix.gperf +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + struct mapping { int standard_name; const char vendor_name[10 + 1]; }; + %struct-type +diff --git a/lib/iconv_open-osf.gperf b/lib/iconv_open-osf.gperf +index 97d570c..d818d79 100644 +--- a/lib/iconv_open-osf.gperf ++++ b/lib/iconv_open-osf.gperf +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 2007, 2020-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + struct mapping { int standard_name; const char vendor_name[10 + 1]; }; + %struct-type +diff --git a/lib/iconv_open-solaris.gperf b/lib/iconv_open-solaris.gperf +index 0283aba..648dd3a 100644 +--- a/lib/iconv_open-solaris.gperf ++++ b/lib/iconv_open-solaris.gperf +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 2007, 2009, 2020-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + struct mapping { int standard_name; const char vendor_name[10 + 1]; }; + %struct-type +diff --git a/lib/iconv_open-zos.gperf b/lib/iconv_open-zos.gperf +index faf5d65..1c3552e 100644 +--- a/lib/iconv_open-zos.gperf ++++ b/lib/iconv_open-zos.gperf +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 2019-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + struct mapping { int standard_name; const char vendor_name[10 + 1]; }; + %struct-type +diff --git a/lib/iconv_open.c b/lib/iconv_open.c +index 304592e..e573556 100644 +--- a/lib/iconv_open.c ++++ b/lib/iconv_open.c +@@ -1,18 +1,18 @@ + /* Character set conversion. + Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/iconveh.h b/lib/iconveh.h +index b2be8fa..cbf692e 100644 +--- a/lib/iconveh.h ++++ b/lib/iconveh.h +@@ -2,12 +2,12 @@ + Copyright (C) 2001-2007, 2009-2021 Free Software Foundation, Inc. + Written by Bruno Haible. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/inet_ntop.c b/lib/inet_ntop.c +index 5b9ea11..409e88c 100644 +--- a/lib/inet_ntop.c ++++ b/lib/inet_ntop.c +@@ -2,18 +2,18 @@ + + Copyright (C) 2005-2006, 2008-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* + * Copyright (c) 1996-1999 by Internet Software Consortium. +diff --git a/lib/inet_pton.c b/lib/inet_pton.c +index 57dc7dc..14e8b0a 100644 +--- a/lib/inet_pton.c ++++ b/lib/inet_pton.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2006, 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/inttypes.in.h b/lib/inttypes.in.h +index fe0af82..41cb422 100644 +--- a/lib/inttypes.in.h ++++ b/lib/inttypes.in.h +@@ -2,12 +2,12 @@ + Written by Paul Eggert, Bruno Haible, Derek Price. + This file is part of gnulib. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/isfinite.c b/lib/isfinite.c +index cfd2d33..f1373b9 100644 +--- a/lib/isfinite.c ++++ b/lib/isfinite.c +@@ -1,18 +1,18 @@ + /* Test for finite value (zero, subnormal, or normal, and not infinite or NaN). + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Written by Ben Pfaff , 2007. */ + +diff --git a/lib/isinf.c b/lib/isinf.c +index 6d4dfc0..62becf2 100644 +--- a/lib/isinf.c ++++ b/lib/isinf.c +@@ -1,18 +1,18 @@ + /* Test for positive or negative infinity. + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Written by Ben Pfaff , 2008. */ + +diff --git a/lib/isnan.c b/lib/isnan.c +index 2282269..ed3452f 100644 +--- a/lib/isnan.c ++++ b/lib/isnan.c +@@ -1,12 +1,12 @@ + /* Test for NaN that does not need libm. + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/isnand-nolibm.h b/lib/isnand-nolibm.h +index fbed474..df64f4e 100644 +--- a/lib/isnand-nolibm.h ++++ b/lib/isnand-nolibm.h +@@ -1,12 +1,12 @@ + /* Test for NaN that does not need libm. + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/isnand.c b/lib/isnand.c +index f359130..7c5df90 100644 +--- a/lib/isnand.c ++++ b/lib/isnand.c +@@ -1,12 +1,12 @@ + /* Test for NaN that does not need libm. + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/isnanf-nolibm.h b/lib/isnanf-nolibm.h +index ba609d5..bd85811 100644 +--- a/lib/isnanf-nolibm.h ++++ b/lib/isnanf-nolibm.h +@@ -1,12 +1,12 @@ + /* Test for NaN that does not need libm. + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/isnanf.c b/lib/isnanf.c +index 94a32e5..3b60340 100644 +--- a/lib/isnanf.c ++++ b/lib/isnanf.c +@@ -1,12 +1,12 @@ + /* Test for NaN that does not need libm. + Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/isnanl-nolibm.h b/lib/isnanl-nolibm.h +index 797c06b..41fe156 100644 +--- a/lib/isnanl-nolibm.h ++++ b/lib/isnanl-nolibm.h +@@ -1,12 +1,12 @@ + /* Test for NaN that does not need libm. + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/isnanl.c b/lib/isnanl.c +index b459560..e8dedf0 100644 +--- a/lib/isnanl.c ++++ b/lib/isnanl.c +@@ -1,12 +1,12 @@ + /* Test for NaN that does not need libm. + Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/itold.c b/lib/itold.c +index f52216a..7984866 100644 +--- a/lib/itold.c ++++ b/lib/itold.c +@@ -2,12 +2,12 @@ + Copyright (C) 2011-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2011. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/langinfo.in.h b/lib/langinfo.in.h +index e8ac12c..4873899 100644 +--- a/lib/langinfo.in.h ++++ b/lib/langinfo.in.h +@@ -1,18 +1,18 @@ + /* Substitute for and wrapper around . + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* + * POSIX for platforms that lack it or have an incomplete one. +diff --git a/lib/lc-charset-dispatch.c b/lib/lc-charset-dispatch.c +index 98c6e9d..88a0bd3 100644 +--- a/lib/lc-charset-dispatch.c ++++ b/lib/lc-charset-dispatch.c +@@ -1,12 +1,12 @@ + /* Dispatching based on the current locale's character encoding. + Copyright (C) 2018-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/lc-charset-dispatch.h b/lib/lc-charset-dispatch.h +index d9d1ac1..59b485d 100644 +--- a/lib/lc-charset-dispatch.h ++++ b/lib/lc-charset-dispatch.h +@@ -1,12 +1,12 @@ + /* Dispatching based on the current locale's character encoding. + Copyright (C) 2018-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/libc-config.h b/lib/libc-config.h +index f14013f..886c11f 100644 +--- a/lib/libc-config.h ++++ b/lib/libc-config.h +@@ -28,7 +28,10 @@ + + When compiled as part of glibc this is a no-op; when compiled as + part of Gnulib this includes Gnulib's and defines macros +- that glibc library code would normally assume. */ ++ that glibc library code would normally assume. ++ ++ Note: This header file MUST NOT be included by public header files ++ of Gnulib. */ + + #include + +@@ -71,7 +74,7 @@ + # endif + #endif + +-#ifndef __attribute_maybe_unused__ ++#ifndef __attribute_nonnull__ + /* either does not exist, or is too old for Gnulib. + Prepare to include , which is Gnulib's version of a + more-recent glibc . */ +@@ -80,13 +83,9 @@ + # ifndef _FEATURES_H + # define _FEATURES_H 1 + # endif +-/* Define __WORDSIZE so that does not attempt to include +- nonexistent files. Make it a syntax error, since Gnulib does not +- use __WORDSIZE now, and if Gnulib uses it later the syntax error +- will let us know that __WORDSIZE needs configuring. */ +-# ifndef __WORDSIZE +-# define __WORDSIZE %%% +-# endif ++/* Define __GNULIB_CDEFS so that does not attempt to include ++ nonexistent files. */ ++# define __GNULIB_CDEFS + /* Undef the macros unconditionally defined by our copy of glibc + , so that they do not clash with any system-defined + versions. */ +@@ -118,6 +117,9 @@ + # undef __THROW + # undef __THROWNL + # undef __attr_access ++# undef __attr_access_none ++# undef __attr_dealloc ++# undef __attr_dealloc_free + # undef __attribute__ + # undef __attribute_alloc_size__ + # undef __attribute_artificial__ +diff --git a/lib/libunistring.valgrind b/lib/libunistring.valgrind +index 712c39a..9eee19a 100644 +--- a/lib/libunistring.valgrind ++++ b/lib/libunistring.valgrind +@@ -2,18 +2,26 @@ + + # Copyright (C) 2010-2021 Free Software Foundation, Inc. + # +-# This program is free software: you can redistribute it and/or modify it +-# under the terms of the GNU Lesser General Public License as published +-# by the Free Software Foundation; either version 2 of the License, or +-# (at your option) any later version. ++# This file is free software. ++# It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+". ++# You can redistribute it and/or modify it under either ++# - the terms of the GNU Lesser General Public License as published ++# by the Free Software Foundation; either version 3, or (at your ++# option) any later version, or ++# - the terms of the GNU General Public License as published by the ++# Free Software Foundation; either version 2, or (at your option) ++# any later version, or ++# - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+". + # + # This program is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +-# Lesser General Public License for more details. ++# Lesser General Public License and the GNU General Public License ++# for more details. + # +-# You should have received a copy of the GNU Lesser General Public License +-# along with this program. If not, see . ++# You should have received a copy of the GNU Lesser General Public ++# License and of the GNU General Public License along with this ++# program. If not, see . + + # Suppress a valgrind message about use of uninitialized memory in freea(). + # This use is OK because it provides only a speedup. +diff --git a/lib/limits.in.h b/lib/limits.in.h +index 4675ba4..2ecafeb 100644 +--- a/lib/limits.in.h ++++ b/lib/limits.in.h +@@ -2,18 +2,18 @@ + + Copyright 2016-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or +- modify it under the terms of the GNU Lesser General Public License +- as published by the Free Software Foundation; either version 2, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ +@@ -99,10 +99,11 @@ + # endif + #endif + +-/* Macros specified by ISO/IEC TS 18661-1:2014. */ ++/* Macros specified by C2x and by ISO/IEC TS 18661-1:2014. */ + + #if (! defined ULLONG_WIDTH \ +- && (defined _GNU_SOURCE || defined __STDC_WANT_IEC_60559_BFP_EXT__)) ++ && (defined _GNU_SOURCE || defined __STDC_WANT_IEC_60559_BFP_EXT__ \ ++ || (defined __STDC_VERSION__ && 201710 < __STDC_VERSION__))) + # define CHAR_WIDTH _GL_INTEGER_WIDTH (CHAR_MIN, CHAR_MAX) + # define SCHAR_WIDTH _GL_INTEGER_WIDTH (SCHAR_MIN, SCHAR_MAX) + # define UCHAR_WIDTH _GL_INTEGER_WIDTH (0, UCHAR_MAX) +@@ -114,7 +115,16 @@ + # define ULONG_WIDTH _GL_INTEGER_WIDTH (0, ULONG_MAX) + # define LLONG_WIDTH _GL_INTEGER_WIDTH (LLONG_MIN, LLONG_MAX) + # define ULLONG_WIDTH _GL_INTEGER_WIDTH (0, ULLONG_MAX) +-#endif /* !ULLONG_WIDTH && (_GNU_SOURCE || __STDC_WANT_IEC_60559_BFP_EXT__) */ ++#endif ++ ++/* Macros specified by C2x. */ ++ ++#if (! defined BOOL_WIDTH \ ++ && (defined _GNU_SOURCE \ ++ || (defined __STDC_VERSION__ && 201710 < __STDC_VERSION__))) ++# define BOOL_MAX 1 ++# define BOOL_WIDTH 1 ++#endif + + #endif /* _@GUARD_PREFIX@_LIMITS_H */ + #endif /* _@GUARD_PREFIX@_LIMITS_H */ +diff --git a/lib/link.c b/lib/link.c +index 3ba897a..bd4bef9 100644 +--- a/lib/link.c ++++ b/lib/link.c +@@ -2,18 +2,18 @@ + + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/listen.c b/lib/listen.c +index ccf881c..a145f82 100644 +--- a/lib/listen.c ++++ b/lib/listen.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/localcharset.c b/lib/localcharset.c +index 87a5979..9c22050 100644 +--- a/lib/localcharset.c ++++ b/lib/localcharset.c +@@ -2,18 +2,18 @@ + + Copyright (C) 2000-2006, 2008-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Written by Bruno Haible . */ + +diff --git a/lib/localcharset.h b/lib/localcharset.h +index c2c1c67..27c3ab6 100644 +--- a/lib/localcharset.h ++++ b/lib/localcharset.h +@@ -2,18 +2,18 @@ + Copyright (C) 2000-2003, 2009-2021 Free Software Foundation, Inc. + This file is part of the GNU CHARSET Library. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _LOCALCHARSET_H + #define _LOCALCHARSET_H +diff --git a/lib/locale.in.h b/lib/locale.in.h +index 4eb3c80..1063070 100644 +--- a/lib/locale.in.h ++++ b/lib/locale.in.h +@@ -1,12 +1,12 @@ + /* A POSIX . + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/localeconv.c b/lib/localeconv.c +index cdcaf86..25e95a1 100644 +--- a/lib/localeconv.c ++++ b/lib/localeconv.c +@@ -1,12 +1,12 @@ + /* Query locale dependent information for formatting numbers. + Copyright (C) 2012-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/log.c b/lib/log.c +index 03e9ac9..3f142e8 100644 +--- a/lib/log.c ++++ b/lib/log.c +@@ -1,12 +1,12 @@ + /* Logarithm. + Copyright (C) 2012-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/log1p.c b/lib/log1p.c +index 0e51498..c45c6ff 100644 +--- a/lib/log1p.c ++++ b/lib/log1p.c +@@ -1,12 +1,12 @@ + /* Natural logarithm of 1 plus argument. + Copyright (C) 2012-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/lstat.c b/lib/lstat.c +index d414d3a..7de0bf1 100644 +--- a/lib/lstat.c ++++ b/lib/lstat.c +@@ -2,12 +2,12 @@ + + Copyright (C) 1997-2006, 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/malloc.c b/lib/malloc.c +index 6bbb97d..0d8b359 100644 +--- a/lib/malloc.c ++++ b/lib/malloc.c +@@ -2,61 +2,50 @@ + + Copyright (C) 1997-1998, 2006-2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* written by Jim Meyering and Bruno Haible */ + + #define _GL_USE_STDLIB_ALLOC 1 + #include +-/* Only the AC_FUNC_MALLOC macro defines 'malloc' already in config.h. */ +-#ifdef malloc +-# define NEED_MALLOC_GNU 1 +-# undef malloc +-/* Whereas the gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ +-#elif GNULIB_MALLOC_GNU && !HAVE_MALLOC_GNU +-# define NEED_MALLOC_GNU 1 +-#endif + + #include + +-/* A function definition is only needed if NEED_MALLOC_GNU is defined above +- or if the module 'malloc-posix' requests it. */ +-#if NEED_MALLOC_GNU || (GNULIB_MALLOC_POSIX && !HAVE_MALLOC_POSIX) ++#include + +-# include ++#include "xalloc-oversized.h" + +-/* Allocate an N-byte block of memory from the heap. +- If N is zero, allocate a 1-byte block. */ ++/* Allocate an N-byte block of memory from the heap, even if N is 0. */ + + void * + rpl_malloc (size_t n) + { +- void *result; +- +-# if NEED_MALLOC_GNU + if (n == 0) + n = 1; +-# endif + +- result = malloc (n); ++ if (xalloc_oversized (n, 1)) ++ { ++ errno = ENOMEM; ++ return NULL; ++ } ++ ++ void *result = malloc (n); + +-# if !HAVE_MALLOC_POSIX ++#if !HAVE_MALLOC_POSIX + if (result == NULL) + errno = ENOMEM; +-# endif ++#endif + + return result; + } +- +-#endif +diff --git a/lib/malloc/dynarray_at_failure.c b/lib/malloc/dynarray_at_failure.c +index 4f840db..8dd6850 100644 +--- a/lib/malloc/dynarray_at_failure.c ++++ b/lib/malloc/dynarray_at_failure.c +@@ -18,11 +18,11 @@ + + #ifndef _LIBC + # include ++# include + #endif + + #include + #include +-#include + + void + __libc_dynarray_at_failure (size_t size, size_t index) +@@ -32,6 +32,7 @@ __libc_dynarray_at_failure (size_t size, size_t index) + __snprintf (buf, sizeof (buf), "Fatal glibc error: " + "array index %zu not less than array length %zu\n", + index, size); ++ __libc_fatal (buf); + #else + abort (); + #endif +diff --git a/lib/malloca.c b/lib/malloca.c +index a546b30..b488423 100644 +--- a/lib/malloca.c ++++ b/lib/malloca.c +@@ -2,18 +2,18 @@ + Copyright (C) 2003, 2006-2007, 2009-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2003, 2018. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #define _GL_USE_STDLIB_ALLOC 1 + #include +@@ -21,6 +21,8 @@ + /* Specification. */ + #include "malloca.h" + ++#include "idx.h" ++#include "intprops.h" + #include "verify.h" + + /* The speed critical point in this file is freea() applied to an alloca() +@@ -45,24 +47,30 @@ mmalloca (size_t n) + #if HAVE_ALLOCA + /* Allocate one more word, used to determine the address to pass to freea(), + and room for the alignment ≡ sa_alignment_max mod 2*sa_alignment_max. */ +- size_t nplus = n + sizeof (small_t) + 2 * sa_alignment_max - 1; +- +- if (nplus >= n) ++ uintptr_t alignment2_mask = 2 * sa_alignment_max - 1; ++ int plus = sizeof (small_t) + alignment2_mask; ++ idx_t nplus; ++ if (!INT_ADD_WRAPV (n, plus, &nplus) && !xalloc_oversized (nplus, 1)) + { + char *mem = (char *) malloc (nplus); + + if (mem != NULL) + { +- char *p = +- (char *)((((uintptr_t)mem + sizeof (small_t) + sa_alignment_max - 1) +- & ~(uintptr_t)(2 * sa_alignment_max - 1)) +- + sa_alignment_max); ++ uintptr_t umem = (uintptr_t)mem, umemplus; ++ /* The INT_ADD_WRAPV avoids signed integer overflow on ++ theoretical platforms where UINTPTR_MAX <= INT_MAX. */ ++ INT_ADD_WRAPV (umem, sizeof (small_t) + sa_alignment_max - 1, ++ &umemplus); ++ idx_t offset = ((umemplus & ~alignment2_mask) ++ + sa_alignment_max - umem); ++ void *vp = mem + offset; ++ small_t *p = vp; + /* Here p >= mem + sizeof (small_t), + and p <= mem + sizeof (small_t) + 2 * sa_alignment_max - 1 + hence p + n <= mem + nplus. + So, the memory range [p, p+n) lies in the allocated memory range + [mem, mem + nplus). */ +- ((small_t *) p)[-1] = p - mem; ++ p[-1] = offset; + /* p ≡ sa_alignment_max mod 2*sa_alignment_max. */ + return p; + } +diff --git a/lib/malloca.h b/lib/malloca.h +index 9cf7fbb..7eb63d2 100644 +--- a/lib/malloca.h ++++ b/lib/malloca.h +@@ -2,18 +2,18 @@ + Copyright (C) 2003-2007, 2009-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2003. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _MALLOCA_H + #define _MALLOCA_H +@@ -51,6 +51,13 @@ extern "C" { + # define safe_alloca(N) ((void) (N), NULL) + #endif + ++/* Free a block of memory allocated through malloca(). */ ++#if HAVE_ALLOCA ++extern void freea (void *p); ++#else ++# define freea free ++#endif ++ + /* malloca(N) is a safe variant of alloca(N). It allocates N bytes of + memory allocated on the stack, that must be freed using freea() before + the function returns. Upon failure, it returns NULL. */ +@@ -65,21 +72,16 @@ extern "C" { + # define malloca(N) \ + mmalloca (N) + #endif +-extern void * mmalloca (size_t n); +- +-/* Free a block of memory allocated through malloca(). */ +-#if HAVE_ALLOCA +-extern void freea (void *p); +-#else +-# define freea free +-#endif ++extern void *mmalloca (size_t n) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC (freea, 1) ++ _GL_ATTRIBUTE_ALLOC_SIZE ((1)); + + /* nmalloca(N,S) is an overflow-safe variant of malloca (N * S). + It allocates an array of N objects, each with S bytes of memory, +- on the stack. S must be positive and N must be nonnegative. +- Either N or S should be of type ptrdiff_t or size_t or wider. ++ on the stack. N and S should be nonnegative and free of side effects. + The array must be freed using freea() before the function returns. */ +-#define nmalloca(n, s) (xalloc_oversized (n, s) ? NULL : malloca ((n) * (s))) ++#define nmalloca(n, s) \ ++ (xalloc_oversized (n, s) ? NULL : malloca ((n) * (size_t) (s))) + + + #ifdef __cplusplus +diff --git a/lib/math.c b/lib/math.c +index ba2a6ab..3ffd1d7 100644 +--- a/lib/math.c ++++ b/lib/math.c +@@ -1,4 +1,22 @@ ++/* Inline functions for . ++ ++ Copyright (C) 2012-2021 Free Software Foundation, Inc. ++ ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. ++ ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ ++ + #include ++ + #define _GL_MATH_INLINE _GL_EXTERN_INLINE + #include "math.h" + typedef int dummy; +diff --git a/lib/math.in.h b/lib/math.in.h +index d80047c..6a055fb 100644 +--- a/lib/math.in.h ++++ b/lib/math.in.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2002-2003, 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mbrtowc-impl-utf8.h b/lib/mbrtowc-impl-utf8.h +index ea5ef1f..330fb10 100644 +--- a/lib/mbrtowc-impl-utf8.h ++++ b/lib/mbrtowc-impl-utf8.h +@@ -1,12 +1,12 @@ + /* Convert multibyte character to wide character. + Copyright (C) 1999-2002, 2005-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mbrtowc-impl.h b/lib/mbrtowc-impl.h +index f7e28fc..bc3e688 100644 +--- a/lib/mbrtowc-impl.h ++++ b/lib/mbrtowc-impl.h +@@ -1,12 +1,12 @@ + /* Convert multibyte character to wide character. + Copyright (C) 1999-2002, 2005-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mbrtowc.c b/lib/mbrtowc.c +index 0db5104..8832f6e 100644 +--- a/lib/mbrtowc.c ++++ b/lib/mbrtowc.c +@@ -2,12 +2,12 @@ + Copyright (C) 1999-2002, 2005-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mbsinit.c b/lib/mbsinit.c +index 7ca8df7..f440155 100644 +--- a/lib/mbsinit.c ++++ b/lib/mbsinit.c +@@ -2,12 +2,12 @@ + Copyright (C) 2008-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mbtowc-impl.h b/lib/mbtowc-impl.h +index 01342af..30d715d 100644 +--- a/lib/mbtowc-impl.h ++++ b/lib/mbtowc-impl.h +@@ -2,12 +2,12 @@ + Copyright (C) 2011-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2011. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mbtowc-lock.c b/lib/mbtowc-lock.c +index ce74793..0f7ae6c 100644 +--- a/lib/mbtowc-lock.c ++++ b/lib/mbtowc-lock.c +@@ -1,12 +1,12 @@ + /* Return the internal lock used by mbrtowc and mbrtoc32. + Copyright (C) 2019-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mbtowc-lock.h b/lib/mbtowc-lock.h +index 0939517..d31b0b6 100644 +--- a/lib/mbtowc-lock.h ++++ b/lib/mbtowc-lock.h +@@ -1,12 +1,12 @@ + /* Use the internal lock used by mbrtowc and mbrtoc32. + Copyright (C) 2019-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mbtowc.c b/lib/mbtowc.c +index 2711194..47b431a 100644 +--- a/lib/mbtowc.c ++++ b/lib/mbtowc.c +@@ -2,12 +2,12 @@ + Copyright (C) 2011-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2011. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/memchr.c b/lib/memchr.c +index d8feb19..56fd59d 100644 +--- a/lib/memchr.c ++++ b/lib/memchr.c +@@ -7,21 +7,21 @@ + adaptation to memchr suggested by Dick Karpinski (dick@cca.ucsf.edu), + and implemented by Roland McGrath (roland@ai.mit.edu). + +-NOTE: The canonical source of this file is maintained with the GNU C Library. +-Bugs can be reported to bug-glibc@prep.ai.mit.edu. ++ NOTE: The canonical source of this file is maintained with the GNU C Library. ++ Bugs can be reported to bug-glibc@prep.ai.mit.edu. + +-This program is free software: you can redistribute it and/or modify it +-under the terms of the GNU Lesser General Public License as published by the +-Free Software Foundation; either version 3 of the License, or any +-later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +-This program is distributed in the hope that it will be useful, +-but WITHOUT ANY WARRANTY; without even the implied warranty of +-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-GNU Lesser General Public License for more details. ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + +-You should have received a copy of the GNU Lesser General Public License +-along with this program. If not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _LIBC + # include +diff --git a/lib/memchr.valgrind b/lib/memchr.valgrind +index 034d1ee..4f16481 100644 +--- a/lib/memchr.valgrind ++++ b/lib/memchr.valgrind +@@ -2,12 +2,12 @@ + + # Copyright (C) 2009-2021 Free Software Foundation, Inc. + # +-# This program is free software: you can redistribute it and/or modify +-# it under the terms of the GNU Lesser General Public License as published by +-# the Free Software Foundation; either version 3 of the License, or +-# (at your option) any later version. ++# This file is free software: you can redistribute it and/or modify ++# it under the terms of the GNU Lesser General Public License as ++# published by the Free Software Foundation; either version 2.1 of the ++# License, or (at your option) any later version. + # +-# This program is distributed in the hope that it will be useful, ++# This file is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + # GNU Lesser General Public License for more details. +diff --git a/lib/mempcpy.c b/lib/mempcpy.c +index c80e119..cacacdb 100644 +--- a/lib/mempcpy.c ++++ b/lib/mempcpy.c +@@ -1,18 +1,18 @@ + /* Copy memory area and return pointer after last written byte. + Copyright (C) 2003, 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/minmax.h b/lib/minmax.h +index 7d0b672..a03361b 100644 +--- a/lib/minmax.h ++++ b/lib/minmax.h +@@ -2,18 +2,18 @@ + Copyright (C) 1995, 1998, 2001, 2003, 2005, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _MINMAX_H + #define _MINMAX_H +diff --git a/lib/mkdir.c b/lib/mkdir.c +index 453e428..2766cc7 100644 +--- a/lib/mkdir.c ++++ b/lib/mkdir.c +@@ -3,12 +3,12 @@ + + Copyright (C) 2001, 2003, 2006, 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/mkostemp.c b/lib/mkostemp.c +index cfab635..285f1ba 100644 +--- a/lib/mkostemp.c ++++ b/lib/mkostemp.c +@@ -2,12 +2,12 @@ + Foundation, Inc. + This file is derived from the one in the GNU C Library. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/msvc-inval.c b/lib/msvc-inval.c +index de6ebee..a23dac9 100644 +--- a/lib/msvc-inval.c ++++ b/lib/msvc-inval.c +@@ -1,18 +1,18 @@ + /* Invalid parameter handler for MSVC runtime libraries. + Copyright (C) 2011-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/msvc-inval.h b/lib/msvc-inval.h +index 0d418e1..e115a35 100644 +--- a/lib/msvc-inval.h ++++ b/lib/msvc-inval.h +@@ -1,18 +1,18 @@ + /* Invalid parameter handler for MSVC runtime libraries. + Copyright (C) 2011-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _MSVC_INVAL_H + #define _MSVC_INVAL_H +diff --git a/lib/msvc-nothrow.c b/lib/msvc-nothrow.c +index e72dabe..d3c1f54 100644 +--- a/lib/msvc-nothrow.c ++++ b/lib/msvc-nothrow.c +@@ -2,18 +2,18 @@ + with MSVC runtime libraries. + Copyright (C) 2011-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/msvc-nothrow.h b/lib/msvc-nothrow.h +index a56cd4e..057b5dd 100644 +--- a/lib/msvc-nothrow.h ++++ b/lib/msvc-nothrow.h +@@ -2,18 +2,18 @@ + with MSVC runtime libraries. + Copyright (C) 2011-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _MSVC_NOTHROW_H + #define _MSVC_NOTHROW_H +diff --git a/lib/netdb.in.h b/lib/netdb.in.h +index 6bcaf1a..eb5c960 100644 +--- a/lib/netdb.in.h ++++ b/lib/netdb.in.h +@@ -2,18 +2,18 @@ + Copyright (C) 2008-2021 Free Software Foundation, Inc. + Written by Simon Josefsson. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* This file is supposed to be used on platforms that lack . + It is intended to provide definitions and prototypes needed by an +diff --git a/lib/netinet_in.in.h b/lib/netinet_in.in.h +index 3c1cad6..21f3a64 100644 +--- a/lib/netinet_in.in.h ++++ b/lib/netinet_in.in.h +@@ -1,18 +1,18 @@ + /* Substitute for . + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _@GUARD_PREFIX@_NETINET_IN_H + +diff --git a/lib/nl_langinfo-lock.c b/lib/nl_langinfo-lock.c +index 915c38b..fcdf56d 100644 +--- a/lib/nl_langinfo-lock.c ++++ b/lib/nl_langinfo-lock.c +@@ -1,12 +1,12 @@ + /* Return the internal lock used by nl_langinfo. + Copyright (C) 2019-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/nl_langinfo.c b/lib/nl_langinfo.c +index e8f3cef..b481f20 100644 +--- a/lib/nl_langinfo.c ++++ b/lib/nl_langinfo.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/nproc.c b/lib/nproc.c +index fef1f8b..e3ddb92 100644 +--- a/lib/nproc.c ++++ b/lib/nproc.c +@@ -2,18 +2,18 @@ + + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Glen Lenker and Bruno Haible. */ + +diff --git a/lib/nproc.h b/lib/nproc.h +index cd3ed36..d7659a5 100644 +--- a/lib/nproc.h ++++ b/lib/nproc.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Glen Lenker and Bruno Haible. */ + +diff --git a/lib/nstrftime.c b/lib/nstrftime.c +index 7ef7529..7f258e8 100644 +--- a/lib/nstrftime.c ++++ b/lib/nstrftime.c +@@ -1,19 +1,18 @@ + /* Copyright (C) 1991-2021 Free Software Foundation, Inc. + This file is part of the GNU C Library. + +- The GNU C Library is free software; you can redistribute it and/or +- modify it under the terms of the GNU Lesser General Public +- License as published by the Free Software Foundation; either +- version 2.1 of the License, or (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- The GNU C Library is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +- Lesser General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public +- License along with the GNU C Library; if not, see +- . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifdef _LIBC + # define USE_IN_EXTENDED_LOCALE_MODEL 1 +diff --git a/lib/open.c b/lib/open.c +index 5dc117e..372cda8 100644 +--- a/lib/open.c ++++ b/lib/open.c +@@ -1,12 +1,12 @@ + /* Open a descriptor to a file. + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/pathmax.h b/lib/pathmax.h +index 4af7802..716f4a9 100644 +--- a/lib/pathmax.h ++++ b/lib/pathmax.h +@@ -2,18 +2,18 @@ + Copyright (C) 1992, 1999, 2001, 2003, 2005, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _PATHMAX_H + # define _PATHMAX_H +diff --git a/lib/pipe.c b/lib/pipe.c +index 3316ceb..fc978f2 100644 +--- a/lib/pipe.c ++++ b/lib/pipe.c +@@ -1,18 +1,18 @@ + /* Create a pipe. + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/pipe2.c b/lib/pipe2.c +index 25bce6f..9ba8c3b 100644 +--- a/lib/pipe2.c ++++ b/lib/pipe2.c +@@ -1,18 +1,18 @@ + /* Create a pipe, with specific opening flags. + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/poll.c b/lib/poll.c +index d787676..8d5ba96 100644 +--- a/lib/poll.c ++++ b/lib/poll.c +@@ -5,18 +5,18 @@ + + This file is part of gnulib. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Tell gcc not to warn about the (nfd < 0) tests, below. */ + #if (__GNUC__ == 4 && 3 <= __GNUC_MINOR__) || 4 < __GNUC__ +diff --git a/lib/poll.in.h b/lib/poll.in.h +index 1fe8370..e94cd31 100644 +--- a/lib/poll.in.h ++++ b/lib/poll.in.h +@@ -5,18 +5,18 @@ + + This file is part of gnulib. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _@GUARD_PREFIX@_POLL_H + +diff --git a/lib/printf-args.c b/lib/printf-args.c +index 22e44ef..b822682 100644 +--- a/lib/printf-args.c ++++ b/lib/printf-args.c +@@ -2,18 +2,18 @@ + Copyright (C) 1999, 2002-2003, 2005-2007, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* This file can be parametrized with the following macros: + ENABLE_UNISTDIO Set to 1 to enable the unistdio extensions. +diff --git a/lib/printf-args.h b/lib/printf-args.h +index d15b12d..c8d9174 100644 +--- a/lib/printf-args.h ++++ b/lib/printf-args.h +@@ -2,18 +2,18 @@ + Copyright (C) 1999, 2002-2003, 2006-2007, 2011-2021 Free Software + Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _PRINTF_ARGS_H + #define _PRINTF_ARGS_H +diff --git a/lib/printf-parse.c b/lib/printf-parse.c +index 9f97995..f21cc17 100644 +--- a/lib/printf-parse.c ++++ b/lib/printf-parse.c +@@ -1,18 +1,18 @@ + /* Formatted output to strings. + Copyright (C) 1999-2000, 2002-2003, 2006-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* This file can be parametrized with the following macros: + CHAR_T The element type of the format string. +@@ -48,16 +48,7 @@ + #include + + /* Get intmax_t. */ +-#if defined IN_LIBINTL || defined IN_LIBASPRINTF +-# if HAVE_STDINT_H_WITH_UINTMAX +-# include +-# endif +-# if HAVE_INTTYPES_H_WITH_UINTMAX +-# include +-# endif +-#else +-# include +-#endif ++#include + + /* malloc(), realloc(), free(). */ + #include +diff --git a/lib/printf-parse.h b/lib/printf-parse.h +index e05ac8f..77b7409 100644 +--- a/lib/printf-parse.h ++++ b/lib/printf-parse.h +@@ -2,18 +2,18 @@ + Copyright (C) 1999, 2002-2003, 2005, 2007, 2010-2021 Free Software + Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _PRINTF_PARSE_H + #define _PRINTF_PARSE_H +diff --git a/lib/putenv.c b/lib/putenv.c +index d342b81..435d10f 100644 +--- a/lib/putenv.c ++++ b/lib/putenv.c +@@ -4,12 +4,12 @@ + NOTE: The canonical source of this file is maintained with the GNU C + Library. Bugs can be reported to bug-glibc@prep.ai.mit.edu. + +- This program is free software: you can redistribute it and/or modify it +- under the terms of the GNU Lesser General Public License as published by the +- Free Software Foundation; either version 3 of the License, or any +- later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/raise.c b/lib/raise.c +index eda9126..37c100d 100644 +--- a/lib/raise.c ++++ b/lib/raise.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2002-2003, 2005-2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/rawmemchr.c b/lib/rawmemchr.c +index ef35689..896d435 100644 +--- a/lib/rawmemchr.c ++++ b/lib/rawmemchr.c +@@ -1,12 +1,12 @@ + /* Searching in a string. + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/rawmemchr.valgrind b/lib/rawmemchr.valgrind +index 90ed95e..d489c32 100644 +--- a/lib/rawmemchr.valgrind ++++ b/lib/rawmemchr.valgrind +@@ -2,12 +2,12 @@ + + # Copyright (C) 2008-2021 Free Software Foundation, Inc. + # +-# This program is free software: you can redistribute it and/or modify +-# it under the terms of the GNU Lesser General Public License as published by +-# the Free Software Foundation; either version 3 of the License, or +-# (at your option) any later version. ++# This file is free software: you can redistribute it and/or modify ++# it under the terms of the GNU Lesser General Public License as ++# published by the Free Software Foundation; either version 2.1 of the ++# License, or (at your option) any later version. + # +-# This program is distributed in the hope that it will be useful, ++# This file is distributed in the hope that it will be useful, + # but WITHOUT ANY WARRANTY; without even the implied warranty of + # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + # GNU Lesser General Public License for more details. +diff --git a/lib/read.c b/lib/read.c +index 125e738..840d9ed 100644 +--- a/lib/read.c ++++ b/lib/read.c +@@ -2,12 +2,12 @@ + Copyright (C) 2008-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2011. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/readlink.c b/lib/readlink.c +index 38d9e0c..d4f4b08 100644 +--- a/lib/readlink.c ++++ b/lib/readlink.c +@@ -1,12 +1,12 @@ + /* Read the contents of a symbolic link. + Copyright (C) 2003-2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/realloc.c b/lib/realloc.c +index 1145514..af03f0c 100644 +--- a/lib/realloc.c ++++ b/lib/realloc.c +@@ -3,12 +3,12 @@ + Copyright (C) 1997, 2003-2004, 2006-2007, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -18,68 +18,46 @@ + + /* written by Jim Meyering and Bruno Haible */ + +-#define _GL_USE_STDLIB_ALLOC 1 + #include + +-/* Only the AC_FUNC_REALLOC macro defines 'realloc' already in config.h. */ +-#ifdef realloc +-# define NEED_REALLOC_GNU 1 +-/* Whereas the gnulib module 'realloc-gnu' defines HAVE_REALLOC_GNU. */ +-#elif GNULIB_REALLOC_GNU && !HAVE_REALLOC_GNU +-# define NEED_REALLOC_GNU 1 +-#endif +- +-/* Infer the properties of the system's malloc function. +- The gnulib module 'malloc-gnu' defines HAVE_MALLOC_GNU. */ +-#if GNULIB_MALLOC_GNU && HAVE_MALLOC_GNU +-# define SYSTEM_MALLOC_GLIBC_COMPATIBLE 1 +-#endif +- + #include + +-/* A function definition is only needed if NEED_REALLOC_GNU is defined above +- or if the module 'realloc-posix' requests it. */ +-#if NEED_REALLOC_GNU || (GNULIB_REALLOC_POSIX && !HAVE_REALLOC_POSIX) ++#include ++ ++#include "xalloc-oversized.h" + +-# include ++/* Call the system's realloc below. This file does not define ++ _GL_USE_STDLIB_ALLOC because it needs Gnulib's malloc if present. */ ++#undef realloc + + /* Change the size of an allocated block of memory P to N bytes, +- with error checking. If N is zero, change it to 1. If P is NULL, +- use malloc. */ ++ with error checking. If P is NULL, use malloc. Otherwise if N is zero, ++ free P and return NULL. */ + + void * + rpl_realloc (void *p, size_t n) + { +- void *result; ++ if (p == NULL) ++ return malloc (n); + +-# if NEED_REALLOC_GNU + if (n == 0) + { +- n = 1; +- +- /* In theory realloc might fail, so don't rely on it to free. */ + free (p); +- p = NULL; ++ return NULL; + } +-# endif + +- if (p == NULL) ++ if (xalloc_oversized (n, 1)) + { +-# if GNULIB_REALLOC_GNU && !NEED_REALLOC_GNU && !SYSTEM_MALLOC_GLIBC_COMPATIBLE +- if (n == 0) +- n = 1; +-# endif +- result = malloc (n); ++ errno = ENOMEM; ++ return NULL; + } +- else +- result = realloc (p, n); + +-# if !HAVE_REALLOC_POSIX ++ void *result = realloc (p, n); ++ ++#if !HAVE_MALLOC_POSIX + if (result == NULL) + errno = ENOMEM; +-# endif ++#endif + + return result; + } +- +-#endif +diff --git a/lib/recv.c b/lib/recv.c +index f2a342f..3eb2b4d 100644 +--- a/lib/recv.c ++++ b/lib/recv.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/recvfrom.c b/lib/recvfrom.c +index 8abda0c..25231ff 100644 +--- a/lib/recvfrom.c ++++ b/lib/recvfrom.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/regex_internal.c b/lib/regex_internal.c +index 55f6b66..aefcfa2 100644 +--- a/lib/regex_internal.c ++++ b/lib/regex_internal.c +@@ -1211,6 +1211,10 @@ re_node_set_merge (re_node_set *dest, const re_node_set *src) + + if (__glibc_unlikely (dest->nelem == 0)) + { ++ /* Although we already guaranteed above that dest->alloc != 0 and ++ therefore dest->elems != NULL, add a debug assertion to pacify ++ GCC 11.2.1's -fanalyzer. */ ++ DEBUG_ASSERT (dest->elems); + dest->nelem = src->nelem; + memcpy (dest->elems, src->elems, src->nelem * sizeof (Idx)); + return REG_NOERROR; +@@ -1286,7 +1290,10 @@ re_node_set_insert (re_node_set *set, Idx elem) + + if (__glibc_unlikely (set->nelem) == 0) + { +- /* We already guaranteed above that set->alloc != 0. */ ++ /* Although we already guaranteed above that set->alloc != 0 and ++ therefore set->elems != NULL, add a debug assertion to pacify ++ GCC 11.2 -fanalyzer. */ ++ DEBUG_ASSERT (set->elems); + set->elems[0] = elem; + ++set->nelem; + return true; +diff --git a/lib/regexec.c b/lib/regexec.c +index 6309dea..5e4eb49 100644 +--- a/lib/regexec.c ++++ b/lib/regexec.c +@@ -1220,9 +1220,13 @@ proceed_next_node (const re_match_context_t *mctx, Idx nregs, regmatch_t *regs, + { + re_node_set *cur_nodes = &mctx->state_log[*pidx]->nodes; + re_node_set *edests = &dfa->edests[node]; +- bool ok = re_node_set_insert (eps_via_nodes, node); +- if (__glibc_unlikely (! ok)) +- return -2; ++ ++ if (! re_node_set_contains (eps_via_nodes, node)) ++ { ++ bool ok = re_node_set_insert (eps_via_nodes, node); ++ if (__glibc_unlikely (! ok)) ++ return -2; ++ } + + /* Pick a valid destination, or return -1 if none is found. */ + Idx dest_node = -1; +@@ -1414,7 +1418,7 @@ set_regs (const regex_t *preg, const re_match_context_t *mctx, size_t nmatch, + update_regs (dfa, pmatch, prev_idx_match, cur_node, idx, nmatch); + + if ((idx == pmatch[0].rm_eo && cur_node == mctx->last_node) +- || re_node_set_contains (&eps_via_nodes, cur_node)) ++ || (fs && re_node_set_contains (&eps_via_nodes, cur_node))) + { + Idx reg_idx; + cur_node = -1; +diff --git a/lib/rename.c b/lib/rename.c +index 4873025..a3b7dc6 100644 +--- a/lib/rename.c ++++ b/lib/rename.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2001-2003, 2005-2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/rmdir.c b/lib/rmdir.c +index a99fb1e..6295e41 100644 +--- a/lib/rmdir.c ++++ b/lib/rmdir.c +@@ -3,12 +3,12 @@ + Copyright (C) 1988, 1990, 1999, 2003-2006, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/round.c b/lib/round.c +index 47a3936..5525050 100644 +--- a/lib/round.c ++++ b/lib/round.c +@@ -1,18 +1,18 @@ + /* Round toward nearest, breaking ties away from zero. + Copyright (C) 2007, 2010-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Written by Ben Pfaff , 2007. + Based heavily on code by Bruno Haible. */ +diff --git a/lib/safe-read.c b/lib/safe-read.c +index a4a1b08..e187b12 100644 +--- a/lib/safe-read.c ++++ b/lib/safe-read.c +@@ -3,12 +3,12 @@ + Copyright (C) 1993-1994, 1998, 2002-2006, 2009-2021 Free Software + Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/safe-read.h b/lib/safe-read.h +index 5050124..111aff5 100644 +--- a/lib/safe-read.h ++++ b/lib/safe-read.h +@@ -1,12 +1,12 @@ + /* An interface to read() that retries after interrupts. + Copyright (C) 2002, 2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/safe-write.c b/lib/safe-write.c +index f8b3b8b..494de14 100644 +--- a/lib/safe-write.c ++++ b/lib/safe-write.c +@@ -1,12 +1,12 @@ + /* An interface to write that retries after interrupts. + Copyright (C) 2002, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/safe-write.h b/lib/safe-write.h +index 459629e..25d8c71 100644 +--- a/lib/safe-write.h ++++ b/lib/safe-write.h +@@ -1,12 +1,12 @@ + /* An interface to write() that retries after interrupts. + Copyright (C) 2002, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/same-inode.h b/lib/same-inode.h +index 45e322a8..c727777 100644 +--- a/lib/same-inode.h ++++ b/lib/same-inode.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/scratch_buffer.h b/lib/scratch_buffer.h +index 4b17f72..8873577 100644 +--- a/lib/scratch_buffer.h ++++ b/lib/scratch_buffer.h +@@ -1,12 +1,12 @@ + /* Variable-sized buffer with on-stack default allocation. + Copyright (C) 2017-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -110,14 +110,18 @@ extern void *scratch_buffer_dupfree (struct scratch_buffer *buffer, + + /* The implementation is imported from glibc. */ + +-#include +- + /* Avoid possible conflicts with symbols exported by the GNU libc. */ + #define __libc_scratch_buffer_dupfree gl_scratch_buffer_dupfree + #define __libc_scratch_buffer_grow gl_scratch_buffer_grow + #define __libc_scratch_buffer_grow_preserve gl_scratch_buffer_grow_preserve + #define __libc_scratch_buffer_set_array_size gl_scratch_buffer_set_array_size + +-#include ++#ifndef _GL_LIKELY ++/* Rely on __builtin_expect, as provided by the module 'builtin-expect'. */ ++# define _GL_LIKELY(cond) __builtin_expect ((cond), 1) ++# define _GL_UNLIKELY(cond) __builtin_expect ((cond), 0) ++#endif ++ ++#include + + #endif /* _GL_SCRATCH_BUFFER_H */ +diff --git a/lib/select.c b/lib/select.c +index 9a6fc28..eddac4b 100644 +--- a/lib/select.c ++++ b/lib/select.c +@@ -5,18 +5,18 @@ + + This file is part of gnulib. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +@@ -530,12 +530,13 @@ restart: + if (h != handle_array[nhandles]) + { + /* Perform handle->descriptor mapping. */ +- WSAEventSelect ((SOCKET) h, NULL, 0); +- if (FD_ISSET (h, &handle_rfds)) ++ SOCKET s = (SOCKET) h; ++ WSAEventSelect (s, NULL, 0); ++ if (FD_ISSET (s, &handle_rfds)) + FD_SET (i, rfds); +- if (FD_ISSET (h, &handle_wfds)) ++ if (FD_ISSET (s, &handle_wfds)) + FD_SET (i, wfds); +- if (FD_ISSET (h, &handle_xfds)) ++ if (FD_ISSET (s, &handle_xfds)) + FD_SET (i, xfds); + } + else +diff --git a/lib/send.c b/lib/send.c +index 3625864..58cb70b 100644 +--- a/lib/send.c ++++ b/lib/send.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/sendto.c b/lib/sendto.c +index 5372a66..029ccd6 100644 +--- a/lib/sendto.c ++++ b/lib/sendto.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/setenv.c b/lib/setenv.c +index 5374044..3ad3477 100644 +--- a/lib/setenv.c ++++ b/lib/setenv.c +@@ -1,12 +1,12 @@ + /* Copyright (C) 1992, 1995-2003, 2005-2021 Free Software Foundation, Inc. + This file is part of the GNU C Library. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/setlocale-lock.c b/lib/setlocale-lock.c +index 3cb5d47..53e231c 100644 +--- a/lib/setlocale-lock.c ++++ b/lib/setlocale-lock.c +@@ -1,12 +1,12 @@ + /* Return the internal lock used by setlocale_null_r. + Copyright (C) 2019-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/setlocale_null.c b/lib/setlocale_null.c +index 4c50472..dbfda25 100644 +--- a/lib/setlocale_null.c ++++ b/lib/setlocale_null.c +@@ -1,12 +1,12 @@ + /* Query the name of the current global locale. + Copyright (C) 2019-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/setlocale_null.h b/lib/setlocale_null.h +index bf96fa4..00c42e2 100644 +--- a/lib/setlocale_null.h ++++ b/lib/setlocale_null.h +@@ -1,12 +1,12 @@ + /* Query the name of the current global locale. + Copyright (C) 2019-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/setsockopt.c b/lib/setsockopt.c +index db32996..10b1e90 100644 +--- a/lib/setsockopt.c ++++ b/lib/setsockopt.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/shutdown.c b/lib/shutdown.c +index c5527cd..70c927c 100644 +--- a/lib/shutdown.c ++++ b/lib/shutdown.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/signal.in.h b/lib/signal.in.h +index b211137..275da8c 100644 +--- a/lib/signal.in.h ++++ b/lib/signal.in.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2006-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/signbitd.c b/lib/signbitd.c +index 2992dd4..2259771 100644 +--- a/lib/signbitd.c ++++ b/lib/signbitd.c +@@ -1,12 +1,12 @@ + /* signbit() macro: Determine the sign bit of a floating-point number. + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/signbitf.c b/lib/signbitf.c +index 01be49a..b196d9a 100644 +--- a/lib/signbitf.c ++++ b/lib/signbitf.c +@@ -1,12 +1,12 @@ + /* signbit() macro: Determine the sign bit of a floating-point number. + Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/signbitl.c b/lib/signbitl.c +index 6e0f64e..f73802d 100644 +--- a/lib/signbitl.c ++++ b/lib/signbitl.c +@@ -1,12 +1,12 @@ + /* signbit() macro: Determine the sign bit of a floating-point number. + Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/size_max.h b/lib/size_max.h +index c6d4a18..1186ba9 100644 +--- a/lib/size_max.h ++++ b/lib/size_max.h +@@ -2,18 +2,18 @@ + Copyright (C) 2005-2006, 2009-2021 Free Software Foundation, Inc. + Written by Simon Josefsson. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef GNULIB_SIZE_MAX_H + #define GNULIB_SIZE_MAX_H +diff --git a/lib/snprintf.c b/lib/snprintf.c +index 357f287..a589cf1 100644 +--- a/lib/snprintf.c ++++ b/lib/snprintf.c +@@ -2,18 +2,18 @@ + Copyright (C) 2004, 2006-2021 Free Software Foundation, Inc. + Written by Simon Josefsson and Paul Eggert. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #include + +diff --git a/lib/socket.c b/lib/socket.c +index 8525260..0f2e6ff 100644 +--- a/lib/socket.c ++++ b/lib/socket.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/sockets.c b/lib/sockets.c +index 394b01e..934da73 100644 +--- a/lib/sockets.c ++++ b/lib/sockets.c +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/sockets.h b/lib/sockets.h +index a13b0cb..e70c2bb 100644 +--- a/lib/sockets.h ++++ b/lib/sockets.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/stat-time.c b/lib/stat-time.c +index 81b83dd..7b92792 100644 +--- a/lib/stat-time.c ++++ b/lib/stat-time.c +@@ -1,3 +1,21 @@ ++/* stat-related time functions. ++ ++ Copyright (C) 2012-2021 Free Software Foundation, Inc. ++ ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. ++ ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ ++ + #include ++ + #define _GL_STAT_TIME_INLINE _GL_EXTERN_INLINE + #include "stat-time.h" +diff --git a/lib/stat-time.h b/lib/stat-time.h +index 00c9329..fe3483d 100644 +--- a/lib/stat-time.h ++++ b/lib/stat-time.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2005, 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/stat-w32.c b/lib/stat-w32.c +index fe505cb..4164199 100644 +--- a/lib/stat-w32.c ++++ b/lib/stat-w32.c +@@ -1,12 +1,12 @@ + /* Core of implementation of fstat and stat for native Windows. + Copyright (C) 2017-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/stat-w32.h b/lib/stat-w32.h +index 05c9b0f..5b56c09 100644 +--- a/lib/stat-w32.h ++++ b/lib/stat-w32.h +@@ -1,12 +1,12 @@ + /* Core of implementation of fstat and stat for native Windows. + Copyright (C) 2017-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/stat.c b/lib/stat.c +index 39a1269..bc9a767 100644 +--- a/lib/stat.c ++++ b/lib/stat.c +@@ -1,12 +1,12 @@ + /* Work around platform bugs in stat. + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/stdalign.in.h b/lib/stdalign.in.h +index 7b51043..592d58e 100644 +--- a/lib/stdalign.in.h ++++ b/lib/stdalign.in.h +@@ -2,18 +2,18 @@ + + Copyright 2011-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Paul Eggert and Bruno Haible. */ + +diff --git a/lib/stdbool.in.h b/lib/stdbool.in.h +index c404f8d..2a1992d 100644 +--- a/lib/stdbool.in.h ++++ b/lib/stdbool.in.h +@@ -1,18 +1,18 @@ + /* Copyright (C) 2001-2003, 2006-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2001. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _GL_STDBOOL_H + #define _GL_STDBOOL_H +diff --git a/lib/stddef.in.h b/lib/stddef.in.h +index 4c53e64..42290d4 100644 +--- a/lib/stddef.in.h ++++ b/lib/stddef.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Eric Blake. */ + +diff --git a/lib/stdint.in.h b/lib/stdint.in.h +index a98f1c8..85c5418 100644 +--- a/lib/stdint.in.h ++++ b/lib/stdint.in.h +@@ -2,18 +2,18 @@ + Written by Paul Eggert, Bruno Haible, Sam Steingold, Peter Burwood. + This file is part of gnulib. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* + * ISO C 99 for platforms that lack it. +@@ -85,7 +85,7 @@ + + /* Override WINT_MIN and WINT_MAX if gnulib's or overrides + wint_t. */ +-#if @GNULIB_OVERRIDES_WINT_T@ ++#if @GNULIBHEADERS_OVERRIDE_WINT_T@ + # undef WINT_MIN + # undef WINT_MAX + # define WINT_MIN 0x0U +@@ -598,7 +598,7 @@ typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t) + /* wint_t limits */ + /* If gnulib's or overrides wint_t, @WINT_T_SUFFIX@ is not + accurate, therefore use the definitions from above. */ +-# if !@GNULIB_OVERRIDES_WINT_T@ ++# if !@GNULIBHEADERS_OVERRIDE_WINT_T@ + # undef WINT_MIN + # undef WINT_MAX + # if @HAVE_SIGNED_WINT_T@ +diff --git a/lib/stdio.in.h b/lib/stdio.in.h +index 6e10c74..f1bf817 100644 +--- a/lib/stdio.in.h ++++ b/lib/stdio.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2004, 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ +@@ -242,7 +242,7 @@ _GL_WARN_ON_USE (fclose, "fclose is not always POSIX compliant - " + _GL_CXXALIAS_MDA (fcloseall, int, (void)); + # else + # if @HAVE_DECL_FCLOSEALL@ +-# if defined __FreeBSD__ ++# if defined __FreeBSD__ || defined __DragonFly__ + _GL_CXXALIAS_SYS (fcloseall, void, (void)); + # else + _GL_CXXALIAS_SYS (fcloseall, int, (void)); +@@ -260,8 +260,9 @@ _GL_CXXALIASWARN (fcloseall); + # undef fdopen + # define fdopen rpl_fdopen + # endif +-_GL_FUNCDECL_RPL (fdopen, FILE *, (int fd, const char *mode) +- _GL_ARG_NONNULL ((2))); ++_GL_FUNCDECL_RPL (fdopen, FILE *, ++ (int fd, const char *mode) ++ _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); + _GL_CXXALIAS_RPL (fdopen, FILE *, (int fd, const char *mode)); + # elif defined _WIN32 && !defined __CYGWIN__ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) +@@ -270,28 +271,42 @@ _GL_CXXALIAS_RPL (fdopen, FILE *, (int fd, const char *mode)); + # endif + _GL_CXXALIAS_MDA (fdopen, FILE *, (int fd, const char *mode)); + # else ++# if __GNUC__ >= 11 ++/* For -Wmismatched-dealloc: Associate fdopen with fclose or rpl_fclose. */ ++_GL_FUNCDECL_SYS (fdopen, FILE *, ++ (int fd, const char *mode) ++ _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); ++# endif + _GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode)); + # endif + _GL_CXXALIASWARN (fdopen); +-#elif defined GNULIB_POSIXCHECK +-# undef fdopen ++#else ++# if @GNULIB_FCLOSE@ && __GNUC__ >= 11 && !defined fdopen ++/* For -Wmismatched-dealloc: Associate fdopen with fclose or rpl_fclose. */ ++_GL_FUNCDECL_SYS (fdopen, FILE *, ++ (int fd, const char *mode) ++ _GL_ARG_NONNULL ((2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef fdopen + /* Assume fdopen is always declared. */ + _GL_WARN_ON_USE (fdopen, "fdopen on native Windows platforms is not POSIX compliant - " + "use gnulib module fdopen for portability"); +-#elif @GNULIB_MDA_FDOPEN@ ++# elif @GNULIB_MDA_FDOPEN@ + /* On native Windows, map 'fdopen' to '_fdopen', so that -loldnames is not + required. In C++ with GNULIB_NAMESPACE, avoid differences between + platforms by defining GNULIB_NAMESPACE::fdopen always. */ +-# if defined _WIN32 && !defined __CYGWIN__ +-# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +-# undef fdopen +-# define fdopen _fdopen +-# endif ++# if defined _WIN32 && !defined __CYGWIN__ ++# if !(defined __cplusplus && defined GNULIB_NAMESPACE) ++# undef fdopen ++# define fdopen _fdopen ++# endif + _GL_CXXALIAS_MDA (fdopen, FILE *, (int fd, const char *mode)); +-# else ++# else + _GL_CXXALIAS_SYS (fdopen, FILE *, (int fd, const char *mode)); +-# endif ++# endif + _GL_CXXALIASWARN (fdopen); ++# endif + #endif + + #if @GNULIB_FFLUSH@ +@@ -380,21 +395,35 @@ _GL_CXXALIASWARN (fileno); + # endif + _GL_FUNCDECL_RPL (fopen, FILE *, + (const char *restrict filename, const char *restrict mode) +- _GL_ARG_NONNULL ((1, 2))); ++ _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); + _GL_CXXALIAS_RPL (fopen, FILE *, + (const char *restrict filename, const char *restrict mode)); + # else ++# if __GNUC__ >= 11 ++/* For -Wmismatched-dealloc: Associate fopen with fclose or rpl_fclose. */ ++_GL_FUNCDECL_SYS (fopen, FILE *, ++ (const char *restrict filename, const char *restrict mode) ++ _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); ++# endif + _GL_CXXALIAS_SYS (fopen, FILE *, + (const char *restrict filename, const char *restrict mode)); + # endif + # if __GLIBC__ >= 2 + _GL_CXXALIASWARN (fopen); + # endif +-#elif defined GNULIB_POSIXCHECK +-# undef fopen ++#else ++# if @GNULIB_FCLOSE@ && __GNUC__ >= 11 && !defined fopen ++/* For -Wmismatched-dealloc: Associate fopen with fclose or rpl_fclose. */ ++_GL_FUNCDECL_SYS (fopen, FILE *, ++ (const char *restrict filename, const char *restrict mode) ++ _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (fclose, 1)); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef fopen + /* Assume fopen is always declared. */ + _GL_WARN_ON_USE (fopen, "fopen on native Windows platforms is not POSIX compliant - " + "use gnulib module fopen for portability"); ++# endif + #endif + + #if @GNULIB_FPRINTF_POSIX@ || @GNULIB_FPRINTF@ +@@ -1009,22 +1038,32 @@ _GL_WARN_ON_USE (perror, "perror is not always POSIX compliant - " + # undef popen + # define popen rpl_popen + # endif +-_GL_FUNCDECL_RPL (popen, FILE *, (const char *cmd, const char *mode) +- _GL_ARG_NONNULL ((1, 2))); ++_GL_FUNCDECL_RPL (popen, FILE *, ++ (const char *cmd, const char *mode) ++ _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (pclose, 1)); + _GL_CXXALIAS_RPL (popen, FILE *, (const char *cmd, const char *mode)); + # else +-# if !@HAVE_POPEN@ +-_GL_FUNCDECL_SYS (popen, FILE *, (const char *cmd, const char *mode) +- _GL_ARG_NONNULL ((1, 2))); ++# if !@HAVE_POPEN@ || __GNUC__ >= 11 ++_GL_FUNCDECL_SYS (popen, FILE *, ++ (const char *cmd, const char *mode) ++ _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (pclose, 1)); + # endif + _GL_CXXALIAS_SYS (popen, FILE *, (const char *cmd, const char *mode)); + # endif + _GL_CXXALIASWARN (popen); +-#elif defined GNULIB_POSIXCHECK +-# undef popen +-# if HAVE_RAW_DECL_POPEN ++#else ++# if @GNULIB_PCLOSE@ && __GNUC__ >= 11 && !defined popen ++/* For -Wmismatched-dealloc: Associate popen with pclose or rpl_pclose. */ ++_GL_FUNCDECL_SYS (popen, FILE *, ++ (const char *cmd, const char *mode) ++ _GL_ARG_NONNULL ((1, 2)) _GL_ATTRIBUTE_DEALLOC (pclose, 1)); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef popen ++# if HAVE_RAW_DECL_POPEN + _GL_WARN_ON_USE (popen, "popen is buggy on some platforms - " + "use gnulib module popen or pipe for more portability"); ++# endif + # endif + #endif + +@@ -1257,6 +1296,7 @@ _GL_CXXALIASWARN (scanf); + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # define snprintf rpl_snprintf + # endif ++# define GNULIB_overrides_snprintf 1 + _GL_FUNCDECL_RPL (snprintf, int, + (char *restrict str, size_t size, + const char *restrict format, ...) +@@ -1302,6 +1342,7 @@ _GL_WARN_ON_USE (snprintf, "snprintf is unportable - " + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # define sprintf rpl_sprintf + # endif ++# define GNULIB_overrides_sprintf 1 + _GL_FUNCDECL_RPL (sprintf, int, + (char *restrict str, const char *restrict format, ...) + _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) +@@ -1344,19 +1385,32 @@ _GL_CXXALIASWARN (tempnam); + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # define tmpfile rpl_tmpfile + # endif +-_GL_FUNCDECL_RPL (tmpfile, FILE *, (void)); ++_GL_FUNCDECL_RPL (tmpfile, FILE *, (void) ++ _GL_ATTRIBUTE_DEALLOC (fclose, 1)); + _GL_CXXALIAS_RPL (tmpfile, FILE *, (void)); + # else ++# if __GNUC__ >= 11 ++/* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */ ++_GL_FUNCDECL_SYS (tmpfile, FILE *, (void) ++ _GL_ATTRIBUTE_DEALLOC (fclose, 1)); ++# endif + _GL_CXXALIAS_SYS (tmpfile, FILE *, (void)); + # endif + # if __GLIBC__ >= 2 + _GL_CXXALIASWARN (tmpfile); + # endif +-#elif defined GNULIB_POSIXCHECK +-# undef tmpfile +-# if HAVE_RAW_DECL_TMPFILE ++#else ++# if @GNULIB_FCLOSE@ && __GNUC__ >= 11 && !defined tmpfile ++/* For -Wmismatched-dealloc: Associate tmpfile with fclose or rpl_fclose. */ ++_GL_FUNCDECL_SYS (tmpfile, FILE *, (void) ++ _GL_ATTRIBUTE_DEALLOC (fclose, 1)); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef tmpfile ++# if HAVE_RAW_DECL_TMPFILE + _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " + "use gnulib module tmpfile for portability"); ++# endif + # endif + #endif + +@@ -1369,6 +1423,7 @@ _GL_WARN_ON_USE (tmpfile, "tmpfile is not usable on mingw - " + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # define asprintf rpl_asprintf + # endif ++# define GNULIB_overrides_asprintf + _GL_FUNCDECL_RPL (asprintf, int, + (char **result, const char *format, ...) + _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 3) +@@ -1390,6 +1445,7 @@ _GL_CXXALIASWARN (asprintf); + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # define vasprintf rpl_vasprintf + # endif ++# define GNULIB_overrides_vasprintf 1 + _GL_FUNCDECL_RPL (vasprintf, int, + (char **result, const char *format, va_list args) + _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD (2, 0) +@@ -1573,6 +1629,7 @@ _GL_CXXALIASWARN (vscanf); + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # define vsnprintf rpl_vsnprintf + # endif ++# define GNULIB_overrides_vsnprintf 1 + _GL_FUNCDECL_RPL (vsnprintf, int, + (char *restrict str, size_t size, + const char *restrict format, va_list args) +@@ -1609,6 +1666,7 @@ _GL_WARN_ON_USE (vsnprintf, "vsnprintf is unportable - " + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # define vsprintf rpl_vsprintf + # endif ++# define GNULIB_overrides_vsprintf 1 + _GL_FUNCDECL_RPL (vsprintf, int, + (char *restrict str, + const char *restrict format, va_list args) +diff --git a/lib/stdlib.in.h b/lib/stdlib.in.h +index 7e01262..d86a880 100644 +--- a/lib/stdlib.in.h ++++ b/lib/stdlib.in.h +@@ -2,12 +2,12 @@ + + Copyright (C) 1995, 2001-2004, 2006-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -149,6 +149,28 @@ _GL_WARN_ON_USE (_Exit, "_Exit is unportable - " + #endif + + ++#if @GNULIB_FREE_POSIX@ ++# if @REPLACE_FREE@ ++# if !(defined __cplusplus && defined GNULIB_NAMESPACE) ++# undef free ++# define free rpl_free ++# endif ++_GL_FUNCDECL_RPL (free, void, (void *ptr)); ++_GL_CXXALIAS_RPL (free, void, (void *ptr)); ++# else ++_GL_CXXALIAS_SYS (free, void, (void *ptr)); ++# endif ++# if __GLIBC__ >= 2 ++_GL_CXXALIASWARN (free); ++# endif ++#elif defined GNULIB_POSIXCHECK ++# undef free ++/* Assume free is always declared. */ ++_GL_WARN_ON_USE (free, "free is not future POSIX compliant everywhere - " ++ "use gnulib module free for portability"); ++#endif ++ ++ + /* Allocate memory with indefinite extent and specified alignment. */ + #if @GNULIB_ALIGNED_ALLOC@ + # if @REPLACE_ALIGNED_ALLOC@ +@@ -156,21 +178,37 @@ _GL_WARN_ON_USE (_Exit, "_Exit is unportable - " + # undef aligned_alloc + # define aligned_alloc rpl_aligned_alloc + # endif +-_GL_FUNCDECL_RPL (aligned_alloc, void *, (size_t alignment, size_t size)); ++_GL_FUNCDECL_RPL (aligned_alloc, void *, ++ (size_t alignment, size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + _GL_CXXALIAS_RPL (aligned_alloc, void *, (size_t alignment, size_t size)); + # else + # if @HAVE_ALIGNED_ALLOC@ ++# if __GNUC__ >= 11 ++/* For -Wmismatched-dealloc: Associate aligned_alloc with free or rpl_free. */ ++_GL_FUNCDECL_SYS (aligned_alloc, void *, ++ (size_t alignment, size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif + _GL_CXXALIAS_SYS (aligned_alloc, void *, (size_t alignment, size_t size)); + # endif + # endif + # if @HAVE_ALIGNED_ALLOC@ + _GL_CXXALIASWARN (aligned_alloc); + # endif +-#elif defined GNULIB_POSIXCHECK +-# undef aligned_alloc +-# if HAVE_RAW_DECL_ALIGNED_ALLOC ++#else ++# if @GNULIB_FREE_POSIX@ && __GNUC__ >= 11 && !defined aligned_alloc ++/* For -Wmismatched-dealloc: Associate aligned_alloc with free or rpl_free. */ ++_GL_FUNCDECL_SYS (aligned_alloc, void *, ++ (size_t alignment, size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef aligned_alloc ++# if HAVE_RAW_DECL_ALIGNED_ALLOC + _GL_WARN_ON_USE (aligned_alloc, "aligned_alloc is not portable - " + "use gnulib module aligned_alloc for portability"); ++# endif + # endif + #endif + +@@ -198,19 +236,35 @@ _GL_WARN_ON_USE (atoll, "atoll is unportable - " + # undef calloc + # define calloc rpl_calloc + # endif +-_GL_FUNCDECL_RPL (calloc, void *, (size_t nmemb, size_t size)); ++_GL_FUNCDECL_RPL (calloc, void *, ++ (size_t nmemb, size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + _GL_CXXALIAS_RPL (calloc, void *, (size_t nmemb, size_t size)); + # else ++# if __GNUC__ >= 11 ++/* For -Wmismatched-dealloc: Associate calloc with free or rpl_free. */ ++_GL_FUNCDECL_SYS (calloc, void *, ++ (size_t nmemb, size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif + _GL_CXXALIAS_SYS (calloc, void *, (size_t nmemb, size_t size)); + # endif + # if __GLIBC__ >= 2 + _GL_CXXALIASWARN (calloc); + # endif +-#elif defined GNULIB_POSIXCHECK +-# undef calloc ++#else ++# if @GNULIB_FREE_POSIX@ && __GNUC__ >= 11 && !defined calloc ++/* For -Wmismatched-dealloc: Associate calloc with free or rpl_free. */ ++_GL_FUNCDECL_SYS (calloc, void *, ++ (size_t nmemb, size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef calloc + /* Assume calloc is always declared. */ + _GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " + "use gnulib module calloc-posix for portability"); ++# endif + #endif + + #if @GNULIB_CANONICALIZE_FILE_NAME@ +@@ -218,13 +272,17 @@ _GL_WARN_ON_USE (calloc, "calloc is not POSIX compliant everywhere - " + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # define canonicalize_file_name rpl_canonicalize_file_name + # endif +-_GL_FUNCDECL_RPL (canonicalize_file_name, char *, (const char *name) +- _GL_ARG_NONNULL ((1))); ++_GL_FUNCDECL_RPL (canonicalize_file_name, char *, ++ (const char *name) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + _GL_CXXALIAS_RPL (canonicalize_file_name, char *, (const char *name)); + # else +-# if !@HAVE_CANONICALIZE_FILE_NAME@ +-_GL_FUNCDECL_SYS (canonicalize_file_name, char *, (const char *name) +- _GL_ARG_NONNULL ((1))); ++# if !@HAVE_CANONICALIZE_FILE_NAME@ || __GNUC__ >= 11 ++_GL_FUNCDECL_SYS (canonicalize_file_name, char *, ++ (const char *name) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + # endif + _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); + # endif +@@ -233,12 +291,22 @@ _GL_CXXALIAS_SYS (canonicalize_file_name, char *, (const char *name)); + (!@HAVE_CANONICALIZE_FILE_NAME@ || @REPLACE_CANONICALIZE_FILE_NAME@) + # endif + _GL_CXXALIASWARN (canonicalize_file_name); +-#elif defined GNULIB_POSIXCHECK +-# undef canonicalize_file_name +-# if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME ++#else ++# if @GNULIB_FREE_POSIX@ && __GNUC__ >= 11 && !defined canonicalize_file_name ++/* For -Wmismatched-dealloc: Associate canonicalize_file_name with free or ++ rpl_free. */ ++_GL_FUNCDECL_SYS (canonicalize_file_name, char *, ++ (const char *name) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef canonicalize_file_name ++# if HAVE_RAW_DECL_CANONICALIZE_FILE_NAME + _GL_WARN_ON_USE (canonicalize_file_name, + "canonicalize_file_name is unportable - " + "use gnulib module canonicalize-lgpl for portability"); ++# endif + # endif + #endif + +@@ -288,27 +356,6 @@ _GL_CXXALIASWARN (fcvt); + # endif + #endif + +-#if @GNULIB_FREE_POSIX@ +-# if @REPLACE_FREE@ +-# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +-# undef free +-# define free rpl_free +-# endif +-_GL_FUNCDECL_RPL (free, void, (void *ptr)); +-_GL_CXXALIAS_RPL (free, void, (void *ptr)); +-# else +-_GL_CXXALIAS_SYS (free, void, (void *ptr)); +-# endif +-# if __GLIBC__ >= 2 +-_GL_CXXALIASWARN (free); +-# endif +-#elif defined GNULIB_POSIXCHECK +-# undef free +-/* Assume free is always declared. */ +-_GL_WARN_ON_USE (free, "free is not future POSIX compliant everywhere - " +- "use gnulib module free for portability"); +-#endif +- + #if @GNULIB_MDA_GCVT@ + /* On native Windows, map 'gcvt' to '_gcvt', so that -loldnames is not + required. In C++ with GNULIB_NAMESPACE, avoid differences between +@@ -404,19 +451,35 @@ _GL_WARN_ON_USE (grantpt, "grantpt is not portable - " + # undef malloc + # define malloc rpl_malloc + # endif +-_GL_FUNCDECL_RPL (malloc, void *, (size_t size)); ++_GL_FUNCDECL_RPL (malloc, void *, ++ (size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + _GL_CXXALIAS_RPL (malloc, void *, (size_t size)); + # else ++# if __GNUC__ >= 11 ++/* For -Wmismatched-dealloc: Associate malloc with free or rpl_free. */ ++_GL_FUNCDECL_SYS (malloc, void *, ++ (size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif + _GL_CXXALIAS_SYS (malloc, void *, (size_t size)); + # endif + # if __GLIBC__ >= 2 + _GL_CXXALIASWARN (malloc); + # endif +-#elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC +-# undef malloc ++#else ++# if @GNULIB_FREE_POSIX@ && __GNUC__ >= 11 && !defined malloc ++/* For -Wmismatched-dealloc: Associate malloc with free or rpl_free. */ ++_GL_FUNCDECL_SYS (malloc, void *, ++ (size_t size) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif ++# if defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC ++# undef malloc + /* Assume malloc is always declared. */ + _GL_WARN_ON_USE (malloc, "malloc is not POSIX compliant everywhere - " + "use gnulib module malloc-posix for portability"); ++# endif + #endif + + /* Convert a multibyte character to a wide character. */ +@@ -1015,29 +1078,53 @@ _GL_WARN_ON_USE (setstate_r, "setstate_r is unportable - " + # undef realloc + # define realloc rpl_realloc + # endif +-_GL_FUNCDECL_RPL (realloc, void *, (void *ptr, size_t size)); ++_GL_FUNCDECL_RPL (realloc, void *, (void *ptr, size_t size) ++ _GL_ATTRIBUTE_DEALLOC_FREE); + _GL_CXXALIAS_RPL (realloc, void *, (void *ptr, size_t size)); + # else ++# if __GNUC__ >= 11 ++/* For -Wmismatched-dealloc: Associate realloc with free or rpl_free. */ ++_GL_FUNCDECL_SYS (realloc, void *, (void *ptr, size_t size) ++ _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif + _GL_CXXALIAS_SYS (realloc, void *, (void *ptr, size_t size)); + # endif + # if __GLIBC__ >= 2 + _GL_CXXALIASWARN (realloc); + # endif +-#elif defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC +-# undef realloc ++#else ++# if @GNULIB_FREE_POSIX@ && __GNUC__ >= 11 && !defined realloc ++/* For -Wmismatched-dealloc: Associate realloc with free or rpl_free. */ ++_GL_FUNCDECL_SYS (realloc, void *, (void *ptr, size_t size) ++ _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif ++# if defined GNULIB_POSIXCHECK && !_GL_USE_STDLIB_ALLOC ++# undef realloc + /* Assume realloc is always declared. */ + _GL_WARN_ON_USE (realloc, "realloc is not POSIX compliant everywhere - " + "use gnulib module realloc-posix for portability"); ++# endif + #endif + + + #if @GNULIB_REALLOCARRAY@ +-# if ! @HAVE_REALLOCARRAY@ ++# if @REPLACE_REALLOCARRAY@ ++# if !(defined __cplusplus && defined GNULIB_NAMESPACE) ++# undef reallocarray ++# define reallocarray rpl_reallocarray ++# endif ++_GL_FUNCDECL_RPL (reallocarray, void *, ++ (void *ptr, size_t nmemb, size_t size)); ++_GL_CXXALIAS_RPL (reallocarray, void *, ++ (void *ptr, size_t nmemb, size_t size)); ++# else ++# if ! @HAVE_REALLOCARRAY@ + _GL_FUNCDECL_SYS (reallocarray, void *, + (void *ptr, size_t nmemb, size_t size)); +-# endif ++# endif + _GL_CXXALIAS_SYS (reallocarray, void *, + (void *ptr, size_t nmemb, size_t size)); ++# endif + _GL_CXXALIASWARN (reallocarray); + #elif defined GNULIB_POSIXCHECK + # undef reallocarray +diff --git a/lib/strdup.c b/lib/strdup.c +index 2a37049..e5d4d75 100644 +--- a/lib/strdup.c ++++ b/lib/strdup.c +@@ -3,18 +3,18 @@ + + This file is part of the GNU C Library. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _LIBC + # include +diff --git a/lib/streq.h b/lib/streq.h +index 2d9d4c2..adabd15 100644 +--- a/lib/streq.h ++++ b/lib/streq.h +@@ -1,15 +1,15 @@ + /* Optimized string comparison. + Copyright (C) 2001-2002, 2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify it +- under the terms of the GNU Lesser General Public License as published +- by the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of +- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +- Lesser General Public License for more details. ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . */ +diff --git a/lib/strftime.h b/lib/strftime.h +index 645e8c7..790a80e 100644 +--- a/lib/strftime.h ++++ b/lib/strftime.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2002, 2004, 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/striconveh.c b/lib/striconveh.c +index 82f6467..78a5e02 100644 +--- a/lib/striconveh.c ++++ b/lib/striconveh.c +@@ -2,12 +2,12 @@ + Copyright (C) 2001-2021 Free Software Foundation, Inc. + Written by Bruno Haible and Simon Josefsson. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/striconveh.h b/lib/striconveh.h +index c9dff1e..60c6329 100644 +--- a/lib/striconveh.h ++++ b/lib/striconveh.h +@@ -2,12 +2,12 @@ + Copyright (C) 2001-2007, 2009-2021 Free Software Foundation, Inc. + Written by Bruno Haible and Simon Josefsson. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -18,7 +18,7 @@ + #ifndef _STRICONVEH_H + #define _STRICONVEH_H + +-#include ++#include + #if HAVE_ICONV + #include + #endif +@@ -95,7 +95,8 @@ extern int + extern char * + str_cd_iconveh (const char *src, + const iconveh_t *cd, +- enum iconv_ilseq_handler handler); ++ enum iconv_ilseq_handler handler) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; + + #endif + +@@ -129,7 +130,8 @@ extern int + extern char * + str_iconveh (const char *src, + const char *from_codeset, const char *to_codeset, +- enum iconv_ilseq_handler handler); ++ enum iconv_ilseq_handler handler) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE; + + + #ifdef __cplusplus +diff --git a/lib/string.in.h b/lib/string.in.h +index 1292e29..b043c75 100644 +--- a/lib/string.in.h ++++ b/lib/string.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 1995-1996, 2001-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ +@@ -47,6 +47,9 @@ + /* NetBSD 5.0 mis-defines NULL. */ + #include + ++/* Get free(). */ ++#include ++ + /* MirBSD defines mbslen as a macro. */ + #if @GNULIB_MBSLEN@ && defined __MirBSD__ + # include +@@ -418,7 +421,10 @@ _GL_WARN_ON_USE (strchrnul, "strchrnul is unportable - " + # undef strdup + # define strdup rpl_strdup + # endif +-_GL_FUNCDECL_RPL (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); ++_GL_FUNCDECL_RPL (strdup, char *, ++ (char const *__s) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + _GL_CXXALIAS_RPL (strdup, char *, (char const *__s)); + # elif defined _WIN32 && !defined __CYGWIN__ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) +@@ -431,35 +437,47 @@ _GL_CXXALIAS_MDA (strdup, char *, (char const *__s)); + /* strdup exists as a function and as a macro. Get rid of the macro. */ + # undef strdup + # endif +-# if !(@HAVE_DECL_STRDUP@ || defined strdup) +-_GL_FUNCDECL_SYS (strdup, char *, (char const *__s) _GL_ARG_NONNULL ((1))); ++# if (!@HAVE_DECL_STRDUP@ || __GNUC__ >= 11) && !defined strdup ++_GL_FUNCDECL_SYS (strdup, char *, ++ (char const *__s) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + # endif + _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); + # endif + _GL_CXXALIASWARN (strdup); +-#elif defined GNULIB_POSIXCHECK +-# undef strdup +-# if HAVE_RAW_DECL_STRDUP ++#else ++# if __GNUC__ >= 11 && !defined strdup ++/* For -Wmismatched-dealloc: Associate strdup with free or rpl_free. */ ++_GL_FUNCDECL_SYS (strdup, char *, ++ (char const *__s) ++ _GL_ARG_NONNULL ((1)) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef strdup ++# if HAVE_RAW_DECL_STRDUP + _GL_WARN_ON_USE (strdup, "strdup is unportable - " + "use gnulib module strdup for portability"); +-# endif +-#elif @GNULIB_MDA_STRDUP@ ++# endif ++# elif @GNULIB_MDA_STRDUP@ + /* On native Windows, map 'creat' to '_creat', so that -loldnames is not + required. In C++ with GNULIB_NAMESPACE, avoid differences between +- platforms by defining GNULIB_NAMESPACE::creat always. */ +-# if defined _WIN32 && !defined __CYGWIN__ +-# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +-# undef strdup +-# define strdup _strdup +-# endif ++ platforms by defining GNULIB_NAMESPACE::strdup always. */ ++# if defined _WIN32 && !defined __CYGWIN__ ++# if !(defined __cplusplus && defined GNULIB_NAMESPACE) ++# undef strdup ++# define strdup _strdup ++# endif + _GL_CXXALIAS_MDA (strdup, char *, (char const *__s)); +-# else +-# if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup +-# undef strdup +-# endif ++# else ++# if defined __cplusplus && defined GNULIB_NAMESPACE && defined strdup ++# undef strdup ++# endif + _GL_CXXALIAS_SYS (strdup, char *, (char const *__s)); +-# endif ++# endif + _GL_CXXALIASWARN (strdup); ++# endif + #endif + + /* Append no more than N characters from SRC onto DEST. */ +diff --git a/lib/stripslash.c b/lib/stripslash.c +index b079795..99bfbe6 100644 +--- a/lib/stripslash.c ++++ b/lib/stripslash.c +@@ -3,12 +3,12 @@ + Copyright (C) 1990, 2001, 2003-2006, 2009-2021 Free Software Foundation, + Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/sys-limits.h b/lib/sys-limits.h +index 1856e7f..2d9784d 100644 +--- a/lib/sys-limits.h ++++ b/lib/sys-limits.h +@@ -2,18 +2,18 @@ + + Copyright 2018-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _GL_SYS_LIMITS_H + #define _GL_SYS_LIMITS_H +diff --git a/lib/sys_file.in.h b/lib/sys_file.in.h +index e18594f..4166082 100644 +--- a/lib/sys_file.in.h ++++ b/lib/sys_file.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Richard W.M. Jones. */ + +diff --git a/lib/sys_random.in.h b/lib/sys_random.in.h +index 1a479e9..1abd6c5 100644 +--- a/lib/sys_random.in.h ++++ b/lib/sys_random.in.h +@@ -1,18 +1,18 @@ + /* Substitute for . + Copyright (C) 2020-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + # if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ +diff --git a/lib/sys_select.in.h b/lib/sys_select.in.h +index d82c5d1..f8ef648 100644 +--- a/lib/sys_select.in.h ++++ b/lib/sys_select.in.h +@@ -1,18 +1,18 @@ + /* Substitute for . + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + # if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ +diff --git a/lib/sys_socket.c b/lib/sys_socket.c +index 3b261da..d90b32c 100644 +--- a/lib/sys_socket.c ++++ b/lib/sys_socket.c +@@ -1,4 +1,22 @@ ++/* Inline functions for . ++ ++ Copyright (C) 2012-2021 Free Software Foundation, Inc. ++ ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. ++ ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ ++ + #include ++ + #define _GL_SYS_SOCKET_INLINE _GL_EXTERN_INLINE + #include "sys/socket.h" + typedef int dummy; +diff --git a/lib/sys_socket.in.h b/lib/sys_socket.in.h +index c0baa71..0a2c57d 100644 +--- a/lib/sys_socket.in.h ++++ b/lib/sys_socket.in.h +@@ -3,18 +3,18 @@ + Copyright (C) 2005-2021 Free Software Foundation, Inc. + Written by Simon Josefsson. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* This file is supposed to be used on platforms that lack , + on platforms where cannot be included standalone, and on +diff --git a/lib/sys_stat.in.h b/lib/sys_stat.in.h +index 125aca0..babe3db 100644 +--- a/lib/sys_stat.in.h ++++ b/lib/sys_stat.in.h +@@ -1,18 +1,18 @@ + /* Provide a more complete sys/stat.h header file. + Copyright (C) 2005-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Eric Blake, Paul Eggert, and Jim Meyering. */ + +diff --git a/lib/sys_time.in.h b/lib/sys_time.in.h +index f310ca5..8035fbe 100644 +--- a/lib/sys_time.in.h ++++ b/lib/sys_time.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Paul Eggert. */ + +diff --git a/lib/sys_times.in.h b/lib/sys_times.in.h +index 3d96200..85b728f 100644 +--- a/lib/sys_times.in.h ++++ b/lib/sys_times.in.h +@@ -1,18 +1,18 @@ + /* Provide a sys/times.h header file. + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Simon Josefsson , 2008. */ + +diff --git a/lib/sys_types.in.h b/lib/sys_types.in.h +index 26e7db7..2079d72 100644 +--- a/lib/sys_types.in.h ++++ b/lib/sys_types.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2011-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ +diff --git a/lib/sys_uio.in.h b/lib/sys_uio.in.h +index 1941360..507ab01 100644 +--- a/lib/sys_uio.in.h ++++ b/lib/sys_uio.in.h +@@ -1,18 +1,18 @@ + /* Substitute for . + Copyright (C) 2011-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + # if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ +diff --git a/lib/tempname.h b/lib/tempname.h +index c91a58d..795bb49 100644 +--- a/lib/tempname.h ++++ b/lib/tempname.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/time-internal.h b/lib/time-internal.h +index b86b7a0..6bbd0a7 100644 +--- a/lib/time-internal.h ++++ b/lib/time-internal.h +@@ -2,18 +2,18 @@ + + Copyright 2015-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Written by Paul Eggert. */ + +diff --git a/lib/time.in.h b/lib/time.in.h +index cbd2bba..a73fe59 100644 +--- a/lib/time.in.h ++++ b/lib/time.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #if __GNUC__ >= 3 + @PRAGMA_SYSTEM_HEADER@ +diff --git a/lib/time_r.c b/lib/time_r.c +index 2510c4e..88d3c1c 100644 +--- a/lib/time_r.c ++++ b/lib/time_r.c +@@ -2,18 +2,18 @@ + + Copyright (C) 2003, 2006-2007, 2010-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Written by Paul Eggert. */ + +diff --git a/lib/time_rz.c b/lib/time_rz.c +index d32cce7..e772244 100644 +--- a/lib/time_rz.c ++++ b/lib/time_rz.c +@@ -2,18 +2,18 @@ + + Copyright 2015-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* Written by Paul Eggert. */ + +diff --git a/lib/times.c b/lib/times.c +index b8afa60..72b852e 100644 +--- a/lib/times.c ++++ b/lib/times.c +@@ -2,18 +2,18 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Simon Josefsson , 2008. */ + +diff --git a/lib/trunc.c b/lib/trunc.c +index cf2adac..1c9c420 100644 +--- a/lib/trunc.c ++++ b/lib/trunc.c +@@ -1,12 +1,12 @@ + /* Round towards zero. + Copyright (C) 2007, 2010-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/tzset.c b/lib/tzset.c +index 1f423c4..7fd4936 100644 +--- a/lib/tzset.c ++++ b/lib/tzset.c +@@ -2,18 +2,18 @@ + + Copyright (C) 2001-2003, 2005-2007, 2009-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 3 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* written by Jim Meyering */ + +diff --git a/lib/unistd.c b/lib/unistd.c +index 72bad1c..0763456 100644 +--- a/lib/unistd.c ++++ b/lib/unistd.c +@@ -1,4 +1,22 @@ ++/* Inline functions for . ++ ++ Copyright (C) 2012-2021 Free Software Foundation, Inc. ++ ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. ++ ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ ++ + #include ++ + #define _GL_UNISTD_INLINE _GL_EXTERN_INLINE + #include "unistd.h" + typedef int dummy; +diff --git a/lib/unistd.in.h b/lib/unistd.in.h +index 5914fd5..73c882f 100644 +--- a/lib/unistd.in.h ++++ b/lib/unistd.in.h +@@ -1,18 +1,18 @@ + /* Substitute for and wrapper around . + Copyright (C) 2003-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _@GUARD_PREFIX@_UNISTD_H + +@@ -1521,6 +1521,7 @@ _GL_WARN_ON_USE (group_member, "group_member is unportable - " + # undef isatty + # define isatty rpl_isatty + # endif ++# define GNULIB_defined_isatty 1 + _GL_FUNCDECL_RPL (isatty, int, (int fd)); + _GL_CXXALIAS_RPL (isatty, int, (int fd)); + # elif defined _WIN32 && !defined __CYGWIN__ +@@ -2027,15 +2028,23 @@ _GL_WARN_ON_USE (sleep, "sleep is unportable - " + #if @GNULIB_MDA_SWAB@ + /* On native Windows, map 'swab' to '_swab', so that -loldnames is not + required. In C++ with GNULIB_NAMESPACE, avoid differences between +- platforms by defining GNULIB_NAMESPACE::creat always. */ ++ platforms by defining GNULIB_NAMESPACE::swab always. */ + # if defined _WIN32 && !defined __CYGWIN__ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef swab + # define swab _swab + # endif +-_GL_CXXALIAS_MDA (swab, void, (char *from, char *to, int n)); ++/* Need to cast, because in old mingw the arguments are ++ (const char *from, char *to, size_t n). */ ++_GL_CXXALIAS_MDA_CAST (swab, void, (char *from, char *to, int n)); + # else ++# if defined __hpux /* HP-UX */ ++_GL_CXXALIAS_SYS (swab, void, (const char *from, char *to, int n)); ++# elif defined __sun && !defined _XPG4 /* Solaris */ ++_GL_CXXALIAS_SYS (swab, void, (const char *from, char *to, ssize_t n)); ++# else + _GL_CXXALIAS_SYS (swab, void, (const void *from, void *to, ssize_t n)); ++# endif + # endif + _GL_CXXALIASWARN (swab); + #endif +diff --git a/lib/unsetenv.c b/lib/unsetenv.c +index 005fb1f..b2e910e 100644 +--- a/lib/unsetenv.c ++++ b/lib/unsetenv.c +@@ -1,12 +1,12 @@ + /* Copyright (C) 1992, 1995-2002, 2005-2021 Free Software Foundation, Inc. + This file is part of the GNU C Library. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c +index 8d51006..d9b669d 100644 +--- a/lib/vasnprintf.c ++++ b/lib/vasnprintf.c +@@ -1,18 +1,18 @@ + /* vsprintf with automatic memory allocation. + Copyright (C) 1999, 2002-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + /* This file can be parametrized with the following macros: + VASNPRINTF The name of the function being defined. +@@ -60,10 +60,16 @@ + #ifndef VASNPRINTF + # include + #endif +-#ifndef IN_LIBINTL +-# include ++ ++/* As of GCC 11.2.1, gcc -Wanalyzer-too-complex reports that main's ++ use of CHECK macros expands to code that is too complicated for gcc ++ -fanalyzer. Suppress the resulting bogus warnings. */ ++#if 10 <= __GNUC__ ++# pragma GCC diagnostic ignored "-Wanalyzer-null-argument" + #endif + ++#include ++ + /* Specification. */ + #ifndef VASNPRINTF + # if WIDE_CHAR_VERSION +@@ -1924,7 +1930,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + + /* Ensures that allocated >= needed. Aborts through a jump to + out_of_memory if needed is SIZE_MAX or otherwise too big. */ +-#define ENSURE_ALLOCATION(needed) \ ++#define ENSURE_ALLOCATION_ELSE(needed, oom_statement) \ + if ((needed) > allocated) \ + { \ + size_t memory_size; \ +@@ -1935,17 +1941,19 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + allocated = (needed); \ + memory_size = xtimes (allocated, sizeof (DCHAR_T)); \ + if (size_overflow_p (memory_size)) \ +- goto out_of_memory; \ ++ oom_statement \ + if (result == resultbuf || result == NULL) \ + memory = (DCHAR_T *) malloc (memory_size); \ + else \ + memory = (DCHAR_T *) realloc (result, memory_size); \ + if (memory == NULL) \ +- goto out_of_memory; \ ++ oom_statement \ + if (result == resultbuf && length > 0) \ + DCHAR_CPY (memory, result, length); \ + result = memory; \ + } ++#define ENSURE_ALLOCATION(needed) \ ++ ENSURE_ALLOCATION_ELSE((needed), goto out_of_memory; ) + + for (cp = format, i = 0, dp = &d.dir[0]; ; cp = dp->dir_end, i++, dp++) + { +@@ -2193,7 +2201,8 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + } + if (converted != result + length) + { +- ENSURE_ALLOCATION (xsum (length, converted_len)); ++ ENSURE_ALLOCATION_ELSE (xsum (length, converted_len), ++ { free (converted); goto out_of_memory; }); + DCHAR_CPY (result + length, converted, converted_len); + free (converted); + } +@@ -2317,7 +2326,8 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + } + if (converted != result + length) + { +- ENSURE_ALLOCATION (xsum (length, converted_len)); ++ ENSURE_ALLOCATION_ELSE (xsum (length, converted_len), ++ { free (converted); goto out_of_memory; }); + DCHAR_CPY (result + length, converted, converted_len); + free (converted); + } +@@ -2441,7 +2451,8 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + } + if (converted != result + length) + { +- ENSURE_ALLOCATION (xsum (length, converted_len)); ++ ENSURE_ALLOCATION_ELSE (xsum (length, converted_len), ++ { free (converted); goto out_of_memory; }); + DCHAR_CPY (result + length, converted, converted_len); + free (converted); + } +@@ -2944,7 +2955,8 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + } + } + # else +- ENSURE_ALLOCATION (xsum (length, tmpdst_len)); ++ ENSURE_ALLOCATION_ELSE (xsum (length, tmpdst_len), ++ { free (tmpdst); goto out_of_memory; }); + DCHAR_CPY (result + length, tmpdst, tmpdst_len); + free (tmpdst); + length += tmpdst_len; +@@ -3147,7 +3159,8 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + } + } + # else +- ENSURE_ALLOCATION (xsum (length, tmpdst_len)); ++ ENSURE_ALLOCATION_ELSE (xsum (length, tmpdst_len), ++ { free (tmpdst); goto out_of_memory; }); + DCHAR_CPY (result + length, tmpdst, tmpdst_len); + free (tmpdst); + length += tmpdst_len; +@@ -5598,7 +5611,8 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp, + CLEANUP (); + return NULL; + } +- ENSURE_ALLOCATION (xsum (length, tmpdst_len)); ++ ENSURE_ALLOCATION_ELSE (xsum (length, tmpdst_len), ++ { free (tmpdst); goto out_of_memory; }); + DCHAR_CPY (result + length, tmpdst, tmpdst_len); + free (tmpdst); + count = tmpdst_len; +diff --git a/lib/vasnprintf.h b/lib/vasnprintf.h +index aaed859..9b02cdf 100644 +--- a/lib/vasnprintf.h ++++ b/lib/vasnprintf.h +@@ -1,18 +1,18 @@ + /* vsprintf with automatic memory allocation. + Copyright (C) 2002-2004, 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifndef _VASNPRINTF_H + #define _VASNPRINTF_H +diff --git a/lib/verify.h b/lib/verify.h +index d1b4995..a8ca59b 100644 +--- a/lib/verify.h ++++ b/lib/verify.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2005-2006, 2009-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -25,7 +25,7 @@ + works as per C11. This is supported by GCC 4.6.0+ and by clang 4+. + + Define _GL_HAVE__STATIC_ASSERT1 to 1 if _Static_assert (R) works as +- per C2X. This is supported by GCC 9.1+. ++ per C2x. This is supported by GCC 9.1+. + + Support compilers claiming conformance to the relevant standard, + and also support GCC when not pedantic. If we were willing to slow +@@ -202,7 +202,7 @@ template + + This macro requires three or more arguments but uses at most the first + two, so that the _Static_assert macro optionally defined below supports +- both the C11 two-argument syntax and the C2X one-argument syntax. ++ both the C11 two-argument syntax and the C2x one-argument syntax. + + Unfortunately, unlike C11, this implementation must appear as an + ordinary declaration, and cannot appear inside struct { ... }. */ +diff --git a/lib/vsnprintf.c b/lib/vsnprintf.c +index c94c5cb..4a0a3dc 100644 +--- a/lib/vsnprintf.c ++++ b/lib/vsnprintf.c +@@ -2,18 +2,18 @@ + Copyright (C) 2004, 2006-2021 Free Software Foundation, Inc. + Written by Simon Josefsson and Yoann Vandoorselaere . + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + +- You should have received a copy of the GNU Lesser General Public License along +- with this program; if not, see . */ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ + + #ifdef HAVE_CONFIG_H + # include +diff --git a/lib/w32sock.h b/lib/w32sock.h +index 9b6a231..635a1b2 100644 +--- a/lib/w32sock.h ++++ b/lib/w32sock.h +@@ -2,12 +2,12 @@ + + Copyright (C) 2008-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/wchar.in.h b/lib/wchar.in.h +index fe4171c..be5d36c 100644 +--- a/lib/wchar.in.h ++++ b/lib/wchar.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2007-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Eric Blake. */ + +@@ -72,6 +72,9 @@ + # include + #endif + ++/* Get free(). */ ++#include ++ + /* Include the original if it exists. + Some builds of uClibc lack it. */ + /* The include_next requires a split double-inclusion guard. */ +@@ -111,7 +114,7 @@ + /* mingw and MSVC define wint_t as 'unsigned short' in or + . This is too small: ISO C 99 section 7.24.1.(2) says that + wint_t must be "unchanged by default argument promotions". Override it. */ +-# if @GNULIB_OVERRIDES_WINT_T@ ++# if @GNULIBHEADERS_OVERRIDE_WINT_T@ + # if !GNULIB_defined_wint_t + # if @HAVE_CRTDEFS_H@ + # include +@@ -941,36 +944,48 @@ _GL_WARN_ON_USE (wcsxfrm, "wcsxfrm is unportable - " + # endif + _GL_CXXALIAS_MDA (wcsdup, wchar_t *, (const wchar_t *s)); + # else +-# if !@HAVE_WCSDUP@ +-_GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s)); ++# if !@HAVE_WCSDUP@ || __GNUC__ >= 11 ++_GL_FUNCDECL_SYS (wcsdup, wchar_t *, ++ (const wchar_t *s) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); + # endif + _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s)); + # endif + _GL_CXXALIASWARN (wcsdup); +-#elif defined GNULIB_POSIXCHECK +-# undef wcsdup +-# if HAVE_RAW_DECL_WCSDUP ++#else ++# if __GNUC__ >= 11 && !defined wcsdup ++/* For -Wmismatched-dealloc: Associate wcsdup with free or rpl_free. */ ++_GL_FUNCDECL_SYS (wcsdup, wchar_t *, ++ (const wchar_t *s) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# endif ++# if defined GNULIB_POSIXCHECK ++# undef wcsdup ++# if HAVE_RAW_DECL_WCSDUP + _GL_WARN_ON_USE (wcsdup, "wcsdup is unportable - " + "use gnulib module wcsdup for portability"); +-# endif +-#elif @GNULIB_MDA_WCSDUP@ ++# endif ++# elif @GNULIB_MDA_WCSDUP@ + /* On native Windows, map 'wcsdup' to '_wcsdup', so that -loldnames is not + required. In C++ with GNULIB_NAMESPACE, avoid differences between + platforms by defining GNULIB_NAMESPACE::wcsdup always. */ +-# if defined _WIN32 && !defined __CYGWIN__ +-# if !(defined __cplusplus && defined GNULIB_NAMESPACE) +-# undef wcsdup +-# define wcsdup _wcsdup +-# endif ++# if defined _WIN32 && !defined __CYGWIN__ ++# if !(defined __cplusplus && defined GNULIB_NAMESPACE) ++# undef wcsdup ++# define wcsdup _wcsdup ++# endif + _GL_CXXALIAS_MDA (wcsdup, wchar_t *, (const wchar_t *s)); +-# else +-_GL_FUNCDECL_SYS (wcsdup, wchar_t *, (const wchar_t *s)); +-# if @HAVE_DECL_WCSDUP@ ++# else ++_GL_FUNCDECL_SYS (wcsdup, wchar_t *, ++ (const wchar_t *s) ++ _GL_ATTRIBUTE_MALLOC _GL_ATTRIBUTE_DEALLOC_FREE); ++# if @HAVE_DECL_WCSDUP@ + _GL_CXXALIAS_SYS (wcsdup, wchar_t *, (const wchar_t *s)); ++# endif + # endif +-# endif +-# if (defined _WIN32 && !defined __CYGWIN__) || @HAVE_DECL_WCSDUP@ ++# if (defined _WIN32 && !defined __CYGWIN__) || @HAVE_DECL_WCSDUP@ + _GL_CXXALIASWARN (wcsdup); ++# endif + # endif + #endif + +diff --git a/lib/wcrtomb.c b/lib/wcrtomb.c +index 76d21ae..5c9fd79 100644 +--- a/lib/wcrtomb.c ++++ b/lib/wcrtomb.c +@@ -2,12 +2,12 @@ + Copyright (C) 2008-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/wctype-h.c b/lib/wctype-h.c +index bb5f847..150221d 100644 +--- a/lib/wctype-h.c ++++ b/lib/wctype-h.c +@@ -1,4 +1,23 @@ ++/* Inline functions for . ++ ++ Copyright (C) 2012-2021 Free Software Foundation, Inc. ++ ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. ++ ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ ++ + /* Normally this would be wctype.c, but that name's already taken. */ ++ + #include ++ + #define _GL_WCTYPE_INLINE _GL_EXTERN_INLINE + #include "wctype.h" +diff --git a/lib/wctype.in.h b/lib/wctype.in.h +index 6f0cd21..652d811 100644 +--- a/lib/wctype.in.h ++++ b/lib/wctype.in.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2006-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Bruno Haible and Paul Eggert. */ + +@@ -103,7 +103,7 @@ _GL_INLINE_HEADER_BEGIN + /* mingw and MSVC define wint_t as 'unsigned short' in or + . This is too small: ISO C 99 section 7.24.1.(2) says that + wint_t must be "unchanged by default argument promotions". Override it. */ +-# if @GNULIB_OVERRIDES_WINT_T@ ++# if @GNULIBHEADERS_OVERRIDE_WINT_T@ + # if !GNULIB_defined_wint_t + # if @HAVE_CRTDEFS_H@ + # include +@@ -132,7 +132,7 @@ typedef unsigned int rpl_wint_t; + same way, or not at all. */ + # if ! @HAVE_ISWCNTRL@ || @REPLACE_ISWCNTRL@ + +-# if @GNULIB_OVERRIDES_WINT_T@ /* implies @REPLACE_ISWCNTRL@ */ ++# if @GNULIBHEADERS_OVERRIDE_WINT_T@ /* implies @REPLACE_ISWCNTRL@ */ + + _GL_WCTYPE_INLINE int + rpl_iswalnum (wint_t wc) +@@ -496,7 +496,7 @@ _GL_FUNCDECL_RPL (iswxdigit, int, (wint_t wc)); + + # endif + +-# if defined __MINGW32__ && !@GNULIB_OVERRIDES_WINT_T@ ++# if defined __MINGW32__ && !@GNULIBHEADERS_OVERRIDE_WINT_T@ + + /* On native Windows, wchar_t is uint16_t, and wint_t is uint32_t. + The functions towlower and towupper are implemented in the MSVCRT library +@@ -529,7 +529,7 @@ rpl_towupper (wint_t wc) + # define towupper rpl_towupper + # endif + +-# endif /* __MINGW32__ && !@GNULIB_OVERRIDES_WINT_T@ */ ++# endif /* __MINGW32__ && !@GNULIBHEADERS_OVERRIDE_WINT_T@ */ + + # define GNULIB_defined_wctype_functions 1 + #endif +@@ -646,7 +646,7 @@ _GL_WARN_ON_USE (wctype, "wctype is unportable - " + The argument WC must be either a wchar_t value or WEOF. + The argument DESC must have been returned by the wctype() function. */ + #if @GNULIB_ISWCTYPE@ +-# if @GNULIB_OVERRIDES_WINT_T@ ++# if @GNULIBHEADERS_OVERRIDE_WINT_T@ + # if !(defined __cplusplus && defined GNULIB_NAMESPACE) + # undef iswctype + # define iswctype rpl_iswctype +diff --git a/lib/windows-initguard.h b/lib/windows-initguard.h +index e84051e..7999b23 100644 +--- a/lib/windows-initguard.h ++++ b/lib/windows-initguard.h +@@ -1,18 +1,18 @@ + /* Init guards, somewhat like spinlocks (native Windows implementation). + Copyright (C) 2005-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + /* Written by Bruno Haible , 2005. + Based on GCC's gthr-win32.h. */ +diff --git a/lib/write.c b/lib/write.c +index bc53d4d..614cdc6 100644 +--- a/lib/write.c ++++ b/lib/write.c +@@ -2,12 +2,12 @@ + Copyright (C) 2008-2021 Free Software Foundation, Inc. + Written by Bruno Haible , 2008. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +diff --git a/lib/xalloc-oversized.h b/lib/xalloc-oversized.h +index d255969..4184f33 100644 +--- a/lib/xalloc-oversized.h ++++ b/lib/xalloc-oversized.h +@@ -2,12 +2,12 @@ + + Copyright (C) 1990-2000, 2003-2004, 2006-2021 Free Software Foundation, Inc. + +- This program is free software: you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 3 of the License, or +- (at your option) any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. +@@ -22,33 +22,38 @@ + #include + + /* True if N * S does not fit into both ptrdiff_t and size_t. +- S must be positive and N must be nonnegative. ++ N and S should be nonnegative and free of side effects. + This expands to a constant expression if N and S are both constants. + By gnulib convention, SIZE_MAX represents overflow in size_t + calculations, so the conservative size_t-based dividend to use here + is SIZE_MAX - 1. */ + #define __xalloc_oversized(n, s) \ +- ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) < (n)) ++ ((s) != 0 \ ++ && ((size_t) (PTRDIFF_MAX < SIZE_MAX ? PTRDIFF_MAX : SIZE_MAX - 1) / (s) \ ++ < (n))) + +-#if PTRDIFF_MAX < SIZE_MAX +-typedef ptrdiff_t xalloc_count_t; +-#else +-typedef size_t xalloc_count_t; +-#endif ++/* Return 1 if and only if an array of N objects, each of size S, ++ cannot exist reliably because its total size in bytes would exceed ++ MIN (PTRDIFF_MAX, SIZE_MAX - 1). ++ ++ N and S should be nonnegative and free of side effects. ++ ++ Warning: (xalloc_oversized (N, S) ? NULL : malloc (N * S)) can ++ misbehave if N and S are both narrower than ptrdiff_t and size_t, ++ and can be rewritten as (xalloc_oversized (N, S) ? NULL ++ : malloc (N * (size_t) S)). + +-/* Return 1 if an array of N objects, each of size S, cannot exist reliably +- because its total size in bytes exceeds MIN (PTRDIFF_MAX, SIZE_MAX). +- N must be nonnegative, S must be positive, and either N or S should be +- of type ptrdiff_t or size_t or wider. This is a macro, not a function, +- so that it works even if an argument exceeds MAX (PTRDIFF_MAX, SIZE_MAX). */ +-#if 7 <= __GNUC__ && !defined __clang__ ++ This is a macro, not a function, so that it works even if an ++ argument exceeds MAX (PTRDIFF_MAX, SIZE_MAX). */ ++#if 7 <= __GNUC__ && !defined __clang__ && PTRDIFF_MAX < SIZE_MAX + # define xalloc_oversized(n, s) \ +- __builtin_mul_overflow_p (n, s, (xalloc_count_t) 1) +-#elif 5 <= __GNUC__ && !defined __ICC && !__STRICT_ANSI__ ++ __builtin_mul_overflow_p (n, s, (ptrdiff_t) 1) ++#elif (5 <= __GNUC__ && !defined __ICC && !__STRICT_ANSI__ \ ++ && PTRDIFF_MAX < SIZE_MAX) + # define xalloc_oversized(n, s) \ + (__builtin_constant_p (n) && __builtin_constant_p (s) \ + ? __xalloc_oversized (n, s) \ +- : ({ xalloc_count_t __xalloc_count; \ ++ : ({ ptrdiff_t __xalloc_count; \ + __builtin_mul_overflow (n, s, &__xalloc_count); })) + + /* Other compilers use integer division; this may be slower but is +diff --git a/lib/xsize.c b/lib/xsize.c +index 4b4914c..b3d73a2 100644 +--- a/lib/xsize.c ++++ b/lib/xsize.c +@@ -1,3 +1,21 @@ ++/* Checked size_t computations. ++ ++ Copyright (C) 2012-2021 Free Software Foundation, Inc. ++ ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. ++ ++ This file is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public License ++ along with this program. If not, see . */ ++ + #include ++ + #define XSIZE_INLINE _GL_EXTERN_INLINE + #include "xsize.h" +diff --git a/lib/xsize.h b/lib/xsize.h +index d4d7b1c..91fa877 100644 +--- a/lib/xsize.h ++++ b/lib/xsize.h +@@ -2,18 +2,18 @@ + + Copyright (C) 2003, 2008-2021 Free Software Foundation, Inc. + +- This program is free software; you can redistribute it and/or modify +- it under the terms of the GNU Lesser General Public License as published by +- the Free Software Foundation; either version 2, or (at your option) +- any later version. ++ This file is free software: you can redistribute it and/or modify ++ it under the terms of the GNU Lesser General Public License as ++ published by the Free Software Foundation; either version 2.1 of the ++ License, or (at your option) any later version. + +- This program is distributed in the hope that it will be useful, ++ This file is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License +- along with this program; if not, see . */ ++ along with this program. If not, see . */ + + #ifndef _XSIZE_H + #define _XSIZE_H +diff --git a/m4/arpa_inet_h.m4 b/m4/arpa_inet_h.m4 +index c4e386d..a3ba256 100644 +--- a/m4/arpa_inet_h.m4 ++++ b/m4/arpa_inet_h.m4 +@@ -1,4 +1,4 @@ +-# arpa_inet_h.m4 serial 14 ++# arpa_inet_h.m4 serial 17 + dnl Copyright (C) 2006, 2008-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,10 +6,10 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl Written by Simon Josefsson and Bruno Haible + +-AC_DEFUN([gl_HEADER_ARPA_INET], ++AC_DEFUN_ONCE([gl_ARPA_INET_H], + [ +- dnl Use AC_REQUIRE here, so that the default behavior below is expanded +- dnl once only, before all statements that occur in other macros. ++ dnl Ensure to expand the default settings once only, before all statements ++ dnl that occur in other macros. + AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) + + AC_CHECK_HEADERS_ONCE([arpa/inet.h]) +@@ -40,17 +40,32 @@ AC_DEFUN([gl_HEADER_ARPA_INET], + ]], [inet_ntop inet_pton]) + ]) + ++# gl_ARPA_INET_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_ARPA_INET_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_ARPA_INET_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_ARPA_INET_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_ARPA_INET_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_INET_NTOP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_INET_PTON]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_ARPA_INET_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_ARPA_INET_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_ARPA_INET_H_DEFAULTS], + [ +- GNULIB_INET_NTOP=0; AC_SUBST([GNULIB_INET_NTOP]) +- GNULIB_INET_PTON=0; AC_SUBST([GNULIB_INET_PTON]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_DECL_INET_NTOP=1; AC_SUBST([HAVE_DECL_INET_NTOP]) + HAVE_DECL_INET_PTON=1; AC_SUBST([HAVE_DECL_INET_PTON]) +diff --git a/m4/dirent_h.m4 b/m4/dirent_h.m4 +index 6d86142..17e2a20 100644 +--- a/m4/dirent_h.m4 ++++ b/m4/dirent_h.m4 +@@ -1,4 +1,4 @@ +-# dirent_h.m4 serial 16 ++# dirent_h.m4 serial 19 + dnl Copyright (C) 2008-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,10 +6,10 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl Written by Bruno Haible. + +-AC_DEFUN([gl_DIRENT_H], ++AC_DEFUN_ONCE([gl_DIRENT_H], + [ +- dnl Use AC_REQUIRE here, so that the default behavior below is expanded +- dnl once only, before all statements that occur in other macros. ++ dnl Ensure to expand the default settings once only, before all statements ++ dnl that occur in other macros. + AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) + + dnl is always overridden, because of GNULIB_POSIXCHECK. +@@ -27,26 +27,41 @@ AC_DEFUN([gl_DIRENT_H], + ]], [alphasort closedir dirfd fdopendir opendir readdir rewinddir scandir]) + ]) + ++# gl_DIRENT_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_DIRENT_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_DIRENT_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_DIRENT_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_DIRENT_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_UNISTD_H_REQUIRE_DEFAULTS dnl for REPLACE_FCHDIR ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPENDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_READDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REWINDDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CLOSEDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DIRFD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FDOPENDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SCANDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ALPHASORT]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_DIRENT_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_DIRENT_H_DEFAULTS], + [ +- AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR +- GNULIB_OPENDIR=0; AC_SUBST([GNULIB_OPENDIR]) +- GNULIB_READDIR=0; AC_SUBST([GNULIB_READDIR]) +- GNULIB_REWINDDIR=0; AC_SUBST([GNULIB_REWINDDIR]) +- GNULIB_CLOSEDIR=0; AC_SUBST([GNULIB_CLOSEDIR]) +- GNULIB_DIRFD=0; AC_SUBST([GNULIB_DIRFD]) +- GNULIB_FDOPENDIR=0; AC_SUBST([GNULIB_FDOPENDIR]) +- GNULIB_SCANDIR=0; AC_SUBST([GNULIB_SCANDIR]) +- GNULIB_ALPHASORT=0; AC_SUBST([GNULIB_ALPHASORT]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_OPENDIR=1; AC_SUBST([HAVE_OPENDIR]) + HAVE_READDIR=1; AC_SUBST([HAVE_READDIR]) +diff --git a/m4/environ.m4 b/m4/environ.m4 +index d971770..ae53291 100644 +--- a/m4/environ.m4 ++++ b/m4/environ.m4 +@@ -1,4 +1,4 @@ +-# environ.m4 serial 7 ++# environ.m4 serial 8 + dnl Copyright (C) 2001-2004, 2006-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -33,7 +33,8 @@ AC_DEFUN([gt_CHECK_VAR_DECL], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[$1 +- extern struct { int foo; } $2;]], ++ typedef struct { int foo; } foo_t; ++ extern foo_t $2;]], + [[$2.foo = 1;]])], + [gt_cv_var=no], + [gt_cv_var=yes])]) +diff --git a/m4/fcntl_h.m4 b/m4/fcntl_h.m4 +index e63a82f..aba4473 100644 +--- a/m4/fcntl_h.m4 ++++ b/m4/fcntl_h.m4 +@@ -1,4 +1,4 @@ +-# serial 17 ++# serial 20 + # Configure fcntl.h. + dnl Copyright (C) 2006-2007, 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation +@@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl Written by Paul Eggert. + +-AC_DEFUN([gl_FCNTL_H], ++AC_DEFUN_ONCE([gl_FCNTL_H], + [ + AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) + AC_REQUIRE([gl_FCNTL_O_FLAGS]) +@@ -26,25 +26,40 @@ AC_DEFUN([gl_FCNTL_H], + ]], [fcntl openat]) + ]) + ++# gl_FCNTL_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_FCNTL_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_FCNTL_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_FCNTL_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_FCNTL_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CREAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCNTL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NONBLOCKING]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OPENAT]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CREAT], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_OPEN], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_FCNTL_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_FCNTL_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_FCNTL_H_DEFAULTS], + [ +- GNULIB_CREAT=0; AC_SUBST([GNULIB_CREAT]) +- GNULIB_FCNTL=0; AC_SUBST([GNULIB_FCNTL]) +- GNULIB_NONBLOCKING=0; AC_SUBST([GNULIB_NONBLOCKING]) +- GNULIB_OPEN=0; AC_SUBST([GNULIB_OPEN]) +- GNULIB_OPENAT=0; AC_SUBST([GNULIB_OPENAT]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_CREAT=1; AC_SUBST([GNULIB_MDA_CREAT]) +- GNULIB_MDA_OPEN=1; AC_SUBST([GNULIB_MDA_OPEN]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_FCNTL=1; AC_SUBST([HAVE_FCNTL]) + HAVE_OPENAT=1; AC_SUBST([HAVE_OPENAT]) +diff --git a/m4/flock.m4 b/m4/flock.m4 +index eb46642..e1e5fe0 100644 +--- a/m4/flock.m4 ++++ b/m4/flock.m4 +@@ -1,4 +1,4 @@ +-# flock.m4 serial 3 ++# flock.m4 serial 4 + dnl Copyright (C) 2008-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,7 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_FLOCK], + [ +- AC_REQUIRE([gl_HEADER_SYS_FILE_H_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_FILE_H_DEFAULTS]) + AC_CHECK_FUNCS_ONCE([flock]) + if test $ac_cv_func_flock = no; then + HAVE_FLOCK=0 +diff --git a/m4/fstat.m4 b/m4/fstat.m4 +index 3b5b238..cdaca80 100644 +--- a/m4/fstat.m4 ++++ b/m4/fstat.m4 +@@ -1,4 +1,4 @@ +-# fstat.m4 serial 7 ++# fstat.m4 serial 8 + dnl Copyright (C) 2011-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -34,7 +34,7 @@ AC_DEFUN([gl_FUNC_FSTAT], + + # Prerequisites of lib/fstat.c and lib/stat-w32.c. + AC_DEFUN([gl_PREREQ_FSTAT], [ +- AC_REQUIRE([gl_HEADER_SYS_STAT_H]) ++ AC_REQUIRE([gl_SYS_STAT_H]) + AC_REQUIRE([gl_PREREQ_STAT_W32]) + : + ]) +diff --git a/m4/getaddrinfo.m4 b/m4/getaddrinfo.m4 +index 97889a8..3f8e04f 100644 +--- a/m4/getaddrinfo.m4 ++++ b/m4/getaddrinfo.m4 +@@ -1,4 +1,4 @@ +-# getaddrinfo.m4 serial 33 ++# getaddrinfo.m4 serial 34 + dnl Copyright (C) 2004-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,8 +6,8 @@ dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_GETADDRINFO], + [ +- AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H +- AC_REQUIRE([gl_HEADER_NETDB])dnl for HAVE_NETDB_H ++ AC_REQUIRE([gl_SYS_SOCKET_H])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H ++ AC_REQUIRE([gl_NETDB_H])dnl for HAVE_NETDB_H + GETADDRINFO_LIB= + gai_saved_LIBS="$LIBS" + +@@ -156,13 +156,13 @@ const char *gai_strerror(int);]])], + # Prerequisites of lib/netdb.in.h and lib/getaddrinfo.c. + AC_DEFUN([gl_PREREQ_GETADDRINFO], [ + AC_REQUIRE([gl_NETDB_H_DEFAULTS]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H ++ AC_REQUIRE([gl_SYS_SOCKET_H])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H + AC_REQUIRE([gl_HOSTENT]) dnl for HOSTENT_LIB + AC_REQUIRE([gl_SERVENT]) dnl for SERVENT_LIB + AC_REQUIRE([gl_FUNC_INET_NTOP]) dnl for INET_NTOP_LIB + AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([gl_SOCKET_FAMILIES]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + + dnl Including sys/socket.h is wrong for Windows, but Windows does not +diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 +index f2eff10..c801b3d 100644 +--- a/m4/gnulib-common.m4 ++++ b/m4/gnulib-common.m4 +@@ -1,4 +1,4 @@ +-# gnulib-common.m4 serial 63 ++# gnulib-common.m4 serial 67 + dnl Copyright (C) 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -85,12 +85,12 @@ AC_DEFUN([gl_COMMON_BODY], [ + # define _GL_ATTR_fallthrough _GL_GNUC_PREREQ (7, 0) + # define _GL_ATTR_format _GL_GNUC_PREREQ (2, 7) + # define _GL_ATTR_leaf _GL_GNUC_PREREQ (4, 6) ++# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) + # ifdef _ICC + # define _GL_ATTR_may_alias 0 + # else + # define _GL_ATTR_may_alias _GL_GNUC_PREREQ (3, 3) + # endif +-# define _GL_ATTR_malloc _GL_GNUC_PREREQ (3, 0) + # define _GL_ATTR_noinline _GL_GNUC_PREREQ (3, 1) + # define _GL_ATTR_nonnull _GL_GNUC_PREREQ (3, 3) + # define _GL_ATTR_nonstring _GL_GNUC_PREREQ (8, 0) +@@ -103,6 +103,12 @@ AC_DEFUN([gl_COMMON_BODY], [ + # define _GL_ATTR_warn_unused_result _GL_GNUC_PREREQ (3, 4) + #endif + ++#ifdef __has_c_attribute ++# define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__) ++#else ++# define _GL_HAS_C_ATTRIBUTE(attr) 0 ++#endif ++ + ]dnl There is no _GL_ATTRIBUTE_ALIGNED; use stdalign's _Alignas instead. + [ + #if _GL_HAS_ATTRIBUTE (alloc_size) +@@ -142,7 +148,20 @@ AC_DEFUN([gl_COMMON_BODY], [ + # define _GL_ATTRIBUTE_CONST + #endif + +-#if 201710L < __STDC_VERSION__ ++/* _GL_ATTRIBUTE_DEALLOC (F, I) is for functions returning pointers ++ that can be freed by passing them as the Ith argument to the ++ function F. _GL_ATTRIBUTE_DEALLOC_FREE is for functions that ++ return pointers that can be freed via 'free'; it can be used ++ only after including stdlib.h. These macros cannot be used on ++ inline functions. */ ++#if _GL_GNUC_PREREQ (11, 0) ++# define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) ++#else ++# define _GL_ATTRIBUTE_DEALLOC(f, i) ++#endif ++#define _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_DEALLOC (free, 1) ++ ++#if _GL_HAS_C_ATTRIBUTE (deprecated) + # define _GL_ATTRIBUTE_DEPRECATED [[__deprecated__]] + #elif _GL_HAS_ATTRIBUTE (deprecated) + # define _GL_ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__)) +@@ -168,7 +187,7 @@ AC_DEFUN([gl_COMMON_BODY], [ + #endif + + /* FALLTHROUGH is special, because it always expands to something. */ +-#if 201710L < __STDC_VERSION__ ++#if _GL_HAS_C_ATTRIBUTE (fallthrough) + # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]] + #elif _GL_HAS_ATTRIBUTE (fallthrough) + # define _GL_ATTRIBUTE_FALLTHROUGH __attribute__ ((__fallthrough__)) +@@ -188,6 +207,12 @@ AC_DEFUN([gl_COMMON_BODY], [ + # define _GL_ATTRIBUTE_LEAF + #endif + ++#if _GL_HAS_ATTRIBUTE (malloc) ++# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) ++#else ++# define _GL_ATTRIBUTE_MALLOC ++#endif ++ + /* Oracle Studio 12.6 mishandles may_alias despite __has_attribute OK. */ + #if _GL_HAS_ATTRIBUTE (may_alias) && !defined __SUNPRO_C + # define _GL_ATTRIBUTE_MAY_ALIAS __attribute__ ((__may_alias__)) +@@ -195,24 +220,15 @@ AC_DEFUN([gl_COMMON_BODY], [ + # define _GL_ATTRIBUTE_MAY_ALIAS + #endif + +-#if 201710L < __STDC_VERSION__ ++#if _GL_HAS_C_ATTRIBUTE (maybe_unused) + # define _GL_ATTRIBUTE_MAYBE_UNUSED [[__maybe_unused__]] +-#elif _GL_HAS_ATTRIBUTE (unused) +-# define _GL_ATTRIBUTE_MAYBE_UNUSED __attribute__ ((__unused__)) + #else +-# define _GL_ATTRIBUTE_MAYBE_UNUSED ++# define _GL_ATTRIBUTE_MAYBE_UNUSED _GL_ATTRIBUTE_UNUSED + #endif + /* Earlier spellings of this macro. */ +-#define _GL_UNUSED _GL_ATTRIBUTE_MAYBE_UNUSED + #define _UNUSED_PARAMETER_ _GL_ATTRIBUTE_MAYBE_UNUSED + +-#if _GL_HAS_ATTRIBUTE (malloc) +-# define _GL_ATTRIBUTE_MALLOC __attribute__ ((__malloc__)) +-#else +-# define _GL_ATTRIBUTE_MALLOC +-#endif +- +-#if 201710L < __STDC_VERSION__ ++#if _GL_HAS_C_ATTRIBUTE (nodiscard) + # define _GL_ATTRIBUTE_NODISCARD [[__nodiscard__]] + #elif _GL_HAS_ATTRIBUTE (warn_unused_result) + # define _GL_ATTRIBUTE_NODISCARD __attribute__ ((__warn_unused_result__)) +@@ -270,11 +286,19 @@ AC_DEFUN([gl_COMMON_BODY], [ + # define _GL_ATTRIBUTE_SENTINEL(pos) + #endif + ++#if _GL_HAS_ATTRIBUTE (unused) ++# define _GL_ATTRIBUTE_UNUSED __attribute__ ((__unused__)) ++#else ++# define _GL_ATTRIBUTE_UNUSED ++#endif ++/* Earlier spellings of this macro. */ ++#define _GL_UNUSED _GL_ATTRIBUTE_UNUSED ++ + ]dnl There is no _GL_ATTRIBUTE_VISIBILITY; see m4/visibility.m4 instead. + [ + /* To support C++ as well as C, use _GL_UNUSED_LABEL with trailing ';'. */ + #if !defined __cplusplus || _GL_GNUC_PREREQ (4, 5) +-# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_MAYBE_UNUSED ++# define _GL_UNUSED_LABEL _GL_ATTRIBUTE_UNUSED + #else + # define _GL_UNUSED_LABEL + #endif +@@ -357,6 +381,16 @@ AC_DEFUN([gl_COMMON_BODY], [ + export LIBC_FATAL_STDERR_ + ]) + ++# gl_MODULE_INDICATOR_INIT_VARIABLE([variablename]) ++# gl_MODULE_INDICATOR_INIT_VARIABLE([variablename], [initialvalue]) ++# initializes the shell variable that indicates the presence of the given module ++# as a C preprocessor expression. ++AC_DEFUN([gl_MODULE_INDICATOR_INIT_VARIABLE], ++[ ++ GL_MODULE_INDICATOR_PREFIX[]_[$1]=m4_if([$2], , [0], [$2]) ++ AC_SUBST(GL_MODULE_INDICATOR_PREFIX[]_[$1]) ++]) ++ + # gl_MODULE_INDICATOR_CONDITION + # expands to a C preprocessor expression that evaluates to 1 or 0, depending + # whether a gnulib module that has been requested shall be considered present +@@ -369,9 +403,9 @@ m4_define([gl_MODULE_INDICATOR_CONDITION], [1]) + AC_DEFUN([gl_MODULE_INDICATOR_SET_VARIABLE], + [ + gl_MODULE_INDICATOR_SET_VARIABLE_AUX( +- [GNULIB_[]m4_translit([[$1]], +- [abcdefghijklmnopqrstuvwxyz./-], +- [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], ++ [GL_MODULE_INDICATOR_PREFIX[]_GNULIB_[]m4_translit([[$1]], ++ [abcdefghijklmnopqrstuvwxyz./-], ++ [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])], + [gl_MODULE_INDICATOR_CONDITION]) + ]) + +@@ -656,6 +690,72 @@ AC_DEFUN([gl_CACHE_VAL_SILENT], + ]) + ]) + ++# gl_CC_ALLOW_WARNINGS ++# sets and substitutes a variable GL_CFLAG_ALLOW_WARNINGS, to a $(CC) option ++# that reverts a preceding '-Werror' option, if available. ++# This is expected to be '-Wno-error' on gcc, clang (except clang/MSVC), xlclang ++# and empty otherwise. ++AC_DEFUN([gl_CC_ALLOW_WARNINGS], ++[ ++ AC_REQUIRE([AC_PROG_CC]) ++ AC_CACHE_CHECK([for C compiler option to allow warnings], ++ [gl_cv_cc_wallow], ++ [rm -f conftest* ++ echo 'int dummy;' > conftest.c ++ AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -c conftest.c 2>conftest1.err]) >/dev/null ++ AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS -Wno-error -c conftest.c 2>conftest2.err]) >/dev/null ++ dnl Test the number of error output lines, because AIX xlc accepts the ++ dnl option '-Wno-error', just to produce a warning ++ dnl "Option -Wno-error was incorrectly specified. The option will be ignored." ++ dnl afterwards. ++ if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then ++ gl_cv_cc_wallow='-Wno-error' ++ else ++ gl_cv_cc_wallow=none ++ fi ++ rm -f conftest* ++ ]) ++ case "$gl_cv_cc_wallow" in ++ none) GL_CFLAG_ALLOW_WARNINGS='' ;; ++ *) GL_CFLAG_ALLOW_WARNINGS="$gl_cv_cc_wallow" ;; ++ esac ++ AC_SUBST([GL_CFLAG_ALLOW_WARNINGS]) ++]) ++ ++# gl_CXX_ALLOW_WARNINGS ++# sets and substitutes a variable GL_CXXFLAG_ALLOW_WARNINGS, to a $(CC) option ++# that reverts a preceding '-Werror' option, if available. ++AC_DEFUN([gl_CXX_ALLOW_WARNINGS], ++[ ++ dnl Requires AC_PROG_CXX or gl_PROG_ANSI_CXX. ++ if test -n "$CXX" && test "$CXX" != no; then ++ AC_CACHE_CHECK([for C++ compiler option to allow warnings], ++ [gl_cv_cxx_wallow], ++ [rm -f conftest* ++ echo 'int dummy;' > conftest.cc ++ AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -c conftest.cc 2>conftest1.err]) >/dev/null ++ AC_TRY_COMMAND([${CXX-c++} $CXXFLAGS $CPPFLAGS -Wno-error -c conftest.cc 2>conftest2.err]) >/dev/null ++ dnl Test the number of error output lines, because AIX xlC accepts the ++ dnl option '-Wno-error', just to produce a warning ++ dnl "Option -Wno-error was incorrectly specified. The option will be ignored." ++ dnl afterwards. ++ if test $? = 0 && test `wc -l < conftest1.err` = `wc -l < conftest2.err`; then ++ gl_cv_cxx_wallow='-Wno-error' ++ else ++ gl_cv_cxx_wallow=none ++ fi ++ rm -f conftest* ++ ]) ++ case "$gl_cv_cxx_wallow" in ++ none) GL_CXXFLAG_ALLOW_WARNINGS='' ;; ++ *) GL_CXXFLAG_ALLOW_WARNINGS="$gl_cv_cxx_wallow" ;; ++ esac ++ else ++ GL_CXXFLAG_ALLOW_WARNINGS='' ++ fi ++ AC_SUBST([GL_CXXFLAG_ALLOW_WARNINGS]) ++]) ++ + dnl Expands to some code for use in .c programs that, on native Windows, defines + dnl the Microsoft deprecated alias function names to the underscore-prefixed + dnl actual function names. With this macro, these function names are available +diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4 +index 1290d75..0ae96ea 100644 +--- a/m4/gnulib-comp.m4 ++++ b/m4/gnulib-comp.m4 +@@ -142,6 +142,7 @@ AC_DEFUN([gl_EARLY], + # Code from module langinfo: + # Code from module largefile: + AC_REQUIRE([AC_SYS_LARGEFILE]) ++ AC_REQUIRE([gl_YEAR2038_EARLY]) + # Code from module ldexp: + # Code from module lib-symbol-versions: + # Code from module lib-symbol-visibility: +@@ -281,9 +282,11 @@ AC_DEFUN([gl_INIT], + m4_pushdef([AC_LIBSOURCES], m4_defn([gl_LIBSOURCES])) + m4_pushdef([gl_LIBSOURCES_LIST], []) + m4_pushdef([gl_LIBSOURCES_DIR], []) ++ m4_pushdef([GL_MACRO_PREFIX], [gl]) ++ m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL]) + gl_COMMON + gl_source_base='lib' +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([accept]) + fi +@@ -291,9 +294,10 @@ AC_DEFUN([gl_INIT], + gl_FUNC_ACCEPT4 + gl_SYS_SOCKET_MODULE_INDICATOR([accept4]) + gl_FUNC_ALLOCA +- gl_HEADER_ARPA_INET ++ gl_ARPA_INET_H ++ gl_ARPA_INET_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([bind]) + fi +@@ -317,7 +321,7 @@ AC_DEFUN([gl_INIT], + AC_LIBOBJ([close]) + fi + gl_UNISTD_MODULE_INDICATOR([close]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([connect]) + fi +@@ -328,6 +332,7 @@ AC_DEFUN([gl_INIT], + fi + gl_MATH_MODULE_INDICATOR([copysign]) + gl_DIRENT_H ++ gl_DIRENT_H_REQUIRE_DEFAULTS + gl_FUNC_DIRFD + if test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no \ + || test $REPLACE_DIRFD = 1; then +@@ -347,6 +352,7 @@ AC_DEFUN([gl_INIT], + gl_HEADER_ERRNO_H + AC_REQUIRE([gl_EXTERN_INLINE]) + gl_FCNTL_H ++ gl_FCNTL_H_REQUIRE_DEFAULTS + AC_C_FLEXIBLE_ARRAY_MEMBER + gl_FLOAT_H + if test $REPLACE_FLOAT_LDBL = 1; then +@@ -360,7 +366,7 @@ AC_DEFUN([gl_INIT], + AC_LIBOBJ([flock]) + gl_PREREQ_FLOCK + fi +- gl_HEADER_SYS_FILE_MODULE_INDICATOR([flock]) ++ gl_SYS_FILE_MODULE_INDICATOR([flock]) + AC_REQUIRE([gl_FUNC_FLOOR]) + if test $REPLACE_FLOOR = 1; then + AC_LIBOBJ([floor]) +@@ -409,17 +415,17 @@ AC_DEFUN([gl_INIT], + fi + gl_UNISTD_MODULE_INDICATOR([getlogin]) + AC_REQUIRE([gl_LIB_GETLOGIN]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getpeername]) + fi + gl_SYS_SOCKET_MODULE_INDICATOR([getpeername]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getsockname]) + fi + gl_SYS_SOCKET_MODULE_INDICATOR([getsockname]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([getsockopt]) + fi +@@ -439,6 +445,7 @@ AC_DEFUN([gl_INIT], + m4_ifdef([gl_ICONV_MODULE_INDICATOR], + [gl_ICONV_MODULE_INDICATOR([iconv])]) + gl_ICONV_H ++ gl_ICONV_H_REQUIRE_DEFAULTS + gl_FUNC_ICONV_OPEN + if test $REPLACE_ICONV_OPEN = 1; then + AC_LIBOBJ([iconv_open]) +@@ -461,6 +468,7 @@ AC_DEFUN([gl_INIT], + fi + gl_ARPA_INET_MODULE_INDICATOR([inet_pton]) + gl_INTTYPES_INCOMPLETE ++ gl_INTTYPES_H_REQUIRE_DEFAULTS + gl_ISFINITE + if test $REPLACE_ISFINITE = 1; then + AC_LIBOBJ([isfinite]) +@@ -501,6 +509,7 @@ AC_DEFUN([gl_INIT], + fi + gl_MATH_MODULE_INDICATOR([isnanl]) + gl_LANGINFO_H ++ gl_LANGINFO_H_REQUIRE_DEFAULTS + AC_REQUIRE([gl_LARGEFILE]) + gl_FUNC_LDEXP + gl_LD_VERSION_SCRIPT +@@ -512,7 +521,7 @@ AC_DEFUN([gl_INIT], + AC_LIBOBJ([link]) + fi + gl_UNISTD_MODULE_INDICATOR([link]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([listen]) + fi +@@ -522,6 +531,7 @@ AC_DEFUN([gl_INIT], + LOCALCHARSET_TESTS_ENVIRONMENT= + AC_SUBST([LOCALCHARSET_TESTS_ENVIRONMENT]) + gl_LOCALE_H ++ gl_LOCALE_H_REQUIRE_DEFAULTS + gl_FUNC_LOG1P + if test $HAVE_LOG1P = 0 || test $REPLACE_LOG1P = 1; then + AC_LIBOBJ([log1p]) +@@ -541,15 +551,14 @@ AC_DEFUN([gl_INIT], + if test $REPLACE_MALLOC = 1; then + AC_LIBOBJ([malloc]) + fi +- gl_MODULE_INDICATOR([malloc-gnu]) +- gl_FUNC_MALLOC_POSIX ++ AC_REQUIRE([gl_FUNC_MALLOC_POSIX]) + if test $REPLACE_MALLOC = 1; then + AC_LIBOBJ([malloc]) + fi + gl_STDLIB_MODULE_INDICATOR([malloc-posix]) +- gl_MODULE_INDICATOR([malloc-posix]) + gl_MALLOCA + gl_MATH_H ++ gl_MATH_H_REQUIRE_DEFAULTS + gl_MINMAX + gl_FUNC_MKDIR + if test $REPLACE_MKDIR = 1; then +@@ -573,7 +582,8 @@ AC_DEFUN([gl_INIT], + fi + gl_MODULE_INDICATOR([msvc-nothrow]) + gl_MULTIARCH +- gl_HEADER_NETDB ++ gl_NETDB_H ++ gl_NETDB_H_REQUIRE_DEFAULTS + gl_HEADER_NETINET_IN + AC_PROG_MKDIR_P + gl_FUNC_NL_LANGINFO +@@ -607,6 +617,7 @@ AC_DEFUN([gl_INIT], + fi + gl_POLL_MODULE_INDICATOR([poll]) + gl_POLL_H ++ gl_POLL_H_REQUIRE_DEFAULTS + gl_FUNC_PUTENV + if test $REPLACE_PUTENV = 1; then + AC_LIBOBJ([putenv]) +@@ -625,12 +636,12 @@ AC_DEFUN([gl_INIT], + gl_PREREQ_READLINK + fi + gl_UNISTD_MODULE_INDICATOR([readlink]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([recv]) + fi + gl_SYS_SOCKET_MODULE_INDICATOR([recv]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([recvfrom]) + fi +@@ -657,12 +668,12 @@ AC_DEFUN([gl_INIT], + AC_LIBOBJ([select]) + fi + gl_SYS_SELECT_MODULE_INDICATOR([select]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([send]) + fi + gl_SYS_SOCKET_MODULE_INDICATOR([send]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([sendto]) + fi +@@ -672,25 +683,26 @@ AC_DEFUN([gl_INIT], + AC_LIBOBJ([setenv]) + fi + gl_STDLIB_MODULE_INDICATOR([setenv]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([setsockopt]) + fi + gl_SYS_SOCKET_MODULE_INDICATOR([setsockopt]) +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([shutdown]) + fi + gl_SYS_SOCKET_MODULE_INDICATOR([shutdown]) + gl_SIGNAL_H +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ gl_SIGNAL_H_REQUIRE_DEFAULTS ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + if test "$ac_cv_header_winsock2_h" = yes; then + AC_LIBOBJ([socket]) + fi + # When this module is used, sockets may actually occur as file descriptors, + # hence it is worth warning if the modules 'close' and 'ioctl' are not used. +- m4_ifdef([gl_UNISTD_H_DEFAULTS], [AC_REQUIRE([gl_UNISTD_H_DEFAULTS])]) +- m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [AC_REQUIRE([gl_SYS_IOCTL_H_DEFAULTS])]) ++ m4_ifdef([gl_UNISTD_H_DEFAULTS], [gl_UNISTD_H_REQUIRE_DEFAULTS]) ++ m4_ifdef([gl_SYS_IOCTL_H_DEFAULTS], [gl_SYS_IOCTL_H_REQUIRE_DEFAULTS]) + AC_REQUIRE([gl_PREREQ_SYS_H_WINSOCK2]) + if test "$ac_cv_header_winsock2_h" = yes; then + UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS=1 +@@ -705,31 +717,67 @@ AC_DEFUN([gl_INIT], + gl_STDALIGN_H + AM_STDBOOL_H + gl_STDDEF_H ++ gl_STDDEF_H_REQUIRE_DEFAULTS + gl_STDINT_H + gl_STDIO_H ++ gl_STDIO_H_REQUIRE_DEFAULTS ++ dnl No need to create extra modules for these functions. Everyone who uses ++ dnl likely needs them. ++ gl_STDIO_MODULE_INDICATOR([fscanf]) ++ gl_MODULE_INDICATOR([fscanf]) ++ gl_STDIO_MODULE_INDICATOR([scanf]) ++ gl_MODULE_INDICATOR([scanf]) ++ gl_STDIO_MODULE_INDICATOR([fgetc]) ++ gl_STDIO_MODULE_INDICATOR([getc]) ++ gl_STDIO_MODULE_INDICATOR([getchar]) ++ gl_STDIO_MODULE_INDICATOR([fgets]) ++ gl_STDIO_MODULE_INDICATOR([fread]) ++ dnl No need to create extra modules for these functions. Everyone who uses ++ dnl likely needs them. ++ gl_STDIO_MODULE_INDICATOR([fprintf]) ++ gl_STDIO_MODULE_INDICATOR([printf]) ++ gl_STDIO_MODULE_INDICATOR([vfprintf]) ++ gl_STDIO_MODULE_INDICATOR([vprintf]) ++ gl_STDIO_MODULE_INDICATOR([fputc]) ++ gl_STDIO_MODULE_INDICATOR([putc]) ++ gl_STDIO_MODULE_INDICATOR([putchar]) ++ gl_STDIO_MODULE_INDICATOR([fputs]) ++ gl_STDIO_MODULE_INDICATOR([puts]) ++ gl_STDIO_MODULE_INDICATOR([fwrite]) + gl_STDLIB_H ++ gl_STDLIB_H_REQUIRE_DEFAULTS + if test $gl_cond_libtool = false; then + gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV" + gl_libdeps="$gl_libdeps $LIBICONV" + fi +- gl_HEADER_STRING_H +- gl_HEADER_SYS_FILE_H ++ gl_STRING_H ++ gl_STRING_H_REQUIRE_DEFAULTS ++ gl_SYS_FILE_H ++ gl_SYS_FILE_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P +- AC_REQUIRE([gl_HEADER_SYS_SELECT]) ++ gl_SYS_SELECT_H ++ gl_SYS_SELECT_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ gl_SYS_SOCKET_H ++ gl_SYS_SOCKET_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P +- gl_HEADER_SYS_STAT_H ++ gl_SYS_STAT_H ++ gl_SYS_STAT_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P +- gl_HEADER_SYS_TIME_H ++ gl_SYS_TIME_H ++ gl_SYS_TIME_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P + gl_SYS_TIMES_H ++ gl_SYS_TIMES_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P + gl_SYS_TYPES_H ++ gl_SYS_TYPES_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P +- gl_HEADER_SYS_UIO ++ gl_SYS_UIO_H ++ gl_SYS_UIO_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P +- gl_HEADER_TIME_H ++ gl_TIME_H ++ gl_TIME_H_REQUIRE_DEFAULTS + gl_TIME_RZ + if test $HAVE_TIMEZONE_T = 0; then + AC_LIBOBJ([time_rz]) +@@ -746,9 +794,11 @@ AC_DEFUN([gl_INIT], + fi + gl_MATH_MODULE_INDICATOR([trunc]) + gl_UNISTD_H ++ gl_UNISTD_H_REQUIRE_DEFAULTS + gl_FUNC_VSNPRINTF + gl_STDIO_MODULE_INDICATOR([vsnprintf]) + gl_WCHAR_H ++ gl_WCHAR_H_REQUIRE_DEFAULTS + gl_FUNC_WRITE + if test $REPLACE_WRITE = 1; then + AC_LIBOBJ([write]) +@@ -771,7 +821,6 @@ AC_DEFUN([gl_INIT], + gl_gnulib_enabled_be453cec5eecf5731a274f2de7f2db36=false + gl_gnulib_enabled_30838f5439487421042f2225bed3af76=false + gl_gnulib_enabled_hostent=false +- gl_gnulib_enabled_idx=false + gl_gnulib_enabled_b1df7117b479d2da59d76deba468ee21=false + gl_gnulib_enabled_3f0e593033d1fc2c127581960f641b66=false + gl_gnulib_enabled_dbdf22868a5367f28bf18e0013ac6f8f=false +@@ -880,7 +929,9 @@ AC_SUBST([LTALLOCA]) + func_gl_gnulib_m4code_dynarray () + { + if ! $gl_gnulib_enabled_dynarray; then ++ AC_PROG_MKDIR_P + gl_gnulib_enabled_dynarray=true ++ func_gl_gnulib_m4code_37f71b604aa9c54446783d80f42fe547 + func_gl_gnulib_m4code_21ee726a3540c09237a8e70c0baf7467 + fi + } +@@ -963,12 +1014,6 @@ AC_SUBST([LTALLOCA]) + gl_gnulib_enabled_hostent=true + fi + } +- func_gl_gnulib_m4code_idx () +- { +- if ! $gl_gnulib_enabled_idx; then +- gl_gnulib_enabled_idx=true +- fi +- } + func_gl_gnulib_m4code_b1df7117b479d2da59d76deba468ee21 () + { + if ! $gl_gnulib_enabled_b1df7117b479d2da59d76deba468ee21; then +@@ -1181,7 +1226,6 @@ AC_SUBST([LTALLOCA]) + AC_LIBOBJ([realloc]) + fi + gl_STDLIB_MODULE_INDICATOR([realloc-posix]) +- gl_MODULE_INDICATOR([realloc-posix]) + gl_gnulib_enabled_61bcaca76b3e6f9ae55d57a1c3193bc4=true + fi + } +@@ -1205,7 +1249,9 @@ AC_SUBST([LTALLOCA]) + func_gl_gnulib_m4code_scratch_buffer () + { + if ! $gl_gnulib_enabled_scratch_buffer; then ++ AC_PROG_MKDIR_P + gl_gnulib_enabled_scratch_buffer=true ++ func_gl_gnulib_m4code_37f71b604aa9c54446783d80f42fe547 + func_gl_gnulib_m4code_21ee726a3540c09237a8e70c0baf7467 + func_gl_gnulib_m4code_61bcaca76b3e6f9ae55d57a1c3193bc4 + fi +@@ -1319,7 +1365,8 @@ AC_SUBST([LTALLOCA]) + func_gl_gnulib_m4code_sys_random () + { + if ! $gl_gnulib_enabled_sys_random; then +- gl_HEADER_SYS_RANDOM ++ gl_SYS_RANDOM_H ++ gl_SYS_RANDOM_H_REQUIRE_DEFAULTS + AC_PROG_MKDIR_P + gl_gnulib_enabled_sys_random=true + fi +@@ -1416,6 +1463,7 @@ AC_SUBST([LTALLOCA]) + { + if ! $gl_gnulib_enabled_3dcce957eadc896e63ab5f137947b410; then + gl_WCTYPE_H ++ gl_WCTYPE_H_REQUIRE_DEFAULTS + gl_gnulib_enabled_3dcce957eadc896e63ab5f137947b410=true + fi + } +@@ -1431,9 +1479,6 @@ AC_SUBST([LTALLOCA]) + func_gl_gnulib_m4code_925677f0343de64b89a9f0c790b4104c + fi + if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then +- func_gl_gnulib_m4code_idx +- fi +- if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then + func_gl_gnulib_m4code_21ee726a3540c09237a8e70c0baf7467 + fi + if test $HAVE_CANONICALIZE_FILE_NAME = 0 || test $REPLACE_CANONICALIZE_FILE_NAME = 1; then +@@ -1584,9 +1629,6 @@ AC_SUBST([LTALLOCA]) + func_gl_gnulib_m4code_sockets + fi + if test $HAVE_TIMEZONE_T = 0; then +- func_gl_gnulib_m4code_idx +- fi +- if test $HAVE_TIMEZONE_T = 0; then + func_gl_gnulib_m4code_time_r + fi + if test $HAVE_TIMEZONE_T = 0; then +@@ -1621,7 +1663,6 @@ AC_SUBST([LTALLOCA]) + AM_CONDITIONAL([gl_GNULIB_ENABLED_be453cec5eecf5731a274f2de7f2db36], [$gl_gnulib_enabled_be453cec5eecf5731a274f2de7f2db36]) + AM_CONDITIONAL([gl_GNULIB_ENABLED_30838f5439487421042f2225bed3af76], [$gl_gnulib_enabled_30838f5439487421042f2225bed3af76]) + AM_CONDITIONAL([gl_GNULIB_ENABLED_hostent], [$gl_gnulib_enabled_hostent]) +- AM_CONDITIONAL([gl_GNULIB_ENABLED_idx], [$gl_gnulib_enabled_idx]) + AM_CONDITIONAL([gl_GNULIB_ENABLED_b1df7117b479d2da59d76deba468ee21], [$gl_gnulib_enabled_b1df7117b479d2da59d76deba468ee21]) + AM_CONDITIONAL([gl_GNULIB_ENABLED_3f0e593033d1fc2c127581960f641b66], [$gl_gnulib_enabled_3f0e593033d1fc2c127581960f641b66]) + AM_CONDITIONAL([gl_GNULIB_ENABLED_dbdf22868a5367f28bf18e0013ac6f8f], [$gl_gnulib_enabled_dbdf22868a5367f28bf18e0013ac6f8f]) +@@ -1673,6 +1714,8 @@ AC_SUBST([LTALLOCA]) + m4_if(m4_sysval, [0], [], + [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) + ]) ++ m4_popdef([GL_MODULE_INDICATOR_PREFIX]) ++ m4_popdef([GL_MACRO_PREFIX]) + m4_popdef([gl_LIBSOURCES_DIR]) + m4_popdef([gl_LIBSOURCES_LIST]) + m4_popdef([AC_LIBSOURCES]) +@@ -1699,6 +1742,8 @@ AC_SUBST([LTALLOCA]) + m4_pushdef([AC_LIBSOURCES], m4_defn([gltests_LIBSOURCES])) + m4_pushdef([gltests_LIBSOURCES_LIST], []) + m4_pushdef([gltests_LIBSOURCES_DIR], []) ++ m4_pushdef([GL_MACRO_PREFIX], [gltests]) ++ m4_pushdef([GL_MODULE_INDICATOR_PREFIX], [GL]) + gl_COMMON + gl_source_base='tests' + changequote(,)dnl +@@ -1720,6 +1765,8 @@ changequote([, ])dnl + m4_if(m4_sysval, [0], [], + [AC_FATAL([expected source file, required through AC_LIBSOURCES, not found])]) + ]) ++ m4_popdef([GL_MODULE_INDICATOR_PREFIX]) ++ m4_popdef([GL_MACRO_PREFIX]) + m4_popdef([gltests_LIBSOURCES_DIR]) + m4_popdef([gltests_LIBSOURCES_LIST]) + m4_popdef([AC_LIBSOURCES]) +@@ -2265,6 +2312,7 @@ AC_DEFUN([gl_FILE_LIST], [ + m4/wint_t.m4 + m4/write.m4 + m4/xsize.m4 ++ m4/year2038.m4 + m4/zzgnulib.m4 + top/GNUmakefile + top/maint.mk +diff --git a/m4/hostent.m4 b/m4/hostent.m4 +index 641d72f..f1390a3 100644 +--- a/m4/hostent.m4 ++++ b/m4/hostent.m4 +@@ -1,4 +1,4 @@ +-# hostent.m4 serial 3 ++# hostent.m4 serial 4 + dnl Copyright (C) 2008, 2010-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -13,7 +13,7 @@ AC_DEFUN([gl_HOSTENT], + dnl - On BeOS, they are in libnet. + dnl - On native Windows, they are in ws2_32.dll. + dnl - Otherwise they are in libc. +- AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H ++ AC_REQUIRE([gl_SYS_SOCKET_H])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H + HOSTENT_LIB= + gl_saved_libs="$LIBS" + AC_SEARCH_LIBS([gethostbyname], [nsl network net], +diff --git a/m4/iconv_h.m4 b/m4/iconv_h.m4 +index ab8e283..2940988 100644 +--- a/m4/iconv_h.m4 ++++ b/m4/iconv_h.m4 +@@ -1,10 +1,10 @@ +-# iconv_h.m4 serial 12 ++# iconv_h.m4 serial 15 + dnl Copyright (C) 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_ICONV_H], ++AC_DEFUN_ONCE([gl_ICONV_H], + [ + AC_REQUIRE([gl_ICONV_H_DEFAULTS]) + +@@ -24,22 +24,37 @@ AC_DEFUN([gl_ICONV_H], + dnl Unconditionally enables the replacement of . + AC_DEFUN([gl_REPLACE_ICONV_H], + [ +- AC_REQUIRE([gl_ICONV_H_DEFAULTS]) ++ gl_ICONV_H_REQUIRE_DEFAULTS + ICONV_H='iconv.h' + AM_CONDITIONAL([GL_GENERATE_ICONV_H], [test -n "$ICONV_H"]) + ]) + ++# gl_ICONV_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_ICONV_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_ICONV_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_ICONV_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_ICONV_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_ICONV_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ICONV]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_ICONV_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_ICONV_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_ICONV_H_DEFAULTS], + [ + m4_ifdef([gl_ANSI_CXX], [AC_REQUIRE([gl_ANSI_CXX])]) +- GNULIB_ICONV=0; AC_SUBST([GNULIB_ICONV]) + dnl Assume proper GNU behavior unless another module says otherwise. + ICONV_CONST=; AC_SUBST([ICONV_CONST]) + REPLACE_ICONV=0; AC_SUBST([REPLACE_ICONV]) +diff --git a/m4/inttypes.m4 b/m4/inttypes.m4 +index f56e94a..64b1de5 100644 +--- a/m4/inttypes.m4 ++++ b/m4/inttypes.m4 +@@ -1,4 +1,4 @@ +-# inttypes.m4 serial 32 ++# inttypes.m4 serial 35 + dnl Copyright (C) 2006-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved. + dnl From Derek Price, Bruno Haible. + dnl Test whether is supported or must be substituted. + +-AC_DEFUN([gl_INTTYPES_H], ++AC_DEFUN_ONCE([gl_INTTYPES_H], + [ + AC_REQUIRE([gl_INTTYPES_INCOMPLETE]) + gl_INTTYPES_PRI_SCN +@@ -136,19 +136,34 @@ AC_DEFUN([gl_INTTYPES_CHECK_LONG_LONG_INT_CONDITION], + AC_SUBST([$1]) + ]) + ++# gl_INTTYPES_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_INTTYPES_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_INTTYPES_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_INTTYPES_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_INTTYPES_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_IMAXABS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_IMAXDIV]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOIMAX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOUMAX]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_INTTYPES_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_INTTYPES_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_INTTYPES_H_DEFAULTS], + [ +- GNULIB_IMAXABS=0; AC_SUBST([GNULIB_IMAXABS]) +- GNULIB_IMAXDIV=0; AC_SUBST([GNULIB_IMAXDIV]) +- GNULIB_STRTOIMAX=0; AC_SUBST([GNULIB_STRTOIMAX]) +- GNULIB_STRTOUMAX=0; AC_SUBST([GNULIB_STRTOUMAX]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_DECL_IMAXABS=1; AC_SUBST([HAVE_DECL_IMAXABS]) + HAVE_DECL_IMAXDIV=1; AC_SUBST([HAVE_DECL_IMAXDIV]) +diff --git a/m4/langinfo_h.m4 b/m4/langinfo_h.m4 +index 950fe20..87959f7 100644 +--- a/m4/langinfo_h.m4 ++++ b/m4/langinfo_h.m4 +@@ -1,10 +1,10 @@ +-# langinfo_h.m4 serial 9 ++# langinfo_h.m4 serial 12 + dnl Copyright (C) 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_LANGINFO_H], ++AC_DEFUN_ONCE([gl_LANGINFO_H], + [ + AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) + +@@ -104,18 +104,33 @@ int a = YESEXPR; + ]], [nl_langinfo]) + ]) + ++# gl_LANGINFO_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_LANGINFO_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_LANGINFO_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_LANGINFO_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_LANGINFO_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NL_LANGINFO]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_LANGINFO_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_LANGINFO_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_LANGINFO_H_DEFAULTS], + [ +- GNULIB_NL_LANGINFO=0; AC_SUBST([GNULIB_NL_LANGINFO]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_NL_LANGINFO=1; AC_SUBST([HAVE_NL_LANGINFO]) + REPLACE_NL_LANGINFO=0; AC_SUBST([REPLACE_NL_LANGINFO]) +diff --git a/m4/largefile.m4 b/m4/largefile.m4 +index cadb16d..fbde5e6 100644 +--- a/m4/largefile.m4 ++++ b/m4/largefile.m4 +@@ -22,7 +22,8 @@ AC_DEFUN([gl_SET_LARGEFILE_SOURCE], + esac + ]) + +-# The following implementation works around a problem in autoconf <= 2.69; ++# Work around a problem in Autoconf through at least 2.71 on glibc 2.34+ ++# with _TIME_BITS. Also, work around a problem in autoconf <= 2.69: + # AC_SYS_LARGEFILE does not configure for large inodes on Mac OS X 10.5, + # or configures them incorrectly in some cases. + m4_version_prereq([2.70], [], [ +@@ -40,6 +41,7 @@ m4_define([_AC_SYS_LARGEFILE_TEST_INCLUDES], + && LARGE_OFF_T % 2147483647 == 1) + ? 1 : -1]];[]dnl + ]) ++])# m4_version_prereq 2.70 + + + # _AC_SYS_LARGEFILE_MACRO_VALUE(C-MACRO, VALUE, +@@ -54,7 +56,8 @@ m4_define([_AC_SYS_LARGEFILE_MACRO_VALUE], + [AC_LANG_PROGRAM([$5], [$6])], + [$3=no; break]) + m4_ifval([$6], [AC_LINK_IFELSE], [AC_COMPILE_IFELSE])( +- [AC_LANG_PROGRAM([#define $1 $2 ++ [AC_LANG_PROGRAM([#undef $1 ++#define $1 $2 + $5], [$6])], + [$3=$2; break]) + $3=unknown +@@ -80,9 +83,8 @@ rm -rf conftest*[]dnl + AC_DEFUN([AC_SYS_LARGEFILE], + [AC_ARG_ENABLE(largefile, + [ --disable-largefile omit support for large files]) +-if test "$enable_largefile" != no; then +- +- AC_CACHE_CHECK([for special C compiler options needed for large files], ++AS_IF([test "$enable_largefile" != no], ++ [AC_CACHE_CHECK([for special C compiler options needed for large files], + ac_cv_sys_largefile_CC, + [ac_cv_sys_largefile_CC=no + if test "$GCC" != yes; then +@@ -107,15 +109,15 @@ if test "$enable_largefile" != no; then + ac_cv_sys_file_offset_bits, + [Number of bits in a file offset, on hosts where this is settable.], + [_AC_SYS_LARGEFILE_TEST_INCLUDES]) +- if test $ac_cv_sys_file_offset_bits = unknown; then +- _AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES, 1, +- ac_cv_sys_large_files, +- [Define for large files, on AIX-style hosts.], +- [_AC_SYS_LARGEFILE_TEST_INCLUDES]) +- fi +-fi ++ AS_CASE([$ac_cv_sys_file_offset_bits], ++ [unknown], ++ [_AC_SYS_LARGEFILE_MACRO_VALUE([_LARGE_FILES], [1], ++ [ac_cv_sys_large_files], ++ [Define for large files, on AIX-style hosts.], ++ [_AC_SYS_LARGEFILE_TEST_INCLUDES])], ++ [64], ++ [gl_YEAR2038_BODY([])])]) + ])# AC_SYS_LARGEFILE +-])# m4_version_prereq 2.70 + + # Enable large files on systems where this is implemented by Gnulib, not by the + # system headers. +diff --git a/m4/limits-h.m4 b/m4/limits-h.m4 +index 70dbb7d..00c9fe9 100644 +--- a/m4/limits-h.m4 ++++ b/m4/limits-h.m4 +@@ -11,7 +11,7 @@ AC_DEFUN_ONCE([gl_LIMITS_H], + [ + gl_CHECK_NEXT_HEADERS([limits.h]) + +- AC_CACHE_CHECK([whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.], ++ AC_CACHE_CHECK([whether limits.h has WORD_BIT, BOOL_WIDTH etc.], + [gl_cv_header_limits_width], + [AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( +@@ -22,6 +22,7 @@ AC_DEFUN_ONCE([gl_LIMITS_H], + long long llm = LLONG_MAX; + int wb = WORD_BIT; + int ullw = ULLONG_WIDTH; ++ int bw = BOOL_WIDTH; + ]])], + [gl_cv_header_limits_width=yes], + [gl_cv_header_limits_width=no])]) +diff --git a/m4/locale_h.m4 b/m4/locale_h.m4 +index 7b50aa7..444a381 100644 +--- a/m4/locale_h.m4 ++++ b/m4/locale_h.m4 +@@ -1,13 +1,13 @@ +-# locale_h.m4 serial 25 ++# locale_h.m4 serial 28 + dnl Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_LOCALE_H], ++AC_DEFUN_ONCE([gl_LOCALE_H], + [ +- dnl Use AC_REQUIRE here, so that the default behavior below is expanded +- dnl once only, before all statements that occur in other macros. ++ dnl Ensure to expand the default settings once only, before all statements ++ dnl that occur in other macros. + AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) + + dnl Persuade glibc to define locale_t and the int_p_*, int_n_* +@@ -129,22 +129,37 @@ AC_DEFUN([gl_LOCALE_T], + AC_SUBST([HAVE_XLOCALE_H]) + ]) + ++# gl_LOCALE_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_LOCALE_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_LOCALE_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_LOCALE_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_LOCALE_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOCALECONV]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETLOCALE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETLOCALE_NULL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DUPLOCALE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOCALENAME]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_LOCALE_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_LOCALE_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_LOCALE_H_DEFAULTS], + [ +- GNULIB_LOCALECONV=0; AC_SUBST([GNULIB_LOCALECONV]) +- GNULIB_SETLOCALE=0; AC_SUBST([GNULIB_SETLOCALE]) +- GNULIB_SETLOCALE_NULL=0; AC_SUBST([GNULIB_SETLOCALE_NULL]) +- GNULIB_DUPLOCALE=0; AC_SUBST([GNULIB_DUPLOCALE]) +- GNULIB_LOCALENAME=0; AC_SUBST([GNULIB_LOCALENAME]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_NEWLOCALE=1; AC_SUBST([HAVE_NEWLOCALE]) + HAVE_DUPLOCALE=1; AC_SUBST([HAVE_DUPLOCALE]) +diff --git a/m4/malloc.m4 b/m4/malloc.m4 +index 32ab42e..972e808 100644 +--- a/m4/malloc.m4 ++++ b/m4/malloc.m4 +@@ -1,21 +1,21 @@ +-# malloc.m4 serial 22 ++# malloc.m4 serial 27 + dnl Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + # This is adapted with modifications from upstream Autoconf here: +-# https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=04be2b7a29d65d9a08e64e8e56e594c91749598c ++# https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/functions.m4?id=v2.70#n949 + AC_DEFUN([_AC_FUNC_MALLOC_IF], + [ + AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles +- AC_CACHE_CHECK([for GNU libc compatible malloc], ++ AC_CACHE_CHECK([whether malloc (0) returns nonnull], + [ac_cv_func_malloc_0_nonnull], + [AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[#include + ]], +- [[char *p = malloc (0); ++ [[void *p = malloc (0); + int result = !p; + free (p); + return result;]]) +@@ -24,75 +24,151 @@ AC_DEFUN([_AC_FUNC_MALLOC_IF], + [ac_cv_func_malloc_0_nonnull=no], + [case "$host_os" in + # Guess yes on platforms where we know the result. +- *-gnu* | gnu* | *-musl* | freebsd* | midnightbsd* | netbsd* | openbsd* \ +- | hpux* | solaris* | cygwin* | mingw*) ++ *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ ++ | gnu* | *-musl* | midnightbsd* \ ++ | hpux* | solaris* | cygwin* | mingw* | msys* ) + ac_cv_func_malloc_0_nonnull="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) ac_cv_func_malloc_0_nonnull="$gl_cross_guess_normal" ;; + esac + ]) + ]) +- case "$ac_cv_func_malloc_0_nonnull" in +- *yes) +- $1 +- ;; +- *) +- $2 +- ;; +- esac ++ AS_CASE([$ac_cv_func_malloc_0_nonnull], [*yes], [$1], [$2]) + ])# _AC_FUNC_MALLOC_IF + + # gl_FUNC_MALLOC_GNU + # ------------------ +-# Test whether 'malloc (0)' is handled like in GNU libc, and replace malloc if +-# it is not. ++# Replace malloc if it is not compatible with GNU libc. + AC_DEFUN([gl_FUNC_MALLOC_GNU], + [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) +- dnl _AC_FUNC_MALLOC_IF is defined in Autoconf. +- _AC_FUNC_MALLOC_IF( +- [AC_DEFINE([HAVE_MALLOC_GNU], [1], +- [Define to 1 if your system has a GNU libc compatible 'malloc' +- function, and to 0 otherwise.])], +- [AC_DEFINE([HAVE_MALLOC_GNU], [0]) +- REPLACE_MALLOC=1 ++ AC_REQUIRE([gl_FUNC_MALLOC_POSIX]) ++ if test $REPLACE_MALLOC = 0; then ++ _AC_FUNC_MALLOC_IF([], [REPLACE_MALLOC=1]) ++ fi ++]) ++ ++# gl_FUNC_MALLOC_PTRDIFF ++# ---------------------- ++# Test whether malloc (N) reliably fails when N exceeds PTRDIFF_MAX, ++# and replace malloc otherwise. ++AC_DEFUN([gl_FUNC_MALLOC_PTRDIFF], ++[ ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_REQUIRE([gl_CHECK_MALLOC_PTRDIFF]) ++ test "$gl_cv_malloc_ptrdiff" = yes || REPLACE_MALLOC=1 ++]) ++ ++# Test whether malloc, realloc, calloc refuse to create objects ++# larger than what can be expressed in ptrdiff_t. ++# Set gl_cv_func_malloc_gnu to yes or no accordingly. ++AC_DEFUN([gl_CHECK_MALLOC_PTRDIFF], ++[ ++ AC_CACHE_CHECK([whether malloc is ptrdiff_t safe], ++ [gl_cv_malloc_ptrdiff], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_PROGRAM( ++ [[#include ++ ]], ++ [[/* 64-bit ptrdiff_t is so wide that no practical platform ++ can exceed it. */ ++ #define WIDE_PTRDIFF (PTRDIFF_MAX >> 31 >> 31 != 0) ++ ++ /* On rare machines where size_t fits in ptrdiff_t there ++ is no problem. */ ++ #define NARROW_SIZE (SIZE_MAX <= PTRDIFF_MAX) ++ ++ /* glibc 2.30 and later malloc refuses to exceed ptrdiff_t ++ bounds even on 32-bit platforms. We don't know which ++ non-glibc systems are safe. */ ++ #define KNOWN_SAFE (2 < __GLIBC__ + (30 <= __GLIBC_MINOR__)) ++ ++ #if WIDE_PTRDIFF || NARROW_SIZE || KNOWN_SAFE ++ return 0; ++ #else ++ #error "malloc might not be ptrdiff_t safe" ++ syntax error ++ #endif ++ ]])], ++ [gl_cv_malloc_ptrdiff=yes], ++ [gl_cv_malloc_ptrdiff=no]) + ]) + ]) + + # gl_FUNC_MALLOC_POSIX + # -------------------- + # Test whether 'malloc' is POSIX compliant (sets errno to ENOMEM when it +-# fails), and replace malloc if it is not. ++# fails, and doesn't mess up with ptrdiff_t overflow), and replace ++# malloc if it is not. + AC_DEFUN([gl_FUNC_MALLOC_POSIX], + [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ AC_REQUIRE([gl_FUNC_MALLOC_PTRDIFF]) + AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) +- if test $gl_cv_func_malloc_posix = yes; then ++ if test "$gl_cv_func_malloc_posix" = yes; then + AC_DEFINE([HAVE_MALLOC_POSIX], [1], +- [Define if the 'malloc' function is POSIX compliant.]) ++ [Define if malloc, realloc, and calloc set errno on allocation failure.]) + else + REPLACE_MALLOC=1 + fi + ]) + +-# Test whether malloc, realloc, calloc are POSIX compliant, ++# Test whether malloc, realloc, calloc set errno to ENOMEM on failure. + # Set gl_cv_func_malloc_posix to yes or no accordingly. + AC_DEFUN([gl_CHECK_MALLOC_POSIX], + [ +- AC_CACHE_CHECK([whether malloc, realloc, calloc are POSIX compliant], ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ AC_CACHE_CHECK([whether malloc, realloc, calloc set errno on failure], + [gl_cv_func_malloc_posix], + [ + dnl It is too dangerous to try to allocate a large amount of memory: + dnl some systems go to their knees when you do that. So assume that +- dnl all Unix implementations of the function are POSIX compliant. +- AC_COMPILE_IFELSE( +- [AC_LANG_PROGRAM( +- [[]], +- [[#if defined _WIN32 && ! defined __CYGWIN__ +- choke me +- #endif +- ]])], +- [gl_cv_func_malloc_posix=yes], +- [gl_cv_func_malloc_posix=no]) ++ dnl all Unix implementations of the function set errno on failure, ++ dnl except on those platforms where we have seen 'test-malloc-gnu', ++ dnl 'test-realloc-gnu', 'test-calloc-gnu' fail. ++ case "$host_os" in ++ mingw*) ++ gl_cv_func_malloc_posix=no ;; ++ irix* | solaris*) ++ dnl On IRIX 6.5, the three functions return NULL with errno unset ++ dnl when the argument is larger than PTRDIFF_MAX. ++ dnl On Solaris 11.3, the three functions return NULL with errno set ++ dnl to EAGAIN, not ENOMEM, when the argument is larger than ++ dnl PTRDIFF_MAX. ++ dnl Here is a test program: ++m4_divert_push([KILL]) ++#include ++#include ++#include ++#define ptrdiff_t long ++#ifndef PTRDIFF_MAX ++# define PTRDIFF_MAX ((ptrdiff_t) ((1UL << (8 * sizeof (ptrdiff_t) - 1)) - 1)) ++#endif ++ ++int main () ++{ ++ void *p; ++ ++ fprintf (stderr, "PTRDIFF_MAX = %lu\n", (unsigned long) PTRDIFF_MAX); ++ ++ errno = 0; ++ p = malloc ((unsigned long) PTRDIFF_MAX + 1); ++ fprintf (stderr, "p=%p errno=%d\n", p, errno); ++ ++ errno = 0; ++ p = calloc (PTRDIFF_MAX / 2 + 1, 2); ++ fprintf (stderr, "p=%p errno=%d\n", p, errno); ++ ++ errno = 0; ++ p = realloc (NULL, (unsigned long) PTRDIFF_MAX + 1); ++ fprintf (stderr, "p=%p errno=%d\n", p, errno); ++ ++ return 0; ++} ++m4_divert_pop([KILL]) ++ gl_cv_func_malloc_posix=no ;; ++ *) ++ gl_cv_func_malloc_posix=yes ;; ++ esac + ]) + ]) +diff --git a/m4/math_h.m4 b/m4/math_h.m4 +index a9ba5e6..b3a10c3 100644 +--- a/m4/math_h.m4 ++++ b/m4/math_h.m4 +@@ -1,10 +1,10 @@ +-# math_h.m4 serial 122 ++# math_h.m4 serial 125 + dnl Copyright (C) 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_MATH_H], ++AC_DEFUN_ONCE([gl_MATH_H], + [ + AC_REQUIRE([gl_MATH_H_DEFAULTS]) + gl_CHECK_NEXT_HEADERS([math.h]) +@@ -53,119 +53,134 @@ AC_DEFUN([gl_MATH_H], + tanf tanl tanhf trunc truncf truncl]) + ]) + ++# gl_MATH_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_MATH_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_MATH_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_MATH_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_MATH_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACOSF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACOSL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ASINF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ASINL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ATANF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ATANL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ATAN2F]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CBRT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CBRTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CBRTL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CEIL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CEILF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CEILL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COPYSIGN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COPYSIGNF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COPYSIGNL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COSF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COSL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COSHF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXP2]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXP2F]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXP2L]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPM1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPM1F]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPM1L]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FABSF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FABSL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FLOOR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FLOORF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FLOORL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMA]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMAF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMAL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMOD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMODF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FMODL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREXPF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREXP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREXPL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_HYPOT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_HYPOTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_HYPOTL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ILOGB]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ILOGBF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ILOGBL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISFINITE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISINF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNAN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNANF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNAND]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISNANL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LDEXPF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LDEXPL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG10]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG10F]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG10L]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG1P]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG1PF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG1PL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG2]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG2F]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOG2L]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGB]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGBF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOGBL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MODF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MODFF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MODFL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POWF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REMAINDER]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REMAINDERF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REMAINDERL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RINT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RINTL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ROUND]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ROUNDF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ROUNDL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGNBIT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SINHF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SQRTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SQRTL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TANF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TANL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TANHF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TRUNC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TRUNCF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TRUNCL]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_J0], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_J1], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_JN], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_Y0], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_Y1], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_YN], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_MATH_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_MATH_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_MATH_H_DEFAULTS], + [ +- GNULIB_ACOSF=0; AC_SUBST([GNULIB_ACOSF]) +- GNULIB_ACOSL=0; AC_SUBST([GNULIB_ACOSL]) +- GNULIB_ASINF=0; AC_SUBST([GNULIB_ASINF]) +- GNULIB_ASINL=0; AC_SUBST([GNULIB_ASINL]) +- GNULIB_ATANF=0; AC_SUBST([GNULIB_ATANF]) +- GNULIB_ATANL=0; AC_SUBST([GNULIB_ATANL]) +- GNULIB_ATAN2F=0; AC_SUBST([GNULIB_ATAN2F]) +- GNULIB_CBRT=0; AC_SUBST([GNULIB_CBRT]) +- GNULIB_CBRTF=0; AC_SUBST([GNULIB_CBRTF]) +- GNULIB_CBRTL=0; AC_SUBST([GNULIB_CBRTL]) +- GNULIB_CEIL=0; AC_SUBST([GNULIB_CEIL]) +- GNULIB_CEILF=0; AC_SUBST([GNULIB_CEILF]) +- GNULIB_CEILL=0; AC_SUBST([GNULIB_CEILL]) +- GNULIB_COPYSIGN=0; AC_SUBST([GNULIB_COPYSIGN]) +- GNULIB_COPYSIGNF=0; AC_SUBST([GNULIB_COPYSIGNF]) +- GNULIB_COPYSIGNL=0; AC_SUBST([GNULIB_COPYSIGNL]) +- GNULIB_COSF=0; AC_SUBST([GNULIB_COSF]) +- GNULIB_COSL=0; AC_SUBST([GNULIB_COSL]) +- GNULIB_COSHF=0; AC_SUBST([GNULIB_COSHF]) +- GNULIB_EXPF=0; AC_SUBST([GNULIB_EXPF]) +- GNULIB_EXPL=0; AC_SUBST([GNULIB_EXPL]) +- GNULIB_EXP2=0; AC_SUBST([GNULIB_EXP2]) +- GNULIB_EXP2F=0; AC_SUBST([GNULIB_EXP2F]) +- GNULIB_EXP2L=0; AC_SUBST([GNULIB_EXP2L]) +- GNULIB_EXPM1=0; AC_SUBST([GNULIB_EXPM1]) +- GNULIB_EXPM1F=0; AC_SUBST([GNULIB_EXPM1F]) +- GNULIB_EXPM1L=0; AC_SUBST([GNULIB_EXPM1L]) +- GNULIB_FABSF=0; AC_SUBST([GNULIB_FABSF]) +- GNULIB_FABSL=0; AC_SUBST([GNULIB_FABSL]) +- GNULIB_FLOOR=0; AC_SUBST([GNULIB_FLOOR]) +- GNULIB_FLOORF=0; AC_SUBST([GNULIB_FLOORF]) +- GNULIB_FLOORL=0; AC_SUBST([GNULIB_FLOORL]) +- GNULIB_FMA=0; AC_SUBST([GNULIB_FMA]) +- GNULIB_FMAF=0; AC_SUBST([GNULIB_FMAF]) +- GNULIB_FMAL=0; AC_SUBST([GNULIB_FMAL]) +- GNULIB_FMOD=0; AC_SUBST([GNULIB_FMOD]) +- GNULIB_FMODF=0; AC_SUBST([GNULIB_FMODF]) +- GNULIB_FMODL=0; AC_SUBST([GNULIB_FMODL]) +- GNULIB_FREXPF=0; AC_SUBST([GNULIB_FREXPF]) +- GNULIB_FREXP=0; AC_SUBST([GNULIB_FREXP]) +- GNULIB_FREXPL=0; AC_SUBST([GNULIB_FREXPL]) +- GNULIB_HYPOT=0; AC_SUBST([GNULIB_HYPOT]) +- GNULIB_HYPOTF=0; AC_SUBST([GNULIB_HYPOTF]) +- GNULIB_HYPOTL=0; AC_SUBST([GNULIB_HYPOTL]) +- GNULIB_ILOGB=0; AC_SUBST([GNULIB_ILOGB]) +- GNULIB_ILOGBF=0; AC_SUBST([GNULIB_ILOGBF]) +- GNULIB_ILOGBL=0; AC_SUBST([GNULIB_ILOGBL]) +- GNULIB_ISFINITE=0; AC_SUBST([GNULIB_ISFINITE]) +- GNULIB_ISINF=0; AC_SUBST([GNULIB_ISINF]) +- GNULIB_ISNAN=0; AC_SUBST([GNULIB_ISNAN]) +- GNULIB_ISNANF=0; AC_SUBST([GNULIB_ISNANF]) +- GNULIB_ISNAND=0; AC_SUBST([GNULIB_ISNAND]) +- GNULIB_ISNANL=0; AC_SUBST([GNULIB_ISNANL]) +- GNULIB_LDEXPF=0; AC_SUBST([GNULIB_LDEXPF]) +- GNULIB_LDEXPL=0; AC_SUBST([GNULIB_LDEXPL]) +- GNULIB_LOG=0; AC_SUBST([GNULIB_LOG]) +- GNULIB_LOGF=0; AC_SUBST([GNULIB_LOGF]) +- GNULIB_LOGL=0; AC_SUBST([GNULIB_LOGL]) +- GNULIB_LOG10=0; AC_SUBST([GNULIB_LOG10]) +- GNULIB_LOG10F=0; AC_SUBST([GNULIB_LOG10F]) +- GNULIB_LOG10L=0; AC_SUBST([GNULIB_LOG10L]) +- GNULIB_LOG1P=0; AC_SUBST([GNULIB_LOG1P]) +- GNULIB_LOG1PF=0; AC_SUBST([GNULIB_LOG1PF]) +- GNULIB_LOG1PL=0; AC_SUBST([GNULIB_LOG1PL]) +- GNULIB_LOG2=0; AC_SUBST([GNULIB_LOG2]) +- GNULIB_LOG2F=0; AC_SUBST([GNULIB_LOG2F]) +- GNULIB_LOG2L=0; AC_SUBST([GNULIB_LOG2L]) +- GNULIB_LOGB=0; AC_SUBST([GNULIB_LOGB]) +- GNULIB_LOGBF=0; AC_SUBST([GNULIB_LOGBF]) +- GNULIB_LOGBL=0; AC_SUBST([GNULIB_LOGBL]) +- GNULIB_MODF=0; AC_SUBST([GNULIB_MODF]) +- GNULIB_MODFF=0; AC_SUBST([GNULIB_MODFF]) +- GNULIB_MODFL=0; AC_SUBST([GNULIB_MODFL]) +- GNULIB_POWF=0; AC_SUBST([GNULIB_POWF]) +- GNULIB_REMAINDER=0; AC_SUBST([GNULIB_REMAINDER]) +- GNULIB_REMAINDERF=0; AC_SUBST([GNULIB_REMAINDERF]) +- GNULIB_REMAINDERL=0; AC_SUBST([GNULIB_REMAINDERL]) +- GNULIB_RINT=0; AC_SUBST([GNULIB_RINT]) +- GNULIB_RINTF=0; AC_SUBST([GNULIB_RINTF]) +- GNULIB_RINTL=0; AC_SUBST([GNULIB_RINTL]) +- GNULIB_ROUND=0; AC_SUBST([GNULIB_ROUND]) +- GNULIB_ROUNDF=0; AC_SUBST([GNULIB_ROUNDF]) +- GNULIB_ROUNDL=0; AC_SUBST([GNULIB_ROUNDL]) +- GNULIB_SIGNBIT=0; AC_SUBST([GNULIB_SIGNBIT]) +- GNULIB_SINF=0; AC_SUBST([GNULIB_SINF]) +- GNULIB_SINL=0; AC_SUBST([GNULIB_SINL]) +- GNULIB_SINHF=0; AC_SUBST([GNULIB_SINHF]) +- GNULIB_SQRTF=0; AC_SUBST([GNULIB_SQRTF]) +- GNULIB_SQRTL=0; AC_SUBST([GNULIB_SQRTL]) +- GNULIB_TANF=0; AC_SUBST([GNULIB_TANF]) +- GNULIB_TANL=0; AC_SUBST([GNULIB_TANL]) +- GNULIB_TANHF=0; AC_SUBST([GNULIB_TANHF]) +- GNULIB_TRUNC=0; AC_SUBST([GNULIB_TRUNC]) +- GNULIB_TRUNCF=0; AC_SUBST([GNULIB_TRUNCF]) +- GNULIB_TRUNCL=0; AC_SUBST([GNULIB_TRUNCL]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_J0=1; AC_SUBST([GNULIB_MDA_J0]) +- GNULIB_MDA_J1=1; AC_SUBST([GNULIB_MDA_J1]) +- GNULIB_MDA_JN=1; AC_SUBST([GNULIB_MDA_JN]) +- GNULIB_MDA_Y0=1; AC_SUBST([GNULIB_MDA_Y0]) +- GNULIB_MDA_Y1=1; AC_SUBST([GNULIB_MDA_Y1]) +- GNULIB_MDA_YN=1; AC_SUBST([GNULIB_MDA_YN]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_ACOSF=1; AC_SUBST([HAVE_ACOSF]) + HAVE_ACOSL=1; AC_SUBST([HAVE_ACOSL]) +diff --git a/m4/memchr.m4 b/m4/memchr.m4 +index 64470de..ca08192 100644 +--- a/m4/memchr.m4 ++++ b/m4/memchr.m4 +@@ -1,4 +1,4 @@ +-# memchr.m4 serial 17 ++# memchr.m4 serial 18 + dnl Copyright (C) 2002-2004, 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -13,7 +13,7 @@ AC_DEFUN_ONCE([gl_FUNC_MEMCHR], + AC_CHECK_HEADERS_ONCE([sys/mman.h]) + AC_CHECK_FUNCS_ONCE([mprotect]) + +- AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_STRING_H_DEFAULTS]) + # Detect platform-specific bugs in some versions of glibc: + # memchr should not dereference anything with length 0 + # https://bugzilla.redhat.com/show_bug.cgi?id=499689 +diff --git a/m4/mempcpy.m4 b/m4/mempcpy.m4 +index c5ee2af..f9d9ec8 100644 +--- a/m4/mempcpy.m4 ++++ b/m4/mempcpy.m4 +@@ -1,4 +1,4 @@ +-# mempcpy.m4 serial 11 ++# mempcpy.m4 serial 12 + dnl Copyright (C) 2003-2004, 2006-2007, 2009-2021 Free Software Foundation, + dnl Inc. + dnl This file is free software; the Free Software Foundation +@@ -13,7 +13,7 @@ AC_DEFUN([gl_FUNC_MEMPCPY], + dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'. + AC_REQUIRE([AC_C_RESTRICT]) + +- AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_STRING_H_DEFAULTS]) + AC_CHECK_FUNCS([mempcpy]) + if test $ac_cv_func_mempcpy = no; then + HAVE_MEMPCPY=0 +diff --git a/m4/mktime.m4 b/m4/mktime.m4 +index 245649e..721189a 100644 +--- a/m4/mktime.m4 ++++ b/m4/mktime.m4 +@@ -1,4 +1,4 @@ +-# serial 35 ++# serial 36 + dnl Copyright (C) 2002-2003, 2005-2007, 2009-2021 Free Software Foundation, + dnl Inc. + dnl This file is free software; the Free Software Foundation +@@ -255,7 +255,7 @@ main () + dnl Main macro of module 'mktime'. + AC_DEFUN([gl_FUNC_MKTIME], + [ +- AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ AC_REQUIRE([gl_TIME_H_DEFAULTS]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([gl_FUNC_MKTIME_WORKS]) + +diff --git a/m4/netdb_h.m4 b/m4/netdb_h.m4 +index db84c78..eb7c3b8 100644 +--- a/m4/netdb_h.m4 ++++ b/m4/netdb_h.m4 +@@ -1,10 +1,10 @@ +-# netdb_h.m4 serial 12 ++# netdb_h.m4 serial 15 + dnl Copyright (C) 2008-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_HEADER_NETDB], ++AC_DEFUN_ONCE([gl_NETDB_H], + [ + AC_REQUIRE([gl_NETDB_H_DEFAULTS]) + gl_CHECK_NEXT_HEADERS([netdb.h]) +@@ -21,18 +21,33 @@ AC_DEFUN([gl_HEADER_NETDB], + [getaddrinfo freeaddrinfo gai_strerror getnameinfo]) + ]) + ++# gl_NETDB_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_NETDB_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_NETDB_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_NETDB_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_NETDB_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_NETDB_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETADDRINFO]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_NETDB_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_NETDB_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_NETDB_H_DEFAULTS], + [ +- GNULIB_GETADDRINFO=0; AC_SUBST([GNULIB_GETADDRINFO]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_STRUCT_ADDRINFO=1; AC_SUBST([HAVE_STRUCT_ADDRINFO]) + HAVE_DECL_FREEADDRINFO=1; AC_SUBST([HAVE_DECL_FREEADDRINFO]) +diff --git a/m4/poll_h.m4 b/m4/poll_h.m4 +index 20692d8..1f0d796 100644 +--- a/m4/poll_h.m4 ++++ b/m4/poll_h.m4 +@@ -1,4 +1,4 @@ +-# poll_h.m4 serial 3 ++# poll_h.m4 serial 6 + dnl Copyright (C) 2010-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,10 +6,10 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl Written by Bruno Haible. + +-AC_DEFUN([gl_POLL_H], ++AC_DEFUN_ONCE([gl_POLL_H], + [ +- dnl Use AC_REQUIRE here, so that the default behavior below is expanded +- dnl once only, before all statements that occur in other macros. ++ dnl Ensure to expand the default settings once only, before all statements ++ dnl that occur in other macros. + AC_REQUIRE([gl_POLL_H_DEFAULTS]) + + AC_CHECK_HEADERS_ONCE([poll.h]) +@@ -31,18 +31,33 @@ AC_DEFUN([gl_POLL_H], + [poll]) + ]) + ++# gl_POLL_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_POLL_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_POLL_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_POLL_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_POLL_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_POLL_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POLL]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_POLL_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_POLL_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_POLL_H_DEFAULTS], + [ +- GNULIB_POLL=0; AC_SUBST([GNULIB_POLL]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_POLL=1; AC_SUBST([HAVE_POLL]) + REPLACE_POLL=0; AC_SUBST([REPLACE_POLL]) +diff --git a/m4/printf.m4 b/m4/printf.m4 +index d8b3521..284c7c5 100644 +--- a/m4/printf.m4 ++++ b/m4/printf.m4 +@@ -1,4 +1,4 @@ +-# printf.m4 serial 72 ++# printf.m4 serial 73 + dnl Copyright (C) 2003, 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -537,7 +537,7 @@ int main () + && strcmp (buf, "-0X6.488P-1 33") != 0 + && strcmp (buf, "-0XC.91P-2 33") != 0)) + result |= 2; +- /* This catches a FreeBSD 6.1 bug: it doesn't round. */ ++ /* This catches a FreeBSD 13.0 bug: it doesn't round. */ + if (sprintf (buf, "%.2a %d", 1.51, 33, 44, 55) < 0 + || (strcmp (buf, "0x1.83p+0 33") != 0 + && strcmp (buf, "0x3.05p-1 33") != 0 +@@ -1690,6 +1690,7 @@ dnl + dnl 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 + dnl glibc 2.5 . . . . . . . . . . . . . . . . . . . . + dnl glibc 2.3.6 . . . . # . . . . . . . . . . . . . . . ++dnl FreeBSD 13.0 . . . . # . . . . . . . . # . . . . . . + dnl FreeBSD 5.4, 6.1 . . . . # . . . . . . # . # . . . . . . + dnl Mac OS X 10.13.5 . . . # # . # . . . . . . . . . . # . . + dnl Mac OS X 10.5.8 . . . # # . . . . . . # . . . . . . . . +diff --git a/m4/rawmemchr.m4 b/m4/rawmemchr.m4 +index f928465..452fab1 100644 +--- a/m4/rawmemchr.m4 ++++ b/m4/rawmemchr.m4 +@@ -1,4 +1,4 @@ +-# rawmemchr.m4 serial 2 ++# rawmemchr.m4 serial 3 + dnl Copyright (C) 2003, 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -9,7 +9,7 @@ AC_DEFUN([gl_FUNC_RAWMEMCHR], + dnl Persuade glibc to declare rawmemchr(). + AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) + +- AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_STRING_H_DEFAULTS]) + AC_CHECK_FUNCS([rawmemchr]) + if test $ac_cv_func_rawmemchr = no; then + HAVE_RAWMEMCHR=0 +diff --git a/m4/realloc.m4 b/m4/realloc.m4 +index a80a02a..0abc418 100644 +--- a/m4/realloc.m4 ++++ b/m4/realloc.m4 +@@ -1,21 +1,21 @@ +-# realloc.m4 serial 20 ++# realloc.m4 serial 24 + dnl Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + + # This is adapted with modifications from upstream Autoconf here: +-# https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=04be2b7a29d65d9a08e64e8e56e594c91749598c ++# https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/functions.m4?id=v2.70#n1455 + AC_DEFUN([_AC_FUNC_REALLOC_IF], + [ + AC_REQUIRE([AC_CANONICAL_HOST])dnl for cross-compiles +- AC_CACHE_CHECK([for GNU libc compatible realloc], ++ AC_CACHE_CHECK([whether realloc (0, 0) returns nonnull], + [ac_cv_func_realloc_0_nonnull], + [AC_RUN_IFELSE( + [AC_LANG_PROGRAM( + [[#include + ]], +- [[char *p = realloc (0, 0); ++ [[void *p = realloc (0, 0); + int result = !p; + free (p); + return result;]]) +@@ -24,53 +24,40 @@ AC_DEFUN([_AC_FUNC_REALLOC_IF], + [ac_cv_func_realloc_0_nonnull=no], + [case "$host_os" in + # Guess yes on platforms where we know the result. +- *-gnu* | gnu* | *-musl* | freebsd* | midnightbsd* | netbsd* | openbsd* \ +- | hpux* | solaris* | cygwin* | mingw*) ++ *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \ ++ | gnu* | *-musl* | midnightbsd* \ ++ | hpux* | solaris* | cygwin* | mingw* | msys* ) + ac_cv_func_realloc_0_nonnull="guessing yes" ;; + # If we don't know, obey --enable-cross-guesses. + *) ac_cv_func_realloc_0_nonnull="$gl_cross_guess_normal" ;; + esac + ]) + ]) +- case "$ac_cv_func_realloc_0_nonnull" in +- *yes) +- $1 +- ;; +- *) +- $2 +- ;; +- esac ++ AS_CASE([$ac_cv_func_realloc_0_nonnull], [*yes], [$1], [$2]) + ])# AC_FUNC_REALLOC + + # gl_FUNC_REALLOC_GNU + # ------------------- +-# Test whether 'realloc (0, 0)' is handled like in GNU libc, and replace +-# realloc if it is not. ++# Replace realloc if it is not compatible with GNU libc. + AC_DEFUN([gl_FUNC_REALLOC_GNU], + [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) +- dnl _AC_FUNC_REALLOC_IF is defined in Autoconf. +- _AC_FUNC_REALLOC_IF( +- [AC_DEFINE([HAVE_REALLOC_GNU], [1], +- [Define to 1 if your system has a GNU libc compatible 'realloc' +- function, and to 0 otherwise.])], +- [AC_DEFINE([HAVE_REALLOC_GNU], [0]) +- REPLACE_REALLOC=1 +- ]) ++ AC_REQUIRE([gl_FUNC_REALLOC_POSIX]) ++ if test $REPLACE_REALLOC = 0; then ++ _AC_FUNC_REALLOC_IF([], [REPLACE_REALLOC=1]) ++ fi + ])# gl_FUNC_REALLOC_GNU + + # gl_FUNC_REALLOC_POSIX + # --------------------- + # Test whether 'realloc' is POSIX compliant (sets errno to ENOMEM when it +-# fails), and replace realloc if it is not. ++# fails, and doesn't mess up with ptrdiff_t overflow), ++# and replace realloc if it is not. + AC_DEFUN([gl_FUNC_REALLOC_POSIX], + [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) +- AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) +- if test $gl_cv_func_malloc_posix = yes; then +- AC_DEFINE([HAVE_REALLOC_POSIX], [1], +- [Define if the 'realloc' function is POSIX compliant.]) +- else ++ AC_REQUIRE([gl_FUNC_MALLOC_POSIX]) ++ if test $REPLACE_MALLOC = 1; then + REPLACE_REALLOC=1 + fi + ]) +diff --git a/m4/regex.m4 b/m4/regex.m4 +index 850c572..1c7e562 100644 +--- a/m4/regex.m4 ++++ b/m4/regex.m4 +@@ -1,4 +1,4 @@ +-# serial 71 ++# serial 73 + + # Copyright (C) 1996-2001, 2003-2021 Free Software Foundation, Inc. + # +@@ -246,7 +246,7 @@ AC_DEFUN([gl_REGEX], + & ~RE_CONTEXT_INVALID_DUP + & ~RE_NO_EMPTY_RANGES); + memset (®ex, 0, sizeof regex); +- s = re_compile_pattern ("[[:alnum:]_-]\\\\+$", 16, ®ex); ++ s = re_compile_pattern ("[[:alnum:]_-]\\\\+\$", 16, ®ex); + if (s) + result |= 32; + else +@@ -264,14 +264,50 @@ AC_DEFUN([gl_REGEX], + back reference. */ + re_set_syntax (RE_SYNTAX_POSIX_EGREP); + memset (®ex, 0, sizeof regex); +- s = re_compile_pattern ("0|()0|\\1|0", 10, ®ex); ++ s = re_compile_pattern ("0|()0|\\\\1|0", 10, ®ex); + if (!s) +- result |= 64; ++ { ++ memset (®s, 0, sizeof regs); ++ i = re_search (®ex, "x", 1, 0, 1, ®s); ++ if (i != -1) ++ result |= 64; ++ if (0 <= i) ++ { ++ free (regs.start); ++ free (regs.end); ++ } ++ regfree (®ex); ++ } + else + { + if (strcmp (s, "Invalid back reference")) + result |= 64; ++ } ++ ++ /* glibc bug 11053. */ ++ re_set_syntax (RE_SYNTAX_POSIX_BASIC); ++ memset (®ex, 0, sizeof regex); ++ static char const pat_sub2[] = "\\\\(a*\\\\)*a*\\\\1"; ++ s = re_compile_pattern (pat_sub2, sizeof pat_sub2 - 1, ®ex); ++ if (s) ++ result |= 64; ++ else ++ { ++ memset (®s, 0, sizeof regs); ++ static char const data[] = "a"; ++ int datalen = sizeof data - 1; ++ i = re_search (®ex, data, datalen, 0, datalen, ®s); ++ if (i != 0) ++ result |= 64; ++ else if (regs.num_regs < 2) ++ result |= 64; ++ else if (! (regs.start[0] == 0 && regs.end[0] == 1)) ++ result |= 64; ++ else if (! (regs.start[1] == 0 && regs.end[1] == 0)) ++ result |= 64; + regfree (®ex); ++ free (regs.start); ++ free (regs.end); + } + + #if 0 +diff --git a/m4/select.m4 b/m4/select.m4 +index c7409d2..72c068f 100644 +--- a/m4/select.m4 ++++ b/m4/select.m4 +@@ -1,4 +1,4 @@ +-# select.m4 serial 12 ++# select.m4 serial 13 + dnl Copyright (C) 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,7 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_SELECT], + [ +- AC_REQUIRE([gl_HEADER_SYS_SELECT]) ++ AC_REQUIRE([gl_SYS_SELECT_H]) + AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles + AC_REQUIRE([gl_SOCKETS]) +diff --git a/m4/servent.m4 b/m4/servent.m4 +index 2dda177..9bc3bcd 100644 +--- a/m4/servent.m4 ++++ b/m4/servent.m4 +@@ -1,4 +1,4 @@ +-# servent.m4 serial 3 ++# servent.m4 serial 4 + dnl Copyright (C) 2008, 2010-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -15,7 +15,7 @@ AC_DEFUN([gl_SERVENT], + dnl - On BeOS, they are in libnet. + dnl - On native Windows, they are in ws2_32.dll. + dnl - Otherwise they are in libc. +- AC_REQUIRE([gl_HEADER_SYS_SOCKET])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H ++ AC_REQUIRE([gl_SYS_SOCKET_H])dnl for HAVE_SYS_SOCKET_H, HAVE_WINSOCK2_H + SERVENT_LIB= + gl_saved_libs="$LIBS" + AC_SEARCH_LIBS([getservbyname], [socket network net], +diff --git a/m4/signal_h.m4 b/m4/signal_h.m4 +index ff9f025..8b93880 100644 +--- a/m4/signal_h.m4 ++++ b/m4/signal_h.m4 +@@ -1,10 +1,10 @@ +-# signal_h.m4 serial 19 ++# signal_h.m4 serial 22 + dnl Copyright (C) 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_SIGNAL_H], ++AC_DEFUN_ONCE([gl_SIGNAL_H], + [ + AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) + AC_REQUIRE([gl_CHECK_TYPE_SIGSET_T]) +@@ -52,22 +52,37 @@ AC_DEFUN([gl_CHECK_TYPE_SIGSET_T], + fi + ]) + ++# gl_SIGNAL_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_SIGNAL_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_SIGNAL_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SIGNAL_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SIGNAL_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTHREAD_SIGMASK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RAISE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGNAL_H_SIGPIPE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGPROCMASK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGACTION]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SIGNAL_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SIGNAL_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_SIGNAL_H_DEFAULTS], + [ +- GNULIB_PTHREAD_SIGMASK=0; AC_SUBST([GNULIB_PTHREAD_SIGMASK]) +- GNULIB_RAISE=0; AC_SUBST([GNULIB_RAISE]) +- GNULIB_SIGNAL_H_SIGPIPE=0; AC_SUBST([GNULIB_SIGNAL_H_SIGPIPE]) +- GNULIB_SIGPROCMASK=0; AC_SUBST([GNULIB_SIGPROCMASK]) +- GNULIB_SIGACTION=0; AC_SUBST([GNULIB_SIGACTION]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_POSIX_SIGNALBLOCKING=1; AC_SUBST([HAVE_POSIX_SIGNALBLOCKING]) + HAVE_PTHREAD_SIGMASK=1; AC_SUBST([HAVE_PTHREAD_SIGMASK]) +diff --git a/m4/sockpfaf.m4 b/m4/sockpfaf.m4 +index edae5d8..17e14c7 100644 +--- a/m4/sockpfaf.m4 ++++ b/m4/sockpfaf.m4 +@@ -1,4 +1,4 @@ +-# sockpfaf.m4 serial 9 ++# sockpfaf.m4 serial 10 + dnl Copyright (C) 2004, 2006, 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -13,7 +13,7 @@ dnl From Bruno Haible. + + AC_DEFUN([gl_SOCKET_FAMILIES], + [ +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + AC_CHECK_HEADERS_ONCE([netinet/in.h]) + + AC_CACHE_CHECK([for IPv4 sockets], +@@ -60,7 +60,7 @@ AC_DEFUN([gl_SOCKET_FAMILIES], + + AC_DEFUN([gl_SOCKET_FAMILY_UNIX], + [ +- AC_REQUIRE([gl_HEADER_SYS_SOCKET]) ++ AC_REQUIRE([gl_SYS_SOCKET_H]) + AC_CHECK_HEADERS_ONCE([sys/un.h]) + + AC_CACHE_CHECK([for UNIX domain sockets], +diff --git a/m4/stat.m4 b/m4/stat.m4 +index 66f6c8c..9bcdb72 100644 +--- a/m4/stat.m4 ++++ b/m4/stat.m4 +@@ -1,4 +1,4 @@ +-# serial 17 ++# serial 18 + + # Copyright (C) 2009-2021 Free Software Foundation, Inc. + # +@@ -69,7 +69,7 @@ AC_DEFUN([gl_FUNC_STAT], + + # Prerequisites of lib/stat.c and lib/stat-w32.c. + AC_DEFUN([gl_PREREQ_STAT], [ +- AC_REQUIRE([gl_HEADER_SYS_STAT_H]) ++ AC_REQUIRE([gl_SYS_STAT_H]) + AC_REQUIRE([gl_PREREQ_STAT_W32]) + : + ]) +diff --git a/m4/stddef_h.m4 b/m4/stddef_h.m4 +index cd666c4..1303d2e 100644 +--- a/m4/stddef_h.m4 ++++ b/m4/stddef_h.m4 +@@ -1,4 +1,4 @@ +-# stddef_h.m4 serial 9 ++# stddef_h.m4 serial 11 + dnl Copyright (C) 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,7 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl A placeholder for , for platforms that have issues. + +-AC_DEFUN([gl_STDDEF_H], ++AC_DEFUN_ONCE([gl_STDDEF_H], + [ + AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) + AC_REQUIRE([gt_TYPE_WCHAR_T]) +@@ -68,13 +68,28 @@ AC_DEFUN([gl_STDDEF_H], + fi + ]) + ++# gl_STDDEF_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_STDDEF_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_STDDEF_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_STDDEF_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STDDEF_H_MODULE_INDICATOR_DEFAULTS], [ ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_STDDEF_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_STDDEF_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_STDDEF_H_DEFAULTS], + [ + dnl Assume proper GNU behavior unless another module says otherwise. +diff --git a/m4/stdint.m4 b/m4/stdint.m4 +index a785b44..2eb1652 100644 +--- a/m4/stdint.m4 ++++ b/m4/stdint.m4 +@@ -1,4 +1,4 @@ +-# stdint.m4 serial 58 ++# stdint.m4 serial 60 + dnl Copyright (C) 2001-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -170,7 +170,7 @@ struct s { + PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t) + && PTRDIFF_MAX == TYPE_MAXIMUM (ptrdiff_t) + ? 1 : -1; +- /* Detect bug in FreeBSD 6.0 / ia64. */ ++ /* Detect bug in FreeBSD 6.0/ia64 and FreeBSD 13.0/arm64. */ + int check_SIG_ATOMIC: + SIG_ATOMIC_MIN == TYPE_MINIMUM (sig_atomic_t) + && SIG_ATOMIC_MAX == TYPE_MAXIMUM (sig_atomic_t) +@@ -527,7 +527,7 @@ AC_DEFUN([gl_STDINT_TYPE_PROPERTIES], + dnl requirement that wint_t is "unchanged by default argument promotions". + dnl In this case gnulib's and override wint_t. + dnl Set the variable BITSIZEOF_WINT_T accordingly. +- if test $GNULIB_OVERRIDES_WINT_T = 1; then ++ if test $GNULIBHEADERS_OVERRIDE_WINT_T = 1; then + BITSIZEOF_WINT_T=32 + fi + ]) +diff --git a/m4/stdio_h.m4 b/m4/stdio_h.m4 +index 4c3f24a..e704383 100644 +--- a/m4/stdio_h.m4 ++++ b/m4/stdio_h.m4 +@@ -1,11 +1,12 @@ +-# stdio_h.m4 serial 52 ++# stdio_h.m4 serial 56 + dnl Copyright (C) 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_STDIO_H], ++AC_DEFUN_ONCE([gl_STDIO_H], + [ ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + AH_VERBATIM([MINGW_ANSI_STDIO], + [/* Use GNU style printf and scanf. */ + #ifndef __USE_MINGW_ANSI_STDIO +@@ -13,7 +14,6 @@ AC_DEFUN([gl_STDIO_H], + #endif + ]) + AC_DEFINE([__USE_MINGW_ANSI_STDIO]) +- AC_REQUIRE([gl_STDIO_H_DEFAULTS]) + gl_NEXT_HEADERS([stdio.h]) + + dnl Determine whether __USE_MINGW_ANSI_STDIO makes printf and +@@ -40,17 +40,6 @@ AC_DEFUN([gl_STDIO_H], + attribute "__gnu_printf__" instead of "__printf__"]) + fi + +- dnl No need to create extra modules for these functions. Everyone who uses +- dnl likely needs them. +- GNULIB_FSCANF=1 +- gl_MODULE_INDICATOR([fscanf]) +- GNULIB_SCANF=1 +- gl_MODULE_INDICATOR([scanf]) +- GNULIB_FGETC=1 +- GNULIB_GETC=1 +- GNULIB_GETCHAR=1 +- GNULIB_FGETS=1 +- GNULIB_FREAD=1 + dnl This ifdef is necessary to avoid an error "missing file lib/stdio-read.c" + dnl "expected source file, required through AC_LIBSOURCES, not found". It is + dnl also an optimization, to avoid performing a configure check whose result +@@ -64,18 +53,6 @@ AC_DEFUN([gl_STDIO_H], + fi + ]) + +- dnl No need to create extra modules for these functions. Everyone who uses +- dnl likely needs them. +- GNULIB_FPRINTF=1 +- GNULIB_PRINTF=1 +- GNULIB_VFPRINTF=1 +- GNULIB_VPRINTF=1 +- GNULIB_FPUTC=1 +- GNULIB_PUTC=1 +- GNULIB_PUTCHAR=1 +- GNULIB_FPUTS=1 +- GNULIB_PUTS=1 +- GNULIB_FWRITE=1 + dnl This ifdef is necessary to avoid an error "missing file lib/stdio-write.c" + dnl "expected source file, required through AC_LIBSOURCES, not found". It is + dnl also an optimization, to avoid performing a configure check whose result +@@ -116,77 +93,92 @@ AC_DEFUN([gl_STDIO_H], + fi + ]) + ++# gl_STDIO_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_STDIO_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_STDIO_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_STDIO_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STDIO_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DPRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCLOSE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FDOPEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FFLUSH]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FGETC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FGETS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FOPEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPRINTF_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPURGE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPUTC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FPUTS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREAD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREOPEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSCANF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSEEK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSEEKO]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FTELL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FTELLO]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FWRITE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETCHAR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETDELIM]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLINE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OBSTACK_PRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OBSTACK_PRINTF_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PCLOSE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PERROR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POPEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PRINTF_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PUTC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PUTCHAR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PUTS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REMOVE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RENAME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RENAMEAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SCANF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SNPRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SPRINTF_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STDIO_H_NONBLOCKING]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STDIO_H_SIGPIPE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TMPFILE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VASPRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VFSCANF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VSCANF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VDPRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VFPRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VFPRINTF_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VPRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VPRINTF_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VSNPRINTF]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_VSPRINTF_POSIX]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_FCLOSEALL], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_FDOPEN], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_FILENO], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_GETW], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_PUTW], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_TEMPNAM], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_STDIO_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_STDIO_H_DEFAULTS], + [ +- GNULIB_DPRINTF=0; AC_SUBST([GNULIB_DPRINTF]) +- GNULIB_FCLOSE=0; AC_SUBST([GNULIB_FCLOSE]) +- GNULIB_FDOPEN=0; AC_SUBST([GNULIB_FDOPEN]) +- GNULIB_FFLUSH=0; AC_SUBST([GNULIB_FFLUSH]) +- GNULIB_FGETC=0; AC_SUBST([GNULIB_FGETC]) +- GNULIB_FGETS=0; AC_SUBST([GNULIB_FGETS]) +- GNULIB_FOPEN=0; AC_SUBST([GNULIB_FOPEN]) +- GNULIB_FPRINTF=0; AC_SUBST([GNULIB_FPRINTF]) +- GNULIB_FPRINTF_POSIX=0; AC_SUBST([GNULIB_FPRINTF_POSIX]) +- GNULIB_FPURGE=0; AC_SUBST([GNULIB_FPURGE]) +- GNULIB_FPUTC=0; AC_SUBST([GNULIB_FPUTC]) +- GNULIB_FPUTS=0; AC_SUBST([GNULIB_FPUTS]) +- GNULIB_FREAD=0; AC_SUBST([GNULIB_FREAD]) +- GNULIB_FREOPEN=0; AC_SUBST([GNULIB_FREOPEN]) +- GNULIB_FSCANF=0; AC_SUBST([GNULIB_FSCANF]) +- GNULIB_FSEEK=0; AC_SUBST([GNULIB_FSEEK]) +- GNULIB_FSEEKO=0; AC_SUBST([GNULIB_FSEEKO]) +- GNULIB_FTELL=0; AC_SUBST([GNULIB_FTELL]) +- GNULIB_FTELLO=0; AC_SUBST([GNULIB_FTELLO]) +- GNULIB_FWRITE=0; AC_SUBST([GNULIB_FWRITE]) +- GNULIB_GETC=0; AC_SUBST([GNULIB_GETC]) +- GNULIB_GETCHAR=0; AC_SUBST([GNULIB_GETCHAR]) +- GNULIB_GETDELIM=0; AC_SUBST([GNULIB_GETDELIM]) +- GNULIB_GETLINE=0; AC_SUBST([GNULIB_GETLINE]) +- GNULIB_OBSTACK_PRINTF=0; AC_SUBST([GNULIB_OBSTACK_PRINTF]) +- GNULIB_OBSTACK_PRINTF_POSIX=0; AC_SUBST([GNULIB_OBSTACK_PRINTF_POSIX]) +- GNULIB_PCLOSE=0; AC_SUBST([GNULIB_PCLOSE]) +- GNULIB_PERROR=0; AC_SUBST([GNULIB_PERROR]) +- GNULIB_POPEN=0; AC_SUBST([GNULIB_POPEN]) +- GNULIB_PRINTF=0; AC_SUBST([GNULIB_PRINTF]) +- GNULIB_PRINTF_POSIX=0; AC_SUBST([GNULIB_PRINTF_POSIX]) +- GNULIB_PUTC=0; AC_SUBST([GNULIB_PUTC]) +- GNULIB_PUTCHAR=0; AC_SUBST([GNULIB_PUTCHAR]) +- GNULIB_PUTS=0; AC_SUBST([GNULIB_PUTS]) +- GNULIB_REMOVE=0; AC_SUBST([GNULIB_REMOVE]) +- GNULIB_RENAME=0; AC_SUBST([GNULIB_RENAME]) +- GNULIB_RENAMEAT=0; AC_SUBST([GNULIB_RENAMEAT]) +- GNULIB_SCANF=0; AC_SUBST([GNULIB_SCANF]) +- GNULIB_SNPRINTF=0; AC_SUBST([GNULIB_SNPRINTF]) +- GNULIB_SPRINTF_POSIX=0; AC_SUBST([GNULIB_SPRINTF_POSIX]) +- GNULIB_STDIO_H_NONBLOCKING=0; AC_SUBST([GNULIB_STDIO_H_NONBLOCKING]) +- GNULIB_STDIO_H_SIGPIPE=0; AC_SUBST([GNULIB_STDIO_H_SIGPIPE]) +- GNULIB_TMPFILE=0; AC_SUBST([GNULIB_TMPFILE]) +- GNULIB_VASPRINTF=0; AC_SUBST([GNULIB_VASPRINTF]) +- GNULIB_VFSCANF=0; AC_SUBST([GNULIB_VFSCANF]) +- GNULIB_VSCANF=0; AC_SUBST([GNULIB_VSCANF]) +- GNULIB_VDPRINTF=0; AC_SUBST([GNULIB_VDPRINTF]) +- GNULIB_VFPRINTF=0; AC_SUBST([GNULIB_VFPRINTF]) +- GNULIB_VFPRINTF_POSIX=0; AC_SUBST([GNULIB_VFPRINTF_POSIX]) +- GNULIB_VPRINTF=0; AC_SUBST([GNULIB_VPRINTF]) +- GNULIB_VPRINTF_POSIX=0; AC_SUBST([GNULIB_VPRINTF_POSIX]) +- GNULIB_VSNPRINTF=0; AC_SUBST([GNULIB_VSNPRINTF]) +- GNULIB_VSPRINTF_POSIX=0; AC_SUBST([GNULIB_VSPRINTF_POSIX]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_FCLOSEALL=1; AC_SUBST([GNULIB_MDA_FCLOSEALL]) +- GNULIB_MDA_FDOPEN=1; AC_SUBST([GNULIB_MDA_FDOPEN]) +- GNULIB_MDA_FILENO=1; AC_SUBST([GNULIB_MDA_FILENO]) +- GNULIB_MDA_GETW=1; AC_SUBST([GNULIB_MDA_GETW]) +- GNULIB_MDA_PUTW=1; AC_SUBST([GNULIB_MDA_PUTW]) +- GNULIB_MDA_TEMPNAM=1; AC_SUBST([GNULIB_MDA_TEMPNAM]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_DECL_FCLOSEALL=1; AC_SUBST([HAVE_DECL_FCLOSEALL]) + HAVE_DECL_FPURGE=1; AC_SUBST([HAVE_DECL_FPURGE]) +diff --git a/m4/stdlib_h.m4 b/m4/stdlib_h.m4 +index 5fdb0a7..9c1d1c7 100644 +--- a/m4/stdlib_h.m4 ++++ b/m4/stdlib_h.m4 +@@ -1,10 +1,10 @@ +-# stdlib_h.m4 serial 59 ++# stdlib_h.m4 serial 63 + dnl Copyright (C) 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_STDLIB_H], ++AC_DEFUN_ONCE([gl_STDLIB_H], + [ + AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) + gl_NEXT_HEADERS([stdlib.h]) +@@ -46,63 +46,78 @@ AC_DEFUN([gl_STDLIB_H], + fi + ]) + ++# gl_STDLIB_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_STDLIB_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_STDLIB_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_STDLIB_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STDLIB_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB__EXIT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ALIGNED_ALLOC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ATOLL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CALLOC_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CANONICALIZE_FILE_NAME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FREE_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLOADAVG]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETSUBOPT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GRANTPT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MALLOC_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBTOWC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKDTEMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKOSTEMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKOSTEMPS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKSTEMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKSTEMPS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POSIX_MEMALIGN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_POSIX_OPENPT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTSNAME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PTSNAME_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PUTENV]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_QSORT_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RANDOM]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RANDOM_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REALLOCARRAY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REALLOC_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_REALPATH]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RPMATCH]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SECURE_GETENV]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETENV]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOLD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOLL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOUL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOULL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SYSTEM_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNLOCKPT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNSETENV]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCTOMB]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_ECVT], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_FCVT], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_GCVT], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_MKTEMP], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_PUTENV], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_STDLIB_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_STDLIB_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_STDLIB_H_DEFAULTS], + [ +- GNULIB__EXIT=0; AC_SUBST([GNULIB__EXIT]) +- GNULIB_ALIGNED_ALLOC=0; AC_SUBST([GNULIB_ALIGNED_ALLOC]) +- GNULIB_ATOLL=0; AC_SUBST([GNULIB_ATOLL]) +- GNULIB_CALLOC_POSIX=0; AC_SUBST([GNULIB_CALLOC_POSIX]) +- GNULIB_CANONICALIZE_FILE_NAME=0; AC_SUBST([GNULIB_CANONICALIZE_FILE_NAME]) +- GNULIB_FREE_POSIX=0; AC_SUBST([GNULIB_FREE_POSIX]) +- GNULIB_GETLOADAVG=0; AC_SUBST([GNULIB_GETLOADAVG]) +- GNULIB_GETSUBOPT=0; AC_SUBST([GNULIB_GETSUBOPT]) +- GNULIB_GRANTPT=0; AC_SUBST([GNULIB_GRANTPT]) +- GNULIB_MALLOC_POSIX=0; AC_SUBST([GNULIB_MALLOC_POSIX]) +- GNULIB_MBTOWC=0; AC_SUBST([GNULIB_MBTOWC]) +- GNULIB_MKDTEMP=0; AC_SUBST([GNULIB_MKDTEMP]) +- GNULIB_MKOSTEMP=0; AC_SUBST([GNULIB_MKOSTEMP]) +- GNULIB_MKOSTEMPS=0; AC_SUBST([GNULIB_MKOSTEMPS]) +- GNULIB_MKSTEMP=0; AC_SUBST([GNULIB_MKSTEMP]) +- GNULIB_MKSTEMPS=0; AC_SUBST([GNULIB_MKSTEMPS]) +- GNULIB_POSIX_MEMALIGN=0;AC_SUBST([GNULIB_POSIX_MEMALIGN]) +- GNULIB_POSIX_OPENPT=0; AC_SUBST([GNULIB_POSIX_OPENPT]) +- GNULIB_PTSNAME=0; AC_SUBST([GNULIB_PTSNAME]) +- GNULIB_PTSNAME_R=0; AC_SUBST([GNULIB_PTSNAME_R]) +- GNULIB_PUTENV=0; AC_SUBST([GNULIB_PUTENV]) +- GNULIB_QSORT_R=0; AC_SUBST([GNULIB_QSORT_R]) +- GNULIB_RANDOM=0; AC_SUBST([GNULIB_RANDOM]) +- GNULIB_RANDOM_R=0; AC_SUBST([GNULIB_RANDOM_R]) +- GNULIB_REALLOCARRAY=0; AC_SUBST([GNULIB_REALLOCARRAY]) +- GNULIB_REALLOC_POSIX=0; AC_SUBST([GNULIB_REALLOC_POSIX]) +- GNULIB_REALPATH=0; AC_SUBST([GNULIB_REALPATH]) +- GNULIB_RPMATCH=0; AC_SUBST([GNULIB_RPMATCH]) +- GNULIB_SECURE_GETENV=0; AC_SUBST([GNULIB_SECURE_GETENV]) +- GNULIB_SETENV=0; AC_SUBST([GNULIB_SETENV]) +- GNULIB_STRTOD=0; AC_SUBST([GNULIB_STRTOD]) +- GNULIB_STRTOL=0; AC_SUBST([GNULIB_STRTOL]) +- GNULIB_STRTOLD=0; AC_SUBST([GNULIB_STRTOLD]) +- GNULIB_STRTOLL=0; AC_SUBST([GNULIB_STRTOLL]) +- GNULIB_STRTOUL=0; AC_SUBST([GNULIB_STRTOUL]) +- GNULIB_STRTOULL=0; AC_SUBST([GNULIB_STRTOULL]) +- GNULIB_SYSTEM_POSIX=0; AC_SUBST([GNULIB_SYSTEM_POSIX]) +- GNULIB_UNLOCKPT=0; AC_SUBST([GNULIB_UNLOCKPT]) +- GNULIB_UNSETENV=0; AC_SUBST([GNULIB_UNSETENV]) +- GNULIB_WCTOMB=0; AC_SUBST([GNULIB_WCTOMB]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_ECVT=1; AC_SUBST([GNULIB_MDA_ECVT]) +- GNULIB_MDA_FCVT=1; AC_SUBST([GNULIB_MDA_FCVT]) +- GNULIB_MDA_GCVT=1; AC_SUBST([GNULIB_MDA_GCVT]) +- GNULIB_MDA_MKTEMP=1; AC_SUBST([GNULIB_MDA_MKTEMP]) +- GNULIB_MDA_PUTENV=1; AC_SUBST([GNULIB_MDA_PUTENV]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE__EXIT=1; AC_SUBST([HAVE__EXIT]) + HAVE_ALIGNED_ALLOC=1; AC_SUBST([HAVE_ALIGNED_ALLOC]) +@@ -164,6 +179,7 @@ AC_DEFUN([gl_STDLIB_H_DEFAULTS], + REPLACE_RANDOM=0; AC_SUBST([REPLACE_RANDOM]) + REPLACE_RANDOM_R=0; AC_SUBST([REPLACE_RANDOM_R]) + REPLACE_REALLOC=0; AC_SUBST([REPLACE_REALLOC]) ++ REPLACE_REALLOCARRAY=0; AC_SUBST([REPLACE_REALLOCARRAY]) + REPLACE_REALPATH=0; AC_SUBST([REPLACE_REALPATH]) + REPLACE_SETENV=0; AC_SUBST([REPLACE_SETENV]) + REPLACE_SETSTATE=0; AC_SUBST([REPLACE_SETSTATE]) +diff --git a/m4/strdup.m4 b/m4/strdup.m4 +index f6f421d..5b6018f 100644 +--- a/m4/strdup.m4 ++++ b/m4/strdup.m4 +@@ -1,4 +1,4 @@ +-# strdup.m4 serial 14 ++# strdup.m4 serial 15 + + dnl Copyright (C) 2002-2021 Free Software Foundation, Inc. + +@@ -8,7 +8,7 @@ dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_STRDUP], + [ +- AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_STRING_H_DEFAULTS]) + AC_CHECK_DECLS_ONCE([strdup]) + if test $ac_cv_have_decl_strdup = no; then + HAVE_DECL_STRDUP=0 +@@ -17,7 +17,7 @@ AC_DEFUN([gl_FUNC_STRDUP], + + AC_DEFUN([gl_FUNC_STRDUP_POSIX], + [ +- AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ AC_REQUIRE([gl_STRING_H_DEFAULTS]) + AC_REQUIRE([gl_CHECK_MALLOC_POSIX]) + if test $gl_cv_func_malloc_posix != yes; then + REPLACE_STRDUP=1 +diff --git a/m4/string_h.m4 b/m4/string_h.m4 +index a4cc5b4..80d1e58 100644 +--- a/m4/string_h.m4 ++++ b/m4/string_h.m4 +@@ -5,20 +5,15 @@ + # gives unlimited permission to copy and/or distribute it, + # with or without modifications, as long as this notice is preserved. + +-# serial 29 ++# serial 32 + + # Written by Paul Eggert. + +-AC_DEFUN([gl_HEADER_STRING_H], ++AC_DEFUN_ONCE([gl_STRING_H], + [ +- dnl Use AC_REQUIRE here, so that the default behavior below is expanded +- dnl once only, before all statements that occur in other macros. +- AC_REQUIRE([gl_HEADER_STRING_H_BODY]) +-]) +- +-AC_DEFUN([gl_HEADER_STRING_H_BODY], +-[ +- AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only, before all statements ++ dnl that occur in other macros. ++ AC_REQUIRE([gl_STRING_H_DEFAULTS]) + gl_NEXT_HEADERS([string.h]) + + dnl Check for declarations of anything we want to poison if the +@@ -33,62 +28,77 @@ AC_DEFUN([gl_HEADER_STRING_H_BODY], + AC_REQUIRE([AC_C_RESTRICT]) + ]) + ++# gl_STRING_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_STRING_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_STRING_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + +-AC_DEFUN([gl_HEADER_STRING_H_DEFAULTS], ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_STRING_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_STRING_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXPLICIT_BZERO]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FFSL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FFSLL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMCHR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMMEM]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMPCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MEMRCHR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RAWMEMCHR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STPCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STPNCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRCHRNUL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRDUP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNCAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNDUP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRNLEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRPBRK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRSEP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRSTR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRCASESTR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRTOK_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSLEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSNLEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSCHR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSRCHR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSSTR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSCASECMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSNCASECMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSPCASECMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSCASESTR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSCSPN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSPBRK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSSPN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSSEP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSTOK_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRERROR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRERROR_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRERRORNAME_NP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGABBREV_NP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SIGDESCR_NP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRSIGNAL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRVERSCMP]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_MEMCCPY], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_STRDUP], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_STRING_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_STRING_H_DEFAULTS]) ++]) ++ ++AC_DEFUN([gl_STRING_H_DEFAULTS], + [ +- GNULIB_EXPLICIT_BZERO=0; AC_SUBST([GNULIB_EXPLICIT_BZERO]) +- GNULIB_FFSL=0; AC_SUBST([GNULIB_FFSL]) +- GNULIB_FFSLL=0; AC_SUBST([GNULIB_FFSLL]) +- GNULIB_MEMCHR=0; AC_SUBST([GNULIB_MEMCHR]) +- GNULIB_MEMMEM=0; AC_SUBST([GNULIB_MEMMEM]) +- GNULIB_MEMPCPY=0; AC_SUBST([GNULIB_MEMPCPY]) +- GNULIB_MEMRCHR=0; AC_SUBST([GNULIB_MEMRCHR]) +- GNULIB_RAWMEMCHR=0; AC_SUBST([GNULIB_RAWMEMCHR]) +- GNULIB_STPCPY=0; AC_SUBST([GNULIB_STPCPY]) +- GNULIB_STPNCPY=0; AC_SUBST([GNULIB_STPNCPY]) +- GNULIB_STRCHRNUL=0; AC_SUBST([GNULIB_STRCHRNUL]) +- GNULIB_STRDUP=0; AC_SUBST([GNULIB_STRDUP]) +- GNULIB_STRNCAT=0; AC_SUBST([GNULIB_STRNCAT]) +- GNULIB_STRNDUP=0; AC_SUBST([GNULIB_STRNDUP]) +- GNULIB_STRNLEN=0; AC_SUBST([GNULIB_STRNLEN]) +- GNULIB_STRPBRK=0; AC_SUBST([GNULIB_STRPBRK]) +- GNULIB_STRSEP=0; AC_SUBST([GNULIB_STRSEP]) +- GNULIB_STRSTR=0; AC_SUBST([GNULIB_STRSTR]) +- GNULIB_STRCASESTR=0; AC_SUBST([GNULIB_STRCASESTR]) +- GNULIB_STRTOK_R=0; AC_SUBST([GNULIB_STRTOK_R]) +- GNULIB_MBSLEN=0; AC_SUBST([GNULIB_MBSLEN]) +- GNULIB_MBSNLEN=0; AC_SUBST([GNULIB_MBSNLEN]) +- GNULIB_MBSCHR=0; AC_SUBST([GNULIB_MBSCHR]) +- GNULIB_MBSRCHR=0; AC_SUBST([GNULIB_MBSRCHR]) +- GNULIB_MBSSTR=0; AC_SUBST([GNULIB_MBSSTR]) +- GNULIB_MBSCASECMP=0; AC_SUBST([GNULIB_MBSCASECMP]) +- GNULIB_MBSNCASECMP=0; AC_SUBST([GNULIB_MBSNCASECMP]) +- GNULIB_MBSPCASECMP=0; AC_SUBST([GNULIB_MBSPCASECMP]) +- GNULIB_MBSCASESTR=0; AC_SUBST([GNULIB_MBSCASESTR]) +- GNULIB_MBSCSPN=0; AC_SUBST([GNULIB_MBSCSPN]) +- GNULIB_MBSPBRK=0; AC_SUBST([GNULIB_MBSPBRK]) +- GNULIB_MBSSPN=0; AC_SUBST([GNULIB_MBSSPN]) +- GNULIB_MBSSEP=0; AC_SUBST([GNULIB_MBSSEP]) +- GNULIB_MBSTOK_R=0; AC_SUBST([GNULIB_MBSTOK_R]) +- GNULIB_STRERROR=0; AC_SUBST([GNULIB_STRERROR]) +- GNULIB_STRERROR_R=0; AC_SUBST([GNULIB_STRERROR_R]) +- GNULIB_STRERRORNAME_NP=0; AC_SUBST([GNULIB_STRERRORNAME_NP]) +- GNULIB_SIGABBREV_NP=0; AC_SUBST([GNULIB_SIGABBREV_NP]) +- GNULIB_SIGDESCR_NP=0; AC_SUBST([GNULIB_SIGDESCR_NP]) +- GNULIB_STRSIGNAL=0; AC_SUBST([GNULIB_STRSIGNAL]) +- GNULIB_STRVERSCMP=0; AC_SUBST([GNULIB_STRVERSCMP]) + HAVE_MBSLEN=0; AC_SUBST([HAVE_MBSLEN]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_MEMCCPY=1; AC_SUBST([GNULIB_MDA_MEMCCPY]) +- GNULIB_MDA_STRDUP=1; AC_SUBST([GNULIB_MDA_STRDUP]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_EXPLICIT_BZERO=1; AC_SUBST([HAVE_EXPLICIT_BZERO]) + HAVE_FFSL=1; AC_SUBST([HAVE_FFSL]) +diff --git a/m4/sys_file_h.m4 b/m4/sys_file_h.m4 +index 99c2285..bcde4d7 100644 +--- a/m4/sys_file_h.m4 ++++ b/m4/sys_file_h.m4 +@@ -1,5 +1,5 @@ + # Configure a replacement for . +-# serial 6 ++# serial 9 + + # Copyright (C) 2008-2021 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation +@@ -8,9 +8,9 @@ + + # Written by Richard W.M. Jones. + +-AC_DEFUN([gl_HEADER_SYS_FILE_H], ++AC_DEFUN_ONCE([gl_SYS_FILE_H], + [ +- AC_REQUIRE([gl_HEADER_SYS_FILE_H_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_FILE_H_DEFAULTS]) + + dnl is always overridden, because of GNULIB_POSIXCHECK. + gl_CHECK_NEXT_HEADERS([sys/file.h]) +@@ -28,14 +28,29 @@ AC_DEFUN([gl_HEADER_SYS_FILE_H], + ]], [flock]) + ]) + +-AC_DEFUN([gl_HEADER_SYS_FILE_MODULE_INDICATOR], ++# gl_SYS_FILE_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. ++AC_DEFUN([gl_SYS_FILE_MODULE_INDICATOR], + [ +- AC_REQUIRE([gl_HEADER_SYS_FILE_H_DEFAULTS]) ++ gl_SYS_FILE_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + ]) + +-AC_DEFUN([gl_HEADER_SYS_FILE_H_DEFAULTS], ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_FILE_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_FILE_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FLOCK]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_FILE_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_FILE_H_DEFAULTS]) ++]) ++ ++AC_DEFUN([gl_SYS_FILE_H_DEFAULTS], + [ +- GNULIB_FLOCK=0; AC_SUBST([GNULIB_FLOCK]) + HAVE_FLOCK=1; AC_SUBST([HAVE_FLOCK]) + ]) +diff --git a/m4/sys_random_h.m4 b/m4/sys_random_h.m4 +index 45e0469..37bc316 100644 +--- a/m4/sys_random_h.m4 ++++ b/m4/sys_random_h.m4 +@@ -1,10 +1,10 @@ +-# sys_random_h.m4 serial 5 ++# sys_random_h.m4 serial 8 + dnl Copyright (C) 2020-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_HEADER_SYS_RANDOM], ++AC_DEFUN_ONCE([gl_SYS_RANDOM_H], + [ + AC_REQUIRE([gl_SYS_RANDOM_H_DEFAULTS]) + dnl is always overridden, because of GNULIB_POSIXCHECK. +@@ -35,18 +35,33 @@ AC_DEFUN([gl_HEADER_SYS_RANDOM], + [getrandom]) + ]) + ++# gl_SYS_RANDOM_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_SYS_RANDOM_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_SYS_RANDOM_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_SYS_RANDOM_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_RANDOM_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_RANDOM_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETRANDOM]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_RANDOM_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_RANDOM_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_SYS_RANDOM_H_DEFAULTS], + [ +- GNULIB_GETRANDOM=0; AC_SUBST([GNULIB_GETRANDOM]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_GETRANDOM=1; AC_SUBST([HAVE_GETRANDOM]) + REPLACE_GETRANDOM=0; AC_SUBST([REPLACE_GETRANDOM]) +diff --git a/m4/sys_select_h.m4 b/m4/sys_select_h.m4 +index 4b33d31..2e7d140 100644 +--- a/m4/sys_select_h.m4 ++++ b/m4/sys_select_h.m4 +@@ -1,13 +1,13 @@ +-# sys_select_h.m4 serial 20 ++# sys_select_h.m4 serial 23 + dnl Copyright (C) 2006-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_HEADER_SYS_SELECT], ++AC_DEFUN_ONCE([gl_SYS_SELECT_H], + [ +- AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) ++ AC_REQUIRE([AC_C_RESTRICT]) + AC_CACHE_CHECK([whether is self-contained], + [gl_cv_header_sys_select_h_selfcontained], + [ +@@ -75,19 +75,34 @@ AC_DEFUN([gl_HEADER_SYS_SELECT], + ]], [pselect select]) + ]) + ++# gl_SYS_SELECT_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_SYS_SELECT_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_SYS_SELECT_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_SELECT_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_SELECT_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PSELECT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SELECT]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_SELECT_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_SELECT_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_SYS_SELECT_H_DEFAULTS], + [ +- GNULIB_PSELECT=0; AC_SUBST([GNULIB_PSELECT]) +- GNULIB_SELECT=0; AC_SUBST([GNULIB_SELECT]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_PSELECT=1; AC_SUBST([HAVE_PSELECT]) + REPLACE_PSELECT=0; AC_SUBST([REPLACE_PSELECT]) +diff --git a/m4/sys_socket_h.m4 b/m4/sys_socket_h.m4 +index 503cb96..5676a0d 100644 +--- a/m4/sys_socket_h.m4 ++++ b/m4/sys_socket_h.m4 +@@ -1,4 +1,4 @@ +-# sys_socket_h.m4 serial 25 ++# sys_socket_h.m4 serial 28 + dnl Copyright (C) 2005-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,7 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl From Simon Josefsson. + +-AC_DEFUN([gl_HEADER_SYS_SOCKET], ++AC_DEFUN_ONCE([gl_SYS_SOCKET_H], + [ + AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) + AC_REQUIRE([AC_CANONICAL_HOST]) +@@ -156,32 +156,47 @@ AC_DEFUN([gl_PREREQ_SYS_H_WS2TCPIP], + AC_SUBST([HAVE_WS2TCPIP_H]) + ]) + ++# gl_SYS_SOCKET_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_SYS_SOCKET_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_SYS_SOCKET_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_SOCKET_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_SOCKET_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SOCKET]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CONNECT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACCEPT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_BIND]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPEERNAME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETSOCKNAME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETSOCKOPT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LISTEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RECV]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SEND]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RECVFROM]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SENDTO]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETSOCKOPT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SHUTDOWN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACCEPT4]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_SOCKET_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_SOCKET_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_SYS_SOCKET_H_DEFAULTS], + [ +- GNULIB_SOCKET=0; AC_SUBST([GNULIB_SOCKET]) +- GNULIB_CONNECT=0; AC_SUBST([GNULIB_CONNECT]) +- GNULIB_ACCEPT=0; AC_SUBST([GNULIB_ACCEPT]) +- GNULIB_BIND=0; AC_SUBST([GNULIB_BIND]) +- GNULIB_GETPEERNAME=0; AC_SUBST([GNULIB_GETPEERNAME]) +- GNULIB_GETSOCKNAME=0; AC_SUBST([GNULIB_GETSOCKNAME]) +- GNULIB_GETSOCKOPT=0; AC_SUBST([GNULIB_GETSOCKOPT]) +- GNULIB_LISTEN=0; AC_SUBST([GNULIB_LISTEN]) +- GNULIB_RECV=0; AC_SUBST([GNULIB_RECV]) +- GNULIB_SEND=0; AC_SUBST([GNULIB_SEND]) +- GNULIB_RECVFROM=0; AC_SUBST([GNULIB_RECVFROM]) +- GNULIB_SENDTO=0; AC_SUBST([GNULIB_SENDTO]) +- GNULIB_SETSOCKOPT=0; AC_SUBST([GNULIB_SETSOCKOPT]) +- GNULIB_SHUTDOWN=0; AC_SUBST([GNULIB_SHUTDOWN]) +- GNULIB_ACCEPT4=0; AC_SUBST([GNULIB_ACCEPT4]) + HAVE_STRUCT_SOCKADDR_STORAGE=1; AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE]) + HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1; + AC_SUBST([HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY]) +diff --git a/m4/sys_stat_h.m4 b/m4/sys_stat_h.m4 +index 23cbdd2..ac91d42 100644 +--- a/m4/sys_stat_h.m4 ++++ b/m4/sys_stat_h.m4 +@@ -1,4 +1,4 @@ +-# sys_stat_h.m4 serial 38 -*- Autoconf -*- ++# sys_stat_h.m4 serial 41 -*- Autoconf -*- + dnl Copyright (C) 2006-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -7,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved. + dnl From Eric Blake. + dnl Provide a GNU-like . + +-AC_DEFUN([gl_HEADER_SYS_STAT_H], ++AC_DEFUN_ONCE([gl_SYS_STAT_H], + [ + AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) + +@@ -52,38 +52,53 @@ AC_DEFUN([gl_HEADER_SYS_STAT_H], + AC_REQUIRE([AC_C_RESTRICT]) + ]) + ++# gl_SYS_STAT_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_SYS_STAT_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_SYS_STAT_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_STAT_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_STAT_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_UNISTD_H_REQUIRE_DEFAULTS dnl for REPLACE_FCHDIR ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCHMODAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSTAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSTATAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FUTIMENS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETUMASK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LCHMOD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LSTAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKDIRAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKFIFO]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKFIFOAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKNOD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKNODAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UTIMENSAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_OVERRIDES_STRUCT_STAT]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CHMOD], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_MKDIR], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_UMASK], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_STAT_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_STAT_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_SYS_STAT_H_DEFAULTS], + [ +- AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) dnl for REPLACE_FCHDIR +- GNULIB_FCHMODAT=0; AC_SUBST([GNULIB_FCHMODAT]) +- GNULIB_FSTAT=0; AC_SUBST([GNULIB_FSTAT]) +- GNULIB_FSTATAT=0; AC_SUBST([GNULIB_FSTATAT]) +- GNULIB_FUTIMENS=0; AC_SUBST([GNULIB_FUTIMENS]) +- GNULIB_GETUMASK=0; AC_SUBST([GNULIB_GETUMASK]) +- GNULIB_LCHMOD=0; AC_SUBST([GNULIB_LCHMOD]) +- GNULIB_LSTAT=0; AC_SUBST([GNULIB_LSTAT]) +- GNULIB_MKDIR=0; AC_SUBST([GNULIB_MKDIR]) +- GNULIB_MKDIRAT=0; AC_SUBST([GNULIB_MKDIRAT]) +- GNULIB_MKFIFO=0; AC_SUBST([GNULIB_MKFIFO]) +- GNULIB_MKFIFOAT=0; AC_SUBST([GNULIB_MKFIFOAT]) +- GNULIB_MKNOD=0; AC_SUBST([GNULIB_MKNOD]) +- GNULIB_MKNODAT=0; AC_SUBST([GNULIB_MKNODAT]) +- GNULIB_STAT=0; AC_SUBST([GNULIB_STAT]) +- GNULIB_UTIMENSAT=0; AC_SUBST([GNULIB_UTIMENSAT]) +- GNULIB_OVERRIDES_STRUCT_STAT=0; AC_SUBST([GNULIB_OVERRIDES_STRUCT_STAT]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_CHMOD=1; AC_SUBST([GNULIB_MDA_CHMOD]) +- GNULIB_MDA_MKDIR=1; AC_SUBST([GNULIB_MDA_MKDIR]) +- GNULIB_MDA_UMASK=1; AC_SUBST([GNULIB_MDA_UMASK]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_FCHMODAT=1; AC_SUBST([HAVE_FCHMODAT]) + HAVE_FSTATAT=1; AC_SUBST([HAVE_FSTATAT]) +diff --git a/m4/sys_time_h.m4 b/m4/sys_time_h.m4 +index 64f133d..c425a96 100644 +--- a/m4/sys_time_h.m4 ++++ b/m4/sys_time_h.m4 +@@ -1,5 +1,5 @@ + # Configure a replacement for . +-# serial 9 ++# serial 12 + + # Copyright (C) 2007, 2009-2021 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation +@@ -8,18 +8,13 @@ + + # Written by Paul Eggert and Martin Lambers. + +-AC_DEFUN([gl_HEADER_SYS_TIME_H], ++AC_DEFUN_ONCE([gl_SYS_TIME_H], + [ + dnl Use AC_REQUIRE here, so that the REPLACE_GETTIMEOFDAY=0 statement + dnl below is expanded once only, before all REPLACE_GETTIMEOFDAY=1 + dnl statements that occur in other macros. +- AC_REQUIRE([gl_HEADER_SYS_TIME_H_BODY]) +-]) +- +-AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY], +-[ ++ AC_REQUIRE([gl_SYS_TIME_H_DEFAULTS]) + AC_REQUIRE([AC_C_RESTRICT]) +- AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) + AC_CHECK_HEADERS_ONCE([sys/time.h]) + gl_CHECK_NEXT_HEADERS([sys/time.h]) + +@@ -89,18 +84,33 @@ AC_DEFUN([gl_HEADER_SYS_TIME_H_BODY], + ]], [gettimeofday]) + ]) + ++# gl_SYS_TIME_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_SYS_TIME_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_HEADER_SYS_TIME_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_SYS_TIME_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + +-AC_DEFUN([gl_HEADER_SYS_TIME_H_DEFAULTS], ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_TIME_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_TIME_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETTIMEOFDAY]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_TIME_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_TIME_H_DEFAULTS]) ++]) ++ ++AC_DEFUN([gl_SYS_TIME_H_DEFAULTS], + [ +- GNULIB_GETTIMEOFDAY=0; AC_SUBST([GNULIB_GETTIMEOFDAY]) + dnl Assume POSIX behavior unless another module says otherwise. + HAVE_GETTIMEOFDAY=1; AC_SUBST([HAVE_GETTIMEOFDAY]) + HAVE_STRUCT_TIMEVAL=1; AC_SUBST([HAVE_STRUCT_TIMEVAL]) +diff --git a/m4/sys_times_h.m4 b/m4/sys_times_h.m4 +index b9daaa7..577ead6 100644 +--- a/m4/sys_times_h.m4 ++++ b/m4/sys_times_h.m4 +@@ -1,5 +1,5 @@ + # Configure a replacement for . +-# serial 8 ++# serial 11 + + # Copyright (C) 2008-2021 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation +@@ -8,7 +8,7 @@ + + # Written by Simon Josefsson. + +-AC_DEFUN([gl_SYS_TIMES_H], ++AC_DEFUN_ONCE([gl_SYS_TIMES_H], + [ + AC_REQUIRE([gl_SYS_TIMES_H_DEFAULTS]) + +@@ -36,16 +36,31 @@ AC_DEFUN([gl_SYS_TIMES_H], + ]], [times]) + ]) + ++# gl_SYS_TIMES_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_SYS_TIMES_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_SYS_TIMES_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_SYS_TIMES_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_TIMES_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_TIMES_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIMES]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_TIMES_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_TIMES_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_SYS_TIMES_H_DEFAULTS], + [ +- GNULIB_TIMES=0; AC_SUBST([GNULIB_TIMES]) + HAVE_STRUCT_TMS=1; AC_SUBST([HAVE_STRUCT_TMS]) + HAVE_TIMES=1; AC_SUBST([HAVE_TIMES]) + ]) +diff --git a/m4/sys_types_h.m4 b/m4/sys_types_h.m4 +index 2172c83..6dd6fee 100644 +--- a/m4/sys_types_h.m4 ++++ b/m4/sys_types_h.m4 +@@ -1,4 +1,4 @@ +-# sys_types_h.m4 serial 11 ++# sys_types_h.m4 serial 13 + dnl Copyright (C) 2011-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,10 +6,11 @@ dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN_ONCE([gl_SYS_TYPES_H], + [ ++ AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) ++ + dnl Use sane struct stat types in OpenVMS 8.2 and later. + AC_DEFINE([_USE_STD_STAT], 1, [For standard stat data types on VMS.]) + +- AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) + gl_NEXT_HEADERS([sys/types.h]) + + dnl Ensure the type pid_t gets defined. +@@ -30,6 +31,17 @@ AC_DEFUN_ONCE([gl_SYS_TYPES_H], + AC_SUBST([WINDOWS_STAT_INODES]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_TYPES_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_TYPE_H_MODULE_INDICATOR_DEFAULTS], [ ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_TYPE_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_SYS_TYPES_H_DEFAULTS], + [ + ]) +diff --git a/m4/sys_uio_h.m4 b/m4/sys_uio_h.m4 +index 503de4d..fa176e0 100644 +--- a/m4/sys_uio_h.m4 ++++ b/m4/sys_uio_h.m4 +@@ -1,10 +1,10 @@ +-# sys_uio_h.m4 serial 1 ++# sys_uio_h.m4 serial 3 + dnl Copyright (C) 2011-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, + dnl with or without modifications, as long as this notice is preserved. + +-AC_DEFUN([gl_HEADER_SYS_UIO], ++AC_DEFUN_ONCE([gl_SYS_UIO_H], + [ + AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) + dnl is always overridden, because of GNULIB_POSIXCHECK. +@@ -17,15 +17,30 @@ AC_DEFUN([gl_HEADER_SYS_UIO], + AC_SUBST([HAVE_SYS_UIO_H]) + ]) + ++# gl_SYS_UIO_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_SYS_UIO_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_SYS_UIO_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_SYS_UIO_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_SYS_UIO_H_MODULE_INDICATOR_DEFAULTS], [ ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_SYS_UIO_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_SYS_UIO_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_SYS_UIO_H_DEFAULTS], + [ + ]) +diff --git a/m4/threadlib.m4 b/m4/threadlib.m4 +index 8fc3dfd..37b797c 100644 +--- a/m4/threadlib.m4 ++++ b/m4/threadlib.m4 +@@ -1,4 +1,4 @@ +-# threadlib.m4 serial 30 ++# threadlib.m4 serial 31 + dnl Copyright (C) 2005-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -212,6 +212,27 @@ AC_DEFUN([gl_PTHREADLIB_BODY], + LIBS=$save_LIBS + test $gl_pthread_api = yes && break + done ++ echo "$as_me:__oline__: gl_pthread_api=$gl_pthread_api" >&AS_MESSAGE_LOG_FD ++ echo "$as_me:__oline__: LIBPTHREAD=$LIBPTHREAD" >&AS_MESSAGE_LOG_FD ++ ++ gl_pthread_in_glibc=no ++ # On Linux with glibc >= 2.34, libc contains the fully functional ++ # pthread functions. ++ case "$host_os" in ++ linux*) ++ AC_EGREP_CPP([Lucky user], ++ [#include ++ #ifdef __GNU_LIBRARY__ ++ #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 34) || (__GLIBC__ > 2) ++ Lucky user ++ #endif ++ #endif ++ ], ++ [gl_pthread_in_glibc=yes], ++ []) ++ ;; ++ esac ++ echo "$as_me:__oline__: gl_pthread_in_glibc=$gl_pthread_in_glibc" >&AS_MESSAGE_LOG_FD + + # Test for libpthread by looking for pthread_kill. (Not pthread_self, + # since it is defined as a macro on OSF/1.) +@@ -219,18 +240,22 @@ AC_DEFUN([gl_PTHREADLIB_BODY], + # The program links fine without libpthread. But it may actually + # need to link with libpthread in order to create multiple threads. + AC_CHECK_LIB([pthread], [pthread_kill], +- [LIBPMULTITHREAD=-lpthread +- # On Solaris and HP-UX, most pthread functions exist also in libc. +- # Therefore pthread_in_use() needs to actually try to create a +- # thread: pthread_create from libc will fail, whereas +- # pthread_create will actually create a thread. +- # On Solaris 10 or newer, this test is no longer needed, because +- # libc contains the fully functional pthread functions. +- case "$host_os" in +- solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) +- AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], +- [Define if the pthread_in_use() detection is hard.]) +- esac ++ [if test $gl_pthread_in_glibc = yes; then ++ LIBPMULTITHREAD= ++ else ++ LIBPMULTITHREAD=-lpthread ++ # On Solaris and HP-UX, most pthread functions exist also in libc. ++ # Therefore pthread_in_use() needs to actually try to create a ++ # thread: pthread_create from libc will fail, whereas ++ # pthread_create will actually create a thread. ++ # On Solaris 10 or newer, this test is no longer needed, because ++ # libc contains the fully functional pthread functions. ++ case "$host_os" in ++ solaris | solaris2.[1-9] | solaris2.[1-9].* | hpux*) ++ AC_DEFINE([PTHREAD_IN_USE_DETECTION_HARD], [1], ++ [Define if the pthread_in_use() detection is hard.]) ++ esac ++ fi + ]) + elif test $gl_pthread_api != yes; then + # Some library is needed. Try libpthread and libc_r. +@@ -246,6 +271,7 @@ AC_DEFUN([gl_PTHREADLIB_BODY], + LIBPMULTITHREAD=-lc_r]) + fi + fi ++ echo "$as_me:__oline__: LIBPMULTITHREAD=$LIBPMULTITHREAD" >&AS_MESSAGE_LOG_FD + fi + AC_MSG_CHECKING([whether POSIX threads API is available]) + AC_MSG_RESULT([$gl_pthread_api]) +@@ -311,7 +337,8 @@ AC_DEFUN([gl_STDTHREADLIB_BODY], + dnl glibc >= 2.29 has thrd_create in libpthread. + dnl FreeBSD >= 10 has thrd_create in libstdthreads; this library depends + dnl on libpthread (for the symbol 'pthread_mutexattr_gettype'). +- dnl AIX >= 7.1 and Solaris >= 11.4 have thrd_create in libc. ++ dnl glibc >= 2.34, AIX >= 7.1, and Solaris >= 11.4 have thrd_create in ++ dnl libc. + AC_CHECK_FUNCS([thrd_create]) + if test $ac_cv_func_thrd_create = yes; then + LIBSTDTHREAD= +@@ -481,7 +508,10 @@ AC_DEFUN([gl_THREADLIB_BODY], + gl_threads_api=posix + AC_DEFINE([USE_POSIX_THREADS], [1], + [Define if the POSIX multithreading library can be used.]) +- if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then ++ if test -z "$LIBMULTITHREAD" && test -z "$LTLIBMULTITHREAD"; then ++ AC_DEFINE([USE_POSIX_THREADS_FROM_LIBC], [1], ++ [Define if references to the POSIX multithreading library are satisfied by libc.]) ++ else + if case "$gl_cv_have_weak" in *yes) true;; *) false;; esac; then + AC_DEFINE([USE_POSIX_THREADS_WEAK], [1], + [Define if references to the POSIX multithreading library should be made weak.]) +@@ -576,7 +606,9 @@ dnl flavours option weak result + dnl --------------- --------- --------- -------- --------- + dnl Linux 2.4/glibc posix -lpthread Y OK + dnl +-dnl GNU Hurd/glibc posix ++dnl Linux/glibc 2.34 posix Y OK ++dnl ++dnl GNU Hurd/glibc posix -lpthread Y OK + dnl + dnl Ubuntu 14.04 posix -pthread Y OK + dnl +diff --git a/m4/time_h.m4 b/m4/time_h.m4 +index b6a1aa3..b57474b 100644 +--- a/m4/time_h.m4 ++++ b/m4/time_h.m4 +@@ -2,7 +2,7 @@ + + # Copyright (C) 2000-2001, 2003-2007, 2009-2021 Free Software Foundation, Inc. + +-# serial 15 ++# serial 18 + + # This file is free software; the Free Software Foundation + # gives unlimited permission to copy and/or distribute it, +@@ -10,16 +10,11 @@ + + # Written by Paul Eggert and Jim Meyering. + +-AC_DEFUN([gl_HEADER_TIME_H], ++AC_DEFUN_ONCE([gl_TIME_H], + [ +- dnl Use AC_REQUIRE here, so that the default behavior below is expanded +- dnl once only, before all statements that occur in other macros. +- AC_REQUIRE([gl_HEADER_TIME_H_BODY]) +-]) +- +-AC_DEFUN([gl_HEADER_TIME_H_BODY], +-[ +- AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only, before all statements ++ dnl that occur in other macros. ++ AC_REQUIRE([gl_TIME_H_DEFAULTS]) + + gl_NEXT_HEADERS([time.h]) + AC_REQUIRE([gl_CHECK_TYPE_STRUCT_TIMESPEC]) +@@ -111,30 +106,45 @@ AC_DEFUN([gl_CHECK_TYPE_STRUCT_TIMESPEC], + AC_SUBST([UNISTD_H_DEFINES_STRUCT_TIMESPEC]) + ]) + ++# gl_TIME_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_TIME_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_TIME_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + +-AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_TIME_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_TIME_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CTIME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MKTIME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LOCALTIME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_NANOSLEEP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRFTIME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_STRPTIME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIMEGM]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIMESPEC_GET]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIME_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TIME_RZ]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TZSET]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_TZSET], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_TIME_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_TIME_H_DEFAULTS]) ++]) ++ ++AC_DEFUN([gl_TIME_H_DEFAULTS], + [ +- GNULIB_CTIME=0; AC_SUBST([GNULIB_CTIME]) +- GNULIB_MKTIME=0; AC_SUBST([GNULIB_MKTIME]) +- GNULIB_LOCALTIME=0; AC_SUBST([GNULIB_LOCALTIME]) +- GNULIB_NANOSLEEP=0; AC_SUBST([GNULIB_NANOSLEEP]) +- GNULIB_STRFTIME=0; AC_SUBST([GNULIB_STRFTIME]) +- GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME]) +- GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) +- GNULIB_TIMESPEC_GET=0; AC_SUBST([GNULIB_TIMESPEC_GET]) +- GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) +- GNULIB_TIME_RZ=0; AC_SUBST([GNULIB_TIME_RZ]) +- GNULIB_TZSET=0; AC_SUBST([GNULIB_TZSET]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_TZSET=1; AC_SUBST([GNULIB_MDA_TZSET]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_DECL_LOCALTIME_R=1; AC_SUBST([HAVE_DECL_LOCALTIME_R]) + HAVE_NANOSLEEP=1; AC_SUBST([HAVE_NANOSLEEP]) +diff --git a/m4/time_r.m4 b/m4/time_r.m4 +index 713e93a..2d49b64 100644 +--- a/m4/time_r.m4 ++++ b/m4/time_r.m4 +@@ -12,7 +12,7 @@ AC_DEFUN([gl_TIME_R], + dnl Persuade glibc and Solaris to declare localtime_r. + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) + +- AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ AC_REQUIRE([gl_TIME_H_DEFAULTS]) + AC_REQUIRE([AC_C_RESTRICT]) + + dnl Some systems don't declare localtime_r() and gmtime_r() if _REENTRANT is +diff --git a/m4/time_rz.m4 b/m4/time_rz.m4 +index 34ef0ba..c5e85dc 100644 +--- a/m4/time_rz.m4 ++++ b/m4/time_rz.m4 +@@ -10,7 +10,7 @@ dnl Written by Paul Eggert. + AC_DEFUN([gl_TIME_RZ], + [ + AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS]) +- AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ AC_REQUIRE([gl_TIME_H_DEFAULTS]) + AC_REQUIRE([AC_STRUCT_TIMEZONE]) + + # On Mac OS X 10.6, localtime loops forever with some time_t values. +diff --git a/m4/timegm.m4 b/m4/timegm.m4 +index 098c857..58123be 100644 +--- a/m4/timegm.m4 ++++ b/m4/timegm.m4 +@@ -1,4 +1,4 @@ +-# timegm.m4 serial 12 ++# timegm.m4 serial 13 + dnl Copyright (C) 2003, 2007, 2009-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,7 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. + + AC_DEFUN([gl_FUNC_TIMEGM], + [ +- AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ AC_REQUIRE([gl_TIME_H_DEFAULTS]) + AC_REQUIRE([gl_FUNC_MKTIME_WORKS]) + REPLACE_TIMEGM=0 + AC_CHECK_FUNCS_ONCE([timegm]) +diff --git a/m4/tzset.m4 b/m4/tzset.m4 +index 8eaf41f..8a4f285 100644 +--- a/m4/tzset.m4 ++++ b/m4/tzset.m4 +@@ -1,4 +1,4 @@ +-# serial 15 ++# serial 16 + + # Copyright (C) 2003, 2007, 2009-2021 Free Software Foundation, Inc. + # This file is free software; the Free Software Foundation +@@ -9,7 +9,7 @@ + + AC_DEFUN([gl_FUNC_TZSET], + [ +- AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS]) ++ AC_REQUIRE([gl_TIME_H_DEFAULTS]) + AC_REQUIRE([AC_CANONICAL_HOST]) + REPLACE_TZSET=0 + case "$host_os" in +diff --git a/m4/unistd_h.m4 b/m4/unistd_h.m4 +index 0f26fb9..0ce4ea4 100644 +--- a/m4/unistd_h.m4 ++++ b/m4/unistd_h.m4 +@@ -1,4 +1,4 @@ +-# unistd_h.m4 serial 85 ++# unistd_h.m4 serial 89 + dnl Copyright (C) 2006-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -6,10 +6,10 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl Written by Simon Josefsson, Bruno Haible. + +-AC_DEFUN([gl_UNISTD_H], ++AC_DEFUN_ONCE([gl_UNISTD_H], + [ +- dnl Use AC_REQUIRE here, so that the default behavior below is expanded +- dnl once only, before all statements that occur in other macros. ++ dnl Ensure to expand the default settings once only, before all statements ++ dnl that occur in other macros. + AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) + + gl_CHECK_NEXT_HEADERS([unistd.h]) +@@ -59,100 +59,116 @@ AC_DEFUN([gl_UNISTD_H], + fi + ]) + ++# gl_UNISTD_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_UNISTD_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_UNISTD_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_UNISTD_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_UNISTD_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ACCESS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CHDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CHOWN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_CLOSE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_COPY_FILE_RANGE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DUP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DUP2]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_DUP3]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ENVIRON]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EUIDACCESS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECLE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECLP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECV]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECVE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECVP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_EXECVPE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FACCESSAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCHDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FCHOWNAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FDATASYNC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FSYNC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_FTRUNCATE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETCWD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETDOMAINNAME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETDTABLESIZE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETENTROPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETGROUPS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETHOSTNAME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLOGIN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETLOGIN_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETOPT_POSIX]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPAGESIZE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETPASS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GETUSERSHELL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_GROUP_MEMBER]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISATTY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LCHOWN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LINK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LINKAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_LSEEK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PIPE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PIPE2]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PREAD]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_PWRITE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_READ]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_READLINK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_READLINKAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_RMDIR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SETHOSTNAME]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SLEEP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SYMLINK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_SYMLINKAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TRUNCATE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TTYNAME_R]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_GETOPT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_NONBLOCKING]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNISTD_H_SIGPIPE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNLINK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_UNLINKAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_USLEEP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WRITE]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_ACCESS], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CHDIR], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_CLOSE], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_DUP], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_DUP2], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECL], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECLE], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECLP], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECV], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECVE], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECVP], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_EXECVPE], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_GETCWD], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_GETPID], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_ISATTY], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_LSEEK], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_READ], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_RMDIR], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_SWAB], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_UNLINK], [1]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_WRITE], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_UNISTD_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_UNISTD_H_DEFAULTS], + [ +- GNULIB_ACCESS=0; AC_SUBST([GNULIB_ACCESS]) +- GNULIB_CHDIR=0; AC_SUBST([GNULIB_CHDIR]) +- GNULIB_CHOWN=0; AC_SUBST([GNULIB_CHOWN]) +- GNULIB_CLOSE=0; AC_SUBST([GNULIB_CLOSE]) +- GNULIB_COPY_FILE_RANGE=0; AC_SUBST([GNULIB_COPY_FILE_RANGE]) +- GNULIB_DUP=0; AC_SUBST([GNULIB_DUP]) +- GNULIB_DUP2=0; AC_SUBST([GNULIB_DUP2]) +- GNULIB_DUP3=0; AC_SUBST([GNULIB_DUP3]) +- GNULIB_ENVIRON=0; AC_SUBST([GNULIB_ENVIRON]) +- GNULIB_EUIDACCESS=0; AC_SUBST([GNULIB_EUIDACCESS]) +- GNULIB_EXECL=0; AC_SUBST([GNULIB_EXECL]) +- GNULIB_EXECLE=0; AC_SUBST([GNULIB_EXECLE]) +- GNULIB_EXECLP=0; AC_SUBST([GNULIB_EXECLP]) +- GNULIB_EXECV=0; AC_SUBST([GNULIB_EXECV]) +- GNULIB_EXECVE=0; AC_SUBST([GNULIB_EXECVE]) +- GNULIB_EXECVP=0; AC_SUBST([GNULIB_EXECVP]) +- GNULIB_EXECVPE=0; AC_SUBST([GNULIB_EXECVPE]) +- GNULIB_FACCESSAT=0; AC_SUBST([GNULIB_FACCESSAT]) +- GNULIB_FCHDIR=0; AC_SUBST([GNULIB_FCHDIR]) +- GNULIB_FCHOWNAT=0; AC_SUBST([GNULIB_FCHOWNAT]) +- GNULIB_FDATASYNC=0; AC_SUBST([GNULIB_FDATASYNC]) +- GNULIB_FSYNC=0; AC_SUBST([GNULIB_FSYNC]) +- GNULIB_FTRUNCATE=0; AC_SUBST([GNULIB_FTRUNCATE]) +- GNULIB_GETCWD=0; AC_SUBST([GNULIB_GETCWD]) +- GNULIB_GETDOMAINNAME=0; AC_SUBST([GNULIB_GETDOMAINNAME]) +- GNULIB_GETDTABLESIZE=0; AC_SUBST([GNULIB_GETDTABLESIZE]) +- GNULIB_GETENTROPY=0; AC_SUBST([GNULIB_GETENTROPY]) +- GNULIB_GETGROUPS=0; AC_SUBST([GNULIB_GETGROUPS]) +- GNULIB_GETHOSTNAME=0; AC_SUBST([GNULIB_GETHOSTNAME]) +- GNULIB_GETLOGIN=0; AC_SUBST([GNULIB_GETLOGIN]) +- GNULIB_GETLOGIN_R=0; AC_SUBST([GNULIB_GETLOGIN_R]) +- GNULIB_GETOPT_POSIX=0; AC_SUBST([GNULIB_GETOPT_POSIX]) +- GNULIB_GETPAGESIZE=0; AC_SUBST([GNULIB_GETPAGESIZE]) +- GNULIB_GETPASS=0; AC_SUBST([GNULIB_GETPASS]) +- GNULIB_GETUSERSHELL=0; AC_SUBST([GNULIB_GETUSERSHELL]) +- GNULIB_GROUP_MEMBER=0; AC_SUBST([GNULIB_GROUP_MEMBER]) +- GNULIB_ISATTY=0; AC_SUBST([GNULIB_ISATTY]) +- GNULIB_LCHOWN=0; AC_SUBST([GNULIB_LCHOWN]) +- GNULIB_LINK=0; AC_SUBST([GNULIB_LINK]) +- GNULIB_LINKAT=0; AC_SUBST([GNULIB_LINKAT]) +- GNULIB_LSEEK=0; AC_SUBST([GNULIB_LSEEK]) +- GNULIB_PIPE=0; AC_SUBST([GNULIB_PIPE]) +- GNULIB_PIPE2=0; AC_SUBST([GNULIB_PIPE2]) +- GNULIB_PREAD=0; AC_SUBST([GNULIB_PREAD]) +- GNULIB_PWRITE=0; AC_SUBST([GNULIB_PWRITE]) +- GNULIB_READ=0; AC_SUBST([GNULIB_READ]) +- GNULIB_READLINK=0; AC_SUBST([GNULIB_READLINK]) +- GNULIB_READLINKAT=0; AC_SUBST([GNULIB_READLINKAT]) +- GNULIB_RMDIR=0; AC_SUBST([GNULIB_RMDIR]) +- GNULIB_SETHOSTNAME=0; AC_SUBST([GNULIB_SETHOSTNAME]) +- GNULIB_SLEEP=0; AC_SUBST([GNULIB_SLEEP]) +- GNULIB_SYMLINK=0; AC_SUBST([GNULIB_SYMLINK]) +- GNULIB_SYMLINKAT=0; AC_SUBST([GNULIB_SYMLINKAT]) +- GNULIB_TRUNCATE=0; AC_SUBST([GNULIB_TRUNCATE]) +- GNULIB_TTYNAME_R=0; AC_SUBST([GNULIB_TTYNAME_R]) +- GNULIB_UNISTD_H_NONBLOCKING=0; AC_SUBST([GNULIB_UNISTD_H_NONBLOCKING]) +- GNULIB_UNISTD_H_SIGPIPE=0; AC_SUBST([GNULIB_UNISTD_H_SIGPIPE]) +- GNULIB_UNLINK=0; AC_SUBST([GNULIB_UNLINK]) +- GNULIB_UNLINKAT=0; AC_SUBST([GNULIB_UNLINKAT]) +- GNULIB_USLEEP=0; AC_SUBST([GNULIB_USLEEP]) +- GNULIB_WRITE=0; AC_SUBST([GNULIB_WRITE]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_ACCESS=1; AC_SUBST([GNULIB_MDA_ACCESS]) +- GNULIB_MDA_CHDIR=1; AC_SUBST([GNULIB_MDA_CHDIR]) +- GNULIB_MDA_CLOSE=1; AC_SUBST([GNULIB_MDA_CLOSE]) +- GNULIB_MDA_DUP=1; AC_SUBST([GNULIB_MDA_DUP]) +- GNULIB_MDA_DUP2=1; AC_SUBST([GNULIB_MDA_DUP2]) +- GNULIB_MDA_EXECL=1; AC_SUBST([GNULIB_MDA_EXECL]) +- GNULIB_MDA_EXECLE=1; AC_SUBST([GNULIB_MDA_EXECLE]) +- GNULIB_MDA_EXECLP=1; AC_SUBST([GNULIB_MDA_EXECLP]) +- GNULIB_MDA_EXECV=1; AC_SUBST([GNULIB_MDA_EXECV]) +- GNULIB_MDA_EXECVE=1; AC_SUBST([GNULIB_MDA_EXECVE]) +- GNULIB_MDA_EXECVP=1; AC_SUBST([GNULIB_MDA_EXECVP]) +- GNULIB_MDA_EXECVPE=1; AC_SUBST([GNULIB_MDA_EXECVPE]) +- GNULIB_MDA_GETCWD=1; AC_SUBST([GNULIB_MDA_GETCWD]) +- GNULIB_MDA_GETPID=1; AC_SUBST([GNULIB_MDA_GETPID]) +- GNULIB_MDA_ISATTY=1; AC_SUBST([GNULIB_MDA_ISATTY]) +- GNULIB_MDA_LSEEK=1; AC_SUBST([GNULIB_MDA_LSEEK]) +- GNULIB_MDA_READ=1; AC_SUBST([GNULIB_MDA_READ]) +- GNULIB_MDA_RMDIR=1; AC_SUBST([GNULIB_MDA_RMDIR]) +- GNULIB_MDA_SWAB=1; AC_SUBST([GNULIB_MDA_SWAB]) +- GNULIB_MDA_UNLINK=1; AC_SUBST([GNULIB_MDA_UNLINK]) +- GNULIB_MDA_WRITE=1; AC_SUBST([GNULIB_MDA_WRITE]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_CHOWN=1; AC_SUBST([HAVE_CHOWN]) + HAVE_COPY_FILE_RANGE=1; AC_SUBST([HAVE_COPY_FILE_RANGE]) +diff --git a/m4/visibility.m4 b/m4/visibility.m4 +index 8f27a12..d161bd7 100644 +--- a/m4/visibility.m4 ++++ b/m4/visibility.m4 +@@ -1,4 +1,4 @@ +-# visibility.m4 serial 7 ++# visibility.m4 serial 8 + dnl Copyright (C) 2005, 2008, 2010-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -59,6 +59,10 @@ AC_DEFUN([gl_VISIBILITY], + extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); + extern __attribute__((__visibility__("default"))) int exportedfunc (void); + void dummyfunc (void); ++ int hiddenvar; ++ int exportedvar; ++ int hiddenfunc (void) { return 51; } ++ int exportedfunc (void) { return 1225736919; } + void dummyfunc (void) {} + ]], + [[]])], +diff --git a/m4/wchar_h.m4 b/m4/wchar_h.m4 +index 59c55fc..818b319 100644 +--- a/m4/wchar_h.m4 ++++ b/m4/wchar_h.m4 +@@ -7,9 +7,9 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl Written by Eric Blake. + +-# wchar_h.m4 serial 50 ++# wchar_h.m4 serial 53 + +-AC_DEFUN([gl_WCHAR_H], ++AC_DEFUN_ONCE([gl_WCHAR_H], + [ + AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) + AC_REQUIRE([gl_WCHAR_H_INLINE_OK]) +@@ -125,60 +125,75 @@ Configuration aborted.]) + fi + ]) + ++# gl_WCHAR_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_WCHAR_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_WCHAR_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_WCHAR_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_WCHAR_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_BTOWC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCTOB]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSINIT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBRTOWC]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBRLEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSRTOWCS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MBSNRTOWCS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCRTOMB]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSRTOMBS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNRTOMBS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCWIDTH]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMCHR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMCMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMMOVE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMPCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WMEMSET]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSLEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNLEN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCPCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCPNCPY]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNCAT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNCMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCASECMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSNCASECMP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCOLL]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSXFRM]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSDUP]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCHR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSRCHR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSCSPN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSSPN]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSPBRK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSSTR]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSTOK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSWIDTH]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCSFTIME]) ++ dnl Support Microsoft deprecated alias function names by default. ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_MDA_WCSDUP], [1]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_WCHAR_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_WCHAR_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_WCHAR_H_DEFAULTS], + [ +- GNULIB_BTOWC=0; AC_SUBST([GNULIB_BTOWC]) +- GNULIB_WCTOB=0; AC_SUBST([GNULIB_WCTOB]) +- GNULIB_MBSINIT=0; AC_SUBST([GNULIB_MBSINIT]) +- GNULIB_MBRTOWC=0; AC_SUBST([GNULIB_MBRTOWC]) +- GNULIB_MBRLEN=0; AC_SUBST([GNULIB_MBRLEN]) +- GNULIB_MBSRTOWCS=0; AC_SUBST([GNULIB_MBSRTOWCS]) +- GNULIB_MBSNRTOWCS=0; AC_SUBST([GNULIB_MBSNRTOWCS]) +- GNULIB_WCRTOMB=0; AC_SUBST([GNULIB_WCRTOMB]) +- GNULIB_WCSRTOMBS=0; AC_SUBST([GNULIB_WCSRTOMBS]) +- GNULIB_WCSNRTOMBS=0; AC_SUBST([GNULIB_WCSNRTOMBS]) +- GNULIB_WCWIDTH=0; AC_SUBST([GNULIB_WCWIDTH]) +- GNULIB_WMEMCHR=0; AC_SUBST([GNULIB_WMEMCHR]) +- GNULIB_WMEMCMP=0; AC_SUBST([GNULIB_WMEMCMP]) +- GNULIB_WMEMCPY=0; AC_SUBST([GNULIB_WMEMCPY]) +- GNULIB_WMEMMOVE=0; AC_SUBST([GNULIB_WMEMMOVE]) +- GNULIB_WMEMPCPY=0; AC_SUBST([GNULIB_WMEMPCPY]) +- GNULIB_WMEMSET=0; AC_SUBST([GNULIB_WMEMSET]) +- GNULIB_WCSLEN=0; AC_SUBST([GNULIB_WCSLEN]) +- GNULIB_WCSNLEN=0; AC_SUBST([GNULIB_WCSNLEN]) +- GNULIB_WCSCPY=0; AC_SUBST([GNULIB_WCSCPY]) +- GNULIB_WCPCPY=0; AC_SUBST([GNULIB_WCPCPY]) +- GNULIB_WCSNCPY=0; AC_SUBST([GNULIB_WCSNCPY]) +- GNULIB_WCPNCPY=0; AC_SUBST([GNULIB_WCPNCPY]) +- GNULIB_WCSCAT=0; AC_SUBST([GNULIB_WCSCAT]) +- GNULIB_WCSNCAT=0; AC_SUBST([GNULIB_WCSNCAT]) +- GNULIB_WCSCMP=0; AC_SUBST([GNULIB_WCSCMP]) +- GNULIB_WCSNCMP=0; AC_SUBST([GNULIB_WCSNCMP]) +- GNULIB_WCSCASECMP=0; AC_SUBST([GNULIB_WCSCASECMP]) +- GNULIB_WCSNCASECMP=0; AC_SUBST([GNULIB_WCSNCASECMP]) +- GNULIB_WCSCOLL=0; AC_SUBST([GNULIB_WCSCOLL]) +- GNULIB_WCSXFRM=0; AC_SUBST([GNULIB_WCSXFRM]) +- GNULIB_WCSDUP=0; AC_SUBST([GNULIB_WCSDUP]) +- GNULIB_WCSCHR=0; AC_SUBST([GNULIB_WCSCHR]) +- GNULIB_WCSRCHR=0; AC_SUBST([GNULIB_WCSRCHR]) +- GNULIB_WCSCSPN=0; AC_SUBST([GNULIB_WCSCSPN]) +- GNULIB_WCSSPN=0; AC_SUBST([GNULIB_WCSSPN]) +- GNULIB_WCSPBRK=0; AC_SUBST([GNULIB_WCSPBRK]) +- GNULIB_WCSSTR=0; AC_SUBST([GNULIB_WCSSTR]) +- GNULIB_WCSTOK=0; AC_SUBST([GNULIB_WCSTOK]) +- GNULIB_WCSWIDTH=0; AC_SUBST([GNULIB_WCSWIDTH]) +- GNULIB_WCSFTIME=0; AC_SUBST([GNULIB_WCSFTIME]) +- dnl Support Microsoft deprecated alias function names by default. +- GNULIB_MDA_WCSDUP=1; AC_SUBST([GNULIB_MDA_WCSDUP]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_BTOWC=1; AC_SUBST([HAVE_BTOWC]) + HAVE_MBSINIT=1; AC_SUBST([HAVE_MBSINIT]) +diff --git a/m4/wctype_h.m4 b/m4/wctype_h.m4 +index 1ab0bc9..7d74212 100644 +--- a/m4/wctype_h.m4 ++++ b/m4/wctype_h.m4 +@@ -1,4 +1,4 @@ +-# wctype_h.m4 serial 26 ++# wctype_h.m4 serial 30 + + dnl A placeholder for ISO C99 , for platforms that lack it. + +@@ -9,7 +9,7 @@ dnl with or without modifications, as long as this notice is preserved. + + dnl Written by Paul Eggert. + +-AC_DEFUN([gl_WCTYPE_H], ++AC_DEFUN_ONCE([gl_WCTYPE_H], + [ + AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) + AC_REQUIRE([AC_PROG_CC]) +@@ -62,7 +62,7 @@ AC_DEFUN([gl_WCTYPE_H], + fi + AC_SUBST([HAVE_WCTYPE_H]) + +- if test $GNULIB_OVERRIDES_WINT_T = 1; then ++ if test $GNULIBHEADERS_OVERRIDE_WINT_T = 1; then + REPLACE_ISWCNTRL=1 + else + case "$gl_cv_func_iswcntrl_works" in +@@ -157,24 +157,39 @@ AC_DEFUN([gl_WCTYPE_H], + ]) + ]) + ++# gl_WCTYPE_MODULE_INDICATOR([modulename]) ++# sets the shell variable that indicates the presence of the given module ++# to a C preprocessor expression that will evaluate to 1. ++# This macro invocation must not occur in macros that are AC_REQUIREd. + AC_DEFUN([gl_WCTYPE_MODULE_INDICATOR], + [ +- dnl Use AC_REQUIRE here, so that the default settings are expanded once only. +- AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) ++ dnl Ensure to expand the default settings once only. ++ gl_WCTYPE_H_REQUIRE_DEFAULTS + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) + ]) + ++# Initializes the default values for AC_SUBSTed shell variables. ++# This macro must not be AC_REQUIREd. It must only be invoked, and only ++# outside of macros or in macros that are not AC_REQUIREd. ++AC_DEFUN([gl_WCTYPE_H_REQUIRE_DEFAULTS], ++[ ++ m4_defun(GL_MODULE_INDICATOR_PREFIX[_WCTYPE_H_MODULE_INDICATOR_DEFAULTS], [ ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWBLANK]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWDIGIT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWXDIGIT]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCTYPE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_ISWCTYPE]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_WCTRANS]) ++ gl_MODULE_INDICATOR_INIT_VARIABLE([GNULIB_TOWCTRANS]) ++ ]) ++ m4_require(GL_MODULE_INDICATOR_PREFIX[_WCTYPE_H_MODULE_INDICATOR_DEFAULTS]) ++ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) ++]) ++ + AC_DEFUN([gl_WCTYPE_H_DEFAULTS], + [ +- GNULIB_ISWBLANK=0; AC_SUBST([GNULIB_ISWBLANK]) +- GNULIB_ISWDIGIT=0; AC_SUBST([GNULIB_ISWDIGIT]) +- GNULIB_ISWXDIGIT=0; AC_SUBST([GNULIB_ISWXDIGIT]) +- GNULIB_WCTYPE=0; AC_SUBST([GNULIB_WCTYPE]) +- GNULIB_ISWCTYPE=0; AC_SUBST([GNULIB_ISWCTYPE]) +- GNULIB_WCTRANS=0; AC_SUBST([GNULIB_WCTRANS]) +- GNULIB_TOWCTRANS=0; AC_SUBST([GNULIB_TOWCTRANS]) + dnl Assume proper GNU behavior unless another module says otherwise. + HAVE_ISWBLANK=1; AC_SUBST([HAVE_ISWBLANK]) + HAVE_WCTYPE_T=1; AC_SUBST([HAVE_WCTYPE_T]) +diff --git a/m4/wint_t.m4 b/m4/wint_t.m4 +index 2fc7467..a49c508 100644 +--- a/m4/wint_t.m4 ++++ b/m4/wint_t.m4 +@@ -1,4 +1,4 @@ +-# wint_t.m4 serial 10 ++# wint_t.m4 serial 11 + dnl Copyright (C) 2003, 2007-2021 Free Software Foundation, Inc. + dnl This file is free software; the Free Software Foundation + dnl gives unlimited permission to copy and/or distribute it, +@@ -34,14 +34,14 @@ AC_DEFUN([gt_TYPE_WINT_T], + [gl_cv_type_wint_t_large_enough=yes], + [gl_cv_type_wint_t_large_enough=no])]) + if test $gl_cv_type_wint_t_large_enough = no; then +- GNULIB_OVERRIDES_WINT_T=1 ++ GNULIBHEADERS_OVERRIDE_WINT_T=1 + else +- GNULIB_OVERRIDES_WINT_T=0 ++ GNULIBHEADERS_OVERRIDE_WINT_T=0 + fi + else +- GNULIB_OVERRIDES_WINT_T=0 ++ GNULIBHEADERS_OVERRIDE_WINT_T=0 + fi +- AC_SUBST([GNULIB_OVERRIDES_WINT_T]) ++ AC_SUBST([GNULIBHEADERS_OVERRIDE_WINT_T]) + ]) + + dnl Prerequisites of the 'wint_t' override. +diff --git a/m4/year2038.m4 b/m4/year2038.m4 +new file mode 100644 +index 0000000..da0f8d7 +--- /dev/null ++++ b/m4/year2038.m4 +@@ -0,0 +1,124 @@ ++# year2038.m4 serial 7 ++dnl Copyright (C) 2017-2021 Free Software Foundation, Inc. ++dnl This file is free software; the Free Software Foundation ++dnl gives unlimited permission to copy and/or distribute it, ++dnl with or without modifications, as long as this notice is preserved. ++ ++dnl Attempt to ensure that 'time_t' can go past the year 2038 and that ++dnl the functions 'time', 'stat', etc. work with post-2038 timestamps. ++ ++AC_DEFUN([gl_YEAR2038_EARLY], ++[ ++ AC_REQUIRE([AC_CANONICAL_HOST]) ++ case "$host_os" in ++ mingw*) ++ AC_DEFINE([__MINGW_USE_VC2005_COMPAT], [1], ++ [For 64-bit time_t on 32-bit mingw.]) ++ ;; ++ esac ++]) ++ ++# gl_YEAR2038_TEST_INCLUDES ++# ------------------------- ++AC_DEFUN([gl_YEAR2038_TEST_INCLUDES], ++[[ ++ #include ++ /* Check that time_t can represent 2**32 - 1 correctly. */ ++ #define LARGE_TIME_T \\ ++ ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) ++ int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 ++ && LARGE_TIME_T % 65537 == 0) ++ ? 1 : -1]; ++]]) ++ ++# gl_YEAR2038_BODY(REQUIRE-YEAR2038-SAFE) ++----------------------------------------- ++AC_DEFUN([gl_YEAR2038_BODY], ++[ ++ AC_ARG_ENABLE([year2038], ++ [ --disable-year2038 omit support for timestamps past the year 2038]) ++ AS_IF([test "$enable_year2038" != no], ++ [ ++ dnl On many systems, time_t is already a 64-bit type. ++ dnl On those systems where time_t is still 32-bit, it requires kernel ++ dnl and libc support to make it 64-bit. For glibc 2.34 and later on Linux, ++ dnl defining _TIME_BITS=64 and _FILE_OFFSET_BITS=64 is needed on x86 and ARM. ++ dnl ++ dnl On native Windows, the system include files define types __time32_t ++ dnl and __time64_t. By default, time_t is an alias of ++ dnl - __time32_t on 32-bit mingw, ++ dnl - __time64_t on 64-bit mingw and on MSVC (since MSVC 8). ++ dnl But when compiling with -D__MINGW_USE_VC2005_COMPAT, time_t is an ++ dnl alias of __time64_t. ++ dnl And when compiling with -D_USE_32BIT_TIME_T, time_t is an alias of ++ dnl __time32_t. ++ AC_CACHE_CHECK([for time_t past the year 2038], [gl_cv_type_time_t_y2038], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_SOURCE([gl_YEAR2038_TEST_INCLUDES])], ++ [gl_cv_type_time_t_y2038=yes], [gl_cv_type_time_t_y2038=no]) ++ ]) ++ if test "$gl_cv_type_time_t_y2038" = no; then ++ AC_CACHE_CHECK([for 64-bit time_t with _TIME_BITS=64], ++ [gl_cv_type_time_t_bits_macro], ++ [AC_COMPILE_IFELSE( ++ [AC_LANG_SOURCE([[#define _TIME_BITS 64 ++ #define _FILE_OFFSET_BITS 64 ++ ]gl_YEAR2038_TEST_INCLUDES])], ++ [gl_cv_type_time_t_bits_macro=yes], ++ [gl_cv_type_time_t_bits_macro=no]) ++ ]) ++ if test "$gl_cv_type_time_t_bits_macro" = yes; then ++ AC_DEFINE([_TIME_BITS], [64], ++ [Number of bits in a timestamp, on hosts where this is settable.]) ++ dnl AC_SYS_LARGFILE also defines this; it's OK if we do too. ++ AC_DEFINE([_FILE_OFFSET_BITS], [64], ++ [Number of bits in a file offset, on hosts where this is settable.]) ++ gl_cv_type_time_t_y2038=yes ++ fi ++ fi ++ if test $gl_cv_type_time_t_y2038 = no; then ++ AC_COMPILE_IFELSE( ++ [AC_LANG_SOURCE( ++ [[#ifdef _USE_32BIT_TIME_T ++ int ok; ++ #else ++ error fail ++ #endif ++ ]])], ++ [AC_MSG_FAILURE( ++ [The 'time_t' type stops working after January 2038. ++ Remove _USE_32BIT_TIME_T from the compiler flags.])], ++ [# If not cross-compiling and $1 says we should check, ++ # and 'touch' works with a large timestamp, then evidently wider time_t ++ # is desired and supported, so fail and ask the builder to fix the ++ # problem. Otherwise, just warn the builder. ++ m4_ifval([$1], ++ [if test $cross_compiling = no \ ++ && TZ=UTC0 touch -t 210602070628.15 conftest.time 2>/dev/null; then ++ case `TZ=UTC0 LC_ALL=C ls -l conftest.time 2>/dev/null` in ++ *'Feb 7 2106'* | *'Feb 7 17:10'*) ++ AC_MSG_FAILURE( ++ [The 'time_t' type stops working after January 2038, ++ and your system appears to support a wider 'time_t'. ++ Try configuring with 'CC="${CC} -m64"'. ++ To build with a 32-bit time_t anyway (not recommended), ++ configure with '--disable-year2038'.]);; ++ esac ++ rm -f conftest.time ++ fi]) ++ if test "$gl_warned_about_y2038" != yes; then ++ AC_MSG_WARN( ++ [The 'time_t' type stops working after January 2038, ++ and this package needs a wider 'time_t' type ++ if there is any way to access timestamps after that. ++ Configure with 'CC="${CC} -m64"' perhaps?]) ++ gl_warned_about_y2038=yes ++ fi ++ ]) ++ fi]) ++]) ++ ++AC_DEFUN([gl_YEAR2038], ++[ ++ gl_YEAR2038_BODY([require-year2038-safe]) ++]) +diff --git a/maint.mk b/maint.mk +index ae3a817..6a3ea96 100644 +--- a/maint.mk ++++ b/maint.mk +@@ -1409,7 +1409,7 @@ announcement_mail_headers_alpha = \ + announcement_mail_Cc_beta = $(announcement_mail_Cc_alpha) + announcement_mail_headers_beta = $(announcement_mail_headers_alpha) + +-announcement_mail_Cc_ ?= $(announcement_mail_Cc_$(release-type)) ++announcement_Cc_ ?= $(announcement_Cc_$(release-type)) + announcement_mail_headers_ ?= $(announcement_mail_headers_$(release-type)) + announcement: NEWS ChangeLog $(rel-files) + # Not $(AM_V_GEN) since the output of this command serves as +@@ -1426,7 +1426,6 @@ announcement: NEWS ChangeLog $(rel-files) + --bootstrap-tools=$(bootstrap-tools) \ + $$(case ,$(bootstrap-tools), in (*,gnulib,*) \ + echo --gnulib-version=$(gnulib-version);; esac) \ +- --no-print-checksums \ + $(addprefix --url-dir=, $(url_dir_list)) + + .PHONY: release-commit +-- +cgit v1.1 + diff --git a/buildroot-2022.02.1/package/guile/Config.in b/buildroot-2022.02.1/package/guile/Config.in new file mode 100644 index 00000000..f70e6740 --- /dev/null +++ b/buildroot-2022.02.1/package/guile/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_GUILE + bool "guile" + depends on !BR2_TOOLCHAIN_USES_MUSL # no strtol_l + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc + depends on BR2_USE_WCHAR # libunistring + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBUNISTRING + select BR2_PACKAGE_LIBFFI + select BR2_PACKAGE_GMP + select BR2_PACKAGE_BDWGC + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + Guile is an interpreter and compiler for the Scheme + programming language, a clean and elegant dialect of Lisp. + + http://www.gnu.org/software/guile + +comment "guile needs a uClibc or glibc toolchain w/ threads, wchar, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL diff --git a/buildroot-2022.02.1/package/guile/guile.hash b/buildroot-2022.02.1/package/guile/guile.hash new file mode 100644 index 00000000..c2719fa7 --- /dev/null +++ b/buildroot-2022.02.1/package/guile/guile.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +sha256 f57d86c70620271bfceb7a9be0c81744a033f08adc7ceba832c9917ab3e691b7 guile-3.0.7.tar.xz +# Locally computed +sha256 b51c6f20e6d029cb5b3e5bf235ac562c9a188c5bdc4ffcdc663897772d6e0260 LICENSE +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 9ccf26cfe845e0eb8bb58053e47366e7ab6b697ae010f7650978d4b71b7d1fc1 COPYING.LESSER diff --git a/buildroot-2022.02.1/package/guile/guile.mk b/buildroot-2022.02.1/package/guile/guile.mk new file mode 100644 index 00000000..859d7ec9 --- /dev/null +++ b/buildroot-2022.02.1/package/guile/guile.mk @@ -0,0 +1,78 @@ +################################################################################ +# +# guile +# +################################################################################ + +GUILE_VERSION = 3.0.7 +GUILE_SOURCE = guile-$(GUILE_VERSION).tar.xz +GUILE_SITE = $(BR2_GNU_MIRROR)/guile +GUILE_INSTALL_STAGING = YES +# For 0002-calculate-csqrt_manually.patch and +# 0003-Makefile.am-fix-build-without-makeinfo.patch and +# 0004-Update-gnulib-to-8f4538a53d64054ae2fc8b86c0f87c418c6176e6.patch +GUILE_AUTORECONF = YES +GUILE_LICENSE = LGPL-3.0+ +GUILE_LICENSE_FILES = LICENSE COPYING COPYING.LESSER +GUILE_CPE_ID_VENDOR = gnu + +GUILE_DEPENDENCIES = host-guile libunistring libffi gmp bdwgc host-pkgconf +HOST_GUILE_DEPENDENCIES = \ + host-libunistring host-libffi host-gmp host-bdwgc host-flex \ + host-pkgconf host-gettext host-gperf + +ifeq ($(BR2_ENABLE_LOCALE),) +GUILE_DEPENDENCIES += libiconv +endif + +# The HAVE_GC* CFLAGS specify that we will use internal callbacks +# instead of the ones provided by +# bdwgc. Eg. HAVE_GC_SET_FINALIZER_NOTIFIER specifies that we won't +# use bdwgc's GC_finalizer_notifier callback. Trying to use these +# specific bdwgc's callbacks breaks guile's building. +GUILE_CFLAGS = \ + -DHAVE_GC_SET_FINALIZER_NOTIFIER \ + -DHAVE_GC_GET_HEAP_USAGE_SAFE \ + -DHAVE_GC_GET_FREE_SPACE_DIVISOR \ + -DHAVE_GC_SET_FINALIZE_ON_DEMAND + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +GUILE_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_STATIC_LIBS),y) +GUILE_CFLAGS += -DGC_NO_DLOPEN +endif + +# Triggers assembler error with -Os +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM)$(BR2_OPTIMIZE_S),yy) +GUILE_CFLAGS += -O2 +endif + +# jit triggers build failures with gcc < 5 +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),) +GUILE_CONF_OPTS += --disable-jit +endif +ifeq ($(BR2_HOST_GCC_AT_LEAST_5),) +HOST_GUILE_CONF_OPTS += --disable-jit +endif + +# It can use readline, but on the condition that it was build against +# ncurses. If both aren't present disable readline support since the +# host readline/ncurses support can poison the build. +ifeq ($(BR2_PACKAGE_NCURSES)$(BR2_PACKAGE_READLINE),yy) +GUILE_CONF_OPTS += --with-libreadline-prefix=$(STAGING_DIR)/usr +GUILE_DEPENDENCIES += readline +else +GUILE_CONF_OPTS += --without-libreadline-prefix +endif + +GUILE_CONF_ENV += GUILE_FOR_BUILD=$(HOST_DIR)/bin/guile \ + CFLAGS="$(TARGET_CFLAGS) $(GUILE_CFLAGS)" + +GUILE_CONF_OPTS += \ + --with-libgmp-prefix=$(STAGING_DIR)/usr/lib \ + --with-libunistring-prefix=$(STAGING_DIR)/usr/lib + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/gumbo-parser/0001-configure.ac-fix-build-without-C.patch b/buildroot-2022.02.1/package/gumbo-parser/0001-configure.ac-fix-build-without-C.patch new file mode 100644 index 00000000..cf90e6f3 --- /dev/null +++ b/buildroot-2022.02.1/package/gumbo-parser/0001-configure.ac-fix-build-without-C.patch @@ -0,0 +1,63 @@ +From 968975107af5f4382e3e9410a635e32c14cea75f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 21 Jul 2021 23:47:26 +0200 +Subject: [PATCH] configure.ac: fix build without C++ + +Fix the following build failure raised on toolchains without C++: + +checking whether the C++ compiler works... no +configure: error: in `/home/buildroot/autobuild/run/instance-0/output-1/build/gumbo-parser-0.10.1': +configure: error: C++ compiler cannot create executables + +Fixes: + - http://autobuild.buildroot.org/results/a32b5d3b959433fd5c3543661c37f80d27fbd010 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/google/gumbo-parser/pull/426] +--- + Makefile.am | 2 ++ + configure.ac | 6 +++++- + 2 files changed, 7 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index cb62459..5bebd92 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -105,7 +105,9 @@ gumbo_test_DEPENDENCIES += check-local + gumbo_test_LDADD += gtest/lib/libgtest.la gtest/lib/libgtest_main.la + endif + ++if HAVE_EXAMPLES + noinst_PROGRAMS = clean_text find_links get_title positions_of_class benchmark serialize prettyprint ++endif + LDADD = libgumbo.la + AM_CPPFLAGS = -I"$(srcdir)/src" + +diff --git a/configure.ac b/configure.ac +index 32dc9b9..172a36b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -9,8 +9,8 @@ AC_CONFIG_SRCDIR([src/parser.c]) + AC_CONFIG_FILES([Makefile gumbo.pc]) + + # Checks for programs. +-AC_PROG_CXX + AC_PROG_CC_C99 ++AC_PROG_CXX + + # Checks for libraries. + +@@ -27,6 +27,10 @@ AC_CHECK_LIB([gtest_main], + AM_CONDITIONAL(HAVE_SHARED_LIBGTEST, [true]), + AM_CONDITIONAL(HAVE_SHARED_LIBGTEST, [false])) + ++AC_ARG_ENABLE([examples], ++ AS_HELP_STRING([--disable-examples], [Disable examples])) ++AM_CONDITIONAL([HAVE_EXAMPLES], [test "x$enable_examples" != "xno"]) ++ + # Init Automake & libtool + AM_INIT_AUTOMAKE([foreign subdir-objects]) + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/gumbo-parser/Config.in b/buildroot-2022.02.1/package/gumbo-parser/Config.in new file mode 100644 index 00000000..04bb2294 --- /dev/null +++ b/buildroot-2022.02.1/package/gumbo-parser/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_GUMBO_PARSER + bool "gumbo-parser" + help + Gumbo is an implementation of the HTML5 parsing algorithm + implemented as a pure C99 library with no outside + dependencies. It's designed to serve as a building block for + other tools and libraries such as linters, validators, + templating languages, and refactoring and analysis tools. + + https://github.com/google/gumbo-parser diff --git a/buildroot-2022.02.1/package/gumbo-parser/gumbo-parser.hash b/buildroot-2022.02.1/package/gumbo-parser/gumbo-parser.hash new file mode 100644 index 00000000..c4af3307 --- /dev/null +++ b/buildroot-2022.02.1/package/gumbo-parser/gumbo-parser.hash @@ -0,0 +1,5 @@ +# Locally computed: +sha256 28463053d44a5dfbc4b77bcf49c8cee119338ffa636cc17fc3378421d714efad gumbo-parser-0.10.1.tar.gz + +# Hash for license files: +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 COPYING diff --git a/buildroot-2022.02.1/package/gumbo-parser/gumbo-parser.mk b/buildroot-2022.02.1/package/gumbo-parser/gumbo-parser.mk new file mode 100644 index 00000000..8c9330ae --- /dev/null +++ b/buildroot-2022.02.1/package/gumbo-parser/gumbo-parser.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# gumbo-parser +# +################################################################################ + +GUMBO_PARSER_VERSION = 0.10.1 +GUMBO_PARSER_SITE = $(call github,google,gumbo-parser,v$(GUMBO_PARSER_VERSION)) +GUMBO_PARSER_LICENSE = Apache-2.0 +GUMBO_PARSER_LICENSE_FILES = COPYING +GUMBO_PARSER_INSTALL_STAGING = YES +GUMBO_PARSER_AUTORECONF = YES +GUMBO_PARSER_CONF_OPTS = --disable-examples + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/gupnp-av/Config.in b/buildroot-2022.02.1/package/gupnp-av/Config.in similarity index 100% rename from buildroot-2021.05/package/gupnp-av/Config.in rename to buildroot-2022.02.1/package/gupnp-av/Config.in diff --git a/buildroot-2022.02.1/package/gupnp-av/gupnp-av.hash b/buildroot-2022.02.1/package/gupnp-av/gupnp-av.hash new file mode 100644 index 00000000..ceab42ef --- /dev/null +++ b/buildroot-2022.02.1/package/gupnp-av/gupnp-av.hash @@ -0,0 +1,5 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-av/0.14/gupnp-av-0.14.0.sha256sum: +sha256 20aed546fc882e78a3f186a0c8bce5c841cc3a44b7ea528298fbdc82596fb156 gupnp-av-0.14.0.tar.xz + +# Hash for license file: +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/gupnp-av/gupnp-av.mk b/buildroot-2022.02.1/package/gupnp-av/gupnp-av.mk new file mode 100644 index 00000000..655de876 --- /dev/null +++ b/buildroot-2022.02.1/package/gupnp-av/gupnp-av.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# gupnp-av +# +################################################################################ + +GUPNP_AV_VERSION_MAJOR = 0.14 +GUPNP_AV_VERSION = $(GUPNP_AV_VERSION_MAJOR).0 +GUPNP_AV_SOURCE = gupnp-av-$(GUPNP_AV_VERSION).tar.xz +GUPNP_AV_SITE = http://ftp.gnome.org/pub/gnome/sources/gupnp-av/$(GUPNP_AV_VERSION_MAJOR) +GUPNP_AV_LICENSE = LGPL-2.1+ +GUPNP_AV_LICENSE_FILES = COPYING +GUPNP_AV_INSTALL_STAGING = YES +GUPNP_AV_DEPENDENCIES = host-pkgconf libglib2 libxml2 gupnp + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GUPNP_AV_CONF_OPTS += -Dintrospection=true -Dvapi=true +GUPNP_AV_DEPENDENCIES += host-vala gobject-introspection +else +GUPNP_AV_CONF_OPTS += -Dintrospection=false -Dvapi=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gupnp-dlna/Config.in b/buildroot-2022.02.1/package/gupnp-dlna/Config.in similarity index 100% rename from buildroot-2021.05/package/gupnp-dlna/Config.in rename to buildroot-2022.02.1/package/gupnp-dlna/Config.in diff --git a/buildroot-2022.02.1/package/gupnp-dlna/gupnp-dlna.hash b/buildroot-2022.02.1/package/gupnp-dlna/gupnp-dlna.hash new file mode 100644 index 00000000..dd9f2e4e --- /dev/null +++ b/buildroot-2022.02.1/package/gupnp-dlna/gupnp-dlna.hash @@ -0,0 +1,5 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-dlna/0.12/gupnp-dlna-0.12.0.sha256sum: +sha256 3d53b96f85bc5628d33e367ec9bf2adb38ef2b34d7ad0434a6ba0cf4ad9048e6 gupnp-dlna-0.12.0.tar.xz + +# Locally computed: +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/gupnp-dlna/gupnp-dlna.mk b/buildroot-2022.02.1/package/gupnp-dlna/gupnp-dlna.mk new file mode 100644 index 00000000..64146f89 --- /dev/null +++ b/buildroot-2022.02.1/package/gupnp-dlna/gupnp-dlna.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# gupnp-dlna +# +################################################################################ + +GUPNP_DLNA_VERSION_MAJOR = 0.12 +GUPNP_DLNA_VERSION = $(GUPNP_DLNA_VERSION_MAJOR).0 +GUPNP_DLNA_SOURCE = gupnp-dlna-$(GUPNP_DLNA_VERSION).tar.xz +GUPNP_DLNA_SITE = \ + http://ftp.gnome.org/pub/gnome/sources/gupnp-dlna/$(GUPNP_DLNA_VERSION_MAJOR) +# COPYING contains LGPL-2.1 but all source files contain LPGL-2.0+ +GUPNP_DLNA_LICENSE = LGPL-2.0+ +GUPNP_DLNA_LICENSE_FILES = COPYING +GUPNP_DLNA_INSTALL_STAGING = YES +GUPNP_DLNA_DEPENDENCIES = host-pkgconf libglib2 libxml2 + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GUPNP_DLNA_CONF_OPTS += -Dintrospection=true -Dvapi=true +GUPNP_DLNA_DEPENDENCIES += host-vala gobject-introspection +else +GUPNP_DLNA_CONF_OPTS += -Dintrospection=false -Dvapi=false +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE):$(BR2_STATIC_LIBS),y:) +GUPNP_DLNA_CONF_OPTS += -Dgstreamer_backend=enabled +GUPNP_DLNA_DEPENDENCIES += gstreamer1 gst1-plugins-base +else +GUPNP_DLNA_CONF_OPTS += -Dgstreamer_backend=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gupnp-tools/Config.in b/buildroot-2022.02.1/package/gupnp-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/gupnp-tools/Config.in rename to buildroot-2022.02.1/package/gupnp-tools/Config.in diff --git a/buildroot-2022.02.1/package/gupnp-tools/gupnp-tools.hash b/buildroot-2022.02.1/package/gupnp-tools/gupnp-tools.hash new file mode 100644 index 00000000..28a1d26e --- /dev/null +++ b/buildroot-2022.02.1/package/gupnp-tools/gupnp-tools.hash @@ -0,0 +1,5 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/0.10/gupnp-tools-0.10.2.sha256sum: +sha256 6de49ef4b375b8a164f74b766168b1184e0d28196b6b07a4f5341f08dfd85d6c gupnp-tools-0.10.2.tar.xz + +# Locally computed: +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/gupnp-tools/gupnp-tools.mk b/buildroot-2022.02.1/package/gupnp-tools/gupnp-tools.mk new file mode 100644 index 00000000..7b34de52 --- /dev/null +++ b/buildroot-2022.02.1/package/gupnp-tools/gupnp-tools.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# gupnp-tools +# +################################################################################ + +GUPNP_TOOLS_VERSION_MAJOR = 0.10 +GUPNP_TOOLS_VERSION = $(GUPNP_TOOLS_VERSION_MAJOR).2 +GUPNP_TOOLS_SOURCE = gupnp-tools-$(GUPNP_TOOLS_VERSION).tar.xz +GUPNP_TOOLS_SITE = \ + http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/$(GUPNP_TOOLS_VERSION_MAJOR) +GUPNP_TOOLS_LICENSE = GPL-2.0+ +GUPNP_TOOLS_LICENSE_FILES = COPYING +GUPNP_TOOLS_INSTALL_STAGING = YES +GUPNP_TOOLS_DEPENDENCIES = \ + host-pkgconf \ + libglib2 \ + libxml2 \ + gssdp \ + gupnp \ + libsoup \ + libgtk3 \ + $(TARGET_NLS_DEPENDENCIES) + +GUPNP_TOOLS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_GUPNP_AV),y) +GUPNP_TOOLS_CONF_OPTS += -Dav-tools=true +GUPNP_TOOLS_DEPENDENCIES += gupnp-av +else +GUPNP_TOOLS_CONF_OPTS += -Dav-tools=false +endif + +ifeq ($(BR2_PACKAGE_GTKSOURCEVIEW),y) +GUPNP_TOOLS_DEPENDENCIES += gtksourceview +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gupnp/Config.in b/buildroot-2022.02.1/package/gupnp/Config.in similarity index 100% rename from buildroot-2021.05/package/gupnp/Config.in rename to buildroot-2022.02.1/package/gupnp/Config.in diff --git a/buildroot-2022.02.1/package/gupnp/gupnp.hash b/buildroot-2022.02.1/package/gupnp/gupnp.hash new file mode 100644 index 00000000..cc5e2b57 --- /dev/null +++ b/buildroot-2022.02.1/package/gupnp/gupnp.hash @@ -0,0 +1,5 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp/1.4/gupnp-1.4.3.sha256sum: +sha256 14eda777934da2df743d072489933bd9811332b7b5bf41626b8032efb28b33ba gupnp-1.4.3.tar.xz + +# Hash for license file: +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/gupnp/gupnp.mk b/buildroot-2022.02.1/package/gupnp/gupnp.mk new file mode 100644 index 00000000..dca747f0 --- /dev/null +++ b/buildroot-2022.02.1/package/gupnp/gupnp.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# gupnp +# +################################################################################ + +GUPNP_VERSION_MAJOR = 1.4 +GUPNP_VERSION = $(GUPNP_VERSION_MAJOR).3 +GUPNP_SOURCE = gupnp-$(GUPNP_VERSION).tar.xz +GUPNP_SITE = http://ftp.gnome.org/pub/gnome/sources/gupnp/$(GUPNP_VERSION_MAJOR) +GUPNP_LICENSE = LGPL-2.1+ +GUPNP_LICENSE_FILES = COPYING +GUPNP_CPE_ID_VENDOR = gnome +GUPNP_INSTALL_STAGING = YES +GUPNP_DEPENDENCIES = host-pkgconf libglib2 libxml2 gssdp util-linux +GUPNP_CONF_OPTS = -Dexamples=false + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +GUPNP_CONF_OPTS += -Dintrospection=true -Dvapi=true +GUPNP_DEPENDENCIES += host-vala gobject-introspection +else +GUPNP_CONF_OPTS += -Dintrospection=false -Dvapi=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gutenprint/0001-use-pregen-xmli18n-header.patch b/buildroot-2022.02.1/package/gutenprint/0001-use-pregen-xmli18n-header.patch similarity index 100% rename from buildroot-2021.05/package/gutenprint/0001-use-pregen-xmli18n-header.patch rename to buildroot-2022.02.1/package/gutenprint/0001-use-pregen-xmli18n-header.patch diff --git a/buildroot-2022.02.1/package/gutenprint/0002-cups-support-replaces-static-with-static-libtool-lib.patch b/buildroot-2022.02.1/package/gutenprint/0002-cups-support-replaces-static-with-static-libtool-lib.patch new file mode 100644 index 00000000..61ef0269 --- /dev/null +++ b/buildroot-2022.02.1/package/gutenprint/0002-cups-support-replaces-static-with-static-libtool-lib.patch @@ -0,0 +1,39 @@ +From 08a5d355160eb2ac8346ae1b94591418343217f9 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Sun, 17 Aug 2014 23:43:20 +0200 +Subject: [PATCH] cups support: replaces -static with -static-libtool-libs + +gutenprint rely on the original behaviour of -static, but since commit +in buildroot "support/libtool: make -static behave like -all-static" [1], +the build of genppd is broken. + +genppd need to be build statically otherwise the following warning appears: +***WARNING: Use of --disable-static-genppd or --disable-static + when building CUPS is very dangerous. The build may + fail when building the PPD files, or may *SILENTLY* + build incorrect PPD files or cause other problems. + Please review the README and release notes carefully! + +[1] http://git.buildroot.net/buildroot/commit/?id=97703978ac870ce2b14ad144f8e082de82aa2c64 + +Signed-off-by: Romain Naour +--- + src/cups/Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/cups/Makefile.am b/src/cups/Makefile.am +index 1e27ae0..d711b70 100644 +--- a/src/cups/Makefile.am ++++ b/src/cups/Makefile.am +@@ -84,7 +84,7 @@ noinst_SCRIPTS=test-rastertogutenprint + endif + + if BUILD_GENPPD_STATIC +-STATIC_LDOPTS=-static -export-dynamic ++STATIC_LDOPTS=-static-libtool-libs -export-dynamic + endif + + cups_calibrate_SOURCES = cups-calibrate.c +-- +1.9.3 + diff --git a/buildroot-2021.05/package/gutenprint/Config.in b/buildroot-2022.02.1/package/gutenprint/Config.in similarity index 100% rename from buildroot-2021.05/package/gutenprint/Config.in rename to buildroot-2022.02.1/package/gutenprint/Config.in diff --git a/buildroot-2021.05/package/gutenprint/gutenprint.hash b/buildroot-2022.02.1/package/gutenprint/gutenprint.hash similarity index 100% rename from buildroot-2021.05/package/gutenprint/gutenprint.hash rename to buildroot-2022.02.1/package/gutenprint/gutenprint.hash diff --git a/buildroot-2021.05/package/gutenprint/gutenprint.mk b/buildroot-2022.02.1/package/gutenprint/gutenprint.mk similarity index 100% rename from buildroot-2021.05/package/gutenprint/gutenprint.mk rename to buildroot-2022.02.1/package/gutenprint/gutenprint.mk diff --git a/buildroot-2022.02.1/package/gvfs/0001-build-Remove-incorrect-i18n.merge_file-argument.patch b/buildroot-2022.02.1/package/gvfs/0001-build-Remove-incorrect-i18n.merge_file-argument.patch new file mode 100644 index 00000000..a85a1a37 --- /dev/null +++ b/buildroot-2022.02.1/package/gvfs/0001-build-Remove-incorrect-i18n.merge_file-argument.patch @@ -0,0 +1,33 @@ +From 17a067b9b823a0d54e061eae45ff8e2c7e4a88d0 Mon Sep 17 00:00:00 2001 +From: Ondrej Holy +Date: Fri, 21 Jan 2022 08:32:31 +0100 +Subject: [PATCH] build: Remove incorrect i18n.merge_file argument + +The positional argument was being silently ignored until meson 0.60.0 where +it fails with "ERROR: Function does not take positional arguments". + +Related: https://github.com/mesonbuild/meson/issues/9441 +Fixes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/599 + +[Retrieved (and backported) from: +https://gitlab.gnome.org/GNOME/gvfs/-/commit/17a067b9b823a0d54e061eae45ff8e2c7e4a88d0] +Signed-off-by: Fabrice Fontaine +--- + daemon/meson.build | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/daemon/meson.build b/daemon/meson.build +index 5f9559aa..e20ada29 100644 +--- a/daemon/meson.build ++++ b/daemon/meson.build +@@ -360,7 +360,6 @@ if enable_admin + ) + + i18n.merge_file( +- policy, + input: policy_in, + output: '@BASENAME@', + po_dir: po_dir, +-- +GitLab + diff --git a/buildroot-2021.05/package/gvfs/Config.in b/buildroot-2022.02.1/package/gvfs/Config.in similarity index 100% rename from buildroot-2021.05/package/gvfs/Config.in rename to buildroot-2022.02.1/package/gvfs/Config.in diff --git a/buildroot-2022.02.1/package/gvfs/gvfs.hash b/buildroot-2022.02.1/package/gvfs/gvfs.hash new file mode 100644 index 00000000..f4a5364f --- /dev/null +++ b/buildroot-2022.02.1/package/gvfs/gvfs.hash @@ -0,0 +1,5 @@ +# From http://ftp.gnome.org/pub/GNOME/sources/gvfs/1.48/gvfs-1.48.1.sha256sum +sha256 b2ea4f271aad2711f16b43c03151e2ec5a9874ff1a21142ef6d6406486a19dc2 gvfs-1.48.1.tar.xz + +# Hash for license file +sha256 45cf336e2e48176993babc5aabf44437390f40e6a86a472c6abfc7ce9c035db4 COPYING diff --git a/buildroot-2022.02.1/package/gvfs/gvfs.mk b/buildroot-2022.02.1/package/gvfs/gvfs.mk new file mode 100644 index 00000000..41745924 --- /dev/null +++ b/buildroot-2022.02.1/package/gvfs/gvfs.mk @@ -0,0 +1,171 @@ +################################################################################ +# +# gvfs +# +################################################################################ + +GVFS_VERSION_MAJOR = 1.48 +GVFS_VERSION = $(GVFS_VERSION_MAJOR).1 +GVFS_SOURCE = gvfs-$(GVFS_VERSION).tar.xz +GVFS_SITE = http://ftp.gnome.org/pub/GNOME/sources/gvfs/$(GVFS_VERSION_MAJOR) +GVFS_INSTALL_STAGING = YES +GVFS_DEPENDENCIES = \ + host-pkgconf \ + host-libglib2 \ + dbus \ + gsettings-desktop-schemas \ + libglib2 \ + shared-mime-info \ + $(TARGET_NLS_DEPENDENCIES) +GVFS_LICENSE = LGPL-2.0+ +GVFS_LICENSE_FILES = COPYING +GVFS_CPE_ID_VENDOR = gnome + +GVFS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +# Most of these are missing library support +GVFS_CONF_OPTS = \ + -Dafc=false \ + -Dgoa=false \ + -Dgoogle=false \ + -Dmtp=false \ + -Dsftp=false \ + -Dudisks2=false + +ifeq ($(BR2_PACKAGE_AVAHI),y) +GVFS_DEPENDENCIES += avahi +GVFS_CONF_OPTS += -Ddnssd=true +else +GVFS_CONF_OPTS += -Ddnssd=false +endif + +ifeq ($(BR2_PACKAGE_GCR),y) +GVFS_DEPENDENCIES += gcr +GVFS_CONF_OPTS += -Dgcr=true +else +GVFS_CONF_OPTS += -Dgcr=false +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +GVFS_DEPENDENCIES += udev +endif + +ifeq ($(BR2_PACKAGE_LIBGUDEV),y) +GVFS_DEPENDENCIES += libgudev +GVFS_CONF_OPTS += -Dgudev=true +else +GVFS_CONF_OPTS += -Dgudev=false +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) +GVFS_DEPENDENCIES += libarchive +GVFS_CONF_OPTS += -Darchive=true +else +GVFS_CONF_OPTS += -Darchive=false +endif + +ifeq ($(BR2_PACKAGE_LIBBLURAY),y) +GVFS_DEPENDENCIES += libbluray +GVFS_CONF_OPTS += -Dbluray=true +else +GVFS_CONF_OPTS += -Dbluray=false +endif + +ifeq ($(BR2_PACKAGE_LIBCAP)$(BR2_PACKAGE_POLKIT),yy) +GVFS_DEPENDENCIES += libcap polkit +GVFS_CONF_OPTS += -Dadmin=true +else +GVFS_CONF_OPTS += -Dadmin=false +endif + +ifeq ($(BR2_PACKAGE_LIBCDIO_PARANOIA)$(BR2_PACKAGE_LIBGUDEV),yy) +GVFS_DEPENDENCIES += libcdio-paranoia libgudev +GVFS_CONF_OPTS += -Dcdda=true +else +GVFS_CONF_OPTS += -Dcdda=false +endif + +ifeq ($(BR2_PACKAGE_LIBFUSE3),y) +GVFS_DEPENDENCIES += libfuse3 +GVFS_CONF_OPTS += -Dfuse=true +else +GVFS_CONF_OPTS += -Dfuse=false +endif + +# AFP support is anon-only without libgcrypt which isn't very useful +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +GVFS_CONF_OPTS += \ + -Dafp=true \ + -Dgcrypt=true +GVFS_DEPENDENCIES += libgcrypt +else +GVFS_CONF_OPTS += \ + -Dafp=false \ + -Dgcrypt=false +endif + +ifeq ($(BR2_PACKAGE_LIBGPHOTO2)$(BR2_PACKAGE_LIBGUDEV),yy) +GVFS_DEPENDENCIES += libgphoto2 libgudev +GVFS_CONF_OPTS += -Dgphoto2=true +else +GVFS_CONF_OPTS += -Dgphoto2=false +endif + +ifeq ($(BR2_PACKAGE_LIBNFS),y) +GVFS_CONF_OPTS += -Dnfs=true +GVFS_DEPENDENCIES += libnfs +else +GVFS_CONF_OPTS += -Dnfs=false +endif + +ifeq ($(BR2_PACKAGE_LIBSECRET),y) +GVFS_DEPENDENCIES += libsecret +GVFS_CONF_OPTS += -Dkeyring=true +else +GVFS_CONF_OPTS += -Dkeyring=false +endif + +ifeq ($(BR2_PACKAGE_LIBSOUP)$(BR2_PACKAGE_LIBXML2),yy) +GVFS_DEPENDENCIES += libsoup libxml2 +GVFS_CONF_OPTS += -Dhttp=true +else +GVFS_CONF_OPTS += -Dhttp=false +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +GVFS_DEPENDENCIES += libusb +GVFS_CONF_OPTS += -Dlibusb=true +else +GVFS_CONF_OPTS += -Dlibusb=false +endif + +ifeq ($(BR2_PACKAGE_SAMBA4),y) +GVFS_DEPENDENCIES += samba4 +GVFS_CONF_OPTS += -Dsmb=true +else +GVFS_CONF_OPTS += -Dsmb=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +GVFS_DEPENDENCIES += systemd +GVFS_CONF_OPTS += -Dlogind=true +else +GVFS_CONF_OPTS += \ + -Dlogind=false \ + -Dsystemduserunitdir=no \ + -Dtmpfilesdir=no +endif + +define GVFS_REMOVE_TARGET_SCHEMAS + rm $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml +endef + +define GVFS_COMPILE_SCHEMAS + $(HOST_DIR)/bin/glib-compile-schemas --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas $(STAGING_DIR)/usr/share/glib-2.0/schemas +endef + +GVFS_POST_INSTALL_TARGET_HOOKS += \ + GVFS_REMOVE_TARGET_SCHEMAS \ + GVFS_COMPILE_SCHEMAS + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/gzip/Config.in b/buildroot-2022.02.1/package/gzip/Config.in similarity index 100% rename from buildroot-2021.05/package/gzip/Config.in rename to buildroot-2022.02.1/package/gzip/Config.in diff --git a/buildroot-2022.02.1/package/gzip/gzip.hash b/buildroot-2022.02.1/package/gzip/gzip.hash new file mode 100644 index 00000000..1cf73ff9 --- /dev/null +++ b/buildroot-2022.02.1/package/gzip/gzip.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://ftp.gnu.org/gnu/gzip/gzip-1.11.tar.xz.sig +# using key 155D3FC500C834486D1EEA677FD9FCCB000BEEEE +sha256 9b9a95d68fdcb936849a4d6fada8bf8686cddf58b9b26c9c4289ed0c92a77907 gzip-1.11.tar.xz +# Locally calculated +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/gzip/gzip.mk b/buildroot-2022.02.1/package/gzip/gzip.mk new file mode 100644 index 00000000..92588fcd --- /dev/null +++ b/buildroot-2022.02.1/package/gzip/gzip.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# gzip +# +################################################################################ + +GZIP_VERSION = 1.11 +GZIP_SOURCE = gzip-$(GZIP_VERSION).tar.xz +GZIP_SITE = $(BR2_GNU_MIRROR)/gzip +# Some other tools expect it to be in /bin +GZIP_CONF_OPTS = --exec-prefix=/ +GZIP_LICENSE = GPL-3.0+ +GZIP_LICENSE_FILES = COPYING +GZIP_CPE_ID_VENDOR = gnu +GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes +HOST_GZIP_CONF_ENV += gl_cv_func_fflush_stdin=yes +# configure substitutes $(SHELL) for the shell shebang in scripts like +# gzexe. Unfortunately, the same $(SHELL) variable will also be used by +# make to run its commands. Fortunately, /bin/sh is always a POSIX shell +# on both the target and host systems that we support. Even with this, +# the configure check is slightly broken and prints a bogus warning: +# "using /bin/sh, even though it may have file descriptor bugs" +GZIP_CONF_ENV += ac_cv_path_shell=/bin/sh + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/hackrf/0001-Don-t-require-a-C-compiler.patch b/buildroot-2022.02.1/package/hackrf/0001-Don-t-require-a-C-compiler.patch similarity index 100% rename from buildroot-2021.05/package/hackrf/0001-Don-t-require-a-C-compiler.patch rename to buildroot-2022.02.1/package/hackrf/0001-Don-t-require-a-C-compiler.patch diff --git a/buildroot-2021.05/package/hackrf/Config.in b/buildroot-2022.02.1/package/hackrf/Config.in similarity index 100% rename from buildroot-2021.05/package/hackrf/Config.in rename to buildroot-2022.02.1/package/hackrf/Config.in diff --git a/buildroot-2021.05/package/hackrf/hackrf.hash b/buildroot-2022.02.1/package/hackrf/hackrf.hash similarity index 100% rename from buildroot-2021.05/package/hackrf/hackrf.hash rename to buildroot-2022.02.1/package/hackrf/hackrf.hash diff --git a/buildroot-2022.02.1/package/hackrf/hackrf.mk b/buildroot-2022.02.1/package/hackrf/hackrf.mk new file mode 100644 index 00000000..d80f87e6 --- /dev/null +++ b/buildroot-2022.02.1/package/hackrf/hackrf.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# hackrf +# +################################################################################ + +HACKRF_VERSION = 2018.01.1 +HACKRF_SITE = https://github.com/mossmann/hackrf/releases/download/v$(HACKRF_VERSION) +HACKRF_SOURCE = hackrf-$(HACKRF_VERSION).tar.xz +HACKRF_LICENSE = GPL-2.0+, BSD-3-Clause +HACKRF_LICENSE_FILES = COPYING +HACKRF_DEPENDENCIES = fftw-single libusb +HACKRF_SUBDIR = host +HACKRF_INSTALL_STAGING = YES + +HACKRF_CONF_OPTS += -DBUILD_HACKRF_TOOLS=ON + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +HACKRF_CONF_OPTS += \ + -DINSTALL_UDEV_RULES=ON \ + -DUDEV_RULES_GROUP=plugdev +else +HACKRF_CONF_OPTS += -DINSTALL_UDEV_RULES=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/hans/Config.in b/buildroot-2022.02.1/package/hans/Config.in similarity index 100% rename from buildroot-2021.05/package/hans/Config.in rename to buildroot-2022.02.1/package/hans/Config.in diff --git a/buildroot-2021.05/package/hans/hans.hash b/buildroot-2022.02.1/package/hans/hans.hash similarity index 100% rename from buildroot-2021.05/package/hans/hans.hash rename to buildroot-2022.02.1/package/hans/hans.hash diff --git a/buildroot-2021.05/package/hans/hans.mk b/buildroot-2022.02.1/package/hans/hans.mk similarity index 100% rename from buildroot-2021.05/package/hans/hans.mk rename to buildroot-2022.02.1/package/hans/hans.mk diff --git a/buildroot-2021.05/package/haproxy/Config.in b/buildroot-2022.02.1/package/haproxy/Config.in similarity index 100% rename from buildroot-2021.05/package/haproxy/Config.in rename to buildroot-2022.02.1/package/haproxy/Config.in diff --git a/buildroot-2022.02.1/package/haproxy/haproxy.hash b/buildroot-2022.02.1/package/haproxy/haproxy.hash new file mode 100644 index 00000000..18834c29 --- /dev/null +++ b/buildroot-2022.02.1/package/haproxy/haproxy.hash @@ -0,0 +1,6 @@ +# From: http://www.haproxy.org/download/2.4/src/haproxy-2.4.15.tar.gz.sha256 +sha256 3958b17b7ee80eb79712aaf24f0d83e753683104b36e282a8b3dcd2418e30082 haproxy-2.4.15.tar.gz +# Locally computed: +sha256 0717ca51fceaa25ac9e5ccc62e0c727dcf27796057201fb5fded56a25ff6ca28 LICENSE +sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a doc/lgpl.txt +sha256 ddb9db7630752f8fdc6898f7c99a99eaeeac5213627ecb093df9c82f56175dc7 doc/gpl.txt diff --git a/buildroot-2022.02.1/package/haproxy/haproxy.mk b/buildroot-2022.02.1/package/haproxy/haproxy.mk new file mode 100644 index 00000000..b498549e --- /dev/null +++ b/buildroot-2022.02.1/package/haproxy/haproxy.mk @@ -0,0 +1,93 @@ +################################################################################ +# +# haproxy +# +################################################################################ + +HAPROXY_VERSION_MAJOR = 2.4 +HAPROXY_VERSION = $(HAPROXY_VERSION_MAJOR).15 +HAPROXY_SITE = http://www.haproxy.org/download/$(HAPROXY_VERSION_MAJOR)/src +HAPROXY_LICENSE = GPL-2.0+ and LGPL-2.1+ with exceptions +HAPROXY_LICENSE_FILES = LICENSE doc/lgpl.txt doc/gpl.txt +HAPROXY_CPE_ID_VENDOR = haproxy + +HAPROXY_MAKE_OPTS = \ + LD=$(TARGET_CC) \ + PREFIX=/usr \ + TARGET=custom + +ifeq ($(BR2_STATIC_LIBS),) +HAPROXY_MAKE_OPTS += USE_DL=1 +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +HAPROXY_LIBS += -latomic +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) +# threads uses atomics on gcc >= 4.7 and sync otherwise (see +# include/common/hathreads.h) +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7):$(BR2_TOOLCHAIN_HAS_ATOMIC),y:y) +HAPROXY_MAKE_OPTS += USE_THREAD=1 +else ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7):$(BR2_TOOLCHAIN_HAS_SYNC_4),:y) +HAPROXY_MAKE_OPTS += USE_THREAD=1 +endif +endif + +ifeq ($(BR2_PACKAGE_LUA_5_3),y) +HAPROXY_DEPENDENCIES += lua +HAPROXY_MAKE_OPTS += \ + LUA_LIB_NAME=lua \ + USE_LUA=1 +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +HAPROXY_DEPENDENCIES += openssl +HAPROXY_MAKE_OPTS += USE_OPENSSL=1 +ifeq ($(BR2_STATIC_LIBS),y) +HAPROXY_LIBS += -lz +endif +endif + +# pcre and pcre2 can't be enabled at the same time so prefer pcre2 +ifeq ($(BR2_PACKAGE_PCRE2),y) +HAPROXY_DEPENDENCIES += pcre2 +HAPROXY_MAKE_OPTS += \ + PCRE2_CONFIG=$(STAGING_DIR)/usr/bin/pcre2-config \ + USE_PCRE2=1 +else ifeq ($(BR2_PACKAGE_PCRE),y) +HAPROXY_DEPENDENCIES += pcre +HAPROXY_MAKE_OPTS += \ + PCRE_CONFIG=$(STAGING_DIR)/usr/bin/pcre-config \ + USE_PCRE=1 +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +HAPROXY_DEPENDENCIES += systemd +HAPROXY_MAKE_OPTS += USE_SYSTEMD=1 +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +HAPROXY_DEPENDENCIES += zlib +HAPROXY_MAKE_OPTS += USE_ZLIB=1 +endif + +HAPROXY_MAKE_OPTS += ADDLIB="$(HAPROXY_LIBS)" + +HAPROXY_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_90620),y) +HAPROXY_CFLAGS += -O0 +endif + +define HAPROXY_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + $(HAPROXY_MAKE_OPTS) CFLAGS="$(HAPROXY_CFLAGS)" -C $(@D) +endef + +define HAPROXY_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + $(HAPROXY_MAKE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch b/buildroot-2022.02.1/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch new file mode 100644 index 00000000..9fa09863 --- /dev/null +++ b/buildroot-2022.02.1/package/harfbuzz/0001-meson.build-check-for-pthread.h.patch @@ -0,0 +1,42 @@ +From 96bbf3a3af45d86f790afdf91a6686c37421e92b Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 15 Nov 2020 10:57:37 +0100 +Subject: [PATCH] meson.build: check for pthread.h + +Check for pthread.h otherwise the build will fail with some toolchains +that have libphtread.so but not pthread.h: + +Run-time dependency threads found: YES + +../src/hb-mutex.hh:53:10: fatal error: pthread.h: No such file or directory + #include + ^~~~~~~~~~~ + +Moreover, fix detection of pthread fallback + +Fixes: + - http://autobuild.buildroot.org/results/70c98e89b1d5e5b651d1f6928dc53f465103f57a + +Signed-off-by: Fabrice Fontaine +--- + meson.build | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/meson.build b/meson.build +index bf3925db..6d263d48 100644 +--- a/meson.build ++++ b/meson.build +@@ -281,7 +281,9 @@ endif + # threads + thread_dep = null_dep + if host_machine.system() != 'windows' +- thread_dep = dependency('threads', required: false) ++ if cpp.has_header('pthread.h') ++ thread_dep = dependency('threads', required: false) ++ endif + + if thread_dep.found() + conf.set('HAVE_PTHREAD', 1) +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/harfbuzz/Config.in b/buildroot-2022.02.1/package/harfbuzz/Config.in new file mode 100644 index 00000000..2e4219ee --- /dev/null +++ b/buildroot-2022.02.1/package/harfbuzz/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_HARFBUZZ + bool "harfbuzz" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + help + HarfBuzz is an OpenType text shaping engine + + https://harfbuzz.github.io/ + + Harfbuzz can make optional use of cairo, freetype, + glib2 and icu packages if they are selected. + +comment "harfbuzz needs a toolchain w/ C++, gcc >= 4.9" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/harfbuzz/harfbuzz.hash b/buildroot-2022.02.1/package/harfbuzz/harfbuzz.hash new file mode 100644 index 00000000..61f28655 --- /dev/null +++ b/buildroot-2022.02.1/package/harfbuzz/harfbuzz.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1c13bca136c4f66658059853e2c1253f34c88f4b5c5aba6050aba7b5e0ce2503 harfbuzz-3.3.2.tar.xz +sha256 4345e1735f8bc6d812fed5180cabb5a5e88a4109d332652f2a45c13cfa5ee692 COPYING diff --git a/buildroot-2022.02.1/package/harfbuzz/harfbuzz.mk b/buildroot-2022.02.1/package/harfbuzz/harfbuzz.mk new file mode 100644 index 00000000..1f5dfa88 --- /dev/null +++ b/buildroot-2022.02.1/package/harfbuzz/harfbuzz.mk @@ -0,0 +1,102 @@ +################################################################################ +# +# harfbuzz +# +################################################################################ + +HARFBUZZ_VERSION = 3.3.2 +HARFBUZZ_SITE = https://github.com/harfbuzz/harfbuzz/releases/download/$(HARFBUZZ_VERSION) +HARFBUZZ_SOURCE = harfbuzz-$(HARFBUZZ_VERSION).tar.xz +HARFBUZZ_LICENSE = MIT, ISC (ucdn library) +HARFBUZZ_LICENSE_FILES = COPYING +HARFBUZZ_CPE_ID_VENDOR = harfbuzz_project +HARFBUZZ_INSTALL_STAGING = YES +HARFBUZZ_CONF_OPTS = \ + -Dgdi=disabled \ + -Ddirectwrite=disabled \ + -Dcoretext=disabled \ + -Dtests=disabled \ + -Ddocs=disabled \ + -Dbenchmark=disabled \ + -Dicu_builtin=false \ + -Dexperimental_api=false \ + -Dfuzzer_ldflags="" + +# freetype & glib2 support required by host-pango +HOST_HARFBUZZ_DEPENDENCIES = \ + host-freetype \ + host-libglib2 +HOST_HARFBUZZ_CONF_OPTS = \ + -Dglib=enabled \ + -Dgobject=disabled \ + -Dcairo=disabled \ + -Dicu=disabled \ + -Dgraphite=disabled \ + -Dfreetype=enabled \ + -Dgdi=disabled \ + -Ddirectwrite=disabled \ + -Dcoretext=disabled \ + -Dtests=disabled \ + -Dintrospection=disabled \ + -Ddocs=disabled \ + -Dbenchmark=disabled \ + -Dicu_builtin=false \ + -Dexperimental_api=false \ + -Dfuzzer_ldflags="" + +ifeq ($(BR2_PACKAGE_CAIRO),y) +HARFBUZZ_DEPENDENCIES += cairo +HARFBUZZ_CONF_OPTS += -Dcairo=enabled +else +HARFBUZZ_CONF_OPTS += -Dcairo=disabled +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +HARFBUZZ_DEPENDENCIES += freetype +HARFBUZZ_CONF_OPTS += -Dfreetype=enabled +else +HARFBUZZ_CONF_OPTS += -Dfreetype=disabled +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +HARFBUZZ_DEPENDENCIES += gobject-introspection +HARFBUZZ_CONF_OPTS += \ + -Dgobject=enabled \ + -Dintrospection=enabled +else +HARFBUZZ_CONF_OPTS += \ + -Dgobject=disabled \ + -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_GRAPHITE2),y) +HARFBUZZ_DEPENDENCIES += graphite2 +HARFBUZZ_CONF_OPTS += -Dgraphite=enabled +else +HARFBUZZ_CONF_OPTS += -Dgraphite=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +HARFBUZZ_DEPENDENCIES += libglib2 +HARFBUZZ_CONF_OPTS += -Dglib=enabled +else +HARFBUZZ_CONF_OPTS += -Dglib=disabled +endif + +ifeq ($(BR2_PACKAGE_ICU),y) +HARFBUZZ_DEPENDENCIES += icu +HARFBUZZ_CONF_OPTS += -Dicu=enabled +else +HARFBUZZ_CONF_OPTS += -Dicu=disabled +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) +HARFBUZZ_CXXFLAGS += $(TARGET_CXXFLAGS) -DHB_NO_MT +endif + +ifeq ($(BR2_GCC_VERSION_ARC),y) +HARFBUZZ_CXXFLAGS += -O0 +endif + +$(eval $(meson-package)) +$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/haserl/0001-add-haserl_lualib.inc.patch b/buildroot-2022.02.1/package/haserl/0001-add-haserl_lualib.inc.patch similarity index 100% rename from buildroot-2021.05/package/haserl/0001-add-haserl_lualib.inc.patch rename to buildroot-2022.02.1/package/haserl/0001-add-haserl_lualib.inc.patch diff --git a/buildroot-2021.05/package/haserl/Config.in b/buildroot-2022.02.1/package/haserl/Config.in similarity index 100% rename from buildroot-2021.05/package/haserl/Config.in rename to buildroot-2022.02.1/package/haserl/Config.in diff --git a/buildroot-2021.05/package/haserl/haserl.hash b/buildroot-2022.02.1/package/haserl/haserl.hash similarity index 100% rename from buildroot-2021.05/package/haserl/haserl.hash rename to buildroot-2022.02.1/package/haserl/haserl.hash diff --git a/buildroot-2021.05/package/haserl/haserl.mk b/buildroot-2022.02.1/package/haserl/haserl.mk similarity index 100% rename from buildroot-2021.05/package/haserl/haserl.mk rename to buildroot-2022.02.1/package/haserl/haserl.mk diff --git a/buildroot-2021.05/package/haveged/Config.in b/buildroot-2022.02.1/package/haveged/Config.in similarity index 100% rename from buildroot-2021.05/package/haveged/Config.in rename to buildroot-2022.02.1/package/haveged/Config.in diff --git a/buildroot-2021.05/package/haveged/S21haveged b/buildroot-2022.02.1/package/haveged/S21haveged similarity index 100% rename from buildroot-2021.05/package/haveged/S21haveged rename to buildroot-2022.02.1/package/haveged/S21haveged diff --git a/buildroot-2022.02.1/package/haveged/haveged.hash b/buildroot-2022.02.1/package/haveged/haveged.hash new file mode 100644 index 00000000..8c62ead7 --- /dev/null +++ b/buildroot-2022.02.1/package/haveged/haveged.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 f882919ccead07ad6687a4784c0c501e617321e96dd0118403464969359cf6ad haveged-1.9.15.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/haveged/haveged.mk b/buildroot-2022.02.1/package/haveged/haveged.mk new file mode 100644 index 00000000..7035142a --- /dev/null +++ b/buildroot-2022.02.1/package/haveged/haveged.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# haveged +# +################################################################################ + +HAVEGED_VERSION = 1.9.15 +HAVEGED_SITE = $(call github,jirka-h,haveged,v$(HAVEGED_VERSION)) +HAVEGED_LICENSE = GPL-3.0+ +HAVEGED_LICENSE_FILES = COPYING +HAVEGED_SELINUX_MODULES = entropyd + +# '--disable-init' as buildroot ships its own sysv/systemd init files +HAVEGED_CONF_OPTS = \ + --enable-daemon \ + --disable-diagnostic \ + --disable-init \ + --disable-nistest \ + --disable-enttest \ + --disable-olt \ + --enable-tune + +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +HAVEGED_CONF_OPTS += --enable-clock_gettime +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +HAVEGED_CONF_OPTS += --enable-threads +else +HAVEGED_CONF_OPTS += --disable-threads +endif + +define HAVEGED_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/haveged/S21haveged \ + $(TARGET_DIR)/etc/init.d/S21haveged +endef + +define HAVEGED_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/haveged/haveged.service \ + $(TARGET_DIR)/usr/lib/systemd/system/haveged.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/haveged/haveged.service b/buildroot-2022.02.1/package/haveged/haveged.service similarity index 100% rename from buildroot-2021.05/package/haveged/haveged.service rename to buildroot-2022.02.1/package/haveged/haveged.service diff --git a/buildroot-2022.02.1/package/hdparm/Config.in b/buildroot-2022.02.1/package/hdparm/Config.in new file mode 100644 index 00000000..17ecb65c --- /dev/null +++ b/buildroot-2022.02.1/package/hdparm/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_HDPARM + bool "hdparm" + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + help + hdparm - get/set ATA/SATA drive parameters under Linux + + https://sourceforge.net/projects/hdparm/ diff --git a/buildroot-2022.02.1/package/hdparm/hdparm.hash b/buildroot-2022.02.1/package/hdparm/hdparm.hash new file mode 100644 index 00000000..c039481f --- /dev/null +++ b/buildroot-2022.02.1/package/hdparm/hdparm.hash @@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/hdparm/files/hdparm/ +sha1 c8e24233b4d29506907ad2bf0725f793106c3a78 hdparm-9.63.tar.gz +# Locally computed +sha256 2c0f9d75cdbeda928a25a128cd3d0b7120445ec0910c0b29d4c1038ed1be777f hdparm-9.62.tar.gz +sha256 eae572b06d2733f5c65fbe81680ce2b8a109afee2bdd1a161343c772af0e82e1 LICENSE.TXT diff --git a/buildroot-2022.02.1/package/hdparm/hdparm.mk b/buildroot-2022.02.1/package/hdparm/hdparm.mk new file mode 100644 index 00000000..2c3b372d --- /dev/null +++ b/buildroot-2022.02.1/package/hdparm/hdparm.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# hdparm +# +################################################################################ + +HDPARM_VERSION = 9.63 +HDPARM_SITE = https://downloads.sourceforge.net/project/hdparm/hdparm +HDPARM_LICENSE = BSD-Style +HDPARM_LICENSE_FILES = LICENSE.TXT + +define HDPARM_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + STRIP=/bin/true +endef + +define HDPARM_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/hdparm $(TARGET_DIR)/sbin/hdparm +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/heimdal/heimdal.hash b/buildroot-2022.02.1/package/heimdal/heimdal.hash similarity index 100% rename from buildroot-2021.05/package/heimdal/heimdal.hash rename to buildroot-2022.02.1/package/heimdal/heimdal.hash diff --git a/buildroot-2022.02.1/package/heimdal/heimdal.mk b/buildroot-2022.02.1/package/heimdal/heimdal.mk new file mode 100644 index 00000000..ce509c7a --- /dev/null +++ b/buildroot-2022.02.1/package/heimdal/heimdal.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# heimdal +# +################################################################################ + +HEIMDAL_VERSION = 7.7.0 +HEIMDAL_SITE = https://github.com/heimdal/heimdal/releases/download/heimdal-$(HEIMDAL_VERSION) +HOST_HEIMDAL_DEPENDENCIES = host-e2fsprogs host-ncurses host-pkgconf +HEIMDAL_INSTALL_STAGING = YES +HEIMDAL_MAKE = $(MAKE1) +# static because of -fPIC issues with e2fsprogs on x86_64 host +HOST_HEIMDAL_CONF_OPTS = \ + --disable-shared \ + --enable-static \ + --without-openldap \ + --without-capng \ + --with-db-type-preference= \ + --without-sqlite3 \ + --without-libintl \ + --without-openssl \ + --without-berkeley-db \ + --without-readline \ + --without-libedit \ + --without-hesiod \ + --without-x \ + --disable-mdb-db \ + --disable-ndbm-db \ + --disable-heimdal-documentation + +# Don't use compile_et from e2fsprogs as it raises a build failure with samba4 +HOST_HEIMDAL_CONF_ENV = ac_cv_prog_COMPILE_ET=no MAKEINFO=true +HEIMDAL_LICENSE = BSD-3-Clause +HEIMDAL_LICENSE_FILES = LICENSE +HEIMDAL_CPE_ID_VENDOR = heimdal_project + +# We need compile_et for samba4 +define HOST_HEIMDAL_INSTALL_COMPILE_ET + $(INSTALL) -m 0755 $(@D)/lib/com_err/compile_et \ + $(HOST_DIR)/bin/compile_et +endef + +# We need asn1_compile in the PATH for samba4 +define HOST_HEIMDAL_MAKE_SYMLINK + ln -sf $(HOST_DIR)/libexec/heimdal/asn1_compile \ + $(HOST_DIR)/bin/asn1_compile +endef + +HOST_HEIMDAL_POST_INSTALL_HOOKS += \ + HOST_HEIMDAL_INSTALL_COMPILE_ET \ + HOST_HEIMDAL_MAKE_SYMLINK + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/heirloom-mailx/0001-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch b/buildroot-2022.02.1/package/heirloom-mailx/0001-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch similarity index 100% rename from buildroot-2021.05/package/heirloom-mailx/0001-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch rename to buildroot-2022.02.1/package/heirloom-mailx/0001-Patched-out-SSL2-support-since-it-is-no-longer-suppo.patch diff --git a/buildroot-2021.05/package/heirloom-mailx/0002-fix-libressl-support.patch b/buildroot-2022.02.1/package/heirloom-mailx/0002-fix-libressl-support.patch similarity index 100% rename from buildroot-2021.05/package/heirloom-mailx/0002-fix-libressl-support.patch rename to buildroot-2022.02.1/package/heirloom-mailx/0002-fix-libressl-support.patch diff --git a/buildroot-2022.02.1/package/heirloom-mailx/Config.in b/buildroot-2022.02.1/package/heirloom-mailx/Config.in new file mode 100644 index 00000000..c5b0bcbe --- /dev/null +++ b/buildroot-2022.02.1/package/heirloom-mailx/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_HEIRLOOM_MAILX + bool "heirloom-mailx" + # uses fork() + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2 if BR2_PACKAGE_LIBOPENSSL + help + Heirloom mailx (previously known as nail) is a mail user + agent for Unix systems. + + It can be used as a command-line mail reader, but also more + importantly on embedded systems, as a mail composition + program and SMTP client, in order to send e-mail from shell + scripts. It supports SMTP authentication (login, plain, + cram-md5), SMTPS, MIME encoding of attachements, and more. + + http://heirloom.sourceforge.net/mailx.html + +comment "heirloom-mailx needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/heirloom-mailx/heirloom-mailx.hash b/buildroot-2022.02.1/package/heirloom-mailx/heirloom-mailx.hash similarity index 100% rename from buildroot-2021.05/package/heirloom-mailx/heirloom-mailx.hash rename to buildroot-2022.02.1/package/heirloom-mailx/heirloom-mailx.hash diff --git a/buildroot-2022.02.1/package/heirloom-mailx/heirloom-mailx.mk b/buildroot-2022.02.1/package/heirloom-mailx/heirloom-mailx.mk new file mode 100644 index 00000000..e851e1df --- /dev/null +++ b/buildroot-2022.02.1/package/heirloom-mailx/heirloom-mailx.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# heirloom-mailx +# +################################################################################ + +HEIRLOOM_MAILX_VERSION = 12.5 +HEIRLOOM_MAILX_SOURCE = heirloom-mailx_$(HEIRLOOM_MAILX_VERSION).orig.tar.gz +HEIRLOOM_MAILX_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/h/heirloom-mailx +HEIRLOOM_MAILX_LICENSE = BSD-4-Clause, Bellcore (base64), OpenVision (imap_gssapi), RSA Data Security (md5), Network Working Group (hmac), MPL-1.1 (nss) +HEIRLOOM_MAILX_LICENSE_FILES = COPYING +HEIRLOOM_MAILX_CPE_ID_VENDOR = heirloom +HEIRLOOM_MAILX_CPE_ID_PRODUCT = mailx + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +HEIRLOOM_MAILX_DEPENDENCIES += openssl +endif + +define HEIRLOOM_MAILX_CONFIGURE_CMDS + (cd $(@D); $(TARGET_CONFIGURE_OPTS) $(SHELL) ./makeconfig) +endef + +HEIRLOOM_MAILX_CFLAGS = $(TARGET_CFLAGS) + +# -fPIC is needed to build with NIOS2 toolchains. +HEIRLOOM_MAILX_CFLAGS += -fPIC + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101916),y) +HEIRLOOM_MAILX_CFLAGS += -O0 +endif + +define HEIRLOOM_MAILX_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + CFLAGS="$(HEIRLOOM_MAILX_CFLAGS)" \ + -C $(@D) +endef + +define HEIRLOOM_MAILX_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + PREFIX=/usr \ + UCBINSTALL=$(INSTALL) \ + STRIP=/bin/true \ + DESTDIR=$(TARGET_DIR) \ + install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/hiawatha/Config.in b/buildroot-2022.02.1/package/hiawatha/Config.in new file mode 100644 index 00000000..4b1a3ca8 --- /dev/null +++ b/buildroot-2022.02.1/package/hiawatha/Config.in @@ -0,0 +1,36 @@ +comment "hiawatha needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +config BR2_PACKAGE_HIAWATHA + bool "hiawatha" + # needs fork() + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_ZLIB + help + Hiawatha is a webserver for Unix and has been built with + security in mind. This resulted in a highly secure + webserver, in both code and features. + + This webserver runs on Linux, BSD, MacOS X and + Windows. Although it can run any kind of CGI / FastCGI + application, it has been optimized for usage with PHP. Most + well known PHP frameworks and CMS applications have been + tested with Hiawatha and ran without a problem. Hiawatha + supports many web and HTTP features such as CGI/FastCGI, + HTTP authentication, virtual host support, request + pipelining, keep alive connections, URL rewriting and many + more. + + http://www.hiawatha-webserver.org/ + +if BR2_PACKAGE_HIAWATHA + +config BR2_PACKAGE_HIAWATHA_SSL + bool "hiawatha TLS support" + +endif diff --git a/buildroot-2022.02.1/package/hiawatha/hiawatha.hash b/buildroot-2022.02.1/package/hiawatha/hiawatha.hash new file mode 100644 index 00000000..b06dc2e6 --- /dev/null +++ b/buildroot-2022.02.1/package/hiawatha/hiawatha.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 d21722986f64163e30a560283123cdf4d6cb5ff8188ab754387b26724565268d hiawatha-11.1.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE diff --git a/buildroot-2022.02.1/package/hiawatha/hiawatha.mk b/buildroot-2022.02.1/package/hiawatha/hiawatha.mk new file mode 100644 index 00000000..25da98a4 --- /dev/null +++ b/buildroot-2022.02.1/package/hiawatha/hiawatha.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# hiawatha +# +################################################################################ + +HIAWATHA_VERSION = 11.1 +HIAWATHA_SITE = https://www.hiawatha-webserver.org/files +HIAWATHA_DEPENDENCIES = zlib +HIAWATHA_LICENSE = GPL-2.0 +HIAWATHA_LICENSE_FILES = LICENSE +HIAWATHA_CPE_ID_VENDOR = hiawatha-webserver + +# Disable system mbedtls as hiawatha needs mbedtls 3.x +HIAWATHA_CONF_OPTS = \ + -DINSTALL_MBEDTLS_HEADERS=OFF \ + -DUSE_SYSTEM_MBEDTLS=OFF \ + -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ + -DENABLE_TOOLKIT=OFF \ + -DCONFIG_DIR=/etc/hiawatha \ + -DLOG_DIR=/var/log \ + -DPID_DIR=/var/run \ + -DWEBROOT_DIR=/var/www/hiawatha \ + -DWORK_DIR=/var/lib/hiawatha + +define HIAWATHA_MBEDTLS_DISABLE_ASM + $(SED) '/^#define MBEDTLS_AESNI_C/d' \ + $(@D)/mbedtls/include/mbedtls/mbedtls_config.h + $(SED) '/^#define MBEDTLS_HAVE_ASM/d' \ + $(@D)/mbedtls/include/mbedtls/mbedtls_config.h + $(SED) '/^#define MBEDTLS_PADLOCK_C/d' \ + $(@D)/mbedtls/include/mbedtls/mbedtls_config.h +endef + +# ARM in thumb mode breaks debugging with asm optimizations +# Microblaze asm optimizations are broken in general +# MIPS R6 asm is not yet supported +ifeq ($(BR2_ENABLE_DEBUG)$(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_ARM_INSTRUCTIONS_THUMB2),yy) +HIAWATHA_POST_CONFIGURE_HOOKS += HIAWATHA_MBEDTLS_DISABLE_ASM +else ifeq ($(BR2_microblaze)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) +HIAWATHA_POST_CONFIGURE_HOOKS += HIAWATHA_MBEDTLS_DISABLE_ASM +endif + +ifeq ($(BR2_PACKAGE_HIAWATHA_SSL),y) +HIAWATHA_CONF_OPTS += -DENABLE_TLS=ON +else +HIAWATHA_CONF_OPTS += -DENABLE_TLS=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBXSLT),y) +HIAWATHA_CONF_OPTS += -DENABLE_XSLT=ON +HIAWATHA_DEPENDENCIES += libxslt +else +HIAWATHA_CONF_OPTS += -DENABLE_XSLT=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/hicolor-icon-theme/Config.in b/buildroot-2022.02.1/package/hicolor-icon-theme/Config.in similarity index 100% rename from buildroot-2021.05/package/hicolor-icon-theme/Config.in rename to buildroot-2022.02.1/package/hicolor-icon-theme/Config.in diff --git a/buildroot-2021.05/package/hicolor-icon-theme/hicolor-icon-theme.hash b/buildroot-2022.02.1/package/hicolor-icon-theme/hicolor-icon-theme.hash similarity index 100% rename from buildroot-2021.05/package/hicolor-icon-theme/hicolor-icon-theme.hash rename to buildroot-2022.02.1/package/hicolor-icon-theme/hicolor-icon-theme.hash diff --git a/buildroot-2021.05/package/hicolor-icon-theme/hicolor-icon-theme.mk b/buildroot-2022.02.1/package/hicolor-icon-theme/hicolor-icon-theme.mk similarity index 100% rename from buildroot-2021.05/package/hicolor-icon-theme/hicolor-icon-theme.mk rename to buildroot-2022.02.1/package/hicolor-icon-theme/hicolor-icon-theme.mk diff --git a/buildroot-2021.05/package/hidapi/Config.in b/buildroot-2022.02.1/package/hidapi/Config.in similarity index 100% rename from buildroot-2021.05/package/hidapi/Config.in rename to buildroot-2022.02.1/package/hidapi/Config.in diff --git a/buildroot-2022.02.1/package/hidapi/hidapi.hash b/buildroot-2022.02.1/package/hidapi/hidapi.hash new file mode 100644 index 00000000..95046386 --- /dev/null +++ b/buildroot-2022.02.1/package/hidapi/hidapi.hash @@ -0,0 +1,6 @@ +# Locally calculated +sha256 391d8e52f2d6a5cf76e2b0c079cfefe25497ba1d4659131297081fc0cd744632 hidapi-0.11.0.tar.gz +sha256 7d3b087c34f35d4d538e3bcddd1ff8f66e92f9ef336881999482800ddf840913 LICENSE.txt +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE-gpl3.txt +sha256 30eb1bef29b46f8ba7ab8b416035dbd93cb034a45481dd97815b944284582cd2 LICENSE-bsd.txt +sha256 fb5436aa63d1b71a8dfbf74ecaf1a5b4e1ec4df7f80074d11fec99284f69ca5f LICENSE-orig.txt diff --git a/buildroot-2022.02.1/package/hidapi/hidapi.mk b/buildroot-2022.02.1/package/hidapi/hidapi.mk new file mode 100644 index 00000000..9341f018 --- /dev/null +++ b/buildroot-2022.02.1/package/hidapi/hidapi.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# hidapi +# +################################################################################ + +HIDAPI_VERSION = 0.11.0 +HIDAPI_SITE = $(call github,libusb,hidapi,hidapi-$(HIDAPI_VERSION)) +HIDAPI_INSTALL_STAGING = YES +# No configure provided, so we need to autoreconf. +HIDAPI_AUTORECONF = YES +HIDAPI_LICENSE = GPL-3.0 or BSD-3-Clause or HIDAPI license +HIDAPI_LICENSE_FILES = LICENSE.txt LICENSE-gpl3.txt LICENSE-bsd.txt LICENSE-orig.txt + +HIDAPI_DEPENDENCIES = libusb libgudev + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +HIDAPI_DEPENDENCIES += libiconv +HIDAPI_CONF_ENV += LIBS="-liconv" +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/hiredis/0001-CMakeLists.txt-do-not-force-SHARED.patch b/buildroot-2022.02.1/package/hiredis/0001-CMakeLists.txt-do-not-force-SHARED.patch similarity index 100% rename from buildroot-2021.05/package/hiredis/0001-CMakeLists.txt-do-not-force-SHARED.patch rename to buildroot-2022.02.1/package/hiredis/0001-CMakeLists.txt-do-not-force-SHARED.patch diff --git a/buildroot-2021.05/package/hiredis/0002-CMakeLists.txt-allow-building-without-a-C-compiler.patch b/buildroot-2022.02.1/package/hiredis/0002-CMakeLists.txt-allow-building-without-a-C-compiler.patch similarity index 100% rename from buildroot-2021.05/package/hiredis/0002-CMakeLists.txt-allow-building-without-a-C-compiler.patch rename to buildroot-2022.02.1/package/hiredis/0002-CMakeLists.txt-allow-building-without-a-C-compiler.patch diff --git a/buildroot-2021.05/package/hiredis/0003-Explicitly-set-c99-in-CMake.patch b/buildroot-2022.02.1/package/hiredis/0003-Explicitly-set-c99-in-CMake.patch similarity index 100% rename from buildroot-2021.05/package/hiredis/0003-Explicitly-set-c99-in-CMake.patch rename to buildroot-2022.02.1/package/hiredis/0003-Explicitly-set-c99-in-CMake.patch diff --git a/buildroot-2021.05/package/hiredis/Config.in b/buildroot-2022.02.1/package/hiredis/Config.in similarity index 100% rename from buildroot-2021.05/package/hiredis/Config.in rename to buildroot-2022.02.1/package/hiredis/Config.in diff --git a/buildroot-2022.02.1/package/hiredis/hiredis.hash b/buildroot-2022.02.1/package/hiredis/hiredis.hash new file mode 100644 index 00000000..a45cf68f --- /dev/null +++ b/buildroot-2022.02.1/package/hiredis/hiredis.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 e0ab696e2f07deb4252dda45b703d09854e53b9703c7d52182ce5a22616c3819 hiredis-1.0.2.tar.gz +sha256 dca05ce8fc87a8261783b4aed0deef8becc9350b6aa770bc714d0c1833b896eb COPYING diff --git a/buildroot-2022.02.1/package/hiredis/hiredis.mk b/buildroot-2022.02.1/package/hiredis/hiredis.mk new file mode 100644 index 00000000..a571951f --- /dev/null +++ b/buildroot-2022.02.1/package/hiredis/hiredis.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# hiredis +# +################################################################################ + +HIREDIS_VERSION_MAJOR = 1.0 +HIREDIS_VERSION = $(HIREDIS_VERSION_MAJOR).2 +HIREDIS_SITE = $(call github,redis,hiredis,v$(HIREDIS_VERSION)) +HIREDIS_LICENSE = BSD-3-Clause +HIREDIS_LICENSE_FILES = COPYING +HIREDIS_CPE_ID_VENDOR = redislabs +HIREDIS_INSTALL_STAGING = YES +HIREDIS_CONF_OPTS = -DDISABLE_TESTS=ON + +ifeq ($(BR2_PACKAGE_OPENSSL)$(BR2_TOOLCHAIN_HAS_THREADS),yy) +HIREDIS_CONF_OPTS += -DENABLE_SSL=ON +HIREDIS_DEPENDENCIES += openssl +else +HIREDIS_CONF_OPTS += -DENABLE_SSL=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/hostapd/Config.in b/buildroot-2022.02.1/package/hostapd/Config.in new file mode 100644 index 00000000..f4206cee --- /dev/null +++ b/buildroot-2022.02.1/package/hostapd/Config.in @@ -0,0 +1,116 @@ +config BR2_PACKAGE_HOSTAPD + bool "hostapd" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL + help + User space daemon for wireless access points. + + It implements IEEE 802.11 access point management, + IEEE 802.1X/WPA/WPA2/EAP authenticators, RADIUS client, + EAP server and RADIUS authentication server. + + http://w1.fi/hostapd/ + +if BR2_PACKAGE_HOSTAPD + +config BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP + bool "Enable hostap driver" + default y + select BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS + help + Enable support for Host AP driver. + +config BR2_PACKAGE_HOSTAPD_DRIVER_NL80211 + bool "Enable nl80211 driver" + default y + depends on BR2_TOOLCHAIN_HAS_THREADS # libnl + select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS + help + Enable support for drivers using the nl80211 kernel interface. + +comment "nl80211 driver needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_HOSTAPD_DRIVER_WIRED + bool "Enable wired driver" + help + Enable support for wired authenticator. + +config BR2_PACKAGE_HOSTAPD_DRIVER_NONE + bool + default y + depends on !BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP + depends on !BR2_PACKAGE_HOSTAPD_DRIVER_NL80211 + depends on !BR2_PACKAGE_HOSTAPD_DRIVER_WIRED + +config BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS + bool + +config BR2_PACKAGE_HOSTAPD_ACS + bool "Enable ACS" + default y + depends on BR2_PACKAGE_HOSTAPD_DRIVER_NL80211 + help + Enable support for standard ACS (Automatic Channel Selection). + Some propietary drivers use a custom algorithm which requires + channel to be set to '0' (which enables ACS in the config), + causing hostapd to use the standard one which doesn't work + for those cases. + +comment "ACS is currently only supported through the nl80211 driver" + depends on !BR2_PACKAGE_HOSTAPD_DRIVER_NL80211 + +config BR2_PACKAGE_HOSTAPD_EAP + bool "Enable EAP" + depends on !BR2_STATIC_LIBS + help + Enable support for EAP and RADIUS. + +comment "hostapd EAP needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_HOSTAPD_WPS + bool "Enable WPS" + help + Enable support for Wi-Fi Protected Setup. + +config BR2_PACKAGE_HOSTAPD_WPA3 + bool "Enable WPA3 support" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + help + Enable WPA3 support including OWE, SAE, DPP + +config BR2_PACKAGE_HOSTAPD_VLAN + bool "Enable VLAN support" + default y + help + Enable support for VLANs. + +if BR2_PACKAGE_HOSTAPD_VLAN + +config BR2_PACKAGE_HOSTAPD_VLAN_DYNAMIC + bool "Enable dynamic VLAN support" + default y + help + Enable support for fully dynamic VLANs. + This enables hostapd to automatically create + bridge and VLAN interfaces if necessary. + +config BR2_PACKAGE_HOSTAPD_VLAN_NETLINK + bool "Use netlink-based API for VLAN operations" + default y + depends on BR2_TOOLCHAIN_HAS_THREADS # libnl + select BR2_PACKAGE_LIBNL + help + Use netlink-based kernel API for VLAN operations + instead of ioctl(). + +comment "netlink-based VLAN support needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +endif # BR2_PACKAGE_HOSTAPD_VLAN + +endif diff --git a/buildroot-2022.02.1/package/hostapd/hostapd.hash b/buildroot-2022.02.1/package/hostapd/hostapd.hash new file mode 100644 index 00000000..4e130d01 --- /dev/null +++ b/buildroot-2022.02.1/package/hostapd/hostapd.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 206e7c799b678572c2e3d12030238784bc4a9f82323b0156b4c9466f1498915d hostapd-2.10.tar.gz +sha256 af01e1d1ee065a1054d20ebe8a78a016f1fb1133b73e6a9d50801b165bb280c7 README diff --git a/buildroot-2022.02.1/package/hostapd/hostapd.mk b/buildroot-2022.02.1/package/hostapd/hostapd.mk new file mode 100644 index 00000000..99f0cdf1 --- /dev/null +++ b/buildroot-2022.02.1/package/hostapd/hostapd.mk @@ -0,0 +1,152 @@ +################################################################################ +# +# hostapd +# +################################################################################ + +HOSTAPD_VERSION = 2.10 +HOSTAPD_SITE = http://w1.fi/releases +HOSTAPD_SUBDIR = hostapd +HOSTAPD_CONFIG = $(HOSTAPD_DIR)/$(HOSTAPD_SUBDIR)/.config +HOSTAPD_DEPENDENCIES = host-pkgconf +HOSTAPD_CFLAGS = $(TARGET_CFLAGS) +HOSTAPD_LICENSE = BSD-3-Clause +HOSTAPD_LICENSE_FILES = README + +HOSTAPD_CPE_ID_VENDOR = w1.fi +HOSTAPD_SELINUX_MODULES = hostapd + +HOSTAPD_CONFIG_ENABLE = \ + CONFIG_INTERNAL_LIBTOMMATH \ + CONFIG_DEBUG_FILE \ + CONFIG_DEBUG_SYSLOG + +HOSTAPD_CONFIG_DISABLE = + +# Try to use openssl if it's already available +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +HOSTAPD_DEPENDENCIES += host-pkgconf libopenssl +HOSTAPD_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` +HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' +else +HOSTAPD_CONFIG_DISABLE += CONFIG_EAP_PWD CONFIG_EAP_TEAP +HOSTAPD_CONFIG_EDITS += 's/\#\(CONFIG_TLS=\).*/\1internal/' +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_DRIVER_HOSTAP),) +HOSTAPD_CONFIG_DISABLE += CONFIG_DRIVER_HOSTAP +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_DRIVER_NL80211),) +HOSTAPD_CONFIG_DISABLE += CONFIG_DRIVER_NL80211 +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_DRIVER_WIRED),y) +HOSTAPD_CONFIG_ENABLE += CONFIG_DRIVER_WIRED +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_DRIVER_NONE),y) +HOSTAPD_CONFIG_ENABLE += CONFIG_DRIVER_NONE +endif + +# Add options for wireless drivers +ifeq ($(BR2_PACKAGE_HOSTAPD_HAS_WIFI_DRIVERS),y) +HOSTAPD_CONFIG_ENABLE += \ + CONFIG_HS20 \ + CONFIG_IEEE80211AC \ + CONFIG_IEEE80211N \ + CONFIG_IEEE80211R \ + CONFIG_INTERWORKING +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_ACS),y) +HOSTAPD_CONFIG_ENABLE += CONFIG_ACS +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_EAP),y) +HOSTAPD_CONFIG_ENABLE += \ + CONFIG_EAP \ + CONFIG_RADIUS_SERVER + +# Enable both TLS v1.1 (CONFIG_TLSV11) and v1.2 (CONFIG_TLSV12) +HOSTAPD_CONFIG_ENABLE += CONFIG_TLSV1 +else +HOSTAPD_CONFIG_DISABLE += CONFIG_EAP +HOSTAPD_CONFIG_ENABLE += \ + CONFIG_NO_ACCOUNTING \ + CONFIG_NO_RADIUS +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_WPS),y) +HOSTAPD_CONFIG_ENABLE += CONFIG_WPS +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y) +HOSTAPD_CONFIG_ENABLE += \ + CONFIG_DPP \ + CONFIG_SAE \ + CONFIG_OWE +else +HOSTAPD_CONFIG_DISABLE += \ + CONFIG_DPP \ + CONFIG_SAE \ + CONFIG_OWE +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN),) +HOSTAPD_CONFIG_ENABLE += CONFIG_NO_VLAN +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN_DYNAMIC),y) +HOSTAPD_CONFIG_ENABLE += \ + CONFIG_FULL_DYNAMIC_VLAN \ + NEED_LINUX_IOCTL +endif + +ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN_NETLINK),y) +HOSTAPD_CONFIG_ENABLE += CONFIG_VLAN_NETLINK +endif + +# Options for building with libnl +ifeq ($(BR2_PACKAGE_LIBNL),y) +HOSTAPD_DEPENDENCIES += libnl +HOSTAPD_CFLAGS += -I$(STAGING_DIR)/usr/include/libnl3/ +HOSTAPD_CONFIG_ENABLE += CONFIG_LIBNL32 +# libnl-3 needs -lm (for rint) and -lpthread if linking statically +# And library order matters hence stick -lnl-3 first since it's appended +# in the hostapd Makefiles as in LIBS+=-lnl-3 ... thus failing +ifeq ($(BR2_STATIC_LIBS),y) +HOSTAPD_LIBS += -lnl-3 -lm -lpthread +endif +endif + +define HOSTAPD_CONFIGURE_CMDS + cp $(@D)/hostapd/defconfig $(HOSTAPD_CONFIG) + sed -i $(patsubst %,-e 's/^#\(%\)/\1/',$(HOSTAPD_CONFIG_ENABLE)) \ + $(patsubst %,-e 's/^\(%\)/#\1/',$(HOSTAPD_CONFIG_DISABLE)) \ + $(patsubst %,-e %,$(HOSTAPD_CONFIG_EDITS)) \ + $(HOSTAPD_CONFIG) + # set requested configuration options not listed in hostapd defconfig + for s in $(HOSTAPD_CONFIG_ENABLE) ; do \ + if ! grep -q "^$${s}" $(HOSTAPD_CONFIG); then \ + echo "$${s}=y" >> $(HOSTAPD_CONFIG) ; \ + fi \ + done +endef + +define HOSTAPD_BUILD_CMDS + $(TARGET_MAKE_ENV) CFLAGS="$(HOSTAPD_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(HOSTAPD_LIBS)" \ + $(MAKE) CC="$(TARGET_CC)" -C $(@D)/$(HOSTAPD_SUBDIR) +endef + +define HOSTAPD_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd \ + $(TARGET_DIR)/usr/sbin/hostapd + $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd_cli \ + $(TARGET_DIR)/usr/bin/hostapd_cli + $(INSTALL) -m 0644 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd.conf \ + $(TARGET_DIR)/etc/hostapd.conf +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch b/buildroot-2022.02.1/package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch similarity index 100% rename from buildroot-2021.05/package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch rename to buildroot-2022.02.1/package/hplip/0001-build-use-pkg-config-to-discover-libusb.patch diff --git a/buildroot-2021.05/package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch b/buildroot-2022.02.1/package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch similarity index 100% rename from buildroot-2021.05/package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch rename to buildroot-2022.02.1/package/hplip/0002-configure.in-fix-AM_INIT_AUTOMAKE-call.patch diff --git a/buildroot-2021.05/package/hplip/Config.in b/buildroot-2022.02.1/package/hplip/Config.in similarity index 100% rename from buildroot-2021.05/package/hplip/Config.in rename to buildroot-2022.02.1/package/hplip/Config.in diff --git a/buildroot-2021.05/package/hplip/hplip.hash b/buildroot-2022.02.1/package/hplip/hplip.hash similarity index 100% rename from buildroot-2021.05/package/hplip/hplip.hash rename to buildroot-2022.02.1/package/hplip/hplip.hash diff --git a/buildroot-2022.02.1/package/hplip/hplip.mk b/buildroot-2022.02.1/package/hplip/hplip.mk new file mode 100644 index 00000000..59a0f8ac --- /dev/null +++ b/buildroot-2022.02.1/package/hplip/hplip.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# hplip +# +################################################################################ + +HPLIP_VERSION = 3.17.10 +HPLIP_SITE = http://downloads.sourceforge.net/hplip/hplip +HPLIP_AUTORECONF = YES +HPLIP_DEPENDENCIES = cups libusb jpeg host-pkgconf +HPLIP_LICENSE = GPL-2.0, BSD-3-Clause, MIT +HPLIP_LICENSE_FILES = COPYING +HPLIP_CPE_ID_VENDOR = hp +HPLIP_CPE_ID_PRODUCT = linux_imaging_and_printing_project + +HPLIP_CONF_OPTS = \ + --disable-qt4 \ + --disable-scan-build \ + --disable-gui-build \ + --disable-doc-build \ + --disable-network-build \ + --enable-hpcups-install \ + --disable-hpijs-install \ + --enable-cups-ppd-install \ + --enable-cups-drv-install \ + --disable-foomatic-ppd-install \ + --disable-foomatic-drv-install \ + --disable-foomatic-rip-hplip-install \ + --enable-new-hpcups \ + --enable-lite-build + +# build system does not support cups-config +HPLIP_CONF_ENV = LIBS=`$(STAGING_DIR)/usr/bin/cups-config --libs` + +ifeq ($(BR2_PACKAGE_DBUS),y) +HPLIP_CONF_OPTS += --enable-dbus-build +HPLIP_DEPENDENCIES += dbus +else +HPLIP_CONF_OPTS += --disable-dbus-build +endif + +define HPLIP_POST_INSTALL_TARGET_FIXUP + mkdir -p $(TARGET_DIR)/usr/share/hplip/data/models + cp $(@D)/data/models/* $(TARGET_DIR)/usr/share/hplip/data/models +endef +HPLIP_POST_INSTALL_TARGET_HOOKS += HPLIP_POST_INSTALL_TARGET_FIXUP + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch b/buildroot-2022.02.1/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch new file mode 100644 index 00000000..0ac79766 --- /dev/null +++ b/buildroot-2022.02.1/package/htop/0001-configure.ac-fix-static-build-with-hwloc.patch @@ -0,0 +1,54 @@ +From 4ccad4604586c921b4ad831b254496c2cdece9fc Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 2 Apr 2022 17:27:01 +0200 +Subject: [PATCH] configure.ac: fix static build with hwloc + +Retrieve hwloc dependencies through pkg-config to avoid the following +static build failure: + +checking for hwloc_get_proc_cpubind in -lhwloc... no +configure: error: can not find required library libhwloc + +This build failure is raised because without pkg-config, hwloc +dependencies such as libxml2 are not retrieved: + +configure:8999: checking for hwloc_get_proc_cpubind in -lhwloc +configure:9022: /home/autobuild/autobuild/instance-0/output-1/host/bin/powerpc-buildroot-linux-uclibc-gcc -o conftest -D_GNU_SOURCE -I/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -static -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static conftest.c -lhwloc -llzma -L/home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib -lncurses -lm >&5 +/home/autobuild/autobuild/instance-0/output-1/host/lib/gcc/powerpc-buildroot-linux-uclibc/10.3.0/../../../../powerpc-buildroot-linux-uclibc/bin/ld: /home/autobuild/autobuild/instance-0/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/bin/../../usr/lib/libhwloc.a(topology-xml-libxml.o): in function `hwloc_libxml_free_buffer': +topology-xml-libxml.c:(.text+0x6a): undefined reference to `xmlFree' + +Fixes: + - http://autobuild.buildroot.org/results/5d815ec08c580005a863df6ac9ac29deff7d4128 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/htop-dev/htop/commit/4ccad4604586c921b4ad831b254496c2cdece9fc] +--- + configure.ac | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 4ecac1ecf..6bb7eb69f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -456,8 +456,18 @@ case "$enable_hwloc" in + no) + ;; + yes) +- AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) +- AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ m4_ifdef([PKG_PROG_PKG_CONFIG], [ ++ PKG_PROG_PKG_CONFIG() ++ PKG_CHECK_MODULES(HWLOC, hwloc, [ ++ CFLAGS="$CFLAGS $HWLOC_CFLAGS" LIBS="$LIBS $HWLOC_LIBS" ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) ++ ], [ ++ AC_CHECK_LIB([hwloc], [hwloc_get_proc_cpubind], [], [AC_MSG_ERROR([can not find required library libhwloc])]) ++ AC_CHECK_HEADERS([hwloc.h], [], [AC_MSG_ERROR([can not find require header file hwloc.h])]) ++ ]) + ;; + *) + AC_MSG_ERROR([bad value '$enable_hwloc' for --enable-hwloc]) diff --git a/buildroot-2021.05/package/htop/Config.in b/buildroot-2022.02.1/package/htop/Config.in similarity index 100% rename from buildroot-2021.05/package/htop/Config.in rename to buildroot-2022.02.1/package/htop/Config.in diff --git a/buildroot-2022.02.1/package/htop/htop.hash b/buildroot-2022.02.1/package/htop/htop.hash new file mode 100644 index 00000000..d7c39be4 --- /dev/null +++ b/buildroot-2022.02.1/package/htop/htop.hash @@ -0,0 +1,5 @@ +# From https://github.com/htop-dev/htop/releases/download/3.1.2/htop-3.1.2.tar.xz.sha256 +sha256 884bce5b58cb113127860b9e368609019e92416a81550fdf0752052f3a64b388 htop-3.1.2.tar.xz + +# Locally calculated +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/htop/htop.mk b/buildroot-2022.02.1/package/htop/htop.mk new file mode 100644 index 00000000..1e7b171a --- /dev/null +++ b/buildroot-2022.02.1/package/htop/htop.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# htop +# +################################################################################ + +HTOP_VERSION = 3.1.2 +HTOP_SOURCE = htop-$(HTOP_VERSION).tar.xz +HTOP_SITE = https://github.com/htop-dev/htop/releases/download/$(HTOP_VERSION) +HTOP_DEPENDENCIES = ncurses +HTOP_AUTORECONF = YES +# Prevent htop build system from searching the host paths +HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) +HTOP_LICENSE = GPL-2.0+ +HTOP_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_HWLOC),y) +HTOP_CONF_OPTS += --enable-hwloc +HTOP_DEPENDENCIES += hwloc +else +HTOP_CONF_OPTS += --disable-hwloc +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +HTOP_CONF_OPTS += --enable-capabilities +HTOP_DEPENDENCIES += libcap +else +HTOP_CONF_OPTS += --disable-capabilities +endif + +ifeq ($(BR2_PACKAGE_LM_SENSORS),y) +HTOP_CONF_OPTS += --enable-sensors +HTOP_DEPENDENCIES += lm-sensors +else +HTOP_CONF_OPTS += --disable-sensors +endif + +ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) +HTOP_CONF_OPTS += --enable-unicode +else +HTOP_CONF_OPTS += --disable-unicode +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch b/buildroot-2022.02.1/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch new file mode 100644 index 00000000..6dca2bab --- /dev/null +++ b/buildroot-2022.02.1/package/htpdate/0001-Allow-SSL_LIBS-to-be-configured-from-environment.patch @@ -0,0 +1,37 @@ +From 4ba90fedd553c3b06c925fb6ff5245a5dcabace9 Mon Sep 17 00:00:00 2001 +From: Eddy Vervest +Date: Sat, 29 Jan 2022 10:58:13 +0100 +Subject: [PATCH] Allow SSL_LIBS to be configured from environment + +[Retrieved from: +https://github.com/twekkel/htpdate/commit/4ba90fedd553c3b06c925fb6ff5245a5dcabace9] +Signed-off-by: Fabrice Fontaine +--- + Makefile | 7 ++++--- + 1 file changed, 4 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index 4796efa..cf077e6 100644 +--- a/Makefile ++++ b/Makefile +@@ -2,8 +2,9 @@ prefix = $(DESTDIR)/usr + bindir = ${prefix}/sbin + mandir = ${prefix}/share/man + +-CC ?= gcc +-CFLAGS += -Wall -std=c11 -pedantic -O2 ++CC ?= gcc ++CFLAGS += -Wall -std=c11 -pedantic -O2 ++SSL_LIBS ?= -lssl + + INSTALL ?= install -c + STRIP ?= strip -s +@@ -14,7 +15,7 @@ htpdate: htpdate.c + $(CC) $(CFLAGS) -o htpdate htpdate.c + + https: htpdate.c +- $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c -lssl ++ $(CC) $(CFLAGS) -DENABLE_HTTPS -o htpdate htpdate.c $(SSL_LIBS) + + install: all + $(STRIP) htpdate diff --git a/buildroot-2022.02.1/package/htpdate/Config.in b/buildroot-2022.02.1/package/htpdate/Config.in new file mode 100644 index 00000000..d2a71fb6 --- /dev/null +++ b/buildroot-2022.02.1/package/htpdate/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_HTPDATE + bool "htpdate" + depends on BR2_USE_MMU # fork() + help + The HTTP Time Protocol (HTP) is used to synchronize a + computer's time with web servers as reference time source. + + https://github.com/twekkel/htpdate diff --git a/buildroot-2022.02.1/package/htpdate/S43htpdate b/buildroot-2022.02.1/package/htpdate/S43htpdate new file mode 100644 index 00000000..5971d706 --- /dev/null +++ b/buildroot-2022.02.1/package/htpdate/S43htpdate @@ -0,0 +1,51 @@ +#!/bin/sh + +DAEMON="htpdate" +PIDFILE="/var/run/$DAEMON.pid" + +HTPDATE_ARGS="-a -s -t https://google.com" +test -r "/etc/default/$DAEMON" && . "/etc/default/$DAEMON" + +start() { + printf 'Starting %s: ' "$DAEMON" + # shellcheck disable=SC2086 # we need the word splitting + start-stop-daemon -S -q -x "/usr/sbin/$DAEMON" \ + -- -D -i "$PIDFILE" $HTPDATE_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -q -p "$PIDFILE" + status=$? + if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + # Restart, since there is no true "reload" feature. + restart;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2022.02.1/package/htpdate/htpdate.hash b/buildroot-2022.02.1/package/htpdate/htpdate.hash new file mode 100644 index 00000000..b56522ea --- /dev/null +++ b/buildroot-2022.02.1/package/htpdate/htpdate.hash @@ -0,0 +1,3 @@ +# Locally calculated: +sha256 74f34b013eba6f99369819fa4b3d48e9ab5e531ad04f6af59cc04e8777c76ed7 htpdate-1.3.3.tar.gz +sha256 7989949df09a0489434723c571541604cd3f2e0418c6a6aa9179bfaf8ec807cc LICENSE diff --git a/buildroot-2022.02.1/package/htpdate/htpdate.mk b/buildroot-2022.02.1/package/htpdate/htpdate.mk new file mode 100644 index 00000000..e32480fc --- /dev/null +++ b/buildroot-2022.02.1/package/htpdate/htpdate.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# htpdate +# +################################################################################ + +HTPDATE_VERSION = 1.3.3 +HTPDATE_SITE = $(call github,twekkel,htpdate,v$(HTPDATE_VERSION)) +HTPDATE_LICENSE = GPL-2.0+ +HTPDATE_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +HTPDATE_BUILD_OPTS = \ + https \ + SSL_LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`" +HTPDATE_DEPENDENCIES += openssl host-pkgconf +endif + +define HTPDATE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(HTPDATE_BUILD_OPTS) +endef + +define HTPDATE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + DESTDIR=$(TARGET_DIR) install +endef + +define HTPDATE_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/htpdate/S43htpdate \ + $(TARGET_DIR)/etc/init.d/S43htpdate +endef + +define HTPDATE_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/htpdate/htpdate.service \ + $(TARGET_DIR)/usr/lib/systemd/system/htpdate.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/htpdate/htpdate.service b/buildroot-2022.02.1/package/htpdate/htpdate.service new file mode 100644 index 00000000..95220581 --- /dev/null +++ b/buildroot-2022.02.1/package/htpdate/htpdate.service @@ -0,0 +1,13 @@ +[Unit] +Description=htpdate daemon +After=network.target + +[Service] +Type=forking +PIDFile=/run/htpdate.pid +Environment=HTPDATE_ARGS="-a -s -t https://www.google.com" +EnvironmentFile=-/etc/default/htpdate +ExecStart=/usr/sbin/htpdate -D -i /run/htpdate.pid $HTPDATE_ARGS + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/httping/0001-fix-math-library-linking.patch b/buildroot-2022.02.1/package/httping/0001-fix-math-library-linking.patch similarity index 100% rename from buildroot-2021.05/package/httping/0001-fix-math-library-linking.patch rename to buildroot-2022.02.1/package/httping/0001-fix-math-library-linking.patch diff --git a/buildroot-2021.05/package/httping/0002-Makefile-allow-build-without-gettext.patch b/buildroot-2022.02.1/package/httping/0002-Makefile-allow-build-without-gettext.patch similarity index 100% rename from buildroot-2021.05/package/httping/0002-Makefile-allow-build-without-gettext.patch rename to buildroot-2022.02.1/package/httping/0002-Makefile-allow-build-without-gettext.patch diff --git a/buildroot-2021.05/package/httping/Config.in b/buildroot-2022.02.1/package/httping/Config.in similarity index 100% rename from buildroot-2021.05/package/httping/Config.in rename to buildroot-2022.02.1/package/httping/Config.in diff --git a/buildroot-2021.05/package/httping/httping.hash b/buildroot-2022.02.1/package/httping/httping.hash similarity index 100% rename from buildroot-2021.05/package/httping/httping.hash rename to buildroot-2022.02.1/package/httping/httping.hash diff --git a/buildroot-2021.05/package/httping/httping.mk b/buildroot-2022.02.1/package/httping/httping.mk similarity index 100% rename from buildroot-2021.05/package/httping/httping.mk rename to buildroot-2022.02.1/package/httping/httping.mk diff --git a/buildroot-2021.05/package/hwdata/Config.in b/buildroot-2022.02.1/package/hwdata/Config.in similarity index 100% rename from buildroot-2021.05/package/hwdata/Config.in rename to buildroot-2022.02.1/package/hwdata/Config.in diff --git a/buildroot-2022.02.1/package/hwdata/hwdata.hash b/buildroot-2022.02.1/package/hwdata/hwdata.hash new file mode 100644 index 00000000..78611068 --- /dev/null +++ b/buildroot-2022.02.1/package/hwdata/hwdata.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 0d3d21af57822f35141b524808fd9e4823dbb413df338606195010dc0aa1c935 hwdata-0.355.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 21d0406f93e884a050426ebc21931839a45d56bfcbcbfdda7686d583f36f107f LICENSE diff --git a/buildroot-2022.02.1/package/hwdata/hwdata.mk b/buildroot-2022.02.1/package/hwdata/hwdata.mk new file mode 100644 index 00000000..4dd9c9e2 --- /dev/null +++ b/buildroot-2022.02.1/package/hwdata/hwdata.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# hwdata +# +################################################################################ + +HWDATA_VERSION = 0.355 +HWDATA_SITE = $(call github,vcrhonek,hwdata,v$(HWDATA_VERSION)) +HWDATA_LICENSE = GPL-2.0+, BSD-3-Clause, XFree86 1.0 +HWDATA_LICENSE_FILES = COPYING LICENSE + +HWDATA_FILES = \ + $(if $(BR2_PACKAGE_HWDATA_IAB_OUI_TXT),iab.txt oui.txt) \ + $(if $(BR2_PACKAGE_HWDATA_PCI_IDS),pci.ids) \ + $(if $(BR2_PACKAGE_HWDATA_PNP_IDS),pnp.ids) \ + $(if $(BR2_PACKAGE_HWDATA_USB_IDS),usb.ids) + +ifneq ($(strip $(HWDATA_FILES)),) +define HWDATA_INSTALL_TARGET_CMDS + $(INSTALL) -d -m 755 $(TARGET_DIR)/usr/share/hwdata + $(INSTALL) -m 644 -t $(TARGET_DIR)/usr/share/hwdata \ + $(addprefix $(@D)/,$(HWDATA_FILES)) +endef +endif + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/hwloc/Config.in b/buildroot-2022.02.1/package/hwloc/Config.in similarity index 100% rename from buildroot-2021.05/package/hwloc/Config.in rename to buildroot-2022.02.1/package/hwloc/Config.in diff --git a/buildroot-2022.02.1/package/hwloc/hwloc.hash b/buildroot-2022.02.1/package/hwloc/hwloc.hash new file mode 100644 index 00000000..ca77e330 --- /dev/null +++ b/buildroot-2022.02.1/package/hwloc/hwloc.hash @@ -0,0 +1,4 @@ +# From https://www.open-mpi.org/software/hwloc/v2.7/ +sha256 028cee53ebcfe048283a2b3e87f2fa742c83645fc3ae329134bf5bb8b90384e0 hwloc-2.7.0.tar.bz2 +# Locally computed +sha256 d79a936a42f3c6cb7c8375a023d43f4435f4664d3a5a2ea6b4623cff83c7fc06 COPYING diff --git a/buildroot-2022.02.1/package/hwloc/hwloc.mk b/buildroot-2022.02.1/package/hwloc/hwloc.mk new file mode 100644 index 00000000..04543a7e --- /dev/null +++ b/buildroot-2022.02.1/package/hwloc/hwloc.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# hwloc +# +################################################################################ + +HWLOC_VERSION_MAJOR = 2.7 +HWLOC_VERSION = $(HWLOC_VERSION_MAJOR).0 +HWLOC_SOURCE = hwloc-$(HWLOC_VERSION).tar.bz2 +HWLOC_SITE = https://download.open-mpi.org/release/hwloc/v$(HWLOC_VERSION_MAJOR) +HWLOC_LICENSE = BSD-3-Clause +HWLOC_LICENSE_FILES = COPYING +HWLOC_DEPENDENCIES = host-pkgconf +HWLOC_INSTALL_STAGING = YES +HWLOC_SELINUX_MODULES = hwloc + +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +HWLOC_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 + +HWLOC_CONF_OPTS = \ + --disable-opencl \ + --disable-cuda \ + --disable-nvml \ + --disable-gl \ + --disable-cairo \ + --disable-doxygen + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +HWLOC_CONF_OPTS += --enable-libudev +HWLOC_DEPENDENCIES += udev +else +HWLOC_CONF_OPTS += --disable-libudev +endif + +ifeq ($(BR2_PACKAGE_LIBPCIACCESS),y) +HWLOC_CONF_OPTS += --enable-pci +HWLOC_DEPENDENCIES += libpciaccess +else +HWLOC_CONF_OPTS += --disable-pci +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +HWLOC_CONF_OPTS += --enable-libxml2 +HWLOC_DEPENDENCIES += libxml2 +else +HWLOC_CONF_OPTS += --disable-libxml2 +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) +HWLOC_DEPENDENCIES += ncurses +endif + +ifeq ($(BR2_PACKAGE_NUMACTL),y) +HWLOC_DEPENDENCIES += numactl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/i2c-tools/Config.in b/buildroot-2022.02.1/package/i2c-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/i2c-tools/Config.in rename to buildroot-2022.02.1/package/i2c-tools/Config.in diff --git a/buildroot-2022.02.1/package/i2c-tools/i2c-tools.hash b/buildroot-2022.02.1/package/i2c-tools/i2c-tools.hash new file mode 100644 index 00000000..9bfdacb3 --- /dev/null +++ b/buildroot-2022.02.1/package/i2c-tools/i2c-tools.hash @@ -0,0 +1,7 @@ +# From https://www.kernel.org/pub/software/utils/i2c-tools/sha256sums.asc +sha256 1f899e43603184fac32f34d72498fc737952dbc9c97a8dd9467fadfdf4600cf9 i2c-tools-4.3.tar.xz + +# License files +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL +sha256 2293b6e9076984d02184ff620baac557143e16cfa47d88f0a791d05a1271742c README diff --git a/buildroot-2022.02.1/package/i2c-tools/i2c-tools.mk b/buildroot-2022.02.1/package/i2c-tools/i2c-tools.mk new file mode 100644 index 00000000..5c9ce266 --- /dev/null +++ b/buildroot-2022.02.1/package/i2c-tools/i2c-tools.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# i2c-tools +# +################################################################################ + +I2C_TOOLS_VERSION = 4.3 +I2C_TOOLS_SOURCE = i2c-tools-$(I2C_TOOLS_VERSION).tar.xz +I2C_TOOLS_SITE = https://www.kernel.org/pub/software/utils/i2c-tools +I2C_TOOLS_LICENSE = GPL-2.0+, GPL-2.0 (py-smbus), LGPL-2.1+ (libi2c) +I2C_TOOLS_LICENSE_FILES = COPYING COPYING.LGPL README +I2C_TOOLS_CPE_ID_VENDOR = i2c-tools_project +I2C_TOOLS_MAKE_OPTS = EXTRA=eeprog +I2C_TOOLS_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +I2C_TOOLS_DEPENDENCIES += python3 +endif + +ifeq ($(BR2_STATIC_LIBS),y) +I2C_TOOLS_MAKE_OPTS += BUILD_DYNAMIC_LIB=0 USE_STATIC_LIB=1 +endif + +ifeq ($(BR2_SHARED_LIBS),y) +I2C_TOOLS_MAKE_OPTS += BUILD_STATIC_LIB=0 +endif + +# Build/install steps mirror the distutil python package type in the python package +# infrastructure +ifeq ($(BR2_PACKAGE_PYTHON3),y) +# BASE_ENV taken from PKG_PYTHON_DISTUTILS_ENV in package/pkg-python.mk +I2C_TOOLS_PYTHON_BASE_ENV = \ + $(PKG_PYTHON_DISTUTILS_ENV) \ + CFLAGS="$(TARGET_CFLAGS) -I../include" + +define I2C_TOOLS_BUILD_PYSMBUS + (cd $(@D)/py-smbus; \ + $(I2C_TOOLS_PYTHON_BASE_ENV) \ + $(HOST_DIR)/bin/python setup.py build \ + $(PKG_PYTHON_DISTUTILS_BUILD_OPTS)) +endef + +define I2C_TOOLS_INSTALL_PYSMBUS + (cd $(@D)/py-smbus; \ + $(I2C_TOOLS_PYTHON_BASE_ENV) \ + $(HOST_DIR)/bin/python setup.py install \ + $(PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS)) +endef + +endif # BR2_PACKAGE_PYTHON3 + +define I2C_TOOLS_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) $(I2C_TOOLS_MAKE_OPTS) -C $(@D) + $(I2C_TOOLS_BUILD_PYSMBUS) +endef + +define I2C_TOOLS_INSTALL_TARGET_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) $(I2C_TOOLS_MAKE_OPTS) \ + DESTDIR="$(TARGET_DIR)" PREFIX=/usr -C $(@D) install + $(I2C_TOOLS_INSTALL_PYSMBUS) +endef + +define I2C_TOOLS_INSTALL_STAGING_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) $(I2C_TOOLS_MAKE_OPTS) \ + DESTDIR="$(STAGING_DIR)" PREFIX=/usr -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/i2pd/Config.in b/buildroot-2022.02.1/package/i2pd/Config.in new file mode 100644 index 00000000..c1ba08ef --- /dev/null +++ b/buildroot-2022.02.1/package/i2pd/Config.in @@ -0,0 +1,40 @@ +config BR2_PACKAGE_I2PD + bool "i2pd" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_ATOMIC + # pthread_condattr_setclock + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # boost + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_ZLIB + help + i2pd (I2P Daemon) is a full-featured C++ implementation of I2P + client. + + I2P (Invisible Internet Protocol) is a universal anonymous + network layer. + All communications over I2P are anonymous and end-to-end + encrypted, participants don't reveal their real IP addresses. + + http://i2pd.website + +comment "i2pd needs a toolchain w/ C++, NPTL, wchar" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR + +comment "i2pd needs exception_ptr" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/i2pd/S99i2pd b/buildroot-2022.02.1/package/i2pd/S99i2pd similarity index 100% rename from buildroot-2021.05/package/i2pd/S99i2pd rename to buildroot-2022.02.1/package/i2pd/S99i2pd diff --git a/buildroot-2022.02.1/package/i2pd/i2pd.hash b/buildroot-2022.02.1/package/i2pd/i2pd.hash new file mode 100644 index 00000000..99c474a2 --- /dev/null +++ b/buildroot-2022.02.1/package/i2pd/i2pd.hash @@ -0,0 +1,4 @@ +# From https://github.com/PurpleI2P/i2pd/releases/download/2.40.0/SHA512SUMS +sha512 58d10417f3fd2c2fb427fb88b30ccd3e03053c84aa7ac6d3e346c388f2376d1768846bec5ee8d5134dd62d5712b20f890af11083634f94095b1117f6494c25fd i2pd-2.40.0.tar.gz +# Locally computed: +sha256 9c87aff490b272254d716475e3c4973f5f64af1d18f9f6962c1e61e252e1ad9a LICENSE diff --git a/buildroot-2022.02.1/package/i2pd/i2pd.mk b/buildroot-2022.02.1/package/i2pd/i2pd.mk new file mode 100644 index 00000000..8eea0949 --- /dev/null +++ b/buildroot-2022.02.1/package/i2pd/i2pd.mk @@ -0,0 +1,61 @@ +################################################################################ +# +# i2pd +# +################################################################################ + +I2PD_VERSION = 2.40.0 +I2PD_SITE = $(call github,PurpleI2P,i2pd,$(I2PD_VERSION)) +I2PD_LICENSE = BSD-3-Clause +I2PD_LICENSE_FILES = LICENSE +I2PD_SUBDIR = build +I2PD_DEPENDENCIES = \ + boost \ + openssl \ + zlib + +I2PD_CONF_OPTS += -DWITH_GUI=OFF + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +I2PD_CONF_OPTS += \ + -DHAVE_CXX_ATOMICS_WITHOUT_LIB=OFF \ + -DHAVE_CXX_ATOMICS64_WITHOUT_LIB=OFF +endif + +ifeq ($(BR2_STATIC_LIBS),y) +I2PD_CONF_OPTS += -DWITH_STATIC=ON +else +I2PD_CONF_OPTS += -DWITH_STATIC=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBMINIUPNPC),y) +I2PD_DEPENDENCIES += libminiupnpc +I2PD_CONF_OPTS += -DWITH_UPNP=ON +else +I2PD_CONF_OPTS += -DWITH_UPNP=OFF +endif + +define I2PD_INSTALL_CONFIGURATION_FILES + $(INSTALL) -D -m 644 $(@D)/contrib/i2pd.conf \ + $(TARGET_DIR)/etc/i2pd/i2pd.conf + $(INSTALL) -D -m 644 $(@D)/contrib/tunnels.conf \ + $(TARGET_DIR)/etc/i2pd/tunnels.conf + mkdir -p $(TARGET_DIR)/var/lib/i2pd + cp -a $(@D)/contrib/certificates $(TARGET_DIR)/var/lib/i2pd +endef + +define I2PD_USERS + i2pd -1 i2pd -1 * /var/lib/i2pd - - I2P Daemon +endef + +define I2PD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/i2pd/S99i2pd \ + $(TARGET_DIR)/etc/init.d/S99i2pd +endef + +define I2PD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/i2pd/i2pd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/i2pd.service +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/i2pd/i2pd.service b/buildroot-2022.02.1/package/i2pd/i2pd.service similarity index 100% rename from buildroot-2021.05/package/i2pd/i2pd.service rename to buildroot-2022.02.1/package/i2pd/i2pd.service diff --git a/buildroot-2021.05/package/i7z/0001-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/i7z/0001-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/i7z/0001-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/i7z/0001-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/i7z/Config.in b/buildroot-2022.02.1/package/i7z/Config.in similarity index 100% rename from buildroot-2021.05/package/i7z/Config.in rename to buildroot-2022.02.1/package/i7z/Config.in diff --git a/buildroot-2021.05/package/i7z/i7z.hash b/buildroot-2022.02.1/package/i7z/i7z.hash similarity index 100% rename from buildroot-2021.05/package/i7z/i7z.hash rename to buildroot-2022.02.1/package/i7z/i7z.hash diff --git a/buildroot-2021.05/package/i7z/i7z.mk b/buildroot-2022.02.1/package/i7z/i7z.mk similarity index 100% rename from buildroot-2021.05/package/i7z/i7z.mk rename to buildroot-2022.02.1/package/i7z/i7z.mk diff --git a/buildroot-2022.02.1/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch b/buildroot-2022.02.1/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch new file mode 100644 index 00000000..4d865348 --- /dev/null +++ b/buildroot-2022.02.1/package/ibm-sw-tpm2/0001-Use-LONG_BIT-to-define-RADIX_BITS.patch @@ -0,0 +1,80 @@ +From 7ea7fe229ea6195938d9eadbe783cb1aa74380ba Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sun, 26 Apr 2020 15:33:39 +0200 +Subject: [PATCH] Use LONG_BIT to define RADIX_BITS + +This allows to avoid having to support each CPU architecture +individually. + +Also, add the necessary defines in the makefile to expose +LONG_BIT. Adding those defines end up requiring using +as we're now using >= POSIX.1-2001 definitions of fd_set and friends. + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Vincent Fazio +--- + src/LibSupport.h | 21 +++------------------ + src/TcpServerPosix.c | 1 + + src/makefile | 2 ++ + 3 files changed, 6 insertions(+), 18 deletions(-) + +diff --git a/src/LibSupport.h b/src/LibSupport.h +index 5055560..48b1e16 100644 +--- a/src/LibSupport.h ++++ b/src/LibSupport.h +@@ -64,24 +64,9 @@ + #ifndef _LIB_SUPPORT_H_ + #define _LIB_SUPPORT_H_ + +-/* kgold added power and s390 */ +-#ifndef RADIX_BITS +-# if defined(__x86_64__) || defined(__x86_64) \ +- || defined(__amd64__) || defined(__amd64) \ +- || defined(_WIN64) || defined(_M_X64) \ +- || defined(_M_ARM64) || defined(__aarch64__) \ +- || defined(__powerpc64__) || defined(__PPC64__) || defined(__ppc64__) \ +- || defined(__s390x__) +-# define RADIX_BITS 64 +-# elif defined(__i386__) || defined(__i386) || defined(i386) \ +- || defined(_WIN32) || defined(_M_IX86) \ +- || defined(_M_ARM) || defined(__arm__) || defined(__thumb__) \ +- || defined(__powerpc__) || defined(__PPC__) +-# define RADIX_BITS 32 +-# else +-# error Unable to determine RADIX_BITS from compiler environment +-# endif +-#endif // RADIX_BITS ++#include ++ ++#define RADIX_BITS LONG_BIT + + // These macros use the selected libraries to the proper include files. + #define LIB_QUOTE(_STRING_) #_STRING_ +diff --git a/src/TcpServerPosix.c b/src/TcpServerPosix.c +index cad0402..6293cdd 100644 +--- a/src/TcpServerPosix.c ++++ b/src/TcpServerPosix.c +@@ -66,6 +66,7 @@ + + #include + #include ++#include + #include + #include + #include +diff --git a/src/makefile b/src/makefile +index f124e78..6ee128e 100644 +--- a/src/makefile ++++ b/src/makefile +@@ -46,6 +46,8 @@ CCFLAGS = -Wall \ + -c -ggdb -O0 \ + -DTPM_POSIX \ + -D_POSIX_ \ ++ -D_DEFAULT_SOURCE \ ++ -D_XOPEN_SOURCE=500 \ + -DTPM_NUVOTON + + # add this line for big endian platforms +-- +2.17.1 + diff --git a/buildroot-2021.05/package/ibm-sw-tpm2/Config.in b/buildroot-2022.02.1/package/ibm-sw-tpm2/Config.in similarity index 100% rename from buildroot-2021.05/package/ibm-sw-tpm2/Config.in rename to buildroot-2022.02.1/package/ibm-sw-tpm2/Config.in diff --git a/buildroot-2022.02.1/package/ibm-sw-tpm2/ibm-sw-tpm2.hash b/buildroot-2022.02.1/package/ibm-sw-tpm2/ibm-sw-tpm2.hash new file mode 100644 index 00000000..bddcd57f --- /dev/null +++ b/buildroot-2022.02.1/package/ibm-sw-tpm2/ibm-sw-tpm2.hash @@ -0,0 +1,6 @@ +# from https://sourceforge.net/projects/ibmswtpm2/files +sha1 a2a5335024a2edc1739f08b99e716fa355be627d ibmtpm1563.tar.gz +md5 13013612b3a13dc935fefe1a5684179c ibmtpm1563.tar.gz +# Locally computed: +sha256 55145928ad2b24f34be6a0eacf9fb492e10e0ea919b8428c721fa970e85d6147 ibmtpm1661.tar.gz +sha256 dd2d31b560011ea673e197251e710e52669d911367d83cd3cfd018f8ed58bde9 LICENSE diff --git a/buildroot-2022.02.1/package/ibm-sw-tpm2/ibm-sw-tpm2.mk b/buildroot-2022.02.1/package/ibm-sw-tpm2/ibm-sw-tpm2.mk new file mode 100644 index 00000000..1e4dc949 --- /dev/null +++ b/buildroot-2022.02.1/package/ibm-sw-tpm2/ibm-sw-tpm2.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# ibm-sw-tpm2 +# +################################################################################ + +IBM_SW_TPM2_VERSION = 1661 +IBM_SW_TPM2_SOURCE = ibmtpm$(IBM_SW_TPM2_VERSION).tar.gz +IBM_SW_TPM2_SITE = https://sourceforge.net/projects/ibmswtpm2/files +IBM_SW_TPM2_LICENSE = BSD-3-Clause +IBM_SW_TPM2_LICENSE_FILES = LICENSE +IBM_SW_TPM2_DEPENDENCIES = openssl + +define IBM_SW_TPM2_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) +endef + +define IBM_SW_TPM2_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src $(TARGET_CONFIGURE_OPTS) install \ + DESTDIR=$(TARGET_DIR) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch b/buildroot-2022.02.1/package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch new file mode 100644 index 00000000..5cd302c9 --- /dev/null +++ b/buildroot-2022.02.1/package/ibrcommon/0001-ibrcommon-data-File.cpp-support-POSIX-basename-call.patch @@ -0,0 +1,55 @@ +From d667b13a87cf3207599a19eb981a893a1d7a67ee Mon Sep 17 00:00:00 2001 +From: Brendan Heading +Date: Mon, 14 Sep 2015 23:25:52 +0100 +Subject: [PATCH] ibrcommon/data/File.cpp: support POSIX basename call + +Firstly, and somewhat strangely, musl chooses not to provide a basename(3) +prototype within whenever __cplusplus is defined. This can be +solved by including the header defined by POSIX 1003.1 whenever +__GLIBC__ is not defined. + +However, this leads to a second problem. POSIX defines the function as +char* basename(char*) and this is the only version supported by musl. +However, the std::string.cstr() method returns a const char*. + +POSIX says that the string parameter can be modified. However the GNU +implementation never modifies it. glibc therefore supports an extension +when compiling under C++ by also supplying +const char* basename(const char*). This extension is not present on musl +which is the cause of the failure. + +The solution is reasonably straightforward; test if __GLIBC__ is defined +before calling basename. If not, use the fallback already provided for +other platforms whereby basename() is called on a temporary copy. + +Signed-off-by: Brendan Heading +Upstream-status: pending +--- + ibrcommon/data/File.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/ibrcommon/data/File.cpp b/ibrcommon/data/File.cpp +index 31af4ae..68e9b4f 100644 +--- a/ibrcommon/data/File.cpp ++++ b/ibrcommon/data/File.cpp +@@ -35,7 +35,7 @@ + #include + #include + +-#if !defined(HAVE_FEATURES_H) || defined(ANDROID) ++#if !defined(HAVE_FEATURES_H) || !defined(__GLIBC__) || defined(ANDROID) + #include + #endif + +@@ -225,7 +225,7 @@ namespace ibrcommon + + std::string File::getBasename() const + { +-#if !defined(ANDROID) && defined(HAVE_FEATURES_H) ++#if !defined(ANDROID) && defined(HAVE_FEATURES_H) && defined(__GLIBC__) + return std::string(basename(_path.c_str())); + #else + char path[_path.length()+1]; +-- +2.4.3 + diff --git a/buildroot-2021.05/package/ibrcommon/0002-ibrcommon-added-openssl-1.1-compatibility-264.patch b/buildroot-2022.02.1/package/ibrcommon/0002-ibrcommon-added-openssl-1.1-compatibility-264.patch similarity index 100% rename from buildroot-2021.05/package/ibrcommon/0002-ibrcommon-added-openssl-1.1-compatibility-264.patch rename to buildroot-2022.02.1/package/ibrcommon/0002-ibrcommon-added-openssl-1.1-compatibility-264.patch diff --git a/buildroot-2021.05/package/ibrcommon/0003-ibrcommon-ssl-gcm-fix-static-build-with-openssl.patch b/buildroot-2022.02.1/package/ibrcommon/0003-ibrcommon-ssl-gcm-fix-static-build-with-openssl.patch similarity index 100% rename from buildroot-2021.05/package/ibrcommon/0003-ibrcommon-ssl-gcm-fix-static-build-with-openssl.patch rename to buildroot-2022.02.1/package/ibrcommon/0003-ibrcommon-ssl-gcm-fix-static-build-with-openssl.patch diff --git a/buildroot-2021.05/package/ibrcommon/Config.in b/buildroot-2022.02.1/package/ibrcommon/Config.in similarity index 100% rename from buildroot-2021.05/package/ibrcommon/Config.in rename to buildroot-2022.02.1/package/ibrcommon/Config.in diff --git a/buildroot-2021.05/package/ibrcommon/ibrcommon.hash b/buildroot-2022.02.1/package/ibrcommon/ibrcommon.hash similarity index 100% rename from buildroot-2021.05/package/ibrcommon/ibrcommon.hash rename to buildroot-2022.02.1/package/ibrcommon/ibrcommon.hash diff --git a/buildroot-2022.02.1/package/ibrcommon/ibrcommon.mk b/buildroot-2022.02.1/package/ibrcommon/ibrcommon.mk new file mode 100644 index 00000000..d9e843eb --- /dev/null +++ b/buildroot-2022.02.1/package/ibrcommon/ibrcommon.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# ibrcommon +# +################################################################################ + +IBRCOMMON_VERSION = 1.0.1 +IBRCOMMON_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases +IBRCOMMON_INSTALL_STAGING = YES +IBRCOMMON_LICENSE = Apache-2.0 +IBRCOMMON_LICENSE_FILES = COPYING README +IBRCOMMON_DEPENDENCIES = host-pkgconf +IBRCOMMON_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +IBRCOMMON_DEPENDENCIES += openssl +IBRCOMMON_CONF_OPTS += --with-openssl +else +IBRCOMMON_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_PACKAGE_LIBNL),y) +IBRCOMMON_DEPENDENCIES += libnl +IBRCOMMON_CONF_OPTS += --with-lowpan +else +IBRCOMMON_CONF_OPTS += --without-lowpan +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +IBRCOMMON_DEPENDENCIES += libxml2 +IBRCOMMON_CONF_OPTS += --with-xml +else +IBRCOMMON_CONF_OPTS += --without-xml +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ibrdtn-tools/Config.in b/buildroot-2022.02.1/package/ibrdtn-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/ibrdtn-tools/Config.in rename to buildroot-2022.02.1/package/ibrdtn-tools/Config.in diff --git a/buildroot-2021.05/package/ibrdtn-tools/ibrdtn-tools.hash b/buildroot-2022.02.1/package/ibrdtn-tools/ibrdtn-tools.hash similarity index 100% rename from buildroot-2021.05/package/ibrdtn-tools/ibrdtn-tools.hash rename to buildroot-2022.02.1/package/ibrdtn-tools/ibrdtn-tools.hash diff --git a/buildroot-2022.02.1/package/ibrdtn-tools/ibrdtn-tools.mk b/buildroot-2022.02.1/package/ibrdtn-tools/ibrdtn-tools.mk new file mode 100644 index 00000000..77dbfc10 --- /dev/null +++ b/buildroot-2022.02.1/package/ibrdtn-tools/ibrdtn-tools.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# ibrdtn-tools +# +################################################################################ + +IBRDTN_TOOLS_VERSION = 1.0.1 +IBRDTN_TOOLS_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases +IBRDTN_TOOLS_LICENSE = Apache-2.0 +IBRDTN_TOOLS_LICENSE_FILES = COPYING +IBRDTN_TOOLS_DEPENDENCIES = ibrcommon ibrdtn host-pkgconf +IBRDTN_TOOLS_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +ifeq ($(BR2_STATIC_LIBS),y) +IBRDTN_TOOLS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread" +endif + +ifeq ($(BR2_PACKAGE_LIBDAEMON),y) +IBRDTN_TOOLS_CONF_OPTS += --with-libdaemon +IBRDTN_TOOLS_DEPENDENCIES += libdaemon +else +IBRDTN_TOOLS_CONF_OPTS += --without-libdaemon +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) +IBRDTN_TOOLS_CONF_OPTS += --with-libarchive +IBRDTN_TOOLS_DEPENDENCIES += libarchive +else +IBRDTN_TOOLS_CONF_OPTS += --without-libarchive +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ibrdtn/Config.in b/buildroot-2022.02.1/package/ibrdtn/Config.in similarity index 100% rename from buildroot-2021.05/package/ibrdtn/Config.in rename to buildroot-2022.02.1/package/ibrdtn/Config.in diff --git a/buildroot-2021.05/package/ibrdtn/ibrdtn.hash b/buildroot-2022.02.1/package/ibrdtn/ibrdtn.hash similarity index 100% rename from buildroot-2021.05/package/ibrdtn/ibrdtn.hash rename to buildroot-2022.02.1/package/ibrdtn/ibrdtn.hash diff --git a/buildroot-2022.02.1/package/ibrdtn/ibrdtn.mk b/buildroot-2022.02.1/package/ibrdtn/ibrdtn.mk new file mode 100644 index 00000000..99ff92d4 --- /dev/null +++ b/buildroot-2022.02.1/package/ibrdtn/ibrdtn.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# ibrdtn +# +################################################################################ + +IBRDTN_VERSION = 1.0.1 +IBRDTN_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases +IBRDTN_INSTALL_STAGING = YES +IBRDTN_LICENSE = Apache-2.0 +IBRDTN_LICENSE_FILES = COPYING +IBRDTN_DEPENDENCIES = ibrcommon host-pkgconf +IBRDTN_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +ifeq ($(BR2_PACKAGE_ZLIB),y) +IBRDTN_CONF_OPTS += --with-compression +IBRDTN_DEPENDENCIES += zlib +else +IBRDTN_CONF_OPTS += --without-compression +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +IBRDTN_CONF_OPTS += --with-glib +IBRDTN_DEPENDENCIES += libglib2 +else +IBRDTN_CONF_OPTS += --without-glib +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ibrdtnd/0001-ibrdtnd-added-openssl-compatibility.patch b/buildroot-2022.02.1/package/ibrdtnd/0001-ibrdtnd-added-openssl-compatibility.patch similarity index 100% rename from buildroot-2021.05/package/ibrdtnd/0001-ibrdtnd-added-openssl-compatibility.patch rename to buildroot-2022.02.1/package/ibrdtnd/0001-ibrdtnd-added-openssl-compatibility.patch diff --git a/buildroot-2021.05/package/ibrdtnd/0002-SecurityCertificateManager.cpp-include-cstring-267.patch b/buildroot-2022.02.1/package/ibrdtnd/0002-SecurityCertificateManager.cpp-include-cstring-267.patch similarity index 100% rename from buildroot-2021.05/package/ibrdtnd/0002-SecurityCertificateManager.cpp-include-cstring-267.patch rename to buildroot-2022.02.1/package/ibrdtnd/0002-SecurityCertificateManager.cpp-include-cstring-267.patch diff --git a/buildroot-2021.05/package/ibrdtnd/Config.in b/buildroot-2022.02.1/package/ibrdtnd/Config.in similarity index 100% rename from buildroot-2021.05/package/ibrdtnd/Config.in rename to buildroot-2022.02.1/package/ibrdtnd/Config.in diff --git a/buildroot-2021.05/package/ibrdtnd/ibrdtnd.hash b/buildroot-2022.02.1/package/ibrdtnd/ibrdtnd.hash similarity index 100% rename from buildroot-2021.05/package/ibrdtnd/ibrdtnd.hash rename to buildroot-2022.02.1/package/ibrdtnd/ibrdtnd.hash diff --git a/buildroot-2022.02.1/package/ibrdtnd/ibrdtnd.mk b/buildroot-2022.02.1/package/ibrdtnd/ibrdtnd.mk new file mode 100644 index 00000000..20ac496f --- /dev/null +++ b/buildroot-2022.02.1/package/ibrdtnd/ibrdtnd.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# ibrdtnd +# +################################################################################ + +IBRDTND_VERSION = 1.0.1 +IBRDTND_SITE = https://www.ibr.cs.tu-bs.de/projects/ibr-dtn/releases +IBRDTND_LICENSE = Apache-2.0 +IBRDTND_LICENSE_FILES = COPYING +IBRDTND_DEPENDENCIES = ibrdtn ibrcommon host-pkgconf + +# Disable features that don't have the necessary dependencies in +# Buildroot +IBRDTND_CONF_OPTS = \ + --disable-dtndht \ + --without-wifip2p \ + --without-vmime + +# don't build documentation +IBRDTND_CONF_ENV = \ + PDFLATEX='no' \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +ifeq ($(BR2_PACKAGE_LIBDAEMON),y) +IBRDTND_CONF_OPTS += --enable-libdaemon +IBRDTND_DEPENDENCIES += libdaemon +else +IBRDTND_CONF_OPTS += --disable-libdaemon +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +IBRDTND_CONF_OPTS += --with-curl +IBRDTND_DEPENDENCIES += libcurl +else +IBRDTND_CONF_OPTS += --without-curl +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +IBRDTND_CONF_OPTS += --with-sqlite +IBRDTND_DEPENDENCIES += sqlite +else +IBRDTND_CONF_OPTS += --without-sqlite +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +IBRDTND_CONF_OPTS += --with-tls +IBRDTND_DEPENDENCIES += openssl +else +IBRDTND_CONF_OPTS += --without-tls +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/icu/0001-dont-build-static-dynamic-twice.patch b/buildroot-2022.02.1/package/icu/0001-dont-build-static-dynamic-twice.patch similarity index 100% rename from buildroot-2021.05/package/icu/0001-dont-build-static-dynamic-twice.patch rename to buildroot-2022.02.1/package/icu/0001-dont-build-static-dynamic-twice.patch diff --git a/buildroot-2021.05/package/icu/0002-workaround-toolchain-bugs.patch b/buildroot-2022.02.1/package/icu/0002-workaround-toolchain-bugs.patch similarity index 100% rename from buildroot-2021.05/package/icu/0002-workaround-toolchain-bugs.patch rename to buildroot-2022.02.1/package/icu/0002-workaround-toolchain-bugs.patch diff --git a/buildroot-2021.05/package/icu/0003-link-icudata-as-data-only.patch b/buildroot-2022.02.1/package/icu/0003-link-icudata-as-data-only.patch similarity index 100% rename from buildroot-2021.05/package/icu/0003-link-icudata-as-data-only.patch rename to buildroot-2022.02.1/package/icu/0003-link-icudata-as-data-only.patch diff --git a/buildroot-2021.05/package/icu/0004-fix-static-linking-with-icu-uc.patch b/buildroot-2022.02.1/package/icu/0004-fix-static-linking-with-icu-uc.patch similarity index 100% rename from buildroot-2021.05/package/icu/0004-fix-static-linking-with-icu-uc.patch rename to buildroot-2022.02.1/package/icu/0004-fix-static-linking-with-icu-uc.patch diff --git a/buildroot-2022.02.1/package/icu/Config.in b/buildroot-2022.02.1/package/icu/Config.in new file mode 100644 index 00000000..8b410bfd --- /dev/null +++ b/buildroot-2022.02.1/package/icu/Config.in @@ -0,0 +1,35 @@ +config BR2_PACKAGE_ICU + bool "icu" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_HOST_GCC_AT_LEAST_4_9 # C++11 PR56019 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 PR56019 + depends on BR2_TOOLCHAIN_HAS_THREADS + # icu does some funky things by generating by itself an ELF + # file, and it cannot easily be changed to generate FLAT + # format. + depends on !BR2_BINFMT_FLAT + help + International Components for Unicode. + + https://icu.unicode.org/ + +if BR2_PACKAGE_ICU + +config BR2_PACKAGE_ICU_CUSTOM_DATA_PATH + string "Path to custom data library file" + help + This option allows to define the path to a custom data + library generated with http://apps.icu-project.org/datacustom/ + Make sure you select the appropiate version to match the one + provided by buildroot. + Leave empty to not use this functionality. + +endif + +comment "icu needs a toolchain w/ C++, wchar, threads, gcc >= 4.9, host gcc >= 4.9" + depends on !BR2_BINFMT_FLAT + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/icu/icu.hash b/buildroot-2022.02.1/package/icu/icu.hash new file mode 100644 index 00000000..56a0a5dd --- /dev/null +++ b/buildroot-2022.02.1/package/icu/icu.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 8d205428c17bf13bb535300669ed28b338a157b1c01ae66d31d0d3e2d47c3fd5 icu4c-70_1-src.tgz +sha256 861671f8c712aa046f8f5ac89239e6c33821636516c5d0cc8c4e1973085f27a6 LICENSE diff --git a/buildroot-2022.02.1/package/icu/icu.mk b/buildroot-2022.02.1/package/icu/icu.mk new file mode 100644 index 00000000..ebbb1968 --- /dev/null +++ b/buildroot-2022.02.1/package/icu/icu.mk @@ -0,0 +1,80 @@ +################################################################################ +# +# icu +# +################################################################################ + +# Git tags (and therefore versions on release-monitoring.org) use the +# XX-Y format, but the tarballs are named XX_Y and the containing +# directories XX.Y. +ICU_VERSION = 70-1 +ICU_SOURCE = icu4c-$(subst -,_,$(ICU_VERSION))-src.tgz +ICU_SITE = \ + https://github.com/unicode-org/icu/releases/download/release-$(ICU_VERSION) +ICU_LICENSE = ICU License +ICU_LICENSE_FILES = LICENSE +ICU_CPE_ID_VENDOR = icu-project +ICU_CPE_ID_PRODUCT = international_components_for_unicode +ICU_CPE_ID_VERSION = $(subst -,.,$(ICU_VERSION)) + +# 0005-ICU-21587-Fix-memory-bug-w-baseName.patch +ICU_IGNORE_CVES += CVE-2021-30535 + +ICU_DEPENDENCIES = host-icu +ICU_INSTALL_STAGING = YES +ICU_CONFIG_SCRIPTS = icu-config +ICU_CONF_OPTS = \ + --with-cross-build=$(HOST_ICU_DIR)/source \ + --disable-samples \ + --disable-tests + +# When available, icu prefers to use C++11 atomics, which rely on the +# __atomic builtins. On certain architectures, this requires linking +# with libatomic starting from gcc 4.8. +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +ICU_CONF_ENV += LIBS="-latomic" +endif + +# strtod_l() is not supported by musl; also xlocale.h is missing +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +ICU_CONF_ENV += ac_cv_func_strtod_l=no +endif + +HOST_ICU_CONF_OPTS = \ + --disable-samples \ + --disable-tests \ + --disable-extras \ + --disable-icuio \ + --disable-layout +ICU_SUBDIR = source +HOST_ICU_SUBDIR = source + +# ICU build scripting adds paths to LD_LIBRARY_PATH using +# LD_LIBRARY_PATH="custom-path:${LD_LIBRARY_PATH}" +# which, if LD_LIBRARY_PATH was empty, causes the last search directory +# to be the working directory, causing the build to try to load target +# libraries, possibly crashing the build due to ABI mismatches. +# Workaround by ensuring LD_LIBRARY_PATH is never empty. +# https://unicode-org.atlassian.net/browse/ICU-21417 +ifeq ($(LD_LIBRARY_PATH),) +ICU_MAKE_ENV += LD_LIBRARY_PATH=/dev/null +endif + +ICU_CUSTOM_DATA_PATH = $(call qstrip,$(BR2_PACKAGE_ICU_CUSTOM_DATA_PATH)) + +ifneq ($(ICU_CUSTOM_DATA_PATH),) +define ICU_COPY_CUSTOM_DATA + cp $(ICU_CUSTOM_DATA_PATH) $(@D)/source/data/in/ +endef +ICU_POST_PATCH_HOOKS += ICU_COPY_CUSTOM_DATA +endif + +define ICU_REMOVE_DEV_FILES + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,derb genbrk gencfu gencnval gendict genrb icuinfo makeconv uconv) + rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,genccode gencmn gennorm2 gensprep icupkg) + rm -rf $(TARGET_DIR)/usr/share/icu +endef +ICU_POST_INSTALL_TARGET_HOOKS += ICU_REMOVE_DEV_FILES + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/ifenslave/Config.in b/buildroot-2022.02.1/package/ifenslave/Config.in similarity index 100% rename from buildroot-2021.05/package/ifenslave/Config.in rename to buildroot-2022.02.1/package/ifenslave/Config.in diff --git a/buildroot-2021.05/package/ifenslave/ifenslave.hash b/buildroot-2022.02.1/package/ifenslave/ifenslave.hash similarity index 100% rename from buildroot-2021.05/package/ifenslave/ifenslave.hash rename to buildroot-2022.02.1/package/ifenslave/ifenslave.hash diff --git a/buildroot-2021.05/package/ifenslave/ifenslave.mk b/buildroot-2022.02.1/package/ifenslave/ifenslave.mk similarity index 100% rename from buildroot-2021.05/package/ifenslave/ifenslave.mk rename to buildroot-2022.02.1/package/ifenslave/ifenslave.mk diff --git a/buildroot-2021.05/package/ifmetric/0001-Fix-issue-NETLINK-Packet-too-small-or-truncated-92-1.patch b/buildroot-2022.02.1/package/ifmetric/0001-Fix-issue-NETLINK-Packet-too-small-or-truncated-92-1.patch similarity index 100% rename from buildroot-2021.05/package/ifmetric/0001-Fix-issue-NETLINK-Packet-too-small-or-truncated-92-1.patch rename to buildroot-2022.02.1/package/ifmetric/0001-Fix-issue-NETLINK-Packet-too-small-or-truncated-92-1.patch diff --git a/buildroot-2021.05/package/ifmetric/Config.in b/buildroot-2022.02.1/package/ifmetric/Config.in similarity index 100% rename from buildroot-2021.05/package/ifmetric/Config.in rename to buildroot-2022.02.1/package/ifmetric/Config.in diff --git a/buildroot-2021.05/package/ifmetric/ifmetric.hash b/buildroot-2022.02.1/package/ifmetric/ifmetric.hash similarity index 100% rename from buildroot-2021.05/package/ifmetric/ifmetric.hash rename to buildroot-2022.02.1/package/ifmetric/ifmetric.hash diff --git a/buildroot-2021.05/package/ifmetric/ifmetric.mk b/buildroot-2022.02.1/package/ifmetric/ifmetric.mk similarity index 100% rename from buildroot-2021.05/package/ifmetric/ifmetric.mk rename to buildroot-2022.02.1/package/ifmetric/ifmetric.mk diff --git a/buildroot-2021.05/package/ifplugd/0001-cross.patch b/buildroot-2022.02.1/package/ifplugd/0001-cross.patch similarity index 100% rename from buildroot-2021.05/package/ifplugd/0001-cross.patch rename to buildroot-2022.02.1/package/ifplugd/0001-cross.patch diff --git a/buildroot-2021.05/package/ifplugd/0002-fix-headers.patch b/buildroot-2022.02.1/package/ifplugd/0002-fix-headers.patch similarity index 100% rename from buildroot-2021.05/package/ifplugd/0002-fix-headers.patch rename to buildroot-2022.02.1/package/ifplugd/0002-fix-headers.patch diff --git a/buildroot-2021.05/package/ifplugd/0003-no-cxx.patch b/buildroot-2022.02.1/package/ifplugd/0003-no-cxx.patch similarity index 100% rename from buildroot-2021.05/package/ifplugd/0003-no-cxx.patch rename to buildroot-2022.02.1/package/ifplugd/0003-no-cxx.patch diff --git a/buildroot-2021.05/package/ifplugd/0004-musl-fix-types.patch b/buildroot-2022.02.1/package/ifplugd/0004-musl-fix-types.patch similarity index 100% rename from buildroot-2021.05/package/ifplugd/0004-musl-fix-types.patch rename to buildroot-2022.02.1/package/ifplugd/0004-musl-fix-types.patch diff --git a/buildroot-2021.05/package/ifplugd/0005-src-interface.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/ifplugd/0005-src-interface.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/ifplugd/0005-src-interface.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/ifplugd/0005-src-interface.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/ifplugd/Config.in b/buildroot-2022.02.1/package/ifplugd/Config.in similarity index 100% rename from buildroot-2021.05/package/ifplugd/Config.in rename to buildroot-2022.02.1/package/ifplugd/Config.in diff --git a/buildroot-2021.05/package/ifplugd/ifplugd.hash b/buildroot-2022.02.1/package/ifplugd/ifplugd.hash similarity index 100% rename from buildroot-2021.05/package/ifplugd/ifplugd.hash rename to buildroot-2022.02.1/package/ifplugd/ifplugd.hash diff --git a/buildroot-2022.02.1/package/ifplugd/ifplugd.mk b/buildroot-2022.02.1/package/ifplugd/ifplugd.mk new file mode 100644 index 00000000..6de7f176 --- /dev/null +++ b/buildroot-2022.02.1/package/ifplugd/ifplugd.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# ifplugd +# +################################################################################ + +IFPLUGD_VERSION = 0.28 +IFPLUGD_SITE = http://0pointer.de/lennart/projects/ifplugd +IFPLUGD_LICENSE = GPL-2.0+ +IFPLUGD_LICENSE_FILES = LICENSE +IFPLUGD_SELINUX_MODULES = ifplugd +IFPLUGD_AUTORECONF = YES + +# install-strip unconditionally overwrites $(TARGET_DIR)/etc/ifplugd/ifplugd.* +IFPLUGD_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec +IFPLUGD_CONF_OPTS = --disable-lynx --with-initdir=/etc/init.d/ +IFPLUGD_DEPENDENCIES = libdaemon + +define IFPLUGD_INSTALL_FIXUP + $(INSTALL) -D -m 0644 $(@D)/conf/ifplugd.conf $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \ + $(SED) 's^\(ARGS=.*\)w^\1^' $(TARGET_DIR)/etc/ifplugd/ifplugd.conf; \ + $(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.action \ + $(TARGET_DIR)/etc/ifplugd/ifplugd.action +endef + +IFPLUGD_POST_INSTALL_TARGET_HOOKS += IFPLUGD_INSTALL_FIXUP + +define IFPLUGD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 $(@D)/conf/ifplugd.init \ + $(TARGET_DIR)/etc/init.d/S45ifplugd + # don't use bash for init script + $(SED) 's^/bin/bash^/bin/sh^g' $(TARGET_DIR)/etc/init.d/S45ifplugd +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iftop/0001-ui_common.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/iftop/0001-ui_common.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/iftop/0001-ui_common.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/iftop/0001-ui_common.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/iftop/0002-Rename-pcap_filter-to-iftop_pcap_filter.patch b/buildroot-2022.02.1/package/iftop/0002-Rename-pcap_filter-to-iftop_pcap_filter.patch similarity index 100% rename from buildroot-2021.05/package/iftop/0002-Rename-pcap_filter-to-iftop_pcap_filter.patch rename to buildroot-2022.02.1/package/iftop/0002-Rename-pcap_filter-to-iftop_pcap_filter.patch diff --git a/buildroot-2021.05/package/iftop/Config.in b/buildroot-2022.02.1/package/iftop/Config.in similarity index 100% rename from buildroot-2021.05/package/iftop/Config.in rename to buildroot-2022.02.1/package/iftop/Config.in diff --git a/buildroot-2021.05/package/iftop/iftop.hash b/buildroot-2022.02.1/package/iftop/iftop.hash similarity index 100% rename from buildroot-2021.05/package/iftop/iftop.hash rename to buildroot-2022.02.1/package/iftop/iftop.hash diff --git a/buildroot-2021.05/package/iftop/iftop.mk b/buildroot-2022.02.1/package/iftop/iftop.mk similarity index 100% rename from buildroot-2021.05/package/iftop/iftop.mk rename to buildroot-2022.02.1/package/iftop/iftop.mk diff --git a/buildroot-2021.05/package/ifupdown-scripts/Config.in b/buildroot-2022.02.1/package/ifupdown-scripts/Config.in similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/Config.in rename to buildroot-2022.02.1/package/ifupdown-scripts/Config.in diff --git a/buildroot-2021.05/package/ifupdown-scripts/S40network b/buildroot-2022.02.1/package/ifupdown-scripts/S40network similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/S40network rename to buildroot-2022.02.1/package/ifupdown-scripts/S40network diff --git a/buildroot-2021.05/package/ifupdown-scripts/ifupdown-scripts.mk b/buildroot-2022.02.1/package/ifupdown-scripts/ifupdown-scripts.mk similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/ifupdown-scripts.mk rename to buildroot-2022.02.1/package/ifupdown-scripts/ifupdown-scripts.mk diff --git a/buildroot-2021.05/package/ifupdown-scripts/network.service b/buildroot-2022.02.1/package/ifupdown-scripts/network.service similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/network.service rename to buildroot-2022.02.1/package/ifupdown-scripts/network.service diff --git a/buildroot-2021.05/package/ifupdown-scripts/network/if-post-down.d/.empty b/buildroot-2022.02.1/package/ifupdown-scripts/network/if-down.d/.empty similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/network/if-post-down.d/.empty rename to buildroot-2022.02.1/package/ifupdown-scripts/network/if-down.d/.empty diff --git a/buildroot-2021.05/package/ifupdown-scripts/network/if-up.d/.empty b/buildroot-2022.02.1/package/ifupdown-scripts/network/if-post-down.d/.empty similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/network/if-up.d/.empty rename to buildroot-2022.02.1/package/ifupdown-scripts/network/if-post-down.d/.empty diff --git a/buildroot-2021.05/package/ifupdown-scripts/network/if-pre-up.d/wait_iface b/buildroot-2022.02.1/package/ifupdown-scripts/network/if-pre-up.d/wait_iface similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/network/if-pre-up.d/wait_iface rename to buildroot-2022.02.1/package/ifupdown-scripts/network/if-pre-up.d/wait_iface diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/etc/conf.d/.empty b/buildroot-2022.02.1/package/ifupdown-scripts/network/if-up.d/.empty similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/etc/conf.d/.empty rename to buildroot-2022.02.1/package/ifupdown-scripts/network/if-up.d/.empty diff --git a/buildroot-2021.05/package/ifupdown-scripts/nfs_check b/buildroot-2022.02.1/package/ifupdown-scripts/nfs_check similarity index 100% rename from buildroot-2021.05/package/ifupdown-scripts/nfs_check rename to buildroot-2022.02.1/package/ifupdown-scripts/nfs_check diff --git a/buildroot-2021.05/package/ifupdown/0001-dont-use-dpkg-architecture.patch b/buildroot-2022.02.1/package/ifupdown/0001-dont-use-dpkg-architecture.patch similarity index 100% rename from buildroot-2021.05/package/ifupdown/0001-dont-use-dpkg-architecture.patch rename to buildroot-2022.02.1/package/ifupdown/0001-dont-use-dpkg-architecture.patch diff --git a/buildroot-2021.05/package/ifupdown/Config.in b/buildroot-2022.02.1/package/ifupdown/Config.in similarity index 100% rename from buildroot-2021.05/package/ifupdown/Config.in rename to buildroot-2022.02.1/package/ifupdown/Config.in diff --git a/buildroot-2021.05/package/ifupdown/ifupdown.hash b/buildroot-2022.02.1/package/ifupdown/ifupdown.hash similarity index 100% rename from buildroot-2021.05/package/ifupdown/ifupdown.hash rename to buildroot-2022.02.1/package/ifupdown/ifupdown.hash diff --git a/buildroot-2021.05/package/ifupdown/ifupdown.mk b/buildroot-2022.02.1/package/ifupdown/ifupdown.mk similarity index 100% rename from buildroot-2021.05/package/ifupdown/ifupdown.mk rename to buildroot-2022.02.1/package/ifupdown/ifupdown.mk diff --git a/buildroot-2021.05/package/igd2-for-linux/Config.in b/buildroot-2022.02.1/package/igd2-for-linux/Config.in similarity index 100% rename from buildroot-2021.05/package/igd2-for-linux/Config.in rename to buildroot-2022.02.1/package/igd2-for-linux/Config.in diff --git a/buildroot-2021.05/package/igd2-for-linux/S99upnpd b/buildroot-2022.02.1/package/igd2-for-linux/S99upnpd similarity index 100% rename from buildroot-2021.05/package/igd2-for-linux/S99upnpd rename to buildroot-2022.02.1/package/igd2-for-linux/S99upnpd diff --git a/buildroot-2021.05/package/igd2-for-linux/igd2-for-linux.hash b/buildroot-2022.02.1/package/igd2-for-linux/igd2-for-linux.hash similarity index 100% rename from buildroot-2021.05/package/igd2-for-linux/igd2-for-linux.hash rename to buildroot-2022.02.1/package/igd2-for-linux/igd2-for-linux.hash diff --git a/buildroot-2021.05/package/igd2-for-linux/igd2-for-linux.mk b/buildroot-2022.02.1/package/igd2-for-linux/igd2-for-linux.mk similarity index 100% rename from buildroot-2021.05/package/igd2-for-linux/igd2-for-linux.mk rename to buildroot-2022.02.1/package/igd2-for-linux/igd2-for-linux.mk diff --git a/buildroot-2021.05/package/igd2-for-linux/upnpd.service b/buildroot-2022.02.1/package/igd2-for-linux/upnpd.service similarity index 100% rename from buildroot-2021.05/package/igd2-for-linux/upnpd.service rename to buildroot-2022.02.1/package/igd2-for-linux/upnpd.service diff --git a/buildroot-2021.05/package/igh-ethercat/Config.in b/buildroot-2022.02.1/package/igh-ethercat/Config.in similarity index 100% rename from buildroot-2021.05/package/igh-ethercat/Config.in rename to buildroot-2022.02.1/package/igh-ethercat/Config.in diff --git a/buildroot-2021.05/package/igh-ethercat/igh-ethercat.hash b/buildroot-2022.02.1/package/igh-ethercat/igh-ethercat.hash similarity index 100% rename from buildroot-2021.05/package/igh-ethercat/igh-ethercat.hash rename to buildroot-2022.02.1/package/igh-ethercat/igh-ethercat.hash diff --git a/buildroot-2021.05/package/igh-ethercat/igh-ethercat.mk b/buildroot-2022.02.1/package/igh-ethercat/igh-ethercat.mk similarity index 100% rename from buildroot-2021.05/package/igh-ethercat/igh-ethercat.mk rename to buildroot-2022.02.1/package/igh-ethercat/igh-ethercat.mk diff --git a/buildroot-2021.05/package/igmpproxy/Config.in b/buildroot-2022.02.1/package/igmpproxy/Config.in similarity index 100% rename from buildroot-2021.05/package/igmpproxy/Config.in rename to buildroot-2022.02.1/package/igmpproxy/Config.in diff --git a/buildroot-2021.05/package/igmpproxy/igmpproxy.hash b/buildroot-2022.02.1/package/igmpproxy/igmpproxy.hash similarity index 100% rename from buildroot-2021.05/package/igmpproxy/igmpproxy.hash rename to buildroot-2022.02.1/package/igmpproxy/igmpproxy.hash diff --git a/buildroot-2021.05/package/igmpproxy/igmpproxy.mk b/buildroot-2022.02.1/package/igmpproxy/igmpproxy.mk similarity index 100% rename from buildroot-2021.05/package/igmpproxy/igmpproxy.mk rename to buildroot-2022.02.1/package/igmpproxy/igmpproxy.mk diff --git a/buildroot-2021.05/package/ijs/Config.in b/buildroot-2022.02.1/package/ijs/Config.in similarity index 100% rename from buildroot-2021.05/package/ijs/Config.in rename to buildroot-2022.02.1/package/ijs/Config.in diff --git a/buildroot-2021.05/package/ijs/ijs.hash b/buildroot-2022.02.1/package/ijs/ijs.hash similarity index 100% rename from buildroot-2021.05/package/ijs/ijs.hash rename to buildroot-2022.02.1/package/ijs/ijs.hash diff --git a/buildroot-2021.05/package/ijs/ijs.mk b/buildroot-2022.02.1/package/ijs/ijs.mk similarity index 100% rename from buildroot-2021.05/package/ijs/ijs.mk rename to buildroot-2022.02.1/package/ijs/ijs.mk diff --git a/buildroot-2021.05/package/ima-evm-utils/Config.in b/buildroot-2022.02.1/package/ima-evm-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/ima-evm-utils/Config.in rename to buildroot-2022.02.1/package/ima-evm-utils/Config.in diff --git a/buildroot-2022.02.1/package/ima-evm-utils/ima-evm-utils.hash b/buildroot-2022.02.1/package/ima-evm-utils/ima-evm-utils.hash new file mode 100644 index 00000000..2267a59b --- /dev/null +++ b/buildroot-2022.02.1/package/ima-evm-utils/ima-evm-utils.hash @@ -0,0 +1,4 @@ +# sha1 from sourceforge, sha256 locally computed +sha1 f23d8a406759a469b0223b0bfb302ada4407a1d1 ima-evm-utils-1.4.tar.gz +sha256 fcf85b31d6292051b3679e5f17ffa7f89b6898957aad0f59aa4e9878884b27d1 ima-evm-utils-1.4.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/ima-evm-utils/ima-evm-utils.mk b/buildroot-2022.02.1/package/ima-evm-utils/ima-evm-utils.mk new file mode 100644 index 00000000..7ee34d5e --- /dev/null +++ b/buildroot-2022.02.1/package/ima-evm-utils/ima-evm-utils.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# ima-evm-utils +# +################################################################################ + +IMA_EVM_UTILS_VERSION = 1.4 +IMA_EVM_UTILS_SITE = http://downloads.sourceforge.net/project/linux-ima/ima-evm-utils +IMA_EVM_UTILS_LICENSE = GPL-2.0 +IMA_EVM_UTILS_LICENSE_FILES = COPYING +IMA_EVM_UTILS_DEPENDENCIES = host-pkgconf keyutils openssl tpm2-tss + +# Tarball doesn't contain configure +IMA_EVM_UTILS_AUTORECONF = YES + +# Build and install in the src subdirectory. This avoids building the +# documentation, which requires asciidoc and xsltproc. Note that configure still +# needs to be run from the top dir, so _SUBDIR can't be used. + +define IMA_EVM_UTILS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src all +endef + +define IMA_EVM_UTILS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D)/src install +endef + +define IMA_EVM_UTILS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D)/src install +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/imagemagick/Config.in b/buildroot-2022.02.1/package/imagemagick/Config.in similarity index 100% rename from buildroot-2021.05/package/imagemagick/Config.in rename to buildroot-2022.02.1/package/imagemagick/Config.in diff --git a/buildroot-2022.02.1/package/imagemagick/Config.in.host b/buildroot-2022.02.1/package/imagemagick/Config.in.host new file mode 100644 index 00000000..671b0995 --- /dev/null +++ b/buildroot-2022.02.1/package/imagemagick/Config.in.host @@ -0,0 +1,27 @@ +config BR2_PACKAGE_HOST_IMAGEMAGICK + bool "host imagemagick" + help + ImageMagick(R) is a software suite to create, edit, and + compose bitmap images. It can read, convert and write images + in a variety of formats (about 100) including DPX, EXR, GIF, + JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. + Use ImageMagick to translate, flip, mirror, rotate, scale, + shear and transform images, adjust image colors, apply various + special effects, or draw text, lines, polygons, ellipses and + Bézier curves. + + http://www.imagemagick.org/ + +if BR2_PACKAGE_HOST_IMAGEMAGICK + +config BR2_PACKAGE_HOST_IMAGEMAGICK_SVG + bool "SVG support" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-librsvg + help + Say 'y' here is you need ImageMagick tools (like convert) + to support SVG. + + This is not enabled by default, as it brings quite a few + extra dependencies, and thus extra build time. + +endif diff --git a/buildroot-2022.02.1/package/imagemagick/imagemagick.hash b/buildroot-2022.02.1/package/imagemagick/imagemagick.hash new file mode 100644 index 00000000..278becd2 --- /dev/null +++ b/buildroot-2022.02.1/package/imagemagick/imagemagick.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 385ca5bd8ce9b37e685779c46868171af949265c9db40067c1c4d7442dbc723e imagemagick-7.1.0-19.tar.gz +sha256 040badb77b659e751ea16113490a937e1e01f3f5d32181e966b8982413533fb2 LICENSE diff --git a/buildroot-2022.02.1/package/imagemagick/imagemagick.mk b/buildroot-2022.02.1/package/imagemagick/imagemagick.mk new file mode 100644 index 00000000..64a530c6 --- /dev/null +++ b/buildroot-2022.02.1/package/imagemagick/imagemagick.mk @@ -0,0 +1,248 @@ +################################################################################ +# +# imagemagick +# +################################################################################ + +IMAGEMAGICK_VERSION = 7.1.0-19 +IMAGEMAGICK_SITE = $(call github,ImageMagick,ImageMagick,$(IMAGEMAGICK_VERSION)) +IMAGEMAGICK_LICENSE = Apache-2.0 +IMAGEMAGICK_LICENSE_FILES = LICENSE +IMAGEMAGICK_CPE_ID_VENDOR = imagemagick + +IMAGEMAGICK_INSTALL_STAGING = YES +IMAGEMAGICK_CONFIG_SCRIPTS = \ + $(addsuffix -config,MagickCore MagickWand) + +ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_USE_WCHAR),yy) +IMAGEMAGICK_CONFIG_SCRIPTS += Magick++-config +endif + +IMAGEMAGICK_CONF_ENV = \ + ac_cv_sys_file_offset_bits=64 \ + ax_cv_check_cl_libcl=no + +IMAGEMAGICK_CONF_OPTS = \ + --program-transform-name='s,,,' \ + --disable-opencl \ + --disable-openmp \ + --without-djvu \ + --without-dps \ + --without-flif \ + --without-fpx \ + --without-gslib \ + --without-gvc \ + --without-heic \ + --without-jbig \ + --without-jxl \ + --without-lqr \ + --without-openexr \ + --without-openjp2 \ + --without-perl \ + --without-raqm \ + --without-wmf \ + --without-x \ + --with-gs-font-dir=/usr/share/fonts/gs + +IMAGEMAGICK_DEPENDENCIES = host-pkgconf + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +# Like postgreSQL, imagemagick does not build against uClibc with +# locales enabled, due to an uClibc bug, see +# http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html +# so overwrite automatic detection and disable locale support +IMAGEMAGICK_CONF_ENV += ac_cv_func_newlocale=no +endif + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +IMAGEMAGICK_CONF_OPTS += --with-fontconfig +IMAGEMAGICK_DEPENDENCIES += fontconfig +else +IMAGEMAGICK_CONF_OPTS += --without-fontconfig +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +IMAGEMAGICK_CONF_OPTS += --with-freetype +IMAGEMAGICK_CONF_ENV += \ + ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config +IMAGEMAGICK_DEPENDENCIES += freetype +else +IMAGEMAGICK_CONF_OPTS += --without-freetype +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +IMAGEMAGICK_CONF_OPTS += --with-jpeg +IMAGEMAGICK_DEPENDENCIES += jpeg +else +IMAGEMAGICK_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +IMAGEMAGICK_CONF_OPTS += --with-lcms +IMAGEMAGICK_DEPENDENCIES += lcms2 +else +IMAGEMAGICK_CONF_OPTS += --without-lcms +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +IMAGEMAGICK_CONF_OPTS += --with-png +IMAGEMAGICK_DEPENDENCIES += libpng +else +IMAGEMAGICK_CONF_OPTS += --without-png +endif + +ifeq ($(BR2_PACKAGE_LIBRAW),y) +IMAGEMAGICK_CONF_OPTS += --with-raw +IMAGEMAGICK_DEPENDENCIES += libraw +else +IMAGEMAGICK_CONF_OPTS += --without-raw +endif + +ifeq ($(BR2_PACKAGE_LIBRSVG),y) +IMAGEMAGICK_CONF_OPTS += --with-rsvg +IMAGEMAGICK_DEPENDENCIES += librsvg +else +IMAGEMAGICK_CONF_OPTS += --without-rsvg +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +IMAGEMAGICK_CONF_OPTS += --with-xml +IMAGEMAGICK_CONF_ENV += ac_cv_path_xml2_config=$(STAGING_DIR)/usr/bin/xml2-config +IMAGEMAGICK_DEPENDENCIES += libxml2 +else +IMAGEMAGICK_CONF_OPTS += --without-xml +endif + +ifeq ($(BR2_PACKAGE_LIBZIP),y) +IMAGEMAGICK_CONF_OPTS += --with-zip +IMAGEMAGICK_DEPENDENCIES += libzip +else +IMAGEMAGICK_CONF_OPTS += --without-zip +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +IMAGEMAGICK_CONF_OPTS += --with-zstd +IMAGEMAGICK_DEPENDENCIES += zstd +else +IMAGEMAGICK_CONF_OPTS += --without-zstd +endif + +ifeq ($(BR2_PACKAGE_PANGO),y) +IMAGEMAGICK_CONF_OPTS += --with-pango +IMAGEMAGICK_DEPENDENCIES += pango +else +IMAGEMAGICK_CONF_OPTS += --without-pango +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +IMAGEMAGICK_CONF_OPTS += --with-tiff +IMAGEMAGICK_DEPENDENCIES += tiff +else +IMAGEMAGICK_CONF_OPTS += --without-tiff +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +IMAGEMAGICK_CONF_OPTS += --with-lzma +IMAGEMAGICK_DEPENDENCIES += xz +else +IMAGEMAGICK_CONF_OPTS += --without-lzma +endif + +ifeq ($(BR2_PACKAGE_FFTW_DOUBLE),y) +# configure script misdetects these leading to build errors +IMAGEMAGICK_CONF_ENV += ac_cv_func_creal=yes ac_cv_func_cimag=yes +IMAGEMAGICK_CONF_OPTS += --with-fftw +IMAGEMAGICK_DEPENDENCIES += fftw-double +else +IMAGEMAGICK_CONF_OPTS += --without-fftw +endif + +ifeq ($(BR2_PACKAGE_WEBP),y) +IMAGEMAGICK_CONF_OPTS += --with-webp +IMAGEMAGICK_DEPENDENCIES += webp +else +IMAGEMAGICK_CONF_OPTS += --without-webp +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +IMAGEMAGICK_CONF_OPTS += --with-zlib +IMAGEMAGICK_DEPENDENCIES += zlib +else +IMAGEMAGICK_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +IMAGEMAGICK_CONF_OPTS += --with-bzlib +IMAGEMAGICK_DEPENDENCIES += bzip2 +else +IMAGEMAGICK_CONF_OPTS += --without-bzlib +endif + +HOST_IMAGEMAGICK_CONF_OPTS = \ + --disable-opencl \ + --disable-openmp \ + --without-djvu \ + --without-dps \ + --without-flif \ + --without-fpx \ + --without-gslib \ + --without-gvc \ + --without-heic \ + --without-jbig \ + --without-jxl \ + --without-lqr \ + --without-openexr \ + --without-openjp2 \ + --without-perl \ + --without-raqm \ + --without-raw \ + --without-wmf \ + --without-x \ + --without-zip \ + --without-zstd \ + --without-bzlib \ + --without-fftw \ + --without-lcms \ + --without-lzma \ + --without-tiff \ + --without-webp \ + --with-jpeg \ + --with-png \ + --with-zlib + +# uses clock_gettime, which was provided by librt in glibc < 2.17 +HOST_IMAGEMAGICK_CONF_ENV = \ + LIBS="-lrt" \ + ax_cv_check_cl_libcl=no + +HOST_IMAGEMAGICK_DEPENDENCIES = \ + host-libjpeg \ + host-libpng \ + host-pkgconf \ + host-zlib + +ifeq ($(BR2_PACKAGE_HOST_IMAGEMAGICK_SVG),y) +HOST_IMAGEMAGICK_DEPENDENCIES += \ + host-fontconfig \ + host-freetype \ + host-librsvg \ + host-libxml2 \ + host-pango +HOST_IMAGEMAGICK_CONF_ENV += ac_cv_path_xml2_config=$(HOST_DIR)/bin/xml2-config +HOST_IMAGEMAGICK_CONF_OPTS += \ + --with-fontconfig \ + --with-freetype \ + --with-pango \ + --with-rsvg \ + --with-xml +else +HOST_IMAGEMAGICK_CONF_OPTS += \ + --without-fontconfig \ + --without-freetype \ + --without-pango \ + --without-rsvg \ + --without-xml +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/imlib2/Config.in b/buildroot-2022.02.1/package/imlib2/Config.in similarity index 100% rename from buildroot-2021.05/package/imlib2/Config.in rename to buildroot-2022.02.1/package/imlib2/Config.in diff --git a/buildroot-2022.02.1/package/imlib2/imlib2.hash b/buildroot-2022.02.1/package/imlib2/imlib2.hash new file mode 100644 index 00000000..690d836c --- /dev/null +++ b/buildroot-2022.02.1/package/imlib2/imlib2.hash @@ -0,0 +1,8 @@ +# From https://sourceforge.net/projects/enlightenment/files/imlib2-src/1.7.3/ +md5 1e79055a0b8fe27d208b6f8bb1bde60c imlib2-1.7.3.tar.bz2 +sha1 3d55965f946d0b2754a84c8e57c78ddc227252c6 imlib2-1.7.3.tar.bz2 + +# Locally computed +sha256 158d0b8c20bc11221af9e77a64a116fca7051b03cdea2c4f31d31f469382f997 imlib2-1.7.3.tar.bz2 +sha256 fb70339dd33a77b6213c7ae067fccf93d04af44ff3f937c61f8863f7970e73f6 COPYING +sha256 8c9a2e92ed4937e2d30c2ea95439c36ed3002fc47e34efee43455a460fee8ef5 COPYING-PLAIN diff --git a/buildroot-2022.02.1/package/imlib2/imlib2.mk b/buildroot-2022.02.1/package/imlib2/imlib2.mk new file mode 100644 index 00000000..89b4769f --- /dev/null +++ b/buildroot-2022.02.1/package/imlib2/imlib2.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# imlib2 +# +################################################################################ + +IMLIB2_VERSION = 1.7.3 +IMLIB2_SOURCE = imlib2-$(IMLIB2_VERSION).tar.bz2 +IMLIB2_SITE = http://downloads.sourceforge.net/project/enlightenment/imlib2-src/$(IMLIB2_VERSION) +IMLIB2_LICENSE = Imlib2 +IMLIB2_LICENSE_FILES = COPYING COPYING-PLAIN +IMLIB2_CPE_ID_VENDOR = enlightenment + +IMLIB2_INSTALL_STAGING = YES +IMLIB2_DEPENDENCIES = host-pkgconf freetype +IMLIB2_CONF_OPTS = --with-freetype-config=$(STAGING_DIR)/usr/bin/freetype-config +IMLIB2_CONFIG_SCRIPTS = imlib2-config + +ifeq ($(BR2_PACKAGE_IMLIB2_X),y) +IMLIB2_CONF_OPTS += --with-x +IMLIB2_DEPENDENCIES += xlib_libX11 xlib_libXext +else +IMLIB2_CONF_OPTS += --without-x +endif + +ifeq ($(BR2_PACKAGE_IMLIB2_JPEG),y) +IMLIB2_CONF_OPTS += --with-jpeg +IMLIB2_DEPENDENCIES += jpeg +else +IMLIB2_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_IMLIB2_PNG),y) +IMLIB2_CONF_OPTS += --with-png +IMLIB2_DEPENDENCIES += libpng +else +IMLIB2_CONF_OPTS += --without-png +endif + +ifeq ($(BR2_PACKAGE_IMLIB2_GIF),y) +IMLIB2_CONF_OPTS += --with-gif +IMLIB2_DEPENDENCIES += giflib +else +IMLIB2_CONF_OPTS += --without-gif +endif + +ifeq ($(BR2_PACKAGE_IMLIB2_TIFF),y) +IMLIB2_CONF_OPTS += --with-tiff +IMLIB2_DEPENDENCIES += tiff +else +IMLIB2_CONF_OPTS += --without-tiff +endif + +ifeq ($(BR2_PACKAGE_IMLIB2_ID3),y) +IMLIB2_CONF_OPTS += --with-id3 +IMLIB2_DEPENDENCIES += libid3tag +else +IMLIB2_CONF_OPTS += --without-id3 +endif + +# drop -L from linker flags +define IMLIB2_FIXUP_IMLIB2_CONFIG + $(SED) 's/-L[^ ]*//g' $(STAGING_DIR)/usr/bin/imlib2-config +endef + +IMLIB2_POST_INSTALL_STAGING_HOOKS += IMLIB2_FIXUP_IMLIB2_CONFIG + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch b/buildroot-2022.02.1/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch similarity index 100% rename from buildroot-2021.05/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch rename to buildroot-2022.02.1/package/imx-mkimage/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch diff --git a/buildroot-2021.05/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch b/buildroot-2022.02.1/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch similarity index 100% rename from buildroot-2021.05/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch rename to buildroot-2022.02.1/package/imx-mkimage/0002-Add-LDFLAGS-to-link-step.patch diff --git a/buildroot-2021.05/package/imx-mkimage/0003-Add-unused-fake-version.patch b/buildroot-2022.02.1/package/imx-mkimage/0003-Add-unused-fake-version.patch similarity index 100% rename from buildroot-2021.05/package/imx-mkimage/0003-Add-unused-fake-version.patch rename to buildroot-2022.02.1/package/imx-mkimage/0003-Add-unused-fake-version.patch diff --git a/buildroot-2021.05/package/imx-mkimage/Config.in.host b/buildroot-2022.02.1/package/imx-mkimage/Config.in.host similarity index 100% rename from buildroot-2021.05/package/imx-mkimage/Config.in.host rename to buildroot-2022.02.1/package/imx-mkimage/Config.in.host diff --git a/buildroot-2021.05/package/imx-mkimage/imx-mkimage.hash b/buildroot-2022.02.1/package/imx-mkimage/imx-mkimage.hash similarity index 100% rename from buildroot-2021.05/package/imx-mkimage/imx-mkimage.hash rename to buildroot-2022.02.1/package/imx-mkimage/imx-mkimage.hash diff --git a/buildroot-2021.05/package/imx-mkimage/imx-mkimage.mk b/buildroot-2022.02.1/package/imx-mkimage/imx-mkimage.mk similarity index 100% rename from buildroot-2021.05/package/imx-mkimage/imx-mkimage.mk rename to buildroot-2022.02.1/package/imx-mkimage/imx-mkimage.mk diff --git a/buildroot-2021.05/package/imx-usb-loader/Config.in b/buildroot-2022.02.1/package/imx-usb-loader/Config.in similarity index 100% rename from buildroot-2021.05/package/imx-usb-loader/Config.in rename to buildroot-2022.02.1/package/imx-usb-loader/Config.in diff --git a/buildroot-2021.05/package/imx-usb-loader/Config.in.host b/buildroot-2022.02.1/package/imx-usb-loader/Config.in.host similarity index 100% rename from buildroot-2021.05/package/imx-usb-loader/Config.in.host rename to buildroot-2022.02.1/package/imx-usb-loader/Config.in.host diff --git a/buildroot-2021.05/package/imx-usb-loader/imx-usb-loader.hash b/buildroot-2022.02.1/package/imx-usb-loader/imx-usb-loader.hash similarity index 100% rename from buildroot-2021.05/package/imx-usb-loader/imx-usb-loader.hash rename to buildroot-2022.02.1/package/imx-usb-loader/imx-usb-loader.hash diff --git a/buildroot-2021.05/package/imx-usb-loader/imx-usb-loader.mk b/buildroot-2022.02.1/package/imx-usb-loader/imx-usb-loader.mk similarity index 100% rename from buildroot-2021.05/package/imx-usb-loader/imx-usb-loader.mk rename to buildroot-2022.02.1/package/imx-usb-loader/imx-usb-loader.mk diff --git a/buildroot-2021.05/package/inadyn/Config.in b/buildroot-2022.02.1/package/inadyn/Config.in similarity index 100% rename from buildroot-2021.05/package/inadyn/Config.in rename to buildroot-2022.02.1/package/inadyn/Config.in diff --git a/buildroot-2022.02.1/package/inadyn/S70inadyn b/buildroot-2022.02.1/package/inadyn/S70inadyn new file mode 100755 index 00000000..8a71693c --- /dev/null +++ b/buildroot-2022.02.1/package/inadyn/S70inadyn @@ -0,0 +1,70 @@ +#!/bin/sh +# Customizations are sourced from /etc/default/inadyn. For example, +# override INADYN_ARGS to adjust log level, add a startup delay, etc. +# +# NOTE: to start, add a line ENABLED="yes" to /etc/default/inadyn + +DAEMON="inadyn" +PIDFILE="/var/run/$DAEMON.pid" + +INADYN_ARGS="" + +# shellcheck source=/dev/null +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +start() { + printf 'Starting %s: ' "$DAEMON" + if [ "$ENABLED" != "yes" ]; then + echo "SKIPPED" + exit 0 + fi + # shellcheck disable=SC2086 # we need the word splitting + start-stop-daemon -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ + -- $INADYN_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" + status=$? + if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +reload() { + printf 'Reloading %s: ' "$DAEMON" + start-stop-daemon -K -s HUP -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +case "$1" in + start|stop|restart|reload) + "$1";; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2022.02.1/package/inadyn/inadyn.conf b/buildroot-2022.02.1/package/inadyn/inadyn.conf new file mode 100644 index 00000000..3328ee22 --- /dev/null +++ b/buildroot-2022.02.1/package/inadyn/inadyn.conf @@ -0,0 +1,26 @@ +# Example /etc/inadyn.conf +# +# Remember to change this file to match your provider and credentials +# Username and password can be included from another file. For more +# info, see https://man.troglobit.com/man5/inadyn.conf.5.html + +# Use IP address of interface instead of external checkip server. +# Useful when you want to register internal IP addresses +#iface = eth0 + +# IP address change check interval +period = 300 + +# Remove of change to match your Dyn account +provider dyndns.org { + username = test + password = test + hostname = { "my.example.com", "other.example.org" } +} + +# Remove or change to match your FreeDNS account +provider freedns { + username = lower-case-username + password = case-sensitive-pwd + hostname = some.example.com +} diff --git a/buildroot-2022.02.1/package/inadyn/inadyn.hash b/buildroot-2022.02.1/package/inadyn/inadyn.hash new file mode 100644 index 00000000..98af30e9 --- /dev/null +++ b/buildroot-2022.02.1/package/inadyn/inadyn.hash @@ -0,0 +1,5 @@ +# Upstream .sha256 from GitHub +sha256 7370eb7ad5d33a9cf2e7e4a6a86c09587fbf9592cd357c6f472c33f575bac26d inadyn-2.9.1.tar.gz + +# Locally computed +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/inadyn/inadyn.mk b/buildroot-2022.02.1/package/inadyn/inadyn.mk new file mode 100644 index 00000000..041d1eff --- /dev/null +++ b/buildroot-2022.02.1/package/inadyn/inadyn.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# inadyn +# +################################################################################ + +INADYN_VERSION = 2.9.1 +INADYN_SITE = https://github.com/troglobit/inadyn/releases/download/v$(INADYN_VERSION) +INADYN_LICENSE = GPL-2.0+ +INADYN_LICENSE_FILES = COPYING +INADYN_DEPENDENCIES = host-pkgconf libconfuse + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +INADYN_CONF_OPTS += --enable-openssl +INADYN_DEPENDENCIES += openssl +else ifeq ($(BR2_PACKAGE_GNUTLS),y) +INADYN_DEPENDENCIES += gnutls +else +INADYN_CONF_OPTS += --disable-ssl +endif + +define INADYN_INSTALL_SAMPLE_CONFIG + $(INSTALL) -D -m 0600 package/inadyn/inadyn.conf \ + $(TARGET_DIR)/etc/inadyn.conf +endef +INADYN_POST_INSTALL_TARGET_HOOKS += INADYN_INSTALL_SAMPLE_CONFIG + +define INADYN_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/inadyn/S70inadyn \ + $(TARGET_DIR)/etc/init.d/S70inadyn +endef + +define INADYN_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(@D)/inadyn.service \ + $(TARGET_DIR)/usr/lib/systemd/system/inadyn.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/inconsolata/Config.in b/buildroot-2022.02.1/package/inconsolata/Config.in similarity index 100% rename from buildroot-2021.05/package/inconsolata/Config.in rename to buildroot-2022.02.1/package/inconsolata/Config.in diff --git a/buildroot-2021.05/package/inconsolata/inconsolata.hash b/buildroot-2022.02.1/package/inconsolata/inconsolata.hash similarity index 100% rename from buildroot-2021.05/package/inconsolata/inconsolata.hash rename to buildroot-2022.02.1/package/inconsolata/inconsolata.hash diff --git a/buildroot-2021.05/package/inconsolata/inconsolata.mk b/buildroot-2022.02.1/package/inconsolata/inconsolata.mk similarity index 100% rename from buildroot-2021.05/package/inconsolata/inconsolata.mk rename to buildroot-2022.02.1/package/inconsolata/inconsolata.mk diff --git a/buildroot-2021.05/package/inih/Config.in b/buildroot-2022.02.1/package/inih/Config.in similarity index 100% rename from buildroot-2021.05/package/inih/Config.in rename to buildroot-2022.02.1/package/inih/Config.in diff --git a/buildroot-2021.05/package/inih/inih.hash b/buildroot-2022.02.1/package/inih/inih.hash similarity index 100% rename from buildroot-2021.05/package/inih/inih.hash rename to buildroot-2022.02.1/package/inih/inih.hash diff --git a/buildroot-2021.05/package/inih/inih.mk b/buildroot-2022.02.1/package/inih/inih.mk similarity index 100% rename from buildroot-2021.05/package/inih/inih.mk rename to buildroot-2022.02.1/package/inih/inih.mk diff --git a/buildroot-2021.05/package/initscripts/Config.in b/buildroot-2022.02.1/package/initscripts/Config.in similarity index 100% rename from buildroot-2021.05/package/initscripts/Config.in rename to buildroot-2022.02.1/package/initscripts/Config.in diff --git a/buildroot-2021.05/package/initscripts/init.d/rcK b/buildroot-2022.02.1/package/initscripts/init.d/rcK similarity index 100% rename from buildroot-2021.05/package/initscripts/init.d/rcK rename to buildroot-2022.02.1/package/initscripts/init.d/rcK diff --git a/buildroot-2021.05/package/initscripts/init.d/rcS b/buildroot-2022.02.1/package/initscripts/init.d/rcS similarity index 100% rename from buildroot-2021.05/package/initscripts/init.d/rcS rename to buildroot-2022.02.1/package/initscripts/init.d/rcS diff --git a/buildroot-2022.02.1/package/initscripts/initscripts.mk b/buildroot-2022.02.1/package/initscripts/initscripts.mk new file mode 100644 index 00000000..2e997dcd --- /dev/null +++ b/buildroot-2022.02.1/package/initscripts/initscripts.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# initscripts +# +################################################################################ + +define INITSCRIPTS_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/etc/init.d + $(INSTALL) -D -m 0755 package/initscripts/init.d/* $(TARGET_DIR)/etc/init.d/ +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/inotify-tools/Config.in b/buildroot-2022.02.1/package/inotify-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/inotify-tools/Config.in rename to buildroot-2022.02.1/package/inotify-tools/Config.in diff --git a/buildroot-2021.05/package/inotify-tools/inotify-tools.hash b/buildroot-2022.02.1/package/inotify-tools/inotify-tools.hash similarity index 100% rename from buildroot-2021.05/package/inotify-tools/inotify-tools.hash rename to buildroot-2022.02.1/package/inotify-tools/inotify-tools.hash diff --git a/buildroot-2021.05/package/inotify-tools/inotify-tools.mk b/buildroot-2022.02.1/package/inotify-tools/inotify-tools.mk similarity index 100% rename from buildroot-2021.05/package/inotify-tools/inotify-tools.mk rename to buildroot-2022.02.1/package/inotify-tools/inotify-tools.mk diff --git a/buildroot-2021.05/package/input-event-daemon/Config.in b/buildroot-2022.02.1/package/input-event-daemon/Config.in similarity index 100% rename from buildroot-2021.05/package/input-event-daemon/Config.in rename to buildroot-2022.02.1/package/input-event-daemon/Config.in diff --git a/buildroot-2021.05/package/input-event-daemon/S99input-event-daemon b/buildroot-2022.02.1/package/input-event-daemon/S99input-event-daemon similarity index 100% rename from buildroot-2021.05/package/input-event-daemon/S99input-event-daemon rename to buildroot-2022.02.1/package/input-event-daemon/S99input-event-daemon diff --git a/buildroot-2021.05/package/input-event-daemon/input-event-daemon.hash b/buildroot-2022.02.1/package/input-event-daemon/input-event-daemon.hash similarity index 100% rename from buildroot-2021.05/package/input-event-daemon/input-event-daemon.hash rename to buildroot-2022.02.1/package/input-event-daemon/input-event-daemon.hash diff --git a/buildroot-2022.02.1/package/input-event-daemon/input-event-daemon.mk b/buildroot-2022.02.1/package/input-event-daemon/input-event-daemon.mk new file mode 100644 index 00000000..37fe2241 --- /dev/null +++ b/buildroot-2022.02.1/package/input-event-daemon/input-event-daemon.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# input-event-daemon +# +################################################################################ + +INPUT_EVENT_DAEMON_VERSION = 0.1.3 +INPUT_EVENT_DAEMON_SITE = $(call github,gandro,input-event-daemon,v$(INPUT_EVENT_DAEMON_VERSION)) +INPUT_EVENT_DAEMON_LICENSE = input-event-daemon license +INPUT_EVENT_DAEMON_LICENSE_FILES = README + +define INPUT_EVENT_DAEMON_BUILD_CMDS + touch $(@D)/input-event-table.h + $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) +endef + +define INPUT_EVENT_DAEMON_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -D $(@D)/input-event-daemon \ + $(TARGET_DIR)/usr/bin/input-event-daemon + $(INSTALL) -m 644 -D $(@D)/docs/sample.conf \ + $(TARGET_DIR)/etc/input-event-daemon.conf +endef + +define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/input-event-daemon/S99input-event-daemon \ + $(TARGET_DIR)/etc/init.d/S99input-event-daemon +endef + +define INPUT_EVENT_DAEMON_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/input-event-daemon/input-event-daemon.service \ + $(TARGET_DIR)/usr/lib/systemd/system/input-event-daemon.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/input-event-daemon/input-event-daemon.service b/buildroot-2022.02.1/package/input-event-daemon/input-event-daemon.service similarity index 100% rename from buildroot-2021.05/package/input-event-daemon/input-event-daemon.service rename to buildroot-2022.02.1/package/input-event-daemon/input-event-daemon.service diff --git a/buildroot-2022.02.1/package/intel-gmmlib/0001-Drop-hardening-related-flags.patch b/buildroot-2022.02.1/package/intel-gmmlib/0001-Drop-hardening-related-flags.patch new file mode 100644 index 00000000..581afd90 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-gmmlib/0001-Drop-hardening-related-flags.patch @@ -0,0 +1,28 @@ +From 1528980ee15e9589a7e27ec6d12a33cd8aab57b4 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Tue, 8 Jun 2021 07:51:40 +0200 +Subject: [PATCH] Drop hardening-related flags + +These will be set by Buildroot depending on toolchain capabilities and +global Buildroot options. + +Signed-off-by: Bernd Kuhls +--- + Source/GmmLib/Linux.cmake | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Source/GmmLib/Linux.cmake b/Source/GmmLib/Linux.cmake +index 1a09bc4..b28fc1b 100644 +--- a/Source/GmmLib/Linux.cmake ++++ b/Source/GmmLib/Linux.cmake +@@ -62,7 +62,6 @@ SET (GMMLIB_COMPILER_FLAGS_COMMON + -DUSE_SSE3 + -DUSE_SSSE3 + # Other common flags +- -fstack-protector + -fdata-sections + -ffunction-sections + -fmessage-length=0 +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/intel-gmmlib/Config.in b/buildroot-2022.02.1/package/intel-gmmlib/Config.in new file mode 100644 index 00000000..b6f93f74 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-gmmlib/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_INTEL_GMMLIB + bool "intel-gmmlib" + depends on BR2_x86_64 + depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP + help + The Intel(R) Graphics Memory Management Library provides + device specific and buffer management for the Intel(R) + Graphics Compute Runtime for OpenCL(TM) and the Intel(R) + Media Driver for VAAPI. + + https://github.com/intel/gmmlib + +comment "intel-gmmlib needs a toolchain w/ dynamic library, C++" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/intel-gmmlib/intel-gmmlib.hash b/buildroot-2022.02.1/package/intel-gmmlib/intel-gmmlib.hash new file mode 100644 index 00000000..71a153e0 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-gmmlib/intel-gmmlib.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 7cc044dc0979269abe825054ba6cc1b67169dc7a7f4192898e2dd04142a633fa intel-gmmlib-22.0.2.tar.gz +sha256 8b7446825df3f8b0268307e272aa6aaaf78351c83161d860d02c913c22666c48 LICENSE.md diff --git a/buildroot-2022.02.1/package/intel-gmmlib/intel-gmmlib.mk b/buildroot-2022.02.1/package/intel-gmmlib/intel-gmmlib.mk new file mode 100644 index 00000000..235f7134 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-gmmlib/intel-gmmlib.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# intel-gmmlib +# +################################################################################ + +INTEL_GMMLIB_VERSION = 22.0.2 +INTEL_GMMLIB_SITE = https://github.com/intel/gmmlib/archive +INTEL_GMMLIB_LICENSE = MIT +INTEL_GMMLIB_LICENSE_FILES = LICENSE.md + +INTEL_GMMLIB_INSTALL_STAGING = YES +INTEL_GMMLIB_SUPPORTS_IN_SOURCE_BUILD = NO + +INTEL_GMMLIB_CONF_OPTS = -DRUN_TEST_SUITE=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/intel-mediadriver/0001-Add-MEDIA-BUILD-HARDENING-option.patch b/buildroot-2022.02.1/package/intel-mediadriver/0001-Add-MEDIA-BUILD-HARDENING-option.patch new file mode 100644 index 00000000..96844575 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-mediadriver/0001-Add-MEDIA-BUILD-HARDENING-option.patch @@ -0,0 +1,106 @@ +From 103c00c8d74a1cd87686850212bd93c0e4d59fc9 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 11 Aug 2021 21:34:59 +0200 +Subject: [PATCH] Add MEDIA_BUILD_HARDENING option + +Add MEDIA_BUILD_HARDENING option to allow the user to disable hardening +options such as stack-protector-all or FORTIFY SOURCE 2 which are not +always available (e.g. fortify source 2 is only available on glibc >= 6 +and not musl/uclibc-ng) + +Patch sent upstream: https://github.com/intel/media-driver/pull/1242 + +Signed-off-by: Fabrice Fontaine +Signed-off-by: Bernd Kuhls +[Bernd: rebased for version 21.4.1] +--- + cmrtlib/linux/CMakeLists.txt | 14 ++++++++++---- + .../cmake/linux/media_compile_flags_linux.cmake | 12 ++++++++++-- + media_driver/media_top_cmake.cmake | 8 +++++++- + 3 files changed, 27 insertions(+), 7 deletions(-) + +diff --git a/cmrtlib/linux/CMakeLists.txt b/cmrtlib/linux/CMakeLists.txt +index 65f71ceef..b066138d9 100644 +--- a/cmrtlib/linux/CMakeLists.txt ++++ b/cmrtlib/linux/CMakeLists.txt +@@ -32,12 +32,18 @@ else() + endif() + + # Set up compile options that will be used for the Linux build +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CPP_STANDARD_OPTION} -fPIC -fpermissive -fstack-protector-all") +-set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing -D_FORTIFY_SOURCE=2") ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CPP_STANDARD_OPTION} -fPIC -fpermissive") ++set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fno-strict-aliasing") + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0") +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CPP_STANDARD_OPTION} -fPIC -fpermissive -fstack-protector-all") +-set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing -D_FORTIFY_SOURCE=2") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CPP_STANDARD_OPTION} -fPIC -fpermissive") ++set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing") + set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG -D__DEBUG -O0") ++if(MEDIA_BUILD_HARDENING) ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS} -fstack-protector-all") ++ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -D_FORTIFY_SOURCE=2") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS} -fstack-protector-all") ++ set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -D_FORTIFY_SOURCE=2") ++endif() + if(MEDIA_BUILD_FATAL_WARNINGS) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS} -Werror") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS} -Werror") +diff --git a/media_driver/cmake/linux/media_compile_flags_linux.cmake b/media_driver/cmake/linux/media_compile_flags_linux.cmake +index 7a2bd64b6..98896b131 100755 +--- a/media_driver/cmake/linux/media_compile_flags_linux.cmake ++++ b/media_driver/cmake/linux/media_compile_flags_linux.cmake +@@ -47,7 +47,6 @@ set(MEDIA_COMPILER_FLAGS_COMMON + # Other common flags + -fmessage-length=0 + -fvisibility=hidden +- -fstack-protector + -fdata-sections + -ffunction-sections + -Wl,--gc-sections +@@ -64,6 +63,11 @@ set(MEDIA_COMPILER_FLAGS_COMMON + -g + ) + ++if(MEDIA_BUILD_HARDENING) ++ set(MEDIA_COMPILER_FLAGS_COMMON ++ ${MEDIA_COMPILER_FLAGS_COMMON} ++ -fstack-protector) ++endif() + + if(${UFO_MARCH} STREQUAL "slm") + set(MEDIA_COMPILER_FLAGS_COMMON +@@ -119,9 +123,13 @@ if(${UFO_VARIANT} STREQUAL "default") + set(MEDIA_COMPILER_FLAGS_RELEASE + ${MEDIA_COMPILER_FLAGS_RELEASE} + -O2 +- -D_FORTIFY_SOURCE=2 + -fno-omit-frame-pointer + ) ++ if(MEDIA_BUILD_HARDENING) ++ set(MEDIA_COMPILER_FLAGS_RELEASE ++ ${MEDIA_COMPILER_FLAGS_RELEASE} ++ -D_FORTIFY_SOURCE=2) ++ endif() + endif() + + if(NOT ${PLATFORM} STREQUAL "android") +diff --git a/media_driver/media_top_cmake.cmake b/media_driver/media_top_cmake.cmake +index f089ea45f..b0b428914 100755 +--- a/media_driver/media_top_cmake.cmake ++++ b/media_driver/media_top_cmake.cmake +@@ -113,7 +113,13 @@ if(MEDIA_BUILD_FATAL_WARNINGS) + set_target_properties(${LIB_NAME_OBJ} PROPERTIES COMPILE_FLAGS "-Werror") + endif() + +-set_target_properties(${LIB_NAME} PROPERTIES LINK_FLAGS "-Wl,--no-as-needed -Wl,--gc-sections -z relro -z now -fstack-protector -fPIC") ++set(MEDIA_LINK_FLAGS "-Wl,--no-as-needed -Wl,--gc-sections -z relro -z now -fPIC") ++option(MEDIA_BUILD_HARDENING "Enable hardening (stack-protector, fortify source)" ON) ++if(MEDIA_BUILD_HARDENING) ++ set(MEDIA_LINK_FLAGS "${MEDIA_LINK_FLAGS} -fstack-protector") ++endif() ++set_target_properties(${LIB_NAME} PROPERTIES LINK_FLAGS ${MEDIA_LINK_FLAGS}) ++ + set_target_properties(${LIB_NAME} PROPERTIES PREFIX "") + set_target_properties(${LIB_NAME_STATIC} PROPERTIES PREFIX "") + diff --git a/buildroot-2022.02.1/package/intel-mediadriver/Config.in b/buildroot-2022.02.1/package/intel-mediadriver/Config.in new file mode 100644 index 00000000..ad565900 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-mediadriver/Config.in @@ -0,0 +1,34 @@ +config BR2_PACKAGE_INTEL_MEDIADRIVER + bool "intel-mediadriver" + depends on BR2_x86_64 + depends on !BR2_STATIC_LIBS # mesa3d, libva + depends on BR2_INSTALL_LIBSTDCPP # intel-gmmlib, mesa3d + depends on BR2_TOOLCHAIN_HAS_SYNC_1 # mesa3d + depends on BR2_TOOLCHAIN_HAS_THREADS # libva + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # mesa3d + select BR2_PACKAGE_INTEL_GMMLIB + select BR2_PACKAGE_LIBPCIACCESS + select BR2_PACKAGE_LIBVA + select BR2_PACKAGE_MESA3D + help + The Intel(R) Media Driver for VAAPI is a new VA-API (Video + Acceleration API) user mode driver supporting hardware + accelerated decoding, encoding, and video post processing for + GEN based graphics hardware. + + https://github.com/intel/media-driver + +if BR2_PACKAGE_INTEL_MEDIADRIVER + +config BR2_PACKAGE_INTEL_MEDIADRIVER_GEN8 + bool "Gen8 support" + default y + help + Enable support for Gen8 GPUs (Coffee Lake) + +endif # BR2_PACKAGE_INTEL_MEDIADRIVER + +comment "intel-mediadriver needs a toolchain w/ dynamic library, C++, NPTL" + depends on BR2_x86_64 && BR2_TOOLCHAIN_HAS_SYNC_1 + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL diff --git a/buildroot-2022.02.1/package/intel-mediadriver/intel-mediadriver.hash b/buildroot-2022.02.1/package/intel-mediadriver/intel-mediadriver.hash new file mode 100644 index 00000000..ceafa20e --- /dev/null +++ b/buildroot-2022.02.1/package/intel-mediadriver/intel-mediadriver.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 6eaa4a9caf58faa8934b253adb4b0ece1c7d5de6f084167d5138b4e3ba423683 intel-media-22.1.1.tar.gz +sha256 74979d5aaee78b8da82e3aafd415a216b6131dfff6d95d6930927c8a4e3bded3 LICENSE.md diff --git a/buildroot-2022.02.1/package/intel-mediadriver/intel-mediadriver.mk b/buildroot-2022.02.1/package/intel-mediadriver/intel-mediadriver.mk new file mode 100644 index 00000000..9a2b4a87 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-mediadriver/intel-mediadriver.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# intel-mediadriver +# +################################################################################ + +# based on https://software.intel.com/en-us/articles/build-and-debug-open-source-media-stack + +INTEL_MEDIADRIVER_VERSION = 22.1.1 +INTEL_MEDIADRIVER_SITE = http://github.com/intel/media-driver/archive +INTEL_MEDIADRIVER_SOURCE= intel-media-$(INTEL_MEDIADRIVER_VERSION).tar.gz +INTEL_MEDIADRIVER_LICENSE = MIT, BSD-3-Clause +INTEL_MEDIADRIVER_LICENSE_FILES = LICENSE.md + +INTEL_MEDIADRIVER_DEPENDENCIES = \ + intel-gmmlib \ + libpciaccess \ + libva \ + mesa3d + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +INTEL_MEDIADRIVER_DEPENDENCIES += xlib_libX11 +endif + +INTEL_MEDIADRIVER_SUPPORTS_IN_SOURCE_BUILD = NO + +# hardening is disabled here, so that the top-level Buildroot options +# control which hardening features are enabled +INTEL_MEDIADRIVER_CONF_OPTS = \ + -DINSTALL_DRIVER_SYSCONF=OFF \ + -DMEDIA_BUILD_FATAL_WARNINGS=OFF \ + -DMEDIA_RUN_TEST_SUITE=OFF \ + -DMEDIA_BUILD_HARDENING=OFF + +ifeq ($(BR2_PACKAGE_INTEL_MEDIADRIVER_GEN8),y) +INTEL_MEDIADRIVER_CONF_OPTS += -DGEN8=ON +else +INTEL_MEDIADRIVER_CONF_OPTS += -DGEN8=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/intel-mediasdk/0001-Don-t-force-fstack-protector.patch b/buildroot-2022.02.1/package/intel-mediasdk/0001-Don-t-force-fstack-protector.patch new file mode 100644 index 00000000..a7e3b702 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-mediasdk/0001-Don-t-force-fstack-protector.patch @@ -0,0 +1,54 @@ +From 28ca7393c08cb54b87d11c1ca92821e48f54781b Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Mon, 15 Apr 2019 23:09:33 +0200 +Subject: [PATCH] Don't force -fstack-protector + +This allows the environment to decide whether SSP should be used or +not, for example to support toolchains that don't have SSP support. + +Signed-off-by: Thomas Petazzoni +[Bernd: rebased for 21.2.3] +Signed-off-by: Bernd Kuhls +--- + api/mfx_dispatch/linux/CMakeLists.txt | 2 +- + builder/FindPackages.cmake | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/api/mfx_dispatch/linux/CMakeLists.txt b/api/mfx_dispatch/linux/CMakeLists.txt +index 15a4bd9a..4415f840 100644 +--- a/api/mfx_dispatch/linux/CMakeLists.txt ++++ b/api/mfx_dispatch/linux/CMakeLists.txt +@@ -101,7 +101,7 @@ target_link_libraries(mfx dl) + get_api_version(MFX_VERSION_MAJOR MFX_VERSION_MINOR) + + set_target_properties( mfx PROPERTIES LINK_FLAGS +- "-Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libmfx.map -fstack-protector") ++ "-Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack -Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/libmfx.map") + set_target_properties( mfx PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_LIB_DIR}/${CMAKE_BUILD_TYPE} FOLDER mfx ) + set_target_properties( mfx PROPERTIES VERSION ${MFX_VERSION_MAJOR}.${MFX_VERSION_MINOR}) + set_target_properties( mfx PROPERTIES SOVERSION ${MFX_VERSION_MAJOR}) +diff --git a/builder/FindPackages.cmake b/builder/FindPackages.cmake +index 7e36ae2d..5b8b9b9d 100644 +--- a/builder/FindPackages.cmake ++++ b/builder/FindPackages.cmake +@@ -83,7 +83,7 @@ function( configure_build_variant_linux target variant ) + return() # should not occur; just in case + endif() + set( link_flags_list "-Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack -Wl,--no-as-needed -ldl") +- append_property( ${ARGV0} LINK_FLAGS "${link_flags_list} ${MFX_LDFLAGS} -fstack-protector" ) ++ append_property( ${ARGV0} LINK_FLAGS "${link_flags_list} ${MFX_LDFLAGS}" ) + # message( STATUS "Libva located at: ${PKG_LIBVA_LIBRARY_DIRS}" ) + + if( ARGV1 MATCHES hw AND Linux ) +@@ -445,7 +445,7 @@ function(configure_dependencies target dependencies variant) + endforeach() + + set(SCOPE_CFLAGS ${SCOPE_CFLAGS} PARENT_SCOPE) +- set(SCOPE_LINKFLAGS "${SCOPE_LINKFLAGS} -Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack -fstack-protector" PARENT_SCOPE) ++ set(SCOPE_LINKFLAGS "${SCOPE_LINKFLAGS} -Wl,--no-undefined,-z,relro,-z,now,-z,noexecstack" PARENT_SCOPE) + set(SCOPE_LIBS ${SCOPE_LIBS} PARENT_SCOPE) + endfunction() + +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/intel-mediasdk/Config.in b/buildroot-2022.02.1/package/intel-mediasdk/Config.in new file mode 100644 index 00000000..c1f609e3 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-mediasdk/Config.in @@ -0,0 +1,26 @@ +config BR2_PACKAGE_INTEL_MEDIASDK + bool "intel-mediasdk" + depends on BR2_x86_64 + depends on !BR2_STATIC_LIBS # intel-mediadriver + depends on BR2_INSTALL_LIBSTDCPP # intel-mediadriver + depends on BR2_TOOLCHAIN_HAS_SYNC_1 # intel-mediadriver + depends on BR2_TOOLCHAIN_HAS_THREADS # intel-mediadriver + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # intel-mediadriver + select BR2_PACKAGE_INTEL_MEDIADRIVER + select BR2_PACKAGE_LIBDRM_INTEL + help + Intel(R) Media SDK provides an API to access + hardware-accelerated video decode, encode and filtering on + Intel® platforms with integrated graphics. + + Supported video encoders: HEVC, AVC, MPEG-2, JPEG + Supported Video decoders: HEVC, AVC, VP8, MPEG-2, VC1, JPEG + Supported video pre-processing filters: Color Conversion, + Deinterlace, Denoise, Resize, Rotate, Composition + + http://mediasdk.intel.com/ + +comment "intel-mediasdk needs a toolchain w/ dynamic library, C++, NPTL" + depends on BR2_x86_64 && BR2_TOOLCHAIN_HAS_SYNC_1 + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL diff --git a/buildroot-2022.02.1/package/intel-mediasdk/intel-mediasdk.hash b/buildroot-2022.02.1/package/intel-mediasdk/intel-mediasdk.hash new file mode 100644 index 00000000..7cd61fe9 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-mediasdk/intel-mediasdk.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 5ed1d22b5c5a05d3e848e43caa2b3966dbfb7f74281a646e6d0774a0621a9b8b intel-mediasdk-22.1.0.tar.gz +sha256 dfd67773578903698f9ff4a61eb8f2d84810cbecd56f3f3cee8c649f813b6ea6 LICENSE diff --git a/buildroot-2022.02.1/package/intel-mediasdk/intel-mediasdk.mk b/buildroot-2022.02.1/package/intel-mediasdk/intel-mediasdk.mk new file mode 100644 index 00000000..7d57e0e9 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-mediasdk/intel-mediasdk.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# intel-mediasdk +# +################################################################################ + +INTEL_MEDIASDK_VERSION = 22.1.0 +INTEL_MEDIASDK_SITE = https://github.com/Intel-Media-SDK/MediaSDK/archive +INTEL_MEDIASDK_LICENSE = MIT +INTEL_MEDIASDK_LICENSE_FILES = LICENSE + +INTEL_MEDIASDK_INSTALL_STAGING = YES +INTEL_MEDIASDK_DEPENDENCIES = intel-mediadriver + +INTEL_MEDIASDK_CONF_OPTS = \ + -DBUILD_SAMPLES=OFF \ + -DBUILD_TUTORIALS=OFF \ + -DMFX_INCLUDE="$(@D)/api/include" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/intel-microcode/Config.in b/buildroot-2022.02.1/package/intel-microcode/Config.in similarity index 100% rename from buildroot-2021.05/package/intel-microcode/Config.in rename to buildroot-2022.02.1/package/intel-microcode/Config.in diff --git a/buildroot-2022.02.1/package/intel-microcode/intel-microcode.hash b/buildroot-2022.02.1/package/intel-microcode/intel-microcode.hash new file mode 100644 index 00000000..6687d4c0 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-microcode/intel-microcode.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 fd85b6b769efd029dec6a2c07106fd18fb4dcb548b7bc4cde09295a8344ef6d7 intel-microcode-20210608.tar.gz +sha256 03efb1491c7e899feb2665fa299363e64035e5444c1b8bc1f6ebed30de964e12 license diff --git a/buildroot-2022.02.1/package/intel-microcode/intel-microcode.mk b/buildroot-2022.02.1/package/intel-microcode/intel-microcode.mk new file mode 100644 index 00000000..af7f6fa8 --- /dev/null +++ b/buildroot-2022.02.1/package/intel-microcode/intel-microcode.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# intel-microcode +# +################################################################################ + +INTEL_MICROCODE_VERSION = 20210608 +INTEL_MICROCODE_SITE = $(call github,intel,Intel-Linux-Processor-Microcode-Data-Files,microcode-$(INTEL_MICROCODE_VERSION)) +INTEL_MICROCODE_LICENSE = PROPRIETARY +INTEL_MICROCODE_LICENSE_FILES = license +INTEL_MICROCODE_REDISTRIBUTE = NO +INTEL_MICROCODE_INSTALL_IMAGES = YES + +define INTEL_MICROCODE_INSTALL_IMAGES_CMDS + mkdir -p $(BINARIES_DIR)/intel-ucode + $(INSTALL) -m 0644 -t $(BINARIES_DIR)/intel-ucode \ + $(@D)/intel-ucode/* +endef + +ifeq ($(BR2_PACKAGE_INTEL_MICROCODE_INSTALL_TARGET),y) +define INTEL_MICROCODE_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/lib/firmware/intel-ucode + $(INSTALL) -m 0644 -t $(TARGET_DIR)/lib/firmware/intel-ucode \ + $(@D)/intel-ucode/* +endef +else +INTEL_MICROCODE_INSTALL_TARGET = NO +endif + +define INTEL_MICROCODE_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE) + $(call KCONFIG_ENABLE_OPT,CONFIG_MICROCODE_INTEL) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/intltool/0001-perl-5.26-compatibility.patch b/buildroot-2022.02.1/package/intltool/0001-perl-5.26-compatibility.patch similarity index 100% rename from buildroot-2021.05/package/intltool/0001-perl-5.26-compatibility.patch rename to buildroot-2022.02.1/package/intltool/0001-perl-5.26-compatibility.patch diff --git a/buildroot-2021.05/package/intltool/intltool.hash b/buildroot-2022.02.1/package/intltool/intltool.hash similarity index 100% rename from buildroot-2021.05/package/intltool/intltool.hash rename to buildroot-2022.02.1/package/intltool/intltool.hash diff --git a/buildroot-2021.05/package/intltool/intltool.mk b/buildroot-2022.02.1/package/intltool/intltool.mk similarity index 100% rename from buildroot-2021.05/package/intltool/intltool.mk rename to buildroot-2022.02.1/package/intltool/intltool.mk diff --git a/buildroot-2021.05/package/iodine/0001-disable-systemd-and-selinux.patch b/buildroot-2022.02.1/package/iodine/0001-disable-systemd-and-selinux.patch similarity index 100% rename from buildroot-2021.05/package/iodine/0001-disable-systemd-and-selinux.patch rename to buildroot-2022.02.1/package/iodine/0001-disable-systemd-and-selinux.patch diff --git a/buildroot-2021.05/package/iodine/Config.in b/buildroot-2022.02.1/package/iodine/Config.in similarity index 100% rename from buildroot-2021.05/package/iodine/Config.in rename to buildroot-2022.02.1/package/iodine/Config.in diff --git a/buildroot-2021.05/package/iodine/iodine.hash b/buildroot-2022.02.1/package/iodine/iodine.hash similarity index 100% rename from buildroot-2021.05/package/iodine/iodine.hash rename to buildroot-2022.02.1/package/iodine/iodine.hash diff --git a/buildroot-2022.02.1/package/iodine/iodine.mk b/buildroot-2022.02.1/package/iodine/iodine.mk new file mode 100644 index 00000000..521ca3d9 --- /dev/null +++ b/buildroot-2022.02.1/package/iodine/iodine.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# iodine +# +################################################################################ + +IODINE_VERSION = 0.7.0 +IODINE_SITE = http://code.kryo.se/iodine +IODINE_DEPENDENCIES = zlib +IODINE_LICENSE = MIT +IODINE_LICENSE_FILES = README +IODINE_CPE_ID_VENDOR = kryo +IODINE_SELINUX_MODULES = iodine + +IODINE_CFLAGS = $(TARGET_CFLAGS) + +# iodine contains a local implementation of daemon(3) for older +# systems, unless __GLIBC__ is defined. Musl does provide it, but +# unlike uClibc it doesn't define __GLIBC__. Work around it by +# pretending to be glibc as we otherwise end up with symbol conflicts. +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +IODINE_CFLAGS += -D__GLIBC__ +endif + +define IODINE_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) CFLAGS="$(IODINE_CFLAGS)" \ + $(MAKE) ARCH=$(BR2_ARCH) -C $(@D) +endef + +define IODINE_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install DESTDIR="$(TARGET_DIR)" prefix=/usr +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/iotop/0001-Fix-build-error-with-Python-3.patch b/buildroot-2022.02.1/package/iotop/0001-Fix-build-error-with-Python-3.patch similarity index 100% rename from buildroot-2021.05/package/iotop/0001-Fix-build-error-with-Python-3.patch rename to buildroot-2022.02.1/package/iotop/0001-Fix-build-error-with-Python-3.patch diff --git a/buildroot-2022.02.1/package/iotop/Config.in b/buildroot-2022.02.1/package/iotop/Config.in new file mode 100644 index 00000000..460503b9 --- /dev/null +++ b/buildroot-2022.02.1/package/iotop/Config.in @@ -0,0 +1,11 @@ +comment "iotop depends on python3" + depends on !BR2_PACKAGE_PYTHON3 + +config BR2_PACKAGE_IOTOP + bool "iotop" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_CURSES + help + iotop does for I/O usage what top does for CPU usage. + + http://guichaz.free.fr/iotop/ diff --git a/buildroot-2021.05/package/iotop/iotop.hash b/buildroot-2022.02.1/package/iotop/iotop.hash similarity index 100% rename from buildroot-2021.05/package/iotop/iotop.hash rename to buildroot-2022.02.1/package/iotop/iotop.hash diff --git a/buildroot-2021.05/package/iotop/iotop.mk b/buildroot-2022.02.1/package/iotop/iotop.mk similarity index 100% rename from buildroot-2021.05/package/iotop/iotop.mk rename to buildroot-2022.02.1/package/iotop/iotop.mk diff --git a/buildroot-2022.02.1/package/iozone/0001-Add-new-targets-for-iozone.patch b/buildroot-2022.02.1/package/iozone/0001-Add-new-targets-for-iozone.patch new file mode 100644 index 00000000..3cc184ec --- /dev/null +++ b/buildroot-2022.02.1/package/iozone/0001-Add-new-targets-for-iozone.patch @@ -0,0 +1,103 @@ +From 5b1e973b2333e838624abf195b3ba9716591f304 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Sun, 10 Oct 2021 10:15:26 +0200 +Subject: [PATCH] Add new targets for iozone: + +linux-noaio is for linux targets without AIO (use case: uClibc) +linux-noth is for linux target without threads or AIO + +And make largefile support optional via CFLAGS. + +Signed-off-by: Gustavo Zacarias +Signed-off-by: Gilles Talis +--- + src/current/makefile | 56 +++++++++++++++++++++++++++++++++++++------- + 1 file changed, 47 insertions(+), 9 deletions(-) + +diff --git a/src/current/makefile b/src/current/makefile +index 3a54701..3b17b1b 100644 +--- a/src/current/makefile ++++ b/src/current/makefile +@@ -172,10 +172,28 @@ hpux_no_ansi: iozone_hpux_no.o libbif.o + # GNU 'C' compiler Linux build with threads, largefiles, async I/O + # + linux: iozone_linux.o libasync.o libbif.o fileop_linux.o pit_server.o +- $(CC) -O3 $(CFLAGS) iozone_linux.o libasync.o libbif.o -lpthread \ ++ $(CC) $(CFLAGS) $(LDFLAGS) iozone_linux.o libasync.o libbif.o \ ++ -lpthread -lrt -o iozone ++ $(CC) $(CFLAGS) -Dlinux fileop_linux.o -o fileop ++ $(CC) $(CFLAGS) -Dlinux pit_server.o -o pit_server ++ ++# ++# GNU 'C' compiler Linux build with threads, largefiles ++# ++linux-noaio: iozone_linux-noaio.o libbif.o fileop_linux.o pit_server.o ++ $(CC) $(CFLAGS) $(LDFLAGS) iozone_linux-noaio.o libbif.o \ ++ -lpthread -lrt -o iozone ++ $(CC) $(CFLAGS) -Dlinux fileop_linux.o -o fileop ++ $(CC) $(CFLAGS) -Dlinux pit_server.o -o pit_server ++ ++# ++# GNU 'C' compiler Linux build with largefiles ++# ++linux-noth: iozone_linux-noth.o libbif.o fileop_linux.o pit_server.o ++ $(CC) $(CFLAGS) $(LDFLAGS) iozone_linux-noth.o libbif.o \ + -lrt -o iozone +- $(CC) -O3 $(CFLAGS) -Dlinux fileop_linux.o -o fileop +- $(CC) -O3 $(CFLAGS) -Dlinux pit_server.o -o pit_server ++ $(CC) $(CFLAGS) -Dlinux fileop_linux.o -o fileop ++ $(CC) $(CFLAGS) -Dlinux pit_server.o -o pit_server + + # + # GNU 'C' compiler Linux build for powerpc chip with threads, largefiles, async I/O +@@ -841,13 +859,33 @@ iozone_linux.o: iozone.c libbif.c libasync.c + @echo "" + @echo "Building iozone for Linux" + @echo "" +- $(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \ +- -DSHARED_MEM -Dlinux -D_LARGEFILE64_SOURCE $(CFLAGS) iozone.c \ ++ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO -DHAVE_PREAD \ ++ -DSHARED_MEM -Dlinux $(CFLAGS) iozone.c \ + -DNAME='"linux"' -o iozone_linux.o +- $(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -DHAVE_ANSIC_C -DASYNC_IO -D_LARGEFILE64_SOURCE \ ++ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DASYNC_IO \ ++ -DSHARED_MEM -Dlinux $(CFLAGS) libbif.c -o libbif.o ++ $(CC) -Wmissing-prototypes -Wall -c -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \ ++ $(CFLAGS) libasync.c -o libasync.o ++ ++iozone_linux-noaio.o: iozone.c libbif.c ++ @echo "" ++ @echo "Building iozone for Linux no AIO" ++ @echo "" ++ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DHAVE_PREAD \ ++ -DSHARED_MEM -Dlinux $(CFLAGS) iozone.c \ ++ -DNAME='"linux"' -o iozone_linux-noaio.o ++ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C \ ++ -DSHARED_MEM -Dlinux $(CFLAGS) libbif.c -o libbif.o ++ ++iozone_linux-noth.o: iozone.c libbif.c ++ @echo "" ++ @echo "Building iozone for Linux with no threads" ++ @echo "" ++ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DNO_THREADS -DHAVE_PREAD \ ++ -DSHARED_MEM -Dlinux $(CFLAGS) iozone.c \ ++ -DNAME='"linux"' -o iozone_linux-noth.o ++ $(CC) -Wmissing-prototypes -Wall -c -Dunix -DHAVE_ANSIC_C -DNO_THREADS \ + -DSHARED_MEM -Dlinux $(CFLAGS) libbif.c -o libbif.o +- $(CC) -Wmissing-prototypes -Wall -c -O3 -Dunix -Dlinux -DHAVE_ANSIC_C -DASYNC_IO \ +- -D_LARGEFILE64_SOURCE $(CFLAGS) libasync.c -o libasync.o + + fileop_AIX.o: fileop.c + @echo "" +@@ -951,7 +989,7 @@ fileop_linux.o: fileop.c + @echo "" + @echo "Building fileop for Linux" + @echo "" +- $(CC) -Wall -c -O3 $(CFLAGS) fileop.c -o fileop_linux.o ++ $(CC) -Wall -c $(CFLAGS) fileop.c -o fileop_linux.o + + fileop_openbsd.o: fileop.c + @echo "" +-- +2.27.0 + diff --git a/buildroot-2021.05/package/iozone/Config.in b/buildroot-2022.02.1/package/iozone/Config.in similarity index 100% rename from buildroot-2021.05/package/iozone/Config.in rename to buildroot-2022.02.1/package/iozone/Config.in diff --git a/buildroot-2022.02.1/package/iozone/iozone.hash b/buildroot-2022.02.1/package/iozone/iozone.hash new file mode 100644 index 00000000..9ecf1d1a --- /dev/null +++ b/buildroot-2022.02.1/package/iozone/iozone.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 5a52f5017e022e737f5b55f320cc6ada0f2a8c831a5f996cce2a44e03e91c038 iozone3_493.tgz diff --git a/buildroot-2022.02.1/package/iozone/iozone.mk b/buildroot-2022.02.1/package/iozone/iozone.mk new file mode 100644 index 00000000..2df4a2aa --- /dev/null +++ b/buildroot-2022.02.1/package/iozone/iozone.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# iozone +# +################################################################################ + +IOZONE_VERSION = 3.493 +IOZONE_SOURCE = iozone$(subst .,_,$(IOZONE_VERSION)).tgz +IOZONE_SITE = http://www.iozone.org/src/current +IOZONE_LICENSE = IOzone license (NO DERIVED WORKS ALLOWED) +# IOzone license details can be found at: +# http://www.iozone.org/docs/Iozone_License.txt + +# AIO support not available on uClibc, use the linux (non-aio) target. +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +IOZONE_TARGET = linux-noaio +else +IOZONE_TARGET = linux +endif + +define IOZONE_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) $(IOZONE_TARGET) -C $(@D)/src/current +endef + +define IOZONE_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/src/current/iozone \ + $(TARGET_DIR)/usr/bin/iozone + $(INSTALL) -D -m 755 $(@D)/src/current/fileop \ + $(TARGET_DIR)/usr/bin/fileop +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ipcalc/Config.in b/buildroot-2022.02.1/package/ipcalc/Config.in similarity index 100% rename from buildroot-2021.05/package/ipcalc/Config.in rename to buildroot-2022.02.1/package/ipcalc/Config.in diff --git a/buildroot-2022.02.1/package/ipcalc/ipcalc.hash b/buildroot-2022.02.1/package/ipcalc/ipcalc.hash new file mode 100644 index 00000000..bf9b34a6 --- /dev/null +++ b/buildroot-2022.02.1/package/ipcalc/ipcalc.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 dac080c0773cc14c1d6f818899351d2286cace85751dd9dc704944e54c2c3565 ipcalc-1.0.1.tar.bz2 +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/ipcalc/ipcalc.mk b/buildroot-2022.02.1/package/ipcalc/ipcalc.mk new file mode 100644 index 00000000..dfe35e2c --- /dev/null +++ b/buildroot-2022.02.1/package/ipcalc/ipcalc.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# ipcalc +# +################################################################################ + +IPCALC_VERSION = 1.0.1 +IPCALC_SITE = $(call gitlab,ipcalc,ipcalc,$(IPCALC_VERSION)) +IPCALC_SOURCE = ipcalc-$(IPCALC_VERSION).tar.bz2 +IPCALC_LICENSE = GPL-2.0+ +IPCALC_LICENSE_FILES = COPYING + +ifeq ($(BR2_STATIC_LIBS),y) +IPCALC_CONF_OPTS += -Duse_runtime_linking=disabled +else +IPCALC_CONF_OPTS += -Duse_runtime_linking=enabled +endif + +ifeq ($(BR2_PACKAGE_GEOIP),y) +IPCALC_CONF_OPTS += -Duse_geoip=enabled +IPCALC_DEPENDENCIES += host-pkgconf geoip +else +IPCALC_CONF_OPTS += -Duse_geoip=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y) +IPCALC_CONF_OPTS += -Duse_maxminddb=enabled +IPCALC_DEPENDENCIES += host-pkgconf libmaxminddb +else +IPCALC_CONF_OPTS += -Duse_maxminddb=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/iperf/0001-Fix-build-with-musl-libc.patch b/buildroot-2022.02.1/package/iperf/0001-Fix-build-with-musl-libc.patch new file mode 100644 index 00000000..269079ee --- /dev/null +++ b/buildroot-2022.02.1/package/iperf/0001-Fix-build-with-musl-libc.patch @@ -0,0 +1,67 @@ +From 6766ab322a9eb8c73f8276be9cdea356eb124de0 Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Thu, 11 Nov 2021 07:58:10 +0200 +Subject: [PATCH] Fix build with musl libc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +musl libc defines its own struct ethhdr that conflicts with the kernel +define one. The kernel headers provide a way to suppress its struct +ethhdr. For that to work the libc headers must precede the kernel. Move +the kernel linux/if_tun.h include below libc net/ethernet.h. That fixes +the following build failure: + +In file included from .../arm-buildroot-linux-musleabihf/sysroot/usr/include/net/ethernet.h:10, + from ../include/headers.h:117, + from Thread.c:72: +.../arm-buildroot-linux-musleabihf/sysroot/usr/include/netinet/if_ether.h:116:8: error: redefinition of ‘struct ethhdr’ + 116 | struct ethhdr { + | ^~~~~~ +In file included from .../arm-buildroot-linux-musleabihf/sysroot/usr/include/linux/if_tun.h:20, + from ../include/headers.h:110, + from Thread.c:72: +.../arm-buildroot-linux-musleabihf/sysroot/usr/include/linux/if_ether.h:148:8: note: originally defined here + 148 | struct ethhdr { + | ^~~~~~ + +Fixes bug #157. + +Signed-off-by: Baruch Siach +--- +Upstream status: sent to Robert McMahon + + include/headers.h | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/include/headers.h b/include/headers.h +index 00e0ea0dba42..887490475381 100644 +--- a/include/headers.h ++++ b/include/headers.h +@@ -106,11 +106,6 @@ typedef bool _Bool; + #include + #endif + +-#if ((HAVE_TUNTAP_TAP) || (HAVE_TUNTAP_TUN)) +-#include +-#include +-#endif +- + + // AF_PACKET HEADERS + #if defined(HAVE_LINUX_FILTER_H) && defined(HAVE_AF_PACKET) +@@ -146,6 +141,11 @@ typedef bool _Bool; + #define IPV6HDRLEN 40 + #endif // HAVE_AF_PACKET + ++#if ((HAVE_TUNTAP_TAP) || (HAVE_TUNTAP_TUN)) ++#include ++#include ++#endif ++ + #ifdef WIN32 + + /* Windows config file */ +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/iperf/0002-compat-gettcpinfo.c-fix-build.patch b/buildroot-2022.02.1/package/iperf/0002-compat-gettcpinfo.c-fix-build.patch new file mode 100644 index 00000000..786c7d18 --- /dev/null +++ b/buildroot-2022.02.1/package/iperf/0002-compat-gettcpinfo.c-fix-build.patch @@ -0,0 +1,34 @@ +From a3339604bafa99f66e12687efc2c50d2e2df1276 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 12 Dec 2021 20:03:04 +0100 +Subject: [PATCH] compat/gettcpinfo.c: fix build + +Fix the following build failure raised since commit +c8f861a0a07b0606a581f2658c71959ad9417923: + +gettcpinfo.c: In function 'gettcpinfo': +gettcpinfo.c:101:42: error: expected declaration or statement at end of input + 101 | inline void gettcpinfo (int sock, struct ReportStruct *sample) { + | ^~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/073e070478f0cda34784af96bb3a802c3aac8f72 + +Signed-off-by: Fabrice Fontaine +--- + compat/gettcpinfo.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/compat/gettcpinfo.c b/compat/gettcpinfo.c +index 4e11e2a..1d3791a 100644 +--- a/compat/gettcpinfo.c ++++ b/compat/gettcpinfo.c +@@ -99,4 +99,5 @@ inline void gettcpinfo (SOCKET sock, struct ReportStruct *sample) { + }; + #else + inline void gettcpinfo (int sock, struct ReportStruct *sample) { ++}; + #endif +-- +2.33.0 + diff --git a/buildroot-2021.05/package/iperf/Config.in b/buildroot-2022.02.1/package/iperf/Config.in similarity index 100% rename from buildroot-2021.05/package/iperf/Config.in rename to buildroot-2022.02.1/package/iperf/Config.in diff --git a/buildroot-2022.02.1/package/iperf/iperf.hash b/buildroot-2022.02.1/package/iperf/iperf.hash new file mode 100644 index 00000000..2e1f433d --- /dev/null +++ b/buildroot-2022.02.1/package/iperf/iperf.hash @@ -0,0 +1,6 @@ +# From https://sourceforge.net/projects/iperf2/files/ +sha1 41bd049625cbecda2bf5b6a6cc12a6c5baec549b iperf-2.1.6.tar.gz + +# Locally computed: +sha256 4a43e44439b95622aebeee55754a17d1c94076032e90620dfc1ab9908cb9e080 iperf-2.1.6.tar.gz +sha256 5f9f5c4feca3347c3b3c0ada8b16b4e6b698aac4e6f016a24adf61a5915336d1 COPYING diff --git a/buildroot-2022.02.1/package/iperf/iperf.mk b/buildroot-2022.02.1/package/iperf/iperf.mk new file mode 100644 index 00000000..f999ff4a --- /dev/null +++ b/buildroot-2022.02.1/package/iperf/iperf.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# iperf +# +################################################################################ + +IPERF_VERSION = 2.1.6 +IPERF_SITE = http://downloads.sourceforge.net/project/iperf2 +IPERF_LICENSE = MIT-like +IPERF_LICENSE_FILES = COPYING +IPERF_CPE_ID_VENDOR = iperf2_project +IPERF_CPE_ID_PRODUCT = iperf2 + +IPERF_CONF_OPTS = \ + --disable-web100 + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iperf3/Config.in b/buildroot-2022.02.1/package/iperf3/Config.in similarity index 100% rename from buildroot-2021.05/package/iperf3/Config.in rename to buildroot-2022.02.1/package/iperf3/Config.in diff --git a/buildroot-2022.02.1/package/iperf3/iperf3.hash b/buildroot-2022.02.1/package/iperf3/iperf3.hash new file mode 100644 index 00000000..c96d68cd --- /dev/null +++ b/buildroot-2022.02.1/package/iperf3/iperf3.hash @@ -0,0 +1,4 @@ +# From https://downloads.es.net/pub/iperf/iperf-3.10.1.tar.gz.sha256 +sha256 03bc9760cc54a245191d46bfc8edaf8a4750f0e87abca6764486972044d6715a iperf-3.10.1.tar.gz +# Locally computed +sha256 0e1cb1921904626f0d3e86cacc0e28333140f0f9957267cff0b9d185645743ed LICENSE diff --git a/buildroot-2022.02.1/package/iperf3/iperf3.mk b/buildroot-2022.02.1/package/iperf3/iperf3.mk new file mode 100644 index 00000000..8c57c61f --- /dev/null +++ b/buildroot-2022.02.1/package/iperf3/iperf3.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# iperf3 +# +################################################################################ + +IPERF3_VERSION = 3.10.1 +IPERF3_SITE = https://downloads.es.net/pub/iperf +IPERF3_SOURCE = iperf-$(IPERF3_VERSION).tar.gz +IPERF3_LICENSE = BSD-3-Clause, BSD-2-Clause, MIT +IPERF3_LICENSE_FILES = LICENSE +IPERF3_CPE_ID_VENDOR = es + +IPERF3_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +# We intentionally don't pass --with-openssl, otherwise pkg-config is +# not used, and indirect libraries are not picked up when static +# linking. +IPERF3_DEPENDENCIES += host-pkgconf openssl +else +IPERF3_CONF_OPTS += --without-openssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ipmitool/0001-Fix-missing-stddef.h-include.patch b/buildroot-2022.02.1/package/ipmitool/0001-Fix-missing-stddef.h-include.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0001-Fix-missing-stddef.h-include.patch rename to buildroot-2022.02.1/package/ipmitool/0001-Fix-missing-stddef.h-include.patch diff --git a/buildroot-2021.05/package/ipmitool/0002-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch b/buildroot-2022.02.1/package/ipmitool/0002-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0002-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch rename to buildroot-2022.02.1/package/ipmitool/0002-ID-461-OpenSSL-1.1-compatibility-error-storage-size-.patch diff --git a/buildroot-2021.05/package/ipmitool/0003-ID-461-Make-compiler-happier-about-changes-related-t.patch b/buildroot-2022.02.1/package/ipmitool/0003-ID-461-Make-compiler-happier-about-changes-related-t.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0003-ID-461-Make-compiler-happier-about-changes-related-t.patch rename to buildroot-2022.02.1/package/ipmitool/0003-ID-461-Make-compiler-happier-about-changes-related-t.patch diff --git a/buildroot-2021.05/package/ipmitool/0004-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch b/buildroot-2022.02.1/package/ipmitool/0004-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0004-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch rename to buildroot-2022.02.1/package/ipmitool/0004-ID-480-ipmitool-coredumps-in-EVP_CIPHER_CTX_init.patch diff --git a/buildroot-2021.05/package/ipmitool/0005-ID-480-Call-EVP_CIPHER_CTX_free-instead-of-EVP_CIPHE.patch b/buildroot-2022.02.1/package/ipmitool/0005-ID-480-Call-EVP_CIPHER_CTX_free-instead-of-EVP_CIPHE.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0005-ID-480-Call-EVP_CIPHER_CTX_free-instead-of-EVP_CIPHE.patch rename to buildroot-2022.02.1/package/ipmitool/0005-ID-480-Call-EVP_CIPHER_CTX_free-instead-of-EVP_CIPHE.patch diff --git a/buildroot-2021.05/package/ipmitool/0006-lanplus-Fix-compile-with-deprecated-APIs-disabled.patch b/buildroot-2022.02.1/package/ipmitool/0006-lanplus-Fix-compile-with-deprecated-APIs-disabled.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0006-lanplus-Fix-compile-with-deprecated-APIs-disabled.patch rename to buildroot-2022.02.1/package/ipmitool/0006-lanplus-Fix-compile-with-deprecated-APIs-disabled.patch diff --git a/buildroot-2021.05/package/ipmitool/0007-hpmfwupg-move-variable-definition-to-c-file.patch b/buildroot-2022.02.1/package/ipmitool/0007-hpmfwupg-move-variable-definition-to-c-file.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0007-hpmfwupg-move-variable-definition-to-c-file.patch rename to buildroot-2022.02.1/package/ipmitool/0007-hpmfwupg-move-variable-definition-to-c-file.patch diff --git a/buildroot-2021.05/package/ipmitool/0008-fru-Fix-buffer-overflow-vulnerabilities.patch b/buildroot-2022.02.1/package/ipmitool/0008-fru-Fix-buffer-overflow-vulnerabilities.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0008-fru-Fix-buffer-overflow-vulnerabilities.patch rename to buildroot-2022.02.1/package/ipmitool/0008-fru-Fix-buffer-overflow-vulnerabilities.patch diff --git a/buildroot-2021.05/package/ipmitool/0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch b/buildroot-2022.02.1/package/ipmitool/0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch rename to buildroot-2022.02.1/package/ipmitool/0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch diff --git a/buildroot-2021.05/package/ipmitool/0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch b/buildroot-2022.02.1/package/ipmitool/0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch rename to buildroot-2022.02.1/package/ipmitool/0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch diff --git a/buildroot-2021.05/package/ipmitool/0011-channel-Fix-buffer-overflow.patch b/buildroot-2022.02.1/package/ipmitool/0011-channel-Fix-buffer-overflow.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0011-channel-Fix-buffer-overflow.patch rename to buildroot-2022.02.1/package/ipmitool/0011-channel-Fix-buffer-overflow.patch diff --git a/buildroot-2021.05/package/ipmitool/0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch b/buildroot-2022.02.1/package/ipmitool/0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch rename to buildroot-2022.02.1/package/ipmitool/0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch diff --git a/buildroot-2021.05/package/ipmitool/0013-fru-sdr-Fix-id_string-buffer-overflows.patch b/buildroot-2022.02.1/package/ipmitool/0013-fru-sdr-Fix-id_string-buffer-overflows.patch similarity index 100% rename from buildroot-2021.05/package/ipmitool/0013-fru-sdr-Fix-id_string-buffer-overflows.patch rename to buildroot-2022.02.1/package/ipmitool/0013-fru-sdr-Fix-id_string-buffer-overflows.patch diff --git a/buildroot-2021.05/package/ipmitool/Config.in b/buildroot-2022.02.1/package/ipmitool/Config.in similarity index 100% rename from buildroot-2021.05/package/ipmitool/Config.in rename to buildroot-2022.02.1/package/ipmitool/Config.in diff --git a/buildroot-2021.05/package/ipmitool/ipmitool.hash b/buildroot-2022.02.1/package/ipmitool/ipmitool.hash similarity index 100% rename from buildroot-2021.05/package/ipmitool/ipmitool.hash rename to buildroot-2022.02.1/package/ipmitool/ipmitool.hash diff --git a/buildroot-2022.02.1/package/ipmitool/ipmitool.mk b/buildroot-2022.02.1/package/ipmitool/ipmitool.mk new file mode 100644 index 00000000..801f1ea6 --- /dev/null +++ b/buildroot-2022.02.1/package/ipmitool/ipmitool.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# ipmitool +# +################################################################################ + +IPMITOOL_VERSION = 1.8.18 +IPMITOOL_SOURCE = ipmitool-$(IPMITOOL_VERSION).tar.bz2 +IPMITOOL_SITE = http://downloads.sourceforge.net/project/ipmitool/ipmitool/$(IPMITOOL_VERSION) +IPMITOOL_LICENSE = BSD-3-Clause +IPMITOOL_LICENSE_FILES = COPYING +IPMITOOL_CPE_ID_VENDOR = ipmitool_project + +# 0008-fru-Fix-buffer-overflow-vulnerabilities.patch +# 0009-fru-Fix-buffer-overflow-in-ipmi_spd_print_fru.patch +# 0010-session-Fix-buffer-overflow-in-ipmi_get_session_info.patch +# 0011-channel-Fix-buffer-overflow.patch +# 0012-lanp-Fix-buffer-overflows-in-get_lan_param_select.patch +# 0013-fru-sdr-Fix-id_string-buffer-overflows.patch +IPMITOOL_IGNORE_CVES += CVE-2020-5208 + +ifeq ($(BR2_PACKAGE_FREEIPMI),y) +IPMITOOL_DEPENDENCIES += freeipmi +IPMITOOL_CONF_OPTS += --enable-intf-free +else +IPMITOOL_CONF_OPTS += --disable-intf-free +endif + +ifeq ($(BR2_PACKAGE_IPMITOOL_LANPLUS),y) +IPMITOOL_DEPENDENCIES += openssl +IPMITOOL_CONF_OPTS += --enable-intf-lanplus +else +IPMITOOL_CONF_OPTS += --disable-intf-lanplus +endif + +ifeq ($(BR2_PACKAGE_IPMITOOL_USB),y) +IPMITOOL_CONF_OPTS += --enable-intf-usb +else +IPMITOOL_CONF_OPTS += --disable-intf-usb +endif + +ifeq ($(BR2_PACKAGE_IPMITOOL_IPMISHELL),y) +IPMITOOL_DEPENDENCIES += ncurses readline +IPMITOOL_CONF_OPTS += --enable-ipmishell +else +IPMITOOL_CONF_OPTS += --disable-ipmishell +endif + +ifeq ($(BR2_PACKAGE_IPMITOOL_IPMIEVD),) +define IPMITOOL_REMOVE_IPMIEVD + $(RM) -f $(TARGET_DIR)/usr/sbin/ipmievd +endef +IPMITOOL_POST_INSTALL_TARGET_HOOKS += IPMITOOL_REMOVE_IPMIEVD +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ipmiutil/Config.in b/buildroot-2022.02.1/package/ipmiutil/Config.in similarity index 100% rename from buildroot-2021.05/package/ipmiutil/Config.in rename to buildroot-2022.02.1/package/ipmiutil/Config.in diff --git a/buildroot-2021.05/package/ipmiutil/ipmiutil.hash b/buildroot-2022.02.1/package/ipmiutil/ipmiutil.hash similarity index 100% rename from buildroot-2021.05/package/ipmiutil/ipmiutil.hash rename to buildroot-2022.02.1/package/ipmiutil/ipmiutil.hash diff --git a/buildroot-2022.02.1/package/ipmiutil/ipmiutil.mk b/buildroot-2022.02.1/package/ipmiutil/ipmiutil.mk new file mode 100644 index 00000000..97a644e3 --- /dev/null +++ b/buildroot-2022.02.1/package/ipmiutil/ipmiutil.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# ipmiutil +# +################################################################################ + +IPMIUTIL_VERSION = 3.1.7 +IPMIUTIL_SITE = https://sourceforge.net/projects/ipmiutil/files +IPMIUTIL_LICENSE = BSD-3-Clause +IPMIUTIL_LICENSE_FILES = COPYING + +IPMIUTIL_MAKE = $(MAKE1) + +# aclocal.m4 is newer than config.h.in. Touch the latter to avoid autoreconf +define IPMIUTIL_TOUCH_CONFIG_H_IN + touch $(@D)/config.h.in +endef +IPMIUTIL_PRE_CONFIGURE_HOOKS += IPMIUTIL_TOUCH_CONFIG_H_IN + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +# tests against distro libcrypto so it might get a false positive when +# the openssl version is old, so force it off +# SKIP_MD2 can be used only if ALLOW_GNU is defined. +IPMIUTIL_CONF_OPTS += CPPFLAGS="$(TARGET_CPPFLAGS) -DALLOW_GNU -DSKIP_MD2 -DSSL11" +IPMIUTIL_DEPENDENCIES += openssl +else +IPMIUTIL_CONF_OPTS += --disable-lanplus +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch b/buildroot-2022.02.1/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch new file mode 100644 index 00000000..1f8860c5 --- /dev/null +++ b/buildroot-2022.02.1/package/iproute2/0001-lib-fix-ax25-h-include-for-musl.patch @@ -0,0 +1,37 @@ +From 8bced38a941a181f1468fa39541e872e51b6022f Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Thu, 13 Jan 2022 08:14:13 +0000 +Subject: [PATCH] lib: fix ax25.h include for musl + +ax25.h isn't guaranteed to be avilable in netax25/*; +it's dependent on our choice of libc (it's not available +on musl at least) [0]. + +Let's use the version from linux-headers. + +[0] https://sourceware.org/glibc/wiki/Synchronizing_Headers +Bug: https://bugs.gentoo.org/831102 + +Signed-off-by: Sam James +Signed-off-by: Stephen Hemminger + +[Retrieved from: +https://github.com/shemminger/iproute2/commit/8bced38a941a181f1468fa39541e872e51b6022f] +Signed-off-by: Fabrice Fontaine +--- + lib/ax25_ntop.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/ax25_ntop.c b/lib/ax25_ntop.c +index cfd0e04b0..3a72a43e9 100644 +--- a/lib/ax25_ntop.c ++++ b/lib/ax25_ntop.c +@@ -2,7 +2,7 @@ + + #include + #include +-#include ++#include + + #include "utils.h" + diff --git a/buildroot-2021.05/package/iproute2/Config.in b/buildroot-2022.02.1/package/iproute2/Config.in similarity index 100% rename from buildroot-2021.05/package/iproute2/Config.in rename to buildroot-2022.02.1/package/iproute2/Config.in diff --git a/buildroot-2022.02.1/package/iproute2/iproute2.hash b/buildroot-2022.02.1/package/iproute2/iproute2.hash new file mode 100644 index 00000000..f7e7f682 --- /dev/null +++ b/buildroot-2022.02.1/package/iproute2/iproute2.hash @@ -0,0 +1,3 @@ +# From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc +sha256 c064b66f6b001c2a35aa5224b5b1ac8aa4bee104d7dce30d6f10a84cb8b01e2f iproute2-5.16.0.tar.xz +sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/buildroot-2022.02.1/package/iproute2/iproute2.mk b/buildroot-2022.02.1/package/iproute2/iproute2.mk new file mode 100644 index 00000000..a51b5b29 --- /dev/null +++ b/buildroot-2022.02.1/package/iproute2/iproute2.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# iproute2 +# +################################################################################ + +IPROUTE2_VERSION = 5.16.0 +IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz +IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2 +IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf \ + $(if $(BR2_PACKAGE_LIBMNL),libmnl) +IPROUTE2_LICENSE = GPL-2.0+ +IPROUTE2_LICENSE_FILES = COPYING +IPROUTE2_CPE_ID_VENDOR = iproute2_project + +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +IPROUTE2_DEPENDENCIES += elfutils +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +IPROUTE2_DEPENDENCIES += libcap +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +IPROUTE2_DEPENDENCIES += libselinux +endif + +ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx) +IPROUTE2_DEPENDENCIES += iptables +else +define IPROUTE2_DISABLE_IPTABLES + # m_xt.so is built unconditionally + echo "TC_CONFIG_XT:=n" >>$(@D)/config.mk +endef +endif + +ifeq ($(BR2_PACKAGE_BERKELEYDB_COMPAT185),y) +IPROUTE2_DEPENDENCIES += berkeleydb +endif + +define IPROUTE2_CONFIGURE_CMDS + cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure + $(IPROUTE2_DISABLE_IPTABLES) +endef + +define IPROUTE2_BUILD_CMDS + $(TARGET_MAKE_ENV) LDFLAGS="$(TARGET_LDFLAGS)" \ + CFLAGS="$(TARGET_CFLAGS) -DXT_LIB_DIR=\\\"/usr/lib/xtables\\\"" \ + CBUILD_CFLAGS="$(HOST_CFLAGS)" $(MAKE) V=1 LIBDB_LIBS=-lpthread \ + DBM_INCLUDE="$(STAGING_DIR)/usr/include" \ + SHARED_LIBS="$(if $(BR2_STATIC_LIBS),n,y)" -C $(@D) +endef + +define IPROUTE2_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) DESTDIR="$(TARGET_DIR)" $(MAKE) -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/iprutils/0001-configure.ac-add-AC_USE_SYSTEM_EXTENSIONS.patch b/buildroot-2022.02.1/package/iprutils/0001-configure.ac-add-AC_USE_SYSTEM_EXTENSIONS.patch similarity index 100% rename from buildroot-2021.05/package/iprutils/0001-configure.ac-add-AC_USE_SYSTEM_EXTENSIONS.patch rename to buildroot-2022.02.1/package/iprutils/0001-configure.ac-add-AC_USE_SYSTEM_EXTENSIONS.patch diff --git a/buildroot-2021.05/package/iprutils/Config.in b/buildroot-2022.02.1/package/iprutils/Config.in similarity index 100% rename from buildroot-2021.05/package/iprutils/Config.in rename to buildroot-2022.02.1/package/iprutils/Config.in diff --git a/buildroot-2021.05/package/iprutils/iprutils.hash b/buildroot-2022.02.1/package/iprutils/iprutils.hash similarity index 100% rename from buildroot-2021.05/package/iprutils/iprutils.hash rename to buildroot-2022.02.1/package/iprutils/iprutils.hash diff --git a/buildroot-2021.05/package/iprutils/iprutils.mk b/buildroot-2022.02.1/package/iprutils/iprutils.mk similarity index 100% rename from buildroot-2021.05/package/iprutils/iprutils.mk rename to buildroot-2022.02.1/package/iprutils/iprutils.mk diff --git a/buildroot-2021.05/package/ipset/Config.in b/buildroot-2022.02.1/package/ipset/Config.in similarity index 100% rename from buildroot-2021.05/package/ipset/Config.in rename to buildroot-2022.02.1/package/ipset/Config.in diff --git a/buildroot-2022.02.1/package/ipset/ipset.hash b/buildroot-2022.02.1/package/ipset/ipset.hash new file mode 100644 index 00000000..9c251be2 --- /dev/null +++ b/buildroot-2022.02.1/package/ipset/ipset.hash @@ -0,0 +1,4 @@ +# From https://ipset.netfilter.org/ipset-7.15.tar.bz2.sha512sum.txt +sha512 0fc936d971c30a0925c585d506c8840e782fdaeec09bc8fd249e874fe838fa55a4dbb697f6e1423a6769abf07a1ce2195abc37cb641e8e4ad70f1b4c7130916a ipset-7.15.tar.bz2 +# Locally calculated +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING diff --git a/buildroot-2022.02.1/package/ipset/ipset.mk b/buildroot-2022.02.1/package/ipset/ipset.mk new file mode 100644 index 00000000..4eda65e8 --- /dev/null +++ b/buildroot-2022.02.1/package/ipset/ipset.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# ipset +# +################################################################################ + +IPSET_VERSION = 7.15 +IPSET_SOURCE = ipset-$(IPSET_VERSION).tar.bz2 +IPSET_SITE = http://ipset.netfilter.org +IPSET_DEPENDENCIES = libmnl host-pkgconf +IPSET_CONF_OPTS = --with-kmod=no +IPSET_LICENSE = GPL-2.0 +IPSET_LICENSE_FILES = COPYING +IPSET_CPE_ID_VENDOR = netfilter +IPSET_INSTALL_STAGING = YES +IPSET_SELINUX_MODULES = iptables + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iptables/Config.in b/buildroot-2022.02.1/package/iptables/Config.in similarity index 100% rename from buildroot-2021.05/package/iptables/Config.in rename to buildroot-2022.02.1/package/iptables/Config.in diff --git a/buildroot-2022.02.1/package/iptables/S35iptables b/buildroot-2022.02.1/package/iptables/S35iptables new file mode 100644 index 00000000..a2de29d2 --- /dev/null +++ b/buildroot-2022.02.1/package/iptables/S35iptables @@ -0,0 +1,58 @@ +#!/bin/sh + +DAEMON="iptables" + +IPTABLES_ARGS="" + +start() { + printf 'Starting %s: ' "$DAEMON" + iptables-restore /etc/iptables.conf + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + iptables -F + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +save() { + printf 'Saving %s: ' "$DAEMON" + iptables-save -f /etc/iptables.conf + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "SKIP (read-only file system detected)" + fi + return "$status" +} + +case "$1" in + start|stop|restart|save) + "$1";; + reload) + # Restart, since there is no true "reload" feature. + restart;; + *) + echo "Usage: $0 {start|stop|restart|save|reload}" + exit 1 +esac diff --git a/buildroot-2021.05/package/iptables/iptables.hash b/buildroot-2022.02.1/package/iptables/iptables.hash similarity index 100% rename from buildroot-2021.05/package/iptables/iptables.hash rename to buildroot-2022.02.1/package/iptables/iptables.hash diff --git a/buildroot-2022.02.1/package/iptables/iptables.mk b/buildroot-2022.02.1/package/iptables/iptables.mk new file mode 100644 index 00000000..555bb384 --- /dev/null +++ b/buildroot-2022.02.1/package/iptables/iptables.mk @@ -0,0 +1,66 @@ +################################################################################ +# +# iptables +# +################################################################################ + +IPTABLES_VERSION = 1.8.7 +IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2 +IPTABLES_SITE = https://netfilter.org/projects/iptables/files +IPTABLES_INSTALL_STAGING = YES +IPTABLES_DEPENDENCIES = host-pkgconf \ + $(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack) +IPTABLES_LICENSE = GPL-2.0 +IPTABLES_LICENSE_FILES = COPYING +IPTABLES_CPE_ID_VENDOR = netfilter +IPTABLES_SELINUX_MODULES = iptables + +# Building static causes ugly warnings on some plugins +IPTABLES_CONF_OPTS = --libexecdir=/usr/lib --with-kernel=$(STAGING_DIR)/usr \ + $(if $(BR2_STATIC_LIBS),,--disable-static) + +# For connlabel match +ifeq ($(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),y) +IPTABLES_DEPENDENCIES += libnetfilter_conntrack +endif + +# For nfnl_osf +ifeq ($(BR2_PACKAGE_LIBNFNETLINK),y) +IPTABLES_DEPENDENCIES += libnfnetlink +endif + +# For iptables-compat tools +ifeq ($(BR2_PACKAGE_IPTABLES_NFTABLES),y) +IPTABLES_CONF_OPTS += --enable-nftables +IPTABLES_DEPENDENCIES += host-bison host-flex libmnl libnftnl +else +IPTABLES_CONF_OPTS += --disable-nftables +endif + +# bpf compiler support and nfsynproxy tool +ifeq ($(BR2_PACKAGE_IPTABLES_BPF_NFSYNPROXY),y) +# libpcap is tricky for static-only builds and needs help +ifeq ($(BR2_STATIC_LIBS),y) +IPTABLES_LIBS_FOR_STATIC_LINK += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs` +IPTABLES_CONF_OPTS += LIBS="$(IPTABLES_LIBS_FOR_STATIC_LINK)" +endif +IPTABLES_CONF_OPTS += --enable-bpf-compiler --enable-nfsynproxy +IPTABLES_DEPENDENCIES += libpcap +else +IPTABLES_CONF_OPTS += --disable-bpf-compiler --disable-nfsynproxy +endif + +define IPTABLES_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES) + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_XTABLES) +endef + +define IPTABLES_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/iptables/S35iptables \ + $(TARGET_DIR)/etc/init.d/S35iptables + touch $(TARGET_DIR)/etc/iptables.conf +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iptraf-ng/Config.in b/buildroot-2022.02.1/package/iptraf-ng/Config.in similarity index 100% rename from buildroot-2021.05/package/iptraf-ng/Config.in rename to buildroot-2022.02.1/package/iptraf-ng/Config.in diff --git a/buildroot-2021.05/package/iptraf-ng/iptraf-ng.hash b/buildroot-2022.02.1/package/iptraf-ng/iptraf-ng.hash similarity index 100% rename from buildroot-2021.05/package/iptraf-ng/iptraf-ng.hash rename to buildroot-2022.02.1/package/iptraf-ng/iptraf-ng.hash diff --git a/buildroot-2021.05/package/iptraf-ng/iptraf-ng.mk b/buildroot-2022.02.1/package/iptraf-ng/iptraf-ng.mk similarity index 100% rename from buildroot-2021.05/package/iptraf-ng/iptraf-ng.mk rename to buildroot-2022.02.1/package/iptraf-ng/iptraf-ng.mk diff --git a/buildroot-2022.02.1/package/iputils/Config.in b/buildroot-2022.02.1/package/iputils/Config.in new file mode 100644 index 00000000..1a8b5555 --- /dev/null +++ b/buildroot-2022.02.1/package/iputils/Config.in @@ -0,0 +1,65 @@ +config BR2_PACKAGE_IPUTILS + bool "iputils" + depends on BR2_USE_MMU # fork() + help + This package is set of small useful utilities for Linux + networking. It includes complete versions of ping, arping, + etc. + + https://github.com/iputils/iputils + +if BR2_PACKAGE_IPUTILS + +config BR2_PACKAGE_IPUTILS_ARPING + bool "arping" + default y + help + Installs arping. + +config BR2_PACKAGE_IPUTILS_CLOCKDIFF + bool "clockdiff" + default y + help + Installs clockdiff. + +config BR2_PACKAGE_IPUTILS_PING + bool "ping" + default y + help + Installs ping. + +config BR2_PACKAGE_IPUTILS_RARPD + bool "rarpd" + help + Installs rarpd. + +config BR2_PACKAGE_IPUTILS_RDISC + bool "rdisc" + default y + help + Installs rdisc. + +config BR2_PACKAGE_IPUTILS_RDISC_SERVER + bool "rdisc (server code)" + default y + depends on BR2_PACKAGE_IPUTILS_RDISC + help + Builds rdisc with server code. + +config BR2_PACKAGE_IPUTILS_TRACEPATH + bool "tracepath" + default y + help + Installs tracepath. + +config BR2_PACKAGE_IPUTILS_NINFOD + bool "ninfod" + default y + depends on BR2_TOOLCHAIN_HAS_THREADS # ninfod requires + help + Installs ninfod. + +comment "ninfod needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +endif diff --git a/buildroot-2022.02.1/package/iputils/iputils.hash b/buildroot-2022.02.1/package/iputils/iputils.hash new file mode 100644 index 00000000..edfa384d --- /dev/null +++ b/buildroot-2022.02.1/package/iputils/iputils.hash @@ -0,0 +1,6 @@ +# https://github.com/iputils/iputils/releases/download/20211215/sha256sum.asc +sha256 b6f67fc705490673ff4471d006221b4a2f1b1180b929d9fefd771352621ccedf iputils-20211215.tar.gz +# Locally computed +sha256 973281334c2da6364fa6bdc44c1f0f8d60d80d73c782982ffc5d53b0a31aa042 LICENSE +sha256 9acc4bc871a4742550158e3696dcb381953172ef808d04ca248184f9f6322712 Documentation/LICENSE.BSD3 +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Documentation/LICENSE.GPL2 diff --git a/buildroot-2022.02.1/package/iputils/iputils.mk b/buildroot-2022.02.1/package/iputils/iputils.mk new file mode 100644 index 00000000..84059de3 --- /dev/null +++ b/buildroot-2022.02.1/package/iputils/iputils.mk @@ -0,0 +1,132 @@ +################################################################################ +# +# iputils +# +################################################################################ + +# The original upstream was forked to the github repository in 2014 to +# pull fixes from other distribution and centralize the changes after +# the upstream seemed to have gone dormant. The fork contains the +# latest changes including musl support, removing a libsysfs dependency +# and IPv6 updates. +# http://www.spinics.net/lists/netdev/msg279881.html + +IPUTILS_VERSION = 20211215 +IPUTILS_SITE = $(call github,iputils,iputils,$(IPUTILS_VERSION)) +IPUTILS_LICENSE = GPL-2.0+, BSD-3-Clause +IPUTILS_LICENSE_FILES = LICENSE Documentation/LICENSE.BSD3 Documentation/LICENSE.GPL2 +IPUTILS_CPE_ID_VENDOR = iputils_project +IPUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) + +# Selectively build binaries +IPUTILS_CONF_OPTS += \ + -DBUILD_CLOCKDIFF=$(if $(BR2_PACKAGE_IPUTILS_CLOCKDIFF),true,false) \ + -DBUILD_RARPD=$(if $(BR2_PACKAGE_IPUTILS_RARPD),true,false) \ + -DBUILD_RDISC=$(if $(BR2_PACKAGE_IPUTILS_RDISC),true,false) \ + -DENABLE_RDISC_SERVER=$(if $(BR2_PACKAGE_IPUTILS_RDISC_SERVER),true,false) \ + -DBUILD_TRACEPATH=$(if $(BR2_PACKAGE_IPUTILS_TRACEPATH),true,false) \ + -DBUILD_NINFOD=$(if $(BR2_PACKAGE_IPUTILS_NINFOD),true,false) \ + -DSKIP_TESTS=true + +# Selectively select the appropriate SELinux refpolicy modules +IPUTILS_SELINUX_MODULES = \ + $(if $(BR2_PACKAGE_IPUTILS_ARPING),netutils) \ + $(if $(BR2_PACKAGE_IPUTILS_PING),netutils) \ + $(if $(BR2_PACKAGE_IPUTILS_TRACEPATH),netutils) \ + $(if $(BR2_PACKAGE_IPUTILS_RDISC),rdisc) + +# +# arping +# +ifeq ($(BR2_PACKAGE_IPUTILS_ARPING),y) +IPUTILS_CONF_OPTS += -DBUILD_ARPING=true + +# move some binaries to the same location as where Busybox installs +# the corresponding applets, so that we have a single version of the +# tools (from iputils) +define IPUTILS_MOVE_ARPING_BINARY + mv $(TARGET_DIR)/usr/bin/arping $(TARGET_DIR)/usr/sbin/arping +endef +IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_MOVE_ARPING_BINARY + +else +IPUTILS_CONF_OPTS += -DBUILD_ARPING=false +endif + +# +# ping +# +ifeq ($(BR2_PACKAGE_IPUTILS_PING),y) +IPUTILS_CONF_OPTS += -DBUILD_PING=true + +# same reason to move the ping binary as for arping +ifeq ($(BR2_ROOTFS_MERGED_USR),) +define IPUTILS_MOVE_PING_BINARY + mv $(TARGET_DIR)/usr/bin/ping $(TARGET_DIR)/bin/ping +endef +IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_MOVE_PING_BINARY +endif + +# upstream requires distros to create symlink +define IPUTILS_CREATE_PING6_SYMLINK + ln -sf ping $(TARGET_DIR)/bin/ping6 +endef +IPUTILS_POST_INSTALL_TARGET_HOOKS += IPUTILS_CREATE_PING6_SYMLINK + +else +IPUTILS_CONF_OPTS += -DBUILD_PING=false +endif + +# Handle libraries +ifeq ($(BR2_PACKAGE_LIBCAP),y) +IPUTILS_CONF_OPTS += -DUSE_CAP=true +IPUTILS_DEPENDENCIES += libcap +else +IPUTILS_CONF_OPTS += -DUSE_CAP=false +endif + +ifeq ($(BR2_PACKAGE_LIBIDN2),y) +IPUTILS_CONF_OPTS += -DUSE_IDN=true +IPUTILS_DEPENDENCIES += libidn2 +else +IPUTILS_CONF_OPTS += -DUSE_IDN=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +IPUTILS_DEPENDENCIES += systemd +endif + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +IPUTILS_CONF_OPTS += -DUSE_GETTEXT=true +else +IPUTILS_CONF_OPTS += -DUSE_GETTEXT=false +endif + +# XSL Stylesheets for DocBook 5 not packaged for buildroot +IPUTILS_CONF_OPTS += -DBUILD_MANS=false -DBUILD_HTML_MANS=false + +# handle permissions ourselves +IPUTILS_CONF_OPTS += -DNO_SETCAP_OR_SUID=true +ifeq ($(BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES),y) +define IPUTILS_PERMISSIONS + $(if $(BR2_PACKAGE_IPUTILS_ARPING),\ + /usr/sbin/arping f 755 0 0 - - - - -,) + $(if $(BR2_PACKAGE_IPUTILS_CLOCKDIFF),\ + /usr/bin/clockdiff f 755 0 0 - - - - - + |xattr cap_net_raw+p,) + $(if $(BR2_PACKAGE_IPUTILS_PING),\ + /bin/ping f 755 0 0 - - - - - + |xattr cap_net_raw+p,) +endef +else +define IPUTILS_PERMISSIONS + $(if $(BR2_PACKAGE_IPUTILS_ARPING),\ + /usr/sbin/arping f 755 0 0 - - - - -,) + $(if $(BR2_PACKAGE_IPUTILS_CLOCKDIFF),\ + /usr/bin/clockdiff f 4755 0 0 - - - - -,) + $(if $(BR2_PACKAGE_IPUTILS_PING),\ + /bin/ping f 4755 0 0 - - - - -,) +endef +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/irda-utils/0001-daemon.patch b/buildroot-2022.02.1/package/irda-utils/0001-daemon.patch similarity index 100% rename from buildroot-2021.05/package/irda-utils/0001-daemon.patch rename to buildroot-2022.02.1/package/irda-utils/0001-daemon.patch diff --git a/buildroot-2021.05/package/irda-utils/0002-nommu.patch b/buildroot-2022.02.1/package/irda-utils/0002-nommu.patch similarity index 100% rename from buildroot-2021.05/package/irda-utils/0002-nommu.patch rename to buildroot-2022.02.1/package/irda-utils/0002-nommu.patch diff --git a/buildroot-2021.05/package/irda-utils/0003-subdir.patch b/buildroot-2022.02.1/package/irda-utils/0003-subdir.patch similarity index 100% rename from buildroot-2021.05/package/irda-utils/0003-subdir.patch rename to buildroot-2022.02.1/package/irda-utils/0003-subdir.patch diff --git a/buildroot-2021.05/package/irda-utils/0004-musl.patch b/buildroot-2022.02.1/package/irda-utils/0004-musl.patch similarity index 100% rename from buildroot-2021.05/package/irda-utils/0004-musl.patch rename to buildroot-2022.02.1/package/irda-utils/0004-musl.patch diff --git a/buildroot-2021.05/package/irda-utils/Config.in b/buildroot-2022.02.1/package/irda-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/irda-utils/Config.in rename to buildroot-2022.02.1/package/irda-utils/Config.in diff --git a/buildroot-2021.05/package/irda-utils/irda-utils.hash b/buildroot-2022.02.1/package/irda-utils/irda-utils.hash similarity index 100% rename from buildroot-2021.05/package/irda-utils/irda-utils.hash rename to buildroot-2022.02.1/package/irda-utils/irda-utils.hash diff --git a/buildroot-2021.05/package/irda-utils/irda-utils.mk b/buildroot-2022.02.1/package/irda-utils/irda-utils.mk similarity index 100% rename from buildroot-2021.05/package/irda-utils/irda-utils.mk rename to buildroot-2022.02.1/package/irda-utils/irda-utils.mk diff --git a/buildroot-2022.02.1/package/irqbalance/0001-configure.ac-use-pkg-config-to-find-numa.patch b/buildroot-2022.02.1/package/irqbalance/0001-configure.ac-use-pkg-config-to-find-numa.patch new file mode 100644 index 00000000..751367cc --- /dev/null +++ b/buildroot-2022.02.1/package/irqbalance/0001-configure.ac-use-pkg-config-to-find-numa.patch @@ -0,0 +1,38 @@ +From 274cb8ea470a10ce46b783e77784b0eb08cf20d8 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Aug 2021 23:26:01 +0200 +Subject: [PATCH] configure.ac: use pkg-config to find numa + +Use pkg-config to find numa and fallback to current mechanism. +Thanks to pkg-config, numa dependencies such as -latomic will be +retrieved. + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/Irqbalance/irqbalance/pull/188] +--- + configure.ac | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index c45b9ce..50c62ba 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -23,7 +23,14 @@ AC_CHECK_HEADERS([numa.h]) + + AC_CHECK_FUNCS(getopt_long) + +-AC_CHECK_LIB(numa, numa_available) ++PKG_CHECK_MODULES([NUMA], [numa], [has_numa=yes], [AC_CHECK_LIB(numa, numa_available)]) ++AS_IF([test "x$has_numa" = "xyes"], [ ++ AC_SUBST([NUMA_CFLAGS]) ++ AC_SUBST([NUMA_LIBS]) ++ LIBS="$LIBS $NUMA_LIBS" ++ AC_SUBST([LIBS]) ++]) ++ + AC_CHECK_LIB(m, floor) + + PKG_CHECK_MODULES([GLIB2], [glib-2.0], [], [AC_MSG_ERROR([glib-2.0 is required])]) +-- +2.30.2 + diff --git a/buildroot-2021.05/package/irqbalance/Config.in b/buildroot-2022.02.1/package/irqbalance/Config.in similarity index 100% rename from buildroot-2021.05/package/irqbalance/Config.in rename to buildroot-2022.02.1/package/irqbalance/Config.in diff --git a/buildroot-2021.05/package/irqbalance/S13irqbalance b/buildroot-2022.02.1/package/irqbalance/S13irqbalance similarity index 100% rename from buildroot-2021.05/package/irqbalance/S13irqbalance rename to buildroot-2022.02.1/package/irqbalance/S13irqbalance diff --git a/buildroot-2022.02.1/package/irqbalance/irqbalance.hash b/buildroot-2022.02.1/package/irqbalance/irqbalance.hash new file mode 100644 index 00000000..49118f8c --- /dev/null +++ b/buildroot-2022.02.1/package/irqbalance/irqbalance.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2e7ddb9687a6a5cc1f41626659eac2ad9d6b5875629156b92f693bd404d8ae63 irqbalance-1.8.0.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2022.02.1/package/irqbalance/irqbalance.mk b/buildroot-2022.02.1/package/irqbalance/irqbalance.mk new file mode 100644 index 00000000..1efc0b7f --- /dev/null +++ b/buildroot-2022.02.1/package/irqbalance/irqbalance.mk @@ -0,0 +1,54 @@ +################################################################################ +# +# irqbalance +# +################################################################################ + +IRQBALANCE_VERSION = 1.8.0 +IRQBALANCE_SITE = $(call github,irqbalance,irqbalance,v$(IRQBALANCE_VERSION)) +IRQBALANCE_LICENSE = GPL-2.0 +IRQBALANCE_LICENSE_FILES = COPYING +IRQBALANCE_SELINUX_MODULES = irqbalance +IRQBALANCE_DEPENDENCIES = host-pkgconf libglib2 +# Autoreconf needed because package is distributed without a configure script +IRQBALANCE_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) +IRQBALANCE_DEPENDENCIES += libcap-ng +IRQBALANCE_CONF_OPTS += --with-libcap-ng +else +IRQBALANCE_CONF_OPTS += --without-libcap-ng +endif + +ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) +IRQBALANCE_DEPENDENCIES += ncurses +IRQBALANCE_CONF_OPTS += --with-irqbalance-ui +else +IRQBALANCE_CONF_OPTS += --without-irqbalance-ui +endif + +ifeq ($(BR2_PACKAGE_NUMACTL),y) +IRQBALANCE_DEPENDENCIES += numactl +IRQBALANCE_CONF_OPTS += --enable-numa +else +IRQBALANCE_CONF_OPTS += --disable-numa +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +IRQBALANCE_DEPENDENCIES += systemd +IRQBALANCE_CONF_OPTS += --with-systemd +else +IRQBALANCE_CONF_OPTS += --without-systemd +endif + +define IRQBALANCE_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/irqbalance/S13irqbalance \ + $(TARGET_DIR)/etc/init.d/S13irqbalance +endef + +define IRQBALANCE_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/irqbalance/irqbalance.service \ + $(TARGET_DIR)/usr/lib/systemd/system/irqbalance.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/irqbalance/irqbalance.service b/buildroot-2022.02.1/package/irqbalance/irqbalance.service similarity index 100% rename from buildroot-2021.05/package/irqbalance/irqbalance.service rename to buildroot-2022.02.1/package/irqbalance/irqbalance.service diff --git a/buildroot-2021.05/package/irrlicht/0001-override-CPPFLAGS-CXXFLAGS-and-CFLAGS-in-Makefile.patch b/buildroot-2022.02.1/package/irrlicht/0001-override-CPPFLAGS-CXXFLAGS-and-CFLAGS-in-Makefile.patch similarity index 100% rename from buildroot-2021.05/package/irrlicht/0001-override-CPPFLAGS-CXXFLAGS-and-CFLAGS-in-Makefile.patch rename to buildroot-2022.02.1/package/irrlicht/0001-override-CPPFLAGS-CXXFLAGS-and-CFLAGS-in-Makefile.patch diff --git a/buildroot-2021.05/package/irrlicht/0002-remove-sys-sysctl.h.patch b/buildroot-2022.02.1/package/irrlicht/0002-remove-sys-sysctl.h.patch similarity index 100% rename from buildroot-2021.05/package/irrlicht/0002-remove-sys-sysctl.h.patch rename to buildroot-2022.02.1/package/irrlicht/0002-remove-sys-sysctl.h.patch diff --git a/buildroot-2021.05/package/irrlicht/0003-makefile-override-LDFLAGS-and-remove-obsolete-X11R6-.patch b/buildroot-2022.02.1/package/irrlicht/0003-makefile-override-LDFLAGS-and-remove-obsolete-X11R6-.patch similarity index 100% rename from buildroot-2021.05/package/irrlicht/0003-makefile-override-LDFLAGS-and-remove-obsolete-X11R6-.patch rename to buildroot-2022.02.1/package/irrlicht/0003-makefile-override-LDFLAGS-and-remove-obsolete-X11R6-.patch diff --git a/buildroot-2021.05/package/irrlicht/Config.in b/buildroot-2022.02.1/package/irrlicht/Config.in similarity index 100% rename from buildroot-2021.05/package/irrlicht/Config.in rename to buildroot-2022.02.1/package/irrlicht/Config.in diff --git a/buildroot-2021.05/package/irrlicht/irrlicht.hash b/buildroot-2022.02.1/package/irrlicht/irrlicht.hash similarity index 100% rename from buildroot-2021.05/package/irrlicht/irrlicht.hash rename to buildroot-2022.02.1/package/irrlicht/irrlicht.hash diff --git a/buildroot-2021.05/package/irrlicht/irrlicht.mk b/buildroot-2022.02.1/package/irrlicht/irrlicht.mk similarity index 100% rename from buildroot-2021.05/package/irrlicht/irrlicht.mk rename to buildroot-2022.02.1/package/irrlicht/irrlicht.mk diff --git a/buildroot-2021.05/package/irssi/Config.in b/buildroot-2022.02.1/package/irssi/Config.in similarity index 100% rename from buildroot-2021.05/package/irssi/Config.in rename to buildroot-2022.02.1/package/irssi/Config.in diff --git a/buildroot-2022.02.1/package/irssi/irssi.hash b/buildroot-2022.02.1/package/irssi/irssi.hash new file mode 100644 index 00000000..05555250 --- /dev/null +++ b/buildroot-2022.02.1/package/irssi/irssi.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 a647bfefed14d2221fa77b6edac594934dc672c4a560417b1abcbbc6b88d769f irssi-1.2.3.tar.xz +# Locally calculated +sha256 a1a27cb2ecee8d5378fbb3562f577104a445d6d66fee89286e16758305e63e2b COPYING diff --git a/buildroot-2022.02.1/package/irssi/irssi.mk b/buildroot-2022.02.1/package/irssi/irssi.mk new file mode 100644 index 00000000..da71622a --- /dev/null +++ b/buildroot-2022.02.1/package/irssi/irssi.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# irssi +# +################################################################################ + +IRSSI_VERSION = 1.2.3 +IRSSI_SOURCE = irssi-$(IRSSI_VERSION).tar.xz +# Do not use the github helper here. The generated tarball is *NOT* the +# same as the one uploaded by upstream for the release. +IRSSI_SITE = https://github.com/irssi/irssi/releases/download/$(IRSSI_VERSION) +IRSSI_LICENSE = GPL-2.0+ +IRSSI_LICENSE_FILES = COPYING +IRSSI_CPE_ID_VENDOR = irssi +IRSSI_DEPENDENCIES = host-pkgconf libglib2 ncurses openssl + +IRSSI_CONF_OPTS = \ + --disable-glibtest \ + --without-perl + +ifeq ($(BR2_PACKAGE_IRSSI_PROXY),y) +IRSSI_CONF_OPTS += --with-proxy +# If shared libs are disabled, 'proxy' has to go in the list of built-in +# modules. +ifeq ($(BR2_STATIC_LIBS),y) +IRSSI_CONF_OPTS += --with-modules=proxy +endif +else +IRSSI_CONF_OPTS += --without-proxy +endif # proxy + +ifeq ($(BR2_PACKAGE_IRSSI_TRUE_COLOR),y) +IRSSI_CONF_OPTS += --enable-true-color +else +IRSSI_CONF_OPTS += --disable-true-color +endif + +# Cross-compiling irssi with the perl interpreter enabled doesn't work +# yet. So, remove scripts as they are useless in that case. +define IRSSI_REMOVE_SCRIPTS + rm -rf $(TARGET_DIR)/usr/share/irssi/scripts/ +endef + +IRSSI_POST_INSTALL_TARGET_HOOKS += IRSSI_REMOVE_SCRIPTS + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/isl/isl.hash b/buildroot-2022.02.1/package/isl/isl.hash similarity index 100% rename from buildroot-2021.05/package/isl/isl.hash rename to buildroot-2022.02.1/package/isl/isl.hash diff --git a/buildroot-2022.02.1/package/isl/isl.mk b/buildroot-2022.02.1/package/isl/isl.mk new file mode 100644 index 00000000..df57c83f --- /dev/null +++ b/buildroot-2022.02.1/package/isl/isl.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# isl +# +################################################################################ + +ISL_VERSION = 0.23 +ISL_SOURCE = isl-$(ISL_VERSION).tar.xz +ISL_SITE = https://libisl.sourceforge.io +ISL_LICENSE = MIT +ISL_LICENSE_FILES = LICENSE +HOST_ISL_DEPENDENCIES = host-gmp + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/iucode-tool/Config.in b/buildroot-2022.02.1/package/iucode-tool/Config.in similarity index 100% rename from buildroot-2021.05/package/iucode-tool/Config.in rename to buildroot-2022.02.1/package/iucode-tool/Config.in diff --git a/buildroot-2021.05/package/iucode-tool/S00iucode-tool b/buildroot-2022.02.1/package/iucode-tool/S00iucode-tool similarity index 100% rename from buildroot-2021.05/package/iucode-tool/S00iucode-tool rename to buildroot-2022.02.1/package/iucode-tool/S00iucode-tool diff --git a/buildroot-2021.05/package/iucode-tool/iucode-tool.hash b/buildroot-2022.02.1/package/iucode-tool/iucode-tool.hash similarity index 100% rename from buildroot-2021.05/package/iucode-tool/iucode-tool.hash rename to buildroot-2022.02.1/package/iucode-tool/iucode-tool.hash diff --git a/buildroot-2022.02.1/package/iucode-tool/iucode-tool.mk b/buildroot-2022.02.1/package/iucode-tool/iucode-tool.mk new file mode 100644 index 00000000..596ad268 --- /dev/null +++ b/buildroot-2022.02.1/package/iucode-tool/iucode-tool.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# iucode-tool +# +################################################################################ + +IUCODE_TOOL_VERSION = 2.3.1 +IUCODE_TOOL_SOURCE = iucode-tool_$(IUCODE_TOOL_VERSION).tar.xz +IUCODE_TOOL_SITE = https://gitlab.com/iucode-tool/releases/raw/master +IUCODE_TOOL_DEPENDENCIES = $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) +IUCODE_TOOL_LICENSE = GPL-2.0+ +IUCODE_TOOL_LICENSE_FILES = COPYING +IUCODE_TOOL_CPE_ID_VENDOR = iucode-tool_project + +define IUCODE_TOOL_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/iucode-tool/S00iucode-tool \ + $(TARGET_DIR)/etc/init.d/S00iucode-tool +endef + +define IUCODE_TOOL_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/iucode-tool/iucode.service \ + $(TARGET_DIR)/usr/lib/systemd/system/iucode.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iucode-tool/iucode.service b/buildroot-2022.02.1/package/iucode-tool/iucode.service similarity index 100% rename from buildroot-2021.05/package/iucode-tool/iucode.service rename to buildroot-2022.02.1/package/iucode-tool/iucode.service diff --git a/buildroot-2021.05/package/iw/Config.in b/buildroot-2022.02.1/package/iw/Config.in similarity index 100% rename from buildroot-2021.05/package/iw/Config.in rename to buildroot-2022.02.1/package/iw/Config.in diff --git a/buildroot-2022.02.1/package/iw/iw.hash b/buildroot-2022.02.1/package/iw/iw.hash new file mode 100644 index 00000000..33dd1173 --- /dev/null +++ b/buildroot-2022.02.1/package/iw/iw.hash @@ -0,0 +1,4 @@ +# From https://www.kernel.org/pub/software/network/iw/sha256sums.asc +sha256 4c44e42762f903f9094ba5a598998c800a97a62afd6fd31ec1e0a799e308659c iw-5.16.tar.xz +# Locally calculated +sha256 5932fb70481e128940168a5fdf133e6454293c0865c7e757874b235cb6daa2af COPYING diff --git a/buildroot-2022.02.1/package/iw/iw.mk b/buildroot-2022.02.1/package/iw/iw.mk new file mode 100644 index 00000000..9bf6ddbf --- /dev/null +++ b/buildroot-2022.02.1/package/iw/iw.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# iw +# +################################################################################ + +IW_VERSION = 5.16 +IW_SOURCE = iw-$(IW_VERSION).tar.xz +IW_SITE = $(BR2_KERNEL_MIRROR)/software/network/iw +IW_LICENSE = ISC +IW_LICENSE_FILES = COPYING +IW_CPE_ID_VENDOR = kernel +IW_DEPENDENCIES = host-pkgconf libnl +IW_MAKE_ENV = \ + $(TARGET_MAKE_ENV) \ + PKG_CONFIG="$(HOST_DIR)/bin/pkg-config" + +define IW_BUILD_CMDS + $(IW_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define IW_INSTALL_TARGET_CMDS + $(IW_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/iwd/Config.in b/buildroot-2022.02.1/package/iwd/Config.in similarity index 100% rename from buildroot-2021.05/package/iwd/Config.in rename to buildroot-2022.02.1/package/iwd/Config.in diff --git a/buildroot-2021.05/package/iwd/S40iwd b/buildroot-2022.02.1/package/iwd/S40iwd similarity index 100% rename from buildroot-2021.05/package/iwd/S40iwd rename to buildroot-2022.02.1/package/iwd/S40iwd diff --git a/buildroot-2022.02.1/package/iwd/iwd.hash b/buildroot-2022.02.1/package/iwd/iwd.hash new file mode 100644 index 00000000..1a58ec88 --- /dev/null +++ b/buildroot-2022.02.1/package/iwd/iwd.hash @@ -0,0 +1,5 @@ +# From https://mirrors.edge.kernel.org/pub/linux/network/wireless/sha256sums.asc +sha256 61b5e48380cd3a6d0529f725eb6974157f1410af165f5d266b87add0bf395224 iwd-1.24.tar.xz + +# License files +sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING diff --git a/buildroot-2022.02.1/package/iwd/iwd.mk b/buildroot-2022.02.1/package/iwd/iwd.mk new file mode 100644 index 00000000..548b508e --- /dev/null +++ b/buildroot-2022.02.1/package/iwd/iwd.mk @@ -0,0 +1,89 @@ +################################################################################ +# +# iwd +# +################################################################################ + +IWD_VERSION = 1.24 +IWD_SOURCE = iwd-$(IWD_VERSION).tar.xz +IWD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/wireless +IWD_LICENSE = LGPL-2.1+ +IWD_LICENSE_FILES = COPYING +IWD_CPE_ID_VENDOR = intel +IWD_CPE_ID_PRODUCT = inet_wireless_daemon +IWD_SELINUX_MODULES = networkmanager +# We're patching configure.ac +IWD_AUTORECONF = YES + +IWD_CONF_OPTS = \ + --disable-manual-pages \ + --enable-external-ell +IWD_DEPENDENCIES = ell + +ifeq ($(BR2_PACKAGE_DBUS),y) +IWD_CONF_OPTS += --enable-dbus-policy --with-dbus-datadir=/usr/share +IWD_DEPENDENCIES += dbus +else +IWD_CONF_OPTS += --disable-dbus-policy +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +# iwd client depends on readline (GPL-3.0+) +IWD_LICENSE += , GPL-3.0+ (client) +IWD_CONF_OPTS += --enable-client +IWD_DEPENDENCIES += readline +else +IWD_CONF_OPTS += --disable-client +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +IWD_CONF_OPTS += --enable-systemd-service +IWD_DEPENDENCIES += systemd +else +IWD_CONF_OPTS += --disable-systemd-service +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y) +IWD_RESOLV_SERVICE = systemd +else +IWD_RESOLV_SERVICE = resolvconf +endif + +define IWD_INSTALL_CONFIG_FILE + $(INSTALL) -D -m 644 package/iwd/main.conf $(TARGET_DIR)/etc/iwd/main.conf + $(SED) 's,__RESOLV_SERVICE__,$(IWD_RESOLV_SERVICE),' $(TARGET_DIR)/etc/iwd/main.conf +endef + +IWD_POST_INSTALL_TARGET_HOOKS += IWD_INSTALL_CONFIG_FILE + +define IWD_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/iwd/S40iwd \ + $(TARGET_DIR)/etc/init.d/S40iwd + mkdir -p $(TARGET_DIR)/var/lib/iwd + ln -sf /tmp/iwd/hotspot $(TARGET_DIR)/var/lib/iwd/hotspot +endef + +define IWD_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_ASYMMETRIC_KEY_TYPE) + $(call KCONFIG_ENABLE_OPT,CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_AES) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_CBC) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_CMAC) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_DES) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_ECB) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_HMAC) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MD4) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MD5) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA1) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA256) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA512) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_HASH) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_SKCIPHER) + $(call KCONFIG_ENABLE_OPT,CONFIG_KEYS) + $(call KCONFIG_ENABLE_OPT,CONFIG_KEY_DH_OPERATIONS) + $(call KCONFIG_ENABLE_OPT,CONFIG_PKCS7_MESSAGE_PARSER) + $(call KCONFIG_ENABLE_OPT,CONFIG_PKCS8_PRIVATE_KEY_PARSER) + $(call KCONFIG_ENABLE_OPT,CONFIG_X509_CERTIFICATE_PARSER) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/iwd/main.conf b/buildroot-2022.02.1/package/iwd/main.conf similarity index 100% rename from buildroot-2021.05/package/iwd/main.conf rename to buildroot-2022.02.1/package/iwd/main.conf diff --git a/buildroot-2022.02.1/package/jack1/Config.in b/buildroot-2022.02.1/package/jack1/Config.in new file mode 100644 index 00000000..5b3116e2 --- /dev/null +++ b/buildroot-2022.02.1/package/jack1/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_JACK1 + bool "jack1" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_PACKAGE_JACK2 + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_HWDEP + select BR2_PACKAGE_ALSA_LIB_RAWMIDI + select BR2_PACKAGE_ALSA_LIB_SEQ + select BR2_PACKAGE_BERKELEYDB + help + JACK Audio Connection Kit (JACK 1 implementation). + + JACK is a low-latency sound server, allowing multiple + applications to connect to one audio device, and to share + audio between themselves. This package contains the daemon + jackd as well as some example clients. + + http://jackaudio.org/ + + Another implementation (BR2_PACKAGE_JACK2) is also available, + please consult the documentation to choose the right one: + + https://github.com/jackaudio/jackaudio.github.com/wiki/Differences-between-jack1-and-jack2 + +comment "jack1 needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/jack1/jack1.hash b/buildroot-2022.02.1/package/jack1/jack1.hash similarity index 100% rename from buildroot-2021.05/package/jack1/jack1.hash rename to buildroot-2022.02.1/package/jack1/jack1.hash diff --git a/buildroot-2022.02.1/package/jack1/jack1.mk b/buildroot-2022.02.1/package/jack1/jack1.mk new file mode 100644 index 00000000..6dca5600 --- /dev/null +++ b/buildroot-2022.02.1/package/jack1/jack1.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# jack1 +# +################################################################################ + +JACK1_VERSION = 0.125.0 +JACK1_SOURCE = jack-audio-connection-kit-$(JACK1_VERSION).tar.gz +JACK1_SITE = http://jackaudio.org/downloads +JACK1_LICENSE = GPL-2.0+ (jack server), LGPL-2.1+ (jack library) +JACK1_LICENSE_FILES = COPYING COPYING.GPL COPYING.LGPL +JACK1_INSTALL_STAGING = YES + +JACK1_DEPENDENCIES = host-pkgconf alsa-lib berkeleydb + +ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) +JACK1_DEPENDENCIES += libsamplerate +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +JACK1_DEPENDENCIES += libsndfile +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +JACK1_DEPENDENCIES += readline +endif + +JACK1_CONF_OPTS = --without-html-dir --disable-oss + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/jack2/Config.in b/buildroot-2022.02.1/package/jack2/Config.in new file mode 100644 index 00000000..8abdda63 --- /dev/null +++ b/buildroot-2022.02.1/package/jack2/Config.in @@ -0,0 +1,53 @@ +config BR2_PACKAGE_JACK2 + bool "jack2" + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + depends on BR2_USE_MMU # fork() + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_LIBSAMPLERATE + select BR2_PACKAGE_LIBSNDFILE + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_HWDEP + select BR2_PACKAGE_ALSA_LIB_SEQ + select BR2_PACKAGE_ALSA_LIB_RAWMIDI + # Ensure we get at least one: + select BR2_PACKAGE_JACK2_LEGACY if !BR2_PACKAGE_JACK2_DBUS + help + JACK Audio Connection Kit (server and example clients). + + JACK is a low-latency sound server, allowing multiple + applications to connect to one audio device, and to share + audio between themselves. This package contains the daemon + jackd as well as some example clients. + + http://jackaudio.org/ + +if BR2_PACKAGE_JACK2 + +config BR2_PACKAGE_JACK2_LEGACY + bool "classic jack2" + help + Build and use jackd. + + https://github.com/jackaudio/jackaudio.github.com/wiki/JACK-DBus-packaging + +config BR2_PACKAGE_JACK2_DBUS + bool "dbus jack2" + depends on BR2_USE_WCHAR # dbus-python, python + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS_PYTHON + select BR2_PACKAGE_PYTHON3 # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + help + Build and use jackdbus. + + https://github.com/jackaudio/jackaudio.github.com/wiki/JACK-DBus-packaging + +endif + +comment "jack2 needs a toolchain w/ threads, C++, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ + BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/jack2/jack2.hash b/buildroot-2022.02.1/package/jack2/jack2.hash new file mode 100644 index 00000000..6361473c --- /dev/null +++ b/buildroot-2022.02.1/package/jack2/jack2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 915ad2900992159bdb729b9fc4ea134b962ce32b2df0b384fee40a2c5808835d jack2-1.9.20.tar.gz +sha256 d8c320ffc0030d1b096ae4732b50d2b811cf95e9a9b7377c1127b2563e0a0388 COPYING diff --git a/buildroot-2022.02.1/package/jack2/jack2.mk b/buildroot-2022.02.1/package/jack2/jack2.mk new file mode 100644 index 00000000..6939aac9 --- /dev/null +++ b/buildroot-2022.02.1/package/jack2/jack2.mk @@ -0,0 +1,54 @@ +################################################################################ +# +# jack2 +# +################################################################################ + +JACK2_VERSION = 1.9.20 +JACK2_SITE = $(call github,jackaudio,jack2,v$(JACK2_VERSION)) +JACK2_LICENSE = GPL-2.0+ (jack server), LGPL-2.1+ (jack library) +JACK2_LICENSE_FILES = COPYING +JACK2_CPE_ID_VENDOR = jackaudio +JACK2_DEPENDENCIES = libsamplerate libsndfile alsa-lib +JACK2_INSTALL_STAGING = YES + +JACK2_CONF_OPTS = --alsa + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +JACK2_DEPENDENCIES += libexecinfo +JACK2_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lexecinfo" +endif + +ifeq ($(BR2_PACKAGE_OPUS),y) +JACK2_DEPENDENCIES += opus +JACK2_CONF_OPTS += --opus=yes +else +JACK2_CONF_OPTS += --opus=no +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +JACK2_DEPENDENCIES += readline +JACK2_CONF_OPTS += --readline=yes +else +JACK2_CONF_OPTS += --readline=no +endif + +ifeq ($(BR2_PACKAGE_JACK2_LEGACY),y) +JACK2_CONF_OPTS += --classic +else +define JACK2_REMOVE_JACK_CONTROL + $(RM) -f $(TARGET_DIR)/usr/bin/jack_control +endef +JACK2_POST_INSTALL_TARGET_HOOKS += JACK2_REMOVE_JACK_CONTROL +endif + +ifeq ($(BR2_PACKAGE_JACK2_DBUS),y) +JACK2_DEPENDENCIES += dbus +JACK2_CONF_OPTS += --dbus +endif + +# The dependency against eigen is only useful in conjunction with +# gtkiostream, which we do not have, so we don't need to depend on +# eigen. + +$(eval $(waf-package)) diff --git a/buildroot-2022.02.1/package/jailhouse/Config.in b/buildroot-2022.02.1/package/jailhouse/Config.in new file mode 100644 index 00000000..44541416 --- /dev/null +++ b/buildroot-2022.02.1/package/jailhouse/Config.in @@ -0,0 +1,28 @@ +config BR2_PACKAGE_JAILHOUSE + bool "jailhouse" + depends on BR2_aarch64 || BR2_x86_64 + depends on BR2_LINUX_KERNEL + help + The Jailhouse partitioning Hypervisor based on Linux. + + https://github.com/siemens/jailhouse + +if BR2_PACKAGE_JAILHOUSE + +config BR2_PACKAGE_JAILHOUSE_HELPER_SCRIPTS + bool "helper scripts" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_MAKO # runtime + help + Python-based helpers for the Jailhouse Hypervisor. + + https://github.com/siemens/jailhouse + +comment "helper scripts require Python3" + depends on !BR2_PACKAGE_PYTHON3 + +endif + +comment "jailhouse needs a Linux kernel to be built" + depends on BR2_aarch64 || BR2_x86_64 + depends on !BR2_LINUX_KERNEL diff --git a/buildroot-2021.05/package/jailhouse/jailhouse.hash b/buildroot-2022.02.1/package/jailhouse/jailhouse.hash similarity index 100% rename from buildroot-2021.05/package/jailhouse/jailhouse.hash rename to buildroot-2022.02.1/package/jailhouse/jailhouse.hash diff --git a/buildroot-2021.05/package/jailhouse/jailhouse.mk b/buildroot-2022.02.1/package/jailhouse/jailhouse.mk similarity index 100% rename from buildroot-2021.05/package/jailhouse/jailhouse.mk rename to buildroot-2022.02.1/package/jailhouse/jailhouse.mk diff --git a/buildroot-2021.05/package/janet/Config.in b/buildroot-2022.02.1/package/janet/Config.in similarity index 100% rename from buildroot-2021.05/package/janet/Config.in rename to buildroot-2022.02.1/package/janet/Config.in diff --git a/buildroot-2022.02.1/package/janet/janet.hash b/buildroot-2022.02.1/package/janet/janet.hash new file mode 100644 index 00000000..50e6b1fe --- /dev/null +++ b/buildroot-2022.02.1/package/janet/janet.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 02ff892f4bfc060a8a37f4a5c3e659bf34ba5f1f1c5eb07d60dc2642c5cf0476 janet-1.19.2.tar.gz + +# Locally calculated +sha256 e2d2ae8360d95386af751ac7d1a3da36ea8ceb230e5f0eba7eb762547b1c58c9 LICENSE diff --git a/buildroot-2022.02.1/package/janet/janet.mk b/buildroot-2022.02.1/package/janet/janet.mk new file mode 100644 index 00000000..5b6a9a18 --- /dev/null +++ b/buildroot-2022.02.1/package/janet/janet.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# janet +# +################################################################################ + +JANET_VERSION = 1.19.2 +JANET_SITE = $(call github,janet-lang,janet,v$(JANET_VERSION)) +JANET_LICENSE = MIT +JANET_LICENSE_FILES = LICENSE + +JANET_INSTALL_STAGING = YES + +ifeq ($(BR2_STATIC_LIBS),y) +JANET_CONF_OPTS += -Ddynamic_modules=false +endif + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +JANET_LDFLAGS += $(TARGET_LDFLAGS) -latomic +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) +JANET_CONF_OPTS += -Dsingle_threaded=true +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/jansson/Config.in b/buildroot-2022.02.1/package/jansson/Config.in similarity index 100% rename from buildroot-2021.05/package/jansson/Config.in rename to buildroot-2022.02.1/package/jansson/Config.in diff --git a/buildroot-2022.02.1/package/jansson/jansson.hash b/buildroot-2022.02.1/package/jansson/jansson.hash new file mode 100644 index 00000000..0d9dc7b5 --- /dev/null +++ b/buildroot-2022.02.1/package/jansson/jansson.hash @@ -0,0 +1,3 @@ +# Locally calculated after checking pgp signature +sha256 fba956f27c6ae56ce6dfd52fbf9d20254aad42821f74fa52f83957625294afb9 jansson-2.14.tar.bz2 +sha256 1fff7d37d22157bcd81ab53b6c54da755d7c2f868f15807d9bde920f10730da0 LICENSE diff --git a/buildroot-2022.02.1/package/jansson/jansson.mk b/buildroot-2022.02.1/package/jansson/jansson.mk new file mode 100644 index 00000000..99e1817e --- /dev/null +++ b/buildroot-2022.02.1/package/jansson/jansson.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# jansson +# +################################################################################ + +JANSSON_VERSION = 2.14 +JANSSON_SOURCE = jansson-$(JANSSON_VERSION).tar.bz2 +JANSSON_SITE = \ + https://github.com/akheron/jansson/releases/download/v$(JANSSON_VERSION) +JANSSON_LICENSE = MIT +JANSSON_LICENSE_FILES = LICENSE +JANSSON_CPE_ID_VENDOR = jansson_project +JANSSON_INSTALL_STAGING = YES +JANSSON_CONF_ENV = LIBS="-lm" + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/janus-gateway/0001-disable-ssp.patch b/buildroot-2022.02.1/package/janus-gateway/0001-disable-ssp.patch new file mode 100644 index 00000000..0c9b006e --- /dev/null +++ b/buildroot-2022.02.1/package/janus-gateway/0001-disable-ssp.patch @@ -0,0 +1,35 @@ +From 4b02c8207adb888d35951bbc1c5b3029594f44c6 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Wed, 24 Apr 2019 13:56:27 -0400 +Subject: [PATCH] Do not force SSP usage + +The toolchain may not support SSP, so do not enforce its usage, let +the package user pass the appropriate CFLAGS to enable SSP if needed. + +Signed-off-by: Gregory Dymarek +Signed-off-by: Thomas Petazzoni +(rebased against v0.1.0) +Signed-off-by: Bernd Kuhls +(rebased against v0.6.3) +Signed-off-by: Adam Duskett +[Upstream status: rejected +(https://github.com/meetecho/janus-gateway/pull/1801)] +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 257ea8c..ca17a29 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -20,7 +20,6 @@ LT_INIT + # Common CFLAGS + CFLAGS="$CFLAGS \ + -fPIC \ +- -fstack-protector-all \ + -fstrict-aliasing \ + -ggdb3 \ + -pthread \ +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/janus-gateway/0002-Add-test-for-Wunused-but-set-variable.patch b/buildroot-2022.02.1/package/janus-gateway/0002-Add-test-for-Wunused-but-set-variable.patch new file mode 100644 index 00000000..2dfcc76d --- /dev/null +++ b/buildroot-2022.02.1/package/janus-gateway/0002-Add-test-for-Wunused-but-set-variable.patch @@ -0,0 +1,148 @@ +From c0f075bdee5edabf8f19b68e0880fbd249a89653 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 3 Jan 2015 15:09:59 +0100 +Subject: [PATCH] Add test for -Wunused-but-set-variable + +The -Wunused-but-set-variable option does not exist in some old gcc +versions (gcc 4.5.x), so using it unconditionally breaks the build +with such compilers. + +This commit introduces the AX_CHECK_COMPILE_FLAG m4 macro taken from +the autoconf-archive +(http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4), +and uses it to detect if the -Wunused-but-set-variable option is +supported, and only uses it in this case. + +Signed-off-by: Thomas Petazzoni +(rebased against v0.1.0) +Signed-off-by: Bernd Kuhls +(rebased against v0.6.3) +Signed-off-by: Adam Duskett +[Upstream status: rejected +(https://github.com/meetecho/janus-gateway/pull/1789)] +--- + Makefile.am | 1 + + configure.ac | 6 ++- + m4/ax_check_compile_flag.m4 | 74 +++++++++++++++++++++++++++++++++++++ + 3 files changed, 79 insertions(+), 2 deletions(-) + create mode 100644 m4/ax_check_compile_flag.m4 + +diff --git a/Makefile.am b/Makefile.am +index f961fdb..3ddbe59 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -151,6 +151,7 @@ janus_CFLAGS = \ + -DEVENTDIR=\"$(eventdir)\" \ + -DLOGGERDIR=\"$(loggerdir)\" \ + -DCONFDIR=\"$(confdir)\" \ ++ @GCC_WARN_UNUSED_BUT_SET@ \ + $(BORINGSSL_CFLAGS) \ + $(NULL) + +diff --git a/configure.ac b/configure.ac +index ca17a29..beef91a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -13,6 +13,9 @@ AM_SILENT_RULES([yes]) + AC_USE_SYSTEM_EXTENSIONS + + AC_PROG_CC ++AX_CHECK_COMPILE_FLAG([-Wunused-but-set-variable], ++ [GCC_WARN_UNUSED_BUT_SET=-Wunused-but-set-variable]) ++AC_SUBST(GCC_WARN_UNUSED_BUT_SET) + + LT_PREREQ([2.2]) + LT_INIT +@@ -64,8 +67,7 @@ clang*) + CFLAGS="$CFLAGS \ + -Wcast-align \ + -Wno-override-init \ +- -Wunsafe-loop-optimizations \ +- -Wunused-but-set-variable" ++ -Wunsafe-loop-optimizations" + esac + + JANUS_VERSION=103 +diff --git a/m4/ax_check_compile_flag.m4 b/m4/ax_check_compile_flag.m4 +new file mode 100644 +index 0000000..51df0c0 +--- /dev/null ++++ b/m4/ax_check_compile_flag.m4 +@@ -0,0 +1,74 @@ ++# =========================================================================== ++# http://www.gnu.org/software/autoconf-archive/ax_check_compile_flag.html ++# =========================================================================== ++# ++# SYNOPSIS ++# ++# AX_CHECK_COMPILE_FLAG(FLAG, [ACTION-SUCCESS], [ACTION-FAILURE], [EXTRA-FLAGS], [INPUT]) ++# ++# DESCRIPTION ++# ++# Check whether the given FLAG works with the current language's compiler ++# or gives an error. (Warnings, however, are ignored) ++# ++# ACTION-SUCCESS/ACTION-FAILURE are shell commands to execute on ++# success/failure. ++# ++# If EXTRA-FLAGS is defined, it is added to the current language's default ++# flags (e.g. CFLAGS) when the check is done. The check is thus made with ++# the flags: "CFLAGS EXTRA-FLAGS FLAG". This can for example be used to ++# force the compiler to issue an error when a bad flag is given. ++# ++# INPUT gives an alternative input source to AC_COMPILE_IFELSE. ++# ++# NOTE: Implementation based on AX_CFLAGS_GCC_OPTION. Please keep this ++# macro in sync with AX_CHECK_{PREPROC,LINK}_FLAG. ++# ++# LICENSE ++# ++# Copyright (c) 2008 Guido U. Draheim ++# Copyright (c) 2011 Maarten Bosmans ++# ++# This program is free software: you can redistribute it and/or modify it ++# under the terms of the GNU General Public License as published by the ++# Free Software Foundation, either version 3 of the License, or (at your ++# option) any later version. ++# ++# This program is distributed in the hope that it will be useful, but ++# WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General ++# Public License for more details. ++# ++# You should have received a copy of the GNU General Public License along ++# with this program. If not, see . ++# ++# As a special exception, the respective Autoconf Macro's copyright owner ++# gives unlimited permission to copy, distribute and modify the configure ++# scripts that are the output of Autoconf when processing the Macro. You ++# need not follow the terms of the GNU General Public License when using ++# or distributing such scripts, even though portions of the text of the ++# Macro appear in them. The GNU General Public License (GPL) does govern ++# all other use of the material that constitutes the Autoconf Macro. ++# ++# This special exception to the GPL applies to versions of the Autoconf ++# Macro released by the Autoconf Archive. When you make and distribute a ++# modified version of the Autoconf Macro, you may extend this special ++# exception to the GPL to apply to your modified version as well. ++ ++#serial 3 ++ ++AC_DEFUN([AX_CHECK_COMPILE_FLAG], ++[AC_PREREQ(2.59)dnl for _AC_LANG_PREFIX ++AS_VAR_PUSHDEF([CACHEVAR],[ax_cv_check_[]_AC_LANG_ABBREV[]flags_$4_$1])dnl ++AC_CACHE_CHECK([whether _AC_LANG compiler accepts $1], CACHEVAR, [ ++ ax_check_save_flags=$[]_AC_LANG_PREFIX[]FLAGS ++ _AC_LANG_PREFIX[]FLAGS="$[]_AC_LANG_PREFIX[]FLAGS $4 $1" ++ AC_COMPILE_IFELSE([m4_default([$5],[AC_LANG_PROGRAM()])], ++ [AS_VAR_SET(CACHEVAR,[yes])], ++ [AS_VAR_SET(CACHEVAR,[no])]) ++ _AC_LANG_PREFIX[]FLAGS=$ax_check_save_flags]) ++AS_IF([test x"AS_VAR_GET(CACHEVAR)" = xyes], ++ [m4_default([$2], :)], ++ [m4_default([$3], :)]) ++AS_VAR_POPDEF([CACHEVAR])dnl ++])dnl AX_CHECK_COMPILE_FLAGS +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/janus-gateway/0003-Fixed-missing-XSS-mitigation.patch b/buildroot-2022.02.1/package/janus-gateway/0003-Fixed-missing-XSS-mitigation.patch new file mode 100644 index 00000000..e1e61213 --- /dev/null +++ b/buildroot-2022.02.1/package/janus-gateway/0003-Fixed-missing-XSS-mitigation.patch @@ -0,0 +1,25 @@ +From f62bba6513ec840761f2434b93168106c7c65a3d Mon Sep 17 00:00:00 2001 +From: Lorenzo Miniero +Date: Wed, 15 Dec 2021 14:10:01 +0100 +Subject: [PATCH] Fixed missing XSS mitigation (see #2817) + +[Retrieved from: +https://github.com/meetecho/janus-gateway/commit/f62bba6513ec840761f2434b93168106c7c65a3d] +Signed-off-by: Fabrice Fontaine +--- + html/textroomtest.js | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/html/textroomtest.js b/html/textroomtest.js +index bf95a260a..7d5ae832c 100644 +--- a/html/textroomtest.js ++++ b/html/textroomtest.js +@@ -351,7 +351,7 @@ function sendPrivateMsg(username) { + text: JSON.stringify(message), + error: function(reason) { bootbox.alert(reason); }, + success: function() { +- $('#chatroom').append('

[' + getDateString() + '] [whisper to ' + display + '] ' + result); ++ $('#chatroom').append('

[' + getDateString() + '] [whisper to ' + display + '] ' + escapeXmlTags(result)); + $('#chatroom').get(0).scrollTop = $('#chatroom').get(0).scrollHeight; + } + }); diff --git a/buildroot-2021.05/package/janus-gateway/Config.in b/buildroot-2022.02.1/package/janus-gateway/Config.in similarity index 100% rename from buildroot-2021.05/package/janus-gateway/Config.in rename to buildroot-2022.02.1/package/janus-gateway/Config.in diff --git a/buildroot-2022.02.1/package/janus-gateway/janus-gateway.hash b/buildroot-2022.02.1/package/janus-gateway/janus-gateway.hash new file mode 100644 index 00000000..7aec3d2a --- /dev/null +++ b/buildroot-2022.02.1/package/janus-gateway/janus-gateway.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b5fe70d95b9288200df15d5f75cb8eb6db66484c6ded159422a81e880ecb7104 janus-gateway-0.11.6.tar.gz +sha256 91d04c97fa1da3fcd28205873276358aafc071c5b00a9ea8c49dd06d487a9dc6 COPYING diff --git a/buildroot-2022.02.1/package/janus-gateway/janus-gateway.mk b/buildroot-2022.02.1/package/janus-gateway/janus-gateway.mk new file mode 100644 index 00000000..84ca0bc1 --- /dev/null +++ b/buildroot-2022.02.1/package/janus-gateway/janus-gateway.mk @@ -0,0 +1,134 @@ +################################################################################ +# +# janus-gateway +# +################################################################################ + +JANUS_GATEWAY_VERSION = 0.11.6 +JANUS_GATEWAY_SITE = $(call github,meetecho,janus-gateway,v$(JANUS_GATEWAY_VERSION)) +JANUS_GATEWAY_LICENSE = GPL-3.0 with OpenSSL exception +JANUS_GATEWAY_LICENSE_FILES = COPYING +JANUS_GATEWAY_CPE_ID_VENDOR = meetecho +JANUS_GATEWAY_CPE_ID_PRODUCT = janus + +# 0003-Fixed-missing-XSS-mitigation.patch +JANUS_GATEWAY_IGNORE_CVES += CVE-2021-4124 + +# ding-libs provides the ini_config library +JANUS_GATEWAY_DEPENDENCIES = host-pkgconf jansson libnice \ + libsrtp host-gengetopt libglib2 openssl libconfig \ + $(if $(BR2_PACKAGE_LIBOGG),libogg) + +# Straight out of the repository, no ./configure, and we also patch +# configure.ac. +JANUS_GATEWAY_AUTORECONF = YES + +JANUS_GATEWAY_CONF_OPTS = \ + --disable-data-channels \ + --disable-sample-event-handler + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_DEMOS),) +define JANUS_GATEWAY_REMOVE_DEMOS + $(RM) -fr $(TARGET_DIR)/usr/share/janus/demos/ +endef +JANUS_GATEWAY_POST_INSTALL_TARGET_HOOKS += JANUS_GATEWAY_REMOVE_DEMOS +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_AUDIO_BRIDGE),y) +JANUS_GATEWAY_DEPENDENCIES += opus +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-audiobridge +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-audiobridge +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_ECHO_TEST),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-echotest +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-echotest +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_RECORDPLAY),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-recordplay +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-recordplay +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_SIP_GATEWAY),y) +JANUS_GATEWAY_DEPENDENCIES += sofia-sip +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-sip +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-sip +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_STREAMING),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-streaming +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-streaming +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_TEXT_ROOM),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-textroom +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-textroom +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_VIDEO_CALL),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-videocall +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videocall +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_VIDEO_ROOM),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-videoroom +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-videoroom +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_VOICE_MAIL),y) +JANUS_GATEWAY_CONF_OPTS += --enable-plugin-voicemail +else +JANUS_GATEWAY_CONF_OPTS += --disable-plugin-voicemail +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_MQTT),y) +JANUS_GATEWAY_DEPENDENCIES += paho-mqtt-c +JANUS_GATEWAY_CONF_OPTS += --enable-mqtt +else +JANUS_GATEWAY_CONF_OPTS += --disable-mqtt +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_RABBITMQ),y) +JANUS_GATEWAY_DEPENDENCIES += rabbitmq-c +JANUS_GATEWAY_CONF_OPTS += --enable-rabbitmq +else +JANUS_GATEWAY_CONF_OPTS += --disable-rabbitmq +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_REST),y) +JANUS_GATEWAY_DEPENDENCIES += libmicrohttpd +JANUS_GATEWAY_CONF_OPTS += --enable-rest +else +JANUS_GATEWAY_CONF_OPTS += --disable-rest +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_UNIX_SOCKETS),y) +JANUS_GATEWAY_CONF_OPTS += --enable-unix-sockets +else +JANUS_GATEWAY_CONF_OPTS += --disable-unix-sockets +endif + +ifeq ($(BR2_PACKAGE_JANUS_GATEWAY_WEBSOCKETS),y) +JANUS_GATEWAY_DEPENDENCIES += libwebsockets +JANUS_GATEWAY_CONF_OPTS += --enable-websockets +else +JANUS_GATEWAY_CONF_OPTS += --disable-websockets +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +JANUS_GATEWAY_DEPENDENCIES += systemd +JANUS_GATEWAY_CONF_OPTS += --enable-systemd-sockets +else +JANUS_GATEWAY_CONF_OPTS += --disable-systemd-sockets +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/jasper/Config.in b/buildroot-2022.02.1/package/jasper/Config.in similarity index 100% rename from buildroot-2021.05/package/jasper/Config.in rename to buildroot-2022.02.1/package/jasper/Config.in diff --git a/buildroot-2022.02.1/package/jasper/jasper.hash b/buildroot-2022.02.1/package/jasper/jasper.hash new file mode 100644 index 00000000..410bcfc6 --- /dev/null +++ b/buildroot-2022.02.1/package/jasper/jasper.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 28d28290cc2eaf70c8756d391ed8bcc8ab809a895b9a67ea6e89da23a611801a jasper-2.0.33.tar.gz +sha256 4ad1bb42aff888c4403d792e6e2c5f1716d6c279fea70b296333c9d577d30b81 LICENSE diff --git a/buildroot-2022.02.1/package/jasper/jasper.mk b/buildroot-2022.02.1/package/jasper/jasper.mk new file mode 100644 index 00000000..6b6bbcd6 --- /dev/null +++ b/buildroot-2022.02.1/package/jasper/jasper.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# jasper +# +################################################################################ + +JASPER_VERSION = 2.0.33 +JASPER_SITE = https://github.com/jasper-software/jasper/releases/download/version-$(JASPER_VERSION) +JASPER_INSTALL_STAGING = YES +JASPER_LICENSE = JasPer-2.0 +JASPER_LICENSE_FILES = LICENSE +JASPER_CPE_ID_VENDOR = jasper_project +JASPER_SUPPORTS_IN_SOURCE_BUILD = NO +JASPER_CONF_OPTS = \ + -DJAS_ENABLE_DOC=OFF \ + -DJAS_ENABLE_PROGRAMS=OFF + +ifeq ($(BR2_STATIC_LIBS),y) +JASPER_CONF_OPTS += -DJAS_ENABLE_SHARED=OFF +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=ON +JASPER_DEPENDENCIES += jpeg +else +JASPER_CONF_OPTS += -DJAS_ENABLE_LIBJPEG=OFF +endif + +JASPER_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +JASPER_CFLAGS += -O0 +endif + +JASPER_CONF_OPTS += -DCMAKE_C_FLAGS="$(JASPER_CFLAGS)" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/jbig2dec/Config.in b/buildroot-2022.02.1/package/jbig2dec/Config.in similarity index 100% rename from buildroot-2021.05/package/jbig2dec/Config.in rename to buildroot-2022.02.1/package/jbig2dec/Config.in diff --git a/buildroot-2021.05/package/jbig2dec/jbig2dec.hash b/buildroot-2022.02.1/package/jbig2dec/jbig2dec.hash similarity index 100% rename from buildroot-2021.05/package/jbig2dec/jbig2dec.hash rename to buildroot-2022.02.1/package/jbig2dec/jbig2dec.hash diff --git a/buildroot-2021.05/package/jbig2dec/jbig2dec.mk b/buildroot-2022.02.1/package/jbig2dec/jbig2dec.mk similarity index 100% rename from buildroot-2021.05/package/jbig2dec/jbig2dec.mk rename to buildroot-2022.02.1/package/jbig2dec/jbig2dec.mk diff --git a/buildroot-2021.05/package/jemalloc/Config.in b/buildroot-2022.02.1/package/jemalloc/Config.in similarity index 100% rename from buildroot-2021.05/package/jemalloc/Config.in rename to buildroot-2022.02.1/package/jemalloc/Config.in diff --git a/buildroot-2021.05/package/jemalloc/jemalloc.hash b/buildroot-2022.02.1/package/jemalloc/jemalloc.hash similarity index 100% rename from buildroot-2021.05/package/jemalloc/jemalloc.hash rename to buildroot-2022.02.1/package/jemalloc/jemalloc.hash diff --git a/buildroot-2021.05/package/jemalloc/jemalloc.mk b/buildroot-2022.02.1/package/jemalloc/jemalloc.mk similarity index 100% rename from buildroot-2021.05/package/jemalloc/jemalloc.mk rename to buildroot-2022.02.1/package/jemalloc/jemalloc.mk diff --git a/buildroot-2021.05/package/jh71xx-tools/Config.in.host b/buildroot-2022.02.1/package/jh71xx-tools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/jh71xx-tools/Config.in.host rename to buildroot-2022.02.1/package/jh71xx-tools/Config.in.host diff --git a/buildroot-2021.05/package/jh71xx-tools/jh71xx-tools.hash b/buildroot-2022.02.1/package/jh71xx-tools/jh71xx-tools.hash similarity index 100% rename from buildroot-2021.05/package/jh71xx-tools/jh71xx-tools.hash rename to buildroot-2022.02.1/package/jh71xx-tools/jh71xx-tools.hash diff --git a/buildroot-2021.05/package/jh71xx-tools/jh71xx-tools.mk b/buildroot-2022.02.1/package/jh71xx-tools/jh71xx-tools.mk similarity index 100% rename from buildroot-2021.05/package/jh71xx-tools/jh71xx-tools.mk rename to buildroot-2022.02.1/package/jh71xx-tools/jh71xx-tools.mk diff --git a/buildroot-2021.05/package/jhead/Config.in b/buildroot-2022.02.1/package/jhead/Config.in similarity index 100% rename from buildroot-2021.05/package/jhead/Config.in rename to buildroot-2022.02.1/package/jhead/Config.in diff --git a/buildroot-2022.02.1/package/jhead/jhead.hash b/buildroot-2022.02.1/package/jhead/jhead.hash new file mode 100644 index 00000000..bd9c8560 --- /dev/null +++ b/buildroot-2022.02.1/package/jhead/jhead.hash @@ -0,0 +1,3 @@ +# Locally calculated from download (no sig, hash) +sha256 5c5258c3d7a840bf831e22174e4a24cb1de3baf442f7cb73d5ab31b4ae0b0058 jhead-3.06.0.1.tar.gz +sha256 8b709512c737fc0c1e1024800b9a44c54d14ab02132c636a66c3ac66955c3e95 readme.txt diff --git a/buildroot-2022.02.1/package/jhead/jhead.mk b/buildroot-2022.02.1/package/jhead/jhead.mk new file mode 100644 index 00000000..a206e2fe --- /dev/null +++ b/buildroot-2022.02.1/package/jhead/jhead.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# jhead +# +################################################################################ + +JHEAD_VERSION = 3.06.0.1 +JHEAD_SITE = $(call github,Matthias-Wandel,jhead,$(JHEAD_VERSION)) +JHEAD_LICENSE = Public Domain +JHEAD_LICENSE_FILES = readme.txt +JHEAD_CPE_ID_VENDOR = jhead_project + +define JHEAD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define JHEAD_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/jhead $(TARGET_DIR)/usr/bin/jhead +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/jimtcl/Config.in b/buildroot-2022.02.1/package/jimtcl/Config.in similarity index 100% rename from buildroot-2021.05/package/jimtcl/Config.in rename to buildroot-2022.02.1/package/jimtcl/Config.in diff --git a/buildroot-2022.02.1/package/jimtcl/jimtcl.hash b/buildroot-2022.02.1/package/jimtcl/jimtcl.hash new file mode 100644 index 00000000..d4174a3d --- /dev/null +++ b/buildroot-2022.02.1/package/jimtcl/jimtcl.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 ab7eb3680ba0d16f4a9eb1e05b7fcbb7d23438e25185462c55cd032a1954a985 jimtcl-0.81.tar.gz +sha256 419f1146334e57fb258d6c957d1f94d43455ec0d24b1b54c4447e5f61a353950 LICENSE diff --git a/buildroot-2022.02.1/package/jimtcl/jimtcl.mk b/buildroot-2022.02.1/package/jimtcl/jimtcl.mk new file mode 100644 index 00000000..2f8e0e6c --- /dev/null +++ b/buildroot-2022.02.1/package/jimtcl/jimtcl.mk @@ -0,0 +1,103 @@ +################################################################################ +# +# jimtcl +# +################################################################################ + +JIMTCL_VERSION = 0.81 +JIMTCL_SITE = $(call github,msteveb,jimtcl,$(JIMTCL_VERSION)) +JIMTCL_INSTALL_STAGING = YES +JIMTCL_LICENSE = BSD-2-Clause +JIMTCL_LICENSE_FILES = LICENSE + +JIMTCL_HEADERS_TO_INSTALL = \ + jim.h \ + jim-eventloop.h \ + jim-signal.h \ + jim-subcmd.h \ + jim-win32compat.h \ + jim-config.h + +ifeq ($(BR2_PACKAGE_TCL),) +define JIMTCL_LINK_TCLSH + ln -sf jimsh $(TARGET_DIR)/usr/bin/tclsh +endef +endif + +ifeq ($(BR2_STATIC_LIBS),y) +define JIMTCL_INSTALL_LIB + $(INSTALL) -m 0644 -D $(@D)/libjim.a $(1)/usr/lib/libjim.a +endef +else +JIMTCL_SHARED = --shared +define JIMTCL_INSTALL_LIB + $(INSTALL) -m 0755 -D $(@D)/libjim.so.$(JIMTCL_VERSION) \ + $(1)/usr/lib/libjim.so.$(JIMTCL_VERSION) + ln -sf libjim.so.$(JIMTCL_VERSION) $(1)/usr/lib/libjim.so +endef +endif + +# build system doesn't use autotools, but does use an old version of +# gnuconfig which doesn't know all the architectures supported by +# Buildroot, so update config.guess / config.sub like we do in +# pkg-autotools.mk +JIMTCL_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK +HOST_JIMTCL_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK + +# jimtcl really wants to find a existing $CXX, so feed it false +# when we do not have one. +define JIMTCL_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + CCACHE=none \ + $(if $(BR2_INSTALL_LIBSTDCPP),,CXX=false) \ + ./configure --prefix=/usr \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + $(JIMTCL_SHARED) \ + ) +endef + +# -fPIC is mandatory to build shared libraries on certain architectures +# (e.g. SPARC) and causes no harm or drawbacks on other architectures +define JIMTCL_BUILD_CMDS + SH_CFLAGS="-fPIC" \ + SHOBJ_CFLAGS="-fPIC" \ + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define JIMTCL_INSTALL_STAGING_CMDS + for i in $(JIMTCL_HEADERS_TO_INSTALL); do \ + cp -a $(@D)/$$i $(STAGING_DIR)/usr/include/ || exit 1 ; \ + done; \ + $(call JIMTCL_INSTALL_LIB,$(STAGING_DIR)) +endef + +define JIMTCL_INSTALL_TARGET_CMDS + $(INSTALL) -D $(@D)/jimsh $(TARGET_DIR)/usr/bin/jimsh + $(call JIMTCL_INSTALL_LIB,$(TARGET_DIR)) + $(JIMTCL_LINK_TCLSH) +endef + +define HOST_JIMTCL_CONFIGURE_CMDS + cd $(@D) && \ + $(HOST_CONFIGURE_OPTS) \ + CCACHE=none \ + ./configure --prefix=$(HOST_DIR) --shared +endef + +define HOST_JIMTCL_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_JIMTCL_INSTALL_CMDS + for i in $(JIMTCL_HEADERS_TO_INSTALL); do \ + cp -a $(@D)/$$i $(HOST_DIR)/usr/include/ || exit 1 ; \ + done; + $(INSTALL) -m 0755 -D $(@D)/libjim.so.$(JIMTCL_VERSION) \ + $(HOST_DIR)/usr/lib/libjim.so.$(JIMTCL_VERSION) + ln -sf libjim.so.$(JIMTCL_VERSION) $(HOST_DIR)/usr/lib/libjim.so +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/jitterentropy-library/0001-Makefile-add-ENABLE_STACK_PROTECTOR.patch b/buildroot-2022.02.1/package/jitterentropy-library/0001-Makefile-add-ENABLE_STACK_PROTECTOR.patch new file mode 100644 index 00000000..c4388663 --- /dev/null +++ b/buildroot-2022.02.1/package/jitterentropy-library/0001-Makefile-add-ENABLE_STACK_PROTECTOR.patch @@ -0,0 +1,52 @@ +From 272ee47892563e849f6b1bf59b0173f8aa33b631 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 19 Dec 2021 11:36:13 +0100 +Subject: [PATCH] Makefile: add ENABLE_STACK_PROTECTOR + +Add ENABLE_STACK_PROTECTOR as build on embedded toolchains without +stack-protector is again broken since +https://github.com/smuellerDD/jitterentropy-library/commit/5b3cb7f35e41ba2f34a75d004cf095c965a1a0c4: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i686-buildroot-linux-uclibc/9.3.0/../../../../i686-buildroot-linux-uclibc/bin/ld: src/jitterentropy-base.o: in function `jent_fips_enabled': +jitterentropy-base.c:(.text+0x131): undefined reference to `__stack_chk_fail_local' + +Fixes: + - http://autobuild.buildroot.org/results/8dee462d16d934dd173d58f17933c6911e4336bf + +Signed-off-by: Fabrice Fontaine +Signed-off-by: Stephan Mueller +[Retrieved from: +https://github.com/smuellerDD/jitterentropy-library/commit/272ee47892563e849f6b1bf59b0173f8aa33b631] +--- + Makefile | 11 +++++++---- + 1 file changed, 7 insertions(+), 4 deletions(-) + +diff --git a/Makefile b/Makefile +index dfb96a8..c999ef5 100644 +--- a/Makefile ++++ b/Makefile +@@ -2,6 +2,7 @@ + + CC ?= gcc + #Hardening ++ENABLE_STACK_PROTECTOR ?= 1 + CFLAGS ?= -fwrapv --param ssp-buffer-size=4 -fvisibility=hidden -fPIE -Wcast-align -Wmissing-field-initializers -Wshadow -Wswitch-enum + CFLAGS +=-Wextra -Wall -pedantic -fPIC -O0 -fwrapv -Wconversion + LDFLAGS +=-Wl,-z,relro,-z,now -lpthread +@@ -13,10 +14,12 @@ else + GCC_GTEQ_490 := $(shell expr `$(CC) -dumpfullversion | sed -e 's/\.\([0-9][0-9]\)/\1/g' -e 's/\.\([0-9]\)/0\1/g' -e 's/^[0-9]\{3,4\}$$/&00/'` \>= 40900) + endif + +-ifeq "$(GCC_GTEQ_490)" "1" +- CFLAGS += -fstack-protector-strong +-else +- CFLAGS += -fstack-protector-all ++ifeq "$(ENABLE_STACK_PROTECTOR)" "1" ++ ifeq "$(GCC_GTEQ_490)" "1" ++ CFLAGS += -fstack-protector-strong ++ else ++ CFLAGS += -fstack-protector-all ++ endif + endif + + # Change as necessary diff --git a/buildroot-2022.02.1/package/jitterentropy-library/Config.in b/buildroot-2022.02.1/package/jitterentropy-library/Config.in new file mode 100644 index 00000000..f9ae1bac --- /dev/null +++ b/buildroot-2022.02.1/package/jitterentropy-library/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_JITTERENTROPY_LIBRARY + bool "libjitterentropy" + depends on BR2_TOOLCHAIN_HAS_THREADS + help + Hardware RNG based on CPU timing jitter. + + https://github.com/smuellerDD/jitterentropy-library + +comment "libjitterentropy needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/jitterentropy-library/jitterentropy-library.hash b/buildroot-2022.02.1/package/jitterentropy-library/jitterentropy-library.hash new file mode 100644 index 00000000..760befab --- /dev/null +++ b/buildroot-2022.02.1/package/jitterentropy-library/jitterentropy-library.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 9fcc954763a1dd4afe614a1b360f53b600d3376bbcc4b19177f27abf191ebad5 jitterentropy-library-3.3.1.tar.xz +sha256 7e06574ff822594269083a796d06fa4e5e78c40efe5ca01a72d2a4662e8206df LICENSE +sha256 13aa749a5b0a454917a944ed8fffc530b784f5ead522b1aacaf4ec8aa55a6239 LICENSE.bsd +sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 LICENSE.gplv2 diff --git a/buildroot-2022.02.1/package/jitterentropy-library/jitterentropy-library.mk b/buildroot-2022.02.1/package/jitterentropy-library/jitterentropy-library.mk new file mode 100644 index 00000000..4cdebf46 --- /dev/null +++ b/buildroot-2022.02.1/package/jitterentropy-library/jitterentropy-library.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# jitterentropy-library +# +################################################################################ + +JITTERENTROPY_LIBRARY_VERSION = 3.3.1 +JITTERENTROPY_LIBRARY_SOURCE = \ + jitterentropy-library-$(JITTERENTROPY_LIBRARY_VERSION).tar.xz +JITTERENTROPY_LIBRARY_SITE = http://www.chronox.de/jent +JITTERENTROPY_LIBRARY_LICENSE = GPL-2.0 or BSD-3-Clause +JITTERENTROPY_LIBRARY_LICENSE_FILES = LICENSE LICENSE.bsd LICENSE.gplv2 +JITTERENTROPY_LIBRARY_INSTALL_STAGING = YES +JITTERENTROPY_LIBRARY_INSTALL_TARGETS = install-includes +JITTERENTROPY_LIBRARY_SELINUX_MODULES = entropyd + +ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +JITTERENTROPY_LIBRARY_BUILD_TARGETS += jitterentropy-static +JITTERENTROPY_LIBRARY_INSTALL_TARGETS += install-static +endif + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +JITTERENTROPY_LIBRARY_BUILD_TARGETS += jitterentropy +JITTERENTROPY_LIBRARY_INSTALL_TARGETS += install-shared +endif + +define JITTERENTROPY_LIBRARY_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + ENABLE_STACK_PROTECTOR=0 $(JITTERENTROPY_LIBRARY_BUILD_TARGETS) +endef + +define JITTERENTROPY_LIBRARY_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) \ + INSTALL_STRIP="install" PREFIX=/usr \ + $(JITTERENTROPY_LIBRARY_INSTALL_TARGETS) +endef + +define JITTERENTROPY_LIBRARY_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \ + INSTALL_STRIP="install" PREFIX=/usr \ + $(JITTERENTROPY_LIBRARY_INSTALL_TARGETS) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/jo/Config.in b/buildroot-2022.02.1/package/jo/Config.in similarity index 100% rename from buildroot-2021.05/package/jo/Config.in rename to buildroot-2022.02.1/package/jo/Config.in diff --git a/buildroot-2022.02.1/package/jo/jo.hash b/buildroot-2022.02.1/package/jo/jo.hash new file mode 100644 index 00000000..efad8228 --- /dev/null +++ b/buildroot-2022.02.1/package/jo/jo.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 eb15592f1ba6d5a77468a1438a20e3d21c3d63bb7d045fb3544f223340fcd1a1 jo-1.6.tar.gz +sha256 41d8b23dc6e76731f4920b9ce42d0d4a248d243a510319e2441d174a115f35cf COPYING diff --git a/buildroot-2022.02.1/package/jo/jo.mk b/buildroot-2022.02.1/package/jo/jo.mk new file mode 100644 index 00000000..dd5dd03d --- /dev/null +++ b/buildroot-2022.02.1/package/jo/jo.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# jo +# +################################################################################ + +JO_VERSION = 1.6 +JO_SITE = https://github.com/jpmens/jo/releases/download/$(JO_VERSION) +JO_LICENSE = MIT (json.[ch]), GPL-2.0+ (rest) +JO_LICENSE_FILES = COPYING +# don't build man pages +JO_CONF_ENV = ac_cv_path_PANDOC='' + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/joe/Config.in b/buildroot-2022.02.1/package/joe/Config.in similarity index 100% rename from buildroot-2021.05/package/joe/Config.in rename to buildroot-2022.02.1/package/joe/Config.in diff --git a/buildroot-2021.05/package/joe/joe.hash b/buildroot-2022.02.1/package/joe/joe.hash similarity index 100% rename from buildroot-2021.05/package/joe/joe.hash rename to buildroot-2022.02.1/package/joe/joe.hash diff --git a/buildroot-2021.05/package/joe/joe.mk b/buildroot-2022.02.1/package/joe/joe.mk similarity index 100% rename from buildroot-2021.05/package/joe/joe.mk rename to buildroot-2022.02.1/package/joe/joe.mk diff --git a/buildroot-2021.05/package/jose/0001-lib-hsh.c-rename-hsh-local-variable.patch b/buildroot-2022.02.1/package/jose/0001-lib-hsh.c-rename-hsh-local-variable.patch similarity index 100% rename from buildroot-2021.05/package/jose/0001-lib-hsh.c-rename-hsh-local-variable.patch rename to buildroot-2022.02.1/package/jose/0001-lib-hsh.c-rename-hsh-local-variable.patch diff --git a/buildroot-2021.05/package/jose/Config.in b/buildroot-2022.02.1/package/jose/Config.in similarity index 100% rename from buildroot-2021.05/package/jose/Config.in rename to buildroot-2022.02.1/package/jose/Config.in diff --git a/buildroot-2022.02.1/package/jose/jose.hash b/buildroot-2022.02.1/package/jose/jose.hash new file mode 100644 index 00000000..128d26d1 --- /dev/null +++ b/buildroot-2022.02.1/package/jose/jose.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 e272afe7717e22790c383f3164480627a567c714ccb80c1ee96f62c9929d8225 jose-11.tar.xz +sha256 09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b COPYING diff --git a/buildroot-2022.02.1/package/jose/jose.mk b/buildroot-2022.02.1/package/jose/jose.mk new file mode 100644 index 00000000..8a60e20c --- /dev/null +++ b/buildroot-2022.02.1/package/jose/jose.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# jose +# +################################################################################ + +JOSE_VERSION = 11 +JOSE_SOURCE = jose-$(JOSE_VERSION).tar.xz +JOSE_SITE = https://github.com/latchset/jose/releases/download/v$(JOSE_VERSION) +JOSE_LICENSE = Apache-2.0 +JOSE_LICENSE_FILES = COPYING +JOSE_INSTALL_STAGING = YES +JOSE_DEPENDENCIES = host-pkgconf zlib jansson openssl + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/jpeg-turbo/Config.in.options b/buildroot-2022.02.1/package/jpeg-turbo/Config.in.options similarity index 100% rename from buildroot-2021.05/package/jpeg-turbo/Config.in.options rename to buildroot-2022.02.1/package/jpeg-turbo/Config.in.options diff --git a/buildroot-2022.02.1/package/jpeg-turbo/jpeg-turbo.hash b/buildroot-2022.02.1/package/jpeg-turbo/jpeg-turbo.hash new file mode 100644 index 00000000..de821996 --- /dev/null +++ b/buildroot-2022.02.1/package/jpeg-turbo/jpeg-turbo.hash @@ -0,0 +1,7 @@ +# From https://sourceforge.net/projects/libjpeg-turbo/files/2.1.2/ +sha1 65c51c543b1fbba6db9ff5bee474ccb0b52a929f libjpeg-turbo-2.1.2.tar.gz +md5 e181bd78884dd5392a869209bfa41d4a libjpeg-turbo-2.1.2.tar.gz +# Locally computed +sha256 09b96cb8cbff9ea556a9c2d173485fd19488844d55276ed4f42240e1e2073ce5 libjpeg-turbo-2.1.2.tar.gz +sha256 7d8683a7f048e715e08b4cada8b7f0d9a6ab8afad88ed09c1143ef764ecbc0f2 LICENSE.md +sha256 4b7b9f8c03bb8d60270dfd12684e70ab21e4abfd27e73905cd1a7c4cae6f5cdb README.ijg diff --git a/buildroot-2022.02.1/package/jpeg-turbo/jpeg-turbo.mk b/buildroot-2022.02.1/package/jpeg-turbo/jpeg-turbo.mk new file mode 100644 index 00000000..ddae0198 --- /dev/null +++ b/buildroot-2022.02.1/package/jpeg-turbo/jpeg-turbo.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# jpeg-turbo +# +################################################################################ + +JPEG_TURBO_VERSION = 2.1.2 +JPEG_TURBO_SOURCE = libjpeg-turbo-$(JPEG_TURBO_VERSION).tar.gz +JPEG_TURBO_SITE = https://downloads.sourceforge.net/project/libjpeg-turbo/$(JPEG_TURBO_VERSION) +JPEG_TURBO_LICENSE = IJG (libjpeg), BSD-3-Clause (TurboJPEG), Zlib (SIMD) +JPEG_TURBO_LICENSE_FILES = LICENSE.md README.ijg +JPEG_TURBO_CPE_ID_VENDOR = libjpeg-turbo +JPEG_TURBO_CPE_ID_PRODUCT = libjpeg-turbo +JPEG_TURBO_INSTALL_STAGING = YES +JPEG_TURBO_PROVIDES = jpeg +JPEG_TURBO_DEPENDENCIES = host-pkgconf + +JPEG_TURBO_CONF_OPTS = -DWITH_JPEG8=ON + +ifeq ($(BR2_STATIC_LIBS),y) +JPEG_TURBO_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=OFF +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +JPEG_TURBO_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=ON +else ifeq ($(BR2_SHARED_LIBS),y) +JPEG_TURBO_CONF_OPTS += -DENABLE_STATIC=OFF -DENABLE_SHARED=ON +endif + +ifeq ($(BR2_PACKAGE_JPEG_SIMD_SUPPORT),y) +JPEG_TURBO_CONF_OPTS += -DWITH_SIMD=ON +# x86 simd support needs nasm +JPEG_TURBO_DEPENDENCIES += $(if $(BR2_X86_CPU_HAS_MMX),host-nasm) +else +JPEG_TURBO_CONF_OPTS += -DWITH_SIMD=OFF +endif + +# Ensure that jpeg-turbo is compiled with -fPIC to allow linking the static +# libraries with dynamically linked programs. This is not a requirement +# for most architectures but is mandatory for ARM. +# This allow to avoid link issues with BR2_SSP_ALL: +# jsimd_none.c.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against external symbol `__stack_chk_guard@@GLIBC_2.17' +# can not be used when making a shared object; recompile with -fPIC +ifeq ($(BR2_STATIC_LIBS),) +JPEG_TURBO_CONF_OPTS += -DCMAKE_POSITION_INDEPENDENT_CODE=ON +endif + +ifeq ($(BR2_PACKAGE_JPEG_TURBO_TOOLS),) +define JPEG_TURBO_REMOVE_TOOLS + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom tjbench wrjpgcom) +endef +JPEG_TURBO_POST_INSTALL_TARGET_HOOKS += JPEG_TURBO_REMOVE_TOOLS +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/jpeg/Config.in b/buildroot-2022.02.1/package/jpeg/Config.in similarity index 100% rename from buildroot-2021.05/package/jpeg/Config.in rename to buildroot-2022.02.1/package/jpeg/Config.in diff --git a/buildroot-2021.05/package/jpeg/jpeg.mk b/buildroot-2022.02.1/package/jpeg/jpeg.mk similarity index 100% rename from buildroot-2021.05/package/jpeg/jpeg.mk rename to buildroot-2022.02.1/package/jpeg/jpeg.mk diff --git a/buildroot-2021.05/package/jq/Config.in b/buildroot-2022.02.1/package/jq/Config.in similarity index 100% rename from buildroot-2021.05/package/jq/Config.in rename to buildroot-2022.02.1/package/jq/Config.in diff --git a/buildroot-2021.05/package/jq/Config.in.host b/buildroot-2022.02.1/package/jq/Config.in.host similarity index 100% rename from buildroot-2021.05/package/jq/Config.in.host rename to buildroot-2022.02.1/package/jq/Config.in.host diff --git a/buildroot-2021.05/package/jq/jq.hash b/buildroot-2022.02.1/package/jq/jq.hash similarity index 100% rename from buildroot-2021.05/package/jq/jq.hash rename to buildroot-2022.02.1/package/jq/jq.hash diff --git a/buildroot-2021.05/package/jq/jq.mk b/buildroot-2022.02.1/package/jq/jq.mk similarity index 100% rename from buildroot-2021.05/package/jq/jq.mk rename to buildroot-2022.02.1/package/jq/jq.mk diff --git a/buildroot-2021.05/package/jquery-datetimepicker/Config.in b/buildroot-2022.02.1/package/jquery-datetimepicker/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery-datetimepicker/Config.in rename to buildroot-2022.02.1/package/jquery-datetimepicker/Config.in diff --git a/buildroot-2021.05/package/jquery-datetimepicker/jquery-datetimepicker.hash b/buildroot-2022.02.1/package/jquery-datetimepicker/jquery-datetimepicker.hash similarity index 100% rename from buildroot-2021.05/package/jquery-datetimepicker/jquery-datetimepicker.hash rename to buildroot-2022.02.1/package/jquery-datetimepicker/jquery-datetimepicker.hash diff --git a/buildroot-2021.05/package/jquery-datetimepicker/jquery-datetimepicker.mk b/buildroot-2022.02.1/package/jquery-datetimepicker/jquery-datetimepicker.mk similarity index 100% rename from buildroot-2021.05/package/jquery-datetimepicker/jquery-datetimepicker.mk rename to buildroot-2022.02.1/package/jquery-datetimepicker/jquery-datetimepicker.mk diff --git a/buildroot-2021.05/package/jquery-keyboard/Config.in b/buildroot-2022.02.1/package/jquery-keyboard/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery-keyboard/Config.in rename to buildroot-2022.02.1/package/jquery-keyboard/Config.in diff --git a/buildroot-2021.05/package/jquery-keyboard/jquery-keyboard.hash b/buildroot-2022.02.1/package/jquery-keyboard/jquery-keyboard.hash similarity index 100% rename from buildroot-2021.05/package/jquery-keyboard/jquery-keyboard.hash rename to buildroot-2022.02.1/package/jquery-keyboard/jquery-keyboard.hash diff --git a/buildroot-2021.05/package/jquery-keyboard/jquery-keyboard.mk b/buildroot-2022.02.1/package/jquery-keyboard/jquery-keyboard.mk similarity index 100% rename from buildroot-2021.05/package/jquery-keyboard/jquery-keyboard.mk rename to buildroot-2022.02.1/package/jquery-keyboard/jquery-keyboard.mk diff --git a/buildroot-2021.05/package/jquery-mobile/Config.in b/buildroot-2022.02.1/package/jquery-mobile/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery-mobile/Config.in rename to buildroot-2022.02.1/package/jquery-mobile/Config.in diff --git a/buildroot-2021.05/package/jquery-mobile/jquery-mobile.hash b/buildroot-2022.02.1/package/jquery-mobile/jquery-mobile.hash similarity index 100% rename from buildroot-2021.05/package/jquery-mobile/jquery-mobile.hash rename to buildroot-2022.02.1/package/jquery-mobile/jquery-mobile.hash diff --git a/buildroot-2021.05/package/jquery-mobile/jquery-mobile.mk b/buildroot-2022.02.1/package/jquery-mobile/jquery-mobile.mk similarity index 100% rename from buildroot-2021.05/package/jquery-mobile/jquery-mobile.mk rename to buildroot-2022.02.1/package/jquery-mobile/jquery-mobile.mk diff --git a/buildroot-2021.05/package/jquery-sidebar/Config.in b/buildroot-2022.02.1/package/jquery-sidebar/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery-sidebar/Config.in rename to buildroot-2022.02.1/package/jquery-sidebar/Config.in diff --git a/buildroot-2021.05/package/jquery-sidebar/jquery-sidebar.hash b/buildroot-2022.02.1/package/jquery-sidebar/jquery-sidebar.hash similarity index 100% rename from buildroot-2021.05/package/jquery-sidebar/jquery-sidebar.hash rename to buildroot-2022.02.1/package/jquery-sidebar/jquery-sidebar.hash diff --git a/buildroot-2021.05/package/jquery-sidebar/jquery-sidebar.mk b/buildroot-2022.02.1/package/jquery-sidebar/jquery-sidebar.mk similarity index 100% rename from buildroot-2021.05/package/jquery-sidebar/jquery-sidebar.mk rename to buildroot-2022.02.1/package/jquery-sidebar/jquery-sidebar.mk diff --git a/buildroot-2021.05/package/jquery-sparkline/Config.in b/buildroot-2022.02.1/package/jquery-sparkline/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery-sparkline/Config.in rename to buildroot-2022.02.1/package/jquery-sparkline/Config.in diff --git a/buildroot-2021.05/package/jquery-sparkline/jquery-sparkline.hash b/buildroot-2022.02.1/package/jquery-sparkline/jquery-sparkline.hash similarity index 100% rename from buildroot-2021.05/package/jquery-sparkline/jquery-sparkline.hash rename to buildroot-2022.02.1/package/jquery-sparkline/jquery-sparkline.hash diff --git a/buildroot-2021.05/package/jquery-sparkline/jquery-sparkline.mk b/buildroot-2022.02.1/package/jquery-sparkline/jquery-sparkline.mk similarity index 100% rename from buildroot-2021.05/package/jquery-sparkline/jquery-sparkline.mk rename to buildroot-2022.02.1/package/jquery-sparkline/jquery-sparkline.mk diff --git a/buildroot-2021.05/package/jquery-ui-themes/Config.in b/buildroot-2022.02.1/package/jquery-ui-themes/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery-ui-themes/Config.in rename to buildroot-2022.02.1/package/jquery-ui-themes/Config.in diff --git a/buildroot-2021.05/package/jquery-ui-themes/jquery-ui-themes.hash b/buildroot-2022.02.1/package/jquery-ui-themes/jquery-ui-themes.hash similarity index 100% rename from buildroot-2021.05/package/jquery-ui-themes/jquery-ui-themes.hash rename to buildroot-2022.02.1/package/jquery-ui-themes/jquery-ui-themes.hash diff --git a/buildroot-2021.05/package/jquery-ui-themes/jquery-ui-themes.mk b/buildroot-2022.02.1/package/jquery-ui-themes/jquery-ui-themes.mk similarity index 100% rename from buildroot-2021.05/package/jquery-ui-themes/jquery-ui-themes.mk rename to buildroot-2022.02.1/package/jquery-ui-themes/jquery-ui-themes.mk diff --git a/buildroot-2021.05/package/jquery-ui/Config.in b/buildroot-2022.02.1/package/jquery-ui/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery-ui/Config.in rename to buildroot-2022.02.1/package/jquery-ui/Config.in diff --git a/buildroot-2021.05/package/jquery-ui/jquery-ui.hash b/buildroot-2022.02.1/package/jquery-ui/jquery-ui.hash similarity index 100% rename from buildroot-2021.05/package/jquery-ui/jquery-ui.hash rename to buildroot-2022.02.1/package/jquery-ui/jquery-ui.hash diff --git a/buildroot-2021.05/package/jquery-ui/jquery-ui.mk b/buildroot-2022.02.1/package/jquery-ui/jquery-ui.mk similarity index 100% rename from buildroot-2021.05/package/jquery-ui/jquery-ui.mk rename to buildroot-2022.02.1/package/jquery-ui/jquery-ui.mk diff --git a/buildroot-2021.05/package/jquery-validation/Config.in b/buildroot-2022.02.1/package/jquery-validation/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery-validation/Config.in rename to buildroot-2022.02.1/package/jquery-validation/Config.in diff --git a/buildroot-2021.05/package/jquery-validation/jquery-validation.hash b/buildroot-2022.02.1/package/jquery-validation/jquery-validation.hash similarity index 100% rename from buildroot-2021.05/package/jquery-validation/jquery-validation.hash rename to buildroot-2022.02.1/package/jquery-validation/jquery-validation.hash diff --git a/buildroot-2021.05/package/jquery-validation/jquery-validation.mk b/buildroot-2022.02.1/package/jquery-validation/jquery-validation.mk similarity index 100% rename from buildroot-2021.05/package/jquery-validation/jquery-validation.mk rename to buildroot-2022.02.1/package/jquery-validation/jquery-validation.mk diff --git a/buildroot-2021.05/package/jquery/Config.in b/buildroot-2022.02.1/package/jquery/Config.in similarity index 100% rename from buildroot-2021.05/package/jquery/Config.in rename to buildroot-2022.02.1/package/jquery/Config.in diff --git a/buildroot-2021.05/package/jquery/jquery.hash b/buildroot-2022.02.1/package/jquery/jquery.hash similarity index 100% rename from buildroot-2021.05/package/jquery/jquery.hash rename to buildroot-2022.02.1/package/jquery/jquery.hash diff --git a/buildroot-2021.05/package/jquery/jquery.mk b/buildroot-2022.02.1/package/jquery/jquery.mk similarity index 100% rename from buildroot-2021.05/package/jquery/jquery.mk rename to buildroot-2022.02.1/package/jquery/jquery.mk diff --git a/buildroot-2021.05/package/jsmin/Config.in b/buildroot-2022.02.1/package/jsmin/Config.in similarity index 100% rename from buildroot-2021.05/package/jsmin/Config.in rename to buildroot-2022.02.1/package/jsmin/Config.in diff --git a/buildroot-2021.05/package/jsmin/Config.in.host b/buildroot-2022.02.1/package/jsmin/Config.in.host similarity index 100% rename from buildroot-2021.05/package/jsmin/Config.in.host rename to buildroot-2022.02.1/package/jsmin/Config.in.host diff --git a/buildroot-2021.05/package/jsmin/jsmin.hash b/buildroot-2022.02.1/package/jsmin/jsmin.hash similarity index 100% rename from buildroot-2021.05/package/jsmin/jsmin.hash rename to buildroot-2022.02.1/package/jsmin/jsmin.hash diff --git a/buildroot-2021.05/package/jsmin/jsmin.mk b/buildroot-2022.02.1/package/jsmin/jsmin.mk similarity index 100% rename from buildroot-2021.05/package/jsmin/jsmin.mk rename to buildroot-2022.02.1/package/jsmin/jsmin.mk diff --git a/buildroot-2021.05/package/jsmn/Config.in b/buildroot-2022.02.1/package/jsmn/Config.in similarity index 100% rename from buildroot-2021.05/package/jsmn/Config.in rename to buildroot-2022.02.1/package/jsmn/Config.in diff --git a/buildroot-2021.05/package/jsmn/jsmn.hash b/buildroot-2022.02.1/package/jsmn/jsmn.hash similarity index 100% rename from buildroot-2021.05/package/jsmn/jsmn.hash rename to buildroot-2022.02.1/package/jsmn/jsmn.hash diff --git a/buildroot-2021.05/package/jsmn/jsmn.mk b/buildroot-2022.02.1/package/jsmn/jsmn.mk similarity index 100% rename from buildroot-2021.05/package/jsmn/jsmn.mk rename to buildroot-2022.02.1/package/jsmn/jsmn.mk diff --git a/buildroot-2021.05/package/json-c/Config.in b/buildroot-2022.02.1/package/json-c/Config.in similarity index 100% rename from buildroot-2021.05/package/json-c/Config.in rename to buildroot-2022.02.1/package/json-c/Config.in diff --git a/buildroot-2021.05/package/json-c/json-c.hash b/buildroot-2022.02.1/package/json-c/json-c.hash similarity index 100% rename from buildroot-2021.05/package/json-c/json-c.hash rename to buildroot-2022.02.1/package/json-c/json-c.hash diff --git a/buildroot-2021.05/package/json-c/json-c.mk b/buildroot-2022.02.1/package/json-c/json-c.mk similarity index 100% rename from buildroot-2021.05/package/json-c/json-c.mk rename to buildroot-2022.02.1/package/json-c/json-c.mk diff --git a/buildroot-2021.05/package/json-for-modern-cpp/Config.in b/buildroot-2022.02.1/package/json-for-modern-cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/json-for-modern-cpp/Config.in rename to buildroot-2022.02.1/package/json-for-modern-cpp/Config.in diff --git a/buildroot-2022.02.1/package/json-for-modern-cpp/json-for-modern-cpp.hash b/buildroot-2022.02.1/package/json-for-modern-cpp/json-for-modern-cpp.hash new file mode 100644 index 00000000..a193fa6d --- /dev/null +++ b/buildroot-2022.02.1/package/json-for-modern-cpp/json-for-modern-cpp.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 5daca6ca216495edf89d167f808d1d03c4a4d929cef7da5e10f135ae1540c7e4 json-3.10.5.tar.gz +sha256 86b998c792894ccb911a1cb7994f7a9652894e7a094c0b5e45be2f553f45cf14 LICENSE.MIT diff --git a/buildroot-2022.02.1/package/json-for-modern-cpp/json-for-modern-cpp.mk b/buildroot-2022.02.1/package/json-for-modern-cpp/json-for-modern-cpp.mk new file mode 100644 index 00000000..fd13ce1f --- /dev/null +++ b/buildroot-2022.02.1/package/json-for-modern-cpp/json-for-modern-cpp.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# json-for-modern-cpp +# +################################################################################ + +JSON_FOR_MODERN_CPP_VERSION = 3.10.5 +JSON_FOR_MODERN_CPP_SOURCE = json-$(JSON_FOR_MODERN_CPP_VERSION).tar.gz +JSON_FOR_MODERN_CPP_SITE = $(call github,nlohmann,json,v$(JSON_FOR_MODERN_CPP_VERSION)) +JSON_FOR_MODERN_CPP_LICENSE = MIT +JSON_FOR_MODERN_CPP_LICENSE_FILES = LICENSE.MIT +JSON_FOR_MODERN_CPP_CPE_ID_VENDOR = json-for-modern-cpp_project + +JSON_FOR_MODERN_CPP_INSTALL_STAGING = YES +# header only library +JSON_FOR_MODERN_CPP_INSTALL_TARGET = NO +JSON_FOR_MODERN_CPP_CONF_OPTS = -DJSON_BuildTests=OFF -DJSON_MultipleHeaders=ON + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/json-glib/Config.in b/buildroot-2022.02.1/package/json-glib/Config.in similarity index 100% rename from buildroot-2021.05/package/json-glib/Config.in rename to buildroot-2022.02.1/package/json-glib/Config.in diff --git a/buildroot-2021.05/package/json-glib/json-glib.hash b/buildroot-2022.02.1/package/json-glib/json-glib.hash similarity index 100% rename from buildroot-2021.05/package/json-glib/json-glib.hash rename to buildroot-2022.02.1/package/json-glib/json-glib.hash diff --git a/buildroot-2021.05/package/json-glib/json-glib.mk b/buildroot-2022.02.1/package/json-glib/json-glib.mk similarity index 100% rename from buildroot-2021.05/package/json-glib/json-glib.mk rename to buildroot-2022.02.1/package/json-glib/json-glib.mk diff --git a/buildroot-2021.05/package/json-javascript/Config.in b/buildroot-2022.02.1/package/json-javascript/Config.in similarity index 100% rename from buildroot-2021.05/package/json-javascript/Config.in rename to buildroot-2022.02.1/package/json-javascript/Config.in diff --git a/buildroot-2021.05/package/json-javascript/json-javascript.hash b/buildroot-2022.02.1/package/json-javascript/json-javascript.hash similarity index 100% rename from buildroot-2021.05/package/json-javascript/json-javascript.hash rename to buildroot-2022.02.1/package/json-javascript/json-javascript.hash diff --git a/buildroot-2021.05/package/json-javascript/json-javascript.mk b/buildroot-2022.02.1/package/json-javascript/json-javascript.mk similarity index 100% rename from buildroot-2021.05/package/json-javascript/json-javascript.mk rename to buildroot-2022.02.1/package/json-javascript/json-javascript.mk diff --git a/buildroot-2021.05/package/jsoncpp/Config.in b/buildroot-2022.02.1/package/jsoncpp/Config.in similarity index 100% rename from buildroot-2021.05/package/jsoncpp/Config.in rename to buildroot-2022.02.1/package/jsoncpp/Config.in diff --git a/buildroot-2022.02.1/package/jsoncpp/jsoncpp.hash b/buildroot-2022.02.1/package/jsoncpp/jsoncpp.hash new file mode 100644 index 00000000..99266ae4 --- /dev/null +++ b/buildroot-2022.02.1/package/jsoncpp/jsoncpp.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2 jsoncpp-1.9.5.tar.gz +sha256 cec0db5f6d7ed6b3a72647bd50aed02e13c3377fd44382b96dc2915534c042ad LICENSE diff --git a/buildroot-2022.02.1/package/jsoncpp/jsoncpp.mk b/buildroot-2022.02.1/package/jsoncpp/jsoncpp.mk new file mode 100644 index 00000000..e7022bfd --- /dev/null +++ b/buildroot-2022.02.1/package/jsoncpp/jsoncpp.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# jsoncpp +# +################################################################################ + +JSONCPP_VERSION = 1.9.5 +JSONCPP_SITE = $(call github,open-source-parsers,jsoncpp,$(JSONCPP_VERSION)) +JSONCPP_LICENSE = Public Domain or MIT +JSONCPP_LICENSE_FILES = LICENSE +JSONCPP_CPE_ID_VENDOR = jsoncpp_project +JSONCPP_INSTALL_STAGING = YES +JSONCPP_CONF_OPTS = -Dtests=false + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/jszip/0001-fix-Use-a-null-prototype-object-for-this-files.patch b/buildroot-2022.02.1/package/jszip/0001-fix-Use-a-null-prototype-object-for-this-files.patch new file mode 100644 index 00000000..969db5b4 --- /dev/null +++ b/buildroot-2022.02.1/package/jszip/0001-fix-Use-a-null-prototype-object-for-this-files.patch @@ -0,0 +1,56 @@ +From 22357494f424178cb416cdb7d93b26dd4f824b36 Mon Sep 17 00:00:00 2001 +From: Michael Aquilina +Date: Mon, 14 Jun 2021 12:28:46 +0100 +Subject: [PATCH] fix: Use a null prototype object for this.files + +This approach is taken to prevent overriding object methods that would +exist on a normal object Object.create({}) + +[Retrieved from: +https://github.com/Stuk/jszip/commit/22357494f424178cb416cdb7d93b26dd4f824b36] +Signed-off-by: Fabrice Fontaine +--- + lib/index.js | 5 ++++- + lib/object.js | 6 +++--- + 2 files changed, 7 insertions(+), 4 deletions(-) + +diff --git a/lib/index.js b/lib/index.js +index b449877..b4c95ba 100644 +--- a/lib/index.js ++++ b/lib/index.js +@@ -19,7 +19,10 @@ function JSZip() { + // "folder/" : {...}, + // "folder/data.txt" : {...} + // } +- this.files = {}; ++ // NOTE: we use a null prototype because we do not ++ // want filenames like "toString" coming from a zip file ++ // to overwrite methods and attributes in a normal Object. ++ this.files = Object.create(null); + + this.comment = null; + +diff --git a/lib/object.js b/lib/object.js +index 1c9d8e8..aec3db7 100644 +--- a/lib/object.js ++++ b/lib/object.js +@@ -179,16 +179,16 @@ var out = { + */ + forEach: function(cb) { + var filename, relativePath, file; ++ /* jshint ignore:start */ ++ // ignore warning about unwanted properties because this.files is a null prototype object + for (filename in this.files) { +- if (!this.files.hasOwnProperty(filename)) { +- continue; +- } + file = this.files[filename]; + relativePath = filename.slice(this.root.length, filename.length); + if (relativePath && filename.slice(0, this.root.length) === this.root) { // the file is in the current root + cb(relativePath, file); // TODO reverse the parameters ? need to be clean AND consistent with the filter search fn... + } + } ++ /* jshint ignore:end */ + }, + + /** diff --git a/buildroot-2021.05/package/jszip/Config.in b/buildroot-2022.02.1/package/jszip/Config.in similarity index 100% rename from buildroot-2021.05/package/jszip/Config.in rename to buildroot-2022.02.1/package/jszip/Config.in diff --git a/buildroot-2021.05/package/jszip/jszip.hash b/buildroot-2022.02.1/package/jszip/jszip.hash similarity index 100% rename from buildroot-2021.05/package/jszip/jszip.hash rename to buildroot-2022.02.1/package/jszip/jszip.hash diff --git a/buildroot-2022.02.1/package/jszip/jszip.mk b/buildroot-2022.02.1/package/jszip/jszip.mk new file mode 100644 index 00000000..a93766be --- /dev/null +++ b/buildroot-2022.02.1/package/jszip/jszip.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# jszip +# +################################################################################ + +JSZIP_VERSION = 3.2.2 +JSZIP_SITE = $(call github,Stuk,jszip,v$(JSZIP_VERSION)) +JSZIP_LICENSE = MIT or GPL-3.0 +JSZIP_LICENSE_FILES = LICENSE.markdown +JSZIP_CPE_ID_VENDOR = jszip_project + +# 0001-fix-Use-a-null-prototype-object-for-this-files.patch +JSZIP_IGNORE_CVES += CVE-2021-23413 + +define JSZIP_INSTALL_TARGET_CMDS + $(INSTALL) -m 0644 -D $(@D)/dist/jszip.min.js \ + $(TARGET_DIR)/var/www/jszip/js/jszip.min.js +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/kbd/Config.in b/buildroot-2022.02.1/package/kbd/Config.in similarity index 100% rename from buildroot-2021.05/package/kbd/Config.in rename to buildroot-2022.02.1/package/kbd/Config.in diff --git a/buildroot-2021.05/package/kbd/kbd.hash b/buildroot-2022.02.1/package/kbd/kbd.hash similarity index 100% rename from buildroot-2021.05/package/kbd/kbd.hash rename to buildroot-2022.02.1/package/kbd/kbd.hash diff --git a/buildroot-2021.05/package/kbd/kbd.mk b/buildroot-2022.02.1/package/kbd/kbd.mk similarity index 100% rename from buildroot-2021.05/package/kbd/kbd.mk rename to buildroot-2022.02.1/package/kbd/kbd.mk diff --git a/buildroot-2022.02.1/package/keepalived/0001-vrrp-nft-didn-t-support-meta-l4proro-until-Linux-3-14.patch b/buildroot-2022.02.1/package/keepalived/0001-vrrp-nft-didn-t-support-meta-l4proro-until-Linux-3-14.patch new file mode 100644 index 00000000..9d5f3f79 --- /dev/null +++ b/buildroot-2022.02.1/package/keepalived/0001-vrrp-nft-didn-t-support-meta-l4proro-until-Linux-3-14.patch @@ -0,0 +1,76 @@ +From edc71b19c619fdc1d71df10a2d0e8f5822965d69 Mon Sep 17 00:00:00 2001 +From: Quentin Armitage +Date: Tue, 8 Feb 2022 14:58:49 +0000 +Subject: [PATCH] vrrp: nft didn't support meta l4proro until Linux 3.14 + +For Linux 3.13 (first version to support nftables), we instead specify: +@nh,48,8 58 + +Signed-off-by: Quentin Armitage + +[Retrieved (and updated to drop update of README.kernel_versions) from: +https://github.com/acassen/keepalived/commit/edc71b19c619fdc1d71df10a2d0e8f5822965d69] +Signed-off-by: Fabrice Fontaine +--- + README.kernel_versions | 1 + + configure.ac | 5 +++++ + keepalived/vrrp/vrrp_nftables.c | 16 ++++++++++++++-- + 3 files changed, 20 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 350a9f4e9..bc643dbf1 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1754,6 +1754,11 @@ if test .${enable_nftables} != .no; then + ],[ + AC_MSG_RESULT(no) + ]) ++ ++ # nft l4proto from Linux 3.14 ++ AC_CHECK_DECLS([NFT_META_L4PROTO], [], [], ++ [#include ]) ++ + # nft dup from Linux 4.3 + AC_CHECK_DECLS([NFTA_DUP_MAX], [], [], + [#include ]) +diff --git a/keepalived/vrrp/vrrp_nftables.c b/keepalived/vrrp/vrrp_nftables.c +index d3ea39db3..8b5095ad4 100644 +--- a/keepalived/vrrp/vrrp_nftables.c ++++ b/keepalived/vrrp/vrrp_nftables.c +@@ -1191,6 +1191,8 @@ setup_rule_move_igmp(uint8_t family, const char *table, + otherwise: + nft add rule ip keepalived out ip protocol igmp [meta oifkind macvlan] oif @vmac_set drop + nft add rule ip6 keepalived out icmpv6 type mld2-listener-report [meta oifkind macvlan] oif @vmac_set drop ++ * ++ * Note: on 3.13 kernels, icmpv6 is specified as @nh,48,8 58 + */ + struct nftnl_rule *r = NULL; + uint64_t handle_num; +@@ -1223,7 +1225,12 @@ setup_rule_move_igmp(uint8_t family, const char *table, + offsetof(struct iphdr, daddr), sizeof(struct in_addr)); + #endif + } else { +- add_meta(r, NFT_META_L4PROTO, NFT_REG_1); ++#if HAVE_DECL_NFT_META_L4PROTO ++ add_meta(r, NFT_META_L4PROTO, NFT_REG_1); /* From Linux 3.14 */ ++#else ++ add_payload(r, NFT_PAYLOAD_NETWORK_HEADER, NFT_REG_1, ++ offsetof(struct ip6_hdr, ip6_nxt), sizeof(((struct ip6_hdr *)NULL)->ip6_nxt)); ++#endif + protocol = IPPROTO_ICMPV6; + add_cmp(r, NFT_REG_1, NFT_CMP_EQ, &protocol, sizeof(protocol)); + add_payload(r, NFT_PAYLOAD_TRANSPORT_HEADER, NFT_REG_1, +@@ -1279,7 +1286,12 @@ setup_rule_drop_router_solicit(const char *table, const char *chain, + nftnl_rule_set_u64(r, NFTNL_RULE_POSITION, handle_num); + } + +- add_meta(r, NFT_META_L4PROTO, NFT_REG_1); ++#if HAVE_DECL_NFT_META_L4PROTO ++ add_meta(r, NFT_META_L4PROTO, NFT_REG_1); /* From Linux 3.14 */ ++#else ++ add_payload(r, NFT_PAYLOAD_NETWORK_HEADER, NFT_REG_1, ++ offsetof(struct ip6_hdr, ip6_nxt), sizeof(((struct ip6_hdr *)NULL)->ip6_nxt)); ++#endif + protocol = IPPROTO_ICMPV6; + add_cmp(r, NFT_REG_1, NFT_CMP_EQ, &protocol, sizeof(protocol)); + add_payload(r, NFT_PAYLOAD_TRANSPORT_HEADER, NFT_REG_1, diff --git a/buildroot-2022.02.1/package/keepalived/0002-ipvs-nft-didn-t-support-meta-l4proro-until-Linux-3-14.patch b/buildroot-2022.02.1/package/keepalived/0002-ipvs-nft-didn-t-support-meta-l4proro-until-Linux-3-14.patch new file mode 100644 index 00000000..3713de37 --- /dev/null +++ b/buildroot-2022.02.1/package/keepalived/0002-ipvs-nft-didn-t-support-meta-l4proro-until-Linux-3-14.patch @@ -0,0 +1,40 @@ +From 50e8a8d56cd5a3d7184b035708865302bbc7ef69 Mon Sep 17 00:00:00 2001 +From: Quentin Armitage +Date: Tue, 8 Feb 2022 17:43:49 +0000 +Subject: [PATCH] ipvs: nft didn't support meta l4proro until Linux 3.14 + +For Linux 3.13 (first version to support nftables), we instead specify: +ipv4: @nh,72,8 PROTO +ipv6: @nh,48,8 PROTO + +Signed-off-by: Quentin Armitage + +[Retrieved from: +https://github.com/acassen/keepalived/commit/50e8a8d56cd5a3d7184b035708865302bbc7ef69] +Signed-off-by: Fabrice Fontaine +--- + keepalived/check/check_nftables.c | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/keepalived/check/check_nftables.c b/keepalived/check/check_nftables.c +index 2d163ac14..45831203b 100644 +--- a/keepalived/check/check_nftables.c ++++ b/keepalived/check/check_nftables.c +@@ -150,7 +150,16 @@ setup_rule_set_mark(uint8_t family, const char *table, + nftnl_rule_set_u64(r, NFTNL_RULE_POSITION, handle_num); + } + +- add_meta(r, NFT_META_L4PROTO, NFT_REG_1); ++#if HAVE_DECL_NFT_META_L4PROTO ++ add_meta(r, NFT_META_L4PROTO, NFT_REG_1); /* From Linux 3.14 */ ++#else ++ if (family == NFPROTO_IPV4) ++ add_payload(r, NFT_PAYLOAD_NETWORK_HEADER, NFT_REG_1, ++ offsetof(struct iphdr, protocol), sizeof(((struct iphdr *)NULL)->protocol)); ++ else ++ add_payload(r, NFT_PAYLOAD_NETWORK_HEADER, NFT_REG_1, ++ offsetof(struct ip6_hdr, ip6_nxt), sizeof(((struct ip6_hdr *)NULL)->ip6_nxt)); ++#endif + add_cmp(r, NFT_REG_1, NFT_CMP_EQ, &l4_protocol, sizeof(l4_protocol)); + if (family == NFPROTO_IPV4) + add_payload(r, NFT_PAYLOAD_NETWORK_HEADER, NFT_REG_1, diff --git a/buildroot-2021.05/package/keepalived/Config.in b/buildroot-2022.02.1/package/keepalived/Config.in similarity index 100% rename from buildroot-2021.05/package/keepalived/Config.in rename to buildroot-2022.02.1/package/keepalived/Config.in diff --git a/buildroot-2022.02.1/package/keepalived/keepalived.hash b/buildroot-2022.02.1/package/keepalived/keepalived.hash new file mode 100644 index 00000000..9d8ab949 --- /dev/null +++ b/buildroot-2022.02.1/package/keepalived/keepalived.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c61940d874154a560a54627ecf7ef47adebdf832164368d10bf242a4d9b7d49d keepalived-2.2.7.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/keepalived/keepalived.mk b/buildroot-2022.02.1/package/keepalived/keepalived.mk new file mode 100644 index 00000000..5d6cf174 --- /dev/null +++ b/buildroot-2022.02.1/package/keepalived/keepalived.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# keepalived +# +################################################################################ + +KEEPALIVED_VERSION = 2.2.7 +KEEPALIVED_SITE = http://www.keepalived.org/software +KEEPALIVED_DEPENDENCIES = host-pkgconf openssl +KEEPALIVED_LICENSE = GPL-2.0+ +KEEPALIVED_LICENSE_FILES = COPYING +KEEPALIVED_CPE_ID_VENDOR = keepalived +KEEPALIVED_CONF_OPTS = --disable-hardening +# We're patching configure.ac +KEEPALIVED_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_JSON_C),y) +KEEPALIVED_DEPENDENCIES += json-c +KEEPALIVED_CONF_OPTS += --enable-json +else +KEEPALIVED_CONF_OPTS += --disable-json +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +KEEPALIVED_DEPENDENCIES += libglib2 +KEEPALIVED_CONF_OPTS += --enable-dbus +else +KEEPALIVED_CONF_OPTS += --disable-dbus +endif + +ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_PACKAGE_LIBNFNETLINK),yy) +KEEPALIVED_DEPENDENCIES += libnl libnfnetlink +KEEPALIVED_CONF_OPTS += --enable-libnl +else +KEEPALIVED_CONF_OPTS += --disable-libnl +endif + +ifeq ($(BR2_PACKAGE_IPTABLES),y) +KEEPALIVED_DEPENDENCIES += iptables +KEEPALIVED_CONF_OPTS += --enable-iptables +# ipset support only makes sense when iptables support is enabled. +ifeq ($(BR2_PACKAGE_IPSET),y) +KEEPALIVED_DEPENDENCIES += ipset +KEEPALIVED_CONF_OPTS += --enable-libipset +else +KEEPALIVED_CONF_OPTS += --disable-libipset +endif +else +KEEPALIVED_CONF_OPTS += --disable-iptables +endif + +ifeq ($(BR2_PACKAGE_LIBNFTNL),y) +KEEPALIVED_DEPENDENCIES += libnftnl +KEEPALIVED_CONF_OPTS += --enable-nftables +else +KEEPALIVED_CONF_OPTS += --disable-nftables +endif + +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_9),) +KEEPALIVED_CONF_OPTS += --disable-track-process +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/kexec-lite/0001-clean-restart.patch b/buildroot-2022.02.1/package/kexec-lite/0001-clean-restart.patch similarity index 100% rename from buildroot-2021.05/package/kexec-lite/0001-clean-restart.patch rename to buildroot-2022.02.1/package/kexec-lite/0001-clean-restart.patch diff --git a/buildroot-2021.05/package/kexec-lite/Config.in b/buildroot-2022.02.1/package/kexec-lite/Config.in similarity index 100% rename from buildroot-2021.05/package/kexec-lite/Config.in rename to buildroot-2022.02.1/package/kexec-lite/Config.in diff --git a/buildroot-2021.05/package/kexec-lite/kexec-lite.hash b/buildroot-2022.02.1/package/kexec-lite/kexec-lite.hash similarity index 100% rename from buildroot-2021.05/package/kexec-lite/kexec-lite.hash rename to buildroot-2022.02.1/package/kexec-lite/kexec-lite.hash diff --git a/buildroot-2021.05/package/kexec-lite/kexec-lite.mk b/buildroot-2022.02.1/package/kexec-lite/kexec-lite.mk similarity index 100% rename from buildroot-2021.05/package/kexec-lite/kexec-lite.mk rename to buildroot-2022.02.1/package/kexec-lite/kexec-lite.mk diff --git a/buildroot-2021.05/package/kexec/Config.in b/buildroot-2022.02.1/package/kexec/Config.in similarity index 100% rename from buildroot-2021.05/package/kexec/Config.in rename to buildroot-2022.02.1/package/kexec/Config.in diff --git a/buildroot-2022.02.1/package/kexec/kexec.hash b/buildroot-2022.02.1/package/kexec/kexec.hash new file mode 100644 index 00000000..05eb9e3d --- /dev/null +++ b/buildroot-2022.02.1/package/kexec/kexec.hash @@ -0,0 +1,4 @@ +# From https://www.kernel.org/pub/linux/utils/kernel/kexec/sha256sums.asc +sha256 aa63cd6c7dd95b06ceba6240a7fdc6792789cada75a655e6714987175224241b kexec-tools-2.0.23.tar.xz +# locally calculated +sha256 fa5fc1d1eec39532ea517518eeefd7b6e3c14341a55e5880a0e2a49eee47a5b7 COPYING diff --git a/buildroot-2022.02.1/package/kexec/kexec.mk b/buildroot-2022.02.1/package/kexec/kexec.mk new file mode 100644 index 00000000..b3b4e565 --- /dev/null +++ b/buildroot-2022.02.1/package/kexec/kexec.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# kexec +# +################################################################################ + +KEXEC_VERSION = 2.0.23 +KEXEC_SOURCE = kexec-tools-$(KEXEC_VERSION).tar.xz +KEXEC_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kexec +KEXEC_LICENSE = GPL-2.0 +KEXEC_LICENSE_FILES = COPYING +KEXEC_SELINUX_MODULES = kdump + +# Makefile expects $STRIP -o to work, so needed for !BR2_STRIP_strip +KEXEC_MAKE_OPTS = STRIP="$(TARGET_CROSS)strip" + +ifeq ($(BR2_PACKAGE_KEXEC_ZLIB),y) +KEXEC_CONF_OPTS += --with-zlib +KEXEC_DEPENDENCIES += zlib +else +KEXEC_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +KEXEC_CONF_OPTS += --with-lzma +KEXEC_DEPENDENCIES += xz +else +KEXEC_CONF_OPTS += --without-lzma +endif + +define KEXEC_REMOVE_LIB_TOOLS + rm -rf $(TARGET_DIR)/usr/lib/kexec-tools +endef + +KEXEC_POST_INSTALL_TARGET_HOOKS += KEXEC_REMOVE_LIB_TOOLS + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/keyutils/0001-fix-install-rule.patch b/buildroot-2022.02.1/package/keyutils/0001-fix-install-rule.patch similarity index 100% rename from buildroot-2021.05/package/keyutils/0001-fix-install-rule.patch rename to buildroot-2022.02.1/package/keyutils/0001-fix-install-rule.patch diff --git a/buildroot-2021.05/package/keyutils/0002-cifs.patch b/buildroot-2022.02.1/package/keyutils/0002-cifs.patch similarity index 100% rename from buildroot-2021.05/package/keyutils/0002-cifs.patch rename to buildroot-2022.02.1/package/keyutils/0002-cifs.patch diff --git a/buildroot-2021.05/package/keyutils/Config.in b/buildroot-2022.02.1/package/keyutils/Config.in similarity index 100% rename from buildroot-2021.05/package/keyutils/Config.in rename to buildroot-2022.02.1/package/keyutils/Config.in diff --git a/buildroot-2021.05/package/keyutils/keyutils.hash b/buildroot-2022.02.1/package/keyutils/keyutils.hash similarity index 100% rename from buildroot-2021.05/package/keyutils/keyutils.hash rename to buildroot-2022.02.1/package/keyutils/keyutils.hash diff --git a/buildroot-2021.05/package/keyutils/keyutils.mk b/buildroot-2022.02.1/package/keyutils/keyutils.mk similarity index 100% rename from buildroot-2021.05/package/keyutils/keyutils.mk rename to buildroot-2022.02.1/package/keyutils/keyutils.mk diff --git a/buildroot-2021.05/package/kf5/Config.in b/buildroot-2022.02.1/package/kf5/Config.in similarity index 100% rename from buildroot-2021.05/package/kf5/Config.in rename to buildroot-2022.02.1/package/kf5/Config.in diff --git a/buildroot-2021.05/package/kf5/kf5-extra-cmake-modules/Config.in b/buildroot-2022.02.1/package/kf5/kf5-extra-cmake-modules/Config.in similarity index 100% rename from buildroot-2021.05/package/kf5/kf5-extra-cmake-modules/Config.in rename to buildroot-2022.02.1/package/kf5/kf5-extra-cmake-modules/Config.in diff --git a/buildroot-2022.02.1/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.hash b/buildroot-2022.02.1/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.hash new file mode 100644 index 00000000..70b776b5 --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 9717885e30aadf184fa71511930409cabbf08eb6627ea8b051de8804fbcec54c extra-cmake-modules-5.91.0.tar.xz +sha256 46cde7dc11e64c78d650b4851b88f6704b4665ff60f22a1caf68ceb15e217e5b COPYING-CMAKE-SCRIPTS diff --git a/buildroot-2022.02.1/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.mk b/buildroot-2022.02.1/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.mk new file mode 100644 index 00000000..ba274845 --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5-extra-cmake-modules/kf5-extra-cmake-modules.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# kf5-extra-cmake-modules +# +################################################################################ + +KF5_EXTRA_CMAKE_MODULES_VERSION = $(KF5_VERSION) +KF5_EXTRA_CMAKE_MODULES_SITE = $(KF5_SITE) +KF5_EXTRA_CMAKE_MODULES_SOURCE = extra-cmake-modules-$(KF5_EXTRA_CMAKE_MODULES_VERSION).tar.xz +KF5_EXTRA_CMAKE_MODULES_LICENSE = BSD-3-Clause +KF5_EXTRA_CMAKE_MODULES_LICENSE_FILES = COPYING-CMAKE-SCRIPTS + +KF5_EXTRA_CMAKE_MODULES_DEPENDENCIES = host-pkgconf +KF5_EXTRA_CMAKE_MODULES_INSTALL_STAGING = YES +KF5_EXTRA_CMAKE_MODULES_INSTALL_TARGET = NO + +KF5_EXTRA_CMAKE_MODULES_CONF_OPTS += \ + -DBUILD_HTML_DOCS=OFF \ + -DBUILD_MAN_DOCS=OFF \ + -DBUILD_QTHELP_DOCS=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kf5/kf5-kcoreaddons/Config.in b/buildroot-2022.02.1/package/kf5/kf5-kcoreaddons/Config.in similarity index 100% rename from buildroot-2021.05/package/kf5/kf5-kcoreaddons/Config.in rename to buildroot-2022.02.1/package/kf5/kf5-kcoreaddons/Config.in diff --git a/buildroot-2022.02.1/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash b/buildroot-2022.02.1/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash new file mode 100644 index 00000000..e4ebf2bb --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.hash @@ -0,0 +1,16 @@ +# Locally calculated +sha256 dfe3da03260e0153f9f6ced1fc7464eaaf0ed1fb692fc6c2b2d968b629ad719b kcoreaddons-5.91.0.tar.xz + +# Hash for license files +sha256 d1cf0896da7045d841fe45b0991cf35540bac1a17b5d11f4afcf8fcb950246b5 LICENSES/GPL-2.0-only.txt +sha256 606aa26338f69ce178f1cbc648b7574aec4b5bbaeb20f4df36ff49010cb8fbbd LICENSES/GPL-2.0-or-later.txt +sha256 2ca9503d76d1ffab14f599b4741382eec11face60ad1f0d7a41897809003a286 LICENSES/GPL-3.0-only.txt +sha256 de588a8b1c41fe73ffe1201f9d12c718a988ed8e1302929625a6e7c2bced7461 LICENSES/LGPL-2.0-only.txt +sha256 de588a8b1c41fe73ffe1201f9d12c718a988ed8e1302929625a6e7c2bced7461 LICENSES/LGPL-2.0-or-later.txt +sha256 211f1b738d1b864bab2648bee9b55becd39fd2d6aa49c1196e7d87b41db4bc07 LICENSES/LGPL-2.1-only.txt +sha256 476b03829862ab7e3ed920f87fad3de3c995f7dd93c26476eb40f0117de43fdc LICENSES/LGPL-3.0-only.txt +sha256 ef839531eb65b0168f9aed14047c84be13e9ea38801a73bc18abe24dc93e6ac9 LICENSES/LicenseRef-KDE-Accepted-GPL.txt +sha256 d9f25707d20e804f15005be46527366b0604bd739754d144a83d3983d94a9a6a LICENSES/LicenseRef-KDE-Accepted-LGPL.txt +sha256 272bc0fa06a23d3c807375f95f8d6ccd98541321d2882732668ab139c16f9bf4 LICENSES/LicenseRef-Qt-Commercial.txt +sha256 a3b538a7d81c4935d185056479d12fd43042bb9f3a21c9cbb4a8500fab8e5880 LICENSES/MPL-1.1.txt +sha256 7dea3adab58690d8ee14775da755cd30a52649a47704ff78ae85197ae0d37c60 LICENSES/Qt-LGPL-exception-1.1.txt diff --git a/buildroot-2022.02.1/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk b/buildroot-2022.02.1/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk new file mode 100644 index 00000000..e2f67f15 --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5-kcoreaddons/kf5-kcoreaddons.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# kf5-kcoreaddons +# +################################################################################ + +KF5_KCOREADDONS_VERSION = $(KF5_VERSION) +KF5_KCOREADDONS_SITE = $(KF5_SITE) +KF5_KCOREADDONS_SOURCE = kcoreaddons-$(KF5_KCOREADDONS_VERSION).tar.xz +KF5_KCOREADDONS_LICENSE = \ + LGPL-2.0+, LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + MPL.1.1 or GPL-2.0+ or LGPL-2.1+ (posix_fallocate_mac.h), \ + LGPL-2.1 with Qt-LGPL-exception-1.1 or LicenseRef-Qt-Commercial (kprocesslist), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests) +KF5_KCOREADDONS_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-2.0-or-later.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.0-only.txt \ + LICENSES/LGPL-2.0-or-later.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt \ + LICENSES/LicenseRef-Qt-Commercial.txt \ + LICENSES/MPL-1.1.txt \ + LICENSES/Qt-LGPL-exception-1.1.txt + +KF5_KCOREADDONS_DEPENDENCIES = \ + kf5-extra-cmake-modules \ + qt5tools \ + $(if $(BR2_PACKAGE_PYTHON3),python3) +KF5_KCOREADDONS_INSTALL_STAGING = YES + +KF5_KCOREADDONS_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_KCOREADDONS_CXXFLAGS += -latomic +endif + +KF5_KCOREADDONS_CONF_OPTS = -DCMAKE_CXX_FLAGS="$(KF5_KCOREADDONS_CXXFLAGS)" + +ifeq ($(BR2_microblaze),y) +# Microblaze ld emits warnings, make warnings not to be treated as errors +KF5_KCOREADDONS_CONF_OPTS += -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--no-fatal-warnings" +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kf5/kf5-modemmanager-qt/Config.in b/buildroot-2022.02.1/package/kf5/kf5-modemmanager-qt/Config.in similarity index 100% rename from buildroot-2021.05/package/kf5/kf5-modemmanager-qt/Config.in rename to buildroot-2022.02.1/package/kf5/kf5-modemmanager-qt/Config.in diff --git a/buildroot-2022.02.1/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash b/buildroot-2022.02.1/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash new file mode 100644 index 00000000..4b6c03a3 --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.hash @@ -0,0 +1,10 @@ +# Locally calculated +sha256 a2673f18c7866d39c9cedca2f86540c56baf966a2491a86ca06a5a0427358496 modemmanager-qt-5.91.0.tar.xz + +# Hash for license files +sha256 d1cf0896da7045d841fe45b0991cf35540bac1a17b5d11f4afcf8fcb950246b5 LICENSES/GPL-2.0-only.txt +sha256 2ca9503d76d1ffab14f599b4741382eec11face60ad1f0d7a41897809003a286 LICENSES/GPL-3.0-only.txt +sha256 211f1b738d1b864bab2648bee9b55becd39fd2d6aa49c1196e7d87b41db4bc07 LICENSES/LGPL-2.1-only.txt +sha256 476b03829862ab7e3ed920f87fad3de3c995f7dd93c26476eb40f0117de43fdc LICENSES/LGPL-3.0-only.txt +sha256 ef839531eb65b0168f9aed14047c84be13e9ea38801a73bc18abe24dc93e6ac9 LICENSES/LicenseRef-KDE-Accepted-GPL.txt +sha256 d9f25707d20e804f15005be46527366b0604bd739754d144a83d3983d94a9a6a LICENSES/LicenseRef-KDE-Accepted-LGPL.txt diff --git a/buildroot-2022.02.1/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk b/buildroot-2022.02.1/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk new file mode 100644 index 00000000..38c80d3d --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5-modemmanager-qt/kf5-modemmanager-qt.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# kf5-modemmanager-qt +# +################################################################################ + +KF5_MODEMMANAGER_QT_VERSION = $(KF5_VERSION) +KF5_MODEMMANAGER_QT_SITE = $(KF5_SITE) +KF5_MODEMMANAGER_QT_SOURCE = modemmanager-qt-$(KF5_MODEMMANAGER_QT_VERSION).tar.xz +KF5_MODEMMANAGER_QT_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) + +KF5_MODEMMANAGER_QT_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_MODEMMANAGER_QT_DEPENDENCIES = kf5-extra-cmake-modules modem-manager qt5base +KF5_MODEMMANAGER_QT_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KF5_MODEMMANAGER_QT_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kf5/kf5-networkmanager-qt/Config.in b/buildroot-2022.02.1/package/kf5/kf5-networkmanager-qt/Config.in similarity index 100% rename from buildroot-2021.05/package/kf5/kf5-networkmanager-qt/Config.in rename to buildroot-2022.02.1/package/kf5/kf5-networkmanager-qt/Config.in diff --git a/buildroot-2022.02.1/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.hash b/buildroot-2022.02.1/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.hash new file mode 100644 index 00000000..de450406 --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.hash @@ -0,0 +1,10 @@ +# Locally calculated +sha256 2e20ffd995ce64a90b1133b594bab2b2292be54e538f62633e78e8296cc44738 networkmanager-qt-5.91.0.tar.xz + +# Hash for license files +sha256 d1cf0896da7045d841fe45b0991cf35540bac1a17b5d11f4afcf8fcb950246b5 LICENSES/GPL-2.0-only.txt +sha256 2ca9503d76d1ffab14f599b4741382eec11face60ad1f0d7a41897809003a286 LICENSES/GPL-3.0-only.txt +sha256 211f1b738d1b864bab2648bee9b55becd39fd2d6aa49c1196e7d87b41db4bc07 LICENSES/LGPL-2.1-only.txt +sha256 476b03829862ab7e3ed920f87fad3de3c995f7dd93c26476eb40f0117de43fdc LICENSES/LGPL-3.0-only.txt +sha256 ef839531eb65b0168f9aed14047c84be13e9ea38801a73bc18abe24dc93e6ac9 LICENSES/LicenseRef-KDE-Accepted-GPL.txt +sha256 d9f25707d20e804f15005be46527366b0604bd739754d144a83d3983d94a9a6a LICENSES/LicenseRef-KDE-Accepted-LGPL.txt diff --git a/buildroot-2022.02.1/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.mk b/buildroot-2022.02.1/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.mk new file mode 100644 index 00000000..7adff2de --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5-networkmanager-qt/kf5-networkmanager-qt.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# kf5-networkmanager-qt +# +################################################################################ + +KF5_NETWORKMANAGER_QT_VERSION = $(KF5_VERSION) +KF5_NETWORKMANAGER_QT_SITE = $(KF5_SITE) +KF5_NETWORKMANAGER_QT_SOURCE = networkmanager-qt-$(KF5_NETWORKMANAGER_QT_VERSION).tar.xz +KF5_NETWORKMANAGER_QT_LICENSE = \ + LGPL-2.1 or LGPL-3.0 or LicenseRef-KDE-Accepted-LGPL (library), \ + GPL-2.0 or GPL-3.0 or LicenseRef-KDE-Accepted-GPL (autotests, examples) +KF5_NETWORKMANAGER_QT_LICENSE_FILES = \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-3.0-only.txt \ + LICENSES/LGPL-2.1-only.txt \ + LICENSES/LGPL-3.0-only.txt \ + LICENSES/LicenseRef-KDE-Accepted-GPL.txt \ + LICENSES/LicenseRef-KDE-Accepted-LGPL.txt + +KF5_NETWORKMANAGER_QT_DEPENDENCIES = kf5-extra-cmake-modules network-manager qt5base +KF5_NETWORKMANAGER_QT_INSTALL_STAGING = YES + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/kf5/kf5.mk b/buildroot-2022.02.1/package/kf5/kf5.mk new file mode 100644 index 00000000..64b08bae --- /dev/null +++ b/buildroot-2022.02.1/package/kf5/kf5.mk @@ -0,0 +1,11 @@ +################################################################################ +# +# kf5 +# +################################################################################ + +KF5_VERSION_MAJOR = 5.91 +KF5_VERSION = $(KF5_VERSION_MAJOR).0 +KF5_SITE = https://download.kde.org/stable/frameworks/$(KF5_VERSION_MAJOR) + +include $(sort $(wildcard package/kf5/*/*.mk)) diff --git a/buildroot-2022.02.1/package/kismet/Config.in b/buildroot-2022.02.1/package/kismet/Config.in new file mode 100644 index 00000000..961d5f23 --- /dev/null +++ b/buildroot-2022.02.1/package/kismet/Config.in @@ -0,0 +1,76 @@ +comment "kismet needs a toolchain w/ threads, C++, gcc >= 5" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + +config BR2_PACKAGE_KISMET + bool "kismet" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # protobuf-c + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 + select BR2_PACKAGE_LIBPCAP + select BR2_PACKAGE_PROTOBUF_C + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_ZLIB + help + Kismet is a wireless network and device detector, sniffer, + wardriving tool, and WIDS (wireless intrusion detection) + framework. + + Kismet works with Wi-Fi interfaces, Bluetooth interfaces, some + SDR (software defined radio) hardware like the RTLSDR, and + other specialized capture hardware. + + http://www.kismetwireless.net + +if BR2_PACKAGE_KISMET + +config BR2_PACKAGE_KISMET_PYTHON_TOOLS + bool "Install python tools" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy + depends on BR2_PACKAGE_PYTHON3 + depends on !BR2_STATIC_LIBS # protobuf + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_PYTHON_NUMPY # runtime for RTLAMR and RTLADSB + select BR2_PACKAGE_PYTHON_PROTOBUF # runtime + select BR2_PACKAGE_PYTHON_SERIAL # runtime for Freaklabs Zigbee + select BR2_PACKAGE_PYTHON_SETUPTOOLS + help + Enable Python and Python-related tools (RTL_433, RTLAMR, + RTLADSB and Freaklabs Zigbee) + +comment "python tools needs python3" + depends on !BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + +comment "python tools needs a glibc or musl toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) + +config BR2_PACKAGE_KISMET_SERVER + bool "Install server" + default y + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_USE_WCHAR + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future + select BR2_PACKAGE_PROTOBUF + +comment "server needs a toolchain w/ dynamic library, wchar" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR + +comment "server needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +endif diff --git a/buildroot-2022.02.1/package/kismet/kismet.hash b/buildroot-2022.02.1/package/kismet/kismet.hash new file mode 100644 index 00000000..9a9d2260 --- /dev/null +++ b/buildroot-2022.02.1/package/kismet/kismet.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1c8e31b1babdb0fc93ac38fd0772a24d4b40f865fbc292fa8ec7f4a18ced0135 kismet-2021-08-R1.tar.xz +sha256 93c7f0d7e356b0abfb6f494ff3ea37f96abc84e9a5619b25d4e43f7553a55739 LICENSE diff --git a/buildroot-2022.02.1/package/kismet/kismet.mk b/buildroot-2022.02.1/package/kismet/kismet.mk new file mode 100644 index 00000000..819ed510 --- /dev/null +++ b/buildroot-2022.02.1/package/kismet/kismet.mk @@ -0,0 +1,94 @@ +################################################################################ +# +# kismet +# +################################################################################ + +KISMET_VERSION = 2021-08-R1 +KISMET_SOURCE = kismet-$(KISMET_VERSION).tar.xz +KISMET_SITE = http://www.kismetwireless.net/code +KISMET_DEPENDENCIES = \ + host-pkgconf \ + libpcap \ + $(if $(BR2_PACKAGE_LIBNL),libnl) \ + $(if $(BR2_PACKAGE_PROTOBUF),protobuf) \ + protobuf-c \ + sqlite \ + zlib +KISMET_LICENSE = GPL-2.0+ +KISMET_LICENSE_FILES = LICENSE +KISMET_SELINUX_MODULES = kismet + +KISMET_CONF_OPTS = --disable-debuglibs + +KISMET_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +KISMET_CXXFLAGS += -O0 +endif + +KISMET_CONF_ENV += CXXFLAGS="$(KISMET_CXXFLAGS)" + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KISMET_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +KISMET_DEPENDENCIES += libcap +KISMET_CONF_OPTS += --enable-libcap +else +KISMET_CONF_OPTS += --disable-libcap +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +KISMET_DEPENDENCIES += libusb +KISMET_CONF_OPTS += --enable-libusb +else +KISMET_CONF_OPTS += --disable-libusb +endif + +ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) +KISMET_DEPENDENCIES += libwebsockets +KISMET_CONF_OPTS += --enable-libwebsockets +else +KISMET_CONF_OPTS += --disable-libwebsockets +endif + +ifeq ($(BR2_PACKAGE_LM_SENSORS),y) +KISMET_DEPENDENCIES += lm-sensors +KISMET_CONF_OPTS += --enable-lmsensors +else +KISMET_CONF_OPTS += --disable-lmsensors +endif + +ifeq ($(BR2_PACKAGE_PCRE),y) +KISMET_DEPENDENCIES += pcre +KISMET_CONF_OPTS += --enable-pcre +else +KISMET_CONF_OPTS += --disable-pcre +endif + +ifeq ($(BR2_PACKAGE_KISMET_PYTHON_TOOLS),y) +KISMET_DEPENDENCIES += python3 python-setuptools +KISMET_CONF_OPTS += \ + --enable-python-tools \ + --with-python-interpreter=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) +else +KISMET_CONF_OPTS += --disable-python-tools +endif + +KISMET_INSTALL_TARGET_OPTS += \ + DESTDIR=$(TARGET_DIR) \ + INSTUSR=$(shell id -u) \ + INSTGRP=$(shell id -g) \ + SUIDGROUP=$(shell id -g) + +ifeq ($(BR2_PACKAGE_KISMET_SERVER),y) +KISMET_CONF_OPTS += --disable-capture-tools-only +KISMET_INSTALL_TARGET_OPTS += install +else +KISMET_CONF_OPTS += --enable-capture-tools-only +KISMET_INSTALL_TARGET_OPTS += binsuidinstall +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/kmod/0001-fix-O_CLOEXEC.patch b/buildroot-2022.02.1/package/kmod/0001-fix-O_CLOEXEC.patch similarity index 100% rename from buildroot-2021.05/package/kmod/0001-fix-O_CLOEXEC.patch rename to buildroot-2022.02.1/package/kmod/0001-fix-O_CLOEXEC.patch diff --git a/buildroot-2021.05/package/kmod/Config.in b/buildroot-2022.02.1/package/kmod/Config.in similarity index 100% rename from buildroot-2021.05/package/kmod/Config.in rename to buildroot-2022.02.1/package/kmod/Config.in diff --git a/buildroot-2021.05/package/kmod/Config.in.host b/buildroot-2022.02.1/package/kmod/Config.in.host similarity index 100% rename from buildroot-2021.05/package/kmod/Config.in.host rename to buildroot-2022.02.1/package/kmod/Config.in.host diff --git a/buildroot-2022.02.1/package/kmod/kmod.hash b/buildroot-2022.02.1/package/kmod/kmod.hash new file mode 100644 index 00000000..c68e41f1 --- /dev/null +++ b/buildroot-2022.02.1/package/kmod/kmod.hash @@ -0,0 +1,6 @@ +# From https://www.kernel.org/pub/linux/utils/kernel/kmod/sha256sums.asc +sha256 0b80eea7aa184ac6fd20cafa2a1fdf290ffecc70869a797079e2cc5c6225a52a kmod-29.tar.xz + +# Locally calculated +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 libkmod/COPYING +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2022.02.1/package/kmod/kmod.mk b/buildroot-2022.02.1/package/kmod/kmod.mk new file mode 100644 index 00000000..82e85977 --- /dev/null +++ b/buildroot-2022.02.1/package/kmod/kmod.mk @@ -0,0 +1,125 @@ +################################################################################ +# +# kmod +# +################################################################################ + +KMOD_VERSION = 29 +KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz +KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod +KMOD_INSTALL_STAGING = YES +KMOD_DEPENDENCIES = host-pkgconf +HOST_KMOD_DEPENDENCIES = host-pkgconf + +# license info for libkmod only, conditionally add more below +KMOD_LICENSE = LGPL-2.1+ (library) +KMOD_LICENSE_FILES = libkmod/COPYING + +KMOD_CPE_ID_VENDOR = kernel + +# --gc-sections triggers binutils ld segfault +# https://sourceware.org/bugzilla/show_bug.cgi?id=21180 +ifeq ($(BR2_microblaze),y) +KMOD_CONF_ENV += cc_cv_LDFLAGS__Wl___gc_sections=false +endif + +# static linking not supported, see +# https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8 +KMOD_CONF_OPTS = --disable-static --enable-shared + +KMOD_CONF_OPTS += --disable-manpages +HOST_KMOD_CONF_OPTS = --disable-manpages + +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +KMOD_CONF_OPTS += --with-bashcompletiondir=/usr/share/bash-completion/completions +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +KMOD_DEPENDENCIES += zlib +KMOD_CONF_OPTS += --with-zlib +else +KMOD_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +KMOD_DEPENDENCIES += zstd +KMOD_CONF_OPTS += --with-zstd +else +KMOD_CONF_OPTS += --without-zstd +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +KMOD_DEPENDENCIES += xz +KMOD_CONF_OPTS += --with-xz +else +KMOD_CONF_OPTS += --without-xz +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +KMOD_DEPENDENCIES += openssl +KMOD_CONF_OPTS += --with-openssl +else +KMOD_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +KMOD_DEPENDENCIES += python3 +KMOD_CONF_OPTS += --enable-python +endif + +ifeq ($(BR2_PACKAGE_KMOD_TOOLS),y) + +# add license info for kmod tools +KMOD_LICENSE += , GPL-2.0+ (tools) +KMOD_LICENSE_FILES += COPYING + +# /sbin is really /usr/sbin with merged /usr, so adjust relative symlink +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +KMOD_BIN_PATH = ../bin/kmod +else +KMOD_BIN_PATH = ../usr/bin/kmod +endif + +define KMOD_INSTALL_TOOLS + for i in depmod insmod lsmod modinfo modprobe rmmod; do \ + ln -sf $(KMOD_BIN_PATH) $(TARGET_DIR)/sbin/$$i; \ + done +endef + +KMOD_POST_INSTALL_TARGET_HOOKS += KMOD_INSTALL_TOOLS +else +KMOD_CONF_OPTS += --disable-tools +endif + +ifeq ($(BR2_PACKAGE_HOST_KMOD_GZ),y) +HOST_KMOD_DEPENDENCIES += host-zlib +HOST_KMOD_CONF_OPTS += --with-zlib +else +HOST_KMOD_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_HOST_KMOD_ZSTD),y) +HOST_KMOD_DEPENDENCIES += host-zstd +HOST_KMOD_CONF_OPTS += --with-zstd +else +HOST_KMOD_CONF_OPTS += --without-zstd +endif + +ifeq ($(BR2_PACKAGE_HOST_KMOD_XZ),y) +HOST_KMOD_DEPENDENCIES += host-xz +HOST_KMOD_CONF_OPTS += --with-xz +else +HOST_KMOD_CONF_OPTS += --without-xz +endif + +# We only install depmod, since that's the only tool used for the +# host. +define HOST_KMOD_INSTALL_TOOLS + mkdir -p $(HOST_DIR)/sbin/ + ln -sf ../bin/kmod $(HOST_DIR)/sbin/depmod +endef + +HOST_KMOD_POST_INSTALL_HOOKS += HOST_KMOD_INSTALL_TOOLS + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/kmscube/Config.in b/buildroot-2022.02.1/package/kmscube/Config.in new file mode 100644 index 00000000..73796756 --- /dev/null +++ b/buildroot-2022.02.1/package/kmscube/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_KMSCUBE + bool "kmscube" + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBGBM + depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT + depends on BR2_PACKAGE_HAS_LIBGLES + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm + select BR2_PACKAGE_LIBDRM + help + kmscube is an application to test kms/drm drivers. + + https://cgit.freedesktop.org/mesa/kmscube/ + +comment "kmscube needs EGL, GBM and OpenGL ES, and a toolchain w/ thread support" + depends on \ + !BR2_PACKAGE_HAS_LIBEGL || \ + !BR2_PACKAGE_HAS_LIBGBM || \ + !BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT || \ + !BR2_PACKAGE_HAS_LIBGLES || \ + !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/kmscube/kmscube.hash b/buildroot-2022.02.1/package/kmscube/kmscube.hash similarity index 100% rename from buildroot-2021.05/package/kmscube/kmscube.hash rename to buildroot-2022.02.1/package/kmscube/kmscube.hash diff --git a/buildroot-2022.02.1/package/kmscube/kmscube.mk b/buildroot-2022.02.1/package/kmscube/kmscube.mk new file mode 100644 index 00000000..fc9a7f6f --- /dev/null +++ b/buildroot-2022.02.1/package/kmscube/kmscube.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kmscube +# +################################################################################ + +KMSCUBE_VERSION = 4660a7dca6512b6e658759d00cff7d4ad2a2059d +KMSCUBE_SITE = https://gitlab.freedesktop.org/mesa/kmscube/-/archive/$(KMSCUBE_VERSION) +KMSCUBE_LICENSE = MIT +KMSCUBE_LICENSE_FILES = COPYING +KMSCUBE_DEPENDENCIES = host-pkgconf libdrm libegl libgbm libgles + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/kmsxx/Config.in b/buildroot-2022.02.1/package/kmsxx/Config.in similarity index 100% rename from buildroot-2021.05/package/kmsxx/Config.in rename to buildroot-2022.02.1/package/kmsxx/Config.in diff --git a/buildroot-2022.02.1/package/kmsxx/kmsxx.hash b/buildroot-2022.02.1/package/kmsxx/kmsxx.hash new file mode 100644 index 00000000..c141ef7e --- /dev/null +++ b/buildroot-2022.02.1/package/kmsxx/kmsxx.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 99759fe9334369ccd80ab0bbfe1110ee47e74f1e20abc2d7b2f028067ea0a0c3 kmsxx-824bbb1f4cd062d66b457faca50f904b34dfd96c.tar.gz +sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 LICENSE diff --git a/buildroot-2022.02.1/package/kmsxx/kmsxx.mk b/buildroot-2022.02.1/package/kmsxx/kmsxx.mk new file mode 100644 index 00000000..8ebdffaa --- /dev/null +++ b/buildroot-2022.02.1/package/kmsxx/kmsxx.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# kmsxx +# +################################################################################ + +KMSXX_VERSION = 824bbb1f4cd062d66b457faca50f904b34dfd96c +KMSXX_SITE = $(call github,tomba,kmsxx,$(KMSXX_VERSION)) +KMSXX_LICENSE = MPL-2.0 +KMSXX_LICENSE_FILES = LICENSE +KMSXX_INSTALL_STAGING = YES +KMSXX_DEPENDENCIES = fmt libdrm host-pkgconf +KMSXX_CONF_OPTS = \ + -Dkmscube=false \ + -Dpykms=disabled \ + -Domap=disabled \ + -Dsystem-pybind11=enabled + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +KMSXX_CXXFLAGS += $(TARGET_CXXFLAGS) -O0 +endif + +ifeq ($(BR2_PACKAGE_KMSXX_INSTALL_TESTS),y) +KMSXX_CONF_OPTS += -Dutils=true +# extra handling for some utils not installed by default +KMSXX_EXTRA_UTILS = kmsview kmscapture omap-wbcap omap-wbm2m +ifeq ($(BR2_PACKAGE_LIBEVDEV),y) +KMSXX_DEPENDENCIES += libevdev +KMSXX_EXTRA_UTILS += kmstouch +endif +define KMSXX_INSTALL_EXTRA_UTILS + $(foreach t,$(KMSXX_EXTRA_UTILS),\ + $(INSTALL) -D -m 0755 $(@D)/build/utils/$(t) \ + $(TARGET_DIR)/usr/bin/$(t) + ) +endef +KMSXX_POST_INSTALL_TARGET_HOOKS += KMSXX_INSTALL_EXTRA_UTILS +else +KMSXX_CONF_OPTS += -Dutils=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/knock/Config.in b/buildroot-2022.02.1/package/knock/Config.in new file mode 100644 index 00000000..5a4c00d9 --- /dev/null +++ b/buildroot-2022.02.1/package/knock/Config.in @@ -0,0 +1,23 @@ +config BR2_PACKAGE_KNOCK + bool "knock" + help + A port knocking implementation. + Provides a daemon and a user application. Port knocking can be + used to run an arbitrary application, once the daemon detects + a predefined sequence of incoming TCP/UDP packets on a network + interface. This can be used, e.g. to open up ports in a + firewall. + + http://www.zeroflux.org/projects/knock + +if BR2_PACKAGE_KNOCK + +config BR2_PACKAGE_KNOCK_KNOCKD + bool "knockd" + default y + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBPCAP + help + Enable knockd + +endif diff --git a/buildroot-2022.02.1/package/knock/knock.hash b/buildroot-2022.02.1/package/knock/knock.hash new file mode 100644 index 00000000..fb8d9aef --- /dev/null +++ b/buildroot-2022.02.1/package/knock/knock.hash @@ -0,0 +1,3 @@ +# locally computed hash +sha256 7a82c276ca1540faa7f5bb25010f4a59d45323a31c44a30fbe4a6e484dd18b1a knock-0.8.tar.gz +sha256 d747e19206e41702e40822dd91d37cbf40edd86f364ea416d667a0e3013f7189 COPYING diff --git a/buildroot-2022.02.1/package/knock/knock.mk b/buildroot-2022.02.1/package/knock/knock.mk new file mode 100644 index 00000000..de70f262 --- /dev/null +++ b/buildroot-2022.02.1/package/knock/knock.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# knock +# +################################################################################ + +KNOCK_VERSION = 0.8 +KNOCK_SITE = $(call github,jvinet,knock,v$(KNOCK_VERSION)) +KNOCK_AUTORECONF = YES +KNOCK_LICENSE = GPL-2.0+ +KNOCK_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_KNOCK_KNOCKD),y) +KNOCK_DEPENDENCIES += libpcap +KNOCK_CONF_OPTS += --enable-knockd +ifeq ($(BR2_STATIC_LIBS),y) +KNOCK_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" +endif +else +KNOCK_CONF_OPTS += --disable-knockd +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-modplug/Config.in b/buildroot-2022.02.1/package/kodi-audiodecoder-modplug/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audiodecoder-modplug/Config.in rename to buildroot-2022.02.1/package/kodi-audiodecoder-modplug/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash b/buildroot-2022.02.1/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash new file mode 100644 index 00000000..e2bfe099 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 6e1b1910e799ea8c5ab11428084feb8f6a0a9b1b0d4b5760033545fe765a59e9 kodi-audiodecoder-modplug-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk b/buildroot-2022.02.1/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk new file mode 100644 index 00000000..f5736e7d --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-modplug/kodi-audiodecoder-modplug.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audiodecoder-modplug +# +################################################################################ + +KODI_AUDIODECODER_MODPLUG_VERSION = 19.0.2-Matrix +KODI_AUDIODECODER_MODPLUG_SITE = $(call github,xbmc,audiodecoder.modplug,$(KODI_AUDIODECODER_MODPLUG_VERSION)) +KODI_AUDIODECODER_MODPLUG_LICENSE = GPL-2.0+ +KODI_AUDIODECODER_MODPLUG_LICENSE_FILES = LICENSE.md +KODI_AUDIODECODER_MODPLUG_DEPENDENCIES = kodi libmodplug + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-nosefart/Config.in b/buildroot-2022.02.1/package/kodi-audiodecoder-nosefart/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audiodecoder-nosefart/Config.in rename to buildroot-2022.02.1/package/kodi-audiodecoder-nosefart/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash b/buildroot-2022.02.1/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash new file mode 100644 index 00000000..9d1c9a2a --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 631b2abded62a34bf66a6769f7b1597a418057f64d79e54322f57090e53e63e7 kodi-audiodecoder-nosefart-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk b/buildroot-2022.02.1/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk new file mode 100644 index 00000000..fbf32703 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-nosefart/kodi-audiodecoder-nosefart.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audiodecoder-nosefart +# +################################################################################ + +KODI_AUDIODECODER_NOSEFART_VERSION = 19.0.2-Matrix +KODI_AUDIODECODER_NOSEFART_SITE = $(call github,xbmc,audiodecoder.nosefart,$(KODI_AUDIODECODER_NOSEFART_VERSION)) +KODI_AUDIODECODER_NOSEFART_LICENSE = GPL-2.0+ +KODI_AUDIODECODER_NOSEFART_LICENSE_FILES = LICENSE.md +KODI_AUDIODECODER_NOSEFART_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-sidplay/Config.in b/buildroot-2022.02.1/package/kodi-audiodecoder-sidplay/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audiodecoder-sidplay/Config.in rename to buildroot-2022.02.1/package/kodi-audiodecoder-sidplay/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash b/buildroot-2022.02.1/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash new file mode 100644 index 00000000..28999afb --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 a4fe4f0c48649222930c8c574156c5c3b2ad82fc97de2bdbd0c5e510402853ec kodi-audiodecoder-sidplay-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk b/buildroot-2022.02.1/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk new file mode 100644 index 00000000..173a2b10 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-sidplay/kodi-audiodecoder-sidplay.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audiodecoder-sidplay +# +################################################################################ + +KODI_AUDIODECODER_SIDPLAY_VERSION = 19.0.1-Matrix +KODI_AUDIODECODER_SIDPLAY_SITE = $(call github,xbmc,audiodecoder.sidplay,$(KODI_AUDIODECODER_SIDPLAY_VERSION)) +KODI_AUDIODECODER_SIDPLAY_LICENSE = GPL-2.0+ +KODI_AUDIODECODER_SIDPLAY_LICENSE_FILES = LICENSE.md +KODI_AUDIODECODER_SIDPLAY_DEPENDENCIES = host-pkgconf kodi libsidplay2 + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-snesapu/Config.in b/buildroot-2022.02.1/package/kodi-audiodecoder-snesapu/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audiodecoder-snesapu/Config.in rename to buildroot-2022.02.1/package/kodi-audiodecoder-snesapu/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash b/buildroot-2022.02.1/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash new file mode 100644 index 00000000..1a0227f4 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b7180132472b27e71bf9f30675c0af58330f3ad07d7065492d28f3e97117c341 kodi-audiodecoder-snesapu-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk b/buildroot-2022.02.1/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk new file mode 100644 index 00000000..ff988dff --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-snesapu/kodi-audiodecoder-snesapu.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audiodecoder-snesapu +# +################################################################################ + +KODI_AUDIODECODER_SNESAPU_VERSION = 19.0.2-Matrix +KODI_AUDIODECODER_SNESAPU_SITE = $(call github,xbmc,audiodecoder.snesapu,$(KODI_AUDIODECODER_SNESAPU_VERSION)) +KODI_AUDIODECODER_SNESAPU_LICENSE = GPL-2.0+ +KODI_AUDIODECODER_SNESAPU_LICENSE_FILES = LICENSE.md +KODI_AUDIODECODER_SNESAPU_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-stsound/Config.in b/buildroot-2022.02.1/package/kodi-audiodecoder-stsound/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audiodecoder-stsound/Config.in rename to buildroot-2022.02.1/package/kodi-audiodecoder-stsound/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash b/buildroot-2022.02.1/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash new file mode 100644 index 00000000..5f8d4564 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1c740e69047d93d34cfe8c574f923f8dd205adb997fb5d1444a55a6b9d9f0f75 kodi-audiodecoder-stsound-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk b/buildroot-2022.02.1/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk new file mode 100644 index 00000000..491be3a7 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-stsound/kodi-audiodecoder-stsound.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audiodecoder-stsound +# +################################################################################ + +KODI_AUDIODECODER_STSOUND_VERSION = 19.0.1-Matrix +KODI_AUDIODECODER_STSOUND_SITE = $(call github,xbmc,audiodecoder.stsound,$(KODI_AUDIODECODER_STSOUND_VERSION)) +KODI_AUDIODECODER_STSOUND_LICENSE = GPL-2.0+ +KODI_AUDIODECODER_STSOUND_LICENSE_FILES = LICENSE.md +KODI_AUDIODECODER_STSOUND_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-timidity/Config.in b/buildroot-2022.02.1/package/kodi-audiodecoder-timidity/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audiodecoder-timidity/Config.in rename to buildroot-2022.02.1/package/kodi-audiodecoder-timidity/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash b/buildroot-2022.02.1/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash new file mode 100644 index 00000000..b1131ff4 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 2d9aa6f00315d227a39cb67089c64671987fd9167766f37c28a91168cb8e230e kodi-audiodecoder-timidity-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk b/buildroot-2022.02.1/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk new file mode 100644 index 00000000..d10fd161 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-timidity/kodi-audiodecoder-timidity.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audiodecoder-timidity +# +################################################################################ + +KODI_AUDIODECODER_TIMIDITY_VERSION = 19.0.2-Matrix +KODI_AUDIODECODER_TIMIDITY_SITE = $(call github,xbmc,audiodecoder.timidity,$(KODI_AUDIODECODER_TIMIDITY_VERSION)) +KODI_AUDIODECODER_TIMIDITY_LICENSE = GPL-2.0+ +KODI_AUDIODECODER_TIMIDITY_LICENSE_FILES = LICENSE.md +KODI_AUDIODECODER_TIMIDITY_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audiodecoder-vgmstream/Config.in b/buildroot-2022.02.1/package/kodi-audiodecoder-vgmstream/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audiodecoder-vgmstream/Config.in rename to buildroot-2022.02.1/package/kodi-audiodecoder-vgmstream/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.hash b/buildroot-2022.02.1/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.hash new file mode 100644 index 00000000..152f1a6e --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 0e349225f35ce4bae3026c669b13c696cec2399ec34c0f7726527d19503e14d4 kodi-audiodecoder-vgmstream-19.0.0-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk b/buildroot-2022.02.1/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk new file mode 100644 index 00000000..15cfdcde --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audiodecoder-vgmstream/kodi-audiodecoder-vgmstream.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audiodecoder-vgmstream +# +################################################################################ + +KODI_AUDIODECODER_VGMSTREAM_VERSION = 19.0.0-Matrix +KODI_AUDIODECODER_VGMSTREAM_SITE = $(call github,xbmc,audiodecoder.vgmstream,$(KODI_AUDIODECODER_VGMSTREAM_VERSION)) +KODI_AUDIODECODER_VGMSTREAM_LICENSE = GPL-2.0+ +KODI_AUDIODECODER_VGMSTREAM_LICENSE_FILES = LICENSE.md +KODI_AUDIODECODER_VGMSTREAM_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audioencoder-flac/Config.in b/buildroot-2022.02.1/package/kodi-audioencoder-flac/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audioencoder-flac/Config.in rename to buildroot-2022.02.1/package/kodi-audioencoder-flac/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash b/buildroot-2022.02.1/package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash new file mode 100644 index 00000000..5784c258 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-flac/kodi-audioencoder-flac.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 fdc70c68b10e28469c8d20f5a0dcc1c24fdddda81afe98dd031bff58c8e184e8 kodi-audioencoder-flac-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk b/buildroot-2022.02.1/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk new file mode 100644 index 00000000..65d5ff4a --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-flac/kodi-audioencoder-flac.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audioencoder-flac +# +################################################################################ + +KODI_AUDIOENCODER_FLAC_VERSION = 19.0.1-Matrix +KODI_AUDIOENCODER_FLAC_SITE = $(call github,xbmc,audioencoder.flac,$(KODI_AUDIOENCODER_FLAC_VERSION)) +KODI_AUDIOENCODER_FLAC_LICENSE = GPL-2.0+ +KODI_AUDIOENCODER_FLAC_LICENSE_FILES = LICENSE.md +KODI_AUDIOENCODER_FLAC_DEPENDENCIES = flac kodi libogg host-pkgconf + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-lame/Config.in b/buildroot-2022.02.1/package/kodi-audioencoder-lame/Config.in new file mode 100644 index 00000000..b050ac6b --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-lame/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_KODI_AUDIOENCODER_LAME + bool "kodi-audioencoder-lame" + select BR2_PACKAGE_KODI_OPTICALDRIVE + select BR2_PACKAGE_LAME + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + An audioencoder addon for Kodi + + https://github.com/xbmc/audioencoder.lame diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash b/buildroot-2022.02.1/package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash new file mode 100644 index 00000000..a9cb12af --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-lame/kodi-audioencoder-lame.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 774e75b051b1872620a706aa5e6c8741708364ac8d9d849286c4a265dd1a22f7 kodi-audioencoder-lame-19.1.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk b/buildroot-2022.02.1/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk new file mode 100644 index 00000000..fbc74897 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-lame/kodi-audioencoder-lame.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# kodi-audioencoder-lame +# +################################################################################ + +KODI_AUDIOENCODER_LAME_VERSION = 19.1.2-Matrix +KODI_AUDIOENCODER_LAME_SITE = $(call github,xbmc,audioencoder.lame,$(KODI_AUDIOENCODER_LAME_VERSION)) +KODI_AUDIOENCODER_LAME_LICENSE = GPL-2.0+ +KODI_AUDIOENCODER_LAME_LICENSE_FILES = LICENSE.md +KODI_AUDIOENCODER_LAME_DEPENDENCIES = kodi lame +KODI_AUDIOENCODER_LAME_CONF_OPTS += \ + -DLAME_INCLUDE_DIRS=$(STAGING_DIR)/usr/include + +ifeq ($(BR2_ENABLE_LOCALE),) +KODI_AUDIOENCODER_LAME_DEPENDENCIES += libiconv +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audioencoder-vorbis/Config.in b/buildroot-2022.02.1/package/kodi-audioencoder-vorbis/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audioencoder-vorbis/Config.in rename to buildroot-2022.02.1/package/kodi-audioencoder-vorbis/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash b/buildroot-2022.02.1/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash new file mode 100644 index 00000000..02e976f2 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 26f5b3e60ec3d3e17ea81a009fc91886159335fb8eec56e874e357901c90deeb kodi-audioencoder-vorbis-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk b/buildroot-2022.02.1/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk new file mode 100644 index 00000000..66faba19 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-vorbis/kodi-audioencoder-vorbis.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audioencoder-vorbis +# +################################################################################ + +KODI_AUDIOENCODER_VORBIS_VERSION = 19.0.1-Matrix +KODI_AUDIOENCODER_VORBIS_SITE = $(call github,xbmc,audioencoder.vorbis,$(KODI_AUDIOENCODER_VORBIS_VERSION)) +KODI_AUDIOENCODER_VORBIS_LICENSE = GPL-2.0+ +KODI_AUDIOENCODER_VORBIS_LICENSE_FILES = LICENSE.md +KODI_AUDIOENCODER_VORBIS_DEPENDENCIES = kodi libogg libvorbis host-pkgconf + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-audioencoder-wav/Config.in b/buildroot-2022.02.1/package/kodi-audioencoder-wav/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-audioencoder-wav/Config.in rename to buildroot-2022.02.1/package/kodi-audioencoder-wav/Config.in diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash b/buildroot-2022.02.1/package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash new file mode 100644 index 00000000..f616d769 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-wav/kodi-audioencoder-wav.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 32069979efb02daaa79b8ce09e060eed73f3fa73a4614b6c67e50ee33f1b096f kodi-audioencoder-wav-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk b/buildroot-2022.02.1/package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk new file mode 100644 index 00000000..d8c7b1a6 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-audioencoder-wav/kodi-audioencoder-wav.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-audioencoder-wav +# +################################################################################ + +KODI_AUDIOENCODER_WAV_VERSION = 19.0.1-Matrix +KODI_AUDIOENCODER_WAV_SITE = $(call github,xbmc,audioencoder.wav,$(KODI_AUDIOENCODER_WAV_VERSION)) +KODI_AUDIOENCODER_WAV_LICENSE = GPL-2.0+ +KODI_AUDIOENCODER_WAV_LICENSE_FILES = LICENSE.md +KODI_AUDIOENCODER_WAV_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-inputstream-adaptive/Config.in b/buildroot-2022.02.1/package/kodi-inputstream-adaptive/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-inputstream-adaptive/Config.in rename to buildroot-2022.02.1/package/kodi-inputstream-adaptive/Config.in diff --git a/buildroot-2022.02.1/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash b/buildroot-2022.02.1/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash new file mode 100644 index 00000000..74aefe21 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1549422ac1386929dfc1a479898d6311440d1f8bfd1bc94e1fe5da9cc2db805c kodi-inputstream-adaptive-19.0.3-Matrix.tar.gz +sha256 89931c1fb1f3716694175763cf3221cfcd63d6935031cf6b4512d17ffe5d9860 LICENSE.GPL diff --git a/buildroot-2022.02.1/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk b/buildroot-2022.02.1/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk new file mode 100644 index 00000000..83ac8970 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-inputstream-adaptive/kodi-inputstream-adaptive.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-inputstream-adaptive +# +################################################################################ + +KODI_INPUTSTREAM_ADAPTIVE_VERSION = 19.0.3-Matrix +KODI_INPUTSTREAM_ADAPTIVE_SITE = $(call github,xbmc,inputstream.adaptive,$(KODI_INPUTSTREAM_ADAPTIVE_VERSION)) +KODI_INPUTSTREAM_ADAPTIVE_LICENSE = GPL-2.0+ +KODI_INPUTSTREAM_ADAPTIVE_LICENSE_FILES = LICENSE.GPL +KODI_INPUTSTREAM_ADAPTIVE_DEPENDENCIES = expat kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-inputstream-ffmpegdirect/Config.in b/buildroot-2022.02.1/package/kodi-inputstream-ffmpegdirect/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-inputstream-ffmpegdirect/Config.in rename to buildroot-2022.02.1/package/kodi-inputstream-ffmpegdirect/Config.in diff --git a/buildroot-2022.02.1/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash b/buildroot-2022.02.1/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash new file mode 100644 index 00000000..97385a51 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b676f5264df50f3cf990b270bbeb4a18bb082e99ff189d7b9a25fd67313a0382 kodi-inputstream-ffmpegdirect-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk b/buildroot-2022.02.1/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk new file mode 100644 index 00000000..bad6c6ac --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-inputstream-ffmpegdirect/kodi-inputstream-ffmpegdirect.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# kodi-inputstream-ffmpegdirect +# +################################################################################ + +KODI_INPUTSTREAM_FFMPEGDIRECT_VERSION = 19.0.1-Matrix +KODI_INPUTSTREAM_FFMPEGDIRECT_SITE = $(call github,xbmc,inputstream.ffmpegdirect,$(KODI_INPUTSTREAM_FFMPEGDIRECT_VERSION)) +KODI_INPUTSTREAM_FFMPEGDIRECT_LICENSE = GPL-2.0+ +KODI_INPUTSTREAM_FFMPEGDIRECT_LICENSE_FILES = LICENSE.md +KODI_INPUTSTREAM_FFMPEGDIRECT_DEPENDENCIES = bzip2 ffmpeg kodi +KODI_INPUTSTREAM_FFMPEGDIRECT_CONF_OPTS = \ + -DFFMPEG_PATH=$(STAGING_DIR)/usr + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-inputstream-rtmp/Config.in b/buildroot-2022.02.1/package/kodi-inputstream-rtmp/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-inputstream-rtmp/Config.in rename to buildroot-2022.02.1/package/kodi-inputstream-rtmp/Config.in diff --git a/buildroot-2022.02.1/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash b/buildroot-2022.02.1/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash new file mode 100644 index 00000000..62a1c261 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 8ed3db36f9ef667295fbce8fb2be6f032039e3d0e18e34677ed17de11be8a6e8 kodi-inputstream-rtmp-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk b/buildroot-2022.02.1/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk new file mode 100644 index 00000000..b719a6ab --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-inputstream-rtmp/kodi-inputstream-rtmp.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-inputstream-rtmp +# +################################################################################ + +KODI_INPUTSTREAM_RTMP_VERSION = 19.0.1-Matrix +KODI_INPUTSTREAM_RTMP_SITE = $(call github,xbmc,inputstream.rtmp,$(KODI_INPUTSTREAM_RTMP_VERSION)) +KODI_INPUTSTREAM_RTMP_LICENSE = GPL-2.0+ +KODI_INPUTSTREAM_RTMP_LICENSE_FILES = LICENSE.md +KODI_INPUTSTREAM_RTMP_DEPENDENCIES = kodi openssl rtmpdump zlib + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.hash b/buildroot-2022.02.1/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.hash similarity index 100% rename from buildroot-2021.05/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.hash rename to buildroot-2022.02.1/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.hash diff --git a/buildroot-2022.02.1/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk b/buildroot-2022.02.1/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk new file mode 100644 index 00000000..81fc2bb9 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-jsonschemabuilder/kodi-jsonschemabuilder.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# kodi-jsonschemabuilder +# +################################################################################ + +# Not possible to directly refer to kodi variables, because of +# first/second expansion trickery... +KODI_JSONSCHEMABUILDER_VERSION = 19.3-Matrix +KODI_JSONSCHEMABUILDER_SITE = $(call github,xbmc,xbmc,$(KODI_JSONSCHEMABUILDER_VERSION)) +KODI_JSONSCHEMABUILDER_SOURCE = kodi-$(KODI_JSONSCHEMABUILDER_VERSION).tar.gz +KODI_JSONSCHEMABUILDER_DL_SUBDIR = kodi +KODI_JSONSCHEMABUILDER_LICENSE = GPL-2.0 +KODI_JSONSCHEMABUILDER_LICENSE_FILES = LICENSE.md +HOST_KODI_JSONSCHEMABUILDER_SUBDIR = tools/depends/native/JsonSchemaBuilder + +HOST_KODI_JSONSCHEMABUILDER_CONF_OPTS = \ + -DCMAKE_MODULE_PATH=$(@D)/project/cmake/modules + +define HOST_KODI_JSONSCHEMABUILDER_INSTALL_CMDS + $(INSTALL) -m 755 -D \ + $(@D)/tools/depends/native/JsonSchemaBuilder/JsonSchemaBuilder \ + $(HOST_DIR)/bin/JsonSchemaBuilder +endef + +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/kodi-peripheral-joystick/Config.in b/buildroot-2022.02.1/package/kodi-peripheral-joystick/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-peripheral-joystick/Config.in rename to buildroot-2022.02.1/package/kodi-peripheral-joystick/Config.in diff --git a/buildroot-2022.02.1/package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash b/buildroot-2022.02.1/package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash new file mode 100644 index 00000000..c43d5d86 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-peripheral-joystick/kodi-peripheral-joystick.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 65efcfb8b0ed6595082d8d7298ec25b5c31d0189bb8e09ae1bc10989b9655204 kodi-peripheral-joystick-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk b/buildroot-2022.02.1/package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk new file mode 100644 index 00000000..b8235507 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-peripheral-joystick/kodi-peripheral-joystick.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-peripheral-joystick +# +################################################################################ + +KODI_PERIPHERAL_JOYSTICK_VERSION = 19.0.1-Matrix +KODI_PERIPHERAL_JOYSTICK_SITE = $(call github,xbmc,peripheral.joystick,$(KODI_PERIPHERAL_JOYSTICK_VERSION)) +KODI_PERIPHERAL_JOYSTICK_LICENSE = GPL-2.0+ +KODI_PERIPHERAL_JOYSTICK_LICENSE_FILES = LICENSE.md +KODI_PERIPHERAL_JOYSTICK_DEPENDENCIES = kodi tinyxml udev + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-peripheral-xarcade/Config.in b/buildroot-2022.02.1/package/kodi-peripheral-xarcade/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-peripheral-xarcade/Config.in rename to buildroot-2022.02.1/package/kodi-peripheral-xarcade/Config.in diff --git a/buildroot-2022.02.1/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash b/buildroot-2022.02.1/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash new file mode 100644 index 00000000..5cb774fe --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 27f592e07c788067c97f7bbcac8a2c6803954730e6f0f66f2047a1d939e6648d kodi-peripheral-xarcade-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk b/buildroot-2022.02.1/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk new file mode 100644 index 00000000..fd8b1af3 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-peripheral-xarcade/kodi-peripheral-xarcade.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-peripheral-xarcade +# +################################################################################ + +KODI_PERIPHERAL_XARCADE_VERSION = 19.0.1-Matrix +KODI_PERIPHERAL_XARCADE_SITE = $(call github,kodi-game,peripheral.xarcade,$(KODI_PERIPHERAL_XARCADE_VERSION)) +KODI_PERIPHERAL_XARCADE_LICENSE = GPL-2.0+ +KODI_PERIPHERAL_XARCADE_LICENSE_FILES = LICENSE.md +KODI_PERIPHERAL_XARCADE_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-argustv/Config.in b/buildroot-2022.02.1/package/kodi-pvr-argustv/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-argustv/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-argustv/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-argustv/kodi-pvr-argustv.hash b/buildroot-2022.02.1/package/kodi-pvr-argustv/kodi-pvr-argustv.hash new file mode 100644 index 00000000..33de7d6c --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-argustv/kodi-pvr-argustv.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 027e49b56c03d182fbf69ce71a84270dddb06e537814cd9ea209d4baca8d16fe kodi-pvr-argustv-19.2.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-argustv/kodi-pvr-argustv.mk b/buildroot-2022.02.1/package/kodi-pvr-argustv/kodi-pvr-argustv.mk new file mode 100644 index 00000000..90d0a530 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-argustv/kodi-pvr-argustv.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-argustv +# +################################################################################ + +KODI_PVR_ARGUSTV_VERSION = 19.2.1-Matrix +KODI_PVR_ARGUSTV_SITE = $(call github,kodi-pvr,pvr.argustv,$(KODI_PVR_ARGUSTV_VERSION)) +KODI_PVR_ARGUSTV_LICENSE = GPL-2.0+ +KODI_PVR_ARGUSTV_LICENSE_FILES = LICENSE.md +KODI_PVR_ARGUSTV_DEPENDENCIES = jsoncpp kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-dvblink/Config.in b/buildroot-2022.02.1/package/kodi-pvr-dvblink/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-dvblink/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-dvblink/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash b/buildroot-2022.02.1/package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash new file mode 100644 index 00000000..de429ebf --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-dvblink/kodi-pvr-dvblink.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 77f425d3521332e06ff758cfd1c63eb26f73990391ddb04f0ea6f9f3f0d114cf kodi-pvr-dvblink-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk b/buildroot-2022.02.1/package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk new file mode 100644 index 00000000..e58711cb --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-dvblink +# +################################################################################ + +KODI_PVR_DVBLINK_VERSION = 19.0.1-Matrix +KODI_PVR_DVBLINK_SITE = $(call github,kodi-pvr,pvr.dvblink,$(KODI_PVR_DVBLINK_VERSION)) +KODI_PVR_DVBLINK_LICENSE = GPL-2.0+ +KODI_PVR_DVBLINK_LICENSE_FILES = LICENSE.md +KODI_PVR_DVBLINK_DEPENDENCIES = kodi tinyxml2 + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-dvbviewer/Config.in b/buildroot-2022.02.1/package/kodi-pvr-dvbviewer/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-dvbviewer/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-dvbviewer/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash b/buildroot-2022.02.1/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash new file mode 100644 index 00000000..d6a3e1c2 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 5a6d6ff8ee87f37e2a6580b2a880a2ede635a4d9615962996831362150a5a20e kodi-pvr-dvbviewer-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk b/buildroot-2022.02.1/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk new file mode 100644 index 00000000..db7884fc --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-dvbviewer +# +################################################################################ + +KODI_PVR_DVBVIEWER_VERSION = 19.0.2-Matrix +KODI_PVR_DVBVIEWER_SITE = $(call github,kodi-pvr,pvr.dvbviewer,$(KODI_PVR_DVBVIEWER_VERSION)) +KODI_PVR_DVBVIEWER_LICENSE = GPL-2.0+ +KODI_PVR_DVBVIEWER_LICENSE_FILES = LICENSE.md +KODI_PVR_DVBVIEWER_DEPENDENCIES = kodi tinyxml + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-filmon/Config.in b/buildroot-2022.02.1/package/kodi-pvr-filmon/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-filmon/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-filmon/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-filmon/kodi-pvr-filmon.hash b/buildroot-2022.02.1/package/kodi-pvr-filmon/kodi-pvr-filmon.hash new file mode 100644 index 00000000..ce6fb8f3 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-filmon/kodi-pvr-filmon.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 5853a69455847da87ed0aebad4121f47c7a1aeb80cda6dbe20f069d33a02720b kodi-pvr-filmon-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-filmon/kodi-pvr-filmon.mk b/buildroot-2022.02.1/package/kodi-pvr-filmon/kodi-pvr-filmon.mk new file mode 100644 index 00000000..c5705670 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-filmon/kodi-pvr-filmon.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-filmon +# +################################################################################ + +KODI_PVR_FILMON_VERSION = 19.0.1-Matrix +KODI_PVR_FILMON_SITE = $(call github,kodi-pvr,pvr.filmon,$(KODI_PVR_FILMON_VERSION)) +KODI_PVR_FILMON_LICENSE = GPL-2.0+ +KODI_PVR_FILMON_LICENSE_FILES = LICENSE.md +KODI_PVR_FILMON_DEPENDENCIES = jsoncpp kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-hdhomerun/Config.in b/buildroot-2022.02.1/package/kodi-pvr-hdhomerun/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-hdhomerun/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-hdhomerun/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.hash b/buildroot-2022.02.1/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.hash new file mode 100644 index 00000000..4c866b59 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 6a5e5135b176d9aeba35e16fb6ce48ce7323c53960457597e25c2962b126cca2 kodi-pvr-hdhomerun-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk b/buildroot-2022.02.1/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk new file mode 100644 index 00000000..5c6829ce --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-hdhomerun +# +################################################################################ + +KODI_PVR_HDHOMERUN_VERSION = 19.0.2-Matrix +KODI_PVR_HDHOMERUN_SITE = $(call github,kodi-pvr,pvr.hdhomerun,$(KODI_PVR_HDHOMERUN_VERSION)) +KODI_PVR_HDHOMERUN_LICENSE = GPL-2.0+ +KODI_PVR_HDHOMERUN_LICENSE_FILES = LICENSE.md +KODI_PVR_HDHOMERUN_DEPENDENCIES = jsoncpp kodi libhdhomerun + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-hts/Config.in b/buildroot-2022.02.1/package/kodi-pvr-hts/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-hts/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-hts/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-hts/kodi-pvr-hts.hash b/buildroot-2022.02.1/package/kodi-pvr-hts/kodi-pvr-hts.hash new file mode 100644 index 00000000..40cd8fd6 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-hts/kodi-pvr-hts.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 990e5fd0757d48b86675aa124b77629e7fb2de6b27dcfd6f6ccc7ce181d04aeb kodi-pvr-hts-19.0.6-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-hts/kodi-pvr-hts.mk b/buildroot-2022.02.1/package/kodi-pvr-hts/kodi-pvr-hts.mk new file mode 100644 index 00000000..caa90b7a --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-hts/kodi-pvr-hts.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-hts +# +################################################################################ + +KODI_PVR_HTS_VERSION = 19.0.6-Matrix +KODI_PVR_HTS_SITE = $(call github,kodi-pvr,pvr.hts,$(KODI_PVR_HTS_VERSION)) +KODI_PVR_HTS_LICENSE = GPL-2.0+ +KODI_PVR_HTS_LICENSE_FILES = LICENSE.md +KODI_PVR_HTS_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-iptvsimple/Config.in b/buildroot-2022.02.1/package/kodi-pvr-iptvsimple/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-iptvsimple/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-iptvsimple/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash b/buildroot-2022.02.1/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash new file mode 100644 index 00000000..6ace3a58 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 c92736b3f3c96fe36d7b20b329c82b47180260e3ed40fc456ef709572fad5fb0 kodi-pvr-iptvsimple-19.1.0-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk b/buildroot-2022.02.1/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk new file mode 100644 index 00000000..eedb0fb8 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-iptvsimple/kodi-pvr-iptvsimple.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-iptvsimple +# +################################################################################ + +KODI_PVR_IPTVSIMPLE_VERSION = 19.1.0-Matrix +KODI_PVR_IPTVSIMPLE_SITE = $(call github,kodi-pvr,pvr.iptvsimple,$(KODI_PVR_IPTVSIMPLE_VERSION)) +KODI_PVR_IPTVSIMPLE_LICENSE = GPL-2.0+ +KODI_PVR_IPTVSIMPLE_LICENSE_FILES = LICENSE.md +KODI_PVR_IPTVSIMPLE_DEPENDENCIES = kodi pugixml xz zlib + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/Config.in b/buildroot-2022.02.1/package/kodi-pvr-mediaportal-tvserver/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-mediaportal-tvserver/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-mediaportal-tvserver/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.hash b/buildroot-2022.02.1/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.hash new file mode 100644 index 00000000..9f4bd973 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 3e0ba7a111ee0f93b64d0a0cb640569b13e429b1c47c88ac737389083054d732 kodi-pvr-mediaportal-tvserver-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk b/buildroot-2022.02.1/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk new file mode 100644 index 00000000..1db0dca6 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-mediaportal-tvserver/kodi-pvr-mediaportal-tvserver.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-mediaportal-tvserver +# +################################################################################ + +KODI_PVR_MEDIAPORTAL_TVSERVER_VERSION = 19.0.2-Matrix +KODI_PVR_MEDIAPORTAL_TVSERVER_SITE = $(call github,kodi-pvr,pvr.mediaportal.tvserver,$(KODI_PVR_MEDIAPORTAL_TVSERVER_VERSION)) +KODI_PVR_MEDIAPORTAL_TVSERVER_LICENSE = GPL-2.0+ +KODI_PVR_MEDIAPORTAL_TVSERVER_LICENSE_FILES = LICENSE.md +KODI_PVR_MEDIAPORTAL_TVSERVER_DEPENDENCIES = kodi tinyxml + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-mythtv/Config.in b/buildroot-2022.02.1/package/kodi-pvr-mythtv/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-mythtv/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-mythtv/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash b/buildroot-2022.02.1/package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash new file mode 100644 index 00000000..15596333 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 ccb97573c308c99adccdedf8328133c02d48c11620b602a906cf25107602dba5 kodi-pvr-mythtv-19.0.7-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk b/buildroot-2022.02.1/package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk new file mode 100644 index 00000000..3040f87e --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-mythtv +# +################################################################################ + +KODI_PVR_MYTHTV_VERSION = 19.0.7-Matrix +KODI_PVR_MYTHTV_SITE = $(call github,janbar,pvr.mythtv,$(KODI_PVR_MYTHTV_VERSION)) +KODI_PVR_MYTHTV_LICENSE = GPL-2.0+ +KODI_PVR_MYTHTV_LICENSE_FILES = LICENSE.md +KODI_PVR_MYTHTV_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-nextpvr/Config.in b/buildroot-2022.02.1/package/kodi-pvr-nextpvr/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-nextpvr/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-nextpvr/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash b/buildroot-2022.02.1/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash new file mode 100644 index 00000000..df137329 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 f9a03f7e61ae69096b149184a1ababa2d98cf2486688022e7b63823047c04496 kodi-pvr-nextpvr-19.0.3-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk b/buildroot-2022.02.1/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk new file mode 100644 index 00000000..c245a7e0 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-nextpvr +# +################################################################################ + +KODI_PVR_NEXTPVR_VERSION = 19.0.3-Matrix +KODI_PVR_NEXTPVR_SITE = $(call github,kodi-pvr,pvr.nextpvr,$(KODI_PVR_NEXTPVR_VERSION)) +KODI_PVR_NEXTPVR_LICENSE = GPL-2.0+ +KODI_PVR_NEXTPVR_LICENSE_FILES = LICENSE.md +KODI_PVR_NEXTPVR_DEPENDENCIES = kodi tinyxml2 + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-njoy/Config.in b/buildroot-2022.02.1/package/kodi-pvr-njoy/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-njoy/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-njoy/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-njoy/kodi-pvr-njoy.hash b/buildroot-2022.02.1/package/kodi-pvr-njoy/kodi-pvr-njoy.hash new file mode 100644 index 00000000..ec78e7c8 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-njoy/kodi-pvr-njoy.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 e5a6d31d1a74d8c053919f1c3c73eb9ada1e799d99f61dca171c3d8f0afa0a03 kodi-pvr-njoy-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-njoy/kodi-pvr-njoy.mk b/buildroot-2022.02.1/package/kodi-pvr-njoy/kodi-pvr-njoy.mk new file mode 100644 index 00000000..4808974c --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-njoy/kodi-pvr-njoy.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-njoy +# +################################################################################ + +KODI_PVR_NJOY_VERSION = 19.0.1-Matrix +KODI_PVR_NJOY_SITE = $(call github,kodi-pvr,pvr.njoy,$(KODI_PVR_NJOY_VERSION)) +KODI_PVR_NJOY_LICENSE = GPL-2.0+ +KODI_PVR_NJOY_LICENSE_FILES = LICENSE.md +KODI_PVR_NJOY_DEPENDENCIES = kodi tinyxml + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/kodi-pvr-octonet/Config.in b/buildroot-2022.02.1/package/kodi-pvr-octonet/Config.in new file mode 100644 index 00000000..7b46cccb --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-octonet/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_KODI_PVR_OCTONET + bool "kodi-pvr-octonet" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # jsoncpp + select BR2_PACKAGE_JSONCPP + help + DigitalDevices Octonet PVR client addon for Kodi + + https://github.com/DigitalDevices/pvr.octonet + +comment "kodi-pvr-octonet needs a toolchain w/ gcc >= 4.7" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 diff --git a/buildroot-2022.02.1/package/kodi-pvr-octonet/kodi-pvr-octonet.hash b/buildroot-2022.02.1/package/kodi-pvr-octonet/kodi-pvr-octonet.hash new file mode 100644 index 00000000..1dc9636e --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-octonet/kodi-pvr-octonet.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 7b95a4f1d7381ebee1c9be9fca582bb0b70144271a47223ba06fc046ea595aaa kodi-pvr-octonet-19.0.0-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-octonet/kodi-pvr-octonet.mk b/buildroot-2022.02.1/package/kodi-pvr-octonet/kodi-pvr-octonet.mk new file mode 100644 index 00000000..e2699bc4 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-octonet/kodi-pvr-octonet.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-octonet +# +################################################################################ + +KODI_PVR_OCTONET_VERSION = 19.0.0-Matrix +KODI_PVR_OCTONET_SITE = $(call github,DigitalDevices,pvr.octonet,$(KODI_PVR_OCTONET_VERSION)) +KODI_PVR_OCTONET_LICENSE = GPL-2.0+ +KODI_PVR_OCTONET_LICENSE_FILES = LICENSE.md +KODI_PVR_OCTONET_DEPENDENCIES = jsoncpp kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-pctv/Config.in b/buildroot-2022.02.1/package/kodi-pvr-pctv/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-pctv/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-pctv/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-pctv/kodi-pvr-pctv.hash b/buildroot-2022.02.1/package/kodi-pvr-pctv/kodi-pvr-pctv.hash new file mode 100644 index 00000000..04919af7 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-pctv/kodi-pvr-pctv.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 cd267a5b9e98b3b1b1c00feac16e2a07962641cbe53ff4c05ccb72acd925e3f8 kodi-pvr-pctv-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-pctv/kodi-pvr-pctv.mk b/buildroot-2022.02.1/package/kodi-pvr-pctv/kodi-pvr-pctv.mk new file mode 100644 index 00000000..6f8dca4b --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-pctv/kodi-pvr-pctv.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-pctv +# +################################################################################ + +KODI_PVR_PCTV_VERSION = 19.0.1-Matrix +KODI_PVR_PCTV_SITE = $(call github,kodi-pvr,pvr.pctv,$(KODI_PVR_PCTV_VERSION)) +KODI_PVR_PCTV_LICENSE = GPL-2.0+ +KODI_PVR_PCTV_LICENSE_FILES = LICENSE.md +KODI_PVR_PCTV_DEPENDENCIES = jsoncpp kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/kodi-pvr-plutotv/Config.in b/buildroot-2022.02.1/package/kodi-pvr-plutotv/Config.in new file mode 100644 index 00000000..37441283 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-plutotv/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_KODI_PVR_PLUTOTV + bool "kodi-pvr-plutotv" + select BR2_PACKAGE_RAPIDJSON + help + Pluto.tv PVR Client for Kodi + + https://github.com/kodi-pvr/pvr.plutotv diff --git a/buildroot-2022.02.1/package/kodi-pvr-plutotv/kodi-pvr-plutotv.hash b/buildroot-2022.02.1/package/kodi-pvr-plutotv/kodi-pvr-plutotv.hash new file mode 100644 index 00000000..4673bbbf --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-plutotv/kodi-pvr-plutotv.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 79e753d7329a4e61e56618c0e821cdd5dccb81c3659838a9de2df407a5bd7c10 kodi-pvr-plutotv-19.0.3-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-plutotv/kodi-pvr-plutotv.mk b/buildroot-2022.02.1/package/kodi-pvr-plutotv/kodi-pvr-plutotv.mk new file mode 100644 index 00000000..a9ac03a0 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-plutotv/kodi-pvr-plutotv.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-plutotv +# +################################################################################ + +KODI_PVR_PLUTOTV_VERSION = 19.0.3-Matrix +KODI_PVR_PLUTOTV_SITE = $(call github,kodi-pvr,pvr.plutotv,$(KODI_PVR_PLUTOTV_VERSION)) +KODI_PVR_PLUTOTV_LICENSE = GPL-2.0+ +KODI_PVR_PLUTOTV_LICENSE_FILES = LICENSE.md +KODI_PVR_PLUTOTV_DEPENDENCIES = kodi rapidjson + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-stalker/Config.in b/buildroot-2022.02.1/package/kodi-pvr-stalker/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-stalker/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-stalker/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-stalker/kodi-pvr-stalker.hash b/buildroot-2022.02.1/package/kodi-pvr-stalker/kodi-pvr-stalker.hash new file mode 100644 index 00000000..2eae79d3 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-stalker/kodi-pvr-stalker.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 ca472c4f43f77d7badca3fbe174f5877e6b3ff63407da09f690d8146ec737b59 kodi-pvr-stalker-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-stalker/kodi-pvr-stalker.mk b/buildroot-2022.02.1/package/kodi-pvr-stalker/kodi-pvr-stalker.mk new file mode 100644 index 00000000..efa293a4 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-stalker/kodi-pvr-stalker.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-stalker +# +################################################################################ + +KODI_PVR_STALKER_VERSION = 19.0.2-Matrix +KODI_PVR_STALKER_SITE = $(call github,kodi-pvr,pvr.stalker,$(KODI_PVR_STALKER_VERSION)) +KODI_PVR_STALKER_LICENSE = GPL-2.0+ +KODI_PVR_STALKER_LICENSE_FILES = LICENSE.md +KODI_PVR_STALKER_DEPENDENCIES = jsoncpp kodi libxml2 + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-vbox/Config.in b/buildroot-2022.02.1/package/kodi-pvr-vbox/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-vbox/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-vbox/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-vbox/kodi-pvr-vbox.hash b/buildroot-2022.02.1/package/kodi-pvr-vbox/kodi-pvr-vbox.hash new file mode 100644 index 00000000..ce3397fa --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-vbox/kodi-pvr-vbox.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 a87926702c51e52043e595ceae530a9101761cc15e8e3cadec85ac8cc9ba8f2b kodi-pvr-vbox-19.0.0-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-vbox/kodi-pvr-vbox.mk b/buildroot-2022.02.1/package/kodi-pvr-vbox/kodi-pvr-vbox.mk new file mode 100644 index 00000000..fd83ffef --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-vbox/kodi-pvr-vbox.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-vbox +# +################################################################################ + +KODI_PVR_VBOX_VERSION = 19.0.0-Matrix +KODI_PVR_VBOX_SITE = $(call github,kodi-pvr,pvr.vbox,$(KODI_PVR_VBOX_VERSION)) +KODI_PVR_VBOX_LICENSE = GPL-2.0+ +KODI_PVR_VBOX_LICENSE_FILES = LICENSE.md +KODI_PVR_VBOX_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-vdr-vnsi/Config.in b/buildroot-2022.02.1/package/kodi-pvr-vdr-vnsi/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-vdr-vnsi/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-vdr-vnsi/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash b/buildroot-2022.02.1/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash new file mode 100644 index 00000000..e3dc5585 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 317442cdfd333f47dfe95d05057a682340dd5ba53efc8894e892ee565b8aaece kodi-pvr-vdr-vnsi-19.0.3-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk b/buildroot-2022.02.1/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk new file mode 100644 index 00000000..f0d61d9d --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-vdr-vnsi +# +################################################################################ + +KODI_PVR_VDR_VNSI_VERSION = 19.0.3-Matrix +KODI_PVR_VDR_VNSI_SITE = $(call github,kodi-pvr,pvr.vdr.vnsi,$(KODI_PVR_VDR_VNSI_VERSION)) +KODI_PVR_VDR_VNSI_LICENSE = GPL-2.0+ +KODI_PVR_VDR_VNSI_LICENSE_FILES = LICENSE.md +KODI_PVR_VDR_VNSI_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-vuplus/Config.in b/buildroot-2022.02.1/package/kodi-pvr-vuplus/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-vuplus/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-vuplus/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash b/buildroot-2022.02.1/package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash new file mode 100644 index 00000000..92ccd0cb --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 59e8b63e3b5a6dd4500fd2c1426e021b5b243909d326e173e84804618a6c2fc6 kodi-pvr-vuplus-19.0.0-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk b/buildroot-2022.02.1/package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk new file mode 100644 index 00000000..6a50ce70 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-vuplus +# +################################################################################ + +KODI_PVR_VUPLUS_VERSION = 19.0.0-Matrix +KODI_PVR_VUPLUS_SITE = $(call github,kodi-pvr,pvr.vuplus,$(KODI_PVR_VUPLUS_VERSION)) +KODI_PVR_VUPLUS_LICENSE = GPL-2.0+ +KODI_PVR_VUPLUS_LICENSE_FILES = LICENSE.md +KODI_PVR_VUPLUS_DEPENDENCIES = json-for-modern-cpp kodi tinyxml + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/kodi-pvr-waipu/Config.in b/buildroot-2022.02.1/package/kodi-pvr-waipu/Config.in new file mode 100644 index 00000000..ee0cc2bd --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-waipu/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_KODI_PVR_WAIPU + bool "kodi-pvr-waipu" + select BR2_PACKAGE_RAPIDJSON + help + Waipu.tv PVR Plugin for Kodi + + https://github.com/flubshi/pvr.waipu diff --git a/buildroot-2022.02.1/package/kodi-pvr-waipu/kodi-pvr-waipu.hash b/buildroot-2022.02.1/package/kodi-pvr-waipu/kodi-pvr-waipu.hash new file mode 100644 index 00000000..9411453b --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-waipu/kodi-pvr-waipu.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 ab4995ed32910ced6004da800ca05fe5bf2d1882277e835eb64343806cfe217d kodi-pvr-waipu-19.1.1-Matrix.tar.gz +sha256 4202d4fb329f58c83ba921b56d7071e37f7df3f15b3820a3a04ef8eee49f54d2 pvr.waipu/LICENSE.txt diff --git a/buildroot-2022.02.1/package/kodi-pvr-waipu/kodi-pvr-waipu.mk b/buildroot-2022.02.1/package/kodi-pvr-waipu/kodi-pvr-waipu.mk new file mode 100644 index 00000000..ffe9e31e --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-waipu/kodi-pvr-waipu.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-waipu +# +################################################################################ + +KODI_PVR_WAIPU_VERSION = 19.1.1-Matrix +KODI_PVR_WAIPU_SITE = $(call github,flubshi,pvr.waipu,$(KODI_PVR_WAIPU_VERSION)) +KODI_PVR_WAIPU_LICENSE = GPL-2.0+ +KODI_PVR_WAIPU_LICENSE_FILES = pvr.waipu/LICENSE.txt +KODI_PVR_WAIPU_DEPENDENCIES = kodi rapidjson + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-wmc/Config.in b/buildroot-2022.02.1/package/kodi-pvr-wmc/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-wmc/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-wmc/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-wmc/kodi-pvr-wmc.hash b/buildroot-2022.02.1/package/kodi-pvr-wmc/kodi-pvr-wmc.hash new file mode 100644 index 00000000..4a04c07a --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-wmc/kodi-pvr-wmc.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 d5addd39f64f97beb6e14090561583de47f0acdc70bedb39b3037613430cc71a kodi-pvr-wmc-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-wmc/kodi-pvr-wmc.mk b/buildroot-2022.02.1/package/kodi-pvr-wmc/kodi-pvr-wmc.mk new file mode 100644 index 00000000..3bf21b34 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-wmc/kodi-pvr-wmc.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-wmc +# +################################################################################ + +KODI_PVR_WMC_VERSION = 19.0.2-Matrix +KODI_PVR_WMC_SITE = $(call github,kodi-pvr,pvr.wmc,$(KODI_PVR_WMC_VERSION)) +KODI_PVR_WMC_LICENSE = GPL-2.0+ +KODI_PVR_WMC_LICENSE_FILES = LICENSE.md +KODI_PVR_WMC_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-pvr-zattoo/Config.in b/buildroot-2022.02.1/package/kodi-pvr-zattoo/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-pvr-zattoo/Config.in rename to buildroot-2022.02.1/package/kodi-pvr-zattoo/Config.in diff --git a/buildroot-2022.02.1/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash b/buildroot-2022.02.1/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash new file mode 100644 index 00000000..ac4960df --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 8cc02c4627b5108e39bb7b6a6f56f7ba5debbb1adf982c4f23395944aa7d2c8e kodi-pvr-zattoo-19.7.10-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk b/buildroot-2022.02.1/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk new file mode 100644 index 00000000..7a3b230e --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-pvr-zattoo +# +################################################################################ + +KODI_PVR_ZATTOO_VERSION = 19.7.10-Matrix +KODI_PVR_ZATTOO_SITE = $(call github,rbuehlma,pvr.zattoo,$(KODI_PVR_ZATTOO_VERSION)) +KODI_PVR_ZATTOO_LICENSE = GPL-2.0+ +KODI_PVR_ZATTOO_LICENSE_FILES = LICENSE.md +KODI_PVR_ZATTOO_DEPENDENCIES = kodi rapidjson tinyxml2 + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-asteroids/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-asteroids/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-asteroids/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-asteroids/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.hash b/buildroot-2022.02.1/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.hash new file mode 100644 index 00000000..0f1d77e8 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 189b4f45ac2c0920445db0240f080203041c77053430595e764d773fdcd8604a kodi-screensaver-asteroids-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk b/buildroot-2022.02.1/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk new file mode 100644 index 00000000..0c660e95 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-asteroids/kodi-screensaver-asteroids.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-screensaver-asteroids +# +################################################################################ + +KODI_SCREENSAVER_ASTEROIDS_VERSION = 19.0.1-Matrix +KODI_SCREENSAVER_ASTEROIDS_SITE = $(call github,xbmc,screensaver.asteroids,$(KODI_SCREENSAVER_ASTEROIDS_VERSION)) +KODI_SCREENSAVER_ASTEROIDS_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_ASTEROIDS_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_ASTEROIDS_DEPENDENCIES = glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-asterwave/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-asterwave/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-asterwave/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-asterwave/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.hash b/buildroot-2022.02.1/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.hash new file mode 100644 index 00000000..95c37a8e --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 e1d97cf5628dd844745d152a2b3633a22c720c35ef0e81aa61857f47a78003aa kodi-screensaver-asterwave-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.mk b/buildroot-2022.02.1/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.mk new file mode 100644 index 00000000..2ae243eb --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-asterwave/kodi-screensaver-asterwave.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# kodi-screensaver-asterwave +# +################################################################################ + +KODI_SCREENSAVER_ASTERWAVE_VERSION = 19.0.1-Matrix +KODI_SCREENSAVER_ASTERWAVE_SITE = $(call github,xbmc,screensaver.asterwave,$(KODI_SCREENSAVER_ASTERWAVE_VERSION)) +KODI_SCREENSAVER_ASTERWAVE_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_ASTERWAVE_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_ASTERWAVE_DEPENDENCIES = glm kodi + +KODI_SCREENSAVER_ASTERWAVE_CONF_OPTS += \ + -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" \ + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-biogenesis/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-biogenesis/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-biogenesis/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-biogenesis/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.hash b/buildroot-2022.02.1/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.hash new file mode 100644 index 00000000..314c0678 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 ef90c940f70ae9ffb4e5b6928993f053c24de2180566a5fdb21eea359a6c61df kodi-screensaver-biogenesis-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.mk b/buildroot-2022.02.1/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.mk new file mode 100644 index 00000000..70e4cdc0 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-biogenesis/kodi-screensaver-biogenesis.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-screensaver-biogenesis +# +################################################################################ + +KODI_SCREENSAVER_BIOGENESIS_VERSION = 19.0.1-Matrix +KODI_SCREENSAVER_BIOGENESIS_SITE = $(call github,xbmc,screensaver.biogenesis,$(KODI_SCREENSAVER_BIOGENESIS_VERSION)) +KODI_SCREENSAVER_BIOGENESIS_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_BIOGENESIS_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_BIOGENESIS_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-cpblobs/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-cpblobs/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-cpblobs/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-cpblobs/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.hash b/buildroot-2022.02.1/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.hash new file mode 100644 index 00000000..80dfbad3 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 f281efde421cfe9d5f251520853e43e8b1ee128de216af760fcafb80861f504b kodi-screensaver-cpblobs-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.mk b/buildroot-2022.02.1/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.mk new file mode 100644 index 00000000..9ca6718c --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-cpblobs/kodi-screensaver-cpblobs.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# kodi-screensaver-cpblobs +# +################################################################################ + +KODI_SCREENSAVER_CPBLOBS_VERSION = 19.0.1-Matrix +KODI_SCREENSAVER_CPBLOBS_SITE = $(call github,xbmc,screensaver.cpblobs,$(KODI_SCREENSAVER_CPBLOBS_VERSION)) +KODI_SCREENSAVER_CPBLOBS_LICENSE = GPL-2.0 +KODI_SCREENSAVER_CPBLOBS_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_CPBLOBS_DEPENDENCIES = glm kodi + +KODI_SCREENSAVER_CPBLOBS_CONF_OPTS += \ + -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" \ + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-greynetic/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-greynetic/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-greynetic/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-greynetic/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.hash b/buildroot-2022.02.1/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.hash new file mode 100644 index 00000000..2268b2e5 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 5428bc2bf17132dbc98ef0f9df0c98ab5abcbe4bf6e9040460cbf5be58ea3058 kodi-screensaver-greynetic-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.mk b/buildroot-2022.02.1/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.mk new file mode 100644 index 00000000..3e91cfb0 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-greynetic/kodi-screensaver-greynetic.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-screensaver-greynetic +# +################################################################################ + +KODI_SCREENSAVER_GREYNETIC_VERSION = 19.0.1-Matrix +KODI_SCREENSAVER_GREYNETIC_SITE = $(call github,xbmc,screensaver.greynetic,$(KODI_SCREENSAVER_GREYNETIC_VERSION)) +KODI_SCREENSAVER_GREYNETIC_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_GREYNETIC_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_GREYNETIC_DEPENDENCIES = glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-matrixtrails/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-matrixtrails/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-matrixtrails/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-matrixtrails/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.hash b/buildroot-2022.02.1/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.hash new file mode 100644 index 00000000..2c4de820 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 a7054eedcf7b614f5a9cf584ac1f92225b5b960ff5f8d846372e920319a47d30 kodi-screensaver-matrixtrails-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.mk b/buildroot-2022.02.1/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.mk new file mode 100644 index 00000000..230977bb --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-matrixtrails/kodi-screensaver-matrixtrails.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# kodi-screensaver-matrixtrails +# +################################################################################ + +KODI_SCREENSAVER_MATRIXTRAILS_VERSION = 19.0.1-Matrix +KODI_SCREENSAVER_MATRIXTRAILS_SITE = $(call github,xbmc,screensaver.matrixtrails,$(KODI_SCREENSAVER_MATRIXTRAILS_VERSION)) +KODI_SCREENSAVER_MATRIXTRAILS_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_MATRIXTRAILS_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_MATRIXTRAILS_DEPENDENCIES = kodi + +KODI_SCREENSAVER_MATRIXTRAILS_CONF_OPTS += \ + -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" \ + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags egl`" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-pingpong/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-pingpong/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-pingpong/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-pingpong/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.hash b/buildroot-2022.02.1/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.hash new file mode 100644 index 00000000..20e725f0 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 d8d87943bfb795fc66565d06197a6b3a12b2cdc2b60269197ddccf295217b776 kodi-screensaver-pingpong-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.mk b/buildroot-2022.02.1/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.mk new file mode 100644 index 00000000..fffdc82d --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-pingpong/kodi-screensaver-pingpong.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-screensaver-pingpong +# +################################################################################ + +KODI_SCREENSAVER_PINGPONG_VERSION = 19.0.1-Matrix +KODI_SCREENSAVER_PINGPONG_SITE = $(call github,xbmc,screensaver.pingpong,$(KODI_SCREENSAVER_PINGPONG_VERSION)) +KODI_SCREENSAVER_PINGPONG_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_PINGPONG_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_PINGPONG_DEPENDENCIES = glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-pyro/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-pyro/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-pyro/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-pyro/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-pyro/kodi-screensaver-pyro.hash b/buildroot-2022.02.1/package/kodi-screensaver-pyro/kodi-screensaver-pyro.hash new file mode 100644 index 00000000..9b0effef --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-pyro/kodi-screensaver-pyro.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 6a68904ff6915a7b908126d1336f5ad78e0791680fae14c71d5a187b13ce3730 kodi-screensaver-pyro-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-pyro/kodi-screensaver-pyro.mk b/buildroot-2022.02.1/package/kodi-screensaver-pyro/kodi-screensaver-pyro.mk new file mode 100644 index 00000000..3ab72343 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-pyro/kodi-screensaver-pyro.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-screensaver-pyro +# +################################################################################ + +KODI_SCREENSAVER_PYRO_VERSION = 19.0.1-Matrix +KODI_SCREENSAVER_PYRO_SITE = $(call github,xbmc,screensaver.pyro,$(KODI_SCREENSAVER_PYRO_VERSION)) +KODI_SCREENSAVER_PYRO_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_PYRO_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_PYRO_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-rsxs/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-rsxs/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-rsxs/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-rsxs/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash b/buildroot-2022.02.1/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash new file mode 100644 index 00000000..073a1b27 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 8bd1012dc2ae10d2c3b7920214616b0bca5278e4e78f8b0e41fa9cf14569273c kodi-screensaver-rsxs-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk b/buildroot-2022.02.1/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk new file mode 100644 index 00000000..59ec30b8 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-rsxs/kodi-screensaver-rsxs.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-screensaver-rsxs +# +################################################################################ + +KODI_SCREENSAVER_RSXS_VERSION = 19.0.2-Matrix +KODI_SCREENSAVER_RSXS_SITE = $(call github,xbmc,screensavers.rsxs,$(KODI_SCREENSAVER_RSXS_VERSION)) +KODI_SCREENSAVER_RSXS_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_RSXS_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_RSXS_DEPENDENCIES = bzip2 gli glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-screensaver-stars/Config.in b/buildroot-2022.02.1/package/kodi-screensaver-stars/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-screensaver-stars/Config.in rename to buildroot-2022.02.1/package/kodi-screensaver-stars/Config.in diff --git a/buildroot-2022.02.1/package/kodi-screensaver-stars/kodi-screensaver-stars.hash b/buildroot-2022.02.1/package/kodi-screensaver-stars/kodi-screensaver-stars.hash new file mode 100644 index 00000000..9cf978bb --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-stars/kodi-screensaver-stars.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1c65bd9baa351ba4c5d443205b9e125303e341bd85e99aaf36793f95395372bf kodi-screensaver-stars-19.0.0-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-screensaver-stars/kodi-screensaver-stars.mk b/buildroot-2022.02.1/package/kodi-screensaver-stars/kodi-screensaver-stars.mk new file mode 100644 index 00000000..06c77331 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-screensaver-stars/kodi-screensaver-stars.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-screensaver-stars +# +################################################################################ + +KODI_SCREENSAVER_STARS_VERSION = 19.0.0-Matrix +KODI_SCREENSAVER_STARS_SITE = $(call github,xbmc,screensaver.stars,$(KODI_SCREENSAVER_STARS_VERSION)) +KODI_SCREENSAVER_STARS_LICENSE = GPL-2.0+ +KODI_SCREENSAVER_STARS_LICENSE_FILES = LICENSE.md +KODI_SCREENSAVER_STARS_DEPENDENCIES = kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-skin-confluence/Config.in b/buildroot-2022.02.1/package/kodi-skin-confluence/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-skin-confluence/Config.in rename to buildroot-2022.02.1/package/kodi-skin-confluence/Config.in diff --git a/buildroot-2021.05/package/kodi-skin-confluence/kodi-skin-confluence.hash b/buildroot-2022.02.1/package/kodi-skin-confluence/kodi-skin-confluence.hash similarity index 100% rename from buildroot-2021.05/package/kodi-skin-confluence/kodi-skin-confluence.hash rename to buildroot-2022.02.1/package/kodi-skin-confluence/kodi-skin-confluence.hash diff --git a/buildroot-2021.05/package/kodi-skin-confluence/kodi-skin-confluence.mk b/buildroot-2022.02.1/package/kodi-skin-confluence/kodi-skin-confluence.mk similarity index 100% rename from buildroot-2021.05/package/kodi-skin-confluence/kodi-skin-confluence.mk rename to buildroot-2022.02.1/package/kodi-skin-confluence/kodi-skin-confluence.mk diff --git a/buildroot-2021.05/package/kodi-texturepacker/0001-texturepacker.patch b/buildroot-2022.02.1/package/kodi-texturepacker/0001-texturepacker.patch similarity index 100% rename from buildroot-2021.05/package/kodi-texturepacker/0001-texturepacker.patch rename to buildroot-2022.02.1/package/kodi-texturepacker/0001-texturepacker.patch diff --git a/buildroot-2021.05/package/kodi-texturepacker/0002-fix-texture-packer-cmake-source-dir.patch b/buildroot-2022.02.1/package/kodi-texturepacker/0002-fix-texture-packer-cmake-source-dir.patch similarity index 100% rename from buildroot-2021.05/package/kodi-texturepacker/0002-fix-texture-packer-cmake-source-dir.patch rename to buildroot-2022.02.1/package/kodi-texturepacker/0002-fix-texture-packer-cmake-source-dir.patch diff --git a/buildroot-2021.05/package/kodi-texturepacker/kodi-texturepacker.hash b/buildroot-2022.02.1/package/kodi-texturepacker/kodi-texturepacker.hash similarity index 100% rename from buildroot-2021.05/package/kodi-texturepacker/kodi-texturepacker.hash rename to buildroot-2022.02.1/package/kodi-texturepacker/kodi-texturepacker.hash diff --git a/buildroot-2022.02.1/package/kodi-texturepacker/kodi-texturepacker.mk b/buildroot-2022.02.1/package/kodi-texturepacker/kodi-texturepacker.mk new file mode 100644 index 00000000..2ebcd7d8 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-texturepacker/kodi-texturepacker.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# kodi-texturepacker +# +################################################################################ + +# Not possible to directly refer to kodi variables, because of +# first/second expansion trickery... +KODI_TEXTUREPACKER_VERSION = 19.3-Matrix +KODI_TEXTUREPACKER_SITE = $(call github,xbmc,xbmc,$(KODI_TEXTUREPACKER_VERSION)) +KODI_TEXTUREPACKER_SOURCE = kodi-$(KODI_TEXTUREPACKER_VERSION).tar.gz +KODI_TEXTUREPACKER_DL_SUBDIR = kodi +KODI_TEXTUREPACKER_LICENSE = GPL-2.0 +KODI_TEXTUREPACKER_LICENSE_FILES = LICENSE.md +HOST_KODI_TEXTUREPACKER_SUBDIR = tools/depends/native/TexturePacker +HOST_KODI_TEXTUREPACKER_DEPENDENCIES = \ + host-giflib \ + host-libjpeg \ + host-libpng \ + host-lzo + +HOST_KODI_TEXTUREPACKER_CXXFLAGS = \ + $(HOST_CXXFLAGS) \ + -std=c++0x \ + -DTARGET_POSIX \ + -DTARGET_LINUX \ + -D_LINUX \ + -I$(@D)/xbmc/linux + +HOST_KODI_TEXTUREPACKER_CONF_OPTS += \ + -DCMAKE_CXX_FLAGS="$(HOST_KODI_TEXTUREPACKER_CXXFLAGS)" \ + -DCMAKE_MODULE_PATH=$(@D)/cmake/modules \ + -Wno-dev + +define HOST_KODI_TEXTUREPACKER_INSTALL_CMDS + $(INSTALL) -m 755 -D \ + $(@D)/tools/depends/native/TexturePacker/TexturePacker \ + $(HOST_DIR)/bin/TexturePacker +endef + +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/kodi-vfs-libarchive/Config.in b/buildroot-2022.02.1/package/kodi-vfs-libarchive/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-vfs-libarchive/Config.in rename to buildroot-2022.02.1/package/kodi-vfs-libarchive/Config.in diff --git a/buildroot-2022.02.1/package/kodi-vfs-libarchive/kodi-vfs-libarchive.hash b/buildroot-2022.02.1/package/kodi-vfs-libarchive/kodi-vfs-libarchive.hash new file mode 100644 index 00000000..f3a2c8fc --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-vfs-libarchive/kodi-vfs-libarchive.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1360154d86bc73fc6f01f546d7b09a92968653cf05b037b0cd80a825d95a9187 kodi-vfs-libarchive-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-vfs-libarchive/kodi-vfs-libarchive.mk b/buildroot-2022.02.1/package/kodi-vfs-libarchive/kodi-vfs-libarchive.mk new file mode 100644 index 00000000..eac02d74 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-vfs-libarchive/kodi-vfs-libarchive.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# kodi-vfs-libarchive +# +################################################################################ + +KODI_VFS_LIBARCHIVE_VERSION = 19.0.1-Matrix +KODI_VFS_LIBARCHIVE_SITE = $(call github,xbmc,vfs.libarchive,$(KODI_VFS_LIBARCHIVE_VERSION)) +KODI_VFS_LIBARCHIVE_LICENSE = GPL-2.0+ +KODI_VFS_LIBARCHIVE_LICENSE_FILES = LICENSE.md +KODI_VFS_LIBARCHIVE_DEPENDENCIES = \ + bzip2 \ + kodi \ + libarchive \ + lz4 \ + lzo \ + openssl \ + xz \ + zlib + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-vfs-rar/Config.in b/buildroot-2022.02.1/package/kodi-vfs-rar/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-vfs-rar/Config.in rename to buildroot-2022.02.1/package/kodi-vfs-rar/Config.in diff --git a/buildroot-2022.02.1/package/kodi-vfs-rar/kodi-vfs-rar.hash b/buildroot-2022.02.1/package/kodi-vfs-rar/kodi-vfs-rar.hash new file mode 100644 index 00000000..845d7516 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-vfs-rar/kodi-vfs-rar.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 a2c97c478e20efcf1aef2db652ad3c1f9cfc95a89d7ae77b706121c56fb0feca kodi-vfs-rar-19.0.1-Matrix.tar.gz +# License files +sha256 6ecc1687808b7d66b24f874755abfed7464d9751ed0001cd4e8e5d9bf397ff8a lib/UnrarXLib/license.txt +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-vfs-rar/kodi-vfs-rar.mk b/buildroot-2022.02.1/package/kodi-vfs-rar/kodi-vfs-rar.mk new file mode 100644 index 00000000..12b7b266 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-vfs-rar/kodi-vfs-rar.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-vfs-rar +# +################################################################################ + +KODI_VFS_RAR_VERSION = 19.0.1-Matrix +KODI_VFS_RAR_SITE = $(call github,xbmc,vfs.rar,$(KODI_VFS_RAR_VERSION)) +KODI_VFS_RAR_LICENSE = unrar, GPL-2.0+ +KODI_VFS_RAR_LICENSE_FILES = lib/UnrarXLib/license.txt LICENSE.md +KODI_VFS_RAR_DEPENDENCIES = kodi tinyxml + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-vfs-sftp/Config.in b/buildroot-2022.02.1/package/kodi-vfs-sftp/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-vfs-sftp/Config.in rename to buildroot-2022.02.1/package/kodi-vfs-sftp/Config.in diff --git a/buildroot-2022.02.1/package/kodi-vfs-sftp/kodi-vfs-sftp.hash b/buildroot-2022.02.1/package/kodi-vfs-sftp/kodi-vfs-sftp.hash new file mode 100644 index 00000000..1f3cc497 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-vfs-sftp/kodi-vfs-sftp.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 671bc7bd45d8d744f7e8a60bde9d1f9a0c821d7dd79b9e33d29b2bb2b5d231a1 kodi-vfs-sftp-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-vfs-sftp/kodi-vfs-sftp.mk b/buildroot-2022.02.1/package/kodi-vfs-sftp/kodi-vfs-sftp.mk new file mode 100644 index 00000000..6415fcb1 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-vfs-sftp/kodi-vfs-sftp.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-vfs-sftp +# +################################################################################ + +KODI_VFS_SFTP_VERSION = 19.0.1-Matrix +KODI_VFS_SFTP_SITE = $(call github,xbmc,vfs.sftp,$(KODI_VFS_SFTP_VERSION)) +KODI_VFS_SFTP_LICENSE = GPL-2.0+ +KODI_VFS_SFTP_LICENSE_FILES = LICENSE.md +KODI_VFS_SFTP_DEPENDENCIES = kodi libssh openssl zlib + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/Config.in b/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/Config.in new file mode 100644 index 00000000..4d86d823 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_KODI_VISUALISATION_FISHBMC + bool "kodi-visualisation-fishbmc" + select BR2_PACKAGE_GLM + help + Fische visualiser for Kodi + + https://github.com/xbmc/visualization.fishbmc diff --git a/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.hash b/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.hash new file mode 100644 index 00000000..449b2a48 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 3023e6cf739985c31ff9a6cd2a217909563b9817de5c1047aab8d9928a00cfd9 kodi-visualisation-fishbmc-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.mk b/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.mk new file mode 100644 index 00000000..060e1d9b --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-fishbmc/kodi-visualisation-fishbmc.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-visualisation-fishbmc +# +################################################################################ + +KODI_VISUALISATION_FISHBMC_VERSION = 19.0.1-Matrix +KODI_VISUALISATION_FISHBMC_SITE = $(call github,xbmc,visualization.fishbmc,$(KODI_VISUALISATION_FISHBMC_VERSION)) +KODI_VISUALISATION_FISHBMC_LICENSE = GPL-2.0+ +KODI_VISUALISATION_FISHBMC_LICENSE_FILES = LICENSE.md +KODI_VISUALISATION_FISHBMC_DEPENDENCIES = glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-goom/Config.in b/buildroot-2022.02.1/package/kodi-visualisation-goom/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-visualisation-goom/Config.in rename to buildroot-2022.02.1/package/kodi-visualisation-goom/Config.in diff --git a/buildroot-2022.02.1/package/kodi-visualisation-goom/kodi-visualisation-goom.hash b/buildroot-2022.02.1/package/kodi-visualisation-goom/kodi-visualisation-goom.hash new file mode 100644 index 00000000..6fec1d49 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-goom/kodi-visualisation-goom.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 167206c02b7c4ace0b5446cac013f77a7a238d2a9a7cc768987088b42ac1d941 kodi-visualisation-goom-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-visualisation-goom/kodi-visualisation-goom.mk b/buildroot-2022.02.1/package/kodi-visualisation-goom/kodi-visualisation-goom.mk new file mode 100644 index 00000000..c7168af3 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-goom/kodi-visualisation-goom.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# kodi-visualisation-goom +# +################################################################################ + +KODI_VISUALISATION_GOOM_VERSION = 19.0.1-Matrix +KODI_VISUALISATION_GOOM_SITE = $(call github,xbmc,visualization.goom,$(KODI_VISUALISATION_GOOM_VERSION)) +KODI_VISUALISATION_GOOM_LICENSE = GPL-2.0+ +KODI_VISUALISATION_GOOM_LICENSE_FILES = LICENSE.md + +KODI_VISUALISATION_GOOM_DEPENDENCIES = glm kodi + +KODI_VISUALISATION_GOOM_CONF_OPTS += \ + -DCMAKE_C_FLAGS="-std=c11" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-matrix/Config.in b/buildroot-2022.02.1/package/kodi-visualisation-matrix/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-visualisation-matrix/Config.in rename to buildroot-2022.02.1/package/kodi-visualisation-matrix/Config.in diff --git a/buildroot-2022.02.1/package/kodi-visualisation-matrix/kodi-visualisation-matrix.hash b/buildroot-2022.02.1/package/kodi-visualisation-matrix/kodi-visualisation-matrix.hash new file mode 100644 index 00000000..9a5652a2 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-matrix/kodi-visualisation-matrix.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 aba081aca30b6ff2b349f90ecc3ad9519fa7b8b88d61e08aeba2b66fad2a17a2 kodi-visualisation-matrix-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-visualisation-matrix/kodi-visualisation-matrix.mk b/buildroot-2022.02.1/package/kodi-visualisation-matrix/kodi-visualisation-matrix.mk new file mode 100644 index 00000000..f8959fac --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-matrix/kodi-visualisation-matrix.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-visualisation-matrix +# +################################################################################ + +KODI_VISUALISATION_MATRIX_VERSION = 19.0.1-Matrix +KODI_VISUALISATION_MATRIX_SITE = $(call github,xbmc,visualization.matrix,$(KODI_VISUALISATION_MATRIX_VERSION)) +KODI_VISUALISATION_MATRIX_LICENSE = GPL-2.0+ +KODI_VISUALISATION_MATRIX_LICENSE_FILES = LICENSE.md +KODI_VISUALISATION_MATRIX_DEPENDENCIES = glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/Config.in b/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/Config.in new file mode 100644 index 00000000..50fd38c2 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_KODI_VISUALISATION_SHADERTOY + bool "kodi-visualisation-shadertoy" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # jsoncpp + select BR2_PACKAGE_GLM + select BR2_PACKAGE_JSONCPP + help + Shadertoy visualiser for Kodi + + https://github.com/notspiff/visualization.shadertoy + +comment "kodi-visualisation-shadertoy needs a toolchain w/ gcc >= 4.7" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 diff --git a/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.hash b/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.hash new file mode 100644 index 00000000..d3f489e4 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 49ffaf8ee1a95193d7ac4a6280ae7db8d59ca44c9e5554c0b8cd85a768d1d002 kodi-visualisation-shadertoy-19.1.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk b/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk new file mode 100644 index 00000000..5c644bb3 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-shadertoy/kodi-visualisation-shadertoy.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-visualisation-shadertoy +# +################################################################################ + +KODI_VISUALISATION_SHADERTOY_VERSION = 19.1.2-Matrix +KODI_VISUALISATION_SHADERTOY_SITE = $(call github,xbmc,visualization.shadertoy,$(KODI_VISUALISATION_SHADERTOY_VERSION)) +KODI_VISUALISATION_SHADERTOY_LICENSE = GPL-2.0+ +KODI_VISUALISATION_SHADERTOY_LICENSE_FILES = LICENSE.md +KODI_VISUALISATION_SHADERTOY_DEPENDENCIES = glm jsoncpp kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-spectrum/Config.in b/buildroot-2022.02.1/package/kodi-visualisation-spectrum/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-visualisation-spectrum/Config.in rename to buildroot-2022.02.1/package/kodi-visualisation-spectrum/Config.in diff --git a/buildroot-2022.02.1/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.hash b/buildroot-2022.02.1/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.hash new file mode 100644 index 00000000..26cb7e3c --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 37cea1b82e4b70ab60494b6fe31a5dfd56d7e4feff16347d661f5d14c2f28724 kodi-visualisation-spectrum-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.mk b/buildroot-2022.02.1/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.mk new file mode 100644 index 00000000..09aefd63 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-spectrum/kodi-visualisation-spectrum.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-visualisation-spectrum +# +################################################################################ + +KODI_VISUALISATION_SPECTRUM_VERSION = 19.0.1-Matrix +KODI_VISUALISATION_SPECTRUM_SITE = $(call github,xbmc,visualization.spectrum,$(KODI_VISUALISATION_SPECTRUM_VERSION)) +KODI_VISUALISATION_SPECTRUM_LICENSE = GPL-2.0+ +KODI_VISUALISATION_SPECTRUM_LICENSE_FILES = LICENSE.md +KODI_VISUALISATION_SPECTRUM_DEPENDENCIES = glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-starburst/Config.in b/buildroot-2022.02.1/package/kodi-visualisation-starburst/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-visualisation-starburst/Config.in rename to buildroot-2022.02.1/package/kodi-visualisation-starburst/Config.in diff --git a/buildroot-2022.02.1/package/kodi-visualisation-starburst/kodi-visualisation-starburst.hash b/buildroot-2022.02.1/package/kodi-visualisation-starburst/kodi-visualisation-starburst.hash new file mode 100644 index 00000000..7f335ed9 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-starburst/kodi-visualisation-starburst.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 e2b3ad0473d1ae40c3ecc81f9631c7d956fd4ec3edc7ef43eaeefec242fa79e5 kodi-visualisation-starburst-19.0.1-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-visualisation-starburst/kodi-visualisation-starburst.mk b/buildroot-2022.02.1/package/kodi-visualisation-starburst/kodi-visualisation-starburst.mk new file mode 100644 index 00000000..afa1fb1a --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-starburst/kodi-visualisation-starburst.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-visualisation-starburst +# +################################################################################ + +KODI_VISUALISATION_STARBURST_VERSION = 19.0.1-Matrix +KODI_VISUALISATION_STARBURST_SITE = $(call github,xbmc,visualization.starburst,$(KODI_VISUALISATION_STARBURST_VERSION)) +KODI_VISUALISATION_STARBURST_LICENSE = GPL-2.0+ +KODI_VISUALISATION_STARBURST_LICENSE_FILES = LICENSE.md +KODI_VISUALISATION_STARBURST_DEPENDENCIES = glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi-visualisation-waveform/Config.in b/buildroot-2022.02.1/package/kodi-visualisation-waveform/Config.in similarity index 100% rename from buildroot-2021.05/package/kodi-visualisation-waveform/Config.in rename to buildroot-2022.02.1/package/kodi-visualisation-waveform/Config.in diff --git a/buildroot-2022.02.1/package/kodi-visualisation-waveform/kodi-visualisation-waveform.hash b/buildroot-2022.02.1/package/kodi-visualisation-waveform/kodi-visualisation-waveform.hash new file mode 100644 index 00000000..efd8eddc --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-waveform/kodi-visualisation-waveform.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 a6180038f43d9344678952d29b6479e24194e6038518f9064e80781bf303ae70 kodi-visualisation-waveform-19.0.2-Matrix.tar.gz +sha256 310782e1abd43c4de6217c513e328bddf999d39302d67c6e05b10a59959827af LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi-visualisation-waveform/kodi-visualisation-waveform.mk b/buildroot-2022.02.1/package/kodi-visualisation-waveform/kodi-visualisation-waveform.mk new file mode 100644 index 00000000..71acd733 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi-visualisation-waveform/kodi-visualisation-waveform.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# kodi-visualisation-waveform +# +################################################################################ + +KODI_VISUALISATION_WAVEFORM_VERSION = 19.0.2-Matrix +KODI_VISUALISATION_WAVEFORM_SITE = $(call github,xbmc,visualization.waveform,$(KODI_VISUALISATION_WAVEFORM_VERSION)) +KODI_VISUALISATION_WAVEFORM_LICENSE = GPL-2.0+ +KODI_VISUALISATION_WAVEFORM_LICENSE_FILES = LICENSE.md +KODI_VISUALISATION_WAVEFORM_DEPENDENCIES = glm kodi + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi/0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch b/buildroot-2022.02.1/package/kodi/0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch similarity index 100% rename from buildroot-2021.05/package/kodi/0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch rename to buildroot-2022.02.1/package/kodi/0001-kodi-config.cmake-use-CMAKE_FIND_ROOT_PATH-to-fix-cr.patch diff --git a/buildroot-2022.02.1/package/kodi/0002-cmake-findpython.patch b/buildroot-2022.02.1/package/kodi/0002-cmake-findpython.patch new file mode 100644 index 00000000..60728aa4 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi/0002-cmake-findpython.patch @@ -0,0 +1,135 @@ +From 52f44ec5c7b728a6afaca867e8d815fced2012ec Mon Sep 17 00:00:00 2001 +From: fuzzard +Date: Sat, 31 Jul 2021 19:22:08 +1000 +Subject: [PATCH] [cmake] findpython + +use cmakes (3.12+) FindPython3 module. +Provide cmake vars for user to overide specific version, and search path + +Backport of https://github.com/xbmc/xbmc/pull/20045 + +Patch sent upstream: https://github.com/xbmc/xbmc/pull/20989 + +Signed-off-by: Bernd Kuhls +--- + CMakeLists.txt | 4 +- + cmake/modules/FindPython.cmake | 71 ++++++++++++++++++++++++++-------- + 2 files changed, 56 insertions(+), 19 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 2d5369798d..9bed54ef40 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.4) ++cmake_minimum_required(VERSION 3.12) + if(WIN32) + # Version 3.15 is required to use "PREPEND" for dependencies + cmake_minimum_required(VERSION 3.15) +@@ -187,8 +187,6 @@ core_require_dep(${required_deps}) + find_package(TexturePacker REQUIRED) + find_package(JsonSchemaBuilder REQUIRED) + +-SET(PYTHON_VERSION 3.8) +- + if(ENABLE_MARIADBCLIENT AND NOT ENABLE_MARIADBCLIENT STREQUAL AUTO AND ENABLE_MYSQLCLIENT AND NOT ENABLE_MYSQLCLIENT STREQUAL AUTO) + MESSAGE(FATAL_ERROR "You can not use MySql and MariaDB at the same time. Disable one by adding -DENABLE_MYSQLCLIENT=OFF or -DENABLE_MARIADBCLIENT=OFF.") + elseif(ENABLE_MYSQLCLIENT AND NOT ENABLE_MYSQLCLIENT STREQUAL AUTO) +diff --git a/cmake/modules/FindPython.cmake b/cmake/modules/FindPython.cmake +index c40e12d551..35220b5426 100644 +--- a/cmake/modules/FindPython.cmake ++++ b/cmake/modules/FindPython.cmake +@@ -1,17 +1,56 @@ +-# - Try to find python +-# Once done this will define ++# FindPython ++# -------- ++# Finds Python3 libraries ++# ++# This module will search for the required python libraries on the system ++# If multiple versions are found, the highest version will be used. ++# ++# -------- ++# ++# the following variables influence behaviour: ++# ++# PYTHON_PATH - use external python not found in system paths ++# usage: -DPYTHON_PATH=/path/to/python/lib ++# PYTHON_VER - use exact python version, fail if not found ++# usage: -DPYTHON_VER=3.8 ++# ++# -------- ++# ++# This module will define the following variables: + # + # PYTHON_FOUND - system has PYTHON ++# PYTHON_VERSION - Python version number (Major.Minor) + # PYTHON_INCLUDE_DIRS - the python include directory + # PYTHON_LIBRARIES - The python libraries ++# PYTHON_LDFLAGS - Python provided link options ++# ++# -------- ++# ++ ++# for Depends builds, set search root dir to depends path ++if(KODI_DEPENDSBUILD) ++ set(Python3_USE_STATIC_LIBS TRUE) ++ set(Python3_ROOT_DIR ${DEPENDS_PATH}/lib) ++endif() ++ ++# Provide root dir to search for Python if provided ++if(PYTHON_PATH) ++ set(Python3_ROOT_DIR ${PYTHON_PATH}) ++ ++ # unset cache var so we can generate again with a different dir (or none) if desired ++ unset(PYTHON_PATH CACHE) ++endif() ++ ++# Set specific version of Python to find if provided ++if(PYTHON_VER) ++ set(VERSION ${PYTHON_VER}) ++ set(EXACT_VER "EXACT") + +-if(PKG_CONFIG_FOUND) +- pkg_check_modules(PC_PYTHON python3>=3.5 QUIET) ++ # unset cache var so we can generate again with a different ver (or none) if desired ++ unset(PYTHON_VER CACHE) + endif() + +-find_program(PYTHON_EXECUTABLE python3 ONLY_CMAKE_FIND_ROOT_PATH) +-find_library(PYTHON_LIBRARY NAMES python3.9 python3.8 python3.7 python3.6 python3.5 PATHS ${PC_PYTHON_LIBDIR}) +-find_path(PYTHON_INCLUDE_DIR NAMES Python.h PATHS ${PC_PYTHON_INCLUDE_DIRS} PATH_SUFFIXES python3.9 python3.8 python3.7 python3.6 python3.5) ++find_package(Python3 ${VERSION} ${EXACT_VER} COMPONENTS Development) + + if(KODI_DEPENDSBUILD) + find_library(FFI_LIBRARY ffi REQUIRED) +@@ -27,17 +66,17 @@ if(KODI_DEPENDSBUILD) + endif() + endif() + +- set(PYTHON_LIBRARIES ${PYTHON_LIBRARY} ${FFI_LIBRARY} ${EXPAT_LIBRARY} ${INTL_LIBRARY} ${GMP_LIBRARY} ${PYTHON_DEP_LIBRARIES}) +-else() +- find_package(PythonLibs 3.5 REQUIRED) +- list(APPEND PYTHON_LIBRARIES ${PC_PYTHON_STATIC_LIBRARIES}) ++ list(APPEND Python3_LIBRARIES ${FFI_LIBRARY} ${EXPAT_LIBRARY} ${INTL_LIBRARY} ${GMP_LIBRARY} ${PYTHON_DEP_LIBRARIES}) + endif() + +-include(FindPackageHandleStandardArgs) +-find_package_handle_standard_args(Python REQUIRED_VARS PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_LIBRARIES) +-if(PYTHON_FOUND) +- set(PYTHON_INCLUDE_DIRS ${PYTHON_INCLUDE_DIR}) ++if(Python3_FOUND) + list(APPEND PYTHON_DEFINITIONS -DHAS_PYTHON=1) ++ # These are all set for easy integration with the rest of our build system ++ set(PYTHON_FOUND ${Python3_FOUND}) ++ set(PYTHON_INCLUDE_DIRS ${Python3_INCLUDE_DIRS}) ++ set(PYTHON_LIBRARIES ${Python3_LIBRARIES}) ++ set(PYTHON_VERSION "${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}" CACHE INTERNAL "" FORCE) ++ set(PYTHON_LDFLAGS ${Python3_LINK_OPTIONS}) + endif() + +-mark_as_advanced(PYTHON_EXECUTABLE PYTHON_INCLUDE_DIRS PYTHON_INCLUDE_DIR PYTHON_LIBRARY PYTHON_LIBRARIES PYTHON_LDFLAGS FFI_LIBRARY EXPAT_LIBRARY INTL_LIBRARY GMP_LIBRARY) ++mark_as_advanced(PYTHON_EXECUTABLE PYTHON_VERSION PYTHON_INCLUDE_DIRS PYTHON_LDFLAGS FFI_LIBRARY EXPAT_LIBRARY INTL_LIBRARY GMP_LIBRARY) +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/kodi/0003-cmake-search-for-python-interpreter.patch b/buildroot-2022.02.1/package/kodi/0003-cmake-search-for-python-interpreter.patch new file mode 100644 index 00000000..158345a2 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi/0003-cmake-search-for-python-interpreter.patch @@ -0,0 +1,48 @@ +From 6bb112e585f2ffd10e5af70ca28159dd235d063b Mon Sep 17 00:00:00 2001 +From: wsnipex +Date: Thu, 19 Aug 2021 08:50:05 +0200 +Subject: [PATCH] [cmake] search for python interpreter fixes installing + eventclients on linux + +Backport of https://github.com/xbmc/xbmc/pull/20058 + +Patch sent upstream: https://github.com/xbmc/xbmc/pull/20989 + +Signed-off-by: Bernd Kuhls +--- + cmake/modules/FindPython.cmake | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/cmake/modules/FindPython.cmake b/cmake/modules/FindPython.cmake +index 35220b5426..c469ed9fb6 100644 +--- a/cmake/modules/FindPython.cmake ++++ b/cmake/modules/FindPython.cmake +@@ -20,6 +20,7 @@ + # + # PYTHON_FOUND - system has PYTHON + # PYTHON_VERSION - Python version number (Major.Minor) ++# PYTHON_EXECUTABLE - Python interpreter binary + # PYTHON_INCLUDE_DIRS - the python include directory + # PYTHON_LIBRARIES - The python libraries + # PYTHON_LDFLAGS - Python provided link options +@@ -51,6 +52,9 @@ if(PYTHON_VER) + endif() + + find_package(Python3 ${VERSION} ${EXACT_VER} COMPONENTS Development) ++if(CORE_SYSTEM_NAME STREQUAL linux) ++ find_package(Python3 ${VERSION} ${EXACT_VER} COMPONENTS Interpreter) ++endif() + + if(KODI_DEPENDSBUILD) + find_library(FFI_LIBRARY ffi REQUIRED) +@@ -73,6 +77,7 @@ if(Python3_FOUND) + list(APPEND PYTHON_DEFINITIONS -DHAS_PYTHON=1) + # These are all set for easy integration with the rest of our build system + set(PYTHON_FOUND ${Python3_FOUND}) ++ set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE} CACHE FILEPATH "Python interpreter" FORCE) + set(PYTHON_INCLUDE_DIRS ${Python3_INCLUDE_DIRS}) + set(PYTHON_LIBRARIES ${Python3_LIBRARIES}) + set(PYTHON_VERSION "${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}" CACHE INTERNAL "" FORCE) +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/kodi/0004-cmake-allow-to-override-PYTHON_EXECUTABLE.patch b/buildroot-2022.02.1/package/kodi/0004-cmake-allow-to-override-PYTHON_EXECUTABLE.patch new file mode 100644 index 00000000..d1e9b3f2 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi/0004-cmake-allow-to-override-PYTHON_EXECUTABLE.patch @@ -0,0 +1,39 @@ +From 25681d8adde4a90d5da02051e30f6a3a27322136 Mon Sep 17 00:00:00 2001 +From: Jernej Skrabec +Date: Sat, 25 Sep 2021 07:41:10 +0200 +Subject: [PATCH] [cmake] allow to override PYTHON_EXECUTABLE + +If Kodi is being build for distro which has different python version +than host, PYTHON_EXECUTABLE must be overriden and point to distro +version. Otherwise, eventclients will be installed in wrong location and +be thus unusable. + +Use case: Cross compiling Kodi for LibreELEC + +Backport of https://github.com/xbmc/xbmc/pull/20171 + +Patch sent upstream: https://github.com/xbmc/xbmc/pull/20989 + +Signed-off-by: Bernd Kuhls +--- + cmake/modules/FindPython.cmake | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/cmake/modules/FindPython.cmake b/cmake/modules/FindPython.cmake +index c469ed9fb6..87b8368705 100644 +--- a/cmake/modules/FindPython.cmake ++++ b/cmake/modules/FindPython.cmake +@@ -77,7 +77,9 @@ if(Python3_FOUND) + list(APPEND PYTHON_DEFINITIONS -DHAS_PYTHON=1) + # These are all set for easy integration with the rest of our build system + set(PYTHON_FOUND ${Python3_FOUND}) +- set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE} CACHE FILEPATH "Python interpreter" FORCE) ++ if(NOT PYTHON_EXECUTABLE) ++ set(PYTHON_EXECUTABLE ${Python3_EXECUTABLE} CACHE FILEPATH "Python interpreter" FORCE) ++ endif() + set(PYTHON_INCLUDE_DIRS ${Python3_INCLUDE_DIRS}) + set(PYTHON_LIBRARIES ${Python3_LIBRARIES}) + set(PYTHON_VERSION "${Python3_VERSION_MAJOR}.${Python3_VERSION_MINOR}" CACHE INTERNAL "" FORCE) +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/kodi/Config.in b/buildroot-2022.02.1/package/kodi/Config.in new file mode 100644 index 00000000..fd530064 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi/Config.in @@ -0,0 +1,355 @@ +config BR2_PACKAGE_KODI_ARCH_SUPPORTS + bool + default y if BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + # i386: needs sse (see upstream PR 10351) + depends on !(BR2_i386 && !BR2_X86_CPU_HAS_SSE) + depends on BR2_USE_MMU # libcdio, and others + +comment "kodi needs python3 w/ .py modules, a uClibc or glibc toolchain w/ C++, threads, wchar, dynamic library, gcc >= 4.9" + depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_USE_WCHAR || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ + || BR2_TOOLCHAIN_USES_MUSL \ + || !BR2_PACKAGE_PYTHON3 \ + || BR2_PACKAGE_PYTHON3_PYC_ONLY + +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + bool + +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM + bool + default y + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_HAS_LIBGBM + depends on BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF + depends on BR2_PACKAGE_HAS_UDEV # libinput + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND + bool + default y + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # waylandpp + depends on BR2_HOST_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # waylandpp + depends on BR2_INSTALL_LIBSTDCPP # waylandpp + depends on BR2_PACKAGE_WAYLAND # waylandpp + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + +config BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 + bool + default y + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + +comment "kodi needs an OpenGL EGL backend with OpenGL or GLES support" + depends on !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + +menuconfig BR2_PACKAGE_KODI + bool "kodi" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_MUSL + depends on BR2_USE_WCHAR + depends on !BR2_STATIC_LIBS # gnutls, python3 and others + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_KODI_ARCH_SUPPORTS + depends on BR2_PACKAGE_KODI_PLATFORM_SUPPORTS + depends on BR2_PACKAGE_PYTHON3 + depends on !BR2_PACKAGE_PYTHON3_PYC_ONLY + select BR2_NEEDS_HOST_JAVA + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_FFMPEG_GPL + select BR2_PACKAGE_FFMPEG_POSTPROC + select BR2_PACKAGE_FFMPEG_SWSCALE + select BR2_PACKAGE_FLATBUFFERS + select BR2_PACKAGE_FMT + select BR2_PACKAGE_FONTCONFIG # needed for libass + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_FSTRCMP + select BR2_PACKAGE_LIBASS + select BR2_PACKAGE_LIBCDIO + select BR2_PACKAGE_LIBCROSSGUID + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_LIBFRIBIDI + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + select BR2_PACKAGE_LIBICONV_EXTRA_ENCODINGS if !BR2_ENABLE_LOCALE + select BR2_PACKAGE_LIBPLIST + select BR2_PACKAGE_LZO + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_PCRE_UCP + select BR2_PACKAGE_PYTHON3_2TO3 + select BR2_PACKAGE_PYTHON3_PYEXPAT + select BR2_PACKAGE_PYTHON3_SQLITE + select BR2_PACKAGE_PYTHON3_SSL + select BR2_PACKAGE_PYTHON3_UNICODEDATA + select BR2_PACKAGE_PYTHON3_ZLIB + select BR2_PACKAGE_RAPIDJSON + select BR2_PACKAGE_SPDLOG + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_TAGLIB + select BR2_PACKAGE_TINYXML + select BR2_PACKAGE_ZLIB + select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY if BR2_TOOLCHAIN_USES_GLIBC # runtime UTF conversion support + select BR2_PACKAGE_LIBINPUT if BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM + select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM + select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND + select BR2_PACKAGE_WAYLANDPP if BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND + select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 + help + Kodi is an award-winning free and open source (GPL) software + media player and entertainment hub for digital media. + + http://kodi.tv + +if BR2_PACKAGE_KODI + +config BR2_PACKAGE_KODI_ALSA_LIB + bool "alsa" + select BR2_PACKAGE_ALSA_LIB + help + Enable alsa support. + +config BR2_PACKAGE_KODI_AVAHI + bool "avahi" + select BR2_PACKAGE_AVAHI + select BR2_PACKAGE_AVAHI_DAEMON + help + Enable Avahi support. + Select this if you want Kodi to support Bonjour protocol. + +config BR2_PACKAGE_KODI_BLUEZ + bool "bluetooth" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # bluez5_utils hid plugin + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils + select BR2_PACKAGE_BLUEZ5_UTILS + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID + help + Enable bluetooth support + +comment "bluetooth support needs a toolchain w/ headers >= 3.18" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +config BR2_PACKAGE_KODI_DBUS + bool "dbus" + select BR2_PACKAGE_DBUS + help + Enable D-Bus support + +config BR2_PACKAGE_KODI_EVENTCLIENTS + bool "eventclients" + help + Enable event clients support + + https://github.com/xbmc/xbmc/blob/master/tools/EventClients/README.txt + +config BR2_PACKAGE_KODI_LIBBLURAY + bool "blu-ray" + select BR2_PACKAGE_LIBBLURAY + help + Enable Blu-ray input support. + Select this if you want to play back Blu-ray content. + +config BR2_PACKAGE_KODI_LIBCEC + bool "hdmi cec" + select BR2_PACKAGE_LIBCEC + help + Enable CEC (Consumer Electronics Control) support. + Select this if you want Kodi to support HDMI CEC. + +config BR2_PACKAGE_KODI_LCMS2 + bool "lcms2" + select BR2_PACKAGE_LCMS2 + help + Enable color management support. + +config BR2_PACKAGE_KODI_LIBMICROHTTPD + bool "web server" + select BR2_PACKAGE_LIBMICROHTTPD + help + Enable webserver feature + +config BR2_PACKAGE_KODI_LIBNFS + bool "nfs" + # libnfs -> libtirpc + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBNFS + help + Enable NFS server support. + +comment "nfs support needs a toolchain w/ threads support" + depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) + +config BR2_PACKAGE_KODI_MYSQL + bool "mysql" + select BR2_PACKAGE_MYSQL + help + Enable MySQL support + +choice + prompt "render system" + default BR2_PACKAGE_KODI_RENDER_SYSTEM_GL + +config BR2_PACKAGE_KODI_RENDER_SYSTEM_GL + bool "OpenGL" + depends on BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_LIBGLU + +config BR2_PACKAGE_KODI_RENDER_SYSTEM_GLES + bool "GLES" + depends on BR2_PACKAGE_HAS_LIBGLES + +endchoice + +config BR2_PACKAGE_KODI_PULSEAUDIO + bool "pulseaudio" + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + # Pulseaudio support in kodi needs glib support in Pulseaudio, + # see FindPulseAudio.cmake. Kodi meets all dependencies of + # libglib2, so there is no need to propagate them here. + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PULSEAUDIO + help + Enable Pulseaudio support. + +config BR2_PACKAGE_KODI_LIBSHAIRPLAY + bool "shairport" + select BR2_PACKAGE_LIBSHAIRPLAY + help + Enable Shairport support. + Select this if you want to stream content from an Apple + device. + +config BR2_PACKAGE_KODI_LIBSMBCLIENT + bool "samba" + depends on BR2_PACKAGE_SAMBA4 + help + Enable Samba support + +config BR2_PACKAGE_KODI_LIBUSB + bool "usb" + # https://github.com/xbmc/xbmc/blob/Jarvis/configure.ac#L1554 + # "if libudev is available, we don't need libusb" + depends on !BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT + help + Enable libusb support. + +config BR2_PACKAGE_KODI_LIBVDPAU + bool "vdpau" + depends on BR2_PACKAGE_KODI_PLATFORM_X11 && \ + BR2_PACKAGE_KODI_RENDER_SYSTEM_GL + select BR2_PACKAGE_LIBVDPAU + help + Enable libvdpau support. + +comment "libvdpau support needs platform 'X11/OpenGL'" + depends on !BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11 || \ + !BR2_PACKAGE_KODI_RENDER_SYSTEM_GL + +config BR2_PACKAGE_KODI_UPNP + bool "upnp" + help + Enable UPnP support + +config BR2_PACKAGE_KODI_OPTICALDRIVE + bool "optical drives" + help + Add support for optical drives, to read e.g. DVDs... + +menu "Audio decoder addons" + source "package/kodi-audiodecoder-modplug/Config.in" + source "package/kodi-audiodecoder-nosefart/Config.in" + source "package/kodi-audiodecoder-sidplay/Config.in" + source "package/kodi-audiodecoder-snesapu/Config.in" + source "package/kodi-audiodecoder-stsound/Config.in" + source "package/kodi-audiodecoder-timidity/Config.in" + source "package/kodi-audiodecoder-vgmstream/Config.in" +endmenu + +menu "Audio encoder addons" + source "package/kodi-audioencoder-flac/Config.in" + source "package/kodi-audioencoder-lame/Config.in" + source "package/kodi-audioencoder-vorbis/Config.in" + source "package/kodi-audioencoder-wav/Config.in" +endmenu + +menu "Peripheral addons" + source "package/kodi-peripheral-joystick/Config.in" + source "package/kodi-peripheral-xarcade/Config.in" +endmenu + +menu "Inputstream addons" + source "package/kodi-inputstream-adaptive/Config.in" + source "package/kodi-inputstream-ffmpegdirect/Config.in" + source "package/kodi-inputstream-rtmp/Config.in" +endmenu + +menu "PVR addons" + source "package/kodi-pvr-argustv/Config.in" + source "package/kodi-pvr-dvblink/Config.in" + source "package/kodi-pvr-dvbviewer/Config.in" + source "package/kodi-pvr-filmon/Config.in" + source "package/kodi-pvr-hdhomerun/Config.in" + source "package/kodi-pvr-hts/Config.in" + source "package/kodi-pvr-iptvsimple/Config.in" + source "package/kodi-pvr-mediaportal-tvserver/Config.in" + source "package/kodi-pvr-mythtv/Config.in" + source "package/kodi-pvr-nextpvr/Config.in" + source "package/kodi-pvr-njoy/Config.in" + source "package/kodi-pvr-octonet/Config.in" + source "package/kodi-pvr-pctv/Config.in" + source "package/kodi-pvr-plutotv/Config.in" + source "package/kodi-pvr-stalker/Config.in" + source "package/kodi-pvr-vbox/Config.in" + source "package/kodi-pvr-vdr-vnsi/Config.in" + source "package/kodi-pvr-vuplus/Config.in" + source "package/kodi-pvr-waipu/Config.in" + source "package/kodi-pvr-wmc/Config.in" + source "package/kodi-pvr-zattoo/Config.in" +endmenu + +menu "Screensavers" + source "package/kodi-screensaver-asteroids/Config.in" + source "package/kodi-screensaver-asterwave/Config.in" + source "package/kodi-screensaver-biogenesis/Config.in" + source "package/kodi-screensaver-cpblobs/Config.in" + source "package/kodi-screensaver-greynetic/Config.in" + source "package/kodi-screensaver-matrixtrails/Config.in" + source "package/kodi-screensaver-pingpong/Config.in" + source "package/kodi-screensaver-pyro/Config.in" + source "package/kodi-screensaver-rsxs/Config.in" + source "package/kodi-screensaver-stars/Config.in" +endmenu + +menu "Skins" + source "package/kodi-skin-confluence/Config.in" +endmenu + +menu "Virtual file systems" + source "package/kodi-vfs-libarchive/Config.in" + source "package/kodi-vfs-rar/Config.in" + source "package/kodi-vfs-sftp/Config.in" +endmenu + +menu "Visualisations" + source "package/kodi-visualisation-fishbmc/Config.in" + source "package/kodi-visualisation-goom/Config.in" + source "package/kodi-visualisation-matrix/Config.in" + source "package/kodi-visualisation-shadertoy/Config.in" + source "package/kodi-visualisation-spectrum/Config.in" + source "package/kodi-visualisation-starburst/Config.in" + source "package/kodi-visualisation-waveform/Config.in" +endmenu + +endif # BR2_PACKAGE_KODI diff --git a/buildroot-2021.05/package/kodi/S50kodi b/buildroot-2022.02.1/package/kodi/S50kodi similarity index 100% rename from buildroot-2021.05/package/kodi/S50kodi rename to buildroot-2022.02.1/package/kodi/S50kodi diff --git a/buildroot-2021.05/package/kodi/br-kodi b/buildroot-2022.02.1/package/kodi/br-kodi similarity index 100% rename from buildroot-2021.05/package/kodi/br-kodi rename to buildroot-2022.02.1/package/kodi/br-kodi diff --git a/buildroot-2022.02.1/package/kodi/kodi.hash b/buildroot-2022.02.1/package/kodi/kodi.hash new file mode 100644 index 00000000..7f96af38 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi/kodi.hash @@ -0,0 +1,6 @@ +# Locally computed +sha256 440f47e475dd8a48e0a6d41349e83b74890f3fbe8275d3e401d3c50f5b9ea09b kodi-19.3-Matrix.tar.gz +sha256 38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d kodi-libdvdcss-1.4.2-Leia-Beta-5.tar.gz +sha256 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a kodi-libdvdnav-6.0.0-Leia-Alpha-3.tar.gz +sha256 a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf kodi-libdvdread-6.0.0-Leia-Alpha-3.tar.gz +sha256 9d2396ef3e091d3b82bc84143e070700412984e8589513570f54e0675d1e8851 LICENSE.md diff --git a/buildroot-2022.02.1/package/kodi/kodi.mk b/buildroot-2022.02.1/package/kodi/kodi.mk new file mode 100644 index 00000000..58ad1154 --- /dev/null +++ b/buildroot-2022.02.1/package/kodi/kodi.mk @@ -0,0 +1,401 @@ +################################################################################ +# +# kodi +# +################################################################################ + +# When updating the version, please also update kodi-jsonschemabuilder +# and kodi-texturepacker +KODI_VERSION_MAJOR = 19.3 +KODI_VERSION_NAME = Matrix +KODI_VERSION = $(KODI_VERSION_MAJOR)-$(KODI_VERSION_NAME) +KODI_SITE = $(call github,xbmc,xbmc,$(KODI_VERSION)) +KODI_LICENSE = GPL-2.0 +KODI_LICENSE_FILES = LICENSE.md +KODI_CPE_ID_VENDOR = kodi +KODI_CPE_ID_VERSION = $(KODI_VERSION_MAJOR) +# needed for binary addons +KODI_INSTALL_STAGING = YES +# kodi recommends building out-of-source +KODI_SUPPORTS_IN_SOURCE_BUILD = NO +KODI_DEPENDENCIES = \ + ffmpeg \ + flatbuffers \ + fmt \ + fontconfig \ + freetype \ + fstrcmp \ + host-flatbuffers \ + host-gawk \ + host-gettext \ + host-gperf \ + host-kodi-jsonschemabuilder \ + host-kodi-texturepacker \ + host-nasm \ + host-swig \ + host-xmlstarlet \ + libass \ + libcdio \ + libcrossguid \ + libcurl \ + libdrm \ + libegl \ + libfribidi \ + libplist \ + lzo \ + openssl \ + pcre \ + python3 \ + rapidjson \ + spdlog \ + sqlite \ + taglib \ + tinyxml \ + zlib + +# taken from tools/depends/target/*/*-VERSION +KODI_LIBDVDCSS_VERSION = 1.4.2-Leia-Beta-5 +KODI_LIBDVDNAV_VERSION = 6.0.0-Leia-Alpha-3 +KODI_LIBDVDREAD_VERSION = 6.0.0-Leia-Alpha-3 +KODI_EXTRA_DOWNLOADS += \ + $(call github,xbmc,libdvdcss,$(KODI_LIBDVDCSS_VERSION))/kodi-libdvdcss-$(KODI_LIBDVDCSS_VERSION).tar.gz \ + $(call github,xbmc,libdvdnav,$(KODI_LIBDVDNAV_VERSION))/kodi-libdvdnav-$(KODI_LIBDVDNAV_VERSION).tar.gz \ + $(call github,xbmc,libdvdread,$(KODI_LIBDVDREAD_VERSION))/kodi-libdvdread-$(KODI_LIBDVDREAD_VERSION).tar.gz + +KODI_CONF_OPTS += \ + -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(KODI_C_FLAGS)" \ + -DENABLE_APP_AUTONAME=OFF \ + -DENABLE_CCACHE=OFF \ + -DENABLE_DVDCSS=ON \ + -DENABLE_INTERNAL_CROSSGUID=OFF \ + -DWITH_FFMPEG=$(STAGING_DIR)/usr \ + -DENABLE_INTERNAL_FLATBUFFERS=OFF \ + -DFLATBUFFERS_FLATC_EXECUTABLE=$(HOST_DIR)/bin/flatc \ + -DKODI_DEPENDSBUILD=OFF \ + -DENABLE_LDGOLD=OFF \ + -DNATIVEPREFIX=$(HOST_DIR) \ + -DDEPENDS_PATH=$(STAGING_DIR)/usr \ + -DENABLE_TESTING=OFF \ + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python \ + -DPYTHON_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + -DPYTHON_PATH=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) \ + -DPYTHON_VER=$(PYTHON3_VERSION_MAJOR) \ + -DWITH_JSONSCHEMABUILDER=$(HOST_DIR)/bin/JsonSchemaBuilder \ + -DWITH_TEXTUREPACKER=$(HOST_DIR)/bin/TexturePacker \ + -DLIBDVDCSS_URL=$(KODI_DL_DIR)/kodi-libdvdcss-$(KODI_LIBDVDCSS_VERSION).tar.gz \ + -DLIBDVDNAV_URL=$(KODI_DL_DIR)/kodi-libdvdnav-$(KODI_LIBDVDNAV_VERSION).tar.gz \ + -DLIBDVDREAD_URL=$(KODI_DL_DIR)/kodi-libdvdread-$(KODI_LIBDVDREAD_VERSION).tar.gz + +ifeq ($(BR2_PACKAGE_KODI_RENDER_SYSTEM_GL),y) +KODI_CONF_OPTS += -DAPP_RENDER_SYSTEM=gl +KODI_DEPENDENCIES += libgl libglu +else ifeq ($(BR2_PACKAGE_KODI_RENDER_SYSTEM_GLES),y) +KODI_CONF_OPTS += -DAPP_RENDER_SYSTEM=gles +KODI_DEPENDENCIES += libgles +endif + +ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_GBM),y) +KODI_CORE_PLATFORM_NAME += gbm +KODI_DEPENDENCIES += libgbm libinput libxkbcommon +endif + +ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_WAYLAND),y) +KODI_CONF_OPTS += \ + -DPC_WAYLANDPP_SCANNER=$(HOST_DIR)/bin/wayland-scanner \ + -DPC_WAYLANDPP_SCANNER_FOUND=ON +KODI_CORE_PLATFORM_NAME += wayland +KODI_DEPENDENCIES += libxkbcommon waylandpp +endif + +ifeq ($(BR2_PACKAGE_KODI_PLATFORM_SUPPORTS_X11),y) +KODI_CORE_PLATFORM_NAME += x11 +KODI_DEPENDENCIES += \ + xlib_libX11 \ + xlib_libXext \ + xlib_libXrandr +endif + +KODI_CONF_OPTS += -DCORE_PLATFORM_NAME="$(KODI_CORE_PLATFORM_NAME)" + +ifeq ($(BR2_ENABLE_LOCALE),) +KODI_DEPENDENCIES += libiconv +endif + +ifeq ($(BR2_arceb)$(BR2_arcle),y) +KODI_CONF_OPTS += -DWITH_ARCH=arc -DWITH_CPU=arc +else ifeq ($(BR2_armeb),y) +KODI_CONF_OPTS += -DWITH_ARCH=arm -DWITH_CPU=arm +else ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) +KODI_CONF_OPTS += \ + -DWITH_ARCH=mips$(if $(BR2_ARCH_IS_64),64) \ + -DWITH_CPU=mips$(if $(BR2_ARCH_IS_64),64) +else ifeq ($(BR2_powerpc)$(BR2_powerpc64le),y) +KODI_CONF_OPTS += \ + -DWITH_ARCH=powerpc$(if $(BR2_ARCH_IS_64),64) \ + -DWITH_CPU=powerpc$(if $(BR2_ARCH_IS_64),64) +else ifeq ($(BR2_powerpc64)$(BR2_sparc64)$(BR2_sh4)$(BR2_xtensa),y) +KODI_CONF_OPTS += -DWITH_ARCH=$(BR2_ARCH) -DWITH_CPU=$(BR2_ARCH) +else +# Kodi auto-detects ARCH, tested: arm, aarch64, i386, x86_64 +# see project/cmake/scripts/linux/ArchSetup.cmake +KODI_CONF_OPTS += -DWITH_CPU=$(BR2_ARCH) +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE),y) +KODI_CONF_OPTS += -D_SSE_OK=ON -D_SSE_TRUE=ON +else +KODI_CONF_OPTS += -D_SSE_OK=OFF -D_SSE_TRUE=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE2),y) +KODI_CONF_OPTS += -D_SSE2_OK=ON -D_SSE2_TRUE=ON +else +KODI_CONF_OPTS += -D_SSE2_OK=OFF -D_SSE2_TRUE=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE3),y) +KODI_CONF_OPTS += -D_SSE3_OK=ON -D_SSE3_TRUE=ON +else +KODI_CONF_OPTS += -D_SSE3_OK=OFF -D_SSE3_TRUE=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_SSSE3),y) +KODI_CONF_OPTS += -D_SSSE3_OK=ON -D_SSSE3_TRUE=ON +else +KODI_CONF_OPTS += -D_SSSE3_OK=OFF -D_SSSE3_TRUE=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE4),y) +KODI_CONF_OPTS += -D_SSE41_OK=ON -D_SSE41_TRUE=ON +else +KODI_CONF_OPTS += -D_SSE41_OK=OFF -D_SSE41_TRUE=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE42),y) +KODI_CONF_OPTS += -D_SSE42_OK=ON -D_SSE42_TRUE=ON +else +KODI_CONF_OPTS += -D_SSE42_OK=OFF -D_SSE42_TRUE=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_AVX),y) +KODI_CONF_OPTS += -D_AVX_OK=ON -D_AVX_TRUE=ON +else +KODI_CONF_OPTS += -D_AVX_OK=OFF -D_AVX_TRUE=OFF +endif + +ifeq ($(BR2_X86_CPU_HAS_AVX2),y) +KODI_CONF_OPTS += -D_AVX2_OK=ON -D_AVX2_TRUE=ON +else +KODI_CONF_OPTS += -D_AVX2_OK=OFF -D_AVX2_TRUE=OFF +endif + +# mips: uses __atomic_load_8 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +KODI_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),) +KODI_C_FLAGS += -std=gnu99 +endif + +ifeq ($(BR2_PACKAGE_KODI_MYSQL),y) +KODI_CONF_OPTS += -DENABLE_MYSQLCLIENT=ON +KODI_DEPENDENCIES += mysql +else +KODI_CONF_OPTS += -DENABLE_MYSQLCLIENT=OFF +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +KODI_CONF_OPTS += -DENABLE_UDEV=ON +KODI_DEPENDENCIES += udev +else +KODI_CONF_OPTS += -DENABLE_UDEV=OFF +ifeq ($(BR2_PACKAGE_KODI_LIBUSB),y) +KODI_CONF_OPTS += -DENABLE_LIBUSB=ON +KODI_DEPENDENCIES += libusb-compat +else +KODI_CONF_OPTS += -DENABLE_LIBUSB=OFF +endif +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +KODI_CONF_OPTS += -DENABLE_CAP=ON +KODI_DEPENDENCIES += libcap +else +KODI_CONF_OPTS += -DENABLE_CAP=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBXML2)$(BR2_PACKAGE_LIBXSLT),yy) +KODI_CONF_OPTS += -DENABLE_XSLT=ON +KODI_DEPENDENCIES += libxml2 libxslt +else +KODI_CONF_OPTS += -DENABLE_XSLT=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_BLUEZ),y) +KODI_CONF_OPTS += -DENABLE_BLUETOOTH=ON +KODI_DEPENDENCIES += bluez5_utils +else +KODI_CONF_OPTS += -DENABLE_BLUETOOTH=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_DBUS),y) +KODI_DEPENDENCIES += dbus +KODI_CONF_OPTS += -DENABLE_DBUS=ON +else +KODI_CONF_OPTS += -DENABLE_DBUS=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_EVENTCLIENTS),y) +KODI_CONF_OPTS += -DENABLE_EVENTCLIENTS=ON +else +KODI_CONF_OPTS += -DENABLE_EVENTCLIENTS=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_ALSA_LIB),y) +KODI_CONF_OPTS += -DENABLE_ALSA=ON +KODI_DEPENDENCIES += alsa-lib +else +KODI_CONF_OPTS += -DENABLE_ALSA=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_LIBMICROHTTPD),y) +KODI_CONF_OPTS += -DENABLE_MICROHTTPD=ON +KODI_DEPENDENCIES += libmicrohttpd +else +KODI_CONF_OPTS += -DENABLE_MICROHTTPD=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_LIBSMBCLIENT),y) +KODI_DEPENDENCIES += samba4 +KODI_CONF_OPTS += -DENABLE_SMBCLIENT=ON +else +KODI_CONF_OPTS += -DENABLE_SMBCLIENT=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_LIBNFS),y) +KODI_DEPENDENCIES += libnfs +KODI_CONF_OPTS += -DENABLE_NFS=ON +else +KODI_CONF_OPTS += -DENABLE_NFS=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_LIBBLURAY),y) +KODI_DEPENDENCIES += libbluray +KODI_CONF_OPTS += -DENABLE_BLURAY=ON +else +KODI_CONF_OPTS += -DENABLE_BLURAY=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_LIBSHAIRPLAY),y) +KODI_DEPENDENCIES += libshairplay +KODI_CONF_OPTS += -DENABLE_AIRTUNES=ON +else +KODI_CONF_OPTS += -DENABLE_AIRTUNES=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_AVAHI),y) +KODI_DEPENDENCIES += avahi +KODI_CONF_OPTS += -DENABLE_AVAHI=ON +else +KODI_CONF_OPTS += -DENABLE_AVAHI=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_LIBCEC),y) +KODI_DEPENDENCIES += libcec +KODI_CONF_OPTS += -DENABLE_CEC=ON +else +KODI_CONF_OPTS += -DENABLE_CEC=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_LCMS2),y) +KODI_DEPENDENCIES += lcms2 +KODI_CONF_OPTS += -DENABLE_LCMS2=ON +else +KODI_CONF_OPTS += -DENABLE_LCMS2=OFF +endif + +ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y) +KODI_DEPENDENCIES += lirc-tools +endif + +ifeq ($(BR2_PACKAGE_LIBVA),y) +KODI_DEPENDENCIES += libva +KODI_CONF_OPTS += -DENABLE_VAAPI=ON +else +KODI_CONF_OPTS += -DENABLE_VAAPI=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_LIBVDPAU),y) +KODI_DEPENDENCIES += libvdpau +KODI_CONF_OPTS += -DENABLE_VDPAU=ON +else +KODI_CONF_OPTS += -DENABLE_VDPAU=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_UPNP),y) +KODI_CONF_OPTS += -DENABLE_UPNP=ON +else +KODI_CONF_OPTS += -DENABLE_UPNP=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_OPTICALDRIVE),y) +KODI_CONF_OPTS += -DENABLE_OPTICAL=ON +else +KODI_CONF_OPTS += -DENABLE_OPTICAL=OFF +endif + +ifeq ($(BR2_PACKAGE_KODI_PULSEAUDIO),y) +KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=ON +KODI_DEPENDENCIES += pulseaudio +else +KODI_CONF_OPTS += -DENABLE_PULSEAUDIO=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBUDFREAD),y) +KODI_DEPENDENCIES += libudfread +else +KODI_CONF_OPTS += -DENABLE_INTERNAL_UDFREAD=OFF +endif + +# Remove versioncheck addon, updating Kodi is done by building a new +# buildroot image. +KODI_ADDON_MANIFEST = $(TARGET_DIR)/usr/share/kodi/system/addon-manifest.xml +define KODI_CLEAN_UNUSED_ADDONS + rm -Rf $(TARGET_DIR)/usr/share/kodi/addons/service.xbmc.versioncheck + $(HOST_DIR)/bin/xml ed -L \ + -d "/addons/addon[text()='service.xbmc.versioncheck']" \ + $(KODI_ADDON_MANIFEST) +endef +KODI_POST_INSTALL_TARGET_HOOKS += KODI_CLEAN_UNUSED_ADDONS + +define KODI_INSTALL_BR_WRAPPER + $(INSTALL) -D -m 0755 package/kodi/br-kodi \ + $(TARGET_DIR)/usr/bin/br-kodi +endef +KODI_POST_INSTALL_TARGET_HOOKS += KODI_INSTALL_BR_WRAPPER + +# When run from a startup script, Kodi has no $HOME where to store its +# configuration, so ends up storing it in /.kodi (yes, at the root of +# the rootfs). This is a problem for read-only filesystems. But we can't +# easily change that, so create /.kodi as a symlink where we want the +# config to eventually be. Add synlinks for the legacy XBMC name as well +define KODI_INSTALL_CONFIG_DIR + $(INSTALL) -d -m 0755 $(TARGET_DIR)/var/kodi + ln -sf /var/kodi $(TARGET_DIR)/.kodi + ln -sf /var/kodi $(TARGET_DIR)/var/xbmc + ln -sf /var/kodi $(TARGET_DIR)/.xbmc +endef +KODI_POST_INSTALL_TARGET_HOOKS += KODI_INSTALL_CONFIG_DIR + +define KODI_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/kodi/S50kodi \ + $(TARGET_DIR)/etc/init.d/S50kodi +endef + +define KODI_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/kodi/kodi.service \ + $(TARGET_DIR)/usr/lib/systemd/system/kodi.service +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/kodi/kodi.service b/buildroot-2022.02.1/package/kodi/kodi.service similarity index 100% rename from buildroot-2021.05/package/kodi/kodi.service rename to buildroot-2022.02.1/package/kodi/kodi.service diff --git a/buildroot-2021.05/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch b/buildroot-2022.02.1/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch similarity index 100% rename from buildroot-2021.05/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch rename to buildroot-2022.02.1/package/kompexsqlite/0001-Makefile-use-autoconf-CXX-for-proper-builds.patch diff --git a/buildroot-2021.05/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch b/buildroot-2022.02.1/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch similarity index 100% rename from buildroot-2021.05/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch rename to buildroot-2022.02.1/package/kompexsqlite/0002-append-to-cflags-and-cxxflags.patch diff --git a/buildroot-2021.05/package/kompexsqlite/Config.in b/buildroot-2022.02.1/package/kompexsqlite/Config.in similarity index 100% rename from buildroot-2021.05/package/kompexsqlite/Config.in rename to buildroot-2022.02.1/package/kompexsqlite/Config.in diff --git a/buildroot-2021.05/package/kompexsqlite/kompexsqlite.hash b/buildroot-2022.02.1/package/kompexsqlite/kompexsqlite.hash similarity index 100% rename from buildroot-2021.05/package/kompexsqlite/kompexsqlite.hash rename to buildroot-2022.02.1/package/kompexsqlite/kompexsqlite.hash diff --git a/buildroot-2021.05/package/kompexsqlite/kompexsqlite.mk b/buildroot-2022.02.1/package/kompexsqlite/kompexsqlite.mk similarity index 100% rename from buildroot-2021.05/package/kompexsqlite/kompexsqlite.mk rename to buildroot-2022.02.1/package/kompexsqlite/kompexsqlite.mk diff --git a/buildroot-2022.02.1/package/ksmbd-tools/Config.in b/buildroot-2022.02.1/package/ksmbd-tools/Config.in new file mode 100644 index 00000000..ce1850e0 --- /dev/null +++ b/buildroot-2022.02.1/package/ksmbd-tools/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_KSMBD_TOOLS + bool "ksmbd-tools" + depends on BR2_USE_MMU # fork() + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libnl + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBNL + help + ksmbd kernel server userspace utilities. + + https://github.com/cifsd-team/ksmbd-tools + +comment "ksmbd-tools needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/ksmbd-tools/ksmbd-tools.hash b/buildroot-2022.02.1/package/ksmbd-tools/ksmbd-tools.hash new file mode 100644 index 00000000..d146f36a --- /dev/null +++ b/buildroot-2022.02.1/package/ksmbd-tools/ksmbd-tools.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 f42aec21515e34305bc07e1ce2c4926c87ea7bc8a675ca6d0a453f6b6be34e2b ksmbd-tools-3.4.4.tar.gz +sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING diff --git a/buildroot-2022.02.1/package/ksmbd-tools/ksmbd-tools.mk b/buildroot-2022.02.1/package/ksmbd-tools/ksmbd-tools.mk new file mode 100644 index 00000000..b08845b5 --- /dev/null +++ b/buildroot-2022.02.1/package/ksmbd-tools/ksmbd-tools.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# ksmbd-tools +# +################################################################################ + +KSMBD_TOOLS_VERSION = 3.4.4 +KSMBD_TOOLS_SITE = https://github.com/cifsd-team/ksmbd-tools/releases/download/$(KSMBD_TOOLS_VERSION) +KSMBD_TOOLS_LICENSE = GPL-2.0+ +KSMBD_TOOLS_LICENSE_FILES = COPYING +KSMBD_TOOLS_DEPENDENCIES = host-pkgconf libglib2 libnl + +ifeq ($(BR2_PACKAGE_LIBKRB5),y) +KSMBD_TOOLS_CONF_OPTS += --enable-krb5 +KSMBD_TOOLS_DEPENDENCIES += libkrb5 +else +KSMBD_TOOLS_CONF_OPTS += --disable-krb5 +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ktap/Config.in b/buildroot-2022.02.1/package/ktap/Config.in similarity index 100% rename from buildroot-2021.05/package/ktap/Config.in rename to buildroot-2022.02.1/package/ktap/Config.in diff --git a/buildroot-2021.05/package/ktap/ktap.hash b/buildroot-2022.02.1/package/ktap/ktap.hash similarity index 100% rename from buildroot-2021.05/package/ktap/ktap.hash rename to buildroot-2022.02.1/package/ktap/ktap.hash diff --git a/buildroot-2022.02.1/package/ktap/ktap.mk b/buildroot-2022.02.1/package/ktap/ktap.mk new file mode 100644 index 00000000..eec8b75b --- /dev/null +++ b/buildroot-2022.02.1/package/ktap/ktap.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# ktap +# +################################################################################ + +KTAP_VERSION = 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f +KTAP_SITE = $(call github,ktap,ktap,$(KTAP_VERSION)) +KTAP_LICENSE = GPL-2.0 +KTAP_LICENSE_FILES = LICENSE-GPL + +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +KTAP_DEPENDENCIES += elfutils +else +KTAP_FLAGS += NO_LIBELF=1 +endif + +define KTAP_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) $(KTAP_FLAGS) ktap +endef + +define KTAP_INSTALL_TARGET_CMDS + $(INSTALL) -D -m755 $(@D)/ktap $(TARGET_DIR)/usr/bin/ktap +endef + +KTAP_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED) + +define KTAP_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS) + $(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS) + $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS) + $(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER) +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/kvazaar/Config.in b/buildroot-2022.02.1/package/kvazaar/Config.in similarity index 100% rename from buildroot-2021.05/package/kvazaar/Config.in rename to buildroot-2022.02.1/package/kvazaar/Config.in diff --git a/buildroot-2021.05/package/kvazaar/kvazaar.hash b/buildroot-2022.02.1/package/kvazaar/kvazaar.hash similarity index 100% rename from buildroot-2021.05/package/kvazaar/kvazaar.hash rename to buildroot-2022.02.1/package/kvazaar/kvazaar.hash diff --git a/buildroot-2021.05/package/kvazaar/kvazaar.mk b/buildroot-2022.02.1/package/kvazaar/kvazaar.mk similarity index 100% rename from buildroot-2021.05/package/kvazaar/kvazaar.mk rename to buildroot-2022.02.1/package/kvazaar/kvazaar.mk diff --git a/buildroot-2021.05/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch b/buildroot-2022.02.1/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch similarity index 100% rename from buildroot-2021.05/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch rename to buildroot-2022.02.1/package/kvm-unit-tests/0001-Makefile-remove-Werror-to-avoid-build-failures.patch diff --git a/buildroot-2022.02.1/package/kvm-unit-tests/0002-kvm-unit-tests-test-for-rdseed-rdrand.patch b/buildroot-2022.02.1/package/kvm-unit-tests/0002-kvm-unit-tests-test-for-rdseed-rdrand.patch new file mode 100644 index 00000000..1a1a90ce --- /dev/null +++ b/buildroot-2022.02.1/package/kvm-unit-tests/0002-kvm-unit-tests-test-for-rdseed-rdrand.patch @@ -0,0 +1,110 @@ +From 8d9a62a5fa89001266352a929c5d40b28c0dda85 Mon Sep 17 00:00:00 2001 +From: Matt Weber +Date: Fri, 12 Jan 2018 19:07:27 -0600 +Subject: [PATCH] kvm-unit-tests: test for rdseed/rdrand + +The build fails when the host binutils isn't at least 2.23 +(2.22.x introduced RDSEED). + +Fixes: +http://autobuild.buildroot.net/results/c39/c3987a3cbd2960b0ff50f872636bdfd8d1a9c820/ + +Upstream: +https://marc.info/?l=kvm&m=151580743523259&w=2 + +Signed-off-by: Matthew Weber +--- + Makefile | 2 +- + configure | 18 ++++++++++++++++++ + x86/vmx_tests.c | 6 ++++++ + 3 files changed, 25 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index d9ad42b..799e9b5 100644 +--- a/Makefile ++++ b/Makefile +@@ -50,7 +50,7 @@ include $(SRCDIR)/$(TEST_DIR)/Makefile + cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \ + > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) + +-COMMON_CFLAGS += -g $(autodepend-flags) ++COMMON_CFLAGS += -g $(autodepend-flags) $(EXTRA_CFLAGS) + COMMON_CFLAGS += -Wall -Wwrite-strings -Wclobbered -Wempty-body -Wuninitialized + COMMON_CFLAGS += -Wignored-qualifiers -Wunused-but-set-parameter + frame-pointer-flag=-f$(if $(KEEP_FRAME_POINTER),no-,)omit-frame-pointer +diff --git a/configure b/configure +index dd9d361..21c0219 100755 +--- a/configure ++++ b/configure +@@ -171,6 +171,23 @@ mkdir -p lib + ln -sf "$asm" lib/asm + + ++cat > rd_test.c < ++int main() { ++ uint16_t seed=0; ++ unsigned char ok; ++ asm volatile ("rdseed %0; setc %1" ++ : "=r" (seed), "=qm" (ok)); ++ return ok; ++} ++EOF ++if $cross_prefix$cc -o /dev/null rd_test.c &> /dev/null; then ++ echo "Checking for rdseed/rdrand... Yes." ++else ++ echo "Checking for rdseed/rdrand... No." ++ extra_cflags="-DNO_RDSEEDRAND" ++fi ++ + # create the config + cat < config.mak + SRCDIR=$srcdir +@@ -181,6 +198,7 @@ ARCH_NAME=$arch_name + PROCESSOR=$processor + CC=$cross_prefix$cc + CXX=$cross_prefix$cxx ++EXTRA_CFLAGS=$extra_cflags + LD=$cross_prefix$ld + OBJCOPY=$cross_prefix$objcopy + OBJDUMP=$cross_prefix$objdump +diff --git a/x86/vmx_tests.c b/x86/vmx_tests.c +index 4a3e94b..2cbe3eb 100644 +--- a/x86/vmx_tests.c ++++ b/x86/vmx_tests.c +@@ -770,8 +770,10 @@ asm( + "insn_sldt: sldt %ax;ret\n\t" + "insn_lldt: xor %eax, %eax; lldt %ax;ret\n\t" + "insn_str: str %ax;ret\n\t" ++#ifndef NO_RDSEEDRAND + "insn_rdrand: rdrand %rax;ret\n\t" + "insn_rdseed: rdseed %rax;ret\n\t" ++#endif + ); + extern void insn_hlt(); + extern void insn_invlpg(); +@@ -796,8 +798,10 @@ extern void insn_lldt(); + extern void insn_str(); + extern void insn_cpuid(); + extern void insn_invd(); ++#ifndef NO_RDSEEDRAND + extern void insn_rdrand(); + extern void insn_rdseed(); ++#endif + + u32 cur_insn; + u64 cr3; +@@ -853,8 +857,10 @@ static struct insn_table insn_table[] = { + {"DESC_TABLE (LLDT)", CPU_DESC_TABLE, insn_lldt, INSN_CPU1, 47, 0, 0, 0}, + {"DESC_TABLE (STR)", CPU_DESC_TABLE, insn_str, INSN_CPU1, 47, 0, 0, 0}, + /* LTR causes a #GP if done with a busy selector, so it is not tested. */ ++#ifndef NO_RDSEEDRAND + {"RDRAND", CPU_RDRAND, insn_rdrand, INSN_CPU1, VMX_RDRAND, 0, 0, 0}, + {"RDSEED", CPU_RDSEED, insn_rdseed, INSN_CPU1, VMX_RDSEED, 0, 0, 0}, ++#endif + // Instructions always trap + {"CPUID", 0, insn_cpuid, INSN_ALWAYS_TRAP, 10, 0, 0, 0}, + {"INVD", 0, insn_invd, INSN_ALWAYS_TRAP, 13, 0, 0, 0}, +-- +1.9.1 + diff --git a/buildroot-2021.05/package/kvm-unit-tests/0003-Makefile-fix-stack-protector-tests.patch b/buildroot-2022.02.1/package/kvm-unit-tests/0003-Makefile-fix-stack-protector-tests.patch similarity index 100% rename from buildroot-2021.05/package/kvm-unit-tests/0003-Makefile-fix-stack-protector-tests.patch rename to buildroot-2022.02.1/package/kvm-unit-tests/0003-Makefile-fix-stack-protector-tests.patch diff --git a/buildroot-2022.02.1/package/kvm-unit-tests/0004-Fix-powerpc-issue-with-the-linker-from-Fedora-32.patch b/buildroot-2022.02.1/package/kvm-unit-tests/0004-Fix-powerpc-issue-with-the-linker-from-Fedora-32.patch new file mode 100644 index 00000000..1768c668 --- /dev/null +++ b/buildroot-2022.02.1/package/kvm-unit-tests/0004-Fix-powerpc-issue-with-the-linker-from-Fedora-32.patch @@ -0,0 +1,61 @@ +From 5126732d73aa75a0bc84f898042bfe35640624b8 Mon Sep 17 00:00:00 2001 +From: Thomas Huth +Date: Wed, 13 May 2020 13:14:46 +0200 +Subject: [PATCH] Fix powerpc issue with the linker from Fedora 32 + +The linker from Fedora 32 complains: + +powerpc64-linux-gnu-ld: powerpc/selftest.elf: error: PHDR segment not + covered by LOAD segment + +Let's introduce some fake PHDRs to the linker script to get this +working again. + +Message-Id: <20200514192626.9950-7-thuth@redhat.com> +Signed-off-by: Thomas Huth +Signed-off-by: Matthew Weber +--- + powerpc/flat.lds | 19 ++++++++++++++++--- + 1 file changed, 16 insertions(+), 3 deletions(-) + +diff --git a/powerpc/flat.lds b/powerpc/flat.lds +index 53221e8..5eed368 100644 +--- a/powerpc/flat.lds ++++ b/powerpc/flat.lds +@@ -1,7 +1,17 @@ + ++PHDRS ++{ ++ text PT_LOAD FLAGS(5); ++ data PT_LOAD FLAGS(6); ++} ++ + SECTIONS + { +- .text : { *(.init) *(.text) *(.text.*) } ++ .text : { ++ *(.init) ++ *(.text) ++ *(.text.*) ++ } :text + . = ALIGN(64K); + etext = .; + .opd : { *(.opd) } +@@ -19,9 +29,12 @@ SECTIONS + .data : { + *(.data) + *(.data.rel*) +- } ++ } :data + . = ALIGN(16); +- .rodata : { *(.rodata) *(.rodata.*) } ++ .rodata : { ++ *(.rodata) ++ *(.rodata.*) ++ } :data + . = ALIGN(16); + .bss : { *(.bss) } + . = ALIGN(256); +-- +2.17.1 + diff --git a/buildroot-2021.05/package/kvm-unit-tests/Config.in b/buildroot-2022.02.1/package/kvm-unit-tests/Config.in similarity index 100% rename from buildroot-2021.05/package/kvm-unit-tests/Config.in rename to buildroot-2022.02.1/package/kvm-unit-tests/Config.in diff --git a/buildroot-2021.05/package/kvm-unit-tests/kvm-unit-tests.hash b/buildroot-2022.02.1/package/kvm-unit-tests/kvm-unit-tests.hash similarity index 100% rename from buildroot-2021.05/package/kvm-unit-tests/kvm-unit-tests.hash rename to buildroot-2022.02.1/package/kvm-unit-tests/kvm-unit-tests.hash diff --git a/buildroot-2021.05/package/kvm-unit-tests/kvm-unit-tests.mk b/buildroot-2022.02.1/package/kvm-unit-tests/kvm-unit-tests.mk similarity index 100% rename from buildroot-2021.05/package/kvm-unit-tests/kvm-unit-tests.mk rename to buildroot-2022.02.1/package/kvm-unit-tests/kvm-unit-tests.mk diff --git a/buildroot-2021.05/package/kvmtool/Config.in b/buildroot-2022.02.1/package/kvmtool/Config.in similarity index 100% rename from buildroot-2021.05/package/kvmtool/Config.in rename to buildroot-2022.02.1/package/kvmtool/Config.in diff --git a/buildroot-2021.05/package/kvmtool/kvmtool.hash b/buildroot-2022.02.1/package/kvmtool/kvmtool.hash similarity index 100% rename from buildroot-2021.05/package/kvmtool/kvmtool.hash rename to buildroot-2022.02.1/package/kvmtool/kvmtool.hash diff --git a/buildroot-2022.02.1/package/kvmtool/kvmtool.mk b/buildroot-2022.02.1/package/kvmtool/kvmtool.mk new file mode 100644 index 00000000..df6ae7e0 --- /dev/null +++ b/buildroot-2022.02.1/package/kvmtool/kvmtool.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# kvmtool +# +################################################################################ + +KVMTOOL_VERSION = f77d646ba01d04be5aad9449ac00719c043fe36e +KVMTOOL_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git +KVMTOOL_SITE_METHOD = git +KVMTOOL_DEPENDENCIES = \ + $(if $(BR2_PACKAGE_BINUTILS),binutils) \ + $(if $(BR2_PACKAGE_DTC),dtc) \ + $(if $(BR2_PACKAGE_LIBAIO),libaio) \ + $(if $(BR2_PACKAGE_LIBGTK3),libgtk3) \ + $(if $(BR2_PACKAGE_LIBVNCSERVER),libvncserver) \ + $(if $(BR2_PACKAGE_SDL),sdl) \ + $(if $(BR2_PACKAGE_ZLIB),zlib) +KVMTOOL_LICENSE = GPL-2.0 +KVMTOOL_LICENSE_FILES = COPYING + +# Disable -Werror, otherwise musl is not happy +KVMTOOL_MAKE_OPTS = \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + LDFLAGS="$(TARGET_LDFLAGS) $(KVMTOOL_EXTRA_LDFLAGS)" \ + WERROR=0 + +define KVMTOOL_BUILD_CMDS + $(TARGET_MAKE_ENV) ARCH=$(NORMALIZED_ARCH) $(MAKE) -C $(@D) $(KVMTOOL_MAKE_OPTS) +endef + +define KVMTOOL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) ARCH=$(NORMALIZED_ARCH) $(MAKE) -C $(@D) \ + $(KVMTOOL_MAKE_OPTS) install DESTDIR=$(TARGET_DIR) prefix=/usr +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/kyua/Config.in b/buildroot-2022.02.1/package/kyua/Config.in similarity index 100% rename from buildroot-2021.05/package/kyua/Config.in rename to buildroot-2022.02.1/package/kyua/Config.in diff --git a/buildroot-2021.05/package/kyua/kyua.hash b/buildroot-2022.02.1/package/kyua/kyua.hash similarity index 100% rename from buildroot-2021.05/package/kyua/kyua.hash rename to buildroot-2022.02.1/package/kyua/kyua.hash diff --git a/buildroot-2021.05/package/kyua/kyua.mk b/buildroot-2022.02.1/package/kyua/kyua.mk similarity index 100% rename from buildroot-2021.05/package/kyua/kyua.mk rename to buildroot-2022.02.1/package/kyua/kyua.mk diff --git a/buildroot-2021.05/package/lame/Config.in b/buildroot-2022.02.1/package/lame/Config.in similarity index 100% rename from buildroot-2021.05/package/lame/Config.in rename to buildroot-2022.02.1/package/lame/Config.in diff --git a/buildroot-2021.05/package/lame/lame.hash b/buildroot-2022.02.1/package/lame/lame.hash similarity index 100% rename from buildroot-2021.05/package/lame/lame.hash rename to buildroot-2022.02.1/package/lame/lame.hash diff --git a/buildroot-2021.05/package/lame/lame.mk b/buildroot-2022.02.1/package/lame/lame.mk similarity index 100% rename from buildroot-2021.05/package/lame/lame.mk rename to buildroot-2022.02.1/package/lame/lame.mk diff --git a/buildroot-2022.02.1/package/lapack/0001-Fix-out-of-bounds-read-in-slarrv.patch b/buildroot-2022.02.1/package/lapack/0001-Fix-out-of-bounds-read-in-slarrv.patch new file mode 100644 index 00000000..43c6444b --- /dev/null +++ b/buildroot-2022.02.1/package/lapack/0001-Fix-out-of-bounds-read-in-slarrv.patch @@ -0,0 +1,82 @@ +From 0631b6beaed60ba118b0b027c0f8d35397bf5df0 Mon Sep 17 00:00:00 2001 +From: Keno Fischer +Date: Thu, 30 Sep 2021 03:51:23 -0400 +Subject: [PATCH] Fix out of bounds read in slarrv + +This was originally reported as https://github.com/JuliaLang/julia/issues/42415. +I've tracked this down to an our of bounds read on the following line: + +https://github.com/Reference-LAPACK/lapack/blob/44ecb6a5ff821b1cbb39f8cc2166cb098e060b4d/SRC/slarrv.f#L423 + +In the crashing example, `M` is `0`, causing `slarrv` to read uninitialized +memory from the work array. I believe the `0` for `M` is correct and indeed, +the documentation above supports that `M` may be zero: + +https://github.com/Reference-LAPACK/lapack/blob/44ecb6a5ff821b1cbb39f8cc2166cb098e060b4d/SRC/slarrv.f#L113-L116 + +I believe it may be sufficient to early-out this function as suggested +in this PR. However, I have limited context for the full routine here, +so I would appreciate a sanity check. + +[Retrieved from: +https://github.com/Reference-LAPACK/lapack/commit/38f3eeee3108b18158409ca2a100e6fe03754781] +Signed-off-by: Fabrice Fontaine +--- + SRC/clarrv.f | 2 +- + SRC/dlarrv.f | 2 +- + SRC/slarrv.f | 2 +- + SRC/zlarrv.f | 2 +- + 4 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/SRC/clarrv.f b/SRC/clarrv.f +index 1f09e4da6..42f710757 100644 +--- a/SRC/clarrv.f ++++ b/SRC/clarrv.f +@@ -348,7 +348,7 @@ SUBROUTINE CLARRV( N, VL, VU, D, L, PIVMIN, + * + * Quick return if possible + * +- IF( N.LE.0 ) THEN ++ IF( (N.LE.0).OR.(M.LE.0) ) THEN + RETURN + END IF + * +diff --git a/SRC/dlarrv.f b/SRC/dlarrv.f +index b036c1e66..299430361 100644 +--- a/SRC/dlarrv.f ++++ b/SRC/dlarrv.f +@@ -350,7 +350,7 @@ SUBROUTINE DLARRV( N, VL, VU, D, L, PIVMIN, + * + * Quick return if possible + * +- IF( N.LE.0 ) THEN ++ IF( (N.LE.0).OR.(M.LE.0) ) THEN + RETURN + END IF + * +diff --git a/SRC/slarrv.f b/SRC/slarrv.f +index 9d72b339a..95f94fd1b 100644 +--- a/SRC/slarrv.f ++++ b/SRC/slarrv.f +@@ -350,7 +350,7 @@ SUBROUTINE SLARRV( N, VL, VU, D, L, PIVMIN, + * + * Quick return if possible + * +- IF( N.LE.0 ) THEN ++ IF( (N.LE.0).OR.(M.LE.0) ) THEN + RETURN + END IF + * +diff --git a/SRC/zlarrv.f b/SRC/zlarrv.f +index 51ec558f5..e4be63e0d 100644 +--- a/SRC/zlarrv.f ++++ b/SRC/zlarrv.f +@@ -348,7 +348,7 @@ SUBROUTINE ZLARRV( N, VL, VU, D, L, PIVMIN, + * + * Quick return if possible + * +- IF( N.LE.0 ) THEN ++ IF( (N.LE.0).OR.(M.LE.0) ) THEN + RETURN + END IF + * diff --git a/buildroot-2022.02.1/package/lapack/Config.in b/buildroot-2022.02.1/package/lapack/Config.in new file mode 100644 index 00000000..4e92b49a --- /dev/null +++ b/buildroot-2022.02.1/package/lapack/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_LAPACK_ARCH_SUPPORTS + bool + default y + # _fpu_control is used on PowerPC, but not available with + # uClibc or musl + depends on !BR2_powerpc || BR2_TOOLCHAIN_USES_GLIBC + +comment "lapack/blas needs a glibc toolchain" + depends on BR2_powerpc + depends on !BR2_TOOLCHAIN_USES_GLIBC + +comment "lapack/blas needs a toolchain w/ fortran" + depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_FORTRAN + +config BR2_PACKAGE_LAPACK + bool "lapack/blas" + depends on BR2_PACKAGE_LAPACK_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_FORTRAN + help + LAPACK and BLAS FORTRAN implementation. This package + installs two libraries: libblas and liblapack. + + http://www.netlib.org/lapack/ + +config BR2_PACKAGE_LAPACK_COMPLEX + bool "Complex/Complex16 support" + default y + depends on BR2_PACKAGE_LAPACK + help + Builds support for COMPLEX and COMPLEX16 data types. diff --git a/buildroot-2022.02.1/package/lapack/lapack.hash b/buildroot-2022.02.1/package/lapack/lapack.hash new file mode 100644 index 00000000..6f6dbff1 --- /dev/null +++ b/buildroot-2022.02.1/package/lapack/lapack.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 328c1bea493a32cac5257d84157dc686cc3ab0b004e2bea22044e0a59f6f8a19 lapack-3.10.0.tar.gz +sha256 66246b7d3e6736aea46e63fd5e087659474d07edfe2f9b051d085d9b42aaac61 LICENSE diff --git a/buildroot-2022.02.1/package/lapack/lapack.mk b/buildroot-2022.02.1/package/lapack/lapack.mk new file mode 100644 index 00000000..60907584 --- /dev/null +++ b/buildroot-2022.02.1/package/lapack/lapack.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# lapack +# +################################################################################ + +LAPACK_VERSION = 3.10.0 +LAPACK_LICENSE = BSD-3-Clause +LAPACK_LICENSE_FILES = LICENSE +LAPACK_SITE = $(call github,Reference-LAPACK,lapack,v$(LAPACK_VERSION)) +LAPACK_CPE_ID_VENDOR = lapack_project +LAPACK_INSTALL_STAGING = YES +LAPACK_SUPPORTS_IN_SOURCE_BUILD = NO +LAPACK_CONF_OPTS = -DLAPACKE=ON -DCBLAS=ON + +# 0001-Fix-out-of-bounds-read-in-slarrv.patch +LAPACK_IGNORE_CVES += CVE-2021-4048 + +ifeq ($(BR2_PACKAGE_LAPACK_COMPLEX),y) +LAPACK_CONF_OPTS += -DBUILD_COMPLEX=ON -DBUILD_COMPLEX16=ON +else +LAPACK_CONF_OPTS += -DBUILD_COMPLEX=OFF -DBUILD_COMPLEX16=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/latencytop/0001-makefile.patch b/buildroot-2022.02.1/package/latencytop/0001-makefile.patch similarity index 100% rename from buildroot-2021.05/package/latencytop/0001-makefile.patch rename to buildroot-2022.02.1/package/latencytop/0001-makefile.patch diff --git a/buildroot-2021.05/package/latencytop/Config.in b/buildroot-2022.02.1/package/latencytop/Config.in similarity index 100% rename from buildroot-2021.05/package/latencytop/Config.in rename to buildroot-2022.02.1/package/latencytop/Config.in diff --git a/buildroot-2021.05/package/latencytop/latencytop.hash b/buildroot-2022.02.1/package/latencytop/latencytop.hash similarity index 100% rename from buildroot-2021.05/package/latencytop/latencytop.hash rename to buildroot-2022.02.1/package/latencytop/latencytop.hash diff --git a/buildroot-2021.05/package/latencytop/latencytop.mk b/buildroot-2022.02.1/package/latencytop/latencytop.mk similarity index 100% rename from buildroot-2021.05/package/latencytop/latencytop.mk rename to buildroot-2022.02.1/package/latencytop/latencytop.mk diff --git a/buildroot-2021.05/package/lbase64/0001-retro-compatible-with-Lua-5.1.patch b/buildroot-2022.02.1/package/lbase64/0001-retro-compatible-with-Lua-5.1.patch similarity index 100% rename from buildroot-2021.05/package/lbase64/0001-retro-compatible-with-Lua-5.1.patch rename to buildroot-2022.02.1/package/lbase64/0001-retro-compatible-with-Lua-5.1.patch diff --git a/buildroot-2021.05/package/lbase64/Config.in b/buildroot-2022.02.1/package/lbase64/Config.in similarity index 100% rename from buildroot-2021.05/package/lbase64/Config.in rename to buildroot-2022.02.1/package/lbase64/Config.in diff --git a/buildroot-2021.05/package/lbase64/lbase64.hash b/buildroot-2022.02.1/package/lbase64/lbase64.hash similarity index 100% rename from buildroot-2021.05/package/lbase64/lbase64.hash rename to buildroot-2022.02.1/package/lbase64/lbase64.hash diff --git a/buildroot-2021.05/package/lbase64/lbase64.mk b/buildroot-2022.02.1/package/lbase64/lbase64.mk similarity index 100% rename from buildroot-2021.05/package/lbase64/lbase64.mk rename to buildroot-2022.02.1/package/lbase64/lbase64.mk diff --git a/buildroot-2021.05/package/lbreakout2/Config.in b/buildroot-2022.02.1/package/lbreakout2/Config.in similarity index 100% rename from buildroot-2021.05/package/lbreakout2/Config.in rename to buildroot-2022.02.1/package/lbreakout2/Config.in diff --git a/buildroot-2021.05/package/lbreakout2/lbreakout2.hash b/buildroot-2022.02.1/package/lbreakout2/lbreakout2.hash similarity index 100% rename from buildroot-2021.05/package/lbreakout2/lbreakout2.hash rename to buildroot-2022.02.1/package/lbreakout2/lbreakout2.hash diff --git a/buildroot-2021.05/package/lbreakout2/lbreakout2.mk b/buildroot-2022.02.1/package/lbreakout2/lbreakout2.mk similarity index 100% rename from buildroot-2021.05/package/lbreakout2/lbreakout2.mk rename to buildroot-2022.02.1/package/lbreakout2/lbreakout2.mk diff --git a/buildroot-2021.05/package/lcdapi/Config.in b/buildroot-2022.02.1/package/lcdapi/Config.in similarity index 100% rename from buildroot-2021.05/package/lcdapi/Config.in rename to buildroot-2022.02.1/package/lcdapi/Config.in diff --git a/buildroot-2021.05/package/lcdapi/lcdapi.hash b/buildroot-2022.02.1/package/lcdapi/lcdapi.hash similarity index 100% rename from buildroot-2021.05/package/lcdapi/lcdapi.hash rename to buildroot-2022.02.1/package/lcdapi/lcdapi.hash diff --git a/buildroot-2021.05/package/lcdapi/lcdapi.mk b/buildroot-2022.02.1/package/lcdapi/lcdapi.mk similarity index 100% rename from buildroot-2021.05/package/lcdapi/lcdapi.mk rename to buildroot-2022.02.1/package/lcdapi/lcdapi.mk diff --git a/buildroot-2021.05/package/lcdproc/0001-LCDd.conf.patch b/buildroot-2022.02.1/package/lcdproc/0001-LCDd.conf.patch similarity index 100% rename from buildroot-2021.05/package/lcdproc/0001-LCDd.conf.patch rename to buildroot-2022.02.1/package/lcdproc/0001-LCDd.conf.patch diff --git a/buildroot-2021.05/package/lcdproc/0002-Add-missing-ioctl-header.patch b/buildroot-2022.02.1/package/lcdproc/0002-Add-missing-ioctl-header.patch similarity index 100% rename from buildroot-2021.05/package/lcdproc/0002-Add-missing-ioctl-header.patch rename to buildroot-2022.02.1/package/lcdproc/0002-Add-missing-ioctl-header.patch diff --git a/buildroot-2021.05/package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch b/buildroot-2022.02.1/package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch similarity index 100% rename from buildroot-2021.05/package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch rename to buildroot-2022.02.1/package/lcdproc/0003-Fixcompilation-with-GCC-10-x.patch diff --git a/buildroot-2021.05/package/lcdproc/Config.in b/buildroot-2022.02.1/package/lcdproc/Config.in similarity index 100% rename from buildroot-2021.05/package/lcdproc/Config.in rename to buildroot-2022.02.1/package/lcdproc/Config.in diff --git a/buildroot-2021.05/package/lcdproc/lcdproc.hash b/buildroot-2022.02.1/package/lcdproc/lcdproc.hash similarity index 100% rename from buildroot-2021.05/package/lcdproc/lcdproc.hash rename to buildroot-2022.02.1/package/lcdproc/lcdproc.hash diff --git a/buildroot-2021.05/package/lcdproc/lcdproc.mk b/buildroot-2022.02.1/package/lcdproc/lcdproc.mk similarity index 100% rename from buildroot-2021.05/package/lcdproc/lcdproc.mk rename to buildroot-2022.02.1/package/lcdproc/lcdproc.mk diff --git a/buildroot-2021.05/package/lcms2/Config.in b/buildroot-2022.02.1/package/lcms2/Config.in similarity index 100% rename from buildroot-2021.05/package/lcms2/Config.in rename to buildroot-2022.02.1/package/lcms2/Config.in diff --git a/buildroot-2022.02.1/package/lcms2/lcms2.hash b/buildroot-2022.02.1/package/lcms2/lcms2.hash new file mode 100644 index 00000000..d3ae1d93 --- /dev/null +++ b/buildroot-2022.02.1/package/lcms2/lcms2.hash @@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/lcms/files/lcms/2.13 +sha1 1676097fb18fce83c9c876d56828c83a6ad829dd lcms2-2.13.tar.gz +# Locally computed: +sha256 0c67a5cc144029cfa34647a52809ec399aae488db4258a6a66fba318474a070f lcms2-2.13.tar.gz +sha256 46d4e05af3bce75332a12d01f19bcce7e32b6bac544be28a64043d0231291e31 COPYING diff --git a/buildroot-2022.02.1/package/lcms2/lcms2.mk b/buildroot-2022.02.1/package/lcms2/lcms2.mk new file mode 100644 index 00000000..5a253d04 --- /dev/null +++ b/buildroot-2022.02.1/package/lcms2/lcms2.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# lcms2 +# +################################################################################ + +LCMS2_VERSION = 2.13 +LCMS2_SITE = http://downloads.sourceforge.net/project/lcms/lcms/$(LCMS2_VERSION) +LCMS2_LICENSE = MIT +LCMS2_LICENSE_FILES = COPYING +LCMS2_CPE_ID_VENDOR = littlecms +LCMS2_CPE_ID_PRODUCT = little_cms +LCMS2_INSTALL_STAGING = YES +# tiff is only used by tificc sample +LCMS2_CONF_OPTS = --without-tiff + +ifeq ($(BR2_PACKAGE_JPEG),y) +LCMS2_CONF_OPTS += --with-jpeg +LCMS2_DEPENDENCIES += jpeg +else +LCMS2_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LCMS2_CONF_OPTS += --with-zlib +LCMS2_DEPENDENCIES += zlib +else +LCMS2_CONF_OPTS += --without-zlib +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/leafnode2/0001-cross_makefile.patch b/buildroot-2022.02.1/package/leafnode2/0001-cross_makefile.patch similarity index 100% rename from buildroot-2021.05/package/leafnode2/0001-cross_makefile.patch rename to buildroot-2022.02.1/package/leafnode2/0001-cross_makefile.patch diff --git a/buildroot-2021.05/package/leafnode2/Config.in b/buildroot-2022.02.1/package/leafnode2/Config.in similarity index 100% rename from buildroot-2021.05/package/leafnode2/Config.in rename to buildroot-2022.02.1/package/leafnode2/Config.in diff --git a/buildroot-2021.05/package/leafnode2/leafnode2.hash b/buildroot-2022.02.1/package/leafnode2/leafnode2.hash similarity index 100% rename from buildroot-2021.05/package/leafnode2/leafnode2.hash rename to buildroot-2022.02.1/package/leafnode2/leafnode2.hash diff --git a/buildroot-2021.05/package/leafnode2/leafnode2.mk b/buildroot-2022.02.1/package/leafnode2/leafnode2.mk similarity index 100% rename from buildroot-2021.05/package/leafnode2/leafnode2.mk rename to buildroot-2022.02.1/package/leafnode2/leafnode2.mk diff --git a/buildroot-2021.05/package/leafpad/Config.in b/buildroot-2022.02.1/package/leafpad/Config.in similarity index 100% rename from buildroot-2021.05/package/leafpad/Config.in rename to buildroot-2022.02.1/package/leafpad/Config.in diff --git a/buildroot-2021.05/package/leafpad/leafpad.hash b/buildroot-2022.02.1/package/leafpad/leafpad.hash similarity index 100% rename from buildroot-2021.05/package/leafpad/leafpad.hash rename to buildroot-2022.02.1/package/leafpad/leafpad.hash diff --git a/buildroot-2021.05/package/leafpad/leafpad.mk b/buildroot-2022.02.1/package/leafpad/leafpad.mk similarity index 100% rename from buildroot-2021.05/package/leafpad/leafpad.mk rename to buildroot-2022.02.1/package/leafpad/leafpad.mk diff --git a/buildroot-2021.05/package/lensfun/Config.in b/buildroot-2022.02.1/package/lensfun/Config.in similarity index 100% rename from buildroot-2021.05/package/lensfun/Config.in rename to buildroot-2022.02.1/package/lensfun/Config.in diff --git a/buildroot-2021.05/package/lensfun/lensfun.hash b/buildroot-2022.02.1/package/lensfun/lensfun.hash similarity index 100% rename from buildroot-2021.05/package/lensfun/lensfun.hash rename to buildroot-2022.02.1/package/lensfun/lensfun.hash diff --git a/buildroot-2021.05/package/lensfun/lensfun.mk b/buildroot-2022.02.1/package/lensfun/lensfun.mk similarity index 100% rename from buildroot-2021.05/package/lensfun/lensfun.mk rename to buildroot-2022.02.1/package/lensfun/lensfun.mk diff --git a/buildroot-2021.05/package/leptonica/Config.in b/buildroot-2022.02.1/package/leptonica/Config.in similarity index 100% rename from buildroot-2021.05/package/leptonica/Config.in rename to buildroot-2022.02.1/package/leptonica/Config.in diff --git a/buildroot-2022.02.1/package/leptonica/leptonica.hash b/buildroot-2022.02.1/package/leptonica/leptonica.hash new file mode 100644 index 00000000..1220fbbd --- /dev/null +++ b/buildroot-2022.02.1/package/leptonica/leptonica.hash @@ -0,0 +1,3 @@ +# locally computed hash +sha256 155302ee914668c27b6fe3ca9ff2da63b245f6d62f3061c8f27563774b8ae2d6 leptonica-1.82.0.tar.gz +sha256 87829abb5bbb00b55a107365da89e9a33f86c4250169e5a1e5588505be7d5806 leptonica-license.txt diff --git a/buildroot-2022.02.1/package/leptonica/leptonica.mk b/buildroot-2022.02.1/package/leptonica/leptonica.mk new file mode 100644 index 00000000..8791b0c4 --- /dev/null +++ b/buildroot-2022.02.1/package/leptonica/leptonica.mk @@ -0,0 +1,73 @@ +################################################################################ +# +# leptonica +# +################################################################################ + +LEPTONICA_VERSION = 1.82.0 +LEPTONICA_SITE = http://www.leptonica.org/source +LEPTONICA_LICENSE = BSD-2-Clause +LEPTONICA_LICENSE_FILES = leptonica-license.txt +LEPTONICA_CPE_ID_VENDOR = leptonica +LEPTONICA_INSTALL_STAGING = YES +LEPTONICA_DEPENDENCIES = host-pkgconf + +LEPTONICA_CONF_OPTS += --disable-programs + +ifeq ($(BR2_PACKAGE_GIFLIB),y) +LEPTONICA_DEPENDENCIES += giflib +LEPTONICA_CONF_OPTS += --with-giflib +else +LEPTONICA_CONF_OPTS += --without-giflib +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +LEPTONICA_DEPENDENCIES += jpeg +LEPTONICA_CONF_OPTS += --with-jpeg +else +LEPTONICA_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +LEPTONICA_DEPENDENCIES += libpng +LEPTONICA_CONF_OPTS += --with-libpng +else +LEPTONICA_CONF_OPTS += --without-libpng +endif + +ifeq ($(BR2_PACKAGE_OPENJPEG),y) +LEPTONICA_DEPENDENCIES += openjpeg +LEPTONICA_CONF_OPTS += --with-libopenjpeg +else +LEPTONICA_CONF_OPTS += --without-libopenjpeg +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +LEPTONICA_DEPENDENCIES += tiff +LEPTONICA_CONF_OPTS += --with-libtiff +else +LEPTONICA_CONF_OPTS += --without-libtiff +endif + +ifeq ($(BR2_PACKAGE_WEBP),y) +LEPTONICA_DEPENDENCIES += webp +LEPTONICA_CONF_OPTS += --with-libwebp +ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) +LEPTONICA_CONF_OPTS += --with-libwebpmux +else +LEPTONICA_CONF_OPTS += --without-libwebpmux +endif +else +LEPTONICA_CONF_OPTS += \ + --without-libwebp \ + --without-libwebpmux +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LEPTONICA_DEPENDENCIES += zlib +LEPTONICA_CONF_OPTS += --with-zlib +else +LEPTONICA_CONF_OPTS += --without-zlib +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/less/Config.in b/buildroot-2022.02.1/package/less/Config.in similarity index 100% rename from buildroot-2021.05/package/less/Config.in rename to buildroot-2022.02.1/package/less/Config.in diff --git a/buildroot-2022.02.1/package/less/less.hash b/buildroot-2022.02.1/package/less/less.hash new file mode 100644 index 00000000..eed8340e --- /dev/null +++ b/buildroot-2022.02.1/package/less/less.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# using DSA key F153A7C833235259 +# http://www.greenwoodsoftware.com/less/less-590.sig +sha256 6aadf54be8bf57d0e2999a3c5d67b1de63808bb90deb8f77b028eafae3a08e10 less-590.tar.gz +# Locally calculated +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/less/less.mk b/buildroot-2022.02.1/package/less/less.mk new file mode 100644 index 00000000..7d7a6d5f --- /dev/null +++ b/buildroot-2022.02.1/package/less/less.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# less +# +################################################################################ + +LESS_VERSION = 590 +LESS_SITE = http://www.greenwoodsoftware.com/less +LESS_LICENSE = GPL-3.0+ +LESS_LICENSE_FILES = COPYING +LESS_CPE_ID_VENDOR = gnu +LESS_DEPENDENCIES = ncurses + +define LESS_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lesstif/Config.in b/buildroot-2022.02.1/package/lesstif/Config.in similarity index 100% rename from buildroot-2021.05/package/lesstif/Config.in rename to buildroot-2022.02.1/package/lesstif/Config.in diff --git a/buildroot-2021.05/package/lesstif/lesstif.hash b/buildroot-2022.02.1/package/lesstif/lesstif.hash similarity index 100% rename from buildroot-2021.05/package/lesstif/lesstif.hash rename to buildroot-2022.02.1/package/lesstif/lesstif.hash diff --git a/buildroot-2021.05/package/lesstif/lesstif.mk b/buildroot-2022.02.1/package/lesstif/lesstif.mk similarity index 100% rename from buildroot-2021.05/package/lesstif/lesstif.mk rename to buildroot-2022.02.1/package/lesstif/lesstif.mk diff --git a/buildroot-2021.05/package/let-me-create/0001-fix-build-with-musl-C-library.patch b/buildroot-2022.02.1/package/let-me-create/0001-fix-build-with-musl-C-library.patch similarity index 100% rename from buildroot-2021.05/package/let-me-create/0001-fix-build-with-musl-C-library.patch rename to buildroot-2022.02.1/package/let-me-create/0001-fix-build-with-musl-C-library.patch diff --git a/buildroot-2021.05/package/let-me-create/Config.in b/buildroot-2022.02.1/package/let-me-create/Config.in similarity index 100% rename from buildroot-2021.05/package/let-me-create/Config.in rename to buildroot-2022.02.1/package/let-me-create/Config.in diff --git a/buildroot-2021.05/package/let-me-create/let-me-create.hash b/buildroot-2022.02.1/package/let-me-create/let-me-create.hash similarity index 100% rename from buildroot-2021.05/package/let-me-create/let-me-create.hash rename to buildroot-2022.02.1/package/let-me-create/let-me-create.hash diff --git a/buildroot-2021.05/package/let-me-create/let-me-create.mk b/buildroot-2022.02.1/package/let-me-create/let-me-create.mk similarity index 100% rename from buildroot-2021.05/package/let-me-create/let-me-create.mk rename to buildroot-2022.02.1/package/let-me-create/let-me-create.mk diff --git a/buildroot-2022.02.1/package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch b/buildroot-2022.02.1/package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch new file mode 100644 index 00000000..67a417c1 --- /dev/null +++ b/buildroot-2022.02.1/package/leveldb/0001-Fix-compilation-with-g-4.8.2.patch @@ -0,0 +1,31 @@ +From 8a8016f6d2af335ab205aa40d5274fc9b0c7a566 Mon Sep 17 00:00:00 2001 +From: Steve James +Date: Sun, 5 Apr 2015 16:29:51 +0200 +Subject: [PATCH] Fix compilation with g++ 4.8.2 + +Where db_iter.cc fails to get a typedef for ssize_t when compiled by +GCC. + +Upstream-Status: Submitted [https://github.com/google/leveldb/issues/233] + +Signed-off-by: Steve James +Signed-off-by: Thomas Petazzoni +--- + db/db_iter.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/db/db_iter.cc b/db/db_iter.cc +index 3b2035e..c2e5f35 100644 +--- a/db/db_iter.cc ++++ b/db/db_iter.cc +@@ -13,6 +13,7 @@ + #include "util/logging.h" + #include "util/mutexlock.h" + #include "util/random.h" ++#include // for ssize_t + + namespace leveldb { + +-- +2.1.0 + diff --git a/buildroot-2022.02.1/package/leveldb/0002-CMake-install-libmemenv.a.patch b/buildroot-2022.02.1/package/leveldb/0002-CMake-install-libmemenv.a.patch new file mode 100644 index 00000000..ea742b0c --- /dev/null +++ b/buildroot-2022.02.1/package/leveldb/0002-CMake-install-libmemenv.a.patch @@ -0,0 +1,76 @@ +From 2fa960098e5b6f9daa9f7d6cab27188566859be8 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 12 Oct 2019 14:43:46 +0200 +Subject: [PATCH] CMake: install libmemenv.a + +Needed for qt5webkit +https://git.busybox.net/buildroot/commit/?id=8a10d9ce311c6cb0490d76921cae55618c258354 +https://git.busybox.net/buildroot/commit/?id=16f847340d07dce620e4c3fc0a099aa79898d86a + +Signed-off-by: Bernd Kuhls +[Fabrice : updated for 1.23] +Signed-off-by: Fabrice Fontaine +--- + CMakeLists.txt | 26 +++++++++++++++++++++++++- + 1 file changed, 25 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a65afbf..83b2425 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -187,6 +187,30 @@ target_sources(leveldb + "${LEVELDB_PUBLIC_INCLUDE_DIR}/write_batch.h" + ) + ++set(libmemenv_a_sources ++ "${PROJECT_SOURCE_DIR}/helpers/memenv/memenv.cc" ++ "${PROJECT_SOURCE_DIR}/helpers/memenv/memenv.h" ++ ) ++add_library(memenv STATIC ${libmemenv_a_sources}) ++target_compile_definitions(memenv ++ PRIVATE ++ # Used by include/export.h when building shared libraries. ++ LEVELDB_COMPILE_LIBRARY ++ # Used by port/port.h. ++ ${LEVELDB_PLATFORM_NAME}=1 ++) ++if (NOT HAVE_CXX17_HAS_INCLUDE) ++ target_compile_definitions(memenv ++ PRIVATE ++ LEVELDB_HAS_PORT_CONFIG_H=1 ++ ) ++endif(NOT HAVE_CXX17_HAS_INCLUDE) ++target_include_directories(memenv ++ PUBLIC ++ $ ++ $ ++) ++ + if (WIN32) + target_sources(leveldb + PRIVATE +@@ -418,7 +436,7 @@ endif(LEVELDB_BUILD_BENCHMARKS) + endif(LEVELDB_BUILD_BENCHMARKS) + + if(LEVELDB_INSTALL) +- install(TARGETS leveldb ++ install(TARGETS leveldb memenv + EXPORT leveldbTargets + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} +@@ -444,6 +462,12 @@ if(LEVELDB_INSTALL) + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/leveldb + ) + ++ install( ++ FILES ++ "${PROJECT_SOURCE_DIR}/helpers/memenv/memenv.h" ++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/helpers/memenv ++ ) ++ + include(CMakePackageConfigHelpers) + write_basic_package_version_file( + "${PROJECT_BINARY_DIR}/leveldbConfigVersion.cmake" +-- +2.20.1 + diff --git a/buildroot-2021.05/package/leveldb/0003-CMakeLists.txt-check-for-atomic-library.patch b/buildroot-2022.02.1/package/leveldb/0003-CMakeLists.txt-check-for-atomic-library.patch similarity index 100% rename from buildroot-2021.05/package/leveldb/0003-CMakeLists.txt-check-for-atomic-library.patch rename to buildroot-2022.02.1/package/leveldb/0003-CMakeLists.txt-check-for-atomic-library.patch diff --git a/buildroot-2022.02.1/package/leveldb/0004-cmake-Use-find_package-to-find-Snappy.patch b/buildroot-2022.02.1/package/leveldb/0004-cmake-Use-find_package-to-find-Snappy.patch new file mode 100644 index 00000000..714e1b08 --- /dev/null +++ b/buildroot-2022.02.1/package/leveldb/0004-cmake-Use-find_package-to-find-Snappy.patch @@ -0,0 +1,100 @@ +From 450c1d88b3e1af34614294830b4dc0612d198d26 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Pawe=C5=82=20Bylica?= +Date: Wed, 8 May 2019 10:42:03 +0200 +Subject: [PATCH] cmake: Use find_package() to find Snappy + +Upstream: https://github.com/google/leveldb/pull/686/commits/3e73a396a082efc76e065ae974fe18c3bb27219d +[Thomas: this commit allows to fix the detection of the snappy library +in static link configurations] +Signed-off-by: Thomas Petazzoni +[Fabrice : updated for 1.23] +Signed-off-by: Fabrice Fontaine +--- + CMakeLists.txt | 12 ++++++++---- + cmake/FindSnappy.cmake | 31 +++++++++++++++++++++++++++++++ + 2 files changed, 39 insertions(+), 4 deletions(-) + create mode 100644 cmake/FindSnappy.cmake + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 78fead6..2efccda 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,6 +6,9 @@ cmake_minimum_required(VERSION 3.9) + # Keep the version below in sync with the one in db.h + project(leveldb VERSION 1.23.0 LANGUAGES C CXX) + ++# Include local CMake modules. ++list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) ++ + # C standard can be overridden when this is used as a sub-project. + if(NOT CMAKE_C_STANDARD) + # This project can use C11, but will gracefully decay down to C89. +@@ -31,13 +34,14 @@ option(LEVELDB_INSTALL "Install LevelDB's header and library" ON) + include(TestBigEndian) + test_big_endian(LEVELDB_IS_BIG_ENDIAN) + ++find_package(Snappy) ++ + include(CheckIncludeFile) + check_include_file("unistd.h" HAVE_UNISTD_H) + + include(CheckLibraryExists) + check_library_exists(atomic __atomic_fetch_add_4 "" HAVE_ATOMIC) + check_library_exists(crc32c crc32c_value "" HAVE_CRC32C) +-check_library_exists(snappy snappy_compress "" HAVE_SNAPPY) + check_library_exists(tcmalloc malloc "" HAVE_TCMALLOC) + + include(CheckCXXSymbolExists) +@@ -276,9 +280,9 @@ endif(HAVE_ATOMIC) + if(HAVE_CRC32C) + target_link_libraries(leveldb crc32c) + endif(HAVE_CRC32C) +-if(HAVE_SNAPPY) +- target_link_libraries(leveldb snappy) +-endif(HAVE_SNAPPY) ++if(TARGET Snappy::snappy) ++ target_link_libraries(leveldb Snappy::snappy) ++endif() + if(HAVE_TCMALLOC) + target_link_libraries(leveldb tcmalloc) + endif(HAVE_TCMALLOC) +diff --git a/cmake/FindSnappy.cmake b/cmake/FindSnappy.cmake +new file mode 100644 +index 0000000..88c1de9 +--- /dev/null ++++ b/cmake/FindSnappy.cmake +@@ -0,0 +1,31 @@ ++# Copyright 2019 The LevelDB Authors. All rights reserved. ++# Use of this source code is governed by a BSD-style license that can be ++# found in the LICENSE file. See the AUTHORS file for names of contributors. ++ ++find_library(SNAPPY_LIBRARY ++ NAMES snappy ++ HINTS ${SNAPPY_ROOT_DIR}/lib ++) ++ ++find_path(SNAPPY_INCLUDE_DIR ++ NAMES snappy.h ++ HINTS ${SNAPPY_ROOT_DIR}/include ++) ++ ++include(FindPackageHandleStandardArgs) ++find_package_handle_standard_args(Snappy DEFAULT_MSG SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) ++ ++mark_as_advanced(SNAPPY_LIBRARY SNAPPY_INCLUDE_DIR) ++ ++if(SNAPPY_FOUND) ++ set(HAVE_SNAPPY TRUE) # For compatibity with generating port_config.h. ++ ++ # Add imported targets. ++ # Follow the package naming convetion 'Snappy::' from ++ # https://github.com/google/snappy/blob/master/CMakeLists.txt#L211. ++ add_library(Snappy::snappy UNKNOWN IMPORTED) ++ set_target_properties(Snappy::snappy PROPERTIES ++ IMPORTED_LOCATION ${SNAPPY_LIBRARY} ++ INTERFACE_INCLUDE_DIRECTORIES ${SNAPPY_INCLUDE_DIR} ++ ) ++endif() +-- +2.26.2 + diff --git a/buildroot-2021.05/package/leveldb/Config.in b/buildroot-2022.02.1/package/leveldb/Config.in similarity index 100% rename from buildroot-2021.05/package/leveldb/Config.in rename to buildroot-2022.02.1/package/leveldb/Config.in diff --git a/buildroot-2022.02.1/package/leveldb/leveldb.hash b/buildroot-2022.02.1/package/leveldb/leveldb.hash new file mode 100644 index 00000000..068cb09b --- /dev/null +++ b/buildroot-2022.02.1/package/leveldb/leveldb.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 9a37f8a6174f09bd622bc723b55881dc541cd50747cbd08831c2a82d620f6d76 leveldb-1.23.tar.gz +sha256 ccc19f1da0798ed666609b65a5b44dd8b3abe6fc08b9c0592eb76e82e174db19 LICENSE diff --git a/buildroot-2022.02.1/package/leveldb/leveldb.mk b/buildroot-2022.02.1/package/leveldb/leveldb.mk new file mode 100644 index 00000000..a8f9dc3a --- /dev/null +++ b/buildroot-2022.02.1/package/leveldb/leveldb.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# leveldb +# +################################################################################ + +LEVELDB_VERSION = 1.23 +LEVELDB_SITE = $(call github,google,leveldb,$(LEVELDB_VERSION)) +LEVELDB_LICENSE = BSD-3-Clause +LEVELDB_LICENSE_FILES = LICENSE +LEVELDB_INSTALL_STAGING = YES +LEVELDB_CONF_OPTS = \ + -DLEVELDB_BUILD_BENCHMARKS=OFF \ + -DLEVELDB_BUILD_TESTS=OFF + +ifeq ($(BR2_PACKAGE_SNAPPY),y) +LEVELDB_DEPENDENCIES += snappy +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/lft/Config.in b/buildroot-2022.02.1/package/lft/Config.in similarity index 100% rename from buildroot-2021.05/package/lft/Config.in rename to buildroot-2022.02.1/package/lft/Config.in diff --git a/buildroot-2022.02.1/package/lft/lft.hash b/buildroot-2022.02.1/package/lft/lft.hash new file mode 100644 index 00000000..9bcce843 --- /dev/null +++ b/buildroot-2022.02.1/package/lft/lft.hash @@ -0,0 +1,5 @@ +# From http://pwhois.org/lft/ +md5 73cb955546692cf0fb5d7931939c56de lft-3.91.tar.gz +# Locally calculated +sha256 aad13e671adcfc471ab99417161964882d147893a54664f3f465ec5c8398e6af lft-3.91.tar.gz +sha256 e3b7634630e6800eccca6ecafb5d40153d4f8f7a20e2b2399bf3c0ea92f44614 COPYING diff --git a/buildroot-2022.02.1/package/lft/lft.mk b/buildroot-2022.02.1/package/lft/lft.mk new file mode 100644 index 00000000..37e6e777 --- /dev/null +++ b/buildroot-2022.02.1/package/lft/lft.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# lft +# +################################################################################ + +LFT_VERSION = 3.91 +LFT_SITE = http://pwhois.org/get +LFT_DEPENDENCIES = libpcap +LFT_LICENSE = VOSTROM Public License for Open Source +LFT_LICENSE_FILES = COPYING +LFT_CONF_OPTS = --with-pcap=$(STAGING_DIR)/usr +LFT_MAKE_ENV = STRIP=true + +ifeq ($(BR2_STATIC_LIBS),y) +LFT_CONF_OPTS += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/lftp/0001-Fix-build-with-LibreSSL-following-commit-537f37898.patch b/buildroot-2022.02.1/package/lftp/0001-Fix-build-with-LibreSSL-following-commit-537f37898.patch new file mode 100644 index 00000000..8a40351b --- /dev/null +++ b/buildroot-2022.02.1/package/lftp/0001-Fix-build-with-LibreSSL-following-commit-537f37898.patch @@ -0,0 +1,46 @@ +From 0276d5c239c41b3a63f738a5dc47fd56ac389cf0 Mon Sep 17 00:00:00 2001 +From: Ganael Laplanche +Date: Thu, 20 Aug 2020 12:29:05 +0200 +Subject: [PATCH] Fix build with LibreSSL (following commit 537f37898) + +Upstream status: https://github.com/lavv17/lftp/commit/0276d5c239c41b3a63f738a5dc47fd56ac389cf0 +Signed-off-by: Artem Panfilov +Signed-off-by: Arnout Vandecappelle (Essensium/Mind) +--- + src/lftp_ssl.cc | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 14a3b9d4..968d3fb2 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -34,7 +34,7 @@ + #include "misc.h" + #include "network.h" + #include "buffer.h" +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER + #define X509_STORE_CTX_get_by_subject X509_STORE_get_by_subject + #endif + extern "C" { +@@ -840,7 +840,7 @@ lftp_ssl_openssl_instance::lftp_ssl_openssl_instance() + ssl_ctx=SSL_CTX_new(); + X509_set_default_verify_paths(ssl_ctx->cert); + #else +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER + SSLeay_add_ssl_algorithms(); + #endif + ssl_ctx=SSL_CTX_new(SSLv23_client_method()); +@@ -1080,7 +1080,7 @@ void lftp_ssl_openssl::copy_sid(const lftp_ssl_openssl *o) + + const char *lftp_ssl_openssl::strerror() + { +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER + SSL_load_error_strings(); + #endif + int error=ERR_get_error(); +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch b/buildroot-2022.02.1/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch new file mode 100644 index 00000000..4251a5e1 --- /dev/null +++ b/buildroot-2022.02.1/package/lftp/0002-src-lftp_ssl.c-fix-build-with-libressl-2.7.0.patch @@ -0,0 +1,36 @@ +From 3ffa0132987bdde986c82c924bc51b13b37f8b54 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 22:56:21 +0200 +Subject: [PATCH] src/lftp_ssl.c: fix build with libressl >= 2.7.0 + +X509_OBJECT_get0_X509_CRL is provided by libressl since version 2.7.0 +and +https://github.com/libressl-portable/openbsd/commit/9866ae34c0af718973475296bd9ef036d3aaa94e +resulting in the following build failure: + +/nvmedata/autobuild/instance-21/output-1/host/opt/ext-toolchain/bin/../lib/gcc/microblaze-buildroot-linux-musl/11.2.0/../../../../microblaze-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-21/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/lib/libcrypto.a(x509_lu.c.o): in function `X509_OBJECT_get0_X509_CRL': +(.text+0xc3c): multiple definition of `X509_OBJECT_get0_X509_CRL'; /nvmedata/autobuild/instance-21/output-1/build/lftp-4.9.2/src/.libs/liblftp-network.a(liblftp_network_la-lftp_ssl.o):(.text+0x894): first defined here + +Fixes: + - http://autobuild.buildroot.org/results/7fd1dfd5bc750ae5a3278ca950c838ae90704b23 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/lavv17/lftp/commit/3ffa0132987bdde986c82c924bc51b13b37f8b54] +--- + src/lftp_ssl.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lftp_ssl.cc b/src/lftp_ssl.cc +index 26e91e4b..a814543d 100644 +--- a/src/lftp_ssl.cc ++++ b/src/lftp_ssl.cc +@@ -664,7 +664,7 @@ int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int* cert_max + #elif USE_OPENSSL + //static int lftp_ssl_passwd_callback(char *buf,int size,int rwflag,void *userdata); + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined (LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000L) + // for compatibility with older versions + X509_OBJECT *X509_OBJECT_new() + { diff --git a/buildroot-2021.05/package/lftp/Config.in b/buildroot-2022.02.1/package/lftp/Config.in similarity index 100% rename from buildroot-2021.05/package/lftp/Config.in rename to buildroot-2022.02.1/package/lftp/Config.in diff --git a/buildroot-2021.05/package/lftp/lftp.hash b/buildroot-2022.02.1/package/lftp/lftp.hash similarity index 100% rename from buildroot-2021.05/package/lftp/lftp.hash rename to buildroot-2022.02.1/package/lftp/lftp.hash diff --git a/buildroot-2021.05/package/lftp/lftp.mk b/buildroot-2022.02.1/package/lftp/lftp.mk similarity index 100% rename from buildroot-2021.05/package/lftp/lftp.mk rename to buildroot-2022.02.1/package/lftp/lftp.mk diff --git a/buildroot-2021.05/package/libaacs/0001-read_file.h-include-sys-types.h.patch b/buildroot-2022.02.1/package/libaacs/0001-read_file.h-include-sys-types.h.patch similarity index 100% rename from buildroot-2021.05/package/libaacs/0001-read_file.h-include-sys-types.h.patch rename to buildroot-2022.02.1/package/libaacs/0001-read_file.h-include-sys-types.h.patch diff --git a/buildroot-2021.05/package/libaacs/Config.in b/buildroot-2022.02.1/package/libaacs/Config.in similarity index 100% rename from buildroot-2021.05/package/libaacs/Config.in rename to buildroot-2022.02.1/package/libaacs/Config.in diff --git a/buildroot-2021.05/package/libaacs/libaacs.hash b/buildroot-2022.02.1/package/libaacs/libaacs.hash similarity index 100% rename from buildroot-2021.05/package/libaacs/libaacs.hash rename to buildroot-2022.02.1/package/libaacs/libaacs.hash diff --git a/buildroot-2021.05/package/libaacs/libaacs.mk b/buildroot-2022.02.1/package/libaacs/libaacs.mk similarity index 100% rename from buildroot-2021.05/package/libaacs/libaacs.mk rename to buildroot-2022.02.1/package/libaacs/libaacs.mk diff --git a/buildroot-2021.05/package/libabseil-cpp/0001-force-position-independent-code.patch b/buildroot-2022.02.1/package/libabseil-cpp/0001-force-position-independent-code.patch similarity index 100% rename from buildroot-2021.05/package/libabseil-cpp/0001-force-position-independent-code.patch rename to buildroot-2022.02.1/package/libabseil-cpp/0001-force-position-independent-code.patch diff --git a/buildroot-2022.02.1/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch b/buildroot-2022.02.1/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch new file mode 100644 index 00000000..0797d8e5 --- /dev/null +++ b/buildroot-2022.02.1/package/libabseil-cpp/0002-fix-build-with-uclibc-ng.patch @@ -0,0 +1,62 @@ +From b9ad9bbfed92199a1a58504306d026cd2597539e Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 30 Mar 2022 21:56:20 +0200 +Subject: [PATCH] Fix build with uclibc-ng (#1145) + +uclibc-ng doesn't provide getauxval which results in the following build +failure on arm or ppc with any user of abseil-cpp such as grpc: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libabsl_random_internal_randen_hwaes.so.2111.0.0: undefined reference to `getauxval' + +To fix this build failure, check that __UCLIBC__ is not defined before +using getauxval (as Babel is not able to check function availability) + +Fixes: + - http://autobuild.buildroot.org/results/775f3ca3dedebff29e212b29dfa896b7613b7a02 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/abseil/abseil-cpp/commit/b9ad9bbfed92199a1a58504306d026cd2597539e] +--- + absl/debugging/internal/vdso_support.cc | 2 +- + absl/random/internal/randen_detect.cc | 7 ++++++- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/absl/debugging/internal/vdso_support.cc b/absl/debugging/internal/vdso_support.cc +index c655cf452..e63ac4a3b 100644 +--- a/absl/debugging/internal/vdso_support.cc ++++ b/absl/debugging/internal/vdso_support.cc +@@ -33,7 +33,7 @@ + #endif + #include + +-#if defined(__GLIBC__) && \ ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ + (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) + #define ABSL_HAVE_GETAUXVAL + #endif +diff --git a/absl/random/internal/randen_detect.cc b/absl/random/internal/randen_detect.cc +index 9bb58fc68..6dababa35 100644 +--- a/absl/random/internal/randen_detect.cc ++++ b/absl/random/internal/randen_detect.cc +@@ -24,6 +24,11 @@ + + #include "absl/random/internal/platform.h" + ++#if !defined(__UCLIBC__) && defined(__GLIBC__) && \ ++ (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 16)) ++#define ABSL_HAVE_GETAUXVAL ++#endif ++ + #if defined(ABSL_ARCH_X86_64) + #define ABSL_INTERNAL_USE_X86_CPUID + #elif defined(ABSL_ARCH_PPC) || defined(ABSL_ARCH_ARM) || \ +@@ -31,7 +36,7 @@ + #if defined(__ANDROID__) + #define ABSL_INTERNAL_USE_ANDROID_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL +-#elif defined(__linux__) ++#elif defined(__linux__) && defined(ABSL_HAVE_GETAUXVAL) + #define ABSL_INTERNAL_USE_LINUX_GETAUXVAL + #define ABSL_INTERNAL_USE_GETAUXVAL + #endif diff --git a/buildroot-2021.05/package/libabseil-cpp/Config.in b/buildroot-2022.02.1/package/libabseil-cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/libabseil-cpp/Config.in rename to buildroot-2022.02.1/package/libabseil-cpp/Config.in diff --git a/buildroot-2022.02.1/package/libabseil-cpp/libabseil-cpp.hash b/buildroot-2022.02.1/package/libabseil-cpp/libabseil-cpp.hash new file mode 100644 index 00000000..2d6c5988 --- /dev/null +++ b/buildroot-2022.02.1/package/libabseil-cpp/libabseil-cpp.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4 libabseil-cpp-20211102.0.tar.gz +sha256 c79a7fea0e3cac04cd43f20e7b648e5a0ff8fa5344e644b0ee09ca1162b62747 LICENSE diff --git a/buildroot-2022.02.1/package/libabseil-cpp/libabseil-cpp.mk b/buildroot-2022.02.1/package/libabseil-cpp/libabseil-cpp.mk new file mode 100644 index 00000000..738cd03c --- /dev/null +++ b/buildroot-2022.02.1/package/libabseil-cpp/libabseil-cpp.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# libabseil-cpp +# +################################################################################ + +LIBABSEIL_CPP_VERSION = 20211102.0 +LIBABSEIL_CPP_SITE = $(call github,abseil,abseil-cpp,$(LIBABSEIL_CPP_VERSION)) +LIBABSEIL_CPP_LICENSE = Apache-2.0 +LIBABSEIL_CPP_LICENSE_FILES = LICENSE +LIBABSEIL_CPP_INSTALL_STAGING = YES + +LIBABSEIL_CPP_CONF_OPTS = \ + -DCMAKE_CXX_STANDARD=11 \ + -DABSL_ENABLE_INSTALL=ON \ + -DABSL_USE_GOOGLETEST_HEAD=OFF \ + -DABSL_RUN_TESTS=OFF + +HOST_LIBABSEIL_CPP_CONF_OPTS = \ + -DCMAKE_CXX_STANDARD=11 \ + -DABSL_ENABLE_INSTALL=ON \ + -DABSL_USE_GOOGLETEST_HEAD=OFF \ + -DABSL_RUN_TESTS=OFF + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/libaio/Config.in b/buildroot-2022.02.1/package/libaio/Config.in similarity index 100% rename from buildroot-2021.05/package/libaio/Config.in rename to buildroot-2022.02.1/package/libaio/Config.in diff --git a/buildroot-2021.05/package/libaio/libaio.hash b/buildroot-2022.02.1/package/libaio/libaio.hash similarity index 100% rename from buildroot-2021.05/package/libaio/libaio.hash rename to buildroot-2022.02.1/package/libaio/libaio.hash diff --git a/buildroot-2021.05/package/libaio/libaio.mk b/buildroot-2022.02.1/package/libaio/libaio.mk similarity index 100% rename from buildroot-2021.05/package/libaio/libaio.mk rename to buildroot-2022.02.1/package/libaio/libaio.mk diff --git a/buildroot-2021.05/package/libao/Config.in b/buildroot-2022.02.1/package/libao/Config.in similarity index 100% rename from buildroot-2021.05/package/libao/Config.in rename to buildroot-2022.02.1/package/libao/Config.in diff --git a/buildroot-2021.05/package/libao/libao.hash b/buildroot-2022.02.1/package/libao/libao.hash similarity index 100% rename from buildroot-2021.05/package/libao/libao.hash rename to buildroot-2022.02.1/package/libao/libao.hash diff --git a/buildroot-2021.05/package/libao/libao.mk b/buildroot-2022.02.1/package/libao/libao.mk similarity index 100% rename from buildroot-2021.05/package/libao/libao.mk rename to buildroot-2022.02.1/package/libao/libao.mk diff --git a/buildroot-2022.02.1/package/libapparmor/0001-replace-deprecated-distutils-with-setuptools.patch b/buildroot-2022.02.1/package/libapparmor/0001-replace-deprecated-distutils-with-setuptools.patch new file mode 100644 index 00000000..5aed31d0 --- /dev/null +++ b/buildroot-2022.02.1/package/libapparmor/0001-replace-deprecated-distutils-with-setuptools.patch @@ -0,0 +1,244 @@ +From 21e5a721ab2abe26bb12b9da7accc39d4fff9804 Mon Sep 17 00:00:00 2001 +From: Georgia Garcia +Date: Wed, 10 Nov 2021 19:50:35 +0000 +Subject: [PATCH] replace deprecated distutils with setuptools + +Adds python3 setuptools as a build dependency for libapparmor + +Fixes: https://gitlab.com/apparmor/apparmor/-/issues/202 +MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/813 +Signed-off-by: Georgia Garcia +Acked-by: Christian Boltz + +[Retrieved (and updated to remove changes on .gitlab-ci.yml and +README.md) from: +https://gitlab.com/apparmor/apparmor/-/commit/21e5a721ab2abe26bb12b9da7accc39d4fff9804] +Signed-off-by: Fabrice Fontaine +--- + .gitignore | 3 ++ + .gitlab-ci.yml | 2 +- + libraries/libapparmor/m4/ac_python_devel.m4 | 36 +++++++++---------- + libraries/libapparmor/swig/python/Makefile.am | 2 +- + libraries/libapparmor/swig/python/setup.py.in | 2 +- + .../libapparmor/swig/python/test/Makefile.am | 2 +- + profiles/Makefile | 2 +- + utils/Makefile | 1 + + utils/python-tools-setup.py | 6 ++-- + utils/test/Makefile | 2 +- + utils/test/README.md | 2 +- + 11 files changed, 32 insertions(+), 28 deletions(-) + +diff --git a/.gitignore b/.gitignore +index 78a06fdf9..4782a351a 100644 +--- a/.gitignore ++++ b/.gitignore +@@ -160,6 +160,7 @@ libraries/libapparmor/swig/perl/libapparmor_wrap.c + libraries/libapparmor/swig/perl/libapparmor_wrap.o + libraries/libapparmor/swig/perl/pm_to_blib + libraries/libapparmor/swig/python/LibAppArmor.py ++libraries/libapparmor/swig/python/LibAppArmor.egg-info/ + libraries/libapparmor/swig/python/build/ + libraries/libapparmor/swig/python/libapparmor_wrap.c + libraries/libapparmor/swig/python/Makefile +@@ -204,6 +205,8 @@ utils/*.tmp + utils/po/*.mo + utils/apparmor/*.pyc + utils/apparmor/rule/*.pyc ++utils/apparmor.egg-info/ ++utils/build/ + utils/htmlcov/ + utils/test/common_test.pyc + utils/test/.coverage +diff --git a/libraries/libapparmor/m4/ac_python_devel.m4 b/libraries/libapparmor/m4/ac_python_devel.m4 +index 1da29d873..f21f70ce7 100644 +--- a/libraries/libapparmor/m4/ac_python_devel.m4 ++++ b/libraries/libapparmor/m4/ac_python_devel.m4 +@@ -66,17 +66,17 @@ variable to configure. See ``configure --help'' for reference. + fi + + # +- # Check if you have distutils, else fail ++ # Check if you have setuptools, else fail + # +- AC_MSG_CHECKING([for the distutils Python package]) +- ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ AC_MSG_CHECKING([for the setuptools Python package]) ++ ac_setuptools_result=`$PYTHON -c "import setuptools" 2>&1` ++ if test -z "$ac_setuptools_result"; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +- AC_MSG_ERROR([cannot import Python module "distutils". ++ AC_MSG_ERROR([cannot import Python module "setuptools". + Please check your Python installation. The error was: +-$ac_distutils_result]) ++$ac_setuptools_result]) + PYTHON_VERSION="" + fi + +@@ -88,8 +88,8 @@ $ac_distutils_result]) + PYTHON_CPPFLAGS=`$PYTHON_CONFIG --includes` + fi + if test -z "$PYTHON_CPPFLAGS"; then +- python_path=`$PYTHON -c "import sys; import distutils.sysconfig;\ +-sys.stdout.write('%s\n' % distutils.sysconfig.get_python_inc());"` ++ python_path=`$PYTHON -c "import sys; import sysconfig;\ ++sys.stdout.write('%s\n' % sysconfig.get_path('include'));"` + if test -n "${python_path}"; then + python_path="-I$python_path" + fi +@@ -108,8 +108,8 @@ sys.stdout.write('%s\n' % distutils.sysconfig.get_python_inc());"` + if test -z "$PYTHON_LDFLAGS"; then + # (makes two attempts to ensure we've got a version number + # from the interpreter) +- py_version=`$PYTHON -c "import sys; from distutils.sysconfig import *; \ +-sys.stdout.write('%s\n' % ''.join(get_config_vars('VERSION')))"` ++ py_version=`$PYTHON -c "import sys; import sysconfig; \ ++sys.stdout.write('%s\n' % ''.join(sysconfig.get_config_vars('VERSION')))"` + if test "$py_version" == "[None]"; then + if test -n "$PYTHON_VERSION"; then + py_version=$PYTHON_VERSION +@@ -119,8 +119,8 @@ sys.stdout.write("%s\n" % sys.version[[:3]])"` + fi + fi + +- PYTHON_LDFLAGS=`$PYTHON -c "import sys; from distutils.sysconfig import *; \ +-sys.stdout.write('-L' + get_python_lib(0,1) + ' -lpython\n')"`$py_version`$PYTHON -c \ ++ PYTHON_LDFLAGS=`$PYTHON -c "import sys; import sysconfig; \ ++sys.stdout.write('-L' + sysconfig.get_path('stdlib') + ' -lpython\n')"`$py_version`$PYTHON -c \ + "import sys; sys.stdout.write('%s' % getattr(sys,'abiflags',''))"` + fi + AC_MSG_RESULT([$PYTHON_LDFLAGS]) +@@ -131,8 +131,8 @@ sys.stdout.write('-L' + get_python_lib(0,1) + ' -lpython\n')"`$py_version`$PYTHO + # + AC_MSG_CHECKING([for Python site-packages path]) + if test -z "$PYTHON_SITE_PKG"; then +- PYTHON_SITE_PKG=`$PYTHON -c "import sys; import distutils.sysconfig; \ +-sys.stdout.write('%s\n' % distutils.sysconfig.get_python_lib(0,0));"` ++ PYTHON_SITE_PKG=`$PYTHON -c "import sys; import sysconfig; \ ++sys.stdout.write('%s\n' % sysconfig.get_path('purelib'));"` + fi + AC_MSG_RESULT([$PYTHON_SITE_PKG]) + AC_SUBST([PYTHON_SITE_PKG]) +@@ -146,8 +146,8 @@ sys.stdout.write('%s\n' % distutils.sysconfig.get_python_lib(0,0));"` + PYTHON_EXTRA_LIBS='' + fi + if test -z "$PYTHON_EXTRA_LIBS"; then +- PYTHON_EXTRA_LIBS=`$PYTHON -c "import sys; import distutils.sysconfig; \ +-conf = distutils.sysconfig.get_config_var; \ ++ PYTHON_EXTRA_LIBS=`$PYTHON -c "import sys; import sysconfig; \ ++conf = sysconfig.get_config_var; \ + sys.stdout.write('%s %s %s\n' % (conf('BLDLIBRARY'), conf('LOCALMODLIBS'), conf('LIBS')))"` + fi + AC_MSG_RESULT([$PYTHON_EXTRA_LIBS]) +@@ -162,8 +162,8 @@ sys.stdout.write('%s %s %s\n' % (conf('BLDLIBRARY'), conf('LOCALMODLIBS'), conf( + PYTHON_EXTRA_LDFLAGS='' + fi + if test -z "$PYTHON_EXTRA_LDFLAGS"; then +- PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import sys; import distutils.sysconfig; \ +-conf = distutils.sysconfig.get_config_var; \ ++ PYTHON_EXTRA_LDFLAGS=`$PYTHON -c "import sys; import sysconfig; \ ++conf = sysconfig.get_config_var; \ + sys.stdout.write('%s\n' % conf('LINKFORSHARED'))"` + fi + AC_MSG_RESULT([$PYTHON_EXTRA_LDFLAGS]) +diff --git a/libraries/libapparmor/swig/python/Makefile.am b/libraries/libapparmor/swig/python/Makefile.am +index 04edff003..bf05fe0fc 100644 +--- a/libraries/libapparmor/swig/python/Makefile.am ++++ b/libraries/libapparmor/swig/python/Makefile.am +@@ -21,7 +21,7 @@ install-exec-local: + + clean-local: + if test -x "$(PYTHON)"; then $(PYTHON) setup.py clean; fi +- rm -rf build ++ rm -rf build LibAppArmor.egg-info + if test $(top_srcdir) != $(top_builddir) ; then rm -f libapparmor_wrap.c ; fi + + endif +diff --git a/libraries/libapparmor/swig/python/setup.py.in b/libraries/libapparmor/swig/python/setup.py.in +index 32abd46b2..b23e40746 100644 +--- a/libraries/libapparmor/swig/python/setup.py.in ++++ b/libraries/libapparmor/swig/python/setup.py.in +@@ -1,4 +1,4 @@ +-from distutils.core import setup, Extension ++from setuptools import setup, Extension + import string + + setup(name = 'LibAppArmor', +diff --git a/libraries/libapparmor/swig/python/test/Makefile.am b/libraries/libapparmor/swig/python/test/Makefile.am +index 7287819c9..9dccfdef6 100644 +--- a/libraries/libapparmor/swig/python/test/Makefile.am ++++ b/libraries/libapparmor/swig/python/test/Makefile.am +@@ -11,7 +11,7 @@ test_python.py: test_python.py.in $(top_builddir)/config.status + CLEANFILES = test_python.py + + # bah, how brittle is this? +-PYTHON_DIST_BUILD_PATH = '$(builddir)/../build/$$($(PYTHON) -c "import distutils.util; import platform; print(\"lib.%s-%s\" %(distutils.util.get_platform(), platform.python_version()[:3]))")' ++PYTHON_DIST_BUILD_PATH = '$(builddir)/../build/$$($(PYTHON) -c "import sysconfig; print(\"lib.%s-%s\" %(sysconfig.get_platform(), sysconfig.get_python_version()))")' + + TESTS = test_python.py + TESTS_ENVIRONMENT = \ +diff --git a/profiles/Makefile b/profiles/Makefile +index c471e58e8..0b7f2655d 100644 +--- a/profiles/Makefile ++++ b/profiles/Makefile +@@ -41,7 +41,7 @@ ifdef USE_SYSTEM + LOGPROF?=aa-logprof + else + # PYTHON_DIST_BUILD_PATH based on libapparmor/swig/python/test/Makefile.am +- PYTHON_DIST_BUILD_PATH = ../libraries/libapparmor/swig/python/build/$$($(PYTHON) -c "import distutils.util; import platform; print(\"lib.%s-%s\" %(distutils.util.get_platform(), platform.python_version()[:3]))") ++ PYTHON_DIST_BUILD_PATH = ../libraries/libapparmor/swig/python/build/$$($(PYTHON) -c "import sysconfig; print(\"lib.%s-%s\" %(sysconfig.get_platform(), sysconfig.get_python_version()))") + LIBAPPARMOR_PATH=../libraries/libapparmor/src/.libs/ + LD_LIBRARY_PATH=$(LIBAPPARMOR_PATH):$(PYTHON_DIST_BUILD_PATH) + PYTHONPATH=../utils/:$(PYTHON_DIST_BUILD_PATH) +diff --git a/utils/Makefile b/utils/Makefile +index 1f08f259a..91a15107b 100644 +--- a/utils/Makefile ++++ b/utils/Makefile +@@ -72,6 +72,7 @@ clean: pod_clean + rm -rf staging/ build/ + rm -f apparmor/*.pyc apparmor/rule/*.pyc + rm -rf apparmor/__pycache__/ apparmor/rule/__pycache__/ ++ rm -rf apparmor.egg-info/ + + # ${CAPABILITIES} is defined in common/Make.rules + .PHONY: check_severity_db +diff --git a/utils/python-tools-setup.py b/utils/python-tools-setup.py +index 30ce0cb05..2cbde8fc1 100644 +--- a/utils/python-tools-setup.py ++++ b/utils/python-tools-setup.py +@@ -20,14 +20,14 @@ + # Note: --version=... must be the last argument to this script + # + +-from distutils.command.install import install as _install +-from distutils.core import setup ++from setuptools.command.install import install as _install ++from setuptools import setup + import os + import shutil + import sys + + class Install(_install, object): +- '''Override distutils to install the files where we want them.''' ++ '''Override setuptools to install the files where we want them.''' + def run(self): + # Now byte-compile everything + super(Install, self).run() +diff --git a/utils/test/Makefile b/utils/test/Makefile +index 90354aa50..9126bdd71 100644 +--- a/utils/test/Makefile ++++ b/utils/test/Makefile +@@ -32,7 +32,7 @@ ifdef USE_SYSTEM + PARSER= + else + # PYTHON_DIST_BUILD_PATH based on libapparmor/swig/python/test/Makefile.am +- PYTHON_DIST_BUILD_PATH = ../../libraries/libapparmor/swig/python/build/$$($(PYTHON) -c "import distutils.util; import platform; print(\"lib.%s-%s\" %(distutils.util.get_platform(), platform.python_version()[:3]))") ++ PYTHON_DIST_BUILD_PATH = ../../libraries/libapparmor/swig/python/build/$$($(PYTHON) -c "import sysconfig; print(\"lib.%s-%s\" %(sysconfig.get_platform(), sysconfig.get_python_version()))") + LIBAPPARMOR_PATH=../../libraries/libapparmor/src/.libs/ + LD_LIBRARY_PATH=$(LIBAPPARMOR_PATH):$(PYTHON_DIST_BUILD_PATH) + PYTHONPATH=..:$(PYTHON_DIST_BUILD_PATH) +-- +GitLab + diff --git a/buildroot-2021.05/package/libapparmor/Config.in b/buildroot-2022.02.1/package/libapparmor/Config.in similarity index 100% rename from buildroot-2021.05/package/libapparmor/Config.in rename to buildroot-2022.02.1/package/libapparmor/Config.in diff --git a/buildroot-2022.02.1/package/libapparmor/libapparmor.hash b/buildroot-2022.02.1/package/libapparmor/libapparmor.hash new file mode 100644 index 00000000..6a19aef7 --- /dev/null +++ b/buildroot-2022.02.1/package/libapparmor/libapparmor.hash @@ -0,0 +1,6 @@ +# From: https://gitlab.com/apparmor/apparmor/-/wikis/home#userspace +sha256 153db05d8f491e0596022663c19fb1166806cb473b3c6f0a7279feda2ec25a59 apparmor-3.0.3.tar.gz + +# locally computed +sha256 a7e0cdcbea5c14927cedfc600d46526bdcbb1eb0a4d951e2ea53c2a6de159cb4 LICENSE +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 libraries/libapparmor/COPYING.LGPL diff --git a/buildroot-2022.02.1/package/libapparmor/libapparmor.mk b/buildroot-2022.02.1/package/libapparmor/libapparmor.mk new file mode 100644 index 00000000..7bb849ab --- /dev/null +++ b/buildroot-2022.02.1/package/libapparmor/libapparmor.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# libapparmor +# +################################################################################ + +# When updating the version here, please also update the apparmor package +LIBAPPARMOR_VERSION_MAJOR = 3.0 +LIBAPPARMOR_VERSION = $(LIBAPPARMOR_VERSION_MAJOR).3 +LIBAPPARMOR_SOURCE = apparmor-$(LIBAPPARMOR_VERSION).tar.gz +LIBAPPARMOR_SITE = https://launchpad.net/apparmor/$(LIBAPPARMOR_VERSION_MAJOR)/$(LIBAPPARMOR_VERSION)/+download +LIBAPPARMOR_LICENSE = LGPL-2.1 +LIBAPPARMOR_LICENSE_FILES = LICENSE libraries/libapparmor/COPYING.LGPL + +LIBAPPARMOR_DEPENDENCIES = host-bison host-flex host-pkgconf +LIBAPPARMOR_SUBDIR = libraries/libapparmor +LIBAPPARMOR_INSTALL_STAGING = YES + +# Patch 0001 touches Makefile.am and m4 files +LIBAPPARMOR_AUTORECONF = YES + +# Most AppArmor tools will want to link to the static lib. +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +LIBAPPARMOR_CONF_OPTS = \ + ac_cv_prog_cc_c99=-std=gnu99 \ + --enable-static \ + --disable-man-pages + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBAPPARMOR_DEPENDENCIES += host-python3 host-python-setuptools host-swig python3 +LIBAPPARMOR_CONF_OPTS += \ + --with-python \ + PYTHON=$(HOST_DIR)/usr/bin/python3 \ + PYTHON_CONFIG=$(STAGING_DIR)/usr/bin/python3-config \ + SWIG=$(SWIG) +else +LIBAPPARMOR_CONF_OPTS += --without-python +endif + +define LIBAPPARMOR_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT) + $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY) + $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_APPARMOR) + $(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_SECURITY_APPARMOR) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libarchive/Config.in b/buildroot-2022.02.1/package/libarchive/Config.in similarity index 100% rename from buildroot-2021.05/package/libarchive/Config.in rename to buildroot-2022.02.1/package/libarchive/Config.in diff --git a/buildroot-2022.02.1/package/libarchive/libarchive.hash b/buildroot-2022.02.1/package/libarchive/libarchive.hash new file mode 100644 index 00000000..5dd8e5c1 --- /dev/null +++ b/buildroot-2022.02.1/package/libarchive/libarchive.hash @@ -0,0 +1,4 @@ +# From https://www.libarchive.de/downloads/sha256sums +sha256 5cac725dd4be31c4a10b65d30f29dc957ea29ef3d758df6e46e8ae90a996a19a libarchive-3.5.3.tar.xz +# Locally computed: +sha256 b2cdf763345de2de34cebf54394df3c61a105c3b71288603c251f2fa638200ba COPYING diff --git a/buildroot-2022.02.1/package/libarchive/libarchive.mk b/buildroot-2022.02.1/package/libarchive/libarchive.mk new file mode 100644 index 00000000..cf16c27e --- /dev/null +++ b/buildroot-2022.02.1/package/libarchive/libarchive.mk @@ -0,0 +1,158 @@ +################################################################################ +# +# libarchive +# +################################################################################ + +LIBARCHIVE_VERSION = 3.5.3 +LIBARCHIVE_SOURCE = libarchive-$(LIBARCHIVE_VERSION).tar.xz +LIBARCHIVE_SITE = https://www.libarchive.de/downloads +LIBARCHIVE_INSTALL_STAGING = YES +LIBARCHIVE_LICENSE = BSD-2-Clause, BSD-3-Clause, CC0-1.0, OpenSSL, Apache-2.0 +LIBARCHIVE_LICENSE_FILES = COPYING +LIBARCHIVE_CPE_ID_VENDOR = libarchive + +ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDTAR),y) +ifeq ($(BR2_STATIC_LIBS),y) +LIBARCHIVE_CONF_OPTS += --enable-bsdtar=static +else +LIBARCHIVE_CONF_OPTS += --enable-bsdtar=shared +endif +else +LIBARCHIVE_CONF_OPTS += --disable-bsdtar +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDCPIO),y) +ifeq ($(BR2_STATIC_LIBS),y) +LIBARCHIVE_CONF_OPTS += --enable-bsdcpio=static +else +LIBARCHIVE_CONF_OPTS += --enable-bsdcpio=shared +endif +else +LIBARCHIVE_CONF_OPTS += --disable-bsdcpio +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE_BSDCAT),y) +ifeq ($(BR2_STATIC_LIBS),y) +LIBARCHIVE_CONF_OPTS += --enable-bsdcat=static +else +LIBARCHIVE_CONF_OPTS += --enable-bsdcat=shared +endif +else +LIBARCHIVE_CONF_OPTS += --disable-bsdcat +endif + +ifeq ($(BR2_PACKAGE_ACL),y) +LIBARCHIVE_DEPENDENCIES += acl +else +LIBARCHIVE_CONF_OPTS += --disable-acl +endif + +ifeq ($(BR2_PACKAGE_ATTR),y) +LIBARCHIVE_DEPENDENCIES += attr +else +LIBARCHIVE_CONF_OPTS += --disable-xattr +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +LIBARCHIVE_CONF_OPTS += --with-bz2lib +LIBARCHIVE_DEPENDENCIES += bzip2 +else +LIBARCHIVE_CONF_OPTS += --without-bz2lib +endif + +ifeq ($(BR2_PACKAGE_EXPAT),y) +LIBARCHIVE_DEPENDENCIES += expat +else +LIBARCHIVE_CONF_OPTS += --without-expat +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +LIBARCHIVE_DEPENDENCIES += libiconv +else +LIBARCHIVE_CONF_OPTS += --without-libiconv-prefix +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +LIBARCHIVE_DEPENDENCIES += libxml2 +LIBARCHIVE_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config +else +LIBARCHIVE_CONF_OPTS += --without-xml2 +endif + +ifeq ($(BR2_PACKAGE_LZ4),y) +LIBARCHIVE_CONF_OPTS += --with-lz4 +LIBARCHIVE_DEPENDENCIES += lz4 +else +LIBARCHIVE_CONF_OPTS += --without-lz4 +endif + +ifeq ($(BR2_PACKAGE_LZO),y) +LIBARCHIVE_DEPENDENCIES += lzo +else +LIBARCHIVE_CONF_OPTS += --without-lzo2 +endif + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBARCHIVE_DEPENDENCIES += mbedtls +LIBARCHIVE_CONF_OPTS += --with-mbedtls +else +LIBARCHIVE_CONF_OPTS += --without-mbedtls +endif + +ifeq ($(BR2_PACKAGE_NETTLE),y) +LIBARCHIVE_DEPENDENCIES += nettle +LIBARCHIVE_CONF_OPTS += --with-nettle +else +LIBARCHIVE_CONF_OPTS += --without-nettle +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBARCHIVE_DEPENDENCIES += openssl +else +LIBARCHIVE_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBARCHIVE_DEPENDENCIES += zlib +else +LIBARCHIVE_CONF_OPTS += --without-zlib +endif + +# libarchive requires LZMA with thread support in the toolchain +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS)$(BR2_PACKAGE_XZ),yy) +LIBARCHIVE_DEPENDENCIES += xz +LIBARCHIVE_CONF_OPTS += --with-lzma +else +LIBARCHIVE_CONF_OPTS += --without-lzma +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +LIBARCHIVE_DEPENDENCIES += zstd +LIBARCHIVE_CONF_OPTS += --with-zstd +else +LIBARCHIVE_CONF_OPTS += --without-zstd +endif + +# The only user of host-libarchive needs zlib support +HOST_LIBARCHIVE_DEPENDENCIES = host-zlib +HOST_LIBARCHIVE_CONF_OPTS = \ + --disable-bsdtar \ + --disable-bsdcpio \ + --disable-bsdcat \ + --disable-acl \ + --disable-xattr \ + --without-bz2lib \ + --without-expat \ + --without-libiconv-prefix \ + --without-xml2 \ + --without-lz4 \ + --without-lzo2 \ + --without-mbedtls \ + --without-nettle \ + --without-openssl \ + --without-lzma \ + --without-zstd + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libargon2/0001-libargon2-dont-fail-on-existing-symlink.patch b/buildroot-2022.02.1/package/libargon2/0001-libargon2-dont-fail-on-existing-symlink.patch similarity index 100% rename from buildroot-2021.05/package/libargon2/0001-libargon2-dont-fail-on-existing-symlink.patch rename to buildroot-2022.02.1/package/libargon2/0001-libargon2-dont-fail-on-existing-symlink.patch diff --git a/buildroot-2021.05/package/libargon2/Config.in b/buildroot-2022.02.1/package/libargon2/Config.in similarity index 100% rename from buildroot-2021.05/package/libargon2/Config.in rename to buildroot-2022.02.1/package/libargon2/Config.in diff --git a/buildroot-2021.05/package/libargon2/libargon2.hash b/buildroot-2022.02.1/package/libargon2/libargon2.hash similarity index 100% rename from buildroot-2021.05/package/libargon2/libargon2.hash rename to buildroot-2022.02.1/package/libargon2/libargon2.hash diff --git a/buildroot-2021.05/package/libargon2/libargon2.mk b/buildroot-2022.02.1/package/libargon2/libargon2.mk similarity index 100% rename from buildroot-2021.05/package/libargon2/libargon2.mk rename to buildroot-2022.02.1/package/libargon2/libargon2.mk diff --git a/buildroot-2021.05/package/libargtable2/Config.in b/buildroot-2022.02.1/package/libargtable2/Config.in similarity index 100% rename from buildroot-2021.05/package/libargtable2/Config.in rename to buildroot-2022.02.1/package/libargtable2/Config.in diff --git a/buildroot-2021.05/package/libargtable2/libargtable2.hash b/buildroot-2022.02.1/package/libargtable2/libargtable2.hash similarity index 100% rename from buildroot-2021.05/package/libargtable2/libargtable2.hash rename to buildroot-2022.02.1/package/libargtable2/libargtable2.hash diff --git a/buildroot-2022.02.1/package/libargtable2/libargtable2.mk b/buildroot-2022.02.1/package/libargtable2/libargtable2.mk new file mode 100644 index 00000000..d033e28f --- /dev/null +++ b/buildroot-2022.02.1/package/libargtable2/libargtable2.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# libargtable2 +# +################################################################################ + +LIBARGTABLE2_MAJOR_VERSION = 2 +LIBARGTABLE2_MINOR_VERSION = 13 +LIBARGTABLE2_VERSION = $(LIBARGTABLE2_MAJOR_VERSION).$(LIBARGTABLE2_MINOR_VERSION) +LIBARGTABLE2_SOURCE = argtable2-$(LIBARGTABLE2_MINOR_VERSION).tar.gz +LIBARGTABLE2_SITE = http://downloads.sourceforge.net/project/argtable/argtable/argtable-$(LIBARGTABLE2_VERSION) +LIBARGTABLE2_INSTALL_STAGING = YES +LIBARGTABLE2_CONF_OPTS = \ + --disable-example \ + --disable-kernel-module \ + --enable-lib \ + --enable-util +LIBARGTABLE2_LICENSE = LGPL-2.0+ +LIBARGTABLE2_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libart/0001-art-config-cross.patch b/buildroot-2022.02.1/package/libart/0001-art-config-cross.patch similarity index 100% rename from buildroot-2021.05/package/libart/0001-art-config-cross.patch rename to buildroot-2022.02.1/package/libart/0001-art-config-cross.patch diff --git a/buildroot-2021.05/package/libart/Config.in b/buildroot-2022.02.1/package/libart/Config.in similarity index 100% rename from buildroot-2021.05/package/libart/Config.in rename to buildroot-2022.02.1/package/libart/Config.in diff --git a/buildroot-2021.05/package/libart/libart.hash b/buildroot-2022.02.1/package/libart/libart.hash similarity index 100% rename from buildroot-2021.05/package/libart/libart.hash rename to buildroot-2022.02.1/package/libart/libart.hash diff --git a/buildroot-2021.05/package/libart/libart.mk b/buildroot-2022.02.1/package/libart/libart.mk similarity index 100% rename from buildroot-2021.05/package/libart/libart.mk rename to buildroot-2022.02.1/package/libart/libart.mk diff --git a/buildroot-2022.02.1/package/libasplib/0001-asplib_CPUTimer.h-Fix-time.h-include.patch b/buildroot-2022.02.1/package/libasplib/0001-asplib_CPUTimer.h-Fix-time.h-include.patch new file mode 100644 index 00000000..e0d0becc --- /dev/null +++ b/buildroot-2022.02.1/package/libasplib/0001-asplib_CPUTimer.h-Fix-time.h-include.patch @@ -0,0 +1,39 @@ +From 7291289ba0c052e45e2a0330642318798d6a4caf Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Fri, 27 Jan 2017 16:02:27 +0100 +Subject: [PATCH] asplib_CPUTimer.h: Fix time.h include + +According to https://linux.die.net/man/3/clock_gettime time.h needs to +be included instead of sys/time.h. + +This patch fixes a build error found by buildroot autobuilders: + +http://autobuild.buildroot.net/results/cc0/cc0b928ee24a526b7c82fd3f391e2be024a14578// + +/home/peko/autobuild/instance-1/output/build/libasplib-be7fac89218a84b75f7598e3d76625ece99296f2/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.cpp: In member function 'void asplib::CCPUTimer::start_Timer()': +/home/peko/autobuild/instance-1/output/build/libasplib-be7fac89218a84b75f7598e3d76625ece99296f2/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.cpp:69:19: error: 'CLOCK_REALTIME' was not declared in this scope + clock_gettime(CLOCK_REALTIME, &m_startTime); + +Patch sent upstream: https://github.com/AchimTuran/asplib/pull/34 + +Signed-off-by: Bernd Kuhls +--- + asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h b/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h +index a61ff49..a9676e0 100644 +--- a/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h ++++ b/asplib_modules/Timer/asplib/Timer/asplib_CPUTimer.h +@@ -29,7 +29,7 @@ + #include + #include + #elif defined(TARGET_LINUX) +- #include ++ #include + #endif + + namespace asplib +-- +2.11.0 + diff --git a/buildroot-2021.05/package/libasplib/Config.in b/buildroot-2022.02.1/package/libasplib/Config.in similarity index 100% rename from buildroot-2021.05/package/libasplib/Config.in rename to buildroot-2022.02.1/package/libasplib/Config.in diff --git a/buildroot-2021.05/package/libasplib/libasplib.hash b/buildroot-2022.02.1/package/libasplib/libasplib.hash similarity index 100% rename from buildroot-2021.05/package/libasplib/libasplib.hash rename to buildroot-2022.02.1/package/libasplib/libasplib.hash diff --git a/buildroot-2021.05/package/libasplib/libasplib.mk b/buildroot-2022.02.1/package/libasplib/libasplib.mk similarity index 100% rename from buildroot-2021.05/package/libasplib/libasplib.mk rename to buildroot-2022.02.1/package/libasplib/libasplib.mk diff --git a/buildroot-2022.02.1/package/libass/Config.in b/buildroot-2022.02.1/package/libass/Config.in new file mode 100644 index 00000000..d7725d5e --- /dev/null +++ b/buildroot-2022.02.1/package/libass/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_LIBASS + bool "libass" + depends on BR2_INSTALL_LIBSTDCPP # harfbuzz + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_HARFBUZZ + select BR2_PACKAGE_LIBFRIBIDI + help + libass is a portable subtitle renderer for the ASS/SSA + (Advanced Substation Alpha/Substation Alpha) subtitle format + + https://github.com/libass/libass + +comment "libass needs a toolchain w/ C++, gcc >= 4.9" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/libass/libass.hash b/buildroot-2022.02.1/package/libass/libass.hash new file mode 100644 index 00000000..33ed0c4f --- /dev/null +++ b/buildroot-2022.02.1/package/libass/libass.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1be2df9c4485a57d78bb18c0a8ed157bc87a5a8dd48c661961c625cb112832fd libass-0.15.2.tar.xz +sha256 f7e30699d02798351e7f839e3d3bfeb29ce65e44efa7735c225464c4fd7dfe9c COPYING diff --git a/buildroot-2022.02.1/package/libass/libass.mk b/buildroot-2022.02.1/package/libass/libass.mk new file mode 100644 index 00000000..93bfbe4e --- /dev/null +++ b/buildroot-2022.02.1/package/libass/libass.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# libass +# +################################################################################ + +LIBASS_VERSION = 0.15.2 +LIBASS_SOURCE = libass-$(LIBASS_VERSION).tar.xz +# Do not use the github helper here, the generated tarball is *NOT* +# the same as the one uploaded by upstream for the release. +LIBASS_SITE = https://github.com/libass/libass/releases/download/$(LIBASS_VERSION) +LIBASS_INSTALL_STAGING = YES +LIBASS_LICENSE = ISC +LIBASS_LICENSE_FILES = COPYING +LIBASS_CPE_ID_VENDOR = libass_project +LIBASS_DEPENDENCIES = \ + host-pkgconf \ + freetype \ + harfbuzz \ + libfribidi \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +# configure: WARNING: Install nasm for a significantly faster libass build. +# only for Intel archs +ifeq ($(BR2_i386)$(BR2_x86_64),y) +LIBASS_DEPENDENCIES += host-nasm +endif + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +LIBASS_DEPENDENCIES += fontconfig +LIBASS_CONF_OPTS += --enable-fontconfig +else +LIBASS_CONF_OPTS += --disable-fontconfig --disable-require-system-font-provider +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libassuan/Config.in b/buildroot-2022.02.1/package/libassuan/Config.in similarity index 100% rename from buildroot-2021.05/package/libassuan/Config.in rename to buildroot-2022.02.1/package/libassuan/Config.in diff --git a/buildroot-2022.02.1/package/libassuan/libassuan.hash b/buildroot-2022.02.1/package/libassuan/libassuan.hash new file mode 100644 index 00000000..c817a3af --- /dev/null +++ b/buildroot-2022.02.1/package/libassuan/libassuan.hash @@ -0,0 +1,8 @@ +# From https://www.gnupg.org/download/integrity_check.html +sha1 ec4f67c0117ccd17007c748a392ded96dc1b1ae9 libassuan-2.5.5.tar.bz2 +# Locally calculated after checking signature +# https://www.gnupg.org/ftp/gcrypt/libassuan/libassuan-2.5.5.tar.bz2.sig +# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 +sha256 8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4 libassuan-2.5.5.tar.bz2 +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB +sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING diff --git a/buildroot-2022.02.1/package/libassuan/libassuan.mk b/buildroot-2022.02.1/package/libassuan/libassuan.mk new file mode 100644 index 00000000..f98c13b5 --- /dev/null +++ b/buildroot-2022.02.1/package/libassuan/libassuan.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libassuan +# +################################################################################ + +LIBASSUAN_VERSION = 2.5.5 +LIBASSUAN_SITE = ftp://ftp.gnupg.org/gcrypt/libassuan +LIBASSUAN_SOURCE = libassuan-$(LIBASSUAN_VERSION).tar.bz2 +LIBASSUAN_LICENSE = LGPL-2.1+ (library), GPL-3.0 (tests, doc) +LIBASSUAN_LICENSE_FILES = COPYING.LIB COPYING +LIBASSUAN_INSTALL_STAGING = YES +LIBASSUAN_DEPENDENCIES = libgpg-error +LIBASSUAN_CONF_OPTS = \ + --with-gpg-error-prefix=$(STAGING_DIR)/usr +LIBASSUAN_CONFIG_SCRIPTS = libassuan-config + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libatasmart/0001-strpool-cross-flags.patch b/buildroot-2022.02.1/package/libatasmart/0001-strpool-cross-flags.patch similarity index 100% rename from buildroot-2021.05/package/libatasmart/0001-strpool-cross-flags.patch rename to buildroot-2022.02.1/package/libatasmart/0001-strpool-cross-flags.patch diff --git a/buildroot-2021.05/package/libatasmart/Config.in b/buildroot-2022.02.1/package/libatasmart/Config.in similarity index 100% rename from buildroot-2021.05/package/libatasmart/Config.in rename to buildroot-2022.02.1/package/libatasmart/Config.in diff --git a/buildroot-2021.05/package/libatasmart/libatasmart.hash b/buildroot-2022.02.1/package/libatasmart/libatasmart.hash similarity index 100% rename from buildroot-2021.05/package/libatasmart/libatasmart.hash rename to buildroot-2022.02.1/package/libatasmart/libatasmart.hash diff --git a/buildroot-2021.05/package/libatasmart/libatasmart.mk b/buildroot-2022.02.1/package/libatasmart/libatasmart.mk similarity index 100% rename from buildroot-2021.05/package/libatasmart/libatasmart.mk rename to buildroot-2022.02.1/package/libatasmart/libatasmart.mk diff --git a/buildroot-2022.02.1/package/libatomic_ops/Config.in b/buildroot-2022.02.1/package/libatomic_ops/Config.in new file mode 100644 index 00000000..8287c652 --- /dev/null +++ b/buildroot-2022.02.1/package/libatomic_ops/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS + bool + default y if BR2_aarch64 || BR2_arm || BR2_armeb + default y if BR2_i386 || BR2_x86_64 + default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le + default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + default y if BR2_riscv + default y if BR2_sparc || BR2_sparc64 + # Unsupported for MIPS R6 + depends on !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6 + +config BR2_PACKAGE_LIBATOMIC_OPS + bool "libatomic_ops" + depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS + help + Atomic operations library + + https://github.com/ivmai/libatomic_ops diff --git a/buildroot-2022.02.1/package/libatomic_ops/libatomic_ops.hash b/buildroot-2022.02.1/package/libatomic_ops/libatomic_ops.hash new file mode 100644 index 00000000..991c3fbe --- /dev/null +++ b/buildroot-2022.02.1/package/libatomic_ops/libatomic_ops.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 18091d5f3cb7008b0432016390ff437b9d1d76c10b92c8e63ff63f0c1331b030 libatomic_ops-7.6.12.tar.gz +sha256 f0e630c0ca489767033da5a0c869fb4231db522c5ff479ce55a853a923a00f69 doc/LICENSING.txt +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/libatomic_ops/libatomic_ops.mk b/buildroot-2022.02.1/package/libatomic_ops/libatomic_ops.mk new file mode 100644 index 00000000..fb1e86f6 --- /dev/null +++ b/buildroot-2022.02.1/package/libatomic_ops/libatomic_ops.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# libatomic_ops +# +################################################################################ + +LIBATOMIC_OPS_VERSION = 7.6.12 +LIBATOMIC_OPS_SITE = $(call github,ivmai,libatomic_ops,v$(LIBATOMIC_OPS_VERSION)) +LIBATOMIC_OPS_AUTORECONF = YES + +# From doc/LICENSING.txt: "Our intent is to make it easy to use +# libatomic_ops, in both free and proprietary software. Hence most +# code that we expect to be linked into a client application is +# covered by an MIT-style license. A few library routines are covered +# by the GNU General Public License. These are put into a separate +# library, libatomic_ops_gpl.a." +LIBATOMIC_OPS_LICENSE = MIT (main library) / GPL-2.0+ (gpl extension) +LIBATOMIC_OPS_LICENSE_FILES = doc/LICENSING.txt COPYING +LIBATOMIC_OPS_CPE_ID_VENDOR = libatomic_ops_project + +LIBATOMIC_OPS_INSTALL_STAGING = YES + +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +LIBATOMIC_OPS_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9" +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libavl/0001-fix-makefile.patch b/buildroot-2022.02.1/package/libavl/0001-fix-makefile.patch similarity index 100% rename from buildroot-2021.05/package/libavl/0001-fix-makefile.patch rename to buildroot-2022.02.1/package/libavl/0001-fix-makefile.patch diff --git a/buildroot-2021.05/package/libavl/Config.in b/buildroot-2022.02.1/package/libavl/Config.in similarity index 100% rename from buildroot-2021.05/package/libavl/Config.in rename to buildroot-2022.02.1/package/libavl/Config.in diff --git a/buildroot-2021.05/package/libavl/libavl.hash b/buildroot-2022.02.1/package/libavl/libavl.hash similarity index 100% rename from buildroot-2021.05/package/libavl/libavl.hash rename to buildroot-2022.02.1/package/libavl/libavl.hash diff --git a/buildroot-2021.05/package/libavl/libavl.mk b/buildroot-2022.02.1/package/libavl/libavl.mk similarity index 100% rename from buildroot-2021.05/package/libavl/libavl.mk rename to buildroot-2022.02.1/package/libavl/libavl.mk diff --git a/buildroot-2021.05/package/libb64/0001-Integer-overflows.patch b/buildroot-2022.02.1/package/libb64/0001-Integer-overflows.patch similarity index 100% rename from buildroot-2021.05/package/libb64/0001-Integer-overflows.patch rename to buildroot-2022.02.1/package/libb64/0001-Integer-overflows.patch diff --git a/buildroot-2021.05/package/libb64/0002-Initialize-C++-objects.patch b/buildroot-2022.02.1/package/libb64/0002-Initialize-C++-objects.patch similarity index 100% rename from buildroot-2021.05/package/libb64/0002-Initialize-C++-objects.patch rename to buildroot-2022.02.1/package/libb64/0002-Initialize-C++-objects.patch diff --git a/buildroot-2021.05/package/libb64/Config.in b/buildroot-2022.02.1/package/libb64/Config.in similarity index 100% rename from buildroot-2021.05/package/libb64/Config.in rename to buildroot-2022.02.1/package/libb64/Config.in diff --git a/buildroot-2021.05/package/libb64/libb64.hash b/buildroot-2022.02.1/package/libb64/libb64.hash similarity index 100% rename from buildroot-2021.05/package/libb64/libb64.hash rename to buildroot-2022.02.1/package/libb64/libb64.hash diff --git a/buildroot-2021.05/package/libb64/libb64.mk b/buildroot-2022.02.1/package/libb64/libb64.mk similarity index 100% rename from buildroot-2021.05/package/libb64/libb64.mk rename to buildroot-2022.02.1/package/libb64/libb64.mk diff --git a/buildroot-2021.05/package/libbacktrace/Config.in b/buildroot-2022.02.1/package/libbacktrace/Config.in similarity index 100% rename from buildroot-2021.05/package/libbacktrace/Config.in rename to buildroot-2022.02.1/package/libbacktrace/Config.in diff --git a/buildroot-2021.05/package/libbacktrace/libbacktrace.hash b/buildroot-2022.02.1/package/libbacktrace/libbacktrace.hash similarity index 100% rename from buildroot-2021.05/package/libbacktrace/libbacktrace.hash rename to buildroot-2022.02.1/package/libbacktrace/libbacktrace.hash diff --git a/buildroot-2021.05/package/libbacktrace/libbacktrace.mk b/buildroot-2022.02.1/package/libbacktrace/libbacktrace.mk similarity index 100% rename from buildroot-2021.05/package/libbacktrace/libbacktrace.mk rename to buildroot-2022.02.1/package/libbacktrace/libbacktrace.mk diff --git a/buildroot-2021.05/package/libbdplus/Config.in b/buildroot-2022.02.1/package/libbdplus/Config.in similarity index 100% rename from buildroot-2021.05/package/libbdplus/Config.in rename to buildroot-2022.02.1/package/libbdplus/Config.in diff --git a/buildroot-2021.05/package/libbdplus/libbdplus.hash b/buildroot-2022.02.1/package/libbdplus/libbdplus.hash similarity index 100% rename from buildroot-2021.05/package/libbdplus/libbdplus.hash rename to buildroot-2022.02.1/package/libbdplus/libbdplus.hash diff --git a/buildroot-2021.05/package/libbdplus/libbdplus.mk b/buildroot-2022.02.1/package/libbdplus/libbdplus.mk similarity index 100% rename from buildroot-2021.05/package/libbdplus/libbdplus.mk rename to buildroot-2022.02.1/package/libbdplus/libbdplus.mk diff --git a/buildroot-2022.02.1/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch b/buildroot-2022.02.1/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch new file mode 100644 index 00000000..d5c9b2df --- /dev/null +++ b/buildroot-2022.02.1/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch @@ -0,0 +1,71 @@ +From ccf93148aa3587dd98a02e253cdc42a7af14df1e Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 29 Aug 2020 16:04:15 +0200 +Subject: [PATCH] Provide replacement function for strerror_l() + +strerror_l() is not implemented in some C libraries, such as uClibc, +so let's provide a simple replacement function that falls back on +strerror(). + +Signed-off-by: Thomas Petazzoni +[Upstream status: +https://github.com/storaged-project/libblockdev/pull/701] +--- + configure.ac | 2 ++ + src/plugins/crypto.c | 7 +++++++ + src/utils/module.c | 8 ++++++++ + 3 files changed, 17 insertions(+) + +diff --git a/configure.ac b/configure.ac +index c2d22c2..36aeb51 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -137,6 +137,8 @@ AC_CHECK_HEADERS([dlfcn.h string.h unistd.h sys/fcntl.h sys/ioctl.h linux/random + [LIBBLOCKDEV_SOFT_FAILURE([Header file $ac_header not found.])], + []) + ++AC_CHECK_FUNCS([strerror_l]) ++ + AC_ARG_WITH([bcache], + AS_HELP_STRING([--with-bcache], [support bcache @<:@default=yes@:>@]), + [], +diff --git a/src/plugins/crypto.c b/src/plugins/crypto.c +index f4a2e8f..c1bd7b5 100644 +--- a/src/plugins/crypto.c ++++ b/src/plugins/crypto.c +@@ -52,6 +52,13 @@ + + #define UNUSED __attribute__((unused)) + ++#if !defined(HAVE_STRERROR_L) ++static char *strerror_l(int errnum, locale_t locale UNUSED) ++{ ++ return strerror(errnum); ++} ++#endif ++ + /** + * SECTION: crypto + * @short_description: plugin for operations with encrypted devices +diff --git a/src/utils/module.c b/src/utils/module.c +index 9750e24..086bec0 100644 +--- a/src/utils/module.c ++++ b/src/utils/module.c +@@ -27,6 +27,14 @@ + + #include "module.h" + ++#define UNUSED __attribute__((unused)) ++ ++#if !defined(HAVE_STRERROR_L) ++static char *strerror_l(int errnum, locale_t locale UNUSED) ++{ ++ return strerror(errnum); ++} ++#endif + + /** + * bd_utils_module_error_quark: (skip) +-- +2.26.2 + diff --git a/buildroot-2021.05/package/libblockdev/Config.in b/buildroot-2022.02.1/package/libblockdev/Config.in similarity index 100% rename from buildroot-2021.05/package/libblockdev/Config.in rename to buildroot-2022.02.1/package/libblockdev/Config.in diff --git a/buildroot-2022.02.1/package/libblockdev/libblockdev.hash b/buildroot-2022.02.1/package/libblockdev/libblockdev.hash new file mode 100644 index 00000000..53a3b073 --- /dev/null +++ b/buildroot-2022.02.1/package/libblockdev/libblockdev.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c4c0e10b35ac632bda8ce6d200b5601184984dec387fe59185921eb42432e069 libblockdev-2.26.tar.gz +sha256 97bdc721d875501b6243a456333fdfdb1ab64d31c4da2554de845caf4674b946 LICENSE diff --git a/buildroot-2022.02.1/package/libblockdev/libblockdev.mk b/buildroot-2022.02.1/package/libblockdev/libblockdev.mk new file mode 100644 index 00000000..36b74966 --- /dev/null +++ b/buildroot-2022.02.1/package/libblockdev/libblockdev.mk @@ -0,0 +1,82 @@ +################################################################################ +# +# libblockdev +# +################################################################################ + +LIBBLOCKDEV_VERSION = 2.26 +LIBBLOCKDEV_SITE = https://github.com/storaged-project/libblockdev/releases/download/$(LIBBLOCKDEV_VERSION)-1 +LIBBLOCKDEV_LICENSE = LGPL-2.1 +LIBBLOCKDEV_LICENSE_FILES = LICENSE +LIBBLOCKDEV_INSTALL_STAGING = YES +LIBBLOCKDEV_DEPENDENCIES = host-pkgconf libglib2 kmod udev +# 0001-Provide-replacement-function-for-strerror_l.patch +LIBBLOCKDEV_AUTORECONF = YES + +LIBBLOCKDEV_CONF_OPTS = \ + --disable-introspection \ + --with-loop \ + --without-bcache \ + --without-btrfs \ + --without-dm \ + --without-dmraid \ + --without-escrow \ + --without-kbd \ + --without-lvm_dbus \ + --without-mpath \ + --without-nvdimm \ + --without-python2 \ + --without-python3 \ + --without-s390 \ + --without-tools \ + --without-vdo + +ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_CRYPTO),y) +LIBBLOCKDEV_DEPENDENCIES += cryptsetup +LIBBLOCKDEV_CONF_OPTS += --with-crypto +else +LIBBLOCKDEV_CONF_OPTS += --without-crypto +endif + +ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_FS),y) +LIBBLOCKDEV_DEPENDENCIES += parted util-linux +LIBBLOCKDEV_CONF_OPTS += --with-fs +else +LIBBLOCKDEV_CONF_OPTS += --without-fs +endif + +ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_LOOP),y) +LIBBLOCKDEV_CONF_OPTS += --with-loop +else +LIBBLOCKDEV_CONF_OPTS += --without-loop +endif + +ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_LVM2),y) +LIBBLOCKDEV_DEPENDENCIES += lvm2 parted +LIBBLOCKDEV_CONF_OPTS += --with-lvm +else +LIBBLOCKDEV_CONF_OPTS += --without-lvm +endif + +ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_MDRAID),y) +LIBBLOCKDEV_DEPENDENCIES += libbytesize +LIBBLOCKDEV_CONF_OPTS += --with-mdraid +else +LIBBLOCKDEV_CONF_OPTS += --without-mdraid +endif + +ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_PART),y) +LIBBLOCKDEV_DEPENDENCIES += parted +LIBBLOCKDEV_CONF_OPTS += --with-part +else +LIBBLOCKDEV_CONF_OPTS += --without-part +endif + +ifeq ($(BR2_PACKAGE_LIBBLOCKDEV_SWAP),y) +LIBBLOCKDEV_DEPENDENCIES += util-linux +LIBBLOCKDEV_CONF_OPTS += --with-swap +else +LIBBLOCKDEV_CONF_OPTS += --without-swap +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libbluray/Config.in b/buildroot-2022.02.1/package/libbluray/Config.in similarity index 100% rename from buildroot-2021.05/package/libbluray/Config.in rename to buildroot-2022.02.1/package/libbluray/Config.in diff --git a/buildroot-2022.02.1/package/libbluray/libbluray.hash b/buildroot-2022.02.1/package/libbluray/libbluray.hash new file mode 100644 index 00000000..6e62bb49 --- /dev/null +++ b/buildroot-2022.02.1/package/libbluray/libbluray.hash @@ -0,0 +1,4 @@ +# From http://download.videolan.org/pub/videolan/libbluray/1.3.1/libbluray-1.3.1.tar.bz2.sha512 +sha512 f39fc8a11771e8fdd5eeebf0ab23535ffab44721f64b350e5d153eee44555b31c618b6d765da114254dc83ff0ff89e84c6b185f61cdbcfedd2d47a5f6e26b75a libbluray-1.3.1.tar.bz2 +# Locally computed +sha256 b3aa400aca6d2ba1f0bd03bd98d03d1fe7489a3bbb26969d72016360af8a5c9d COPYING diff --git a/buildroot-2022.02.1/package/libbluray/libbluray.mk b/buildroot-2022.02.1/package/libbluray/libbluray.mk new file mode 100644 index 00000000..a9eb3c67 --- /dev/null +++ b/buildroot-2022.02.1/package/libbluray/libbluray.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# libbluray +# +################################################################################ + +LIBBLURAY_VERSION = 1.3.1 +LIBBLURAY_SITE = http://download.videolan.org/pub/videolan/libbluray/$(LIBBLURAY_VERSION) +LIBBLURAY_SOURCE = libbluray-$(LIBBLURAY_VERSION).tar.bz2 +LIBBLURAY_INSTALL_STAGING = YES +LIBBLURAY_LICENSE = LGPL-2.1+ +LIBBLURAY_LICENSE_FILES = COPYING +LIBBLURAY_CPE_ID_VENDOR = videolan +LIBBLURAY_DEPENDENCIES = host-pkgconf + +LIBBLURAY_CONF_OPTS = --disable-bdjava-jar + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +LIBBLURAY_DEPENDENCIES += libiconv +endif + +ifeq ($(BR2_PACKAGE_LIBUDFREAD),y) +LIBBLURAY_DEPENDENCIES += libudfread +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +LIBBLURAY_DEPENDENCIES += freetype +LIBBLURAY_CONF_OPTS += --with-freetype +else +LIBBLURAY_CONF_OPTS += --without-freetype +endif + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +LIBBLURAY_DEPENDENCIES += fontconfig +LIBBLURAY_CONF_OPTS += --with-fontconfig +else +LIBBLURAY_CONF_OPTS += --without-fontconfig +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +LIBBLURAY_DEPENDENCIES += libxml2 +LIBBLURAY_CONF_OPTS += --with-libxml2 +else +LIBBLURAY_CONF_OPTS += --without-libxml2 +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libbpf/Config.in b/buildroot-2022.02.1/package/libbpf/Config.in new file mode 100644 index 00000000..3aa6679b --- /dev/null +++ b/buildroot-2022.02.1/package/libbpf/Config.in @@ -0,0 +1,33 @@ +config BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + bool + # see src/bpf.c + default y if BR2_arc + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_i386 || BR2_x86_64 + default y if BR2_sparc || BR2_sparc64 + default y if BR2_s390x + +config BR2_PACKAGE_LIBBPF + bool "libbpf" + depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on BR2_USE_WCHAR # elfutils + depends on !BR2_STATIC_LIBS # elfutils + depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 + depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_ZLIB + help + libbpf library. + A mirror of bpf-next linux tree bpf-next/tools/lib/bpf + directory plus its supporting header files. The version + of the package reflects the version of ABI. + + https://github.com/libbpf/libbpf + +comment "libbpf needs a uClibc or glibc toolchain w/ wchar, dynamic library, threads, headers >= 4.13" + depends on BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS + depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 \ + || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) diff --git a/buildroot-2022.02.1/package/libbpf/libbpf.hash b/buildroot-2022.02.1/package/libbpf/libbpf.hash new file mode 100644 index 00000000..27e22be9 --- /dev/null +++ b/buildroot-2022.02.1/package/libbpf/libbpf.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 ce3a8eb32d85ac48490256597736d8b27e0a5e947a0731613b7aba6b4ae43ac0 libbpf-0.6.1.tar.gz +sha256 847f4addbd56e2d5be20c4ea0845e972672fc07b755fadaae5f7abd35d71e349 LICENSE +sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd LICENSE.BSD-2-Clause +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSE.LGPL-2.1 diff --git a/buildroot-2022.02.1/package/libbpf/libbpf.mk b/buildroot-2022.02.1/package/libbpf/libbpf.mk new file mode 100644 index 00000000..06f3f347 --- /dev/null +++ b/buildroot-2022.02.1/package/libbpf/libbpf.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# libbpf +# +################################################################################ + +LIBBPF_VERSION = 0.6.1 +LIBBPF_SITE = $(call github,libbpf,libbpf,v$(LIBBPF_VERSION)) +LIBBPF_LICENSE = GPL-2.0, LGPL-2.1, BSD-2-Clause +LIBBPF_LICENSE_FILES = LICENSE LICENSE.BSD-2-Clause LICENSE.LGPL-2.1 +LIBBPF_CPE_ID_VENDOR = libbpf_project +LIBBPF_DEPENDENCIES = host-bison host-flex host-pkgconf elfutils zlib +LIBBPF_INSTALL_STAGING = YES + +define LIBBPF_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src +endef + +# bpf/bpf.h installed by libbpf uses bpf_iter_link_info that was added since +# kernel 5.9, so we need to update some uapi headers in STAGING_DIR if the +# toolchain is build with linux-headers < 5.9. +# Otherwise bpf/bpf.h is broken due to out of date linux/bpf.h installed by the +# toolchain. +# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a5cbe05a6673b85bed2a63ffcfea6a96c6410cff +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9),) +LIBBPF_UPDATE_UAPI_HEADERS = install_uapi_headers +endif + +define LIBBPF_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install $(LIBBPF_UPDATE_UAPI_HEADERS) \ + DESTDIR=$(STAGING_DIR) +endef + +define LIBBPF_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + -C $(@D)/src install DESTDIR=$(TARGET_DIR) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libbroadvoice/Config.in b/buildroot-2022.02.1/package/libbroadvoice/Config.in similarity index 100% rename from buildroot-2021.05/package/libbroadvoice/Config.in rename to buildroot-2022.02.1/package/libbroadvoice/Config.in diff --git a/buildroot-2021.05/package/libbroadvoice/libbroadvoice.hash b/buildroot-2022.02.1/package/libbroadvoice/libbroadvoice.hash similarity index 100% rename from buildroot-2021.05/package/libbroadvoice/libbroadvoice.hash rename to buildroot-2022.02.1/package/libbroadvoice/libbroadvoice.hash diff --git a/buildroot-2021.05/package/libbroadvoice/libbroadvoice.mk b/buildroot-2022.02.1/package/libbroadvoice/libbroadvoice.mk similarity index 100% rename from buildroot-2021.05/package/libbroadvoice/libbroadvoice.mk rename to buildroot-2022.02.1/package/libbroadvoice/libbroadvoice.mk diff --git a/buildroot-2022.02.1/package/libbsd/Config.in b/buildroot-2022.02.1/package/libbsd/Config.in new file mode 100644 index 00000000..093a2e64 --- /dev/null +++ b/buildroot-2022.02.1/package/libbsd/Config.in @@ -0,0 +1,29 @@ +config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS + bool + default y + # libbsd does not support those architectures (see src/local-elf.h) + depends on !BR2_microblaze + depends on !BR2_arc + depends on !BR2_xtensa + depends on !BR2_nds32 + +config BR2_PACKAGE_LIBBSD + bool "libbsd" + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + select BR2_PACKAGE_LIBMD + help + This library provides useful functions commonly found on BSD + systems, and lacking on others like GNU systems, thus making + it easier to port projects with strong BSD origins, without + needing to embed the same code over and over again on each + project. + + http://libbsd.freedesktop.org/ + +comment "libbsd needs a toolchain w/ dynamic library, threads, wchar" + depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/libbsd/libbsd.hash b/buildroot-2022.02.1/package/libbsd/libbsd.hash new file mode 100644 index 00000000..17bb32e0 --- /dev/null +++ b/buildroot-2022.02.1/package/libbsd/libbsd.hash @@ -0,0 +1,3 @@ +# From https://lists.freedesktop.org/archives/libbsd/2021-February/000305.html +sha512 a7015ea1ffa3766b1a4690526a25231898ad8275149b31fb6801082450172249997c36165626d101ffce53b59767a46676eebc0806426922fe4e773a0376c1f5 libbsd-0.11.3.tar.xz +sha256 ff2fdeeb0fe8bcb9045fe91d69e8312a5b477c54db48dffe34dd1c0d730c5864 COPYING diff --git a/buildroot-2022.02.1/package/libbsd/libbsd.mk b/buildroot-2022.02.1/package/libbsd/libbsd.mk new file mode 100644 index 00000000..86df8a97 --- /dev/null +++ b/buildroot-2022.02.1/package/libbsd/libbsd.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# libbsd +# +################################################################################ + +LIBBSD_VERSION = 0.11.3 +LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz +LIBBSD_SITE = https://libbsd.freedesktop.org/releases +LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, BSD-5-Clause, \ + MIT, ISC, Beerware +LIBBSD_LICENSE_FILES = COPYING +LIBBSD_CPE_ID_VENDOR = freedesktop +LIBBSD_INSTALL_STAGING = YES +LIBBSD_DEPENDENCIES = libmd + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libbson/Config.in b/buildroot-2022.02.1/package/libbson/Config.in similarity index 100% rename from buildroot-2021.05/package/libbson/Config.in rename to buildroot-2022.02.1/package/libbson/Config.in diff --git a/buildroot-2021.05/package/libbson/libbson.hash b/buildroot-2022.02.1/package/libbson/libbson.hash similarity index 100% rename from buildroot-2021.05/package/libbson/libbson.hash rename to buildroot-2022.02.1/package/libbson/libbson.hash diff --git a/buildroot-2022.02.1/package/libbson/libbson.mk b/buildroot-2022.02.1/package/libbson/libbson.mk new file mode 100644 index 00000000..1ac72028 --- /dev/null +++ b/buildroot-2022.02.1/package/libbson/libbson.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# libbson +# +################################################################################ + +LIBBSON_VERSION = 1.9.5 +LIBBSON_SITE = https://github.com/mongodb/libbson/releases/download/$(LIBBSON_VERSION) +LIBBSON_LICENSE = Apache-2.0, MIT (jsonl), ISC (b64), Zlib (md5) +LIBBSON_LICENSE_FILES = COPYING THIRD_PARTY_NOTICES +LIBBSON_CPE_ID_VENDOR = mongodb +LIBBSON_CONF_OPTS = \ + --disable-tests \ + --disable-examples \ + --disable-man-pages \ + --disable-html-docs + +LIBBSON_INSTALL_STAGING = YES + +# Also has CMake support, but that forces shared+static libs and static +# lib has a different name. +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libbytesize/Config.in b/buildroot-2022.02.1/package/libbytesize/Config.in similarity index 100% rename from buildroot-2021.05/package/libbytesize/Config.in rename to buildroot-2022.02.1/package/libbytesize/Config.in diff --git a/buildroot-2022.02.1/package/libbytesize/libbytesize.hash b/buildroot-2022.02.1/package/libbytesize/libbytesize.hash new file mode 100644 index 00000000..2dfa97dd --- /dev/null +++ b/buildroot-2022.02.1/package/libbytesize/libbytesize.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 efaa2b35b2bb3b52bf7b4ff5d0ed2c5c61360a5196053808d615dd0aa2cf0741 libbytesize-2.6.tar.gz +sha256 97bdc721d875501b6243a456333fdfdb1ab64d31c4da2554de845caf4674b946 LICENSE diff --git a/buildroot-2022.02.1/package/libbytesize/libbytesize.mk b/buildroot-2022.02.1/package/libbytesize/libbytesize.mk new file mode 100644 index 00000000..2ef08211 --- /dev/null +++ b/buildroot-2022.02.1/package/libbytesize/libbytesize.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# libbytesize +# +################################################################################ + +LIBBYTESIZE_VERSION = 2.6 +LIBBYTESIZE_SITE = https://github.com/storaged-project/libbytesize/releases/download/$(LIBBYTESIZE_VERSION) +LIBBYTESIZE_LICENSE = LGPL-2.1+ +LIBBYTESIZE_LICENSE_FILES = LICENSE +LIBBYTESIZE_INSTALL_STAGING = YES + +LIBBYTESIZE_DEPENDENCIES = \ + host-pkgconf \ + host-gettext \ + gmp \ + mpfr \ + pcre2 + +LIBBYTESIZE_CONF_OPTS += \ + --without-python3 \ + --without-tools + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libcamera-apps/0001-cmake-remove-Werror-and-Wfatal-errors-compiler-comma.patch b/buildroot-2022.02.1/package/libcamera-apps/0001-cmake-remove-Werror-and-Wfatal-errors-compiler-comma.patch new file mode 100644 index 00000000..988d89cc --- /dev/null +++ b/buildroot-2022.02.1/package/libcamera-apps/0001-cmake-remove-Werror-and-Wfatal-errors-compiler-comma.patch @@ -0,0 +1,37 @@ +From 6bd733b52f0b4039407c676cd3126a9e2f79456b Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Fri, 5 Feb 2021 18:24:08 +0100 +Subject: [PATCH] cmake: remove -Werror and -Wfatal-errors compiler command + line option +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes (with bootlin-riscv64-musl toolchain): + + .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/core/libcamera_app.cpp:30:22: error: overflow in conversion from ‘long unsigned int’ to ‘int’ changes value from ‘2154321408’ to ‘-2140645888’ [-Werror=overflow] + 30 | int ret = ioctl(fd, VIDIOC_QUERYCAP, &caps); + | ^~~~~~~~~~~~~~~ + cc1plus: all warnings being treated as errors + +Signed-off-by: Peter Seiderer +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 748c6dd..1ca1e39 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -11,7 +11,7 @@ endif() + + set (CMAKE_EXPORT_COMPILE_COMMANDS ON) + set (CMAKE_CXX_STANDARD 17) +-add_compile_options(-Wall -Wextra -pedantic -Wno-unused-parameter -faligned-new -Werror -Wfatal-errors) ++add_compile_options(-Wall -Wextra -pedantic -Wno-unused-parameter -faligned-new) + add_definitions(-D_FILE_OFFSET_BITS=64) + + if (CMAKE_COMPILER_IS_GNUCXX) +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch b/buildroot-2022.02.1/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch new file mode 100644 index 00000000..cc9069aa --- /dev/null +++ b/buildroot-2022.02.1/package/libcamera-apps/0002-preview-fix-egl_preview-compile-conversion-from-Wind.patch @@ -0,0 +1,39 @@ +From 60715769cd5368a63b2bdc2e6d6bb6df0030a54d Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 31 Mar 2022 21:44:22 +0200 +Subject: [PATCH] preview: fix egl_preview compile (conversion from Window to + EGLNativeWindowType) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + .../build/libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5/preview/egl_preview.cpp:329:69: error: invalid conversion from ‘Window’ {aka ‘long unsigned int’} to ‘EGLNativeWindowType’ {aka ‘fbdev_window*’} [-fpermissive] + 329 | egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); + | ^~~~~~~ + | | + | Window {aka long unsigned int} + +[Upstream: https://github.com/raspberrypi/libcamera-apps/pull/283] +Signed-off-by: Peter Seiderer +--- + preview/egl_preview.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/preview/egl_preview.cpp b/preview/egl_preview.cpp +index b936e57..593583d 100644 +--- a/preview/egl_preview.cpp ++++ b/preview/egl_preview.cpp +@@ -326,7 +326,7 @@ void EglPreview::makeWindow(char const *name) + wm_delete_window_ = XInternAtom(display_, "WM_DELETE_WINDOW", False); + XSetWMProtocols(display_, window_, &wm_delete_window_, 1); + +- egl_surface_ = eglCreateWindowSurface(egl_display_, config, window_, NULL); ++ egl_surface_ = eglCreateWindowSurface(egl_display_, config, reinterpret_cast(window_), NULL); + if (!egl_surface_) + throw std::runtime_error("eglCreateWindowSurface failed"); + +-- +2.35.1 + diff --git a/buildroot-2022.02.1/package/libcamera-apps/Config.in b/buildroot-2022.02.1/package/libcamera-apps/Config.in new file mode 100644 index 00000000..492a99cf --- /dev/null +++ b/buildroot-2022.02.1/package/libcamera-apps/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_LIBCAMERA_APPS + bool "libcamera-apps" + depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS # libcamera + depends on BR2_INSTALL_LIBSTDCPP # libcamera/boost + depends on BR2_TOOLCHAIN_HAS_THREADS # libcamera/boost + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17/libcamera + depends on !BR2_STATIC_LIBS # gnutls/libcamera + depends on BR2_USE_WCHAR # gnutls/libcamera/boost + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBCAMERA + select BR2_PACKAGE_LIBEXIF + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_TIFF + select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL) + select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL) + select BR2_PACKAGE_LIBEPOXY if BR2_PACKAGE_XORG7 && (BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL) + select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE_WIDGETS if BR2_PACKAGE_QT5 + help + This is a small suite of libcamera-based apps that aim to copy + the functionality of the existing "raspicam" apps. + + https://github.com/raspberrypi/libcamera-apps + +comment "libcamera-apps needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7" + depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/libcamera-apps/libcamera-apps.hash b/buildroot-2022.02.1/package/libcamera-apps/libcamera-apps.hash new file mode 100644 index 00000000..2dbb74d4 --- /dev/null +++ b/buildroot-2022.02.1/package/libcamera-apps/libcamera-apps.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 611aec06dd24de6586580164d9b7c55da0698ac4cf129944b2fc41fe67210597 libcamera-apps-2d1009e3badcc8047361ff81149ad6cba3b911b5.tar.gz +sha256 36dfed86bdef661a0a14ec1a1cc84c771d5a06b6f9b92e9ebb610ba711bd528a license.txt diff --git a/buildroot-2022.02.1/package/libcamera-apps/libcamera-apps.mk b/buildroot-2022.02.1/package/libcamera-apps/libcamera-apps.mk new file mode 100644 index 00000000..f4fc019c --- /dev/null +++ b/buildroot-2022.02.1/package/libcamera-apps/libcamera-apps.mk @@ -0,0 +1,52 @@ +################################################################################ +# +# libcamera-apps +# +################################################################################ + +LIBCAMERA_APPS_VERSION = 2d1009e3badcc8047361ff81149ad6cba3b911b5 +LIBCAMERA_APPS_SITE = $(call github,raspberrypi,libcamera-apps,$(LIBCAMERA_APPS_VERSION)) +LIBCAMERA_APPS_LICENSE = BSD-2-Clause +LIBCAMERA_APPS_LICENSE_FILES = license.txt +LIBCAMERA_APPS_DEPENDENCIES = \ + host-pkgconf \ + boost \ + jpeg \ + libcamera \ + libexif \ + libpng \ + tiff + +LIBCAMERA_APPS_CONF_OPTS = \ + -DENABLE_COMPILE_FLAGS_FOR_TARGET=disabled \ + -DENABLE_OPENCV=0 \ + -DENABLE_TFLITE=0 + +ifeq ($(BR2_PACKAGE_LIBDRM),y) +LIBCAMERA_APPS_DEPENDENCIES += libdrm +LIBCAMERA_APPS_CONF_OPTS += -DENABLE_DRM=1 +else +LIBCAMERA_APPS_CONF_OPTS += -DENABLE_DRM=0 +endif + +ifeq ($(BR2_PACKAGE_XORG7),y) +LIBCAMERA_APPS_DEPENDENCIES += \ + $(if $(BR2_PACKAGE_LIBEPOXY),libepoxy) \ + $(if $(BR2_PACKAGE_XLIB_LIBX11),xlib_libX11) +LIBCAMERA_APPS_CONF_OPTS += -DENABLE_X11=1 +else +LIBCAMERA_APPS_CONF_OPTS += -DENABLE_X11=0 +endif + +ifeq ($(BR2_PACKAGE_QT5),y) +LIBCAMERA_APPS_DEPENDENCIES += qt5base +LIBCAMERA_APPS_CONF_OPTS += -DENABLE_QT=1 +else +LIBCAMERA_APPS_CONF_OPTS += -DENABLE_QT=0 +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +LIBCAMERA_APPS_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/libcamera/Config.in b/buildroot-2022.02.1/package/libcamera/Config.in new file mode 100644 index 00000000..23a0040a --- /dev/null +++ b/buildroot-2022.02.1/package/libcamera/Config.in @@ -0,0 +1,98 @@ +config BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS + bool + default y + # Invalid packing size of ControlValue struct on m68k + depends on !BR2_m68k + depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + +menuconfig BR2_PACKAGE_LIBCAMERA + bool "libcamera" + depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + depends on !BR2_STATIC_LIBS # gnutls + depends on BR2_USE_WCHAR # gnutls + select BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE + help + libcamera provides a software stack to support + complex devices that need heavy hardware image + processing operations. + + http://www.libcamera.org/ + +if BR2_PACKAGE_LIBCAMERA + +config BR2_PACKAGE_LIBCAMERA_V4L2 + bool "libcamera v4l2 compatibility layer" + help + libcamera v4l2 compatibility layer + +config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE + bool + +config BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3 + bool "ipu3 pipeline" + depends on BR2_i386 || BR2_x86_64 + select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE + help + Pipeline for Intel IPU3. + +config BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI + bool "raspberrypi pipeline" + depends on BR2_arm || BR2_aarch64 + depends on BR2_USE_WCHAR # boost (already enforced for gnutls) + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE + help + Pipeline for Raspberry Pi devices. + +config BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1 + bool "rkisp1 pipeline" + depends on BR2_arm || BR2_aarch64 + select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE + help + Pipeline for Rockchip ISP1. + +config BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE + bool "simple pipeline" + select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE + help + Pipeline for simple pipelines. + +config BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO + bool "uvcvideo pipeline" + help + Pipeline for uvcvideo devices. + +config BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC + bool "vimc pipeline" + select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE + help + Pipeline for the vimc device. + +config BR2_PACKAGE_LIBCAMERA_COMPLIANCE + bool "lc-compliance test application" + depends on BR2_USE_WCHAR # gtest + depends on BR2_TOOLCHAIN_HAS_THREADS # gtest + depends on BR2_INSTALL_LIBSTDCPP # gtest + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gtest + depends on BR2_USE_MMU # gtest + select BR2_PACKAGE_GTEST + select BR2_PACKAGE_LIBEVENT + help + lc-compliance test application + +comment "lc-compliance test application needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +endif # BR2_PACKAGE_LIBCAMERA + +comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7" + depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/libcamera/libcamera.hash b/buildroot-2022.02.1/package/libcamera/libcamera.hash new file mode 100644 index 00000000..8d5abf0e --- /dev/null +++ b/buildroot-2022.02.1/package/libcamera/libcamera.hash @@ -0,0 +1,12 @@ +sha256 3624c71ba492c602c5335aab3dc87798193f7596c6cc75f7cfb847165f180930 libcamera-1966b9a58436fab51f8270aad6a228b935e4fac4-br1.tar.gz + +# license files +sha256 fd38b2c053c0cce46d9c5ef3545a6e34d157a240ba99c9b8dca5d37a8147da6c LICENSES/BSD-2-Clause.txt +sha256 e11af671c491efac2f94c1d752bea92f4308ca2450c7d11e582e4b48c40e4de1 LICENSES/BSD-3-Clause.txt +sha256 6a573fb2f9082662978cf21fb153096df0a1981deaea7dbc10a11046fe005d9f LICENSES/CC0-1.0.txt +sha256 ec3732087acf8c52429a020d6bba362ff578705bdb53365a21744485ec15b0e6 LICENSES/CC-BY-SA-4.0.txt +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0-only.txt +sha256 606aa26338f69ce178f1cbc648b7574aec4b5bbaeb20f4df36ff49010cb8fbbd LICENSES/GPL-2.0-or-later.txt +sha256 1ccf09bf2f598308df4bed9cd8e9657dc5cd0973d2800318f2e241486e2edf3f LICENSES/LGPL-2.1-or-later.txt +sha256 3f9e477523febab58de8b716ccfbcf02e6ef1c8e7728953905e8558637abe2a9 LICENSES/Linux-syscall-note.txt +sha256 8f25018489d6fe0dec34a352314c38dc146247b7de65735790f4398a92afa84b LICENSES/MIT.txt diff --git a/buildroot-2022.02.1/package/libcamera/libcamera.mk b/buildroot-2022.02.1/package/libcamera/libcamera.mk new file mode 100644 index 00000000..9cbb1910 --- /dev/null +++ b/buildroot-2022.02.1/package/libcamera/libcamera.mk @@ -0,0 +1,107 @@ +################################################################################ +# +# libcamera +# +################################################################################ + +LIBCAMERA_SITE = https://git.linuxtv.org/libcamera.git +LIBCAMERA_VERSION = 1966b9a58436fab51f8270aad6a228b935e4fac4 +LIBCAMERA_SITE_METHOD = git +LIBCAMERA_DEPENDENCIES = \ + host-openssl \ + host-pkgconf \ + host-python-jinja2 \ + host-python-ply \ + host-python-pyyaml \ + gnutls +LIBCAMERA_CONF_OPTS = \ + -Dandroid=disabled \ + -Ddocumentation=disabled \ + -Dtest=false \ + -Dwerror=false +LIBCAMERA_INSTALL_STAGING = YES +LIBCAMERA_LICENSE = \ + LGPL-2.1+ (library), \ + GPL-2.0+ (utils), \ + MIT (qcam/assets/feathericons), \ + BSD-2-Clause (raspberrypi), \ + GPL-2.0 with Linux-syscall-note or BSD-3-Clause (linux kernel headers), \ + CC0-1.0 (meson build system), \ + CC-BY-SA-4.0 (doc) +LIBCAMERA_LICENSE_FILES = \ + LICENSES/LGPL-2.1-or-later.txt \ + LICENSES/GPL-2.0-or-later.txt \ + LICENSES/MIT.txt \ + LICENSES/BSD-2-Clause.txt \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/Linux-syscall-note.txt \ + LICENSES/BSD-3-Clause.txt \ + LICENSES/CC0-1.0.txt \ + LICENSES/CC-BY-SA-4.0.txt + +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_7),y) +LIBCAMERA_CXXFLAGS = -faligned-new +endif + +ifeq ($(BR2_PACKAGE_LIBCAMERA_V4L2),y) +LIBCAMERA_CONF_OPTS += -Dv4l2=true +else +LIBCAMERA_CONF_OPTS += -Dv4l2=false +endif + +LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3) += ipu3 +ifeq ($(BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI),y) +LIBCAMERA_PIPELINES-y += raspberrypi +LIBCAMERA_DEPENDENCIES += boost +endif +LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1) += rkisp1 +LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE) += simple +LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO) += uvcvideo +LIBCAMERA_PIPELINES-$(BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC) += vimc + +LIBCAMERA_CONF_OPTS += -Dpipelines=$(subst $(space),$(comma),$(LIBCAMERA_PIPELINES-y)) + +ifeq ($(BR2_PACKAGE_LIBCAMERA_COMPLIANCE),y) +LIBCAMERA_DEPENDENCIES += gtest libevent +LIBCAMERA_CONF_OPTS += -Dlc-compliance=enabled +else +LIBCAMERA_CONF_OPTS += -Dlc-compliance=disabled +endif + +# gstreamer-video-1.0, gstreamer-allocators-1.0 +ifeq ($(BR2_PACKAGE_GSTREAMER1)$(BR2_PACKAGE_GST1_PLUGINS_BASE),yy) +LIBCAMERA_CONF_OPTS += -Dgstreamer=enabled +LIBCAMERA_DEPENDENCIES += gstreamer1 gst1-plugins-base +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) +LIBCAMERA_CONF_OPTS += -Dqcam=enabled +LIBCAMERA_DEPENDENCIES += qt5base +ifeq ($(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS),y) +LIBCAMERA_DEPENDENCIES += qt5tools +endif +else +LIBCAMERA_CONF_OPTS += -Dqcam=disabled +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +LIBCAMERA_DEPENDENCIES += tiff +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBCAMERA_DEPENDENCIES += udev +endif + +ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y) +LIBCAMERA_CONF_OPTS += -Dtracing=enabled +LIBCAMERA_DEPENDENCIES += lttng-libust +else +LIBCAMERA_CONF_OPTS += -Dtracing=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +LIBCAMERA_DEPENDENCIES += libexecinfo +LIBCAMERA_LDFLAGS = $(TARGET_LDFLAGS) -lexecinfo +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libcap-ng/Config.in b/buildroot-2022.02.1/package/libcap-ng/Config.in similarity index 100% rename from buildroot-2021.05/package/libcap-ng/Config.in rename to buildroot-2022.02.1/package/libcap-ng/Config.in diff --git a/buildroot-2021.05/package/libcap-ng/libcap-ng.hash b/buildroot-2022.02.1/package/libcap-ng/libcap-ng.hash similarity index 100% rename from buildroot-2021.05/package/libcap-ng/libcap-ng.hash rename to buildroot-2022.02.1/package/libcap-ng/libcap-ng.hash diff --git a/buildroot-2021.05/package/libcap-ng/libcap-ng.mk b/buildroot-2022.02.1/package/libcap-ng/libcap-ng.mk similarity index 100% rename from buildroot-2021.05/package/libcap-ng/libcap-ng.mk rename to buildroot-2022.02.1/package/libcap-ng/libcap-ng.mk diff --git a/buildroot-2021.05/package/libcap/Config.in b/buildroot-2022.02.1/package/libcap/Config.in similarity index 100% rename from buildroot-2021.05/package/libcap/Config.in rename to buildroot-2022.02.1/package/libcap/Config.in diff --git a/buildroot-2022.02.1/package/libcap/libcap.hash b/buildroot-2022.02.1/package/libcap/libcap.hash new file mode 100644 index 00000000..396e592c --- /dev/null +++ b/buildroot-2022.02.1/package/libcap/libcap.hash @@ -0,0 +1,5 @@ +# https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/sha256sums.asc +sha256 190c5baac9bee06a129eae20d3e827de62f664fe3507f0bf6c50a9a59fbd83a2 libcap-2.62.tar.xz + +# Hash for license file: +sha256 f58c80bcce8c929db39a23c32e924876e3311f3ffa54f66076c38056d38fa59b License diff --git a/buildroot-2022.02.1/package/libcap/libcap.mk b/buildroot-2022.02.1/package/libcap/libcap.mk new file mode 100644 index 00000000..12079953 --- /dev/null +++ b/buildroot-2022.02.1/package/libcap/libcap.mk @@ -0,0 +1,72 @@ +################################################################################ +# +# libcap +# +################################################################################ + +LIBCAP_VERSION = 2.62 +LIBCAP_SITE = https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2 +LIBCAP_SOURCE = libcap-$(LIBCAP_VERSION).tar.xz +LIBCAP_LICENSE = GPL-2.0 or BSD-3-Clause +LIBCAP_LICENSE_FILES = License +LIBCAP_CPE_ID_VENDOR = libcap_project + +LIBCAP_DEPENDENCIES = host-gperf +LIBCAP_INSTALL_STAGING = YES + +HOST_LIBCAP_DEPENDENCIES = host-gperf + +LIBCAP_MAKE_FLAGS = \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + BUILD_CC="$(HOSTCC)" \ + BUILD_CFLAGS="$(HOST_CFLAGS)" \ + lib=lib \ + prefix=/usr \ + SHARED=$(if $(BR2_STATIC_LIBS),,yes) \ + PTHREADS=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,) + +LIBCAP_MAKE_DIRS = libcap + +ifeq ($(BR2_PACKAGE_LIBCAP_TOOLS),y) +LIBCAP_MAKE_DIRS += progs +endif + +define LIBCAP_BUILD_CMDS + $(foreach d,$(LIBCAP_MAKE_DIRS), \ + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/$(d) \ + $(LIBCAP_MAKE_FLAGS) all + ) +endef + +define LIBCAP_INSTALL_STAGING_CMDS + $(foreach d,$(LIBCAP_MAKE_DIRS), \ + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$(d) $(LIBCAP_MAKE_FLAGS) \ + DESTDIR=$(STAGING_DIR) install + ) +endef + +define LIBCAP_INSTALL_TARGET_CMDS + $(foreach d,$(LIBCAP_MAKE_DIRS), \ + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$(d) $(LIBCAP_MAKE_FLAGS) \ + DESTDIR=$(TARGET_DIR) install + ) +endef + +HOST_LIBCAP_MAKE_FLAGS = \ + DYNAMIC=yes \ + GOLANG=no \ + lib=lib \ + prefix=$(HOST_DIR) \ + RAISE_SETFCAP=no + +define HOST_LIBCAP_BUILD_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(HOST_LIBCAP_MAKE_FLAGS) +endef + +define HOST_LIBCAP_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBCAP_MAKE_FLAGS) install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libcdaudio/0001-libcdaudio-enable-autoreconf.patch b/buildroot-2022.02.1/package/libcdaudio/0001-libcdaudio-enable-autoreconf.patch similarity index 100% rename from buildroot-2021.05/package/libcdaudio/0001-libcdaudio-enable-autoreconf.patch rename to buildroot-2022.02.1/package/libcdaudio/0001-libcdaudio-enable-autoreconf.patch diff --git a/buildroot-2021.05/package/libcdaudio/Config.in b/buildroot-2022.02.1/package/libcdaudio/Config.in similarity index 100% rename from buildroot-2021.05/package/libcdaudio/Config.in rename to buildroot-2022.02.1/package/libcdaudio/Config.in diff --git a/buildroot-2021.05/package/libcdaudio/libcdaudio.hash b/buildroot-2022.02.1/package/libcdaudio/libcdaudio.hash similarity index 100% rename from buildroot-2021.05/package/libcdaudio/libcdaudio.hash rename to buildroot-2022.02.1/package/libcdaudio/libcdaudio.hash diff --git a/buildroot-2021.05/package/libcdaudio/libcdaudio.mk b/buildroot-2022.02.1/package/libcdaudio/libcdaudio.mk similarity index 100% rename from buildroot-2021.05/package/libcdaudio/libcdaudio.mk rename to buildroot-2022.02.1/package/libcdaudio/libcdaudio.mk diff --git a/buildroot-2021.05/package/libcddb/Config.in b/buildroot-2022.02.1/package/libcddb/Config.in similarity index 100% rename from buildroot-2021.05/package/libcddb/Config.in rename to buildroot-2022.02.1/package/libcddb/Config.in diff --git a/buildroot-2021.05/package/libcddb/libcddb.hash b/buildroot-2022.02.1/package/libcddb/libcddb.hash similarity index 100% rename from buildroot-2021.05/package/libcddb/libcddb.hash rename to buildroot-2022.02.1/package/libcddb/libcddb.hash diff --git a/buildroot-2021.05/package/libcddb/libcddb.mk b/buildroot-2022.02.1/package/libcddb/libcddb.mk similarity index 100% rename from buildroot-2021.05/package/libcddb/libcddb.mk rename to buildroot-2022.02.1/package/libcddb/libcddb.mk diff --git a/buildroot-2021.05/package/libcdio-paranoia/Config.in b/buildroot-2022.02.1/package/libcdio-paranoia/Config.in similarity index 100% rename from buildroot-2021.05/package/libcdio-paranoia/Config.in rename to buildroot-2022.02.1/package/libcdio-paranoia/Config.in diff --git a/buildroot-2021.05/package/libcdio-paranoia/libcdio-paranoia.hash b/buildroot-2022.02.1/package/libcdio-paranoia/libcdio-paranoia.hash similarity index 100% rename from buildroot-2021.05/package/libcdio-paranoia/libcdio-paranoia.hash rename to buildroot-2022.02.1/package/libcdio-paranoia/libcdio-paranoia.hash diff --git a/buildroot-2021.05/package/libcdio-paranoia/libcdio-paranoia.mk b/buildroot-2022.02.1/package/libcdio-paranoia/libcdio-paranoia.mk similarity index 100% rename from buildroot-2021.05/package/libcdio-paranoia/libcdio-paranoia.mk rename to buildroot-2022.02.1/package/libcdio-paranoia/libcdio-paranoia.mk diff --git a/buildroot-2021.05/package/libcdio/Config.in b/buildroot-2022.02.1/package/libcdio/Config.in similarity index 100% rename from buildroot-2021.05/package/libcdio/Config.in rename to buildroot-2022.02.1/package/libcdio/Config.in diff --git a/buildroot-2021.05/package/libcdio/libcdio.hash b/buildroot-2022.02.1/package/libcdio/libcdio.hash similarity index 100% rename from buildroot-2021.05/package/libcdio/libcdio.hash rename to buildroot-2022.02.1/package/libcdio/libcdio.hash diff --git a/buildroot-2021.05/package/libcdio/libcdio.mk b/buildroot-2022.02.1/package/libcdio/libcdio.mk similarity index 100% rename from buildroot-2021.05/package/libcdio/libcdio.mk rename to buildroot-2022.02.1/package/libcdio/libcdio.mk diff --git a/buildroot-2021.05/package/libcec/Config.in b/buildroot-2022.02.1/package/libcec/Config.in similarity index 100% rename from buildroot-2021.05/package/libcec/Config.in rename to buildroot-2022.02.1/package/libcec/Config.in diff --git a/buildroot-2021.05/package/libcec/libcec.hash b/buildroot-2022.02.1/package/libcec/libcec.hash similarity index 100% rename from buildroot-2021.05/package/libcec/libcec.hash rename to buildroot-2022.02.1/package/libcec/libcec.hash diff --git a/buildroot-2022.02.1/package/libcec/libcec.mk b/buildroot-2022.02.1/package/libcec/libcec.mk new file mode 100644 index 00000000..8b5d70d0 --- /dev/null +++ b/buildroot-2022.02.1/package/libcec/libcec.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# libcec +# +################################################################################ + +LIBCEC_VERSION = 6.0.2 +LIBCEC_SITE = $(call github,Pulse-Eight,libcec,libcec-$(LIBCEC_VERSION)) +LIBCEC_LICENSE = GPL-2.0+ +LIBCEC_LICENSE_FILES = COPYING + +LIBCEC_INSTALL_STAGING = YES +LIBCEC_DEPENDENCIES = host-pkgconf libplatform + +ifeq ($(BR2_PACKAGE_LOCKDEV),y) +LIBCEC_DEPENDENCIES += lockdev +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBCEC_DEPENDENCIES += udev +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBCEC_DEPENDENCIES += host-swig python3 +endif + +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +LIBCEC_DEPENDENCIES += rpi-userland +LIBCEC_CONF_OPTS += \ + -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -lvcos -lvchiq_arm" \ + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) \ + -I$(STAGING_DIR)/usr/include/interface/vmcs_host/linux \ + -I$(STAGING_DIR)/usr/include/interface/vcos/pthreads" +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) +LIBCEC_DEPENDENCIES += xlib_libXrandr +endif + +# Disable information about how libCEC is compiled. +LIBCEC_CONF_OPTS += -DHAVE_GIT_BIN="" \ + -DHAVE_DATE_BIN="" \ + -DHAVE_WHOAMI_BIN="" \ + -DHAVE_HOSTNAME_BIN="" \ + -DHAVE_UNAME_BIN="" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libcgi/Config.in b/buildroot-2022.02.1/package/libcgi/Config.in similarity index 100% rename from buildroot-2021.05/package/libcgi/Config.in rename to buildroot-2022.02.1/package/libcgi/Config.in diff --git a/buildroot-2021.05/package/libcgi/libcgi.hash b/buildroot-2022.02.1/package/libcgi/libcgi.hash similarity index 100% rename from buildroot-2021.05/package/libcgi/libcgi.hash rename to buildroot-2022.02.1/package/libcgi/libcgi.hash diff --git a/buildroot-2021.05/package/libcgi/libcgi.mk b/buildroot-2022.02.1/package/libcgi/libcgi.mk similarity index 100% rename from buildroot-2021.05/package/libcgi/libcgi.mk rename to buildroot-2022.02.1/package/libcgi/libcgi.mk diff --git a/buildroot-2021.05/package/libcgicc/0001-disable-documentation-option.patch b/buildroot-2022.02.1/package/libcgicc/0001-disable-documentation-option.patch similarity index 100% rename from buildroot-2021.05/package/libcgicc/0001-disable-documentation-option.patch rename to buildroot-2022.02.1/package/libcgicc/0001-disable-documentation-option.patch diff --git a/buildroot-2021.05/package/libcgicc/Config.in b/buildroot-2022.02.1/package/libcgicc/Config.in similarity index 100% rename from buildroot-2021.05/package/libcgicc/Config.in rename to buildroot-2022.02.1/package/libcgicc/Config.in diff --git a/buildroot-2021.05/package/libcgicc/libcgicc.hash b/buildroot-2022.02.1/package/libcgicc/libcgicc.hash similarity index 100% rename from buildroot-2021.05/package/libcgicc/libcgicc.hash rename to buildroot-2022.02.1/package/libcgicc/libcgicc.hash diff --git a/buildroot-2021.05/package/libcgicc/libcgicc.mk b/buildroot-2022.02.1/package/libcgicc/libcgicc.mk similarity index 100% rename from buildroot-2021.05/package/libcgicc/libcgicc.mk rename to buildroot-2022.02.1/package/libcgicc/libcgicc.mk diff --git a/buildroot-2021.05/package/libcgroup/Config.in b/buildroot-2022.02.1/package/libcgroup/Config.in similarity index 100% rename from buildroot-2021.05/package/libcgroup/Config.in rename to buildroot-2022.02.1/package/libcgroup/Config.in diff --git a/buildroot-2021.05/package/libcgroup/libcgroup.hash b/buildroot-2022.02.1/package/libcgroup/libcgroup.hash similarity index 100% rename from buildroot-2021.05/package/libcgroup/libcgroup.hash rename to buildroot-2022.02.1/package/libcgroup/libcgroup.hash diff --git a/buildroot-2021.05/package/libcgroup/libcgroup.mk b/buildroot-2022.02.1/package/libcgroup/libcgroup.mk similarity index 100% rename from buildroot-2021.05/package/libcgroup/libcgroup.mk rename to buildroot-2022.02.1/package/libcgroup/libcgroup.mk diff --git a/buildroot-2021.05/package/libclc/Config.in b/buildroot-2022.02.1/package/libclc/Config.in similarity index 100% rename from buildroot-2021.05/package/libclc/Config.in rename to buildroot-2022.02.1/package/libclc/Config.in diff --git a/buildroot-2021.05/package/libclc/libclc.hash b/buildroot-2022.02.1/package/libclc/libclc.hash similarity index 100% rename from buildroot-2021.05/package/libclc/libclc.hash rename to buildroot-2022.02.1/package/libclc/libclc.hash diff --git a/buildroot-2021.05/package/libclc/libclc.mk b/buildroot-2022.02.1/package/libclc/libclc.mk similarity index 100% rename from buildroot-2021.05/package/libclc/libclc.mk rename to buildroot-2022.02.1/package/libclc/libclc.mk diff --git a/buildroot-2021.05/package/libcli/Config.in b/buildroot-2022.02.1/package/libcli/Config.in similarity index 100% rename from buildroot-2021.05/package/libcli/Config.in rename to buildroot-2022.02.1/package/libcli/Config.in diff --git a/buildroot-2022.02.1/package/libcli/libcli.hash b/buildroot-2022.02.1/package/libcli/libcli.hash new file mode 100644 index 00000000..a1a5459e --- /dev/null +++ b/buildroot-2022.02.1/package/libcli/libcli.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 179f78592f73492c22cc1b544b6f8cb0f6630a2f670430c118b8e084e6562e74 libcli-1.10.7.tar.gz +sha256 376b54d4c5f4aa99421823fa4da93e3ab73096fce2400e89858632aa7da24a14 COPYING diff --git a/buildroot-2022.02.1/package/libcli/libcli.mk b/buildroot-2022.02.1/package/libcli/libcli.mk new file mode 100644 index 00000000..a18daa91 --- /dev/null +++ b/buildroot-2022.02.1/package/libcli/libcli.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# libcli +# +################################################################################ + +LIBCLI_VERSION = 1.10.7 +LIBCLI_SITE = $(call github,dparrish,libcli,V$(LIBCLI_VERSION)) +LIBCLI_LICENSE = LGPL-2.1 +LIBCLI_LICENSE_FILES = COPYING +LIBCLI_INSTALL_STAGING = YES + +# We will pass optimisation level via CFLAGS so remove libcli default +LIBCLI_MAKE_ARGS += OPTIM= + +# We can't run the test harness +LIBCLI_MAKE_ARGS += TESTS= + +# Disable the static library for shared only build +ifeq ($(BR2_SHARED_LIBS),y) +LIBCLI_MAKE_ARGS += STATIC_LIB= +endif + +# Disable the shared library for static only build +ifeq ($(BR2_STATIC_LIBS),y) +LIBCLI_MAKE_ARGS += DYNAMIC_LIB= +endif + +define LIBCLI_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + $(LIBCLI_MAKE_ARGS) +endef + +define LIBCLI_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + $(LIBCLI_MAKE_ARGS) DESTDIR=$(STAGING_DIR) PREFIX=/usr install +endef + +define LIBCLI_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + $(LIBCLI_MAKE_ARGS) DESTDIR=$(TARGET_DIR) PREFIX=/usr install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libcoap/Config.in b/buildroot-2022.02.1/package/libcoap/Config.in similarity index 100% rename from buildroot-2021.05/package/libcoap/Config.in rename to buildroot-2022.02.1/package/libcoap/Config.in diff --git a/buildroot-2022.02.1/package/libcoap/libcoap.hash b/buildroot-2022.02.1/package/libcoap/libcoap.hash new file mode 100644 index 00000000..4a5bcaa7 --- /dev/null +++ b/buildroot-2022.02.1/package/libcoap/libcoap.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 1a195adacd6188d3b71c476e7b21706fef7f3663ab1fb138652e8da49a9ec556 libcoap-4.3.0.tar.gz +sha256 09dd86a017bad210527085008cbf706609c58210897b69845af14099577e7eb7 COPYING +sha256 c5625e704d52deade1c9b2d7931ac8593be147ba63af62b53b8c7e309b7eaeb9 LICENSE diff --git a/buildroot-2022.02.1/package/libcoap/libcoap.mk b/buildroot-2022.02.1/package/libcoap/libcoap.mk new file mode 100644 index 00000000..edcc1bbe --- /dev/null +++ b/buildroot-2022.02.1/package/libcoap/libcoap.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# libcoap +# +################################################################################ + +LIBCOAP_VERSION = 4.3.0 +LIBCOAP_SITE = $(call github,obgm,libcoap,v$(LIBCOAP_VERSION)) +LIBCOAP_INSTALL_STAGING = YES +LIBCOAP_LICENSE = BSD-2-Clause +LIBCOAP_LICENSE_FILES = COPYING LICENSE +LIBCOAP_DEPENDENCIES = host-pkgconf +LIBCOAP_CONF_OPTS = \ + --disable-examples --disable-examples-source --without-tinydtls +LIBCOAP_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +LIBCOAP_DEPENDENCIES += gnutls +LIBCOAP_CONF_OPTS += \ + --enable-dtls --with-gnutls --without-mbedtls --without-openssl +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBCOAP_DEPENDENCIES += openssl +LIBCOAP_CONF_OPTS += \ + --enable-dtls --without-gnutls --without-mbedtls --with-openssl +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBCOAP_DEPENDENCIES += mbedtls +LIBCOAP_CONF_OPTS += \ + --enable-dtls --without-gnutls --with-mbedtls --without-openssl +else +LIBCOAP_CONF_OPTS += --disable-dtls +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libcodec2/Config.in b/buildroot-2022.02.1/package/libcodec2/Config.in similarity index 100% rename from buildroot-2021.05/package/libcodec2/Config.in rename to buildroot-2022.02.1/package/libcodec2/Config.in diff --git a/buildroot-2022.02.1/package/libcodec2/libcodec2.hash b/buildroot-2022.02.1/package/libcodec2/libcodec2.hash new file mode 100644 index 00000000..795ca370 --- /dev/null +++ b/buildroot-2022.02.1/package/libcodec2/libcodec2.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 14227963940d79e0ec5af810f37101b30e1c7e8555abd96c56b3c0473abac8ef libcodec2-1.0.1.tar.gz +sha256 9ebb6f82b7380a62ac74c5f0322c88e6744dedf2ebe1f54d6f088282b39844bf COPYING diff --git a/buildroot-2022.02.1/package/libcodec2/libcodec2.mk b/buildroot-2022.02.1/package/libcodec2/libcodec2.mk new file mode 100644 index 00000000..b4f08a49 --- /dev/null +++ b/buildroot-2022.02.1/package/libcodec2/libcodec2.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# libcodec2 +# +################################################################################ + +LIBCODEC2_VERSION = 1.0.1 +LIBCODEC2_SITE = $(call github,drowe67,codec2,v$(LIBCODEC2_VERSION)) +LIBCODEC2_LICENSE = LGPL-2.1 +LIBCODEC2_LICENSE_FILES = COPYING +LIBCODEC2_INSTALL_STAGING = YES +LIBCODEC2_SUPPORTS_IN_SOURCE_BUILD = NO +LIBCODEC2_CONF_OPTS = -DUNITTEST=OFF + +ifeq ($(BR2_PACKAGE_LIBCODEC2_EXAMPLES),y) +LIBCODEC2_CONF_OPTS += -DINSTALL_EXAMPLES=ON +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libcofi/Config.in b/buildroot-2022.02.1/package/libcofi/Config.in similarity index 100% rename from buildroot-2021.05/package/libcofi/Config.in rename to buildroot-2022.02.1/package/libcofi/Config.in diff --git a/buildroot-2021.05/package/libcofi/libcofi.hash b/buildroot-2022.02.1/package/libcofi/libcofi.hash similarity index 100% rename from buildroot-2021.05/package/libcofi/libcofi.hash rename to buildroot-2022.02.1/package/libcofi/libcofi.hash diff --git a/buildroot-2021.05/package/libcofi/libcofi.mk b/buildroot-2022.02.1/package/libcofi/libcofi.mk similarity index 100% rename from buildroot-2021.05/package/libcofi/libcofi.mk rename to buildroot-2022.02.1/package/libcofi/libcofi.mk diff --git a/buildroot-2021.05/package/libconfig/Config.in b/buildroot-2022.02.1/package/libconfig/Config.in similarity index 100% rename from buildroot-2021.05/package/libconfig/Config.in rename to buildroot-2022.02.1/package/libconfig/Config.in diff --git a/buildroot-2022.02.1/package/libconfig/libconfig.hash b/buildroot-2022.02.1/package/libconfig/libconfig.hash new file mode 100644 index 00000000..d359301d --- /dev/null +++ b/buildroot-2022.02.1/package/libconfig/libconfig.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 545166d6cac037744381d1e9cc5a5405094e7bfad16a411699bcff40bbb31ee7 libconfig-1.7.3.tar.gz +sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f COPYING.LIB diff --git a/buildroot-2022.02.1/package/libconfig/libconfig.mk b/buildroot-2022.02.1/package/libconfig/libconfig.mk new file mode 100644 index 00000000..6cdf6031 --- /dev/null +++ b/buildroot-2022.02.1/package/libconfig/libconfig.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libconfig +# +################################################################################ + +LIBCONFIG_VERSION = 1.7.3 +LIBCONFIG_SITE = https://github.com/hyperrealm/libconfig/releases/download/v$(LIBCONFIG_VERSION) +LIBCONFIG_LICENSE = LGPL-2.1+ +LIBCONFIG_LICENSE_FILES = COPYING.LIB +LIBCONFIG_INSTALL_STAGING = YES +LIBCONFIG_CONF_OPTS = --disable-examples --disable-tests + +ifneq ($(BR2_INSTALL_LIBSTDCPP),y) +LIBCONFIG_CONF_OPTS += --disable-cxx +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libconfuse/Config.in b/buildroot-2022.02.1/package/libconfuse/Config.in similarity index 100% rename from buildroot-2021.05/package/libconfuse/Config.in rename to buildroot-2022.02.1/package/libconfuse/Config.in diff --git a/buildroot-2021.05/package/libconfuse/libconfuse.hash b/buildroot-2022.02.1/package/libconfuse/libconfuse.hash similarity index 100% rename from buildroot-2021.05/package/libconfuse/libconfuse.hash rename to buildroot-2022.02.1/package/libconfuse/libconfuse.hash diff --git a/buildroot-2021.05/package/libconfuse/libconfuse.mk b/buildroot-2022.02.1/package/libconfuse/libconfuse.mk similarity index 100% rename from buildroot-2021.05/package/libconfuse/libconfuse.mk rename to buildroot-2022.02.1/package/libconfuse/libconfuse.mk diff --git a/buildroot-2021.05/package/libcorrect/0001-CMakeLists.txt-conditionally-use-Wpedantic.patch b/buildroot-2022.02.1/package/libcorrect/0001-CMakeLists.txt-conditionally-use-Wpedantic.patch similarity index 100% rename from buildroot-2021.05/package/libcorrect/0001-CMakeLists.txt-conditionally-use-Wpedantic.patch rename to buildroot-2022.02.1/package/libcorrect/0001-CMakeLists.txt-conditionally-use-Wpedantic.patch diff --git a/buildroot-2021.05/package/libcorrect/0002-CMakeLists.txt-conditionally-use-fsanitize-address.patch b/buildroot-2022.02.1/package/libcorrect/0002-CMakeLists.txt-conditionally-use-fsanitize-address.patch similarity index 100% rename from buildroot-2021.05/package/libcorrect/0002-CMakeLists.txt-conditionally-use-fsanitize-address.patch rename to buildroot-2022.02.1/package/libcorrect/0002-CMakeLists.txt-conditionally-use-fsanitize-address.patch diff --git a/buildroot-2021.05/package/libcorrect/Config.in b/buildroot-2022.02.1/package/libcorrect/Config.in similarity index 100% rename from buildroot-2021.05/package/libcorrect/Config.in rename to buildroot-2022.02.1/package/libcorrect/Config.in diff --git a/buildroot-2021.05/package/libcorrect/libcorrect.hash b/buildroot-2022.02.1/package/libcorrect/libcorrect.hash similarity index 100% rename from buildroot-2021.05/package/libcorrect/libcorrect.hash rename to buildroot-2022.02.1/package/libcorrect/libcorrect.hash diff --git a/buildroot-2021.05/package/libcorrect/libcorrect.mk b/buildroot-2022.02.1/package/libcorrect/libcorrect.mk similarity index 100% rename from buildroot-2021.05/package/libcorrect/libcorrect.mk rename to buildroot-2022.02.1/package/libcorrect/libcorrect.mk diff --git a/buildroot-2022.02.1/package/libcpprestsdk/Config.in b/buildroot-2022.02.1/package/libcpprestsdk/Config.in new file mode 100644 index 00000000..e533b303 --- /dev/null +++ b/buildroot-2022.02.1/package/libcpprestsdk/Config.in @@ -0,0 +1,33 @@ +config BR2_PACKAGE_LIBCPPRESTSDK + bool "libcpprestsdk" + depends on BR2_ENABLE_LOCALE + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # boost + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic, boost-filesystem + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_ATOMIC + select BR2_PACKAGE_BOOST_CHRONO + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_RANDOM + select BR2_PACKAGE_BOOST_REGEX + select BR2_PACKAGE_BOOST_THREAD + select BR2_PACKAGE_OPENSSL + help + The C++ REST SDK is a Microsoft project for cloud-based + client-server communication in native code using a modern + asynchronous C++ API design. This project aims to help C++ + developers connect to and interact with services. + + https://github.com/Microsoft/cpprestsdk + +comment "libcpprestsdk needs a toolchain w/ NPTL, C++, wchar, locale" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_USE_WCHAR || !BR2_ENABLE_LOCALE + +comment "libcpprestsdk needs exception_ptr" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/libcpprestsdk/libcpprestsdk.hash b/buildroot-2022.02.1/package/libcpprestsdk/libcpprestsdk.hash similarity index 100% rename from buildroot-2021.05/package/libcpprestsdk/libcpprestsdk.hash rename to buildroot-2022.02.1/package/libcpprestsdk/libcpprestsdk.hash diff --git a/buildroot-2021.05/package/libcpprestsdk/libcpprestsdk.mk b/buildroot-2022.02.1/package/libcpprestsdk/libcpprestsdk.mk similarity index 100% rename from buildroot-2021.05/package/libcpprestsdk/libcpprestsdk.mk rename to buildroot-2022.02.1/package/libcpprestsdk/libcpprestsdk.mk diff --git a/buildroot-2021.05/package/libcrossguid/Config.in b/buildroot-2022.02.1/package/libcrossguid/Config.in similarity index 100% rename from buildroot-2021.05/package/libcrossguid/Config.in rename to buildroot-2022.02.1/package/libcrossguid/Config.in diff --git a/buildroot-2021.05/package/libcrossguid/libcrossguid.hash b/buildroot-2022.02.1/package/libcrossguid/libcrossguid.hash similarity index 100% rename from buildroot-2021.05/package/libcrossguid/libcrossguid.hash rename to buildroot-2022.02.1/package/libcrossguid/libcrossguid.hash diff --git a/buildroot-2021.05/package/libcrossguid/libcrossguid.mk b/buildroot-2022.02.1/package/libcrossguid/libcrossguid.mk similarity index 100% rename from buildroot-2021.05/package/libcrossguid/libcrossguid.mk rename to buildroot-2022.02.1/package/libcrossguid/libcrossguid.mk diff --git a/buildroot-2021.05/package/libcsv/Config.in b/buildroot-2022.02.1/package/libcsv/Config.in similarity index 100% rename from buildroot-2021.05/package/libcsv/Config.in rename to buildroot-2022.02.1/package/libcsv/Config.in diff --git a/buildroot-2021.05/package/libcsv/libcsv.hash b/buildroot-2022.02.1/package/libcsv/libcsv.hash similarity index 100% rename from buildroot-2021.05/package/libcsv/libcsv.hash rename to buildroot-2022.02.1/package/libcsv/libcsv.hash diff --git a/buildroot-2021.05/package/libcsv/libcsv.mk b/buildroot-2022.02.1/package/libcsv/libcsv.mk similarity index 100% rename from buildroot-2021.05/package/libcsv/libcsv.mk rename to buildroot-2022.02.1/package/libcsv/libcsv.mk diff --git a/buildroot-2021.05/package/libcue/Config.in b/buildroot-2022.02.1/package/libcue/Config.in similarity index 100% rename from buildroot-2021.05/package/libcue/Config.in rename to buildroot-2022.02.1/package/libcue/Config.in diff --git a/buildroot-2021.05/package/libcue/libcue.hash b/buildroot-2022.02.1/package/libcue/libcue.hash similarity index 100% rename from buildroot-2021.05/package/libcue/libcue.hash rename to buildroot-2022.02.1/package/libcue/libcue.hash diff --git a/buildroot-2021.05/package/libcue/libcue.mk b/buildroot-2022.02.1/package/libcue/libcue.mk similarity index 100% rename from buildroot-2021.05/package/libcue/libcue.mk rename to buildroot-2022.02.1/package/libcue/libcue.mk diff --git a/buildroot-2021.05/package/libcuefile/0001-fix-static-link.patch b/buildroot-2022.02.1/package/libcuefile/0001-fix-static-link.patch similarity index 100% rename from buildroot-2021.05/package/libcuefile/0001-fix-static-link.patch rename to buildroot-2022.02.1/package/libcuefile/0001-fix-static-link.patch diff --git a/buildroot-2021.05/package/libcuefile/Config.in b/buildroot-2022.02.1/package/libcuefile/Config.in similarity index 100% rename from buildroot-2021.05/package/libcuefile/Config.in rename to buildroot-2022.02.1/package/libcuefile/Config.in diff --git a/buildroot-2021.05/package/libcuefile/libcuefile.hash b/buildroot-2022.02.1/package/libcuefile/libcuefile.hash similarity index 100% rename from buildroot-2021.05/package/libcuefile/libcuefile.hash rename to buildroot-2022.02.1/package/libcuefile/libcuefile.hash diff --git a/buildroot-2021.05/package/libcuefile/libcuefile.mk b/buildroot-2022.02.1/package/libcuefile/libcuefile.mk similarity index 100% rename from buildroot-2021.05/package/libcuefile/libcuefile.mk rename to buildroot-2022.02.1/package/libcuefile/libcuefile.mk diff --git a/buildroot-2022.02.1/package/libcurl/Config.in b/buildroot-2022.02.1/package/libcurl/Config.in new file mode 100644 index 00000000..d8072c0a --- /dev/null +++ b/buildroot-2022.02.1/package/libcurl/Config.in @@ -0,0 +1,82 @@ +config BR2_PACKAGE_LIBCURL + bool "libcurl" + help + cURL is a tool for getting files from FTP, HTTP, Gopher, + Telnet, and Dict servers, using any of the supported + protocols. + + https://curl.se/ + +if BR2_PACKAGE_LIBCURL + +config BR2_PACKAGE_LIBCURL_CURL + bool "curl binary" + help + Install curl binary as well + +config BR2_PACKAGE_LIBCURL_VERBOSE + bool "verbose strings" + help + Enable verbose text strings + +config BR2_PACKAGE_LIBCURL_PROXY_SUPPORT + bool "proxy support" + default y + help + Enable proxy support. + +config BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT + bool "cookies support" + default y + help + Enable support for cookies. + +config BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES + bool "enable extra protocols and features" + default y + help + Enable the following extra protocols and features: + - LDAP / LDAPS + - POP3 / IMAP / SMTP + - Telnet + - TFTP + - RTSP + - SMB / CIFS + - DICT + - Gopher + +choice + prompt "SSL/TLS library to use" + +config BR2_PACKAGE_LIBCURL_OPENSSL + bool "OpenSSL" + depends on BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + +config BR2_PACKAGE_LIBCURL_BEARSSL + bool "BearSSL" + depends on BR2_PACKAGE_BEARSSL + +config BR2_PACKAGE_LIBCURL_GNUTLS + bool "GnuTLS" + depends on BR2_PACKAGE_GNUTLS + +config BR2_PACKAGE_LIBCURL_LIBNSS + bool "NSS" + depends on BR2_PACKAGE_LIBNSS + +config BR2_PACKAGE_LIBCURL_MBEDTLS + bool "mbed TLS" + depends on BR2_PACKAGE_MBEDTLS + +config BR2_PACKAGE_LIBCURL_WOLFSSL + bool "WolfSSL" + depends on BR2_PACKAGE_WOLFSSL + select BR2_PACKAGE_WOLFSSL_ALL + +config BR2_PACKAGE_LIBCURL_TLS_NONE + bool "None" + +endchoice + +endif diff --git a/buildroot-2022.02.1/package/libcurl/libcurl.hash b/buildroot-2022.02.1/package/libcurl/libcurl.hash new file mode 100644 index 00000000..63d6ba30 --- /dev/null +++ b/buildroot-2022.02.1/package/libcurl/libcurl.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +# https://curl.se/download/curl-7.81.0.tar.xz.asc +# signed with key 27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2 +sha256 a067b688d1645183febc31309ec1f3cdce9213d02136b6a6de3d50f69c95a7d3 curl-7.81.0.tar.xz +sha256 6fd1a1c008b5ef4c4741dd188c3f8af6944c14c25afa881eb064f98fb98358e7 COPYING diff --git a/buildroot-2022.02.1/package/libcurl/libcurl.mk b/buildroot-2022.02.1/package/libcurl/libcurl.mk new file mode 100644 index 00000000..4b2e5282 --- /dev/null +++ b/buildroot-2022.02.1/package/libcurl/libcurl.mk @@ -0,0 +1,197 @@ +################################################################################ +# +# libcurl +# +################################################################################ + +LIBCURL_VERSION = 7.81.0 +LIBCURL_SOURCE = curl-$(LIBCURL_VERSION).tar.xz +LIBCURL_SITE = https://curl.se/download +LIBCURL_DEPENDENCIES = host-pkgconf \ + $(if $(BR2_PACKAGE_ZLIB),zlib) \ + $(if $(BR2_PACKAGE_RTMPDUMP),rtmpdump) +LIBCURL_LICENSE = curl +LIBCURL_LICENSE_FILES = COPYING +LIBCURL_CPE_ID_VENDOR = haxx +LIBCURL_CPE_ID_PRODUCT = libcurl +LIBCURL_INSTALL_STAGING = YES + +# We disable NTLM support because it uses fork(), which doesn't work +# on non-MMU platforms. Moreover, this authentication method is +# probably almost never used. See +# http://curl.se/docs/manpage.html#--ntlm. +# Likewise, there is no compiler on the target, so libcurl-option (to +# generate C code) isn't very useful +LIBCURL_CONF_OPTS = --disable-manual --disable-ntlm-wb \ + --enable-hidden-symbols --with-random=/dev/urandom --disable-curldebug \ + --disable-libcurl-option --disable-ldap --disable-ldaps + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBCURL_CONF_OPTS += --enable-threaded-resolver +else +LIBCURL_CONF_OPTS += --disable-threaded-resolver +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_VERBOSE),y) +LIBCURL_CONF_OPTS += --enable-verbose +else +LIBCURL_CONF_OPTS += --disable-verbose +endif + +LIBCURL_CONFIG_SCRIPTS = curl-config + +ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y) +LIBCURL_DEPENDENCIES += openssl +# configure adds the cross openssl dir to LD_LIBRARY_PATH which screws up +# native stuff during the rest of configure when target == host. +# Fix it by setting LD_LIBRARY_PATH to something sensible so those libs +# are found first. +LIBCURL_CONF_ENV += LD_LIBRARY_PATH=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)/lib:/usr/lib +LIBCURL_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr \ + --with-ca-path=/etc/ssl/certs +else +LIBCURL_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_BEARSSL),y) +LIBCURL_CONF_OPTS += --with-bearssl=$(STAGING_DIR)/usr +LIBCURL_DEPENDENCIES += bearssl +else +LIBCURL_CONF_OPTS += --without-bearssl +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_GNUTLS),y) +LIBCURL_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr \ + --with-ca-fallback +LIBCURL_DEPENDENCIES += gnutls +else +LIBCURL_CONF_OPTS += --without-gnutls +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_LIBNSS),y) +LIBCURL_CONF_OPTS += --with-nss=$(STAGING_DIR)/usr +LIBCURL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) `$(PKG_CONFIG_HOST_BINARY) nspr nss --cflags`" +LIBCURL_DEPENDENCIES += libnss +else +LIBCURL_CONF_OPTS += --without-nss +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_MBEDTLS),y) +LIBCURL_CONF_OPTS += --with-mbedtls=$(STAGING_DIR)/usr +LIBCURL_DEPENDENCIES += mbedtls +else +LIBCURL_CONF_OPTS += --without-mbedtls +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_WOLFSSL),y) +LIBCURL_CONF_OPTS += --with-wolfssl=$(STAGING_DIR)/usr +LIBCURL_DEPENDENCIES += wolfssl +else +LIBCURL_CONF_OPTS += --without-wolfssl +endif + +ifeq ($(BR2_PACKAGE_C_ARES),y) +LIBCURL_DEPENDENCIES += c-ares +LIBCURL_CONF_OPTS += --enable-ares +else +LIBCURL_CONF_OPTS += --disable-ares +endif + +ifeq ($(BR2_PACKAGE_LIBIDN2),y) +LIBCURL_DEPENDENCIES += libidn2 +LIBCURL_CONF_OPTS += --with-libidn2 +else +LIBCURL_CONF_OPTS += --without-libidn2 +endif + +# Configure curl to support libssh2 +ifeq ($(BR2_PACKAGE_LIBSSH2),y) +LIBCURL_DEPENDENCIES += libssh2 +LIBCURL_CONF_OPTS += --with-libssh2 +else +LIBCURL_CONF_OPTS += --without-libssh2 +endif + +ifeq ($(BR2_PACKAGE_BROTLI),y) +LIBCURL_DEPENDENCIES += brotli +LIBCURL_CONF_OPTS += --with-brotli +else +LIBCURL_CONF_OPTS += --without-brotli +endif + +ifeq ($(BR2_PACKAGE_NGHTTP2),y) +LIBCURL_DEPENDENCIES += nghttp2 +LIBCURL_CONF_OPTS += --with-nghttp2 +else +LIBCURL_CONF_OPTS += --without-nghttp2 +endif + +ifeq ($(BR2_PACKAGE_LIBGSASL),y) +LIBCURL_DEPENDENCIES += libgsasl +LIBCURL_CONF_OPTS += --with-libgsasl +else +LIBCURL_CONF_OPTS += --without-libgsasl +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT),y) +LIBCURL_CONF_OPTS += --enable-cookies +else +LIBCURL_CONF_OPTS += --disable-cookies +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_PROXY_SUPPORT),y) +LIBCURL_CONF_OPTS += --enable-proxy +else +LIBCURL_CONF_OPTS += --disable-proxy +endif + +ifeq ($(BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES),y) +LIBCURL_CONF_OPTS += \ + --enable-dict \ + --enable-gopher \ + --enable-imap \ + --enable-pop3 \ + --enable-rtsp \ + --enable-smb \ + --enable-smtp \ + --enable-telnet \ + --enable-tftp +else +LIBCURL_CONF_OPTS += \ + --disable-dict \ + --disable-gopher \ + --disable-imap \ + --disable-pop3 \ + --disable-rtsp \ + --disable-smb \ + --disable-smtp \ + --disable-telnet \ + --disable-tftp +endif + +define LIBCURL_FIX_DOT_PC + printf 'Requires: openssl\n' >>$(@D)/libcurl.pc.in +endef +LIBCURL_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_LIBCURL_OPENSSL),LIBCURL_FIX_DOT_PC) + +ifeq ($(BR2_PACKAGE_LIBCURL_CURL),) +define LIBCURL_TARGET_CLEANUP + rm -rf $(TARGET_DIR)/usr/bin/curl +endef +LIBCURL_POST_INSTALL_TARGET_HOOKS += LIBCURL_TARGET_CLEANUP +endif + +HOST_LIBCURL_DEPENDENCIES = host-openssl +HOST_LIBCURL_CONF_OPTS = \ + --disable-manual \ + --disable-ntlm-wb \ + --disable-curldebug \ + --with-ssl \ + --without-gnutls \ + --without-mbedtls \ + --without-nss + +HOST_LIBCURL_POST_PATCH_HOOKS += LIBCURL_FIX_DOT_PC + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libcutl/libcutl.hash b/buildroot-2022.02.1/package/libcutl/libcutl.hash similarity index 100% rename from buildroot-2021.05/package/libcutl/libcutl.hash rename to buildroot-2022.02.1/package/libcutl/libcutl.hash diff --git a/buildroot-2021.05/package/libcutl/libcutl.mk b/buildroot-2022.02.1/package/libcutl/libcutl.mk similarity index 100% rename from buildroot-2021.05/package/libcutl/libcutl.mk rename to buildroot-2022.02.1/package/libcutl/libcutl.mk diff --git a/buildroot-2021.05/package/libdaemon/0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch b/buildroot-2022.02.1/package/libdaemon/0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch similarity index 100% rename from buildroot-2021.05/package/libdaemon/0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch rename to buildroot-2022.02.1/package/libdaemon/0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch diff --git a/buildroot-2021.05/package/libdaemon/Config.in b/buildroot-2022.02.1/package/libdaemon/Config.in similarity index 100% rename from buildroot-2021.05/package/libdaemon/Config.in rename to buildroot-2022.02.1/package/libdaemon/Config.in diff --git a/buildroot-2021.05/package/libdaemon/libdaemon.hash b/buildroot-2022.02.1/package/libdaemon/libdaemon.hash similarity index 100% rename from buildroot-2021.05/package/libdaemon/libdaemon.hash rename to buildroot-2022.02.1/package/libdaemon/libdaemon.hash diff --git a/buildroot-2021.05/package/libdaemon/libdaemon.mk b/buildroot-2022.02.1/package/libdaemon/libdaemon.mk similarity index 100% rename from buildroot-2021.05/package/libdaemon/libdaemon.mk rename to buildroot-2022.02.1/package/libdaemon/libdaemon.mk diff --git a/buildroot-2022.02.1/package/libdbi-drivers/Config.in b/buildroot-2022.02.1/package/libdbi-drivers/Config.in new file mode 100644 index 00000000..7c505340 --- /dev/null +++ b/buildroot-2022.02.1/package/libdbi-drivers/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBDBI_DRIVERS + bool "libdbi-drivers" + depends on !BR2_STATIC_LIBS # libdbi + select BR2_PACKAGE_LIBDBI + help + The libdbi-drivers project provides the + database-specific drivers for the libdbi framework. + + http://libdbi-drivers.sourceforge.net + +comment "libdbi-drivers needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libdbi-drivers/libdbi-drivers.hash b/buildroot-2022.02.1/package/libdbi-drivers/libdbi-drivers.hash new file mode 100644 index 00000000..b805bb02 --- /dev/null +++ b/buildroot-2022.02.1/package/libdbi-drivers/libdbi-drivers.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 80a1befb044238a89b2d0dbd40881aa6c75bf99d3a7a6c016c657ea26df7792c libdbi-drivers-0bfae6c43134cf58dc89364328545982ca297abb-br1.tar.gz +sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING diff --git a/buildroot-2022.02.1/package/libdbi-drivers/libdbi-drivers.mk b/buildroot-2022.02.1/package/libdbi-drivers/libdbi-drivers.mk new file mode 100644 index 00000000..af8db795 --- /dev/null +++ b/buildroot-2022.02.1/package/libdbi-drivers/libdbi-drivers.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# libdbi-drivers +# +################################################################################ + +LIBDBI_DRIVERS_VERSION = 0bfae6c43134cf58dc89364328545982ca297abb +LIBDBI_DRIVERS_SITE = https://git.code.sf.net/p/libdbi-drivers/libdbi-drivers +LIBDBI_DRIVERS_SITE_METHOD = git +LIBDBI_DRIVERS_LICENSE = LGPL-2.1+ +LIBDBI_DRIVERS_LICENSE_FILES = COPYING +LIBDBI_DRIVERS_INSTALL_STAGING = YES +LIBDBI_DRIVERS_DEPENDENCIES = libdbi host-pkgconf +LIBDBI_DRIVERS_AUTORECONF = YES + +LIBDBI_DRIVERS_CONF_OPTS = --with-dbi-libdir=$(STAGING_DIR)/usr/lib + +ifeq ($(BR2_PACKAGE_MYSQL),y) +LIBDBI_DRIVERS_DEPENDENCIES += mysql +LIBDBI_DRIVERS_CONF_OPTS += --with-mysql +LIBDBI_DRIVERS_CONF_ENV += MYSQL_CONFIG="$(STAGING_DIR)/usr/bin/mysql_config" +else +LIBDBI_DRIVERS_CONF_OPTS += --without-mysql +endif + +ifeq ($(BR2_PACKAGE_POSTGRESQL),y) +LIBDBI_DRIVERS_DEPENDENCIES += postgresql +LIBDBI_DRIVERS_CONF_OPTS += --with-pgsql +else +LIBDBI_DRIVERS_CONF_OPTS += --without-pgsql +endif + +LIBDBI_DRIVERS_CONF_OPTS += --without-sqlite +ifeq ($(BR2_PACKAGE_SQLITE),y) +LIBDBI_DRIVERS_DEPENDENCIES += sqlite +LIBDBI_DRIVERS_CONF_OPTS += --with-sqlite3 +else +LIBDBI_DRIVERS_CONF_OPTS += --without-sqlite3 +endif + +LIBDBI_DRIVERS_CONF_OPTS += --without-msql # MiniSQL +LIBDBI_DRIVERS_CONF_OPTS += --without-oracle # Oracle OCI +LIBDBI_DRIVERS_CONF_OPTS += --without-firebird # Firebird/Interbase +LIBDBI_DRIVERS_CONF_OPTS += --without-freetds # Freetds +LIBDBI_DRIVERS_CONF_OPTS += --without-ingres # Ingres +LIBDBI_DRIVERS_CONF_OPTS += --without-db2 # IBM DB2 + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libdbi/Config.in b/buildroot-2022.02.1/package/libdbi/Config.in new file mode 100644 index 00000000..13ac344f --- /dev/null +++ b/buildroot-2022.02.1/package/libdbi/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBDBI + bool "lidbi" + depends on !BR2_STATIC_LIBS + help + libdbi implements a database-independent abstraction layer + in C, similar to the DBI/DBD layer in Perl. + + http://libdbi.sourceforge.net + +comment "libdbi needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libdbi/libdbi.hash b/buildroot-2022.02.1/package/libdbi/libdbi.hash new file mode 100644 index 00000000..6dd2d365 --- /dev/null +++ b/buildroot-2022.02.1/package/libdbi/libdbi.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 958475e0010a3d8e43ce9ecd6a64d25eacca6ada46c39bc69f949dd70f92ab7a libdbi-88b8477d57153b9f736dd19d432d3b7ab1c49073-br1.tar.gz +sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING diff --git a/buildroot-2022.02.1/package/libdbi/libdbi.mk b/buildroot-2022.02.1/package/libdbi/libdbi.mk new file mode 100644 index 00000000..e48fffaf --- /dev/null +++ b/buildroot-2022.02.1/package/libdbi/libdbi.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libdbi +# +################################################################################ + +LIBDBI_VERSION = 88b8477d57153b9f736dd19d432d3b7ab1c49073 +LIBDBI_SITE = https://git.code.sf.net/p/libdbi/libdbi +LIBDBI_SITE_METHOD = git +LIBDBI_LICENSE = LGPL-2.1+ +LIBDBI_LICENSE_FILES = COPYING +LIBDBI_INSTALL_STAGING = YES +# Fetched from git, with no configure script +LIBDBI_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libdcadec/Config.in b/buildroot-2022.02.1/package/libdcadec/Config.in similarity index 100% rename from buildroot-2021.05/package/libdcadec/Config.in rename to buildroot-2022.02.1/package/libdcadec/Config.in diff --git a/buildroot-2021.05/package/libdcadec/libdcadec.hash b/buildroot-2022.02.1/package/libdcadec/libdcadec.hash similarity index 100% rename from buildroot-2021.05/package/libdcadec/libdcadec.hash rename to buildroot-2022.02.1/package/libdcadec/libdcadec.hash diff --git a/buildroot-2021.05/package/libdcadec/libdcadec.mk b/buildroot-2022.02.1/package/libdcadec/libdcadec.mk similarity index 100% rename from buildroot-2021.05/package/libdcadec/libdcadec.mk rename to buildroot-2022.02.1/package/libdcadec/libdcadec.mk diff --git a/buildroot-2021.05/package/libdmtx/Config.in b/buildroot-2022.02.1/package/libdmtx/Config.in similarity index 100% rename from buildroot-2021.05/package/libdmtx/Config.in rename to buildroot-2022.02.1/package/libdmtx/Config.in diff --git a/buildroot-2021.05/package/libdmtx/libdmtx.hash b/buildroot-2022.02.1/package/libdmtx/libdmtx.hash similarity index 100% rename from buildroot-2021.05/package/libdmtx/libdmtx.hash rename to buildroot-2022.02.1/package/libdmtx/libdmtx.hash diff --git a/buildroot-2021.05/package/libdmtx/libdmtx.mk b/buildroot-2022.02.1/package/libdmtx/libdmtx.mk similarity index 100% rename from buildroot-2021.05/package/libdmtx/libdmtx.mk rename to buildroot-2022.02.1/package/libdmtx/libdmtx.mk diff --git a/buildroot-2022.02.1/package/libdnet/0001-python-makefile.patch b/buildroot-2022.02.1/package/libdnet/0001-python-makefile.patch new file mode 100644 index 00000000..eae22b2f --- /dev/null +++ b/buildroot-2022.02.1/package/libdnet/0001-python-makefile.patch @@ -0,0 +1,27 @@ +From 298cd8eaa21a21eee85f9551a26ad294347b1d5a Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Thu, 30 Dec 2021 11:14:15 -0800 +Subject: [PATCH] python makefile + +Signed-off-by: Peter Korsgaard +[adam: refresh for 1.14; make it git-formatted] +Signed-off-by: Adam Duskett +--- + python/Makefile.am | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/python/Makefile.am b/python/Makefile.am +index 1a74ef2..59fe0f3 100644 +--- a/python/Makefile.am ++++ b/python/Makefile.am +@@ -11,6 +11,7 @@ $(srcdir)/dnet.c: $(srcdir)/dnet.pyx + pyrexc $(srcdir)/dnet.pyx + + python-build: $(srcdir)/dnet.c ++ CC="$(CC)" LDSHARED="$(CC) -shared" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(PYTHON) setup.py build_ext -I$(PYINCDIR) -L$(PYLIBDIR) + $(PYTHON) setup.py build + touch python-build + +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/libdnet/Config.in b/buildroot-2022.02.1/package/libdnet/Config.in new file mode 100644 index 00000000..f853e4e1 --- /dev/null +++ b/buildroot-2022.02.1/package/libdnet/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_LIBDNET + bool "libdnet" + help + libdnet - simplified interface to low-level networking + routines. + + http://libdnet.sourceforge.net/ + +if BR2_PACKAGE_LIBDNET + +config BR2_PACKAGE_LIBDNET_PYTHON + bool "libdnet python module" + depends on BR2_PACKAGE_PYTHON3 + help + dnet module for python + +comment "dnet module for python requires python3 package" + depends on !BR2_PACKAGE_PYTHON3 + +endif diff --git a/buildroot-2022.02.1/package/libdnet/libdnet.hash b/buildroot-2022.02.1/package/libdnet/libdnet.hash new file mode 100644 index 00000000..d322a1cc --- /dev/null +++ b/buildroot-2022.02.1/package/libdnet/libdnet.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 592599c54a57102a177270f3a2caabda2c2ac7768b977d7458feba97da923dfe libdnet-1.14.tar.gz +sha256 6b46ec86e290066c47b6607d322135b3c473566e7225ac23d35a7c0588a82da6 LICENSE diff --git a/buildroot-2022.02.1/package/libdnet/libdnet.mk b/buildroot-2022.02.1/package/libdnet/libdnet.mk new file mode 100644 index 00000000..4c58ea20 --- /dev/null +++ b/buildroot-2022.02.1/package/libdnet/libdnet.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# libdnet +# +################################################################################ + +LIBDNET_VERSION = 1.14 +LIBDNET_SITE = $(call github,ofalk,libdnet,libdnet-$(LIBDNET_VERSION)) +LIBDNET_LICENSE = BSD-3-Clause +LIBDNET_LICENSE_FILES = LICENSE +LIBDNET_INSTALL_STAGING = YES +LIBDNET_AUTORECONF = YES +LIBDNET_CONF_OPTS = \ + --with-gnu-ld \ + --with-check=no +LIBDNET_CONFIG_SCRIPTS = dnet-config + +ifeq ($(BR2_PACKAGE_LIBDNET_PYTHON),y) +LIBDNET_DEPENDENCIES += host-python-cython python3 +LIBDNET_CONF_OPTS += --with-python=$(HOST_DIR)/bin +LIBDNET_MAKE_ENV += $(PKG_PYTHON_DISTUTILS_ENV) +LIBDNET_INSTALL_TARGET_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(TARGET_DIR) INSTALL_STRIP_FLAG=-s install-exec +LIBDNET_INSTALL_STAGING_OPTS = $(LIBDNET_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install +endif + +# Needed for autoreconf to work properly +define LIBDNET_FIXUP_ACINCLUDE_M4 + ln -sf config/acinclude.m4 $(@D) +endef + +LIBDNET_POST_EXTRACT_HOOKS += LIBDNET_FIXUP_ACINCLUDE_M4 + +define LIBDNET_REMOVE_CONFIG_SCRIPT + $(RM) -f $(TARGET_DIR)/usr/bin/dnet-config +endef + +LIBDNET_POST_INSTALL_TARGET_HOOKS += LIBDNET_REMOVE_CONFIG_SCRIPT + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libdri2/Config.in b/buildroot-2022.02.1/package/libdri2/Config.in similarity index 100% rename from buildroot-2021.05/package/libdri2/Config.in rename to buildroot-2022.02.1/package/libdri2/Config.in diff --git a/buildroot-2021.05/package/libdri2/libdri2.hash b/buildroot-2022.02.1/package/libdri2/libdri2.hash similarity index 100% rename from buildroot-2021.05/package/libdri2/libdri2.hash rename to buildroot-2022.02.1/package/libdri2/libdri2.hash diff --git a/buildroot-2021.05/package/libdri2/libdri2.mk b/buildroot-2022.02.1/package/libdri2/libdri2.mk similarity index 100% rename from buildroot-2021.05/package/libdri2/libdri2.mk rename to buildroot-2022.02.1/package/libdri2/libdri2.mk diff --git a/buildroot-2021.05/package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch b/buildroot-2022.02.1/package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch similarity index 100% rename from buildroot-2021.05/package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch rename to buildroot-2022.02.1/package/libdrm/0001-tests-meson.build-disable-nouveau-tests-for-static-b.patch diff --git a/buildroot-2021.05/package/libdrm/Config.in b/buildroot-2022.02.1/package/libdrm/Config.in similarity index 100% rename from buildroot-2021.05/package/libdrm/Config.in rename to buildroot-2022.02.1/package/libdrm/Config.in diff --git a/buildroot-2022.02.1/package/libdrm/libdrm.hash b/buildroot-2022.02.1/package/libdrm/libdrm.hash new file mode 100644 index 00000000..ca7332dd --- /dev/null +++ b/buildroot-2022.02.1/package/libdrm/libdrm.hash @@ -0,0 +1,6 @@ +# From https://lists.freedesktop.org/archives/dri-devel/2021-November/332386.html +sha256 629352e08c1fe84862ca046598d8a08ce14d26ab25ee1f4704f993d074cb7f26 libdrm-2.4.109.tar.xz +sha512 45194bb28207421afcff3e247930d2eeab77a5fea58e6be22f67525f2e0aab2f410a9ae0ab315b55ef56b80c481bba40b1660468b7cda539758b2bbb8e814fd8 libdrm-2.4.109.tar.xz + +# Hash for license file +sha256 d0a616a9020dc0271e36e6dd4bad174b4e2c2a42636f13785f8e18dd5f85fd83 data/meson.build diff --git a/buildroot-2022.02.1/package/libdrm/libdrm.mk b/buildroot-2022.02.1/package/libdrm/libdrm.mk new file mode 100644 index 00000000..9b614bf4 --- /dev/null +++ b/buildroot-2022.02.1/package/libdrm/libdrm.mk @@ -0,0 +1,117 @@ +################################################################################ +# +# libdrm +# +################################################################################ + +LIBDRM_VERSION = 2.4.109 +LIBDRM_SOURCE = libdrm-$(LIBDRM_VERSION).tar.xz +LIBDRM_SITE = https://dri.freedesktop.org/libdrm +LIBDRM_LICENSE = MIT +LIBDRM_LICENSE_FILES = data/meson.build +LIBDRM_INSTALL_STAGING = YES + +LIBDRM_DEPENDENCIES = \ + libpthread-stubs \ + host-pkgconf + +LIBDRM_CONF_OPTS = \ + -Dcairo-tests=false \ + -Dman-pages=false + +ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) +LIBDRM_DEPENDENCIES += libatomic_ops +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +LIBDRM_CFLAGS = $(TARGET_CFLAGS) -DAO_NO_SPARC_V9 +endif +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_INTEL),y) +LIBDRM_CONF_OPTS += -Dintel=true +LIBDRM_DEPENDENCIES += libpciaccess +else +LIBDRM_CONF_OPTS += -Dintel=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_RADEON),y) +LIBDRM_CONF_OPTS += -Dradeon=true +else +LIBDRM_CONF_OPTS += -Dradeon=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_AMDGPU),y) +LIBDRM_CONF_OPTS += -Damdgpu=true +else +LIBDRM_CONF_OPTS += -Damdgpu=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_NOUVEAU),y) +LIBDRM_CONF_OPTS += -Dnouveau=true +else +LIBDRM_CONF_OPTS += -Dnouveau=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_VMWGFX),y) +LIBDRM_CONF_OPTS += -Dvmwgfx=true +else +LIBDRM_CONF_OPTS += -Dvmwgfx=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_OMAP),y) +LIBDRM_CONF_OPTS += -Domap=true +else +LIBDRM_CONF_OPTS += -Domap=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_ETNAVIV),y) +LIBDRM_CONF_OPTS += -Detnaviv=true +else +LIBDRM_CONF_OPTS += -Detnaviv=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_EXYNOS),y) +LIBDRM_CONF_OPTS += -Dexynos=true +else +LIBDRM_CONF_OPTS += -Dexynos=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_FREEDRENO),y) +LIBDRM_CONF_OPTS += -Dfreedreno=true +else +LIBDRM_CONF_OPTS += -Dfreedreno=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_TEGRA),y) +LIBDRM_CONF_OPTS += -Dtegra=true +else +LIBDRM_CONF_OPTS += -Dtegra=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_VC4),y) +LIBDRM_CONF_OPTS += -Dvc4=true +else +LIBDRM_CONF_OPTS += -Dvc4=false +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBDRM_CONF_OPTS += -Dudev=true +LIBDRM_DEPENDENCIES += udev +else +LIBDRM_CONF_OPTS += -Dudev=false +endif + +ifeq ($(BR2_PACKAGE_VALGRIND),y) +LIBDRM_CONF_OPTS += -Dvalgrind=true +LIBDRM_DEPENDENCIES += valgrind +else +LIBDRM_CONF_OPTS += -Dvalgrind=false +endif + +ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y) +LIBDRM_CONF_OPTS += -Dinstall-test-programs=true +ifeq ($(BR2_PACKAGE_CUNIT),y) +LIBDRM_DEPENDENCIES += cunit +endif +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libdvbcsa/0001-altivec-powerpc64.patch b/buildroot-2022.02.1/package/libdvbcsa/0001-altivec-powerpc64.patch similarity index 100% rename from buildroot-2021.05/package/libdvbcsa/0001-altivec-powerpc64.patch rename to buildroot-2022.02.1/package/libdvbcsa/0001-altivec-powerpc64.patch diff --git a/buildroot-2021.05/package/libdvbcsa/Config.in b/buildroot-2022.02.1/package/libdvbcsa/Config.in similarity index 100% rename from buildroot-2021.05/package/libdvbcsa/Config.in rename to buildroot-2022.02.1/package/libdvbcsa/Config.in diff --git a/buildroot-2021.05/package/libdvbcsa/libdvbcsa.hash b/buildroot-2022.02.1/package/libdvbcsa/libdvbcsa.hash similarity index 100% rename from buildroot-2021.05/package/libdvbcsa/libdvbcsa.hash rename to buildroot-2022.02.1/package/libdvbcsa/libdvbcsa.hash diff --git a/buildroot-2021.05/package/libdvbcsa/libdvbcsa.mk b/buildroot-2022.02.1/package/libdvbcsa/libdvbcsa.mk similarity index 100% rename from buildroot-2021.05/package/libdvbcsa/libdvbcsa.mk rename to buildroot-2022.02.1/package/libdvbcsa/libdvbcsa.mk diff --git a/buildroot-2021.05/package/libdvbpsi/Config.in b/buildroot-2022.02.1/package/libdvbpsi/Config.in similarity index 100% rename from buildroot-2021.05/package/libdvbpsi/Config.in rename to buildroot-2022.02.1/package/libdvbpsi/Config.in diff --git a/buildroot-2021.05/package/libdvbpsi/libdvbpsi.hash b/buildroot-2022.02.1/package/libdvbpsi/libdvbpsi.hash similarity index 100% rename from buildroot-2021.05/package/libdvbpsi/libdvbpsi.hash rename to buildroot-2022.02.1/package/libdvbpsi/libdvbpsi.hash diff --git a/buildroot-2021.05/package/libdvbpsi/libdvbpsi.mk b/buildroot-2022.02.1/package/libdvbpsi/libdvbpsi.mk similarity index 100% rename from buildroot-2021.05/package/libdvbpsi/libdvbpsi.mk rename to buildroot-2022.02.1/package/libdvbpsi/libdvbpsi.mk diff --git a/buildroot-2021.05/package/libdvbsi/Config.in b/buildroot-2022.02.1/package/libdvbsi/Config.in similarity index 100% rename from buildroot-2021.05/package/libdvbsi/Config.in rename to buildroot-2022.02.1/package/libdvbsi/Config.in diff --git a/buildroot-2021.05/package/libdvbsi/libdvbsi.hash b/buildroot-2022.02.1/package/libdvbsi/libdvbsi.hash similarity index 100% rename from buildroot-2021.05/package/libdvbsi/libdvbsi.hash rename to buildroot-2022.02.1/package/libdvbsi/libdvbsi.hash diff --git a/buildroot-2021.05/package/libdvbsi/libdvbsi.mk b/buildroot-2022.02.1/package/libdvbsi/libdvbsi.mk similarity index 100% rename from buildroot-2021.05/package/libdvbsi/libdvbsi.mk rename to buildroot-2022.02.1/package/libdvbsi/libdvbsi.mk diff --git a/buildroot-2021.05/package/libdvdcss/Config.in b/buildroot-2022.02.1/package/libdvdcss/Config.in similarity index 100% rename from buildroot-2021.05/package/libdvdcss/Config.in rename to buildroot-2022.02.1/package/libdvdcss/Config.in diff --git a/buildroot-2022.02.1/package/libdvdcss/libdvdcss.hash b/buildroot-2022.02.1/package/libdvdcss/libdvdcss.hash new file mode 100644 index 00000000..4d20f19e --- /dev/null +++ b/buildroot-2022.02.1/package/libdvdcss/libdvdcss.hash @@ -0,0 +1,7 @@ +# From http://download.videolan.org/pub/videolan/libdvdcss/1.4.3/libdvdcss-1.4.3.tar.bz2.sha1 +sha1 fcea8b2749ead8183636e48300bea8791abc79ee libdvdcss-1.4.3.tar.bz2 +# From http://download.videolan.org/pub/videolan/libdvdcss/1.4.3/libdvdcss-1.4.3.tar.bz2.sha256 +sha256 233cc92f5dc01c5d3a96f5b3582be7d5cee5a35a52d3a08158745d3d86070079 libdvdcss-1.4.3.tar.bz2 + +# Hash for license file: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/libdvdcss/libdvdcss.mk b/buildroot-2022.02.1/package/libdvdcss/libdvdcss.mk new file mode 100644 index 00000000..f4d72177 --- /dev/null +++ b/buildroot-2022.02.1/package/libdvdcss/libdvdcss.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# libdvdcss +# +################################################################################ + +LIBDVDCSS_VERSION = 1.4.3 +LIBDVDCSS_SOURCE = libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2 +LIBDVDCSS_SITE = http://www.videolan.org/pub/videolan/libdvdcss/$(LIBDVDCSS_VERSION) +LIBDVDCSS_INSTALL_STAGING = YES +LIBDVDCSS_LICENSE = GPL-2.0+ +LIBDVDCSS_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libdvdnav/Config.in b/buildroot-2022.02.1/package/libdvdnav/Config.in similarity index 100% rename from buildroot-2021.05/package/libdvdnav/Config.in rename to buildroot-2022.02.1/package/libdvdnav/Config.in diff --git a/buildroot-2022.02.1/package/libdvdnav/libdvdnav.hash b/buildroot-2022.02.1/package/libdvdnav/libdvdnav.hash new file mode 100644 index 00000000..61d64b8e --- /dev/null +++ b/buildroot-2022.02.1/package/libdvdnav/libdvdnav.hash @@ -0,0 +1,7 @@ +# From http://download.videolan.org/pub/videolan/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2.sha1 +sha1 7ac76aa95d046db715763da23b7053b65cbc7540 libdvdnav-6.1.1.tar.bz2 +# From http://download.videolan.org/pub/videolan/libdvdnav/6.1.1/libdvdnav-6.1.1.tar.bz2.sha256 +sha256 c191a7475947d323ff7680cf92c0fb1be8237701885f37656c64d04e98d18d48 libdvdnav-6.1.1.tar.bz2 + +# Hash for license file: +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2022.02.1/package/libdvdnav/libdvdnav.mk b/buildroot-2022.02.1/package/libdvdnav/libdvdnav.mk new file mode 100644 index 00000000..e34c0710 --- /dev/null +++ b/buildroot-2022.02.1/package/libdvdnav/libdvdnav.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libdvdnav +# +################################################################################ + +LIBDVDNAV_VERSION = 6.1.1 +LIBDVDNAV_SOURCE = libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2 +LIBDVDNAV_SITE = http://www.videolan.org/pub/videolan/libdvdnav/$(LIBDVDNAV_VERSION) +LIBDVDNAV_INSTALL_STAGING = YES +LIBDVDNAV_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" +LIBDVDNAV_DEPENDENCIES = libdvdread host-pkgconf +LIBDVDNAV_LICENSE = GPL-2.0+ +LIBDVDNAV_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libdvdread/Config.in b/buildroot-2022.02.1/package/libdvdread/Config.in similarity index 100% rename from buildroot-2021.05/package/libdvdread/Config.in rename to buildroot-2022.02.1/package/libdvdread/Config.in diff --git a/buildroot-2022.02.1/package/libdvdread/libdvdread.hash b/buildroot-2022.02.1/package/libdvdread/libdvdread.hash new file mode 100644 index 00000000..de9afcfa --- /dev/null +++ b/buildroot-2022.02.1/package/libdvdread/libdvdread.hash @@ -0,0 +1,7 @@ +# From http://download.videolan.org/pub/videolan/libdvdread/6.1.2/libdvdread-6.1.2.tar.bz2.sha1 +sha1 789d0780fbdcd7d6dadf0fda3d4a4b6198c16393 libdvdread-6.1.2.tar.bz2 +# From http://download.videolan.org/pub/videolan/libdvdread/6.1.2/libdvdread-6.1.2.tar.bz2.sha256 +sha256 cc190f553758ced7571859e301f802cb4821f164d02bfacfd320c14a4e0da763 libdvdread-6.1.2.tar.bz2 + +# Hash for license file: +sha256 d6cb0e9e560f51085556949a84af12b79a00f10ab8b66c752537faf7cd665572 COPYING diff --git a/buildroot-2022.02.1/package/libdvdread/libdvdread.mk b/buildroot-2022.02.1/package/libdvdread/libdvdread.mk new file mode 100644 index 00000000..9ddb6721 --- /dev/null +++ b/buildroot-2022.02.1/package/libdvdread/libdvdread.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# libdvdread +# +################################################################################ + +LIBDVDREAD_VERSION = 6.1.2 +LIBDVDREAD_SOURCE = libdvdread-$(LIBDVDREAD_VERSION).tar.bz2 +LIBDVDREAD_SITE = http://www.videolan.org/pub/videolan/libdvdread/$(LIBDVDREAD_VERSION) +LIBDVDREAD_INSTALL_STAGING = YES +LIBDVDREAD_LICENSE = GPL-2.0+ +LIBDVDREAD_LICENSE_FILES = COPYING +LIBDVDREAD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu99" +LIBDVDREAD_CONF_OPTS = --with-libdvdcss +LIBDVDREAD_DEPENDENCIES = libdvdcss host-pkgconf + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libeXosip2/Config.in b/buildroot-2022.02.1/package/libeXosip2/Config.in similarity index 100% rename from buildroot-2021.05/package/libeXosip2/Config.in rename to buildroot-2022.02.1/package/libeXosip2/Config.in diff --git a/buildroot-2022.02.1/package/libeXosip2/libeXosip2.hash b/buildroot-2022.02.1/package/libeXosip2/libeXosip2.hash new file mode 100644 index 00000000..5cfee3ab --- /dev/null +++ b/buildroot-2022.02.1/package/libeXosip2/libeXosip2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 5b7823986431ea5cedc9f095d6964ace966f093b2ae7d0b08404788bfcebc9c2 libexosip2-5.3.0.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2022.02.1/package/libeXosip2/libeXosip2.mk b/buildroot-2022.02.1/package/libeXosip2/libeXosip2.mk new file mode 100644 index 00000000..86d821b0 --- /dev/null +++ b/buildroot-2022.02.1/package/libeXosip2/libeXosip2.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# libexosip2 +# +################################################################################ + +LIBEXOSIP2_VERSION = 5.3.0 +# Since version 5.0, letter 'X' in library's name is in lower case +LIBEXOSIP2_SOURCE = libexosip2-$(LIBEXOSIP2_VERSION).tar.gz +LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip +LIBEXOSIP2_INSTALL_STAGING = YES +LIBEXOSIP2_LICENSE = GPL-2.0+ +LIBEXOSIP2_LICENSE_FILES = COPYING +LIBEXOSIP2_CPE_ID_VENDOR = gnu +LIBEXOSIP2_CPE_ID_PRODUCT = exosip + +LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2 + +ifeq ($(BR2_arc),y) +# toolchain __arc__ define conflicts with libeXosip2 source +LIBEXOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__" +endif + +ifeq ($(BR2_PACKAGE_C_ARES),y) +LIBEXOSIP2_DEPENDENCIES += c-ares +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBEXOSIP2_DEPENDENCIES += openssl +LIBEXOSIP2_CONF_OPTS += --enable-openssl +else +LIBEXOSIP2_CONF_OPTS += --disable-openssl +endif + +LIBEXOSIP2_CONF_OPTS += \ + --enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no) + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libeastl/Config.in b/buildroot-2022.02.1/package/libeastl/Config.in new file mode 100644 index 00000000..5abea8f8 --- /dev/null +++ b/buildroot-2022.02.1/package/libeastl/Config.in @@ -0,0 +1,26 @@ +config BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS + bool + default y if BR2_i386 + default y if BR2_x86_64 + default y if BR2_aarch64 + default y if BR2_powerpc + default y if BR2_powerpc64 + +config BR2_PACKAGE_LIBEASTL + bool "libeastl" + depends on BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 + help + EASTL stands for Electronic Arts Standard Template + Library. It is a C++ template library of containers, + algorithms, and iterators useful for runtime and tool + development across multiple platforms. It is an extensive + and robust implementation that has an emphasis on high + performance. + + https://github.com/electronicarts/EASTL + +comment "libeastl needs a toolchain w/ C++, gcc >= 4.9" + depends on BR2_PACKAGE_LIBEASTL_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/libeastl/libeastl.hash b/buildroot-2022.02.1/package/libeastl/libeastl.hash similarity index 100% rename from buildroot-2021.05/package/libeastl/libeastl.hash rename to buildroot-2022.02.1/package/libeastl/libeastl.hash diff --git a/buildroot-2021.05/package/libeastl/libeastl.mk b/buildroot-2022.02.1/package/libeastl/libeastl.mk similarity index 100% rename from buildroot-2021.05/package/libeastl/libeastl.mk rename to buildroot-2022.02.1/package/libeastl/libeastl.mk diff --git a/buildroot-2022.02.1/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch b/buildroot-2022.02.1/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch new file mode 100644 index 00000000..c7e789c0 --- /dev/null +++ b/buildroot-2022.02.1/package/libebml/0001-include-appropriate-header-files-for-std-numeric_limits.patch @@ -0,0 +1,40 @@ +From f0bfd53647961e799a43d918c46cf3b6bff89806 Mon Sep 17 00:00:00 2001 +From: Moritz Bunkus +Date: Sat, 27 Feb 2021 20:36:52 +0100 +Subject: [PATCH] include appropriate header files for std::numeric_limits + +Fixes #80. + +[Retrieved (and updated to remove ChangeLog update) from: +https://github.com/Matroska-Org/libebml/commit/f0bfd53647961e799a43d918c46cf3b6bff89806] +Signed-off-by: Fabrice Fontaine +--- + ChangeLog | 4 ++++ + src/EbmlString.cpp | 1 + + src/EbmlUnicodeString.cpp | 1 + + 3 files changed, 6 insertions(+) + +diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp +index 27e55fd..4c05fcf 100644 +--- a/src/EbmlString.cpp ++++ b/src/EbmlString.cpp +@@ -34,6 +34,7 @@ + \author Steve Lhomme + */ + #include ++#include + + #include "ebml/EbmlString.h" + +diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp +index 496a16a..99fc073 100644 +--- a/src/EbmlUnicodeString.cpp ++++ b/src/EbmlUnicodeString.cpp +@@ -36,6 +36,7 @@ + */ + + #include ++#include + + #include "ebml/EbmlUnicodeString.h" + diff --git a/buildroot-2021.05/package/libebml/Config.in b/buildroot-2022.02.1/package/libebml/Config.in similarity index 100% rename from buildroot-2021.05/package/libebml/Config.in rename to buildroot-2022.02.1/package/libebml/Config.in diff --git a/buildroot-2021.05/package/libebml/libebml.hash b/buildroot-2022.02.1/package/libebml/libebml.hash similarity index 100% rename from buildroot-2021.05/package/libebml/libebml.hash rename to buildroot-2022.02.1/package/libebml/libebml.hash diff --git a/buildroot-2021.05/package/libebml/libebml.mk b/buildroot-2022.02.1/package/libebml/libebml.mk similarity index 100% rename from buildroot-2021.05/package/libebml/libebml.mk rename to buildroot-2022.02.1/package/libebml/libebml.mk diff --git a/buildroot-2021.05/package/libebur128/Config.in b/buildroot-2022.02.1/package/libebur128/Config.in similarity index 100% rename from buildroot-2021.05/package/libebur128/Config.in rename to buildroot-2022.02.1/package/libebur128/Config.in diff --git a/buildroot-2021.05/package/libebur128/libebur128.hash b/buildroot-2022.02.1/package/libebur128/libebur128.hash similarity index 100% rename from buildroot-2021.05/package/libebur128/libebur128.hash rename to buildroot-2022.02.1/package/libebur128/libebur128.hash diff --git a/buildroot-2021.05/package/libebur128/libebur128.mk b/buildroot-2022.02.1/package/libebur128/libebur128.mk similarity index 100% rename from buildroot-2021.05/package/libebur128/libebur128.mk rename to buildroot-2022.02.1/package/libebur128/libebur128.mk diff --git a/buildroot-2022.02.1/package/libedit/0001-check-bsd-functions-in-libbsd.patch b/buildroot-2022.02.1/package/libedit/0001-check-bsd-functions-in-libbsd.patch new file mode 100644 index 00000000..0af9472f --- /dev/null +++ b/buildroot-2022.02.1/package/libedit/0001-check-bsd-functions-in-libbsd.patch @@ -0,0 +1,22 @@ +configure: on Linux, the BSD functions require linking against libbsd + +Signed-off-by: "Fabrice Fontaine" +(Rebased against 20210910-3.1) +Signed-off-by: "Yann E. MORIN" +(Rebased against 20150325-3.1) +Signed-off-by: Bernd Kuhls + +diff -durN libedit-20130712-3.1.orig/configure.ac libedit-20130712-3.1/configure.ac +--- libedit-20130712-3.1.orig/configure.ac 2013-07-12 20:39:22.000000000 +0200 ++++ libedit-20130712-3.1/configure.ac 2013-07-28 23:35:35.012676469 +0200 +@@ -117,6 +117,10 @@ + #AC_FUNC_REALLOC + AC_TYPE_SIGNAL + AC_FUNC_STAT ++ ++# Search for libbsd for *vis functions ++AC_CHECK_LIB([bsd], [vis]) ++ + AC_CHECK_FUNCS([endpwent isascii memchr memset re_comp regcomp strcasecmp strchr strcspn strdup strerror strrchr strstr strtol issetugid wcsdup strlcpy strlcat vis strvis strunvis __secure_getenv secure_getenv]) + + # strlcpy diff --git a/buildroot-2021.05/package/libedit/Config.in b/buildroot-2022.02.1/package/libedit/Config.in similarity index 100% rename from buildroot-2021.05/package/libedit/Config.in rename to buildroot-2022.02.1/package/libedit/Config.in diff --git a/buildroot-2022.02.1/package/libedit/libedit.hash b/buildroot-2022.02.1/package/libedit/libedit.hash new file mode 100644 index 00000000..6d139730 --- /dev/null +++ b/buildroot-2022.02.1/package/libedit/libedit.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 6792a6a992050762edcca28ff3318cdb7de37dccf7bc30db59fcd7017eed13c5 libedit-20210910-3.1.tar.gz +sha256 9da6c9c74987a36c84302982799d17d2f748ba1c1c0c471425716173c1d07649 COPYING diff --git a/buildroot-2022.02.1/package/libedit/libedit.mk b/buildroot-2022.02.1/package/libedit/libedit.mk new file mode 100644 index 00000000..595a59f7 --- /dev/null +++ b/buildroot-2022.02.1/package/libedit/libedit.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# libedit +# +################################################################################ + +LIBEDIT_VERSION = 20210910-3.1 +LIBEDIT_SITE = http://www.thrysoee.dk/editline +LIBEDIT_INSTALL_STAGING = YES +LIBEDIT_DEPENDENCIES = ncurses +LIBEDIT_LICENSE = BSD-3-Clause +LIBEDIT_LICENSE_FILES = COPYING + +# We're patching configure.ac +LIBEDIT_AUTORECONF = YES + +# musl is ISO 10646 compliant but doesn't define __STDC_ISO_10646__, +# so let's define it manually +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +LIBEDIT_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -D__STDC_ISO_10646__=201103L" +endif + +# Note: libbsd required for *vis functions, but works only with a toolchain +# with __progname; otherwise, some features are disabled, as if libbsd was +# missing entirely. +ifeq ($(BR2_PACKAGE_LIBBSD),y) +LIBEDIT_DEPENDENCIES += libbsd +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libee/Config.in b/buildroot-2022.02.1/package/libee/Config.in similarity index 100% rename from buildroot-2021.05/package/libee/Config.in rename to buildroot-2022.02.1/package/libee/Config.in diff --git a/buildroot-2021.05/package/libee/libee.hash b/buildroot-2022.02.1/package/libee/libee.hash similarity index 100% rename from buildroot-2021.05/package/libee/libee.hash rename to buildroot-2022.02.1/package/libee/libee.hash diff --git a/buildroot-2021.05/package/libee/libee.mk b/buildroot-2022.02.1/package/libee/libee.mk similarity index 100% rename from buildroot-2021.05/package/libee/libee.mk rename to buildroot-2022.02.1/package/libee/libee.mk diff --git a/buildroot-2021.05/package/libenca/Config.in b/buildroot-2022.02.1/package/libenca/Config.in similarity index 100% rename from buildroot-2021.05/package/libenca/Config.in rename to buildroot-2022.02.1/package/libenca/Config.in diff --git a/buildroot-2021.05/package/libenca/libenca.hash b/buildroot-2022.02.1/package/libenca/libenca.hash similarity index 100% rename from buildroot-2021.05/package/libenca/libenca.hash rename to buildroot-2022.02.1/package/libenca/libenca.hash diff --git a/buildroot-2021.05/package/libenca/libenca.mk b/buildroot-2022.02.1/package/libenca/libenca.mk similarity index 100% rename from buildroot-2021.05/package/libenca/libenca.mk rename to buildroot-2022.02.1/package/libenca/libenca.mk diff --git a/buildroot-2021.05/package/libepoxy/Config.in b/buildroot-2022.02.1/package/libepoxy/Config.in similarity index 100% rename from buildroot-2021.05/package/libepoxy/Config.in rename to buildroot-2022.02.1/package/libepoxy/Config.in diff --git a/buildroot-2022.02.1/package/libepoxy/libepoxy.hash b/buildroot-2022.02.1/package/libepoxy/libepoxy.hash new file mode 100644 index 00000000..376920c3 --- /dev/null +++ b/buildroot-2022.02.1/package/libepoxy/libepoxy.hash @@ -0,0 +1,5 @@ +# From http://ftp.gnome.org/pub/gnome/sources/libepoxy/1.5/libepoxy-1.5.9.sha256sum +sha256 d168a19a6edfdd9977fef1308ccf516079856a4275cf876de688fb7927e365e4 libepoxy-1.5.9.tar.xz + +# Hashes for license files: +sha256 8d5144666f9c4df9bbd69b8900086d5979259152a1060421cdcc0fb9061a1c12 COPYING diff --git a/buildroot-2022.02.1/package/libepoxy/libepoxy.mk b/buildroot-2022.02.1/package/libepoxy/libepoxy.mk new file mode 100644 index 00000000..5a71fe59 --- /dev/null +++ b/buildroot-2022.02.1/package/libepoxy/libepoxy.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# libepoxy +# +################################################################################ + +LIBEPOXY_VERSION_MAJOR = 1.5 +LIBEPOXY_VERSION = $(LIBEPOXY_VERSION_MAJOR).9 +LIBEPOXY_SITE = http://ftp.gnome.org/pub/gnome/sources/libepoxy/$(LIBEPOXY_VERSION_MAJOR) +LIBEPOXY_SOURCE = libepoxy-$(LIBEPOXY_VERSION).tar.xz +LIBEPOXY_INSTALL_STAGING = YES +LIBEPOXY_DEPENDENCIES = host-pkgconf xutil_util-macros +LIBEPOXY_LICENSE = MIT +LIBEPOXY_LICENSE_FILES = COPYING +LIBEPOXY_CONF_OPTS += -Ddocs=false -Dtests=false + +ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y) +LIBEPOXY_CONF_OPTS += -Degl=yes +LIBEPOXY_DEPENDENCIES += libegl +else +LIBEPOXY_CONF_OPTS += -Degl=no +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_XLIB_LIBX11),yy) +LIBEPOXY_CONF_OPTS += -Dglx=yes -Dx11=true +LIBEPOXY_DEPENDENCIES += libgl xlib_libX11 +else +LIBEPOXY_CONF_OPTS += -Dglx=no -Dx11=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/liberation/Config.in b/buildroot-2022.02.1/package/liberation/Config.in similarity index 100% rename from buildroot-2021.05/package/liberation/Config.in rename to buildroot-2022.02.1/package/liberation/Config.in diff --git a/buildroot-2022.02.1/package/liberation/liberation.hash b/buildroot-2022.02.1/package/liberation/liberation.hash new file mode 100644 index 00000000..70b44e48 --- /dev/null +++ b/buildroot-2022.02.1/package/liberation/liberation.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 7191c669bf38899f73a2094ed00f7b800553364f90e2637010a69c0e268f25d0 liberation-fonts-ttf-2.1.5.tar.gz +sha256 93fed46019c38bbe566b479d22148e2e8a1e85ada614accb0211c37b2c61c19b LICENSE diff --git a/buildroot-2022.02.1/package/liberation/liberation.mk b/buildroot-2022.02.1/package/liberation/liberation.mk new file mode 100644 index 00000000..35f06dc2 --- /dev/null +++ b/buildroot-2022.02.1/package/liberation/liberation.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# liberation +# +################################################################################ + +LIBERATION_VERSION = 2.1.5 +LIBERATION_SITE = https://github.com/liberationfonts/liberation-fonts/files/7261482 +LIBERATION_SOURCE = liberation-fonts-ttf-$(LIBERATION_VERSION).tar.gz +LIBERATION_TARGET_DIR = $(TARGET_DIR)/usr/share/fonts/liberation +LIBERATION_LICENSE = OFL-1.1 +LIBERATION_LICENSE_FILES = LICENSE + +ifeq ($(BR2_PACKAGE_LIBERATION_MONO),y) +define LIBERATION_INSTALL_MONO + $(INSTALL) -m 644 $(@D)/LiberationMono*.ttf $(LIBERATION_TARGET_DIR) +endef +endif + +ifeq ($(BR2_PACKAGE_LIBERATION_SANS),y) +define LIBERATION_INSTALL_SANS + $(INSTALL) -m 644 $(@D)/LiberationSans*.ttf $(LIBERATION_TARGET_DIR) +endef +endif + +ifeq ($(BR2_PACKAGE_LIBERATION_SERIF),y) +define LIBERATION_INSTALL_SERIF + $(INSTALL) -m 644 $(@D)/LiberationSerif*.ttf $(LIBERATION_TARGET_DIR) +endef +endif + +define LIBERATION_INSTALL_TARGET_CMDS + mkdir -p $(LIBERATION_TARGET_DIR) + $(LIBERATION_INSTALL_MONO) + $(LIBERATION_INSTALL_SANS) + $(LIBERATION_INSTALL_SERIF) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/libesmtp/Config.in b/buildroot-2022.02.1/package/libesmtp/Config.in new file mode 100644 index 00000000..c631d127 --- /dev/null +++ b/buildroot-2022.02.1/package/libesmtp/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBESMTP + bool "libesmtp" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL + help + Library for sending emails through SMTP. + + https://libesmtp.github.io + +comment "libesmtp needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libesmtp/libesmtp.hash b/buildroot-2022.02.1/package/libesmtp/libesmtp.hash new file mode 100644 index 00000000..596ed4ea --- /dev/null +++ b/buildroot-2022.02.1/package/libesmtp/libesmtp.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 32bc3614ca12d21c7d933f32d43410e8744b6f91fdca7732da9877a385e4e6c3 libesmtp-1.1.0.tar.gz +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING.GPL +sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 LICENSE diff --git a/buildroot-2022.02.1/package/libesmtp/libesmtp.mk b/buildroot-2022.02.1/package/libesmtp/libesmtp.mk new file mode 100644 index 00000000..10fe7bf3 --- /dev/null +++ b/buildroot-2022.02.1/package/libesmtp/libesmtp.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# libesmtp +# +################################################################################ + +LIBESMTP_VERSION = 1.1.0 +LIBESMTP_SITE = $(call github,libesmtp,libESMTP,v$(LIBESMTP_VERSION)) +LIBESMTP_INSTALL_STAGING = YES +LIBESMTP_LICENSE = GPL-2.0+ (examples), LGPL-2.1+ (library) +LIBESMTP_LICENSE_FILES = COPYING.GPL LICENSE +LIBESMTP_CPE_ID_VENDOR = libesmtp_project + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBESMTP_CONF_OPTS += -Dtls=enabled +LIBESMTP_DEPENDENCIES += openssl +else +LIBESMTP_CONF_OPTS += -Dtls=disabled +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBESMTP_CONF_OPTS += -Dpthreads=enabled +else +LIBESMTP_CONF_OPTS += -Dpthreads=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/libest/0001-java-jni-client.c-add-support-for-OpenSSL-1.1.patch b/buildroot-2022.02.1/package/libest/0001-java-jni-client.c-add-support-for-OpenSSL-1.1.patch new file mode 100644 index 00000000..3c0d890d --- /dev/null +++ b/buildroot-2022.02.1/package/libest/0001-java-jni-client.c-add-support-for-OpenSSL-1.1.patch @@ -0,0 +1,112 @@ +From 8f152a6e47484056968973a71a16e4f2142213a9 Mon Sep 17 00:00:00 2001 +From: Aleksandr Makarov +Date: Mon, 13 Jul 2020 23:05:26 +0000 +Subject: [PATCH] java/jni/client.c: add support for OpenSSL 1.1 + +This shall allow the java/jni to build with and link against OpenSSL 1.1. + +Additionally, the configuration program will not attempt to process the +java/jni/ subdirectory if no --enable-jni has been specified. + +Upstream: https://github.com/cisco/libest/pull/81/. It was merged +upstream in commit 4fd7e74dc556519132b9ea4c8a0f022bd1254a31, but this +commit mixes multiple patches in one. + +Signed-off-by: Aleksandr Makarov +--- + Makefile.am | 8 ++++++-- + configure.ac | 10 ++++++---- + java/jni/client.c | 21 ++++++++++++++++----- + 3 files changed, 28 insertions(+), 11 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 10e38fd..9601de6 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -1,9 +1,13 @@ + ACLOCAL_AMFLAGS = -I m4 + ++if ENABLE_JNI ++libest_jni = java/jni ++endif ++ + if ENABLE_CLIENT_ONLY +-SUBDIRS = safe_c_stub src java/jni example/client example/client-simple example/client-brski ++SUBDIRS = safe_c_stub src $(libest_jni) example/client example/client-simple example/client-brski + else +-SUBDIRS = safe_c_stub src java/jni example/client example/client-simple example/server example/proxy example/client-brski ++SUBDIRS = safe_c_stub src $(libest_jni) example/client example/client-simple example/server example/proxy example/client-brski + endif + + EXTRA_DIST = autogen.sh example/util LICENSE README.brski $(srcdir)/build.gradle $(srcdir)/example/build_examples.gradle +diff --git a/configure.ac b/configure.ac +index e02a54d..d648030 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -35,9 +35,9 @@ AM_COND_IF([FREEBSD], AC_MSG_RESULT([Skipping libdl check]), + AC_ARG_ENABLE([jni], + [AS_HELP_STRING([--enable-jni], + [Enable support for JNI library])], +- [jni_on=1], +- [jni_on=0]) +-AM_CONDITIONAL([ENABLE_JNI], [test x$jni_on = x1]) ++ [], ++ [enable_jni="no"]) ++AM_CONDITIONAL([ENABLE_JNI], [test "$enable_jni" = "yes"]) + AM_COND_IF([ENABLE_JNI], + AC_MSG_RESULT([JNI support enabled]) + AC_DEFINE([ENABLE_JNI]), +@@ -198,5 +198,7 @@ AC_PREFIX_DEFAULT([/usr/local/est]) + + cp confdefs.h est_config.h + +-AC_CONFIG_FILES([Makefile version safe_c_stub/Makefile safe_c_stub/lib/Makefile java/jni/Makefile src/Makefile src/est/Makefile example/client/Makefile example/client-simple/Makefile example/client-brski/Makefile example/server/Makefile example/proxy/Makefile]) ++AC_CONFIG_FILES([Makefile version safe_c_stub/Makefile safe_c_stub/lib/Makefile src/Makefile src/est/Makefile example/client/Makefile example/client-simple/Makefile example/client-brski/Makefile example/server/Makefile example/proxy/Makefile]) ++AM_COND_IF([ENABLE_JNI], ++ [AC_CONFIG_FILES([java/jni/Makefile])]) + AC_OUTPUT +diff --git a/java/jni/client.c b/java/jni/client.c +index 9a8a34e..f7aeefc 100644 +--- a/java/jni/client.c ++++ b/java/jni/client.c +@@ -130,11 +130,18 @@ static int jni_est_client_X509_REQ_sign (X509_REQ *x, EVP_PKEY *pkey, const EVP_ + { + int rv; + EVP_PKEY_CTX *pkctx = NULL; +- EVP_MD_CTX mctx; ++ EVP_MD_CTX *mctx; + +- EVP_MD_CTX_init(&mctx); ++#ifdef HAVE_OLD_OPENSSL ++ EVP_MD_CTX md_ctx; ++ mctx = &md_ctx; + +- if (!EVP_DigestSignInit(&mctx, &pkctx, md, NULL, pkey)) { ++ EVP_MD_CTX_init(mctx); ++#else ++ mctx = EVP_MD_CTX_new(); ++#endif ++ ++ if (!EVP_DigestSignInit(mctx, &pkctx, md, NULL, pkey)) { + return 0; + } + +@@ -150,9 +157,13 @@ static int jni_est_client_X509_REQ_sign (X509_REQ *x, EVP_PKEY *pkey, const EVP_ + x->req_info->enc.modified = 1; + #endif + +- rv = X509_REQ_sign_ctx(x, &mctx); ++ rv = X509_REQ_sign_ctx(x, mctx); + +- EVP_MD_CTX_cleanup(&mctx); ++#ifdef HAVE_OLD_OPENSSL ++ EVP_MD_CTX_cleanup(mctx); ++#else ++ EVP_MD_CTX_free(mctx); ++#endif + + return (rv); + } +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/libest/0002-Add-enable-disable-examples-flag-to-toggle-examples-.patch b/buildroot-2022.02.1/package/libest/0002-Add-enable-disable-examples-flag-to-toggle-examples-.patch new file mode 100644 index 00000000..9b35e883 --- /dev/null +++ b/buildroot-2022.02.1/package/libest/0002-Add-enable-disable-examples-flag-to-toggle-examples-.patch @@ -0,0 +1,90 @@ +From 4bd41ea12924161baca48add39ba5ecfab2cae30 Mon Sep 17 00:00:00 2001 +From: Aleksandr Makarov +Date: Mon, 13 Jul 2020 23:42:42 +0000 +Subject: [PATCH] Add --{enable,disable}-examples flag to toggle examples + compilation + +Upstream: https://github.com/cisco/libest/pull/81/. It was merged +upstream in commit 4fd7e74dc556519132b9ea4c8a0f022bd1254a31, but this +commit mixes multiple patches in one. + +Signed-off-by: Aleksandr Makarov +--- + Makefile.am | 11 +++++++---- + configure.ac | 24 ++++++++++++++++++------ + 2 files changed, 25 insertions(+), 10 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 9601de6..e2561e7 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -4,10 +4,13 @@ if ENABLE_JNI + libest_jni = java/jni + endif + +-if ENABLE_CLIENT_ONLY +-SUBDIRS = safe_c_stub src $(libest_jni) example/client example/client-simple example/client-brski +-else +-SUBDIRS = safe_c_stub src $(libest_jni) example/client example/client-simple example/server example/proxy example/client-brski ++if ENABLE_EXAMPLES ++if ENABLE_CLIENT_ONLY ++examples = example/client example/client-simple example/client-brski ++else ++examples = example/client example/client-simple example/client-brski example/server example/proxy ++endif + endif + ++SUBDIRS = safe_c_stub src $(libest_jni) $(examples) + EXTRA_DIST = autogen.sh example/util LICENSE README.brski $(srcdir)/build.gradle $(srcdir)/example/build_examples.gradle +diff --git a/configure.ac b/configure.ac +index d648030..95b3223 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -2,11 +2,6 @@ dnl Process this file with autoconf to produce a configure script. + AC_INIT([libest],[3.2.0p],[libest-dev]) + AC_CONFIG_AUX_DIR(config) + AC_CONFIG_SRCDIR(src/est/est.c) +-AC_CONFIG_SRCDIR(example/client/estclient.c) +-AC_CONFIG_SRCDIR(example/client-simple/estclient-simple.c) +-AC_CONFIG_SRCDIR(example/client-brski/estclient-brski.c) +-AC_CONFIG_SRCDIR(example/server/estserver.c) +-AC_CONFIG_SRCDIR(example/proxy/estproxy.c) + AC_CONFIG_MACRO_DIR([m4]) + + AM_INIT_AUTOMAKE +@@ -80,6 +75,15 @@ AM_COND_IF([DISABLE_PTHREAD], [], + [AC_CHECK_LIB([pthread], [pthread_create], [], + [AC_MSG_FAILURE([can't find pthread lib])])]) + ++AC_ARG_ENABLE([examples], ++ [AS_HELP_STRING([--disable-examples], ++ [Disable examples compilation])], ++ [], ++ [enable_examples="yes"]) ++AC_MSG_CHECKING(whether to build examples) ++AM_CONDITIONAL([ENABLE_EXAMPLES], [test "$enable_examples" = "yes"]) ++AM_COND_IF([ENABLE_EXAMPLES], AC_MSG_RESULT([yes]), AC_MSG_RESULT([no])) ++ + AC_ARG_WITH([ssl-dir], + [AS_HELP_STRING([--with-ssl-dir], + [location of OpenSSL install folder, defaults to /usr/local/ssl])], +@@ -198,7 +202,15 @@ AC_PREFIX_DEFAULT([/usr/local/est]) + + cp confdefs.h est_config.h + +-AC_CONFIG_FILES([Makefile version safe_c_stub/Makefile safe_c_stub/lib/Makefile src/Makefile src/est/Makefile example/client/Makefile example/client-simple/Makefile example/client-brski/Makefile example/server/Makefile example/proxy/Makefile]) ++AC_CONFIG_FILES([Makefile version safe_c_stub/Makefile safe_c_stub/lib/Makefile src/Makefile src/est/Makefile]) + AM_COND_IF([ENABLE_JNI], + [AC_CONFIG_FILES([java/jni/Makefile])]) ++AM_COND_IF([ENABLE_EXAMPLES], ++[ ++ AC_CONFIG_FILES([example/client/Makefile example/client-simple/Makefile example/client-brski/Makefile]) ++ AM_COND_IF([ENABLE_CLIENT_ONLY], ++ [], ++ [AC_CONFIG_FILES([example/server/Makefile example/proxy/Makefile])]) ++]) ++ + AC_OUTPUT +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/libest/0003-Add-with-system-libsafec-flag-to-link-against-system.patch b/buildroot-2022.02.1/package/libest/0003-Add-with-system-libsafec-flag-to-link-against-system.patch new file mode 100644 index 00000000..66574cd9 --- /dev/null +++ b/buildroot-2022.02.1/package/libest/0003-Add-with-system-libsafec-flag-to-link-against-system.patch @@ -0,0 +1,109 @@ +From 017155b98ff3722816a52953b1079c9c8704d2ff Mon Sep 17 00:00:00 2001 +From: Aleksandr Makarov +Date: Tue, 14 Jul 2020 10:03:14 +0000 +Subject: [PATCH] Add --with-system-libsafec flag to link against system + libsafec + +Specifying the --with-system-libsafec flag shall allow the configuration +program to search for and, if found, to link against the libsafec library +that is installed in the system. + +Upstream: https://github.com/cisco/libest/pull/81/. It was merged +upstream in commit 4fd7e74dc556519132b9ea4c8a0f022bd1254a31, but this +commit mixes multiple patches in one. + +Signed-off-by: Aleksandr Makarov +--- + Makefile.am | 6 +++++- + configure.ac | 41 +++++++++++++++++++++++++++++++---------- + 2 files changed, 36 insertions(+), 11 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index e2561e7..d53b0d5 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -12,5 +12,9 @@ examples = example/client example/client-simple example/client-brski example/ser + endif + endif + +-SUBDIRS = safe_c_stub src $(libest_jni) $(examples) ++if ! WITH_SYSTEM_LIBSAFEC ++builtin_libsafec = safe_c_stub ++endif ++ ++SUBDIRS = $(builtin_libsafec) src $(libest_jni) $(examples) + EXTRA_DIST = autogen.sh example/util LICENSE README.brski $(srcdir)/build.gradle $(srcdir)/example/build_examples.gradle +diff --git a/configure.ac b/configure.ac +index 95b3223..048aa3c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -10,6 +10,7 @@ AM_INIT_AUTOMAKE([subdir-objects]) + + AC_PROG_CC + AM_PROG_CC_C_O ++PKG_PROG_PKG_CONFIG + LT_INIT + AC_CANONICAL_HOST + case $host in +@@ -187,22 +188,39 @@ AC_ARG_WITH([libcoap-dir], + ] + ) + +-SAFEC_STUB_DIR='$(abs_top_builddir)/safe_c_stub' +-AC_SUBST(SAFEC_STUB_DIR) +-safecdir="$SAFEC_STUB_DIR" +-AC_SUBST([SAFEC_DIR], "$safecdir") +-AC_SUBST([SAFEC_CFLAGS], "$safecdir/include") +-AC_SUBST([SAFEC_LDFLAGS], "$safecdir/lib") ++AC_ARG_WITH(system-libsafec, ++ AS_HELP_STRING([--with-system-libsafec], ++ [select to use libsafec installed in the system]), ++ [], ++ [with_system_libsafec="no"]) + +-CFLAGS="$CFLAGS -Wall -I$safecdir/include" +-LDFLAGS="$LDFLAGS -L$safecdir/lib" +-LIBS="$LIBS -lsafe_lib" ++AC_MSG_CHECKING(which libsafec to use) ++AM_CONDITIONAL([WITH_SYSTEM_LIBSAFEC], [test "$with_system_libsafec" = "yes"]) ++AM_COND_IF([WITH_SYSTEM_LIBSAFEC], AC_MSG_RESULT([system]), AC_MSG_RESULT([built-in])) ++AM_COND_IF([WITH_SYSTEM_LIBSAFEC], ++[ ++ PKG_CHECK_MODULES([libsafec], [libsafec]) ++ LIBS="$LIBS $libsafec_LIBS" ++ CFLAGS="$CFLAGS $libsafec_CFLAGS" ++ CPPFLAGS="$CPPFLAGS $libsafec_CFLAGS" ++],[ ++ SAFEC_STUB_DIR='$(abs_top_builddir)/safe_c_stub' ++ AC_SUBST(SAFEC_STUB_DIR) ++ safecdir="$SAFEC_STUB_DIR" ++ AC_SUBST([SAFEC_DIR], "$safecdir") ++ AC_SUBST([SAFEC_CFLAGS], "$safecdir/include") ++ AC_SUBST([SAFEC_LDFLAGS], "$safecdir/lib") ++ ++ CFLAGS="$CFLAGS -Wall -I$safecdir/include" ++ LDFLAGS="$LDFLAGS -L$safecdir/lib" ++ LIBS="$LIBS -lsafe_lib" ++]) + + AC_PREFIX_DEFAULT([/usr/local/est]) + + cp confdefs.h est_config.h + +-AC_CONFIG_FILES([Makefile version safe_c_stub/Makefile safe_c_stub/lib/Makefile src/Makefile src/est/Makefile]) ++AC_CONFIG_FILES([Makefile version src/Makefile src/est/Makefile]) + AM_COND_IF([ENABLE_JNI], + [AC_CONFIG_FILES([java/jni/Makefile])]) + AM_COND_IF([ENABLE_EXAMPLES], +@@ -212,5 +230,8 @@ AM_COND_IF([ENABLE_EXAMPLES], + [], + [AC_CONFIG_FILES([example/server/Makefile example/proxy/Makefile])]) + ]) ++AM_COND_IF([WITH_SYSTEM_LIBSAFEC], ++ [], ++ [AC_CONFIG_FILES([safe_c_stub/Makefile safe_c_stub/lib/Makefile])]) + + AC_OUTPUT +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/libest/0004-configure.ac-Fix-AC_ARG_ENABLE-AC_ARG_WITH-macros.patch b/buildroot-2022.02.1/package/libest/0004-configure.ac-Fix-AC_ARG_ENABLE-AC_ARG_WITH-macros.patch new file mode 100644 index 00000000..f5e1b0c4 --- /dev/null +++ b/buildroot-2022.02.1/package/libest/0004-configure.ac-Fix-AC_ARG_ENABLE-AC_ARG_WITH-macros.patch @@ -0,0 +1,164 @@ +From 9a76187aa4d779de39afa12024d5a73a14175371 Mon Sep 17 00:00:00 2001 +From: Aleksandr Makarov +Date: Wed, 15 Jul 2020 11:25:05 +0000 +Subject: [PATCH] configure.ac: Fix AC_ARG_ENABLE/AC_ARG_WITH macros + +Multiple tests in configure.ac are flawed: + +[--snip--] + AC_ARG_ENABLE([pthreads], + [AS_HELP_STRING([--disable-pthreads], + [Disable support for pthreads])], + [pthreads_on=1], + [pthreads_on=0]) +[--snip--] + +The third argument is "action-if-given" and the fourth argument +is "action-if-not-given" [0]. Which means that, whether you pass +--enable-pthreads or --disable-pthreads, the third argument will be +executed, that is "pthreads_on=1". And if you pass neither, the fourth +argument will be executed, i.e. "pthreads_on=0". + +We want `--enable-pthreads` and `--disable-pthreads` flags to do their job. +The right way to do that will be to eliminate "action-if-given" and replace +the user-defined `FEATURE_on=0|1` shell variables with the `enable_FEATURE` +and `with_PACKAGE` shell variables provided by Autotools. + +[0] https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/autoconf.html#Package-Options + +Upstream: https://github.com/cisco/libest/pull/81/. It was merged +upstream in commit 4fd7e74dc556519132b9ea4c8a0f022bd1254a31, but this +commit mixes multiple patches in one. + +Signed-off-by: Aleksandr Makarov +--- + configure.ac | 60 ++++++++++++++++++++++++++-------------------------- + 1 file changed, 30 insertions(+), 30 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 048aa3c..0b930bf 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -43,9 +43,9 @@ AM_CONDITIONAL([JAVA_HOME_SET], [test ! -z "$JAVA_HOME"]) + AC_ARG_ENABLE([client-only], + [AS_HELP_STRING([--enable-client-only], + [Enable the building of only the client mode of libEST])], +- [clientonly_on=1], +- [clientonly_on=0]) +-AM_CONDITIONAL([ENABLE_CLIENT_ONLY], [test x$clientonly_on = x1]) ++ [], ++ [enable_client_only="no"]) ++AM_CONDITIONAL([ENABLE_CLIENT_ONLY], [test "$enable_client_only" = "yes"]) + AM_COND_IF([ENABLE_CLIENT_ONLY], + AC_MSG_RESULT([Client only build enabled]) + AC_DEFINE([ENABLE_CLIENT_ONLY]), +@@ -54,9 +54,9 @@ AM_COND_IF([ENABLE_CLIENT_ONLY], + AC_ARG_ENABLE([brski], + [AS_HELP_STRING([--enable-brski], + [Enable support for brski bootstrap functionality])], +- [brski_on=1], +- [brski_on=0]) +-AM_CONDITIONAL([ENABLE_BRSKI], [test x$brski_on = x1]) ++ [], ++ [enable_brski="no"]) ++AM_CONDITIONAL([ENABLE_BRSKI], [test "$enable_brski" = "yes"]) + AM_COND_IF([ENABLE_BRSKI], + AC_MSG_RESULT([BRSKI support enabled]) + AC_DEFINE([ENABLE_BRSKI]), +@@ -65,9 +65,9 @@ AM_COND_IF([ENABLE_BRSKI], + AC_ARG_ENABLE([pthreads], + [AS_HELP_STRING([--disable-pthreads], + [Disable support for pthreads])], +- [pthreads_on=1], +- [pthreads_on=0]) +-AM_CONDITIONAL([DISABLE_PTHREAD], [test x$pthreads_on = x1]) ++ [], ++ [enable_pthreads="yes"]) ++AM_CONDITIONAL([DISABLE_PTHREAD], [test "$enable_pthreads" = "no"]) + AM_COND_IF([DISABLE_PTHREAD], + AC_MSG_RESULT([pthread support disabled]) + AC_DEFINE([DISABLE_PTHREADS]), +@@ -88,13 +88,13 @@ AM_COND_IF([ENABLE_EXAMPLES], AC_MSG_RESULT([yes]), AC_MSG_RESULT([no])) + AC_ARG_WITH([ssl-dir], + [AS_HELP_STRING([--with-ssl-dir], + [location of OpenSSL install folder, defaults to /usr/local/ssl])], +- [ssldir="$withval"], +- [ssldir="/usr/local/ssl"]) +-AC_SUBST([SSL_CFLAGS], "$ssldir/include") +-AC_SUBST([SSL_LDFLAGS], "$ssldir/lib") ++ [], ++ [with_ssl_dir="/usr/local/ssl"]) ++AC_SUBST([SSL_CFLAGS], "$with_ssl_dir/include") ++AC_SUBST([SSL_LDFLAGS], "$with_ssl_dir/lib") + +-CFLAGS="$CFLAGS -Wall -I$ssldir/include" +-LDFLAGS="$LDFLAGS -L$ssldir/lib" ++CFLAGS="$CFLAGS -Wall -I$with_ssl_dir/include" ++LDFLAGS="$LDFLAGS -L$with_ssl_dir/lib" + if test "$is_freebsd" = "1" ; then + AC_CHECK_LIB([crypto], [EVP_EncryptInit], [], + [AC_MSG_FAILURE([can't find openssl crypto lib])] +@@ -120,13 +120,13 @@ AC_CHECK_LIB([crypto], [EVP_CIPHER_CTX_reset], [], + AC_ARG_WITH([libcurl-dir], + [AS_HELP_STRING([--with-libcurl-dir], + [enable support for client proxy using libcurl])], +- [libcurldir="$withval"], +- [with_libcurldir=no]) ++ [], ++ [with_libcurl_dir=no]) + + AS_IF( +- [test "x$with_libcurldir" != xno], +- [[CFLAGS="$CFLAGS -I$libcurldir/include"] +- [LDFLAGS="$LDFLAGS -L$libcurldir/lib -lcurl"] ++ [test "$with_libcurl_dir" != "no"], ++ [[CFLAGS="$CFLAGS -I$with_libcurl_dir/include"] ++ [LDFLAGS="$LDFLAGS -L$with_libcurl_dir/lib -lcurl"] + AC_CHECK_LIB( + [curl], + [curl_easy_init], +@@ -143,17 +143,17 @@ AC_ARG_WITH([libcurl-dir], + AC_ARG_WITH([uriparser-dir], + [AS_HELP_STRING([--with-uriparser-dir], + [enable support for path segments using uriparser])], +- [uriparserdir="$withval"], +- [with_uriparserdir=no]) ++ [], ++ [with_uriparser_dir=no]) + + dnl CFLAGS="$CFLAGS -Wall -I$uriparserdir/include" + dnl CPPFLAGS="$CPPFLAGS -I$uriparser/include" + dnl LDFLAGS="$LDFLAGS -L$uriparserdir/lib -luriparser" + + AS_IF( +- [test "x$with_uriparserdir" != xno], +- [[CFLAGS="$CFLAGS -I$uriparserdir/include"] +- [LDFLAGS="$LDFLAGS -L$uriparserdir/lib -luriparser"] ++ [test "$with_uriparser_dir" != "no"], ++ [[CFLAGS="$CFLAGS -I$with_uriparser_dir/include"] ++ [LDFLAGS="$LDFLAGS -L$with_uriparser_dir/lib -luriparser"] + AC_CHECK_LIB( + [uriparser], + [uriParseUriA], +@@ -170,13 +170,13 @@ AC_ARG_WITH([uriparser-dir], + AC_ARG_WITH([libcoap-dir], + [AS_HELP_STRING([--with-libcoap-dir], + [enable support for ESToCoAP using libcoap library])], +- [libcoapdir="$withval"], +- [with_libcoapdir=no]) ++ [], ++ [with_libcoap_dir=no]) + + AS_IF( +- [test "x$with_libcoapdir" != xno], +- [[CFLAGS="$CFLAGS -I$libcoapdir/include"] +- [LDFLAGS="$LDFLAGS -L$libcoapdir/lib -lcoap-2-openssl"] ++ [test "$with_libcoap_dir" != "no"], ++ [[CFLAGS="$CFLAGS -I$with_libcoap_dir/include"] ++ [LDFLAGS="$LDFLAGS -L$with_libcoap_dir/lib -lcoap-2-openssl"] + AC_CHECK_LIB( + [coap-2-openssl], + [coap_startup], +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/libest/0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch b/buildroot-2022.02.1/package/libest/0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch new file mode 100644 index 00000000..1ee35ad7 --- /dev/null +++ b/buildroot-2022.02.1/package/libest/0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch @@ -0,0 +1,36 @@ +From bd4fad5e427f4d2828f2edbe8063f6d6c9276c7b Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 8 Jan 2022 13:30:58 +0100 +Subject: [PATCH] configure.ac: remove duplicate invocation of AM_INIT_AUTOMAKE + +autoreconf fails with: + +configure.ac:9: error: AM_INIT_AUTOMAKE expanded multiple times +/home/thomas/projets/buildroot/output/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from... +configure.ac:7: the top level +/home/thomas/projets/buildroot/output/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from... +configure.ac:9: the top level + +Drop the duplicate invocation to AM_INIT_AUTOMAKE to solve this. + +Upstream: https://github.com/cisco/libest/pull/106 +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 0b930bf..66a91f2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4,7 +4,6 @@ AC_CONFIG_AUX_DIR(config) + AC_CONFIG_SRCDIR(src/est/est.c) + AC_CONFIG_MACRO_DIR([m4]) + +-AM_INIT_AUTOMAKE + AM_MAINTAINER_MODE + AM_INIT_AUTOMAKE([subdir-objects]) + +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/libest/0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch b/buildroot-2022.02.1/package/libest/0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch new file mode 100644 index 00000000..ba0ecb4a --- /dev/null +++ b/buildroot-2022.02.1/package/libest/0006-src-est-est_locl.h-add-missing-extern-on-e_ctx_ssl_e.patch @@ -0,0 +1,42 @@ +From 32fe99fa403d2f51931615745a64f8aede1ca46f Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 8 Jan 2022 13:38:17 +0100 +Subject: [PATCH] src/est/est_locl.h: add missing extern on + e_ctx_ssl_exdata_index + +Without this extern, the variable gets re-declared in each compilation +unit including est_locl.h, causing gcc >= 10 to complain with: + +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client.o:(.data+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server.o:(.bss+0xc): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server_http.o:(.bss+0x3b8): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_proxy.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client_http.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_ossl_util.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_client_proxy.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_enhcd_cert_auth.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/10.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: .libs/est_server_coap.o:(.bss+0x0): multiple definition of `e_ctx_ssl_exdata_index'; .libs/est.o:(.bss+0x8): first defined here +collect2: error: ld returned 1 exit status + +Upstream: https://github.com/cisco/libest/pull/107 +Signed-off-by: Thomas Petazzoni +--- + src/est/est_locl.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/est/est_locl.h b/src/est/est_locl.h +index 62dcbea..b16f62d 100644 +--- a/src/est/est_locl.h ++++ b/src/est/est_locl.h +@@ -590,7 +590,7 @@ typedef struct est_oid_list { + /* + * Index used to link the EST Ctx into the SSL structures + */ +-int e_ctx_ssl_exdata_index; ++extern int e_ctx_ssl_exdata_index; + + LIBEST_TEST_API void est_log (EST_LOG_LEVEL lvl, char *format, ...); + LIBEST_TEST_API void est_log_backtrace (void); +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/libest/Config.in b/buildroot-2022.02.1/package/libest/Config.in new file mode 100644 index 00000000..6abe9d28 --- /dev/null +++ b/buildroot-2022.02.1/package/libest/Config.in @@ -0,0 +1,31 @@ +comment "libest needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_LIBEST + bool "libest" + depends on !BR2_STATIC_LIBS # libexecinfo or glibc + select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + help + libest is a C implementation of RFC 7030 (Enrollment over + Secure Transport). + + It can be used to provision public key certificates from + a certificate authority (CA) or registration authority (RA) + to end-user devices and network infrastructure devices. + + https://github.com/cisco/libest + +if BR2_PACKAGE_LIBEST + +config BR2_PACKAGE_LIBEST_BRSKI + bool "BRSKI support" + +config BR2_PACKAGE_LIBEST_MODE_CLIENT_ONLY + bool "client-only mode" + # The client-only mode fails to build with OpenJDK/JNI + # bindings + depends on !BR2_PACKAGE_OPENJDK + +endif # BR2_PACKAGE_LIBEST diff --git a/buildroot-2022.02.1/package/libest/libest.hash b/buildroot-2022.02.1/package/libest/libest.hash new file mode 100644 index 00000000..c902a956 --- /dev/null +++ b/buildroot-2022.02.1/package/libest/libest.hash @@ -0,0 +1,3 @@ +# Computed locally +sha256 324b3a2b16cd14ea4234d75fa90f08b29509bac9cd3795c44268e22f906ee0ad libest-3.2.0.tar.gz +sha256 fbdb055f98babf8d86095d6f9b9e34d2ff21a8212e442b8f18bdcb403e44366c LICENSE diff --git a/buildroot-2022.02.1/package/libest/libest.mk b/buildroot-2022.02.1/package/libest/libest.mk new file mode 100644 index 00000000..d9f3cf87 --- /dev/null +++ b/buildroot-2022.02.1/package/libest/libest.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# libest +# +################################################################################ + +LIBEST_VERSION = 3.2.0 +LIBEST_SITE = $(call github,cisco,libest,r$(LIBEST_VERSION)) +# We don't build examples, so we're not affected by the OpenSSL +# license +LIBEST_LICENSE = BSD-3-Clause, MIT, W3C +LIBEST_LICENSE_FILES = LICENSE +LIBEST_INSTALL_STAGING = YES +LIBEST_AUTORECONF = YES +LIBEST_DEPENDENCIES = openssl host-pkgconf +# libcoap support is explicitly disabled because it breaks the build +LIBEST_CONF_OPTS = \ + --with-ssl-dir=$(STAGING_DIR)/usr \ + $(if $(BR2_TOOLCHAIN_HAS_THREADS),--enable-pthreads,--disable-pthreads) \ + $(if $(BR2_PACKAGE_LIBEST_BRSKI),--enable-brski,--disable-brski) \ + --disable-examples \ + --without-libcoap-dir + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +LIBEST_DEPENDENCIES += libexecinfo +LIBEST_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lexecinfo" +endif + +ifeq ($(BR2_PACKAGE_LIBEST_MODE_CLIENT_ONLY),y) +LIBEST_CONF_OPTS += --enable-client-only +else +LIBEST_CONF_OPTS += --disable-client-only +endif + +ifeq ($(BR2_PACKAGE_OPENJDK),y) +LIBEST_MAKE_ENV += JAVA_HOME=$(HOST_DIR)/lib/jvm +LIBEST_CONF_ENV += JAVA_HOME=$(HOST_DIR)/lib/jvm +LIBEST_CONF_OPTS += --enable-jni +LIBEST_DEPENDENCIES += openjdk +else +LIBEST_CONF_OPTS += --disable-jni +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +LIBEST_CONF_OPTS += --with-libcurl-dir=$(STAGING_DIR)/usr +LIBEST_DEPENDENCIES += libcurl +else +LIBEST_CONF_OPTS += --without-libcurl-dir +endif + +ifeq ($(BR2_PACKAGE_LIBURIPARSER),y) +LIBEST_CONF_OPTS += --with-uriparser-dir=$(STAGING_DIR)/usr +LIBEST_DEPENDENCIES += liburiparser +else +LIBEST_CONF_OPTS += --without-uriparser-dir +endif + +ifeq ($(BR2_PACKAGE_SAFECLIB),y) +LIBEST_CONF_OPTS += --with-system-libsafec +LIBEST_DEPENDENCIES += safeclib +else +LIBEST_CONF_OPTS += --without-system-libsafec +endif + +define LIBEST_INSTALL_PC + $(INSTALL) -c -m 0644 $(LIBEST_PKGDIR)/libest.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/libest.pc +endef +LIBEST_POST_INSTALL_STAGING_HOOKS += LIBEST_INSTALL_PC + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libest/libest.pc b/buildroot-2022.02.1/package/libest/libest.pc new file mode 100644 index 00000000..166240f9 --- /dev/null +++ b/buildroot-2022.02.1/package/libest/libest.pc @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +Name: libest +Description: implementation of RFC 7030 (Enrollment over Secure Transport) +Version: 2.1.0 +Libs: -lest +Cflags: -I${includedir}/est diff --git a/buildroot-2021.05/package/libestr/Config.in b/buildroot-2022.02.1/package/libestr/Config.in similarity index 100% rename from buildroot-2021.05/package/libestr/Config.in rename to buildroot-2022.02.1/package/libestr/Config.in diff --git a/buildroot-2021.05/package/libestr/libestr.hash b/buildroot-2022.02.1/package/libestr/libestr.hash similarity index 100% rename from buildroot-2021.05/package/libestr/libestr.hash rename to buildroot-2022.02.1/package/libestr/libestr.hash diff --git a/buildroot-2021.05/package/libestr/libestr.mk b/buildroot-2022.02.1/package/libestr/libestr.mk similarity index 100% rename from buildroot-2021.05/package/libestr/libestr.mk rename to buildroot-2022.02.1/package/libestr/libestr.mk diff --git a/buildroot-2021.05/package/libev/Config.in b/buildroot-2022.02.1/package/libev/Config.in similarity index 100% rename from buildroot-2021.05/package/libev/Config.in rename to buildroot-2022.02.1/package/libev/Config.in diff --git a/buildroot-2022.02.1/package/libev/libev.hash b/buildroot-2022.02.1/package/libev/libev.hash new file mode 100644 index 00000000..a849f3f3 --- /dev/null +++ b/buildroot-2022.02.1/package/libev/libev.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea libev-4.33.tar.gz +sha256 c4dd1a5bc38b041a320b93c5d6c08f5c41a63f2ce718ee16cfcb757fad448199 LICENSE diff --git a/buildroot-2022.02.1/package/libev/libev.mk b/buildroot-2022.02.1/package/libev/libev.mk new file mode 100644 index 00000000..9f3c19d4 --- /dev/null +++ b/buildroot-2022.02.1/package/libev/libev.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# libev +# +################################################################################ + +LIBEV_VERSION = 4.33 +LIBEV_SITE = http://dist.schmorp.de/libev/Attic +LIBEV_INSTALL_STAGING = YES +LIBEV_LICENSE = BSD-2-Clause or GPL-2.0+ +LIBEV_LICENSE_FILES = LICENSE + +# The 'compatibility' event.h header conflicts with libevent +# It's completely unnecessary for BR packages so remove it +define LIBEV_DISABLE_EVENT_H_INSTALL + $(SED) 's/ event.h//' $(@D)/Makefile.in +endef +LIBEV_POST_PATCH_HOOKS += LIBEV_DISABLE_EVENT_H_INSTALL + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libevdev/Config.in b/buildroot-2022.02.1/package/libevdev/Config.in similarity index 100% rename from buildroot-2021.05/package/libevdev/Config.in rename to buildroot-2022.02.1/package/libevdev/Config.in diff --git a/buildroot-2022.02.1/package/libevdev/libevdev.hash b/buildroot-2022.02.1/package/libevdev/libevdev.hash new file mode 100644 index 00000000..68a5ebdc --- /dev/null +++ b/buildroot-2022.02.1/package/libevdev/libevdev.hash @@ -0,0 +1,6 @@ +# From https://lists.freedesktop.org/archives/input-tools/2021-November/001573.html +sha256 2f729e3480695791f9482e8388bd723402b89f0eaf118057bbdea3cecee9b237 libevdev-1.12.0.tar.xz +sha512 6c1c1362d5112cdf3816d1f735c27e625f5463ebf10a83d675cd9364c3fb291ebcb91c051da442f1a36ed28ba7dd99af74546707f61274f7d5715c544a0ed04c libevdev-1.12.0.tar.xz + +# Hash for license files: +sha256 6f13de7ce28e4948ba95170e0723ee1254c1978ce1f127af82aeca597b567cb9 COPYING diff --git a/buildroot-2022.02.1/package/libevdev/libevdev.mk b/buildroot-2022.02.1/package/libevdev/libevdev.mk new file mode 100644 index 00000000..cd80154b --- /dev/null +++ b/buildroot-2022.02.1/package/libevdev/libevdev.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# libevdev +# +################################################################################ + +LIBEVDEV_VERSION = 1.12.0 +LIBEVDEV_SITE = http://www.freedesktop.org/software/libevdev +LIBEVDEV_SOURCE = libevdev-$(LIBEVDEV_VERSION).tar.xz +LIBEVDEV_LICENSE = MIT +LIBEVDEV_LICENSE_FILES = COPYING + +LIBEVDEV_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY) + +LIBEVDEV_INSTALL_STAGING = YES + +LIBEVDEV_CONF_OPTS += \ + -Dtests=disabled \ + -Ddocumentation=disabled \ + -Dcoverity=false + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libevent/Config.in b/buildroot-2022.02.1/package/libevent/Config.in similarity index 100% rename from buildroot-2021.05/package/libevent/Config.in rename to buildroot-2022.02.1/package/libevent/Config.in diff --git a/buildroot-2021.05/package/libevent/libevent.hash b/buildroot-2022.02.1/package/libevent/libevent.hash similarity index 100% rename from buildroot-2021.05/package/libevent/libevent.hash rename to buildroot-2022.02.1/package/libevent/libevent.hash diff --git a/buildroot-2022.02.1/package/libevent/libevent.mk b/buildroot-2022.02.1/package/libevent/libevent.mk new file mode 100644 index 00000000..4c23156f --- /dev/null +++ b/buildroot-2022.02.1/package/libevent/libevent.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# libevent +# +################################################################################ + +LIBEVENT_VERSION = 2.1.12 +LIBEVENT_SITE = https://github.com/libevent/libevent/releases/download/release-$(LIBEVENT_VERSION)-stable +LIBEVENT_SOURCE = libevent-$(LIBEVENT_VERSION)-stable.tar.gz +LIBEVENT_INSTALL_STAGING = YES +LIBEVENT_LICENSE = BSD-3-Clause, OpenBSD +LIBEVENT_LICENSE_FILES = LICENSE +LIBEVENT_CPE_ID_VENDOR = libevent_project +LIBEVENT_CONF_OPTS = \ + --disable-libevent-regress \ + --disable-samples +HOST_LIBEVENT_CONF_OPTS = \ + --disable-libevent-regress \ + --disable-samples \ + --disable-openssl + +define LIBEVENT_REMOVE_PYSCRIPT + rm $(TARGET_DIR)/usr/bin/event_rpcgen.py +endef + +# libevent installs a python script to target - get rid of it if we +# don't have python support enabled +ifneq ($(BR2_PACKAGE_PYTHON3),y) +LIBEVENT_POST_INSTALL_TARGET_HOOKS += LIBEVENT_REMOVE_PYSCRIPT +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBEVENT_DEPENDENCIES += host-pkgconf openssl +LIBEVENT_CONF_OPTS += --enable-openssl +else +LIBEVENT_CONF_OPTS += --disable-openssl +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/libexecinfo/Config.in b/buildroot-2022.02.1/package/libexecinfo/Config.in new file mode 100644 index 00000000..e90dfc4e --- /dev/null +++ b/buildroot-2022.02.1/package/libexecinfo/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_LIBEXECINFO + bool "libexecinfo" + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on !BR2_TOOLCHAIN_USES_GLIBC + help + Library for inspecting program's backtrace + + https://github.com/mikroskeem/libexecinfo + +comment "libexecinfo needs a musl or uclibc toolchain w/ dynamic library" + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libexecinfo/libexecinfo.hash b/buildroot-2022.02.1/package/libexecinfo/libexecinfo.hash new file mode 100644 index 00000000..4719b769 --- /dev/null +++ b/buildroot-2022.02.1/package/libexecinfo/libexecinfo.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 0462304192fab38c39a376594db1c8bdab4ebda2736bf54f01715917f430611e libexecinfo-1.1-3.tar.gz +sha256 46fbc8e6849a164c4ba8fd5875748bde302bf3cd713622af0e51b4e10344f516 execinfo.h diff --git a/buildroot-2022.02.1/package/libexecinfo/libexecinfo.mk b/buildroot-2022.02.1/package/libexecinfo/libexecinfo.mk new file mode 100644 index 00000000..85f4fd8c --- /dev/null +++ b/buildroot-2022.02.1/package/libexecinfo/libexecinfo.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# libexecinfo +# +################################################################################ + +LIBEXECINFO_VERSION = 1.1-3 +LIBEXECINFO_SITE = $(call github,mikroskeem,libexecinfo,$(LIBEXECINFO_VERSION)) +LIBEXECINFO_LICENSE = BSD-2-Clause +LIBEXECINFO_LICENSE_FILES = execinfo.h +LIBEXECINFO_INSTALL_STAGING = YES + +define LIBEXECINFO_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c" +endef + +define LIBEXECINFO_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c" \ + DESTDIR="$(STAGING_DIR)" PREFIX=/usr install +endef + +define LIBEXECINFO_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c" \ + DESTDIR="$(TARGET_DIR)" PREFIX=/usr install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libexif/Config.in b/buildroot-2022.02.1/package/libexif/Config.in similarity index 100% rename from buildroot-2021.05/package/libexif/Config.in rename to buildroot-2022.02.1/package/libexif/Config.in diff --git a/buildroot-2022.02.1/package/libexif/libexif.hash b/buildroot-2022.02.1/package/libexif/libexif.hash new file mode 100644 index 00000000..0d082aed --- /dev/null +++ b/buildroot-2022.02.1/package/libexif/libexif.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae libexif-0.6.24.tar.bz2 +sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING diff --git a/buildroot-2022.02.1/package/libexif/libexif.mk b/buildroot-2022.02.1/package/libexif/libexif.mk new file mode 100644 index 00000000..921029b4 --- /dev/null +++ b/buildroot-2022.02.1/package/libexif/libexif.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# libexif +# +################################################################################ + +LIBEXIF_VERSION = 0.6.24 +LIBEXIF_SOURCE = libexif-$(LIBEXIF_VERSION).tar.bz2 +LIBEXIF_SITE = \ + https://github.com/libexif/libexif/releases/download/v$(LIBEXIF_VERSION) +LIBEXIF_INSTALL_STAGING = YES +LIBEXIF_DEPENDENCIES = host-pkgconf +LIBEXIF_LICENSE = LGPL-2.1+ +LIBEXIF_LICENSE_FILES = COPYING +LIBEXIF_CPE_ID_VENDOR = libexif_project + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libfastjson/Config.in b/buildroot-2022.02.1/package/libfastjson/Config.in similarity index 100% rename from buildroot-2021.05/package/libfastjson/Config.in rename to buildroot-2022.02.1/package/libfastjson/Config.in diff --git a/buildroot-2021.05/package/libfastjson/libfastjson.hash b/buildroot-2022.02.1/package/libfastjson/libfastjson.hash similarity index 100% rename from buildroot-2021.05/package/libfastjson/libfastjson.hash rename to buildroot-2022.02.1/package/libfastjson/libfastjson.hash diff --git a/buildroot-2021.05/package/libfastjson/libfastjson.mk b/buildroot-2022.02.1/package/libfastjson/libfastjson.mk similarity index 100% rename from buildroot-2021.05/package/libfastjson/libfastjson.mk rename to buildroot-2022.02.1/package/libfastjson/libfastjson.mk diff --git a/buildroot-2021.05/package/libfcgi/0001-link-against-math.patch b/buildroot-2022.02.1/package/libfcgi/0001-link-against-math.patch similarity index 100% rename from buildroot-2021.05/package/libfcgi/0001-link-against-math.patch rename to buildroot-2022.02.1/package/libfcgi/0001-link-against-math.patch diff --git a/buildroot-2021.05/package/libfcgi/0002-disable-examples.patch b/buildroot-2022.02.1/package/libfcgi/0002-disable-examples.patch similarity index 100% rename from buildroot-2021.05/package/libfcgi/0002-disable-examples.patch rename to buildroot-2022.02.1/package/libfcgi/0002-disable-examples.patch diff --git a/buildroot-2021.05/package/libfcgi/Config.in b/buildroot-2022.02.1/package/libfcgi/Config.in similarity index 100% rename from buildroot-2021.05/package/libfcgi/Config.in rename to buildroot-2022.02.1/package/libfcgi/Config.in diff --git a/buildroot-2021.05/package/libfcgi/libfcgi.hash b/buildroot-2022.02.1/package/libfcgi/libfcgi.hash similarity index 100% rename from buildroot-2021.05/package/libfcgi/libfcgi.hash rename to buildroot-2022.02.1/package/libfcgi/libfcgi.hash diff --git a/buildroot-2021.05/package/libfcgi/libfcgi.mk b/buildroot-2022.02.1/package/libfcgi/libfcgi.mk similarity index 100% rename from buildroot-2021.05/package/libfcgi/libfcgi.mk rename to buildroot-2022.02.1/package/libfcgi/libfcgi.mk diff --git a/buildroot-2021.05/package/libffi/0001-Fix-installation-location-of-libffi.patch b/buildroot-2022.02.1/package/libffi/0001-Fix-installation-location-of-libffi.patch similarity index 100% rename from buildroot-2021.05/package/libffi/0001-Fix-installation-location-of-libffi.patch rename to buildroot-2022.02.1/package/libffi/0001-Fix-installation-location-of-libffi.patch diff --git a/buildroot-2021.05/package/libffi/0002-Fix-use-of-compact-eh-frames-on-MIPS.patch b/buildroot-2022.02.1/package/libffi/0002-Fix-use-of-compact-eh-frames-on-MIPS.patch similarity index 100% rename from buildroot-2021.05/package/libffi/0002-Fix-use-of-compact-eh-frames-on-MIPS.patch rename to buildroot-2022.02.1/package/libffi/0002-Fix-use-of-compact-eh-frames-on-MIPS.patch diff --git a/buildroot-2021.05/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch b/buildroot-2022.02.1/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch similarity index 100% rename from buildroot-2021.05/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch rename to buildroot-2022.02.1/package/libffi/0003-libffi-enable-hardfloat-in-the-MIPS-assembly-code.patch diff --git a/buildroot-2021.05/package/libffi/Config.in b/buildroot-2022.02.1/package/libffi/Config.in similarity index 100% rename from buildroot-2021.05/package/libffi/Config.in rename to buildroot-2022.02.1/package/libffi/Config.in diff --git a/buildroot-2022.02.1/package/libffi/libffi.hash b/buildroot-2022.02.1/package/libffi/libffi.hash new file mode 100644 index 00000000..cf1977c4 --- /dev/null +++ b/buildroot-2022.02.1/package/libffi/libffi.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620 libffi-3.4.2.tar.gz +# License files, locally calculated +sha256 a61d06e8f7be57928e71e800eb9273b05cb8868c484108afe41e4305bb320dde LICENSE diff --git a/buildroot-2022.02.1/package/libffi/libffi.mk b/buildroot-2022.02.1/package/libffi/libffi.mk new file mode 100644 index 00000000..093256a6 --- /dev/null +++ b/buildroot-2022.02.1/package/libffi/libffi.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# libffi +# +################################################################################ + +LIBFFI_VERSION = 3.4.2 +LIBFFI_SITE = \ + https://github.com/libffi/libffi/releases/download/v$(LIBFFI_VERSION) +LIBFFI_LICENSE = MIT +LIBFFI_LICENSE_FILES = LICENSE +LIBFFI_CPE_ID_VENDOR = libffi_project +LIBFFI_INSTALL_STAGING = YES +# We're patching Makefile.am +LIBFFI_AUTORECONF = YES + +# The static exec trampolines is enabled by default since +# libffi 3.4.2. However it doesn't work with gobject-introspection. +LIBFFI_CONF_OPTS = --disable-exec-static-tramp + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libfm-extra/Config.in b/buildroot-2022.02.1/package/libfm-extra/Config.in similarity index 100% rename from buildroot-2021.05/package/libfm-extra/Config.in rename to buildroot-2022.02.1/package/libfm-extra/Config.in diff --git a/buildroot-2021.05/package/libfm-extra/libfm-extra.hash b/buildroot-2022.02.1/package/libfm-extra/libfm-extra.hash similarity index 100% rename from buildroot-2021.05/package/libfm-extra/libfm-extra.hash rename to buildroot-2022.02.1/package/libfm-extra/libfm-extra.hash diff --git a/buildroot-2021.05/package/libfm-extra/libfm-extra.mk b/buildroot-2022.02.1/package/libfm-extra/libfm-extra.mk similarity index 100% rename from buildroot-2021.05/package/libfm-extra/libfm-extra.mk rename to buildroot-2022.02.1/package/libfm-extra/libfm-extra.mk diff --git a/buildroot-2021.05/package/libfm/0001-modules-fix-cross-compilation.patch b/buildroot-2022.02.1/package/libfm/0001-modules-fix-cross-compilation.patch similarity index 100% rename from buildroot-2021.05/package/libfm/0001-modules-fix-cross-compilation.patch rename to buildroot-2022.02.1/package/libfm/0001-modules-fix-cross-compilation.patch diff --git a/buildroot-2022.02.1/package/libfm/Config.in b/buildroot-2022.02.1/package/libfm/Config.in new file mode 100644 index 00000000..e78bc99b --- /dev/null +++ b/buildroot-2022.02.1/package/libfm/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_LIBFM + bool "libfm" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + depends on BR2_INSTALL_LIBSTDCPP # libgtk2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBGTK2 if !BR2_PACKAGE_LIBGTK3_X11 + select BR2_PACKAGE_MENU_CACHE + help + A glib/gio-based library providing some file management + utilities and related-widgets missing in gtk+/glib. This is + the core of PCManFM. The library is desktop independent + (not LXDE specific) and has clean API. It can be used to + develop other applications requiring file management + functionality. For example, you can create your own file + manager with facilities provided by libfm. + + http://wiki.lxde.org/en/Libfm + +comment "libfm needs X.org and a toolchain w/ wchar, threads, C++, gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_PACKAGE_XORG7 diff --git a/buildroot-2021.05/package/libfm/libfm.hash b/buildroot-2022.02.1/package/libfm/libfm.hash similarity index 100% rename from buildroot-2021.05/package/libfm/libfm.hash rename to buildroot-2022.02.1/package/libfm/libfm.hash diff --git a/buildroot-2021.05/package/libfm/libfm.mk b/buildroot-2022.02.1/package/libfm/libfm.mk similarity index 100% rename from buildroot-2021.05/package/libfm/libfm.mk rename to buildroot-2022.02.1/package/libfm/libfm.mk diff --git a/buildroot-2022.02.1/package/libfreefare/Config.in b/buildroot-2022.02.1/package/libfreefare/Config.in new file mode 100644 index 00000000..574787e8 --- /dev/null +++ b/buildroot-2022.02.1/package/libfreefare/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBFREEFARE + bool "libfreefare" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBNFC + help + Library for high level manipulation of MIFARE cards. + + http://nfc-tools.org/index.php?title=Libfreefare diff --git a/buildroot-2021.05/package/libfreefare/libfreefare.hash b/buildroot-2022.02.1/package/libfreefare/libfreefare.hash similarity index 100% rename from buildroot-2021.05/package/libfreefare/libfreefare.hash rename to buildroot-2022.02.1/package/libfreefare/libfreefare.hash diff --git a/buildroot-2021.05/package/libfreefare/libfreefare.mk b/buildroot-2022.02.1/package/libfreefare/libfreefare.mk similarity index 100% rename from buildroot-2021.05/package/libfreefare/libfreefare.mk rename to buildroot-2022.02.1/package/libfreefare/libfreefare.mk diff --git a/buildroot-2021.05/package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch b/buildroot-2022.02.1/package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch rename to buildroot-2022.02.1/package/libfreeglut/0001-Work-around-for-an-issue-which-cropped-up-with-the-release-of-gcc-10.patch diff --git a/buildroot-2021.05/package/libfreeglut/Config.in b/buildroot-2022.02.1/package/libfreeglut/Config.in similarity index 100% rename from buildroot-2021.05/package/libfreeglut/Config.in rename to buildroot-2022.02.1/package/libfreeglut/Config.in diff --git a/buildroot-2021.05/package/libfreeglut/libfreeglut.hash b/buildroot-2022.02.1/package/libfreeglut/libfreeglut.hash similarity index 100% rename from buildroot-2021.05/package/libfreeglut/libfreeglut.hash rename to buildroot-2022.02.1/package/libfreeglut/libfreeglut.hash diff --git a/buildroot-2021.05/package/libfreeglut/libfreeglut.mk b/buildroot-2022.02.1/package/libfreeglut/libfreeglut.mk similarity index 100% rename from buildroot-2021.05/package/libfreeglut/libfreeglut.mk rename to buildroot-2022.02.1/package/libfreeglut/libfreeglut.mk diff --git a/buildroot-2021.05/package/libfreeimage/0001-no-root-install.patch b/buildroot-2022.02.1/package/libfreeimage/0001-no-root-install.patch similarity index 100% rename from buildroot-2021.05/package/libfreeimage/0001-no-root-install.patch rename to buildroot-2022.02.1/package/libfreeimage/0001-no-root-install.patch diff --git a/buildroot-2021.05/package/libfreeimage/0002-fix-cpuid-x86.patch b/buildroot-2022.02.1/package/libfreeimage/0002-fix-cpuid-x86.patch similarity index 100% rename from buildroot-2021.05/package/libfreeimage/0002-fix-cpuid-x86.patch rename to buildroot-2022.02.1/package/libfreeimage/0002-fix-cpuid-x86.patch diff --git a/buildroot-2021.05/package/libfreeimage/0003-fix-big-endian-os.patch b/buildroot-2022.02.1/package/libfreeimage/0003-fix-big-endian-os.patch similarity index 100% rename from buildroot-2021.05/package/libfreeimage/0003-fix-big-endian-os.patch rename to buildroot-2022.02.1/package/libfreeimage/0003-fix-big-endian-os.patch diff --git a/buildroot-2021.05/package/libfreeimage/Config.in b/buildroot-2022.02.1/package/libfreeimage/Config.in similarity index 100% rename from buildroot-2021.05/package/libfreeimage/Config.in rename to buildroot-2022.02.1/package/libfreeimage/Config.in diff --git a/buildroot-2021.05/package/libfreeimage/libfreeimage.hash b/buildroot-2022.02.1/package/libfreeimage/libfreeimage.hash similarity index 100% rename from buildroot-2021.05/package/libfreeimage/libfreeimage.hash rename to buildroot-2022.02.1/package/libfreeimage/libfreeimage.hash diff --git a/buildroot-2022.02.1/package/libfreeimage/libfreeimage.mk b/buildroot-2022.02.1/package/libfreeimage/libfreeimage.mk new file mode 100644 index 00000000..4775f921 --- /dev/null +++ b/buildroot-2022.02.1/package/libfreeimage/libfreeimage.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# libfreeimage +# +################################################################################ + +LIBFREEIMAGE_VERSION = 3.18.0 +LIBFREEIMAGE_SITE = http://downloads.sourceforge.net/freeimage +LIBFREEIMAGE_SOURCE = FreeImage$(subst .,,$(LIBFREEIMAGE_VERSION)).zip +LIBFREEIMAGE_LICENSE = GPL-2.0 or GPL-3.0 or FreeImage Public License +LIBFREEIMAGE_LICENSE_FILES = license-gplv2.txt license-gplv3.txt license-fi.txt +LIBFREEIMAGE_CPE_ID_VENDOR = freeimage_project +LIBFREEIMAGE_CPE_ID_PRODUCT = freeimage +LIBFREEIMAGE_INSTALL_STAGING = YES + +define LIBFREEIMAGE_EXTRACT_CMDS + $(UNZIP) $(LIBFREEIMAGE_DL_DIR)/$(LIBFREEIMAGE_SOURCE) -d $(@D) + mv $(@D)/FreeImage/* $(@D) + rmdir $(@D)/FreeImage +endef + +define LIBFREEIMAGE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" $(MAKE) -C $(@D) +endef + +define LIBFREEIMAGE_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install +endef + +define LIBFREEIMAGE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libfribidi/Config.in b/buildroot-2022.02.1/package/libfribidi/Config.in similarity index 100% rename from buildroot-2021.05/package/libfribidi/Config.in rename to buildroot-2022.02.1/package/libfribidi/Config.in diff --git a/buildroot-2022.02.1/package/libfribidi/libfribidi.hash b/buildroot-2022.02.1/package/libfribidi/libfribidi.hash new file mode 100644 index 00000000..da25b2d2 --- /dev/null +++ b/buildroot-2022.02.1/package/libfribidi/libfribidi.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 30f93e9c63ee627d1a2cedcf59ac34d45bf30240982f99e44c6e015466b4e73d fribidi-1.0.11.tar.xz +sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/buildroot-2022.02.1/package/libfribidi/libfribidi.mk b/buildroot-2022.02.1/package/libfribidi/libfribidi.mk new file mode 100644 index 00000000..adbd786d --- /dev/null +++ b/buildroot-2022.02.1/package/libfribidi/libfribidi.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libfribidi +# +################################################################################ + +LIBFRIBIDI_VERSION = 1.0.11 +LIBFRIBIDI_SOURCE = fribidi-$(LIBFRIBIDI_VERSION).tar.xz +LIBFRIBIDI_SITE = https://github.com/fribidi/fribidi/releases/download/v$(LIBFRIBIDI_VERSION) +LIBFRIBIDI_LICENSE = LGPL-2.1+ +LIBFRIBIDI_LICENSE_FILES = COPYING +LIBFRIBIDI_CPE_ID_VENDOR = gnu +LIBFRIBIDI_CPE_ID_PRODUCT = fribidi +LIBFRIBIDI_INSTALL_STAGING = YES +LIBFRIBIDI_DEPENDENCIES = host-pkgconf + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libftdi/0001_pkgconfig_libusb.patch b/buildroot-2022.02.1/package/libftdi/0001-pkgconfig_libusb.patch similarity index 100% rename from buildroot-2021.05/package/libftdi/0001_pkgconfig_libusb.patch rename to buildroot-2022.02.1/package/libftdi/0001-pkgconfig_libusb.patch diff --git a/buildroot-2021.05/package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch b/buildroot-2022.02.1/package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch similarity index 100% rename from buildroot-2021.05/package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch rename to buildroot-2022.02.1/package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch diff --git a/buildroot-2021.05/package/libftdi/Config.in b/buildroot-2022.02.1/package/libftdi/Config.in similarity index 100% rename from buildroot-2021.05/package/libftdi/Config.in rename to buildroot-2022.02.1/package/libftdi/Config.in diff --git a/buildroot-2021.05/package/libftdi/libftdi.hash b/buildroot-2022.02.1/package/libftdi/libftdi.hash similarity index 100% rename from buildroot-2021.05/package/libftdi/libftdi.hash rename to buildroot-2022.02.1/package/libftdi/libftdi.hash diff --git a/buildroot-2021.05/package/libftdi/libftdi.mk b/buildroot-2022.02.1/package/libftdi/libftdi.mk similarity index 100% rename from buildroot-2021.05/package/libftdi/libftdi.mk rename to buildroot-2022.02.1/package/libftdi/libftdi.mk diff --git a/buildroot-2021.05/package/libftdi1/0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch b/buildroot-2022.02.1/package/libftdi1/0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch similarity index 100% rename from buildroot-2021.05/package/libftdi1/0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch rename to buildroot-2022.02.1/package/libftdi1/0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch diff --git a/buildroot-2021.05/package/libftdi1/0002-CMakeLists.txt-fix-paths-when-FTDIPP-is-set.patch b/buildroot-2022.02.1/package/libftdi1/0002-CMakeLists.txt-fix-paths-when-FTDIPP-is-set.patch similarity index 100% rename from buildroot-2021.05/package/libftdi1/0002-CMakeLists.txt-fix-paths-when-FTDIPP-is-set.patch rename to buildroot-2022.02.1/package/libftdi1/0002-CMakeLists.txt-fix-paths-when-FTDIPP-is-set.patch diff --git a/buildroot-2022.02.1/package/libftdi1/Config.in b/buildroot-2022.02.1/package/libftdi1/Config.in new file mode 100644 index 00000000..ec913661 --- /dev/null +++ b/buildroot-2022.02.1/package/libftdi1/Config.in @@ -0,0 +1,39 @@ +config BR2_PACKAGE_LIBFTDI1 + bool "libftdi1" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Userspace access to FTDI USB interface chips (version 1.x) + + http://www.intra2net.com/en/developer/libftdi/index.php + +if BR2_PACKAGE_LIBFTDI1 + +config BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1 + bool "libftdipp1" + depends on BR2_INSTALL_LIBSTDCPP # boost + depends on BR2_TOOLCHAIN_HAS_THREADS # boost + depends on BR2_USE_WCHAR # boost + select BR2_PACKAGE_BOOST + help + C++ bindings for libftdi + +comment "libftdipp1 needs a toolchain w/ C++, wchar" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR + +config BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS + bool "python bindings" + depends on BR2_PACKAGE_PYTHON3 + help + Python bindings for libftdi + +config BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM + bool "ftdi_eeprom tool" + select BR2_PACKAGE_LIBCONFUSE + +endif # BR2_PACKAGE_LIBFTDI1 + +comment "libftdi1 needs a toolchain w/ threads, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/libftdi1/libftdi1.hash b/buildroot-2022.02.1/package/libftdi1/libftdi1.hash similarity index 100% rename from buildroot-2021.05/package/libftdi1/libftdi1.hash rename to buildroot-2022.02.1/package/libftdi1/libftdi1.hash diff --git a/buildroot-2022.02.1/package/libftdi1/libftdi1.mk b/buildroot-2022.02.1/package/libftdi1/libftdi1.mk new file mode 100644 index 00000000..d2e3f42e --- /dev/null +++ b/buildroot-2022.02.1/package/libftdi1/libftdi1.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# libftdi1 +# +################################################################################ + +LIBFTDI1_VERSION = 1.5 +LIBFTDI1_SOURCE = libftdi1-$(LIBFTDI1_VERSION).tar.bz2 +LIBFTDI1_SITE = http://www.intra2net.com/en/developer/libftdi/download +LIBFTDI1_INSTALL_STAGING = YES +LIBFTDI1_DEPENDENCIES = libusb +LIBFTDI1_LICENSE = LGPL-2.1 (libftdi1), MIT (libftdi1) +LIBFTDI1_LICENSE_FILES = LICENSE COPYING.LIB +LIBFTDI1_CONFIG_SCRIPTS = libftdi1-config +LIBFTDI1_CONF_OPTS = -DDOCUMENTATION=OFF -DEXAMPLES=OFF + +ifeq ($(BR2_PACKAGE_LIBFTDI1_LIBFTDIPP1),y) +LIBFTDI1_LICENSE += , GPL-2.0 with exception (libftdipp1) +LIBFTDI1_LICENSE_FILES += COPYING.GPL +LIBFTDI1_DEPENDENCIES += boost +LIBFTDI1_CONF_OPTS += -DFTDIPP=ON +else +LIBFTDI1_CONF_OPTS += -DFTDIPP=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS),y) +LIBFTDI1_DEPENDENCIES += python3 host-swig +LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=ON +else +LIBFTDI1_CONF_OPTS += -DPYTHON_BINDINGS=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBFTDI1_FDTI_EEPROM),y) +# ftdi_eeprom optionally depends on libintl +LIBFTDI1_LICENSE += , GPL-2.0 (ftdi_eeprom) +LIBFTDI1_LICENSE_FILES += COPYING.GPL +LIBFTDI1_DEPENDENCIES += libconfuse $(TARGET_NLS_DEPENDENCIES) +LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=ON +else +LIBFTDI1_CONF_OPTS += -DFTDI_EEPROM=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libfuse/0001-fix-aarch64-build.patch b/buildroot-2022.02.1/package/libfuse/0001-fix-aarch64-build.patch similarity index 100% rename from buildroot-2021.05/package/libfuse/0001-fix-aarch64-build.patch rename to buildroot-2022.02.1/package/libfuse/0001-fix-aarch64-build.patch diff --git a/buildroot-2022.02.1/package/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patch b/buildroot-2022.02.1/package/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patch new file mode 100644 index 00000000..7c3346e4 --- /dev/null +++ b/buildroot-2022.02.1/package/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patch @@ -0,0 +1,64 @@ +From 5a43d0f724c56f8836f3f92411e0de1b5f82db32 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sat, 24 Jul 2021 22:02:45 +0100 +Subject: [PATCH] util/ulockmgr_server.c: conditionally define closefrom (fix + glibc-2.34+) + +closefrom(3) has joined us in glibc-land from *BSD and Solaris. Since +it's available in glibc 2.34+, we want to detect it and only define our +fallback if the libc doesn't provide it. + +Bug: https://bugs.gentoo.org/803923 +Signed-off-by: Sam James + +[Retrieved from: +https://github.com/libfuse/libfuse/commit/5a43d0f724c56f8836f3f92411e0de1b5f82db32] +Signed-off-by: Fabrice Fontaine +--- + configure.ac | 1 + + util/ulockmgr_server.c | 6 ++++++ + 2 files changed, 7 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 9946a0efa..a2d481aa9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -55,6 +55,7 @@ fi + + AC_CHECK_FUNCS([fork setxattr fdatasync splice vmsplice utimensat]) + AC_CHECK_FUNCS([posix_fallocate]) ++AC_CHECK_FUNCS([closefrom]) + AC_CHECK_MEMBERS([struct stat.st_atim]) + AC_CHECK_MEMBERS([struct stat.st_atimespec]) + +diff --git a/util/ulockmgr_server.c b/util/ulockmgr_server.c +index 273c7d923..a04dac5c6 100644 +--- a/util/ulockmgr_server.c ++++ b/util/ulockmgr_server.c +@@ -22,6 +22,10 @@ + #include + #include + ++#ifdef HAVE_CONFIG_H ++ #include "config.h" ++#endif ++ + struct message { + unsigned intr : 1; + unsigned nofd : 1; +@@ -124,6 +128,7 @@ static int receive_message(int sock, void *buf, size_t buflen, int *fdp, + return res; + } + ++#if !defined(HAVE_CLOSEFROM) + static int closefrom(int minfd) + { + DIR *dir = opendir("/proc/self/fd"); +@@ -141,6 +146,7 @@ static int closefrom(int minfd) + } + return 0; + } ++#endif + + static void send_reply(int cfd, struct message *msg) + { diff --git a/buildroot-2021.05/package/libfuse/Config.in b/buildroot-2022.02.1/package/libfuse/Config.in similarity index 100% rename from buildroot-2021.05/package/libfuse/Config.in rename to buildroot-2022.02.1/package/libfuse/Config.in diff --git a/buildroot-2021.05/package/libfuse/libfuse.hash b/buildroot-2022.02.1/package/libfuse/libfuse.hash similarity index 100% rename from buildroot-2021.05/package/libfuse/libfuse.hash rename to buildroot-2022.02.1/package/libfuse/libfuse.hash diff --git a/buildroot-2022.02.1/package/libfuse/libfuse.mk b/buildroot-2022.02.1/package/libfuse/libfuse.mk new file mode 100644 index 00000000..72306093 --- /dev/null +++ b/buildroot-2022.02.1/package/libfuse/libfuse.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# libfuse +# +################################################################################ + +LIBFUSE_VERSION = 2.9.9 +LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz +LIBFUSE_SITE = https://github.com/libfuse/libfuse/releases/download/fuse-$(LIBFUSE_VERSION) +LIBFUSE_LICENSE = GPL-2.0, LGPL-2.1 +LIBFUSE_LICENSE_FILES = COPYING COPYING.LIB +LIBFUSE_CPE_ID_VENDOR = libfuse_project +LIBFUSE_INSTALL_STAGING = YES +# We're patching configure.ac +LIBFUSE_AUTORECONF = YES +# add host-gettext for AM_ICONV macro +LIBFUSE_DEPENDENCIES = \ + host-gettext \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBFUSE_CONF_OPTS = \ + --disable-example \ + --enable-lib \ + --enable-util \ + UDEV_RULES_PATH=/lib/udev/rules.d + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +define LIBFUSE_INSTALL_UDEV + mkdir -p $(TARGET_DIR)/lib/udev/rules.d + cp $(STAGING_DIR)/lib/udev/rules.d/*-fuse.rules $(TARGET_DIR)/lib/udev/rules.d +endef + +LIBFUSE_POST_INSTALL_TARGET_HOOKS += LIBFUSE_INSTALL_UDEV +endif + +define LIBFUSE_INSTALL_TARGET_CMDS + cp -dpf $(STAGING_DIR)/usr/bin/fusermount $(TARGET_DIR)/usr/bin/ + cp -dpf $(STAGING_DIR)/usr/lib/libfuse.so* $(TARGET_DIR)/usr/lib/ +endef + +define LIBFUSE_DEVICES + /dev/fuse c 666 0 0 10 229 0 0 - +endef + +define LIBFUSE_PERMISSIONS + /usr/bin/fusermount f 4755 0 0 - - - - - +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libfuse3/Config.in b/buildroot-2022.02.1/package/libfuse3/Config.in similarity index 100% rename from buildroot-2021.05/package/libfuse3/Config.in rename to buildroot-2022.02.1/package/libfuse3/Config.in diff --git a/buildroot-2022.02.1/package/libfuse3/libfuse3.hash b/buildroot-2022.02.1/package/libfuse3/libfuse3.hash new file mode 100644 index 00000000..cce2b111 --- /dev/null +++ b/buildroot-2022.02.1/package/libfuse3/libfuse3.hash @@ -0,0 +1,3 @@ +# Locally calculated sha256 checksums +sha256 e73f75e58da59a0e333d337c105093c496c0fd7356ef3a5a540f560697c9c4e6 libfuse3-3.10.5.tar.gz +sha256 b8832d9caaa075bbbd2aef24efa09f8b7ab66a832812d88c602da0c7b4397fad LICENSE diff --git a/buildroot-2022.02.1/package/libfuse3/libfuse3.mk b/buildroot-2022.02.1/package/libfuse3/libfuse3.mk new file mode 100644 index 00000000..1dbe918c --- /dev/null +++ b/buildroot-2022.02.1/package/libfuse3/libfuse3.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# libfuse3 +# +################################################################################ + +LIBFUSE3_VERSION = 3.10.5 +LIBFUSE3_SITE = $(call github,libfuse,libfuse,fuse-$(LIBFUSE3_VERSION)) +LIBFUSE3_LICENSE = LGPL-2.1 +LIBFUSE3_LICENSE_FILES = LICENSE +LIBFUSE3_CPE_ID_VENDOR = libfuse_project +LIBFUSE3_CPE_ID_PRODUCT = libfuse +LIBFUSE3_INSTALL_STAGING = YES +LIBFUSE3_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBFUSE3_CONF_OPTS = \ + -Dexamples=false \ + -Dudevrulesdir=/lib/udev/rules.d \ + -Duseroot=false \ + -Dtests=false + +define LIBFUSE3_DEVICES + /dev/fuse c 666 0 0 10 229 0 0 - +endef + +define LIBFUSE3_PERMISSIONS + /usr/bin/fusermount3 f 4755 0 0 - - - - - +endef + +define LIBFUSE3_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_FUSE_FS) +endef + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/libfutils/Config.in b/buildroot-2022.02.1/package/libfutils/Config.in new file mode 100644 index 00000000..7f795fc7 --- /dev/null +++ b/buildroot-2022.02.1/package/libfutils/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LIBFUTILS + bool "libfutils" + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_INSTALL_LIBSTDCPP # ulog + depends on BR2_TOOLCHAIN_HAS_THREADS # ulog + select BR2_PACKAGE_ULOG + help + This library contains some common useful functions (list, + hash, time) + + https://github.com/Parrot-Developers/libfutils + +comment "libfutils needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_ATOMIC diff --git a/buildroot-2022.02.1/package/libfutils/libfutils.hash b/buildroot-2022.02.1/package/libfutils/libfutils.hash new file mode 100644 index 00000000..1fdcd84b --- /dev/null +++ b/buildroot-2022.02.1/package/libfutils/libfutils.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 b38d40c46b83e448d8c1716ddfb04b7ecd384f5cd2cb773db5c26c0589accdb3 libfutils-c326ce0cc2a7354381265a7664bb215be587fac6.tar.gz +sha256 eca11a1c62fae8d64a1247d93271375baecff8396141d7ff8d89671ee7e3ed0d COPYING diff --git a/buildroot-2022.02.1/package/libfutils/libfutils.mk b/buildroot-2022.02.1/package/libfutils/libfutils.mk new file mode 100644 index 00000000..84b53cca --- /dev/null +++ b/buildroot-2022.02.1/package/libfutils/libfutils.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# libfutils +# +################################################################################ + +LIBFUTILS_VERSION = c326ce0cc2a7354381265a7664bb215be587fac6 +LIBFUTILS_SITE = $(call github,Parrot-Developers,libfutils,$(LIBFUTILS_VERSION)) +LIBFUTILS_LICENSE = BSD-3-Clause +LIBFUTILS_LICENSE_FILES = COPYING +LIBFUTILS_DEPENDENCIES = host-alchemy ulog +LIBFUTILS_INSTALL_STAGING = YES + +LIBFUTILS_TARGET_ENV = \ + $(ALCHEMY_TARGET_ENV) \ + ALCHEMY_TARGET_SDK_DIRS="$(ALCHEMY_SDK_BASEDIR)/ulog" + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +LIBFUTILS_TARGET_ENV += TARGET_GLOBAL_LDLIBS='-latomic' +endif + +define LIBFUTILS_BUILD_CMDS + $(LIBFUTILS_TARGET_ENV) $(ALCHEMY_MAKE) libfutils +endef + +ifeq ($(BR2_STATIC_LIBS),) +# $(1): destination directory: target or staging +define LIBFUTILS_INSTALL_SHARED_LIBS + mkdir -p $(1)/usr/lib/ + $(INSTALL) -m 644 $(@D)/alchemy-out/staging/usr/lib/libfutils.so* \ + $(1)/usr/lib/ +endef +endif + +ifeq ($(BR2_SHARED_LIBS),) +define LIBFUTILS_INSTALL_STATIC_LIBS + mkdir -p $(1)/usr/lib/ + $(INSTALL) -D -m 644 $(@D)/alchemy-out/staging/usr/lib/libfutils.a \ + $(STAGING_DIR)/usr/lib/libfutils.a +endef +endif + +define LIBFUTILS_INSTALL_TARGET_CMDS + $(call LIBFUTILS_INSTALL_SHARED_LIBS, $(TARGET_DIR)) +endef + +define LIBFUTILS_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/futils + $(INSTALL) -m 644 $(@D)/include/futils/* \ + $(STAGING_DIR)/usr/include/futils/ + $(LIBFUTILS_INSTALL_STATIC_LIBS) + $(call LIBFUTILS_INSTALL_SHARED_LIBS, $(STAGING_DIR)) + $(call ALCHEMY_INSTALL_LIB_SDK_FILE, libfutils, libfutils.so, libulog) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libg7221/Config.in b/buildroot-2022.02.1/package/libg7221/Config.in similarity index 100% rename from buildroot-2021.05/package/libg7221/Config.in rename to buildroot-2022.02.1/package/libg7221/Config.in diff --git a/buildroot-2021.05/package/libg7221/libg7221.hash b/buildroot-2022.02.1/package/libg7221/libg7221.hash similarity index 100% rename from buildroot-2021.05/package/libg7221/libg7221.hash rename to buildroot-2022.02.1/package/libg7221/libg7221.hash diff --git a/buildroot-2021.05/package/libg7221/libg7221.mk b/buildroot-2022.02.1/package/libg7221/libg7221.mk similarity index 100% rename from buildroot-2021.05/package/libg7221/libg7221.mk rename to buildroot-2022.02.1/package/libg7221/libg7221.mk diff --git a/buildroot-2022.02.1/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch b/buildroot-2022.02.1/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch new file mode 100644 index 00000000..4ef02fba --- /dev/null +++ b/buildroot-2022.02.1/package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch @@ -0,0 +1,66 @@ +From 7fe1b8a53cc8c865c2a10dcd8f6cb4e51ccc6300 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 29 Jul 2019 12:19:10 +0200 +Subject: [PATCH] configure.ac: add an option to disable tests + +Add an option to allow the user to disable tests, this can be useful for +example when the toolchain does not provide thread. Indeed, in this +case, libgcrypt fails to build t-lock: + +t-lock.c: In function 'run_test': +t-lock.c:359:3: error: unknown type name 'pthread_t' + pthread_t rthread; + +Fixes: + - http://autobuild.buildroot.org/results/50a8ba572e3fafd3c6a39bd54bcfcaf78b5ad325 + +Signed-off-by: Fabrice Fontaine +--- + Makefile.am | 7 ++++++- + configure.ac | 10 ++++++++++ + 2 files changed, 16 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 7fa4fa4d..f0bd90e4 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -40,9 +40,14 @@ else + doc = + endif + ++if BUILD_TESTS ++tests = tests ++else ++tests = ++endif + + DIST_SUBDIRS = m4 compat mpi cipher random src doc tests +-SUBDIRS = compat mpi cipher random src $(doc) tests ++SUBDIRS = compat mpi cipher random src $(doc) $(tests) + + EXTRA_DIST = autogen.sh autogen.rc README.GIT LICENSES \ + ChangeLog-2011 build-aux/ChangeLog-2011 doc/ChangeLog-2011 \ +diff --git a/configure.ac b/configure.ac +index e8c8cd39..1a6b61e5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3198,6 +3198,16 @@ AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], + AM_CONDITIONAL([BUILD_DOC], [test "x$build_doc" != xno]) + + ++# ++# Option to disable building of tests ++# ++build_tests=yes ++AC_ARG_ENABLE([tests], AC_HELP_STRING([--disable-tests], ++ [do not build tests]), ++ build_tests=$enableval, build_tests=yes) ++AM_CONDITIONAL([BUILD_TESTS], [test "x$build_tests" != xno]) ++ ++ + # + # Provide information about the build. + # +-- +2.20.1 + diff --git a/buildroot-2021.05/package/libgcrypt/Config.in b/buildroot-2022.02.1/package/libgcrypt/Config.in similarity index 100% rename from buildroot-2021.05/package/libgcrypt/Config.in rename to buildroot-2022.02.1/package/libgcrypt/Config.in diff --git a/buildroot-2022.02.1/package/libgcrypt/libgcrypt.hash b/buildroot-2022.02.1/package/libgcrypt/libgcrypt.hash new file mode 100644 index 00000000..23562d0e --- /dev/null +++ b/buildroot-2022.02.1/package/libgcrypt/libgcrypt.hash @@ -0,0 +1,7 @@ +# From https://www.gnupg.org/download/integrity_check.html +sha1 1bccc8393482fa1953323ff429c6b5ba5676eb1a libgcrypt-1.9.4.tar.bz2 +# Locally calculated after checking signature +# https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.9.4.tar.bz2.sig +# using key 6DAA6E64A76D2840571B4902528897B826403ADA +sha256 ea849c83a72454e3ed4267697e8ca03390aee972ab421e7df69dfe42b65caaf7 libgcrypt-1.9.4.tar.bz2 +sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LIB diff --git a/buildroot-2022.02.1/package/libgcrypt/libgcrypt.mk b/buildroot-2022.02.1/package/libgcrypt/libgcrypt.mk new file mode 100644 index 00000000..e5fdfcfc --- /dev/null +++ b/buildroot-2022.02.1/package/libgcrypt/libgcrypt.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# libgcrypt +# +################################################################################ + +LIBGCRYPT_VERSION = 1.9.4 +LIBGCRYPT_SOURCE = libgcrypt-$(LIBGCRYPT_VERSION).tar.bz2 +LIBGCRYPT_LICENSE = LGPL-2.1+ +LIBGCRYPT_LICENSE_FILES = COPYING.LIB +LIBGCRYPT_SITE = https://gnupg.org/ftp/gcrypt/libgcrypt +LIBGCRYPT_INSTALL_STAGING = YES +LIBGCRYPT_DEPENDENCIES = libgpg-error +LIBGCRYPT_CONFIG_SCRIPTS = libgcrypt-config +LIBGCRYPT_CPE_ID_VENDOR = gnupg + +# Patching configure.ac and Makefile.am in 0001 +LIBGCRYPT_AUTORECONF = YES +LIBGCRYPT_CONF_OPTS = \ + --disable-tests \ + --with-gpg-error-prefix=$(STAGING_DIR)/usr + +# Libgcrypt doesn't support assembly for coldfire +ifeq ($(BR2_m68k_cf),y) +LIBGCRYPT_CONF_OPTS += --disable-asm +endif + +# Code doesn't build in thumb mode +ifeq ($(BR2_arm),y) +LIBGCRYPT_CONF_ENV += CFLAGS="$(patsubst -mthumb,,$(TARGET_CFLAGS))" +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch b/buildroot-2022.02.1/package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch similarity index 100% rename from buildroot-2021.05/package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch rename to buildroot-2022.02.1/package/libgdiplus/0001-Build-unit-tests-only-when-enable-unit-tests-is-pass.patch diff --git a/buildroot-2021.05/package/libgdiplus/Config.in b/buildroot-2022.02.1/package/libgdiplus/Config.in similarity index 100% rename from buildroot-2021.05/package/libgdiplus/Config.in rename to buildroot-2022.02.1/package/libgdiplus/Config.in diff --git a/buildroot-2021.05/package/libgdiplus/libgdiplus.hash b/buildroot-2022.02.1/package/libgdiplus/libgdiplus.hash similarity index 100% rename from buildroot-2021.05/package/libgdiplus/libgdiplus.hash rename to buildroot-2022.02.1/package/libgdiplus/libgdiplus.hash diff --git a/buildroot-2022.02.1/package/libgdiplus/libgdiplus.mk b/buildroot-2022.02.1/package/libgdiplus/libgdiplus.mk new file mode 100644 index 00000000..97cb595c --- /dev/null +++ b/buildroot-2022.02.1/package/libgdiplus/libgdiplus.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# libgdiplus +# +################################################################################ + +LIBGDIPLUS_VERSION = 6.0.5 +LIBGDIPLUS_SITE = $(call github,mono,libgdiplus,$(LIBGDIPLUS_VERSION)) + +LIBGDIPLUS_LICENSE = MIT +LIBGDIPLUS_LICENSE_FILES = LICENSE +LIBGDIPLUS_CPE_ID_VENDOR = mono-project + +LIBGDIPLUS_INSTALL_STAGING = YES + +# github tarball doesn't have configure +LIBGDIPLUS_AUTORECONF = YES + +LIBGDIPLUS_DEPENDENCIES = xlib_libXft libglib2 cairo libpng host-pkgconf + +ifeq ($(BR2_PACKAGE_GIFLIB),y) +LIBGDIPLUS_CONF_OPTS += --with-libgif +LIBGDIPLUS_DEPENDENCIES += giflib +else +LIBGDIPLUS_CONF_OPTS += --without-libgif +endif + +# there is a bug in the configure script that enables pango support +# when passing --without-pango, so let's just not use it +ifeq ($(BR2_PACKAGE_PANGO),y) +LIBGDIPLUS_CONF_OPTS += --with-pango +LIBGDIPLUS_DEPENDENCIES += pango +endif + +ifeq ($(BR2_PACKAGE_LIBEXIF),y) +LIBGDIPLUS_CONF_OPTS += --with-libexif +LIBGDIPLUS_DEPENDENCIES += libexif +else +LIBGDIPLUS_CONF_OPTS += --without-libexif +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +LIBGDIPLUS_CONF_OPTS += --with-libjpeg=$(STAGING_DIR)/usr +LIBGDIPLUS_DEPENDENCIES += jpeg +else +LIBGDIPLUS_CONF_OPTS += --without-libjpeg +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +LIBGDIPLUS_CONF_OPTS += --with-libtiff=$(STAGING_DIR)/usr +LIBGDIPLUS_DEPENDENCIES += tiff +else +LIBGDIPLUS_CONF_OPTS += --without-libtiff +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libgee/Config.in b/buildroot-2022.02.1/package/libgee/Config.in new file mode 100644 index 00000000..cb33ec9e --- /dev/null +++ b/buildroot-2022.02.1/package/libgee/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_LIBGEE + bool "libgee" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + select BR2_PACKAGE_LIBGLIB2 + help + Libgee is an utility library providing GObject-based + interfaces and classes for commonly used data structures. + + https://wiki.gnome.org/Projects/Libgee + +comment "libgee needs a toolchain w/ wchar, threads, gcc >= 4.9" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/libgee/libgee.hash b/buildroot-2022.02.1/package/libgee/libgee.hash new file mode 100644 index 00000000..54a46f95 --- /dev/null +++ b/buildroot-2022.02.1/package/libgee/libgee.hash @@ -0,0 +1,5 @@ +# From http://ftp.acc.umu.se/pub/gnome/sources/libgee/0.20/libgee-0.20.5.sha256sum +sha256 31863a8957d5a727f9067495cabf0a0889fa5d3d44626e54094331188d5c1518 libgee-0.20.5.tar.xz + +# Hash for license file: +sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2022.02.1/package/libgee/libgee.mk b/buildroot-2022.02.1/package/libgee/libgee.mk new file mode 100644 index 00000000..7d8d3d48 --- /dev/null +++ b/buildroot-2022.02.1/package/libgee/libgee.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# libgee +# +################################################################################ + +LIBGEE_VERSION_MAJOR = 0.20 +LIBGEE_VERSION = $(LIBGEE_VERSION_MAJOR).5 +LIBGEE_SITE = http://ftp.gnome.org/pub/gnome/sources/libgee/$(LIBGEE_VERSION_MAJOR) +LIBGEE_SOURCE = libgee-$(LIBGEE_VERSION).tar.xz +LIBGEE_DEPENDENCIES = host-pkgconf host-vala libglib2 +LIBGEE_INSTALL_STAGING = YES +LIBGEE_LICENSE = LGPL-2.1+ +LIBGEE_LICENSE_FILES = COPYING +LIBGEE_CPE_ID_VENDOR = gnome + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBGEE_CONF_OPTS += --enable-introspection +LIBGEE_DEPENDENCIES += gobject-introspection +else +LIBGEE_CONF_OPTS += --disable-introspection +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libgeos/Config.in b/buildroot-2022.02.1/package/libgeos/Config.in new file mode 100644 index 00000000..8411627d --- /dev/null +++ b/buildroot-2022.02.1/package/libgeos/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_LIBGEOS + bool "libgeos" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + help + GEOS (Geometry Engine - Open Source) is a C++ port of the + JTS Topology Suite (JTS). It aims to contain the complete + functionality of JTS in C++. This includes all the OpenGIS + Simple Features for SQL spatial predicate functions and + spatial operators, as well as specific JTS enhanced functions. + + https://trac.osgeo.org/geos + +comment "libgeos needs a toolchain w/ C++, wchar, threads not binutils bug 27597" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 diff --git a/buildroot-2022.02.1/package/libgeos/libgeos.hash b/buildroot-2022.02.1/package/libgeos/libgeos.hash new file mode 100644 index 00000000..f93badba --- /dev/null +++ b/buildroot-2022.02.1/package/libgeos/libgeos.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 50bbc599ac386b4c2b3962dcc411f0040a61f204aaef4eba7225ecdd0cf45715 geos-3.10.2.tar.bz2 +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/libgeos/libgeos.mk b/buildroot-2022.02.1/package/libgeos/libgeos.mk new file mode 100644 index 00000000..197def12 --- /dev/null +++ b/buildroot-2022.02.1/package/libgeos/libgeos.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# libgeos +# +################################################################################ + +LIBGEOS_VERSION = 3.10.2 +LIBGEOS_SITE = http://download.osgeo.org/geos +LIBGEOS_SOURCE = geos-$(LIBGEOS_VERSION).tar.bz2 +LIBGEOS_LICENSE = LGPL-2.1 +LIBGEOS_LICENSE_FILES = COPYING +LIBGEOS_INSTALL_STAGING = YES +LIBGEOS_CONFIG_SCRIPTS = geos-config +LIBGEOS_CONF_OPTS = -DBUILD_BENCHMARKS=OFF + +LIBGEOS_CXXFLAGS = $(TARGET_CXXCFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) +LIBGEOS_CXXFLAGS += -O0 +endif + +ifeq ($(BR2_arm)$(BR2_armeb),y) +LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON +endif + +ifeq ($(BR2_or1k),y) +LIBGEOS_CXXFLAGS += -mcmodel=large +endif + +LIBGEOS_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(LIBGEOS_CXXFLAGS)" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libgeotiff/Config.in b/buildroot-2022.02.1/package/libgeotiff/Config.in similarity index 100% rename from buildroot-2021.05/package/libgeotiff/Config.in rename to buildroot-2022.02.1/package/libgeotiff/Config.in diff --git a/buildroot-2022.02.1/package/libgeotiff/libgeotiff.hash b/buildroot-2022.02.1/package/libgeotiff/libgeotiff.hash new file mode 100644 index 00000000..ec9fccb4 --- /dev/null +++ b/buildroot-2022.02.1/package/libgeotiff/libgeotiff.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 fc304d8839ca5947cfbeb63adb9d1aa47acef38fc6d6689e622926e672a99a7e libgeotiff-1.7.0.tar.gz +sha256 6a22340b8293c50a34ce8e95589489bd3ec65bcb8b93e61cbda3daaafe498375 LICENSE diff --git a/buildroot-2022.02.1/package/libgeotiff/libgeotiff.mk b/buildroot-2022.02.1/package/libgeotiff/libgeotiff.mk new file mode 100644 index 00000000..c4952856 --- /dev/null +++ b/buildroot-2022.02.1/package/libgeotiff/libgeotiff.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# libgeotiff +# +################################################################################ + +LIBGEOTIFF_VERSION = 1.7.0 +LIBGEOTIFF_SITE = http://download.osgeo.org/geotiff/libgeotiff +LIBGEOTIFF_LICENSE = X11-style, public domain +LIBGEOTIFF_LICENSE_FILES = LICENSE +LIBGEOTIFF_DEPENDENCIES = proj tiff host-pkgconf +LIBGEOTIFF_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBGEOTIFF_DEPENDENCIES += zlib +LIBGEOTIFF_CONF_OPTS += --with-zlib +else +LIBGEOTIFF_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +LIBGEOTIFF_DEPENDENCIES += jpeg +LIBGEOTIFF_CONF_OPTS += --with-jpeg +else +LIBGEOTIFF_CONF_OPTS += --without-jpeg +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgit2/Config.in b/buildroot-2022.02.1/package/libgit2/Config.in similarity index 100% rename from buildroot-2021.05/package/libgit2/Config.in rename to buildroot-2022.02.1/package/libgit2/Config.in diff --git a/buildroot-2022.02.1/package/libgit2/libgit2.hash b/buildroot-2022.02.1/package/libgit2/libgit2.hash new file mode 100644 index 00000000..07b1a260 --- /dev/null +++ b/buildroot-2022.02.1/package/libgit2/libgit2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 192eeff84596ff09efb6b01835a066f2df7cd7985e0991c79595688e6b36444e libgit2-1.3.0.tar.gz +sha256 8b7e4f54f8bf210c8fe010a49571a1ee57463ef020cc43f051d4d3fbb74942af COPYING diff --git a/buildroot-2022.02.1/package/libgit2/libgit2.mk b/buildroot-2022.02.1/package/libgit2/libgit2.mk new file mode 100644 index 00000000..6cc0f1ea --- /dev/null +++ b/buildroot-2022.02.1/package/libgit2/libgit2.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# libgit2 +# +################################################################################ + +LIBGIT2_VERSION = 1.3.0 +LIBGIT2_SITE = $(call github,libgit2,libgit2,v$(LIBGIT2_VERSION)) +LIBGIT2_LICENSE = GPL-2.0 with linking exception, MIT (sha1), wildmatch license (wildmatch) +LIBGIT2_LICENSE_FILES = COPYING +LIBGIT2_CPE_ID_VENDOR = libgit2_project +LIBGIT2_INSTALL_STAGING = YES + +LIBGIT2_CONF_OPTS = \ + -DUSE_GSSAPI=OFF \ + -DBUILD_CLAR=OFF \ + -DUSE_ICONV=ON \ + -DREGEX_BACKEND=regcomp \ + -DUSE_HTTP_PARSER=system \ + -DUSE_NTLMCLIENT=OFF \ + -DTHREADSAFE=$(if $(BR2_TOOLCHAIN_HAS_THREADS),ON,OFF) + +LIBGIT2_DEPENDENCIES = zlib libhttpparser + +# If libiconv is available (for !locale toolchains), then we can use +# it for iconv support. Note that USE_ICONV=ON is still correct even +# without libiconv because (1) most toolchain have iconv support +# without libiconv and (2) even if USE_ICONV=ON but iconv support is +# not available, libgit2 simply avoids using iconv. +ifeq ($(BR2_PACKAGE_LIBICONV),y) +LIBGIT2_DEPENDENCIES += libiconv +endif + +ifeq ($(BR2_PACKAGE_LIBSSH2),y) +LIBGIT2_DEPENDENCIES += libssh2 +LIBGIT2_CONF_OPTS += -DUSE_SSH=ON +else +LIBGIT2_CONF_OPTS += -DUSE_SSH=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBGIT2_DEPENDENCIES += openssl +LIBGIT2_CONF_OPTS += -DUSE_HTTPS=OpenSSL +else +LIBGIT2_CONF_OPTS += -DUSE_HTTPS=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libglade/Config.in b/buildroot-2022.02.1/package/libglade/Config.in similarity index 100% rename from buildroot-2021.05/package/libglade/Config.in rename to buildroot-2022.02.1/package/libglade/Config.in diff --git a/buildroot-2021.05/package/libglade/libglade.hash b/buildroot-2022.02.1/package/libglade/libglade.hash similarity index 100% rename from buildroot-2021.05/package/libglade/libglade.hash rename to buildroot-2022.02.1/package/libglade/libglade.hash diff --git a/buildroot-2021.05/package/libglade/libglade.mk b/buildroot-2022.02.1/package/libglade/libglade.mk similarity index 100% rename from buildroot-2021.05/package/libglade/libglade.mk rename to buildroot-2022.02.1/package/libglade/libglade.mk diff --git a/buildroot-2021.05/package/libglew/Config.in b/buildroot-2022.02.1/package/libglew/Config.in similarity index 100% rename from buildroot-2021.05/package/libglew/Config.in rename to buildroot-2022.02.1/package/libglew/Config.in diff --git a/buildroot-2021.05/package/libglew/libglew.hash b/buildroot-2022.02.1/package/libglew/libglew.hash similarity index 100% rename from buildroot-2021.05/package/libglew/libglew.hash rename to buildroot-2022.02.1/package/libglew/libglew.hash diff --git a/buildroot-2021.05/package/libglew/libglew.mk b/buildroot-2022.02.1/package/libglew/libglew.mk similarity index 100% rename from buildroot-2021.05/package/libglew/libglew.mk rename to buildroot-2022.02.1/package/libglew/libglew.mk diff --git a/buildroot-2022.02.1/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch b/buildroot-2022.02.1/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch new file mode 100644 index 00000000..d5ee7c82 --- /dev/null +++ b/buildroot-2022.02.1/package/libglfw/0001-Wayland-Remove-extra-cmake-modules-dependency.patch @@ -0,0 +1,121 @@ +From 2747e47393cbca2d09db56223e735bd94b21e2eb Mon Sep 17 00:00:00 2001 +From: Joel Winarske +Date: Mon, 28 Sep 2020 22:23:02 -0700 +Subject: [PATCH] Wayland: Remove extra-cmake-modules dependency + +Fixes #1774. + +[Retrieved (and backported) from: +https://github.com/glfw/glfw/commit/2747e47393cbca2d09db56223e735bd94b21e2eb] +Signed-off-by: Fabrice Fontaine +--- + .gitignore | 4 --- + CMakeLists.txt | 16 ++++++------ + src/CMakeLists.txt | 62 ++++++++++++++++++++++++++++------------------ + 3 files changed, 45 insertions(+), 37 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 42bfa1806d..394827520b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -191,20 +191,18 @@ endif() + # Use Wayland for window creation + #-------------------------------------------------------------------- + if (_GLFW_WAYLAND) +- find_package(ECM REQUIRED NO_MODULE) +- list(APPEND CMAKE_MODULE_PATH "${ECM_MODULE_PATH}") + +- find_package(Wayland REQUIRED Client Cursor Egl) +- find_package(WaylandScanner REQUIRED) +- find_package(WaylandProtocols 1.15 REQUIRED) ++ include(FindPkgConfig) ++ pkg_check_modules(Wayland REQUIRED ++ wayland-client>=0.2.7 ++ wayland-cursor>=0.2.7 ++ wayland-egl>=0.2.7 ++ xkbcommon) + + list(APPEND glfw_PKG_DEPS "wayland-client") + + list(APPEND glfw_INCLUDE_DIRS "${Wayland_INCLUDE_DIRS}") +- list(APPEND glfw_LIBRARIES "${Wayland_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}") +- +- find_package(XKBCommon REQUIRED) +- list(APPEND glfw_INCLUDE_DIRS "${XKBCOMMON_INCLUDE_DIRS}") ++ list(APPEND glfw_LIBRARIES "${Wayland_LINK_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}") + + include(CheckIncludeFiles) + include(CheckFunctionExists) +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 2f2bdd883d..e834506c6c 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -45,30 +45,44 @@ if (_GLFW_X11 OR _GLFW_WAYLAND) + posix_time.c posix_thread.c xkb_unicode.c + egl_context.c osmesa_context.c) + +- ecm_add_wayland_client_protocol(glfw_SOURCES +- PROTOCOL +- "${WAYLAND_PROTOCOLS_PKGDATADIR}/stable/xdg-shell/xdg-shell.xml" +- BASENAME xdg-shell) +- ecm_add_wayland_client_protocol(glfw_SOURCES +- PROTOCOL +- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml" +- BASENAME xdg-decoration) +- ecm_add_wayland_client_protocol(glfw_SOURCES +- PROTOCOL +- "${WAYLAND_PROTOCOLS_PKGDATADIR}/stable/viewporter/viewporter.xml" +- BASENAME viewporter) +- ecm_add_wayland_client_protocol(glfw_SOURCES +- PROTOCOL +- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/relative-pointer/relative-pointer-unstable-v1.xml" +- BASENAME relative-pointer-unstable-v1) +- ecm_add_wayland_client_protocol(glfw_SOURCES +- PROTOCOL +- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml" +- BASENAME pointer-constraints-unstable-v1) +- ecm_add_wayland_client_protocol(glfw_SOURCES +- PROTOCOL +- "${WAYLAND_PROTOCOLS_PKGDATADIR}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml" +- BASENAME idle-inhibit-unstable-v1) ++ find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner) ++ pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols>=1.15) ++ pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir) ++ ++ macro(wayland_generate protocol_file output_file) ++ add_custom_command(OUTPUT ${output_file}.h ++ COMMAND ${WAYLAND_SCANNER_EXECUTABLE} client-header ++ < ${protocol_file} > ${output_file}.h ++ DEPENDS ${protocol_file}) ++ list(APPEND glfw_SOURCES ${output_file}.h) ++ ++ add_custom_command(OUTPUT ${output_file}.c ++ COMMAND ${WAYLAND_SCANNER_EXECUTABLE} private-code ++ < ${protocol_file} > ${output_file}.c ++ DEPENDS ${protocol_file}) ++ list(APPEND glfw_SOURCES ${output_file}.c) ++ endmacro() ++ ++ set(GLFW_WAYLAND_PROTOCOL_SOURCES) ++ wayland_generate( ++ ${WAYLAND_PROTOCOLS_BASE}/stable/xdg-shell/xdg-shell.xml ++ ${CMAKE_BINARY_DIR}/src/wayland-xdg-shell-client-protocol) ++ wayland_generate( ++ ${WAYLAND_PROTOCOLS_BASE}/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml ++ ${CMAKE_BINARY_DIR}/src/wayland-xdg-decoration-client-protocol) ++ wayland_generate( ++ ${WAYLAND_PROTOCOLS_BASE}/stable/viewporter/viewporter.xml ++ ${CMAKE_BINARY_DIR}/src/wayland-viewporter-client-protocol) ++ wayland_generate( ++ ${WAYLAND_PROTOCOLS_BASE}/unstable/relative-pointer/relative-pointer-unstable-v1.xml ++ ${CMAKE_BINARY_DIR}/src/wayland-relative-pointer-unstable-v1-client-protocol) ++ wayland_generate( ++ ${WAYLAND_PROTOCOLS_BASE}/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml ++ ${CMAKE_BINARY_DIR}/src/wayland-pointer-constraints-unstable-v1-client-protocol) ++ wayland_generate( ++ ${WAYLAND_PROTOCOLS_BASE}/unstable/idle-inhibit/idle-inhibit-unstable-v1.xml ++ ${CMAKE_BINARY_DIR}/src/wayland-idle-inhibit-unstable-v1-client-protocol) ++ + elseif (_GLFW_OSMESA) + set(glfw_HEADERS ${common_HEADERS} null_platform.h null_joystick.h + posix_time.h posix_thread.h osmesa_context.h) diff --git a/buildroot-2022.02.1/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch b/buildroot-2022.02.1/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch new file mode 100644 index 00000000..4bcb5e4e --- /dev/null +++ b/buildroot-2022.02.1/package/libglfw/0002-src-CMakeLists.txt-allow-override-of-wayland-pkgdata.patch @@ -0,0 +1,32 @@ +From 46aaf2b2b4d3ec240b9aad175bb3eddb6ae11ead Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 4 Mar 2022 17:59:19 +0100 +Subject: [PATCH] src/CMakeLists.txt: allow override of wayland pkgdatadir + +Allow the user to override WAYLAND_{PROTOCOLS_BASE,CLIENT_PKGDATADIR} +(needed when cross-compiling) + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/glfw/glfw/pull/2053] +--- + src/CMakeLists.txt | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 01f191c9..475ce882 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -75,7 +75,9 @@ if (GLFW_BUILD_WAYLAND) + include(FindPkgConfig) + find_program(WAYLAND_SCANNER_EXECUTABLE NAMES wayland-scanner) + pkg_check_modules(WAYLAND_PROTOCOLS REQUIRED wayland-protocols>=1.15) +- pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir) ++ if (NOT WAYLAND_PROTOCOLS_BASE) ++ pkg_get_variable(WAYLAND_PROTOCOLS_BASE wayland-protocols pkgdatadir) ++ endif() + + macro(wayland_generate protocol_file output_file) + add_custom_command(OUTPUT "${output_file}.h" +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/libglfw/Config.in b/buildroot-2022.02.1/package/libglfw/Config.in new file mode 100644 index 00000000..e5e96036 --- /dev/null +++ b/buildroot-2022.02.1/package/libglfw/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_LIBGLFW + bool "libglfw" + depends on BR2_PACKAGE_XORG7 || BR2_PACKAGE_WAYLAND + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES + select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXINERAMA if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7 + help + GLFW is an Open Source, multi-platform library for creating + windows with OpenGL contexts and receiving input and events. + + http://www.glfw.org + +comment "libglfw depends on X.org or Wayland and an OpenGL or GLES backend" + depends on !(BR2_PACKAGE_XORG7 || BR2_PACKAGE_WAYLAND) + depends on !(BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES) diff --git a/buildroot-2022.02.1/package/libglfw/libglfw.hash b/buildroot-2022.02.1/package/libglfw/libglfw.hash new file mode 100644 index 00000000..5bffc55d --- /dev/null +++ b/buildroot-2022.02.1/package/libglfw/libglfw.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 ed07b90e334dcd39903e6288d90fa1ae0cf2d2119fec516cf743a0a404527c02 libglfw-3.3.6.tar.gz +sha256 149704059b5d0bf551637e50042dd4de9c2cae921021f6636298911e3a5f9462 LICENSE.md diff --git a/buildroot-2022.02.1/package/libglfw/libglfw.mk b/buildroot-2022.02.1/package/libglfw/libglfw.mk new file mode 100644 index 00000000..0a3986f6 --- /dev/null +++ b/buildroot-2022.02.1/package/libglfw/libglfw.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# libglfw +# +################################################################################ + +LIBGLFW_VERSION = 3.3.6 +LIBGLFW_SITE = $(call github,glfw,glfw,$(LIBGLFW_VERSION)) +LIBGLFW_INSTALL_STAGING = YES +LIBGLFW_LICENSE = Zlib +LIBGLFW_LICENSE_FILES = LICENSE.md + +LIBGLFW_CONF_OPTS += \ + -DGLFW_BUILD_EXAMPLES=OFF \ + -DGLFW_BUILD_TESTS=OFF \ + -DGLFW_BUILD_DOCS=OFF + +ifeq ($(BR2_PACKAGE_XORG7),y) +LIBGLFW_DEPENDENCIES += xlib_libXcursor xlib_libXext \ + xlib_libXi xlib_libXinerama xlib_libXrandr +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +LIBGLFW_DEPENDENCIES += libgl +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +LIBGLFW_DEPENDENCIES += libgles +endif + +ifeq ($(BR2_PACKAGE_WAYLAND),y) +LIBGLFW_DEPENDENCIES += libxkbcommon wayland-protocols +# Override pkg-config pkgdatadir variable, it needs the prefix +LIBGLFW_CONF_OPTS += \ + -DGLFW_USE_WAYLAND=1 \ + -DWAYLAND_PROTOCOLS_BASE=$(STAGING_DIR)/usr/share/wayland-protocols +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) +LIBGLFW_DEPENDENCIES += xlib_libXxf86vm +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/libglib2/0001-fix-compile-time-atomic-detection.patch b/buildroot-2022.02.1/package/libglib2/0001-fix-compile-time-atomic-detection.patch new file mode 100644 index 00000000..aae505f8 --- /dev/null +++ b/buildroot-2022.02.1/package/libglib2/0001-fix-compile-time-atomic-detection.patch @@ -0,0 +1,34 @@ +From d5c628a6179b99705fa05ab87437321b132c81bc Mon Sep 17 00:00:00 2001 +From: Brendan Heading +Date: Wed, 21 Jun 2017 16:36:15 -0400 +Subject: [PATCH] Fix compile time atomic detection + +Improved compile-time detection of atomic support in the compiler. + +Upstream-Status: 'Needs information' +See : https://gitlab.gnome.org/GNOME/glib/issues/1063 + +Signed-off-by: Brendan Heading +Signed-off-by: Adam Duskett +Refresh for 2.68.1 +--- + glib/gthread-posix.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/glib/gthread-posix.c b/glib/gthread-posix.c +index 71a6b7b..d09d029 100644 +--- a/glib/gthread-posix.c ++++ b/glib/gthread-posix.c +@@ -72,8 +72,7 @@ + #include + #endif + +-#if defined(HAVE_FUTEX) && \ +- (defined(HAVE_STDATOMIC_H) || defined(__ATOMIC_SEQ_CST)) ++#if defined(HAVE_FUTEX) && defined(__ATOMIC_SEQ_CST) && defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) && !defined(__clang__) + #define USE_NATIVE_MUTEX + #endif + +-- +2.9.4 + diff --git a/buildroot-2022.02.1/package/libglib2/0002-remove-cpp-requirement.patch b/buildroot-2022.02.1/package/libglib2/0002-remove-cpp-requirement.patch new file mode 100644 index 00000000..b5603c92 --- /dev/null +++ b/buildroot-2022.02.1/package/libglib2/0002-remove-cpp-requirement.patch @@ -0,0 +1,96 @@ +From 2f168951df1feebeac549ada1ea44ea092484c54 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 16 Sep 2019 10:12:38 -0700 +Subject: [PATCH] remove cpp requirement + +The c++ test is necessary to ensure libglib doesn't accidentally use C++ +reserved keywords in public headers. Because this is just a test, it isn't +necessary to have a C++ compiler to build libglib2. + +Signed-off-by: Adam Duskett +Upstream status: Denied (Buildroot specific) +https://gitlab.gnome.org/GNOME/glib/issues/1748 +--- + glib/glibconfig.h.in | 1 - + meson.build | 18 +----------------- + tests/meson.build | 5 ----- + 3 files changed, 1 insertion(+), 23 deletions(-) + +diff --git a/glib/glibconfig.h.in b/glib/glibconfig.h.in +index 7ef8c48..128e65d 100644 +--- a/glib/glibconfig.h.in ++++ b/glib/glibconfig.h.in +@@ -117,7 +117,6 @@ typedef unsigned @glib_intptr_type_define@ guintptr; + @glib_vacopy@ + + @g_have_iso_c_varargs@ +-@g_have_iso_cxx_varargs@ + + /* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi + * is passed ISO vararg support is turned off, and there is no work +diff --git a/meson.build b/meson.build +index 4bbf4c2..ac59f4e 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,4 +1,4 @@ +-project('glib', 'c', 'cpp', ++project('glib', 'c', + version : '2.70.4', + # NOTE: We keep this pinned at 0.49 because that's what Debian 10 ships + meson_version : '>= 0.49.2', +@@ -10,7 +10,6 @@ project('glib', 'c', 'cpp', + ) + + cc = meson.get_compiler('c') +-cxx = meson.get_compiler('cpp') + + cc_can_run = not meson.is_cross_build() or meson.has_exe_wrapper() + +@@ -1696,20 +1695,6 @@ if g_have_iso_c_varargs + #endif''') + endif + +-g_have_iso_cxx_varargs = cxx.compiles(''' +- void some_func (void) { +- int a(int p1, int p2, int p3); +- #define call_a(...) a(1,__VA_ARGS__) +- call_a(2,3); +- }''', name : 'ISO C99 varargs macros in C++') +- +-if g_have_iso_cxx_varargs +- glibconfig_conf.set('g_have_iso_cxx_varargs', ''' +-#ifdef __cplusplus +-# define G_HAVE_ISO_VARARGS 1 +-#endif''') +-endif +- + g_have_gnuc_varargs = cc.compiles(''' + void some_func (void) { + int a(int p1, int p2, int p3); +@@ -2339,7 +2324,6 @@ subdir('gobject') + subdir('gthread') + subdir('gmodule') + subdir('gio') +-subdir('fuzzing') + if build_tests + subdir('tests') + endif +diff --git a/tests/meson.build b/tests/meson.build +index e4ea226..7fd974c 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -55,11 +55,6 @@ tests = { + 'source': 'module-test.c', + 'c_args': ['-DMODULE_TYPE="plugin"'], + }, +- 'cxx-test' : { +- 'source' : 'cxx-test.cpp', +- 'include_directories' : gmoduleinc, +- 'dependencies' : [libgio_dep], +- }, + } + + test_extra_programs = { +-- +2.23.0 + diff --git a/buildroot-2022.02.1/package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch b/buildroot-2022.02.1/package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch new file mode 100644 index 00000000..e2123930 --- /dev/null +++ b/buildroot-2022.02.1/package/libglib2/0003-Add-Wno-format-nonliteral-to-compiler-arguments.patch @@ -0,0 +1,29 @@ +From 9e0f11a4981737f98bac93a22b6f2ff1a3887b63 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 9 Apr 2019 13:03:51 -0400 +Subject: [PATCH] Add '-Wno-format-nonliteral' to compiler arguments. + +This warning is a false positive on older versions of gcc. +See https://gitlab.gnome.org/GNOME/glib/issues/1744 for more details. + +Signed-off-by: Adam Duskett +Refresh for 2.68.1 +--- + meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/meson.build b/meson.build +index 3c615b7..7cae4e8 100644 +--- a/meson.build ++++ b/meson.build +@@ -435,6 +435,7 @@ if cc.get_id() == 'gcc' or cc.get_id() == 'clang' + # building with -Wbad-function-cast. + '-Wno-bad-function-cast', + '-Wno-cast-function-type', ++ '-Wno-format-nonliteral', + # Due to function casts through (void*) we cannot support -Wpedantic: + # https://wiki.gnome.org/Projects/GLib/CompilerRequirements#Function_pointer_conversions. + '-Wno-pedantic', +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/libglib2/0004-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch b/buildroot-2022.02.1/package/libglib2/0004-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch new file mode 100644 index 00000000..db77a732 --- /dev/null +++ b/buildroot-2022.02.1/package/libglib2/0004-meson.build-add-girdir-to-gio-2.0.pc-and-glib-2.0.pc.patch @@ -0,0 +1,48 @@ +From ff3db531608eb0f9de8a88c1bc34fe0f1d93121c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 12 Nov 2021 18:01:05 +0100 +Subject: [PATCH] meson.build: add girdir to gio-2.0.pc and glib-2.0.pc + +Add girdir to gio-2.0.pc and glib-2.0.pc to fix the following build +failure with atk or libnice: + +/home/giuliobenetti/autobuild/run/instance-1/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/bin/g-ir-compiler atk/Atk-1.0.gir --output atk/Atk-1.0.typelib --includedir=/usr/share/gir-1.0 +Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use --includedir + +Fixes: + - http://autobuild.buildroot.org/results/2716929db638977e6bf665352a08bd580e1dd0ae + - http://autobuild.buildroot.org/results/3088ef32b03e0bb984291b1227b187f1ff816eb7 + +Signed-off-by: Fabrice Fontaine +--- + gio/meson.build | 1 + + glib/meson.build | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/gio/meson.build b/gio/meson.build +index 29473d26b..112d4ada9 100644 +--- a/gio/meson.build ++++ b/gio/meson.build +@@ -841,6 +841,7 @@ pkg.generate(libgio, + variables : ['datadir=' + join_paths('${prefix}', get_option('datadir')), + 'schemasdir=' + join_paths('${datadir}', schemas_subdir), + 'bindir=' + join_paths('${prefix}', get_option('bindir')), ++ 'girdir=' + join_paths('${libdir}', '../share/gir-1.0'), + 'giomoduledir=' + pkgconfig_giomodulesdir, + 'gio=' + join_paths('${bindir}', 'gio'), + 'gio_querymodules=' + join_paths('${bindir}', 'gio-querymodules'), +diff --git a/glib/meson.build b/glib/meson.build +index f78f32969..6c5486699 100644 +--- a/glib/meson.build ++++ b/glib/meson.build +@@ -384,6 +384,7 @@ pkg.generate(libglib, + subdirs : ['glib-2.0'], + extra_cflags : ['-I${libdir}/glib-2.0/include'] + win32_cflags, + variables : ['bindir=' + join_paths('${prefix}', get_option('bindir')), ++ 'girdir=' + join_paths('${libdir}', '../share/gir-1.0'), + 'glib_genmarshal=' + join_paths('${bindir}', 'glib-genmarshal'), + 'gobject_query=' + join_paths('${bindir}', 'gobject-query'), + 'glib_mkenums=' + join_paths('${bindir}', 'glib-mkenums')], +-- +2.33.0 + diff --git a/buildroot-2021.05/package/libglib2/Config.in b/buildroot-2022.02.1/package/libglib2/Config.in similarity index 100% rename from buildroot-2021.05/package/libglib2/Config.in rename to buildroot-2022.02.1/package/libglib2/Config.in diff --git a/buildroot-2022.02.1/package/libglib2/libglib2.hash b/buildroot-2022.02.1/package/libglib2/libglib2.hash new file mode 100644 index 00000000..f0f0cb55 --- /dev/null +++ b/buildroot-2022.02.1/package/libglib2/libglib2.hash @@ -0,0 +1,4 @@ +# https://download.gnome.org/sources/glib/2.70/glib-2.70.4.sha256sum +sha256 ab3d176f3115dcc4e5d02db795984e04e4f4b48d836252e23e8c468e9d423c33 glib-2.70.4.tar.xz +# License files, locally calculated +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/libglib2/libglib2.mk b/buildroot-2022.02.1/package/libglib2/libglib2.mk new file mode 100644 index 00000000..18f5b329 --- /dev/null +++ b/buildroot-2022.02.1/package/libglib2/libglib2.mk @@ -0,0 +1,146 @@ +################################################################################ +# +# libglib2 +# +################################################################################ + +LIBGLIB2_VERSION_MAJOR = 2.70 +LIBGLIB2_VERSION = $(LIBGLIB2_VERSION_MAJOR).4 +LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz +LIBGLIB2_SITE = http://ftp.gnome.org/pub/gnome/sources/glib/$(LIBGLIB2_VERSION_MAJOR) +LIBGLIB2_LICENSE = LGPL-2.1+ +LIBGLIB2_LICENSE_FILES = COPYING +LIBGLIB2_CPE_ID_VENDOR = gnome +LIBGLIB2_CPE_ID_PRODUCT = glib +LIBGLIB2_INSTALL_STAGING = YES + +LIBGLIB2_CFLAGS = $(TARGET_CFLAGS) +LIBGLIB2_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +# glib/valgrind.h contains inline asm not compatible with thumb1 +ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) +LIBGLIB2_CFLAGS += -marm +endif + +HOST_LIBGLIB2_CONF_OPTS = \ + -Ddtrace=false \ + -Dfam=false \ + -Dglib_debug=disabled \ + -Dlibelf=disabled \ + -Dselinux=disabled \ + -Dsystemtap=false \ + -Dxattr=false \ + -Dtests=false \ + -Doss_fuzz=disabled + +LIBGLIB2_DEPENDENCIES = \ + host-pkgconf host-libglib2 \ + libffi pcre zlib $(TARGET_NLS_DEPENDENCIES) + +HOST_LIBGLIB2_DEPENDENCIES = \ + host-gettext \ + host-libffi \ + host-pcre \ + host-pkgconf \ + host-util-linux \ + host-zlib + +# We explicitly specify a giomodule-dir to avoid having a value +# containing ${libdir} in gio-2.0.pc. Indeed, a value depending on +# ${libdir} would be prefixed by the sysroot by pkg-config, causing a +# bogus installation path once combined with $(DESTDIR). +LIBGLIB2_CONF_OPTS = \ + -Dglib_debug=disabled \ + -Dlibelf=disabled \ + -Dgio_module_dir=/usr/lib/gio/modules \ + -Dtests=false \ + -Doss_fuzz=disabled + +LIBGLIB2_MESON_EXTRA_PROPERTIES = \ + have_c99_vsnprintf=true \ + have_c99_snprintf=true \ + have_unix98_printf=true + +ifneq ($(BR2_ENABLE_LOCALE),y) +LIBGLIB2_DEPENDENCIES += libiconv +endif + +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +LIBGLIB2_DEPENDENCIES += elfutils +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +LIBGLIB2_CONF_OPTS += -Diconv=external +LIBGLIB2_DEPENDENCIES += libiconv +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +LIBGLIB2_CONF_OPTS += -Dselinux=enabled -Dxattr=true +LIBGLIB2_DEPENDENCIES += libselinux +else +LIBGLIB2_CONF_OPTS += -Dselinux=disabled -Dxattr=false +endif + +# Purge gdb-related files +ifneq ($(BR2_PACKAGE_GDB),y) +define LIBGLIB2_REMOVE_GDB_FILES + rm -rf $(TARGET_DIR)/usr/share/glib-2.0/gdb +endef +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y) +LIBGLIB2_CONF_OPTS += -Dlibmount=enabled +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBS),y) +LIBGLIB2_DEPENDENCIES += util-linux-libs +else +LIBGLIB2_DEPENDENCIES += util-linux +endif +else +LIBGLIB2_CONF_OPTS += -Dlibmount=disabled +endif + +# Purge useless binaries from target +define LIBGLIB2_REMOVE_DEV_FILES + rm -rf $(TARGET_DIR)/usr/lib/glib-2.0 + rm -rf $(addprefix $(TARGET_DIR)/usr/share/glib-2.0/,codegen gettext) + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,gdbus-codegen glib-compile-schemas glib-compile-resources glib-genmarshal glib-gettextize glib-mkenums gobject-query gtester gtester-report) + $(LIBGLIB2_REMOVE_GDB_FILES) +endef + +LIBGLIB2_POST_INSTALL_TARGET_HOOKS += LIBGLIB2_REMOVE_DEV_FILES + +# Newer versions of libglib2 prefix glib-genmarshal, gobject-query, +# glib-mkenums, glib_compile_schemas, glib_compile_resources and gdbus-codegen +# with ${bindir}. Unfortunately, this will resolve to the host systems /bin/ +# directory, which will cause compilation issues if the host does not have these +# programs. By removing the ${bindir}/ prefix, these programs are resolved in +# PATH instead. +define LIBGLIB2_REMOVE_BINDIR_PREFIX_FROM_PC_FILE + $(SED) 's%$${bindir}/%%g' $(addprefix $(STAGING_DIR)/usr/lib/pkgconfig/, glib-2.0.pc gio-2.0.pc) +endef +LIBGLIB2_POST_INSTALL_TARGET_HOOKS += LIBGLIB2_REMOVE_BINDIR_PREFIX_FROM_PC_FILE + +# Remove schema sources/DTDs, we use staging ones to compile them. +# Do so at target finalization since other packages install additional +# ones and we want to deal with it in a single place. +define LIBGLIB2_REMOVE_TARGET_SCHEMAS + rm -f $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.xml \ + $(TARGET_DIR)/usr/share/glib-2.0/schemas/*.dtd +endef + +# Compile schemas at target finalization since other packages install +# them as well, and better do it in a central place. +# It's used at run time so it doesn't matter defering it. +define LIBGLIB2_COMPILE_SCHEMAS + $(HOST_DIR)/bin/glib-compile-schemas \ + $(STAGING_DIR)/usr/share/glib-2.0/schemas \ + --targetdir=$(TARGET_DIR)/usr/share/glib-2.0/schemas +endef + +LIBGLIB2_TARGET_FINALIZE_HOOKS += LIBGLIB2_REMOVE_TARGET_SCHEMAS +LIBGLIB2_TARGET_FINALIZE_HOOKS += LIBGLIB2_COMPILE_SCHEMAS + +$(eval $(meson-package)) +$(eval $(host-meson-package)) + +LIBGLIB2_HOST_BINARY = $(HOST_DIR)/bin/glib-genmarshal diff --git a/buildroot-2021.05/package/libglob/Config.in b/buildroot-2022.02.1/package/libglob/Config.in similarity index 100% rename from buildroot-2021.05/package/libglob/Config.in rename to buildroot-2022.02.1/package/libglob/Config.in diff --git a/buildroot-2021.05/package/libglob/libglob.hash b/buildroot-2022.02.1/package/libglob/libglob.hash similarity index 100% rename from buildroot-2021.05/package/libglob/libglob.hash rename to buildroot-2022.02.1/package/libglob/libglob.hash diff --git a/buildroot-2021.05/package/libglob/libglob.mk b/buildroot-2022.02.1/package/libglob/libglob.mk similarity index 100% rename from buildroot-2021.05/package/libglob/libglob.mk rename to buildroot-2022.02.1/package/libglob/libglob.mk diff --git a/buildroot-2021.05/package/libglu/Config.in b/buildroot-2022.02.1/package/libglu/Config.in similarity index 100% rename from buildroot-2021.05/package/libglu/Config.in rename to buildroot-2022.02.1/package/libglu/Config.in diff --git a/buildroot-2022.02.1/package/libglu/libglu.hash b/buildroot-2022.02.1/package/libglu/libglu.hash new file mode 100644 index 00000000..234b58dd --- /dev/null +++ b/buildroot-2022.02.1/package/libglu/libglu.hash @@ -0,0 +1,5 @@ +# From https://lists.freedesktop.org/archives/mesa-announce/2021-June/000634.html +sha256 6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4 glu-9.0.2.tar.xz +sha512 2517d7406bb643d12c017a95dcb5d8716f307344332638bcbdf274a90752a7c22165d34745f1b082ed916bb07d40e62d1d1d67d96426225be63166f3480d6f64 glu-9.0.2.tar.xz +# locally computed +sha256 3a9992ccc9d672cfdd07ea862431d943a992d04836570c638a733bf15ec62c54 include/GL/glu.h diff --git a/buildroot-2022.02.1/package/libglu/libglu.mk b/buildroot-2022.02.1/package/libglu/libglu.mk new file mode 100644 index 00000000..8820e75d --- /dev/null +++ b/buildroot-2022.02.1/package/libglu/libglu.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libglu +# +################################################################################ + +LIBGLU_VERSION = 9.0.2 +LIBGLU_SITE = https://mesa.freedesktop.org/archive/glu +LIBGLU_SOURCE = glu-$(LIBGLU_VERSION).tar.xz +LIBGLU_LICENSE = SGI-B-2.0 +LIBGLU_LICENSE_FILES = include/GL/glu.h +LIBGLU_INSTALL_STAGING = YES +LIBGLU_DEPENDENCIES = libgl host-pkgconf + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libglvnd/Config.in b/buildroot-2022.02.1/package/libglvnd/Config.in new file mode 100644 index 00000000..d020c214 --- /dev/null +++ b/buildroot-2022.02.1/package/libglvnd/Config.in @@ -0,0 +1,51 @@ +config BR2_PACKAGE_LIBGLVND + bool "libglvnd" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_TOOLCHAIN_HAS_THREADS + help + The GL Vendor-Neutral Dispatch library + + libglvnd is a vendor-neutral dispatch layer for arbitrating + OpenGL API calls between multiple vendors. It allows multiple + drivers from different vendors to coexist on the same + filesystem, and determines which vendor to dispatch each API + call to at runtime. + + Both GLX and EGL are supported, in any combination with OpenGL + and OpenGL ES. + +if BR2_PACKAGE_LIBGLVND + +# The following symbols should be selected by the libglvnd-aware +# GL/EGL/GLES providers. +config BR2_PACKAGE_LIBGLVND_DISPATCH_GL + bool + depends on BR2_PACKAGE_XORG7 # libx11, libXext, xorgproto + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_XORGPROTO + select BR2_PACKAGE_HAS_LIBGL + +config BR2_PACKAGE_LIBGLVND_DISPATCH_EGL + bool + select BR2_PACKAGE_HAS_LIBEGL + +config BR2_PACKAGE_LIBGLVND_DISPATCH_GLES + bool + select BR2_PACKAGE_HAS_LIBGLES + +config BR2_PACKAGE_PROVIDES_LIBGL + default "libglvnd" if BR2_PACKAGE_LIBGLVND_DISPATCH_GL + +config BR2_PACKAGE_PROVIDES_LIBEGL + default "libglvnd" if BR2_PACKAGE_LIBGLVND_DISPATCH_EGL + +config BR2_PACKAGE_PROVIDES_LIBGLES + default "libglvnd" if BR2_PACKAGE_LIBGLVND_DISPATCH_GLES + +endif + +comment "libglvnd needs a toolchain w/ dynamic library, threads" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libglvnd/libglvnd.hash b/buildroot-2022.02.1/package/libglvnd/libglvnd.hash new file mode 100644 index 00000000..15e76ea9 --- /dev/null +++ b/buildroot-2022.02.1/package/libglvnd/libglvnd.hash @@ -0,0 +1,7 @@ +# Locally computed +sha256 6332c27f4c792b09a3eb1d7ae18c2d6ff6a0acaf3a746489caf859e659fca2f7 libglvnd-v1.3.2.tar.gz + +# Locally computed hashes for license files +sha256 224534547628a9e5e889d8808385bd38839e6bdb77d89c90ac04dad6891a4f5f README.md +sha256 bebdc0fd27cd37af8406e47af23c113866b7856c3f7349ffcbc672029ec8acf7 src/util/uthash/LICENSE +sha256 f6f207863675ca5a5128fd120b9aef4f4bbab73ffa57e5f771ccffc8e3cc56b7 src/util/cJSON/LICENSE diff --git a/buildroot-2022.02.1/package/libglvnd/libglvnd.mk b/buildroot-2022.02.1/package/libglvnd/libglvnd.mk new file mode 100644 index 00000000..3bac4b31 --- /dev/null +++ b/buildroot-2022.02.1/package/libglvnd/libglvnd.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# libglvnd +# +################################################################################ + +LIBGLVND_VERSION = 1.3.2 +LIBGLVND_SOURCE = libglvnd-v$(LIBGLVND_VERSION).tar.gz +LIBGLVND_SITE = https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v$(LIBGLVND_VERSION) + +LIBGLVND_LICENSE = \ + libglvnd license, \ + Apache-2.0 (Khronos headers), \ + MIT (Xorg; mesa; cJSON), \ + BSD-1=Clause (uthash) + +LIBGLVND_LICENSE_FILES = \ + README.md \ + src/util/uthash/LICENSE \ + src/util/cJSON/LICENSE + +LIBGLVND_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +LIBGLVND_DEPENDENCIES += xlib_libX11 +LIBGLVND_CONF_OPTS += -Dx11=enabled +else +LIBGLVND_CONF_OPTS += -Dx11=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBGLVND_DISPATCH_GL),y) +LIBGLVND_DEPENDENCIES += xlib_libXext xorgproto +LIBGLVND_CONF_OPTS += -Dglx=enabled +LIBGLVND_PROVIDES += libgl +else +LIBGLVND_CONF_OPTS += -Dglx=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBGLVND_DISPATCH_EGL),y) +LIBGLVND_CONF_OPTS += -Degl=true +LIBGLVND_PROVIDES += libegl +else +LIBGLVND_CONF_OPTS += -Degl=false +endif + +ifeq ($(BR2_PACKAGE_LIBGLVND_DISPATCH_GLES),y) +LIBGLVND_CONF_OPTS += -Dgles1=true -Dgles2=true +LIBGLVND_PROVIDES += libgles +else +LIBGLVND_CONF_OPTS += -Dgles1=false -Dgles2=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/libgpg-error/0001-build-Fix-generation-of-lock-obj-pub.native.h-for-cr.patch b/buildroot-2022.02.1/package/libgpg-error/0001-build-Fix-generation-of-lock-obj-pub.native.h-for-cr.patch new file mode 100644 index 00000000..621f070e --- /dev/null +++ b/buildroot-2022.02.1/package/libgpg-error/0001-build-Fix-generation-of-lock-obj-pub.native.h-for-cr.patch @@ -0,0 +1,34 @@ +From 7350874f6f62314af4c8ec1973c91d305a6f4ddc Mon Sep 17 00:00:00 2001 +From: David Michael +Date: Fri, 26 Mar 2021 16:06:50 +0900 +Subject: [PATCH] build: Fix generation of lock-obj-pub.native.h for cross + build. + +* src/gen-lock-obj.sh: Capture echo output with quotes. + +-- + +Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374 +Signed-off-by: David Michael +Upstream: 33593864cd54143db594c4237bba41e14179061c +Signed-off-by: Thomas Petazzoni +--- + src/gen-lock-obj.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh +index a710f0c..258eec6 100755 +--- a/src/gen-lock-obj.sh ++++ b/src/gen-lock-obj.sh +@@ -38,7 +38,7 @@ + # AWK=gawk ./gen-lock-obj.sh + # + +-if test -n `echo -n`; then ++if test -n "`echo -n`"; then + ECHO_C='\c' + ECHO_N='' + else +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/libgpg-error/0002-build-Fix-disable-threads.patch b/buildroot-2022.02.1/package/libgpg-error/0002-build-Fix-disable-threads.patch new file mode 100644 index 00000000..6ed0f830 --- /dev/null +++ b/buildroot-2022.02.1/package/libgpg-error/0002-build-Fix-disable-threads.patch @@ -0,0 +1,39 @@ +From 7ede0d4ce19e0ed14cd1cec81ba7df4e467f1eeb Mon Sep 17 00:00:00 2001 +From: NIIBE Yutaka +Date: Mon, 21 Jun 2021 12:16:20 +0900 +Subject: [PATCH] build: Fix --disable-threads. + +* src/gen-lock-obj.sh: Fix generating '}}}'. + +-- + +GnuPG-bug-id: 5495 +Reported-by: Fabrice Fontaine +Fixes-commit: 1fb90a7da186ee2ee098a666f6f3a35bb1720e59 +Signed-off-by: NIIBE Yutaka +[Retrieved from: +https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commit;h=220a427b4f997ef6af1b2d4e82ef1dc96e0cd6ff] +Signed-off-by: Fabrice Fontaine +--- + src/gen-lock-obj.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh +index 258eec6..014667f 100755 +--- a/src/gen-lock-obj.sh ++++ b/src/gen-lock-obj.sh +@@ -121,10 +121,10 @@ while test "$i" -lt $ac_mtx_size; do + fi + i=$(( i + 1 )) + done ++echo '}}}' + fi + + cat <<'EOF' +-}}} + ## + ## Local Variables: + ## mode: c +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/libgpg-error/Config.in b/buildroot-2022.02.1/package/libgpg-error/Config.in new file mode 100644 index 00000000..03157dd9 --- /dev/null +++ b/buildroot-2022.02.1/package/libgpg-error/Config.in @@ -0,0 +1,63 @@ +config BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS + bool + # see src/syscfg/ + default y if \ + BR2_aarch64 || BR2_aarch64_eb || \ + BR2_arm || BR2_armeb || \ + BR2_i386 || BR2_mips || \ + BR2_mipsel || BR2_mips64 || \ + BR2_mips64el || BR2_m68k || \ + BR2_nios2 || BR2_or1k || \ + BR2_powerpc || BR2_powerpc64 || \ + BR2_powerpc64le || BR2_RISCV_64 || \ + BR2_RISCV_32 || BR2_s390x || \ + BR2_sh4 || BR2_sh4eb || \ + BR2_sh4a || BR2_sh4aeb || \ + BR2_sparc || BR2_sparc64 || \ + BR2_x86_64 + +config BR2_PACKAGE_LIBGPG_ERROR + bool "libgpg-error" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS + help + Libgpg-error is a small library with error codes and + descriptions shared by most GnuPG related software. + + https://www.gnupg.org/related_software/libgpg-error + +config BR2_PACKAGE_LIBGPG_ERROR_SYSCFG + string + default "aarch64-unknown-linux-gnu" \ + if BR2_aarch64 || BR2_aarch64_eb + default "arm-unknown-linux-gnueabi" \ + if BR2_arm || BR2_armeb + default "i686-pc-linux-gnu" \ + if BR2_i386 + default "mips-unknown-linux-gnu" \ + if BR2_mips || BR2_mipsel + default "mips64el-unknown-linux-gnuabi64" \ + if BR2_mips64 || BR2_mips64el + default "m68k-unknown-linux-gnu" \ + if BR2_m68k + default "nios2-unknown-linux-gnu" \ + if BR2_nios2 + default "or1k-unknown-linux-gnu" \ + if BR2_or1k + default "powerpc-unknown-linux-gnu" \ + if BR2_powerpc + default "powerpc64-unknown-linux-gnu" \ + if BR2_powerpc64 || BR2_powerpc64le + default "riscv32-unknown-linux-gnu" \ + if BR2_RISCV_32 + default "riscv64-unknown-linux-gnu" \ + if BR2_RISCV_64 + default "s390x-unknown-linux-gnu" \ + if BR2_s390x + default "sh4-unknown-linux-gnu" \ + if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb + default "sparc-unknown-linux-gnu" \ + if BR2_sparc + default "sparc64-unknown-linux-gnu" \ + if BR2_sparc64 + default "x86_64-unknown-linux-gnu" \ + if BR2_x86_64 diff --git a/buildroot-2022.02.1/package/libgpg-error/libgpg-error.hash b/buildroot-2022.02.1/package/libgpg-error/libgpg-error.hash new file mode 100644 index 00000000..4e124941 --- /dev/null +++ b/buildroot-2022.02.1/package/libgpg-error/libgpg-error.hash @@ -0,0 +1,10 @@ +# From https://www.gnupg.org/download/integrity_check.html +sha1 5e620d71fc24d287a7ac2460b1d819074bb8b9bb libgpg-error-1.42.tar.bz2 + +# Locally calculated after checking pgp signature +# https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.42.tar.bz2.sig +# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 +sha256 fc07e70f6c615f8c4f590a8e37a9b8dd2e2ca1e9408f8e60459c67452b925e23 libgpg-error-1.42.tar.bz2 +# Locally calculated +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LIB diff --git a/buildroot-2022.02.1/package/libgpg-error/libgpg-error.mk b/buildroot-2022.02.1/package/libgpg-error/libgpg-error.mk new file mode 100644 index 00000000..babcbdad --- /dev/null +++ b/buildroot-2022.02.1/package/libgpg-error/libgpg-error.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# libgpg-error +# +################################################################################ + +LIBGPG_ERROR_VERSION = 1.42 +LIBGPG_ERROR_SITE = https://www.gnupg.org/ftp/gcrypt/libgpg-error +LIBGPG_ERROR_SOURCE = libgpg-error-$(LIBGPG_ERROR_VERSION).tar.bz2 +LIBGPG_ERROR_LICENSE = GPL-2.0+, LGPL-2.1+ +LIBGPG_ERROR_LICENSE_FILES = COPYING COPYING.LIB +LIBGPG_ERROR_CPE_ID_VENDOR = gnupg +LIBGPG_ERROR_INSTALL_STAGING = YES +LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config +LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +LIBGPG_ERROR_CONF_OPTS = --disable-tests \ + --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBGPG_ERROR_CONF_OPTS += --enable-threads +else +LIBGPG_ERROR_CONF_OPTS += --disable-threads +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libgpgme/0001-core-Support-closefrom-also-for-glibc.patch b/buildroot-2022.02.1/package/libgpgme/0001-core-Support-closefrom-also-for-glibc.patch new file mode 100644 index 00000000..b8db949c --- /dev/null +++ b/buildroot-2022.02.1/package/libgpgme/0001-core-Support-closefrom-also-for-glibc.patch @@ -0,0 +1,36 @@ +From 4b64774b6d13ffa4f59dddf947a97d61bcfa2f2e Mon Sep 17 00:00:00 2001 +From: Jiri Kucera +Date: Sun, 25 Jul 2021 11:35:54 +0200 +Subject: [PATCH] core: Support closefrom also for glibc. + +* src/posix-io.c (_gpgme_io_spawn): Use glibc's closefrom. +-- + +Since 2.34, glibc introduces closefrom (the implementation +follows *BSD standard). + +Signed-off-by: Werner Koch + +[Retrieved from: +https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=4b64774b6d13ffa4f59dddf947a97d61bcfa2f2e] +Signed-off-by: Fabrice Fontaine +--- + src/posix-io.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/posix-io.c b/src/posix-io.c +index e712ef28..2a3a81fc 100644 +--- a/src/posix-io.c ++++ b/src/posix-io.c +@@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags, + if (fd_list[i].fd > fd) + fd = fd_list[i].fd; + fd++; +-#if defined(__sun) || defined(__FreeBSD__) ++#if defined(__sun) || defined(__FreeBSD__) || defined(__GLIBC__) + closefrom (fd); + max_fds = fd; + #else /*!__sun */ +-- +2.11.0 + diff --git a/buildroot-2021.05/package/libgpgme/Config.in b/buildroot-2022.02.1/package/libgpgme/Config.in similarity index 100% rename from buildroot-2021.05/package/libgpgme/Config.in rename to buildroot-2022.02.1/package/libgpgme/Config.in diff --git a/buildroot-2022.02.1/package/libgpgme/libgpgme.hash b/buildroot-2022.02.1/package/libgpgme/libgpgme.hash new file mode 100644 index 00000000..ca2a7949 --- /dev/null +++ b/buildroot-2022.02.1/package/libgpgme/libgpgme.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://gnupg.org/ftp/gcrypt/gpgme/gpgme-1.16.0.tar.bz2.sig +# using key D8692123C4065DEA5E0F3AB5249B39D24F25E3B6 +sha256 6c8cc4aedb10d5d4c905894ba1d850544619ee765606ac43df7405865de29ed0 gpgme-1.16.0.tar.bz2 +# Locally calculated +sha256 ca0061fc1381a3ab242310e4b3f56389f28e3d460eb2fd822ed7a21c6f030532 COPYING.LESSER diff --git a/buildroot-2022.02.1/package/libgpgme/libgpgme.mk b/buildroot-2022.02.1/package/libgpgme/libgpgme.mk new file mode 100644 index 00000000..f61e9fe4 --- /dev/null +++ b/buildroot-2022.02.1/package/libgpgme/libgpgme.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# libgpgme +# +################################################################################ + +LIBGPGME_VERSION = 1.16.0 +LIBGPGME_SITE = https://gnupg.org/ftp/gcrypt/gpgme +LIBGPGME_SOURCE = gpgme-$(LIBGPGME_VERSION).tar.bz2 +LIBGPGME_LICENSE = LGPL-2.1+ +LIBGPGME_LICENSE_FILES = COPYING.LESSER +LIBGPGME_CPE_ID_VENDOR = gnupg +LIBGPGME_CPE_ID_PRODUCT = gpgpme +LIBGPGME_INSTALL_STAGING = YES +LIBGPGME_DEPENDENCIES = libassuan libgpg-error +LIBGPGME_CONFIG_SCRIPTS = gpgme-config + +LIBGPGME_LANGUAGE_BINDINGS = cl +# C++ bindings require a C++11 capable gcc, and -Wsuggest-override support +ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_TOOLCHAIN_GCC_AT_LEAST_5),yy) +LIBGPGME_LANGUAGE_BINDINGS += cpp +endif + +LIBGPGME_CONF_OPTS = \ + --with-gpg-error-prefix=$(STAGING_DIR)/usr \ + --with-libassuan-prefix=$(STAGING_DIR)/usr \ + --disable-gpgsm-test \ + --disable-gpgconf-test \ + --disable-g13-test \ + --disable-gpg-test \ + --enable-languages=$(subst $(space),$(comma),$(LIBGPGME_LANGUAGE_BINDINGS)) + +# Handle argp-standalone or it errors out during build +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +# musl libc does not define error_t in errno.h, but argp.h does. +# Assume we have error_t to avoid collision with the argp.h error_t. +LIBGPGME_CONF_ENV += LIBS="-largp" ac_cv_type_error_t=yes +LIBGPGME_DEPENDENCIES += argp-standalone +endif + +# MIPS N64 (re)introduced getdents64 in kernel version 3.10 +ifeq ($(BR2_MIPS_NABI64)x$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10),yx) +LIBGPGME_CONF_OPTS += --disable-linux-getdents +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgphoto2/Config.in b/buildroot-2022.02.1/package/libgphoto2/Config.in similarity index 100% rename from buildroot-2021.05/package/libgphoto2/Config.in rename to buildroot-2022.02.1/package/libgphoto2/Config.in diff --git a/buildroot-2022.02.1/package/libgphoto2/libgphoto2.hash b/buildroot-2022.02.1/package/libgphoto2/libgphoto2.hash new file mode 100644 index 00000000..af52b47d --- /dev/null +++ b/buildroot-2022.02.1/package/libgphoto2/libgphoto2.hash @@ -0,0 +1,3 @@ +# Locally calculated hash +sha256 a7253bd18c6ef65352150ac36a668f883a5ad2634eb6455b3ca9aa6ac98d0073 libgphoto2-2.5.27.tar.xz +sha256 ebc385a0b1d477be5177ed6d9129557aa59a3ad0f26ebe7dd97ee942a0fb68ee COPYING diff --git a/buildroot-2022.02.1/package/libgphoto2/libgphoto2.mk b/buildroot-2022.02.1/package/libgphoto2/libgphoto2.mk new file mode 100644 index 00000000..c1d5352c --- /dev/null +++ b/buildroot-2022.02.1/package/libgphoto2/libgphoto2.mk @@ -0,0 +1,60 @@ +################################################################################ +# +# libgphoto2 +# +################################################################################ + +LIBGPHOTO2_VERSION = 2.5.27 +LIBGPHOTO2_SOURCE = libgphoto2-$(LIBGPHOTO2_VERSION).tar.xz +LIBGPHOTO2_SITE = https://github.com/gphoto/libgphoto2/releases/download/v$(LIBGPHOTO2_VERSION) +LIBGPHOTO2_LICENSE = LGPL-2.1+, GPL-2.0 (adc65), GPL-2.0+ (some camlibs), \ + LGPL-2.0 (sipix), LGPL-3.0+ (pentax), BSD-3-Clause (ax203/tinyjpeg) +# There is a single license file for the LGPL-2.1, no license files +# for other licenses +LIBGPHOTO2_LICENSE_FILES = COPYING +LIBGPHOTO2_INSTALL_STAGING = YES + +LIBGPHOTO2_DEPENDENCIES = libxml2 libusb libtool host-pkgconf + +LIBGPHOTO2_CONF_ENV = udevscriptdir=/lib/udev +LIBGPHOTO2_CONF_OPTS += --without-rpmbuild --disable-gp2ddb --disable-internal-docs + +ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) +# libusb-compat is not actually used, but it is detected, so add it +# here to guarantee reproducible builds +LIBGPHOTO2_DEPENDENCIES += libusb-compat +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +LIBGPHOTO2_DEPENDENCIES += libcurl +LIBGPHOTO2_CONF_OPTS += --with-libcurl=auto +else +LIBGPHOTO2_CONF_OPTS += --with-libcurl=no +endif + +ifeq ($(BR2_PACKAGE_LIBEXIF),y) +LIBGPHOTO2_DEPENDENCIES += libexif +LIBGPHOTO2_CONF_OPTS += --with-libexif=auto +else +LIBGPHOTO2_CONF_OPTS += --with-libexif=no +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +LIBGPHOTO2_DEPENDENCIES += jpeg +LIBGPHOTO2_CONF_OPTS += --with-jpeg +else +LIBGPHOTO2_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_GD),y) +LIBGPHOTO2_DEPENDENCIES += gd +LIBGPHOTO2_CONF_OPTS += --with-gdlib=auto +else +LIBGPHOTO2_CONF_OPTS += --with-gdlib=no +endif + +ifeq ($(BR2_PACKAGE_LOCKDEV),y) +LIBGPHOTO2_DEPENDENCIES += lockdev +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch b/buildroot-2022.02.1/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch similarity index 100% rename from buildroot-2021.05/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch rename to buildroot-2022.02.1/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch diff --git a/buildroot-2021.05/package/libgpiod/Config.in b/buildroot-2022.02.1/package/libgpiod/Config.in similarity index 100% rename from buildroot-2021.05/package/libgpiod/Config.in rename to buildroot-2022.02.1/package/libgpiod/Config.in diff --git a/buildroot-2021.05/package/libgpiod/libgpiod.hash b/buildroot-2022.02.1/package/libgpiod/libgpiod.hash similarity index 100% rename from buildroot-2021.05/package/libgpiod/libgpiod.hash rename to buildroot-2022.02.1/package/libgpiod/libgpiod.hash diff --git a/buildroot-2021.05/package/libgpiod/libgpiod.mk b/buildroot-2022.02.1/package/libgpiod/libgpiod.mk similarity index 100% rename from buildroot-2021.05/package/libgpiod/libgpiod.mk rename to buildroot-2022.02.1/package/libgpiod/libgpiod.mk diff --git a/buildroot-2021.05/package/libgsasl/Config.in b/buildroot-2022.02.1/package/libgsasl/Config.in similarity index 100% rename from buildroot-2021.05/package/libgsasl/Config.in rename to buildroot-2022.02.1/package/libgsasl/Config.in diff --git a/buildroot-2021.05/package/libgsasl/libgsasl.hash b/buildroot-2022.02.1/package/libgsasl/libgsasl.hash similarity index 100% rename from buildroot-2021.05/package/libgsasl/libgsasl.hash rename to buildroot-2022.02.1/package/libgsasl/libgsasl.hash diff --git a/buildroot-2022.02.1/package/libgsasl/libgsasl.mk b/buildroot-2022.02.1/package/libgsasl/libgsasl.mk new file mode 100644 index 00000000..b1981dea --- /dev/null +++ b/buildroot-2022.02.1/package/libgsasl/libgsasl.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# libgsasl +# +################################################################################ + +LIBGSASL_VERSION = 1.10.0 +LIBGSASL_SITE = $(BR2_GNU_MIRROR)/gsasl +LIBGSASL_LICENSE = LGPL-2.1+ (library), GPL-3.0+ (programs) +LIBGSASL_LICENSE_FILES = README COPYING.LIB COPYING +LIBGSASL_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +LIBGSASL_CONF_OPTS += --with-libgcrypt-prefix=$(STAGING_DIR)/usr +LIBGSASL_DEPENDENCIES += libgcrypt +else +LIBGSASL_CONF_OPTS += --without-libgcrypt +endif + +ifeq ($(BR2_PACKAGE_LIBIDN),y) +LIBGSASL_CONF_OPTS += --with-libidn-prefix=$(STAGING_DIR)/usr +LIBGSASL_DEPENDENCIES += libidn +else +LIBGSASL_CONF_OPTS += --without-stringprep +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libgsm/0001-misc-fixes-from-archlinux.patch b/buildroot-2022.02.1/package/libgsm/0001-misc-fixes-from-archlinux.patch similarity index 100% rename from buildroot-2021.05/package/libgsm/0001-misc-fixes-from-archlinux.patch rename to buildroot-2022.02.1/package/libgsm/0001-misc-fixes-from-archlinux.patch diff --git a/buildroot-2021.05/package/libgsm/Config.in b/buildroot-2022.02.1/package/libgsm/Config.in similarity index 100% rename from buildroot-2021.05/package/libgsm/Config.in rename to buildroot-2022.02.1/package/libgsm/Config.in diff --git a/buildroot-2021.05/package/libgsm/libgsm.hash b/buildroot-2022.02.1/package/libgsm/libgsm.hash similarity index 100% rename from buildroot-2021.05/package/libgsm/libgsm.hash rename to buildroot-2022.02.1/package/libgsm/libgsm.hash diff --git a/buildroot-2021.05/package/libgsm/libgsm.mk b/buildroot-2022.02.1/package/libgsm/libgsm.mk similarity index 100% rename from buildroot-2021.05/package/libgsm/libgsm.mk rename to buildroot-2022.02.1/package/libgsm/libgsm.mk diff --git a/buildroot-2022.02.1/package/libgta/Config.in b/buildroot-2022.02.1/package/libgta/Config.in new file mode 100644 index 00000000..f66d83c9 --- /dev/null +++ b/buildroot-2022.02.1/package/libgta/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_LIBGTA + bool "libgta" + select BR2_PACKAGE_BZIP2 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_XZ + help + Libgta is a portable library that implements the Generic + Tagged Array (GTA) file format. + + https://marlam.de/gta diff --git a/buildroot-2022.02.1/package/libgta/libgta.hash b/buildroot-2022.02.1/package/libgta/libgta.hash new file mode 100644 index 00000000..49ac51d3 --- /dev/null +++ b/buildroot-2022.02.1/package/libgta/libgta.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 d445667e145f755f0bc34ac89b63a6bfdce1eea943f87ee7a3f23dc0dcede8b1 libgta-1.2.1.tar.xz +sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING diff --git a/buildroot-2022.02.1/package/libgta/libgta.mk b/buildroot-2022.02.1/package/libgta/libgta.mk new file mode 100644 index 00000000..9b19f42d --- /dev/null +++ b/buildroot-2022.02.1/package/libgta/libgta.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# libgta +# +################################################################################ + +LIBGTA_VERSION = 1.2.1 +LIBGTA_SITE = https://marlam.de/gta/releases +LIBGTA_SOURCE = libgta-$(LIBGTA_VERSION).tar.xz +LIBGTA_INSTALL_STAGING = YES +LIBGTA_DEPENDENCIES = host-pkgconf bzip2 xz zlib +LIBGTA_LICENSE = LGPL-2.1+ +LIBGTA_LICENSE_FILES = COPYING + +LIBGTA_CONF_OPTS += -DGTA_BUILD_DOCUMENTATION=OFF + +ifeq ($(BR2_STATIC_LIBS),) +LIBGTA_CONF_OPTS += -DGTA_BUILD_SHARED_LIB=ON +else +LIBGTA_CONF_OPTS += -DGTA_BUILD_SHARED_LIB=OFF +endif + +ifeq ($(BR2_SHARED_LIBS),) +LIBGTA_CONF_OPTS += -DGTA_BUILD_STATIC_LIB=ON +else +LIBGTA_CONF_OPTS += -DGTA_BUILD_STATIC_LIB=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libgtk2/0001-reduce-dependencies.patch b/buildroot-2022.02.1/package/libgtk2/0001-reduce-dependencies.patch similarity index 100% rename from buildroot-2021.05/package/libgtk2/0001-reduce-dependencies.patch rename to buildroot-2022.02.1/package/libgtk2/0001-reduce-dependencies.patch diff --git a/buildroot-2022.02.1/package/libgtk2/Config.in b/buildroot-2022.02.1/package/libgtk2/Config.in new file mode 100644 index 00000000..c75c37fb --- /dev/null +++ b/buildroot-2022.02.1/package/libgtk2/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_LIBGTK2 + bool "libgtk2" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + depends on BR2_INSTALL_LIBSTDCPP # pango + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuzz + select BR2_PACKAGE_ATK + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_CAIRO_PS + select BR2_PACKAGE_CAIRO_PDF + select BR2_PACKAGE_CAIRO_SVG + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PANGO + select BR2_PACKAGE_GDK_PIXBUF + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXRENDER + help + The GTK+ version 2 graphical user interface library + + http://www.gtk.org/ + +if BR2_PACKAGE_LIBGTK2 + +config BR2_PACKAGE_LIBGTK2_DEMO + bool "Install libgtk2 demo program" + help + The GTK+ source base contains a gtk-demo program. This + option allows to install this program to the target. + +endif + +comment "libgtk2 needs a toolchain w/ wchar, threads, C++, gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_PACKAGE_XORG7 + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libgtk2/libgtk2.hash b/buildroot-2022.02.1/package/libgtk2/libgtk2.hash similarity index 100% rename from buildroot-2021.05/package/libgtk2/libgtk2.hash rename to buildroot-2022.02.1/package/libgtk2/libgtk2.hash diff --git a/buildroot-2021.05/package/libgtk2/libgtk2.mk b/buildroot-2022.02.1/package/libgtk2/libgtk2.mk similarity index 100% rename from buildroot-2021.05/package/libgtk2/libgtk2.mk rename to buildroot-2022.02.1/package/libgtk2/libgtk2.mk diff --git a/buildroot-2022.02.1/package/libgtk3/0001-no-gtk-doc.patch b/buildroot-2022.02.1/package/libgtk3/0001-no-gtk-doc.patch new file mode 100644 index 00000000..e1d32080 --- /dev/null +++ b/buildroot-2022.02.1/package/libgtk3/0001-no-gtk-doc.patch @@ -0,0 +1,25 @@ +Same patch as for systemd in commit +http://git.buildroot.net/buildroot/commit/?id=7144f2f04b70553 + +Fix deactivation of gtk-doc + +The tarball contains the Makefile for building documentation with gtk-doc, +Unfortunately the AM_CONDITIONAL variable is not the correct one, which +results in an error when running autoreconf. + +This patch fixes this issue. + +Signed-off-by: Eric Le Bihan +Signed-off-by: Hadrien Boutteville + +--- a/gtk-doc.make ++++ b/gtk-doc.make +@@ -300,7 +300,7 @@ + # + # Require gtk-doc when making dist + # +-if HAVE_GTK_DOC ++if ENABLE_GTK_DOC + dist-check-gtkdoc: docs + else + dist-check-gtkdoc: diff --git a/buildroot-2022.02.1/package/libgtk3/0002-fix-introspection-check.patch b/buildroot-2022.02.1/package/libgtk3/0002-fix-introspection-check.patch new file mode 100644 index 00000000..b12e1a4f --- /dev/null +++ b/buildroot-2022.02.1/package/libgtk3/0002-fix-introspection-check.patch @@ -0,0 +1,28 @@ +Fix HAVE_INTROSPECTION does not appear in AM_CONDITIONAL + +During autoreconf GOBJECT_INTROSPECTION_CHECK could not be resolved because we +don't have introspection which provides its custom m4 macro. Reconfigure fails +with: + +gdk/Makefile.am:196: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL +gtk/Makefile.am:1347: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL + +We avoid to add a copy of introspection.m4 in the m4 directory of libgtk3 by +adding a check, as performed in Systemd. + +Signed-off-by: Hadrien Boutteville + +--- a/configure.ac ++++ b/configure.ac +@@ -1679,7 +1679,10 @@ + # GObject introspection + ################################################## + +-GOBJECT_INTROSPECTION_CHECK(introspection_required_version) ++m4_ifdef([GOBJECT_INTROSPECTION_CHECK], ++ [GOBJECT_INTROSPECTION_CHECK(introspection_required_version)], ++ [AM_CONDITIONAL([HAVE_INTROSPECTION], [false]) ++ enable_introspection=no]) + + ################################################## + # colord module diff --git a/buildroot-2022.02.1/package/libgtk3/0003-disable-atk-bridge.patch b/buildroot-2022.02.1/package/libgtk3/0003-disable-atk-bridge.patch new file mode 100644 index 00000000..09ede966 --- /dev/null +++ b/buildroot-2022.02.1/package/libgtk3/0003-disable-atk-bridge.patch @@ -0,0 +1,45 @@ +Remove atk-bridge support. + +atk-bridge doesn't seem useful for now in Buildroot and requires to +add two new packages just for it: at-spi2-core and at-spi2-atk. + +Signed-off-by: Hadrien Boutteville + +--- a/configure.ac ++++ b/configure.ac +@@ -1375,11 +1375,7 @@ + # Check for Accessibility Toolkit flags + ######################################## + +-if test x$enable_x11_backend = xyes; then +- ATK_PACKAGES="atk atk-bridge-2.0" +-else +- ATK_PACKAGES="atk" +-fi ++ATK_PACKAGES="atk" + + PKG_CHECK_MODULES(ATK, $ATK_PACKAGES) + +--- a/gtk/a11y/gtkaccessibility.c ++++ b/gtk/a11y/gtkaccessibility.c +@@ -37,10 +37,6 @@ + #include + #include + +-#ifdef GDK_WINDOWING_X11 +-#include +-#endif +- + static gboolean gail_focus_watcher (GSignalInvocationHint *ihint, + guint n_param_values, + const GValue *param_values, +@@ -988,9 +984,5 @@ + _gtk_accessibility_override_atk_util (); + do_window_event_initialization (); + +-#ifdef GDK_WINDOWING_X11 +- atk_bridge_adaptor_init (NULL, NULL); +-#endif +- + atk_misc_instance = g_object_new (GTK_TYPE_MISC_IMPL, NULL); + } diff --git a/buildroot-2021.05/package/libgtk3/0004-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch b/buildroot-2022.02.1/package/libgtk3/0004-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch similarity index 100% rename from buildroot-2021.05/package/libgtk3/0004-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch rename to buildroot-2022.02.1/package/libgtk3/0004-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch diff --git a/buildroot-2022.02.1/package/libgtk3/Config.in b/buildroot-2022.02.1/package/libgtk3/Config.in new file mode 100644 index 00000000..bc8cacd9 --- /dev/null +++ b/buildroot-2022.02.1/package/libgtk3/Config.in @@ -0,0 +1,110 @@ +comment "libgtk3 needs a toolchain w/ wchar, threads, C++, gcc >= 4.9" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_HAS_THREADS + +comment "libgtk3 needs an OpenGL or an OpenGL-EGL/wayland backend" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_PACKAGE_HAS_LIBEGL_WAYLAND && \ + !BR2_PACKAGE_HAS_LIBGL + +config BR2_PACKAGE_LIBGTK3 + bool "libgtk3" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # host-libgtk3 -> host-librsvg + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + depends on BR2_INSTALL_LIBSTDCPP # pango + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuzz + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ + BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_ATK + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_CAIRO_PS + select BR2_PACKAGE_CAIRO_PDF + select BR2_PACKAGE_CAIRO_SVG + select BR2_PACKAGE_LIBEPOXY + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PANGO + select BR2_PACKAGE_GDK_PIXBUF + # At least one backend is required + select BR2_PACKAGE_LIBGTK3_BROADWAY if \ + !(BR2_PACKAGE_LIBGTK3_X11 || BR2_PACKAGE_LIBGTK3_WAYLAND) + help + The GTK+ version 3 graphical user interface library + + https://www.gtk.org/ + +if BR2_PACKAGE_LIBGTK3 + +config BR2_PACKAGE_LIBGTK3_BROADWAY + bool "Broadway GDK backend" + default y + help + This enables the Broadway backend for GDK, which provides + support for displaying GTK+ applications in a web browser, + using HTML5 and web sockets. + + For example, to run gtk3-demo on a target which IP address is + 192.168.0.1 and use it from a web browser, execute the + following commands: + + $ broadwayd -a 192.168.0.1 -p 8080 :2 & + $ export GDK_BACKEND=broadway + $ export BROADWAY_DISPLAY=:2 + $ gtk3-demo + + Then open a web browser at address http://192.168.0.1:8080. + Javascript and web sockets should be enabled. + +comment "Wayland GDK backend needs an OpenGL EGL backend provided by mesa3d w/ headers >= 3.17" + depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + +config BR2_PACKAGE_LIBGTK3_WAYLAND + bool "Wayland GDK backend" + default y + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + select BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS + select BR2_PACKAGE_LIBXKBCOMMON + help + This enables the Wayland backend for GDK. + +comment "X11 GDK backend needs an OpenGL provider" + depends on !BR2_PACKAGE_HAS_LIBGL + +config BR2_PACKAGE_LIBGTK3_X11 + bool "X11 GDK backend" + default y + depends on BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXRENDER + select BR2_PACKAGE_XLIB_LIBXI + help + This enables the X11 backend for GDK. + +config BR2_PACKAGE_LIBGTK3_DEMO + bool "Install libgtk3 demo program" + select BR2_PACKAGE_SHARED_MIME_INFO + select BR2_PACKAGE_HICOLOR_ICON_THEME + help + The GTK+ source base contains a demo program. This + option allows to install this program to the target. + +config BR2_PACKAGE_LIBGTK3_TESTS + bool "Install libgtk3 tests" + help + The GTK+ source base contains tests. This option + allows to install them to the target. + +endif diff --git a/buildroot-2022.02.1/package/libgtk3/libgtk3.hash b/buildroot-2022.02.1/package/libgtk3/libgtk3.hash new file mode 100644 index 00000000..23ce1f42 --- /dev/null +++ b/buildroot-2022.02.1/package/libgtk3/libgtk3.hash @@ -0,0 +1,5 @@ +# From https://download.gnome.org/sources/gtk+/3.24/gtk+-3.24.33.sha256sum +sha256 588b06522e25d1579e989b6f9d8a1bdbf2fe13cde01a04e904ff346a225e7801 gtk+-3.24.33.tar.xz + +# Hash for license file: +sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/buildroot-2022.02.1/package/libgtk3/libgtk3.mk b/buildroot-2022.02.1/package/libgtk3/libgtk3.mk new file mode 100644 index 00000000..cd0a75eb --- /dev/null +++ b/buildroot-2022.02.1/package/libgtk3/libgtk3.mk @@ -0,0 +1,202 @@ +################################################################################ +# +# libgtk3 +# +################################################################################ + +LIBGTK3_VERSION_MAJOR = 3.24 +LIBGTK3_VERSION = $(LIBGTK3_VERSION_MAJOR).33 +LIBGTK3_SOURCE = gtk+-$(LIBGTK3_VERSION).tar.xz +LIBGTK3_SITE = http://ftp.gnome.org/pub/gnome/sources/gtk+/$(LIBGTK3_VERSION_MAJOR) +LIBGTK3_LICENSE = LGPL-2.0+ +LIBGTK3_LICENSE_FILES = COPYING +LIBGTK3_CPE_ID_VENDOR = gnome +LIBGTK3_CPE_ID_PRODUCT = gtk +LIBGTK3_INSTALL_STAGING = YES +LIBGTK3_AUTORECONF = YES + +LIBGTK3_CONF_ENV = \ + ac_cv_path_GTK_UPDATE_ICON_CACHE=$(HOST_DIR)/bin/gtk-update-icon-cache \ + ac_cv_path_GDK_PIXBUF_CSOURCE=$(HOST_DIR)/bin/gdk-pixbuf-csource \ + PKG_CONFIG_FOR_BUILD=$(HOST_DIR)/bin/pkgconf + +LIBGTK3_CONF_OPTS = \ + --disable-glibtest \ + --enable-explicit-deps=no +HOST_LIBGTK3_CONF_OPTS = --disable-introspection + +# Override pkg-config pkgdatadir variable, it needs the prefix +LIBGTK3_MAKE_OPTS = \ + WAYLAND_PROTOCOLS_DATADIR=$(STAGING_DIR)/usr/share/wayland-protocols \ + LIBS=$(TARGET_NLS_LIBS) + +LIBGTK3_DEPENDENCIES = host-pkgconf host-libgtk3 atk libglib2 cairo pango \ + gdk-pixbuf libepoxy $(TARGET_NLS_DEPENDENCIES) + +ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) +LIBGTK3_DEPENDENCIES += fontconfig xlib_libX11 xlib_libXext xlib_libXrender xlib_libXi + +LIBGTK3_CONF_OPTS += \ + --enable-x11-backend \ + --x-includes=$(STAGING_DIR)/usr/include/X11 \ + --x-libraries=$(STAGING_DIR)/usr/lib +else +LIBGTK3_CONF_OPTS += --disable-x11-backend +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBGTK3_CONF_OPTS += --enable-introspection +LIBGTK3_DEPENDENCIES += gobject-introspection +else +LIBGTK3_CONF_OPTS += --disable-introspection +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y) +LIBGTK3_DEPENDENCIES += wayland wayland-protocols libxkbcommon +LIBGTK3_CONF_OPTS += --enable-wayland-backend +else +LIBGTK3_CONF_OPTS += --disable-wayland-backend +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3_BROADWAY),y) +LIBGTK3_CONF_OPTS += --enable-broadway-backend +else +LIBGTK3_CONF_OPTS += --disable-broadway-backend +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +LIBGTK3_CONF_OPTS += --enable-xinerama +LIBGTK3_DEPENDENCIES += xlib_libXinerama +else +LIBGTK3_CONF_OPTS += --disable-xinerama +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) +LIBGTK3_CONF_OPTS += --enable-xrandr +LIBGTK3_DEPENDENCIES += xlib_libXrandr +else +LIBGTK3_CONF_OPTS += --disable-xrandr +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) +LIBGTK3_DEPENDENCIES += xlib_libXcursor +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y) +LIBGTK3_CONF_OPTS += --enable-xfixes +LIBGTK3_DEPENDENCIES += xlib_libXfixes +else +LIBGTK3_CONF_OPTS += --disable-xfixes +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) +LIBGTK3_CONF_OPTS += --enable-xcomposite +LIBGTK3_DEPENDENCIES += xlib_libXcomposite +else +LIBGTK3_CONF_OPTS += --disable-xcomposite +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y) +LIBGTK3_CONF_OPTS += --enable-xdamage +LIBGTK3_DEPENDENCIES += xlib_libXdamage +else +LIBGTK3_CONF_OPTS += --disable-xdamage +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y) +LIBGTK3_CONF_OPTS += --enable-xkb +LIBGTK3_DEPENDENCIES += xlib_libxkbfile +else +LIBGTK3_CONF_OPTS += --disable-xkb +endif + +ifeq ($(BR2_PACKAGE_CUPS),y) +LIBGTK3_CONF_OPTS += --enable-cups +LIBGTK3_CONF_ENV += ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config +LIBGTK3_DEPENDENCIES += cups +else +LIBGTK3_CONF_OPTS += --disable-cups +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3_DEMO),y) +LIBGTK3_DEPENDENCIES += hicolor-icon-theme shared-mime-info +else +define LIBGTK3_REMOVE_DEMOS + $(RM) $(TARGET_DIR)/usr/bin/gtk3-demo \ + $(TARGET_DIR)/usr/bin/gtk3-demo-application +endef +LIBGTK3_POST_INSTALL_TARGET_HOOKS += LIBGTK3_REMOVE_DEMOS +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3_TESTS),y) +LIBGTK3_CONF_OPTS += --enable-installed-tests +else +LIBGTK3_CONF_OPTS += --disable-installed-tests +endif + +define LIBGTK3_COMPILE_GLIB_SCHEMAS + $(HOST_DIR)/bin/glib-compile-schemas \ + $(TARGET_DIR)/usr/share/glib-2.0/schemas +endef + +LIBGTK3_POST_INSTALL_TARGET_HOOKS += LIBGTK3_COMPILE_GLIB_SCHEMAS + +# gtk+ >= 3.10 can build a native version of gtk-update-icon-cache if +# --enable-gtk2-dependency=no is set when invoking './configure'. +# +# Unfortunately, if the target toolchain is based on uClibc, the macro +# AM_GLIB_GNU_GETTEXT will detect the libintl built for the target and +# will add '-lintl' to the default list of libraries for the linker (used +# for both native and target builds). +# +# But no native version of libintl is available (the functions are +# provided by glibc). So gtk-update-icon-cache will not build. +# +# As a workaround, we build gtk-update-icon-cache on our own, set +# --enable-gtk2-dependency=yes and force './configure' to use our version. + +HOST_LIBGTK3_DEPENDENCIES = \ + host-libglib2 \ + host-libpng \ + host-gdk-pixbuf \ + host-pkgconf \ + host-librsvg + +HOST_LIBGTK3_CFLAGS = \ + `$(HOST_MAKE_ENV) $(PKG_CONFIG_HOST_BINARY) --cflags --libs gdk-pixbuf-2.0` \ + `$(HOST_MAKE_ENV) $(PKG_CONFIG_HOST_BINARY) --cflags --libs gio-2.0` + +define HOST_LIBGTK3_CONFIGURE_CMDS + echo "#define GETTEXT_PACKAGE \"gtk30\"" >> $(@D)/gtk/config.h + echo "#define HAVE_UNISTD_H 1" >> $(@D)/gtk/config.h + echo "#define HAVE_FTW_H 1" >> $(@D)/gtk/config.h +endef + +define HOST_LIBGTK3_BUILD_CMDS + $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \ + $(@D)/gtk/updateiconcache.c \ + $(HOST_LIBGTK3_CFLAGS) \ + -o $(@D)/gtk/gtk-update-icon-cache + $(HOSTCC) $(HOST_CFLAGS) $(HOST_LDFLAGS) \ + $(@D)/gtk/encodesymbolic.c \ + $(HOST_LIBGTK3_CFLAGS) \ + -o $(@D)/gtk/gtk-encode-symbolic-svg +endef + +define HOST_LIBGTK3_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/gtk/gtk-update-icon-cache \ + $(HOST_DIR)/bin/gtk-update-icon-cache + $(INSTALL) -D -m 0755 $(@D)/gtk/gtk-encode-symbolic-svg \ + $(HOST_DIR)/bin/gtk-encode-symbolic-svg +endef + +# Create icon-theme.cache for each of the icon directories/themes +# It's not strictly necessary but speeds up lookups +define LIBGTK3_UPDATE_ICON_CACHE + find $(TARGET_DIR)/usr/share/icons -maxdepth 1 -mindepth 1 -type d \ + -exec $(HOST_DIR)/bin/gtk-update-icon-cache {} \; +endef +LIBGTK3_TARGET_FINALIZE_HOOKS += LIBGTK3_UPDATE_ICON_CACHE + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libgudev/Config.in b/buildroot-2022.02.1/package/libgudev/Config.in similarity index 100% rename from buildroot-2021.05/package/libgudev/Config.in rename to buildroot-2022.02.1/package/libgudev/Config.in diff --git a/buildroot-2022.02.1/package/libgudev/libgudev.hash b/buildroot-2022.02.1/package/libgudev/libgudev.hash new file mode 100644 index 00000000..1040ffb0 --- /dev/null +++ b/buildroot-2022.02.1/package/libgudev/libgudev.hash @@ -0,0 +1,5 @@ +# From http://ftp.gnome.org/pub/GNOME/sources/libgudev/236/libgudev-236.sha256sum +sha256 e50369d06d594bae615eb7aeb787de304ebaad07a26d1043cef8e9c7ab7c9524 libgudev-236.tar.xz + +# Hash for license file: +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/libgudev/libgudev.mk b/buildroot-2022.02.1/package/libgudev/libgudev.mk new file mode 100644 index 00000000..eabd446d --- /dev/null +++ b/buildroot-2022.02.1/package/libgudev/libgudev.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# libgudev +# +################################################################################ + +LIBGUDEV_VERSION = 236 +LIBGUDEV_SOURCE = libgudev-$(LIBGUDEV_VERSION).tar.xz +LIBGUDEV_SITE = http://ftp.gnome.org/pub/GNOME/sources/libgudev/$(LIBGUDEV_VERSION) +LIBGUDEV_INSTALL_STAGING = YES +LIBGUDEV_DEPENDENCIES = host-pkgconf udev libglib2 +LIBGUDEV_LICENSE = LGPL-2.1+ +LIBGUDEV_LICENSE_FILES = COPYING +LIBGUDEV_CONF_OPTS = -Dtests=disabled -Dvapi=disabled + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBGUDEV_CONF_OPTS += -Dintrospection=enabled +LIBGUDEV_DEPENDENCIES += gobject-introspection +else +LIBGUDEV_CONF_OPTS += -Dintrospection=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libhdhomerun/0001-dont-strip.patch b/buildroot-2022.02.1/package/libhdhomerun/0001-dont-strip.patch similarity index 100% rename from buildroot-2021.05/package/libhdhomerun/0001-dont-strip.patch rename to buildroot-2022.02.1/package/libhdhomerun/0001-dont-strip.patch diff --git a/buildroot-2021.05/package/libhdhomerun/Config.in b/buildroot-2022.02.1/package/libhdhomerun/Config.in similarity index 100% rename from buildroot-2021.05/package/libhdhomerun/Config.in rename to buildroot-2022.02.1/package/libhdhomerun/Config.in diff --git a/buildroot-2022.02.1/package/libhdhomerun/libhdhomerun.hash b/buildroot-2022.02.1/package/libhdhomerun/libhdhomerun.hash new file mode 100644 index 00000000..66edd6a0 --- /dev/null +++ b/buildroot-2022.02.1/package/libhdhomerun/libhdhomerun.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 deaf463bbcc3eefa72f97199efb6213f7b0e2c8e91f1b3d2cbf52056a8715d15 libhdhomerun_20210624.tgz +sha256 9b872a8a070b8ad329c4bd380fb1bf0000f564c75023ec8e1e6803f15364b9e9 LICENSE diff --git a/buildroot-2022.02.1/package/libhdhomerun/libhdhomerun.mk b/buildroot-2022.02.1/package/libhdhomerun/libhdhomerun.mk new file mode 100644 index 00000000..4bc584e6 --- /dev/null +++ b/buildroot-2022.02.1/package/libhdhomerun/libhdhomerun.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# libhdhomerun +# +################################################################################ + +LIBHDHOMERUN_VERSION = 20210624 +LIBHDHOMERUN_SOURCE = libhdhomerun_$(LIBHDHOMERUN_VERSION).tgz +LIBHDHOMERUN_SITE = http://download.silicondust.com/hdhomerun +LIBHDHOMERUN_LICENSE = LGPL-2.1+ +LIBHDHOMERUN_LICENSE_FILES = LICENSE +LIBHDHOMERUN_INSTALL_STAGING = YES + +define LIBHDHOMERUN_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + CROSS_COMPILE="$(TARGET_CROSS)" -C $(@D) +endef + +define LIBHDHOMERUN_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \ + $(STAGING_DIR)/usr/lib/libhdhomerun.so + mkdir -p $(STAGING_DIR)/usr/include/libhdhomerun/ + $(INSTALL) -m 0644 $(@D)/*.h \ + $(STAGING_DIR)/usr/include/libhdhomerun/ +endef + +define LIBHDHOMERUN_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \ + $(TARGET_DIR)/usr/lib/libhdhomerun.so +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libhid/0001-dont-fiddle-with-debug-flags.patch b/buildroot-2022.02.1/package/libhid/0001-dont-fiddle-with-debug-flags.patch similarity index 100% rename from buildroot-2021.05/package/libhid/0001-dont-fiddle-with-debug-flags.patch rename to buildroot-2022.02.1/package/libhid/0001-dont-fiddle-with-debug-flags.patch diff --git a/buildroot-2021.05/package/libhid/0002-no-newline-in-ldflags.patch b/buildroot-2022.02.1/package/libhid/0002-no-newline-in-ldflags.patch similarity index 100% rename from buildroot-2021.05/package/libhid/0002-no-newline-in-ldflags.patch rename to buildroot-2022.02.1/package/libhid/0002-no-newline-in-ldflags.patch diff --git a/buildroot-2021.05/package/libhid/0003-uclinux.patch b/buildroot-2022.02.1/package/libhid/0003-uclinux.patch similarity index 100% rename from buildroot-2021.05/package/libhid/0003-uclinux.patch rename to buildroot-2022.02.1/package/libhid/0003-uclinux.patch diff --git a/buildroot-2021.05/package/libhid/Config.in b/buildroot-2022.02.1/package/libhid/Config.in similarity index 100% rename from buildroot-2021.05/package/libhid/Config.in rename to buildroot-2022.02.1/package/libhid/Config.in diff --git a/buildroot-2021.05/package/libhid/libhid.hash b/buildroot-2022.02.1/package/libhid/libhid.hash similarity index 100% rename from buildroot-2021.05/package/libhid/libhid.hash rename to buildroot-2022.02.1/package/libhid/libhid.hash diff --git a/buildroot-2021.05/package/libhid/libhid.mk b/buildroot-2022.02.1/package/libhid/libhid.mk similarity index 100% rename from buildroot-2021.05/package/libhid/libhid.mk rename to buildroot-2022.02.1/package/libhid/libhid.mk diff --git a/buildroot-2021.05/package/libhtp/Config.in b/buildroot-2022.02.1/package/libhtp/Config.in similarity index 100% rename from buildroot-2021.05/package/libhtp/Config.in rename to buildroot-2022.02.1/package/libhtp/Config.in diff --git a/buildroot-2022.02.1/package/libhtp/libhtp.hash b/buildroot-2022.02.1/package/libhtp/libhtp.hash new file mode 100644 index 00000000..eae3009c --- /dev/null +++ b/buildroot-2022.02.1/package/libhtp/libhtp.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 d5956b49314fc6a058864130fbcf040a12584ee1e38f3b6ea52aedfa99d4c14a libhtp-0.5.39.tar.gz +sha256 87c93904e5434c81622ea690c2b90097b9f162aaa92a96542649a157dbf98d15 LICENSE diff --git a/buildroot-2022.02.1/package/libhtp/libhtp.mk b/buildroot-2022.02.1/package/libhtp/libhtp.mk new file mode 100644 index 00000000..532eaa34 --- /dev/null +++ b/buildroot-2022.02.1/package/libhtp/libhtp.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# libhtp +# +################################################################################ + +LIBHTP_VERSION = 0.5.39 +LIBHTP_SITE = $(call github,OISF,libhtp,$(LIBHTP_VERSION)) +LIBHTP_LICENSE = BSD-3-Clause +LIBHTP_LICENSE_FILES = LICENSE +LIBHTP_CPE_ID_VENDOR = oisf +LIBHTP_DEPENDENCIES = \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ + zlib +LIBHTP_INSTALL_STAGING = YES +# From git +LIBHTP_AUTORECONF = YES + +# Let our gcc/wrapper handle SSP +LIBHTP_CONF_ENV = NO_STACK_PROTECTOR=true + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libhttpparser/Config.in b/buildroot-2022.02.1/package/libhttpparser/Config.in similarity index 100% rename from buildroot-2021.05/package/libhttpparser/Config.in rename to buildroot-2022.02.1/package/libhttpparser/Config.in diff --git a/buildroot-2021.05/package/libhttpparser/libhttpparser.hash b/buildroot-2022.02.1/package/libhttpparser/libhttpparser.hash similarity index 100% rename from buildroot-2021.05/package/libhttpparser/libhttpparser.hash rename to buildroot-2022.02.1/package/libhttpparser/libhttpparser.hash diff --git a/buildroot-2021.05/package/libhttpparser/libhttpparser.mk b/buildroot-2022.02.1/package/libhttpparser/libhttpparser.mk similarity index 100% rename from buildroot-2021.05/package/libhttpparser/libhttpparser.mk rename to buildroot-2022.02.1/package/libhttpparser/libhttpparser.mk diff --git a/buildroot-2021.05/package/libhttpserver/Config.in b/buildroot-2022.02.1/package/libhttpserver/Config.in similarity index 100% rename from buildroot-2021.05/package/libhttpserver/Config.in rename to buildroot-2022.02.1/package/libhttpserver/Config.in diff --git a/buildroot-2021.05/package/libhttpserver/libhttpserver.hash b/buildroot-2022.02.1/package/libhttpserver/libhttpserver.hash similarity index 100% rename from buildroot-2021.05/package/libhttpserver/libhttpserver.hash rename to buildroot-2022.02.1/package/libhttpserver/libhttpserver.hash diff --git a/buildroot-2021.05/package/libhttpserver/libhttpserver.mk b/buildroot-2022.02.1/package/libhttpserver/libhttpserver.mk similarity index 100% rename from buildroot-2021.05/package/libhttpserver/libhttpserver.mk rename to buildroot-2022.02.1/package/libhttpserver/libhttpserver.mk diff --git a/buildroot-2021.05/package/libiberty/libiberty.hash b/buildroot-2022.02.1/package/libiberty/libiberty.hash similarity index 100% rename from buildroot-2021.05/package/libiberty/libiberty.hash rename to buildroot-2022.02.1/package/libiberty/libiberty.hash diff --git a/buildroot-2021.05/package/libiberty/libiberty.mk b/buildroot-2022.02.1/package/libiberty/libiberty.mk similarity index 100% rename from buildroot-2021.05/package/libiberty/libiberty.mk rename to buildroot-2022.02.1/package/libiberty/libiberty.mk diff --git a/buildroot-2021.05/package/libical/0001-no-tests.patch b/buildroot-2022.02.1/package/libical/0001-no-tests.patch similarity index 100% rename from buildroot-2021.05/package/libical/0001-no-tests.patch rename to buildroot-2022.02.1/package/libical/0001-no-tests.patch diff --git a/buildroot-2021.05/package/libical/0002-icaltypes-c-icalreqstattype_from_string-copy-the-reqstattype.patch b/buildroot-2022.02.1/package/libical/0002-icaltypes-c-icalreqstattype_from_string-copy-the-reqstattype.patch similarity index 100% rename from buildroot-2021.05/package/libical/0002-icaltypes-c-icalreqstattype_from_string-copy-the-reqstattype.patch rename to buildroot-2022.02.1/package/libical/0002-icaltypes-c-icalreqstattype_from_string-copy-the-reqstattype.patch diff --git a/buildroot-2021.05/package/libical/Config.in b/buildroot-2022.02.1/package/libical/Config.in similarity index 100% rename from buildroot-2021.05/package/libical/Config.in rename to buildroot-2022.02.1/package/libical/Config.in diff --git a/buildroot-2021.05/package/libical/libical.hash b/buildroot-2022.02.1/package/libical/libical.hash similarity index 100% rename from buildroot-2021.05/package/libical/libical.hash rename to buildroot-2022.02.1/package/libical/libical.hash diff --git a/buildroot-2021.05/package/libical/libical.mk b/buildroot-2022.02.1/package/libical/libical.mk similarity index 100% rename from buildroot-2021.05/package/libical/libical.mk rename to buildroot-2022.02.1/package/libical/libical.mk diff --git a/buildroot-2021.05/package/libiconv/Config.in b/buildroot-2022.02.1/package/libiconv/Config.in similarity index 100% rename from buildroot-2021.05/package/libiconv/Config.in rename to buildroot-2022.02.1/package/libiconv/Config.in diff --git a/buildroot-2021.05/package/libiconv/libiconv.hash b/buildroot-2022.02.1/package/libiconv/libiconv.hash similarity index 100% rename from buildroot-2021.05/package/libiconv/libiconv.hash rename to buildroot-2022.02.1/package/libiconv/libiconv.hash diff --git a/buildroot-2022.02.1/package/libiconv/libiconv.mk b/buildroot-2022.02.1/package/libiconv/libiconv.mk new file mode 100644 index 00000000..40763a92 --- /dev/null +++ b/buildroot-2022.02.1/package/libiconv/libiconv.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# libiconv +# +################################################################################ + +LIBICONV_VERSION = 1.15 +LIBICONV_SITE = $(BR2_GNU_MIRROR)/libiconv +LIBICONV_INSTALL_STAGING = YES +LIBICONV_LICENSE = GPL-3.0+ (iconv program), LGPL-2.0+ (library) +LIBICONV_LICENSE_FILES = COPYING COPYING.LIB + +ifeq ($(BR2_PACKAGE_LIBICONV_EXTRA_ENCODINGS),y) +LIBICONV_CONF_OPTS += --enable-extra-encodings +endif + +# Don't build the preloadable library, as we don't need it (it's only +# for LD_PRELOAD to replace glibc's iconv, but we never build libiconv +# when glibc is used). And it causes problems for static only builds. +define LIBICONV_DISABLE_PRELOAD + $(SED) '/preload/d' $(@D)/Makefile.in +endef +LIBICONV_PRE_CONFIGURE_HOOKS += LIBICONV_DISABLE_PRELOAD + +$(eval $(autotools-package)) + +# Configurations where the toolchain supports locales and the libiconv +# package is enabled are incorrect, because the toolchain already +# provides libiconv functionality, and having both confuses packages. +ifeq ($(BR2_PACKAGE_LIBICONV)$(BR2_ENABLE_LOCALE),yy) +$(error Libiconv should never be enabled when the toolchain supports locales. Report this failure to Buildroot developers) +endif diff --git a/buildroot-2021.05/package/libid3tag/Config.in b/buildroot-2022.02.1/package/libid3tag/Config.in similarity index 100% rename from buildroot-2021.05/package/libid3tag/Config.in rename to buildroot-2022.02.1/package/libid3tag/Config.in diff --git a/buildroot-2021.05/package/libid3tag/id3tag.pc b/buildroot-2022.02.1/package/libid3tag/id3tag.pc similarity index 100% rename from buildroot-2021.05/package/libid3tag/id3tag.pc rename to buildroot-2022.02.1/package/libid3tag/id3tag.pc diff --git a/buildroot-2021.05/package/libid3tag/libid3tag.hash b/buildroot-2022.02.1/package/libid3tag/libid3tag.hash similarity index 100% rename from buildroot-2021.05/package/libid3tag/libid3tag.hash rename to buildroot-2022.02.1/package/libid3tag/libid3tag.hash diff --git a/buildroot-2021.05/package/libid3tag/libid3tag.mk b/buildroot-2022.02.1/package/libid3tag/libid3tag.mk similarity index 100% rename from buildroot-2021.05/package/libid3tag/libid3tag.mk rename to buildroot-2022.02.1/package/libid3tag/libid3tag.mk diff --git a/buildroot-2021.05/package/libidn/Config.in b/buildroot-2022.02.1/package/libidn/Config.in similarity index 100% rename from buildroot-2021.05/package/libidn/Config.in rename to buildroot-2022.02.1/package/libidn/Config.in diff --git a/buildroot-2022.02.1/package/libidn/libidn.hash b/buildroot-2022.02.1/package/libidn/libidn.hash new file mode 100644 index 00000000..c6cd668b --- /dev/null +++ b/buildroot-2022.02.1/package/libidn/libidn.hash @@ -0,0 +1,7 @@ +# Locally computed: +sha256 de00b840f757cd3bb14dd9a20d5936473235ddcba06d4bc2da804654b8bbf0f6 libidn-1.38.tar.gz + +# Hash for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYINGv3 +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING.LESSERv3 diff --git a/buildroot-2022.02.1/package/libidn/libidn.mk b/buildroot-2022.02.1/package/libidn/libidn.mk new file mode 100644 index 00000000..4a400d19 --- /dev/null +++ b/buildroot-2022.02.1/package/libidn/libidn.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# libidn +# +################################################################################ + +LIBIDN_VERSION = 1.38 +LIBIDN_SITE = $(BR2_GNU_MIRROR)/libidn +LIBIDN_INSTALL_STAGING = YES +LIBIDN_CONF_ENV = EMACS="no" MAKEINFO=true +LIBIDN_CONF_OPTS = --disable-java --enable-csharp=no +LIBIDN_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBIDN_LICENSE = GPL-2.0+, GPL-3.0+, LGPL-3.0+ +LIBIDN_LICENSE_FILES = COPYINGv2 COPYINGv3 COPYING.LESSERv3 +LIBIDN_CPE_ID_VENDOR = gnu + +define LIBIDN_REMOVE_BINARY + rm -f $(TARGET_DIR)/usr/bin/idn +endef + +ifneq ($(BR2_PACKAGE_LIBIDN_BINARY),y) +LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_BINARY +endif + +define LIBIDN_REMOVE_EMACS_STUFF + rm -rf $(TARGET_DIR)/usr/share/emacs +endef + +LIBIDN_POST_INSTALL_TARGET_HOOKS += LIBIDN_REMOVE_EMACS_STUFF + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libidn2/Config.in b/buildroot-2022.02.1/package/libidn2/Config.in similarity index 100% rename from buildroot-2021.05/package/libidn2/Config.in rename to buildroot-2022.02.1/package/libidn2/Config.in diff --git a/buildroot-2022.02.1/package/libidn2/libidn2.hash b/buildroot-2022.02.1/package/libidn2/libidn2.hash new file mode 100644 index 00000000..bc96d7e1 --- /dev/null +++ b/buildroot-2022.02.1/package/libidn2/libidn2.hash @@ -0,0 +1,8 @@ +# Calculated locally after checking signature +sha256 76940cd4e778e8093579a9d195b25fff5e936e9dc6242068528b437a76764f91 libidn2-2.3.2.tar.gz + +# Hash for license files: +sha256 73483f797a83373fca1b968c11785b98c4fc4803cdc7d3210811ca8b075d6d76 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2 +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING.LESSERv3 +sha256 01d621eef165cf4d3d3dbb737aa0699178d94c6f18cf87e9dde6db3ca7790f46 COPYING.unicode diff --git a/buildroot-2022.02.1/package/libidn2/libidn2.mk b/buildroot-2022.02.1/package/libidn2/libidn2.mk new file mode 100644 index 00000000..19fbe4aa --- /dev/null +++ b/buildroot-2022.02.1/package/libidn2/libidn2.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# libidn2 +# +################################################################################ + +LIBIDN2_VERSION = 2.3.2 +LIBIDN2_SITE = $(BR2_GNU_MIRROR)/libidn +LIBIDN2_LICENSE = GPL-2.0+ or LGPL-3.0+ (library) +LIBIDN2_LICENSE_FILES = COPYING COPYINGv2 COPYING.LESSERv3 COPYING.unicode +LIBIDN2_CPE_ID_VENDOR = gnu +LIBIDN2_DEPENDENCIES = \ + host-pkgconf \ + $(TARGET_NLS_DEPENDENCIES) \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBIDN2_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_LIBUNISTRING),y) +LIBIDN2_DEPENDENCIES += libunistring +endif + +ifeq ($(BR2_PACKAGE_LIBIDN2_BINARY),) +define LIBIDN2_REMOVE_BINARY + rm -f $(TARGET_DIR)/usr/bin/idn2 +endef +LIBIDN2_POST_INSTALL_TARGET_HOOKS += LIBIDN2_REMOVE_BINARY +else +LIBIDN2_LICENSE += , GPL-3.0+ (program) +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libiec61850/Config.in b/buildroot-2022.02.1/package/libiec61850/Config.in similarity index 100% rename from buildroot-2021.05/package/libiec61850/Config.in rename to buildroot-2022.02.1/package/libiec61850/Config.in diff --git a/buildroot-2022.02.1/package/libiec61850/libiec61850.hash b/buildroot-2022.02.1/package/libiec61850/libiec61850.hash new file mode 100644 index 00000000..a416ecdb --- /dev/null +++ b/buildroot-2022.02.1/package/libiec61850/libiec61850.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b6d7ffac831e7d9aec3470e45e2f1734071859c95cab4cfe99ffd1091776b3cc libiec61850-1.5.1.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/libiec61850/libiec61850.mk b/buildroot-2022.02.1/package/libiec61850/libiec61850.mk new file mode 100644 index 00000000..9bd55cb7 --- /dev/null +++ b/buildroot-2022.02.1/package/libiec61850/libiec61850.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libiec61850 +# +################################################################################ + +LIBIEC61850_VERSION = 1.5.1 +LIBIEC61850_SITE = https://libiec61850.com/wp-content/uploads/2022/03 +LIBIEC61850_INSTALL_STAGING = YES +LIBIEC61850_LICENSE = GPL-3.0+ +LIBIEC61850_LICENSE_FILES = COPYING +LIBIEC61850_CPE_ID_VENDOR = mz-automation +LIBIEC61850_CONF_OPTS = -DBUILD_PYTHON_BINDINGS=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/libiio/0001-C-public-fields-with-getters-setters-cannot-be-marked-readonly.patch b/buildroot-2022.02.1/package/libiio/0001-C-public-fields-with-getters-setters-cannot-be-marked-readonly.patch new file mode 100644 index 00000000..a665d483 --- /dev/null +++ b/buildroot-2022.02.1/package/libiio/0001-C-public-fields-with-getters-setters-cannot-be-marked-readonly.patch @@ -0,0 +1,32 @@ +From 85bf9cd32138539252ed01c355cf766612cf47c9 Mon Sep 17 00:00:00 2001 +From: Paul Cercueil +Date: Thu, 2 Sep 2021 11:04:21 +0100 +Subject: [PATCH] C#: public fields with getters/setters cannot be marked + readonly + +MSVC would fail with the following error: +error CS0106: The modifier 'readonly' is not valid for this item + +Reported-by: Raluca Chis +Signed-off-by: Paul Cercueil + +[Retrieved from: +https://github.com/analogdevicesinc/libiio/commit/85bf9cd32138539252ed01c355cf766612cf47c9] +Signed-off-by: Fabrice Fontaine +--- + bindings/csharp/Device.cs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/bindings/csharp/Device.cs b/bindings/csharp/Device.cs +index 96214243f..6c8c8f4f3 100644 +--- a/bindings/csharp/Device.cs ++++ b/bindings/csharp/Device.cs +@@ -208,7 +208,7 @@ public override void write(string str) + public readonly string name; + + ///

The label of this device. +- public readonly string label { get; private set; } ++ public string label { get; private set; } + + /// A list of all the attributes that this device has. + public readonly List attrs; diff --git a/buildroot-2022.02.1/package/libiio/Config.in b/buildroot-2022.02.1/package/libiio/Config.in new file mode 100644 index 00000000..98d663e2 --- /dev/null +++ b/buildroot-2022.02.1/package/libiio/Config.in @@ -0,0 +1,98 @@ +config BR2_PACKAGE_LIBIIO + bool "libiio" + select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND if !BR2_PACKAGE_LIBIIO_XML_BACKEND + help + Libiio is a library to ease the development of software + interfacing Linux Industrial I/O (IIO) devices. + + http://wiki.analog.com/resources/tools-software/linux-software/libiio + +if BR2_PACKAGE_LIBIIO + +config BR2_PACKAGE_LIBIIO_LOCAL_BACKEND + bool "Local backend" + default y + help + Enable the local backend of the library. + +config BR2_PACKAGE_LIBIIO_XML_BACKEND + bool "XML backend" + default y + select BR2_PACKAGE_LIBXML2 + help + Enable the XML backend of the library. + +config BR2_PACKAGE_LIBIIO_NETWORK_BACKEND + bool "Network backend" + default y + select BR2_PACKAGE_LIBIIO_XML_BACKEND + help + Enable the network backend of the library. + +config BR2_PACKAGE_LIBIIO_USB_BACKEND + bool "USB backend" + default y + depends on BR2_TOOLCHAIN_HAS_THREADS # from libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBIIO_XML_BACKEND + select BR2_PACKAGE_LIBUSB + help + Enable the USB backend of the library. + +comment "The USB backend needs a toolchain w/ threads, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_LIBIIO_SERIAL_BACKEND + bool "Serial backend" + default y + select BR2_PACKAGE_LIBIIO_XML_BACKEND + select BR2_PACKAGE_LIBSERIALPORT + help + Enable the serial backend of the library. + +config BR2_PACKAGE_LIBIIO_IIOD + bool "IIO Daemon" + default y + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBIIO_LOCAL_BACKEND + help + Install the IIO Daemon. + +config BR2_PACKAGE_LIBIIO_IIOD_USBD + bool "USB support in the IIO Daemon (FunctionFS)" + depends on BR2_PACKAGE_LIBIIO_IIOD + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # usb_functionfs_descs_head_v2 + select BR2_PACKAGE_LIBAIO + help + Add support for USB through FunctionFS with IIOD. + +comment "USB support in the IIO Daemon requires headers >= 3.18" + depends on BR2_PACKAGE_LIBIIO_IIOD + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +comment "IIO Daemon needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_LIBIIO_TESTS + bool "Install test programs" + depends on BR2_TOOLCHAIN_HAS_THREADS + help + Install the test programs (iio_info, iio_genxml, iio_readdev). + +comment "IIO test programs need a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP + bool "Install C# bindings" + depends on BR2_PACKAGE_MONO + help + Install the C# bindings. + +config BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON + bool "Install Python bindings" + depends on BR2_PACKAGE_PYTHON3 + help + Install the Python bindings. + +endif diff --git a/buildroot-2021.05/package/libiio/S99iiod b/buildroot-2022.02.1/package/libiio/S99iiod similarity index 100% rename from buildroot-2021.05/package/libiio/S99iiod rename to buildroot-2022.02.1/package/libiio/S99iiod diff --git a/buildroot-2022.02.1/package/libiio/libiio.hash b/buildroot-2022.02.1/package/libiio/libiio.hash new file mode 100644 index 00000000..b0a901ca --- /dev/null +++ b/buildroot-2022.02.1/package/libiio/libiio.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 df1577740ea93dca732e7d7c04786600cb083117901dee793f3d38980754af00 libiio-0.23.tar.gz +sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b COPYING.txt diff --git a/buildroot-2022.02.1/package/libiio/libiio.mk b/buildroot-2022.02.1/package/libiio/libiio.mk new file mode 100644 index 00000000..cfae34b2 --- /dev/null +++ b/buildroot-2022.02.1/package/libiio/libiio.mk @@ -0,0 +1,108 @@ +################################################################################ +# +# libiio +# +################################################################################ + +LIBIIO_VERSION = 0.23 +LIBIIO_SITE = $(call github,analogdevicesinc,libiio,v$(LIBIIO_VERSION)) +LIBIIO_INSTALL_STAGING = YES +LIBIIO_LICENSE = LGPL-2.1+ +LIBIIO_LICENSE_FILES = COPYING.txt + +LIBIIO_CONF_OPTS = -DENABLE_IPV6=ON \ + -DWITH_LOCAL_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_LOCAL_BACKEND),ON,OFF) \ + -DWITH_NETWORK_BACKEND=$(if $(BR2_PACKAGE_LIBIIO_NETWORK_BACKEND),ON,OFF) \ + -DINSTALL_UDEV_RULE=$(if $(BR2_PACKAGE_HAS_UDEV),ON,OFF) \ + -DWITH_TESTS=$(if $(BR2_PACKAGE_LIBIIO_TESTS),ON,OFF) \ + -DWITH_DOC=OFF + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBIIO_CONF_OPTS += -DNO_THREADS=OFF +else +LIBIIO_CONF_OPTS += -DNO_THREADS=ON +endif + +ifeq ($(BR2_PACKAGE_LIBIIO_XML_BACKEND),y) +LIBIIO_DEPENDENCIES += libxml2 +LIBIIO_CONF_OPTS += -DWITH_XML_BACKEND=ON +else +LIBIIO_CONF_OPTS += -DWITH_XML_BACKEND=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBIIO_USB_BACKEND),y) +LIBIIO_DEPENDENCIES += libusb +LIBIIO_CONF_OPTS += -DWITH_USB_BACKEND=ON +else +LIBIIO_CONF_OPTS += -DWITH_USB_BACKEND=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBIIO_SERIAL_BACKEND),y) +LIBIIO_DEPENDENCIES += libserialport +LIBIIO_CONF_OPTS += -DWITH_SERIAL_BACKEND=ON +else +LIBIIO_CONF_OPTS += -DWITH_SERIAL_BACKEND=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBIIO_IIOD),y) +LIBIIO_DEPENDENCIES += host-flex host-bison +LIBIIO_CONF_OPTS += -DWITH_IIOD=ON +else +LIBIIO_CONF_OPTS += -DWITH_IIOD=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBIIO_IIOD_USBD),y) +LIBIIO_DEPENDENCIES += libaio +LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=ON +else +LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBAIO),y) +LIBIIO_DEPENDENCIES += libaio +LIBIIO_CONF_OPTS += -DWITH_AIO=ON +else +LIBIIO_CONF_OPTS += -DWITH_AIO=OFF +endif + +ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y) +LIBIIO_DEPENDENCIES += avahi +LIBIIO_CONF_OPTS += -DHAVE_DNS_SD=ON +else +LIBIIO_CONF_OPTS += -DHAVE_DNS_SD=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_PYTHON),y) +LIBIIO_DEPENDENCIES += host-python-setuptools python3 +LIBIIO_CONF_OPTS += \ + -DPYTHON_BINDINGS=ON \ + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 +else +LIBIIO_CONF_OPTS += -DPYTHON_BINDINGS=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBIIO_BINDINGS_CSHARP),y) +define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET + $(HOST_DIR)/bin/gacutil -root $(TARGET_DIR)/usr/lib -i \ + $(TARGET_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll +endef +define LIBIIO_INSTALL_CSHARP_BINDINGS_TO_STAGING + $(HOST_DIR)/bin/gacutil -root $(STAGING_DIR)/usr/lib -i \ + $(STAGING_DIR)/usr/lib/cli/libiio-sharp-$(LIBIIO_VERSION)/libiio-sharp.dll +endef +LIBIIO_POST_INSTALL_TARGET_HOOKS += LIBIIO_INSTALL_CSHARP_BINDINGS_TO_TARGET +LIBIIO_POST_INSTALL_STAGING_HOOKS += LIBIIO_INSTALL_CSHARP_BINDINGS_TO_STAGING +LIBIIO_DEPENDENCIES += mono +LIBIIO_CONF_OPTS += -DCSHARP_BINDINGS=ON +else +LIBIIO_CONF_OPTS += -DCSHARP_BINDINGS=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBIIO_IIOD),y) +define LIBIIO_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/libiio/S99iiod \ + $(TARGET_DIR)/etc/init.d/S99iiod +endef +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libilbc/Config.in b/buildroot-2022.02.1/package/libilbc/Config.in similarity index 100% rename from buildroot-2021.05/package/libilbc/Config.in rename to buildroot-2022.02.1/package/libilbc/Config.in diff --git a/buildroot-2021.05/package/libilbc/libilbc.hash b/buildroot-2022.02.1/package/libilbc/libilbc.hash similarity index 100% rename from buildroot-2021.05/package/libilbc/libilbc.hash rename to buildroot-2022.02.1/package/libilbc/libilbc.hash diff --git a/buildroot-2021.05/package/libilbc/libilbc.mk b/buildroot-2022.02.1/package/libilbc/libilbc.mk similarity index 100% rename from buildroot-2021.05/package/libilbc/libilbc.mk rename to buildroot-2022.02.1/package/libilbc/libilbc.mk diff --git a/buildroot-2021.05/package/libimxvpuapi/Config.in b/buildroot-2022.02.1/package/libimxvpuapi/Config.in similarity index 100% rename from buildroot-2021.05/package/libimxvpuapi/Config.in rename to buildroot-2022.02.1/package/libimxvpuapi/Config.in diff --git a/buildroot-2021.05/package/libimxvpuapi/libimxvpuapi.hash b/buildroot-2022.02.1/package/libimxvpuapi/libimxvpuapi.hash similarity index 100% rename from buildroot-2021.05/package/libimxvpuapi/libimxvpuapi.hash rename to buildroot-2022.02.1/package/libimxvpuapi/libimxvpuapi.hash diff --git a/buildroot-2022.02.1/package/libimxvpuapi/libimxvpuapi.mk b/buildroot-2022.02.1/package/libimxvpuapi/libimxvpuapi.mk new file mode 100644 index 00000000..d8f214b9 --- /dev/null +++ b/buildroot-2022.02.1/package/libimxvpuapi/libimxvpuapi.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libimxvpuapi +# +################################################################################ + +LIBIMXVPUAPI_VERSION = 0.10.3 +LIBIMXVPUAPI_SITE = $(call github,Freescale,libimxvpuapi,$(LIBIMXVPUAPI_VERSION)) +LIBIMXVPUAPI_LICENSE = LGPL-2.1+ +LIBIMXVPUAPI_LICENSE_FILES = LICENSE +LIBIMXVPUAPI_DEPENDENCIES = host-pkgconf host-python3 imx-vpu +LIBIMXVPUAPI_INSTALL_STAGING = YES +LIBIMXVPUAPI_NEEDS_EXTERNAL_WAF = YES + +$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/libinput/Config.in b/buildroot-2022.02.1/package/libinput/Config.in similarity index 100% rename from buildroot-2021.05/package/libinput/Config.in rename to buildroot-2022.02.1/package/libinput/Config.in diff --git a/buildroot-2022.02.1/package/libinput/libinput.hash b/buildroot-2022.02.1/package/libinput/libinput.hash new file mode 100644 index 00000000..f18a7278 --- /dev/null +++ b/buildroot-2022.02.1/package/libinput/libinput.hash @@ -0,0 +1,6 @@ +# From https://lists.freedesktop.org/archives/wayland-devel/2021-December/042068.html +sha256 3cae78ccde19d7d0f387e58bc734d4d17ab5f6426f54a9e8b728c90b17baa068 libinput-1.19.3.tar.xz +sha512 f4b776d0da78c687ba21b430a04941ac6b43f68970c82ec9f7360358fdea5ed6a873948ce66a25bcdd64d4b95fa4bf705cc24dbc25c7c0f5fd2d0efbd763f298 libinput-1.19.3.tar.xz + +# License files +sha256 80de50b2022a840db044c56db804ca3565600a692c0714babface587acc6d1b0 COPYING diff --git a/buildroot-2022.02.1/package/libinput/libinput.mk b/buildroot-2022.02.1/package/libinput/libinput.mk new file mode 100644 index 00000000..2f9c639c --- /dev/null +++ b/buildroot-2022.02.1/package/libinput/libinput.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# libinput +# +################################################################################ + +LIBINPUT_VERSION = 1.19.3 +LIBINPUT_SOURCE = libinput-$(LIBINPUT_VERSION).tar.xz +LIBINPUT_SITE = http://www.freedesktop.org/software/libinput +LIBINPUT_DEPENDENCIES = host-pkgconf libevdev mtdev udev +LIBINPUT_INSTALL_STAGING = YES +LIBINPUT_LICENSE = MIT +LIBINPUT_LICENSE_FILES = COPYING +# Tests need fork, so just disable them everywhere. +LIBINPUT_CONF_OPTS = -Dtests=false -Dlibwacom=false -Ddocumentation=false + +ifeq ($(BR2_PACKAGE_LIBGTK3),y) +LIBINPUT_CONF_OPTS += -Ddebug-gui=true +LIBINPUT_DEPENDENCIES += libgtk3 +ifeq ($(BR2_PACKAGE_WAYLAND),y) +LIBINPUT_DEPENDENCIES += wayland +endif +ifeq ($(BR2_PACKAGE_WAYLAND_PROTOCOLS),y) +LIBINPUT_DEPENDENCIES += wayland-protocols +endif +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +LIBINPUT_DEPENDENCIES += xlib_libX11 +endif +else +LIBINPUT_CONF_OPTS += -Ddebug-gui=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch b/buildroot-2022.02.1/package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch new file mode 100644 index 00000000..7f460c13 --- /dev/null +++ b/buildroot-2022.02.1/package/libiqrf/0001-cmake-handle-static-library-and-find-required-thread.patch @@ -0,0 +1,45 @@ +From 46660112b76664473cc98b8ae6c863fd27c27d2d Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Fri, 29 Aug 2014 23:40:59 +0200 +Subject: [PATCH] cmake: handle static library and find required thread + module + +Signed-off-by: Samuel Martin +--- + CMakeLists.txt | 2 ++ + src/CMakeLists.txt | 4 +++- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 79f644c..7779a2a 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,7 +6,9 @@ enable_testing() + # use local module (for Findlibusb-1.0.cmake) + set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/") + ++find_package(Threads REQUIRED) + find_package(libusb-1.0 REQUIRED) ++ + if (NOT LIBUSB_1_FOUND) + message(FATAL_ERROR "libusb-1.0 not installed. (try apt-get install libusb-1.0-0-dev)") + endif (NOT LIBUSB_1_FOUND) +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 149d198..0597ccd 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -18,8 +18,10 @@ set (iqrf_sources + + include_directories ("${LIBUSB_1_INCLUDE_DIRS}") + +-add_library(iqrf SHARED ${iqrf_sources} ${iqrf_headers}) ++add_library(iqrf ${iqrf_sources} ${iqrf_headers}) ++ + target_link_libraries(iqrf ${LIBUSB_1_LIBRARIES}) ++target_link_libraries(iqrf ${CMAKE_THREAD_LIBS_INIT}) + + set_target_properties(iqrf PROPERTIES + VERSION "${iqrf_version_major}.${iqrf_version_minor}" +-- +2.1.0 + diff --git a/buildroot-2021.05/package/libiqrf/0002-use-only-c-language.patch b/buildroot-2022.02.1/package/libiqrf/0002-use-only-c-language.patch similarity index 100% rename from buildroot-2021.05/package/libiqrf/0002-use-only-c-language.patch rename to buildroot-2022.02.1/package/libiqrf/0002-use-only-c-language.patch diff --git a/buildroot-2021.05/package/libiqrf/Config.in b/buildroot-2022.02.1/package/libiqrf/Config.in similarity index 100% rename from buildroot-2021.05/package/libiqrf/Config.in rename to buildroot-2022.02.1/package/libiqrf/Config.in diff --git a/buildroot-2021.05/package/libiqrf/libiqrf.hash b/buildroot-2022.02.1/package/libiqrf/libiqrf.hash similarity index 100% rename from buildroot-2021.05/package/libiqrf/libiqrf.hash rename to buildroot-2022.02.1/package/libiqrf/libiqrf.hash diff --git a/buildroot-2021.05/package/libiqrf/libiqrf.mk b/buildroot-2022.02.1/package/libiqrf/libiqrf.mk similarity index 100% rename from buildroot-2021.05/package/libiqrf/libiqrf.mk rename to buildroot-2022.02.1/package/libiqrf/libiqrf.mk diff --git a/buildroot-2021.05/package/libiscsi/Config.in b/buildroot-2022.02.1/package/libiscsi/Config.in similarity index 100% rename from buildroot-2021.05/package/libiscsi/Config.in rename to buildroot-2022.02.1/package/libiscsi/Config.in diff --git a/buildroot-2021.05/package/libiscsi/libiscsi.hash b/buildroot-2022.02.1/package/libiscsi/libiscsi.hash similarity index 100% rename from buildroot-2021.05/package/libiscsi/libiscsi.hash rename to buildroot-2022.02.1/package/libiscsi/libiscsi.hash diff --git a/buildroot-2021.05/package/libiscsi/libiscsi.mk b/buildroot-2022.02.1/package/libiscsi/libiscsi.mk similarity index 100% rename from buildroot-2021.05/package/libiscsi/libiscsi.mk rename to buildroot-2022.02.1/package/libiscsi/libiscsi.mk diff --git a/buildroot-2021.05/package/libite/Config.in b/buildroot-2022.02.1/package/libite/Config.in similarity index 100% rename from buildroot-2021.05/package/libite/Config.in rename to buildroot-2022.02.1/package/libite/Config.in diff --git a/buildroot-2022.02.1/package/libite/libite.hash b/buildroot-2022.02.1/package/libite/libite.hash new file mode 100644 index 00000000..1dec65bd --- /dev/null +++ b/buildroot-2022.02.1/package/libite/libite.hash @@ -0,0 +1,7 @@ +# Upstream .sha256 from GitHub +sha256 5278fa0ca933727c78f4e05082cea58256d9302afac30bad0c3760cf2a18ef8f libite-2.5.1.tar.xz + +# Locally calculated +sha256 20db0601195f708d68ff7907907b3cd3b25808efa8332e064b11f00c839a5d2f LICENSE +sha256 c2882adb51555b836f35babc59f618d9ddceadcaa2d1dc80bbd4699614d2cd14 src/chomp.c +sha256 bff7fa7b74324f13a24d56ebb8b49bc9c63ea01836a1c8b5a6afcbbabed62918 src/pidfile.c diff --git a/buildroot-2022.02.1/package/libite/libite.mk b/buildroot-2022.02.1/package/libite/libite.mk new file mode 100644 index 00000000..185ffe77 --- /dev/null +++ b/buildroot-2022.02.1/package/libite/libite.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libite +# +################################################################################ + +LIBITE_VERSION = 2.5.1 +LIBITE_SOURCE = libite-$(LIBITE_VERSION).tar.xz +LIBITE_SITE = https://github.com/troglobit/libite/releases/download/v$(LIBITE_VERSION) +LIBITE_LICENSE = MIT, X11, ISC, BSD-2-Clause +LIBITE_LICENSE_FILES = LICENSE src/chomp.c src/pidfile.c +LIBITE_INSTALL_STAGING = YES +LIBITE_CONF_OPTS = --without-symlink + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libjpeg/libjpeg.hash b/buildroot-2022.02.1/package/libjpeg/libjpeg.hash new file mode 100644 index 00000000..1a2e82ca --- /dev/null +++ b/buildroot-2022.02.1/package/libjpeg/libjpeg.hash @@ -0,0 +1,3 @@ +# locally computed hash +sha256 4077d6a6a75aeb01884f708919d25934c93305e49f7e3f36db9129320e6f4f3d jpegsrc.v9e.tar.gz +sha256 50c1c5978d490c7f13062d91c4b89affc83774f87bc4568a714f748b62a5b216 README diff --git a/buildroot-2022.02.1/package/libjpeg/libjpeg.mk b/buildroot-2022.02.1/package/libjpeg/libjpeg.mk new file mode 100644 index 00000000..caf7f05f --- /dev/null +++ b/buildroot-2022.02.1/package/libjpeg/libjpeg.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# libjpeg +# +################################################################################ + +LIBJPEG_VERSION = 9e +LIBJPEG_SITE = http://www.ijg.org/files +LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz +LIBJPEG_LICENSE = IJG +LIBJPEG_LICENSE_FILES = README +LIBJPEG_INSTALL_STAGING = YES +LIBJPEG_CPE_ID_VENDOR = ijg +LIBJPEG_PROVIDES = jpeg + +define LIBJPEG_REMOVE_USELESS_TOOLS + rm -f $(addprefix $(TARGET_DIR)/usr/bin/,cjpeg djpeg jpegtran rdjpgcom wrjpgcom) +endef + +LIBJPEG_POST_INSTALL_TARGET_HOOKS += LIBJPEG_REMOVE_USELESS_TOOLS + +define LIBJPEG_INSTALL_STAGING_PC + $(INSTALL) -D -m 0644 package/libjpeg/libjpeg.pc.in \ + $(STAGING_DIR)/usr/lib/pkgconfig/libjpeg.pc + version=`sed -e '/^PACKAGE_VERSION/!d;s/PACKAGE_VERSION = \(.*\)/\1/' $(@D)/Makefile` ; \ + $(SED) "s/@PACKAGE_VERSION@/$${version}/" $(STAGING_DIR)/usr/lib/pkgconfig/libjpeg.pc +endef + +LIBJPEG_POST_INSTALL_STAGING_HOOKS += LIBJPEG_INSTALL_STAGING_PC + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libjpeg/libjpeg.pc.in b/buildroot-2022.02.1/package/libjpeg/libjpeg.pc.in similarity index 100% rename from buildroot-2021.05/package/libjpeg/libjpeg.pc.in rename to buildroot-2022.02.1/package/libjpeg/libjpeg.pc.in diff --git a/buildroot-2021.05/package/libjson/0001-fix-broken-makefile.patch b/buildroot-2022.02.1/package/libjson/0001-fix-broken-makefile.patch similarity index 100% rename from buildroot-2021.05/package/libjson/0001-fix-broken-makefile.patch rename to buildroot-2022.02.1/package/libjson/0001-fix-broken-makefile.patch diff --git a/buildroot-2021.05/package/libjson/Config.in b/buildroot-2022.02.1/package/libjson/Config.in similarity index 100% rename from buildroot-2021.05/package/libjson/Config.in rename to buildroot-2022.02.1/package/libjson/Config.in diff --git a/buildroot-2021.05/package/libjson/libjson.hash b/buildroot-2022.02.1/package/libjson/libjson.hash similarity index 100% rename from buildroot-2021.05/package/libjson/libjson.hash rename to buildroot-2022.02.1/package/libjson/libjson.hash diff --git a/buildroot-2022.02.1/package/libjson/libjson.mk b/buildroot-2022.02.1/package/libjson/libjson.mk new file mode 100644 index 00000000..73268c9c --- /dev/null +++ b/buildroot-2022.02.1/package/libjson/libjson.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# libjson +# +################################################################################ + +LIBJSON_VERSION = 7.6.1 +LIBJSON_SITE = http://downloads.sourceforge.net/project/libjson +LIBJSON_SOURCE = libjson_$(LIBJSON_VERSION).zip +LIBJSON_INSTALL_STAGING = YES +LIBJSON_LICENSE = BSD-2-Clause +LIBJSON_LICENSE_FILES = License.txt + +LIBJSON_CXXFLAGS = $(TARGET_CFLAGS) -DNDEBUG -std=c++11 + +ifeq ($(BR2_STATIC_LIBS),y) +LIBJSON_MAKE_OPTS += SHARED=0 +else +LIBJSON_MAKE_OPTS += SHARED=1 +LIBJSON_CXXFLAGS += -fPIC +endif + +LIBJSON_MAKE_OPTS += BUILD_TYPE= CXXFLAGS="$(LIBJSON_CXXFLAGS)" + +define LIBJSON_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(LIBJSON_DL_DIR)/$(LIBJSON_SOURCE) + mv $(@D)/libjson/* $(@D) + $(RM) -r $(@D)/libjson + $(SED) '/ldconfig/d' $(@D)/makefile +endef + +define LIBJSON_BUILD_CMDS + mkdir -p $(@D)/Objects_$(if $(BR2_STATIC_LIBS),static,shared) \ + $(@D)/_internal/Source/Dependencies + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + $(LIBJSON_MAKE_OPTS) -C $(@D) +endef + +define LIBJSON_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + $(LIBJSON_MAKE_OPTS) prefix=$(TARGET_DIR)/usr install -C $(@D) +endef + +define LIBJSON_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + $(LIBJSON_MAKE_OPTS) prefix=$(STAGING_DIR)/usr install -C $(@D) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch b/buildroot-2022.02.1/package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch similarity index 100% rename from buildroot-2021.05/package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch rename to buildroot-2022.02.1/package/libkcapi/0001-Disable-use-of-__NR_io_getevents-when-not-defined.patch diff --git a/buildroot-2021.05/package/libkcapi/Config.in b/buildroot-2022.02.1/package/libkcapi/Config.in similarity index 100% rename from buildroot-2021.05/package/libkcapi/Config.in rename to buildroot-2022.02.1/package/libkcapi/Config.in diff --git a/buildroot-2021.05/package/libkcapi/libkcapi.hash b/buildroot-2022.02.1/package/libkcapi/libkcapi.hash similarity index 100% rename from buildroot-2021.05/package/libkcapi/libkcapi.hash rename to buildroot-2022.02.1/package/libkcapi/libkcapi.hash diff --git a/buildroot-2021.05/package/libkcapi/libkcapi.mk b/buildroot-2022.02.1/package/libkcapi/libkcapi.mk similarity index 100% rename from buildroot-2021.05/package/libkcapi/libkcapi.mk rename to buildroot-2022.02.1/package/libkcapi/libkcapi.mk diff --git a/buildroot-2022.02.1/package/libkrb5/0001-Fix-KDC-null-deref-on-TGS-inner-body-null-server.patch b/buildroot-2022.02.1/package/libkrb5/0001-Fix-KDC-null-deref-on-TGS-inner-body-null-server.patch new file mode 100644 index 00000000..ec6f6233 --- /dev/null +++ b/buildroot-2022.02.1/package/libkrb5/0001-Fix-KDC-null-deref-on-TGS-inner-body-null-server.patch @@ -0,0 +1,47 @@ +From d775c95af7606a51bf79547a94fa52ddd1cb7f49 Mon Sep 17 00:00:00 2001 +From: Greg Hudson +Date: Tue, 3 Aug 2021 01:15:27 -0400 +Subject: [PATCH] Fix KDC null deref on TGS inner body null server + +After the KDC decodes a FAST inner body, it does not check for a null +server. Prior to commit 39548a5b17bbda9eeb63625a201cfd19b9de1c5b this +would typically result in an error from krb5_unparse_name(), but with +the addition of get_local_tgt() it results in a null dereference. Add +a null check. + +Reported by Joseph Sutton of Catalyst. + +CVE-2021-37750: + +In MIT krb5 releases 1.14 and later, an authenticated attacker can +cause a null dereference in the KDC by sending a FAST TGS request with +no server field. + +ticket: 9008 (new) +tags: pullup +target_version: 1.19-next +target_version: 1.18-next + +[Retrieved from: +https://github.com/krb5/krb5/commit/d775c95af7606a51bf79547a94fa52ddd1cb7f49] +Signed-off-by: Fabrice Fontaine +--- + src/kdc/do_tgs_req.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c +index 582e497cc9..32dc65fa8e 100644 +--- a/src/kdc/do_tgs_req.c ++++ b/src/kdc/do_tgs_req.c +@@ -204,6 +204,11 @@ process_tgs_req(krb5_kdc_req *request, krb5_data *pkt, + status = "FIND_FAST"; + goto cleanup; + } ++ if (sprinc == NULL) { ++ status = "NULL_SERVER"; ++ errcode = KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN; ++ goto cleanup; ++ } + + errcode = get_local_tgt(kdc_context, &sprinc->realm, header_server, + &local_tgt, &local_tgt_storage, &local_tgt_key); diff --git a/buildroot-2022.02.1/package/libkrb5/Config.in b/buildroot-2022.02.1/package/libkrb5/Config.in new file mode 100644 index 00000000..3357d4ad --- /dev/null +++ b/buildroot-2022.02.1/package/libkrb5/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_LIBKRB5 + bool "libkrb5" + # needs fork() + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + help + Kerberos is a system for authenticating users and services + on a network. Kerberos is a trusted third-party service. + That means that there is a third party (the Kerberos server) + that is trusted by all the entities on the network (users + and services, usually called "principals"). This is the MIT + reference implementation of Kerberos V5. + + https://web.mit.edu/kerberos/ + +comment "libkrb5 needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libkrb5/libkrb5.hash b/buildroot-2022.02.1/package/libkrb5/libkrb5.hash new file mode 100644 index 00000000..860f8287 --- /dev/null +++ b/buildroot-2022.02.1/package/libkrb5/libkrb5.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 66085e2f594751e77e82e0dbf7bbc344320fb48a9df2a633cfdd8f7d6da99fc8 krb5-1.18.4.tar.gz + +# Hash for license file: +sha256 7fba8b076bdc2cfef1d0813c5d4067d76d5be60c32d84de22d5d1cf451744feb NOTICE diff --git a/buildroot-2022.02.1/package/libkrb5/libkrb5.mk b/buildroot-2022.02.1/package/libkrb5/libkrb5.mk new file mode 100644 index 00000000..f406cd9e --- /dev/null +++ b/buildroot-2022.02.1/package/libkrb5/libkrb5.mk @@ -0,0 +1,85 @@ +################################################################################ +# +# libkrb5 +# +################################################################################ + +LIBKRB5_VERSION_MAJOR = 1.18 +LIBKRB5_VERSION = $(LIBKRB5_VERSION_MAJOR).4 +LIBKRB5_SITE = https://web.mit.edu/kerberos/dist/krb5/$(LIBKRB5_VERSION_MAJOR) +LIBKRB5_SOURCE = krb5-$(LIBKRB5_VERSION).tar.gz +LIBKRB5_SUBDIR = src +LIBKRB5_LICENSE = MIT +LIBKRB5_LICENSE_FILES = NOTICE +LIBKRB5_CPE_ID_VENDOR = mit +LIBKRB5_CPE_ID_PRODUCT = kerberos_5 +LIBKRB5_DEPENDENCIES = host-bison $(TARGET_NLS_DEPENDENCIES) +LIBKRB5_INSTALL_STAGING = YES + +# 0001-Fix-KDC-null-deref-on-TGS-inner-body-null-server.patch +LIBKRB5_IGNORE_CVES += CVE-2021-37750 + +# The configure script uses AC_TRY_RUN tests to check for those values, +# which doesn't work in a cross-compilation scenario. Therefore, +# we feed the configure script with the correct answer for those tests +LIBKRB5_CONF_ENV = \ + ac_cv_printf_positional=yes \ + ac_cv_func_regcomp=yes \ + krb5_cv_attr_constructor_destructor=yes,yes \ + LIBS=$(TARGET_NLS_LIBS) + +# Never use the host packages +LIBKRB5_CONF_OPTS = \ + --without-system-db \ + --without-system-et \ + --without-system-ss \ + --without-system-verto \ + --without-tcl \ + --disable-rpath + +# Enabling static and shared at the same time is not supported +ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBKRB5_CONF_OPTS += --disable-static +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +LIBKRB5_CONF_OPTS += --with-ldap +LIBKRB5_DEPENDENCIES += openldap +else +LIBKRB5_CONF_OPTS += --without-ldap +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBKRB5_CONF_OPTS += \ + --enable-pkinit \ + --with-crypto-impl=openssl \ + --with-spake-openssl \ + --with-tls-impl=openssl +LIBKRB5_DEPENDENCIES += openssl +else +LIBKRB5_CONF_OPTS += \ + --disable-pkinit \ + --with-crypto-impl=builtin \ + --without-spake-openssl \ + --without-tls-impl +endif + +ifeq ($(BR2_PACKAGE_LIBEDIT),y) +LIBKRB5_CONF_OPTS += --with-libedit +LIBKRB5_DEPENDENCIES += host-pkgconf libedit +else +LIBKRB5_CONF_OPTS += --without-libedit +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +LIBKRB5_CONF_OPTS += --with-readline +LIBKRB5_DEPENDENCIES += readline +else +LIBKRB5_CONF_OPTS += --without-readline +endif + +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBKRB5_CONF_OPTS += --disable-thread-support +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libks/Config.in b/buildroot-2022.02.1/package/libks/Config.in new file mode 100644 index 00000000..366b5bda --- /dev/null +++ b/buildroot-2022.02.1/package/libks/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_LIBKS + bool "libks" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Foundational support for signalwire C products + + https://github.com/signalwire/libks + +comment "libks needs a toolchain w/ C++, threads, dynamic library" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libks/libks.hash b/buildroot-2022.02.1/package/libks/libks.hash new file mode 100644 index 00000000..5acbcd1e --- /dev/null +++ b/buildroot-2022.02.1/package/libks/libks.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 73c5751eadad4d3390d61b9765e9b860e0aba7336044ecf8b007dfc1818baa69 libks-1.7.0.tar.gz +sha256 1d1327f37b58a4c9ce520fcf9dd3f348c7c639229ee7aed41c47164a8f7836cd copyright diff --git a/buildroot-2022.02.1/package/libks/libks.mk b/buildroot-2022.02.1/package/libks/libks.mk new file mode 100644 index 00000000..adf0107b --- /dev/null +++ b/buildroot-2022.02.1/package/libks/libks.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# libks +# +################################################################################ + +LIBKS_VERSION = 1.7.0 +LIBKS_SITE = $(call github,signalwire,libks,v$(LIBKS_VERSION)) +LIBKS_LICENSE = MIT +LIBKS_LICENSE_FILES = copyright +LIBKS_INSTALL_STAGING = YES +LIBKS_DEPENDENCIES = openssl util-linux + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libksba/Config.in b/buildroot-2022.02.1/package/libksba/Config.in similarity index 100% rename from buildroot-2021.05/package/libksba/Config.in rename to buildroot-2022.02.1/package/libksba/Config.in diff --git a/buildroot-2022.02.1/package/libksba/libksba.hash b/buildroot-2022.02.1/package/libksba/libksba.hash new file mode 100644 index 00000000..422048be --- /dev/null +++ b/buildroot-2022.02.1/package/libksba/libksba.hash @@ -0,0 +1,9 @@ +# Locally calculated after checking pgp signature +sha256 dad683e6f2d915d880aa4bed5cea9a115690b8935b78a1bbe01669189307a48b libksba-1.6.0.tar.bz2 + +# Hash for license files: +sha256 8f1b87e551d97b2b23b6d3403a5d598c63ea89824cb8ee351f631f6cab2beaa5 AUTHORS +sha256 6197b98c6bf69838c624809c509d84333de1bc847155168c0e84527446a27076 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPLv2 +sha256 0abbff814cd00e2b0b6d08395af2b419c1a92026c4b4adacbb65ccda45fa58cf COPYING.GPLv3 +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING.LGPLv3 diff --git a/buildroot-2022.02.1/package/libksba/libksba.mk b/buildroot-2022.02.1/package/libksba/libksba.mk new file mode 100644 index 00000000..ca5fc1d7 --- /dev/null +++ b/buildroot-2022.02.1/package/libksba/libksba.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# libksba +# +################################################################################ + +LIBKSBA_VERSION = 1.6.0 +LIBKSBA_SOURCE = libksba-$(LIBKSBA_VERSION).tar.bz2 +LIBKSBA_SITE = ftp://ftp.gnupg.org/gcrypt/libksba +LIBKSBA_LICENSE = LGPL-3.0+ or GPL-2.0+ (library, headers), GPL-3.0+ (manual, tests, build system) +LIBKSBA_LICENSE_FILES = AUTHORS COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv3 +LIBKSBA_CPE_ID_VENDOR = libksba_project +LIBKSBA_INSTALL_STAGING = YES +LIBKSBA_DEPENDENCIES = libgpg-error +LIBKSBA_CONF_OPTS = --with-gpg-error-prefix=$(STAGING_DIR)/usr + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libldns/Config.in b/buildroot-2022.02.1/package/libldns/Config.in similarity index 100% rename from buildroot-2021.05/package/libldns/Config.in rename to buildroot-2022.02.1/package/libldns/Config.in diff --git a/buildroot-2022.02.1/package/libldns/libldns.hash b/buildroot-2022.02.1/package/libldns/libldns.hash new file mode 100644 index 00000000..cab8b7db --- /dev/null +++ b/buildroot-2022.02.1/package/libldns/libldns.hash @@ -0,0 +1,7 @@ +# From http://www.nlnetlabs.nl/downloads/ldns/ldns-1.8.1.tar.gz.sha1 +sha1 df19a0404a608821b571525214a18988bc88bb46 ldns-1.8.1.tar.gz +# From http://www.nlnetlabs.nl/downloads/ldns/ldns-1.8.1.tar.gz.sha256 +sha256 958229abce4d3aaa19a75c0d127666564b17216902186e952ca4aef47c6d7fa3 ldns-1.8.1.tar.gz + +# Hash for license file: +sha256 9e0b1505c358d1a7c79555ee8bd1acbe2985dbc74dd81f3697cebf2161e922e6 LICENSE diff --git a/buildroot-2022.02.1/package/libldns/libldns.mk b/buildroot-2022.02.1/package/libldns/libldns.mk new file mode 100644 index 00000000..86e7c0ea --- /dev/null +++ b/buildroot-2022.02.1/package/libldns/libldns.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# libldns +# +################################################################################ + +LIBLDNS_VERSION = 1.8.1 +LIBLDNS_SOURCE = ldns-$(LIBLDNS_VERSION).tar.gz +LIBLDNS_SITE = http://www.nlnetlabs.nl/downloads/ldns +LIBLDNS_LICENSE = BSD-3-Clause +LIBLDNS_LICENSE_FILES = LICENSE +LIBLDNS_CPE_ID_VENDOR = nlnetlabs +LIBLDNS_CPE_ID_PRODUCT = ldns +LIBLDNS_INSTALL_STAGING = YES +LIBLDNS_DEPENDENCIES = openssl +LIBLDNS_CONF_OPTS = \ + --with-ssl=$(STAGING_DIR)/usr \ + --enable-dane \ + --enable-ecdsa \ + --enable-gost \ + --enable-sha2 \ + --without-examples \ + --without-p5-dns-ldns \ + --without-pyldns \ + --without-pyldnsx + +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBLDNS_CONF_OPTS += --enable-dane-verify +else +LIBLDNS_CONF_OPTS += --disable-dane-verify +endif + +ifeq ($(BR2_STATIC_LIBS),y) +LIBLDNS_DEPENDENCIES += host-pkgconf +# missing -lz breaks configure, add it using pkgconf +LIBLDNS_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`" +endif + +# the linktest make target fails with static linking, and we are only +# interested in the lib target anyway +LIBLDNS_MAKE_OPTS = lib + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/liblinear/0001-blas-don-t-overwrite-ar-options.patch b/buildroot-2022.02.1/package/liblinear/0001-blas-don-t-overwrite-ar-options.patch new file mode 100644 index 00000000..23ed6dd2 --- /dev/null +++ b/buildroot-2022.02.1/package/liblinear/0001-blas-don-t-overwrite-ar-options.patch @@ -0,0 +1,36 @@ +From cae4c3b80fee0f3637d70f6d33946888c8105637 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Sat, 13 Dec 2014 17:16:58 +0100 +Subject: [PATCH] blas: don't overwrite ar options + +ar's rcv options get lost when AR is passed on +the command line. + +Signed-off-by: Romain Naour +Signed-off-by: Fabrice Fontaine +--- + blas/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/blas/Makefile b/blas/Makefile +index 895fd24..78cec9a 100644 +--- a/blas/Makefile ++++ b/blas/Makefile +@@ -1,4 +1,4 @@ +-AR = ar rcv ++AR = ar + RANLIB = ranlib + + HEADERS = blas.h blasp.h +@@ -8,7 +8,7 @@ CFLAGS = $(OPTFLAGS) + FFLAGS = $(OPTFLAGS) + + blas: $(FILES) $(HEADERS) +- $(AR) blas.a $(FILES) ++ $(AR) rcv blas.a $(FILES) + $(RANLIB) blas.a + + clean: +-- +1.9.3 + diff --git a/buildroot-2022.02.1/package/liblinear/0002-build-static-lib.patch b/buildroot-2022.02.1/package/liblinear/0002-build-static-lib.patch new file mode 100644 index 00000000..f3497b76 --- /dev/null +++ b/buildroot-2022.02.1/package/liblinear/0002-build-static-lib.patch @@ -0,0 +1,20 @@ +Makefile: add a rule to build a static library + +Signed-off-by: "Yann E. MORIN" +[Fabrice: update for 2.43] +Signed-off-by: Fabrice Fontaine +diff -durN liblinear-1.96.orig/Makefile liblinear-1.96/Makefile +--- liblinear-1.96.orig/Makefile 2014-11-15 07:50:23.000000000 +0100 ++++ liblinear-1.96/Makefile 2014-12-14 00:23:00.135893956 +0100 +@@ -16,6 +16,11 @@ + fi; \ + $(CXX) $${SHARED_LIB_FLAG} linear.o newton.o blas/blas.a -o liblinear.so.$(SHVER) + ++# Keeping blas/blas.a as a pre-requisite, to ensure all .o files are built ++static-lib: linear.o newton.o blas/blas.a ++ $(AR) rcv liblinear.a linear.o newton.o blas/*.o ++ $(RANLIB) liblinear.a ++ + train: newton.o linear.o train.c blas/blas.a + $(CXX) $(CFLAGS) -o train train.c newton.o linear.o $(LIBS) + diff --git a/buildroot-2021.05/package/liblinear/Config.in b/buildroot-2022.02.1/package/liblinear/Config.in similarity index 100% rename from buildroot-2021.05/package/liblinear/Config.in rename to buildroot-2022.02.1/package/liblinear/Config.in diff --git a/buildroot-2022.02.1/package/liblinear/liblinear.hash b/buildroot-2022.02.1/package/liblinear/liblinear.hash new file mode 100644 index 00000000..a714b8bc --- /dev/null +++ b/buildroot-2022.02.1/package/liblinear/liblinear.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 02bad43d745e2796f39a08ac9d117770e71939ef06b1ee7afc6ab7909e304807 liblinear-2.43.tar.gz +sha256 c5c91211a0edaa4c77e352f6b27a8f9c6768afe27d48176d6094905c534eacb3 COPYRIGHT diff --git a/buildroot-2022.02.1/package/liblinear/liblinear.mk b/buildroot-2022.02.1/package/liblinear/liblinear.mk new file mode 100644 index 00000000..1ad734c7 --- /dev/null +++ b/buildroot-2022.02.1/package/liblinear/liblinear.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# liblinear +# +################################################################################ + +LIBLINEAR_VERSION = 2.43 +LIBLINEAR_SITE = http://www.csie.ntu.edu.tw/~cjlin/liblinear +LIBLINEAR_LICENSE = BSD-3-Clause +LIBLINEAR_LICENSE_FILES = COPYRIGHT +LIBLINEAR_INSTALL_STAGING = YES +LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +# $1: destination directory +define LIBLINEAR_INSTALL_SHARED + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.4 $(1)/usr/lib/liblinear.so.4 + ln -sf liblinear.so.4 $(1)/usr/lib/liblinear.so +endef +LIBLINEAR_CFLAGS += -fPIC +endif + +ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +# $1: destination directory +define LIBLINEAR_INSTALL_STATIC + $(INSTALL) -m 0644 -D $(@D)/liblinear.a $(1)/usr/lib/liblinear.a +endef +endif + +define LIBLINEAR_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(LIBLINEAR_CFLAGS)" -C $(@D) \ + $(if $(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),lib) \ + $(if $(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),static-lib) +endef + +define LIBLINEAR_INSTALL_STAGING_CMDS + $(INSTALL) -m 0644 -D $(@D)/linear.h $(STAGING_DIR)/usr/include/linear.h + $(call LIBLINEAR_INSTALL_SHARED,$(STAGING_DIR)) + $(call LIBLINEAR_INSTALL_STATIC,$(STAGING_DIR)) +endef + +define LIBLINEAR_INSTALL_TARGET_CMDS + $(call LIBLINEAR_INSTALL_SHARED,$(TARGET_DIR)) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libllcp/Config.in b/buildroot-2022.02.1/package/libllcp/Config.in similarity index 100% rename from buildroot-2021.05/package/libllcp/Config.in rename to buildroot-2022.02.1/package/libllcp/Config.in diff --git a/buildroot-2021.05/package/libllcp/libllcp.hash b/buildroot-2022.02.1/package/libllcp/libllcp.hash similarity index 100% rename from buildroot-2021.05/package/libllcp/libllcp.hash rename to buildroot-2022.02.1/package/libllcp/libllcp.hash diff --git a/buildroot-2021.05/package/libllcp/libllcp.mk b/buildroot-2022.02.1/package/libllcp/libllcp.mk similarity index 100% rename from buildroot-2021.05/package/libllcp/libllcp.mk rename to buildroot-2022.02.1/package/libllcp/libllcp.mk diff --git a/buildroot-2021.05/package/liblo/Config.in b/buildroot-2022.02.1/package/liblo/Config.in similarity index 100% rename from buildroot-2021.05/package/liblo/Config.in rename to buildroot-2022.02.1/package/liblo/Config.in diff --git a/buildroot-2021.05/package/liblo/liblo.hash b/buildroot-2022.02.1/package/liblo/liblo.hash similarity index 100% rename from buildroot-2021.05/package/liblo/liblo.hash rename to buildroot-2022.02.1/package/liblo/liblo.hash diff --git a/buildroot-2021.05/package/liblo/liblo.mk b/buildroot-2022.02.1/package/liblo/liblo.mk similarity index 100% rename from buildroot-2021.05/package/liblo/liblo.mk rename to buildroot-2022.02.1/package/liblo/liblo.mk diff --git a/buildroot-2022.02.1/package/liblockfile/0001-Makefile.in-fix-cross-compilation.patch b/buildroot-2022.02.1/package/liblockfile/0001-Makefile.in-fix-cross-compilation.patch new file mode 100644 index 00000000..bc85694f --- /dev/null +++ b/buildroot-2022.02.1/package/liblockfile/0001-Makefile.in-fix-cross-compilation.patch @@ -0,0 +1,82 @@ +From 7535d990645d867a6e491d16cd2548ea7e54958e Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 5 Apr 2021 16:21:32 +0200 +Subject: [PATCH] Makefile.in: fix cross-compilation + +- Use DESTDIR to install each files instead of prepending prefix with it + as this will result in dotlockfile being wrongly install in $(bindir) +- Use -f when creating symlink to avoid an error if link already exists +- Do not install files with root group as this will break + cross-compilation + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/miquels/liblockfile/pull/11] +--- + Makefile.in | 36 ++++++++++++++++++------------------ + 1 file changed, 18 insertions(+), 18 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 9c74b35..5ce8153 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -10,7 +10,7 @@ CFLAGS = @CFLAGS@ -I. + LDFLAGS = @LDFLAGS@ + CC = @CC@ + +-prefix = $(DESTDIR)@prefix@ ++prefix = @prefix@ + exec_prefix = @exec_prefix@ + bindir = @bindir@ + libdir = @libdir@ +@@ -60,34 +60,34 @@ dlockfile.o: lockfile.c + -c lockfile.c -o dlockfile.o + + install_static: static install_common +- install -d -m 755 -g root -p $(libdir) +- install -m 644 liblockfile.a $(libdir) ++ install -d -m 755 -p $(DESTDIR)$(libdir) ++ install -m 644 liblockfile.a $(DESTDIR)$(libdir) + + install_shared: shared install_static install_common +- install -d -m 755 -g root -p $(libdir) ++ install -d -m 755 -p $(DESTDIR)$(libdir) + install -m 755 liblockfile.so \ +- $(libdir)/liblockfile.so.$(SOVER) +- ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so.$(MAJOR) +- ln -s liblockfile.so.$(SOVER) $(libdir)/liblockfile.so ++ $(DESTDIR)$(libdir)/liblockfile.so.$(SOVER) ++ ln -sf liblockfile.so.$(SOVER) $(DESTDIR)$(libdir)/liblockfile.so.$(MAJOR) ++ ln -sf liblockfile.so.$(SOVER) $(DESTDIR)$(libdir)/liblockfile.so + if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi + + install_common: +- install -d -m 755 -g root -p $(includedir) +- install -d -m 755 -g root -p $(bindir) +- install -d -m 755 -g root -p $(mandir)/man1 +- install -d -m 755 -g root -p $(mandir)/man3 +- install -m 644 lockfile.h maillock.h $(includedir) ++ install -d -m 755 -p $(DESTDIR)$(includedir) ++ install -d -m 755 -p $(DESTDIR)$(bindir) ++ install -d -m 755 -p $(DESTDIR)$(mandir)/man1 ++ install -d -m 755 -p $(DESTDIR)$(mandir)/man3 ++ install -m 644 lockfile.h maillock.h $(DESTDIR)$(includedir) + if [ "$(MAILGROUP)" != "" ]; then\ +- install -g $(MAILGROUP) -m 2755 dotlockfile $(bindir);\ ++ install -g $(MAILGROUP) -m 2755 dotlockfile $(DESTDIR)$(bindir);\ + else \ +- install -g root -m 755 dotlockfile $(bindir); \ ++ install -m 755 dotlockfile $(DESTDIR)$(bindir); \ + fi +- install -m 644 *.1 $(mandir)/man1 +- install -m 644 *.3 $(mandir)/man3 ++ install -m 644 *.1 $(DESTDIR)$(mandir)/man1 ++ install -m 644 *.3 $(DESTDIR)$(mandir)/man3 + + install_nfslib: nfslib +- install -d -m 755 -g root -p $(nfslockdir) +- install -m 755 nfslock.so.$(NFSVER) $(nfslockdir) ++ install -d -m 755 -p $(DESTDIR)$(nfslockdir) ++ install -m 755 nfslock.so.$(NFSVER) $(DESTDIR)$(nfslockdir) + if test "$(DESTDIR)" = ""; then @LDCONFIG@; fi + + test: test-stamp diff --git a/buildroot-2022.02.1/package/liblockfile/Config.in b/buildroot-2022.02.1/package/liblockfile/Config.in new file mode 100644 index 00000000..30bdf462 --- /dev/null +++ b/buildroot-2022.02.1/package/liblockfile/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBLOCKFILE + bool "liblockfile" + depends on BR2_USE_MMU # fork() + help + NFS-safe locking library. + + https://github.com/miquels/liblockfile diff --git a/buildroot-2022.02.1/package/liblockfile/liblockfile.hash b/buildroot-2022.02.1/package/liblockfile/liblockfile.hash new file mode 100644 index 00000000..c2cacd6f --- /dev/null +++ b/buildroot-2022.02.1/package/liblockfile/liblockfile.hash @@ -0,0 +1,7 @@ +# From https://snapshot.debian.org/archive/debian/20210128T210947Z/pool/main/libl/liblockfile/liblockfile_1.17-1.dsc +sha256 6e937f3650afab4aac198f348b89b1ca42edceb17fb6bb0918f642143ccfd15e liblockfile_1.17.orig.tar.gz +sha256 e3657c0e3facfeccb58900c0b48d56cd68ad5f9f24d1b4c6eaa69c26490fb673 liblockfile_1.17-1.debian.tar.bz2 +# Locally computed +sha256 3d080ab931103a823e6b9b788ccbc3e9d44797bd54546f3feebfd305f90de46a COPYRIGHT +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 licenses/GPL-2 +sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c licenses/LGPL-2 diff --git a/buildroot-2022.02.1/package/liblockfile/liblockfile.mk b/buildroot-2022.02.1/package/liblockfile/liblockfile.mk new file mode 100644 index 00000000..f472809e --- /dev/null +++ b/buildroot-2022.02.1/package/liblockfile/liblockfile.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# liblockfile +# +################################################################################ + +LIBLOCKFILE_VERSION = 1.17 +LIBLOCKFILE_SOURCE = liblockfile_$(LIBLOCKFILE_VERSION).orig.tar.gz +LIBLOCKFILE_SITE = http://snapshot.debian.org/archive/debian/20210128T210947Z/pool/main/libl/liblockfile +LIBLOCKFILE_PATCH = liblockfile_$(LIBLOCKFILE_VERSION)-1.debian.tar.bz2 + +LIBLOCKFILE_LICENSE = LGPL-2.0+, GPL-2.0+ (dotlockfile) +LIBLOCKFILE_LICENSE_FILES = COPYRIGHT licenses/GPL-2 licenses/LGPL-2 + +# We're patching Makefile.in +LIBLOCKFILE_AUTORECONF = YES +LIBLOCKFILE_INSTALL_STAGING = YES +LIBLOCKFILE_CONF_OPTS = --mandir=/usr/share/man + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/liblog4c-localtime/0001-log4c.m4-fix-underquoted-definition-of-AM_PATH_LOG4C.patch b/buildroot-2022.02.1/package/liblog4c-localtime/0001-log4c.m4-fix-underquoted-definition-of-AM_PATH_LOG4C.patch new file mode 100644 index 00000000..5e39b2d4 --- /dev/null +++ b/buildroot-2022.02.1/package/liblog4c-localtime/0001-log4c.m4-fix-underquoted-definition-of-AM_PATH_LOG4C.patch @@ -0,0 +1,34 @@ +From b7290560082e91673431de79e1fa318c9fd90261 Mon Sep 17 00:00:00 2001 +From: Danomi Manchego +Date: Sat, 25 Oct 2014 19:42:38 +0200 +Subject: [PATCH] log4c.m4: fix "underquoted definition of AM_PATH_LOG4C" + warning + +When autoreconfiguring liblog4c-localtime, there is a warning from +autoconf caused by an underquoted definition of AM_PATH_LOG4C. This +patch fixes this warning. + +Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 + +Signed-off-by: Danomi Manchego +Signed-off-by: Thomas Petazzoni +--- + log4c.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/log4c.m4 b/log4c.m4 +index 551a90d..96424c0 100644 +--- a/log4c.m4 ++++ b/log4c.m4 +@@ -4,7 +4,7 @@ + dnl AM_PATH_LOG4C([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) + dnl Test for LOG4C, and define LOG4C_CFLAGS and LOG4C_LIBS + dnl +-AC_DEFUN(AM_PATH_LOG4C, ++AC_DEFUN([AM_PATH_LOG4C], + [dnl + dnl Get the cflags and libraries from the log4c-config script + dnl +-- +2.0.0 + diff --git a/buildroot-2022.02.1/package/liblog4c-localtime/0002-Fix-linking-error-without-pthread.patch b/buildroot-2022.02.1/package/liblog4c-localtime/0002-Fix-linking-error-without-pthread.patch new file mode 100644 index 00000000..63d35a90 --- /dev/null +++ b/buildroot-2022.02.1/package/liblog4c-localtime/0002-Fix-linking-error-without-pthread.patch @@ -0,0 +1,38 @@ +From 435b28cd90973cc03a533e75e90a46cd9f197dff Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Sat, 25 Oct 2014 19:44:01 +0200 +Subject: [PATCH] Fix linking error without pthread + +The rollingfile functionality only gets built if pthread support is +available, but a call to these functions from log4c_fini() was outside +the #if WITH_ROLLINGFILE conditional, causing linker errors when the +library is used. + +Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 + +Signed-off-by: Peter Korsgaard +Signed-off-by: Thomas Petazzoni +--- + src/log4c/init.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/log4c/init.c b/src/log4c/init.c +index 99883ea..7dd9eb4 100644 +--- a/src/log4c/init.c ++++ b/src/log4c/init.c +@@ -267,10 +267,12 @@ extern int log4c_fini(void) + log4c_layout_factory = NULL; + } + ++#ifdef WITH_ROLLINGFILE + if (log4c_rollingpolicy_factory) { + sd_factory_delete(log4c_rollingpolicy_factory); + log4c_rollingpolicy_factory = NULL; + } ++#endif + + #ifdef __SD_DEBUG__ + if( getenv("SD_DEBUG")){ +-- +2.0.0 + diff --git a/buildroot-2022.02.1/package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch b/buildroot-2022.02.1/package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch new file mode 100644 index 00000000..f4c13149 --- /dev/null +++ b/buildroot-2022.02.1/package/liblog4c-localtime/0003-Fix-debug-mode-build-with-uClibc.patch @@ -0,0 +1,69 @@ +From acbaee34bcb1881db97969dd2c411446f32ca4cc Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 25 Oct 2014 19:45:33 +0200 +Subject: [PATCH] Fix debug mode build with uClibc + +When --enable-debug is passed, liblog4c-localtime wants to use +. It takes the precaution of testing if __GLIBC__ is +defined. But unfortunately, the uClibc C library pretends to be +compatible with glibc by defining __GLIBC__, but it doesn't provide +mcheck.h. + +To better support this situation, we add an AC_CHECK_HEADERS() check +on mcheck.h, and then use HAVE_MCHECK_H were appropriate. + +Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 + +Signed-off-by: Thomas Petazzoni +--- + configure.in | 2 +- + src/log4c/init.c | 6 +++--- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/configure.in b/configure.in +index 612ccbe..dbf11e9 100644 +--- a/configure.in ++++ b/configure.in +@@ -115,7 +115,7 @@ AM_CONDITIONAL(TEST, test x$enable_test = xyes) + AC_HEADER_STDC + AC_CHECK_HEADERS([fcntl.h inttypes.h langinfo.h limits.h stddef.h stdint.h \ + stdlib.h string.h sys/time.h syslog.h unistd.h stdarg.h varargs.h getopt.h \ +-pthread.h]) ++pthread.h mcheck.h]) + + # Checks for typedefs, structures, and compiler characteristics. + AC_C_CONST +diff --git a/src/log4c/init.c b/src/log4c/init.c +index 7dd9eb4..4b88210 100644 +--- a/src/log4c/init.c ++++ b/src/log4c/init.c +@@ -35,7 +35,7 @@ static const char version[] = "$Id$"; + #include + #include + +-#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) ++#if defined(__LOG4C_DEBUG__) && defined(HAVE_MCHECK_H) + #include + #endif + +@@ -100,7 +100,7 @@ extern int log4c_init(void) + sd_debug("log4c_init["); + + /* activate GLIBC allocation debugging */ +-#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) ++#if defined(__LOG4C_DEBUG__) && defined(HAVE_MCHECK_H) + mtrace(); + #endif + +@@ -280,7 +280,7 @@ extern int log4c_fini(void) + log4c_dump_all_instances(stderr); + } + #endif +-#if defined(__LOG4C_DEBUG__) && defined(__GLIBC__) ++#if defined(__LOG4C_DEBUG__) && defined(HAVE_MCHECK_H) + muntrace(); + #endif + +-- +2.0.0 + diff --git a/buildroot-2022.02.1/package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch b/buildroot-2022.02.1/package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch new file mode 100644 index 00000000..744187ce --- /dev/null +++ b/buildroot-2022.02.1/package/liblog4c-localtime/0004-Add-AC_CONFIG_MACRO_DIR-to-configure.in.patch @@ -0,0 +1,30 @@ +From a2553c203d8b8257dea1d2e2139b220935587144 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 25 Oct 2014 20:03:25 +0200 +Subject: [PATCH] Add AC_CONFIG_MACRO_DIR to configure.in + +Without AC_CONFIG_MACRO_DIR, when autoreconfiguring the package, it +cannot find AM_PATH_EXPAT which is defined in config/expat.m4. + +Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 + +Signed-off-by: Thomas Petazzoni +--- + configure.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.in b/configure.in +index dbf11e9..769b204 100644 +--- a/configure.in ++++ b/configure.in +@@ -5,6 +5,7 @@ AC_PREREQ(2.57) + AC_INIT + AC_CONFIG_SRCDIR([configure.in]) + AC_CONFIG_AUX_DIR(config) ++AC_CONFIG_MACRO_DIR([config]) + AM_CONFIG_HEADER(src/config.h) + + LOG4C_MAJOR_VERSION=1 +-- +2.0.0 + diff --git a/buildroot-2022.02.1/package/liblog4c-localtime/0005-Fix-C-support.patch b/buildroot-2022.02.1/package/liblog4c-localtime/0005-Fix-C-support.patch new file mode 100644 index 00000000..5e16b4f9 --- /dev/null +++ b/buildroot-2022.02.1/package/liblog4c-localtime/0005-Fix-C-support.patch @@ -0,0 +1,61 @@ +From bdccec4c374a93480a7fd303d15e20810a5d5b7e Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 25 Oct 2014 21:22:40 +0200 +Subject: [PATCH] Fix C++ support + +Autoreconf fails with the following message: + +tests/log4c/Makefile.am: error: C++ source seen but 'CXX' is undefined + +So this commit adds the AC_PROG_CXX macro to configure.in, and ensures +that the C++ test is only built if a C++ compiler is available. + +Submitted upstream: https://github.com/rcmadruga/log4c-localtime/pull/1 + +Signed-off-by: Thomas Petazzoni +--- + configure.in | 3 +++ + tests/log4c/Makefile.am | 6 +++++- + 2 files changed, 8 insertions(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index 769b204..ce75800 100644 +--- a/configure.in ++++ b/configure.in +@@ -38,6 +38,7 @@ AC_DEFINE(_GNU_SOURCE,1,"POSIXandGNU extensions") + #. + AC_PROG_YACC + AC_PROG_CC ++AC_PROG_CXX + AC_PROG_CPP + AM_PROG_LEX + AC_PROG_AWK +@@ -47,6 +48,8 @@ AC_PROG_MAKE_SET + AC_PROG_RANLIB + AC_PROG_LIBTOOL + ++AM_CONDITIONAL([USE_CXX], [test "$ac_cv_prog_CXX" != "no"]) ++ + # platform idioms + case "$host" in + *-hp-hpux*) +diff --git a/tests/log4c/Makefile.am b/tests/log4c/Makefile.am +index f647f27..b1b4ed6 100644 +--- a/tests/log4c/Makefile.am ++++ b/tests/log4c/Makefile.am +@@ -3,7 +3,11 @@ INCLUDES = \ + -DSRCDIR="\"$(srcdir)\"" + + noinst_PROGRAMS = test_category test_rc bench bench_fwrite \ +- test_stream2 test_layout_r cpp_compile_test ++ test_stream2 test_layout_r ++ ++if USE_CXX ++noinst_PROGRAMS += cpp_compile_test ++endif + + if WITH_ROLLINGFILE + noinst_PROGRAMS += test_rollingfile_appender test_rollingfile_appender_mt +-- +2.0.0 + diff --git a/buildroot-2021.05/package/liblog4c-localtime/Config.in b/buildroot-2022.02.1/package/liblog4c-localtime/Config.in similarity index 100% rename from buildroot-2021.05/package/liblog4c-localtime/Config.in rename to buildroot-2022.02.1/package/liblog4c-localtime/Config.in diff --git a/buildroot-2021.05/package/liblog4c-localtime/liblog4c-localtime.hash b/buildroot-2022.02.1/package/liblog4c-localtime/liblog4c-localtime.hash similarity index 100% rename from buildroot-2021.05/package/liblog4c-localtime/liblog4c-localtime.hash rename to buildroot-2022.02.1/package/liblog4c-localtime/liblog4c-localtime.hash diff --git a/buildroot-2021.05/package/liblog4c-localtime/liblog4c-localtime.mk b/buildroot-2022.02.1/package/liblog4c-localtime/liblog4c-localtime.mk similarity index 100% rename from buildroot-2021.05/package/liblog4c-localtime/liblog4c-localtime.mk rename to buildroot-2022.02.1/package/liblog4c-localtime/liblog4c-localtime.mk diff --git a/buildroot-2021.05/package/liblogging/Config.in b/buildroot-2022.02.1/package/liblogging/Config.in similarity index 100% rename from buildroot-2021.05/package/liblogging/Config.in rename to buildroot-2022.02.1/package/liblogging/Config.in diff --git a/buildroot-2021.05/package/liblogging/liblogging.hash b/buildroot-2022.02.1/package/liblogging/liblogging.hash similarity index 100% rename from buildroot-2021.05/package/liblogging/liblogging.hash rename to buildroot-2022.02.1/package/liblogging/liblogging.hash diff --git a/buildroot-2021.05/package/liblogging/liblogging.mk b/buildroot-2022.02.1/package/liblogging/liblogging.mk similarity index 100% rename from buildroot-2021.05/package/liblogging/liblogging.mk rename to buildroot-2022.02.1/package/liblogging/liblogging.mk diff --git a/buildroot-2021.05/package/libloki/0001-allow-to-install-to-a-specific-location-using-DESTDI.patch b/buildroot-2022.02.1/package/libloki/0001-allow-to-install-to-a-specific-location-using-DESTDI.patch similarity index 100% rename from buildroot-2021.05/package/libloki/0001-allow-to-install-to-a-specific-location-using-DESTDI.patch rename to buildroot-2022.02.1/package/libloki/0001-allow-to-install-to-a-specific-location-using-DESTDI.patch diff --git a/buildroot-2021.05/package/libloki/0002-use-ln-snf.patch b/buildroot-2022.02.1/package/libloki/0002-use-ln-snf.patch similarity index 100% rename from buildroot-2021.05/package/libloki/0002-use-ln-snf.patch rename to buildroot-2022.02.1/package/libloki/0002-use-ln-snf.patch diff --git a/buildroot-2021.05/package/libloki/Config.in b/buildroot-2022.02.1/package/libloki/Config.in similarity index 100% rename from buildroot-2021.05/package/libloki/Config.in rename to buildroot-2022.02.1/package/libloki/Config.in diff --git a/buildroot-2021.05/package/libloki/libloki.hash b/buildroot-2022.02.1/package/libloki/libloki.hash similarity index 100% rename from buildroot-2021.05/package/libloki/libloki.hash rename to buildroot-2022.02.1/package/libloki/libloki.hash diff --git a/buildroot-2022.02.1/package/libloki/libloki.mk b/buildroot-2022.02.1/package/libloki/libloki.mk new file mode 100644 index 00000000..07a9372d --- /dev/null +++ b/buildroot-2022.02.1/package/libloki/libloki.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# libloki +# +################################################################################ + +LIBLOKI_VERSION = 0.1.7 +LIBLOKI_SOURCE = loki-$(LIBLOKI_VERSION).tar.bz2 +LIBLOKI_SITE = https://sourceforge.net/projects/loki-lib/files/Loki/Loki%20$(LIBLOKI_VERSION) +LIBLOKI_LICENSE = MIT +LIBLOKI_INSTALL_STAGING = YES + +ifeq ($(BR2_STATIC_LIBS),y) +LIBLOKI_BUILD_TARGETS += build-static +LIBLOKI_INSTALL_TARGETS += install-static +else ifeq ($(BR2_SHARED_LIBS),y) +LIBLOKI_BUILD_TARGETS += build-shared +LIBLOKI_INSTALL_TARGETS += install-shared +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +LIBLOKI_BUILD_TARGETS += build-static build-shared +LIBLOKI_INSTALL_TARGETS += install-static install-shared +endif + +define LIBLOKI_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" \ + -C $(@D) $(LIBLOKI_BUILD_TARGETS) +endef + +define LIBLOKI_INSTALL_STAGING_CMDS + $(MAKE) -C $(@D)/src DESTDIR=$(STAGING_DIR) $(LIBLOKI_INSTALL_TARGETS) + $(MAKE) -C $(@D)/include DESTDIR=$(STAGING_DIR) install +endef + +define LIBLOKI_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D)/src DESTDIR=$(TARGET_DIR) $(LIBLOKI_INSTALL_TARGETS) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libmad/0001-mips-h-constraint-removal.patch b/buildroot-2022.02.1/package/libmad/0001-mips-h-constraint-removal.patch similarity index 100% rename from buildroot-2021.05/package/libmad/0001-mips-h-constraint-removal.patch rename to buildroot-2022.02.1/package/libmad/0001-mips-h-constraint-removal.patch diff --git a/buildroot-2021.05/package/libmad/0002-configure-ac-automake-foreign.patch b/buildroot-2022.02.1/package/libmad/0002-configure-ac-automake-foreign.patch similarity index 100% rename from buildroot-2021.05/package/libmad/0002-configure-ac-automake-foreign.patch rename to buildroot-2022.02.1/package/libmad/0002-configure-ac-automake-foreign.patch diff --git a/buildroot-2021.05/package/libmad/Config.in b/buildroot-2022.02.1/package/libmad/Config.in similarity index 100% rename from buildroot-2021.05/package/libmad/Config.in rename to buildroot-2022.02.1/package/libmad/Config.in diff --git a/buildroot-2021.05/package/libmad/libmad.hash b/buildroot-2022.02.1/package/libmad/libmad.hash similarity index 100% rename from buildroot-2021.05/package/libmad/libmad.hash rename to buildroot-2022.02.1/package/libmad/libmad.hash diff --git a/buildroot-2021.05/package/libmad/libmad.mk b/buildroot-2022.02.1/package/libmad/libmad.mk similarity index 100% rename from buildroot-2021.05/package/libmad/libmad.mk rename to buildroot-2022.02.1/package/libmad/libmad.mk diff --git a/buildroot-2021.05/package/libmad/mad.pc b/buildroot-2022.02.1/package/libmad/mad.pc similarity index 100% rename from buildroot-2021.05/package/libmad/mad.pc rename to buildroot-2022.02.1/package/libmad/mad.pc diff --git a/buildroot-2021.05/package/libmatroska/Config.in b/buildroot-2022.02.1/package/libmatroska/Config.in similarity index 100% rename from buildroot-2021.05/package/libmatroska/Config.in rename to buildroot-2022.02.1/package/libmatroska/Config.in diff --git a/buildroot-2021.05/package/libmatroska/libmatroska.hash b/buildroot-2022.02.1/package/libmatroska/libmatroska.hash similarity index 100% rename from buildroot-2021.05/package/libmatroska/libmatroska.hash rename to buildroot-2022.02.1/package/libmatroska/libmatroska.hash diff --git a/buildroot-2021.05/package/libmatroska/libmatroska.mk b/buildroot-2022.02.1/package/libmatroska/libmatroska.mk similarity index 100% rename from buildroot-2021.05/package/libmatroska/libmatroska.mk rename to buildroot-2022.02.1/package/libmatroska/libmatroska.mk diff --git a/buildroot-2021.05/package/libmaxminddb/Config.in b/buildroot-2022.02.1/package/libmaxminddb/Config.in similarity index 100% rename from buildroot-2021.05/package/libmaxminddb/Config.in rename to buildroot-2022.02.1/package/libmaxminddb/Config.in diff --git a/buildroot-2022.02.1/package/libmaxminddb/libmaxminddb.hash b/buildroot-2022.02.1/package/libmaxminddb/libmaxminddb.hash new file mode 100644 index 00000000..cfe838f7 --- /dev/null +++ b/buildroot-2022.02.1/package/libmaxminddb/libmaxminddb.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 7620ac187c591ce21bcd7bf352376a3c56a933e684558a1f6bef4bd4f3f98267 libmaxminddb-1.6.0.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/libmaxminddb/libmaxminddb.mk b/buildroot-2022.02.1/package/libmaxminddb/libmaxminddb.mk new file mode 100644 index 00000000..4037f89a --- /dev/null +++ b/buildroot-2022.02.1/package/libmaxminddb/libmaxminddb.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# libmaxminddb +# +################################################################################ + +LIBMAXMINDDB_VERSION = 1.6.0 +LIBMAXMINDDB_SITE = \ + https://github.com/maxmind/libmaxminddb/releases/download/$(LIBMAXMINDDB_VERSION) +LIBMAXMINDDB_INSTALL_STAGING = YES +LIBMAXMINDDB_LICENSE = Apache-2.0 +LIBMAXMINDDB_LICENSE_FILES = LICENSE +LIBMAXMINDDB_CPE_ID_VENDOR = maxmind +LIBMAXMINDDB_CONF_OPTS = --disable-tests + +# mmdblookup binary depends on pthreads +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBMAXMINDDB_CONF_OPTS += --enable-binaries +else +LIBMAXMINDDB_CONF_OPTS += --disable-binaries +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmbim/Config.in b/buildroot-2022.02.1/package/libmbim/Config.in similarity index 100% rename from buildroot-2021.05/package/libmbim/Config.in rename to buildroot-2022.02.1/package/libmbim/Config.in diff --git a/buildroot-2022.02.1/package/libmbim/libmbim.hash b/buildroot-2022.02.1/package/libmbim/libmbim.hash new file mode 100644 index 00000000..7ecc99d3 --- /dev/null +++ b/buildroot-2022.02.1/package/libmbim/libmbim.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 c12e61ea462fca40ddba2a8e1e401242d4f13827944369fad27ff70936b1e09d libmbim-1.26.2.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2022.02.1/package/libmbim/libmbim.mk b/buildroot-2022.02.1/package/libmbim/libmbim.mk new file mode 100644 index 00000000..eba5f0a6 --- /dev/null +++ b/buildroot-2022.02.1/package/libmbim/libmbim.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# libmbim +# +################################################################################ + +LIBMBIM_VERSION = 1.26.2 +LIBMBIM_SITE = https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/archive/$(LIBMBIM_VERSION) +LIBMBIM_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs) +LIBMBIM_LICENSE_FILES = COPYING COPYING.LIB +LIBMBIM_CPE_ID_VENDOR = freedesktop +LIBMBIM_INSTALL_STAGING = YES + +LIBMBIM_DEPENDENCIES = libglib2 +LIBMBIM_CONF_OPTS = -Dman=false + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBMBIM_DEPENDENCIES += gobject-introspection +LIBMBIM_CONF_OPTS += -Dintrospection=true +else +LIBMBIM_CONF_OPTS += -Dintrospection=false +endif + +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +LIBMBIM_DEPENDENCIES += bash-completion +LIBMBIM_CONF_OPTS += -Dbash_completion=true +else +LIBMBIM_CONF_OPTS += -Dbash_completion=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libmbus/Config.in b/buildroot-2022.02.1/package/libmbus/Config.in similarity index 100% rename from buildroot-2021.05/package/libmbus/Config.in rename to buildroot-2022.02.1/package/libmbus/Config.in diff --git a/buildroot-2021.05/package/libmbus/libmbus.hash b/buildroot-2022.02.1/package/libmbus/libmbus.hash similarity index 100% rename from buildroot-2021.05/package/libmbus/libmbus.hash rename to buildroot-2022.02.1/package/libmbus/libmbus.hash diff --git a/buildroot-2021.05/package/libmbus/libmbus.mk b/buildroot-2022.02.1/package/libmbus/libmbus.mk similarity index 100% rename from buildroot-2021.05/package/libmbus/libmbus.mk rename to buildroot-2022.02.1/package/libmbus/libmbus.mk diff --git a/buildroot-2022.02.1/package/libmd/Config.in b/buildroot-2022.02.1/package/libmd/Config.in new file mode 100644 index 00000000..63139ad6 --- /dev/null +++ b/buildroot-2022.02.1/package/libmd/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBMD + bool "libmd" + help + This library provides message digest functions found on BSD + systems either on their libc (NetBSD, OpenBSD) or libmd + (FreeBSD, DragonflyBSD, macOS, Solaris) libraries and lacking + on others like GNU systems. + + https://www.hadrons.org/software/libmd/ diff --git a/buildroot-2022.02.1/package/libmd/libmd.hash b/buildroot-2022.02.1/package/libmd/libmd.hash new file mode 100644 index 00000000..1a3c9d80 --- /dev/null +++ b/buildroot-2022.02.1/package/libmd/libmd.hash @@ -0,0 +1,5 @@ +# From https://lists.freedesktop.org/archives/libbsd/2021-October/000311.html +sha512 731553ecc5e0e1eb228cced8fccd531fe31fb5c7627ca30013d287e1aeb8222959cf7498fbb7414bbabb967b25d4e8b0edd54fc47f6ccf55fc91087db0725ce3 libmd-1.0.4.tar.xz + +# Hash for license file +sha256 4365ef6255ad553fce69dd4bc0e093472c5d0e41b8ea493a545cc926ce171aa6 COPYING diff --git a/buildroot-2022.02.1/package/libmd/libmd.mk b/buildroot-2022.02.1/package/libmd/libmd.mk new file mode 100644 index 00000000..19a24589 --- /dev/null +++ b/buildroot-2022.02.1/package/libmd/libmd.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# libmd +# +################################################################################ + +LIBMD_VERSION = 1.0.4 +LIBMD_SOURCE = libmd-$(LIBMD_VERSION).tar.xz +LIBMD_SITE = https://archive.hadrons.org/software/libmd +LIBMD_LICENSE = BSD-2-Clause, BSD-3-Clause, Beerware, ISC, Public Domain +LIBMD_LICENSE_FILES = COPYING +LIBMD_INSTALL_STAGING = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmdbx/Config.in b/buildroot-2022.02.1/package/libmdbx/Config.in similarity index 100% rename from buildroot-2021.05/package/libmdbx/Config.in rename to buildroot-2022.02.1/package/libmdbx/Config.in diff --git a/buildroot-2022.02.1/package/libmdbx/libmdbx.hash b/buildroot-2022.02.1/package/libmdbx/libmdbx.hash new file mode 100644 index 00000000..2483d14d --- /dev/null +++ b/buildroot-2022.02.1/package/libmdbx/libmdbx.hash @@ -0,0 +1,5 @@ +# Hashes from: https://github.com/erthink/libmdbx/releases/ +sha256 884de528f5c2abab2187b7c4c84b769d2551e1a748cbfdf0ae4c0f5c9f8dbd27 libmdbx-amalgamated-0.11.4.tar.gz + +# Locally calculated +sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/buildroot-2022.02.1/package/libmdbx/libmdbx.mk b/buildroot-2022.02.1/package/libmdbx/libmdbx.mk new file mode 100644 index 00000000..1aff8fbb --- /dev/null +++ b/buildroot-2022.02.1/package/libmdbx/libmdbx.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# libmdbx +# +################################################################################ + +LIBMDBX_VERSION = 0.11.4 +LIBMDBX_SOURCE = libmdbx-amalgamated-$(LIBMDBX_VERSION).tar.gz +LIBMDBX_SITE = https://github.com/erthink/libmdbx/releases/download/v$(LIBMDBX_VERSION) +LIBMDBX_SUPPORTS_IN_SOURCE_BUILD = NO +LIBMDBX_LICENSE = OLDAP-2.8 +LIBMDBX_LICENSE_FILES = LICENSE +LIBMDBX_REDISTRIBUTE = YES +LIBMDBX_STRIP_COMPONENTS = 0 +LIBMDBX_INSTALL_STAGING = YES + +# Set CMAKE_BUILD_TYPE to Release to remove -Werror and avoid a build failure +# with glibc < 2.12 +LIBMDBX_CONF_OPTS = \ + -DCMAKE_BUILD_TYPE=Release \ + -DMDBX_INSTALL_MANPAGES=OFF \ + -DBUILD_FOR_NATIVE_CPU=OFF \ + -DMDBX_BUILD_CXX=$(if $(BR2_PACKAGE_LIBMDBX_CXX),ON,OFF) \ + -DMDBX_BUILD_TOOLS=$(if $(BR2_PACKAGE_LIBMDBX_TOOLS),ON,OFF) + +ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +LIBMDBX_CONF_OPTS += -DMDBX_INSTALL_STATIC=ON +else +LIBMDBX_CONF_OPTS += -DMDBX_INSTALL_STATIC=OFF +endif + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +LIBMDBX_CONF_OPTS += \ + -DMDBX_BUILD_SHARED_LIBRARY=ON \ + -DMDBX_LINK_TOOLS_NONSTATIC=ON +else +LIBMDBX_CONF_OPTS += \ + -DMDBX_BUILD_SHARED_LIBRARY=OFF \ + -DMDBX_LINK_TOOLS_NONSTATIC=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/libmediaart/0001-meson-add-introspection-option.patch b/buildroot-2022.02.1/package/libmediaart/0001-meson-add-introspection-option.patch new file mode 100644 index 00000000..2b849040 --- /dev/null +++ b/buildroot-2022.02.1/package/libmediaart/0001-meson-add-introspection-option.patch @@ -0,0 +1,87 @@ +From ee7d8736af172cd5ad71a0bd511c39daf401e3f6 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 5 Oct 2021 23:35:26 +0200 +Subject: [PATCH] meson: add introspection option + +Add introspection option + +Fix #3 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.gnome.org/GNOME/libmediaart/-/merge_requests/14] +--- + libmediaart/meson.build | 42 +++++++++++++++++++++-------------------- + meson_options.txt | 2 ++ + 2 files changed, 24 insertions(+), 20 deletions(-) + +diff --git a/libmediaart/meson.build b/libmediaart/meson.build +index 56e00ab..2f44e63 100644 +--- a/libmediaart/meson.build ++++ b/libmediaart/meson.build +@@ -41,28 +41,30 @@ libmediaart = shared_library( + install: true, + ) + +-gir_args = [ +- '--quiet', +- '-DLIBMEDIAART_COMPILATION', +-] ++if get_option('introspection') ++ gir_args = [ ++ '--quiet', ++ '-DLIBMEDIAART_COMPILATION', ++ ] + +-libmediaart_gir_and_typelib = gnome.generate_gir(libmediaart, +- sources: libmediaart_sources + libmediaart_introspection_sources + libmediaart_public_headers, +- nsversion: libmediaart_api_version, +- namespace: 'MediaArt', +- identifier_prefix: 'MediaArt', +- symbol_prefix: 'media_art', +- includes: ['Gio-2.0', 'GObject-2.0'], +- header: 'libmediaart/mediaart.h', +- export_packages: 'libmediaart-' + libmediaart_api_version, +- extra_args: gir_args, +- install: true +-) ++ libmediaart_gir_and_typelib = gnome.generate_gir(libmediaart, ++ sources: libmediaart_sources + libmediaart_introspection_sources + libmediaart_public_headers, ++ nsversion: libmediaart_api_version, ++ namespace: 'MediaArt', ++ identifier_prefix: 'MediaArt', ++ symbol_prefix: 'media_art', ++ includes: ['Gio-2.0', 'GObject-2.0'], ++ header: 'libmediaart/mediaart.h', ++ export_packages: 'libmediaart-' + libmediaart_api_version, ++ extra_args: gir_args, ++ install: true ++ ) + +-libmediaart_vapi = gnome.generate_vapi('libmediaart-' + libmediaart_api_version, +- sources: libmediaart_gir_and_typelib[0], +- packages: 'gio-2.0', +- install: true) ++ libmediaart_vapi = gnome.generate_vapi('libmediaart-' + libmediaart_api_version, ++ sources: libmediaart_gir_and_typelib[0], ++ packages: 'gio-2.0', ++ install: true) ++endif + + libmediaart_dep = declare_dependency( + link_with: libmediaart, +diff --git a/meson_options.txt b/meson_options.txt +index 3ef49ba..b8c51b1 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -1,5 +1,7 @@ + option('image_library', type: 'combo', choices: ['auto', 'gdk-pixbuf', 'qt4', 'qt5'], + description: 'Which image processing backend to use') ++option('introspection', type : 'boolean', value : 'true', ++ description : 'Enable / disable the GObject-Introspection integration') + option('gtk_doc', + type: 'boolean', + value: 'false', +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/libmediaart/0002-meson-add-unit_tests-option.patch b/buildroot-2022.02.1/package/libmediaart/0002-meson-add-unit_tests-option.patch new file mode 100644 index 00000000..3519ff19 --- /dev/null +++ b/buildroot-2022.02.1/package/libmediaart/0002-meson-add-unit_tests-option.patch @@ -0,0 +1,48 @@ +From 01d94777d9d1906750db0e27e2e7b8f228ae4343 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 9 Oct 2021 23:45:53 +0200 +Subject: [PATCH] meson: add unit_tests option + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet (waiting feedback on first patch)] +--- + meson_options.txt | 2 ++ + tests/meson.build | 14 ++++++++------ + 2 files changed, 10 insertions(+), 6 deletions(-) + +diff --git a/meson_options.txt b/meson_options.txt +index b8c51b1..1172f93 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -2,6 +2,8 @@ option('image_library', type: 'combo', choices: ['auto', 'gdk-pixbuf', 'qt4', 'q + description: 'Which image processing backend to use') + option('introspection', type : 'boolean', value : 'true', + description : 'Enable / disable the GObject-Introspection integration') ++option('unit_tests', type : 'boolean', value : 'true', ++ description : 'Enable / disable unit tests') + option('gtk_doc', + type: 'boolean', + value: 'false', +diff --git a/tests/meson.build b/tests/meson.build +index 28834c0..02c96a1 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -1,7 +1,9 @@ +-mediaart_test = executable('mediaart-test', +- 'mediaarttest.c', +- dependencies: libmediaart_dep, +-) ++if get_option('unit_tests') ++ mediaart_test = executable('mediaart-test', ++ 'mediaarttest.c', ++ dependencies: libmediaart_dep, ++ ) + +-test('mediaart', mediaart_test, +- env: 'G_TEST_SRCDIR=' + meson.current_source_dir()) ++ test('mediaart', mediaart_test, ++ env: 'G_TEST_SRCDIR=' + meson.current_source_dir()) ++endif +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/libmediaart/0003-libmediaart-meson.build-replace-shared_library.patch b/buildroot-2022.02.1/package/libmediaart/0003-libmediaart-meson.build-replace-shared_library.patch new file mode 100644 index 00000000..d4b377d3 --- /dev/null +++ b/buildroot-2022.02.1/package/libmediaart/0003-libmediaart-meson.build-replace-shared_library.patch @@ -0,0 +1,35 @@ +From 2272d762436a3b0d2e4fef8fb4f1669814904620 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 12 Dec 2021 20:14:54 +0100 +Subject: [PATCH] libmediaart/meson.build: replace shared_library + +Replace shared_library by library call to avoid the following build +failure when building statically: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini': +__uClibc_main.c:(.text+0x15c): undefined reference to `__fini_array_start' + +Fixes: + - http://autobuild.buildroot.org/results/18d26882a68dcf8f09b3e3d25636454a12939310 + +Signed-off-by: Fabrice Fontaine +--- + libmediaart/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libmediaart/meson.build b/libmediaart/meson.build +index 2f44e63..1fd3b99 100644 +--- a/libmediaart/meson.build ++++ b/libmediaart/meson.build +@@ -30,7 +30,7 @@ marshal = gnome.genmarshal('marshal', + + libmediaart_dependencies = [glib, gio_unix, gobject, image_library] + +-libmediaart = shared_library( ++libmediaart = library( + 'mediaart-' + libmediaart_api_version, + libmediaart_sources, marshal[0], marshal[1], + version: libmediaart_ltversion, +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/libmediaart/Config.in b/buildroot-2022.02.1/package/libmediaart/Config.in new file mode 100644 index 00000000..d7973444 --- /dev/null +++ b/buildroot-2022.02.1/package/libmediaart/Config.in @@ -0,0 +1,37 @@ +comment "libmediaart needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_LIBMEDIAART + bool "libmediaart" + depends on BR2_USE_MMU # glib2 + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + select BR2_PACKAGE_LIBGLIB2 + help + Library tasked with managing, extracting and handling media + art caches + + https://github.com/GNOME/libmediaart + +if BR2_PACKAGE_LIBMEDIAART + +choice + prompt "media art backend" + default BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF + +config BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF + bool "gdk-pixbuf" + select BR2_PACKAGE_GDK_PIXBUF + +config BR2_PACKAGE_LIBMEDIAART_BACKEND_QT + bool "Qt" + depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE_GUI + +comment "Qt backend depends on Qt5" + depends on !BR2_PACKAGE_QT5 + +endchoice + +endif # BR2_PACKAGE_LIBMEDIAART diff --git a/buildroot-2022.02.1/package/libmediaart/libmediaart.hash b/buildroot-2022.02.1/package/libmediaart/libmediaart.hash new file mode 100644 index 00000000..d7115b20 --- /dev/null +++ b/buildroot-2022.02.1/package/libmediaart/libmediaart.hash @@ -0,0 +1,5 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/libmediaart/1.9/libmediaart-1.9.5.sha256sum: +sha256 07def5a42c482ae71d3e1f77a4d0fdc337f74226059a65284d6d5a241f0e9cd6 libmediaart-1.9.5.tar.xz + +# Locally computed: +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER diff --git a/buildroot-2022.02.1/package/libmediaart/libmediaart.mk b/buildroot-2022.02.1/package/libmediaart/libmediaart.mk new file mode 100644 index 00000000..77665fd9 --- /dev/null +++ b/buildroot-2022.02.1/package/libmediaart/libmediaart.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# libmediaart +# +################################################################################ + +LIBMEDIAART_VERSION_MAJOR = 1.9 +LIBMEDIAART_VERSION = $(LIBMEDIAART_VERSION_MAJOR).5 +LIBMEDIAART_SOURCE = libmediaart-$(LIBMEDIAART_VERSION).tar.xz +LIBMEDIAART_SITE = \ + http://ftp.gnome.org/pub/gnome/sources/libmediaart/$(LIBMEDIAART_VERSION_MAJOR) +LIBMEDIAART_LICENSE = LGPL-2.1+ +LIBMEDIAART_LICENSE_FILES = COPYING.LESSER +LIBMEDIAART_INSTALL_STAGING = YES +LIBMEDIAART_DEPENDENCIES = libglib2 $(TARGET_NLS_DEPENDENCIES) +LIBMEDIAART_CONF_OPTS = -Dunit_tests=false +LIBMEDIAART_LDFLAGS = $(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_GDK_PIXBUF),y) +LIBMEDIAART_DEPENDENCIES += gdk-pixbuf +LIBMEDIAART_CONF_OPTS += -Dimage_library=gdk-pixbuf +else ifeq ($(BR2_PACKAGE_LIBMEDIAART_BACKEND_QT),y) +# qt5 needs c++11 (since qt-5.7) +LIBMEDIAART_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" +LIBMEDIAART_DEPENDENCIES += qt5base +LIBMEDIAART_CONF_OPTS += -Dimage_library=qt5 +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBMEDIAART_CONF_OPTS += -Dintrospection=true +LIBMEDIAART_DEPENDENCIES += host-vala gobject-introspection +else +LIBMEDIAART_CONF_OPTS += -Dintrospection=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libmemcached/0001-disable-tests.patch b/buildroot-2022.02.1/package/libmemcached/0001-disable-tests.patch similarity index 100% rename from buildroot-2021.05/package/libmemcached/0001-disable-tests.patch rename to buildroot-2022.02.1/package/libmemcached/0001-disable-tests.patch diff --git a/buildroot-2021.05/package/libmemcached/0002-disable-sanitizer.patch b/buildroot-2022.02.1/package/libmemcached/0002-disable-sanitizer.patch similarity index 100% rename from buildroot-2021.05/package/libmemcached/0002-disable-sanitizer.patch rename to buildroot-2022.02.1/package/libmemcached/0002-disable-sanitizer.patch diff --git a/buildroot-2021.05/package/libmemcached/0003-move-ac_config_aux_dir.patch b/buildroot-2022.02.1/package/libmemcached/0003-move-ac_config_aux_dir.patch similarity index 100% rename from buildroot-2021.05/package/libmemcached/0003-move-ac_config_aux_dir.patch rename to buildroot-2022.02.1/package/libmemcached/0003-move-ac_config_aux_dir.patch diff --git a/buildroot-2021.05/package/libmemcached/0004-disable-doc-and-man.patch b/buildroot-2022.02.1/package/libmemcached/0004-disable-doc-and-man.patch similarity index 100% rename from buildroot-2021.05/package/libmemcached/0004-disable-doc-and-man.patch rename to buildroot-2022.02.1/package/libmemcached/0004-disable-doc-and-man.patch diff --git a/buildroot-2021.05/package/libmemcached/0005-fix-pointer-comparaison.patch b/buildroot-2022.02.1/package/libmemcached/0005-fix-pointer-comparaison.patch similarity index 100% rename from buildroot-2021.05/package/libmemcached/0005-fix-pointer-comparaison.patch rename to buildroot-2022.02.1/package/libmemcached/0005-fix-pointer-comparaison.patch diff --git a/buildroot-2021.05/package/libmemcached/Config.in b/buildroot-2022.02.1/package/libmemcached/Config.in similarity index 100% rename from buildroot-2021.05/package/libmemcached/Config.in rename to buildroot-2022.02.1/package/libmemcached/Config.in diff --git a/buildroot-2021.05/package/libmemcached/libmemcached.hash b/buildroot-2022.02.1/package/libmemcached/libmemcached.hash similarity index 100% rename from buildroot-2021.05/package/libmemcached/libmemcached.hash rename to buildroot-2022.02.1/package/libmemcached/libmemcached.hash diff --git a/buildroot-2021.05/package/libmemcached/libmemcached.mk b/buildroot-2022.02.1/package/libmemcached/libmemcached.mk similarity index 100% rename from buildroot-2021.05/package/libmemcached/libmemcached.mk rename to buildroot-2022.02.1/package/libmemcached/libmemcached.mk diff --git a/buildroot-2021.05/package/libmhash/Config.in b/buildroot-2022.02.1/package/libmhash/Config.in similarity index 100% rename from buildroot-2021.05/package/libmhash/Config.in rename to buildroot-2022.02.1/package/libmhash/Config.in diff --git a/buildroot-2021.05/package/libmhash/libmhash.hash b/buildroot-2022.02.1/package/libmhash/libmhash.hash similarity index 100% rename from buildroot-2021.05/package/libmhash/libmhash.hash rename to buildroot-2022.02.1/package/libmhash/libmhash.hash diff --git a/buildroot-2021.05/package/libmhash/libmhash.mk b/buildroot-2022.02.1/package/libmhash/libmhash.mk similarity index 100% rename from buildroot-2021.05/package/libmhash/libmhash.mk rename to buildroot-2022.02.1/package/libmhash/libmhash.mk diff --git a/buildroot-2021.05/package/libmicrohttpd/Config.in b/buildroot-2022.02.1/package/libmicrohttpd/Config.in similarity index 100% rename from buildroot-2021.05/package/libmicrohttpd/Config.in rename to buildroot-2022.02.1/package/libmicrohttpd/Config.in diff --git a/buildroot-2022.02.1/package/libmicrohttpd/libmicrohttpd.hash b/buildroot-2022.02.1/package/libmicrohttpd/libmicrohttpd.hash new file mode 100644 index 00000000..7f95e78a --- /dev/null +++ b/buildroot-2022.02.1/package/libmicrohttpd/libmicrohttpd.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 9278907a6f571b391aab9644fd646a5108ed97311ec66f6359cebbedb0a4e3bb libmicrohttpd-0.9.75.tar.gz +sha256 7399547209438c93f9b90297954698773d4846cea44cde5ca982c84c45952a3b COPYING diff --git a/buildroot-2022.02.1/package/libmicrohttpd/libmicrohttpd.mk b/buildroot-2022.02.1/package/libmicrohttpd/libmicrohttpd.mk new file mode 100644 index 00000000..f75178bc --- /dev/null +++ b/buildroot-2022.02.1/package/libmicrohttpd/libmicrohttpd.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# libmicrohttpd +# +################################################################################ + +LIBMICROHTTPD_VERSION = 0.9.75 +LIBMICROHTTPD_SITE = $(BR2_GNU_MIRROR)/libmicrohttpd +LIBMICROHTTPD_LICENSE_FILES = COPYING +LIBMICROHTTPD_CPE_ID_VENDOR = gnu +LIBMICROHTTPD_INSTALL_STAGING = YES +LIBMICROHTTPD_CONF_OPTS = --disable-curl --disable-examples +LIBMICROHTTPD_CFLAGS = $(TARGET_CFLAGS) -std=c99 + +LIBMICROHTTPD_CONF_ENV += CFLAGS="$(LIBMICROHTTPD_CFLAGS)" + +ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y) +LIBMICROHTTPD_LICENSE = LGPL-2.1+ +LIBMICROHTTPD_DEPENDENCIES += host-pkgconf gnutls +LIBMICROHTTPD_CONF_OPTS += --enable-https --with-gnutls=$(STAGING_DIR)/usr +else +LIBMICROHTTPD_LICENSE = LGPL-2.1+ or eCos +LIBMICROHTTPD_CONF_OPTS += --disable-https +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +LIBMICROHTTPD_CONF_OPTS += --with-threads=auto +else +LIBMICROHTTPD_CONF_OPTS += --with-threads=none +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libminiupnpc/Config.in b/buildroot-2022.02.1/package/libminiupnpc/Config.in similarity index 100% rename from buildroot-2021.05/package/libminiupnpc/Config.in rename to buildroot-2022.02.1/package/libminiupnpc/Config.in diff --git a/buildroot-2021.05/package/libminiupnpc/libminiupnpc.hash b/buildroot-2022.02.1/package/libminiupnpc/libminiupnpc.hash similarity index 100% rename from buildroot-2021.05/package/libminiupnpc/libminiupnpc.hash rename to buildroot-2022.02.1/package/libminiupnpc/libminiupnpc.hash diff --git a/buildroot-2022.02.1/package/libminiupnpc/libminiupnpc.mk b/buildroot-2022.02.1/package/libminiupnpc/libminiupnpc.mk new file mode 100644 index 00000000..0633ccd2 --- /dev/null +++ b/buildroot-2022.02.1/package/libminiupnpc/libminiupnpc.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# libminiupnpc +# +################################################################################ + +LIBMINIUPNPC_VERSION_MAJOR = 2.1 +LIBMINIUPNPC_VERSION_MINOR = 20201016 +LIBMINIUPNPC_VERSION = $(LIBMINIUPNPC_VERSION_MAJOR).$(LIBMINIUPNPC_VERSION_MINOR) +LIBMINIUPNPC_SOURCE = miniupnpc-$(LIBMINIUPNPC_VERSION).tar.gz +LIBMINIUPNPC_SITE = http://miniupnp.free.fr/files +LIBMINIUPNPC_INSTALL_STAGING = YES +LIBMINIUPNPC_LICENSE = BSD-3-Clause +LIBMINIUPNPC_LICENSE_FILES = LICENSE +LIBMINIUPNPC_CPE_ID_VENDOR = miniupnp_project +LIBMINIUPNPC_CPE_ID_PRODUCT = miniupnpc +LIBMINIUPNPC_CPE_ID_VERSION = $(LIBMINIUPNPC_VERSION_MAJOR) +LIBMINIUPNPC_CPE_ID_UPDATE = $(LIBMINIUPNPC_VERSION_MINOR) +LIBMINIUPNPC_CONF_OPTS = -DUPNPC_BUILD_SAMPLE=OFF -DUPNPC_BUILD_TESTS=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libmms/Config.in b/buildroot-2022.02.1/package/libmms/Config.in similarity index 100% rename from buildroot-2021.05/package/libmms/Config.in rename to buildroot-2022.02.1/package/libmms/Config.in diff --git a/buildroot-2021.05/package/libmms/libmms.hash b/buildroot-2022.02.1/package/libmms/libmms.hash similarity index 100% rename from buildroot-2021.05/package/libmms/libmms.hash rename to buildroot-2022.02.1/package/libmms/libmms.hash diff --git a/buildroot-2021.05/package/libmms/libmms.mk b/buildroot-2022.02.1/package/libmms/libmms.mk similarity index 100% rename from buildroot-2021.05/package/libmms/libmms.mk rename to buildroot-2022.02.1/package/libmms/libmms.mk diff --git a/buildroot-2021.05/package/libmng/0001-jpeg-9a.patch b/buildroot-2022.02.1/package/libmng/0001-jpeg-9a.patch similarity index 100% rename from buildroot-2021.05/package/libmng/0001-jpeg-9a.patch rename to buildroot-2022.02.1/package/libmng/0001-jpeg-9a.patch diff --git a/buildroot-2021.05/package/libmng/Config.in b/buildroot-2022.02.1/package/libmng/Config.in similarity index 100% rename from buildroot-2021.05/package/libmng/Config.in rename to buildroot-2022.02.1/package/libmng/Config.in diff --git a/buildroot-2021.05/package/libmng/libmng.hash b/buildroot-2022.02.1/package/libmng/libmng.hash similarity index 100% rename from buildroot-2021.05/package/libmng/libmng.hash rename to buildroot-2022.02.1/package/libmng/libmng.hash diff --git a/buildroot-2021.05/package/libmng/libmng.mk b/buildroot-2022.02.1/package/libmng/libmng.mk similarity index 100% rename from buildroot-2021.05/package/libmng/libmng.mk rename to buildroot-2022.02.1/package/libmng/libmng.mk diff --git a/buildroot-2021.05/package/libmnl/Config.in b/buildroot-2022.02.1/package/libmnl/Config.in similarity index 100% rename from buildroot-2021.05/package/libmnl/Config.in rename to buildroot-2022.02.1/package/libmnl/Config.in diff --git a/buildroot-2021.05/package/libmnl/libmnl.hash b/buildroot-2022.02.1/package/libmnl/libmnl.hash similarity index 100% rename from buildroot-2021.05/package/libmnl/libmnl.hash rename to buildroot-2022.02.1/package/libmnl/libmnl.hash diff --git a/buildroot-2021.05/package/libmnl/libmnl.mk b/buildroot-2022.02.1/package/libmnl/libmnl.mk similarity index 100% rename from buildroot-2021.05/package/libmnl/libmnl.mk rename to buildroot-2022.02.1/package/libmnl/libmnl.mk diff --git a/buildroot-2021.05/package/libmodbus/Config.in b/buildroot-2022.02.1/package/libmodbus/Config.in similarity index 100% rename from buildroot-2021.05/package/libmodbus/Config.in rename to buildroot-2022.02.1/package/libmodbus/Config.in diff --git a/buildroot-2022.02.1/package/libmodbus/libmodbus.hash b/buildroot-2022.02.1/package/libmodbus/libmodbus.hash new file mode 100644 index 00000000..b676d261 --- /dev/null +++ b/buildroot-2022.02.1/package/libmodbus/libmodbus.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 7dfe958431d0570b271e1a5b329b76a658e89c614cf119eb5aadb725c87f8fbd libmodbus-3.1.7.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER diff --git a/buildroot-2022.02.1/package/libmodbus/libmodbus.mk b/buildroot-2022.02.1/package/libmodbus/libmodbus.mk new file mode 100644 index 00000000..46eb8603 --- /dev/null +++ b/buildroot-2022.02.1/package/libmodbus/libmodbus.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libmodbus +# +################################################################################ + +LIBMODBUS_VERSION = 3.1.7 +LIBMODBUS_SITE = http://libmodbus.org/releases +LIBMODBUS_LICENSE = LGPL-2.1+ +LIBMODBUS_LICENSE_FILES = COPYING.LESSER +LIBMODBUS_CPE_ID_VENDOR = libmodbus +LIBMODBUS_INSTALL_STAGING = YES +LIBMODBUS_CONF_OPTS = --without-documentation --disable-tests + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmodplug/Config.in b/buildroot-2022.02.1/package/libmodplug/Config.in similarity index 100% rename from buildroot-2021.05/package/libmodplug/Config.in rename to buildroot-2022.02.1/package/libmodplug/Config.in diff --git a/buildroot-2021.05/package/libmodplug/libmodplug.hash b/buildroot-2022.02.1/package/libmodplug/libmodplug.hash similarity index 100% rename from buildroot-2021.05/package/libmodplug/libmodplug.hash rename to buildroot-2022.02.1/package/libmodplug/libmodplug.hash diff --git a/buildroot-2021.05/package/libmodplug/libmodplug.mk b/buildroot-2022.02.1/package/libmodplug/libmodplug.mk similarity index 100% rename from buildroot-2021.05/package/libmodplug/libmodplug.mk rename to buildroot-2022.02.1/package/libmodplug/libmodplug.mk diff --git a/buildroot-2022.02.1/package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patch b/buildroot-2022.02.1/package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patch new file mode 100644 index 00000000..14767fb2 --- /dev/null +++ b/buildroot-2022.02.1/package/libmodsecurity/0001-configure.ac-drop-usage-of-git-at-configure-time.patch @@ -0,0 +1,79 @@ +From a2116312068b6b2c5732dfebde19b751cc81d4f3 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sun, 1 Aug 2021 23:21:35 +0200 +Subject: [PATCH] configure.ac: drop usage of git at configure time + +The usage of git is only to print some messages at configure time, +which is not very useful, and causes a significant number of warning +when regenerating the configure script. + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 23 ----------------------- + 1 file changed, 23 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 20163e1e..14e5892a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,6 @@ + + # Get the hash of the last commit, to be used if it is not an + # official release. +-AC_DEFUN([MSC_GIT_HASH], m4_esyscmd_s(git log -1 --format="%h" --abbrev-commit)) + AC_DEFUN([MSC_MAJOR], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MAJOR " | awk {'print $3'} | sed 's/\"//g')) + AC_DEFUN([MSC_MINOR], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_MINOR " | awk {'print $3'} | sed 's/\"//g')) + AC_DEFUN([MSC_PATCHLEVEL], m4_esyscmd_s(cat headers/modsecurity/modsecurity.h | grep "define MODSECURITY_PATCHLEVEL " | awk {'print $3'} | sed 's/\"//g')) +@@ -25,9 +24,6 @@ m4_define([msc_version], + m4_define([msc_version_with_patchlevel], + [msc_version_major.msc_version_minor.msc_version_patchlevel]) + +-m4_define([msc_version_git], +- [m4_esyscmd_s(git describe)]) +- + m4_define([msc_version_info], + [msc_version_c_plus_a:msc_version_patchlevel:msc_version_minor]) + +@@ -73,11 +69,6 @@ AC_MSG_ERROR([\ + + ]) + fi +-# Libinjection version +-AC_DEFUN([LIBINJECTION_VERSION], m4_esyscmd_s(cd "others/libinjection" && git describe && cd ../..)) +- +-# SecLang test version +-AC_DEFUN([SECLANG_TEST_VERSION], m4_esyscmd_s(cd "test/test-cases/secrules-language-tests" && git log -1 --format="%h" --abbrev-commit && cd ../../..)) + + + # Check for yajl +@@ -217,10 +208,6 @@ AC_SUBST([MSC_VERSION_WITH_PATCHLEVEL]) + MSC_VERSION=msc_version + AC_SUBST([MSC_VERSION]) + +-MSC_GIT_VERSION=msc_version_git +-AC_SUBST([MSC_GIT_VERSION]) +- +- + AC_ARG_ENABLE(debug-logs, + [AC_HELP_STRING([--disable-debug-logs],[Turn off the SecDebugLog feature])], + +@@ -412,16 +399,6 @@ AC_OUTPUT + + + # Print a fancy summary +-echo " " +-echo " " +-echo "ModSecurity - ${MSC_GIT_VERSION} for $PLATFORM" +-echo " " +-echo " Mandatory dependencies" +-echo -n " + libInjection ...." +-echo LIBINJECTION_VERSION +-echo -n " + SecLang tests ...." +-echo SECLANG_TEST_VERSION +- + echo " " + echo " Optional dependencies" + +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/libmodsecurity/0002-modsecurity.pc.in-add-lstdc.patch b/buildroot-2022.02.1/package/libmodsecurity/0002-modsecurity.pc.in-add-lstdc.patch new file mode 100644 index 00000000..6511e6f1 --- /dev/null +++ b/buildroot-2022.02.1/package/libmodsecurity/0002-modsecurity.pc.in-add-lstdc.patch @@ -0,0 +1,32 @@ +From 1a84881b280eb08852d5495c57e44351a40d3f91 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 26 Jul 2021 00:24:57 +0200 +Subject: [PATCH] modsecurity.pc.in: add -lstdc++ + +Add -lstdc++ to Libs.Private to avoid the following static build failure +with nginx: + +/home/buildroot/autobuild/instance-2/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-2/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libmodsecurity.a(libmodsecurity_la-transaction.o): in function `std::basic_streambuf >::sbumpc() [clone .isra.0]': +transaction.cc:(.text+0x40): undefined reference to `std::__cxx11::basic_string, std::allocator >::_M_dispose()' + +Fixes: + - http://autobuild.buildroot.org/results/e5a9eb8448980f1c5cafe97180b7d1f48ddf02ca + +Signed-off-by: Fabrice Fontaine +--- + modsecurity.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modsecurity.pc.in b/modsecurity.pc.in +index 96cdf5ca..7c895ddc 100644 +--- a/modsecurity.pc.in ++++ b/modsecurity.pc.in +@@ -8,4 +8,4 @@ Description: ModSecurity API + Version: @MSC_VERSION_WITH_PATCHLEVEL@ + Cflags: -I@includedir@ + Libs: -L@libdir@ -lmodsecurity +-Libs.private: @CURL_LDADD@ @GEOIP_LDADD@ @MAXMIND_LDADD@ @GLOBAL_LDADD@ @LIBXML2_LDADD@ @LMDB_LDADD@ @LUA_LDADD@ @PCRE_LDADD@ @SSDEEP_LDADD@ @YAJL_LDADD@ ++Libs.private: @CURL_LDADD@ @GEOIP_LDADD@ @MAXMIND_LDADD@ @GLOBAL_LDADD@ @LIBXML2_LDADD@ @LMDB_LDADD@ @LUA_LDADD@ @PCRE_LDADD@ @SSDEEP_LDADD@ @YAJL_LDADD@ -lstdc++ +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/libmodsecurity/0003-Revert-Fix-maxminddb-link-on-FreeBSD.patch b/buildroot-2022.02.1/package/libmodsecurity/0003-Revert-Fix-maxminddb-link-on-FreeBSD.patch new file mode 100644 index 00000000..9608e3d9 --- /dev/null +++ b/buildroot-2022.02.1/package/libmodsecurity/0003-Revert-Fix-maxminddb-link-on-FreeBSD.patch @@ -0,0 +1,28 @@ +From 6737dc133cb4811a000c02b4e0a92b72f0b220ee Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 16 Jul 2021 19:12:51 +0200 +Subject: [PATCH] Revert "Fix maxminddb link on FreeBSD" + +This reverts commit 785958f9b5089b918c7d054cbcc2fe4a3c7b3788. + +Signed-off-by: Fabrice Fontaine +--- + build/libmaxmind.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build/libmaxmind.m4 b/build/libmaxmind.m4 +index 656fc250..02820b5a 100644 +--- a/build/libmaxmind.m4 ++++ b/build/libmaxmind.m4 +@@ -10,7 +10,7 @@ dnl MAXMIND_VERSION + AC_DEFUN([PROG_MAXMIND], [ + + # Possible names for the maxmind library/package (pkg-config) +-MAXMIND_POSSIBLE_LIB_NAMES="maxminddb maxmind" ++MAXMIND_POSSIBLE_LIB_NAMES="libmaxminddb maxminddb maxmind" + + # Possible extensions for the library + MAXMIND_POSSIBLE_EXTENSIONS="so la sl dll dylib" +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/libmodsecurity/Config.in b/buildroot-2022.02.1/package/libmodsecurity/Config.in new file mode 100644 index 00000000..87f7a9c1 --- /dev/null +++ b/buildroot-2022.02.1/package/libmodsecurity/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_LIBMODSECURITY + bool "libmodsecurity" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_PCRE + help + Libmodsecurity is one component of the ModSecurity + v3 project. The library codebase serves as an + interface to ModSecurity Connectors taking in web + traffic and applying traditional ModSecurity + processing. In general, it provides the capability + to load/interpret rules written in the ModSecurity + SecRules format and apply them to HTTP content + provided by your application via Connectors. + + https://github.com/SpiderLabs/ModSecurity + +comment "libmodsecurity needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libmodsecurity/libmodsecurity.hash b/buildroot-2022.02.1/package/libmodsecurity/libmodsecurity.hash new file mode 100644 index 00000000..341dbc37 --- /dev/null +++ b/buildroot-2022.02.1/package/libmodsecurity/libmodsecurity.hash @@ -0,0 +1,4 @@ +# From https://github.com/SpiderLabs/ModSecurity/releases/download/v3.0.6/modsecurity-v3.0.6.tar.gz.sha256 +sha256 06315d9a32fc830997178f30a69e933c9c2364b263a2f036959bebc4dde59a08 modsecurity-v3.0.6.tar.gz +# Localy calculated +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE diff --git a/buildroot-2022.02.1/package/libmodsecurity/libmodsecurity.mk b/buildroot-2022.02.1/package/libmodsecurity/libmodsecurity.mk new file mode 100644 index 00000000..8fa3d598 --- /dev/null +++ b/buildroot-2022.02.1/package/libmodsecurity/libmodsecurity.mk @@ -0,0 +1,65 @@ +################################################################################ +# +# libmodsecurity +# +################################################################################ + +LIBMODSECURITY_VERSION = 3.0.6 +LIBMODSECURITY_SOURCE = modsecurity-v$(LIBMODSECURITY_VERSION).tar.gz +LIBMODSECURITY_SITE = https://github.com/SpiderLabs/ModSecurity/releases/download/v$(LIBMODSECURITY_VERSION) +LIBMODSECURITY_INSTALL_STAGING = YES +LIBMODSECURITY_LICENSE = Apache-2.0 +LIBMODSECURITY_LICENSE_FILES = LICENSE +LIBMODSECURITY_CPE_ID_VENDOR = trustwave +LIBMODSECURITY_CPE_ID_PRODUCT = modsecurity +# We're patching build/libmaxmind.m4 +LIBMODSECURITY_AUTORECONF = YES + +LIBMODSECURITY_DEPENDENCIES = pcre +LIBMODSECURITY_CONF_OPTS = \ + --with-pcre="$(STAGING_DIR)/usr/bin/pcre-config" \ + --disable-examples \ + --without-lmdb \ + --without-ssdeep \ + --without-lua \ + --without-yajl + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +LIBMODSECURITY_DEPENDENCIES += libxml2 +LIBMODSECURITY_CONF_OPTS += --with-libxml="$(STAGING_DIR)/usr/bin/xml2-config" +else +LIBMODSECURITY_CONF_OPTS += --without-libxml +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +LIBMODSECURITY_DEPENDENCIES += libcurl +LIBMODSECURITY_CONF_OPTS += --with-curl="$(STAGING_DIR)/usr/bin/curl-config" +else +LIBMODSECURITY_CONF_OPTS += --without-curl +endif + +ifeq ($(BR2_PACKAGE_GEOIP),y) +LIBMODSECURITY_DEPENDENCIES += geoip +LIBMODSECURITY_CONF_OPTS += --with-geoip +else +LIBMODSECURITY_CONF_OPTS += --without-geoip +endif + +ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y) +LIBMODSECURITY_DEPENDENCIES += libmaxminddb +LIBMODSECURITY_CONF_OPTS += --with-maxmind +else +LIBMODSECURITY_CONF_OPTS += --without-maxmind +endif + +LIBMODSECURITY_CXXFLAGS = $(TARGET_CXXFLAGS) + +# m68k_cf can't use -fPIC that libmodsecurity forces to use, so we need +# to disable it to avoid a build failure. +ifeq ($(BR2_m68k_cf),y) +LIBMODSECURITY_CXXFLAGS += -fno-PIC +endif + +LIBMODSECURITY_CONF_OPTS += CXXFLAGS="$(LIBMODSECURITY_CXXFLAGS)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libmpd/0001-Fix-build-on-archlinux-missing-include.patch b/buildroot-2022.02.1/package/libmpd/0001-Fix-build-on-archlinux-missing-include.patch similarity index 100% rename from buildroot-2021.05/package/libmpd/0001-Fix-build-on-archlinux-missing-include.patch rename to buildroot-2022.02.1/package/libmpd/0001-Fix-build-on-archlinux-missing-include.patch diff --git a/buildroot-2021.05/package/libmpd/Config.in b/buildroot-2022.02.1/package/libmpd/Config.in similarity index 100% rename from buildroot-2021.05/package/libmpd/Config.in rename to buildroot-2022.02.1/package/libmpd/Config.in diff --git a/buildroot-2021.05/package/libmpd/libmpd.hash b/buildroot-2022.02.1/package/libmpd/libmpd.hash similarity index 100% rename from buildroot-2021.05/package/libmpd/libmpd.hash rename to buildroot-2022.02.1/package/libmpd/libmpd.hash diff --git a/buildroot-2021.05/package/libmpd/libmpd.mk b/buildroot-2022.02.1/package/libmpd/libmpd.mk similarity index 100% rename from buildroot-2021.05/package/libmpd/libmpd.mk rename to buildroot-2022.02.1/package/libmpd/libmpd.mk diff --git a/buildroot-2021.05/package/libmpdclient/Config.in b/buildroot-2022.02.1/package/libmpdclient/Config.in similarity index 100% rename from buildroot-2021.05/package/libmpdclient/Config.in rename to buildroot-2022.02.1/package/libmpdclient/Config.in diff --git a/buildroot-2022.02.1/package/libmpdclient/libmpdclient.hash b/buildroot-2022.02.1/package/libmpdclient/libmpdclient.hash new file mode 100644 index 00000000..8219183c --- /dev/null +++ b/buildroot-2022.02.1/package/libmpdclient/libmpdclient.hash @@ -0,0 +1,3 @@ +# Verified against http://www.musicpd.org/download/libmpdclient/2/libmpdclient-2.20.tar.xz.sig, sha256 locally computed +sha256 18793f68e939c3301e34d8fcadea1f7daa24143941263cecadb80126194e277d libmpdclient-2.20.tar.xz +sha256 9574c3b0a9c31723cc3d5f32af4655a015fff5ec6ec8115b7906cd7d9623cf32 COPYING diff --git a/buildroot-2022.02.1/package/libmpdclient/libmpdclient.mk b/buildroot-2022.02.1/package/libmpdclient/libmpdclient.mk new file mode 100644 index 00000000..2103ef16 --- /dev/null +++ b/buildroot-2022.02.1/package/libmpdclient/libmpdclient.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libmpdclient +# +################################################################################ + +LIBMPDCLIENT_VERSION_MAJOR = 2 +LIBMPDCLIENT_VERSION = $(LIBMPDCLIENT_VERSION_MAJOR).20 +LIBMPDCLIENT_SOURCE = libmpdclient-$(LIBMPDCLIENT_VERSION).tar.xz +LIBMPDCLIENT_SITE = http://www.musicpd.org/download/libmpdclient/$(LIBMPDCLIENT_VERSION_MAJOR) +LIBMPDCLIENT_INSTALL_STAGING = YES +LIBMPDCLIENT_LICENSE = BSD-3-Clause +LIBMPDCLIENT_LICENSE_FILES = COPYING + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libmpeg2/0001-altivec.patch b/buildroot-2022.02.1/package/libmpeg2/0001-altivec.patch similarity index 100% rename from buildroot-2021.05/package/libmpeg2/0001-altivec.patch rename to buildroot-2022.02.1/package/libmpeg2/0001-altivec.patch diff --git a/buildroot-2021.05/package/libmpeg2/0002-armv4l.patch b/buildroot-2022.02.1/package/libmpeg2/0002-armv4l.patch similarity index 100% rename from buildroot-2021.05/package/libmpeg2/0002-armv4l.patch rename to buildroot-2022.02.1/package/libmpeg2/0002-armv4l.patch diff --git a/buildroot-2021.05/package/libmpeg2/0003-fix-arm-detection.patch b/buildroot-2022.02.1/package/libmpeg2/0003-fix-arm-detection.patch similarity index 100% rename from buildroot-2021.05/package/libmpeg2/0003-fix-arm-detection.patch rename to buildroot-2022.02.1/package/libmpeg2/0003-fix-arm-detection.patch diff --git a/buildroot-2021.05/package/libmpeg2/0004-fix-sparc.patch b/buildroot-2022.02.1/package/libmpeg2/0004-fix-sparc.patch similarity index 100% rename from buildroot-2021.05/package/libmpeg2/0004-fix-sparc.patch rename to buildroot-2022.02.1/package/libmpeg2/0004-fix-sparc.patch diff --git a/buildroot-2021.05/package/libmpeg2/Config.in b/buildroot-2022.02.1/package/libmpeg2/Config.in similarity index 100% rename from buildroot-2021.05/package/libmpeg2/Config.in rename to buildroot-2022.02.1/package/libmpeg2/Config.in diff --git a/buildroot-2021.05/package/libmpeg2/libmpeg2.hash b/buildroot-2022.02.1/package/libmpeg2/libmpeg2.hash similarity index 100% rename from buildroot-2021.05/package/libmpeg2/libmpeg2.hash rename to buildroot-2022.02.1/package/libmpeg2/libmpeg2.hash diff --git a/buildroot-2021.05/package/libmpeg2/libmpeg2.mk b/buildroot-2022.02.1/package/libmpeg2/libmpeg2.mk similarity index 100% rename from buildroot-2021.05/package/libmpeg2/libmpeg2.mk rename to buildroot-2022.02.1/package/libmpeg2/libmpeg2.mk diff --git a/buildroot-2021.05/package/libmspack/Config.in b/buildroot-2022.02.1/package/libmspack/Config.in similarity index 100% rename from buildroot-2021.05/package/libmspack/Config.in rename to buildroot-2022.02.1/package/libmspack/Config.in diff --git a/buildroot-2021.05/package/libmspack/libmspack.hash b/buildroot-2022.02.1/package/libmspack/libmspack.hash similarity index 100% rename from buildroot-2021.05/package/libmspack/libmspack.hash rename to buildroot-2022.02.1/package/libmspack/libmspack.hash diff --git a/buildroot-2021.05/package/libmspack/libmspack.mk b/buildroot-2022.02.1/package/libmspack/libmspack.mk similarity index 100% rename from buildroot-2021.05/package/libmspack/libmspack.mk rename to buildroot-2022.02.1/package/libmspack/libmspack.mk diff --git a/buildroot-2021.05/package/libnatpmp/Config.in b/buildroot-2022.02.1/package/libnatpmp/Config.in similarity index 100% rename from buildroot-2021.05/package/libnatpmp/Config.in rename to buildroot-2022.02.1/package/libnatpmp/Config.in diff --git a/buildroot-2021.05/package/libnatpmp/libnatpmp.hash b/buildroot-2022.02.1/package/libnatpmp/libnatpmp.hash similarity index 100% rename from buildroot-2021.05/package/libnatpmp/libnatpmp.hash rename to buildroot-2022.02.1/package/libnatpmp/libnatpmp.hash diff --git a/buildroot-2021.05/package/libnatpmp/libnatpmp.mk b/buildroot-2022.02.1/package/libnatpmp/libnatpmp.mk similarity index 100% rename from buildroot-2021.05/package/libnatpmp/libnatpmp.mk rename to buildroot-2022.02.1/package/libnatpmp/libnatpmp.mk diff --git a/buildroot-2021.05/package/libndp/Config.in b/buildroot-2022.02.1/package/libndp/Config.in similarity index 100% rename from buildroot-2021.05/package/libndp/Config.in rename to buildroot-2022.02.1/package/libndp/Config.in diff --git a/buildroot-2022.02.1/package/libndp/libndp.hash b/buildroot-2022.02.1/package/libndp/libndp.hash new file mode 100644 index 00000000..389e0ba5 --- /dev/null +++ b/buildroot-2022.02.1/package/libndp/libndp.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c3ea76e253def89869651686a827da75b56896fe94fabd87d8c14b1d4588fd05 libndp-1.8.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/libndp/libndp.mk b/buildroot-2022.02.1/package/libndp/libndp.mk new file mode 100644 index 00000000..db1de7b8 --- /dev/null +++ b/buildroot-2022.02.1/package/libndp/libndp.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libndp +# +################################################################################ + +LIBNDP_VERSION = 1.8 +LIBNDP_SITE = $(call github,jpirko,libndp,v$(LIBNDP_VERSION)) +LIBNDP_LICENSE = LGPL-2.1+ +LIBNDP_LICENSE_FILES = COPYING +LIBNDP_CPE_ID_VENDOR = libndp +LIBNDP_AUTORECONF = YES +LIBNDP_INSTALL_STAGING = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch b/buildroot-2022.02.1/package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch similarity index 100% rename from buildroot-2021.05/package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch rename to buildroot-2022.02.1/package/libnet/0001-Use-standard-int64_t-instead-of-__int64_t-for-mingw-cross-build.patch diff --git a/buildroot-2021.05/package/libnet/Config.in b/buildroot-2022.02.1/package/libnet/Config.in similarity index 100% rename from buildroot-2021.05/package/libnet/Config.in rename to buildroot-2022.02.1/package/libnet/Config.in diff --git a/buildroot-2021.05/package/libnet/libnet.hash b/buildroot-2022.02.1/package/libnet/libnet.hash similarity index 100% rename from buildroot-2021.05/package/libnet/libnet.hash rename to buildroot-2022.02.1/package/libnet/libnet.hash diff --git a/buildroot-2021.05/package/libnet/libnet.mk b/buildroot-2022.02.1/package/libnet/libnet.mk similarity index 100% rename from buildroot-2021.05/package/libnet/libnet.mk rename to buildroot-2022.02.1/package/libnet/libnet.mk diff --git a/buildroot-2022.02.1/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch b/buildroot-2022.02.1/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch new file mode 100644 index 00000000..c03fdc99 --- /dev/null +++ b/buildroot-2022.02.1/package/libnetconf2/0001-libnetconf2-BUGFIX-netopeer2-build-fails-when-buildi.patch @@ -0,0 +1,34 @@ +From e06f291cc36c9e9a3c9c224e23109ac6dad4eb1c Mon Sep 17 00:00:00 2001 +From: Heiko Thiery +Date: Thu, 25 Nov 2021 12:29:47 +0100 +Subject: [PATCH] libnetconf2 BUGFIX netopeer2 build fails when building with + musl libc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +/home/hthiery/sources/mainline/buildroot/output/host/x86_64-buildroot-linux-musl/sysroot/usr/include/libnetconf2/session_server.h:439:55: error: unknown type name ‘mode_t’ + 439 | int nc_server_endpt_set_perms(const char *endpt_name, mode_t mode, uid_t uid, gid_t gid); + +For musl libc the include "sys/types.h" is required. + +Signed-off-by: Heiko Thiery +--- + src/session_server.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/session_server.h b/src/session_server.h +index 4507eea..4779119 100644 +--- a/src/session_server.h ++++ b/src/session_server.h +@@ -19,6 +19,7 @@ + extern "C" { + #endif + ++#include + #include + #include + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/libnetconf2/Config.in b/buildroot-2022.02.1/package/libnetconf2/Config.in new file mode 100644 index 00000000..7865f9e4 --- /dev/null +++ b/buildroot-2022.02.1/package/libnetconf2/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_LIBNETCONF2 + bool "libnetconf2" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU + select BR2_PACKAGE_LIBYANG + help + libnetconf2 is a NETCONF library in C intended for building + NETCONF clients and servers. + + https://github.com/CESNET/libnetconf2 + +comment "libnetconf2 needs a toolchain w/ threads, dynamic libraray" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libnetconf2/libnetconf2.hash b/buildroot-2022.02.1/package/libnetconf2/libnetconf2.hash new file mode 100644 index 00000000..2dee93cc --- /dev/null +++ b/buildroot-2022.02.1/package/libnetconf2/libnetconf2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 78ffa0bd85823abd321a1dbb09c1ead36612f2a12049638a14bb081567f86ade libnetconf2-2.0.24.tar.gz +sha256 bd962ab457c8a8cb8faaaa36c11484680f3c9a47dbc336507817ae8935384064 LICENSE diff --git a/buildroot-2022.02.1/package/libnetconf2/libnetconf2.mk b/buildroot-2022.02.1/package/libnetconf2/libnetconf2.mk new file mode 100644 index 00000000..ddbb99b7 --- /dev/null +++ b/buildroot-2022.02.1/package/libnetconf2/libnetconf2.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# libnetconf2 +# +################################################################################ + +LIBNETCONF2_VERSION = 2.0.24 +LIBNETCONF2_SITE = $(call github,CESNET,libnetconf2,v$(LIBNETCONF2_VERSION)) +LIBNETCONF2_INSTALL_STAGING = YES +LIBNETCONF2_LICENSE = BSD-3-Clause +LIBNETCONF2_LICENSE_FILES = LICENSE +LIBNETCONF2_DEPENDENCIES = libyang +HOST_LIBNETCONF2_DEPENDENCIES = host-libyang + +LIBNETCONF2_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF + +ifeq ($(BR2_PACKAGE_LIBSSH_SERVER), y) +LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=ON +LIBNETCONF2_DEPENDENCIES += libssh +else +LIBNETCONF2_CONF_OPTS += -DENABLE_SSH=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENSSL), y) +LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=ON +LIBNETCONF2_DEPENDENCIES += openssl +else +LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=OFF +endif + +HOST_LIBNETCONF2_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF \ + -DENABLE_SSH=OFF \ + -DENABLE_TLS=OFF + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/libnetfilter_acct/Config.in b/buildroot-2022.02.1/package/libnetfilter_acct/Config.in similarity index 100% rename from buildroot-2021.05/package/libnetfilter_acct/Config.in rename to buildroot-2022.02.1/package/libnetfilter_acct/Config.in diff --git a/buildroot-2021.05/package/libnetfilter_acct/libnetfilter_acct.hash b/buildroot-2022.02.1/package/libnetfilter_acct/libnetfilter_acct.hash similarity index 100% rename from buildroot-2021.05/package/libnetfilter_acct/libnetfilter_acct.hash rename to buildroot-2022.02.1/package/libnetfilter_acct/libnetfilter_acct.hash diff --git a/buildroot-2021.05/package/libnetfilter_acct/libnetfilter_acct.mk b/buildroot-2022.02.1/package/libnetfilter_acct/libnetfilter_acct.mk similarity index 100% rename from buildroot-2021.05/package/libnetfilter_acct/libnetfilter_acct.mk rename to buildroot-2022.02.1/package/libnetfilter_acct/libnetfilter_acct.mk diff --git a/buildroot-2021.05/package/libnetfilter_conntrack/0001-libnetfilter_conntrack.pc.in-add-LIBMNL_LIBS-to-Libs.patch b/buildroot-2022.02.1/package/libnetfilter_conntrack/0001-libnetfilter_conntrack.pc.in-add-LIBMNL_LIBS-to-Libs.patch similarity index 100% rename from buildroot-2021.05/package/libnetfilter_conntrack/0001-libnetfilter_conntrack.pc.in-add-LIBMNL_LIBS-to-Libs.patch rename to buildroot-2022.02.1/package/libnetfilter_conntrack/0001-libnetfilter_conntrack.pc.in-add-LIBMNL_LIBS-to-Libs.patch diff --git a/buildroot-2021.05/package/libnetfilter_conntrack/Config.in b/buildroot-2022.02.1/package/libnetfilter_conntrack/Config.in similarity index 100% rename from buildroot-2021.05/package/libnetfilter_conntrack/Config.in rename to buildroot-2022.02.1/package/libnetfilter_conntrack/Config.in diff --git a/buildroot-2021.05/package/libnetfilter_conntrack/libnetfilter_conntrack.hash b/buildroot-2022.02.1/package/libnetfilter_conntrack/libnetfilter_conntrack.hash similarity index 100% rename from buildroot-2021.05/package/libnetfilter_conntrack/libnetfilter_conntrack.hash rename to buildroot-2022.02.1/package/libnetfilter_conntrack/libnetfilter_conntrack.hash diff --git a/buildroot-2021.05/package/libnetfilter_conntrack/libnetfilter_conntrack.mk b/buildroot-2022.02.1/package/libnetfilter_conntrack/libnetfilter_conntrack.mk similarity index 100% rename from buildroot-2021.05/package/libnetfilter_conntrack/libnetfilter_conntrack.mk rename to buildroot-2022.02.1/package/libnetfilter_conntrack/libnetfilter_conntrack.mk diff --git a/buildroot-2021.05/package/libnetfilter_cthelper/0001-uclinux.patch b/buildroot-2022.02.1/package/libnetfilter_cthelper/0001-uclinux.patch similarity index 100% rename from buildroot-2021.05/package/libnetfilter_cthelper/0001-uclinux.patch rename to buildroot-2022.02.1/package/libnetfilter_cthelper/0001-uclinux.patch diff --git a/buildroot-2021.05/package/libnetfilter_cthelper/Config.in b/buildroot-2022.02.1/package/libnetfilter_cthelper/Config.in similarity index 100% rename from buildroot-2021.05/package/libnetfilter_cthelper/Config.in rename to buildroot-2022.02.1/package/libnetfilter_cthelper/Config.in diff --git a/buildroot-2021.05/package/libnetfilter_cthelper/libnetfilter_cthelper.hash b/buildroot-2022.02.1/package/libnetfilter_cthelper/libnetfilter_cthelper.hash similarity index 100% rename from buildroot-2021.05/package/libnetfilter_cthelper/libnetfilter_cthelper.hash rename to buildroot-2022.02.1/package/libnetfilter_cthelper/libnetfilter_cthelper.hash diff --git a/buildroot-2021.05/package/libnetfilter_cthelper/libnetfilter_cthelper.mk b/buildroot-2022.02.1/package/libnetfilter_cthelper/libnetfilter_cthelper.mk similarity index 100% rename from buildroot-2021.05/package/libnetfilter_cthelper/libnetfilter_cthelper.mk rename to buildroot-2022.02.1/package/libnetfilter_cthelper/libnetfilter_cthelper.mk diff --git a/buildroot-2021.05/package/libnetfilter_cttimeout/0001-uclinux.patch b/buildroot-2022.02.1/package/libnetfilter_cttimeout/0001-uclinux.patch similarity index 100% rename from buildroot-2021.05/package/libnetfilter_cttimeout/0001-uclinux.patch rename to buildroot-2022.02.1/package/libnetfilter_cttimeout/0001-uclinux.patch diff --git a/buildroot-2021.05/package/libnetfilter_cttimeout/Config.in b/buildroot-2022.02.1/package/libnetfilter_cttimeout/Config.in similarity index 100% rename from buildroot-2021.05/package/libnetfilter_cttimeout/Config.in rename to buildroot-2022.02.1/package/libnetfilter_cttimeout/Config.in diff --git a/buildroot-2021.05/package/libnetfilter_cttimeout/libnetfilter_cttimeout.hash b/buildroot-2022.02.1/package/libnetfilter_cttimeout/libnetfilter_cttimeout.hash similarity index 100% rename from buildroot-2021.05/package/libnetfilter_cttimeout/libnetfilter_cttimeout.hash rename to buildroot-2022.02.1/package/libnetfilter_cttimeout/libnetfilter_cttimeout.hash diff --git a/buildroot-2021.05/package/libnetfilter_cttimeout/libnetfilter_cttimeout.mk b/buildroot-2022.02.1/package/libnetfilter_cttimeout/libnetfilter_cttimeout.mk similarity index 100% rename from buildroot-2021.05/package/libnetfilter_cttimeout/libnetfilter_cttimeout.mk rename to buildroot-2022.02.1/package/libnetfilter_cttimeout/libnetfilter_cttimeout.mk diff --git a/buildroot-2022.02.1/package/libnetfilter_log/Config.in b/buildroot-2022.02.1/package/libnetfilter_log/Config.in new file mode 100644 index 00000000..b244e8a8 --- /dev/null +++ b/buildroot-2022.02.1/package/libnetfilter_log/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBNETFILTER_LOG + bool "libnetfilter_log" + select BR2_PACKAGE_LIBMNL + select BR2_PACKAGE_LIBNFNETLINK + help + libnetfilter_log is a userspace library providing interface + to packets that have been logged by the kernel packet filter. + + http://www.netfilter.org/projects/libnetfilter_log/ diff --git a/buildroot-2022.02.1/package/libnetfilter_log/libnetfilter_log.hash b/buildroot-2022.02.1/package/libnetfilter_log/libnetfilter_log.hash new file mode 100644 index 00000000..7589284f --- /dev/null +++ b/buildroot-2022.02.1/package/libnetfilter_log/libnetfilter_log.hash @@ -0,0 +1,5 @@ +# From ftp://ftp.netfilter.org/pub/libnetfilter_log/libnetfilter_log-1.0.2.tar.bz2.sha256sum +sha256 e3f408575614d849e4726b45e90c7ebb0e6744b04859555a9ce6ec40744ffeea libnetfilter_log-1.0.2.tar.bz2 + +# Hash for license file: +sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad COPYING diff --git a/buildroot-2022.02.1/package/libnetfilter_log/libnetfilter_log.mk b/buildroot-2022.02.1/package/libnetfilter_log/libnetfilter_log.mk new file mode 100644 index 00000000..01f94aac --- /dev/null +++ b/buildroot-2022.02.1/package/libnetfilter_log/libnetfilter_log.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libnetfilter_log +# +################################################################################ + +LIBNETFILTER_LOG_VERSION = 1.0.2 +LIBNETFILTER_LOG_SOURCE = libnetfilter_log-$(LIBNETFILTER_LOG_VERSION).tar.bz2 +LIBNETFILTER_LOG_SITE = http://www.netfilter.org/projects/libnetfilter_log/files +LIBNETFILTER_LOG_INSTALL_STAGING = YES +LIBNETFILTER_LOG_DEPENDENCIES = host-pkgconf libmnl libnfnetlink +LIBNETFILTER_LOG_LICENSE = GPL-2.0+ +LIBNETFILTER_LOG_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnetfilter_queue/Config.in b/buildroot-2022.02.1/package/libnetfilter_queue/Config.in similarity index 100% rename from buildroot-2021.05/package/libnetfilter_queue/Config.in rename to buildroot-2022.02.1/package/libnetfilter_queue/Config.in diff --git a/buildroot-2021.05/package/libnetfilter_queue/libnetfilter_queue.hash b/buildroot-2022.02.1/package/libnetfilter_queue/libnetfilter_queue.hash similarity index 100% rename from buildroot-2021.05/package/libnetfilter_queue/libnetfilter_queue.hash rename to buildroot-2022.02.1/package/libnetfilter_queue/libnetfilter_queue.hash diff --git a/buildroot-2021.05/package/libnetfilter_queue/libnetfilter_queue.mk b/buildroot-2022.02.1/package/libnetfilter_queue/libnetfilter_queue.mk similarity index 100% rename from buildroot-2021.05/package/libnetfilter_queue/libnetfilter_queue.mk rename to buildroot-2022.02.1/package/libnetfilter_queue/libnetfilter_queue.mk diff --git a/buildroot-2021.05/package/libnfc/0001-autotools-make-example-build-optional.patch b/buildroot-2022.02.1/package/libnfc/0001-autotools-make-example-build-optional.patch similarity index 100% rename from buildroot-2021.05/package/libnfc/0001-autotools-make-example-build-optional.patch rename to buildroot-2022.02.1/package/libnfc/0001-autotools-make-example-build-optional.patch diff --git a/buildroot-2021.05/package/libnfc/Config.in b/buildroot-2022.02.1/package/libnfc/Config.in similarity index 100% rename from buildroot-2021.05/package/libnfc/Config.in rename to buildroot-2022.02.1/package/libnfc/Config.in diff --git a/buildroot-2021.05/package/libnfc/libnfc.hash b/buildroot-2022.02.1/package/libnfc/libnfc.hash similarity index 100% rename from buildroot-2021.05/package/libnfc/libnfc.hash rename to buildroot-2022.02.1/package/libnfc/libnfc.hash diff --git a/buildroot-2021.05/package/libnfc/libnfc.mk b/buildroot-2022.02.1/package/libnfc/libnfc.mk similarity index 100% rename from buildroot-2021.05/package/libnfc/libnfc.mk rename to buildroot-2022.02.1/package/libnfc/libnfc.mk diff --git a/buildroot-2021.05/package/libnfnetlink/0001-uclinux.patch b/buildroot-2022.02.1/package/libnfnetlink/0001-uclinux.patch similarity index 100% rename from buildroot-2021.05/package/libnfnetlink/0001-uclinux.patch rename to buildroot-2022.02.1/package/libnfnetlink/0001-uclinux.patch diff --git a/buildroot-2022.02.1/package/libnfnetlink/0002-include-Sync-with-kernel-headers.patch b/buildroot-2022.02.1/package/libnfnetlink/0002-include-Sync-with-kernel-headers.patch new file mode 100644 index 00000000..f9e9c2e2 --- /dev/null +++ b/buildroot-2022.02.1/package/libnfnetlink/0002-include-Sync-with-kernel-headers.patch @@ -0,0 +1,114 @@ +From 7a1a07c0028a1c88cd7716a058697c552a563b24 Mon Sep 17 00:00:00 2001 +From: Felix Janda +Date: Sat, 16 May 2015 14:49:07 +0200 +Subject: include: Sync with kernel headers + +Signed-off-by: Felix Janda +Signed-off-by: Pablo Neira Ayuso + +[Retrieved from: +https://git.netfilter.org/libnfnetlink/commit/?id=7a1a07c0028a1c88cd7716a058697c552a563b24] +Signed-off-by: Fabrice Fontaine +--- + include/libnfnetlink/linux_nfnetlink.h | 44 ++++----------------------- + include/libnfnetlink/linux_nfnetlink_compat.h | 12 ++++---- + 2 files changed, 12 insertions(+), 44 deletions(-) + +diff --git a/include/libnfnetlink/linux_nfnetlink.h b/include/libnfnetlink/linux_nfnetlink.h +index 76a8550..44a38d6 100644 +--- a/include/libnfnetlink/linux_nfnetlink.h ++++ b/include/libnfnetlink/linux_nfnetlink.h +@@ -25,9 +25,9 @@ enum nfnetlink_groups { + /* General form of address family dependent message. + */ + struct nfgenmsg { +- u_int8_t nfgen_family; /* AF_xxx */ +- u_int8_t version; /* nfnetlink version */ +- u_int16_t res_id; /* resource id */ ++ __u8 nfgen_family; /* AF_xxx */ ++ __u8 version; /* nfnetlink version */ ++ __be16 res_id; /* resource id */ + }; + + #define NFNETLINK_V0 0 +@@ -46,40 +46,8 @@ struct nfgenmsg { + #define NFNL_SUBSYS_CTNETLINK_EXP 2 + #define NFNL_SUBSYS_QUEUE 3 + #define NFNL_SUBSYS_ULOG 4 +-#define NFNL_SUBSYS_COUNT 5 ++#define NFNL_SUBSYS_OSF 5 ++#define NFNL_SUBSYS_IPSET 6 ++#define NFNL_SUBSYS_COUNT 7 + +-#ifdef __KERNEL__ +- +-#include +-#include +-#include +- +-struct nfnl_callback +-{ +- int (*call)(struct sock *nl, struct sk_buff *skb, +- struct nlmsghdr *nlh, struct nlattr *cda[]); +- const struct nla_policy *policy; /* netlink attribute policy */ +- const u_int16_t attr_count; /* number of nlattr's */ +-}; +- +-struct nfnetlink_subsystem +-{ +- const char *name; +- __u8 subsys_id; /* nfnetlink subsystem ID */ +- __u8 cb_count; /* number of callbacks */ +- const struct nfnl_callback *cb; /* callback for individual types */ +-}; +- +-extern int nfnetlink_subsys_register(const struct nfnetlink_subsystem *n); +-extern int nfnetlink_subsys_unregister(const struct nfnetlink_subsystem *n); +- +-extern int nfnetlink_has_listeners(unsigned int group); +-extern int nfnetlink_send(struct sk_buff *skb, u32 pid, unsigned group, +- int echo); +-extern int nfnetlink_unicast(struct sk_buff *skb, u_int32_t pid, int flags); +- +-#define MODULE_ALIAS_NFNL_SUBSYS(subsys) \ +- MODULE_ALIAS("nfnetlink-subsys-" __stringify(subsys)) +- +-#endif /* __KERNEL__ */ + #endif /* _NFNETLINK_H */ +diff --git a/include/libnfnetlink/linux_nfnetlink_compat.h b/include/libnfnetlink/linux_nfnetlink_compat.h +index e145176..74b9e55 100644 +--- a/include/libnfnetlink/linux_nfnetlink_compat.h ++++ b/include/libnfnetlink/linux_nfnetlink_compat.h +@@ -1,6 +1,8 @@ + #ifndef _NFNETLINK_COMPAT_H + #define _NFNETLINK_COMPAT_H +-#ifndef __KERNEL__ ++ ++#include ++ + /* Old nfnetlink macros for userspace */ + + /* nfnetlink groups: Up to 32 maximum */ +@@ -18,10 +20,9 @@ + * ! nfnetlink use the same attributes methods. - J. Schulist. + */ + +-struct nfattr +-{ +- u_int16_t nfa_len; +- u_int16_t nfa_type; /* we use 15 bits for the type, and the highest ++struct nfattr { ++ __u16 nfa_len; ++ __u16 nfa_type; /* we use 15 bits for the type, and the highest + * bit to indicate whether the payload is nested */ + }; + +@@ -57,5 +58,4 @@ struct nfattr + + NLMSG_ALIGN(sizeof(struct nfgenmsg)))) + #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg)) + +-#endif /* ! __KERNEL__ */ + #endif /* _NFNETLINK_COMPAT_H */ +-- +cgit v1.2.3 + diff --git a/buildroot-2021.05/package/libnfnetlink/0002-musl.patch b/buildroot-2022.02.1/package/libnfnetlink/0002-musl.patch similarity index 100% rename from buildroot-2021.05/package/libnfnetlink/0002-musl.patch rename to buildroot-2022.02.1/package/libnfnetlink/0002-musl.patch diff --git a/buildroot-2021.05/package/libnfnetlink/Config.in b/buildroot-2022.02.1/package/libnfnetlink/Config.in similarity index 100% rename from buildroot-2021.05/package/libnfnetlink/Config.in rename to buildroot-2022.02.1/package/libnfnetlink/Config.in diff --git a/buildroot-2021.05/package/libnfnetlink/libnfnetlink.hash b/buildroot-2022.02.1/package/libnfnetlink/libnfnetlink.hash similarity index 100% rename from buildroot-2021.05/package/libnfnetlink/libnfnetlink.hash rename to buildroot-2022.02.1/package/libnfnetlink/libnfnetlink.hash diff --git a/buildroot-2021.05/package/libnfnetlink/libnfnetlink.mk b/buildroot-2022.02.1/package/libnfnetlink/libnfnetlink.mk similarity index 100% rename from buildroot-2021.05/package/libnfnetlink/libnfnetlink.mk rename to buildroot-2022.02.1/package/libnfnetlink/libnfnetlink.mk diff --git a/buildroot-2021.05/package/libnfs/0001-Fix-include-sys-time.h.patch b/buildroot-2022.02.1/package/libnfs/0001-Fix-include-sys-time.h.patch similarity index 100% rename from buildroot-2021.05/package/libnfs/0001-Fix-include-sys-time.h.patch rename to buildroot-2022.02.1/package/libnfs/0001-Fix-include-sys-time.h.patch diff --git a/buildroot-2021.05/package/libnfs/Config.in b/buildroot-2022.02.1/package/libnfs/Config.in similarity index 100% rename from buildroot-2021.05/package/libnfs/Config.in rename to buildroot-2022.02.1/package/libnfs/Config.in diff --git a/buildroot-2021.05/package/libnfs/libnfs.hash b/buildroot-2022.02.1/package/libnfs/libnfs.hash similarity index 100% rename from buildroot-2021.05/package/libnfs/libnfs.hash rename to buildroot-2022.02.1/package/libnfs/libnfs.hash diff --git a/buildroot-2021.05/package/libnfs/libnfs.mk b/buildroot-2022.02.1/package/libnfs/libnfs.mk similarity index 100% rename from buildroot-2021.05/package/libnfs/libnfs.mk rename to buildroot-2022.02.1/package/libnfs/libnfs.mk diff --git a/buildroot-2021.05/package/libnftnl/Config.in b/buildroot-2022.02.1/package/libnftnl/Config.in similarity index 100% rename from buildroot-2021.05/package/libnftnl/Config.in rename to buildroot-2022.02.1/package/libnftnl/Config.in diff --git a/buildroot-2022.02.1/package/libnftnl/libnftnl.hash b/buildroot-2022.02.1/package/libnftnl/libnftnl.hash new file mode 100644 index 00000000..0a183eed --- /dev/null +++ b/buildroot-2022.02.1/package/libnftnl/libnftnl.hash @@ -0,0 +1,3 @@ +# From http://www.netfilter.org/projects/libnftnl/downloads.html +sha256 7508a5c414fab13e3cb3ce8262d0ce4f02c1590a8e4f8628ab497b5b4585937c libnftnl-1.2.1.tar.bz2 +sha256 98193898c663001eff2fdcfb676e210c13042bc1a05e8d570c363efa396f8e24 COPYING diff --git a/buildroot-2022.02.1/package/libnftnl/libnftnl.mk b/buildroot-2022.02.1/package/libnftnl/libnftnl.mk new file mode 100644 index 00000000..616afa63 --- /dev/null +++ b/buildroot-2022.02.1/package/libnftnl/libnftnl.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# libnftnl +# +################################################################################ + +LIBNFTNL_VERSION = 1.2.1 +LIBNFTNL_SITE = https://netfilter.org/projects/libnftnl/files +LIBNFTNL_SOURCE = libnftnl-$(LIBNFTNL_VERSION).tar.bz2 +LIBNFTNL_LICENSE = GPL-2.0+ +LIBNFTNL_LICENSE_FILES = COPYING +LIBNFTNL_INSTALL_STAGING = YES +LIBNFTNL_DEPENDENCIES = host-pkgconf libmnl + +ifeq ($(BR2_PACKAGE_LIBNFTNL_JSON),y) +LIBNFTNL_CONF_OPTS += --with-json-parsing +LIBNFTNL_DEPENDENCIES += jansson +else +LIBNFTNL_CONF_OPTS += --without-json-parsing +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnice/Config.in b/buildroot-2022.02.1/package/libnice/Config.in similarity index 100% rename from buildroot-2021.05/package/libnice/Config.in rename to buildroot-2022.02.1/package/libnice/Config.in diff --git a/buildroot-2022.02.1/package/libnice/libnice.hash b/buildroot-2022.02.1/package/libnice/libnice.hash new file mode 100644 index 00000000..55785cd5 --- /dev/null +++ b/buildroot-2022.02.1/package/libnice/libnice.hash @@ -0,0 +1,7 @@ +# Locally computed after checking pgp signature +sha256 5eabd25ba2b54e817699832826269241abaa1cf78f9b240d1435f936569273f4 libnice-0.1.18.tar.gz + +# Hash for license files: +sha256 9246b2ee8b1db30cf03d5d9719ad8bb5edce1cadc85f8cfef319c23d24d950b5 COPYING +sha256 3b3c75ae6c663c4f93987647eb5463d33dc1602a1aded3ac479773f2c3928e3a COPYING.MPL +sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 COPYING.LGPL diff --git a/buildroot-2022.02.1/package/libnice/libnice.mk b/buildroot-2022.02.1/package/libnice/libnice.mk new file mode 100644 index 00000000..5889b24b --- /dev/null +++ b/buildroot-2022.02.1/package/libnice/libnice.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# libnice +# +################################################################################ + +LIBNICE_VERSION = 0.1.18 +LIBNICE_SITE = http://nice.freedesktop.org/releases +LIBNICE_LICENSE = MPL-1.1 or LGPL-2.1 +LIBNICE_LICENSE_FILES = COPYING COPYING.MPL COPYING.LGPL +LIBNICE_DEPENDENCIES = libglib2 host-pkgconf +LIBNICE_INSTALL_STAGING = YES +LIBNICE_CONF_OPTS = \ + -Dexamples=disabled \ + -Dtests=disabled + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +LIBNICE_CONF_OPTS += -Dcrypto-library=gnutls +LIBNICE_DEPENDENCIES += gnutls +else +LIBNICE_CONF_OPTS += -Dcrypto-library=openssl +LIBNICE_DEPENDENCIES += openssl +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBNICE_CONF_OPTS += -Dintrospection=enabled +LIBNICE_DEPENDENCIES += gobject-introspection +else +LIBNICE_CONF_OPTS += -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) +LIBNICE_CONF_OPTS += -Dgstreamer=enabled +LIBNICE_DEPENDENCIES += gst1-plugins-base +else +LIBNICE_CONF_OPTS += -Dgstreamer=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libnids/0001-libpcap-use-pkg-config.patch b/buildroot-2022.02.1/package/libnids/0001-libpcap-use-pkg-config.patch similarity index 100% rename from buildroot-2021.05/package/libnids/0001-libpcap-use-pkg-config.patch rename to buildroot-2022.02.1/package/libnids/0001-libpcap-use-pkg-config.patch diff --git a/buildroot-2021.05/package/libnids/Config.in b/buildroot-2022.02.1/package/libnids/Config.in similarity index 100% rename from buildroot-2021.05/package/libnids/Config.in rename to buildroot-2022.02.1/package/libnids/Config.in diff --git a/buildroot-2021.05/package/libnids/libnids.hash b/buildroot-2022.02.1/package/libnids/libnids.hash similarity index 100% rename from buildroot-2021.05/package/libnids/libnids.hash rename to buildroot-2022.02.1/package/libnids/libnids.hash diff --git a/buildroot-2021.05/package/libnids/libnids.mk b/buildroot-2022.02.1/package/libnids/libnids.mk similarity index 100% rename from buildroot-2021.05/package/libnids/libnids.mk rename to buildroot-2022.02.1/package/libnids/libnids.mk diff --git a/buildroot-2022.02.1/package/libnl/0001-build-add-Libs.private-field-in-libnl-pkg-config-fil.patch b/buildroot-2022.02.1/package/libnl/0001-build-add-Libs.private-field-in-libnl-pkg-config-fil.patch new file mode 100644 index 00000000..2419ae28 --- /dev/null +++ b/buildroot-2022.02.1/package/libnl/0001-build-add-Libs.private-field-in-libnl-pkg-config-fil.patch @@ -0,0 +1,30 @@ +From db0d59cd06f3ffd350379847c0885e1bfb85af0f Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 7 Mar 2015 11:34:42 +0100 +Subject: [PATCH] build: add Libs.private field in libnl pkg-config file + +In order to support static linking, the libnl pkg-config file should +indicate in its Libs.private field the libraries that libnl-3.0.a +requires. The LIBS variable contains the appropriate list of +libraries: -lm in all cases, and -lpthread when pthread support is +enabled. This allows to statically link applications against libnl +properly. + +Signed-off-by: Thomas Petazzoni +--- + libnl-3.0.pc.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libnl-3.0.pc.in b/libnl-3.0.pc.in +index b87e3dc..ddbc999 100644 +--- a/libnl-3.0.pc.in ++++ b/libnl-3.0.pc.in +@@ -7,4 +7,5 @@ Name: libnl + Description: Convenience library for netlink sockets + Version: @PACKAGE_VERSION@ + Libs: -L${libdir} -lnl-@MAJ_VERSION@ ++Libs.private: @LIBS@ + Cflags: -I${includedir}/libnl@MAJ_VERSION@ +-- +2.1.0 + diff --git a/buildroot-2021.05/package/libnl/0002-Add-musl-workaround-to-the-libc-compat.h-copy.patch b/buildroot-2022.02.1/package/libnl/0002-Add-musl-workaround-to-the-libc-compat.h-copy.patch similarity index 100% rename from buildroot-2021.05/package/libnl/0002-Add-musl-workaround-to-the-libc-compat.h-copy.patch rename to buildroot-2022.02.1/package/libnl/0002-Add-musl-workaround-to-the-libc-compat.h-copy.patch diff --git a/buildroot-2021.05/package/libnl/Config.in b/buildroot-2022.02.1/package/libnl/Config.in similarity index 100% rename from buildroot-2021.05/package/libnl/Config.in rename to buildroot-2022.02.1/package/libnl/Config.in diff --git a/buildroot-2021.05/package/libnl/libnl.hash b/buildroot-2022.02.1/package/libnl/libnl.hash similarity index 100% rename from buildroot-2021.05/package/libnl/libnl.hash rename to buildroot-2022.02.1/package/libnl/libnl.hash diff --git a/buildroot-2021.05/package/libnl/libnl.mk b/buildroot-2022.02.1/package/libnl/libnl.mk similarity index 100% rename from buildroot-2021.05/package/libnl/libnl.mk rename to buildroot-2022.02.1/package/libnl/libnl.mk diff --git a/buildroot-2021.05/package/libnpth/Config.in b/buildroot-2022.02.1/package/libnpth/Config.in similarity index 100% rename from buildroot-2021.05/package/libnpth/Config.in rename to buildroot-2022.02.1/package/libnpth/Config.in diff --git a/buildroot-2021.05/package/libnpth/libnpth.hash b/buildroot-2022.02.1/package/libnpth/libnpth.hash similarity index 100% rename from buildroot-2021.05/package/libnpth/libnpth.hash rename to buildroot-2022.02.1/package/libnpth/libnpth.hash diff --git a/buildroot-2021.05/package/libnpth/libnpth.mk b/buildroot-2022.02.1/package/libnpth/libnpth.mk similarity index 100% rename from buildroot-2021.05/package/libnpth/libnpth.mk rename to buildroot-2022.02.1/package/libnpth/libnpth.mk diff --git a/buildroot-2021.05/package/libnpupnp/Config.in b/buildroot-2022.02.1/package/libnpupnp/Config.in similarity index 100% rename from buildroot-2021.05/package/libnpupnp/Config.in rename to buildroot-2022.02.1/package/libnpupnp/Config.in diff --git a/buildroot-2022.02.1/package/libnpupnp/libnpupnp.hash b/buildroot-2022.02.1/package/libnpupnp/libnpupnp.hash new file mode 100644 index 00000000..276bf93c --- /dev/null +++ b/buildroot-2022.02.1/package/libnpupnp/libnpupnp.hash @@ -0,0 +1,5 @@ +# Hash from: http://www.lesbonscomptes.com/upmpdcli/downloads/libnpupnp-4.2.1.tar.gz.sha256 +sha256 e0e59eb2d3d024e827050428e0e7eb228355912a38c85eb30bfeb2f0926eca4c libnpupnp-4.2.1.tar.gz + +# Hash for license file: +sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/buildroot-2022.02.1/package/libnpupnp/libnpupnp.mk b/buildroot-2022.02.1/package/libnpupnp/libnpupnp.mk new file mode 100644 index 00000000..09bfa34b --- /dev/null +++ b/buildroot-2022.02.1/package/libnpupnp/libnpupnp.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# libnpupnp +# +################################################################################ + +LIBNPUPNP_VERSION = 4.2.1 +LIBNPUPNP_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads +LIBNPUPNP_LICENSE = BSD-3-Clause +LIBNPUPNP_LICENSE_FILES = COPYING +LIBNPUPNP_INSTALL_STAGING = YES +LIBNPUPNP_DEPENDENCIES = expat libcurl libmicrohttpd + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libnspr/Config.in b/buildroot-2022.02.1/package/libnspr/Config.in similarity index 100% rename from buildroot-2021.05/package/libnspr/Config.in rename to buildroot-2022.02.1/package/libnspr/Config.in diff --git a/buildroot-2022.02.1/package/libnspr/libnspr.hash b/buildroot-2022.02.1/package/libnspr/libnspr.hash new file mode 100644 index 00000000..0064a9b2 --- /dev/null +++ b/buildroot-2022.02.1/package/libnspr/libnspr.hash @@ -0,0 +1,4 @@ +# From https://ftp.mozilla.org/pub/nspr/releases/v4.33/src/SHA256SUMS +sha256 b23ee315be0e50c2fb1aa374d17f2d2d9146a835b1a79c1918ea15d075a693d7 nspr-4.33.tar.gz +# Locally calculated +sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 nspr/LICENSE diff --git a/buildroot-2022.02.1/package/libnspr/libnspr.mk b/buildroot-2022.02.1/package/libnspr/libnspr.mk new file mode 100644 index 00000000..7491d188 --- /dev/null +++ b/buildroot-2022.02.1/package/libnspr/libnspr.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# libnspr +# +################################################################################ + +LIBNSPR_VERSION = 4.33 +LIBNSPR_SOURCE = nspr-$(LIBNSPR_VERSION).tar.gz +LIBNSPR_SITE = https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v$(LIBNSPR_VERSION)/src +LIBNSPR_SUBDIR = nspr +LIBNSPR_INSTALL_STAGING = YES +LIBNSPR_CONFIG_SCRIPTS = nspr-config +LIBNSPR_LICENSE = MPL-2.0 +LIBNSPR_LICENSE_FILES = nspr/LICENSE +LIBNSPR_CPE_ID_VENDOR = mozilla +LIBNSPR_CPE_ID_PRODUCT = netscape_portable_runtime + +# Set the host CFLAGS and LDFLAGS so NSPR does not guess wrongly +LIBNSPR_CONF_ENV = \ + HOST_CFLAGS="-g -O2" \ + HOST_LDFLAGS="-lc" +# NSPR mixes up --build and --host +LIBNSPR_CONF_OPTS = --host=$(GNU_HOST_NAME) +LIBNSPR_CONF_OPTS += --$(if $(BR2_ARCH_IS_64),en,dis)able-64bit + +# ./nspr/pr/include/md/_linux.h tests only __GLIBC__ version to detect +# c-library features, list musl features here for now (taken from +# Alpine Linux). +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +LIBNSPR_CFLAGS += \ + -D_PR_POLL_AVAILABLE \ + -D_PR_HAVE_OFF64_T \ + -D_PR_INET6 \ + -D_PR_HAVE_INET_NTOP \ + -D_PR_HAVE_GETHOSTBYNAME2 \ + -D_PR_HAVE_GETADDRINFO \ + -D_PR_INET6_PROBE +endif + +LIBNSPR_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(LIBNSPR_CFLAGS)" + +ifeq ($(BR2_STATIC_LIBS),y) +LIBNSPR_MAKE_OPTS = SHARED_LIBRARY= +LIBNSPR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SHARED_LIBRARY= install +LIBNSPR_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) SHARED_LIBRARY= install +endif + +ifeq ($(BR2_SHARED_LIBS),y) +LIBNSPR_MAKE_OPTS = LIBRARY= +LIBNSPR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIBRARY= install +LIBNSPR_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIBRARY= install +endif + +HOST_LIBNSPR_CONF_OPTS += --$(if $(filter %64,$(HOSTARCH)),en,dis)able-64bit + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libnss/Config.in b/buildroot-2022.02.1/package/libnss/Config.in similarity index 100% rename from buildroot-2021.05/package/libnss/Config.in rename to buildroot-2022.02.1/package/libnss/Config.in diff --git a/buildroot-2022.02.1/package/libnss/libnss.hash b/buildroot-2022.02.1/package/libnss/libnss.hash new file mode 100644 index 00000000..07fb340c --- /dev/null +++ b/buildroot-2022.02.1/package/libnss/libnss.hash @@ -0,0 +1,4 @@ +# From https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_75_RTM/src/SHA256SUMS +sha256 fd571507827284644f4dd522a032acda2286835f6683ed22a1c2d3878cc58582 nss-3.75.tar.gz +# Locally calculated +sha256 a20c1a32d1f8102432360b42e932869f7c11c7cdbacf9cac554c422132af47f4 nss/COPYING diff --git a/buildroot-2022.02.1/package/libnss/libnss.mk b/buildroot-2022.02.1/package/libnss/libnss.mk new file mode 100644 index 00000000..a9549e48 --- /dev/null +++ b/buildroot-2022.02.1/package/libnss/libnss.mk @@ -0,0 +1,170 @@ +################################################################################ +# +# libnss +# +################################################################################ + +LIBNSS_VERSION = 3.75 +LIBNSS_SOURCE = nss-$(LIBNSS_VERSION).tar.gz +LIBNSS_SITE = https://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_$(subst .,_,$(LIBNSS_VERSION))_RTM/src +LIBNSS_DISTDIR = dist +LIBNSS_INSTALL_STAGING = YES +LIBNSS_DEPENDENCIES = libnspr sqlite zlib +LIBNSS_LICENSE = MPL-2.0 +LIBNSS_LICENSE_FILES = nss/COPYING +LIBNSS_CPE_ID_VENDOR = mozilla +LIBNSS_CPE_ID_PRODUCT = nss + +# Don't parallel build if make version = 4.3 +ifneq ($(filter $(RUNNING_MAKE_VERSION),4.3),) +LIBNSS_MAKE = $(MAKE1) +else +LIBNSS_MAKE = $(MAKE) +endif + +LIBNSS_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85862),y) +LIBNSS_CFLAGS += -O0 +endif + +# Need to pass down TARGET_CFLAGS and TARGET_LDFLAGS +define LIBNSS_FIXUP_LINUX_MK + echo 'OS_CFLAGS += $(LIBNSS_CFLAGS)' >> $(@D)/nss/coreconf/Linux.mk + echo 'LDFLAGS += $(TARGET_LDFLAGS)' >> $(@D)/nss/coreconf/Linux.mk +endef + +LIBNSS_PRE_CONFIGURE_HOOKS += LIBNSS_FIXUP_LINUX_MK + +# --gc-sections triggers binutils ld segfault +# https://sourceware.org/bugzilla/show_bug.cgi?id=21180 +ifeq ($(BR2_microblaze),y) +define LIBNSS_DROP_GC_SECTIONS + sed -i 's:-Wl,--gc-sections::g' $(@D)/nss/coreconf/Linux.mk +endef + +LIBNSS_PRE_CONFIGURE_HOOKS += LIBNSS_DROP_GC_SECTIONS +endif + +LIBNSS_BUILD_VARS = \ + MOZILLA_CLIENT=1 \ + NSPR_INCLUDE_DIR=$(STAGING_DIR)/usr/include/nspr \ + NSPR_LIB_DIR=$(STAGING_DIR)/usr/lib \ + NS_USE_GCC=1 \ + NSS_DISABLE_GTESTS=1 \ + NSS_USE_SYSTEM_SQLITE=1 \ + NATIVE_CC="$(HOSTCC)" \ + OS_ARCH="Linux" \ + OS_RELEASE="2.6" \ + OS_TEST=$(BR2_PACKAGE_LIBNSS_ARCH) \ + NSS_ENABLE_WERROR=0 + +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),) +# Disable Altivec if not supported +LIBNSS_BUILD_VARS += NSS_DISABLE_ALTIVEC=1 +endif + +ifeq ($(BR2_ARM_CPU_HAS_NEON),) +# Disable arm32-neon if neon is not supported +LIBNSS_BUILD_VARS += NSS_DISABLE_ARM32_NEON=1 +endif + +ifeq ($(BR2_ARCH_IS_64),y) +# MIPS64 n32 is treated as a 32-bit architecture by libnss. +# See: https://bugzilla.mozilla.org/show_bug.cgi?id=1010730 +ifeq ($(BR2_MIPS_NABI32),) +LIBNSS_BUILD_VARS += USE_64=1 +endif +endif + +define LIBNSS_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(LIBNSS_MAKE) -C $(@D)/nss coreconf \ + SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \ + DIST=$(@D)/$(LIBNSS_DISTDIR) \ + CHECKLOC= \ + $(LIBNSS_BUILD_VARS) + $(TARGET_CONFIGURE_OPTS) $(LIBNSS_MAKE) -C $(@D)/nss lib/dbm all \ + SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \ + DIST=$(@D)/$(LIBNSS_DISTDIR) \ + CHECKLOC= \ + $(LIBNSS_BUILD_VARS) NATIVE_FLAGS="$(HOST_CFLAGS) -DLINUX" +endef + +define LIBNSS_INSTALL_STAGING_CMDS + $(INSTALL) -m 755 -t $(STAGING_DIR)/usr/lib/ \ + $(@D)/$(LIBNSS_DISTDIR)/lib/*.so + $(INSTALL) -m 755 -d $(STAGING_DIR)/usr/include/nss + $(INSTALL) -m 644 -t $(STAGING_DIR)/usr/include/nss \ + $(@D)/$(LIBNSS_DISTDIR)/public/nss/* + $(INSTALL) -m 755 -t $(STAGING_DIR)/usr/lib/ \ + $(@D)/$(LIBNSS_DISTDIR)/lib/*.a + $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ + $(STAGING_DIR)/usr/lib/pkgconfig/nss.pc + $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ + $(STAGING_DIR)/usr/lib/pkgconfig/nss.pc +endef + +define LIBNSS_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -t $(TARGET_DIR)/usr/lib/ \ + $(@D)/$(LIBNSS_DISTDIR)/lib/*.so + $(INSTALL) -m 755 -d $(TARGET_DIR)/usr/include/nss + $(INSTALL) -m 644 -t $(TARGET_DIR)/usr/include/nss \ + $(@D)/$(LIBNSS_DISTDIR)/public/nss/* + $(INSTALL) -m 755 -t $(TARGET_DIR)/usr/lib/ \ + $(@D)/$(LIBNSS_DISTDIR)/lib/*.a + $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ + $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc + $(INSTALL) -D -m 755 $(@D)/$(LIBNSS_DISTDIR)/bin/certutil \ + $(TARGET_DIR)/usr/bin/certutil + $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ + $(TARGET_DIR)/usr/lib/pkgconfig/nss.pc +endef + +HOST_LIBNSS_BUILD_VARS = \ + MOZILLA_CLIENT=1 \ + NSPR_INCLUDE_DIR=$(HOST_DIR)/include/nspr \ + NSPR_LIB_DIR=$(HOST_DIR)/lib \ + NS_USE_GCC=1 \ + NSS_DISABLE_GTESTS=1 \ + NSS_USE_SYSTEM_SQLITE=1 \ + SQLITE_INCLUDE_DIR=$(HOST_DIR)/include \ + ZLIB_INCLUDE_DIR=$(HOST_DIR)/include \ + NSS_ENABLE_WERROR=0 + +HOST_LIBNSS_DEPENDENCIES = host-libnspr host-sqlite host-zlib + +ifneq ($(filter %64,$(HOSTARCH)),) +HOST_LIBNSS_BUILD_VARS += USE_64=1 +endif + +define HOST_LIBNSS_BUILD_CMDS + $(HOST_CONFIGURE_OPTS) $(LIBNSS_MAKE) -C $(@D)/nss coreconf \ + SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \ + DIST=$(@D)/$(LIBNSS_DISTDIR) \ + CHECKLOC= \ + $(HOST_LIBNSS_BUILD_VARS) + $(HOST_CONFIGURE_OPTS) $(LIBNSS_MAKE) -C $(@D)/nss lib/dbm all \ + SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \ + DIST=$(@D)/$(LIBNSS_DISTDIR) \ + CHECKLOC= \ + $(HOST_LIBNSS_BUILD_VARS) +endef + +define HOST_LIBNSS_INSTALL_CMDS + $(INSTALL) -m 755 -t $(HOST_DIR)/lib/ \ + $(@D)/$(LIBNSS_DISTDIR)/lib/*.so + $(INSTALL) -m 755 -d $(HOST_DIR)/include/nss + $(INSTALL) -m 644 -t $(HOST_DIR)/include/nss \ + $(@D)/$(LIBNSS_DISTDIR)/public/nss/* + $(INSTALL) -m 755 -t $(HOST_DIR)/lib/ \ + $(@D)/$(LIBNSS_DISTDIR)/lib/*.a + $(INSTALL) -D -m 0644 $(TOPDIR)/package/libnss/nss.pc.in \ + $(HOST_DIR)/lib/pkgconfig/nss.pc + $(SED) 's/@VERSION@/$(LIBNSS_VERSION)/g;' \ + $(HOST_DIR)/lib/pkgconfig/nss.pc + $(SED) '/^prefix/s,=.*,=$(HOST_DIR),g;' \ + $(HOST_DIR)/lib/pkgconfig/nss.pc +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libnss/nss.pc.in b/buildroot-2022.02.1/package/libnss/nss.pc.in similarity index 100% rename from buildroot-2021.05/package/libnss/nss.pc.in rename to buildroot-2022.02.1/package/libnss/nss.pc.in diff --git a/buildroot-2021.05/package/liboauth/0001-Fixes-build-issue-with-OpenSSL-1.1.0.patch b/buildroot-2022.02.1/package/liboauth/0001-Fixes-build-issue-with-OpenSSL-1.1.0.patch similarity index 100% rename from buildroot-2021.05/package/liboauth/0001-Fixes-build-issue-with-OpenSSL-1.1.0.patch rename to buildroot-2022.02.1/package/liboauth/0001-Fixes-build-issue-with-OpenSSL-1.1.0.patch diff --git a/buildroot-2021.05/package/liboauth/Config.in b/buildroot-2022.02.1/package/liboauth/Config.in similarity index 100% rename from buildroot-2021.05/package/liboauth/Config.in rename to buildroot-2022.02.1/package/liboauth/Config.in diff --git a/buildroot-2021.05/package/liboauth/liboauth.hash b/buildroot-2022.02.1/package/liboauth/liboauth.hash similarity index 100% rename from buildroot-2021.05/package/liboauth/liboauth.hash rename to buildroot-2022.02.1/package/liboauth/liboauth.hash diff --git a/buildroot-2021.05/package/liboauth/liboauth.mk b/buildroot-2022.02.1/package/liboauth/liboauth.mk similarity index 100% rename from buildroot-2021.05/package/liboauth/liboauth.mk rename to buildroot-2022.02.1/package/liboauth/liboauth.mk diff --git a/buildroot-2021.05/package/libodb-boost/Config.in b/buildroot-2022.02.1/package/libodb-boost/Config.in similarity index 100% rename from buildroot-2021.05/package/libodb-boost/Config.in rename to buildroot-2022.02.1/package/libodb-boost/Config.in diff --git a/buildroot-2021.05/package/libodb-boost/libodb-boost.hash b/buildroot-2022.02.1/package/libodb-boost/libodb-boost.hash similarity index 100% rename from buildroot-2021.05/package/libodb-boost/libodb-boost.hash rename to buildroot-2022.02.1/package/libodb-boost/libodb-boost.hash diff --git a/buildroot-2022.02.1/package/libodb-boost/libodb-boost.mk b/buildroot-2022.02.1/package/libodb-boost/libodb-boost.mk new file mode 100644 index 00000000..6deb67f9 --- /dev/null +++ b/buildroot-2022.02.1/package/libodb-boost/libodb-boost.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# libodb-boost +# +################################################################################ + +LIBODB_BOOST_VERSION_MAJOR = 2.4 +LIBODB_BOOST_VERSION = $(LIBODB_BOOST_VERSION_MAJOR).0 +LIBODB_BOOST_SOURCE = libodb-boost-$(LIBODB_BOOST_VERSION).tar.bz2 +LIBODB_BOOST_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_BOOST_VERSION_MAJOR) +LIBODB_BOOST_INSTALL_STAGING = YES +LIBODB_BOOST_LICENSE = GPL-2.0 +LIBODB_BOOST_LICENSE_FILES = LICENSE +LIBODB_BOOST_DEPENDENCIES = boost libodb +HOST_LIBODB_BOOST_DEPENDENCIES = hoost-boost host-libodb +LIBODB_BOOST_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" +HOST_LIBODB_BOOST_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch b/buildroot-2022.02.1/package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch similarity index 100% rename from buildroot-2021.05/package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch rename to buildroot-2022.02.1/package/libodb-mysql/0001-fix-syntax-issue-while-checking-ldflags.patch diff --git a/buildroot-2021.05/package/libodb-mysql/0002-mariadb-FTBFS-fix.patch b/buildroot-2022.02.1/package/libodb-mysql/0002-mariadb-FTBFS-fix.patch similarity index 100% rename from buildroot-2021.05/package/libodb-mysql/0002-mariadb-FTBFS-fix.patch rename to buildroot-2022.02.1/package/libodb-mysql/0002-mariadb-FTBFS-fix.patch diff --git a/buildroot-2021.05/package/libodb-mysql/Config.in b/buildroot-2022.02.1/package/libodb-mysql/Config.in similarity index 100% rename from buildroot-2021.05/package/libodb-mysql/Config.in rename to buildroot-2022.02.1/package/libodb-mysql/Config.in diff --git a/buildroot-2021.05/package/libodb-mysql/libodb-mysql.hash b/buildroot-2022.02.1/package/libodb-mysql/libodb-mysql.hash similarity index 100% rename from buildroot-2021.05/package/libodb-mysql/libodb-mysql.hash rename to buildroot-2022.02.1/package/libodb-mysql/libodb-mysql.hash diff --git a/buildroot-2022.02.1/package/libodb-mysql/libodb-mysql.mk b/buildroot-2022.02.1/package/libodb-mysql/libodb-mysql.mk new file mode 100644 index 00000000..88b6f4cb --- /dev/null +++ b/buildroot-2022.02.1/package/libodb-mysql/libodb-mysql.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# libodb-mysql +# +################################################################################ + +LIBODB_MYSQL_VERSION_MAJOR = 2.4 +LIBODB_MYSQL_VERSION = $(LIBODB_MYSQL_VERSION_MAJOR).0 +LIBODB_MYSQL_SOURCE = libodb-mysql-$(LIBODB_MYSQL_VERSION).tar.bz2 +LIBODB_MYSQL_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_MYSQL_VERSION_MAJOR) +LIBODB_MYSQL_INSTALL_STAGING = YES +LIBODB_MYSQL_LICENSE = GPL-2.0 +LIBODB_MYSQL_LICENSE_FILES = LICENSE +LIBODB_MYSQL_DEPENDENCIES = libodb mysql +LIBODB_MYSQL_CONF_ENV = \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" \ + LIBS=`$(STAGING_DIR)/usr/bin/mysql_config --libs` + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libodb-pgsql/Config.in b/buildroot-2022.02.1/package/libodb-pgsql/Config.in similarity index 100% rename from buildroot-2021.05/package/libodb-pgsql/Config.in rename to buildroot-2022.02.1/package/libodb-pgsql/Config.in diff --git a/buildroot-2021.05/package/libodb-pgsql/libodb-pgsql.hash b/buildroot-2022.02.1/package/libodb-pgsql/libodb-pgsql.hash similarity index 100% rename from buildroot-2021.05/package/libodb-pgsql/libodb-pgsql.hash rename to buildroot-2022.02.1/package/libodb-pgsql/libodb-pgsql.hash diff --git a/buildroot-2022.02.1/package/libodb-pgsql/libodb-pgsql.mk b/buildroot-2022.02.1/package/libodb-pgsql/libodb-pgsql.mk new file mode 100644 index 00000000..01411688 --- /dev/null +++ b/buildroot-2022.02.1/package/libodb-pgsql/libodb-pgsql.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# libodb-pgsql +# +################################################################################ + +LIBODB_PGSQL_VERSION_MAJOR = 2.4 +LIBODB_PGSQL_VERSION = $(LIBODB_PGSQL_VERSION_MAJOR).0 +LIBODB_PGSQL_SOURCE = libodb-pgsql-$(LIBODB_PGSQL_VERSION).tar.bz2 +LIBODB_PGSQL_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_PGSQL_VERSION_MAJOR) +LIBODB_PGSQL_LICENSE = GPL-2.0 +LIBODB_PGSQL_LICENSE_FILES = LICENSE +LIBODB_PGSQL_INSTALL_STAGING = YES +LIBODB_PGSQL_DEPENDENCIES = postgresql libodb +LIBODB_PGSQL_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libodb/Config.in b/buildroot-2022.02.1/package/libodb/Config.in similarity index 100% rename from buildroot-2021.05/package/libodb/Config.in rename to buildroot-2022.02.1/package/libodb/Config.in diff --git a/buildroot-2021.05/package/libodb/libodb.hash b/buildroot-2022.02.1/package/libodb/libodb.hash similarity index 100% rename from buildroot-2021.05/package/libodb/libodb.hash rename to buildroot-2022.02.1/package/libodb/libodb.hash diff --git a/buildroot-2022.02.1/package/libodb/libodb.mk b/buildroot-2022.02.1/package/libodb/libodb.mk new file mode 100644 index 00000000..b25e8ac5 --- /dev/null +++ b/buildroot-2022.02.1/package/libodb/libodb.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libodb +# +################################################################################ + +LIBODB_VERSION_MAJOR = 2.4 +LIBODB_VERSION = $(LIBODB_VERSION_MAJOR).0 +LIBODB_SOURCE = libodb-$(LIBODB_VERSION).tar.bz2 +LIBODB_SITE = https://www.codesynthesis.com/download/odb/$(LIBODB_VERSION_MAJOR) +LIBODB_INSTALL_STAGING = YES +LIBODB_LICENSE = GPL-2.0 +LIBODB_LICENSE_FILES = LICENSE +LIBODB_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" +HOST_LIBODB_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/libogg/Config.in b/buildroot-2022.02.1/package/libogg/Config.in new file mode 100644 index 00000000..48c62063 --- /dev/null +++ b/buildroot-2022.02.1/package/libogg/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBOGG + bool "libogg" + help + Ogg is a multimedia container format, and the native file + and stream format for the Xiph.org multimedia codecs. As + with all Xiph.org technology is it an open format free for + anyone to use. + + https://xiph.org/ogg/ diff --git a/buildroot-2022.02.1/package/libogg/libogg.hash b/buildroot-2022.02.1/package/libogg/libogg.hash new file mode 100644 index 00000000..9727c1cf --- /dev/null +++ b/buildroot-2022.02.1/package/libogg/libogg.hash @@ -0,0 +1,5 @@ +# From https://www.xiph.org/downloads/ +sha256 c4d91be36fc8e54deae7575241e03f4211eb102afb3fc0775fbbc1b740016705 libogg-1.3.5.tar.xz + +# Hash for license file: +sha256 d2ab5758336489da61c12cc5bb757da5339c4ae9001f9bb0562b4370249af814 COPYING diff --git a/buildroot-2022.02.1/package/libogg/libogg.mk b/buildroot-2022.02.1/package/libogg/libogg.mk new file mode 100644 index 00000000..49f9c7b6 --- /dev/null +++ b/buildroot-2022.02.1/package/libogg/libogg.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libogg +# +################################################################################ + +LIBOGG_VERSION = 1.3.5 +LIBOGG_SOURCE = libogg-$(LIBOGG_VERSION).tar.xz +LIBOGG_SITE = http://downloads.xiph.org/releases/ogg +LIBOGG_LICENSE = BSD-3-Clause +LIBOGG_LICENSE_FILES = COPYING + +LIBOGG_INSTALL_STAGING = YES +LIBOGG_DEPENDENCIES = host-pkgconf + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libolm/Config.in b/buildroot-2022.02.1/package/libolm/Config.in similarity index 100% rename from buildroot-2021.05/package/libolm/Config.in rename to buildroot-2022.02.1/package/libolm/Config.in diff --git a/buildroot-2022.02.1/package/libolm/libolm.hash b/buildroot-2022.02.1/package/libolm/libolm.hash new file mode 100644 index 00000000..044bb24f --- /dev/null +++ b/buildroot-2022.02.1/package/libolm/libolm.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 614c0e4dc4721f57e56c3385bd8def2f71c6631f928a480efd0b4bd8e5435df9 olm-3.2.9.tar.gz +sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE diff --git a/buildroot-2022.02.1/package/libolm/libolm.mk b/buildroot-2022.02.1/package/libolm/libolm.mk new file mode 100644 index 00000000..607e5070 --- /dev/null +++ b/buildroot-2022.02.1/package/libolm/libolm.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libolm +# +################################################################################ + +LIBOLM_VERSION = 3.2.9 +LIBOLM_SOURCE = olm-$(LIBOLM_VERSION).tar.gz +LIBOLM_SITE = https://gitlab.matrix.org/matrix-org/olm/-/archive/$(LIBOLM_VERSION) +LIBOLM_LICENSE = Apache-2.0 +LIBOLM_LICENSE_FILES = LICENSE +LIBOLM_INSTALL_STAGING = YES + +LIBOLM_CONF_OPTS = -DOLM_TESTS=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/libopenaptx/Config.in b/buildroot-2022.02.1/package/libopenaptx/Config.in new file mode 100644 index 00000000..46ff08a2 --- /dev/null +++ b/buildroot-2022.02.1/package/libopenaptx/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_LIBOPENAPTX + bool "libopenaptx" + # unconditionallly builds a shared lib + depends on !BR2_STATIC_LIBS + help + This is Open Source implementation of Audio Processing + Technology codec (aptX) originally derived from ffmpeg 4.0 + project and licensed under GPLv3+. This codec is mainly used + in Bluetooth A2DP profile. + + https://github.com/pali/libopenaptx + +comment "libopenaptx needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libopenaptx/libopenaptx.hash b/buildroot-2022.02.1/package/libopenaptx/libopenaptx.hash new file mode 100644 index 00000000..76b4e66c --- /dev/null +++ b/buildroot-2022.02.1/package/libopenaptx/libopenaptx.hash @@ -0,0 +1,3 @@ +# Locally calculated: +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 a19b3b642def6f86441b73dd4efda6e6f13d49e7e2d6e5e91cc7eb464ebb505a libopenaptx-0.2.1.tar.gz diff --git a/buildroot-2022.02.1/package/libopenaptx/libopenaptx.mk b/buildroot-2022.02.1/package/libopenaptx/libopenaptx.mk new file mode 100644 index 00000000..c2f5fa23 --- /dev/null +++ b/buildroot-2022.02.1/package/libopenaptx/libopenaptx.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# libopenaptx +# +################################################################################ + +LIBOPENAPTX_VERSION = 0.2.1 +LIBOPENAPTX_SITE = $(call github,pali,libopenaptx,$(LIBOPENAPTX_VERSION)) +LIBOPENAPTX_LICENSE = GPL-3.0+ +LIBOPENAPTX_LICENSE_FILES = COPYING +LIBOPENAPTX_INSTALL_STAGING = YES + +define LIBOPENAPTX_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) +endef + +define LIBOPENAPTX_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) \ + PREFIX=/usr install +endef + +define LIBOPENAPTX_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(STAGING_DIR) \ + PREFIX=/usr install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libopenh264/Config.in b/buildroot-2022.02.1/package/libopenh264/Config.in similarity index 100% rename from buildroot-2021.05/package/libopenh264/Config.in rename to buildroot-2022.02.1/package/libopenh264/Config.in diff --git a/buildroot-2022.02.1/package/libopenh264/libopenh264.hash b/buildroot-2022.02.1/package/libopenh264/libopenh264.hash new file mode 100644 index 00000000..712425a0 --- /dev/null +++ b/buildroot-2022.02.1/package/libopenh264/libopenh264.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 e4e5c8ba48e64ba6ce61e8b6e2b76b2d870c74c270147649082feabb40f25905 libopenh264-2.2.0.tar.gz +sha256 dd5c1c9668512530fa5a96e4c29ac4033d70a7eeb0eed7a42fddb6dd794ebdbb LICENSE diff --git a/buildroot-2022.02.1/package/libopenh264/libopenh264.mk b/buildroot-2022.02.1/package/libopenh264/libopenh264.mk new file mode 100644 index 00000000..ea41f726 --- /dev/null +++ b/buildroot-2022.02.1/package/libopenh264/libopenh264.mk @@ -0,0 +1,55 @@ +################################################################################ +# +# libopenh264 +# +################################################################################ + +LIBOPENH264_VERSION = 2.2.0 +LIBOPENH264_SITE = $(call github,cisco,openh264,v$(LIBOPENH264_VERSION)) +LIBOPENH264_LICENSE = BSD-2-Clause +LIBOPENH264_LICENSE_FILES = LICENSE +LIBOPENH264_CPE_ID_VENDOR = cisco +LIBOPENH264_CPE_ID_PRODUCT = openh264 +LIBOPENH264_INSTALL_STAGING = YES + +ifeq ($(BR2_aarch64),y) +LIBOPENH264_ARCH = aarch64 +else ifeq ($(BR2_arm)$(BR2_armeb),y) +LIBOPENH264_ARCH = arm +else ifeq ($(BR2_i386),y) +LIBOPENH264_ARCH = x86 +LIBOPENH264_DEPENDENCIES += host-nasm +else ifeq ($(BR2_mips)$(BR2_mipsel),y) +LIBOPENH264_ARCH = mips +else ifeq ($(BR2_mips64)$(BR2_mips64el),y) +LIBOPENH264_ARCH = mips64 +else ifeq ($(BR2_x86_64),y) +LIBOPENH264_ARCH = x86_64 +LIBOPENH264_DEPENDENCIES += host-nasm +endif + +# ENABLE64BIT is really only used for x86-64, other 64 bits +# architecture don't need it. +LIBOPENH264_MAKE_OPTS = \ + ARCH=$(LIBOPENH264_ARCH) \ + ENABLE64BIT=$(if $(BR2_x86_64),Yes,No) \ + USE_STACK_PROTECTOR=No + +define LIBOPENH264_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(LIBOPENH264_MAKE_OPTS) +endef + +define LIBOPENH264_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(LIBOPENH264_MAKE_OPTS) \ + DESTDIR=$(STAGING_DIR) PREFIX=/usr install +endef + +define LIBOPENH264_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(LIBOPENH264_MAKE_OPTS) \ + DESTDIR=$(TARGET_DIR) PREFIX=/usr install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libopenssl/0001-Dont-waste-time-building-manpages-if-we-re-not-going.patch b/buildroot-2022.02.1/package/libopenssl/0001-Dont-waste-time-building-manpages-if-we-re-not-going.patch similarity index 100% rename from buildroot-2021.05/package/libopenssl/0001-Dont-waste-time-building-manpages-if-we-re-not-going.patch rename to buildroot-2022.02.1/package/libopenssl/0001-Dont-waste-time-building-manpages-if-we-re-not-going.patch diff --git a/buildroot-2021.05/package/libopenssl/0002-Reproducible-build-do-not-leak-compiler-path.patch b/buildroot-2022.02.1/package/libopenssl/0002-Reproducible-build-do-not-leak-compiler-path.patch similarity index 100% rename from buildroot-2021.05/package/libopenssl/0002-Reproducible-build-do-not-leak-compiler-path.patch rename to buildroot-2022.02.1/package/libopenssl/0002-Reproducible-build-do-not-leak-compiler-path.patch diff --git a/buildroot-2021.05/package/libopenssl/0003-Introduce-the-OPENSSL_NO_MADVISE-to-disable-call-to-.patch b/buildroot-2022.02.1/package/libopenssl/0003-Introduce-the-OPENSSL_NO_MADVISE-to-disable-call-to-.patch similarity index 100% rename from buildroot-2021.05/package/libopenssl/0003-Introduce-the-OPENSSL_NO_MADVISE-to-disable-call-to-.patch rename to buildroot-2022.02.1/package/libopenssl/0003-Introduce-the-OPENSSL_NO_MADVISE-to-disable-call-to-.patch diff --git a/buildroot-2021.05/package/libopenssl/0004-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch b/buildroot-2022.02.1/package/libopenssl/0004-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch similarity index 100% rename from buildroot-2021.05/package/libopenssl/0004-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch rename to buildroot-2022.02.1/package/libopenssl/0004-Configure-use-ELFv2-ABI-on-some-ppc64-big-endian-sys.patch diff --git a/buildroot-2021.05/package/libopenssl/0005-crypto-perlasm-ppc-xlate.pl-add-linux64v2-flavour.patch b/buildroot-2022.02.1/package/libopenssl/0005-crypto-perlasm-ppc-xlate.pl-add-linux64v2-flavour.patch similarity index 100% rename from buildroot-2021.05/package/libopenssl/0005-crypto-perlasm-ppc-xlate.pl-add-linux64v2-flavour.patch rename to buildroot-2022.02.1/package/libopenssl/0005-crypto-perlasm-ppc-xlate.pl-add-linux64v2-flavour.patch diff --git a/buildroot-2021.05/package/libopenssl/0006-Add-support-for-io_pgetevents_time64-syscall.patch b/buildroot-2022.02.1/package/libopenssl/0006-Add-support-for-io_pgetevents_time64-syscall.patch similarity index 100% rename from buildroot-2021.05/package/libopenssl/0006-Add-support-for-io_pgetevents_time64-syscall.patch rename to buildroot-2022.02.1/package/libopenssl/0006-Add-support-for-io_pgetevents_time64-syscall.patch diff --git a/buildroot-2021.05/package/libopenssl/0007-Fixup-support-for-io_pgetevents_time64-syscall.patch b/buildroot-2022.02.1/package/libopenssl/0007-Fixup-support-for-io_pgetevents_time64-syscall.patch similarity index 100% rename from buildroot-2021.05/package/libopenssl/0007-Fixup-support-for-io_pgetevents_time64-syscall.patch rename to buildroot-2022.02.1/package/libopenssl/0007-Fixup-support-for-io_pgetevents_time64-syscall.patch diff --git a/buildroot-2022.02.1/package/libopenssl/Config.in b/buildroot-2022.02.1/package/libopenssl/Config.in new file mode 100644 index 00000000..fcead4c1 --- /dev/null +++ b/buildroot-2022.02.1/package/libopenssl/Config.in @@ -0,0 +1,138 @@ +if BR2_PACKAGE_LIBOPENSSL + +# 4xx PowerPC cores seem to have trouble with openssl's ASM +# optimizations +config BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH_LINUX_PPC + bool + default y if BR2_powerpc + depends on !BR2_powerpc_401 + depends on !BR2_powerpc_403 + depends on !BR2_powerpc_405 + depends on !BR2_powerpc_405fp + depends on !BR2_powerpc_440 + depends on !BR2_powerpc_440fp + +config BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH + string + # Doesn't work for thumb-only (Cortex-M?) + default "linux-armv4" if BR2_ARM_CPU_HAS_ARM + default "linux-aarch64" if BR2_aarch64 + default "linux-ppc" if BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH_LINUX_PPC + default "linux-ppc64" if BR2_powerpc64 + default "linux-ppc64le" if BR2_powerpc64le + default "linux-x86" if BR2_i386 + default "linux-x86_64" if BR2_x86_64 + # no-asm is needed with generic architectures such as + # linux-generic{32,64}, see + # https://github.com/openssl/openssl/issues/9839 + default "linux-generic64 no-asm" if BR2_ARCH_IS_64 && !BR2_MIPS_NABI32 + default "linux-generic32 no-asm" + +config BR2_PACKAGE_LIBOPENSSL_BIN + bool "openssl binary" + help + Install the openssl binary and the associated helper scripts + to the target file system. This is a command line tool for + doing various cryptographic stuff. + +config BR2_PACKAGE_LIBOPENSSL_ENGINES + bool "openssl additional engines" + help + Install additional encryption engine libraries. + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA + bool "enable CHACHA" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_RC5 + bool "enable RC5" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2 + bool "enable RC2" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 + bool "enable RC4" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_MD2 + bool "enable MD2" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 + bool "enable MD4" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_MDC2 + bool "enable MDC2" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 + bool "enable BLAKE2" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_IDEA + bool "enable IDEA" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SEED + bool "enable SEED" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_DES + bool "enable DES" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 + bool "enable RMD160" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_WHIRLPOOL + bool "enable WHIRLPOOL" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH + bool "enable BLOWFISH" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL + bool "enable SSL" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL2 + bool "enable SSL2" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL3 + bool "enable SSL3" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_WEAK_SSL + bool "enable WEAK_SSL" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK + bool "enable mode PSK" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST + bool "enable mode CAST" + default y + +config BR2_PACKAGE_LIBOPENSSL_UNSECURE + bool "enable unit test, debug, backtrace" + default y + help + Enable unit-test crypto-mdebug-backtrace + crypto-mdebug autoerrinit mode. + +config BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE + bool "enable dynamic engine" + default y + +config BR2_PACKAGE_LIBOPENSSL_ENABLE_COMP + bool "enable compression" + default y + +endif # BR2_PACKAGE_LIBOPENSSL diff --git a/buildroot-2022.02.1/package/libopenssl/libopenssl.hash b/buildroot-2022.02.1/package/libopenssl/libopenssl.hash new file mode 100644 index 00000000..22bb365b --- /dev/null +++ b/buildroot-2022.02.1/package/libopenssl/libopenssl.hash @@ -0,0 +1,5 @@ +# From https://www.openssl.org/source/openssl-1.1.1n.tar.gz.sha256 +sha256 40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a openssl-1.1.1n.tar.gz + +# License files +sha256 c32913b33252e71190af2066f08115c69bc9fddadf3bf29296e20c835389841c LICENSE diff --git a/buildroot-2022.02.1/package/libopenssl/libopenssl.mk b/buildroot-2022.02.1/package/libopenssl/libopenssl.mk new file mode 100644 index 00000000..ae6658ed --- /dev/null +++ b/buildroot-2022.02.1/package/libopenssl/libopenssl.mk @@ -0,0 +1,181 @@ +################################################################################ +# +# libopenssl +# +################################################################################ + +LIBOPENSSL_VERSION = 1.1.1n +LIBOPENSSL_SITE = https://www.openssl.org/source +LIBOPENSSL_SOURCE = openssl-$(LIBOPENSSL_VERSION).tar.gz +LIBOPENSSL_LICENSE = OpenSSL or SSLeay +LIBOPENSSL_LICENSE_FILES = LICENSE +LIBOPENSSL_INSTALL_STAGING = YES +LIBOPENSSL_DEPENDENCIES = zlib +HOST_LIBOPENSSL_DEPENDENCIES = host-zlib +LIBOPENSSL_TARGET_ARCH = $(call qstrip,$(BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH)) +LIBOPENSSL_CFLAGS = $(TARGET_CFLAGS) +LIBOPENSSL_PROVIDES = openssl +LIBOPENSSL_CPE_ID_VENDOR = $(LIBOPENSSL_PROVIDES) +LIBOPENSSL_CPE_ID_PRODUCT = $(LIBOPENSSL_PROVIDES) + +ifeq ($(BR2_m68k_cf),y) +# relocation truncated to fit: R_68K_GOT16O +LIBOPENSSL_CFLAGS += -mxgot +# resolves an assembler "out of range error" with blake2 and sha512 algorithms +LIBOPENSSL_CFLAGS += -DOPENSSL_SMALL_FOOTPRINT +endif + +ifeq ($(BR2_USE_MMU),) +LIBOPENSSL_CFLAGS += -DHAVE_FORK=0 -DOPENSSL_NO_MADVISE +endif + +ifeq ($(BR2_PACKAGE_HAS_CRYPTODEV),y) +LIBOPENSSL_DEPENDENCIES += cryptodev +endif + +# fixes the following build failures: +# +# - musl +# ./libcrypto.so: undefined reference to `getcontext' +# ./libcrypto.so: undefined reference to `setcontext' +# ./libcrypto.so: undefined reference to `makecontext' +# +# - uclibc: +# crypto/async/arch/../arch/async_posix.h:32:5: error: unknown type name 'ucontext_t' +# + +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +LIBOPENSSL_CFLAGS += -DOPENSSL_NO_ASYNC +endif +ifeq ($(BR2_TOOLCHAIN_HAS_UCONTEXT),) +LIBOPENSSL_CFLAGS += -DOPENSSL_NO_ASYNC +endif + +define HOST_LIBOPENSSL_CONFIGURE_CMDS + (cd $(@D); \ + $(HOST_CONFIGURE_OPTS) \ + ./config \ + --prefix=$(HOST_DIR) \ + --openssldir=$(HOST_DIR)/etc/ssl \ + no-tests \ + no-fuzz-libfuzzer \ + no-fuzz-afl \ + shared \ + zlib-dynamic \ + ) + $(SED) "s#-O[0-9sg]#$(HOST_CFLAGS)#" $(@D)/Makefile +endef + +define LIBOPENSSL_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_ARGS) \ + $(TARGET_CONFIGURE_OPTS) \ + ./Configure \ + $(LIBOPENSSL_TARGET_ARCH) \ + --prefix=/usr \ + --openssldir=/etc/ssl \ + $(if $(BR2_TOOLCHAIN_HAS_LIBATOMIC),-latomic) \ + $(if $(BR2_TOOLCHAIN_HAS_THREADS),threads,no-threads) \ + $(if $(BR2_STATIC_LIBS),no-shared,shared) \ + $(if $(BR2_PACKAGE_HAS_CRYPTODEV),enable-devcryptoeng) \ + no-rc5 \ + enable-camellia \ + enable-mdc2 \ + no-tests \ + no-fuzz-libfuzzer \ + no-fuzz-afl \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA),,no-chacha) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC5),,no-rc5) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2),,no-rc2) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4),,no-rc4) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_MD2),,no-md2) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4),,no-md4) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_MDC2),,no-mdc2) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2),,no-blake2) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_IDEA),,no-idea) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SEED),,no-seed) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_DES),,no-des) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160),,no-rmd160) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_WHIRLPOOL),,no-whirlpool) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH),,no-bf) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL),,no-ssl) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL2),,no-ssl2) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL3),,no-ssl3) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_WEAK_SSL),,no-weak-ssl-ciphers) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK),,no-psk) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST),,no-cast) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_UNSECURE),,no-unit-test no-crypto-mdebug-backtrace no-crypto-mdebug no-autoerrinit) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE),,no-dynamic-engine ) \ + $(if $(BR2_PACKAGE_LIBOPENSSL_ENABLE_COMP),,no-comp) \ + $(if $(BR2_STATIC_LIBS),zlib,zlib-dynamic) \ + $(if $(BR2_STATIC_LIBS),no-dso) \ + ) + $(SED) "s#-march=[-a-z0-9] ##" -e "s#-mcpu=[-a-z0-9] ##g" $(@D)/Makefile + $(SED) "s#-O[0-9sg]#$(LIBOPENSSL_CFLAGS)#" $(@D)/Makefile + $(SED) "s# build_tests##" $(@D)/Makefile +endef + +# libdl is not available in a static build, and this is not implied by no-dso +ifeq ($(BR2_STATIC_LIBS),y) +define LIBOPENSSL_FIXUP_STATIC_MAKEFILE + $(SED) 's#-ldl##g' $(@D)/Makefile +endef +LIBOPENSSL_POST_CONFIGURE_HOOKS += LIBOPENSSL_FIXUP_STATIC_MAKEFILE +endif + +define HOST_LIBOPENSSL_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define LIBOPENSSL_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define LIBOPENSSL_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install +endef + +define HOST_LIBOPENSSL_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install +endef + +define LIBOPENSSL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install + rm -rf $(TARGET_DIR)/usr/lib/ssl + rm -f $(TARGET_DIR)/usr/bin/c_rehash +endef + +# libdl has no business in a static build +ifeq ($(BR2_STATIC_LIBS),y) +define LIBOPENSSL_FIXUP_STATIC_PKGCONFIG + $(SED) 's#-ldl##' $(STAGING_DIR)/usr/lib/pkgconfig/libcrypto.pc + $(SED) 's#-ldl##' $(STAGING_DIR)/usr/lib/pkgconfig/libssl.pc + $(SED) 's#-ldl##' $(STAGING_DIR)/usr/lib/pkgconfig/openssl.pc +endef +LIBOPENSSL_POST_INSTALL_STAGING_HOOKS += LIBOPENSSL_FIXUP_STATIC_PKGCONFIG +endif + +ifeq ($(BR2_PACKAGE_PERL),) +define LIBOPENSSL_REMOVE_PERL_SCRIPTS + $(RM) -f $(TARGET_DIR)/etc/ssl/misc/{CA.pl,tsget} +endef +LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_PERL_SCRIPTS +endif + +ifeq ($(BR2_PACKAGE_LIBOPENSSL_BIN),) +define LIBOPENSSL_REMOVE_BIN + $(RM) -f $(TARGET_DIR)/usr/bin/openssl + $(RM) -f $(TARGET_DIR)/etc/ssl/misc/{CA.*,c_*} +endef +LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_BIN +endif + +ifneq ($(BR2_PACKAGE_LIBOPENSSL_ENGINES),y) +define LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES + rm -rf $(TARGET_DIR)/usr/lib/engines-1.1 +endef +LIBOPENSSL_POST_INSTALL_TARGET_HOOKS += LIBOPENSSL_REMOVE_LIBOPENSSL_ENGINES +endif + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch b/buildroot-2022.02.1/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch similarity index 100% rename from buildroot-2021.05/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch rename to buildroot-2022.02.1/package/liboping/0001-ping_host_add-Decrease-buffer-size-to-make-GCC-s-truncation-check-happy.patch diff --git a/buildroot-2022.02.1/package/liboping/0002-fix-utf8-support.patch b/buildroot-2022.02.1/package/liboping/0002-fix-utf8-support.patch new file mode 100644 index 00000000..0697ad5c --- /dev/null +++ b/buildroot-2022.02.1/package/liboping/0002-fix-utf8-support.patch @@ -0,0 +1,35 @@ +From dfbdd324769f542b6b89499c1b7f0f4322100bc6 Mon Sep 17 00:00:00 2001 +From: wfaulk +Date: Wed, 7 Aug 2019 18:57:43 -0400 +Subject: [PATCH] fix utf8 support + +in oping.c:923 in has_utf8() the #if HAVE_NCURSESW_NCURSES_H is +wrong. in consequence of this hist_symbols_utf8 is not used and the +the graph type prettyping is not realy pretty. the name of the header +file is curses.h see also oping.c:85 or the third changelog entry from +1997/05/31 + +https://github.com/octo/liboping/issues/36 + +[Upstream: https://github.com/octo/liboping/pull/49/commits/a313923ec12d11daa8e70497c6b7b5d50965821b] +Signed-off-by: Peter Seiderer +--- + src/oping.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/oping.c b/src/oping.c +index 87ca81a..62dbb67 100644 +--- a/src/oping.c ++++ b/src/oping.c +@@ -903,7 +903,7 @@ static void time_calc (struct timespec *ts_dest, /* {{{ */ + #if USE_NCURSES + static _Bool has_utf8() /* {{{ */ + { +-# if HAVE_NCURSESW_NCURSES_H ++# if HAVE_NCURSESW_CURSES_H + if (!opt_utf8) + { + /* Automatically determine */ +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch b/buildroot-2022.02.1/package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch new file mode 100644 index 00000000..4f3eea62 --- /dev/null +++ b/buildroot-2022.02.1/package/liboping/0003-Open-raw-sockets-when-adding-hosts-not-when-doing-th.patch @@ -0,0 +1,91 @@ +From ac878566eb935fd3ebfb804e6bd9e1690d4a65e3 Mon Sep 17 00:00:00 2001 +From: Tollef Fog Heen +Date: Tue, 20 Mar 2018 22:40:32 +0100 +Subject: [PATCH] Open raw sockets when adding hosts, not when doing the + pinging + +This allows this to run as non-root again, without this, oping will +have dropped privileges before trying to ping, which then fails to +open the necessary raw sockets. + +Fixes: #34 + +[Upstream: https://github.com/octo/liboping/pull/35/commits/a88c51f38dafa1fba9118045176754bec05d3c94] +Signed-off-by: Peter Seiderer +--- + src/liboping.c | 48 +++++++++++++++++------------------------------- + 1 file changed, 17 insertions(+), 31 deletions(-) + +diff --git a/src/liboping.c b/src/liboping.c +index 39b0041..f98e810 100644 +--- a/src/liboping.c ++++ b/src/liboping.c +@@ -1344,41 +1344,10 @@ int ping_send (pingobj_t *obj) + struct timeval nowtime; + struct timeval timeout; + +- _Bool need_ipv4_socket = 0; +- _Bool need_ipv6_socket = 0; +- + for (ptr = obj->head; ptr != NULL; ptr = ptr->next) + { + ptr->latency = -1.0; + ptr->recv_ttl = -1; +- +- if (ptr->addrfamily == AF_INET) +- need_ipv4_socket = 1; +- else if (ptr->addrfamily == AF_INET6) +- need_ipv6_socket = 1; +- } +- +- if (!need_ipv4_socket && !need_ipv6_socket) +- { +- ping_set_error (obj, "ping_send", "No hosts to ping"); +- return (-1); +- } +- +- if (need_ipv4_socket && obj->fd4 == -1) +- { +- obj->fd4 = ping_open_socket(obj, AF_INET); +- if (obj->fd4 == -1) +- return (-1); +- ping_set_ttl (obj, obj->ttl); +- ping_set_qos (obj, obj->qos); +- } +- if (need_ipv6_socket && obj->fd6 == -1) +- { +- obj->fd6 = ping_open_socket(obj, AF_INET6); +- if (obj->fd6 == -1) +- return (-1); +- ping_set_ttl (obj, obj->ttl); +- ping_set_qos (obj, obj->qos); + } + + if (gettimeofday (&nowtime, NULL) == -1) +@@ -1698,6 +1667,23 @@ int ping_host_add (pingobj_t *obj, const char *host) + ph->table_next = obj->table[ph->ident % PING_TABLE_LEN]; + obj->table[ph->ident % PING_TABLE_LEN] = ph; + ++ if (ph->addrfamily == AF_INET && obj->fd4 == -1) ++ { ++ obj->fd4 = ping_open_socket(obj, AF_INET); ++ if (obj->fd4 == -1) ++ return (-1); ++ ping_set_ttl (obj, obj->ttl); ++ ping_set_qos (obj, obj->qos); ++ } ++ if (ph->addrfamily == AF_INET6 && obj->fd6 == -1) ++ { ++ obj->fd6 = ping_open_socket(obj, AF_INET6); ++ if (obj->fd6 == -1) ++ return (-1); ++ ping_set_ttl (obj, obj->ttl); ++ ping_set_qos (obj, obj->qos); ++ } ++ + return (0); + } /* int ping_host_add */ + +-- +2.25.1 + diff --git a/buildroot-2021.05/package/liboping/Config.in b/buildroot-2022.02.1/package/liboping/Config.in similarity index 100% rename from buildroot-2021.05/package/liboping/Config.in rename to buildroot-2022.02.1/package/liboping/Config.in diff --git a/buildroot-2021.05/package/liboping/liboping.hash b/buildroot-2022.02.1/package/liboping/liboping.hash similarity index 100% rename from buildroot-2021.05/package/liboping/liboping.hash rename to buildroot-2022.02.1/package/liboping/liboping.hash diff --git a/buildroot-2021.05/package/liboping/liboping.mk b/buildroot-2022.02.1/package/liboping/liboping.mk similarity index 100% rename from buildroot-2021.05/package/liboping/liboping.mk rename to buildroot-2022.02.1/package/liboping/liboping.mk diff --git a/buildroot-2021.05/package/libopusenc/Config.in b/buildroot-2022.02.1/package/libopusenc/Config.in similarity index 100% rename from buildroot-2021.05/package/libopusenc/Config.in rename to buildroot-2022.02.1/package/libopusenc/Config.in diff --git a/buildroot-2021.05/package/libopusenc/libopusenc.hash b/buildroot-2022.02.1/package/libopusenc/libopusenc.hash similarity index 100% rename from buildroot-2021.05/package/libopusenc/libopusenc.hash rename to buildroot-2022.02.1/package/libopusenc/libopusenc.hash diff --git a/buildroot-2021.05/package/libopusenc/libopusenc.mk b/buildroot-2022.02.1/package/libopusenc/libopusenc.mk similarity index 100% rename from buildroot-2021.05/package/libopusenc/libopusenc.mk rename to buildroot-2022.02.1/package/libopusenc/libopusenc.mk diff --git a/buildroot-2021.05/package/libosip2/Config.in b/buildroot-2022.02.1/package/libosip2/Config.in similarity index 100% rename from buildroot-2021.05/package/libosip2/Config.in rename to buildroot-2022.02.1/package/libosip2/Config.in diff --git a/buildroot-2022.02.1/package/libosip2/libosip2.hash b/buildroot-2022.02.1/package/libosip2/libosip2.hash new file mode 100644 index 00000000..071ad7e6 --- /dev/null +++ b/buildroot-2022.02.1/package/libosip2/libosip2.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 f4725916c22cf514969efb15c3c207233d64739383f7d42956038b78f6cae8c8 libosip2-5.3.0.tar.gz + +# Hash for license file: +sha256 8d9e95ed0e48df46dc758eb0d86df611f771eab4eed94bebb77dca87f1c897de COPYING diff --git a/buildroot-2022.02.1/package/libosip2/libosip2.mk b/buildroot-2022.02.1/package/libosip2/libosip2.mk new file mode 100644 index 00000000..2f9b7a92 --- /dev/null +++ b/buildroot-2022.02.1/package/libosip2/libosip2.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# libosip2 +# +################################################################################ + +LIBOSIP2_VERSION = 5.3.0 +LIBOSIP2_SITE = $(BR2_GNU_MIRROR)/osip +LIBOSIP2_INSTALL_STAGING = YES +LIBOSIP2_LICENSE = LGPL-2.1+ +LIBOSIP2_LICENSE_FILES = COPYING +LIBOSIP2_CPE_ID_VENDOR = gnu +LIBOSIP2_CPE_ID_PRODUCT = osip + +ifeq ($(BR2_arc),y) +# toolchain __arc__ define conflicts with libosip2 source +LIBOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__" +endif + +LIBOSIP2_CONF_OPTS = \ + --enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no) + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libosmium/Config.in b/buildroot-2022.02.1/package/libosmium/Config.in new file mode 100644 index 00000000..3a4c64e9 --- /dev/null +++ b/buildroot-2022.02.1/package/libosmium/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_LIBOSMIUM + bool "libosmium" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 + depends on BR2_TOOLCHAIN_HAS_THREADS # boost + depends on BR2_USE_WCHAR # boost + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_PROTOZERO + select BR2_PACKAGE_LZ4 + help + A fast and flexible C++ library for working with OpenStreetMap + data. Libosmium works on Linux, macOS and Windows. + + https://osmcode.org/libosmium/ + +comment "libosmium needs a toolchain w/ C++, wchar, threads, gcc >= 4.7" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libosmium/libosmium.hash b/buildroot-2022.02.1/package/libosmium/libosmium.hash new file mode 100644 index 00000000..ccfd3b09 --- /dev/null +++ b/buildroot-2022.02.1/package/libosmium/libosmium.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 ff85d55ca83d77fc41f6b7ae77f3d8d4337d299cbb4cc60c00e1f9d90d94e71b libosmium-2.17.3.tar.gz +sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE diff --git a/buildroot-2022.02.1/package/libosmium/libosmium.mk b/buildroot-2022.02.1/package/libosmium/libosmium.mk new file mode 100644 index 00000000..6510af4e --- /dev/null +++ b/buildroot-2022.02.1/package/libosmium/libosmium.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# libosmium +# +################################################################################ + +LIBOSMIUM_VERSION = 2.17.3 +LIBOSMIUM_SITE = $(call github,osmcode,libosmium,v$(LIBOSMIUM_VERSION)) +LIBOSMIUM_LICENSE = BSL-1.0 +LIBOSMIUM_LICENSE_FILES = LICENSE +LIBOSMIUM_INSTALL_STAGING = YES +LIBOSMIUM_DEPENDENCIES = boost protozero lz4 + +ifeq ($(BR2_PACKAGE_BZIP2),y) +LIBOSMIUM_DEPENDENCIES += bzip2 +endif + +ifeq ($(BR2_PACKAGE_EXPAT),y) +LIBOSMIUM_DEPENDENCIES += expat +endif + +ifeq ($(BR2_PACKAGE_LIBGEOS),y) +LIBOSMIUM_DEPENDENCIES += libgeos +endif + +ifeq ($(BR2_PACKAGE_PROJ),y) +LIBOSMIUM_DEPENDENCIES += proj +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBOSMIUM_DEPENDENCIES += zlib +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libostree/Config.in b/buildroot-2022.02.1/package/libostree/Config.in similarity index 100% rename from buildroot-2021.05/package/libostree/Config.in rename to buildroot-2022.02.1/package/libostree/Config.in diff --git a/buildroot-2022.02.1/package/libostree/libostree.hash b/buildroot-2022.02.1/package/libostree/libostree.hash new file mode 100644 index 00000000..3a063405 --- /dev/null +++ b/buildroot-2022.02.1/package/libostree/libostree.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 43a00e7856842b8a34f6616fc2ce1ce238ef43210cca41f70e6b4b0d2a9fcad5 libostree-2022.1.tar.xz +sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/buildroot-2022.02.1/package/libostree/libostree.mk b/buildroot-2022.02.1/package/libostree/libostree.mk new file mode 100644 index 00000000..9cbf2848 --- /dev/null +++ b/buildroot-2022.02.1/package/libostree/libostree.mk @@ -0,0 +1,91 @@ +################################################################################ +# +# libostree +# +################################################################################ + +LIBOSTREE_VERSION = 2022.1 +LIBOSTREE_SOURCE = libostree-$(LIBOSTREE_VERSION).tar.xz +LIBOSTREE_SITE = https://github.com/ostreedev/ostree/releases/download/v$(LIBOSTREE_VERSION) + +LIBOSTREE_LICENSE = LGPL-2.0+ +LIBOSTREE_LICENSE_FILES = COPYING +LIBOSTREE_DEPENDENCIES = e2fsprogs host-bison host-pkgconf libglib2 libgpg-error libgpgme xz +LIBOSTREE_INSTALL_STAGING = YES + +LIBOSTREE_CONF_ENV = \ + GPG_ERROR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config +LIBOSTREE_CONF_OPTS += \ + --with-gpgme-prefix=$(STAGING_DIR)/usr \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-man + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBOSTREE_DEPENDENCIES += gobject-introspection +LIBOSTREE_CONF_OPTS += --enable-introspection +LIBOSTREE_MAKE_OPTS = INTROSPECTION_SCANNER_ENV= +else +LIBOSTREE_CONF_OPTS += --disable-introspection +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBOSTREE_CONF_OPTS += --with-openssl +LIBOSTREE_DEPENDENCIES += openssl +else +LIBOSTREE_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y) +LIBOSTREE_CONF_OPTS += --with-avahi +LIBOSTREE_DEPENDENCIES += avahi +else +LIBOSTREE_CONF_OPTS += --without-avahi +endif + +#cURL support depends on libsoup +ifeq ($(BR2_PACKAGE_LIBSOUP),y) +LIBOSTREE_CONF_OPTS += --with-soup +LIBOSTREE_DEPENDENCIES += libsoup +ifeq ($(BR2_PACKAGE_LIBCURL),y) +LIBOSTREE_CONF_OPTS += --with-curl +LIBOSTREE_DEPENDENCIES += libcurl +else +LIBOSTREE_CONF_OPTS += --without-curl +endif +else +LIBOSTREE_CONF_OPTS += --without-soup --without-curl +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) +LIBOSTREE_CONF_OPTS += --with-libarchive +LIBOSTREE_DEPENDENCIES += libarchive +else +LIBOSTREE_CONF_OPTS += --without-libarchive +endif + +ifeq ($(BR2_PACKAGE_LIBFUSE),y) +LIBOSTREE_CONF_OPTS += --enable-rofiles-fuse +LIBOSTREE_DEPENDENCIES += libfuse +else +LIBOSTREE_CONF_OPTS += --disable-rofiles-fuse +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +LIBOSTREE_CONF_OPTS += --with-selinux +LIBOSTREE_DEPENDENCIES += libselinux +else +LIBOSTREE_CONF_OPTS += --without-selinux +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +LIBOSTREE_CONF_OPTS += \ + --with-libsystemd \ + --with-systemdsystemunitdir=/usr/lib/systemd/system +LIBOSTREE_DEPENDENCIES += systemd +else +LIBOSTREE_CONF_OPTS += --without-libsystemd +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libp11/0001-Update-wp11_rsa.c.patch b/buildroot-2022.02.1/package/libp11/0001-Update-wp11_rsa.c.patch new file mode 100644 index 00000000..0a2d6e65 --- /dev/null +++ b/buildroot-2022.02.1/package/libp11/0001-Update-wp11_rsa.c.patch @@ -0,0 +1,26 @@ +From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001 +From: patchMonkey156 +Date: Mon, 19 Oct 2020 17:12:15 -0400 +Subject: [PATCH] Update p11_rsa.c + +Bugfix for new LibreSSL version 3.2.2 +[Retrieved from: +https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337] +Signed-off-by: Fabrice Fontaine +--- + src/p11_rsa.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/p11_rsa.c b/src/p11_rsa.c +index b6beef0..ff12ed7 100644 +--- a/src/p11_rsa.c ++++ b/src/p11_rsa.c +@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key) + return RSA_size(rsa); + } + +-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER) ++#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) ) + + int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) + (int flen, const unsigned char *from, diff --git a/buildroot-2021.05/package/libp11/Config.in b/buildroot-2022.02.1/package/libp11/Config.in similarity index 100% rename from buildroot-2021.05/package/libp11/Config.in rename to buildroot-2022.02.1/package/libp11/Config.in diff --git a/buildroot-2021.05/package/libp11/Config.in.host b/buildroot-2022.02.1/package/libp11/Config.in.host similarity index 100% rename from buildroot-2021.05/package/libp11/Config.in.host rename to buildroot-2022.02.1/package/libp11/Config.in.host diff --git a/buildroot-2021.05/package/libp11/libp11.hash b/buildroot-2022.02.1/package/libp11/libp11.hash similarity index 100% rename from buildroot-2021.05/package/libp11/libp11.hash rename to buildroot-2022.02.1/package/libp11/libp11.hash diff --git a/buildroot-2022.02.1/package/libp11/libp11.mk b/buildroot-2022.02.1/package/libp11/libp11.mk new file mode 100644 index 00000000..c1873a92 --- /dev/null +++ b/buildroot-2022.02.1/package/libp11/libp11.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# libp11 +# +################################################################################ + +LIBP11_VERSION = 0.4.11 +LIBP11_SITE = https://github.com/OpenSC/libp11/releases/download/libp11-$(LIBP11_VERSION) +LIBP11_DEPENDENCIES = openssl host-pkgconf +LIBP11_INSTALL_STAGING = YES +LIBP11_LICENSE = LGPL-2.1+ +LIBP11_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBP11_ENGINESDIR = enginesdir +else ifeq ($(BR2_PACKAGE_LIBRESSL),y) +LIBP11_ENGINESDIR = libdir +endif + +# pkg-config returns a libcrypto enginesdir prefixed with the sysroot, +# so let's rip it out. +LIBP11_CONF_OPTS = \ + --with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'` + +ifeq ($(BR2_PACKAGE_P11_KIT),y) +LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so +endif + +HOST_LIBP11_DEPENDENCIES = host-pkgconf host-openssl + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libpagekite/Config.in b/buildroot-2022.02.1/package/libpagekite/Config.in similarity index 100% rename from buildroot-2021.05/package/libpagekite/Config.in rename to buildroot-2022.02.1/package/libpagekite/Config.in diff --git a/buildroot-2021.05/package/libpagekite/libpagekite.hash b/buildroot-2022.02.1/package/libpagekite/libpagekite.hash similarity index 100% rename from buildroot-2021.05/package/libpagekite/libpagekite.hash rename to buildroot-2022.02.1/package/libpagekite/libpagekite.hash diff --git a/buildroot-2021.05/package/libpagekite/libpagekite.mk b/buildroot-2022.02.1/package/libpagekite/libpagekite.mk similarity index 100% rename from buildroot-2021.05/package/libpagekite/libpagekite.mk rename to buildroot-2022.02.1/package/libpagekite/libpagekite.mk diff --git a/buildroot-2021.05/package/libpam-nfc/Config.in b/buildroot-2022.02.1/package/libpam-nfc/Config.in similarity index 100% rename from buildroot-2021.05/package/libpam-nfc/Config.in rename to buildroot-2022.02.1/package/libpam-nfc/Config.in diff --git a/buildroot-2022.02.1/package/libpam-nfc/libpam-nfc.hash b/buildroot-2022.02.1/package/libpam-nfc/libpam-nfc.hash new file mode 100644 index 00000000..543db869 --- /dev/null +++ b/buildroot-2022.02.1/package/libpam-nfc/libpam-nfc.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 042049cecaacd9274f444d69f756b9499eb2d2436136f576eef375531ac25157 libpam-nfc-64a8b30ba2cfd634342ded8c096c7cfc5c8fa22a.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/libpam-nfc/libpam-nfc.mk b/buildroot-2022.02.1/package/libpam-nfc/libpam-nfc.mk new file mode 100644 index 00000000..7cf0a51e --- /dev/null +++ b/buildroot-2022.02.1/package/libpam-nfc/libpam-nfc.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# libpam-nfc +# +################################################################################ + +LIBPAM_NFC_VERSION = 64a8b30ba2cfd634342ded8c096c7cfc5c8fa22a +LIBPAM_NFC_SITE = $(call github,nfc-tools,pam_nfc,$(LIBPAM_NFC_VERSION)) +LIBPAM_NFC_LICENSE = GPL-2.0 +LIBPAM_NFC_LICENSE_FILES = COPYING +LIBPAM_NFC_DEPENDENCIES = linux-pam libnfc +# Fetching from github, we need to generate the configure script +LIBPAM_NFC_AUTORECONF = YES +LIBPAM_NFC_INSTALL_STAGING = YES + +LIBPAM_NFC_CONF_OPTS = \ + --with-pam-dir=/lib/security + +# libpam breaks with parallel build, but is very fast to build. +LIBPAM_NFC_MAKE = $(MAKE1) + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libpam-radius-auth/Config.in b/buildroot-2022.02.1/package/libpam-radius-auth/Config.in similarity index 100% rename from buildroot-2021.05/package/libpam-radius-auth/Config.in rename to buildroot-2022.02.1/package/libpam-radius-auth/Config.in diff --git a/buildroot-2021.05/package/libpam-radius-auth/libpam-radius-auth.hash b/buildroot-2022.02.1/package/libpam-radius-auth/libpam-radius-auth.hash similarity index 100% rename from buildroot-2021.05/package/libpam-radius-auth/libpam-radius-auth.hash rename to buildroot-2022.02.1/package/libpam-radius-auth/libpam-radius-auth.hash diff --git a/buildroot-2021.05/package/libpam-radius-auth/libpam-radius-auth.mk b/buildroot-2022.02.1/package/libpam-radius-auth/libpam-radius-auth.mk similarity index 100% rename from buildroot-2021.05/package/libpam-radius-auth/libpam-radius-auth.mk rename to buildroot-2022.02.1/package/libpam-radius-auth/libpam-radius-auth.mk diff --git a/buildroot-2021.05/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch b/buildroot-2022.02.1/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch similarity index 100% rename from buildroot-2021.05/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch rename to buildroot-2022.02.1/package/libpam-tacplus/0001-Add-an-option-to-disable-Werror.patch diff --git a/buildroot-2021.05/package/libpam-tacplus/Config.in b/buildroot-2022.02.1/package/libpam-tacplus/Config.in similarity index 100% rename from buildroot-2021.05/package/libpam-tacplus/Config.in rename to buildroot-2022.02.1/package/libpam-tacplus/Config.in diff --git a/buildroot-2021.05/package/libpam-tacplus/libpam-tacplus.hash b/buildroot-2022.02.1/package/libpam-tacplus/libpam-tacplus.hash similarity index 100% rename from buildroot-2021.05/package/libpam-tacplus/libpam-tacplus.hash rename to buildroot-2022.02.1/package/libpam-tacplus/libpam-tacplus.hash diff --git a/buildroot-2021.05/package/libpam-tacplus/libpam-tacplus.mk b/buildroot-2022.02.1/package/libpam-tacplus/libpam-tacplus.mk similarity index 100% rename from buildroot-2021.05/package/libpam-tacplus/libpam-tacplus.mk rename to buildroot-2022.02.1/package/libpam-tacplus/libpam-tacplus.mk diff --git a/buildroot-2021.05/package/libpcap/Config.in b/buildroot-2022.02.1/package/libpcap/Config.in similarity index 100% rename from buildroot-2021.05/package/libpcap/Config.in rename to buildroot-2022.02.1/package/libpcap/Config.in diff --git a/buildroot-2022.02.1/package/libpcap/libpcap.hash b/buildroot-2022.02.1/package/libpcap/libpcap.hash new file mode 100644 index 00000000..84c8e405 --- /dev/null +++ b/buildroot-2022.02.1/package/libpcap/libpcap.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://www.tcpdump.org/release/libpcap-1.10.1.tar.gz.sig +sha256 ed285f4accaf05344f90975757b3dbfe772ba41d1c401c2648b7fa45b711bdd4 libpcap-1.10.1.tar.gz + +# Hash for license file: +sha256 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd LICENSE diff --git a/buildroot-2022.02.1/package/libpcap/libpcap.mk b/buildroot-2022.02.1/package/libpcap/libpcap.mk new file mode 100644 index 00000000..1e02ec56 --- /dev/null +++ b/buildroot-2022.02.1/package/libpcap/libpcap.mk @@ -0,0 +1,52 @@ +################################################################################ +# +# libpcap +# +################################################################################ + +LIBPCAP_VERSION = 1.10.1 +LIBPCAP_SITE = https://www.tcpdump.org/release +LIBPCAP_LICENSE = BSD-3-Clause +LIBPCAP_LICENSE_FILES = LICENSE +LIBPCAP_CPE_ID_VENDOR = tcpdump +LIBPCAP_INSTALL_STAGING = YES +LIBPCAP_DEPENDENCIES = host-flex host-bison host-pkgconf + +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +LIBPCAP_CONF_ENV = \ + ac_cv_header_linux_wireless_h=yes \ + ac_cv_prog_cc_c99=-std=gnu99 \ + CFLAGS="$(LIBPCAP_CFLAGS)" +LIBPCAP_CFLAGS = $(TARGET_CFLAGS) +LIBPCAP_CONF_OPTS = --disable-yydebug --with-pcap=linux --without-dag \ + --without-dpdk +# Disable dbus to break recursive dependencies +LIBPCAP_CONF_OPTS += --disable-dbus +LIBPCAP_CONFIG_SCRIPTS = pcap-config + +# Omit -rpath from pcap-config output +define LIBPCAP_CONFIG_REMOVE_RPATH + $(SED) 's/^V_RPATH_OPT=.*/V_RPATH_OPT=""/g' $(@D)/pcap-config +endef +LIBPCAP_POST_BUILD_HOOKS = LIBPCAP_CONFIG_REMOVE_RPATH + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),y) +LIBPCAP_DEPENDENCIES += bluez5_utils-headers +else +LIBPCAP_CONF_OPTS += --disable-bluetooth +endif + +ifeq ($(BR2_PACKAGE_LIBNL),y) +LIBPCAP_DEPENDENCIES += libnl +LIBPCAP_CONF_OPTS += --with-libnl +else +LIBPCAP_CONF_OPTS += --without-libnl +endif + +# microblaze/sparc/sparc64 need -fPIC instead of -fpic +ifeq ($(BR2_microblaze)$(BR2_sparc)$(BR2_sparc64),y) +LIBPCAP_CFLAGS += -fPIC +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libpciaccess/0001-pciaccess.pc.in-add-Libs.Private.patch b/buildroot-2022.02.1/package/libpciaccess/0001-pciaccess.pc.in-add-Libs.Private.patch similarity index 100% rename from buildroot-2021.05/package/libpciaccess/0001-pciaccess.pc.in-add-Libs.Private.patch rename to buildroot-2022.02.1/package/libpciaccess/0001-pciaccess.pc.in-add-Libs.Private.patch diff --git a/buildroot-2021.05/package/libpciaccess/Config.in b/buildroot-2022.02.1/package/libpciaccess/Config.in similarity index 100% rename from buildroot-2021.05/package/libpciaccess/Config.in rename to buildroot-2022.02.1/package/libpciaccess/Config.in diff --git a/buildroot-2021.05/package/libpciaccess/libpciaccess.hash b/buildroot-2022.02.1/package/libpciaccess/libpciaccess.hash similarity index 100% rename from buildroot-2021.05/package/libpciaccess/libpciaccess.hash rename to buildroot-2022.02.1/package/libpciaccess/libpciaccess.hash diff --git a/buildroot-2021.05/package/libpciaccess/libpciaccess.mk b/buildroot-2022.02.1/package/libpciaccess/libpciaccess.mk similarity index 100% rename from buildroot-2021.05/package/libpciaccess/libpciaccess.mk rename to buildroot-2022.02.1/package/libpciaccess/libpciaccess.mk diff --git a/buildroot-2022.02.1/package/libpeas/Config.in b/buildroot-2022.02.1/package/libpeas/Config.in new file mode 100644 index 00000000..430e668e --- /dev/null +++ b/buildroot-2022.02.1/package/libpeas/Config.in @@ -0,0 +1,45 @@ +config BR2_PACKAGE_LIBPEAS + bool "libpeas" + depends on BR2_USE_MMU # gobject-introspection + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection + depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu + depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection + depends on BR2_PACKAGE_PYTHON3 # gobject-introspection + select BR2_PACKAGE_GOBJECT_INTROSPECTION + select BR2_PACKAGE_LIBGLIB2 + help + libpeas is a gobject-based plugins engine, and is targetted at + giving every application the chance to assume its own + extensibility. It also has a set of features including, but + not limited to: + - multiple extension points + - On demand (lazy) programming language support for C, + Python and Lua + - Simplicity of the API + + https://wiki.gnome.org/Projects/Libpeas + +if BR2_PACKAGE_LIBPEAS + +config BR2_PACKAGE_LIBPEAS_WIDGETS + bool "widgets" + depends on BR2_PACKAGE_LIBGTK3 + help + Build GTK+ widgetry + +comment "widget support needs libgtk3" + depends on !BR2_PACKAGE_LIBGTK3 + +endif + +comment "libpeas needs python3" + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_PYTHON3 + +comment "libpeas needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_HOST_GCC_AT_LEAST_8 diff --git a/buildroot-2022.02.1/package/libpeas/libpeas.hash b/buildroot-2022.02.1/package/libpeas/libpeas.hash new file mode 100644 index 00000000..2b030c01 --- /dev/null +++ b/buildroot-2022.02.1/package/libpeas/libpeas.hash @@ -0,0 +1,4 @@ +# From https://ftp.gnome.org/pub/GNOME/sources/libpeas/1.30/libpeas-1.30.0.sha256sum +sha256 0bf5562e9bfc0382a9dcb81f64340787542568762a3a367d9d90f6185898b9a3 libpeas-1.30.0.tar.xz +# Locally calculated +sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING diff --git a/buildroot-2022.02.1/package/libpeas/libpeas.mk b/buildroot-2022.02.1/package/libpeas/libpeas.mk new file mode 100644 index 00000000..097cc860 --- /dev/null +++ b/buildroot-2022.02.1/package/libpeas/libpeas.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# libpeas +# +################################################################################ + +LIBPEAS_VERSION_MAJOR = 1.30 +LIBPEAS_VERSION = $(LIBPEAS_VERSION_MAJOR).0 +LIBPEAS_SOURCE = libpeas-$(LIBPEAS_VERSION).tar.xz +LIBPEAS_SITE = http://ftp.gnome.org/pub/gnome/sources/libpeas/$(LIBPEAS_VERSION_MAJOR) +LIBPEAS_LICENSE = LGPL-2.1+ +LIBPEAS_LICENSE_FILES = COPYING +LIBPEAS_CPE_ID_VENDOR = gnome +LIBPEAS_INSTALL_STAGING = YES +LIBPEAS_DEPENDENCIES = \ + host-libglib2 \ + host-pkgconf \ + gobject-introspection \ + libglib2 \ + $(TARGET_NLS_DEPENDENCIES) + +LIBPEAS_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +LIBPEAS_CONF_OPTS = \ + -Ddemos=false \ + -Dglade_catalog=false \ + -Dgtk_doc=false \ + -Dintrospection=true \ + -Dlua51=false \ + -Dpython2=false \ + -Dpython3=false \ + -Dvapi=false + +ifeq ($(BR2_PACKAGE_LIBPEAS_WIDGETS),y) +LIBPEAS_DEPENDENCIES += libgtk3 +LIBPEAS_CONF_OPTS += -Dwidgetry=true +else +LIBPEAS_CONF_OPTS += -Dwidgetry=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libpfm4/Config.in b/buildroot-2022.02.1/package/libpfm4/Config.in similarity index 100% rename from buildroot-2021.05/package/libpfm4/Config.in rename to buildroot-2022.02.1/package/libpfm4/Config.in diff --git a/buildroot-2021.05/package/libpfm4/libpfm4.hash b/buildroot-2022.02.1/package/libpfm4/libpfm4.hash similarity index 100% rename from buildroot-2021.05/package/libpfm4/libpfm4.hash rename to buildroot-2022.02.1/package/libpfm4/libpfm4.hash diff --git a/buildroot-2021.05/package/libpfm4/libpfm4.mk b/buildroot-2022.02.1/package/libpfm4/libpfm4.mk similarity index 100% rename from buildroot-2021.05/package/libpfm4/libpfm4.mk rename to buildroot-2022.02.1/package/libpfm4/libpfm4.mk diff --git a/buildroot-2021.05/package/libphidget/Config.in b/buildroot-2022.02.1/package/libphidget/Config.in similarity index 100% rename from buildroot-2021.05/package/libphidget/Config.in rename to buildroot-2022.02.1/package/libphidget/Config.in diff --git a/buildroot-2022.02.1/package/libphidget/libphidget.hash b/buildroot-2022.02.1/package/libphidget/libphidget.hash new file mode 100644 index 00000000..9789f786 --- /dev/null +++ b/buildroot-2022.02.1/package/libphidget/libphidget.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 0e789912700228808519cf5c41e19f9b761da635c6bb676b147897936b23851f libphidget_2.1.9.20190409.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/libphidget/libphidget.mk b/buildroot-2022.02.1/package/libphidget/libphidget.mk new file mode 100644 index 00000000..f7d471f9 --- /dev/null +++ b/buildroot-2022.02.1/package/libphidget/libphidget.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libphidget +# +################################################################################ + +LIBPHIDGET_VERSION = 2.1.9.20190409 +LIBPHIDGET_SOURCE = libphidget_$(LIBPHIDGET_VERSION).tar.gz +LIBPHIDGET_SITE = https://www.phidgets.com/downloads/phidget21/libraries/linux/libphidget +LIBPHIDGET_DEPENDENCIES = libusb +LIBPHIDGET_CONF_OPTS = --disable-ldconfig +LIBPHIDGET_INSTALL_STAGING = YES +LIBPHIDGET_LICENSE = LGPL-3.0 +LIBPHIDGET_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libpjsip/Config.in b/buildroot-2022.02.1/package/libpjsip/Config.in similarity index 100% rename from buildroot-2021.05/package/libpjsip/Config.in rename to buildroot-2022.02.1/package/libpjsip/Config.in diff --git a/buildroot-2022.02.1/package/libpjsip/libpjsip.hash b/buildroot-2022.02.1/package/libpjsip/libpjsip.hash new file mode 100644 index 00000000..74331ab6 --- /dev/null +++ b/buildroot-2022.02.1/package/libpjsip/libpjsip.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b3b94d9be4aba8f6d2d1cb164603e81b0a6ee17352f9e2ba5b58e325e610ca5a pjproject-2.12.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/libpjsip/libpjsip.mk b/buildroot-2022.02.1/package/libpjsip/libpjsip.mk new file mode 100644 index 00000000..32cfa8c5 --- /dev/null +++ b/buildroot-2022.02.1/package/libpjsip/libpjsip.mk @@ -0,0 +1,167 @@ +################################################################################ +# +# libpjsip +# +################################################################################ + +LIBPJSIP_VERSION = 2.12 +LIBPJSIP_SOURCE = pjproject-$(LIBPJSIP_VERSION).tar.gz +LIBPJSIP_SITE = $(call github,pjsip,pjproject,$(LIBPJSIP_VERSION)) +# https://github.com/pjsip/pjproject/archive/2.12.tar.gz + +LIBPJSIP_DEPENDENCIES = libsrtp +LIBPJSIP_LICENSE = GPL-2.0+ +LIBPJSIP_LICENSE_FILES = COPYING +LIBPJSIP_CPE_ID_VENDOR = teluu +LIBPJSIP_CPE_ID_PRODUCT = pjsip +LIBPJSIP_INSTALL_STAGING = YES +LIBPJSIP_MAKE = $(MAKE1) + +LIBPJSIP_CFLAGS = $(TARGET_CFLAGS) -DPJ_HAS_IPV6=1 + +# relocation truncated to fit: R_68K_GOT16O +ifeq ($(BR2_m68k_cf),y) +LIBPJSIP_CFLAGS += -mxgot +endif + +LIBPJSIP_CONF_ENV = \ + LD="$(TARGET_CC)" \ + CFLAGS="$(LIBPJSIP_CFLAGS)" + +LIBPJSIP_CONF_OPTS = \ + --disable-resample \ + --disable-g7221-codec \ + --disable-ilbc-codec \ + --disable-libwebrtc \ + --disable-ext-sound \ + --disable-g711-codec \ + --disable-l16-codec \ + --disable-g722-codec \ + --disable-ipp \ + --disable-silk \ + --with-external-srtp + +# Note: aconfigure.ac is broken: --enable-epoll or --disable-epoll will +# both enable it. But that's OK, epoll is better than the alternative, +# so we want to use it. +LIBPJSIP_CONF_OPTS += --enable-epoll + +ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y) +LIBPJSIP_DEPENDENCIES += alsa-lib +LIBPJSIP_CONF_OPTS += --enable-sound +else +LIBPJSIP_CONF_OPTS += --disable-sound +endif + +ifeq ($(BR2_PACKAGE_BCG729),y) +LIBPJSIP_DEPENDENCIES += bcg729 +LIBPJSIP_CONF_OPTS += --with-bcg729=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-bcg729 +endif + +ifeq ($(BR2_PACKAGE_FFMPEG),y) +LIBPJSIP_DEPENDENCIES += ffmpeg +LIBPJSIP_CONF_OPTS += --with-ffmpeg=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-ffmpeg +endif + +ifeq ($(BR2_PACKAGE_LIBGSM),y) +LIBPJSIP_CONF_OPTS += \ + --enable-gsm-codec \ + --with-external-gsm +LIBPJSIP_DEPENDENCIES += libgsm +else +LIBPJSIP_CONF_OPTS += \ + --disable-gsm-codec +endif + +ifeq ($(BR2_PACKAGE_LIBOPENH264),y) +LIBPJSIP_DEPENDENCIES += libopenh264 +LIBPJSIP_CONF_OPTS += --with-openh264=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-openh264 +endif + +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +LIBPJSIP_DEPENDENCIES += libopenssl +LIBPJSIP_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr +else ifeq ($(BR2_PACKAGE_GNUTLS),y) +LIBPJSIP_DEPENDENCIES += gnutls +LIBPJSIP_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-ssl +endif + +ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) +LIBPJSIP_DEPENDENCIES += libsamplerate +LIBPJSIP_CONF_OPTS += --enable-libsamplerate +else +LIBPJSIP_CONF_OPTS += --disable-libsamplerate +endif + +ifeq ($(BR2_PACKAGE_LIBV4L),y) +# --enable-v4l2 is broken (check for libv4l2 will be omitted) +LIBPJSIP_DEPENDENCIES += libv4l +else +LIBPJSIP_CONF_OPTS += --disable-v4l2 +endif + +ifeq ($(BR2_PACKAGE_LIBYUV),y) +LIBPJSIP_DEPENDENCIES += libyuv +LIBPJSIP_CONF_OPTS += \ + --enable-libyuv \ + --with-external-yuv +else +LIBPJSIP_CONF_OPTS += --disable-libyuv +endif + +ifeq ($(BR2_PACKAGE_OPENCORE_AMR),y) +LIBPJSIP_DEPENDENCIES += opencore-amr +LIBPJSIP_CONF_OPTS += --with-opencore-amr=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-opencore-amr +endif + +ifeq ($(BR2_PACKAGE_OPUS),y) +LIBPJSIP_DEPENDENCIES += opus +LIBPJSIP_CONF_OPTS += --with-opus=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-opus +endif + +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +LIBPJSIP_DEPENDENCIES += portaudio +LIBPJSIP_CONF_OPTS += --with-external-pa +else +LIBPJSIP_CONF_OPTS += --without-external-pa +endif + +ifeq ($(BR2_PACKAGE_SDL2),y) +LIBPJSIP_DEPENDENCIES += sdl2 +LIBPJSIP_CONF_OPTS += --with-sdl=$(STAGING_DIR)/usr +else +LIBPJSIP_CONF_OPTS += --disable-sdl +endif + +ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) +LIBPJSIP_CONF_OPTS += \ + --enable-speex-aec \ + --enable-speex-codec \ + --with-external-speex +LIBPJSIP_DEPENDENCIES += speex speexdsp +else +LIBPJSIP_CONF_OPTS += \ + --disable-speex-aec \ + --disable-speex-codec +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +LIBPJSIP_DEPENDENCIES += util-linux +endif + +# disable build of test binaries +LIBPJSIP_MAKE_OPTS = lib + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch b/buildroot-2022.02.1/package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch similarity index 100% rename from buildroot-2021.05/package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch rename to buildroot-2022.02.1/package/libplatform/0001-cmake-require-c-11-as-the-minimum-standard.patch diff --git a/buildroot-2021.05/package/libplatform/Config.in b/buildroot-2022.02.1/package/libplatform/Config.in similarity index 100% rename from buildroot-2021.05/package/libplatform/Config.in rename to buildroot-2022.02.1/package/libplatform/Config.in diff --git a/buildroot-2021.05/package/libplatform/libplatform.hash b/buildroot-2022.02.1/package/libplatform/libplatform.hash similarity index 100% rename from buildroot-2021.05/package/libplatform/libplatform.hash rename to buildroot-2022.02.1/package/libplatform/libplatform.hash diff --git a/buildroot-2021.05/package/libplatform/libplatform.mk b/buildroot-2022.02.1/package/libplatform/libplatform.mk similarity index 100% rename from buildroot-2021.05/package/libplatform/libplatform.mk rename to buildroot-2022.02.1/package/libplatform/libplatform.mk diff --git a/buildroot-2021.05/package/libplist/Config.in b/buildroot-2022.02.1/package/libplist/Config.in similarity index 100% rename from buildroot-2021.05/package/libplist/Config.in rename to buildroot-2022.02.1/package/libplist/Config.in diff --git a/buildroot-2021.05/package/libplist/libplist.hash b/buildroot-2022.02.1/package/libplist/libplist.hash similarity index 100% rename from buildroot-2021.05/package/libplist/libplist.hash rename to buildroot-2022.02.1/package/libplist/libplist.hash diff --git a/buildroot-2021.05/package/libplist/libplist.mk b/buildroot-2022.02.1/package/libplist/libplist.mk similarity index 100% rename from buildroot-2021.05/package/libplist/libplist.mk rename to buildroot-2022.02.1/package/libplist/libplist.mk diff --git a/buildroot-2021.05/package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch b/buildroot-2022.02.1/package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch similarity index 100% rename from buildroot-2021.05/package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch rename to buildroot-2022.02.1/package/libpng/0001-Disable-pngfix-and-png-fix-itxt.patch diff --git a/buildroot-2021.05/package/libpng/Config.in b/buildroot-2022.02.1/package/libpng/Config.in similarity index 100% rename from buildroot-2021.05/package/libpng/Config.in rename to buildroot-2022.02.1/package/libpng/Config.in diff --git a/buildroot-2021.05/package/libpng/libpng.hash b/buildroot-2022.02.1/package/libpng/libpng.hash similarity index 100% rename from buildroot-2021.05/package/libpng/libpng.hash rename to buildroot-2022.02.1/package/libpng/libpng.hash diff --git a/buildroot-2021.05/package/libpng/libpng.mk b/buildroot-2022.02.1/package/libpng/libpng.mk similarity index 100% rename from buildroot-2021.05/package/libpng/libpng.mk rename to buildroot-2022.02.1/package/libpng/libpng.mk diff --git a/buildroot-2021.05/package/libpqxx/Config.in b/buildroot-2022.02.1/package/libpqxx/Config.in similarity index 100% rename from buildroot-2021.05/package/libpqxx/Config.in rename to buildroot-2022.02.1/package/libpqxx/Config.in diff --git a/buildroot-2021.05/package/libpqxx/libpqxx.hash b/buildroot-2022.02.1/package/libpqxx/libpqxx.hash similarity index 100% rename from buildroot-2021.05/package/libpqxx/libpqxx.hash rename to buildroot-2022.02.1/package/libpqxx/libpqxx.hash diff --git a/buildroot-2021.05/package/libpqxx/libpqxx.mk b/buildroot-2022.02.1/package/libpqxx/libpqxx.mk similarity index 100% rename from buildroot-2021.05/package/libpqxx/libpqxx.mk rename to buildroot-2022.02.1/package/libpqxx/libpqxx.mk diff --git a/buildroot-2022.02.1/package/libpri/Config.in b/buildroot-2022.02.1/package/libpri/Config.in new file mode 100644 index 00000000..0684d2ac --- /dev/null +++ b/buildroot-2022.02.1/package/libpri/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_LIBPRI + bool "libpri" + depends on BR2_USE_MMU # fork() + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_DAHDI_LINUX + select BR2_PACKAGE_DAHDI_TOOLS + help + libpri is an open source library that encapsulates the + protocols used to communicate over ISDN Primary Rate + Interfaces (T1, E1, J1). + + http://www.asterisk.org/downloads/libpri + +comment "libpri needs a Linux kernel to be built" + depends on BR2_USE_MMU + depends on !BR2_LINUX_KERNEL + +comment "libpri needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libpri/libpri.hash b/buildroot-2022.02.1/package/libpri/libpri.hash similarity index 100% rename from buildroot-2021.05/package/libpri/libpri.hash rename to buildroot-2022.02.1/package/libpri/libpri.hash diff --git a/buildroot-2021.05/package/libpri/libpri.mk b/buildroot-2022.02.1/package/libpri/libpri.mk similarity index 100% rename from buildroot-2021.05/package/libpri/libpri.mk rename to buildroot-2022.02.1/package/libpri/libpri.mk diff --git a/buildroot-2022.02.1/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch b/buildroot-2022.02.1/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch new file mode 100644 index 00000000..72f50aa5 --- /dev/null +++ b/buildroot-2022.02.1/package/libpsl/0001-Add-libiconv-dep-to-meson-build-again.patch @@ -0,0 +1,60 @@ +From 5b63816e82287808e81b8603a528af3cc6fab354 Mon Sep 17 00:00:00 2001 +From: Zhao Zhili +Date: Thu, 7 Jan 2021 20:59:17 +0800 +Subject: [PATCH] Add libiconv dep to meson build again + +Build success on macOS and ubuntu. + +[Retrieved from: +https://github.com/rockdaboot/libpsl/commit/5b63816e82287808e81b8603a528af3cc6fab354] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 14 ++++++++++++++ + src/meson.build | 2 +- + 2 files changed, 15 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index f248171..fb2de31 100644 +--- a/meson.build ++++ b/meson.build +@@ -20,6 +20,7 @@ libicu_dep = notfound + libidn_dep = notfound + libunistring = notfound + networking_deps = notfound ++libiconv_dep = notfound + + # FIXME: Cleanup this when Meson gets 'feature-combo': + # https://github.com/mesonbuild/meson/issues/4566 +@@ -86,6 +87,19 @@ endif + if libidn2_dep.found() or libidn_dep.found() + # Check for libunistring, we need it for psl_str_to_utf8lower() + libunistring = cc.find_library('unistring') ++ found_iconv = false ++ if cc.has_function('iconv_open') ++ libiconv_dep = [] ++ found_iconv = true ++ endif ++ if not found_iconv and cc.has_header_symbol('iconv.h', 'iconv_open') ++ libiconv_dep = [cc.find_library('iconv')] ++ found_iconv = true ++ endif ++ ++ if not found_iconv ++ error('iconv implementation not found') ++ endif + endif + + if host_machine.system() == 'windows' +diff --git a/src/meson.build b/src/meson.build +index 0d1dcdf..746bf44 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -19,7 +19,7 @@ cargs = [ + libpsl = library('psl', sources, suffixes_dafsa_h, + include_directories : [configinc, includedir], + c_args : cargs, +- dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps], ++ dependencies : [libidn2_dep, libidn_dep, libicu_dep, libunistring, networking_deps, libiconv_dep], + version: lt_version, + install: true, + ) diff --git a/buildroot-2022.02.1/package/libpsl/Config.in b/buildroot-2022.02.1/package/libpsl/Config.in new file mode 100644 index 00000000..a4cbce6b --- /dev/null +++ b/buildroot-2022.02.1/package/libpsl/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBPSL + bool "libpsl" + depends on BR2_USE_WCHAR # libunistring, icu + select BR2_PACKAGE_LIBIDN2 if !BR2_PACKAGE_ICU && !BR2_PACKAGE_LIBIDN + select BR2_PACKAGE_LIBUNISTRING if !BR2_PACKAGE_ICU + help + C library to handle the Public Suffix List of TLDs. + + https://github.com/rockdaboot/libpsl + +comment "libpsl needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/libpsl/libpsl.hash b/buildroot-2022.02.1/package/libpsl/libpsl.hash new file mode 100644 index 00000000..552935e9 --- /dev/null +++ b/buildroot-2022.02.1/package/libpsl/libpsl.hash @@ -0,0 +1,6 @@ +# Locally generated +sha256 ac6ce1e1fbd4d0254c4ddb9d37f1fa99dec83619c1253328155206b896210d4c libpsl-0.21.1.tar.gz + +# Hashes for license files: +sha256 7903413e7aa0bbcb77aa19150a3f1034edc0a760cff174f9a53efe4de6f056a4 COPYING +sha256 1d7f52747a9169751cdf2641a8299c0098e9ecdf9429296ffd55bdb14c9ed5b3 src/LICENSE.chromium diff --git a/buildroot-2022.02.1/package/libpsl/libpsl.mk b/buildroot-2022.02.1/package/libpsl/libpsl.mk new file mode 100644 index 00000000..5dc03a7c --- /dev/null +++ b/buildroot-2022.02.1/package/libpsl/libpsl.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# libpsl +# +################################################################################ + +LIBPSL_VERSION = 0.21.1 +LIBPSL_SITE = https://github.com/rockdaboot/libpsl/releases/download/$(LIBPSL_VERSION) +LIBPSL_LICENSE = MIT, BSD-3-Clause +LIBPSL_LICENSE_FILES = COPYING src/LICENSE.chromium +LIBPSL_DEPENDENCIES = host-pkgconf +LIBPSL_INSTALL_STAGING = YES + +# The order of checks is the same as done by libpsl when configured. +ifeq ($(BR2_PACKAGE_LIBIDN2)$(BR2_PACKAGE_LIBUNISTRING),yy) +LIBPSL_CONF_OPTS += -Druntime=libidn2 -Dbuiltin=libidn2 +LIBPSL_DEPENDENCIES += libidn2 libunistring +else ifeq ($(BR2_PACKAGE_ICU),y) +LIBPSL_CONF_OPTS += -Druntime=libicu -Dbuiltin=libicu +LIBPSL_DEPENDENCIES += icu +else +LIBPSL_CONF_OPTS += -Druntime=libidn -Dbuiltin=libidn +LIBPSL_DEPENDENCIES += libidn libunistring +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libpthread-stubs/Config.in b/buildroot-2022.02.1/package/libpthread-stubs/Config.in similarity index 100% rename from buildroot-2021.05/package/libpthread-stubs/Config.in rename to buildroot-2022.02.1/package/libpthread-stubs/Config.in diff --git a/buildroot-2021.05/package/libpthread-stubs/libpthread-stubs.hash b/buildroot-2022.02.1/package/libpthread-stubs/libpthread-stubs.hash similarity index 100% rename from buildroot-2021.05/package/libpthread-stubs/libpthread-stubs.hash rename to buildroot-2022.02.1/package/libpthread-stubs/libpthread-stubs.hash diff --git a/buildroot-2021.05/package/libpthread-stubs/libpthread-stubs.mk b/buildroot-2022.02.1/package/libpthread-stubs/libpthread-stubs.mk similarity index 100% rename from buildroot-2021.05/package/libpthread-stubs/libpthread-stubs.mk rename to buildroot-2022.02.1/package/libpthread-stubs/libpthread-stubs.mk diff --git a/buildroot-2021.05/package/libpthsem/0001-fix-build-on-linux-3.x-host.patch b/buildroot-2022.02.1/package/libpthsem/0001-fix-build-on-linux-3.x-host.patch similarity index 100% rename from buildroot-2021.05/package/libpthsem/0001-fix-build-on-linux-3.x-host.patch rename to buildroot-2022.02.1/package/libpthsem/0001-fix-build-on-linux-3.x-host.patch diff --git a/buildroot-2021.05/package/libpthsem/Config.in b/buildroot-2022.02.1/package/libpthsem/Config.in similarity index 100% rename from buildroot-2021.05/package/libpthsem/Config.in rename to buildroot-2022.02.1/package/libpthsem/Config.in diff --git a/buildroot-2021.05/package/libpthsem/libpthsem.hash b/buildroot-2022.02.1/package/libpthsem/libpthsem.hash similarity index 100% rename from buildroot-2021.05/package/libpthsem/libpthsem.hash rename to buildroot-2022.02.1/package/libpthsem/libpthsem.hash diff --git a/buildroot-2021.05/package/libpthsem/libpthsem.mk b/buildroot-2022.02.1/package/libpthsem/libpthsem.mk similarity index 100% rename from buildroot-2021.05/package/libpthsem/libpthsem.mk rename to buildroot-2022.02.1/package/libpthsem/libpthsem.mk diff --git a/buildroot-2021.05/package/libpwquality/Config.in b/buildroot-2022.02.1/package/libpwquality/Config.in similarity index 100% rename from buildroot-2021.05/package/libpwquality/Config.in rename to buildroot-2022.02.1/package/libpwquality/Config.in diff --git a/buildroot-2021.05/package/libpwquality/libpwquality.hash b/buildroot-2022.02.1/package/libpwquality/libpwquality.hash similarity index 100% rename from buildroot-2021.05/package/libpwquality/libpwquality.hash rename to buildroot-2022.02.1/package/libpwquality/libpwquality.hash diff --git a/buildroot-2022.02.1/package/libpwquality/libpwquality.mk b/buildroot-2022.02.1/package/libpwquality/libpwquality.mk new file mode 100644 index 00000000..d4f7a471 --- /dev/null +++ b/buildroot-2022.02.1/package/libpwquality/libpwquality.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# libpwquality +# +################################################################################ + +LIBPWQUALITY_VERSION = 1.4.4 +LIBPWQUALITY_SOURCE = libpwquality-$(LIBPWQUALITY_VERSION).tar.bz2 +LIBPWQUALITY_SITE = https://github.com/libpwquality/libpwquality/releases/download/libpwquality-$(LIBPWQUALITY_VERSION) +LIBPWQUALITY_LICENSE = BSD-3-Clause or GPL-2.0+ +LIBPWQUALITY_INSTALL_STAGING = YES +LIBPWQUALITY_DEPENDENCIES = cracklib +LIBPWQUALITY_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBPWQUALITY_CONF_OPTS += --enable-python-bindings +LIBPWQUALITY_DEPENDENCIES += python3 +LIBPWQUALITY_MAKE_ENV += $(PKG_PYTHON_DISTUTILS_ENV) +else +LIBPWQUALITY_CONF_OPTS += --disable-python-bindings +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +LIBPWQUALITY_CONF_OPTS += --enable-pam +LIBPWQUALITY_DEPENDENCIES += linux-pam +else +LIBPWQUALITY_CONF_OPTS += --disable-pam +endif + +# Static link with cracklib requires -lz if zlib is enabled +ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_ZLIB),yy) +LIBPWQUALITY_CONF_ENV += LIBS="-lz" +endif + +ifeq ($(BR2_PACKAGE_LIBPWQUALITY_TOOLS),) +define LIBPWQUALITY_REMOVE_TOOLS + rm -f $(TARGET_DIR)/usr/bin/pwmake + rm -f $(TARGET_DIR)/usr/bin/pwscore +endef + +LIBPWQUALITY_POST_INSTALL_TARGET_HOOKS += LIBPWQUALITY_REMOVE_TOOLS +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libqb/Config.in b/buildroot-2022.02.1/package/libqb/Config.in new file mode 100644 index 00000000..e481835d --- /dev/null +++ b/buildroot-2022.02.1/package/libqb/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_LIBQB + bool "libqb" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBXML2 + help + Library for client-server applications + + https://github.com/ClusterLabs/libqb + +comment "libqb needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libqb/libqb.hash b/buildroot-2022.02.1/package/libqb/libqb.hash new file mode 100644 index 00000000..b2c216f2 --- /dev/null +++ b/buildroot-2022.02.1/package/libqb/libqb.hash @@ -0,0 +1,5 @@ +# From https://github.com/ClusterLabs/libqb/releases/download/v2.0.3/libqb-2.0.3.sha256 +sha256 a74582bc886fa625f5238374c7c8ca98672a2519c8196b91276be55886d84e9c libqb-2.0.3.tar.xz + +# Locally calculated +sha256 00a89b0d18aacd4114decf79122db87bf35bddaf2bc50e383c9c9f4c263390b2 COPYING diff --git a/buildroot-2022.02.1/package/libqb/libqb.mk b/buildroot-2022.02.1/package/libqb/libqb.mk new file mode 100644 index 00000000..fb132365 --- /dev/null +++ b/buildroot-2022.02.1/package/libqb/libqb.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# libqb +# +################################################################################ + +LIBQB_VERSION = 2.0.3 +LIBQB_SOURCE = libqb-$(LIBQB_VERSION).tar.xz +LIBQB_SITE = \ + https://github.com/ClusterLabs/libqb/releases/download/v$(LIBQB_VERSION) +LIBQB_LICENSE = LGPL-2.1+ +LIBQB_LICENSE_FILES = COPYING +LIBQB_CPE_ID_VENDOR = clusterlabs +LIBQB_INSTALL_STAGING = YES +LIBQB_DEPENDENCIES = libxml2 + +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +LIBQB_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libqmi/0001-build-add-an-option-to-not-build-man-pages.patch b/buildroot-2022.02.1/package/libqmi/0001-build-add-an-option-to-not-build-man-pages.patch new file mode 100644 index 00000000..d9053de5 --- /dev/null +++ b/buildroot-2022.02.1/package/libqmi/0001-build-add-an-option-to-not-build-man-pages.patch @@ -0,0 +1,65 @@ +From 295b75e9c8dc895e281e36b1e8121d09fd556af0 Mon Sep 17 00:00:00 2001 +From: Aleksander Morgado +Date: Wed, 3 Nov 2021 10:57:51 +0100 +Subject: [PATCH] build: add an option to not build man pages + +When cross-compiling, the compiled binaries cannot be run on the build +machine, unless one defines a helper (e.g. qemu) in the meson +configuration, which is most of the time undesirable. + +If help2man is installed on the build machine, then the build would fail +because of this, so add an option to disable generating the man pages. + +With later versions of meson, it will be possible to automatically +detect this condition. + +Based on the same fix done in libmbim by Nicolas Cavallari, see +https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/commit/792af73ea90e9689703ab526dd444fdb1c2f8e40 + +Fixes https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/issues/75 + +[Retrieved (and backported) from: +https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/commit/295b75e9c8dc895e281e36b1e8121d09fd556af0] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 8 +++++++- + meson_options.txt | 1 + + 2 files changed, 8 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index e88b43a1..c7312146 100644 +--- a/meson.build ++++ b/meson.build +@@ -223,8 +223,8 @@ if enable_gtk_doc + subdir('docs/reference/libqmi-glib') + endif + +-help2man = find_program('help2man', required: false) +-if help2man.found() ++enable_man = get_option('man') ++if enable_man + subdir('docs/man') + endif + +@@ -237,6 +242,7 @@ summary({ + output += ' Documentation: ' + enable_gtk_doc.to_string() + '\n' + output += ' bash completion: ' + enable_bash_completion.to_string() + '\n' + output += ' gobject introspection: ' + enable_gir.to_string() + '\n\n' ++output += ' man pages: ' + enable_man.to_string() + '\n\n' + output += ' System paths\n' + output += ' prefix: ' + qmi_prefix + '\n' + output += ' udev base directory: ' + qmi_username + '\n\n' +diff --git a/meson_options.txt b/meson_options.txt +index 4d4f913d..bee5daac 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -16,5 +16,6 @@ option('udevdir', type: 'string', value: '', description: 'where udev base direc + + option('introspection', type: 'boolean', value: 'auto', description: 'build introspection support') + option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation') ++option('man', type: 'boolean', value: 'true', description: 'build man pages using help2man') + + option('bash_completion', type: 'boolean', value: true, description: 'install bash completion files') +-- +GitLab + diff --git a/buildroot-2021.05/package/libqmi/Config.in b/buildroot-2022.02.1/package/libqmi/Config.in similarity index 100% rename from buildroot-2021.05/package/libqmi/Config.in rename to buildroot-2022.02.1/package/libqmi/Config.in diff --git a/buildroot-2022.02.1/package/libqmi/libqmi.hash b/buildroot-2022.02.1/package/libqmi/libqmi.hash new file mode 100644 index 00000000..1f2da45a --- /dev/null +++ b/buildroot-2022.02.1/package/libqmi/libqmi.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB +sha256 2eb7c7971b91a64ad830643b0170cff692a69bf0f093ca61d72d3f466a0272d4 libqmi-1.30.2.tar.gz diff --git a/buildroot-2022.02.1/package/libqmi/libqmi.mk b/buildroot-2022.02.1/package/libqmi/libqmi.mk new file mode 100644 index 00000000..a4839f1e --- /dev/null +++ b/buildroot-2022.02.1/package/libqmi/libqmi.mk @@ -0,0 +1,65 @@ +################################################################################ +# +# libqmi +# +################################################################################ + +LIBQMI_VERSION = 1.30.2 +LIBQMI_SITE = https://gitlab.freedesktop.org/mobile-broadband/libqmi/-/archive/$(LIBQMI_VERSION) +LIBQMI_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (programs) +LIBQMI_LICENSE_FILES = COPYING COPYING.LIB +LIBQMI_CPE_ID_VENDOR = libqmi_project +LIBQMI_INSTALL_STAGING = YES + +LIBQMI_DEPENDENCIES = libglib2 +LIBQMI_CONF_OPTS = -Dman=false + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBQMI_DEPENDENCIES += gobject-introspection +LIBQMI_CONF_OPTS += -Dintrospection=true +else +LIBQMI_CONF_OPTS += -Dintrospection=false +endif + +# if libgudev available, request udev support for a better +# qmi-firmware-update experience +ifeq ($(BR2_PACKAGE_LIBGUDEV),y) +LIBQMI_DEPENDENCIES += libgudev +LIBQMI_CONF_OPTS += -Dudev=true +else +LIBQMI_CONF_OPTS += -Dudev=false +endif + +# if libmbim available, request QMI-over-MBIM support +ifeq ($(BR2_PACKAGE_LIBMBIM),y) +LIBQMI_DEPENDENCIES += libmbim +LIBQMI_CONF_OPTS += -Dmbim_qmux=true +else +LIBQMI_CONF_OPTS += -Dmbim_qmux=false +endif + +# if libqrtr-glib available, enable support for QMI over QRTR +ifeq ($(BR2_PACKAGE_LIBQRTR_GLIB),y) +LIBQMI_DEPENDENCIES += libqrtr-glib +LIBQMI_CONF_OPTS += -Dqrtr=true +else +LIBQMI_CONF_OPTS += -Dqrtr=false +endif + +# if ModemManager available, enable MM runtime check in +# qmi-firmware-update (note that we don't need to build-depend on +# anything else) +ifeq ($(BR2_PACKAGE_MODEM_MANAGER),y) +LIBQMI_CONF_OPTS += -Dmm_runtime_check=true +else +LIBQMI_CONF_OPTS += -Dmm_runtime_check=false +endif + +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +LIBQMI_DEPENDENCIES += bash-completion +LIBQMI_CONF_OPTS += -Dbash_completion=true +else +LIBQMI_CONF_OPTS += -Dbash_completion=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libqrencode/Config.in b/buildroot-2022.02.1/package/libqrencode/Config.in similarity index 100% rename from buildroot-2021.05/package/libqrencode/Config.in rename to buildroot-2022.02.1/package/libqrencode/Config.in diff --git a/buildroot-2021.05/package/libqrencode/libqrencode.hash b/buildroot-2022.02.1/package/libqrencode/libqrencode.hash similarity index 100% rename from buildroot-2021.05/package/libqrencode/libqrencode.hash rename to buildroot-2022.02.1/package/libqrencode/libqrencode.hash diff --git a/buildroot-2021.05/package/libqrencode/libqrencode.mk b/buildroot-2022.02.1/package/libqrencode/libqrencode.mk similarity index 100% rename from buildroot-2021.05/package/libqrencode/libqrencode.mk rename to buildroot-2022.02.1/package/libqrencode/libqrencode.mk diff --git a/buildroot-2021.05/package/libqrtr-glib/Config.in b/buildroot-2022.02.1/package/libqrtr-glib/Config.in similarity index 100% rename from buildroot-2021.05/package/libqrtr-glib/Config.in rename to buildroot-2022.02.1/package/libqrtr-glib/Config.in diff --git a/buildroot-2021.05/package/libqrtr-glib/libqrtr-glib.hash b/buildroot-2022.02.1/package/libqrtr-glib/libqrtr-glib.hash similarity index 100% rename from buildroot-2021.05/package/libqrtr-glib/libqrtr-glib.hash rename to buildroot-2022.02.1/package/libqrtr-glib/libqrtr-glib.hash diff --git a/buildroot-2022.02.1/package/libqrtr-glib/libqrtr-glib.mk b/buildroot-2022.02.1/package/libqrtr-glib/libqrtr-glib.mk new file mode 100644 index 00000000..6ab83354 --- /dev/null +++ b/buildroot-2022.02.1/package/libqrtr-glib/libqrtr-glib.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# libqrtr-glib +# +################################################################################ + +LIBQRTR_GLIB_VERSION = 1.0.0 +LIBQRTR_GLIB_SITE = http://www.freedesktop.org/software/libqmi +LIBQRTR_GLIB_SOURCE = libqrtr-glib-$(LIBQRTR_GLIB_VERSION).tar.xz +LIBQRTR_GLIB_LICENSE = LGPL-2.1+ +LIBQRTR_GLIB_LICENSE_FILES = COPYING.LIB +LIBQRTR_GLIB_INSTALL_STAGING = YES +LIBQRTR_GLIB_DEPENDENCIES = libglib2 + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBQRTR_GLIB_CONF_OPTS += --enable-introspection +LIBQRTR_GLIB_DEPENDENCIES += gobject-introspection +else +LIBQRTR_GLIB_CONF_OPTS += --disable-introspection +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libraw/0001-Add-Libs.private-to-libraw.pc.patch b/buildroot-2022.02.1/package/libraw/0001-Add-Libs.private-to-libraw.pc.patch similarity index 100% rename from buildroot-2021.05/package/libraw/0001-Add-Libs.private-to-libraw.pc.patch rename to buildroot-2022.02.1/package/libraw/0001-Add-Libs.private-to-libraw.pc.patch diff --git a/buildroot-2021.05/package/libraw/Config.in b/buildroot-2022.02.1/package/libraw/Config.in similarity index 100% rename from buildroot-2021.05/package/libraw/Config.in rename to buildroot-2022.02.1/package/libraw/Config.in diff --git a/buildroot-2021.05/package/libraw/libraw.hash b/buildroot-2022.02.1/package/libraw/libraw.hash similarity index 100% rename from buildroot-2021.05/package/libraw/libraw.hash rename to buildroot-2022.02.1/package/libraw/libraw.hash diff --git a/buildroot-2021.05/package/libraw/libraw.mk b/buildroot-2022.02.1/package/libraw/libraw.mk similarity index 100% rename from buildroot-2021.05/package/libraw/libraw.mk rename to buildroot-2022.02.1/package/libraw/libraw.mk diff --git a/buildroot-2021.05/package/libraw1394/Config.in b/buildroot-2022.02.1/package/libraw1394/Config.in similarity index 100% rename from buildroot-2021.05/package/libraw1394/Config.in rename to buildroot-2022.02.1/package/libraw1394/Config.in diff --git a/buildroot-2021.05/package/libraw1394/libraw1394.hash b/buildroot-2022.02.1/package/libraw1394/libraw1394.hash similarity index 100% rename from buildroot-2021.05/package/libraw1394/libraw1394.hash rename to buildroot-2022.02.1/package/libraw1394/libraw1394.hash diff --git a/buildroot-2021.05/package/libraw1394/libraw1394.mk b/buildroot-2022.02.1/package/libraw1394/libraw1394.mk similarity index 100% rename from buildroot-2021.05/package/libraw1394/libraw1394.mk rename to buildroot-2022.02.1/package/libraw1394/libraw1394.mk diff --git a/buildroot-2021.05/package/librelp/Config.in b/buildroot-2022.02.1/package/librelp/Config.in similarity index 100% rename from buildroot-2021.05/package/librelp/Config.in rename to buildroot-2022.02.1/package/librelp/Config.in diff --git a/buildroot-2021.05/package/librelp/librelp.hash b/buildroot-2022.02.1/package/librelp/librelp.hash similarity index 100% rename from buildroot-2021.05/package/librelp/librelp.hash rename to buildroot-2022.02.1/package/librelp/librelp.hash diff --git a/buildroot-2021.05/package/librelp/librelp.mk b/buildroot-2022.02.1/package/librelp/librelp.mk similarity index 100% rename from buildroot-2021.05/package/librelp/librelp.mk rename to buildroot-2022.02.1/package/librelp/librelp.mk diff --git a/buildroot-2021.05/package/libreplaygain/Config.in b/buildroot-2022.02.1/package/libreplaygain/Config.in similarity index 100% rename from buildroot-2021.05/package/libreplaygain/Config.in rename to buildroot-2022.02.1/package/libreplaygain/Config.in diff --git a/buildroot-2021.05/package/libreplaygain/libreplaygain.hash b/buildroot-2022.02.1/package/libreplaygain/libreplaygain.hash similarity index 100% rename from buildroot-2021.05/package/libreplaygain/libreplaygain.hash rename to buildroot-2022.02.1/package/libreplaygain/libreplaygain.hash diff --git a/buildroot-2021.05/package/libreplaygain/libreplaygain.mk b/buildroot-2022.02.1/package/libreplaygain/libreplaygain.mk similarity index 100% rename from buildroot-2021.05/package/libreplaygain/libreplaygain.mk rename to buildroot-2022.02.1/package/libreplaygain/libreplaygain.mk diff --git a/buildroot-2022.02.1/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch b/buildroot-2022.02.1/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch new file mode 100644 index 00000000..98fe250f --- /dev/null +++ b/buildroot-2022.02.1/package/libressl/0001-always-expose-SSL_OP_NO_TLSv1_3.patch @@ -0,0 +1,37 @@ +always expose SSL_OP_NO_TLSv1_3 + +like in OpenSSL, see https://github.com/openssl/openssl/blob/master/include/openssl/ssl.h.in#L399 + +like SSL_OP_NO_DTLSv1_2, see commit "Expose various DTLSv1.2 specific functions and defines" + +this change fixes the compilation of vsftpd 3.0.4 & 3.0.5, which fails with the following error: +``` +ssl.c: In function 'ssl_init': +ssl.c:98:18: error: 'SSL_OP_NO_TLSv1_3' undeclared (first use in this function); did you mean 'SSL_OP_NO_TLSv1_1'? +``` + +Signed-off-by: Francois Perrad +Fetched from: https://github.com/libressl-portable/openbsd/pull/124 +--- + include/openssl/ssl.h | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h +index 46f24b2ea..4048a6e63 100644 +--- a/include/openssl/ssl.h ++++ b/include/openssl/ssl.h +@@ -411,11 +411,7 @@ typedef int (*tls_session_secret_cb_fn)(SSL *s, void *secret, int *secret_len, + #define SSL_OP_NO_TLSv1 0x04000000L + #define SSL_OP_NO_TLSv1_2 0x08000000L + #define SSL_OP_NO_TLSv1_1 0x10000000L +- +-#if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) + #define SSL_OP_NO_TLSv1_3 0x20000000L +-#endif +- + #define SSL_OP_NO_DTLSv1 0x40000000L + #define SSL_OP_NO_DTLSv1_2 0x80000000L + +-- +2.30.2 + diff --git a/buildroot-2021.05/package/libressl/Config.in b/buildroot-2022.02.1/package/libressl/Config.in similarity index 100% rename from buildroot-2021.05/package/libressl/Config.in rename to buildroot-2022.02.1/package/libressl/Config.in diff --git a/buildroot-2022.02.1/package/libressl/libressl.hash b/buildroot-2022.02.1/package/libressl/libressl.hash new file mode 100644 index 00000000..e9239987 --- /dev/null +++ b/buildroot-2022.02.1/package/libressl/libressl.hash @@ -0,0 +1,4 @@ +# From https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/SHA256 +sha256 ff88bffe354818b3ccf545e3cafe454c5031c7a77217074f533271d63c37f08d libressl-3.4.3.tar.gz +# Locally computed +sha256 5c63613f008f16a9c0025c096bbd736cecf720494d121b5c5203e0ec6e5955b1 COPYING diff --git a/buildroot-2022.02.1/package/libressl/libressl.mk b/buildroot-2022.02.1/package/libressl/libressl.mk new file mode 100644 index 00000000..0bb468ce --- /dev/null +++ b/buildroot-2022.02.1/package/libressl/libressl.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# libressl +# +################################################################################ + +LIBRESSL_VERSION = 3.4.3 +LIBRESSL_SITE = https://ftp.openbsd.org/pub/OpenBSD/LibreSSL +LIBRESSL_LICENSE = ISC (new additions), OpenSSL or SSLeay (original OpenSSL code) +LIBRESSL_LICENSE_FILES = COPYING +LIBRESSL_CPE_ID_VENDOR = openbsd +LIBRESSL_INSTALL_STAGING = YES +LIBRESSL_CONF_OPTS = -DOPENSSLDIR="/etc/ssl" + +ifeq ($(BR2_PACKAGE_LIBRESSL_BIN),) +define LIBRESSL_REMOVE_BIN + $(RM) -f $(TARGET_DIR)/usr/bin/openssl +endef +LIBRESSL_POST_INSTALL_TARGET_HOOKS += LIBRESSL_REMOVE_BIN +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libroxml/0001-src-roxml_mem.h-add-missing-extern.patch b/buildroot-2022.02.1/package/libroxml/0001-src-roxml_mem.h-add-missing-extern.patch similarity index 100% rename from buildroot-2021.05/package/libroxml/0001-src-roxml_mem.h-add-missing-extern.patch rename to buildroot-2022.02.1/package/libroxml/0001-src-roxml_mem.h-add-missing-extern.patch diff --git a/buildroot-2021.05/package/libroxml/Config.in b/buildroot-2022.02.1/package/libroxml/Config.in similarity index 100% rename from buildroot-2021.05/package/libroxml/Config.in rename to buildroot-2022.02.1/package/libroxml/Config.in diff --git a/buildroot-2021.05/package/libroxml/libroxml.hash b/buildroot-2022.02.1/package/libroxml/libroxml.hash similarity index 100% rename from buildroot-2021.05/package/libroxml/libroxml.hash rename to buildroot-2022.02.1/package/libroxml/libroxml.hash diff --git a/buildroot-2021.05/package/libroxml/libroxml.mk b/buildroot-2022.02.1/package/libroxml/libroxml.mk similarity index 100% rename from buildroot-2021.05/package/libroxml/libroxml.mk rename to buildroot-2022.02.1/package/libroxml/libroxml.mk diff --git a/buildroot-2022.02.1/package/librsvg/0001-gdk-pixbuf-loader-Makefile.am-set-GDK_PIXBUF_MODULED.patch b/buildroot-2022.02.1/package/librsvg/0001-gdk-pixbuf-loader-Makefile.am-set-GDK_PIXBUF_MODULED.patch new file mode 100644 index 00000000..761ff926 --- /dev/null +++ b/buildroot-2022.02.1/package/librsvg/0001-gdk-pixbuf-loader-Makefile.am-set-GDK_PIXBUF_MODULED.patch @@ -0,0 +1,41 @@ +From 2c472bf55289ccbd7f305aa3e98d6fd70be4e3ab Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 19 Feb 2022 12:02:10 +0100 +Subject: [PATCH] gdk-pixbuf-loader/Makefile.am: set GDK_PIXBUF_MODULEDIR + +Set GDK_PIXBUF_MODULEDIR to gdk_pixbuf_moduledir before calling +gdk-pixbuf-query-loaders to build a correct gdk_pixbuf_cache_file and +gdk-pixbuf.loaders on 'exotic' systems + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/668] +--- + gdk-pixbuf-loader/Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gdk-pixbuf-loader/Makefile.am b/gdk-pixbuf-loader/Makefile.am +index c3493736..de1f9641 100644 +--- a/gdk-pixbuf-loader/Makefile.am ++++ b/gdk-pixbuf-loader/Makefile.am +@@ -49,7 +49,7 @@ rsvg_loader_LDADD = \ + EXTRA_rsvg_loader_DEPENDENCIES = libpixbufloader-svg.la gdk-pixbuf-loaders + + gdk-pixbuf-loaders: Makefile +- $(AM_V_GEN) ( $(GDK_PIXBUF_QUERYLOADERS) ./libpixbufloader-svg.la && $(GDK_PIXBUF_QUERYLOADERS)) > gdk-pixbuf.loaders 2>/dev/null ++ $(AM_V_GEN) ( $(GDK_PIXBUF_QUERYLOADERS) ./libpixbufloader-svg.la && GDK_PIXBUF_MODULEDIR=$(gdk_pixbuf_moduledir) $(GDK_PIXBUF_QUERYLOADERS)) > gdk-pixbuf.loaders 2>/dev/null + + if CROSS_COMPILING + RUN_QUERY_LOADER_TEST=false +@@ -68,7 +68,7 @@ endif + install-data-hook: + @if $(RUN_QUERY_LOADER_TEST) ; then \ + $(mkinstalldirs) $(DESTDIR)$(gdk_pixbuf_binarydir) ; \ +- $(GDK_PIXBUF_QUERYLOADERS) > $(DESTDIR)$(gdk_pixbuf_cache_file) ; \ ++ GDK_PIXBUF_MODULEDIR=$(gdk_pixbuf_moduledir) $(GDK_PIXBUF_QUERYLOADERS) > $(DESTDIR)$(gdk_pixbuf_cache_file) ; \ + else \ + echo "***" ; \ + echo "*** Warning: loaders.cache not built" ; \ +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/librsvg/Config.in b/buildroot-2022.02.1/package/librsvg/Config.in new file mode 100644 index 00000000..270b524b --- /dev/null +++ b/buildroot-2022.02.1/package/librsvg/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_LIBRSVG + bool "librsvg" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + depends on BR2_INSTALL_LIBSTDCPP # pango + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuzz + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_CAIRO_PNG + select BR2_PACKAGE_CAIRO_SCRIPT + select BR2_PACKAGE_GDK_PIXBUF + select BR2_PACKAGE_HOST_RUSTC + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_PANGO + help + The rsvg library is an efficient renderer for Scalable + Vector Graphics (SVG) pictures. + + https://wiki.gnome.org/Projects/LibRsvg + +comment "librsvg needs a toolchain w/ wchar, threads, C++, gcc >= 4.9" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/librsvg/librsvg.hash b/buildroot-2022.02.1/package/librsvg/librsvg.hash new file mode 100644 index 00000000..8b32c658 --- /dev/null +++ b/buildroot-2022.02.1/package/librsvg/librsvg.hash @@ -0,0 +1,5 @@ +# From https://ftp.gnome.org/pub/gnome/sources/librsvg/2.50/librsvg-2.50.7.sha256sum +sha256 fffb61b08cd5282aaae147a02b305166a7426fad22a8b9427708f0f2fc426ebc librsvg-2.50.7.tar.xz + +# Locally computed +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2022.02.1/package/librsvg/librsvg.mk b/buildroot-2022.02.1/package/librsvg/librsvg.mk new file mode 100644 index 00000000..07a14b43 --- /dev/null +++ b/buildroot-2022.02.1/package/librsvg/librsvg.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# librsvg +# +################################################################################ + +LIBRSVG_VERSION_MAJOR = 2.50 +LIBRSVG_VERSION = $(LIBRSVG_VERSION_MAJOR).7 +LIBRSVG_SITE = http://ftp.gnome.org/pub/gnome/sources/librsvg/$(LIBRSVG_VERSION_MAJOR) +LIBRSVG_SOURCE = librsvg-$(LIBRSVG_VERSION).tar.xz +LIBRSVG_INSTALL_STAGING = YES +LIBRSVG_CONF_ENV = \ + LIBS=$(TARGET_NLS_LIBS) \ + RUST_TARGET=$(RUSTC_TARGET_NAME) +LIBRSVG_CONF_OPTS = --disable-pixbuf-loader --disable-tools +HOST_LIBRSVG_CONF_OPTS = --enable-introspection=no +LIBRSVG_DEPENDENCIES = cairo host-gdk-pixbuf gdk-pixbuf host-rustc libglib2 libxml2 pango \ + $(TARGET_NLS_DEPENDENCIES) +HOST_LIBRSVG_DEPENDENCIES = host-cairo host-gdk-pixbuf host-libglib2 host-libxml2 host-pango host-rustc +LIBRSVG_LICENSE = LGPL-2.1+ +LIBRSVG_LICENSE_FILES = COPYING.LIB +LIBRSVG_CPE_ID_VENDOR = gnome +# We're patching gdk-pixbuf-loader/Makefile.am +LIBRSVG_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBRSVG_CONF_OPTS += --enable-introspection +LIBRSVG_DEPENDENCIES += gobject-introspection +else +LIBRSVG_CONF_OPTS += --disable-introspection +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/librsync/Config.in b/buildroot-2022.02.1/package/librsync/Config.in similarity index 100% rename from buildroot-2021.05/package/librsync/Config.in rename to buildroot-2022.02.1/package/librsync/Config.in diff --git a/buildroot-2021.05/package/librsync/librsync.hash b/buildroot-2022.02.1/package/librsync/librsync.hash similarity index 100% rename from buildroot-2021.05/package/librsync/librsync.hash rename to buildroot-2022.02.1/package/librsync/librsync.hash diff --git a/buildroot-2021.05/package/librsync/librsync.mk b/buildroot-2022.02.1/package/librsync/librsync.mk similarity index 100% rename from buildroot-2021.05/package/librsync/librsync.mk rename to buildroot-2022.02.1/package/librsync/librsync.mk diff --git a/buildroot-2021.05/package/librtas/Config.in b/buildroot-2022.02.1/package/librtas/Config.in similarity index 100% rename from buildroot-2021.05/package/librtas/Config.in rename to buildroot-2022.02.1/package/librtas/Config.in diff --git a/buildroot-2021.05/package/librtas/librtas.hash b/buildroot-2022.02.1/package/librtas/librtas.hash similarity index 100% rename from buildroot-2021.05/package/librtas/librtas.hash rename to buildroot-2022.02.1/package/librtas/librtas.hash diff --git a/buildroot-2021.05/package/librtas/librtas.mk b/buildroot-2022.02.1/package/librtas/librtas.mk similarity index 100% rename from buildroot-2021.05/package/librtas/librtas.mk rename to buildroot-2022.02.1/package/librtas/librtas.mk diff --git a/buildroot-2022.02.1/package/librtlsdr/0001-Makefile.am-respect-DESTDIR-with-install-udev-rules.patch b/buildroot-2022.02.1/package/librtlsdr/0001-Makefile.am-respect-DESTDIR-with-install-udev-rules.patch new file mode 100644 index 00000000..1aec8166 --- /dev/null +++ b/buildroot-2022.02.1/package/librtlsdr/0001-Makefile.am-respect-DESTDIR-with-install-udev-rules.patch @@ -0,0 +1,31 @@ +From 082c9e4cb6c8f96aa59dd3d03b0288752518fad7 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 19 Feb 2022 22:29:45 +0100 +Subject: [PATCH] Makefile.am: respect $(DESTDIR) with install-udev-rules + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/steve-m/librtlsdr/pull/67] +--- + Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 65b2f21..6b8691a 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -14,10 +14,10 @@ dist-hook: + echo $(VERSION) > $(distdir)/.tarball-version + + install-udev-rules: +- $(INSTALL_DATA) rtl-sdr.rules /etc/udev/rules.d ++ $(INSTALL_DATA) rtl-sdr.rules $(DESTDIR)/etc/udev/rules.d + + uninstall-udev-rules: +- rm -rf /etc/udev/rules.d/rtl-sdr.rules ++ rm -rf $(DESTDIR)/etc/udev/rules.d/rtl-sdr.rules + + EXTRA_DIST = git-version-gen .version + +-- +2.34.1 + diff --git a/buildroot-2021.05/package/librtlsdr/Config.in b/buildroot-2022.02.1/package/librtlsdr/Config.in similarity index 100% rename from buildroot-2021.05/package/librtlsdr/Config.in rename to buildroot-2022.02.1/package/librtlsdr/Config.in diff --git a/buildroot-2021.05/package/librtlsdr/librtlsdr.hash b/buildroot-2022.02.1/package/librtlsdr/librtlsdr.hash similarity index 100% rename from buildroot-2021.05/package/librtlsdr/librtlsdr.hash rename to buildroot-2022.02.1/package/librtlsdr/librtlsdr.hash diff --git a/buildroot-2022.02.1/package/librtlsdr/librtlsdr.mk b/buildroot-2022.02.1/package/librtlsdr/librtlsdr.mk new file mode 100644 index 00000000..908be158 --- /dev/null +++ b/buildroot-2022.02.1/package/librtlsdr/librtlsdr.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# librtlsdr +# +################################################################################ + +LIBRTLSDR_VERSION = ed0317e6a58c098874ac58b769cf2e609c18d9a5 +LIBRTLSDR_SITE = $(call github,steve-m,librtlsdr,$(LIBRTLSDR_VERSION)) +LIBRTLSDR_LICENSE = GPL-2.0+ +LIBRTLSDR_LICENSE_FILES = COPYING +LIBRTLSDR_INSTALL_STAGING = YES +# From git +LIBRTLSDR_AUTORECONF = YES +LIBRTLSDR_DEPENDENCIES = host-pkgconf libusb +LIBRTLSDR_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBRTLSDR_INSTALL_TARGET_OPTS += install-udev-rules +endif + +ifeq ($(BR2_PACKAGE_LIBRTLSDR_DETACH_DRIVER),y) +LIBRTLSDR_CONF_OPTS += --enable-driver-detach +else +LIBRTLSDR_CONF_OPTS += --disable-driver-detach +endif + +ifeq ($(BR2_PACKAGE_LIBRTLSDR_ZEROCOPY),y) +LIBRTLSDR_CONF_OPTS += --enable-zerocopy +else +LIBRTLSDR_CONF_OPTS += --disable-zerocopy +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsamplerate/Config.in b/buildroot-2022.02.1/package/libsamplerate/Config.in similarity index 100% rename from buildroot-2021.05/package/libsamplerate/Config.in rename to buildroot-2022.02.1/package/libsamplerate/Config.in diff --git a/buildroot-2021.05/package/libsamplerate/libsamplerate.hash b/buildroot-2022.02.1/package/libsamplerate/libsamplerate.hash similarity index 100% rename from buildroot-2021.05/package/libsamplerate/libsamplerate.hash rename to buildroot-2022.02.1/package/libsamplerate/libsamplerate.hash diff --git a/buildroot-2021.05/package/libsamplerate/libsamplerate.mk b/buildroot-2022.02.1/package/libsamplerate/libsamplerate.mk similarity index 100% rename from buildroot-2021.05/package/libsamplerate/libsamplerate.mk rename to buildroot-2022.02.1/package/libsamplerate/libsamplerate.mk diff --git a/buildroot-2021.05/package/libscrypt/0001-Allow-adding-options-to-CFLAGS-and-LDFLAGS-variables.patch b/buildroot-2022.02.1/package/libscrypt/0001-Allow-adding-options-to-CFLAGS-and-LDFLAGS-variables.patch similarity index 100% rename from buildroot-2021.05/package/libscrypt/0001-Allow-adding-options-to-CFLAGS-and-LDFLAGS-variables.patch rename to buildroot-2022.02.1/package/libscrypt/0001-Allow-adding-options-to-CFLAGS-and-LDFLAGS-variables.patch diff --git a/buildroot-2021.05/package/libscrypt/Config.in b/buildroot-2022.02.1/package/libscrypt/Config.in similarity index 100% rename from buildroot-2021.05/package/libscrypt/Config.in rename to buildroot-2022.02.1/package/libscrypt/Config.in diff --git a/buildroot-2021.05/package/libscrypt/libscrypt.hash b/buildroot-2022.02.1/package/libscrypt/libscrypt.hash similarity index 100% rename from buildroot-2021.05/package/libscrypt/libscrypt.hash rename to buildroot-2022.02.1/package/libscrypt/libscrypt.hash diff --git a/buildroot-2021.05/package/libscrypt/libscrypt.mk b/buildroot-2022.02.1/package/libscrypt/libscrypt.mk similarity index 100% rename from buildroot-2021.05/package/libscrypt/libscrypt.mk rename to buildroot-2022.02.1/package/libscrypt/libscrypt.mk diff --git a/buildroot-2022.02.1/package/libseccomp/Config.in b/buildroot-2022.02.1/package/libseccomp/Config.in new file mode 100644 index 00000000..7de91c07 --- /dev/null +++ b/buildroot-2022.02.1/package/libseccomp/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS + bool + default y if BR2_aarch64 + default y if BR2_arm || BR2_armeb + default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + default y if BR2_i386 || BR2_x86_64 + default y if BR2_powerpc64 || BR2_powerpc + default y if BR2_RISCV_64 + default y if BR2_s390x + +config BR2_PACKAGE_LIBSECCOMP + bool "libseccomp" + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + help + High level interface to the Linux Kernel's seccomp filter + + The libseccomp library provides an easy to use, platform + independent, interface to the Linux Kernel's syscall filtering + mechanism: seccomp. The libseccomp API is designed to abstract + away the underlying BPF based syscall filter language and + present a more conventional function-call based filtering + interface that should be familiar to, and easily adopted by + application developers. + + https://github.com/seccomp/libseccomp + +comment "libseccomp needs a toolchain w/ headers >= 3.17" + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 diff --git a/buildroot-2022.02.1/package/libseccomp/libseccomp.hash b/buildroot-2022.02.1/package/libseccomp/libseccomp.hash new file mode 100644 index 00000000..20b88647 --- /dev/null +++ b/buildroot-2022.02.1/package/libseccomp/libseccomp.hash @@ -0,0 +1,4 @@ +# From https://github.com/seccomp/libseccomp/releases/tag/v2.5.3 +sha256 59065c8733364725e9721ba48c3a99bbc52af921daf48df4b1e012fbc7b10a76 libseccomp-2.5.3.tar.gz +# Locally calculated +sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b LICENSE diff --git a/buildroot-2022.02.1/package/libseccomp/libseccomp.mk b/buildroot-2022.02.1/package/libseccomp/libseccomp.mk new file mode 100644 index 00000000..ee2cb126 --- /dev/null +++ b/buildroot-2022.02.1/package/libseccomp/libseccomp.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libseccomp +# +################################################################################ + +LIBSECCOMP_VERSION = 2.5.3 +LIBSECCOMP_SITE = https://github.com/seccomp/libseccomp/releases/download/v$(LIBSECCOMP_VERSION) +LIBSECCOMP_LICENSE = LGPL-2.1 +LIBSECCOMP_LICENSE_FILES = LICENSE +LIBSECCOMP_CPE_ID_VENDOR = libseccomp_project +LIBSECCOMP_INSTALL_STAGING = YES +LIBSECCOMP_DEPENDENCIES = host-gperf + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsecret/Config.in b/buildroot-2022.02.1/package/libsecret/Config.in similarity index 100% rename from buildroot-2021.05/package/libsecret/Config.in rename to buildroot-2022.02.1/package/libsecret/Config.in diff --git a/buildroot-2021.05/package/libsecret/libsecret.hash b/buildroot-2022.02.1/package/libsecret/libsecret.hash similarity index 100% rename from buildroot-2021.05/package/libsecret/libsecret.hash rename to buildroot-2022.02.1/package/libsecret/libsecret.hash diff --git a/buildroot-2021.05/package/libsecret/libsecret.mk b/buildroot-2022.02.1/package/libsecret/libsecret.mk similarity index 100% rename from buildroot-2021.05/package/libsecret/libsecret.mk rename to buildroot-2022.02.1/package/libsecret/libsecret.mk diff --git a/buildroot-2021.05/package/libselinux/0001-fix-musl-build.patch b/buildroot-2022.02.1/package/libselinux/0001-fix-musl-build.patch similarity index 100% rename from buildroot-2021.05/package/libselinux/0001-fix-musl-build.patch rename to buildroot-2022.02.1/package/libselinux/0001-fix-musl-build.patch diff --git a/buildroot-2022.02.1/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch b/buildroot-2022.02.1/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch new file mode 100644 index 00000000..18c79b3b --- /dev/null +++ b/buildroot-2022.02.1/package/libselinux/0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch @@ -0,0 +1,50 @@ +From c26495025ab1a2597e5433b67a3bf793d3ce1e08 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Fri, 25 Oct 2019 13:37:14 +0200 +Subject: [PATCH] Do not use PYCEXT, and rely on the installed file name + +PYCEXT is computed by asking the Python intrepreter what is the +file extension used for native Python modules. + +Unfortunately, when cross-compiling, the host Python doesn't give the +proper result: it gives the result matching the build machine, and not +the target machine. Due to this, the symlink has an incorrect name, +and doesn't point to the .so file that was actually built/installed. + +To address this and keep things simple, this patch just changes the ln +invocation to rely on the name of the _selinux*.so Python module that +was installed. + +Signed-off-by: Antoine Tenart +[Refreshed for 3.1] +Signed-off-by: Thomas Petazzoni +[Refreshed for 3.0] +Signed-off-by: Adam Duskett +--- + src/Makefile | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index 190016e2af34..7ee22fd35da3 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -15,7 +15,6 @@ INCLUDEDIR ?= $(PREFIX)/include + PYINC ?= $(shell $(PKG_CONFIG) --cflags $(PYPREFIX)) + PYLIBS ?= $(shell $(PKG_CONFIG) --libs $(PYPREFIX)) + PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib(plat_specific=1, prefix='$(PREFIX)'))") +-PYCEXT ?= $(shell $(PYTHON) -c 'import importlib.machinery;print(importlib.machinery.EXTENSION_SUFFIXES[0])') + RUBYINC ?= $(shell $(RUBY) -e 'puts "-I" + RbConfig::CONFIG["rubyarchhdrdir"] + " -I" + RbConfig::CONFIG["rubyhdrdir"]') + RUBYLIBS ?= $(shell $(RUBY) -e 'puts "-L" + RbConfig::CONFIG["libdir"] + " -L" + RbConfig::CONFIG["archlibdir"] + " " + RbConfig::CONFIG["LIBRUBYARG_SHARED"]') + RUBYINSTALL ?= $(shell $(RUBY) -e 'puts RbConfig::CONFIG["vendorarchdir"]') +@@ -184,7 +183,7 @@ install: all + install-pywrap: pywrap + $(PYTHON) setup.py install --prefix=$(PREFIX) `test -n "$(DESTDIR)" && echo --root $(DESTDIR)` $(PYTHON_SETUP_ARGS) + install -m 644 $(SWIGPYOUT) $(DESTDIR)$(PYTHONLIBDIR)/selinux/__init__.py +- ln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux$(PYCEXT) $(DESTDIR)$(PYTHONLIBDIR)/_selinux$(PYCEXT) ++ ln -sf --relative $(DESTDIR)$(PYTHONLIBDIR)/selinux/_selinux*.so $(DESTDIR)$(PYTHONLIBDIR)/ + + install-rubywrap: rubywrap + test -d $(DESTDIR)$(RUBYINSTALL) || install -m 755 -d $(DESTDIR)$(RUBYINSTALL) +-- +2.26.2 + diff --git a/buildroot-2022.02.1/package/libselinux/Config.in b/buildroot-2022.02.1/package/libselinux/Config.in new file mode 100644 index 00000000..348757ab --- /dev/null +++ b/buildroot-2022.02.1/package/libselinux/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_LIBSELINUX + bool "libselinux" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol + select BR2_PACKAGE_LIBSEPOL + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC + help + libselinux is the runtime SELinux library that provides + interfaces (e.g. library functions for the SELinux kernel + APIs like getcon(), other support functions like + getseuserbyname()) to SELinux-aware applications. libselinux + may use the shared libsepol to manipulate the binary policy + if necessary (e.g. to downgrade the policy format to an + older version supported by the kernel) when loading policy. + + http://selinuxproject.org/page/Main_Page + +comment "libselinux needs a toolchain w/ threads, dynamic library, gcc >= 5" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/libselinux/libselinux.hash b/buildroot-2022.02.1/package/libselinux/libselinux.hash new file mode 100644 index 00000000..a2e0083f --- /dev/null +++ b/buildroot-2022.02.1/package/libselinux/libselinux.hash @@ -0,0 +1,5 @@ +# From: https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 acfdee27633d2496508c28727c3d41d3748076f66d42fccde2e6b9f3463a7057 libselinux-3.3.tar.gz + +# Hash for license file +sha256 86657b4c0fe868d7cbd977cb04c63b6c667e08fa51595a7bc846ad4bed8fc364 LICENSE diff --git a/buildroot-2022.02.1/package/libselinux/libselinux.mk b/buildroot-2022.02.1/package/libselinux/libselinux.mk new file mode 100644 index 00000000..5790e790 --- /dev/null +++ b/buildroot-2022.02.1/package/libselinux/libselinux.mk @@ -0,0 +1,137 @@ +################################################################################ +# +# libselinux +# +################################################################################ + +LIBSELINUX_VERSION = 3.3 +LIBSELINUX_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSELINUX_VERSION) +LIBSELINUX_LICENSE = Public Domain +LIBSELINUX_LICENSE_FILES = LICENSE +LIBSELINUX_CPE_ID_VENDOR = selinuxproject + +LIBSELINUX_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) libsepol pcre + +LIBSELINUX_INSTALL_STAGING = YES + +# Set SHLIBDIR to /usr/lib so it has the same value than LIBDIR, as a result +# we won't have to use a relative path in 0002-revert-ln-relative.patch +LIBSELINUX_MAKE_OPTS = \ + $(TARGET_CONFIGURE_OPTS) \ + ARCH=$(NORMALIZED_ARCH) \ + SHLIBDIR=/usr/lib + +LIBSELINUX_MAKE_INSTALL_TARGETS = install + +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) +LIBSELINUX_DEPENDENCIES += musl-fts +LIBSELINUX_MAKE_OPTS += FTS_LDLIBS=-lfts +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBSELINUX_DEPENDENCIES += python3 host-swig + +LIBSELINUX_MAKE_OPTS += \ + $(PKG_PYTHON_DISTUTILS_ENV) \ + PYTHON=python$(PYTHON3_VERSION_MAJOR) + +LIBSELINUX_MAKE_INSTALL_TARGETS += install-pywrap + +# dependencies are broken and result in file truncation errors at link +# time if the Python bindings are built through the same make +# invocation as the rest of the library. +define LIBSELINUX_BUILD_PYTHON_BINDINGS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + $(LIBSELINUX_MAKE_OPTS) swigify pywrap +endef +endif # python3 + +# Filter out D_FILE_OFFSET_BITS=64. This fixes errors caused by glibc 2.22. We +# set CFLAGS, CPPFLAGS and LDFLAGS here because we want to win over the +# CFLAGS/CPPFLAGS/LDFLAGS definitions passed by $(PKG_PYTHON_DISTUTILS_ENV) +# when the python binding is enabled. +LIBSELINUX_MAKE_OPTS += \ + CFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS))" \ + CPPFLAGS="$(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ + LDFLAGS="$(TARGET_LDFLAGS) -lpcre -lpthread" + +define LIBSELINUX_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + $(LIBSELINUX_MAKE_OPTS) all + $(LIBSELINUX_BUILD_PYTHON_BINDINGS) +endef + +define LIBSELINUX_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + $(LIBSELINUX_MAKE_OPTS) DESTDIR=$(STAGING_DIR) \ + $(LIBSELINUX_MAKE_INSTALL_TARGETS) +endef + +define LIBSELINUX_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + $(LIBSELINUX_MAKE_OPTS) DESTDIR=$(TARGET_DIR) \ + $(LIBSELINUX_MAKE_INSTALL_TARGETS) + if ! grep -q "selinuxfs" $(TARGET_DIR)/etc/fstab; then \ + echo "none /sys/fs/selinux selinuxfs noauto 0 0" >> $(TARGET_DIR)/etc/fstab ; fi +endef + +HOST_LIBSELINUX_DEPENDENCIES = \ + host-libsepol host-pcre host-swig host-python3 + +HOST_LIBSELINUX_MAKE_OPTS = \ + $(HOST_CONFIGURE_OPTS) \ + PREFIX=$(HOST_DIR) \ + SHLIBDIR=$(HOST_DIR)/lib \ + LDFLAGS="$(HOST_LDFLAGS) -lpcre -lpthread" \ + $(HOST_PKG_PYTHON_DISTUTILS_ENV) \ + PYTHON=python$(PYTHON3_VERSION_MAJOR) + +define HOST_LIBSELINUX_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) \ + $(HOST_LIBSELINUX_MAKE_OPTS) all + # Generate python interface wrapper + $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) \ + $(HOST_LIBSELINUX_MAKE_OPTS) swigify pywrap +endef + +define HOST_LIBSELINUX_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \ + $(HOST_LIBSELINUX_MAKE_OPTS) install + # Install python interface wrapper + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \ + $(HOST_LIBSELINUX_MAKE_OPTS) install-pywrap +endef + +define LIBSELINUX_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_AUDIT) + $(call KCONFIG_ENABLE_OPT,CONFIG_DEFAULT_SECURITY_SELINUX) + $(call KCONFIG_ENABLE_OPT,CONFIG_INET) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY) + $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK) + $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SELINUX) + $(call KCONFIG_SET_OPT,CONFIG_LSM,"selinux") + $(if $(BR2_TARGET_ROOTFS_EROFS), + $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_EROFS_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_EXT2), + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT2_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_EXT2_3), + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT3_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_EXT2_4), + $(call KCONFIG_ENABLE_OPT,CONFIG_EXT4_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_F2FS), + $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_F2FS_FS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_JFFS2), + $(call KCONFIG_ENABLE_OPT,CONFIG_JFS_SECURITY)) + $(if $(BR2_TARGET_ROOTFS_SQUASHFS), + $(call KCONFIG_ENABLE_OPT,CONFIG_SQUASHFS_XATTR)) + $(if $(BR2_TARGET_ROOTFS_UBIFS), + $(call KCONFIG_ENABLE_OPT,CONFIG_UBIFS_FS_XATTR) + $(call KCONFIG_ENABLE_OPT,CONFIG_UBIFS_FS_SECURITY)) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/libsemanage/Config.in b/buildroot-2022.02.1/package/libsemanage/Config.in new file mode 100644 index 00000000..5103df3f --- /dev/null +++ b/buildroot-2022.02.1/package/libsemanage/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_LIBSEMANAGE + bool "libsemanage" + depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libselinux -> libsepol + select BR2_PACKAGE_AUDIT + select BR2_PACKAGE_LIBSELINUX + select BR2_PACKAGE_BZIP2 + help + libsemanage is the policy management library. It uses + libsepol for binary policy manipulation and libselinux for + interacting with the SELinux system. It also exec's helper + programs for loading policy and for checking whether the + file_contexts configuration is valid (load_policy and + setfiles from policycoreutils) presently, although this may + change at least for the bootstrapping case (for rpm). + + http://selinuxproject.org/page/Main_Page + +comment "libsemanage needs a toolchain w/ threads, dynamic library, gcc >= 5" + depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/libsemanage/libsemanage.hash b/buildroot-2022.02.1/package/libsemanage/libsemanage.hash new file mode 100644 index 00000000..1f333aac --- /dev/null +++ b/buildroot-2022.02.1/package/libsemanage/libsemanage.hash @@ -0,0 +1,5 @@ +# From: https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 84d0ec5afa34bbbb471f602d8c1bf317d12443d07852a34b60741d428d597ce8 libsemanage-3.3.tar.gz + +# Hash for license file +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2022.02.1/package/libsemanage/libsemanage.mk b/buildroot-2022.02.1/package/libsemanage/libsemanage.mk new file mode 100644 index 00000000..db9f16bb --- /dev/null +++ b/buildroot-2022.02.1/package/libsemanage/libsemanage.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# libsemanage +# +################################################################################ + +LIBSEMANAGE_VERSION = 3.3 +LIBSEMANAGE_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSEMANAGE_VERSION) +LIBSEMANAGE_LICENSE = LGPL-2.1+ +LIBSEMANAGE_LICENSE_FILES = COPYING +LIBSEMANAGE_DEPENDENCIES = host-bison host-flex audit libselinux bzip2 +LIBSEMANAGE_CPE_ID_VENDOR = selinuxproject +LIBSEMANAGE_INSTALL_STAGING = YES + +LIBSEMANAGE_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) + +define LIBSEMANAGE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) all +endef + +define LIBSEMANAGE_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install +endef + +define LIBSEMANAGE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEMANAGE_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install +endef + +HOST_LIBSEMANAGE_DEPENDENCIES = \ + host-bison \ + host-audit \ + host-libsepol \ + host-libselinux \ + host-bzip2 \ + host-swig \ + host-python3 + +HOST_LIBSEMANAGE_MAKE_OPTS += \ + $(HOST_CONFIGURE_OPTS) \ + PREFIX=$(HOST_DIR) \ + SWIG_LIB="$(HOST_DIR)/share/swig/$(SWIG_VERSION)/" \ + DEFAULT_SEMANAGE_CONF_LOCATION=$(HOST_DIR)/etc/selinux/semanage.conf \ + PYINC="-I$(HOST_DIR)/include/python$(PYTHON3_VERSION_MAJOR)/" \ + PYTHONLIBDIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/" \ + PYLIBVER="python$(PYTHON3_VERSION_MAJOR)" + +define HOST_LIBSEMANAGE_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) all + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) swigify pywrap +endef + +define HOST_LIBSEMANAGE_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) install + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_LIBSEMANAGE_MAKE_OPTS) install-pywrap +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libsepol/0001-support-static-only.patch b/buildroot-2022.02.1/package/libsepol/0001-support-static-only.patch similarity index 100% rename from buildroot-2021.05/package/libsepol/0001-support-static-only.patch rename to buildroot-2022.02.1/package/libsepol/0001-support-static-only.patch diff --git a/buildroot-2022.02.1/package/libsepol/Config.in b/buildroot-2022.02.1/package/libsepol/Config.in new file mode 100644 index 00000000..7516076c --- /dev/null +++ b/buildroot-2022.02.1/package/libsepol/Config.in @@ -0,0 +1,41 @@ +config BR2_PACKAGE_LIBSEPOL + bool "libsepol" + depends on BR2_TOOLCHAIN_HAS_THREADS # pthread + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + help + Libsepol is the binary policy manipulation library. It doesn't + depend upon or use any of the other SELinux components. + + http://selinuxproject.org/page/Main_Page + +if BR2_PACKAGE_LIBSEPOL + +config BR2_PACKAGE_LIBSEPOL_POLICY_VERSION + int "Policy version" + default 33 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 + default 32 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 + default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 + default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 + default 29 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + default 28 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 + default 26 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_2_6 + default 25 + help + The maximum SELinux policy version your kernel supports. + + Here's a handy table to help you choose: + kernel version SElinux policy max version + < 2.6.x 25 + >= 2.6 < 3.5 26 + >= 3.5 < 3.14 28 (27 and 28 were added at the same time) + >= 3.14 < 4.3 29 + >= 4.3 < 4.13 30 + >= 4.13 < 5.5 31 + >= 5.5 < 5.8 32 + >= 5.8 33 + +endif + +comment "libsepol needs a toolchain w/ threads, gcc >= 5" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/libsepol/libsepol.hash b/buildroot-2022.02.1/package/libsepol/libsepol.hash new file mode 100644 index 00000000..039e4e3c --- /dev/null +++ b/buildroot-2022.02.1/package/libsepol/libsepol.hash @@ -0,0 +1,5 @@ +# From: https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 2d97df3eb8466169b389c3660acbb90c54200ac96e452eca9f41a9639f4f238b libsepol-3.3.tar.gz + +# Hash for license file +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING diff --git a/buildroot-2022.02.1/package/libsepol/libsepol.mk b/buildroot-2022.02.1/package/libsepol/libsepol.mk new file mode 100644 index 00000000..8551a5de --- /dev/null +++ b/buildroot-2022.02.1/package/libsepol/libsepol.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# libsepol +# +################################################################################ + +LIBSEPOL_VERSION = 3.3 +LIBSEPOL_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(LIBSEPOL_VERSION) +LIBSEPOL_LICENSE = LGPL-2.1+ +LIBSEPOL_LICENSE_FILES = COPYING +LIBSEPOL_CPE_ID_VENDOR = selinuxproject + +LIBSEPOL_INSTALL_STAGING = YES +LIBSEPOL_DEPENDENCIES = host-flex +HOST_LIBSEPOL_DEPENDENCIES = $(BR2_COREUTILS_HOST_DEPENDENCY) host-flex + +LIBSEPOL_MAKE_FLAGS = $(TARGET_CONFIGURE_OPTS) + +ifeq ($(BR2_STATIC_LIBS),y) +LIBSEPOL_MAKE_FLAGS += STATIC=1 +endif + +define LIBSEPOL_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBSEPOL_MAKE_FLAGS) +endef + +# Set SHLIBDIR to /usr/lib so it has the same value than LIBDIR, as a result +# we won't have to use a relative path in 0002-revert-ln-relative.patch +define LIBSEPOL_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install $(LIBSEPOL_MAKE_FLAGS) \ + DESTDIR=$(STAGING_DIR) SHLIBDIR=/usr/lib +endef + +define LIBSEPOL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install $(LIBSEPOL_MAKE_FLAGS) \ + DESTDIR=$(TARGET_DIR) SHLIBDIR=/usr/lib +endef + +HOST_LIBSEPOL_MAKE_ENV = \ + $(HOST_MAKE_ENV) \ + PREFIX=$(HOST_DIR) \ + SHLIBDIR=$(HOST_DIR)/lib + +define HOST_LIBSEPOL_BUILD_CMDS + $(HOST_LIBSEPOL_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CONFIGURE_OPTS) +endef + +define HOST_LIBSEPOL_INSTALL_CMDS + $(HOST_LIBSEPOL_MAKE_ENV) $(MAKE) -C $(@D) install $(HOST_CONFIGURE_OPTS) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/libserial/0001-SerialPort.cpp-fix-build-when-size_t-is-an-unsigned-.patch b/buildroot-2022.02.1/package/libserial/0001-SerialPort.cpp-fix-build-when-size_t-is-an-unsigned-.patch similarity index 100% rename from buildroot-2021.05/package/libserial/0001-SerialPort.cpp-fix-build-when-size_t-is-an-unsigned-.patch rename to buildroot-2022.02.1/package/libserial/0001-SerialPort.cpp-fix-build-when-size_t-is-an-unsigned-.patch diff --git a/buildroot-2021.05/package/libserial/0002-SerialPort.cpp-don-t-use-high-baudrates-when-not-ava.patch b/buildroot-2022.02.1/package/libserial/0002-SerialPort.cpp-don-t-use-high-baudrates-when-not-ava.patch similarity index 100% rename from buildroot-2021.05/package/libserial/0002-SerialPort.cpp-don-t-use-high-baudrates-when-not-ava.patch rename to buildroot-2022.02.1/package/libserial/0002-SerialPort.cpp-don-t-use-high-baudrates-when-not-ava.patch diff --git a/buildroot-2021.05/package/libserial/Config.in b/buildroot-2022.02.1/package/libserial/Config.in similarity index 100% rename from buildroot-2021.05/package/libserial/Config.in rename to buildroot-2022.02.1/package/libserial/Config.in diff --git a/buildroot-2021.05/package/libserial/libserial.hash b/buildroot-2022.02.1/package/libserial/libserial.hash similarity index 100% rename from buildroot-2021.05/package/libserial/libserial.hash rename to buildroot-2022.02.1/package/libserial/libserial.hash diff --git a/buildroot-2021.05/package/libserial/libserial.mk b/buildroot-2022.02.1/package/libserial/libserial.mk similarity index 100% rename from buildroot-2021.05/package/libserial/libserial.mk rename to buildroot-2022.02.1/package/libserial/libserial.mk diff --git a/buildroot-2021.05/package/libserialport/0001-uclinux-detection.patch b/buildroot-2022.02.1/package/libserialport/0001-uclinux-detection.patch similarity index 100% rename from buildroot-2021.05/package/libserialport/0001-uclinux-detection.patch rename to buildroot-2022.02.1/package/libserialport/0001-uclinux-detection.patch diff --git a/buildroot-2021.05/package/libserialport/Config.in b/buildroot-2022.02.1/package/libserialport/Config.in similarity index 100% rename from buildroot-2021.05/package/libserialport/Config.in rename to buildroot-2022.02.1/package/libserialport/Config.in diff --git a/buildroot-2021.05/package/libserialport/libserialport.hash b/buildroot-2022.02.1/package/libserialport/libserialport.hash similarity index 100% rename from buildroot-2021.05/package/libserialport/libserialport.hash rename to buildroot-2022.02.1/package/libserialport/libserialport.hash diff --git a/buildroot-2021.05/package/libserialport/libserialport.mk b/buildroot-2022.02.1/package/libserialport/libserialport.mk similarity index 100% rename from buildroot-2021.05/package/libserialport/libserialport.mk rename to buildroot-2022.02.1/package/libserialport/libserialport.mk diff --git a/buildroot-2021.05/package/libsexy/Config.in b/buildroot-2022.02.1/package/libsexy/Config.in similarity index 100% rename from buildroot-2021.05/package/libsexy/Config.in rename to buildroot-2022.02.1/package/libsexy/Config.in diff --git a/buildroot-2021.05/package/libsexy/libsexy.hash b/buildroot-2022.02.1/package/libsexy/libsexy.hash similarity index 100% rename from buildroot-2021.05/package/libsexy/libsexy.hash rename to buildroot-2022.02.1/package/libsexy/libsexy.hash diff --git a/buildroot-2021.05/package/libsexy/libsexy.mk b/buildroot-2022.02.1/package/libsexy/libsexy.mk similarity index 100% rename from buildroot-2021.05/package/libsexy/libsexy.mk rename to buildroot-2022.02.1/package/libsexy/libsexy.mk diff --git a/buildroot-2021.05/package/libsha1/Config.in b/buildroot-2022.02.1/package/libsha1/Config.in similarity index 100% rename from buildroot-2021.05/package/libsha1/Config.in rename to buildroot-2022.02.1/package/libsha1/Config.in diff --git a/buildroot-2021.05/package/libsha1/libsha1.hash b/buildroot-2022.02.1/package/libsha1/libsha1.hash similarity index 100% rename from buildroot-2021.05/package/libsha1/libsha1.hash rename to buildroot-2022.02.1/package/libsha1/libsha1.hash diff --git a/buildroot-2021.05/package/libsha1/libsha1.mk b/buildroot-2022.02.1/package/libsha1/libsha1.mk similarity index 100% rename from buildroot-2021.05/package/libsha1/libsha1.mk rename to buildroot-2022.02.1/package/libsha1/libsha1.mk diff --git a/buildroot-2021.05/package/libshairplay/Config.in b/buildroot-2022.02.1/package/libshairplay/Config.in similarity index 100% rename from buildroot-2021.05/package/libshairplay/Config.in rename to buildroot-2022.02.1/package/libshairplay/Config.in diff --git a/buildroot-2021.05/package/libshairplay/libshairplay.hash b/buildroot-2022.02.1/package/libshairplay/libshairplay.hash similarity index 100% rename from buildroot-2021.05/package/libshairplay/libshairplay.hash rename to buildroot-2022.02.1/package/libshairplay/libshairplay.hash diff --git a/buildroot-2021.05/package/libshairplay/libshairplay.mk b/buildroot-2022.02.1/package/libshairplay/libshairplay.mk similarity index 100% rename from buildroot-2021.05/package/libshairplay/libshairplay.mk rename to buildroot-2022.02.1/package/libshairplay/libshairplay.mk diff --git a/buildroot-2022.02.1/package/libshdata/0001-backend-Add-missing-include-files.patch b/buildroot-2022.02.1/package/libshdata/0001-backend-Add-missing-include-files.patch new file mode 100644 index 00000000..78c9e669 --- /dev/null +++ b/buildroot-2022.02.1/package/libshdata/0001-backend-Add-missing-include-files.patch @@ -0,0 +1,47 @@ +From 3eaf11bd957555674f5993435ef79dd4717ce890 Mon Sep 17 00:00:00 2001 +From: Herve Codina +Date: Tue, 26 Oct 2021 08:45:10 +0200 +Subject: [PATCH] backend: Add missing include files + +With some libc library (musl), shd_dev_mem.c and shd_shm.c do not +compile. Indeed, open() needs (Cf. man open). + +This patch fixes the compilation issue adding this +include file. + +This patch was submitted upstream. +https://github.com/Parrot-Developers/libshdata/issues/1 + +Signed-off-by: Herve Codina +--- + src/backend/shd_dev_mem.c | 1 + + src/backend/shd_shm.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/backend/shd_dev_mem.c b/src/backend/shd_dev_mem.c +index 14573c1..a65f052 100644 +--- a/src/backend/shd_dev_mem.c ++++ b/src/backend/shd_dev_mem.c +@@ -33,6 +33,7 @@ + #include + #include + #include /* For ftruncate */ ++#include /* For open */ + #include /* for flock */ + #include /* For shm and PROT flags */ + #include +diff --git a/src/backend/shd_shm.c b/src/backend/shd_shm.c +index 117bf01..1e5a38c 100644 +--- a/src/backend/shd_shm.c ++++ b/src/backend/shd_shm.c +@@ -35,6 +35,7 @@ + #include + #include + #include /* For ftruncate */ ++#include /* For open */ + #include /* For NAME_MAX macro */ + #include /* for flock */ + #include /* For shm and PROT flags */ +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/libshdata/0002-examples-stress_test-Fix-build-with-musl-libc.patch b/buildroot-2022.02.1/package/libshdata/0002-examples-stress_test-Fix-build-with-musl-libc.patch new file mode 100644 index 00000000..c2a8e5f2 --- /dev/null +++ b/buildroot-2022.02.1/package/libshdata/0002-examples-stress_test-Fix-build-with-musl-libc.patch @@ -0,0 +1,37 @@ +From ddded7337812a2797d31f276624da98932d8e17f Mon Sep 17 00:00:00 2001 +From: Herve Codina +Date: Sun, 9 Jan 2022 14:59:27 +0100 +Subject: [PATCH] examples/stress_test: Fix build with musl libc + +The musl C library uses sched_priority instead of +__sched_priority as GNU libc and uClibc do. +Use sched_priority instead. + +This does not break compilation with GNU libc and uClibc +because they both define in sched.h: + #define sched_priority __sched_priority + +This patch was submitted upstream. +https://github.com/Parrot-Developers/libshdata/issues/3 + +Signed-off-by: Herve Codina +--- + examples/stress_test.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/examples/stress_test.c b/examples/stress_test.c +index a859115..cfb5418 100644 +--- a/examples/stress_test.c ++++ b/examples/stress_test.c +@@ -617,7 +617,7 @@ static void launch_test(int timer_fd, struct test_setup *setup) + if (ret < 0) + ULOGI("Error setting the timer : %s", strerror(errno)); + struct sched_param sched_params; +- sched_params.__sched_priority = sched_get_priority_max(SCHED_RR); ++ sched_params.sched_priority = sched_get_priority_max(SCHED_RR); + + pid_t pid = fork(); + +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/libshdata/Config.in b/buildroot-2022.02.1/package/libshdata/Config.in new file mode 100644 index 00000000..b2c24c94 --- /dev/null +++ b/buildroot-2022.02.1/package/libshdata/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_LIBSHDATA + bool "libshdata" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_TOOLCHAIN_HAS_ATOMIC # libfutils + depends on BR2_INSTALL_LIBSTDCPP # libfutils + depends on BR2_TOOLCHAIN_HAS_THREADS # libfutils + select BR2_PACKAGE_LIBFUTILS + select BR2_PACKAGE_ULOG + help + This library provides lock free shared-memory tools + + https://github.com/Parrot-Developers/libshdata + +if BR2_PACKAGE_LIBSHDATA + +config BR2_PACKAGE_LIBSHDATA_STRESS + bool "libshdata-stress binary" + depends on !BR2_STATIC_LIBS + help + Install libshdata-stress binary as well + +comment "libshdata-stress needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +endif + +comment "libshdata needs a toolchain w/ C++, threads" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libshdata/libshdata.hash b/buildroot-2022.02.1/package/libshdata/libshdata.hash new file mode 100644 index 00000000..880404cf --- /dev/null +++ b/buildroot-2022.02.1/package/libshdata/libshdata.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 1ae83ac73c2b5b17c726067737b8d446b99f190e16fe6198eb464368796ecce3 libshdata-d9ec4bdba834d8f3daf6bf9aa6da374bc462961f.tar.gz +sha256 eca11a1c62fae8d64a1247d93271375baecff8396141d7ff8d89671ee7e3ed0d COPYING diff --git a/buildroot-2022.02.1/package/libshdata/libshdata.mk b/buildroot-2022.02.1/package/libshdata/libshdata.mk new file mode 100644 index 00000000..2e600359 --- /dev/null +++ b/buildroot-2022.02.1/package/libshdata/libshdata.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# libshdata +# +################################################################################ + +LIBSHDATA_VERSION = d9ec4bdba834d8f3daf6bf9aa6da374bc462961f +LIBSHDATA_SITE = $(call github,Parrot-Developers,libshdata,$(LIBSHDATA_VERSION)) +LIBSHDATA_LICENSE = BSD-3-Clause +LIBSHDATA_LICENSE_FILES = COPYING +LIBSHDATA_DEPENDENCIES = libfutils ulog host-alchemy +LIBSHDATA_INSTALL_STAGING = YES + +LIBSHDATA_TARGETS = libshdata +ifeq ($(BR2_PACKAGE_LIBSHDATA_STRESS),y) +LIBSHDATA_TARGETS += libshdata-stress +endif + +LIBSHDATA_TARGET_ENV = \ + $(ALCHEMY_TARGET_ENV) \ + ALCHEMY_TARGET_SDK_DIRS="$(ALCHEMY_SDK_BASEDIR)/libfutils $(ALCHEMY_SDK_BASEDIR)/ulog" + +define LIBSHDATA_BUILD_CMDS + $(LIBSHDATA_TARGET_ENV) $(ALCHEMY_MAKE) $(LIBSHDATA_TARGETS) +endef + +ifeq ($(BR2_SHARED_LIBS),) +define LIBSHDATA_INSTALL_STATIC_LIBS + $(INSTALL) -D -m 644 $(@D)/alchemy-out/staging/usr/lib/libshdata.a \ + $(STAGING_DIR)/usr/lib/libshdata.a +endef +endif + +ifeq ($(BR2_STATIC_LIBS),) +# $(1): destination directory: target or staging +define LIBSHDATA_INSTALL_SHARED_LIBS + mkdir -p $(1)/usr/lib/ + $(INSTALL) -m 644 $(@D)/alchemy-out/staging/usr/lib/libshdata.so* \ + $(1)/usr/lib/ +endef +endif + +ifeq ($(BR2_PACKAGE_LIBSHDATA_STRESS),y) +define LIBSHDATA_INSTALL_BIN + $(INSTALL) -D -m 755 $(@D)/alchemy-out/staging/usr/bin/libshdata-stress \ + $(TARGET_DIR)/usr/bin/libshdata-stress +endef +endif + +define LIBSHDATA_INSTALL_TARGET_CMDS + $(LIBSHDATA_INSTALL_BIN) + $(call LIBSHDATA_INSTALL_SHARED_LIBS, $(TARGET_DIR)) +endef + +# Even in dynamic libraries only, libshdata-section-lookup is only built as +# a static lib (include $(BUILD_STATIC_LIBRARY) in atom.mk) and it is needed +# for libshdata usage. +define LIBSHDATA_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/ + $(INSTALL) -m 644 $(@D)/include/* $(STAGING_DIR)/usr/include/ + $(INSTALL) -D -m 644 $(@D)/alchemy-out/staging/usr/lib/libshdata-section-lookup.a \ + $(STAGING_DIR)/usr/lib/libshdata-section-lookup.a + $(LIBSHDATA_INSTALL_STATIC_LIBS) + $(call LIBSHDATA_INSTALL_SHARED_LIBS, $(STAGING_DIR)) + $(call ALCHEMY_INSTALL_LIB_SDK_FILE, libshdata, libshdata.so, libfutils libulog) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libshout/0001-configure.ac-add-an-option-to-disable-tools.patch b/buildroot-2022.02.1/package/libshout/0001-configure.ac-add-an-option-to-disable-tools.patch similarity index 100% rename from buildroot-2021.05/package/libshout/0001-configure.ac-add-an-option-to-disable-tools.patch rename to buildroot-2022.02.1/package/libshout/0001-configure.ac-add-an-option-to-disable-tools.patch diff --git a/buildroot-2021.05/package/libshout/Config.in b/buildroot-2022.02.1/package/libshout/Config.in similarity index 100% rename from buildroot-2021.05/package/libshout/Config.in rename to buildroot-2022.02.1/package/libshout/Config.in diff --git a/buildroot-2021.05/package/libshout/libshout.hash b/buildroot-2022.02.1/package/libshout/libshout.hash similarity index 100% rename from buildroot-2021.05/package/libshout/libshout.hash rename to buildroot-2022.02.1/package/libshout/libshout.hash diff --git a/buildroot-2022.02.1/package/libshout/libshout.mk b/buildroot-2022.02.1/package/libshout/libshout.mk new file mode 100644 index 00000000..4afb762d --- /dev/null +++ b/buildroot-2022.02.1/package/libshout/libshout.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# libshout +# +################################################################################ + +LIBSHOUT_VERSION = 2.4.5 +LIBSHOUT_SITE = https://downloads.xiph.org/releases/libshout +LIBSHOUT_LICENSE = LGPL-2.0+ +LIBSHOUT_LICENSE_FILES = COPYING +LIBSHOUT_INSTALL_STAGING = YES +LIBSHOUT_DEPENDENCIES = host-pkgconf libogg libvorbis +# We're patching configure.ac +LIBSHOUT_AUTORECONF = YES +LIBSHOUT_CONF_OPTS = \ + --disable-examples \ + --disable-tools + +ifeq ($(BR2_PACKAGE_LIBTHEORA),y) +LIBSHOUT_CONF_OPTS += --enable-theora +LIBSHOUT_DEPENDENCIES += libtheora +else +LIBSHOUT_CONF_OPTS += --disable-theora +endif + +ifeq ($(BR2_PACKAGE_SPEEX),y) +LIBSHOUT_CONF_OPTS += --enable-speex +LIBSHOUT_DEPENDENCIES += speex +else +LIBSHOUT_CONF_OPTS += --disable-speex +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBSHOUT_CONF_OPTS += --with-openssl +LIBSHOUT_DEPENDENCIES += openssl +else +LIBSHOUT_CONF_OPTS += --without-openssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsidplay2/0001-sidplay2-libs-2.1.1.patch b/buildroot-2022.02.1/package/libsidplay2/0001-sidplay2-libs-2.1.1.patch similarity index 100% rename from buildroot-2021.05/package/libsidplay2/0001-sidplay2-libs-2.1.1.patch rename to buildroot-2022.02.1/package/libsidplay2/0001-sidplay2-libs-2.1.1.patch diff --git a/buildroot-2021.05/package/libsidplay2/0002-pkg-config.patch b/buildroot-2022.02.1/package/libsidplay2/0002-pkg-config.patch similarity index 100% rename from buildroot-2021.05/package/libsidplay2/0002-pkg-config.patch rename to buildroot-2022.02.1/package/libsidplay2/0002-pkg-config.patch diff --git a/buildroot-2021.05/package/libsidplay2/0003-gcc6.patch b/buildroot-2022.02.1/package/libsidplay2/0003-gcc6.patch similarity index 100% rename from buildroot-2021.05/package/libsidplay2/0003-gcc6.patch rename to buildroot-2022.02.1/package/libsidplay2/0003-gcc6.patch diff --git a/buildroot-2021.05/package/libsidplay2/Config.in b/buildroot-2022.02.1/package/libsidplay2/Config.in similarity index 100% rename from buildroot-2021.05/package/libsidplay2/Config.in rename to buildroot-2022.02.1/package/libsidplay2/Config.in diff --git a/buildroot-2021.05/package/libsidplay2/libsidplay2.hash b/buildroot-2022.02.1/package/libsidplay2/libsidplay2.hash similarity index 100% rename from buildroot-2021.05/package/libsidplay2/libsidplay2.hash rename to buildroot-2022.02.1/package/libsidplay2/libsidplay2.hash diff --git a/buildroot-2021.05/package/libsidplay2/libsidplay2.mk b/buildroot-2022.02.1/package/libsidplay2/libsidplay2.mk similarity index 100% rename from buildroot-2021.05/package/libsidplay2/libsidplay2.mk rename to buildroot-2022.02.1/package/libsidplay2/libsidplay2.mk diff --git a/buildroot-2022.02.1/package/libsigc/Config.in b/buildroot-2022.02.1/package/libsigc/Config.in new file mode 100644 index 00000000..428774a3 --- /dev/null +++ b/buildroot-2022.02.1/package/libsigc/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_LIBSIGC + bool "libsigc++" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + depends on BR2_INSTALL_LIBSTDCPP + help + libsigc++ implements a typesafe callback system for standard + C++. It allows you to define signals and to connect those + signals to any callback function, either global or a member + function, regardless of whether it is static or virtual. + + https://libsigcplusplus.github.io/libsigcplusplus/ + +comment "libsigc++ needs a toolchain w/ C++, gcc >= 7" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 diff --git a/buildroot-2022.02.1/package/libsigc/libsigc.hash b/buildroot-2022.02.1/package/libsigc/libsigc.hash new file mode 100644 index 00000000..97c9d0cc --- /dev/null +++ b/buildroot-2022.02.1/package/libsigc/libsigc.hash @@ -0,0 +1,5 @@ +# From http://ftp.gnome.org/pub/gnome/sources/libsigc++/3.0/libsigc++-3.0.7.sha256sum +sha256 bfbe91c0d094ea6bbc6cbd3909b7d98c6561eea8b6d9c0c25add906a6e83d733 libsigc++-3.0.7.tar.xz + +# Locally calculated +sha256 97628afebc60f026f5c2b25d7491c46a5c4ee61f693e7cfa07fbd2c03605979b COPYING diff --git a/buildroot-2022.02.1/package/libsigc/libsigc.mk b/buildroot-2022.02.1/package/libsigc/libsigc.mk new file mode 100644 index 00000000..18be25fd --- /dev/null +++ b/buildroot-2022.02.1/package/libsigc/libsigc.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# libsigc +# +################################################################################ + +LIBSIGC_VERSION_MAJOR = 3.0 +LIBSIGC_VERSION = $(LIBSIGC_VERSION_MAJOR).7 +LIBSIGC_SOURCE = libsigc++-$(LIBSIGC_VERSION).tar.xz +LIBSIGC_SITE = http://ftp.gnome.org/pub/GNOME/sources/libsigc++/$(LIBSIGC_VERSION_MAJOR) +LIBSIGC_INSTALL_STAGING = YES +LIBSIGC_LICENSE = LGPL-3.0+ +LIBSIGC_LICENSE_FILES = COPYING +LIBSIGC_CONF_OPTS = \ + -Dbuild-examples=false \ + -Dvalidation=false + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/libsigrok/0001-Support-glibmm-2.68.patch b/buildroot-2022.02.1/package/libsigrok/0001-Support-glibmm-2.68.patch new file mode 100644 index 00000000..14d14ec4 --- /dev/null +++ b/buildroot-2022.02.1/package/libsigrok/0001-Support-glibmm-2.68.patch @@ -0,0 +1,129 @@ +From 31ad5ec50ec0c9cc7a92f009925c5f58aecdcce1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 30 Dec 2021 14:58:11 +0100 +Subject: [PATCH] Support glibmm 2.68 + +Support glibmm 2.68 which has been released one year ago and is the +first stable release in the glibmm-2.68 ABI series: +https://gitlab.gnome.org/GNOME/glibmm/-/blob/2.68.2/NEWS + +As TimeVal is not available with glibmm 2.68, use DateTime which is +available since version 2.26 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://sourceforge.net/p/sigrok/mailman/message/37410614] +--- + README | 2 +- + bindings/cxx/classes.cpp | 13 ++++++------- + bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp | 4 ++-- + bindings/cxx/libsigrokcxx.pc.in | 2 +- + configure.ac | 7 ++++++- + 5 files changed, 16 insertions(+), 12 deletions(-) + +diff --git a/README b/README +index 768c8ca2..2515f059 100644 +--- a/README ++++ b/README +@@ -63,7 +63,7 @@ Requirements for the C++ bindings: + - doxygen (required for building the bindings, not only for C++ API docs!) + - graphviz (optional, only needed for the C++ API docs) + - Python (2 or 3) executable (development files are not needed) +- - glibmm-2.4 (>= 2.32.0) ++ - glibmm-2.4 (>= 2.32.0) or glibmm-2.68 (>= 2.68.0) + + Requirements for the Python bindings: + +diff --git a/bindings/cxx/classes.cpp b/bindings/cxx/classes.cpp +index f9f79273..de600d03 100644 +--- a/bindings/cxx/classes.cpp ++++ b/bindings/cxx/classes.cpp +@@ -287,12 +287,12 @@ shared_ptr Context::create_user_device( + default_delete{}}; + } + +-shared_ptr Context::create_header_packet(Glib::TimeVal start_time) ++shared_ptr Context::create_header_packet(Glib::DateTime start_time) + { + auto header = g_new(struct sr_datafeed_header, 1); + header->feed_version = 1; +- header->starttime.tv_sec = start_time.tv_sec; +- header->starttime.tv_usec = start_time.tv_usec; ++ header->starttime.tv_sec = start_time.to_unix(); ++ header->starttime.tv_usec = start_time.get_microsecond(); + auto packet = g_new(struct sr_datafeed_packet, 1); + packet->type = SR_DF_HEADER; + packet->payload = header; +@@ -1154,11 +1154,10 @@ int Header::feed_version() const + return _structure->feed_version; + } + +-Glib::TimeVal Header::start_time() const ++Glib::DateTime Header::start_time() const + { +- return Glib::TimeVal( +- _structure->starttime.tv_sec, +- _structure->starttime.tv_usec); ++ Glib::DateTime time = Glib::DateTime::create_now_utc(_structure->starttime.tv_sec); ++ return time.add_seconds(_structure->starttime.tv_usec / 1.0e6); + } + + Meta::Meta(const struct sr_datafeed_meta *structure) : +diff --git a/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp b/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp +index 97e54e17..d090c379 100644 +--- a/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp ++++ b/bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp +@@ -274,7 +274,7 @@ public: + std::shared_ptr create_user_device( + std::string vendor, std::string model, std::string version); + /** Create a header packet. */ +- std::shared_ptr create_header_packet(Glib::TimeVal start_time); ++ std::shared_ptr create_header_packet(Glib::DateTime start_time); + /** Create a meta packet. */ + std::shared_ptr create_meta_packet( + std::map config); +@@ -711,7 +711,7 @@ public: + /* Feed version number. */ + int feed_version() const; + /* Start time of this session. */ +- Glib::TimeVal start_time() const; ++ Glib::DateTime start_time() const; + private: + explicit Header(const struct sr_datafeed_header *structure); + ~Header(); +diff --git a/bindings/cxx/libsigrokcxx.pc.in b/bindings/cxx/libsigrokcxx.pc.in +index 10a92f2d..7d2723fc 100644 +--- a/bindings/cxx/libsigrokcxx.pc.in ++++ b/bindings/cxx/libsigrokcxx.pc.in +@@ -6,7 +6,7 @@ includedir=@includedir@ + Name: libsigrokcxx + Description: C++ bindings for libsigrok + URL: http://www.sigrok.org +-Requires: libsigrok glibmm-2.4 ++Requires: libsigrok @SR_GLIBMM_REQUIRES@ + Version: @SR_PACKAGE_VERSION@ + Libs: -L${libdir} -lsigrokcxx + Libs.private: -lm +diff --git a/configure.ac b/configure.ac +index 424b0002..d70575b7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -407,9 +407,14 @@ AS_IF([test "x$HAVE_CXX11" != x1], + [SR_APPEND([sr_cxx_missing], [', '], ['C++11'])]) + + # The C++ bindings need glibmm. +-SR_PKG_CHECK([glibmm], [SR_PKGLIBS_CXX], [glibmm-2.4 >= 2.32.0]) ++SR_GLIBMM_REQUIRES=glibmm-2.4 ++SR_PKG_CHECK([glibmm], [SR_PKGLIBS_CXX], [$SR_GLIBMM_REQUIRES >= 2.32.0]) ++AS_IF([test "x$sr_have_glibmm" != xyes], ++ [SR_GLIBMM_REQUIRES=glibmm-2.68 ++ SR_PKG_CHECK([glibmm], [SR_PKGLIBS_CXX], [$SR_GLIBMM_REQUIRES >= 2.68.0])]) + AS_IF([test "x$sr_have_glibmm" != xyes], + [SR_APPEND([sr_cxx_missing], [', '], [glibmm])]) ++AC_SUBST(SR_GLIBMM_REQUIRES) + + # The C++ bindings use Doxygen to parse libsigrok symbols. + AC_CHECK_PROG([HAVE_DOXYGEN], [doxygen], [yes], [no]) +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/libsigrok/Config.in b/buildroot-2022.02.1/package/libsigrok/Config.in new file mode 100644 index 00000000..151c4322 --- /dev/null +++ b/buildroot-2022.02.1/package/libsigrok/Config.in @@ -0,0 +1,46 @@ +config BR2_PACKAGE_LIBSIGROK + bool "libsigrok" + # libglib2 + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU + depends on BR2_ENABLE_LOCALE + depends on !BR2_STATIC_LIBS # libzip + # std=c11 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 + select BR2_PACKAGE_LIBZIP + select BR2_PACKAGE_LIBGLIB2 + help + Libsigrok is a shared library written in C, which provides + the basic hardware access drivers for logic analyzers and + other supported devices, as well as input/output file format + support. + + This library is a part of the sigrok software suite. + + http://sigrok.org/wiki/Libsigrok + +if BR2_PACKAGE_LIBSIGROK + +config BR2_PACKAGE_LIBSIGROKCXX + bool "build C++ bindings" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-doxygen + select BR2_PACKAGE_GLIBMM + select BR2_PACKAGE_HOST_DOXYGEN + help + Build libsigrok C++ bindings as well. + +comment "C++ bindings need a toolchain w/ C++, gcc >= 7, host gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 + +endif + +comment "libsigrok needs a toolchain w/ wchar, locale, threads, dynamic library, gcc >= 4.7" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || BR2_STATIC_LIBS \ + || !BR2_ENABLE_LOCALE diff --git a/buildroot-2021.05/package/libsigrok/libsigrok.hash b/buildroot-2022.02.1/package/libsigrok/libsigrok.hash similarity index 100% rename from buildroot-2021.05/package/libsigrok/libsigrok.hash rename to buildroot-2022.02.1/package/libsigrok/libsigrok.hash diff --git a/buildroot-2022.02.1/package/libsigrok/libsigrok.mk b/buildroot-2022.02.1/package/libsigrok/libsigrok.mk new file mode 100644 index 00000000..639ee4dc --- /dev/null +++ b/buildroot-2022.02.1/package/libsigrok/libsigrok.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# libsigrok +# +################################################################################ + +LIBSIGROK_VERSION = 0.5.2 +LIBSIGROK_SITE = http://sigrok.org/download/source/libsigrok +LIBSIGROK_LICENSE = GPL-3.0+ +LIBSIGROK_LICENSE_FILES = COPYING +LIBSIGROK_INSTALL_STAGING = YES +LIBSIGROK_DEPENDENCIES = libglib2 libzip host-pkgconf +LIBSIGROK_CONF_OPTS = --disable-java --disable-python +# We're patching configure.ac +LIBSIGROK_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) +LIBSIGROK_CONF_OPTS += --with-libbluez +LIBSIGROK_DEPENDENCIES += bluez5_utils +else +LIBSIGROK_CONF_OPTS += --without-libbluez +endif + +ifeq ($(BR2_PACKAGE_HIDAPI),y) +LIBSIGROK_CONF_OPTS += --with-libhidapi +LIBSIGROK_DEPENDENCIES += hidapi +else +LIBSIGROK_CONF_OPTS += --without-libhidapi +endif + +ifeq ($(BR2_PACKAGE_LIBSERIALPORT),y) +LIBSIGROK_CONF_OPTS += --with-libserialport +LIBSIGROK_DEPENDENCIES += libserialport +else +LIBSIGROK_CONF_OPTS += --without-libserialport +endif + +ifeq ($(BR2_PACKAGE_LIBFTDI1),y) +LIBSIGROK_CONF_OPTS += --with-libftdi +LIBSIGROK_DEPENDENCIES += libftdi1 +else +LIBSIGROK_CONF_OPTS += --without-libftdi +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +LIBSIGROK_CONF_OPTS += --with-libusb +LIBSIGROK_DEPENDENCIES += libusb +else +LIBSIGROK_CONF_OPTS += --without-libusb +endif + +ifeq ($(BR2_PACKAGE_GLIBMM),y) +LIBSIGROK_DEPENDENCIES += glibmm +endif + +ifeq ($(BR2_PACKAGE_LIBSIGROKCXX),y) +LIBSIGROK_CONF_ENV = CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++17" +LIBSIGROK_CONF_OPTS += --enable-cxx +# host-doxygen is used by C++ bindings to parse libsigrok symbols +LIBSIGROK_DEPENDENCIES += \ + glibmm \ + host-doxygen \ + host-python3 +else +LIBSIGROK_CONF_OPTS += --disable-cxx +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsigrokdecode/0001-configure-ac-Add-support-for-Python-3-9.patch b/buildroot-2022.02.1/package/libsigrokdecode/0001-configure-ac-Add-support-for-Python-3-9.patch similarity index 100% rename from buildroot-2021.05/package/libsigrokdecode/0001-configure-ac-Add-support-for-Python-3-9.patch rename to buildroot-2022.02.1/package/libsigrokdecode/0001-configure-ac-Add-support-for-Python-3-9.patch diff --git a/buildroot-2022.02.1/package/libsigrokdecode/0002-configure-Add-python-3-10-support.patch b/buildroot-2022.02.1/package/libsigrokdecode/0002-configure-Add-python-3-10-support.patch new file mode 100644 index 00000000..53acb659 --- /dev/null +++ b/buildroot-2022.02.1/package/libsigrokdecode/0002-configure-Add-python-3-10-support.patch @@ -0,0 +1,28 @@ +From c4c10b89396fe21a622b8c38dd5815a496b007bf Mon Sep 17 00:00:00 2001 +From: Soeren Apel +Date: Mon, 20 Dec 2021 19:36:39 +0100 +Subject: [PATCH] configure: Add python 3.10 support + +[Retrieved from: +https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commitdiff;h=c4c10b89396fe21a622b8c38dd5815a496b007bf +Signed-off-by: Fabrice Fontaine +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 2917cb3..b8841f8 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -100,7 +100,7 @@ SR_PKG_CHECK_SUMMARY([srd_pkglibs_summary]) + # first, since usually only that variant will add "-lpython3.8". + # https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build + SR_PKG_CHECK([python3], [SRD_PKGLIBS], +- [python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2]) ++ [python-3.10-embed], [python-3.9-embed], [python-3.8-embed], [python-3.8 >= 3.8], [python-3.7 >= 3.7], [python-3.6 >= 3.6], [python-3.5 >= 3.5], [python-3.4 >= 3.4], [python-3.3 >= 3.3], [python-3.2 >= 3.2], [python3 >= 3.2]) + AS_IF([test "x$sr_have_python3" = xno], + [AC_MSG_ERROR([Cannot find Python 3 development headers.])]) + +-- +2.24.0.rc2 + diff --git a/buildroot-2022.02.1/package/libsigrokdecode/Config.in b/buildroot-2022.02.1/package/libsigrokdecode/Config.in new file mode 100644 index 00000000..b58c8a2a --- /dev/null +++ b/buildroot-2022.02.1/package/libsigrokdecode/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_LIBSIGROKDECODE + bool "libsigrokdecode" + depends on BR2_USE_WCHAR # libglib2/python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2/python3 + depends on BR2_USE_MMU # libglib2/python3 + depends on !BR2_STATIC_LIBS # python3 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PYTHON3 + help + Libsigrokdecode is a shared library written in C, which + provides (streaming) protocol decoding functionality. Say + yes here if you want to add this functionality to your + buildroot-generated sigrok suite. + + This library is a part of the sigrok software suite. + + http://sigrok.org/wiki/Libsigrokdecode + +comment "libsigrokdecode needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libsigrokdecode/libsigrokdecode.hash b/buildroot-2022.02.1/package/libsigrokdecode/libsigrokdecode.hash similarity index 100% rename from buildroot-2021.05/package/libsigrokdecode/libsigrokdecode.hash rename to buildroot-2022.02.1/package/libsigrokdecode/libsigrokdecode.hash diff --git a/buildroot-2021.05/package/libsigrokdecode/libsigrokdecode.mk b/buildroot-2022.02.1/package/libsigrokdecode/libsigrokdecode.mk similarity index 100% rename from buildroot-2021.05/package/libsigrokdecode/libsigrokdecode.mk rename to buildroot-2022.02.1/package/libsigrokdecode/libsigrokdecode.mk diff --git a/buildroot-2021.05/package/libsigsegv/Config.in b/buildroot-2022.02.1/package/libsigsegv/Config.in similarity index 100% rename from buildroot-2021.05/package/libsigsegv/Config.in rename to buildroot-2022.02.1/package/libsigsegv/Config.in diff --git a/buildroot-2021.05/package/libsigsegv/libsigsegv.hash b/buildroot-2022.02.1/package/libsigsegv/libsigsegv.hash similarity index 100% rename from buildroot-2021.05/package/libsigsegv/libsigsegv.hash rename to buildroot-2022.02.1/package/libsigsegv/libsigsegv.hash diff --git a/buildroot-2021.05/package/libsigsegv/libsigsegv.mk b/buildroot-2022.02.1/package/libsigsegv/libsigsegv.mk similarity index 100% rename from buildroot-2021.05/package/libsigsegv/libsigsegv.mk rename to buildroot-2022.02.1/package/libsigsegv/libsigsegv.mk diff --git a/buildroot-2021.05/package/libsilk/Config.in b/buildroot-2022.02.1/package/libsilk/Config.in similarity index 100% rename from buildroot-2021.05/package/libsilk/Config.in rename to buildroot-2022.02.1/package/libsilk/Config.in diff --git a/buildroot-2021.05/package/libsilk/libsilk.hash b/buildroot-2022.02.1/package/libsilk/libsilk.hash similarity index 100% rename from buildroot-2021.05/package/libsilk/libsilk.hash rename to buildroot-2022.02.1/package/libsilk/libsilk.hash diff --git a/buildroot-2021.05/package/libsilk/libsilk.mk b/buildroot-2022.02.1/package/libsilk/libsilk.mk similarity index 100% rename from buildroot-2021.05/package/libsilk/libsilk.mk rename to buildroot-2022.02.1/package/libsilk/libsilk.mk diff --git a/buildroot-2022.02.1/package/libsndfile/0001-ms_adpcm-Fix-and-extend-size-checks.patch b/buildroot-2022.02.1/package/libsndfile/0001-ms_adpcm-Fix-and-extend-size-checks.patch new file mode 100644 index 00000000..edacbda0 --- /dev/null +++ b/buildroot-2022.02.1/package/libsndfile/0001-ms_adpcm-Fix-and-extend-size-checks.patch @@ -0,0 +1,40 @@ +From deb669ee8be55a94565f6f8a6b60890c2e7c6f32 Mon Sep 17 00:00:00 2001 +From: bobsayshilol +Date: Thu, 18 Feb 2021 21:52:09 +0000 +Subject: [PATCH] ms_adpcm: Fix and extend size checks + +'blockalign' is the size of a block, and each block contains 7 samples +per channel as part of the preamble, so check against 'samplesperblock' +rather than 'blockalign'. Also add an additional check that the block +is big enough to hold the samples it claims to hold. + +https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26803 +Signed-off-by: Peter Korsgaard +--- + src/ms_adpcm.c | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +diff --git a/src/ms_adpcm.c b/src/ms_adpcm.c +index 5e8f1a31..a21cb994 100644 +--- a/src/ms_adpcm.c ++++ b/src/ms_adpcm.c +@@ -128,8 +128,14 @@ wavlike_msadpcm_init (SF_PRIVATE *psf, int blockalign, int samplesperblock) + if (psf->file.mode == SFM_WRITE) + samplesperblock = 2 + 2 * (blockalign - 7 * psf->sf.channels) / psf->sf.channels ; + +- if (blockalign < 7 * psf->sf.channels) +- { psf_log_printf (psf, "*** Error blockalign (%d) should be > %d.\n", blockalign, 7 * psf->sf.channels) ; ++ /* There's 7 samples per channel in the preamble of each block */ ++ if (samplesperblock < 7 * psf->sf.channels) ++ { psf_log_printf (psf, "*** Error samplesperblock (%d) should be >= %d.\n", samplesperblock, 7 * psf->sf.channels) ; ++ return SFE_INTERNAL ; ++ } ; ++ ++ if (2 * blockalign < samplesperblock * psf->sf.channels) ++ { psf_log_printf (psf, "*** Error blockalign (%d) should be >= %d.\n", blockalign, samplesperblock * psf->sf.channels / 2) ; + return SFE_INTERNAL ; + } ; + +-- +2.20.1 + diff --git a/buildroot-2021.05/package/libsndfile/Config.in b/buildroot-2022.02.1/package/libsndfile/Config.in similarity index 100% rename from buildroot-2021.05/package/libsndfile/Config.in rename to buildroot-2022.02.1/package/libsndfile/Config.in diff --git a/buildroot-2022.02.1/package/libsndfile/libsndfile.hash b/buildroot-2022.02.1/package/libsndfile/libsndfile.hash new file mode 100644 index 00000000..14dfe823 --- /dev/null +++ b/buildroot-2022.02.1/package/libsndfile/libsndfile.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 a8cfb1c09ea6e90eff4ca87322d4168cdbe5035cb48717b40bf77e751cc02163 libsndfile-1.0.31.tar.bz2 +# Locally calculated +sha256 ad01ea5cd2755f6048383c8d54c88459cd6fcb17757c5c8892f8c5ea060f6140 COPYING diff --git a/buildroot-2022.02.1/package/libsndfile/libsndfile.mk b/buildroot-2022.02.1/package/libsndfile/libsndfile.mk new file mode 100644 index 00000000..ed9e8e3d --- /dev/null +++ b/buildroot-2022.02.1/package/libsndfile/libsndfile.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# libsndfile +# +################################################################################ + +LIBSNDFILE_VERSION = 1.0.31 +LIBSNDFILE_SOURCE = libsndfile-$(LIBSNDFILE_VERSION).tar.bz2 +LIBSNDFILE_SITE = https://github.com/libsndfile/libsndfile/releases/download/$(LIBSNDFILE_VERSION) +LIBSNDFILE_INSTALL_STAGING = YES +LIBSNDFILE_LICENSE = LGPL-2.1+ +LIBSNDFILE_LICENSE_FILES = COPYING +LIBSNDFILE_CPE_ID_VENDOR = libsndfile_project + +# 0001-ms_adpcm-Fix-and-extend-size-checks.patch +LIBSNDFILE_IGNORE_CVES += CVE-2021-3246 + +# disputed, https://github.com/erikd/libsndfile/issues/398 +LIBSNDFILE_IGNORE_CVES += CVE-2018-13419 + +LIBSNDFILE_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' +LIBSNDFILE_CONF_OPTS = \ + --disable-sqlite \ + --disable-alsa \ + --disable-full-suite + +ifeq ($(BR2_PACKAGE_FLAC)$(BR2_PACKAGE_LIBVORBIS)$(BR2_PACKAGE_OPUS),yyy) +LIBSNDFILE_DEPENDENCIES += flac host-pkgconf libvorbis opus +LIBSNDFILE_CONF_OPTS += --enable-external-libs +else +LIBSNDFILE_CONF_OPTS += --disable-external-libs +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsoc/Config.in b/buildroot-2022.02.1/package/libsoc/Config.in similarity index 100% rename from buildroot-2021.05/package/libsoc/Config.in rename to buildroot-2022.02.1/package/libsoc/Config.in diff --git a/buildroot-2021.05/package/libsoc/libsoc.hash b/buildroot-2022.02.1/package/libsoc/libsoc.hash similarity index 100% rename from buildroot-2021.05/package/libsoc/libsoc.hash rename to buildroot-2022.02.1/package/libsoc/libsoc.hash diff --git a/buildroot-2022.02.1/package/libsoc/libsoc.mk b/buildroot-2022.02.1/package/libsoc/libsoc.mk new file mode 100644 index 00000000..95753b8b --- /dev/null +++ b/buildroot-2022.02.1/package/libsoc/libsoc.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# libsoc +# +################################################################################ + +LIBSOC_VERSION = 0.8.2 +LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION)) +LIBSOC_LICENSE = LGPL-2.1 +LIBSOC_LICENSE_FILES = LICENCE +LIBSOC_AUTORECONF = YES +LIBSOC_INSTALL_STAGING = YES +LIBSOC_DEPENDENCIES = host-pkgconf + +# Install Python 3 bindings +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBSOC_DEPENDENCIES += python3 +LIBSOC_CONF_OPTS += --enable-python=3 +else +LIBSOC_CONF_OPTS += --disable-python +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsocketcan/Config.in b/buildroot-2022.02.1/package/libsocketcan/Config.in similarity index 100% rename from buildroot-2021.05/package/libsocketcan/Config.in rename to buildroot-2022.02.1/package/libsocketcan/Config.in diff --git a/buildroot-2021.05/package/libsocketcan/libsocketcan.hash b/buildroot-2022.02.1/package/libsocketcan/libsocketcan.hash similarity index 100% rename from buildroot-2021.05/package/libsocketcan/libsocketcan.hash rename to buildroot-2022.02.1/package/libsocketcan/libsocketcan.hash diff --git a/buildroot-2021.05/package/libsocketcan/libsocketcan.mk b/buildroot-2022.02.1/package/libsocketcan/libsocketcan.mk similarity index 100% rename from buildroot-2021.05/package/libsocketcan/libsocketcan.mk rename to buildroot-2022.02.1/package/libsocketcan/libsocketcan.mk diff --git a/buildroot-2021.05/package/libsodium/Config.in b/buildroot-2022.02.1/package/libsodium/Config.in similarity index 100% rename from buildroot-2021.05/package/libsodium/Config.in rename to buildroot-2022.02.1/package/libsodium/Config.in diff --git a/buildroot-2021.05/package/libsodium/libsodium.hash b/buildroot-2022.02.1/package/libsodium/libsodium.hash similarity index 100% rename from buildroot-2021.05/package/libsodium/libsodium.hash rename to buildroot-2022.02.1/package/libsodium/libsodium.hash diff --git a/buildroot-2021.05/package/libsodium/libsodium.mk b/buildroot-2022.02.1/package/libsodium/libsodium.mk similarity index 100% rename from buildroot-2021.05/package/libsodium/libsodium.mk rename to buildroot-2022.02.1/package/libsodium/libsodium.mk diff --git a/buildroot-2021.05/package/libsoundtouch/Config.in b/buildroot-2022.02.1/package/libsoundtouch/Config.in similarity index 100% rename from buildroot-2021.05/package/libsoundtouch/Config.in rename to buildroot-2022.02.1/package/libsoundtouch/Config.in diff --git a/buildroot-2022.02.1/package/libsoundtouch/libsoundtouch.hash b/buildroot-2022.02.1/package/libsoundtouch/libsoundtouch.hash new file mode 100644 index 00000000..9de72521 --- /dev/null +++ b/buildroot-2022.02.1/package/libsoundtouch/libsoundtouch.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 6900996607258496ce126924a19fe9d598af9d892cf3f33d1e4daaa9b42ae0b1 soundtouch-2.3.1.tar.gz +sha256 84c6d82dc7de80f5b73f231edfd3ddc5b53513908117452bfa37ea36bb4b7e0a COPYING.TXT diff --git a/buildroot-2022.02.1/package/libsoundtouch/libsoundtouch.mk b/buildroot-2022.02.1/package/libsoundtouch/libsoundtouch.mk new file mode 100644 index 00000000..c372c32a --- /dev/null +++ b/buildroot-2022.02.1/package/libsoundtouch/libsoundtouch.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libsoundtouch +# +################################################################################ + +LIBSOUNDTOUCH_VERSION = 2.3.1 +LIBSOUNDTOUCH_SOURCE = soundtouch-$(LIBSOUNDTOUCH_VERSION).tar.gz +LIBSOUNDTOUCH_SITE = https://www.surina.net/soundtouch +LIBSOUNDTOUCH_LICENSE = LGPL-2.1+ +LIBSOUNDTOUCH_LICENSE_FILES = COPYING.TXT +LIBSOUNDTOUCH_AUTORECONF = YES +LIBSOUNDTOUCH_INSTALL_STAGING = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch b/buildroot-2022.02.1/package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch new file mode 100644 index 00000000..f2e8f770 --- /dev/null +++ b/buildroot-2022.02.1/package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch @@ -0,0 +1,40 @@ +From 5c3d431bdb094c59997f2a23e31e83f815ab667c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 1 Jul 2021 22:09:23 +0200 +Subject: [PATCH] meson.build: set c_std to gnu99 + +Set c_std to gnu99 to avoid the following build failure with gcc 4.8: + +In file included from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/resolv.h:65:0, + from /tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/glib-2.0/gio/gnetworking.h:40, + from ../libsoup/soup-address.c:14: +/tmp/instance-0/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/arpa/nameser.h:115:2: error: unknown type name 'u_char' + const u_char *_msg, *_eom; + ^ + +Fixes: + - http://autobuild.buildroot.org/results/56b9cb987e25b99d6fed16c537552f47c3376f21 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/241] +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 4dfd8c15..a5ebc63a 100644 +--- a/meson.build ++++ b/meson.build +@@ -2,6 +2,6 @@ project('libsoup', 'c', + version: '2.74.0', + meson_version : '>= 0.50', + license : 'LGPL2', +- default_options : 'c_std=c99') ++ default_options : 'c_std=gnu99') + + gnome = import('gnome') + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/libsoup/Config.in b/buildroot-2022.02.1/package/libsoup/Config.in new file mode 100644 index 00000000..02e8e8b5 --- /dev/null +++ b/buildroot-2022.02.1/package/libsoup/Config.in @@ -0,0 +1,39 @@ +config BR2_PACKAGE_LIBSOUP + bool "libsoup" + depends on BR2_USE_WCHAR # glib2, gnutls and libpsl + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBPSL + select BR2_PACKAGE_SQLITE + help + libsoup is an HTTP client/server library. It uses GObject + and the GLib main loop, to integrate well with GNOME + applications. + + https://wiki.gnome.org/Projects/libsoup + +if BR2_PACKAGE_LIBSOUP + +config BR2_PACKAGE_LIBSOUP_GNOME + bool "libsoup-gnome" + help + Build libsoup-gnome library. + +config BR2_PACKAGE_LIBSOUP_SSL + bool "https support" + depends on !BR2_STATIC_LIBS # glib-networking, gnutls + select BR2_PACKAGE_GLIB_NETWORKING # runtime + select BR2_PACKAGE_GNUTLS # runtime + help + Enable HTTPS (SSL) support. + +comment "libsoup https support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +endif + +comment "libsoup needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libsoup/libsoup.hash b/buildroot-2022.02.1/package/libsoup/libsoup.hash new file mode 100644 index 00000000..95c1c26e --- /dev/null +++ b/buildroot-2022.02.1/package/libsoup/libsoup.hash @@ -0,0 +1,4 @@ +# From https://ftp.gnome.org/pub/GNOME/sources/libsoup/2.74/libsoup-2.74.0.sha256sum +sha256 33b1d4e0d639456c675c227877e94a8078d731233e2d57689c11abcef7d3c48e libsoup-2.74.0.tar.xz +# Locally calculated +sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c COPYING diff --git a/buildroot-2022.02.1/package/libsoup/libsoup.mk b/buildroot-2022.02.1/package/libsoup/libsoup.mk new file mode 100644 index 00000000..1a267149 --- /dev/null +++ b/buildroot-2022.02.1/package/libsoup/libsoup.mk @@ -0,0 +1,64 @@ +################################################################################ +# +# libsoup +# +################################################################################ + +LIBSOUP_VERSION_MAJOR = 2.74 +LIBSOUP_VERSION = $(LIBSOUP_VERSION_MAJOR).0 +LIBSOUP_SOURCE = libsoup-$(LIBSOUP_VERSION).tar.xz +LIBSOUP_SITE = http://ftp.gnome.org/pub/gnome/sources/libsoup/$(LIBSOUP_VERSION_MAJOR) +LIBSOUP_LICENSE = LGPL-2.0+ +LIBSOUP_LICENSE_FILES = COPYING +LIBSOUP_CPE_ID_VENDOR = gnome +LIBSOUP_INSTALL_STAGING = YES +LIBSOUP_DEPENDENCIES = \ + host-intltool \ + host-libglib2 \ + host-pkgconf \ + libglib2 \ + libpsl \ + libxml2 \ + sqlite \ + $(TARGET_NLS_DEPENDENCIES) + +LIBSOUP_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +LIBSOUP_CONF_OPTS = \ + -Dgtk_doc=false \ + -Dntlm=disabled \ + -Dsysprof=disabled \ + -Dtests=false \ + -Dtls_check=false \ + -Dvapi=disabled + +ifeq ($(BR2_PACKAGE_BROTLI),y) +LIBSOUP_CONF_OPTS += -Dbrotli=enabled +LIBSOUP_DEPENDENCIES += brotli +else +LIBSOUP_CONF_OPTS += -Dbrotli=disabled +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +LIBSOUP_CONF_OPTS += -Dintrospection=enabled +LIBSOUP_DEPENDENCIES += gobject-introspection +else +LIBSOUP_CONF_OPTS += -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBKRB5),y) +LIBSOUP_CONF_OPTS += \ + -Dgssapi=enabled \ + -Dkrb5_config=$(STAGING_DIR)/usr/bin/krb5-config +LIBSOUP_DEPENDENCIES += libkrb5 +else +LIBSOUP_CONF_OPTS += -Dgssapi=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBSOUP_GNOME),y) +LIBSOUP_CONF_OPTS += -Dgnome=true +else +LIBSOUP_CONF_OPTS += -Dgnome=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libsoxr/0001-Add-Libs.private-for-static-linking.patch b/buildroot-2022.02.1/package/libsoxr/0001-Add-Libs.private-for-static-linking.patch similarity index 100% rename from buildroot-2021.05/package/libsoxr/0001-Add-Libs.private-for-static-linking.patch rename to buildroot-2022.02.1/package/libsoxr/0001-Add-Libs.private-for-static-linking.patch diff --git a/buildroot-2021.05/package/libsoxr/Config.in b/buildroot-2022.02.1/package/libsoxr/Config.in similarity index 100% rename from buildroot-2021.05/package/libsoxr/Config.in rename to buildroot-2022.02.1/package/libsoxr/Config.in diff --git a/buildroot-2021.05/package/libsoxr/libsoxr.hash b/buildroot-2022.02.1/package/libsoxr/libsoxr.hash similarity index 100% rename from buildroot-2021.05/package/libsoxr/libsoxr.hash rename to buildroot-2022.02.1/package/libsoxr/libsoxr.hash diff --git a/buildroot-2021.05/package/libsoxr/libsoxr.mk b/buildroot-2022.02.1/package/libsoxr/libsoxr.mk similarity index 100% rename from buildroot-2021.05/package/libsoxr/libsoxr.mk rename to buildroot-2022.02.1/package/libsoxr/libsoxr.mk diff --git a/buildroot-2021.05/package/libspatialindex/0001-allow-building-static-libs.patch b/buildroot-2022.02.1/package/libspatialindex/0001-allow-building-static-libs.patch similarity index 100% rename from buildroot-2021.05/package/libspatialindex/0001-allow-building-static-libs.patch rename to buildroot-2022.02.1/package/libspatialindex/0001-allow-building-static-libs.patch diff --git a/buildroot-2021.05/package/libspatialindex/0002-CMakeLists.txt-fix-CMAKE_BUILD_TYPE.patch b/buildroot-2022.02.1/package/libspatialindex/0002-CMakeLists.txt-fix-CMAKE_BUILD_TYPE.patch similarity index 100% rename from buildroot-2021.05/package/libspatialindex/0002-CMakeLists.txt-fix-CMAKE_BUILD_TYPE.patch rename to buildroot-2022.02.1/package/libspatialindex/0002-CMakeLists.txt-fix-CMAKE_BUILD_TYPE.patch diff --git a/buildroot-2021.05/package/libspatialindex/Config.in b/buildroot-2022.02.1/package/libspatialindex/Config.in similarity index 100% rename from buildroot-2021.05/package/libspatialindex/Config.in rename to buildroot-2022.02.1/package/libspatialindex/Config.in diff --git a/buildroot-2021.05/package/libspatialindex/libspatialindex.hash b/buildroot-2022.02.1/package/libspatialindex/libspatialindex.hash similarity index 100% rename from buildroot-2021.05/package/libspatialindex/libspatialindex.hash rename to buildroot-2022.02.1/package/libspatialindex/libspatialindex.hash diff --git a/buildroot-2021.05/package/libspatialindex/libspatialindex.mk b/buildroot-2022.02.1/package/libspatialindex/libspatialindex.mk similarity index 100% rename from buildroot-2021.05/package/libspatialindex/libspatialindex.mk rename to buildroot-2022.02.1/package/libspatialindex/libspatialindex.mk diff --git a/buildroot-2021.05/package/libsquish/0001-Makefile-add-f-option-for-ln-to-remove-existing-dest.patch b/buildroot-2022.02.1/package/libsquish/0001-Makefile-add-f-option-for-ln-to-remove-existing-dest.patch similarity index 100% rename from buildroot-2021.05/package/libsquish/0001-Makefile-add-f-option-for-ln-to-remove-existing-dest.patch rename to buildroot-2022.02.1/package/libsquish/0001-Makefile-add-f-option-for-ln-to-remove-existing-dest.patch diff --git a/buildroot-2021.05/package/libsquish/Config.in b/buildroot-2022.02.1/package/libsquish/Config.in similarity index 100% rename from buildroot-2021.05/package/libsquish/Config.in rename to buildroot-2022.02.1/package/libsquish/Config.in diff --git a/buildroot-2021.05/package/libsquish/libsquish.hash b/buildroot-2022.02.1/package/libsquish/libsquish.hash similarity index 100% rename from buildroot-2021.05/package/libsquish/libsquish.hash rename to buildroot-2022.02.1/package/libsquish/libsquish.hash diff --git a/buildroot-2021.05/package/libsquish/libsquish.mk b/buildroot-2022.02.1/package/libsquish/libsquish.mk similarity index 100% rename from buildroot-2021.05/package/libsquish/libsquish.mk rename to buildroot-2022.02.1/package/libsquish/libsquish.mk diff --git a/buildroot-2021.05/package/libsrtp/Config.in b/buildroot-2022.02.1/package/libsrtp/Config.in similarity index 100% rename from buildroot-2021.05/package/libsrtp/Config.in rename to buildroot-2022.02.1/package/libsrtp/Config.in diff --git a/buildroot-2022.02.1/package/libsrtp/libsrtp.hash b/buildroot-2022.02.1/package/libsrtp/libsrtp.hash new file mode 100644 index 00000000..8e51e68a --- /dev/null +++ b/buildroot-2022.02.1/package/libsrtp/libsrtp.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 3b1bcb14ebda572b04b9bdf07574a449c84cb924905414e4d94e62837d22b628 libsrtp-2.4.2.tar.gz +sha256 8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae LICENSE diff --git a/buildroot-2022.02.1/package/libsrtp/libsrtp.mk b/buildroot-2022.02.1/package/libsrtp/libsrtp.mk new file mode 100644 index 00000000..e7a771c6 --- /dev/null +++ b/buildroot-2022.02.1/package/libsrtp/libsrtp.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# libsrtp +# +################################################################################ + +LIBSRTP_VERSION = 2.4.2 +LIBSRTP_SITE = $(call github,cisco,libsrtp,v$(LIBSRTP_VERSION)) +LIBSRTP_INSTALL_STAGING = YES +LIBSRTP_LICENSE = BSD-3-Clause +LIBSRTP_LICENSE_FILES = LICENSE +LIBSRTP_CPE_ID_VENDOR = cisco + +ifeq ($(BR2_STATIC_LIBS),y) +LIBSRTP_MAKE_OPTS = libsrtp2.a +else ifeq ($(BR2_SHARED_LIBS),y) +LIBSRTP_MAKE_OPTS = shared_library +else +LIBSRTP_MAKE_OPTS = libsrtp2.a shared_library +endif + +LIBSRTP_DEPENDENCIES = host-pkgconf + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBSRTP_DEPENDENCIES += openssl +LIBSRTP_CONF_OPTS += --disable-nss --enable-openssl +else ifeq ($(BR2_PACKAGE_LIBNSS),y) +LIBSRTP_DEPENDENCIES += libnss +LIBSRTP_CONF_OPTS += --enable-nss --disable-openssl +else +LIBSRTP_CONF_OPTS += --disable-nss --disable-openssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libss7/Config.in b/buildroot-2022.02.1/package/libss7/Config.in new file mode 100644 index 00000000..d8bcf11c --- /dev/null +++ b/buildroot-2022.02.1/package/libss7/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_LIBSS7 + bool "libss7" + depends on BR2_USE_MMU # dahdi-tools <- perl + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_DAHDI_LINUX + select BR2_PACKAGE_DAHDI_TOOLS + help + libss7 is an open source library that encapsulates the + protocols used to communicate using Signaling System 7 + over ISDN (T1, E1). + + http://www.asterisk.org/downloads/libss7 + +comment "libss7 needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +comment "libss7 needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libss7/libss7.hash b/buildroot-2022.02.1/package/libss7/libss7.hash similarity index 100% rename from buildroot-2021.05/package/libss7/libss7.hash rename to buildroot-2022.02.1/package/libss7/libss7.hash diff --git a/buildroot-2021.05/package/libss7/libss7.mk b/buildroot-2022.02.1/package/libss7/libss7.mk similarity index 100% rename from buildroot-2021.05/package/libss7/libss7.mk rename to buildroot-2022.02.1/package/libss7/libss7.mk diff --git a/buildroot-2022.02.1/package/libssh/Config.in b/buildroot-2022.02.1/package/libssh/Config.in new file mode 100644 index 00000000..1f271a69 --- /dev/null +++ b/buildroot-2022.02.1/package/libssh/Config.in @@ -0,0 +1,46 @@ +config BR2_PACKAGE_LIBSSH + bool "libssh" + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_MBEDTLS || BR2_PACKAGE_LIBGCRYPT) + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + libssh is a multiplatform C library implementing the SSHv2 + and SSHv1 protocol on client and server side. With libssh, + you can remotely execute programs, transfer files, use a + secure and transparent tunnel for your remote applications. + + http://www.libssh.org/ + +if BR2_PACKAGE_LIBSSH + +config BR2_PACKAGE_LIBSSH_SERVER + bool "server" + help + Enable libssh server support + +choice + prompt "Crypto Backend" + help + Select crypto library to be used in libssh. + +config BR2_PACKAGE_LIBSSH_MBEDTLS + bool "mbedtls" + depends on BR2_PACKAGE_MBEDTLS + +config BR2_PACKAGE_LIBSSH_LIBGCRYPT + bool "gcrypt" + depends on BR2_PACKAGE_LIBGCRYPT + +config BR2_PACKAGE_LIBSSH_OPENSSL + bool "openssl" + depends on BR2_PACKAGE_OPENSSL + +endchoice + +endif + +comment "libssh needs a toolchain w/ dynamic library, threads" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libssh/libssh.hash b/buildroot-2022.02.1/package/libssh/libssh.hash new file mode 100644 index 00000000..4dbab113 --- /dev/null +++ b/buildroot-2022.02.1/package/libssh/libssh.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +# https://www.libssh.org/files/0.9/libssh-0.9.6.tar.xz.asc +# with key 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D +sha256 86bcf885bd9b80466fe0e05453c58b877df61afa8ba947a58c356d7f0fab829b libssh-0.9.6.tar.xz +sha256 1656186e951db1c010a8485481fa94587f7e53a26d24976bef97945ad0c4df5a COPYING diff --git a/buildroot-2022.02.1/package/libssh/libssh.mk b/buildroot-2022.02.1/package/libssh/libssh.mk new file mode 100644 index 00000000..4cadf83a --- /dev/null +++ b/buildroot-2022.02.1/package/libssh/libssh.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# libssh +# +################################################################################ + +LIBSSH_VERSION_MAJOR = 0.9 +LIBSSH_VERSION = $(LIBSSH_VERSION_MAJOR).6 +LIBSSH_SOURCE = libssh-$(LIBSSH_VERSION).tar.xz +LIBSSH_SITE = https://www.libssh.org/files/$(LIBSSH_VERSION_MAJOR) +LIBSSH_LICENSE = LGPL-2.1 +LIBSSH_LICENSE_FILES = COPYING +LIBSSH_CPE_ID_VENDOR = libssh +LIBSSH_INSTALL_STAGING = YES +LIBSSH_SUPPORTS_IN_SOURCE_BUILD = NO +LIBSSH_CONF_OPTS = \ + -DWITH_STACK_PROTECTOR=OFF \ + -DWITH_EXAMPLES=OFF + +ifeq ($(BR2_PACKAGE_LIBSSH_SERVER),y) +LIBSSH_CONF_OPTS += -DWITH_SERVER=ON +else +LIBSSH_CONF_OPTS += -DWITH_SERVER=OFF +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBSSH_CONF_OPTS += -DWITH_ZLIB=ON +LIBSSH_DEPENDENCIES += zlib +else +LIBSSH_CONF_OPTS += -DWITH_ZLIB=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBSSH_MBEDTLS),y) +LIBSSH_CONF_OPTS += -DWITH_MBEDTLS=ON +LIBSSH_DEPENDENCIES += mbedtls +else ifeq ($(BR2_PACKAGE_LIBSSH_LIBGCRYPT),y) +LIBSSH_CONF_OPTS += -DWITH_GCRYPT=ON +LIBSSH_DEPENDENCIES += libgcrypt +else ifeq ($(BR2_PACKAGE_LIBSSH_OPENSSL),y) +LIBSSH_DEPENDENCIES += openssl +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/libssh2/Config.in b/buildroot-2022.02.1/package/libssh2/Config.in new file mode 100644 index 00000000..ce2dd303 --- /dev/null +++ b/buildroot-2022.02.1/package/libssh2/Config.in @@ -0,0 +1,33 @@ +config BR2_PACKAGE_LIBSSH2 + bool "libssh2" + select BR2_PACKAGE_OPENSSL if !(BR2_PACKAGE_MBEDTLS || BR2_PACKAGE_LIBGCRYPT) + help + libssh2 is a client-side C library implementing the SSH2 + protocol as defined by Internet Drafts: SECSH-TRANS(22), + SECSH-USERAUTH(25), SECSH-CONNECTION(23), SECSH-ARCH(20), + SECSH-FILEXFER(06)*, SECSH-DHGEX(04), and SECSH-NUMBERS(10) + + http://www.libssh2.org/ + +if BR2_PACKAGE_LIBSSH2 + +choice + prompt "Crypto Backend" + help + Select crypto library to be used in libssh2. + +config BR2_PACKAGE_LIBSSH2_MBEDTLS + bool "mbedtls" + depends on BR2_PACKAGE_MBEDTLS + +config BR2_PACKAGE_LIBSSH2_LIBGCRYPT + bool "gcrypt" + depends on BR2_PACKAGE_LIBGCRYPT + +config BR2_PACKAGE_LIBSSH2_OPENSSL + bool "openssl" + depends on BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + +endchoice +endif diff --git a/buildroot-2022.02.1/package/libssh2/libssh2.hash b/buildroot-2022.02.1/package/libssh2/libssh2.hash new file mode 100644 index 00000000..7267e859 --- /dev/null +++ b/buildroot-2022.02.1/package/libssh2/libssh2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2d64e90f3ded394b91d3a2e774ca203a4179f69aebee03003e5a6fa621e41d51 libssh2-1.10.0.tar.gz +sha256 859e60d760a3446ecaf777339f1eef98c527aea40714384d24b882a83ffdd23a COPYING diff --git a/buildroot-2022.02.1/package/libssh2/libssh2.mk b/buildroot-2022.02.1/package/libssh2/libssh2.mk new file mode 100644 index 00000000..cd74784d --- /dev/null +++ b/buildroot-2022.02.1/package/libssh2/libssh2.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# libssh2 +# +################################################################################ + +LIBSSH2_VERSION = 1.10.0 +LIBSSH2_SITE = https://www.libssh2.org/download +LIBSSH2_LICENSE = BSD +LIBSSH2_LICENSE_FILES = COPYING +LIBSSH2_CPE_ID_VENDOR = libssh2 +LIBSSH2_INSTALL_STAGING = YES +LIBSSH2_CONF_OPTS = --disable-examples-build + +ifeq ($(BR2_PACKAGE_LIBSSH2_MBEDTLS),y) +LIBSSH2_DEPENDENCIES += mbedtls +LIBSSH2_CONF_OPTS += --with-libmbedcrypto-prefix=$(STAGING_DIR)/usr \ + --with-crypto=mbedtls +else ifeq ($(BR2_PACKAGE_LIBSSH2_LIBGCRYPT),y) +LIBSSH2_DEPENDENCIES += libgcrypt +LIBSSH2_CONF_OPTS += --with-libgcrypt-prefix=$(STAGING_DIR)/usr \ + --with-crypto=libgcrypt +# configure.ac forgets to link to dependent libraries of gcrypt breaking static +# linking +LIBSSH2_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/libgcrypt-config --libs`" +else ifeq ($(BR2_PACKAGE_LIBSSH2_OPENSSL),y) +LIBSSH2_DEPENDENCIES += host-pkgconf openssl +LIBSSH2_CONF_OPTS += --with-libssl-prefix=$(STAGING_DIR)/usr \ + --with-crypto=openssl +# configure.ac forgets to link to dependent libraries of openssl breaking static +# linking +LIBSSH2_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` +endif + +# Add zlib support if enabled +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBSSH2_DEPENDENCIES += zlib +LIBSSH2_CONF_OPTS += --with-libz \ + --with-libz-prefix=$(STAGING_DIR)/usr +else +LIBSSH2_CONF_OPTS += --without-libz +endif + +HOST_LIBSSH2_DEPENDENCIES += host-openssl +HOST_LIBSSH2_CONF_OPTS += --with-openssl \ + --with-libssl-prefix=$(HOST_DIR) \ + --without-libgcrypt + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/libstrophe/Config.in b/buildroot-2022.02.1/package/libstrophe/Config.in new file mode 100644 index 00000000..6ddc70b9 --- /dev/null +++ b/buildroot-2022.02.1/package/libstrophe/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LIBSTROPHE + bool "libstrophe" + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_LIBXML2 if !BR2_PACKAGE_EXPAT + help + libstrophe is a lightweight XMPP client library written in C. + It has minimal dependencies and is configurable for various + environments. It runs well on both Linux, Unix, and Windows + based platforms. + + https://github.com/strophe/libstrophe + +comment "libstrophe needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libstrophe/libstrophe.hash b/buildroot-2022.02.1/package/libstrophe/libstrophe.hash new file mode 100644 index 00000000..9551b191 --- /dev/null +++ b/buildroot-2022.02.1/package/libstrophe/libstrophe.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 feafee545403d26a44aa573d4adf327d6d07ad3f3466370634d22bbac5bd49ee libstrophe-0.11.0.tar.xz +sha256 82476f36ffd5e895a176013c0812166ba7b7d99f3d536fc7f5ed2e33e9f74a08 MIT-LICENSE.txt +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-LICENSE.txt diff --git a/buildroot-2022.02.1/package/libstrophe/libstrophe.mk b/buildroot-2022.02.1/package/libstrophe/libstrophe.mk new file mode 100644 index 00000000..04ba0a69 --- /dev/null +++ b/buildroot-2022.02.1/package/libstrophe/libstrophe.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# libstrophe +# +################################################################################ + +LIBSTROPHE_VERSION = 0.11.0 +LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz +LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION) +LIBSTROPHE_DEPENDENCIES = host-pkgconf +LIBSTROPHE_LICENSE = MIT or GPL-3.0 +LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt +LIBSTROPHE_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_EXPAT),y) +LIBSTROPHE_CONF_OPTS += --without-libxml2 +LIBSTROPHE_DEPENDENCIES += expat +else +LIBSTROPHE_CONF_OPTS += --with-libxml2 +LIBSTROPHE_DEPENDENCIES += libxml2 +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBSTROPHE_CONF_OPTS += --with-tls --without-gnutls +LIBSTROPHE_DEPENDENCIES += openssl +else +LIBSTROPHE_CONF_OPTS += --with-gnutls --without-tls +LIBSTROPHE_DEPENDENCIES += gnutls +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libsvg-cairo/Config.in b/buildroot-2022.02.1/package/libsvg-cairo/Config.in similarity index 100% rename from buildroot-2021.05/package/libsvg-cairo/Config.in rename to buildroot-2022.02.1/package/libsvg-cairo/Config.in diff --git a/buildroot-2021.05/package/libsvg-cairo/libsvg-cairo.hash b/buildroot-2022.02.1/package/libsvg-cairo/libsvg-cairo.hash similarity index 100% rename from buildroot-2021.05/package/libsvg-cairo/libsvg-cairo.hash rename to buildroot-2022.02.1/package/libsvg-cairo/libsvg-cairo.hash diff --git a/buildroot-2021.05/package/libsvg-cairo/libsvg-cairo.mk b/buildroot-2022.02.1/package/libsvg-cairo/libsvg-cairo.mk similarity index 100% rename from buildroot-2021.05/package/libsvg-cairo/libsvg-cairo.mk rename to buildroot-2022.02.1/package/libsvg-cairo/libsvg-cairo.mk diff --git a/buildroot-2021.05/package/libsvg/0001-fix-expat-static-declaration.patch b/buildroot-2022.02.1/package/libsvg/0001-fix-expat-static-declaration.patch similarity index 100% rename from buildroot-2021.05/package/libsvg/0001-fix-expat-static-declaration.patch rename to buildroot-2022.02.1/package/libsvg/0001-fix-expat-static-declaration.patch diff --git a/buildroot-2021.05/package/libsvg/0002-Fix-undefined-symbol-png_set_gray_1_2_4_to_8.patch b/buildroot-2022.02.1/package/libsvg/0002-Fix-undefined-symbol-png_set_gray_1_2_4_to_8.patch similarity index 100% rename from buildroot-2021.05/package/libsvg/0002-Fix-undefined-symbol-png_set_gray_1_2_4_to_8.patch rename to buildroot-2022.02.1/package/libsvg/0002-Fix-undefined-symbol-png_set_gray_1_2_4_to_8.patch diff --git a/buildroot-2021.05/package/libsvg/Config.in b/buildroot-2022.02.1/package/libsvg/Config.in similarity index 100% rename from buildroot-2021.05/package/libsvg/Config.in rename to buildroot-2022.02.1/package/libsvg/Config.in diff --git a/buildroot-2021.05/package/libsvg/libsvg.hash b/buildroot-2022.02.1/package/libsvg/libsvg.hash similarity index 100% rename from buildroot-2021.05/package/libsvg/libsvg.hash rename to buildroot-2022.02.1/package/libsvg/libsvg.hash diff --git a/buildroot-2021.05/package/libsvg/libsvg.mk b/buildroot-2022.02.1/package/libsvg/libsvg.mk similarity index 100% rename from buildroot-2021.05/package/libsvg/libsvg.mk rename to buildroot-2022.02.1/package/libsvg/libsvg.mk diff --git a/buildroot-2021.05/package/libsvgtiny/0001-disable-debug-printfs.patch b/buildroot-2022.02.1/package/libsvgtiny/0001-disable-debug-printfs.patch similarity index 100% rename from buildroot-2021.05/package/libsvgtiny/0001-disable-debug-printfs.patch rename to buildroot-2022.02.1/package/libsvgtiny/0001-disable-debug-printfs.patch diff --git a/buildroot-2021.05/package/libsvgtiny/0002-Remove-Werror.patch b/buildroot-2022.02.1/package/libsvgtiny/0002-Remove-Werror.patch similarity index 100% rename from buildroot-2021.05/package/libsvgtiny/0002-Remove-Werror.patch rename to buildroot-2022.02.1/package/libsvgtiny/0002-Remove-Werror.patch diff --git a/buildroot-2021.05/package/libsvgtiny/0003-Hopefully-silence-warnings-about-inlines-and-non-inlines-calling-one.patch b/buildroot-2022.02.1/package/libsvgtiny/0003-Hopefully-silence-warnings-about-inlines-and-non-inlines-calling-one.patch similarity index 100% rename from buildroot-2021.05/package/libsvgtiny/0003-Hopefully-silence-warnings-about-inlines-and-non-inlines-calling-one.patch rename to buildroot-2022.02.1/package/libsvgtiny/0003-Hopefully-silence-warnings-about-inlines-and-non-inlines-calling-one.patch diff --git a/buildroot-2021.05/package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch b/buildroot-2022.02.1/package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch similarity index 100% rename from buildroot-2021.05/package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch rename to buildroot-2022.02.1/package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch diff --git a/buildroot-2021.05/package/libsvgtiny/Config.in b/buildroot-2022.02.1/package/libsvgtiny/Config.in similarity index 100% rename from buildroot-2021.05/package/libsvgtiny/Config.in rename to buildroot-2022.02.1/package/libsvgtiny/Config.in diff --git a/buildroot-2021.05/package/libsvgtiny/libsvgtiny.hash b/buildroot-2022.02.1/package/libsvgtiny/libsvgtiny.hash similarity index 100% rename from buildroot-2021.05/package/libsvgtiny/libsvgtiny.hash rename to buildroot-2022.02.1/package/libsvgtiny/libsvgtiny.hash diff --git a/buildroot-2021.05/package/libsvgtiny/libsvgtiny.mk b/buildroot-2022.02.1/package/libsvgtiny/libsvgtiny.mk similarity index 100% rename from buildroot-2021.05/package/libsvgtiny/libsvgtiny.mk rename to buildroot-2022.02.1/package/libsvgtiny/libsvgtiny.mk diff --git a/buildroot-2022.02.1/package/libsysfs/Config.in b/buildroot-2022.02.1/package/libsysfs/Config.in new file mode 100644 index 00000000..076490ec --- /dev/null +++ b/buildroot-2022.02.1/package/libsysfs/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBSYSFS + bool "libsysfs" + help + These are a set of utilities built upon sysfs, a filesystem in + Linux 2.6 kernels that exposes a system's device tree. + + https://github.com/linux-ras/sysfsutils diff --git a/buildroot-2022.02.1/package/libsysfs/libsysfs.hash b/buildroot-2022.02.1/package/libsysfs/libsysfs.hash new file mode 100644 index 00000000..3d2d03fc --- /dev/null +++ b/buildroot-2022.02.1/package/libsysfs/libsysfs.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 f7f669d27c997d3eb3f3e014b4c0aa1aa4d07ce4d6f9e41fa835240f2bf38810 libsysfs-2.1.1.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 cmd/GPL +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 lib/LGPL diff --git a/buildroot-2022.02.1/package/libsysfs/libsysfs.mk b/buildroot-2022.02.1/package/libsysfs/libsysfs.mk new file mode 100644 index 00000000..94de9e43 --- /dev/null +++ b/buildroot-2022.02.1/package/libsysfs/libsysfs.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# libsysfs +# +################################################################################ + +LIBSYSFS_VERSION = 2.1.1 +LIBSYSFS_SITE = $(call github,linux-ras,sysfsutils,v$(LIBSYSFS_VERSION)) +LIBSYSFS_INSTALL_STAGING = YES +LIBSYSFS_LICENSE = GPL-2.0 (utilities), LGPL-2.1+ (library) +LIBSYSFS_LICENSE_FILES = cmd/GPL lib/LGPL +LIBSYSFS_CPE_ID_VENDOR = sysfsutils_project +LIBSYSFS_CPE_ID_PRODUCT = sysfsutils +# From git +LIBSYSFS_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libtalloc/Config.in b/buildroot-2022.02.1/package/libtalloc/Config.in new file mode 100644 index 00000000..849becf1 --- /dev/null +++ b/buildroot-2022.02.1/package/libtalloc/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_LIBTALLOC + bool "libtalloc" + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + help + talloc is a hierarchical, reference counted memory pool + system with destructors. It is the core memory allocator + used in Samba. + + https://talloc.samba.org/talloc/doc/html/index.html + +comment "libtalloc needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libtalloc/libtalloc-cache.txt b/buildroot-2022.02.1/package/libtalloc/libtalloc-cache.txt new file mode 100644 index 00000000..a2b44857 --- /dev/null +++ b/buildroot-2022.02.1/package/libtalloc/libtalloc-cache.txt @@ -0,0 +1,42 @@ +Checking simple C program: OK +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking for -D_LARGE_FILES: OK +Checking correct behavior of strtoll: NO +Checking for working strptime: OK +Checking for C99 vsnprintf: OK +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +Checking whether we can use Linux thread-specific credentials with 32-bit system calls: OK +Checking whether we can use Linux thread-specific credentials: OK +Checking whether setreuid is available: OK +Checking whether setresuid is available: OK +Checking whether seteuid is available: OK +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: OK +Checking for the maximum value of the 'time_t' type: OK +Checking whether the realpath function allows a NULL argument: OK +Checking whether POSIX capabilities are available: OK +Checking for ftruncate extend: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +getcwd takes a NULL argument: OK +Checking uname sysname type: "Linux" +Checking uname release type: "5.4.0" +Checking uname version type: "#1 Tue Oct 1 00:00:00 UTC 2020" +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "34" +Checking errno of iconv for illegal multibyte sequence: "0" +checking for clnt_create(): OK +Checking for a 64-bit host to support lmdb: NO diff --git a/buildroot-2022.02.1/package/libtalloc/libtalloc.hash b/buildroot-2022.02.1/package/libtalloc/libtalloc.hash new file mode 100644 index 00000000..cbfd11e6 --- /dev/null +++ b/buildroot-2022.02.1/package/libtalloc/libtalloc.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 6be95b2368bd0af1c4cd7a88146eb6ceea18e46c3ffc9330bf6262b40d1d8aaa talloc-2.3.3.tar.gz +sha256 f8340c449dd64a55c6605b02fcad2aec6f473612ac6026739a22995380a8043c talloc.h diff --git a/buildroot-2022.02.1/package/libtalloc/libtalloc.mk b/buildroot-2022.02.1/package/libtalloc/libtalloc.mk new file mode 100644 index 00000000..79bcf949 --- /dev/null +++ b/buildroot-2022.02.1/package/libtalloc/libtalloc.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# libtalloc +# +################################################################################ + +LIBTALLOC_VERSION = 2.3.3 +LIBTALLOC_SOURCE = talloc-$(LIBTALLOC_VERSION).tar.gz +LIBTALLOC_SITE = https://www.samba.org/ftp/talloc +LIBTALLOC_LICENSE = LGPL-3.0+ +LIBTALLOC_LICENSE_FILES = talloc.h +LIBTALLOC_INSTALL_STAGING = YES + +# --with-libiconv= is unconditionally passed, even if libiconv is not +# present. Indeed, waf will search for libiconv by default in +# /usr/local. Because of a bug in some waf python script, /usr/local +# is then used in many subsequent and unrelated checks, which +# ultimately causes a failure when BR2_COMPILER_PARANOID_UNSAFE_PATH +# is set. However no need to set libiconv as a dependency of +# libtalloc since it's optional. +LIBTALLOC_CONF_OPTS += --cross-compile \ + --cross-answers=$(@D)/cache.txt \ + --hostcc=gcc \ + --with-libiconv=$(STAGING_DIR)/usr + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +LIBTALLOC_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc` +LIBTALLOC_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc` +LIBTALLOC_DEPENDENCIES += libtirpc host-pkgconf +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBTALLOC_DEPENDENCIES += host-python3 python3 +LIBTALLOC_CONF_ENV += \ + PYTHON="$(HOST_DIR)/bin/python3" \ + PYTHON_CONFIG="$(STAGING_DIR)/usr/bin/python3-config" +# There isn't any --enable-python configuration option +else +LIBTALLOC_CONF_OPTS += --disable-python +endif + +LIBTALLOC_WAF = ./buildtools/bin/waf + +# like samba4, libtalloc uses the waf build system which requires a +# proper answers file to configure package before build +define LIBTALLOC_POPULATE_WAF_CACHE + $(INSTALL) -m 0644 package/libtalloc/libtalloc-cache.txt $(@D)/cache.txt + echo 'Checking uname machine type: $(BR2_ARCH)' >> $(@D)/cache.txt +endef + +LIBTALLOC_PRE_CONFIGURE_HOOKS += LIBTALLOC_POPULATE_WAF_CACHE + +$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/libtasn1/0001-fuzz-Makefile.am-do-not-force-static.patch b/buildroot-2022.02.1/package/libtasn1/0001-fuzz-Makefile.am-do-not-force-static.patch similarity index 100% rename from buildroot-2021.05/package/libtasn1/0001-fuzz-Makefile.am-do-not-force-static.patch rename to buildroot-2022.02.1/package/libtasn1/0001-fuzz-Makefile.am-do-not-force-static.patch diff --git a/buildroot-2021.05/package/libtasn1/Config.in b/buildroot-2022.02.1/package/libtasn1/Config.in similarity index 100% rename from buildroot-2021.05/package/libtasn1/Config.in rename to buildroot-2022.02.1/package/libtasn1/Config.in diff --git a/buildroot-2022.02.1/package/libtasn1/libtasn1.hash b/buildroot-2022.02.1/package/libtasn1/libtasn1.hash new file mode 100644 index 00000000..fa39dd2c --- /dev/null +++ b/buildroot-2022.02.1/package/libtasn1/libtasn1.hash @@ -0,0 +1,7 @@ +# Locally calculated after checking pgp signature +# https://ftp.gnu.org/gnu/libtasn1/libtasn1-4.18.0.tar.gz.sig +sha256 4365c154953563d64c67a024b607d1ee75c6db76e0d0f65709ea80a334cd1898 libtasn1-4.18.0.tar.gz +# Locally calculated +sha256 7446831f659f7ebfd8d497acc7f05dfa8e31c6cb6ba1b45df33d4895ab80f5a6 COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 doc/COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 doc/COPYING.LESSER diff --git a/buildroot-2022.02.1/package/libtasn1/libtasn1.mk b/buildroot-2022.02.1/package/libtasn1/libtasn1.mk new file mode 100644 index 00000000..ba86081d --- /dev/null +++ b/buildroot-2022.02.1/package/libtasn1/libtasn1.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# libtasn1 +# +################################################################################ + +LIBTASN1_VERSION = 4.18.0 +LIBTASN1_SITE = $(BR2_GNU_MIRROR)/libtasn1 +LIBTASN1_DEPENDENCIES = host-bison host-pkgconf +LIBTASN1_LICENSE = GPL-3.0+ (tests, tools), LGPL-2.1+ (library) +LIBTASN1_LICENSE_FILES = COPYING doc/COPYING doc/COPYING.LESSER +LIBTASN1_CPE_ID_VENDOR = gnu +LIBTASN1_INSTALL_STAGING = YES + +# We're patching fuzz/Makefile.am +LIBTASN1_AUTORECONF = YES + +# 'missing' fallback logic botched so disable it completely +LIBTASN1_CONF_ENV = MAKEINFO="true" + +LIBTASN1_CONF_OPTS = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" + +LIBTASN1_PROGS = asn1Coding asn1Decoding asn1Parser + +# We only need the library +define LIBTASN1_REMOVE_PROGS + $(RM) $(addprefix $(TARGET_DIR)/usr/bin/,$(LIBTASN1_PROGS)) +endef +LIBTASN1_POST_INSTALL_TARGET_HOOKS += LIBTASN1_REMOVE_PROGS + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libteam/0001-revert-disregard-current-state.patch b/buildroot-2022.02.1/package/libteam/0001-revert-disregard-current-state.patch new file mode 100644 index 00000000..339afbf4 --- /dev/null +++ b/buildroot-2022.02.1/package/libteam/0001-revert-disregard-current-state.patch @@ -0,0 +1,51 @@ +From 61efd6de2fbb8ee077863ee5a355ac3dfd9365b9 Mon Sep 17 00:00:00 2001 +From: Xin Long +Date: Tue, 1 Sep 2020 13:59:27 +0800 +Subject: [PATCH] Revert "teamd: Disregard current state when considering port + enablement" + +This reverts commit deadb5b715227429a1879b187f5906b39151eca9. + +As Patrick noticed, with that commit, teamd_port_check_enable() +would set the team port to the new state unconditionally, which +triggers another change message from kernel to userspace, then +teamd_port_check_enable() is called again to set the team port +to the new state. + +This would go around and around to update the team port state, +and even cause teamd to consume 100% cpu. + +As the issue caused by that commit is serious, it has to be +reverted. As for the issued fixed by that commit, I would +propose a new fix later. + +Signed-off-by: Jiri Pirko +--- + teamd/teamd_per_port.c | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/teamd/teamd_per_port.c b/teamd/teamd_per_port.c +index 166da57..d429753 100644 +--- a/teamd/teamd_per_port.c ++++ b/teamd/teamd_per_port.c +@@ -442,14 +442,18 @@ int teamd_port_check_enable(struct teamd_context *ctx, + bool should_enable, bool should_disable) + { + bool new_enabled_state; ++ bool curr_enabled_state; + int err; + + if (!teamd_port_present(ctx, tdport)) + return 0; ++ err = teamd_port_enabled(ctx, tdport, &curr_enabled_state); ++ if (err) ++ return err; + +- if (should_enable) ++ if (!curr_enabled_state && should_enable) + new_enabled_state = true; +- else if (should_disable) ++ else if (curr_enabled_state && should_disable) + new_enabled_state = false; + else + return 0; diff --git a/buildroot-2022.02.1/package/libteam/0002-fix-build-on-openwrt-musl-libc.patch b/buildroot-2022.02.1/package/libteam/0002-fix-build-on-openwrt-musl-libc.patch new file mode 100644 index 00000000..f2b38a13 --- /dev/null +++ b/buildroot-2022.02.1/package/libteam/0002-fix-build-on-openwrt-musl-libc.patch @@ -0,0 +1,41 @@ +From 267f24839536234ca621d4fd0466d3b57cb6dccd Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Pavel=20=C5=A0imerda?= +Date: Tue, 12 Jan 2021 04:41:56 +0100 +Subject: [PATCH] fix build on OpenWRT/musl-libc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Pavel Šimerda +Signed-off-by: Jiri Pirko +--- + teamd/teamd_runner_lacp.c | 2 -- + utils/teamnl.c | 1 + + 2 files changed, 1 insertion(+), 2 deletions(-) + +diff --git a/teamd/teamd_runner_lacp.c b/teamd/teamd_runner_lacp.c +index 9437f05..f524be2 100644 +--- a/teamd/teamd_runner_lacp.c ++++ b/teamd/teamd_runner_lacp.c +@@ -23,9 +23,7 @@ + #include + #include + #include +-#include + #include +-#include + #include + #include + #include +diff --git a/utils/teamnl.c b/utils/teamnl.c +index c53345d..ec2b435 100644 +--- a/utils/teamnl.c ++++ b/utils/teamnl.c +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/buildroot-2022.02.1/package/libteam/0003-increase-wait-time-for-daemon-kill.patch b/buildroot-2022.02.1/package/libteam/0003-increase-wait-time-for-daemon-kill.patch new file mode 100644 index 00000000..7827a654 --- /dev/null +++ b/buildroot-2022.02.1/package/libteam/0003-increase-wait-time-for-daemon-kill.patch @@ -0,0 +1,37 @@ +From 6875e6c8efb0fe86766b3d4f1d0db390af6998b7 Mon Sep 17 00:00:00 2001 +From: Hangbin Liu +Date: Tue, 15 Dec 2020 19:33:17 +0800 +Subject: [PATCH] teamd: increase the waitting time for daemon killing + +In the current code, we wait for at most 5s when kill the daemon pid. +But in some environment, it may need more time. Then the teamd -k will +failed and return error "Failed to kill daemon: Timer expired". + +Let's increase the value to have enough time. Here is the reuslt with +this patch: + +$ time libteam/teamd/teamd -k -t team0 + +real 0m10.442s +user 0m0.017s +sys 0m0.016s + +Signed-off-by: Hangbin Liu +Signed-off-by: Jiri Pirko +--- + teamd/teamd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/teamd/teamd.c b/teamd/teamd.c +index 9360cbf..b310140 100644 +--- a/teamd/teamd.c ++++ b/teamd/teamd.c +@@ -1858,7 +1858,7 @@ int main(int argc, char **argv) + break; + case DAEMON_CMD_KILL: + if (daemon_pid_file_is_running() > 0) { +- err = daemon_pid_file_kill_wait(SIGTERM, 5); ++ err = daemon_pid_file_kill_wait(SIGTERM, 30); + if (err) + teamd_log_warn("Failed to kill daemon: %s", + strerror(errno)); diff --git a/buildroot-2022.02.1/package/libteam/Config.in b/buildroot-2022.02.1/package/libteam/Config.in new file mode 100644 index 00000000..aa566a6c --- /dev/null +++ b/buildroot-2022.02.1/package/libteam/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_LIBTEAM + bool "libteam" + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS # libnl-tools + depends on BR2_TOOLCHAIN_HAS_THREADS # libnl + select BR2_PACKAGE_JANSSON + select BR2_PACKAGE_LIBDAEMON + select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_LIBNL_TOOLS + help + The purpose of the Team driver is to provide a mechanism to + team multiple NICs (ports) into one logical one (teamdev) at + L2 layer. The process is called "channel bonding", "Ethernet + bonding", "channel teaming", "link aggregation", etc. + + Team tries to provide similar functionality as the bonding + driver, however architecturally it is quite different. Team is + modular, userspace driven, very lean and efficient, and it + does have some distinct advantages over bonding. The way Team + is configured differs dramatically from the way bonding is. + + If building the kernel with Buildroot, basic team support is + automatically enabled, but you will still need to enable the + modes you need, e.g. activebackup or loadbalance (e.g. with a + config fragment or a custom config). + + https://github.com/jpirko/libteam + +comment "libteam needs MMU and a toolchain w/ dynamic library and threads" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libteam/libteam.hash b/buildroot-2022.02.1/package/libteam/libteam.hash new file mode 100644 index 00000000..39d29425 --- /dev/null +++ b/buildroot-2022.02.1/package/libteam/libteam.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c69f7cf5a98203d66db10e67b396fe325b77a5a9491d1e07e8a07cba3ba841bb libteam-1.31.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/libteam/libteam.mk b/buildroot-2022.02.1/package/libteam/libteam.mk new file mode 100644 index 00000000..8bd83aa2 --- /dev/null +++ b/buildroot-2022.02.1/package/libteam/libteam.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# libteam +# +################################################################################ + +LIBTEAM_VERSION = 1.31 +LIBTEAM_SITE = $(call github,jpirko,libteam,v$(LIBTEAM_VERSION)) +LIBTEAM_LICENSE = LGPL-2.1+ +LIBTEAM_LICENSE_FILES = COPYING +LIBTEAM_DEPENDENCIES = host-pkgconf jansson libdaemon libnl +LIBTEAM_AUTORECONF = YES +LIBTEAM_INSTALL_STAGING = YES + +# Note: this enables basic team support, use a custom kernel config, or +# fragment, to enable team modes, e.g. activebackup or loadbalance +define LIBTEAM_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_NETDEVICES) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET_CORE) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET_TEAM) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libtelnet/0001-fix-compilation-without-zlib.patch b/buildroot-2022.02.1/package/libtelnet/0001-fix-compilation-without-zlib.patch similarity index 100% rename from buildroot-2021.05/package/libtelnet/0001-fix-compilation-without-zlib.patch rename to buildroot-2022.02.1/package/libtelnet/0001-fix-compilation-without-zlib.patch diff --git a/buildroot-2021.05/package/libtelnet/Config.in b/buildroot-2022.02.1/package/libtelnet/Config.in similarity index 100% rename from buildroot-2021.05/package/libtelnet/Config.in rename to buildroot-2022.02.1/package/libtelnet/Config.in diff --git a/buildroot-2021.05/package/libtelnet/libtelnet.hash b/buildroot-2022.02.1/package/libtelnet/libtelnet.hash similarity index 100% rename from buildroot-2021.05/package/libtelnet/libtelnet.hash rename to buildroot-2022.02.1/package/libtelnet/libtelnet.hash diff --git a/buildroot-2021.05/package/libtelnet/libtelnet.mk b/buildroot-2022.02.1/package/libtelnet/libtelnet.mk similarity index 100% rename from buildroot-2021.05/package/libtelnet/libtelnet.mk rename to buildroot-2022.02.1/package/libtelnet/libtelnet.mk diff --git a/buildroot-2021.05/package/libtextstyle/libtextstyle.hash b/buildroot-2022.02.1/package/libtextstyle/libtextstyle.hash similarity index 100% rename from buildroot-2021.05/package/libtextstyle/libtextstyle.hash rename to buildroot-2022.02.1/package/libtextstyle/libtextstyle.hash diff --git a/buildroot-2021.05/package/libtextstyle/libtextstyle.mk b/buildroot-2022.02.1/package/libtextstyle/libtextstyle.mk similarity index 100% rename from buildroot-2021.05/package/libtextstyle/libtextstyle.mk rename to buildroot-2022.02.1/package/libtextstyle/libtextstyle.mk diff --git a/buildroot-2021.05/package/libtheora/0001-link-libtheoradec.patch b/buildroot-2022.02.1/package/libtheora/0001-link-libtheoradec.patch similarity index 100% rename from buildroot-2021.05/package/libtheora/0001-link-libtheoradec.patch rename to buildroot-2022.02.1/package/libtheora/0001-link-libtheoradec.patch diff --git a/buildroot-2021.05/package/libtheora/0002-fix-autoreconf.patch b/buildroot-2022.02.1/package/libtheora/0002-fix-autoreconf.patch similarity index 100% rename from buildroot-2021.05/package/libtheora/0002-fix-autoreconf.patch rename to buildroot-2022.02.1/package/libtheora/0002-fix-autoreconf.patch diff --git a/buildroot-2021.05/package/libtheora/Config.in b/buildroot-2022.02.1/package/libtheora/Config.in similarity index 100% rename from buildroot-2021.05/package/libtheora/Config.in rename to buildroot-2022.02.1/package/libtheora/Config.in diff --git a/buildroot-2021.05/package/libtheora/libtheora.hash b/buildroot-2022.02.1/package/libtheora/libtheora.hash similarity index 100% rename from buildroot-2021.05/package/libtheora/libtheora.hash rename to buildroot-2022.02.1/package/libtheora/libtheora.hash diff --git a/buildroot-2021.05/package/libtheora/libtheora.mk b/buildroot-2022.02.1/package/libtheora/libtheora.mk similarity index 100% rename from buildroot-2021.05/package/libtheora/libtheora.mk rename to buildroot-2022.02.1/package/libtheora/libtheora.mk diff --git a/buildroot-2022.02.1/package/libtirpc/Config.in b/buildroot-2022.02.1/package/libtirpc/Config.in new file mode 100644 index 00000000..31f1636e --- /dev/null +++ b/buildroot-2022.02.1/package/libtirpc/Config.in @@ -0,0 +1,25 @@ +config BR2_PACKAGE_LIBTIRPC + bool "libtirpc" + depends on BR2_TOOLCHAIN_HAS_THREADS + help + Libtirpc is a port of Sun's Transport-Independent RPC + library to Linux. + + http://sourceforge.net/projects/libtirpc/ + +config BR2_PACKAGE_LIBTIRPC_GSS + bool "gss" + depends on BR2_USE_MMU # libkrb5 + depends on !BR2_STATIC_LIBS # libkrb5 + depends on BR2_PACKAGE_LIBTIRPC + select BR2_PACKAGE_LIBKRB5 + help + Enable GSSAPI support + +comment "libtirpc needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +comment "libtirpc gss support needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS + depends on BR2_PACKAGE_LIBTIRPC diff --git a/buildroot-2021.05/package/libtirpc/libtirpc.hash b/buildroot-2022.02.1/package/libtirpc/libtirpc.hash similarity index 100% rename from buildroot-2021.05/package/libtirpc/libtirpc.hash rename to buildroot-2022.02.1/package/libtirpc/libtirpc.hash diff --git a/buildroot-2022.02.1/package/libtirpc/libtirpc.mk b/buildroot-2022.02.1/package/libtirpc/libtirpc.mk new file mode 100644 index 00000000..9d3c4b5a --- /dev/null +++ b/buildroot-2022.02.1/package/libtirpc/libtirpc.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# libtirpc +# +################################################################################ + +LIBTIRPC_VERSION = 1.3.2 +LIBTIRPC_SOURCE = libtirpc-$(LIBTIRPC_VERSION).tar.bz2 +LIBTIRPC_SITE = http://downloads.sourceforge.net/project/libtirpc/libtirpc/$(LIBTIRPC_VERSION) +LIBTIRPC_LICENSE = BSD-3-Clause +LIBTIRPC_LICENSE_FILES = COPYING +LIBTIRPC_CPE_ID_VENDOR = libtirpc_project + +LIBTIRPC_INSTALL_STAGING = YES + +# getrpcby{number,name} are only provided if 'GQ' is defined +LIBTIRPC_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DGQ" + +ifeq ($(BR2_PACKAGE_LIBTIRPC_GSS),y) +LIBTIRPC_CONF_ENV += KRB5_CONFIG=$(STAGING_DIR)/usr/bin/krb5-config +LIBTIRPC_CONF_OPTS += --enable-gssapi +LIBTIRPC_DEPENDENCIES += libkrb5 +else +LIBTIRPC_CONF_OPTS += --disable-gssapi +endif +HOST_LIBTIRPC_CONF_OPTS = --disable-gssapi + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libtomcrypt/0001-fix-CVE-2019-17362.patch b/buildroot-2022.02.1/package/libtomcrypt/0001-fix-CVE-2019-17362.patch similarity index 100% rename from buildroot-2021.05/package/libtomcrypt/0001-fix-CVE-2019-17362.patch rename to buildroot-2022.02.1/package/libtomcrypt/0001-fix-CVE-2019-17362.patch diff --git a/buildroot-2021.05/package/libtomcrypt/Config.in b/buildroot-2022.02.1/package/libtomcrypt/Config.in similarity index 100% rename from buildroot-2021.05/package/libtomcrypt/Config.in rename to buildroot-2022.02.1/package/libtomcrypt/Config.in diff --git a/buildroot-2021.05/package/libtomcrypt/libtomcrypt.hash b/buildroot-2022.02.1/package/libtomcrypt/libtomcrypt.hash similarity index 100% rename from buildroot-2021.05/package/libtomcrypt/libtomcrypt.hash rename to buildroot-2022.02.1/package/libtomcrypt/libtomcrypt.hash diff --git a/buildroot-2022.02.1/package/libtomcrypt/libtomcrypt.mk b/buildroot-2022.02.1/package/libtomcrypt/libtomcrypt.mk new file mode 100644 index 00000000..fa2a5850 --- /dev/null +++ b/buildroot-2022.02.1/package/libtomcrypt/libtomcrypt.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# libtomcrypt +# +################################################################################ + +LIBTOMCRYPT_VERSION = 1.18.2 +LIBTOMCRYPT_SITE = https://github.com/libtom/libtomcrypt/releases/download/v$(LIBTOMCRYPT_VERSION) +LIBTOMCRYPT_SOURCE = crypt-$(LIBTOMCRYPT_VERSION).tar.xz +LIBTOMCRYPT_LICENSE = WTFPL +LIBTOMCRYPT_LICENSE_FILES = LICENSE +LIBTOMCRYPT_CPE_ID_VENDOR = libtom +LIBTOMCRYPT_INSTALL_STAGING = YES +LIBTOMCRYPT_INSTALL_TARGET = NO # only static library +LIBTOMCRYPT_DEPENDENCIES = libtommath + +# 0001-fix-CVE-2019-17362.patch +LIBTOMCRYPT_IGNORE_CVES += CVE-2019-17362 + +LIBTOMCRYPT_CFLAGS = -I./src/headers $(TARGET_CFLAGS) -DLTC_SOURCE -DLTM_DESC + +ifeq ($(BR2_STATIC_LIBS),) +LIBTOMCRYPT_CFLAGS += -fPIC +endif + +define LIBTOMCRYPT_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f makefile.unix $(TARGET_CONFIGURE_OPTS) CFLAGS="$(LIBTOMCRYPT_CFLAGS)" +endef + +define LIBTOMCRYPT_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) -f makefile.unix \ + DESTDIR="$(STAGING_DIR)" PREFIX=/usr install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libtommath/0001-Build-test-bn_mp_set_double-c-on-more-platforms.patch b/buildroot-2022.02.1/package/libtommath/0001-Build-test-bn_mp_set_double-c-on-more-platforms.patch similarity index 100% rename from buildroot-2021.05/package/libtommath/0001-Build-test-bn_mp_set_double-c-on-more-platforms.patch rename to buildroot-2022.02.1/package/libtommath/0001-Build-test-bn_mp_set_double-c-on-more-platforms.patch diff --git a/buildroot-2021.05/package/libtommath/Config.in b/buildroot-2022.02.1/package/libtommath/Config.in similarity index 100% rename from buildroot-2021.05/package/libtommath/Config.in rename to buildroot-2022.02.1/package/libtommath/Config.in diff --git a/buildroot-2021.05/package/libtommath/libtommath.hash b/buildroot-2022.02.1/package/libtommath/libtommath.hash similarity index 100% rename from buildroot-2021.05/package/libtommath/libtommath.hash rename to buildroot-2022.02.1/package/libtommath/libtommath.hash diff --git a/buildroot-2021.05/package/libtommath/libtommath.mk b/buildroot-2022.02.1/package/libtommath/libtommath.mk similarity index 100% rename from buildroot-2021.05/package/libtommath/libtommath.mk rename to buildroot-2022.02.1/package/libtommath/libtommath.mk diff --git a/buildroot-2021.05/package/libtool/Config.in b/buildroot-2022.02.1/package/libtool/Config.in similarity index 100% rename from buildroot-2021.05/package/libtool/Config.in rename to buildroot-2022.02.1/package/libtool/Config.in diff --git a/buildroot-2021.05/package/libtool/libtool.hash b/buildroot-2022.02.1/package/libtool/libtool.hash similarity index 100% rename from buildroot-2021.05/package/libtool/libtool.hash rename to buildroot-2022.02.1/package/libtool/libtool.hash diff --git a/buildroot-2021.05/package/libtool/libtool.mk b/buildroot-2022.02.1/package/libtool/libtool.mk similarity index 100% rename from buildroot-2021.05/package/libtool/libtool.mk rename to buildroot-2022.02.1/package/libtool/libtool.mk diff --git a/buildroot-2021.05/package/libtorrent-rasterbar/Config.in b/buildroot-2022.02.1/package/libtorrent-rasterbar/Config.in similarity index 100% rename from buildroot-2021.05/package/libtorrent-rasterbar/Config.in rename to buildroot-2022.02.1/package/libtorrent-rasterbar/Config.in diff --git a/buildroot-2022.02.1/package/libtorrent-rasterbar/libtorrent-rasterbar.hash b/buildroot-2022.02.1/package/libtorrent-rasterbar/libtorrent-rasterbar.hash new file mode 100644 index 00000000..3f59642b --- /dev/null +++ b/buildroot-2022.02.1/package/libtorrent-rasterbar/libtorrent-rasterbar.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c8ad8638684c0a903ebabc30490079e31b1a6a638da2adec5a8bef6a0e62214b libtorrent-rasterbar-1.2.15.tar.gz +sha256 f3a5dd1558cce616b12edad521427ec8976ce2bb0af33f7f359cfa648bf55ad8 COPYING diff --git a/buildroot-2022.02.1/package/libtorrent-rasterbar/libtorrent-rasterbar.mk b/buildroot-2022.02.1/package/libtorrent-rasterbar/libtorrent-rasterbar.mk new file mode 100644 index 00000000..914e0cbc --- /dev/null +++ b/buildroot-2022.02.1/package/libtorrent-rasterbar/libtorrent-rasterbar.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# libtorrent-rasterbar +# +################################################################################ + +LIBTORRENT_RASTERBAR_VERSION = 1.2.15 +LIBTORRENT_RASTERBAR_SITE = \ + https://github.com/arvidn/libtorrent/releases/download/v$(LIBTORRENT_RASTERBAR_VERSION) +LIBTORRENT_RASTERBAR_LICENSE = BSD-3-Clause +LIBTORRENT_RASTERBAR_LICENSE_FILES = COPYING +LIBTORRENT_RASTERBAR_CPE_ID_VENDOR = libtorrent +LIBTORRENT_RASTERBAR_CPE_ID_PRODUCT = libtorrent +LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost openssl +LIBTORRENT_RASTERBAR_INSTALL_STAGING = YES +LIBTORRENT_RASTERBAR_CONF_OPTS = \ + --with-boost-libdir=$(STAGING_DIR)/usr/lib \ + --disable-invariant-checks +LIBTORRENT_RASTERBAR_CXXFLAGS = $(TARGET_CXXFLAGS) -std=c++11 + +# Internal error, aborting at dwarf2cfi.c:2802 in connect_traces +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58864 +ifeq ($(BR2_m68k_cf),y) +LIBTORRENT_RASTERBAR_CXXFLAGS += -fno-defer-pop +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +LIBTORRENT_RASTERBAR_CXXFLAGS += -O0 +endif + +LIBTORRENT_RASTERBAR_CONF_OPTS += CXXFLAGS="$(LIBTORRENT_RASTERBAR_CXXFLAGS)" + +ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y) +LIBTORRENT_RASTERBAR_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBTORRENT_RASTERBAR_CONF_OPTS += --with-libiconv +else +LIBTORRENT_RASTERBAR_CONF_OPTS += --without-libiconv +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch b/buildroot-2022.02.1/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch similarity index 100% rename from buildroot-2021.05/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch rename to buildroot-2022.02.1/package/libtorrent/0001-libtorrent.pc.in-add-Libs.Private.patch diff --git a/buildroot-2022.02.1/package/libtorrent/Config.in b/buildroot-2022.02.1/package/libtorrent/Config.in new file mode 100644 index 00000000..de6487a7 --- /dev/null +++ b/buildroot-2022.02.1/package/libtorrent/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LIBTORRENT + bool "libtorrent" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + help + BitTorrent library written in C++ for *nix + + https://github.com/rakshasa/libtorrent + +comment "libtorrent needs a toolchain w/ C++, threads" + depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/libtorrent/libtorrent.hash b/buildroot-2022.02.1/package/libtorrent/libtorrent.hash similarity index 100% rename from buildroot-2021.05/package/libtorrent/libtorrent.hash rename to buildroot-2022.02.1/package/libtorrent/libtorrent.hash diff --git a/buildroot-2022.02.1/package/libtorrent/libtorrent.mk b/buildroot-2022.02.1/package/libtorrent/libtorrent.mk new file mode 100644 index 00000000..b966a727 --- /dev/null +++ b/buildroot-2022.02.1/package/libtorrent/libtorrent.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# libtorrent +# +################################################################################ + +LIBTORRENT_VERSION = 0.13.8 +LIBTORRENT_SITE = http://rtorrent.net/downloads +LIBTORRENT_DEPENDENCIES = host-pkgconf zlib +LIBTORRENT_CONF_OPTS = --enable-aligned \ + --disable-instrumentation \ + --with-zlib=$(STAGING_DIR)/usr +LIBTORRENT_INSTALL_STAGING = YES +LIBTORRENT_LICENSE = GPL-2.0 +LIBTORRENT_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +LIBTORRENT_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lexecinfo" +LIBTORRENT_DEPENDENCIES += libexecinfo +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBTORRENT_CONF_OPTS += --enable-openssl +LIBTORRENT_DEPENDENCIES += openssl +else +LIBTORRENT_CONF_OPTS += --disable-openssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libtpl/Config.in b/buildroot-2022.02.1/package/libtpl/Config.in similarity index 100% rename from buildroot-2021.05/package/libtpl/Config.in rename to buildroot-2022.02.1/package/libtpl/Config.in diff --git a/buildroot-2021.05/package/libtpl/libtpl.hash b/buildroot-2022.02.1/package/libtpl/libtpl.hash similarity index 100% rename from buildroot-2021.05/package/libtpl/libtpl.hash rename to buildroot-2022.02.1/package/libtpl/libtpl.hash diff --git a/buildroot-2021.05/package/libtpl/libtpl.mk b/buildroot-2022.02.1/package/libtpl/libtpl.mk similarity index 100% rename from buildroot-2021.05/package/libtpl/libtpl.mk rename to buildroot-2022.02.1/package/libtpl/libtpl.mk diff --git a/buildroot-2022.02.1/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch b/buildroot-2022.02.1/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch new file mode 100644 index 00000000..9040e126 --- /dev/null +++ b/buildroot-2022.02.1/package/libubootenv/0001-src-CMakeLists.txt-do-not-force-the-build-of-a-share.patch @@ -0,0 +1,55 @@ +From 5448ca9d92f7fa197060323a82a5f060ce7c31e7 Mon Sep 17 00:00:00 2001 +From: Pierre-Jean Texier +Date: Wed, 22 May 2019 10:26:27 +0200 +Subject: [PATCH] src/CMakeLists.txt: do not force the build of a shared + library + +By definition, projects using CMake which can build either static or shared +libraries use a BUILD_SHARED_LIBS flag to allow selecting between both. +So, let CMake rely on the standard BUILD_SHARED_LIBS variable to decide +whether a static or shared library should be built. + +however, we can control the behaviour as follows: + + $. cmake -DBUILD_SHARED_LIBS=OFF ... + + $. cmake -DBUILS_SHARED_LIBS=ON ... + +With Yocto/OE, just add the following option into the libubootenv recipe : + +EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON" + +Signed-off-by: Pierre-Jean Texier +[Upstream status: http://patchwork.ozlabs.org/patch/1103437/] +--- + src/CMakeLists.txt | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 4b71bc5..0b515f4 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -12,18 +12,16 @@ SET(include_HEADERS + + include(GNUInstallDirs) # for the CMAKE_INSTALL_LIBDIR variable + +-add_library(ubootenv SHARED ${libubootenv_SOURCES} ${include_HEADERS}) ++add_library(ubootenv ${libubootenv_SOURCES} ${include_HEADERS}) + SET_TARGET_PROPERTIES(ubootenv PROPERTIES VERSION ${VERSION} SOVERSION ${SOVERSION}) + +-ADD_LIBRARY(ubootenv_static STATIC ${libubootenv_SOURCES} ${include_HEADERS}) +-SET_TARGET_PROPERTIES(ubootenv_static PROPERTIES OUTPUT_NAME ubootenv) + add_executable(fw_printenv fw_printenv.c) + add_executable(fw_setenv fw_setenv.c) + target_link_libraries(ubootenv z) + target_link_libraries(fw_printenv ubootenv) + target_link_libraries(fw_setenv ubootenv) + +-install (TARGETS ubootenv ubootenv_static DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++install (TARGETS ubootenv DESTINATION ${CMAKE_INSTALL_LIBDIR}) + install (FILES libuboot.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + install (TARGETS fw_printenv DESTINATION ${CMAKE_INSTALL_BINDIR}) + install (TARGETS fw_setenv DESTINATION ${CMAKE_INSTALL_BINDIR}) +-- +2.30.2 + diff --git a/buildroot-2021.05/package/libubootenv/Config.in b/buildroot-2022.02.1/package/libubootenv/Config.in similarity index 100% rename from buildroot-2021.05/package/libubootenv/Config.in rename to buildroot-2022.02.1/package/libubootenv/Config.in diff --git a/buildroot-2022.02.1/package/libubootenv/libubootenv.hash b/buildroot-2022.02.1/package/libubootenv/libubootenv.hash new file mode 100644 index 00000000..5ff74508 --- /dev/null +++ b/buildroot-2022.02.1/package/libubootenv/libubootenv.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 760fe53ca20ced93a09dea0f123eb429c820b565c103920afa738873e8cd16b7 libubootenv-7dbfffa4cc0e42ad3febb122a711fe9d1b20e9f7.tar.gz +sha256 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192 LICENSES/CC0-1.0.txt +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1-or-later.txt +sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSES/MIT.txt diff --git a/buildroot-2022.02.1/package/libubootenv/libubootenv.mk b/buildroot-2022.02.1/package/libubootenv/libubootenv.mk new file mode 100644 index 00000000..51ea02e6 --- /dev/null +++ b/buildroot-2022.02.1/package/libubootenv/libubootenv.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# libubootenv +# +################################################################################ + +LIBUBOOTENV_VERSION = 7dbfffa4cc0e42ad3febb122a711fe9d1b20e9f7 +LIBUBOOTENV_SITE = $(call github,sbabic,libubootenv,$(LIBUBOOTENV_VERSION)) +LIBUBOOTENV_LICENSE = LGPL-2.1+, MIT, CC0-1.0 +LIBUBOOTENV_LICENSE_FILES = LICENSES/CC0-1.0.txt \ + LICENSES/LGPL-2.1-or-later.txt \ + LICENSES/MIT.txt + +LIBUBOOTENV_INSTALL_STAGING = YES +LIBUBOOTENV_DEPENDENCIES = zlib + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libubox/Config.in b/buildroot-2022.02.1/package/libubox/Config.in similarity index 100% rename from buildroot-2021.05/package/libubox/Config.in rename to buildroot-2022.02.1/package/libubox/Config.in diff --git a/buildroot-2022.02.1/package/libubox/libubox.hash b/buildroot-2022.02.1/package/libubox/libubox.hash new file mode 100644 index 00000000..27754274 --- /dev/null +++ b/buildroot-2022.02.1/package/libubox/libubox.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 54f65299439dab4be8f203588bcefd9b60052ae87d12c6d012f6278a2a111b4e libubox-d716ac4bc4236031d4c3cc1ed362b502e20e3787-br1.tar.gz diff --git a/buildroot-2022.02.1/package/libubox/libubox.mk b/buildroot-2022.02.1/package/libubox/libubox.mk new file mode 100644 index 00000000..90ba57a8 --- /dev/null +++ b/buildroot-2022.02.1/package/libubox/libubox.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# libubox +# +################################################################################ + +LIBUBOX_VERSION = d716ac4bc4236031d4c3cc1ed362b502e20e3787 +LIBUBOX_SITE = https://git.openwrt.org/project/libubox.git +LIBUBOX_SITE_METHOD = git +LIBUBOX_LICENSE = ISC, BSD-3-Clause +LIBUBOX_INSTALL_STAGING = YES +LIBUBOX_DEPENDENCIES = $(if $(BR2_PACKAGE_JSON_C),json-c) + +ifeq ($(BR2_USE_MMU)$(BR2_PACKAGE_LUA_5_1),yy) +LIBUBOX_DEPENDENCIES += lua +LIBUBOX_CONF_OPTS += -DBUILD_LUA=ON \ + -DLUAPATH=/usr/lib/lua/5.1 \ + -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include +else +LIBUBOX_CONF_OPTS += -DBUILD_LUA=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libuci/Config.in b/buildroot-2022.02.1/package/libuci/Config.in similarity index 100% rename from buildroot-2021.05/package/libuci/Config.in rename to buildroot-2022.02.1/package/libuci/Config.in diff --git a/buildroot-2022.02.1/package/libuci/libuci.hash b/buildroot-2022.02.1/package/libuci/libuci.hash new file mode 100644 index 00000000..87e539d4 --- /dev/null +++ b/buildroot-2022.02.1/package/libuci/libuci.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 4b4e3ef9c9f51c02a1985c63ff0e8fc1f3aafdf24491247a4dc33c993c3fa1ea libuci-4b3db1179747b6a6779029407984bacef851325c-br1.tar.gz +sha256 39e1cc18a36172fb80d9b37f0af77d78ae935bd8a020978a7895d9e76a24e112 cli.c +sha256 69d4eea4de19d27014f3d6ed723081b4039700bfd73cd0a5e39e2c4f19a58c66 libuci.c diff --git a/buildroot-2022.02.1/package/libuci/libuci.mk b/buildroot-2022.02.1/package/libuci/libuci.mk new file mode 100644 index 00000000..81e87aa5 --- /dev/null +++ b/buildroot-2022.02.1/package/libuci/libuci.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# libuci +# +################################################################################ + +LIBUCI_VERSION = 4b3db1179747b6a6779029407984bacef851325c +LIBUCI_SITE = https://git.openwrt.org/project/uci.git +LIBUCI_SITE_METHOD = git +LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools) +LIBUCI_LICENSE_FILES = cli.c libuci.c +LIBUCI_CPE_ID_VENDOR = openwrt +LIBUCI_INSTALL_STAGING = YES +LIBUCI_DEPENDENCIES = libubox + +# Fixed in commit 19e29ffc15dbd958e8e6a648ee0982c68353516f, older than LIBUCI_VERSION +LIBUCI_IGNORE_CVES += CVE-2019-15513 + +ifeq ($(BR2_PACKAGE_LUA_5_1),y) +LIBUCI_DEPENDENCIES += lua +LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \ + -DLUAPATH=/usr/lib/lua/5.1 \ + -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include +LIBUCI_LICENSE += , GPL-2.0 (lua bindings) +else +LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libucl/Config.in b/buildroot-2022.02.1/package/libucl/Config.in similarity index 100% rename from buildroot-2021.05/package/libucl/Config.in rename to buildroot-2022.02.1/package/libucl/Config.in diff --git a/buildroot-2021.05/package/libucl/libucl.hash b/buildroot-2022.02.1/package/libucl/libucl.hash similarity index 100% rename from buildroot-2021.05/package/libucl/libucl.hash rename to buildroot-2022.02.1/package/libucl/libucl.hash diff --git a/buildroot-2021.05/package/libucl/libucl.mk b/buildroot-2022.02.1/package/libucl/libucl.mk similarity index 100% rename from buildroot-2021.05/package/libucl/libucl.mk rename to buildroot-2022.02.1/package/libucl/libucl.mk diff --git a/buildroot-2021.05/package/libudfread/Config.in b/buildroot-2022.02.1/package/libudfread/Config.in similarity index 100% rename from buildroot-2021.05/package/libudfread/Config.in rename to buildroot-2022.02.1/package/libudfread/Config.in diff --git a/buildroot-2022.02.1/package/libudfread/libudfread.hash b/buildroot-2022.02.1/package/libudfread/libudfread.hash new file mode 100644 index 00000000..332b472d --- /dev/null +++ b/buildroot-2022.02.1/package/libudfread/libudfread.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 cd062016d78902da53a34c4d536479dbb70b2a05116354d46ead4d0c498ed375 libudfread-1.1.2.tar.bz2 +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/libudfread/libudfread.mk b/buildroot-2022.02.1/package/libudfread/libudfread.mk new file mode 100644 index 00000000..55d4fb8e --- /dev/null +++ b/buildroot-2022.02.1/package/libudfread/libudfread.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libudfread +# +################################################################################ + +LIBUDFREAD_VERSION = 1.1.2 +LIBUDFREAD_SOURCE = libudfread-$(LIBUDFREAD_VERSION).tar.bz2 +LIBUDFREAD_SITE = https://code.videolan.org/videolan/libudfread/-/archive/$(LIBUDFREAD_VERSION) +LIBUDFREAD_AUTORECONF = YES +LIBUDFREAD_INSTALL_STAGING = YES +LIBUDFREAD_LICENSE = LGPL-2.1+ +LIBUDFREAD_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libuecc/Config.in b/buildroot-2022.02.1/package/libuecc/Config.in similarity index 100% rename from buildroot-2021.05/package/libuecc/Config.in rename to buildroot-2022.02.1/package/libuecc/Config.in diff --git a/buildroot-2021.05/package/libuecc/libuecc.hash b/buildroot-2022.02.1/package/libuecc/libuecc.hash similarity index 100% rename from buildroot-2021.05/package/libuecc/libuecc.hash rename to buildroot-2022.02.1/package/libuecc/libuecc.hash diff --git a/buildroot-2021.05/package/libuecc/libuecc.mk b/buildroot-2022.02.1/package/libuecc/libuecc.mk similarity index 100% rename from buildroot-2021.05/package/libuecc/libuecc.mk rename to buildroot-2022.02.1/package/libuecc/libuecc.mk diff --git a/buildroot-2021.05/package/libuev/Config.in b/buildroot-2022.02.1/package/libuev/Config.in similarity index 100% rename from buildroot-2021.05/package/libuev/Config.in rename to buildroot-2022.02.1/package/libuev/Config.in diff --git a/buildroot-2022.02.1/package/libuev/libuev.hash b/buildroot-2022.02.1/package/libuev/libuev.hash new file mode 100644 index 00000000..e5c9660a --- /dev/null +++ b/buildroot-2022.02.1/package/libuev/libuev.hash @@ -0,0 +1,4 @@ +# From https://github.com/troglobit/libuev/releases/download/v2.4.0/libuev-2.4.0.tar.xz.sha256 +sha256 31f1aa4f492ba4f6a5dd6b19968ae6a732968dc05cae6575930560b6cee1f5ef libuev-2.4.0.tar.xz +# License files +sha256 694a734d9c1b46ae203314ed1c744a1acebd4fe5fc964b761703772546f0d3ab LICENSE diff --git a/buildroot-2022.02.1/package/libuev/libuev.mk b/buildroot-2022.02.1/package/libuev/libuev.mk new file mode 100644 index 00000000..a32381dc --- /dev/null +++ b/buildroot-2022.02.1/package/libuev/libuev.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# libuev +# +################################################################################ + +LIBUEV_VERSION = 2.4.0 +LIBUEV_SOURCE = libuev-$(LIBUEV_VERSION).tar.xz +LIBUEV_SITE = https://github.com/troglobit/libuev/releases/download/v$(LIBUEV_VERSION) +LIBUEV_LICENSE = MIT +LIBUEV_LICENSE_FILES = LICENSE +LIBUEV_INSTALL_STAGING = YES +LIBUEV_CONF_OPTS = --disable-examples + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libuhttpd/Config.in b/buildroot-2022.02.1/package/libuhttpd/Config.in new file mode 100644 index 00000000..97fc984e --- /dev/null +++ b/buildroot-2022.02.1/package/libuhttpd/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LIBUHTTPD + bool "libuhttpd" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + select BR2_PACKAGE_LIBEV + select BR2_PACKAGE_WOLFSSL_ALL if BR2_PACKAGE_WOLFSSL + help + A lightweight and fully asynchronous HTTP server + library based on libev + + https://github.com/zhaojh329/libuhttpd + +comment "libuhttpd needs a toolchain w/ gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/libuhttpd/libuhttpd.hash b/buildroot-2022.02.1/package/libuhttpd/libuhttpd.hash new file mode 100644 index 00000000..e4fde4eb --- /dev/null +++ b/buildroot-2022.02.1/package/libuhttpd/libuhttpd.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 512d4abfced0ec916d985d3d1eac7528e6676eecae6aca27fdaf313374e29f16 libuhttpd-3.14.1.tar.gz +sha256 99efed4bbc0b62f96f999ef23399e38234fb91651af734fd389a52b033a85b55 LICENSE diff --git a/buildroot-2022.02.1/package/libuhttpd/libuhttpd.mk b/buildroot-2022.02.1/package/libuhttpd/libuhttpd.mk new file mode 100644 index 00000000..b8cf935d --- /dev/null +++ b/buildroot-2022.02.1/package/libuhttpd/libuhttpd.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# libuhttpd +# +################################################################################ + +LIBUHTTPD_VERSION = 3.14.1 +LIBUHTTPD_SITE = https://github.com/zhaojh329/libuhttpd/releases/download/v$(LIBUHTTPD_VERSION) +LIBUHTTPD_LICENSE = MIT +LIBUHTTPD_LICENSE_FILES = LICENSE +LIBUHTTPD_INSTALL_STAGING = YES +LIBUHTTPD_DEPENDENCIES = libev + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBUHTTPD_DEPENDENCIES += openssl +LIBUHTTPD_CONF_OPTS += \ + -DSSL_SUPPORT=ON \ + -DUSE_MBEDTLS=OFF \ + -DUSE_OPENSSL=ON \ + -DUSE_WOLFSSL=OFF +else ifeq ($(BR2_PACKAGE_WOLFSSL),y) +LIBUHTTPD_DEPENDENCIES += wolfssl +LIBUHTTPD_CONF_OPTS += \ + -DSSL_SUPPORT=ON \ + -DUSE_MBEDTLS=OFF \ + -DUSE_OPENSSL=OFF \ + -DUSE_WOLFSSL=ON +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBUHTTPD_DEPENDENCIES += mbedtls +LIBUHTTPD_CONF_OPTS += \ + -DSSL_SUPPORT=ON \ + -DUSE_MBEDTLS=ON \ + -DUSE_OPENSSL=OFF \ + -DUSE_WOLFSSL=OFF +else +LIBUHTTPD_CONF_OPTS += \ + -DSSL_SUPPORT=OFF +endif + +# BUILD_STATIC builds *only* the static lib, which is not what we want for +# BR2_SHARED_STATIC. +ifeq ($(BR2_STATIC_LIBS),y) +LIBUHTTPD_CONF_OPTS += -DBUILD_STATIC=ON +else +LIBUHTTPD_CONF_OPTS += -DBUILD_STATIC=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libuio/0001-configure-remove-po-Makefile.in.patch b/buildroot-2022.02.1/package/libuio/0001-configure-remove-po-Makefile.in.patch similarity index 100% rename from buildroot-2021.05/package/libuio/0001-configure-remove-po-Makefile.in.patch rename to buildroot-2022.02.1/package/libuio/0001-configure-remove-po-Makefile.in.patch diff --git a/buildroot-2021.05/package/libuio/Config.in b/buildroot-2022.02.1/package/libuio/Config.in similarity index 100% rename from buildroot-2021.05/package/libuio/Config.in rename to buildroot-2022.02.1/package/libuio/Config.in diff --git a/buildroot-2022.02.1/package/libuio/libuio.hash b/buildroot-2022.02.1/package/libuio/libuio.hash new file mode 100644 index 00000000..48904a94 --- /dev/null +++ b/buildroot-2022.02.1/package/libuio/libuio.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 cb6d2ed1c6c7fd8e0e4a9cb1d81bd88f3af37bd239fdf8966b3cb3671ff6db86 libuio-6ef3d8d096a641686bfdd112035aa04aa16fe81a.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/libuio/libuio.mk b/buildroot-2022.02.1/package/libuio/libuio.mk new file mode 100644 index 00000000..a0285277 --- /dev/null +++ b/buildroot-2022.02.1/package/libuio/libuio.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# libuio +# +################################################################################ + +LIBUIO_VERSION = 6ef3d8d096a641686bfdd112035aa04aa16fe81a +LIBUIO_SITE = $(call github,Linutronix,libuio,$(LIBUIO_VERSION)) +LIBUIO_LICENSE = LGPL-2.1 (library), GPL-2.0 (programs) +LIBUIO_LICENSE_FILES = COPYING +LIBUIO_CONF_OPTS = --with-glib=no --without-werror +LIBUIO_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-pkgconf +LIBUIO_LIBS = $(TARGET_NLS_LIBS) +LIBUIO_INSTALL_STAGING = YES + +# Fetched from github, no pre-generated configure script provided +LIBUIO_GETTEXTIZE = YES +LIBUIO_AUTORECONF = YES + +# Avoid build issue when makeinfo is missing +LIBUIO_CONF_ENV += MAKEINFO=true + +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +LIBUIO_DEPENDENCIES += argp-standalone +LIBUIO_LIBS += -largp +endif + +LIBUIO_CONF_ENV += LIBS="$(LIBUIO_LIBS)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libunistring/Config.in b/buildroot-2022.02.1/package/libunistring/Config.in similarity index 100% rename from buildroot-2021.05/package/libunistring/Config.in rename to buildroot-2022.02.1/package/libunistring/Config.in diff --git a/buildroot-2022.02.1/package/libunistring/libunistring.hash b/buildroot-2022.02.1/package/libunistring/libunistring.hash new file mode 100644 index 00000000..81ffd4fb --- /dev/null +++ b/buildroot-2022.02.1/package/libunistring/libunistring.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://ftp.gnu.org/gnu/libunistring/libunistring-0.9.10.tar.xz.sig +sha256 5bab55b49f75d77ed26b257997e919b693f29fd4a1bc22e0e6e024c246c72741 libunistring-1.0.tar.xz +# Locally calculated +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LIB diff --git a/buildroot-2022.02.1/package/libunistring/libunistring.mk b/buildroot-2022.02.1/package/libunistring/libunistring.mk new file mode 100644 index 00000000..a69eacd6 --- /dev/null +++ b/buildroot-2022.02.1/package/libunistring/libunistring.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# libunistring +# +################################################################################ + +LIBUNISTRING_VERSION = 1.0 +LIBUNISTRING_SITE = $(BR2_GNU_MIRROR)/libunistring +LIBUNISTRING_SOURCE = libunistring-$(LIBUNISTRING_VERSION).tar.xz +LIBUNISTRING_INSTALL_STAGING = YES +LIBUNISTRING_LICENSE = LGPL-3.0+ or GPL-2.0 +LIBUNISTRING_LICENSE_FILES = COPYING COPYING.LIB +LIBUNISTRING_CPE_ID_VENDOR = gnu + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libunwind/0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch b/buildroot-2022.02.1/package/libunwind/0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch similarity index 100% rename from buildroot-2021.05/package/libunwind/0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch rename to buildroot-2022.02.1/package/libunwind/0001-Add-AO_REQUIRE_CAS-to-fix-build-on-ARM-v6.patch diff --git a/buildroot-2021.05/package/libunwind/Config.in b/buildroot-2022.02.1/package/libunwind/Config.in similarity index 100% rename from buildroot-2021.05/package/libunwind/Config.in rename to buildroot-2022.02.1/package/libunwind/Config.in diff --git a/buildroot-2021.05/package/libunwind/libunwind.hash b/buildroot-2022.02.1/package/libunwind/libunwind.hash similarity index 100% rename from buildroot-2021.05/package/libunwind/libunwind.hash rename to buildroot-2022.02.1/package/libunwind/libunwind.hash diff --git a/buildroot-2022.02.1/package/libunwind/libunwind.mk b/buildroot-2022.02.1/package/libunwind/libunwind.mk new file mode 100644 index 00000000..aaa33464 --- /dev/null +++ b/buildroot-2022.02.1/package/libunwind/libunwind.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# libunwind +# +################################################################################ + +LIBUNWIND_VERSION = 1.5.0 +LIBUNWIND_SITE = http://download.savannah.gnu.org/releases/libunwind +LIBUNWIND_INSTALL_STAGING = YES +LIBUNWIND_LICENSE_FILES = COPYING +LIBUNWIND_LICENSE = MIT +LIBUNWIND_CPE_ID_VENDOR = libunwind_project +LIBUNWIND_AUTORECONF = YES + +LIBUNWIND_CONF_OPTS = \ + --disable-tests \ + $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx-exceptions,--disable-cxx-exceptions) + +ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) +LIBUNWIND_DEPENDENCIES += libatomic_ops +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libupnp/Config.in b/buildroot-2022.02.1/package/libupnp/Config.in similarity index 100% rename from buildroot-2021.05/package/libupnp/Config.in rename to buildroot-2022.02.1/package/libupnp/Config.in diff --git a/buildroot-2022.02.1/package/libupnp/libupnp.hash b/buildroot-2022.02.1/package/libupnp/libupnp.hash new file mode 100644 index 00000000..aebde064 --- /dev/null +++ b/buildroot-2022.02.1/package/libupnp/libupnp.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 091c80aada1e939c2294245c122be2f5e337cc932af7f7d40504751680b5b5ac libupnp-1.14.12.tar.bz2 +sha256 c8b99423cad48bb44e2cf52a496361404290865eac259a82da6d1e4331ececb3 COPYING diff --git a/buildroot-2022.02.1/package/libupnp/libupnp.mk b/buildroot-2022.02.1/package/libupnp/libupnp.mk new file mode 100644 index 00000000..a754ca76 --- /dev/null +++ b/buildroot-2022.02.1/package/libupnp/libupnp.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# libupnp +# +################################################################################ + +LIBUPNP_VERSION = 1.14.12 +LIBUPNP_SOURCE = libupnp-$(LIBUPNP_VERSION).tar.bz2 +LIBUPNP_SITE = \ + http://downloads.sourceforge.net/project/pupnp/release-$(LIBUPNP_VERSION) +LIBUPNP_CONF_ENV = ac_cv_lib_compat_ftime=no +LIBUPNP_INSTALL_STAGING = YES +LIBUPNP_LICENSE = BSD-3-Clause +LIBUPNP_LICENSE_FILES = COPYING +LIBUPNP_CPE_ID_VENDOR = libupnp_project +LIBUPNP_DEPENDENCIES = host-pkgconf + +# Bind the internal miniserver socket with reuseaddr to allow clean restarts. +LIBUPNP_CONF_OPTS += \ + --disable-samples \ + --enable-reuseaddr + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBUPNP_CONF_OPTS += --enable-open-ssl +LIBUPNP_DEPENDENCIES += openssl +else +LIBUPNP_CONF_OPTS += --disable-open-ssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libupnpp/Config.in b/buildroot-2022.02.1/package/libupnpp/Config.in similarity index 100% rename from buildroot-2021.05/package/libupnpp/Config.in rename to buildroot-2022.02.1/package/libupnpp/Config.in diff --git a/buildroot-2021.05/package/libupnpp/libupnpp.hash b/buildroot-2022.02.1/package/libupnpp/libupnpp.hash similarity index 100% rename from buildroot-2021.05/package/libupnpp/libupnpp.hash rename to buildroot-2022.02.1/package/libupnpp/libupnpp.hash diff --git a/buildroot-2021.05/package/libupnpp/libupnpp.mk b/buildroot-2022.02.1/package/libupnpp/libupnpp.mk similarity index 100% rename from buildroot-2021.05/package/libupnpp/libupnpp.mk rename to buildroot-2022.02.1/package/libupnpp/libupnpp.mk diff --git a/buildroot-2022.02.1/package/liburcu/0001-Only-blacklist-ARM-gcc-4.8.0-and-4.8.1.patch b/buildroot-2022.02.1/package/liburcu/0001-Only-blacklist-ARM-gcc-4.8.0-and-4.8.1.patch new file mode 100644 index 00000000..554c4aba --- /dev/null +++ b/buildroot-2022.02.1/package/liburcu/0001-Only-blacklist-ARM-gcc-4.8.0-and-4.8.1.patch @@ -0,0 +1,42 @@ +From 54d8fe7ae40902d6d38e670f4024092f53c14e1f Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Sat, 8 Mar 2014 13:19:14 +0100 +Subject: [PATCH] Only blacklist ARM gcc 4.8.0 and 4.8.1 + +Since many ARM toolchain providers include the bug fix for PR58854 in +their latest releases based on gcc-4.8.2, then only blacklist gcc 4.8.0 +and 4.8.1. + +Signed-off-by: Samuel Martin +[Fabrice: update for 0.13.0] +Signed-off-by: Fabrice Fontaine +--- + urcu/compiler.h | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/include/urcu/arch/arm.h b/include/urcu/arch/arm.h +index 1e30903..56115f1 100644 +--- a/include/urcu/arch/arm.h ++++ b/include/urcu/arch/arm.h +@@ -118,10 +118,17 @@ + */ + + /* ++ * Official gcc releases from 4.8.0 to 4.8.2 have the following bug, ++ * however, many arm toolchain providers have the included the fix for ++ * their latest 4.8.2 releases. ++ * So, we only blacklist gcc 4.8.0 and 4.8.1. ++ * Unfortunately, this bug is not easy to test, so we rely on the ++ * knowledge of the user on its compiler. ++ * + * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854 + */ + #ifdef URCU_GCC_VERSION +-# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40802 ++# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40801 + # error Your gcc version produces clobbered frame accesses + # endif + #endif +-- +1.9.0 + diff --git a/buildroot-2022.02.1/package/liburcu/0002-fix-don-t-use-C-thread_local-on-MacOs.patch b/buildroot-2022.02.1/package/liburcu/0002-fix-don-t-use-C-thread_local-on-MacOs.patch new file mode 100644 index 00000000..002df34d --- /dev/null +++ b/buildroot-2022.02.1/package/liburcu/0002-fix-don-t-use-C-thread_local-on-MacOs.patch @@ -0,0 +1,41 @@ +From e915ab84fd0c02d37504f3eb1e1f3be93ea6dc37 Mon Sep 17 00:00:00 2001 +From: Michael Jeanson +Date: Thu, 9 Sep 2021 12:11:16 -0400 +Subject: [PATCH] fix: don't use C++ thread_local on MacOs + +Recent versions of Apple's clang++ do support 'thread_local' but the +implementation generates additional helper symbols. This is a problem +when accessing an extern TLS variable in a C++ compile unit that is +provided by a C library that doesn't have those extra symbols. + +Fallback to using '__thread' on MacOs. + +Change-Id: I87cb5b3c9293f7bf66f7115f453b546dd793a449 +Signed-off-by: Michael Jeanson +Signed-off-by: Mathieu Desnoyers + +[Retrieved from: +https://github.com/urcu/userspace-rcu/commit/e915ab84fd0c02d37504f3eb1e1f3be93ea6dc37] +Signed-off-by: Fabrice Fontaine +--- + include/urcu/tls-compat.h | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/include/urcu/tls-compat.h b/include/urcu/tls-compat.h +index 24ef1b9a..25cf375a 100644 +--- a/include/urcu/tls-compat.h ++++ b/include/urcu/tls-compat.h +@@ -34,7 +34,12 @@ extern "C" { + + #ifdef CONFIG_RCU_TLS + +-#if defined (__cplusplus) && (__cplusplus >= 201103L) ++/* ++ * Don't use C++ 'thread_local' on MacOs, the implementation is incompatible ++ * with C and will result in a link error when accessing an extern variable ++ * provided by the C library from C++ code. ++ */ ++#if defined (__cplusplus) && (__cplusplus >= 201103L) && !defined(__APPLE__) + # define URCU_TLS_STORAGE_CLASS thread_local + #elif defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) + # define URCU_TLS_STORAGE_CLASS _Thread_local diff --git a/buildroot-2022.02.1/package/liburcu/0003-Always-use-__thread-for-Thread-local-storage-except-on-MSVC.patch b/buildroot-2022.02.1/package/liburcu/0003-Always-use-__thread-for-Thread-local-storage-except-on-MSVC.patch new file mode 100644 index 00000000..aa71cf2f --- /dev/null +++ b/buildroot-2022.02.1/package/liburcu/0003-Always-use-__thread-for-Thread-local-storage-except-on-MSVC.patch @@ -0,0 +1,53 @@ +From 2e359284497c361e3208501fc70d49b2c54dc4ef Mon Sep 17 00:00:00 2001 +From: Michael Jeanson +Date: Tue, 14 Sep 2021 10:41:08 -0400 +Subject: [PATCH] Always use '__thread' for Thread local storage except on MSVC + +Use the GCC extension '__thread' [1] for Thread local storage on all C +and C++ compilers except MSVC. + +While C11 and C++11 respectively offer '_Thread_local' and +'thread_local' as potentialy faster implementations, they offer no +guarantees of compatibility when used in a library interface which might +be used by both C and C++ client code. + +[1] https://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html + +Change-Id: If4fe8bcdbda24b21dedf382112bd5c5f836c00c8 +Signed-off-by: Michael Jeanson +Signed-off-by: Mathieu Desnoyers + +[Retrieved from: +https://github.com/urcu/userspace-rcu/commit/2e359284497c361e3208501fc70d49b2c54dc4ef] +Signed-off-by: Fabrice Fontaine +--- + include/urcu/tls-compat.h | 15 +++++++-------- + 1 file changed, 7 insertions(+), 8 deletions(-) + +diff --git a/include/urcu/tls-compat.h b/include/urcu/tls-compat.h +index 25cf375a..a2c94ded 100644 +--- a/include/urcu/tls-compat.h ++++ b/include/urcu/tls-compat.h +@@ -35,15 +35,14 @@ extern "C" { + #ifdef CONFIG_RCU_TLS + + /* +- * Don't use C++ 'thread_local' on MacOs, the implementation is incompatible +- * with C and will result in a link error when accessing an extern variable +- * provided by the C library from C++ code. ++ * Default to '__thread' on all C and C++ compilers except MSVC. While C11 has ++ * '_Thread_local' and C++11 has 'thread_local', only '__thread' seems to have ++ * a compatible implementation when linking public extern symbols across ++ * language boundaries. ++ * ++ * For more details, see 'https://gcc.gnu.org/onlinedocs/gcc/Thread-Local.html'. + */ +-#if defined (__cplusplus) && (__cplusplus >= 201103L) && !defined(__APPLE__) +-# define URCU_TLS_STORAGE_CLASS thread_local +-#elif defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) +-# define URCU_TLS_STORAGE_CLASS _Thread_local +-#elif defined (_MSC_VER) ++#if defined(_MSC_VER) + # define URCU_TLS_STORAGE_CLASS __declspec(thread) + #else + # define URCU_TLS_STORAGE_CLASS __thread diff --git a/buildroot-2021.05/package/liburcu/Config.in b/buildroot-2022.02.1/package/liburcu/Config.in similarity index 100% rename from buildroot-2021.05/package/liburcu/Config.in rename to buildroot-2022.02.1/package/liburcu/Config.in diff --git a/buildroot-2022.02.1/package/liburcu/liburcu.hash b/buildroot-2022.02.1/package/liburcu/liburcu.hash new file mode 100644 index 00000000..1968c378 --- /dev/null +++ b/buildroot-2022.02.1/package/liburcu/liburcu.hash @@ -0,0 +1,8 @@ +# http://www.lttng.org/files/urcu/userspace-rcu-0.13.1.tar.bz2.sha256 +sha256 3213f33d2b8f710eb920eb1abb279ec04bf8ae6361f44f2513c28c20d3363083 userspace-rcu-0.13.1.tar.bz2 + +# Hash for license files +sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 lgpl-2.1.txt +sha256 8ef8121eddd2fc0779d94331a1d0f1ead9c796343d845e564cd8c8c4ae3d6f6e lgpl-relicensing.txt +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 gpl-2.0.txt +sha256 e8c070cb093be4b2eaf938a5f1c11621163b2d9cfa2790460cf925d81e442fa7 LICENSE diff --git a/buildroot-2022.02.1/package/liburcu/liburcu.mk b/buildroot-2022.02.1/package/liburcu/liburcu.mk new file mode 100644 index 00000000..895dd6bb --- /dev/null +++ b/buildroot-2022.02.1/package/liburcu/liburcu.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# liburcu +# +################################################################################ + +LIBURCU_VERSION = 0.13.1 +LIBURCU_SITE = http://lttng.org/files/urcu +LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2 +LIBURCU_LICENSE = LGPL-2.1+ (library), MIT-like (few source files listed in LICENSE), GPL-2.0+ (test), GPL-3.0 (few *.m4 files) +LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt gpl-2.0.txt LICENSE + +LIBURCU_INSTALL_STAGING = YES + +# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test +# provided by autoconf relies on wchar_t. +LIBURCU_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/liburing/Config.in b/buildroot-2022.02.1/package/liburing/Config.in new file mode 100644 index 00000000..fc13f1c1 --- /dev/null +++ b/buildroot-2022.02.1/package/liburing/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_LIBURING + bool "liburing" + depends on BR2_USE_MMU # madvise() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 + help + This is the io_uring library, liburing. liburing provides + helpers to setup and teardown io_uring instances, and also a + simplified interface for applications that don't need (or + want) to deal with the full kernel side implementation. + + https://git.kernel.dk/cgit/liburing + +comment "liburing needs a toolchain w/ gcc >= 4.9, headers >= 5.1" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 diff --git a/buildroot-2022.02.1/package/liburing/liburing.hash b/buildroot-2022.02.1/package/liburing/liburing.hash new file mode 100644 index 00000000..56e90d71 --- /dev/null +++ b/buildroot-2022.02.1/package/liburing/liburing.hash @@ -0,0 +1,8 @@ +# Locally calculated +sha256 df7c8fd05fd39da622b2814e06f815f11f1beb429487a4330eed64bb7f353dbf liburing-2.1.tar.bz2 + +# Hash for license files +sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL +sha256 d0b225f17ef2d05d5cda6b25b2dc334ef6f5f12537c20edf6e391852a095ec19 LICENSE +sha256 97d62ff5d7cf0b1cef34c33a89877352911278ca4ac1c6c4f24a835baa5ea10b README diff --git a/buildroot-2022.02.1/package/liburing/liburing.mk b/buildroot-2022.02.1/package/liburing/liburing.mk new file mode 100644 index 00000000..874e268d --- /dev/null +++ b/buildroot-2022.02.1/package/liburing/liburing.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# liburing +# +################################################################################ + +LIBURING_VERSION = 2.1 +LIBURING_SOURCE = liburing-$(LIBURING_VERSION).tar.bz2 +LIBURING_SITE = https://git.kernel.dk/cgit/liburing/snapshot +LIBURING_LICENSE = (GPL-2.0 with exceptions and LGPL-2.1+) or MIT +LIBURING_LICENSE_FILES = COPYING COPYING.GPL LICENSE README +LIBURING_INSTALL_STAGING = YES + +define LIBURING_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_IO_URING) +endef + +ifeq ($(BR2_STATIC_LIBS),y) +LIBURING_MAKE_OPTS += ENABLE_SHARED=0 +else +LIBURING_MAKE_OPTS += ENABLE_SHARED=1 +endif + +define LIBURING_CONFIGURE_CMDS + (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure) +endef + +define LIBURING_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(LIBURING_MAKE_OPTS) -C $(@D)/src +endef + +define LIBURING_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(LIBURING_MAKE_OPTS) -C $(@D) \ + DESTDIR=$(STAGING_DIR) install +endef + +define LIBURING_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(LIBURING_MAKE_OPTS) -C $(@D) \ + DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/liburiparser/Config.in b/buildroot-2022.02.1/package/liburiparser/Config.in similarity index 100% rename from buildroot-2021.05/package/liburiparser/Config.in rename to buildroot-2022.02.1/package/liburiparser/Config.in diff --git a/buildroot-2022.02.1/package/liburiparser/liburiparser.hash b/buildroot-2022.02.1/package/liburiparser/liburiparser.hash new file mode 100644 index 00000000..8b408075 --- /dev/null +++ b/buildroot-2022.02.1/package/liburiparser/liburiparser.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 a288a06668528c19e85e38c508335938e1de6fdd4b8f2072401b4533fcebf644 uriparser-0.9.6.tar.xz +sha256 287f09e6546a9610f949f89e8fb937cacfeabd7bfaa8c8a0c18312193bf04ad3 COPYING diff --git a/buildroot-2022.02.1/package/liburiparser/liburiparser.mk b/buildroot-2022.02.1/package/liburiparser/liburiparser.mk new file mode 100644 index 00000000..c9903bd7 --- /dev/null +++ b/buildroot-2022.02.1/package/liburiparser/liburiparser.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# liburiparser +# +################################################################################ + +LIBURIPARSER_VERSION = 0.9.6 +LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.xz +LIBURIPARSER_SITE = https://github.com/uriparser/uriparser/releases/download/uriparser-$(LIBURIPARSER_VERSION) +LIBURIPARSER_LICENSE = BSD-3-Clause +LIBURIPARSER_LICENSE_FILES = COPYING +LIBURIPARSER_CPE_ID_VENDOR = uriparser_project +LIBURIPARSER_CPE_ID_PRODUCT = uriparser +LIBURIPARSER_INSTALL_STAGING = YES +LIBURIPARSER_CONF_OPTS = -DURIPARSER_BUILD_DOCS=OFF -DURIPARSER_BUILD_TESTS=OFF + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +LIBURIPARSER_CONF_OPTS += -DBUILD_SHARED_LIBS=ON +else +LIBURIPARSER_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF +endif + +ifeq ($(BR2_USE_WCHAR),) +LIBURIPARSER_CONF_OPTS += -DURIPARSER_BUILD_WCHAR_T=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/libusb-compat/0001-fix-a-build-issue-on-linux.patch b/buildroot-2022.02.1/package/libusb-compat/0001-fix-a-build-issue-on-linux.patch similarity index 100% rename from buildroot-2021.05/package/libusb-compat/0001-fix-a-build-issue-on-linux.patch rename to buildroot-2022.02.1/package/libusb-compat/0001-fix-a-build-issue-on-linux.patch diff --git a/buildroot-2021.05/package/libusb-compat/Config.in b/buildroot-2022.02.1/package/libusb-compat/Config.in similarity index 100% rename from buildroot-2021.05/package/libusb-compat/Config.in rename to buildroot-2022.02.1/package/libusb-compat/Config.in diff --git a/buildroot-2021.05/package/libusb-compat/libusb-compat.hash b/buildroot-2022.02.1/package/libusb-compat/libusb-compat.hash similarity index 100% rename from buildroot-2021.05/package/libusb-compat/libusb-compat.hash rename to buildroot-2022.02.1/package/libusb-compat/libusb-compat.hash diff --git a/buildroot-2021.05/package/libusb-compat/libusb-compat.mk b/buildroot-2022.02.1/package/libusb-compat/libusb-compat.mk similarity index 100% rename from buildroot-2021.05/package/libusb-compat/libusb-compat.mk rename to buildroot-2022.02.1/package/libusb-compat/libusb-compat.mk diff --git a/buildroot-2022.02.1/package/libusb/0001-configure.ac-link-with-latomic-if-needed.patch b/buildroot-2022.02.1/package/libusb/0001-configure.ac-link-with-latomic-if-needed.patch new file mode 100644 index 00000000..5f6c88e5 --- /dev/null +++ b/buildroot-2022.02.1/package/libusb/0001-configure.ac-link-with-latomic-if-needed.patch @@ -0,0 +1,39 @@ +From 0b857081d687f7ee41483a3d7e9846af44a5ba7d Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 7 Feb 2022 11:55:54 +0100 +Subject: [PATCH] configure.ac: link with -latomic if needed + +libusb unconditionally uses atomic_fetch_add since version 1.0.25 and +https://github.com/libusb/libusb/commit/1a08aa84d96397a3840a75abe66051f5360c2c84 +https://github.com/libusb/libusb/commit/eed8a371ea53939096ba94d44001e0637d042572 +but some architectures (e.g. sparc) needs to link with -latomic to be +able to use it. So check if -latomic is needed and update libusb-1.0.pc +accordingly to avoid the following build failure with openocd: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/buildroot/autobuild/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libusb-1.0.so: undefined reference to `__atomic_fetch_add_4' +collect2: error: ld returned 1 exit status + +Fixes: + - http://autobuild.buildroot.org/results/4a27a769bb3cdf78643c3049b87d792178d6512c + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/libusb/libusb/pull/1064] +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.ac b/configure.ac +index f6cf2f9..002bcf6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -152,6 +152,7 @@ if test "x$platform" = xposix; then + AC_SEARCH_LIBS([pthread_create], [pthread], + [test "x$ac_cv_search_pthread_create" != "xnone required" && AC_SUBST(THREAD_LIBS, [-lpthread])], + [], []) ++ AC_SEARCH_LIBS([__atomic_fetch_add_4], [atomic]) + elif test "x$platform" = xwindows; then + AC_DEFINE([PLATFORM_WINDOWS], [1], [Define to 1 if compiling for a Windows platform.]) + else +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/libusb/0002-linux_usbfs-fix-maybe-uninitialized-error.patch b/buildroot-2022.02.1/package/libusb/0002-linux_usbfs-fix-maybe-uninitialized-error.patch new file mode 100644 index 00000000..ea299081 --- /dev/null +++ b/buildroot-2022.02.1/package/libusb/0002-linux_usbfs-fix-maybe-uninitialized-error.patch @@ -0,0 +1,37 @@ +From bea5891591402f14940a607eafbdcd169ff8827f Mon Sep 17 00:00:00 2001 +From: Yegor Yefremov +Date: Sun, 6 Feb 2022 07:12:14 +0100 +Subject: [PATCH] linux_usbfs: fix maybe-uninitialized error +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Initialize active_config to an invalid value to avoid the following +compilation error: + +os/linux_usbfs.c: In function ‘op_get_configuration’: +os/linux_usbfs.c:1452:12: error: ‘active_config’ may be used uninitialized in this function [-Werror=maybe-uninitialized] + 1452 | *config = (uint8_t)active_config; + +Signed-off-by: Yegor Yefremov +Upstream: https://github.com/libusb/libusb/pull/1062 +--- + libusb/os/linux_usbfs.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c +index c300675..285d9ca 100644 +--- a/libusb/os/linux_usbfs.c ++++ b/libusb/os/linux_usbfs.c +@@ -1429,7 +1429,7 @@ static int op_get_configuration(struct libusb_device_handle *handle, + uint8_t *config) + { + struct linux_device_priv *priv = usbi_get_device_priv(handle->dev); +- int active_config; ++ int active_config = -1; /* to please compiler */ + int r; + + if (priv->sysfs_dir) { +-- +2.17.0 + diff --git a/buildroot-2021.05/package/libusb/Config.in b/buildroot-2022.02.1/package/libusb/Config.in similarity index 100% rename from buildroot-2021.05/package/libusb/Config.in rename to buildroot-2022.02.1/package/libusb/Config.in diff --git a/buildroot-2022.02.1/package/libusb/libusb.hash b/buildroot-2022.02.1/package/libusb/libusb.hash new file mode 100644 index 00000000..a18935fe --- /dev/null +++ b/buildroot-2022.02.1/package/libusb/libusb.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 8a28ef197a797ebac2702f095e81975e2b02b2eeff2774fa909c78a74ef50849 libusb-1.0.25.tar.bz2 +sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2022.02.1/package/libusb/libusb.mk b/buildroot-2022.02.1/package/libusb/libusb.mk new file mode 100644 index 00000000..aa306e29 --- /dev/null +++ b/buildroot-2022.02.1/package/libusb/libusb.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# libusb +# +################################################################################ + +LIBUSB_VERSION_MAJOR = 1.0 +LIBUSB_VERSION = $(LIBUSB_VERSION_MAJOR).25 +LIBUSB_SOURCE = libusb-$(LIBUSB_VERSION).tar.bz2 +LIBUSB_SITE = https://github.com/libusb/libusb/releases/download/v$(LIBUSB_VERSION) +LIBUSB_LICENSE = LGPL-2.1+ +LIBUSB_LICENSE_FILES = COPYING +LIBUSB_CPE_ID_VENDOR = libusb +LIBUSB_DEPENDENCIES = host-pkgconf +LIBUSB_INSTALL_STAGING = YES +# We're patching configure.ac +LIBUSB_AUTORECONF = YES + +# Avoid the discovery of udev for the host variant +HOST_LIBUSB_CONF_OPTS = --disable-udev +HOST_LIBUSB_DEPENDENCIES = host-pkgconf + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBUSB_DEPENDENCIES += udev +else +LIBUSB_CONF_OPTS += --disable-udev +endif + +ifeq ($(BR2_PACKAGE_LIBUSB_EXAMPLES),y) +LIBUSB_CONF_OPTS += --enable-examples-build +define LIBUSB_INSTALL_TARGET_EXAMPLES + $(foreach example,listdevs xusb fxload hotplugtest testlibusb dpfp dpfp_threaded sam3u_benchmark, + $(INSTALL) -D -m0755 $(@D)/examples/$(example) $(TARGET_DIR)/usr/bin/$(example) + ) +endef +LIBUSB_POST_INSTALL_TARGET_HOOKS += LIBUSB_INSTALL_TARGET_EXAMPLES +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libusbgx/0001-Add-include-of-sys-sysmacro.h.patch b/buildroot-2022.02.1/package/libusbgx/0001-Add-include-of-sys-sysmacro.h.patch similarity index 100% rename from buildroot-2021.05/package/libusbgx/0001-Add-include-of-sys-sysmacro.h.patch rename to buildroot-2022.02.1/package/libusbgx/0001-Add-include-of-sys-sysmacro.h.patch diff --git a/buildroot-2021.05/package/libusbgx/Config.in b/buildroot-2022.02.1/package/libusbgx/Config.in similarity index 100% rename from buildroot-2021.05/package/libusbgx/Config.in rename to buildroot-2022.02.1/package/libusbgx/Config.in diff --git a/buildroot-2021.05/package/libusbgx/libusbgx.hash b/buildroot-2022.02.1/package/libusbgx/libusbgx.hash similarity index 100% rename from buildroot-2021.05/package/libusbgx/libusbgx.hash rename to buildroot-2022.02.1/package/libusbgx/libusbgx.hash diff --git a/buildroot-2021.05/package/libusbgx/libusbgx.mk b/buildroot-2022.02.1/package/libusbgx/libusbgx.mk similarity index 100% rename from buildroot-2021.05/package/libusbgx/libusbgx.mk rename to buildroot-2022.02.1/package/libusbgx/libusbgx.mk diff --git a/buildroot-2021.05/package/libuv/Config.in b/buildroot-2022.02.1/package/libuv/Config.in similarity index 100% rename from buildroot-2021.05/package/libuv/Config.in rename to buildroot-2022.02.1/package/libuv/Config.in diff --git a/buildroot-2022.02.1/package/libuv/libuv.hash b/buildroot-2022.02.1/package/libuv/libuv.hash new file mode 100644 index 00000000..172ef1f1 --- /dev/null +++ b/buildroot-2022.02.1/package/libuv/libuv.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 371e5419708f6aaeb8656671f89400b92a9bba6443369af1bb70bcd6e4b3c764 libuv-1.42.0.tar.gz +sha256 6d20216ae022fbeed23916f48508fd807ece3d8464992330643b0e64e5c0c24b LICENSE diff --git a/buildroot-2022.02.1/package/libuv/libuv.mk b/buildroot-2022.02.1/package/libuv/libuv.mk new file mode 100644 index 00000000..9fe77595 --- /dev/null +++ b/buildroot-2022.02.1/package/libuv/libuv.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# libuv +# +################################################################################ + +# When bumping libuv, check if a new version of uvw is available +# and bump it too. +LIBUV_VERSION = 1.42.0 +LIBUV_SITE = $(call github,libuv,libuv,v$(LIBUV_VERSION)) +LIBUV_DEPENDENCIES = host-pkgconf +LIBUV_INSTALL_STAGING = YES +LIBUV_AUTORECONF = YES +LIBUV_LICENSE = BSD-2-Clause, BSD-3-Clause, ISC, MIT +LIBUV_LICENSE_FILES = LICENSE +LIBUV_CPE_ID_VENDOR = libuv + +# Upstream needs tests to be run sequentially. This is the default in +# automake 1.11 and before, but not starting in 1.12. To maintain +# sequentiality in 1.12 and later, the automake option 'serial-tests' +# must be used, Unfortunately, it is not recognised by 1.11 and +# before. So upstream only adds it conditionally. We use automake +# 1.14, so we need it. +define LIBUV_FIXUP_AUTOGEN + echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \ + >$(@D)/m4/libuv-extra-automake-flags.m4 +endef +LIBUV_POST_PATCH_HOOKS += LIBUV_FIXUP_AUTOGEN + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libuwsc/0001-CMakeLists.txt-add-BUILD_EXAMPLE.patch b/buildroot-2022.02.1/package/libuwsc/0001-CMakeLists.txt-add-BUILD_EXAMPLE.patch similarity index 100% rename from buildroot-2021.05/package/libuwsc/0001-CMakeLists.txt-add-BUILD_EXAMPLE.patch rename to buildroot-2022.02.1/package/libuwsc/0001-CMakeLists.txt-add-BUILD_EXAMPLE.patch diff --git a/buildroot-2022.02.1/package/libuwsc/0002-fix-bad-indentation.patch b/buildroot-2022.02.1/package/libuwsc/0002-fix-bad-indentation.patch new file mode 100644 index 00000000..f33f944d --- /dev/null +++ b/buildroot-2022.02.1/package/libuwsc/0002-fix-bad-indentation.patch @@ -0,0 +1,27 @@ +From 8cb416140741a596235b8acc46b2b119b13ebfab Mon Sep 17 00:00:00 2001 +From: Rosen Penev +Date: Tue, 6 Jul 2021 21:01:52 -0700 +Subject: [PATCH] fix bad indentation + +Fixes error with GCC11. + +[Retrieved from: +https://github.com/zhaojh329/libuwsc/commit/8cb416140741a596235b8acc46b2b119b13ebfab] +Signed-off-by: Fabrice Fontaine +--- + src/lua/uwsc_lua.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/lua/uwsc_lua.c b/src/lua/uwsc_lua.c +index de6932e..84689fe 100644 +--- a/src/lua/uwsc_lua.c ++++ b/src/lua/uwsc_lua.c +@@ -178,7 +178,7 @@ static int uwsc_lua_on(lua_State *L) + else + luaL_argcheck(L, false, 2, "available event name: open message error close"); + +- return 0; ++ return 0; + } + + static int __uwsc_lua_send(lua_State *L, int op) diff --git a/buildroot-2021.05/package/libuwsc/Config.in b/buildroot-2022.02.1/package/libuwsc/Config.in similarity index 100% rename from buildroot-2021.05/package/libuwsc/Config.in rename to buildroot-2022.02.1/package/libuwsc/Config.in diff --git a/buildroot-2021.05/package/libuwsc/libuwsc.hash b/buildroot-2022.02.1/package/libuwsc/libuwsc.hash similarity index 100% rename from buildroot-2021.05/package/libuwsc/libuwsc.hash rename to buildroot-2022.02.1/package/libuwsc/libuwsc.hash diff --git a/buildroot-2021.05/package/libuwsc/libuwsc.mk b/buildroot-2022.02.1/package/libuwsc/libuwsc.mk similarity index 100% rename from buildroot-2021.05/package/libuwsc/libuwsc.mk rename to buildroot-2022.02.1/package/libuwsc/libuwsc.mk diff --git a/buildroot-2022.02.1/package/libv4l/Config.in b/buildroot-2022.02.1/package/libv4l/Config.in new file mode 100644 index 00000000..c88f280c --- /dev/null +++ b/buildroot-2022.02.1/package/libv4l/Config.in @@ -0,0 +1,46 @@ +config BR2_PACKAGE_LIBV4L + bool "libv4l" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + libv4l is a collection of libraries which adds a thin + abstraction layer on top of video4linux2 devices. libv4l + consists of 3 different libraries: libv4lconvert, libv4l1 and + libv4l2. + + http://linuxtv.org/wiki/index.php/V4l-utils + +if BR2_PACKAGE_LIBV4L + +comment "libv4l JPEG support not enabled" + depends on !BR2_PACKAGE_JPEG + +config BR2_PACKAGE_LIBV4L_UTILS + bool "v4l-utils tools" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + help + v4l-utils is a collection of various video4linux and DVB + utilities. + Enable this if you want to build the following tools: + - cx18-ctl + - dvb-fe-tool, dvbv5-zap, dvbv5-scan, dvb-format-convert + - decode_tm6000 + - ir-keytable + - media-ctl + - v4l2-compliance + - v4l2-ctl, cx18-ctl, ivtv-ctl + - v4l2-sysfs-path + - rds-ctl + - qv4l2 (if Qt is enabled) + +comment "v4l-utils tools needs a toolchain w/ C++11" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +endif + +comment "libv4l needs a toolchain w/ threads, C++ and headers >= 3.0" + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 diff --git a/buildroot-2022.02.1/package/libv4l/libv4l.hash b/buildroot-2022.02.1/package/libv4l/libv4l.hash new file mode 100644 index 00000000..d99d5e09 --- /dev/null +++ b/buildroot-2022.02.1/package/libv4l/libv4l.hash @@ -0,0 +1,9 @@ +# Locally calculated after checking signature +# https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.20.0.tar.bz2.asc +# with key 05D0169C26E41593418129DF199A64FADFB500FF +sha256 65c6fbe830a44ca105c443b027182c1b2c9053a91d1e72ad849dfab388b94e31 v4l-utils-1.22.1.tar.bz2 + +# Locally calculated +sha256 391e4da1c54a422a78d83be7bf84b2dfb8bacdd8ad256fa4374e128655584a8a COPYING +sha256 5a7f623a50e384aaf6d2ced068339ddf93d0a50d3a0ecbe86f125b07804ecc78 COPYING.libv4l +sha256 34229b5aadfb768d0d083987cba54203a920904a3ec8320823c6125b9831acd1 lib/libv4l1/libv4l1-kernelcode-license.txt diff --git a/buildroot-2022.02.1/package/libv4l/libv4l.mk b/buildroot-2022.02.1/package/libv4l/libv4l.mk new file mode 100644 index 00000000..8300f5c9 --- /dev/null +++ b/buildroot-2022.02.1/package/libv4l/libv4l.mk @@ -0,0 +1,90 @@ +################################################################################ +# +# libv4l +# +################################################################################ + +LIBV4L_VERSION = 1.22.1 +LIBV4L_SOURCE = v4l-utils-$(LIBV4L_VERSION).tar.bz2 +LIBV4L_SITE = https://linuxtv.org/downloads/v4l-utils +LIBV4L_INSTALL_STAGING = YES +LIBV4L_DEPENDENCIES = host-pkgconf +LIBV4L_CONF_OPTS = --disable-doxygen-doc --disable-qvidcap +# needed to get utils/qv4l link flags right +LIBV4L_AUTORECONF = YES +# add host-gettext for AM_ICONV macro +LIBV4L_DEPENDENCIES += host-gettext + +# fix uclibc-ng configure/compile +LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' + +# v4l-utils components have different licences, see v4l-utils.spec for details +LIBV4L_LICENSE = GPL-2.0+ (utilities), LGPL-2.1+ (libraries) +LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +LIBV4L_DEPENDENCIES += alsa-lib +endif + +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +LIBV4L_DEPENDENCIES += argp-standalone +LIBV4L_LIBS += -largp +endif + +LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +ifeq ($(BR2_PACKAGE_JPEG),y) +LIBV4L_DEPENDENCIES += jpeg +LIBV4L_CONF_OPTS += --with-jpeg +else +LIBV4L_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +LIBV4L_DEPENDENCIES += libgl +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIBV4L_CONF_OPTS += --with-libudev --with-udevdir=/usr/lib/udev +LIBV4L_DEPENDENCIES += udev +else +LIBV4L_CONF_OPTS += --without-libudev +endif + +ifeq ($(BR2_PACKAGE_LIBGLU),y) +LIBV4L_DEPENDENCIES += libglu +endif + +ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y) +LIBV4L_CONF_OPTS += --enable-v4l-utils +LIBV4L_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) + +# v4l2-ctl needs c++11, use gnu++11 for typeof support +LIBV4L_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=gnu++11" + +# IR BPF decoder support needs toolchain with linux-headers >= 3.18 +# libelf and clang support +LIBV4L_CONF_OPTS += --disable-bpf + +ifeq ($(BR2_PACKAGE_QT5BASE)$(BR2_PACKAGE_QT5BASE_GUI)$(BR2_PACKAGE_QT5BASE_WIDGETS),yyy) +LIBV4L_CONF_OPTS += --enable-qv4l2 +LIBV4L_DEPENDENCIES += qt5base +# protect against host version detection of moc-qt5/rcc-qt5/uic-qt5 +LIBV4L_CONF_ENV += \ + ac_cv_prog_MOC=$(HOST_DIR)/bin/moc \ + ac_cv_prog_RCC=$(HOST_DIR)/bin/rcc \ + ac_cv_prog_UIC=$(HOST_DIR)/bin/uic +else +LIBV4L_CONF_OPTS += --disable-qv4l2 +endif +else +LIBV4L_CONF_OPTS += --disable-v4l-utils +endif + +ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y) +LIBV4L_DEPENDENCIES += sdl2_image +endif + +LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libva-intel-driver/Config.in b/buildroot-2022.02.1/package/libva-intel-driver/Config.in similarity index 100% rename from buildroot-2021.05/package/libva-intel-driver/Config.in rename to buildroot-2022.02.1/package/libva-intel-driver/Config.in diff --git a/buildroot-2021.05/package/libva-intel-driver/libva-intel-driver.hash b/buildroot-2022.02.1/package/libva-intel-driver/libva-intel-driver.hash similarity index 100% rename from buildroot-2021.05/package/libva-intel-driver/libva-intel-driver.hash rename to buildroot-2022.02.1/package/libva-intel-driver/libva-intel-driver.hash diff --git a/buildroot-2021.05/package/libva-intel-driver/libva-intel-driver.mk b/buildroot-2022.02.1/package/libva-intel-driver/libva-intel-driver.mk similarity index 100% rename from buildroot-2021.05/package/libva-intel-driver/libva-intel-driver.mk rename to buildroot-2022.02.1/package/libva-intel-driver/libva-intel-driver.mk diff --git a/buildroot-2021.05/package/libva-utils/Config.in b/buildroot-2022.02.1/package/libva-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/libva-utils/Config.in rename to buildroot-2022.02.1/package/libva-utils/Config.in diff --git a/buildroot-2022.02.1/package/libva-utils/libva-utils.hash b/buildroot-2022.02.1/package/libva-utils/libva-utils.hash new file mode 100644 index 00000000..18a078dc --- /dev/null +++ b/buildroot-2022.02.1/package/libva-utils/libva-utils.hash @@ -0,0 +1,5 @@ +# From https://github.com/intel/libva-utils/releases/download/2.13.0/libva-utils-2.13.0.tar.bz2.sha1sum +sha1 7ab945cf232387f762891f9e4f7a6cb41e0766e8 libva-utils-2.13.0.tar.bz2 +# Locally computed +sha256 db3ae0bd63c2a3f6ef498450c29ffc99c387ce611e1eb5db6a8da1f88845d612 libva-utils-2.13.0.tar.bz2 +sha256 c6220c9f87832c27abcb8a32eafdd2823e13ce146b3ea63d5deae2a76798ef50 COPYING diff --git a/buildroot-2022.02.1/package/libva-utils/libva-utils.mk b/buildroot-2022.02.1/package/libva-utils/libva-utils.mk new file mode 100644 index 00000000..e6e31df8 --- /dev/null +++ b/buildroot-2022.02.1/package/libva-utils/libva-utils.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# libva-utils +# +################################################################################ + +LIBVA_UTILS_VERSION = 2.13.0 +LIBVA_UTILS_SOURCE = libva-utils-$(LIBVA_UTILS_VERSION).tar.bz2 +LIBVA_UTILS_SITE = https://github.com/intel/libva-utils/releases/download/$(LIBVA_UTILS_VERSION) +LIBVA_UTILS_LICENSE = MIT +LIBVA_UTILS_LICENSE_FILES = COPYING +LIBVA_UTILS_DEPENDENCIES = host-pkgconf libva + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libva/Config.in b/buildroot-2022.02.1/package/libva/Config.in similarity index 100% rename from buildroot-2021.05/package/libva/Config.in rename to buildroot-2022.02.1/package/libva/Config.in diff --git a/buildroot-2022.02.1/package/libva/libva.hash b/buildroot-2022.02.1/package/libva/libva.hash new file mode 100644 index 00000000..7b66a770 --- /dev/null +++ b/buildroot-2022.02.1/package/libva/libva.hash @@ -0,0 +1,5 @@ +# From https://github.com/intel/libva/releases/download/2.13.0/libva-2.13.0.tar.bz2.sha1sum +sha1 2adb2c023371dd68fe0d23e58afcf0b072b79828 libva-2.13.0.tar.bz2 +# Locally computed +sha256 fad383f39f36115814bd0eda1496a4cc01761643bd962635400df2d4470ad460 libva-2.13.0.tar.bz2 +sha256 c86a782ee845b52472dae9b9d79fb915d333628ac0efe49cdce63644814931de COPYING diff --git a/buildroot-2022.02.1/package/libva/libva.mk b/buildroot-2022.02.1/package/libva/libva.mk new file mode 100644 index 00000000..6ac53865 --- /dev/null +++ b/buildroot-2022.02.1/package/libva/libva.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# libva +# +################################################################################ + +LIBVA_VERSION = 2.13.0 +LIBVA_SOURCE = libva-$(LIBVA_VERSION).tar.bz2 +LIBVA_SITE = https://github.com/intel/libva/releases/download/$(LIBVA_VERSION) +LIBVA_LICENSE = MIT +LIBVA_LICENSE_FILES = COPYING +LIBVA_INSTALL_STAGING = YES +LIBVA_DEPENDENCIES = host-pkgconf libdrm + +# libdrm is a hard-dependency +LIBVA_CONF_OPTS = \ + --enable-drm \ + --with-drivers-path="/usr/lib/va" + +ifeq ($(BR2_PACKAGE_XORG7),y) +LIBVA_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXfixes +LIBVA_CONF_OPTS += --enable-x11 +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +LIBVA_DEPENDENCIES += libgl +LIBVA_CONF_OPTS += --enable-glx +endif +else +LIBVA_CONF_OPTS += --disable-glx --disable-x11 +endif + +ifeq ($(BR2_PACKAGE_WAYLAND),y) +LIBVA_DEPENDENCIES += wayland +LIBVA_CONF_ENV += ac_cv_path_WAYLAND_SCANNER=$(HOST_DIR)/usr/bin/wayland-scanner +LIBVA_CONF_OPTS += --enable-wayland +else +LIBVA_CONF_OPTS += --disable-wayland +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/libvdpau/Config.in b/buildroot-2022.02.1/package/libvdpau/Config.in similarity index 100% rename from buildroot-2021.05/package/libvdpau/Config.in rename to buildroot-2022.02.1/package/libvdpau/Config.in diff --git a/buildroot-2022.02.1/package/libvdpau/libvdpau.hash b/buildroot-2022.02.1/package/libvdpau/libvdpau.hash new file mode 100644 index 00000000..65365732 --- /dev/null +++ b/buildroot-2022.02.1/package/libvdpau/libvdpau.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 4258824c5a4555ef31de0a7d82b3caf19e75a16a13949f1edafc5f6fb2d33f30 libvdpau-1.4.tar.bz2 +# Locally computed +sha256 ce4af7294872ff07f6e82ae5f1f5eba926215b1e2fb6d55d64759de082458d61 COPYING diff --git a/buildroot-2022.02.1/package/libvdpau/libvdpau.mk b/buildroot-2022.02.1/package/libvdpau/libvdpau.mk new file mode 100644 index 00000000..ae2f3888 --- /dev/null +++ b/buildroot-2022.02.1/package/libvdpau/libvdpau.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# libvdpau +# +################################################################################ + +LIBVDPAU_VERSION = 1.4 +LIBVDPAU_SOURCE = libvdpau-$(LIBVDPAU_VERSION).tar.bz2 +LIBVDPAU_SITE = \ + https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$(LIBVDPAU_VERSION) +LIBVDPAU_LICENSE = MIT +LIBVDPAU_LICENSE_FILES = COPYING +LIBVDPAU_INSTALL_STAGING = YES + +LIBVDPAU_DEPENDENCIES = host-pkgconf xlib_libX11 xlib_libXext + +LIBVDPAU_CONF_OPTS = \ + -Ddocumentation=false \ + -Dmoduledir=/usr/lib/vdpau + +ifeq ($(BR2_PACKAGE_XORGPROTO),y) +LIBVDPAU_DEPENDENCIES += xorgproto +LIBVDPAU_CONF_OPTS += -Ddri2=true +else +LIBVDPAU_CONF_OPTS += -Ddri2=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libvips/Config.in b/buildroot-2022.02.1/package/libvips/Config.in similarity index 100% rename from buildroot-2021.05/package/libvips/Config.in rename to buildroot-2022.02.1/package/libvips/Config.in diff --git a/buildroot-2021.05/package/libvips/libvips.hash b/buildroot-2022.02.1/package/libvips/libvips.hash similarity index 100% rename from buildroot-2021.05/package/libvips/libvips.hash rename to buildroot-2022.02.1/package/libvips/libvips.hash diff --git a/buildroot-2021.05/package/libvips/libvips.mk b/buildroot-2022.02.1/package/libvips/libvips.mk similarity index 100% rename from buildroot-2021.05/package/libvips/libvips.mk rename to buildroot-2022.02.1/package/libvips/libvips.mk diff --git a/buildroot-2022.02.1/package/libvirt/90-kvm.rules b/buildroot-2022.02.1/package/libvirt/90-kvm.rules new file mode 100644 index 00000000..5145c27e --- /dev/null +++ b/buildroot-2022.02.1/package/libvirt/90-kvm.rules @@ -0,0 +1 @@ +KERNEL=="kvm", OWNER="root", GROUP="kvm", MODE="0660" diff --git a/buildroot-2022.02.1/package/libvirt/Config.in b/buildroot-2022.02.1/package/libvirt/Config.in new file mode 100644 index 00000000..af0fc36a --- /dev/null +++ b/buildroot-2022.02.1/package/libvirt/Config.in @@ -0,0 +1,93 @@ +config BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS + bool + default y if BR2_aarch64 + default y if BR2_i386 + default y if BR2_x86_64 + depends on BR2_USE_MMU # fork() + +comment "libvirt needs udev /dev management, a toolchain w/ threads, dynamic library, wchar, kernel headers >= 3.12 (4.11 for AArch64)" + depends on BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS + depends on !BR2_PACKAGE_HAS_UDEV || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + !(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 && \ + (BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64)) + +config BR2_PACKAGE_LIBVIRT + bool "libvirt" + depends on BR2_PACKAGE_LIBVIRT_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 || !BR2_aarch64 + depends on BR2_PACKAGE_HAS_UDEV + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + select BR2_PACKAGE_GNUTLS + # configure: You must install the pciaccess module to build with udev + select BR2_PACKAGE_LIBPCIACCESS + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBTIRPC + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_ZLIB + # run-time dependencies + select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_INIT_SYSTEMD + help + Libvirt is collection of software that provides a convenient + way to manage virtual machines and other virtualization + functionality, such as storage and network interface + management. These software pieces include an API library, a + daemon (libvirtd), and a command line utility (virsh). + + https://libvirt.org/ + +if BR2_PACKAGE_LIBVIRT + +config BR2_PACKAGE_LIBVIRT_DAEMON + bool "libvirtd" + default y + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_DNSMASQ + select BR2_PACKAGE_EBTABLES + select BR2_PACKAGE_IPTABLES + select BR2_PACKAGE_IPROUTE2 + # These are required because there is no way to unequivocally select a modern netcat + select BR2_PACKAGE_NETCAT_OPENBSD if !BR2_PACKAGE_NMAP_NCAT + select BR2_PACKAGE_RADVD + help + Build the libvirt daemon (libvirtd) otherwise build only the + utility programs. + +# Stateful drivers are useful only when building the daemon. +if BR2_PACKAGE_LIBVIRT_DAEMON + +config BR2_PACKAGE_LIBVIRT_QEMU + bool "qemu" + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp + depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # qemu + select BR2_PACKAGE_HWDATA # libpciaccess + select BR2_PACKAGE_HWDATA_PCI_IDS # libpciaccess + select BR2_PACKAGE_LIBSECCOMP + select BR2_PACKAGE_QEMU + select BR2_PACKAGE_QEMU_SYSTEM if BR2_PACKAGE_QEMU_CUSTOM_TARGETS = "" + select BR2_PACKAGE_YAJL + help + QEMU/KVM support + +comment "qemu needs a toolchain with gcc >= 8" + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS + depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + +config BR2_PACKAGE_LIBVIRT_LXC + bool "lxc" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # lxc + select BR2_PACKAGE_LXC + help + Linux Container support + +comment "lxc needs a toolchain w/ gcc >= 4.7" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 + +endif + +endif diff --git a/buildroot-2022.02.1/package/libvirt/S91virtlogd b/buildroot-2022.02.1/package/libvirt/S91virtlogd new file mode 100644 index 00000000..03d17b5d --- /dev/null +++ b/buildroot-2022.02.1/package/libvirt/S91virtlogd @@ -0,0 +1,65 @@ +#!/bin/sh + +DAEMON="virtlogd" +EXECFILE="/usr/sbin/$DAEMON" +PIDFILE="/var/run/$DAEMON.pid" + +VIRTLOGD_ARGS="" + +# shellcheck source=/dev/null +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +start() { + printf 'Starting %s: ' "$DAEMON" + # shellcheck disable=SC2086 # we need the word splitting + start-stop-daemon -S -q -p "$PIDFILE" -x "$EXECFILE" \ + -- -d $VIRTLOGD_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -q -p "$PIDFILE" -x "$EXECFILE" + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +# On receipt of SIGUSR1 virtlogd will re-exec() its binary, while maintaining +# all current logs and clients. This allows for live upgrades of the virtlogd +# service. +reload() { + printf 'Reloading %s: ' "$DAEMON" + start-stop-daemon -K -s USR1 -q -p "$PIDFILE" -x "$EXECFILE" + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +case "$1" in + start|stop|restart|reload) + "$1";; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2022.02.1/package/libvirt/S92libvirtd b/buildroot-2022.02.1/package/libvirt/S92libvirtd new file mode 100644 index 00000000..736519f3 --- /dev/null +++ b/buildroot-2022.02.1/package/libvirt/S92libvirtd @@ -0,0 +1,132 @@ +#!/bin/sh + +DAEMON="libvirtd" +EXECFILE="/usr/sbin/$DAEMON" +PIDFILE="/var/run/$DAEMON.pid" + +LIBVIRTD_ARGS="" + +# shellcheck source=/dev/null +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +trap 'rm -f "$TMP_MODULE_LIST" "$TMP_PIDFILE_LIST"' EXIT + +is_alive() { + [ -e "$1" ] \ + && exe="/proc/$(cat "$1" 2>/dev/null)/exe" \ + && [ -s "$exe" ] \ + && [ "$(readlink -f "$exe")" = "$2" ] +} + +load_modules() { + printf 'Loading kernel modules: ' + kver="$(uname -r)" + TMP_MODULE_LIST="$(mktemp -q)" || { + echo 'FAIL creating temporary modules list' + exit 1 + } + [ -d "/lib/modules/$kver/kernel/drivers/net" ] && \ + find "/lib/modules/$kver/kernel/drivers/net" \ + -name "tun.ko*" >> "$TMP_MODULE_LIST" + [ -d "/lib/modules/$kver/kernel/drivers/vhost" ] && \ + find "/lib/modules/$kver/kernel/drivers/vhost" \ + -name "vhost?net.ko*" >> "$TMP_MODULE_LIST" + [ -d "/lib/modules/$kver/kernel/drivers/net" ] && \ + find "/lib/modules/$kver/kernel/drivers/vfio" \ + -name "*.ko*" >> "$TMP_MODULE_LIST" + while read -r f; do + m="$(basename "${f%.ko*}")" + if modprobe -q "$m"; then + printf '%s ' "$m" + else + echo "FAIL on $m" + exit 1 + fi + done < "$TMP_MODULE_LIST" + echo "OK" +} + +# +# If libvirtd dies it leves behind one stale dnsmasq per virtual network that +# must be killed before starting libvirtd again. +# +rm_stale_dnsmasq() { + [ -d /var/run/libvirt/network ] || return 0 + TMP_PIDFILE_LIST="$(mktemp -q)" || { + echo "Could not create temporary pidfile list" + exit 1 + } + find /var/run/libvirt/network -name '*.pid' > "$TMP_PIDFILE_LIST" + while read -r pidfile; do + if is_alive "$pidfile" /usr/sbin/dnsmasq; then + start-stop-daemon -K -q -p "$pidfile" -x /usr/sbin/dnsmasq + status=$? + if [ "$status" -ne 0 ]; then + echo "Could not stop stale dnsmasq daemons" + exit 1 + fi + rm -f "$pidfile" + fi + done < "$TMP_PIDFILE_LIST" +} + +start() { + if is_alive "$PIDFILE" "$EXECFILE"; then + # libvirtd is already running. Leave it alone. + printf 'Starting %s: FAIL\n' "$DAEMON" + return 1 + fi + rm_stale_dnsmasq + load_modules + printf 'Starting %s: ' "$DAEMON" + # shellcheck disable=SC2086 # we need the word splitting + start-stop-daemon -S -q -p "$PIDFILE" -x "$EXECFILE" \ + -- -d $LIBVIRTD_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -q -p "$PIDFILE" -x "$EXECFILE" + status=$? + if [ "$status" -eq 0 ]; then + rm_stale_dnsmasq + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +# On receipt of SIGHUP libvirtd will reload its configuration. +reload() { + printf 'Reloading %s: ' "$DAEMON" + start-stop-daemon -K -s HUP -q -p "$PIDFILE" -x "$EXECFILE" + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +case "$1" in + start|stop|restart|reload) + "$1";; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2022.02.1/package/libvirt/libvirt.hash b/buildroot-2022.02.1/package/libvirt/libvirt.hash new file mode 100644 index 00000000..de9ebff5 --- /dev/null +++ b/buildroot-2022.02.1/package/libvirt/libvirt.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 cb318014af097327928c6e3d72922e3be02a3e6401247b2aa52d9ab8e0b480f9 libvirt-7.10.0.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/libvirt/libvirt.mk b/buildroot-2022.02.1/package/libvirt/libvirt.mk new file mode 100644 index 00000000..1dc61a75 --- /dev/null +++ b/buildroot-2022.02.1/package/libvirt/libvirt.mk @@ -0,0 +1,322 @@ +################################################################################ +# +# libvirt +# +################################################################################ + +LIBVIRT_VERSION = 7.10.0 +LIBVIRT_SITE = https://libvirt.org/sources +LIBVIRT_SOURCE = libvirt-$(LIBVIRT_VERSION).tar.xz +LIBVIRT_LICENSE = LGPL-2.1+ +LIBVIRT_LICENSE_FILES = COPYING +LIBVIRT_CPE_ID_VENDOR = redhat +LIBVIRT_INSTALL_STAGING = YES +LIBVIRT_DEPENDENCIES = \ + host-libxslt \ + host-nfs-utils \ + host-pkgconf \ + host-python-docutils \ + gnutls \ + libglib2 \ + libpciaccess \ + libtirpc \ + libxml2 \ + udev \ + zlib \ + $(TARGET_NLS_DEPENDENCIES) + +LIBVIRT_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) + +LIBVIRT_CONF_ENV += \ + CFLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" \ + LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`" + +LIBVIRT_CONF_OPTS = \ + -Drpath=disabled \ + -Dapparmor=disabled \ + -Ddocs=disabled \ + -Ddriver_bhyve=disabled \ + -Ddriver_ch=disabled \ + -Ddriver_esx=disabled \ + -Ddriver_hyperv=disabled \ + -Ddriver_libxl=disabled \ + -Ddriver_openvz=disabled \ + -Ddriver_remote=enabled \ + -Ddriver_secrets=enabled \ + -Ddriver_test=disabled \ + -Ddriver_vbox=disabled \ + -Ddriver_vmware=disabled \ + -Ddriver_vz=disabled \ + -Ddtrace=disabled \ + -Dexpensive_tests=disabled \ + -Dfirewalld=disabled \ + -Dfirewalld_zone=disabled \ + -Dglusterfs=disabled \ + -Dhost_validate=enabled \ + -Dinit_script=$(if $(BR2_INIT_SYSTEMD),systemd,none) \ + -Dlogin_shell=disabled \ + -Dnetcf=disabled \ + -Dnls=$(if $(BR2_SYSTEM_ENABLE_NLS),enabled,disabled) \ + -Dnumad=disabled \ + -Dopenwsman=disabled \ + -Dpciaccess=enabled \ + -Dpm_utils=disabled \ + -Dsanlock=disabled \ + -Dsasl=disabled \ + -Dsecdriver_apparmor=disabled \ + -Dstorage_iscsi=disabled \ + -Dstorage_iscsi_direct=disabled \ + -Dstorage_mpath=disabled \ + -Dsysctl_config=enabled \ + -Dtest_coverage=false \ + -Dtests=disabled \ + -Dudev=enabled \ + -Dwireshark_dissector=disabled + +# warning_level should only drive the level of warnings during the +# compilation of C code. However, libvirt misuses that to also +# enable SSP when warning_level == 2 +# Force warning_level=1 to disable SSP, and let our toolchain wrapper +# handle it. +LIBVIRT_CONF_OPTS += -Dwarning_level=1 + +ifeq ($(BR2_PACKAGE_ATTR),y) +LIBVIRT_CONF_OPTS += -Dattr=enabled +LIBVIRT_DEPENDENCIES += attr +else +LIBVIRT_CONF_OPTS += -Dattr=disabled +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +LIBVIRT_CONF_OPTS += -Daudit=enabled +LIBVIRT_DEPENDENCIES += audit +else +LIBVIRT_CONF_OPTS += -Daudit=disabled +endif + +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +LIBVIRT_CONF_OPTS += -Dbash_completion=enabled +LIBVIRT_DEPENDENCIES += bash-completion +else +LIBVIRT_CONF_OPTS += -Dbash_completion=disabled +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y) +LIBVIRT_CONF_OPTS += -Dblkid=enabled +LIBVIRT_DEPENDENCIES += util-linux +else +LIBVIRT_CONF_OPTS += -Dblkid=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) +LIBVIRT_CONF_OPTS += -Dcapng=enabled +LIBVIRT_DEPENDENCIES += libcap-ng +else +LIBVIRT_CONF_OPTS += -Dcapng=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +LIBVIRT_CONF_OPTS += -Dcurl=enabled +LIBVIRT_DEPENDENCIES += libcurl +else +LIBVIRT_CONF_OPTS += -Dcurl=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBFUSE),y) +LIBVIRT_CONF_OPTS += -Dfuse=enabled +LIBVIRT_DEPENDENCIES += libfuse +else +LIBVIRT_CONF_OPTS += -Dfuse=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBISCSI),y) +LIBVIRT_CONF_OPTS += -Dlibiscsi=enabled +LIBVIRT_DEPENDENCIES += libiscsi +else +LIBVIRT_CONF_OPTS += -Dlibiscsi=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBNL),y) +LIBVIRT_CONF_OPTS += -Dlibnl=enabled +LIBVIRT_DEPENDENCIES += libnl +else +LIBVIRT_CONF_OPTS += -Dlibnl=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBPCAP),y) +LIBVIRT_CONF_OPTS += -Dlibpcap=enabled +LIBVIRT_DEPENDENCIES += libpcap +else +LIBVIRT_CONF_OPTS += -Dlibpcap=disabled +endif + +ifeq ($(BR2_PACKAGE_NUMACTL),y) +LIBVIRT_CONF_OPTS += -Dnumactl=enabled +LIBVIRT_DEPENDENCIES += numactl +else +LIBVIRT_CONF_OPTS += -Dnumactl=disabled +endif + +ifeq ($(BR2_PACKAGE_POLKIT),y) +LIBVIRT_CONF_OPTS += -Dpolkit=enabled +LIBVIRT_DEPENDENCIES += polkit +else +LIBVIRT_CONF_OPTS += -Dpolkit=disabled +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +LIBVIRT_CONF_OPTS += -Dreadline=enabled +LIBVIRT_DEPENDENCIES += readline +else +LIBVIRT_CONF_OPTS += -Dreadline=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +LIBVIRT_CONF_OPTS += -Dselinux=enabled -Dsecdriver_selinux=enabled \ + -Dselinux_mount=/sys/fs/selinux +LIBVIRT_DEPENDENCIES += libselinux +else +LIBVIRT_CONF_OPTS += -Dselinux=disabled -Dsecdriver_selinux=disabled +endif + +ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),y) +LIBVIRT_CONF_OPTS += -Dstorage_lvm=enabled +LIBVIRT_DEPENDENCIES += host-lvm2 lvm2 +else +LIBVIRT_CONF_OPTS += -Dstorage_lvm=disabled +endif + +ifeq ($(BR2_PACKAGE_YAJL),y) +LIBVIRT_CONF_OPTS += -Dyajl=enabled +LIBVIRT_DEPENDENCIES += yajl +else +LIBVIRT_CONF_OPTS += -Dyajl=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBVIRT_DAEMON),y) +# Network is used by daemon, only +LIBVIRT_CONF_OPTS += \ + -Ddriver_interface=enabled \ + -Ddriver_libvirtd=enabled \ + -Ddriver_network=enabled + +ifeq ($(BR2_PACKAGE_LIBSSH),y) +LIBVIRT_CONF_OPTS += -Dlibssh=enabled +LIBVIRT_DEPENDENCIES += libssh +else +LIBVIRT_CONF_OPTS += -Dlibssh=disabled +endif + +# Can't build nss plugin without network or yajl +ifeq ($(BR2_PACKAGE_LIBNSS)$(BR2_PACKAGE_YAJL),yy) +LIBVIRT_CONF_OPTS += -Dnss=enabled +LIBVIRT_DEPENDENCIES += libnss +else +LIBVIRT_CONF_OPTS += -Dnss=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBSSH2),y) +LIBVIRT_CONF_OPTS += -Dlibssh2=enabled +LIBVIRT_DEPENDENCIES += libssh2 +else +LIBVIRT_CONF_OPTS += -Dlibssh2=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBVIRT_LXC),y) +LIBVIRT_CONF_OPTS += -Dlogin_shell=enabled -Ddriver_lxc=enabled +LIBVIRT_DEPENDENCIES += lxc +else +LIBVIRT_CONF_OPTS += -Dlogin_shell=disabled -Ddriver_lxc=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBVIRT_QEMU),y) +LIBVIRT_CONF_OPTS += -Ddriver_qemu=enabled -Dqemu_user=qemu -Dqemu_group=kvm +else +LIBVIRT_CONF_OPTS += -Ddriver_qemu=disabled -Dqemu_user=no -Dqemu_group=no +endif + +else # BR2_PACKAGE_LIBVIRT_DAEMON + +LIBVIRT_CONF_OPTS += \ + -Ddriver_interface=disabled \ + -Ddriver_libvirtd=disabled \ + -Ddriver_network=disabled + +endif + +define LIBVIRT_INSTALL_UDEV_RULES + $(INSTALL) -D -m 644 package/libvirt/90-kvm.rules \ + $(TARGET_DIR)/etc/udev/rules.d/90-kvm.rules +endef +LIBVIRT_POST_INSTALL_TARGET_HOOKS += LIBVIRT_INSTALL_UDEV_RULES + +# Adjust directory ownerships and permissions. Notice /var/log is a symlink to +# /tmp in the default sysvinit skeleton, so some directories may disappear at +# run-time. Set the permissions anyway, since they are valid for the default +# systemd skeleton. +define LIBVIRT_PERMISSIONS + /etc/libvirt d 700 root root - - - - - + /etc/libvirt/nwfilter d 700 root root - - - - - + /var/lib/libvirt d 755 root root - - - - - + /var/lib/libvirt/boot d 711 root root - - - - - + /var/lib/libvirt/dnsmasq d 755 root root - - - - - + /var/lib/libvirt/filesystems d 711 root root - - - - - + /var/lib/libvirt/images d 711 root root - - - - - + /var/lib/libvirt/network d 700 root root - - - - - + /var/lib/libvirt/qemu d 751 qemu kvm - - - - - + /var/lib/libvirt/qemu/autostart d 700 root root - - - - - + /var/lib/libvirt/qemu/networks d 700 root root - - - - - + /var/lib/libvirt/qemu/networks/autostart d 700 root root - - - - - + /var/lib/libvirt/qemu/channel d 755 qemu kvm - - - - - + /var/lib/libvirt/qemu/channel/target d 755 qemu kvm - - - - - + /var/lib/libvirt/qemu/dump d 755 qemu kvm - - - - - + /var/lib/libvirt/qemu/nvram d 755 qemu kvm - - - - - + /var/lib/libvirt/qemu/save d 755 qemu kvm - - - - - + /var/lib/libvirt/qemu/snapshot d 755 qemu kvm - - - - - + /var/lib/libvirt/secrets d 700 root root - - - - - + /var/lib/libvirt/storage d 755 root root - - - - - + /var/lib/libvirt/storage/autostart d 755 root root - - - - - + /var/cache/libvirt d 711 root root - - - - - + /var/cache/libvirt/lxc d 750 root root - - - - - + /var/cache/libvirt/qemu d 750 qemu kvm - - - - - + /var/cache/libvirt/qemu/capabilities d 755 root root - - - - - + /var/log/libvirt d 700 root root - - - - - + /var/log/libvirt/lxc d 750 root root - - - - - + /var/log/libvirt/qemu d 750 root root - - - - - + /var/log/swtpm d 755 root root - - - - - + /var/log/swtpm/libvirt d 755 root root - - - - - + /var/log/swtpm/libvirt/qemu d 711 root root - - - - - +endef + +# libvirt may need to create persistent files (e.g. VM definitions) in these +# directories. Move them to /var/lib because /etc may be on a read-only or +# volatile (initramfs) filesystem. We could tweak the code to change these +# paths but the patch would be large and would break compatibility with +# ordinary installations and with the documentation. +define LIBVIRT_CREATE_SYMLINKS + $(INSTALL) -m 700 -d $(TARGET_DIR)/etc/libvirt + $(INSTALL) -m 755 -d $(TARGET_DIR)/var/lib/libvirt + $(INSTALL) -m 751 -d $(TARGET_DIR)/var/lib/libvirt/qemu + $(INSTALL) -m 700 -d $(TARGET_DIR)/var/lib/libvirt/secrets + $(INSTALL) -m 755 -d $(TARGET_DIR)/var/lib/libvirt/storage + ln -s -f ../../var/lib/libvirt/qemu $(TARGET_DIR)/etc/libvirt/ + ln -s -f ../../var/lib/libvirt/secrets $(TARGET_DIR)/etc/libvirt/ + ln -s -f ../../var/lib/libvirt/storage $(TARGET_DIR)/etc/libvirt/ +endef + +LIBVIRT_PRE_INSTALL_TARGET_HOOKS += LIBVIRT_CREATE_SYMLINKS + +ifeq ($(BR2_PACKAGE_LIBVIRT_QEMU),y) +define LIBVIRT_USERS + qemu -1 kvm -1 * - - - Libvirt qemu/kvm daemon +endef +endif + +ifeq ($(BR2_PACKAGE_LIBVIRT_DAEMON),y) +define LIBVIRT_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/libvirt/S91virtlogd $(TARGET_DIR)/etc/init.d/S91virtlogd + $(INSTALL) -D -m 0755 package/libvirt/S92libvirtd $(TARGET_DIR)/etc/init.d/S92libvirtd +endef +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/libvncserver/Config.in b/buildroot-2022.02.1/package/libvncserver/Config.in new file mode 100644 index 00000000..6189b379 --- /dev/null +++ b/buildroot-2022.02.1/package/libvncserver/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_LIBVNCSERVER + bool "libvncserver" + depends on BR2_USE_MMU # VNCommand.c uses fork() + # binutils issue (bad expression) + depends on !BR2_nios2 + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LZO + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + libvncserver is a VNC server/client library. + + https://libvnc.github.io/ + +if BR2_PACKAGE_LIBVNCSERVER + +config BR2_PACKAGE_LIBVNCSERVER_TIGHTPNG + bool "TightPNG encoding support" + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBPNG + help + TightPNG encoding speeds up HTML5 based VNC clients like + noVNC. + + http://wiki.qemu.org/VNC_Tight_PNG + +endif + +comment "libvncserver needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on !BR2_nios + depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/libvncserver/libvncserver.hash b/buildroot-2022.02.1/package/libvncserver/libvncserver.hash similarity index 100% rename from buildroot-2021.05/package/libvncserver/libvncserver.hash rename to buildroot-2022.02.1/package/libvncserver/libvncserver.hash diff --git a/buildroot-2021.05/package/libvncserver/libvncserver.mk b/buildroot-2022.02.1/package/libvncserver/libvncserver.mk similarity index 100% rename from buildroot-2021.05/package/libvncserver/libvncserver.mk rename to buildroot-2022.02.1/package/libvncserver/libvncserver.mk diff --git a/buildroot-2021.05/package/libvorbis/Config.in b/buildroot-2022.02.1/package/libvorbis/Config.in similarity index 100% rename from buildroot-2021.05/package/libvorbis/Config.in rename to buildroot-2022.02.1/package/libvorbis/Config.in diff --git a/buildroot-2021.05/package/libvorbis/libvorbis.hash b/buildroot-2022.02.1/package/libvorbis/libvorbis.hash similarity index 100% rename from buildroot-2021.05/package/libvorbis/libvorbis.hash rename to buildroot-2022.02.1/package/libvorbis/libvorbis.hash diff --git a/buildroot-2021.05/package/libvorbis/libvorbis.mk b/buildroot-2022.02.1/package/libvorbis/libvorbis.mk similarity index 100% rename from buildroot-2021.05/package/libvorbis/libvorbis.mk rename to buildroot-2022.02.1/package/libvorbis/libvorbis.mk diff --git a/buildroot-2021.05/package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch b/buildroot-2022.02.1/package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch similarity index 100% rename from buildroot-2021.05/package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch rename to buildroot-2022.02.1/package/libvpx/0001-vpx_mem-vpx_mem.h-Fix-compilation-with-uClibc.patch diff --git a/buildroot-2021.05/package/libvpx/Config.in b/buildroot-2022.02.1/package/libvpx/Config.in similarity index 100% rename from buildroot-2021.05/package/libvpx/Config.in rename to buildroot-2022.02.1/package/libvpx/Config.in diff --git a/buildroot-2022.02.1/package/libvpx/libvpx.hash b/buildroot-2022.02.1/package/libvpx/libvpx.hash new file mode 100644 index 00000000..4e9bd91d --- /dev/null +++ b/buildroot-2022.02.1/package/libvpx/libvpx.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 965e51c91ad9851e2337aebcc0f517440c637c506f3a03948062e3d5ea129a83 libvpx-1.11.0.tar.gz +sha256 8267348d5af1262c11d1a08de2f5afc77457755f1ac658627dd9acf71011d615 LICENSE +sha256 cc3273e0694ea5896145e0677699b53471b03ea43021ddc50e7923fbb9f5023c PATENTS diff --git a/buildroot-2022.02.1/package/libvpx/libvpx.mk b/buildroot-2022.02.1/package/libvpx/libvpx.mk new file mode 100644 index 00000000..ece1ad2c --- /dev/null +++ b/buildroot-2022.02.1/package/libvpx/libvpx.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# libvpx +# +################################################################################ + +LIBVPX_VERSION = 1.11.0 +LIBVPX_SITE = $(call github,webmproject,libvpx,v$(LIBVPX_VERSION)) +LIBVPX_LICENSE = BSD-3-Clause +LIBVPX_LICENSE_FILES = LICENSE PATENTS +LIBVPX_CPE_ID_VENDOR = webmproject +LIBVPX_INSTALL_STAGING = YES + +# ld is being used with cc options. therefore, pretend ld is cc. +LIBVPX_CONF_ENV = \ + LD="$(TARGET_CC)" \ + CROSS=$(GNU_TARGET_NAME) + +LIBVPX_CONF_OPTS = \ + --disable-examples \ + --disable-docs \ + --disable-unit-tests + +# vp9/ratectrl_rtc.cc +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +LIBVPX_CONF_OPTS += --enable-vp9-encoder +else +LIBVPX_CONF_OPTS += --disable-vp9-encoder +endif + +# This is not a true autotools package. It is based on the ffmpeg build system +define LIBVPX_CONFIGURE_CMDS + (cd $(LIBVPX_SRCDIR) && rm -rf config.cache && \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + $(LIBVPX_CONF_ENV) \ + ./configure \ + --target=generic-gnu \ + --enable-pic \ + --prefix=/usr \ + $(SHARED_STATIC_LIBS_OPTS) \ + $(LIBVPX_CONF_OPTS) \ + ) +endef + +define LIBVPX_BUILD_CMDS + $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) -C $(@D) all +endef + +define LIBVPX_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(STAGING_DIR)" -C $(@D) install +endef + +define LIBVPX_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(LIBVPX_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/libwebsock/0001-Switch-to-use-pkg-config-to-detect-libevent-and-open.patch b/buildroot-2022.02.1/package/libwebsock/0001-Switch-to-use-pkg-config-to-detect-libevent-and-open.patch similarity index 100% rename from buildroot-2021.05/package/libwebsock/0001-Switch-to-use-pkg-config-to-detect-libevent-and-open.patch rename to buildroot-2022.02.1/package/libwebsock/0001-Switch-to-use-pkg-config-to-detect-libevent-and-open.patch diff --git a/buildroot-2021.05/package/libwebsock/0002-fix-ssl.patch b/buildroot-2022.02.1/package/libwebsock/0002-fix-ssl.patch similarity index 100% rename from buildroot-2021.05/package/libwebsock/0002-fix-ssl.patch rename to buildroot-2022.02.1/package/libwebsock/0002-fix-ssl.patch diff --git a/buildroot-2021.05/package/libwebsock/0003-fix-incorrect-inline.patch b/buildroot-2022.02.1/package/libwebsock/0003-fix-incorrect-inline.patch similarity index 100% rename from buildroot-2021.05/package/libwebsock/0003-fix-incorrect-inline.patch rename to buildroot-2022.02.1/package/libwebsock/0003-fix-incorrect-inline.patch diff --git a/buildroot-2021.05/package/libwebsock/Config.in b/buildroot-2022.02.1/package/libwebsock/Config.in similarity index 100% rename from buildroot-2021.05/package/libwebsock/Config.in rename to buildroot-2022.02.1/package/libwebsock/Config.in diff --git a/buildroot-2021.05/package/libwebsock/libwebsock.hash b/buildroot-2022.02.1/package/libwebsock/libwebsock.hash similarity index 100% rename from buildroot-2021.05/package/libwebsock/libwebsock.hash rename to buildroot-2022.02.1/package/libwebsock/libwebsock.hash diff --git a/buildroot-2021.05/package/libwebsock/libwebsock.mk b/buildroot-2022.02.1/package/libwebsock/libwebsock.mk similarity index 100% rename from buildroot-2021.05/package/libwebsock/libwebsock.mk rename to buildroot-2022.02.1/package/libwebsock/libwebsock.mk diff --git a/buildroot-2021.05/package/libwebsockets/Config.in b/buildroot-2022.02.1/package/libwebsockets/Config.in similarity index 100% rename from buildroot-2021.05/package/libwebsockets/Config.in rename to buildroot-2022.02.1/package/libwebsockets/Config.in diff --git a/buildroot-2021.05/package/libwebsockets/libwebsockets.hash b/buildroot-2022.02.1/package/libwebsockets/libwebsockets.hash similarity index 100% rename from buildroot-2021.05/package/libwebsockets/libwebsockets.hash rename to buildroot-2022.02.1/package/libwebsockets/libwebsockets.hash diff --git a/buildroot-2021.05/package/libwebsockets/libwebsockets.mk b/buildroot-2022.02.1/package/libwebsockets/libwebsockets.mk similarity index 100% rename from buildroot-2021.05/package/libwebsockets/libwebsockets.mk rename to buildroot-2022.02.1/package/libwebsockets/libwebsockets.mk diff --git a/buildroot-2021.05/package/libwpe/Config.in b/buildroot-2022.02.1/package/libwpe/Config.in similarity index 100% rename from buildroot-2021.05/package/libwpe/Config.in rename to buildroot-2022.02.1/package/libwpe/Config.in diff --git a/buildroot-2022.02.1/package/libwpe/libwpe.hash b/buildroot-2022.02.1/package/libwpe/libwpe.hash new file mode 100644 index 00000000..2ebe4f19 --- /dev/null +++ b/buildroot-2022.02.1/package/libwpe/libwpe.hash @@ -0,0 +1,7 @@ +# From https://wpewebkit.org/releases/libwpe-1.12.0.tar.xz.sums +md5 5a3f11789535d826370ba465ea141393 libwpe-1.12.0.tar.xz +sha1 91aa47a593a5db511d667b3bdbaa76dee4301311 libwpe-1.12.0.tar.xz +sha256 e8eeca228a6b4c36294cfb63f7d3ba9ada47a430904a5a973b3c99c96a44c18c libwpe-1.12.0.tar.xz + +# Hashes for license files: +sha256 35bef295cedbbf179eaee14328002587a0e7dc08ebf3f15ea080a6f2815f0d7b COPYING diff --git a/buildroot-2022.02.1/package/libwpe/libwpe.mk b/buildroot-2022.02.1/package/libwpe/libwpe.mk new file mode 100644 index 00000000..fe3c4b16 --- /dev/null +++ b/buildroot-2022.02.1/package/libwpe/libwpe.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# libwpe +# +################################################################################ + +LIBWPE_VERSION = 1.12.0 +LIBWPE_SITE = https://wpewebkit.org/releases +LIBWPE_SOURCE = libwpe-$(LIBWPE_VERSION).tar.xz +LIBWPE_INSTALL_STAGING = YES +LIBWPE_LICENSE = BSD-2-Clause +LIBWPE_LICENSE_FILES = COPYING +LIBWPE_DEPENDENCIES = libegl libxkbcommon + +LIBWPE_CFLAGS = $(TARGET_CFLAGS) +LIBWPE_CXXFLAGS = $(TARGET_CXXFLAGS) + +# Workaround for https://github.com/raspberrypi/userland/issues/316 +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +LIBWPE_CFLAGS += -D_GNU_SOURCE +LIBWPE_CXXFLAGS += -D_GNU_SOURCE +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libxcrypt/Config.in b/buildroot-2022.02.1/package/libxcrypt/Config.in similarity index 100% rename from buildroot-2021.05/package/libxcrypt/Config.in rename to buildroot-2022.02.1/package/libxcrypt/Config.in diff --git a/buildroot-2022.02.1/package/libxcrypt/libxcrypt.hash b/buildroot-2022.02.1/package/libxcrypt/libxcrypt.hash new file mode 100644 index 00000000..99ddf62b --- /dev/null +++ b/buildroot-2022.02.1/package/libxcrypt/libxcrypt.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 e4ff47b7fa5370fa08e27258f8a0de5cb7e9b09c297ec7ab56a8a82e229a1c84 libxcrypt-4.4.27.tar.gz +sha256 f9b48b0bc67a92b752780710aa774cf08b62ec2ebaa3f4aebd00069fba6effd2 LICENSING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2022.02.1/package/libxcrypt/libxcrypt.mk b/buildroot-2022.02.1/package/libxcrypt/libxcrypt.mk new file mode 100644 index 00000000..65efa2ba --- /dev/null +++ b/buildroot-2022.02.1/package/libxcrypt/libxcrypt.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# libxcrypt +# +################################################################################ + +LIBXCRYPT_VERSION = 4.4.27 +LIBXCRYPT_SITE = $(call github,besser82,libxcrypt,v$(LIBXCRYPT_VERSION)) +LIBXCRYPT_LICENSE = LGPL-2.1+ +LIBXCRYPT_LICENSE_FILES = LICENSING COPYING.LIB +LIBXCRYPT_INSTALL_STAGING = YES +LIBXCRYPT_AUTORECONF = YES + +# Some warnings turn into errors with some sensitive compilers +LIBXCRYPT_CONF_OPTS = --disable-werror + +# Disable obsolete and unsecure API +LIBXCRYPT_CONF_OPTS += --disable-obsolete_api + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libxkbcommon/Config.in b/buildroot-2022.02.1/package/libxkbcommon/Config.in new file mode 100644 index 00000000..4e73a24a --- /dev/null +++ b/buildroot-2022.02.1/package/libxkbcommon/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LIBXKBCOMMON + bool "libxkbcommon" + select BR2_PACKAGE_LIBXCB if BR2_PACKAGE_XORG7 + help + xkbcommon is a keymap compiler and support library which + processes a reduced subset of keymaps as defined by the XKB + specification. + + https://xkbcommon.org diff --git a/buildroot-2022.02.1/package/libxkbcommon/libxkbcommon.hash b/buildroot-2022.02.1/package/libxkbcommon/libxkbcommon.hash new file mode 100644 index 00000000..c00fffe7 --- /dev/null +++ b/buildroot-2022.02.1/package/libxkbcommon/libxkbcommon.hash @@ -0,0 +1,5 @@ +# From https://lists.freedesktop.org/archives/wayland-devel/2021-September/041976.html +sha256 b3c710d27a2630054e1e1399c85b7f330ef03359b460f0c1b3b587fd01fe9234 libxkbcommon-1.3.1.tar.xz + +# License file: +sha256 086caee279449369d41c1157911ec7696e707b93feba7280de757d3c470b2dfb LICENSE diff --git a/buildroot-2022.02.1/package/libxkbcommon/libxkbcommon.mk b/buildroot-2022.02.1/package/libxkbcommon/libxkbcommon.mk new file mode 100644 index 00000000..ee2bc1ee --- /dev/null +++ b/buildroot-2022.02.1/package/libxkbcommon/libxkbcommon.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# libxkbcommon +# +################################################################################ + +LIBXKBCOMMON_VERSION = 1.3.1 +LIBXKBCOMMON_SITE = https://xkbcommon.org/download +LIBXKBCOMMON_SOURCE = libxkbcommon-$(LIBXKBCOMMON_VERSION).tar.xz +LIBXKBCOMMON_LICENSE = MIT/X11 +LIBXKBCOMMON_LICENSE_FILES = LICENSE +LIBXKBCOMMON_INSTALL_STAGING = YES +LIBXKBCOMMON_DEPENDENCIES = host-bison host-flex +LIBXKBCOMMON_CONF_OPTS = \ + -Denable-docs=false \ + -Denable-wayland=false \ + -Denable-xkbregistry=false + +ifeq ($(BR2_PACKAGE_XORG7),y) +LIBXKBCOMMON_CONF_OPTS += -Denable-x11=true +LIBXKBCOMMON_DEPENDENCIES += libxcb +else +LIBXKBCOMMON_CONF_OPTS += -Denable-x11=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/libxml-parser-perl/libxml-parser-perl.hash b/buildroot-2022.02.1/package/libxml-parser-perl/libxml-parser-perl.hash similarity index 100% rename from buildroot-2021.05/package/libxml-parser-perl/libxml-parser-perl.hash rename to buildroot-2022.02.1/package/libxml-parser-perl/libxml-parser-perl.hash diff --git a/buildroot-2021.05/package/libxml-parser-perl/libxml-parser-perl.mk b/buildroot-2022.02.1/package/libxml-parser-perl/libxml-parser-perl.mk similarity index 100% rename from buildroot-2021.05/package/libxml-parser-perl/libxml-parser-perl.mk rename to buildroot-2022.02.1/package/libxml-parser-perl/libxml-parser-perl.mk diff --git a/buildroot-2021.05/package/libxml2/Config.in b/buildroot-2022.02.1/package/libxml2/Config.in similarity index 100% rename from buildroot-2021.05/package/libxml2/Config.in rename to buildroot-2022.02.1/package/libxml2/Config.in diff --git a/buildroot-2022.02.1/package/libxml2/libxml2.hash b/buildroot-2022.02.1/package/libxml2/libxml2.hash new file mode 100644 index 00000000..81ac3e3f --- /dev/null +++ b/buildroot-2022.02.1/package/libxml2/libxml2.hash @@ -0,0 +1,4 @@ +# From http://ftp.acc.umu.se/pub/gnome/sources/libxml2/2.9/libxml2-2.9.13.sha256sum +sha256 276130602d12fe484ecc03447ee5e759d0465558fbc9d6bd144e3745306ebf0e libxml2-2.9.13.tar.xz +# License files, locally calculated +sha256 c5c63674f8a83c4d2e385d96d1c670a03cb871ba2927755467017317878574bd COPYING diff --git a/buildroot-2022.02.1/package/libxml2/libxml2.mk b/buildroot-2022.02.1/package/libxml2/libxml2.mk new file mode 100644 index 00000000..5382f28e --- /dev/null +++ b/buildroot-2022.02.1/package/libxml2/libxml2.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# libxml2 +# +################################################################################ + +LIBXML2_VERSION_MAJOR = 2.9 +LIBXML2_VERSION = $(LIBXML2_VERSION_MAJOR).13 +LIBXML2_SOURCE = libxml2-$(LIBXML2_VERSION).tar.xz +LIBXML2_SITE = \ + http://ftp.gnome.org/pub/gnome/sources/libxml2/$(LIBXML2_VERSION_MAJOR) +LIBXML2_INSTALL_STAGING = YES +LIBXML2_LICENSE = MIT +LIBXML2_LICENSE_FILES = COPYING +LIBXML2_CPE_ID_VENDOR = xmlsoft +LIBXML2_CONFIG_SCRIPTS = xml2-config + +# relocation truncated to fit: R_68K_GOT16O +ifeq ($(BR2_m68k_cf),y) +LIBXML2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" +endif + +LIBXML2_CONF_OPTS = --with-gnu-ld --without-python --without-debug + +HOST_LIBXML2_DEPENDENCIES = host-pkgconf +LIBXML2_DEPENDENCIES = host-pkgconf + +HOST_LIBXML2_CONF_OPTS = --without-zlib --without-lzma --without-python + +ifeq ($(BR2_PACKAGE_ICU),y) +LIBXML2_DEPENDENCIES += icu +LIBXML2_CONF_OPTS += --with-icu +else +LIBXML2_CONF_OPTS += --without-icu +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LIBXML2_DEPENDENCIES += zlib +LIBXML2_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr +else +LIBXML2_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +LIBXML2_DEPENDENCIES += xz +LIBXML2_CONF_OPTS += --with-lzma +else +LIBXML2_CONF_OPTS += --without-lzma +endif + +LIBXML2_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y) +LIBXML2_CONF_OPTS += --with-iconv +else +LIBXML2_CONF_OPTS += --without-iconv +endif + +define LIBXML2_CLEANUP_XML2CONF + rm -f $(TARGET_DIR)/usr/lib/xml2Conf.sh +endef +LIBXML2_POST_INSTALL_TARGET_HOOKS += LIBXML2_CLEANUP_XML2CONF + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) + +# libxml2 for the host +LIBXML2_HOST_BINARY = $(HOST_DIR)/bin/xmllint diff --git a/buildroot-2022.02.1/package/libxmlpp/Config.in b/buildroot-2022.02.1/package/libxmlpp/Config.in new file mode 100644 index 00000000..0b48e108 --- /dev/null +++ b/buildroot-2022.02.1/package/libxmlpp/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_LIBXMLPP + bool "libxml++" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # glibmm -> libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glibmm -> libglib2 + depends on BR2_USE_MMU # glibmm -> libglib2 + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_GLIBMM + help + libxml++ is a C++ wrapper for the libxml XML parser library. + + https://libxmlplusplus.github.io/libxmlplusplus/ + +comment "libxml++ needs a toolchain w/ C++, wchar, threads, gcc >= 7" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \ + ||!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/libxmlpp/libxmlpp.hash b/buildroot-2022.02.1/package/libxmlpp/libxmlpp.hash new file mode 100644 index 00000000..50238eff --- /dev/null +++ b/buildroot-2022.02.1/package/libxmlpp/libxmlpp.hash @@ -0,0 +1,5 @@ +# From http://ftp.gnome.org/pub/GNOME/sources/libxml++/5.0/libxml++-5.0.1.sha256sum +sha256 15c38307a964fa6199f4da6683a599eb7e63cc89198545b36349b87cf9aa0098 libxml++-5.0.1.tar.xz + +# Hash for license file +sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING diff --git a/buildroot-2022.02.1/package/libxmlpp/libxmlpp.mk b/buildroot-2022.02.1/package/libxmlpp/libxmlpp.mk new file mode 100644 index 00000000..874577eb --- /dev/null +++ b/buildroot-2022.02.1/package/libxmlpp/libxmlpp.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# libxmlpp +# +################################################################################ + +LIBXMLPP_VERSION_MAJOR = 5.0 +LIBXMLPP_VERSION = $(LIBXMLPP_VERSION_MAJOR).1 +LIBXMLPP_LICENSE = LGPL-2.1 (library), LGPL-2.0+ (examples) +LIBXMLPP_LICENSE_FILES = COPYING +LIBXMLPP_SOURCE = libxml++-$(LIBXMLPP_VERSION).tar.xz +LIBXMLPP_SITE = http://ftp.gnome.org/pub/GNOME/sources/libxml++/$(LIBXMLPP_VERSION_MAJOR) +LIBXMLPP_INSTALL_STAGING = YES +LIBXMLPP_DEPENDENCIES = libxml2 glibmm host-pkgconf +LIBXMLPP_CONF_OPTS = \ + -Dbuild-examples=false \ + -Dbuild-tests=false \ + -Dvalidation=false + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/libxmlrpc/Config.in b/buildroot-2022.02.1/package/libxmlrpc/Config.in new file mode 100644 index 00000000..33d51232 --- /dev/null +++ b/buildroot-2022.02.1/package/libxmlrpc/Config.in @@ -0,0 +1,27 @@ +config BR2_PACKAGE_LIBXMLRPC + bool "libxmlrpc" + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBCURL + help + XML-RPC is a quick-and-easy way to make procedure calls over + the Internet. It converts the procedure call into an XML + document, sends it to a remote server using HTTP, and gets + back the response as XML. + + http://xmlrpc-c.sourceforge.net/ + +if BR2_PACKAGE_LIBXMLRPC + +config BR2_PACKAGE_LIBXMLRPC_TOOLS_XMLRPC + bool "install cli tool" + depends on !BR2_STATIC_LIBS + help + Command line tool xmlrpc. + +comment "cli tool needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +endif # BR2_PACKAGE_LIBXMLRPC + +comment "libxmlrpc needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/libxmlrpc/libxmlrpc.hash b/buildroot-2022.02.1/package/libxmlrpc/libxmlrpc.hash new file mode 100644 index 00000000..5d42dc05 --- /dev/null +++ b/buildroot-2022.02.1/package/libxmlrpc/libxmlrpc.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 626e36295f43b320082bc7bdd961b46f39fbe2719535b5a417975a8e50c8f7f3 libxmlrpc-r3119-br2.tar.gz +sha256 db7a6d3f187b218c3534010a83424c6bcdef88e6a0b6b1aa3a8762238bd642e6 doc/COPYING diff --git a/buildroot-2022.02.1/package/libxmlrpc/libxmlrpc.mk b/buildroot-2022.02.1/package/libxmlrpc/libxmlrpc.mk new file mode 100644 index 00000000..c1b0eae8 --- /dev/null +++ b/buildroot-2022.02.1/package/libxmlrpc/libxmlrpc.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# libxmlrpc +# +################################################################################ + +# 1.58.02 (code/advanced@r3119) +LIBXMLRPC_VERSION = r3119 +LIBXMLRPC_SITE = https://svn.code.sf.net/p/xmlrpc-c/code/advanced +LIBXMLRPC_SITE_METHOD = svn +LIBXMLRPC_LICENSE = BSD-3-Clause (xml-rpc main code and abyss web server), BSD like (lib/expat), Python 1.5.2 license (parts of xmlrpc_base64.c) +LIBXMLRPC_LICENSE_FILES = doc/COPYING +LIBXMLRPC_INSTALL_STAGING = YES +LIBXMLRPC_DEPENDENCIES = libcurl host-autoconf +LIBXMLRPC_CONFIG_SCRIPTS = xmlrpc-c-config +LIBXMLRPC_MAKE = $(MAKE1) + +# Using autoconf, not automake, so we cannot use AUTORECONF = YES. +define LIBXMLRPC_RUN_AUTOCONF + cd $(@D); $(AUTOCONF) +endef + +LIBXMLRPC_PRE_CONFIGURE_HOOKS += LIBXMLRPC_RUN_AUTOCONF + +LIBXMLRPC_CONF_OPTS = \ + $(if $(BR2_USE_WCHAR),,ac_cv_header_wchar_h=no) \ + $(if $(BR2_INSTALL_LIBSTDCPP),,--disable-cplusplus) \ + have_curl_config=$(STAGING_DIR)/usr/bin/curl-config \ + CURL_CONFIG=$(STAGING_DIR)/usr/bin/curl-config + +# Our package uses autoconf, but not automake, so we need to pass +# those variables at compile time as well. +LIBXMLRPC_MAKE_OPTS = \ + CC_FOR_BUILD="$(HOSTCC)" \ + LD_FOR_BUILD="$(HOSTLD)" \ + CFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ + LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" + +ifeq ($(BR2_STATIC_LIBS),y) +LIBXMLRPC_STATIC_OPTS = SHARED_LIB_TYPE=NONE MUST_BUILD_SHLIB=N +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBXMLRPC_DEPENDENCIES += host-pkgconf openssl +LIBXMLRPC_CONF_OPTS += --enable-abyss-openssl +else +LIBXMLRPC_CONF_OPTS += --disable-abyss-openssl +endif + +LIBXMLRPC_MAKE_OPTS += $(LIBXMLRPC_STATIC_OPTS) +LIBXMLRPC_INSTALL_STAGING_OPTS = $(LIBXMLRPC_STATIC_OPTS) \ + DESTDIR=$(STAGING_DIR) install +LIBXMLRPC_INSTALL_TARGET_OPTS = $(LIBXMLRPC_STATIC_OPTS) \ + DESTDIR=$(TARGET_DIR) install + +ifeq ($(BR2_PACKAGE_LIBXMLRPC_TOOLS_XMLRPC),y) +define LIBXMLRPC_TOOLS_XMLRPC_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(LIBXMLRPC_MAKE_OPTS) -C $(@D)/tools/xmlrpc +endef +LIBXMLRPC_POST_BUILD_HOOKS += LIBXMLRPC_TOOLS_XMLRPC_BUILD_CMDS +define LIBXMLRPC_TOOLS_XMLRPC_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(LIBXMLRPC_MAKE_OPTS) -C $(@D)/tools/xmlrpc \ + DESTDIR=$(TARGET_DIR) install +endef +LIBXMLRPC_POST_INSTALL_TARGET_HOOKS += LIBXMLRPC_TOOLS_XMLRPC_INSTALL_TARGET_CMDS +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/libxslt/Config.in b/buildroot-2022.02.1/package/libxslt/Config.in new file mode 100644 index 00000000..643bce2a --- /dev/null +++ b/buildroot-2022.02.1/package/libxslt/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_LIBXSLT + bool "libxslt" + select BR2_PACKAGE_LIBXML2 + help + Install the xslt library which is used + to transform XML files to other XML files. + + XSLT is designed for use as part of XSL, + which is a stylesheet language for XML. + In addition to XSLT, XSL includes an XML vocabulary + for specifying formatting. + XSL specifies the styling of an XML document by using XSLT + to describe how the document is transformed into another + XML document that uses the formatting vocabulary. + + https://gitlab.gnome.org/GNOME/libxslt/-/wikis/home diff --git a/buildroot-2022.02.1/package/libxslt/libxslt.hash b/buildroot-2022.02.1/package/libxslt/libxslt.hash new file mode 100644 index 00000000..39523a69 --- /dev/null +++ b/buildroot-2022.02.1/package/libxslt/libxslt.hash @@ -0,0 +1,5 @@ +# from https://download.gnome.org/sources/libxslt/1.1/libxslt-1.1.35.sha256sum +sha256 8247f33e9a872c6ac859aa45018bc4c4d00b97e2feac9eebc10c93ce1f34dd79 libxslt-1.1.35.tar.xz + +# Hash for license file: +sha256 7e48e290b6bfccc2ec1b297023a1d77f2fd87417f71fbb9f50aabef40a851819 COPYING diff --git a/buildroot-2022.02.1/package/libxslt/libxslt.mk b/buildroot-2022.02.1/package/libxslt/libxslt.mk new file mode 100644 index 00000000..df0286e9 --- /dev/null +++ b/buildroot-2022.02.1/package/libxslt/libxslt.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# libxslt +# +################################################################################ + +LIBXSLT_VERSION = 1.1.35 +LIBXSLT_SOURCE = libxslt-$(LIBXSLT_VERSION).tar.xz +LIBXSLT_SITE = https://download.gnome.org/sources/libxslt/1.1 +LIBXSLT_INSTALL_STAGING = YES +LIBXSLT_LICENSE = MIT +LIBXSLT_LICENSE_FILES = COPYING +LIBXSLT_CPE_ID_VENDOR = xmlsoft + +LIBXSLT_CONF_OPTS = \ + --with-gnu-ld \ + --without-debug \ + --without-python \ + --with-libxml-prefix=$(STAGING_DIR)/usr +LIBXSLT_CONFIG_SCRIPTS = xslt-config +LIBXSLT_DEPENDENCIES = host-pkgconf libxml2 + +# If we have enabled libgcrypt then use it, else disable crypto support. +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +LIBXSLT_DEPENDENCIES += libgcrypt +LIBXSLT_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config +else +LIBXSLT_CONF_OPTS += --without-crypto +endif + +HOST_LIBXSLT_CONF_OPTS = --without-debug --without-python --without-crypto + +HOST_LIBXSLT_DEPENDENCIES = host-pkgconf host-libxml2 + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/libyaml/Config.in b/buildroot-2022.02.1/package/libyaml/Config.in similarity index 100% rename from buildroot-2021.05/package/libyaml/Config.in rename to buildroot-2022.02.1/package/libyaml/Config.in diff --git a/buildroot-2021.05/package/libyaml/libyaml.hash b/buildroot-2022.02.1/package/libyaml/libyaml.hash similarity index 100% rename from buildroot-2021.05/package/libyaml/libyaml.hash rename to buildroot-2022.02.1/package/libyaml/libyaml.hash diff --git a/buildroot-2021.05/package/libyaml/libyaml.mk b/buildroot-2022.02.1/package/libyaml/libyaml.mk similarity index 100% rename from buildroot-2021.05/package/libyaml/libyaml.mk rename to buildroot-2022.02.1/package/libyaml/libyaml.mk diff --git a/buildroot-2022.02.1/package/libyang/Config.in b/buildroot-2022.02.1/package/libyang/Config.in new file mode 100644 index 00000000..d08f8fd4 --- /dev/null +++ b/buildroot-2022.02.1/package/libyang/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LIBYANG + bool "libyang" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrinsics + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PCRE2 + help + Libyang is YANG data modeling language parser and toolkit + written (and providing API) in C. + + https://github.com/CESNET/libyang + +comment "libyang needs a toolchain w/ threads, dynamic library" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/libyang/libyang.hash b/buildroot-2022.02.1/package/libyang/libyang.hash new file mode 100644 index 00000000..c129896a --- /dev/null +++ b/buildroot-2022.02.1/package/libyang/libyang.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 184dd67c66c1ad968a2ee4d0950fb6b103834917b04b17af9c7bca80967636ee libyang-2.0.112.tar.gz +sha256 0b7ec43747d211a1e49c53588b0822062947bab6bdcc95238578beab34cba5bb LICENSE diff --git a/buildroot-2022.02.1/package/libyang/libyang.mk b/buildroot-2022.02.1/package/libyang/libyang.mk new file mode 100644 index 00000000..a097b3ee --- /dev/null +++ b/buildroot-2022.02.1/package/libyang/libyang.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# libyang +# +################################################################################ + +LIBYANG_VERSION = 2.0.112 +LIBYANG_SITE = $(call github,CESNET,libyang,v$(LIBYANG_VERSION)) +LIBYANG_LICENSE = BSD-3-Clause +LIBYANG_LICENSE_FILES = LICENSE +LIBYANG_INSTALL_STAGING = YES +LIBYANG_CPE_ID_VENDOR = cesnet +LIBYANG_SUPPORTS_IN_SOURCE_BUILD = NO +LIBYANG_DEPENDENCIES = pcre2 +HOST_LIBYANG_DEPENDENCIES = host-pcre2 + +LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF + +HOST_LIBYANG_CONF_OPTS = \ + -DENABLE_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/libyuv/0001-i386-sse2.patch b/buildroot-2022.02.1/package/libyuv/0001-i386-sse2.patch similarity index 100% rename from buildroot-2021.05/package/libyuv/0001-i386-sse2.patch rename to buildroot-2022.02.1/package/libyuv/0001-i386-sse2.patch diff --git a/buildroot-2021.05/package/libyuv/Config.in b/buildroot-2022.02.1/package/libyuv/Config.in similarity index 100% rename from buildroot-2021.05/package/libyuv/Config.in rename to buildroot-2022.02.1/package/libyuv/Config.in diff --git a/buildroot-2021.05/package/libyuv/libyuv.hash b/buildroot-2022.02.1/package/libyuv/libyuv.hash similarity index 100% rename from buildroot-2021.05/package/libyuv/libyuv.hash rename to buildroot-2022.02.1/package/libyuv/libyuv.hash diff --git a/buildroot-2021.05/package/libyuv/libyuv.mk b/buildroot-2022.02.1/package/libyuv/libyuv.mk similarity index 100% rename from buildroot-2021.05/package/libyuv/libyuv.mk rename to buildroot-2022.02.1/package/libyuv/libyuv.mk diff --git a/buildroot-2021.05/package/libzip/Config.in b/buildroot-2022.02.1/package/libzip/Config.in similarity index 100% rename from buildroot-2021.05/package/libzip/Config.in rename to buildroot-2022.02.1/package/libzip/Config.in diff --git a/buildroot-2022.02.1/package/libzip/libzip.hash b/buildroot-2022.02.1/package/libzip/libzip.hash new file mode 100644 index 00000000..5afdfd7c --- /dev/null +++ b/buildroot-2022.02.1/package/libzip/libzip.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 f0763bda24ba947e80430be787c4b068d8b6aa6027a26a19923f0acfa3dac97e libzip-1.8.0.tar.xz +sha256 deae392de70503672793ee784d603bfa8069dcd5974a325dfbf91160f3a147d6 LICENSE diff --git a/buildroot-2022.02.1/package/libzip/libzip.mk b/buildroot-2022.02.1/package/libzip/libzip.mk new file mode 100644 index 00000000..6bc5c5c1 --- /dev/null +++ b/buildroot-2022.02.1/package/libzip/libzip.mk @@ -0,0 +1,65 @@ +################################################################################ +# +# libzip +# +################################################################################ + +LIBZIP_VERSION = 1.8.0 +LIBZIP_SITE = https://libzip.org/download +LIBZIP_SOURCE = libzip-$(LIBZIP_VERSION).tar.xz +LIBZIP_LICENSE = BSD-3-Clause +LIBZIP_LICENSE_FILES = LICENSE +LIBZIP_CPE_ID_VENDOR = libzip +LIBZIP_INSTALL_STAGING = YES +LIBZIP_DEPENDENCIES = zlib +HOST_LIBZIP_DEPENDENCIES = host-zlib + +ifeq ($(BR2_PACKAGE_BZIP2),y) +LIBZIP_DEPENDENCIES += bzip2 +LIBZIP_CONF_OPTS += -DENABLE_BZIP2=ON +else +LIBZIP_CONF_OPTS += -DENABLE_BZIP2=OFF +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +LIBZIP_DEPENDENCIES += gnutls +LIBZIP_CONF_OPTS += -DENABLE_GNUTLS=ON +else +LIBZIP_CONF_OPTS += -DENABLE_GNUTLS=OFF +endif + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +LIBZIP_DEPENDENCIES += mbedtls +LIBZIP_CONF_OPTS += -DENABLE_MBEDTLS=ON +else +LIBZIP_CONF_OPTS += -DENABLE_MBEDTLS=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LIBZIP_DEPENDENCIES += openssl +LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=ON +else +LIBZIP_CONF_OPTS += -DENABLE_OPENSSL=OFF +endif + +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) +LIBZIP_DEPENDENCIES += musl-fts +LIBZIP_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lfts +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +LIBZIP_DEPENDENCIES += xz +LIBZIP_CONF_OPTS += -DENABLE_LZMA=ON +else +LIBZIP_CONF_OPTS += -DENABLE_LZMA=OFF +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +LIBZIP_DEPENDENCIES += zstd +LIBZIP_CONF_OPTS += -DENABLE_ZSTD=ON +else +LIBZIP_CONF_OPTS += -DENABLE_ZSTD=OFF +endif + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2022.02.1/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch b/buildroot-2022.02.1/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch new file mode 100644 index 00000000..398e1c94 --- /dev/null +++ b/buildroot-2022.02.1/package/libzlib/0001-Fix-configure-issue-that-discarded-provided-CC-definition.patch @@ -0,0 +1,28 @@ +From 05796d3d8d5546cf1b4dfe2cd72ab746afae505d Mon Sep 17 00:00:00 2001 +From: Mark Adler +Date: Mon, 28 Mar 2022 18:34:10 -0700 +Subject: [PATCH] Fix configure issue that discarded provided CC definition. + +Downloaded from upstream commit: +https://github.com/madler/zlib/commit/05796d3d8d5546cf1b4dfe2cd72ab746afae505d + +Signed-off-by: Bernd Kuhls +--- + configure | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure b/configure +index 52ff4a04e..3fa3e8618 100755 +--- a/configure ++++ b/configure +@@ -174,7 +174,10 @@ if test -z "$CC"; then + else + cc=${CROSS_PREFIX}cc + fi ++else ++ cc=${CC} + fi ++ + cflags=${CFLAGS-"-O3"} + # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure + case "$cc" in diff --git a/buildroot-2022.02.1/package/libzlib/libzlib.hash b/buildroot-2022.02.1/package/libzlib/libzlib.hash new file mode 100644 index 00000000..e6ca974e --- /dev/null +++ b/buildroot-2022.02.1/package/libzlib/libzlib.hash @@ -0,0 +1,4 @@ +# From http://www.zlib.net/ +sha256 7db46b8d7726232a621befaab4a1c870f00a90805511c0e0090441dac57def18 zlib-1.2.12.tar.xz +# License files, locally calculated +sha256 fc2c3368901700f0acdeb1d8afeaca5923296768ec6824ecdf627aac396001fd README diff --git a/buildroot-2022.02.1/package/libzlib/libzlib.mk b/buildroot-2022.02.1/package/libzlib/libzlib.mk new file mode 100644 index 00000000..933732d6 --- /dev/null +++ b/buildroot-2022.02.1/package/libzlib/libzlib.mk @@ -0,0 +1,80 @@ +################################################################################ +# +# libzlib +# +################################################################################ + +LIBZLIB_VERSION = 1.2.12 +LIBZLIB_SOURCE = zlib-$(LIBZLIB_VERSION).tar.xz +LIBZLIB_SITE = http://www.zlib.net +LIBZLIB_LICENSE = Zlib +LIBZLIB_LICENSE_FILES = README +LIBZLIB_INSTALL_STAGING = YES +LIBZLIB_PROVIDES = zlib +LIBZLIB_CPE_ID_VENDOR = gnu +LIBZLIB_CPE_ID_PRODUCT = zlib + +# It is not possible to build only a shared version of zlib, so we build both +# shared and static, unless we only want the static libs, and we eventually +# selectively remove what we do not want +ifeq ($(BR2_STATIC_LIBS),y) +LIBZLIB_PIC = +LIBZLIB_SHARED = --static +else +LIBZLIB_PIC = -fPIC +LIBZLIB_SHARED = --shared +endif + +define LIBZLIB_CONFIGURE_CMDS + (cd $(@D); rm -rf config.cache; \ + $(TARGET_CONFIGURE_ARGS) \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) $(LIBZLIB_PIC)" \ + ./configure \ + $(LIBZLIB_SHARED) \ + --prefix=/usr \ + ) +endef + +define HOST_LIBZLIB_CONFIGURE_CMDS + (cd $(@D); rm -rf config.cache; \ + $(HOST_CONFIGURE_ARGS) \ + $(HOST_CONFIGURE_OPTS) \ + ./configure \ + --prefix="$(HOST_DIR)" \ + --sysconfdir="$(HOST_DIR)/etc" \ + ) +endef + +define LIBZLIB_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) +endef + +define HOST_LIBZLIB_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) +endef + +define LIBZLIB_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR) LDCONFIG=true install +endef + +define LIBZLIB_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) LDCONFIG=true install +endef + +# We don't care removing the .a from target, since it not used at link +# time to build other packages, and it is anyway removed later before +# assembling the filesystem images anyway. +ifeq ($(BR2_SHARED_LIBS),y) +define LIBZLIB_RM_STATIC_STAGING + rm -f $(STAGING_DIR)/usr/lib/libz.a +endef +LIBZLIB_POST_INSTALL_STAGING_HOOKS += LIBZLIB_RM_STATIC_STAGING +endif + +define HOST_LIBZLIB_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE1) -C $(@D) LDCONFIG=true install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/lightning/0001-include-Makefile.am-don-t-install-lightning.h-twice.patch b/buildroot-2022.02.1/package/lightning/0001-include-Makefile.am-don-t-install-lightning.h-twice.patch similarity index 100% rename from buildroot-2021.05/package/lightning/0001-include-Makefile.am-don-t-install-lightning.h-twice.patch rename to buildroot-2022.02.1/package/lightning/0001-include-Makefile.am-don-t-install-lightning.h-twice.patch diff --git a/buildroot-2021.05/package/lightning/Config.in b/buildroot-2022.02.1/package/lightning/Config.in similarity index 100% rename from buildroot-2021.05/package/lightning/Config.in rename to buildroot-2022.02.1/package/lightning/Config.in diff --git a/buildroot-2021.05/package/lightning/lightning.hash b/buildroot-2022.02.1/package/lightning/lightning.hash similarity index 100% rename from buildroot-2021.05/package/lightning/lightning.hash rename to buildroot-2022.02.1/package/lightning/lightning.hash diff --git a/buildroot-2022.02.1/package/lightning/lightning.mk b/buildroot-2022.02.1/package/lightning/lightning.mk new file mode 100644 index 00000000..da8c07e6 --- /dev/null +++ b/buildroot-2022.02.1/package/lightning/lightning.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# lightning +# +################################################################################ + +LIGHTNING_VERSION = 2.1.3 +LIGHTNING_SITE = $(BR2_GNU_MIRROR)/lightning +LIGHTNING_LICENSE = LGPL-3.0+ +LIGHTNING_LICENSE_FILES = COPYING.LESSER +LIGHTNING_INSTALL_STAGING = YES +LIGHTNING_CPE_ID_VENDOR = gnu +# We're patching include/Makefile.am +LIGHTNING_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_LIGHTNING_DISASSEMBLER),y) +LIGHTNING_DEPENDENCIES += binutils zlib +LIGHTNING_CONF_OPTS += --enable-disassembler +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/lighttpd/0001-Modify-the-default-lighttpd-configuration-file-to-ha.patch b/buildroot-2022.02.1/package/lighttpd/0001-Modify-the-default-lighttpd-configuration-file-to-ha.patch new file mode 100644 index 00000000..1a887655 --- /dev/null +++ b/buildroot-2022.02.1/package/lighttpd/0001-Modify-the-default-lighttpd-configuration-file-to-ha.patch @@ -0,0 +1,98 @@ +From d1de409b0aeb8dffd42673444043caf01437804e Mon Sep 17 00:00:00 2001 +From: Maxime Ripard +Date: Mon, 13 Dec 2021 22:07:17 +0100 +Subject: [PATCH] Modify the default lighttpd configuration file to have one a + starting conf + + * Changed the log path to /var/log and logs filenames + * Disable IPv6 + * Do not setuid to a user that doesn't exist on the system + * Change the network backend to writev since linux-sendfile fails on buildroot + +Signed-off-by: Maxime Ripard +Signed-off-by: Simon Dawson +[Gustavo: update for 1.4.37] +Signed-off-by: Gustavo Zacarias +--- + doc/config/conf.d/access_log.conf | 2 +- + doc/config/lighttpd.conf | 16 ++++++++-------- + 2 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/doc/config/conf.d/access_log.conf b/doc/config/conf.d/access_log.conf +index e685d43..92cff4f 100644 +--- a/doc/config/conf.d/access_log.conf ++++ b/doc/config/conf.d/access_log.conf +@@ -9,7 +9,7 @@ server.modules += ( "mod_accesslog" ) + ## + ## Default access log. + ## +-accesslog.filename = log_root + "/access.log" ++accesslog.filename = log_root + "/lighttpd-access.log" + + ## + ## The default format produces CLF compatible output. +diff --git a/doc/config/lighttpd.conf b/doc/config/lighttpd.conf +index 495d2a1..c3e1446 100644 +--- a/doc/config/lighttpd.conf ++++ b/doc/config/lighttpd.conf +@@ -13,8 +13,8 @@ + ## if you add a variable here. Add the corresponding variable in the + ## chroot example as well. + ## +-var.log_root = "/var/log/lighttpd" +-var.server_root = "/srv/www" ++var.log_root = "/var/log" ++var.server_root = "/var/www" + var.state_dir = "/run" + var.home_dir = "/var/lib/lighttpd" + var.conf_dir = "/etc/lighttpd" +@@ -90,7 +90,7 @@ server.port = 80 + ## + ## Use IPv6? + ## +-server.use-ipv6 = "enable" ++# server.use-ipv6 = "enable" + + ## + ## bind to a specific IP +@@ -101,8 +101,8 @@ server.use-ipv6 = "enable" + ## Run as a different username/groupname. + ## This requires root permissions during startup. + ## +-server.username = "lighttpd" +-server.groupname = "lighttpd" ++server.username = "www-data" ++server.groupname = "www-data" + + ## + ## Enable lighttpd to serve requests on sockets received from systemd +@@ -118,7 +118,7 @@ server.groupname = "lighttpd" + ## + ## Document root + ## +-server.document-root = server_root + "/htdocs" ++server.document-root = server_root + + ## + ## The value for the "Server:" response field. +@@ -144,7 +144,7 @@ server.pid-file = state_dir + "/lighttpd.pid" + ## + ## Path to the error log file + ## +-server.errorlog = log_root + "/error.log" ++server.errorlog = log_root + "/lighttpd-error.log" + + ## + ## If you want to log to syslog you have to unset the +@@ -192,7 +192,7 @@ include conf_dir + "/conf.d/debug.conf" + ## and write(). Every modern OS provides its own syscall to help network + ## servers transfer files as fast as possible + ## +-#server.network-backend = "sendfile" ++server.network-backend = "writev" + + ## + ## As lighttpd is a single-threaded server, its main resource limit is +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/lighttpd/0002-build-meson-fix-typo-in-variable-name.patch b/buildroot-2022.02.1/package/lighttpd/0002-build-meson-fix-typo-in-variable-name.patch new file mode 100644 index 00000000..d338979d --- /dev/null +++ b/buildroot-2022.02.1/package/lighttpd/0002-build-meson-fix-typo-in-variable-name.patch @@ -0,0 +1,25 @@ +From 876a1e1b2cc21282a0df5245004197cdffe1d380 Mon Sep 17 00:00:00 2001 +From: Glenn Strauss +Date: Thu, 20 Jan 2022 07:04:51 -0500 +Subject: [PATCH] [build] meson: fix typo in variable name + +[Retrieved from: +https://github.com/lighttpd/lighttpd1.4/commit/876a1e1b2cc21282a0df5245004197cdffe1d380] +Signed-off-by: Fabrice Fontaine +--- + src/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/meson.build b/src/meson.build +index 4ee163468..b35c1037f 100644 +--- a/src/meson.build ++++ b/src/meson.build +@@ -266,7 +266,7 @@ endif + libbrotli = [] + if get_option('with_brotli') + libbrotli = [ compiler.find_library('brotlienc') ] +- if compiler.has_function('BrotliEncoderCreateInstance', args: defs, dependencies: libbrotlienc, prefix: '#include ') ++ if compiler.has_function('BrotliEncoderCreateInstance', args: defs, dependencies: libbrotli, prefix: '#include ') + conf_data.set('HAVE_BROTLI_ENCODE_H', true) + conf_data.set('HAVE_BROTLI', true) + else diff --git a/buildroot-2022.02.1/package/lighttpd/Config.in b/buildroot-2022.02.1/package/lighttpd/Config.in new file mode 100644 index 00000000..6f0c9273 --- /dev/null +++ b/buildroot-2022.02.1/package/lighttpd/Config.in @@ -0,0 +1,123 @@ +comment "lighttpd needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_LIGHTTPD + bool "lighttpd" + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_XXHASH + help + lighttpd a secure, fast, compliant and very flexible + web-server which has been optimized for high-performance + environments. It has a very low memory footprint compared to + other webservers and takes care of cpu-load. Its advanced + feature-set (FastCGI, CGI, Auth, Output-Compression, + URL-Rewriting and many more) make lighttpd the perfect + webserver-software for every server that is suffering load + problems. + + https://www.lighttpd.net/ + +if BR2_PACKAGE_LIGHTTPD + +config BR2_PACKAGE_LIGHTTPD_BROTLI + bool "brotli support" + select BR2_PACKAGE_BROTLI + help + Enable brotli support for lighttpd mod_deflate. + +config BR2_PACKAGE_LIGHTTPD_BZIP2 + bool "bzip2 support" + select BR2_PACKAGE_BZIP2 + help + Enable bzip2 support for lighttpd mod_deflate. + +config BR2_PACKAGE_LIGHTTPD_KRB5 + bool "krb5 support" + select BR2_PACKAGE_LIBKRB5 + help + Enable Kerberos5 support for lighttpd mod_auth. + +config BR2_PACKAGE_LIGHTTPD_LDAP + bool "ldap support" + depends on BR2_USE_WCHAR # openldap + select BR2_PACKAGE_OPENLDAP + help + Enable LDAP support for lighttpd mod_auth mod_vhostdb_ldap. + +comment "ldap support needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR + +config BR2_PACKAGE_LIGHTTPD_LUA + bool "lua support" + depends on BR2_PACKAGE_LUA + help + Enable Lua support. Needed to support mod_magnet + +config BR2_PACKAGE_LIGHTTPD_MAXMINDDB + bool "maxminddb support" + select BR2_PACKAGE_LIBMAXMINDDB + help + Enable MaxMind GeoIP2 support. Needed to support mod_maxminddb + +config BR2_PACKAGE_LIGHTTPD_MYSQL + bool "mysql support" + depends on BR2_PACKAGE_MARIADB + help + Enable mysql support for lighttpd mod_vhostdb_mysql. + +comment "mysql support needs mariadb" + depends on !BR2_PACKAGE_MARIADB + +config BR2_PACKAGE_LIGHTTPD_OPENSSL + bool "openssl support" + select BR2_PACKAGE_OPENSSL + help + Enable OpenSSL support for lighttpd. + +config BR2_PACKAGE_LIGHTTPD_PAM + bool "pam authentication support" + default y + depends on BR2_PACKAGE_LINUX_PAM + help + Enable PAM authentication support for lighttpd. + +config BR2_PACKAGE_LIGHTTPD_PCRE + bool "pcre support" + select BR2_PACKAGE_PCRE2 + help + Enable PCRE support. Needed to support mod_rewrite + +config BR2_PACKAGE_LIGHTTPD_PGSQL + bool "pgsql support" + depends on BR2_USE_MMU # postgresql + depends on BR2_USE_WCHAR # postgresql + select BR2_PACKAGE_POSTGRESQL + help + Enable postgres support for lighttpd mod_vhostdb_pgsql. + +comment "pgsql support needs a toolchain w/ wchar" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR + +config BR2_PACKAGE_LIGHTTPD_WEBDAV + bool "webdav support" + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_SQLITE + help + Enable webdav support. Needed to support mod_webdav + +config BR2_PACKAGE_LIGHTTPD_ZLIB + bool "zlib support" + select BR2_PACKAGE_ZLIB + help + Enable zlib support for lighttpd mod_deflate. + +config BR2_PACKAGE_LIGHTTPD_ZSTD + bool "zstd support" + select BR2_PACKAGE_ZSTD + help + Enable zstd support for lighttpd mod_deflate. + +endif diff --git a/buildroot-2021.05/package/lighttpd/S50lighttpd b/buildroot-2022.02.1/package/lighttpd/S50lighttpd similarity index 100% rename from buildroot-2021.05/package/lighttpd/S50lighttpd rename to buildroot-2022.02.1/package/lighttpd/S50lighttpd diff --git a/buildroot-2022.02.1/package/lighttpd/lighttpd.hash b/buildroot-2022.02.1/package/lighttpd/lighttpd.hash new file mode 100644 index 00000000..ce026b9b --- /dev/null +++ b/buildroot-2022.02.1/package/lighttpd/lighttpd.hash @@ -0,0 +1,4 @@ +# From https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.64.sha512sum +sha512 8e2ad0830ff80fcebf0c33600caafb5ab4e9ff6b5073c12572f88a44fdfe85f777fa8b22b2fc2964fecbeb556997ad660867dcee80efb224d63329c8b18ea936 lighttpd-1.4.64.tar.xz +# Locally calculated +sha256 5c98cad2fbaf5c5e2562bcbab401a7c557c1bb1bac9914ecc63730925052fb13 COPYING diff --git a/buildroot-2022.02.1/package/lighttpd/lighttpd.mk b/buildroot-2022.02.1/package/lighttpd/lighttpd.mk new file mode 100644 index 00000000..595c59cb --- /dev/null +++ b/buildroot-2022.02.1/package/lighttpd/lighttpd.mk @@ -0,0 +1,168 @@ +################################################################################ +# +# lighttpd +# +################################################################################ + +LIGHTTPD_VERSION_MAJOR = 1.4 +LIGHTTPD_VERSION = $(LIGHTTPD_VERSION_MAJOR).64 +LIGHTTPD_SOURCE = lighttpd-$(LIGHTTPD_VERSION).tar.xz +LIGHTTPD_SITE = http://download.lighttpd.net/lighttpd/releases-$(LIGHTTPD_VERSION_MAJOR).x +LIGHTTPD_LICENSE = BSD-3-Clause +LIGHTTPD_LICENSE_FILES = COPYING +LIGHTTPD_CPE_ID_VENDOR = lighttpd +LIGHTTPD_DEPENDENCIES = host-pkgconf xxhash +LIGHTTPD_CONF_OPTS = \ + -Dwith_dbi=false \ + -Dwith_fam=false \ + -Dwith_gnutls=false \ + -Dwith_libev=false \ + -Dwith_libunwind=false \ + -Dwith_mbedtls=false \ + -Dwith_nettle=false \ + -Dwith_nss=false \ + -Dwith_pcre=false \ + -Dwith_sasl=false \ + -Dwith_wolfssl=false \ + -Dwith_xattr=false \ + -Dwith_xxhash=true \ + -Dbuild_extra_warnings=false \ + -Dbuild_static=false \ + -Dmoduledir=lib/lighttpd + +ifeq ($(BR2_PACKAGE_LIGHTTPD_BROTLI),y) +LIGHTTPD_DEPENDENCIES += brotli +LIGHTTPD_CONF_OPTS += -Dwith_brotli=true +else +LIGHTTPD_CONF_OPTS += -Dwith_brotli=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_BZIP2),y) +LIGHTTPD_DEPENDENCIES += bzip2 +LIGHTTPD_CONF_OPTS += -Dwith_bzip=true +else +LIGHTTPD_CONF_OPTS += -Dwith_bzip=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_KRB5),y) +LIGHTTPD_DEPENDENCIES += libkrb5 +LIGHTTPD_CONF_OPTS += -Dwith_krb5=true +else +LIGHTTPD_CONF_OPTS += -Dwith_krb5=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_LDAP),y) +LIGHTTPD_DEPENDENCIES += openldap +LIGHTTPD_CONF_OPTS += -Dwith_ldap=true +else +LIGHTTPD_CONF_OPTS += -Dwith_ldap=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_LUA),y) +LIGHTTPD_DEPENDENCIES += lua +LIGHTTPD_CONF_OPTS += -Dwith_lua=true +else +LIGHTTPD_CONF_OPTS += -Dwith_lua=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_MAXMINDDB),y) +LIGHTTPD_DEPENDENCIES += libmaxminddb +LIGHTTPD_CONF_OPTS += -Dwith_maxminddb=true +else +LIGHTTPD_CONF_OPTS += -Dwith_maxminddb=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_MYSQL),y) +LIGHTTPD_DEPENDENCIES += mysql +LIGHTTPD_CONF_OPTS += -Dwith_mysql=true +else +LIGHTTPD_CONF_OPTS += -Dwith_mysql=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_OPENSSL),y) +LIGHTTPD_DEPENDENCIES += openssl +LIGHTTPD_CONF_OPTS += -Dwith_openssl=true +else +LIGHTTPD_CONF_OPTS += -Dwith_openssl=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_PAM),y) +LIGHTTPD_DEPENDENCIES += linux-pam +LIGHTTPD_CONF_OPTS += -Dwith_pam=true +else +LIGHTTPD_CONF_OPTS += -Dwith_pam=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_PCRE),y) +LIGHTTPD_DEPENDENCIES += pcre2 +LIGHTTPD_CONF_OPTS += -Dwith_pcre2=true +else +LIGHTTPD_CONF_OPTS += -Dwith_pcre2=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_PGSQL),y) +LIGHTTPD_DEPENDENCIES += postgresql +LIGHTTPD_CONF_OPTS += -Dwith_pgsql=true +else +LIGHTTPD_CONF_OPTS += -Dwith_pgsql=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_WEBDAV),y) +LIGHTTPD_DEPENDENCIES += libxml2 sqlite +LIGHTTPD_CONF_OPTS += -Dwith_webdav_props=true +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +LIGHTTPD_CONF_OPTS += -Dwith_webdav_locks=true +LIGHTTPD_DEPENDENCIES += util-linux +else +LIGHTTPD_CONF_OPTS += -Dwith_webdav_locks=false +endif +else +LIGHTTPD_CONF_OPTS += -Dwith_webdav_props=false -Dwith_webdav_locks=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_ZLIB),y) +LIGHTTPD_DEPENDENCIES += zlib +LIGHTTPD_CONF_OPTS += -Dwith_zlib=true +else +LIGHTTPD_CONF_OPTS += -Dwith_zlib=false +endif + +ifeq ($(BR2_PACKAGE_LIGHTTPD_ZSTD),y) +LIGHTTPD_DEPENDENCIES += zstd +LIGHTTPD_CONF_OPTS += -Dwith_zstd=true +else +LIGHTTPD_CONF_OPTS += -Dwith_zstd=false +endif + +define LIGHTTPD_INSTALL_CONFIG + $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/lighttpd/conf.d + $(INSTALL) -d -m 0755 $(TARGET_DIR)/var/www + $(INSTALL) -D -m 0644 $(@D)/doc/config/lighttpd.conf \ + $(TARGET_DIR)/etc/lighttpd/lighttpd.conf + $(INSTALL) -D -m 0644 $(@D)/doc/config/modules.conf \ + $(TARGET_DIR)/etc/lighttpd/modules.conf + $(INSTALL) -D -m 0644 $(@D)/doc/config/conf.d/access_log.conf \ + $(TARGET_DIR)/etc/lighttpd/conf.d/access_log.conf + $(INSTALL) -D -m 0644 $(@D)/doc/config/conf.d/debug.conf \ + $(TARGET_DIR)/etc/lighttpd/conf.d/debug.conf + $(INSTALL) -D -m 0644 $(@D)/doc/config/conf.d/dirlisting.conf \ + $(TARGET_DIR)/etc/lighttpd/conf.d/dirlisting.conf + $(INSTALL) -D -m 0644 $(@D)/doc/config/conf.d/mime.conf \ + $(TARGET_DIR)/etc/lighttpd/conf.d/mime.conf +endef + +LIGHTTPD_POST_INSTALL_TARGET_HOOKS += LIGHTTPD_INSTALL_CONFIG + +define LIGHTTPD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/lighttpd/S50lighttpd \ + $(TARGET_DIR)/etc/init.d/S50lighttpd +endef + +define LIGHTTPD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/doc/systemd/lighttpd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/lighttpd.service + $(INSTALL) -D -m 644 package/lighttpd/lighttpd_tmpfiles.conf \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/lighttpd.conf +endef + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/lighttpd/lighttpd_tmpfiles.conf b/buildroot-2022.02.1/package/lighttpd/lighttpd_tmpfiles.conf similarity index 100% rename from buildroot-2021.05/package/lighttpd/lighttpd_tmpfiles.conf rename to buildroot-2022.02.1/package/lighttpd/lighttpd_tmpfiles.conf diff --git a/buildroot-2022.02.1/package/lilv/Config.in b/buildroot-2022.02.1/package/lilv/Config.in new file mode 100644 index 00000000..08d54bcf --- /dev/null +++ b/buildroot-2022.02.1/package/lilv/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_LILV + bool "lilv" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LV2 + select BR2_PACKAGE_SERD + select BR2_PACKAGE_SORD + select BR2_PACKAGE_SRATOM + help + Lilv is a C library to make the use of LV2 plugins as simple + as possible for applications. + + https://drobilla.net/software/lilv.html + +comment "lilv needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/lilv/lilv.hash b/buildroot-2022.02.1/package/lilv/lilv.hash new file mode 100644 index 00000000..afa20fc0 --- /dev/null +++ b/buildroot-2022.02.1/package/lilv/lilv.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking signature +# https://download.drobilla.net/lilv-0.24.12.tar.bz2.asc +sha256 26a37790890c9c1f838203b47f5b2320334fe92c02a4d26ebbe2669dbd769061 lilv-0.24.12.tar.bz2 +sha256 e06562d6bcf0341b2ac2ad0f0ca36801d2ebf388d5ef297011625e4c36e963f0 COPYING diff --git a/buildroot-2022.02.1/package/lilv/lilv.mk b/buildroot-2022.02.1/package/lilv/lilv.mk new file mode 100644 index 00000000..5f9186e6 --- /dev/null +++ b/buildroot-2022.02.1/package/lilv/lilv.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# lilv +# +################################################################################ + +LILV_VERSION = 0.24.12 +LILV_SITE = https://download.drobilla.net +LILV_SOURCE = lilv-$(LILV_VERSION).tar.bz2 +LILV_LICENSE = ISC +LILV_LICENSE_FILES = COPYING +LILV_DEPENDENCIES = host-pkgconf lv2 serd sord sratom +LILV_INSTALL_STAGING = YES + +LILV_CONF_OPTS += \ + --dyn-manifest \ + --no-bash-completion \ + --no-coverage + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LILV_DEPENDENCIES += python3 +else +LILV_CONF_OPTS += --no-bindings +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +LILV_DEPENDENCIES += libsndfile +endif + +$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/linenoise/Config.in b/buildroot-2022.02.1/package/linenoise/Config.in similarity index 100% rename from buildroot-2021.05/package/linenoise/Config.in rename to buildroot-2022.02.1/package/linenoise/Config.in diff --git a/buildroot-2021.05/package/linenoise/linenoise.hash b/buildroot-2022.02.1/package/linenoise/linenoise.hash similarity index 100% rename from buildroot-2021.05/package/linenoise/linenoise.hash rename to buildroot-2022.02.1/package/linenoise/linenoise.hash diff --git a/buildroot-2022.02.1/package/linenoise/linenoise.mk b/buildroot-2022.02.1/package/linenoise/linenoise.mk new file mode 100644 index 00000000..a8fe7674 --- /dev/null +++ b/buildroot-2022.02.1/package/linenoise/linenoise.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# linenoise +# +################################################################################ + +LINENOISE_VERSION = 1.0 +LINENOISE_SITE = $(call github,antirez,linenoise,$(LINENOISE_VERSION)) +LINENOISE_LICENSE = BSD-2-Clause +LINENOISE_LICENSE_FILES = LICENSE +LINENOISE_INSTALL_STAGING = YES +# Static library only, nothing to install on target +LINENOISE_INSTALL_TARGET = NO + +define LINENOISE_BUILD_CMDS + cd $(@D); $(TARGET_CC) $(TARGET_CFLAGS) -c linenoise.c + cd $(@D); $(TARGET_AR) rcu liblinenoise.a linenoise.o + cd $(@D); $(TARGET_CC) $(TARGET_LDFLAGS) -o linenoise_example example.c -L. -llinenoise +endef + +define LINENOISE_INSTALL_STAGING_CMDS + $(INSTALL) -m 644 -D $(@D)/linenoise.h \ + $(STAGING_DIR)/usr/include/linenoise.h + $(INSTALL) -m 644 -D $(@D)/liblinenoise.a \ + $(STAGING_DIR)/usr/lib/liblinenoise.a + $(INSTALL) -m 755 -D $(@D)/linenoise_example \ + $(STAGING_DIR)/usr/bin/linenoise_example +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/linknx/0001-configure-ac-tweak-CPPUNIT-conditional.patch b/buildroot-2022.02.1/package/linknx/0001-configure-ac-tweak-CPPUNIT-conditional.patch similarity index 100% rename from buildroot-2021.05/package/linknx/0001-configure-ac-tweak-CPPUNIT-conditional.patch rename to buildroot-2022.02.1/package/linknx/0001-configure-ac-tweak-CPPUNIT-conditional.patch diff --git a/buildroot-2021.05/package/linknx/0002-src-Makefile.am-fix-linking-with-log4cpp.patch b/buildroot-2022.02.1/package/linknx/0002-src-Makefile.am-fix-linking-with-log4cpp.patch similarity index 100% rename from buildroot-2021.05/package/linknx/0002-src-Makefile.am-fix-linking-with-log4cpp.patch rename to buildroot-2022.02.1/package/linknx/0002-src-Makefile.am-fix-linking-with-log4cpp.patch diff --git a/buildroot-2021.05/package/linknx/Config.in b/buildroot-2022.02.1/package/linknx/Config.in similarity index 100% rename from buildroot-2021.05/package/linknx/Config.in rename to buildroot-2022.02.1/package/linknx/Config.in diff --git a/buildroot-2021.05/package/linknx/linknx.hash b/buildroot-2022.02.1/package/linknx/linknx.hash similarity index 100% rename from buildroot-2021.05/package/linknx/linknx.hash rename to buildroot-2022.02.1/package/linknx/linknx.hash diff --git a/buildroot-2021.05/package/linknx/linknx.mk b/buildroot-2022.02.1/package/linknx/linknx.mk similarity index 100% rename from buildroot-2021.05/package/linknx/linknx.mk rename to buildroot-2022.02.1/package/linknx/linknx.mk diff --git a/buildroot-2022.02.1/package/links/Config.in b/buildroot-2022.02.1/package/links/Config.in new file mode 100644 index 00000000..cc2389c9 --- /dev/null +++ b/buildroot-2022.02.1/package/links/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_LINKS + bool "links" + depends on BR2_USE_MMU # fork() + help + Graphics and text mode WWW browser (kind of like lynx). + + http://links.twibright.com/ + +if BR2_PACKAGE_LINKS + +config BR2_PACKAGE_LINKS_GRAPHICS + bool "use graphics" + depends on BR2_PACKAGE_GPM || BR2_PACKAGE_DIRECTFB || BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_LIBPNG + help + Enable graphics output for framebuffer, DirectFB or X11. + Framebuffer output requires GPM (console mouse). + Otherwise links will be text-mode only. + +comment "links graphics needs GPM, DirectFB or X11" + depends on !BR2_PACKAGE_GPM && !BR2_PACKAGE_DIRECTFB && !BR2_PACKAGE_XORG7 + +endif diff --git a/buildroot-2022.02.1/package/links/links.hash b/buildroot-2022.02.1/package/links/links.hash new file mode 100644 index 00000000..0f8cd329 --- /dev/null +++ b/buildroot-2022.02.1/package/links/links.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2dd78508698e8279ef4f09a3a2a21e9595040113402da6c553974414fb49dd2c links-2.25.tar.bz2 +sha256 92deeb70791366630095d4e0714fe37d6e2bd5db0e6ef498ebb8de328f45b253 COPYING diff --git a/buildroot-2022.02.1/package/links/links.mk b/buildroot-2022.02.1/package/links/links.mk new file mode 100644 index 00000000..1f1a7a91 --- /dev/null +++ b/buildroot-2022.02.1/package/links/links.mk @@ -0,0 +1,101 @@ +################################################################################ +# +# links +# +################################################################################ + +LINKS_VERSION = 2.25 +LINKS_SOURCE = links-$(LINKS_VERSION).tar.bz2 +LINKS_SITE = http://links.twibright.com/download +LINKS_DEPENDENCIES = host-pkgconf +LINKS_LICENSE = GPL-2.0+ +LINKS_LICENSE_FILES = COPYING +LINKS_CPE_ID_VENDOR = twibright + +ifeq ($(BR2_PACKAGE_LINKS_GRAPHICS),y) +LINKS_CONF_OPTS += --enable-graphics +LINKS_DEPENDENCIES += libpng +ifeq ($(BR2_PACKAGE_XLIB_LIBXT),y) +LINKS_CONF_OPTS += \ + --with-x \ + --x-includes=$(STAGING_DIR)/usr/include \ + --x-libraries=$(STAGING_DIR)/usr/lib +LINKS_DEPENDENCIES += xlib_libXt +else +LINKS_CONF_OPTS += --without-x +endif +ifeq ($(BR2_PACKAGE_DIRECTFB),y) +LINKS_CONF_ENV = ac_cv_path_DIRECTFB_CONFIG=$(STAGING_DIR)/usr/bin/directfb-config +ifeq ($(BR2_STATIC_LIBS),y) +LINKS_CONF_ENV += LIBS=-lstdc++ +endif +LINKS_CONF_OPTS += --with-directfb +LINKS_DEPENDENCIES += directfb +else +LINKS_CONF_OPTS += --without-directfb +endif +ifeq ($(BR2_PACKAGE_JPEG),y) +LINKS_CONF_OPTS += --with-libjpeg +LINKS_DEPENDENCIES += jpeg +else +LINKS_CONF_OPTS += --without-libjpeg +endif +ifeq ($(BR2_PACKAGE_LIBRSVG),y) +LINKS_CONF_OPTS += --with-librsvg +LINKS_DEPENDENCIES += librsvg +else +LINKS_CONF_OPTS += --without-librsvg +endif +ifeq ($(BR2_PACKAGE_TIFF),y) +LINKS_CONF_OPTS += --with-libtiff +LINKS_DEPENDENCIES += tiff +else +LINKS_CONF_OPTS += --without-libtiff +endif +else +LINKS_CONF_OPTS += --disable-graphics +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +LINKS_CONF_OPTS += --with-bzip2 +LINKS_DEPENDENCIES += bzip2 +else +LINKS_CONF_OPTS += --without-bzip2 +endif + +ifeq ($(BR2_PACKAGE_GPM),y) +LINKS_CONF_OPTS += --with-gpm +LINKS_DEPENDENCIES += gpm +else +LINKS_CONF_OPTS += --without-gpm +endif + +ifeq ($(BR2_PACKAGE_LIBEVENT),y) +LINKS_CONF_OPTS += --with-libevent +LINKS_DEPENDENCIES += libevent +else +LINKS_CONF_OPTS += --without-libevent +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LINKS_CONF_OPTS += --with-ssl --enable-ssl-pkgconfig +LINKS_DEPENDENCIES += openssl +else +LINKS_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +LINKS_CONF_OPTS += --with-lzma +LINKS_DEPENDENCIES += xz +else +LINKS_CONF_OPTS += --without-lzma +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LINKS_CONF_OPTS += --with-zlib +LINKS_DEPENDENCIES += zlib +else +LINKS_CONF_OPTS += --without-zlib +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch b/buildroot-2022.02.1/package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch similarity index 100% rename from buildroot-2021.05/package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch rename to buildroot-2022.02.1/package/linphone/0001-src-core-paths-paths.cpp-fix-powerpc-build.patch diff --git a/buildroot-2021.05/package/linphone/Config.in b/buildroot-2022.02.1/package/linphone/Config.in similarity index 100% rename from buildroot-2021.05/package/linphone/Config.in rename to buildroot-2022.02.1/package/linphone/Config.in diff --git a/buildroot-2021.05/package/linphone/linphone.hash b/buildroot-2022.02.1/package/linphone/linphone.hash similarity index 100% rename from buildroot-2021.05/package/linphone/linphone.hash rename to buildroot-2022.02.1/package/linphone/linphone.hash diff --git a/buildroot-2021.05/package/linphone/linphone.mk b/buildroot-2022.02.1/package/linphone/linphone.mk similarity index 100% rename from buildroot-2021.05/package/linphone/linphone.mk rename to buildroot-2022.02.1/package/linphone/linphone.mk diff --git a/buildroot-2021.05/package/linux-backports/Config.in b/buildroot-2022.02.1/package/linux-backports/Config.in similarity index 100% rename from buildroot-2021.05/package/linux-backports/Config.in rename to buildroot-2022.02.1/package/linux-backports/Config.in diff --git a/buildroot-2021.05/package/linux-backports/linux-backports.hash b/buildroot-2022.02.1/package/linux-backports/linux-backports.hash similarity index 100% rename from buildroot-2021.05/package/linux-backports/linux-backports.hash rename to buildroot-2022.02.1/package/linux-backports/linux-backports.hash diff --git a/buildroot-2021.05/package/linux-backports/linux-backports.mk b/buildroot-2022.02.1/package/linux-backports/linux-backports.mk similarity index 100% rename from buildroot-2021.05/package/linux-backports/linux-backports.mk rename to buildroot-2022.02.1/package/linux-backports/linux-backports.mk diff --git a/buildroot-2022.02.1/package/linux-firmware/Config.in b/buildroot-2022.02.1/package/linux-firmware/Config.in new file mode 100644 index 00000000..c94ffe24 --- /dev/null +++ b/buildroot-2022.02.1/package/linux-firmware/Config.in @@ -0,0 +1,560 @@ +config BR2_PACKAGE_LINUX_FIRMWARE + bool "linux-firmware" + help + This package provides various binary firmware files (closed + binary blobs) for such devices like LAN, WLAN cards etc. + + https://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git + +if BR2_PACKAGE_LINUX_FIRMWARE + +menu "Audio firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_INTEL_SST_DSP + bool "Intel SST DSP" + help + Firmware files for Intel Baytrail SST DSP audio. + +endmenu # Audio + +menu "Video firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_AMDGPU + bool "AMD GPU video card firmware" + help + Firmware files for AMD GPU video cards. + +config BR2_PACKAGE_LINUX_FIRMWARE_I915 + bool "Intel i915 video card firmware" + help + Firmware files for the Intel i915 video cards. + +config BR2_PACKAGE_LINUX_FIRMWARE_RADEON + bool "AMD Radeon video card firmware" + help + Firmware files for AMD Radeon video cards. + +config BR2_PACKAGE_LINUX_FIRMWARE_QCOM_VENUS + bool "Qualcomm Venus video codec accelerator" + help + Firmware files for Qualcomm Venus video codec accelerator + +config BR2_PACKAGE_LINUX_FIRMWARE_QCOM_ADRENO + bool "Qualcomm Adreno GPU firmware" + help + Firmware files for Qualcomm Adreno GPU firmware + +config BR2_PACKAGE_LINUX_FIRMWARE_MFC_V8 + bool "Samsung MFC video encoder/decoder v8 firmware" + help + Firmware files for Samsung MFC video encoder/decoder driver v8 + +endmenu # Video + +menu "Bluetooth firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_IBT + bool "Intel Wireless Bluetooth" + help + Firmware files for Intel 3160/7260/7265/8260/8265 Wireless + bluetooth support. + +config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7650 + bool "MediaTek MT7650" + help + Firmware files for MediaTek MT7650 bluetooth support + +config BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174A_BT + bool "Qualcomm Atheros Rome 6174A Bluetooth" + help + Firmware files for QCA Rome 6174A bluetooth support. + +config BR2_PACKAGE_LINUX_FIRMWARE_AR3011 + bool "Qualcomm Atheros 3011" + help + Firmware files for Atheros bluetooth chipset AR3011. + +config BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB + bool "Qualcomm Atheros 3012 (USB)" + help + Firmware files for Atheros bluetooth chipset AR3012 on USB. + +config BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT + bool "Realtek 87xx Bluetooth" + help + Realtek 8723a/8723b/8723bs/8723d/8723ds/8761a + +config BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT + bool "Realtek 88xx Bluetooth" + help + Realtek 8821a/8821c/8822b/8822cs/8822cu/8852au + +config BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560 + bool "TI CC2560" + help + Firmware files for Bluetooth modules CC2560 and CC2560A + +endmenu # Bluetooth + +menu "WiFi firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002 + bool "Atheros 6002" + help + Firmware files for the Atheros AR6002 chip + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003 + bool "Atheros 6003" + help + Firmware files for the Atheros AR6003 chip + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004 + bool "Atheros 6004" + help + Firmware files for the Atheros AR6004 chip + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010 + bool "Atheros 7010" + help + Firmware files for the Atheros 7010 module + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170 + bool "Atheros 9170" + help + Firmware files for the Atheros 9170 module + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271 + bool "Atheros 9271" + help + Firmware files for the Atheros 9271 module + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA9377 + bool "Atheros 10k (QCA9377)" + help + Firmware files for the Atheros QCA9377 module + +config BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA998X + bool "Atheros 10k (QCA998X)" + help + Firmware files for the Atheros QCA988X module + +config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX + bool "Broadcom BRCM bcm43xx" + select BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW43XX + help + Firmware files for the Broadcom bcm43xx SoftMAC and FullMAC. + +config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX + bool "Broadcom BRCM bcm43xxx" + select BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW43XXX + help + Firmware files for the Broadcom bcm43xxx, SoftMAC and FullMAC. + +config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366B1 + bool "Broadcom 4366b1" + help + Firmware file for the Broadcom 4366b1 FullMAC chip. + +config BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366C0 + bool "Broadcom 4366c0" + help + Firmware file for the Broadcom 4366c0 FullMAC chip. + +config BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW43XX + bool "Cypress CY cyw43xx" + help + Firmware files for the Cypress cyw43xx FullMAC. + +config BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW43XXX + bool "Cypress CY cyw43xxx" + help + Firmware files for the Cypress cyw43xxx FullMAC. + +config BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW54XXX + bool "Cypress CY cyw54xxx" + help + Firmware files for the Cypress cyw54xxx FullMAC. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22260 + bool "Intel iwlwifi 22260" + help + Firmware files for the Intel Wifi 22260 devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160 + bool "Intel iwlwifi 3160" + help + Firmware files for the Intel Wifi 3160 devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168 + bool "Intel iwlwifi 3168" + help + Firmware files for the Intel Wifi 3168 devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000 + bool "Intel iwlwifi 5000" + help + Firmware files for the Intel Wifi 5000 devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A + bool "Intel iwlwifi 6000G2A" + help + Firmware files for the Intel Wifi 6000G2A devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B + bool "Intel iwlwifi 6000G2B" + help + Firmware files for the Intel Wifi 6000G2B devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260 + bool "Intel iwlwifi 7260" + help + Firmware files for the Intel Wifi 7260 devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265 + bool "Intel iwlwifi 7265" + help + Firmware files for the Intel Wifi 7265 devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D + bool "Intel iwlwifi 7265D" + # needed for old kernel versions, where the non-D and D + # firmwares were the same + select BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265 + help + Firmware files for the Intel Wifi 7265D devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C + bool "Intel iwlwifi 8000C" + help + Firmware files for the Intel Wifi 8000C devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265 + bool "Intel iwlwifi 8265" + help + Firmware files for the Intel Wifi 8265 devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_9XXX + bool "Intel iwlwifi 9xxx" + help + Firmware files for the Intel Wifi 9xxx devices supported by + the iwlwifi kernel driver. + +config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8 + bool "Libertas SD 8686 v8" + help + Firmware files (version 8) for the Marvell SD8686 module + +config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9 + bool "Libertas SD 8686 v9" + help + Firmware files (version 9) for the Marvell SD8686 module + +config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688 + bool "Libertas SD 8688" + help + Firmware files for the Marvell SD8688 module + +config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_V9 + bool "Libertas USB 8388 v9" + help + Firmware files (version 9) for the Marvell USB8388 module + +config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_OLPC + bool "Libertas USB 8388 OLPC" + help + Firmware files (OLPC mesh capable version) for the Marvell + USB8388 module. + +config BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB_THINFIRM + bool "Libertas USB Thin Firmware" + help + Firmware files (soft MAC) for the Marvell USB modules + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787 + bool "Marvell Wifi-Ex 8787 SDIO" + help + Firmware files for the Marvell Wifi-Ex 8787 module on SDIO. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797 + bool "Marvell Wifi-Ex 8797 SDIO" + help + Firmware files for the Marvell Wifi-Ex 8797 module on SDIO. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797 + bool "Marvell Wifi-Ex 8797 USB" + help + Firmware files for the Marvell Wifi-Ex 8797 module on USB. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8801 + bool "Marvell Wifi-Ex 8801 USB" + help + Firmware files for the Marvell Wifi-Ex 8801 module on USB. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887 + bool "Marvell Wifi-Ex 8887 SDIO" + help + Firmware files for the Marvell Wifi-Ex 8887 module on SDIO. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897 + bool "Marvell Wifi-Ex 8897 SDIO" + help + Firmware files for the Marvell Wifi-Ex 8897 module on SDIO. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897 + bool "Marvell Wifi-Ex 8897 USB" + help + Firmware files for the Marvell Wifi-Ex 8897 module on USB. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897 + bool "Marvell Wifi-Ex 8897 PCI-E" + help + Firmware files for the Marvell Wifi-Ex 8897 module on PCI-E. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIEUART8997 + bool "Marvell Wifi-Ex 8997 PCI-E/UART" + help + Firmware files for the Marvell Wifi-Ex 8997 module on + PCI-E/UART. + +config BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIEUSB8997 + bool "Marvell Wifi-Ex 8997 PCI-E/USB" + help + Firmware files for the Marvell Wifi-Ex 8997 module on + PCI-E/USB. + +config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U + bool "MediaTek MT7601U" + help + MediaTek MT7601U + +config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7610E + bool "MediaTek MT7610E" + help + MediaTek MT7610E + +config BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT76X2E + bool "MediaTek MT76x2e" + help + MediaTek MT76x2e + +config BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174 + bool "Qualcomm Atheros 6174" + help + Firmware files for the Qualcomm Atheros QCA6174 chip + +config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61 + bool "Ralink rt2501/rt61" + help + Ralink rt2501/rt61 + +config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73 + bool "Ralink rt73" + help + Ralink rt73 + +config BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX + bool "Ralink rt27xx/rt28xx/rt30xx" + help + Ralink rt27xx/rt28xx/rt30xx + +config BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX + bool "Realtek 81xx" + help + Realtek 8188/8192 + +config BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX + bool "Realtek 87xx" + help + Realtek 8712/8723/8723be + +config BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX + bool "Realtek 88xx" + help + Realtek rtl8821ae + +config BR2_PACKAGE_LINUX_FIRMWARE_RTL_RTW88 + bool "Realtek rtw88" + help + Firmware images supported by Realtek's wireless + driver rtw88. + +config BR2_PACKAGE_LINUX_FIRMWARE_REDPINE_RS9113 + bool "Redpine rs9113" + help + Firmware files for WLAN and Bluetooth modules rs9113 + +config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X + bool "TI wl127x" + help + Firmware files for WLAN and Bluetooth modules wl1271 and + wl1273 + +config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X + bool "TI wl128x" + help + Firmware files for WLAN and Bluetooth modules wl128x + +config BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX + bool "TI wl18xx" + help + Firmware files for WLAN and Bluetooth modules wl18xx + +config BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_WIL6210 + bool "Qualcomm Atheros wil6210" + help + Firmware files for Qualcomm Atheros 11ad family of chips + +endmenu + +menu "Ethernet firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_BROADCOM_TIGON3 + bool "Broadcom NetXtreme/Tigon3" + help + Firmware files for Broadcom Tigon3 ethernet cards + (tigon) + +config BR2_PACKAGE_LINUX_FIRMWARE_BNX2X + bool "Broadcom NetXtremeII" + help + Firmware files for Broadcom NetXtreme 10Gb ethernet cards + (bnx2x) + +config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4 + bool "Chelsio T4" + help + Firmware files for Chelsio T4 1Gb and 10Gb ethernet cards + (cxgb4) + +config BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5 + bool "Chelsio T5" + help + Firmware files for Chelsio T5 1Gb and 10Gb ethernet cards + (cxgb4) + +config BR2_PACKAGE_LINUX_FIRMWARE_INTEL_E100 + bool "Intel e100 825xx" + help + Firmware files for Intel 825xx handled by driver e100 + (e100) + +config BR2_PACKAGE_LINUX_FIRMWARE_INTEL_ICE + bool "Intel Ethernet 800 Series" + help + Firmware files for Intel Ethernet 800 Series Network Adapters + (ice) + +config BR2_PACKAGE_LINUX_FIRMWARE_MICROCHIP_VSC85XX_PHY + bool "Microchip VSC85xx PHYs" + help + Firmware files for Microchip/Microsemi VSC85xx networking + PHYs (VSC8504, VSC8552, VSC8572, VSC8574, VSC856X, VSC8575, + VSC8582 and VSC8584) + +config BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_4X + bool "QLogic FastLinQ 4xxxx" + help + Firmware files for QLogic FastLinQ 4xxxx ethernet devices + (qede) + +config BR2_PACKAGE_LINUX_FIRMWARE_RTL_815X + bool "Realtek 8152/8153/8156 USB Ethernet Adapaters" + help + Firmware files for Realtek 8152/8153/8156 based USB Ethernet + adapters. + +config BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169 + bool "Realtek 8169" + help + Firmware files for Realtek 8169 gigabit ethernet cards + +endmenu + +menu "DVB firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_AS102 + bool "Abilis Systems as102" + help + Firmware file for Abilis Systems single DVB-T receiver as102 + +config BR2_PACKAGE_LINUX_FIRMWARE_DIB0700 + bool "DiBcom dib0700" + help + Firmware file for dib0700-based USB DVB tuner driver + +config BR2_PACKAGE_LINUX_FIRMWARE_ITETECH_IT9135 + bool "ITEtech it9135" + help + Firmware files for ITEtech it9135 (Ax and Bx) DVB-T USB tuner + +config BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK + bool "Terratec H5 DRX-K" + help + Firmware file for Terratec H5 DRX-K based DVB tuner driver + +config BR2_PACKAGE_LINUX_FIRMWARE_XCx000 + bool "Xceive/Cresta xc4000/xc5000/xc500c" + help + Firmware file for xc4000/xc5000/xc5000c based DVB tuner driver + +endmenu + +menu "Fibre Channel Adapter Firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX + bool "QLogic 2xxx Fibre Channel Adapters" + help + Firmware files for ql2xxx adapters + +endmenu + +menu "Intel QuickAssist Firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_QAT_DH895XCC + bool "Support for DH895xCC" + help + Firmware files for Intel DH895xCC devices + +config BR2_PACKAGE_LINUX_FIRMWARE_QAT_C3XXX + bool "Support for C3XXX" + help + Firmware files for Intel C3XXX devices + +config BR2_PACKAGE_LINUX_FIRMWARE_QAT_C62X + bool "Support for C62X" + help + Firmware files for Intel C62X devices + +endmenu + +menu "USB to Serial Firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI + bool "USB TI 3410/5052 Serial Firmware" + help + Firmware files for TI 3410/5052 + +endmenu + +menu "V4L Firmware" + +config BR2_PACKAGE_LINUX_FIRMWARE_CX231XX + bool "Conexant Cx23100/101/102 USB broadcast A/V decoder" + help + Firmware files for Conexant Cx23100/101/102 USB broadcast + A/V decoder needed by the Linux CX231XX driver. + +endmenu + +endif diff --git a/buildroot-2022.02.1/package/linux-firmware/linux-firmware.hash b/buildroot-2022.02.1/package/linux-firmware/linux-firmware.hash new file mode 100644 index 00000000..83275ec6 --- /dev/null +++ b/buildroot-2022.02.1/package/linux-firmware/linux-firmware.hash @@ -0,0 +1,38 @@ +# From https://mirrors.edge.kernel.org/pub/linux/kernel/firmware/sha256sums.asc +sha256 eeddb4e6bef31fd1a3757f12ccc324929bbad97855c0b9ec5ed780f74de1837d linux-firmware-20211216.tar.xz + +# Hash for license files +sha256 8116433f4004fc0c24d72b3d9e497808b724aa0e5e1cd63fc1bf66b715b1e2e9 LICENCE.Abilis +sha256 8d5847d2971241d4d6a51c16e206379de53a6d4e203fa6f8e1c1e9279c7c4ad0 LICENSE.amdgpu +sha256 2d6062d63b91eb750bf741498691604f75184b9fee97608ec537cd09bd6a42b4 LICENCE.Marvell +sha256 802b7014b26c606cf6248ae8b0ab1ce6d2d1b0db236d38dd269e676cd70710f2 LICENCE.atheros_firmware +sha256 3b5eb392b2d9d8c46d6aae26d06c187e5ea3029b12d13bc2b8deb8b3ce6bfa53 ath10k/QCA6174/hw3.0/notice_ath10k_firmware-4.txt +sha256 631065703055d11b099477c508508f20a80b202aad548a7726564bfa59a96c91 ath10k/QCA6174/hw2.1/notice_ath10k_firmware-5.txt +sha256 8ce5c6ea0542bf4aac31fc3ae16a39792ad22d0eae4543063fac56fb3380f021 ath10k/QCA6174/hw3.0/notice_ath10k_firmware-6.txt +sha256 b16056fc91b82a0e3e8de8f86c2dac98201aa9dc3cbd33e8d38f1b087fcec30d LICENCE.broadcom_bcm43xx +sha256 a5777f9e80aca0603b0648454de996168b1c530322550ccda94d6d78bcf6c061 LICENCE.chelsio_firmware +sha256 ae0db6cc4db33941148df0f67de53e76a77b1b5a46b3165edb7040aa2750015f LICENCE.cypress +sha256 60fbc9cccb455e1a3306c97db942d6f24fa93664be61d54c497637e6d0e2ae83 LICENCE.fw_sst_0f28 +sha256 5181b0b51efc79d5acb2c9bb92042878fdbad97a92114d4ab5e32e2b5b52fce4 LICENCE.ibt_firmware +sha256 0e0c11073ba3c832097da38e0905da36b8a3526f219407977b13b71c6675be7d LICENCE.it913x +sha256 16d5040c7cf851fc693b7542e20870935b99802533ea1bfd231c377a2305e5c5 LICENCE.iwlwifi_firmware +sha256 0fc67bd715b3395f3f2af464781910e9e69c4ba23da304352229b42dc9e986c3 LICENCE.microchip +sha256 2051d5bf0755a0668f8c3d9a0d1c41d4b8cc411aba70f720fda71ae9e3b4d25c LICENCE.qat_firmware +sha256 4071a11d878dbc0ac6d9e71203d03b151638f9d7a8bc47a54c3cb964100d5822 LICENCE.qla2xxx +sha256 d7bec70668ddd4aae8fb4aa32870e54b49fcdb0b9b007aa9f54b53a1ac7461bd LICENCE.ralink-firmware.txt +sha256 8568352b57f3574f9d5b2753cdb7c6e5eb2b79e82fbb9c9ba6566947467ef508 LICENCE.ralink_a_mediatek_company_firmware +sha256 a61351665b4f264f6c631364f85b907d8f8f41f8b369533ef4021765f9f3b62e LICENCE.rtlwifi_firmware.txt +sha256 106bef96470001e877fcf7ba0337fa6766a317650eb47fcaeb743eeebd62c4ff LICENCE.ti-connectivity +sha256 8ea9f4aee5f53ad877041ff089e8c95d34d615ce19a3111e5e1ea70d990ed7ff LICENCE.xc4000 +sha256 30ec8a66503dc73f83937564ae70ca23aa03259e64727ff4195b5b6f695e782f LICENCE.xc5000 +sha256 f8822049f32fef2e90a197bd8cf259f476db75d549456bdca8567616a9c07ace LICENCE.xc5000c +sha256 a064cbf83e10d72579d236a1e36032681adb8e442943ff75b57020a82992a5ed LICENSE.QualcommAtheros_ar3k +sha256 337a55102138d7baa143ee4a4c6c91693e0113fece35d380b2a12109e8c23b3f LICENSE.QualcommAtheros_ath10k +sha256 630fd46c95d3ac6544590c2265ba7348fbc930fb386261a1c04dcd9f403645b8 LICENSE.dib0700 +sha256 8542aeabf2761935122d693561e16766ce1bcc2b0d003204f9040b7d6d929f2e LICENSE.i915 +sha256 be904cd28cb292b80cdb6cf412ab0d9159d431671e987ad433c1f62e0988a9bc LICENSE.qcom +sha256 fc6223d4bfe9f2f9e2eddc44b9fe5721d0caf49f01cb08d602906add686d8c6f LICENSE.radeon +sha256 2bdd2e716f05d9737d3f9a20f9a3a3c0caee0e866100ddb0673f1178e42f92b9 LICENSE.sdma_firmware +sha256 dfb98c5474d6264a6554322b3936e305e9d73cc7b683932e3f17550dc7d2d29b WHENCE +sha256 fa43e1b9a13b341a07adca9dbe73d0f9072d7966fdfe811c01f0dd2872d7309a qcom/NOTICE.txt +sha256 bef9c828e84f21e7835b4de7daf954a327e1ff777871b58e116039b684c0d604 LICENCE.e100 diff --git a/buildroot-2022.02.1/package/linux-firmware/linux-firmware.mk b/buildroot-2022.02.1/package/linux-firmware/linux-firmware.mk new file mode 100644 index 00000000..2d103df0 --- /dev/null +++ b/buildroot-2022.02.1/package/linux-firmware/linux-firmware.mk @@ -0,0 +1,820 @@ +################################################################################ +# +# linux-firmware +# +################################################################################ + +LINUX_FIRMWARE_VERSION = 20211216 +LINUX_FIRMWARE_SOURCE = linux-firmware-$(LINUX_FIRMWARE_VERSION).tar.xz +LINUX_FIRMWARE_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/firmware +LINUX_FIRMWARE_INSTALL_IMAGES = YES + +LINUX_FIRMWARE_CPE_ID_VENDOR = kernel + +# Intel SST DSP +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_SST_DSP),y) +LINUX_FIRMWARE_FILES += intel/fw_sst_0f28.bin-48kHz_i2s_master +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.fw_sst_0f28 +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AMDGPU),y) +LINUX_FIRMWARE_DIRS += amdgpu +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.amdgpu +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_I915),y) +LINUX_FIRMWARE_DIRS += i915 +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.i915 +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RADEON),y) +LINUX_FIRMWARE_DIRS += radeon +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.radeon +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QCOM_VENUS),y) +LINUX_FIRMWARE_DIRS += qcom/venus-1.8 qcom/venus-4.2 +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom qcom/NOTICE.txt +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QCOM_ADRENO),y) +LINUX_FIRMWARE_FILES += qcom/a* +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom qcom/NOTICE.txt +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MFC_V8),y) +LINUX_FIRMWARE_FILES += \ + s5p-mfc.fw \ + s5p-mfc-v6.fw \ + s5p-mfc-v6-v2.fw \ + s5p-mfc-v7.fw \ + s5p-mfc-v8.fw +# No license file; the license is in the file WHENCE +# which is installed unconditionally +endif + +# Intel Wireless Bluetooth +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IBT),y) +LINUX_FIRMWARE_FILES += intel/ibt-* +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ibt_firmware +endif + +# Qualcomm Atheros Rome 6174A Bluetooth +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174A_BT),y) +LINUX_FIRMWARE_FILES += qca/rampatch_usb_00000302.bin qca/nvm_usb_00000302.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom +endif + +# Realtek 87xx Bluetooth +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX_BT),y) +LINUX_FIRMWARE_FILES += \ + rtl_bt/rtl8723a_fw.bin rtl_bt/rtl8723b_fw.bin \ + rtl_bt/rtl8723bs_config-OBDA8723.bin \ + rtl_bt/rtl8723bs_fw.bin rtl_bt/rtl8723d_config.bin \ + rtl_bt/rtl8723d_fw.bin rtl_bt/rtl8761a_fw.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt +endif + +# Realtek 88xx Bluetooth +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX_BT),y) +LINUX_FIRMWARE_FILES += \ + rtl_bt/rtl8812ae_fw.bin rtl_bt/rtl8821a_fw.bin \ + rtl_bt/rtl8821c_config.bin rtl_bt/rtl8821c_fw.bin \ + rtl_bt/rtl8822b_config.bin rtl_bt/rtl8822b_fw.bin \ + rtl_bt/rtl8822cs_config.bin rtl_bt/rtl8822cs_fw.bin \ + rtl_bt/rtl8822cu_config.bin rtl_bt/rtl8822cu_fw.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt +endif + +# rt2501/rt61 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT61),y) +LINUX_FIRMWARE_FILES += rt2561.bin rt2561s.bin rt2661.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt +endif + +# rt73 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73),y) +LINUX_FIRMWARE_FILES += rt73.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt +endif + +# rt2xx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX),y) +LINUX_FIRMWARE_FILES += rt2860.bin rt2870.bin rt3071.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink-firmware.txt +endif + +# rtl81xx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX),y) +LINUX_FIRMWARE_FILES += \ + rtlwifi/rtl8192cfw.bin \ + rtlwifi/rtl8192cfwU.bin \ + rtlwifi/rtl8192cfwU_B.bin \ + rtlwifi/rtl8192cufw.bin \ + rtlwifi/rtl8192defw.bin \ + rtlwifi/rtl8192sefw.bin \ + rtlwifi/rtl8188efw.bin \ + rtlwifi/rtl8188eufw.bin \ + rtlwifi/rtl8192cufw_A.bin \ + rtlwifi/rtl8192cufw_B.bin \ + rtlwifi/rtl8192cufw_TMSC.bin \ + rtlwifi/rtl8192eu_ap_wowlan.bin \ + rtlwifi/rtl8192eu_nic.bin \ + rtlwifi/rtl8192eu_wowlan.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt +endif + +# rtl87xx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX),y) +LINUX_FIRMWARE_FILES += \ + rtlwifi/rtl8712u.bin \ + rtlwifi/rtl8723fw.bin \ + rtlwifi/rtl8723fw_B.bin \ + rtlwifi/rtl8723befw.bin \ + rtlwifi/rtl8723aufw_A.bin \ + rtlwifi/rtl8723aufw_B.bin \ + rtlwifi/rtl8723aufw_B_NoBT.bin \ + rtlwifi/rtl8723befw.bin \ + rtlwifi/rtl8723bs_bt.bin \ + rtlwifi/rtl8723bu_ap_wowlan.bin \ + rtlwifi/rtl8723bu_nic.bin \ + rtlwifi/rtl8723bu_wowlan.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt +endif + +# rtl88xx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX),y) +LINUX_FIRMWARE_FILES += \ + rtlwifi/rtl8821aefw.bin \ + rtlwifi/rtl8821aefw_wowlan.bin \ + rtlwifi/rtl8821aefw_29.bin rtlwifi/rtl8822befw.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt +endif + +# rtw88 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_RTW88),y) +LINUX_FIRMWARE_FILES += \ + rtw88/rtw8723d_fw.bin \ + rtw88/rtw8822b_fw.bin \ + rtw88/rtw8822c_fw.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt +endif + +# ar3011 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3011),y) +LINUX_FIRMWARE_FILES += ath3k-1.fw +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ar3012 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AR3012_USB),y) +LINUX_FIRMWARE_FILES += \ + ar3k/AthrBT_0x01020001.dfu \ + ar3k/ramps_0x01020001_26.dfu \ + ar3k/AthrBT_0x01020200.dfu \ + ar3k/ramps_0x01020200_26.dfu \ + ar3k/ramps_0x01020200_40.dfu \ + ar3k/AthrBT_0x31010000.dfu \ + ar3k/ramps_0x31010000_40.dfu \ + ar3k/AthrBT_0x11020000.dfu \ + ar3k/ramps_0x11020000_40.dfu \ + ar3k/ramps_0x01020201_26.dfu \ + ar3k/ramps_0x01020201_40.dfu \ + ar3k/AthrBT_0x41020000.dfu \ + ar3k/ramps_0x41020000_40.dfu \ + ar3k/AthrBT_0x11020100.dfu \ + ar3k/ramps_0x11020100_40.dfu \ + ar3k/AthrBT_0x31010100.dfu \ + ar3k/ramps_0x31010100_40.dfu \ + ar3k/AthrBT_0x01020201.dfu +LINUX_FIRMWARE_ALL_LICENSE_FILES += \ + LICENCE.atheros_firmware LICENSE.QualcommAtheros_ar3k +endif + +# ar6002 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6002),y) +LINUX_FIRMWARE_FILES += ath6k/AR6002 +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ar6003 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6003),y) +LINUX_FIRMWARE_FILES += ath6k/AR6003 +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ar6004 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_6004),y) +LINUX_FIRMWARE_FILES += ath6k/AR6004 +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ar7010 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_7010),y) +LINUX_FIRMWARE_FILES += ar7010.fw ar7010_1_1.fw htc_7010.fw ath9k_htc/htc_7010-1.4.0.fw +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ar9170 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170),y) +LINUX_FIRMWARE_FILES += ar9170-1.fw ar9170-2.fw carl9170-1.fw +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ar9271 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271),y) +LINUX_FIRMWARE_FILES += ar9271.fw htc_9271.fw ath9k_htc/htc_9271-1.4.0.fw +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# ath10k +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA9377),y) +LINUX_FIRMWARE_FILES += ath10k/QCA9377/hw1.0/board-2.bin \ + ath10k/QCA9377/hw1.0/board.bin \ + ath10k/QCA9377/hw1.0/firmware-5.bin \ + ath10k/QCA9377/hw1.0/firmware-6.bin \ + ath10k/QCA9377/hw1.0/firmware-sdio-5.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA998X),y) +LINUX_FIRMWARE_FILES += ath10k/QCA988X/hw2.0/board.bin \ + ath10k/QCA988X/hw2.0/firmware-4.bin \ + ath10k/QCA988X/hw2.0/firmware-5.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.atheros_firmware +endif + +# sd8686 v8 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V8),y) +LINUX_FIRMWARE_FILES += libertas/sd8686_v8.bin libertas/sd8686_v8_helper.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# sd8686 v9 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8686_V9),y) +LINUX_FIRMWARE_FILES += libertas/sd8686_v9.bin libertas/sd8686_v9_helper.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# sd8688 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_SD8688),y) +LINUX_FIRMWARE_FILES += mrvl/sd8688.bin mrvl/sd8688_helper.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# usb8388 v9 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_V9),y) +LINUX_FIRMWARE_FILES += libertas/usb8388_v9.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# usb8388 olpc +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB8388_OLPC),y) +LINUX_FIRMWARE_FILES += libertas/usb8388_olpc.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# lbtf usb +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_LIBERTAS_USB_THINFIRM),y) +LINUX_FIRMWARE_FILES += lbtf_usb.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# sd8787 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8787),y) +LINUX_FIRMWARE_FILES += mrvl/sd8787_uapsta.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# sd8797 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8797),y) +LINUX_FIRMWARE_FILES += mrvl/sd8797_uapsta.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# usb8797 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8797),y) +LINUX_FIRMWARE_FILES += mrvl/usb8797_uapsta.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# usb8801 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8801),y) +LINUX_FIRMWARE_FILES += mrvl/usb8801_uapsta.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# sd8887 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8887),y) +LINUX_FIRMWARE_FILES += mrvl/sd8887_uapsta.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# sd8897 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_SD8897),y) +LINUX_FIRMWARE_FILES += mrvl/sd8897_uapsta.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# usb8897 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_USB8897),y) +LINUX_FIRMWARE_FILES += mrvl/usb8897_uapsta.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# pcie8897 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIE8897),y) +LINUX_FIRMWARE_FILES += mrvl/pcie8897_uapsta.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# pcieuart8997 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIEUART8997),y) +LINUX_FIRMWARE_FILES += mrvl/pcieuart8997_combo_v4.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# pcieusb8997 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MWIFIEX_PCIEUSB8997),y) +LINUX_FIRMWARE_FILES += mrvl/pcieusb8997_combo_v4.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Marvell +endif + +# MT7601 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U),y) +LINUX_FIRMWARE_FILES += mt7601u.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware +endif + +# MT7610 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7610E),y) +LINUX_FIRMWARE_FILES += mediatek/mt7610e.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware +endif + +# MT7650 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7650),y) +LINUX_FIRMWARE_FILES += mt7650.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware +endif + +# MT76x2e +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT76X2E),y) +LINUX_FIRMWARE_FILES += mt7662.bin mt7662_rom_patch.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ralink_a_mediatek_company_firmware +endif + +# qca6174 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_6174),y) +LINUX_FIRMWARE_FILES += ath10k/QCA6174 +LINUX_FIRMWARE_ALL_LICENSE_FILES += \ + LICENSE.QualcommAtheros_ath10k \ + ath10k/QCA6174/hw2.1/notice_ath10k_firmware-5.txt \ + ath10k/QCA6174/hw3.0/notice_ath10k_firmware-4.txt \ + ath10k/QCA6174/hw3.0/notice_ath10k_firmware-6.txt +endif + +# CC2560(A) +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_CC2560),y) +LINUX_FIRMWARE_FILES += \ + ti-connectivity/TIInit_6.2.31.bts \ + ti-connectivity/TIInit_6.6.15.bts +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity +endif + +# wl127x +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL127X),y) +LINUX_FIRMWARE_FILES += \ + ti-connectivity/wl1271-fw-2.bin \ + ti-connectivity/wl1271-fw-ap.bin \ + ti-connectivity/wl1271-fw.bin \ + ti-connectivity/wl127x-fw-3.bin \ + ti-connectivity/wl127x-fw-plt-3.bin \ + ti-connectivity/wl127x-nvs.bin \ + ti-connectivity/wl127x-fw-4-mr.bin \ + ti-connectivity/wl127x-fw-4-plt.bin \ + ti-connectivity/wl127x-fw-4-sr.bin \ + ti-connectivity/wl127x-fw-5-mr.bin \ + ti-connectivity/wl127x-fw-5-plt.bin \ + ti-connectivity/wl127x-fw-5-sr.bin \ + ti-connectivity/TIInit_7.2.31.bts +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity +endif + +# wl128x +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL128X),y) +LINUX_FIRMWARE_FILES += \ + ti-connectivity/wl128x-fw-3.bin \ + ti-connectivity/wl128x-fw-ap.bin \ + ti-connectivity/wl128x-fw-plt-3.bin \ + ti-connectivity/wl128x-fw.bin \ + ti-connectivity/wl128x-nvs.bin \ + ti-connectivity/wl127x-nvs.bin \ + ti-connectivity/wl128x-fw-4-mr.bin \ + ti-connectivity/wl128x-fw-4-plt.bin \ + ti-connectivity/wl128x-fw-4-sr.bin \ + ti-connectivity/wl128x-fw-5-mr.bin \ + ti-connectivity/wl128x-fw-5-plt.bin \ + ti-connectivity/wl128x-fw-5-sr.bin \ + ti-connectivity/TIInit_7.2.31.bts +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity +endif + +# wl18xx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_TI_WL18XX),y) +LINUX_FIRMWARE_FILES += \ + ti-connectivity/wl18xx-fw.bin \ + ti-connectivity/wl18xx-fw-2.bin \ + ti-connectivity/wl18xx-fw-3.bin \ + ti-connectivity/wl18xx-fw-4.bin \ + ti-connectivity/wl127x-nvs.bin \ + ti-connectivity/TIInit_7.2.31.bts +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.ti-connectivity +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QUALCOMM_WIL6210),y) +LINUX_FIRMWARE_FILES += wil6210.* +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.QualcommAtheros_ath10k +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_22260),y) +LINUX_FIRMWARE_FILES += iwlwifi-cc-a0-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160),y) +LINUX_FIRMWARE_FILES += iwlwifi-3160-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168),y) +LINUX_FIRMWARE_FILES += iwlwifi-3168-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +# iwlwifi 5000. Multiple files are available (iwlwifi-5000-1.ucode, +# iwlwifi-5000-2.ucode, iwlwifi-5000-5.ucode), corresponding to +# different versions of the firmware API. For now, we only install the +# most recent one. +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000),y) +LINUX_FIRMWARE_FILES += iwlwifi-5000-5.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A),y) +LINUX_FIRMWARE_FILES += iwlwifi-6000g2a-6.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B),y) +LINUX_FIRMWARE_FILES += iwlwifi-6000g2b-6.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260),y) +LINUX_FIRMWARE_FILES += iwlwifi-7260-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265),y) +LINUX_FIRMWARE_FILES += iwlwifi-7265-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D),y) +LINUX_FIRMWARE_FILES += iwlwifi-7265D-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C),y) +LINUX_FIRMWARE_FILES += iwlwifi-8000C-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265),y) +LINUX_FIRMWARE_FILES += iwlwifi-8265-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_9XXX),y) +LINUX_FIRMWARE_FILES += iwlwifi-9???-*.ucode +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.iwlwifi_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BROADCOM_TIGON3),y) +LINUX_FIRMWARE_FILES += tigon/* +# No license file; the license is in the file WHENCE +# which is installed unconditionally +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BNX2X),y) +LINUX_FIRMWARE_FILES += bnx2x/* +# No license file; the license is in the file WHENCE +# which is installed unconditionally +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T4),y) +LINUX_FIRMWARE_FILES += cxgb4/t4fw*.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CXGB4_T5),y) +LINUX_FIRMWARE_FILES += cxgb4/t5fw*.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.chelsio_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_E100),y) +LINUX_FIRMWARE_FILES += e100/*.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.e100 +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_INTEL_ICE),y) +LINUX_FIRMWARE_FILES += intel/ice/ddp/*.pkg +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.ice_enhanced +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_MICROCHIP_VSC85XX_PHY),y) +LINUX_FIRMWARE_FILES += microchip/mscc_vsc85*.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.microchip +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_4X),y) +LINUX_FIRMWARE_FILES += \ + qed/qed_init_values_zipped-*.bin +# No license file; the license is in the file WHENCE +# which is installed unconditionally +endif + +# rtl815x +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_815X),y) +LINUX_FIRMWARE_FILES += \ + rtl_nic/rtl8153a-2.fw \ + rtl_nic/rtl8153a-3.fw \ + rtl_nic/rtl8153a-4.fw \ + rtl_nic/rtl8153b-2.fw \ + rtl_nic/rtl8153c-1.fw \ + rtl_nic/rtl8156a-2.fw \ + rtl_nic/rtl8156b-2.fw +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.rtlwifi_firmware.txt +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169),y) +LINUX_FIRMWARE_FILES += \ + rtl_nic/rtl8105e-1.fw \ + rtl_nic/rtl8106e-1.fw \ + rtl_nic/rtl8106e-2.fw \ + rtl_nic/rtl8107e-1.fw \ + rtl_nic/rtl8107e-2.fw \ + rtl_nic/rtl8125a-3.fw \ + rtl_nic/rtl8168d-1.fw \ + rtl_nic/rtl8168d-2.fw \ + rtl_nic/rtl8168e-1.fw \ + rtl_nic/rtl8168e-2.fw \ + rtl_nic/rtl8168e-3.fw \ + rtl_nic/rtl8168f-1.fw \ + rtl_nic/rtl8168f-2.fw \ + rtl_nic/rtl8168fp-3.fw \ + rtl_nic/rtl8168g-2.fw \ + rtl_nic/rtl8168g-3.fw \ + rtl_nic/rtl8168h-1.fw \ + rtl_nic/rtl8168h-2.fw \ + rtl_nic/rtl8402-1.fw \ + rtl_nic/rtl8411-1.fw \ + rtl_nic/rtl8411-2.fw +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_XCx000),y) +LINUX_FIRMWARE_FILES += \ + dvb-fe-xc4000-1.4.1.fw \ + dvb-fe-xc5000-1.6.114.fw \ + dvb-fe-xc5000c-4.1.30.7.fw +LINUX_FIRMWARE_ALL_LICENSE_FILES += \ + LICENCE.xc4000 \ + LICENCE.xc5000 \ + LICENCE.xc5000c +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_AS102),y) +LINUX_FIRMWARE_FILES += as102_data1_st.hex as102_data2_st.hex +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.Abilis +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_DIB0700),y) +LINUX_FIRMWARE_FILES += dvb-usb-dib0700-1.20.fw +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.dib0700 +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_ITETECH_IT9135),y) +LINUX_FIRMWARE_FILES += dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.it913x +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_H5_DRXK),y) +LINUX_FIRMWARE_FILES += dvb-usb-terratec-h5-drxk.fw +# No license file; the license is in the file WHENCE +# which is installed unconditionally +endif + +# brcm43xx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XX),y) +LINUX_FIRMWARE_FILES += \ + brcm/bcm4329-fullmac-4.bin \ + brcm/brcmfmac4329-sdio.bin \ + brcm/brcmfmac4330-sdio.bin \ + brcm/brcmfmac4334-sdio.bin \ + brcm/brcmfmac4335-sdio.bin \ + brcm/brcmfmac4350c2-pcie.bin \ + brcm/brcmfmac4350-pcie.bin \ + brcm/brcmfmac4358-pcie.bin \ + brcm/brcmfmac4371-pcie.bin \ + brcm/brcmfmac4373.bin \ + brcm/brcmfmac4330-sdio.Prowise-PT301.txt \ + brcm/brcmfmac4356-pcie.gpd-win-pocket.txt \ + brcm/brcmfmac4356-sdio.vamrs,rock960.txt +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx +endif + +# brcm43xxx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM43XXX),y) +LINUX_FIRMWARE_FILES += \ + brcm/brcmfmac43143.bin \ + brcm/brcmfmac43143-sdio.bin \ + brcm/brcmfmac43236b.bin \ + brcm/brcmfmac43241b0-sdio.bin \ + brcm/brcmfmac43241b4-sdio.bin \ + brcm/brcmfmac43241b5-sdio.bin \ + brcm/brcmfmac43242a.bin \ + brcm/brcmfmac43430a0-sdio.bin \ + brcm/brcmfmac43569.bin \ + brcm/brcmfmac43602-pcie.ap.bin \ + brcm/brcmfmac43602-pcie.bin \ + brcm/brcmfmac43340-sdio.meegopad-t08.txt \ + brcm/brcmfmac43340-sdio.pov-tab-p1006w-data.txt \ + brcm/brcmfmac43340-sdio.predia-basic.txt \ + brcm/brcmfmac43362-sdio.cubietech,cubietruck.txt \ + brcm/brcmfmac43430a0-sdio.ilife-S806.txt \ + brcm/brcmfmac43430a0-sdio.jumper-ezpad-mini3.txt \ + brcm/brcmfmac43430-sdio.AP6212.txt \ + brcm/brcmfmac43430-sdio.Hampoo-D2D3_Vi8A1.txt \ + brcm/brcmfmac43430-sdio.MUR1DX.txt \ + brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt \ + brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt \ + brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx +endif + +# brcm4366b1 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366B1),y) +LINUX_FIRMWARE_FILES += brcm/brcmfmac4366b-pcie.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx +endif + +# brcm4366c0 +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_BRCM_BCM4366C0),y) +LINUX_FIRMWARE_FILES += brcm/brcmfmac4366c-pcie.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.broadcom_bcm43xx +endif + +# cyfmac43xx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW43XX),y) +LINUX_FIRMWARE_FILES += \ + cypress/cyfmac4339-sdio.bin \ + cypress/cyfmac4354-sdio.bin \ + cypress/cyfmac4354-sdio.clm_blob \ + cypress/cyfmac4356-pcie.bin \ + cypress/cyfmac4356-pcie.clm_blob \ + cypress/cyfmac4356-sdio.bin \ + cypress/cyfmac4356-sdio.clm_blob \ + cypress/cyfmac4373-sdio.bin \ + cypress/cyfmac4373-sdio.clm_blob +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.cypress +endif + +# cyfmac43xxx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW43XXX),y) +LINUX_FIRMWARE_FILES += \ + cypress/cyfmac43012-sdio.bin \ + cypress/cyfmac43012-sdio.clm_blob \ + cypress/cyfmac43340-sdio.bin \ + cypress/cyfmac43362-sdio.bin \ + cypress/cyfmac43430-sdio.bin \ + cypress/cyfmac43430-sdio.clm_blob \ + cypress/cyfmac43455-sdio.bin \ + cypress/cyfmac43455-sdio.clm_blob \ + cypress/cyfmac43570-pcie.bin \ + cypress/cyfmac43570-pcie.clm_blob +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.cypress +endif + +# cyfmac54xxx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CYPRESS_CYW54XXX),y) +LINUX_FIRMWARE_FILES += \ + cypress/cyfmac54591-pcie.bin \ + cypress/cyfmac54591-pcie.clm_blob +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.cypress +endif + +# ql2xxx +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QLOGIC_2XXX),y) +LINUX_FIRMWARE_FILES += \ + ql2100_fw.bin ql2200_fw.bin ql2300_fw.bin ql2322_fw.bin \ + ql2400_fw.bin ql2500_fw.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qla2xxx +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_REDPINE_RS9113),y) +LINUX_FIRMWARE_FILES += \ + rsi/rs9113_ap_bt_dual_mode.rps \ + rsi/rs9113_wlan_bt_dual_mode.rps \ + rsi/rs9113_wlan_qspi.rps +# No license file; the license is in the file WHENCE +# which is installed unconditionally +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QAT_DH895XCC),y) +LINUX_FIRMWARE_FILES += qat_895xcc.bin qat_895xcc_mmp.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qat_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QAT_C3XXX),y) +LINUX_FIRMWARE_FILES += qat_c3xxx.bin qat_c3xxx_mmp.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qat_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_QAT_C62X),y) +LINUX_FIRMWARE_FILES += qat_c62x.bin qat_c62x_mmp.bin +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.qat_firmware +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_USB_SERIAL_TI),y) +LINUX_FIRMWARE_FILES += ti_3410.fw ti_5052.fw \ + mts_cdma.fw mts_gsm.fw mts_edge.fw mts_mt9234mu.fw mts_mt9234zba.fw \ + moxa/moxa-1110.fw moxa/moxa-1130.fw moxa/moxa-1131.fw \ + moxa/moxa-1150.fw moxa/moxa-1151.fw +# Some firmware's license is in the file WHENCE +# which is installed unconditionally +LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENCE.moxa +endif + +ifeq ($(BR2_PACKAGE_LINUX_FIRMWARE_CX231XX),y) +LINUX_FIRMWARE_FILES += v4l-cx231xx-avcore-01.fw +# No license file; the license is in the file WHENCE +# which is installed unconditionally +endif + +ifneq ($(LINUX_FIRMWARE_FILES)$(LINUX_FIRMWARE_DIRS),) + +define LINUX_FIRMWARE_BUILD_CMDS + cd $(@D) && \ + $(TAR) cf br-firmware.tar $(sort $(LINUX_FIRMWARE_FILES) $(LINUX_FIRMWARE_DIRS)) +endef + +# Most firmware files are under a proprietary license, so no need to +# repeat it for every selections above. Those firmwares that have more +# lax licensing terms may still add them on a per-case basis. +LINUX_FIRMWARE_LICENSE += Proprietary + +# This file contains some licensing information about all the firmware +# files found in the linux-firmware package, so we always add it, even +# for firmwares that have their own licensing terms. +LINUX_FIRMWARE_ALL_LICENSE_FILES += WHENCE + +# Some license files may be listed more than once, so we have to remove +# duplicates +LINUX_FIRMWARE_LICENSE_FILES = $(sort $(LINUX_FIRMWARE_ALL_LICENSE_FILES)) + +# Some firmware are distributed as a symlink, for drivers to load them using a +# defined name other than the real one. Since 9cfefbd7fbda ("Remove duplicate +# symlinks") those symlink aren't distributed in linux-firmware but are created +# automatically by its copy-firmware.sh script during the installation, which +# parses the WHENCE file where symlinks are described. We follow the same logic +# here, adding symlink only for firmwares installed in the target directory. +# +# For testing the presence of firmwares in the target directory we first make +# sure we canonicalize the pointed-to file, to cover the symlinks of the form +# a/foo -> ../b/foo where a/ (the directory where to put the symlink) does +# not yet exist. +define LINUX_FIRMWARE_INSTALL_FW + mkdir -p $(1) + $(TAR) xf $(@D)/br-firmware.tar -C $(1) + cd $(1) ; \ + sed -r -e '/^Link: (.+) -> (.+)$$/!d; s//\1 \2/' $(@D)/WHENCE | \ + while read f d; do \ + if test -f $$(readlink -m $$(dirname "$$f")/$$d); then \ + mkdir -p $$(dirname "$$f") || exit 1; \ + ln -sf $$d "$$f" || exit 1; \ + fi ; \ + done +endef + +endif # LINUX_FIRMWARE_FILES || LINUX_FIRMWARE_DIRS + +define LINUX_FIRMWARE_INSTALL_TARGET_CMDS + $(call LINUX_FIRMWARE_INSTALL_FW, $(TARGET_DIR)/lib/firmware) +endef + +define LINUX_FIRMWARE_INSTALL_IMAGES_CMDS + $(call LINUX_FIRMWARE_INSTALL_FW, $(BINARIES_DIR)) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/linux-fusion/0001-fix-for-linux-4-and-above.patch b/buildroot-2022.02.1/package/linux-fusion/0001-fix-for-linux-4-and-above.patch similarity index 100% rename from buildroot-2021.05/package/linux-fusion/0001-fix-for-linux-4-and-above.patch rename to buildroot-2022.02.1/package/linux-fusion/0001-fix-for-linux-4-and-above.patch diff --git a/buildroot-2021.05/package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch b/buildroot-2022.02.1/package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch similarity index 100% rename from buildroot-2021.05/package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch rename to buildroot-2022.02.1/package/linux-fusion/0002-Fix-mismatched-conversion-spec-and-value-in-printk.patch diff --git a/buildroot-2021.05/package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch b/buildroot-2022.02.1/package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch similarity index 100% rename from buildroot-2021.05/package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch rename to buildroot-2022.02.1/package/linux-fusion/0003-Fix-fusion-Unknown-symbol-tasklist_lock-err-0.patch diff --git a/buildroot-2021.05/package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch b/buildroot-2022.02.1/package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch similarity index 100% rename from buildroot-2021.05/package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch rename to buildroot-2022.02.1/package/linux-fusion/0004-Port-one-one_udp.c-to-Linux-4.1.patch diff --git a/buildroot-2021.05/package/linux-fusion/40-fusion.rules b/buildroot-2022.02.1/package/linux-fusion/40-fusion.rules similarity index 100% rename from buildroot-2021.05/package/linux-fusion/40-fusion.rules rename to buildroot-2022.02.1/package/linux-fusion/40-fusion.rules diff --git a/buildroot-2021.05/package/linux-fusion/Config.in b/buildroot-2022.02.1/package/linux-fusion/Config.in similarity index 100% rename from buildroot-2021.05/package/linux-fusion/Config.in rename to buildroot-2022.02.1/package/linux-fusion/Config.in diff --git a/buildroot-2021.05/package/linux-fusion/linux-fusion.hash b/buildroot-2022.02.1/package/linux-fusion/linux-fusion.hash similarity index 100% rename from buildroot-2021.05/package/linux-fusion/linux-fusion.hash rename to buildroot-2022.02.1/package/linux-fusion/linux-fusion.hash diff --git a/buildroot-2021.05/package/linux-fusion/linux-fusion.mk b/buildroot-2022.02.1/package/linux-fusion/linux-fusion.mk similarity index 100% rename from buildroot-2021.05/package/linux-fusion/linux-fusion.mk rename to buildroot-2022.02.1/package/linux-fusion/linux-fusion.mk diff --git a/buildroot-2021.05/package/linux-headers/Config.in b/buildroot-2022.02.1/package/linux-headers/Config.in similarity index 100% rename from buildroot-2021.05/package/linux-headers/Config.in rename to buildroot-2022.02.1/package/linux-headers/Config.in diff --git a/buildroot-2022.02.1/package/linux-headers/Config.in.host b/buildroot-2022.02.1/package/linux-headers/Config.in.host new file mode 100644 index 00000000..decf02d1 --- /dev/null +++ b/buildroot-2022.02.1/package/linux-headers/Config.in.host @@ -0,0 +1,394 @@ +comment "Kernel Header Options" + +config BR2_PACKAGE_HOST_LINUX_HEADERS + bool + +choice + prompt "Kernel Headers" + default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL + default BR2_KERNEL_HEADERS_5_15 + help + Select the kernel version to get headers from. + + The kernel headers must be at least as old as the oldest + kernel you intend to run on your target. + + If you use Buildroot to build a kernel, then you can use + the sources from that kernel as source for the headers. + + If you choose a custom version of the kernel headers, or + choose to use the same sources as the kernel, you'll have to + select (below) the series of that kernel, so that Buildroot + can show or hide packages that have strong requirements on the + kernel headers. + +config BR2_KERNEL_HEADERS_AS_KERNEL + bool "Same as kernel being built" + depends on BR2_LINUX_KERNEL + select BR2_KERNEL_HEADERS_LATEST if BR2_LINUX_KERNEL_LATEST_VERSION + +config BR2_KERNEL_HEADERS_4_4 + bool "Linux 4.4.x kernel headers" + depends on !BR2_riscv + depends on !BR2_csky + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 + +config BR2_KERNEL_HEADERS_4_9 + bool "Linux 4.9.x kernel headers" + depends on !BR2_riscv + depends on !BR2_csky + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + +config BR2_KERNEL_HEADERS_4_14 + bool "Linux 4.14.x kernel headers" + depends on !BR2_riscv + depends on !BR2_csky + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 + +config BR2_KERNEL_HEADERS_4_19 + bool "Linux 4.19.x kernel headers" + depends on !BR2_csky + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 + +config BR2_KERNEL_HEADERS_5_4 + bool "Linux 5.4.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + +config BR2_KERNEL_HEADERS_5_10 + bool "Linux 5.10.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 + +config BR2_KERNEL_HEADERS_5_15 + bool "Linux 5.15.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 + +config BR2_KERNEL_HEADERS_5_16 + bool "Linux 5.16.x kernel headers" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16 + select BR2_KERNEL_HEADERS_LATEST + +config BR2_KERNEL_HEADERS_VERSION + bool "Manually specified Linux version" + help + This option allows you to use a specific official version from + kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ... + + Note: you cannot use this option to select a _longterm_ 2.6 + kernel, because these kernels are not located at the standard + URL at kernel.org. Instead, select "Custom tarball" and + specify the right URL directly. + +config BR2_KERNEL_HEADERS_CUSTOM_TARBALL + bool "Custom tarball" + help + This option allows you to specify a URL pointing to a kernel + source tarball. This URL can use any protocol recognized by + Buildroot, like http://, ftp://, file:// or scp://. + + When pointing to a local tarball using file://, you may want + to use a make variable like $(TOPDIR) to reference the root of + the Buildroot tree. + +config BR2_KERNEL_HEADERS_CUSTOM_GIT + bool "Custom Git repository" + help + This option allows Buildroot to get the Linux kernel source + code from a Git repository. + +endchoice + +# Select this for the latest kernel headers version (for license hashes) +config BR2_KERNEL_HEADERS_LATEST + bool + +config BR2_DEFAULT_KERNEL_VERSION + string "linux version" + depends on BR2_KERNEL_HEADERS_VERSION + help + Specify the version you want to use. + E.G.: 3.6.10 + +config BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION + string "URL of custom kernel tarball" + depends on BR2_KERNEL_HEADERS_CUSTOM_TARBALL + +if BR2_KERNEL_HEADERS_CUSTOM_GIT + +config BR2_KERNEL_HEADERS_CUSTOM_REPO_URL + string "URL of custom repository" + +config BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION + string "Custom repository version" + help + Revision to use in the typical format used by + Git/Mercurial/Subversion E.G. a sha id, a tag, branch, .. + +endif + +choice + bool "Custom kernel headers series" + default BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 if \ + (BR2_KERNEL_HEADERS_AS_KERNEL && BR2_LINUX_KERNEL_LATEST_VERSION) + depends on BR2_KERNEL_HEADERS_VERSION || BR2_KERNEL_HEADERS_AS_KERNEL || \ + BR2_KERNEL_HEADERS_CUSTOM_TARBALL || BR2_KERNEL_HEADERS_CUSTOM_GIT + help + Specify the kernel headers series you manually selected, + above. + + This is used to hide/show some packages that have strict + requirements on the version of kernel headers. + + If your kernel headers are more recent than the latest version + in the choice, then select the latest version. + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_16 + bool "5.16.x or later" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15 + bool "5.15.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_14 + bool "5.14.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_13 + bool "5.13.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_12 + bool "5.12.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_11 + bool "5.11.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_10 + bool "5.10.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_9 + bool "5.9.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_8 + bool "5.8.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_7 + bool "5.7.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_6 + bool "5.6.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_5 + bool "5.5.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_4 + bool "5.4.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_3 + bool "5.3.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_2 + bool "5.2.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_1 + bool "5.1.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_0 + bool "5.0.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_20 + bool "4.20.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19 + bool "4.19.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18 + bool "4.18.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_17 + bool "4.17.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_16 + bool "4.16.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15 + bool "4.15.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14 + bool "4.14.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13 + bool "4.13.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_12 + bool "4.12.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_11 + bool "4.11.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_10 + bool "4.10.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9 + bool "4.9.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_8 + bool "4.8.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_7 + bool "4.7.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_6 + bool "4.6.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_5 + bool "4.5.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4 + bool "4.4.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_3 + bool "4.3.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_2 + bool "4.2.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1 + bool "4.1.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_0 + bool "4.0.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_19 + bool "3.19.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_18 + bool "3.18.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_17 + bool "3.17.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_16 + bool "3.16.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15 + bool "3.15.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_14 + bool "3.14.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_13 + bool "3.13.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12 + bool "3.12.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_11 + bool "3.11.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_10 + bool "3.10.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_9 + bool "3.9.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8 + bool "3.8.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_7 + bool "3.7.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_6 + bool "3.6.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_5 + bool "3.5.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_4 + bool "3.4.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_3 + bool "3.3.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_2 + bool "3.2.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_1 + bool "3.1.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_0 + bool "3.0.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + +config BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD + bool "2.6.x" + +endchoice + +config BR2_DEFAULT_KERNEL_HEADERS + string + default "4.4.302" if BR2_KERNEL_HEADERS_4_4 + default "4.9.309" if BR2_KERNEL_HEADERS_4_9 + default "4.14.275" if BR2_KERNEL_HEADERS_4_14 + default "4.19.237" if BR2_KERNEL_HEADERS_4_19 + default "5.4.188" if BR2_KERNEL_HEADERS_5_4 + default "5.10.110" if BR2_KERNEL_HEADERS_5_10 + default "5.15.33" if BR2_KERNEL_HEADERS_5_15 + default "5.16.19" if BR2_KERNEL_HEADERS_5_16 + default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION + default "custom" if BR2_KERNEL_HEADERS_CUSTOM_TARBALL + default BR2_KERNEL_HEADERS_CUSTOM_REPO_VERSION \ + if BR2_KERNEL_HEADERS_CUSTOM_GIT diff --git a/buildroot-2021.05/package/linux-headers/linux-headers.hash b/buildroot-2022.02.1/package/linux-headers/linux-headers.hash similarity index 100% rename from buildroot-2021.05/package/linux-headers/linux-headers.hash rename to buildroot-2022.02.1/package/linux-headers/linux-headers.hash diff --git a/buildroot-2022.02.1/package/linux-headers/linux-headers.mk b/buildroot-2022.02.1/package/linux-headers/linux-headers.mk new file mode 100644 index 00000000..e2a0b7a7 --- /dev/null +++ b/buildroot-2022.02.1/package/linux-headers/linux-headers.mk @@ -0,0 +1,173 @@ +################################################################################ +# +# linux-headers +# +################################################################################ + +# This package is used to provide Linux kernel headers for the +# internal toolchain backend. + +# Set variables depending on whether we are using headers from a kernel +# build or a standalone header package. +ifeq ($(BR2_KERNEL_HEADERS_AS_KERNEL),y) +LINUX_HEADERS_CUSTOM_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL)) +LINUX_HEADERS_CUSTOM_GIT = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_GIT)) +LINUX_HEADERS_CUSTOM_HG = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_HG)) +LINUX_HEADERS_CUSTOM_SVN = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_SVN)) +LINUX_HEADERS_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION)) +LINUX_HEADERS_CUSTOM_TARBALL_LOCATION = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION)) +LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) +LINUX_HEADERS_CIP = $(BR2_LINUX_KERNEL_LATEST_CIP_VERSION)$(BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION) +ifneq ($(LINUX_HEADERS_OVERRIDE_SRCDIR),) +$(error LINUX_HEADERS_OVERRIDE_SRCDIR must not be set when BR2_KERNEL_HEADERS_AS_KERNEL=y) +endif +LINUX_HEADERS_OVERRIDE_SRCDIR = $(LINUX_OVERRIDE_SRCDIR) +else # ! BR2_KERNEL_HEADERS_AS_KERNEL +LINUX_HEADERS_CUSTOM_TARBALL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_TARBALL)) +LINUX_HEADERS_CUSTOM_GIT = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_GIT)) +LINUX_HEADERS_CUSTOM_HG = +LINUX_HEADERS_CUSTOM_SVN = +LINUX_HEADERS_VERSION = $(call qstrip,$(BR2_DEFAULT_KERNEL_HEADERS)) +LINUX_HEADERS_CUSTOM_TARBALL_LOCATION = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION)) +LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) +LINUX_HEADERS_CIP = +endif # BR2_KERNEL_HEADERS_AS_KERNEL + +ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR_BUILDING),yy) +ifeq ($(LINUX_HEADERS_VERSION),) +$(error No kernel headers version set, check your BR2_DEFAULT_KERNEL_VERSION setting) +endif +endif + +# Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration +ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) +ifeq ($(BR_BUILDING),y) +ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION),) +$(error No kernel headers tarball location set, check your BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION setting) +endif +endif +LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)) +LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))) +else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y) +LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION)$(BR_FMT_VERSION_git).tar.gz +LINUX_HEADERS_SITE = $(LINUX_HEADERS_REPO_URL) +LINUX_HEADERS_SITE_METHOD = git +else ifeq ($(LINUX_HEADERS_CUSTOM_HG),y) +LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz +LINUX_HEADERS_SITE = $(LINUX_HEADERS_REPO_URL) +LINUX_HEADERS_SITE_METHOD = hg +else ifeq ($(LINUX_HEADERS_CUSTOM_SVN),y) +LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION)$(BR_FMT_VERSION_svn).tar.gz +LINUX_HEADERS_SITE = $(LINUX_HEADERS_REPO_URL) +LINUX_HEADERS_SITE_METHOD = svn +else ifeq ($(LINUX_HEADERS_CIP),y) +LINUX_HEADERS_SOURCE = linux-cip-$(LINUX_HEADERS_VERSION).tar.gz +LINUX_HEADERS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot +else ifneq ($(findstring -rc,$(LINUX_HEADERS_VERSION)),) +# Since 4.12-rc1, -rc kernels are generated from cgit. This also works for +# older -rc kernels. +LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz +LINUX_HEADERS_SITE = https://git.kernel.org/torvalds/t +else +LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz +ifeq ($(findstring x2.6.,x$(LINUX_HEADERS_VERSION)),x2.6.) +LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6 +else +LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v$(firstword $(subst ., ,$(LINUX_HEADERS_VERSION))).x +endif # x2.6 +endif # LINUX_HEADERS_CUSTOM_TARBALL + +# Apply any necessary patches if we are using the headers from a kernel +# build. +ifeq ($(BR2_KERNEL_HEADERS_AS_KERNEL),y) +LINUX_HEADERS_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH)) \ + $(wildcard $(addsuffix /linux,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR)))) + +# We rely on the generic package infrastructure to download and apply +# remote patches (downloaded from ftp, http or https). For local +# patches, we can't rely on that infrastructure, because there might +# be directories in the patch list (unlike for other packages). +LINUX_HEADERS_PATCH = $(filter ftp://% http://% https://%,$(LINUX_HEADERS_PATCHES)) + +define LINUX_HEADERS_APPLY_LOCAL_PATCHES + for p in $(filter-out ftp://% http://% https://%,$(LINUX_HEADERS_PATCHES)) ; do \ + if test -d $$p ; then \ + $(APPLY_PATCHES) $(@D) $$p \*.patch || exit 1 ; \ + else \ + $(APPLY_PATCHES) $(@D) `dirname $$p` `basename $$p` || exit 1; \ + fi \ + done +endef + +LINUX_HEADERS_POST_PATCH_HOOKS += LINUX_HEADERS_APPLY_LOCAL_PATCHES +endif # BR2_KERNEL_HEADERS_AS_KERNEL + +# Skip hash checking for custom kernel headers. +ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR2_KERNEL_HEADERS_CUSTOM_TARBALL)$(BR2_KERNEL_HEADERS_CUSTOM_GIT),y) +BR_NO_CHECK_HASH_FOR += $(LINUX_HEADERS_SOURCE) +endif + +# linux-headers really is the same as the linux package +LINUX_HEADERS_DL_SUBDIR = linux + +LINUX_HEADERS_LICENSE = GPL-2.0 +ifeq ($(BR2_KERNEL_HEADERS_LATEST),y) +LINUX_HEADERS_LICENSE_FILES = \ + COPYING \ + LICENSES/preferred/GPL-2.0 \ + LICENSES/exceptions/Linux-syscall-note +endif +LINUX_HEADERS_CPE_ID_VENDOR = linux +LINUX_HEADERS_CPE_ID_PRODUCT = linux_kernel + +LINUX_HEADERS_INSTALL_STAGING = YES + +# linux-headers is part of the toolchain so disable the toolchain dependency +LINUX_HEADERS_ADD_TOOLCHAIN_DEPENDENCY = NO + +# For some architectures (eg. Arc, Cris, Hexagon, ia64, parisc, +# score and xtensa), the Linux buildsystem tries to call the +# cross-compiler, although it is not needed at all. +# This results in seemingly errors like: +# [...]/scripts/gcc-version.sh: line 26: arc-linux-uclibc-gcc: command not found +# Those can be safely ignored. + +# This step is required to have a separate linux headers location for +# uClibc building. This way uClibc doesn't modify linux headers on installation +# of "its" headers +define LINUX_HEADERS_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_MAKE_ENV) $(MAKE) \ + ARCH=$(KERNEL_ARCH) \ + HOSTCC="$(HOSTCC)" \ + HOSTCFLAGS="$(HOSTCFLAGS)" \ + HOSTCXX="$(HOSTCXX)" \ + INSTALL_HDR_PATH=$(@D)/usr \ + headers_install) +endef + +define LINUX_HEADERS_INSTALL_STAGING_CMDS + (cd $(@D); \ + $(TARGET_MAKE_ENV) $(MAKE) \ + ARCH=$(KERNEL_ARCH) \ + HOSTCC="$(HOSTCC)" \ + HOSTCFLAGS="$(HOSTCFLAGS)" \ + HOSTCXX="$(HOSTCXX)" \ + INSTALL_HDR_PATH=$(STAGING_DIR)/usr \ + headers_install) +endef + +ifeq ($(BR2_KERNEL_HEADERS_VERSION)$(BR2_KERNEL_HEADERS_AS_KERNEL)$(BR2_KERNEL_HEADERS_CUSTOM_TARBALL)$(BR2_KERNEL_HEADERS_CUSTOM_GIT),y) +# In this case, we must always do a 'loose' test, because they are all +# custom versions which may be later than what we know right now. +define LINUX_HEADERS_CHECK_VERSION + $(call check_kernel_headers_version,\ + $(BUILD_DIR),\ + $(STAGING_DIR),\ + $(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)),\ + loose) +endef +LINUX_HEADERS_POST_INSTALL_STAGING_HOOKS += LINUX_HEADERS_CHECK_VERSION +endif + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/linux-pam/Config.in b/buildroot-2022.02.1/package/linux-pam/Config.in new file mode 100644 index 00000000..27ba55bd --- /dev/null +++ b/buildroot-2022.02.1/package/linux-pam/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_LINUX_PAM + bool "linux-pam" + depends on BR2_ENABLE_LOCALE + depends on BR2_USE_WCHAR + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_FLEX + help + A Security Framework that Provides Authentication for + Applications + + http://linux-pam.org + +comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \ + || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/linux-pam/linux-pam.hash b/buildroot-2022.02.1/package/linux-pam/linux-pam.hash new file mode 100644 index 00000000..0be34336 --- /dev/null +++ b/buildroot-2022.02.1/package/linux-pam/linux-pam.hash @@ -0,0 +1,6 @@ +# Locally computed hashes after checking signature at +# https://github.com/linux-pam/linux-pam/releases/download/v1.5.2/Linux-PAM-1.5.2.tar.xz.asc +# signed with the key 8C6BFD92EE0F42EDF91A6A736D1A7F052E5924BB +sha256 e4ec7131a91da44512574268f493c6d8ca105c87091691b8e9b56ca685d4f94d Linux-PAM-1.5.2.tar.xz +# Locally computed +sha256 133d98e7a2ab3ffd330b4debb0bfc10fea21e4b2b5a5b09de2e924293be5ff08 Copyright diff --git a/buildroot-2022.02.1/package/linux-pam/linux-pam.mk b/buildroot-2022.02.1/package/linux-pam/linux-pam.mk new file mode 100644 index 00000000..789dcf5c --- /dev/null +++ b/buildroot-2022.02.1/package/linux-pam/linux-pam.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# linux-pam +# +################################################################################ + +LINUX_PAM_VERSION = 1.5.2 +LINUX_PAM_SOURCE = Linux-PAM-$(LINUX_PAM_VERSION).tar.xz +LINUX_PAM_SITE = https://github.com/linux-pam/linux-pam/releases/download/v$(LINUX_PAM_VERSION) +LINUX_PAM_INSTALL_STAGING = YES +LINUX_PAM_CONF_OPTS = \ + --disable-prelude \ + --disable-isadir \ + --disable-nis \ + --disable-db \ + --disable-regenerate-docu \ + --enable-securedir=/lib/security \ + --libdir=/lib +LINUX_PAM_DEPENDENCIES = flex host-flex host-pkgconf \ + $(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) \ + $(TARGET_NLS_DEPENDENCIES) +LINUX_PAM_LICENSE = BSD-3-Clause +LINUX_PAM_LICENSE_FILES = Copyright +LINUX_PAM_MAKE_OPTS += LIBS=$(TARGET_NLS_LIBS) +LINUX_PAM_CPE_ID_VENDOR = linux-pam + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +LINUX_PAM_CONF_OPTS += --enable-selinux +LINUX_PAM_DEPENDENCIES += libselinux +define LINUX_PAM_SELINUX_PAMFILE_TWEAK + $(SED) 's/^# \(.*pam_selinux.so.*\)$$/\1/' \ + $(TARGET_DIR)/etc/pam.d/login +endef +else +LINUX_PAM_CONF_OPTS += --disable-selinux +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +LINUX_PAM_CONF_OPTS += --enable-audit +LINUX_PAM_DEPENDENCIES += audit +else +LINUX_PAM_CONF_OPTS += --disable-audit +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LINUX_PAM_CONF_OPTS += --enable-openssl +LINUX_PAM_DEPENDENCIES += openssl +else +LINUX_PAM_CONF_OPTS += --disable-openssl +endif + +# Install default pam config (deny everything except login) +define LINUX_PAM_INSTALL_CONFIG + $(INSTALL) -m 0644 -D package/linux-pam/login.pam \ + $(TARGET_DIR)/etc/pam.d/login + $(INSTALL) -m 0644 -D package/linux-pam/other.pam \ + $(TARGET_DIR)/etc/pam.d/other + $(LINUX_PAM_SELINUX_PAMFILE_TWEAK) +endef + +LINUX_PAM_POST_INSTALL_TARGET_HOOKS += LINUX_PAM_INSTALL_CONFIG + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/linux-pam/login.pam b/buildroot-2022.02.1/package/linux-pam/login.pam similarity index 100% rename from buildroot-2021.05/package/linux-pam/login.pam rename to buildroot-2022.02.1/package/linux-pam/login.pam diff --git a/buildroot-2021.05/package/linux-pam/other.pam b/buildroot-2022.02.1/package/linux-pam/other.pam similarity index 100% rename from buildroot-2021.05/package/linux-pam/other.pam rename to buildroot-2022.02.1/package/linux-pam/other.pam diff --git a/buildroot-2021.05/package/linux-serial-test/Config.in b/buildroot-2022.02.1/package/linux-serial-test/Config.in similarity index 100% rename from buildroot-2021.05/package/linux-serial-test/Config.in rename to buildroot-2022.02.1/package/linux-serial-test/Config.in diff --git a/buildroot-2021.05/package/linux-serial-test/linux-serial-test.hash b/buildroot-2022.02.1/package/linux-serial-test/linux-serial-test.hash similarity index 100% rename from buildroot-2021.05/package/linux-serial-test/linux-serial-test.hash rename to buildroot-2022.02.1/package/linux-serial-test/linux-serial-test.hash diff --git a/buildroot-2021.05/package/linux-serial-test/linux-serial-test.mk b/buildroot-2022.02.1/package/linux-serial-test/linux-serial-test.mk similarity index 100% rename from buildroot-2021.05/package/linux-serial-test/linux-serial-test.mk rename to buildroot-2022.02.1/package/linux-serial-test/linux-serial-test.mk diff --git a/buildroot-2021.05/package/linux-syscall-support/Config.in b/buildroot-2022.02.1/package/linux-syscall-support/Config.in similarity index 100% rename from buildroot-2021.05/package/linux-syscall-support/Config.in rename to buildroot-2022.02.1/package/linux-syscall-support/Config.in diff --git a/buildroot-2021.05/package/linux-syscall-support/linux-syscall-support.hash b/buildroot-2022.02.1/package/linux-syscall-support/linux-syscall-support.hash similarity index 100% rename from buildroot-2021.05/package/linux-syscall-support/linux-syscall-support.hash rename to buildroot-2022.02.1/package/linux-syscall-support/linux-syscall-support.hash diff --git a/buildroot-2021.05/package/linux-syscall-support/linux-syscall-support.mk b/buildroot-2022.02.1/package/linux-syscall-support/linux-syscall-support.mk similarity index 100% rename from buildroot-2021.05/package/linux-syscall-support/linux-syscall-support.mk rename to buildroot-2022.02.1/package/linux-syscall-support/linux-syscall-support.mk diff --git a/buildroot-2022.02.1/package/linux-tools/Config.in b/buildroot-2022.02.1/package/linux-tools/Config.in new file mode 100644 index 00000000..f459b417 --- /dev/null +++ b/buildroot-2022.02.1/package/linux-tools/Config.in @@ -0,0 +1,159 @@ +menu "Linux Kernel Tools" + +# No prompt, this is sourced by linux/Config.in as this +# is no real package and really belongs to the kernel. +config BR2_PACKAGE_LINUX_TOOLS + bool + +config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER + bool "cpupower" + select BR2_PACKAGE_LINUX_TOOLS + select BR2_PACKAGE_PCIUTILS + help + cpupower is a collection of tools to examine and tune power + saving related features of your processor. + +config BR2_PACKAGE_LINUX_TOOLS_GPIO + bool "gpio" + select BR2_PACKAGE_LINUX_TOOLS + help + gpio is a collection of tools to get information about, + control and monitor gpios present on system. + + These tools use new gpio ABI which will deprecate sysfs gpio + interface in the future. + + These tools are available only from kernel version 4.8. + +config BR2_PACKAGE_LINUX_TOOLS_IIO + bool "iio" + select BR2_PACKAGE_LINUX_TOOLS + help + iio is a collection of tools to get information about, + control and monitor iio devices present on system. + + These tools are available only from kernel version 4.7. + +config BR2_PACKAGE_LINUX_TOOLS_PCI + bool "pci" + select BR2_PACKAGE_LINUX_TOOLS + help + pcitest is a tool for testing capabilities related to a + PCI Endpoint (only works with specific Endpoints). + + These tools are available only from kernel version 4.20. + +config BR2_PACKAGE_LINUX_TOOLS_PERF + bool "perf" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_LINUX_TOOLS + help + perf (sometimes "Perf Events" or perf tools, originally + "Performance Counters for Linux") - is a performance + analyzing tool in Linux, available from kernel version + 2.6.31. User-space controlling utility, called 'perf' has + git-like interface with subcommands. It is capable of + statistical profiling of entire system (both kernel and user + code), single CPU or severals threads. + + This will build and install the userspace 'perf' + command. + + Your kernel must have CONFIG_PERF_EVENTS enabled to use perf + profiling. Buildroot automatically enables this in the kernel + configuration. + + https://perf.wiki.kernel.org/ + +if BR2_PACKAGE_LINUX_TOOLS_PERF + +config BR2_PACKAGE_LINUX_TOOLS_PERF_TUI + bool "enable perf TUI" + depends on BR2_USE_MMU # slang + select BR2_PACKAGE_SLANG + help + Enable the TUI interface for perf which requires a TTY and + enables zooming into DSOs and threads as well as other + features. + +endif + +config BR2_PACKAGE_LINUX_TOOLS_SELFTESTS + bool"selftests" + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash + depends on BR2_USE_MMU # bash + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 # util-linux schedutils + select BR2_PACKAGE_LINUX_TOOLS + select BR2_PACKAGE_BASH # runtime + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_NCURSES_TARGET_PROGS # runtime (tput) + select BR2_PACKAGE_KMOD + select BR2_PACKAGE_KMOD_TOOLS # runtime (modprobe -n) + select BR2_PACKAGE_POPT + select BR2_PACKAGE_LIBCAP_NG + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS # runtime (taskset) + help + Build and install (to /usr/lib/kselftests) kernel selftests. + + Use of this option implies you know the process of using and + compiling the kernel selftests. The Makefile to build and + install these is very noisy and may appear to cause your + build to fail for strange reasons. + + This is very much a use at your risk option and may not work + for every setup or every architecture. + +comment "selftests needs BR2_PACKAGE_BUSYBOX_SHOW_OTHERS and a toolchain w/ dynamic library and headers >= 3.14" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + +config BR2_PACKAGE_LINUX_TOOLS_TMON + bool "tmon" + select BR2_PACKAGE_LINUX_TOOLS + select BR2_PACKAGE_NCURSES + help + tmon is a terminal-based tool (using curses) that allows the + user to access thermal information about the system. + +config BR2_PACKAGE_LINUX_TOOLS_HV + bool "hv" + depends on BR2_i386 || BR2_x86_64 + select BR2_PACKAGE_LINUX_TOOLS + select BR2_PACKAGE_LINUX_TOOLS_HV_KVP_DAEMON if !BR2_PACKAGE_LINUX_TOOLS_HV_HAS_ONE + help + Microsoft HyperV integration services + + Relevant kernel configuration options: CONFIG_HYPERV, + CONFIG_HYPERV_UTILS. + +if BR2_PACKAGE_LINUX_TOOLS_HV + +config BR2_PACKAGE_LINUX_TOOLS_HV_HAS_ONE + bool + +config BR2_PACKAGE_LINUX_TOOLS_HV_KVP_DAEMON + bool "hypervkvpd (hv_kvp_daemon)" + help + HyperV uses hypervkvpd (Key/Value Pair daemon) to retrieve + status information from your virtualized guest OS + +config BR2_PACKAGE_LINUX_TOOLS_HV_FCOPY_DAEMON + bool "hypervfcopyd (hv_fcopy_daemon)" + select BR2_PACKAGE_LINUX_TOOLS_HV_HAS_ONE + help + HyperV uses hypervfcopyd (File Copy daemon) to easily transfer + files to and from your virtualized guest OS + +config BR2_PACKAGE_LINUX_TOOLS_HV_VSS_DAEMON + bool "hypervvssd (hv_vss_daemon)" + select BR2_PACKAGE_LINUX_TOOLS_HV_HAS_ONE + help + HyperV uses hypervvssd (Volume Snapshot Service daemon) to + freeze your filesystems during snapshots and backups + +endif # BR2_PACKAGE_LINUX_TOOLS_HV + +endmenu diff --git a/buildroot-2021.05/package/linux-tools/S10hyperv b/buildroot-2022.02.1/package/linux-tools/S10hyperv similarity index 100% rename from buildroot-2021.05/package/linux-tools/S10hyperv rename to buildroot-2022.02.1/package/linux-tools/S10hyperv diff --git a/buildroot-2021.05/package/linux-tools/hypervfcopyd.service b/buildroot-2022.02.1/package/linux-tools/hypervfcopyd.service similarity index 100% rename from buildroot-2021.05/package/linux-tools/hypervfcopyd.service rename to buildroot-2022.02.1/package/linux-tools/hypervfcopyd.service diff --git a/buildroot-2021.05/package/linux-tools/hypervkvpd.service b/buildroot-2022.02.1/package/linux-tools/hypervkvpd.service similarity index 100% rename from buildroot-2021.05/package/linux-tools/hypervkvpd.service rename to buildroot-2022.02.1/package/linux-tools/hypervkvpd.service diff --git a/buildroot-2021.05/package/linux-tools/hypervvssd.service b/buildroot-2022.02.1/package/linux-tools/hypervvssd.service similarity index 100% rename from buildroot-2021.05/package/linux-tools/hypervvssd.service rename to buildroot-2022.02.1/package/linux-tools/hypervvssd.service diff --git a/buildroot-2021.05/package/linux-tools/linux-tool-cpupower.mk.in b/buildroot-2022.02.1/package/linux-tools/linux-tool-cpupower.mk.in similarity index 100% rename from buildroot-2021.05/package/linux-tools/linux-tool-cpupower.mk.in rename to buildroot-2022.02.1/package/linux-tools/linux-tool-cpupower.mk.in diff --git a/buildroot-2021.05/package/linux-tools/linux-tool-gpio.mk.in b/buildroot-2022.02.1/package/linux-tools/linux-tool-gpio.mk.in similarity index 100% rename from buildroot-2021.05/package/linux-tools/linux-tool-gpio.mk.in rename to buildroot-2022.02.1/package/linux-tools/linux-tool-gpio.mk.in diff --git a/buildroot-2021.05/package/linux-tools/linux-tool-hv.mk.in b/buildroot-2022.02.1/package/linux-tools/linux-tool-hv.mk.in similarity index 100% rename from buildroot-2021.05/package/linux-tools/linux-tool-hv.mk.in rename to buildroot-2022.02.1/package/linux-tools/linux-tool-hv.mk.in diff --git a/buildroot-2021.05/package/linux-tools/linux-tool-iio.mk.in b/buildroot-2022.02.1/package/linux-tools/linux-tool-iio.mk.in similarity index 100% rename from buildroot-2021.05/package/linux-tools/linux-tool-iio.mk.in rename to buildroot-2022.02.1/package/linux-tools/linux-tool-iio.mk.in diff --git a/buildroot-2021.05/package/linux-tools/linux-tool-pci.mk.in b/buildroot-2022.02.1/package/linux-tools/linux-tool-pci.mk.in similarity index 100% rename from buildroot-2021.05/package/linux-tools/linux-tool-pci.mk.in rename to buildroot-2022.02.1/package/linux-tools/linux-tool-pci.mk.in diff --git a/buildroot-2022.02.1/package/linux-tools/linux-tool-perf.mk.in b/buildroot-2022.02.1/package/linux-tools/linux-tool-perf.mk.in new file mode 100644 index 00000000..4e28129f --- /dev/null +++ b/buildroot-2022.02.1/package/linux-tools/linux-tool-perf.mk.in @@ -0,0 +1,173 @@ +################################################################################ +# +# perf +# +################################################################################ + +LINUX_TOOLS += perf + +PERF_DEPENDENCIES = host-flex host-bison + +ifeq ($(NORMALIZED_ARCH),x86_64) +PERF_ARCH=x86 +else +PERF_ARCH=$(NORMALIZED_ARCH) +endif + +PERF_MAKE_FLAGS = \ + $(LINUX_MAKE_FLAGS) \ + JOBS=$(PARALLEL_JOBS) \ + ARCH=$(PERF_ARCH) \ + DESTDIR=$(TARGET_DIR) \ + prefix=/usr \ + WERROR=0 \ + NO_GTK2=1 \ + NO_LIBPERL=1 \ + NO_LIBPYTHON=1 \ + NO_LIBBIONIC=1 + +# We need to pass an argument to ld for setting the emulation when +# building for MIPS architecture, otherwise the default one will always +# be used and the compilation for most variants will fail. +ifeq ($(BR2_mips),y) +PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32btsmip" +else ifeq ($(BR2_mipsel),y) +PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32ltsmip" +else ifeq ($(BR2_mips64),y) +ifeq ($(BR2_MIPS_NABI32),y) +PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32btsmipn32" +else +PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf64btsmip" +endif +else ifeq ($(BR2_mips64el),y) +ifeq ($(BR2_MIPS_NABI32),y) +PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf32ltsmipn32" +else +PERF_MAKE_FLAGS += LD="$(TARGET_LD) -m elf64ltsmip" +endif +endif + +# The call to backtrace() function fails for ARC, because for some +# reason the unwinder from libgcc returns early. Thus the usage of +# backtrace() should be disabled in perf explicitly: at build time +# backtrace() appears to be available, but it fails at runtime: the +# backtrace will contain only several functions from the top of stack, +# instead of the complete backtrace. +ifeq ($(BR2_arc),y) +PERF_MAKE_FLAGS += NO_BACKTRACE=1 +endif + +ifeq ($(BR2_PACKAGE_LINUX_TOOLS_PERF_TUI),y) +PERF_DEPENDENCIES += slang +else +PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1 +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +PERF_DEPENDENCIES += audit +else +PERF_MAKE_FLAGS += NO_LIBAUDIT=1 +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +PERF_DEPENDENCIES += zstd +endif + +ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +PERF_DEPENDENCIES += libunwind +else +PERF_MAKE_FLAGS += NO_LIBUNWIND=1 +endif + +ifeq ($(BR2_PACKAGE_NUMACTL),y) +PERF_DEPENDENCIES += numactl +else +PERF_MAKE_FLAGS += NO_LIBNUMA=1 +endif + +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +PERF_DEPENDENCIES += elfutils +else +PERF_MAKE_FLAGS += NO_LIBELF=1 NO_DWARF=1 +endif + +ifeq ($(BR2_PACKAGE_BINUTILS),y) +PERF_DEPENDENCIES += binutils +else +PERF_MAKE_FLAGS += NO_DEMANGLE=1 +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +PERF_DEPENDENCIES += openssl +else +PERF_MAKE_FLAGS += NO_LIBCRYPTO=1 +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +PERF_DEPENDENCIES += zlib +else +PERF_MAKE_FLAGS += NO_ZLIB=1 +endif + +# lzma is provided by xz +ifeq ($(BR2_PACKAGE_XZ),y) +PERF_DEPENDENCIES += xz +else +PERF_MAKE_FLAGS += NO_LZMA=1 +endif + +# We really do not want to build the perf documentation, because it +# has stringent requirement on the documentation generation tools, +# like xmlto and asciidoc), which may be lagging behind on some +# distributions. +# We name it 'GNUmakefile' so that GNU make will use it instead of +# the existing 'Makefile'. +define PERF_DISABLE_DOCUMENTATION + if [ -f $(LINUX_DIR)/tools/perf/Documentation/Makefile ]; then \ + printf "%%:\n\t@:\n" >$(LINUX_DIR)/tools/perf/Documentation/GNUmakefile; \ + fi +endef +LINUX_POST_PATCH_HOOKS += PERF_DISABLE_DOCUMENTATION + +# O must be redefined here to overwrite the one used by Buildroot for +# out of tree build. We build perf in $(LINUX_DIR)/tools/perf/ and not just +# $(LINUX_DIR) so that it isn't built in the root directory of the kernel +# sources. +define PERF_BUILD_CMDS + $(Q)if test ! -f $(LINUX_DIR)/tools/perf/Makefile ; then \ + echo "Your kernel version is too old and does not have the perf tool." ; \ + echo "At least kernel 2.6.31 must be used." ; \ + exit 1 ; \ + fi + $(Q)if test "$(BR2_PACKAGE_ELFUTILS)" = "" ; then \ + if ! grep -q NO_LIBELF $(LINUX_DIR)/tools/perf/Makefile* ; then \ + if ! test -r $(LINUX_DIR)/tools/perf/config/Makefile ; then \ + echo "The perf tool in your kernel cannot be built without libelf." ; \ + echo "Either upgrade your kernel to >= 3.7, or enable the elfutils package." ; \ + exit 1 ; \ + fi \ + fi \ + fi + $(Q)if test "$(BR2_PACKAGE_LINUX_TOOLS_PERF_TUI)" = "y" ; then \ + if ! grep -q NO_SLANG $(LINUX_DIR)/tools/perf/Makefile* ; then \ + echo "The perf tool in your kernel cannot be build with the TUI." ; \ + echo "Either upgrade your kernel to >= 3.10, or disable the TUI." ; \ + exit 1 ; \ + fi \ + fi + $(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \ + -C $(LINUX_DIR)/tools/perf O=$(LINUX_DIR)/tools/perf/ +endef + +# After installation, we remove the Perl and Python scripts from the +# target. +define PERF_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) $(PERF_MAKE_FLAGS) \ + -C $(LINUX_DIR)/tools/perf O=$(LINUX_DIR)/tools/perf/ install + $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/scripts/ + $(RM) -rf $(TARGET_DIR)/usr/libexec/perf-core/tests/ +endef + +define PERF_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS) +endef diff --git a/buildroot-2022.02.1/package/linux-tools/linux-tool-selftests.mk.in b/buildroot-2022.02.1/package/linux-tools/linux-tool-selftests.mk.in new file mode 100644 index 00000000..b824c11b --- /dev/null +++ b/buildroot-2022.02.1/package/linux-tools/linux-tool-selftests.mk.in @@ -0,0 +1,46 @@ +################################################################################ +# +# selftests +# +################################################################################ + +LINUX_TOOLS += selftests + +ifeq ($(NORMALIZED_ARCH),x86_64) +SELFTESTS_ARCH=x86 +else +ifeq ($(NORMALIZED_ARCH),i386) +SELFTESTS_ARCH=x86 +else +SELFTESTS_ARCH=$(NORMALIZED_ARCH) +endif +endif + +SELFTESTS_DEPENDENCIES = libcap-ng popt + +SELFTESTS_MAKE_FLAGS = \ + $(LINUX_MAKE_FLAGS) \ + ARCH=$(SELFTESTS_ARCH) + +# O must be redefined here to overwrite the one used by Buildroot for +# out of tree build. We build the selftests in $(LINUX_DIR)/tools/selftests and +# not just $(LINUX_DIR) so that it isn't built in the root directory of the kernel +# sources. +# +# The headers_install step here is important as some kernel selftests use a +# hardcoded CFLAGS to find kernel headers e.g: +# CFLAGS += -I../../../../usr/include/ +# The headers_install target will install the kernel headers locally inside +# the Linux build dir +define SELFTESTS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(LINUX_DIR) $(SELFTESTS_MAKE_FLAGS) \ + headers_install + $(TARGET_MAKE_ENV) $(MAKE1) -C $(LINUX_DIR)/tools/testing/selftests \ + $(SELFTESTS_MAKE_FLAGS) O=$(LINUX_DIR)/tools/testing/selftests +endef + +define SELFTESTS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(LINUX_DIR)/tools/testing/selftests \ + $(SELFTESTS_MAKE_FLAGS) O=$(LINUX_DIR)/tools/testing/selftests \ + INSTALL_PATH=$(TARGET_DIR)/usr/lib/kselftests install +endef diff --git a/buildroot-2021.05/package/linux-tools/linux-tool-tmon.mk.in b/buildroot-2022.02.1/package/linux-tools/linux-tool-tmon.mk.in similarity index 100% rename from buildroot-2021.05/package/linux-tools/linux-tool-tmon.mk.in rename to buildroot-2022.02.1/package/linux-tools/linux-tool-tmon.mk.in diff --git a/buildroot-2021.05/package/linux-tools/linux-tools.mk b/buildroot-2022.02.1/package/linux-tools/linux-tools.mk similarity index 100% rename from buildroot-2021.05/package/linux-tools/linux-tools.mk rename to buildroot-2022.02.1/package/linux-tools/linux-tools.mk diff --git a/buildroot-2021.05/package/linux-zigbee/0001-test-serial-Remove-test-serial.patch b/buildroot-2022.02.1/package/linux-zigbee/0001-test-serial-Remove-test-serial.patch similarity index 100% rename from buildroot-2021.05/package/linux-zigbee/0001-test-serial-Remove-test-serial.patch rename to buildroot-2022.02.1/package/linux-zigbee/0001-test-serial-Remove-test-serial.patch diff --git a/buildroot-2021.05/package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch b/buildroot-2022.02.1/package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch similarity index 100% rename from buildroot-2021.05/package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch rename to buildroot-2022.02.1/package/linux-zigbee/0002-addrdb-coord-config-parse.y-add-missing-time.h-inclu.patch diff --git a/buildroot-2021.05/package/linux-zigbee/Config.in b/buildroot-2022.02.1/package/linux-zigbee/Config.in similarity index 100% rename from buildroot-2021.05/package/linux-zigbee/Config.in rename to buildroot-2022.02.1/package/linux-zigbee/Config.in diff --git a/buildroot-2021.05/package/linux-zigbee/linux-zigbee.hash b/buildroot-2022.02.1/package/linux-zigbee/linux-zigbee.hash similarity index 100% rename from buildroot-2021.05/package/linux-zigbee/linux-zigbee.hash rename to buildroot-2022.02.1/package/linux-zigbee/linux-zigbee.hash diff --git a/buildroot-2021.05/package/linux-zigbee/linux-zigbee.mk b/buildroot-2022.02.1/package/linux-zigbee/linux-zigbee.mk similarity index 100% rename from buildroot-2021.05/package/linux-zigbee/linux-zigbee.mk rename to buildroot-2022.02.1/package/linux-zigbee/linux-zigbee.mk diff --git a/buildroot-2021.05/package/linuxconsoletools/0001-conditional-build.patch b/buildroot-2022.02.1/package/linuxconsoletools/0001-conditional-build.patch similarity index 100% rename from buildroot-2021.05/package/linuxconsoletools/0001-conditional-build.patch rename to buildroot-2022.02.1/package/linuxconsoletools/0001-conditional-build.patch diff --git a/buildroot-2021.05/package/linuxconsoletools/Config.in b/buildroot-2022.02.1/package/linuxconsoletools/Config.in similarity index 100% rename from buildroot-2021.05/package/linuxconsoletools/Config.in rename to buildroot-2022.02.1/package/linuxconsoletools/Config.in diff --git a/buildroot-2022.02.1/package/linuxconsoletools/linuxconsoletools.hash b/buildroot-2022.02.1/package/linuxconsoletools/linuxconsoletools.hash new file mode 100644 index 00000000..889f6d1d --- /dev/null +++ b/buildroot-2022.02.1/package/linuxconsoletools/linuxconsoletools.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 bd4d4b7e37da02fc67e47ddf20b6f1243c0a7af7b02b918d5e72138ea8727547 linuxconsoletools-1.7.1.tar.bz2 +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/linuxconsoletools/linuxconsoletools.mk b/buildroot-2022.02.1/package/linuxconsoletools/linuxconsoletools.mk new file mode 100644 index 00000000..306a5b1f --- /dev/null +++ b/buildroot-2022.02.1/package/linuxconsoletools/linuxconsoletools.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# linuxconsoletools +# +################################################################################ + +LINUXCONSOLETOOLS_VERSION = 1.7.1 +LINUXCONSOLETOOLS_SOURCE = linuxconsoletools-$(LINUXCONSOLETOOLS_VERSION).tar.bz2 +LINUXCONSOLETOOLS_SITE = https://downloads.sourceforge.net/project/linuxconsole +LINUXCONSOLETOOLS_LICENSE = GPL-2.0+ +LINUXCONSOLETOOLS_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_INPUTATTACH),y) +LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_INPUTATTACH=1 +endif + +ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_JOYSTICK),y) +LINUXCONSOLETOOLS_MAKE_OPTS += ENABLE_JOYSTICK=1 +endif + +ifeq ($(BR2_PACKAGE_LINUXCONSOLETOOLS_FORCEFEEDBACK),y) +LINUXCONSOLETOOLS_MAKE_OPTS += \ + ENABLE_FORCEFEEDBACK=1 \ + CFLAGS="$(TARGET_CFLAGS) -std=gnu99" +LINUXCONSOLETOOLS_DEPENDENCIES += sdl2 host-pkgconf +endif + +define LINUXCONSOLETOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(LINUXCONSOLETOOLS_MAKE_OPTS) +endef + +define LINUXCONSOLETOOLS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(LINUXCONSOLETOOLS_MAKE_OPTS) \ + DESTDIR="$(TARGET_DIR)" \ + PREFIX=/usr \ + install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/linuxptp/0001-missing.h-drop-clock_nanosleep-replacement.patch b/buildroot-2022.02.1/package/linuxptp/0001-missing.h-drop-clock_nanosleep-replacement.patch similarity index 100% rename from buildroot-2021.05/package/linuxptp/0001-missing.h-drop-clock_nanosleep-replacement.patch rename to buildroot-2022.02.1/package/linuxptp/0001-missing.h-drop-clock_nanosleep-replacement.patch diff --git a/buildroot-2021.05/package/linuxptp/Config.in b/buildroot-2022.02.1/package/linuxptp/Config.in similarity index 100% rename from buildroot-2021.05/package/linuxptp/Config.in rename to buildroot-2022.02.1/package/linuxptp/Config.in diff --git a/buildroot-2021.05/package/linuxptp/S65ptp4l b/buildroot-2022.02.1/package/linuxptp/S65ptp4l similarity index 100% rename from buildroot-2021.05/package/linuxptp/S65ptp4l rename to buildroot-2022.02.1/package/linuxptp/S65ptp4l diff --git a/buildroot-2021.05/package/linuxptp/S66phc2sys b/buildroot-2022.02.1/package/linuxptp/S66phc2sys similarity index 100% rename from buildroot-2021.05/package/linuxptp/S66phc2sys rename to buildroot-2022.02.1/package/linuxptp/S66phc2sys diff --git a/buildroot-2021.05/package/linuxptp/linuxptp.cfg b/buildroot-2022.02.1/package/linuxptp/linuxptp.cfg similarity index 100% rename from buildroot-2021.05/package/linuxptp/linuxptp.cfg rename to buildroot-2022.02.1/package/linuxptp/linuxptp.cfg diff --git a/buildroot-2022.02.1/package/linuxptp/linuxptp.hash b/buildroot-2022.02.1/package/linuxptp/linuxptp.hash new file mode 100644 index 00000000..a5479b0e --- /dev/null +++ b/buildroot-2022.02.1/package/linuxptp/linuxptp.hash @@ -0,0 +1,9 @@ +# From https://sourceforge.net/projects/linuxptp/files/v3.1.1/ +sha1 f905eabc6fd0f03c6a353f9c4ba188a3bd1b774c linuxptp-3.1.1.tgz +md5 3b79ab5e77c5b5cf06bc1c8350d405bb linuxptp-3.1.1.tgz + +# Locally computed: +sha256 94d6855f9b7f2d8e9b0ca6d384e3fae6226ce6fc012dbad02608bdef3be1c0d9 linuxptp-3.1.1.tgz + +# Hash for license file: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/linuxptp/linuxptp.mk b/buildroot-2022.02.1/package/linuxptp/linuxptp.mk new file mode 100644 index 00000000..048dd0b8 --- /dev/null +++ b/buildroot-2022.02.1/package/linuxptp/linuxptp.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# linuxptp +# +################################################################################ + +LINUXPTP_VERSION = 3.1.1 +LINUXPTP_SOURCE = linuxptp-$(LINUXPTP_VERSION).tgz +LINUXPTP_SITE = http://downloads.sourceforge.net/linuxptp +LINUXPTP_LICENSE = GPL-2.0+ +LINUXPTP_LICENSE_FILES = COPYING +LINUXPTP_CPE_ID_VENDOR = linuxptp_project + +LINUXPTP_MAKE_ENV = \ + $(TARGET_MAKE_ENV) \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + KBUILD_OUTPUT=$(STAGING_DIR) + +LINUXPTP_MAKE_OPTS = \ + prefix=/usr \ + EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" + +define LINUXPTP_BUILD_CMDS + $(LINUXPTP_MAKE_ENV) $(MAKE) $(LINUXPTP_MAKE_OPTS) -C $(@D) all +endef + +define LINUXPTP_INSTALL_TARGET_CMDS + $(LINUXPTP_MAKE_ENV) $(MAKE) $(LINUXPTP_MAKE_OPTS) \ + DESTDIR=$(TARGET_DIR) -C $(@D) install + + $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/linuxptp.cfg \ + $(TARGET_DIR)/etc/linuxptp.cfg +endef + +define LINUXPTP_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D $(LINUXPTP_PKGDIR)/S65ptp4l \ + $(TARGET_DIR)/etc/init.d/S65ptp4l + $(INSTALL) -m 755 -D $(LINUXPTP_PKGDIR)/S66phc2sys \ + $(TARGET_DIR)/etc/init.d/S66phc2sys +endef + +define LINUXPTP_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/ptp4l.service \ + $(TARGET_DIR)/usr/lib/systemd/system/ptp4l.service + $(INSTALL) -D -m 644 $(LINUXPTP_PKGDIR)/phc2sys.service \ + $(TARGET_DIR)/usr/lib/systemd/system/phc2sys.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/linuxptp/phc2sys.service b/buildroot-2022.02.1/package/linuxptp/phc2sys.service similarity index 100% rename from buildroot-2021.05/package/linuxptp/phc2sys.service rename to buildroot-2022.02.1/package/linuxptp/phc2sys.service diff --git a/buildroot-2021.05/package/linuxptp/ptp4l.service b/buildroot-2022.02.1/package/linuxptp/ptp4l.service similarity index 100% rename from buildroot-2021.05/package/linuxptp/ptp4l.service rename to buildroot-2022.02.1/package/linuxptp/ptp4l.service diff --git a/buildroot-2021.05/package/liquid-dsp/Config.in b/buildroot-2022.02.1/package/liquid-dsp/Config.in similarity index 100% rename from buildroot-2021.05/package/liquid-dsp/Config.in rename to buildroot-2022.02.1/package/liquid-dsp/Config.in diff --git a/buildroot-2021.05/package/liquid-dsp/liquid-dsp.hash b/buildroot-2022.02.1/package/liquid-dsp/liquid-dsp.hash similarity index 100% rename from buildroot-2021.05/package/liquid-dsp/liquid-dsp.hash rename to buildroot-2022.02.1/package/liquid-dsp/liquid-dsp.hash diff --git a/buildroot-2021.05/package/liquid-dsp/liquid-dsp.mk b/buildroot-2022.02.1/package/liquid-dsp/liquid-dsp.mk similarity index 100% rename from buildroot-2021.05/package/liquid-dsp/liquid-dsp.mk rename to buildroot-2022.02.1/package/liquid-dsp/liquid-dsp.mk diff --git a/buildroot-2021.05/package/lirc-tools/0001-Fix-build-without-Python.patch b/buildroot-2022.02.1/package/lirc-tools/0001-Fix-build-without-Python.patch similarity index 100% rename from buildroot-2021.05/package/lirc-tools/0001-Fix-build-without-Python.patch rename to buildroot-2022.02.1/package/lirc-tools/0001-Fix-build-without-Python.patch diff --git a/buildroot-2021.05/package/lirc-tools/0002-Fix-python-client-cross-compile.patch b/buildroot-2022.02.1/package/lirc-tools/0002-Fix-python-client-cross-compile.patch similarity index 100% rename from buildroot-2021.05/package/lirc-tools/0002-Fix-python-client-cross-compile.patch rename to buildroot-2022.02.1/package/lirc-tools/0002-Fix-python-client-cross-compile.patch diff --git a/buildroot-2021.05/package/lirc-tools/0003-python-pkg-Fix-lirc-version-detection-when-cross-com.patch b/buildroot-2022.02.1/package/lirc-tools/0003-python-pkg-Fix-lirc-version-detection-when-cross-com.patch similarity index 100% rename from buildroot-2021.05/package/lirc-tools/0003-python-pkg-Fix-lirc-version-detection-when-cross-com.patch rename to buildroot-2022.02.1/package/lirc-tools/0003-python-pkg-Fix-lirc-version-detection-when-cross-com.patch diff --git a/buildroot-2021.05/package/lirc-tools/0004-plugins-devinput.c-fix-build-with-musl-1.2.0.patch b/buildroot-2022.02.1/package/lirc-tools/0004-plugins-devinput.c-fix-build-with-musl-1.2.0.patch similarity index 100% rename from buildroot-2021.05/package/lirc-tools/0004-plugins-devinput.c-fix-build-with-musl-1.2.0.patch rename to buildroot-2022.02.1/package/lirc-tools/0004-plugins-devinput.c-fix-build-with-musl-1.2.0.patch diff --git a/buildroot-2021.05/package/lirc-tools/Config.in b/buildroot-2022.02.1/package/lirc-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/lirc-tools/Config.in rename to buildroot-2022.02.1/package/lirc-tools/Config.in diff --git a/buildroot-2021.05/package/lirc-tools/S25lircd b/buildroot-2022.02.1/package/lirc-tools/S25lircd similarity index 100% rename from buildroot-2021.05/package/lirc-tools/S25lircd rename to buildroot-2022.02.1/package/lirc-tools/S25lircd diff --git a/buildroot-2021.05/package/lirc-tools/lirc-tools.hash b/buildroot-2022.02.1/package/lirc-tools/lirc-tools.hash similarity index 100% rename from buildroot-2021.05/package/lirc-tools/lirc-tools.hash rename to buildroot-2022.02.1/package/lirc-tools/lirc-tools.hash diff --git a/buildroot-2022.02.1/package/lirc-tools/lirc-tools.mk b/buildroot-2022.02.1/package/lirc-tools/lirc-tools.mk new file mode 100644 index 00000000..05f20f57 --- /dev/null +++ b/buildroot-2022.02.1/package/lirc-tools/lirc-tools.mk @@ -0,0 +1,59 @@ +################################################################################ +# +# lirc-tools +# +################################################################################ + +LIRC_TOOLS_VERSION = 0.10.1 +LIRC_TOOLS_SOURCE = lirc-$(LIRC_TOOLS_VERSION).tar.bz2 +LIRC_TOOLS_SITE = http://downloads.sourceforge.net/project/lirc/LIRC/$(LIRC_TOOLS_VERSION) +LIRC_TOOLS_LICENSE = GPL-2.0+ +LIRC_TOOLS_LICENSE_FILES = COPYING +LIRC_TOOLS_SELINUX_MODULES = lircd +LIRC_TOOLS_DEPENDENCIES = host-libxslt host-pkgconf host-python3 +LIRC_TOOLS_INSTALL_STAGING = YES +# Patching configure.ac and Makefile.am +LIRC_TOOLS_AUTORECONF = YES + +LIRC_TOOLS_CONF_ENV = XSLTPROC=yes HAVE_WORKING_POLL=yes +LIRC_TOOLS_CONF_OPTS = --without-x --enable-devinput --enable-uinput + +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4),y) +LIRC_TOOLS_CONF_ENV += \ + DEVINPUT_HEADER=$(STAGING_DIR)/usr/include/linux/input-event-codes.h +else +LIRC_TOOLS_CONF_ENV += \ + DEVINPUT_HEADER=$(STAGING_DIR)/usr/include/linux/input.h +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LIRC_TOOLS_DEPENDENCIES += udev +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +LIRC_TOOLS_DEPENDENCIES += alsa-lib +endif + +ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) +LIRC_TOOLS_DEPENDENCIES += libusb-compat +endif + +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +LIRC_TOOLS_DEPENDENCIES += portaudio +endif + +ifeq ($(BR2_PACKAGE_LIBFTDI1),y) +LIRC_TOOLS_DEPENDENCIES += libftdi1 +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIRC_TOOLS_DEPENDENCIES += python3 host-python-setuptools +LIRC_TOOLS_MAKE_ENV += SETUPTOOLS_ENV='$(PKG_PYTHON_SETUPTOOLS_ENV)' +endif + +define LIRC_TOOLS_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/lirc-tools/S25lircd \ + $(TARGET_DIR)/etc/init.d/S25lircd +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lite/0001-dfbspy-stat.patch b/buildroot-2022.02.1/package/lite/0001-dfbspy-stat.patch similarity index 100% rename from buildroot-2021.05/package/lite/0001-dfbspy-stat.patch rename to buildroot-2022.02.1/package/lite/0001-dfbspy-stat.patch diff --git a/buildroot-2021.05/package/lite/0002-no-tests.patch b/buildroot-2022.02.1/package/lite/0002-no-tests.patch similarity index 100% rename from buildroot-2021.05/package/lite/0002-no-tests.patch rename to buildroot-2022.02.1/package/lite/0002-no-tests.patch diff --git a/buildroot-2021.05/package/lite/0003-pkg-config.patch b/buildroot-2022.02.1/package/lite/0003-pkg-config.patch similarity index 100% rename from buildroot-2021.05/package/lite/0003-pkg-config.patch rename to buildroot-2022.02.1/package/lite/0003-pkg-config.patch diff --git a/buildroot-2021.05/package/lite/Config.in b/buildroot-2022.02.1/package/lite/Config.in similarity index 100% rename from buildroot-2021.05/package/lite/Config.in rename to buildroot-2022.02.1/package/lite/Config.in diff --git a/buildroot-2021.05/package/lite/lite.hash b/buildroot-2022.02.1/package/lite/lite.hash similarity index 100% rename from buildroot-2021.05/package/lite/lite.hash rename to buildroot-2022.02.1/package/lite/lite.hash diff --git a/buildroot-2021.05/package/lite/lite.mk b/buildroot-2022.02.1/package/lite/lite.mk similarity index 100% rename from buildroot-2021.05/package/lite/lite.mk rename to buildroot-2022.02.1/package/lite/lite.mk diff --git a/buildroot-2021.05/package/live555/0001-Add-a-pkg-config-file-for-the-shared-libraries.patch b/buildroot-2022.02.1/package/live555/0001-Add-a-pkg-config-file-for-the-shared-libraries.patch similarity index 100% rename from buildroot-2021.05/package/live555/0001-Add-a-pkg-config-file-for-the-shared-libraries.patch rename to buildroot-2022.02.1/package/live555/0001-Add-a-pkg-config-file-for-the-shared-libraries.patch diff --git a/buildroot-2021.05/package/live555/Config.in b/buildroot-2022.02.1/package/live555/Config.in similarity index 100% rename from buildroot-2021.05/package/live555/Config.in rename to buildroot-2022.02.1/package/live555/Config.in diff --git a/buildroot-2021.05/package/live555/live555.hash b/buildroot-2022.02.1/package/live555/live555.hash similarity index 100% rename from buildroot-2021.05/package/live555/live555.hash rename to buildroot-2022.02.1/package/live555/live555.hash diff --git a/buildroot-2021.05/package/live555/live555.mk b/buildroot-2022.02.1/package/live555/live555.mk similarity index 100% rename from buildroot-2021.05/package/live555/live555.mk rename to buildroot-2022.02.1/package/live555/live555.mk diff --git a/buildroot-2021.05/package/ljlinenoise/Config.in b/buildroot-2022.02.1/package/ljlinenoise/Config.in similarity index 100% rename from buildroot-2021.05/package/ljlinenoise/Config.in rename to buildroot-2022.02.1/package/ljlinenoise/Config.in diff --git a/buildroot-2021.05/package/ljlinenoise/ljlinenoise.hash b/buildroot-2022.02.1/package/ljlinenoise/ljlinenoise.hash similarity index 100% rename from buildroot-2021.05/package/ljlinenoise/ljlinenoise.hash rename to buildroot-2022.02.1/package/ljlinenoise/ljlinenoise.hash diff --git a/buildroot-2021.05/package/ljlinenoise/ljlinenoise.mk b/buildroot-2022.02.1/package/ljlinenoise/ljlinenoise.mk similarity index 100% rename from buildroot-2021.05/package/ljlinenoise/ljlinenoise.mk rename to buildroot-2022.02.1/package/ljlinenoise/ljlinenoise.mk diff --git a/buildroot-2021.05/package/ljsyscall/Config.in b/buildroot-2022.02.1/package/ljsyscall/Config.in similarity index 100% rename from buildroot-2021.05/package/ljsyscall/Config.in rename to buildroot-2022.02.1/package/ljsyscall/Config.in diff --git a/buildroot-2021.05/package/ljsyscall/ljsyscall.hash b/buildroot-2022.02.1/package/ljsyscall/ljsyscall.hash similarity index 100% rename from buildroot-2021.05/package/ljsyscall/ljsyscall.hash rename to buildroot-2022.02.1/package/ljsyscall/ljsyscall.hash diff --git a/buildroot-2021.05/package/ljsyscall/ljsyscall.mk b/buildroot-2022.02.1/package/ljsyscall/ljsyscall.mk similarity index 100% rename from buildroot-2021.05/package/ljsyscall/ljsyscall.mk rename to buildroot-2022.02.1/package/ljsyscall/ljsyscall.mk diff --git a/buildroot-2021.05/package/lksctp-tools/Config.in b/buildroot-2022.02.1/package/lksctp-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/lksctp-tools/Config.in rename to buildroot-2022.02.1/package/lksctp-tools/Config.in diff --git a/buildroot-2021.05/package/lksctp-tools/lksctp-tools.hash b/buildroot-2022.02.1/package/lksctp-tools/lksctp-tools.hash similarity index 100% rename from buildroot-2021.05/package/lksctp-tools/lksctp-tools.hash rename to buildroot-2022.02.1/package/lksctp-tools/lksctp-tools.hash diff --git a/buildroot-2021.05/package/lksctp-tools/lksctp-tools.mk b/buildroot-2022.02.1/package/lksctp-tools/lksctp-tools.mk similarity index 100% rename from buildroot-2021.05/package/lksctp-tools/lksctp-tools.mk rename to buildroot-2022.02.1/package/lksctp-tools/lksctp-tools.mk diff --git a/buildroot-2021.05/package/lld/Config.in.host b/buildroot-2022.02.1/package/lld/Config.in.host similarity index 100% rename from buildroot-2021.05/package/lld/Config.in.host rename to buildroot-2022.02.1/package/lld/Config.in.host diff --git a/buildroot-2021.05/package/lld/lld.hash b/buildroot-2022.02.1/package/lld/lld.hash similarity index 100% rename from buildroot-2021.05/package/lld/lld.hash rename to buildroot-2022.02.1/package/lld/lld.hash diff --git a/buildroot-2021.05/package/lld/lld.mk b/buildroot-2022.02.1/package/lld/lld.mk similarity index 100% rename from buildroot-2021.05/package/lld/lld.mk rename to buildroot-2022.02.1/package/lld/lld.mk diff --git a/buildroot-2021.05/package/lldpd/Config.in b/buildroot-2022.02.1/package/lldpd/Config.in similarity index 100% rename from buildroot-2021.05/package/lldpd/Config.in rename to buildroot-2022.02.1/package/lldpd/Config.in diff --git a/buildroot-2021.05/package/lldpd/S60lldpd b/buildroot-2022.02.1/package/lldpd/S60lldpd similarity index 100% rename from buildroot-2021.05/package/lldpd/S60lldpd rename to buildroot-2022.02.1/package/lldpd/S60lldpd diff --git a/buildroot-2021.05/package/lldpd/lldpd.hash b/buildroot-2022.02.1/package/lldpd/lldpd.hash similarity index 100% rename from buildroot-2021.05/package/lldpd/lldpd.hash rename to buildroot-2022.02.1/package/lldpd/lldpd.hash diff --git a/buildroot-2021.05/package/lldpd/lldpd.mk b/buildroot-2022.02.1/package/lldpd/lldpd.mk similarity index 100% rename from buildroot-2021.05/package/lldpd/lldpd.mk rename to buildroot-2022.02.1/package/lldpd/lldpd.mk diff --git a/buildroot-2021.05/package/llvm/0001-nfc-Fix-missing-include.patch b/buildroot-2022.02.1/package/llvm/0001-nfc-Fix-missing-include.patch similarity index 100% rename from buildroot-2021.05/package/llvm/0001-nfc-Fix-missing-include.patch rename to buildroot-2022.02.1/package/llvm/0001-nfc-Fix-missing-include.patch diff --git a/buildroot-2022.02.1/package/llvm/Config.in b/buildroot-2022.02.1/package/llvm/Config.in new file mode 100644 index 00000000..6ec2ffcf --- /dev/null +++ b/buildroot-2022.02.1/package/llvm/Config.in @@ -0,0 +1,66 @@ +config BR2_PACKAGE_LLVM_ARCH_SUPPORTS + bool + default y if BR2_i386 + default y if BR2_x86_64 + default y if BR2_aarch64 + default y if BR2_arm || BR2_armeb + +config BR2_PACKAGE_LLVM_TARGET_ARCH + string + default "AArch64" if BR2_aarch64 + default "ARM" if BR2_arm || BR2_armeb + default "X86" if BR2_i386 || BR2_x86_64 + +config BR2_PACKAGE_LLVM + bool "llvm" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR # std::wstring + help + The LLVM Project is a collection of modular and reusable + compiler and toolchain technologies. + + http://llvm.org + +if BR2_PACKAGE_LLVM + +config BR2_PACKAGE_LLVM_AMDGPU + bool "AMDGPU backend" + help + Build AMDGPU target. Select this option if you are going + to install mesa3d with llvm and use Gallium Radeon driver. + +config BR2_PACKAGE_LLVM_RTTI + bool "enable rtti" + help + Build LLVM with run-time type information. LLVM can be built + without rtti, but turning it off changes the ABI of C++ + programs. + + This features is needed to build the Gallium Nouveau driver + or the Clover OpenCL state tracker when llvm support is + enabled. + + https://llvm.org/docs/HowToSetUpLLVMStyleRTTI.html + +config BR2_PACKAGE_LLVM_BPF + bool "BPF backend" + help + Build BPF target. Select this option if you are going + to install bcc on the target. + +endif + +comment "llvm needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ + || BR2_STATIC_LIBS || !BR2_USE_WCHAR + +comment "llvm needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2021.05/package/llvm/llvm.hash b/buildroot-2022.02.1/package/llvm/llvm.hash similarity index 100% rename from buildroot-2021.05/package/llvm/llvm.hash rename to buildroot-2022.02.1/package/llvm/llvm.hash diff --git a/buildroot-2022.02.1/package/llvm/llvm.mk b/buildroot-2022.02.1/package/llvm/llvm.mk new file mode 100644 index 00000000..6c721c30 --- /dev/null +++ b/buildroot-2022.02.1/package/llvm/llvm.mk @@ -0,0 +1,303 @@ +################################################################################ +# +# llvm +# +################################################################################ + +# LLVM, Clang and lld should be version bumped together +LLVM_VERSION = 9.0.1 +LLVM_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_VERSION) +LLVM_SOURCE = llvm-$(LLVM_VERSION).src.tar.xz +LLVM_LICENSE = Apache-2.0 with exceptions +LLVM_LICENSE_FILES = LICENSE.TXT +LLVM_CPE_ID_VENDOR = llvm +LLVM_SUPPORTS_IN_SOURCE_BUILD = NO +LLVM_INSTALL_STAGING = YES + +# LLVM >= 9.0 can use python3 to build. +HOST_LLVM_DEPENDENCIES = host-python3 +LLVM_DEPENDENCIES = host-llvm + +# LLVM >= 9.0 will soon require C++14 support, building llvm 8.x using a +# toolchain using gcc < 5.1 gives an error but actually still works. Setting +# this option makes it still build with gcc >= 4.8. +# https://reviews.llvm.org/D57264 +HOST_LLVM_CONF_OPTS += -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON +LLVM_CONF_OPTS += -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON + +# Don't build clang libcxx libcxxabi lldb compiler-rt lld polly as llvm subprojects +# This flag assumes that projects are checked out side-by-side and not nested +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_PROJECTS="" +LLVM_CONF_OPTS += -DLLVM_ENABLE_PROJECTS="" + +HOST_LLVM_CONF_OPTS += -DLLVM_CCACHE_BUILD=$(if $(BR2_CCACHE),ON,OFF) +LLVM_CONF_OPTS += -DLLVM_CCACHE_BUILD=$(if $(BR2_CCACHE),ON,OFF) + +# This option prevents AddLLVM.cmake from adding $ORIGIN/../lib to +# binaries. Otherwise, llvm-config (host variant installed in STAGING) +# will try to use target's libc. +HOST_LLVM_CONF_OPTS += -DCMAKE_INSTALL_RPATH="$(HOST_DIR)/lib" + +# Get target architecture +LLVM_TARGET_ARCH = $(call qstrip,$(BR2_PACKAGE_LLVM_TARGET_ARCH)) + +# Build backend for target architecture. This include backends like AMDGPU. +LLVM_TARGETS_TO_BUILD = $(LLVM_TARGET_ARCH) +HOST_LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" +LLVM_CONF_OPTS += -DLLVM_TARGETS_TO_BUILD="$(subst $(space),;,$(LLVM_TARGETS_TO_BUILD))" + +# LLVM target to use for native code generation. This is required for JIT generation. +# It must be set to LLVM_TARGET_ARCH for host and target, otherwise we get +# "No available targets are compatible for this triple" with llvmpipe when host +# and target architectures are different. +HOST_LLVM_CONF_OPTS += -DLLVM_TARGET_ARCH=$(LLVM_TARGET_ARCH) +LLVM_CONF_OPTS += -DLLVM_TARGET_ARCH=$(LLVM_TARGET_ARCH) + +# Build AMDGPU backend +# We need to build AMDGPU backend for both host and target because +# llvm-config --targets built (host variant installed in STAGING) will +# output only $(LLVM_TARGET_ARCH) if not, and mesa3d won't build as +# it thinks AMDGPU backend is not installed on the target. +ifeq ($(BR2_PACKAGE_LLVM_AMDGPU),y) +LLVM_TARGETS_TO_BUILD += AMDGPU +endif + +# Build BPF backend +ifeq ($(BR2_PACKAGE_LLVM_BPF),y) +LLVM_TARGETS_TO_BUILD += BPF +endif + +# Use native llvm-tblgen from host-llvm (needed for cross-compilation) +LLVM_CONF_OPTS += -DLLVM_TABLEGEN=$(HOST_DIR)/bin/llvm-tblgen + +# Use native llvm-config from host-llvm (needed for cross-compilation) +LLVM_CONF_OPTS += -DLLVM_CONFIG_PATH=$(HOST_DIR)/bin/llvm-config + +# BUILD_SHARED_LIBS has a misleading name. It is in fact an option for +# LLVM developers to build all LLVM libraries as separate shared libraries. +# For normal use of LLVM, it is recommended to build a single +# shared library, which is achieved by BUILD_SHARED_LIBS=OFF and +# LLVM_BUILD_LLVM_DYLIB=ON. +HOST_LLVM_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF +LLVM_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF + +# Generate libLLVM.so. This library contains a default set of LLVM components +# that can be overwritten with "LLVM_DYLIB_COMPONENTS". The default contains +# most of LLVM and is defined in "tools/llvm-shlib/CMakelists.txt". +HOST_LLVM_CONF_OPTS += -DLLVM_BUILD_LLVM_DYLIB=ON +LLVM_CONF_OPTS += -DLLVM_BUILD_LLVM_DYLIB=ON + +# LLVM_BUILD_LLVM_DYLIB to ON. We need to enable this option for the +# host as llvm-config for the host will be used in STAGING_DIR by packages +# linking against libLLVM and if this option is not selected, then llvm-config +# does not work properly. For example, it assumes that LLVM is built statically +# and cannot find libLLVM.so. +HOST_LLVM_CONF_OPTS += -DLLVM_LINK_LLVM_DYLIB=ON +LLVM_CONF_OPTS += -DLLVM_LINK_LLVM_DYLIB=ON + +LLVM_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 + +# Disabled for the host since no host-libedit. +# Fall back to "Simple fgets-based implementation" of llvm line editor. +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBEDIT=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBEDIT=OFF + +# We want to install llvm libraries and modules. +HOST_LLVM_CONF_OPTS += -DLLVM_INSTALL_TOOLCHAIN_ONLY=OFF +LLVM_CONF_OPTS += -DLLVM_INSTALL_TOOLCHAIN_ONLY=OFF + +# We build from a release archive without vcs files. +HOST_LLVM_CONF_OPTS += -DLLVM_APPEND_VC_REV=OFF +LLVM_CONF_OPTS += -DLLVM_APPEND_VC_REV=OFF + +# No backtrace package in Buildroot. +# https://documentation.backtrace.io +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_BACKTRACES=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_BACKTRACES=OFF + +# Enable signal handlers overrides support. +HOST_LLVM_CONF_OPTS += -DENABLE_CRASH_OVERRIDES=ON +LLVM_CONF_OPTS += -DENABLE_CRASH_OVERRIDES=ON + +# Disable ffi for now. +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_FFI=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_FFI=OFF + +# Disable terminfo database (needs ncurses libtinfo.so) +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_TERMINFO=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_TERMINFO=OFF + +# Enable thread support +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_THREADS=ON +LLVM_CONF_OPTS += -DLLVM_ENABLE_THREADS=ON + +# Enable optional host-zlib support for LLVM Machine Code (llvm-mc) to add +# compression/uncompression capabilities. +# Not needed on the target. +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_ZLIB=ON +HOST_LLVM_DEPENDENCIES += host-zlib +LLVM_CONF_OPTS += -DLLVM_ENABLE_ZLIB=OFF + +# libxml2 can be disabled as it is used for LLVM Windows builds where COFF +# files include manifest info +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBXML2=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBXML2=OFF + +# Disable optional Z3Prover since there is no such package in Buildroot. +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_Z3_SOLVER=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_Z3_SOLVER=OFF + +# We don't use llvm for static only build, so enable PIC +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_PIC=ON +LLVM_CONF_OPTS += -DLLVM_ENABLE_PIC=ON + +# Default is Debug build, which requires considerably more disk space and +# build time. Release build is selected for host and target because the linker +# can run out of memory in Debug mode. +HOST_LLVM_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release +LLVM_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release + +# Disable C++1y (ISO C++ 2014 standard) +# Disable C++1z (ISO C++ 2017 standard) +# Compile llvm with the C++11 (ISO C++ 2011 standard) which is the fallback. +HOST_LLVM_CONF_OPTS += \ + -DLLVM_ENABLE_CXX1Y=OFF \ + -DLLVM_ENABLE_CXX1Z=OFF +LLVM_CONF_OPTS += \ + -DLLVM_ENABLE_CXX1Y=OFF \ + -DLLVM_ENABLE_CXX1Z=OFF + +# Disabled, requires sys/ndir.h header +# Disable debug in module +HOST_LLVM_CONF_OPTS += \ + -DLLVM_ENABLE_MODULES=OFF \ + -DLLVM_ENABLE_MODULE_DEBUGGING=OFF +LLVM_CONF_OPTS += \ + -DLLVM_ENABLE_MODULES=OFF \ + -DLLVM_ENABLE_MODULE_DEBUGGING=OFF + +# Don't change the standard library to libc++. +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBCXX=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBCXX=OFF + +# Don't use lld as a linker. +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LLD=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_LLD=OFF + +# Generate code for the target. LLVM selects a target by looking at the +# toolchain tuple +HOST_LLVM_CONF_OPTS += -DLLVM_DEFAULT_TARGET_TRIPLE=$(GNU_TARGET_NAME) +LLVM_CONF_OPTS += -DLLVM_DEFAULT_TARGET_TRIPLE=$(GNU_TARGET_NAME) + +# LLVM_HOST_TRIPLE has a misleading name, it is in fact the triple of the +# system where llvm is going to run on. We need to specify triple for native +# code generation on the target. +# This solves "No available targets are compatible for this triple" with llvmpipe +LLVM_CONF_OPTS += -DLLVM_HOST_TRIPLE=$(GNU_TARGET_NAME) + +# Building the Go and OCaml bindings is yet unsupported. +HOST_LLVM_CONF_OPTS += \ + -DLLVM_ENABLE_BINDINGS=OFF + +# Builds a release host tablegen that gets used during the LLVM build. +HOST_LLVM_CONF_OPTS += -DLLVM_OPTIMIZED_TABLEGEN=ON + +# Keep llvm utility binaries for the host. llvm-tblgen is built anyway as +# CMakeLists.txt has add_subdirectory(utils/TableGen) unconditionally. +HOST_LLVM_CONF_OPTS += \ + -DLLVM_BUILD_UTILS=ON \ + -DLLVM_INCLUDE_UTILS=ON \ + -DLLVM_INSTALL_UTILS=ON +LLVM_CONF_OPTS += \ + -DLLVM_BUILD_UTILS=OFF \ + -DLLVM_INCLUDE_UTILS=OFF \ + -DLLVM_INSTALL_UTILS=OFF + +HOST_LLVM_CONF_OPTS += \ + -DLLVM_INCLUDE_TOOLS=ON \ + -DLLVM_BUILD_TOOLS=ON + +# We need to activate LLVM_INCLUDE_TOOLS, otherwise it does not generate +# libLLVM.so +LLVM_CONF_OPTS += \ + -DLLVM_INCLUDE_TOOLS=ON \ + -DLLVM_BUILD_TOOLS=OFF + +ifeq ($(BR2_PACKAGE_LLVM_RTTI),y) +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=ON +LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=ON +else +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_RTTI=OFF +endif + +# Compiler-rt not in the source tree. +# llvm runtime libraries are not in the source tree. +# Polly is not in the source tree. +HOST_LLVM_CONF_OPTS += \ + -DLLVM_BUILD_EXTERNAL_COMPILER_RT=OFF \ + -DLLVM_BUILD_RUNTIME=OFF \ + -DLLVM_INCLUDE_RUNTIMES=OFF \ + -DLLVM_POLLY_BUILD=OFF +LLVM_CONF_OPTS += \ + -DLLVM_BUILD_EXTERNAL_COMPILER_RT=OFF \ + -DLLVM_BUILD_RUNTIME=OFF \ + -DLLVM_INCLUDE_RUNTIMES=OFF \ + -DLLVM_POLLY_BUILD=OFF + +HOST_LLVM_CONF_OPTS += \ + -DLLVM_ENABLE_WARNINGS=ON \ + -DLLVM_ENABLE_PEDANTIC=ON \ + -DLLVM_ENABLE_WERROR=OFF +LLVM_CONF_OPTS += \ + -DLLVM_ENABLE_WARNINGS=ON \ + -DLLVM_ENABLE_PEDANTIC=ON \ + -DLLVM_ENABLE_WERROR=OFF + +HOST_LLVM_CONF_OPTS += \ + -DLLVM_BUILD_EXAMPLES=OFF \ + -DLLVM_BUILD_DOCS=OFF \ + -DLLVM_BUILD_TESTS=OFF \ + -DLLVM_ENABLE_DOXYGEN=OFF \ + -DLLVM_ENABLE_OCAMLDOC=OFF \ + -DLLVM_ENABLE_SPHINX=OFF \ + -DLLVM_INCLUDE_EXAMPLES=OFF \ + -DLLVM_INCLUDE_DOCS=OFF \ + -DLLVM_INCLUDE_GO_TESTS=OFF \ + -DLLVM_INCLUDE_TESTS=OFF +LLVM_CONF_OPTS += \ + -DLLVM_BUILD_EXAMPLES=OFF \ + -DLLVM_BUILD_DOCS=OFF \ + -DLLVM_BUILD_TESTS=OFF \ + -DLLVM_ENABLE_DOXYGEN=OFF \ + -DLLVM_ENABLE_OCAMLDOC=OFF \ + -DLLVM_ENABLE_SPHINX=OFF \ + -DLLVM_INCLUDE_EXAMPLES=OFF \ + -DLLVM_INCLUDE_DOCS=OFF \ + -DLLVM_INCLUDE_GO_TESTS=OFF \ + -DLLVM_INCLUDE_TESTS=OFF + +# Copy llvm-config (host variant) to STAGING_DIR +# llvm-config (host variant) returns include and lib directories +# for the host if it's installed in host/bin: +# output/host/bin/llvm-config --includedir +# output/host/include +# When installed in STAGING_DIR, llvm-config returns include and lib +# directories from STAGING_DIR. +# output/staging/usr/bin/llvm-config --includedir +# output/staging/usr/include +define HOST_LLVM_COPY_LLVM_CONFIG_TO_STAGING_DIR + $(INSTALL) -D -m 0755 $(HOST_DIR)/bin/llvm-config \ + $(STAGING_DIR)/usr/bin/llvm-config +endef +HOST_LLVM_POST_INSTALL_HOOKS = HOST_LLVM_COPY_LLVM_CONFIG_TO_STAGING_DIR + +# By default llvm-tblgen is built and installed on the target but it is +# not necessary. Also erase LLVMHello.so from /usr/lib +define LLVM_DELETE_LLVM_TBLGEN_TARGET + rm -f $(TARGET_DIR)/usr/bin/llvm-tblgen $(TARGET_DIR)/usr/lib/LLVMHello.so +endef +LLVM_POST_INSTALL_TARGET_HOOKS = LLVM_DELETE_LLVM_TBLGEN_TARGET + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/lm-sensors/0001-static-build.patch b/buildroot-2022.02.1/package/lm-sensors/0001-static-build.patch similarity index 100% rename from buildroot-2021.05/package/lm-sensors/0001-static-build.patch rename to buildroot-2022.02.1/package/lm-sensors/0001-static-build.patch diff --git a/buildroot-2021.05/package/lm-sensors/0002-no-host-ldconfig.patch b/buildroot-2022.02.1/package/lm-sensors/0002-no-host-ldconfig.patch similarity index 100% rename from buildroot-2021.05/package/lm-sensors/0002-no-host-ldconfig.patch rename to buildroot-2022.02.1/package/lm-sensors/0002-no-host-ldconfig.patch diff --git a/buildroot-2021.05/package/lm-sensors/Config.in b/buildroot-2022.02.1/package/lm-sensors/Config.in similarity index 100% rename from buildroot-2021.05/package/lm-sensors/Config.in rename to buildroot-2022.02.1/package/lm-sensors/Config.in diff --git a/buildroot-2022.02.1/package/lm-sensors/lm-sensors.hash b/buildroot-2022.02.1/package/lm-sensors/lm-sensors.hash new file mode 100644 index 00000000..c9410433 --- /dev/null +++ b/buildroot-2022.02.1/package/lm-sensors/lm-sensors.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 0591f9fa0339f0d15e75326d0365871c2d4e2ed8aa1ff759b3a55d3734b7d197 lm-sensors-3.6.0.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/buildroot-2022.02.1/package/lm-sensors/lm-sensors.mk b/buildroot-2022.02.1/package/lm-sensors/lm-sensors.mk new file mode 100644 index 00000000..1bf27fc2 --- /dev/null +++ b/buildroot-2022.02.1/package/lm-sensors/lm-sensors.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# lm-sensors +# +################################################################################ + +LM_SENSORS_VERSION = 3.6.0 +LM_SENSORS_SITE = \ + $(call github,lm-sensors,lm-sensors,V$(subst .,-,$(LM_SENSORS_VERSION))) +LM_SENSORS_INSTALL_STAGING = YES +LM_SENSORS_DEPENDENCIES = host-bison host-flex +LM_SENSORS_LICENSE = LGPL-2.1+ (libsensors), GPL-2.0+ (programs) +LM_SENSORS_LICENSE_FILES = COPYING.LGPL COPYING + +LM_SENSORS_BINS_ = bin/sensors-conf-convert +LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_SENSORS) += bin/sensors +LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_FANCONTROL) += sbin/fancontrol +LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_ISADUMP) += sbin/isadump +LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_ISASET) += sbin/isaset +LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_PWMCONFIG) += sbin/pwmconfig +LM_SENSORS_BINS_$(BR2_PACKAGE_LM_SENSORS_SENSORS_DETECT) += sbin/sensors-detect + +LM_SENSORS_MAKE_OPTS = \ + $(TARGET_CONFIGURE_OPTS) \ + PREFIX=/usr + +ifeq ($(BR2_STATIC_LIBS),y) +LM_SENSORS_MAKE_OPTS += BUILD_SHARED_LIB=0 EXLDFLAGS=-static +else +LM_SENSORS_MAKE_OPTS += BUILD_SHARED_LIB=1 +endif + +ifeq ($(BR2_SHARED_LIBS),y) +LM_SENSORS_MAKE_OPTS += BUILD_STATIC_LIB=0 +else +LM_SENSORS_MAKE_OPTS += BUILD_STATIC_LIB=1 +endif + +define LM_SENSORS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(LM_SENSORS_MAKE_OPTS) -C $(@D) +endef + +define LM_SENSORS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LM_SENSORS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install + rm -f $(addprefix $(STAGING_DIR)/usr/,$(LM_SENSORS_BINS_) $(LM_SENSORS_BINS_y)) +endef + +define LM_SENSORS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LM_SENSORS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install + rm -f $(addprefix $(TARGET_DIR)/usr/,$(LM_SENSORS_BINS_)) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/lmbench/0001-scripts-build-use-bin-bash-as-shell.patch b/buildroot-2022.02.1/package/lmbench/0001-scripts-build-use-bin-bash-as-shell.patch similarity index 100% rename from buildroot-2021.05/package/lmbench/0001-scripts-build-use-bin-bash-as-shell.patch rename to buildroot-2022.02.1/package/lmbench/0001-scripts-build-use-bin-bash-as-shell.patch diff --git a/buildroot-2021.05/package/lmbench/0002-src-Makefile-add-lmbench-to-list-of-executables.patch b/buildroot-2022.02.1/package/lmbench/0002-src-Makefile-add-lmbench-to-list-of-executables.patch similarity index 100% rename from buildroot-2021.05/package/lmbench/0002-src-Makefile-add-lmbench-to-list-of-executables.patch rename to buildroot-2022.02.1/package/lmbench/0002-src-Makefile-add-lmbench-to-list-of-executables.patch diff --git a/buildroot-2021.05/package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch b/buildroot-2022.02.1/package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch similarity index 100% rename from buildroot-2021.05/package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch rename to buildroot-2022.02.1/package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch diff --git a/buildroot-2021.05/package/lmbench/0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch b/buildroot-2022.02.1/package/lmbench/0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch similarity index 100% rename from buildroot-2021.05/package/lmbench/0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch rename to buildroot-2022.02.1/package/lmbench/0004-Fix-garbage-pointer-for-lat_rpc-S-localhost.patch diff --git a/buildroot-2021.05/package/lmbench/Config.in b/buildroot-2022.02.1/package/lmbench/Config.in similarity index 100% rename from buildroot-2021.05/package/lmbench/Config.in rename to buildroot-2022.02.1/package/lmbench/Config.in diff --git a/buildroot-2021.05/package/lmbench/lmbench.hash b/buildroot-2022.02.1/package/lmbench/lmbench.hash similarity index 100% rename from buildroot-2021.05/package/lmbench/lmbench.hash rename to buildroot-2022.02.1/package/lmbench/lmbench.hash diff --git a/buildroot-2022.02.1/package/lmbench/lmbench.mk b/buildroot-2022.02.1/package/lmbench/lmbench.mk new file mode 100644 index 00000000..b0f99ff1 --- /dev/null +++ b/buildroot-2022.02.1/package/lmbench/lmbench.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# lmbench +# +################################################################################ + +LMBENCH_VERSION = 3.0-a9 +LMBENCH_SOURCE = lmbench-$(LMBENCH_VERSION).tgz +LMBENCH_SITE = http://downloads.sourceforge.net/project/lmbench/development/lmbench-$(LMBENCH_VERSION) +LMBENCH_LICENSE = lmbench license (based on GPL-2.0) +LMBENCH_LICENSE_FILES = COPYING COPYING-2 + +LMBENCH_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +LMBENCH_DEPENDENCIES += host-pkgconf libtirpc +LMBENCH_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc` +LMBENCH_LDLIBS = `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc` +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101915),y) +LMBENCH_CFLAGS += -O0 +endif + +LMBENCH_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK + +define LMBENCH_CONFIGURE_CMDS + sed -i 's/CFLAGS=/CFLAGS+=/g' $(@D)/src/Makefile + sed -i 's/LDLIBS=/LDLIBS+=/g' $(@D)/scripts/build + sed -i '/cd .*doc/d' $(@D)/src/Makefile + sed -i '/include/d' $(@D)/src/Makefile + touch $@ +endef + +# Note: there is a second stage 'make' invocation from the 'scripts/build' +# script. So the variables override below don't take direct effect in +# src/Makefile. +define LMBENCH_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CFLAGS="$(LMBENCH_CFLAGS)" LDLIBS="$(LMBENCH_LDLIBS)" OS=$(ARCH) CC="$(TARGET_CC)" -C $(@D)/src +endef + +define LMBENCH_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CFLAGS="$(TARGET_CFLAGS)" OS=$(ARCH) CC="$(TARGET_CC)" BASE=$(TARGET_DIR)/usr -C $(@D)/src install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0001-HACK-only-build-and-install-localedef.patch b/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0001-HACK-only-build-and-install-localedef.patch new file mode 100644 index 00000000..b289000c --- /dev/null +++ b/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0001-HACK-only-build-and-install-localedef.patch @@ -0,0 +1,65 @@ +From 442e9a3f262c49cf61f9e7bdf12882f0a427666b Mon Sep 17 00:00:00 2001 +From: Michael Olbrich +Date: Mon, 21 May 2018 16:45:02 +0200 +Subject: [PATCH] HACK: only build and install localedef + +Signed-off-by: Michael Olbrich + +Upstream: https://git.pengutronix.de/cgit/ptxdist/plain/patches/localedef-glibc-2.27/0001-HACK-only-build-and-install-localedef.patch?id=47116f66f411d4dadfce42c2fdd6d41b351ccfd4 +Signed-off-by: Peter Seiderer +--- + Rules | 14 ++++++++++---- + locale/Makefile | 6 +++--- + 2 files changed, 13 insertions(+), 7 deletions(-) + +diff --git a/Rules b/Rules +index b1137afe71..2aeac31922 100644 +--- a/Rules ++++ b/Rules +@@ -216,10 +216,16 @@ binaries-shared-notests = $(filter-out $(binaries-pie) $(binaries-static), \ + $(binaries-all-notests)) + + ifneq "$(strip $(binaries-shared-notests))" "" +-$(addprefix $(objpfx),$(binaries-shared-notests)): %: %.o \ +- $(sort $(filter $(common-objpfx)lib%,$(link-libc))) \ +- $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit) +- $(+link) ++$(addprefix $(objpfx),$(binaries-shared-notests)): %: %.o ++ $(CC) -o $@ \ ++ $(sysdep-LDFLAGS) $(LDFLAGS) $(LDFLAGS-$(@F)) \ ++ $(combreloc-LDFLAGS) $(relro-LDFLAGS) $(hashstyle-LDFLAGS) \ ++ $(filter-out $(addprefix $(csu-objpfx),start.o \ ++ $(start-installed-name))\ ++ $(+preinit) \ ++ $(link-extra-libs) \ ++ $(common-objpfx)libc% $(+postinit),$^) \ ++ $(link-extra-libs) + endif + + ifneq "$(strip $(binaries-shared-tests))" "" +diff --git a/locale/Makefile b/locale/Makefile +index b7c60681fa..de4cf4003f 100644 +--- a/locale/Makefile ++++ b/locale/Makefile +@@ -33,15 +33,15 @@ categories = ctype messages monetary numeric time paper name \ + address telephone measurement identification collate + aux = $(categories:%=lc-%) $(categories:%=C-%) SYS_libc C_name \ + xlocale localename global-locale coll-lookup +-others = localedef locale ++others = localedef + #others-static = localedef locale +-install-bin = localedef locale ++install-bin = localedef + extra-objs = $(localedef-modules:=.o) $(localedef-aux:=.o) \ + $(locale-modules:=.o) $(lib-modules:=.o) + generated += C-translit.h + before-compile += $(objpfx)C-translit.h + +-extra-libs = libBrokenLocale ++#extra-libs = libBrokenLocale + extra-libs-others = $(extra-libs) + + libBrokenLocale-routines = broken_cur_max +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch b/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch new file mode 100644 index 00000000..297c96cc --- /dev/null +++ b/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/0002-relax-dependency-on-GCC-to-4.8-and-binutils-to-2.24.patch @@ -0,0 +1,63 @@ +From 85412262460f6ba9f6e2cf8da74fc1904c54c854 Mon Sep 17 00:00:00 2001 +From: Matt Weber +Date: Thu, 6 Feb 2020 14:36:21 -0600 +Subject: [PATCH] relax dependency on GCC to 4.8 and binutils to 2.24 + +The glibc package has been updating the toolchain version +dependency since 2.28.x. The dependencies don't currently +apply to the localedef build of the package, so this +patchset relaxes the restriction such that builds can still +occur on older host machines. + +Here's a related post from 2018 for a similar patchset. +http://lists.busybox.net/pipermail/buildroot/2018-December/237949.html + +Timeline of relevant commits that adjust the dependency upstream. +GCC 4.9+ + https://sourceware.org/git/?p=glibc.git;a=commit;h=4add86749a31f302674599b69d2eea691d69341a +Binutils 2.25+ + https://sourceware.org/git/?p=glibc.git;a=commit;h=073e8fa7739ed453d6854b834f290c263a6cdb9f + https://sourceware.org/git/?p=glibc.git;a=commit;h=b4396163aa8666f970aaf43eaca25f3a92b18c1b +GCC 5+ + https://sourceware.org/git/?p=glibc.git;a=commit;h=192963be49678b48f60218f1f794991cdd9fe472 +GCC 6.2+ + https://sourceware.org/git/?p=glibc.git;a=commit;h=4dcbbc3b28aaeafe23e1a30db84055aa6f6fa987 + +Signed-off-by: Matthew Weber +--- + configure | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/configure b/configure +index 9619c10991..0c481d2339 100755 +--- a/configure ++++ b/configure +@@ -4651,7 +4651,7 @@ $as_echo_n "checking version of $AS... " >&6; } + ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; +- 2.1[0-9][0-9]*|2.2[5-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) ++ 2.1[0-9][0-9]*|2.2[4-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + +@@ -4781,7 +4781,7 @@ $as_echo_n "checking version of $LD... " >&6; } + ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` + case $ac_prog_version in + '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; +- 2.1[0-9][0-9]*|2.2[5-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) ++ 2.1[0-9][0-9]*|2.2[4-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) + ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; + *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; + +@@ -5189,7 +5189,7 @@ int + main () + { + +-#if !defined __GNUC__ || __GNUC__ < 6 || (__GNUC__ == 6 && __GNUC_MINOR__ < 2) ++#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 8) + #error insufficient compiler + #endif + ; +-- +2.33.0 diff --git a/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/localedef.hash b/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/localedef.hash new file mode 100644 index 00000000..dfd93902 --- /dev/null +++ b/buildroot-2022.02.1/package/localedef/2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c/localedef.hash @@ -0,0 +1,7 @@ +# Locally calculated (fetched from Github) +sha256 3c299a21468a80356b848ca341f45551616c4928a6c871e6d45cee942e8b0f24 glibc-2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c.tar.gz + +# Hashes for license files +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB +sha256 b33d0bd9f685b46853548814893a6135e74430d12f6d94ab3eba42fc591f83bc LICENSES diff --git a/buildroot-2021.05/package/localedef/localedef.hash b/buildroot-2022.02.1/package/localedef/localedef.hash similarity index 100% rename from buildroot-2021.05/package/localedef/localedef.hash rename to buildroot-2022.02.1/package/localedef/localedef.hash diff --git a/buildroot-2022.02.1/package/localedef/localedef.mk b/buildroot-2022.02.1/package/localedef/localedef.mk new file mode 100644 index 00000000..f8f0b429 --- /dev/null +++ b/buildroot-2022.02.1/package/localedef/localedef.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# localedef +# +################################################################################ + +# Use the same VERSION and SITE as target glibc +# As in glibc.mk, generate version string using: +# git describe --match 'glibc-*' --abbrev=40 origin/release/MAJOR.MINOR/master | cut -d '-' -f 2- +LOCALEDEF_VERSION = 2.34-109-gd64b08d5ba7ffbc9155630f4843cf2e271b1629c +LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION).tar.gz +LOCALEDEF_SITE = $(call github,bminor,glibc,$(LOCALEDEF_VERSION)) +HOST_LOCALEDEF_DL_SUBDIR = glibc + +HOST_LOCALEDEF_DEPENDENCIES = \ + $(BR2_MAKE_HOST_DEPENDENCY) \ + $(BR2_PYTHON3_HOST_DEPENDENCY) \ + host-bison \ + host-gawk + +HOST_LOCALEDEF_CONF_ENV += ac_cv_prog_MAKE="$(BR2_MAKE)" + +# Even though we use the autotools-package infrastructure, we have to override +# the default configure commands for since we have to build out-of-tree, but we +# can't use the same 'symbolic link to configure' used with the gcc packages. +define HOST_LOCALEDEF_CONFIGURE_CMDS + mkdir -p $(@D)/build + # Do the configuration + (cd $(@D)/build; \ + $(HOST_LOCALEDEF_CONF_ENV) \ + $(HOST_CONFIGURE_OPTS) \ + $(SHELL) $(@D)/configure \ + libc_cv_forced_unwind=yes \ + libc_cv_ssp=no \ + --target=$(GNU_HOST_NAME) \ + --host=$(GNU_HOST_NAME) \ + --build=$(GNU_HOST_NAME) \ + --prefix=/usr \ + --with-pkgversion="Buildroot" \ + --without-cvs \ + --disable-profile \ + --without-gd \ + --enable-obsolete-rpc) +endef + +define HOST_LOCALEDEF_BUILD_CMDS + $(HOST_MAKE_ENV) $(BR2_MAKE1) $(HOST_LOCALEDEF_MAKE_OPTS) \ + -C $(@D)/build locale/others +endef + +# The makefile does not implement an install target for localedef +define HOST_LOCALEDEF_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/build/locale/localedef $(HOST_DIR)/bin/localedef +endef + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/lockdev/0001-Makefile-install-static-library-and-headers-separate.patch b/buildroot-2022.02.1/package/lockdev/0001-Makefile-install-static-library-and-headers-separate.patch similarity index 100% rename from buildroot-2021.05/package/lockdev/0001-Makefile-install-static-library-and-headers-separate.patch rename to buildroot-2022.02.1/package/lockdev/0001-Makefile-install-static-library-and-headers-separate.patch diff --git a/buildroot-2021.05/package/lockdev/Config.in b/buildroot-2022.02.1/package/lockdev/Config.in similarity index 100% rename from buildroot-2021.05/package/lockdev/Config.in rename to buildroot-2022.02.1/package/lockdev/Config.in diff --git a/buildroot-2021.05/package/lockdev/lockdev.hash b/buildroot-2022.02.1/package/lockdev/lockdev.hash similarity index 100% rename from buildroot-2021.05/package/lockdev/lockdev.hash rename to buildroot-2022.02.1/package/lockdev/lockdev.hash diff --git a/buildroot-2021.05/package/lockdev/lockdev.mk b/buildroot-2022.02.1/package/lockdev/lockdev.mk similarity index 100% rename from buildroot-2021.05/package/lockdev/lockdev.mk rename to buildroot-2022.02.1/package/lockdev/lockdev.mk diff --git a/buildroot-2021.05/package/lockfile-progs/0001-sus3v-legacy.patch b/buildroot-2022.02.1/package/lockfile-progs/0001-sus3v-legacy.patch similarity index 100% rename from buildroot-2021.05/package/lockfile-progs/0001-sus3v-legacy.patch rename to buildroot-2022.02.1/package/lockfile-progs/0001-sus3v-legacy.patch diff --git a/buildroot-2022.02.1/package/lockfile-progs/Config.in b/buildroot-2022.02.1/package/lockfile-progs/Config.in new file mode 100644 index 00000000..b9dbca96 --- /dev/null +++ b/buildroot-2022.02.1/package/lockfile-progs/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LOCKFILE_PROGS + bool "lockfile programs" + depends on BR2_USE_MMU # liblockfile + select BR2_PACKAGE_LIBLOCKFILE + help + Build lockfile utility programs. diff --git a/buildroot-2022.02.1/package/lockfile-progs/lockfile-progs.hash b/buildroot-2022.02.1/package/lockfile-progs/lockfile-progs.hash new file mode 100644 index 00000000..bf318350 --- /dev/null +++ b/buildroot-2022.02.1/package/lockfile-progs/lockfile-progs.hash @@ -0,0 +1,5 @@ +# From https://snapshot.debian.org/archive/debian/20210903T205304Z/pool/main/l/lockfile-progs/lockfile-progs_0.1.19.dsc +sha256 2c5704b01c8f474f82921780e4592a927b2bf6a6d7616354a6c5d7cd5664857e lockfile-progs_0.1.19.tar.gz + +# Hash for license file +sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING diff --git a/buildroot-2022.02.1/package/lockfile-progs/lockfile-progs.mk b/buildroot-2022.02.1/package/lockfile-progs/lockfile-progs.mk new file mode 100644 index 00000000..6045aa71 --- /dev/null +++ b/buildroot-2022.02.1/package/lockfile-progs/lockfile-progs.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# lockfile-progs +# +################################################################################ + +LOCKFILE_PROGS_VERSION = 0.1.19 +LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz +LOCKFILE_PROGS_SITE = http://snapshot.debian.org/archive/debian/20210903T205304Z/pool/main/l/lockfile-progs +LOCKFILE_PROGS_DEPENDENCIES = liblockfile +LOCKFILE_PROGS_LICENSE = GPL-2.0 +LOCKFILE_PROGS_LICENSE_FILES = COPYING + +LOCKFILE_PROGS_BINS = \ + $(addprefix lockfile-,check create remove touch) \ + $(addprefix mail-,lock touchlock unlock) + +define LOCKFILE_PROGS_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define LOCKFILE_PROGS_INSTALL_TARGET_CMDS + for i in $(LOCKFILE_PROGS_BINS); do \ + $(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \ + done +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/log4cplus/Config.in b/buildroot-2022.02.1/package/log4cplus/Config.in similarity index 100% rename from buildroot-2021.05/package/log4cplus/Config.in rename to buildroot-2022.02.1/package/log4cplus/Config.in diff --git a/buildroot-2022.02.1/package/log4cplus/log4cplus.hash b/buildroot-2022.02.1/package/log4cplus/log4cplus.hash new file mode 100644 index 00000000..a668eca3 --- /dev/null +++ b/buildroot-2022.02.1/package/log4cplus/log4cplus.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 8f74a0a5920ba044b24e2ebeb0f1e5e36d85d5c23ed48d9fe328882b16130db8 log4cplus-2.0.7.tar.xz +sha256 91d7e42ff80e74c4c94e5ad353375fa0358cd0abbf43f5fe957097cdbd4e2c4d LICENSE diff --git a/buildroot-2022.02.1/package/log4cplus/log4cplus.mk b/buildroot-2022.02.1/package/log4cplus/log4cplus.mk new file mode 100644 index 00000000..56a85025 --- /dev/null +++ b/buildroot-2022.02.1/package/log4cplus/log4cplus.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# log4cplus +# +################################################################################ + +LOG4CPLUS_VERSION = 2.0.7 +LOG4CPLUS_SOURCE = log4cplus-$(LOG4CPLUS_VERSION).tar.xz +LOG4CPLUS_SITE = http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/$(LOG4CPLUS_VERSION) +LOG4CPLUS_LICENSE = Apache-2.0, BSD-2-Clause, BSD-like (threadpool) +LOG4CPLUS_LICENSE_FILES = LICENSE +LOG4CPLUS_INSTALL_STAGING = YES + +ifeq ($(BR2_GCC_ENABLE_LTO),y) +LOG4CPLUS_CONF_OPTS += --enable-lto +else +LOG4CPLUS_CONF_OPTS += --disable-lto +endif + +ifeq ($(BR2_PACKAGE_QT5BASE),y) +LOG4CPLUS_DEPENDENCIES += host-pkgconf qt5base +LOG4CPLUS_CONF_OPTS += --with-qt5 +else +LOG4CPLUS_CONF_OPTS += --without-qt5 +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/log4cpp/Config.in b/buildroot-2022.02.1/package/log4cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/log4cpp/Config.in rename to buildroot-2022.02.1/package/log4cpp/Config.in diff --git a/buildroot-2021.05/package/log4cpp/log4cpp.hash b/buildroot-2022.02.1/package/log4cpp/log4cpp.hash similarity index 100% rename from buildroot-2021.05/package/log4cpp/log4cpp.hash rename to buildroot-2022.02.1/package/log4cpp/log4cpp.hash diff --git a/buildroot-2021.05/package/log4cpp/log4cpp.mk b/buildroot-2022.02.1/package/log4cpp/log4cpp.mk similarity index 100% rename from buildroot-2021.05/package/log4cpp/log4cpp.mk rename to buildroot-2022.02.1/package/log4cpp/log4cpp.mk diff --git a/buildroot-2022.02.1/package/log4cxx/0001-boost-fallback-only-check-for-boost-if-really-needed.patch b/buildroot-2022.02.1/package/log4cxx/0001-boost-fallback-only-check-for-boost-if-really-needed.patch new file mode 100644 index 00000000..7df29ea1 --- /dev/null +++ b/buildroot-2022.02.1/package/log4cxx/0001-boost-fallback-only-check-for-boost-if-really-needed.patch @@ -0,0 +1,36 @@ +From 24e7adc8d67b3c8f7d275b4f9a7e70a61b73fcd4 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Fri, 28 Jan 2022 13:11:01 +0100 +Subject: [PATCH] boost-fallback: only check for boost if really needed + +- only check for boost if really needed (in case of legacy c++ standard < c++17) + +Signed-off-by: Peter Seiderer +--- + src/cmake/boost-fallback/boost-fallback.cmake | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/src/cmake/boost-fallback/boost-fallback.cmake b/src/cmake/boost-fallback/boost-fallback.cmake +index 8285b0b9..0ecf8c6c 100644 +--- a/src/cmake/boost-fallback/boost-fallback.cmake ++++ b/src/cmake/boost-fallback/boost-fallback.cmake +@@ -55,6 +55,8 @@ try_compile(STD_SHARED_PTR_FOUND "${CMAKE_BINARY_DIR}/boost-fallback-compile-tes + try_compile(STD_ATOMIC_FOUND "${CMAKE_BINARY_DIR}/boost-fallback-compile-tests" + "${CMAKE_CURRENT_LIST_DIR}/test-stdatomic.cpp") + ++# search for boost only in case needed for legacy c++ standard < c++17 ++if(NOT ${STD_THREAD_FOUND} OR NOT ${STD_MUTEX_FOUND} OR NOT ${STD_SHARED_MUTEX_FOUND} OR NOT ${STD_SHARED_PTR_FOUND} OR NOT ${STD_ATOMIC_FOUND}) + find_package(Boost COMPONENTS thread) + if( ${Boost_FOUND} ) + try_compile(Boost_SHARED_PTR_FOUND "${CMAKE_BINARY_DIR}/boost-fallback-compile-tests" +@@ -67,6 +69,7 @@ if( ${Boost_FOUND} ) + try_compile(Boost_ATOMIC_FOUND "${CMAKE_BINARY_DIR}/boost-fallback-compile-tests" + "${CMAKE_CURRENT_LIST_DIR}/test-boostatomic.cpp") + endif( ${Boost_FOUND} ) ++endif() + + # Link the target with the appropriate boost libraries(if required) + function(boostfallback_link target) +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/log4cxx/Config.in b/buildroot-2022.02.1/package/log4cxx/Config.in new file mode 100644 index 00000000..27a5f069 --- /dev/null +++ b/buildroot-2022.02.1/package/log4cxx/Config.in @@ -0,0 +1,35 @@ +config BR2_PACKAGE_LOG4CXX + bool "log4cxx" + # apr really needs shared library support + depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # apr + depends on BR2_USE_WCHAR || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost-thread + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # boost-thread + select BR2_PACKAGE_APR + select BR2_PACKAGE_APR_UTIL + select BR2_PACKAGE_BOOST if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + select BR2_PACKAGE_BOOST_ATOMIC if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + select BR2_PACKAGE_BOOST_CHRONO if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + select BR2_PACKAGE_BOOST_DATE_TIME if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + select BR2_PACKAGE_BOOST_THREAD if !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + help + Apache log4cxx is a logging framework for C++ patterned + after Apache log4j. + + https://logging.apache.org/log4cxx/ + +comment "log4cxx needs a toolchain w/ C++, threads, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + depends on BR2_USE_MMU + +comment "log4cxx needs a toolchain w/ wchar or gcc >= 7" + depends on !(BR2_USE_WCHAR || BR2_TOOLCHAIN_GCC_AT_LEAST_7) + depends on BR2_USE_MMU + +comment "log4cxx needs a toolchain not affected by GCC bug 64735" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2022.02.1/package/log4cxx/log4cxx.hash b/buildroot-2022.02.1/package/log4cxx/log4cxx.hash new file mode 100644 index 00000000..12633c8e --- /dev/null +++ b/buildroot-2022.02.1/package/log4cxx/log4cxx.hash @@ -0,0 +1,4 @@ +# From https://www.apache.org/dist/logging/log4cxx/0.12.1/apache-log4cxx-0.12.1.tar.gz.sha512 +sha512 807058734cebf7c92e99484313becbc6be63e48bd930889c733318bb78dfec498b66aaa12255ed30879abb005b32e2b965f9dd87ec50d0421ca067f3f66280d9 apache-log4cxx-0.12.1.tar.gz +# Locally computed +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/log4cxx/log4cxx.mk b/buildroot-2022.02.1/package/log4cxx/log4cxx.mk new file mode 100644 index 00000000..d20cc792 --- /dev/null +++ b/buildroot-2022.02.1/package/log4cxx/log4cxx.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# log4cxx +# +################################################################################ + +LOG4CXX_VERSION = 0.12.1 +LOG4CXX_SITE = https://archive.apache.org/dist/logging/log4cxx/$(LOG4CXX_VERSION) +LOG4CXX_SOURCE = apache-log4cxx-$(LOG4CXX_VERSION).tar.gz +LOG4CXX_INSTALL_STAGING = YES +LOG4CXX_LICENSE = Apache-2.0 +LOG4CXX_LICENSE_FILES = LICENSE + +LOG4CXX_CONF_OPTS = \ + -DAPR_CONFIG_EXECUTABLE=$(STAGING_DIR)/usr/bin/apr-1-config \ + -DAPR_UTIL_CONFIG_EXECUTABLE=$(STAGING_DIR)/usr/bin/apu-1-config + +LOG4CXX_DEPENDENCIES = apr apr-util + +ifeq ($(BR2_PACKAGE_BOOST),y) +LOG4CXX_DEPENDENCIES += boost +endif + +ifeq ($(BR2_PACKAGE_LIBESMTP),y) +LOG4CXX_DEPENDENCIES += libesmtp +endif + +ifeq ($(BR2_USE_WCHAR),y) +LOG4CXX_CONF_OPTS += -DLOG4CXX_WCHAR_T=ON +else +LOG4CXX_CONF_OPTS += -DLOG4CXX_WCHAR_T=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/log4qt/Config.in b/buildroot-2022.02.1/package/log4qt/Config.in similarity index 100% rename from buildroot-2021.05/package/log4qt/Config.in rename to buildroot-2022.02.1/package/log4qt/Config.in diff --git a/buildroot-2021.05/package/log4qt/log4qt.hash b/buildroot-2022.02.1/package/log4qt/log4qt.hash similarity index 100% rename from buildroot-2021.05/package/log4qt/log4qt.hash rename to buildroot-2022.02.1/package/log4qt/log4qt.hash diff --git a/buildroot-2021.05/package/log4qt/log4qt.mk b/buildroot-2022.02.1/package/log4qt/log4qt.mk similarity index 100% rename from buildroot-2021.05/package/log4qt/log4qt.mk rename to buildroot-2022.02.1/package/log4qt/log4qt.mk diff --git a/buildroot-2021.05/package/logrotate/Config.in b/buildroot-2022.02.1/package/logrotate/Config.in similarity index 100% rename from buildroot-2021.05/package/logrotate/Config.in rename to buildroot-2022.02.1/package/logrotate/Config.in diff --git a/buildroot-2021.05/package/logrotate/logrotate.conf b/buildroot-2022.02.1/package/logrotate/logrotate.conf similarity index 100% rename from buildroot-2021.05/package/logrotate/logrotate.conf rename to buildroot-2022.02.1/package/logrotate/logrotate.conf diff --git a/buildroot-2021.05/package/logrotate/logrotate.hash b/buildroot-2022.02.1/package/logrotate/logrotate.hash similarity index 100% rename from buildroot-2021.05/package/logrotate/logrotate.hash rename to buildroot-2022.02.1/package/logrotate/logrotate.hash diff --git a/buildroot-2021.05/package/logrotate/logrotate.mk b/buildroot-2022.02.1/package/logrotate/logrotate.mk similarity index 100% rename from buildroot-2021.05/package/logrotate/logrotate.mk rename to buildroot-2022.02.1/package/logrotate/logrotate.mk diff --git a/buildroot-2021.05/package/logsurfer/Config.in b/buildroot-2022.02.1/package/logsurfer/Config.in similarity index 100% rename from buildroot-2021.05/package/logsurfer/Config.in rename to buildroot-2022.02.1/package/logsurfer/Config.in diff --git a/buildroot-2021.05/package/logsurfer/logsurfer.hash b/buildroot-2022.02.1/package/logsurfer/logsurfer.hash similarity index 100% rename from buildroot-2021.05/package/logsurfer/logsurfer.hash rename to buildroot-2022.02.1/package/logsurfer/logsurfer.hash diff --git a/buildroot-2021.05/package/logsurfer/logsurfer.mk b/buildroot-2022.02.1/package/logsurfer/logsurfer.mk similarity index 100% rename from buildroot-2021.05/package/logsurfer/logsurfer.mk rename to buildroot-2022.02.1/package/logsurfer/logsurfer.mk diff --git a/buildroot-2021.05/package/lpc3250loader/Config.in.host b/buildroot-2022.02.1/package/lpc3250loader/Config.in.host similarity index 100% rename from buildroot-2021.05/package/lpc3250loader/Config.in.host rename to buildroot-2022.02.1/package/lpc3250loader/Config.in.host diff --git a/buildroot-2021.05/package/lpc3250loader/lpc3250loader.hash b/buildroot-2022.02.1/package/lpc3250loader/lpc3250loader.hash similarity index 100% rename from buildroot-2021.05/package/lpc3250loader/lpc3250loader.hash rename to buildroot-2022.02.1/package/lpc3250loader/lpc3250loader.hash diff --git a/buildroot-2021.05/package/lpc3250loader/lpc3250loader.mk b/buildroot-2022.02.1/package/lpc3250loader/lpc3250loader.mk similarity index 100% rename from buildroot-2021.05/package/lpc3250loader/lpc3250loader.mk rename to buildroot-2022.02.1/package/lpc3250loader/lpc3250loader.mk diff --git a/buildroot-2021.05/package/lpeg/Config.in b/buildroot-2022.02.1/package/lpeg/Config.in similarity index 100% rename from buildroot-2021.05/package/lpeg/Config.in rename to buildroot-2022.02.1/package/lpeg/Config.in diff --git a/buildroot-2021.05/package/lpeg/lpeg.hash b/buildroot-2022.02.1/package/lpeg/lpeg.hash similarity index 100% rename from buildroot-2021.05/package/lpeg/lpeg.hash rename to buildroot-2022.02.1/package/lpeg/lpeg.hash diff --git a/buildroot-2021.05/package/lpeg/lpeg.mk b/buildroot-2022.02.1/package/lpeg/lpeg.mk similarity index 100% rename from buildroot-2021.05/package/lpeg/lpeg.mk rename to buildroot-2022.02.1/package/lpeg/lpeg.mk diff --git a/buildroot-2021.05/package/lpty/Config.in b/buildroot-2022.02.1/package/lpty/Config.in similarity index 100% rename from buildroot-2021.05/package/lpty/Config.in rename to buildroot-2022.02.1/package/lpty/Config.in diff --git a/buildroot-2021.05/package/lpty/lpty.hash b/buildroot-2022.02.1/package/lpty/lpty.hash similarity index 100% rename from buildroot-2021.05/package/lpty/lpty.hash rename to buildroot-2022.02.1/package/lpty/lpty.hash diff --git a/buildroot-2021.05/package/lpty/lpty.mk b/buildroot-2022.02.1/package/lpty/lpty.mk similarity index 100% rename from buildroot-2021.05/package/lpty/lpty.mk rename to buildroot-2022.02.1/package/lpty/lpty.mk diff --git a/buildroot-2021.05/package/lrandom/Config.in b/buildroot-2022.02.1/package/lrandom/Config.in similarity index 100% rename from buildroot-2021.05/package/lrandom/Config.in rename to buildroot-2022.02.1/package/lrandom/Config.in diff --git a/buildroot-2021.05/package/lrandom/lrandom.hash b/buildroot-2022.02.1/package/lrandom/lrandom.hash similarity index 100% rename from buildroot-2021.05/package/lrandom/lrandom.hash rename to buildroot-2022.02.1/package/lrandom/lrandom.hash diff --git a/buildroot-2021.05/package/lrandom/lrandom.mk b/buildroot-2022.02.1/package/lrandom/lrandom.mk similarity index 100% rename from buildroot-2021.05/package/lrandom/lrandom.mk rename to buildroot-2022.02.1/package/lrandom/lrandom.mk diff --git a/buildroot-2022.02.1/package/lrzip/Config.in b/buildroot-2022.02.1/package/lrzip/Config.in new file mode 100644 index 00000000..87009479 --- /dev/null +++ b/buildroot-2022.02.1/package/lrzip/Config.in @@ -0,0 +1,25 @@ +config BR2_PACKAGE_LRZIP + bool "lrzip" + depends on BR2_USE_MMU # fork() + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LZ4 + select BR2_PACKAGE_LZO + select BR2_PACKAGE_BZIP2 + help + A compression utility that excels at compressing large files + (usually > 10-50 MB). Larger files and/or more free RAM means + that the utility will be able to more effectively compress + your files (ie: faster / smaller size), especially if the + filesize(s) exceed 100 MB. You can either choose to optimise + for speed (fast compression / decompression) or size, + but not both. + + https://github.com/ckolivas/lrzip + +comment "lrzip needs a toolchain w/ wchar, threads, C++" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/lrzip/lrzip.hash b/buildroot-2022.02.1/package/lrzip/lrzip.hash new file mode 100644 index 00000000..19295383 --- /dev/null +++ b/buildroot-2022.02.1/package/lrzip/lrzip.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 9b6b4bb1ae76dafbaab96ec9d50d41af5fed45a6c4f2e06feea828c2cd8025c0 lrzip-0.641.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/lrzip/lrzip.mk b/buildroot-2022.02.1/package/lrzip/lrzip.mk new file mode 100644 index 00000000..409d9912 --- /dev/null +++ b/buildroot-2022.02.1/package/lrzip/lrzip.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# lrzip +# +################################################################################ + +LRZIP_VERSION = 0.641 +LRZIP_SITE = $(call github,ckolivas,lrzip,v$(LRZIP_VERSION)) +LRZIP_AUTORECONF = YES +LRZIP_LICENSE = GPL-2.0+ +LRZIP_LICENSE_FILES = COPYING +LRZIP_DEPENDENCIES = zlib lz4 lzo bzip2 + +ifeq ($(BR2_i386)$(BR2_x86_64),y) +LRZIP_DEPENDENCIES += host-nasm +LRZIP_CONF_OPTS += --enable-asm +else +LRZIP_CONF_OPTS += --disable-asm +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lrzsz/Config.in b/buildroot-2022.02.1/package/lrzsz/Config.in similarity index 100% rename from buildroot-2021.05/package/lrzsz/Config.in rename to buildroot-2022.02.1/package/lrzsz/Config.in diff --git a/buildroot-2021.05/package/lrzsz/lrzsz.hash b/buildroot-2022.02.1/package/lrzsz/lrzsz.hash similarity index 100% rename from buildroot-2021.05/package/lrzsz/lrzsz.hash rename to buildroot-2022.02.1/package/lrzsz/lrzsz.hash diff --git a/buildroot-2022.02.1/package/lrzsz/lrzsz.mk b/buildroot-2022.02.1/package/lrzsz/lrzsz.mk new file mode 100644 index 00000000..45c88619 --- /dev/null +++ b/buildroot-2022.02.1/package/lrzsz/lrzsz.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# lrzsz +# +################################################################################ + +LRZSZ_VERSION = 0.12.20 +LRZSZ_SITE = http://www.ohse.de/uwe/releases +LRZSZ_CONF_OPTS = --disable-timesync +LRZSZ_LICENSE = GPL-2.0+ +LRZSZ_LICENSE_FILES = COPYING +LRZSZ_CPE_ID_VENDOR = lrzsz_project +LRZSZ_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +LRZSZ_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) + +define LRZSZ_POST_CONFIGURE_HOOKS + $(SED) "s/-lnsl//;" $(@D)/src/Makefile + $(SED) "s~\(#define ENABLE_SYSLOG.*\)~/* \1 */~;" $(@D)/config.h +endef + +define LRZSZ_BUILD_HOOKS + $(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" prefix="$(TARGET_DIR)" -C $(@D) +endef + +define LRZSZ_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/src/lrz $(TARGET_DIR)/usr/bin/rz + $(INSTALL) -m 0755 -D $(@D)/src/lsz $(TARGET_DIR)/usr/bin/sz + ln -sf rz $(TARGET_DIR)/usr/bin/lrz + ln -sf sz $(TARGET_DIR)/usr/bin/lsz + ln -sf rz $(TARGET_DIR)/usr/bin/rb + ln -sf sz $(TARGET_DIR)/usr/bin/sb + ln -sf rz $(TARGET_DIR)/usr/bin/rx + ln -sf sz $(TARGET_DIR)/usr/bin/sx +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lshw/0001-Fix-musl-build-basename-is-in-libgen.h.patch b/buildroot-2022.02.1/package/lshw/0001-Fix-musl-build-basename-is-in-libgen.h.patch similarity index 100% rename from buildroot-2021.05/package/lshw/0001-Fix-musl-build-basename-is-in-libgen.h.patch rename to buildroot-2022.02.1/package/lshw/0001-Fix-musl-build-basename-is-in-libgen.h.patch diff --git a/buildroot-2021.05/package/lshw/0002-Fix-musl-build-wrong-usage-of-LONG_BIT.patch b/buildroot-2022.02.1/package/lshw/0002-Fix-musl-build-wrong-usage-of-LONG_BIT.patch similarity index 100% rename from buildroot-2021.05/package/lshw/0002-Fix-musl-build-wrong-usage-of-LONG_BIT.patch rename to buildroot-2022.02.1/package/lshw/0002-Fix-musl-build-wrong-usage-of-LONG_BIT.patch diff --git a/buildroot-2021.05/package/lshw/Config.in b/buildroot-2022.02.1/package/lshw/Config.in similarity index 100% rename from buildroot-2021.05/package/lshw/Config.in rename to buildroot-2022.02.1/package/lshw/Config.in diff --git a/buildroot-2021.05/package/lshw/lshw.hash b/buildroot-2022.02.1/package/lshw/lshw.hash similarity index 100% rename from buildroot-2021.05/package/lshw/lshw.hash rename to buildroot-2022.02.1/package/lshw/lshw.hash diff --git a/buildroot-2021.05/package/lshw/lshw.mk b/buildroot-2022.02.1/package/lshw/lshw.mk similarity index 100% rename from buildroot-2021.05/package/lshw/lshw.mk rename to buildroot-2022.02.1/package/lshw/lshw.mk diff --git a/buildroot-2021.05/package/lsof/0001-makefile.patch b/buildroot-2022.02.1/package/lsof/0001-makefile.patch similarity index 100% rename from buildroot-2021.05/package/lsof/0001-makefile.patch rename to buildroot-2022.02.1/package/lsof/0001-makefile.patch diff --git a/buildroot-2021.05/package/lsof/0002-remove-susvlegacy-funcs.patch b/buildroot-2022.02.1/package/lsof/0002-remove-susvlegacy-funcs.patch similarity index 100% rename from buildroot-2021.05/package/lsof/0002-remove-susvlegacy-funcs.patch rename to buildroot-2022.02.1/package/lsof/0002-remove-susvlegacy-funcs.patch diff --git a/buildroot-2021.05/package/lsof/0003-override-cflags.patch b/buildroot-2022.02.1/package/lsof/0003-override-cflags.patch similarity index 100% rename from buildroot-2021.05/package/lsof/0003-override-cflags.patch rename to buildroot-2022.02.1/package/lsof/0003-override-cflags.patch diff --git a/buildroot-2021.05/package/lsof/Config.in b/buildroot-2022.02.1/package/lsof/Config.in similarity index 100% rename from buildroot-2021.05/package/lsof/Config.in rename to buildroot-2022.02.1/package/lsof/Config.in diff --git a/buildroot-2022.02.1/package/lsof/lsof.hash b/buildroot-2022.02.1/package/lsof/lsof.hash new file mode 100644 index 00000000..9e72023d --- /dev/null +++ b/buildroot-2022.02.1/package/lsof/lsof.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c41709c2543ecf9de1e950795790a9786a2f225e51c3cc53d6a9a256f872472b lsof_4.94.0.linux.tar.bz2 +sha256 32a728188b19bf86917659d904ab29d0a294b4506e1c98b8b7f1c70ab4975fe1 dialects/linux/dproto.h diff --git a/buildroot-2022.02.1/package/lsof/lsof.mk b/buildroot-2022.02.1/package/lsof/lsof.mk new file mode 100644 index 00000000..ff09d643 --- /dev/null +++ b/buildroot-2022.02.1/package/lsof/lsof.mk @@ -0,0 +1,51 @@ +################################################################################ +# +# lsof +# +################################################################################ + +LSOF_VERSION = 4.94.0 +LSOF_SOURCE = lsof_$(LSOF_VERSION).linux.tar.bz2 +LSOF_SITE = https://github.com/lsof-org/lsof/releases/download/$(LSOF_VERSION) +LSOF_LICENSE = lsof license +# License is repeated in each file, this is a relatively small one. +# It is also defined in 00README, but that contains a lot of other cruft. +LSOF_LICENSE_FILES = dialects/linux/dproto.h + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +LSOF_DEPENDENCIES += libtirpc +endif + +ifeq ($(BR2_USE_WCHAR),) +define LSOF_CONFIGURE_WCHAR_FIXUPS + $(SED) 's,^#define[[:space:]]*HASWIDECHAR.*,#undef HASWIDECHAR,' \ + $(@D)/machine.h +endef +endif + +ifeq ($(BR2_ENABLE_LOCALE),) +define LSOF_CONFIGURE_LOCALE_FIXUPS + $(SED) 's,^#define[[:space:]]*HASSETLOCALE.*,#undef HASSETLOCALE,' \ + $(@D)/machine.h +endef +endif + +define LSOF_CONFIGURE_CMDS + (cd $(@D) ; \ + echo n | $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" \ + LSOF_INCLUDE="$(STAGING_DIR)/usr/include" LSOF_CFLAGS_OVERRIDE=1 \ + LINUX_CLIB=-DGLIBCV=2 LSOF_CFGL="$(TARGET_LDFLAGS)" \ + ./Configure linux) + $(LSOF_CONFIGURE_WCHAR_FIXUPS) + $(LSOF_CONFIGURE_LOCALE_FIXUPS) +endef + +define LSOF_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) DEBUG="$(TARGET_CFLAGS)" -C $(@D) +endef + +define LSOF_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/lsof $(TARGET_DIR)/usr/bin/lsof +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/lsqlite3/Config.in b/buildroot-2022.02.1/package/lsqlite3/Config.in similarity index 100% rename from buildroot-2021.05/package/lsqlite3/Config.in rename to buildroot-2022.02.1/package/lsqlite3/Config.in diff --git a/buildroot-2021.05/package/lsqlite3/lsqlite3.hash b/buildroot-2022.02.1/package/lsqlite3/lsqlite3.hash similarity index 100% rename from buildroot-2021.05/package/lsqlite3/lsqlite3.hash rename to buildroot-2022.02.1/package/lsqlite3/lsqlite3.hash diff --git a/buildroot-2021.05/package/lsqlite3/lsqlite3.mk b/buildroot-2022.02.1/package/lsqlite3/lsqlite3.mk similarity index 100% rename from buildroot-2021.05/package/lsqlite3/lsqlite3.mk rename to buildroot-2022.02.1/package/lsqlite3/lsqlite3.mk diff --git a/buildroot-2021.05/package/lsscsi/Config.in b/buildroot-2022.02.1/package/lsscsi/Config.in similarity index 100% rename from buildroot-2021.05/package/lsscsi/Config.in rename to buildroot-2022.02.1/package/lsscsi/Config.in diff --git a/buildroot-2022.02.1/package/lsscsi/lsscsi.hash b/buildroot-2022.02.1/package/lsscsi/lsscsi.hash new file mode 100644 index 00000000..d2df6005 --- /dev/null +++ b/buildroot-2022.02.1/package/lsscsi/lsscsi.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 0a800e9e94dca2ab702d65d72777ae8cae078e3d74d0bcbed64ba0849e8029a1 lsscsi-0.32.tgz +sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING diff --git a/buildroot-2022.02.1/package/lsscsi/lsscsi.mk b/buildroot-2022.02.1/package/lsscsi/lsscsi.mk new file mode 100644 index 00000000..716b6b74 --- /dev/null +++ b/buildroot-2022.02.1/package/lsscsi/lsscsi.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# lsscsi +# +################################################################################ + +LSSCSI_VERSION = 0.32 +LSSCSI_SOURCE = lsscsi-$(LSSCSI_VERSION).tgz +LSSCSI_SITE = http://sg.danny.cz/scsi +LSSCSI_LICENSE = GPL-2.0+ +LSSCSI_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lsuio/Config.in b/buildroot-2022.02.1/package/lsuio/Config.in similarity index 100% rename from buildroot-2021.05/package/lsuio/Config.in rename to buildroot-2022.02.1/package/lsuio/Config.in diff --git a/buildroot-2021.05/package/lsuio/lsuio.hash b/buildroot-2022.02.1/package/lsuio/lsuio.hash similarity index 100% rename from buildroot-2021.05/package/lsuio/lsuio.hash rename to buildroot-2022.02.1/package/lsuio/lsuio.hash diff --git a/buildroot-2021.05/package/lsuio/lsuio.mk b/buildroot-2022.02.1/package/lsuio/lsuio.mk similarity index 100% rename from buildroot-2021.05/package/lsuio/lsuio.mk rename to buildroot-2022.02.1/package/lsuio/lsuio.mk diff --git a/buildroot-2022.02.1/package/ltp-testsuite/0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch b/buildroot-2022.02.1/package/ltp-testsuite/0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch new file mode 100644 index 00000000..2ceba64e --- /dev/null +++ b/buildroot-2022.02.1/package/ltp-testsuite/0001-lapi-Add-sysinfo.h-to-fix-build-with-MUSL-libc.patch @@ -0,0 +1,211 @@ +From f34c6ca3d543968e900d6327d8b5900db63f08ad Mon Sep 17 00:00:00 2001 +From: Petr Vorel +Date: Thu, 1 Oct 2020 23:28:39 +0200 +Subject: [PATCH] lapi: Add sysinfo.h to fix build with MUSL libc +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The reason is to avoid indirect include when using +some network headers: or others -> +-> + +This indirect include causes on MUSL redefinition of struct sysinfo when +included both and some of UAPI headers: + +In file included from x86_64-buildroot-linux-musl/sysroot/usr/include/linux/kernel.h:5, + from x86_64-buildroot-linux-musl/sysroot/usr/include/linux/netlink.h:5, + from ../include/tst_netlink.h:14, + from tst_crypto.c:13: +x86_64-buildroot-linux-musl/sysroot/usr/include/linux/sysinfo.h:8:8: error: redefinition of ‘struct sysinfo’ + struct sysinfo { + ^~~~~~~ +In file included from ../include/tst_safe_macros.h:15, + from ../include/tst_test.h:93, + from tst_crypto.c:11: +x86_64-buildroot-linux-musl/sysroot/usr/include/sys/sysinfo.h:10:8: note: originally defined here + +Signed-off-by: Petr Vorel + +[ upstream status: +https://patchwork.ozlabs.org/project/ltp/patch/20201001231256.6930-1-petr.vorel@gmail.com/, +rebased for 20210927 ] + +But this patch is not going to get upstreamed because it got fixed in Linux kernel: +a85cbe6159ff "uapi: move constants from to " + +This patch was also backported to stable and LTS versions, +which we use since buildroot 54584d233b "{linux, linux-headers}: bump +5.{4, 10}.x 4.{4, 9, 14, 19} series". +We just wait for all musl based toolchains to be rebuilt. ] + +Signed-off-by: Petr Vorel +--- + include/lapi/sysinfo.h | 22 +++++++++++++++++++ + include/tst_safe_macros.h | 2 +- + lib/safe_macros.c | 2 +- + lib/tst_memutils.c | 2 +- + testcases/kernel/mem/mtest01/mtest01.c | 2 +- + testcases/kernel/syscalls/madvise/madvise06.c | 2 +- + testcases/kernel/syscalls/sysinfo/sysinfo01.c | 2 +- + testcases/kernel/syscalls/sysinfo/sysinfo02.c | 2 +- + testcases/kernel/syscalls/sysinfo/sysinfo03.c | 2 +- + .../interfaces/pthread_cond_broadcast/1-2.c | 2 +- + 10 files changed, 31 insertions(+), 9 deletions(-) + create mode 100644 include/lapi/sysinfo.h + +diff --git a/include/lapi/sysinfo.h b/include/lapi/sysinfo.h +new file mode 100644 +index 0000000000..d0e0e93d7f +--- /dev/null ++++ b/include/lapi/sysinfo.h +@@ -0,0 +1,22 @@ ++// SPDX-License-Identifier: GPL-2.0-or-later ++/* ++ * Copyright (c) 2020 Petr Vorel ++ */ ++ ++#ifndef SYSINFO_H__ ++ ++/* ++ * Don't use as it breaks build MUSL toolchain. ++ * Use instead. ++ * ++ * Some kernel UAPI headers do indirect include: ++ * or others -> -> ++ * ++ * This indirect include causes on MUSL redefinition of struct sysinfo when ++ * included both and some of UAPI headers: ++ */ ++#include ++ ++#define SYSINFO_H__ ++ ++#endif /* SYSINFO_H__ */ +diff --git a/include/tst_safe_macros.h b/include/tst_safe_macros.h +index d99441c86f..0d26e9d455 100644 +--- a/include/tst_safe_macros.h ++++ b/include/tst_safe_macros.h +@@ -12,7 +12,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include +diff --git a/lib/safe_macros.c b/lib/safe_macros.c +index a5b6bc5047..87d922a928 100644 +--- a/lib/safe_macros.c ++++ b/lib/safe_macros.c +@@ -11,7 +11,7 @@ + #include + #include + #include +-#include ++#include "lapi/sysinfo.h" + #include + #include + #include +diff --git a/lib/tst_memutils.c b/lib/tst_memutils.c +index 4a49747613..000688f5a3 100644 +--- a/lib/tst_memutils.c ++++ b/lib/tst_memutils.c +@@ -6,7 +6,7 @@ + #include + #include + #include +-#include ++#include "lapi/sysinfo.h" + #include + + #define TST_NO_DEFAULT_MAIN +diff --git a/testcases/kernel/mem/mtest01/mtest01.c b/testcases/kernel/mem/mtest01/mtest01.c +index 20cb95191d..3462dc3f82 100644 +--- a/testcases/kernel/mem/mtest01/mtest01.c ++++ b/testcases/kernel/mem/mtest01/mtest01.c +@@ -20,7 +20,6 @@ + */ + + #include +-#include + #include + #include + #include +@@ -29,6 +28,7 @@ + #include + + #include "lapi/abisize.h" ++#include "lapi/sysinfo.h" + #include "tst_test.h" + + #define FIVE_HUNDRED_MB (500ULL*1024*1024) +diff --git a/testcases/kernel/syscalls/madvise/madvise06.c b/testcases/kernel/syscalls/madvise/madvise06.c +index 263b8e78bf..4fa52e6eae 100644 +--- a/testcases/kernel/syscalls/madvise/madvise06.c ++++ b/testcases/kernel/syscalls/madvise/madvise06.c +@@ -46,7 +46,7 @@ + #include + #include + #include +-#include ++#include "lapi/sysinfo.h" + #include "tst_test.h" + #include "tst_cgroup.h" + +diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo01.c b/testcases/kernel/syscalls/sysinfo/sysinfo01.c +index 2ea44a2beb..a237345ef7 100644 +--- a/testcases/kernel/syscalls/sysinfo/sysinfo01.c ++++ b/testcases/kernel/syscalls/sysinfo/sysinfo01.c +@@ -69,7 +69,7 @@ + #include + #include + #include +-#include ++#include "lapi/sysinfo.h" + + #include "test.h" + +diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo02.c b/testcases/kernel/syscalls/sysinfo/sysinfo02.c +index 7ad0e8bdcf..61fa1ab757 100644 +--- a/testcases/kernel/syscalls/sysinfo/sysinfo02.c ++++ b/testcases/kernel/syscalls/sysinfo/sysinfo02.c +@@ -65,7 +65,7 @@ + #include + #include + #include +-#include ++#include "lapi/sysinfo.h" + #include + + #include "test.h" +diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo03.c b/testcases/kernel/syscalls/sysinfo/sysinfo03.c +index af7cb6421e..dc5ae65e35 100644 +--- a/testcases/kernel/syscalls/sysinfo/sysinfo03.c ++++ b/testcases/kernel/syscalls/sysinfo/sysinfo03.c +@@ -13,7 +13,7 @@ + + */ + +-#include ++#include "lapi/sysinfo.h" + #include "lapi/namespaces_constants.h" + #include "lapi/posix_clocks.h" + #include "tst_test.h" +diff --git a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c +index 22e7c36386..572701f9fd 100644 +--- a/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c ++++ b/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/1-2.c +@@ -43,7 +43,7 @@ + #include + #include + #ifdef __linux__ +-#include ++#include "lapi/sysinfo.h" + #endif + + #include "../testfrmw/testfrmw.h" +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/ltp-testsuite/Config.in b/buildroot-2022.02.1/package/ltp-testsuite/Config.in new file mode 100644 index 00000000..272c2ede --- /dev/null +++ b/buildroot-2022.02.1/package/ltp-testsuite/Config.in @@ -0,0 +1,42 @@ +config BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS + bool + # Needs __sync*() built-ins for 4-byte data, except on a few + # architectures for which a specific implementation is + # provided in ltp-testsuite + default y if BR2_TOOLCHAIN_HAS_SYNC_4 + default y if BR2_arc + # does not build on nios2, cachectl.h issue + depends on !BR2_nios2 + +config BR2_PACKAGE_LTP_TESTSUITE + bool "ltp-testsuite" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS + select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC + help + The Linux Test Project provides a huge testsuite for Linux. + + http://linux-test-project.github.io + +if BR2_PACKAGE_LTP_TESTSUITE + +config BR2_PACKAGE_LTP_TESTSUITE_OPEN_POSIX + bool "Open POSIX testsuite" + default y + help + Test suite for POSIX compliance. Included with the LTP. + +config BR2_PACKAGE_LTP_TESTSUITE_REALTIME + bool "Realtime testsuite" + default y + help + Test suite for realtime kernels. Included with the LTP. + +endif + +comment "ltp-testsuite needs a toolchain w/ NPTL" + depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL diff --git a/buildroot-2022.02.1/package/ltp-testsuite/ltp-testsuite.hash b/buildroot-2022.02.1/package/ltp-testsuite/ltp-testsuite.hash new file mode 100644 index 00000000..53429fd5 --- /dev/null +++ b/buildroot-2022.02.1/package/ltp-testsuite/ltp-testsuite.hash @@ -0,0 +1,5 @@ +# From: https://github.com/linux-test-project/ltp/releases/download/20220121/ltp-full-20220121.tar.xz.sha1 +sha1 211935e901afea1010ec4f70369b782fbee93ed4 ltp-full-20220121.tar.xz +# Locally computed +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 ad002520616fac52362229ea0f1bb9d304fc03ff0096ccb5b1820cee9fc8413a ltp-full-20220121.tar.xz diff --git a/buildroot-2022.02.1/package/ltp-testsuite/ltp-testsuite.mk b/buildroot-2022.02.1/package/ltp-testsuite/ltp-testsuite.mk new file mode 100644 index 00000000..d9b7133b --- /dev/null +++ b/buildroot-2022.02.1/package/ltp-testsuite/ltp-testsuite.mk @@ -0,0 +1,102 @@ +################################################################################ +# +# ltp-testsuite +# +################################################################################ + +LTP_TESTSUITE_VERSION = 20220121 +LTP_TESTSUITE_SOURCE = ltp-full-$(LTP_TESTSUITE_VERSION).tar.xz +LTP_TESTSUITE_SITE = https://github.com/linux-test-project/ltp/releases/download/$(LTP_TESTSUITE_VERSION) + +LTP_TESTSUITE_LICENSE = GPL-2.0, GPL-2.0+ +LTP_TESTSUITE_LICENSE_FILES = COPYING + +LTP_TESTSUITE_CONF_OPTS += --disable-metadata + +ifeq ($(BR2_PACKAGE_LTP_TESTSUITE_OPEN_POSIX),y) +LTP_TESTSUITE_CONF_OPTS += --with-open-posix-testsuite +endif + +ifeq ($(BR2_PACKAGE_LTP_TESTSUITE_REALTIME),y) +LTP_TESTSUITE_CONF_OPTS += --with-realtime-testsuite +endif + +ifeq ($(BR2_LINUX_KERNEL),y) +LTP_TESTSUITE_DEPENDENCIES += linux +LTP_TESTSUITE_MAKE_ENV += $(LINUX_MAKE_FLAGS) +LTP_TESTSUITE_CONF_OPTS += --with-linux-dir=$(LINUX_DIR) +else +LTP_TESTSUITE_CONF_OPTS += --without-modules +endif + +# We change the prefix to a custom one, otherwise we get scripts and +# directories directly in /usr, such as /usr/runalltests.sh +LTP_TESTSUITE_CONF_OPTS += --prefix=/usr/lib/ltp-testsuite + +# Needs libcap with file attrs which needs attr, so both required +ifeq ($(BR2_PACKAGE_LIBCAP)$(BR2_PACKAGE_ATTR),yy) +LTP_TESTSUITE_DEPENDENCIES += libcap +else +LTP_TESTSUITE_CONF_ENV += ac_cv_lib_cap_cap_compare=no +endif + +# No explicit enable/disable options +ifeq ($(BR2_PACKAGE_NUMACTL),y) +LTP_TESTSUITE_DEPENDENCIES += numactl +else +LTP_TESTSUITE_CONF_ENV += have_numa_headers=no +endif + +# ltp-testsuite uses , which isn't compatible with largefile +# support. +LTP_TESTSUITE_CFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS)) +LTP_TESTSUITE_CPPFLAGS = $(filter-out -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS)) +LTP_TESTSUITE_LIBS = + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +LTP_TESTSUITE_DEPENDENCIES += libtirpc host-pkgconf +LTP_TESTSUITE_CFLAGS += "`$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" +LTP_TESTSUITE_LIBS += "`$(PKG_CONFIG_HOST_BINARY) --libs libtirpc`" +endif + +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) +LTP_TESTSUITE_DEPENDENCIES += musl-fts +LTP_TESTSUITE_LIBS += -lfts +endif + +LTP_TESTSUITE_CONF_ENV += \ + CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \ + CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \ + LIBS="$(LTP_TESTSUITE_LIBS)" \ + SYSROOT="$(STAGING_DIR)" + +LTP_TESTSUITE_MAKE_ENV += \ + HOST_CFLAGS="$(HOST_CFLAGS)" \ + HOST_LDFLAGS="$(HOST_LDFLAGS)" + +# uclibc: bessel support normally not enabled +LTP_TESTSUITE_UNSUPPORTED_TEST_CASES_$(BR2_TOOLCHAIN_USES_UCLIBC) += \ + testcases/misc/math/float/bessel/ \ + testcases/misc/math/float/float_bessel.c + +LTP_TESTSUITE_UNSUPPORTED_TEST_CASES_$(BR2_TOOLCHAIN_USES_MUSL) += \ + testcases/kernel/syscalls/confstr/confstr01.c \ + testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \ + testcases/kernel/syscalls/getcontext/getcontext01.c \ + testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \ + testcases/kernel/syscalls/timer_create/timer_create01.c \ + testcases/kernel/syscalls/timer_create/timer_create03.c + +# ldd command build system tries to build a shared library unconditionally. +LTP_TESTSUITE_UNSUPPORTED_TEST_CASES_$(BR2_STATIC_LIBS) += \ + testcases/commands/ldd + +define LTP_TESTSUITE_REMOVE_UNSUPPORTED_TESTCASES + $(foreach f,$(LTP_TESTSUITE_UNSUPPORTED_TEST_CASES_y), + rm -rf $(@D)/$(f) + ) +endef + +LTP_TESTSUITE_POST_PATCH_HOOKS += LTP_TESTSUITE_REMOVE_UNSUPPORTED_TESTCASES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ltrace/0001-arm-plt.patch b/buildroot-2022.02.1/package/ltrace/0001-arm-plt.patch similarity index 100% rename from buildroot-2021.05/package/ltrace/0001-arm-plt.patch rename to buildroot-2022.02.1/package/ltrace/0001-arm-plt.patch diff --git a/buildroot-2021.05/package/ltrace/0002-sparc-add-missing-library.h-include.patch b/buildroot-2022.02.1/package/ltrace/0002-sparc-add-missing-library.h-include.patch similarity index 100% rename from buildroot-2021.05/package/ltrace/0002-sparc-add-missing-library.h-include.patch rename to buildroot-2022.02.1/package/ltrace/0002-sparc-add-missing-library.h-include.patch diff --git a/buildroot-2022.02.1/package/ltrace/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch b/buildroot-2022.02.1/package/ltrace/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch new file mode 100644 index 00000000..efe993ec --- /dev/null +++ b/buildroot-2022.02.1/package/ltrace/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch @@ -0,0 +1,35 @@ +From b8d5d086489ff20339e221323a60c140a9820e67 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 9 Oct 2021 09:39:52 +0200 +Subject: [PATCH] configure.ac: fix autoreconf with autoconf >= 2.70 + +Drop AC_CONFIG_AUX_DIR to avoid the following build failure with +autoconf >= 2.70: + +autoreconf: error: cannot create config/autoconf: No such file or directory + +Fixes: + - http://autobuild.buildroot.org/results/433599039d6e1ee301465f9867e169c121a0646f + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent as upstream is unmaintained: +https://gitlab.com/cespedes/ltrace/-/issues/8] +--- + configure.ac | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index b9c39fa..486589b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -28,7 +28,6 @@ AC_INIT([ltrace],[0.7.91],[ltrace-devel@lists.alioth.debian.org], + AC_CONFIG_HEADERS([config.h]) + AC_CONFIG_SRCDIR(libltrace.c) + AC_CONFIG_MACRO_DIR([config/m4]) +-AC_CONFIG_AUX_DIR([config/autoconf]) + AC_CANONICAL_BUILD + AC_CANONICAL_HOST + +-- +2.33.0 + diff --git a/buildroot-2021.05/package/ltrace/Config.in b/buildroot-2022.02.1/package/ltrace/Config.in similarity index 100% rename from buildroot-2021.05/package/ltrace/Config.in rename to buildroot-2022.02.1/package/ltrace/Config.in diff --git a/buildroot-2021.05/package/ltrace/ltrace.hash b/buildroot-2022.02.1/package/ltrace/ltrace.hash similarity index 100% rename from buildroot-2021.05/package/ltrace/ltrace.hash rename to buildroot-2022.02.1/package/ltrace/ltrace.hash diff --git a/buildroot-2021.05/package/ltrace/ltrace.mk b/buildroot-2022.02.1/package/ltrace/ltrace.mk similarity index 100% rename from buildroot-2021.05/package/ltrace/ltrace.mk rename to buildroot-2022.02.1/package/ltrace/ltrace.mk diff --git a/buildroot-2021.05/package/ltris/0001-fix-build-with-gcc-4.8.patch b/buildroot-2022.02.1/package/ltris/0001-fix-build-with-gcc-4.8.patch similarity index 100% rename from buildroot-2021.05/package/ltris/0001-fix-build-with-gcc-4.8.patch rename to buildroot-2022.02.1/package/ltris/0001-fix-build-with-gcc-4.8.patch diff --git a/buildroot-2021.05/package/ltris/Config.in b/buildroot-2022.02.1/package/ltris/Config.in similarity index 100% rename from buildroot-2021.05/package/ltris/Config.in rename to buildroot-2022.02.1/package/ltris/Config.in diff --git a/buildroot-2021.05/package/ltris/ltris.hash b/buildroot-2022.02.1/package/ltris/ltris.hash similarity index 100% rename from buildroot-2021.05/package/ltris/ltris.hash rename to buildroot-2022.02.1/package/ltris/ltris.hash diff --git a/buildroot-2021.05/package/ltris/ltris.mk b/buildroot-2022.02.1/package/ltris/ltris.mk similarity index 100% rename from buildroot-2021.05/package/ltris/ltris.mk rename to buildroot-2022.02.1/package/ltris/ltris.mk diff --git a/buildroot-2021.05/package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch b/buildroot-2022.02.1/package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch similarity index 100% rename from buildroot-2021.05/package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch rename to buildroot-2022.02.1/package/lttng-babeltrace/0001-tests-lib-Makefile.am-remove-unneeded-static-flag.patch diff --git a/buildroot-2021.05/package/lttng-babeltrace/Config.in b/buildroot-2022.02.1/package/lttng-babeltrace/Config.in similarity index 100% rename from buildroot-2021.05/package/lttng-babeltrace/Config.in rename to buildroot-2022.02.1/package/lttng-babeltrace/Config.in diff --git a/buildroot-2021.05/package/lttng-babeltrace/Config.in.host b/buildroot-2022.02.1/package/lttng-babeltrace/Config.in.host similarity index 100% rename from buildroot-2021.05/package/lttng-babeltrace/Config.in.host rename to buildroot-2022.02.1/package/lttng-babeltrace/Config.in.host diff --git a/buildroot-2021.05/package/lttng-babeltrace/lttng-babeltrace.hash b/buildroot-2022.02.1/package/lttng-babeltrace/lttng-babeltrace.hash similarity index 100% rename from buildroot-2021.05/package/lttng-babeltrace/lttng-babeltrace.hash rename to buildroot-2022.02.1/package/lttng-babeltrace/lttng-babeltrace.hash diff --git a/buildroot-2021.05/package/lttng-babeltrace/lttng-babeltrace.mk b/buildroot-2022.02.1/package/lttng-babeltrace/lttng-babeltrace.mk similarity index 100% rename from buildroot-2021.05/package/lttng-babeltrace/lttng-babeltrace.mk rename to buildroot-2022.02.1/package/lttng-babeltrace/lttng-babeltrace.mk diff --git a/buildroot-2022.02.1/package/lttng-libust/0001-configure.ac-add-disable-tests.patch b/buildroot-2022.02.1/package/lttng-libust/0001-configure.ac-add-disable-tests.patch new file mode 100644 index 00000000..bb962000 --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-libust/0001-configure.ac-add-disable-tests.patch @@ -0,0 +1,59 @@ +From a1f8509283ad29b5144bda6f6dba9f5eb7165adc Mon Sep 17 00:00:00 2001 +From: Norbert Lange +Date: Thu, 23 Dec 2021 21:56:46 +0100 +Subject: [PATCH] configure.ac: add --disable-tests + +Add configure option to disable tests. +Upstream is not likely to accept it, see lttng-tools package. + +Signed-off-by: Norbert Lange +--- + Makefile.am | 5 ++++- + configure.ac | 6 ++++++ + 2 files changed, 10 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 9ab93ccd..8a1c1dca 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -7,9 +7,12 @@ SUBDIRS = \ + src \ + tools \ + doc \ +- tests \ + extras + ++if ENABLE_TESTS ++SUBDIRS += tests ++endif ++ + dist_doc_DATA = \ + ChangeLog \ + LICENSE \ +diff --git a/configure.ac b/configure.ac +index b6254228..fe5f2700 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -360,6 +360,11 @@ AE_FEATURE([python-agent],[build the LTTng UST Python agent]) + AE_FEATURE_DEFAULT_ENABLE + AE_FEATURE([examples],[Do not build and install examples]) + ++# Build the tests ++# Enabled by default ++AE_FEATURE_DEFAULT_ENABLE ++AE_FEATURE([tests],[Do not build tests]) ++ + # Man pages + # Enabled by default + AE_FEATURE_DEFAULT_ENABLE +@@ -525,6 +530,7 @@ AC_DEFINE([LTTNG_UST_CTL_LIB_SONAME_MAJOR], [ust_ctl_lib_version_current], [Majo + ## ## + + AM_CONDITIONAL([ENABLE_EXAMPLES], AE_IS_FEATURE_ENABLED([examples])) ++AM_CONDITIONAL([ENABLE_TESTS], AE_IS_FEATURE_ENABLED([tests])) + AM_CONDITIONAL([ENABLE_GEN_TP_EXAMPLES], [test "x$PYTHON" != "x"]) + AM_CONDITIONAL([ENABLE_JAVA_AGENT], AE_IS_FEATURE_ENABLED([java-agent-jul]) || AE_IS_FEATURE_ENABLED([java-agent-log4j])) + AM_CONDITIONAL([ENABLE_JAVA_AGENT_WITH_JUL], AE_IS_FEATURE_ENABLED([java-agent-jul])) +-- +2.34.1 + diff --git a/buildroot-2021.05/package/lttng-libust/Config.in b/buildroot-2022.02.1/package/lttng-libust/Config.in similarity index 100% rename from buildroot-2021.05/package/lttng-libust/Config.in rename to buildroot-2022.02.1/package/lttng-libust/Config.in diff --git a/buildroot-2022.02.1/package/lttng-libust/lttng-libust.hash b/buildroot-2022.02.1/package/lttng-libust/lttng-libust.hash new file mode 100644 index 00000000..42f2b372 --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-libust/lttng-libust.hash @@ -0,0 +1,9 @@ +# From https://lttng.org/files/lttng-ust/lttng-ust-2.13.2.tar.bz2.sha256 +sha256 5667bf0269e1e62e2d9cb974c456ff86e0401bd7aa3bfc8d5fdb97233249eddc lttng-ust-2.13.1.tar.bz2 + +# Hash for license files +sha256 5b52242fd2045d62dd664c8358137b46c1e08efdba674c91cbfc06585efe1ce7 LICENSE +sha256 f206ce02ddf94d03120b58381064702729a0e6cbb03cafc84dc0e434ce5689fa LICENSES/BSD-3-Clause +sha256 6841c85b94f9dab319356e3aaf9e969fcedad51d3aaadf665bf86f34f4186b62 LICENSES/GPL-2.0 +sha256 d72921266bc8452a8789f8a04a82755373990d00b7e0b0f1a8edb8f854e94d1c LICENSES/LGPL-2.1 +sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/MIT diff --git a/buildroot-2022.02.1/package/lttng-libust/lttng-libust.mk b/buildroot-2022.02.1/package/lttng-libust/lttng-libust.mk new file mode 100644 index 00000000..7ead2805 --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-libust/lttng-libust.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# lttng-libust +# +################################################################################ + +LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust +LTTNG_LIBUST_VERSION = 2.13.1 +LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2 +LTTNG_LIBUST_LICENSE = LGPL-2.1, MIT (system headers), GPL-2.0 (liblttng-ust-ctl/ustctl.c used by lttng-sessiond), BSD-3-Clause (snprintf) +LTTNG_LIBUST_LICENSE_FILES = LICENSE LICENSES/BSD-3-Clause LICENSES/GPL-2.0 LICENSES/LGPL-2.1 LICENSES/MIT +LTTNG_LIBUST_INSTALL_STAGING = YES +LTTNG_LIBUST_DEPENDENCIES = liburcu util-linux +LTTNG_LIBUST_CONF_OPTS = \ + --disable-man-pages \ + --disable-examples \ + --disable-tests \ + --with-lttng-system-rundir=/run/lttng +LTTNG_LIBUST_AUTORECONF = YES +# https://www.mail-archive.com/lttng-dev@lists.lttng.org/msg12950.html +LTTNG_LIBUST_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -DUATOMIC_NO_LINK_ERROR" + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LTTNG_LIBUST_DEPENDENCIES += python3 +LTTNG_LIBUST_CONF_OPTS += --enable-python-agent +else +LTTNG_LIBUST_CONF_ENV += am_cv_pathless_PYTHON="none" +LTTNG_LIBUST_CONF_OPTS += --disable-python-agent +endif + +ifeq ($(BR2_PACKAGE_NUMACTL),y) +LTTNG_LIBUST_DEPENDENCIES += numactl +LTTNG_LIBUST_CONF_OPTS += --enable-numa +else +LTTNG_LIBUST_CONF_OPTS += --disable-numa +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/lttng-modules/Config.in b/buildroot-2022.02.1/package/lttng-modules/Config.in new file mode 100644 index 00000000..cb565841 --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-modules/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_LTTNG_MODULES + bool "lttng-modules" + depends on BR2_LINUX_KERNEL + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + help + Linux kernel modules for the LTTng 2.x kernel tracing + infrastructure. + + Make sure your target kernel has the following config + options enabled: + + * CONFIG_MODULES: loadable module support (not strictly + required when built into the kernel) + * CONFIG_KALLSYMS: this is necessary until the few + required missing symbols are exported to GPL + modules from mainline + * CONFIG_HIGH_RES_TIMERS: needed for LTTng 2.x + clock source + * CONFIG_TRACEPOINTS: kernel tracepoint instrumentation + (enabled as a side-effect of any of the + perf/ftrace/blktrace instrumentation features) + * CONFIG_KPROBES (5.7+): use kallsyms for kernel 5.7 and + newer. + + The following kernel configuration options will + affect the features available from LTTng: + + * CONFIG_HAVE_SYSCALL_TRACEPOINTS: system call tracing + * CONFIG_PERF_EVENTS: performance counters + * CONFIG_EVENT_TRACING: needed to allow block layer tracing + * CONFIG_KPROBES: dynamic probes + * CONFIG_KRETPROBES: dynamic function entry/return probes + * CONFIG_KALLSYMS_ALL: state dump of mapping between block + device number and name + + http://lttng.org + +comment "lttng-modules needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +comment "lttng-modules needs a toolchain w/ headers >= 3.0" + depends on BR2_LINUX_KERNEL + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 diff --git a/buildroot-2022.02.1/package/lttng-modules/lttng-modules.hash b/buildroot-2022.02.1/package/lttng-modules/lttng-modules.hash new file mode 100644 index 00000000..fb253c9b --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-modules/lttng-modules.hash @@ -0,0 +1,8 @@ +# From https://lttng.org/files/lttng-modules/lttng-modules-2.13.1.tar.bz2.sha256 +sha256 a7c86d91c9bbe66d27f025aa04b8cfc6d7785ed2fc7ef774930800ee44d7f343 lttng-modules-2.13.1.tar.bz2 + +# Hash for license files +sha256 d72921266bc8452a8789f8a04a82755373990d00b7e0b0f1a8edb8f854e94d1c LICENSES/LGPL-2.1 +sha256 6841c85b94f9dab319356e3aaf9e969fcedad51d3aaadf665bf86f34f4186b62 LICENSES/GPL-2.0 +sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/MIT +sha256 0133d3c505f176845d7a8b4dcfe006ac615832c43c41e76fe3b365191bafca92 LICENSE diff --git a/buildroot-2022.02.1/package/lttng-modules/lttng-modules.mk b/buildroot-2022.02.1/package/lttng-modules/lttng-modules.mk new file mode 100644 index 00000000..4c1c50d0 --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-modules/lttng-modules.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# lttng-modules +# +################################################################################ + +LTTNG_MODULES_VERSION = 2.13.1 +LTTNG_MODULES_SITE = http://lttng.org/files/lttng-modules +LTTNG_MODULES_SOURCE = lttng-modules-$(LTTNG_MODULES_VERSION).tar.bz2 +LTTNG_MODULES_LICENSE = LGPL-2.1/GPL-2.0 (kernel modules), MIT (lib/bitfield.h, lib/prio_heap/*) +LTTNG_MODULES_LICENSE_FILES = \ + LICENSES/LGPL-2.1 LICENSES/GPL-2.0 LICENSES/MIT LICENSE +LTTNG_MODULES_MODULE_MAKE_OPTS = CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/lttng-tools/0001-configure.ac-add-disable-tests.patch b/buildroot-2022.02.1/package/lttng-tools/0001-configure.ac-add-disable-tests.patch new file mode 100644 index 00000000..4bc9239c --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-tools/0001-configure.ac-add-disable-tests.patch @@ -0,0 +1,37 @@ +From 8c3a5d0921090e2fc3c4e2561509d23eb9ffa6dd Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 2 Apr 2021 21:07:07 +0200 +Subject: [PATCH] configure.ac: add --disable-tests + +Allow the user to explicitly disable tests + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/lttng/lttng-tools/pull/162] +--- + configure.ac | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 04f9cef4..372cdf3d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -862,6 +862,8 @@ AC_ARG_ENABLE([bin-lttng-sessiond], AS_HELP_STRING([--disable-bin-lttng-sessiond + [Disable the build of lttng-sessiond binaries])) + AC_ARG_ENABLE([extras], AS_HELP_STRING([--disable-extras], + [Disable the build of the extra components])) ++AC_ARG_ENABLE([tests], AS_HELP_STRING([--disable-tests], ++ [Disable the build of the test components])) + + + build_lib_consumer=no +@@ -1013,6 +1015,7 @@ AM_CONDITIONAL([BUILD_BIN_LTTNG_SESSIOND], [test x$enable_bin_lttng_sessiond != + + # Export the tests and extras build conditions. + AS_IF([\ ++test "x$enable_tests" != "xno" && \ + test "x$enable_bin_lttng" != "xno" && \ + test "x$enable_bin_lttng_consumerd" != "xno" && \ + test "x$enable_bin_lttng_crash" != "xno" && \ +-- +2.30.2 + diff --git a/buildroot-2021.05/package/lttng-tools/Config.in b/buildroot-2022.02.1/package/lttng-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/lttng-tools/Config.in rename to buildroot-2022.02.1/package/lttng-tools/Config.in diff --git a/buildroot-2022.02.1/package/lttng-tools/lttng-tools.hash b/buildroot-2022.02.1/package/lttng-tools/lttng-tools.hash new file mode 100644 index 00000000..5b5f55da --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-tools/lttng-tools.hash @@ -0,0 +1,10 @@ +# From https://lttng.org/files/lttng-tools/lttng-tools-2.13.2.tar.bz2.sha256 +sha256 ced2ba00020da77fd17ac92b5a53825502409a07e3aeca28f9515d4a844fd7bd lttng-tools-2.13.2.tar.bz2 + +# Locally computed +sha256 068e55c7dbe597400199aee75ac5e71bdb2ca88c4c9a4cfa8e1fbc61f933eda5 LICENSE +sha256 6313108c23efffa36948f8b2cff1560a5935373b527b0e1a837cc77e6ed1bacd LICENSES/BSD-2-Clause +sha256 7a83b1aeb460458db9a4bd521d7f237c45b1650f6e60ea5ffc71e49472454de3 LICENSES/BSD-3-Clause +sha256 6841c85b94f9dab319356e3aaf9e969fcedad51d3aaadf665bf86f34f4186b62 LICENSES/GPL-2.0 +sha256 d72921266bc8452a8789f8a04a82755373990d00b7e0b0f1a8edb8f854e94d1c LICENSES/LGPL-2.1 +sha256 323c587d0ccf10e376f8bf9a7f31fb4ca6078105194b42e0b1e0ee2bc9bde71f LICENSES/MIT diff --git a/buildroot-2022.02.1/package/lttng-tools/lttng-tools.mk b/buildroot-2022.02.1/package/lttng-tools/lttng-tools.mk new file mode 100644 index 00000000..efa22a52 --- /dev/null +++ b/buildroot-2022.02.1/package/lttng-tools/lttng-tools.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# lttng-tools +# +################################################################################ + +LTTNG_TOOLS_VERSION = 2.13.2 +LTTNG_TOOLS_SITE = https://lttng.org/files/lttng-tools +LTTNG_TOOLS_SOURCE = lttng-tools-$(LTTNG_TOOLS_VERSION).tar.bz2 +LTTNG_TOOLS_INSTALL_STAGING = YES +LTTNG_TOOLS_LICENSE = GPL-2.0, LGPL-2.1 (include/lttng/*, src/lib/lttng-ctl/*) +LTTNG_TOOLS_LICENSE_FILES = LICENSE $(addprefix LICENSES/,BSD-2-Clause BSD-3-Clause GPL-2.0 LGPL-2.1 MIT) +LTTNG_TOOLS_DEPENDENCIES = liburcu libxml2 popt util-linux +# We're patching configure.ac +LTTNG_TOOLS_AUTORECONF = YES +LTTNG_TOOLS_CONF_OPTS = \ + --disable-man-pages \ + --disable-tests \ + --with-lttng-system-rundir=/run/lttng + +ifeq ($(BR2_PACKAGE_LTTNG_LIBUST),y) +LTTNG_TOOLS_CONF_OPTS += --with-lttng-ust +LTTNG_TOOLS_DEPENDENCIES += lttng-libust +else +LTTNG_TOOLS_CONF_OPTS += --without-lttng-ust +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/lua-argon2/Config.in b/buildroot-2022.02.1/package/lua-argon2/Config.in new file mode 100644 index 00000000..98bdd881 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-argon2/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_LUA_ARGON2 + bool "lua-argon2" + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # libargon2 + select BR2_PACKAGE_LIBARGON2 + help + Lua C binding for the Argon2 password hashing algorithm. + + https://github.com/thibaultcha/lua-argon2 + +comment "lua-argon2 needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/lua-argon2/lua-argon2.hash b/buildroot-2022.02.1/package/lua-argon2/lua-argon2.hash new file mode 100644 index 00000000..cb3404d3 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-argon2/lua-argon2.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 d109c6e8e93cd9e27e8738567a998a2763d56252cc1abca1f0f2ac36ef8ce0f4 lua-argon2-3.0.1.tar.gz diff --git a/buildroot-2022.02.1/package/lua-argon2/lua-argon2.mk b/buildroot-2022.02.1/package/lua-argon2/lua-argon2.mk new file mode 100644 index 00000000..6f787a90 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-argon2/lua-argon2.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# lua-argon2 +# +################################################################################ + +LUA_ARGON2_VERSION = 3.0.1 +LUA_ARGON2_SITE = $(call github,thibaultcha,lua-argon2,$(LUA_ARGON2_VERSION)) +LUA_ARGON2_LICENSE = MIT +LUA_ARGON2_DEPENDENCIES = luainterpreter libargon2 + +define LUA_ARGON2_BUILD_CMDS + $(MAKE) -C $(@D) \ + CC=$(TARGET_CC) \ + CFLAGS="$(TARGET_CFLAGS) -fPIC" \ + PREFIX="$(STAGING_DIR)/usr" +endef + +define LUA_ARGON2_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -D $(@D)/argon2.so $(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)/argon2.so +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/lua-augeas/Config.in b/buildroot-2022.02.1/package/lua-augeas/Config.in new file mode 100644 index 00000000..6470033e --- /dev/null +++ b/buildroot-2022.02.1/package/lua-augeas/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_LUA_AUGEAS + bool "lua-augeas" + depends on !BR2_arc # augeas + depends on BR2_USE_WCHAR # augeas + select BR2_PACKAGE_AUGEAS + help + Lua binding for augeas library + + https://github.com/ncopa/lua-augeas + +comment "lua-augeas needs a toolchain w/ wchar" + depends on !BR2_arc + depends on !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/lua-augeas/lua-augeas.hash b/buildroot-2022.02.1/package/lua-augeas/lua-augeas.hash new file mode 100644 index 00000000..07a6a676 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-augeas/lua-augeas.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 694fe887eebac27b558c9695042405f70a86382e92916094e7ba5f411673fbc1 lua-augeas-a6eace5116d1a711218a7c9086a4e3c4db88ee57.tar.gz +sha256 1f5c5ee5da981332b7f73cc5a59af660b03104279e2aa21b6b86890430c3eff0 COPYRIGHT diff --git a/buildroot-2022.02.1/package/lua-augeas/lua-augeas.mk b/buildroot-2022.02.1/package/lua-augeas/lua-augeas.mk new file mode 100644 index 00000000..930cf49b --- /dev/null +++ b/buildroot-2022.02.1/package/lua-augeas/lua-augeas.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# lua-augeas +# +################################################################################ + +LUA_AUGEAS_VERSION = a6eace5116d1a711218a7c9086a4e3c4db88ee57 +LUA_AUGEAS_SITE = $(call github,ncopa,lua-augeas,$(LUA_AUGEAS_VERSION)) +LUA_AUGEAS_LICENSE = MIT +LUA_AUGEAS_LICENSE_FILES = COPYRIGHT +LUA_AUGEAS_DEPENDENCIES = luainterpreter augeas host-pkgconf + +# LDFLAGS=$(LDFLAGS) is present to pass LDFLAGS from environment to the command +# line. With LDFLAGS set in the command line, related ordinary asignment present +# in the makefile are ignored and so lua-augeas makefile cannot not add '-L/lib' +# to this value. +LUA_AUGEAS_CONF_OPTS= \ + PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" \ + LDFLAGS="$(LDFLAGS)" \ + LUA_VERSION="$(LUAINTERPRETER_ABIVER)" \ + INSTALL_CMOD="/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" + +define LUA_AUGEAS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(LUA_AUGEAS_CONF_OPTS) all +endef + +define LUA_AUGEAS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(LUA_AUGEAS_CONF_OPTS) DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/lua-basexx/Config.in b/buildroot-2022.02.1/package/lua-basexx/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-basexx/Config.in rename to buildroot-2022.02.1/package/lua-basexx/Config.in diff --git a/buildroot-2021.05/package/lua-basexx/lua-basexx.hash b/buildroot-2022.02.1/package/lua-basexx/lua-basexx.hash similarity index 100% rename from buildroot-2021.05/package/lua-basexx/lua-basexx.hash rename to buildroot-2022.02.1/package/lua-basexx/lua-basexx.hash diff --git a/buildroot-2021.05/package/lua-basexx/lua-basexx.mk b/buildroot-2022.02.1/package/lua-basexx/lua-basexx.mk similarity index 100% rename from buildroot-2021.05/package/lua-basexx/lua-basexx.mk rename to buildroot-2022.02.1/package/lua-basexx/lua-basexx.mk diff --git a/buildroot-2021.05/package/lua-binaryheap/Config.in b/buildroot-2022.02.1/package/lua-binaryheap/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-binaryheap/Config.in rename to buildroot-2022.02.1/package/lua-binaryheap/Config.in diff --git a/buildroot-2021.05/package/lua-binaryheap/lua-binaryheap.hash b/buildroot-2022.02.1/package/lua-binaryheap/lua-binaryheap.hash similarity index 100% rename from buildroot-2021.05/package/lua-binaryheap/lua-binaryheap.hash rename to buildroot-2022.02.1/package/lua-binaryheap/lua-binaryheap.hash diff --git a/buildroot-2021.05/package/lua-binaryheap/lua-binaryheap.mk b/buildroot-2022.02.1/package/lua-binaryheap/lua-binaryheap.mk similarity index 100% rename from buildroot-2021.05/package/lua-binaryheap/lua-binaryheap.mk rename to buildroot-2022.02.1/package/lua-binaryheap/lua-binaryheap.mk diff --git a/buildroot-2021.05/package/lua-bit32/Config.in b/buildroot-2022.02.1/package/lua-bit32/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-bit32/Config.in rename to buildroot-2022.02.1/package/lua-bit32/Config.in diff --git a/buildroot-2021.05/package/lua-bit32/lua-bit32.hash b/buildroot-2022.02.1/package/lua-bit32/lua-bit32.hash similarity index 100% rename from buildroot-2021.05/package/lua-bit32/lua-bit32.hash rename to buildroot-2022.02.1/package/lua-bit32/lua-bit32.hash diff --git a/buildroot-2021.05/package/lua-bit32/lua-bit32.mk b/buildroot-2022.02.1/package/lua-bit32/lua-bit32.mk similarity index 100% rename from buildroot-2021.05/package/lua-bit32/lua-bit32.mk rename to buildroot-2022.02.1/package/lua-bit32/lua-bit32.mk diff --git a/buildroot-2022.02.1/package/lua-cffi/Config.in b/buildroot-2022.02.1/package/lua-cffi/Config.in new file mode 100644 index 00000000..f4a760ce --- /dev/null +++ b/buildroot-2022.02.1/package/lua-cffi/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_LUA_CFFI + bool "lua-cffi" + depends on !BR2_PACKAGE_LUAJIT + depends on BR2_TOOLCHAIN_HAS_THREADS # libffi + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBFFI + help + This is a portable C FFI for Lua, based on libffi and aiming + to be mostly compatible with LuaJIT FFI, but written from + scratch. + + https://github.com/q66/cffi-lua + +comment "lua-cffi needs a toolchain w/ C++, gcc >= 4.8, threads" + depends on !BR2_PACKAGE_LUAJIT + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ + !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/lua-cffi/lua-cffi.hash b/buildroot-2022.02.1/package/lua-cffi/lua-cffi.hash new file mode 100644 index 00000000..a532c6c7 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-cffi/lua-cffi.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 c30080d6309167f86d1a96d3ee33f33ef52e884052b7feac140b8c52db10ad7a lua-cffi-0.2.1.tar.gz +sha256 f5653a4d5864a3920ea1e07dacfd646067314be647598f0acaaf685beaa2e396 COPYING.md diff --git a/buildroot-2022.02.1/package/lua-cffi/lua-cffi.mk b/buildroot-2022.02.1/package/lua-cffi/lua-cffi.mk new file mode 100644 index 00000000..964f49f0 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-cffi/lua-cffi.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# lua-cffi +# +################################################################################ + +LUA_CFFI_VERSION = 0.2.1 +LUA_CFFI_SITE = $(call github,q66,cffi-lua,v$(LUA_CFFI_VERSION)) +LUA_CFFI_LICENSE = MIT +LUA_CFFI_LICENSE_FILES = COPYING.md + +LUA_CFFI_DEPENDENCIES = libffi lua + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/lua-cjson/Config.in b/buildroot-2022.02.1/package/lua-cjson/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-cjson/Config.in rename to buildroot-2022.02.1/package/lua-cjson/Config.in diff --git a/buildroot-2021.05/package/lua-cjson/lua-cjson.hash b/buildroot-2022.02.1/package/lua-cjson/lua-cjson.hash similarity index 100% rename from buildroot-2021.05/package/lua-cjson/lua-cjson.hash rename to buildroot-2022.02.1/package/lua-cjson/lua-cjson.hash diff --git a/buildroot-2021.05/package/lua-cjson/lua-cjson.mk b/buildroot-2022.02.1/package/lua-cjson/lua-cjson.mk similarity index 100% rename from buildroot-2021.05/package/lua-cjson/lua-cjson.mk rename to buildroot-2022.02.1/package/lua-cjson/lua-cjson.mk diff --git a/buildroot-2021.05/package/lua-coat/Config.in b/buildroot-2022.02.1/package/lua-coat/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-coat/Config.in rename to buildroot-2022.02.1/package/lua-coat/Config.in diff --git a/buildroot-2021.05/package/lua-coat/lua-coat.hash b/buildroot-2022.02.1/package/lua-coat/lua-coat.hash similarity index 100% rename from buildroot-2021.05/package/lua-coat/lua-coat.hash rename to buildroot-2022.02.1/package/lua-coat/lua-coat.hash diff --git a/buildroot-2021.05/package/lua-coat/lua-coat.mk b/buildroot-2022.02.1/package/lua-coat/lua-coat.mk similarity index 100% rename from buildroot-2021.05/package/lua-coat/lua-coat.mk rename to buildroot-2022.02.1/package/lua-coat/lua-coat.mk diff --git a/buildroot-2021.05/package/lua-coatpersistent/Config.in b/buildroot-2022.02.1/package/lua-coatpersistent/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-coatpersistent/Config.in rename to buildroot-2022.02.1/package/lua-coatpersistent/Config.in diff --git a/buildroot-2021.05/package/lua-coatpersistent/lua-coatpersistent.hash b/buildroot-2022.02.1/package/lua-coatpersistent/lua-coatpersistent.hash similarity index 100% rename from buildroot-2021.05/package/lua-coatpersistent/lua-coatpersistent.hash rename to buildroot-2022.02.1/package/lua-coatpersistent/lua-coatpersistent.hash diff --git a/buildroot-2021.05/package/lua-coatpersistent/lua-coatpersistent.mk b/buildroot-2022.02.1/package/lua-coatpersistent/lua-coatpersistent.mk similarity index 100% rename from buildroot-2021.05/package/lua-coatpersistent/lua-coatpersistent.mk rename to buildroot-2022.02.1/package/lua-coatpersistent/lua-coatpersistent.mk diff --git a/buildroot-2021.05/package/lua-codegen/Config.in b/buildroot-2022.02.1/package/lua-codegen/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-codegen/Config.in rename to buildroot-2022.02.1/package/lua-codegen/Config.in diff --git a/buildroot-2021.05/package/lua-codegen/lua-codegen.hash b/buildroot-2022.02.1/package/lua-codegen/lua-codegen.hash similarity index 100% rename from buildroot-2021.05/package/lua-codegen/lua-codegen.hash rename to buildroot-2022.02.1/package/lua-codegen/lua-codegen.hash diff --git a/buildroot-2021.05/package/lua-codegen/lua-codegen.mk b/buildroot-2022.02.1/package/lua-codegen/lua-codegen.mk similarity index 100% rename from buildroot-2021.05/package/lua-codegen/lua-codegen.mk rename to buildroot-2022.02.1/package/lua-codegen/lua-codegen.mk diff --git a/buildroot-2021.05/package/lua-compat53/Config.in b/buildroot-2022.02.1/package/lua-compat53/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-compat53/Config.in rename to buildroot-2022.02.1/package/lua-compat53/Config.in diff --git a/buildroot-2021.05/package/lua-compat53/lua-compat53.hash b/buildroot-2022.02.1/package/lua-compat53/lua-compat53.hash similarity index 100% rename from buildroot-2021.05/package/lua-compat53/lua-compat53.hash rename to buildroot-2022.02.1/package/lua-compat53/lua-compat53.hash diff --git a/buildroot-2021.05/package/lua-compat53/lua-compat53.mk b/buildroot-2022.02.1/package/lua-compat53/lua-compat53.mk similarity index 100% rename from buildroot-2021.05/package/lua-compat53/lua-compat53.mk rename to buildroot-2022.02.1/package/lua-compat53/lua-compat53.mk diff --git a/buildroot-2021.05/package/lua-cqueues/Config.in b/buildroot-2022.02.1/package/lua-cqueues/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-cqueues/Config.in rename to buildroot-2022.02.1/package/lua-cqueues/Config.in diff --git a/buildroot-2021.05/package/lua-cqueues/lua-cqueues.hash b/buildroot-2022.02.1/package/lua-cqueues/lua-cqueues.hash similarity index 100% rename from buildroot-2021.05/package/lua-cqueues/lua-cqueues.hash rename to buildroot-2022.02.1/package/lua-cqueues/lua-cqueues.hash diff --git a/buildroot-2021.05/package/lua-cqueues/lua-cqueues.mk b/buildroot-2022.02.1/package/lua-cqueues/lua-cqueues.mk similarity index 100% rename from buildroot-2021.05/package/lua-cqueues/lua-cqueues.mk rename to buildroot-2022.02.1/package/lua-cqueues/lua-cqueues.mk diff --git a/buildroot-2021.05/package/lua-csnappy/Config.in b/buildroot-2022.02.1/package/lua-csnappy/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-csnappy/Config.in rename to buildroot-2022.02.1/package/lua-csnappy/Config.in diff --git a/buildroot-2021.05/package/lua-csnappy/lua-csnappy.hash b/buildroot-2022.02.1/package/lua-csnappy/lua-csnappy.hash similarity index 100% rename from buildroot-2021.05/package/lua-csnappy/lua-csnappy.hash rename to buildroot-2022.02.1/package/lua-csnappy/lua-csnappy.hash diff --git a/buildroot-2021.05/package/lua-csnappy/lua-csnappy.mk b/buildroot-2022.02.1/package/lua-csnappy/lua-csnappy.mk similarity index 100% rename from buildroot-2021.05/package/lua-csnappy/lua-csnappy.mk rename to buildroot-2022.02.1/package/lua-csnappy/lua-csnappy.mk diff --git a/buildroot-2021.05/package/lua-curl/Config.in b/buildroot-2022.02.1/package/lua-curl/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-curl/Config.in rename to buildroot-2022.02.1/package/lua-curl/Config.in diff --git a/buildroot-2021.05/package/lua-curl/lua-curl.hash b/buildroot-2022.02.1/package/lua-curl/lua-curl.hash similarity index 100% rename from buildroot-2021.05/package/lua-curl/lua-curl.hash rename to buildroot-2022.02.1/package/lua-curl/lua-curl.hash diff --git a/buildroot-2021.05/package/lua-curl/lua-curl.mk b/buildroot-2022.02.1/package/lua-curl/lua-curl.mk similarity index 100% rename from buildroot-2021.05/package/lua-curl/lua-curl.mk rename to buildroot-2022.02.1/package/lua-curl/lua-curl.mk diff --git a/buildroot-2021.05/package/lua-datafile/Config.in b/buildroot-2022.02.1/package/lua-datafile/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-datafile/Config.in rename to buildroot-2022.02.1/package/lua-datafile/Config.in diff --git a/buildroot-2021.05/package/lua-datafile/lua-datafile.hash b/buildroot-2022.02.1/package/lua-datafile/lua-datafile.hash similarity index 100% rename from buildroot-2021.05/package/lua-datafile/lua-datafile.hash rename to buildroot-2022.02.1/package/lua-datafile/lua-datafile.hash diff --git a/buildroot-2021.05/package/lua-datafile/lua-datafile.mk b/buildroot-2022.02.1/package/lua-datafile/lua-datafile.mk similarity index 100% rename from buildroot-2021.05/package/lua-datafile/lua-datafile.mk rename to buildroot-2022.02.1/package/lua-datafile/lua-datafile.mk diff --git a/buildroot-2021.05/package/lua-ev/Config.in b/buildroot-2022.02.1/package/lua-ev/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-ev/Config.in rename to buildroot-2022.02.1/package/lua-ev/Config.in diff --git a/buildroot-2021.05/package/lua-ev/lua-ev.hash b/buildroot-2022.02.1/package/lua-ev/lua-ev.hash similarity index 100% rename from buildroot-2021.05/package/lua-ev/lua-ev.hash rename to buildroot-2022.02.1/package/lua-ev/lua-ev.hash diff --git a/buildroot-2021.05/package/lua-ev/lua-ev.mk b/buildroot-2022.02.1/package/lua-ev/lua-ev.mk similarity index 100% rename from buildroot-2021.05/package/lua-ev/lua-ev.mk rename to buildroot-2022.02.1/package/lua-ev/lua-ev.mk diff --git a/buildroot-2021.05/package/lua-fifo/Config.in b/buildroot-2022.02.1/package/lua-fifo/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-fifo/Config.in rename to buildroot-2022.02.1/package/lua-fifo/Config.in diff --git a/buildroot-2021.05/package/lua-fifo/lua-fifo.hash b/buildroot-2022.02.1/package/lua-fifo/lua-fifo.hash similarity index 100% rename from buildroot-2021.05/package/lua-fifo/lua-fifo.hash rename to buildroot-2022.02.1/package/lua-fifo/lua-fifo.hash diff --git a/buildroot-2021.05/package/lua-fifo/lua-fifo.mk b/buildroot-2022.02.1/package/lua-fifo/lua-fifo.mk similarity index 100% rename from buildroot-2021.05/package/lua-fifo/lua-fifo.mk rename to buildroot-2022.02.1/package/lua-fifo/lua-fifo.mk diff --git a/buildroot-2021.05/package/lua-flu/Config.in b/buildroot-2022.02.1/package/lua-flu/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-flu/Config.in rename to buildroot-2022.02.1/package/lua-flu/Config.in diff --git a/buildroot-2021.05/package/lua-flu/lua-flu.hash b/buildroot-2022.02.1/package/lua-flu/lua-flu.hash similarity index 100% rename from buildroot-2021.05/package/lua-flu/lua-flu.hash rename to buildroot-2022.02.1/package/lua-flu/lua-flu.hash diff --git a/buildroot-2021.05/package/lua-flu/lua-flu.mk b/buildroot-2022.02.1/package/lua-flu/lua-flu.mk similarity index 100% rename from buildroot-2021.05/package/lua-flu/lua-flu.mk rename to buildroot-2022.02.1/package/lua-flu/lua-flu.mk diff --git a/buildroot-2021.05/package/lua-gd/0001-Protect-declaration-of-LgdImageCreateFromPng-with-GD.patch b/buildroot-2022.02.1/package/lua-gd/0001-Protect-declaration-of-LgdImageCreateFromPng-with-GD.patch similarity index 100% rename from buildroot-2021.05/package/lua-gd/0001-Protect-declaration-of-LgdImageCreateFromPng-with-GD.patch rename to buildroot-2022.02.1/package/lua-gd/0001-Protect-declaration-of-LgdImageCreateFromPng-with-GD.patch diff --git a/buildroot-2021.05/package/lua-gd/Config.in b/buildroot-2022.02.1/package/lua-gd/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-gd/Config.in rename to buildroot-2022.02.1/package/lua-gd/Config.in diff --git a/buildroot-2021.05/package/lua-gd/lua-gd.hash b/buildroot-2022.02.1/package/lua-gd/lua-gd.hash similarity index 100% rename from buildroot-2021.05/package/lua-gd/lua-gd.hash rename to buildroot-2022.02.1/package/lua-gd/lua-gd.hash diff --git a/buildroot-2021.05/package/lua-gd/lua-gd.mk b/buildroot-2022.02.1/package/lua-gd/lua-gd.mk similarity index 100% rename from buildroot-2021.05/package/lua-gd/lua-gd.mk rename to buildroot-2022.02.1/package/lua-gd/lua-gd.mk diff --git a/buildroot-2021.05/package/lua-http/Config.in b/buildroot-2022.02.1/package/lua-http/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-http/Config.in rename to buildroot-2022.02.1/package/lua-http/Config.in diff --git a/buildroot-2021.05/package/lua-http/lua-http.hash b/buildroot-2022.02.1/package/lua-http/lua-http.hash similarity index 100% rename from buildroot-2021.05/package/lua-http/lua-http.hash rename to buildroot-2022.02.1/package/lua-http/lua-http.hash diff --git a/buildroot-2021.05/package/lua-http/lua-http.mk b/buildroot-2022.02.1/package/lua-http/lua-http.mk similarity index 100% rename from buildroot-2021.05/package/lua-http/lua-http.mk rename to buildroot-2022.02.1/package/lua-http/lua-http.mk diff --git a/buildroot-2021.05/package/lua-iconv/Config.in b/buildroot-2022.02.1/package/lua-iconv/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-iconv/Config.in rename to buildroot-2022.02.1/package/lua-iconv/Config.in diff --git a/buildroot-2021.05/package/lua-iconv/lua-iconv.hash b/buildroot-2022.02.1/package/lua-iconv/lua-iconv.hash similarity index 100% rename from buildroot-2021.05/package/lua-iconv/lua-iconv.hash rename to buildroot-2022.02.1/package/lua-iconv/lua-iconv.hash diff --git a/buildroot-2021.05/package/lua-iconv/lua-iconv.mk b/buildroot-2022.02.1/package/lua-iconv/lua-iconv.mk similarity index 100% rename from buildroot-2021.05/package/lua-iconv/lua-iconv.mk rename to buildroot-2022.02.1/package/lua-iconv/lua-iconv.mk diff --git a/buildroot-2022.02.1/package/lua-inotify/Config.in b/buildroot-2022.02.1/package/lua-inotify/Config.in new file mode 100644 index 00000000..2b0c943c --- /dev/null +++ b/buildroot-2022.02.1/package/lua-inotify/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LUA_INOTIFY + bool "lua-inotify" + help + Inotify bindings for Lua. + + http://hoelz.ro/projects/linotify diff --git a/buildroot-2022.02.1/package/lua-inotify/lua-inotify.hash b/buildroot-2022.02.1/package/lua-inotify/lua-inotify.hash new file mode 100644 index 00000000..18363895 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-inotify/lua-inotify.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 9164b5777b132d7e1e073478d8837a526262991c57e32d75d517100f533eb436 inotify-0.5-1.src.rock +sha256 b02158adb3c7763e1183a9386672f4f037bfeaab0cb0c73d684f34f3ea1993d8 linotify-0.5/COPYRIGHT diff --git a/buildroot-2022.02.1/package/lua-inotify/lua-inotify.mk b/buildroot-2022.02.1/package/lua-inotify/lua-inotify.mk new file mode 100644 index 00000000..dde7fc0f --- /dev/null +++ b/buildroot-2022.02.1/package/lua-inotify/lua-inotify.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# lua-inotify +# +################################################################################ + +LUA_INOTIFY_VERSION_UPSTREAM = 0.5 +LUA_INOTIFY_VERSION = $(LUA_INOTIFY_VERSION_UPSTREAM)-1 +LUA_INOTIFY_NAME_UPSTREAM = inotify +LUA_INOTIFY_SUBDIR = linotify-$(LUA_INOTIFY_VERSION_UPSTREAM) +LUA_INOTIFY_LICENSE = MIT +LUA_INOTIFY_LICENSE_FILES = $(LUA_INOTIFY_SUBDIR)/COPYRIGHT + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-livr-extra/Config.in b/buildroot-2022.02.1/package/lua-livr-extra/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-livr-extra/Config.in rename to buildroot-2022.02.1/package/lua-livr-extra/Config.in diff --git a/buildroot-2021.05/package/lua-livr-extra/lua-livr-extra.hash b/buildroot-2022.02.1/package/lua-livr-extra/lua-livr-extra.hash similarity index 100% rename from buildroot-2021.05/package/lua-livr-extra/lua-livr-extra.hash rename to buildroot-2022.02.1/package/lua-livr-extra/lua-livr-extra.hash diff --git a/buildroot-2021.05/package/lua-livr-extra/lua-livr-extra.mk b/buildroot-2022.02.1/package/lua-livr-extra/lua-livr-extra.mk similarity index 100% rename from buildroot-2021.05/package/lua-livr-extra/lua-livr-extra.mk rename to buildroot-2022.02.1/package/lua-livr-extra/lua-livr-extra.mk diff --git a/buildroot-2021.05/package/lua-livr/Config.in b/buildroot-2022.02.1/package/lua-livr/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-livr/Config.in rename to buildroot-2022.02.1/package/lua-livr/Config.in diff --git a/buildroot-2022.02.1/package/lua-livr/lua-livr.hash b/buildroot-2022.02.1/package/lua-livr/lua-livr.hash new file mode 100644 index 00000000..73b0fefa --- /dev/null +++ b/buildroot-2022.02.1/package/lua-livr/lua-livr.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 e2f39316b8a1e66420c56e8ddc9ce4c0118c1a240582f2ba52d7627da6dfb76d lua-livr-0.2.2-1.src.rock +sha256 69fd426251454ea43a8068e58ac25d882922372de6b22e249bb56e00ea2cd834 lua-LIVR-0.2.2/COPYRIGHT diff --git a/buildroot-2022.02.1/package/lua-livr/lua-livr.mk b/buildroot-2022.02.1/package/lua-livr/lua-livr.mk new file mode 100644 index 00000000..3f114c72 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-livr/lua-livr.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# lua-livr +# +################################################################################ + +LUA_LIVR_VERSION = 0.2.2-1 +LUA_LIVR_NAME_UPSTREAM = lua-LIVR +LUA_LIVR_LICENSE = MIT +LUA_LIVR_LICENSE_FILES = $(LUA_LIVR_SUBDIR)/COPYRIGHT + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-lpeg-patterns/Config.in b/buildroot-2022.02.1/package/lua-lpeg-patterns/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-lpeg-patterns/Config.in rename to buildroot-2022.02.1/package/lua-lpeg-patterns/Config.in diff --git a/buildroot-2021.05/package/lua-lpeg-patterns/lua-lpeg-patterns.hash b/buildroot-2022.02.1/package/lua-lpeg-patterns/lua-lpeg-patterns.hash similarity index 100% rename from buildroot-2021.05/package/lua-lpeg-patterns/lua-lpeg-patterns.hash rename to buildroot-2022.02.1/package/lua-lpeg-patterns/lua-lpeg-patterns.hash diff --git a/buildroot-2021.05/package/lua-lpeg-patterns/lua-lpeg-patterns.mk b/buildroot-2022.02.1/package/lua-lpeg-patterns/lua-lpeg-patterns.mk similarity index 100% rename from buildroot-2021.05/package/lua-lpeg-patterns/lua-lpeg-patterns.mk rename to buildroot-2022.02.1/package/lua-lpeg-patterns/lua-lpeg-patterns.mk diff --git a/buildroot-2021.05/package/lua-lunitx/Config.in b/buildroot-2022.02.1/package/lua-lunitx/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-lunitx/Config.in rename to buildroot-2022.02.1/package/lua-lunitx/Config.in diff --git a/buildroot-2021.05/package/lua-lunitx/lua-lunitx.hash b/buildroot-2022.02.1/package/lua-lunitx/lua-lunitx.hash similarity index 100% rename from buildroot-2021.05/package/lua-lunitx/lua-lunitx.hash rename to buildroot-2022.02.1/package/lua-lunitx/lua-lunitx.hash diff --git a/buildroot-2021.05/package/lua-lunitx/lua-lunitx.mk b/buildroot-2022.02.1/package/lua-lunitx/lua-lunitx.mk similarity index 100% rename from buildroot-2021.05/package/lua-lunitx/lua-lunitx.mk rename to buildroot-2022.02.1/package/lua-lunitx/lua-lunitx.mk diff --git a/buildroot-2022.02.1/package/lua-lunix/0001-fix-with-uClibc.patch b/buildroot-2022.02.1/package/lua-lunix/0001-fix-with-uClibc.patch new file mode 100644 index 00000000..236eec47 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-lunix/0001-fix-with-uClibc.patch @@ -0,0 +1,28 @@ +From ee41d97a80b978f54941ac6857c00b8a8f28de24 Mon Sep 17 00:00:00 2001 +From: Francois Perrad +Date: Sun, 6 Jun 2021 17:55:06 +0200 +Subject: [PATCH] fix with uClibc + +uClibc doesn't have is no sys_siglist. + +Signed-off-by: Francois Perrad +--- + lunix-rel-20170920/src/unix.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lunix-rel-20170920/src/unix.c b/lunix-rel-20170920/src/unix.c +index 5f3a70a..e561ab2 100644 +--- a/lunix-rel-20170920/src/unix.c ++++ b/lunix-rel-20170920/src/unix.c +@@ -438,7 +438,7 @@ + #endif + + #ifndef HAVE_SYS_SIGLIST +-#define HAVE_SYS_SIGLIST (!MUSL_MAYBE && !__sun && !_AIX) ++#define HAVE_SYS_SIGLIST (!MUSL_MAYBE && !__sun && !_AIX && !__UCLIBC__) + #endif + + #ifndef HAVE_UNLINKAT +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/lua-lunix/0002-remove-link-with-librt.patch b/buildroot-2022.02.1/package/lua-lunix/0002-remove-link-with-librt.patch new file mode 100644 index 00000000..7b1c8ddd --- /dev/null +++ b/buildroot-2022.02.1/package/lua-lunix/0002-remove-link-with-librt.patch @@ -0,0 +1,36 @@ +From aeaff83b9ae42547b8728edac000f3d41d5e44aa Mon Sep 17 00:00:00 2001 +From: Francois Perrad +Date: Sat, 17 Jul 2021 13:21:38 +0200 +Subject: [PATCH] remove link with librt + +librt is not available with musl + +Signed-off-by: Francois Perrad +--- + lunix-rel-20170920/lunix-20170920-1.rockspec | 10 ---------- + 1 file changed, 10 deletions(-) + +diff --git a/lunix-rel-20170920/lunix-20170920-1.rockspec b/lunix-rel-20170920/lunix-20170920-1.rockspec +index 741179d..76cafeb 100644 +--- a/lunix-rel-20170920/lunix-20170920-1.rockspec ++++ b/lunix-rel-20170920/lunix-20170920-1.rockspec +@@ -26,16 +26,6 @@ build = { + }; + }; + platforms = { +- linux = { +- modules = { +- ["unix"] = { +- libraries = { +- -- glibc <= 2.17 needs to link with librt +- "rt"; +- }; +- }; +- }; +- }; + osx = { + modules = { + ["unix"] = { +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/lua-lunix/0003-fix-sysctl-detection.patch b/buildroot-2022.02.1/package/lua-lunix/0003-fix-sysctl-detection.patch new file mode 100644 index 00000000..18656b19 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-lunix/0003-fix-sysctl-detection.patch @@ -0,0 +1,24 @@ +sys/sysctl.h was removed with glibc 2.32 + +Fetched from: https://github.com/wahern/lunix/pull/20/files +Signed-off-by: Francois Perrad +--- + lunix-rel-20170920/src/unix.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lunix-rel-20170920/src/unix.c b/lunix-rel-20170920/src/unix.c +index 272820a..fa00876 100644 +--- a/lunix-rel-20170920/src/unix.c ++++ b/lunix-rel-20170920/src/unix.c +@@ -165,7 +165,7 @@ + #endif + + #ifndef HAVE_SYS_SYSCTL_H /* missing on musl libc */ +-#define HAVE_SYS_SYSCTL_H (defined BSD || GLIBC_PREREQ(0,0) || UCLIBC_PREREQ(0,0,0)) ++#define HAVE_SYS_SYSCTL_H (defined BSD || (__GLIBC__ && !GLIBC_PREREQ(2,32)) || UCLIBC_PREREQ(0,0,0)) + #endif + + #ifndef HAVE_STRUCT_IN_PKTINFO +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/lua-lunix/Config.in b/buildroot-2022.02.1/package/lua-lunix/Config.in new file mode 100644 index 00000000..ca9325a1 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-lunix/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LUA_LUNIX + bool "lua-lunix" + help + lunix is a bindings library module to common Unix system APIs. + + http://25thandclement.com/~william/projects/lunix.html diff --git a/buildroot-2022.02.1/package/lua-lunix/lua-lunix.hash b/buildroot-2022.02.1/package/lua-lunix/lua-lunix.hash new file mode 100644 index 00000000..3cbf3481 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-lunix/lua-lunix.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 4a4007b394ae884e18e9d0319ea584e8b4a682d7bf8fa5b99c7eea9baf1e5ed6 lunix-20170920-1.src.rock +sha256 9b74be104d59caa45bf3321ebe771f9cc7874209261a93f1cf971ceca44fbe03 lunix-rel-20170920/LICENSE diff --git a/buildroot-2022.02.1/package/lua-lunix/lua-lunix.mk b/buildroot-2022.02.1/package/lua-lunix/lua-lunix.mk new file mode 100644 index 00000000..28cb2dc4 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-lunix/lua-lunix.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# lua-lunix +# +################################################################################ + +LUA_LUNIX_VERSION_UPSTREAM = 20170920 +LUA_LUNIX_VERSION = $(LUA_LUNIX_VERSION_UPSTREAM)-1 +LUA_LUNIX_NAME_UPSTREAM = lunix +LUA_LUNIX_SUBDIR = lunix-rel-$(LUA_LUNIX_VERSION_UPSTREAM) +LUA_LUNIX_LICENSE = MIT +LUA_LUNIX_LICENSE_FILES = $(LUA_LUNIX_SUBDIR)/LICENSE + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-lyaml/Config.in b/buildroot-2022.02.1/package/lua-lyaml/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-lyaml/Config.in rename to buildroot-2022.02.1/package/lua-lyaml/Config.in diff --git a/buildroot-2021.05/package/lua-lyaml/lua-lyaml.hash b/buildroot-2022.02.1/package/lua-lyaml/lua-lyaml.hash similarity index 100% rename from buildroot-2021.05/package/lua-lyaml/lua-lyaml.hash rename to buildroot-2022.02.1/package/lua-lyaml/lua-lyaml.hash diff --git a/buildroot-2021.05/package/lua-lyaml/lua-lyaml.mk b/buildroot-2022.02.1/package/lua-lyaml/lua-lyaml.mk similarity index 100% rename from buildroot-2021.05/package/lua-lyaml/lua-lyaml.mk rename to buildroot-2022.02.1/package/lua-lyaml/lua-lyaml.mk diff --git a/buildroot-2021.05/package/lua-markdown/Config.in b/buildroot-2022.02.1/package/lua-markdown/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-markdown/Config.in rename to buildroot-2022.02.1/package/lua-markdown/Config.in diff --git a/buildroot-2021.05/package/lua-markdown/lua-markdown.hash b/buildroot-2022.02.1/package/lua-markdown/lua-markdown.hash similarity index 100% rename from buildroot-2021.05/package/lua-markdown/lua-markdown.hash rename to buildroot-2022.02.1/package/lua-markdown/lua-markdown.hash diff --git a/buildroot-2021.05/package/lua-markdown/lua-markdown.mk b/buildroot-2022.02.1/package/lua-markdown/lua-markdown.mk similarity index 100% rename from buildroot-2021.05/package/lua-markdown/lua-markdown.mk rename to buildroot-2022.02.1/package/lua-markdown/lua-markdown.mk diff --git a/buildroot-2021.05/package/lua-messagepack/Config.in b/buildroot-2022.02.1/package/lua-messagepack/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-messagepack/Config.in rename to buildroot-2022.02.1/package/lua-messagepack/Config.in diff --git a/buildroot-2021.05/package/lua-messagepack/lua-messagepack.hash b/buildroot-2022.02.1/package/lua-messagepack/lua-messagepack.hash similarity index 100% rename from buildroot-2021.05/package/lua-messagepack/lua-messagepack.hash rename to buildroot-2022.02.1/package/lua-messagepack/lua-messagepack.hash diff --git a/buildroot-2021.05/package/lua-messagepack/lua-messagepack.mk b/buildroot-2022.02.1/package/lua-messagepack/lua-messagepack.mk similarity index 100% rename from buildroot-2021.05/package/lua-messagepack/lua-messagepack.mk rename to buildroot-2022.02.1/package/lua-messagepack/lua-messagepack.mk diff --git a/buildroot-2021.05/package/lua-msgpack-native/Config.in b/buildroot-2022.02.1/package/lua-msgpack-native/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-msgpack-native/Config.in rename to buildroot-2022.02.1/package/lua-msgpack-native/Config.in diff --git a/buildroot-2021.05/package/lua-msgpack-native/lua-msgpack-native.hash b/buildroot-2022.02.1/package/lua-msgpack-native/lua-msgpack-native.hash similarity index 100% rename from buildroot-2021.05/package/lua-msgpack-native/lua-msgpack-native.hash rename to buildroot-2022.02.1/package/lua-msgpack-native/lua-msgpack-native.hash diff --git a/buildroot-2021.05/package/lua-msgpack-native/lua-msgpack-native.mk b/buildroot-2022.02.1/package/lua-msgpack-native/lua-msgpack-native.mk similarity index 100% rename from buildroot-2021.05/package/lua-msgpack-native/lua-msgpack-native.mk rename to buildroot-2022.02.1/package/lua-msgpack-native/lua-msgpack-native.mk diff --git a/buildroot-2021.05/package/lua-periphery/Config.in b/buildroot-2022.02.1/package/lua-periphery/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-periphery/Config.in rename to buildroot-2022.02.1/package/lua-periphery/Config.in diff --git a/buildroot-2021.05/package/lua-periphery/lua-periphery.hash b/buildroot-2022.02.1/package/lua-periphery/lua-periphery.hash similarity index 100% rename from buildroot-2021.05/package/lua-periphery/lua-periphery.hash rename to buildroot-2022.02.1/package/lua-periphery/lua-periphery.hash diff --git a/buildroot-2021.05/package/lua-periphery/lua-periphery.mk b/buildroot-2022.02.1/package/lua-periphery/lua-periphery.mk similarity index 100% rename from buildroot-2021.05/package/lua-periphery/lua-periphery.mk rename to buildroot-2022.02.1/package/lua-periphery/lua-periphery.mk diff --git a/buildroot-2021.05/package/lua-resty-http/Config.in b/buildroot-2022.02.1/package/lua-resty-http/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-resty-http/Config.in rename to buildroot-2022.02.1/package/lua-resty-http/Config.in diff --git a/buildroot-2021.05/package/lua-resty-http/lua-resty-http.hash b/buildroot-2022.02.1/package/lua-resty-http/lua-resty-http.hash similarity index 100% rename from buildroot-2021.05/package/lua-resty-http/lua-resty-http.hash rename to buildroot-2022.02.1/package/lua-resty-http/lua-resty-http.hash diff --git a/buildroot-2021.05/package/lua-resty-http/lua-resty-http.mk b/buildroot-2022.02.1/package/lua-resty-http/lua-resty-http.mk similarity index 100% rename from buildroot-2021.05/package/lua-resty-http/lua-resty-http.mk rename to buildroot-2022.02.1/package/lua-resty-http/lua-resty-http.mk diff --git a/buildroot-2021.05/package/lua-rotas/Config.in b/buildroot-2022.02.1/package/lua-rotas/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-rotas/Config.in rename to buildroot-2022.02.1/package/lua-rotas/Config.in diff --git a/buildroot-2022.02.1/package/lua-rotas/lua-rotas.hash b/buildroot-2022.02.1/package/lua-rotas/lua-rotas.hash new file mode 100644 index 00000000..2633f3b7 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-rotas/lua-rotas.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 a947026be3552cbf676a0cef36a618111712257d306cbd9d340ed8895a4cbd2b lua-rotas-0.2.1-1.src.rock +sha256 ac8bb87b7b5e803ae27510b9c6fd284f1b00e741258bc59fc78d3bc107d96fbb lua-Rotas-0.2.1/COPYRIGHT diff --git a/buildroot-2022.02.1/package/lua-rotas/lua-rotas.mk b/buildroot-2022.02.1/package/lua-rotas/lua-rotas.mk new file mode 100644 index 00000000..84d6c9a5 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-rotas/lua-rotas.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# lua-rotas +# +################################################################################ + +LUA_ROTAS_VERSION = 0.2.1-1 +LUA_ROTAS_NAME_UPSTREAM = lua-Rotas +LUA_ROTAS_LICENSE = MIT +LUA_ROTAS_LICENSE_FILES = $(LUA_ROTAS_SUBDIR)/COPYRIGHT + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-sailor/Config.in b/buildroot-2022.02.1/package/lua-sailor/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-sailor/Config.in rename to buildroot-2022.02.1/package/lua-sailor/Config.in diff --git a/buildroot-2021.05/package/lua-sailor/lua-sailor.hash b/buildroot-2022.02.1/package/lua-sailor/lua-sailor.hash similarity index 100% rename from buildroot-2021.05/package/lua-sailor/lua-sailor.hash rename to buildroot-2022.02.1/package/lua-sailor/lua-sailor.hash diff --git a/buildroot-2021.05/package/lua-sailor/lua-sailor.mk b/buildroot-2022.02.1/package/lua-sailor/lua-sailor.mk similarity index 100% rename from buildroot-2021.05/package/lua-sailor/lua-sailor.mk rename to buildroot-2022.02.1/package/lua-sailor/lua-sailor.mk diff --git a/buildroot-2021.05/package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch b/buildroot-2022.02.1/package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch similarity index 100% rename from buildroot-2021.05/package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch rename to buildroot-2022.02.1/package/lua-sdl2/0001-Do-not-reference-host-directory-for-headers.patch diff --git a/buildroot-2021.05/package/lua-sdl2/0002-CMakeLists-do-not-require-C.patch b/buildroot-2022.02.1/package/lua-sdl2/0002-CMakeLists-do-not-require-C.patch similarity index 100% rename from buildroot-2021.05/package/lua-sdl2/0002-CMakeLists-do-not-require-C.patch rename to buildroot-2022.02.1/package/lua-sdl2/0002-CMakeLists-do-not-require-C.patch diff --git a/buildroot-2021.05/package/lua-sdl2/Config.in b/buildroot-2022.02.1/package/lua-sdl2/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-sdl2/Config.in rename to buildroot-2022.02.1/package/lua-sdl2/Config.in diff --git a/buildroot-2021.05/package/lua-sdl2/lua-sdl2.hash b/buildroot-2022.02.1/package/lua-sdl2/lua-sdl2.hash similarity index 100% rename from buildroot-2021.05/package/lua-sdl2/lua-sdl2.hash rename to buildroot-2022.02.1/package/lua-sdl2/lua-sdl2.hash diff --git a/buildroot-2021.05/package/lua-sdl2/lua-sdl2.mk b/buildroot-2022.02.1/package/lua-sdl2/lua-sdl2.mk similarity index 100% rename from buildroot-2021.05/package/lua-sdl2/lua-sdl2.mk rename to buildroot-2022.02.1/package/lua-sdl2/lua-sdl2.mk diff --git a/buildroot-2021.05/package/lua-silva/Config.in b/buildroot-2022.02.1/package/lua-silva/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-silva/Config.in rename to buildroot-2022.02.1/package/lua-silva/Config.in diff --git a/buildroot-2022.02.1/package/lua-silva/lua-silva.hash b/buildroot-2022.02.1/package/lua-silva/lua-silva.hash new file mode 100644 index 00000000..bcd0d307 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-silva/lua-silva.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 0e656c42c71b64285d4a375fa7b8b1a910b05c4ab6d30f5b427b078fff204e1f lua-silva-0.1.8-1.src.rock +sha256 5b59ffbfc12d9d1cb907dd65b0f16d3453e1a43cc018c6128a00b00e08f6c485 lua-Silva-0.1.8/COPYRIGHT diff --git a/buildroot-2022.02.1/package/lua-silva/lua-silva.mk b/buildroot-2022.02.1/package/lua-silva/lua-silva.mk new file mode 100644 index 00000000..91b1b774 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-silva/lua-silva.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# lua-silva +# +################################################################################ + +LUA_SILVA_VERSION = 0.1.8-1 +LUA_SILVA_NAME_UPSTREAM = lua-Silva +LUA_SILVA_LICENSE = MIT +LUA_SILVA_LICENSE_FILES = $(LUA_SILVA_SUBDIR)/COPYRIGHT + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-std-debug/Config.in b/buildroot-2022.02.1/package/lua-std-debug/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-std-debug/Config.in rename to buildroot-2022.02.1/package/lua-std-debug/Config.in diff --git a/buildroot-2021.05/package/lua-std-debug/lua-std-debug.hash b/buildroot-2022.02.1/package/lua-std-debug/lua-std-debug.hash similarity index 100% rename from buildroot-2021.05/package/lua-std-debug/lua-std-debug.hash rename to buildroot-2022.02.1/package/lua-std-debug/lua-std-debug.hash diff --git a/buildroot-2021.05/package/lua-std-debug/lua-std-debug.mk b/buildroot-2022.02.1/package/lua-std-debug/lua-std-debug.mk similarity index 100% rename from buildroot-2021.05/package/lua-std-debug/lua-std-debug.mk rename to buildroot-2022.02.1/package/lua-std-debug/lua-std-debug.mk diff --git a/buildroot-2021.05/package/lua-std-normalize/Config.in b/buildroot-2022.02.1/package/lua-std-normalize/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-std-normalize/Config.in rename to buildroot-2022.02.1/package/lua-std-normalize/Config.in diff --git a/buildroot-2021.05/package/lua-std-normalize/lua-std-normalize.hash b/buildroot-2022.02.1/package/lua-std-normalize/lua-std-normalize.hash similarity index 100% rename from buildroot-2021.05/package/lua-std-normalize/lua-std-normalize.hash rename to buildroot-2022.02.1/package/lua-std-normalize/lua-std-normalize.hash diff --git a/buildroot-2021.05/package/lua-std-normalize/lua-std-normalize.mk b/buildroot-2022.02.1/package/lua-std-normalize/lua-std-normalize.mk similarity index 100% rename from buildroot-2021.05/package/lua-std-normalize/lua-std-normalize.mk rename to buildroot-2022.02.1/package/lua-std-normalize/lua-std-normalize.mk diff --git a/buildroot-2021.05/package/lua-stdlib/Config.in b/buildroot-2022.02.1/package/lua-stdlib/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-stdlib/Config.in rename to buildroot-2022.02.1/package/lua-stdlib/Config.in diff --git a/buildroot-2021.05/package/lua-stdlib/lua-stdlib.hash b/buildroot-2022.02.1/package/lua-stdlib/lua-stdlib.hash similarity index 100% rename from buildroot-2021.05/package/lua-stdlib/lua-stdlib.hash rename to buildroot-2022.02.1/package/lua-stdlib/lua-stdlib.hash diff --git a/buildroot-2021.05/package/lua-stdlib/lua-stdlib.mk b/buildroot-2022.02.1/package/lua-stdlib/lua-stdlib.mk similarity index 100% rename from buildroot-2021.05/package/lua-stdlib/lua-stdlib.mk rename to buildroot-2022.02.1/package/lua-stdlib/lua-stdlib.mk diff --git a/buildroot-2021.05/package/lua-testmore/Config.in b/buildroot-2022.02.1/package/lua-testmore/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-testmore/Config.in rename to buildroot-2022.02.1/package/lua-testmore/Config.in diff --git a/buildroot-2022.02.1/package/lua-testmore/lua-testmore.hash b/buildroot-2022.02.1/package/lua-testmore/lua-testmore.hash new file mode 100644 index 00000000..4ff577e5 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-testmore/lua-testmore.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 b3e57955888aba3974d6f5a21219214e2803a38e4623671f7d9d9e0f1851e608 lua-testmore-0.3.6-1.src.rock +sha256 37a3afb014325b98f0ad919cb40bc9d5a948120e5260e75b9d00c198d350da6d lua-TestMore-0.3.6/COPYRIGHT diff --git a/buildroot-2022.02.1/package/lua-testmore/lua-testmore.mk b/buildroot-2022.02.1/package/lua-testmore/lua-testmore.mk new file mode 100644 index 00000000..e3cc7b7b --- /dev/null +++ b/buildroot-2022.02.1/package/lua-testmore/lua-testmore.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# lua-testmore +# +################################################################################ + +LUA_TESTMORE_VERSION = 0.3.6-1 +LUA_TESTMORE_NAME_UPSTREAM = lua-TestMore +LUA_TESTMORE_LICENSE = MIT +LUA_TESTMORE_LICENSE_FILES = $(LUA_TESTMORE_SUBDIR)/COPYRIGHT + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua-utf8/Config.in b/buildroot-2022.02.1/package/lua-utf8/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-utf8/Config.in rename to buildroot-2022.02.1/package/lua-utf8/Config.in diff --git a/buildroot-2021.05/package/lua-utf8/lua-utf8.hash b/buildroot-2022.02.1/package/lua-utf8/lua-utf8.hash similarity index 100% rename from buildroot-2021.05/package/lua-utf8/lua-utf8.hash rename to buildroot-2022.02.1/package/lua-utf8/lua-utf8.hash diff --git a/buildroot-2021.05/package/lua-utf8/lua-utf8.mk b/buildroot-2022.02.1/package/lua-utf8/lua-utf8.mk similarity index 100% rename from buildroot-2021.05/package/lua-utf8/lua-utf8.mk rename to buildroot-2022.02.1/package/lua-utf8/lua-utf8.mk diff --git a/buildroot-2021.05/package/lua-valua/Config.in b/buildroot-2022.02.1/package/lua-valua/Config.in similarity index 100% rename from buildroot-2021.05/package/lua-valua/Config.in rename to buildroot-2022.02.1/package/lua-valua/Config.in diff --git a/buildroot-2021.05/package/lua-valua/lua-valua.hash b/buildroot-2022.02.1/package/lua-valua/lua-valua.hash similarity index 100% rename from buildroot-2021.05/package/lua-valua/lua-valua.hash rename to buildroot-2022.02.1/package/lua-valua/lua-valua.hash diff --git a/buildroot-2021.05/package/lua-valua/lua-valua.mk b/buildroot-2022.02.1/package/lua-valua/lua-valua.mk similarity index 100% rename from buildroot-2021.05/package/lua-valua/lua-valua.mk rename to buildroot-2022.02.1/package/lua-valua/lua-valua.mk diff --git a/buildroot-2022.02.1/package/lua-zlib/Config.in b/buildroot-2022.02.1/package/lua-zlib/Config.in new file mode 100644 index 00000000..ffdb4a8e --- /dev/null +++ b/buildroot-2022.02.1/package/lua-zlib/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_LUA_ZLIB + bool "lua-zlib" + select BR2_PACKAGE_ZLIB + help + Simple streaming interface to zlib for Lua. + Consists of two functions: inflate and deflate. + Both functions return "stream functions" (takes a buffer + of input and returns a buffer of output). + + https://github.com/brimworks/lua-zlib diff --git a/buildroot-2022.02.1/package/lua-zlib/lua-zlib.hash b/buildroot-2022.02.1/package/lua-zlib/lua-zlib.hash new file mode 100644 index 00000000..8c108b39 --- /dev/null +++ b/buildroot-2022.02.1/package/lua-zlib/lua-zlib.hash @@ -0,0 +1,2 @@ +# computed by luarocks/buildroot +sha256 42436ba2b78c9a2d515d6da59ceb12cdea7f84c9ce3c859d91addb42badd4061 lua-zlib-1.2-0.src.rock diff --git a/buildroot-2022.02.1/package/lua-zlib/lua-zlib.mk b/buildroot-2022.02.1/package/lua-zlib/lua-zlib.mk new file mode 100644 index 00000000..23e2a8ae --- /dev/null +++ b/buildroot-2022.02.1/package/lua-zlib/lua-zlib.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# lua-zlib +# +################################################################################ + +LUA_ZLIB_VERSION = 1.2-0 +LUA_ZLIB_SUBDIR = lua-zlib +LUA_ZLIB_LICENSE = MIT +LUA_ZLIB_DEPENDENCIES = zlib + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lua/5.1.5/0001-root-path.patch b/buildroot-2022.02.1/package/lua/5.1.5/0001-root-path.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.1.5/0001-root-path.patch rename to buildroot-2022.02.1/package/lua/5.1.5/0001-root-path.patch diff --git a/buildroot-2021.05/package/lua/5.1.5/0002-shared-libs-for-lua.patch b/buildroot-2022.02.1/package/lua/5.1.5/0002-shared-libs-for-lua.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.1.5/0002-shared-libs-for-lua.patch rename to buildroot-2022.02.1/package/lua/5.1.5/0002-shared-libs-for-lua.patch diff --git a/buildroot-2021.05/package/lua/5.1.5/0011-linenoise.patch b/buildroot-2022.02.1/package/lua/5.1.5/0011-linenoise.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.1.5/0011-linenoise.patch rename to buildroot-2022.02.1/package/lua/5.1.5/0011-linenoise.patch diff --git a/buildroot-2021.05/package/lua/5.1.5/0012-fix-reader-at-eoz.patch b/buildroot-2022.02.1/package/lua/5.1.5/0012-fix-reader-at-eoz.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.1.5/0012-fix-reader-at-eoz.patch rename to buildroot-2022.02.1/package/lua/5.1.5/0012-fix-reader-at-eoz.patch diff --git a/buildroot-2021.05/package/lua/5.1.5/lua.hash b/buildroot-2022.02.1/package/lua/5.1.5/lua.hash similarity index 100% rename from buildroot-2021.05/package/lua/5.1.5/lua.hash rename to buildroot-2022.02.1/package/lua/5.1.5/lua.hash diff --git a/buildroot-2021.05/package/lua/5.3.6/0001-root-path.patch b/buildroot-2022.02.1/package/lua/5.3.6/0001-root-path.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.3.6/0001-root-path.patch rename to buildroot-2022.02.1/package/lua/5.3.6/0001-root-path.patch diff --git a/buildroot-2021.05/package/lua/5.3.6/0002-shared-libs-for-lua.patch b/buildroot-2022.02.1/package/lua/5.3.6/0002-shared-libs-for-lua.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.3.6/0002-shared-libs-for-lua.patch rename to buildroot-2022.02.1/package/lua/5.3.6/0002-shared-libs-for-lua.patch diff --git a/buildroot-2021.05/package/lua/5.3.6/0003-linenoise.patch b/buildroot-2022.02.1/package/lua/5.3.6/0003-linenoise.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.3.6/0003-linenoise.patch rename to buildroot-2022.02.1/package/lua/5.3.6/0003-linenoise.patch diff --git a/buildroot-2021.05/package/lua/5.3.6/lua.hash b/buildroot-2022.02.1/package/lua/5.3.6/lua.hash similarity index 100% rename from buildroot-2021.05/package/lua/5.3.6/lua.hash rename to buildroot-2022.02.1/package/lua/5.3.6/lua.hash diff --git a/buildroot-2021.05/package/lua/5.4.3/0001-root-path.patch b/buildroot-2022.02.1/package/lua/5.4.4/0001-root-path.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.4.3/0001-root-path.patch rename to buildroot-2022.02.1/package/lua/5.4.4/0001-root-path.patch diff --git a/buildroot-2021.05/package/lua/5.4.3/0002-shared-libs-for-lua.patch b/buildroot-2022.02.1/package/lua/5.4.4/0002-shared-libs-for-lua.patch similarity index 100% rename from buildroot-2021.05/package/lua/5.4.3/0002-shared-libs-for-lua.patch rename to buildroot-2022.02.1/package/lua/5.4.4/0002-shared-libs-for-lua.patch diff --git a/buildroot-2022.02.1/package/lua/5.4.4/0011-linenoise.patch b/buildroot-2022.02.1/package/lua/5.4.4/0011-linenoise.patch new file mode 100644 index 00000000..68316e10 --- /dev/null +++ b/buildroot-2022.02.1/package/lua/5.4.4/0011-linenoise.patch @@ -0,0 +1,25 @@ +Add support of linenoise (replace readline) + +see discussion, http://lua-users.org/lists/lua-l/2010-03/msg00879.html + +Signed-off-by: Francois Perrad + +Index: b/src/lua.c +=================================================================== +--- a/src/lua.c ++++ b/src/lua.c +@@ -428,6 +428,14 @@ + #define lua_saveline(L,line) ((void)L, add_history(line)) + #define lua_freeline(L,b) ((void)L, free(b)) + ++#elif defined(LUA_USE_LINENOISE) ++ ++#include ++#define lua_initreadline(L) ((void)L) ++#define lua_readline(L,b,p) ((void)L, ((b)=linenoise(p)) != NULL) ++#define lua_saveline(L,line) ((void)L, linenoiseHistoryAdd(line)) ++#define lua_freeline(L,b) ((void)L, free(b)) ++ + #else /* }{ */ + + #define lua_initreadline(L) ((void)L) diff --git a/buildroot-2022.02.1/package/lua/5.4.4/lua.hash b/buildroot-2022.02.1/package/lua/5.4.4/lua.hash new file mode 100644 index 00000000..b55b17f2 --- /dev/null +++ b/buildroot-2022.02.1/package/lua/5.4.4/lua.hash @@ -0,0 +1,6 @@ +# Hashes from: https://www.lua.org/ftp/ +md5 bd8ce7069ff99a400efd14cf339a727b lua-5.4.4.tar.gz +sha1 03c27684b9d5d9783fb79a7c836ba1cdc5f309cd lua-5.4.4.tar.gz + +# Locally computed +sha256 2556ac7198243f9f83130b9c81016e1904f7b30351481f1c28e02475dbd237fb doc/readme.html diff --git a/buildroot-2022.02.1/package/lua/Config.in b/buildroot-2022.02.1/package/lua/Config.in new file mode 100644 index 00000000..309dd6ee --- /dev/null +++ b/buildroot-2022.02.1/package/lua/Config.in @@ -0,0 +1,70 @@ +config BR2_PACKAGE_LUA + bool "lua" + select BR2_PACKAGE_HAS_LUAINTERPRETER + help + Lua is a powerful, fast, light-weight, embeddable scripting + language. + + http://www.lua.org/ + +if BR2_PACKAGE_LUA + +config BR2_PACKAGE_PROVIDES_LUAINTERPRETER + default "lua" + +choice + prompt "Lua Version" + default BR2_PACKAGE_LUA_5_4 + help + Select the version of Lua API/ABI you wish to use. + +config BR2_PACKAGE_LUA_5_1 + bool "Lua 5.1.x" + select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + +config BR2_PACKAGE_LUA_5_3 + bool "Lua 5.3.x" + select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_3 + +config BR2_PACKAGE_LUA_5_4 + bool "Lua 5.4.x" + select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_4 + +endchoice + +if BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4 +config BR2_PACKAGE_LUA_32BITS + bool "Use 32 bit numbers" + default y if !BR2_ARCH_IS_64 + help + Use a 32 bit data type for numbers / integers instead of the + default 64 bit type. This option is particularly attractive + for small machines and embedded systems. + +endif + +choice + prompt "Lua command-line editing" + default BR2_PACKAGE_LUA_EDITING_NONE + +config BR2_PACKAGE_LUA_EDITING_NONE + bool "none" + help + None. + +config BR2_PACKAGE_LUA_READLINE + bool "readline support" + select BR2_PACKAGE_READLINE + select BR2_PACKAGE_NCURSES + help + Enables command-line editing in the Lua interpreter. + +config BR2_PACKAGE_LUA_LINENOISE + bool "linenoise support" + select BR2_PACKAGE_LINENOISE + help + Enables command-line editing in the Lua interpreter. + +endchoice + +endif diff --git a/buildroot-2022.02.1/package/lua/lua.mk b/buildroot-2022.02.1/package/lua/lua.mk new file mode 100644 index 00000000..09e7b34f --- /dev/null +++ b/buildroot-2022.02.1/package/lua/lua.mk @@ -0,0 +1,113 @@ +################################################################################ +# +# lua +# +################################################################################ + +ifeq ($(BR2_PACKAGE_LUA_5_4),y) +LUA_VERSION = 5.4.4 +else ifeq ($(BR2_PACKAGE_LUA_5_3),y) +LUA_VERSION = 5.3.6 +else +LUA_VERSION = 5.1.5 +endif +LUA_SITE = https://www.lua.org/ftp +LUA_INSTALL_STAGING = YES +LUA_LICENSE = MIT +ifeq ($(BR2_PACKAGE_LUA_5_3)$(BR2_PACKAGE_LUA_5_4),y) +LUA_LICENSE_FILES = doc/readme.html +else +LUA_LICENSE_FILES = COPYRIGHT +endif +LUA_CPE_ID_VENDOR = lua + +LUA_PROVIDES = luainterpreter + +LUA_CFLAGS = -Wall -fPIC -DLUA_USE_POSIX + +ifeq ($(BR2_PACKAGE_LUA_5_4),y) +LUA_CFLAGS += -DLUA_COMPAT_5_3 +else ifeq ($(BR2_PACKAGE_LUA_5_3),y) +LUA_CFLAGS += -DLUA_COMPAT_5_2 +endif + +ifeq ($(BR2_STATIC_LIBS),y) +LUA_BUILDMODE = static +else +LUA_BUILDMODE = dynamic +LUA_CFLAGS += -DLUA_USE_DLOPEN +LUA_MYLIBS += -ldl +endif + +ifeq ($(BR2_PACKAGE_LUA_READLINE),y) +LUA_DEPENDENCIES += readline ncurses +LUA_MYLIBS += -lreadline -lhistory -lncurses +LUA_CFLAGS += -DLUA_USE_READLINE +else +ifeq ($(BR2_PACKAGE_LUA_LINENOISE),y) +LUA_DEPENDENCIES += linenoise +LUA_MYLIBS += -llinenoise +LUA_CFLAGS += -DLUA_USE_LINENOISE +endif +endif + +ifeq ($(BR2_PACKAGE_LUA_32BITS),y) +define LUA_32BITS_LUACONF + $(SED) 's/\/\* #define LUA_32BITS \*\//#define LUA_32BITS/' $(@D)/src/luaconf.h +endef + +LUA_POST_PATCH_HOOKS += LUA_32BITS_LUACONF +endif + +define HOST_LUA_LUACONF + $(SED) 's|#define LUA_ROOT.*|#define LUA_ROOT "$(HOST_DIR)/usr/"|' $(@D)/src/luaconf.h +endef +HOST_LUA_POST_PATCH_HOOKS += HOST_LUA_LUACONF + +HOST_LUA_CFLAGS = -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX +ifeq ($(BR2_PACKAGE_LUA_5_3),y) +HOST_LUA_CFLAGS += -DLUA_COMPAT_5_2 +endif +HOST_LUA_MYLIBS = -ldl + +define LUA_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) \ + CC="$(TARGET_CC)" RANLIB="$(TARGET_RANLIB)" \ + CFLAGS="$(TARGET_CFLAGS) $(LUA_CFLAGS)" \ + MYLIBS="$(LUA_MYLIBS)" AR="$(TARGET_CROSS)ar rcu" \ + MYLDFLAGS="$(TARGET_LDFLAGS)" \ + BUILDMODE=$(LUA_BUILDMODE) \ + PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all + sed -e "s/@VERSION@/$(LUA_VERSION)/;s/@ABI@/$(LUAINTERPRETER_ABIVER)/;s/@MYLIBS@/$(LUA_MYLIBS)/" \ + package/lua/lua.pc.in > $(@D)/lua.pc +endef + +define HOST_LUA_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) \ + CFLAGS="$(HOST_LUA_CFLAGS)" \ + MYLDFLAGS="$(HOST_LDFLAGS)" \ + MYLIBS="$(HOST_LUA_MYLIBS)" \ + BUILDMODE=dynamic \ + PKG_VERSION=$(LUA_VERSION) -C $(@D)/src all + sed -e "s/@VERSION@/$(LUA_VERSION)/;s/@ABI@/$(LUAINTERPRETER_ABIVER)/;s/@MYLIBS@/$(HOST_LUA_MYLIBS)/" \ + package/lua/lua.pc.in > $(@D)/lua.pc +endef + +define LUA_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) INSTALL_TOP="$(STAGING_DIR)/usr" -C $(@D) install + $(INSTALL) -m 0644 -D $(@D)/lua.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/lua.pc +endef + +define LUA_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) INSTALL_TOP="$(TARGET_DIR)/usr" -C $(@D) install +endef + +define HOST_LUA_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) INSTALL_TOP="$(HOST_DIR)" -C $(@D) install + $(INSTALL) -m 0644 -D $(@D)/lua.pc \ + $(HOST_DIR)/lib/pkgconfig/lua.pc +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/lua/lua.pc.in b/buildroot-2022.02.1/package/lua/lua.pc.in similarity index 100% rename from buildroot-2021.05/package/lua/lua.pc.in rename to buildroot-2022.02.1/package/lua/lua.pc.in diff --git a/buildroot-2021.05/package/luabitop/Config.in b/buildroot-2022.02.1/package/luabitop/Config.in similarity index 100% rename from buildroot-2021.05/package/luabitop/Config.in rename to buildroot-2022.02.1/package/luabitop/Config.in diff --git a/buildroot-2021.05/package/luabitop/luabitop.hash b/buildroot-2022.02.1/package/luabitop/luabitop.hash similarity index 100% rename from buildroot-2021.05/package/luabitop/luabitop.hash rename to buildroot-2022.02.1/package/luabitop/luabitop.hash diff --git a/buildroot-2021.05/package/luabitop/luabitop.mk b/buildroot-2022.02.1/package/luabitop/luabitop.mk similarity index 100% rename from buildroot-2021.05/package/luabitop/luabitop.mk rename to buildroot-2022.02.1/package/luabitop/luabitop.mk diff --git a/buildroot-2021.05/package/luadbi-sqlite3/Config.in b/buildroot-2022.02.1/package/luadbi-sqlite3/Config.in similarity index 100% rename from buildroot-2021.05/package/luadbi-sqlite3/Config.in rename to buildroot-2022.02.1/package/luadbi-sqlite3/Config.in diff --git a/buildroot-2021.05/package/luadbi-sqlite3/luadbi-sqlite3.hash b/buildroot-2022.02.1/package/luadbi-sqlite3/luadbi-sqlite3.hash similarity index 100% rename from buildroot-2021.05/package/luadbi-sqlite3/luadbi-sqlite3.hash rename to buildroot-2022.02.1/package/luadbi-sqlite3/luadbi-sqlite3.hash diff --git a/buildroot-2021.05/package/luadbi-sqlite3/luadbi-sqlite3.mk b/buildroot-2022.02.1/package/luadbi-sqlite3/luadbi-sqlite3.mk similarity index 100% rename from buildroot-2021.05/package/luadbi-sqlite3/luadbi-sqlite3.mk rename to buildroot-2022.02.1/package/luadbi-sqlite3/luadbi-sqlite3.mk diff --git a/buildroot-2021.05/package/luadbi/Config.in b/buildroot-2022.02.1/package/luadbi/Config.in similarity index 100% rename from buildroot-2021.05/package/luadbi/Config.in rename to buildroot-2022.02.1/package/luadbi/Config.in diff --git a/buildroot-2021.05/package/luadbi/luadbi.hash b/buildroot-2022.02.1/package/luadbi/luadbi.hash similarity index 100% rename from buildroot-2021.05/package/luadbi/luadbi.hash rename to buildroot-2022.02.1/package/luadbi/luadbi.hash diff --git a/buildroot-2021.05/package/luadbi/luadbi.mk b/buildroot-2022.02.1/package/luadbi/luadbi.mk similarity index 100% rename from buildroot-2021.05/package/luadbi/luadbi.mk rename to buildroot-2022.02.1/package/luadbi/luadbi.mk diff --git a/buildroot-2021.05/package/luaexpat/0001-restore-getcurrentbytecount.patch b/buildroot-2022.02.1/package/luaexpat/0001-restore-getcurrentbytecount.patch similarity index 100% rename from buildroot-2021.05/package/luaexpat/0001-restore-getcurrentbytecount.patch rename to buildroot-2022.02.1/package/luaexpat/0001-restore-getcurrentbytecount.patch diff --git a/buildroot-2021.05/package/luaexpat/Config.in b/buildroot-2022.02.1/package/luaexpat/Config.in similarity index 100% rename from buildroot-2021.05/package/luaexpat/Config.in rename to buildroot-2022.02.1/package/luaexpat/Config.in diff --git a/buildroot-2021.05/package/luaexpat/luaexpat.hash b/buildroot-2022.02.1/package/luaexpat/luaexpat.hash similarity index 100% rename from buildroot-2021.05/package/luaexpat/luaexpat.hash rename to buildroot-2022.02.1/package/luaexpat/luaexpat.hash diff --git a/buildroot-2021.05/package/luaexpat/luaexpat.mk b/buildroot-2022.02.1/package/luaexpat/luaexpat.mk similarity index 100% rename from buildroot-2021.05/package/luaexpat/luaexpat.mk rename to buildroot-2022.02.1/package/luaexpat/luaexpat.mk diff --git a/buildroot-2021.05/package/luaexpatutils/Config.in b/buildroot-2022.02.1/package/luaexpatutils/Config.in similarity index 100% rename from buildroot-2021.05/package/luaexpatutils/Config.in rename to buildroot-2022.02.1/package/luaexpatutils/Config.in diff --git a/buildroot-2021.05/package/luaexpatutils/luaexpatutils.hash b/buildroot-2022.02.1/package/luaexpatutils/luaexpatutils.hash similarity index 100% rename from buildroot-2021.05/package/luaexpatutils/luaexpatutils.hash rename to buildroot-2022.02.1/package/luaexpatutils/luaexpatutils.hash diff --git a/buildroot-2021.05/package/luaexpatutils/luaexpatutils.mk b/buildroot-2022.02.1/package/luaexpatutils/luaexpatutils.mk similarity index 100% rename from buildroot-2021.05/package/luaexpatutils/luaexpatutils.mk rename to buildroot-2022.02.1/package/luaexpatutils/luaexpatutils.mk diff --git a/buildroot-2021.05/package/luafilesystem/Config.in b/buildroot-2022.02.1/package/luafilesystem/Config.in similarity index 100% rename from buildroot-2021.05/package/luafilesystem/Config.in rename to buildroot-2022.02.1/package/luafilesystem/Config.in diff --git a/buildroot-2021.05/package/luafilesystem/luafilesystem.hash b/buildroot-2022.02.1/package/luafilesystem/luafilesystem.hash similarity index 100% rename from buildroot-2021.05/package/luafilesystem/luafilesystem.hash rename to buildroot-2022.02.1/package/luafilesystem/luafilesystem.hash diff --git a/buildroot-2021.05/package/luafilesystem/luafilesystem.mk b/buildroot-2022.02.1/package/luafilesystem/luafilesystem.mk similarity index 100% rename from buildroot-2021.05/package/luafilesystem/luafilesystem.mk rename to buildroot-2022.02.1/package/luafilesystem/luafilesystem.mk diff --git a/buildroot-2021.05/package/luainterpreter/Config.in b/buildroot-2022.02.1/package/luainterpreter/Config.in similarity index 100% rename from buildroot-2021.05/package/luainterpreter/Config.in rename to buildroot-2022.02.1/package/luainterpreter/Config.in diff --git a/buildroot-2021.05/package/luainterpreter/luainterpreter.mk b/buildroot-2022.02.1/package/luainterpreter/luainterpreter.mk similarity index 100% rename from buildroot-2021.05/package/luainterpreter/luainterpreter.mk rename to buildroot-2022.02.1/package/luainterpreter/luainterpreter.mk diff --git a/buildroot-2021.05/package/luajit/0001-no-bin-symlink.patch b/buildroot-2022.02.1/package/luajit/0001-no-bin-symlink.patch similarity index 100% rename from buildroot-2021.05/package/luajit/0001-no-bin-symlink.patch rename to buildroot-2022.02.1/package/luajit/0001-no-bin-symlink.patch diff --git a/buildroot-2021.05/package/luajit/0002-install-inc.patch b/buildroot-2022.02.1/package/luajit/0002-install-inc.patch similarity index 100% rename from buildroot-2021.05/package/luajit/0002-install-inc.patch rename to buildroot-2022.02.1/package/luajit/0002-install-inc.patch diff --git a/buildroot-2022.02.1/package/luajit/Config.in b/buildroot-2022.02.1/package/luajit/Config.in new file mode 100644 index 00000000..3111a254 --- /dev/null +++ b/buildroot-2022.02.1/package/luajit/Config.in @@ -0,0 +1,47 @@ +config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS + bool + default y if BR2_arm || BR2_armeb || BR2_aarch64 + default y if BR2_i386 || BR2_x86_64 + default y if (BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT \ + && !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6 + default y if BR2_powerpc + # -m32 flag is used for 32bit builds and host-luajit has + # limited architecture support + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + # Building for 64-bit target requires a 64-bit host + depends on !BR2_ARCH_IS_64 || BR2_HOSTARCH = "x86_64" + +config BR2_PACKAGE_LUAJIT + bool "luajit" + depends on !BR2_STATIC_LIBS # dlopen + # Luajit is only available for some target architectures, and + # has some complexity wrt 32/64. See luajit.mk for details. + depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS + # luajit.mk uses the "-m32" compiler option to build 32bit + # binaries, so check if that option is supported. See + # luajit.mk for details. + select BR2_PACKAGE_HAS_LUAINTERPRETER + select BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64 + help + LuaJIT implements the full set of language features defined + by Lua 5.1. The virtual machine (VM) is API- and + ABI-compatible to the standard Lua interpreter and can be + deployed as a drop-in replacement. + + https://luajit.org/luajit.html + +if BR2_PACKAGE_LUAJIT + +config BR2_PACKAGE_PROVIDES_LUAINTERPRETER + default "luajit" + +config BR2_PACKAGE_LUAJIT_COMPAT52 + bool "Lua 5.2 compatibility" + help + Compile with Lua 5.2 compatibility. + +endif + +comment "luajit needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/luajit/luajit.hash b/buildroot-2022.02.1/package/luajit/luajit.hash new file mode 100644 index 00000000..d92eefb3 --- /dev/null +++ b/buildroot-2022.02.1/package/luajit/luajit.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 7ea92e2414b6405c7fb3974ab092707c400a5496e8d4936174b5bd3aa6e94477 luajit-a91d0d9d3bba1a936669cfac3244509a0f2ac0e3.tar.gz + +# Locally calculated +sha256 43fc251179d900f9948e51dd3cc93733d1219f2db060faaa0c8100ad054f54d8 COPYRIGHT diff --git a/buildroot-2022.02.1/package/luajit/luajit.mk b/buildroot-2022.02.1/package/luajit/luajit.mk new file mode 100644 index 00000000..cca80630 --- /dev/null +++ b/buildroot-2022.02.1/package/luajit/luajit.mk @@ -0,0 +1,81 @@ +################################################################################ +# +# luajit +# +################################################################################ + +LUAJIT_VERSION = a91d0d9d3bba1a936669cfac3244509a0f2ac0e3 +LUAJIT_SITE = $(call github,LuaJIT,LuaJIT,$(LUAJIT_VERSION)) +LUAJIT_LICENSE = MIT +LUAJIT_LICENSE_FILES = COPYRIGHT +LUAJIT_CPE_ID_VENDOR = luajit + +LUAJIT_INSTALL_STAGING = YES + +LUAJIT_PROVIDES = luainterpreter + +ifeq ($(BR2_PACKAGE_LUAJIT_COMPAT52),y) +LUAJIT_XCFLAGS += -DLUAJIT_ENABLE_LUA52COMPAT +endif + +# The luajit build procedure requires the host compiler to have the +# same bitness as the target compiler. Therefore, on a x86 build +# machine, we can't build luajit for x86_64, which is checked in +# Config.in. When the target is a 32 bits target, we pass -m32 to +# ensure that even on 64 bits build machines, a compiler of the same +# bitness is used. Of course, this assumes that the 32 bits multilib +# libraries are installed. +ifeq ($(BR2_ARCH_IS_64),y) +LUAJIT_HOST_CC = $(HOSTCC) +# There is no LUAJIT_ENABLE_GC64 option. +else +LUAJIT_HOST_CC = $(HOSTCC) -m32 +LUAJIT_XCFLAGS += -DLUAJIT_DISABLE_GC64 +endif + +# We unfortunately can't use TARGET_CONFIGURE_OPTS, because the luajit +# build system uses non conventional variable names. +define LUAJIT_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" \ + STATIC_CC="$(TARGET_CC)" \ + DYNAMIC_CC="$(TARGET_CC) -fPIC" \ + TARGET_LD="$(TARGET_CC)" \ + TARGET_AR="$(TARGET_AR) rcus" \ + TARGET_STRIP=true \ + TARGET_CFLAGS="$(TARGET_CFLAGS)" \ + TARGET_LDFLAGS="$(TARGET_LDFLAGS)" \ + HOST_CC="$(LUAJIT_HOST_CC)" \ + HOST_CFLAGS="$(HOST_CFLAGS)" \ + HOST_LDFLAGS="$(HOST_LDFLAGS)" \ + BUILDMODE=dynamic \ + XCFLAGS="$(LUAJIT_XCFLAGS)" \ + -C $(@D) amalg +endef + +define LUAJIT_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" DESTDIR="$(STAGING_DIR)" LDCONFIG=true -C $(@D) install +endef + +define LUAJIT_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" LDCONFIG=true -C $(@D) install +endef + +define LUAJIT_INSTALL_SYMLINK + ln -fs luajit $(TARGET_DIR)/usr/bin/lua +endef +LUAJIT_POST_INSTALL_TARGET_HOOKS += LUAJIT_INSTALL_SYMLINK + +# host-efl package needs host-luajit to be linked dynamically. +define HOST_LUAJIT_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) PREFIX="$(HOST_DIR)" BUILDMODE=dynamic \ + TARGET_LDFLAGS="$(HOST_LDFLAGS)" \ + XCFLAGS="$(LUAJIT_XCFLAGS)" \ + -C $(@D) amalg +endef + +define HOST_LUAJIT_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) PREFIX="$(HOST_DIR)" LDCONFIG=true -C $(@D) install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/luajson/Config.in b/buildroot-2022.02.1/package/luajson/Config.in similarity index 100% rename from buildroot-2021.05/package/luajson/Config.in rename to buildroot-2022.02.1/package/luajson/Config.in diff --git a/buildroot-2021.05/package/luajson/luajson.hash b/buildroot-2022.02.1/package/luajson/luajson.hash similarity index 100% rename from buildroot-2021.05/package/luajson/luajson.hash rename to buildroot-2022.02.1/package/luajson/luajson.hash diff --git a/buildroot-2021.05/package/luajson/luajson.mk b/buildroot-2022.02.1/package/luajson/luajson.mk similarity index 100% rename from buildroot-2021.05/package/luajson/luajson.mk rename to buildroot-2022.02.1/package/luajson/luajson.mk diff --git a/buildroot-2021.05/package/lualdap/Config.in b/buildroot-2022.02.1/package/lualdap/Config.in similarity index 100% rename from buildroot-2021.05/package/lualdap/Config.in rename to buildroot-2022.02.1/package/lualdap/Config.in diff --git a/buildroot-2022.02.1/package/lualdap/lualdap.hash b/buildroot-2022.02.1/package/lualdap/lualdap.hash new file mode 100644 index 00000000..a65260b1 --- /dev/null +++ b/buildroot-2022.02.1/package/lualdap/lualdap.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 49c253f540187c61850c856b8e70e45dca904b81720a760f6a94e4eb474958ad lualdap-1.3.0-1.src.rock +sha256 b9b75da18d1e1147ec47bff508ffdce831da07dc371891b9057cf1c422660af4 lualdap/docs/license.md diff --git a/buildroot-2022.02.1/package/lualdap/lualdap.mk b/buildroot-2022.02.1/package/lualdap/lualdap.mk new file mode 100644 index 00000000..5dfba8b7 --- /dev/null +++ b/buildroot-2022.02.1/package/lualdap/lualdap.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# lualdap +# +################################################################################ + +LUALDAP_VERSION = 1.3.0-1 +LUALDAP_SUBDIR = lualdap +LUALDAP_LICENSE = MIT +LUALDAP_LICENSE_FILES = $(LUALDAP_SUBDIR)/docs/license.md +LUALDAP_DEPENDENCIES = openldap + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/lualogging/Config.in b/buildroot-2022.02.1/package/lualogging/Config.in similarity index 100% rename from buildroot-2021.05/package/lualogging/Config.in rename to buildroot-2022.02.1/package/lualogging/Config.in diff --git a/buildroot-2022.02.1/package/lualogging/lualogging.hash b/buildroot-2022.02.1/package/lualogging/lualogging.hash new file mode 100644 index 00000000..294ef95a --- /dev/null +++ b/buildroot-2022.02.1/package/lualogging/lualogging.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 d29c9c78e4266d9390069b2a5f7afacfcf9189dea12ce3774a5aa4e3cdbcd89f lualogging-1.6.0-1.src.rock +sha256 4d95b123e667a13615f567a829aa39211dd55b0b48c9f247bf3fcc5c0b485da7 lualogging/COPYRIGHT diff --git a/buildroot-2022.02.1/package/lualogging/lualogging.mk b/buildroot-2022.02.1/package/lualogging/lualogging.mk new file mode 100644 index 00000000..4d01f546 --- /dev/null +++ b/buildroot-2022.02.1/package/lualogging/lualogging.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# lualogging +# +################################################################################ + +LUALOGGING_VERSION = 1.6.0-1 +LUALOGGING_SUBDIR = lualogging +LUALOGGING_LICENSE = MIT +LUALOGGING_LICENSE_FILES = $(LUALOGGING_SUBDIR)/COPYRIGHT + +$(eval $(luarocks-package)) diff --git a/buildroot-2022.02.1/package/luaossl/Config.in b/buildroot-2022.02.1/package/luaossl/Config.in new file mode 100644 index 00000000..f84c59f2 --- /dev/null +++ b/buildroot-2022.02.1/package/luaossl/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_LUAOSSL + bool "luaossl" + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + luaossl is a comprehensive binding to OpenSSL for Lua 5.1, + 5.2, and later. + + It includes support for certificate and key management, + key generation, signature verification, and deep bindings + to the distinguished name, alternative name, and X.509v3 + extension interfaces. It also binds OpenSSL's bignum, message + digest, HMAC, cipher, and CSPRNG interfaces. + + http://25thandclement.com/~william/projects/luaossl.html + +comment "luaossl needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/luaossl/luaossl.hash b/buildroot-2022.02.1/package/luaossl/luaossl.hash similarity index 100% rename from buildroot-2021.05/package/luaossl/luaossl.hash rename to buildroot-2022.02.1/package/luaossl/luaossl.hash diff --git a/buildroot-2021.05/package/luaossl/luaossl.mk b/buildroot-2022.02.1/package/luaossl/luaossl.mk similarity index 100% rename from buildroot-2021.05/package/luaossl/luaossl.mk rename to buildroot-2022.02.1/package/luaossl/luaossl.mk diff --git a/buildroot-2021.05/package/luaposix/Config.in b/buildroot-2022.02.1/package/luaposix/Config.in similarity index 100% rename from buildroot-2021.05/package/luaposix/Config.in rename to buildroot-2022.02.1/package/luaposix/Config.in diff --git a/buildroot-2022.02.1/package/luaposix/luaposix.hash b/buildroot-2022.02.1/package/luaposix/luaposix.hash new file mode 100644 index 00000000..ee76ea10 --- /dev/null +++ b/buildroot-2022.02.1/package/luaposix/luaposix.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 1b5c48d2abd59de0738d1fc1e6204e44979ad2a1a26e8e22a2d6215dd502c797 luaposix-35.1.tar.gz +sha256 f50bc0f3197523b1709f31707425f2de95f8a45534b081a6b564179ab059e850 LICENSE diff --git a/buildroot-2022.02.1/package/luaposix/luaposix.mk b/buildroot-2022.02.1/package/luaposix/luaposix.mk new file mode 100644 index 00000000..fa267091 --- /dev/null +++ b/buildroot-2022.02.1/package/luaposix/luaposix.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# luaposix +# +################################################################################ + +LUAPOSIX_VERSION = 35.1 +LUAPOSIX_SITE = $(call github,luaposix,luaposix,v$(LUAPOSIX_VERSION)) +LUAPOSIX_LICENSE = MIT +LUAPOSIX_LICENSE_FILES = LICENSE +LUAPOSIX_DEPENDENCIES = luainterpreter host-lua + +define LUAPOSIX_BUILD_CMDS + (cd $(@D); \ + $(LUA_RUN) build-aux/luke \ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + LUA_INCDIR=$(STAGING_DIR)/usr/include \ + ) +endef + +define LUAPOSIX_INSTALL_TARGET_CMDS + (cd $(@D); \ + $(LUA_RUN) build-aux/luke install \ + INST_LIBDIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \ + INST_LUADIR="$(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)" \ + ) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/luarocks/buildroot.lua b/buildroot-2022.02.1/package/luarocks/buildroot.lua similarity index 100% rename from buildroot-2021.05/package/luarocks/buildroot.lua rename to buildroot-2022.02.1/package/luarocks/buildroot.lua diff --git a/buildroot-2022.02.1/package/luarocks/luarocks.hash b/buildroot-2022.02.1/package/luarocks/luarocks.hash new file mode 100644 index 00000000..d80e08a2 --- /dev/null +++ b/buildroot-2022.02.1/package/luarocks/luarocks.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 56ab9b90f5acbc42eb7a94cf482e6c058a63e8a1effdf572b8b2a6323a06d923 luarocks-3.8.0.tar.gz +sha256 542ad0ee9b8ba582437ca7b4d0959c9b9432f25d2067f144d017188a7a84dd2f COPYING diff --git a/buildroot-2022.02.1/package/luarocks/luarocks.mk b/buildroot-2022.02.1/package/luarocks/luarocks.mk new file mode 100644 index 00000000..028e144e --- /dev/null +++ b/buildroot-2022.02.1/package/luarocks/luarocks.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# luarocks +# +################################################################################ + +LUAROCKS_VERSION = 3.8.0 +LUAROCKS_SITE = https://luarocks.org/releases +LUAROCKS_LICENSE = MIT +LUAROCKS_LICENSE_FILES = COPYING + +HOST_LUAROCKS_DEPENDENCIES = host-luainterpreter + +LUAROCKS_CONFIG_DIR = $(HOST_DIR)/etc +LUAROCKS_CONFIG_FILE_DEFAULT = $(LUAROCKS_CONFIG_DIR)/luarocks/config-$(LUAINTERPRETER_ABIVER).lua +LUAROCKS_CONFIG_FILE = $(LUAROCKS_CONFIG_DIR)/luarocks/config.lua +HOST_LUAROCKS_CONFIG_FILE = $(LUAROCKS_CONFIG_DIR)/luarocks/host-config.lua + +define LUAROCKS_ADDON_EXTRACT + $(INSTALL) -D -m 0644 package/luarocks/buildroot.lua $(@D)/src/luarocks/cmd/external/buildroot.lua +endef +HOST_LUAROCKS_POST_EXTRACT_HOOKS += LUAROCKS_ADDON_EXTRACT + +HOST_LUAROCKS_CONF_OPTS = \ + --prefix=$(HOST_DIR) \ + --sysconfdir=$(LUAROCKS_CONFIG_DIR) \ + --with-lua=$(HOST_DIR) + +define HOST_LUAROCKS_CONFIGURE_CMDS + cd $(@D) && ./configure $(HOST_LUAROCKS_CONF_OPTS) +endef + +define HOST_LUAROCKS_INSTALL_CMDS + rm -f $(LUAROCKS_CONFIG_FILE_DEFAULT) + $(MAKE1) -C $(@D) install + cp $(LUAROCKS_CONFIG_FILE_DEFAULT) $(LUAROCKS_CONFIG_FILE) + echo "-- BR cross-compilation" >> $(LUAROCKS_CONFIG_FILE) + echo "gcc_rpath = false" >> $(LUAROCKS_CONFIG_FILE) + echo "wrap_bin_scripts = false" >> $(LUAROCKS_CONFIG_FILE) + cp $(LUAROCKS_CONFIG_FILE_DEFAULT) $(HOST_LUAROCKS_CONFIG_FILE) + rm -f $(LUAROCKS_CONFIG_FILE_DEFAULT) +endef + +$(eval $(host-generic-package)) + +define LUAROCKS_FINALIZE_TARGET + rm -rf $(TARGET_DIR)/usr/lib/luarocks +endef + +# Apply to global variable directly, as pkg-generic does not +ifneq ($(BR2_PACKAGE_LUAJIT)$(BR2_PACKAGE_LUA),) +TARGET_FINALIZE_HOOKS += LUAROCKS_FINALIZE_TARGET +endif diff --git a/buildroot-2021.05/package/luasec/Config.in b/buildroot-2022.02.1/package/luasec/Config.in similarity index 100% rename from buildroot-2021.05/package/luasec/Config.in rename to buildroot-2022.02.1/package/luasec/Config.in diff --git a/buildroot-2022.02.1/package/luasec/luasec.hash b/buildroot-2022.02.1/package/luasec/luasec.hash new file mode 100644 index 00000000..1e381612 --- /dev/null +++ b/buildroot-2022.02.1/package/luasec/luasec.hash @@ -0,0 +1,3 @@ +# computed by luarocks/buildroot +sha256 7ed5d08aad8f0e8659abb3f43c935da1c898474d4dc121e9edfbeae5c4c67fb0 luasec-1.0.2-1.src.rock +sha256 84376baf33cefbcc1e9adbca23fcf87f51c1107956660cda2880feaef86d6075 luasec/LICENSE diff --git a/buildroot-2022.02.1/package/luasec/luasec.mk b/buildroot-2022.02.1/package/luasec/luasec.mk new file mode 100644 index 00000000..4ace94d1 --- /dev/null +++ b/buildroot-2022.02.1/package/luasec/luasec.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# luasec +# +################################################################################ + +LUASEC_VERSION = 1.0.2-1 +LUASEC_SUBDIR = luasec +LUASEC_LICENSE = MIT +LUASEC_LICENSE_FILES = $(LUASEC_SUBDIR)/LICENSE +LUASEC_DEPENDENCIES = openssl + +$(eval $(luarocks-package)) diff --git a/buildroot-2021.05/package/luasocket/Config.in b/buildroot-2022.02.1/package/luasocket/Config.in similarity index 100% rename from buildroot-2021.05/package/luasocket/Config.in rename to buildroot-2022.02.1/package/luasocket/Config.in diff --git a/buildroot-2021.05/package/luasocket/luasocket.hash b/buildroot-2022.02.1/package/luasocket/luasocket.hash similarity index 100% rename from buildroot-2021.05/package/luasocket/luasocket.hash rename to buildroot-2022.02.1/package/luasocket/luasocket.hash diff --git a/buildroot-2021.05/package/luasocket/luasocket.mk b/buildroot-2022.02.1/package/luasocket/luasocket.mk similarity index 100% rename from buildroot-2021.05/package/luasocket/luasocket.mk rename to buildroot-2022.02.1/package/luasocket/luasocket.mk diff --git a/buildroot-2021.05/package/luasql-sqlite3/Config.in b/buildroot-2022.02.1/package/luasql-sqlite3/Config.in similarity index 100% rename from buildroot-2021.05/package/luasql-sqlite3/Config.in rename to buildroot-2022.02.1/package/luasql-sqlite3/Config.in diff --git a/buildroot-2021.05/package/luasql-sqlite3/luasql-sqlite3.hash b/buildroot-2022.02.1/package/luasql-sqlite3/luasql-sqlite3.hash similarity index 100% rename from buildroot-2021.05/package/luasql-sqlite3/luasql-sqlite3.hash rename to buildroot-2022.02.1/package/luasql-sqlite3/luasql-sqlite3.hash diff --git a/buildroot-2021.05/package/luasql-sqlite3/luasql-sqlite3.mk b/buildroot-2022.02.1/package/luasql-sqlite3/luasql-sqlite3.mk similarity index 100% rename from buildroot-2021.05/package/luasql-sqlite3/luasql-sqlite3.mk rename to buildroot-2022.02.1/package/luasql-sqlite3/luasql-sqlite3.mk diff --git a/buildroot-2021.05/package/luasyslog/0001-remove-AX_LUA_LIBS.patch b/buildroot-2022.02.1/package/luasyslog/0001-remove-AX_LUA_LIBS.patch similarity index 100% rename from buildroot-2021.05/package/luasyslog/0001-remove-AX_LUA_LIBS.patch rename to buildroot-2022.02.1/package/luasyslog/0001-remove-AX_LUA_LIBS.patch diff --git a/buildroot-2021.05/package/luasyslog/Config.in b/buildroot-2022.02.1/package/luasyslog/Config.in similarity index 100% rename from buildroot-2021.05/package/luasyslog/Config.in rename to buildroot-2022.02.1/package/luasyslog/Config.in diff --git a/buildroot-2022.02.1/package/luasyslog/luasyslog.hash b/buildroot-2022.02.1/package/luasyslog/luasyslog.hash new file mode 100644 index 00000000..1e2a5dde --- /dev/null +++ b/buildroot-2022.02.1/package/luasyslog/luasyslog.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b1b19ca142130f93c3f8f2e85303ff50cc6f4ed4aa52b8569176ae56e3dc3f43 luasyslog-2.2.1.tar.gz +sha256 833457938f5155e65dabda12a5c9d4b6fd7fb92dd7ead584c1c30cfb0c84adf4 COPYING diff --git a/buildroot-2022.02.1/package/luasyslog/luasyslog.mk b/buildroot-2022.02.1/package/luasyslog/luasyslog.mk new file mode 100644 index 00000000..972d4c5a --- /dev/null +++ b/buildroot-2022.02.1/package/luasyslog/luasyslog.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# luasyslog +# +################################################################################ + +LUASYSLOG_VERSION = 2.2.1 +LUASYSLOG_SITE = $(call github,ntd,luasyslog,$(LUASYSLOG_VERSION)) +LUASYSLOG_DEPENDENCIES = host-luarocks luainterpreter +LUASYSLOG_LICENSE = MIT +LUASYSLOG_LICENSE_FILES = COPYING +# fetching from github +# 0001-remove-AX_LUA_LIBS.patch touches configure.ac +LUASYSLOG_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lugaru/0001-ImageIO-fix-invalid-conversion.patch b/buildroot-2022.02.1/package/lugaru/0001-ImageIO-fix-invalid-conversion.patch similarity index 100% rename from buildroot-2021.05/package/lugaru/0001-ImageIO-fix-invalid-conversion.patch rename to buildroot-2022.02.1/package/lugaru/0001-ImageIO-fix-invalid-conversion.patch diff --git a/buildroot-2021.05/package/lugaru/0002-Fix-mismatched-usage-length-build-fail-on-g.patch b/buildroot-2022.02.1/package/lugaru/0002-Fix-mismatched-usage-length-build-fail-on-g.patch similarity index 100% rename from buildroot-2021.05/package/lugaru/0002-Fix-mismatched-usage-length-build-fail-on-g.patch rename to buildroot-2022.02.1/package/lugaru/0002-Fix-mismatched-usage-length-build-fail-on-g.patch diff --git a/buildroot-2021.05/package/lugaru/Config.in b/buildroot-2022.02.1/package/lugaru/Config.in similarity index 100% rename from buildroot-2021.05/package/lugaru/Config.in rename to buildroot-2022.02.1/package/lugaru/Config.in diff --git a/buildroot-2021.05/package/lugaru/lugaru.hash b/buildroot-2022.02.1/package/lugaru/lugaru.hash similarity index 100% rename from buildroot-2021.05/package/lugaru/lugaru.hash rename to buildroot-2022.02.1/package/lugaru/lugaru.hash diff --git a/buildroot-2021.05/package/lugaru/lugaru.mk b/buildroot-2022.02.1/package/lugaru/lugaru.mk similarity index 100% rename from buildroot-2021.05/package/lugaru/lugaru.mk rename to buildroot-2022.02.1/package/lugaru/lugaru.mk diff --git a/buildroot-2021.05/package/luksmeta/Config.in b/buildroot-2022.02.1/package/luksmeta/Config.in similarity index 100% rename from buildroot-2021.05/package/luksmeta/Config.in rename to buildroot-2022.02.1/package/luksmeta/Config.in diff --git a/buildroot-2021.05/package/luksmeta/luksmeta.hash b/buildroot-2022.02.1/package/luksmeta/luksmeta.hash similarity index 100% rename from buildroot-2021.05/package/luksmeta/luksmeta.hash rename to buildroot-2022.02.1/package/luksmeta/luksmeta.hash diff --git a/buildroot-2021.05/package/luksmeta/luksmeta.mk b/buildroot-2022.02.1/package/luksmeta/luksmeta.mk similarity index 100% rename from buildroot-2021.05/package/luksmeta/luksmeta.mk rename to buildroot-2022.02.1/package/luksmeta/luksmeta.mk diff --git a/buildroot-2021.05/package/lutok/Config.in b/buildroot-2022.02.1/package/lutok/Config.in similarity index 100% rename from buildroot-2021.05/package/lutok/Config.in rename to buildroot-2022.02.1/package/lutok/Config.in diff --git a/buildroot-2021.05/package/lutok/lutok.hash b/buildroot-2022.02.1/package/lutok/lutok.hash similarity index 100% rename from buildroot-2021.05/package/lutok/lutok.hash rename to buildroot-2022.02.1/package/lutok/lutok.hash diff --git a/buildroot-2021.05/package/lutok/lutok.mk b/buildroot-2022.02.1/package/lutok/lutok.mk similarity index 100% rename from buildroot-2021.05/package/lutok/lutok.mk rename to buildroot-2022.02.1/package/lutok/lutok.mk diff --git a/buildroot-2021.05/package/luv/Config.in b/buildroot-2022.02.1/package/luv/Config.in similarity index 100% rename from buildroot-2021.05/package/luv/Config.in rename to buildroot-2022.02.1/package/luv/Config.in diff --git a/buildroot-2022.02.1/package/luv/luv.hash b/buildroot-2022.02.1/package/luv/luv.hash new file mode 100644 index 00000000..2fb2b5c4 --- /dev/null +++ b/buildroot-2022.02.1/package/luv/luv.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 4b6fbaa89d2420edf6070ad9e522993e132bd7eb2540ff754c2b9f1497744db2 luv-1.42.0-1.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt diff --git a/buildroot-2022.02.1/package/luv/luv.mk b/buildroot-2022.02.1/package/luv/luv.mk new file mode 100644 index 00000000..2dc9af3b --- /dev/null +++ b/buildroot-2022.02.1/package/luv/luv.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# luv +# +################################################################################ + +LUV_VERSION = 1.42.0-1 +LUV_SITE = https://github.com/luvit/luv/releases/download/$(LUV_VERSION) +LUV_LICENSE = Apache-2.0 +LUV_LICENSE_FILES = LICENSE.txt +LUV_DEPENDENCIES = libuv +LUV_INSTALL_STAGING = YES + +LUV_CONF_OPTS += \ + -DBUILD_MODULE=OFF \ + -DWITH_SHARED_LIBUV=ON \ + -DLUA_BUILD_TYPE=System + +ifeq ($(BR2_PACKAGE_LUAJIT),y) +LUV_DEPENDENCIES += luajit +LUV_CONF_OPTS += \ + -DWITH_LUA_ENGINE=LuaJIT +else +LUV_DEPENDENCIES += lua +LUV_CONF_OPTS += \ + -DWITH_LUA_ENGINE=Lua +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/luvi/Config.in b/buildroot-2022.02.1/package/luvi/Config.in new file mode 100644 index 00000000..6e96f85f --- /dev/null +++ b/buildroot-2022.02.1/package/luvi/Config.in @@ -0,0 +1,34 @@ +config BR2_PACKAGE_LUVI + bool "luvi" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv + depends on BR2_USE_MMU # libuv + depends on !BR2_STATIC_LIBS # libuv + depends on BR2_PACKAGE_LUAJIT + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv + select BR2_PACKAGE_LIBUV + select BR2_PACKAGE_LUV + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + A project in-between luv and luvit. The goal of this is to + make building luvit and derivatives much easier. + + luvi extends LuaJIT with asynchronous I/O and several optional + modules to run Lua applications and build self-contained + binaries on systems that don't have a compiler. + + The luvi core can be extended with several Lua modules by + adding its bundled Lua binding libraries. + To get the Lua module... + * 'rex' select PCRE (BR2_PACKAGE_PCRE) + * 'ssl' select OpenSSL (BR2_PACKAGE_OPENSSL) + * 'zlib' select zlib (BR2_PACKAGE_ZLIB) + + https://github.com/luvit/luvi + +comment "luvi needs a toolchain w/ NPTL, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + +comment "luvi needs LuaJIT" + depends on !BR2_PACKAGE_LUAJIT diff --git a/buildroot-2021.05/package/luvi/luvi.hash b/buildroot-2022.02.1/package/luvi/luvi.hash similarity index 100% rename from buildroot-2021.05/package/luvi/luvi.hash rename to buildroot-2022.02.1/package/luvi/luvi.hash diff --git a/buildroot-2022.02.1/package/luvi/luvi.mk b/buildroot-2022.02.1/package/luvi/luvi.mk new file mode 100644 index 00000000..5daa3c17 --- /dev/null +++ b/buildroot-2022.02.1/package/luvi/luvi.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# luvi +# +################################################################################ + +LUVI_VERSION = 2.12.0 +LUVI_SOURCE = luvi-src-v$(LUVI_VERSION).tar.gz +LUVI_SITE = https://github.com/luvit/luvi/releases/download/v$(LUVI_VERSION) +LUVI_LICENSE = Apache-2.0 +LUVI_LICENSE_FILES = LICENSE.txt +LUVI_DEPENDENCIES = libuv luajit luv host-luajit host-pkgconf + +# Dispatch all architectures of LuaJIT +ifeq ($(BR2_i386),y) +LUVI_TARGET_ARCH = x86 +else ifeq ($(BR2_x86_64),y) +LUVI_TARGET_ARCH = x64 +else ifeq ($(BR2_powerpc),y) +LUVI_TARGET_ARCH = ppc +else ifeq ($(BR2_arm)$(BR2_armeb),y) +LUVI_TARGET_ARCH = arm +else ifeq ($(BR2_aarch64),y) +LUVI_TARGET_ARCH = arm64 +else ifeq ($(BR2_mips),y) +LUVI_TARGET_ARCH = mips +else ifeq ($(BR2_mipsel),y) +LUVI_TARGET_ARCH = mipsel +else +LUVI_TARGET_ARCH = $(BR2_ARCH) +endif + +# LUAJIT_VERSION and the luajit installation path may not use the +# same value. Use the value from luajit.pc file. +LUVI_LUAJIT_VERSION = `$(PKG_CONFIG_HOST_BINARY) --variable=version luajit` + +# Bundled lua bindings have to be linked statically into the luvi executable +LUVI_CONF_OPTS = \ + -DBUILD_SHARED_LIBS=OFF \ + -DWithSharedLibluv=ON \ + -DTARGET_ARCH=$(LUVI_TARGET_ARCH) \ + -DLUA_PATH=$(HOST_DIR)/share/luajit-$(LUVI_LUAJIT_VERSION)/?.lua + +# Add "rex" module (PCRE via bundled lrexlib) +ifeq ($(BR2_PACKAGE_PCRE),y) +LUVI_DEPENDENCIES += pcre +LUVI_CONF_OPTS += -DWithPCRE=ON -DWithSharedPCRE=ON +else +LUVI_CONF_OPTS += -DWithPCRE=OFF -DWithSharedPCRE=OFF +endif + +# Add "ssl" module (via bundled lua-openssl) +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LUVI_DEPENDENCIES += openssl +LUVI_CONF_OPTS += -DWithOpenSSL=ON -DWithOpenSSLASM=ON -DWithSharedOpenSSL=ON +else +LUVI_CONF_OPTS += -DWithOpenSSL=OFF -DWithOpenSSLASM=OFF -DWithSharedOpenSSL=OFF +endif + +# Add "zlib" module (via bundled lua-zlib) +ifeq ($(BR2_PACKAGE_ZLIB),y) +LUVI_DEPENDENCIES += zlib +LUVI_CONF_OPTS += -DWithZLIB=ON -DWithSharedZLIB=ON +else +LUVI_CONF_OPTS += -DWithZLIB=OFF -DWithSharedZLIB=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/lv2/Config.in b/buildroot-2022.02.1/package/lv2/Config.in new file mode 100644 index 00000000..aeeb6d04 --- /dev/null +++ b/buildroot-2022.02.1/package/lv2/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_LV2 + bool "lv2" + help + LV2 is a plugin standard for audio systems. It defines + a minimal yet extensible C API for plugin code and a + format for plugin "bundles". + + https://lv2plug.in/ diff --git a/buildroot-2022.02.1/package/lv2/lv2.hash b/buildroot-2022.02.1/package/lv2/lv2.hash new file mode 100644 index 00000000..ed21620b --- /dev/null +++ b/buildroot-2022.02.1/package/lv2/lv2.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking signature +# https://lv2plug.in/spec/lv2-1.18.2.tar.bz2.asc +sha256 4e891fbc744c05855beb5dfa82e822b14917dd66e98f82b8230dbd1c7ab2e05e lv2-1.18.2.tar.bz2 +sha256 0b0b07d852e3ce7fa04986e141f73001bd7f260683968f0a19e02dbcc4131aa6 COPYING diff --git a/buildroot-2022.02.1/package/lv2/lv2.mk b/buildroot-2022.02.1/package/lv2/lv2.mk new file mode 100644 index 00000000..13ffaa34 --- /dev/null +++ b/buildroot-2022.02.1/package/lv2/lv2.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# lv2 +# +################################################################################ + +LV2_VERSION = 1.18.2 +LV2_SITE = https://lv2plug.in/spec +LV2_SOURCE = lv2-$(LV2_VERSION).tar.bz2 +LV2_LICENSE = ISC +LV2_LICENSE_FILES = COPYING +LV2_DEPENDENCIES = host-pkgconf +LV2_INSTALL_STAGING = YES + +LV2_CONF_OPTS += \ + --no-coverage \ + --no-check-links \ + --copy-headers + +ifeq ($(BR2_PACKAGE_CAIRO),y) +LV2_DEPENDENCIES += cairo +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +LV2_DEPENDENCIES += libsndfile +endif + +ifeq ($(BR2_PACKAGE_LIBGTK2),y) +LV2_DEPENDENCIES += libgtk2 +endif + +ifeq ($(BR2_STATIC_LIBS),y) +LV2_CONF_OPTS += --no-plugins +endif + +$(eval $(waf-package)) diff --git a/buildroot-2022.02.1/package/lvm2/Config.in b/buildroot-2022.02.1/package/lvm2/Config.in new file mode 100644 index 00000000..cc740dd4 --- /dev/null +++ b/buildroot-2022.02.1/package/lvm2/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_LVM2 + bool "lvm2 & device mapper" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # needs fork() + depends on !BR2_STATIC_LIBS # It fails to build statically + select BR2_PACKAGE_LIBAIO + help + This is LVM2, the rewrite of The Linux Logical Volume Manager. + LVM supports enterprise level volume management of disk and + disk subsystems by grouping arbitrary disks into volume + groups. The total capacity of volume groups can be allocated + to logical volumes, which are accessed as regular block + devices. + + The Linux Kernel Device Mapper is the LVM + (Linux Logical Volume Management) Team's implementation of a + minimalistic kernel-space driver that handles volume + management, while keeping knowledge of the underlying device + layout in user-space. This makes it useful for not only LVM, + but EVMS, software raid, and other drivers that create + "virtual" block devices. + + http://www.sourceware.org/lvm2/ + +if BR2_PACKAGE_LVM2 + +config BR2_PACKAGE_LVM2_STANDARD_INSTALL + bool "standard install instead of only dmsetup" + default y + # http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html + depends on !BR2_TOOLCHAIN_USES_MUSL + help + Install the standard suite of lvm2 programs. When this option + is not set, only dmsetup is installed. + +comment "lvm2 standard install needs a glibc or uClibc toolchain" + depends on BR2_TOOLCHAIN_USES_MUSL + +endif + +comment "lvm2 needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/lvm2/lvm2.hash b/buildroot-2022.02.1/package/lvm2/lvm2.hash new file mode 100644 index 00000000..c52eaee1 --- /dev/null +++ b/buildroot-2022.02.1/package/lvm2/lvm2.hash @@ -0,0 +1,5 @@ +# From http://sources.redhat.com/pub/lvm2/sha512.sum +sha512 6a93bed1d5cf36f0f48d4d413d028b0e480cd4fc20e25d173770a892f265d2a0cc68d01a720b1513469953649e989532cd0c45f9538f92a4190eb3dc4555857d LVM2.2.03.14.tgz +# Locally computed sha256 checksums +sha256 e76fbcd2fb97cf202da330301327754d2db5c58b5b4bebd3a8a749393e7603d1 COPYING +sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING.LIB diff --git a/buildroot-2022.02.1/package/lvm2/lvm2.mk b/buildroot-2022.02.1/package/lvm2/lvm2.mk new file mode 100644 index 00000000..89fdf2c1 --- /dev/null +++ b/buildroot-2022.02.1/package/lvm2/lvm2.mk @@ -0,0 +1,79 @@ +################################################################################ +# +# lvm2 +# +################################################################################ + +LVM2_VERSION = 2.03.14 +LVM2_SOURCE = LVM2.$(LVM2_VERSION).tgz +LVM2_SITE = http://sources.redhat.com/pub/lvm2 +LVM2_INSTALL_STAGING = YES +LVM2_LICENSE = GPL-2.0, LGPL-2.1 +LVM2_LICENSE_FILES = COPYING COPYING.LIB +LVM2_CPE_ID_PRODUCT = redhat +# parallel build issues +LVM2_MAKE = $(MAKE1) + +# Make sure that binaries and libraries are installed with write +# permissions for the owner. We disable NLS because it's broken, and +# the package anyway doesn't provide any translation files. +LVM2_CONF_OPTS += \ + --enable-write_install \ + --enable-pkgconfig \ + --enable-cmdlib \ + --enable-dmeventd \ + --disable-nls \ + --with-symvers=no + +LVM2_DEPENDENCIES += host-pkgconf libaio + +# LVM2 uses autoconf, but not automake, and the build system does not +# take into account the toolchain passed at configure time. +LVM2_MAKE_ENV = $(TARGET_CONFIGURE_OPTS) + +# package/readline is GPL-3.0+, so not license compatible +LVM2_CONF_OPTS += --disable-readline + +LVM2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) +LVM2_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +LVM2_CONF_OPTS += --enable-udev_rules +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +LVM2_CONF_OPTS += --enable-selinux +LVM2_DEPENDENCIES += libselinux +else +LVM2_CONF_OPTS += --disable-selinux +endif + +ifeq ($(BR2_PACKAGE_LVM2_STANDARD_INSTALL),y) +LVM2_INSTALL_STAGING_OPTS += install +LVM2_INSTALL_TARGET_OPTS += install +ifeq ($(BR2_INIT_SYSTEMD),y) +LVM2_INSTALL_TARGET_OPTS += install_systemd_units install_systemd_generators +endif +else +LVM2_MAKE_OPTS = device-mapper +LVM2_INSTALL_STAGING_OPTS += install_device-mapper +LVM2_INSTALL_TARGET_OPTS += install_device-mapper +endif + +ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) +LVM2_CONF_ENV += ac_cv_flag_HAVE_PIE=no +endif + +HOST_LVM2_DEPENDENCIES = host-pkgconf host-libaio +HOST_LVM2_CONF_OPTS = \ + --enable-write_install \ + --enable-pkgconfig \ + --disable-cmdlib \ + --disable-dmeventd \ + --disable-fsadm \ + --disable-readline \ + --disable-selinux \ + --with-confdir=$(HOST_DIR)/etc + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/lxc/Config.in b/buildroot-2022.02.1/package/lxc/Config.in new file mode 100644 index 00000000..a3f9be0c --- /dev/null +++ b/buildroot-2022.02.1/package/lxc/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_LXC + bool "lxc" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + # build system forcefully builds a shared library + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # setns() system call + depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve + help + Linux Containers (LXC), provides the ability to group and + isolate of a set of processes in a jail by virtualizing and + accounting the kernel resources. It is similar to + Linux-Vserver or Openvz. + + https://linuxcontainers.org/ + +comment "lxc needs a glibc or musl toolchain w/ threads, headers >= 3.0, dynamic library, gcc >= 4.7" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 \ + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \ + || BR2_STATIC_LIBS \ + || BR2_TOOLCHAIN_USES_UCLIBC diff --git a/buildroot-2022.02.1/package/lxc/lxc.hash b/buildroot-2022.02.1/package/lxc/lxc.hash new file mode 100644 index 00000000..d460bc6a --- /dev/null +++ b/buildroot-2022.02.1/package/lxc/lxc.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 db242f8366fc63e8c7588bb2017b354173cf3c4b20abc18780debdc48b14d3ef lxc-4.0.12.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 diff --git a/buildroot-2022.02.1/package/lxc/lxc.mk b/buildroot-2022.02.1/package/lxc/lxc.mk new file mode 100644 index 00000000..9311dc87 --- /dev/null +++ b/buildroot-2022.02.1/package/lxc/lxc.mk @@ -0,0 +1,61 @@ +################################################################################ +# +# lxc +# +################################################################################ + +LXC_VERSION = 4.0.12 +LXC_SITE = https://linuxcontainers.org/downloads/lxc +LXC_LICENSE = GPL-2.0 (some tools), LGPL-2.1+ +LXC_LICENSE_FILES = LICENSE.GPL2 LICENSE.LGPL2.1 +LXC_CPE_ID_VENDOR = linuxcontainers +LXC_DEPENDENCIES = host-pkgconf +LXC_INSTALL_STAGING = YES + +LXC_CONF_OPTS = \ + --disable-apparmor \ + --disable-examples \ + --with-distro=buildroot \ + --disable-werror \ + $(if $(BR2_PACKAGE_BASH),,--disable-bash) + +ifeq ($(BR2_PACKAGE_BASH_COMPLETION),y) +LXC_DEPENDENCIES += bash-completion +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +LXC_CONF_OPTS += --enable-capabilities +LXC_DEPENDENCIES += libcap +else +LXC_CONF_OPTS += --disable-capabilities +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +LXC_CONF_OPTS += --enable-seccomp +LXC_DEPENDENCIES += libseccomp +else +LXC_CONF_OPTS += --disable-seccomp +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +LXC_CONF_OPTS += --enable-selinux +LXC_DEPENDENCIES += libselinux +else +LXC_CONF_OPTS += --disable-selinux +endif + +ifeq ($(BR2_PACKAGE_LIBURING),y) +LXC_CONF_OPTS += --enable-liburing +LXC_DEPENDENCIES += liburing +else +LXC_CONF_OPTS += --disable-liburing +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LXC_CONF_OPTS += --enable-openssl +LXC_DEPENDENCIES += openssl +else +LXC_CONF_OPTS += --disable-openssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lynx/Config.in b/buildroot-2022.02.1/package/lynx/Config.in similarity index 100% rename from buildroot-2021.05/package/lynx/Config.in rename to buildroot-2022.02.1/package/lynx/Config.in diff --git a/buildroot-2022.02.1/package/lynx/lynx.hash b/buildroot-2022.02.1/package/lynx/lynx.hash new file mode 100644 index 00000000..62e2555a --- /dev/null +++ b/buildroot-2022.02.1/package/lynx/lynx.hash @@ -0,0 +1,4 @@ +# Locally calculated: +sha256 387f193d7792f9cfada14c60b0e5c0bff18f227d9257a39483e14fa1aaf79595 lynx2.8.9rel.1.tar.bz2 +sha256 b2207e757dbbefc34a20a32b1b4a216b4a4316e1dc812bceca4ac6294871119a 90_CVE-2021-38165.patch +sha256 8406a30ff3134ec23cf752d1ceda92ddaabbe41b4f2dc07ea3cfa139de12d6d6 COPYING diff --git a/buildroot-2022.02.1/package/lynx/lynx.mk b/buildroot-2022.02.1/package/lynx/lynx.mk new file mode 100644 index 00000000..3f62f4f5 --- /dev/null +++ b/buildroot-2022.02.1/package/lynx/lynx.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# lynx +# +################################################################################ + +LYNX_VERSION = 2.8.9rel.1 +LYNX_SOURCE = lynx$(LYNX_VERSION).tar.bz2 +LYNX_SITE = ftp://ftp.invisible-island.net/lynx/tarballs +LYNX_PATCH = \ + https://salsa.debian.org/lynx-team/lynx/-/raw/debian/2.9.0dev.6-3_deb11u1/debian/patches/90_CVE-2021-38165.patch +# 90_CVE-2021-38165.patch +LYNX_IGNORE_CVES += CVE-2021-38165 +LYNX_LICENSE = GPL-2.0 +LYNX_LICENSE_FILES = COPYING +LYNX_CPE_ID_VENDOR = lynx_project + +LYNX_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) + +ifeq ($(BR2_REPRODUCIBLE),y) +# configuration info leaks build paths +LYNX_CONF_OPTS += --disable-config-info +# disable build timestamp +LYNX_CFLAGS += -DNO_BUILDSTAMP +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) +LYNX_DEPENDENCIES += ncurses +LYNX_CONF_OPTS += --with-screen=ncurses$(if $(BR2_PACKAGE_NCURSES_WCHAR),w) +else ifeq ($(BR2_PACKAGE_SLANG),y) +LYNX_DEPENDENCIES += slang +LYNX_CONF_OPTS += --with-screen=slang +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +LYNX_DEPENDENCIES += openssl +LYNX_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr +LYNX_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` +else ifeq ($(BR2_PACKAGE_GNUTLS),y) +LYNX_DEPENDENCIES += gnutls +LYNX_CONF_OPTS += --with-gnutls +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +LYNX_DEPENDENCIES += zlib +LYNX_CONF_OPTS += --with-zlib +else +LYNX_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_LIBIDN),y) +LYNX_DEPENDENCIES += libidn +LYNX_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libidn` +endif + +LYNX_CONF_ENV = LIBS="$(LYNX_LIBS)" CFLAGS="$(TARGET_CFLAGS) $(LYNX_CFLAGS)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/lz4/0001-Fix-potential-memory-corruption-with-negative-memmov.patch b/buildroot-2022.02.1/package/lz4/0001-Fix-potential-memory-corruption-with-negative-memmov.patch similarity index 100% rename from buildroot-2021.05/package/lz4/0001-Fix-potential-memory-corruption-with-negative-memmov.patch rename to buildroot-2022.02.1/package/lz4/0001-Fix-potential-memory-corruption-with-negative-memmov.patch diff --git a/buildroot-2021.05/package/lz4/Config.in b/buildroot-2022.02.1/package/lz4/Config.in similarity index 100% rename from buildroot-2021.05/package/lz4/Config.in rename to buildroot-2022.02.1/package/lz4/Config.in diff --git a/buildroot-2021.05/package/lz4/lz4.hash b/buildroot-2022.02.1/package/lz4/lz4.hash similarity index 100% rename from buildroot-2021.05/package/lz4/lz4.hash rename to buildroot-2022.02.1/package/lz4/lz4.hash diff --git a/buildroot-2021.05/package/lz4/lz4.mk b/buildroot-2022.02.1/package/lz4/lz4.mk similarity index 100% rename from buildroot-2021.05/package/lz4/lz4.mk rename to buildroot-2022.02.1/package/lz4/lz4.mk diff --git a/buildroot-2021.05/package/lzip/Config.in b/buildroot-2022.02.1/package/lzip/Config.in similarity index 100% rename from buildroot-2021.05/package/lzip/Config.in rename to buildroot-2022.02.1/package/lzip/Config.in diff --git a/buildroot-2022.02.1/package/lzip/lzip.hash b/buildroot-2022.02.1/package/lzip/lzip.hash new file mode 100644 index 00000000..48ee8175 --- /dev/null +++ b/buildroot-2022.02.1/package/lzip/lzip.hash @@ -0,0 +1,4 @@ +# From https://lists.nongnu.org/archive/html/lzip-bug/2022-02/msg00000.html +sha256 4792c047ddf15ef29d55ba8e68a1a21e0cb7692d87ecdf7204419864582f280d lzip-1.23.tar.gz +# Locally calculated +sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING diff --git a/buildroot-2022.02.1/package/lzip/lzip.mk b/buildroot-2022.02.1/package/lzip/lzip.mk new file mode 100644 index 00000000..31b57507 --- /dev/null +++ b/buildroot-2022.02.1/package/lzip/lzip.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# lzip +# +################################################################################ + +LZIP_VERSION = 1.23 +LZIP_SITE = http://download.savannah.gnu.org/releases/lzip +LZIP_LICENSE = GPL-2.0+ +LZIP_LICENSE_FILES = COPYING + +define LZIP_CONFIGURE_CMDS + (cd $(@D); $(TARGET_MAKE_ENV) ./configure --prefix=/usr \ + $(TARGET_CONFIGURE_OPTS) ) +endef + +define HOST_LZIP_CONFIGURE_CMDS + (cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=$(HOST_DIR) \ + $(HOST_CONFIGURE_OPTS) CC="$(HOSTCC_NOCCACHE)" CXX="$(HOSTCXX_NOCCACHE)") +endef + +define LZIP_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_LZIP_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define LZIP_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +define HOST_LZIP_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install +endef + +# It's not autotools-based +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/lzlib/Config.in b/buildroot-2022.02.1/package/lzlib/Config.in similarity index 100% rename from buildroot-2021.05/package/lzlib/Config.in rename to buildroot-2022.02.1/package/lzlib/Config.in diff --git a/buildroot-2021.05/package/lzlib/lzlib.hash b/buildroot-2022.02.1/package/lzlib/lzlib.hash similarity index 100% rename from buildroot-2021.05/package/lzlib/lzlib.hash rename to buildroot-2022.02.1/package/lzlib/lzlib.hash diff --git a/buildroot-2021.05/package/lzlib/lzlib.mk b/buildroot-2022.02.1/package/lzlib/lzlib.mk similarity index 100% rename from buildroot-2021.05/package/lzlib/lzlib.mk rename to buildroot-2022.02.1/package/lzlib/lzlib.mk diff --git a/buildroot-2021.05/package/lzma/0001-Remove-static-from-LDFLAGS.patch b/buildroot-2022.02.1/package/lzma/0001-Remove-static-from-LDFLAGS.patch similarity index 100% rename from buildroot-2021.05/package/lzma/0001-Remove-static-from-LDFLAGS.patch rename to buildroot-2022.02.1/package/lzma/0001-Remove-static-from-LDFLAGS.patch diff --git a/buildroot-2021.05/package/lzma/lzma.hash b/buildroot-2022.02.1/package/lzma/lzma.hash similarity index 100% rename from buildroot-2021.05/package/lzma/lzma.hash rename to buildroot-2022.02.1/package/lzma/lzma.hash diff --git a/buildroot-2021.05/package/lzma/lzma.mk b/buildroot-2022.02.1/package/lzma/lzma.mk similarity index 100% rename from buildroot-2021.05/package/lzma/lzma.mk rename to buildroot-2022.02.1/package/lzma/lzma.mk diff --git a/buildroot-2021.05/package/lzo/Config.in b/buildroot-2022.02.1/package/lzo/Config.in similarity index 100% rename from buildroot-2021.05/package/lzo/Config.in rename to buildroot-2022.02.1/package/lzo/Config.in diff --git a/buildroot-2021.05/package/lzo/lzo.hash b/buildroot-2022.02.1/package/lzo/lzo.hash similarity index 100% rename from buildroot-2021.05/package/lzo/lzo.hash rename to buildroot-2022.02.1/package/lzo/lzo.hash diff --git a/buildroot-2021.05/package/lzo/lzo.mk b/buildroot-2022.02.1/package/lzo/lzo.mk similarity index 100% rename from buildroot-2021.05/package/lzo/lzo.mk rename to buildroot-2022.02.1/package/lzo/lzo.mk diff --git a/buildroot-2022.02.1/package/lzop/0001-build-with-gcc6.patch b/buildroot-2022.02.1/package/lzop/0001-build-with-gcc6.patch new file mode 100644 index 00000000..03bd887d --- /dev/null +++ b/buildroot-2022.02.1/package/lzop/0001-build-with-gcc6.patch @@ -0,0 +1,37 @@ +From: Jaap Crezee +Date: Sat, 25 june 2016 13:13:00 +0200 +Subject: [PATCH] fix compilation host-lzop with gcc-6 + +This patch allows host-lzop to be compiled with host systems containing gcc-6 + +Upstream patch found here: +https://build.opensuse.org/package/view_file/Archiving/lzop/lzop-1.03-gcc6.patch?expand=1 + +Signed-off-by: Jaap Crezee + +--- a/src/miniacc.h.orig 2016-02-10 16:09:23.247315866 +0100 ++++ b/src/miniacc.h 2016-02-10 16:12:14.973297054 +0100 +@@ -4469,12 +4469,12 @@ + #if defined(__MSDOS__) && defined(__TURBOC__) && (__TURBOC__ < 0x0150) + #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) + #else +- ACCCHK_ASSERT((1 << (8*SIZEOF_INT-1)) < 0) ++ ACCCHK_ASSERT((int)(1u << (8*SIZEOF_INT-1)) < 0) + #endif + ACCCHK_ASSERT((1u << (8*SIZEOF_INT-1)) > 0) + #if 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) + #else +- ACCCHK_ASSERT((1l << (8*SIZEOF_LONG-1)) < 0) ++ ACCCHK_ASSERT((long)(1ul << (8*SIZEOF_LONG-1)) < 0) + #endif + ACCCHK_ASSERT((1ul << (8*SIZEOF_LONG-1)) > 0) + #if defined(acc_int16e_t) +@@ -4703,7 +4703,7 @@ + #elif 1 && (ACC_CC_LCC || ACC_CC_LCCWIN32) && !defined(ACCCHK_CFG_PEDANTIC) + #elif 1 && (ACC_CC_SUNPROC) && !defined(ACCCHK_CFG_PEDANTIC) + #elif !(ACC_BROKEN_INTEGRAL_PROMOTION) && (SIZEOF_INT > 1) +- ACCCHK_ASSERT( (((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) ++ ACCCHK_ASSERT( (int)((unsigned int)((unsigned char)128) << (int)(8*sizeof(int)-8)) < 0) + #endif + #if (ACC_CC_BORLANDC && (__BORLANDC__ >= 0x0530) && (__BORLANDC__ < 0x0560)) + # pragma option pop diff --git a/buildroot-2021.05/package/lzop/0002-use-static-inlines-as-the-external-inline-definition.patch b/buildroot-2022.02.1/package/lzop/0002-use-static-inlines-as-the-external-inline-definition.patch similarity index 100% rename from buildroot-2021.05/package/lzop/0002-use-static-inlines-as-the-external-inline-definition.patch rename to buildroot-2022.02.1/package/lzop/0002-use-static-inlines-as-the-external-inline-definition.patch diff --git a/buildroot-2021.05/package/lzop/Config.in b/buildroot-2022.02.1/package/lzop/Config.in similarity index 100% rename from buildroot-2021.05/package/lzop/Config.in rename to buildroot-2022.02.1/package/lzop/Config.in diff --git a/buildroot-2021.05/package/lzop/lzop.hash b/buildroot-2022.02.1/package/lzop/lzop.hash similarity index 100% rename from buildroot-2021.05/package/lzop/lzop.hash rename to buildroot-2022.02.1/package/lzop/lzop.hash diff --git a/buildroot-2021.05/package/lzop/lzop.mk b/buildroot-2022.02.1/package/lzop/lzop.mk similarity index 100% rename from buildroot-2021.05/package/lzop/lzop.mk rename to buildroot-2022.02.1/package/lzop/lzop.mk diff --git a/buildroot-2022.02.1/package/m4/m4.hash b/buildroot-2022.02.1/package/m4/m4.hash new file mode 100644 index 00000000..a81f4fab --- /dev/null +++ b/buildroot-2022.02.1/package/m4/m4.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96 m4-1.4.19.tar.xz +# License files, locally calculated +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 COPYING diff --git a/buildroot-2022.02.1/package/m4/m4.mk b/buildroot-2022.02.1/package/m4/m4.mk new file mode 100644 index 00000000..3a120929 --- /dev/null +++ b/buildroot-2022.02.1/package/m4/m4.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# m4 +# +################################################################################ + +M4_VERSION = 1.4.19 +M4_SOURCE = m4-$(M4_VERSION).tar.xz +M4_SITE = $(BR2_GNU_MIRROR)/m4 +M4_LICENSE = GPL-3.0+ +M4_LICENSE_FILES = COPYING +HOST_M4_CONF_OPTS = --disable-static + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/macchanger/0001-Fix-missing-include-for-caddr_t.patch b/buildroot-2022.02.1/package/macchanger/0001-Fix-missing-include-for-caddr_t.patch similarity index 100% rename from buildroot-2021.05/package/macchanger/0001-Fix-missing-include-for-caddr_t.patch rename to buildroot-2022.02.1/package/macchanger/0001-Fix-missing-include-for-caddr_t.patch diff --git a/buildroot-2021.05/package/macchanger/Config.in b/buildroot-2022.02.1/package/macchanger/Config.in similarity index 100% rename from buildroot-2021.05/package/macchanger/Config.in rename to buildroot-2022.02.1/package/macchanger/Config.in diff --git a/buildroot-2021.05/package/macchanger/macchanger.hash b/buildroot-2022.02.1/package/macchanger/macchanger.hash similarity index 100% rename from buildroot-2021.05/package/macchanger/macchanger.hash rename to buildroot-2022.02.1/package/macchanger/macchanger.hash diff --git a/buildroot-2021.05/package/macchanger/macchanger.mk b/buildroot-2022.02.1/package/macchanger/macchanger.mk similarity index 100% rename from buildroot-2021.05/package/macchanger/macchanger.mk rename to buildroot-2022.02.1/package/macchanger/macchanger.mk diff --git a/buildroot-2021.05/package/madplay/0001-switch-to-new-alsa-api.patch b/buildroot-2022.02.1/package/madplay/0001-switch-to-new-alsa-api.patch similarity index 100% rename from buildroot-2021.05/package/madplay/0001-switch-to-new-alsa-api.patch rename to buildroot-2022.02.1/package/madplay/0001-switch-to-new-alsa-api.patch diff --git a/buildroot-2021.05/package/madplay/0002-configure-ac-automake-foreign.patch b/buildroot-2022.02.1/package/madplay/0002-configure-ac-automake-foreign.patch similarity index 100% rename from buildroot-2021.05/package/madplay/0002-configure-ac-automake-foreign.patch rename to buildroot-2022.02.1/package/madplay/0002-configure-ac-automake-foreign.patch diff --git a/buildroot-2021.05/package/madplay/0003-configure-ac-use-pkg-config-to-find-id3tag.patch b/buildroot-2022.02.1/package/madplay/0003-configure-ac-use-pkg-config-to-find-id3tag.patch similarity index 100% rename from buildroot-2021.05/package/madplay/0003-configure-ac-use-pkg-config-to-find-id3tag.patch rename to buildroot-2022.02.1/package/madplay/0003-configure-ac-use-pkg-config-to-find-id3tag.patch diff --git a/buildroot-2021.05/package/madplay/0004-configure-ac-call-AM_MKINSTALLDIRS.patch b/buildroot-2022.02.1/package/madplay/0004-configure-ac-call-AM_MKINSTALLDIRS.patch similarity index 100% rename from buildroot-2021.05/package/madplay/0004-configure-ac-call-AM_MKINSTALLDIRS.patch rename to buildroot-2022.02.1/package/madplay/0004-configure-ac-call-AM_MKINSTALLDIRS.patch diff --git a/buildroot-2021.05/package/madplay/Config.in b/buildroot-2022.02.1/package/madplay/Config.in similarity index 100% rename from buildroot-2021.05/package/madplay/Config.in rename to buildroot-2022.02.1/package/madplay/Config.in diff --git a/buildroot-2021.05/package/madplay/madplay.hash b/buildroot-2022.02.1/package/madplay/madplay.hash similarity index 100% rename from buildroot-2021.05/package/madplay/madplay.hash rename to buildroot-2022.02.1/package/madplay/madplay.hash diff --git a/buildroot-2021.05/package/madplay/madplay.mk b/buildroot-2022.02.1/package/madplay/madplay.mk similarity index 100% rename from buildroot-2021.05/package/madplay/madplay.mk rename to buildroot-2022.02.1/package/madplay/madplay.mk diff --git a/buildroot-2021.05/package/make/0001-configure.ac-Support-GLIBC-glob-interface-version-2.patch b/buildroot-2022.02.1/package/make/0001-configure.ac-Support-GLIBC-glob-interface-version-2.patch similarity index 100% rename from buildroot-2021.05/package/make/0001-configure.ac-Support-GLIBC-glob-interface-version-2.patch rename to buildroot-2022.02.1/package/make/0001-configure.ac-Support-GLIBC-glob-interface-version-2.patch diff --git a/buildroot-2021.05/package/make/0001-glob-Do-not-assume-glibc-glob-internals.patch b/buildroot-2022.02.1/package/make/0001-glob-Do-not-assume-glibc-glob-internals.patch similarity index 100% rename from buildroot-2021.05/package/make/0001-glob-Do-not-assume-glibc-glob-internals.patch rename to buildroot-2022.02.1/package/make/0001-glob-Do-not-assume-glibc-glob-internals.patch diff --git a/buildroot-2021.05/package/make/Config.in b/buildroot-2022.02.1/package/make/Config.in similarity index 100% rename from buildroot-2021.05/package/make/Config.in rename to buildroot-2022.02.1/package/make/Config.in diff --git a/buildroot-2021.05/package/make/make.hash b/buildroot-2022.02.1/package/make/make.hash similarity index 100% rename from buildroot-2021.05/package/make/make.hash rename to buildroot-2022.02.1/package/make/make.hash diff --git a/buildroot-2021.05/package/make/make.mk b/buildroot-2022.02.1/package/make/make.mk similarity index 100% rename from buildroot-2021.05/package/make/make.mk rename to buildroot-2022.02.1/package/make/make.mk diff --git a/buildroot-2021.05/package/makedevs/README b/buildroot-2022.02.1/package/makedevs/README similarity index 100% rename from buildroot-2021.05/package/makedevs/README rename to buildroot-2022.02.1/package/makedevs/README diff --git a/buildroot-2022.02.1/package/makedevs/makedevs.c b/buildroot-2022.02.1/package/makedevs/makedevs.c new file mode 100644 index 00000000..2796cd5e --- /dev/null +++ b/buildroot-2022.02.1/package/makedevs/makedevs.c @@ -0,0 +1,649 @@ +/* vi: set sw=4 ts=4: */ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Library General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + */ + +#define _GNU_SOURCE +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#ifndef __APPLE__ +#include /* major() and minor() */ +#endif +#include +#ifdef EXTENDED_ATTRIBUTES +#include +#endif /* EXTENDED_ATTRIBUTES */ + +const char *bb_applet_name; +uid_t recursive_uid; +gid_t recursive_gid; +unsigned int recursive_mode; +#define PASSWD_PATH "etc/passwd" /* MUST be relative */ +#define GROUP_PATH "etc/group" /* MUST be relative */ + +void bb_verror_msg(const char *s, va_list p) +{ + fflush(stdout); + fprintf(stderr, "%s: ", bb_applet_name); + vfprintf(stderr, s, p); +} + +void bb_error_msg(const char *s, ...) +{ + va_list p; + + va_start(p, s); + bb_verror_msg(s, p); + va_end(p); + putc('\n', stderr); +} + +void bb_error_msg_and_die(const char *s, ...) +{ + va_list p; + + va_start(p, s); + bb_verror_msg(s, p); + va_end(p); + putc('\n', stderr); + exit(1); +} + +void bb_vperror_msg(const char *s, va_list p) +{ + int err=errno; + if(s == 0) s = ""; + bb_verror_msg(s, p); + if (*s) s = ": "; + fprintf(stderr, "%s%s\n", s, strerror(err)); +} + +void bb_perror_msg(const char *s, ...) +{ + va_list p; + + va_start(p, s); + bb_vperror_msg(s, p); + va_end(p); +} + +void bb_perror_msg_and_die(const char *s, ...) +{ + va_list p; + + va_start(p, s); + bb_vperror_msg(s, p); + va_end(p); + exit(1); +} + +FILE *bb_xfopen(const char *path, const char *mode) +{ + FILE *fp; + if ((fp = fopen(path, mode)) == NULL) + bb_perror_msg_and_die("%s", path); + return fp; +} + +enum { + FILEUTILS_PRESERVE_STATUS = 1, + FILEUTILS_DEREFERENCE = 2, + FILEUTILS_RECUR = 4, + FILEUTILS_FORCE = 8, + FILEUTILS_INTERACTIVE = 16 +}; +int bb_make_directory (char *path, long mode, int flags) +{ + mode_t mask; + const char *fail_msg; + char *s = path; + char c; + struct stat st; + + mask = umask(0); + if (mode == -1) { + umask(mask); + mode = (S_IXUSR | S_IXGRP | S_IXOTH | + S_IWUSR | S_IWGRP | S_IWOTH | + S_IRUSR | S_IRGRP | S_IROTH) & ~mask; + } else { + umask(mask & ~0300); + } + + do { + c = 0; + + if (flags & FILEUTILS_RECUR) { /* Get the parent. */ + /* Bypass leading non-'/'s and then subsequent '/'s. */ + while (*s) { + if (*s == '/') { + do { + ++s; + } while (*s == '/'); + c = *s; /* Save the current char */ + *s = 0; /* and replace it with nul. */ + break; + } + ++s; + } + } + + if (mkdir(path, 0777) < 0) { + /* If we failed for any other reason than the directory + * already exists, output a diagnostic and return -1.*/ + if ((errno != EEXIST && errno != EISDIR) + || !(flags & FILEUTILS_RECUR) + || (stat(path, &st) < 0 || !S_ISDIR(st.st_mode))) { + fail_msg = "create"; + umask(mask); + break; + } + /* Since the directory exists, don't attempt to change + * permissions if it was the full target. Note that + * this is not an error conditon. */ + if (!c) { + umask(mask); + return 0; + } + } + + if (!c) { + /* Done. If necessary, updated perms on the newly + * created directory. Failure to update here _is_ + * an error.*/ + umask(mask); + if ((mode != -1) && (chmod(path, mode) < 0)){ + fail_msg = "set permissions of"; + break; + } + return 0; + } + + /* Remove any inserted nul from the path (recursive mode). */ + *s = c; + + } while (1); + + bb_perror_msg ("Cannot %s directory `%s'", fail_msg, path); + return -1; +} + +const char * const bb_msg_memory_exhausted = "memory exhausted"; + +void *xmalloc(size_t size) +{ + void *ptr = malloc(size); + if (ptr == NULL && size != 0) + bb_error_msg_and_die(bb_msg_memory_exhausted); + return ptr; +} + +void *xcalloc(size_t nmemb, size_t size) +{ + void *ptr = calloc(nmemb, size); + if (ptr == NULL && nmemb != 0 && size != 0) + bb_error_msg_and_die(bb_msg_memory_exhausted); + return ptr; +} + +void *xrealloc(void *ptr, size_t size) +{ + ptr = realloc(ptr, size); + if (ptr == NULL && size != 0) + bb_error_msg_and_die(bb_msg_memory_exhausted); + return ptr; +} + +char *private_get_line_from_file(FILE *file, int c) +{ +#define GROWBY (80) /* how large we will grow strings by */ + + int ch; + int idx = 0; + char *linebuf = NULL; + int linebufsz = 0; + + while ((ch = getc(file)) != EOF) { + /* grow the line buffer as necessary */ + if (idx > linebufsz - 2) { + linebuf = xrealloc(linebuf, linebufsz += GROWBY); + } + linebuf[idx++] = (char)ch; + if (!ch) return linebuf; + if (c<2 && ch == '\n') { + if (c) { + --idx; + } + break; + } + } + if (linebuf) { + if (ferror(file)) { + free(linebuf); + return NULL; + } + linebuf[idx] = 0; + } + return linebuf; +} + +char *bb_get_chomped_line_from_file(FILE *file) +{ + return private_get_line_from_file(file, 1); +} + +long my_getpwnam(const char *name) +{ + struct passwd *myuser; + FILE *stream; + + stream = bb_xfopen(PASSWD_PATH, "r"); + while(1) { + errno = 0; + myuser = fgetpwent(stream); + if (myuser == NULL) + bb_error_msg_and_die("unknown user name: %s", name); + if (errno) + bb_perror_msg_and_die("fgetpwent"); + if (!strcmp(name, myuser->pw_name)) + break; + } + fclose(stream); + + return myuser->pw_uid; +} + +long my_getgrnam(const char *name) +{ + struct group *mygroup; + FILE *stream; + + stream = bb_xfopen(GROUP_PATH, "r"); + while(1) { + errno = 0; + mygroup = fgetgrent(stream); + if (mygroup == NULL) + bb_error_msg_and_die("unknown group name: %s", name); + if (errno) + bb_perror_msg_and_die("fgetgrent"); + if (!strcmp(name, mygroup->gr_name)) + break; + } + fclose(stream); + + return mygroup->gr_gid; +} + +unsigned long get_ug_id(const char *s, long (*my_getxxnam)(const char *)) +{ + unsigned long r; + char *p; + + r = strtoul(s, &p, 10); + if (*p || (s == p)) { + r = my_getxxnam(s); + } + + return r; +} + +char * last_char_is(const char *s, int c) +{ + char *sret = (char *)s; + if (sret) { + sret = strrchr(sret, c); + if(sret != NULL && *(sret+1) != 0) + sret = NULL; + } + return sret; +} + +void bb_xasprintf(char **string_ptr, const char *format, ...) +{ + va_list p; + int r; + + va_start(p, format); + r = vasprintf(string_ptr, format, p); + va_end(p); + + if (r < 0) { + bb_perror_msg_and_die("bb_xasprintf"); + } +} + +char *concat_path_file(const char *path, const char *filename) +{ + char *outbuf; + char *lc; + + if (!path) + path = ""; + lc = last_char_is(path, '/'); + while (*filename == '/') + filename++; + bb_xasprintf(&outbuf, "%s%s%s", path, (lc==NULL ? "/" : ""), filename); + + return outbuf; +} + +#ifdef EXTENDED_ATTRIBUTES +int bb_set_xattr(const char *fpath, const char *xattr) +{ + cap_t cap, cap_file, cap_new; + char *cap_file_text, *cap_new_text; + ssize_t length; + + cap = cap_from_text(xattr); + if (cap == NULL) + bb_perror_msg_and_die("cap_from_text failed for %s", xattr); + + cap_file = cap_get_file(fpath); + if (cap_file == NULL) { + /* if no capability was set before, we initialize cap_file */ + if (errno != ENODATA) + bb_perror_msg_and_die("cap_get_file failed on %s", fpath); + + cap_file = cap_init(); + if (!cap_file) + bb_perror_msg_and_die("cap_init failed"); + } + + if ((cap_file_text = cap_to_text(cap_file, &length)) == NULL) + bb_perror_msg_and_die("cap_to_name failed on %s", fpath); + + bb_xasprintf(&cap_new_text, "%s %s", cap_file_text, xattr); + + if ((cap_new = cap_from_text(cap_new_text)) == NULL) + bb_perror_msg_and_die("cap_from_text failed on %s", cap_new_text); + + if (cap_set_file(fpath, cap_new) == -1) + bb_perror_msg_and_die("cap_set_file failed for %s (xattr = %s)", fpath, xattr); + + cap_free(cap); + cap_free(cap_file); + cap_free(cap_file_text); + cap_free(cap_new); + cap_free(cap_new_text); + + return 0; +} +#endif /* EXTENDED_ATTRIBUTES */ + +void bb_show_usage(void) +{ + fprintf(stderr, "%s: [-d device_table] rootdir\n\n", bb_applet_name); + fprintf(stderr, "Creates a batch of special files as specified in a device table.\n"); + fprintf(stderr, "Device table entries take the form of:\n"); + fprintf(stderr, "name type mode user group major minor start increment count\n\n"); + fprintf(stderr, "Where name is the file name, type can be one of:\n"); + fprintf(stderr, " f A regular file\n"); + fprintf(stderr, " d Directory\n"); + fprintf(stderr, " r Directory recursively\n"); + fprintf(stderr, " c Character special device file\n"); + fprintf(stderr, " b Block special device file\n"); + fprintf(stderr, " p Fifo (named pipe)\n"); + fprintf(stderr, "uid is the user id for the target file, gid is the group id for the\n"); + fprintf(stderr, "target file. The rest of the entries (major, minor, etc) apply to\n"); + fprintf(stderr, "to device special files. A '-' may be used for blank entries.\n\n"); + fprintf(stderr, "For example:\n"); + fprintf(stderr, " \n"); + fprintf(stderr, "/dev d 755 0 0 - - - - -\n"); + fprintf(stderr, "/dev/console c 666 0 0 5 1 - - -\n"); + fprintf(stderr, "/dev/null c 666 0 0 1 3 0 0 -\n"); + fprintf(stderr, "/dev/zero c 666 0 0 1 5 0 0 -\n"); + fprintf(stderr, "/dev/hda b 640 0 0 3 0 0 0 -\n"); + fprintf(stderr, "/dev/hda b 640 0 0 3 1 1 1 15\n"); + fprintf(stderr, "/dev/rtp b 640 0 0 250 0 0 1 5\n"); + fprintf(stderr, "/dev/gps b 640 0 0 251 0 1 1 5\n"); + fprintf(stderr, "/dev/uio b 640 0 0 252 0 1 2 5\n"); + fprintf(stderr, "/dev/uio b 640 0 0 252 1 6 2 5\n\n"); + fprintf(stderr, "Will Produce:\n"); + fprintf(stderr, "/dev\n"); + fprintf(stderr, "/dev/console\n"); + fprintf(stderr, "/dev/null\n"); + fprintf(stderr, "/dev/zero\n"); + fprintf(stderr, "/dev/hda\n"); + fprintf(stderr, "/dev/hda[1-15] with minor numbers [1-15]\n"); + fprintf(stderr, "/dev/rtp[0-4] with minor numbers [0-4]\n"); + fprintf(stderr, "/dev/gps[1-5] with minor numbers [0-4]\n"); + fprintf(stderr, "/dev/uio[1-5] with minor numbers 0,2,4,6,8\n"); + fprintf(stderr, "/dev/uio[6-10] with minor numbers 1,3,5,7,9\n"); + exit(1); +} + +int bb_recursive(const char *fpath, const struct stat *sb, + int tflag, struct FTW *ftwbuf){ + + if (lchown(fpath, recursive_uid, recursive_gid) == -1) { + bb_perror_msg("chown failed for %s", fpath); + return -1; + } + + /* chmod() is optional, also skip if dangling symlink */ + if (recursive_mode != -1 && tflag == FTW_SL && access(fpath, F_OK)) { + if (chmod(fpath, recursive_mode) < 0) { + bb_perror_msg("chmod failed for %s", fpath); + return -1; + } + } + + return 0; +} + +int main(int argc, char **argv) +{ + int opt; + FILE *table = stdin; + char *rootdir = NULL; + char *full_name = NULL; + char *line = NULL; + int linenum = 0; + int ret = EXIT_SUCCESS; + + bb_applet_name = basename(argv[0]); + + while ((opt = getopt(argc, argv, "d:")) != -1) { + switch(opt) { + case 'd': + table = bb_xfopen((line=optarg), "r"); + break; + default: + bb_show_usage(); + } + } + + if (optind >= argc || (rootdir=argv[optind])==NULL) { + bb_error_msg_and_die("root directory not speficied"); + } + + if (chdir(rootdir) != 0) { + bb_perror_msg_and_die("Couldnt chdir to %s", rootdir); + } + + umask(0); + + printf("rootdir=%s\n", rootdir); + if (line) { + printf("table='%s'\n", line); + } else { + printf("table=\n"); + } + + while ((line = bb_get_chomped_line_from_file(table))) { + char type; + unsigned int mode = 0755; + unsigned int major = 0; + unsigned int minor = 0; + unsigned int count = 0; + unsigned int increment = 0; + unsigned int start = 0; + char xattr[255]; + char name[4096]; + char user[41]; + char group[41]; + uid_t uid; + gid_t gid; + + linenum++; + + if (1 == sscanf(line, " |xattr %254s", xattr)) { +#ifdef EXTENDED_ATTRIBUTES + if (!full_name) + bb_error_msg_and_die("line %d should be after a file\n", linenum); + + if (bb_set_xattr(full_name, xattr) < 0) + bb_error_msg_and_die("can't set cap %s on file %s\n", xattr, full_name); +#else + bb_error_msg_and_die("line %d not supported: '%s'\nDid you forget to enable " + "BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES?\n", + linenum, line); +#endif /* EXTENDED_ATTRIBUTES */ + continue; + } + + if ((2 > sscanf(line, "%4095s %c %o %40s %40s %u %u %u %u %u", name, + &type, &mode, user, group, &major, + &minor, &start, &increment, &count)) || + ((major | minor | start | count | increment) > 0xfffff)) + { + if (*line=='\0' || *line=='#' || isspace(*line)) + continue; + bb_error_msg("line %d invalid: '%s'\n", linenum, line); + ret = EXIT_FAILURE; + continue; + } + if (name[0] == '#') { + continue; + } + if (*group) { + gid = get_ug_id(group, my_getgrnam); + } else { + gid = getgid(); + } + if (*user) { + uid = get_ug_id(user, my_getpwnam); + } else { + uid = getuid(); + } + + /* + * free previous full name + * we don't de-allocate full_name at the end of the parsing, + * because we may need it if the next line is an xattr. + */ + free(full_name); + full_name = concat_path_file(rootdir, name); + + if (type == 'd') { + bb_make_directory(full_name, mode | S_IFDIR, FILEUTILS_RECUR); + if (chown(full_name, uid, gid) == -1) { + bb_perror_msg("line %d: chown failed for %s", linenum, full_name); + ret = EXIT_FAILURE; + goto loop; + } + if ((mode != -1) && (chmod(full_name, mode) < 0)){ + bb_perror_msg("line %d: chmod failed for %s", linenum, full_name); + ret = EXIT_FAILURE; + goto loop; + } + } else if (type == 'f' || type == 'F') { + struct stat st; + if ((stat(full_name, &st) < 0 || !S_ISREG(st.st_mode))) { + if (type == 'F') { + continue; /*Ignore optional files*/ + } + bb_perror_msg("line %d: regular file '%s' does not exist", linenum, full_name); + ret = EXIT_FAILURE; + goto loop; + } + if (chown(full_name, uid, gid) == -1) { + bb_perror_msg("line %d: chown failed for %s", linenum, full_name); + ret = EXIT_FAILURE; + goto loop; + } + if ((mode != -1) && (chmod(full_name, mode) < 0)){ + bb_perror_msg("line %d: chmod failed for %s", linenum, full_name); + ret = EXIT_FAILURE; + goto loop; + } + } else if (type == 'r') { + recursive_uid = uid; + recursive_gid = gid; + recursive_mode = mode; + if (nftw(full_name, bb_recursive, 20, FTW_MOUNT | FTW_PHYS) < 0) { + bb_perror_msg("line %d: recursive failed for %s", linenum, full_name); + ret = EXIT_FAILURE; + goto loop; + } + } else + { + dev_t rdev; + unsigned i; + char *full_name_inc; + + if (type == 'p') { + mode |= S_IFIFO; + } + else if (type == 'c') { + mode |= S_IFCHR; + } + else if (type == 'b') { + mode |= S_IFBLK; + } else { + bb_error_msg("line %d: Unsupported file type %c", linenum, type); + ret = EXIT_FAILURE; + goto loop; + } + + full_name_inc = xmalloc(strlen(full_name) + sizeof(int)*3 + 2); + if (count) + count--; + for (i = start; i <= start + count; i++) { + sprintf(full_name_inc, count ? "%s%u" : "%s", full_name, i); + rdev = makedev(major, minor + (i - start) * increment); + if (mknod(full_name_inc, mode, rdev) < 0) { + bb_perror_msg("line %d: can't create node %s", linenum, full_name_inc); + ret = EXIT_FAILURE; + } else if (lchown(full_name_inc, uid, gid) < 0) { + bb_perror_msg("line %d: can't chown %s", linenum, full_name_inc); + ret = EXIT_FAILURE; + } else if (chmod(full_name_inc, mode) < 0) { + bb_perror_msg("line %d: can't chmod %s", linenum, full_name_inc); + ret = EXIT_FAILURE; + } + } + free(full_name_inc); + } +loop: + free(line); + } + fclose(table); + + return ret; +} diff --git a/buildroot-2021.05/package/makedevs/makedevs.mk b/buildroot-2022.02.1/package/makedevs/makedevs.mk similarity index 100% rename from buildroot-2021.05/package/makedevs/makedevs.mk rename to buildroot-2022.02.1/package/makedevs/makedevs.mk diff --git a/buildroot-2021.05/package/makedumpfile/0001-PATCH-Define-PN_XNUM-if-missing.patch b/buildroot-2022.02.1/package/makedumpfile/0001-PATCH-Define-PN_XNUM-if-missing.patch similarity index 100% rename from buildroot-2021.05/package/makedumpfile/0001-PATCH-Define-PN_XNUM-if-missing.patch rename to buildroot-2022.02.1/package/makedumpfile/0001-PATCH-Define-PN_XNUM-if-missing.patch diff --git a/buildroot-2021.05/package/makedumpfile/Config.in b/buildroot-2022.02.1/package/makedumpfile/Config.in similarity index 100% rename from buildroot-2021.05/package/makedumpfile/Config.in rename to buildroot-2022.02.1/package/makedumpfile/Config.in diff --git a/buildroot-2022.02.1/package/makedumpfile/makedumpfile.hash b/buildroot-2022.02.1/package/makedumpfile/makedumpfile.hash new file mode 100644 index 00000000..5eeb6387 --- /dev/null +++ b/buildroot-2022.02.1/package/makedumpfile/makedumpfile.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 8985f8df249087ea68c6051dec6dac3ef0703fe2aa87d0266f3951f93aa8da5e makedumpfile-1.7.0.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/makedumpfile/makedumpfile.mk b/buildroot-2022.02.1/package/makedumpfile/makedumpfile.mk new file mode 100644 index 00000000..8399e4d0 --- /dev/null +++ b/buildroot-2022.02.1/package/makedumpfile/makedumpfile.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# makedumpfile +# +################################################################################ + +MAKEDUMPFILE_VERSION = 1.7.0 +MAKEDUMPFILE_SITE = $(call github,makedumpfile,makedumpfile,$(MAKEDUMPFILE_VERSION)) +MAKEDUMPFILE_DEPENDENCIES = bzip2 elfutils xz zlib +MAKEDUMPFILE_LICENSE = GPL-2.0 +MAKEDUMPFILE_LICENSE_FILES = COPYING + +ifeq ($(BR2_powerpc),y) +MAKEDUMPFILE_TARGET = powerpc32 +else +MAKEDUMPFILE_TARGET = $(BR2_ARCH) +endif + +MAKEDUMPFILE_MAKE_OPTS = \ + TARGET=$(MAKEDUMPFILE_TARGET) \ + LINKTYPE=dynamic + +ifeq ($(BR2_PACKAGE_LZO),y) +MAKEDUMPFILE_DEPENDENCIES += lzo +MAKEDUMPFILE_MAKE_OPTS += USELZO=on +endif + +ifeq ($(BR2_PACKAGE_SNAPPY),y) +MAKEDUMPFILE_DEPENDENCIES += snappy +MAKEDUMPFILE_MAKE_OPTS += USESNAPPY=on +endif + +define MAKEDUMPFILE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(MAKEDUMPFILE_MAKE_OPTS) +endef + +define MAKEDUMPFILE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \ + DESTDIR="$(TARGET_DIR)" +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/mali-driver/Config.in b/buildroot-2022.02.1/package/mali-driver/Config.in new file mode 100644 index 00000000..fee67096 --- /dev/null +++ b/buildroot-2022.02.1/package/mali-driver/Config.in @@ -0,0 +1,14 @@ +comment "mali-driver needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +config BR2_PACKAGE_MALI_DRIVER + bool "mali-driver" + depends on BR2_LINUX_KERNEL + help + This package builds and installs the Linux kernel driver for + the Mali Midgard/Bifrost GPU, compatible with recent Linux + kernels (>= 5.4). Note that it should be installed together + with the corresponding userspace OpenGL libraries, which are + usually provided as binaries only by hardware vendors. + + mali-driver requires a Linux kernel >= 5.4. diff --git a/buildroot-2022.02.1/package/mali-driver/mali-driver.hash b/buildroot-2022.02.1/package/mali-driver/mali-driver.hash new file mode 100644 index 00000000..a144d518 --- /dev/null +++ b/buildroot-2022.02.1/package/mali-driver/mali-driver.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 76464e5ed55e9d21062cf154733ce61217211172629ec8742af902607f14d41a mali-driver-a742530232d1de41b57465744a1259fa6c35049e.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/mali-driver/mali-driver.mk b/buildroot-2022.02.1/package/mali-driver/mali-driver.mk new file mode 100644 index 00000000..b12bfec6 --- /dev/null +++ b/buildroot-2022.02.1/package/mali-driver/mali-driver.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# mali-driver +# +################################################################################ + +MALI_DRIVER_VERSION = a742530232d1de41b57465744a1259fa6c35049e +MALI_DRIVER_SITE = $(call github,bootlin,mali-driver,$(MALI_DRIVER_VERSION)) +MALI_DRIVER_DEPENDENCIES = linux +MALI_DRIVER_LICENSE = GPL-2.0 +MALI_DRIVER_LICENSE_FILE = LICENSE +MALI_DRIVER_MODULE_SUBDIRS = r8p0/drivers/gpu/arm/midgard + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mali-t76x/Config.in b/buildroot-2022.02.1/package/mali-t76x/Config.in similarity index 100% rename from buildroot-2021.05/package/mali-t76x/Config.in rename to buildroot-2022.02.1/package/mali-t76x/Config.in diff --git a/buildroot-2021.05/package/mali-t76x/egl.pc b/buildroot-2022.02.1/package/mali-t76x/egl.pc similarity index 100% rename from buildroot-2021.05/package/mali-t76x/egl.pc rename to buildroot-2022.02.1/package/mali-t76x/egl.pc diff --git a/buildroot-2021.05/package/mali-t76x/glesv2.pc b/buildroot-2022.02.1/package/mali-t76x/glesv2.pc similarity index 100% rename from buildroot-2021.05/package/mali-t76x/glesv2.pc rename to buildroot-2022.02.1/package/mali-t76x/glesv2.pc diff --git a/buildroot-2021.05/package/mali-t76x/mali-t76x.hash b/buildroot-2022.02.1/package/mali-t76x/mali-t76x.hash similarity index 100% rename from buildroot-2021.05/package/mali-t76x/mali-t76x.hash rename to buildroot-2022.02.1/package/mali-t76x/mali-t76x.hash diff --git a/buildroot-2021.05/package/mali-t76x/mali-t76x.mk b/buildroot-2022.02.1/package/mali-t76x/mali-t76x.mk similarity index 100% rename from buildroot-2021.05/package/mali-t76x/mali-t76x.mk rename to buildroot-2022.02.1/package/mali-t76x/mali-t76x.mk diff --git a/buildroot-2022.02.1/package/mariadb/0001-add-extra-check-for-librt.patch b/buildroot-2022.02.1/package/mariadb/0001-add-extra-check-for-librt.patch new file mode 100644 index 00000000..0dd4c546 --- /dev/null +++ b/buildroot-2022.02.1/package/mariadb/0001-add-extra-check-for-librt.patch @@ -0,0 +1,31 @@ +From 960c74ec60962f707bd41724edaa2640c0324400 Mon Sep 17 00:00:00 2001 +From: Ryan Coe +Date: Thu, 27 Oct 2016 20:33:21 -0700 +Subject: [PATCH] add extra check for librt + +https://jira.mariadb.org/browse/MDEV-10841 + +Signed-off-by: Ryan Coe +[Rebased on mariadb-10.3.30] +Signed-off-by: Peter Seiderer +--- + configure.cmake | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/configure.cmake b/configure.cmake +index 1b85c31b..4a1cd847 100644 +--- a/configure.cmake ++++ b/configure.cmake +@@ -134,6 +134,9 @@ IF(UNIX) + IF(NOT LIBRT) + MY_SEARCH_LIBS(clock_gettime rt LIBRT) + ENDIF() ++ IF(NOT LIBRT) ++ MY_SEARCH_LIBS(posix_spawn_file_actions_addclose rt LIBRT) ++ ENDIF() + set(THREADS_PREFER_PTHREAD_FLAG ON) + FIND_PACKAGE(Threads) + +-- +2.32.0 + diff --git a/buildroot-2021.05/package/mariadb/S97mysqld b/buildroot-2022.02.1/package/mariadb/S97mysqld similarity index 100% rename from buildroot-2021.05/package/mariadb/S97mysqld rename to buildroot-2022.02.1/package/mariadb/S97mysqld diff --git a/buildroot-2022.02.1/package/mariadb/mariadb.hash b/buildroot-2022.02.1/package/mariadb/mariadb.hash new file mode 100644 index 00000000..4da26bdf --- /dev/null +++ b/buildroot-2022.02.1/package/mariadb/mariadb.hash @@ -0,0 +1,6 @@ +# From https://dlm.mariadb.com/2117287/MariaDB/mariadb-10.3.34/source/sha512sums.txt +sha512 46d4575ec1afb68510652a4bb31ca5ce83a2f5f61048a6e9c1487b0ba58f079465a8b72518d44043cd42c631b19ff50b5498584676ac6473705b138fe3300741 mariadb-10.3.34.tar.gz + +# Hash for license files +sha256 084aa0007efac6dda6aafffb3f3ef8b66b105862dad7ee23f6a4b52813f84464 README.md +sha256 240a15a1d0f34d3abca462cdb7e5fb89470967563f16b0e71169e51c1e74cf2b COPYING diff --git a/buildroot-2022.02.1/package/mariadb/mariadb.mk b/buildroot-2022.02.1/package/mariadb/mariadb.mk new file mode 100644 index 00000000..4eb9c718 --- /dev/null +++ b/buildroot-2022.02.1/package/mariadb/mariadb.mk @@ -0,0 +1,149 @@ +################################################################################ +# +# mariadb +# +################################################################################ + +MARIADB_VERSION = 10.3.34 +MARIADB_SITE = https://dlm.mariadb.com/2117285/MariaDB/mariadb-$(MARIADB_VERSION)/source +MARIADB_LICENSE = GPL-2.0 (server), GPL-2.0 with FLOSS exception (GPL client library), LGPL-2.0 (LGPL client library) +# Tarball no longer contains LGPL license text +# https://jira.mariadb.org/browse/MDEV-12297 +MARIADB_LICENSE_FILES = README.md COPYING +MARIADB_CPE_ID_VENDOR = mariadb +MARIADB_SELINUX_MODULES = mysql +MARIADB_INSTALL_STAGING = YES +MARIADB_PROVIDES = mysql +MARIADB_CONFIG_SCRIPTS = mysql_config + +MARIADB_DEPENDENCIES = \ + host-mariadb \ + ncurses \ + openssl \ + zlib \ + libaio \ + libxml2 + +# use bundled GPL-2.0+ licensed readline as package/readline is GPL-3.0+ +MARIADB_CONF_OPTS += -DWITH_READLINE=ON + +# We won't need unit tests +MARIADB_CONF_OPTS += -DWITH_UNIT_TESTS=0 + +# Mroonga needs libstemmer. Some work still needs to be done before it can be +# included in buildroot. Disable it for now. +MARIADB_CONF_OPTS += -DWITHOUT_MROONGA=1 + +# This value is determined automatically during straight compile by compiling +# and running a test code. You cannot do that during cross-compile. However the +# stack grows downward in most if not all modern systems. The only exception I +# am aware of is PA-RISC which is not supported by buildroot. Therefore it makes +# sense to hardcode the value. If an arch is added the stack of which grows up +# one should expect unpredictable behavior at run time. +MARIADB_CONF_OPTS += -DSTACK_DIRECTION=-1 + +# Jemalloc was added for TokuDB. Since its configure script seems somewhat broken +# when it comes to cross-compilation we shall disable it and also disable TokuDB. +MARIADB_CONF_OPTS += -DWITH_JEMALLOC=no -DWITHOUT_TOKUDB=1 + +# RocksDB fails to build in some configurations with the following build error: +# ./output/build/mariadb-10.2.17/storage/rocksdb/rocksdb/utilities/backupable/backupable_db.cc:327:38: +# error: field 'result' has incomplete type 'std::promise' +# std::promise result; +# +# To work around the issue, we disable RocksDB +MARIADB_CONF_OPTS += -DWITHOUT_ROCKSDB=1 + +# Make it explicit that we are cross-compiling +MARIADB_CONF_OPTS += -DCMAKE_CROSSCOMPILING=1 + +# Explicitly disable dtrace to avoid detection of a host version +MARIADB_CONF_OPTS += -DENABLE_DTRACE=0 + +ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) +ifeq ($(BR2_PACKAGE_MARIADB_SERVER_EMBEDDED),y) +MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=ON +else +MARIADB_CONF_OPTS += -DWITH_EMBEDDED_SERVER=OFF +endif +else +MARIADB_CONF_OPTS += -DWITHOUT_SERVER=ON +endif + +MARIADB_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +MARIADB_CXXFLAGS += -latomic +endif + +MARIADB_CONF_OPTS += \ + -DCMAKE_CXX_FLAGS="$(MARIADB_CXXFLAGS)" \ + -DINSTALL_DOCDIR=share/doc/mariadb-$(MARIADB_VERSION) \ + -DINSTALL_DOCREADMEDIR=share/doc/mariadb-$(MARIADB_VERSION) \ + -DINSTALL_MANDIR=share/man \ + -DINSTALL_MYSQLSHAREDIR=share/mysql \ + -DINSTALL_MYSQLTESTDIR=share/mysql/test \ + -DINSTALL_PLUGINDIR=lib/mysql/plugin \ + -DINSTALL_SBINDIR=sbin \ + -DINSTALL_SCRIPTDIR=bin \ + -DINSTALL_SQLBENCHDIR=share/mysql/bench \ + -DINSTALL_SUPPORTFILESDIR=share/mysql \ + -DMYSQL_DATADIR=/var/lib/mysql \ + -DMYSQL_UNIX_ADDR=$(MYSQL_SOCKET) + +HOST_MARIADB_DEPENDENCIES = host-openssl +HOST_MARIADB_CONF_OPTS += -DWITH_SSL=system + +# Some helpers must be compiled for host in order to crosscompile mariadb for +# the target. They are then included by import_executables.cmake which is +# generated during the build of the host helpers. It is not necessary to build +# the whole host package, only the "import_executables" target. +# -DIMPORT_EXECUTABLES=$(HOST_MARIADB_BUILDDIR)/import_executables.cmake +# must then be passed to cmake during target build. +# see also https://mariadb.com/kb/en/mariadb/cross-compiling-mariadb/ +HOST_MARIADB_MAKE_OPTS = import_executables + +MARIADB_CONF_OPTS += \ + -DIMPORT_EXECUTABLES=$(HOST_MARIADB_BUILDDIR)/import_executables.cmake + +# Don't install host-mariadb. We just need to build import_executable +# Therefore only run 'true' and do nothing, not even the default action. +HOST_MARIADB_INSTALL_CMDS = true + +ifeq ($(BR2_PACKAGE_MARIADB_SERVER),y) +define MARIADB_USERS + mysql -1 mysql -1 * /var/lib/mysql - - MySQL Server +endef + +define MARIADB_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/mariadb/S97mysqld \ + $(TARGET_DIR)/etc/init.d/S97mysqld +endef + +define MARIADB_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/mariadb/mysqld.service \ + $(TARGET_DIR)/usr/lib/systemd/system/mysqld.service +endef +endif + +# We don't need mysql_config or mariadb_config on the target as it's +# only useful in staging. We also don't need the test suite on the target. +define MARIADB_POST_INSTALL + mkdir -p $(TARGET_DIR)/var/lib/mysql + $(RM) $(TARGET_DIR)/usr/bin/mysql_config + $(RM) $(TARGET_DIR)/usr/bin/mariadb_config + $(RM) -r $(TARGET_DIR)/usr/share/mysql/test +endef + +MARIADB_POST_INSTALL_TARGET_HOOKS += MARIADB_POST_INSTALL + +# overwrite cross-compiled mariadb_config executable by an native one +define MARIADB_POST_STAGING_INSTALL + $(HOSTCC) -I$(@D)/libmariadb/include \ + -o $(STAGING_DIR)/usr/bin/mariadb_config \ + $(@D)/libmariadb/mariadb_config/mariadb_config.c +endef +MARIADB_POST_INSTALL_STAGING_HOOKS += MARIADB_POST_STAGING_INSTALL + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2022.02.1/package/mariadb/mysqld.service b/buildroot-2022.02.1/package/mariadb/mysqld.service new file mode 100644 index 00000000..537430e9 --- /dev/null +++ b/buildroot-2022.02.1/package/mariadb/mysqld.service @@ -0,0 +1,14 @@ +[Unit] +Description=MySQL database server + +[Service] +ExecStartPre=/bin/sh -c 'test "`ls -1 /var/lib/mysql | wc -l`" != "0" || mysql_install_db --basedir=/usr --datadir=/var/lib/mysql' +ExecStartPre=!install -d -o mysql -g root -m 0755 /var/log/mysql +ExecStart=/usr/bin/mysqld_safe --log-error=/var/log/mysql/mysqld.log +Restart=always +User=mysql +RuntimeDirectory=mysql +RuntimeDirectoryMode=0755 + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/matchbox-common/Config.in b/buildroot-2022.02.1/package/matchbox-common/Config.in similarity index 100% rename from buildroot-2021.05/package/matchbox-common/Config.in rename to buildroot-2022.02.1/package/matchbox-common/Config.in diff --git a/buildroot-2021.05/package/matchbox-common/matchbox-common.hash b/buildroot-2022.02.1/package/matchbox-common/matchbox-common.hash similarity index 100% rename from buildroot-2021.05/package/matchbox-common/matchbox-common.hash rename to buildroot-2022.02.1/package/matchbox-common/matchbox-common.hash diff --git a/buildroot-2021.05/package/matchbox-common/matchbox-common.mk b/buildroot-2022.02.1/package/matchbox-common/matchbox-common.mk similarity index 100% rename from buildroot-2021.05/package/matchbox-common/matchbox-common.mk rename to buildroot-2022.02.1/package/matchbox-common/matchbox-common.mk diff --git a/buildroot-2021.05/package/matchbox-desktop/Config.in b/buildroot-2022.02.1/package/matchbox-desktop/Config.in similarity index 100% rename from buildroot-2021.05/package/matchbox-desktop/Config.in rename to buildroot-2022.02.1/package/matchbox-desktop/Config.in diff --git a/buildroot-2021.05/package/matchbox-desktop/matchbox-desktop.hash b/buildroot-2022.02.1/package/matchbox-desktop/matchbox-desktop.hash similarity index 100% rename from buildroot-2021.05/package/matchbox-desktop/matchbox-desktop.hash rename to buildroot-2022.02.1/package/matchbox-desktop/matchbox-desktop.hash diff --git a/buildroot-2021.05/package/matchbox-desktop/matchbox-desktop.mk b/buildroot-2022.02.1/package/matchbox-desktop/matchbox-desktop.mk similarity index 100% rename from buildroot-2021.05/package/matchbox-desktop/matchbox-desktop.mk rename to buildroot-2022.02.1/package/matchbox-desktop/matchbox-desktop.mk diff --git a/buildroot-2021.05/package/matchbox-fakekey/Config.in b/buildroot-2022.02.1/package/matchbox-fakekey/Config.in similarity index 100% rename from buildroot-2021.05/package/matchbox-fakekey/Config.in rename to buildroot-2022.02.1/package/matchbox-fakekey/Config.in diff --git a/buildroot-2022.02.1/package/matchbox-fakekey/matchbox-fakekey.hash b/buildroot-2022.02.1/package/matchbox-fakekey/matchbox-fakekey.hash new file mode 100644 index 00000000..3627b139 --- /dev/null +++ b/buildroot-2022.02.1/package/matchbox-fakekey/matchbox-fakekey.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 4e2fdc9bc20df469d53885c40e104122140131e06d4c184902070ec0b0f2ca9f libfakekey-0.3.tar.bz2 +sha256 3271662131760e9b30dd92495a0ea0b598fc457798cc67948947365299dd607d src/libfakekey.c diff --git a/buildroot-2022.02.1/package/matchbox-fakekey/matchbox-fakekey.mk b/buildroot-2022.02.1/package/matchbox-fakekey/matchbox-fakekey.mk new file mode 100644 index 00000000..99921ef8 --- /dev/null +++ b/buildroot-2022.02.1/package/matchbox-fakekey/matchbox-fakekey.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# matchbox-fakekey +# +################################################################################ + +MATCHBOX_FAKEKEY_VERSION = 0.3 +MATCHBOX_FAKEKEY_SOURCE = libfakekey-$(MATCHBOX_FAKEKEY_VERSION).tar.bz2 +MATCHBOX_FAKEKEY_SITE = \ + http://git.yoctoproject.org/cgit/cgit.cgi/libfakekey/snapshot +MATCHBOX_FAKEKEY_LICENSE = GPL-2.0+ +MATCHBOX_FAKEKEY_LICENSE_FILES = src/libfakekey.c +# From git +MATCHBOX_FAKEKEY_AUTORECONF = YES +MATCHBOX_FAKEKEY_INSTALL_STAGING = YES +MATCHBOX_FAKEKEY_DEPENDENCIES = matchbox-lib xlib_libXtst +MATCHBOX_FAKEKEY_CONF_OPTS = --enable-expat + +define MATCHBOX_FAKEKEY_POST_CONFIGURE_FIXES + $(SED) 's:^SUBDIRS = fakekey src tests.*:SUBDIRS = fakekey src:g' \ + $(@D)/Makefile +endef + +MATCHBOX_FAKEKEY_POST_CONFIGURE_HOOKS += MATCHBOX_FAKEKEY_POST_CONFIGURE_FIXES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/matchbox-keyboard/Config.in b/buildroot-2022.02.1/package/matchbox-keyboard/Config.in similarity index 100% rename from buildroot-2021.05/package/matchbox-keyboard/Config.in rename to buildroot-2022.02.1/package/matchbox-keyboard/Config.in diff --git a/buildroot-2021.05/package/matchbox-keyboard/matchbox-keyboard.hash b/buildroot-2022.02.1/package/matchbox-keyboard/matchbox-keyboard.hash similarity index 100% rename from buildroot-2021.05/package/matchbox-keyboard/matchbox-keyboard.hash rename to buildroot-2022.02.1/package/matchbox-keyboard/matchbox-keyboard.hash diff --git a/buildroot-2021.05/package/matchbox-keyboard/matchbox-keyboard.mk b/buildroot-2022.02.1/package/matchbox-keyboard/matchbox-keyboard.mk similarity index 100% rename from buildroot-2021.05/package/matchbox-keyboard/matchbox-keyboard.mk rename to buildroot-2022.02.1/package/matchbox-keyboard/matchbox-keyboard.mk diff --git a/buildroot-2021.05/package/matchbox-keyboard/mb-applet-kbd-wrapper.sh b/buildroot-2022.02.1/package/matchbox-keyboard/mb-applet-kbd-wrapper.sh similarity index 100% rename from buildroot-2021.05/package/matchbox-keyboard/mb-applet-kbd-wrapper.sh rename to buildroot-2022.02.1/package/matchbox-keyboard/mb-applet-kbd-wrapper.sh diff --git a/buildroot-2021.05/package/matchbox-lib/0001-index-is-legacy.patch b/buildroot-2022.02.1/package/matchbox-lib/0001-index-is-legacy.patch similarity index 100% rename from buildroot-2021.05/package/matchbox-lib/0001-index-is-legacy.patch rename to buildroot-2022.02.1/package/matchbox-lib/0001-index-is-legacy.patch diff --git a/buildroot-2021.05/package/matchbox-lib/Config.in b/buildroot-2022.02.1/package/matchbox-lib/Config.in similarity index 100% rename from buildroot-2021.05/package/matchbox-lib/Config.in rename to buildroot-2022.02.1/package/matchbox-lib/Config.in diff --git a/buildroot-2022.02.1/package/matchbox-lib/matchbox-lib.hash b/buildroot-2022.02.1/package/matchbox-lib/matchbox-lib.hash new file mode 100644 index 00000000..8144c102 --- /dev/null +++ b/buildroot-2022.02.1/package/matchbox-lib/matchbox-lib.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 5c7795e46c24d848a2b960f3b994911165d95e5d5731e39105ee0d808d2373eb libmatchbox-1.12.tar.bz2 +sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 COPYING diff --git a/buildroot-2022.02.1/package/matchbox-lib/matchbox-lib.mk b/buildroot-2022.02.1/package/matchbox-lib/matchbox-lib.mk new file mode 100644 index 00000000..00ca4a0d --- /dev/null +++ b/buildroot-2022.02.1/package/matchbox-lib/matchbox-lib.mk @@ -0,0 +1,61 @@ +################################################################################ +# +# matchbox-lib +# +################################################################################ + +MATCHBOX_LIB_VERSION = 1.12 +MATCHBOX_LIB_SOURCE = libmatchbox-$(MATCHBOX_LIB_VERSION).tar.bz2 +MATCHBOX_LIB_SITE = http://git.yoctoproject.org/cgit/cgit.cgi/libmatchbox/snapshot +MATCHBOX_LIB_LICENSE = LGPL-2.1+ +MATCHBOX_LIB_LICENSE_FILES = COPYING +# From git +MATCHBOX_LIB_AUTORECONF = YES +MATCHBOX_LIB_INSTALL_STAGING = YES +MATCHBOX_LIB_DEPENDENCIES = host-pkgconf xlib_libXext +MATCHBOX_LIB_CONF_OPTS = --disable-doxygen-docs +MATCHBOX_LIB_CONF_ENV = LIBS="-lX11" + +define MATCHBOX_LIB_POST_INSTALL_FIXES + $(SED) 's:-I$(STAGING_DIR)/:-I/:g' \ + -e 's:-I/usr/include\( \|$$\)::g' \ + $(STAGING_DIR)/usr/lib/pkgconfig/libmb.pc +endef + +MATCHBOX_LIB_POST_INSTALL_STAGING_HOOKS += MATCHBOX_LIB_POST_INSTALL_FIXES + +ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) +ifeq ($(BR2_PACKAGE_XLIB_LIBXPM),y) +MATCHBOX_LIB_DEPENDENCIES += xlib_libXpm +endif +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +MATCHBOX_LIB_CONF_OPTS += --enable-jpeg +MATCHBOX_LIB_DEPENDENCIES += jpeg +else +MATCHBOX_LIB_CONF_OPTS += --disable-jpeg +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +MATCHBOX_LIB_CONF_OPTS += --enable-png +MATCHBOX_LIB_DEPENDENCIES += libpng +else +MATCHBOX_LIB_CONF_OPTS += --disable-png +endif + +ifeq ($(BR2_PACKAGE_PANGO)$(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yyy) +MATCHBOX_LIB_CONF_OPTS += --enable-pango +MATCHBOX_LIB_DEPENDENCIES += pango +else +MATCHBOX_LIB_CONF_OPTS += --disable-pango +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) +MATCHBOX_LIB_CONF_OPTS += --enable-xft +MATCHBOX_LIB_DEPENDENCIES += xlib_libXft +else +MATCHBOX_LIB_CONF_OPTS += --disable-xft +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/matchbox-panel/0001-index-is-legacy.patch b/buildroot-2022.02.1/package/matchbox-panel/0001-index-is-legacy.patch similarity index 100% rename from buildroot-2021.05/package/matchbox-panel/0001-index-is-legacy.patch rename to buildroot-2022.02.1/package/matchbox-panel/0001-index-is-legacy.patch diff --git a/buildroot-2021.05/package/matchbox-panel/0002-mb-applet-wireless.patch b/buildroot-2022.02.1/package/matchbox-panel/0002-mb-applet-wireless.patch similarity index 100% rename from buildroot-2021.05/package/matchbox-panel/0002-mb-applet-wireless.patch rename to buildroot-2022.02.1/package/matchbox-panel/0002-mb-applet-wireless.patch diff --git a/buildroot-2021.05/package/matchbox-panel/0003-mb-applet-battery.patch b/buildroot-2022.02.1/package/matchbox-panel/0003-mb-applet-battery.patch similarity index 100% rename from buildroot-2021.05/package/matchbox-panel/0003-mb-applet-battery.patch rename to buildroot-2022.02.1/package/matchbox-panel/0003-mb-applet-battery.patch diff --git a/buildroot-2021.05/package/matchbox-panel/Config.in b/buildroot-2022.02.1/package/matchbox-panel/Config.in similarity index 100% rename from buildroot-2021.05/package/matchbox-panel/Config.in rename to buildroot-2022.02.1/package/matchbox-panel/Config.in diff --git a/buildroot-2021.05/package/matchbox-panel/matchbox-panel.hash b/buildroot-2022.02.1/package/matchbox-panel/matchbox-panel.hash similarity index 100% rename from buildroot-2021.05/package/matchbox-panel/matchbox-panel.hash rename to buildroot-2022.02.1/package/matchbox-panel/matchbox-panel.hash diff --git a/buildroot-2021.05/package/matchbox-panel/matchbox-panel.mk b/buildroot-2022.02.1/package/matchbox-panel/matchbox-panel.mk similarity index 100% rename from buildroot-2021.05/package/matchbox-panel/matchbox-panel.mk rename to buildroot-2022.02.1/package/matchbox-panel/matchbox-panel.mk diff --git a/buildroot-2021.05/package/matchbox-startup-monitor/0001-true-false.patch b/buildroot-2022.02.1/package/matchbox-startup-monitor/0001-true-false.patch similarity index 100% rename from buildroot-2021.05/package/matchbox-startup-monitor/0001-true-false.patch rename to buildroot-2022.02.1/package/matchbox-startup-monitor/0001-true-false.patch diff --git a/buildroot-2021.05/package/matchbox-startup-monitor/Config.in b/buildroot-2022.02.1/package/matchbox-startup-monitor/Config.in similarity index 100% rename from buildroot-2021.05/package/matchbox-startup-monitor/Config.in rename to buildroot-2022.02.1/package/matchbox-startup-monitor/Config.in diff --git a/buildroot-2021.05/package/matchbox-startup-monitor/matchbox-startup-monitor.hash b/buildroot-2022.02.1/package/matchbox-startup-monitor/matchbox-startup-monitor.hash similarity index 100% rename from buildroot-2021.05/package/matchbox-startup-monitor/matchbox-startup-monitor.hash rename to buildroot-2022.02.1/package/matchbox-startup-monitor/matchbox-startup-monitor.hash diff --git a/buildroot-2021.05/package/matchbox-startup-monitor/matchbox-startup-monitor.mk b/buildroot-2022.02.1/package/matchbox-startup-monitor/matchbox-startup-monitor.mk similarity index 100% rename from buildroot-2021.05/package/matchbox-startup-monitor/matchbox-startup-monitor.mk rename to buildroot-2022.02.1/package/matchbox-startup-monitor/matchbox-startup-monitor.mk diff --git a/buildroot-2021.05/package/matchbox/0001-defaulttheme.patch b/buildroot-2022.02.1/package/matchbox/0001-defaulttheme.patch similarity index 100% rename from buildroot-2021.05/package/matchbox/0001-defaulttheme.patch rename to buildroot-2022.02.1/package/matchbox/0001-defaulttheme.patch diff --git a/buildroot-2021.05/package/matchbox/0002-src-Fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/matchbox/0002-src-Fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/matchbox/0002-src-Fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/matchbox/0002-src-Fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/matchbox/Config.in b/buildroot-2022.02.1/package/matchbox/Config.in similarity index 100% rename from buildroot-2021.05/package/matchbox/Config.in rename to buildroot-2022.02.1/package/matchbox/Config.in diff --git a/buildroot-2021.05/package/matchbox/matchbox.hash b/buildroot-2022.02.1/package/matchbox/matchbox.hash similarity index 100% rename from buildroot-2021.05/package/matchbox/matchbox.hash rename to buildroot-2022.02.1/package/matchbox/matchbox.hash diff --git a/buildroot-2021.05/package/matchbox/matchbox.mk b/buildroot-2022.02.1/package/matchbox/matchbox.mk similarity index 100% rename from buildroot-2021.05/package/matchbox/matchbox.mk rename to buildroot-2022.02.1/package/matchbox/matchbox.mk diff --git a/buildroot-2021.05/package/matio/Config.in b/buildroot-2022.02.1/package/matio/Config.in similarity index 100% rename from buildroot-2021.05/package/matio/Config.in rename to buildroot-2022.02.1/package/matio/Config.in diff --git a/buildroot-2022.02.1/package/matio/matio.hash b/buildroot-2022.02.1/package/matio/matio.hash new file mode 100644 index 00000000..4634074c --- /dev/null +++ b/buildroot-2022.02.1/package/matio/matio.hash @@ -0,0 +1,4 @@ +# From https://sourceforge.net/projects/matio/files/matio/1.5.22/ +sha512 33fd3991413e94dfc9aba13ffd08b09ddcbdb9dfa579124d981449e195a8c61a3dc95b55e46bba360d48456c117cf36403af1c3448689c26b8aea5fa9cf38323 matio-1.5.22.tar.gz +# Locally computed +sha256 3ed9a50d754fcc92d4accb8448e397eafeab686796b2a7445557ce782806e239 COPYING diff --git a/buildroot-2022.02.1/package/matio/matio.mk b/buildroot-2022.02.1/package/matio/matio.mk new file mode 100644 index 00000000..d282852d --- /dev/null +++ b/buildroot-2022.02.1/package/matio/matio.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# matio +# +################################################################################ + +MATIO_VERSION = 1.5.22 +MATIO_SITE = http://downloads.sourceforge.net/project/matio/matio/$(MATIO_VERSION) +MATIO_LICENSE = BSD-2-Clause +MATIO_LICENSE_FILES = COPYING +MATIO_CPE_ID_VENDOR = matio_project +MATIO_DEPENDENCIES = zlib +MATIO_INSTALL_STAGING = YES + +# va_copy() +MATIO_CONF_ENV = ac_cv_va_copy=yes + +# mat73 require hdf5 (not available), extented-sparse take 2KB +MATIO_CONF_OPTS = --disable-mat73 --enable-extended-sparse + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mawk/Config.in b/buildroot-2022.02.1/package/mawk/Config.in similarity index 100% rename from buildroot-2021.05/package/mawk/Config.in rename to buildroot-2022.02.1/package/mawk/Config.in diff --git a/buildroot-2021.05/package/mawk/mawk.hash b/buildroot-2022.02.1/package/mawk/mawk.hash similarity index 100% rename from buildroot-2021.05/package/mawk/mawk.hash rename to buildroot-2022.02.1/package/mawk/mawk.hash diff --git a/buildroot-2021.05/package/mawk/mawk.mk b/buildroot-2022.02.1/package/mawk/mawk.mk similarity index 100% rename from buildroot-2021.05/package/mawk/mawk.mk rename to buildroot-2022.02.1/package/mawk/mawk.mk diff --git a/buildroot-2021.05/package/mbedtls/0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch b/buildroot-2022.02.1/package/mbedtls/0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch similarity index 100% rename from buildroot-2021.05/package/mbedtls/0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch rename to buildroot-2022.02.1/package/mbedtls/0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch diff --git a/buildroot-2021.05/package/mbedtls/Config.in b/buildroot-2022.02.1/package/mbedtls/Config.in similarity index 100% rename from buildroot-2021.05/package/mbedtls/Config.in rename to buildroot-2022.02.1/package/mbedtls/Config.in diff --git a/buildroot-2022.02.1/package/mbedtls/mbedtls.hash b/buildroot-2022.02.1/package/mbedtls/mbedtls.hash new file mode 100644 index 00000000..80ae173a --- /dev/null +++ b/buildroot-2022.02.1/package/mbedtls/mbedtls.hash @@ -0,0 +1,4 @@ +# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.28.0: +sha256 6519579b836ed78cc549375c7c18b111df5717e86ca0eeff4cb64b2674f424cc mbedtls-2.28.0.tar.gz +# Locally calculated +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/mbedtls/mbedtls.mk b/buildroot-2022.02.1/package/mbedtls/mbedtls.mk new file mode 100644 index 00000000..8745ff33 --- /dev/null +++ b/buildroot-2022.02.1/package/mbedtls/mbedtls.mk @@ -0,0 +1,75 @@ +################################################################################ +# +# mbedtls +# +################################################################################ + +MBEDTLS_VERSION = 2.28.0 +MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION)) +MBEDTLS_CONF_OPTS = \ + -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -std=c99" \ + -DENABLE_PROGRAMS=$(if $(BR2_PACKAGE_MBEDTLS_PROGRAMS),ON,OFF) \ + -DENABLE_TESTING=OFF \ + -DMBEDTLS_FATAL_WARNINGS=OFF +MBEDTLS_INSTALL_STAGING = YES +MBEDTLS_LICENSE = Apache-2.0 +MBEDTLS_LICENSE_FILES = LICENSE +MBEDTLS_CPE_ID_VENDOR = arm +MBEDTLS_CPE_ID_PRODUCT = mbed_tls + +# This is mandatory for hiawatha +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +define MBEDTLS_ENABLE_THREADING + $(SED) "s://#define MBEDTLS_THREADING_C:#define MBEDTLS_THREADING_C:" \ + $(@D)/include/mbedtls/config.h + $(SED) "s://#define MBEDTLS_THREADING_PTHREAD:#define MBEDTLS_THREADING_PTHREAD:" \ + $(@D)/include/mbedtls/config.h +endef +MBEDTLS_POST_PATCH_HOOKS += MBEDTLS_ENABLE_THREADING +ifeq ($(BR2_STATIC_LIBS),y) +MBEDTLS_CONF_OPTS += -DLINK_WITH_PTHREAD=ON +endif +endif + +ifeq ($(BR2_STATIC_LIBS),y) +MBEDTLS_CONF_OPTS += \ + -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DUSE_STATIC_MBEDTLS_LIBRARY=ON +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +MBEDTLS_CONF_OPTS += \ + -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=ON +else ifeq ($(BR2_SHARED_LIBS),y) +MBEDTLS_CONF_OPTS += \ + -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=OFF +endif + +ifeq ($(BR2_PACKAGE_MBEDTLS_COMPRESSION),y) +MBEDTLS_CONF_OPTS += -DENABLE_ZLIB_SUPPORT=ON +MBEDTLS_DEPENDENCIES += zlib +define MBEDTLS_ENABLE_ZLIB + $(SED) "s://#define MBEDTLS_ZLIB_SUPPORT:#define MBEDTLS_ZLIB_SUPPORT:" \ + $(@D)/include/mbedtls/config.h +endef +MBEDTLS_POST_PATCH_HOOKS += MBEDTLS_ENABLE_ZLIB +else +MBEDTLS_CONF_OPTS += -DENABLE_ZLIB_SUPPORT=OFF +endif + +define MBEDTLS_DISABLE_ASM + $(SED) '/^#define MBEDTLS_AESNI_C/d' \ + $(@D)/include/mbedtls/config.h + $(SED) '/^#define MBEDTLS_HAVE_ASM/d' \ + $(@D)/include/mbedtls/config.h + $(SED) '/^#define MBEDTLS_PADLOCK_C/d' \ + $(@D)/include/mbedtls/config.h +endef + +# ARM in thumb mode breaks debugging with asm optimizations +# Microblaze asm optimizations are broken in general +# MIPS R6 asm is not yet supported +ifeq ($(BR2_ENABLE_DEBUG)$(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_ARM_INSTRUCTIONS_THUMB2),yy) +MBEDTLS_POST_CONFIGURE_HOOKS += MBEDTLS_DISABLE_ASM +else ifeq ($(BR2_microblaze)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) +MBEDTLS_POST_CONFIGURE_HOOKS += MBEDTLS_DISABLE_ASM +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/mbpfan/Config.in b/buildroot-2022.02.1/package/mbpfan/Config.in similarity index 100% rename from buildroot-2021.05/package/mbpfan/Config.in rename to buildroot-2022.02.1/package/mbpfan/Config.in diff --git a/buildroot-2021.05/package/mbpfan/mbpfan.hash b/buildroot-2022.02.1/package/mbpfan/mbpfan.hash similarity index 100% rename from buildroot-2021.05/package/mbpfan/mbpfan.hash rename to buildroot-2022.02.1/package/mbpfan/mbpfan.hash diff --git a/buildroot-2021.05/package/mbpfan/mbpfan.mk b/buildroot-2022.02.1/package/mbpfan/mbpfan.mk similarity index 100% rename from buildroot-2021.05/package/mbpfan/mbpfan.mk rename to buildroot-2022.02.1/package/mbpfan/mbpfan.mk diff --git a/buildroot-2021.05/package/mbuffer/Config.in b/buildroot-2022.02.1/package/mbuffer/Config.in similarity index 100% rename from buildroot-2021.05/package/mbuffer/Config.in rename to buildroot-2022.02.1/package/mbuffer/Config.in diff --git a/buildroot-2022.02.1/package/mbuffer/mbuffer.hash b/buildroot-2022.02.1/package/mbuffer/mbuffer.hash new file mode 100644 index 00000000..bab568d1 --- /dev/null +++ b/buildroot-2022.02.1/package/mbuffer/mbuffer.hash @@ -0,0 +1,8 @@ +# From http://www.maier-komor.de/mbuffer.html +md5 b6787260112e3ac416c0febdb097caa8 mbuffer-20211018.tgz + +# Locally computed after checking signature upstream +sha256 e240c1e4e4ac14c28be8c660ec47d44ce16b1e8ec92aa907ad13004ffd5db6e3 mbuffer-20211018.tgz + +# Hash for license file +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE diff --git a/buildroot-2022.02.1/package/mbuffer/mbuffer.mk b/buildroot-2022.02.1/package/mbuffer/mbuffer.mk new file mode 100644 index 00000000..bbf27579 --- /dev/null +++ b/buildroot-2022.02.1/package/mbuffer/mbuffer.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# mbuffer +# +################################################################################ + +MBUFFER_VERSION = 20211018 +MBUFFER_SOURCE = mbuffer-$(MBUFFER_VERSION).tgz +MBUFFER_SITE = http://www.maier-komor.de/software/mbuffer +MBUFFER_LICENSE = GPL-3.0+ +MBUFFER_LICENSE_FILES = LICENSE +MBUFFER_CONF_OPTS = --disable-debug + +# we don't need tests & co. so we specify a target +# so that the others don't get built, e.g idev.so +MBUFFER_MAKE_OPTS += mbuffer + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mc/Config.in b/buildroot-2022.02.1/package/mc/Config.in similarity index 100% rename from buildroot-2021.05/package/mc/Config.in rename to buildroot-2022.02.1/package/mc/Config.in diff --git a/buildroot-2022.02.1/package/mc/mc.hash b/buildroot-2022.02.1/package/mc/mc.hash new file mode 100644 index 00000000..6400f64b --- /dev/null +++ b/buildroot-2022.02.1/package/mc/mc.hash @@ -0,0 +1,4 @@ +# Hash from http://ftp.midnight-commander.org/mc-4.8.27.sha256 +sha256 31be59225ffa9920816e9a8b3be0ab225a16d19e4faf46890f25bdffa02a4ff4 mc-4.8.27.tar.xz +# sha256 locally computed: +sha256 5576bbec76296e1c8e081f7037ebd01bdada388635f58d844a2f20d37bbe4284 COPYING diff --git a/buildroot-2022.02.1/package/mc/mc.mk b/buildroot-2022.02.1/package/mc/mc.mk new file mode 100644 index 00000000..678d687b --- /dev/null +++ b/buildroot-2022.02.1/package/mc/mc.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# mc +# +################################################################################ + +MC_VERSION = 4.8.27 +MC_SOURCE = mc-$(MC_VERSION).tar.xz +MC_SITE = http://ftp.midnight-commander.org +MC_LICENSE = GPL-3.0+ +MC_LICENSE_FILES = COPYING +MC_DEPENDENCIES = libglib2 host-pkgconf $(TARGET_NLS_DEPENDENCIES) +MC_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_GPM),y) +MC_CONF_OPTS += --with-gpm-mouse +MC_DEPENDENCIES += gpm +else +MC_CONF_OPTS += --without-gpm-mouse +endif + +ifeq ($(BR2_PACKAGE_LIBSSH2),y) +MC_CONF_OPTS += --enable-vfs-sftp +MC_DEPENDENCIES += libssh2 +else +MC_CONF_OPTS += --disable-vfs-sftp +endif + +# mc prefers slang, so use that if enabled, otherwise +# fallback to using ncurses. +# Either or both will be enabled, but we prefer slang. +ifeq ($(BR2_PACKAGE_SLANG),y) +MC_DEPENDENCIES += slang +MC_CONF_OPTS += --with-screen=slang +else +MC_DEPENDENCIES += ncurses +MC_CONF_OPTS += --with-screen=ncurses +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +MC_CONF_OPTS += --with-x +MC_DEPENDENCIES += xlib_libX11 +else +MC_CONF_OPTS += --without-x +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mcelog/Config.in b/buildroot-2022.02.1/package/mcelog/Config.in similarity index 100% rename from buildroot-2021.05/package/mcelog/Config.in rename to buildroot-2022.02.1/package/mcelog/Config.in diff --git a/buildroot-2022.02.1/package/mcelog/mcelog.hash b/buildroot-2022.02.1/package/mcelog/mcelog.hash new file mode 100644 index 00000000..598aa648 --- /dev/null +++ b/buildroot-2022.02.1/package/mcelog/mcelog.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 e9c82b565da06673c2630f9e6bc668634ad7d2c7f13c70db1900cce110ae62dc mcelog-180.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/mcelog/mcelog.mk b/buildroot-2022.02.1/package/mcelog/mcelog.mk new file mode 100644 index 00000000..da7785ca --- /dev/null +++ b/buildroot-2022.02.1/package/mcelog/mcelog.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# mcelog +# +################################################################################ + +MCELOG_VERSION = 180 +MCELOG_SITE = $(call github,andikleen,mcelog,v$(MCELOG_VERSION)) +MCELOG_LICENSE = GPL-2.0 +MCELOG_LICENSE_FILES = LICENSE +MCELOG_SELINUX_MODULES = mcelog + +define MCELOG_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all +endef + +define MCELOG_INSTALL_TARGET_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +define MCELOG_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/mcelog.service \ + $(TARGET_DIR)/usr/lib/systemd/system/mcelog.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mdadm/Config.in b/buildroot-2022.02.1/package/mdadm/Config.in similarity index 100% rename from buildroot-2021.05/package/mdadm/Config.in rename to buildroot-2022.02.1/package/mdadm/Config.in diff --git a/buildroot-2022.02.1/package/mdadm/mdadm.hash b/buildroot-2022.02.1/package/mdadm/mdadm.hash new file mode 100644 index 00000000..b9631a2a --- /dev/null +++ b/buildroot-2022.02.1/package/mdadm/mdadm.hash @@ -0,0 +1,4 @@ +# From https://www.kernel.org/pub/linux/utils/raid/mdadm/sha256sums.asc +sha256 461c215670864bb74a4d1a3620684aa2b2f8296dffa06743f26dda5557acf01d mdadm-4.2.tar.xz +# Locally calculated +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/mdadm/mdadm.mk b/buildroot-2022.02.1/package/mdadm/mdadm.mk new file mode 100644 index 00000000..0a2eb4e5 --- /dev/null +++ b/buildroot-2022.02.1/package/mdadm/mdadm.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# mdadm +# +################################################################################ + +MDADM_VERSION = 4.2 +MDADM_SOURCE = mdadm-$(MDADM_VERSION).tar.xz +MDADM_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/raid/mdadm +MDADM_LICENSE = GPL-2.0+ +MDADM_LICENSE_FILES = COPYING + +MDADM_CXFLAGS = $(TARGET_CFLAGS) + +MDADM_BUILD_OPTS = \ + CC=$(TARGET_CC) \ + COROSYNC=-DNO_COROSYNC \ + DLM=-DNO_DLM \ + CWFLAGS="" \ + CXFLAGS="$(MDADM_CXFLAGS)" \ + CPPFLAGS="$(TARGET_CPPFLAGS) -DBINDIR=\\\"/sbin\\\"" \ + CHECK_RUN_DIR=0 + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) +MDADM_BUILD_OPTS += USE_PTHREADS= +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +MDADM_DEPENDENCIES += udev +else +MDADM_CXFLAGS += -DNO_LIBUDEV +endif + +define MDADM_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(MDADM_BUILD_OPTS) mdadm mdmon +endef + +define MDADM_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install-bin +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mdevd/Config.in b/buildroot-2022.02.1/package/mdevd/Config.in similarity index 100% rename from buildroot-2021.05/package/mdevd/Config.in rename to buildroot-2022.02.1/package/mdevd/Config.in diff --git a/buildroot-2021.05/package/mdevd/mdevd.hash b/buildroot-2022.02.1/package/mdevd/mdevd.hash similarity index 100% rename from buildroot-2021.05/package/mdevd/mdevd.hash rename to buildroot-2022.02.1/package/mdevd/mdevd.hash diff --git a/buildroot-2021.05/package/mdevd/mdevd.mk b/buildroot-2022.02.1/package/mdevd/mdevd.mk similarity index 100% rename from buildroot-2021.05/package/mdevd/mdevd.mk rename to buildroot-2022.02.1/package/mdevd/mdevd.mk diff --git a/buildroot-2021.05/package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch b/buildroot-2022.02.1/package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch similarity index 100% rename from buildroot-2021.05/package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch rename to buildroot-2022.02.1/package/mediastreamer/0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch diff --git a/buildroot-2021.05/package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch b/buildroot-2022.02.1/package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch similarity index 100% rename from buildroot-2021.05/package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch rename to buildroot-2022.02.1/package/mediastreamer/0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch diff --git a/buildroot-2021.05/package/mediastreamer/Config.in b/buildroot-2022.02.1/package/mediastreamer/Config.in similarity index 100% rename from buildroot-2021.05/package/mediastreamer/Config.in rename to buildroot-2022.02.1/package/mediastreamer/Config.in diff --git a/buildroot-2021.05/package/mediastreamer/mediastreamer.hash b/buildroot-2022.02.1/package/mediastreamer/mediastreamer.hash similarity index 100% rename from buildroot-2021.05/package/mediastreamer/mediastreamer.hash rename to buildroot-2022.02.1/package/mediastreamer/mediastreamer.hash diff --git a/buildroot-2021.05/package/mediastreamer/mediastreamer.mk b/buildroot-2022.02.1/package/mediastreamer/mediastreamer.mk similarity index 100% rename from buildroot-2021.05/package/mediastreamer/mediastreamer.mk rename to buildroot-2022.02.1/package/mediastreamer/mediastreamer.mk diff --git a/buildroot-2022.02.1/package/memcached/0001-logger.c-initialize-rport.patch b/buildroot-2022.02.1/package/memcached/0001-logger.c-initialize-rport.patch new file mode 100644 index 00000000..5fb13d5e --- /dev/null +++ b/buildroot-2022.02.1/package/memcached/0001-logger.c-initialize-rport.patch @@ -0,0 +1,55 @@ +From b3431c4fcaf65e66fda80ef89b79ff3da1912b4f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 25 Dec 2021 20:05:29 +0100 +Subject: [PATCH] logger.c: initialize rport + +Fix the following build failure raised since version 1.6.11 and +https://github.com/memcached/memcached/commit/617d7cd64d04698b76fee74882627690017e20ad: + +logger.c: In function '_logger_parse_cce': +logger.c:297:13: error: 'rport' may be used uninitialized in this function [-Werror=maybe-uninitialized] + 297 | total = snprintf(scratch, LOGGER_PARSE_SCRATCH, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 298 | "ts=%d.%d gid=%llu type=conn_close rip=%s rport=%hu transport=%s reason=%s cfd=%d\n", + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 299 | (int) e->tv.tv_sec, (int) e->tv.tv_usec, (unsigned long long) e->gid, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 300 | rip, rport, transport_map[le->transport], + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 301 | reason_map[le->reason], le->sfd); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/7a46ac38d10b1859034017e0294961daa8f48dd2 + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet] +--- + logger.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/logger.c b/logger.c +index 667f3c7..394adae 100644 +--- a/logger.c ++++ b/logger.c +@@ -269,7 +269,7 @@ static int _logger_parse_extw(logentry *e, char *scratch) { + + static int _logger_parse_cne(logentry *e, char *scratch) { + int total; +- unsigned short rport; ++ unsigned short rport = 0; + char rip[64]; + struct logentry_conn_event *le = (struct logentry_conn_event *) e->data; + const char * const transport_map[] = { "local", "tcp", "udp" }; +@@ -286,7 +286,7 @@ static int _logger_parse_cne(logentry *e, char *scratch) { + + static int _logger_parse_cce(logentry *e, char *scratch) { + int total; +- unsigned short rport; ++ unsigned short rport = 0; + char rip[64]; + struct logentry_conn_event *le = (struct logentry_conn_event *) e->data; + const char * const transport_map[] = { "local", "tcp", "udp" }; +-- +2.33.0 + diff --git a/buildroot-2021.05/package/memcached/Config.in b/buildroot-2022.02.1/package/memcached/Config.in similarity index 100% rename from buildroot-2021.05/package/memcached/Config.in rename to buildroot-2022.02.1/package/memcached/Config.in diff --git a/buildroot-2022.02.1/package/memcached/memcached.hash b/buildroot-2022.02.1/package/memcached/memcached.hash new file mode 100644 index 00000000..22c794d0 --- /dev/null +++ b/buildroot-2022.02.1/package/memcached/memcached.hash @@ -0,0 +1,6 @@ +# From http://www.memcached.org/files/memcached-1.6.12.tar.gz.sha1 +sha1 40d43e98f149e13e6c81eee813e6734f23413a01 memcached-1.6.12.tar.gz + +# Locally computed +sha256 f291a35f82ef9756ed1d952879ef5f4be870f932bdfcb2ab61356609abf82346 memcached-1.6.12.tar.gz +sha256 bc887c4ad8051fe690ace9528fe37a2e0bb362e6d963331d82e845ca9b585a0c COPYING diff --git a/buildroot-2022.02.1/package/memcached/memcached.mk b/buildroot-2022.02.1/package/memcached/memcached.mk new file mode 100644 index 00000000..8f3506f9 --- /dev/null +++ b/buildroot-2022.02.1/package/memcached/memcached.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# memcached +# +################################################################################ + +MEMCACHED_VERSION = 1.6.12 +MEMCACHED_SITE = http://www.memcached.org/files +MEMCACHED_DEPENDENCIES = libevent +MEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' +MEMCACHED_CONF_OPTS = --disable-coverage +MEMCACHED_LICENSE = BSD-3-Clause +MEMCACHED_LICENSE_FILES = COPYING +MEMCACHED_CPE_ID_VENDOR = memcached +MEMCACHED_SELINUX_MODULES = memcached + +ifeq ($(BR2_ENDIAN),"BIG") +MEMCACHED_CONF_ENV += ac_cv_c_endian=big +else +MEMCACHED_CONF_ENV += ac_cv_c_endian=little +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/memstat/0001-PATH_MAX.patch b/buildroot-2022.02.1/package/memstat/0001-PATH_MAX.patch similarity index 100% rename from buildroot-2021.05/package/memstat/0001-PATH_MAX.patch rename to buildroot-2022.02.1/package/memstat/0001-PATH_MAX.patch diff --git a/buildroot-2021.05/package/memstat/Config.in b/buildroot-2022.02.1/package/memstat/Config.in similarity index 100% rename from buildroot-2021.05/package/memstat/Config.in rename to buildroot-2022.02.1/package/memstat/Config.in diff --git a/buildroot-2021.05/package/memstat/memstat.hash b/buildroot-2022.02.1/package/memstat/memstat.hash similarity index 100% rename from buildroot-2021.05/package/memstat/memstat.hash rename to buildroot-2022.02.1/package/memstat/memstat.hash diff --git a/buildroot-2021.05/package/memstat/memstat.mk b/buildroot-2022.02.1/package/memstat/memstat.mk similarity index 100% rename from buildroot-2021.05/package/memstat/memstat.mk rename to buildroot-2022.02.1/package/memstat/memstat.mk diff --git a/buildroot-2021.05/package/memtest86/Config.in b/buildroot-2022.02.1/package/memtest86/Config.in similarity index 100% rename from buildroot-2021.05/package/memtest86/Config.in rename to buildroot-2022.02.1/package/memtest86/Config.in diff --git a/buildroot-2021.05/package/memtest86/memtest86.hash b/buildroot-2022.02.1/package/memtest86/memtest86.hash similarity index 100% rename from buildroot-2021.05/package/memtest86/memtest86.hash rename to buildroot-2022.02.1/package/memtest86/memtest86.hash diff --git a/buildroot-2021.05/package/memtest86/memtest86.mk b/buildroot-2022.02.1/package/memtest86/memtest86.mk similarity index 100% rename from buildroot-2021.05/package/memtest86/memtest86.mk rename to buildroot-2022.02.1/package/memtest86/memtest86.mk diff --git a/buildroot-2021.05/package/memtester/Config.in b/buildroot-2022.02.1/package/memtester/Config.in similarity index 100% rename from buildroot-2021.05/package/memtester/Config.in rename to buildroot-2022.02.1/package/memtester/Config.in diff --git a/buildroot-2021.05/package/memtester/memtester.hash b/buildroot-2022.02.1/package/memtester/memtester.hash similarity index 100% rename from buildroot-2021.05/package/memtester/memtester.hash rename to buildroot-2022.02.1/package/memtester/memtester.hash diff --git a/buildroot-2021.05/package/memtester/memtester.mk b/buildroot-2022.02.1/package/memtester/memtester.mk similarity index 100% rename from buildroot-2021.05/package/memtester/memtester.mk rename to buildroot-2022.02.1/package/memtester/memtester.mk diff --git a/buildroot-2021.05/package/memtool/Config.in b/buildroot-2022.02.1/package/memtool/Config.in similarity index 100% rename from buildroot-2021.05/package/memtool/Config.in rename to buildroot-2022.02.1/package/memtool/Config.in diff --git a/buildroot-2021.05/package/memtool/memtool.hash b/buildroot-2022.02.1/package/memtool/memtool.hash similarity index 100% rename from buildroot-2021.05/package/memtool/memtool.hash rename to buildroot-2022.02.1/package/memtool/memtool.hash diff --git a/buildroot-2021.05/package/memtool/memtool.mk b/buildroot-2022.02.1/package/memtool/memtool.mk similarity index 100% rename from buildroot-2021.05/package/memtool/memtool.mk rename to buildroot-2022.02.1/package/memtool/memtool.mk diff --git a/buildroot-2021.05/package/mender-artifact/Config.in.host b/buildroot-2022.02.1/package/mender-artifact/Config.in.host similarity index 100% rename from buildroot-2021.05/package/mender-artifact/Config.in.host rename to buildroot-2022.02.1/package/mender-artifact/Config.in.host diff --git a/buildroot-2022.02.1/package/mender-artifact/mender-artifact.hash b/buildroot-2022.02.1/package/mender-artifact/mender-artifact.hash new file mode 100644 index 00000000..27f18862 --- /dev/null +++ b/buildroot-2022.02.1/package/mender-artifact/mender-artifact.hash @@ -0,0 +1,37 @@ +# Locally computed: +sha256 c46c305616cf53e65b786862addf04d97c388e451f11478886967b494c4ce5d9 mender-artifact-3.6.1.tar.gz +sha256 ac23df36801aea6a28685b60a742f68f99d357e0d9973d5c36aa2e72599d8e2a LIC_FILES_CHKSUM.sha256 + +# License hash extracted from LIC_FILES_CHKSUM.sha256 using the +# following command: +# +# sed '/^[A-Za-z0-9_]/s/^/sha256 /' LIC_FILES_CHKSUM.sha256 + +# Apache 2.0 licenses. +sha256 b4acfcfa2a0ba1a8c82ec3965fbcee886cff8394ca4214e0ddac0a36beb1e05a LICENSE +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 vendor/github.com/minio/sha256-simd/LICENSE +sha256 8f5d89b47d7a05a199b77b7e0f362dad391d451ebda4ef48ba11c50c071564c7 vendor/github.com/mendersoftware/progressbar/LICENSE +# +# BSD 2 Clause licenses. +sha256 8d427fd87bc9579ea368fde3d49f9ca22eac857f91a9dec7e3004bdfab7dee86 vendor/github.com/pkg/errors/LICENSE +# +# BSD 3 Clause licenses. +sha256 2eb550be6801c1ea434feba53bf6d12e7c71c90253e0a9de4a4f46cf88b56477 vendor/github.com/pmezard/go-difflib/LICENSE +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/sys/LICENSE +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/crypto/LICENSE +sha256 a284e538f3e5649ae6a8f32da2bbd18e9daabf2c1ebbfb99ed92e797b159be1a vendor/github.com/remyoudompheng/go-liblzma/LICENSE +sha256 16f848582e4b276a7392cd34496b7a33d6f65c0e190c163ff3a056a7c61219ce vendor/github.com/klauspost/compress/LICENSE +sha256 75e1ca97a84a9da6051dee0114333388216f2c4a5a028296b882ff3d57274735 vendor/github.com/russross/blackfriday/v2/LICENSE.txt +# +# ISC licenses. +sha256 1b93a317849ee09d3d7e4f1d20c2b78ddb230b4becb12d7c224c927b9d470251 vendor/github.com/davecgh/go-spew/LICENSE +# +# MIT licenses. +sha256 f8e536c1c7b695810427095dc85f5f80d44ff7c10535e8a9486cf393e2599189 vendor/github.com/stretchr/testify/LICENSE +sha256 da277af11b85227490377fbcac6afccc68be560c4fff36ac05ca62de55345fd7 vendor/github.com/urfave/cli/LICENSE +sha256 51a0c9ec7f8b7634181b8d4c03e5b5d204ac21d6e72f46c313973424664b2e6b vendor/github.com/sirupsen/logrus/LICENSE +sha256 6d2de1cde19c4d2bd8bcd9aaa1d581f4cfa3db9cf71896140330eaa2f2687685 vendor/github.com/klauspost/pgzip/LICENSE +sha256 a55959c4e3e8917bfa857359bb641115336276a6cc97408fd8197e079fb18470 vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md +sha256 c8024e31c1de453fea90f22a221968835cc7af9d520274a2576c9ec9976055b0 vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE +sha256 d18f6323b71b0b768bb5e9616e36da390fbd39369a81807cca352de4e4e6aa0b vendor/gopkg.in/yaml.v3/LICENSE +sha256 08eab1118c80885fa1fa6a6dd7303f65a379fcb3733e063d20d1bbc2c76e6fa1 vendor/github.com/mattn/go-isatty/LICENSE diff --git a/buildroot-2022.02.1/package/mender-artifact/mender-artifact.mk b/buildroot-2022.02.1/package/mender-artifact/mender-artifact.mk new file mode 100644 index 00000000..34d0cd94 --- /dev/null +++ b/buildroot-2022.02.1/package/mender-artifact/mender-artifact.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# host-mender-artifact +# +################################################################################ + +HOST_MENDER_ARTIFACT_VERSION = 3.6.1 +HOST_MENDER_ARTIFACT_SITE = $(call github,mendersoftware,mender-artifact,$(HOST_MENDER_ARTIFACT_VERSION)) +HOST_MENDER_ARTIFACT_LICENSE = Apache2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT +HOST_MENDER_ARTIFACT_LICENSE_FILES = \ + LICENSE \ + LIC_FILES_CHKSUM.sha256 \ + vendor/github.com/minio/sha256-simd/LICENSE \ + vendor/github.com/mendersoftware/progressbar/LICENSE \ + vendor/github.com/pkg/errors/LICENSE \ + vendor/github.com/pmezard/go-difflib/LICENSE \ + vendor/golang.org/x/sys/LICENSE \ + vendor/golang.org/x/crypto/LICENSE \ + vendor/github.com/remyoudompheng/go-liblzma/LICENSE \ + vendor/github.com/klauspost/compress/LICENSE \ + vendor/github.com/russross/blackfriday/v2/LICENSE.txt \ + vendor/github.com/davecgh/go-spew/LICENSE \ + vendor/github.com/stretchr/testify/LICENSE \ + vendor/github.com/urfave/cli/LICENSE \ + vendor/github.com/sirupsen/logrus/LICENSE \ + vendor/github.com/klauspost/pgzip/LICENSE \ + vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md \ + vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE \ + vendor/gopkg.in/yaml.v3/LICENSE \ + vendor/github.com/mattn/go-isatty/LICENSE + +HOST_MENDER_ARTIFACT_DEPENDENCIES = host-xz + +# By default, go will attempt to download needed modules before building, which +# is not desirable. This behavior also causes permission issues when cleaning, +# as go downloads modules as read-only by default. Because mender-artifact +# includes the modules in the vendor directory, mod=vendor prevents the package +# from downloading the go modules during the build process and prevents +# permission issues when cleaning. +HOST_MENDER_ARTIFACT_GO_ENV = GOFLAGS="-mod=vendor" + +HOST_MENDER_ARTIFACT_LDFLAGS = -X github.com/mendersoftware/mender-artifact/cli.Version=$(HOST_MENDER_ARTIFACT_VERSION) + +HOST_MENDER_ARTIFACT_BIN_NAME = mender-artifact +HOST_MENDER_ARTIFACT_INSTALL_BINS = $(HOST_MENDER_ARTIFACT_BIN_NAME) + +$(eval $(host-golang-package)) diff --git a/buildroot-2022.02.1/package/mender-grubenv/Config.in b/buildroot-2022.02.1/package/mender-grubenv/Config.in new file mode 100644 index 00000000..f27eb09e --- /dev/null +++ b/buildroot-2022.02.1/package/mender-grubenv/Config.in @@ -0,0 +1,41 @@ +config BR2_PACKAGE_MENDER_GRUBENV + bool "mender-grubenv" + depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS + depends on BR2_PACKAGE_MENDER # runtime + depends on BR2_TARGET_GRUB2 + depends on !(BR2_TARGET_GRUB2_HAS_LEGACY_BOOT && BR2_TARGET_GRUB2_HAS_EFI_BOOT) + help + Contains the boot scripts and tools used by Mender to + integrate with the GRUB bootloader. + + The following Grub modules must be selected for this package: + loadenv hashsum echo halt gcry_sha256 test regexp + + https://github.com/mendersoftware/grub-mender-grubenv + +if BR2_PACKAGE_MENDER_GRUBENV + +config BR2_PACKAGE_MENDER_GRUBENV_DEFINES + string "path to grubenv defines" + help + Specify a path to the mender grubenv defines file. + If no path is specified, the example file in the source + directory will be used. + + The example file in the source directory sets the following: + mender_rootfsa_part=2 + mender_rootfsb_part=3 + mender_kernel_root_base=/dev/mmcblk0p + mender_grub_storage_device=hd0 + kernel_imagetype=bzImage + +endif + +comment "mender-grubenv needs a grub2 bootloader" + depends on BR2_TARGET_GRUB2_ARCH_SUPPORTS + depends on BR2_PACKAGE_MENDER + depends on !BR2_TARGET_GRUB2 + +comment "mender-grubenv does not support both legacy and EFI grub2 bootloaders at the same time" + depends on BR2_PACKAGE_MENDER + depends on BR2_TARGET_GRUB2_HAS_LEGACY_BOOT && BR2_TARGET_GRUB2_HAS_EFI_BOOT diff --git a/buildroot-2022.02.1/package/mender-grubenv/mender-grubenv.hash b/buildroot-2022.02.1/package/mender-grubenv/mender-grubenv.hash new file mode 100644 index 00000000..fcc4e02c --- /dev/null +++ b/buildroot-2022.02.1/package/mender-grubenv/mender-grubenv.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 00a574d2bed8d54ba6739700da789a420a02de900df56dd2cfbe0df460a98dca mender-grubenv-1a7db967495bbe8be53b7a69dcb42822f39d9a74.tar.gz +sha256 b4acfcfa2a0ba1a8c82ec3965fbcee886cff8394ca4214e0ddac0a36beb1e05a LICENSE diff --git a/buildroot-2022.02.1/package/mender-grubenv/mender-grubenv.mk b/buildroot-2022.02.1/package/mender-grubenv/mender-grubenv.mk new file mode 100644 index 00000000..9d5be8d8 --- /dev/null +++ b/buildroot-2022.02.1/package/mender-grubenv/mender-grubenv.mk @@ -0,0 +1,86 @@ +################################################################################ +# +# mender-grubenv +# +################################################################################ + +MENDER_GRUBENV_VERSION = 1a7db967495bbe8be53b7a69dcb42822f39d9a74 +MENDER_GRUBENV_SITE = $(call github,mendersoftware,grub-mender-grubenv,$(MENDER_GRUBENV_VERSION)) +MENDER_GRUBENV_LICENSE = Apache-2.0 +MENDER_GRUBENV_LICENSE_FILES = LICENSE +# Grub2 must be built first so this package can overwrite the config files +# provided by grub. +MENDER_GRUBENV_DEPENDENCIES = grub2 +MENDER_GRUBENV_INSTALL_IMAGES = YES + +MENDER_GRUBENV_MAKE_ENV = \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_MAKE_ENV) + +MENDER_GRUBENV_DEFINES = \ + $(or $(call qstrip,$(BR2_PACKAGE_MENDER_GRUBENV_DEFINES)),\ + $(@D)/mender_grubenv_defines.example) + +# These grub modules must be built in for the grub scripts to work properly. +# Without them, the system will not boot. +MENDER_GRUBENV_MANDATORY_MODULES = loadenv hashsum echo halt gcry_sha256 test regexp + +ifeq ($(BR2_TARGET_GRUB2_HAS_LEGACY_BOOT),y) +MENDER_GRUBENV_MODULES_MISSING_PC = \ + $(filter-out $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_MODULES_PC)),\ + $(MENDER_GRUBENV_MANDATORY_MODULES)) + +MENDER_GRUBENV_MAKE_ENV += ENV_DIR=/boot/grub + +define MENDER_GRUBENV_INSTALL_I386_CFG + mkdir -p $(BINARIES_DIR)/boot-part/grub + cp -dpfr $(TARGET_DIR)/boot/grub/grub.cfg \ + $(TARGET_DIR)/boot/grub/mender_grubenv* \ + $(BINARIES_DIR)/boot-part/grub +endef +endif # BR2_TARGET_GRUB2_HAS_LEGACY_BOOT + +ifeq ($(BR2_TARGET_GRUB2_HAS_EFI_BOOT),y) +MENDER_GRUBENV_MODULES_MISSING_EFI = \ + $(filter-out $(call qstrip,$(BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI)),\ + $(MENDER_GRUBENV_MANDATORY_MODULES)) + +MENDER_GRUBENV_MAKE_ENV += ENV_DIR=/boot/EFI/BOOT + +define MENDER_GRUBENV_INSTALL_EFI_CFG + mkdir -p $(BINARIES_DIR)/efi-part/EFI/BOOT + cp -dpfr $(TARGET_DIR)/boot/EFI/BOOT/grub.cfg \ + $(TARGET_DIR)/boot/EFI/BOOT/mender_grubenv* \ + $(BINARIES_DIR)/efi-part/EFI/BOOT +endef +endif # BR2_TARGET_GRUB2_HAS_EFI_BOOT + +ifeq ($(BR2_PACKAGE_MENDER_GRUBENV)$(BR_BUILDING),yy) +ifneq ($(MENDER_GRUBENV_MODULES_MISSING_EFI),) +$(error The following missing grub2 efi modules must be enabled for mender-grubenv \ + to work: $(MENDER_GRUBENV_MODULES_MISSING_EFI)) +endif +ifneq ($(MENDER_GRUBENV_MODULES_MISSING_PC),) +$(error The following missing grub2 pc modules must be enabled for mender-grubenv \ + to work: $(MENDER_GRUBENV_MODULES_MISSING_PC)) +endif +endif + +define MENDER_GRUBENV_CONFIGURE_CMDS + $(INSTALL) -m 0644 $(MENDER_GRUBENV_DEFINES) $(@D)/mender_grubenv_defines +endef + +define MENDER_GRUBENV_BUILD_CMDS + $(MENDER_GRUBENV_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define MENDER_GRUBENV_INSTALL_TARGET_CMDS + $(MENDER_GRUBENV_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install +endef + +define MENDER_GRUBENV_INSTALL_IMAGES_CMDS + $(MENDER_GRUBENV_INSTALL_I386_CFG) + $(MENDER_GRUBENV_INSTALL_EFI_CFG) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/mender/Config.in b/buildroot-2022.02.1/package/mender/Config.in new file mode 100644 index 00000000..cccb4636 --- /dev/null +++ b/buildroot-2022.02.1/package/mender/Config.in @@ -0,0 +1,42 @@ +config BR2_PACKAGE_MENDER + bool "mender" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + help + Mender is an open source over-the-air (OTA) software updater + for embedded Linux devices. Mender comprises a client + running at the embedded device, as well as a server that + manages deployments across many devices. + + Notes: + For systems using uboot as the bootloader: + - uboot must have the mender uboot patches applied. + - uboot-tools must be selected. + - fw_printenv must be functional on the device. + The Mender Uboot patches are at: + https://github.com/mendersoftware/meta-mender/ + + For more information on Manual U-Boot integration, see: + https://docs.mender.io/2.6/system-updates-yocto-project/board-integration/bootloader-support/u-boot/manual-u-boot-integration + + For systems using Grub2 as the bootloader: + - Mender depends on the mender-grubenv package. + - The mender-grubenv package provides a fw_printenv script, + which is not compatible with the uboot-tools fw_printenv + script. + + The mender project recommends using uboot to load Grub2 as a + secondary bootloader whenever possible. Using Grub2 as a + secondary bootloader prevents users from porting the patches + for uboot to each new device. + + https://github.com/mendersoftware/mender + +comment "mender needs a toolchain w/ threads" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/mender/S42mender b/buildroot-2022.02.1/package/mender/S42mender new file mode 100644 index 00000000..dc60f94f --- /dev/null +++ b/buildroot-2022.02.1/package/mender/S42mender @@ -0,0 +1,56 @@ +#!/bin/sh +# +# Starts mender service. +# + +start() { + # If /var/lib/mender is a symlink to /var/run/mender, and + # - the filesystem is RO (i.e. we can not rm the symlink), + # create the directory pointed to by the symlink. + # - the filesystem is RW (i.e. we can rm the symlink), + # replace the symlink with an actual directory + if [ -L /var/lib/mender \ + -a "$(readlink /var/lib/mender)" = "/var/run/mender" ] + then + if rm -f /var/lib/mender >/dev/null 2>&1; then + mkdir -p /var/lib/mender + else + echo "No persistent location to store mender data. Data will be lost" + echo "at reboot. Are you sure this is what you want to do?" + mkdir -p "$(readlink /var/lib/mender)" + fi + fi + + printf "Starting mender service: " + umask 077 + + start-stop-daemon -S -q -b -m -p /var/run/mender.pid \ + --exec /usr/bin/mender -- daemon + [ $? = 0 ] && echo "OK" || echo "FAIL" +} +stop() { + printf "Stopping mender service: " + start-stop-daemon -K -q -p /var/run/mender.pid + [ $? = 0 ] && echo "OK" || echo "FAIL" +} +restart() { + stop + start +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + restart + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? diff --git a/buildroot-2021.05/package/mender/artifact_info b/buildroot-2022.02.1/package/mender/artifact_info similarity index 100% rename from buildroot-2021.05/package/mender/artifact_info rename to buildroot-2022.02.1/package/mender/artifact_info diff --git a/buildroot-2021.05/package/mender/device_type b/buildroot-2022.02.1/package/mender/device_type similarity index 100% rename from buildroot-2021.05/package/mender/device_type rename to buildroot-2022.02.1/package/mender/device_type diff --git a/buildroot-2022.02.1/package/mender/mender-client.service b/buildroot-2022.02.1/package/mender/mender-client.service new file mode 100644 index 00000000..5539a56f --- /dev/null +++ b/buildroot-2022.02.1/package/mender/mender-client.service @@ -0,0 +1,24 @@ +[Unit] +Description=Mender OTA update service +After=systemd-resolved.service + +[Service] +Type=idle +User=root +Group=root +ExecStartPre=/bin/sh -c '\ +if [ -L /var/lib/mender \ + -a "$(readlink /var/lib/mender)" = "/var/run/mender" ]; then \ + if rm -f /var/lib/mender >/dev/null 2>&1; then \ + mkdir -p /var/lib/mender; \ + else \ + echo "No persistent location to store mender data. Data will be lost" \ + echo "at reboot. Are you sure this is what you want to do?"; \ + mkdir -p "$(readlink /var/lib/mender)"; \ + fi; \ +fi' +ExecStart=/usr/bin/mender daemon +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/mender/mender.conf b/buildroot-2022.02.1/package/mender/mender.conf similarity index 100% rename from buildroot-2021.05/package/mender/mender.conf rename to buildroot-2022.02.1/package/mender/mender.conf diff --git a/buildroot-2022.02.1/package/mender/mender.hash b/buildroot-2022.02.1/package/mender/mender.hash new file mode 100644 index 00000000..40d82f07 --- /dev/null +++ b/buildroot-2022.02.1/package/mender/mender.hash @@ -0,0 +1,44 @@ +# Locally computed: +sha256 716ba7110dd68cdafc5caa989706ff67bbac0617c284d666aa81605850be5763 3.1.0.tar.gz + +# Vendor licenses +# Generated with sed '/^[A-Za-z0-9_]/s/^/sha256 /' LIC_FILES_CHKSUM.sha256 + +# Apache-2.0 license. +sha256 b4acfcfa2a0ba1a8c82ec3965fbcee886cff8394ca4214e0ddac0a36beb1e05a LICENSE +sha256 32714818ad6f98ee0185a52e23a475d89122e3efd2b2c26c733781c28e798c99 vendor/github.com/mendersoftware/mender-artifact/LICENSE +sha256 73ba74dfaa520b49a401b5d21459a8523a146f3b7518a833eea5efa85130bf68 vendor/github.com/mendersoftware/openssl/LICENSE +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 vendor/github.com/minio/sha256-simd/LICENSE +sha256 8f5d89b47d7a05a199b77b7e0f362dad391d451ebda4ef48ba11c50c071564c7 vendor/github.com/mendersoftware/progressbar/LICENSE +# +# BSD 2 Clause license. +sha256 8d427fd87bc9579ea368fde3d49f9ca22eac857f91a9dec7e3004bdfab7dee86 vendor/github.com/pkg/errors/LICENSE +sha256 e4646a82a976369d7ae8f6ed5c11d35dc0af18433a8ccc24c85b459ad8b95128 vendor/github.com/godbus/dbus/LICENSE +# +# BSD 3 Clause license. +sha256 16f848582e4b276a7392cd34496b7a33d6f65c0e190c163ff3a056a7c61219ce vendor/github.com/klauspost/compress/LICENSE +sha256 2eb550be6801c1ea434feba53bf6d12e7c71c90253e0a9de4a4f46cf88b56477 vendor/github.com/pmezard/go-difflib/LICENSE +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/crypto/LICENSE +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/sys/LICENSE +sha256 0634b008cee55ca01f0888d2f5aba2d34e66c3f52c31a4e16a5d5d33d0c2a03e vendor/github.com/bmatsuo/lmdb-go/LICENSE.md +sha256 87640bc4df2ceb1559f268a3db1ba859ab780f7ba5b1b4545173d4680a3d918b vendor/github.com/remyoudompheng/go-liblzma/LICENSE +# +# ISC license. +sha256 1b93a317849ee09d3d7e4f1d20c2b78ddb230b4becb12d7c224c927b9d470251 vendor/github.com/davecgh/go-spew/LICENSE +# +# MIT license. +sha256 6d2de1cde19c4d2bd8bcd9aaa1d581f4cfa3db9cf71896140330eaa2f2687685 vendor/github.com/klauspost/pgzip/LICENSE +sha256 51a0c9ec7f8b7634181b8d4c03e5b5d204ac21d6e72f46c313973424664b2e6b vendor/github.com/sirupsen/logrus/LICENSE +sha256 f8e536c1c7b695810427095dc85f5f80d44ff7c10535e8a9486cf393e2599189 vendor/github.com/stretchr/testify/LICENSE +sha256 ffa15bdce332058a03a1d923910864fb6e58bf6df66a0e3914284725b327183e vendor/github.com/ungerik/go-sysfs/LICENSE +sha256 da277af11b85227490377fbcac6afccc68be560c4fff36ac05ca62de55345fd7 vendor/github.com/urfave/cli/v2/LICENSE +sha256 b2663894033a05fd80261176cd8da1d72546e25842d5c1abcc852ca23b6b61b0 vendor/github.com/stretchr/objx/LICENSE +sha256 95b8ef9c4137a8f75ddd3101ffdc4cfd594fa875b261697b68baddc16b0e537c vendor/github.com/konsorten/go-windows-terminal-sequences/LICENSE +sha256 d18f6323b71b0b768bb5e9616e36da390fbd39369a81807cca352de4e4e6aa0b vendor/gopkg.in/yaml.v3/LICENSE +sha256 08eab1118c80885fa1fa6a6dd7303f65a379fcb3733e063d20d1bbc2c76e6fa1 vendor/github.com/mattn/go-isatty/LICENSE +# +# OpenLDAP Public License +sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 vendor/github.com/bmatsuo/lmdb-go/LICENSE.mdb.md + +# sha256 of all the vendor licenses combined +sha256 4f3541ea69b9b6e3959679576c146b42ba9a840a9dc4e593bff43e5e3a313d24 LIC_FILES_CHKSUM.sha256 diff --git a/buildroot-2022.02.1/package/mender/mender.mk b/buildroot-2022.02.1/package/mender/mender.mk new file mode 100644 index 00000000..ddf3e43b --- /dev/null +++ b/buildroot-2022.02.1/package/mender/mender.mk @@ -0,0 +1,114 @@ +################################################################################ +# +# mender +# +################################################################################ + +MENDER_VERSION = 3.1.0 +MENDER_SITE = https://github.com/mendersoftware/mender/archive +MENDER_SOURCE = $(MENDER_VERSION).tar.gz +MENDER_LICENSE = Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT, OLDAP-2.8 + +# Vendor license paths generated with: +# awk '{print $2}' LIC_FILES_CHKSUM.sha256 | grep vendor +MENDER_LICENSE_FILES = \ + LICENSE \ + LIC_FILES_CHKSUM.sha256 \ + vendor/github.com/mendersoftware/mender-artifact/LICENSE \ + vendor/github.com/mendersoftware/openssl/LICENSE \ + vendor/github.com/minio/sha256-simd/LICENSE \ + vendor/github.com/mendersoftware/progressbar/LICENSE \ + vendor/github.com/pkg/errors/LICENSE \ + vendor/github.com/godbus/dbus/LICENSE \ + vendor/github.com/klauspost/compress/LICENSE \ + vendor/github.com/pmezard/go-difflib/LICENSE \ + vendor/golang.org/x/crypto/LICENSE \ + vendor/golang.org/x/sys/LICENSE \ + vendor/github.com/bmatsuo/lmdb-go/LICENSE.md \ + vendor/github.com/remyoudompheng/go-liblzma/LICENSE \ + vendor/github.com/davecgh/go-spew/LICENSE \ + vendor/github.com/klauspost/pgzip/LICENSE \ + vendor/github.com/sirupsen/logrus/LICENSE \ + vendor/github.com/stretchr/testify/LICENSE \ + vendor/github.com/ungerik/go-sysfs/LICENSE \ + vendor/github.com/urfave/cli/v2/LICENSE \ + vendor/github.com/stretchr/objx/LICENSE \ + vendor/github.com/konsorten/go-windows-terminal-sequences/LICENSE \ + vendor/gopkg.in/yaml.v3/LICENSE \ + vendor/github.com/mattn/go-isatty/LICENSE \ + vendor/github.com/bmatsuo/lmdb-go/LICENSE.mdb.md + +MENDER_DEPENDENCIES = host-pkgconf openssl + +MENDER_LDFLAGS = -X github.com/mendersoftware/mender/conf.Version=$(MENDER_VERSION) + +MENDER_UPDATE_MODULES_FILES = \ + directory \ + script \ + single-file \ + $(if $(BR2_PACKAGE_DOCKER_CLI),docker) \ + $(if $(BR2_PACKAGE_RPM),rpm) + +define MENDER_INSTALL_CONFIG_FILES + $(INSTALL) -d -m 755 $(TARGET_DIR)/etc/mender/scripts + echo -n "3" > $(TARGET_DIR)/etc/mender/scripts/version + + $(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/mender.conf \ + $(TARGET_DIR)/etc/mender/mender.conf + $(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/server.crt \ + $(TARGET_DIR)/etc/mender/server.crt + + $(INSTALL) -D -m 0755 $(@D)/support/mender-device-identity \ + $(TARGET_DIR)/usr/share/mender/identity/mender-device-identity + $(foreach f,hostinfo network os rootfs-type, \ + $(INSTALL) -D -m 0755 $(@D)/support/mender-inventory-$(f) \ + $(TARGET_DIR)/usr/share/mender/inventory/mender-inventory-$(f) + ) + + $(INSTALL) -D -m 0755 $(MENDER_PKGDIR)/artifact_info \ + $(TARGET_DIR)/etc/mender/artifact_info + + $(INSTALL) -D -m 0755 $(MENDER_PKGDIR)/device_type \ + $(TARGET_DIR)/etc/mender/device_type + + mkdir -p $(TARGET_DIR)/var/lib + ln -snf /var/run/mender $(TARGET_DIR)/var/lib/mender + $(foreach f,$(MENDER_UPDATE_MODULES_FILES), \ + $(INSTALL) -D -m 0755 $(@D)/support/modules/$(notdir $(f)) \ + $(TARGET_DIR)/usr/share/mender/modules/v3/$(notdir $(f)) + ) +endef + +MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_CONFIG_FILES + +ifeq ($(BR2_PACKAGE_XZ),y) +MENDER_DEPENDENCIES += xz +else +MENDER_TAGS += nolzma +endif + +ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBGLIB2),yy) +MENDER_DEPENDENCIES += libglib2 +define MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF + $(INSTALL) -D -m 0755 $(@D)/support/dbus/io.mender.AuthenticationManager.conf \ + $(TARGET_DIR)/etc/dbus-1/system.d/io.mender.AuthenticationManager.conf + + $(INSTALL) -D -m 0755 $(@D)/support/dbus/io.mender.UpdateManager.conf \ + $(TARGET_DIR)/etc/dbus-1/system.d/io.mender.UpdateManager.conf +endef +MENDER_POST_INSTALL_TARGET_HOOKS += MENDER_INSTALL_DBUS_AUTHENTICATION_MANAGER_CONF +else +MENDER_TAGS += nodbus +endif + +define MENDER_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(MENDER_PKGDIR)/mender-client.service \ + $(TARGET_DIR)/usr/lib/systemd/system/mender-client.service +endef + +define MENDER_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 $(MENDER_PKGDIR)/S42mender \ + $(TARGET_DIR)/etc/init.d/S42mender +endef + +$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/mender/readme.txt b/buildroot-2022.02.1/package/mender/readme.txt similarity index 100% rename from buildroot-2021.05/package/mender/readme.txt rename to buildroot-2022.02.1/package/mender/readme.txt diff --git a/buildroot-2021.05/package/mender/server.crt b/buildroot-2022.02.1/package/mender/server.crt similarity index 100% rename from buildroot-2021.05/package/mender/server.crt rename to buildroot-2022.02.1/package/mender/server.crt diff --git a/buildroot-2021.05/package/menu-cache/0001-Support-gcc10-compilation.patch b/buildroot-2022.02.1/package/menu-cache/0001-Support-gcc10-compilation.patch similarity index 100% rename from buildroot-2021.05/package/menu-cache/0001-Support-gcc10-compilation.patch rename to buildroot-2022.02.1/package/menu-cache/0001-Support-gcc10-compilation.patch diff --git a/buildroot-2021.05/package/menu-cache/Config.in b/buildroot-2022.02.1/package/menu-cache/Config.in similarity index 100% rename from buildroot-2021.05/package/menu-cache/Config.in rename to buildroot-2022.02.1/package/menu-cache/Config.in diff --git a/buildroot-2021.05/package/menu-cache/menu-cache.hash b/buildroot-2022.02.1/package/menu-cache/menu-cache.hash similarity index 100% rename from buildroot-2021.05/package/menu-cache/menu-cache.hash rename to buildroot-2022.02.1/package/menu-cache/menu-cache.hash diff --git a/buildroot-2021.05/package/menu-cache/menu-cache.mk b/buildroot-2022.02.1/package/menu-cache/menu-cache.mk similarity index 100% rename from buildroot-2021.05/package/menu-cache/menu-cache.mk rename to buildroot-2022.02.1/package/menu-cache/menu-cache.mk diff --git a/buildroot-2021.05/package/mesa3d-demos/0001-demos-makes-opengl-an-optional-component.patch b/buildroot-2022.02.1/package/mesa3d-demos/0001-demos-makes-opengl-an-optional-component.patch similarity index 100% rename from buildroot-2021.05/package/mesa3d-demos/0001-demos-makes-opengl-an-optional-component.patch rename to buildroot-2022.02.1/package/mesa3d-demos/0001-demos-makes-opengl-an-optional-component.patch diff --git a/buildroot-2021.05/package/mesa3d-demos/Config.in b/buildroot-2022.02.1/package/mesa3d-demos/Config.in similarity index 100% rename from buildroot-2021.05/package/mesa3d-demos/Config.in rename to buildroot-2022.02.1/package/mesa3d-demos/Config.in diff --git a/buildroot-2021.05/package/mesa3d-demos/mesa3d-demos.hash b/buildroot-2022.02.1/package/mesa3d-demos/mesa3d-demos.hash similarity index 100% rename from buildroot-2021.05/package/mesa3d-demos/mesa3d-demos.hash rename to buildroot-2022.02.1/package/mesa3d-demos/mesa3d-demos.hash diff --git a/buildroot-2022.02.1/package/mesa3d-demos/mesa3d-demos.mk b/buildroot-2022.02.1/package/mesa3d-demos/mesa3d-demos.mk new file mode 100644 index 00000000..6b5262a2 --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d-demos/mesa3d-demos.mk @@ -0,0 +1,80 @@ +################################################################################ +# +# mesa3d-demos +# +################################################################################ + +MESA3D_DEMOS_VERSION = 8.4.0 +MESA3D_DEMOS_SOURCE = mesa-demos-$(MESA3D_DEMOS_VERSION).tar.bz2 +MESA3D_DEMOS_SITE = ftp://ftp.freedesktop.org/pub/mesa/demos +# 0001-demos-makes-opengl-an-optional-component.patch +MESA3D_DEMOS_AUTORECONF = YES +MESA3D_DEMOS_DEPENDENCIES = host-pkgconf +MESA3D_DEMOS_LICENSE = MIT + +MESA3D_DEMOS_CONF_OPTS += \ + --disable-gles1 + +ifeq ($(BR2_PACKAGE_XORG7)$(BR2_PACKAGE_HAS_LIBGL),yy) +MESA3D_DEMOS_DEPENDENCIES += libgl libglew libglu xlib_libX11 xlib_libXext +MESA3D_DEMOS_CONF_OPTS += --enable-gl --enable-x11 +else +MESA3D_DEMOS_CONF_OPTS += --disable-gl --disable-x11 +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y) +MESA3D_DEMOS_DEPENDENCIES += libegl +MESA3D_DEMOS_CONF_OPTS += --enable-egl +else +MESA3D_DEMOS_CONF_OPTS += --disable-egl +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +MESA3D_DEMOS_DEPENDENCIES += libgles +MESA3D_DEMOS_CONF_OPTS += --enable-gles2 +else +MESA3D_DEMOS_CONF_OPTS += --disable-gles2 +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBOPENVG),y) +MESA3D_DEMOS_DEPENDENCIES += libopenvg +MESA3D_DEMOS_CONF_OPTS += --enable-vg +else +MESA3D_DEMOS_CONF_OPTS += --disable-vg +endif + +ifeq ($(BR2_PACKAGE_MESA3D_GBM),y) +MESA3D_DEMOS_DEPENDENCIES += mesa3d +MESA3D_DEMOS_CONF_OPTS += --enable-gbm +else +MESA3D_DEMOS_CONF_OPTS += --disable-gbm +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +MESA3D_DEMOS_DEPENDENCIES += freetype +MESA3D_DEMOS_CONF_OPTS += --enable-freetype2 +else +MESA3D_DEMOS_CONF_OPTS += --disable-freetype2 +endif + +ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y) +MESA3D_DEMOS_DEPENDENCIES += libfreeglut +MESA3D_DEMOS_CONF_OPTS += --with-glut=$(STAGING_DIR)/usr +# osmesa support depends on glut +ifeq ($(BR2_PACKAGE_MESA3D_OSMESA_GALLIUM),y) +MESA3D_DEMOS_CONF_OPTS += --enable-osmesa +else +MESA3D_DEMOS_CONF_OPTS += --disable-osmesa +endif +else +MESA3D_DEMOS_CONF_OPTS += --without-glut --disable-osmesa +endif + +ifeq ($(BR2_PACKAGE_WAYLAND),y) +MESA3D_DEMOS_DEPENDENCIES += wayland +MESA3D_DEMOS_CONF_OPTS += --enable-wayland +else +MESA3D_DEMOS_CONF_OPTS += --disable-wayland +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mesa3d-headers/Config.in b/buildroot-2022.02.1/package/mesa3d-headers/Config.in similarity index 100% rename from buildroot-2021.05/package/mesa3d-headers/Config.in rename to buildroot-2022.02.1/package/mesa3d-headers/Config.in diff --git a/buildroot-2021.05/package/mesa3d-headers/dri.pc b/buildroot-2022.02.1/package/mesa3d-headers/dri.pc similarity index 100% rename from buildroot-2021.05/package/mesa3d-headers/dri.pc rename to buildroot-2022.02.1/package/mesa3d-headers/dri.pc diff --git a/buildroot-2021.05/package/mesa3d-headers/mesa3d-headers.hash b/buildroot-2022.02.1/package/mesa3d-headers/mesa3d-headers.hash similarity index 100% rename from buildroot-2021.05/package/mesa3d-headers/mesa3d-headers.hash rename to buildroot-2022.02.1/package/mesa3d-headers/mesa3d-headers.hash diff --git a/buildroot-2022.02.1/package/mesa3d-headers/mesa3d-headers.mk b/buildroot-2022.02.1/package/mesa3d-headers/mesa3d-headers.mk new file mode 100644 index 00000000..871cf2f4 --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d-headers/mesa3d-headers.mk @@ -0,0 +1,77 @@ +################################################################################ +# +# mesa3d-headers +# +################################################################################ + +# mesa3d-headers is inherently incompatible with mesa3d, so error out +# if both are enabled. +ifeq ($(BR2_PACKAGE_MESA3D)$(BR2_PACKAGE_MESA3D_HEADERS),yy) +$(error mesa3d-headers enabled, but mesa3d enabled too) +endif + +# Not possible to directly refer to mesa3d variables, because of +# first/second expansion trickery... +MESA3D_HEADERS_VERSION = 21.3.5 +MESA3D_HEADERS_SOURCE = mesa-$(MESA3D_HEADERS_VERSION).tar.xz +MESA3D_HEADERS_SITE = https://archive.mesa3d.org +MESA3D_HEADERS_DL_SUBDIR = mesa3d +MESA3D_HEADERS_LICENSE = MIT, SGI, Khronos +MESA3D_HEADERS_LICENSE_FILES = docs/license.rst +MESA3D_HEADERS_CPE_ID_VENDOR = mesa3d +MESA3D_HEADERS_CPE_ID_PRODUCT = mesa + +# Only installs header files +MESA3D_HEADERS_INSTALL_STAGING = YES +MESA3D_HEADERS_INSTALL_TARGET = NO + +MESA3D_HEADERS_DIRS = KHR + +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) + +MESA3D_HEADERS_DIRS += GL + +ifeq ($(BR2_PACKAGE_XORG7),y) + +# Not using $(SED) because we do not want to work in-place, and $(SED) +# contains -i. +define MESA3D_HEADERS_BUILD_DRI_PC + sed -e 's:@VERSION@:$(MESA3D_HEADERS_VERSION):' \ + package/mesa3d-headers/dri.pc \ + >$(@D)/src/mesa/drivers/dri/dri.pc +endef + +define MESA3D_HEADERS_INSTALL_DRI_PC + $(INSTALL) -D -m 0644 $(@D)/include/GL/internal/dri_interface.h \ + $(STAGING_DIR)/usr/include/GL/internal/dri_interface.h + $(INSTALL) -D -m 0644 $(@D)/src/mesa/drivers/dri/dri.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/dri.pc +endef + +endif # Xorg + +endif # OpenGL + +ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y) +MESA3D_HEADERS_DIRS += EGL +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +MESA3D_HEADERS_DIRS += GLES GLES2 +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBOPENCL),y) +MESA3D_HEADERS_DIRS += CL +endif + +define MESA3D_HEADERS_BUILD_CMDS + $(MESA3D_HEADERS_BUILD_DRI_PC) +endef + +define MESA3D_HEADERS_INSTALL_STAGING_CMDS + $(foreach d,$(MESA3D_HEADERS_DIRS),\ + cp -dpfr $(@D)/include/$(d) $(STAGING_DIR)/usr/include/ || exit 1$(sep)) + $(MESA3D_HEADERS_INSTALL_DRI_PC) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mesa3d/0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch b/buildroot-2022.02.1/package/mesa3d/0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch similarity index 100% rename from buildroot-2021.05/package/mesa3d/0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch rename to buildroot-2022.02.1/package/mesa3d/0001-c99_math-import-isinf-for-uclibc-based-toolchains.patch diff --git a/buildroot-2021.05/package/mesa3d/0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch b/buildroot-2022.02.1/package/mesa3d/0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch similarity index 100% rename from buildroot-2021.05/package/mesa3d/0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch rename to buildroot-2022.02.1/package/mesa3d/0002-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch diff --git a/buildroot-2022.02.1/package/mesa3d/0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch b/buildroot-2022.02.1/package/mesa3d/0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch new file mode 100644 index 00000000..bb5ef00a --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d/0003-vc4-add-meson-option-to-disable-optional-neon-suppor.patch @@ -0,0 +1,84 @@ +From e3b47c1b84964c62b3e1fa782f1ffa4be0ae62f9 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Mon, 9 Mar 2020 13:01:14 +0100 +Subject: [PATCH] vc4: add meson option to disable optional neon support + +Not all toolchains are able to compile the runtime +optional vc4 neon support, so add an meson option +to force disabling it at compile time. + +[Upstream: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4114] +Signed-off-by: Peter Seiderer +Signed-off-by: Bernd Kuhls +[rebased for 20.2.0, 20.3.0 & 21.1.0] +--- + meson_options.txt | 7 +++++++ + src/gallium/drivers/vc4/meson.build | 4 ++-- + src/gallium/drivers/vc4/vc4_tiling.h | 4 ++-- + 3 files changed, 11 insertions(+), 4 deletions(-) + +diff --git a/meson_options.txt b/meson_options.txt +index a39596a6f19..0f6b6c62b55 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -123,6 +123,13 @@ option( + choices : ['auto', 'true', 'false', 'enabled', 'disabled'], + description : 'enable gallium va frontend.', + ) ++option( ++ 'gallium-vc4-neon', ++ type : 'combo', ++ value : 'auto', ++ choices : ['auto', 'disabled'], ++ description : 'enable gallium vc4 optional neon support.', ++) + option( + 'va-libs-path', + type : 'string', +diff --git a/src/gallium/drivers/vc4/meson.build b/src/gallium/drivers/vc4/meson.build +index 5ce5af5f6b4..e3f7d8d62ae 100644 +--- a/src/gallium/drivers/vc4/meson.build ++++ b/src/gallium/drivers/vc4/meson.build +@@ -84,7 +84,7 @@ files_libvc4 = files( + vc4_c_args = [] + + libvc4_neon = [] +-if host_machine.cpu_family() == 'arm' ++if host_machine.cpu_family() == 'arm' and get_option('gallium-vc4-neon') != 'disabled' + libvc4_neon = static_library( + 'vc4_neon', + 'vc4_tiling_lt_neon.c', +@@ -93,7 +93,7 @@ if host_machine.cpu_family() == 'arm' + ], + c_args : '-mfpu=neon', + ) +- vc4_c_args += '-DUSE_ARM_ASM' ++ vc4_c_args += '-DVC4_TILING_LT_NEON' + endif + + if dep_simpenrose.found() +diff --git a/src/gallium/drivers/vc4/vc4_tiling.h b/src/gallium/drivers/vc4/vc4_tiling.h +index 66767e7f1f8..7446f1c3d0c 100644 +--- a/src/gallium/drivers/vc4/vc4_tiling.h ++++ b/src/gallium/drivers/vc4/vc4_tiling.h +@@ -89,7 +89,7 @@ vc4_load_lt_image(void *dst, uint32_t dst_stride, + void *src, uint32_t src_stride, + int cpp, const struct pipe_box *box) + { +-#ifdef USE_ARM_ASM ++#ifdef VC4_TILING_LT_NEON + if (util_get_cpu_caps()->has_neon) { + vc4_load_lt_image_neon(dst, dst_stride, src, src_stride, + cpp, box); +@@ -105,7 +105,7 @@ vc4_store_lt_image(void *dst, uint32_t dst_stride, + void *src, uint32_t src_stride, + int cpp, const struct pipe_box *box) + { +-#ifdef USE_ARM_ASM ++#ifdef VC4_TILING_LT_NEON + if (util_get_cpu_caps()->has_neon) { + vc4_store_lt_image_neon(dst, dst_stride, src, src_stride, + cpp, box); +-- +2.25.1 + diff --git a/buildroot-2021.05/package/mesa3d/0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch b/buildroot-2022.02.1/package/mesa3d/0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch similarity index 100% rename from buildroot-2021.05/package/mesa3d/0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch rename to buildroot-2022.02.1/package/mesa3d/0004-src-util-rand_xor-Include-stddef.h-to-fix-build-erro.patch diff --git a/buildroot-2022.02.1/package/mesa3d/0005-src-util-futex.h-fix-build-on-32-bit-architectures-u.patch b/buildroot-2022.02.1/package/mesa3d/0005-src-util-futex.h-fix-build-on-32-bit-architectures-u.patch new file mode 100644 index 00000000..b01db8a4 --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d/0005-src-util-futex.h-fix-build-on-32-bit-architectures-u.patch @@ -0,0 +1,43 @@ +From e501b7c17ada9c694d3f8302622b78d733485b38 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 21 Aug 2021 17:55:33 +0200 +Subject: [PATCH] src/util/futex.h: fix build on 32-bit architectures using + 64-bit time_t + +Fix the following build failure on 32-bit architectures using 64-bit +time_t (e.g. riscv32): + +../src/util/futex.h: In function 'sys_futex': +../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'? + 39 | return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); + | ^~~~~~~~~ + | sys_futex + +Fixes: + - http://autobuild.buildroot.org/results/692700a5f967760a0b8cd358b1712f1d5a7b681e + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12496] +--- + src/util/futex.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/util/futex.h b/src/util/futex.h +index 43097f4cd5b..221eda9db0c 100644 +--- a/src/util/futex.h ++++ b/src/util/futex.h +@@ -34,6 +34,10 @@ + #include + #include + ++#ifndef SYS_futex ++#define SYS_futex SYS_futex_time64 ++#endif ++ + static inline long sys_futex(void *addr1, int op, int val1, const struct timespec *timeout, void *addr2, int val3) + { + return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); +-- +2.32.0 + diff --git a/buildroot-2022.02.1/package/mesa3d/0006-fix-valist.patch b/buildroot-2022.02.1/package/mesa3d/0006-fix-valist.patch new file mode 100644 index 00000000..84a254ce --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d/0006-fix-valist.patch @@ -0,0 +1,37 @@ +From f6892df8eb115fa712fd69068432b48b028e1e54 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 20 Nov 2021 22:48:54 +0100 +Subject: [PATCH] util/u_printf.h: fix build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes build error with uClibc and gcc-9.3.0: + +In file included from ../src/util/u_printf.cpp:24: +../src/util/u_printf.h:43:41: error: ‘va_list’ has not been declared + 43 | size_t u_printf_length(const char *fmt, va_list untouched_args); + +Patch sent upstream: +https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13897 + +Signed-off-by: Bernd Kuhls +--- + src/util/u_printf.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/util/u_printf.h b/src/util/u_printf.h +index 44dcce5529f..14f324de10c 100644 +--- a/src/util/u_printf.h ++++ b/src/util/u_printf.h +@@ -25,6 +25,7 @@ + #ifdef __cplusplus + + #include ++#include + + /* find next valid printf specifier in a C++ std::string */ + size_t util_printf_next_spec_pos(const std::string &s, size_t pos); +-- +GitLab + diff --git a/buildroot-2022.02.1/package/mesa3d/0007-fix-cpp-detection.patch b/buildroot-2022.02.1/package/mesa3d/0007-fix-cpp-detection.patch new file mode 100644 index 00000000..2e097277 --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d/0007-fix-cpp-detection.patch @@ -0,0 +1,40 @@ +From ab5519971a090863f8c559907766e0b2382e0471 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 20 Nov 2021 23:02:18 +0100 +Subject: [PATCH] c11_compat.h: fix uClibc build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes build error with uClibc and gcc-9.3.0: + +../src/egl/main/egldisplay.c: In function ‘_eglGetNativePlatformFromEnv’: +../src/egl/main/egldisplay.c:101:4: error: implicit declaration of function ‘static_assert’ [-Werror=implicit-function-declaration] + 101 | static_assert(ARRAY_SIZE(egl_platforms) == _EGL_NUM_PLATFORMS, + +CC: 21.3 + +Patch sent upstream: +https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13898 + +Signed-off-by: Bernd Kuhls +--- + include/c11_compat.h | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/include/c11_compat.h b/include/c11_compat.h +index d35740f47a4..cdcd3f1f52f 100644 +--- a/include/c11_compat.h ++++ b/include/c11_compat.h +@@ -8,8 +8,6 @@ + + #if defined(__cplusplus) + /* This is C++ code, not C */ +-#elif (__STDC_VERSION__ >= 201112L) +- /* Already C11 */ + #else + + +-- +GitLab + diff --git a/buildroot-2022.02.1/package/mesa3d/Config.in b/buildroot-2022.02.1/package/mesa3d/Config.in new file mode 100644 index 00000000..e41da562 --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d/Config.in @@ -0,0 +1,478 @@ +menuconfig BR2_PACKAGE_MESA3D + bool "mesa3d" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_1 + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on !BR2_m68k || BR2_TOOLCHAIN_GCC_AT_LEAST_7 # m68k needs gcc >= 7.x + select BR2_PACKAGE_EXPAT + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_ZLIB + help + Mesa 3D, an open-source implementation of the OpenGL + specification. + + http://mesa3d.org + +if BR2_PACKAGE_MESA3D + +# Some Gallium driver needs libelf when built with LLVM support +config BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS + bool + +config BR2_PACKAGE_MESA3D_LLVM + bool "llvm support" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR # std::wstring + select BR2_PACKAGE_LLVM + +comment "llvm support needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ + || BR2_STATIC_LIBS || !BR2_USE_WCHAR + +comment "llvm support needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +# clang and libclc dependencies are satisfied by +# BR2_PACKAGE_MESA3D_LLVM +config BR2_PACKAGE_MESA3D_OPENCL + bool "OpenCL support" + depends on BR2_PACKAGE_MESA3D_LLVM + depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 || \ + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI + select BR2_PACKAGE_LLVM_RTTI + select BR2_PACKAGE_CLANG + select BR2_PACKAGE_LIBCLC + select BR2_PACKAGE_HAS_LIBOPENCL + +# inform the .mk file of gallium, dri, dri3 or vulkan driver selection +config BR2_PACKAGE_MESA3D_DRI3 + bool + select BR2_PACKAGE_XLIB_LIBXSHMFENCE + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + bool + select BR2_PACKAGE_MESA3D_DRIVER + +config BR2_PACKAGE_MESA3D_DRI_DRIVER + bool + select BR2_PACKAGE_MESA3D_DRI3 if \ + (BR2_PACKAGE_XORG7 && BR2_TOOLCHAIN_HAS_SYNC_4 && \ + !BR2_RISCV_32) + select BR2_PACKAGE_MESA3D_DRIVER + select BR2_PACKAGE_MESA3D_GBM if \ + !BR2_PACKAGE_MESA3D_OPENGL_GLX && \ + !BR2_PACKAGE_MESA3D_OPENGL_EGL + +config BR2_PACKAGE_MESA3D_VULKAN_DRIVER + bool + select BR2_PACKAGE_MESA3D_DRIVER + +config BR2_PACKAGE_MESA3D_DRIVER + bool + +# Gallium xa state tracker. +# Quote from mesa3d meson.build: "XA state tracker requires at least +# one of the following gallium drivers: nouveau, freedreno, i915, svga. +config BR2_PACKAGE_MESA3D_NEEDS_XA + bool + +# OpenGL GLX and Gallium VDPAU both needs X11 +config BR2_PACKAGE_MESA3D_NEEDS_X11 + bool + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_LIBXCB + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXDAMAGE + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXFIXES + select BR2_PACKAGE_XLIB_LIBXRANDR + select BR2_PACKAGE_XLIB_LIBXXF86VM + select BR2_PACKAGE_XORGPROTO + +comment "Gallium drivers" + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_CROCUS + bool "Gallium crocus driver" + depends on BR2_i386 || BR2_x86_64 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + help + Mesa driver for gen4-7 Intel GPUs. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV + bool "Gallium Etnaviv driver" + depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence + select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_ETNAVIV + help + Mesa driver for Vivante GPUs. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO + bool "Gallium freedreno driver" + depends on BR2_arm || BR2_aarch64 || BR2_aarch64_be # libdrm-freedreno + # libdrm's freedreno option depends on LIBDRM_HAS_ATOMIC. Propagating + # that dependency here causes a circular dependency that Kconfig + # can't see is just spurious. However, that dependency is about + # the toolchain having sync4 primitives, which is always a given + # for arm/aarch64. + select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_FREEDRENO + help + Mesa driver for Freedreno GPUs. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915 + bool "Gallium i915 driver" + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_INTEL + help + Support for i915-based Intel GPUs. + +comment "Gallium i915: Only one i915 provider can be built" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS + bool "Gallium iris driver" + depends on BR2_i386 || BR2_x86_64 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + help + Mesa driver for iris-based Intel GPUs. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA + bool "Gallium lima driver" + depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence + select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + help + Mesa driver for ARM Mali Utgard GPUs. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU + bool "Gallium nouveau driver" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_NOUVEAU + select BR2_PACKAGE_MESA3D_NEEDS_XA + select BR2_PACKAGE_LLVM_RTTI if BR2_PACKAGE_MESA3D_LLVM + help + Supports all Nvidia GPUs. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST + bool "Gallium panfrost driver" + depends on (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) || !BR2_PACKAGE_XORG7 # libxshmfence + select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + help + Mesa driver for ARM Mali Midgard and Bifrost GPUs. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 + bool "Gallium Radeon R300 driver" + depends on BR2_i386 || BR2_x86_64 + # lbdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating + # that dependency here causes a circular dependency that Kconfig + # can't see is just spurious. However, that dependency is about + # the toolchain having sync4 primitives, which is always a given + # for x86. + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_RADEON + help + Driver for ATI/AMD Radeon R300/R400/R500 GPUs. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 + bool "Gallium Radeon R600 driver" + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_PACKAGE_MESA3D_LLVM || \ + (BR2_PACKAGE_MESA3D_LLVM && (BR2_TOOLCHAIN_USES_UCLIBC || \ + BR2_TOOLCHAIN_USES_GLIBC)) # elfutils + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_RADEON + select BR2_PACKAGE_LLVM_AMDGPU if BR2_PACKAGE_MESA3D_LLVM + select BR2_PACKAGE_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM + select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS if BR2_PACKAGE_MESA3D_LLVM + help + Driver for ATI/AMD Radeon R600/R700/HD5000/HD6000 GPUs. + +# R600 needs libelf when Mesa3D is built with LLVM support +# musl is not currently compatible with elfutils +comment "R600 driver needs a uClibc or glibc toolchain when llvm is enabled" + depends on BR2_PACKAGE_MESA3D_LLVM + depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI + bool "Gallium Radeon SI driver" + depends on BR2_USE_MMU # libdrm + depends on BR2_i386 || BR2_x86_64 + depends on BR2_PACKAGE_MESA3D_LLVM + depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_AMDGPU + select BR2_PACKAGE_LIBDRM_RADEON + select BR2_PACKAGE_LLVM_AMDGPU + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS + help + Driver for ATI/AMD Radeon HD7000/HD8000/Rx200 GPUs. + +# Radeon SI needs libelf +# musl is not currently compatible with elfutils +comment "Radeon SI driver needs a uClibc or glibc toolchain" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_MESA3D_LLVM + depends on !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA + bool "Gallium vmware svga driver" + depends on BR2_i386 || BR2_x86_64 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_VMWGFX + select BR2_PACKAGE_MESA3D_NEEDS_XA + help + This is a virtual GPU driver for VMWare virtual machines. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST + bool "Gallium swrast driver" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + help + This is a software opengl implementation using the Gallium3D + infrastructure. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA + bool "Gallium tegra driver" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU + select BR2_PACKAGE_LIBDRM_NOUVEAU + select BR2_PACKAGE_MESA3D_NEEDS_XA + help + Adds support for Nvidia Tegra GPUs, requires nouveau. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D + bool "Gallium v3d driver" + depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence + select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 # runtime + select BR2_PACKAGE_MESA3D_OPENGL_EGL + help + Driver for Broadcom VC6 (rpi4) GPUs (needs vc4). + + It requires a kernel 4.18+ with DRM V3D support enabled: + + - CONFIG_DRM_V3D + - CONFIG_DRM_VC4 + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4 + bool "Gallium vc4 driver" + depends on (BR2_arm && BR2_ARM_CPU_HAS_NEON) || BR2_aarch64 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence + select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_LIBDRM_VC4 + select BR2_PACKAGE_MESA3D_OPENGL_EGL + help + Driver for Broadcom VC4 (rpi2/3) GPUs. + It requires a vanilla 4.5+ kernel with drm vc4 (open) support. + +config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL + bool "Gallium virgl driver" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_MESA3D_OPENGL_EGL + help + virgl is the 3D acceleration backend for the virtio-gpu + shipping with qemu. + +config BR2_PACKAGE_MESA3D_VDPAU + bool "Gallium VDPAU state tracker" + depends on BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI + select BR2_PACKAGE_MESA3D_NEEDS_X11 + select BR2_PACKAGE_LIBVDPAU + help + VDPAU state tracker (needs r300, r600, radeonsi or nouveau + gallium drivers). + +comment "Gallium VDPAU state tracker needs X.org and gallium drivers r300, r600, radeonsi or nouveau" + depends on !BR2_PACKAGE_XORG7 || \ + !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300 \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) + +config BR2_PACKAGE_MESA3D_XVMC + bool "Gallium XvMC state tracker" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600 + select BR2_PACKAGE_MESA3D_NEEDS_X11 + select BR2_PACKAGE_XLIB_LIBXV + select BR2_PACKAGE_XLIB_LIBXVMC + help + XvMC state tracker (needs r600 or nouveau gallium drivers). + +comment "Gallium XvMC state tracker needs X.org and gallium drivers r600 or nouveau" + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_PACKAGE_XORG7 || \ + !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU \ + || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600) + +comment "DRI drivers" + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_I915 + bool "DRI i915 driver" + depends on BR2_i386 || BR2_x86_64 + select BR2_PACKAGE_MESA3D_DRI_DRIVER + select BR2_PACKAGE_LIBDRM_INTEL + help + Support for i915-based Intel GPUs. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_I965 + bool "DRI i965 driver" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h + select BR2_PACKAGE_MESA3D_DRI_DRIVER + select BR2_PACKAGE_LIBDRM_INTEL + help + Support for i965-based Intel GPUs. + +comment "DRI i965 driver needs a toolchain w/ headers >= 3.17" + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU + bool "DRI nouveau driver" + select BR2_PACKAGE_MESA3D_DRI_DRIVER + select BR2_PACKAGE_LIBDRM_NOUVEAU + help + Support for Nvidia-based GPUs. + +config BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON + bool "DRI radeon r100 driver" + depends on BR2_i386 || BR2_x86_64 + # libdrm's radeon option depends on LIBDRM_HAS_ATOMIC. Propagating + # that dependency here causes a circular dependency that Kconfig + # can't see is just spurious. However, that dependency is about + # the toolchain having sync4 primitives, which is always a given + # for i386 and x86_64. + select BR2_PACKAGE_MESA3D_DRI_DRIVER + select BR2_PACKAGE_LIBDRM_RADEON + help + Legacy Radeon driver for R100 series GPUs. + +comment "Vulkan drivers" + +config BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL + bool "Vulkan Intel driver" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 # libxshmfence + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # memfd.h + depends on BR2_TOOLCHAIN_USES_GLIBC # ifunc, static_assert + select BR2_PACKAGE_MESA3D_DRI3 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_MESA3D_VULKAN_DRIVER + help + Vulkan driver for Intel hardware from Ivy Bridge onward. + +comment "intel vulkan needs a glibc toolchain w/ headers >= 3.17" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 || !BR2_PACKAGE_XORG7 + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 || \ + !BR2_TOOLCHAIN_USES_GLIBC + +comment "Off-screen Rendering" + +config BR2_PACKAGE_MESA3D_OSMESA_GALLIUM + bool "OSMesa (Gallium) library" + select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST + help + The OSMesa API provides functions for off-screen rendering. + +if BR2_PACKAGE_MESA3D_DRIVER + +comment "OpenGL API Support" + +config BR2_PACKAGE_MESA3D_GBM + bool "gbm" + depends on BR2_PACKAGE_MESA3D_DRI_DRIVER \ + || (BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) + select BR2_PACKAGE_HAS_LIBGBM + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF + help + Enable Generic Buffer Management (gbm) + +comment "gbm support needs a dri driver or a gallium driver w/ EGL support." + depends on !BR2_PACKAGE_MESA3D_DRI_DRIVER \ + && !(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER && BR2_PACKAGE_MESA3D_OPENGL_EGL) + +config BR2_PACKAGE_MESA3D_OPENGL_GLX + bool "OpenGL GLX" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_HAS_LIBGL if !BR2_PACKAGE_LIBGLVND + select BR2_PACKAGE_LIBGLVND_DISPATCH_GL if BR2_PACKAGE_LIBGLVND + select BR2_PACKAGE_MESA3D_NEEDS_X11 + help + Enable GLX graphic acceleration (OpenGL + X11). + +comment "OpenGL GLX support needs X11" + depends on !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_MESA3D_OPENGL_EGL + bool "OpenGL EGL" + depends on BR2_PACKAGE_MESA3D_DRI_DRIVER || BR2_PACKAGE_MESA3D_GALLIUM_DRIVER + select BR2_PACKAGE_HAS_LIBEGL if !BR2_PACKAGE_LIBGLVND + select BR2_PACKAGE_LIBGLVND_DISPATCH_EGL if BR2_PACKAGE_LIBGLVND + select BR2_PACKAGE_HAS_LIBEGL_WAYLAND + select BR2_PACKAGE_MESA3D_GBM + help + Use the Khronos EGL APIs. EGL is a window manager for OpenGL + applications similar to GLX, for X, and WGL, for Windows. + +config BR2_PACKAGE_MESA3D_OPENGL_ES + bool "OpenGL ES" + select BR2_PACKAGE_HAS_LIBGLES if !BR2_PACKAGE_LIBGLVND + select BR2_PACKAGE_LIBGLVND_DISPATCH_GLES if BR2_PACKAGE_LIBGLVND + help + Use the Khronos OpenGL ES APIs. This is commonly used on + embedded systems and represents a subset of the OpenGL API. + +endif # BR2_PACKAGE_MESA3D_DRIVER + +config BR2_PACKAGE_PROVIDES_LIBGBM + default "mesa3d" if BR2_PACKAGE_MESA3D_GBM + +config BR2_PACKAGE_PROVIDES_LIBGL + default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_GLX && !BR2_PACKAGE_LIBGLVND + +config BR2_PACKAGE_PROVIDES_LIBEGL + default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_LIBGLVND + +config BR2_PACKAGE_PROVIDES_LIBGLES + default "mesa3d" if BR2_PACKAGE_MESA3D_OPENGL_ES && !BR2_PACKAGE_LIBGLVND + +config BR2_PACKAGE_PROVIDES_LIBOPENCL + default "mesa3d" if BR2_PACKAGE_MESA3D_OPENCL + +endif # BR2_PACKAGE_MESA3D + +comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_1 + +comment "mesa3d needs a toolchain w/ gcc >= 7" + depends on BR2_m68k + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 diff --git a/buildroot-2022.02.1/package/mesa3d/mesa3d.hash b/buildroot-2022.02.1/package/mesa3d/mesa3d.hash new file mode 100644 index 00000000..e36d798e --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d/mesa3d.hash @@ -0,0 +1,6 @@ +# From https://lists.freedesktop.org/archives/mesa-announce/2022-January/000660.html +sha256 d93b2a9d2464ee856d7637a07dff6b7cd950f295ad58518bb959f76882cf4a4c mesa-21.3.5.tar.xz +sha512 417d1787f8177567f0c547dde3e24212f7497f2fe7cdaa945fe998cd61ec0e9eb9388feb444e377c4fd8794b056af02aac28d1bbfb9527844391ba49e6893933 mesa-21.3.5.tar.xz + +# License +sha256 998437f3f75f0c542046f83c1cb349408122268168fb13eb4ae6967aa18b7d98 docs/license.rst diff --git a/buildroot-2022.02.1/package/mesa3d/mesa3d.mk b/buildroot-2022.02.1/package/mesa3d/mesa3d.mk new file mode 100644 index 00000000..5f080ff5 --- /dev/null +++ b/buildroot-2022.02.1/package/mesa3d/mesa3d.mk @@ -0,0 +1,284 @@ +################################################################################ +# +# mesa3d +# +################################################################################ + +# When updating the version, please also update mesa3d-headers +MESA3D_VERSION = 21.3.5 +MESA3D_SOURCE = mesa-$(MESA3D_VERSION).tar.xz +MESA3D_SITE = https://archive.mesa3d.org +MESA3D_LICENSE = MIT, SGI, Khronos +MESA3D_LICENSE_FILES = docs/license.rst +MESA3D_CPE_ID_VENDOR = mesa3d +MESA3D_CPE_ID_PRODUCT = mesa + +MESA3D_INSTALL_STAGING = YES + +MESA3D_PROVIDES = + +MESA3D_DEPENDENCIES = \ + host-bison \ + host-flex \ + host-python-mako \ + expat \ + libdrm \ + zlib + +MESA3D_CONF_OPTS = \ + -Dgallium-omx=disabled \ + -Dpower8=disabled + +# Codesourcery ARM 2014.05 fail to link libmesa_dri_drivers.so with --as-needed linker +# flag due to a linker bug between binutils 2.24 and 2.25 (2.24.51.20140217). +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM),y) +MESA3D_CONF_OPTS += -Db_asneeded=false +endif + +ifeq ($(BR2_PACKAGE_MESA3D_DRI3),y) +MESA3D_CONF_OPTS += -Ddri3=enabled +ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE),y) +MESA3D_DEPENDENCIES += xlib_libxshmfence +endif +else +MESA3D_CONF_OPTS += -Ddri3=disabled +endif + +ifeq ($(BR2_PACKAGE_MESA3D_LLVM),y) +MESA3D_DEPENDENCIES += host-llvm llvm +MESA3D_MESON_EXTRA_BINARIES += llvm-config='$(STAGING_DIR)/usr/bin/llvm-config' +MESA3D_CONF_OPTS += -Dllvm=enabled +else +# Avoid automatic search of llvm-config +MESA3D_CONF_OPTS += -Dllvm=disabled +endif + +# Disable opencl-icd: OpenCL lib will be named libOpenCL instead of +# libMesaOpenCL and CL headers are installed +ifeq ($(BR2_PACKAGE_MESA3D_OPENCL),y) +MESA3D_PROVIDES += libopencl +MESA3D_DEPENDENCIES += clang libclc +MESA3D_CONF_OPTS += -Dgallium-opencl=standalone +else +MESA3D_CONF_OPTS += -Dgallium-opencl=disabled +endif + +ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_ELFUTILS),y) +MESA3D_DEPENDENCIES += elfutils +endif + +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y) +# Disable-mangling not yet supported by meson build system. +# glx: +# dri : dri based GLX requires at least one DRI driver || dri based GLX requires shared-glapi +# xlib : xlib conflicts with any dri driver +# gallium-xlib : Gallium-xlib based GLX requires at least one gallium driver || Gallium-xlib based GLX requires softpipe or llvmpipe || gallium-xlib conflicts with any dri driver. +# Always enable glx-direct; without it, many GLX applications don't work. +MESA3D_CONF_OPTS += \ + -Dglx=dri \ + -Dglx-direct=true +ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_XA),y) +MESA3D_CONF_OPTS += -Dgallium-xa=enabled +else +MESA3D_CONF_OPTS += -Dgallium-xa=disabled +endif +else +MESA3D_CONF_OPTS += \ + -Dglx=disabled \ + -Dgallium-xa=disabled +endif + +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +MESA3D_CONF_OPTS += -Dgallium-vc4-neon=auto +else +MESA3D_CONF_OPTS += -Dgallium-vc4-neon=disabled +endif + +# Drivers + +#Gallium Drivers +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_CROCUS) += crocus +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_ETNAVIV) += etnaviv +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_FREEDRENO) += freedreno +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_I915) += i915 +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_IRIS) += iris +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_LIMA) += lima +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU) += nouveau +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_PANFROST) += panfrost +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R300) += r300 +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600) += r600 +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI) += radeonsi +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA) += svga +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST) += swrast +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_TEGRA) += tegra +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_V3D) += v3d +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VC4) += vc4 +MESA3D_GALLIUM_DRIVERS-$(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL) += virgl +# DRI Drivers +MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I915) += i915 +MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_I965) += i965 +MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU) += nouveau +MESA3D_DRI_DRIVERS-$(BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON) += r100 +# Vulkan Drivers +MESA3D_VULKAN_DRIVERS-$(BR2_PACKAGE_MESA3D_VULKAN_DRIVER_INTEL) += intel + +ifeq ($(BR2_PACKAGE_MESA3D_GALLIUM_DRIVER),) +MESA3D_CONF_OPTS += \ + -Dgallium-drivers= \ + -Dgallium-extra-hud=false +else +MESA3D_CONF_OPTS += \ + -Dshared-glapi=enabled \ + -Dgallium-drivers=$(subst $(space),$(comma),$(MESA3D_GALLIUM_DRIVERS-y)) \ + -Dgallium-extra-hud=true +endif + +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) +MESA3D_CONF_OPTS += \ + -Ddri-drivers= +else +MESA3D_CONF_OPTS += \ + -Dshared-glapi=enabled \ + -Ddri-drivers=$(subst $(space),$(comma),$(MESA3D_DRI_DRIVERS-y)) +endif + +ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),) +MESA3D_CONF_OPTS += \ + -Dvulkan-drivers= +else +MESA3D_CONF_OPTS += \ + -Dvulkan-drivers=$(subst $(space),$(comma),$(MESA3D_VULKAN_DRIVERS-y)) +endif + +# APIs + +ifeq ($(BR2_PACKAGE_MESA3D_OSMESA_GALLIUM),y) +MESA3D_CONF_OPTS += -Dosmesa=true +else +MESA3D_CONF_OPTS += -Dosmesa=false +endif + +# Always enable OpenGL: +# - Building OpenGL ES without OpenGL is not supported, so always keep opengl enabled. +MESA3D_CONF_OPTS += -Dopengl=true + +# libva and mesa3d have a circular dependency +# we do not need libva support in mesa3d, therefore disable this option +MESA3D_CONF_OPTS += -Dgallium-va=disabled + +# libGL is only provided for a full xorg stack, without libglvnd +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX),y) +MESA3D_PROVIDES += $(if $(BR2_PACKAGE_LIBGLVND),,libgl) +else +define MESA3D_REMOVE_OPENGL_HEADERS + rm -rf $(STAGING_DIR)/usr/include/GL/ +endef + +MESA3D_POST_INSTALL_STAGING_HOOKS += MESA3D_REMOVE_OPENGL_HEADERS +endif + +ifeq ($(BR2_PACKAGE_MESA3D_NEEDS_X11),y) +MESA3D_DEPENDENCIES += \ + xlib_libX11 \ + xlib_libXext \ + xlib_libXdamage \ + xlib_libXfixes \ + xlib_libXrandr \ + xlib_libXxf86vm \ + xorgproto \ + libxcb +MESA3D_PLATFORMS += x11 +endif +ifeq ($(BR2_PACKAGE_WAYLAND),y) +MESA3D_DEPENDENCIES += wayland wayland-protocols +MESA3D_PLATFORMS += wayland +endif + +MESA3D_CONF_OPTS += \ + -Dplatforms=$(subst $(space),$(comma),$(MESA3D_PLATFORMS)) + +ifeq ($(BR2_PACKAGE_MESA3D_GBM),y) +MESA3D_CONF_OPTS += \ + -Dgbm=enabled +else +MESA3D_CONF_OPTS += \ + -Dgbm=disabled +endif + +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y) +MESA3D_PROVIDES += $(if $(BR2_PACKAGE_LIBGLVND),,libegl) +MESA3D_CONF_OPTS += \ + -Degl=enabled +else +MESA3D_CONF_OPTS += \ + -Degl=disabled +endif + +ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_ES),y) +MESA3D_PROVIDES += $(if $(BR2_PACKAGE_LIBGLVND),,libgles) +MESA3D_CONF_OPTS += -Dgles1=enabled -Dgles2=enabled +else +MESA3D_CONF_OPTS += -Dgles1=disabled -Dgles2=disabled +endif + +ifeq ($(BR2_PACKAGE_MESA3D_XVMC),y) +MESA3D_DEPENDENCIES += xlib_libXv xlib_libXvMC +MESA3D_CONF_OPTS += -Dgallium-xvmc=enabled +else +MESA3D_CONF_OPTS += -Dgallium-xvmc=disabled +endif + +ifeq ($(BR2_PACKAGE_VALGRIND),y) +MESA3D_CONF_OPTS += -Dvalgrind=enabled +MESA3D_DEPENDENCIES += valgrind +else +MESA3D_CONF_OPTS += -Dvalgrind=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +MESA3D_CONF_OPTS += -Dlibunwind=enabled +MESA3D_DEPENDENCIES += libunwind +else +MESA3D_CONF_OPTS += -Dlibunwind=disabled +endif + +ifeq ($(BR2_PACKAGE_MESA3D_VDPAU),y) +MESA3D_DEPENDENCIES += libvdpau +MESA3D_CONF_OPTS += -Dgallium-vdpau=enabled +else +MESA3D_CONF_OPTS += -Dgallium-vdpau=disabled +endif + +ifeq ($(BR2_PACKAGE_LM_SENSORS),y) +MESA3D_CONF_OPTS += -Dlmsensors=enabled +MESA3D_DEPENDENCIES += lm-sensors +else +MESA3D_CONF_OPTS += -Dlmsensors=disabled +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +MESA3D_CONF_OPTS += -Dzstd=enabled +MESA3D_DEPENDENCIES += zstd +else +MESA3D_CONF_OPTS += -Dzstd=disabled +endif + +MESA3D_CFLAGS = $(TARGET_CFLAGS) + +# m68k needs 32-bit offsets in switch tables to build +ifeq ($(BR2_m68k),y) +MESA3D_CFLAGS += -mlong-jump-table-offsets +endif + +ifeq ($(BR2_PACKAGE_LIBGLVND),y) +ifneq ($(BR2_PACKAGE_MESA3D_OPENGL_GLX)$(BR2_PACKAGE_MESA3D_OPENGL_EGL),) +MESA3D_DEPENDENCIES += libglvnd +MESA3D_CONF_OPTS += -Dglvnd=true +else +MESA3D_CONF_OPTS += -Dglvnd=false +endif +else +MESA3D_CONF_OPTS += -Dglvnd=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/meson-tools/0001-amlbootenc-gxl-remove-non-std-C-convention-in-for.patch b/buildroot-2022.02.1/package/meson-tools/0001-amlbootenc-gxl-remove-non-std-C-convention-in-for.patch similarity index 100% rename from buildroot-2021.05/package/meson-tools/0001-amlbootenc-gxl-remove-non-std-C-convention-in-for.patch rename to buildroot-2022.02.1/package/meson-tools/0001-amlbootenc-gxl-remove-non-std-C-convention-in-for.patch diff --git a/buildroot-2021.05/package/meson-tools/Config.in.host b/buildroot-2022.02.1/package/meson-tools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/meson-tools/Config.in.host rename to buildroot-2022.02.1/package/meson-tools/Config.in.host diff --git a/buildroot-2021.05/package/meson-tools/meson-tools.hash b/buildroot-2022.02.1/package/meson-tools/meson-tools.hash similarity index 100% rename from buildroot-2021.05/package/meson-tools/meson-tools.hash rename to buildroot-2022.02.1/package/meson-tools/meson-tools.hash diff --git a/buildroot-2021.05/package/meson-tools/meson-tools.mk b/buildroot-2022.02.1/package/meson-tools/meson-tools.mk similarity index 100% rename from buildroot-2021.05/package/meson-tools/meson-tools.mk rename to buildroot-2022.02.1/package/meson-tools/meson-tools.mk diff --git a/buildroot-2022.02.1/package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch b/buildroot-2022.02.1/package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch new file mode 100644 index 00000000..9cedcd09 --- /dev/null +++ b/buildroot-2022.02.1/package/meson/0001-Prefer-ext-static-libs-when-default-library-static.patch @@ -0,0 +1,47 @@ +From c1359a49b61016031287d62f44a363cb76242c91 Mon Sep 17 00:00:00 2001 +From: Matt Weber +Date: Sat, 26 Oct 2019 09:17:29 -0500 +Subject: [PATCH] Prefer ext static libs when --default-library=static + +This patch adds a case in the library pattern logic to prefer static +libraries when the Meson Core option for "default_library" is set to +solely static. + +The existing library search order makes sense for cases of shared and +shared / static mixed. However if using a prebuilt cross-toolchain, +they usually provide both a static and shared version of sysroot +libraries. This presents a problem in a complete static build where +there won't be shared libraries at runtime and during build time there +are failures like "ld: attempted static link of dynamic object". + +Bug: +https://github.com/mesonbuild/meson/issues/6108 + +Fixes: +http://autobuild.buildroot.net/results/db1740b4777f436324218c52bc7b08e5c21b667d/ +http://autobuild.buildroot.net/results/c17/c17bbb12d9deadd64a441b36e324cfbbe8aba5be/ + +Signed-off-by: Matthew Weber +[Updated for 0.57.1 - get_builtin_option() vs. get_option(OptionKey())] +Signed-off-by: Peter Seiderer +--- + mesonbuild/compilers/mixins/clike.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py +index 09ad837b1..b7f6b9f22 100644 +--- a/mesonbuild/compilers/mixins/clike.py ++++ b/mesonbuild/compilers/mixins/clike.py +@@ -978,6 +978,9 @@ class CLikeCompiler(Compiler): + elif env.machines[self.for_machine].is_cygwin(): + shlibext = ['dll', 'dll.a'] + prefixes = ['cyg'] + prefixes ++ elif env.coredata.get_option(OptionKey('default_library')) == 'static': ++ # Linux/BSDs ++ shlibext = ['a'] + else: + # Linux/BSDs + shlibext = ['so'] +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch b/buildroot-2022.02.1/package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch new file mode 100644 index 00000000..8e15d321 --- /dev/null +++ b/buildroot-2022.02.1/package/meson/0002-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch @@ -0,0 +1,43 @@ +From 3d6a2db2270346236dd6247e0648ea0c949ba468 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 15 Feb 2020 15:13:59 +0100 +Subject: [PATCH] mesonbuild/dependencies/base.py: add pkg_config_static + +Allow the user to always call pkg-config with --static thanks to a +pkg_config_static property. This will allow to fix static build failures +with libglib2: + +FAILED: gio/gio +/home/naourr/work/instance-0/output-1/host/bin/arm-linux-gcc -o gio/gio 'gio/6ae6c9e@@gio@exe/gio-tool.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-cat.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-copy.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-info.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-list.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-mime.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-mkdir.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-monitor.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-mount.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-move.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-open.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-rename.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-remove.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-save.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-set.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-trash.c.o' 'gio/6ae6c9e@@gio@exe/gio-tool-tree.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -static -Wl,--start-group gio/libgio-2.0.a glib/libglib-2.0.a gobject/libgobject-2.0.a gmodule/libgmodule-2.0.a -pthread /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libz.a /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libmount.a /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libpcre.a -lm /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libffi.a -Wl,--end-group '-Wl,-rpath,$ORIGIN/:$ORIGIN/../glib:$ORIGIN/../gobject:$ORIGIN/../gmodule' -Wl,-rpath-link,/home/naourr/work/instance-0/output-1/build/libglib2-2.62.4/build/gio -Wl,-rpath-link,/home/naourr/work/instance-0/output-1/build/libglib2-2.62.4/build/glib -Wl,-rpath-link,/home/naourr/work/instance-0/output-1/build/libglib2-2.62.4/build/gobject -Wl,-rpath-link,/home/naourr/work/instance-0/output-1/build/libglib2-2.62.4/build/gmodule +/home/naourr/work/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /home/naourr/work/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libmount.a(la-fs.o): in function `__mnt_fs_set_source_ptr': +fs.c:(.text+0x5ec): undefined reference to `blkid_parse_tag_string' + +Fixes: + - http://autobuild.buildroot.org/results/0d36952def63cb69628697fa6408aeb6ce10cb5b + +Signed-off-by: Fabrice Fontaine +[Romain: Fix if condition, pkg_config_static is a string not a boolean] +Signed-off-by: Romain Naour +[Rebased on 0.57.1] +Signed-off-by: Peter Seiderer +--- + mesonbuild/dependencies/pkgconfig.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/mesonbuild/dependencies/pkgconfig.py b/mesonbuild/dependencies/pkgconfig.py +index 1e8d9132e..d902ba215 100644 +--- a/mesonbuild/dependencies/pkgconfig.py ++++ b/mesonbuild/dependencies/pkgconfig.py +@@ -338,7 +338,8 @@ class PkgConfigDependency(ExternalDependency): + env = None + libcmd = ['--libs'] + +- if self.static: ++ if self.static or \ ++ (self.env.properties[self.for_machine].get('pkg_config_static', None) == 'true'): + libcmd.append('--static') + + libcmd.append(self.name) +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/meson/meson.hash b/buildroot-2022.02.1/package/meson/meson.hash new file mode 100644 index 00000000..8389adb2 --- /dev/null +++ b/buildroot-2022.02.1/package/meson/meson.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +# https://github.com/mesonbuild/meson/releases/download/0.61.4/meson-0.61.4.tar.gz.asc +sha256 4e3733ddc66bac38e38c63b739c9b8b8fc5a866de5333396b0c85c2b144ddee9 meson-0.61.4.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING diff --git a/buildroot-2022.02.1/package/meson/meson.mk b/buildroot-2022.02.1/package/meson/meson.mk new file mode 100644 index 00000000..e9c31451 --- /dev/null +++ b/buildroot-2022.02.1/package/meson/meson.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# meson +# +################################################################################ + +MESON_VERSION = 0.61.4 +MESON_SITE = https://github.com/mesonbuild/meson/releases/download/$(MESON_VERSION) +MESON_LICENSE = Apache-2.0 +MESON_LICENSE_FILES = COPYING +MESON_SETUP_TYPE = setuptools + +HOST_MESON_DEPENDENCIES = host-ninja + +# Avoid interpreter shebang longer than 128 chars +define HOST_MESON_SET_INTERPRETER + $(SED) '1s:.*:#!/usr/bin/env python3:' $(HOST_DIR)/bin/meson +endef +HOST_MESON_POST_INSTALL_HOOKS += HOST_MESON_SET_INTERPRETER + +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/metacity/0001-add-libm-reference.patch b/buildroot-2022.02.1/package/metacity/0001-add-libm-reference.patch similarity index 100% rename from buildroot-2021.05/package/metacity/0001-add-libm-reference.patch rename to buildroot-2022.02.1/package/metacity/0001-add-libm-reference.patch diff --git a/buildroot-2021.05/package/metacity/0002-gconf.patch b/buildroot-2022.02.1/package/metacity/0002-gconf.patch similarity index 100% rename from buildroot-2021.05/package/metacity/0002-gconf.patch rename to buildroot-2022.02.1/package/metacity/0002-gconf.patch diff --git a/buildroot-2021.05/package/metacity/0003-mag-add-libm-reference.patch b/buildroot-2022.02.1/package/metacity/0003-mag-add-libm-reference.patch similarity index 100% rename from buildroot-2021.05/package/metacity/0003-mag-add-libm-reference.patch rename to buildroot-2022.02.1/package/metacity/0003-mag-add-libm-reference.patch diff --git a/buildroot-2021.05/package/metacity/Config.in b/buildroot-2022.02.1/package/metacity/Config.in similarity index 100% rename from buildroot-2021.05/package/metacity/Config.in rename to buildroot-2022.02.1/package/metacity/Config.in diff --git a/buildroot-2021.05/package/metacity/Xsession b/buildroot-2022.02.1/package/metacity/Xsession similarity index 100% rename from buildroot-2021.05/package/metacity/Xsession rename to buildroot-2022.02.1/package/metacity/Xsession diff --git a/buildroot-2021.05/package/metacity/metacity.hash b/buildroot-2022.02.1/package/metacity/metacity.hash similarity index 100% rename from buildroot-2021.05/package/metacity/metacity.hash rename to buildroot-2022.02.1/package/metacity/metacity.hash diff --git a/buildroot-2021.05/package/metacity/metacity.mk b/buildroot-2022.02.1/package/metacity/metacity.mk similarity index 100% rename from buildroot-2021.05/package/metacity/metacity.mk rename to buildroot-2022.02.1/package/metacity/metacity.mk diff --git a/buildroot-2021.05/package/mfgtools/0001-lnx_def.h-fix-conflicting-declaration-of-__time64_t.patch b/buildroot-2022.02.1/package/mfgtools/0001-lnx_def.h-fix-conflicting-declaration-of-__time64_t.patch similarity index 100% rename from buildroot-2021.05/package/mfgtools/0001-lnx_def.h-fix-conflicting-declaration-of-__time64_t.patch rename to buildroot-2022.02.1/package/mfgtools/0001-lnx_def.h-fix-conflicting-declaration-of-__time64_t.patch diff --git a/buildroot-2021.05/package/mfgtools/Config.in.host b/buildroot-2022.02.1/package/mfgtools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/mfgtools/Config.in.host rename to buildroot-2022.02.1/package/mfgtools/Config.in.host diff --git a/buildroot-2021.05/package/mfgtools/mfgtools.hash b/buildroot-2022.02.1/package/mfgtools/mfgtools.hash similarity index 100% rename from buildroot-2021.05/package/mfgtools/mfgtools.hash rename to buildroot-2022.02.1/package/mfgtools/mfgtools.hash diff --git a/buildroot-2021.05/package/mfgtools/mfgtools.mk b/buildroot-2022.02.1/package/mfgtools/mfgtools.mk similarity index 100% rename from buildroot-2021.05/package/mfgtools/mfgtools.mk rename to buildroot-2022.02.1/package/mfgtools/mfgtools.mk diff --git a/buildroot-2021.05/package/mfgtools/readme.txt b/buildroot-2022.02.1/package/mfgtools/readme.txt similarity index 100% rename from buildroot-2021.05/package/mfgtools/readme.txt rename to buildroot-2022.02.1/package/mfgtools/readme.txt diff --git a/buildroot-2021.05/package/mfoc/Config.in b/buildroot-2022.02.1/package/mfoc/Config.in similarity index 100% rename from buildroot-2021.05/package/mfoc/Config.in rename to buildroot-2022.02.1/package/mfoc/Config.in diff --git a/buildroot-2021.05/package/mfoc/mfoc.hash b/buildroot-2022.02.1/package/mfoc/mfoc.hash similarity index 100% rename from buildroot-2021.05/package/mfoc/mfoc.hash rename to buildroot-2022.02.1/package/mfoc/mfoc.hash diff --git a/buildroot-2021.05/package/mfoc/mfoc.mk b/buildroot-2022.02.1/package/mfoc/mfoc.mk similarity index 100% rename from buildroot-2021.05/package/mfoc/mfoc.mk rename to buildroot-2022.02.1/package/mfoc/mfoc.mk diff --git a/buildroot-2021.05/package/mg/Config.in b/buildroot-2022.02.1/package/mg/Config.in similarity index 100% rename from buildroot-2021.05/package/mg/Config.in rename to buildroot-2022.02.1/package/mg/Config.in diff --git a/buildroot-2022.02.1/package/mg/mg.hash b/buildroot-2022.02.1/package/mg/mg.hash new file mode 100644 index 00000000..9257daf5 --- /dev/null +++ b/buildroot-2022.02.1/package/mg/mg.hash @@ -0,0 +1,4 @@ +# From https://github.com/troglobit/mg/releases/tag/v3.5 +sha256 a906eab9370c0f24a5fa25923561ad933b74ad339d0b2851d2067badf0d7e4ce mg-3.5.tar.gz +# Locally computed: +sha256 7e12e5df4bae12cb21581ba157ced20e1986a0508dd10d0e8a4ab9a4cf94e85c UNLICENSE diff --git a/buildroot-2022.02.1/package/mg/mg.mk b/buildroot-2022.02.1/package/mg/mg.mk new file mode 100644 index 00000000..bb3f59a1 --- /dev/null +++ b/buildroot-2022.02.1/package/mg/mg.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# mg +# +################################################################################ + +MG_VERSION = 3.5 +MG_SITE = https://github.com/troglobit/mg/releases/download/v$(MG_VERSION) +MG_LICENSE = Public Domain +MG_LICENSE_FILES = UNLICENSE + +ifeq ($(BR2_PACKAGE_NCURSES),y) +MG_DEPENDENCIES += ncurses +MG_CONF_OPTS += --with-curses +else +MG_CONF_OPTS += --without-curses +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/micropython-lib/Config.in b/buildroot-2022.02.1/package/micropython-lib/Config.in similarity index 100% rename from buildroot-2021.05/package/micropython-lib/Config.in rename to buildroot-2022.02.1/package/micropython-lib/Config.in diff --git a/buildroot-2021.05/package/micropython-lib/micropython-lib.hash b/buildroot-2022.02.1/package/micropython-lib/micropython-lib.hash similarity index 100% rename from buildroot-2021.05/package/micropython-lib/micropython-lib.hash rename to buildroot-2022.02.1/package/micropython-lib/micropython-lib.hash diff --git a/buildroot-2021.05/package/micropython-lib/micropython-lib.mk b/buildroot-2022.02.1/package/micropython-lib/micropython-lib.mk similarity index 100% rename from buildroot-2021.05/package/micropython-lib/micropython-lib.mk rename to buildroot-2022.02.1/package/micropython-lib/micropython-lib.mk diff --git a/buildroot-2021.05/package/micropython/Config.in b/buildroot-2022.02.1/package/micropython/Config.in similarity index 100% rename from buildroot-2021.05/package/micropython/Config.in rename to buildroot-2022.02.1/package/micropython/Config.in diff --git a/buildroot-2022.02.1/package/micropython/micropython.hash b/buildroot-2022.02.1/package/micropython/micropython.hash new file mode 100644 index 00000000..d5045e8f --- /dev/null +++ b/buildroot-2022.02.1/package/micropython/micropython.hash @@ -0,0 +1,3 @@ +#locally computed +sha256 c21dbf8144237b3dbe3847c9ad5264cd0f3104eb078c810b3986004cce8fcd70 micropython-1.17.tar.gz +sha256 59b1f0947a87c90d0d29dbe2c8deb3d1f8263bbbd2fb5ebcc79a649cff6dfcba LICENSE diff --git a/buildroot-2022.02.1/package/micropython/micropython.mk b/buildroot-2022.02.1/package/micropython/micropython.mk new file mode 100644 index 00000000..55c00ba0 --- /dev/null +++ b/buildroot-2022.02.1/package/micropython/micropython.mk @@ -0,0 +1,55 @@ +################################################################################ +# +# micropython +# +################################################################################ + +MICROPYTHON_VERSION = 1.17 +MICROPYTHON_SITE = $(call github,micropython,micropython,v$(MICROPYTHON_VERSION)) +# Micropython has a lot of code copied from other projects, and also a number +# of submodules for various libs. However, we don't even clone the submodules, +# and most of the copied code is not used in the unix build. +MICROPYTHON_LICENSE = MIT, BSD-1-Clause, BSD-3-Clause, Zlib +MICROPYTHON_LICENSE_FILES = LICENSE +MICROPYTHON_DEPENDENCIES = host-pkgconf libffi host-python3 + +# Set GIT_DIR so package won't use buildroot's version number +MICROPYTHON_MAKE_ENV = \ + $(TARGET_MAKE_ENV) \ + GIT_DIR=. + +# Use fallback implementation for exception handling on architectures that don't +# have explicit support. +ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_arm)$(BR2_armeb),) +MICROPYTHON_CFLAGS = -DMICROPY_GCREGS_SETJMP=1 +endif + +# xtensa has problems with nlr_push, use setjmp based implementation instead +ifeq ($(BR2_xtensa),y) +MICROPYTHON_CFLAGS = -DMICROPY_NLR_SETJMP=1 +endif + +# When building from a tarball we don't have some of the dependencies that are in +# the git repository as submodules +MICROPYTHON_MAKE_OPTS += \ + MICROPY_PY_BTREE=0 \ + MICROPY_PY_USSL=0 \ + CROSS_COMPILE=$(TARGET_CROSS) \ + CFLAGS_EXTRA=$(MICROPYTHON_CFLAGS) \ + CWARN= + +define MICROPYTHON_BUILD_CMDS + $(MICROPYTHON_MAKE_ENV) $(MAKE) -C $(@D)/mpy-cross + $(MICROPYTHON_MAKE_ENV) $(MAKE) -C $(@D)/ports/unix \ + $(MICROPYTHON_MAKE_OPTS) +endef + +define MICROPYTHON_INSTALL_TARGET_CMDS + $(MICROPYTHON_MAKE_ENV) $(MAKE) -C $(@D)/ports/unix \ + $(MICROPYTHON_MAKE_OPTS) \ + DESTDIR=$(TARGET_DIR) \ + PREFIX=/usr \ + install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/midori/0001-disable-vala-fatal-warnings.patch b/buildroot-2022.02.1/package/midori/0001-disable-vala-fatal-warnings.patch new file mode 100644 index 00000000..c3f245f1 --- /dev/null +++ b/buildroot-2022.02.1/package/midori/0001-disable-vala-fatal-warnings.patch @@ -0,0 +1,30 @@ +From be91b1260d3215119e4ab5b19012ab80d6ff788d Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 11 Oct 2021 16:58:34 -0700 +Subject: [PATCH] disable vala fatal warnings + +When building midori in a buildroot directory cloned from git, the git +descript --tags command return tags from buildroot, which in turn sets +the --fatal-warnings flag. Disable --fatal-warnings unconditionally. + +Signed-off-by: Adam Duskett +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8e72f08..39941e2 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -18,7 +18,7 @@ execute_process(COMMAND "git" "describe" "--tags" + if (REVISION) + set(CORE_VERSION "${REVISION}") + # All warnings are errors in development builds +- set(VALAFLAGS ${VALAFLAGS} --fatal-warnings) ++ set(VALAFLAGS ${VALAFLAGS} --disable-assert) + else () + # No runtime type checks + set(VALAFLAGS ${VALAFLAGS} --disable-assert) +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/midori/0002-add-option-to-specify-path-to-g-ir-compiler.patch b/buildroot-2022.02.1/package/midori/0002-add-option-to-specify-path-to-g-ir-compiler.patch new file mode 100644 index 00000000..4bbcbaaf --- /dev/null +++ b/buildroot-2022.02.1/package/midori/0002-add-option-to-specify-path-to-g-ir-compiler.patch @@ -0,0 +1,37 @@ +From 118ac24b2c488f490ee8814336291a58eae45395 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 12 Oct 2021 13:21:19 -0700 +Subject: [PATCH] add option to specify path to g-ir-compiler + +By default, find_program (GIR_COMPILER_BIN g-ir-compiler) returns the host path +to g-ir-compiler, which is undesirable in a cross-compile environment. + +Add an option to manually specify a path to the g-ir-compiler. + +Signed-off-by: Adam Duskett +--- + core/CMakeLists.txt | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt +index c4982de..6584229 100644 +--- a/core/CMakeLists.txt ++++ b/core/CMakeLists.txt +@@ -66,7 +66,13 @@ set_target_properties("${LIBCORE}" PROPERTIES + VERSION ${LIBCORE_VERSION} + ) + +-find_program (GIR_COMPILER_BIN g-ir-compiler) ++option(GIR_COMPILER_PATH "Specify a path to g-ir-compiler" OFF) ++if(GIR_COMPILER_PATH) ++ set(GIR_COMPILER_BIN "${GIR_COMPILER_PATH}") ++else() ++ find_program (GIR_COMPILER_BIN g-ir-compiler) ++endif(GIR_COMPILER_PATH) ++ + add_custom_target(${LIBCORE_GIR}.typelib ALL + COMMAND ${GIR_COMPILER_BIN} ${CMAKE_CURRENT_BINARY_DIR}/${LIBCORE_GIR}.gir + --output ${CMAKE_CURRENT_BINARY_DIR}/${LIBCORE_GIR}.typelib +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/midori/Config.in b/buildroot-2022.02.1/package/midori/Config.in new file mode 100644 index 00000000..715295e5 --- /dev/null +++ b/buildroot-2022.02.1/package/midori/Config.in @@ -0,0 +1,52 @@ +config BR2_PACKAGE_MIDORI_ARCH_SUPPORTS + bool + default y + depends on BR2_USE_MMU + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS + depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS + depends on !BR2_BINFMT_FLAT # webkitgtk -> icu + +comment "midori needs a glibc toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 8" + depends on BR2_PACKAGE_MIDORI_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + !BR2_HOST_GCC_AT_LEAST_8 || \ + !BR2_TOOLCHAIN_USES_GLIBC || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS || !BR2_USE_WCHAR + +comment "midori needs libgtk3 w/ X11 or wayland backend" + depends on BR2_PACKAGE_MIDORI_ARCH_SUPPORTS + depends on !BR2_PACKAGE_LIBGTK3_X11 && \ + !BR2_PACKAGE_LIBGTK3_WAYLAND + +config BR2_PACKAGE_MIDORI + bool "midori" + depends on BR2_PACKAGE_MIDORI_ARCH_SUPPORTS + depends on !BR2_STATIC_LIBS # webkitgtk + depends on BR2_INSTALL_LIBSTDCPP # webkitgtk + depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # webkitgtk + depends on BR2_TOOLCHAIN_USES_GLIBC # webkitgtk + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3 + depends on BR2_USE_WCHAR # granite, gcr, libsoup, libpeas, gobject-introspection + depends on BR2_PACKAGE_LIBGTK3 + depends on BR2_PACKAGE_LIBGTK3_X11 || BR2_PACKAGE_LIBGTK3_WAYLAND + select BR2_PACKAGE_GCR + select BR2_PACKAGE_GRANITE + select BR2_PACKAGE_JSON_GLIB + select BR2_PACKAGE_LIBARCHIVE + select BR2_PACKAGE_LIBPEAS + select BR2_PACKAGE_LIBPEAS_WIDGETS + select BR2_PACKAGE_LIBSOUP + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_PYTHON3 # gobject-introspection + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_WEBKITGTK + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + Midori is a lightweight web browser based on WebKit + + https://github.com/midori-browser/core diff --git a/buildroot-2022.02.1/package/midori/midori.hash b/buildroot-2022.02.1/package/midori/midori.hash new file mode 100644 index 00000000..f14ec6d9 --- /dev/null +++ b/buildroot-2022.02.1/package/midori/midori.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 5e0a531455c47b0ff7589940aa2b0d9c16f59c99ba933e5fcdcab68114262016 midori-v9.0.tar.gz +sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2022.02.1/package/midori/midori.mk b/buildroot-2022.02.1/package/midori/midori.mk new file mode 100644 index 00000000..aeafa9bf --- /dev/null +++ b/buildroot-2022.02.1/package/midori/midori.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# midori +# +################################################################################ + +MIDORI_VERSION = 9.0 +MIDORI_SOURCE = midori-v$(MIDORI_VERSION).tar.gz +MIDORI_SITE = https://github.com/midori-browser/core/releases/download/v$(MIDORI_VERSION) +MIDORI_LICENSE = LGPL-2.1+ +MIDORI_LICENSE_FILES = COPYING +MIDORI_CPE_ID_VENDOR = midori-browser +MIDORI_DEPENDENCIES = \ + host-intltool \ + host-librsvg \ + host-pkgconf \ + host-vala \ + host-python3 \ + gcr \ + gobject-introspection \ + granite \ + json-glib \ + libarchive \ + libgtk3 \ + libpeas \ + libsoup \ + libxml2 \ + sqlite \ + webkitgtk \ + $(TARGET_NLS_DEPENDENCIES) \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +MIDORI_CONF_OPTS += -DGIR_COMPILER_PATH=$(STAGING_DIR)/usr/bin/g-ir-compiler + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/mii-diag/0001-strchr.patch b/buildroot-2022.02.1/package/mii-diag/0001-strchr.patch similarity index 100% rename from buildroot-2021.05/package/mii-diag/0001-strchr.patch rename to buildroot-2022.02.1/package/mii-diag/0001-strchr.patch diff --git a/buildroot-2021.05/package/mii-diag/Config.in b/buildroot-2022.02.1/package/mii-diag/Config.in similarity index 100% rename from buildroot-2021.05/package/mii-diag/Config.in rename to buildroot-2022.02.1/package/mii-diag/Config.in diff --git a/buildroot-2021.05/package/mii-diag/mii-diag.hash b/buildroot-2022.02.1/package/mii-diag/mii-diag.hash similarity index 100% rename from buildroot-2021.05/package/mii-diag/mii-diag.hash rename to buildroot-2022.02.1/package/mii-diag/mii-diag.hash diff --git a/buildroot-2021.05/package/mii-diag/mii-diag.mk b/buildroot-2022.02.1/package/mii-diag/mii-diag.mk similarity index 100% rename from buildroot-2021.05/package/mii-diag/mii-diag.mk rename to buildroot-2022.02.1/package/mii-diag/mii-diag.mk diff --git a/buildroot-2021.05/package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch b/buildroot-2022.02.1/package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch similarity index 100% rename from buildroot-2021.05/package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch rename to buildroot-2022.02.1/package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch diff --git a/buildroot-2021.05/package/mimic/Config.in b/buildroot-2022.02.1/package/mimic/Config.in similarity index 100% rename from buildroot-2021.05/package/mimic/Config.in rename to buildroot-2022.02.1/package/mimic/Config.in diff --git a/buildroot-2021.05/package/mimic/mimic.hash b/buildroot-2022.02.1/package/mimic/mimic.hash similarity index 100% rename from buildroot-2021.05/package/mimic/mimic.hash rename to buildroot-2022.02.1/package/mimic/mimic.hash diff --git a/buildroot-2021.05/package/mimic/mimic.mk b/buildroot-2022.02.1/package/mimic/mimic.mk similarity index 100% rename from buildroot-2021.05/package/mimic/mimic.mk rename to buildroot-2022.02.1/package/mimic/mimic.mk diff --git a/buildroot-2021.05/package/minetest-game/Config.in b/buildroot-2022.02.1/package/minetest-game/Config.in similarity index 100% rename from buildroot-2021.05/package/minetest-game/Config.in rename to buildroot-2022.02.1/package/minetest-game/Config.in diff --git a/buildroot-2021.05/package/minetest-game/minetest-game.hash b/buildroot-2022.02.1/package/minetest-game/minetest-game.hash similarity index 100% rename from buildroot-2021.05/package/minetest-game/minetest-game.hash rename to buildroot-2022.02.1/package/minetest-game/minetest-game.hash diff --git a/buildroot-2021.05/package/minetest-game/minetest-game.mk b/buildroot-2022.02.1/package/minetest-game/minetest-game.mk similarity index 100% rename from buildroot-2021.05/package/minetest-game/minetest-game.mk rename to buildroot-2022.02.1/package/minetest-game/minetest-game.mk diff --git a/buildroot-2022.02.1/package/minetest/0001-Fix-build-for-newer-versions-of-GCC-11246.patch b/buildroot-2022.02.1/package/minetest/0001-Fix-build-for-newer-versions-of-GCC-11246.patch new file mode 100644 index 00000000..35102a07 --- /dev/null +++ b/buildroot-2022.02.1/package/minetest/0001-Fix-build-for-newer-versions-of-GCC-11246.patch @@ -0,0 +1,35 @@ +From a327c06f5dee9f432666b503203fd15e4ccafc1b Mon Sep 17 00:00:00 2001 +From: lhofhansl +Date: Thu, 6 May 2021 10:24:30 -0700 +Subject: [PATCH] Fix build for newer versions of GCC (#11246) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +(cherry picked from commit 7c2826cbc0f36027d4a9781f433150d1c5d0d03f) + +Fixes: + +minetest-5.4.1/src/clientiface.h:444:36: error: ‘shared_ptr’ in namespace ‘std’ does not name a template type + 444 | ClientInterface(const std::shared_ptr &con); + +Signed-off-by: Romain Naour +--- + src/clientiface.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/clientiface.h b/src/clientiface.h +index cc5292b71..dfd976741 100644 +--- a/src/clientiface.h ++++ b/src/clientiface.h +@@ -31,6 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc., + #include + #include + #include ++#include + #include + + class MapBlock; +-- +2.31.1 + diff --git a/buildroot-2021.05/package/minetest/Config.in b/buildroot-2022.02.1/package/minetest/Config.in similarity index 100% rename from buildroot-2021.05/package/minetest/Config.in rename to buildroot-2022.02.1/package/minetest/Config.in diff --git a/buildroot-2021.05/package/minetest/minetest.hash b/buildroot-2022.02.1/package/minetest/minetest.hash similarity index 100% rename from buildroot-2021.05/package/minetest/minetest.hash rename to buildroot-2022.02.1/package/minetest/minetest.hash diff --git a/buildroot-2021.05/package/minetest/minetest.mk b/buildroot-2022.02.1/package/minetest/minetest.mk similarity index 100% rename from buildroot-2021.05/package/minetest/minetest.mk rename to buildroot-2022.02.1/package/minetest/minetest.mk diff --git a/buildroot-2021.05/package/mini-snmpd/0001-linux.c-fix-musl-build.patch b/buildroot-2022.02.1/package/mini-snmpd/0001-linux.c-fix-musl-build.patch similarity index 100% rename from buildroot-2021.05/package/mini-snmpd/0001-linux.c-fix-musl-build.patch rename to buildroot-2022.02.1/package/mini-snmpd/0001-linux.c-fix-musl-build.patch diff --git a/buildroot-2021.05/package/mini-snmpd/Config.in b/buildroot-2022.02.1/package/mini-snmpd/Config.in similarity index 100% rename from buildroot-2021.05/package/mini-snmpd/Config.in rename to buildroot-2022.02.1/package/mini-snmpd/Config.in diff --git a/buildroot-2021.05/package/mini-snmpd/mini-snmpd b/buildroot-2022.02.1/package/mini-snmpd/mini-snmpd similarity index 100% rename from buildroot-2021.05/package/mini-snmpd/mini-snmpd rename to buildroot-2022.02.1/package/mini-snmpd/mini-snmpd diff --git a/buildroot-2021.05/package/mini-snmpd/mini-snmpd.hash b/buildroot-2022.02.1/package/mini-snmpd/mini-snmpd.hash similarity index 100% rename from buildroot-2021.05/package/mini-snmpd/mini-snmpd.hash rename to buildroot-2022.02.1/package/mini-snmpd/mini-snmpd.hash diff --git a/buildroot-2021.05/package/mini-snmpd/mini-snmpd.mk b/buildroot-2022.02.1/package/mini-snmpd/mini-snmpd.mk similarity index 100% rename from buildroot-2021.05/package/mini-snmpd/mini-snmpd.mk rename to buildroot-2022.02.1/package/mini-snmpd/mini-snmpd.mk diff --git a/buildroot-2021.05/package/minicom/Config.in b/buildroot-2022.02.1/package/minicom/Config.in similarity index 100% rename from buildroot-2021.05/package/minicom/Config.in rename to buildroot-2022.02.1/package/minicom/Config.in diff --git a/buildroot-2021.05/package/minicom/minicom.hash b/buildroot-2022.02.1/package/minicom/minicom.hash similarity index 100% rename from buildroot-2021.05/package/minicom/minicom.hash rename to buildroot-2022.02.1/package/minicom/minicom.hash diff --git a/buildroot-2022.02.1/package/minicom/minicom.mk b/buildroot-2022.02.1/package/minicom/minicom.mk new file mode 100644 index 00000000..5cd1d6b8 --- /dev/null +++ b/buildroot-2022.02.1/package/minicom/minicom.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# minicom +# +################################################################################ + +MINICOM_VERSION = 2.8 +MINICOM_SOURCE = minicom-$(MINICOM_VERSION).tar.bz2 +MINICOM_SITE = \ + https://salsa.debian.org/minicom-team/minicom/-/archive/$(MINICOM_VERSION) +MINICOM_LICENSE = GPL-2.0+ +MINICOM_LICENSE_FILES = COPYING +MINICOM_CPE_ID_VENDOR = minicom_project + +MINICOM_DEPENDENCIES = ncurses $(if $(BR2_ENABLE_LOCALE),,libiconv) \ + $(TARGET_NLS_DEPENDENCIES) host-pkgconf + +MINICOM_CONF_OPTS = \ + --enable-dfl-port=/dev/ttyS1 \ + --enable-lock-dir=/var/lock + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/minidlna/0001-upnphttp-Protect-against-DNS-rebinding-attacks.patch b/buildroot-2022.02.1/package/minidlna/0001-upnphttp-Protect-against-DNS-rebinding-attacks.patch new file mode 100644 index 00000000..6d601f53 --- /dev/null +++ b/buildroot-2022.02.1/package/minidlna/0001-upnphttp-Protect-against-DNS-rebinding-attacks.patch @@ -0,0 +1,66 @@ +From c21208508dbc131712281ec5340687e5ae89e940 Mon Sep 17 00:00:00 2001 +From: Justin Maggard +Date: Wed, 9 Feb 2022 18:32:50 -0800 +Subject: [PATCH] upnphttp: Protect against DNS rebinding attacks + +Validate HTTP requests to protect against DNS rebinding. + +[Retrieved from: +https://sourceforge.net/p/minidlna/git/ci/c21208508dbc131712281ec5340687e5ae89e940/] +Signed-off-by: Fabrice Fontaine +--- + upnphttp.c | 17 +++++++++++++++++ + upnphttp.h | 2 ++ + 2 files changed, 19 insertions(+) + +diff --git a/upnphttp.c b/upnphttp.c +index c8b5e99..62db89a 100644 +--- a/upnphttp.c ++++ b/upnphttp.c +@@ -273,6 +273,11 @@ ParseHttpHeaders(struct upnphttp * h) + p = colon + 1; + while(isspace(*p)) + p++; ++ n = 0; ++ while(p[n] >= ' ') ++ n++; ++ h->req_Host = p; ++ h->req_HostLen = n; + for(n = 0; n < n_lan_addr; n++) + { + for(i = 0; lan_addr[n].str[i]; i++) +@@ -909,6 +914,18 @@ ProcessHttpQuery_upnphttp(struct upnphttp * h) + } + + DPRINTF(E_DEBUG, L_HTTP, "HTTP REQUEST: %.*s\n", h->req_buflen, h->req_buf); ++ if(h->req_Host && h->req_HostLen > 0) { ++ const char *ptr = h->req_Host; ++ DPRINTF(E_MAXDEBUG, L_HTTP, "Host: %.*s\n", h->req_HostLen, h->req_Host); ++ for(i = 0; i < h->req_HostLen; i++) { ++ if(*ptr != ':' && *ptr != '.' && (*ptr > '9' || *ptr < '0')) { ++ DPRINTF(E_ERROR, L_HTTP, "DNS rebinding attack suspected (Host: %.*s)", h->req_HostLen, h->req_Host); ++ Send404(h);/* 403 */ ++ return; ++ } ++ ptr++; ++ } ++ } + if(strcmp("POST", HttpCommand) == 0) + { + h->req_command = EPost; +diff --git a/upnphttp.h b/upnphttp.h +index e28a943..57eb2bb 100644 +--- a/upnphttp.h ++++ b/upnphttp.h +@@ -89,6 +89,8 @@ struct upnphttp { + struct client_cache_s * req_client; + const char * req_soapAction; + int req_soapActionLen; ++ const char * req_Host; /* Host: header */ ++ int req_HostLen; + const char * req_Callback; /* For SUBSCRIBE */ + int req_CallbackLen; + const char * req_NT; +-- +2.34.1 + diff --git a/buildroot-2021.05/package/minidlna/Config.in b/buildroot-2022.02.1/package/minidlna/Config.in similarity index 100% rename from buildroot-2021.05/package/minidlna/Config.in rename to buildroot-2022.02.1/package/minidlna/Config.in diff --git a/buildroot-2021.05/package/minidlna/S60minidlnad b/buildroot-2022.02.1/package/minidlna/S60minidlnad similarity index 100% rename from buildroot-2021.05/package/minidlna/S60minidlnad rename to buildroot-2022.02.1/package/minidlna/S60minidlnad diff --git a/buildroot-2021.05/package/minidlna/minidlna.hash b/buildroot-2022.02.1/package/minidlna/minidlna.hash similarity index 100% rename from buildroot-2021.05/package/minidlna/minidlna.hash rename to buildroot-2022.02.1/package/minidlna/minidlna.hash diff --git a/buildroot-2022.02.1/package/minidlna/minidlna.mk b/buildroot-2022.02.1/package/minidlna/minidlna.mk new file mode 100644 index 00000000..01ee8d00 --- /dev/null +++ b/buildroot-2022.02.1/package/minidlna/minidlna.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# minidlna +# +################################################################################ + +MINIDLNA_VERSION = 1.3.0 +MINIDLNA_SITE = https://downloads.sourceforge.net/project/minidlna/minidlna/$(MINIDLNA_VERSION) +MINIDLNA_LICENSE = GPL-2.0, BSD-3-Clause +MINIDLNA_LICENSE_FILES = COPYING LICENCE.miniupnpd +MINIDLNA_CPE_ID_VENDOR = readymedia_project +MINIDLNA_CPE_ID_PRODUCT = readymedia +MINIDLNA_SELINUX_MODULES = minidlna + +# 0001-upnphttp-Protect-against-DNS-rebinding-attacks.patch +MINIDLNA_IGNORE_CVES += CVE-2022-26505 + +MINIDLNA_DEPENDENCIES = \ + $(TARGET_NLS_DEPENDENCIES) \ + ffmpeg flac libvorbis libogg libid3tag libexif jpeg sqlite \ + host-xutil_makedepend + +MINIDLNA_CONF_OPTS = \ + --disable-static + +define MINIDLNA_INSTALL_CONF + $(INSTALL) -D -m 644 $(@D)/minidlna.conf $(TARGET_DIR)/etc/minidlna.conf +endef + +MINIDLNA_POST_INSTALL_TARGET_HOOKS += MINIDLNA_INSTALL_CONF + +define MINIDLNA_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/minidlna/S60minidlnad \ + $(TARGET_DIR)/etc/init.d/S60minidlnad +endef + +define MINIDLNA_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/minidlna/minidlnad.service \ + $(TARGET_DIR)/usr/lib/systemd/system/minidlnad.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/minidlna/minidlnad.service b/buildroot-2022.02.1/package/minidlna/minidlnad.service similarity index 100% rename from buildroot-2021.05/package/minidlna/minidlnad.service rename to buildroot-2022.02.1/package/minidlna/minidlnad.service diff --git a/buildroot-2021.05/package/minimodem/Config.in b/buildroot-2022.02.1/package/minimodem/Config.in similarity index 100% rename from buildroot-2021.05/package/minimodem/Config.in rename to buildroot-2022.02.1/package/minimodem/Config.in diff --git a/buildroot-2021.05/package/minimodem/minimodem.hash b/buildroot-2022.02.1/package/minimodem/minimodem.hash similarity index 100% rename from buildroot-2021.05/package/minimodem/minimodem.hash rename to buildroot-2022.02.1/package/minimodem/minimodem.hash diff --git a/buildroot-2021.05/package/minimodem/minimodem.mk b/buildroot-2022.02.1/package/minimodem/minimodem.mk similarity index 100% rename from buildroot-2021.05/package/minimodem/minimodem.mk rename to buildroot-2022.02.1/package/minimodem/minimodem.mk diff --git a/buildroot-2021.05/package/minissdpd/Config.in b/buildroot-2022.02.1/package/minissdpd/Config.in similarity index 100% rename from buildroot-2021.05/package/minissdpd/Config.in rename to buildroot-2022.02.1/package/minissdpd/Config.in diff --git a/buildroot-2021.05/package/minissdpd/S50minissdpd b/buildroot-2022.02.1/package/minissdpd/S50minissdpd similarity index 100% rename from buildroot-2021.05/package/minissdpd/S50minissdpd rename to buildroot-2022.02.1/package/minissdpd/S50minissdpd diff --git a/buildroot-2022.02.1/package/minissdpd/minissdpd.hash b/buildroot-2022.02.1/package/minissdpd/minissdpd.hash new file mode 100644 index 00000000..e14fe7ab --- /dev/null +++ b/buildroot-2022.02.1/package/minissdpd/minissdpd.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 a073be9c6d9194feaeccf31cd986c48afd2212426b6594e75166cedff1c461aa minissdpd-1.5.20211105.tar.gz +sha256 45950e1d443106906f83a4ec7b9c2e1a9d6457130737a493cff0e5b7a39da570 LICENSE diff --git a/buildroot-2022.02.1/package/minissdpd/minissdpd.mk b/buildroot-2022.02.1/package/minissdpd/minissdpd.mk new file mode 100644 index 00000000..2b9fac4d --- /dev/null +++ b/buildroot-2022.02.1/package/minissdpd/minissdpd.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# minissdpd +# +################################################################################ + +MINISSDPD_VERSION = 1.5.20211105 +MINISSDPD_SITE = http://miniupnp.free.fr/files +MINISSDPD_LICENSE = BSD-3-Clause +MINISSDPD_LICENSE_FILES = LICENSE +MINISSDPD_CPE_ID_VENDOR = miniupnp_project +MINISSDPD_SELINUX_MODULES = minissdpd +MINISSDPD_DEPENDENCIES = libnfnetlink + +define MINISSDPD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ + -C $(@D) +endef + +define MINISSDPD_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + DESTDIR=$(TARGET_DIR) install +endef + +# Use dedicated init scripts for systemV and systemd instead of using +# minissdpd.init.d.script as it is not compatible with buildroot init system +define MINISSDPD_INSTALL_INIT_SYSV + $(RM) $(TARGET_DIR)/etc/init.d/minissdpd + $(INSTALL) -D -m 0755 package/minissdpd/S50minissdpd \ + $(TARGET_DIR)/etc/init.d/S50minissdpd +endef + +define MINISSDPD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/minissdpd/minissdpd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/minissdpd.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/minissdpd/minissdpd.service b/buildroot-2022.02.1/package/minissdpd/minissdpd.service similarity index 100% rename from buildroot-2021.05/package/minissdpd/minissdpd.service rename to buildroot-2022.02.1/package/minissdpd/minissdpd.service diff --git a/buildroot-2021.05/package/minizip/Config.in b/buildroot-2022.02.1/package/minizip/Config.in similarity index 100% rename from buildroot-2021.05/package/minizip/Config.in rename to buildroot-2022.02.1/package/minizip/Config.in diff --git a/buildroot-2022.02.1/package/minizip/minizip.hash b/buildroot-2022.02.1/package/minizip/minizip.hash new file mode 100644 index 00000000..e7363767 --- /dev/null +++ b/buildroot-2022.02.1/package/minizip/minizip.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1a248c378fdf4ef6c517024bb65577603d5146cffaebe81900bec9c0a5035d4d minizip-3.0.5.tar.gz +sha256 675181c03fc1302a1c8554c00f7be9bb420c5dbc9dcc2013433cec144413de03 LICENSE diff --git a/buildroot-2022.02.1/package/minizip/minizip.mk b/buildroot-2022.02.1/package/minizip/minizip.mk new file mode 100644 index 00000000..b9259f0c --- /dev/null +++ b/buildroot-2022.02.1/package/minizip/minizip.mk @@ -0,0 +1,74 @@ +################################################################################ +# +# minizip +# +################################################################################ + +MINIZIP_VERSION = 3.0.5 +MINIZIP_SITE = $(call github,nmoinvaz,minizip,$(MINIZIP_VERSION)) +MINIZIP_DEPENDENCIES = host-pkgconf +MINIZIP_INSTALL_STAGING = YES +MINIZIP_CONF_OPTS = \ + $(if $(BR2_PACKAGE_MINIZIP_DEMOS),-DMZ_BUILD_TEST=ON) \ + -DMZ_COMPAT=OFF \ + -DMZ_FETCH_LIBS=OFF +MINIZIP_LICENSE = Zlib +MINIZIP_LICENSE_FILES = LICENSE +MINIZIP_CPE_ID_VENDOR = minizip_project + +ifeq ($(BR2_PACKAGE_BZIP2),y) +MINIZIP_DEPENDENCIES += bzip2 +MINIZIP_CONF_OPTS += -DMZ_BZIP2=ON +else +MINIZIP_CONF_OPTS += -DMZ_BZIP2=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +MINIZIP_DEPENDENCIES += libiconv +MINIZIP_CONF_OPTS += -DMZ_ICONV=ON +else +MINIZIP_CONF_OPTS += -DMZ_ICONV=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBBSD),y) +MINIZIP_DEPENDENCIES += libbsd +MINIZIP_CONF_OPTS += -DMZ_LIBBSD=ON +else +MINIZIP_CONF_OPTS += -DMZ_LIBBSD=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +MINIZIP_DEPENDENCIES += openssl +MINIZIP_CONF_OPTS += \ + -DMZ_OPENSSL=ON \ + -DMZ_PKCRYPT=ON \ + -DMZ_WZAES=ON +else +MINIZIP_CONF_OPTS += \ + -DMZ_OPENSSL=OFF \ + -DMZ_PKCRYPT=OFF \ + -DMZ_WZAES=OFF +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +MINIZIP_DEPENDENCIES += xz +MINIZIP_CONF_OPTS += -DMZ_LZMA=ON +else +MINIZIP_CONF_OPTS += -DMZ_LZMA=OFF +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +MINIZIP_DEPENDENCIES += zlib +MINIZIP_CONF_OPTS += -DMZ_ZLIB=ON +else +MINIZIP_CONF_OPTS += -DMZ_ZLIB=OFF +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +MINIZIP_DEPENDENCIES += zstd +MINIZIP_CONF_OPTS += -DMZ_ZSTD=ON +else +MINIZIP_CONF_OPTS += -DMZ_ZSTD=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/miraclecast/Config.in b/buildroot-2022.02.1/package/miraclecast/Config.in similarity index 100% rename from buildroot-2021.05/package/miraclecast/Config.in rename to buildroot-2022.02.1/package/miraclecast/Config.in diff --git a/buildroot-2021.05/package/miraclecast/miraclecast.hash b/buildroot-2022.02.1/package/miraclecast/miraclecast.hash similarity index 100% rename from buildroot-2021.05/package/miraclecast/miraclecast.hash rename to buildroot-2022.02.1/package/miraclecast/miraclecast.hash diff --git a/buildroot-2021.05/package/miraclecast/miraclecast.mk b/buildroot-2022.02.1/package/miraclecast/miraclecast.mk similarity index 100% rename from buildroot-2021.05/package/miraclecast/miraclecast.mk rename to buildroot-2022.02.1/package/miraclecast/miraclecast.mk diff --git a/buildroot-2021.05/package/mjpegtools/Config.in b/buildroot-2022.02.1/package/mjpegtools/Config.in similarity index 100% rename from buildroot-2021.05/package/mjpegtools/Config.in rename to buildroot-2022.02.1/package/mjpegtools/Config.in diff --git a/buildroot-2022.02.1/package/mjpegtools/mjpegtools.hash b/buildroot-2022.02.1/package/mjpegtools/mjpegtools.hash new file mode 100644 index 00000000..8d74907b --- /dev/null +++ b/buildroot-2022.02.1/package/mjpegtools/mjpegtools.hash @@ -0,0 +1,6 @@ +# From http://sourceforge.net/projects/mjpeg/files/mjpegtools/2.2.1/ +md5 168e0131c0b8a2e31df7a73eb602fc32 mjpegtools-2.2.1.tar.gz +sha1 26e980912cd06f31033964acbc4b8d1932788bfc mjpegtools-2.2.1.tar.gz +# Locally computed +sha256 b180536d7d9960b05e0023a197b00dcb100929a49aab71d19d55f4a1b210f49a mjpegtools-2.2.1.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2022.02.1/package/mjpegtools/mjpegtools.mk b/buildroot-2022.02.1/package/mjpegtools/mjpegtools.mk new file mode 100644 index 00000000..8d6c4755 --- /dev/null +++ b/buildroot-2022.02.1/package/mjpegtools/mjpegtools.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# mjpegtools +# +################################################################################ + +MJPEGTOOLS_VERSION = 2.2.1 +MJPEGTOOLS_SITE = http://sourceforge.net/projects/mjpeg/files/mjpegtools/$(MJPEGTOOLS_VERSION) +MJPEGTOOLS_DEPENDENCIES = host-pkgconf jpeg +MJPEGTOOLS_INSTALL_STAGING = YES +MJPEGTOOLS_LICENSE = GPL-2.0+ +MJPEGTOOLS_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT),y) +MJPEGTOOLS_CONF_OPTS += --enable-simd-accel +else +MJPEGTOOLS_CONF_OPTS += --disable-simd-accel +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +MJPEGTOOLS_CONF_OPTS += --with-libpng +MJPEGTOOLS_DEPENDENCIES += libpng +else +MJPEGTOOLS_CONF_OPTS += --without-libpng +endif + +# expects X11 backend in sdl +ifeq ($(BR2_PACKAGE_SDL_X11),y) +MJPEGTOOLS_CONF_OPTS += --with-libsdl +MJPEGTOOLS_DEPENDENCIES += sdl +else +MJPEGTOOLS_CONF_OPTS += --without-libsdl +endif + +ifeq ($(BR2_PACKAGE_SDL_GFX),y) +MJPEGTOOLS_CONF_OPTS += --with-sdlgfx +MJPEGTOOLS_DEPENDENCIES += sdl_gfx +else +MJPEGTOOLS_CONF_OPTS += --without-sdlgfx +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +MJPEGTOOLS_CONF_OPTS += --with-x +MJPEGTOOLS_DEPENDENCIES += xlib_libX11 +else +MJPEGTOOLS_CONF_OPTS += --without-x +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86DGA),y) +MJPEGTOOLS_CONF_OPTS += --with-dga +MJPEGTOOLS_DEPENDENCIES += xlib_libXxf86dga +else +MJPEGTOOLS_CONF_OPTS += --without-dga +endif + +ifeq ($(BR2_PACKAGE_LIBGTK2),y) +MJPEGTOOLS_CONF_OPTS += --with-gtk +MJPEGTOOLS_DEPENDENCIES += libgtk2 +else +MJPEGTOOLS_CONF_OPTS += --without-gtk +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mjpg-streamer/Config.in b/buildroot-2022.02.1/package/mjpg-streamer/Config.in similarity index 100% rename from buildroot-2021.05/package/mjpg-streamer/Config.in rename to buildroot-2022.02.1/package/mjpg-streamer/Config.in diff --git a/buildroot-2021.05/package/mjpg-streamer/mjpg-streamer.hash b/buildroot-2022.02.1/package/mjpg-streamer/mjpg-streamer.hash similarity index 100% rename from buildroot-2021.05/package/mjpg-streamer/mjpg-streamer.hash rename to buildroot-2022.02.1/package/mjpg-streamer/mjpg-streamer.hash diff --git a/buildroot-2021.05/package/mjpg-streamer/mjpg-streamer.mk b/buildroot-2022.02.1/package/mjpg-streamer/mjpg-streamer.mk similarity index 100% rename from buildroot-2021.05/package/mjpg-streamer/mjpg-streamer.mk rename to buildroot-2022.02.1/package/mjpg-streamer/mjpg-streamer.mk diff --git a/buildroot-2021.05/package/mkpasswd/Config.in.host b/buildroot-2022.02.1/package/mkpasswd/Config.in.host similarity index 100% rename from buildroot-2021.05/package/mkpasswd/Config.in.host rename to buildroot-2022.02.1/package/mkpasswd/Config.in.host diff --git a/buildroot-2021.05/package/mkpasswd/config.h b/buildroot-2022.02.1/package/mkpasswd/config.h similarity index 100% rename from buildroot-2021.05/package/mkpasswd/config.h rename to buildroot-2022.02.1/package/mkpasswd/config.h diff --git a/buildroot-2022.02.1/package/mkpasswd/mkpasswd.c b/buildroot-2022.02.1/package/mkpasswd/mkpasswd.c new file mode 100644 index 00000000..ae859406 --- /dev/null +++ b/buildroot-2022.02.1/package/mkpasswd/mkpasswd.c @@ -0,0 +1,466 @@ +/* + * Copyright (C) 2001-2008 Marco d'Itri + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +/* for crypt, snprintf and strcasecmp */ +#define _XOPEN_SOURCE +/* + * _BSD_SOURCE is deprecated as of GLIBC 2.20; _DEFAULT_SOURCE should be used + * instead. (https://lwn.net/Articles/611162/) + */ +#define _DEFAULT_SOURCE +#define _BSD_SOURCE + +/* System library */ +#include +#include +#include +#include "config.h" +#ifdef HAVE_GETOPT_LONG +#include +#endif +#include +#include +#include +#include +#ifdef HAVE_XCRYPT +#include +#include +#endif +#ifdef HAVE_LINUX_CRYPT_GENSALT +#define _OW_SOURCE +#include +#endif +#ifdef HAVE_GETTIMEOFDAY +#include +#endif + +/* glibc without crypt() */ +#ifndef _XOPEN_CRYPT +#include +#endif + +/* Application-specific */ +#include "utils.h" + +/* Global variables */ +#ifdef HAVE_GETOPT_LONG +static const struct option longopts[] = { + {"method", optional_argument, NULL, 'm'}, + /* for backward compatibility with versions < 4.7.25 (< 20080321): */ + {"hash", optional_argument, NULL, 'H'}, + {"help", no_argument, NULL, 'h'}, + {"password-fd", required_argument, NULL, 'P'}, + {"stdin", no_argument, NULL, 's'}, + {"salt", required_argument, NULL, 'S'}, + {"rounds", required_argument, NULL, 'R'}, + {"version", no_argument, NULL, 'V'}, + {NULL, 0, NULL, 0 } +}; +#else +extern char *optarg; +extern int optind; +#endif + +static const char valid_salts[] = "abcdefghijklmnopqrstuvwxyz" +"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789./"; + +struct crypt_method { + const char *method; /* short name used by the command line option */ + const char *prefix; /* salt prefix */ + const unsigned int minlen; /* minimum salt length */ + const unsigned int maxlen; /* maximum salt length */ + const unsigned int rounds; /* supports a variable number of rounds */ + const char *desc; /* long description for the methods list */ +}; + +static const struct crypt_method methods[] = { + /* method prefix minlen, maxlen rounds description */ + { "des", "", 2, 2, 0, + N_("standard 56 bit DES-based crypt(3)") }, + { "md5", "$1$", 8, 8, 0, "MD5" }, +#if defined OpenBSD || defined FreeBSD || (defined __SVR4 && defined __sun) + { "bf", "$2a$", 22, 22, 1, "Blowfish" }, +#endif +#if defined HAVE_LINUX_CRYPT_GENSALT + { "bf", "$2a$", 22, 22, 1, "Blowfish, system-specific on 8-bit chars" }, + /* algorithm 2y fixes CVE-2011-2483 */ + { "bfy", "$2y$", 22, 22, 1, "Blowfish, correct handling of 8-bit chars" }, +#endif +#if defined FreeBSD + { "nt", "$3$", 0, 0, 0, "NT-Hash" }, +#endif +#if defined HAVE_SHA_CRYPT + /* http://people.redhat.com/drepper/SHA-crypt.txt */ + { "sha-256", "$5$", 8, 16, 1, "SHA-256" }, + { "sha-512", "$6$", 8, 16, 1, "SHA-512" }, +#endif + /* http://www.crypticide.com/dropsafe/article/1389 */ + /* + * Actually the maximum salt length is arbitrary, but Solaris by default + * always uses 8 characters: + * http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/ \ + * usr/src/lib/crypt_modules/sunmd5/sunmd5.c#crypt_gensalt_impl + */ +#if defined __SVR4 && defined __sun + { "sunmd5", "$md5$", 8, 8, 1, "SunMD5" }, +#endif + { NULL, NULL, 0, 0, 0, NULL } +}; + +void generate_salt(char *const buf, const unsigned int len); +void *get_random_bytes(const int len); +void display_help(int error); +void display_version(void); +void display_methods(void); + +int main(int argc, char *argv[]) +{ + int ch, i; + int password_fd = -1; + unsigned int salt_minlen = 0; + unsigned int salt_maxlen = 0; + unsigned int rounds_support = 0; + const char *salt_prefix = NULL; + const char *salt_arg = NULL; + unsigned int rounds = 0; + char *salt = NULL; + char rounds_str[30]; + char *password = NULL; + +#ifdef ENABLE_NLS + setlocale(LC_ALL, ""); + bindtextdomain(NLS_CAT_NAME, LOCALEDIR); + textdomain(NLS_CAT_NAME); +#endif + + /* prepend options from environment */ + argv = merge_args(getenv("MKPASSWD_OPTIONS"), argv, &argc); + + while ((ch = GETOPT_LONGISH(argc, argv, "hH:m:5P:R:sS:V", longopts, 0)) + > 0) { + switch (ch) { + case '5': + optarg = (char *) "md5"; + /* fall through */ + case 'm': + case 'H': + if (!optarg || strcaseeq("help", optarg)) { + display_methods(); + exit(0); + } + for (i = 0; methods[i].method != NULL; i++) + if (strcaseeq(methods[i].method, optarg)) { + salt_prefix = methods[i].prefix; + salt_minlen = methods[i].minlen; + salt_maxlen = methods[i].maxlen; + rounds_support = methods[i].rounds; + break; + } + if (!salt_prefix) { + fprintf(stderr, _("Invalid method '%s'.\n"), optarg); + exit(1); + } + break; + case 'P': + { + char *p; + password_fd = strtol(optarg, &p, 10); + if (p == NULL || *p != '\0' || password_fd < 0) { + fprintf(stderr, _("Invalid number '%s'.\n"), optarg); + exit(1); + } + } + break; + case 'R': + { + char *p; + rounds = strtol(optarg, &p, 10); + if (p == NULL || *p != '\0' || rounds < 0) { + fprintf(stderr, _("Invalid number '%s'.\n"), optarg); + exit(1); + } + } + break; + case 's': + password_fd = 0; + break; + case 'S': + salt_arg = optarg; + break; + case 'V': + display_version(); + exit(0); + case 'h': + display_help(EXIT_SUCCESS); + default: + fprintf(stderr, _("Try '%s --help' for more information.\n"), + argv[0]); + exit(1); + } + } + argc -= optind; + argv += optind; + + if (argc == 2 && !salt_arg) { + password = argv[0]; + salt_arg = argv[1]; + } else if (argc == 1) { + password = argv[0]; + } else if (argc == 0) { + } else { + display_help(EXIT_FAILURE); + } + + /* default: DES password */ + if (!salt_prefix) { + salt_minlen = methods[0].minlen; + salt_maxlen = methods[0].maxlen; + salt_prefix = methods[0].prefix; + } + + if (streq(salt_prefix, "$2a$") || streq(salt_prefix, "$2y$")) { + /* OpenBSD Blowfish and derivatives */ + if (rounds <= 5) + rounds = 5; + /* actually for 2a/2y it is the logarithm of the number of rounds */ + snprintf(rounds_str, sizeof(rounds_str), "%02u$", rounds); + } else if (rounds_support && rounds) + snprintf(rounds_str, sizeof(rounds_str), "rounds=%u$", rounds); + else + rounds_str[0] = '\0'; + + if (salt_arg) { + unsigned int c = strlen(salt_arg); + if (c < salt_minlen || c > salt_maxlen) { + if (salt_minlen == salt_maxlen) + fprintf(stderr, ngettext( + "Wrong salt length: %d byte when %d expected.\n", + "Wrong salt length: %d bytes when %d expected.\n", c), + c, salt_maxlen); + else + fprintf(stderr, ngettext( + "Wrong salt length: %d byte when %d <= n <= %d" + " expected.\n", + "Wrong salt length: %d bytes when %d <= n <= %d" + " expected.\n", c), + c, salt_minlen, salt_maxlen); + exit(1); + } + while (c-- > 0) { + if (strchr(valid_salts, salt_arg[c]) == NULL) { + fprintf(stderr, _("Illegal salt character '%c'.\n"), + salt_arg[c]); + exit(1); + } + } + + salt = NOFAIL(malloc(strlen(salt_prefix) + strlen(rounds_str) + + strlen(salt_arg) + 1)); + *salt = '\0'; + strcat(salt, salt_prefix); + strcat(salt, rounds_str); + strcat(salt, salt_arg); + } else { +#ifdef HAVE_SOLARIS_CRYPT_GENSALT +#error "This code path is untested on Solaris. Please send a patch." + salt = crypt_gensalt(salt_prefix, NULL); + if (!salt) + perror(stderr, "crypt_gensalt"); +#elif defined HAVE_LINUX_CRYPT_GENSALT + void *entropy = get_random_bytes(64); + + salt = crypt_gensalt(salt_prefix, rounds, entropy, 64); + if (!salt) { + fprintf(stderr, "crypt_gensalt failed.\n"); + exit(2); + } + free(entropy); +#else + unsigned int salt_len = salt_maxlen; + + if (salt_minlen != salt_maxlen) { /* salt length can vary */ + srand(time(NULL) + getpid()); + salt_len = rand() % (salt_maxlen - salt_minlen + 1) + salt_minlen; + } + + salt = NOFAIL(malloc(strlen(salt_prefix) + strlen(rounds_str) + + salt_len + 1)); + *salt = '\0'; + strcat(salt, salt_prefix); + strcat(salt, rounds_str); + generate_salt(salt + strlen(salt), salt_len); +#endif + } + + if (password) { + } else if (password_fd != -1) { + FILE *fp; + char *p; + + if (isatty(password_fd)) + fprintf(stderr, _("Password: ")); + password = NOFAIL(malloc(128)); + fp = fdopen(password_fd, "r"); + if (!fp) { + perror("fdopen"); + exit(2); + } + if (!fgets(password, 128, fp)) { + perror("fgets"); + exit(2); + } + + p = strpbrk(password, "\n\r"); + if (p) + *p = '\0'; + } else { + password = getpass(_("Password: ")); + if (!password) { + perror("getpass"); + exit(2); + } + } + + { + const char *result; + result = crypt(password, salt); + /* xcrypt returns "*0" on errors */ + if (!result || result[0] == '*') { + fprintf(stderr, "crypt failed.\n"); + exit(2); + } + /* yes, using strlen(salt_prefix) on salt. It's not + * documented whether crypt_gensalt may change the prefix */ + if (!strneq(result, salt, strlen(salt_prefix))) { + fprintf(stderr, _("Method not supported by crypt(3).\n")); + exit(2); + } + printf("%s\n", result); + } + + exit(0); +} + +#ifdef RANDOM_DEVICE +void* get_random_bytes(const int count) +{ + char *buf; + int fd; + + buf = NOFAIL(malloc(count)); + fd = open(RANDOM_DEVICE, O_RDONLY); + if (fd < 0) { + perror("open(" RANDOM_DEVICE ")"); + exit(2); + } + if (read(fd, buf, count) != count) { + if (count < 0) + perror("read(" RANDOM_DEVICE ")"); + else + fprintf(stderr, "Short read of %s.\n", RANDOM_DEVICE); + exit(2); + } + close(fd); + + return buf; +} +#endif + +#ifdef RANDOM_DEVICE + +void generate_salt(char *const buf, const unsigned int len) +{ + unsigned int i; + + unsigned char *entropy = get_random_bytes(len * sizeof(unsigned char)); + for (i = 0; i < len; i++) + buf[i] = valid_salts[entropy[i] % (sizeof valid_salts - 1)]; + buf[i] = '\0'; +} + +#else /* RANDOM_DEVICE */ + +void generate_salt(char *const buf, const unsigned int len) +{ + unsigned int i; + +# ifdef HAVE_GETTIMEOFDAY + struct timeval tv; + + gettimeofday(&tv, NULL); + srand(tv.tv_sec ^ tv.tv_usec); + +# else /* HAVE_GETTIMEOFDAY */ +# warning "This system lacks a strong enough random numbers generator!" + + /* + * The possible values of time over one year are 31536000, which is + * two orders of magnitude less than the allowed entropy range (2^32). + */ + srand(time(NULL) + getpid()); + +# endif /* HAVE_GETTIMEOFDAY */ + + for (i = 0; i < len; i++) + buf[i] = valid_salts[rand() % (sizeof valid_salts - 1)]; + buf[i] = '\0'; +} + +#endif /* RANDOM_DEVICE */ + +void display_help(int error) +{ + fprintf((EXIT_SUCCESS == error) ? stdout : stderr, + _("Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]\n" + "Crypts the PASSWORD using crypt(3).\n\n")); + fprintf(stderr, _( +" -m, --method=TYPE select method TYPE\n" +" -5 like --method=md5\n" +" -S, --salt=SALT use the specified SALT\n" +" -R, --rounds=NUMBER use the specified NUMBER of rounds\n" +" -P, --password-fd=NUM read the password from file descriptor NUM\n" +" instead of /dev/tty\n" +" -s, --stdin like --password-fd=0\n" +" -h, --help display this help and exit\n" +" -V, --version output version information and exit\n" +"\n" +"If PASSWORD is missing then it is asked interactively.\n" +"If no SALT is specified, a random one is generated.\n" +"If TYPE is 'help', available methods are printed.\n" +"\n" +"Report bugs to %s.\n"), ""); + exit(error); +} + +void display_version(void) +{ + printf("mkpasswd %s\n\n", VERSION); + puts("Copyright (C) 2001-2008 Marco d'Itri\n" +"This is free software; see the source for copying conditions. There is NO\n" +"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."); +} + +void display_methods(void) +{ + unsigned int i; + + printf(_("Available methods:\n")); + for (i = 0; methods[i].method != NULL; i++) + printf("%s\t%s\n", methods[i].method, methods[i].desc); +} + diff --git a/buildroot-2021.05/package/mkpasswd/mkpasswd.mk b/buildroot-2022.02.1/package/mkpasswd/mkpasswd.mk similarity index 100% rename from buildroot-2021.05/package/mkpasswd/mkpasswd.mk rename to buildroot-2022.02.1/package/mkpasswd/mkpasswd.mk diff --git a/buildroot-2021.05/package/mkpasswd/utils.c b/buildroot-2022.02.1/package/mkpasswd/utils.c similarity index 100% rename from buildroot-2021.05/package/mkpasswd/utils.c rename to buildroot-2022.02.1/package/mkpasswd/utils.c diff --git a/buildroot-2021.05/package/mkpasswd/utils.h b/buildroot-2022.02.1/package/mkpasswd/utils.h similarity index 100% rename from buildroot-2021.05/package/mkpasswd/utils.h rename to buildroot-2022.02.1/package/mkpasswd/utils.h diff --git a/buildroot-2021.05/package/mkpimage/mkpimage.c b/buildroot-2022.02.1/package/mkpimage/mkpimage.c similarity index 100% rename from buildroot-2021.05/package/mkpimage/mkpimage.c rename to buildroot-2022.02.1/package/mkpimage/mkpimage.c diff --git a/buildroot-2021.05/package/mkpimage/mkpimage.mk b/buildroot-2022.02.1/package/mkpimage/mkpimage.mk similarity index 100% rename from buildroot-2021.05/package/mkpimage/mkpimage.mk rename to buildroot-2022.02.1/package/mkpimage/mkpimage.mk diff --git a/buildroot-2022.02.1/package/mksh/Config.in b/buildroot-2022.02.1/package/mksh/Config.in new file mode 100644 index 00000000..94f0d78a --- /dev/null +++ b/buildroot-2022.02.1/package/mksh/Config.in @@ -0,0 +1,25 @@ +config BR2_PACKAGE_MKSH + bool "mksh" + depends on BR2_USE_MMU # fork() + help + The MirBSD Korn Shell, + + mksh is a successor of pdksh but not affiliated with the + pdksh developers or contributors. mksh is not affiliated + with the AT&T Korn Shell, its past or present owners, + other than that both attempt to implement the Korn Shell + programming language. + + mksh targets users who desire a compact, fast, reliable, + secure shell not cut off modern extensions; a shell with + Unicode support; an actively developed, current, and + portable product; one with developers that listen to + their users' requests and implement them if they + actually make sense. + + mksh aims to replace pdksh in all but very rare use cases + (such as support for checking the Unix mbox) and in all + operating environments + (thus including patches from pdksh on e.g. Debian). + + http://www.mirbsd.org/mksh.htm diff --git a/buildroot-2021.05/package/mksh/mksh.hash b/buildroot-2022.02.1/package/mksh/mksh.hash similarity index 100% rename from buildroot-2021.05/package/mksh/mksh.hash rename to buildroot-2022.02.1/package/mksh/mksh.hash diff --git a/buildroot-2022.02.1/package/mksh/mksh.mk b/buildroot-2022.02.1/package/mksh/mksh.mk new file mode 100644 index 00000000..c4818e86 --- /dev/null +++ b/buildroot-2022.02.1/package/mksh/mksh.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# mksh +# +################################################################################ + +MKSH_VERSION = 59c +MKSH_SOURCE = mksh-R$(MKSH_VERSION).tgz +MKSH_SITE = http://www.mirbsd.org/MirOS/dist/mir/mksh +# For MirOS License see http://www.mirbsd.org/TaC-mksh.txt +MKSH_LICENSE = MirOS, ISC +MKSH_LICENSE_FILES = mksh.1 + +define MKSH_BUILD_CMDS + cd $(@D) && $(TARGET_MAKE_ENV) \ + TARGET_OS=Linux $(TARGET_CONFIGURE_OPTS) \ + sh ./Build.sh +endef + +define MKSH_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/mksh $(TARGET_DIR)/bin/mksh +endef + +# Add /bin/mksh to /etc/shells otherwise some login tools like dropbear +# can reject the user connection. See man shells. +define MKSH_ADD_MKSH_TO_SHELLS + grep -qsE '^/bin/mksh$$' $(TARGET_DIR)/etc/shells \ + || echo "/bin/mksh" >> $(TARGET_DIR)/etc/shells +endef +MKSH_TARGET_FINALIZE_HOOKS += MKSH_ADD_MKSH_TO_SHELLS + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mmc-utils/0001-mmc_cmds.c-fix-build-with-gcc-4.9.patch b/buildroot-2022.02.1/package/mmc-utils/0001-mmc_cmds.c-fix-build-with-gcc-4.9.patch similarity index 100% rename from buildroot-2021.05/package/mmc-utils/0001-mmc_cmds.c-fix-build-with-gcc-4.9.patch rename to buildroot-2022.02.1/package/mmc-utils/0001-mmc_cmds.c-fix-build-with-gcc-4.9.patch diff --git a/buildroot-2021.05/package/mmc-utils/Config.in b/buildroot-2022.02.1/package/mmc-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/mmc-utils/Config.in rename to buildroot-2022.02.1/package/mmc-utils/Config.in diff --git a/buildroot-2021.05/package/mmc-utils/mmc-utils.hash b/buildroot-2022.02.1/package/mmc-utils/mmc-utils.hash similarity index 100% rename from buildroot-2021.05/package/mmc-utils/mmc-utils.hash rename to buildroot-2022.02.1/package/mmc-utils/mmc-utils.hash diff --git a/buildroot-2022.02.1/package/mmc-utils/mmc-utils.mk b/buildroot-2022.02.1/package/mmc-utils/mmc-utils.mk new file mode 100644 index 00000000..c8473786 --- /dev/null +++ b/buildroot-2022.02.1/package/mmc-utils/mmc-utils.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# mmc-utils +# +################################################################################ + +MMC_UTILS_VERSION = d40ec535b9d4e4c974e8c2fbfb422cd0348cc5e8 +MMC_UTILS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git +MMC_UTILS_SITE_METHOD = git +MMC_UTILS_LICENSE = GPL-2.0 +MMC_UTILS_LICENSE_FILES = mmc.h + +# override AM_CFLAGS as the project Makefile uses it to pass +# -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2, and the latter conflicts +# with the _FORTIFY_SOURCE that we pass when hardening options are +# enabled. +define MMC_UTILS_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) AM_CFLAGS= +endef + +define MMC_UTILS_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D) prefix=/usr DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/moarvm/Config.in b/buildroot-2022.02.1/package/moarvm/Config.in new file mode 100644 index 00000000..11d8ac7e --- /dev/null +++ b/buildroot-2022.02.1/package/moarvm/Config.in @@ -0,0 +1,25 @@ +config BR2_PACKAGE_MOARVM + bool "moarvm" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv + depends on !BR2_STATIC_LIBS # libuv + depends on BR2_USE_MMU # libuv + depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # libatomic_ops + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv + select BR2_PACKAGE_LIBUV + select BR2_PACKAGE_LIBTOMMATH + select BR2_PACKAGE_LIBATOMIC_OPS + # dyncall does not work on riscv + select BR2_PACKAGE_LIBFFI if BR2_riscv + select BR2_PACKAGE_ZSTD + help + Short for "Metamodel On A Runtime", MoarVM is a virtual + machine built especially for Rakudo Perl 6 and the NQP + Compiler Toolchain. + + http://moarvm.com + +comment "moarvm needs a toolchain w/ NPTL, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS + depends on BR2_USE_MMU + depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 diff --git a/buildroot-2022.02.1/package/moarvm/moarvm.hash b/buildroot-2022.02.1/package/moarvm/moarvm.hash new file mode 100644 index 00000000..01e3ee4a --- /dev/null +++ b/buildroot-2022.02.1/package/moarvm/moarvm.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 7f3487a70e8b77be0e4e2f12b14c49f6a01d0378e0940c86958c9016c495ad75 MoarVM-2021.10.tar.gz +sha256 c53c6b96081b0a5b9b2fb4d0133d55c20e5e00e4c127ade62f03434ee7b3d2de Artistic2.txt diff --git a/buildroot-2022.02.1/package/moarvm/moarvm.mk b/buildroot-2022.02.1/package/moarvm/moarvm.mk new file mode 100644 index 00000000..99e26c73 --- /dev/null +++ b/buildroot-2022.02.1/package/moarvm/moarvm.mk @@ -0,0 +1,52 @@ +################################################################################ +# +# moarvm +# +################################################################################ + +MOARVM_VERSION = 2021.10 +MOARVM_SITE = http://moarvm.com/releases +MOARVM_SOURCE = MoarVM-$(MOARVM_VERSION).tar.gz +MOARVM_LICENSE = Artistic-2.0 +MOARVM_LICENSE_FILES = Artistic2.txt +MOARVM_INSTALL_STAGING = YES +MOARVM_DEPENDENCIES = host-pkgconf libuv libtommath libatomic_ops zstd + +MOARVM_CONF_OPTS = \ + --build=$(GNU_HOST_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --ar="$(TARGET_AR)" \ + --cc="$(TARGET_CC)" \ + --ld="$(TARGET_CC)" \ + --prefix="/usr" \ + --pkgconfig=$(PKG_CONFIG_HOST_BINARY) \ + --has-libuv \ + --has-libtommath \ + --has-libatomic + +ifeq ($(BR2_PACKAGE_LIBFFI),y) +MOARVM_CONF_OPTS += --has-libffi +MOARVM_DEPENDENCIES += libffi +endif + +ifeq ($(BR2_ENDIAN),"BIG") +MOARVM_CONF_OPTS += --big-endian +endif + +define MOARVM_CONFIGURE_CMDS + (cd $(@D); $(TARGET_MAKE_ENV) perl Configure.pl $(MOARVM_CONF_OPTS)) +endef + +define MOARVM_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define MOARVM_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install +endef + +define MOARVM_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mobile-broadband-provider-info/Config.in b/buildroot-2022.02.1/package/mobile-broadband-provider-info/Config.in similarity index 100% rename from buildroot-2021.05/package/mobile-broadband-provider-info/Config.in rename to buildroot-2022.02.1/package/mobile-broadband-provider-info/Config.in diff --git a/buildroot-2021.05/package/mobile-broadband-provider-info/mobile-broadband-provider-info.hash b/buildroot-2022.02.1/package/mobile-broadband-provider-info/mobile-broadband-provider-info.hash similarity index 100% rename from buildroot-2021.05/package/mobile-broadband-provider-info/mobile-broadband-provider-info.hash rename to buildroot-2022.02.1/package/mobile-broadband-provider-info/mobile-broadband-provider-info.hash diff --git a/buildroot-2021.05/package/mobile-broadband-provider-info/mobile-broadband-provider-info.mk b/buildroot-2022.02.1/package/mobile-broadband-provider-info/mobile-broadband-provider-info.mk similarity index 100% rename from buildroot-2021.05/package/mobile-broadband-provider-info/mobile-broadband-provider-info.mk rename to buildroot-2022.02.1/package/mobile-broadband-provider-info/mobile-broadband-provider-info.mk diff --git a/buildroot-2022.02.1/package/moby-buildkit/Config.in b/buildroot-2022.02.1/package/moby-buildkit/Config.in new file mode 100644 index 00000000..93c852bc --- /dev/null +++ b/buildroot-2022.02.1/package/moby-buildkit/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_MOBY_BUILDKIT + bool "moby-buildkit" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_USE_MMU + select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency + help + BuildKit is a toolkit for converting source code to build + artifacts in an efficient, expressive and repeatable manner. + + https://github.com/moby/buildkit + +comment "moby-buildkit needs a glibc or musl toolchain w/ threads" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/moby-buildkit/moby-buildkit.hash b/buildroot-2022.02.1/package/moby-buildkit/moby-buildkit.hash new file mode 100644 index 00000000..3015e479 --- /dev/null +++ b/buildroot-2022.02.1/package/moby-buildkit/moby-buildkit.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 0cc31aa4b6dcdead63b07d75e0b89495ecffcc183f4f62695d8bb507433fc8ff moby-buildkit-0.8.1.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE diff --git a/buildroot-2022.02.1/package/moby-buildkit/moby-buildkit.mk b/buildroot-2022.02.1/package/moby-buildkit/moby-buildkit.mk new file mode 100644 index 00000000..3f0df351 --- /dev/null +++ b/buildroot-2022.02.1/package/moby-buildkit/moby-buildkit.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# moby-buildkit +# +################################################################################ + +MOBY_BUILDKIT_VERSION = 0.8.1 +MOBY_BUILDKIT_SITE = $(call github,moby,buildkit,v$(MOBY_BUILDKIT_VERSION)) +MOBY_BUILDKIT_LICENSE = Apache-2.0 +MOBY_BUILDKIT_LICENSE_FILES = LICENSE + +MOBY_BUILDKIT_GOMOD = github.com/moby/buildkit + +MOBY_BUILDKIT_TAGS = cgo +MOBY_BUILDKIT_BUILD_TARGETS = cmd/buildctl cmd/buildkitd + +MOBY_BUILDKIT_LDFLAGS = \ + -X $(MOBY_BUILDKIT_GOMOD)/version.Version="$(MOBY_BUILDKIT_VERSION)" + +MOBY_BUILDKIT_INSTALL_BINS = $(notdir $(MOBY_BUILDKIT_BUILD_TARGETS)) + +$(eval $(golang-package)) diff --git a/buildroot-2021.05/package/modem-manager/Config.in b/buildroot-2022.02.1/package/modem-manager/Config.in similarity index 100% rename from buildroot-2021.05/package/modem-manager/Config.in rename to buildroot-2022.02.1/package/modem-manager/Config.in diff --git a/buildroot-2021.05/package/modem-manager/S44modem-manager b/buildroot-2022.02.1/package/modem-manager/S44modem-manager similarity index 100% rename from buildroot-2021.05/package/modem-manager/S44modem-manager rename to buildroot-2022.02.1/package/modem-manager/S44modem-manager diff --git a/buildroot-2022.02.1/package/modem-manager/modem-manager.hash b/buildroot-2022.02.1/package/modem-manager/modem-manager.hash new file mode 100644 index 00000000..14597215 --- /dev/null +++ b/buildroot-2022.02.1/package/modem-manager/modem-manager.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 2ccf1f716c2d121e8e6709bcf8af29ee86971a90adacca2e8d6288b30278862e ModemManager-1.16.10.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2022.02.1/package/modem-manager/modem-manager.mk b/buildroot-2022.02.1/package/modem-manager/modem-manager.mk new file mode 100644 index 00000000..a881edc2 --- /dev/null +++ b/buildroot-2022.02.1/package/modem-manager/modem-manager.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# modem-manager +# +################################################################################ + +MODEM_MANAGER_VERSION = 1.16.10 +MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz +MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager +MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib) +MODEM_MANAGER_LICENSE_FILES = COPYING COPYING.LIB +MODEM_MANAGER_SELINUX_MODULES = modemmanager +MODEM_MANAGER_DEPENDENCIES = host-pkgconf libglib2 $(TARGET_NLS_DEPENDENCIES) +MODEM_MANAGER_INSTALL_STAGING = YES +MODEM_MANAGER_CONF_OPTS = --disable-more-warnings + +ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y) +MODEM_MANAGER_DEPENDENCIES += libqmi +MODEM_MANAGER_CONF_OPTS += --with-qmi +else +MODEM_MANAGER_CONF_OPTS += --without-qmi +endif + +ifeq ($(BR2_PACKAGE_LIBGUDEV),y) +MODEM_MANAGER_DEPENDENCIES += libgudev +MODEM_MANAGER_CONF_OPTS += --with-udev +else +MODEM_MANAGER_CONF_OPTS += --without-udev +endif + +ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBMBIM),y) +MODEM_MANAGER_DEPENDENCIES += libmbim +MODEM_MANAGER_CONF_OPTS += --with-mbim +else +MODEM_MANAGER_CONF_OPTS += --without-mbim +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +MODEM_MANAGER_DEPENDENCIES += gobject-introspection +MODEM_MANAGER_CONF_OPTS += --enable-introspection +else +MODEM_MANAGER_CONF_OPTS += --disable-introspection +endif + +define MODEM_MANAGER_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/modem-manager/S44modem-manager \ + $(TARGET_DIR)/etc/init.d/S44modem-manager +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/modplugtools/Config.in b/buildroot-2022.02.1/package/modplugtools/Config.in similarity index 100% rename from buildroot-2021.05/package/modplugtools/Config.in rename to buildroot-2022.02.1/package/modplugtools/Config.in diff --git a/buildroot-2021.05/package/modplugtools/modplugtools.hash b/buildroot-2022.02.1/package/modplugtools/modplugtools.hash similarity index 100% rename from buildroot-2021.05/package/modplugtools/modplugtools.hash rename to buildroot-2022.02.1/package/modplugtools/modplugtools.hash diff --git a/buildroot-2021.05/package/modplugtools/modplugtools.mk b/buildroot-2022.02.1/package/modplugtools/modplugtools.mk similarity index 100% rename from buildroot-2021.05/package/modplugtools/modplugtools.mk rename to buildroot-2022.02.1/package/modplugtools/modplugtools.mk diff --git a/buildroot-2022.02.1/package/modsecurity2/Config.in b/buildroot-2022.02.1/package/modsecurity2/Config.in new file mode 100644 index 00000000..2870386a --- /dev/null +++ b/buildroot-2022.02.1/package/modsecurity2/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_MODSECURITY2 + bool "modsecurity2" + depends on BR2_PACKAGE_APACHE + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_PCRE + help + ModSecurity is an open source, cross-platform web application + firewall (WAF) module. Known as the "Swiss Army Knife" of + WAFs, it enables web application defenders to gain visibility + into HTTP(S) traffic and provides a power rules language and + API to implement advanced protections. + + https://github.com/SpiderLabs/ModSecurity diff --git a/buildroot-2022.02.1/package/modsecurity2/modsecurity2.hash b/buildroot-2022.02.1/package/modsecurity2/modsecurity2.hash new file mode 100644 index 00000000..a19f4823 --- /dev/null +++ b/buildroot-2022.02.1/package/modsecurity2/modsecurity2.hash @@ -0,0 +1,5 @@ +# From https://github.com/SpiderLabs/ModSecurity/releases/download/v2.9.5/modsecurity-2.9.5.tar.gz.sha256 +sha256 e2bfc8cd8b8de1e21f054d310543373ea5d89adbd96784e832be0da3e4dc149e modsecurity-2.9.5.tar.gz + +# Locally computed +sha256 2c564f5a67e49e74c80e5a7dcacd1904e7408f1fd6a95218b38c04f012d94cb9 LICENSE diff --git a/buildroot-2022.02.1/package/modsecurity2/modsecurity2.mk b/buildroot-2022.02.1/package/modsecurity2/modsecurity2.mk new file mode 100644 index 00000000..a1ad8fe5 --- /dev/null +++ b/buildroot-2022.02.1/package/modsecurity2/modsecurity2.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# modsecurity2 +# +################################################################################ + +MODSECURITY2_VERSION = 2.9.5 +MODSECURITY2_SOURCE = modsecurity-$(MODSECURITY2_VERSION).tar.gz +MODSECURITY2_SITE = https://github.com/SpiderLabs/ModSecurity/releases/download/v$(MODSECURITY2_VERSION) +MODSECURITY2_LICENSE = Apache-2.0 +MODSECURITY2_LICENSE_FILES = LICENSE +MODSECURITY2_CPE_ID_VENDOR = trustwave +MODSECURITY2_CPE_ID_PRODUCT = modsecurity +MODSECURITY2_INSTALL_STAGING = YES +MODSECURITY2_DEPENDENCIES = apache libxml2 pcre + +MODSECURITY2_CONF_OPTS = \ + --with-pcre=$(STAGING_DIR)/usr/bin/pcre-config \ + --with-libxml=$(STAGING_DIR)/usr \ + --with-apr=$(STAGING_DIR)/usr/bin/apr-1-config \ + --with-apu=$(STAGING_DIR)/usr/bin/apu-1-config \ + --with-apxs=$(STAGING_DIR)/usr/bin/apxs \ + --without-curl \ + --without-lua \ + --without-yajl \ + --without-ssdeep + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mongodb/0001-ssl_manager.cpp-fix-build-with-gcc-7-and-fpermissive.patch b/buildroot-2022.02.1/package/mongodb/0001-ssl_manager.cpp-fix-build-with-gcc-7-and-fpermissive.patch similarity index 100% rename from buildroot-2021.05/package/mongodb/0001-ssl_manager.cpp-fix-build-with-gcc-7-and-fpermissive.patch rename to buildroot-2022.02.1/package/mongodb/0001-ssl_manager.cpp-fix-build-with-gcc-7-and-fpermissive.patch diff --git a/buildroot-2022.02.1/package/mongodb/0002-src-mongo-db-exec-plan_stats.h-fix-build-with-gcc-11.patch b/buildroot-2022.02.1/package/mongodb/0002-src-mongo-db-exec-plan_stats.h-fix-build-with-gcc-11.patch new file mode 100644 index 00000000..e96a6525 --- /dev/null +++ b/buildroot-2022.02.1/package/mongodb/0002-src-mongo-db-exec-plan_stats.h-fix-build-with-gcc-11.patch @@ -0,0 +1,44 @@ +From 0941e560850d54160c24778fa66b605714fd5012 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 9 Aug 2021 21:18:50 +0200 +Subject: [PATCH] src/mongo/db/exec/plan_stats.h: fix build with gcc + 11 + +Fix the following build failure with gcc 11: + +In file included from src/mongo/db/query/plan_cache.h:36, + from src/mongo/db/catalog/collection_info_cache.h:33, + from src/mongo/db/catalog/collection.h:42, + from src/mongo/db/exec/requires_collection_stage.h:32, + from src/mongo/db/exec/delete.h:32, + from src/mongo/db/query/internal_plans.h:33, + from src/mongo/db/query/internal_plans.cpp:32: +src/mongo/db/exec/plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type + 214 | std::optional replanReason; + | ^~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/8c0875fa413923504515a83d8b679366418c2444 + +Signed-off-by: Fabrice Fontaine +[Upstream status: already fixed by +https://github.com/mongodb/mongo/commit/e78b2bf6eaa0c43bd76dbb841add167b443d2bb0] +--- + src/mongo/db/exec/plan_stats.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h +index 43053e27be..813e4edc9e 100644 +--- a/src/mongo/db/exec/plan_stats.h ++++ b/src/mongo/db/exec/plan_stats.h +@@ -31,6 +31,7 @@ + + #include + #include ++#include + #include + #include + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/mongodb/Config.in b/buildroot-2022.02.1/package/mongodb/Config.in new file mode 100644 index 00000000..1ea42825 --- /dev/null +++ b/buildroot-2022.02.1/package/mongodb/Config.in @@ -0,0 +1,42 @@ +# from https://docs.mongodb.com/manual/installation/#supported-platforms +config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS + bool + # ARM needs LDREX/STREX, so ARMv6+ + default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 + default y if BR2_aarch64 || BR2_x86_64 + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + +config BR2_PACKAGE_MONGODB + bool "mongodb" + depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_IOSTREAMS + select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_PCRE_UTF # runtime + select BR2_PACKAGE_SNAPPY + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_YAML_CPP + select BR2_PACKAGE_ZLIB + help + MongoDB is a cross-platform document-oriented database + (NoSQL). + + It uses JSON-like documents with dynamic schemas (BSON), + making the integration of data in certain types of + applications easier and faster. + + https://www.mongodb.org/ + +comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 7" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS diff --git a/buildroot-2022.02.1/package/mongodb/mongodb.hash b/buildroot-2022.02.1/package/mongodb/mongodb.hash new file mode 100644 index 00000000..02da8ad4 --- /dev/null +++ b/buildroot-2022.02.1/package/mongodb/mongodb.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 5bbb9567cc1f358ac7d9f37d9fe749862728bdf9f742d1dfc5e35a8b6c2985ba mongodb-src-r4.2.18.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 APACHE-2.0.txt +sha256 09d99ca61eb07873d5334077acba22c33e7f7d0a9fa08c92734e0ac8430d6e27 LICENSE-Community.txt diff --git a/buildroot-2022.02.1/package/mongodb/mongodb.mk b/buildroot-2022.02.1/package/mongodb/mongodb.mk new file mode 100644 index 00000000..9f6c7d31 --- /dev/null +++ b/buildroot-2022.02.1/package/mongodb/mongodb.mk @@ -0,0 +1,104 @@ +################################################################################ +# +# mongodb +# +################################################################################ + +MONGODB_VERSION = 4.2.18 +MONGODB_SITE = https://fastdl.mongodb.org/src +MONGODB_SOURCE = mongodb-src-r$(MONGODB_VERSION).tar.gz + +MONGODB_LICENSE = Apache-2.0 (drivers), SSPL (database) +MONGODB_LICENSE_FILES = APACHE-2.0.txt LICENSE-Community.txt + +MONGODB_CPE_ID_VENDOR = mongodb +MONGODB_SELINUX_MODULES = mongodb + +MONGODB_DEPENDENCIES = \ + boost \ + host-python-cheetah \ + host-python-psutil \ + host-python-pyyaml \ + host-python-regex \ + host-python-requests \ + host-scons \ + pcre \ + snappy \ + sqlite \ + yaml-cpp \ + zlib + +MONGODB_SCONS_TARGETS = mongod mongos + +MONGODB_SCONS_ENV = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" \ + -j"$(PARALLEL_JOBS)" + +MONGODB_SCONS_OPTS = \ + --disable-minimum-compiler-version-enforcement \ + --disable-warnings-as-errors \ + --use-system-boost \ + --use-system-pcre \ + --use-system-snappy \ + --use-system-sqlite \ + --use-system-yaml \ + --use-system-zlib + +# need to pass mongo version when not building from git repo +MONGODB_SCONS_OPTS += MONGO_VERSION=$(MONGODB_VERSION)- + +# WiredTiger database storage engine only supported on 64 bits +ifeq ($(BR2_ARCH_IS_64),y) +MONGODB_SCONS_OPTS += --wiredtiger=on +else +MONGODB_SCONS_OPTS += --wiredtiger=off +endif + +# JavaScript scripting engine and tcmalloc supported only on +# x86/x86-64 systems. Mongo target is a shell interface that +# depends on the javascript engine, so it will also only be +# built on x86/x86-64 systems. +ifeq ($(BR2_i386)$(BR2_x86_64),y) +MONGODB_SCONS_OPTS += --js-engine=mozjs --allocator=tcmalloc +MONGODB_SCONS_TARGETS += mongo +else +MONGODB_SCONS_OPTS += --js-engine=none --allocator=system +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +MONGODB_DEPENDENCIES += libcurl +MONGODB_SCONS_OPTS += \ + --enable-free-mon=on \ + --enable-http-client=on +else +MONGODB_SCONS_OPTS += \ + --enable-free-mon=off \ + --enable-http-client=off +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +MONGODB_DEPENDENCIES += openssl +MONGODB_SCONS_OPTS += \ + --ssl=on \ + --ssl-provider=openssl +else +MONGODB_SCONS_OPTS += --ssl=off +endif + +define MONGODB_BUILD_CMDS + (cd $(@D); \ + $(SCONS) \ + $(MONGODB_SCONS_ENV) \ + $(MONGODB_SCONS_OPTS) \ + $(MONGODB_SCONS_TARGETS)) +endef + +define MONGODB_INSTALL_TARGET_CMDS + (cd $(@D); \ + $(SCONS) \ + $(MONGODB_SCONS_ENV) \ + $(MONGODB_SCONS_OPTS) \ + --prefix=$(TARGET_DIR)/usr \ + install) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mongoose/Config.in b/buildroot-2022.02.1/package/mongoose/Config.in similarity index 100% rename from buildroot-2021.05/package/mongoose/Config.in rename to buildroot-2022.02.1/package/mongoose/Config.in diff --git a/buildroot-2021.05/package/mongoose/mongoose.hash b/buildroot-2022.02.1/package/mongoose/mongoose.hash similarity index 100% rename from buildroot-2021.05/package/mongoose/mongoose.hash rename to buildroot-2022.02.1/package/mongoose/mongoose.hash diff --git a/buildroot-2021.05/package/mongoose/mongoose.mk b/buildroot-2022.02.1/package/mongoose/mongoose.mk similarity index 100% rename from buildroot-2021.05/package/mongoose/mongoose.mk rename to buildroot-2022.02.1/package/mongoose/mongoose.mk diff --git a/buildroot-2022.02.1/package/mongrel2/0001-Do-not-run-tests.patch b/buildroot-2022.02.1/package/mongrel2/0001-Do-not-run-tests.patch new file mode 100644 index 00000000..4a75a470 --- /dev/null +++ b/buildroot-2022.02.1/package/mongrel2/0001-Do-not-run-tests.patch @@ -0,0 +1,43 @@ +From 3cbef2195533f357c8a80c2840108662461273b7 Mon Sep 17 00:00:00 2001 +From: Lionel Orry +Date: Wed, 27 Mar 2013 14:48:19 +0100 +Subject: [PATCH] Do not run tests. + +This patch is specific to cross-compiled environments and avoids running +the tests on the host. It is not meant to be applied upstream. + +Signed-off-by: Lionel Orry +--- + Makefile | 2 +- + tools/m2sh/Makefile | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 7dc4089..ca72630 100644 +--- a/Makefile ++++ b/Makefile +@@ -16,7 +16,7 @@ TEST_SRC=$(wildcard tests/*_tests.c) + TESTS=$(patsubst %.c,%,${TEST_SRC}) + MAKEOPTS=OPTFLAGS="${NOEXTCFLAGS} ${OPTFLAGS}" OPTLIBS="${OPTLIBS}" LIBS="${LIBS}" DESTDIR="${DESTDIR}" PREFIX="${PREFIX}" + +-all: bin/mongrel2 tests m2sh procer ++all: bin/mongrel2 m2sh procer filters config_modules + + dev: CFLAGS=-g -Wall -Isrc -Wall -Wextra $(OPTFLAGS) -D_FILE_OFFSET_BITS=64 + dev: all +diff --git a/tools/m2sh/Makefile b/tools/m2sh/Makefile +index b50d8a0..334e4da 100644 +--- a/tools/m2sh/Makefile ++++ b/tools/m2sh/Makefile +@@ -9,7 +9,7 @@ TESTS=$(patsubst %.c,%,${TEST_SRC}) + LIB_SRC=$(filter-out src/m2sh.c,${SOURCES}) + LIB_OBJ=$(filter-out src/m2sh.o,${OBJECTS}) + +-all: ../lemon/lemon tests build/m2sh ++all: ../lemon/lemon build/m2sh + + dev: CFLAGS=-g -Wall -Wextra -Isrc -I../../src $(OPTFLAGS) + dev: all +-- +1.8.1.4 + diff --git a/buildroot-2021.05/package/mongrel2/0002-Fix-Makefiles-for-cross-compilation.patch b/buildroot-2022.02.1/package/mongrel2/0002-Fix-Makefiles-for-cross-compilation.patch similarity index 100% rename from buildroot-2021.05/package/mongrel2/0002-Fix-Makefiles-for-cross-compilation.patch rename to buildroot-2022.02.1/package/mongrel2/0002-Fix-Makefiles-for-cross-compilation.patch diff --git a/buildroot-2022.02.1/package/mongrel2/0003-fix-build-with-gcc-4.8.patch b/buildroot-2022.02.1/package/mongrel2/0003-fix-build-with-gcc-4.8.patch new file mode 100644 index 00000000..eebfce04 --- /dev/null +++ b/buildroot-2022.02.1/package/mongrel2/0003-fix-build-with-gcc-4.8.patch @@ -0,0 +1,60 @@ +From cc2dd3995dc9a9e6f0e705e11e791f3f3c7d7326 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 18 Jan 2022 22:41:36 +0100 +Subject: [PATCH] fix build with gcc 4.8 + +Drop "-Wno-unused-const-variable -Wimplicit-fallthrough=0" as +"-Wno-implicit-fallthrough -Wno-unused-const-variable" is already set in +CFLAGS. This will avoid the following build failure with gcc 4.8 raised +since version 1.13.0 and +https://github.com/mongrel2/mongrel2/commit/725209578599bd7784753d86aee34f6441ff78a5: + +arm-none-linux-gnueabi-gcc: error: unrecognized command line option '-Wimplicit-fallthrough=0' + +Fixes: + - http://autobuild.buildroot.org/results/de324b733e09057c87352220069fe65f6e535eb8 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/mongrel2/mongrel2/pull/354] +--- + Makefile | 1 - + tools/m2sh/Makefile | 4 ++-- + 2 files changed, 2 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index f6627ed..fb8d028 100644 +--- a/Makefile ++++ b/Makefile +@@ -22,7 +22,6 @@ all: bin/mongrel2 tests m2sh procer + + ${OBJECTS_NOEXT}: CFLAGS += ${NOEXTCFLAGS} + ${OBJECTS}: | builddirs +-$(RAGEL_OBJECTS): CFLAGS += -Wno-unused-const-variable -Wimplicit-fallthrough=0 + + .PHONY: builddirs + builddirs: +diff --git a/tools/m2sh/Makefile b/tools/m2sh/Makefile +index 83e7ae4..86364af 100644 +--- a/tools/m2sh/Makefile ++++ b/tools/m2sh/Makefile +@@ -10,7 +10,7 @@ LIB_SRC=$(filter-out src/m2sh.c,${SOURCES}) + LIB_OBJ=$(filter-out src/m2sh.o,${OBJECTS}) + RAGEL_OBJECTS=src/lexer.o src/cli.o + +-$(RAGEL_OBJECTS): CFLAGS += -Wno-unused-const-variable -Wimplicit-fallthrough=0 -Wno-unused-parameter ++$(RAGEL_OBJECTS): CFLAGS += -Wno-unused-parameter + + all: ../lemon/lemon tests build/m2sh + +@@ -20,7 +20,7 @@ dev: all + install: build/m2sh + install build/m2sh ${DESTDIR}${PREFIX}/bin + +-src/parser.o: CFLAGS += -Wno-unused-const-variable -Wno-unused-parameter ++src/parser.o: CFLAGS += -Wno-unused-parameter + + build/libm2sh.a: ${LIB_OBJ} + mkdir -p build +-- +2.34.1 + diff --git a/buildroot-2021.05/package/mongrel2/Config.in b/buildroot-2022.02.1/package/mongrel2/Config.in similarity index 100% rename from buildroot-2021.05/package/mongrel2/Config.in rename to buildroot-2022.02.1/package/mongrel2/Config.in diff --git a/buildroot-2022.02.1/package/mongrel2/mongrel2.hash b/buildroot-2022.02.1/package/mongrel2/mongrel2.hash new file mode 100644 index 00000000..f4f094ea --- /dev/null +++ b/buildroot-2022.02.1/package/mongrel2/mongrel2.hash @@ -0,0 +1,6 @@ +# From https://mongrel2.org +sha1 6057f9cbfae41e2cdef1e0f715df3c1a4d3a1884 mongrel2-v1.13.0.tar.bz2 + +# Locally computed +sha256 b6f1f50c9f65b605342d8792b1cc8a1c151105339030313b9825b6a68d400c10 mongrel2-v1.13.0.tar.bz2 +sha256 eb6e2a2baa637d06f6aa762886fbc8939934eb5fdb0b3a5b3882f2a61e9a4357 LICENSE diff --git a/buildroot-2022.02.1/package/mongrel2/mongrel2.mk b/buildroot-2022.02.1/package/mongrel2/mongrel2.mk new file mode 100644 index 00000000..07914ad0 --- /dev/null +++ b/buildroot-2022.02.1/package/mongrel2/mongrel2.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# mongrel2 +# +################################################################################ + +MONGREL2_VERSION = 1.13.0 +MONGREL2_SOURCE = mongrel2-v$(MONGREL2_VERSION).tar.bz2 +# Do not use the github helper here, the generated tarball is *NOT* the same +# as the one uploaded by upstream for the release. +MONGREL2_SITE = https://github.com/mongrel2/mongrel2/releases/download/v$(MONGREL2_VERSION) +MONGREL2_LICENSE = BSD-3-Clause +MONGREL2_LICENSE_FILES = LICENSE +MONGREL2_DEPENDENCIES = mbedtls sqlite zeromq + +define MONGREL2_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + PREFIX=/usr all +endef + +define MONGREL2_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + PREFIX=/usr DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/monit/0001-no-force-static.patch b/buildroot-2022.02.1/package/monit/0001-no-force-static.patch similarity index 100% rename from buildroot-2021.05/package/monit/0001-no-force-static.patch rename to buildroot-2022.02.1/package/monit/0001-no-force-static.patch diff --git a/buildroot-2021.05/package/monit/Config.in b/buildroot-2022.02.1/package/monit/Config.in similarity index 100% rename from buildroot-2021.05/package/monit/Config.in rename to buildroot-2022.02.1/package/monit/Config.in diff --git a/buildroot-2021.05/package/monit/monit.hash b/buildroot-2022.02.1/package/monit/monit.hash similarity index 100% rename from buildroot-2021.05/package/monit/monit.hash rename to buildroot-2022.02.1/package/monit/monit.hash diff --git a/buildroot-2022.02.1/package/monit/monit.mk b/buildroot-2022.02.1/package/monit/monit.mk new file mode 100644 index 00000000..6d5d4758 --- /dev/null +++ b/buildroot-2022.02.1/package/monit/monit.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# monit +# +################################################################################ + +MONIT_VERSION = 5.26.0 +MONIT_SITE = http://mmonit.com/monit/dist +MONIT_LICENSE = AGPL-3.0 with OpenSSL exception +MONIT_LICENSE_FILES = COPYING +MONIT_CPE_ID_VENDOR = mmonit +MONIT_SELINUX_MODULES = monit +# +# Touching Makefile.am: +MONIT_AUTORECONF = YES + +MONIT_CONF_ENV = \ + libmonit_cv_setjmp_available=yes \ + libmonit_cv_vsnprintf_c99_conformant=yes + +MONIT_CONF_OPTS += \ + --without-pam \ + --with-largefiles + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +MONIT_CONF_OPTS += --with-ssl=$(STAGING_DIR)/usr +MONIT_DEPENDENCIES += openssl +else +MONIT_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +MONIT_CONF_OPTS += --with-zlib +MONIT_DEPENDENCIES += zlib +else +MONIT_CONF_OPTS += --without-zlib +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mono-gtksharp3/0001-Fixes-MONO_PROFILE_ENTER_LEAVE-undeclared.patch b/buildroot-2022.02.1/package/mono-gtksharp3/0001-Fixes-MONO_PROFILE_ENTER_LEAVE-undeclared.patch similarity index 100% rename from buildroot-2021.05/package/mono-gtksharp3/0001-Fixes-MONO_PROFILE_ENTER_LEAVE-undeclared.patch rename to buildroot-2022.02.1/package/mono-gtksharp3/0001-Fixes-MONO_PROFILE_ENTER_LEAVE-undeclared.patch diff --git a/buildroot-2021.05/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch b/buildroot-2022.02.1/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch similarity index 100% rename from buildroot-2021.05/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch rename to buildroot-2022.02.1/package/mono-gtksharp3/0002-Mono-compilation-error-branch.patch diff --git a/buildroot-2021.05/package/mono-gtksharp3/Config.in b/buildroot-2022.02.1/package/mono-gtksharp3/Config.in similarity index 100% rename from buildroot-2021.05/package/mono-gtksharp3/Config.in rename to buildroot-2022.02.1/package/mono-gtksharp3/Config.in diff --git a/buildroot-2021.05/package/mono-gtksharp3/mono-gtksharp3.hash b/buildroot-2022.02.1/package/mono-gtksharp3/mono-gtksharp3.hash similarity index 100% rename from buildroot-2021.05/package/mono-gtksharp3/mono-gtksharp3.hash rename to buildroot-2022.02.1/package/mono-gtksharp3/mono-gtksharp3.hash diff --git a/buildroot-2021.05/package/mono-gtksharp3/mono-gtksharp3.mk b/buildroot-2022.02.1/package/mono-gtksharp3/mono-gtksharp3.mk similarity index 100% rename from buildroot-2021.05/package/mono-gtksharp3/mono-gtksharp3.mk rename to buildroot-2022.02.1/package/mono-gtksharp3/mono-gtksharp3.mk diff --git a/buildroot-2022.02.1/package/mono/0001-Fix-linkage-with-a-system-libatomic_ops-shared-library.patch b/buildroot-2022.02.1/package/mono/0001-Fix-linkage-with-a-system-libatomic_ops-shared-library.patch new file mode 100644 index 00000000..66d4d8e1 --- /dev/null +++ b/buildroot-2022.02.1/package/mono/0001-Fix-linkage-with-a-system-libatomic_ops-shared-library.patch @@ -0,0 +1,52 @@ +From 02a44ee1df8176c72e75fd706d1a8f063d3196d5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 5 Nov 2018 22:50:40 +0100 +Subject: Fix linkage with a system libatomic_ops shared library + +Issue #247 (bdwgc). + +When bdwgc is linked with the external libatomic_ops, bdw-gc.pc must +contain the needed dynamic libraries (such as -latomic_ops) otherwise +build of applications could fail on the link stage on some hosts: +* libgc.so: undefined reference to 'AO_fetch_compare_and_swap_emulation' +* libgc.so: undefined reference to 'AO_store_full_emulation' + +So, this commit sets ATOMIC_OPS_LIBS to "-latomic_ops" when a system +atomic_ops library is used and uses ATOMIC_OPS_LIBS in bdw-gc.pc.in. + +* bdw-gc.pc.in (Libs): Add @ATOMIC_OPS_LIBS@. +* configure.ac [$with_libatomic_ops!=no && $with_libatomic_ops!=none +&& $THREADS!=none] (ATOMIC_OPS_LIBS): Set to -latomic_ops; do AC_SUBST. + +Fix is cherry-picked from bdwgc upstream + +Link to original commit https://github.com/ivmai/bdwgc/commit/02a44ee1df8176c72e75fd706d1a8f063d3196d5?branch=02a44ee1df8176c72e75fd706d1a8f063d3196d5&diff=unified + +Signed-off-by: Illia Bitkov + +diff --git a/external/bdwgc/bdw-gc.pc.in b/external/bdwgc/bdw-gc.pc.in +index ef4c2341..a32e7598 100644 +--- a/external/bdwgc/bdw-gc.pc.in ++++ b/external/bdwgc/bdw-gc.pc.in +@@ -6,5 +6,5 @@ includedir=@includedir@ + Name: Boehm-Demers-Weiser Conservative Garbage Collector + Description: A garbage collector for C and C++ + Version: @PACKAGE_VERSION@ +-Libs: -L${libdir} -lgc ++Libs: -L${libdir} @ATOMIC_OPS_LIBS@ -lgc + Cflags: -I${includedir} +diff --git a/external/bdwgc/configure.ac b/external/bdwgc/configure.ac +index 21abe8fa..9ffe81de 100644 +--- a/external/bdwgc/configure.ac ++++ b/external/bdwgc/configure.ac +@@ -1081,7 +1081,9 @@ AS_IF([test x"$with_libatomic_ops" = xno \ + AC_MSG_CHECKING([which libatomic_ops to use]) + AS_IF([test x"$with_libatomic_ops" != xno], + [ AS_IF([test x"$with_libatomic_ops" != xnone -a x"$THREADS" != xnone], +- [ AC_MSG_RESULT([external]) ], ++ [ AC_MSG_RESULT([external]) ++ ATOMIC_OPS_LIBS="-latomic_ops" ++ AC_SUBST([ATOMIC_OPS_LIBS]) ], + [ AC_MSG_RESULT([none]) + AS_IF([test x"$THREADS" != xnone], + [ AC_DEFINE([GC_BUILTIN_ATOMIC], [1], diff --git a/buildroot-2022.02.1/package/mono/0002-Ongoing-work-on-the-cmake-build.patch b/buildroot-2022.02.1/package/mono/0002-Ongoing-work-on-the-cmake-build.patch new file mode 100644 index 00000000..afe618f1 --- /dev/null +++ b/buildroot-2022.02.1/package/mono/0002-Ongoing-work-on-the-cmake-build.patch @@ -0,0 +1,34 @@ +From 17650f7e0f571287bb14bb9b4fbde7b91d842bb4 Mon Sep 17 00:00:00 2001 +From: monojenkins +Date: Thu, 24 Sep 2020 12:17:34 -0400 +Subject: [PATCH] Ongoing work on the cmake build. (#20428) + +* Fix some warnings. +* Avoid creating netcore/config.make. +* Fix CPU_COUNT test. +* Add missing source file. + +Co-authored-by: vargaz + +[Retrieved (and updated to keep only update of icall.c) from: +https://github.com/mono/mono/commit/17650f7e0f571287bb14bb9b4fbde7b91d842bb4] +Signed-off-by: Fabrice Fontaine +--- + mono/metadata/CMakeLists.txt | 1 + + mono/metadata/icall.c | 2 +- + mono/mini/CMakeLists.txt | 5 +++++ + 3 files changed, 7 insertions(+), 1 deletion(-) + +diff --git a/mono/metadata/icall.c b/mono/metadata/icall.c +index fa991bc72e57..f2c003ac1ff1 100644 +--- a/mono/metadata/icall.c ++++ b/mono/metadata/icall.c +@@ -9605,7 +9605,7 @@ mono_create_icall_signatures (void) + int n; + while ((n = sig->param_count)) { + --sig->param_count; // remove ret +- gsize_a *types = (gsize*)(sig + 1); ++ gsize_a *types = (gsize_a*)(sig + 1); + for (int i = 0; i < n; ++i) { + gsize index = *types++; + g_assert (index < G_N_ELEMENTS (lookup)); diff --git a/buildroot-2021.05/package/mono/Config.in b/buildroot-2022.02.1/package/mono/Config.in similarity index 100% rename from buildroot-2021.05/package/mono/Config.in rename to buildroot-2022.02.1/package/mono/Config.in diff --git a/buildroot-2021.05/package/mono/mono.hash b/buildroot-2022.02.1/package/mono/mono.hash similarity index 100% rename from buildroot-2021.05/package/mono/mono.hash rename to buildroot-2022.02.1/package/mono/mono.hash diff --git a/buildroot-2022.02.1/package/mono/mono.mk b/buildroot-2022.02.1/package/mono/mono.mk new file mode 100644 index 00000000..27f78862 --- /dev/null +++ b/buildroot-2022.02.1/package/mono/mono.mk @@ -0,0 +1,66 @@ +################################################################################ +# +# mono +# +################################################################################ + +MONO_VERSION = 6.12.0.90 +MONO_SITE = http://download.mono-project.com/sources/mono +MONO_SOURCE = mono-$(MONO_VERSION).tar.xz +MONO_LICENSE = GPL-2.0 or MIT (compiler, tools), MIT (libs) or commercial +MONO_LICENSE_FILES = LICENSE mcs/COPYING \ + external/Newtonsoft.Json/Tools/7-zip/copying.txt +MONO_CPE_ID_VENDOR = mono-project +MONO_INSTALL_STAGING = YES + +## Mono native + +# patching configure.ac +MONO_AUTORECONF = YES + +MONO_COMMON_CONF_OPTS = --with-mcs-docs=no \ + --with-ikvm-native=no \ + --enable-minimal=profiler,debug \ + --enable-static \ + --disable-btls \ + --disable-system-aot + +# Disable managed code (mcs folder) from building +MONO_CONF_OPTS = $(MONO_COMMON_CONF_OPTS) --disable-mcs-build + +# The libraries have been built by the host-mono build. Since they are +# architecture-independent, we simply copy them to the target. +define MONO_INSTALL_LIBS + rsync -av --exclude=*.so --exclude=*.mdb \ + $(HOST_DIR)/lib/mono $(TARGET_DIR)/usr/lib/ +endef + +MONO_POST_INSTALL_TARGET_HOOKS += MONO_INSTALL_LIBS + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +MONO_DEPENDENCIES += libiconv +endif + +MONO_DEPENDENCIES += \ + host-mono \ + $(if $(BR2_PACKAGE_LIBUNWIND),libunwind) \ + libatomic_ops + +## Mono managed + +HOST_MONO_CONF_OPTS = $(MONO_COMMON_CONF_OPTS) --disable-libraries + +# ensure monolite is used +HOST_MONO_MAKE_OPTS += EXTERNAL_MCS=false + +HOST_MONO_DEPENDENCIES = host-monolite host-gettext host-python3 + +define HOST_MONO_SETUP_MONOLITE + rm -rf $(@D)/mcs/class/lib/monolite + (cd $(@D)/mcs/class/lib; ln -s $(HOST_DIR)/lib/monolite monolite) +endef + +HOST_MONO_POST_CONFIGURE_HOOKS += HOST_MONO_SETUP_MONOLITE + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/monolite/monolite.hash b/buildroot-2022.02.1/package/monolite/monolite.hash similarity index 100% rename from buildroot-2021.05/package/monolite/monolite.hash rename to buildroot-2022.02.1/package/monolite/monolite.hash diff --git a/buildroot-2021.05/package/monolite/monolite.mk b/buildroot-2022.02.1/package/monolite/monolite.mk similarity index 100% rename from buildroot-2021.05/package/monolite/monolite.mk rename to buildroot-2022.02.1/package/monolite/monolite.mk diff --git a/buildroot-2021.05/package/mosh/Config.in b/buildroot-2022.02.1/package/mosh/Config.in similarity index 100% rename from buildroot-2021.05/package/mosh/Config.in rename to buildroot-2022.02.1/package/mosh/Config.in diff --git a/buildroot-2021.05/package/mosh/mosh.hash b/buildroot-2022.02.1/package/mosh/mosh.hash similarity index 100% rename from buildroot-2021.05/package/mosh/mosh.hash rename to buildroot-2022.02.1/package/mosh/mosh.hash diff --git a/buildroot-2021.05/package/mosh/mosh.mk b/buildroot-2022.02.1/package/mosh/mosh.mk similarity index 100% rename from buildroot-2021.05/package/mosh/mosh.mk rename to buildroot-2022.02.1/package/mosh/mosh.mk diff --git a/buildroot-2021.05/package/mosquitto/Config.in b/buildroot-2022.02.1/package/mosquitto/Config.in similarity index 100% rename from buildroot-2021.05/package/mosquitto/Config.in rename to buildroot-2022.02.1/package/mosquitto/Config.in diff --git a/buildroot-2021.05/package/mosquitto/S50mosquitto b/buildroot-2022.02.1/package/mosquitto/S50mosquitto similarity index 100% rename from buildroot-2021.05/package/mosquitto/S50mosquitto rename to buildroot-2022.02.1/package/mosquitto/S50mosquitto diff --git a/buildroot-2022.02.1/package/mosquitto/mosquitto.hash b/buildroot-2022.02.1/package/mosquitto/mosquitto.hash new file mode 100644 index 00000000..24b8869d --- /dev/null +++ b/buildroot-2022.02.1/package/mosquitto/mosquitto.hash @@ -0,0 +1,8 @@ +# Locally calculated after checking gpg signature +# from https://mosquitto.org/files/source/mosquitto-2.0.13.tar.gz.asc +sha256 d0dde8fdb12caf6e2426b4f28081919a2fce3448773bdb8af0d3cd5fe5776925 mosquitto-2.0.14.tar.gz + +# License files +sha256 d3c4ccace4e5d3cc89d34cf2a0bc85b8596bfc0a32b815d0d77f9b7c41b5350c LICENSE.txt +sha256 8c349f80764d0648e645f41ef23772a70c995a0924b5235f735f4a3d09df127c epl-v20 +sha256 86fc4a3f97cb769c04e8da557036c1066eb8bb22b2d0a5dd31464990fe84047c edl-v10 diff --git a/buildroot-2022.02.1/package/mosquitto/mosquitto.mk b/buildroot-2022.02.1/package/mosquitto/mosquitto.mk new file mode 100644 index 00000000..3e7a728a --- /dev/null +++ b/buildroot-2022.02.1/package/mosquitto/mosquitto.mk @@ -0,0 +1,131 @@ +################################################################################ +# +# mosquitto +# +################################################################################ + +MOSQUITTO_VERSION = 2.0.14 +MOSQUITTO_SITE = https://mosquitto.org/files/source +MOSQUITTO_LICENSE = EPL-2.0 or EDLv1.0 +MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v20 edl-v10 +MOSQUITTO_CPE_ID_VENDOR = eclipse +MOSQUITTO_INSTALL_STAGING = YES + +MOSQUITTO_MAKE_OPTS = \ + CLIENT_STATIC_LDADD="$(MOSQUITTO_STATIC_LIBS)" \ + UNAME=Linux \ + STRIP=true \ + prefix=/usr \ + WITH_WRAP=no \ + WITH_DOCS=no + +ifeq ($(BR2_SHARED_LIBS),y) +MOSQUITTO_MAKE_OPTS += WITH_STATIC_LIBRARIES=no +else +MOSQUITTO_MAKE_OPTS += WITH_STATIC_LIBRARIES=yes +endif + +ifeq ($(BR2_STATIC_LIBS),y) +MOSQUITTO_MAKE_OPTS += WITH_SHARED_LIBRARIES=no +else +MOSQUITTO_MAKE_OPTS += WITH_SHARED_LIBRARIES=yes +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +MOSQUITTO_MAKE_OPTS += WITH_SYSTEMD=yes +MOSQUITTO_DEPENDENCIES += systemd +endif + +# adns uses getaddrinfo_a +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) +MOSQUITTO_MAKE_OPTS += WITH_ADNS=yes +else +MOSQUITTO_MAKE_OPTS += WITH_ADNS=no +endif + +# threaded API uses pthread_setname_np +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) +MOSQUITTO_MAKE_OPTS += WITH_THREADING=yes +else +MOSQUITTO_MAKE_OPTS += WITH_THREADING=no +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +MOSQUITTO_DEPENDENCIES += host-pkgconf openssl +MOSQUITTO_MAKE_OPTS += WITH_TLS=yes +MOSQUITTO_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` +else +MOSQUITTO_MAKE_OPTS += WITH_TLS=no +endif + +ifeq ($(BR2_PACKAGE_CJSON),y) +MOSQUITTO_DEPENDENCIES += cjson +MOSQUITTO_MAKE_OPTS += WITH_CJSON=yes +MOSQUITTO_STATIC_LIBS += -lcjson +else +MOSQUITTO_MAKE_OPTS += WITH_CJSON=no +endif + +ifeq ($(BR2_PACKAGE_C_ARES),y) +MOSQUITTO_DEPENDENCIES += c-ares +MOSQUITTO_MAKE_OPTS += WITH_SRV=yes +else +MOSQUITTO_MAKE_OPTS += WITH_SRV=no +endif + +ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) +MOSQUITTO_DEPENDENCIES += libwebsockets +MOSQUITTO_MAKE_OPTS += WITH_WEBSOCKETS=yes +else +MOSQUITTO_MAKE_OPTS += WITH_WEBSOCKETS=no +endif + +# C++ support is only used to create a wrapper library +ifneq ($(BR2_INSTALL_LIBSTDCPP),y) +define MOSQUITTO_DISABLE_CPP + $(SED) '/-C cpp/d' $(@D)/lib/Makefile +endef + +MOSQUITTO_POST_PATCH_HOOKS += MOSQUITTO_DISABLE_CPP +endif + +MOSQUITTO_MAKE_DIRS = lib client +ifeq ($(BR2_PACKAGE_MOSQUITTO_BROKER),y) +MOSQUITTO_MAKE_DIRS += src +endif + +define MOSQUITTO_BUILD_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) DIRS="$(MOSQUITTO_MAKE_DIRS)" \ + $(MOSQUITTO_MAKE_OPTS) +endef + +define MOSQUITTO_INSTALL_STAGING_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) DIRS="$(MOSQUITTO_MAKE_DIRS)" \ + $(MOSQUITTO_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install +endef + +define MOSQUITTO_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) DIRS="$(MOSQUITTO_MAKE_DIRS)" \ + $(MOSQUITTO_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install + rm -f $(TARGET_DIR)/etc/mosquitto/*.example + $(INSTALL) -D -m 0644 $(@D)/mosquitto.conf \ + $(TARGET_DIR)/etc/mosquitto/mosquitto.conf +endef + +ifeq ($(BR2_PACKAGE_MOSQUITTO_BROKER),y) +define MOSQUITTO_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/mosquitto/S50mosquitto \ + $(TARGET_DIR)/etc/init.d/S50mosquitto +endef + +define MOSQUITTO_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(@D)/service/systemd/mosquitto.service.notify \ + $(TARGET_DIR)/usr/lib/systemd/system/mosquitto.service +endef + +define MOSQUITTO_USERS + mosquitto -1 nobody -1 * - - - Mosquitto user +endef +endif + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/most/Config.in b/buildroot-2022.02.1/package/most/Config.in similarity index 100% rename from buildroot-2021.05/package/most/Config.in rename to buildroot-2022.02.1/package/most/Config.in diff --git a/buildroot-2021.05/package/most/most.hash b/buildroot-2022.02.1/package/most/most.hash similarity index 100% rename from buildroot-2021.05/package/most/most.hash rename to buildroot-2022.02.1/package/most/most.hash diff --git a/buildroot-2021.05/package/most/most.mk b/buildroot-2022.02.1/package/most/most.mk similarity index 100% rename from buildroot-2021.05/package/most/most.mk rename to buildroot-2022.02.1/package/most/most.mk diff --git a/buildroot-2021.05/package/motion/0001-configure.ac-remove-po-Makefile.in.patch b/buildroot-2022.02.1/package/motion/0001-configure.ac-remove-po-Makefile.in.patch similarity index 100% rename from buildroot-2021.05/package/motion/0001-configure.ac-remove-po-Makefile.in.patch rename to buildroot-2022.02.1/package/motion/0001-configure.ac-remove-po-Makefile.in.patch diff --git a/buildroot-2021.05/package/motion/Config.in b/buildroot-2022.02.1/package/motion/Config.in similarity index 100% rename from buildroot-2021.05/package/motion/Config.in rename to buildroot-2022.02.1/package/motion/Config.in diff --git a/buildroot-2021.05/package/motion/S99motion b/buildroot-2022.02.1/package/motion/S99motion similarity index 100% rename from buildroot-2021.05/package/motion/S99motion rename to buildroot-2022.02.1/package/motion/S99motion diff --git a/buildroot-2022.02.1/package/motion/motion.hash b/buildroot-2022.02.1/package/motion/motion.hash new file mode 100644 index 00000000..085ac904 --- /dev/null +++ b/buildroot-2022.02.1/package/motion/motion.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 3fb0d14fff8a8a143716223b5d2d55c0f52b11badf13a2e485b98bae3cf1b572 motion-4.4.0.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/motion/motion.mk b/buildroot-2022.02.1/package/motion/motion.mk new file mode 100644 index 00000000..5d54ecea --- /dev/null +++ b/buildroot-2022.02.1/package/motion/motion.mk @@ -0,0 +1,72 @@ +################################################################################ +# +# motion +# +################################################################################ + +MOTION_VERSION = 4.4.0 +MOTION_SITE = $(call github,Motion-Project,motion,release-$(MOTION_VERSION)) +MOTION_LICENSE = GPL-2.0 +MOTION_LICENSE_FILES = LICENSE +MOTION_CPE_ID_VENDOR = motion_project +MOTION_DEPENDENCIES = host-pkgconf jpeg libmicrohttpd $(TARGET_NLS_DEPENDENCIES) +# From git +MOTION_AUTORECONF = YES +MOTION_GETTEXTIZE = YES + +MOTION_CONF_OPTS += --without-optimizecpu + +ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y) +MOTION_DEPENDENCIES += ffmpeg +MOTION_CONF_OPTS += --with-ffmpeg +else +MOTION_CONF_OPTS += --without-ffmpeg +endif + +ifeq ($(BR2_PACKAGE_MYSQL),y) +MOTION_DEPENDENCIES += mysql +MOTION_CONF_OPTS += --with-mysql +else +MOTION_CONF_OPTS += --without-mysql +endif + +ifeq ($(BR2_PACKAGE_POSTGRESQL),y) +MOTION_DEPENDENCIES += postgresql +MOTION_CONF_OPTS += --with-pgsql +else +MOTION_CONF_OPTS += --without-pgsql +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +MOTION_DEPENDENCIES += sqlite +MOTION_CONF_OPTS += --with-sqlite3 +else +MOTION_CONF_OPTS += --without-sqlite3 +endif + +ifeq ($(BR2_PACKAGE_WEBP_MUX),y) +MOTION_DEPENDENCIES += webp +MOTION_CONF_OPTS += --with-webp +else +MOTION_CONF_OPTS += --without-webp +endif + +# Do not use default install target as it installs many unneeded files and +# directories: docs, examples and init scripts +define MOTION_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0644 $(@D)/data/motion-dist.conf \ + $(TARGET_DIR)/etc/motion/motion.conf + $(INSTALL) -D -m 0755 $(@D)/src/motion $(TARGET_DIR)/usr/bin/motion +endef + +define MOTION_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/motion/S99motion \ + $(TARGET_DIR)/etc/init.d/S99motion +endef + +define MOTION_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/motion/motion.service \ + $(TARGET_DIR)/usr/lib/systemd/system/motion.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/motion/motion.service b/buildroot-2022.02.1/package/motion/motion.service similarity index 100% rename from buildroot-2021.05/package/motion/motion.service rename to buildroot-2022.02.1/package/motion/motion.service diff --git a/buildroot-2021.05/package/mp4v2/0003-Static-cast-to-unsigned-int-for-cases.patch b/buildroot-2022.02.1/package/mp4v2/0001-Static-cast-to-unsigned-int-for-cases.patch similarity index 100% rename from buildroot-2021.05/package/mp4v2/0003-Static-cast-to-unsigned-int-for-cases.patch rename to buildroot-2022.02.1/package/mp4v2/0001-Static-cast-to-unsigned-int-for-cases.patch diff --git a/buildroot-2022.02.1/package/mp4v2/Config.in b/buildroot-2022.02.1/package/mp4v2/Config.in new file mode 100644 index 00000000..00e80cd3 --- /dev/null +++ b/buildroot-2022.02.1/package/mp4v2/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_MP4V2 + bool "mp4v2" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11 + help + The MP4v2 library provides functions to read, create, and + modify mp4 files. + + https://github.com/TechSmith/mp4v2/ + +if BR2_PACKAGE_MP4V2 + +config BR2_PACKAGE_MP4V2_UTIL + bool "Install mp4 command line tools" + help + Enable to install the mp4 command line tools mp4art, + mp4chaps, mp4extract, mp4info, mp4subtitle, mp4tags, and + mp4trackdump. + +endif + +comment "mp4v2 needs a toolchain w/ C++, gcc >= 5" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/mp4v2/mp4v2.hash b/buildroot-2022.02.1/package/mp4v2/mp4v2.hash new file mode 100644 index 00000000..7aa5402c --- /dev/null +++ b/buildroot-2022.02.1/package/mp4v2/mp4v2.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 de31e430e2641f25b67d10c47b0cda35279881b0196120e33bcd71b9cef1bd58 mp4v2-5.0.1.tar.gz +sha256 15e38684c940176e2fc76331a2299d2ab5115ac997078f768ef31b896af69fc5 COPYING diff --git a/buildroot-2022.02.1/package/mp4v2/mp4v2.mk b/buildroot-2022.02.1/package/mp4v2/mp4v2.mk new file mode 100644 index 00000000..6d29228a --- /dev/null +++ b/buildroot-2022.02.1/package/mp4v2/mp4v2.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# mp4v2 +# +################################################################################ + +MP4V2_VERSION = 5.0.1 +MP4V2_SITE = \ + $(call github,TechSmith,mp4v2,Release-ThirdParty-MP4v2-$(MP4V2_VERSION)) +MP4V2_INSTALL_STAGING = YES +MP4V2_LICENSE = MPL-1.1 +MP4V2_LICENSE_FILES = COPYING + +# help2man expects to be able to run utilities on the build machine to +# grab --help output which doesn't work when cross compiling, so +# disable it +MP4V2_CONF_ENV = ac_cv_prog_FOUND_HELP2MAN=no + +ifeq ($(BR2_PACKAGE_MP4V2_UTIL),y) +MP4V2_CONF_OPTS += --enable-util +else +MP4V2_CONF_OPTS += --disable-util +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mpc/Config.in b/buildroot-2022.02.1/package/mpc/Config.in similarity index 100% rename from buildroot-2021.05/package/mpc/Config.in rename to buildroot-2022.02.1/package/mpc/Config.in diff --git a/buildroot-2021.05/package/mpc/mpc.hash b/buildroot-2022.02.1/package/mpc/mpc.hash similarity index 100% rename from buildroot-2021.05/package/mpc/mpc.hash rename to buildroot-2022.02.1/package/mpc/mpc.hash diff --git a/buildroot-2021.05/package/mpc/mpc.mk b/buildroot-2022.02.1/package/mpc/mpc.mk similarity index 100% rename from buildroot-2021.05/package/mpc/mpc.mk rename to buildroot-2022.02.1/package/mpc/mpc.mk diff --git a/buildroot-2021.05/package/mpd-mpc/Config.in b/buildroot-2022.02.1/package/mpd-mpc/Config.in similarity index 100% rename from buildroot-2021.05/package/mpd-mpc/Config.in rename to buildroot-2022.02.1/package/mpd-mpc/Config.in diff --git a/buildroot-2022.02.1/package/mpd-mpc/mpd-mpc.hash b/buildroot-2022.02.1/package/mpd-mpc/mpd-mpc.hash new file mode 100644 index 00000000..4f4af9a9 --- /dev/null +++ b/buildroot-2022.02.1/package/mpd-mpc/mpd-mpc.hash @@ -0,0 +1,3 @@ +# Locally calculated after checking pgp signature +sha256 691e3f3654bc10d022bb0310234d0bc2d8c075a698f09924d9ebed8f506fda20 mpc-0.34.tar.xz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/mpd-mpc/mpd-mpc.mk b/buildroot-2022.02.1/package/mpd-mpc/mpd-mpc.mk new file mode 100644 index 00000000..00d1964f --- /dev/null +++ b/buildroot-2022.02.1/package/mpd-mpc/mpd-mpc.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# mpd-mpc +# +################################################################################ + +MPD_MPC_VERSION_MAJOR = 0 +MPD_MPC_VERSION = $(MPD_MPC_VERSION_MAJOR).34 +MPD_MPC_SITE = http://www.musicpd.org/download/mpc/$(MPD_MPC_VERSION_MAJOR) +MPD_MPC_SOURCE = mpc-$(MPD_MPC_VERSION).tar.xz +MPD_MPC_LICENSE = GPL-2.0+ +MPD_MPC_LICENSE_FILES = COPYING +MPD_MPC_DEPENDENCIES = host-pkgconf libmpdclient +MPD_MPC_CONF_OPTS = -Ddocumentation=disabled + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch b/buildroot-2022.02.1/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch new file mode 100644 index 00000000..390cf125 --- /dev/null +++ b/buildroot-2022.02.1/package/mpd/0001-src-event-meson.build-add-atomic-dependency-for-spar.patch @@ -0,0 +1,39 @@ +From cb190801706da046823c74f89472af83ff947ce1 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 17 Aug 2019 22:25:06 +0200 +Subject: [PATCH] src/event/meson.build: add atomic dependency for sparc + +Linking with libatomic is needed on sparc otherwise build fails on: +/usr/lfs/v0/rc-buildroot-test/scripts/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/event/libevent.a(MaskMonitor.cxx.o): undefined reference to symbol '__atomic_fetch_or_4@@LIBATOMIC_1.0' + +Fixes: + - http://autobuild.buildroot.org/results/7a9fdb7e323892fb6ed85a2441054303e889c089 + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent (the same kind of patch for ncmpc was +refused: https://github.com/MusicPlayerDaemon/ncmpc/pull/45)] +--- + src/event/meson.build | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/event/meson.build b/src/event/meson.build +index bc13bbcd2..88370c03a 100644 +--- a/src/event/meson.build ++++ b/src/event/meson.build +@@ -47,9 +47,13 @@ event = declare_dependency( + ], + ) + ++# Needed on sparc ++atomic_dep = c_compiler.find_library('atomic', required: false) ++ + event_dep = declare_dependency( + link_with: event, + dependencies: [ ++ atomic_dep, + thread_dep, + net_dep, + system_dep, +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/mpd/Config.in b/buildroot-2022.02.1/package/mpd/Config.in new file mode 100644 index 00000000..fc0f4094 --- /dev/null +++ b/buildroot-2022.02.1/package/mpd/Config.in @@ -0,0 +1,433 @@ +menuconfig BR2_PACKAGE_MPD + bool "mpd" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # boost + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 + depends on BR2_HOST_GCC_AT_LEAST_8 # C++17 + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_FMT + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + MPD is a flexible, powerful, server-side application + for playing music. Through plugins and libraries + it can play a variety of sound files while being + controlled by its network protocol. + + https://www.musicpd.org + +if BR2_PACKAGE_MPD + +comment "Archive plugins" + +config BR2_PACKAGE_MPD_BZIP2 + bool "bzip2" + select BR2_PACKAGE_BZIP2 + help + Enable bzip2 archive support. + +config BR2_PACKAGE_MPD_SQLITE + bool "sqlite" + select BR2_PACKAGE_SQLITE + help + Enable sqlite database support. + If you don't use sqlite it will use an ASCII database. + +config BR2_PACKAGE_MPD_ZZIP + bool "zzip" + select BR2_PACKAGE_ZZIPLIB + help + Enable ZIP archive support. + +comment "Commercial services" + +config BR2_PACKAGE_MPD_QOBUZ + bool "qobuz" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS + select BR2_PACKAGE_MPD_CURL + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_YAJL + help + Play songs from the commercial streaming service Qobuz. + +config BR2_PACKAGE_MPD_SOUNDCLOUD + bool "soundcloud" + select BR2_PACKAGE_MPD_CURL + select BR2_PACKAGE_YAJL + help + Enable soundcloud.com playlist support. + +comment "Converter plugins" + +config BR2_PACKAGE_MPD_LIBSAMPLERATE + bool "libsamplerate" + select BR2_PACKAGE_LIBSAMPLERATE + help + Enable libsamplerate input support. + Select this for software sample rate conversion. + +config BR2_PACKAGE_MPD_LIBSOXR + bool "libsoxr" + select BR2_PACKAGE_LIBSOXR + help + Enable libsoxr resampler support. + The SoX Resampler library performs software sample-rate + conversion. + +comment "Decoder plugins" + +config BR2_PACKAGE_MPD_DSD + bool "dsd" + help + Enable Digital Speech Decoder (DSD) support to play audio + files encoded in a digital speech format. + +config BR2_PACKAGE_MPD_FAAD2 + bool "faad2" + select BR2_PACKAGE_FAAD2 + help + Enable faad2 input support. + Select this if you want to play back MP4/AAC files. + +config BR2_PACKAGE_MPD_FFMPEG + bool "ffmpeg" + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + select BR2_PACKAGE_FFMPEG + help + Enable ffmpeg input support. + Select this if you want to play back files supported by + ffmpeg. + +config BR2_PACKAGE_MPD_FLAC + bool "flac" + select BR2_PACKAGE_FLAC + help + Enable flac input/streaming support. + Select this if you want to play back FLAC files. + +config BR2_PACKAGE_MPD_FLUIDSYNTH + bool "fluidsynth" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_FLUIDSYNTH + help + Enable fluidsynth MIDI decoder support. + +comment "fluidsynth support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_MPD_LIBSNDFILE + bool "libsndfile" + select BR2_PACKAGE_LIBSNDFILE + help + Enable libsndfile input/streaming support. + Select this if you want to play back WAV files. + +config BR2_PACKAGE_MPD_MAD + bool "mad" + default y + select BR2_PACKAGE_LIBID3TAG + select BR2_PACKAGE_LIBMAD + help + Enable mad input support. + Select this if you want to play back MP3 files. + +config BR2_PACKAGE_MPD_MODPLUG + bool "modplug" + select BR2_PACKAGE_LIBMODPLUG + help + Enable Modplug decoder support. + +config BR2_PACKAGE_MPD_MPG123 + bool "mpg123" + select BR2_PACKAGE_LIBID3TAG + select BR2_PACKAGE_MPG123 + help + Enable mpg123 input support. + Select this if you want to play back MP3 files. + +config BR2_PACKAGE_MPD_MUSEPACK + bool "musepack" + select BR2_PACKAGE_LIBCUEFILE + select BR2_PACKAGE_LIBREPLAYGAIN + select BR2_PACKAGE_MUSEPACK + help + Enable musepack input support. + Select this if you want to play back MPC files. + +config BR2_PACKAGE_MPD_OPUS + bool "opus" + select BR2_PACKAGE_OPUS + select BR2_PACKAGE_LIBOGG + help + Enable opus input support. + Select this if you want to play back OPUS encoded files. + +config BR2_PACKAGE_MPD_SIDPLAY + bool "sidplay" + select BR2_PACKAGE_LIBSIDPLAY2 + help + Enable C64 SID support. + +config BR2_PACKAGE_MPD_TREMOR + bool "tremor" + depends on !BR2_PACKAGE_MPD_VORBIS + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_TREMOR + help + Enable vorbis input support. + Select this if you want to play back OGG files on softfloat + targets. + +config BR2_PACKAGE_MPD_VORBIS + bool "vorbis" + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_LIBVORBIS + help + Enable vorbis input/streaming support. + Select this if you want to play back OGG files on hardfloat + targets. + +config BR2_PACKAGE_MPD_WAVPACK + bool "wavpack" + select BR2_PACKAGE_WAVPACK + help + Enable wavpack input support. + Select this if you want to play back WV files. + +comment "Encoder plugins" + +config BR2_PACKAGE_MPD_LAME + bool "lame" + select BR2_PACKAGE_LAME + help + Enable lame (mp3) encoding support. + +config BR2_PACKAGE_MPD_TWOLAME + bool "twolame" + select BR2_PACKAGE_TWOLAME + help + Enable TwoLAME mp2 encoding. + +comment "Input plugins" + +config BR2_PACKAGE_MPD_CDIO_PARANOIA + bool "cdio-paranoia" + select BR2_PACKAGE_LIBCDIO_PARANOIA + help + Enable cdio-paranoia support. + +config BR2_PACKAGE_MPD_CURL + bool "curl" + select BR2_PACKAGE_LIBCURL + help + Enable curl streaming (http) support. + +config BR2_PACKAGE_MPD_LIBMMS + bool "mms" + select BR2_PACKAGE_LIBMMS + help + Enable MMS support. + +config BR2_PACKAGE_MPD_LIBNFS + bool "nfs" + # libnfs -> libtirpc + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC || BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBNFS + help + Enable Network File System (NFS) support. + +comment "nfs support needs a toolchain w/ threads support" + depends on !(BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_HAS_NATIVE_RPC) + +comment "samba support needs a glibc toolchain w/ dynamic library, RPC" + depends on !BR2_nios2 + depends on !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_NATIVE_RPC + +config BR2_PACKAGE_MPD_LIBSMBCLIENT + bool "samba" + depends on !BR2_nios2 # samba + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_SAMBA4 + help + Enable Samba support. + +comment "Output plugins" + +config BR2_PACKAGE_MPD_ALSA + bool "alsa" + default y + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_PCM + select BR2_PACKAGE_ALSA_LIB_MIXER + help + Enable alsa output support. + +config BR2_PACKAGE_MPD_AO + bool "ao" + select BR2_PACKAGE_LIBAO + help + Enable libao output support. + +config BR2_PACKAGE_MPD_HTTPD_OUTPUT + bool "httpd output" + help + Enable httpd output support. + +config BR2_PACKAGE_MPD_JACK2 + bool "jack2" + depends on !BR2_STATIC_LIBS # jack2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_JACK2 + help + Enable jack output support. + +comment "jack support needs a toolchain w/ dynamic library" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_MPD_OPENAL + bool "openal" + depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_PACKAGE_OPENAL + help + Enable OpenAL output support. + +comment "openal support needs a toolchain w/ NPTL" + depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL + +config BR2_PACKAGE_MPD_OSS + bool "oss" + help + Enable OSS (Open Sound System) output support. + +config BR2_PACKAGE_MPD_PULSEAUDIO + bool "pulseaudio" + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU + select BR2_PACKAGE_PULSEAUDIO + help + Enable pulseaudio output support. + +comment "pulseaudio support needs a toolchain w/ threads, wchar, dynamic library" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || !BR2_USE_WCHAR + +config BR2_PACKAGE_MPD_SHOUTCAST + bool "shoutcast" + select BR2_PACKAGE_LIBSHOUT + help + Enable shoutcast streaming output support. + +comment "Miscellaneous plugins" + +config BR2_PACKAGE_MPD_AVAHI_SUPPORT + bool "avahi (zeroconf) support" + depends on !BR2_STATIC_LIBS # avahi + select BR2_PACKAGE_AVAHI + select BR2_PACKAGE_AVAHI_DAEMON + select BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY + help + Enable Avahi (zeroconf) support. + Select this for multicast DNS/DNS-SD service discovery + support. This allows MPD to publish service information on a + local network. + +comment "avahi support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_MPD_LIBMPDCLIENT + bool "libmpdclient" + select BR2_PACKAGE_LIBMPDCLIENT + help + Enable libmpdclient support. + +config BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT + bool "neighbor discovery support" + depends on BR2_PACKAGE_MPD_LIBSMBCLIENT || !BR2_PACKAGE_MPD_UPNP_DISABLED + help + Enable support for neighbor discovery. + This option can be used in conjunction with the smbclient + plugin to provide a list of SMB/CIFS servers or with the + UPnP plugin to provide a list of UPnP servers on the local + network. The neighbor plugin needs configuration in + mpd.conf. For further information take a look at the MPD + documentation. + +config BR2_PACKAGE_MPD_TCP + bool "tcp sockets" + default y + help + Enable MPD to listen on tcp sockets. + + You want this on if MPD and the client(s) work + on different machines (the usual scenario). + +choice + prompt "UPnP" + default BR2_PACKAGE_MPD_UPNP_PUPNP if BR2_PACKAGE_MPD_UPNP # legacy + default BR2_PACKAGE_MPD_UPNP_DISABLED + help + Enable MPD to access a UPnP based media server. + + For further information, see + https://www.lesbonscomptes.com/upmpdcli/pages/upmpdcli-or-mpdupnp.html + +config BR2_PACKAGE_MPD_UPNP_PUPNP + bool "pupnp" + select BR2_PACKAGE_EXPAT + select BR2_PACKAGE_LIBUPNP + select BR2_PACKAGE_MPD_CURL + help + Provides UPnP database access through libupnp + (the legacy Portable SDK for UPnP devices). + + Introduces least additional dependencies. + +config BR2_PACKAGE_MPD_UPNP_NPUPNP + bool "npupnp" + select BR2_PACKAGE_LIBNPUPNP + select BR2_PACKAGE_MPD_CURL + help + Provides UPnP database access through libnpupnp + (a C++ reimplementation of the Portable UPnP library). + + This implementation is more modern, but also brings + additional features not needed in this context, thus + consuming more space. + +config BR2_PACKAGE_MPD_UPNP_DISABLED + bool "disabled" + help + No UPnP client functionality. + +endchoice + +comment "Tag plugins" + +config BR2_PACKAGE_MPD_ID3TAG + bool "id3tag" + select BR2_PACKAGE_LIBID3TAG + help + Enable ID3 support. + +endif + +comment "mpd needs a toolchain w/ C++, threads, wchar, gcc >= 8, host gcc >= 8" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ + !BR2_HOST_GCC_AT_LEAST_8 diff --git a/buildroot-2021.05/package/mpd/S95mpd b/buildroot-2022.02.1/package/mpd/S95mpd similarity index 100% rename from buildroot-2021.05/package/mpd/S95mpd rename to buildroot-2022.02.1/package/mpd/S95mpd diff --git a/buildroot-2021.05/package/mpd/mpd.conf b/buildroot-2022.02.1/package/mpd/mpd.conf similarity index 100% rename from buildroot-2021.05/package/mpd/mpd.conf rename to buildroot-2022.02.1/package/mpd/mpd.conf diff --git a/buildroot-2022.02.1/package/mpd/mpd.hash b/buildroot-2022.02.1/package/mpd/mpd.hash new file mode 100644 index 00000000..b09140ab --- /dev/null +++ b/buildroot-2022.02.1/package/mpd/mpd.hash @@ -0,0 +1,3 @@ +# Locally calculated after checking pgp signature +sha256 cbc5928ee3ee1ef7ff6a58f6ba4afaee16c07e9eb42d0107bcc098010f4f26ed mpd-0.23.6.tar.xz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/mpd/mpd.mk b/buildroot-2022.02.1/package/mpd/mpd.mk new file mode 100644 index 00000000..12da3609 --- /dev/null +++ b/buildroot-2022.02.1/package/mpd/mpd.mk @@ -0,0 +1,346 @@ +################################################################################ +# +# mpd +# +################################################################################ + +MPD_VERSION_MAJOR = 0.23 +MPD_VERSION = $(MPD_VERSION_MAJOR).6 +MPD_SOURCE = mpd-$(MPD_VERSION).tar.xz +MPD_SITE = https://www.musicpd.org/download/mpd/$(MPD_VERSION_MAJOR) +MPD_DEPENDENCIES = host-pkgconf boost fmt +MPD_LICENSE = GPL-2.0+ +MPD_LICENSE_FILES = COPYING +# these refer to the FreeBSD PPP daemon +MPD_IGNORE_CVES = CVE-2020-7465 CVE-2020-7466 +MPD_SELINUX_MODULES = mpd +MPD_CONF_OPTS = \ + -Daudiofile=disabled \ + -Ddocumentation=disabled \ + -Dopenmpt=disabled \ + -Dpipewire=disabled \ + -Dsnapcast=false + +# Zeroconf support depends on libdns_sd from avahi. +ifeq ($(BR2_PACKAGE_MPD_AVAHI_SUPPORT),y) +MPD_DEPENDENCIES += avahi +MPD_CONF_OPTS += -Dzeroconf=avahi +else +MPD_CONF_OPTS += -Dzeroconf=disabled +endif + +# MPD prefers libicu for utf8 collation instead of libglib2. +ifeq ($(BR2_PACKAGE_ICU),y) +MPD_DEPENDENCIES += icu +MPD_CONF_OPTS += -Dicu=enabled +else +MPD_CONF_OPTS += -Dicu=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_ALSA),y) +MPD_DEPENDENCIES += alsa-lib +MPD_CONF_OPTS += -Dalsa=enabled +else +MPD_CONF_OPTS += -Dalsa=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_AO),y) +MPD_DEPENDENCIES += libao +MPD_CONF_OPTS += -Dao=enabled +else +MPD_CONF_OPTS += -Dao=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_BZIP2),y) +MPD_DEPENDENCIES += bzip2 +MPD_CONF_OPTS += -Dbzip2=enabled +else +MPD_CONF_OPTS += -Dbzip2=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_CDIO_PARANOIA),y) +MPD_DEPENDENCIES += libcdio-paranoia +MPD_CONF_OPTS += -Dcdio_paranoia=enabled +else +MPD_CONF_OPTS += -Dcdio_paranoia=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_CURL),y) +MPD_DEPENDENCIES += libcurl +MPD_CONF_OPTS += -Dcurl=enabled +else +MPD_CONF_OPTS += -Dcurl=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_DSD),y) +MPD_CONF_OPTS += -Ddsd=true +else +MPD_CONF_OPTS += -Ddsd=false +endif + +ifeq ($(BR2_PACKAGE_MPD_FAAD2),y) +MPD_DEPENDENCIES += faad2 +MPD_CONF_OPTS += -Dfaad=enabled +else +MPD_CONF_OPTS += -Dfaad=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_FFMPEG),y) +MPD_DEPENDENCIES += ffmpeg +MPD_CONF_OPTS += -Dffmpeg=enabled +else +MPD_CONF_OPTS += -Dffmpeg=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_FLAC),y) +MPD_DEPENDENCIES += flac +MPD_CONF_OPTS += -Dflac=enabled +else +MPD_CONF_OPTS += -Dflac=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_FLUIDSYNTH),y) +MPD_DEPENDENCIES += fluidsynth +MPD_CONF_OPTS += -Dfluidsynth=enabled +else +MPD_CONF_OPTS += -Dfluidsynth=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_HTTPD_OUTPUT),y) +MPD_CONF_OPTS += -Dhttpd=true +else +MPD_CONF_OPTS += -Dhttpd=false +endif + +ifeq ($(BR2_PACKAGE_MPD_ID3TAG),y) +MPD_DEPENDENCIES += libid3tag +MPD_CONF_OPTS += -Did3tag=enabled +else +MPD_CONF_OPTS += -Did3tag=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_JACK2),y) +MPD_DEPENDENCIES += jack2 +MPD_CONF_OPTS += -Djack=enabled +else +MPD_CONF_OPTS += -Djack=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_LAME),y) +MPD_DEPENDENCIES += lame +MPD_CONF_OPTS += -Dlame=enabled +else +MPD_CONF_OPTS += -Dlame=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_LIBMPDCLIENT),y) +MPD_DEPENDENCIES += libmpdclient +MPD_CONF_OPTS += -Dlibmpdclient=enabled +else +MPD_CONF_OPTS += -Dlibmpdclient=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_LIBMMS),y) +MPD_DEPENDENCIES += libmms +MPD_CONF_OPTS += -Dmms=enabled +else +MPD_CONF_OPTS += -Dmms=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_LIBNFS),y) +MPD_DEPENDENCIES += libnfs +MPD_CONF_OPTS += -Dnfs=enabled +else +MPD_CONF_OPTS += -Dnfs=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_LIBSMBCLIENT),y) +MPD_DEPENDENCIES += samba4 +MPD_CONF_OPTS += -Dsmbclient=enabled +else +MPD_CONF_OPTS += -Dsmbclient=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_LIBSAMPLERATE),y) +MPD_DEPENDENCIES += libsamplerate +MPD_CONF_OPTS += -Dlibsamplerate=enabled +else +MPD_CONF_OPTS += -Dlibsamplerate=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_LIBSNDFILE),y) +MPD_DEPENDENCIES += libsndfile +MPD_CONF_OPTS += -Dsndfile=enabled +else +MPD_CONF_OPTS += -Dsndfile=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_LIBSOXR),y) +MPD_DEPENDENCIES += libsoxr +MPD_CONF_OPTS += -Dsoxr=enabled +else +MPD_CONF_OPTS += -Dsoxr=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_MAD),y) +MPD_DEPENDENCIES += libid3tag libmad +MPD_CONF_OPTS += -Dmad=enabled +else +MPD_CONF_OPTS += -Dmad=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_MODPLUG),y) +MPD_DEPENDENCIES += libmodplug +MPD_CONF_OPTS += -Dmodplug=enabled +else +MPD_CONF_OPTS += -Dmodplug=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_MPG123),y) +MPD_DEPENDENCIES += libid3tag mpg123 +MPD_CONF_OPTS += -Dmpg123=enabled +else +MPD_CONF_OPTS += -Dmpg123=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_MUSEPACK),y) +MPD_DEPENDENCIES += musepack +MPD_CONF_OPTS += -Dmpcdec=enabled +else +MPD_CONF_OPTS += -Dmpcdec=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_NEIGHBOR_DISCOVERY_SUPPORT),y) +MPD_CONF_OPTS += -Dneighbor=true +else +MPD_CONF_OPTS += -Dneighbor=false +endif + +ifeq ($(BR2_PACKAGE_MPD_OPENAL),y) +MPD_DEPENDENCIES += openal +MPD_CONF_OPTS += -Dopenal=enabled +else +MPD_CONF_OPTS += -Dopenal=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_OPUS),y) +MPD_DEPENDENCIES += opus libogg +MPD_CONF_OPTS += -Dopus=enabled +else +MPD_CONF_OPTS += -Dopus=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_OSS),y) +MPD_CONF_OPTS += -Doss=enabled +else +MPD_CONF_OPTS += -Doss=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_PULSEAUDIO),y) +MPD_DEPENDENCIES += pulseaudio +MPD_CONF_OPTS += -Dpulse=enabled +else +MPD_CONF_OPTS += -Dpulse=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_QOBUZ),y) +MPD_DEPENDENCIES += libgcrypt yajl +MPD_CONF_OPTS += -Dqobuz=enabled +else +MPD_CONF_OPTS += -Dqobuz=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_SHOUTCAST),y) +MPD_DEPENDENCIES += libshout +MPD_CONF_OPTS += -Dshout=enabled +else +MPD_CONF_OPTS += -Dshout=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_SIDPLAY),y) +MPD_DEPENDENCIES += libsidplay2 +MPD_CONF_OPTS += -Dsidplay=enabled +else +MPD_CONF_OPTS += -Dsidplay=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_SOUNDCLOUD),y) +MPD_DEPENDENCIES += yajl +MPD_CONF_OPTS += -Dsoundcloud=enabled +else +MPD_CONF_OPTS += -Dsoundcloud=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_SQLITE),y) +MPD_DEPENDENCIES += sqlite +MPD_CONF_OPTS += -Dsqlite=enabled +else +MPD_CONF_OPTS += -Dsqlite=disabled +endif + +ifneq ($(BR2_PACKAGE_MPD_TCP),y) +MPD_CONF_OPTS += -Dtcp=true +endif + +ifeq ($(BR2_PACKAGE_MPD_TREMOR),y) +MPD_DEPENDENCIES += tremor +MPD_CONF_OPTS += -Dtremor=enabled +else +MPD_CONF_OPTS += -Dtremor=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_TWOLAME),y) +MPD_DEPENDENCIES += twolame +MPD_CONF_OPTS += -Dtwolame=enabled +else +MPD_CONF_OPTS += -Dtwolame=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_UPNP_PUPNP),y) +MPD_DEPENDENCIES += \ + expat \ + libupnp +MPD_CONF_OPTS += -Dupnp=pupnp +else ifeq ($(BR2_PACKAGE_MPD_UPNP_NPUPNP),y) +MPD_DEPENDENCIES += \ + libnpupnp +MPD_CONF_OPTS += -Dupnp=npupnp +else ifeq ($(BR2_PACKAGE_MPD_UPNP_DISABLED),y) +MPD_CONF_OPTS += -Dupnp=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_VORBIS),y) +MPD_DEPENDENCIES += libvorbis +MPD_CONF_OPTS += -Dvorbis=enabled -Dvorbisenc=enabled +else +MPD_CONF_OPTS += -Dvorbis=disabled -Dvorbisenc=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_WAVPACK),y) +MPD_DEPENDENCIES += wavpack +MPD_CONF_OPTS += -Dwavpack=enabled +else +MPD_CONF_OPTS += -Dwavpack=disabled +endif + +ifeq ($(BR2_PACKAGE_MPD_ZZIP),y) +MPD_DEPENDENCIES += zziplib +MPD_CONF_OPTS += -Dzzip=enabled +else +MPD_CONF_OPTS += -Dzzip=disabled +endif + +define MPD_INSTALL_EXTRA_FILES + $(INSTALL) -m 0644 -D package/mpd/mpd.conf $(TARGET_DIR)/etc/mpd.conf + mkdir -p $(TARGET_DIR)/var/lib/mpd/music + mkdir -p $(TARGET_DIR)/var/lib/mpd/playlists +endef + +MPD_POST_INSTALL_TARGET_HOOKS += MPD_INSTALL_EXTRA_FILES + +define MPD_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/mpd/S95mpd \ + $(TARGET_DIR)/etc/init.d/S95mpd +endef + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/mpdecimal/Config.in b/buildroot-2022.02.1/package/mpdecimal/Config.in similarity index 100% rename from buildroot-2021.05/package/mpdecimal/Config.in rename to buildroot-2022.02.1/package/mpdecimal/Config.in diff --git a/buildroot-2022.02.1/package/mpdecimal/mpdecimal.hash b/buildroot-2022.02.1/package/mpdecimal/mpdecimal.hash new file mode 100644 index 00000000..81150c75 --- /dev/null +++ b/buildroot-2022.02.1/package/mpdecimal/mpdecimal.hash @@ -0,0 +1,4 @@ +# From http://www.bytereef.org/mpdecimal/download.html +sha256 9f9cd4c041f99b5c49ffb7b59d9f12d95b683d88585608aa56a6307667b2b21f mpdecimal-2.5.1.tar.gz +# Locally computed +sha256 b07528d8b1dbf1e2d2741052996f0876e23342ce2d30d0effa39c5457716c25a LICENSE.txt diff --git a/buildroot-2022.02.1/package/mpdecimal/mpdecimal.mk b/buildroot-2022.02.1/package/mpdecimal/mpdecimal.mk new file mode 100644 index 00000000..aa322df3 --- /dev/null +++ b/buildroot-2022.02.1/package/mpdecimal/mpdecimal.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# mpdecimal +# +################################################################################ + +MPDECIMAL_SITE = http://www.bytereef.org/software/mpdecimal/releases +MPDECIMAL_VERSION = 2.5.1 +MPDECIMAL_INSTALL_STAGING = YES +MPDECIMAL_LICENSE = BSD-2-Clause +MPDECIMAL_LICENSE_FILES = LICENSE.txt +MPDECIMAL_CONF_OPTS = LD="$(TARGET_CC)" + +# threads are only needed for tests +MPDECIMAL_MAKE_OPTS = MPD_PTHREAD= + +# On i386, by default, mpdecimal tries to uses which is not +# available in musl/uclibc. So in this case, we tell mpdecimal to use +# the generic 32 bits code, which is anyway the one used on ARM, +# PowerPC, etc. +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) +ifeq ($(BR2_i386),y) +MPDECIMAL_CONF_ENV += MACHINE=ansi32 +endif +endif + +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +MPDECIMAL_CONF_OPTS += --enable-cxx +else +MPDECIMAL_CONF_OPTS += --disable-cxx +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mpfr/Config.in b/buildroot-2022.02.1/package/mpfr/Config.in similarity index 100% rename from buildroot-2021.05/package/mpfr/Config.in rename to buildroot-2022.02.1/package/mpfr/Config.in diff --git a/buildroot-2021.05/package/mpfr/mpfr.hash b/buildroot-2022.02.1/package/mpfr/mpfr.hash similarity index 100% rename from buildroot-2021.05/package/mpfr/mpfr.hash rename to buildroot-2022.02.1/package/mpfr/mpfr.hash diff --git a/buildroot-2021.05/package/mpfr/mpfr.mk b/buildroot-2022.02.1/package/mpfr/mpfr.mk similarity index 100% rename from buildroot-2021.05/package/mpfr/mpfr.mk rename to buildroot-2022.02.1/package/mpfr/mpfr.mk diff --git a/buildroot-2021.05/package/mpg123/Config.in b/buildroot-2022.02.1/package/mpg123/Config.in similarity index 100% rename from buildroot-2021.05/package/mpg123/Config.in rename to buildroot-2022.02.1/package/mpg123/Config.in diff --git a/buildroot-2022.02.1/package/mpg123/mpg123.hash b/buildroot-2022.02.1/package/mpg123/mpg123.hash new file mode 100644 index 00000000..e5fb09b4 --- /dev/null +++ b/buildroot-2022.02.1/package/mpg123/mpg123.hash @@ -0,0 +1,7 @@ +# From https://sourceforge.net/projects/mpg123/files/mpg123/1.25.15/ +sha1 286fcb83afad3ecbfea60434d3ee1b6d7f41bb7c mpg123-1.25.15.tar.bz2 +md5 9a050d4b3573661c606f8095a3f34ca3 mpg123-1.25.15.tar.bz2 +# Locally calculated +sha256 503a76d82d97f1a6513bbeb284e460a99fb17ef80f23a661d8fc026ce6adcbbc mpg123-1.25.15.tar.bz2 +# License file +sha256 f40e0dd86b27b52e429b693a87b3ca63ae0a98a4d142e77207aa6bdf1db7a295 COPYING diff --git a/buildroot-2022.02.1/package/mpg123/mpg123.mk b/buildroot-2022.02.1/package/mpg123/mpg123.mk new file mode 100644 index 00000000..fbb011c2 --- /dev/null +++ b/buildroot-2022.02.1/package/mpg123/mpg123.mk @@ -0,0 +1,84 @@ +################################################################################ +# +# mpg123 +# +################################################################################ + +MPG123_VERSION = 1.25.15 +MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2 +MPG123_SITE = http://downloads.sourceforge.net/project/mpg123/mpg123/$(MPG123_VERSION) +MPG123_INSTALL_STAGING = YES +MPG123_LICENSE = LGPL-2.1 +MPG123_LICENSE_FILES = COPYING +MPG123_CPE_ID_VENDOR = mpg123 +MPG123_DEPENDENCIES = host-pkgconf + +MPG123_CPU = $(if $(BR2_SOFT_FLOAT),generic_nofpu,generic_fpu) + +ifeq ($(BR2_aarch64),y) +MPG123_CPU = aarch64 +endif + +ifeq ($(BR2_arm),y) +ifeq ($(or $(BR2_ARM_CPU_HAS_NEON),$(BR2_ARM_CPU_HAS_VFPV2)),y) +MPG123_CPU = arm_fpu +else +MPG123_CPU = arm_nofpu +endif +endif + +ifeq ($(BR2_i386),y) +MPG123_CPU = x86 +endif + +ifeq ($(BR2_powerpc),y) +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) +MPG123_CPU = altivec +endif +ifeq ($(BR2_SOFT_FLOAT),y) +MPG123_CPU = ppc_nofpu +endif +endif # powerpc + +ifeq ($(BR2_x86_64),y) +MPG123_CPU = x86-64 +endif + +MPG123_CONF_OPTS += --with-cpu=$(MPG123_CPU) + +MPG123_AUDIO = dummy oss + +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +MPG123_AUDIO += portaudio +MPG123_CONF_OPTS += --with-default-audio=portaudio +MPG123_DEPENDENCIES += portaudio +# configure script does NOT use pkg-config to figure out how to link +# with portaudio, breaking static linking as portaudio uses pthreads +MPG123_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs portaudio-2.0`" +endif + +ifeq ($(BR2_PACKAGE_SDL),y) +MPG123_AUDIO += sdl +MPG123_CONF_OPTS += --with-default-audio=sdl +MPG123_DEPENDENCIES += sdl +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +MPG123_AUDIO += alsa +MPG123_CONF_OPTS += --with-default-audio=alsa +MPG123_DEPENDENCIES += alsa-lib +# configure script does NOT use pkg-config to figure out how to link +# with alsa, breaking static linking as alsa uses pthreads +MPG123_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs alsa`" +endif + +MPG123_CONF_OPTS += --with-audio=$(subst $(space),$(comma),$(MPG123_AUDIO)) + +# output modules are loaded with dlopen() +ifeq ($(BR2_STATIC_LIBS),y) +MPG123_CONF_OPTS += --disable-modules +else +MPG123_CONF_OPTS += --enable-modules +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mpir/0001-mpn-arm-udiv.asm-workaround-binutils-bug-14887.patch b/buildroot-2022.02.1/package/mpir/0001-mpn-arm-udiv.asm-workaround-binutils-bug-14887.patch similarity index 100% rename from buildroot-2021.05/package/mpir/0001-mpn-arm-udiv.asm-workaround-binutils-bug-14887.patch rename to buildroot-2022.02.1/package/mpir/0001-mpn-arm-udiv.asm-workaround-binutils-bug-14887.patch diff --git a/buildroot-2021.05/package/mpir/Config.in b/buildroot-2022.02.1/package/mpir/Config.in similarity index 100% rename from buildroot-2021.05/package/mpir/Config.in rename to buildroot-2022.02.1/package/mpir/Config.in diff --git a/buildroot-2021.05/package/mpir/mpir.hash b/buildroot-2022.02.1/package/mpir/mpir.hash similarity index 100% rename from buildroot-2021.05/package/mpir/mpir.hash rename to buildroot-2022.02.1/package/mpir/mpir.hash diff --git a/buildroot-2021.05/package/mpir/mpir.mk b/buildroot-2022.02.1/package/mpir/mpir.mk similarity index 100% rename from buildroot-2021.05/package/mpir/mpir.mk rename to buildroot-2022.02.1/package/mpir/mpir.mk diff --git a/buildroot-2021.05/package/mpv/0001-fix-powerpc64-altivec.patch b/buildroot-2022.02.1/package/mpv/0001-fix-powerpc64-altivec.patch similarity index 100% rename from buildroot-2021.05/package/mpv/0001-fix-powerpc64-altivec.patch rename to buildroot-2022.02.1/package/mpv/0001-fix-powerpc64-altivec.patch diff --git a/buildroot-2022.02.1/package/mpv/Config.in b/buildroot-2022.02.1/package/mpv/Config.in new file mode 100644 index 00000000..81b1e24b --- /dev/null +++ b/buildroot-2022.02.1/package/mpv/Config.in @@ -0,0 +1,41 @@ +config BR2_PACKAGE_MPV_SUPPORTS_VAAPI + bool + default y if BR2_PACKAGE_LIBDRM && BR2_PACKAGE_MESA3D_OPENGL_EGL + default y if BR2_PACKAGE_WAYLAND + default y if BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_MPV + bool "mpv" + depends on BR2_INSTALL_LIBSTDCPP # libass + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libass + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h + depends on BR2_TOOLCHAIN_HAS_ATOMIC + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_FFMPEG_SWSCALE + select BR2_PACKAGE_LIBASS + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_WAYLAND_PROTOCOLS if BR2_PACKAGE_WAYLAND + # Select xkbcommon for wayland to avoid being mysterious + select BR2_PACKAGE_LIBXKBCOMMON if BR2_PACKAGE_WAYLAND + # Select all necessary X11 dependencies if X.org is enabled + select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXINERAMA if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_XORG7 + help + mpv is a fork of mplayer2 and MPlayer. It shares some features + with the former projects while introducing many more. + + https://mpv.io/ + +comment "mpv needs a toolchain w/ C++, threads, gcc >= 4.9" + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/mpv/mpv.hash b/buildroot-2022.02.1/package/mpv/mpv.hash similarity index 100% rename from buildroot-2021.05/package/mpv/mpv.hash rename to buildroot-2022.02.1/package/mpv/mpv.hash diff --git a/buildroot-2022.02.1/package/mpv/mpv.mk b/buildroot-2022.02.1/package/mpv/mpv.mk new file mode 100644 index 00000000..ff77f248 --- /dev/null +++ b/buildroot-2022.02.1/package/mpv/mpv.mk @@ -0,0 +1,225 @@ +################################################################################ +# +# mpv +# +################################################################################ + +MPV_VERSION = 0.33.1 +MPV_SITE = $(call github,mpv-player,mpv,v$(MPV_VERSION)) +MPV_DEPENDENCIES = \ + host-pkgconf ffmpeg libass zlib \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) +MPV_LICENSE = GPL-2.0+ +MPV_LICENSE_FILES = LICENSE.GPL +MPV_CPE_ID_VENDOR = mpv +MPV_INSTALL_STAGING = YES + +MPV_NEEDS_EXTERNAL_WAF = YES + +# Some of these options need testing and/or tweaks +MPV_CONF_OPTS = \ + --prefix=/usr \ + --disable-android \ + --disable-caca \ + --disable-cocoa \ + --disable-coreaudio \ + --disable-cuda-hwaccel \ + --disable-opensles \ + --disable-rubberband \ + --disable-uchardet \ + --disable-vapoursynth + +ifeq ($(BR2_REPRODUCIBLE),y) +MPV_CONF_OPTS += --disable-build-date +endif + +ifeq ($(BR2_STATIC_LIBS),y) +MPV_CONF_OPTS += --disable-libmpv-shared --enable-libmpv-static +else +MPV_CONF_OPTS += --enable-libmpv-shared --disable-libmpv-static +endif + +# ALSA support requires pcm+mixer +ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER)$(BR2_PACKAGE_ALSA_LIB_PCM),yy) +MPV_CONF_OPTS += --enable-alsa +MPV_DEPENDENCIES += alsa-lib +else +MPV_CONF_OPTS += --disable-alsa +endif + +ifeq ($(BR2_PACKAGE_MESA3D_GBM),y) +MPV_CONF_OPTS += --enable-gbm +MPV_DEPENDENCIES += mesa3d +ifeq ($(BR2_PACKAGE_LIBDRM),y) +MPV_CONF_OPTS += --enable-egl-drm +else +MPV_CONF_OPTS += --disable-egl-drm +endif +else +MPV_CONF_OPTS += --disable-gbm --disable-egl-drm +endif + +# jack support +# It also requires 64-bit sync intrinsics +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_JACK2),yy) +MPV_CONF_OPTS += --enable-jack +MPV_DEPENDENCIES += jack2 +else +MPV_CONF_OPTS += --disable-jack +endif + +# jpeg support +ifeq ($(BR2_PACKAGE_JPEG),y) +MPV_CONF_OPTS += --enable-jpeg +MPV_DEPENDENCIES += jpeg +else +MPV_CONF_OPTS += --disable-jpeg +endif + +# lcms2 support +ifeq ($(BR2_PACKAGE_LCMS2),y) +MPV_CONF_OPTS += --enable-lcms2 +MPV_DEPENDENCIES += lcms2 +else +MPV_CONF_OPTS += --disable-lcms2 +endif + +# libarchive support +ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) +MPV_CONF_OPTS += --enable-libarchive +MPV_DEPENDENCIES += libarchive +else +MPV_CONF_OPTS += --disable-libarchive +endif + +# bluray support +ifeq ($(BR2_PACKAGE_LIBBLURAY),y) +MPV_CONF_OPTS += --enable-libbluray +MPV_DEPENDENCIES += libbluray +else +MPV_CONF_OPTS += --disable-libbluray +endif + +# libcdio-paranoia +ifeq ($(BR2_PACKAGE_LIBCDIO_PARANOIA),y) +MPV_CONF_OPTS += --enable-cdda +MPV_DEPENDENCIES += libcdio-paranoia +else +MPV_CONF_OPTS += --disable-cdda +endif + +# libdvdnav +ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) +MPV_CONF_OPTS += --enable-dvdnav +MPV_DEPENDENCIES += libdvdnav +else +MPV_CONF_OPTS += --disable-dvdnav +endif + +# libdrm +ifeq ($(BR2_PACKAGE_LIBDRM),y) +MPV_CONF_OPTS += --enable-drm +MPV_DEPENDENCIES += libdrm +else +MPV_CONF_OPTS += --disable-drm +endif + +# libvdpau +ifeq ($(BR2_PACKAGE_LIBVDPAU),y) +MPV_CONF_OPTS += --enable-vdpau +MPV_DEPENDENCIES += libvdpau +else +MPV_CONF_OPTS += --disable-vdpau +endif + +# LUA support, only for lua51/lua52/luajit +# This enables the controller (OSD) together with libass +ifeq ($(BR2_PACKAGE_LUA_5_1)$(BR2_PACKAGE_LUAJIT),y) +MPV_CONF_OPTS += --enable-lua +MPV_DEPENDENCIES += luainterpreter +else +MPV_CONF_OPTS += --disable-lua +endif + +# OpenGL support +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +MPV_CONF_OPTS += --enable-gl +MPV_DEPENDENCIES += libgl +else ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +MPV_CONF_OPTS += --enable-gl +MPV_DEPENDENCIES += libgles +else ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y) +MPV_CONF_OPTS += --enable-gl +MPV_DEPENDENCIES += libegl +else +MPV_CONF_OPTS += --disable-gl +endif + +# pulseaudio support +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +MPV_CONF_OPTS += --enable-pulse +MPV_DEPENDENCIES += pulseaudio +else +MPV_CONF_OPTS += --disable-pulse +endif + +# SDL support +# Sdl2 requires 64-bit sync intrinsics +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_8)$(BR2_PACKAGE_SDL2),yy) +MPV_CONF_OPTS += --enable-sdl2 +MPV_DEPENDENCIES += sdl2 +else +MPV_CONF_OPTS += --disable-sdl2 +endif + +# Raspberry Pi support +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +MPV_CONF_OPTS += --enable-rpi --enable-gl +MPV_DEPENDENCIES += rpi-userland +else +MPV_CONF_OPTS += --disable-rpi +endif + +# va-api support +ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_MPV_SUPPORTS_VAAPI),yy) +MPV_CONF_OPTS += --enable-vaapi +MPV_DEPENDENCIES += libva +ifeq ($(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_MESA3D_OPENGL_EGL),yy) +MPV_CONF_OPTS += --enable-vaapi-drm +else +MPV_CONF_OPTS += --disable-vaapi-drm +endif +else +MPV_CONF_OPTS += --disable-vaapi --disable-vaapi-drm +endif + +# wayland support +ifeq ($(BR2_PACKAGE_WAYLAND),y) +MPV_CONF_OPTS += --enable-wayland +MPV_DEPENDENCIES += libxkbcommon wayland wayland-protocols +else +MPV_CONF_OPTS += --disable-wayland +endif + +# Base X11 support. Config.in ensures that if BR2_PACKAGE_XORG7 is +# enabled, xlib_libX11, xlib_libXext, xlib_libXinerama, +# xlib_libXrandr, xlib_libXScrnSaver. +ifeq ($(BR2_PACKAGE_XORG7),y) +MPV_CONF_OPTS += --enable-x11 +MPV_DEPENDENCIES += xlib_libX11 xlib_libXext xlib_libXinerama xlib_libXrandr xlib_libXScrnSaver +# XVideo +ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y) +MPV_CONF_OPTS += --enable-xv +MPV_DEPENDENCIES += xlib_libXv +else +MPV_CONF_OPTS += --disable-xv +endif +else +MPV_CONF_OPTS += --disable-x11 +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +MPV_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -latomic" +endif + +$(eval $(waf-package)) diff --git a/buildroot-2022.02.1/package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch b/buildroot-2022.02.1/package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch new file mode 100644 index 00000000..110c020a --- /dev/null +++ b/buildroot-2022.02.1/package/mraa/0001-include-Declare-gVERSION-global-as-extern.patch @@ -0,0 +1,30 @@ +From aaa0a5cd4e401bde4fb3691dd4e6c70a5c61e031 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= +Date: Mon, 13 Apr 2020 20:12:11 +0200 +Subject: [PATCH] include: Declare gVERSION global as 'extern'. + +Fixes build with '-fno-common'. + +Signed-off-by: Thomas Ingleby +[Retrieved from: +https://github.com/eclipse/mraa/commit/aaa0a5cd4e401bde4fb3691dd4e6c70a5c61e031] +Signed-off-by: Fabrice Fontaine +--- + include/version.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/include/version.h b/include/version.h +index 47366ef6f..3a567a1d5 100644 +--- a/include/version.h ++++ b/include/version.h +@@ -11,8 +11,8 @@ + extern "C" { + #endif + +-const char* gVERSION; +-const char* gVERSION_SHORT; ++extern const char* gVERSION; ++extern const char* gVERSION_SHORT; + + #ifdef __cplusplus + } diff --git a/buildroot-2021.05/package/mraa/Config.in b/buildroot-2022.02.1/package/mraa/Config.in similarity index 100% rename from buildroot-2021.05/package/mraa/Config.in rename to buildroot-2022.02.1/package/mraa/Config.in diff --git a/buildroot-2022.02.1/package/mraa/mraa.hash b/buildroot-2022.02.1/package/mraa/mraa.hash new file mode 100644 index 00000000..321b6409 --- /dev/null +++ b/buildroot-2022.02.1/package/mraa/mraa.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 076669bee8423ffef3065735b293a329020be86630fea457174dbfcc67a0554a mraa-2.2.0.tar.gz +sha256 fac52622ed3badd86b34857b21777ab90296d6ccbc2ac0fd457c09fdeefa9ef1 COPYING diff --git a/buildroot-2022.02.1/package/mraa/mraa.mk b/buildroot-2022.02.1/package/mraa/mraa.mk new file mode 100644 index 00000000..47178a42 --- /dev/null +++ b/buildroot-2022.02.1/package/mraa/mraa.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# mraa +# +################################################################################ + +MRAA_VERSION = 2.2.0 +MRAA_SITE = $(call github,eclipse,mraa,v$(MRAA_VERSION)) +MRAA_LICENSE = MIT +MRAA_LICENSE_FILES = COPYING +MRAA_INSTALL_STAGING = YES + +ifeq ($(BR2_i386),y) +MRAA_ARCH = i386 +else ifeq ($(BR2_x86_64),y) +MRAA_ARCH = x86_64 +else ifeq ($(BR2_arm)$(BR2_armeb),y) +MRAA_ARCH = arm +else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) +MRAA_ARCH = aarch64 +else ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) +MRAA_ARCH = mips +endif + +# USBPLAT only makes sense with FTDI4222, which requires the ftd2xx library, +# which doesn't exist in buildroot +# Disable C++ as it is used only by FTDI4222 and tests +MRAA_CONF_OPTS += \ + -DBUILDARCH=$(MRAA_ARCH) \ + -DBUILDCPP=OFF \ + -DBUILDSWIG=OFF \ + -DUSBPLAT=OFF \ + -DFTDI4222=OFF \ + -DENABLEEXAMPLES=OFF \ + -DBUILDTESTS=OFF + +ifeq ($(BR2_PACKAGE_JSON_C),y) +MRAA_CONF_OPTS += -DJSONPLAT=ON +MRAA_DEPENDENCIES += json-c +else +MRAA_CONF_OPTS += -DJSONPLAT=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/mrouted/Config.in b/buildroot-2022.02.1/package/mrouted/Config.in new file mode 100644 index 00000000..95b4fb38 --- /dev/null +++ b/buildroot-2022.02.1/package/mrouted/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_MROUTED + bool "mrouted" + depends on BR2_USE_MMU # fork() + help + An implementation of the DVMRP multicast routing protocol. + Unlike PIM a DVMRP router has a distance vector protocol (like + RIP) built-in to figure out the reverse-path to the multicast + source. This package comes with mrouted and mroutectl. Where + the latter is used to query status and control operation. + + Note: at least two interfaces with MULTICAST flag is requried. + + http://github.com/troglobit/mrouted diff --git a/buildroot-2021.05/package/mrouted/S41mrouted b/buildroot-2022.02.1/package/mrouted/S41mrouted similarity index 100% rename from buildroot-2021.05/package/mrouted/S41mrouted rename to buildroot-2022.02.1/package/mrouted/S41mrouted diff --git a/buildroot-2022.02.1/package/mrouted/mrouted.hash b/buildroot-2022.02.1/package/mrouted/mrouted.hash new file mode 100644 index 00000000..affb323b --- /dev/null +++ b/buildroot-2022.02.1/package/mrouted/mrouted.hash @@ -0,0 +1,5 @@ +# From https://github.com/troglobit/mrouted/releases/download/4.4/mrouted-4.4.tar.gz.sha256 +sha256 095439e544d69c91ed64fa87db7e35bc2155eef48b7f268281d80946d2c6b953 mrouted-4.4.tar.gz + +# Locally calculated +sha256 834f45ed282fd010f354ecc0a50538af519a1cfcc4d2866de3be06982fa9ed29 LICENSE diff --git a/buildroot-2022.02.1/package/mrouted/mrouted.mk b/buildroot-2022.02.1/package/mrouted/mrouted.mk new file mode 100644 index 00000000..4014b8f8 --- /dev/null +++ b/buildroot-2022.02.1/package/mrouted/mrouted.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# mrouted +# +################################################################################ + +MROUTED_VERSION = 4.4 +MROUTED_SITE = \ + https://github.com/troglobit/mrouted/releases/download/$(MROUTED_VERSION) +MROUTED_DEPENDENCIES = host-bison +MROUTED_LICENSE = BSD-3-Clause +MROUTED_LICENSE_FILES = LICENSE +MROUTED_CPE_ID_VENDOR = troglobit + +define MROUTED_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/mrouted/S41mrouted \ + $(TARGET_DIR)/etc/init.d/S41mrouted +endef + +define MROUTED_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(@D)/mrouted.service \ + $(TARGET_DIR)/usr/lib/systemd/system/mrouted.service +endef + +# We will asume that CONFIG_NET and CONFIG_INET are already +# set in the kernel configuration provided by the user. +define MROUTED_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_MULTICAST) + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_MROUTE) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/mrp/Config.in b/buildroot-2022.02.1/package/mrp/Config.in new file mode 100644 index 00000000..ac42fa47 --- /dev/null +++ b/buildroot-2022.02.1/package/mrp/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_MRP + bool "mrp" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + select BR2_PACKAGE_LIBEV + select BR2_PACKAGE_LIBMNL + select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_CFM + help + This is the userspace application that configures the kernel + to run MRP protocol. The userspace application is made of 2 + applications, one daemon and a client. + + https://github.com/microchip-ung/mrp + +comment "mrp needs a toolchain w/ threads, kernel headers >= 5.0" + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 diff --git a/buildroot-2021.05/package/mrp/S65mrp b/buildroot-2022.02.1/package/mrp/S65mrp similarity index 100% rename from buildroot-2021.05/package/mrp/S65mrp rename to buildroot-2022.02.1/package/mrp/S65mrp diff --git a/buildroot-2022.02.1/package/mrp/mrp.hash b/buildroot-2022.02.1/package/mrp/mrp.hash new file mode 100644 index 00000000..47cf4618 --- /dev/null +++ b/buildroot-2022.02.1/package/mrp/mrp.hash @@ -0,0 +1,3 @@ +# locally calculated +sha256 2b960d14c861b4e0332f411440b41a9c1c06ecce8ed6197944a74b1c8279c1cc mrp-1.2.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/mrp/mrp.mk b/buildroot-2022.02.1/package/mrp/mrp.mk new file mode 100644 index 00000000..213afbcd --- /dev/null +++ b/buildroot-2022.02.1/package/mrp/mrp.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# mrp +# +################################################################################ + +MRP_VERSION = 1.2 +MRP_SITE = $(call github,microchip-ung,mrp,v$(MRP_VERSION)) +MRP_DEPENDENCIES = libev libmnl libnl cfm +MRP_LICENSE = GPL-2.0 +MRP_LICENSE_FILES = LICENSE + +define MRP_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D $(MRP_PKGDIR)/S65mrp \ + $(TARGET_DIR)/etc/init.d/S65mrp +endef + +define MRP_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(MRP_PKGDIR)/mrp.service \ + $(TARGET_DIR)/usr/lib/systemd/system/mrp.service +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/mrp/mrp.service b/buildroot-2022.02.1/package/mrp/mrp.service similarity index 100% rename from buildroot-2021.05/package/mrp/mrp.service rename to buildroot-2022.02.1/package/mrp/mrp.service diff --git a/buildroot-2021.05/package/msgpack/Config.in b/buildroot-2022.02.1/package/msgpack/Config.in similarity index 100% rename from buildroot-2021.05/package/msgpack/Config.in rename to buildroot-2022.02.1/package/msgpack/Config.in diff --git a/buildroot-2022.02.1/package/msgpack/msgpack.hash b/buildroot-2022.02.1/package/msgpack/msgpack.hash new file mode 100644 index 00000000..5d432ba0 --- /dev/null +++ b/buildroot-2022.02.1/package/msgpack/msgpack.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 6e114d12a5ddb8cb11f669f83f32246e484a8addd0ce93f274996f1941c1f07b msgpack-3.3.0.tar.gz +sha256 664550b43996452a5a2c7471bb0ff77185a58c69ccafa60f983dc4c162e1ee22 COPYING +sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE_1_0.txt diff --git a/buildroot-2022.02.1/package/msgpack/msgpack.mk b/buildroot-2022.02.1/package/msgpack/msgpack.mk new file mode 100644 index 00000000..996b5a2f --- /dev/null +++ b/buildroot-2022.02.1/package/msgpack/msgpack.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# msgpack +# +################################################################################ + +MSGPACK_VERSION = 3.3.0 +MSGPACK_SITE = https://github.com/msgpack/msgpack-c/releases/download/cpp-$(MSGPACK_VERSION) +MSGPACK_LICENSE = BSL-1.0 +MSGPACK_LICENSE_FILES = COPYING LICENSE_1_0.txt +MSGPACK_INSTALL_STAGING = YES +MSGPACK_CONF_OPTS = -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_BUILD_TESTS=OFF + +ifeq ($(BR2_STATIC_LIBS),y) +MSGPACK_CONF_OPTS += -DMSGPACK_ENABLE_SHARED=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/msmtp/Config.in b/buildroot-2022.02.1/package/msmtp/Config.in similarity index 100% rename from buildroot-2021.05/package/msmtp/Config.in rename to buildroot-2022.02.1/package/msmtp/Config.in diff --git a/buildroot-2021.05/package/msmtp/msmtp.hash b/buildroot-2022.02.1/package/msmtp/msmtp.hash similarity index 100% rename from buildroot-2021.05/package/msmtp/msmtp.hash rename to buildroot-2022.02.1/package/msmtp/msmtp.hash diff --git a/buildroot-2021.05/package/msmtp/msmtp.mk b/buildroot-2022.02.1/package/msmtp/msmtp.mk similarity index 100% rename from buildroot-2021.05/package/msmtp/msmtp.mk rename to buildroot-2022.02.1/package/msmtp/msmtp.mk diff --git a/buildroot-2021.05/package/msr-tools/Config.in b/buildroot-2022.02.1/package/msr-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/msr-tools/Config.in rename to buildroot-2022.02.1/package/msr-tools/Config.in diff --git a/buildroot-2021.05/package/msr-tools/msr-tools.hash b/buildroot-2022.02.1/package/msr-tools/msr-tools.hash similarity index 100% rename from buildroot-2021.05/package/msr-tools/msr-tools.hash rename to buildroot-2022.02.1/package/msr-tools/msr-tools.hash diff --git a/buildroot-2021.05/package/msr-tools/msr-tools.mk b/buildroot-2022.02.1/package/msr-tools/msr-tools.mk similarity index 100% rename from buildroot-2021.05/package/msr-tools/msr-tools.mk rename to buildroot-2022.02.1/package/msr-tools/msr-tools.mk diff --git a/buildroot-2022.02.1/package/mstpd/Config.in b/buildroot-2022.02.1/package/mstpd/Config.in new file mode 100644 index 00000000..5fe58597 --- /dev/null +++ b/buildroot-2022.02.1/package/mstpd/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_MSTPD + bool "mstpd" + help + Multiple Spanning Tree Protocol Daemon. + This package provides a user-space daemon which replaces + the STP handling that is built into the Linux kernel Ethernet + bridge and adds support for RSTP and PVST+. + + https://github.com/mstpd/mstpd diff --git a/buildroot-2022.02.1/package/mstpd/mstpd.hash b/buildroot-2022.02.1/package/mstpd/mstpd.hash new file mode 100644 index 00000000..64e946d6 --- /dev/null +++ b/buildroot-2022.02.1/package/mstpd/mstpd.hash @@ -0,0 +1,5 @@ +# locally computed +sha256 91a1862548b5b509caa2e96e5fb9912bc98d4d58cc98e99a577824735756c14d mstpd-0.0.9.tar.gz +sha256 03d1ff4ca189d54322562cb2891888768af719d2c73ceafa5f1ca96133dffeb2 mstpd-0.1.0.tar.gz +sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 LICENSE +sha256 c5cfd44652276184374adf454150d436ce958ce50acc4ef9ccb3605a5ca7a9d3 hmac_md5.c diff --git a/buildroot-2022.02.1/package/mstpd/mstpd.mk b/buildroot-2022.02.1/package/mstpd/mstpd.mk new file mode 100644 index 00000000..907d0942 --- /dev/null +++ b/buildroot-2022.02.1/package/mstpd/mstpd.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# mstpd +# +################################################################################ + +MSTPD_VERSION = 0.1.0 +MSTPD_SITE = $(call github,mstpd,mstpd,$(MSTPD_VERSION)) +MSTPD_AUTORECONF = YES +MSTPD_LICENSE = GPL-2.0, RSA Data Security (md5) +MSTPD_LICENSE_FILES = LICENSE hmac_md5.c + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/mtd/Config.in b/buildroot-2022.02.1/package/mtd/Config.in new file mode 100644 index 00000000..c45dd1e2 --- /dev/null +++ b/buildroot-2022.02.1/package/mtd/Config.in @@ -0,0 +1,225 @@ +config BR2_PACKAGE_MTD + bool "mtd, jffs2 and ubi/ubifs tools" + help + Build mtd, jffs2 and ubi/ubifs tools + + http://www.linux-mtd.infradead.org/ + +if BR2_PACKAGE_MTD + +# The two hidden options below match mtd configure script options +# --enable-jffs and --enable-ubifs + +config BR2_PACKAGE_MTD_JFFS_UTILS + bool + select BR2_PACKAGE_LZO + select BR2_PACKAGE_ZLIB + +config BR2_PACKAGE_MTD_UBIFS_UTILS + bool + select BR2_PACKAGE_LZO + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_ZLIB + +comment "MTD tools selection" + +config BR2_PACKAGE_MTD_DOCFDISK + bool "docfdisk" + +config BR2_PACKAGE_MTD_DOC_LOADBIOS + bool "doc_loadbios" + +config BR2_PACKAGE_MTD_FLASHCP + bool "flashcp" + default y + +config BR2_PACKAGE_MTD_FLASH_ERASE + bool "flash_erase" + default y + +config BR2_PACKAGE_MTD_FLASH_LOCK + bool "flash_lock" + default y + +config BR2_PACKAGE_MTD_FLASH_OTP_DUMP + bool "flash_otp_dump" + +config BR2_PACKAGE_MTD_FLASH_OTP_INFO + bool "flash_otp_info" + +config BR2_PACKAGE_MTD_FLASH_OTP_LOCK + bool "flash_otp_lock" + +config BR2_PACKAGE_MTD_FLASH_OTP_WRITE + bool "flash_otp_write" + +config BR2_PACKAGE_MTD_FLASH_OTP_ERASE + bool "flash_otp_erase" + +config BR2_PACKAGE_MTD_FLASH_UNLOCK + bool "flash_unlock" + default y + +config BR2_PACKAGE_MTD_FTL_CHECK + bool "ftl_check" + +config BR2_PACKAGE_MTD_FTL_FORMAT + bool "ftl_format" + +config BR2_PACKAGE_MTD_JFFS2DUMP + bool "jffs2dump" + select BR2_PACKAGE_MTD_JFFS_UTILS + +config BR2_PACKAGE_MTD_MKFSJFFS2 + bool "mkfs.jffs2" + select BR2_PACKAGE_MTD_JFFS_UTILS + +config BR2_PACKAGE_MTD_MKFSUBIFS + bool "mkfs.ubifs" + select BR2_PACKAGE_MTD_UBIFS_UTILS + +config BR2_PACKAGE_MTD_MTD_DEBUG + bool "mtd_debug" + default y + +config BR2_PACKAGE_MTD_MTDPART + bool "mtdpart" + +config BR2_PACKAGE_MTD_NANDDUMP + bool "nanddump" + default y + +config BR2_PACKAGE_MTD_NANDTEST + bool "nandtest" + default y + +config BR2_PACKAGE_MTD_NANDWRITE + bool "nandwrite" + default y + +config BR2_PACKAGE_MTD_NANDFLIPBITS + bool "nandflipbits" + +config BR2_PACKAGE_MTD_NFTLDUMP + bool "nftldump" + +config BR2_PACKAGE_MTD_NFTL_FORMAT + bool "nftl_format" + +config BR2_PACKAGE_MTD_RECV_IMAGE + bool "recv_image" + +config BR2_PACKAGE_MTD_RFDDUMP + bool "rfddump" + +config BR2_PACKAGE_MTD_RFDFORMAT + bool "rfdformat" + +config BR2_PACKAGE_MTD_SERVE_IMAGE + bool "serve_image" + +config BR2_PACKAGE_MTD_SUMTOOL + bool "sumtool" + select BR2_PACKAGE_MTD_JFFS_UTILS + +config BR2_PACKAGE_MTD_MTDINFO + bool "mtdinfo" + default y + +config BR2_PACKAGE_MTD_UBIATTACH + bool "ubiattach" + default y + +config BR2_PACKAGE_MTD_UBICRC32 + bool "ubicrc32" + default y + +config BR2_PACKAGE_MTD_UBIDETACH + bool "ubidetach" + default y + +config BR2_PACKAGE_MTD_UBIFORMAT + bool "ubiformat" + default y + +config BR2_PACKAGE_MTD_UBIHEALTHD + bool "ubihealthd" + default y + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 # getrandom() + +comment "ubihealthd needs a toolchain w/ headers >= 3.17" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + +config BR2_PACKAGE_MTD_UBIMKVOL + bool "ubimkvol" + default y + +config BR2_PACKAGE_MTD_UBINFO + bool "ubinfo" + default y + +config BR2_PACKAGE_MTD_UBINIZE + bool "ubinize" + default y + +config BR2_PACKAGE_MTD_UBIRENAME + bool "ubirename" + default y + +config BR2_PACKAGE_MTD_UBIRMVOL + bool "ubirmvol" + default y + +config BR2_PACKAGE_MTD_UBIRSVOL + bool "ubirsvol" + default y + +config BR2_PACKAGE_MTD_UBIUPDATEVOL + bool "ubiupdatevol" + default y + +config BR2_PACKAGE_MTD_UBIBLOCK + bool "ubiblock" + default y + +config BR2_PACKAGE_MTD_TESTS + bool "MTD test tools" + depends on BR2_USE_MMU # fork() in fstests + depends on BR2_TOOLCHAIN_HAS_THREADS + help + Build and install tools for testing MTD devices and drivers. + +if BR2_PACKAGE_MTD_TESTS + +config BR2_PACKAGE_MTD_FLASH_READTEST + bool "flash_readtest" + +config BR2_PACKAGE_MTD_FLASH_SPEED + bool "flash_speed" + +config BR2_PACKAGE_MTD_FLASH_STRESS + bool "flash_stress" + +config BR2_PACKAGE_MTD_FLASH_TORTURE + bool "flash_torture" + +config BR2_PACKAGE_MTD_INTEGCK + bool "integck" + +config BR2_PACKAGE_MTD_NANDBITERRS + bool "nandbiterrs" + +config BR2_PACKAGE_MTD_NANDPAGETEST + bool "nandpagetest" + +config BR2_PACKAGE_MTD_NANDSUBPAGETEST + bool "nandsubpagetest" + +endif + +comment "MTD test tools need a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS + +endif diff --git a/buildroot-2021.05/package/mtd/Config.in.host b/buildroot-2022.02.1/package/mtd/Config.in.host similarity index 100% rename from buildroot-2021.05/package/mtd/Config.in.host rename to buildroot-2022.02.1/package/mtd/Config.in.host diff --git a/buildroot-2022.02.1/package/mtd/mtd.hash b/buildroot-2022.02.1/package/mtd/mtd.hash new file mode 100644 index 00000000..481788f8 --- /dev/null +++ b/buildroot-2022.02.1/package/mtd/mtd.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +# ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-2.1.3.tar.bz2.asc +sha256 11305a5daf6fc6ed85120695c8593290b577effb039adbfa63d35b4418ff5630 mtd-utils-2.1.3.tar.bz2 +sha256 dcc100d4161cc0b7177545ab6e47216f84857cda3843847c792a25289852dcaa COPYING diff --git a/buildroot-2022.02.1/package/mtd/mtd.mk b/buildroot-2022.02.1/package/mtd/mtd.mk new file mode 100644 index 00000000..45e7c0c6 --- /dev/null +++ b/buildroot-2022.02.1/package/mtd/mtd.mk @@ -0,0 +1,154 @@ +################################################################################ +# +# mtd +# +################################################################################ + +MTD_VERSION = 2.1.3 +MTD_SOURCE = mtd-utils-$(MTD_VERSION).tar.bz2 +MTD_SITE = ftp://ftp.infradead.org/pub/mtd-utils +MTD_LICENSE = GPL-2.0 +MTD_LICENSE_FILES = COPYING +MTD_CPE_ID_VENDOR = mtd-utils_project +MTD_CPE_ID_PRODUCT = mtd-utils +MTD_INSTALL_STAGING = YES + +MTD_LDFLAGS = $(TARGET_LDFLAGS) + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +MTD_DEPENDENCIES += libexecinfo +MTD_LDFLAGS += -lexecinfo +endif + +MTD_CONF_ENV += LDFLAGS="$(MTD_LDFLAGS)" + +ifeq ($(BR2_PACKAGE_MTD_JFFS_UTILS),y) +MTD_DEPENDENCIES += zlib lzo host-pkgconf +MTD_CONF_OPTS += --with-jffs +else +MTD_CONF_OPTS += --without-jffs +endif + +ifeq ($(BR2_PACKAGE_MTD_UBIFS_UTILS),y) +MTD_DEPENDENCIES += util-linux zlib lzo host-pkgconf +MTD_CONF_OPTS += --with-ubifs +# crypto needs linux/hash_info.h +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12)$(BR2_PACKAGE_OPENSSL),yy) +MTD_DEPENDENCIES += openssl +MTD_CONF_OPTS += --with-crypto +else +MTD_CONF_OPTS += --without-crypto +endif +ifeq ($(BR2_PACKAGE_ZSTD),y) +MTD_DEPENDENCIES += zstd +MTD_CONF_OPTS += --with-zstd +else +MTD_CONF_OPTS += --without-zstd +endif +else +MTD_CONF_OPTS += --without-ubifs +endif + +ifeq ($(BR2_PACKAGE_MTD_UBIHEALTHD),y) +MTD_CONF_OPTS += --enable-ubihealthd +else +MTD_CONF_OPTS += --disable-ubihealthd +endif + +ifeq ($(BR2_PACKAGE_MTD_TESTS),y) +MTD_CONF_OPTS += --enable-tests +else +MTD_CONF_OPTS += --disable-tests +endif + +# If extended attributes are required, the acl package must +# also be enabled which will also include the attr package. +ifeq ($(BR2_PACKAGE_ACL),y) +MTD_DEPENDENCIES += acl +MTD_CONF_OPTS += --with-xattr +else +MTD_CONF_OPTS += --without-xattr +endif + +HOST_MTD_DEPENDENCIES = host-acl host-zlib host-lzo host-util-linux host-zstd +HOST_MTD_CONF_OPTS = \ + --with-jffs \ + --with-ubifs \ + --without-crypto \ + --disable-tests + +MKFS_JFFS2 = $(HOST_DIR)/sbin/mkfs.jffs2 +SUMTOOL = $(HOST_DIR)/sbin/sumtool + +MTD_TARGETS_$(BR2_PACKAGE_MTD_DOCFDISK) += docfdisk +MTD_TARGETS_$(BR2_PACKAGE_MTD_DOC_LOADBIOS) += doc_loadbios +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASHCP) += flashcp +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_ERASE) += flash_erase +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_LOCK) += flash_lock +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_DUMP) += flash_otp_dump +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_INFO) += flash_otp_info +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_LOCK) += flash_otp_lock +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_WRITE) += flash_otp_write +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_OTP_ERASE) += flash_otp_erase +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_UNLOCK) += flash_unlock +MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_CHECK) += ftl_check +MTD_TARGETS_$(BR2_PACKAGE_MTD_FTL_FORMAT) += ftl_format +MTD_TARGETS_$(BR2_PACKAGE_MTD_JFFS2DUMP) += jffs2dump +MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSJFFS2) += mkfs.jffs2 +MTD_TARGETS_$(BR2_PACKAGE_MTD_MTD_DEBUG) += mtd_debug +MTD_TARGETS_$(BR2_PACKAGE_MTD_MTDPART) += mtdpart +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDDUMP) += nanddump +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDTEST) += nandtest +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDWRITE) += nandwrite +MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTLDUMP) += nftldump +MTD_TARGETS_$(BR2_PACKAGE_MTD_NFTL_FORMAT) += nftl_format +MTD_TARGETS_$(BR2_PACKAGE_MTD_RECV_IMAGE) += recv_image +MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDDUMP) += rfddump +MTD_TARGETS_$(BR2_PACKAGE_MTD_RFDFORMAT) += rfdformat +MTD_TARGETS_$(BR2_PACKAGE_MTD_SERVE_IMAGE) += serve_image +MTD_TARGETS_$(BR2_PACKAGE_MTD_SUMTOOL) += sumtool +MTD_TARGETS_$(BR2_PACKAGE_MTD_MTDINFO) += mtdinfo +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIATTACH) += ubiattach +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBICRC32) += ubicrc32 +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIDETACH) += ubidetach +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIFORMAT) += ubiformat +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIHEALTHD) += ubihealthd +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIMKVOL) += ubimkvol +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBINFO) += ubinfo +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBINIZE) += ubinize +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIRENAME) += ubirename +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIRMVOL) += ubirmvol +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIRSVOL) += ubirsvol +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIUPDATEVOL) += ubiupdatevol +MTD_TARGETS_$(BR2_PACKAGE_MTD_UBIBLOCK) += ubiblock +MTD_TARGETS_$(BR2_PACKAGE_MTD_MKFSUBIFS) += mkfs.ubifs +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_READTEST) += flash_readtest +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_SPEED) += flash_speed +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_STRESS) += flash_stress +MTD_TARGETS_$(BR2_PACKAGE_MTD_FLASH_TORTURE) += flash_torture +MTD_TARGETS_$(BR2_PACKAGE_MTD_INTEGCK) += integck +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDBITERRS) += nandbiterrs +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDPAGETEST) += nandpagetest +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDSUBPAGETEST) += nandsubpagetest +MTD_TARGETS_$(BR2_PACKAGE_MTD_NANDFLIPBITS) += nandflipbits + +define MTD_INSTALL_TARGET_CMDS + $(foreach f,$(MTD_TARGETS_y), \ + $(INSTALL) -D -m 0755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(notdir $(f)) + ) +endef + +# Those libraries are not installed by "make install", but are needed +# by other packages, such as swupdate. +define MTD_INSTALL_LIBS + $(INSTALL) -D -m 0755 $(@D)/include/libmtd.h $(STAGING_DIR)/usr/include/libmtd.h + $(INSTALL) -D -m 0755 $(@D)/include/libubi.h $(STAGING_DIR)/usr/include/libubi.h + $(INSTALL) -D -m 0755 $(@D)/include/mtd/ubi-media.h $(STAGING_DIR)/usr/include/mtd/ubi-media.h + $(INSTALL) -D -m 0755 $(@D)/libmtd.a $(STAGING_DIR)/usr/lib/libmtd.a + $(INSTALL) -D -m 0755 $(@D)/libubi.a $(STAGING_DIR)/usr/lib/libubi.a +endef + +MTD_POST_INSTALL_STAGING_HOOKS += MTD_INSTALL_LIBS + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/mtdev/Config.in b/buildroot-2022.02.1/package/mtdev/Config.in similarity index 100% rename from buildroot-2021.05/package/mtdev/Config.in rename to buildroot-2022.02.1/package/mtdev/Config.in diff --git a/buildroot-2021.05/package/mtdev/mtdev.hash b/buildroot-2022.02.1/package/mtdev/mtdev.hash similarity index 100% rename from buildroot-2021.05/package/mtdev/mtdev.hash rename to buildroot-2022.02.1/package/mtdev/mtdev.hash diff --git a/buildroot-2021.05/package/mtdev/mtdev.mk b/buildroot-2022.02.1/package/mtdev/mtdev.mk similarity index 100% rename from buildroot-2021.05/package/mtdev/mtdev.mk rename to buildroot-2022.02.1/package/mtdev/mtdev.mk diff --git a/buildroot-2021.05/package/mtools/Config.in b/buildroot-2022.02.1/package/mtools/Config.in similarity index 100% rename from buildroot-2021.05/package/mtools/Config.in rename to buildroot-2022.02.1/package/mtools/Config.in diff --git a/buildroot-2021.05/package/mtools/Config.in.host b/buildroot-2022.02.1/package/mtools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/mtools/Config.in.host rename to buildroot-2022.02.1/package/mtools/Config.in.host diff --git a/buildroot-2022.02.1/package/mtools/mtools.hash b/buildroot-2022.02.1/package/mtools/mtools.hash new file mode 100644 index 00000000..a162bfdc --- /dev/null +++ b/buildroot-2022.02.1/package/mtools/mtools.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 7086821b399a39b8a3c5a372d064de4860f3c195b4911dd4e8b76219fcabe75c mtools-4.0.38.tar.lz + +# Locally calculated +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/mtools/mtools.mk b/buildroot-2022.02.1/package/mtools/mtools.mk new file mode 100644 index 00000000..c875814b --- /dev/null +++ b/buildroot-2022.02.1/package/mtools/mtools.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# mtools +# +################################################################################ + +MTOOLS_VERSION = 4.0.38 +MTOOLS_SOURCE = mtools-$(MTOOLS_VERSION).tar.lz +MTOOLS_SITE = $(BR2_GNU_MIRROR)/mtools +MTOOLS_LICENSE = GPL-3.0+ +MTOOLS_LICENSE_FILES = COPYING +MTOOLS_CONF_OPTS = --without-x +# info documentation not needed +MTOOLS_CONF_ENV = \ + ac_cv_func_setpgrp_void=yes \ + ac_cv_lib_bsd_gethostbyname=no \ + ac_cv_lib_bsd_main=no \ + ac_cv_path_INSTALL_INFO= + +HOST_MTOOLS_CONF_ENV = \ + ac_cv_lib_bsd_gethostbyname=no \ + ac_cv_lib_bsd_main=no \ + ac_cv_path_INSTALL_INFO= + +# link with iconv if enabled +ifeq ($(BR2_PACKAGE_LIBICONV),y) +MTOOLS_DEPENDENCIES += libiconv +MTOOLS_CONF_ENV += LIBS=-liconv +endif + +# Package does not build in parallel due to improper make rules +MTOOLS_MAKE = $(MAKE1) + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/mtr/Config.in b/buildroot-2022.02.1/package/mtr/Config.in similarity index 100% rename from buildroot-2021.05/package/mtr/Config.in rename to buildroot-2022.02.1/package/mtr/Config.in diff --git a/buildroot-2022.02.1/package/mtr/mtr.hash b/buildroot-2022.02.1/package/mtr/mtr.hash new file mode 100644 index 00000000..d6062ef0 --- /dev/null +++ b/buildroot-2022.02.1/package/mtr/mtr.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 ea036fdd45da488c241603f6ea59a06bbcfe6c26177ebd34fff54336a44494b8 mtr-0.94.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/mtr/mtr.mk b/buildroot-2022.02.1/package/mtr/mtr.mk new file mode 100644 index 00000000..07c58a1e --- /dev/null +++ b/buildroot-2022.02.1/package/mtr/mtr.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# mtr +# +################################################################################ + +MTR_VERSION = 0.94 +MTR_SITE = $(call github,traviscross,mtr,v$(MTR_VERSION)) +MTR_AUTORECONF = YES +MTR_DEPENDENCIES = \ + host-pkgconf \ + $(if $(BR2_PACKAGE_LIBCAP),libcap) +MTR_LICENSE = GPL-2.0 +MTR_LICENSE_FILES = COPYING +MTR_SELINUX_MODULES = netutils + +ifeq ($(BR2_PACKAGE_JANSSON),y) +MTR_CONF_OPTS += --with-jansson +MTR_DEPENDENCIES += jansson +else +MTR_CONF_OPTS += --without-jansson +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3),y) +MTR_CONF_OPTS += --with-gtk +MTR_DEPENDENCIES += libgtk3 +else +MTR_CONF_OPTS += --without-gtk +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) +MTR_CONF_OPTS += --with-ncurses +MTR_DEPENDENCIES += ncurses +else +MTR_CONF_OPTS += --without-ncurses +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/multicat/Config.in b/buildroot-2022.02.1/package/multicat/Config.in similarity index 100% rename from buildroot-2021.05/package/multicat/Config.in rename to buildroot-2022.02.1/package/multicat/Config.in diff --git a/buildroot-2021.05/package/multicat/multicat.hash b/buildroot-2022.02.1/package/multicat/multicat.hash similarity index 100% rename from buildroot-2021.05/package/multicat/multicat.hash rename to buildroot-2022.02.1/package/multicat/multicat.hash diff --git a/buildroot-2021.05/package/multicat/multicat.mk b/buildroot-2022.02.1/package/multicat/multicat.mk similarity index 100% rename from buildroot-2021.05/package/multicat/multicat.mk rename to buildroot-2022.02.1/package/multicat/multicat.mk diff --git a/buildroot-2021.05/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch b/buildroot-2022.02.1/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch similarity index 100% rename from buildroot-2021.05/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch rename to buildroot-2022.02.1/package/multipath-tools/0001-kpartx-libmultipath-use-pkg-config-to-get-path-to-he.patch diff --git a/buildroot-2021.05/package/multipath-tools/0002-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch b/buildroot-2022.02.1/package/multipath-tools/0002-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch similarity index 100% rename from buildroot-2021.05/package/multipath-tools/0002-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch rename to buildroot-2022.02.1/package/multipath-tools/0002-Makefile.inc-Enable-systemd-if-ENABLE_SYSTEMD-is-def.patch diff --git a/buildroot-2021.05/package/multipath-tools/Config.in b/buildroot-2022.02.1/package/multipath-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/multipath-tools/Config.in rename to buildroot-2022.02.1/package/multipath-tools/Config.in diff --git a/buildroot-2021.05/package/multipath-tools/S60multipathd b/buildroot-2022.02.1/package/multipath-tools/S60multipathd similarity index 100% rename from buildroot-2021.05/package/multipath-tools/S60multipathd rename to buildroot-2022.02.1/package/multipath-tools/S60multipathd diff --git a/buildroot-2022.02.1/package/multipath-tools/multipath-tools.hash b/buildroot-2022.02.1/package/multipath-tools/multipath-tools.hash new file mode 100644 index 00000000..f0638486 --- /dev/null +++ b/buildroot-2022.02.1/package/multipath-tools/multipath-tools.hash @@ -0,0 +1,7 @@ +# Locally computed: +sha256 ff45ddb18a1effbfbe5712f513dd3b7146c68141091fc1c2489af8d6197026ef multipath-tools-0.8.8.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0 +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSES/GPL-3.0 +sha256 b7993225104d90ddd8024fd838faf300bea5e83d91203eab98e29512acebd69c LICENSES/LGPL-2.0 +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1 +sha256 b1bd70cc61ab014cc2e744af6b117db481ef4fa5d59cb3a21d86059935c666df README.md diff --git a/buildroot-2022.02.1/package/multipath-tools/multipath-tools.mk b/buildroot-2022.02.1/package/multipath-tools/multipath-tools.mk new file mode 100644 index 00000000..eecfe390 --- /dev/null +++ b/buildroot-2022.02.1/package/multipath-tools/multipath-tools.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# multipath-tools +# +################################################################################ + +MULTIPATH_TOOLS_VERSION = 0.8.8 +MULTIPATH_TOOLS_SITE = $(call github,opensvc,multipath-tools,$(MULTIPATH_TOOLS_VERSION)) + +MULTIPATH_TOOLS_LICENSE = \ + LGPL-2.0 (default), \ + LGPL-2.1+ (libmpathcmd), \ + GPL-2.0+ (libmultipath), \ + GPL-3.0+ (libdmmp) +MULTIPATH_TOOLS_LICENSE_FILES = \ + LICENSES/GPL-2.0 \ + LICENSES/GPL-3.0 \ + LICENSES/LGPL-2.0 \ + LICENSES/LGPL-2.1 \ + README.md + +MULTIPATH_TOOLS_DEPENDENCIES = lvm2 json-c readline udev liburcu libaio host-pkgconf +MULTIPATH_TOOLS_MAKE_OPTS = \ + LIB="lib" \ + RUN="run" \ + OPTFLAGS="" \ + STACKPROT="" \ + WARNFLAGS="" + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +MULTIPATH_TOOLS_DEPENDENCIES += systemd +MULTIPATH_TOOLS_MAKE_OPTS += ENABLE_SYSTEMD=1 +endif + +define MULTIPATH_TOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(MULTIPATH_TOOLS_MAKE_OPTS) +endef + +define MULTIPATH_TOOLS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \ + $(MULTIPATH_TOOLS_MAKE_OPTS) DESTDIR="$(TARGET_DIR)" +endef + +define MULTIPATH_TOOLS_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/multipath-tools/S60multipathd \ + $(TARGET_DIR)/etc/init.d/S60multipathd +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/mupdf/0001-Makefile-add-an-install_libs-target.patch b/buildroot-2022.02.1/package/mupdf/0001-Makefile-add-an-install_libs-target.patch new file mode 100644 index 00000000..9cb5a2fe --- /dev/null +++ b/buildroot-2022.02.1/package/mupdf/0001-Makefile-add-an-install_libs-target.patch @@ -0,0 +1,41 @@ +From 0989f13ecbc2155b05da0cb091801d32d750d2d4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= + +Date: Thu, 29 Aug 2019 09:51:02 +0200 +Subject: [PATCH] Makefile: add an install_libs target. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This allows to install only the library files (if you need pymupdf but +not mupdf binaries for example). + +Signed-off-by: Raphaël Mélotte +--- + Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index c5bc541ac..e14f88526 100644 +--- a/Makefile ++++ b/Makefile +@@ -322,7 +322,7 @@ libs: $(INSTALL_LIBS) + tools: $(TOOL_APPS) + apps: $(TOOL_APPS) $(VIEW_APPS) + +-install: libs apps ++install_libs: + install -d $(DESTDIR)$(incdir)/mupdf + install -d $(DESTDIR)$(incdir)/mupdf/fitz + install -d $(DESTDIR)$(incdir)/mupdf/pdf +@@ -333,6 +333,7 @@ install: libs apps + install -d $(DESTDIR)$(libdir) + install -m 644 $(INSTALL_LIBS) $(DESTDIR)$(libdir) + ++install: libs apps install_libs + install -d $(DESTDIR)$(bindir) + install -m 755 $(TOOL_APPS) $(VIEW_APPS) $(DESTDIR)$(bindir) + +-- +2.21.0 + diff --git a/buildroot-2022.02.1/package/mupdf/0002-Bug-703366-Fix-double-free-of-object-during-linearization.patch b/buildroot-2022.02.1/package/mupdf/0002-Bug-703366-Fix-double-free-of-object-during-linearization.patch new file mode 100644 index 00000000..a4746961 --- /dev/null +++ b/buildroot-2022.02.1/package/mupdf/0002-Bug-703366-Fix-double-free-of-object-during-linearization.patch @@ -0,0 +1,52 @@ +From cee7cefc610d42fd383b3c80c12cbc675443176a Mon Sep 17 00:00:00 2001 +From: Robin Watts +Date: Fri, 22 Jan 2021 17:05:15 +0000 +Subject: [PATCH] Bug 703366: Fix double free of object during linearization. + +This appears to happen because we parse an illegal object from +a broken file and assign it to object 0, which is defined to +be free. + +Here, we fix the parsing code so this can't happen. + +[Retrieved from: +http://git.ghostscript.com/?p=mupdf.git;h=cee7cefc610d42fd383b3c80c12cbc675443176a] +Signed-off-by: Fabrice Fontaine +--- + source/pdf/pdf-parse.c | 6 ++++++ + source/pdf/pdf-xref.c | 2 ++ + 2 files changed, 8 insertions(+) + +diff --git a/source/pdf/pdf-parse.c b/source/pdf/pdf-parse.c +index 7abc8c3d4..5761c3351 100644 +--- a/source/pdf/pdf-parse.c ++++ b/source/pdf/pdf-parse.c +@@ -749,6 +749,12 @@ pdf_parse_ind_obj(fz_context *ctx, pdf_document *doc, + fz_throw(ctx, FZ_ERROR_SYNTAX, "expected generation number (%d ? obj)", num); + } + gen = buf->i; ++ if (gen < 0 || gen >= 65536) ++ { ++ if (try_repair) ++ *try_repair = 1; ++ fz_throw(ctx, FZ_ERROR_SYNTAX, "invalid generation number (%d)", gen); ++ } + + tok = pdf_lex(ctx, file, buf); + if (tok != PDF_TOK_OBJ) +diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c +index 1b2bdcd59..30197b4b8 100644 +--- a/source/pdf/pdf-xref.c ++++ b/source/pdf/pdf-xref.c +@@ -1190,6 +1190,8 @@ pdf_read_new_xref(fz_context *ctx, pdf_document *doc, pdf_lexbuf *buf) + { + ofs = fz_tell(ctx, doc->file); + trailer = pdf_parse_ind_obj(ctx, doc, doc->file, buf, &num, &gen, &stm_ofs, NULL); ++ if (num == 0) ++ fz_throw(ctx, FZ_ERROR_GENERIC, "Trailer object number cannot be 0\n"); + } + fz_catch(ctx) + { +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/mupdf/0003-Bug-703791-Stay-within-hash-table-max-key-size-in-cached-color-converter.patch b/buildroot-2022.02.1/package/mupdf/0003-Bug-703791-Stay-within-hash-table-max-key-size-in-cached-color-converter.patch new file mode 100644 index 00000000..5335f140 --- /dev/null +++ b/buildroot-2022.02.1/package/mupdf/0003-Bug-703791-Stay-within-hash-table-max-key-size-in-cached-color-converter.patch @@ -0,0 +1,119 @@ +From f5712c9949d026e4b891b25837edd2edc166151f Mon Sep 17 00:00:00 2001 +From: Tor Andersson +Date: Tue, 20 Apr 2021 14:46:48 +0200 +Subject: [PATCH] Bug 703791: Stay within hash table max key size in cached + color converter. + +[Retrieved from: +http://git.ghostscript.com/?p=mupdf.git;h=f5712c9949d026e4b891b25837edd2edc166151f] +Signed-off-by: Fabrice Fontaine +--- + include/mupdf/fitz/hash.h | 2 ++ + source/fitz/colorspace.c | 40 ++++++++++++++++++++++++--------------- + source/fitz/hash.c | 7 +++---- + 3 files changed, 30 insertions(+), 19 deletions(-) + +diff --git a/include/mupdf/fitz/hash.h b/include/mupdf/fitz/hash.h +index e92eb0458..feb37a5e4 100644 +--- a/include/mupdf/fitz/hash.h ++++ b/include/mupdf/fitz/hash.h +@@ -5,6 +5,8 @@ + #include "mupdf/fitz/context.h" + #include "mupdf/fitz/output.h" + ++#define FZ_HASH_TABLE_KEY_LENGTH 48 ++ + /** + Generic hash-table with fixed-length keys. + +diff --git a/source/fitz/colorspace.c b/source/fitz/colorspace.c +index af454caf1..f4db9d3d2 100644 +--- a/source/fitz/colorspace.c ++++ b/source/fitz/colorspace.c +@@ -1025,23 +1025,30 @@ typedef struct fz_cached_color_converter + static void fz_cached_color_convert(fz_context *ctx, fz_color_converter *cc_, const float *ss, float *ds) + { + fz_cached_color_converter *cc = cc_->opaque; +- float *val = fz_hash_find(ctx, cc->hash, ss); +- int n = cc->base.ds->n * sizeof(float); +- +- if (val) ++ if (cc->hash) + { +- memcpy(ds, val, n); +- return; +- } ++ float *val = fz_hash_find(ctx, cc->hash, ss); ++ int n = cc->base.ds->n * sizeof(float); + +- cc->base.convert(ctx, &cc->base, ss, ds); ++ if (val) ++ { ++ memcpy(ds, val, n); ++ return; ++ } + +- val = Memento_label(fz_malloc_array(ctx, cc->base.ds->n, float), "cached_color_convert"); +- memcpy(val, ds, n); +- fz_try(ctx) +- fz_hash_insert(ctx, cc->hash, ss, val); +- fz_catch(ctx) +- fz_free(ctx, val); ++ cc->base.convert(ctx, &cc->base, ss, ds); ++ ++ val = Memento_label(fz_malloc_array(ctx, cc->base.ds->n, float), "cached_color_convert"); ++ memcpy(val, ds, n); ++ fz_try(ctx) ++ fz_hash_insert(ctx, cc->hash, ss, val); ++ fz_catch(ctx) ++ fz_free(ctx, val); ++ } ++ else ++ { ++ cc->base.convert(ctx, &cc->base, ss, ds); ++ } + } + + void fz_init_cached_color_converter(fz_context *ctx, fz_color_converter *cc, fz_colorspace *ss, fz_colorspace *ds, fz_colorspace *is, fz_color_params params) +@@ -1060,7 +1067,10 @@ void fz_init_cached_color_converter(fz_context *ctx, fz_color_converter *cc, fz_ + fz_try(ctx) + { + fz_find_color_converter(ctx, &cached->base, ss, ds, is, params); +- cached->hash = fz_new_hash_table(ctx, 256, n * sizeof(float), -1, fz_free); ++ if (n * sizeof(float) <= FZ_HASH_TABLE_KEY_LENGTH) ++ cached->hash = fz_new_hash_table(ctx, 256, n * sizeof(float), -1, fz_free); ++ else ++ fz_warn(ctx, "colorspace has too many components to be cached"); + } + fz_catch(ctx) + { +diff --git a/source/fitz/hash.c b/source/fitz/hash.c +index 882b886c9..287d43f03 100644 +--- a/source/fitz/hash.c ++++ b/source/fitz/hash.c +@@ -11,11 +11,9 @@ + and removed frequently. + */ + +-enum { MAX_KEY_LEN = 48 }; +- + typedef struct + { +- unsigned char key[MAX_KEY_LEN]; ++ unsigned char key[FZ_HASH_TABLE_KEY_LENGTH]; + void *val; + } fz_hash_entry; + +@@ -50,7 +48,8 @@ fz_new_hash_table(fz_context *ctx, int initialsize, int keylen, int lock, fz_has + { + fz_hash_table *table; + +- assert(keylen <= MAX_KEY_LEN); ++ if (keylen > FZ_HASH_TABLE_KEY_LENGTH) ++ fz_throw(ctx, FZ_ERROR_GENERIC, "hash table key length too large"); + + table = fz_malloc_struct(ctx, fz_hash_table); + table->keylen = keylen; +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/mupdf/0004-Makefile-compile-hexdump.exe-with-HOSTCC.patch b/buildroot-2022.02.1/package/mupdf/0004-Makefile-compile-hexdump.exe-with-HOSTCC.patch new file mode 100644 index 00000000..bc9debd3 --- /dev/null +++ b/buildroot-2022.02.1/package/mupdf/0004-Makefile-compile-hexdump.exe-with-HOSTCC.patch @@ -0,0 +1,40 @@ +From c0036573a995dc78d3cf60a30ff0af2b47f3680a Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 14 Nov 2021 23:24:27 +0100 +Subject: [PATCH] Makefile: compile hexdump.exe with HOSTCC + +hexdump.exe must be compiled for the host or the build will fail when +cross-compiling with HAVE_OBJCOPY=no + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://bugs.ghostscript.com/show_bug.cgi?id=704442] +--- + Makefile | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/Makefile b/Makefile +index 6492b1ca3..0732b358f 100644 +--- a/Makefile ++++ b/Makefile +@@ -60,6 +60,8 @@ AR_CMD = $(QUIET_AR) $(MKTGTDIR) ; $(AR) cr $@ $^ + ifdef RANLIB + RANLIB_CMD = $(QUIET_RANLIB) $(RANLIB) $@ + endif ++HOSTCC ?= $(CC) ++HOST_LINK_CMD = $(QUIET_LINK) $(MKTGTDIR) ; $(HOSTCC) -o $@ $^ + LINK_CMD = $(QUIET_LINK) $(MKTGTDIR) ; $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) + TAGS_CMD = $(QUIET_TAGS) ctags -R --c-kinds=+p --exclude=platform/python --exclude=platform/c++ + WINDRES_CMD = $(QUIET_WINDRES) $(MKTGTDIR) ; $(WINDRES) $< $@ +@@ -81,6 +83,9 @@ $(OUT)/%.a : + $(AR_CMD) + $(RANLIB_CMD) + ++$(OUT)/scripts/hexdump.exe: scripts/hexdump.c ++ $(HOST_LINK_CMD) ++ + $(OUT)/%.exe: %.c + $(LINK_CMD) + +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/mupdf/Config.in b/buildroot-2022.02.1/package/mupdf/Config.in new file mode 100644 index 00000000..cf977111 --- /dev/null +++ b/buildroot-2022.02.1/package/mupdf/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_MUPDF + bool "mupdf" + depends on BR2_INSTALL_LIBSTDCPP # harfbuzz + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_GUMBO_PARSER + select BR2_PACKAGE_HARFBUZZ + select BR2_PACKAGE_JBIG2DEC + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LCMS2 + select BR2_PACKAGE_OPENJPEG + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_ZLIB + help + MuPDF is a lightweight PDF, XPS, and E-book viewer. + + https://www.mupdf.com/index.html + +comment "mupdf needs a toolchain w/ C++, gcc >= 4.9" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/mupdf/mupdf.hash b/buildroot-2022.02.1/package/mupdf/mupdf.hash new file mode 100644 index 00000000..934836e7 --- /dev/null +++ b/buildroot-2022.02.1/package/mupdf/mupdf.hash @@ -0,0 +1,8 @@ +# From https://mupdf.com/downloads/index.html: +sha1 fc17bd01d5860e49b009f28a5ddb629e94af4510 mupdf-1.18.0-source.tar.xz + +# Locally computed: +sha256 592d4f6c0fba41bb954eb1a41616661b62b134d5b383e33bd45a081af5d4a59a mupdf-1.18.0-source.tar.xz + +# Hash for license files: +sha256 57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6 COPYING diff --git a/buildroot-2022.02.1/package/mupdf/mupdf.mk b/buildroot-2022.02.1/package/mupdf/mupdf.mk new file mode 100644 index 00000000..56ea7cc5 --- /dev/null +++ b/buildroot-2022.02.1/package/mupdf/mupdf.mk @@ -0,0 +1,79 @@ +################################################################################ +# +# mudpf +# +################################################################################ + +# python-pymupdf's version must match mupdf's version +MUPDF_VERSION = 1.18.0 +MUPDF_SOURCE = mupdf-$(MUPDF_VERSION)-source.tar.xz +MUPDF_SITE = https://mupdf.com/downloads/archive +MUPDF_LICENSE = AGPL-3.0+ +MUPDF_LICENSE_FILES = COPYING +MUPDF_CPE_ID_VENDOR = artifex +MUPDF_INSTALL_STAGING = YES +MUPDF_DEPENDENCIES = \ + freetype \ + gumbo-parser \ + harfbuzz \ + host-pkgconf \ + jbig2dec jpeg \ + lcms2 openjpeg \ + xlib_libX11 \ + zlib + +# 0002-Bug-703366-Fix-double-free-of-object-during-linearization.patch +MUPDF_IGNORE_CVES += CVE-2021-3407 + +# 0003-Bug-703791-Stay-within-hash-table-max-key-size-in-cached-color-converter.patch +MUPDF_IGNORE_CVES += CVE-2021-37220 + +# The pkg-config name for gumbo-parser is `gumbo`. +MUPDF_PKG_CONFIG_PACKAGES = \ + freetype2 \ + gumbo \ + harfbuzz \ + libjpeg \ + zlib + +MUPDF_CFLAGS = \ + $(TARGET_CFLAGS) \ + `$(PKG_CONFIG_HOST_BINARY) --cflags $(MUPDF_PKG_CONFIG_PACKAGES)` \ + -fPIC # -fPIC is needed because the Makefile doesn't append it. + +MUPDF_LDFLAGS = \ + $(TARGET_LDFLAGS) \ + `$(PKG_CONFIG_HOST_BINARY) --libs $(MUPDF_PKG_CONFIG_PACKAGES)` + +# mupdf doesn't use CFLAGS and LIBS but XCFLAGS and XLIBS instead. +# with USE_SYSTEM_LIBS it will try to use system libraries instead of the bundled ones. +MUPDF_MAKE_ENV = $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \ + XCFLAGS="$(MUPDF_CFLAGS)" \ + XLIBS="$(MUPDF_LDFLAGS)" \ + USE_SYSTEM_LIBS=yes + +MUPDF_MAKE_OPTS = \ + HAVE_OBJCOPY=no \ + prefix="/usr" + +ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y) +MUPDF_DEPENDENCIES += libfreeglut +else +MUPDF_MAKE_OPTS += HAVE_GLUT=no +endif + +define MUPDF_BUILD_CMDS + $(MUPDF_MAKE_ENV) $(MAKE) -C $(@D) $(MUPDF_MAKE_OPTS) all +endef + +define MUPDF_INSTALL_STAGING_CMDS + $(MUPDF_MAKE_ENV) $(MAKE) -C $(@D) $(MUPDF_MAKE_OPTS) \ + DESTDIR="$(STAGING_DIR)" install_libs +endef + +define MUPDF_INSTALL_TARGET_CMDS + $(MUPDF_MAKE_ENV) $(MAKE) -C $(@D) $(MUPDF_MAKE_OPTS) \ + DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/murata-cyw-fw/Config.in b/buildroot-2022.02.1/package/murata-cyw-fw/Config.in similarity index 100% rename from buildroot-2021.05/package/murata-cyw-fw/Config.in rename to buildroot-2022.02.1/package/murata-cyw-fw/Config.in diff --git a/buildroot-2021.05/package/murata-cyw-fw/murata-cyw-fw.hash b/buildroot-2022.02.1/package/murata-cyw-fw/murata-cyw-fw.hash similarity index 100% rename from buildroot-2021.05/package/murata-cyw-fw/murata-cyw-fw.hash rename to buildroot-2022.02.1/package/murata-cyw-fw/murata-cyw-fw.hash diff --git a/buildroot-2021.05/package/murata-cyw-fw/murata-cyw-fw.mk b/buildroot-2022.02.1/package/murata-cyw-fw/murata-cyw-fw.mk similarity index 100% rename from buildroot-2021.05/package/murata-cyw-fw/murata-cyw-fw.mk rename to buildroot-2022.02.1/package/murata-cyw-fw/murata-cyw-fw.mk diff --git a/buildroot-2021.05/package/musepack/0001-shared.patch b/buildroot-2022.02.1/package/musepack/0001-shared.patch similarity index 100% rename from buildroot-2021.05/package/musepack/0001-shared.patch rename to buildroot-2022.02.1/package/musepack/0001-shared.patch diff --git a/buildroot-2022.02.1/package/musepack/0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch b/buildroot-2022.02.1/package/musepack/0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch new file mode 100644 index 00000000..dade23f7 --- /dev/null +++ b/buildroot-2022.02.1/package/musepack/0002-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch @@ -0,0 +1,43 @@ +From d2f01ba6fa2a065156fad686d1849309c661e527 Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Sun, 31 Aug 2014 12:07:31 +0200 +Subject: [PATCH] cmake: use the standard CMake flag to drive the shared + object build + +If BUILD_SHARED_LIBS is set and SHARED undefined, then drive SHARED with +the BUILD_SHARED_LIBS value. + +Signed-off-by: Samuel Martin +--- + CMakeLists.txt | 15 ++++++++++----- + 1 file changed, 10 insertions(+), 5 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b13f78c..db75510 100755 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,11 +7,16 @@ project(libmpc C) + set(CMAKE_VERBOSE_MAKEFILE false) + TEST_BIG_ENDIAN(MPC_ENDIANNESS) + +-if(WIN32) +- option(SHARED "Use shared libmpcdec" OFF) +-else(WIN32) +- option(SHARED "Use shared libmpcdec" ON) +-endif(WIN32) ++# Use the standard CMake flag to drive the shared object build. ++if(DEFINED BUILD_SHARED_LIBS AND NOT DEFINED SHARED) ++ set(SHARED ${BUILD_SHARED_LIBS}) ++else() ++ if(WIN32) ++ option(SHARED "Use shared libmpcdec" OFF) ++ else(WIN32) ++ option(SHARED "Use shared libmpcdec" ON) ++ endif(WIN32) ++endif() + + add_definitions(-DFAST_MATH -DCVD_FASTLOG) + +-- +2.1.0 + diff --git a/buildroot-2021.05/package/musepack/0003-include-fpu-control-with-glibc-only.patch b/buildroot-2022.02.1/package/musepack/0003-include-fpu-control-with-glibc-only.patch similarity index 100% rename from buildroot-2021.05/package/musepack/0003-include-fpu-control-with-glibc-only.patch rename to buildroot-2022.02.1/package/musepack/0003-include-fpu-control-with-glibc-only.patch diff --git a/buildroot-2021.05/package/musepack/0004-missing-sys-select.patch b/buildroot-2022.02.1/package/musepack/0004-missing-sys-select.patch similarity index 100% rename from buildroot-2021.05/package/musepack/0004-missing-sys-select.patch rename to buildroot-2022.02.1/package/musepack/0004-missing-sys-select.patch diff --git a/buildroot-2021.05/package/musepack/0005-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/musepack/0005-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/musepack/0005-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/musepack/0005-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/musepack/Config.in b/buildroot-2022.02.1/package/musepack/Config.in similarity index 100% rename from buildroot-2021.05/package/musepack/Config.in rename to buildroot-2022.02.1/package/musepack/Config.in diff --git a/buildroot-2021.05/package/musepack/musepack.hash b/buildroot-2022.02.1/package/musepack/musepack.hash similarity index 100% rename from buildroot-2021.05/package/musepack/musepack.hash rename to buildroot-2022.02.1/package/musepack/musepack.hash diff --git a/buildroot-2021.05/package/musepack/musepack.mk b/buildroot-2022.02.1/package/musepack/musepack.mk similarity index 100% rename from buildroot-2021.05/package/musepack/musepack.mk rename to buildroot-2022.02.1/package/musepack/musepack.mk diff --git a/buildroot-2021.05/package/musl-compat-headers/Config.in b/buildroot-2022.02.1/package/musl-compat-headers/Config.in similarity index 100% rename from buildroot-2021.05/package/musl-compat-headers/Config.in rename to buildroot-2022.02.1/package/musl-compat-headers/Config.in diff --git a/buildroot-2021.05/package/musl-compat-headers/cdefs.h b/buildroot-2022.02.1/package/musl-compat-headers/cdefs.h similarity index 100% rename from buildroot-2021.05/package/musl-compat-headers/cdefs.h rename to buildroot-2022.02.1/package/musl-compat-headers/cdefs.h diff --git a/buildroot-2021.05/package/musl-compat-headers/musl-compat-headers.hash b/buildroot-2022.02.1/package/musl-compat-headers/musl-compat-headers.hash similarity index 100% rename from buildroot-2021.05/package/musl-compat-headers/musl-compat-headers.hash rename to buildroot-2022.02.1/package/musl-compat-headers/musl-compat-headers.hash diff --git a/buildroot-2021.05/package/musl-compat-headers/musl-compat-headers.mk b/buildroot-2022.02.1/package/musl-compat-headers/musl-compat-headers.mk similarity index 100% rename from buildroot-2021.05/package/musl-compat-headers/musl-compat-headers.mk rename to buildroot-2022.02.1/package/musl-compat-headers/musl-compat-headers.mk diff --git a/buildroot-2021.05/package/musl-fts/Config.in b/buildroot-2022.02.1/package/musl-fts/Config.in similarity index 100% rename from buildroot-2021.05/package/musl-fts/Config.in rename to buildroot-2022.02.1/package/musl-fts/Config.in diff --git a/buildroot-2021.05/package/musl-fts/musl-fts.hash b/buildroot-2022.02.1/package/musl-fts/musl-fts.hash similarity index 100% rename from buildroot-2021.05/package/musl-fts/musl-fts.hash rename to buildroot-2022.02.1/package/musl-fts/musl-fts.hash diff --git a/buildroot-2021.05/package/musl-fts/musl-fts.mk b/buildroot-2022.02.1/package/musl-fts/musl-fts.mk similarity index 100% rename from buildroot-2021.05/package/musl-fts/musl-fts.mk rename to buildroot-2022.02.1/package/musl-fts/musl-fts.mk diff --git a/buildroot-2021.05/package/musl/0001-avoid-kernel-if_ether.h.patch b/buildroot-2022.02.1/package/musl/0001-avoid-kernel-if_ether.h.patch similarity index 100% rename from buildroot-2021.05/package/musl/0001-avoid-kernel-if_ether.h.patch rename to buildroot-2022.02.1/package/musl/0001-avoid-kernel-if_ether.h.patch diff --git a/buildroot-2021.05/package/musl/0002-package-musl-Make-scheduler-functions-Linux-compatib.patch b/buildroot-2022.02.1/package/musl/0002-package-musl-Make-scheduler-functions-Linux-compatib.patch similarity index 100% rename from buildroot-2021.05/package/musl/0002-package-musl-Make-scheduler-functions-Linux-compatib.patch rename to buildroot-2022.02.1/package/musl/0002-package-musl-Make-scheduler-functions-Linux-compatib.patch diff --git a/buildroot-2021.05/package/musl/Config.in b/buildroot-2022.02.1/package/musl/Config.in similarity index 100% rename from buildroot-2021.05/package/musl/Config.in rename to buildroot-2022.02.1/package/musl/Config.in diff --git a/buildroot-2021.05/package/musl/musl.hash b/buildroot-2022.02.1/package/musl/musl.hash similarity index 100% rename from buildroot-2021.05/package/musl/musl.hash rename to buildroot-2022.02.1/package/musl/musl.hash diff --git a/buildroot-2022.02.1/package/musl/musl.mk b/buildroot-2022.02.1/package/musl/musl.mk new file mode 100644 index 00000000..b89945e3 --- /dev/null +++ b/buildroot-2022.02.1/package/musl/musl.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# musl +# +################################################################################ + +MUSL_VERSION = 1.2.2 +MUSL_SITE = http://www.musl-libc.org/releases +MUSL_LICENSE = MIT +MUSL_LICENSE_FILES = COPYRIGHT +MUSL_CPE_ID_VENDOR = musl-libc + +# Before musl is configured, we must have the first stage +# cross-compiler and the kernel headers +MUSL_DEPENDENCIES = host-gcc-initial linux-headers + +# musl does not provide an implementation for sys/queue.h or sys/cdefs.h. +# So, add the musl-compat-headers package that will install those files, +# into the staging directory: +# sys/queue.h: header from NetBSD +# sys/cdefs.h: minimalist header bundled in Buildroot +MUSL_DEPENDENCIES += musl-compat-headers + +# musl is part of the toolchain so disable the toolchain dependency +MUSL_ADD_TOOLCHAIN_DEPENDENCY = NO + +MUSL_INSTALL_STAGING = YES + +# musl does not build with LTO, so explicitly disable it +# when using a compiler that may have support for LTO +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7),y) +MUSL_EXTRA_CFLAGS += -fno-lto +endif + +# Thumb build is broken, build in ARM mode, since all architectures +# that support Thumb1 also support ARM. +ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB),y) +MUSL_EXTRA_CFLAGS += -marm +endif + +define MUSL_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(filter-out -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,$(TARGET_CFLAGS)) $(MUSL_EXTRA_CFLAGS)" \ + CPPFLAGS="$(filter-out -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64,$(TARGET_CPPFLAGS))" \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --prefix=/usr \ + --libdir=/lib \ + --disable-gcc-wrapper \ + --enable-static \ + $(if $(BR2_STATIC_LIBS),--disable-shared,--enable-shared)) +endef + +define MUSL_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define MUSL_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + DESTDIR=$(STAGING_DIR) install-libs install-tools install-headers +endef + +define MUSL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + DESTDIR=$(TARGET_DIR) install-libs + $(RM) $(addprefix $(TARGET_DIR)/lib/,crt1.o crtn.o crti.o rcrt1.o Scrt1.o) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/mutt/Config.in b/buildroot-2022.02.1/package/mutt/Config.in similarity index 100% rename from buildroot-2021.05/package/mutt/Config.in rename to buildroot-2022.02.1/package/mutt/Config.in diff --git a/buildroot-2022.02.1/package/mutt/mutt.hash b/buildroot-2022.02.1/package/mutt/mutt.hash new file mode 100644 index 00000000..d439b23a --- /dev/null +++ b/buildroot-2022.02.1/package/mutt/mutt.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 92a309e47e363a97d62425bcb71adceae5ab5c4c413dbcac37fa98ed70c12be0 mutt-2.1.5.tar.gz +sha256 732f24b69a6c71cd8e01e4672bb8e12cc1cbb88a50a4665e6ca4fd95000a57ee GPL diff --git a/buildroot-2022.02.1/package/mutt/mutt.mk b/buildroot-2022.02.1/package/mutt/mutt.mk new file mode 100644 index 00000000..7e9046fe --- /dev/null +++ b/buildroot-2022.02.1/package/mutt/mutt.mk @@ -0,0 +1,117 @@ +################################################################################ +# +# mutt +# +################################################################################ + +MUTT_VERSION = 2.1.5 +MUTT_SITE = https://bitbucket.org/mutt/mutt/downloads +MUTT_LICENSE = GPL-2.0+ +MUTT_LICENSE_FILES = GPL +MUTT_CPE_ID_VENDOR = mutt +MUTT_DEPENDENCIES = ncurses +MUTT_CONF_OPTS = --disable-doc --disable-smtp + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +MUTT_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +MUTT_DEPENDENCIES += libiconv +MUTT_CONF_OPTS += --enable-iconv +endif + +# Both options can't be selected at the same time so prefer libidn2 +ifeq ($(BR2_PACKAGE_LIBIDN2),y) +MUTT_DEPENDENCIES += libidn2 +MUTT_CONF_OPTS += --with-idn2 --without-idn +else ifeq ($(BR2_PACKAGE_LIBIDN),y) +MUTT_DEPENDENCIES += libidn +MUTT_CONF_OPTS += --with-idn --without-idn2 +else +MUTT_CONF_OPTS += --without-idn --without-idn2 +endif + +ifeq ($(BR2_PACKAGE_LIBGPGME),y) +MUTT_DEPENDENCIES += libgpgme +MUTT_CONF_OPTS += \ + --enable-gpgme \ + --with-gpgme-prefix=$(STAGING_DIR)/usr +else +MUTT_CONF_OPTS += --disable-gpgme +endif + +ifeq ($(BR2_PACKAGE_MUTT_IMAP),y) +MUTT_CONF_OPTS += --enable-imap +else +MUTT_CONF_OPTS += --disable-imap +endif + +ifeq ($(BR2_PACKAGE_MUTT_POP3),y) +MUTT_CONF_OPTS += --enable-pop +else +MUTT_CONF_OPTS += --disable-pop +endif + +# SSL support is only used by imap or pop3 module +ifneq ($(BR2_PACKAGE_MUTT_IMAP)$(BR2_PACKAGE_MUTT_POP3),) +ifeq ($(BR2_PACKAGE_OPENSSL),y) +MUTT_DEPENDENCIES += openssl +MUTT_CONF_OPTS += \ + --without-gnutls \ + --with-ssl=$(STAGING_DIR)/usr +else ifeq ($(BR2_PACKAGE_GNUTLS),y) +MUTT_DEPENDENCIES += gnutls +MUTT_CONF_OPTS += \ + --with-gnutls=$(STAGING_DIR)/usr \ + --without-ssl +else +MUTT_CONF_OPTS += \ + --without-gnutls \ + --without-ssl +endif +else +MUTT_CONF_OPTS += \ + --without-gnutls \ + --without-ssl +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +MUTT_DEPENDENCIES += sqlite +MUTT_CONF_OPTS += --with-sqlite3 +else +MUTT_CONF_OPTS += --without-sqlite3 +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +MUTT_DEPENDENCIES += zlib +MUTT_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr +else +MUTT_CONF_OPTS += --without-zlib +endif + +# Avoid running tests to check for: +# - target system is *BSD +# - C99 conformance (snprintf, vsnprintf) +# - behaviour of the regex library +# - if mail spool directory is world/group writable +# - we have a working libiconv +MUTT_CONF_ENV += \ + mutt_cv_bsdish=no \ + mutt_cv_c99_snprintf=yes \ + mutt_cv_c99_vsnprintf=yes \ + mutt_cv_regex_broken=no \ + mutt_cv_worldwrite=yes \ + mutt_cv_groupwrite=yes \ + mutt_cv_iconv_good=yes \ + mutt_cv_iconv_nontrans=no + +MUTT_CONF_OPTS += --with-mailpath=/var/mail + +define MUTT_VAR_MAIL + mkdir -p $(TARGET_DIR)/var + ln -sf /tmp $(TARGET_DIR)/var/mail +endef +MUTT_POST_INSTALL_TARGET_HOOKS += MUTT_VAR_MAIL + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mxml/Config.in b/buildroot-2022.02.1/package/mxml/Config.in similarity index 100% rename from buildroot-2021.05/package/mxml/Config.in rename to buildroot-2022.02.1/package/mxml/Config.in diff --git a/buildroot-2022.02.1/package/mxml/mxml.hash b/buildroot-2022.02.1/package/mxml/mxml.hash new file mode 100644 index 00000000..38056f4c --- /dev/null +++ b/buildroot-2022.02.1/package/mxml/mxml.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 7cf976366f9e8e4f8cff7d35a59bcf6201c769fce9e58015d64f4b6de1fe3dd8 mxml-3.3.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE +sha256 ed63aec4c75b9c21a5156b40052138032269bd27fd6f4bc0c51389807cdc7db9 NOTICE diff --git a/buildroot-2022.02.1/package/mxml/mxml.mk b/buildroot-2022.02.1/package/mxml/mxml.mk new file mode 100644 index 00000000..88d35cb7 --- /dev/null +++ b/buildroot-2022.02.1/package/mxml/mxml.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# mxml +# +################################################################################ + +MXML_VERSION = 3.3 +MXML_SITE = https://github.com/michaelrsweet/mxml/releases/download/v$(MXML_VERSION) +MXML_LICENSE = Apache-2.0 with exceptions +MXML_LICENSE_FILES = LICENSE NOTICE +MXML_CPE_ID_VENDOR = mini-xml_project +MXML_CPE_ID_PRODUCT = mini-xml +MXML_INSTALL_STAGING = YES + +MXML_INSTALL_STAGING_OPTS = DSTROOT=$(STAGING_DIR) install +MXML_INSTALL_TARGET_OPTS = DSTROOT=$(TARGET_DIR) install + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/mxsldr/Config.in.host b/buildroot-2022.02.1/package/mxsldr/Config.in.host similarity index 100% rename from buildroot-2021.05/package/mxsldr/Config.in.host rename to buildroot-2022.02.1/package/mxsldr/Config.in.host diff --git a/buildroot-2022.02.1/package/mxsldr/mxsldr.mk b/buildroot-2022.02.1/package/mxsldr/mxsldr.mk new file mode 100644 index 00000000..2375b9f4 --- /dev/null +++ b/buildroot-2022.02.1/package/mxsldr/mxsldr.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# mxsldr +# +################################################################################ + +MXSLDR_VERSION = 2793a657ab7a22487d21c1b020957806f8ae8383 +MXSLDR_SITE = https://git.denx.de/mxsldr.git +MXSLDR_SITE_METHOD = git +MXSLDR_LICENSE = GPL-2.0+ +MXSLDR_LICENSE_FILES = COPYING +HOST_MXSLDR_DEPENDENCIES = host-libusb host-pkgconf + +define HOST_MXSLDR_BUILD_CMDS + $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define HOST_MXSLDR_INSTALL_CMDS + $(INSTALL) -m 0755 -D $(@D)/mxsldr $(HOST_DIR)/bin/mxsldr +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/mysql/Config.in b/buildroot-2022.02.1/package/mysql/Config.in similarity index 100% rename from buildroot-2021.05/package/mysql/Config.in rename to buildroot-2022.02.1/package/mysql/Config.in diff --git a/buildroot-2021.05/package/mysql/mysql.mk b/buildroot-2022.02.1/package/mysql/mysql.mk similarity index 100% rename from buildroot-2021.05/package/mysql/mysql.mk rename to buildroot-2022.02.1/package/mysql/mysql.mk diff --git a/buildroot-2022.02.1/package/nano/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/buildroot-2022.02.1/package/nano/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch new file mode 100644 index 00000000..f67f6d34 --- /dev/null +++ b/buildroot-2022.02.1/package/nano/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch @@ -0,0 +1,46 @@ +From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 1 Apr 2021 07:49:46 +0200 +Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 + +Fix the following build failure with uclibc < 1.0.35 which is raised +since the addition of getrandom module in +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: + +In file included from ./sys/random.h:40, + from getrandom.c:22: +/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' + 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) + | ^~~~~~ +/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? + 7 | #include + +++ |+#include + 8 | + +This patch is not upstreamable as it is only a workaround for +uclibc < 1.0.35, upstream uclibc has been patched with +https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 + +Fixes: + - http://autobuild.buildroot.org/results/1932c524aa6b6a3337a0fc21b44adaac60972d30 + +Signed-off-by: Fabrice Fontaine +--- + lib/getrandom.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/getrandom.c b/lib/getrandom.c +index 41212fb32..0ad3f9648 100644 +--- a/lib/getrandom.c ++++ b/lib/getrandom.c +@@ -19,6 +19,7 @@ + + #include + ++#include + #include + + #include +-- +2.30.2 + diff --git a/buildroot-2021.05/package/nano/Config.in b/buildroot-2022.02.1/package/nano/Config.in similarity index 100% rename from buildroot-2021.05/package/nano/Config.in rename to buildroot-2022.02.1/package/nano/Config.in diff --git a/buildroot-2022.02.1/package/nano/nano.hash b/buildroot-2022.02.1/package/nano/nano.hash new file mode 100644 index 00000000..80529437 --- /dev/null +++ b/buildroot-2022.02.1/package/nano/nano.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +# https://www.nano-editor.org/dist/v6/nano-6.0.tar.xz.asc +# using key BFD009061E535052AD0DF2150D28D4D2A0ACE884 +sha256 93ac8cb68b4ad10e0aaeb80a2dd15c5bb89eb665a4844f7ad01c67efcb169ea2 nano-6.0.tar.xz +sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING diff --git a/buildroot-2022.02.1/package/nano/nano.mk b/buildroot-2022.02.1/package/nano/nano.mk new file mode 100644 index 00000000..30db3249 --- /dev/null +++ b/buildroot-2022.02.1/package/nano/nano.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# nano +# +################################################################################ + +NANO_VERSION_MAJOR = 6 +NANO_VERSION = $(NANO_VERSION_MAJOR).0 +NANO_SITE = https://www.nano-editor.org/dist/v$(NANO_VERSION_MAJOR) +NANO_SOURCE = nano-$(NANO_VERSION).tar.xz +NANO_LICENSE = GPL-3.0+ +NANO_LICENSE_FILES = COPYING +NANO_DEPENDENCIES = ncurses + +ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) +NANO_CONF_ENV += ac_cv_prog_NCURSESW_CONFIG=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) +else +NANO_CONF_ENV += ac_cv_prog_NCURSESW_CONFIG=false +NANO_MAKE_ENV += CURSES_LIB="-lncurses" +endif + +ifeq ($(BR2_PACKAGE_NANO_TINY),y) +NANO_CONF_OPTS += \ + --enable-tiny \ + --disable-libmagic \ + --disable-color \ + --disable-nanorc +define NANO_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano +endef +else +NANO_CONF_OPTS += --disable-tiny +ifeq ($(BR2_PACKAGE_FILE),y) +NANO_DEPENDENCIES += file +NANO_CONF_OPTS += --enable-libmagic --enable-color --enable-nanorc +else +NANO_CONF_OPTS += --disable-libmagic --disable-libmagic --disable-color +endif # BR2_PACKAGE_FILE +endif # BR2_PACKAGE_NANO_TINY + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nanocom/0001-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/nanocom/0001-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/nanocom/0001-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/nanocom/0001-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/nanocom/Config.in b/buildroot-2022.02.1/package/nanocom/Config.in similarity index 100% rename from buildroot-2021.05/package/nanocom/Config.in rename to buildroot-2022.02.1/package/nanocom/Config.in diff --git a/buildroot-2021.05/package/nanocom/nanocom.hash b/buildroot-2022.02.1/package/nanocom/nanocom.hash similarity index 100% rename from buildroot-2021.05/package/nanocom/nanocom.hash rename to buildroot-2022.02.1/package/nanocom/nanocom.hash diff --git a/buildroot-2021.05/package/nanocom/nanocom.mk b/buildroot-2022.02.1/package/nanocom/nanocom.mk similarity index 100% rename from buildroot-2021.05/package/nanocom/nanocom.mk rename to buildroot-2022.02.1/package/nanocom/nanocom.mk diff --git a/buildroot-2021.05/package/nanomsg/Config.in b/buildroot-2022.02.1/package/nanomsg/Config.in similarity index 100% rename from buildroot-2021.05/package/nanomsg/Config.in rename to buildroot-2022.02.1/package/nanomsg/Config.in diff --git a/buildroot-2021.05/package/nanomsg/nanomsg.hash b/buildroot-2022.02.1/package/nanomsg/nanomsg.hash similarity index 100% rename from buildroot-2021.05/package/nanomsg/nanomsg.hash rename to buildroot-2022.02.1/package/nanomsg/nanomsg.hash diff --git a/buildroot-2021.05/package/nanomsg/nanomsg.mk b/buildroot-2022.02.1/package/nanomsg/nanomsg.mk similarity index 100% rename from buildroot-2021.05/package/nanomsg/nanomsg.mk rename to buildroot-2022.02.1/package/nanomsg/nanomsg.mk diff --git a/buildroot-2021.05/package/nasm/nasm.hash b/buildroot-2022.02.1/package/nasm/nasm.hash similarity index 100% rename from buildroot-2021.05/package/nasm/nasm.hash rename to buildroot-2022.02.1/package/nasm/nasm.hash diff --git a/buildroot-2021.05/package/nasm/nasm.mk b/buildroot-2022.02.1/package/nasm/nasm.mk similarity index 100% rename from buildroot-2021.05/package/nasm/nasm.mk rename to buildroot-2022.02.1/package/nasm/nasm.mk diff --git a/buildroot-2021.05/package/nbd/Config.in b/buildroot-2022.02.1/package/nbd/Config.in similarity index 100% rename from buildroot-2021.05/package/nbd/Config.in rename to buildroot-2022.02.1/package/nbd/Config.in diff --git a/buildroot-2022.02.1/package/nbd/nbd.hash b/buildroot-2022.02.1/package/nbd/nbd.hash new file mode 100644 index 00000000..f58a89bf --- /dev/null +++ b/buildroot-2022.02.1/package/nbd/nbd.hash @@ -0,0 +1,7 @@ +# From http://sourceforge.net/projects/nbd/files/nbd/3.24/ +md5 a6d9e7bbc311a2ed07ef84a58b82b5dd nbd-3.24.tar.xz +sha1 72c59ef5186ae355de6f539a1b348e18cbb8314e nbd-3.24.tar.xz + +# Locally calculated +sha256 6877156d23a7b33f75eee89d2f5c2c91c542afc3cdcb636dea5a88539a58d10c nbd-3.24.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/nbd/nbd.mk b/buildroot-2022.02.1/package/nbd/nbd.mk new file mode 100644 index 00000000..50f698dd --- /dev/null +++ b/buildroot-2022.02.1/package/nbd/nbd.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# nbd +# +################################################################################ + +NBD_VERSION = 3.24 +NBD_SOURCE = nbd-$(NBD_VERSION).tar.xz +NBD_SITE = http://downloads.sourceforge.net/project/nbd/nbd/$(NBD_VERSION) +NBD_CONF_OPTS = --enable-lfs +NBD_DEPENDENCIES = host-bison host-pkgconf libglib2 +NBD_LICENSE = GPL-2.0 +NBD_LICENSE_FILES = COPYING +NBD_CPE_ID_VENDOR = network_block_device_project +NBD_CPE_ID_PRODUCT = network_block_device + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +# We have linux/falloc.h +# but uClibc lacks fallocate(2) which is a glibc-ism +NBD_CONF_ENV = ac_cv_header_linux_falloc_h=no +endif + +ifneq ($(BR2_PACKAGE_NBD_CLIENT),y) +NBD_TOREMOVE += /usr/sbin/nbd-client +endif +ifneq ($(BR2_PACKAGE_NBD_SERVER),y) +NBD_TOREMOVE += /usr/bin/nbd-server +endif +ifneq ($(BR2_PACKAGE_NBD_TRDUMP),y) +NBD_TOREMOVE += /usr/bin/nbd-trdump +endif + +define NBD_CLEANUP_AFTER_INSTALL + rm -f $(addprefix $(TARGET_DIR), $(NBD_TOREMOVE)) +endef + +NBD_POST_INSTALL_TARGET_HOOKS += NBD_CLEANUP_AFTER_INSTALL + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ncdu/Config.in b/buildroot-2022.02.1/package/ncdu/Config.in similarity index 100% rename from buildroot-2021.05/package/ncdu/Config.in rename to buildroot-2022.02.1/package/ncdu/Config.in diff --git a/buildroot-2022.02.1/package/ncdu/ncdu.hash b/buildroot-2022.02.1/package/ncdu/ncdu.hash new file mode 100644 index 00000000..c2d367f1 --- /dev/null +++ b/buildroot-2022.02.1/package/ncdu/ncdu.hash @@ -0,0 +1,5 @@ +# From https://dev.yorhel.nl/ncdu +sha256 2b915752a183fae014b5e5b1f0a135b4b408de7488c716e325217c2513980fd4 ncdu-1.16.tar.gz + +# computed locally +sha256 e9ed7095eee84ad6804450495738277b539da0c0b2006f50faf8e6e67a0a15aa COPYING diff --git a/buildroot-2022.02.1/package/ncdu/ncdu.mk b/buildroot-2022.02.1/package/ncdu/ncdu.mk new file mode 100644 index 00000000..59fa8deb --- /dev/null +++ b/buildroot-2022.02.1/package/ncdu/ncdu.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# ncdu +# +################################################################################ + +NCDU_VERSION = 1.16 +NCDU_SITE = http://dev.yorhel.nl/download + +NCDU_DEPENDENCIES = ncurses + +NCDU_LICENSE = MIT +NCDU_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ncftp/0001-fix-gcc-10.patch b/buildroot-2022.02.1/package/ncftp/0001-fix-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/ncftp/0001-fix-gcc-10.patch rename to buildroot-2022.02.1/package/ncftp/0001-fix-gcc-10.patch diff --git a/buildroot-2021.05/package/ncftp/Config.in b/buildroot-2022.02.1/package/ncftp/Config.in similarity index 100% rename from buildroot-2021.05/package/ncftp/Config.in rename to buildroot-2022.02.1/package/ncftp/Config.in diff --git a/buildroot-2021.05/package/ncftp/ncftp.hash b/buildroot-2022.02.1/package/ncftp/ncftp.hash similarity index 100% rename from buildroot-2021.05/package/ncftp/ncftp.hash rename to buildroot-2022.02.1/package/ncftp/ncftp.hash diff --git a/buildroot-2021.05/package/ncftp/ncftp.mk b/buildroot-2022.02.1/package/ncftp/ncftp.mk similarity index 100% rename from buildroot-2021.05/package/ncftp/ncftp.mk rename to buildroot-2022.02.1/package/ncftp/ncftp.mk diff --git a/buildroot-2021.05/package/ncmpc/0001-meson.build-add-atomic-dependency-for-sparc.patch b/buildroot-2022.02.1/package/ncmpc/0001-meson.build-add-atomic-dependency-for-sparc.patch similarity index 100% rename from buildroot-2021.05/package/ncmpc/0001-meson.build-add-atomic-dependency-for-sparc.patch rename to buildroot-2022.02.1/package/ncmpc/0001-meson.build-add-atomic-dependency-for-sparc.patch diff --git a/buildroot-2021.05/package/ncmpc/0002-meson.build-link-with-lintl-if-needed.patch b/buildroot-2022.02.1/package/ncmpc/0002-meson.build-link-with-lintl-if-needed.patch similarity index 100% rename from buildroot-2021.05/package/ncmpc/0002-meson.build-link-with-lintl-if-needed.patch rename to buildroot-2022.02.1/package/ncmpc/0002-meson.build-link-with-lintl-if-needed.patch diff --git a/buildroot-2022.02.1/package/ncmpc/Config.in b/buildroot-2022.02.1/package/ncmpc/Config.in new file mode 100644 index 00000000..eda6e0bb --- /dev/null +++ b/buildroot-2022.02.1/package/ncmpc/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_NCMPC + bool "ncmpc" + depends on BR2_USE_MMU # fork() + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + select BR2_PACKAGE_LIBMPDCLIENT + select BR2_PACKAGE_NCURSES + help + ncmpc is a fully featured MPD client, which runs in a terminal + (using ncurses). Its goal is to provide a keyboard oriented + and consistent interface to MPD, without wasting resources. + + http://www.musicpd.org/clients/ncmpc/ + +comment "ncmpc needs a toolchain w/ C++, wchar, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 diff --git a/buildroot-2022.02.1/package/ncmpc/ncmpc.hash b/buildroot-2022.02.1/package/ncmpc/ncmpc.hash new file mode 100644 index 00000000..a5d6698a --- /dev/null +++ b/buildroot-2022.02.1/package/ncmpc/ncmpc.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 177f77cf09dd4ab914e8438be399cdd5d83c9aa992abc8d9abac006bb092934e ncmpc-0.46.tar.xz + +# Hash for license file: +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/ncmpc/ncmpc.mk b/buildroot-2022.02.1/package/ncmpc/ncmpc.mk new file mode 100644 index 00000000..41fface5 --- /dev/null +++ b/buildroot-2022.02.1/package/ncmpc/ncmpc.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# ncmpc +# +################################################################################ + +NCMPC_VERSION_MAJOR = 0 +NCMPC_VERSION = $(NCMPC_VERSION_MAJOR).46 +NCMPC_SOURCE = ncmpc-$(NCMPC_VERSION).tar.xz +NCMPC_SITE = http://www.musicpd.org/download/ncmpc/$(NCMPC_VERSION_MAJOR) +NCMPC_DEPENDENCIES = \ + host-pkgconf \ + libmpdclient \ + ncurses \ + $(TARGET_NLS_DEPENDENCIES) +NCMPC_LICENSE = GPL-2.0+ +NCMPC_LICENSE_FILES = COPYING +NCMPC_CPE_ID_VENDOR = ncmpc_project + +NCMPC_CONF_OPTS = \ + -Dcurses=ncurses \ + -Ddocumentation=disabled \ + $(if $(BR2_SYSTEM_ENABLE_NLS),-Dnls=enabled,-Dnls=disabled) + +ifeq ($(BR2_PACKAGE_LIRC_TOOLS),y) +NCMPC_DEPENDENCIES += lirc-tools +NCMPC_CONF_OPTS += -Dlirc=enabled +else +NCMPC_CONF_OPTS += -Dlirc=disabled +endif + +ifeq ($(BR2_PACKAGE_PCRE2),y) +NCMPC_DEPENDENCIES += pcre2 +NCMPC_CONF_OPTS += -Dregex=enabled +else +NCMPC_CONF_OPTS += -Dregex=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/ncurses/0001-gcc-5.x-MKlib_gen.patch b/buildroot-2022.02.1/package/ncurses/0001-gcc-5.x-MKlib_gen.patch similarity index 100% rename from buildroot-2021.05/package/ncurses/0001-gcc-5.x-MKlib_gen.patch rename to buildroot-2022.02.1/package/ncurses/0001-gcc-5.x-MKlib_gen.patch diff --git a/buildroot-2021.05/package/ncurses/Config.in b/buildroot-2022.02.1/package/ncurses/Config.in similarity index 100% rename from buildroot-2021.05/package/ncurses/Config.in rename to buildroot-2022.02.1/package/ncurses/Config.in diff --git a/buildroot-2021.05/package/ncurses/ncurses.hash b/buildroot-2022.02.1/package/ncurses/ncurses.hash similarity index 100% rename from buildroot-2021.05/package/ncurses/ncurses.hash rename to buildroot-2022.02.1/package/ncurses/ncurses.hash diff --git a/buildroot-2021.05/package/ncurses/ncurses.mk b/buildroot-2022.02.1/package/ncurses/ncurses.mk similarity index 100% rename from buildroot-2021.05/package/ncurses/ncurses.mk rename to buildroot-2022.02.1/package/ncurses/ncurses.mk diff --git a/buildroot-2021.05/package/ndisc6/Config.in b/buildroot-2022.02.1/package/ndisc6/Config.in similarity index 100% rename from buildroot-2021.05/package/ndisc6/Config.in rename to buildroot-2022.02.1/package/ndisc6/Config.in diff --git a/buildroot-2022.02.1/package/ndisc6/ndisc6.hash b/buildroot-2022.02.1/package/ndisc6/ndisc6.hash new file mode 100644 index 00000000..d76e8312 --- /dev/null +++ b/buildroot-2022.02.1/package/ndisc6/ndisc6.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 36932f9fc47e2844abcda7550fa1343b3af4b4208dfb61e0c9d9224aad5df351 ndisc6-1.0.5.tar.bz2 +# Locally computed +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/ndisc6/ndisc6.mk b/buildroot-2022.02.1/package/ndisc6/ndisc6.mk new file mode 100644 index 00000000..ff6439e3 --- /dev/null +++ b/buildroot-2022.02.1/package/ndisc6/ndisc6.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# ndisc6 +# +################################################################################ + +NDISC6_VERSION = 1.0.5 +NDISC6_SOURCE = ndisc6-$(NDISC6_VERSION).tar.bz2 +NDISC6_SITE = http://www.remlab.net/files/ndisc6 +NDISC6_CONF_ENV = CC="$(TARGET_CC) -std=c11" LIBS=$(TARGET_NLS_LIBS) +NDISC6_CONF_OPTS = --disable-rpath --disable-suid-install +NDISC6_LICENSE = GPL-2.0 or GPL-3.0 +NDISC6_LICENSE_FILES = COPYING +NDISC6_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) + +NDISC6_BIN_ += dnssort # perl script +NDISC6_BIN_$(BR2_PACKAGE_NDISC6_NAME2ADDR) += name2addr addr2name +NDISC6_BIN_$(BR2_PACKAGE_NDISC6_TCPSPRAY) += tcpspray tcpspray6 + +NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_NDISC6) += ndisc6 +NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDISC6) += rdisc6 +NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RDNSSD) += rdnssd +NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_RLTRACEROUTE6) += rltraceroute6 tracert6 +NDISC6_SBIN_$(BR2_PACKAGE_NDISC6_TCPTRACEROUTE6) += tcptraceroute6 + +define NDISC6_REMOVE_UNNEEDED + rm -rf $(addprefix $(TARGET_DIR)/usr/bin/,$(NDISC6_BIN_)) \ + $(addprefix $(TARGET_DIR)/usr/sbin/,$(NDISC6_SBIN_)) + $(if $(BR2_PACKAGE_NDISC6_RDNSSD),,\ + rm -rf $(TARGET_DIR)/etc/rdnssd $(TARGET_DIR)/var/run/rdnssd) +endef + +NDISC6_POST_INSTALL_TARGET_HOOKS += NDISC6_REMOVE_UNNEEDED + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ne10/0001-CMakeLists-don-t-hard-code-thumb-code-generation.patch b/buildroot-2022.02.1/package/ne10/0001-CMakeLists-don-t-hard-code-thumb-code-generation.patch similarity index 100% rename from buildroot-2021.05/package/ne10/0001-CMakeLists-don-t-hard-code-thumb-code-generation.patch rename to buildroot-2022.02.1/package/ne10/0001-CMakeLists-don-t-hard-code-thumb-code-generation.patch diff --git a/buildroot-2021.05/package/ne10/Config.in b/buildroot-2022.02.1/package/ne10/Config.in similarity index 100% rename from buildroot-2021.05/package/ne10/Config.in rename to buildroot-2022.02.1/package/ne10/Config.in diff --git a/buildroot-2021.05/package/ne10/ne10.hash b/buildroot-2022.02.1/package/ne10/ne10.hash similarity index 100% rename from buildroot-2021.05/package/ne10/ne10.hash rename to buildroot-2022.02.1/package/ne10/ne10.hash diff --git a/buildroot-2021.05/package/ne10/ne10.mk b/buildroot-2022.02.1/package/ne10/ne10.mk similarity index 100% rename from buildroot-2021.05/package/ne10/ne10.mk rename to buildroot-2022.02.1/package/ne10/ne10.mk diff --git a/buildroot-2022.02.1/package/neard/Config.in b/buildroot-2022.02.1/package/neard/Config.in new file mode 100644 index 00000000..a60fb3f8 --- /dev/null +++ b/buildroot-2022.02.1/package/neard/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_NEARD + bool "neard" + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libnl, dbus, libglib2 + depends on BR2_USE_MMU # dbus, libglib2 + depends on !BR2_STATIC_LIBS # dlopen + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBNL + help + Near Field Communication (NFC) manager. This userspace + daemon is a part of the NFC stack provided by the Linux NFC + project. + + https://git.kernel.org/pub/scm/network/nfc/neard.git + +if BR2_PACKAGE_NEARD + +config BR2_PACKAGE_NEARD_TOOLS + bool "neard tools" + help + Build and install neard tools. + +endif + +comment "neard needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/neard/S53neard b/buildroot-2022.02.1/package/neard/S53neard similarity index 100% rename from buildroot-2021.05/package/neard/S53neard rename to buildroot-2022.02.1/package/neard/S53neard diff --git a/buildroot-2022.02.1/package/neard/neard.hash b/buildroot-2022.02.1/package/neard/neard.hash new file mode 100644 index 00000000..1ea95c93 --- /dev/null +++ b/buildroot-2022.02.1/package/neard/neard.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 c013e3115315e2e11d16b5f0f1c8ce9afbcdba26800aad91245fd9b4a5dc938b neard-0.18.tar.gz +sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING diff --git a/buildroot-2022.02.1/package/neard/neard.mk b/buildroot-2022.02.1/package/neard/neard.mk new file mode 100644 index 00000000..51ba52fb --- /dev/null +++ b/buildroot-2022.02.1/package/neard/neard.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# neard +# +################################################################################ + +NEARD_VERSION = 0.18 +NEARD_SITE = https://git.kernel.org/pub/scm/network/nfc/neard.git/snapshot +NEARD_LICENSE = GPL-2.0 +NEARD_LICENSE_FILES = COPYING + +NEARD_DEPENDENCIES = host-autoconf-archive host-pkgconf dbus libglib2 libnl +# From git +NEARD_AUTORECONF = YES +NEARD_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive +NEARD_CONF_OPTS = --disable-traces + +# Autoreconf is missing the m4/ directory, which might actually be missing +# iff it was the first argument, but unfortunately we are overriding the +# first include directory above. Thus we need that hook here. +define NEARD_CREATE_M4 + mkdir -p $(@D)/m4 +endef +NEARD_POST_PATCH_HOOKS += NEARD_CREATE_M4 + +ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y) +NEARD_CONF_OPTS += --enable-tools +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +NEARD_CONF_OPTS += --enable-systemd +NEARD_DEPENDENCIES += systemd +else +NEARD_CONF_OPTS += --disable-systemd +endif + +define NEARD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/neard/S53neard \ + $(TARGET_DIR)/etc/init.d/S53neard +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/neardal/0001-lib-neardal.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/neardal/0001-lib-neardal.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/neardal/0001-lib-neardal.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/neardal/0001-lib-neardal.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/neardal/Config.in b/buildroot-2022.02.1/package/neardal/Config.in similarity index 100% rename from buildroot-2021.05/package/neardal/Config.in rename to buildroot-2022.02.1/package/neardal/Config.in diff --git a/buildroot-2021.05/package/neardal/neardal.hash b/buildroot-2022.02.1/package/neardal/neardal.hash similarity index 100% rename from buildroot-2021.05/package/neardal/neardal.hash rename to buildroot-2022.02.1/package/neardal/neardal.hash diff --git a/buildroot-2021.05/package/neardal/neardal.mk b/buildroot-2022.02.1/package/neardal/neardal.mk similarity index 100% rename from buildroot-2021.05/package/neardal/neardal.mk rename to buildroot-2022.02.1/package/neardal/neardal.mk diff --git a/buildroot-2021.05/package/neofetch/Config.in b/buildroot-2022.02.1/package/neofetch/Config.in similarity index 100% rename from buildroot-2021.05/package/neofetch/Config.in rename to buildroot-2022.02.1/package/neofetch/Config.in diff --git a/buildroot-2021.05/package/neofetch/neofetch.hash b/buildroot-2022.02.1/package/neofetch/neofetch.hash similarity index 100% rename from buildroot-2021.05/package/neofetch/neofetch.hash rename to buildroot-2022.02.1/package/neofetch/neofetch.hash diff --git a/buildroot-2021.05/package/neofetch/neofetch.mk b/buildroot-2022.02.1/package/neofetch/neofetch.mk similarity index 100% rename from buildroot-2021.05/package/neofetch/neofetch.mk rename to buildroot-2022.02.1/package/neofetch/neofetch.mk diff --git a/buildroot-2022.02.1/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch b/buildroot-2022.02.1/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch new file mode 100644 index 00000000..02088bfe --- /dev/null +++ b/buildroot-2022.02.1/package/neon/0001-Revert-Advertise-TS_SSL-feature-with-OpenSSL-1.1.0.patch @@ -0,0 +1,76 @@ +From 8f9e110b391f065536780d19c2257ad7afd83522 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 31 Jan 2022 23:42:13 +0100 +Subject: [PATCH] Revert "Advertise TS_SSL feature with OpenSSL >= 1.1.0." + +This reverts commit 281c84fc3996c757efdf6e9b3f906d7a1fc08b1d. + +Indeed openssl can be built on toolchains without threads support which +will result in the following build failure: + +ne_openssl.c:43:10: fatal error: pthread.h: No such file or directory + 43 | #include + | ^~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/da995ef26001357e51a5907de9c6111b9ff89bdf + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/notroj/neon/pull/71] +--- + macros/neon.m4 | 15 ++++----------- + src/ne_openssl.c | 4 ++-- + 2 files changed, 6 insertions(+), 13 deletions(-) + +diff --git a/macros/neon.m4 b/macros/neon.m4 +index 129d4ac..5a5fb1b 100644 +--- a/macros/neon.m4 ++++ b/macros/neon.m4 +@@ -960,13 +960,9 @@ yes|openssl) + AC_CHECK_HEADERS(openssl/ssl.h openssl/opensslv.h,, + [AC_MSG_ERROR([OpenSSL headers not found, cannot enable SSL support])]) + ++ # Enable EGD support if using 0.9.7 or newer + NE_CHECK_OPENSSLVER(ne_cv_lib_ssl097, 0.9.7, 0x00907000L) +- NE_CHECK_OPENSSLVER(ne_cv_lib_ssl110, 1.1.0, 0x10100000L) +- if test "$ne_cv_lib_ssl110" = "yes"; then +- NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) +- AC_DEFINE(HAVE_OPENSSL11, 1, [Enable OpenSSL 1.1 support]) +- elif test "$ne_cv_lib_ssl097" = "yes"; then +- # Enable EGD support if using 0.9.7 or newer ++ if test "$ne_cv_lib_ssl097" = "yes"; then + AC_MSG_NOTICE([OpenSSL >= 0.9.7; EGD support not needed in neon]) + NE_ENABLE_SUPPORT(SSL, [SSL support enabled, using OpenSSL $NE_SSL_VERSION]) + NE_CHECK_FUNCS(CRYPTO_set_idptr_callback SSL_SESSION_cmp) +@@ -1074,11 +1070,8 @@ CC/CFLAGS/LIBS must be used to make the POSIX library interfaces + available]),, + enable_threadsafe_ssl=no) + +-case ${enable_threadsafe_ssl}X${ne_cv_lib_ssl110} in +-*Xyes) +- NE_ENABLE_SUPPORT(TS_SSL, [OpenSSL is natively thread-safe]) +- ;; +-posixX*|yesX*) ++case $enable_threadsafe_ssl in ++posix|yes) + ne_pthr_ok=yes + AC_CHECK_FUNCS([pthread_mutex_init pthread_mutex_lock],,[ne_pthr_ok=no]) + if test "${ne_pthr_ok}" = "no"; then +diff --git a/src/ne_openssl.c b/src/ne_openssl.c +index 41a5c05..96c768e 100644 +--- a/src/ne_openssl.c ++++ b/src/ne_openssl.c +@@ -1194,8 +1194,8 @@ char *ne_vstrhash(unsigned int flags, va_list ap) + return ne__strhash2hex(v, vlen, flags); + } + +-#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10100000L +-/* From OpenSSL 1.1.0 locking callbacks are no longer needed. */ ++#if defined(NE_HAVE_TS_SSL) && OPENSSL_VERSION_NUMBER < 0x10101000L ++/* For OpenSSL 1.1.1 locking callbacks are no longer need at all. */ + #define WITH_OPENSSL_LOCKING (1) + + /* Implementation of locking callbacks to make OpenSSL thread-safe. +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/neon/0002-configure.ac-fix-autoreconf.patch b/buildroot-2022.02.1/package/neon/0002-configure.ac-fix-autoreconf.patch new file mode 100644 index 00000000..cd63d1ed --- /dev/null +++ b/buildroot-2022.02.1/package/neon/0002-configure.ac-fix-autoreconf.patch @@ -0,0 +1,28 @@ +From cf779609a5dd38f0a8fdb3c4539371f13fd3a24a Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 8 Feb 2022 18:34:25 +0100 +Subject: [PATCH] configure.ac: fix autoreconf + +Add AC_CONFIG_MACRO_DIR(macros) to fix autoreconf + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet] +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 37b14ec..122151d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1,5 +1,7 @@ + AC_PREREQ(2.58) dnl 2.58 required for AS_HELP_STRING + ++AC_CONFIG_MACRO_DIR(macros) ++ + dnl Extract the version (sans LF) from .version, created at release-time. + m4_define(ne_version, [m4_translit(m4_include(.version), [ + ])]) +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/neon/Config.in b/buildroot-2022.02.1/package/neon/Config.in new file mode 100644 index 00000000..45348a7f --- /dev/null +++ b/buildroot-2022.02.1/package/neon/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_NEON + bool "libneon" + help + HTTP and WebDAV client library, with a C interface. + + https://notroj.github.io/neon/ + +if BR2_PACKAGE_NEON + +config BR2_PACKAGE_NEON_ZLIB + bool "ZLIB support" + select BR2_PACKAGE_ZLIB + help + build with ZLIB support + +config BR2_PACKAGE_NEON_SSL + bool "SSL support" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL + help + build with SSL support + +# This is an hidden symbol other packages can select to ensure that +# Neon has XML support, either provided by Expat or libxml2. +config BR2_PACKAGE_NEON_XML + bool + select BR2_PACKAGE_NEON_EXPAT if !BR2_PACKAGE_NEON_LIBXML2 + +config BR2_PACKAGE_NEON_EXPAT + bool "XML support with expat" + depends on !BR2_PACKAGE_NEON_LIBXML2 + select BR2_PACKAGE_EXPAT + help + Enable XML support in neon, using the Expat XML library. + +config BR2_PACKAGE_NEON_LIBXML2 + bool "XML support with libxml2" + select BR2_PACKAGE_LIBXML2 + help + Enable XML support in neon, using the libxml2 XML library. + +endif diff --git a/buildroot-2022.02.1/package/neon/neon.hash b/buildroot-2022.02.1/package/neon/neon.hash new file mode 100644 index 00000000..5a5a77a5 --- /dev/null +++ b/buildroot-2022.02.1/package/neon/neon.hash @@ -0,0 +1,6 @@ +# Locally computed +sha256 986566468c6295fc5d0fb141a5981e31c9f82ee38e938374abed8471ef2fb286 neon-0.32.2.tar.gz +# Hash for license files +sha256 ce2421ee38d6c0e02c85ac076478a0f92da6ef92b92b7a174877cabf01b2e531 README.md +sha256 d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f src/COPYING.LIB +sha256 91df39d1816bfb17a4dda2d3d2c83b1f6f2d38d53e53e41e8f97ad5ac46a0cad test/COPYING diff --git a/buildroot-2022.02.1/package/neon/neon.mk b/buildroot-2022.02.1/package/neon/neon.mk new file mode 100644 index 00000000..eae6bfba --- /dev/null +++ b/buildroot-2022.02.1/package/neon/neon.mk @@ -0,0 +1,54 @@ +################################################################################ +# +# neon +# +################################################################################ + +NEON_VERSION = 0.32.2 +NEON_SITE = https://notroj.github.io/neon +NEON_LICENSE = LGPL-2.0+ (library), GPL-2.0+ (manual and tests) +NEON_LICENSE_FILES = src/COPYING.LIB test/COPYING README.md +NEON_CPE_ID_VENDOR = webdav +NEON_INSTALL_STAGING = YES +# We're patching configure.ac +NEON_AUTORECONF = YES +NEON_CONF_OPTS = --without-gssapi --disable-rpath +NEON_CONFIG_SCRIPTS = neon-config +NEON_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) +NEON_CONF_ENV = ne_cv_libsfor_bindtextdomain=$(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_NEON_ZLIB),y) +NEON_CONF_OPTS += --with-zlib=$(STAGING_DIR) +NEON_DEPENDENCIES += zlib +else +NEON_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_NEON_SSL),y) +NEON_CONF_OPTS += --with-ssl +NEON_DEPENDENCIES += openssl +else +NEON_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_NEON_EXPAT),y) +NEON_CONF_OPTS += --with-expat=yes +NEON_DEPENDENCIES += expat +else +NEON_CONF_OPTS += --with-expat=no +endif + +ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y) +NEON_CONF_OPTS += --with-libxml2=yes +NEON_CONF_ENV += ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config +NEON_DEPENDENCIES += libxml2 +else +NEON_CONF_OPTS += --with-libxml2=no +endif + +ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),) +# webdav needs xml support +NEON_CONF_OPTS += --disable-webdav +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/net-tools/Config.in b/buildroot-2022.02.1/package/net-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/net-tools/Config.in rename to buildroot-2022.02.1/package/net-tools/Config.in diff --git a/buildroot-2022.02.1/package/net-tools/net-tools.hash b/buildroot-2022.02.1/package/net-tools/net-tools.hash new file mode 100644 index 00000000..fdc30fa2 --- /dev/null +++ b/buildroot-2022.02.1/package/net-tools/net-tools.hash @@ -0,0 +1,6 @@ +# From http://sourceforge.net/projects/net-tools/files/ +sha1 4080baab0486dc882c3b293d5559c27251ae4268 net-tools-2.10.tar.xz +md5 78aae762c95e2d731faf88d482e4cde5 net-tools-2.10.tar.xz +# Locally computed +sha256 b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69 net-tools-2.10.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/net-tools/net-tools.mk b/buildroot-2022.02.1/package/net-tools/net-tools.mk new file mode 100644 index 00000000..4a03e3d8 --- /dev/null +++ b/buildroot-2022.02.1/package/net-tools/net-tools.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# net-tools +# +################################################################################ + +NET_TOOLS_VERSION = 2.10 +NET_TOOLS_SOURCE = net-tools-$(NET_TOOLS_VERSION).tar.xz +NET_TOOLS_SITE = http://downloads.sourceforge.net/project/net-tools +NET_TOOLS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +NET_TOOLS_LICENSE = GPL-2.0+ +NET_TOOLS_LICENSE_FILES = COPYING +NET_TOOLS_CPE_ID_VENDOR = net-tools_project + +define NET_TOOLS_CONFIGURE_CMDS + (cd $(@D); yes "" | ./configure.sh config.in ) +endef + +# Enable I18N when appropiate +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +define NET_TOOLS_ENABLE_I18N + $(SED) 's:I18N 0:I18N 1:' $(@D)/config.h +endef +endif + +# Enable IPv6 +define NET_TOOLS_ENABLE_IPV6 + $(SED) 's:_AFINET6 0:_AFINET6 1:' $(@D)/config.h +endef + +NET_TOOLS_POST_CONFIGURE_HOOKS += NET_TOOLS_ENABLE_I18N NET_TOOLS_ENABLE_IPV6 + +define NET_TOOLS_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) \ + LDFLAGS="$(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)" \ + $(MAKE) -C $(@D) +endef + +# ifconfig & route reside in /sbin for busybox, so ensure we don't end +# up with two versions of those. +define NET_TOOLS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install + mv -f $(TARGET_DIR)/bin/ifconfig $(TARGET_DIR)/sbin/ifconfig + mv -f $(TARGET_DIR)/bin/route $(TARGET_DIR)/sbin/route +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/netatalk/0001-Fix-setting-of-LD_LIBRARY_FLAGS-shlibpath_var.patch b/buildroot-2022.02.1/package/netatalk/0001-Fix-setting-of-LD_LIBRARY_FLAGS-shlibpath_var.patch similarity index 100% rename from buildroot-2021.05/package/netatalk/0001-Fix-setting-of-LD_LIBRARY_FLAGS-shlibpath_var.patch rename to buildroot-2022.02.1/package/netatalk/0001-Fix-setting-of-LD_LIBRARY_FLAGS-shlibpath_var.patch diff --git a/buildroot-2022.02.1/package/netatalk/Config.in b/buildroot-2022.02.1/package/netatalk/Config.in new file mode 100644 index 00000000..225d5891 --- /dev/null +++ b/buildroot-2022.02.1/package/netatalk/Config.in @@ -0,0 +1,23 @@ +config BR2_PACKAGE_NETATALK + bool "netatalk" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_BERKELEYDB + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBEVENT + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBGPG_ERROR + help + Netatalk can be used to turn a *NIX machine into an + extremely high-performance and reliable file server for + Macintosh computers. + + http://netatalk.sourceforge.net/ + +comment "netatalk needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/netatalk/S50netatalk b/buildroot-2022.02.1/package/netatalk/S50netatalk similarity index 100% rename from buildroot-2021.05/package/netatalk/S50netatalk rename to buildroot-2022.02.1/package/netatalk/S50netatalk diff --git a/buildroot-2022.02.1/package/netatalk/netatalk.hash b/buildroot-2022.02.1/package/netatalk/netatalk.hash new file mode 100644 index 00000000..6dead545 --- /dev/null +++ b/buildroot-2022.02.1/package/netatalk/netatalk.hash @@ -0,0 +1,7 @@ +# From http://sourceforge.net/projects/netatalk/files/netatalk/3.1.13/ +md5 697421623c32ee0ab9c8076191766e5f netatalk-3.1.13.tar.bz2 +sha1 16dd7fa84962a44b36b795b8c44393e728785947 netatalk-3.1.13.tar.bz2 +# Locally computed +sha256 89ada6bcfe1b39ad94f58c236654d1d944f2645c3e7de98b3374e0bd37d5e05d netatalk-3.1.13.tar.bz2 +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING +sha256 7599ae145e53be03a08f8b558b2f2e0c828e1630f1843cc04f41981b8cefcd65 COPYRIGHT diff --git a/buildroot-2022.02.1/package/netatalk/netatalk.mk b/buildroot-2022.02.1/package/netatalk/netatalk.mk new file mode 100644 index 00000000..7cc950be --- /dev/null +++ b/buildroot-2022.02.1/package/netatalk/netatalk.mk @@ -0,0 +1,61 @@ +################################################################################ +# +# netatalk +# +################################################################################ + +NETATALK_VERSION = 3.1.13 +NETATALK_SITE = http://downloads.sourceforge.net/project/netatalk/netatalk/$(NETATALK_VERSION) +NETATALK_SOURCE = netatalk-$(NETATALK_VERSION).tar.bz2 +# For 0001-Fix-setting-of-LD_LIBRARY_FLAGS-shlibpath_var.patch +NETATALK_AUTORECONF = YES +NETATALK_CONFIG_SCRIPTS = netatalk-config +NETATALK_DEPENDENCIES = host-pkgconf openssl berkeleydb libgcrypt libgpg-error \ + libevent +NETATALK_LICENSE = GPL-2.0+, LGPL-3.0+, MIT-like +NETATALK_LICENSE_FILES = COPYING COPYRIGHT +NETATALK_CPE_ID_VENDOR = netatalk_project + +# Don't run ldconfig! +NETATALK_CONF_ENV += CC="$(TARGET_CC) -std=gnu99" \ + ac_cv_path_NETA_LDCONFIG="" +NETATALK_CONF_OPTS += \ + --with-cnid-cdb-backend \ + --with-bdb=$(STAGING_DIR)/usr \ + --with-ssl-dir=$(STAGING_DIR)/usr \ + --with-libgcrypt-dir=$(STAGING_DIR)/usr \ + --with-shadow \ + --disable-shell-check \ + --without-kerberos \ + --without-pam \ + --with-libevent=no \ + --with-dtrace=no \ + --with-mysql-config=no + +ifeq ($(BR2_PACKAGE_ACL),y) +NETATALK_DEPENDENCIES += acl +else +NETATALK_CONF_OPTS += --with-acls=no +endif + +ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy) +NETATALK_DEPENDENCIES += avahi +NETATALK_CONF_OPTS += --enable-zeroconf=$(STAGING_DIR)/usr +else +NETATALK_CONF_OPTS += --disable-zeroconf +endif + +ifeq ($(BR2_PACKAGE_CUPS),y) +NETATALK_DEPENDENCIES += cups +NETATALK_CONF_ENV += ac_cv_path_CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config +NETATALK_CONF_OPTS += --enable-cups +else +NETATALK_CONF_OPTS += --disable-cups +endif + +define NETATALK_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/netatalk/S50netatalk \ + $(TARGET_DIR)/etc/init.d/S50netatalk +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/netcalc/Config.in b/buildroot-2022.02.1/package/netcalc/Config.in similarity index 100% rename from buildroot-2021.05/package/netcalc/Config.in rename to buildroot-2022.02.1/package/netcalc/Config.in diff --git a/buildroot-2021.05/package/netcalc/netcalc.hash b/buildroot-2022.02.1/package/netcalc/netcalc.hash similarity index 100% rename from buildroot-2021.05/package/netcalc/netcalc.hash rename to buildroot-2022.02.1/package/netcalc/netcalc.hash diff --git a/buildroot-2021.05/package/netcalc/netcalc.mk b/buildroot-2022.02.1/package/netcalc/netcalc.mk similarity index 100% rename from buildroot-2021.05/package/netcalc/netcalc.mk rename to buildroot-2022.02.1/package/netcalc/netcalc.mk diff --git a/buildroot-2021.05/package/netcat-openbsd/Config.in b/buildroot-2022.02.1/package/netcat-openbsd/Config.in similarity index 100% rename from buildroot-2021.05/package/netcat-openbsd/Config.in rename to buildroot-2022.02.1/package/netcat-openbsd/Config.in diff --git a/buildroot-2022.02.1/package/netcat-openbsd/netcat-openbsd.hash b/buildroot-2022.02.1/package/netcat-openbsd/netcat-openbsd.hash new file mode 100644 index 00000000..e55dea53 --- /dev/null +++ b/buildroot-2022.02.1/package/netcat-openbsd/netcat-openbsd.hash @@ -0,0 +1,6 @@ +# From http://snapshot.debian.org/archive/debian/20211206T030211Z/pool/main/n/netcat-openbsd/netcat-openbsd_1.218-3.dsc +sha256 a28a5d39abaf481747b1e78b4b50e96d0cdab0ffef289cba156dc11941c64857 netcat-openbsd_1.218.orig.tar.gz +sha256 19229ebc825d12cd805843228c498cc881dcef127a9d680fcfbd8cb2da966161 netcat-openbsd_1.218-3.debian.tar.xz + +# Hash for license file +sha256 acfd1d822ee2e8e0b196c7a369383d0cb9bc131b56c3c95976a32498728fe1e3 netcat.c diff --git a/buildroot-2022.02.1/package/netcat-openbsd/netcat-openbsd.mk b/buildroot-2022.02.1/package/netcat-openbsd/netcat-openbsd.mk new file mode 100644 index 00000000..311f8aa8 --- /dev/null +++ b/buildroot-2022.02.1/package/netcat-openbsd/netcat-openbsd.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# netcat-openbsd +# +################################################################################ + +NETCAT_OPENBSD_VERSION = 1.218 +NETCAT_OPENBSD_SOURCE = netcat-openbsd_$(NETCAT_OPENBSD_VERSION).orig.tar.gz +NETCAT_OPENBSD_PATCH = netcat-openbsd_$(NETCAT_OPENBSD_VERSION)-3.debian.tar.xz +NETCAT_OPENBSD_SITE = http://snapshot.debian.org/archive/debian/20211206T030211Z/pool/main/n/netcat-openbsd +NETCAT_OPENBSD_LICENSE = BSD-3-Clause +NETCAT_OPENBSD_LICENSE_FILES = netcat.c +NETCAT_OPENBSD_DEPENDENCIES = host-pkgconf libbsd + +define NETCAT_OPENBSD_APPLY_DEBIAN_PATCHES + if [ -d $(@D)/debian/patches ]; then \ + $(APPLY_PATCHES) $(@D) $(@D)/debian/patches *.dpatch; \ + fi +endef + +NETCAT_OPENBSD_POST_PATCH_HOOKS += NETCAT_OPENBSD_APPLY_DEBIAN_PATCHES + +define NETCAT_OPENBSD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define NETCAT_OPENBSD_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -D $(@D)/nc $(TARGET_DIR)/usr/bin/nc +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/netcat/0001-signed-bit-counting.patch b/buildroot-2022.02.1/package/netcat/0001-signed-bit-counting.patch similarity index 100% rename from buildroot-2021.05/package/netcat/0001-signed-bit-counting.patch rename to buildroot-2022.02.1/package/netcat/0001-signed-bit-counting.patch diff --git a/buildroot-2021.05/package/netcat/Config.in b/buildroot-2022.02.1/package/netcat/Config.in similarity index 100% rename from buildroot-2021.05/package/netcat/Config.in rename to buildroot-2022.02.1/package/netcat/Config.in diff --git a/buildroot-2021.05/package/netcat/netcat.hash b/buildroot-2022.02.1/package/netcat/netcat.hash similarity index 100% rename from buildroot-2021.05/package/netcat/netcat.hash rename to buildroot-2022.02.1/package/netcat/netcat.hash diff --git a/buildroot-2021.05/package/netcat/netcat.mk b/buildroot-2022.02.1/package/netcat/netcat.mk similarity index 100% rename from buildroot-2021.05/package/netcat/netcat.mk rename to buildroot-2022.02.1/package/netcat/netcat.mk diff --git a/buildroot-2022.02.1/package/netdata/Config.in b/buildroot-2022.02.1/package/netdata/Config.in new file mode 100644 index 00000000..34d13912 --- /dev/null +++ b/buildroot-2022.02.1/package/netdata/Config.in @@ -0,0 +1,41 @@ +config BR2_PACKAGE_NETDATA + bool "netdata" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS # libuv + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv + select BR2_PACKAGE_LIBUV + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_ZLIB + help + Netdata is distributed, real-time, performance and health + monitoring for systems and applications. It is a highly + optimized monitoring agent you install on all your systems and + containers. + + https://github.com/netdata/netdata + +if BR2_PACKAGE_NETDATA + +config BR2_PACKAGE_NETDATA_PROMETHEUS + bool "prometheus remote write backend" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP # protobuf, snappy + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_SNAPPY + help + Enable prometheus remote write backend + +comment "prometheus remote write backend needs a toolchain w/ C++, gcc >= 4.8" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + +endif + +comment "netdata needs a toolchain w/ NPTL, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 diff --git a/buildroot-2021.05/package/netdata/S60netdata b/buildroot-2022.02.1/package/netdata/S60netdata similarity index 100% rename from buildroot-2021.05/package/netdata/S60netdata rename to buildroot-2022.02.1/package/netdata/S60netdata diff --git a/buildroot-2021.05/package/netdata/netdata.hash b/buildroot-2022.02.1/package/netdata/netdata.hash similarity index 100% rename from buildroot-2021.05/package/netdata/netdata.hash rename to buildroot-2022.02.1/package/netdata/netdata.hash diff --git a/buildroot-2022.02.1/package/netdata/netdata.mk b/buildroot-2022.02.1/package/netdata/netdata.mk new file mode 100644 index 00000000..6def5976 --- /dev/null +++ b/buildroot-2022.02.1/package/netdata/netdata.mk @@ -0,0 +1,79 @@ +################################################################################ +# +# netdata +# +################################################################################ + +NETDATA_VERSION = 1.21.1 +NETDATA_SITE = $(call github,netdata,netdata,v$(NETDATA_VERSION)) +NETDATA_LICENSE = GPL-3.0+ +NETDATA_LICENSE_FILES = LICENSE +NETDATA_CPE_ID_VENDOR = netdata +# netdata's source code is released without a generated configure script +NETDATA_AUTORECONF = YES +NETDATA_CONF_OPTS = \ + --disable-dbengine \ + --disable-unit-tests +NETDATA_DEPENDENCIES = libuv util-linux zlib + +ifeq ($(BR2_GCC_ENABLE_LTO),y) +NETDATA_CONF_OPTS += --enable-lto +else +NETDATA_CONF_OPTS += --disable-lto +endif + +ifeq ($(BR2_PACKAGE_CUPS),y) +NETDATA_CONF_OPTS += --enable-plugin-cups +NETDATA_DEPENDENCIES += cups +else +NETDATA_CONF_OPTS += --disable-plugin-cups +endif + +ifeq ($(BR2_PACKAGE_JSON_C),y) +NETDATA_CONF_OPTS += --enable-jsonc +NETDATA_DEPENDENCIES += json-c +else +NETDATA_CONF_OPTS += --disable-jsonc +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +NETDATA_CONF_OPTS += --with-libcap +NETDATA_DEPENDENCIES += libcap +else +NETDATA_CONF_OPTS += --without-libcap +endif + +ifeq ($(BR2_PACKAGE_NFACCT),y) +NETDATA_CONF_OPTS += --enable-plugin-nfacct +NETDATA_DEPENDENCIES += nfacct +else +NETDATA_CONF_OPTS += --disable-plugin-nfacct +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +NETDATA_CONF_OPTS += --enable-https +NETDATA_DEPENDENCIES += openssl +else +NETDATA_CONF_OPTS += --disable-https +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +NETDATA_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_PACKAGE_NETDATA_PROMETHEUS),y) +# Override the result of AC_PATH_PROG([CXX_BINARY], [${CXX}], [no]) +# which fails because CXX is set to the full CXX binary path +NETDATA_CONF_ENV += ac_cv_path_CXX_BINARY=yes +NETDATA_CONF_OPTS += --enable-backend-prometheus-remote-write +NETDATA_DEPENDENCIES += protobuf snappy +else +NETDATA_CONF_OPTS += --disable-backend-prometheus-remote-write +endif + +define NETDATA_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/netdata/S60netdata \ + $(TARGET_DIR)/etc/init.d/S60netdata +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/netifrc/Config.in b/buildroot-2022.02.1/package/netifrc/Config.in similarity index 100% rename from buildroot-2021.05/package/netifrc/Config.in rename to buildroot-2022.02.1/package/netifrc/Config.in diff --git a/buildroot-2021.05/package/netifrc/netifrc.hash b/buildroot-2022.02.1/package/netifrc/netifrc.hash similarity index 100% rename from buildroot-2021.05/package/netifrc/netifrc.hash rename to buildroot-2022.02.1/package/netifrc/netifrc.hash diff --git a/buildroot-2021.05/package/netifrc/netifrc.mk b/buildroot-2022.02.1/package/netifrc/netifrc.mk similarity index 100% rename from buildroot-2021.05/package/netifrc/netifrc.mk rename to buildroot-2022.02.1/package/netifrc/netifrc.mk diff --git a/buildroot-2022.02.1/package/netopeer2/Config.in b/buildroot-2022.02.1/package/netopeer2/Config.in new file mode 100644 index 00000000..db31a786 --- /dev/null +++ b/buildroot-2022.02.1/package/netopeer2/Config.in @@ -0,0 +1,36 @@ +comment "netopeer2 needs a toolchain w/ gcc >= 4.8, C++, threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +config BR2_PACKAGE_NETOPEER2 + bool "netopeer2" + depends on BR2_USE_MMU # libnetconf2, libssh, sysrepo + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang + depends on !BR2_STATIC_LIBS # libnetconf2, libssh, libyang, sysrepo + depends on BR2_INSTALL_LIBSTDCPP # sysrepo + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # sysrepo + select BR2_PACKAGE_LIBNETCONF2 + select BR2_PACKAGE_LIBSSH + select BR2_PACKAGE_LIBSSH_SERVER # For libnetconf2 to have SSH + select BR2_PACKAGE_LIBYANG + select BR2_PACKAGE_OPENSSL # For libnetconf2 to have TLS + select BR2_PACKAGE_SYSREPO + help + Netopeer2 is a set of tools implementing network configuration + tools based on the NETCONF Protocol. + + This is the server part. + + https://github.com/CESNET/Netopeer2 + +if BR2_PACKAGE_NETOPEER2 + +config BR2_PACKAGE_NETOPEER2_CLI + bool "cli" + help + Enable netopeer2 CLI. + +endif diff --git a/buildroot-2021.05/package/netopeer2/S52netopeer2 b/buildroot-2022.02.1/package/netopeer2/S52netopeer2 similarity index 100% rename from buildroot-2021.05/package/netopeer2/S52netopeer2 rename to buildroot-2022.02.1/package/netopeer2/S52netopeer2 diff --git a/buildroot-2022.02.1/package/netopeer2/netopeer2.hash b/buildroot-2022.02.1/package/netopeer2/netopeer2.hash new file mode 100644 index 00000000..2895bc51 --- /dev/null +++ b/buildroot-2022.02.1/package/netopeer2/netopeer2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 dedae40419cfddd09c1be7bb536b3a762ec8dcd568c2bfe803c0f6789a5ca834 netopeer2-2.0.35.tar.gz +sha256 b46f161fbdcf127d3ef22602e15958c3092fe3294f71a2dc8cdf8f6689cba95b LICENSE diff --git a/buildroot-2022.02.1/package/netopeer2/netopeer2.mk b/buildroot-2022.02.1/package/netopeer2/netopeer2.mk new file mode 100644 index 00000000..43f22b7e --- /dev/null +++ b/buildroot-2022.02.1/package/netopeer2/netopeer2.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# netopeer2 +# +################################################################################ + +NETOPEER2_VERSION = 2.0.35 +NETOPEER2_SITE = $(call github,CESNET,Netopeer2,v$(NETOPEER2_VERSION)) +NETOPEER2_DL_SUBDIR = netopeer2 +NETOPEER2_LICENSE = BSD-3-Clause +NETOPEER2_LICENSE_FILES = LICENSE +NETOPEER2_DEPENDENCIES = libnetconf2 libyang sysrepo host-sysrepo + +NETOPEER2_CONF_OPTS = \ + -DBUILD_CLI=$(if $(BR2_PACKAGE_NETOPEER2_CLI),ON,OFF) \ + -DENABLE_TESTS=OFF + +# Set a build specific SYSREPO_SHM_PREFIX to ensure we can safely delete the +# files. This also ensures that concurrent parallel builds will not be +# affected mutualy. +NETOPEER2_SYSREPO_SHM_PREFIX = sr_buildroot$(subst /,_,$(CONFIG_DIR))_netopeer2 + +NETOPEER2_MAKE_ENV = \ + SYSREPOCTL_EXECUTABLE=$(HOST_DIR)/bin/sysrepoctl \ + SYSREPO_SHM_PREFIX=$(NETOPEER2_SYSREPO_SHM_PREFIX) + +define NETOPEER2_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/netopeer2/S52netopeer2 \ + $(TARGET_DIR)/etc/init.d/S52netopeer2 +endef + +# The host sysrepo used to install the netopeer2 modules will leave +# its shared memory files lingering about. Clean up in its stead... +# We need to clean up both before and after installation, to catch +# the case of a previous build that failed before we run that hook. +define NETOPEER2_CLEANUP + rm -f /dev/shm/$(NETOPEER2_SYSREPO_SHM_PREFIX)* +endef +NETOPEER2_PRE_INSTALL_TARGET_HOOKS += NETOPEER2_CLEANUP +NETOPEER2_POST_INSTALL_TARGET_HOOKS += NETOPEER2_CLEANUP + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/netperf/0001-src-nettest_omni.c-fix-compilation-with-GCC10.patch b/buildroot-2022.02.1/package/netperf/0001-src-nettest_omni.c-fix-compilation-with-GCC10.patch similarity index 100% rename from buildroot-2021.05/package/netperf/0001-src-nettest_omni.c-fix-compilation-with-GCC10.patch rename to buildroot-2022.02.1/package/netperf/0001-src-nettest_omni.c-fix-compilation-with-GCC10.patch diff --git a/buildroot-2021.05/package/netperf/Config.in b/buildroot-2022.02.1/package/netperf/Config.in similarity index 100% rename from buildroot-2021.05/package/netperf/Config.in rename to buildroot-2022.02.1/package/netperf/Config.in diff --git a/buildroot-2021.05/package/netperf/netperf.hash b/buildroot-2022.02.1/package/netperf/netperf.hash similarity index 100% rename from buildroot-2021.05/package/netperf/netperf.hash rename to buildroot-2022.02.1/package/netperf/netperf.hash diff --git a/buildroot-2021.05/package/netperf/netperf.mk b/buildroot-2022.02.1/package/netperf/netperf.mk similarity index 100% rename from buildroot-2021.05/package/netperf/netperf.mk rename to buildroot-2022.02.1/package/netperf/netperf.mk diff --git a/buildroot-2021.05/package/netplug/0001-makefile-flags.patch b/buildroot-2022.02.1/package/netplug/0001-makefile-flags.patch similarity index 100% rename from buildroot-2021.05/package/netplug/0001-makefile-flags.patch rename to buildroot-2022.02.1/package/netplug/0001-makefile-flags.patch diff --git a/buildroot-2021.05/package/netplug/0002-add-missing-time-include.patch b/buildroot-2022.02.1/package/netplug/0002-add-missing-time-include.patch similarity index 100% rename from buildroot-2021.05/package/netplug/0002-add-missing-time-include.patch rename to buildroot-2022.02.1/package/netplug/0002-add-missing-time-include.patch diff --git a/buildroot-2021.05/package/netplug/0003-remove-assert-fail.patch b/buildroot-2022.02.1/package/netplug/0003-remove-assert-fail.patch similarity index 100% rename from buildroot-2021.05/package/netplug/0003-remove-assert-fail.patch rename to buildroot-2022.02.1/package/netplug/0003-remove-assert-fail.patch diff --git a/buildroot-2021.05/package/netplug/Config.in b/buildroot-2022.02.1/package/netplug/Config.in similarity index 100% rename from buildroot-2021.05/package/netplug/Config.in rename to buildroot-2022.02.1/package/netplug/Config.in diff --git a/buildroot-2021.05/package/netplug/S29netplug b/buildroot-2022.02.1/package/netplug/S29netplug similarity index 100% rename from buildroot-2021.05/package/netplug/S29netplug rename to buildroot-2022.02.1/package/netplug/S29netplug diff --git a/buildroot-2021.05/package/netplug/netplug-script b/buildroot-2022.02.1/package/netplug/netplug-script similarity index 100% rename from buildroot-2021.05/package/netplug/netplug-script rename to buildroot-2022.02.1/package/netplug/netplug-script diff --git a/buildroot-2021.05/package/netplug/netplug.hash b/buildroot-2022.02.1/package/netplug/netplug.hash similarity index 100% rename from buildroot-2021.05/package/netplug/netplug.hash rename to buildroot-2022.02.1/package/netplug/netplug.hash diff --git a/buildroot-2021.05/package/netplug/netplug.mk b/buildroot-2022.02.1/package/netplug/netplug.mk similarity index 100% rename from buildroot-2021.05/package/netplug/netplug.mk rename to buildroot-2022.02.1/package/netplug/netplug.mk diff --git a/buildroot-2021.05/package/netplug/netplug.service b/buildroot-2022.02.1/package/netplug/netplug.service similarity index 100% rename from buildroot-2021.05/package/netplug/netplug.service rename to buildroot-2022.02.1/package/netplug/netplug.service diff --git a/buildroot-2022.02.1/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch b/buildroot-2022.02.1/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch new file mode 100644 index 00000000..bbcbd2bf --- /dev/null +++ b/buildroot-2022.02.1/package/netsniff-ng/0001-Detect-libpcap-dependencies-using-pkg-config.patch @@ -0,0 +1,51 @@ +From 194ec61843b9598ce90873c812b817c4b96e2e0d Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Thu, 2 Sep 2021 12:56:00 +0300 +Subject: [PATCH] Detect libpcap dependencies using pkg-config + +When building statically the link command line must include all +dependencies of all libraries. libpcap can optionally depend on libnl. +mausezahn can't build statically in this case. + +Use pkg-config in configure and in the link command to construct the +library flags we need to link with libpcap. + +Signed-off-by: Baruch Siach +Signed-off-by: Tobias Klauser +--- +Upstream status: commit 194ec61843b9598ce90873c812b817c4b96e2e0d + + configure | 4 +++- + mausezahn/Makefile | 2 +- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/configure b/configure +index 510826a798f5..598ae2433a7a 100755 +--- a/configure ++++ b/configure +@@ -588,7 +588,9 @@ int main(void) + } + EOF + +- $CC -o $TMPDIR/pcaptest $TMPDIR/pcaptest.c -lpcap >> config.log 2>&1 ++ $CC -o $TMPDIR/pcaptest $TMPDIR/pcaptest.c \ ++ $($PKG_CONFIG --libs libpcap 2>> config.log) \ ++ >> config.log 2>&1 + if [ ! -x $TMPDIR/pcaptest ] ; then + echo "[NO]" + echo "CONFIG_LIBPCAP=0" >> Config +diff --git a/mausezahn/Makefile b/mausezahn/Makefile +index ca16b6579583..9544565355cc 100644 +--- a/mausezahn/Makefile ++++ b/mausezahn/Makefile +@@ -1,6 +1,6 @@ + mausezahn-libs = -lcli \ + -lnet \ +- -lpcap \ ++ $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libpcap 2> /dev/null ) \ + -lrt \ + -lpthread \ + -lm +-- +2.33.0 + diff --git a/buildroot-2021.05/package/netsniff-ng/Config.in b/buildroot-2022.02.1/package/netsniff-ng/Config.in similarity index 100% rename from buildroot-2021.05/package/netsniff-ng/Config.in rename to buildroot-2022.02.1/package/netsniff-ng/Config.in diff --git a/buildroot-2021.05/package/netsniff-ng/netsniff-ng.hash b/buildroot-2022.02.1/package/netsniff-ng/netsniff-ng.hash similarity index 100% rename from buildroot-2021.05/package/netsniff-ng/netsniff-ng.hash rename to buildroot-2022.02.1/package/netsniff-ng/netsniff-ng.hash diff --git a/buildroot-2022.02.1/package/netsniff-ng/netsniff-ng.mk b/buildroot-2022.02.1/package/netsniff-ng/netsniff-ng.mk new file mode 100644 index 00000000..27bd707c --- /dev/null +++ b/buildroot-2022.02.1/package/netsniff-ng/netsniff-ng.mk @@ -0,0 +1,61 @@ +################################################################################ +# +# netsniff-ng +# +################################################################################ + +NETSNIFF_NG_VERSION = 0.6.8 +NETSNIFF_NG_SITE = http://pub.netsniff-ng.org/netsniff-ng +NETSNIFF_NG_SOURCE = netsniff-ng-$(NETSNIFF_NG_VERSION).tar.xz +NETSNIFF_NG_LICENSE = GPL-2.0 +NETSNIFF_NG_LICENSE_FILES = README COPYING +# Prevent netsniff-ng configure script from finding a host installed nacl +NETSNIFF_NG_CONF_ENV = \ + NACL_INC_DIR=/dev/null \ + NACL_LIB_DIR=/dev/null +NETSNIFF_NG_DEPENDENCIES = host-pkgconf libnl libpcap libnetfilter_conntrack liburcu + +ifeq ($(BR2_PACKAGE_NETSNIFF_NG_MAUSEZAHN),y) +NETSNIFF_NG_DEPENDENCIES += libcli libnet +NETSNIFF_NG_BUILD_MAKE_TARGET = all +NETSNIFF_NG_INSTALL_MAKE_TARGET = install +else +NETSNIFF_NG_BUILD_MAKE_TARGET = allbutmausezahn +NETSNIFF_NG_INSTALL_MAKE_TARGET = install_allbutmausezahn +endif + +ifeq ($(BR2_PACKAGE_GEOIP),y) +NETSNIFF_NG_DEPENDENCIES += geoip +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) +NETSNIFF_NG_DEPENDENCIES += ncurses +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +NETSNIFF_NG_DEPENDENCIES += zlib +endif + +# hand-written configure script and makefile +define NETSNIFF_NG_CONFIGURE_CMDS + (cd $(@D); \ + $(NETSNIFF_NG_CONF_ENV) \ + $(TARGET_CONFIGURE_ARGS) \ + $(TARGET_CONFIGURE_OPTS) \ + ./configure \ + --prefix=$(TARGET_DIR)/usr \ + ) +endef + +define NETSNIFF_NG_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + $(NETSNIFF_NG_BUILD_MAKE_TARGET) +endef + +define NETSNIFF_NG_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + PREFIX=$(TARGET_DIR)/usr ETCDIR=$(TARGET_DIR)/etc \ + -C $(@D) $(NETSNIFF_NG_INSTALL_MAKE_TARGET) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/netsnmp/0001-configure-static-linking-Fix-SSL-checks.patch b/buildroot-2022.02.1/package/netsnmp/0001-configure-static-linking-Fix-SSL-checks.patch similarity index 100% rename from buildroot-2021.05/package/netsnmp/0001-configure-static-linking-Fix-SSL-checks.patch rename to buildroot-2022.02.1/package/netsnmp/0001-configure-static-linking-Fix-SSL-checks.patch diff --git a/buildroot-2021.05/package/netsnmp/0002-configure-Fix-lcrypto-lz-test.patch b/buildroot-2022.02.1/package/netsnmp/0002-configure-Fix-lcrypto-lz-test.patch similarity index 100% rename from buildroot-2021.05/package/netsnmp/0002-configure-Fix-lcrypto-lz-test.patch rename to buildroot-2022.02.1/package/netsnmp/0002-configure-Fix-lcrypto-lz-test.patch diff --git a/buildroot-2022.02.1/package/netsnmp/0003-configure-fix-AC_CHECK_FUNCS-EVP_sha224-EVP_sha384-..patch b/buildroot-2022.02.1/package/netsnmp/0003-configure-fix-AC_CHECK_FUNCS-EVP_sha224-EVP_sha384-..patch new file mode 100644 index 00000000..4293e15d --- /dev/null +++ b/buildroot-2022.02.1/package/netsnmp/0003-configure-fix-AC_CHECK_FUNCS-EVP_sha224-EVP_sha384-..patch @@ -0,0 +1,39 @@ +From 8e273c688aa235ed9c68570a700d31596bac14df Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Mon, 15 Oct 2018 19:07:05 +0200 +Subject: [PATCH] configure: fix AC_CHECK_FUNCS(EVP_sha224 EVP_sha384 ...) + failure on static linking + +If building as static lib, AC_CHECK_FUNCS(EVP_sha224 EVP_sha384 ...) +fails due to missing -lz in $LIBS. +At the moment, $LIBS contains $LIBCRYPTO only discarding previous $LIBS +content. + +Add $LIBS to: +LIBS="$LIBCRYPTO" +as: +LIBS="$LIBCRYPTO $LIBS" +This way $LIBS will contain -lz at the end of linking command that in +static linking build is mandatory. + +Signed-off-by: Giulio Benetti +--- + configure.d/config_os_libs2 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2 +index 81788a209..93044000b 100644 +--- a/configure.d/config_os_libs2 ++++ b/configure.d/config_os_libs2 +@@ -321,7 +321,7 @@ if test "x$tryopenssl" != "xno" -a "x$tryopenssl" != "xinternal"; then + AC_DEFINE(HAVE_LIBCRYPTO, 1, + [Define to 1 if you have the OpenSSL library (-lcrypto or -leay32).]) + netsnmp_save_LIBS="$LIBS" +- LIBS="$LIBCRYPTO" ++ LIBS="$LIBCRYPTO $LIBS" + AC_CHECK_FUNCS([AES_cfb128_encrypt]dnl + [EVP_sha224 EVP_sha384 ]dnl + [EVP_MD_CTX_create EVP_MD_CTX_destroy]dnl +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/netsnmp/0004-configure-fix-AC_CHECK_FUNCS-TLS_method-TLSv1_method.patch b/buildroot-2022.02.1/package/netsnmp/0004-configure-fix-AC_CHECK_FUNCS-TLS_method-TLSv1_method.patch new file mode 100644 index 00000000..8fcce2a5 --- /dev/null +++ b/buildroot-2022.02.1/package/netsnmp/0004-configure-fix-AC_CHECK_FUNCS-TLS_method-TLSv1_method.patch @@ -0,0 +1,39 @@ +From 1ab6e3fc3cf61fa5a7b7363e59095e868474524b Mon Sep 17 00:00:00 2001 +From: Giulio Benetti +Date: Mon, 15 Oct 2018 19:34:26 +0200 +Subject: [PATCH] configure: fix AC_CHECK_FUNCS(TLS_method TLSv1_method + ...) failure on static linking + +If building as static lib, AC_CHECK_FUNCS(TLS_method TLSv1_method ...) +fails due to missing -lz in $LIBS. +At the moment, $LIBS contains "-lssl $LIBCRYPTO" only discarding +previous $LIBS content. + +Add $LIBS to: +LIBS="-lssl $LIBCRYPTO" +as: +LIBS="-lssl $LIBCRYPTO $LIBS" +This way $LIBS will contain -lz at the end of linking command that in +static linking build is mandatory. + +Signed-off-by: Giulio Benetti +--- + configure.d/config_os_libs2 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.d/config_os_libs2 b/configure.d/config_os_libs2 +index 93044000b..c811c63ec 100644 +--- a/configure.d/config_os_libs2 ++++ b/configure.d/config_os_libs2 +@@ -349,7 +349,7 @@ if test "x$tryopenssl" != "xno" -a "x$tryopenssl" != "xinternal"; then + LIBS="$netsnmp_save_LIBS" + fi + netsnmp_save_LIBS="$LIBS" +- LIBS="-lssl $LIBCRYPTO" ++ LIBS="-lssl $LIBCRYPTO $LIBS" + AC_CHECK_FUNCS([TLS_method TLSv1_method DTLS_method DTLSv1_method]dnl + [SSL_library_init SSL_load_error_strings]dnl + [ERR_get_error_all]) +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/netsnmp/Config.in b/buildroot-2022.02.1/package/netsnmp/Config.in new file mode 100644 index 00000000..dff0f18b --- /dev/null +++ b/buildroot-2022.02.1/package/netsnmp/Config.in @@ -0,0 +1,61 @@ +config BR2_PACKAGE_NETSNMP + bool "netsnmp" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + Suite of applications used to implement SNMP v1, SNMP v2c, and + SNMP v3 using both IPv4 and IPv6. + + http://net-snmp.sourceforge.net/ + +if BR2_PACKAGE_NETSNMP + +config BR2_PACKAGE_NETSNMP_SERVER + bool "server" + default y + help + The snmpd server. + +config BR2_PACKAGE_NETSNMP_CLIENTS + bool "clients" + default y + help + The net-snmp clients (snmpget, snmpwalk, etc). + +config BR2_PACKAGE_NETSNMP_ENABLE_MIBS + bool "Install MIB files on target and enable MIB loading code" + default y + help + The net-snmp package contains a selection of MIB files. + Say yes if you want those MIB files installed on the target + and enable the code that parses the MIB files. + +config BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES + string "Build with these MIB modules" + default "host ucd-snmp/dlmod agentx" if !BR2_STATIC_LIBS + default "host agentx" if BR2_STATIC_LIBS + help + Specify which MIB modules to include. + +config BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES + string "Build without these MIB modules" + default "disman/event disman/schedule utilities" + help + Specify which MIB modules to exclude. + +config BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING + bool "Enable debugging code" + help + By default net-snmp is compiled without debugging support + (--disable-debugging). Enable this options if you need + debugging support, including the ability to log with + DEBUGMSG(), DEBUGMSGTL() and companion macros. + +config BR2_PACKAGE_NETSNMP_OPENSSL_INTERNAL + bool "Enable minimal internal OpenSSL code" + depends on !BR2_PACKAGE_OPENSSL + help + Enable a minimal internal copy of OpenSSL usable for USM + security. It will not enable the usage of SNMP over (D)TLS. + +endif diff --git a/buildroot-2021.05/package/netsnmp/S59snmpd b/buildroot-2022.02.1/package/netsnmp/S59snmpd similarity index 100% rename from buildroot-2021.05/package/netsnmp/S59snmpd rename to buildroot-2022.02.1/package/netsnmp/S59snmpd diff --git a/buildroot-2022.02.1/package/netsnmp/netsnmp.hash b/buildroot-2022.02.1/package/netsnmp/netsnmp.hash new file mode 100644 index 00000000..9d196c8b --- /dev/null +++ b/buildroot-2022.02.1/package/netsnmp/netsnmp.hash @@ -0,0 +1,7 @@ +# Locally calculated after checking pgp signature at +# https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9/net-snmp-5.9.tar.gz.asc +# using key D0F8F495DA6160C44EFFBF10F07B9D2DACB19FD6 +sha256 04303a66f85d6d8b16d3cc53bde50428877c82ab524e17591dfceaeb94df6071 net-snmp-5.9.tar.gz + +# Hash for license file +sha256 ed869ea395a1f125819a56676385ab0557a21507764bf56f2943302011381e59 COPYING diff --git a/buildroot-2022.02.1/package/netsnmp/netsnmp.mk b/buildroot-2022.02.1/package/netsnmp/netsnmp.mk new file mode 100644 index 00000000..985cfeac --- /dev/null +++ b/buildroot-2022.02.1/package/netsnmp/netsnmp.mk @@ -0,0 +1,110 @@ +################################################################################ +# +# netsnmp +# +################################################################################ + +NETSNMP_VERSION = 5.9 +NETSNMP_SITE = https://downloads.sourceforge.net/project/net-snmp/net-snmp/$(NETSNMP_VERSION) +NETSNMP_SOURCE = net-snmp-$(NETSNMP_VERSION).tar.gz +NETSNMP_LICENSE = Various BSD-like +NETSNMP_LICENSE_FILES = COPYING +NETSNMP_CPE_ID_VENDOR = net-snmp +NETSNMP_CPE_ID_PRODUCT = $(NETSNMP_CPE_ID_VENDOR) +NETSNMP_SELINUX_MODULES = snmp +NETSNMP_INSTALL_STAGING = YES +NETSNMP_CONF_ENV = \ + ac_cv_NETSNMP_CAN_USE_SYSCTL=no \ + ac_cv_path_PSPROG=/bin/ps +NETSNMP_CONF_OPTS = \ + --with-persistent-directory=/var/lib/snmp \ + --with-defaults \ + --enable-mini-agent \ + --without-rpm \ + --with-logfile=none \ + --without-kmem-usage \ + --enable-as-needed \ + --without-perl-modules \ + --disable-embedded-perl \ + --disable-perl-cc-checks \ + --disable-scripts \ + --with-default-snmp-version="1" \ + --enable-silent-libtool \ + --enable-mfd-rewrites \ + --with-sys-contact="root@localhost" \ + --with-sys-location="Unknown" \ + --with-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITH_MIB_MODULES))" \ + --with-out-mib-modules="$(call qstrip,$(BR2_PACKAGE_NETSNMP_WITHOUT_MIB_MODULES))" \ + --disable-manuals +NETSNMP_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install +NETSNMP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install +NETSNMP_MAKE = $(MAKE1) +NETSNMP_CONFIG_SCRIPTS = net-snmp-config +NETSNMP_AUTORECONF = YES + +ifeq ($(BR2_ENDIAN),"BIG") +NETSNMP_CONF_OPTS += --with-endianness=big +else +NETSNMP_CONF_OPTS += --with-endianness=little +endif + +ifeq ($(BR2_PACKAGE_LIBNL),y) +NETSNMP_DEPENDENCIES += host-pkgconf libnl +NETSNMP_CONF_OPTS += --with-nl +else +NETSNMP_CONF_OPTS += --without-nl +endif + +# OpenSSL +ifeq ($(BR2_PACKAGE_OPENSSL),y) +NETSNMP_DEPENDENCIES += host-pkgconf openssl +NETSNMP_CONF_OPTS += \ + --with-openssl=$(STAGING_DIR)/usr/include/openssl \ + --with-security-modules="tsm,usm" \ + --with-transports="DTLSUDP,TLSTCP" +NETSNMP_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` +else ifeq ($(BR2_PACKAGE_NETSNMP_OPENSSL_INTERNAL),y) +NETSNMP_CONF_OPTS += --with-openssl=internal +else +NETSNMP_CONF_OPTS += --without-openssl +endif + +# There's no option to forcibly enable or disable it +ifeq ($(BR2_PACKAGE_PCIUTILS),y) +NETSNMP_DEPENDENCIES += pciutils +endif + +# For ucd-snmp/lmsensorsMib +ifeq ($(BR2_PACKAGE_LM_SENSORS),y) +NETSNMP_DEPENDENCIES += lm-sensors +endif + +ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y) +NETSNMP_CONF_OPTS += --disable-mib-loading +NETSNMP_CONF_OPTS += --disable-mibs +endif + +ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y) +NETSNMP_CONF_OPTS += --disable-debugging +endif + +ifeq ($(BR2_PACKAGE_NETSNMP_SERVER),y) +NETSNMP_CONF_OPTS += --enable-agent +else +NETSNMP_CONF_OPTS += --disable-agent +endif + +ifeq ($(BR2_PACKAGE_NETSNMP_CLIENTS),y) +NETSNMP_CONF_OPTS += --enable-applications +else +NETSNMP_CONF_OPTS += --disable-applications +endif + +ifeq ($(BR2_PACKAGE_NETSNMP_SERVER),y) +define NETSNMP_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \ + $(TARGET_DIR)/etc/init.d/S59snmpd +endef +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/netstat-nat/Config.in b/buildroot-2022.02.1/package/netstat-nat/Config.in similarity index 100% rename from buildroot-2021.05/package/netstat-nat/Config.in rename to buildroot-2022.02.1/package/netstat-nat/Config.in diff --git a/buildroot-2021.05/package/netstat-nat/netstat-nat.hash b/buildroot-2022.02.1/package/netstat-nat/netstat-nat.hash similarity index 100% rename from buildroot-2021.05/package/netstat-nat/netstat-nat.hash rename to buildroot-2022.02.1/package/netstat-nat/netstat-nat.hash diff --git a/buildroot-2021.05/package/netstat-nat/netstat-nat.mk b/buildroot-2022.02.1/package/netstat-nat/netstat-nat.mk similarity index 100% rename from buildroot-2021.05/package/netstat-nat/netstat-nat.mk rename to buildroot-2022.02.1/package/netstat-nat/netstat-nat.mk diff --git a/buildroot-2021.05/package/netsurf-buildsystem/netsurf-buildsystem.hash b/buildroot-2022.02.1/package/netsurf-buildsystem/netsurf-buildsystem.hash similarity index 100% rename from buildroot-2021.05/package/netsurf-buildsystem/netsurf-buildsystem.hash rename to buildroot-2022.02.1/package/netsurf-buildsystem/netsurf-buildsystem.hash diff --git a/buildroot-2021.05/package/netsurf-buildsystem/netsurf-buildsystem.mk b/buildroot-2022.02.1/package/netsurf-buildsystem/netsurf-buildsystem.mk similarity index 100% rename from buildroot-2021.05/package/netsurf-buildsystem/netsurf-buildsystem.mk rename to buildroot-2022.02.1/package/netsurf-buildsystem/netsurf-buildsystem.mk diff --git a/buildroot-2021.05/package/netsurf/0001-avoid-system-perl-dependencies.patch b/buildroot-2022.02.1/package/netsurf/0001-avoid-system-perl-dependencies.patch similarity index 100% rename from buildroot-2021.05/package/netsurf/0001-avoid-system-perl-dependencies.patch rename to buildroot-2022.02.1/package/netsurf/0001-avoid-system-perl-dependencies.patch diff --git a/buildroot-2021.05/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch b/buildroot-2022.02.1/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch similarity index 100% rename from buildroot-2021.05/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch rename to buildroot-2022.02.1/package/netsurf/0002-do-not-cross-compile-nsgenbind.patch diff --git a/buildroot-2021.05/package/netsurf/0003-fix-compilation-without-curl.patch b/buildroot-2022.02.1/package/netsurf/0003-fix-compilation-without-curl.patch similarity index 100% rename from buildroot-2021.05/package/netsurf/0003-fix-compilation-without-curl.patch rename to buildroot-2022.02.1/package/netsurf/0003-fix-compilation-without-curl.patch diff --git a/buildroot-2021.05/package/netsurf/0004-framebuffer-Fix-internal-font-generated-source-for-GCC-10.patch b/buildroot-2022.02.1/package/netsurf/0004-framebuffer-Fix-internal-font-generated-source-for-GCC-10.patch similarity index 100% rename from buildroot-2021.05/package/netsurf/0004-framebuffer-Fix-internal-font-generated-source-for-GCC-10.patch rename to buildroot-2022.02.1/package/netsurf/0004-framebuffer-Fix-internal-font-generated-source-for-GCC-10.patch diff --git a/buildroot-2021.05/package/netsurf/Config.in b/buildroot-2022.02.1/package/netsurf/Config.in similarity index 100% rename from buildroot-2021.05/package/netsurf/Config.in rename to buildroot-2022.02.1/package/netsurf/Config.in diff --git a/buildroot-2021.05/package/netsurf/netsurf.hash b/buildroot-2022.02.1/package/netsurf/netsurf.hash similarity index 100% rename from buildroot-2021.05/package/netsurf/netsurf.hash rename to buildroot-2022.02.1/package/netsurf/netsurf.hash diff --git a/buildroot-2021.05/package/netsurf/netsurf.mk b/buildroot-2022.02.1/package/netsurf/netsurf.mk similarity index 100% rename from buildroot-2021.05/package/netsurf/netsurf.mk rename to buildroot-2022.02.1/package/netsurf/netsurf.mk diff --git a/buildroot-2021.05/package/nettle/0001-disable-testsuite-examples.patch b/buildroot-2022.02.1/package/nettle/0001-disable-testsuite-examples.patch similarity index 100% rename from buildroot-2021.05/package/nettle/0001-disable-testsuite-examples.patch rename to buildroot-2022.02.1/package/nettle/0001-disable-testsuite-examples.patch diff --git a/buildroot-2021.05/package/nettle/Config.in b/buildroot-2022.02.1/package/nettle/Config.in similarity index 100% rename from buildroot-2021.05/package/nettle/Config.in rename to buildroot-2022.02.1/package/nettle/Config.in diff --git a/buildroot-2022.02.1/package/nettle/nettle.hash b/buildroot-2022.02.1/package/nettle/nettle.hash new file mode 100644 index 00000000..cd32ad44 --- /dev/null +++ b/buildroot-2022.02.1/package/nettle/nettle.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://ftp.gnu.org/gnu/nettle/nettle-3.7.3.tar.gz.sig +sha256 661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0 nettle-3.7.3.tar.gz +# Locally calculated +sha256 a853c2ffec17057872340eee242ae4d96cbf2b520ae27d903e1b2fef1a5f9d1c COPYING.LESSERv3 +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYINGv2 diff --git a/buildroot-2022.02.1/package/nettle/nettle.mk b/buildroot-2022.02.1/package/nettle/nettle.mk new file mode 100644 index 00000000..3dbd0cb9 --- /dev/null +++ b/buildroot-2022.02.1/package/nettle/nettle.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# nettle +# +################################################################################ + +NETTLE_VERSION = 3.7.3 +NETTLE_SITE = http://www.lysator.liu.se/~nisse/archive +NETTLE_DEPENDENCIES = gmp +NETTLE_INSTALL_STAGING = YES +NETTLE_LICENSE = Dual GPL-2.0+/LGPL-3.0+ +NETTLE_LICENSE_FILES = COPYING.LESSERv3 COPYINGv2 +NETTLE_CPE_ID_VENDOR = nettle_project +# don't include openssl support for (unused) examples as it has problems +# with static linking +NETTLE_CONF_OPTS = --disable-openssl + +# ARM assembly requires v6+ ISA +ifeq ($(BR2_ARM_CPU_ARMV4)$(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV7M),y) +NETTLE_CONF_OPTS += --disable-assembler +endif + +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +NETTLE_CONF_OPTS += --enable-arm-neon +else +NETTLE_CONF_OPTS += --disable-arm-neon +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/network-manager-openvpn/Config.in b/buildroot-2022.02.1/package/network-manager-openvpn/Config.in similarity index 100% rename from buildroot-2021.05/package/network-manager-openvpn/Config.in rename to buildroot-2022.02.1/package/network-manager-openvpn/Config.in diff --git a/buildroot-2021.05/package/network-manager-openvpn/network-manager-openvpn.hash b/buildroot-2022.02.1/package/network-manager-openvpn/network-manager-openvpn.hash similarity index 100% rename from buildroot-2021.05/package/network-manager-openvpn/network-manager-openvpn.hash rename to buildroot-2022.02.1/package/network-manager-openvpn/network-manager-openvpn.hash diff --git a/buildroot-2021.05/package/network-manager-openvpn/network-manager-openvpn.mk b/buildroot-2022.02.1/package/network-manager-openvpn/network-manager-openvpn.mk similarity index 100% rename from buildroot-2021.05/package/network-manager-openvpn/network-manager-openvpn.mk rename to buildroot-2022.02.1/package/network-manager-openvpn/network-manager-openvpn.mk diff --git a/buildroot-2022.02.1/package/network-manager/Config.in b/buildroot-2022.02.1/package/network-manager/Config.in new file mode 100644 index 00000000..a48cb37b --- /dev/null +++ b/buildroot-2022.02.1/package/network-manager/Config.in @@ -0,0 +1,66 @@ +config BR2_PACKAGE_NETWORK_MANAGER + bool "network-manager" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt + depends on !BR2_STATIC_LIBS # gnutls + depends on BR2_USE_MMU # dbus + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + # Tested with 3.2, but may even work with earlier versions + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + depends on BR2_TOOLCHAIN_USES_GLIBC # CLOCK_BOOTTIME, IPTOS_CLASS_* + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_WCHAR # libglib2 + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_GNUTLS + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_WIRELESS_TOOLS + select BR2_PACKAGE_WIRELESS_TOOLS_LIB + select BR2_PACKAGE_LIBNDP + help + NetworkManager is a set of co-operative tools that make + networking simple and straightforward. Whether WiFi, wired, + 3G, or Bluetooth, NetworkManager allows you to quickly move + from one network to another: once a network has been + configured and joined once, it can be detected and re-joined + automatically the next time it's available. + + http://projects.gnome.org/NetworkManager/ + +if BR2_PACKAGE_NETWORK_MANAGER + +config BR2_PACKAGE_NETWORK_MANAGER_TUI + bool "nmtui support" + select BR2_PACKAGE_NEWT + help + This option enables terminal based UI + +config BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER + bool "modem-manager support" + select BR2_PACKAGE_MODEM_MANAGER + help + This option enables support for ModemManager + +config BR2_PACKAGE_NETWORK_MANAGER_PPPD + bool "pppd support" + select BR2_PACKAGE_PPPD + help + This option enables support for PPPD daemon + +config BR2_PACKAGE_NETWORK_MANAGER_OVS + bool "OpenVSwitch support" + select BR2_PACKAGE_JANSSON + help + This option enables support for OpenVSwitch + +endif + +comment "NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 4.6, dynamic library, wchar, threads, gcc >= 4.9" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_HAS_UDEV || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 || \ + !BR2_TOOLCHAIN_USES_GLIBC || BR2_STATIC_LIBS || \ + !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/network-manager/S45network-manager b/buildroot-2022.02.1/package/network-manager/S45network-manager similarity index 100% rename from buildroot-2021.05/package/network-manager/S45network-manager rename to buildroot-2022.02.1/package/network-manager/S45network-manager diff --git a/buildroot-2022.02.1/package/network-manager/network-manager.hash b/buildroot-2022.02.1/package/network-manager/network-manager.hash new file mode 100644 index 00000000..d25f0e81 --- /dev/null +++ b/buildroot-2022.02.1/package/network-manager/network-manager.hash @@ -0,0 +1,6 @@ +# From https://download.gnome.org/sources/NetworkManager/1.34/NetworkManager-1.34.0.sha256sum +sha256 819795d0899076204f5672421a58f1b1d9e393536ee87bb844b911e6243bf0bd NetworkManager-1.34.0.tar.xz +# Locally computed +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL +sha256 ad0abd8e90dd134cc5546f7a13eb4268707b77a5a1a5e3afe31dc4397a573a04 CONTRIBUTING.md diff --git a/buildroot-2022.02.1/package/network-manager/network-manager.mk b/buildroot-2022.02.1/package/network-manager/network-manager.mk new file mode 100644 index 00000000..a9022899 --- /dev/null +++ b/buildroot-2022.02.1/package/network-manager/network-manager.mk @@ -0,0 +1,155 @@ +################################################################################ +# +# network-manager +# +################################################################################ + +NETWORK_MANAGER_VERSION_MAJOR = 1.34 +NETWORK_MANAGER_VERSION = $(NETWORK_MANAGER_VERSION_MAJOR).0 +NETWORK_MANAGER_SOURCE = NetworkManager-$(NETWORK_MANAGER_VERSION).tar.xz +NETWORK_MANAGER_SITE = https://download.gnome.org/sources/NetworkManager/$(NETWORK_MANAGER_VERSION_MAJOR) +NETWORK_MANAGER_INSTALL_STAGING = YES +NETWORK_MANAGER_DEPENDENCIES = host-pkgconf udev gnutls libglib2 \ + libgcrypt wireless_tools util-linux host-intltool libndp +NETWORK_MANAGER_LICENSE = GPL-2.0+ (app), LGPL-2.1+ (libnm) +NETWORK_MANAGER_LICENSE_FILES = COPYING COPYING.LGPL CONTRIBUTING.md +NETWORK_MANAGER_CPE_ID_VENDOR = gnome +NETWORK_MANAGER_CPE_ID_PRODUCT = networkmanager +NETWORK_MANAGER_SELINUX_MODULES = networkmanager + +NETWORK_MANAGER_CONF_ENV = \ + ac_cv_path_LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config \ + ac_cv_file__etc_fedora_release=no \ + ac_cv_file__etc_mandriva_release=no \ + ac_cv_file__etc_debian_version=no \ + ac_cv_file__etc_redhat_release=no \ + ac_cv_file__etc_SuSE_release=no + +NETWORK_MANAGER_CONF_OPTS = \ + --disable-introspection \ + --disable-tests \ + --disable-qt \ + --disable-more-warnings \ + --with-crypto=gnutls \ + --with-iptables=/usr/sbin/iptables \ + --disable-ifupdown \ + --without-nm-cloud-setup + +ifeq ($(BR2_PACKAGE_AUDIT),y) +NETWORK_MANAGER_DEPENDENCIES += audit +NETWORK_MANAGER_CONF_OPTS += --with-libaudit +else +NETWORK_MANAGER_CONF_OPTS += --without-libaudit +endif + +ifeq ($(BR2_PACKAGE_DHCP_CLIENT),y) +NETWORK_MANAGER_CONF_OPTS += --with-dhclient=/sbin/dhclient +endif + +ifeq ($(BR2_PACKAGE_DHCPCD),y) +NETWORK_MANAGER_CONF_OPTS += --with-dhcpcd=/sbin/dhcpcd +endif + +ifeq ($(BR2_PACKAGE_IWD),y) +NETWORK_MANAGER_DEPENDENCIES += iwd +NETWORK_MANAGER_CONF_OPTS += --with-iwd +else +NETWORK_MANAGER_CONF_OPTS += --without-iwd +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +NETWORK_MANAGER_DEPENDENCIES += libcurl +NETWORK_MANAGER_CONF_OPTS += --enable-concheck +else +NETWORK_MANAGER_CONF_OPTS += --disable-concheck +endif + +ifeq ($(BR2_PACKAGE_LIBPSL),y) +NETWORK_MANAGER_DEPENDENCIES += libpsl +NETWORK_MANAGER_CONF_OPTS += --with-libpsl +else +NETWORK_MANAGER_CONF_OPTS += --without-libpsl +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +NETWORK_MANAGER_DEPENDENCIES += libselinux +NETWORK_MANAGER_CONF_OPTS += --with-selinux +else +NETWORK_MANAGER_CONF_OPTS += --without-selinux +endif + +ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_MODEM_MANAGER),y) +NETWORK_MANAGER_DEPENDENCIES += modem-manager +NETWORK_MANAGER_CONF_OPTS += --with-modem-manager-1 +else +NETWORK_MANAGER_CONF_OPTS += --without-modem-manager-1 +endif + +ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_OVS),y) +NETWORK_MANAGER_CONF_OPTS += --enable-ovs +NETWORK_MANAGER_DEPENDENCIES += jansson +else +NETWORK_MANAGER_CONF_OPTS += --disable-ovs +endif + +ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_PPPD),y) +NETWORK_MANAGER_DEPENDENCIES += pppd +NETWORK_MANAGER_CONF_OPTS += --enable-ppp +else +NETWORK_MANAGER_CONF_OPTS += --disable-ppp +endif + +ifeq ($(BR2_PACKAGE_NETWORK_MANAGER_TUI),y) +NETWORK_MANAGER_DEPENDENCIES += newt +NETWORK_MANAGER_CONF_OPTS += --with-nmtui +else +NETWORK_MANAGER_CONF_OPTS += --without-nmtui +endif + +ifeq ($(BR2_PACKAGE_OFONO),y) +NETWORK_MANAGER_DEPENDENCIES += ofono +NETWORK_MANAGER_CONF_OPTS += --with-ofono +else +NETWORK_MANAGER_CONF_OPTS += --without-ofono +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +NETWORK_MANAGER_DEPENDENCIES += systemd +NETWORK_MANAGER_CONF_OPTS += \ + --with-systemd-journal \ + --with-config-logging-backend-default=journal \ + --with-session-tracking=systemd \ + --with-suspend-resume=systemd +else +NETWORK_MANAGER_CONF_OPTS += \ + --without-systemd-journal \ + --with-config-logging-backend-default=syslog \ + --without-session-tracking \ + --with-suspend-resume=upower +endif + +ifeq ($(BR2_PACKAGE_POLKIT),y) +NETWORK_MANAGER_DEPENDENCIES += polkit +NETWORK_MANAGER_CONF_OPTS += --enable-polkit +else +NETWORK_MANAGER_CONF_OPTS += --disable-polkit +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +NETWORK_MANAGER_DEPENDENCIES += readline +NETWORK_MANAGER_CONF_OPTS += --with-nmcli +else +NETWORK_MANAGER_CONF_OPTS += --without-nmcli +endif + +define NETWORK_MANAGER_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/network-manager/S45network-manager $(TARGET_DIR)/etc/init.d/S45network-manager +endef + +define NETWORK_MANAGER_INSTALL_INIT_SYSTEMD + ln -sf /usr/lib/systemd/system/NetworkManager.service \ + $(TARGET_DIR)/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service + +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/networkd-dispatcher/Config.in b/buildroot-2022.02.1/package/networkd-dispatcher/Config.in new file mode 100644 index 00000000..54b48e4c --- /dev/null +++ b/buildroot-2022.02.1/package/networkd-dispatcher/Config.in @@ -0,0 +1,27 @@ +config BR2_PACKAGE_NETWORKD_DISPATCHER + bool "networkd-dispatcher" + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # python-gobject -> gobject-introspection + depends on BR2_HOST_GCC_AT_LEAST_8 # python-gobject -> gobject-introspection -> host-qemu + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection + depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection + depends on BR2_PACKAGE_SYSTEMD # runtime + select BR2_PACKAGE_DBUS # dbus-python + select BR2_PACKAGE_DBUS_PYTHON # runtime + select BR2_PACKAGE_PYTHON3 # python-gobject + select BR2_PACKAGE_PYTHON_GOBJECT # runtime + select BR2_PACKAGE_SYSTEMD_NETWORKD # runtime + help + Networkd-dispatcher is a dispatcher daemon for + systemd-networkd connection status changes. + This daemon is similar to NetworkManager-dispatcher, + but is much more limited in the types of events it + supports due to the limited nature of systemd-networkd. + + https://gitlab.com/craftyguy/networkd-dispatcher + +comment "networkd-dispatcher needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on BR2_PACKAGE_SYSTEMD + depends on !BR2_HOST_GCC_AT_LEAST_8 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_USES_GLIBC diff --git a/buildroot-2022.02.1/package/networkd-dispatcher/networkd-dispatcher.hash b/buildroot-2022.02.1/package/networkd-dispatcher/networkd-dispatcher.hash new file mode 100644 index 00000000..ca7c3007 --- /dev/null +++ b/buildroot-2022.02.1/package/networkd-dispatcher/networkd-dispatcher.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 1682c0106d9d2879087612e76aebb87672ebf339c43f229a3ee27dadb428575b networkd-dispatcher-2.1.tar.bz2 +sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE diff --git a/buildroot-2022.02.1/package/networkd-dispatcher/networkd-dispatcher.mk b/buildroot-2022.02.1/package/networkd-dispatcher/networkd-dispatcher.mk new file mode 100644 index 00000000..4f609db7 --- /dev/null +++ b/buildroot-2022.02.1/package/networkd-dispatcher/networkd-dispatcher.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# networkd-dispatcher +# +################################################################################ + +NETWORKD_DISPATCHER_VERSION = 2.1 +NETWORKD_DISPATCHER_SOURCE = networkd-dispatcher-$(NETWORKD_DISPATCHER_VERSION).tar.bz2 +NETWORKD_DISPATCHER_SITE = https://gitlab.com/craftyguy/networkd-dispatcher/-/archive/$(NETWORKD_DISPATCHER_VERSION) +NETWORKD_DISPATCHER_LICENSE = GPL-3.0 +NETWORKD_DISPATCHER_LICENSE_FILES = LICENSE + +define NETWORKD_DISPATCHER_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/networkd-dispatcher $(TARGET_DIR)/usr/bin/networkd-dispatcher + mkdir -p $(TARGET_DIR)/etc/networkd-dispatcher/{routable,dormant,no-carrier,off,carrier,degraded,configuring,configured}.d +endef + +define NETWORKD_DISPATCHER_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/networkd-dispatcher.service \ + $(TARGET_DIR)/usr/lib/systemd/system/networkd-dispatcher.service + $(INSTALL) -D -m 0644 $(@D)/networkd-dispatcher.conf \ + $(TARGET_DIR)/etc/conf.d/networkd-dispatcher.conf +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/newt/Config.in b/buildroot-2022.02.1/package/newt/Config.in similarity index 100% rename from buildroot-2021.05/package/newt/Config.in rename to buildroot-2022.02.1/package/newt/Config.in diff --git a/buildroot-2021.05/package/newt/newt.hash b/buildroot-2022.02.1/package/newt/newt.hash similarity index 100% rename from buildroot-2021.05/package/newt/newt.hash rename to buildroot-2022.02.1/package/newt/newt.hash diff --git a/buildroot-2021.05/package/newt/newt.mk b/buildroot-2022.02.1/package/newt/newt.mk similarity index 100% rename from buildroot-2021.05/package/newt/newt.mk rename to buildroot-2022.02.1/package/newt/newt.mk diff --git a/buildroot-2021.05/package/nfacct/Config.in b/buildroot-2022.02.1/package/nfacct/Config.in similarity index 100% rename from buildroot-2021.05/package/nfacct/Config.in rename to buildroot-2022.02.1/package/nfacct/Config.in diff --git a/buildroot-2021.05/package/nfacct/nfacct.hash b/buildroot-2022.02.1/package/nfacct/nfacct.hash similarity index 100% rename from buildroot-2021.05/package/nfacct/nfacct.hash rename to buildroot-2022.02.1/package/nfacct/nfacct.hash diff --git a/buildroot-2021.05/package/nfacct/nfacct.mk b/buildroot-2022.02.1/package/nfacct/nfacct.mk similarity index 100% rename from buildroot-2021.05/package/nfacct/nfacct.mk rename to buildroot-2022.02.1/package/nfacct/nfacct.mk diff --git a/buildroot-2022.02.1/package/nfs-utils/Config.in b/buildroot-2022.02.1/package/nfs-utils/Config.in new file mode 100644 index 00000000..f00debc4 --- /dev/null +++ b/buildroot-2022.02.1/package/nfs-utils/Config.in @@ -0,0 +1,63 @@ +comment "nfs-utils needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_NFS_UTILS + bool "nfs-utils" + depends on BR2_TOOLCHAIN_HAS_THREADS # libtirpc, rpcbind + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBTIRPC # IPv6 requires libtirpc + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + The NFS Linux kernel server. + + Supports NFSv3 and optionally NFSv4 (and later). + + http://linux-nfs.org/ + +if BR2_PACKAGE_NFS_UTILS + +config BR2_PACKAGE_NFS_UTILS_NFSV4 + bool "NFSv4/NFSv4.1" + depends on !BR2_STATIC_LIBS # keyutils, lvm2 + select BR2_PACKAGE_KEYUTILS + select BR2_PACKAGE_LIBEVENT + select BR2_PACKAGE_LVM2 + select BR2_PACKAGE_SQLITE + help + Enable NFSv4/NFSv4.1/NFSv4.2 support + +comment "NFSv4/NFSv4.1 support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_NFS_UTILS_GSS + bool "gss" + depends on BR2_PACKAGE_NFS_UTILS_NFSV4 + select BR2_PACKAGE_LIBTIRPC_GSS + help + Enable GSS support + +config BR2_PACKAGE_NFS_UTILS_RPCDEBUG + bool "rpcdebug" + help + The RPC debugging utility + +config BR2_PACKAGE_NFS_UTILS_RPC_LOCKD + bool "rpc.lockd" + help + NFS lock manager for Linux kernels older than 2.4 + +config BR2_PACKAGE_NFS_UTILS_RPC_NFSD + bool "rpc.nfsd" + default y + select BR2_PACKAGE_RPCBIND # runtime + help + NFS server + +config BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD + bool "rpc.rquotad" + help + NFS remote quota server + +endif diff --git a/buildroot-2021.05/package/nfs-utils/S60nfs b/buildroot-2022.02.1/package/nfs-utils/S60nfs similarity index 100% rename from buildroot-2021.05/package/nfs-utils/S60nfs rename to buildroot-2022.02.1/package/nfs-utils/S60nfs diff --git a/buildroot-2022.02.1/package/nfs-utils/nfs-utils.hash b/buildroot-2022.02.1/package/nfs-utils/nfs-utils.hash new file mode 100644 index 00000000..a73bf80e --- /dev/null +++ b/buildroot-2022.02.1/package/nfs-utils/nfs-utils.hash @@ -0,0 +1,4 @@ +# From https://www.kernel.org/pub/linux/utils/nfs-utils/2.6.1/sha256sums.asc +sha256 60dfcd94a9f3d72a12bc7058d811787ec87a6d593d70da2123faf9aad3d7a1df nfs-utils-2.6.1.tar.xz +# Locally computed +sha256 576540abf5e95029ad4ad90e32071385a5e95b2c30708c706116f3eb87b9a3de COPYING diff --git a/buildroot-2022.02.1/package/nfs-utils/nfs-utils.mk b/buildroot-2022.02.1/package/nfs-utils/nfs-utils.mk new file mode 100644 index 00000000..44653e27 --- /dev/null +++ b/buildroot-2022.02.1/package/nfs-utils/nfs-utils.mk @@ -0,0 +1,128 @@ +################################################################################ +# +# nfs-utils +# +################################################################################ + +NFS_UTILS_VERSION = 2.6.1 +NFS_UTILS_SOURCE = nfs-utils-$(NFS_UTILS_VERSION).tar.xz +NFS_UTILS_SITE = https://www.kernel.org/pub/linux/utils/nfs-utils/$(NFS_UTILS_VERSION) +NFS_UTILS_LICENSE = GPL-2.0+ +NFS_UTILS_LICENSE_FILES = COPYING +NFS_UTILS_DEPENDENCIES = host-nfs-utils host-pkgconf libtirpc util-linux +NFS_UTILS_CPE_ID_VENDOR = linux-nfs +NFS_UTILS_AUTORECONF = YES + +NFS_UTILS_CONF_ENV = knfsd_cv_bsd_signals=no + +NFS_UTILS_CONF_OPTS = \ + --enable-tirpc \ + --enable-ipv6 \ + --without-tcp-wrappers \ + --with-statedir=/run/nfs \ + --with-rpcgen=$(HOST_DIR)/bin/rpcgen + +HOST_NFS_UTILS_DEPENDENCIES = host-pkgconf host-libtirpc + +HOST_NFS_UTILS_CONF_OPTS = \ + --enable-tirpc \ + --disable-nfsv4 \ + --disable-nfsv41 \ + --disable-gss \ + --disable-uuid \ + --disable-ipv6 \ + --without-tcp-wrappers \ + --with-statedir=/run/nfs \ + --disable-caps \ + --without-systemd \ + --with-rpcgen=internal \ + --with-tirpcinclude=$(HOST_DIR)/include/tirpc + +NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPCDEBUG) += usr/sbin/rpcdebug +NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_LOCKD) += usr/sbin/rpc.lockd +NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_RQUOTAD) += usr/sbin/rpc.rquotad +NFS_UTILS_TARGETS_$(BR2_PACKAGE_NFS_UTILS_RPC_NFSD) += usr/sbin/exportfs \ + usr/sbin/rpc.mountd usr/sbin/rpc.nfsd usr/lib/systemd/system/nfs-server.service + +ifeq ($(BR2_PACKAGE_NFS_UTILS_NFSV4),y) +NFS_UTILS_CONF_OPTS += --enable-nfsv4 --enable-nfsv41 +NFS_UTILS_DEPENDENCIES += keyutils libevent lvm2 sqlite +else +NFS_UTILS_CONF_OPTS += --disable-nfsv4 --disable-nfsv41 +endif + +ifeq ($(BR2_PACKAGE_NFS_UTILS_GSS),y) +NFS_UTILS_CONF_OPTS += \ + --enable-gss \ + --enable-svcgss \ + --with-krb5=$(STAGING_DIR)/usr +NFS_UTILS_DEPENDENCIES += libkrb5 +else +NFS_UTILS_CONF_OPTS += --disable-gss --disable-svcgss +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +NFS_UTILS_CONF_OPTS += --enable-caps +NFS_UTILS_DEPENDENCIES += libcap +else +NFS_UTILS_CONF_OPTS += --disable-caps +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y) +NFS_UTILS_CONF_OPTS += --enable-uuid +else +NFS_UTILS_CONF_OPTS += --disable-uuid +endif + +define NFS_UTILS_INSTALL_FIXUP + cd $(TARGET_DIR) && rm -f $(NFS_UTILS_TARGETS_) + touch $(TARGET_DIR)/etc/exports + $(INSTALL) -D -m 644 \ + $(@D)/utils/mount/nfsmount.conf $(TARGET_DIR)/etc/nfsmount.conf +endef +NFS_UTILS_POST_INSTALL_TARGET_HOOKS += NFS_UTILS_INSTALL_FIXUP + +ifeq ($(BR2_INIT_SYSTEMD),y) +NFS_UTILS_CONF_OPTS += --with-systemd=/usr/lib/systemd/system +NFS_UTILS_DEPENDENCIES += systemd +else +NFS_UTILS_CONF_OPTS += --without-systemd +endif + +ifeq ($(BR2_PACKAGE_NFS_UTILS_RPC_NFSD),y) +define NFS_UTILS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_NFSD) +endef + +define NFS_UTILS_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/nfs-utils/S60nfs \ + $(TARGET_DIR)/etc/init.d/S60nfs +endef + +endif + +define NFS_UTILS_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0755 package/nfs-utils/nfs-utils_env.sh \ + $(TARGET_DIR)/usr/libexec/nfs-utils/nfs-utils_env.sh + + $(INSTALL) -D -m 0644 package/nfs-utils/nfs-utils_tmpfiles.conf \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/nfs-utils.conf +endef + +define NFS_UTILS_REMOVE_NFSIOSTAT + rm -f $(TARGET_DIR)/usr/sbin/nfsiostat +endef + +# nfsiostat is interpreted python, so remove it unless it's in the target +NFS_UTILS_POST_INSTALL_TARGET_HOOKS += $(if $(BR2_PACKAGE_PYTHON3),,NFS_UTILS_REMOVE_NFSIOSTAT) + +define HOST_NFS_UTILS_BUILD_CMDS + $(MAKE) -C $(@D)/tools/rpcgen +endef + +define HOST_NFS_UTILS_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/tools/rpcgen/rpcgen $(HOST_DIR)/bin/rpcgen +endef + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/nfs-utils/nfs-utils_env.sh b/buildroot-2022.02.1/package/nfs-utils/nfs-utils_env.sh similarity index 100% rename from buildroot-2021.05/package/nfs-utils/nfs-utils_env.sh rename to buildroot-2022.02.1/package/nfs-utils/nfs-utils_env.sh diff --git a/buildroot-2021.05/package/nfs-utils/nfs-utils_tmpfiles.conf b/buildroot-2022.02.1/package/nfs-utils/nfs-utils_tmpfiles.conf similarity index 100% rename from buildroot-2021.05/package/nfs-utils/nfs-utils_tmpfiles.conf rename to buildroot-2022.02.1/package/nfs-utils/nfs-utils_tmpfiles.conf diff --git a/buildroot-2021.05/package/nftables/Config.in b/buildroot-2022.02.1/package/nftables/Config.in similarity index 100% rename from buildroot-2021.05/package/nftables/Config.in rename to buildroot-2022.02.1/package/nftables/Config.in diff --git a/buildroot-2022.02.1/package/nftables/nftables.hash b/buildroot-2022.02.1/package/nftables/nftables.hash new file mode 100644 index 00000000..53878abb --- /dev/null +++ b/buildroot-2022.02.1/package/nftables/nftables.hash @@ -0,0 +1,3 @@ +# From https://netfilter.org/projects/nftables/downloads.html +sha256 3ceeba625818e81a0be293e9dd486c3ef799ebd92165270f1e57e9a201efa423 nftables-1.0.1.tar.bz2 +sha256 c17bc4fa5b2434c6f283ffcb2312e5bf3c7cdf5787b79505f094d8de734ac53e COPYING diff --git a/buildroot-2022.02.1/package/nftables/nftables.mk b/buildroot-2022.02.1/package/nftables/nftables.mk new file mode 100644 index 00000000..232d5414 --- /dev/null +++ b/buildroot-2022.02.1/package/nftables/nftables.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# nftables +# +################################################################################ + +NFTABLES_VERSION = 1.0.1 +NFTABLES_SOURCE = nftables-$(NFTABLES_VERSION).tar.bz2 +NFTABLES_SITE = https://www.netfilter.org/projects/nftables/files +NFTABLES_DEPENDENCIES = libmnl libnftnl host-pkgconf $(TARGET_NLS_DEPENDENCIES) +NFTABLES_LICENSE = GPL-2.0 +NFTABLES_LICENSE_FILES = COPYING +NFTABLES_CONF_OPTS = --disable-debug --disable-man-doc --disable-pdf-doc +NFTABLES_SELINUX_MODULES = iptables + +ifeq ($(BR2_PACKAGE_GMP),y) +NFTABLES_DEPENDENCIES += gmp +NFTABLES_CONF_OPTS += --without-mini-gmp +else +NFTABLES_CONF_OPTS += --with-mini-gmp +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +NFTABLES_CONF_OPTS += --with-cli=readline +NFTABLES_DEPENDENCIES += readline +NFTABLES_LIBS += -lncurses +else +NFTABLES_CONF_OPTS += --without-cli +endif + +ifeq ($(BR2_PACKAGE_JANSSON),y) +NFTABLES_DEPENDENCIES += jansson +NFTABLES_CONF_OPTS += --with-json +else +NFTABLES_CONF_OPTS += --without-json +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +NFTABLES_CONF_OPTS += --enable-python +NFTABLES_DEPENDENCIES += python3 +else +NFTABLES_CONF_OPTS += --disable-python +endif + +ifeq ($(BR2_STATIC_LIBS)$(BR2_PACKAGE_LIBNFTNL_JSON),yy) +NFTABLES_LIBS += -ljansson -lm +endif + +NFTABLES_CONF_ENV = LIBS="$(NFTABLES_LIBS)" + +define NFTABLES_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER) + $(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES) + $(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES_INET) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nghttp2/Config.in b/buildroot-2022.02.1/package/nghttp2/Config.in similarity index 100% rename from buildroot-2021.05/package/nghttp2/Config.in rename to buildroot-2022.02.1/package/nghttp2/Config.in diff --git a/buildroot-2021.05/package/nghttp2/nghttp2.hash b/buildroot-2022.02.1/package/nghttp2/nghttp2.hash similarity index 100% rename from buildroot-2021.05/package/nghttp2/nghttp2.hash rename to buildroot-2022.02.1/package/nghttp2/nghttp2.hash diff --git a/buildroot-2021.05/package/nghttp2/nghttp2.mk b/buildroot-2022.02.1/package/nghttp2/nghttp2.mk similarity index 100% rename from buildroot-2021.05/package/nghttp2/nghttp2.mk rename to buildroot-2022.02.1/package/nghttp2/nghttp2.mk diff --git a/buildroot-2022.02.1/package/nginx-dav-ext/Config.in b/buildroot-2022.02.1/package/nginx-dav-ext/Config.in new file mode 100644 index 00000000..9e3a0faf --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-dav-ext/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_NGINX_DAV_EXT + bool "nginx-dav-ext" + depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE + select BR2_PACKAGE_LIBXSLT + help + NGINX WebDAV missing commands support (PROPFIND & OPTIONS). + + https://github.com/arut/nginx-dav-ext-module diff --git a/buildroot-2022.02.1/package/nginx-dav-ext/nginx-dav-ext.hash b/buildroot-2022.02.1/package/nginx-dav-ext/nginx-dav-ext.hash new file mode 100644 index 00000000..07deab08 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-dav-ext/nginx-dav-ext.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 d2499d94d82d4e4eac8425d799e52883131ae86a956524040ff2fd230ef9f859 nginx-dav-ext-3.0.0.tar.gz +sha256 e377bb81e5024682a66438306e8ff9541d843d3831e480aec2f58eb8d83e48de LICENSE diff --git a/buildroot-2022.02.1/package/nginx-dav-ext/nginx-dav-ext.mk b/buildroot-2022.02.1/package/nginx-dav-ext/nginx-dav-ext.mk new file mode 100644 index 00000000..cce527e1 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-dav-ext/nginx-dav-ext.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# nginx-dav-ext +# +################################################################################ + +NGINX_DAV_EXT_VERSION = 3.0.0 +NGINX_DAV_EXT_SITE = $(call github,arut,nginx-dav-ext-module,v$(NGINX_DAV_EXT_VERSION)) +NGINX_DAV_EXT_LICENSE = BSD-2-Clause +NGINX_DAV_EXT_LICENSE_FILES = LICENSE +NGINX_DAV_EXT_DEPENDENCIES = libxslt + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/nginx-modsecurity/0001-config-use-pkg-config.patch b/buildroot-2022.02.1/package/nginx-modsecurity/0001-config-use-pkg-config.patch new file mode 100644 index 00000000..3c74fa4b --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-modsecurity/0001-config-use-pkg-config.patch @@ -0,0 +1,29 @@ +From 2907dcd628242eb29920321fb3a744915d11888f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 26 Jul 2021 08:29:21 +0200 +Subject: [PATCH] config: use pkg-config + +Change to using pkg-config to find the path to modsecurity and its +dependencies. + +Signed-off-by: Fabrice Fontaine +--- + config | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config b/config +index c6e7467..e20190f 100644 +--- a/config ++++ b/config +@@ -50,7 +50,7 @@ END + else + # auto-discovery + ngx_feature="ModSecurity library" +- ngx_feature_libs="-lmodsecurity" ++ ngx_feature_libs="$(${PKG_CONFIG:=pkg-config} --libs modsecurity)" + + . auto/feature + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/nginx-modsecurity/Config.in b/buildroot-2022.02.1/package/nginx-modsecurity/Config.in new file mode 100644 index 00000000..b1fcbadd --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-modsecurity/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_NGINX_MODSECURITY + bool "nginx-modsecurity" + depends on BR2_PACKAGE_NGINX_HTTP + depends on BR2_INSTALL_LIBSTDCPP # libmodsecurity + depends on BR2_TOOLCHAIN_HAS_THREADS # libmodsecurity + select BR2_PACKAGE_LIBMODSECURITY + help + The ModSecurity-nginx connector is the connection + point between nginx and libmodsecurity + (ModSecurity v3). + + https://github.com/SpiderLabs/ModSecurity-nginx + +comment "nginx-modsecurity needs a toolchain w/ C++, threads" + depends on BR2_PACKAGE_NGINX_HTTP + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/nginx-modsecurity/nginx-modsecurity.hash b/buildroot-2022.02.1/package/nginx-modsecurity/nginx-modsecurity.hash new file mode 100644 index 00000000..fbaf1ca2 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-modsecurity/nginx-modsecurity.hash @@ -0,0 +1,4 @@ +# From https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v1.0.2/modsecurity-nginx-v1.0.2.tar.gz.sha256 +sha256 41a6660c50508c60df59f8f09c444d18ef8112a4c118cdc791a3992390b78c32 modsecurity-nginx-v1.0.2.tar.gz +# Localy calculated +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE diff --git a/buildroot-2022.02.1/package/nginx-modsecurity/nginx-modsecurity.mk b/buildroot-2022.02.1/package/nginx-modsecurity/nginx-modsecurity.mk new file mode 100644 index 00000000..90ef8ecd --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-modsecurity/nginx-modsecurity.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# nginx-modsecurity +# +################################################################################ + +NGINX_MODSECURITY_VERSION = 1.0.2 +NGINX_MODSECURITY_SOURCE = modsecurity-nginx-v$(NGINX_MODSECURITY_VERSION).tar.gz +NGINX_MODSECURITY_SITE = https://github.com/SpiderLabs/ModSecurity-nginx/releases/download/v$(NGINX_MODSECURITY_VERSION) +NGINX_MODSECURITY_LICENSE = Apache-2.0 +NGINX_MODSECURITY_LICENSE_FILES = LICENSE +NGINX_MODSECURITY_DEPENDENCIES = libmodsecurity + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/nginx-naxsi/0001-naxsi_src-naxsi_runtime.c-fix-build-without-x_forwar.patch b/buildroot-2022.02.1/package/nginx-naxsi/0001-naxsi_src-naxsi_runtime.c-fix-build-without-x_forwar.patch new file mode 100644 index 00000000..238a0192 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-naxsi/0001-naxsi_src-naxsi_runtime.c-fix-build-without-x_forwar.patch @@ -0,0 +1,63 @@ +From 8ea5218b07f715e9616a846bf305633ef1b3aa2a Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 14 Aug 2021 11:46:08 +0200 +Subject: [PATCH] naxsi_src/naxsi_runtime.c: fix build without x_forwarded_for + +x_forwarded_for is not available if realip, geo, geoip or proxy modules +aren't enabled resulting in the following build failure since version +1.1a and +https://github.com/nbs-system/naxsi/commit/07a056ccd36bc3c5c40dc17991db226cb8cf6241: + +/home/buildroot/autobuild/instance-3/output-1/build/nginx-naxsi-1.3/naxsi_src/naxsi_runtime.c: In function 'ngx_http_naxsi_data_parse': +/home/buildroot/autobuild/instance-3/output-1/build/nginx-naxsi-1.3/naxsi_src/naxsi_runtime.c:2846:20: error: 'ngx_http_headers_in_t' has no member named 'x_forwarded_for' + if (r->headers_in.x_forwarded_for.nelts >= 1) { + ^ + +Fixes: + - http://autobuild.buildroot.org/results/cdbc1536f6b5de3d4c836efa2f0dcaf0cdbb1462 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/nbs-system/naxsi/pull/568] +--- + naxsi_src/naxsi_runtime.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/naxsi_src/naxsi_runtime.c b/naxsi_src/naxsi_runtime.c +index 28e0b29..6a723d2 100644 +--- a/naxsi_src/naxsi_runtime.c ++++ b/naxsi_src/naxsi_runtime.c +@@ -2842,10 +2842,12 @@ ngx_http_naxsi_data_parse(ngx_http_request_ctx_t* ctx, ngx_http_request_t* r) + unsigned int n = 0; + ngx_table_elt_t** h = NULL; + ngx_array_t a; ++#if (NGX_HTTP_X_FORWARDED_FOR) + if (r->headers_in.x_forwarded_for.nelts >= 1) { + a = r->headers_in.x_forwarded_for; + n = a.nelts; + } ++#endif + if (n >= 1) + h = a.elts; + if (n >= 1) { +@@ -2879,6 +2881,7 @@ ngx_http_naxsi_update_current_ctx_status(ngx_http_request_ctx_t* ctx, + + /*cr, sc, cf, ctx*/ + if (cf->check_rules && ctx->special_scores) { ++#if (NGX_HTTP_X_FORWARDED_FOR) + if (r->headers_in.x_forwarded_for.nelts >= 1) { + a = r->headers_in.x_forwarded_for; + n = a.nelts; +@@ -2896,7 +2899,9 @@ ngx_http_naxsi_update_current_ctx_status(ngx_http_request_ctx_t* ctx, + memcpy(ip.data, h[0]->value.data, ip.len); + ignore = nx_can_ignore_ip(&ip, cf) || nx_can_ignore_cidr(&ip, cf); + } +- } else { ++ } else ++#endif ++ { + ngx_str_t* ip = &r->connection->addr_text; + NX_DEBUG(_debug_whitelist_ignore, + NGX_LOG_DEBUG_HTTP, +-- +2.30.2 + diff --git a/buildroot-2021.05/package/nginx-naxsi/Config.in b/buildroot-2022.02.1/package/nginx-naxsi/Config.in similarity index 100% rename from buildroot-2021.05/package/nginx-naxsi/Config.in rename to buildroot-2022.02.1/package/nginx-naxsi/Config.in diff --git a/buildroot-2022.02.1/package/nginx-naxsi/nginx-naxsi.hash b/buildroot-2022.02.1/package/nginx-naxsi/nginx-naxsi.hash new file mode 100644 index 00000000..4712ede2 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-naxsi/nginx-naxsi.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 439c8677372d2597b4360bbcc10bc86490de1fc75695b193ad5df154a214d628 nginx-naxsi-1.3.tar.gz +sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE +sha256 d0732bc23658db5b9749e3f9cd4fe0f9b3e132b5955adccb08821845fe2a21c8 naxsi_src/ext/libinjection/COPYING diff --git a/buildroot-2022.02.1/package/nginx-naxsi/nginx-naxsi.mk b/buildroot-2022.02.1/package/nginx-naxsi/nginx-naxsi.mk new file mode 100644 index 00000000..2dba8ad5 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx-naxsi/nginx-naxsi.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# nginx-naxsi +# +################################################################################ + +NGINX_NAXSI_VERSION = 1.3 +NGINX_NAXSI_SITE = $(call github,nbs-system,naxsi,$(NGINX_NAXSI_VERSION)) +NGINX_NAXSI_LICENSE = GPL-3.0, BSD-3-Clause (libinjection) +NGINX_NAXSI_LICENSE_FILES = LICENSE naxsi_src/ext/libinjection/COPYING + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/nginx-upload/Config.in b/buildroot-2022.02.1/package/nginx-upload/Config.in similarity index 100% rename from buildroot-2021.05/package/nginx-upload/Config.in rename to buildroot-2022.02.1/package/nginx-upload/Config.in diff --git a/buildroot-2021.05/package/nginx-upload/nginx-upload.hash b/buildroot-2022.02.1/package/nginx-upload/nginx-upload.hash similarity index 100% rename from buildroot-2021.05/package/nginx-upload/nginx-upload.hash rename to buildroot-2022.02.1/package/nginx-upload/nginx-upload.hash diff --git a/buildroot-2021.05/package/nginx-upload/nginx-upload.mk b/buildroot-2022.02.1/package/nginx-upload/nginx-upload.mk similarity index 100% rename from buildroot-2021.05/package/nginx-upload/nginx-upload.mk rename to buildroot-2022.02.1/package/nginx-upload/nginx-upload.mk diff --git a/buildroot-2021.05/package/nginx/0001-auto-type-sizeof-rework-autotest-to-be-cross-compila.patch b/buildroot-2022.02.1/package/nginx/0001-auto-type-sizeof-rework-autotest-to-be-cross-compila.patch similarity index 100% rename from buildroot-2021.05/package/nginx/0001-auto-type-sizeof-rework-autotest-to-be-cross-compila.patch rename to buildroot-2022.02.1/package/nginx/0001-auto-type-sizeof-rework-autotest-to-be-cross-compila.patch diff --git a/buildroot-2021.05/package/nginx/0002-auto-feature-add-mechanism-allowing-to-force-feature.patch b/buildroot-2022.02.1/package/nginx/0002-auto-feature-add-mechanism-allowing-to-force-feature.patch similarity index 100% rename from buildroot-2021.05/package/nginx/0002-auto-feature-add-mechanism-allowing-to-force-feature.patch rename to buildroot-2022.02.1/package/nginx/0002-auto-feature-add-mechanism-allowing-to-force-feature.patch diff --git a/buildroot-2022.02.1/package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch b/buildroot-2022.02.1/package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch new file mode 100644 index 00000000..ee7f3e92 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx/0003-auto-set-ngx_feature_run_force_result-for-each-featu.patch @@ -0,0 +1,207 @@ +From 57d9d632be9a9f7e3ac00f9eb10b069afd0b1543 Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Thu, 29 May 2014 18:52:10 +0200 +Subject: [PATCH] auto/*: set ngx_feature_run_force_result for each feature + requiring run test + +Each feature requiring a run test has a matching preset variable (called +ngx_force_*) used to set ngx_feature_run_force_result. + +These ngx_force_* variables are passed through the environment at configure +time. + +Signed-off-by: Samuel Martin + +Refresh for 1.8.0. + +Signed-off-by: Danomi Manchego +[rebased against v1.20.1] +Signed-off-by: Adam Duskett +--- + auto/cc/conf | 3 +++ + auto/cc/name | 1 + + auto/lib/libatomic/conf | 1 + + auto/os/darwin | 3 +++ + auto/os/linux | 4 ++++ + auto/unix | 7 +++++++ + 6 files changed, 19 insertions(+) + +diff --git a/auto/cc/conf b/auto/cc/conf +index afbca62b..ad42c800 100644 +--- a/auto/cc/conf ++++ b/auto/cc/conf +@@ -184,6 +184,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then + ngx_feature="gcc builtin atomic operations" + ngx_feature_name=NGX_HAVE_GCC_ATOMIC + ngx_feature_run=yes ++ ngx_feature_run_force_result="$ngx_force_gcc_have_atomic" + ngx_feature_incs= + ngx_feature_path= + ngx_feature_libs= +@@ -205,6 +206,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then + ngx_feature="C99 variadic macros" + ngx_feature_name="NGX_HAVE_C99_VARIADIC_MACROS" + ngx_feature_run=yes ++ ngx_feature_run_force_result="$ngx_force_c99_have_variadic_macros" + ngx_feature_incs="#include + #define var(dummy, ...) sprintf(__VA_ARGS__)" + ngx_feature_path= +@@ -219,6 +221,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then + ngx_feature="gcc variadic macros" + ngx_feature_name="NGX_HAVE_GCC_VARIADIC_MACROS" + ngx_feature_run=yes ++ ngx_feature_run_force_result="$ngx_force_gcc_have_variadic_macros" + ngx_feature_incs="#include + #define var(dummy, args...) sprintf(args)" + ngx_feature_path= +diff --git a/auto/cc/name b/auto/cc/name +index ded93f5b..7c3cb74a 100644 +--- a/auto/cc/name ++++ b/auto/cc/name +@@ -8,6 +8,7 @@ if [ "$NGX_PLATFORM" != win32 ]; then + ngx_feature="C compiler" + ngx_feature_name= + ngx_feature_run=yes ++ ngx_feature_run_force_result="$ngx_force_c_compiler" + ngx_feature_incs= + ngx_feature_path= + ngx_feature_libs= +diff --git a/auto/lib/libatomic/conf b/auto/lib/libatomic/conf +index d1e484ab..37249161 100644 +--- a/auto/lib/libatomic/conf ++++ b/auto/lib/libatomic/conf +@@ -15,6 +15,7 @@ else + ngx_feature="atomic_ops library" + ngx_feature_name=NGX_HAVE_LIBATOMIC + ngx_feature_run=yes ++ ngx_feature_run_force_result="$ngx_force_have_libatomic" + ngx_feature_incs="#define AO_REQUIRE_CAS + #include " + ngx_feature_path= +diff --git a/auto/os/darwin b/auto/os/darwin +index 429468f7..1ed47cca 100644 +--- a/auto/os/darwin ++++ b/auto/os/darwin +@@ -33,6 +33,7 @@ NGX_KQUEUE_CHECKED=YES + ngx_feature="kqueue's EVFILT_TIMER" + ngx_feature_name="NGX_HAVE_TIMER_EVENT" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_timer_event" + ngx_feature_incs="#include + #include " + ngx_feature_path= +@@ -63,6 +64,7 @@ ngx_feature_test="int kq; + ngx_feature="Darwin 64-bit kqueue millisecond timeout bug" + ngx_feature_name=NGX_DARWIN_KEVENT_BUG + ngx_feature_run=bug ++ngx_feature_run_force_result="$ngx_force_kevent_bug" + ngx_feature_incs="#include + #include " + ngx_feature_path= +@@ -92,6 +94,7 @@ ngx_feature_test="int kq; + ngx_feature="sendfile()" + ngx_feature_name="NGX_HAVE_SENDFILE" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_sendfile" + ngx_feature_incs="#include + #include + #include +diff --git a/auto/os/linux b/auto/os/linux +index 2c8a9bb8..eb4513ee 100644 +--- a/auto/os/linux ++++ b/auto/os/linux +@@ -37,6 +37,7 @@ fi + ngx_feature="epoll" + ngx_feature_name="NGX_HAVE_EPOLL" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_epoll" + ngx_feature_incs="#include " + ngx_feature_path= + ngx_feature_libs= +@@ -136,6 +137,7 @@ CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE" + ngx_feature="sendfile()" + ngx_feature_name="NGX_HAVE_SENDFILE" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_sendfile" + ngx_feature_incs="#include + #include " + ngx_feature_path= +@@ -157,6 +159,7 @@ CC_AUX_FLAGS="$cc_aux_flags -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64" + ngx_feature="sendfile64()" + ngx_feature_name="NGX_HAVE_SENDFILE64" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_sendfile64" + ngx_feature_incs="#include + #include " + ngx_feature_path= +@@ -175,6 +178,7 @@ ngx_include="sys/prctl.h"; . auto/include + ngx_feature="prctl(PR_SET_DUMPABLE)" + ngx_feature_name="NGX_HAVE_PR_SET_DUMPABLE" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_pr_set_dumpable" + ngx_feature_incs="#include " + ngx_feature_path= + ngx_feature_libs= +diff --git a/auto/unix b/auto/unix +index 43d3b25a..3da00537 100644 +--- a/auto/unix ++++ b/auto/unix +@@ -100,6 +100,7 @@ if test -z "$NGX_KQUEUE_CHECKED"; then + ngx_feature="kqueue's EVFILT_TIMER" + ngx_feature_name="NGX_HAVE_TIMER_EVENT" + ngx_feature_run=yes ++ ngx_feature_run_force_result="$ngx_force_have_timer_event" + ngx_feature_incs="#include + #include " + ngx_feature_path= +@@ -722,6 +723,7 @@ if [ $ngx_found = no ]; then + ngx_feature="sys_nerr" + ngx_feature_name="NGX_SYS_NERR" + ngx_feature_run=value ++ ngx_feature_run_force_result="$ngx_force_sys_nerr" + ngx_feature_incs='#include + #include ' + ngx_feature_path= +@@ -737,6 +739,7 @@ if [ $ngx_found = no ]; then + ngx_feature="_sys_nerr" + ngx_feature_name="NGX_SYS_NERR" + ngx_feature_run=value ++ ngx_feature_run_force_result="$ngx_force_sys_nerr" + ngx_feature_incs='#include + #include ' + ngx_feature_path= +@@ -806,6 +809,7 @@ ngx_feature_test="void *p; p = memalign(4096, 4096); + ngx_feature="mmap(MAP_ANON|MAP_SHARED)" + ngx_feature_name="NGX_HAVE_MAP_ANON" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_map_anon" + ngx_feature_incs="#include " + ngx_feature_path= + ngx_feature_libs= +@@ -819,6 +823,7 @@ ngx_feature_test="void *p; + ngx_feature='mmap("/dev/zero", MAP_SHARED)' + ngx_feature_name="NGX_HAVE_MAP_DEVZERO" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_map_devzero" + ngx_feature_incs="#include + #include + #include " +@@ -834,6 +839,7 @@ ngx_feature_test='void *p; int fd; + ngx_feature="System V shared memory" + ngx_feature_name="NGX_HAVE_SYSVSHM" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_sysvshm" + ngx_feature_incs="#include + #include " + ngx_feature_path= +@@ -848,6 +854,7 @@ ngx_feature_test="int id; + ngx_feature="POSIX semaphores" + ngx_feature_name="NGX_HAVE_POSIX_SEM" + ngx_feature_run=yes ++ngx_feature_run_force_result="$ngx_force_have_posix_sem" + ngx_feature_incs="#include " + ngx_feature_path= + ngx_feature_libs= +-- +2.17.1 + diff --git a/buildroot-2021.05/package/nginx/0004-auto-lib-libxslt-conf-use-pkg-config.patch b/buildroot-2022.02.1/package/nginx/0004-auto-lib-libxslt-conf-use-pkg-config.patch similarity index 100% rename from buildroot-2021.05/package/nginx/0004-auto-lib-libxslt-conf-use-pkg-config.patch rename to buildroot-2022.02.1/package/nginx/0004-auto-lib-libxslt-conf-use-pkg-config.patch diff --git a/buildroot-2022.02.1/package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch b/buildroot-2022.02.1/package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch new file mode 100644 index 00000000..79fa4970 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx/0005-auto-unix-make-sys_nerr-guessing-cross-friendly.patch @@ -0,0 +1,135 @@ +From 08617a8d29ee22831175697555558fec8f52772c Mon Sep 17 00:00:00 2001 +From: Samuel Martin +Date: Sun, 1 Jun 2014 16:05:04 +0200 +Subject: [PATCH] auto/unix: make sys_nerr guessing cross-friendly + +This patch replaces the default sys_nerr runtest with a test done at +buildtime. + +The idea behind this buildtime test is finding the value of the ERR_MAX +macro if defined, or the EHWPOISON (which is currently the last errno) +otherwise. + +Signed-off-by: Samuel Martin + +Refresh for 1.8.0. + +Signed-off-by: Danomi Manchego +[rebased against v1.20.1] +Signed-off-by: Adam Duskett +--- + auto/os/sys_nerr | 78 ++++++++++++++++++++++++++++++++++++++++++++++++ + auto/unix | 8 +++++ + 2 files changed, 86 insertions(+) + create mode 100644 auto/os/sys_nerr + +diff --git a/auto/os/sys_nerr b/auto/os/sys_nerr +new file mode 100644 +index 0000000..8970f5f +--- /dev/null ++++ b/auto/os/sys_nerr +@@ -0,0 +1,78 @@ ++ ++# Copyright (C) Samuel Martin ++ ++ ++echo $ngx_n "checking for sys_nerr value...$ngx_c" ++ ++# sys_nerr guessing is done using a (very) poor (but working) ++# heuristics, by checking for the value of ERR_MAX if defined, or ++# EHWPOISON otherwise. ++ ++cat << END >> $NGX_AUTOCONF_ERR ++ ++---------------------------------------- ++checking for sys_nerr value ++ ++END ++ ++ngx_sys_nerr= ++ ++cat << _EOF > $NGX_AUTOTEST.c ++ ++#include ++#include ++ ++static char sys_nerr_test[ERR_MAX]; ++int main(void) ++{ ++ return 0; ++} ++ ++_EOF ++ ++if $CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ ++ $NGX_AUTOTEST.c -o $NGX_AUTOTEST \ ++ $NGX_LD_OPT $ngx_feature_libs >/dev/null 2>&1 ; then ++ _ngx_max_err_macro=ERR_MAX ++else ++ # the +2 has been empirically found! ++ _ngx_max_err_macro="EHWPOISON + 2" ++fi ++ ++cat << _EOF > $NGX_AUTOTEST.c ++ ++#include ++#include ++ ++static char sys_nerr_test[(TEST_ERR_MAX == $_ngx_max_err_macro) ? 1 : -1]; ++int main(void) ++{ ++ return 0; ++} ++ ++_EOF ++ ++ ++ngx_sys_nerr=`for i in $(seq 0 2000) ; do \ ++ $CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ ++ -DTEST_ERR_MAX="$i" \ ++ $NGX_AUTOTEST.c -o $NGX_AUTOTEST \ ++ $NGX_LD_OPT $ngx_feature_libs >/dev/null 2>&1 || continue ;\ ++ echo $i ; break ; done` ++ ++rm -rf $NGX_AUTOTEST* ++ ++if test -z $ngx_sys_nerr ; then ++ ngx_size=0 ++ ngx_sys_nerr=0 ++fi ++ ++cat << END >> $NGX_AUTO_CONFIG_H ++ ++#ifndef $ngx_feature_name ++#define $ngx_feature_name $ngx_sys_nerr ++#endif ++ ++END ++ ++echo " $ngx_sys_nerr" +diff --git a/auto/unix b/auto/unix +index 7dbf9d1..00a7370 100755 +--- a/auto/unix ++++ b/auto/unix +@@ -744,10 +744,18 @@ if [ $ngx_found = no ]; then + #include ' + ngx_feature_path= + ngx_feature_libs= ++ if false ; then ++ # Disabled because only valid for native build. + ngx_feature_test='printf("%d", _sys_nerr);' + . auto/feature + fi + ++else ++ # Cross-compilation support ++ . auto/os/sys_nerr ++ ++fi ++ + + ngx_feature="localtime_r()" + ngx_feature_name="NGX_HAVE_LOCALTIME_R" +-- +1.9.1 + diff --git a/buildroot-2021.05/package/nginx/0006-auto-lib-openssl-conf-use-pkg-config.patch b/buildroot-2022.02.1/package/nginx/0006-auto-lib-openssl-conf-use-pkg-config.patch similarity index 100% rename from buildroot-2021.05/package/nginx/0006-auto-lib-openssl-conf-use-pkg-config.patch rename to buildroot-2022.02.1/package/nginx/0006-auto-lib-openssl-conf-use-pkg-config.patch diff --git a/buildroot-2021.05/package/nginx/0007-auto-lib-libgd-conf-use-pkg-config.patch b/buildroot-2022.02.1/package/nginx/0007-auto-lib-libgd-conf-use-pkg-config.patch similarity index 100% rename from buildroot-2021.05/package/nginx/0007-auto-lib-libgd-conf-use-pkg-config.patch rename to buildroot-2022.02.1/package/nginx/0007-auto-lib-libgd-conf-use-pkg-config.patch diff --git a/buildroot-2021.05/package/nginx/0008-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch b/buildroot-2022.02.1/package/nginx/0008-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch similarity index 100% rename from buildroot-2021.05/package/nginx/0008-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch rename to buildroot-2022.02.1/package/nginx/0008-src-os-unix-ngx_linux_config.h-only-include-dlfcn.h-.patch diff --git a/buildroot-2022.02.1/package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch b/buildroot-2022.02.1/package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch new file mode 100644 index 00000000..8b368d94 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx/0009-auto-os-linux-fix-build-with-libxcrypt.patch @@ -0,0 +1,38 @@ +From 79f1fe5251afc4e22a138b0c8f44fc9c94093b8b Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 2 Apr 2021 09:18:26 +0200 +Subject: [PATCH] auto/os/linux: fix build with libxcrypt + +If crypt_r is found in libcrypt, add -lcrypt to CORE_LIBS to avoid the +following build failure with libxcrypt: + +objs/ngx_modules.o \ +-lpcre -L/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -lssl -lcrypto -L/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib -lxslt -lxml2 -lGeoIP \ +-Wl,-E +/home/giuliobenetti/autobuild/run/instance-3/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: objs/src/os/unix/ngx_user.o:/home/giuliobenetti/autobuild/run/instance-3/output-1/build/nginx-1.18.0/src/os/unix/ngx_user.c:18: undefined reference to `crypt_r' + +Fixes: + - http://autobuild.buildroot.org/results/79a51b0d348e756517b5c9ce815a67f5c657e7e6 + +Signed-off-by: Fabrice Fontaine +--- + auto/os/linux | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/auto/os/linux b/auto/os/linux +index 5e280eca..04682812 100644 +--- a/auto/os/linux ++++ b/auto/os/linux +@@ -232,6 +232,9 @@ ngx_feature_test="struct crypt_data cd; + crypt_r(\"key\", \"salt\", &cd);" + . auto/feature + ++if [ $ngx_found = yes ]; then ++ CORE_LIBS="$CORE_LIBS $ngx_feature_libs" ++fi + + ngx_include="sys/vfs.h"; . auto/include + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/nginx/0010-Allow-forcing-of-endianness-for-cross-compilation.patch b/buildroot-2022.02.1/package/nginx/0010-Allow-forcing-of-endianness-for-cross-compilation.patch new file mode 100644 index 00000000..3810412b --- /dev/null +++ b/buildroot-2022.02.1/package/nginx/0010-Allow-forcing-of-endianness-for-cross-compilation.patch @@ -0,0 +1,118 @@ +From 4bd8fe780ff2064f2d4e9c905d8a98dd0f9b6191 Mon Sep 17 00:00:00 2001 +From: Nevo Hed +Date: Mon, 30 Aug 2021 13:28:13 -0400 +Subject: [PATCH] Allow forcing of endianness for cross-compilation + +Upstream-status: Invalid (upstream doesn't support cross-compilation) +See https://trac.nginx.org/nginx/ticket/2240 + +Signed-off-by: Nevo Hed +--- + auto/endianness | 61 ++++++++++++++++++++++++++++++++----------------- + auto/options | 6 +++++ + 2 files changed, 46 insertions(+), 21 deletions(-) + +diff --git a/auto/endianness b/auto/endianness +index 1b552b6b..4b2a3cd7 100644 +--- a/auto/endianness ++++ b/auto/endianness +@@ -26,25 +26,44 @@ int main(void) { + + END + +-ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ +- -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" +- +-eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" +- +-if [ -x $NGX_AUTOTEST ]; then +- if $NGX_AUTOTEST >/dev/null 2>&1; then +- echo " little endian" ++case "${NGX_FORCE_ENDIANNESS}" in ++ little) ++ echo " little endian (forced)" + have=NGX_HAVE_LITTLE_ENDIAN . auto/have +- else +- echo " big endian" +- fi +- +- rm -rf $NGX_AUTOTEST* +- +-else +- rm -rf $NGX_AUTOTEST* +- +- echo +- echo "$0: error: cannot detect system byte ordering" +- exit 1 +-fi ++ ;; ++ ++ big) ++ echo " big endian (forced)" ++ ;; ++ ++ "") ++ ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLAGS \ ++ -o $NGX_AUTOTEST $NGX_AUTOTEST.c $NGX_LD_OPT $ngx_feature_libs" ++ ++ eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1" ++ ++ if [ -x $NGX_AUTOTEST ]; then ++ if $NGX_AUTOTEST >/dev/null 2>&1; then ++ echo " little endian" ++ have=NGX_HAVE_LITTLE_ENDIAN . auto/have ++ else ++ echo " big endian" ++ fi ++ ++ rm -rf $NGX_AUTOTEST* ++ ++ else ++ rm -rf $NGX_AUTOTEST* ++ ++ echo ++ echo "$0: error: cannot detect system byte ordering" ++ exit 1 ++ fi ++ ;; ++ ++ *) ++ echo ++ echo "$0: error: invalid \"--force-endianness=${NGX_FORCE_ENDIANNESS}\"" ++ exit 1 ++ ;; ++esac +diff --git a/auto/options b/auto/options +index 80be906e..85a06456 100644 +--- a/auto/options ++++ b/auto/options +@@ -17,6 +17,8 @@ NGX_USER= + NGX_GROUP= + NGX_BUILD= + ++NGX_FORCE_ENDIANNESS= ++ + CC=${CC:-cc} + CPP= + NGX_OBJS=objs +@@ -196,6 +198,8 @@ do + --user=*) NGX_USER="$value" ;; + --group=*) NGX_GROUP="$value" ;; + ++ --force-endianness=*) NGX_FORCE_ENDIANNESS="$value" ;; ++ + --crossbuild=*) NGX_PLATFORM="$value" ;; + + --build=*) NGX_BUILD="$value" ;; +@@ -432,6 +436,8 @@ cat << END + --build=NAME set build name + --builddir=DIR set build directory + ++ --force-endianness=| force endianness ++ + --with-select_module enable select module + --without-select_module disable select module + --with-poll_module enable poll module +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/nginx/Config.in b/buildroot-2022.02.1/package/nginx/Config.in new file mode 100644 index 00000000..1200b2bf --- /dev/null +++ b/buildroot-2022.02.1/package/nginx/Config.in @@ -0,0 +1,452 @@ +menuconfig BR2_PACKAGE_NGINX + bool "nginx" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBATOMIC_OPS if BR2_sparc_v8 || BR2_sparc_leon3 + help + nginx is an HTTP and reverse proxy server, as well as a mail + proxy server. + + http://nginx.org/ + +if BR2_PACKAGE_NGINX + +config BR2_PACKAGE_NGINX_FILE_AIO + bool "file AIO support" + # Does not build, because nginx hardcodes using SYS_eventfd, + # but it's available on neither AArch64 nor ARC where only + # eventfd() is available. See + # https://bugs.launchpad.net/linaro-aarch64/+bug/1160013 + depends on !BR2_aarch64 + depends on !BR2_arc + +config BR2_PACKAGE_NGINX_THREADS + bool "thread pool support" + depends on BR2_TOOLCHAIN_HAS_THREADS + +comment "thread pool support needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_NGINX_HTTP + bool "http server" + default y + +if BR2_PACKAGE_NGINX_HTTP + +config BR2_PACKAGE_NGINX_HTTP_CACHE + bool "http cache support" + select BR2_PACKAGE_OPENSSL + +comment "http modules" + +config BR2_PACKAGE_NGINX_HTTP_SSL_MODULE + bool "ngx_http_ssl_module" + select BR2_PACKAGE_OPENSSL + help + Enable ngx_http_ssl_module + +config BR2_PACKAGE_NGINX_HTTP_V2_MODULE + bool "ngx_http_v2_module" + select BR2_PACKAGE_ZLIB + help + Enable ngx_http_spdy_module + +config BR2_PACKAGE_NGINX_HTTP_REALIP_MODULE + bool "ngx_http_realip_module" + help + Enable ngx_http_realip_module + +config BR2_PACKAGE_NGINX_HTTP_ADDITION_MODULE + bool "ngx_http_addition_module" + help + Enable ngx_http_addition_module + +config BR2_PACKAGE_NGINX_HTTP_XSLT_MODULE + bool "ngx_http_xslt_module" + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBXSLT + help + Enable ngx_http_xslt_module + +config BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE + bool "ngx_http_image_filter_module" + select BR2_PACKAGE_GD + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBPNG + help + Enable ngx_http_image_filter_module + +config BR2_PACKAGE_NGINX_HTTP_GEOIP_MODULE + bool "ngx_http_geoip_module" + select BR2_PACKAGE_GEOIP + help + Enable ngx_http_geoip_module + +config BR2_PACKAGE_NGINX_HTTP_SUB_MODULE + bool "ngx_http_sub_module" + help + Enable ngx_http_sub_module + +config BR2_PACKAGE_NGINX_HTTP_DAV_MODULE + bool "ngx_http_dav_module" + help + Enable ngx_http_dav_module + +config BR2_PACKAGE_NGINX_HTTP_FLV_MODULE + bool "ngx_http_flv_module" + help + Enable ngx_http_flv_module + +config BR2_PACKAGE_NGINX_HTTP_MP4_MODULE + bool "ngx_http_mp4_module" + help + Enable ngx_http_mp4_module + +config BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE + bool "ngx_http_gunzip_module" + select BR2_PACKAGE_ZLIB + help + Enable ngx_http_gunzip_module + +config BR2_PACKAGE_NGINX_HTTP_GZIP_STATIC_MODULE + bool "ngx_http_gzip_static_module" + select BR2_PACKAGE_ZLIB + help + Enable ngx_http_gzip_static_module + +config BR2_PACKAGE_NGINX_HTTP_AUTH_REQUEST_MODULE + bool "ngx_http_auth_request_module" + help + Enable ngx_http_auth_request_module + +config BR2_PACKAGE_NGINX_HTTP_RANDOM_INDEX_MODULE + bool "ngx_http_random_index_module" + help + Enable ngx_http_random_index_module + +config BR2_PACKAGE_NGINX_HTTP_SECURE_LINK_MODULE + bool "ngx_http_secure_link_module" + select BR2_PACKAGE_OPENSSL + help + Enable ngx_http_secure_link_module + +config BR2_PACKAGE_NGINX_HTTP_DEGRADATION_MODULE + bool "ngx_http_degradation_module" + help + Enable ngx_http_degradation_module + +config BR2_PACKAGE_NGINX_HTTP_SLICE_MODULE + bool "ngx_http_slice_module" + help + Enable ngx_http_slice_module + +config BR2_PACKAGE_NGINX_HTTP_STUB_STATUS_MODULE + bool "ngx_http_stub_status_module" + help + Enable ngx_http_stub_status_module + +config BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE + bool "ngx_http_charset_module" + default y + help + Enable ngx_http_charset_module + +config BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE + bool "ngx_http_gzip_module" + default y + select BR2_PACKAGE_ZLIB + help + Enable ngx_http_gzip_module + +config BR2_PACKAGE_NGINX_HTTP_SSI_MODULE + bool "ngx_http_ssi_module" + default y + help + Enable ngx_http_ssi_module + +config BR2_PACKAGE_NGINX_HTTP_USERID_MODULE + bool "ngx_http_userid_module" + default y + help + Enable ngx_http_userid_module + +config BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE + bool "ngx_http_access_module" + default y + help + Enable ngx_http_access_module + +config BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE + bool "ngx_http_auth_basic_module" + default y + help + Enable ngx_http_auth_basic_module + +config BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE + bool "ngx_http_autoindex_module" + default y + help + Enable ngx_http_autoindex_module + +config BR2_PACKAGE_NGINX_HTTP_GEO_MODULE + bool "ngx_http_geo_module" + default y + help + Enable ngx_http_geo_module + +config BR2_PACKAGE_NGINX_HTTP_MAP_MODULE + bool "ngx_http_map_module" + default y + help + Enable ngx_http_map_module + +config BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE + bool "ngx_http_split_clients_module" + default y + help + Enable ngx_http_split_clients_module + +config BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE + bool "ngx_http_referer_module" + default y + help + Enable ngx_http_referer_module + +config BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE + bool "ngx_http_rewrite_module" + default y + select BR2_PACKAGE_PCRE + help + Enable ngx_http_rewrite_module + +config BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE + bool "ngx_http_proxy_module" + default y + help + Enable ngx_http_proxy_module + +config BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE + bool "ngx_http_fastcgi_module" + default y + help + Enable ngx_http_fastcgi_module + +config BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE + bool "ngx_http_uwsgi_module" + default y + help + Enable ngx_http_uwsgi_module + +config BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE + bool "ngx_http_scgi_module" + default y + help + Enable ngx_http_scgi_module + +config BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE + bool "ngx_http_memcached_module" + default y + help + Enable ngx_http_memcached_module + +config BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE + bool "ngx_http_limit_conn_module" + default y + help + Enable ngx_http_limit_conn_module + +config BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE + bool "ngx_http_limit_req_module" + default y + help + Enable ngx_http_limit_req_module + +config BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE + bool "ngx_http_empty_gif_module" + default y + help + Enable ngx_http_empty_gif_module + +config BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE + bool "ngx_http_browser_module" + default y + help + Enable ngx_http_browser_module + +config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE + bool "ngx_http_upstream_ip_hash_module" + default y + help + Enable ngx_http_upstream_ip_hash_module + +config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE + bool "ngx_http_upstream_least_conn_module" + default y + help + Enable ngx_http_upstream_least_conn_module + +config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE + bool "ngx_http_upstream_keepalive_module" + default y + help + Enable ngx_http_upstream_keepalive_module + +config BR2_PACKAGE_NGINX_HTTP_UPSTREAM_RANDOM_MODULE + bool "ngx_http_upstream_random_module" + default y + help + Enable ngx_http_upstream_random_module + +endif #BR2_PACKAGE_NGINX_HTTP + +config BR2_PACKAGE_NGINX_MAIL + bool "mail proxy modules" + +if BR2_PACKAGE_NGINX_MAIL + +config BR2_PACKAGE_NGINX_MAIL_SSL_MODULE + bool "ngx_mail_ssl_module" + select BR2_PACKAGE_OPENSSL + help + Enable ngx_mail_ssl_module + +config BR2_PACKAGE_NGINX_MAIL_POP3_MODULE + bool "ngx_mail_pop3_module" + default y + help + Enable ngx_mail_pop3_module + +config BR2_PACKAGE_NGINX_MAIL_IMAP_MODULE + bool "ngx_mail_imap_module" + default y + help + Enable ngx_mail_imap_module + +config BR2_PACKAGE_NGINX_MAIL_SMTP_MODULE + bool "ngx_mail_smtp_module" + default y + help + Enable ngx_mail_smtp_module + +endif #BR2_PACKAGE_NGINX_MAIL + +config BR2_PACKAGE_NGINX_STREAM + bool "stream proxy modules" + +if BR2_PACKAGE_NGINX_STREAM + +config BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE + bool "ngx_stream_realip_module" + help + Enable ngx_stream_realip_module + +config BR2_PACKAGE_NGINX_STREAM_SET_MODULE + bool "ngx_stream_set_module" + default y + help + Enable ngx_stream_set_module + +config BR2_PACKAGE_NGINX_STREAM_SSL_MODULE + bool "ngx_stream_ssl_module" + select BR2_PACKAGE_OPENSSL + help + Enable ngx_stream_ssl_module + +config BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE + bool "ngx_stream_geoip_module" + select BR2_PACKAGE_GEOIP + help + Enable ngx_stream_geoip_module + +config BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE + bool "ngx_stream_ssl_preread_module" + help + Enable ngx_stream_ssl_preread_module + +config BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE + bool "ngx_stream_limit_conn_module" + default y + help + Enable ngx_stream_limit_conn_module + +config BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE + bool "ngx_stream_access_module" + default y + help + Enable ngx_stream_access_module + +config BR2_PACKAGE_NGINX_STREAM_GEO_MODULE + bool "ngx_stream_geo_module" + default y + help + Enable ngx_stream_geo_module + +config BR2_PACKAGE_NGINX_STREAM_MAP_MODULE + bool "ngx_stream_map_module" + default y + help + Enable ngx_stream_map_module + +config BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE + bool "ngx_stream_split_clients_module" + default y + help + Enable ngx_stream_split_clients_module + +config BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE + bool "ngx_stream_return_module" + default y + help + Enable ngx_stream_return_module + +config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE + bool "ngx_stream_upstream_hash_module" + default y + help + Enable ngx_stream_upstream_hash_module + +config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE + bool "ngx_stream_upstream_least_conn_module" + default y + help + Enable ngx_stream_upstream_least_conn_module + +config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_RANDOM_MODULE + bool "ngx_stream_upstream_random_module" + default y + help + Enable ngx_stream_upstream_random_module + +config BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE + bool "ngx_stream_upstream_zone_module" + default y + help + Enable ngx_stream_upstream_zone_module + +endif #BR2_PACKAGE_NGINX_STREAM + +config BR2_PACKAGE_NGINX_DEBUG + bool "debug logging" + help + Enable debug logging. The debug level should be set with + the error_log directive. For example + + error_log /var/log/nginx/error.log debug; + +comment "misc. modules" + +config BR2_PACKAGE_NGINX_SELECT_MODULE + bool "ngx_select_module" + help + Enable ngx_select_module + +config BR2_PACKAGE_NGINX_POLL_MODULE + bool "ngx_poll_module" + help + Enable ngx_poll_module + +config BR2_PACKAGE_NGINX_ADD_MODULES + string "additional modules" + help + Space separated list of urls of the additional modules + +endif diff --git a/buildroot-2021.05/package/nginx/S50nginx b/buildroot-2022.02.1/package/nginx/S50nginx similarity index 100% rename from buildroot-2021.05/package/nginx/S50nginx rename to buildroot-2022.02.1/package/nginx/S50nginx diff --git a/buildroot-2022.02.1/package/nginx/nginx.hash b/buildroot-2022.02.1/package/nginx/nginx.hash new file mode 100644 index 00000000..06d3392a --- /dev/null +++ b/buildroot-2022.02.1/package/nginx/nginx.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 e462e11533d5c30baa05df7652160ff5979591d291736cfa5edb9fd2edb48c49 nginx-1.20.1.tar.gz +# License files, locally calculated +sha256 b57270c1f73eb6624b38b2d0a1affcec56b21fab39efbf8c837428f05cef1d73 LICENSE diff --git a/buildroot-2021.05/package/nginx/nginx.logrotate b/buildroot-2022.02.1/package/nginx/nginx.logrotate similarity index 100% rename from buildroot-2021.05/package/nginx/nginx.logrotate rename to buildroot-2022.02.1/package/nginx/nginx.logrotate diff --git a/buildroot-2022.02.1/package/nginx/nginx.mk b/buildroot-2022.02.1/package/nginx/nginx.mk new file mode 100644 index 00000000..31b6e276 --- /dev/null +++ b/buildroot-2022.02.1/package/nginx/nginx.mk @@ -0,0 +1,326 @@ +################################################################################ +# +# nginx +# +################################################################################ + +NGINX_VERSION = 1.20.1 +NGINX_SITE = http://nginx.org/download +NGINX_LICENSE = BSD-2-Clause +NGINX_LICENSE_FILES = LICENSE +NGINX_CPE_ID_VENDOR = nginx +NGINX_DEPENDENCIES = \ + host-pkgconf \ + $(if $(BR2_PACKAGE_LIBXCRYPT),libxcrypt) + +NGINX_CONF_OPTS = \ + --crossbuild=Linux::$(BR2_ARCH) \ + --with-cc="$(TARGET_CC)" \ + --with-cpp="$(TARGET_CC)" \ + --with-ld-opt="$(TARGET_LDFLAGS)" + +# www-data user and group are used for nginx. Because these user and group +# are already set by buildroot, it is not necessary to redefine them. +# See system/skeleton/etc/passwd +# username: www-data uid: 33 +# groupname: www-data gid: 33 +# +# So, we just need to create the directories used by nginx with the right +# ownership. +define NGINX_PERMISSIONS + /var/lib/nginx d 755 33 33 - - - - - +endef + +# disable external libatomic_ops because its detection fails. +NGINX_CONF_ENV += \ + ngx_force_c_compiler=yes \ + ngx_force_c99_have_variadic_macros=yes \ + ngx_force_gcc_have_variadic_macros=yes \ + ngx_force_gcc_have_atomic=yes \ + ngx_force_have_epoll=yes \ + ngx_force_have_sendfile=yes \ + ngx_force_have_sendfile64=yes \ + ngx_force_have_pr_set_dumpable=yes \ + ngx_force_have_timer_event=yes \ + ngx_force_have_map_anon=yes \ + ngx_force_have_map_devzero=yes \ + ngx_force_have_sysvshm=yes \ + ngx_force_have_posix_sem=yes + +# prefix: nginx root configuration location +NGINX_CONF_OPTS += \ + --force-endianness=$(call qstrip,$(call LOWERCASE,$(BR2_ENDIAN))) \ + --prefix=/usr \ + --conf-path=/etc/nginx/nginx.conf \ + --sbin-path=/usr/sbin/nginx \ + --pid-path=/run/nginx.pid \ + --lock-path=/run/lock/nginx.lock \ + --user=www-data \ + --group=www-data \ + --error-log-path=/var/log/nginx/error.log \ + --http-log-path=/var/log/nginx/access.log \ + --http-client-body-temp-path=/var/cache/nginx/client-body \ + --http-proxy-temp-path=/var/cache/nginx/proxy \ + --http-fastcgi-temp-path=/var/cache/nginx/fastcgi \ + --http-scgi-temp-path=/var/cache/nginx/scgi \ + --http-uwsgi-temp-path=/var/cache/nginx/uwsgi + +NGINX_CONF_OPTS += \ + $(if $(BR2_PACKAGE_NGINX_FILE_AIO),--with-file-aio) \ + $(if $(BR2_PACKAGE_NGINX_THREADS),--with-threads) + +ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) +NGINX_DEPENDENCIES += libatomic_ops +NGINX_CONF_OPTS += --with-libatomic +NGINX_CONF_ENV += ngx_force_have_libatomic=yes +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +NGINX_CFLAGS += "-DAO_NO_SPARC_V9" +endif +else +NGINX_CONF_ENV += ngx_force_have_libatomic=no +endif + +ifeq ($(BR2_PACKAGE_PCRE),y) +NGINX_DEPENDENCIES += pcre +NGINX_CONF_OPTS += --with-pcre +else +NGINX_CONF_OPTS += --without-pcre +endif + +# modules disabled or not activated because of missing dependencies: +# - google_perftools (googleperftools) +# - http_perl_module (host-perl) +# - pcre-jit (want to rebuild pcre) + +# Notes: +# * Feature/module option are *not* symetric. +# If a feature is on by default, only its --without-xxx option exists; +# if a feature is off by default, only its --with-xxx option exists. +# * The configure script fails if unknown options are passed on the command +# line. + +# misc. modules +NGINX_CONF_OPTS += \ + $(if $(BR2_PACKAGE_NGINX_SELECT_MODULE),--with-select_module,--without-select_module) \ + $(if $(BR2_PACKAGE_NGINX_POLL_MODULE),--with-poll_module,--without-poll_module) + +ifneq ($(BR2_PACKAGE_NGINX_ADD_MODULES),) +NGINX_CONF_OPTS += \ + $(addprefix --add-module=,$(call qstrip,$(BR2_PACKAGE_NGINX_ADD_MODULES))) +endif + +# http server modules +ifeq ($(BR2_PACKAGE_NGINX_HTTP),y) +ifeq ($(BR2_PACKAGE_NGINX_HTTP_CACHE),y) +NGINX_DEPENDENCIES += openssl +else +NGINX_CONF_OPTS += --without-http-cache +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_V2_MODULE),y) +NGINX_DEPENDENCIES += zlib +NGINX_CONF_OPTS += --with-http_v2_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_SSL_MODULE),y) +NGINX_DEPENDENCIES += openssl +NGINX_CONF_OPTS += --with-http_ssl_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_XSLT_MODULE),y) +NGINX_DEPENDENCIES += libxml2 libxslt +NGINX_CONF_OPTS += --with-http_xslt_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_IMAGE_FILTER_MODULE),y) +NGINX_DEPENDENCIES += gd jpeg libpng +NGINX_CONF_OPTS += --with-http_image_filter_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_GEOIP_MODULE),y) +NGINX_DEPENDENCIES += geoip +NGINX_CONF_OPTS += --with-http_geoip_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_GUNZIP_MODULE),y) +NGINX_DEPENDENCIES += zlib +NGINX_CONF_OPTS += --with-http_gunzip_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_GZIP_STATIC_MODULE),y) +NGINX_DEPENDENCIES += zlib +NGINX_CONF_OPTS += --with-http_gzip_static_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_SECURE_LINK_MODULE),y) +NGINX_DEPENDENCIES += openssl +NGINX_CONF_OPTS += --with-http_secure_link_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_GZIP_MODULE),y) +NGINX_DEPENDENCIES += zlib +else +NGINX_CONF_OPTS += --without-http_gzip_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_HTTP_REWRITE_MODULE),y) +NGINX_DEPENDENCIES += pcre +else +NGINX_CONF_OPTS += --without-http_rewrite_module +endif + +NGINX_CONF_OPTS += \ + $(if $(BR2_PACKAGE_NGINX_HTTP_REALIP_MODULE),--with-http_realip_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_ADDITION_MODULE),--with-http_addition_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_SUB_MODULE),--with-http_sub_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_DAV_MODULE),--with-http_dav_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_FLV_MODULE),--with-http_flv_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_MP4_MODULE),--with-http_mp4_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_AUTH_REQUEST_MODULE),--with-http_auth_request_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_RANDOM_INDEX_MODULE),--with-http_random_index_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_DEGRADATION_MODULE),--with-http_degradation_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_SLICE_MODULE),--with-http_slice_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_STUB_STATUS_MODULE),--with-http_stub_status_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_CHARSET_MODULE),,--without-http_charset_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_SSI_MODULE),,--without-http_ssi_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_USERID_MODULE),,--without-http_userid_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_ACCESS_MODULE),,--without-http_access_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_AUTH_BASIC_MODULE),,--without-http_auth_basic_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_AUTOINDEX_MODULE),,--without-http_autoindex_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_GEO_MODULE),,--without-http_geo_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_MAP_MODULE),,--without-http_map_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_SPLIT_CLIENTS_MODULE),,--without-http_split_clients_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_REFERER_MODULE),,--without-http_referer_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_PROXY_MODULE),,--without-http_proxy_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_FASTCGI_MODULE),,--without-http_fastcgi_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_UWSGI_MODULE),,--without-http_uwsgi_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_SCGI_MODULE),,--without-http_scgi_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_MEMCACHED_MODULE),,--without-http_memcached_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_LIMIT_CONN_MODULE),,--without-http_limit_conn_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_LIMIT_REQ_MODULE),,--without-http_limit_req_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_EMPTY_GIF_MODULE),,--without-http_empty_gif_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_BROWSER_MODULE),,--without-http_browser_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_UPSTREAM_IP_HASH_MODULE),,--without-http_upstream_ip_hash_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_UPSTREAM_LEAST_CONN_MODULE),,--without-http_upstream_least_conn_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_UPSTREAM_RANDOM_MODULE),,--without-http_upstream_random_module) \ + $(if $(BR2_PACKAGE_NGINX_HTTP_UPSTREAM_KEEPALIVE_MODULE),,--without-http_upstream_keepalive_module) + +else # !BR2_PACKAGE_NGINX_HTTP +NGINX_CONF_OPTS += --without-http +endif # BR2_PACKAGE_NGINX_HTTP + +# mail modules +ifeq ($(BR2_PACKAGE_NGINX_MAIL),y) +NGINX_CONF_OPTS += --with-mail + +ifeq ($(BR2_PACKAGE_NGINX_MAIL_SSL_MODULE),y) +NGINX_DEPENDENCIES += openssl +NGINX_CONF_OPTS += --with-mail_ssl_module +endif + +NGINX_CONF_OPTS += \ + $(if $(BR2_PACKAGE_NGINX_MAIL_POP3_MODULE),,--without-mail_pop3_module) \ + $(if $(BR2_PACKAGE_NGINX_MAIL_IMAP_MODULE),,--without-mail_imap_module) \ + $(if $(BR2_PACKAGE_NGINX_MAIL_SMTP_MODULE),,--without-mail_smtp_module) + +endif # BR2_PACKAGE_NGINX_MAIL + +# stream modules +ifeq ($(BR2_PACKAGE_NGINX_STREAM),y) +NGINX_CONF_OPTS += --with-stream + +ifeq ($(BR2_PACKAGE_NGINX_STREAM_REALIP_MODULE),y) +NGINX_CONF_OPTS += --with-stream_realip_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_STREAM_SET_MODULE),) +NGINX_CONF_OPTS += --without-stream_set_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_MODULE),y) +NGINX_DEPENDENCIES += openssl +NGINX_CONF_OPTS += --with-stream_ssl_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_STREAM_GEOIP_MODULE),y) +NGINX_DEPENDENCIES += geoip +NGINX_CONF_OPTS += --with-stream_geoip_module +endif + +ifeq ($(BR2_PACKAGE_NGINX_STREAM_SSL_PREREAD_MODULE),y) +NGINX_CONF_OPTS += --with-stream_ssl_preread_module +endif + +NGINX_CONF_OPTS += \ + $(if $(BR2_PACKAGE_NGINX_STREAM_LIMIT_CONN_MODULE),,--without-stream_limit_conn_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_ACCESS_MODULE),,--without-stream_access_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_GEO_MODULE),,--without-stream_geo_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_MAP_MODULE),,--without-stream_map_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_SPLIT_CLIENTS_MODULE),,--without-stream_split_clients_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_RETURN_MODULE),,--without-stream_return_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_HASH_MODULE),,--without-stream_upstream_hash_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_LEAST_CONN_MODULE),,--without-stream_upstream_least_conn_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_RANDOM_MODULE),,--without-stream_upstream_random_module) \ + $(if $(BR2_PACKAGE_NGINX_STREAM_UPSTREAM_ZONE_MODULE),,--without-stream_upstream_zone_module) + +endif # BR2_PACKAGE_NGINX_STREAM + +# external modules +ifeq ($(BR2_PACKAGE_NGINX_UPLOAD),y) +NGINX_CONF_OPTS += $(addprefix --add-module=,$(NGINX_UPLOAD_DIR)) +NGINX_DEPENDENCIES += nginx-upload +endif + +ifeq ($(BR2_PACKAGE_NGINX_DAV_EXT),y) +NGINX_CONF_OPTS += --add-module=$(NGINX_DAV_EXT_DIR) +NGINX_DEPENDENCIES += nginx-dav-ext +endif + +ifeq ($(BR2_PACKAGE_NGINX_NAXSI),y) +NGINX_DEPENDENCIES += nginx-naxsi +NGINX_CONF_OPTS += --add-module=$(NGINX_NAXSI_DIR)/naxsi_src +endif + +ifeq ($(BR2_PACKAGE_NGINX_MODSECURITY),y) +NGINX_DEPENDENCIES += nginx-modsecurity +NGINX_CONF_OPTS += --add-module=$(NGINX_MODSECURITY_DIR) +endif + +# Debug logging +NGINX_CONF_OPTS += $(if $(BR2_PACKAGE_NGINX_DEBUG),--with-debug) + +define NGINX_DISABLE_WERROR + $(SED) 's/-Werror//g' -i $(@D)/auto/cc/* +endef + +NGINX_PRE_CONFIGURE_HOOKS += NGINX_DISABLE_WERROR + +define NGINX_CONFIGURE_CMDS + cd $(@D) ; $(NGINX_CONF_ENV) \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ + ./configure $(NGINX_CONF_OPTS) \ + --with-cc-opt="$(TARGET_CFLAGS) $(NGINX_CFLAGS)" +endef + +define NGINX_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define NGINX_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install + $(RM) $(TARGET_DIR)/usr/sbin/nginx.old + $(INSTALL) -D -m 0664 package/nginx/nginx.logrotate \ + $(TARGET_DIR)/etc/logrotate.d/nginx +endef + +define NGINX_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/nginx/nginx.service \ + $(TARGET_DIR)/usr/lib/systemd/system/nginx.service +endef + +define NGINX_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/nginx/S50nginx \ + $(TARGET_DIR)/etc/init.d/S50nginx +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/nginx/nginx.service b/buildroot-2022.02.1/package/nginx/nginx.service similarity index 100% rename from buildroot-2021.05/package/nginx/nginx.service rename to buildroot-2022.02.1/package/nginx/nginx.service diff --git a/buildroot-2021.05/package/ngircd/Config.in b/buildroot-2022.02.1/package/ngircd/Config.in similarity index 100% rename from buildroot-2021.05/package/ngircd/Config.in rename to buildroot-2022.02.1/package/ngircd/Config.in diff --git a/buildroot-2021.05/package/ngircd/ngircd.hash b/buildroot-2022.02.1/package/ngircd/ngircd.hash similarity index 100% rename from buildroot-2021.05/package/ngircd/ngircd.hash rename to buildroot-2022.02.1/package/ngircd/ngircd.hash diff --git a/buildroot-2021.05/package/ngircd/ngircd.mk b/buildroot-2022.02.1/package/ngircd/ngircd.mk similarity index 100% rename from buildroot-2021.05/package/ngircd/ngircd.mk rename to buildroot-2022.02.1/package/ngircd/ngircd.mk diff --git a/buildroot-2021.05/package/ngrep/0001-Fix-typo-in-configure-in-when-testing-for-use_pcre.patch b/buildroot-2022.02.1/package/ngrep/0001-Fix-typo-in-configure-in-when-testing-for-use_pcre.patch similarity index 100% rename from buildroot-2021.05/package/ngrep/0001-Fix-typo-in-configure-in-when-testing-for-use_pcre.patch rename to buildroot-2022.02.1/package/ngrep/0001-Fix-typo-in-configure-in-when-testing-for-use_pcre.patch diff --git a/buildroot-2021.05/package/ngrep/0002-Check-for-libnet_init-in-configure-in.patch b/buildroot-2022.02.1/package/ngrep/0002-Check-for-libnet_init-in-configure-in.patch similarity index 100% rename from buildroot-2021.05/package/ngrep/0002-Check-for-libnet_init-in-configure-in.patch rename to buildroot-2022.02.1/package/ngrep/0002-Check-for-libnet_init-in-configure-in.patch diff --git a/buildroot-2021.05/package/ngrep/0003-fix-disable-tcpkill.patch b/buildroot-2022.02.1/package/ngrep/0003-fix-disable-tcpkill.patch similarity index 100% rename from buildroot-2021.05/package/ngrep/0003-fix-disable-tcpkill.patch rename to buildroot-2022.02.1/package/ngrep/0003-fix-disable-tcpkill.patch diff --git a/buildroot-2021.05/package/ngrep/Config.in b/buildroot-2022.02.1/package/ngrep/Config.in similarity index 100% rename from buildroot-2021.05/package/ngrep/Config.in rename to buildroot-2022.02.1/package/ngrep/Config.in diff --git a/buildroot-2021.05/package/ngrep/ngrep.hash b/buildroot-2022.02.1/package/ngrep/ngrep.hash similarity index 100% rename from buildroot-2021.05/package/ngrep/ngrep.hash rename to buildroot-2022.02.1/package/ngrep/ngrep.hash diff --git a/buildroot-2021.05/package/ngrep/ngrep.mk b/buildroot-2022.02.1/package/ngrep/ngrep.mk similarity index 100% rename from buildroot-2021.05/package/ngrep/ngrep.mk rename to buildroot-2022.02.1/package/ngrep/ngrep.mk diff --git a/buildroot-2021.05/package/nilfs-utils/0001-nilfs_cleanerd-link-dynamically.patch b/buildroot-2022.02.1/package/nilfs-utils/0001-nilfs_cleanerd-link-dynamically.patch similarity index 100% rename from buildroot-2021.05/package/nilfs-utils/0001-nilfs_cleanerd-link-dynamically.patch rename to buildroot-2022.02.1/package/nilfs-utils/0001-nilfs_cleanerd-link-dynamically.patch diff --git a/buildroot-2021.05/package/nilfs-utils/Config.in b/buildroot-2022.02.1/package/nilfs-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/nilfs-utils/Config.in rename to buildroot-2022.02.1/package/nilfs-utils/Config.in diff --git a/buildroot-2021.05/package/nilfs-utils/nilfs-utils.hash b/buildroot-2022.02.1/package/nilfs-utils/nilfs-utils.hash similarity index 100% rename from buildroot-2021.05/package/nilfs-utils/nilfs-utils.hash rename to buildroot-2022.02.1/package/nilfs-utils/nilfs-utils.hash diff --git a/buildroot-2021.05/package/nilfs-utils/nilfs-utils.mk b/buildroot-2022.02.1/package/nilfs-utils/nilfs-utils.mk similarity index 100% rename from buildroot-2021.05/package/nilfs-utils/nilfs-utils.mk rename to buildroot-2022.02.1/package/nilfs-utils/nilfs-utils.mk diff --git a/buildroot-2021.05/package/ninja/ninja.hash b/buildroot-2022.02.1/package/ninja/ninja.hash similarity index 100% rename from buildroot-2021.05/package/ninja/ninja.hash rename to buildroot-2022.02.1/package/ninja/ninja.hash diff --git a/buildroot-2021.05/package/ninja/ninja.mk b/buildroot-2022.02.1/package/ninja/ninja.mk similarity index 100% rename from buildroot-2021.05/package/ninja/ninja.mk rename to buildroot-2022.02.1/package/ninja/ninja.mk diff --git a/buildroot-2021.05/package/nload/Config.in b/buildroot-2022.02.1/package/nload/Config.in similarity index 100% rename from buildroot-2021.05/package/nload/Config.in rename to buildroot-2022.02.1/package/nload/Config.in diff --git a/buildroot-2021.05/package/nload/nload.hash b/buildroot-2022.02.1/package/nload/nload.hash similarity index 100% rename from buildroot-2021.05/package/nload/nload.hash rename to buildroot-2022.02.1/package/nload/nload.hash diff --git a/buildroot-2021.05/package/nload/nload.mk b/buildroot-2022.02.1/package/nload/nload.mk similarity index 100% rename from buildroot-2021.05/package/nload/nload.mk rename to buildroot-2022.02.1/package/nload/nload.mk diff --git a/buildroot-2021.05/package/nmap/0001-libdnet-wrapper-configure.patch b/buildroot-2022.02.1/package/nmap/0001-libdnet-wrapper-configure.patch similarity index 100% rename from buildroot-2021.05/package/nmap/0001-libdnet-wrapper-configure.patch rename to buildroot-2022.02.1/package/nmap/0001-libdnet-wrapper-configure.patch diff --git a/buildroot-2022.02.1/package/nmap/Config.in b/buildroot-2022.02.1/package/nmap/Config.in new file mode 100644 index 00000000..fc6312d0 --- /dev/null +++ b/buildroot-2022.02.1/package/nmap/Config.in @@ -0,0 +1,50 @@ +config BR2_PACKAGE_NMAP + bool "nmap" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBLINEAR + select BR2_PACKAGE_LIBPCAP + select BR2_PACKAGE_NMAP_NMAP \ + if !BR2_PACKAGE_NMAP_NCAT && !BR2_PACKAGE_NMAP_NPING + help + Nmap ("Network Mapper") is a free and open source (license) + utility for network discovery and security auditing. + + http://nmap.org + +if BR2_PACKAGE_NMAP + +config BR2_PACKAGE_NMAP_NCAT + bool "install ncat" + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + help + Ncat is a feature-packed networking utility which reads and + writes data across networks from the command line. Ncat was + written for the Nmap Project as a much-improved + reimplementation of the venerable Netcat. + + If symlink to "nc" is installed if neither netcat or + netcat-openbsd is selected. + +comment "a symlink from ncat to 'nc' will be installed" + depends on BR2_PACKAGE_NMAP_NCAT + depends on !BR2_PACKAGE_NETCAT + depends on !BR2_PACKAGE_NETCAT_OPENBSD + +config BR2_PACKAGE_NMAP_NMAP + bool "install nmap" + select BR2_PACKAGE_PCRE + help + This option installs 'nmap' itself. + +config BR2_PACKAGE_NMAP_NPING + bool "install nping" + help + This option installs the 'nping' tool. + +endif + +comment "nmap-nmap needs a toolchain w/ C++, threads" + depends on BR2_USE_MMU + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) diff --git a/buildroot-2022.02.1/package/nmap/nmap.hash b/buildroot-2022.02.1/package/nmap/nmap.hash new file mode 100644 index 00000000..dc379f30 --- /dev/null +++ b/buildroot-2022.02.1/package/nmap/nmap.hash @@ -0,0 +1,5 @@ +# From https://nmap.org/dist/sigs/nmap-7.92.tar.bz2.digest.txt (lowercase) +sha256 a5479f2f8a6b0b2516767d2f7189c386c1dc858d997167d7ec5cfc798c7571a1 nmap-7.92.tar.bz2 + +# Locally calculated +sha256 133794301a764dfe8a60e38601e56657b7113e0337b452189725bbbed58baea0 LICENSE diff --git a/buildroot-2022.02.1/package/nmap/nmap.mk b/buildroot-2022.02.1/package/nmap/nmap.mk new file mode 100644 index 00000000..f22a2295 --- /dev/null +++ b/buildroot-2022.02.1/package/nmap/nmap.mk @@ -0,0 +1,87 @@ +################################################################################ +# +# nmap +# +################################################################################ + +NMAP_VERSION = 7.92 +NMAP_SITE = https://nmap.org/dist +NMAP_SOURCE = nmap-$(NMAP_VERSION).tar.bz2 +NMAP_DEPENDENCIES = liblinear libpcap +NMAP_CONF_OPTS = --without-liblua --without-zenmap \ + --with-libdnet=included +NMAP_LICENSE = nmap license +NMAP_LICENSE_FILES = LICENSE +NMAP_CPE_ID_VENDOR = nmap +NMAP_SELINUX_MODULES = netutils + +# needed by libpcap +NMAP_LIBS_FOR_STATIC_LINK += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs` + +ifeq ($(BR2_STATIC_LIBS),y) +NMAP_CONF_ENV += LIBS="$(NMAP_LIBS_FOR_STATIC_LINK)" +endif + +# for 0001-libdnet-wrapper-configure.patch +define NMAP_WRAPPER_EXEC + chmod +x $(@D)/libdnet-stripped/configure.gnu +endef +NMAP_POST_PATCH_HOOKS += NMAP_WRAPPER_EXEC + +ifeq ($(BR2_PACKAGE_LIBSSH2),y) +NMAP_CONF_OPTS += --with-libssh2="$(STAGING_DIR)/usr" +NMAP_DEPENDENCIES += libssh2 +NMAP_LIBS_FOR_STATIC_LINK += `$(PKG_CONFIG_HOST_BINARY) --libs libssh2` +else +NMAP_CONF_OPTS += --without-libssh2 +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +NMAP_CONF_OPTS += --with-openssl="$(STAGING_DIR)/usr" +NMAP_DEPENDENCIES += host-pkgconf openssl +NMAP_LIBS_FOR_STATIC_LINK += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` +else +NMAP_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +NMAP_CONF_OPTS += --with-libz="$(STAGING_DIR)/usr" +NMAP_DEPENDENCIES += zlib +else +NMAP_CONF_OPTS += --without-libz +endif + +NMAP_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) + +ifeq ($(BR2_PACKAGE_NMAP_NCAT),y) +NMAP_CONF_OPTS += --with-ncat +NMAP_MAKE_OPTS += build-ncat +NMAP_INSTALL_TARGET_OPTS += install-ncat +else +NMAP_CONF_OPTS += --without-ncat +endif + +ifeq ($(BR2_PACKAGE_NMAP_NMAP),y) +NMAP_DEPENDENCIES += pcre +NMAP_CONF_OPTS += --with-libpcre="$(STAGING_DIR)/usr" +NMAP_MAKE_OPTS += nmap +NMAP_INSTALL_TARGET_OPTS += install-nmap +endif + +ifeq ($(BR2_PACKAGE_NMAP_NPING),y) +NMAP_CONF_OPTS += --with-nping +NMAP_MAKE_OPTS += build-nping +NMAP_INSTALL_TARGET_OPTS += install-nping +else +NMAP_CONF_OPTS += --without-nping +endif + +# Add a symlink to "nc" if none of the competing netcats is selected +ifeq ($(BR2_PACKAGE_NMAP_NCAT):$(BR2_PACKAGE_NETCAT)$(BR2_PACKAGE_NETCAT_OPENBSD),y:) +define NMAP_INSTALL_NCAT_SYMLINK + ln -fs ncat $(TARGET_DIR)/usr/bin/nc +endef +NMAP_POST_INSTALL_TARGET_HOOKS += NMAP_INSTALL_NCAT_SYMLINK +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nmon/Config.in b/buildroot-2022.02.1/package/nmon/Config.in similarity index 100% rename from buildroot-2021.05/package/nmon/Config.in rename to buildroot-2022.02.1/package/nmon/Config.in diff --git a/buildroot-2022.02.1/package/nmon/nmon.hash b/buildroot-2022.02.1/package/nmon/nmon.hash new file mode 100644 index 00000000..1d7226a4 --- /dev/null +++ b/buildroot-2022.02.1/package/nmon/nmon.hash @@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/nmon/files/ +md5 a8172601fdc05f3bc58455cbd3f4475e lmon16n.c +sha1 024a3b56179838f0e04bf1706cc9ba56595301a8 lmon16n.c +# Locally computed +sha256 c0012cc2d925dee940c37ceae297abac64ba5a5c30e575e7418b04028613f5f2 lmon16n.c diff --git a/buildroot-2022.02.1/package/nmon/nmon.mk b/buildroot-2022.02.1/package/nmon/nmon.mk new file mode 100644 index 00000000..01371a8c --- /dev/null +++ b/buildroot-2022.02.1/package/nmon/nmon.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# nmon +# +################################################################################ + +NMON_VERSION = 16n +NMON_SITE = https://sourceforge.net/projects/nmon/files +NMON_SOURCE = lmon$(NMON_VERSION).c +NMON_LICENSE = GPL-3.0+ +NMON_LICENSE_FILES = $(NMON_SOURCE) +NMON_DEPENDENCIES = ncurses +NMON_CFLAGS = $(TARGET_CFLAGS) -D JFS -D GETUSER -D LARGEMEM -D DEBIAN + +define NMON_EXTRACT_CMDS + cp $(NMON_DL_DIR)/$(NMON_SOURCE) $(@D) +endef + +define NMON_BUILD_CMDS + $(TARGET_CC) $(NMON_CFLAGS) $(TARGET_LDFLAGS) -o $(@D)/nmon \ + $(@D)/$(NMON_SOURCE) -lncurses -lm +endef + +define NMON_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/nmon $(TARGET_DIR)/usr/bin/ +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/nodejs/0001-add-qemu-wrapper-support.patch b/buildroot-2022.02.1/package/nodejs/0001-add-qemu-wrapper-support.patch new file mode 100644 index 00000000..1368ca5a --- /dev/null +++ b/buildroot-2022.02.1/package/nodejs/0001-add-qemu-wrapper-support.patch @@ -0,0 +1,88 @@ +From fa09fa3ad6a21ae0b35fb860f76d1762e5f29972 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 27 Sep 2021 12:55:09 -0700 +Subject: [PATCH] add qemu-wrapper support + +V8's JIT infrastructure requires binaries such as mksnapshot and mkpeephole to +be run in the host during the build. However, these binaries must have the +same bit-width as the target (e.g. a x86_64 host targeting ARMv6 needs to +produce a 32-bit binary). To work around this issue, cross-compile the +binaries for the target and run them on the host with QEMU, much like +gobject-introspection. + +However, for the host-variant we do not want to use a +qemu-wrapper, so add @MAYBE_WRAPPER@ to the needed files and sed the path to +the qemu-wrapper on target builds, and remove @MAYBE_WRAPPER@ entirely on +host-builds. + +Signed-off-by: Adam Duskett +--- + node.gyp | 4 ++-- + tools/v8_gypfiles/v8.gyp | 8 ++++---- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/node.gyp b/node.gyp +index 8ba0dfeb..c77f6f7d 100644 +--- a/node.gyp ++++ b/node.gyp +@@ -491,7 +491,7 @@ + 'action_name': 'run_mkcodecache', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(mkcodecache_exec)', ++ @MAYBE_WRAPPER@ '<(mkcodecache_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_code_cache.cc', +@@ -516,7 +516,7 @@ + 'action_name': 'node_mksnapshot', + 'process_outputs_as_sources': 1, + 'inputs': [ +- '<(node_mksnapshot_exec)', ++ @MAYBE_WRAPPER@ '<(node_mksnapshot_exec)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/node_snapshot.cc', +diff --git a/tools/v8_gypfiles/v8.gyp b/tools/v8_gypfiles/v8.gyp +index 48ec392b..f9bb0fbe 100644 +--- a/tools/v8_gypfiles/v8.gyp ++++ b/tools/v8_gypfiles/v8.gyp +@@ -220,7 +220,7 @@ + { + 'action_name': 'run_torque_action', + 'inputs': [ # Order matters. +- '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)', ++ @MAYBE_WRAPPER@ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)torque<(EXECUTABLE_SUFFIX)', + '<@(torque_files)', + ], + 'outputs': [ +@@ -351,7 +351,7 @@ + { + 'action_name': 'generate_bytecode_builtins_list_action', + 'inputs': [ +- '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bytecode_builtins_list_generator<(EXECUTABLE_SUFFIX)', ++ @MAYBE_WRAPPER@ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bytecode_builtins_list_generator<(EXECUTABLE_SUFFIX)', + ], + 'outputs': [ + '<(generate_bytecode_builtins_list_output)', +@@ -533,7 +533,7 @@ + ], + }, + 'inputs': [ +- '<(mksnapshot_exec)', ++ @MAYBE_WRAPPER@ '<(mksnapshot_exec)', + ], + 'outputs': [ + '<(INTERMEDIATE_DIR)/snapshot.cc', +@@ -1448,7 +1448,7 @@ + { + 'action_name': 'run_gen-regexp-special-case_action', + 'inputs': [ +- '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen-regexp-special-case<(EXECUTABLE_SUFFIX)', ++ @MAYBE_WRAPPER@ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen-regexp-special-case<(EXECUTABLE_SUFFIX)', + ], + 'outputs': [ + '<(SHARED_INTERMEDIATE_DIR)/src/regexp/special-case.cc', +-- +2.31.1 + diff --git a/buildroot-2021.05/package/nodejs/0001-check-if-uclibc-has-backtrace-support.patch b/buildroot-2022.02.1/package/nodejs/0001-check-if-uclibc-has-backtrace-support.patch similarity index 100% rename from buildroot-2021.05/package/nodejs/0001-check-if-uclibc-has-backtrace-support.patch rename to buildroot-2022.02.1/package/nodejs/0001-check-if-uclibc-has-backtrace-support.patch diff --git a/buildroot-2022.02.1/package/nodejs/Config.in b/buildroot-2022.02.1/package/nodejs/Config.in new file mode 100644 index 00000000..016aeb4e --- /dev/null +++ b/buildroot-2022.02.1/package/nodejs/Config.in @@ -0,0 +1,83 @@ +config BR2_PACKAGE_NODEJS_ARCH_SUPPORTS + bool + # On ARM, at least ARMv6+ with VFPv2+ is needed + default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && BR2_ARM_CPU_HAS_VFPV2 + default y if BR2_mipsel && !BR2_MIPS_SOFT_FLOAT + default y if BR2_aarch64 || BR2_i386 || BR2_x86_64 + # libuv + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET + +comment "nodejs needs a toolchain w/ C++, dynamic library, NPTL, gcc >= 7, wchar, host gcc >= 8" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_HOST_GCC_AT_LEAST_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR + +config BR2_PACKAGE_NODEJS + bool "nodejs" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_NODEJS_ARCH_SUPPORTS + depends on BR2_HOST_GCC_AT_LEAST_8 # qemu + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_USE_WCHAR + # uses fork() + depends on BR2_USE_MMU + # uses dlopen(). On ARMv5, we could technically support static + # linking, but that's too much of a corner case to support it. + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_HOST_NODEJS + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_LIBUV + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_NGHTTP2 + help + Event-driven I/O server-side JavaScript environment based on + V8. + + http://nodejs.org/ + +if BR2_PACKAGE_NODEJS + +config BR2_PACKAGE_NODEJS_NPM + bool "NPM for the target" + select BR2_PACKAGE_OPENSSL + help + NPM is the package manager for the Node JavaScript platform. + Note that enabling NPM on the target also selects OpenSSL + for the target. + + http://www.npmjs.org + + Note that NPM is always built for the buildroot host. + +config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL + string "Additional modules" + help + List of space-separated nodejs modules to install via npm. + See https://npmjs.org/ to find modules and 'npm help install' + for available installation methods. For repeatable builds, + download and save tgz files or clone git repos for the + components you care about. + + Example: + serialport uglify-js@1.3.4 /my/module/mymodule.tgz \ + git://github.com/someuser/somemodule.git#v1.2 + + This would install the serialport module (at the newest + version), the uglify-js module at 1.3.4, a module from a + filesystem path, and a module from a git repository. + +config BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS + string "Additional module dependencies" + help + List of space-separated buildroot recipes which must be + built before your npms can be installed. For example, if in + 'Additional modules' you specified 'node-curl' (see: + https://github.com/jiangmiao/node-curl), you could then + specify 'libcurl' here, to ensure that buildroot builds the + libcurl package, and does so before building your node + modules. + +endif diff --git a/buildroot-2022.02.1/package/nodejs/Config.in.host b/buildroot-2022.02.1/package/nodejs/Config.in.host new file mode 100644 index 00000000..4ceaf0c7 --- /dev/null +++ b/buildroot-2022.02.1/package/nodejs/Config.in.host @@ -0,0 +1,18 @@ +config BR2_PACKAGE_HOST_NODEJS + bool "host nodejs" + depends on BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS + depends on BR2_HOST_GCC_AT_LEAST_8 + select BR2_PACKAGE_HOST_PYTHON3 + select BR2_PACKAGE_HOST_PYTHON3_BZIP2 + select BR2_PACKAGE_HOST_PYTHON3_SSL + select BR2_PACKAGE_HOST_QEMU + select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE + help + Event-driven I/O server-side JavaScript environment based on + V8. + + http://nodejs.org/ + +comment "host nodejs needs a host gcc >= 8" + depends on BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS + depends on !BR2_HOST_GCC_AT_LEAST_8 diff --git a/buildroot-2022.02.1/package/nodejs/nodejs.hash b/buildroot-2022.02.1/package/nodejs/nodejs.hash new file mode 100644 index 00000000..6365ef85 --- /dev/null +++ b/buildroot-2022.02.1/package/nodejs/nodejs.hash @@ -0,0 +1,5 @@ +# From https://nodejs.org/dist/v14.18.3/SHASUMS256.txt +sha256 783ac443cd343dd6c68d2abcf7e59e7b978a6a428f6a6025f9b84918b769d608 node-v14.18.3.tar.xz + +# Hash for license file +sha256 b3a67885b5a6ac35e8bbe8190509e41b79b0d9a2e3fbd47186f2ac4727f63be5 LICENSE diff --git a/buildroot-2022.02.1/package/nodejs/nodejs.mk b/buildroot-2022.02.1/package/nodejs/nodejs.mk new file mode 100644 index 00000000..2e41c11d --- /dev/null +++ b/buildroot-2022.02.1/package/nodejs/nodejs.mk @@ -0,0 +1,264 @@ +################################################################################ +# +# nodejs +# +################################################################################ + +NODEJS_VERSION = 14.18.3 +NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz +NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION) +NODEJS_DEPENDENCIES = host-qemu host-python3 host-nodejs c-ares \ + libuv zlib nghttp2 \ + $(call qstrip,$(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL_DEPS)) +HOST_NODEJS_DEPENDENCIES = host-icu host-libopenssl host-python3 host-zlib +NODEJS_INSTALL_STAGING = YES +NODEJS_LICENSE = MIT (core code); MIT, Apache and BSD family licenses (Bundled components) +NODEJS_LICENSE_FILES = LICENSE +NODEJS_CPE_ID_VENDOR = nodejs +NODEJS_CPE_ID_PRODUCT = node.js + +NODEJS_CONF_OPTS = \ + --shared-zlib \ + --shared-cares \ + --shared-libuv \ + --shared-nghttp2 \ + --without-dtrace \ + --without-etw \ + --cross-compiling \ + --dest-os=linux + +HOST_NODEJS_MAKE_OPTS = \ + $(HOST_CONFIGURE_OPTS) \ + CXXFLAGS="$(HOST_NODEJS_CXXFLAGS)" \ + LDFLAGS.host="$(HOST_LDFLAGS)" \ + NO_LOAD=cctest.target.mk \ + PATH=$(@D)/bin:$(BR_PATH) + +NODEJS_MAKE_OPTS = \ + $(TARGET_CONFIGURE_OPTS) \ + NO_LOAD=cctest.target.mk \ + PATH=$(@D)/bin:$(BR_PATH) \ + LDFLAGS="$(NODEJS_LDFLAGS)" \ + LD="$(TARGET_CXX)" + +# nodejs's build system uses python which can be a symlink to an unsupported +# python version (e.g. python 3.10 with nodejs 14.18.1). We work around this by +# forcing host-python3 early in the PATH, via a python->python3 symlink. +define NODEJS_PYTHON3_SYMLINK + mkdir -p $(@D)/bin + ln -sf $(HOST_DIR)/bin/python3 $(@D)/bin/python +endef +HOST_NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK +NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_PYTHON3_SYMLINK + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +NODEJS_DEPENDENCIES += openssl +NODEJS_CONF_OPTS += --shared-openssl +else +NODEJS_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_ICU),y) +NODEJS_DEPENDENCIES += icu +NODEJS_CONF_OPTS += --with-intl=system-icu +else +NODEJS_CONF_OPTS += --with-intl=none +endif + +ifneq ($(BR2_PACKAGE_NODEJS_NPM),y) +NODEJS_CONF_OPTS += --without-npm +endif + +define HOST_NODEJS_CONFIGURE_CMDS + (cd $(@D); \ + $(HOST_CONFIGURE_OPTS) \ + PATH=$(@D)/bin:$(BR_PATH) \ + PYTHON=$(HOST_DIR)/bin/python3 \ + $(HOST_DIR)/bin/python3 ./configure \ + --prefix=$(HOST_DIR) \ + --without-dtrace \ + --without-etw \ + --shared-openssl \ + --shared-openssl-includes=$(HOST_DIR)/include \ + --shared-openssl-libpath=$(HOST_DIR)/lib \ + --shared-zlib \ + --no-cross-compiling \ + --with-intl=system-icu \ + ) +endef + +NODEJS_HOST_TOOLS_V8 = \ + torque \ + gen-regexp-special-case \ + bytecode_builtins_list_generator +NODEJS_HOST_TOOLS_NODE = mkcodecache +NODEJS_HOST_TOOLS = $(NODEJS_HOST_TOOLS_V8) $(NODEJS_HOST_TOOLS_NODE) + +HOST_NODEJS_CXXFLAGS = $(HOST_CXXFLAGS) + +define HOST_NODEJS_BUILD_CMDS + $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ + $(MAKE) -C $(@D) \ + $(HOST_NODEJS_MAKE_OPTS) +endef + +define HOST_NODEJS_INSTALL_CMDS + $(HOST_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ + $(MAKE) -C $(@D) install \ + $(HOST_NODEJS_MAKE_OPTS) + + $(foreach f,$(NODEJS_HOST_TOOLS), \ + $(INSTALL) -m755 -D $(@D)/out/Release/$(f) $(HOST_DIR)/bin/$(f) + ) +endef + +ifeq ($(BR2_i386),y) +NODEJS_CPU = ia32 +else ifeq ($(BR2_x86_64),y) +NODEJS_CPU = x64 +else ifeq ($(BR2_mips),y) +NODEJS_CPU = mips +else ifeq ($(BR2_mipsel),y) +NODEJS_CPU = mipsel +else ifeq ($(BR2_arm),y) +NODEJS_CPU = arm +# V8 needs to know what floating point ABI the target is using. +NODEJS_ARM_FP = $(GCC_TARGET_FLOAT_ABI) +# it also wants to know which FPU to use, but only has support for +# vfp, vfpv3, vfpv3-d16 and neon. +ifeq ($(BR2_ARM_FPU_VFPV2),y) +NODEJS_ARM_FPU = vfp +# vfpv4 is a superset of vfpv3 +else ifeq ($(BR2_ARM_FPU_VFPV3)$(BR2_ARM_FPU_VFPV4),y) +NODEJS_ARM_FPU = vfpv3 +# vfpv4-d16 is a superset of vfpv3-d16 +else ifeq ($(BR2_ARM_FPU_VFPV3D16)$(BR2_ARM_FPU_VFPV4D16),y) +NODEJS_ARM_FPU = vfpv3-d16 +else ifeq ($(BR2_ARM_FPU_NEON),y) +NODEJS_ARM_FPU = neon +endif +else ifeq ($(BR2_aarch64),y) +NODEJS_CPU = arm64 +endif + +# MIPS architecture specific options +ifeq ($(BR2_mips)$(BR2_mipsel),y) +ifeq ($(BR2_MIPS_CPU_MIPS32R6),y) +NODEJS_MIPS_ARCH_VARIANT = r6 +NODEJS_MIPS_FPU_MODE = fp64 +else ifeq ($(BR2_MIPS_CPU_MIPS32R2),y) +NODEJS_MIPS_ARCH_VARIANT = r2 +else ifeq ($(BR2_MIPS_CPU_MIPS32),y) +NODEJS_MIPS_ARCH_VARIANT = r1 +endif +endif + +NODEJS_LDFLAGS = $(TARGET_LDFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +NODEJS_LDFLAGS += -latomic +endif + +# V8's JIT infrastructure requires binaries such as mksnapshot and +# mkpeephole to be run in the host during the build. However, these +# binaries must have the same bit-width as the target (e.g. a x86_64 +# host targeting ARMv6 needs to produce a 32-bit binary). To work around this +# issue, cross-compile the binaries for the target and run them on the +# host with QEMU, much like gobject-introspection. +define NODEJS_INSTALL_V8_QEMU_WRAPPER + $(INSTALL) -D -m 755 $(NODEJS_PKGDIR)/v8-qemu-wrapper.in \ + $(@D)/out/Release/v8-qemu-wrapper + $(SED) "s%@QEMU_USER@%$(QEMU_USER)%g" \ + $(@D)/out/Release/v8-qemu-wrapper + $(SED) "s%@TOOLCHAIN_HEADERS_VERSION@%$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)%g" \ + $(@D)/out/Release/v8-qemu-wrapper + $(SED) "s%@QEMU_USERMODE_ARGS@%$(call qstrip,$(BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS))%g" \ + $(@D)/out/Release/v8-qemu-wrapper +endef +NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_INSTALL_V8_QEMU_WRAPPER + +define NODEJS_WRAPPER_FIXUP + $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/node.gyp + $(SED) "s%@MAYBE_WRAPPER@%'<(PRODUCT_DIR)/v8-qemu-wrapper',%g" $(@D)/tools/v8_gypfiles/v8.gyp +endef +NODEJS_PRE_CONFIGURE_HOOKS += NODEJS_WRAPPER_FIXUP + +# Do not run the qemu-wrapper for the host build. +define HOST_NODEJS_WRAPPER_FIXUP + $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/node.gyp + $(SED) "s%@MAYBE_WRAPPER@%%g" $(@D)/tools/v8_gypfiles/v8.gyp +endef +HOST_NODEJS_PRE_CONFIGURE_HOOKS += HOST_NODEJS_WRAPPER_FIXUP + +define NODEJS_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + PATH=$(@D)/bin:$(BR_PATH) \ + LDFLAGS="$(NODEJS_LDFLAGS)" \ + LD="$(TARGET_CXX)" \ + PYTHON=$(HOST_DIR)/bin/python3 \ + $(HOST_DIR)/bin/python3 ./configure \ + --prefix=/usr \ + --dest-cpu=$(NODEJS_CPU) \ + $(if $(NODEJS_ARM_FP),--with-arm-float-abi=$(NODEJS_ARM_FP)) \ + $(if $(NODEJS_ARM_FPU),--with-arm-fpu=$(NODEJS_ARM_FPU)) \ + $(if $(NODEJS_MIPS_ARCH_VARIANT),--with-mips-arch-variant=$(NODEJS_MIPS_ARCH_VARIANT)) \ + $(if $(NODEJS_MIPS_FPU_MODE),--with-mips-fpu-mode=$(NODEJS_MIPS_FPU_MODE)) \ + $(NODEJS_CONF_OPTS) \ + ) +endef + +define NODEJS_BUILD_CMDS + $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ + $(MAKE) -C $(@D) \ + $(NODEJS_MAKE_OPTS) +endef + +# +# Build the list of modules to install. +# +NODEJS_MODULES_LIST= $(call qstrip,\ + $(BR2_PACKAGE_NODEJS_MODULES_ADDITIONAL)) + +# Define NPM for other packages to use +NPM = $(TARGET_CONFIGURE_OPTS) \ + LDFLAGS="$(NODEJS_LDFLAGS)" \ + LD="$(TARGET_CXX)" \ + npm_config_arch=$(NODEJS_CPU) \ + npm_config_target_arch=$(NODEJS_CPU) \ + npm_config_build_from_source=true \ + npm_config_nodedir=$(BUILD_DIR)/nodejs-$(NODEJS_VERSION) \ + npm_config_prefix=$(TARGET_DIR)/usr \ + npm_config_cache=$(BUILD_DIR)/.npm-cache \ + $(HOST_DIR)/bin/npm + +# +# We can only call NPM if there's something to install. +# +ifneq ($(NODEJS_MODULES_LIST),) +define NODEJS_INSTALL_MODULES + # If you're having trouble with module installation, adding -d to the + # npm install call below and setting npm_config_rollback=false can both + # help in diagnosing the problem. + $(NPM) install -g $(NODEJS_MODULES_LIST) +endef +endif + +define NODEJS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ + $(MAKE) -C $(@D) install \ + DESTDIR=$(STAGING_DIR) \ + $(NODEJS_MAKE_OPTS) +endef + +define NODEJS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) PYTHON=$(HOST_DIR)/bin/python3 \ + $(MAKE) -C $(@D) install \ + DESTDIR=$(TARGET_DIR) \ + $(NODEJS_MAKE_OPTS) + $(NODEJS_INSTALL_MODULES) +endef + +# node.js configure is a Python script and does not use autotools +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/nodejs/v8-qemu-wrapper.in b/buildroot-2022.02.1/package/nodejs/v8-qemu-wrapper.in new file mode 100644 index 00000000..e1083f47 --- /dev/null +++ b/buildroot-2022.02.1/package/nodejs/v8-qemu-wrapper.in @@ -0,0 +1,9 @@ +#!/usr/bin/env sh + +# Pass -r to qemu-user as to trick glibc into not errorings out if the host kernel +# is older than the target kernel. +exec @QEMU_USER@ -r @TOOLCHAIN_HEADERS_VERSION@ \ + @QEMU_USERMODE_ARGS@ \ + -L "${STAGING_DIR}/" \ + "$@" + diff --git a/buildroot-2021.05/package/nodm/Config.in b/buildroot-2022.02.1/package/nodm/Config.in similarity index 100% rename from buildroot-2021.05/package/nodm/Config.in rename to buildroot-2022.02.1/package/nodm/Config.in diff --git a/buildroot-2021.05/package/nodm/S90nodm b/buildroot-2022.02.1/package/nodm/S90nodm similarity index 100% rename from buildroot-2021.05/package/nodm/S90nodm rename to buildroot-2022.02.1/package/nodm/S90nodm diff --git a/buildroot-2021.05/package/nodm/nodm.hash b/buildroot-2022.02.1/package/nodm/nodm.hash similarity index 100% rename from buildroot-2021.05/package/nodm/nodm.hash rename to buildroot-2022.02.1/package/nodm/nodm.hash diff --git a/buildroot-2021.05/package/nodm/nodm.mk b/buildroot-2022.02.1/package/nodm/nodm.mk similarity index 100% rename from buildroot-2021.05/package/nodm/nodm.mk rename to buildroot-2022.02.1/package/nodm/nodm.mk diff --git a/buildroot-2021.05/package/nodm/nodm.pam b/buildroot-2022.02.1/package/nodm/nodm.pam similarity index 100% rename from buildroot-2021.05/package/nodm/nodm.pam rename to buildroot-2022.02.1/package/nodm/nodm.pam diff --git a/buildroot-2021.05/package/noip/Config.in b/buildroot-2022.02.1/package/noip/Config.in similarity index 100% rename from buildroot-2021.05/package/noip/Config.in rename to buildroot-2022.02.1/package/noip/Config.in diff --git a/buildroot-2021.05/package/noip/noip.hash b/buildroot-2022.02.1/package/noip/noip.hash similarity index 100% rename from buildroot-2021.05/package/noip/noip.hash rename to buildroot-2022.02.1/package/noip/noip.hash diff --git a/buildroot-2021.05/package/noip/noip.mk b/buildroot-2022.02.1/package/noip/noip.mk similarity index 100% rename from buildroot-2021.05/package/noip/noip.mk rename to buildroot-2022.02.1/package/noip/noip.mk diff --git a/buildroot-2021.05/package/norm/0001-protolib-drop-linux-version-check.patch b/buildroot-2022.02.1/package/norm/0001-protolib-drop-linux-version-check.patch similarity index 100% rename from buildroot-2021.05/package/norm/0001-protolib-drop-linux-version-check.patch rename to buildroot-2022.02.1/package/norm/0001-protolib-drop-linux-version-check.patch diff --git a/buildroot-2021.05/package/norm/0002-Use-print-as-function-call-for-Python3-compatibility.patch b/buildroot-2022.02.1/package/norm/0002-Use-print-as-function-call-for-Python3-compatibility.patch similarity index 100% rename from buildroot-2021.05/package/norm/0002-Use-print-as-function-call-for-Python3-compatibility.patch rename to buildroot-2022.02.1/package/norm/0002-Use-print-as-function-call-for-Python3-compatibility.patch diff --git a/buildroot-2021.05/package/norm/0003-Fix-mixed-tabs-spaces-in-protolib-wscript.patch b/buildroot-2022.02.1/package/norm/0003-Fix-mixed-tabs-spaces-in-protolib-wscript.patch similarity index 100% rename from buildroot-2021.05/package/norm/0003-Fix-mixed-tabs-spaces-in-protolib-wscript.patch rename to buildroot-2022.02.1/package/norm/0003-Fix-mixed-tabs-spaces-in-protolib-wscript.patch diff --git a/buildroot-2021.05/package/norm/Config.in b/buildroot-2022.02.1/package/norm/Config.in similarity index 100% rename from buildroot-2021.05/package/norm/Config.in rename to buildroot-2022.02.1/package/norm/Config.in diff --git a/buildroot-2021.05/package/norm/norm.hash b/buildroot-2022.02.1/package/norm/norm.hash similarity index 100% rename from buildroot-2021.05/package/norm/norm.hash rename to buildroot-2022.02.1/package/norm/norm.hash diff --git a/buildroot-2021.05/package/norm/norm.mk b/buildroot-2022.02.1/package/norm/norm.mk similarity index 100% rename from buildroot-2021.05/package/norm/norm.mk rename to buildroot-2022.02.1/package/norm/norm.mk diff --git a/buildroot-2021.05/package/nss-mdns/Config.in b/buildroot-2022.02.1/package/nss-mdns/Config.in similarity index 100% rename from buildroot-2021.05/package/nss-mdns/Config.in rename to buildroot-2022.02.1/package/nss-mdns/Config.in diff --git a/buildroot-2021.05/package/nss-mdns/nss-mdns.hash b/buildroot-2022.02.1/package/nss-mdns/nss-mdns.hash similarity index 100% rename from buildroot-2021.05/package/nss-mdns/nss-mdns.hash rename to buildroot-2022.02.1/package/nss-mdns/nss-mdns.hash diff --git a/buildroot-2021.05/package/nss-mdns/nss-mdns.mk b/buildroot-2022.02.1/package/nss-mdns/nss-mdns.mk similarity index 100% rename from buildroot-2021.05/package/nss-mdns/nss-mdns.mk rename to buildroot-2022.02.1/package/nss-mdns/nss-mdns.mk diff --git a/buildroot-2021.05/package/nss-myhostname/Config.in b/buildroot-2022.02.1/package/nss-myhostname/Config.in similarity index 100% rename from buildroot-2021.05/package/nss-myhostname/Config.in rename to buildroot-2022.02.1/package/nss-myhostname/Config.in diff --git a/buildroot-2021.05/package/nss-myhostname/nss-myhostname.hash b/buildroot-2022.02.1/package/nss-myhostname/nss-myhostname.hash similarity index 100% rename from buildroot-2021.05/package/nss-myhostname/nss-myhostname.hash rename to buildroot-2022.02.1/package/nss-myhostname/nss-myhostname.hash diff --git a/buildroot-2022.02.1/package/nss-myhostname/nss-myhostname.mk b/buildroot-2022.02.1/package/nss-myhostname/nss-myhostname.mk new file mode 100644 index 00000000..b1bdca8e --- /dev/null +++ b/buildroot-2022.02.1/package/nss-myhostname/nss-myhostname.mk @@ -0,0 +1,20 @@ +################################################################################ +# +## nss-myhostname +# +################################################################################ + +NSS_MYHOSTNAME_VERSION = 0.3 +NSS_MYHOSTNAME_SITE = http://0pointer.de/lennart/projects/nss-myhostname +NSS_MYHOSTNAME_LICENSE = LGPL-2.1+ +NSS_MYHOSTNAME_LICENSE_FILES = LICENSE + +# add myhostname after files if missing +define NSS_MYHOSTNAME_SET_NSSWITCH + $(SED) '/^hosts:/ {/myhostname/! s/files/files myhostname/}' \ + $(TARGET_DIR)/etc/nsswitch.conf +endef + +NSS_MYHOSTNAME_TARGET_FINALIZE_HOOKS += NSS_MYHOSTNAME_SET_NSSWITCH + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nss-pam-ldapd/Config.in b/buildroot-2022.02.1/package/nss-pam-ldapd/Config.in similarity index 100% rename from buildroot-2021.05/package/nss-pam-ldapd/Config.in rename to buildroot-2022.02.1/package/nss-pam-ldapd/Config.in diff --git a/buildroot-2021.05/package/nss-pam-ldapd/S45nslcd b/buildroot-2022.02.1/package/nss-pam-ldapd/S45nslcd similarity index 100% rename from buildroot-2021.05/package/nss-pam-ldapd/S45nslcd rename to buildroot-2022.02.1/package/nss-pam-ldapd/S45nslcd diff --git a/buildroot-2021.05/package/nss-pam-ldapd/nslcd.service b/buildroot-2022.02.1/package/nss-pam-ldapd/nslcd.service similarity index 100% rename from buildroot-2021.05/package/nss-pam-ldapd/nslcd.service rename to buildroot-2022.02.1/package/nss-pam-ldapd/nslcd.service diff --git a/buildroot-2022.02.1/package/nss-pam-ldapd/nss-pam-ldapd.hash b/buildroot-2022.02.1/package/nss-pam-ldapd/nss-pam-ldapd.hash new file mode 100644 index 00000000..e0cdc403 --- /dev/null +++ b/buildroot-2022.02.1/package/nss-pam-ldapd/nss-pam-ldapd.hash @@ -0,0 +1,5 @@ +# From https://arthurdejong.org/nss-pam-ldapd/nss-pam-ldapd-0.9.12.tar.gz.md5 +md5 cc30ee0ab91d6c94b7a343ae09b5dc69 nss-pam-ldapd-0.9.12.tar.gz +# Locally computed: +sha256 c6d661e74693cbf531a790631ca93b73f291fb23cc39465b09deb8da2bfb0e14 nss-pam-ldapd-0.9.12.tar.gz +sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2022.02.1/package/nss-pam-ldapd/nss-pam-ldapd.mk b/buildroot-2022.02.1/package/nss-pam-ldapd/nss-pam-ldapd.mk new file mode 100644 index 00000000..60f63284 --- /dev/null +++ b/buildroot-2022.02.1/package/nss-pam-ldapd/nss-pam-ldapd.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# nss-pam-ldapd +# +################################################################################ + +NSS_PAM_LDAPD_VERSION = 0.9.12 +NSS_PAM_LDAPD_SITE = http://arthurdejong.org/nss-pam-ldapd +NSS_PAM_LDAPD_LICENSE = LGPL-2.1+ +NSS_PAM_LDAPD_LICENSE_FILES = COPYING +NSS_PAM_LDAPD_INSTALL_STAGING = YES + +NSS_PAM_LDAPD_CONF_OPTS = --disable-sasl +NSS_PAM_LDAPD_DEPENDENCIES = openldap + +ifeq ($(BR2_PACKAGE_NSS_PAM_LDAPD_UTILITIES),y) +NSS_PAM_LDAPD_CONF_OPTS += --enable-utils +else +NSS_PAM_LDAPD_CONF_OPTS += --disable-utils +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +NSS_PAM_LDAPD_CONF_OPTS += --enable-pam +NSS_PAM_LDAPD_DEPENDENCIES += linux-pam +else +NSS_PAM_LDAPD_CONF_OPTS += --disable-pam +endif + +define NSS_PAM_LDAPD_INSTALL_INIT_SYSTEMD + $(INSTALL) -m 644 -D package/nss-pam-ldapd/nslcd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/nslcd.service +endef + +define NSS_PAM_LDAPD_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/nss-pam-ldapd/S45nslcd \ + $(TARGET_DIR)/etc/init.d/S45nslcd +endef + +define NSS_PAM_LDAPD_USERS + nslcd -1 nslcd -1 * - - - nslcd user +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ntfs-3g/Config.in b/buildroot-2022.02.1/package/ntfs-3g/Config.in similarity index 100% rename from buildroot-2021.05/package/ntfs-3g/Config.in rename to buildroot-2022.02.1/package/ntfs-3g/Config.in diff --git a/buildroot-2022.02.1/package/ntfs-3g/ntfs-3g.hash b/buildroot-2022.02.1/package/ntfs-3g/ntfs-3g.hash new file mode 100644 index 00000000..668e11a8 --- /dev/null +++ b/buildroot-2022.02.1/package/ntfs-3g/ntfs-3g.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 55b883aa05d94b2ec746ef3966cb41e66bed6db99f22ddd41d1b8b94bb202efb ntfs-3g_ntfsprogs-2021.8.22.tgz +sha256 231f7edcc7352d7734a96eef0b8030f77982678c516876fcb81e25b32d68564c COPYING +sha256 d7bf9d064ac3e5840f9dd02422b7eeec4f1fd03f37fadbd043602be5e882304f COPYING.LIB diff --git a/buildroot-2022.02.1/package/ntfs-3g/ntfs-3g.mk b/buildroot-2022.02.1/package/ntfs-3g/ntfs-3g.mk new file mode 100644 index 00000000..21f7cfc4 --- /dev/null +++ b/buildroot-2022.02.1/package/ntfs-3g/ntfs-3g.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# ntfs-3g +# +################################################################################ + +NTFS_3G_VERSION = 2021.8.22 +NTFS_3G_SOURCE = ntfs-3g_ntfsprogs-$(NTFS_3G_VERSION).tgz +NTFS_3G_SITE = http://tuxera.com/opensource +NTFS_3G_CONF_OPTS = --disable-ldconfig +NTFS_3G_INSTALL_STAGING = YES +NTFS_3G_DEPENDENCIES = host-pkgconf +NTFS_3G_LICENSE = GPL-2.0+, LGPL-2.0+ +NTFS_3G_LICENSE_FILES = COPYING COPYING.LIB +NTFS_3G_CPE_ID_VENDOR = tuxera + +ifeq ($(BR2_PACKAGE_LIBFUSE),y) +NTFS_3G_CONF_OPTS += --with-fuse=external +NTFS_3G_DEPENDENCIES += libfuse +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +NTFS_3G_DEPENDENCIES += util-linux +endif + +ifeq ($(BR2_PACKAGE_NTFS_3G_ENCRYPTED),y) +NTFS_3G_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config +NTFS_3G_CONF_OPTS += --enable-crypto +NTFS_3G_DEPENDENCIES += gnutls libgcrypt +endif + +ifneq ($(BR2_PACKAGE_NTFS_3G_NTFSPROGS),y) +NTFS_3G_CONF_OPTS += --disable-ntfsprogs +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ntp/0001-nano.patch b/buildroot-2022.02.1/package/ntp/0001-nano.patch similarity index 100% rename from buildroot-2021.05/package/ntp/0001-nano.patch rename to buildroot-2022.02.1/package/ntp/0001-nano.patch diff --git a/buildroot-2021.05/package/ntp/0002-ntp-syscalls-fallback.patch b/buildroot-2022.02.1/package/ntp/0002-ntp-syscalls-fallback.patch similarity index 100% rename from buildroot-2021.05/package/ntp/0002-ntp-syscalls-fallback.patch rename to buildroot-2022.02.1/package/ntp/0002-ntp-syscalls-fallback.patch diff --git a/buildroot-2021.05/package/ntp/0003-override-shell.patch b/buildroot-2022.02.1/package/ntp/0003-override-shell.patch similarity index 100% rename from buildroot-2021.05/package/ntp/0003-override-shell.patch rename to buildroot-2022.02.1/package/ntp/0003-override-shell.patch diff --git a/buildroot-2022.02.1/package/ntp/0004-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch b/buildroot-2022.02.1/package/ntp/0004-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch new file mode 100644 index 00000000..da03ad4a --- /dev/null +++ b/buildroot-2022.02.1/package/ntp/0004-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch @@ -0,0 +1,33 @@ +From 082a504cfcc046c3d8adaae1164268bc94e5108a Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 31 Jul 2021 10:51:41 -0700 +Subject: [PATCH] libntp: Do not use PTHREAD_STACK_MIN on glibc + +In glibc 2.34+ PTHREAD_STACK_MIN is not a compile-time constant which +could mean different stack sizes at runtime on different architectures +and it also causes compile failure. Default glibc thread stack size +or 64Kb set by ntp should be good in glibc these days. + +Signed-off-by: Khem Raj +[Copied from https://github.com/openembedded/meta-openembedded/blob/master/meta-networking/recipes-support/ntp/ntp/0001-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch] +Signed-off-by: Alexey Brodkin +--- + libntp/work_thread.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libntp/work_thread.c b/libntp/work_thread.c +index 03a5647..3ddd751 100644 +--- a/libntp/work_thread.c ++++ b/libntp/work_thread.c +@@ -41,7 +41,7 @@ + #ifndef THREAD_MINSTACKSIZE + # define THREAD_MINSTACKSIZE (64U * 1024) + #endif +-#ifndef __sun ++#if !defined(__sun) && !defined(__GLIBC__) + #if defined(PTHREAD_STACK_MIN) && THREAD_MINSTACKSIZE < PTHREAD_STACK_MIN + # undef THREAD_MINSTACKSIZE + # define THREAD_MINSTACKSIZE PTHREAD_STACK_MIN +-- +2.32.0 + diff --git a/buildroot-2021.05/package/ntp/Config.in b/buildroot-2022.02.1/package/ntp/Config.in similarity index 100% rename from buildroot-2021.05/package/ntp/Config.in rename to buildroot-2022.02.1/package/ntp/Config.in diff --git a/buildroot-2021.05/package/ntp/S48sntp b/buildroot-2022.02.1/package/ntp/S48sntp similarity index 100% rename from buildroot-2021.05/package/ntp/S48sntp rename to buildroot-2022.02.1/package/ntp/S48sntp diff --git a/buildroot-2022.02.1/package/ntp/S49ntp.in b/buildroot-2022.02.1/package/ntp/S49ntp.in new file mode 100644 index 00000000..11c03b88 --- /dev/null +++ b/buildroot-2022.02.1/package/ntp/S49ntp.in @@ -0,0 +1,56 @@ +#!/bin/sh +# +# Starts Network Time Protocol daemon +# + +DAEMON="ntpd" +PIDFILE="/var/run/$DAEMON.pid" + +NTPD_ARGS="@NTPD_EXTRA_ARGS@ -g" + +# shellcheck source=/dev/null +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +start() { + printf 'Starting %s: ' "$DAEMON" + # shellcheck disable=SC2086 # we need the word splitting + start-stop-daemon -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ + -- $NTPD_ARGS -p "$PIDFILE" + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -q -p "$PIDFILE" + status=$? + if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + # Restart, since there is no true "reload" feature. + restart;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2021.05/package/ntp/ntp.hash b/buildroot-2022.02.1/package/ntp/ntp.hash similarity index 100% rename from buildroot-2021.05/package/ntp/ntp.hash rename to buildroot-2022.02.1/package/ntp/ntp.hash diff --git a/buildroot-2022.02.1/package/ntp/ntp.mk b/buildroot-2022.02.1/package/ntp/ntp.mk new file mode 100644 index 00000000..96b099d5 --- /dev/null +++ b/buildroot-2022.02.1/package/ntp/ntp.mk @@ -0,0 +1,136 @@ +################################################################################ +# +# ntp +# +################################################################################ + +NTP_VERSION_MAJOR = 4.2 +NTP_VERSION_MINOR = 8 +NTP_VERSION_POINT = 15 +NTP_VERSION = $(NTP_VERSION_MAJOR).$(NTP_VERSION_MINOR)p$(NTP_VERSION_POINT) +NTP_SITE = https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-$(NTP_VERSION_MAJOR) +NTP_DEPENDENCIES = host-pkgconf libevent +NTP_LICENSE = NTP +NTP_LICENSE_FILES = COPYRIGHT +NTP_CPE_ID_VENDOR = ntp +NTP_CPE_ID_VERSION = $(NTP_VERSION_MAJOR).$(NTP_VERSION_MINOR) +NTP_CPE_ID_UPDATE = p$(NTP_VERSION_POINT) +NTP_SELINUX_MODULES = ntp +NTP_CONF_ENV = ac_cv_lib_md5_MD5Init=no POSIX_SHELL=/bin/sh +NTP_CONF_OPTS = \ + --with-shared \ + --program-transform-name=s,,, \ + --disable-tickadj \ + --disable-debugging \ + --with-yielding-select=yes \ + --disable-local-libevent + +# 0002-ntp-syscalls-fallback.patch +NTP_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +NTP_CONF_OPTS += --with-crypto --enable-openssl-random +NTP_DEPENDENCIES += openssl +else +NTP_CONF_OPTS += --without-crypto --disable-openssl-random +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y) +NTP_CONF_OPTS += --with-hardenfile=linux +else +NTP_CONF_OPTS += --with-hardenfile=default +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +NTP_CONF_OPTS += --enable-linuxcaps +NTP_DEPENDENCIES += libcap +define NTP_USERS + ntp -1 ntp -1 * - - - ntpd user +endef +NTP_DAEMON_EXTRA_ARGS = -u ntp:ntp +else +NTP_CONF_OPTS += --disable-linuxcaps +endif + +ifeq ($(BR2_PACKAGE_LIBEDIT),y) +NTP_CONF_OPTS += --with-lineeditlibs=edit +NTP_DEPENDENCIES += libedit +else +NTP_CONF_OPTS += --without-lineeditlibs +endif + +ifeq ($(BR2_PACKAGE_NTP_NTPSNMPD),y) +NTP_CONF_OPTS += \ + --with-net-snmp-config=$(STAGING_DIR)/usr/bin/net-snmp-config +NTP_DEPENDENCIES += netsnmp +else +NTP_CONF_OPTS += --without-ntpsnmpd +endif + +ifeq ($(BR2_PACKAGE_NTP_NTPD_ATOM_PPS),y) +NTP_CONF_OPTS += --enable-ATOM +NTP_DEPENDENCIES += pps-tools +else +NTP_CONF_OPTS += --disable-ATOM +endif + +ifeq ($(BR2_PACKAGE_NTP_NTP_SHM_CLK),y) +NTP_CONF_OPTS += --enable-SHM +else +NTP_CONF_OPTS += --disable-SHM +endif + +ifeq ($(BR2_PACKAGE_NTP_SNTP),y) +NTP_CONF_OPTS += --with-sntp +else +NTP_CONF_OPTS += --without-sntp +endif + +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_KEYGEN) += util/ntp-keygen +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTP_WAIT) += scripts/ntp-wait/ntp-wait +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDATE) += ntpdate/ntpdate +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPDC) += ntpdc/ntpdc +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPQ) += ntpq/ntpq +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPSNMPD) += ntpsnmpd/ntpsnmpd +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTIME) += util/ntptime +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_NTPTRACE) += scripts/ntptrace/ntptrace +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_SNTP) += sntp/sntp +NTP_INSTALL_FILES_$(BR2_PACKAGE_NTP_TICKADJ) += util/tickadj + +define NTP_INSTALL_TARGET_CMDS + $(if $(BR2_PACKAGE_NTP_NTPD), install -m 755 $(@D)/ntpd/ntpd $(TARGET_DIR)/usr/sbin/ntpd) + test -z "$(NTP_INSTALL_FILES_y)" || install -m 755 $(addprefix $(@D)/,$(NTP_INSTALL_FILES_y)) $(TARGET_DIR)/usr/bin/ + $(INSTALL) -m 644 package/ntp/ntpd.etc.conf $(TARGET_DIR)/etc/ntp.conf +endef + +# This script will step the time if there is a large difference +# before ntpd takes over the necessary slew adjustments +ifeq ($(BR2_PACKAGE_NTP_SNTP),y) +define NTP_INSTALL_INIT_SYSV_SNTP + $(INSTALL) -D -m 755 package/ntp/S48sntp $(TARGET_DIR)/etc/init.d/S48sntp +endef +endif + +ifeq ($(BR2_PACKAGE_NTP_NTPD),y) +define NTP_INSTALL_INIT_SYSV_NTPD + mkdir -p $(TARGET_DIR)/etc/init.d + sed -e 's%@NTPD_EXTRA_ARGS@%$(NTP_DAEMON_EXTRA_ARGS)%g' \ + package/ntp/S49ntp.in \ + > $(TARGET_DIR)/etc/init.d/S49ntp + chmod 0755 $(TARGET_DIR)/etc/init.d/S49ntp +endef + +define NTP_INSTALL_INIT_SYSTEMD + mkdir -p $(TARGET_DIR)/usr/lib/systemd/system + sed -e 's%@NTPD_EXTRA_ARGS@%$(NTP_DAEMON_EXTRA_ARGS)%g' \ + package/ntp/ntpd.service.in \ + > $(TARGET_DIR)/usr/lib/systemd/system/ntpd.service +endef +endif + +define NTP_INSTALL_INIT_SYSV + $(NTP_INSTALL_INIT_SYSV_NTPD) + $(NTP_INSTALL_INIT_SYSV_SNTP) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ntp/ntpd.etc.conf b/buildroot-2022.02.1/package/ntp/ntpd.etc.conf similarity index 100% rename from buildroot-2021.05/package/ntp/ntpd.etc.conf rename to buildroot-2022.02.1/package/ntp/ntpd.etc.conf diff --git a/buildroot-2022.02.1/package/ntp/ntpd.service.in b/buildroot-2022.02.1/package/ntp/ntpd.service.in new file mode 100644 index 00000000..b7db4a28 --- /dev/null +++ b/buildroot-2022.02.1/package/ntp/ntpd.service.in @@ -0,0 +1,15 @@ +[Unit] +Description=Network Time Service +After=network.target + +[Service] +Type=forking +PIDFile=/run/ntpd.pid +# Turn off DNSSEC validation for hostname look-ups, since those need the +# correct time to work, but we likely won't acquire that without NTP. Let's +# break this chicken-and-egg cycle here. +Environment=SYSTEMD_NSS_RESOLVE_VALIDATE=0 +ExecStart=/usr/sbin/ntpd @NTPD_EXTRA_ARGS@ -g -p /run/ntpd.pid + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch b/buildroot-2022.02.1/package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch similarity index 100% rename from buildroot-2021.05/package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch rename to buildroot-2022.02.1/package/numactl/0001-Do-not-stringify-SYMVER-symbols.patch diff --git a/buildroot-2022.02.1/package/numactl/0002-link-with-latomic-if-needed.patch b/buildroot-2022.02.1/package/numactl/0002-link-with-latomic-if-needed.patch new file mode 100644 index 00000000..6dff0cb2 --- /dev/null +++ b/buildroot-2022.02.1/package/numactl/0002-link-with-latomic-if-needed.patch @@ -0,0 +1,52 @@ +From e0de0d9e981ddb53bdeb4a4b9dc43046c9ff4ff9 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 6 May 2021 23:08:36 +0200 +Subject: [PATCH] link with -latomic if needed + +numactl unconditionally uses __atomic_fetch_and but some architectures +(e.g. sparc) needs to link with -latomic to be able to use it. So check +if -latomic is needed and update numa.pc accordingly + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/numactl/numactl/commit/e0de0d9e981ddb53bdeb4a4b9dc43046c9ff4ff9] +--- + Makefile.am | 1 + + configure.ac | 2 ++ + numa.pc.in | 1 + + 3 files changed, 4 insertions(+) + +diff --git a/Makefile.am b/Makefile.am +index 44d0d76..34f6815 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -151,6 +151,7 @@ SED_PROCESS = \ + -e 's,@exec_prefix\@,$(exec_prefix),g' \ + -e 's,@libdir\@,$(libdir),g' \ + -e 's,@includedir\@,$(includedir),g' \ ++ -e 's,@LIBS\@,$(LIBS),g' \ + < $< > $@ || rm $@ + + %.pc: %.pc.in Makefile +diff --git a/configure.ac b/configure.ac +index 659a765..e3b0eb3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -24,6 +24,8 @@ AM_CONDITIONAL([HAVE_TREE_VECTORIZE], [test x"${tree_vectorize}" = x"true"]) + + AC_CONFIG_FILES([Makefile]) + ++AC_SEARCH_LIBS([__atomic_fetch_and_1], [atomic]) ++ + # GCC tries to be "helpful" and only issue a warning for unrecognized + # attributes. So we compile the test with Werror, so that if the + # attribute is not recognized the compilation fails +diff --git a/numa.pc.in b/numa.pc.in +index 8a0f202..cc04d50 100644 +--- a/numa.pc.in ++++ b/numa.pc.in +@@ -8,3 +8,4 @@ Description: NUMA policy library + Version: @VERSION@ + Cflags: -I${includedir} + Libs: -L${libdir} -lnuma ++Libs.Private: @LIBS@ diff --git a/buildroot-2021.05/package/numactl/Config.in b/buildroot-2022.02.1/package/numactl/Config.in similarity index 100% rename from buildroot-2021.05/package/numactl/Config.in rename to buildroot-2022.02.1/package/numactl/Config.in diff --git a/buildroot-2021.05/package/numactl/numactl.hash b/buildroot-2022.02.1/package/numactl/numactl.hash similarity index 100% rename from buildroot-2021.05/package/numactl/numactl.hash rename to buildroot-2022.02.1/package/numactl/numactl.hash diff --git a/buildroot-2022.02.1/package/numactl/numactl.mk b/buildroot-2022.02.1/package/numactl/numactl.mk new file mode 100644 index 00000000..cf9c7596 --- /dev/null +++ b/buildroot-2022.02.1/package/numactl/numactl.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# numactl +# +################################################################################ + +NUMACTL_VERSION = 2.0.14 +NUMACTL_SITE = $(call github,numactl,numactl,v$(NUMACTL_VERSION)) +NUMACTL_LICENSE = LGPL-2.1 (libnuma), GPL-2.0 (programs) +NUMACTL_LICENSE_FILES = README.md +NUMACTL_INSTALL_STAGING = YES +NUMACTL_AUTORECONF = YES +NUMACTL_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -fPIC" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nut/Config.in b/buildroot-2022.02.1/package/nut/Config.in similarity index 100% rename from buildroot-2021.05/package/nut/Config.in rename to buildroot-2022.02.1/package/nut/Config.in diff --git a/buildroot-2021.05/package/nut/nut.hash b/buildroot-2022.02.1/package/nut/nut.hash similarity index 100% rename from buildroot-2021.05/package/nut/nut.hash rename to buildroot-2022.02.1/package/nut/nut.hash diff --git a/buildroot-2022.02.1/package/nut/nut.mk b/buildroot-2022.02.1/package/nut/nut.mk new file mode 100644 index 00000000..db0247dc --- /dev/null +++ b/buildroot-2022.02.1/package/nut/nut.mk @@ -0,0 +1,105 @@ +################################################################################ +# +# nut +# +################################################################################ + +NUT_VERSION = 03c3bbe8df9a2caf3c09c120ae7045d35af99b76 +NUT_SITE = $(call github,networkupstools,nut,$(NUT_VERSION)) +NUT_LICENSE = GPL-2.0+, GPL-3.0+ (python scripts), GPL/Artistic (perl client) +NUT_LICENSE_FILES = COPYING LICENSE-GPL2 LICENSE-GPL3 +NUT_SELINUX_MODULES = apache nut +NUT_INSTALL_STAGING = YES +NUT_DEPENDENCIES = host-pkgconf host-perl + +# From git: +NUT_AUTORECONF = YES + +# Generate files otherwise generated by autogen.sh +# buildroot does not support augeas, creating an empty file prevents +# us from adding a dependency to host-python +define NUT_PREGEN + touch $(@D)/scripts/augeas/nutupsconf.aug.in + cd $(@D)/tools && PATH=$(BR_PATH) ./nut-usbinfo.pl +endef +NUT_PRE_CONFIGURE_HOOKS += NUT_PREGEN + +# Race condition in tools generation +NUT_MAKE = $(MAKE1) + +# Put the PID files in a read-write place (/var/run is a tmpfs) +# since the default location (/var/state/ups) maybe readonly. +NUT_CONF_OPTS = \ + --with-altpidpath=/var/run/upsd \ + --with-dev + +NUT_CONF_ENV = ax_cv__printf_string_null=yes + +# For uClibc-based toolchains, nut forgets to link with -lm +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +NUT_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lm" +endif + +ifeq ($(call qstrip,$(BR2_PACKAGE_NUT_DRIVERS)),) +NUT_CONF_OPTS += --with-drivers=all +else +NUT_CONF_OPTS += --with-drivers=$(BR2_PACKAGE_NUT_DRIVERS) +endif + +ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_DBUS),yy) +NUT_DEPENDENCIES += avahi dbus +NUT_CONF_OPTS += --with-avahi +else +NUT_CONF_OPTS += --without-avahi +endif + +# gd with support for png is required for the CGI +ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy) +NUT_DEPENDENCIES += gd libpng +NUT_CONF_OPTS += --with-cgi +else +NUT_CONF_OPTS += --without-cgi +endif + +# nut-scanner needs libltdl, which is a wrapper arounf dlopen/dlsym, +# so is not available for static-only builds. +# There is no flag to directly enable/disable nut-scanner, it's done +# via the --enable/disable-libltdl flag. +ifeq ($(BR2_STATIC_LIBS):$(BR2_PACKAGE_LIBTOOL),:y) +NUT_DEPENDENCIES += libtool +NUT_CONF_OPTS += --with-libltdl +else +NUT_CONF_OPTS += --without-libltdl +endif + +ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y) +NUT_DEPENDENCIES += libusb-compat +NUT_CONF_OPTS += --with-usb +else +NUT_CONF_OPTS += --without-usb +endif + +ifeq ($(BR2_PACKAGE_NEON_EXPAT)$(BR2_PACKAGE_NEON_LIBXML2),y) +NUT_DEPENDENCIES += neon +NUT_CONF_OPTS += --with-neon +else +NUT_CONF_OPTS += --without-neon +endif + +ifeq ($(BR2_PACKAGE_NETSNMP),y) +NUT_DEPENDENCIES += netsnmp +NUT_CONF_OPTS += \ + --with-snmp \ + --with-net-snmp-config=$(STAGING_DIR)/usr/bin/net-snmp-config +else +NUT_CONF_OPTS += --without-snmp +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +NUT_DEPENDENCIES += openssl +NUT_CONF_OPTS += --with-ssl +else +NUT_CONF_OPTS += --without-ssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/nuttcp/0001-susv3-legacy.patch b/buildroot-2022.02.1/package/nuttcp/0001-susv3-legacy.patch similarity index 100% rename from buildroot-2021.05/package/nuttcp/0001-susv3-legacy.patch rename to buildroot-2022.02.1/package/nuttcp/0001-susv3-legacy.patch diff --git a/buildroot-2021.05/package/nuttcp/Config.in b/buildroot-2022.02.1/package/nuttcp/Config.in similarity index 100% rename from buildroot-2021.05/package/nuttcp/Config.in rename to buildroot-2022.02.1/package/nuttcp/Config.in diff --git a/buildroot-2021.05/package/nuttcp/nuttcp.hash b/buildroot-2022.02.1/package/nuttcp/nuttcp.hash similarity index 100% rename from buildroot-2021.05/package/nuttcp/nuttcp.hash rename to buildroot-2022.02.1/package/nuttcp/nuttcp.hash diff --git a/buildroot-2021.05/package/nuttcp/nuttcp.mk b/buildroot-2022.02.1/package/nuttcp/nuttcp.mk similarity index 100% rename from buildroot-2021.05/package/nuttcp/nuttcp.mk rename to buildroot-2022.02.1/package/nuttcp/nuttcp.mk diff --git a/buildroot-2021.05/package/nvidia-driver/0001-use-LDFLAGS.patch b/buildroot-2022.02.1/package/nvidia-driver/0001-use-LDFLAGS.patch similarity index 100% rename from buildroot-2021.05/package/nvidia-driver/0001-use-LDFLAGS.patch rename to buildroot-2022.02.1/package/nvidia-driver/0001-use-LDFLAGS.patch diff --git a/buildroot-2022.02.1/package/nvidia-driver/Config.in b/buildroot-2022.02.1/package/nvidia-driver/Config.in new file mode 100644 index 00000000..a8617a93 --- /dev/null +++ b/buildroot-2022.02.1/package/nvidia-driver/Config.in @@ -0,0 +1,93 @@ +comment "nvidia-driver needs a glibc toolchain" + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_TOOLCHAIN_USES_GLIBC + +config BR2_PACKAGE_NVIDIA_DRIVER + bool "nvidia-driver" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_TOOLCHAIN_USES_GLIBC + help + The binary-only driver blob for NVidia cards. + This is the userland part only. + + http://www.nvidia.com/ + +if BR2_PACKAGE_NVIDIA_DRIVER + +comment "nvidia-driver X.org drivers needs a modular Xorg server" + depends on !BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR + +config BR2_PACKAGE_NVIDIA_DRIVER_XORG + bool "X.org drivers" + default y + depends on BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR + select BR2_PACKAGE_MESA3D_HEADERS + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_HAS_LIBEGL_WAYLAND + select BR2_PACKAGE_HAS_LIBGLES + +if BR2_PACKAGE_NVIDIA_DRIVER_XORG + +config BR2_PACKAGE_PROVIDES_LIBGL + default "nvidia-driver" + +config BR2_PACKAGE_PROVIDES_LIBEGL + default "nvidia-driver" + +config BR2_PACKAGE_PROVIDES_LIBGLES + default "nvidia-driver" + +config BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS + bool "Install private libraries" + help + Two libraries require special agreement with NVidia to + develop code linking to those libraries: libnvidia-ifr.so + and libnvidia-fbc.so (to grab and encode an OpenGL buffer or + an X framebuffer.) + + Say 'y' here if you plan on running a program that uses + those private libraries. + +endif # BR2_PACKAGE_NVIDIA_DRIVER_XORG + +config BR2_PACKAGE_NVIDIA_DRIVER_CUDA + bool "CUDA support" + +if BR2_PACKAGE_NVIDIA_DRIVER_CUDA + +config BR2_PACKAGE_NVIDIA_DRIVER_OPENCL + bool "OpenCL support" + select BR2_PACKAGE_MESA3D_HEADERS + select BR2_PACKAGE_HAS_LIBOPENCL + +config BR2_PACKAGE_PROVIDES_LIBOPENCL + default "nvidia-driver" if BR2_PACKAGE_NVIDIA_DRIVER_OPENCL + +config BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS + bool "CUDA MPS server and control" + help + Say 'y' here if you need to run more than one program + doing CUDA at the same time. The MPS server will be + launched automatically when needed. + +endif # BR2_PACKAGE_NVIDIA_DRIVER_CUDA + +comment "nvidia kernel module needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +config BR2_PACKAGE_NVIDIA_DRIVER_MODULE + bool "nvidia kernel module" + depends on BR2_LINUX_KERNEL + select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra + help + Build the nvidia.ko kernel module. + + If CUDA support (above) is set, and the target is x86_64, then + this will also build the nvidia-uvm.ko kernel module, which + provides Unified Memory access to the GPU and CPU memories for + CUDA programs. + +endif # BR2_PACKAGE_NVIDIA_DRIVER diff --git a/buildroot-2021.05/package/nvidia-driver/egl.pc b/buildroot-2022.02.1/package/nvidia-driver/egl.pc similarity index 100% rename from buildroot-2021.05/package/nvidia-driver/egl.pc rename to buildroot-2022.02.1/package/nvidia-driver/egl.pc diff --git a/buildroot-2021.05/package/nvidia-driver/gl.pc b/buildroot-2022.02.1/package/nvidia-driver/gl.pc similarity index 100% rename from buildroot-2021.05/package/nvidia-driver/gl.pc rename to buildroot-2022.02.1/package/nvidia-driver/gl.pc diff --git a/buildroot-2022.02.1/package/nvidia-driver/nvidia-driver.hash b/buildroot-2022.02.1/package/nvidia-driver/nvidia-driver.hash new file mode 100644 index 00000000..7f2248d0 --- /dev/null +++ b/buildroot-2022.02.1/package/nvidia-driver/nvidia-driver.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 51adb28f0ed4548f35a88a93ad6767ebd807fa14f418bf5e51a6d63a3ff7f275 NVIDIA-Linux-x86-390.132.run +sha256 b6b4b8af37e78e026c9ebdf4a5c64ea412dfcb710931dd028c22dac228de659d NVIDIA-Linux-x86_64-390.132-no-compat32.run +sha256 bd28b0c5aeeb00eb11d3ec6f6f3449d4b3a40100914258332734a53527997526 LICENSE diff --git a/buildroot-2022.02.1/package/nvidia-driver/nvidia-driver.mk b/buildroot-2022.02.1/package/nvidia-driver/nvidia-driver.mk new file mode 100644 index 00000000..54c2aa46 --- /dev/null +++ b/buildroot-2022.02.1/package/nvidia-driver/nvidia-driver.mk @@ -0,0 +1,211 @@ +################################################################################ +# +# nvidia-driver +# +################################################################################ + +NVIDIA_DRIVER_VERSION = 390.132 +NVIDIA_DRIVER_SUFFIX = $(if $(BR2_x86_64),_64) +NVIDIA_DRIVER_SITE = http://download.nvidia.com/XFree86/Linux-x86$(NVIDIA_DRIVER_SUFFIX)/$(NVIDIA_DRIVER_VERSION) +NVIDIA_DRIVER_SOURCE = NVIDIA-Linux-x86$(NVIDIA_DRIVER_SUFFIX)-$(NVIDIA_DRIVER_VERSION)$(if $(BR2_x86_64),-no-compat32).run +NVIDIA_DRIVER_LICENSE = NVIDIA Software License +NVIDIA_DRIVER_LICENSE_FILES = LICENSE +NVIDIA_DRIVER_REDISTRIBUTE = NO +NVIDIA_DRIVER_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_XORG),y) + +# Since nvidia-driver are binary blobs, the below dependencies are not +# strictly speaking build dependencies of nvidia-driver. However, they +# are build dependencies of packages that depend on nvidia-driver, so +# they should be built prior to those packages, and the only simple +# way to do so is to make nvidia-driver depend on them. +NVIDIA_DRIVER_DEPENDENCIES += mesa3d-headers xlib_libX11 xlib_libXext +NVIDIA_DRIVER_PROVIDES += libgl libegl libgles + +# libGL.so.$(NVIDIA_DRIVER_VERSION) is the legacy libGL.so library; it +# has been replaced with libGL.so.1.0.0. Installing both is technically +# possible, but great care must be taken to ensure they do not conflict, +# so that EGL still works. The legacy library exposes an NVidia-specific +# API, so it should not be needed, except for legacy, binary-only +# applications (in other words: we don't care). +# +# libGL.so.1.0.0 is the new vendor-neutral library, aimed at replacing +# the old libGL.so.$(NVIDIA_DRIVER_VERSION) library. The latter contains +# NVidia extensions (which is deemed bad now), while the former follows +# the newly-introduced vendor-neutral "dispatching" API/ABI: +# https://github.com/aritger/linux-opengl-abi-proposal/blob/master/linux-opengl-abi-proposal.txt +# However, this is not very useful to us, as we don't support multiple +# GL providers at the same time on the system, which this proposal is +# aimed at supporting. +# +# So we only install the legacy library for now. +NVIDIA_DRIVER_LIBS_GL = \ + libGLX.so.0 \ + libGL.so.$(NVIDIA_DRIVER_VERSION) \ + libGLX_nvidia.so.$(NVIDIA_DRIVER_VERSION) + +NVIDIA_DRIVER_LIBS_EGL = \ + libEGL.so.1.1.0 \ + libGLdispatch.so.0 \ + libEGL_nvidia.so.$(NVIDIA_DRIVER_VERSION) + +NVIDIA_DRIVER_LIBS_GLES = \ + libGLESv1_CM.so.1.2.0 \ + libGLESv2.so.2.1.0 \ + libGLESv1_CM_nvidia.so.$(NVIDIA_DRIVER_VERSION) \ + libGLESv2_nvidia.so.$(NVIDIA_DRIVER_VERSION) + +NVIDIA_DRIVER_LIBS_MISC = \ + libnvidia-eglcore.so.$(NVIDIA_DRIVER_VERSION) \ + libnvidia-egl-wayland.so.1.0.2 \ + libnvidia-glcore.so.$(NVIDIA_DRIVER_VERSION) \ + libnvidia-glsi.so.$(NVIDIA_DRIVER_VERSION) \ + tls/libnvidia-tls.so.$(NVIDIA_DRIVER_VERSION) \ + libvdpau_nvidia.so.$(NVIDIA_DRIVER_VERSION):vdpau/ \ + libnvidia-ml.so.$(NVIDIA_DRIVER_VERSION) + +NVIDIA_DRIVER_LIBS += \ + $(NVIDIA_DRIVER_LIBS_GL) \ + $(NVIDIA_DRIVER_LIBS_EGL) \ + $(NVIDIA_DRIVER_LIBS_GLES) \ + $(NVIDIA_DRIVER_LIBS_MISC) + +# Install the gl.pc file +define NVIDIA_DRIVER_INSTALL_GL_DEV + $(INSTALL) -D -m 0644 $(@D)/libGL.la $(STAGING_DIR)/usr/lib/libGL.la + $(SED) 's:__GENERATED_BY__:Buildroot:' $(STAGING_DIR)/usr/lib/libGL.la + $(SED) 's:__LIBGL_PATH__:/usr/lib:' $(STAGING_DIR)/usr/lib/libGL.la + $(SED) 's:-L[^[:space:]]\+::' $(STAGING_DIR)/usr/lib/libGL.la + $(INSTALL) -D -m 0644 package/nvidia-driver/gl.pc $(STAGING_DIR)/usr/lib/pkgconfig/gl.pc + $(INSTALL) -D -m 0644 package/nvidia-driver/egl.pc $(STAGING_DIR)/usr/lib/pkgconfig/egl.pc +endef + +# Those libraries are 'private' libraries requiring an agreement with +# NVidia to develop code for those libs. There seems to be no restriction +# on using those libraries (e.g. if the user has such an agreement, or +# wants to run a third-party program developed under such an agreement). +ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_PRIVATE_LIBS),y) +NVIDIA_DRIVER_LIBS += \ + libnvidia-ifr.so.$(NVIDIA_DRIVER_VERSION) \ + libnvidia-fbc.so.$(NVIDIA_DRIVER_VERSION) +endif + +# We refer to the destination path; the origin file has no directory component +NVIDIA_DRIVER_LIBS += \ + nvidia_drv.so:xorg/modules/drivers/ \ + libglx.so.$(NVIDIA_DRIVER_VERSION):xorg/modules/extensions/ + +# libglx needs a symlink according to the driver README. It has no SONAME +define NVIDIA_DRIVER_SYMLINK_LIBGLX + ln -sf libglx.so.$(NVIDIA_DRIVER_VERSION) \ + $(TARGET_DIR)/usr/lib/xorg/modules/extensions/libglx.so +endef + +endif # X drivers + +ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_CUDA),y) +NVIDIA_DRIVER_LIBS += \ + libcuda.so.$(NVIDIA_DRIVER_VERSION) \ + libnvidia-compiler.so.$(NVIDIA_DRIVER_VERSION) \ + libnvcuvid.so.$(NVIDIA_DRIVER_VERSION) \ + libnvidia-fatbinaryloader.so.$(NVIDIA_DRIVER_VERSION) \ + libnvidia-ptxjitcompiler.so.$(NVIDIA_DRIVER_VERSION) \ + libnvidia-encode.so.$(NVIDIA_DRIVER_VERSION) +ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_CUDA_PROGS),y) +NVIDIA_DRIVER_PROGS = nvidia-cuda-mps-control nvidia-cuda-mps-server +endif +endif + +ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_OPENCL),y) +NVIDIA_DRIVER_LIBS += \ + libOpenCL.so.1.0.0 \ + libnvidia-opencl.so.$(NVIDIA_DRIVER_VERSION) +NVIDIA_DRIVER_DEPENDENCIES += mesa3d-headers +NVIDIA_DRIVER_PROVIDES += libopencl +endif + +# Build and install the kernel modules if needed +ifeq ($(BR2_PACKAGE_NVIDIA_DRIVER_MODULE),y) + +NVIDIA_DRIVER_MODULES = nvidia nvidia-modeset nvidia-drm +ifeq ($(BR2_x86_64),y) +NVIDIA_DRIVER_MODULES += nvidia-uvm +endif + +# They can't do everything like everyone. They need those variables, +# because they don't recognise the usual variables set by the kernel +# build system. We also need to tell them what modules to build. +NVIDIA_DRIVER_MODULE_MAKE_OPTS = \ + NV_KERNEL_SOURCES="$(LINUX_DIR)" \ + NV_KERNEL_OUTPUT="$(LINUX_DIR)" \ + NV_KERNEL_MODULES="$(NVIDIA_DRIVER_MODULES)" + +NVIDIA_DRIVER_MODULE_SUBDIRS = kernel + +$(eval $(kernel-module)) + +endif # BR2_PACKAGE_NVIDIA_DRIVER_MODULE == y + +# The downloaded archive is in fact an auto-extract script. So, it can run +# virtually everywhere, and it is fine enough to provide useful options. +# Except it can't extract into an existing (even empty) directory. +define NVIDIA_DRIVER_EXTRACT_CMDS + $(SHELL) $(NVIDIA_DRIVER_DL_DIR)/$(NVIDIA_DRIVER_SOURCE) --extract-only --target \ + $(@D)/tmp-extract + chmod u+w -R $(@D) + mv $(@D)/tmp-extract/* $(@D)/tmp-extract/.manifest $(@D) + rm -rf $(@D)/tmp-extract +endef + +# Helper to install libraries +# $1: library name +# $2: target directory +# +# For all libraries, we install them and create a symlink using +# their SONAME, so we can link to them at runtime; we also create +# the no-version symlink, so we can link to them at build time. +define NVIDIA_DRIVER_INSTALL_LIB + $(INSTALL) -D -m 0644 $(@D)/$(1) $(2)$(notdir $(1)) + libsoname="$$( $(TARGET_READELF) -d "$(@D)/$(1)" \ + |sed -r -e '/.*\(SONAME\).*\[(.*)\]$$/!d; s//\1/;' )"; \ + if [ -n "$${libsoname}" -a "$${libsoname}" != "$(notdir $(1))" ]; then \ + ln -sf $(notdir $(1)) $(2)$${libsoname}; \ + fi + baseso=$(firstword $(subst .,$(space),$(notdir $(1)))).so; \ + if [ -n "$${baseso}" -a "$${baseso}" != "$(notdir $(1))" ]; then \ + ln -sf $(notdir $(1)) $(2)$${baseso}; \ + fi +endef + +# Helper to install libraries +# $1: destination directory (target or staging) +define NVIDIA_DRIVER_INSTALL_LIBS + $(foreach lib,$(NVIDIA_DRIVER_LIBS), + $(call NVIDIA_DRIVER_INSTALL_LIB,$(word 1,$(subst :, ,$(lib))), \ + $(1)/usr/lib/$(word 2,$(subst :, ,$(lib)))) + ) +endef + +# For staging, install libraries and development files +define NVIDIA_DRIVER_INSTALL_STAGING_CMDS + $(call NVIDIA_DRIVER_INSTALL_LIBS,$(STAGING_DIR)) + $(NVIDIA_DRIVER_INSTALL_GL_DEV) +endef + +# For target, install libraries and X.org modules +define NVIDIA_DRIVER_INSTALL_TARGET_CMDS + $(call NVIDIA_DRIVER_INSTALL_LIBS,$(TARGET_DIR)) + $(foreach p,$(NVIDIA_DRIVER_PROGS), \ + $(INSTALL) -D -m 0755 $(@D)/$(p) \ + $(TARGET_DIR)/usr/bin/$(p) + ) + $(NVIDIA_DRIVER_SYMLINK_LIBGLX) + $(NVIDIA_DRIVER_INSTALL_KERNEL_MODULE) +endef + +# Due to a conflict with xserver_xorg-server, this needs to be performed when +# finalizing the target filesystem to make sure this version is used. +NVIDIA_DRIVER_TARGET_FINALIZE_HOOKS += NVIDIA_DRIVER_SYMLINK_LIBGLX + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/nvidia-modprobe/Config.in b/buildroot-2022.02.1/package/nvidia-modprobe/Config.in similarity index 100% rename from buildroot-2021.05/package/nvidia-modprobe/Config.in rename to buildroot-2022.02.1/package/nvidia-modprobe/Config.in diff --git a/buildroot-2021.05/package/nvidia-modprobe/nvidia-modprobe.hash b/buildroot-2022.02.1/package/nvidia-modprobe/nvidia-modprobe.hash similarity index 100% rename from buildroot-2021.05/package/nvidia-modprobe/nvidia-modprobe.hash rename to buildroot-2022.02.1/package/nvidia-modprobe/nvidia-modprobe.hash diff --git a/buildroot-2021.05/package/nvidia-modprobe/nvidia-modprobe.mk b/buildroot-2022.02.1/package/nvidia-modprobe/nvidia-modprobe.mk similarity index 100% rename from buildroot-2021.05/package/nvidia-modprobe/nvidia-modprobe.mk rename to buildroot-2022.02.1/package/nvidia-modprobe/nvidia-modprobe.mk diff --git a/buildroot-2021.05/package/nvme/Config.in b/buildroot-2022.02.1/package/nvme/Config.in similarity index 100% rename from buildroot-2021.05/package/nvme/Config.in rename to buildroot-2022.02.1/package/nvme/Config.in diff --git a/buildroot-2021.05/package/nvme/nvme.hash b/buildroot-2022.02.1/package/nvme/nvme.hash similarity index 100% rename from buildroot-2021.05/package/nvme/nvme.hash rename to buildroot-2022.02.1/package/nvme/nvme.hash diff --git a/buildroot-2021.05/package/nvme/nvme.mk b/buildroot-2022.02.1/package/nvme/nvme.mk similarity index 100% rename from buildroot-2021.05/package/nvme/nvme.mk rename to buildroot-2022.02.1/package/nvme/nvme.mk diff --git a/buildroot-2021.05/package/obsidian-cursors/Config.in b/buildroot-2022.02.1/package/obsidian-cursors/Config.in similarity index 100% rename from buildroot-2021.05/package/obsidian-cursors/Config.in rename to buildroot-2022.02.1/package/obsidian-cursors/Config.in diff --git a/buildroot-2021.05/package/obsidian-cursors/obsidian-cursors.hash b/buildroot-2022.02.1/package/obsidian-cursors/obsidian-cursors.hash similarity index 100% rename from buildroot-2021.05/package/obsidian-cursors/obsidian-cursors.hash rename to buildroot-2022.02.1/package/obsidian-cursors/obsidian-cursors.hash diff --git a/buildroot-2021.05/package/obsidian-cursors/obsidian-cursors.mk b/buildroot-2022.02.1/package/obsidian-cursors/obsidian-cursors.mk similarity index 100% rename from buildroot-2021.05/package/obsidian-cursors/obsidian-cursors.mk rename to buildroot-2022.02.1/package/obsidian-cursors/obsidian-cursors.mk diff --git a/buildroot-2021.05/package/ocf-linux/ocf-linux.hash b/buildroot-2022.02.1/package/ocf-linux/ocf-linux.hash similarity index 100% rename from buildroot-2021.05/package/ocf-linux/ocf-linux.hash rename to buildroot-2022.02.1/package/ocf-linux/ocf-linux.hash diff --git a/buildroot-2021.05/package/ocf-linux/ocf-linux.mk b/buildroot-2022.02.1/package/ocf-linux/ocf-linux.mk similarity index 100% rename from buildroot-2021.05/package/ocf-linux/ocf-linux.mk rename to buildroot-2022.02.1/package/ocf-linux/ocf-linux.mk diff --git a/buildroot-2021.05/package/ocrad/Config.in b/buildroot-2022.02.1/package/ocrad/Config.in similarity index 100% rename from buildroot-2021.05/package/ocrad/Config.in rename to buildroot-2022.02.1/package/ocrad/Config.in diff --git a/buildroot-2021.05/package/ocrad/ocrad.hash b/buildroot-2022.02.1/package/ocrad/ocrad.hash similarity index 100% rename from buildroot-2021.05/package/ocrad/ocrad.hash rename to buildroot-2022.02.1/package/ocrad/ocrad.hash diff --git a/buildroot-2021.05/package/ocrad/ocrad.mk b/buildroot-2022.02.1/package/ocrad/ocrad.mk similarity index 100% rename from buildroot-2021.05/package/ocrad/ocrad.mk rename to buildroot-2022.02.1/package/ocrad/ocrad.mk diff --git a/buildroot-2021.05/package/odb/0001-tm.h-include-in-gcc.hxx-appears-to-be-no-longer-nece.patch b/buildroot-2022.02.1/package/odb/0001-tm.h-include-in-gcc.hxx-appears-to-be-no-longer-nece.patch similarity index 100% rename from buildroot-2021.05/package/odb/0001-tm.h-include-in-gcc.hxx-appears-to-be-no-longer-nece.patch rename to buildroot-2022.02.1/package/odb/0001-tm.h-include-in-gcc.hxx-appears-to-be-no-longer-nece.patch diff --git a/buildroot-2021.05/package/odb/0002-Remove-gratuitous-classes.patch b/buildroot-2022.02.1/package/odb/0002-Remove-gratuitous-classes.patch similarity index 100% rename from buildroot-2021.05/package/odb/0002-Remove-gratuitous-classes.patch rename to buildroot-2022.02.1/package/odb/0002-Remove-gratuitous-classes.patch diff --git a/buildroot-2021.05/package/odb/0003-Initial-work-to-make-ODB-compatible-with-GCC-6.patch b/buildroot-2022.02.1/package/odb/0003-Initial-work-to-make-ODB-compatible-with-GCC-6.patch similarity index 100% rename from buildroot-2021.05/package/odb/0003-Initial-work-to-make-ODB-compatible-with-GCC-6.patch rename to buildroot-2022.02.1/package/odb/0003-Initial-work-to-make-ODB-compatible-with-GCC-6.patch diff --git a/buildroot-2021.05/package/odb/0004-Make-compilable-with-GCC-6-in-C-14-mode.patch b/buildroot-2022.02.1/package/odb/0004-Make-compilable-with-GCC-6-in-C-14-mode.patch similarity index 100% rename from buildroot-2021.05/package/odb/0004-Make-compilable-with-GCC-6-in-C-14-mode.patch rename to buildroot-2022.02.1/package/odb/0004-Make-compilable-with-GCC-6-in-C-14-mode.patch diff --git a/buildroot-2021.05/package/odb/0005-Fix-bug-in-GCC-6-input_location-translation.patch b/buildroot-2022.02.1/package/odb/0005-Fix-bug-in-GCC-6-input_location-translation.patch similarity index 100% rename from buildroot-2021.05/package/odb/0005-Fix-bug-in-GCC-6-input_location-translation.patch rename to buildroot-2022.02.1/package/odb/0005-Fix-bug-in-GCC-6-input_location-translation.patch diff --git a/buildroot-2021.05/package/odb/0006-Adapt-to-changes-in-GCC-8.patch b/buildroot-2022.02.1/package/odb/0006-Adapt-to-changes-in-GCC-8.patch similarity index 100% rename from buildroot-2021.05/package/odb/0006-Adapt-to-changes-in-GCC-8.patch rename to buildroot-2022.02.1/package/odb/0006-Adapt-to-changes-in-GCC-8.patch diff --git a/buildroot-2021.05/package/odb/0007-Switch-to-C-11-get-rid-of-auto_ptr-use.patch b/buildroot-2022.02.1/package/odb/0007-Switch-to-C-11-get-rid-of-auto_ptr-use.patch similarity index 100% rename from buildroot-2021.05/package/odb/0007-Switch-to-C-11-get-rid-of-auto_ptr-use.patch rename to buildroot-2022.02.1/package/odb/0007-Switch-to-C-11-get-rid-of-auto_ptr-use.patch diff --git a/buildroot-2021.05/package/odb/0008-Fix-GCC-8-adaptation-to-be-compatible-with-previous-.patch b/buildroot-2022.02.1/package/odb/0008-Fix-GCC-8-adaptation-to-be-compatible-with-previous-.patch similarity index 100% rename from buildroot-2021.05/package/odb/0008-Fix-GCC-8-adaptation-to-be-compatible-with-previous-.patch rename to buildroot-2022.02.1/package/odb/0008-Fix-GCC-8-adaptation-to-be-compatible-with-previous-.patch diff --git a/buildroot-2021.05/package/odb/0009-Handle-namespace-aliases-when-parsing-GCC-tree.patch b/buildroot-2022.02.1/package/odb/0009-Handle-namespace-aliases-when-parsing-GCC-tree.patch similarity index 100% rename from buildroot-2021.05/package/odb/0009-Handle-namespace-aliases-when-parsing-GCC-tree.patch rename to buildroot-2022.02.1/package/odb/0009-Handle-namespace-aliases-when-parsing-GCC-tree.patch diff --git a/buildroot-2021.05/package/odb/0010-Add-initial-support-for-GCC-9.patch b/buildroot-2022.02.1/package/odb/0010-Add-initial-support-for-GCC-9.patch similarity index 100% rename from buildroot-2021.05/package/odb/0010-Add-initial-support-for-GCC-9.patch rename to buildroot-2022.02.1/package/odb/0010-Add-initial-support-for-GCC-9.patch diff --git a/buildroot-2021.05/package/odb/0011-Adjust-to-changes-in-GCC-10.patch b/buildroot-2022.02.1/package/odb/0011-Adjust-to-changes-in-GCC-10.patch similarity index 100% rename from buildroot-2021.05/package/odb/0011-Adjust-to-changes-in-GCC-10.patch rename to buildroot-2022.02.1/package/odb/0011-Adjust-to-changes-in-GCC-10.patch diff --git a/buildroot-2022.02.1/package/odb/0012-Adjust-to-changes-in-GCC-11.patch b/buildroot-2022.02.1/package/odb/0012-Adjust-to-changes-in-GCC-11.patch new file mode 100644 index 00000000..2959a71d --- /dev/null +++ b/buildroot-2022.02.1/package/odb/0012-Adjust-to-changes-in-GCC-11.patch @@ -0,0 +1,50 @@ +From 5a5656920c6b49902ae0da6a0da84efe6e5a66f0 Mon Sep 17 00:00:00 2001 +From: Boris Kolpackov +Date: Wed, 31 Mar 2021 10:45:21 +0200 +Subject: [PATCH] Adjust to changes in GCC 11 + +[Upstream: 61d80f051293a7449a09081f60f48b8377bfbbad] +Signed-off-by: Thomas Petazzoni +--- + odb/gcc.hxx | 20 ++++++++++++++++++++ + 1 file changed, 20 insertions(+) + +diff --git a/odb/gcc.hxx b/odb/gcc.hxx +index fb6a1bf..d8ad590 100644 +--- a/odb/gcc.hxx ++++ b/odb/gcc.hxx +@@ -164,6 +164,7 @@ gcc_tree_code_name (gcc_tree_code_type tc) {return tree_code_name[tc];} + // In GCC 9: + // + // INCLUDED_FROM Became linemap_included_from_linemap(). ++// + // LAST_SOURCE_LINE Was removed apparently as no longer used. Studying + // the line-map.h diff from 8.3 suggests that the old + // implementation should still work. +@@ -193,4 +194,23 @@ LAST_SOURCE_LINE (const line_map_ordinary* map) + + #endif + ++// In GCC 11: ++// ++// lookup_qualified_name() has a new interface. ++// ++// DECL_IS_BUILTIN became DECL_IS_UNDECLARED_BUILTIN. ++// ++#if BUILDING_GCC_MAJOR >= 11 ++ ++inline tree ++lookup_qualified_name (tree scope, tree name, bool type, bool complain) ++{ ++ return lookup_qualified_name ( ++ scope, name, (type ? LOOK_want::TYPE : LOOK_want::NORMAL), complain); ++} ++ ++#define DECL_IS_BUILTIN(decl) DECL_IS_UNDECLARED_BUILTIN(decl) ++ ++#endif ++ + #endif // ODB_GCC_HXX +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/odb/0013-Resolve-name-lookup-ambiguity-causing-error-with-GCC.patch b/buildroot-2022.02.1/package/odb/0013-Resolve-name-lookup-ambiguity-causing-error-with-GCC.patch new file mode 100644 index 00000000..79c3d982 --- /dev/null +++ b/buildroot-2022.02.1/package/odb/0013-Resolve-name-lookup-ambiguity-causing-error-with-GCC.patch @@ -0,0 +1,68 @@ +From 60460df2a6d7b43a860a8f8b614c049ec0127ea8 Mon Sep 17 00:00:00 2001 +From: Boris Kolpackov +Date: Wed, 7 Jul 2021 09:26:57 +0200 +Subject: [PATCH] Resolve name lookup ambiguity causing error with GCC 11 + +[Upstream: 47035c0f72efd99a2210cd45db6e42423fb74533] +Signed-off-by: Thomas Petazzoni +--- + odb/relational/header.hxx | 2 ++ + odb/relational/source.hxx | 8 ++++++++ + 2 files changed, 10 insertions(+) + +diff --git a/odb/relational/header.hxx b/odb/relational/header.hxx +index 63dea09..d7f78fa 100644 +--- a/odb/relational/header.hxx ++++ b/odb/relational/header.hxx +@@ -50,6 +50,8 @@ namespace relational + + typedef typename member_base_impl::member_info member_info; + ++ using member_base_impl::container; ++ + virtual bool + pre (member_info& mi) + { +diff --git a/odb/relational/source.hxx b/odb/relational/source.hxx +index 716aa10..7da25fc 100644 +--- a/odb/relational/source.hxx ++++ b/odb/relational/source.hxx +@@ -1360,6 +1360,8 @@ namespace relational + + typedef typename member_base_impl::member_info member_info; + ++ using member_base_impl::container; ++ + virtual bool + pre (member_info& mi) + { +@@ -1744,6 +1746,8 @@ namespace relational + + typedef typename member_base_impl::member_info member_info; + ++ using member_base_impl::container; ++ + virtual bool + pre (member_info& mi) + { +@@ -2007,6 +2011,8 @@ namespace relational + + typedef typename member_base_impl::member_info member_info; + ++ using member_base_impl::container; ++ + virtual void + set_null (member_info&) = 0; + +@@ -2458,6 +2464,8 @@ namespace relational + + typedef typename member_base_impl::member_info member_info; + ++ using member_base_impl::container; ++ + virtual void + get_null (string const& var) const = 0; + +-- +2.34.1 + diff --git a/buildroot-2021.05/package/odb/Config.in.host b/buildroot-2022.02.1/package/odb/Config.in.host similarity index 100% rename from buildroot-2021.05/package/odb/Config.in.host rename to buildroot-2022.02.1/package/odb/Config.in.host diff --git a/buildroot-2021.05/package/odb/odb.hash b/buildroot-2022.02.1/package/odb/odb.hash similarity index 100% rename from buildroot-2021.05/package/odb/odb.hash rename to buildroot-2022.02.1/package/odb/odb.hash diff --git a/buildroot-2022.02.1/package/odb/odb.mk b/buildroot-2022.02.1/package/odb/odb.mk new file mode 100644 index 00000000..a2340699 --- /dev/null +++ b/buildroot-2022.02.1/package/odb/odb.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# odb +# +################################################################################ + +ODB_VERSION_MAJOR = 2.4 +ODB_VERSION = $(ODB_VERSION_MAJOR).0 +ODB_SOURCE = odb-$(ODB_VERSION).tar.bz2 +ODB_SITE = https://www.codesynthesis.com/download/odb/$(ODB_VERSION_MAJOR) +ODB_LICENSE = GPL-3.0 +ODB_LICENSE_FILES = LICENSE +# host-libodb is not needed to build host-odb, but it is needed to use +# the ODB compiler, as it install header files that are needed at +# runtime by the odb compiler. +HOST_ODB_DEPENDENCIES = host-libcutl host-libodb +ifeq ($(BR2_PACKAGE_LIBODB_BOOST),y) +HOST_ODB_DEPENDENCIES += host-libodb-boost +endif +HOST_ODB_CONF_ENV = CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11" + +# Prevent odb from trying to install the gcc plugin into the hosts +# gcc plugin directory. Instead, this will install the gcc plugin +# into host/libexec/odb +HOST_ODB_CONF_OPTS = --with-gcc-plugin-dir=no + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/odhcp6c/Config.in b/buildroot-2022.02.1/package/odhcp6c/Config.in similarity index 100% rename from buildroot-2021.05/package/odhcp6c/Config.in rename to buildroot-2022.02.1/package/odhcp6c/Config.in diff --git a/buildroot-2021.05/package/odhcp6c/odhcp6c.hash b/buildroot-2022.02.1/package/odhcp6c/odhcp6c.hash similarity index 100% rename from buildroot-2021.05/package/odhcp6c/odhcp6c.hash rename to buildroot-2022.02.1/package/odhcp6c/odhcp6c.hash diff --git a/buildroot-2021.05/package/odhcp6c/odhcp6c.mk b/buildroot-2022.02.1/package/odhcp6c/odhcp6c.mk similarity index 100% rename from buildroot-2021.05/package/odhcp6c/odhcp6c.mk rename to buildroot-2022.02.1/package/odhcp6c/odhcp6c.mk diff --git a/buildroot-2021.05/package/odhcploc/Config.in b/buildroot-2022.02.1/package/odhcploc/Config.in similarity index 100% rename from buildroot-2021.05/package/odhcploc/Config.in rename to buildroot-2022.02.1/package/odhcploc/Config.in diff --git a/buildroot-2021.05/package/odhcploc/odhcploc.hash b/buildroot-2022.02.1/package/odhcploc/odhcploc.hash similarity index 100% rename from buildroot-2021.05/package/odhcploc/odhcploc.hash rename to buildroot-2022.02.1/package/odhcploc/odhcploc.hash diff --git a/buildroot-2021.05/package/odhcploc/odhcploc.mk b/buildroot-2022.02.1/package/odhcploc/odhcploc.mk similarity index 100% rename from buildroot-2021.05/package/odhcploc/odhcploc.mk rename to buildroot-2022.02.1/package/odhcploc/odhcploc.mk diff --git a/buildroot-2021.05/package/odroidc2-firmware/Config.in b/buildroot-2022.02.1/package/odroidc2-firmware/Config.in similarity index 100% rename from buildroot-2021.05/package/odroidc2-firmware/Config.in rename to buildroot-2022.02.1/package/odroidc2-firmware/Config.in diff --git a/buildroot-2021.05/package/odroidc2-firmware/odroidc2-firmware.hash b/buildroot-2022.02.1/package/odroidc2-firmware/odroidc2-firmware.hash similarity index 100% rename from buildroot-2021.05/package/odroidc2-firmware/odroidc2-firmware.hash rename to buildroot-2022.02.1/package/odroidc2-firmware/odroidc2-firmware.hash diff --git a/buildroot-2021.05/package/odroidc2-firmware/odroidc2-firmware.mk b/buildroot-2022.02.1/package/odroidc2-firmware/odroidc2-firmware.mk similarity index 100% rename from buildroot-2021.05/package/odroidc2-firmware/odroidc2-firmware.mk rename to buildroot-2022.02.1/package/odroidc2-firmware/odroidc2-firmware.mk diff --git a/buildroot-2021.05/package/ofono/0001-uclibc-backtrace.patch b/buildroot-2022.02.1/package/ofono/0001-uclibc-backtrace.patch similarity index 100% rename from buildroot-2021.05/package/ofono/0001-uclibc-backtrace.patch rename to buildroot-2022.02.1/package/ofono/0001-uclibc-backtrace.patch diff --git a/buildroot-2021.05/package/ofono/0002-fix-musl-compile.patch b/buildroot-2022.02.1/package/ofono/0002-fix-musl-compile.patch similarity index 100% rename from buildroot-2021.05/package/ofono/0002-fix-musl-compile.patch rename to buildroot-2022.02.1/package/ofono/0002-fix-musl-compile.patch diff --git a/buildroot-2021.05/package/ofono/Config.in b/buildroot-2022.02.1/package/ofono/Config.in similarity index 100% rename from buildroot-2021.05/package/ofono/Config.in rename to buildroot-2022.02.1/package/ofono/Config.in diff --git a/buildroot-2021.05/package/ofono/S46ofono b/buildroot-2022.02.1/package/ofono/S46ofono similarity index 100% rename from buildroot-2021.05/package/ofono/S46ofono rename to buildroot-2022.02.1/package/ofono/S46ofono diff --git a/buildroot-2022.02.1/package/ofono/ofono.hash b/buildroot-2022.02.1/package/ofono/ofono.hash new file mode 100644 index 00000000..7edef0eb --- /dev/null +++ b/buildroot-2022.02.1/package/ofono/ofono.hash @@ -0,0 +1,4 @@ +# From https://www.kernel.org/pub/linux/network/ofono/sha256sums.asc +sha256 c0b96d3013447ec2bcb74579bef90e4e59c68dbfa4b9c6fbce5d12401a43aac7 ofono-1.34.tar.xz +# Locally computed +sha256 e6d6a009505e345fe949e1310334fcb0747f28dae2856759de102ab66b722cb4 COPYING diff --git a/buildroot-2022.02.1/package/ofono/ofono.mk b/buildroot-2022.02.1/package/ofono/ofono.mk new file mode 100644 index 00000000..b7a2a923 --- /dev/null +++ b/buildroot-2022.02.1/package/ofono/ofono.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# ofono +# +################################################################################ + +OFONO_VERSION = 1.34 +OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz +OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono +OFONO_LICENSE = GPL-2.0 +OFONO_LICENSE_FILES = COPYING +OFONO_DEPENDENCIES = \ + host-pkgconf \ + dbus \ + ell \ + libcap-ng \ + libglib2 \ + mobile-broadband-provider-info + +OFONO_CONF_OPTS = \ + --enable-external-ell \ + --disable-test \ + --with-dbusconfdir=/etc \ + $(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system) + +# N.B. Qualcomm QMI modem support requires O_CLOEXEC; so +# make sure that it is defined. +OFONO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" + +define OFONO_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/ofono/S46ofono $(TARGET_DIR)/etc/init.d/S46ofono +endef + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +OFONO_CONF_OPTS += --enable-udev +OFONO_DEPENDENCIES += udev +else +OFONO_CONF_OPTS += --disable-udev +endif + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) +OFONO_CONF_OPTS += --enable-bluetooth +OFONO_DEPENDENCIES += bluez5_utils +else +OFONO_CONF_OPTS += --disable-bluetooth +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/ogre/Config.in b/buildroot-2022.02.1/package/ogre/Config.in new file mode 100644 index 00000000..7d57d3f8 --- /dev/null +++ b/buildroot-2022.02.1/package/ogre/Config.in @@ -0,0 +1,42 @@ +config BR2_PACKAGE_OGRE + bool "ogre" + depends on BR2_PACKAGE_HAS_LIBGL # libglu + depends on BR2_PACKAGE_XORG7 + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU + depends on BR2_USE_WCHAR # use wchar_t + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_LIBFREEIMAGE + select BR2_PACKAGE_PUGIXML + select BR2_PACKAGE_SDL2 + select BR2_PACKAGE_SDL2_OPENGL + select BR2_PACKAGE_SDL2_X11 # use wmInfo.info.x11 + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXAW + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXRANDR + select BR2_PACKAGE_ZZIPLIB + help + OGRE is a scene-oriented, flexible 3D engine written in C++ + designed to make it easier and more intuitive for developers + to produce games and demos utilising 3D hardware. The class + library abstracts all the details of using the underlying + system libraries like Direct3D and OpenGL and provides an + interface based on world objects and other intuitive classes. + + https://ogrecave.github.io/ogre + +comment "ogre needs X11 and an OpenGL provider" + depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7 + depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ + && BR2_INSTALL_LIBSTDCPP && !BR2_STATIC_LIBS && BR2_USE_WCHAR + depends on BR2_USE_MMU + +comment "ogre needs a toolchain w/ C++, dynamic library, gcc >= 4.8, threads, wchar" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_USE_WCHAR + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/ogre/ogre.hash b/buildroot-2022.02.1/package/ogre/ogre.hash new file mode 100644 index 00000000..0028a4b9 --- /dev/null +++ b/buildroot-2022.02.1/package/ogre/ogre.hash @@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 805b97aacd2070f19394fe92442307a7ba6036ad95c511f551817d694c8dea37 ogre-v1.12.12-br1.tar.gz +sha256 82758e8d1d72139904b9b7472ef0f6544413d2871b58540307fdcc20e473e5f8 LICENSE diff --git a/buildroot-2022.02.1/package/ogre/ogre.mk b/buildroot-2022.02.1/package/ogre/ogre.mk new file mode 100644 index 00000000..3fd2fc46 --- /dev/null +++ b/buildroot-2022.02.1/package/ogre/ogre.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# ogre +# +################################################################################ + +OGRE_VERSION = v1.12.12 +OGRE_SITE = https://github.com/OGRECave/ogre +OGRE_SITE_METHOD = git +OGRE_LICENSE = MIT (main library, DeferredShadingMedia samples), Public Domain (samples and plugins) +OGRE_LICENSE_FILES = LICENSE +OGRE_INSTALL_STAGING = YES + +# Download with imgui submodule (https://github.com/ocornut/imgui +OGRE_GIT_SUBMODULES = YES + +OGRE_DEPENDENCIES = host-pkgconf \ + freetype \ + libfreeimage \ + libgl \ + pugixml \ + sdl2 \ + xlib_libX11 \ + xlib_libXaw \ + xlib_libXext \ + xlib_libXrandr \ + zziplib + +OGRE_CFLAGS = $(TARGET_CFLAGS) -DGLEW_NO_GLU +OGRE_CXXFLAGS = $(TARGET_CXXFLAGS) -DGLEW_NO_GLU + +# Unbundle freetype and zziplib. +# Disable java and nvidia cg support. +# Disable imgui overlay to avoid extra download from CMake. +OGRE_CONF_OPTS = -DOGRE_BUILD_DEPENDENCIES=OFF \ + -DOGRE_BUILD_COMPONENT_CSHARP=OFF \ + -DOGRE_BUILD_COMPONENT_JAVA=OFF \ + -DOGRE_BUILD_PLUGIN_CG=OFF \ + -DOGRE_BUILD_COMPONENT_OVERLAY_IMGUI=OFF \ + -DOGRE_INSTALL_DOCS=OFF \ + -DCMAKE_C_FLAGS="$(OGRE_CFLAGS)" \ + -DCMAKE_CXX_FLAGS="$(OGRE_CXXFLAGS)" + +# Enable optional python component if python interpreter is present on the target. +ifeq ($(BR2_PACKAGE_PYTHON3),y) +OGRE_DEPENDENCIES += host-swig host-python3 +OGRE_CONF_OPTS += -DOGRE_BUILD_COMPONENT_PYTHON=ON +else +OGRE_CONF_OPTS += -DOGRE_BUILD_COMPONENT_PYTHON=OFF +endif + +# Uses __atomic_fetch_add_8 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +OGRE_CXXFLAGS += -latomic +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch b/buildroot-2022.02.1/package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch similarity index 100% rename from buildroot-2021.05/package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch rename to buildroot-2022.02.1/package/olsr/0001-olsrd-migrate-to-using-bison-3.7.1.patch diff --git a/buildroot-2021.05/package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch b/buildroot-2022.02.1/package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch similarity index 100% rename from buildroot-2021.05/package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch rename to buildroot-2022.02.1/package/olsr/0002-lib-pud-Makefile-fix-parallel-build.patch diff --git a/buildroot-2021.05/package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch b/buildroot-2022.02.1/package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch similarity index 100% rename from buildroot-2021.05/package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch rename to buildroot-2022.02.1/package/olsr/0003-pud-adapt-to-API-changes-in-gpsd-3-20.patch diff --git a/buildroot-2022.02.1/package/olsr/0004-pud-adapt-gpsdclient.c-to-new-gpsd-3.21.patch b/buildroot-2022.02.1/package/olsr/0004-pud-adapt-gpsdclient.c-to-new-gpsd-3.21.patch new file mode 100644 index 00000000..80013439 --- /dev/null +++ b/buildroot-2022.02.1/package/olsr/0004-pud-adapt-gpsdclient.c-to-new-gpsd-3.21.patch @@ -0,0 +1,35 @@ +From 2f9ee6079b20fb5d3884472825a40c5c65550fa2 Mon Sep 17 00:00:00 2001 +From: Nick Hainke +Date: Sun, 30 May 2021 19:13:48 +0200 +Subject: [PATCH] pud: adapt gpsdclient.c to new gpsd 3.21 + +As mentioned: +"Move gps_data_t->status to gps_fix_t.status for better fix merging" +https://gitlab.com/gpsd/gpsd/-/commit/29991d6ffeb41ecfc8297db68bb68be0128c8514 + +Signed-off-by: Nick Hainke +Upstream: 79a28cdb4083b66c5d3a5f9c0d70dbdc86c0420c +Signed-off-by: Thomas Petazzoni +--- + lib/pud/src/gpsdclient.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/lib/pud/src/gpsdclient.c b/lib/pud/src/gpsdclient.c +index 2a7a26ee..a2a9cee0 100644 +--- a/lib/pud/src/gpsdclient.c ++++ b/lib/pud/src/gpsdclient.c +@@ -370,7 +370,11 @@ void nmeaInfoFromGpsd(struct gps_data_t *gpsdata, NmeaInfo *info, struct GpsdCon + ); + + gpsdata->set &= ~STATUS_SET; /* always valid */ ++ #if GPSD_API_MAJOR_VERSION >= 10 ++ if (gpsdata->fix.status == STATUS_NO_FIX) { ++ #else + if (gpsdata->status == STATUS_NO_FIX) { ++ #endif + nmeaInfoClear(info); + nmeaTimeSet(&info->utc, &info->present, NULL); + return; +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/olsr/0005-lib-pud-src-gpsdclient.c-drop-handling-of-gpsdata-fi.patch b/buildroot-2022.02.1/package/olsr/0005-lib-pud-src-gpsdclient.c-drop-handling-of-gpsdata-fi.patch new file mode 100644 index 00000000..7ea3fbad --- /dev/null +++ b/buildroot-2022.02.1/package/olsr/0005-lib-pud-src-gpsdclient.c-drop-handling-of-gpsdata-fi.patch @@ -0,0 +1,49 @@ +From 665051a845464c0f95edb81432104dac39426f79 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 6 Nov 2021 15:50:58 +0100 +Subject: [PATCH] lib/pud/src/gpsdclient.c: drop handling of + gpsdata->fix.status + +Here is an extract of https://gpsd.gitlab.io/gpsd/gpsd_json.html: + +The optional "status" field (aka fix type), is a modifier (adjective) to +mode. It is not a replacement for, or superset of, the "mode" field. It +is almost, but not quite, the same as the NMEA 4.x xxGGA GPS Quality +Indicator Values. Many GNSS receivers do not supply it. Those that do +interpret the specification in various incompatible ways. + +So status field is optional and STATUS_NO_FIX has been explicitly +renamed into STATUS_UNK to avoid confusion with MODE_NO_FIX (which is +already handled by gpsdclient.c) so drop the if block to fix the build +failure with gpsd >= 3.23.1. + +Signed-off-by: Fabrice Fontaine +[Upstream: https://github.com/OLSR/olsrd/commit/665051a845464c0f95edb81432104dac39426f79] +Signed-off-by: Peter Seiderer +--- + lib/pud/src/gpsdclient.c | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/lib/pud/src/gpsdclient.c b/lib/pud/src/gpsdclient.c +index a2a9cee0..d448867d 100644 +--- a/lib/pud/src/gpsdclient.c ++++ b/lib/pud/src/gpsdclient.c +@@ -370,15 +370,6 @@ void nmeaInfoFromGpsd(struct gps_data_t *gpsdata, NmeaInfo *info, struct GpsdCon + ); + + gpsdata->set &= ~STATUS_SET; /* always valid */ +- #if GPSD_API_MAJOR_VERSION >= 10 +- if (gpsdata->fix.status == STATUS_NO_FIX) { +- #else +- if (gpsdata->status == STATUS_NO_FIX) { +- #endif +- nmeaInfoClear(info); +- nmeaTimeSet(&info->utc, &info->present, NULL); +- return; +- } + + if (!gpsdata->set) { + return; +-- +2.33.1 + diff --git a/buildroot-2021.05/package/olsr/Config.in b/buildroot-2022.02.1/package/olsr/Config.in similarity index 100% rename from buildroot-2021.05/package/olsr/Config.in rename to buildroot-2022.02.1/package/olsr/Config.in diff --git a/buildroot-2021.05/package/olsr/S50olsr b/buildroot-2022.02.1/package/olsr/S50olsr similarity index 100% rename from buildroot-2021.05/package/olsr/S50olsr rename to buildroot-2022.02.1/package/olsr/S50olsr diff --git a/buildroot-2021.05/package/olsr/olsr.hash b/buildroot-2022.02.1/package/olsr/olsr.hash similarity index 100% rename from buildroot-2021.05/package/olsr/olsr.hash rename to buildroot-2022.02.1/package/olsr/olsr.hash diff --git a/buildroot-2022.02.1/package/olsr/olsr.mk b/buildroot-2022.02.1/package/olsr/olsr.mk new file mode 100644 index 00000000..4ad88991 --- /dev/null +++ b/buildroot-2022.02.1/package/olsr/olsr.mk @@ -0,0 +1,60 @@ +################################################################################ +# +# olsr +# +################################################################################ + +OLSR_VERSION = 0.9.8 +OLSR_SITE = $(call github,OLSR,olsrd,v$(OLSR_VERSION)) +OLSR_PLUGINS = arprefresh bmf dot_draw dyn_gw dyn_gw_plain httpinfo jsoninfo \ + mdns nameservice netjson poprouting p2pd pgraph secure txtinfo watchdog +# Doesn't really need quagga but not very useful without it +OLSR_PLUGINS += $(if $(BR2_PACKAGE_QUAGGA),quagga) +OLSR_LICENSE = BSD-3-Clause +OLSR_LICENSE_FILES = license.txt +OLSR_DEPENDENCIES = host-flex host-bison + +OLSR_CFLAGS = $(TARGET_CFLAGS) + +# it needs -fPIC to link on lot of architectures +OLSR_CFLAGS += -fPIC + +ifeq ($(BR2_PACKAGE_GPSD),y) +OLSR_LICENSE += , LGPL-2.1+ (nmealib) +OLSR_LICENSE_FILES += lib/pud/nmealib/LICENSE +OLSR_DEPENDENCIES += gpsd +OLSR_PLUGINS += pud +endif + +define OLSR_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) ARCH=$(NORMALIZED_ARCH) \ + CFLAGS="$(OLSR_CFLAGS)" -C $(@D) olsrd + $(foreach p,$(OLSR_PLUGINS), \ + $(TARGET_CONFIGURE_OPTS) $(MAKE) ARCH=$(NORMALIZED_ARCH) \ + CFLAGS="$(OLSR_CFLAGS)" -C $(@D)/lib/$(p) + ) +endef + +define OLSR_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) \ + prefix="/usr" install_bin + $(foreach p,$(OLSR_PLUGINS), \ + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/lib/$(p) \ + LDCONFIG=/bin/true DESTDIR=$(TARGET_DIR) \ + prefix="/usr" install + ) + $(INSTALL) -D -m 0644 $(@D)/files/olsrd.conf.default.lq \ + $(TARGET_DIR)/etc/olsrd/olsrd.conf +endef + +define OLSR_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/olsr/S50olsr \ + $(TARGET_DIR)/etc/init.d/S50olsr +endef + +define OLSR_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/olsr/olsr.service \ + $(TARGET_DIR)/usr/lib/systemd/system/olsr.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/olsr/olsr.service b/buildroot-2022.02.1/package/olsr/olsr.service similarity index 100% rename from buildroot-2021.05/package/olsr/olsr.service rename to buildroot-2022.02.1/package/olsr/olsr.service diff --git a/buildroot-2021.05/package/omap-u-boot-utils/Config.in.host b/buildroot-2022.02.1/package/omap-u-boot-utils/Config.in.host similarity index 100% rename from buildroot-2021.05/package/omap-u-boot-utils/Config.in.host rename to buildroot-2022.02.1/package/omap-u-boot-utils/Config.in.host diff --git a/buildroot-2021.05/package/omap-u-boot-utils/omap-u-boot-utils.hash b/buildroot-2022.02.1/package/omap-u-boot-utils/omap-u-boot-utils.hash similarity index 100% rename from buildroot-2021.05/package/omap-u-boot-utils/omap-u-boot-utils.hash rename to buildroot-2022.02.1/package/omap-u-boot-utils/omap-u-boot-utils.hash diff --git a/buildroot-2021.05/package/omap-u-boot-utils/omap-u-boot-utils.mk b/buildroot-2022.02.1/package/omap-u-boot-utils/omap-u-boot-utils.mk similarity index 100% rename from buildroot-2021.05/package/omap-u-boot-utils/omap-u-boot-utils.mk rename to buildroot-2022.02.1/package/omap-u-boot-utils/omap-u-boot-utils.mk diff --git a/buildroot-2021.05/package/omniorb/Config.in b/buildroot-2022.02.1/package/omniorb/Config.in similarity index 100% rename from buildroot-2021.05/package/omniorb/Config.in rename to buildroot-2022.02.1/package/omniorb/Config.in diff --git a/buildroot-2022.02.1/package/omniorb/omniorb.hash b/buildroot-2022.02.1/package/omniorb/omniorb.hash new file mode 100644 index 00000000..f522c1ef --- /dev/null +++ b/buildroot-2022.02.1/package/omniorb/omniorb.hash @@ -0,0 +1,8 @@ +# From https://sourceforge.net/projects/omniorb/files/omniORB/omniORB-4.3.0/ +sha1 c3f12c2278f8c4603910c02c8fe892c1dde7217e omniORB-4.3.0.tar.bz2 +md5 8889ab13b444b495ca2c2b48ea6a6bd7 omniORB-4.3.0.tar.bz2 + +# Locally generated +sha256 976045a2341f4e9a85068b21f4bd928993292933eeecefea372db09e0219eadd omniORB-4.3.0.tar.bz2 +sha256 126647a6ee062fe46f8f3766965dc62e031c0a31238a347e4bc07aab2ac1e2a7 COPYING +sha256 eaf5b13ffd5355da7c0b83074e4b798152ff7086c95c4f3045122a06e2673eb9 COPYING.LIB diff --git a/buildroot-2022.02.1/package/omniorb/omniorb.mk b/buildroot-2022.02.1/package/omniorb/omniorb.mk new file mode 100644 index 00000000..b44ec53f --- /dev/null +++ b/buildroot-2022.02.1/package/omniorb/omniorb.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# omniorb +# +################################################################################ + +OMNIORB_VERSION = 4.3.0 +OMNIORB_SITE = http://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-$(OMNIORB_VERSION) +OMNIORB_SOURCE = omniORB-$(OMNIORB_VERSION).tar.bz2 +OMNIORB_INSTALL_STAGING = YES +OMNIORB_LICENSE = GPL2+, LGPL-2.1+ +OMNIORB_LICENSE_FILES = COPYING COPYING.LIB +OMNIORB_DEPENDENCIES = host-omniorb +HOST_OMNIORB_DEPENDENCIES = host-python3 + +# Defaulting long double support to a safe option for the +# mix of embedded targets, this could later be automated +# based on checking the capability of the cross toolchain +# for "__LONG_DOUBLE_128__". Currently the host and target +# need to match because of the code generation done by the +# host tools during the target compile (ie headers generated +# on host are used in target build). +OMNIORB_CONF_OPTS += --disable-longdouble +HOST_OMNIORB_CONF_OPTS += --disable-longdouble + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +OMNIORB_CONF_OPTS += --with-openssl +OMNIORB_DEPENDENCIES += openssl +else +OMNIORB_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +OMNIORB_DEPENDENCIES += zlib +endif + +# The EmbeddedSystem define (set below in OMNIORB_ADJUST_TOOLDIR) +# enables building of just the lib and disables building of +# tools/apps/services. In some cases the apps/services are still +# required. The tools however are host related and should never +# be required on target. +define OMNIORB_ENABLE_EXTRA_APPS + $(SED) 's:SUBDIRS += lib:SUBDIRS += lib appl services:g' $(@D)/src/dir.mk +endef + +ifeq ($(BR2_PACKAGE_OMNIORB_WITH_APPS),y) +OMNIORB_POST_PATCH_HOOKS += OMNIORB_ENABLE_EXTRA_APPS +endif + +ifeq ($(BR2_STATIC_LIBS),y) +define OMNIORB_DISABLE_SHARED + echo "BuildSharedLibrary =" >> $(@D)/mk/beforeauto.mk +endef +OMNIORB_POST_CONFIGURE_HOOKS += OMNIORB_DISABLE_SHARED +endif + +# omniORB is not completely cross-compile friendly and has some +# assumptions where a couple host tools must be built and then +# used by the target build. The host tools generate code from +# the IDL description language, which is then built into the +# cross compiled target OMNIORB application. +define OMNIORB_ADJUST_TOOLDIR + # Point to the host folder to get HOST_OMNIORB tools + $(SED) 's:TOOLBINDIR = $$(TOP)/$$(BINDIR):TOOLBINDIR = $(HOST_DIR)/bin:g' $(@D)/mk/beforeauto.mk + # Disables OMNIORB app/service/tool building + echo "EmbeddedSystem=1" >> $(@D)/mk/beforeauto.mk +endef +OMNIORB_POST_CONFIGURE_HOOKS += OMNIORB_ADJUST_TOOLDIR + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/omxplayer/0001-Update-Makefile-to-be-compatible-with-buildroot.patch b/buildroot-2022.02.1/package/omxplayer/0001-Update-Makefile-to-be-compatible-with-buildroot.patch similarity index 100% rename from buildroot-2021.05/package/omxplayer/0001-Update-Makefile-to-be-compatible-with-buildroot.patch rename to buildroot-2022.02.1/package/omxplayer/0001-Update-Makefile-to-be-compatible-with-buildroot.patch diff --git a/buildroot-2021.05/package/omxplayer/Config.in b/buildroot-2022.02.1/package/omxplayer/Config.in similarity index 100% rename from buildroot-2021.05/package/omxplayer/Config.in rename to buildroot-2022.02.1/package/omxplayer/Config.in diff --git a/buildroot-2021.05/package/omxplayer/omxplayer.hash b/buildroot-2022.02.1/package/omxplayer/omxplayer.hash similarity index 100% rename from buildroot-2021.05/package/omxplayer/omxplayer.hash rename to buildroot-2022.02.1/package/omxplayer/omxplayer.hash diff --git a/buildroot-2021.05/package/omxplayer/omxplayer.mk b/buildroot-2022.02.1/package/omxplayer/omxplayer.mk similarity index 100% rename from buildroot-2021.05/package/omxplayer/omxplayer.mk rename to buildroot-2022.02.1/package/omxplayer/omxplayer.mk diff --git a/buildroot-2021.05/package/on2-8170-libs/Config.in b/buildroot-2022.02.1/package/on2-8170-libs/Config.in similarity index 100% rename from buildroot-2021.05/package/on2-8170-libs/Config.in rename to buildroot-2022.02.1/package/on2-8170-libs/Config.in diff --git a/buildroot-2021.05/package/on2-8170-libs/on2-8170-libs.hash b/buildroot-2022.02.1/package/on2-8170-libs/on2-8170-libs.hash similarity index 100% rename from buildroot-2021.05/package/on2-8170-libs/on2-8170-libs.hash rename to buildroot-2022.02.1/package/on2-8170-libs/on2-8170-libs.hash diff --git a/buildroot-2021.05/package/on2-8170-libs/on2-8170-libs.mk b/buildroot-2022.02.1/package/on2-8170-libs/on2-8170-libs.mk similarity index 100% rename from buildroot-2021.05/package/on2-8170-libs/on2-8170-libs.mk rename to buildroot-2022.02.1/package/on2-8170-libs/on2-8170-libs.mk diff --git a/buildroot-2021.05/package/on2-8170-modules/Config.in b/buildroot-2022.02.1/package/on2-8170-modules/Config.in similarity index 100% rename from buildroot-2021.05/package/on2-8170-modules/Config.in rename to buildroot-2022.02.1/package/on2-8170-modules/Config.in diff --git a/buildroot-2021.05/package/on2-8170-modules/on2-8170-modules.hash b/buildroot-2022.02.1/package/on2-8170-modules/on2-8170-modules.hash similarity index 100% rename from buildroot-2021.05/package/on2-8170-modules/on2-8170-modules.hash rename to buildroot-2022.02.1/package/on2-8170-modules/on2-8170-modules.hash diff --git a/buildroot-2021.05/package/on2-8170-modules/on2-8170-modules.mk b/buildroot-2022.02.1/package/on2-8170-modules/on2-8170-modules.mk similarity index 100% rename from buildroot-2021.05/package/on2-8170-modules/on2-8170-modules.mk rename to buildroot-2022.02.1/package/on2-8170-modules/on2-8170-modules.mk diff --git a/buildroot-2021.05/package/oniguruma/Config.in b/buildroot-2022.02.1/package/oniguruma/Config.in similarity index 100% rename from buildroot-2021.05/package/oniguruma/Config.in rename to buildroot-2022.02.1/package/oniguruma/Config.in diff --git a/buildroot-2021.05/package/oniguruma/oniguruma.hash b/buildroot-2022.02.1/package/oniguruma/oniguruma.hash similarity index 100% rename from buildroot-2021.05/package/oniguruma/oniguruma.hash rename to buildroot-2022.02.1/package/oniguruma/oniguruma.hash diff --git a/buildroot-2021.05/package/oniguruma/oniguruma.mk b/buildroot-2022.02.1/package/oniguruma/oniguruma.mk similarity index 100% rename from buildroot-2021.05/package/oniguruma/oniguruma.mk rename to buildroot-2022.02.1/package/oniguruma/oniguruma.mk diff --git a/buildroot-2021.05/package/open-lldp/Config.in b/buildroot-2022.02.1/package/open-lldp/Config.in similarity index 100% rename from buildroot-2021.05/package/open-lldp/Config.in rename to buildroot-2022.02.1/package/open-lldp/Config.in diff --git a/buildroot-2021.05/package/open-lldp/open-lldp.hash b/buildroot-2022.02.1/package/open-lldp/open-lldp.hash similarity index 100% rename from buildroot-2021.05/package/open-lldp/open-lldp.hash rename to buildroot-2022.02.1/package/open-lldp/open-lldp.hash diff --git a/buildroot-2021.05/package/open-lldp/open-lldp.mk b/buildroot-2022.02.1/package/open-lldp/open-lldp.mk similarity index 100% rename from buildroot-2021.05/package/open-lldp/open-lldp.mk rename to buildroot-2022.02.1/package/open-lldp/open-lldp.mk diff --git a/buildroot-2021.05/package/open-plc-utils/0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch b/buildroot-2022.02.1/package/open-plc-utils/0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch similarity index 100% rename from buildroot-2021.05/package/open-plc-utils/0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch rename to buildroot-2022.02.1/package/open-plc-utils/0001-Remove-OWNER-and-GROUPS-parameters-to-install.patch diff --git a/buildroot-2021.05/package/open-plc-utils/0002-plc-plc.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/open-plc-utils/0002-plc-plc.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/open-plc-utils/0002-plc-plc.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/open-plc-utils/0002-plc-plc.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/open-plc-utils/Config.in b/buildroot-2022.02.1/package/open-plc-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/open-plc-utils/Config.in rename to buildroot-2022.02.1/package/open-plc-utils/Config.in diff --git a/buildroot-2021.05/package/open-plc-utils/open-plc-utils.hash b/buildroot-2022.02.1/package/open-plc-utils/open-plc-utils.hash similarity index 100% rename from buildroot-2021.05/package/open-plc-utils/open-plc-utils.hash rename to buildroot-2022.02.1/package/open-plc-utils/open-plc-utils.hash diff --git a/buildroot-2021.05/package/open-plc-utils/open-plc-utils.mk b/buildroot-2022.02.1/package/open-plc-utils/open-plc-utils.mk similarity index 100% rename from buildroot-2021.05/package/open-plc-utils/open-plc-utils.mk rename to buildroot-2022.02.1/package/open-plc-utils/open-plc-utils.mk diff --git a/buildroot-2021.05/package/open2300/0001-fix-makefile.patch b/buildroot-2022.02.1/package/open2300/0001-fix-makefile.patch similarity index 100% rename from buildroot-2021.05/package/open2300/0001-fix-makefile.patch rename to buildroot-2022.02.1/package/open2300/0001-fix-makefile.patch diff --git a/buildroot-2021.05/package/open2300/Config.in b/buildroot-2022.02.1/package/open2300/Config.in similarity index 100% rename from buildroot-2021.05/package/open2300/Config.in rename to buildroot-2022.02.1/package/open2300/Config.in diff --git a/buildroot-2021.05/package/open2300/open2300.hash b/buildroot-2022.02.1/package/open2300/open2300.hash similarity index 100% rename from buildroot-2021.05/package/open2300/open2300.hash rename to buildroot-2022.02.1/package/open2300/open2300.hash diff --git a/buildroot-2021.05/package/open2300/open2300.mk b/buildroot-2022.02.1/package/open2300/open2300.mk similarity index 100% rename from buildroot-2021.05/package/open2300/open2300.mk rename to buildroot-2022.02.1/package/open2300/open2300.mk diff --git a/buildroot-2021.05/package/open62541/0001-CMakeLists.txt-project-only-contains-C-code.patch b/buildroot-2022.02.1/package/open62541/0001-CMakeLists.txt-project-only-contains-C-code.patch similarity index 100% rename from buildroot-2021.05/package/open62541/0001-CMakeLists.txt-project-only-contains-C-code.patch rename to buildroot-2022.02.1/package/open62541/0001-CMakeLists.txt-project-only-contains-C-code.patch diff --git a/buildroot-2022.02.1/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch b/buildroot-2022.02.1/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch new file mode 100644 index 00000000..bdf36080 --- /dev/null +++ b/buildroot-2022.02.1/package/open62541/0002-arch-posix-CMakeLists.txt-fix-build-without-threads.patch @@ -0,0 +1,37 @@ +From a312e82124fb8c9f139d5a40fa5a28123bb77a33 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 10 Jan 2021 14:25:56 +0100 +Subject: [PATCH] arch/posix/CMakeLists.txt: fix build without threads + +Fix the following build failure without threads: + +[100%] Linking C shared library bin/libopen62541.so +/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/8.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: cannot find -lpthread +collect2: error: ld returned 1 exit status +CMakeFiles/open62541.dir/build.make:192: recipe for target 'bin/libopen62541.so.0.0.0' failed +make[3]: *** [bin/libopen62541.so.0.0.0] Error 1 + +Fixes: + - http://autobuild.buildroot.org/results/87ec3c987c991f790757276316d6caf81e635fa2 + +Signed-off-by: Fabrice Fontaine +--- + arch/posix/CMakeLists.txt | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/arch/posix/CMakeLists.txt b/arch/posix/CMakeLists.txt +index bb24757c..a53c9f2c 100644 +--- a/arch/posix/CMakeLists.txt ++++ b/arch/posix/CMakeLists.txt +@@ -20,8 +20,6 @@ if (${_index} GREATER -1 OR "${UA_ARCHITECTURE}" STREQUAL "posix") + ua_architecture_append_to_library(netdb ndblib socket) + else() + ua_architecture_append_to_library(m) +- #TODO - Error on first make run if pthread is included conditional? +- ua_architecture_append_to_library(pthread) + if(UA_MULTITHREADING OR UA_BUILD_UNIT_TESTS) + ua_architecture_append_to_library(pthread) + endif() +-- +2.29.2 + diff --git a/buildroot-2022.02.1/package/open62541/0003-fix-core-Explicit-cast-to-avoid-compiler-warning.patch b/buildroot-2022.02.1/package/open62541/0003-fix-core-Explicit-cast-to-avoid-compiler-warning.patch new file mode 100644 index 00000000..dea325c1 --- /dev/null +++ b/buildroot-2022.02.1/package/open62541/0003-fix-core-Explicit-cast-to-avoid-compiler-warning.patch @@ -0,0 +1,25 @@ +From 0c53fd776af9631c915c8722e1d68ce9a69fa3f6 Mon Sep 17 00:00:00 2001 +From: Andreas Walter +Date: Fri, 26 Feb 2021 11:49:25 +0100 +Subject: [PATCH] fix(core): Explicit cast to avoid compiler warning (#4203) + +[Retrieved from: +https://github.com/open62541/open62541/commit/0c53fd776af9631c915c8722e1d68ce9a69fa3f6] +Signed-off-by: Fabrice Fontaine +--- + src/ua_types_encoding_binary.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/ua_types_encoding_binary.c b/src/ua_types_encoding_binary.c +index 0fe88eb98e0..abbd23735d3 100644 +--- a/src/ua_types_encoding_binary.c ++++ b/src/ua_types_encoding_binary.c +@@ -319,7 +319,7 @@ static long double + unpack754(uint64_t i, unsigned bits, unsigned expbits) { + unsigned significandbits = bits - expbits - 1; + long double result = (long double)(i&(uint64_t)((1LL<>significandbits) & (uint64_t)((1LL< +Date: Mon, 2 Aug 2021 09:49:48 +0200 +Subject: [PATCH] CMakeLists.txt: add UA_FORCE_WERROR + +Allow the user to disable -Werror to avoid the following build failures: + +/tmp/instance-0/output-1/build/open62541-v1.2.2/arch/network_tcp.c: In function 'connection_recv': +/tmp/instance-0/output-1/build/open62541-v1.2.2/arch/network_tcp.c:96:5: error: conversion to 'unsigned int' from 'int' may change the sign of the result [-Werror=sign-conversion] + 96 | UA_fd_set(connection->sockfd, &fdset); + | ^~~~~~~~~ + +/tmp/instance-6/output-1/build/open62541-v1.2.2/plugins/ua_pubsub_udp.c: In function 'UA_PubSubChannelUDPMC_receive': +/tmp/instance-6/output-1/build/open62541-v1.2.2/plugins/ua_pubsub_udp.c:477:21: error: conversion to '__suseconds_t' {aka 'int'} from 'UA_UInt32' {aka 'unsigned int'} may change the sign of the result [-Werror=sign-conversion] + 477 | tmptv.tv_usec = (long int)(timeout % 1000000); + | ^ + +Fixes: + - http://autobuild.buildroot.org/results/911811de81d8abb2a31feb8f27af1592641c6fbc + - http://autobuild.buildroot.org/results/f0187b3f2d62e955fddeef4e90f84ba4fd642bd2 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/open62541/open62541/pull/4572] +--- + CMakeLists.txt | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index bc839f27..963460d0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -292,6 +292,8 @@ if(UA_FORCE_CPP) + add_definitions(-D__STDC_CONSTANT_MACROS) # We need the UINT32_C define + endif() + ++option(UA_FORCE_WERROR "Force compilation with -Werror" ON) ++ + #General PubSub setup + option(UA_ENABLE_PUBSUB "Enable the PubSub protocol" OFF) + +@@ -589,7 +591,9 @@ if(NOT UA_FORCE_CPP AND (CMAKE_COMPILER_IS_GNUCC OR "x${CMAKE_C_COMPILER_ID}" ST + check_add_cc_flag("-Wall") # Warnings + check_add_cc_flag("-Wextra") # More warnings + check_add_cc_flag("-Wpedantic") # Standard compliance +- check_add_cc_flag("-Werror") # All warnings are errors ++ if(UA_FORCE_WERROR) ++ check_add_cc_flag("-Werror") # All warnings are errors ++ endif() + + check_add_cc_flag("-Wno-static-in-inline") # Clang doesn't like the use of static inline methods inside static inline methods + check_add_cc_flag("-Wno-overlength-strings") # May happen in the nodeset compiler when complex values are directly encoded +-- +2.30.2 + diff --git a/buildroot-2021.05/package/open62541/Config.in b/buildroot-2022.02.1/package/open62541/Config.in similarity index 100% rename from buildroot-2021.05/package/open62541/Config.in rename to buildroot-2022.02.1/package/open62541/Config.in diff --git a/buildroot-2022.02.1/package/open62541/open62541.hash b/buildroot-2022.02.1/package/open62541/open62541.hash new file mode 100644 index 00000000..5aa340ac --- /dev/null +++ b/buildroot-2022.02.1/package/open62541/open62541.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 c59c85b519a18350f5014b6e7b7545ee144ceeb15094e75b0b7ecec7dce43dd0 open62541-v1.2.2-br1.tar.gz +sha256 fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85 LICENSE diff --git a/buildroot-2022.02.1/package/open62541/open62541.mk b/buildroot-2022.02.1/package/open62541/open62541.mk new file mode 100644 index 00000000..627c29e9 --- /dev/null +++ b/buildroot-2022.02.1/package/open62541/open62541.mk @@ -0,0 +1,65 @@ +################################################################################ +# +# open62541 +# +################################################################################ + +OPEN62541_VERSION = v1.2.2 +OPEN62541_SITE_METHOD = git +OPEN62541_SITE = https://github.com/open62541/open62541.git +OPEN62541_GIT_SUBMODULES = YES +OPEN62541_INSTALL_STAGING = YES +OPEN62541_LICENSE = MPL-2.0 +OPEN62541_LICENSE_FILES = LICENSE +OPEN62541_CPE_ID_VENDOR = open62541 + +# Force Release build to remove -Werror. +# Don't use git describe to get the version number. +# Disable hardening options to let Buildroot handle it. +OPEN62541_CONF_OPTS = \ + -DCMAKE_BUILD_TYPE=Release \ + -DGIT_EXECUTABLE=NO \ + -DOPEN62541_VERSION=$(OPEN62541_VERSION) \ + -DUA_ENABLE_HARDENING=OFF \ + -DUA_FORCE_WERROR=OFF + +ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_MINIMAL),y) +OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=MINIMAL +else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_REDUCED),y) +OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=REDUCED +else ifeq ($(BR2_PACKAGE_OPEN62541_UA_NAMESPACE_ZERO_FULL),y) +OPEN62541_CONF_OPTS += -DUA_NAMESPACE_ZERO=FULL +endif + +ifeq ($(BR2_PACKAGE_OPEN62541_JSON_ENCODING),y) +OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=ON +else +OPEN62541_CONF_OPTS += -DUA_ENABLE_JSON_ENCODING=OFF +endif + +ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB),y) +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB=ON +else +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB=OFF +endif + +ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_DELTAFRAMES),y) +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_DELTAFRAMES=ON +else +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_DELTAFRAMES=OFF +endif + +ifeq ($(BR2_PACKAGE_OPEN62541_PUBSUB_INFORMATIONMODEL),y) +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=ON +else +OPEN62541_CONF_OPTS += -DUA_ENABLE_PUBSUB_INFORMATIONMODEL=OFF +endif + +# Remove unneeded files +define OPEN62541_REMOVE_UNNEEDED_FILES + $(RM) -r $(TARGET_DIR)/usr/share/open62541 +endef + +OPEN62541_POST_INSTALL_TARGET_HOOKS += OPEN62541_REMOVE_UNNEEDED_FILES + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/openal/Config.in b/buildroot-2022.02.1/package/openal/Config.in similarity index 100% rename from buildroot-2021.05/package/openal/Config.in rename to buildroot-2022.02.1/package/openal/Config.in diff --git a/buildroot-2022.02.1/package/openal/openal.hash b/buildroot-2022.02.1/package/openal/openal.hash new file mode 100644 index 00000000..3f1a574e --- /dev/null +++ b/buildroot-2022.02.1/package/openal/openal.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 8ac17e4e3b32c1af3d5508acfffb838640669b4274606b7892aa796ca9d7467f openal-1.21.1.tar.gz +sha256 d808ce217e5b611854da622b57ec29fe545584c48bc5352fae72a4b6e5074a15 COPYING diff --git a/buildroot-2022.02.1/package/openal/openal.mk b/buildroot-2022.02.1/package/openal/openal.mk new file mode 100644 index 00000000..a878e484 --- /dev/null +++ b/buildroot-2022.02.1/package/openal/openal.mk @@ -0,0 +1,52 @@ +################################################################################ +# +# openal +# +################################################################################ + +OPENAL_VERSION = 1.21.1 +OPENAL_SITE = $(call github,kcat,openal-soft,$(OPENAL_VERSION)) +OPENAL_LICENSE = LGPL-2.0+ +OPENAL_LICENSE_FILES = COPYING +OPENAL_INSTALL_STAGING = YES + +# We don't need examples, tests and utilities, Distros don't ship them either +OPENAL_CONF_OPTS += -DALSOFT_UTILS=OFF -DALSOFT_EXAMPLES=OFF -DALSOFT_TESTS=OFF + +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),y) +OPENAL_CONF_OPTS += -DEXTRA_LIBS=atomic +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +OPENAL_DEPENDENCIES += alsa-lib +OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_ALSA=ON +else +OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_ALSA=OFF +endif + +ifeq ($(BR2_PACKAGE_JACK2),y) +OPENAL_DEPENDENCIES += jack2 +OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_JACK=ON +else +OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_JACK=OFF +endif + +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +OPENAL_DEPENDENCIES += portaudio +OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PORTAUDIO=ON +else +OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PORTAUDIO=OFF +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +OPENAL_DEPENDENCIES += pulseaudio +OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PULSEAUDIO=ON +else +OPENAL_CONF_OPTS += -DALSOFT_REQUIRE_PULSEAUDIO=OFF +endif + +ifeq ($(BR2_STATIC_LIBS),y) +OPENAL_CONF_OPTS += -DLIBTYPE=STATIC +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/openblas/0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch b/buildroot-2022.02.1/package/openblas/0001-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch similarity index 100% rename from buildroot-2021.05/package/openblas/0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch rename to buildroot-2022.02.1/package/openblas/0001-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch diff --git a/buildroot-2021.05/package/openblas/0004-Makefile.system-don-t-specify-optimization-level-bui.patch b/buildroot-2022.02.1/package/openblas/0002-Makefile.system-don-t-specify-optimization-level-bui.patch similarity index 100% rename from buildroot-2021.05/package/openblas/0004-Makefile.system-don-t-specify-optimization-level-bui.patch rename to buildroot-2022.02.1/package/openblas/0002-Makefile.system-don-t-specify-optimization-level-bui.patch diff --git a/buildroot-2021.05/package/openblas/Config.in b/buildroot-2022.02.1/package/openblas/Config.in similarity index 100% rename from buildroot-2021.05/package/openblas/Config.in rename to buildroot-2022.02.1/package/openblas/Config.in diff --git a/buildroot-2022.02.1/package/openblas/openblas.hash b/buildroot-2022.02.1/package/openblas/openblas.hash new file mode 100644 index 00000000..a1e35f4f --- /dev/null +++ b/buildroot-2022.02.1/package/openblas/openblas.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 1632c1e8cca62d8bed064b37747e331a1796fc46f688626337362bf0d16aeadb openblas-0.3.18.tar.gz +sha256 190b5a9c8d9723fe958ad33916bd7346d96fab3c5ea90832bb02d854f620fcff LICENSE diff --git a/buildroot-2022.02.1/package/openblas/openblas.mk b/buildroot-2022.02.1/package/openblas/openblas.mk new file mode 100644 index 00000000..1d7d6d05 --- /dev/null +++ b/buildroot-2022.02.1/package/openblas/openblas.mk @@ -0,0 +1,80 @@ +################################################################################ +# +# openblas +# +################################################################################ + +OPENBLAS_VERSION = 0.3.18 +OPENBLAS_SITE = https://github.com/xianyi/OpenBLAS/releases/download/v$(OPENBLAS_VERSION) +OPENBLAS_LICENSE = BSD-3-Clause +OPENBLAS_LICENSE_FILES = LICENSE +OPENBLAS_INSTALL_STAGING = YES +OPENBLAS_CPE_ID_VENDOR = openblas_project + +# Initialise OpenBLAS make options to $(TARGET_CONFIGURE_OPTS) +OPENBLAS_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) + +# Enable cross-compiling +OPENBLAS_MAKE_OPTS += CROSS=1 + +# Set OpenBLAS target +OPENBLAS_MAKE_OPTS += TARGET=$(BR2_PACKAGE_OPENBLAS_TARGET) + +# When Fortran is not available, only build the C version of BLAS +ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),) +OPENBLAS_MAKE_OPTS += ONLY_CBLAS=1 +endif + +# Enable/Disable multi-threading (not for static-only since it uses dlfcn.h) +ifeq ($(BR2_PACKAGE_OPENBLAS_USE_THREAD),y) +OPENBLAS_MAKE_OPTS += USE_THREAD=1 +else +OPENBLAS_MAKE_OPTS += USE_THREAD=0 +endif + +ifeq ($(BR2_PACKAGE_OPENBLAS_USE_LOCKING),y) +OPENBLAS_MAKE_OPTS += USE_LOCKING=1 +else +# not passing USE_LOCKING=0 as this could be confusing: its effect is implicit +# in case of USE_THREAD=1. +endif + +# We don't know if OpenMP is available or not, so disable +OPENBLAS_MAKE_OPTS += USE_OPENMP=0 + +# Static-only/Shared-only toggle +# Note: static library is always generated so that applications can link +# statically for size reduction, even if BR2_STATIC_LIBS is not set. +ifeq ($(BR2_STATIC_LIBS),y) +OPENBLAS_MAKE_OPTS += NO_SHARED=1 +endif + +# binutils version <= 2.23.2 has a bug +# (https://sourceware.org/bugzilla/show_bug.cgi?id=14887) where +# whitespaces in ARM register specifications such as [ r1, #12 ] or [ +# r2 ] cause the assembler to reject the code. Since there are +# numerous instances of such cases in the code, we use sed rather than +# a patch. We simply replace [ foobar ] by [foobar] to work around the +# problem. +define OPENBLAS_FIXUP_ARM_ASSEMBLY + $(SED) 's%\[\s*%\[%;s%\s*\]%\]%' $(@D)/kernel/arm/*.S +endef + +OPENBLAS_POST_PATCH_HOOKS += OPENBLAS_FIXUP_ARM_ASSEMBLY + +define OPENBLAS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(OPENBLAS_MAKE_OPTS) \ + -C $(@D) +endef + +define OPENBLAS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(OPENBLAS_MAKE_OPTS) \ + -C $(@D) install PREFIX=$(STAGING_DIR)/usr +endef + +define OPENBLAS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(OPENBLAS_MAKE_OPTS) \ + -C $(@D) install PREFIX=$(TARGET_DIR)/usr +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/openbox/Config.in b/buildroot-2022.02.1/package/openbox/Config.in new file mode 100644 index 00000000..e042ed2b --- /dev/null +++ b/buildroot-2022.02.1/package/openbox/Config.in @@ -0,0 +1,29 @@ +config BR2_PACKAGE_OPENBOX + bool "openbox" + depends on BR2_PACKAGE_XORG7 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuzz + depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_PANGO + select BR2_PACKAGE_XLIB_LIBX11 + # libxft and libxrender are needed to get xft support in pango + select BR2_PACKAGE_XLIB_LIBXFT + select BR2_PACKAGE_XLIB_LIBXRENDER + help + Openbox is a highly configurable, next generation window + manager with extensive standards support. + + http://openbox.org + +comment "openbox needs a toolchain w/ C++, threads, wchar, gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_XORG7 diff --git a/buildroot-2021.05/package/openbox/openbox.hash b/buildroot-2022.02.1/package/openbox/openbox.hash similarity index 100% rename from buildroot-2021.05/package/openbox/openbox.hash rename to buildroot-2022.02.1/package/openbox/openbox.hash diff --git a/buildroot-2021.05/package/openbox/openbox.mk b/buildroot-2022.02.1/package/openbox/openbox.mk similarity index 100% rename from buildroot-2021.05/package/openbox/openbox.mk rename to buildroot-2022.02.1/package/openbox/openbox.mk diff --git a/buildroot-2021.05/package/opencore-amr/Config.in b/buildroot-2022.02.1/package/opencore-amr/Config.in similarity index 100% rename from buildroot-2021.05/package/opencore-amr/Config.in rename to buildroot-2022.02.1/package/opencore-amr/Config.in diff --git a/buildroot-2021.05/package/opencore-amr/opencore-amr.hash b/buildroot-2022.02.1/package/opencore-amr/opencore-amr.hash similarity index 100% rename from buildroot-2021.05/package/opencore-amr/opencore-amr.hash rename to buildroot-2022.02.1/package/opencore-amr/opencore-amr.hash diff --git a/buildroot-2021.05/package/opencore-amr/opencore-amr.mk b/buildroot-2022.02.1/package/opencore-amr/opencore-amr.mk similarity index 100% rename from buildroot-2021.05/package/opencore-amr/opencore-amr.mk rename to buildroot-2022.02.1/package/opencore-amr/opencore-amr.mk diff --git a/buildroot-2021.05/package/opencv3/Config.in b/buildroot-2022.02.1/package/opencv3/Config.in similarity index 100% rename from buildroot-2021.05/package/opencv3/Config.in rename to buildroot-2022.02.1/package/opencv3/Config.in diff --git a/buildroot-2022.02.1/package/opencv3/opencv3.hash b/buildroot-2022.02.1/package/opencv3/opencv3.hash new file mode 100644 index 00000000..30308188 --- /dev/null +++ b/buildroot-2022.02.1/package/opencv3/opencv3.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 1353eec67849aadb20df71d8bae18b83708e18fc5da080fe5efeabb1e99b2ee8 opencv3-3.4.17.tar.gz +sha256 9076d3d934839a2f8e7bfe549abda6faea4751f1edd6e9460ff703559890ad5f LICENSE diff --git a/buildroot-2022.02.1/package/opencv3/opencv3.mk b/buildroot-2022.02.1/package/opencv3/opencv3.mk new file mode 100644 index 00000000..8e4c9078 --- /dev/null +++ b/buildroot-2022.02.1/package/opencv3/opencv3.mk @@ -0,0 +1,376 @@ +################################################################################ +# +# opencv3 +# +################################################################################ + +OPENCV3_VERSION = 3.4.17 +OPENCV3_SITE = $(call github,opencv,opencv,$(OPENCV3_VERSION)) +OPENCV3_INSTALL_STAGING = YES +OPENCV3_LICENSE = BSD-3-Clause +OPENCV3_LICENSE_FILES = LICENSE +OPENCV3_CPE_ID_VENDOR = opencv +OPENCV3_CPE_ID_PRODUCT = opencv +OPENCV3_SUPPORTS_IN_SOURCE_BUILD = NO + +OPENCV3_CXXFLAGS = $(TARGET_CXXFLAGS) + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +OPENCV3_CXXFLAGS += -latomic +endif + +# Fix c++11 build with missing std::exception_ptr +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_64735),y) +OPENCV3_CXXFLAGS += -DCV__EXCEPTION_PTR=0 +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) +OPENCV3_CXXFLAGS += -O0 +endif + +# OpenCV component options +OPENCV3_CONF_OPTS += \ + -DCMAKE_CXX_FLAGS="$(OPENCV3_CXXFLAGS)" \ + -DBUILD_DOCS=OFF \ + -DBUILD_PERF_TESTS=$(if $(BR2_PACKAGE_OPENCV3_BUILD_PERF_TESTS),ON,OFF) \ + -DBUILD_TESTS=$(if $(BR2_PACKAGE_OPENCV3_BUILD_TESTS),ON,OFF) \ + -DBUILD_WITH_DEBUG_INFO=OFF \ + -DDOWNLOAD_EXTERNAL_TEST_DATA=OFF \ + -DOPENCV_ENABLE_PKG_CONFIG=ON + +ifeq ($(BR2_PACKAGE_OPENCV3_BUILD_TESTS)$(BR2_PACKAGE_OPENCV3_BUILD_PERF_TESTS),) +OPENCV3_CONF_OPTS += -DINSTALL_TEST=OFF +else +OPENCV3_CONF_OPTS += -DINSTALL_TEST=ON +endif + +# OpenCV build options +OPENCV3_CONF_OPTS += \ + -DBUILD_WITH_STATIC_CRT=OFF \ + -DENABLE_CCACHE=OFF \ + -DENABLE_COVERAGE=OFF \ + -DENABLE_FAST_MATH=ON \ + -DENABLE_IMPL_COLLECTION=OFF \ + -DENABLE_NOISY_WARNINGS=OFF \ + -DENABLE_OMIT_FRAME_POINTER=ON \ + -DENABLE_PRECOMPILED_HEADERS=OFF \ + -DENABLE_PROFILING=OFF \ + -DOPENCV_WARNINGS_ARE_ERRORS=OFF + +# OpenCV link options +OPENCV3_CONF_OPTS += \ + -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_USE_RELATIVE_PATHS=OFF + +# OpenCV packaging options: +OPENCV3_CONF_OPTS += \ + -DBUILD_PACKAGE=OFF \ + -DENABLE_SOLUTION_FOLDERS=OFF \ + -DINSTALL_CREATE_DISTRIB=OFF + +# OpenCV module selection +# * Modules on: +# - core: if not set, opencv does not build anything +# - hal: core's dependency +# * Modules off: +# - android*: android stuff +# - apps: programs for training classifiers +# - java: java bindings +# - viz: missing VTK dependency +# - world: all-in-one module +# +# * Contrib modules from [1] are disabled: +# - opencv_contrib package is not available in Buildroot; +# - OPENCV3_EXTRA_MODULES_PATH is not set. +# +# [1] https://github.com/Itseez/opencv_contrib +OPENCV3_CONF_OPTS += \ + -DBUILD_opencv_androidcamera=OFF \ + -DBUILD_opencv_apps=OFF \ + -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV3_LIB_CALIB3D),ON,OFF) \ + -DBUILD_opencv_core=ON \ + -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV3_LIB_FEATURES2D),ON,OFF) \ + -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV3_LIB_FLANN),ON,OFF) \ + -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV3_LIB_HIGHGUI),ON,OFF) \ + -DBUILD_opencv_imgcodecs=$(if $(BR2_PACKAGE_OPENCV3_LIB_IMGCODECS),ON,OFF) \ + -DBUILD_opencv_imgproc=$(if $(BR2_PACKAGE_OPENCV3_LIB_IMGPROC),ON,OFF) \ + -DBUILD_opencv_java=OFF \ + -DBUILD_opencv_ml=$(if $(BR2_PACKAGE_OPENCV3_LIB_ML),ON,OFF) \ + -DBUILD_opencv_objdetect=$(if $(BR2_PACKAGE_OPENCV3_LIB_OBJDETECT),ON,OFF) \ + -DBUILD_opencv_photo=$(if $(BR2_PACKAGE_OPENCV3_LIB_PHOTO),ON,OFF) \ + -DBUILD_opencv_shape=$(if $(BR2_PACKAGE_OPENCV3_LIB_SHAPE),ON,OFF) \ + -DBUILD_opencv_stitching=$(if $(BR2_PACKAGE_OPENCV3_LIB_STITCHING),ON,OFF) \ + -DBUILD_opencv_superres=$(if $(BR2_PACKAGE_OPENCV3_LIB_SUPERRES),ON,OFF) \ + -DBUILD_opencv_ts=$(if $(BR2_PACKAGE_OPENCV3_LIB_TS),ON,OFF) \ + -DBUILD_opencv_video=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEO),ON,OFF) \ + -DBUILD_opencv_videoio=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEOIO),ON,OFF) \ + -DBUILD_opencv_videostab=$(if $(BR2_PACKAGE_OPENCV3_LIB_VIDEOSTAB),ON,OFF) \ + -DBUILD_opencv_viz=OFF \ + -DBUILD_opencv_world=OFF + +# Hardware support options. +# +# * PowerPC and VFPv3 support are turned off since their only effects +# are altering CFLAGS, adding '-mcpu=G3 -mtune=G5' or '-mfpu=vfpv3' +# to them, which is already handled by Buildroot. +# * NEON logic is needed as it is not only used to add CFLAGS, but +# also to enable additional NEON code. +OPENCV3_CONF_OPTS += \ + -DENABLE_POWERPC=OFF \ + -DENABLE_NEON=$(if $(BR2_ARM_CPU_HAS_NEON),ON,OFF) \ + -DENABLE_VFPV3=OFF + +# Cuda stuff +OPENCV3_CONF_OPTS += \ + -DBUILD_CUDA_STUBS=OFF \ + -DBUILD_opencv_cudaarithm=OFF \ + -DBUILD_opencv_cudabgsegm=OFF \ + -DBUILD_opencv_cudacodec=OFF \ + -DBUILD_opencv_cudafeatures2d=OFF \ + -DBUILD_opencv_cudafilters=OFF \ + -DBUILD_opencv_cudaimgproc=OFF \ + -DBUILD_opencv_cudalegacy=OFF \ + -DBUILD_opencv_cudaobjdetect=OFF \ + -DBUILD_opencv_cudaoptflow=OFF \ + -DBUILD_opencv_cudastereo=OFF \ + -DBUILD_opencv_cudawarping=OFF \ + -DBUILD_opencv_cudev=OFF \ + -DWITH_CUBLAS=OFF \ + -DWITH_CUDA=OFF \ + -DWITH_CUFFT=OFF + +# NVidia stuff +OPENCV3_CONF_OPTS += -DWITH_NVCUVID=OFF + +# AMD stuff +OPENCV3_CONF_OPTS += \ + -DWITH_OPENCLAMDBLAS=OFF \ + -DWITH_OPENCLAMDFFT=OFF + +# Intel stuff +OPENCV3_CONF_OPTS += \ + -DBUILD_WITH_DYNAMIC_IPP=OFF \ + -DWITH_INTELPERC=OFF \ + -DWITH_IPP=OFF \ + -DWITH_IPP_A=OFF \ + -DWITH_TBB=OFF + +# Smartek stuff +OPENCV3_CONF_OPTS += -DWITH_GIGEAPI=OFF + +# Prosilica stuff +OPENCV3_CONF_OPTS += -DWITH_PVAPI=OFF + +# Ximea stuff +OPENCV3_CONF_OPTS += -DWITH_XIMEA=OFF + +# Non-Linux support (Android options) must remain OFF: +OPENCV3_CONF_OPTS += \ + -DANDROID=OFF \ + -DBUILD_ANDROID_CAMERA_WRAPPER=OFF \ + -DBUILD_ANDROID_EXAMPLES=OFF \ + -DBUILD_ANDROID_SERVICE=OFF \ + -DBUILD_FAT_JAVA_LIB=OFF \ + -DINSTALL_ANDROID_EXAMPLES=OFF \ + -DWITH_ANDROID_CAMERA=OFF + +# Non-Linux support (Mac OSX options) must remain OFF: +OPENCV3_CONF_OPTS += \ + -DWITH_AVFOUNDATION=OFF \ + -DWITH_CARBON=OFF \ + -DWITH_QUICKTIME=OFF + +# Non-Linux support (Windows options) must remain OFF: +OPENCV3_CONF_OPTS += \ + -DWITH_CSTRIPES=OFF \ + -DWITH_DSHOW=OFF \ + -DWITH_MSMF=OFF \ + -DWITH_VFW=OFF \ + -DWITH_VIDEOINPUT=OFF \ + -DWITH_WIN32UI=OFF + +# Software/3rd-party support options: +# - disable all examples +OPENCV3_CONF_OPTS += \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_JASPER=OFF \ + -DBUILD_JPEG=OFF \ + -DBUILD_OPENEXR=OFF \ + -DBUILD_PNG=OFF \ + -DBUILD_PROTOBUF=OFF \ + -DBUILD_TIFF=OFF \ + -DBUILD_ZLIB=OFF \ + -DINSTALL_C_EXAMPLES=OFF \ + -DINSTALL_PYTHON_EXAMPLES=OFF \ + -DINSTALL_TO_MANGLED_PATHS=OFF + +# Disabled features (mostly because they are not available in Buildroot), but +# - eigen: OpenCV does not use it, not take any benefit from it. +OPENCV3_CONF_OPTS += \ + -DWITH_1394=OFF \ + -DWITH_CLP=OFF \ + -DWITH_EIGEN=OFF \ + -DWITH_GDAL=OFF \ + -DWITH_GPHOTO2=OFF \ + -DWITH_GSTREAMER_0_10=OFF \ + -DWITH_LAPACK=OFF \ + -DWITH_MATLAB=OFF \ + -DWITH_OPENCL=OFF \ + -DWITH_OPENCL_SVM=OFF \ + -DWITH_OPENEXR=OFF \ + -DWITH_OPENNI2=OFF \ + -DWITH_OPENNI=OFF \ + -DWITH_UNICAP=OFF \ + -DWITH_VA=OFF \ + -DWITH_VA_INTEL=OFF \ + -DWITH_VTK=OFF \ + -DWITH_XINE=OFF + +OPENCV3_DEPENDENCIES += host-pkgconf zlib + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_FFMPEG),y) +OPENCV3_CONF_OPTS += -DWITH_FFMPEG=ON +OPENCV3_DEPENDENCIES += ffmpeg bzip2 +else +OPENCV3_CONF_OPTS += -DWITH_FFMPEG=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GSTREAMER1),y) +OPENCV3_CONF_OPTS += -DWITH_GSTREAMER=ON +OPENCV3_DEPENDENCIES += gstreamer1 gst1-plugins-base +else +OPENCV3_CONF_OPTS += -DWITH_GSTREAMER=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK)$(BR2_PACKAGE_OPENCV3_WITH_GTK3),) +OPENCV3_CONF_OPTS += -DWITH_GTK=OFF -DWITH_GTK_2_X=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK),y) +OPENCV3_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=ON +OPENCV3_DEPENDENCIES += libgtk2 +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_GTK3),y) +OPENCV3_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=OFF +OPENCV3_DEPENDENCIES += libgtk3 +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_JASPER),y) +OPENCV3_CONF_OPTS += -DWITH_JASPER=ON +OPENCV3_DEPENDENCIES += jasper +else +OPENCV3_CONF_OPTS += -DWITH_JASPER=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_JPEG),y) +OPENCV3_CONF_OPTS += -DWITH_JPEG=ON +OPENCV3_DEPENDENCIES += jpeg +else +OPENCV3_CONF_OPTS += -DWITH_JPEG=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_OPENGL),y) +OPENCV3_CONF_OPTS += -DWITH_OPENGL=ON +OPENCV3_DEPENDENCIES += libgl +else +OPENCV3_CONF_OPTS += -DWITH_OPENGL=OFF +endif + +OPENCV3_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_TOOLCHAIN_HAS_OPENMP),ON,OFF) + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_PNG),y) +OPENCV3_CONF_OPTS += -DWITH_PNG=ON +OPENCV3_DEPENDENCIES += libpng +else +OPENCV3_CONF_OPTS += -DWITH_PNG=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_PROTOBUF),y) +# protobuf needs c++11 (since 3.6.0) +OPENCV3_CONF_OPTS += \ + -DENABLE_CXX11=ON \ + -DPROTOBUF_UPDATE_FILES=ON \ + -DWITH_PROTOBUF=ON +OPENCV3_DEPENDENCIES += protobuf +else +OPENCV3_CONF_OPTS += -DWITH_PROTOBUF=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_QT5),y) +OPENCV3_CONF_OPTS += -DWITH_QT=5 +OPENCV3_DEPENDENCIES += qt5base +else +OPENCV3_CONF_OPTS += -DWITH_QT=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_TIFF),y) +OPENCV3_CONF_OPTS += -DWITH_TIFF=ON +OPENCV3_DEPENDENCIES += tiff +else +OPENCV3_CONF_OPTS += -DWITH_TIFF=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_V4L),y) +OPENCV3_CONF_OPTS += \ + -DWITH_LIBV4L=$(if $(BR2_PACKAGE_LIBV4L),ON,OFF) \ + -DWITH_V4L=ON +OPENCV3_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBV4L),libv4l) +else +OPENCV3_CONF_OPTS += -DWITH_V4L=OFF -DWITH_LIBV4L=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_WITH_WEBP),y) +OPENCV3_CONF_OPTS += -DWITH_WEBP=ON +OPENCV3_DEPENDENCIES += webp +else +OPENCV3_CONF_OPTS += -DWITH_WEBP=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV3_LIB_PYTHON),y) +OPENCV3_CONF_OPTS += \ + -DBUILD_opencv_python2=OFF \ + -DBUILD_opencv_python3=ON \ + -DPYTHON3_EXECUTABLE=$(HOST_DIR)/bin/python3 \ + -DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + -DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR).so \ + -DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \ + -DPYTHON3_PACKAGES_PATH=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + -DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION) +OPENCV3_DEPENDENCIES += python3 +OPENCV3_KEEP_PY_FILES += usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/cv2/config*.py +OPENCV3_CONF_ENV += $(PKG_PYTHON_DISTUTILS_ENV) +OPENCV3_DEPENDENCIES += python-numpy +else +OPENCV3_CONF_OPTS += \ + -DBUILD_opencv_python2=OFF \ + -DBUILD_opencv_python3=OFF +endif + +# Installation hooks: +define OPENCV3_CLEAN_INSTALL_LICENSE + $(RM) -fr $(TARGET_DIR)/usr/share/licenses/opencv3 +endef +OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_LICENSE + +define OPENCV3_CLEAN_INSTALL_CMAKE + $(RM) -f $(TARGET_DIR)/usr/share/OpenCV/OpenCV*.cmake +endef +OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_CMAKE + +define OPENCV3_CLEAN_INSTALL_VALGRIND + $(RM) -f $(TARGET_DIR)/usr/share/OpenCV/valgrind* +endef +OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_VALGRIND + +ifneq ($(BR2_PACKAGE_OPENCV3_INSTALL_DATA),y) +define OPENCV3_CLEAN_INSTALL_DATA + $(RM) -fr $(TARGET_DIR)/usr/share/OpenCV/haarcascades \ + $(TARGET_DIR)/usr/share/OpenCV/lbpcascades +endef +OPENCV3_POST_INSTALL_TARGET_HOOKS += OPENCV3_CLEAN_INSTALL_DATA +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/opencv4/Config.in b/buildroot-2022.02.1/package/opencv4/Config.in new file mode 100644 index 00000000..31c32385 --- /dev/null +++ b/buildroot-2022.02.1/package/opencv4/Config.in @@ -0,0 +1,352 @@ +menuconfig BR2_PACKAGE_OPENCV4 + bool "opencv4" + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on !BR2_STATIC_LIBS # include dlfcn.h + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on !BR2_PACKAGE_OPENCV3 + select BR2_PACKAGE_ZLIB + help + OpenCV (Open Source Computer Vision) is a library of + programming functions for real time computer vision. + + Note that the opencv_core module and the opencv_hal library + are always built and installed, not matter which other + modules are enabled below. + + http://opencv.org/ + +if BR2_PACKAGE_OPENCV4 + +comment "OpenCV modules" + +config BR2_PACKAGE_OPENCV4_LIB_CALIB3D + bool "calib3d" + select BR2_PACKAGE_OPENCV4_LIB_FEATURES2D + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + help + Include opencv_calib3d (camera calibration and 3d + reconstruction) module into the OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_FEATURES2D + bool "features2d" + select BR2_PACKAGE_OPENCV4_LIB_FLANN + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_ML + help + Include opencv_features2d (2d features framework) module + into the OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_FLANN + bool "flann" + # opencv_core dependency is already enabled + help + Include opencv_flann (clustering and search in + multi-dimensional spaces) module into the OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_HIGHGUI + bool "highgui" + select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_VIDEOIO + help + Include opencv_highgui (high-level gui and media i/o) module + into the OpenCV build. + +if BR2_PACKAGE_OPENCV4_LIB_HIGHGUI + +choice + prompt "gui toolkit" + help + GUI toolkit to be used by the opencv_highgui module. + +config BR2_PACKAGE_OPENCV4_GUI_NONE + bool "none" + +config BR2_PACKAGE_OPENCV4_WITH_GTK + bool "gtk2" + depends on BR2_PACKAGE_LIBGTK2 + +comment "gtk2 support needs libgtk2" + depends on BR2_USE_MMU # libgtk2 -> glib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_PACKAGE_LIBGTK2 + +config BR2_PACKAGE_OPENCV4_WITH_GTK3 + bool "gtk3" + depends on BR2_PACKAGE_LIBGTK3 + +comment "gtk3 support needs libgtk3" + depends on BR2_USE_MMU # libgtk3 -> glib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_PACKAGE_LIBGTK3 + +config BR2_PACKAGE_OPENCV4_WITH_QT5 + bool "qt5" + depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE_CONCURRENT + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS + help + Use Qt5 with base, concurrent, test, gui and widgets + components, as GUI toolkit. + +comment "qt5 support needs qt5" + depends on !BR2_PACKAGE_QT5 + +endchoice + +config BR2_PACKAGE_OPENCV4_WITH_OPENGL + bool "opengl support" + # OpenGL support done using Qt5OpenGL, so depends on WITH_QT5 + depends on BR2_PACKAGE_OPENCV4_WITH_QT5 + # OpenGL support requires Qt5OpenGL with GL support, not GLES + depends on BR2_PACKAGE_QT5_GL_AVAILABLE + depends on BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_QT5BASE_OPENGL + help + Enable OpenGL for UI. + +comment "opengl support needs an OpenGL provider" + depends on BR2_PACKAGE_OPENCV4_WITH_QT5 + depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || \ + !BR2_PACKAGE_HAS_LIBGL + +endif # BR2_PACKAGE_OPENCV4_LIB_HIGHGUI + +config BR2_PACKAGE_OPENCV4_LIB_IMGCODECS + bool "imgcodecs" + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + help + Include opencv_imgcodecs (image codecs) module into the + OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_IMGPROC + bool "imgproc" + # opencv_core dependency is already enabled + help + Include opencv_imgproc (image processing) module into the + OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_ML + bool "ml" + # opencv_core dependency is already enabled + help + Include opencv_ml (machine learning) module into the OpenCV + build. + +config BR2_PACKAGE_OPENCV4_LIB_OBJDETECT + bool "objdetect" + # opencv_core dependency is already enabled + select BR2_PACKAGE_OPENCV4_LIB_CALIB3D + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_ML + help + Include opencv_objdetect (object detection) module into the + OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_PHOTO + bool "photo" + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + help + Include opencv_photo (computational photography) module into + the OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_PYTHON + bool "python" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy + select BR2_PACKAGE_PYTHON_NUMPY + help + Include opencv_python module into the OpenCV build. No + python example is installed. + +comment "python support needs glibc or musl" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) + +config BR2_PACKAGE_OPENCV4_LIB_SHAPE + bool "shape" + # opencv_core dependency is already enabled + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_VIDEO + help + Include opencv_shape (shape descriptors and matchers) module + into the OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_STITCHING + bool "stitching" + select BR2_PACKAGE_OPENCV4_LIB_CALIB3D + select BR2_PACKAGE_OPENCV4_LIB_FEATURES2D + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_OBJDETECT + help + Include opencv_stitching (images stitching) module into the + OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_SUPERRES + bool "superres" + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_VIDEO + help + Include opencv_superres (super resolution) module into the + OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_TS + bool "ts" + # opencv_core dependency is already enabled + select BR2_PACKAGE_OPENCV4_LIB_HIGHGUI + select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_VIDEOIO + help + Include opencv_ts (test) module into the OpenCV build. + +config BR2_PACKAGE_OPENCV4_LIB_VIDEOIO + bool "videoio" + select BR2_PACKAGE_OPENCV4_LIB_IMGCODECS + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + help + Include opencv_videoio (media i/o) module into the OpenCV + build. + +config BR2_PACKAGE_OPENCV4_LIB_VIDEO + bool "video" + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + help + Include opencv_video (video analysis) module into the OpenCV + build. + +config BR2_PACKAGE_OPENCV4_LIB_VIDEOSTAB + bool "videostab" + select BR2_PACKAGE_OPENCV4_LIB_CALIB3D + select BR2_PACKAGE_OPENCV4_LIB_FEATURES2D + select BR2_PACKAGE_OPENCV4_LIB_IMGPROC + select BR2_PACKAGE_OPENCV4_LIB_PHOTO + select BR2_PACKAGE_OPENCV4_LIB_VIDEO + help + Include opencv_videostab (video stabilization) module into + the OpenCV build. + +comment "Test sets" +config BR2_PACKAGE_OPENCV4_BUILD_TESTS + bool "build tests" + +config BR2_PACKAGE_OPENCV4_BUILD_PERF_TESTS + bool "build performance tests" + +comment "3rd party support" + +config BR2_PACKAGE_OPENCV4_WITH_FFMPEG + bool "ffmpeg support" + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + select BR2_PACKAGE_BZIP2 + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_FFMPEG_AVRESAMPLE + select BR2_PACKAGE_FFMPEG_SWSCALE + help + Use ffmpeg from the target system. + +config BR2_PACKAGE_OPENCV4_WITH_GSTREAMER1 + bool "gstreamer-1.x" + depends on BR2_USE_MMU # gstreamer1 -> libglib2 + select BR2_PACKAGE_GSTREAMER1 + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP + help + Enable gstreamer support. + +choice + prompt "jpeg2000 support" + help + Select the desired jpeg2000 library provider. + +config BR2_PACKAGE_OPENCV4_JPEG2000_NONE + bool "none" + +config BR2_PACKAGE_OPENCV4_JPEG2000_WITH_JASPER + bool "jasper" + select BR2_PACKAGE_JASPER + help + Enable jpeg2000 support through jasper. + + Note: this does not use the libjasper bundled with opencv, + but uses the libjasper package installed system-wide by + Buildroot. + +config BR2_PACKAGE_OPENCV4_JPEG2000_WITH_OPENJPEG + bool "openjpeg" + select BR2_PACKAGE_OPENJPEG + help + Enable jpeg2000 support through openjpeg. + + Note: this does not use the openjpeg bundled with opencv, + but uses the openjpeg package installed system-wide by + Buildroot. + +endchoice + +config BR2_PACKAGE_OPENCV4_WITH_JPEG + bool "jpeg support" + select BR2_PACKAGE_JPEG + help + Use shared libjpeg from the target system. + +config BR2_PACKAGE_OPENCV4_WITH_PNG + bool "png support" + select BR2_PACKAGE_LIBPNG + help + Use shared libpng from the target system. + +config BR2_PACKAGE_OPENCV4_WITH_PROTOBUF + bool "protobuf support" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + select BR2_PACKAGE_PROTOBUF + help + Use shared protobuf from the target system. + +config BR2_PACKAGE_OPENCV4_WITH_TIFF + bool "tiff support" + select BR2_PACKAGE_TIFF + help + Use shared libtiff from the target system. + +config BR2_PACKAGE_OPENCV4_WITH_V4L + bool "v4l support" + help + Enable Video 4 Linux support. + + If the package libv4l is enabled, its support is + automatically enabled. + +config BR2_PACKAGE_OPENCV4_WITH_WEBP + bool "webp support" + select BR2_PACKAGE_WEBP + help + Enable WebP support. + + Use shared libwebp from the target system. + +comment "Install options" + +config BR2_PACKAGE_OPENCV4_INSTALL_DATA + bool "install extra data" + help + Install various data that is used by cv libraries and/or + demo applications, specifically for haarcascades and + lbpcascades features. + + For further information: see OpenCV documentation. + +endif # BR2_PACKAGE_OPENCV4 + +comment "opencv4 needs a toolchain w/ C++, NPTL, wchar, dynamic library, gcc >= 4.8" + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 diff --git a/buildroot-2022.02.1/package/opencv4/opencv4.hash b/buildroot-2022.02.1/package/opencv4/opencv4.hash new file mode 100644 index 00000000..6d43138b --- /dev/null +++ b/buildroot-2022.02.1/package/opencv4/opencv4.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 a1cfdcf6619387ca9e232687504da996aaa9f7b5689986b8331ec02cb61d28ad opencv4-4.5.5.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/opencv4/opencv4.mk b/buildroot-2022.02.1/package/opencv4/opencv4.mk new file mode 100644 index 00000000..e75f7144 --- /dev/null +++ b/buildroot-2022.02.1/package/opencv4/opencv4.mk @@ -0,0 +1,378 @@ +################################################################################ +# +# opencv4 +# +################################################################################ + +OPENCV4_VERSION = 4.5.5 +OPENCV4_SITE = $(call github,opencv,opencv,$(OPENCV4_VERSION)) +OPENCV4_INSTALL_STAGING = YES +OPENCV4_LICENSE = Apache-2.0 +OPENCV4_LICENSE_FILES = LICENSE +OPENCV4_CPE_ID_VENDOR = opencv +OPENCV4_CPE_ID_PRODUCT = opencv +OPENCV4_SUPPORTS_IN_SOURCE_BUILD = NO + +OPENCV4_CXXFLAGS = $(TARGET_CXXFLAGS) + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +OPENCV4_CXXFLAGS += -latomic +endif + +# Fix c++11 build with missing std::exception_ptr +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_64735),y) +OPENCV4_CXXFLAGS += -DCV__EXCEPTION_PTR=0 +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) +OPENCV4_CXXFLAGS += -O0 +endif + +# OpenCV component options +OPENCV4_CONF_OPTS += \ + -DCMAKE_CXX_FLAGS="$(OPENCV4_CXXFLAGS)" \ + -DBUILD_DOCS=OFF \ + -DBUILD_PERF_TESTS=$(if $(BR2_PACKAGE_OPENCV4_BUILD_PERF_TESTS),ON,OFF) \ + -DBUILD_TESTS=$(if $(BR2_PACKAGE_OPENCV4_BUILD_TESTS),ON,OFF) \ + -DBUILD_WITH_DEBUG_INFO=OFF \ + -DDOWNLOAD_EXTERNAL_TEST_DATA=OFF \ + -DOPENCV_GENERATE_PKGCONFIG=ON \ + -DOPENCV_ENABLE_PKG_CONFIG=ON + +ifeq ($(BR2_PACKAGE_OPENCV4_BUILD_TESTS)$(BR2_PACKAGE_OPENCV4_BUILD_PERF_TESTS),) +OPENCV4_CONF_OPTS += -DINSTALL_TEST=OFF +else +OPENCV4_CONF_OPTS += -DINSTALL_TEST=ON +endif + +# OpenCV build options +OPENCV4_CONF_OPTS += \ + -DBUILD_WITH_STATIC_CRT=OFF \ + -DENABLE_CCACHE=OFF \ + -DENABLE_COVERAGE=OFF \ + -DENABLE_FAST_MATH=ON \ + -DENABLE_IMPL_COLLECTION=OFF \ + -DENABLE_NOISY_WARNINGS=OFF \ + -DENABLE_OMIT_FRAME_POINTER=ON \ + -DENABLE_PRECOMPILED_HEADERS=OFF \ + -DENABLE_PROFILING=OFF \ + -DOPENCV_WARNINGS_ARE_ERRORS=OFF + +# OpenCV link options +OPENCV4_CONF_OPTS += \ + -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=OFF \ + -DCMAKE_SKIP_RPATH=OFF \ + -DCMAKE_USE_RELATIVE_PATHS=OFF + +# OpenCV packaging options: +OPENCV4_CONF_OPTS += \ + -DBUILD_PACKAGE=OFF \ + -DENABLE_SOLUTION_FOLDERS=OFF \ + -DINSTALL_CREATE_DISTRIB=OFF + +# OpenCV module selection +# * Modules on: +# - core: if not set, opencv does not build anything +# - hal: core's dependency +# * Modules off: +# - android*: android stuff +# - apps: programs for training classifiers +# - java: java bindings +# - viz: missing VTK dependency +# - world: all-in-one module +# +# * Contrib modules from [1] are disabled: +# - opencv_contrib package is not available in Buildroot; +# - OPENCV_EXTRA_MODULES_PATH is not set. +# +# [1] https://github.com/Itseez/opencv_contrib +OPENCV4_CONF_OPTS += \ + -DBUILD_opencv_androidcamera=OFF \ + -DBUILD_opencv_apps=OFF \ + -DBUILD_opencv_calib3d=$(if $(BR2_PACKAGE_OPENCV4_LIB_CALIB3D),ON,OFF) \ + -DBUILD_opencv_core=ON \ + -DBUILD_opencv_features2d=$(if $(BR2_PACKAGE_OPENCV4_LIB_FEATURES2D),ON,OFF) \ + -DBUILD_opencv_flann=$(if $(BR2_PACKAGE_OPENCV4_LIB_FLANN),ON,OFF) \ + -DBUILD_opencv_highgui=$(if $(BR2_PACKAGE_OPENCV4_LIB_HIGHGUI),ON,OFF) \ + -DBUILD_opencv_imgcodecs=$(if $(BR2_PACKAGE_OPENCV4_LIB_IMGCODECS),ON,OFF) \ + -DBUILD_opencv_imgproc=$(if $(BR2_PACKAGE_OPENCV4_LIB_IMGPROC),ON,OFF) \ + -DBUILD_opencv_java=OFF \ + -DBUILD_opencv_ml=$(if $(BR2_PACKAGE_OPENCV4_LIB_ML),ON,OFF) \ + -DBUILD_opencv_objdetect=$(if $(BR2_PACKAGE_OPENCV4_LIB_OBJDETECT),ON,OFF) \ + -DBUILD_opencv_photo=$(if $(BR2_PACKAGE_OPENCV4_LIB_PHOTO),ON,OFF) \ + -DBUILD_opencv_shape=$(if $(BR2_PACKAGE_OPENCV4_LIB_SHAPE),ON,OFF) \ + -DBUILD_opencv_stitching=$(if $(BR2_PACKAGE_OPENCV4_LIB_STITCHING),ON,OFF) \ + -DBUILD_opencv_superres=$(if $(BR2_PACKAGE_OPENCV4_LIB_SUPERRES),ON,OFF) \ + -DBUILD_opencv_ts=$(if $(BR2_PACKAGE_OPENCV4_LIB_TS),ON,OFF) \ + -DBUILD_opencv_video=$(if $(BR2_PACKAGE_OPENCV4_LIB_VIDEO),ON,OFF) \ + -DBUILD_opencv_videoio=$(if $(BR2_PACKAGE_OPENCV4_LIB_VIDEOIO),ON,OFF) \ + -DBUILD_opencv_videostab=$(if $(BR2_PACKAGE_OPENCV4_LIB_VIDEOSTAB),ON,OFF) \ + -DBUILD_opencv_viz=OFF \ + -DBUILD_opencv_world=OFF + +# Hardware support options. +# +# * PowerPC and VFPv3 support are turned off since their only effects +# are altering CFLAGS, adding '-mcpu=G3 -mtune=G5' or '-mfpu=vfpv3' +# to them, which is already handled by Buildroot. +# * NEON logic is needed as it is not only used to add CFLAGS, but +# also to enable additional NEON code. +OPENCV4_CONF_OPTS += \ + -DENABLE_POWERPC=OFF \ + -DENABLE_NEON=$(if $(BR2_ARM_CPU_HAS_NEON),ON,OFF) \ + -DENABLE_VFPV3=OFF + +# Cuda stuff +OPENCV4_CONF_OPTS += \ + -DBUILD_CUDA_STUBS=OFF \ + -DBUILD_opencv_cudaarithm=OFF \ + -DBUILD_opencv_cudabgsegm=OFF \ + -DBUILD_opencv_cudacodec=OFF \ + -DBUILD_opencv_cudafeatures2d=OFF \ + -DBUILD_opencv_cudafilters=OFF \ + -DBUILD_opencv_cudaimgproc=OFF \ + -DBUILD_opencv_cudalegacy=OFF \ + -DBUILD_opencv_cudaobjdetect=OFF \ + -DBUILD_opencv_cudaoptflow=OFF \ + -DBUILD_opencv_cudastereo=OFF \ + -DBUILD_opencv_cudawarping=OFF \ + -DBUILD_opencv_cudev=OFF \ + -DWITH_CUBLAS=OFF \ + -DWITH_CUDA=OFF \ + -DWITH_CUFFT=OFF + +# NVidia stuff +OPENCV4_CONF_OPTS += -DWITH_NVCUVID=OFF + +# AMD stuff +OPENCV4_CONF_OPTS += \ + -DWITH_OPENCLAMDBLAS=OFF \ + -DWITH_OPENCLAMDFFT=OFF + +# Intel stuff +OPENCV4_CONF_OPTS += \ + -DBUILD_WITH_DYNAMIC_IPP=OFF \ + -DWITH_INTELPERC=OFF \ + -DWITH_IPP=OFF \ + -DWITH_IPP_A=OFF \ + -DWITH_TBB=OFF + +# Smartek stuff +OPENCV4_CONF_OPTS += -DWITH_GIGEAPI=OFF + +# Prosilica stuff +OPENCV4_CONF_OPTS += -DWITH_PVAPI=OFF + +# Ximea stuff +OPENCV4_CONF_OPTS += -DWITH_XIMEA=OFF + +# Non-Linux support (Android options) must remain OFF: +OPENCV4_CONF_OPTS += \ + -DANDROID=OFF \ + -DBUILD_ANDROID_CAMERA_WRAPPER=OFF \ + -DBUILD_ANDROID_EXAMPLES=OFF \ + -DBUILD_ANDROID_SERVICE=OFF \ + -DBUILD_FAT_JAVA_LIB=OFF \ + -DINSTALL_ANDROID_EXAMPLES=OFF \ + -DWITH_ANDROID_CAMERA=OFF + +# Non-Linux support (Mac OSX options) must remain OFF: +OPENCV4_CONF_OPTS += \ + -DWITH_AVFOUNDATION=OFF \ + -DWITH_CARBON=OFF \ + -DWITH_QUICKTIME=OFF + +# Non-Linux support (Windows options) must remain OFF: +OPENCV4_CONF_OPTS += \ + -DWITH_CSTRIPES=OFF \ + -DWITH_DSHOW=OFF \ + -DWITH_MSMF=OFF \ + -DWITH_VFW=OFF \ + -DWITH_VIDEOINPUT=OFF \ + -DWITH_WIN32UI=OFF + +# Software/3rd-party support options: +# - disable all examples +OPENCV4_CONF_OPTS += \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_JASPER=OFF \ + -DBUILD_JPEG=OFF \ + -DBUILD_OPENEXR=OFF \ + -DBUILD_OPENJPEG=OFF \ + -DBUILD_PNG=OFF \ + -DBUILD_PROTOBUF=OFF \ + -DBUILD_TIFF=OFF \ + -DBUILD_ZLIB=OFF \ + -DINSTALL_C_EXAMPLES=OFF \ + -DINSTALL_PYTHON_EXAMPLES=OFF \ + -DINSTALL_TO_MANGLED_PATHS=OFF + +# Disabled features (mostly because they are not available in Buildroot), but +# - eigen: OpenCV does not use it, not take any benefit from it. +OPENCV4_CONF_OPTS += \ + -DWITH_1394=OFF \ + -DWITH_CLP=OFF \ + -DWITH_EIGEN=OFF \ + -DWITH_GDAL=OFF \ + -DWITH_GPHOTO2=OFF \ + -DWITH_GSTREAMER_0_10=OFF \ + -DWITH_LAPACK=OFF \ + -DWITH_MATLAB=OFF \ + -DWITH_OPENCL=OFF \ + -DWITH_OPENCL_SVM=OFF \ + -DWITH_OPENEXR=OFF \ + -DWITH_OPENNI2=OFF \ + -DWITH_OPENNI=OFF \ + -DWITH_UNICAP=OFF \ + -DWITH_VA=OFF \ + -DWITH_VA_INTEL=OFF \ + -DWITH_VTK=OFF \ + -DWITH_XINE=OFF + +OPENCV4_DEPENDENCIES += host-pkgconf zlib + +ifeq ($(BR2_PACKAGE_OPENCV4_JPEG2000_WITH_JASPER),y) +OPENCV4_CONF_OPTS += -DWITH_JASPER=ON +OPENCV4_DEPENDENCIES += jasper +else +OPENCV4_CONF_OPTS += -DWITH_JASPER=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_JPEG2000_WITH_OPENJPEG),y) +OPENCV4_CONF_OPTS += -DWITH_OPENJPEG=ON +OPENCV4_DEPENDENCIES += openjpeg +else +OPENCV4_CONF_OPTS += -DWITH_OPENJPEG=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_FFMPEG),y) +OPENCV4_CONF_OPTS += -DWITH_FFMPEG=ON +OPENCV4_DEPENDENCIES += ffmpeg bzip2 +else +OPENCV4_CONF_OPTS += -DWITH_FFMPEG=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_GSTREAMER1),y) +OPENCV4_CONF_OPTS += -DWITH_GSTREAMER=ON +OPENCV4_DEPENDENCIES += gstreamer1 gst1-plugins-base +else +OPENCV4_CONF_OPTS += -DWITH_GSTREAMER=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_GTK)$(BR2_PACKAGE_OPENCV4_WITH_GTK3),) +OPENCV4_CONF_OPTS += -DWITH_GTK=OFF -DWITH_GTK_2_X=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_GTK),y) +OPENCV4_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=ON +OPENCV4_DEPENDENCIES += libgtk2 +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_GTK3),y) +OPENCV4_CONF_OPTS += -DWITH_GTK=ON -DWITH_GTK_2_X=OFF +OPENCV4_DEPENDENCIES += libgtk3 +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_JPEG),y) +OPENCV4_CONF_OPTS += -DWITH_JPEG=ON +OPENCV4_DEPENDENCIES += jpeg +else +OPENCV4_CONF_OPTS += -DWITH_JPEG=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_OPENGL),y) +OPENCV4_CONF_OPTS += -DWITH_OPENGL=ON +OPENCV4_DEPENDENCIES += libgl +else +OPENCV4_CONF_OPTS += -DWITH_OPENGL=OFF +endif + +OPENCV4_CONF_OPTS += -DWITH_OPENMP=$(if $(BR2_TOOLCHAIN_HAS_OPENMP),ON,OFF) + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_PNG),y) +OPENCV4_CONF_OPTS += -DWITH_PNG=ON +OPENCV4_DEPENDENCIES += libpng +else +OPENCV4_CONF_OPTS += -DWITH_PNG=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_PROTOBUF),y) +OPENCV4_CONF_OPTS += \ + -DPROTOBUF_UPDATE_FILES=ON \ + -DWITH_PROTOBUF=ON +OPENCV4_DEPENDENCIES += protobuf +else +OPENCV4_CONF_OPTS += -DWITH_PROTOBUF=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_QT5),y) +OPENCV4_CONF_OPTS += -DWITH_QT=5 +OPENCV4_DEPENDENCIES += qt5base +else +OPENCV4_CONF_OPTS += -DWITH_QT=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_TIFF),y) +OPENCV4_CONF_OPTS += -DWITH_TIFF=ON +OPENCV4_DEPENDENCIES += tiff +else +OPENCV4_CONF_OPTS += -DWITH_TIFF=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_V4L),y) +OPENCV4_CONF_OPTS += \ + -DWITH_LIBV4L=$(if $(BR2_PACKAGE_LIBV4L),ON,OFF) \ + -DWITH_V4L=ON +OPENCV4_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBV4L),libv4l) +else +OPENCV4_CONF_OPTS += -DWITH_V4L=OFF -DWITH_LIBV4L=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_WITH_WEBP),y) +OPENCV4_CONF_OPTS += -DWITH_WEBP=ON +OPENCV4_DEPENDENCIES += webp +else +OPENCV4_CONF_OPTS += -DWITH_WEBP=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENCV4_LIB_PYTHON),y) +OPENCV4_CONF_OPTS += \ + -DBUILD_opencv_python2=OFF \ + -DBUILD_opencv_python3=ON \ + -DPYTHON3_EXECUTABLE=$(HOST_DIR)/bin/python3 \ + -DPYTHON3_INCLUDE_PATH=$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + -DPYTHON3_LIBRARIES=$(STAGING_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR).so \ + -DPYTHON3_NUMPY_INCLUDE_DIRS=$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/numpy/core/include \ + -DPYTHON3_PACKAGES_PATH=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + -DPYTHON3_NUMPY_VERSION=$(PYTHON_NUMPY_VERSION) +OPENCV4_DEPENDENCIES += python3 +OPENCV4_KEEP_PY_FILES += usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/cv2/config*.py +OPENCV4_CONF_ENV += $(PKG_PYTHON_DISTUTILS_ENV) +OPENCV4_DEPENDENCIES += python-numpy +else +OPENCV4_CONF_OPTS += \ + -DBUILD_opencv_python2=OFF \ + -DBUILD_opencv_python3=OFF +endif + +# Installation hooks: +define OPENCV4_CLEAN_INSTALL_LICENSE + $(RM) -fr $(TARGET_DIR)/usr/share/licenses/opencv4 +endef +OPENCV4_POST_INSTALL_TARGET_HOOKS += OPENCV4_CLEAN_INSTALL_LICENSE + +define OPENCV4_CLEAN_INSTALL_VALGRIND + $(RM) -f $(TARGET_DIR)/usr/share/opencv4/valgrind* +endef +OPENCV4_POST_INSTALL_TARGET_HOOKS += OPENCV4_CLEAN_INSTALL_VALGRIND + +ifneq ($(BR2_PACKAGE_OPENCV4_INSTALL_DATA),y) +define OPENCV4_CLEAN_INSTALL_DATA + $(RM) -fr $(TARGET_DIR)/usr/share/opencv4/haarcascades \ + $(TARGET_DIR)/usr/share/opencv4/lbpcascades +endef +OPENCV4_POST_INSTALL_TARGET_HOOKS += OPENCV4_CLEAN_INSTALL_DATA +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/openfpgaloader/Config.in b/buildroot-2022.02.1/package/openfpgaloader/Config.in new file mode 100644 index 00000000..054278c2 --- /dev/null +++ b/buildroot-2022.02.1/package/openfpgaloader/Config.in @@ -0,0 +1,32 @@ +config BR2_PACKAGE_OPENFPGALOADER + bool "openfpgaloader" + depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi1 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi1 -> libusb + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBFTDI1 + select BR2_PACKAGE_ZLIB + help + Universal utility for programming FPGA + + https://github.com/trabucayre/openFPGALoader/ + +if BR2_PACKAGE_OPENFPGALOADER + +config BR2_PACAKGE_OPENFPGALOADER_CMSIS + bool "CMSIS-DAP support" + depends on BR2_PACKAGE_HAS_UDEV # hidapi + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # hidapi -> libusb + select BR2_PACKAGE_HIDAPI + help + openfpgaloader CMSIS-DAP support + +comment "openfpgaloader CMSIS-DAP needs udev /dev management and a toolchain w/ NPTL threads" + depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS_NPTL + +endif + +comment "openfpgaloader needs a toolchain w/ threads, C++, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/openfpgaloader/openfpgaloader.hash b/buildroot-2022.02.1/package/openfpgaloader/openfpgaloader.hash new file mode 100644 index 00000000..6c9d8a2b --- /dev/null +++ b/buildroot-2022.02.1/package/openfpgaloader/openfpgaloader.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 a862a209d696becff915a77512e6a8c22f92d73480a45cc12273d9ad1db60d23 openfpgaloader-0.6.1.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE diff --git a/buildroot-2022.02.1/package/openfpgaloader/openfpgaloader.mk b/buildroot-2022.02.1/package/openfpgaloader/openfpgaloader.mk new file mode 100644 index 00000000..0c39aad6 --- /dev/null +++ b/buildroot-2022.02.1/package/openfpgaloader/openfpgaloader.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# openfpgaloader +# +################################################################################ + +OPENFPGALOADER_VERSION = 0.6.1 +OPENFPGALOADER_SITE = $(call github,trabucayre,openFPGALoader,v$(OPENFPGALOADER_VERSION)) +OPENFPGALOADER_LICENSE = Apache-2.0 +OPENFPGALOADER_LICENSE_FILES = LICENSE +OPENFPGALOADER_DEPENDENCIES = libftdi1 zlib + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +OPENFPGALOADER_DEPENDENCIES += udev +OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=ON +else +OPENFPGALOADER_CONF_OPTS += -DENABLE_UDEV=OFF +endif + +ifeq ($(BR2_PACAKGE_OPENFPGALOADER_CMSIS),y) +OPENFPGALOADER_DEPENDENCIES += hidapi +OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=ON +else +OPENFPGALOADER_CONF_OPTS += -DENABLE_CMSISDAP=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/opengl/Config.in b/buildroot-2022.02.1/package/opengl/Config.in new file mode 100644 index 00000000..cfa51def --- /dev/null +++ b/buildroot-2022.02.1/package/opengl/Config.in @@ -0,0 +1,7 @@ +source "package/opengl/libgl/Config.in" +source "package/opengl/libegl/Config.in" +source "package/opengl/libgbm/Config.in" +source "package/opengl/libgles/Config.in" +source "package/opengl/libopencl/Config.in" +source "package/opengl/libopenvg/Config.in" +source "package/opengl/libopenmax/Config.in" diff --git a/buildroot-2021.05/package/opengl/libegl/Config.in b/buildroot-2022.02.1/package/opengl/libegl/Config.in similarity index 100% rename from buildroot-2021.05/package/opengl/libegl/Config.in rename to buildroot-2022.02.1/package/opengl/libegl/Config.in diff --git a/buildroot-2021.05/package/opengl/libegl/libegl.mk b/buildroot-2022.02.1/package/opengl/libegl/libegl.mk similarity index 100% rename from buildroot-2021.05/package/opengl/libegl/libegl.mk rename to buildroot-2022.02.1/package/opengl/libegl/libegl.mk diff --git a/buildroot-2022.02.1/package/opengl/libgbm/Config.in b/buildroot-2022.02.1/package/opengl/libgbm/Config.in new file mode 100644 index 00000000..6eb39761 --- /dev/null +++ b/buildroot-2022.02.1/package/opengl/libgbm/Config.in @@ -0,0 +1,25 @@ +config BR2_PACKAGE_HAS_LIBGBM + bool + +config BR2_PACKAGE_PROVIDES_LIBGBM + string + depends on BR2_PACKAGE_HAS_LIBGBM + +# gbm implementations should select +# BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT if they +# provide the format modifier plane count feature. This API was +# initially introduced in mesa3d version 17. A gbm implementation +# provides this feature if it is implement function +# gbm_device_get_format_modifier_plane_count. +config BR2_PACKAGE_LIBGBM_HAS_FEATURE_FORMAT_MODIFIER_PLANE_COUNT + bool + depends on BR2_PACKAGE_HAS_LIBGBM + +# gbm implementations should select +# BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF if they provide the dma +# buffer feature. This API was initially introduced in mesa3d version +# 10. A gbm implementation provides this feature if it is implement +# function gbm_bo_get_fd. +config BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF + bool + depends on BR2_PACKAGE_HAS_LIBGBM diff --git a/buildroot-2022.02.1/package/opengl/libgbm/libgbm.mk b/buildroot-2022.02.1/package/opengl/libgbm/libgbm.mk new file mode 100644 index 00000000..ecab2347 --- /dev/null +++ b/buildroot-2022.02.1/package/opengl/libgbm/libgbm.mk @@ -0,0 +1,9 @@ +################################################################################ +# +# libgbm +# +################################################################################ + +# This package requires to install a gbm.pc which needs +# to be provided by GBM providers. +$(eval $(virtual-package)) diff --git a/buildroot-2021.05/package/opengl/libgl/Config.in b/buildroot-2022.02.1/package/opengl/libgl/Config.in similarity index 100% rename from buildroot-2021.05/package/opengl/libgl/Config.in rename to buildroot-2022.02.1/package/opengl/libgl/Config.in diff --git a/buildroot-2021.05/package/opengl/libgl/libgl.mk b/buildroot-2022.02.1/package/opengl/libgl/libgl.mk similarity index 100% rename from buildroot-2021.05/package/opengl/libgl/libgl.mk rename to buildroot-2022.02.1/package/opengl/libgl/libgl.mk diff --git a/buildroot-2021.05/package/opengl/libgles/Config.in b/buildroot-2022.02.1/package/opengl/libgles/Config.in similarity index 100% rename from buildroot-2021.05/package/opengl/libgles/Config.in rename to buildroot-2022.02.1/package/opengl/libgles/Config.in diff --git a/buildroot-2021.05/package/opengl/libgles/libgles.mk b/buildroot-2022.02.1/package/opengl/libgles/libgles.mk similarity index 100% rename from buildroot-2021.05/package/opengl/libgles/libgles.mk rename to buildroot-2022.02.1/package/opengl/libgles/libgles.mk diff --git a/buildroot-2021.05/package/opengl/libopencl/Config.in b/buildroot-2022.02.1/package/opengl/libopencl/Config.in similarity index 100% rename from buildroot-2021.05/package/opengl/libopencl/Config.in rename to buildroot-2022.02.1/package/opengl/libopencl/Config.in diff --git a/buildroot-2021.05/package/opengl/libopencl/libopencl.mk b/buildroot-2022.02.1/package/opengl/libopencl/libopencl.mk similarity index 100% rename from buildroot-2021.05/package/opengl/libopencl/libopencl.mk rename to buildroot-2022.02.1/package/opengl/libopencl/libopencl.mk diff --git a/buildroot-2021.05/package/opengl/libopenmax/Config.in b/buildroot-2022.02.1/package/opengl/libopenmax/Config.in similarity index 100% rename from buildroot-2021.05/package/opengl/libopenmax/Config.in rename to buildroot-2022.02.1/package/opengl/libopenmax/Config.in diff --git a/buildroot-2021.05/package/opengl/libopenmax/libopenmax.mk b/buildroot-2022.02.1/package/opengl/libopenmax/libopenmax.mk similarity index 100% rename from buildroot-2021.05/package/opengl/libopenmax/libopenmax.mk rename to buildroot-2022.02.1/package/opengl/libopenmax/libopenmax.mk diff --git a/buildroot-2021.05/package/opengl/libopenvg/Config.in b/buildroot-2022.02.1/package/opengl/libopenvg/Config.in similarity index 100% rename from buildroot-2021.05/package/opengl/libopenvg/Config.in rename to buildroot-2022.02.1/package/opengl/libopenvg/Config.in diff --git a/buildroot-2021.05/package/opengl/libopenvg/libopenvg.mk b/buildroot-2022.02.1/package/opengl/libopenvg/libopenvg.mk similarity index 100% rename from buildroot-2021.05/package/opengl/libopenvg/libopenvg.mk rename to buildroot-2022.02.1/package/opengl/libopenvg/libopenvg.mk diff --git a/buildroot-2021.05/package/opengl/opengl.mk b/buildroot-2022.02.1/package/opengl/opengl.mk similarity index 100% rename from buildroot-2021.05/package/opengl/opengl.mk rename to buildroot-2022.02.1/package/opengl/opengl.mk diff --git a/buildroot-2022.02.1/package/openipmi/0001-Avoid-searching-host-library-path.patch b/buildroot-2022.02.1/package/openipmi/0001-Avoid-searching-host-library-path.patch new file mode 100644 index 00000000..15b4510f --- /dev/null +++ b/buildroot-2022.02.1/package/openipmi/0001-Avoid-searching-host-library-path.patch @@ -0,0 +1,53 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Wed, 22 Jul 2015 07:04:33 +0300 +Subject: [PATCH] Avoid searching host library path + +The $(libdir) variable points to the location of the directory on the target +system, /usr/lib by default. When cross compiling this directory contains the +host libraries which may be different than target libraries. Don't use +$(libdir) in the library search path. + +Signed-off-by: Baruch Siach +Signed-off-by: Joel Stanley +[Fabrice: refresh patch for 2.0.32] +Signed-off-by: Fabrice Fontaine +[Upstream status: https://sourceforge.net/p/openipmi/patches/35] +--- + cmdlang/Makefile.am | 3 +-- + unix/Makefile.am | 6 ++---- + 2 files changed, 3 insertions(+), 6 deletions(-) + +diff --git a/cmdlang/Makefile.am b/cmdlang/Makefile.am +index 264ee12be79f..0b3843784656 100644 +--- a/cmdlang/Makefile.am ++++ b/cmdlang/Makefile.am +@@ -15,7 +15,7 @@ libOpenIPMIcmdlang_la_SOURCES = cmdlang.c cmd_domain.c cmd_entity.c cmd_mc.c \ + $(top_builddir)/utils/libOpenIPMIutils.la \ + $(top_builddir)/lib/libOpenIPMI.la + libOpenIPMIcmdlang_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ +- -L$(libdir) -no-undefined ++ -no-undefined + + bin_PROGRAMS = openipmish + +diff --git a/unix/Makefile.am b/unix/Makefile.am +index 5128839dad13..bd0f897ba8d6 100644 +--- a/unix/Makefile.am ++++ b/unix/Makefile.am +@@ -10,12 +10,12 @@ lib_LTLIBRARIES = libOpenIPMIposix.la libOpenIPMIpthread.la + libOpenIPMIpthread_la_LIBADD = -lpthread $(GDBM_LIB) \ + $(top_builddir)/utils/libOpenIPMIutils.la $(RT_LIB) + libOpenIPMIpthread_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ +- -L$(libdir) -no-undefined ++ -no-undefined + + libOpenIPMIposix_la_SOURCES = posix_os_hnd.c selector.c + libOpenIPMIposix_la_LIBADD = $(top_builddir)/utils/libOpenIPMIutils.la \ + $(GDBM_LIB) $(RT_LIB) + libOpenIPMIposix_la_LDFLAGS = -rdynamic -version-info $(LD_VERSION) \ +- -L$(libdir) -no-undefined ++ -no-undefined + + noinst_HEADERS = heap.h + diff --git a/buildroot-2022.02.1/package/openipmi/0002-configure.ac-add-without-execinfo-option.patch b/buildroot-2022.02.1/package/openipmi/0002-configure.ac-add-without-execinfo-option.patch new file mode 100644 index 00000000..e1838a06 --- /dev/null +++ b/buildroot-2022.02.1/package/openipmi/0002-configure.ac-add-without-execinfo-option.patch @@ -0,0 +1,55 @@ +From 388033e3d0129510c3884333bc428cefeb75e0b8 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 3 Jan 2022 23:27:21 +0100 +Subject: [PATCH] configure.ac: add --without-execinfo option + +Add an option to allow the user to disable execinfo to avoid the +following build failure on musl with +https://github.com/mikroskeem/libexecinfo: + +/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-musl/10.3.0/../../../../x86_64-buildroot-linux-musl/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/openipmi-2.0.28/utils/.libs/libOpenIPMIutils.so: undefined reference to `backtrace' + +Fixes: + - http://autobuild.buildroot.org/results/dcc33c5cca97d538231647a94212450f043974b3 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://sourceforge.net/p/openipmi/patches/36] +--- + configure.ac | 14 +++++++++++++- + 1 file changed, 13 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 607864b9..f369166f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -77,6 +77,16 @@ AC_ARG_WITH(poptlibs, + POPTLIBS="$withval" + ) + ++tryexecinfo=yes ++AC_ARG_WITH(execinfo, ++[ --with-execinfo[[=yes|no]] Look for execinfo.], ++ if test "x$withval" = "xyes"; then ++ tryexecinfo=yes ++ elif test "x$withval" = "xno"; then ++ tryexecinfo=no ++ fi, ++) ++ + # If UCD SNMP requires OpenSSL, this tells where to find the crypto lib + tryopenssl=yes + AC_ARG_WITH(openssl, +@@ -275,7 +285,9 @@ AM_PROG_CC_C_O + AC_PROG_LIBTOOL + AC_STDC_HEADERS + +-AC_CHECK_HEADERS(execinfo.h) ++if test "x$tryexecinfo" != "xno"; then ++ AC_CHECK_HEADERS(execinfo.h) ++fi + AC_CHECK_HEADERS([netinet/ether.h]) + AC_CHECK_HEADERS([sys/ethernet.h]) + +-- +2.34.1 + diff --git a/buildroot-2021.05/package/openipmi/Config.in b/buildroot-2022.02.1/package/openipmi/Config.in similarity index 100% rename from buildroot-2021.05/package/openipmi/Config.in rename to buildroot-2022.02.1/package/openipmi/Config.in diff --git a/buildroot-2022.02.1/package/openipmi/openipmi.hash b/buildroot-2022.02.1/package/openipmi/openipmi.hash new file mode 100644 index 00000000..eded076a --- /dev/null +++ b/buildroot-2022.02.1/package/openipmi/openipmi.hash @@ -0,0 +1,8 @@ +# From http://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library/ +sha1 73d7dce4312b006983b11367e4a43d4ec52cf888 OpenIPMI-2.0.32.tar.gz +md5 532404c9df7d0e8bde975b95b9e6775b OpenIPMI-2.0.32.tar.gz +# Locally computed +sha256 f6d0fd4c0a74b05f80907229d0b270f54ca23294bcc11979f8b8d12766786945 OpenIPMI-2.0.32.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING +sha256 185323a62589e7ee80f86bf2ea29caad9a09fdda0ea3f1c00db8b778c7edf60e COPYING.BSD +sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING.LIB diff --git a/buildroot-2022.02.1/package/openipmi/openipmi.mk b/buildroot-2022.02.1/package/openipmi/openipmi.mk new file mode 100644 index 00000000..b3a4d90d --- /dev/null +++ b/buildroot-2022.02.1/package/openipmi/openipmi.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# openipmi +# +################################################################################ + +OPENIPMI_VERSION = 2.0.32 +OPENIPMI_SITE = https://sourceforge.net/projects/openipmi/files/OpenIPMI%202.0%20Library +OPENIPMI_SOURCE = OpenIPMI-$(OPENIPMI_VERSION).tar.gz +OPENIPMI_LICENSE = LGPL-2.0+, GPL-2.0+, BSD-3-Clause +OPENIPMI_LICENSE_FILES = COPYING.LIB COPYING COPYING.BSD +OPENIPMI_DEPENDENCIES = popt ncurses readline host-pkgconf +OPENIPMI_INSTALL_STAGING = YES +# Patching Makefile.am +OPENIPMI_AUTORECONF = YES +OPENIPMI_CONF_ENV = ac_cv_path_pkgprog="$(PKG_CONFIG_HOST_BINARY)" +OPENIPMI_CONF_OPTS = \ + --with-execinfo=no \ + --with-glib=no \ + --with-tcl=no \ + --with-perl=no \ + --with-python=no \ + --with-swig=no + +ifeq ($(BR2_PACKAGE_GDBM),y) +OPENIPMI_DEPENDENCIES += gdbm +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +OPENIPMI_DEPENDENCIES += openssl +OPENIPMI_CONF_OPTS += --with-openssl=yes +else +OPENIPMI_CONF_OPTS += --with-openssl=no +endif + +ifeq ($(BR2_PACKAGE_NETSNMP),y) +OPENIPMI_DEPENDENCIES += netsnmp +OPENIPMI_CONF_OPTS += --with-ucdsnmp=yes +else +OPENIPMI_CONF_OPTS += --with-ucdsnmp=no +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/openjdk-bin/openjdk-bin.hash b/buildroot-2022.02.1/package/openjdk-bin/openjdk-bin.hash new file mode 100644 index 00000000..bbc939d4 --- /dev/null +++ b/buildroot-2022.02.1/package/openjdk-bin/openjdk-bin.hash @@ -0,0 +1,9 @@ +# https://github.com/adoptium/temurin17-binaries/releases +sha256 6ea18c276dcbb8522feeebcfc3a4b5cb7c7e7368ba8590d3326c6c3efc5448b6 OpenJDK17U-jdk_x64_linux_hotspot_17.0.1_12.tar.gz + +# From https://github.com/adoptium/temurin11-binaries/releases +sha256 3b1c0c34be4c894e64135a454f2d5aaa4bd10aea04ec2fa0c0efe6bb26528e30 OpenJDK11U-jdk_x64_linux_hotspot_11.0.13_8.tar.gz + +# Locally calculated +sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 legal/java.prefs/LICENSE +sha256 a44eb7b5caf5534c6ef536b21edb40b4d6babf91bf97d9d45596868618b2c6fb legal/java.prefs/ASSEMBLY_EXCEPTION diff --git a/buildroot-2022.02.1/package/openjdk-bin/openjdk-bin.mk b/buildroot-2022.02.1/package/openjdk-bin/openjdk-bin.mk new file mode 100644 index 00000000..266c93d3 --- /dev/null +++ b/buildroot-2022.02.1/package/openjdk-bin/openjdk-bin.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# host-openjdk-bin +# +################################################################################ + +ifeq ($(BR2_PACKAGE_OPENJDK_VERSION_17),y) +HOST_OPENJDK_BIN_VERSION_MAJOR = 17 +HOST_OPENJDK_BIN_VERSION_MINOR = 0.1_12 +else +HOST_OPENJDK_BIN_VERSION_MAJOR = 11 +HOST_OPENJDK_BIN_VERSION_MINOR = 0.13_8 +endif +HOST_OPENJDK_BIN_VERSION = $(HOST_OPENJDK_BIN_VERSION_MAJOR).$(HOST_OPENJDK_BIN_VERSION_MINOR) +HOST_OPENJDK_BIN_SOURCE = OpenJDK$(HOST_OPENJDK_BIN_VERSION_MAJOR)U-jdk_x64_linux_hotspot_$(HOST_OPENJDK_BIN_VERSION).tar.gz +HOST_OPENJDK_BIN_SITE = https://github.com/adoptium/temurin$(HOST_OPENJDK_BIN_VERSION_MAJOR)-binaries/releases/download/jdk-$(subst _,%2B,$(HOST_OPENJDK_BIN_VERSION)) + +HOST_OPENJDK_BIN_LICENSE = GPL-2.0+ with exception +HOST_OPENJDK_BIN_LICENSE_FILES = legal/java.prefs/LICENSE legal/java.prefs/ASSEMBLY_EXCEPTION + +HOST_OPENJDK_BIN_ROOT_DIR = $(HOST_DIR)/usr/lib/jvm + +# unpack200 has an invalid RPATH and relies on libzlib. When +# host-libzlib is installed on the system, the error "ERROR: package +# host-libzlib installs executables without proper RPATH: will occur. +# Because unpack200 is a deprecated tool, removing it to fix this +# issue is safe. +define HOST_OPENJDK_BIN_INSTALL_CMDS + mkdir -p $(HOST_OPENJDK_BIN_ROOT_DIR) + cp -dpfr $(@D)/* $(HOST_OPENJDK_BIN_ROOT_DIR) + $(RM) -f $(HOST_OPENJDK_BIN_ROOT_DIR)/bin/unpack200 +endef + +$(eval $(host-generic-package)) + +# variables used by other packages +JAVAC = $(HOST_OPENJDK_BIN_ROOT_DIR)/bin/javac diff --git a/buildroot-2022.02.1/package/openjdk/17.0.1+12/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch b/buildroot-2022.02.1/package/openjdk/17.0.1+12/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch new file mode 100644 index 00000000..1ef523a4 --- /dev/null +++ b/buildroot-2022.02.1/package/openjdk/17.0.1+12/0001-Add-ARCv2-ISA-processors-support-to-Zero.patch @@ -0,0 +1,109 @@ +From 9a3c2a0714420186ae8d5159d5416c6fa2009ad9 Mon Sep 17 00:00:00 2001 +From: Alexey Brodkin +Date: Mon, 18 Oct 2021 05:20:05 -0700 +Subject: [PATCH] Add ARCv2 ISA processors support to Zero + +This adds ARCv2 processors support in OpenJDK via +"Zero Assembly Project" (see https://openjdk.java.net/projects/zero). + +That' a purely interpretive mode, so likely not that fast +as JIT'ed version, but for starters it's much better than nothing. + +Once all the logistical problems are solved hopefully this +change will be accepted upstream. + +Signed-off-by: Alexey Brodkin +--- + make/autoconf/libraries.m4 | 8 ++++++++ + make/autoconf/platform.m4 | 8 ++++++++ + src/hotspot/os/linux/os_linux.cpp | 8 +++++++- + 3 files changed, 23 insertions(+), 1 deletion(-) + +diff --git a/make/autoconf/libraries.m4 b/make/autoconf/libraries.m4 +index 5120918aed2..f7a99955874 100644 +--- a/make/autoconf/libraries.m4 ++++ b/make/autoconf/libraries.m4 +@@ -122,6 +122,14 @@ AC_DEFUN_ONCE([LIB_SETUP_LIBRARIES], + BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lpthread" + fi + ++ # Libatomic library ++ # 32-bit ARC needs fallback library for 8-byte atomic ops ++ # Inspired by a fix for MIPS, see https://github.com/openjdk/jdk/commit/1b3aa3af ++ if test "x$OPENJDK_TARGET_OS" = xlinux && ++ (test "x$OPENJDK_TARGET_CPU" = xarc); then ++ BASIC_JVM_LIBS="$BASIC_JVM_LIBS -latomic" ++ fi ++ + # perfstat lib + if test "x$OPENJDK_TARGET_OS" = xaix; then + BASIC_JVM_LIBS="$BASIC_JVM_LIBS -lperfstat" +diff --git a/make/autoconf/platform.m4 b/make/autoconf/platform.m4 +index c0f2446dbd7..dc416ece885 100644 +--- a/make/autoconf/platform.m4 ++++ b/make/autoconf/platform.m4 +@@ -54,6 +54,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU], + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=little + ;; ++ arc) ++ VAR_CPU=arc ++ VAR_CPU_ARCH=arc ++ VAR_CPU_BITS=32 ++ VAR_CPU_ENDIAN=little ++ ;; + arm*) + VAR_CPU=arm + VAR_CPU_ARCH=arm +@@ -478,6 +484,8 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS_HELPER], + HOTSPOT_$1_CPU_DEFINE=PPC64 + + # The cpu defines below are for zero, we don't support them directly. ++ elif test "x$OPENJDK_$1_CPU" = xarc; then ++ HOTSPOT_$1_CPU_DEFINE=ARC + elif test "x$OPENJDK_$1_CPU" = xsparc; then + HOTSPOT_$1_CPU_DEFINE=SPARC + elif test "x$OPENJDK_$1_CPU" = xppc; then +diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp +index b08caf4d5d3..2bf084895ba 100644 +--- a/src/hotspot/os/linux/os_linux.cpp ++++ b/src/hotspot/os/linux/os_linux.cpp +@@ -1858,6 +1858,9 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) { + #ifndef EM_AARCH64 + #define EM_AARCH64 183 /* ARM AARCH64 */ + #endif ++#ifndef EM_ARC_COMPACT2 ++ #define EM_ARC_COMPACT2 195 /* ARC ARCv2 ISA */ ++#endif + #ifndef EM_RISCV + #define EM_RISCV 243 /* RISC-V */ + #endif +@@ -1879,6 +1882,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) { + {EM_SH, EM_SH, ELFCLASS32, ELFDATA2MSB, (char*)"SuperH BE"}, + #endif + {EM_ARM, EM_ARM, ELFCLASS32, ELFDATA2LSB, (char*)"ARM"}, ++ {EM_ARC_COMPACT2, EM_ARC_COMPACT2, ELFCLASS32, ELFDATA2LSB, (char*)"ARC"}, + // we only support 64 bit z architecture + {EM_S390, EM_S390, ELFCLASS64, ELFDATA2MSB, (char*)"IBM System/390"}, + {EM_ALPHA, EM_ALPHA, ELFCLASS64, ELFDATA2LSB, (char*)"Alpha"}, +@@ -1906,6 +1910,8 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) { + static Elf32_Half running_arch_code=EM_PPC; + #elif (defined AARCH64) + static Elf32_Half running_arch_code=EM_AARCH64; ++#elif (defined ARC) ++ static Elf32_Half running_arch_code=EM_ARC_COMPACT2; + #elif (defined ARM) + static Elf32_Half running_arch_code=EM_ARM; + #elif (defined S390) +@@ -1926,7 +1932,7 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) { + static Elf32_Half running_arch_code=EM_RISCV; + #else + #error Method os::dll_load requires that one of following is defined:\ +- AARCH64, ALPHA, ARM, AMD64, IA32, IA64, M68K, MIPS, MIPSEL, PARISC, __powerpc__, __powerpc64__, RISCV, S390, SH, __sparc ++ AARCH64, ALPHA, ARC, ARM, AMD64, IA32, IA64, M68K, MIPS, MIPSEL, PARISC, __powerpc__, __powerpc64__, RISCV, S390, SH, __sparc + #endif + + // Identify compatibility class for VM's architecture and library's architecture +-- +2.16.2 + diff --git a/buildroot-2022.02.1/package/openjdk/Config.in b/buildroot-2022.02.1/package/openjdk/Config.in new file mode 100644 index 00000000..8b7fd465 --- /dev/null +++ b/buildroot-2022.02.1/package/openjdk/Config.in @@ -0,0 +1,177 @@ +config BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "x86_64" + +# Taken from make/autoconf/platform.m4 +config BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS + bool + default y if BR2_aarch64 + default y if BR2_arc && !(BR2_arc750d || BR2_arc770d) + default y if BR2_arm + default y if BR2_i386 || BR2_x86_64 + default y if BR2_m68k + default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le + default y if BR2_sh + +config BR2_PACKAGE_OPENJDK + bool "openjdk" + depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS + depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS + depends on !BR2_SOFT_FLOAT + depends on !BR2_STATIC_LIBS # glibc + depends on BR2_INSTALL_LIBSTDCPP # cups + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, cups, libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb, C++14 for OpenJDK17 + # Strictly needed only for OpenJDK17, but to keep dependencies + # simple with ARC supported only with OpenJDK17, we make this + # dependency apply to OpenJDK as a whole. + depends on BR2_HOST_GCC_AT_LEAST_4_9 # C++14 + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_USE_MMU # cups + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_MIXER + select BR2_PACKAGE_ALSA_LIB_PCM + select BR2_PACKAGE_ALSA_LIB_RAWMIDI + select BR2_PACKAGE_ALSA_LIB_SEQ + select BR2_PACKAGE_CUPS + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_GIFLIB + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LCMS2 + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_XLIB_LIBXRANDR + select BR2_PACKAGE_XLIB_LIBXRENDER + select BR2_PACKAGE_XLIB_LIBXT + select BR2_PACKAGE_XLIB_LIBXTST + select BR2_PACKAGE_ZLIB + help + OpenJDK is a free and open-source implementation of the + Java Platform. + + http://openjdk.java.net/ + +if BR2_PACKAGE_OPENJDK + +choice + prompt "openjdk version" + default BR2_PACKAGE_OPENJDK_VERSION_17 + help + Select the version of OpenJDK you wish to use. + +config BR2_PACKAGE_OPENJDK_VERSION_11 + bool "OpenJDK 11" + # The ARC-specific OpenJDK patch only applies to OpenJDK 17. + depends on !BR2_arc + +config BR2_PACKAGE_OPENJDK_VERSION_17 + bool "OpenJDK 17" + +endchoice + +config BR2_PACKAGE_OPENJDK_FULL_JDK + bool "Build the full JDK" + help + Install the full JDK instead of just the run time. + The full JDK includes several packages used for debugging and + development. Some useful tools included with the JDK are: + - javaws + Command line tool for launching Java Web Start and setting + various options. + + - jcmd: + JVM Diagnostic Commands tool: Sends diagnostic command + requests to a running Java Virtual Machine. + + - jinfo + Configuration Info for Java: Prints configuration + information for a given process or core file or a remote + debug server. + + - jmap + Memory Map for Java: Prints shared object memory maps or + heap memory details of a given process or core file or a + remote debug server. + + - jsadebugd + Serviceability Agent Debug Daemon for Java: Attaches to a + process or core file and acts as a debug server. + + - jstack + Stack Trace for Java - Prints a stack trace of threads for + a given process or core file or remote debug server. + + - jstat + JVM Statistics Monitoring Tool: Attaches to an + instrumented HotSpot Java virtual machine and collects and + logs performance statistics as specified by the command + line options. + + - jstatd + JVM jstat Daemon - Launches an RMI server application that + monitors for the creation and termination of instrumented + HotSpot Java virtual machines and provides an interface to + allow remote monitoring tools to attach to Java virtual + machines running on the local system. + + Note: + While the JDK also comes with several tools which can be used + for developing java applications on a target, Buildroot does + not support development on a target. Building the full JDK is + supported for debugging purposes only. + + Selecting this option increases the file system by + approximately 110M. + +choice + prompt "openjdk variant" + default BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER if !(BR2_powerpc || BR2_arc) + default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_powerpc + default BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO if BR2_arc + +config BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT + bool "client" + depends on !(BR2_powerpc || BR2_arc) + help + Quick loading, but slower run-time performance. + +config BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER + bool "server" + depends on !(BR2_powerpc || BR2_arc) + help + Slower loading, but faster run-time performance. + +config BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO + bool "zero" + select BR2_PACKAGE_LIBFFI + help + A non-assembler variant with wide arch support, however + performance is less then client/server. + + http://openjdk.java.net/projects/zero + +endchoice +endif + +comment "openjdk needs X.Org" + depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_XORG7 + +comment "openjdk needs glibc, and a toolchain w/ wchar, dynamic library, threads, C++, gcc >= 4.9, host gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 + +comment "openjdk does not support soft float configurations" + depends on BR2_PACKAGE_OPENJDK_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on BR2_SOFT_FLOAT diff --git a/buildroot-2022.02.1/package/openjdk/openjdk.hash b/buildroot-2022.02.1/package/openjdk/openjdk.hash new file mode 100644 index 00000000..2f46b044 --- /dev/null +++ b/buildroot-2022.02.1/package/openjdk/openjdk.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 8c076203a6f85ab916b3e54de1992bcbcc5ffe580c52b1ac8d52ca7afb9f02d1 openjdk-17.0.1+12.tar.gz +sha256 119c6233fe7ff5670c590e2f9d6686ac4d80c97b17065506998b75c547b54f2c openjdk-11.0.13+8.tar.gz +sha256 4b9abebc4338048a7c2dc184e9f800deb349366bdf28eb23c2677a77b4c87726 LICENSE diff --git a/buildroot-2022.02.1/package/openjdk/openjdk.mk b/buildroot-2022.02.1/package/openjdk/openjdk.mk new file mode 100644 index 00000000..5fccdaa7 --- /dev/null +++ b/buildroot-2022.02.1/package/openjdk/openjdk.mk @@ -0,0 +1,160 @@ +################################################################################ +# +# openjdk +# +################################################################################ + +ifeq ($(BR2_PACKAGE_OPENJDK_VERSION_17),y) +OPENJDK_VERSION_MAJOR = 17 +OPENJDK_VERSION_MINOR = 0.1+12 +else +OPENJDK_VERSION_MAJOR = 11 +OPENJDK_VERSION_MINOR = 0.13+8 +endif +OPENJDK_VERSION = $(OPENJDK_VERSION_MAJOR).$(OPENJDK_VERSION_MINOR) +OPENJDK_SITE = $(call github,openjdk,jdk$(OPENJDK_VERSION_MAJOR)u,jdk-$(OPENJDK_VERSION)) + +OPENJDK_LICENSE = GPL-2.0+ with exception +OPENJDK_LICENSE_FILES = LICENSE +OPENJDK_INSTALL_STAGING = YES + +# OpenJDK requires Alsa, cups, and X11 even for a headless build. +# host-zip is needed for the zip executable. +OPENJDK_DEPENDENCIES = \ + host-gawk \ + host-openjdk-bin \ + host-pkgconf \ + host-zip \ + host-zlib \ + alsa-lib \ + cups \ + fontconfig \ + giflib \ + jpeg \ + lcms2 \ + libpng \ + libusb \ + xlib_libXrandr \ + xlib_libXrender \ + xlib_libXt \ + xlib_libXtst \ + zlib + +# JVM variants +ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_CLIENT),y) +OPENJDK_JVM_VARIANT = client +endif +ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_SERVER),y) +OPENJDK_JVM_VARIANT = server +endif +ifeq ($(BR2_PACKAGE_OPENJDK_JVM_VARIANT_ZERO),y) +OPENJDK_JVM_VARIANT = zero +OPENJDK_DEPENDENCIES += libffi +endif + +ifeq ($(BR2_PACKAGE_OPENJDK_FULL_JDK),y) +OPENJDK_VARIANT = jdk +OPENJDK_MAKE_TARGET = jdk-image +else +OPENJDK_VARIANT = jre +OPENJDK_MAKE_TARGET = legacy-jre-image +endif + +# OpenJDK installs a file named 'modules' in jre/lib, which gets installed as +# /usr/lib/modules. However, with a merged /usr, this conflicts with the +# directory named 'modules' installed by the kernel. If OpenJDK gets built +# after the kernel, this manifests itself with: "cp: cannot overwrite +# directory '/usr/lib/modules with non-directory." +OPENJDK_INSTALL_BASE = /usr/lib/jvm + +# OpenJDK ignores some variables unless passed via the environment. +# These variables are PATH, LD, CC, CXX, and CPP. +# OpenJDK defaults ld to the ld binary but passes -Xlinker and -z as +# arguments during the linking process, which causes compilation failures. +# To fix this issue, LD is set to point to gcc. +OPENJDK_CONF_ENV = \ + PATH=$(BR_PATH) \ + CC=$(TARGET_CC) \ + CPP=$(TARGET_CPP) \ + CXX=$(TARGET_CXX) \ + LD=$(TARGET_CC) \ + BUILD_SYSROOT_CFLAGS="$(HOST_CFLAGS)" \ + BUILD_SYSROOT_LDFLAGS="$(HOST_LDFLAGS)" + +OPENJDK_CONF_OPTS = \ + --disable-full-docs \ + --disable-hotspot-gtest \ + --disable-manpages \ + --disable-warnings-as-errors \ + --enable-headless-only \ + --enable-openjdk-only \ + --enable-unlimited-crypto \ + --openjdk-target=$(GNU_TARGET_NAME) \ + --with-boot-jdk=$(HOST_OPENJDK_BIN_ROOT_DIR) \ + --with-stdc++lib=dynamic \ + --with-debug-level=release \ + --with-devkit=$(HOST_DIR) \ + --with-extra-cflags="$(TARGET_CFLAGS)" \ + --with-extra-cxxflags="$(TARGET_CXXFLAGS)" \ + --with-extra-ldflags="-Wl,-rpath,$(OPENJDK_INSTALL_BASE)/lib,-rpath,$(OPENJDK_INSTALL_BASE)/lib/$(OPENJDK_JVM_VARIANT)" \ + --with-giflib=system \ + --with-jobs=$(PARALLEL_JOBS) \ + --with-jvm-variants=$(OPENJDK_JVM_VARIANT) \ + --with-lcms=system \ + --with-libjpeg=system \ + --with-libpng=system \ + --with-zlib=system \ + --with-native-debug-symbols=none \ + --without-version-pre \ + --with-sysroot=$(STAGING_DIR) \ + --with-version-build="$(OPENJDK_VERSION_MAJOR)" \ + --with-version-string="$(OPENJDK_VERSION_MAJOR)" + +# If building for AArch64, use the provided CPU port. +ifeq ($(BR2_aarch64),y) +OPENJDK_CONF_OPTS += --with-abi-profile=aarch64 +endif + +ifeq ($(BR2_CCACHE),y) +OPENJDK_CONF_OPTS += \ + --enable-ccache \ + --with-ccache-dir=$(BR2_CCACHE_DIR) +endif + +# Autogen and configure are performed in a single step. +define OPENJDK_CONFIGURE_CMDS + chmod +x $(@D)/configure + cd $(@D); $(OPENJDK_CONF_ENV) ./configure autogen $(OPENJDK_CONF_OPTS) +endef + +# Make -jn is unsupported. Instead, set the "--with-jobs=" configure option, +# and use $(MAKE1). +define OPENJDK_BUILD_CMDS + $(TARGET_MAKE_ENV) $(OPENJDK_CONF_ENV) $(MAKE1) -C $(@D) $(OPENJDK_MAKE_TARGET) +endef + +# Calling make install always builds and installs the JDK instead of the JRE, +# which makes manual installation necessary. +define OPENJDK_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)$(OPENJDK_INSTALL_BASE) + cp -dpfr $(@D)/build/linux-*-release/images/$(OPENJDK_VARIANT)/* \ + $(TARGET_DIR)$(OPENJDK_INSTALL_BASE)/ + cd $(TARGET_DIR)/usr/bin && ln -snf ../..$(OPENJDK_INSTALL_BASE)/bin/* . +endef + +define OPENJDK_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/jvm + cp -dpfr $(@D)/build/linux-*-release/jdk/include/* \ + $(STAGING_DIR)/usr/include/jvm +endef + +# Demos and includes are not needed on the target +ifeq ($(BR2_PACKAGE_OPENJDK_FULL_JDK),y) +define OPENJDK_REMOVE_UNEEDED_JDK_DIRECTORIES + $(RM) -r $(TARGET_DIR)$(OPENJDK_INSTALL_BASE)/include/ + $(RM) -r $(TARGET_DIR)$(OPENJDK_INSTALL_BASE)/demo/ +endef +OPENJDK_TARGET_FINALIZE_HOOKS += OPENJDK_REMOVE_UNEEDED_JDK_DIRECTORIES +endif + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openjpeg/0001-thirdparty-tiff-append-flags-found-by-pkg-config-if-.patch b/buildroot-2022.02.1/package/openjpeg/0001-thirdparty-tiff-append-flags-found-by-pkg-config-if-.patch similarity index 100% rename from buildroot-2021.05/package/openjpeg/0001-thirdparty-tiff-append-flags-found-by-pkg-config-if-.patch rename to buildroot-2022.02.1/package/openjpeg/0001-thirdparty-tiff-append-flags-found-by-pkg-config-if-.patch diff --git a/buildroot-2021.05/package/openjpeg/0002-thirdparty-lcms2-append-flags-found-by-pkg-config-if.patch b/buildroot-2022.02.1/package/openjpeg/0002-thirdparty-lcms2-append-flags-found-by-pkg-config-if.patch similarity index 100% rename from buildroot-2021.05/package/openjpeg/0002-thirdparty-lcms2-append-flags-found-by-pkg-config-if.patch rename to buildroot-2022.02.1/package/openjpeg/0002-thirdparty-lcms2-append-flags-found-by-pkg-config-if.patch diff --git a/buildroot-2021.05/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch b/buildroot-2022.02.1/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch similarity index 100% rename from buildroot-2021.05/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch rename to buildroot-2022.02.1/package/openjpeg/0003-CMakeLists.txt-Don-t-require-a-C-compiler.patch diff --git a/buildroot-2021.05/package/openjpeg/0004-Revert-Use-INC_DIR-for-OPENJPEG_INCLUDE_DIRS-fixes-u.patch b/buildroot-2022.02.1/package/openjpeg/0004-Revert-Use-INC_DIR-for-OPENJPEG_INCLUDE_DIRS-fixes-u.patch similarity index 100% rename from buildroot-2021.05/package/openjpeg/0004-Revert-Use-INC_DIR-for-OPENJPEG_INCLUDE_DIRS-fixes-u.patch rename to buildroot-2022.02.1/package/openjpeg/0004-Revert-Use-INC_DIR-for-OPENJPEG_INCLUDE_DIRS-fixes-u.patch diff --git a/buildroot-2021.05/package/openjpeg/Config.in b/buildroot-2022.02.1/package/openjpeg/Config.in similarity index 100% rename from buildroot-2021.05/package/openjpeg/Config.in rename to buildroot-2022.02.1/package/openjpeg/Config.in diff --git a/buildroot-2021.05/package/openjpeg/openjpeg.hash b/buildroot-2022.02.1/package/openjpeg/openjpeg.hash similarity index 100% rename from buildroot-2021.05/package/openjpeg/openjpeg.hash rename to buildroot-2022.02.1/package/openjpeg/openjpeg.hash diff --git a/buildroot-2021.05/package/openjpeg/openjpeg.mk b/buildroot-2022.02.1/package/openjpeg/openjpeg.mk similarity index 100% rename from buildroot-2021.05/package/openjpeg/openjpeg.mk rename to buildroot-2022.02.1/package/openjpeg/openjpeg.mk diff --git a/buildroot-2021.05/package/openlayers/Config.in b/buildroot-2022.02.1/package/openlayers/Config.in similarity index 100% rename from buildroot-2021.05/package/openlayers/Config.in rename to buildroot-2022.02.1/package/openlayers/Config.in diff --git a/buildroot-2022.02.1/package/openlayers/openlayers.hash b/buildroot-2022.02.1/package/openlayers/openlayers.hash new file mode 100644 index 00000000..2d6c2fb9 --- /dev/null +++ b/buildroot-2022.02.1/package/openlayers/openlayers.hash @@ -0,0 +1,2 @@ +# Locally computed: +sha256 aeb8107a23a99d79efb6031c7cf901307b63571c39fd744f771d4a707e06a14f v6.12.0-dist.zip diff --git a/buildroot-2022.02.1/package/openlayers/openlayers.mk b/buildroot-2022.02.1/package/openlayers/openlayers.mk new file mode 100644 index 00000000..7532bb7f --- /dev/null +++ b/buildroot-2022.02.1/package/openlayers/openlayers.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# openlayers +# +################################################################################ + +OPENLAYERS_VERSION = 6.12.0 +OPENLAYERS_SOURCE = v$(OPENLAYERS_VERSION)-dist.zip +OPENLAYERS_SITE = https://github.com/openlayers/openlayers/releases/download/v$(OPENLAYERS_VERSION) +OPENLAYERS_LICENSE = BSD-2-Clause +# There's no separate license file in the archive, only minified files. + +define OPENLAYERS_EXTRACT_CMDS + unzip $(OPENLAYERS_DL_DIR)/$(OPENLAYERS_SOURCE) -d $(@D) + mv $(@D)/v$(OPENLAYERS_VERSION)-dist/* $(@D) + rmdir $(@D)/v$(OPENLAYERS_VERSION)-dist/ +endef + +define OPENLAYERS_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0644 $(@D)/ol.css $(TARGET_DIR)/var/www/ol.css + $(INSTALL) -D -m 0644 $(@D)/ol.js $(TARGET_DIR)/var/www/ol.js +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openldap/0001-fix_cross_strip.patch b/buildroot-2022.02.1/package/openldap/0001-fix_cross_strip.patch similarity index 100% rename from buildroot-2021.05/package/openldap/0001-fix_cross_strip.patch rename to buildroot-2022.02.1/package/openldap/0001-fix_cross_strip.patch diff --git a/buildroot-2021.05/package/openldap/0002-fix-bignum.patch b/buildroot-2022.02.1/package/openldap/0002-fix-bignum.patch similarity index 100% rename from buildroot-2021.05/package/openldap/0002-fix-bignum.patch rename to buildroot-2022.02.1/package/openldap/0002-fix-bignum.patch diff --git a/buildroot-2021.05/package/openldap/0003-disable-docs.patch b/buildroot-2022.02.1/package/openldap/0003-disable-docs.patch similarity index 100% rename from buildroot-2021.05/package/openldap/0003-disable-docs.patch rename to buildroot-2022.02.1/package/openldap/0003-disable-docs.patch diff --git a/buildroot-2021.05/package/openldap/0004-revert-ITS-3977-fix-libtool-static-behavior-to-match.patch b/buildroot-2022.02.1/package/openldap/0004-revert-ITS-3977-fix-libtool-static-behavior-to-match.patch similarity index 100% rename from buildroot-2021.05/package/openldap/0004-revert-ITS-3977-fix-libtool-static-behavior-to-match.patch rename to buildroot-2022.02.1/package/openldap/0004-revert-ITS-3977-fix-libtool-static-behavior-to-match.patch diff --git a/buildroot-2022.02.1/package/openldap/Config.in b/buildroot-2022.02.1/package/openldap/Config.in new file mode 100644 index 00000000..7a0b2f4b --- /dev/null +++ b/buildroot-2022.02.1/package/openldap/Config.in @@ -0,0 +1,27 @@ +config BR2_PACKAGE_OPENLDAP + bool "openldap" + depends on BR2_USE_WCHAR + depends on BR2_USE_MMU # needs fork() + help + OpenLDAP Software is an open source implementation of the + Lightweight Directory Access Protocol. + + This only installs client-side support. + + https://www.openldap.org/ + +if BR2_PACKAGE_OPENLDAP + +config BR2_PACKAGE_OPENLDAP_CLIENTS + bool "openldap client binaries" + default y + help + Install the OpenLDAP client tools (ldapadd, ldapcompare, + ldapdelete, ldapexop, ldapmodify, ldapmodrdn, ldappasswd, + ldapsearch, ldapurl, ldapwhoami) + +endif + +comment "openldap needs a toolchain w/ wchar" + depends on BR2_USE_MMU # needs fork() + depends on !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/openldap/openldap.hash b/buildroot-2022.02.1/package/openldap/openldap.hash new file mode 100644 index 00000000..71092c93 --- /dev/null +++ b/buildroot-2022.02.1/package/openldap/openldap.hash @@ -0,0 +1,7 @@ +# From https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.59.md5 +md5 6036a03b3a67b4a1fe1246e0a2c7265a openldap-2.4.59.tgz +# From https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.59.sha1 +sha1 b154d06bbf40fafafb34fffc4b116946d931efef openldap-2.4.59.tgz +# Locally computed +sha256 99f37d6747d88206c470067eda624d5e48c1011e943ec0ab217bae8712e22f34 openldap-2.4.59.tgz +sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/buildroot-2022.02.1/package/openldap/openldap.mk b/buildroot-2022.02.1/package/openldap/openldap.mk new file mode 100644 index 00000000..b5373544 --- /dev/null +++ b/buildroot-2022.02.1/package/openldap/openldap.mk @@ -0,0 +1,74 @@ +################################################################################ +# +# openldap +# +################################################################################ + +OPENLDAP_VERSION = 2.4.59 +OPENLDAP_SOURCE = openldap-$(OPENLDAP_VERSION).tgz +OPENLDAP_SITE = https://www.openldap.org/software/download/OpenLDAP/openldap-release +OPENLDAP_LICENSE = OpenLDAP Public License +OPENLDAP_LICENSE_FILES = LICENSE +OPENLDAP_CPE_ID_VENDOR = openldap +OPENLDAP_SELINUX_MODULES = ldap +OPENLDAP_INSTALL_STAGING = YES +OPENLDAP_DEPENDENCIES = host-pkgconf + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +OPENLDAP_TLS = openssl +OPENLDAP_DEPENDENCIES += openssl +else ifeq ($(BR2_PACKAGE_GNUTLS),y) +OPENLDAP_TLS = gnutls +OPENLDAP_DEPENDENCIES += gnutls +else ifeq ($(BR2_PACKAGE_LIBNSS),y) +OPENLDAP_TLS = moznss +OPENLDAP_DEPENDENCIES += libnss +OPENLDAP_CPPFLAGS = \ + -I$(STAGING_DIR)/usr/include/nss \ + -I$(STAGING_DIR)/usr/include/nspr +else +OPENLDAP_TLS = no +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +OPENLDAP_MP = bignum +OPENLDAP_DEPENDENCIES += openssl +OPENLDAP_CONF_ENV = LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto`" +else ifeq ($(BR2_PACKAGE_GMP),y) +OPENLDAP_MP = gmp +OPENLDAP_DEPENDENCIES += gmp +else +OPENLDAP_MP = longlong +endif + +OPENLDAP_CONF_ENV += ac_cv_func_memcmp_working=yes + +OPENLDAP_CONF_OPTS += \ + --enable-syslog \ + --disable-proctitle \ + --disable-slapd \ + --with-yielding-select \ + --sysconfdir=/etc \ + --enable-dynamic=$(if $(BR2_STATIC_LIBS),no,yes) \ + --with-tls=$(OPENLDAP_TLS) \ + --with-mp=$(OPENLDAP_MP) \ + CPPFLAGS="$(TARGET_CPPFLAGS) $(OPENLDAP_CPPFLAGS)" + +# Somehow, ${STRIP} does not percolates through to the shtool script +# used to install the executables; thus, that script tries to run the +# executable it is supposed to install, resulting in an error. +OPENLDAP_MAKE_ENV = STRIP="$(TARGET_STRIP)" + +ifeq ($(BR2_PACKAGE_OPENLDAP_CLIENTS),) +OPENLDAP_CLIENTS = \ + ldapurl ldapexop ldapcompare ldapwhoami \ + ldappasswd ldapmodrdn ldapdelete ldapmodify \ + ldapsearch +define OPENLDAP_REMOVE_CLIENTS + $(RM) -f $(foreach p,$(OPENLDAP_CLIENTS),$(TARGET_DIR)/usr/bin/$(p)) + $(RM) -rf $(TARGET_DIR)/etc/openldap +endef +OPENLDAP_POST_INSTALL_TARGET_HOOKS += OPENLDAP_REMOVE_CLIENTS +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/openmpi/Config.in b/buildroot-2022.02.1/package/openmpi/Config.in similarity index 100% rename from buildroot-2021.05/package/openmpi/Config.in rename to buildroot-2022.02.1/package/openmpi/Config.in diff --git a/buildroot-2022.02.1/package/openmpi/openmpi-mips32-fortran.cache b/buildroot-2022.02.1/package/openmpi/openmpi-mips32-fortran.cache new file mode 100644 index 00000000..36f9f02b --- /dev/null +++ b/buildroot-2022.02.1/package/openmpi/openmpi-mips32-fortran.cache @@ -0,0 +1,52 @@ +ompi_cv_fortran_sizeof_CHARACTER=1 +ompi_cv_fortran_sizeof_LOGICAL=4 +ompi_cv_fortran_sizeof_LOGICALp1=1 +ompi_cv_fortran_sizeof_LOGICALp2=2 +ompi_cv_fortran_sizeof_LOGICALp4=4 +ompi_cv_fortran_sizeof_LOGICALp8=8 +ompi_cv_fortran_sizeof_INTEGER=4 +ompi_cv_fortran_sizeof_INTEGERp1=1 +ompi_cv_fortran_sizeof_INTEGERp2=2 +ompi_cv_fortran_sizeof_INTEGERp4=4 +ompi_cv_fortran_sizeof_INTEGERp8=8 +ompi_cv_fortran_sizeof_REAL=4 +ompi_cv_fortran_sizeof_REALp4=4 +ompi_cv_fortran_sizeof_REALp8=8 +ompi_cv_fortran_sizeof_DOUBLE_PRECISION=8 +ompi_cv_fortran_sizeof_COMPLEX=8 +ompi_cv_fortran_sizeof_COMPLEXp8=8 +ompi_cv_fortran_sizeof_COMPLEXp16=16 +ompi_cv_fortran_sizeof_DOUBLE_COMPLEX=16 +ompi_cv_fortran_alignment_CHARACTER=1 +ompi_cv_fortran_alignment_LOGICAL=4 +ompi_cv_fortran_alignment_LOGICALp1=1 +ompi_cv_fortran_alignment_LOGICALp2=2 +ompi_cv_fortran_alignment_LOGICALp4=4 +ompi_cv_fortran_alignment_LOGICALp8=8 +ompi_cv_fortran_alignment_INTEGER=4 +ompi_cv_fortran_alignment_INTEGERp1=1 +ompi_cv_fortran_alignment_INTEGERp2=2 +ompi_cv_fortran_alignment_INTEGERp4=4 +ompi_cv_fortran_alignment_INTEGERp8=8 +ompi_cv_fortran_alignment_REAL=4 +ompi_cv_fortran_alignment_REALp4=4 +ompi_cv_fortran_alignment_REALp8=8 +ompi_cv_fortran_alignment_DOUBLE_PRECISION=8 +ompi_cv_fortran_alignment_COMPLEX=4 +ompi_cv_fortran_alignment_COMPLEXp8=4 +ompi_cv_fortran_alignment_COMPLEXp16=8 +ompi_cv_fortran_alignment_DOUBLE_COMPLEX=8 +ompi_cv_fortran_kind_value_C_SIGNED_CHAR=1 +ompi_cv_fortran_kind_value_C_SHORT=2 +ompi_cv_fortran_kind_value_C_INT=4 +ompi_cv_fortran_kind_value_C_INT16_T=2 +ompi_cv_fortran_kind_value_C_INT32_T=4 +ompi_cv_fortran_kind_value_C_INT64_T=8 +ompi_cv_fortran_kind_value_C_LONG_LONG=8 +ompi_cv_fortran_kind_value_C_FLOAT=4 +ompi_cv_fortran_kind_value_C_FLOAT_COMPLEX=4 +ompi_cv_fortran_kind_value_C_DOUBLE=8 +ompi_cv_fortran_kind_value_C_DOUBLE_COMPLEX=8 +ompi_cv_fortran_true_value=1 +ompi_cv_fortran_sizeof_type_test_mpi_handle_=4 +ompi_cv_fortran_alignment_type_test_mpi_handle_=4 diff --git a/buildroot-2022.02.1/package/openmpi/openmpi-mips64-fortran.cache b/buildroot-2022.02.1/package/openmpi/openmpi-mips64-fortran.cache new file mode 100644 index 00000000..dea2ce9c --- /dev/null +++ b/buildroot-2022.02.1/package/openmpi/openmpi-mips64-fortran.cache @@ -0,0 +1,61 @@ +ompi_cv_fortran_sizeof_CHARACTER=1 +ompi_cv_fortran_sizeof_LOGICAL=4 +ompi_cv_fortran_sizeof_LOGICALp1=1 +ompi_cv_fortran_sizeof_LOGICALp2=2 +ompi_cv_fortran_sizeof_LOGICALp4=4 +ompi_cv_fortran_sizeof_LOGICALp8=8 +ompi_cv_fortran_sizeof_INTEGER=4 +ompi_cv_fortran_sizeof_INTEGERp1=1 +ompi_cv_fortran_sizeof_INTEGERp2=2 +ompi_cv_fortran_sizeof_INTEGERp4=4 +ompi_cv_fortran_sizeof_INTEGERp8=8 +ompi_cv_fortran_sizeof_INTEGERp16=16 +ompi_cv_fortran_sizeof_REAL=4 +ompi_cv_fortran_sizeof_REALp4=4 +ompi_cv_fortran_sizeof_REALp8=8 +ompi_cv_fortran_sizeof_REALp16=16 +ompi_cv_fortran_sizeof_DOUBLE_PRECISION=8 +ompi_cv_fortran_sizeof_COMPLEX=8 +ompi_cv_fortran_sizeof_COMPLEXp8=8 +ompi_cv_fortran_sizeof_COMPLEXp16=16 +ompi_cv_fortran_sizeof_COMPLEXp32=32 +ompi_cv_fortran_sizeof_DOUBLE_COMPLEX=16 +ompi_cv_fortran_alignment_CHARACTER=1 +ompi_cv_fortran_alignment_LOGICAL=4 +ompi_cv_fortran_alignment_LOGICALp1=1 +ompi_cv_fortran_alignment_LOGICALp2=2 +ompi_cv_fortran_alignment_LOGICALp4=4 +ompi_cv_fortran_alignment_LOGICALp8=8 +ompi_cv_fortran_alignment_INTEGER=4 +ompi_cv_fortran_alignment_INTEGERp1=1 +ompi_cv_fortran_alignment_INTEGERp2=2 +ompi_cv_fortran_alignment_INTEGERp4=4 +ompi_cv_fortran_alignment_INTEGERp8=8 +ompi_cv_fortran_alignment_REAL=4 +ompi_cv_fortran_alignment_REALp4=4 +ompi_cv_fortran_alignment_REALp8=8 +ompi_cv_fortran_alignment_REALp16=16 +ompi_cv_fortran_alignment_DOUBLE_PRECISION=8 +ompi_cv_fortran_alignment_COMPLEX=4 +ompi_cv_fortran_alignment_COMPLEXp8=4 +ompi_cv_fortran_alignment_COMPLEXp16=8 +ompi_cv_fortran_alignment_COMPLEXp32=16 +ompi_cv_fortran_alignment_DOUBLE_COMPLEX=8 +ompi_cv_fortran_kind_value_C_SIGNED_CHAR=1 +ompi_cv_fortran_kind_value_C_SHORT=2 +ompi_cv_fortran_kind_value_C_INT=4 +ompi_cv_fortran_kind_value_C_INT16_T=2 +ompi_cv_fortran_kind_value_C_INT32_T=4 +ompi_cv_fortran_kind_value_C_INT64_T=8 +ompi_cv_fortran_kind_value_C_LONG_LONG=8 +ompi_cv_fortran_kind_value_C_LONG_DOUBLE=16 +ompi_cv_fortran_kind_value_C_LONG_DOUBLE_COMPLEX=16 +ompi_cv_fortran_kind_value_C_FLOAT=4 +ompi_cv_fortran_kind_value_C_FLOAT_COMPLEX=4 +ompi_cv_fortran_kind_value_C_DOUBLE=8 +ompi_cv_fortran_kind_value_C_DOUBLE_COMPLEX=8 +ompi_cv_fortran_kind_value_0=0 +ompi_cv_real16_c_equiv=yes +ompi_cv_fortran_true_value=1 +ompi_cv_fortran_sizeof_type_test_mpi_handle_=4 +ompi_cv_fortran_alignment_type_test_mpi_handle_=4 diff --git a/buildroot-2021.05/package/openmpi/openmpi.hash b/buildroot-2022.02.1/package/openmpi/openmpi.hash similarity index 100% rename from buildroot-2021.05/package/openmpi/openmpi.hash rename to buildroot-2022.02.1/package/openmpi/openmpi.hash diff --git a/buildroot-2021.05/package/openmpi/openmpi.mk b/buildroot-2022.02.1/package/openmpi/openmpi.mk similarity index 100% rename from buildroot-2021.05/package/openmpi/openmpi.mk rename to buildroot-2022.02.1/package/openmpi/openmpi.mk diff --git a/buildroot-2021.05/package/openntpd/Config.in b/buildroot-2022.02.1/package/openntpd/Config.in similarity index 100% rename from buildroot-2021.05/package/openntpd/Config.in rename to buildroot-2022.02.1/package/openntpd/Config.in diff --git a/buildroot-2021.05/package/openntpd/S49ntp b/buildroot-2022.02.1/package/openntpd/S49ntp similarity index 100% rename from buildroot-2021.05/package/openntpd/S49ntp rename to buildroot-2022.02.1/package/openntpd/S49ntp diff --git a/buildroot-2022.02.1/package/openntpd/ntpd.service b/buildroot-2022.02.1/package/openntpd/ntpd.service new file mode 100644 index 00000000..c2924b0c --- /dev/null +++ b/buildroot-2022.02.1/package/openntpd/ntpd.service @@ -0,0 +1,15 @@ +[Unit] +Description=OpenNTP Daemon +After=network.target +Conflicts=systemd-timesyncd.service + +[Service] +Type=simple +# Turn off DNSSEC validation for hostname look-ups, since those need the +# correct time to work, but we likely won't acquire that without NTP. Let's +# break this chicken-and-egg cycle here. +Environment=SYSTEMD_NSS_RESOLVE_VALIDATE=0 +ExecStart=/usr/sbin/ntpd -s -d + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2021.05/package/openntpd/openntpd.hash b/buildroot-2022.02.1/package/openntpd/openntpd.hash similarity index 100% rename from buildroot-2021.05/package/openntpd/openntpd.hash rename to buildroot-2022.02.1/package/openntpd/openntpd.hash diff --git a/buildroot-2021.05/package/openntpd/openntpd.mk b/buildroot-2022.02.1/package/openntpd/openntpd.mk similarity index 100% rename from buildroot-2021.05/package/openntpd/openntpd.mk rename to buildroot-2022.02.1/package/openntpd/openntpd.mk diff --git a/buildroot-2021.05/package/openobex/Config.in b/buildroot-2022.02.1/package/openobex/Config.in similarity index 100% rename from buildroot-2021.05/package/openobex/Config.in rename to buildroot-2022.02.1/package/openobex/Config.in diff --git a/buildroot-2021.05/package/openobex/openobex.hash b/buildroot-2022.02.1/package/openobex/openobex.hash similarity index 100% rename from buildroot-2021.05/package/openobex/openobex.hash rename to buildroot-2022.02.1/package/openobex/openobex.hash diff --git a/buildroot-2021.05/package/openobex/openobex.mk b/buildroot-2022.02.1/package/openobex/openobex.mk similarity index 100% rename from buildroot-2021.05/package/openobex/openobex.mk rename to buildroot-2022.02.1/package/openobex/openobex.mk diff --git a/buildroot-2021.05/package/openocd/0001-configure-enable-build-on-uclinux.patch b/buildroot-2022.02.1/package/openocd/0001-configure-enable-build-on-uclinux.patch similarity index 100% rename from buildroot-2021.05/package/openocd/0001-configure-enable-build-on-uclinux.patch rename to buildroot-2022.02.1/package/openocd/0001-configure-enable-build-on-uclinux.patch diff --git a/buildroot-2022.02.1/package/openocd/0002-configure.ac-fix-autoreconf-with-autoconf-2.70.patch b/buildroot-2022.02.1/package/openocd/0002-configure.ac-fix-autoreconf-with-autoconf-2.70.patch new file mode 100644 index 00000000..ecb716b6 --- /dev/null +++ b/buildroot-2022.02.1/package/openocd/0002-configure.ac-fix-autoreconf-with-autoconf-2.70.patch @@ -0,0 +1,32 @@ +From 3106d16bbc45de52bc0a8b638a84aa9d7c9abc46 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Oct 2021 17:43:16 +0200 +Subject: [PATCH] configure.ac: fix autoreconf with autoconf >= 2.70 + +Fix the following build failure raised with openocd and autoconf >= 2.70 +due to +http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=aba75f6d4a9c875a9d5d90a07c6b3678db66a4bf: + +>>> openocd 0.11.0 Autoreconfiguring +autoreconf: error: configure.ac: AC_INIT not found; not an autoconf script? + +Fixes: + - http://autobuild.buildroot.org/results/5fb7aa28703aff61ba850eac11bd35c8804528ae + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/msteveb/jimtcl/pull/209] +--- + configure.ac | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/jimtcl/configure.ac b/jimtcl/configure.ac +index b70b5d8..8c45114 100644 +--- a/jimtcl/configure.ac ++++ b/jimtcl/configure.ac +@@ -1 +1,3 @@ + # Dummy configure.ac to make automake happy ++AC_INIT([jimtcl], [0.80]) ++AC_OUTPUT +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/openocd/Config.in b/buildroot-2022.02.1/package/openocd/Config.in new file mode 100644 index 00000000..b14f940b --- /dev/null +++ b/buildroot-2022.02.1/package/openocd/Config.in @@ -0,0 +1,249 @@ +config BR2_PACKAGE_OPENOCD + bool "openocd" + select BR2_PACKAGE_JIMTCL + help + OpenOCD - Open On-Chip Debugger + + http://openocd.sourceforge.net/ + +if BR2_PACKAGE_OPENOCD + +comment "Adapters" + +config BR2_PACKAGE_OPENOCD_CMSIS_DAP + bool "CMSIS-DAP compliant debuggers" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + depends on BR2_PACKAGE_HAS_UDEV # hidapi + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # hidapi + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_HIDAPI + help + Enable support for CMSIS-DAP compliant debuggers (i.e + Atmel/Microchip EDBG, etc.) + +config BR2_PACKAGE_OPENOCD_FTDI + bool "MPSSE mode of FTDI based devices" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the MPSSE mode of FTDI + (FT2xxx/FT4xxx) based devices (default is auto) + +config BR2_PACKAGE_OPENOCD_STLINK + bool "ST-Link JTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the ST-Link JTAG + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_TI_ICDI + bool "TI ICDI JTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the TI ICDI JTAG + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_ULINK + bool "Keil ULINK JTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the Keil ULINK JTAG + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_UBLASTER2 + bool "Altera USB-Blaster II Compatible" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the Altera USB-Blaster + II Compatible (default is auto) + +config BR2_PACKAGE_OPENOCD_JLINK + bool "Segger J-Link JTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Segger J-Link JTAG Programmer and clone such as Atmel + SAM-ICE + +config BR2_PACKAGE_OPENOCD_OSDBM + bool "OSDBM JTAG (only) Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the OSBDM (JTAG only) + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_OPENDOUS + bool "eStick/opendous JTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the eStick/opendous JTAG + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_AICE + bool "Andes JTAG Programmer" + depends on BR2_USE_MMU # use fork() + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the Andes JTAG + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_VSLLINK + bool "Versaloon-Link JTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT + help + Enable building support for the Versaloon-Link JTAG + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_USBPROG + bool "USBProg JTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT + help + Enable building support for the USBProg JTAG + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_RLINK + bool "Raisonance RLink JTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT + help + Enable building support for the Raisonance RLink + JTAG Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_ARMEW + bool "Olimex ARM-JTAG-EW Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb-compat -> libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb-compat -> libusb + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT + help + Enable building support for the Olimex ARM-JTAG-EW + Programmer (default is auto) + +config BR2_PACKAGE_OPENOCD_XDS110 + bool "TI XDS110 Debug Probe" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + Enable building support for the TI XDS110 Debug Probe. + +config BR2_PACKAGE_OPENOCD_PARPORT + bool "pc parallel port driver" + help + Enable building the pc parallel port driver + +config BR2_PACKAGE_OPENOCD_VPI + bool "JTAG VPI" + help + Enable building support for JTAG VPI + +config BR2_PACKAGE_OPENOCD_UBLASTER + bool "Altera USB-Blaster" + depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb + select BR2_PACKAGE_LIBFTDI1 + help + Enable building support for the Altera USB-Blaster + using the libftdi driver, opensource alternate of + FTD2XX + +config BR2_PACKAGE_OPENOCD_AMTJT + bool "Amontec JTAG-Accelerator" + help + Enable building the Amontec JTAG-Accelerator driver + +if BR2_arm + +config BR2_PACKAGE_OPENOCD_EP93XX + bool "EP93xx based SBCs" + help + Enable building support for EP93xx based SBCs + +config BR2_PACKAGE_OPENOCD_AT91RM + bool "AT91RM9200 based SBCs" + help + Enable building support for AT91RM9200 based SBCs + +config BR2_PACKAGE_OPENOCD_BCM2835 + bool "bitbanging on BCM2835" + help + Enable building support for bitbanging on BCM2835 + (as found in Raspberry Pi) + +endif # BR2_arm + +config BR2_PACKAGE_OPENOCD_GW16012 + bool "Gateworks GW16012 JTAG Programmer" + help + Enable building support for the Gateworks GW16012 + JTAG Programmer + +config BR2_PACKAGE_OPENOCD_PRESTO + bool "ASIX Presto Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb + select BR2_PACKAGE_LIBFTDI1 + help + Enable building support for ASIX Presto Programmer + using the libftdi driver + +config BR2_PACKAGE_OPENOCD_OPENJTAG + bool "OpenJTAG Programmer" + depends on BR2_TOOLCHAIN_HAS_THREADS # libftdi -> libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libftdi -> libusb + select BR2_PACKAGE_LIBFTDI1 + select BR2_PACKAGE_LIBUSB + select BR2_PACKAGE_LIBUSB_COMPAT # needs usb.h + help + Enable building support for the OpenJTAG Programmer + with ftdi driver + +config BR2_PACKAGE_OPENOCD_BUSPIRATE + bool "Buspirate" + help + Enable building support for the Buspirate + +config BR2_PACKAGE_OPENOCD_SYSFS + bool "programming via sysfs gpios" + help + Enable building support for programming driven via + sysfs gpios. + +# Many adapters need libusb or libusb-compat, which require threads and +# gcc >= 4.9 but we don't want to duplicate this comment for all +# adapters that select libusb or libusb-compat. +comment "many openocd adapters needs a toolchain w/ threads, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +comment "xds110 adapter support needs toolchain w/ wchar" + depends on !BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +endif # BR2_PACKAGE_OPENOCD diff --git a/buildroot-2021.05/package/openocd/Config.in.host b/buildroot-2022.02.1/package/openocd/Config.in.host similarity index 100% rename from buildroot-2021.05/package/openocd/Config.in.host rename to buildroot-2022.02.1/package/openocd/Config.in.host diff --git a/buildroot-2022.02.1/package/openocd/openocd.hash b/buildroot-2022.02.1/package/openocd/openocd.hash new file mode 100644 index 00000000..91eb56d9 --- /dev/null +++ b/buildroot-2022.02.1/package/openocd/openocd.hash @@ -0,0 +1,3 @@ +# From http://sourceforge.net/projects/openocd/files/openocd/0.11.0/ +sha256 43a3ce734aff1d3706ad87793a9f3a5371cb0e357f0ffd0a151656b06b3d1e7d openocd-0.11.0.tar.bz2 +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/openocd/openocd.mk b/buildroot-2022.02.1/package/openocd/openocd.mk new file mode 100644 index 00000000..9f53ae3e --- /dev/null +++ b/buildroot-2022.02.1/package/openocd/openocd.mk @@ -0,0 +1,124 @@ +################################################################################ +# +# openocd +# +################################################################################ + +OPENOCD_VERSION = 0.11.0 +OPENOCD_SOURCE = openocd-$(OPENOCD_VERSION).tar.bz2 +OPENOCD_SITE = http://sourceforge.net/projects/openocd/files/openocd/$(OPENOCD_VERSION) +OPENOCD_LICENSE = GPL-2.0+ +OPENOCD_LICENSE_FILES = COPYING +# 0002-configure-enable-build-on-uclinux.patch patches configure.ac +OPENOCD_AUTORECONF = YES +OPENOCD_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=gnu99" + +OPENOCD_CONF_OPTS = \ + --oldincludedir=$(STAGING_DIR)/usr/include \ + --includedir=$(STAGING_DIR)/usr/include \ + --disable-doxygen-html \ + --disable-internal-jimtcl \ + --disable-shared \ + --enable-dummy \ + --disable-werror + +# Rely on the Config.in options of each individual adapter selecting +# the dependencies they need. + +OPENOCD_DEPENDENCIES = \ + host-pkgconf \ + jimtcl \ + $(if $(BR2_PACKAGE_LIBFTDI1),libftdi1) \ + $(if $(BR2_PACKAGE_LIBUSB),libusb) \ + $(if $(BR2_PACKAGE_LIBUSB_COMPAT),libusb-compat) \ + $(if $(BR2_PACKAGE_LIBHID),libhid) \ + $(if $(BR2_PACKAGE_HIDAPI),hidapi) \ + $(if $(BR2_PACKAGE_LIBGPIOD),libgpiod) + +# Adapters +OPENOCD_CONF_OPTS += \ + $(if $(BR2_PACKAGE_OPENOCD_FTDI),--enable-ftdi,--disable-ftdi) \ + $(if $(BR2_PACKAGE_OPENOCD_STLINK),--enable-stlink,--disable-stlink) \ + $(if $(BR2_PACKAGE_OPENOCD_TI_ICDI),--enable-ti-icdi,--disable-ti-icdi) \ + $(if $(BR2_PACKAGE_OPENOCD_ULINK),--enable-ulink,--disable-ulink) \ + $(if $(BR2_PACKAGE_OPENOCD_UBLASTER2),--enable-usb-blaster-2,--disable-usb-blaster-2) \ + $(if $(BR2_PACKAGE_OPENOCD_JLINK),--enable-jlink,--disable-jlink) \ + $(if $(BR2_PACKAGE_OPENOCD_OSDBM),--enable-osbdm,--disable-osbdm) \ + $(if $(BR2_PACKAGE_OPENOCD_OPENDOUS),--enable-opendous,--disable-opendous) \ + $(if $(BR2_PACKAGE_OPENOCD_AICE),--enable-aice,--disable-aice) \ + $(if $(BR2_PACKAGE_OPENOCD_VSLLINK),--enable-vsllink,--disable-vsllink) \ + $(if $(BR2_PACKAGE_OPENOCD_USBPROG),--enable-usbprog,--disable-usbprog) \ + $(if $(BR2_PACKAGE_OPENOCD_RLINK),--enable-rlink,--disable-rlink) \ + $(if $(BR2_PACKAGE_OPENOCD_XDS110),--enable-xds110,--disable-xds110) \ + $(if $(BR2_PACKAGE_OPENOCD_ARMEW),--enable-armjtagew,--disable-armjtagew) \ + $(if $(BR2_PACKAGE_OPENOCD_CMSIS_DAP),--enable-cmsis-dap,--disable-cmsis-dap) \ + $(if $(BR2_PACKAGE_OPENOCD_PARPORT),--enable-parport,--disable-parport) \ + $(if $(BR2_PACKAGE_OPENOCD_VPI),--enable-jtag_vpi,--disable-jtag_vpi) \ + $(if $(BR2_PACKAGE_OPENOCD_UBLASTER),--enable-usb-blaster,--disable-usb-blaster) \ + $(if $(BR2_PACKAGE_OPENOCD_AMTJT),--enable-amtjtagaccel,--disable-amjtagaccel) \ + $(if $(BR2_PACKAGE_OPENOCD_ZY1000_MASTER),--enable-zy1000-master,--disable-zy1000-master) \ + $(if $(BR2_PACKAGE_OPENOCD_ZY1000),--enable-zy1000,--disable-zy1000) \ + $(if $(BR2_PACKAGE_OPENOCD_EP93XX),--enable-ep93xx,--disable-ep93xx) \ + $(if $(BR2_PACKAGE_OPENOCD_AT91RM),--enable-at91rm9200,--disable-at91rm9200) \ + $(if $(BR2_PACKAGE_OPENOCD_BCM2835),--enable-bcm2835gpio,--disable-bcm2835gpio) \ + $(if $(BR2_PACKAGE_OPENOCD_GW16012),--enable-gw16012,--disable-gw16012) \ + $(if $(BR2_PACKAGE_OPENOCD_PRESTO),--enable-presto,--disable-presto) \ + $(if $(BR2_PACKAGE_OPENOCD_OPENJTAG),--enable-openjtag,--disable-openjtag) \ + $(if $(BR2_PACKAGE_OPENOCD_BUSPIRATE),--enable-buspirate,--disable-buspirate) \ + $(if $(BR2_PACKAGE_OPENOCD_SYSFS),--enable-sysfsgpio,--disable-sysfsgpio) + +# Enable all configuration options for host build. +# +# Note that deprecated options have been removed. CMSIS_DAP needs +# hidapi (currently not included in buildroot) and zy1000 stuff fails +# to build, so they've been removed too. +# +HOST_OPENOCD_CONF_OPTS = \ + --enable-ftdi \ + --enable-stlink \ + --enable-ti-icdi \ + --enable-ulink \ + --enable-usb-blaster-2 \ + --enable-jlink \ + --enable-osbdm \ + --enable-opendous \ + --enable-aice \ + --enable-vsllink \ + --enable-usbprog \ + --enable-rlink \ + --enable-armjtagew \ + --enable-parport \ + --enable-jtag_vpi \ + --enable-usb-blaster \ + --enable-amtjtagaccel \ + --enable-gw16012 \ + --enable-presto \ + --enable-openjtag \ + --enable-buspirate \ + --enable-sysfsgpio \ + --oldincludedir=$(HOST_DIR)/include \ + --includedir=$(HOST_DIR)/include \ + --disable-doxygen-html \ + --disable-internal-jimtcl \ + --disable-shared \ + --enable-dummy \ + --disable-werror + +HOST_OPENOCD_DEPENDENCIES = host-jimtcl host-libftdi host-libusb host-libusb-compat + +# Avoid documentation rebuild. On PowerPC64(le), we patch the +# configure script. Due to this, the version.texi files gets +# regenerated, and then since it has a newer date than openocd.info, +# openocd build system rebuilds the documentation. Unfortunately, this +# documentation rebuild fails on old machines. We work around this by +# faking the date of the generated version.texi file, to make the +# build system believe the documentation doesn't need to be +# regenerated. +define OPENOCD_FIX_VERSION_TEXI + touch -r $(@D)/doc/openocd.info $(@D)/doc/version.texi +endef +OPENOCD_POST_BUILD_HOOKS += OPENOCD_FIX_VERSION_TEXI +HOST_OPENOCD_POST_BUILD_HOOKS += OPENOCD_FIX_VERSION_TEXI + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/openpgm/0001-Rename-openpgm-5.2.pc.in.patch b/buildroot-2022.02.1/package/openpgm/0001-Rename-openpgm-5.2.pc.in.patch similarity index 100% rename from buildroot-2021.05/package/openpgm/0001-Rename-openpgm-5.2.pc.in.patch rename to buildroot-2022.02.1/package/openpgm/0001-Rename-openpgm-5.2.pc.in.patch diff --git a/buildroot-2022.02.1/package/openpgm/0002-openpgm-pgm-checksum.c-fix-build-with-32-bits-MMX.patch b/buildroot-2022.02.1/package/openpgm/0002-openpgm-pgm-checksum.c-fix-build-with-32-bits-MMX.patch new file mode 100644 index 00000000..a04dc7db --- /dev/null +++ b/buildroot-2022.02.1/package/openpgm/0002-openpgm-pgm-checksum.c-fix-build-with-32-bits-MMX.patch @@ -0,0 +1,41 @@ +From b7fa865fa6b06d97d424c500fd1c4bc44c096359 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 1 Nov 2020 22:46:18 +0100 +Subject: [PATCH] openpgm/pgm/checksum.c: fix build with 32 bits MMX + +Build with i386-pentium-mmx or i686 is broken since version 5-3-128 and +https://github.com/steve-o/openpgm/commit/b276dc15be5d4e6e1143b9de25d09f63f9c85135 +because _mm_cvtm64_si64 is undefined resulting in the following build +failure for example on zeromq: + +/srv/storage/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/8.3.0/../../../../i586-buildroot-linux-musl/bin/ld: /srv/storage/autobuild/run/instance-3/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib32/libpgm-5.3.so.0: undefined reference to `_mm_cvtm64_si64' + +So use the fallback if __x86_64__ is not defined + +Fixes: + - http://autobuild.buildroot.org/results/01d9be37e8a743307128f53f41785654c9971e1a + +Signed-off-by: Fabrice Fontaine +Signed-off-by: Baruch Siach +--- +Upstream status: commit b7fa865fa6b06d97d424c500fd1c4bc44c096359 + + openpgm/pgm/checksum.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/openpgm/pgm/checksum.c b/openpgm/pgm/checksum.c +index fef89bce237c..8d8dd3f32305 100644 +--- a/openpgm/pgm/checksum.c ++++ b/openpgm/pgm/checksum.c +@@ -948,7 +948,7 @@ do_csumcpy_mmx ( + + sum = _mm_add_pi32 (sum, lo); + sum = _mm_add_pi32 (sum, hi); +-#if 1 ++#if defined(__x86_64__) + *(int64_t*)dst = _mm_cvtm64_si64 (tmp); + #else + ((int*)dst)[1] = _mm_cvtsi64_si32 (tmp); +-- +2.30.2 + diff --git a/buildroot-2021.05/package/openpgm/Config.in b/buildroot-2022.02.1/package/openpgm/Config.in similarity index 100% rename from buildroot-2021.05/package/openpgm/Config.in rename to buildroot-2022.02.1/package/openpgm/Config.in diff --git a/buildroot-2021.05/package/openpgm/openpgm.hash b/buildroot-2022.02.1/package/openpgm/openpgm.hash similarity index 100% rename from buildroot-2021.05/package/openpgm/openpgm.hash rename to buildroot-2022.02.1/package/openpgm/openpgm.hash diff --git a/buildroot-2021.05/package/openpgm/openpgm.mk b/buildroot-2022.02.1/package/openpgm/openpgm.mk similarity index 100% rename from buildroot-2021.05/package/openpgm/openpgm.mk rename to buildroot-2022.02.1/package/openpgm/openpgm.mk diff --git a/buildroot-2021.05/package/openpowerlink/0001-install-the-stack-libraries-to-lib-subdirectory.patch b/buildroot-2022.02.1/package/openpowerlink/0001-install-the-stack-libraries-to-lib-subdirectory.patch similarity index 100% rename from buildroot-2021.05/package/openpowerlink/0001-install-the-stack-libraries-to-lib-subdirectory.patch rename to buildroot-2022.02.1/package/openpowerlink/0001-install-the-stack-libraries-to-lib-subdirectory.patch diff --git a/buildroot-2021.05/package/openpowerlink/0002-cmake-install-oplk-headers-files.patch b/buildroot-2022.02.1/package/openpowerlink/0002-cmake-install-oplk-headers-files.patch similarity index 100% rename from buildroot-2021.05/package/openpowerlink/0002-cmake-install-oplk-headers-files.patch rename to buildroot-2022.02.1/package/openpowerlink/0002-cmake-install-oplk-headers-files.patch diff --git a/buildroot-2021.05/package/openpowerlink/0003-Add-top-level-CMakeLists.txt.patch b/buildroot-2022.02.1/package/openpowerlink/0003-Add-top-level-CMakeLists.txt.patch similarity index 100% rename from buildroot-2021.05/package/openpowerlink/0003-Add-top-level-CMakeLists.txt.patch rename to buildroot-2022.02.1/package/openpowerlink/0003-Add-top-level-CMakeLists.txt.patch diff --git a/buildroot-2021.05/package/openpowerlink/Config.in b/buildroot-2022.02.1/package/openpowerlink/Config.in similarity index 100% rename from buildroot-2021.05/package/openpowerlink/Config.in rename to buildroot-2022.02.1/package/openpowerlink/Config.in diff --git a/buildroot-2021.05/package/openpowerlink/openpowerlink.hash b/buildroot-2022.02.1/package/openpowerlink/openpowerlink.hash similarity index 100% rename from buildroot-2021.05/package/openpowerlink/openpowerlink.hash rename to buildroot-2022.02.1/package/openpowerlink/openpowerlink.hash diff --git a/buildroot-2021.05/package/openpowerlink/openpowerlink.mk b/buildroot-2022.02.1/package/openpowerlink/openpowerlink.mk similarity index 100% rename from buildroot-2021.05/package/openpowerlink/openpowerlink.mk rename to buildroot-2022.02.1/package/openpowerlink/openpowerlink.mk diff --git a/buildroot-2021.05/package/openrc/0001-init.d-sysctl.in-add-support-for-busybox-sysctl.patch b/buildroot-2022.02.1/package/openrc/0001-init.d-sysctl.in-add-support-for-busybox-sysctl.patch similarity index 100% rename from buildroot-2021.05/package/openrc/0001-init.d-sysctl.in-add-support-for-busybox-sysctl.patch rename to buildroot-2022.02.1/package/openrc/0001-init.d-sysctl.in-add-support-for-busybox-sysctl.patch diff --git a/buildroot-2022.02.1/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch b/buildroot-2022.02.1/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch new file mode 100644 index 00000000..457fbacb --- /dev/null +++ b/buildroot-2022.02.1/package/openrc/0002-sh-init.sh.Linux.in-change-run-lock-from-root-uucp-t.patch @@ -0,0 +1,36 @@ +From 5ae8209afad9a4284723712b46d8685e7f7fd72c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20=C5=81yszczek?= +Date: Mon, 6 May 2019 00:06:39 +0200 +Subject: [PATCH] sh/init.sh.Linux.in: change /run/lock from root:uucp to + root:daemon +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +On gentoo /run/lock is owned by uucp group because of historical +reasons. However uucp does not exist on buildroot by default, and +it makes more sense that 'daemon' group should own this directory. + +Signed-off-by: Michał Łyszczek +[Fabrice: update for 0.43.3] +Signed-off-by: Fabrice Fontaine +--- + sh/init.sh.Linux.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in +index 222bbd3b..7f1a88db 100644 +--- a/sh/init.sh.Linux.in ++++ b/sh/init.sh.Linux.in +@@ -85,7 +85,7 @@ fi + fi + + checkpath -d "$RC_SVCDIR" +-checkpath -d -m 0775 -o root:uucp /run/lock ++checkpath -d -m 0775 -o root:daemon /run/lock + + # Try to mount xenfs as early as possible, otherwise rc_sys() will always + # return RC_SYS_XENU and will think that we are in a domU while it's not. +-- +2.18.1 + diff --git a/buildroot-2021.05/package/openrc/0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch b/buildroot-2022.02.1/package/openrc/0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch similarity index 100% rename from buildroot-2021.05/package/openrc/0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch rename to buildroot-2022.02.1/package/openrc/0003-init.d-agetty-replace-sbin-agetty-by-sbin-getty.patch diff --git a/buildroot-2021.05/package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch b/buildroot-2022.02.1/package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch similarity index 100% rename from buildroot-2021.05/package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch rename to buildroot-2022.02.1/package/openrc/0004-init.d-agetty-start-agetty-after-all-sevices.patch diff --git a/buildroot-2021.05/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch b/buildroot-2022.02.1/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch similarity index 100% rename from buildroot-2021.05/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch rename to buildroot-2022.02.1/package/openrc/0005-runlevels-do-not-add-agetty.tty-1-6-if-MKSYSVINIT-ye.patch diff --git a/buildroot-2022.02.1/package/openrc/0006-Also-create-run-lock-subsys-directory.patch b/buildroot-2022.02.1/package/openrc/0006-Also-create-run-lock-subsys-directory.patch new file mode 100644 index 00000000..cf592a88 --- /dev/null +++ b/buildroot-2022.02.1/package/openrc/0006-Also-create-run-lock-subsys-directory.patch @@ -0,0 +1,29 @@ +From 49e5929b468f604d80a0c04a6ce78eb96ca36090 Mon Sep 17 00:00:00 2001 +From: Norbert Lange +Date: Sun, 9 Jan 2022 00:22:40 +0100 +Subject: [PATCH] Also create /run/lock/subsys directory + +Buildroot service scripts regularly use this directory, so +create it in the most appropriate spot. + +Signed-off-by: Norbert Lange +--- + sh/init.sh.Linux.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in +index e8afc1fb..662ab223 100644 +--- a/sh/init.sh.Linux.in ++++ b/sh/init.sh.Linux.in +@@ -82,7 +82,7 @@ elif ! mountinfo -q /run; then + fi + + checkpath -d "$RC_SVCDIR" +-checkpath -d -m 0775 -o root:daemon /run/lock ++checkpath -d -m 0775 -o root:daemon /run/lock /run/lock/subsys + + # Try to mount xenfs as early as possible, otherwise rc_sys() will always + # return RC_SYS_XENU and will think that we are in a domU while it's not. +-- +2.34.1 + diff --git a/buildroot-2021.05/package/openrc/Config.in b/buildroot-2022.02.1/package/openrc/Config.in similarity index 100% rename from buildroot-2021.05/package/openrc/Config.in rename to buildroot-2022.02.1/package/openrc/Config.in diff --git a/buildroot-2022.02.1/package/openrc/openrc.hash b/buildroot-2022.02.1/package/openrc/openrc.hash new file mode 100644 index 00000000..4fcfa913 --- /dev/null +++ b/buildroot-2022.02.1/package/openrc/openrc.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 968e81743a1de7a2348590b3b3286d6af5baf96da28fa1e6364e24f8203fc3b6 openrc-0.43.3.tar.gz +sha256 96862463f4e77e2508e4fc2c83773fd24807cb699368b63fd93a5e2b466dd624 LICENSE diff --git a/buildroot-2022.02.1/package/openrc/openrc.mk b/buildroot-2022.02.1/package/openrc/openrc.mk new file mode 100644 index 00000000..1d4e70f7 --- /dev/null +++ b/buildroot-2022.02.1/package/openrc/openrc.mk @@ -0,0 +1,93 @@ +################################################################################ +# +# openrc +# +################################################################################ + +OPENRC_VERSION = 0.43.3 +OPENRC_SITE = $(call github,OpenRC,openrc,$(OPENRC_VERSION)) +OPENRC_LICENSE = BSD-2-Clause +OPENRC_LICENSE_FILES = LICENSE +OPENRC_CPE_ID_VENDOR = openrc_project + +OPENRC_DEPENDENCIES = ncurses + +# set LIBNAME so openrc puts files in proper directories and sets proper +# paths in installed files. Since in buildroot /lib64 and /lib32 always +# points to /lib, it's safe to hardcode it to "lib" +OPENRC_MAKE_OPTS = \ + LIBNAME=lib \ + LIBEXECDIR=/usr/libexec/rc \ + MKPKGCONFIG=no \ + MKSYSVINIT=yes \ + BRANDING="Buildroot $(BR2_VERSION_FULL)" \ + CC=$(TARGET_CC) + +ifeq ($(BR2_SHARED_LIBS),y) +OPENRC_MAKE_OPTS += MKSTATICLIBS=no +else +OPENRC_MAKE_OPTS += MKSTATICLIBS=yes +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +OPENRC_MAKE_OPTS += MKSELINUX=yes +OPENRC_DEPENDENCIES += libselinux +else +OPENRC_MAKE_OPTS += MKSELINUX=no +endif + +define OPENRC_BUILD_CMDS + $(MAKE) $(OPENRC_MAKE_OPTS) -C $(@D) +endef + +define OPENRC_INSTALL_TARGET_CMDS + $(MAKE) $(OPENRC_MAKE_OPTS) DESTDIR=$(TARGET_DIR) -C $(@D) install + $(INSTALL) -D -m 0755 $(OPENRC_PKGDIR)/sysv-rcs \ + $(TARGET_DIR)/etc/init.d/sysv-rcs +endef + +ifeq ($(BR2_PACKAGE_KBD),) +# keymaps and save-keymaps require kbd_mode and dumpkeys, respectively, so +# remove them if the kbd package is not selected (e.g. devices with serial +# console, only). +define OPENRC_NO_KBD + $(RM) $(TARGET_DIR)/etc/runlevels/boot/{keymaps,save-keymaps} + $(RM) $(TARGET_DIR)/etc/init.d/{keymaps,save-keymaps} + $(RM) $(TARGET_DIR)/etc/conf.d/keymaps +endef +OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_NO_KBD +endif + +ifeq ($(BR2_PACKAGE_NETIFRC),y) +# netifrc replaces network, staticroute and loopback services which are +# installed by openrc +define OPENRC_NO_NET + $(RM) $(TARGET_DIR)/etc/runlevels/boot/{network,staticroute,loopback} + $(RM) $(TARGET_DIR)/etc/init.d/{network,staticroute,loopback} + $(RM) $(TARGET_DIR)/etc/conf.d/{network,staticroute,loopback} +endef +OPENRC_POST_INSTALL_TARGET_HOOKS += OPENRC_NO_NET +endif + +define OPENRC_REMOVE_UNNEEDED + $(RM) -r $(TARGET_DIR)/usr/share/openrc +endef +OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_REMOVE_UNNEEDED + +ifeq ($(BR2_TARGET_GENERIC_GETTY),y) +OPENRC_GETTY_SVCNAME = agetty.$(SYSTEM_GETTY_PORT) +OPENRC_GETTY_CONF_D = $(TARGET_DIR)/etc/conf.d/$(OPENRC_GETTY_SVCNAME) +define OPENRC_SET_GETTY + { \ + echo "baud=\"$(SYSTEM_GETTY_BAUDRATE)\""; \ + echo "term_type=\"$(SYSTEM_GETTY_TERM)\"" ; \ + echo "agetty_options=\"-L $(SYSTEM_GETTY_OPTIONS)\""; \ + } > $(OPENRC_GETTY_CONF_D) + ln -sf agetty $(TARGET_DIR)/etc/init.d/$(OPENRC_GETTY_SVCNAME) + ln -sf /etc/init.d/$(OPENRC_GETTY_SVCNAME) \ + $(TARGET_DIR)/etc/runlevels/default/$(OPENRC_GETTY_SVCNAME) +endef +OPENRC_TARGET_FINALIZE_HOOKS += OPENRC_SET_GETTY +endif # BR2_TARGET_GENERIC_GETTY + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/openrc/sysv-rcs b/buildroot-2022.02.1/package/openrc/sysv-rcs similarity index 100% rename from buildroot-2021.05/package/openrc/sysv-rcs rename to buildroot-2022.02.1/package/openrc/sysv-rcs diff --git a/buildroot-2021.05/package/openresolv/Config.in b/buildroot-2022.02.1/package/openresolv/Config.in similarity index 100% rename from buildroot-2021.05/package/openresolv/Config.in rename to buildroot-2022.02.1/package/openresolv/Config.in diff --git a/buildroot-2022.02.1/package/openresolv/openresolv.hash b/buildroot-2022.02.1/package/openresolv/openresolv.hash new file mode 100644 index 00000000..7a5fb0e1 --- /dev/null +++ b/buildroot-2022.02.1/package/openresolv/openresolv.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 96b573e26d145f208d3758c2cd6fbf824b01005fc4cb7cedbdae29b3a3c8cb02 openresolv-3.12.0.tar.gz +sha256 384740bf5e19e7628d20f4dcc22925062fdc6020e9a6f074e567d4d797be57a0 LICENSE diff --git a/buildroot-2022.02.1/package/openresolv/openresolv.mk b/buildroot-2022.02.1/package/openresolv/openresolv.mk new file mode 100644 index 00000000..3857ab83 --- /dev/null +++ b/buildroot-2022.02.1/package/openresolv/openresolv.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# openresolv +# +################################################################################ + +OPENRESOLV_VERSION = 3.12.0 +OPENRESOLV_SITE = $(call github,rsmarples,openresolv,openresolv-$(OPENRESOLV_VERSION)) +OPENRESOLV_LICENSE = BSD-2-Clause +OPENRESOLV_LICENSE_FILES = LICENSE +OPENRESOLV_CPE_ID_VENDOR = openresolv_project + +define OPENRESOLV_CONFIGURE_CMDS + cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure --sysconfdir=/etc +endef + +define OPENRESOLV_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define OPENRESOLV_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch b/buildroot-2022.02.1/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch new file mode 100644 index 00000000..16eb6eab --- /dev/null +++ b/buildroot-2022.02.1/package/openssh/0001-Allow-ppoll_time64-in-seccomp-sandbox.patch @@ -0,0 +1,32 @@ +From 284b6e5394652d519e31782e3b3cdfd7b21d1a81 Mon Sep 17 00:00:00 2001 +From: Darren Tucker +Date: Sat, 26 Feb 2022 14:06:14 +1100 +Subject: [PATCH] Allow ppoll_time64 in seccomp sandbox. + +Should fix sandbox violations on (some? at least i386 and armhf) 32bit +Linux platforms. Patch from chutzpahu at gentoo.org and cjwatson at +debian.org via bz#3396. + +[Upstream: https://github.com/openssh/openssh-portable/commit/284b6e5394652d519e31782e3b3cdfd7b21d1a81.patch] +Signed-off-by: John Keeping +--- + sandbox-seccomp-filter.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c +index 2e065ba3..4ce80cb2 100644 +--- a/sandbox-seccomp-filter.c ++++ b/sandbox-seccomp-filter.c +@@ -276,6 +276,9 @@ static const struct sock_filter preauth_insns[] = { + #ifdef __NR_ppoll + SC_ALLOW(__NR_ppoll), + #endif ++#ifdef __NR_ppoll_time64 ++ SC_ALLOW(__NR_ppoll_time64), ++#endif + #ifdef __NR_poll + SC_ALLOW(__NR_poll), + #endif +-- +2.35.1 + diff --git a/buildroot-2022.02.1/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch b/buildroot-2022.02.1/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch new file mode 100644 index 00000000..ce5c5539 --- /dev/null +++ b/buildroot-2022.02.1/package/openssh/0002-Improve-detection-of-fzero-call-used-regs-all-suppor.patch @@ -0,0 +1,38 @@ +From b5fee5fe98f708c1dc61a1564db35eacadbfe8b3 Mon Sep 17 00:00:00 2001 +From: Colin Watson +Date: Thu, 24 Feb 2022 16:04:18 +0000 +Subject: [PATCH] Improve detection of -fzero-call-used-regs=all support + +GCC doesn't tell us whether this option is supported unless it runs into +the situation where it would need to emit corresponding code. + +[Upstream: https://github.com/openssh/openssh-portable/commit/f107467179428a0e3ea9e4aa9738ac12ff02822d.patch] +Signed-off-by: Peter Seiderer +--- + m4/openssh.m4 | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/m4/openssh.m4 b/m4/openssh.m4 +index 4f9c379..8c33c70 100644 +--- a/m4/openssh.m4 ++++ b/m4/openssh.m4 +@@ -14,6 +14,8 @@ AC_DEFUN([OSSH_CHECK_CFLAG_COMPILE], [{ + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ + #include + #include ++/* Trivial function to help test for -fzero-call-used-regs */ ++void f(int n) {} + int main(int argc, char **argv) { + (void)argv; + /* Some math to catch -ftrapv problems in the toolchain */ +@@ -21,6 +23,7 @@ int main(int argc, char **argv) { + float l = i * 2.1; + double m = l / 0.5; + long long int n = argc * 12345LL, o = 12345LL * (long long int)argc; ++ f(0); + printf("%d %d %d %f %f %lld %lld\n", i, j, k, l, m, n, o); + /* + * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does +-- +2.35.1 + diff --git a/buildroot-2021.05/package/openssh/Config.in b/buildroot-2022.02.1/package/openssh/Config.in similarity index 100% rename from buildroot-2021.05/package/openssh/Config.in rename to buildroot-2022.02.1/package/openssh/Config.in diff --git a/buildroot-2021.05/package/openssh/S50sshd b/buildroot-2022.02.1/package/openssh/S50sshd similarity index 100% rename from buildroot-2021.05/package/openssh/S50sshd rename to buildroot-2022.02.1/package/openssh/S50sshd diff --git a/buildroot-2022.02.1/package/openssh/openssh.hash b/buildroot-2022.02.1/package/openssh/openssh.hash new file mode 100644 index 00000000..dd123c1b --- /dev/null +++ b/buildroot-2022.02.1/package/openssh/openssh.hash @@ -0,0 +1,4 @@ +# From https://www.openssh.com/txt/release-8.9 (base64 encoded) +sha256 fd497654b7ab1686dac672fb83dfb4ba4096e8b5ffcdaccd262380ae58bec5e7 openssh-8.9p1.tar.gz +# Locally calculated +sha256 d6807e99f3d159145c659060f57c3fa74e109faa39326dbfc38674cb550fd104 LICENCE diff --git a/buildroot-2022.02.1/package/openssh/openssh.mk b/buildroot-2022.02.1/package/openssh/openssh.mk new file mode 100644 index 00000000..84add956 --- /dev/null +++ b/buildroot-2022.02.1/package/openssh/openssh.mk @@ -0,0 +1,137 @@ +################################################################################ +# +# openssh +# +################################################################################ + +OPENSSH_VERSION_MAJOR = 8.9 +OPENSSH_VERSION_MINOR = p1 +OPENSSH_VERSION = $(OPENSSH_VERSION_MAJOR)$(OPENSSH_VERSION_MINOR) +OPENSSH_CPE_ID_VERSION = $(OPENSSH_VERSION_MAJOR) +OPENSSH_CPE_ID_UPDATE = $(OPENSSH_VERSION_MINOR) +OPENSSH_SITE = http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable +OPENSSH_LICENSE = BSD-3-Clause, BSD-2-Clause, Public Domain +OPENSSH_LICENSE_FILES = LICENCE + +# patch touching m4/openssh.m4 +OPENSSH_AUTORECONF = YES + +OPENSSH_CONF_ENV = \ + LD="$(TARGET_CC)" \ + LDFLAGS="$(TARGET_CFLAGS)" \ + LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` +OPENSSH_CPE_ID_VENDOR = openbsd +OPENSSH_CONF_OPTS = \ + --sysconfdir=/etc/ssh \ + --with-default-path=$(BR2_SYSTEM_DEFAULT_PATH) \ + --disable-lastlog \ + --disable-utmp \ + --disable-utmpx \ + --disable-wtmp \ + --disable-wtmpx \ + --disable-strip + +OPENSSH_SELINUX_MODULES = ssh + +define OPENSSH_PERMISSIONS + /var/empty d 755 root root - - - - - +endef + +ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) +OPENSSH_CONF_OPTS += --without-pie +endif + +OPENSSH_DEPENDENCIES = host-pkgconf zlib openssl + +ifeq ($(BR2_PACKAGE_CRYPTODEV_LINUX),y) +OPENSSH_DEPENDENCIES += cryptodev-linux +OPENSSH_CONF_OPTS += --with-ssl-engine +else +OPENSSH_CONF_OPTS += --without-ssl-engine +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +OPENSSH_DEPENDENCIES += audit +OPENSSH_CONF_OPTS += --with-audit=linux +else +OPENSSH_CONF_OPTS += --without-audit +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +define OPENSSH_INSTALL_PAM_CONF + $(INSTALL) -D -m 644 $(@D)/contrib/sshd.pam.generic $(TARGET_DIR)/etc/pam.d/sshd + $(SED) '\%password required /lib/security/pam_cracklib.so%d' $(TARGET_DIR)/etc/pam.d/sshd + $(SED) 's/\#UsePAM no/UsePAM yes/' $(TARGET_DIR)/etc/ssh/sshd_config +endef + +OPENSSH_DEPENDENCIES += linux-pam +OPENSSH_CONF_OPTS += --with-pam +OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_PAM_CONF +else +OPENSSH_CONF_OPTS += --without-pam +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +OPENSSH_DEPENDENCIES += libselinux +OPENSSH_CONF_OPTS += --with-selinux +else +OPENSSH_CONF_OPTS += --without-selinux +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) +define OPENSSH_INSTALL_SYSTEMD_SYSUSERS + $(INSTALL) -m 0644 -D package/openssh/sshd-sysusers.conf \ + $(TARGET_DIR)/usr/lib/sysusers.d/sshd.conf +endef +else +define OPENSSH_USERS + sshd -1 sshd -1 * /var/empty - - SSH drop priv user +endef +endif + +# Let the default install rule only install the configuration file. +# The programs will be installed based on the config options selected. +OPENSSH_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-sysconf + +ifeq ($(BR2_PACKAGE_OPENSSH_CLIENT),y) +define OPENSSH_INSTALL_CLIENT_PROGRAMS + $(INSTALL) -D -m 0755 $(@D)/ssh $(TARGET_DIR)/usr/bin/ssh + $(INSTALL) -D -m 0755 $(@D)/scp $(TARGET_DIR)/usr/bin/scp + $(INSTALL) -D -m 0755 $(@D)/sftp $(TARGET_DIR)/usr/bin/sftp + $(INSTALL) -D -m 0755 $(@D)/ssh-agent $(TARGET_DIR)/usr/bin/ssh-agent + $(INSTALL) -D -m 0755 $(@D)/ssh-add $(TARGET_DIR)/usr/bin/ssh-add + $(INSTALL) -D -m 4711 $(@D)/ssh-keysign $(TARGET_DIR)/usr/libexec/ssh-keysign + $(INSTALL) -D -m 0755 $(@D)/ssh-pkcs11-helper $(TARGET_DIR)/usr/libexec/ssh-pkcs11-helper + $(INSTALL) -D -m 0755 $(@D)/contrib/ssh-copy-id $(TARGET_DIR)/usr/bin/ssh-copy-id +endef +OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_CLIENT_PROGRAMS +endif + +ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y) +define OPENSSH_INSTALL_SERVER_PROGRAMS + $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd + $(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server +endef +OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS + +define OPENSSH_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/openssh/sshd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/sshd.service + $(OPENSSH_INSTALL_SYSTEMD_SYSUSERS) +endef + +define OPENSSH_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/openssh/S50sshd \ + $(TARGET_DIR)/etc/init.d/S50sshd +endef +endif + +ifeq ($(BR2_PACKAGE_OPENSSH_KEY_UTILS),y) +define OPENSSH_INSTALL_KEY_UTILS + $(INSTALL) -D -m 0755 $(@D)/ssh-keygen $(TARGET_DIR)/usr/bin/ssh-keygen + $(INSTALL) -D -m 0755 $(@D)/ssh-keyscan $(TARGET_DIR)/usr/bin/ssh-keyscan +endef +OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_KEY_UTILS +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/openssh/sshd-sysusers.conf b/buildroot-2022.02.1/package/openssh/sshd-sysusers.conf similarity index 100% rename from buildroot-2021.05/package/openssh/sshd-sysusers.conf rename to buildroot-2022.02.1/package/openssh/sshd-sysusers.conf diff --git a/buildroot-2021.05/package/openssh/sshd.service b/buildroot-2022.02.1/package/openssh/sshd.service similarity index 100% rename from buildroot-2021.05/package/openssh/sshd.service rename to buildroot-2022.02.1/package/openssh/sshd.service diff --git a/buildroot-2022.02.1/package/openssl/Config.in b/buildroot-2022.02.1/package/openssl/Config.in new file mode 100644 index 00000000..7bf49b05 --- /dev/null +++ b/buildroot-2022.02.1/package/openssl/Config.in @@ -0,0 +1,67 @@ +config BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + bool + +config BR2_PACKAGE_OPENSSL + bool "openssl support" + select BR2_PACKAGE_HAS_OPENSSL + help + Select the desired ssl library provider. + +if BR2_PACKAGE_OPENSSL + +choice + prompt "ssl library" + help + Select OpenSSL or LibreSSL. + +config BR2_PACKAGE_LIBOPENSSL + bool "openssl" + select BR2_PACKAGE_ZLIB + help + A collaborative effort to develop a robust, commercial-grade, + fully featured, and Open Source toolkit implementing the + Secure Sockets Layer (SSL v2/v3) and Transport Security + (TLS v1) as well as a full-strength general-purpose + cryptography library. + + http://www.openssl.org/ + + Note: Some helper scripts need perl. + +source "package/libopenssl/Config.in" + +config BR2_PACKAGE_LIBRESSL + bool "libressl" + depends on !BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + depends on BR2_TOOLCHAIN_HAS_THREADS + # uClibc on noMMU doesn't provide __register_atfork() + depends on !(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU) + help + LibreSSL is a version of the TLS/crypto stack forked from + OpenSSL in 2014, with goals of modernizing the codebase, + improving security, and applying best practice development + processes. + + http://www.libressl.org/ + +source "package/libressl/Config.in" + +# openssl from br2-external trees, if any +source "$BR2_BASE_DIR/.br2-external.in.openssl" + +endchoice + +config BR2_PACKAGE_HAS_OPENSSL + bool + +config BR2_PACKAGE_PROVIDES_OPENSSL + string + default "libopenssl" if BR2_PACKAGE_LIBOPENSSL + default "libressl" if BR2_PACKAGE_LIBRESSL + +endif + +# ensure libopenssl is used for the host variant +config BR2_PACKAGE_PROVIDES_HOST_OPENSSL + string + default "host-libopenssl" diff --git a/buildroot-2021.05/package/openssl/openssl.mk b/buildroot-2022.02.1/package/openssl/openssl.mk similarity index 100% rename from buildroot-2021.05/package/openssl/openssl.mk rename to buildroot-2022.02.1/package/openssl/openssl.mk diff --git a/buildroot-2021.05/package/openswan/Config.in b/buildroot-2022.02.1/package/openswan/Config.in similarity index 100% rename from buildroot-2021.05/package/openswan/Config.in rename to buildroot-2022.02.1/package/openswan/Config.in diff --git a/buildroot-2021.05/package/openswan/openswan.hash b/buildroot-2022.02.1/package/openswan/openswan.hash similarity index 100% rename from buildroot-2021.05/package/openswan/openswan.hash rename to buildroot-2022.02.1/package/openswan/openswan.hash diff --git a/buildroot-2022.02.1/package/openswan/openswan.mk b/buildroot-2022.02.1/package/openswan/openswan.mk new file mode 100644 index 00000000..bb56e451 --- /dev/null +++ b/buildroot-2022.02.1/package/openswan/openswan.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# openswan +# +################################################################################ + +OPENSWAN_VERSION = 3.0.0 +OPENSWAN_SITE = $(call github,xelerance,Openswan,v$(OPENSWAN_VERSION)) +OPENSWAN_LICENSE = GPL-2.0+, BSD-3-Clause +OPENSWAN_LICENSE_FILES = COPYING LICENSE +OPENSWAN_CPE_ID_VENDOR = xelerance + +OPENSWAN_DEPENDENCIES = host-bison host-flex gmp iproute2 +OPENSWAN_MAKE_OPTS = ARCH=$(BR2_ARCH) CC="$(TARGET_CC)" POD2MAN="" XMLTO="" \ + USERCOMPILE="$(TARGET_CFLAGS) $(if $(BR2_TOOLCHAIN_SUPPORTS_PIE),-fPIE)" \ + USERLINK="$(TARGET_LDFLAGS) $(if $(BR2_TOOLCHAIN_SUPPORTS_PIE),-fPIE)" \ + INC_USRLOCAL=/usr USE_KLIPS=false USE_MAST=false USE_NM=false \ + USE_NOMANINSTALL=true WERROR="" + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +OPENSWAN_DEPENDENCIES += libcurl +OPENSWAN_MAKE_OPTS += USE_LIBCURL=true +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +OPENSWAN_DEPENDENCIES += openssl +OPENSWAN_MAKE_OPTS += HAVE_OPENSSL=true +ifeq ($(BR2_PACKAGE_OCF_LINUX),y) +OPENSWAN_MAKE_OPTS += HAVE_OCF=true +endif +endif + +define OPENSWAN_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \ + $(OPENSWAN_MAKE_OPTS) programs +endef + +define OPENSWAN_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) \ + $(OPENSWAN_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/opentracing-cpp/Config.in b/buildroot-2022.02.1/package/opentracing-cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/opentracing-cpp/Config.in rename to buildroot-2022.02.1/package/opentracing-cpp/Config.in diff --git a/buildroot-2021.05/package/opentracing-cpp/opentracing-cpp.hash b/buildroot-2022.02.1/package/opentracing-cpp/opentracing-cpp.hash similarity index 100% rename from buildroot-2021.05/package/opentracing-cpp/opentracing-cpp.hash rename to buildroot-2022.02.1/package/opentracing-cpp/opentracing-cpp.hash diff --git a/buildroot-2021.05/package/opentracing-cpp/opentracing-cpp.mk b/buildroot-2022.02.1/package/opentracing-cpp/opentracing-cpp.mk similarity index 100% rename from buildroot-2021.05/package/opentracing-cpp/opentracing-cpp.mk rename to buildroot-2022.02.1/package/opentracing-cpp/opentracing-cpp.mk diff --git a/buildroot-2021.05/package/opentyrian-data/Config.in b/buildroot-2022.02.1/package/opentyrian-data/Config.in similarity index 100% rename from buildroot-2021.05/package/opentyrian-data/Config.in rename to buildroot-2022.02.1/package/opentyrian-data/Config.in diff --git a/buildroot-2021.05/package/opentyrian-data/opentyrian-data.hash b/buildroot-2022.02.1/package/opentyrian-data/opentyrian-data.hash similarity index 100% rename from buildroot-2021.05/package/opentyrian-data/opentyrian-data.hash rename to buildroot-2022.02.1/package/opentyrian-data/opentyrian-data.hash diff --git a/buildroot-2021.05/package/opentyrian-data/opentyrian-data.mk b/buildroot-2022.02.1/package/opentyrian-data/opentyrian-data.mk similarity index 100% rename from buildroot-2021.05/package/opentyrian-data/opentyrian-data.mk rename to buildroot-2022.02.1/package/opentyrian-data/opentyrian-data.mk diff --git a/buildroot-2021.05/package/opentyrian/0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch b/buildroot-2022.02.1/package/opentyrian/0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch similarity index 100% rename from buildroot-2021.05/package/opentyrian/0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch rename to buildroot-2022.02.1/package/opentyrian/0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch diff --git a/buildroot-2021.05/package/opentyrian/Config.in b/buildroot-2022.02.1/package/opentyrian/Config.in similarity index 100% rename from buildroot-2021.05/package/opentyrian/Config.in rename to buildroot-2022.02.1/package/opentyrian/Config.in diff --git a/buildroot-2021.05/package/opentyrian/opentyrian.hash b/buildroot-2022.02.1/package/opentyrian/opentyrian.hash similarity index 100% rename from buildroot-2021.05/package/opentyrian/opentyrian.hash rename to buildroot-2022.02.1/package/opentyrian/opentyrian.hash diff --git a/buildroot-2021.05/package/opentyrian/opentyrian.mk b/buildroot-2022.02.1/package/opentyrian/opentyrian.mk similarity index 100% rename from buildroot-2021.05/package/opentyrian/opentyrian.mk rename to buildroot-2022.02.1/package/opentyrian/opentyrian.mk diff --git a/buildroot-2021.05/package/openvmtools/0001-no_cflags_werror.patch b/buildroot-2022.02.1/package/openvmtools/0001-no_cflags_werror.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0001-no_cflags_werror.patch rename to buildroot-2022.02.1/package/openvmtools/0001-no_cflags_werror.patch diff --git a/buildroot-2021.05/package/openvmtools/0002-dont-force-cppflags.patch b/buildroot-2022.02.1/package/openvmtools/0002-dont-force-cppflags.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0002-dont-force-cppflags.patch rename to buildroot-2022.02.1/package/openvmtools/0002-dont-force-cppflags.patch diff --git a/buildroot-2021.05/package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch b/buildroot-2022.02.1/package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch rename to buildroot-2022.02.1/package/openvmtools/0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch diff --git a/buildroot-2021.05/package/openvmtools/0004-Remove-assumptions-about-glibc-being-only-libc-imple.patch b/buildroot-2022.02.1/package/openvmtools/0004-Remove-assumptions-about-glibc-being-only-libc-imple.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0004-Remove-assumptions-about-glibc-being-only-libc-imple.patch rename to buildroot-2022.02.1/package/openvmtools/0004-Remove-assumptions-about-glibc-being-only-libc-imple.patch diff --git a/buildroot-2021.05/package/openvmtools/0005-Use-configure-test-for-struct-timespec.patch b/buildroot-2022.02.1/package/openvmtools/0005-Use-configure-test-for-struct-timespec.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0005-Use-configure-test-for-struct-timespec.patch rename to buildroot-2022.02.1/package/openvmtools/0005-Use-configure-test-for-struct-timespec.patch diff --git a/buildroot-2021.05/package/openvmtools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch b/buildroot-2022.02.1/package/openvmtools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch rename to buildroot-2022.02.1/package/openvmtools/0006-Fix-definition-of-ALLPERMS-and-ACCESSPERMS.patch diff --git a/buildroot-2021.05/package/openvmtools/0007-Use-configure-to-test-for-feature-instead-of-platfor.patch b/buildroot-2022.02.1/package/openvmtools/0007-Use-configure-to-test-for-feature-instead-of-platfor.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0007-Use-configure-to-test-for-feature-instead-of-platfor.patch rename to buildroot-2022.02.1/package/openvmtools/0007-Use-configure-to-test-for-feature-instead-of-platfor.patch diff --git a/buildroot-2021.05/package/openvmtools/0008-Use-configure-test-for-sys-stat.h-include.patch b/buildroot-2022.02.1/package/openvmtools/0008-Use-configure-test-for-sys-stat.h-include.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0008-Use-configure-test-for-sys-stat.h-include.patch rename to buildroot-2022.02.1/package/openvmtools/0008-Use-configure-test-for-sys-stat.h-include.patch diff --git a/buildroot-2021.05/package/openvmtools/0009-Set-permissions-on-rules-file.patch b/buildroot-2022.02.1/package/openvmtools/0009-Set-permissions-on-rules-file.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0009-Set-permissions-on-rules-file.patch rename to buildroot-2022.02.1/package/openvmtools/0009-Set-permissions-on-rules-file.patch diff --git a/buildroot-2021.05/package/openvmtools/0010-Change-DEVPATH-to-devpath.patch b/buildroot-2022.02.1/package/openvmtools/0010-Change-DEVPATH-to-devpath.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0010-Change-DEVPATH-to-devpath.patch rename to buildroot-2022.02.1/package/openvmtools/0010-Change-DEVPATH-to-devpath.patch diff --git a/buildroot-2021.05/package/openvmtools/0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch b/buildroot-2022.02.1/package/openvmtools/0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch similarity index 100% rename from buildroot-2021.05/package/openvmtools/0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch rename to buildroot-2022.02.1/package/openvmtools/0011-open-vm-tools-vmhgfs-fuse-fsutils.h-fix-build-on-mus.patch diff --git a/buildroot-2022.02.1/package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch b/buildroot-2022.02.1/package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch new file mode 100644 index 00000000..dbe2c29a --- /dev/null +++ b/buildroot-2022.02.1/package/openvmtools/0012-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch @@ -0,0 +1,80 @@ +From 3f0580f2546de8be7acf1bc78a55a257bc638ebe Mon Sep 17 00:00:00 2001 +From: Bartosz Brachaczek +Date: Tue, 12 Nov 2019 14:31:08 +0100 +Subject: [PATCH] Make HgfsConvertFromNtTimeNsec aware of 64-bit time_t on i386 + +I verified that this function behaves as expected on x86_64, i386 with +32-bit time_t, and i386 with 64-bit time_t for the following values of +ntTtime: + +UNIX_EPOCH-1, UNIX_EPOCH, UNIX_EPOCH+1, UNIX_S32_MAX-1, UNIX_S32_MAX, +UNIX_S32_MAX+1, UNIX_S32_MAX*2+1 + +I did not verify whether the use of Div643264 is optimal, performance +wise. + +Signed-off-by: Giulio Benetti +--- + lib/hgfs/hgfsUtil.c | 34 +++++++++++++++++++--------------- + 1 file changed, 19 insertions(+), 15 deletions(-) + +diff --git a/lib/hgfs/hgfsUtil.c b/lib/hgfs/hgfsUtil.c +index cc580ab8..49b10040 100644 +--- a/lib/hgfs/hgfsUtil.c ++++ b/lib/hgfs/hgfsUtil.c +@@ -110,23 +110,21 @@ HgfsConvertFromNtTimeNsec(struct timespec *unixTime, // OUT: Time in UNIX format + uint64 ntTime) // IN: Time in Windows NT format + { + #ifdef __i386__ +- uint32 sec; +- uint32 nsec; ++ uint64 sec64; ++ uint32 sec32, nsec; ++#endif + + ASSERT(unixTime); +- /* We assume that time_t is 32bit */ +- ASSERT_ON_COMPILE(sizeof (unixTime->tv_sec) == 4); + +- /* Cap NT time values that are outside of Unix time's range */ ++ if (sizeof (unixTime->tv_sec) == 4) { ++ /* Cap NT time values that are outside of Unix time's range */ + +- if (ntTime >= UNIX_S32_MAX) { +- unixTime->tv_sec = 0x7FFFFFFF; +- unixTime->tv_nsec = 0; +- return 1; ++ if (ntTime >= UNIX_S32_MAX) { ++ unixTime->tv_sec = 0x7FFFFFFF; ++ unixTime->tv_nsec = 0; ++ return 1; ++ } + } +-#else +- ASSERT(unixTime); +-#endif + + if (ntTime < UNIX_EPOCH) { + unixTime->tv_sec = 0; +@@ -135,9 +133,15 @@ HgfsConvertFromNtTimeNsec(struct timespec *unixTime, // OUT: Time in UNIX format + } + + #ifdef __i386__ +- Div643232(ntTime - UNIX_EPOCH, 10000000, &sec, &nsec); +- unixTime->tv_sec = sec; +- unixTime->tv_nsec = nsec * 100; ++ if (sizeof (unixTime->tv_sec) == 4) { ++ Div643232(ntTime - UNIX_EPOCH, 10000000, &sec32, &nsec); ++ unixTime->tv_sec = sec32; ++ unixTime->tv_nsec = nsec * 100; ++ } else { ++ Div643264(ntTime - UNIX_EPOCH, 10000000, &sec64, &nsec); ++ unixTime->tv_sec = sec64; ++ unixTime->tv_nsec = nsec * 100; ++ } + #else + unixTime->tv_sec = (ntTime - UNIX_EPOCH) / 10000000; + unixTime->tv_nsec = ((ntTime - UNIX_EPOCH) % 10000000) * 100; +-- +2.25.1 + diff --git a/buildroot-2021.05/package/openvmtools/Config.in b/buildroot-2022.02.1/package/openvmtools/Config.in similarity index 100% rename from buildroot-2021.05/package/openvmtools/Config.in rename to buildroot-2022.02.1/package/openvmtools/Config.in diff --git a/buildroot-2021.05/package/openvmtools/S10vmtoolsd b/buildroot-2022.02.1/package/openvmtools/S10vmtoolsd similarity index 100% rename from buildroot-2021.05/package/openvmtools/S10vmtoolsd rename to buildroot-2022.02.1/package/openvmtools/S10vmtoolsd diff --git a/buildroot-2021.05/package/openvmtools/openvmtools.hash b/buildroot-2022.02.1/package/openvmtools/openvmtools.hash similarity index 100% rename from buildroot-2021.05/package/openvmtools/openvmtools.hash rename to buildroot-2022.02.1/package/openvmtools/openvmtools.hash diff --git a/buildroot-2021.05/package/openvmtools/openvmtools.mk b/buildroot-2022.02.1/package/openvmtools/openvmtools.mk similarity index 100% rename from buildroot-2021.05/package/openvmtools/openvmtools.mk rename to buildroot-2022.02.1/package/openvmtools/openvmtools.mk diff --git a/buildroot-2021.05/package/openvmtools/shutdown b/buildroot-2022.02.1/package/openvmtools/shutdown similarity index 100% rename from buildroot-2021.05/package/openvmtools/shutdown rename to buildroot-2022.02.1/package/openvmtools/shutdown diff --git a/buildroot-2021.05/package/openvmtools/vmtoolsd.service b/buildroot-2022.02.1/package/openvmtools/vmtoolsd.service similarity index 100% rename from buildroot-2021.05/package/openvmtools/vmtoolsd.service rename to buildroot-2022.02.1/package/openvmtools/vmtoolsd.service diff --git a/buildroot-2022.02.1/package/openvpn/Config.in b/buildroot-2022.02.1/package/openvpn/Config.in new file mode 100644 index 00000000..cd8b1db9 --- /dev/null +++ b/buildroot-2022.02.1/package/openvpn/Config.in @@ -0,0 +1,39 @@ +config BR2_PACKAGE_OPENVPN + bool "openvpn" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + OpenVPN is a full-featured SSL VPN solution which can + accomodate a wide range of configurations, including road + warrior access, home/office/campus telecommuting, WiFi + security, secure branch office linking, and enterprise-scale + remote access solutions with load balancing, failover, and + fine-grained access-controls. + + http://openvpn.net/ + +if BR2_PACKAGE_OPENVPN + +config BR2_PACKAGE_OPENVPN_LZ4 + bool "LZ4 compression" + default y + select BR2_PACKAGE_LZ4 + help + Enable LZ4 compression. + +config BR2_PACKAGE_OPENVPN_LZO + bool "LZO compression" + default y + select BR2_PACKAGE_LZO + help + Enable LZO compression. + +config BR2_PACKAGE_OPENVPN_SMALL + bool "Optimize for small size" + help + Make OpenVPN as small as possible. + You loose eurephia, debugging info, help messages and more. + It saves around 100 KiB in binary file size. + +endif diff --git a/buildroot-2021.05/package/openvpn/S60openvpn b/buildroot-2022.02.1/package/openvpn/S60openvpn similarity index 100% rename from buildroot-2021.05/package/openvpn/S60openvpn rename to buildroot-2022.02.1/package/openvpn/S60openvpn diff --git a/buildroot-2022.02.1/package/openvpn/openvpn.hash b/buildroot-2022.02.1/package/openvpn/openvpn.hash new file mode 100644 index 00000000..bd598a51 --- /dev/null +++ b/buildroot-2022.02.1/package/openvpn/openvpn.hash @@ -0,0 +1,3 @@ +# Locally calculated after checking signature +sha256 333a7ef3d5b317968aca2c77bdc29aa7c6d6bb3316eb3f79743b59c53242ad3d openvpn-2.5.6.tar.gz +sha256 1fcb78d7e478bb8a9408010bdc91b36e213b1facfad093df3f7ce7e28af19043 COPYRIGHT.GPL diff --git a/buildroot-2022.02.1/package/openvpn/openvpn.mk b/buildroot-2022.02.1/package/openvpn/openvpn.mk new file mode 100644 index 00000000..db2f53a5 --- /dev/null +++ b/buildroot-2022.02.1/package/openvpn/openvpn.mk @@ -0,0 +1,78 @@ +################################################################################ +# +# openvpn +# +################################################################################ + +OPENVPN_VERSION = 2.5.6 +OPENVPN_SITE = https://swupdate.openvpn.net/community/releases +OPENVPN_DEPENDENCIES = host-pkgconf +OPENVPN_LICENSE = GPL-2.0 +OPENVPN_LICENSE_FILES = COPYRIGHT.GPL +OPENVPN_CPE_ID_VENDOR = openvpn +OPENVPN_SELINUX_MODULES = openvpn +OPENVPN_CONF_OPTS = \ + --disable-unit-tests \ + $(if $(BR2_STATIC_LIBS),--disable-plugins) +OPENVPN_CONF_ENV = NETSTAT=/bin/netstat + +ifeq ($(BR2_PACKAGE_OPENVPN_SMALL),y) +OPENVPN_CONF_OPTS += \ + --enable-small \ + --disable-plugins +endif + +ifeq ($(BR2_PACKAGE_OPENVPN_LZ4),y) +OPENVPN_DEPENDENCIES += lz4 +else +OPENVPN_CONF_OPTS += --disable-lz4 +endif + +ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y) +OPENVPN_DEPENDENCIES += lzo +else +OPENVPN_CONF_OPTS += --disable-lzo +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +OPENVPN_DEPENDENCIES += libselinux +OPENVPN_CONF_OPTS += --enable-selinux +else +OPENVPN_CONF_OPTS += --disable-selinux +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +OPENVPN_DEPENDENCIES += linux-pam +OPENVPN_CONF_OPTS += --enable-plugin-auth-pam +else +OPENVPN_CONF_OPTS += --disable-plugin-auth-pam +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +OPENVPN_DEPENDENCIES += openssl +OPENVPN_CONF_OPTS += --with-crypto-library=openssl +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) +OPENVPN_DEPENDENCIES += mbedtls +OPENVPN_CONF_OPTS += --with-crypto-library=mbedtls +endif + +ifeq ($(BR2_PACKAGE_PKCS11_HELPER),y) +OPENVPN_DEPENDENCIES += pkcs11-helper +OPENVPN_CONF_OPTS += --enable-pkcs11 +else +OPENVPN_CONF_OPTS += --disable-pkcs11 +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +OPENVPN_DEPENDENCIES += systemd +OPENVPN_CONF_OPTS += --enable-systemd +else +OPENVPN_CONF_OPTS += --disable-systemd +endif + +define OPENVPN_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/openvpn/S60openvpn \ + $(TARGET_DIR)/etc/init.d/S60openvpn +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/openzwave/Config.in b/buildroot-2022.02.1/package/openzwave/Config.in similarity index 100% rename from buildroot-2021.05/package/openzwave/Config.in rename to buildroot-2022.02.1/package/openzwave/Config.in diff --git a/buildroot-2021.05/package/openzwave/openzwave.hash b/buildroot-2022.02.1/package/openzwave/openzwave.hash similarity index 100% rename from buildroot-2021.05/package/openzwave/openzwave.hash rename to buildroot-2022.02.1/package/openzwave/openzwave.hash diff --git a/buildroot-2022.02.1/package/openzwave/openzwave.mk b/buildroot-2022.02.1/package/openzwave/openzwave.mk new file mode 100644 index 00000000..17da3b9b --- /dev/null +++ b/buildroot-2022.02.1/package/openzwave/openzwave.mk @@ -0,0 +1,62 @@ +################################################################################ +# +# openzwave +# +################################################################################ + +OPENZWAVE_VERSION = 62444b0f979c337d2091d77d89cf63c2ae9775cf +OPENZWAVE_SITE = $(call github,OpenZWave,open-zwave,$(OPENZWAVE_VERSION)) +OPENZWAVE_LICENSE = LGPL-3.0+, GPL-3.0 (examples), Apache-2.0 (sh2ju.sh) +OPENZWAVE_LICENSE_FILES = LICENSE licenses/license.txt licenses/lgpl.txt \ + licenses/gpl.txt licenses/Apache-License-2.0.txt +OPENZWAVE_DEPENDENCIES = tinyxml + +OPENZWAVE_INSTALL_STAGING = YES + +# Set instlibdir to install libopenzwave.so* in the correct directory +# otherwise openzwave will check that /lib64 exists (on the host) to +# know if the library should be installed in $(PREFIX)/lib or $(PREFIX)/lib64. +# Set pkgconfigdir to /lib/pkgconfig to install libopenzwave.pc in the +# correct directory otherwise openzwave will call +# "pkg-config --variable pc_path pkg-config" which returns an incorrect value. +# Set sysconfdir to /etc/openzwave to install openzwave configuration files in +# the correct directory otherwise openzwave will install configuration files in +# $(PREFIX)/etc/openzwave. +# Disable doxygen documentation. +# Set {DEBUG,RELEASE}_CFLAGS to remove -Werror. +OPENZWAVE_MAKE_OPTS = \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + PREFIX=/usr \ + instlibdir=/usr/lib \ + pkgconfigdir=/usr/lib/pkgconfig \ + sysconfdir=/etc/openzwave \ + DOXYGEN= \ + DEBUG_CFLAGS="-fPIC -std=c++11" \ + RELEASE_CFLAGS="-fPIC -std=c++11" \ + USE_BI_TXML=0 + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +OPENZWAVE_DEPENDENCIES += host-pkgconf udev +OPENZWAVE_MAKE_OPTS += USE_HID=1 +else +OPENZWAVE_MAKE_OPTS += USE_HID=0 +endif + +define OPENZWAVE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(OPENZWAVE_MAKE_OPTS) -C $(@D) +endef + +define OPENZWAVE_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(OPENZWAVE_MAKE_OPTS) -C $(@D) \ + DESTDIR=$(STAGING_DIR) install +endef + +# Delete unneeded ozw_config binary from target directory as this is an utility +# application used to get the openzwave build configuration. +define OPENZWAVE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(OPENZWAVE_MAKE_OPTS) -C $(@D) \ + DESTDIR=$(TARGET_DIR) install + rm -f $(TARGET_DIR)/usr/bin/ozw_config +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/opkg-utils/Config.in b/buildroot-2022.02.1/package/opkg-utils/Config.in new file mode 100644 index 00000000..2973055b --- /dev/null +++ b/buildroot-2022.02.1/package/opkg-utils/Config.in @@ -0,0 +1,28 @@ +config BR2_PACKAGE_OPKG_UTILS + bool "opkg-utils" + depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX # binutils + depends on BR2_USE_MMU # bash, python3 + depends on BR2_USE_WCHAR # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 <- libffi + depends on !BR2_STATIC_LIBS # python3 + select BR2_PACKAGE_BINUTILS if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_BINUTILS_TARGET if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_COREUTILS if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_DIFFUTILS if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_FINDUTILS if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_GREP if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_GZIP if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_SED if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_TAR if !BR2_PACKAGE_BUSYBOX # runtime + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # bash + select BR2_PACKAGE_BASH # runtime + select BR2_PACKAGE_PYTHON3 # runtime + help + Helper scripts for use with the opkg package manager. + + https://git.yoctoproject.org/cgit/cgit.cgi/opkg-utils/ + +comment "opkg-utils needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_nios2 || BR2_PACKAGE_BUSYBOX + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/opkg-utils/Config.in.host b/buildroot-2022.02.1/package/opkg-utils/Config.in.host similarity index 100% rename from buildroot-2021.05/package/opkg-utils/Config.in.host rename to buildroot-2022.02.1/package/opkg-utils/Config.in.host diff --git a/buildroot-2022.02.1/package/opkg-utils/opkg-utils.hash b/buildroot-2022.02.1/package/opkg-utils/opkg-utils.hash new file mode 100644 index 00000000..29671f96 --- /dev/null +++ b/buildroot-2022.02.1/package/opkg-utils/opkg-utils.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 e0fcaab51bff2149bd6560fb4238319d502dd99b581f66763d702e75c224736d opkg-utils-0.4.5-br1.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2022.02.1/package/opkg-utils/opkg-utils.mk b/buildroot-2022.02.1/package/opkg-utils/opkg-utils.mk new file mode 100644 index 00000000..369a4586 --- /dev/null +++ b/buildroot-2022.02.1/package/opkg-utils/opkg-utils.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# opkg-utils +# +################################################################################ + +OPKG_UTILS_VERSION = 0.4.5 +OPKG_UTILS_SITE = https://git.yoctoproject.org/git/opkg-utils +OPKG_UTILS_SITE_METHOD = git +OPKG_UTILS_LICENSE = GPL-2.0+ +OPKG_UTILS_LICENSE_FILES = COPYING + +HOST_OPKG_UTILS_DEPENDENCIES = \ + $(BR2_PYTHON3_HOST_DEPENDENCY) \ + host-diffutils \ + host-lz4 \ + host-xz + +# Nothing to build; only scripts to install. +define OPKG_UTILS_INSTALL_CMDS + $(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install-utils +endef + +# Nothing to build; only scripts to install. +define HOST_OPKG_UTILS_INSTALL_CMDS + $(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install-utils +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/opkg/Config.in b/buildroot-2022.02.1/package/opkg/Config.in similarity index 100% rename from buildroot-2021.05/package/opkg/Config.in rename to buildroot-2022.02.1/package/opkg/Config.in diff --git a/buildroot-2022.02.1/package/opkg/opkg.hash b/buildroot-2022.02.1/package/opkg/opkg.hash new file mode 100644 index 00000000..b0c0ba65 --- /dev/null +++ b/buildroot-2022.02.1/package/opkg/opkg.hash @@ -0,0 +1,4 @@ +# From http://downloads.yoctoproject.org/releases/opkg/SHA256SUMS +sha256 a1214a75fa34fb9228db8da47308e0e711b1c93fd8938cf164c10fd28eb50f1e opkg-0.4.5.tar.gz +# Locally calculated +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2022.02.1/package/opkg/opkg.mk b/buildroot-2022.02.1/package/opkg/opkg.mk new file mode 100644 index 00000000..501edcf8 --- /dev/null +++ b/buildroot-2022.02.1/package/opkg/opkg.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# opkg +# +################################################################################ + +OPKG_VERSION = 0.4.5 +OPKG_SITE = https://downloads.yoctoproject.org/releases/opkg +OPKG_DEPENDENCIES = host-pkgconf libarchive +OPKG_LICENSE = GPL-2.0+ +OPKG_LICENSE_FILES = COPYING +OPKG_INSTALL_STAGING = YES +OPKG_CONF_OPTS = --disable-curl + +# Ensure directory for lockfile exists +define OPKG_CREATE_LOCKDIR + mkdir -p $(TARGET_DIR)/usr/lib/opkg +endef + +ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y) +OPKG_CONF_OPTS += --enable-gpg +OPKG_CONF_ENV += \ + ac_cv_path_GPGME_CONFIG=$(STAGING_DIR)/usr/bin/gpgme-config \ + ac_cv_path_GPGERR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config +OPKG_DEPENDENCIES += libgpgme libgpg-error +else +OPKG_CONF_OPTS += --disable-gpg +endif + +OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/oprofile/0001-musl.patch b/buildroot-2022.02.1/package/oprofile/0001-musl.patch similarity index 100% rename from buildroot-2021.05/package/oprofile/0001-musl.patch rename to buildroot-2022.02.1/package/oprofile/0001-musl.patch diff --git a/buildroot-2021.05/package/oprofile/Config.in b/buildroot-2022.02.1/package/oprofile/Config.in similarity index 100% rename from buildroot-2021.05/package/oprofile/Config.in rename to buildroot-2022.02.1/package/oprofile/Config.in diff --git a/buildroot-2021.05/package/oprofile/oprofile.hash b/buildroot-2022.02.1/package/oprofile/oprofile.hash similarity index 100% rename from buildroot-2021.05/package/oprofile/oprofile.hash rename to buildroot-2022.02.1/package/oprofile/oprofile.hash diff --git a/buildroot-2022.02.1/package/oprofile/oprofile.mk b/buildroot-2022.02.1/package/oprofile/oprofile.mk new file mode 100644 index 00000000..265d6ebd --- /dev/null +++ b/buildroot-2022.02.1/package/oprofile/oprofile.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# oprofile +# +################################################################################ + +OPROFILE_VERSION = 1.4.0 +OPROFILE_SITE = http://downloads.sourceforge.net/project/oprofile/oprofile/oprofile-$(OPROFILE_VERSION) +OPROFILE_LICENSE = GPL-2.0+ +OPROFILE_LICENSE_FILES = COPYING +OPROFILE_CPE_ID_VENDOR = maynard_johnson +OPROFILE_CONF_OPTS = \ + --disable-account-check \ + --enable-gui=no \ + --with-kernel=$(STAGING_DIR)/usr + +OPROFILE_DEPENDENCIES = popt binutils host-pkgconf + +ifeq ($(BR2_PACKAGE_LIBPFM4),y) +OPROFILE_DEPENDENCIES += libpfm4 +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/optee-benchmark/Config.in b/buildroot-2022.02.1/package/optee-benchmark/Config.in new file mode 100644 index 00000000..2070582f --- /dev/null +++ b/buildroot-2022.02.1/package/optee-benchmark/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_OPTEE_BENCHMARK + bool "optee-benchmark" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client + depends on !BR2_STATIC_LIBS # optee-client + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client + select BR2_PACKAGE_OPTEE_CLIENT + select BR2_PACKAGE_LIBYAML + help + Enable the OP-TEE benchmark package that brings facilities + for profiling traversal and execution timings when + invoking OP-TEE. OP-TEE benchmark is a component delivered + by the OP-TEE project. + + http://github.com/linaro-swg/optee_benchmark + +comment "optee-benchmark needs a toolchain w/ threads, dynamic library, headers >= 4.3" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 diff --git a/buildroot-2022.02.1/package/optee-benchmark/optee-benchmark.hash b/buildroot-2022.02.1/package/optee-benchmark/optee-benchmark.hash new file mode 100644 index 00000000..3797920c --- /dev/null +++ b/buildroot-2022.02.1/package/optee-benchmark/optee-benchmark.hash @@ -0,0 +1,4 @@ +# From https://github.com/linaro-swg/optee_benchmark/archive/3.15.0/optee-benchmark-3.15.0.tar.gz +sha256 f1ddac5e9f58333194eb302e6d9840fa334300bc103abb3d9f783bf009a78c50 optee-benchmark-3.15.0.tar.gz +# Locally computed +sha256 0571be5b739142dc3e40e0a4e7e30d4ab8bff0d4d606a3f2db2010745587d383 LICENSE diff --git a/buildroot-2022.02.1/package/optee-benchmark/optee-benchmark.mk b/buildroot-2022.02.1/package/optee-benchmark/optee-benchmark.mk new file mode 100644 index 00000000..1357f9f2 --- /dev/null +++ b/buildroot-2022.02.1/package/optee-benchmark/optee-benchmark.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# optee-benchmark +# +################################################################################ + +OPTEE_BENCHMARK_VERSION = 3.15.0 +OPTEE_BENCHMARK_SITE = $(call github,linaro-swg,optee_benchmark,$(OPTEE_BENCHMARK_VERSION)) +OPTEE_BENCHMARK_LICENSE = BSD-2-Clause +OPTEE_BENCHMARK_LICENSE_FILES = LICENSE + +OPTEE_BENCHMARK_DEPENDENCIES = optee-client libyaml + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/optee-client/Config.in b/buildroot-2022.02.1/package/optee-client/Config.in new file mode 100644 index 00000000..cc7f176c --- /dev/null +++ b/buildroot-2022.02.1/package/optee-client/Config.in @@ -0,0 +1,44 @@ +config BR2_PACKAGE_OPTEE_CLIENT + bool "optee-client" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # MMC_IOC_MULTI_CMD + help + Enable the OP-TEE client package that brings non-secure + client application resources for OP-TEE support. OP-TEE + client is a component delivered by the OP-TEE project. + + The client API library allows application to invoke trusted + applications hosted in the OP-TEE OS secure world. The + supplicant provides services hosted by the non-secure world + and invoked by the secure world. + + https://github.com/OP-TEE/optee_client + +if BR2_PACKAGE_OPTEE_CLIENT + +config BR2_PACKAGE_OPTEE_CLIENT_TEE_FS_PATH + string "Path for normal world OS secure storage" + default "/data/tee" + help + Path to storage area for secure storage based on the + normal world OS providing the actual storage via + tee-supplicant. + +config BR2_PACKAGE_OPTEE_CLIENT_RPMB_EMU + bool "Enable RPMB emulation" + default y + help + Enable RPMB device emulation in tee-supplicant. + +config BR2_PACKAGE_OPTEE_CLIENT_SUPP_PLUGINS + bool "Enable TEE supplicant plugins" + default y + depends on !BR2_STATIC_LIBS # dlfcn.h + help + Enable TEE supplicant plugin support. + +endif + +comment "optee-client needs a toolchain w/ threads, headers >= 4.3" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 diff --git a/buildroot-2021.05/package/optee-client/S30optee b/buildroot-2022.02.1/package/optee-client/S30optee similarity index 100% rename from buildroot-2021.05/package/optee-client/S30optee rename to buildroot-2022.02.1/package/optee-client/S30optee diff --git a/buildroot-2022.02.1/package/optee-client/optee-client.hash b/buildroot-2022.02.1/package/optee-client/optee-client.hash new file mode 100644 index 00000000..3ae06f2a --- /dev/null +++ b/buildroot-2022.02.1/package/optee-client/optee-client.hash @@ -0,0 +1,4 @@ +# From https://github.com/OP-TEE/optee_client/archive/3.15.0/optee-client-3.15.0.tar.gz +sha256 e1ea6c953e3584248d7a62050813e5ac0f0112933447954c44236a233a4cbba5 optee-client-3.15.0.tar.gz +# Locally computed +sha256 fda8385993f112d7ca61b88b54ba5b4cbeec7e43a0f9b317d5186703c1985e8f LICENSE diff --git a/buildroot-2022.02.1/package/optee-client/optee-client.mk b/buildroot-2022.02.1/package/optee-client/optee-client.mk new file mode 100644 index 00000000..dda9a285 --- /dev/null +++ b/buildroot-2022.02.1/package/optee-client/optee-client.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# optee-client +# +################################################################################ + +OPTEE_CLIENT_VERSION = 3.15.0 +OPTEE_CLIENT_SITE = $(call github,OP-TEE,optee_client,$(OPTEE_CLIENT_VERSION)) +OPTEE_CLIENT_LICENSE = BSD-2-Clause +OPTEE_CLIENT_LICENSE_FILES = LICENSE +OPTEE_CLIENT_INSTALL_STAGING = YES + +OPTEE_CLIENT_CONF_OPTS = \ + -DCFG_TEE_FS_PARENT_PATH=$(BR2_PACKAGE_OPTEE_CLIENT_TEE_FS_PATH) \ + -DCFG_WERROR=OFF + +ifeq ($(BR2_PACKAGE_OPTEE_CLIENT_RPMB_EMU),y) +OPTEE_CLIENT_CONF_OPTS += -DRPMB_EMU=ON +else +OPTEE_CLIENT_CONF_OPTS += -DRPMB_EMU=OFF +endif + +ifeq ($(BR2_PACKAGE_OPTEE_CLIENT_SUPP_PLUGINS),y) +OPTEE_CLIENT_CONF_OPTS += -DCFG_TEE_SUPP_PLUGINS=ON +else +OPTEE_CLIENT_CONF_OPTS += -DCFG_TEE_SUPP_PLUGINS=OFF +endif + +define OPTEE_CLIENT_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D $(OPTEE_CLIENT_PKGDIR)/S30optee \ + $(TARGET_DIR)/etc/init.d/S30optee +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/optee-examples/Config.in b/buildroot-2022.02.1/package/optee-examples/Config.in new file mode 100644 index 00000000..843981a4 --- /dev/null +++ b/buildroot-2022.02.1/package/optee-examples/Config.in @@ -0,0 +1,26 @@ +config BR2_PACKAGE_OPTEE_EXAMPLES + bool "optee-examples" + depends on BR2_TARGET_OPTEE_OS + depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client + depends on !BR2_STATIC_LIBS # optee-client + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client + select BR2_PACKAGE_OPTEE_CLIENT + select BR2_TARGET_OPTEE_OS_SDK + help + Enable the OP-TEE examples package that brings examples of + implementation of OP-TEE non-secure client applications and + secure trusted applications. OP-TEE examples is a + component delivered by the OP-TEE project. + + Trusted application binary files are installed in the target + directory /lib/optee_armtz as other trusted applications. + At runtime OP-TEE OS can load trusted applications from this + non-secure filesystem/directory into the secure world for + execution. + + https://github.com/linaro-swg/optee_examples + +comment "optee-examples needs a toolchain w/ threads, dynamic library, headers >= 4.3" + depends on BR2_TARGET_OPTEE_OS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 diff --git a/buildroot-2022.02.1/package/optee-examples/optee-examples.hash b/buildroot-2022.02.1/package/optee-examples/optee-examples.hash new file mode 100644 index 00000000..f88904c7 --- /dev/null +++ b/buildroot-2022.02.1/package/optee-examples/optee-examples.hash @@ -0,0 +1,4 @@ +# From https://github.com/linaro-swg/optee_examples/archive/3.15.0/optee-examples-3.15.0.tar.gz +sha256 9770827292eea85068913077d3406070f6182389779c5d4a5c0876bffd962353 optee-examples-3.15.0.tar.gz +# Locally computed +sha256 6f1ef8449cb82ae79d2155605f7985bdf0f08e7ab5007de9b4362e8bf28733b9 LICENSE diff --git a/buildroot-2022.02.1/package/optee-examples/optee-examples.mk b/buildroot-2022.02.1/package/optee-examples/optee-examples.mk new file mode 100644 index 00000000..2b46dcc1 --- /dev/null +++ b/buildroot-2022.02.1/package/optee-examples/optee-examples.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# optee-examples +# +################################################################################ + +OPTEE_EXAMPLES_VERSION = 3.15.0 +OPTEE_EXAMPLES_SITE = $(call github,linaro-swg,optee_examples,$(OPTEE_EXAMPLES_VERSION)) +OPTEE_EXAMPLES_LICENSE = BSD-2-Clause +OPTEE_EXAMPLES_LICENSE_FILES = LICENSE + +OPTEE_EXAMPLES_DEPENDENCIES = optee-client optee-os + +# Trusted Application are not built from CMake due to ta_dev_kit dependencies. +# We must build and install them on target. +define OPTEE_EXAMPLES_BUILD_TAS + $(foreach f,$(wildcard $(@D)/*/ta/Makefile), \ + $(TARGET_CONFIGURE_OPTS) \ + $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) \ + TA_DEV_KIT_DIR=$(OPTEE_OS_SDK) \ + O=out -C $(dir $f) all + ) +endef +define OPTEE_EXAMPLES_INSTALL_TAS + @mkdir -p $(TARGET_DIR)/lib/optee_armtz + @$(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz $(@D)/*/ta/out/*.ta +endef +OPTEE_EXAMPLES_POST_BUILD_HOOKS += OPTEE_EXAMPLES_BUILD_TAS +OPTEE_EXAMPLES_POST_INSTALL_TARGET_HOOKS += OPTEE_EXAMPLES_INSTALL_TAS + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/optee-test/Config.in b/buildroot-2022.02.1/package/optee-test/Config.in new file mode 100644 index 00000000..cf36d19f --- /dev/null +++ b/buildroot-2022.02.1/package/optee-test/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_OPTEE_TEST + bool "optee-test" + depends on BR2_TARGET_OPTEE_OS + depends on BR2_TOOLCHAIN_HAS_THREADS # optee-client + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS # optee-client + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 # optee-client + select BR2_PACKAGE_OPTEE_CLIENT + select BR2_TARGET_OPTEE_OS_SDK + help + This build option enables OP-TEE test package from the + OP-TEE project. It helps platforms to verify the OP-TEE + installation against a set of regression and performance + tests. + + The package generates userspace test applications and + data files for the Linux userland. It also generates + OP-TEE trusted applications. + + Trusted application binary files are installed in the target + directory /lib/optee_armtz as other trusted applications. + At runtime OP-TEE OS can load trusted applications from this + non-secure filesystem/directory into the secure world for + execution. + + http://github.com/OP-TEE/optee_test + +comment "optee-test needs a toolchain w/ threads, C++, dynamic library, headers >= 4.3" + depends on BR2_TARGET_OPTEE_OS + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 diff --git a/buildroot-2022.02.1/package/optee-test/optee-test.hash b/buildroot-2022.02.1/package/optee-test/optee-test.hash new file mode 100644 index 00000000..5d68f94f --- /dev/null +++ b/buildroot-2022.02.1/package/optee-test/optee-test.hash @@ -0,0 +1,4 @@ +# From https://github.com/OP-TEE/optee_test/archive/3.15.0/optee-test-3.15.0.tar.gz +sha256 9c2b6b80055cbef0f9bccce17dde494725bc71d9013dacaeb3e46d0926191098 optee-test-3.15.0.tar.gz +# Locally computed +sha256 6e6810981f0ddab9e0d44399d0700a15d9f760a3c2843cc866659c2074139ae7 LICENSE.md diff --git a/buildroot-2022.02.1/package/optee-test/optee-test.mk b/buildroot-2022.02.1/package/optee-test/optee-test.mk new file mode 100644 index 00000000..f2117c0d --- /dev/null +++ b/buildroot-2022.02.1/package/optee-test/optee-test.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# optee-test +# +################################################################################ + +OPTEE_TEST_VERSION = 3.15.0 +OPTEE_TEST_SITE = $(call github,OP-TEE,optee_test,$(OPTEE_TEST_VERSION)) +OPTEE_TEST_LICENSE = GPL-2.0, BSD-2-Clause, +OPTEE_TEST_LICENSE_FILES = LICENSE.md + +OPTEE_TEST_DEPENDENCIES = optee-client optee-os + +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +OPTEE_TEST_DEPENDENCIES += libopenssl +endif + +OPTEE_TEST_CONF_OPTS = -DOPTEE_TEST_SDK=$(OPTEE_OS_SDK) + +# Trusted Application are not built from CMake due to ta_dev_kit +# dependencies. We must build and install them on target. +define OPTEE_TEST_BUILD_TAS + $(foreach f,$(wildcard $(@D)/ta/*_lib/Makefile) $(wildcard $(@D)/ta/*/Makefile), \ + $(TARGET_CONFIGURE_OPTS) \ + $(MAKE) CROSS_COMPILE=$(TARGET_CROSS) \ + TA_DEV_KIT_DIR=$(OPTEE_OS_SDK) \ + -C $(dir $f) all + ) +endef +define OPTEE_TEST_INSTALL_TAS + @mkdir -p $(TARGET_DIR)/lib/optee_armtz + @$(INSTALL) -D -m 444 -t $(TARGET_DIR)/lib/optee_armtz $(@D)/ta/*/*.ta +endef +OPTEE_TEST_POST_BUILD_HOOKS += OPTEE_TEST_BUILD_TAS +OPTEE_TEST_POST_INSTALL_TARGET_HOOKS += OPTEE_TEST_INSTALL_TAS + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/opus-tools/Config.in b/buildroot-2022.02.1/package/opus-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/opus-tools/Config.in rename to buildroot-2022.02.1/package/opus-tools/Config.in diff --git a/buildroot-2021.05/package/opus-tools/opus-tools.hash b/buildroot-2022.02.1/package/opus-tools/opus-tools.hash similarity index 100% rename from buildroot-2021.05/package/opus-tools/opus-tools.hash rename to buildroot-2022.02.1/package/opus-tools/opus-tools.hash diff --git a/buildroot-2021.05/package/opus-tools/opus-tools.mk b/buildroot-2022.02.1/package/opus-tools/opus-tools.mk similarity index 100% rename from buildroot-2021.05/package/opus-tools/opus-tools.mk rename to buildroot-2022.02.1/package/opus-tools/opus-tools.mk diff --git a/buildroot-2021.05/package/opus/Config.in b/buildroot-2022.02.1/package/opus/Config.in similarity index 100% rename from buildroot-2021.05/package/opus/Config.in rename to buildroot-2022.02.1/package/opus/Config.in diff --git a/buildroot-2021.05/package/opus/opus.hash b/buildroot-2022.02.1/package/opus/opus.hash similarity index 100% rename from buildroot-2021.05/package/opus/opus.hash rename to buildroot-2022.02.1/package/opus/opus.hash diff --git a/buildroot-2022.02.1/package/opus/opus.mk b/buildroot-2022.02.1/package/opus/opus.mk new file mode 100644 index 00000000..2fa929c7 --- /dev/null +++ b/buildroot-2022.02.1/package/opus/opus.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# opus +# +################################################################################ + +OPUS_VERSION = 1.3.1 +OPUS_SITE = https://downloads.xiph.org/releases/opus +OPUS_LICENSE = BSD-3-Clause +OPUS_LICENSE_FILES = COPYING +OPUS_INSTALL_STAGING = YES + +OPUS_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +OPUS_CFLAGS += -O0 +endif + +OPUS_CONF_ENV = CFLAGS="$(OPUS_CFLAGS)" +OPUS_CONF_OPTS = --enable-custom-modes + +ifeq ($(BR2_PACKAGE_OPUS_FIXED_POINT),y) +OPUS_CONF_OPTS += --enable-fixed-point +endif + +ifeq ($(BR2_OPTIMIZE_FAST),y) +OPUS_CONF_OPTS += --enable-float-approx +endif + +# When we're on ARM, but we don't have ARM instructions (only +# Thumb-2), disable the usage of assembly as it is not Thumb-ready. +ifeq ($(BR2_arm)$(BR2_armeb):$(BR2_ARM_CPU_HAS_ARM),y:) +OPUS_CONF_OPTS += --disable-asm +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/opusfile/Config.in b/buildroot-2022.02.1/package/opusfile/Config.in similarity index 100% rename from buildroot-2021.05/package/opusfile/Config.in rename to buildroot-2022.02.1/package/opusfile/Config.in diff --git a/buildroot-2021.05/package/opusfile/opusfile.hash b/buildroot-2022.02.1/package/opusfile/opusfile.hash similarity index 100% rename from buildroot-2021.05/package/opusfile/opusfile.hash rename to buildroot-2022.02.1/package/opusfile/opusfile.hash diff --git a/buildroot-2021.05/package/opusfile/opusfile.mk b/buildroot-2022.02.1/package/opusfile/opusfile.mk similarity index 100% rename from buildroot-2021.05/package/opusfile/opusfile.mk rename to buildroot-2022.02.1/package/opusfile/opusfile.mk diff --git a/buildroot-2021.05/package/oracle-mysql/0000-ac_cache_check.patch b/buildroot-2022.02.1/package/oracle-mysql/0000-ac_cache_check.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0000-ac_cache_check.patch rename to buildroot-2022.02.1/package/oracle-mysql/0000-ac_cache_check.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0001-configure-ps-cache-check.patch b/buildroot-2022.02.1/package/oracle-mysql/0001-configure-ps-cache-check.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0001-configure-ps-cache-check.patch rename to buildroot-2022.02.1/package/oracle-mysql/0001-configure-ps-cache-check.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0002-use-new-readline-iface.patch b/buildroot-2022.02.1/package/oracle-mysql/0002-use-new-readline-iface.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0002-use-new-readline-iface.patch rename to buildroot-2022.02.1/package/oracle-mysql/0002-use-new-readline-iface.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0003-ac_stack_direction-is-unset.patch b/buildroot-2022.02.1/package/oracle-mysql/0003-ac_stack_direction-is-unset.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0003-ac_stack_direction-is-unset.patch rename to buildroot-2022.02.1/package/oracle-mysql/0003-ac_stack_direction-is-unset.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0004-Fix-gen_lex_hash-execution.patch b/buildroot-2022.02.1/package/oracle-mysql/0004-Fix-gen_lex_hash-execution.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0004-Fix-gen_lex_hash-execution.patch rename to buildroot-2022.02.1/package/oracle-mysql/0004-Fix-gen_lex_hash-execution.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0005-bison_3_breaks_mysql_server_build.patch b/buildroot-2022.02.1/package/oracle-mysql/0005-bison_3_breaks_mysql_server_build.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0005-bison_3_breaks_mysql_server_build.patch rename to buildroot-2022.02.1/package/oracle-mysql/0005-bison_3_breaks_mysql_server_build.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0006-no-force-static-build.patch b/buildroot-2022.02.1/package/oracle-mysql/0006-no-force-static-build.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0006-no-force-static-build.patch rename to buildroot-2022.02.1/package/oracle-mysql/0006-no-force-static-build.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0007-dont-install-in-mysql-directory.patch b/buildroot-2022.02.1/package/oracle-mysql/0007-dont-install-in-mysql-directory.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0007-dont-install-in-mysql-directory.patch rename to buildroot-2022.02.1/package/oracle-mysql/0007-dont-install-in-mysql-directory.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0008-fix-type-conversion.patch b/buildroot-2022.02.1/package/oracle-mysql/0008-fix-type-conversion.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0008-fix-type-conversion.patch rename to buildroot-2022.02.1/package/oracle-mysql/0008-fix-type-conversion.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0009-gcc7.patch b/buildroot-2022.02.1/package/oracle-mysql/0009-gcc7.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0009-gcc7.patch rename to buildroot-2022.02.1/package/oracle-mysql/0009-gcc7.patch diff --git a/buildroot-2021.05/package/oracle-mysql/0010-fix-build-without-zlib.patch b/buildroot-2022.02.1/package/oracle-mysql/0010-fix-build-without-zlib.patch similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/0010-fix-build-without-zlib.patch rename to buildroot-2022.02.1/package/oracle-mysql/0010-fix-build-without-zlib.patch diff --git a/buildroot-2022.02.1/package/oracle-mysql/0011-config-ac-macros-alloca.m4-Remove-obsolete-Cray-supp.patch b/buildroot-2022.02.1/package/oracle-mysql/0011-config-ac-macros-alloca.m4-Remove-obsolete-Cray-supp.patch new file mode 100644 index 00000000..492e01bf --- /dev/null +++ b/buildroot-2022.02.1/package/oracle-mysql/0011-config-ac-macros-alloca.m4-Remove-obsolete-Cray-supp.patch @@ -0,0 +1,51 @@ +From 0d8ab9b020870c62c216fca77e7f8bd3eeb710c3 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 9 Oct 2021 19:23:46 +0200 +Subject: [PATCH] config/ac-macros/alloca.m4: Remove obsolete Cray support + +Remove obsolete Cray support to avoid the following build failure since +autoconf >= 2.70 and +http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=15edf7fd8094fd14a89d9891dd72a9624762597a: + +autoheader: warning: missing template: CRAY_STACKSEG_END +autoheader: warning: Use AC_DEFINE([CRAY_STACKSEG_END], [], [Description]) +autoreconf: error: /home/buildroot/autobuild/instance-2/output-1/host/bin/autoheader failed with exit status: 1 +package/pkg-generic.mk:273: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/oracle-mysql-5.1.73/.stamp_configured' failed + +Fixes: + - http://autobuild.buildroot.org/results/e5329bcf166d46b2eb17f2bc727c0307bef5ed02 + +Upstream: switched to CMake a very long time ago, so not sent upstream +Signed-off-by: Fabrice Fontaine +--- + config/ac-macros/alloca.m4 | 14 -------------- + 1 file changed, 14 deletions(-) + +diff --git a/config/ac-macros/alloca.m4 b/config/ac-macros/alloca.m4 +index 8c730dd671f..eecb8249573 100644 +--- a/config/ac-macros/alloca.m4 ++++ b/config/ac-macros/alloca.m4 +@@ -46,20 +46,6 @@ then + ALLOCA=alloca.o + AC_DEFINE(C_ALLOCA, 1) + +- AC_CACHE_CHECK(whether alloca needs Cray hooks, ac_cv_os_cray, +- [AC_EGREP_CPP(webecray, +- [#if defined(CRAY) && ! defined(CRAY2) +- webecray +- #else +- wenotbecray +- #endif +- ], ac_cv_os_cray=yes, ac_cv_os_cray=no)]) +- if test "$ac_cv_os_cray" = "yes"; then +- for ac_func in _getb67 GETB67 getb67; do +- AC_CHECK_FUNC($ac_func, [AC_DEFINE_UNQUOTED(CRAY_STACKSEG_END, $ac_func) +- break]) +- done +- fi + fi + AC_SUBST(ALLOCA)dnl + else +-- +2.33.0 + diff --git a/buildroot-2021.05/package/oracle-mysql/S97mysqld b/buildroot-2022.02.1/package/oracle-mysql/S97mysqld similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/S97mysqld rename to buildroot-2022.02.1/package/oracle-mysql/S97mysqld diff --git a/buildroot-2021.05/package/oracle-mysql/mysqld.service b/buildroot-2022.02.1/package/oracle-mysql/mysqld.service similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/mysqld.service rename to buildroot-2022.02.1/package/oracle-mysql/mysqld.service diff --git a/buildroot-2021.05/package/oracle-mysql/oracle-mysql.hash b/buildroot-2022.02.1/package/oracle-mysql/oracle-mysql.hash similarity index 100% rename from buildroot-2021.05/package/oracle-mysql/oracle-mysql.hash rename to buildroot-2022.02.1/package/oracle-mysql/oracle-mysql.hash diff --git a/buildroot-2022.02.1/package/oracle-mysql/oracle-mysql.mk b/buildroot-2022.02.1/package/oracle-mysql/oracle-mysql.mk new file mode 100644 index 00000000..f1f16abb --- /dev/null +++ b/buildroot-2022.02.1/package/oracle-mysql/oracle-mysql.mk @@ -0,0 +1,138 @@ +################################################################################ +# +# oracle-mysql +# +################################################################################ + +ORACLE_MYSQL_VERSION_MAJOR = 5.1 +ORACLE_MYSQL_VERSION = $(ORACLE_MYSQL_VERSION_MAJOR).73 +ORACLE_MYSQL_SOURCE = mysql-$(ORACLE_MYSQL_VERSION).tar.gz +ORACLE_MYSQL_SITE = http://dev.mysql.com/get/Downloads/MySQL-$(ORACLE_MYSQL_VERSION_MAJOR) +ORACLE_MYSQL_INSTALL_STAGING = YES +ORACLE_MYSQL_DEPENDENCIES = ncurses +ORACLE_MYSQL_AUTORECONF = YES +ORACLE_MYSQL_LICENSE = GPL-2.0 +ORACLE_MYSQL_LICENSE_FILES = README COPYING +ORACLE_MYSQL_SELINUX_MODULES = mysql +ORACLE_MYSQL_PROVIDES = mysql +ORACLE_MYSQL_CONFIG_SCRIPTS = mysql_config + +# Unix socket. This variable can also be consulted by other buildroot packages +MYSQL_SOCKET = /run/mysql/mysql.sock + +ORACLE_MYSQL_CONF_ENV = \ + ac_cv_sys_restartable_syscalls=yes \ + ac_cv_path_PS=/bin/ps \ + ac_cv_path_HOSTNAME=/bin/hostname \ + ac_cv_FIND_PROC="/bin/ps p \$\$PID | grep -v grep | grep mysqld > /dev/null" \ + ac_cv_have_decl_HAVE_IB_ATOMIC_PTHREAD_T_GCC=yes \ + ac_cv_have_decl_HAVE_IB_ATOMIC_PTHREAD_T_SOLARIS=no \ + ac_cv_have_decl_HAVE_IB_GCC_ATOMIC_BUILTINS=yes \ + mysql_cv_new_rl_interface=yes + +ORACLE_MYSQL_CONF_OPTS = \ + --without-ndb-binlog \ + --without-docs \ + --without-man \ + --without-libedit \ + --with-readline \ + --with-low-memory \ + --enable-thread-safe-client \ + --with-unix-socket-path=$(MYSQL_SOCKET) \ + --disable-mysql-maintainer-mode + +# host-oracle-mysql only installs what is needed to build mysql, i.e. the +# gen_lex_hash tool, and it only builds the parts that are needed to +# create this tool +HOST_ORACLE_MYSQL_DEPENDENCIES = host-zlib host-ncurses + +HOST_ORACLE_MYSQL_CONF_OPTS = \ + --with-embedded-server \ + --disable-mysql-maintainer-mode + +define HOST_ORACLE_MYSQL_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/include my_config.h + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mysys libmysys.a + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/strings libmystrings.a + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/vio libvio.a + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/dbug libdbug.a + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/regex libregex.a + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sql gen_lex_hash +endef + +define HOST_ORACLE_MYSQL_INSTALL_CMDS + $(INSTALL) -m 0755 $(@D)/sql/gen_lex_hash $(HOST_DIR)/bin/ +endef + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ORACLE_MYSQL_DEPENDENCIES += openssl +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +ORACLE_MYSQL_DEPENDENCIES += zlib +ORACLE_MYSQL_CONF_OPTS += --with-zlib-dir=$(STAGING_DIR)/usr +else +ORACLE_MYSQL_CONF_OPTS += --without-zlib-dir +endif + +ifeq ($(BR2_PACKAGE_ORACLE_MYSQL_SERVER),y) +ORACLE_MYSQL_DEPENDENCIES += host-oracle-mysql host-bison + +ORACLE_MYSQL_CONF_OPTS += \ + --localstatedir=/var/mysql \ + --with-atomic-ops=up \ + --with-embedded-server \ + --without-query-cache \ + --without-plugin-partition \ + --without-plugin-daemon_example \ + --without-plugin-ftexample \ + --without-plugin-archive \ + --without-plugin-blackhole \ + --without-plugin-example \ + --without-plugin-federated \ + --without-plugin-ibmdb2i \ + --without-plugin-innobase \ + --without-plugin-innodb_plugin \ + --without-plugin-ndbcluster + +# Debugging is only available for the server, so no need for +# this if-block outside of the server if-block +ifeq ($(BR2_ENABLE_RUNTIME_DEBUG),y) +ORACLE_MYSQL_CONF_OPTS += --with-debug=full +else +ORACLE_MYSQL_CONF_OPTS += --without-debug +endif + +define ORACLE_MYSQL_USERS + mysql -1 nobody -1 * /var/mysql - - MySQL daemon +endef + +define ORACLE_MYSQL_ADD_FOLDER + $(INSTALL) -d $(TARGET_DIR)/var/mysql +endef + +ORACLE_MYSQL_POST_INSTALL_TARGET_HOOKS += ORACLE_MYSQL_ADD_FOLDER + +define ORACLE_MYSQL_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 $(ORACLE_MYSQL_PKGDIR)/S97mysqld \ + $(TARGET_DIR)/etc/init.d/S97mysqld +endef + +define ORACLE_MYSQL_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(ORACLE_MYSQL_PKGDIR)/mysqld.service \ + $(TARGET_DIR)/usr/lib/systemd/system/mysqld.service +endef + +else +ORACLE_MYSQL_CONF_OPTS += \ + --without-server +endif + +define ORACLE_MYSQL_REMOVE_TEST_PROGS + rm -rf $(TARGET_DIR)/usr/mysql-test $(TARGET_DIR)/usr/sql-bench +endef + +ORACLE_MYSQL_POST_INSTALL_TARGET_HOOKS += ORACLE_MYSQL_REMOVE_TEST_PROGS + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/orbit/Config.in b/buildroot-2022.02.1/package/orbit/Config.in similarity index 100% rename from buildroot-2021.05/package/orbit/Config.in rename to buildroot-2022.02.1/package/orbit/Config.in diff --git a/buildroot-2021.05/package/orbit/orbit.hash b/buildroot-2022.02.1/package/orbit/orbit.hash similarity index 100% rename from buildroot-2021.05/package/orbit/orbit.hash rename to buildroot-2022.02.1/package/orbit/orbit.hash diff --git a/buildroot-2021.05/package/orbit/orbit.mk b/buildroot-2022.02.1/package/orbit/orbit.mk similarity index 100% rename from buildroot-2021.05/package/orbit/orbit.mk rename to buildroot-2022.02.1/package/orbit/orbit.mk diff --git a/buildroot-2021.05/package/orc/0001-orc-orccpu-powerpc.c-fix-build-with-kernel-4.11.patch b/buildroot-2022.02.1/package/orc/0001-orc-orccpu-powerpc.c-fix-build-with-kernel-4.11.patch similarity index 100% rename from buildroot-2021.05/package/orc/0001-orc-orccpu-powerpc.c-fix-build-with-kernel-4.11.patch rename to buildroot-2022.02.1/package/orc/0001-orc-orccpu-powerpc.c-fix-build-with-kernel-4.11.patch diff --git a/buildroot-2021.05/package/orc/Config.in b/buildroot-2022.02.1/package/orc/Config.in similarity index 100% rename from buildroot-2021.05/package/orc/Config.in rename to buildroot-2022.02.1/package/orc/Config.in diff --git a/buildroot-2021.05/package/orc/orc.hash b/buildroot-2022.02.1/package/orc/orc.hash similarity index 100% rename from buildroot-2021.05/package/orc/orc.hash rename to buildroot-2022.02.1/package/orc/orc.hash diff --git a/buildroot-2021.05/package/orc/orc.mk b/buildroot-2022.02.1/package/orc/orc.mk similarity index 100% rename from buildroot-2021.05/package/orc/orc.mk rename to buildroot-2022.02.1/package/orc/orc.mk diff --git a/buildroot-2021.05/package/ortp/Config.in b/buildroot-2022.02.1/package/ortp/Config.in similarity index 100% rename from buildroot-2021.05/package/ortp/Config.in rename to buildroot-2022.02.1/package/ortp/Config.in diff --git a/buildroot-2021.05/package/ortp/ortp.hash b/buildroot-2022.02.1/package/ortp/ortp.hash similarity index 100% rename from buildroot-2021.05/package/ortp/ortp.hash rename to buildroot-2022.02.1/package/ortp/ortp.hash diff --git a/buildroot-2021.05/package/ortp/ortp.mk b/buildroot-2022.02.1/package/ortp/ortp.mk similarity index 100% rename from buildroot-2021.05/package/ortp/ortp.mk rename to buildroot-2022.02.1/package/ortp/ortp.mk diff --git a/buildroot-2022.02.1/package/osm2pgsql/Config.in b/buildroot-2022.02.1/package/osm2pgsql/Config.in new file mode 100644 index 00000000..e903e92c --- /dev/null +++ b/buildroot-2022.02.1/package/osm2pgsql/Config.in @@ -0,0 +1,31 @@ +config BR2_PACKAGE_OSM2PGSQL + bool "osm2pgsql" + depends on BR2_INSTALL_LIBSTDCPP # boost, libosmium, protozero + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 + depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + depends on BR2_USE_WCHAR # boost, libosmium + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BZIP2 + select BR2_PACKAGE_EXPAT + select BR2_PACKAGE_LIBOSMIUM + select BR2_PACKAGE_PROTOZERO + select BR2_PACKAGE_ZLIB + help + osm2pgsql is a tool for loading OpenStreetMap data into a + PostgreSQL / PostGIS database suitable for applications like + rendering into a map, geocoding with Nominatim, + or general analysis. + + https://osm2pgsql.org + +comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS + +comment "osm2pgsql needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2022.02.1/package/osm2pgsql/osm2pgsql.hash b/buildroot-2022.02.1/package/osm2pgsql/osm2pgsql.hash new file mode 100644 index 00000000..898fcd55 --- /dev/null +++ b/buildroot-2022.02.1/package/osm2pgsql/osm2pgsql.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 0ec8b58ab972ac8356185af4161270c1b625a77299f09e5fb7f45e616ef1a9a5 osm2pgsql-1.6.0.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/osm2pgsql/osm2pgsql.mk b/buildroot-2022.02.1/package/osm2pgsql/osm2pgsql.mk new file mode 100644 index 00000000..d389fff5 --- /dev/null +++ b/buildroot-2022.02.1/package/osm2pgsql/osm2pgsql.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# osm2pgsql +# +################################################################################ + +OSM2PGSQL_VERSION = 1.6.0 +OSM2PGSQL_SITE = $(call github,openstreetmap,osm2pgsql,$(OSM2PGSQL_VERSION)) +OSM2PGSQL_LICENSE = GPL-2.0+ +OSM2PGSQL_LICENSE_FILES = COPYING +OSM2PGSQL_SUPPORTS_IN_SOURCE_BUILD = NO + +OSM2PGSQL_DEPENDENCIES = boost bzip2 expat libosmium postgresql protozero zlib + +# fmt > 8.0 is not yet supported +OSM2PGSQL_CONF_OPTS = \ + -DBUILD_TESTS=OFF \ + -DBUILD_COVERAGE=OFF \ + -DEXTERNAL_FMT=OFF \ + -DEXTERNAL_LIBOSMIUM=ON \ + -DEXTERNAL_PROTOZERO=ON + +ifeq ($(BR2_PACKAGE_LUAJIT),y) +OSM2PGSQL_DEPENDENCIES += luajit +OSM2PGSQL_CONF_OPTS += -DWITH_LUA=ON -DWITH_LUAJIT=ON +else ifeq ($(BR2_PACKAGE_LUA),y) +OSM2PGSQL_DEPENDENCIES += lua +OSM2PGSQL_CONF_OPTS += -DWITH_LUA=ON -DWITH_LUAJIT=OFF +else +OSM2PGSQL_CONF_OPTS += -DWITH_LUA=OFF -DWITH_LUAJIT=OFF +endif + +ifeq ($(BR2_PACKAGE_PROJ),y) +OSM2PGSQL_DEPENDENCIES += proj +OSM2PGSQL_CONF_OPTS += -DUSE_PROJ_LIB=auto +else +OSM2PGSQL_CONF_OPTS += -DUSE_PROJ_LIB=off +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/owfs/Config.in b/buildroot-2022.02.1/package/owfs/Config.in similarity index 100% rename from buildroot-2021.05/package/owfs/Config.in rename to buildroot-2022.02.1/package/owfs/Config.in diff --git a/buildroot-2021.05/package/owfs/S55owserver b/buildroot-2022.02.1/package/owfs/S55owserver similarity index 100% rename from buildroot-2021.05/package/owfs/S55owserver rename to buildroot-2022.02.1/package/owfs/S55owserver diff --git a/buildroot-2021.05/package/owfs/S60owfs b/buildroot-2022.02.1/package/owfs/S60owfs similarity index 100% rename from buildroot-2021.05/package/owfs/S60owfs rename to buildroot-2022.02.1/package/owfs/S60owfs diff --git a/buildroot-2022.02.1/package/owfs/owfs.hash b/buildroot-2022.02.1/package/owfs/owfs.hash new file mode 100644 index 00000000..e2c51077 --- /dev/null +++ b/buildroot-2022.02.1/package/owfs/owfs.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 af0a5035f3f3df876ca15aea13486bfed6b3ef5409dee016db0be67755c35fcc owfs-3.2p4.tar.gz +sha256 1f0527ab035eefb5197c68633d06f50f5077c719d82a99344702ceaca29150b9 COPYING +sha256 8a6601b893d5784d931b2ede64a406fac463acfbb7014914e27de4d6e68457c3 COPYING.LIB diff --git a/buildroot-2022.02.1/package/owfs/owfs.mk b/buildroot-2022.02.1/package/owfs/owfs.mk new file mode 100644 index 00000000..986dca92 --- /dev/null +++ b/buildroot-2022.02.1/package/owfs/owfs.mk @@ -0,0 +1,86 @@ +################################################################################ +# +# owfs +# +################################################################################ + +OWFS_VERSION = 3.2p4 +OWFS_SITE = https://github.com/owfs/owfs/releases/download/v$(OWFS_VERSION) +OWFS_DEPENDENCIES = host-pkgconf +OWFS_CONF_OPTS = --disable-owperl --without-perl5 --disable-owtcl --without-tcl + +# owtcl license is declared in module/ownet/c/src/include/ow_functions.h +OWFS_LICENSE = GPL-2.0+, LGPL-2.0 (owtcl) +OWFS_LICENSE_FILES = COPYING COPYING.LIB +OWFS_INSTALL_STAGING = YES + +# owfs PHP support is not PHP 7 compliant +# https://sourceforge.net/p/owfs/support-requests/32/ +OWFS_CONF_OPTS += --disable-owphp --without-php + +# Skip man pages processing +OWFS_CONF_ENV += ac_cv_path_SOELIM=true + +ifeq ($(BR2_PACKAGE_LIBFUSE),y) +OWFS_DEPENDENCIES += libfuse +OWFS_CONF_OPTS += \ + --enable-owfs \ + --with-fuseinclude=$(STAGING_DIR)/usr/include \ + --with-fuselib=$(STAGING_DIR)/usr/lib +define OWFS_INSTALL_FUSE_INIT_SYSV + $(INSTALL) -D -m 0755 $(OWFS_PKGDIR)S60owfs \ + $(TARGET_DIR)/etc/init.d/S60owfs +endef +define OWFS_CREATE_MOUNTPOINT + mkdir -p $(TARGET_DIR)/dev/1wire +endef +OWFS_POST_INSTALL_TARGET_HOOKS += OWFS_CREATE_MOUNTPOINT +else +OWFS_CONF_OPTS += --disable-owfs +endif + +ifeq ($(BR2_PACKAGE_LIBFTDI1),y) +OWFS_CONF_OPTS += \ + --enable-ftdi \ + --with-libftdi-config=$(STAGING_DIR)/usr/bin/libftdi1-config +OWFS_DEPENDENCIES += libftdi1 +else ifeq ($(BR2_PACKAGE_LIBFTDI),y) +OWFS_CONF_OPTS += \ + --enable-ftdi \ + --with-libftdi-config=$(STAGING_DIR)/usr/bin/libftdi-config +OWFS_DEPENDENCIES += libftdi +else +OWFS_CONF_OPTS += --disable-ftdi +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +OWFS_CONF_OPTS += --enable-usb +OWFS_DEPENDENCIES += libusb +else +OWFS_CONF_OPTS += --disable-usb +endif + +ifeq ($(BR2_PACKAGE_AVAHI),y) +OWFS_CONF_OPTS += --enable-avahi +OWFS_DEPENDENCIES += avahi +else +OWFS_CONF_OPTS += --disable-avahi +endif + +# python2 only (https://github.com/owfs/owfs/pull/32) +OWFS_CONF_OPTS += --disable-owpython --without-python + +ifeq ($(BR2_STATIC_LIBS),y) +# zeroconf support uses dlopen() +OWFS_CONF_OPTS += --disable-zero +endif + +OWFS_MAKE = $(MAKE) $(OWFS_EXTRA_MAKE_OPTS) + +define OWFS_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 $(OWFS_PKGDIR)S55owserver \ + $(TARGET_DIR)/etc/init.d/S55owserver + $(OWFS_INSTALL_FUSE_INIT_SYSV) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/owl-linux/0001-fix-for-linux-3.3.x.patch b/buildroot-2022.02.1/package/owl-linux/0001-fix-for-linux-3.3.x.patch similarity index 100% rename from buildroot-2021.05/package/owl-linux/0001-fix-for-linux-3.3.x.patch rename to buildroot-2022.02.1/package/owl-linux/0001-fix-for-linux-3.3.x.patch diff --git a/buildroot-2021.05/package/owl-linux/Config.in b/buildroot-2022.02.1/package/owl-linux/Config.in similarity index 100% rename from buildroot-2021.05/package/owl-linux/Config.in rename to buildroot-2022.02.1/package/owl-linux/Config.in diff --git a/buildroot-2021.05/package/owl-linux/owl-linux.hash b/buildroot-2022.02.1/package/owl-linux/owl-linux.hash similarity index 100% rename from buildroot-2021.05/package/owl-linux/owl-linux.hash rename to buildroot-2022.02.1/package/owl-linux/owl-linux.hash diff --git a/buildroot-2021.05/package/owl-linux/owl-linux.mk b/buildroot-2022.02.1/package/owl-linux/owl-linux.mk similarity index 100% rename from buildroot-2021.05/package/owl-linux/owl-linux.mk rename to buildroot-2022.02.1/package/owl-linux/owl-linux.mk diff --git a/buildroot-2021.05/package/p11-kit/Config.in b/buildroot-2022.02.1/package/p11-kit/Config.in similarity index 100% rename from buildroot-2021.05/package/p11-kit/Config.in rename to buildroot-2022.02.1/package/p11-kit/Config.in diff --git a/buildroot-2022.02.1/package/p11-kit/p11-kit.hash b/buildroot-2022.02.1/package/p11-kit/p11-kit.hash new file mode 100644 index 00000000..e950060c --- /dev/null +++ b/buildroot-2022.02.1/package/p11-kit/p11-kit.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 d8be783efd5cd4ae534cee4132338e3f40f182c3205d23b200094ec85faaaef8 p11-kit-0.24.1.tar.xz +# Locally computed +sha256 2e1ba993904df807a10c3eda1e5c272338edc35674b679773a8b3ad460731054 COPYING diff --git a/buildroot-2022.02.1/package/p11-kit/p11-kit.mk b/buildroot-2022.02.1/package/p11-kit/p11-kit.mk new file mode 100644 index 00000000..868e3a7c --- /dev/null +++ b/buildroot-2022.02.1/package/p11-kit/p11-kit.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# p11-kit +# +################################################################################ + +P11_KIT_VERSION = 0.24.1 +P11_KIT_SOURCE = p11-kit-$(P11_KIT_VERSION).tar.xz +P11_KIT_SITE = https://github.com/p11-glue/p11-kit/releases/download/$(P11_KIT_VERSION) +P11_KIT_INSTALL_STAGING = YES +P11_KIT_CONF_OPTS = --disable-static +P11_KIT_CONF_ENV = ac_cv_have_decl_program_invocation_short_name=yes \ + ac_cv_have_decl___progname=no +P11_KIT_LICENSE = BSD-3-Clause +P11_KIT_LICENSE_FILES = COPYING +P11_KIT_CPE_ID_VENDOR = p11-kit_project + +ifeq ($(BR2_PACKAGE_LIBFFI),y) +P11_KIT_DEPENDENCIES += host-pkgconf libffi +P11_KIT_CONF_OPTS += --with-libffi +else +P11_KIT_CONF_OPTS += --without-libffi +endif + +ifeq ($(BR2_PACKAGE_LIBTASN1),y) +P11_KIT_DEPENDENCIES += host-pkgconf libtasn1 +P11_KIT_CONF_OPTS += \ + --enable-trust-module \ + --with-libtasn1 +ifeq ($(BR2_PACKAGE_CA_CERTIFICATES),y) +P11_KIT_CONF_OPTS += --with-trust-paths=/etc/ssl/certs/ca-certificates.crt +else +P11_KIT_CONF_OPTS += --without-trust-paths +endif +else +P11_KIT_CONF_OPTS += \ + --disable-trust-module \ + --without-libtasn1 +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/p7zip/Config.in b/buildroot-2022.02.1/package/p7zip/Config.in new file mode 100644 index 00000000..be2206eb --- /dev/null +++ b/buildroot-2022.02.1/package/p7zip/Config.in @@ -0,0 +1,39 @@ +config BR2_PACKAGE_P7ZIP + bool "p7zip" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # __sync_*_4 intrisics + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + help + p7zip is a quick port of the command line version of 7-zip + for Unix (see http://www.7-zip.org) + + 7-Zip is a file archiver with highest compression ratio. + + http://sourceforge.net/projects/p7zip + +if BR2_PACKAGE_P7ZIP + +choice + prompt "p7zip binary" + default BR2_PACKAGE_P7ZIP_7ZR + +config BR2_PACKAGE_P7ZIP_7ZA + bool "7za" + help + Full 7za archiver. The program supports 7z, ZIP, CAB, ARJ, + GZIP, BZIP2, TAR, CPIO, RPM and DEB formats + +config BR2_PACKAGE_P7ZIP_7ZR + bool "7zr" + help + Lightweight 7zr archiver. The program only handles 7z archives + and cannot handle encrypted archives + +endchoice + +endif + +comment "p7zip needs a toolchain w/ threads, wchar, C++" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/p7zip/p7zip.hash b/buildroot-2022.02.1/package/p7zip/p7zip.hash new file mode 100644 index 00000000..0048777d --- /dev/null +++ b/buildroot-2022.02.1/package/p7zip/p7zip.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 ea029a2e21d2d6ad0a156f6679bd66836204aa78148a4c5e498fe682e77127ef p7zip-17.04.tar.gz +sha256 555806657dcf0f1e720b581c52643c195ec86ae3f00bd18cc66d2e0f88ffa210 DOC/License.txt diff --git a/buildroot-2022.02.1/package/p7zip/p7zip.mk b/buildroot-2022.02.1/package/p7zip/p7zip.mk new file mode 100644 index 00000000..b6c5adae --- /dev/null +++ b/buildroot-2022.02.1/package/p7zip/p7zip.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# p7zip +# +################################################################################ + +P7ZIP_VERSION = 17.04 +P7ZIP_SITE = $(call github,jinfeihan57,p7zip,v$(P7ZIP_VERSION)) +P7ZIP_LICENSE = LGPL-2.1+ with unRAR restriction +P7ZIP_LICENSE_FILES = DOC/License.txt +P7ZIP_CPE_ID_VENDOR = 7-zip + +ifeq ($(BR2_PACKAGE_P7ZIP_7ZA),y) +P7ZIP_TARGET = 7za +else +P7ZIP_TARGET = 7zr +endif + +# p7zip buildsystem is a mess: it plays dirty tricks with CFLAGS and +# CXXFLAGS, so we can't pass them. Instead, it accepts ALLFLAGS_C +# and ALLFLAGS_CPP as variables to pass the CFLAGS and CXXFLAGS. +define P7ZIP_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" ALLFLAGS_C="$(TARGET_CFLAGS)" \ + CXX="$(TARGET_CXX)" ALLFLAGS_CPP="$(TARGET_CXXFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + -C $(@D) $(P7ZIP_TARGET) +endef + +define P7ZIP_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/bin/$(P7ZIP_TARGET) \ + $(TARGET_DIR)/usr/bin/$(P7ZIP_TARGET) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/p910nd/Config.in b/buildroot-2022.02.1/package/p910nd/Config.in similarity index 100% rename from buildroot-2021.05/package/p910nd/Config.in rename to buildroot-2022.02.1/package/p910nd/Config.in diff --git a/buildroot-2021.05/package/p910nd/p910nd.hash b/buildroot-2022.02.1/package/p910nd/p910nd.hash similarity index 100% rename from buildroot-2021.05/package/p910nd/p910nd.hash rename to buildroot-2022.02.1/package/p910nd/p910nd.hash diff --git a/buildroot-2021.05/package/p910nd/p910nd.mk b/buildroot-2022.02.1/package/p910nd/p910nd.mk similarity index 100% rename from buildroot-2021.05/package/p910nd/p910nd.mk rename to buildroot-2022.02.1/package/p910nd/p910nd.mk diff --git a/buildroot-2021.05/package/paho-mqtt-c/Config.in b/buildroot-2022.02.1/package/paho-mqtt-c/Config.in similarity index 100% rename from buildroot-2021.05/package/paho-mqtt-c/Config.in rename to buildroot-2022.02.1/package/paho-mqtt-c/Config.in diff --git a/buildroot-2022.02.1/package/paho-mqtt-c/paho-mqtt-c.hash b/buildroot-2022.02.1/package/paho-mqtt-c/paho-mqtt-c.hash new file mode 100644 index 00000000..931bf5b9 --- /dev/null +++ b/buildroot-2022.02.1/package/paho-mqtt-c/paho-mqtt-c.hash @@ -0,0 +1,5 @@ +# Locally computed: +sha256 c70db96e66adacae411d5d875fbb08bca6ff9945de3d215b3af93cbd22792db5 paho-mqtt-c-1.3.10.tar.gz +sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 +sha256 0becf16567beb77fa252b7664631dd177c8f9a1889e48995b45379c7130e5303 epl-v20 +sha256 bc0f3f447097eb82a29ad6c2f4929572bb548b6bd4c9e38fde1bf131a771b7a0 LICENSE diff --git a/buildroot-2022.02.1/package/paho-mqtt-c/paho-mqtt-c.mk b/buildroot-2022.02.1/package/paho-mqtt-c/paho-mqtt-c.mk new file mode 100644 index 00000000..d6356a7c --- /dev/null +++ b/buildroot-2022.02.1/package/paho-mqtt-c/paho-mqtt-c.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# paho-mqtt-c +# +################################################################################ + +PAHO_MQTT_C_VERSION = 1.3.10 +PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION)) +PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause +PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE +PAHO_MQTT_C_INSTALL_STAGING = YES + +PAHO_MQTT_C_CONF_OPTS = \ + -DPAHO_ENABLE_TESTING=FALSE \ + -DPAHO_ENABLE_CPACK=FALSE \ + -DPAHO_HIGH_PERFORMANCE=TRUE + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +PAHO_MQTT_C_DEPENDENCIES += openssl +PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=TRUE +else +PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=FALSE +endif + +ifeq ($(BR2_SHARED_LIBS),y) +PAHO_MQTT_C_CONF_OPTS += \ + -DPAHO_BUILD_SHARED=TRUE \ + -DPAHO_BUILD_STATIC=FALSE +else ifeq ($(BR2_STATIC_LIBS),y) +PAHO_MQTT_C_CONF_OPTS += \ + -DPAHO_BUILD_SHARED=FALSE \ + -DPAHO_BUILD_STATIC=TRUE +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +PAHO_MQTT_C_CONF_OPTS += \ + -DPAHO_BUILD_SHARED=TRUE \ + -DPAHO_BUILD_STATIC=TRUE +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/paho-mqtt-cpp/Config.in b/buildroot-2022.02.1/package/paho-mqtt-cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/paho-mqtt-cpp/Config.in rename to buildroot-2022.02.1/package/paho-mqtt-cpp/Config.in diff --git a/buildroot-2022.02.1/package/paho-mqtt-cpp/paho-mqtt-cpp.hash b/buildroot-2022.02.1/package/paho-mqtt-cpp/paho-mqtt-cpp.hash new file mode 100644 index 00000000..d9b86ce2 --- /dev/null +++ b/buildroot-2022.02.1/package/paho-mqtt-cpp/paho-mqtt-cpp.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 435e97e4d5b1da13daa26cadd3e83fe9d154930abaa78b8ff1b8c854b5345d8b paho-mqtt-cpp-1.2.0.tar.gz +sha256 83bbba033dc985487e321b6dfde111772affb73460be48726299fed3da684b1c edl-v10 +sha256 44277b2bec6093e4ac313afec251a4de599d24c4e768f8574d95b13a9d2d97b5 epl-v10 diff --git a/buildroot-2022.02.1/package/paho-mqtt-cpp/paho-mqtt-cpp.mk b/buildroot-2022.02.1/package/paho-mqtt-cpp/paho-mqtt-cpp.mk new file mode 100644 index 00000000..82794660 --- /dev/null +++ b/buildroot-2022.02.1/package/paho-mqtt-cpp/paho-mqtt-cpp.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# paho-mqtt-cpp +# +################################################################################ + +PAHO_MQTT_CPP_VERSION = 1.2.0 +PAHO_MQTT_CPP_SITE = $(call github,eclipse,paho.mqtt.cpp,v$(PAHO_MQTT_CPP_VERSION)) +PAHO_MQTT_CPP_LICENSE = EPL-1.0 or BSD-3-Clause +PAHO_MQTT_CPP_LICENSE_FILES = epl-v10 edl-v10 +PAHO_MQTT_CPP_INSTALL_STAGING = YES +PAHO_MQTT_CPP_DEPENDENCIES = paho-mqtt-c + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +PAHO_MQTT_CPP_DEPENDENCIES += openssl +PAHO_MQTT_CPP_CONF_OPTS += -DPAHO_WITH_SSL=TRUE +else +PAHO_MQTT_CPP_CONF_OPTS += -DPAHO_WITH_SSL=FALSE +endif + +ifeq ($(BR2_SHARED_LIBS),y) +PAHO_MQTT_CPP_CONF_OPTS += \ + -DPAHO_BUILD_SHARED=TRUE \ + -DPAHO_BUILD_STATIC=FALSE +else ifeq ($(BR2_STATIC_LIBS),y) +PAHO_MQTT_CPP_CONF_OPTS += \ + -DPAHO_BUILD_SHARED=FALSE \ + -DPAHO_BUILD_STATIC=TRUE +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +PAHO_MQTT_CPP_CONF_OPTS += \ + -DPAHO_BUILD_SHARED=TRUE \ + -DPAHO_BUILD_STATIC=TRUE +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/pahole/Config.in.host b/buildroot-2022.02.1/package/pahole/Config.in.host new file mode 100644 index 00000000..e4276296 --- /dev/null +++ b/buildroot-2022.02.1/package/pahole/Config.in.host @@ -0,0 +1,6 @@ +config BR2_PACKAGE_HOST_PAHOLE + bool "host pahole" + help + Pahole and other DWARF utils. + + https://git.kernel.org/pub/scm/devel/pahole/pahole.git diff --git a/buildroot-2022.02.1/package/pahole/pahole.hash b/buildroot-2022.02.1/package/pahole/pahole.hash new file mode 100644 index 00000000..420db15e --- /dev/null +++ b/buildroot-2022.02.1/package/pahole/pahole.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 cde85af68b368f50a913be387f94f6b43612a04af6c92387b4dcabb712a668fe pahole-v1.23-br1.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/pahole/pahole.mk b/buildroot-2022.02.1/package/pahole/pahole.mk new file mode 100644 index 00000000..da6d67e6 --- /dev/null +++ b/buildroot-2022.02.1/package/pahole/pahole.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# pahole +# +################################################################################ + +PAHOLE_VERSION = v1.23 +PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git +PAHOLE_SITE_METHOD = git +# pahole contains git submodule and relies on them to be built. +PAHOLE_GIT_SUBMODULES = YES +HOST_PAHOLE_DEPENDENCIES = host-elfutils +# Defining __LIB is needed to build pahole. +HOST_PAHOLE_CONF_OPTS = -D__LIB=lib +PAHOLE_LICENSE = GPL-2.0 +PAHOLE_LICENSE_FILES = COPYING + +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/pamtester/Config.in b/buildroot-2022.02.1/package/pamtester/Config.in similarity index 100% rename from buildroot-2021.05/package/pamtester/Config.in rename to buildroot-2022.02.1/package/pamtester/Config.in diff --git a/buildroot-2021.05/package/pamtester/pamtester.hash b/buildroot-2022.02.1/package/pamtester/pamtester.hash similarity index 100% rename from buildroot-2021.05/package/pamtester/pamtester.hash rename to buildroot-2022.02.1/package/pamtester/pamtester.hash diff --git a/buildroot-2021.05/package/pamtester/pamtester.mk b/buildroot-2022.02.1/package/pamtester/pamtester.mk similarity index 100% rename from buildroot-2021.05/package/pamtester/pamtester.mk rename to buildroot-2022.02.1/package/pamtester/pamtester.mk diff --git a/buildroot-2022.02.1/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch b/buildroot-2022.02.1/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch new file mode 100644 index 00000000..4b7b5f9b --- /dev/null +++ b/buildroot-2022.02.1/package/pango/0001-utils-viewer-cairo-c-fix-empty-body.patch @@ -0,0 +1,40 @@ +From 5372a0cfd641776ece77db5590bf0d265e810086 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 29 Mar 2022 21:39:03 +0000 +Subject: [PATCH] utils/viewer-cairo.c: fix empty-body + +Fix the following build failure raised +since version 1.50.5 and +https://gitlab.gnome.org/GNOME/pango/-/commit/cd08fb7402498e6ea542b4628447547477ac212e: + +../utils/viewer-cairo.c: In function 'cairo_vector_view_create': +../utils/viewer-cairo.c:228:5: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body] + ; + ^ + +Fixes: + - http://autobuild.buildroot.org/results/dee3d631474f83b345f22eb26c59a305c32258f8 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://gitlab.gnome.org/GNOME/pango/-/commit/5372a0cfd641776ece77db5590bf0d265e810086] +--- + utils/viewer-cairo.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/utils/viewer-cairo.c b/utils/viewer-cairo.c +index ca98c1cd..f15b3fb9 100644 +--- a/utils/viewer-cairo.c ++++ b/utils/viewer-cairo.c +@@ -225,7 +225,7 @@ cairo_vector_view_create (const PangoViewer *klass G_GNUC_UNUSED) + return NULL; + + if (0) +- ; ++ {} + #ifdef CAIRO_HAS_SVG_SURFACE + else if (0 == g_ascii_strcasecmp (extension, "svg")) + constructor = cairo_svg_surface_create; +-- +GitLab + diff --git a/buildroot-2022.02.1/package/pango/Config.in b/buildroot-2022.02.1/package/pango/Config.in new file mode 100644 index 00000000..e2b2e7fe --- /dev/null +++ b/buildroot-2022.02.1/package/pango/Config.in @@ -0,0 +1,32 @@ +config BR2_PACKAGE_PANGO + bool "pango" + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + depends on BR2_INSTALL_LIBSTDCPP # freetype support + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBFRIBIDI + select BR2_PACKAGE_EXPAT + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_HARFBUZZ + select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7 + help + Pango is a library for laying out and rendering of text, + with an emphasis on internationalization. Pango can be used + anywhere that text layout is needed, though most of the work + on Pango so far has been done in the context of the GTK+ + widget toolkit. Pango forms the core of text and font + handling for GTK+-2.x. + + https://pango.gnome.org/ + +comment "pango needs a toolchain w/ wchar, threads, C++, gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/pango/pango.hash b/buildroot-2022.02.1/package/pango/pango.hash new file mode 100644 index 00000000..319d9778 --- /dev/null +++ b/buildroot-2022.02.1/package/pango/pango.hash @@ -0,0 +1,5 @@ +# From https://ftp.acc.umu.se/pub/GNOME/sources/pango/1.50/pango-1.50.5.sha256sum +sha256 6d136872da6207fe88c5cd2c95c36bcaf4ed29402b854663a86cd7efe99b0cf5 pango-1.50.5.tar.xz + +# Locally computed +sha256 d245807f90032872d1438d741ed21e2490e1175dc8aa3afa5ddb6c8e529b58e5 COPYING diff --git a/buildroot-2022.02.1/package/pango/pango.mk b/buildroot-2022.02.1/package/pango/pango.mk new file mode 100644 index 00000000..69ec5bb4 --- /dev/null +++ b/buildroot-2022.02.1/package/pango/pango.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# pango +# +################################################################################ + +PANGO_VERSION_MAJOR = 1.50 +PANGO_VERSION = $(PANGO_VERSION_MAJOR).5 +PANGO_SOURCE = pango-$(PANGO_VERSION).tar.xz +PANGO_SITE = http://ftp.gnome.org/pub/GNOME/sources/pango/$(PANGO_VERSION_MAJOR) +PANGO_INSTALL_STAGING = YES +PANGO_LICENSE = LGPL-2.0+ +PANGO_LICENSE_FILES = COPYING +PANGO_CPE_ID_VENDOR = pango + +PANGO_CONF_OPTS = -Dfontconfig=enabled +HOST_PANGO_CONF_OPTS = -Dfontconfig=enabled -Dintrospection=disabled + +PANGO_DEPENDENCIES = \ + $(TARGET_NLS_DEPENDENCIES) \ + host-pkgconf \ + libglib2 \ + libfribidi \ + cairo \ + harfbuzz \ + fontconfig \ + freetype +HOST_PANGO_DEPENDENCIES = \ + host-pkgconf \ + host-libglib2 \ + host-libfribidi \ + host-cairo \ + host-harfbuzz \ + host-fontconfig \ + host-freetype + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +PANGO_CONF_OPTS += -Dintrospection=enabled +PANGO_DEPENDENCIES += gobject-introspection +else +PANGO_CONF_OPTS += -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_XORG7),y) +PANGO_DEPENDENCIES += xlib_libX11 +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFT)$(BR2_PACKAGE_XLIB_LIBXRENDER),yy) +PANGO_DEPENDENCIES += xlib_libXft xlib_libXrender +endif + +$(eval $(meson-package)) +$(eval $(host-meson-package)) diff --git a/buildroot-2022.02.1/package/pangomm/Config.in b/buildroot-2022.02.1/package/pangomm/Config.in new file mode 100644 index 00000000..c23ac4aa --- /dev/null +++ b/buildroot-2022.02.1/package/pangomm/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_PANGOMM + bool "pangomm" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz + depends on BR2_INSTALL_LIBSTDCPP # glibmm/pango + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # libsigc + depends on BR2_TOOLCHAIN_HAS_THREADS # *mm/pango -> libglib2 + depends on BR2_USE_MMU # *mm/pango -> libglib2 + depends on BR2_USE_WCHAR # *mm/pango -> libglib2 + select BR2_PACKAGE_CAIROMM + select BR2_PACKAGE_GLIBMM + select BR2_PACKAGE_PANGO + select BR2_PACKAGE_LIBSIGC + help + The pangomm package is a set of C++ bindings for Pango. + + http://www.gtkmm.org/ + +comment "pangomm needs a toolchain w/ C++, wchar, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \ + || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/pangomm/pangomm.hash b/buildroot-2022.02.1/package/pangomm/pangomm.hash new file mode 100644 index 00000000..3fba6958 --- /dev/null +++ b/buildroot-2022.02.1/package/pangomm/pangomm.hash @@ -0,0 +1,5 @@ +# From http://ftp.gnome.org/pub/gnome/sources/pangomm/2.48/pangomm-2.48.2.sha256sum +sha256 e1d75522c53f462799875cd247f9b49c91ced4b1abe68387ac35b271392d4ea5 pangomm-2.48.2.tar.xz +# Locally computed +sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.tools diff --git a/buildroot-2022.02.1/package/pangomm/pangomm.mk b/buildroot-2022.02.1/package/pangomm/pangomm.mk new file mode 100644 index 00000000..af90d69c --- /dev/null +++ b/buildroot-2022.02.1/package/pangomm/pangomm.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# pangomm +# +################################################################################ + +PANGOMM_VERSION_MAJOR = 2.48 +PANGOMM_VERSION = $(PANGOMM_VERSION_MAJOR).2 +PANGOMM_SOURCE = pangomm-$(PANGOMM_VERSION).tar.xz +PANGOMM_SITE = http://ftp.gnome.org/pub/gnome/sources/pangomm/$(PANGOMM_VERSION_MAJOR) +PANGOMM_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (tools) +PANGOMM_LICENSE_FILES = COPYING COPYING.tools +PANGOMM_INSTALL_STAGING = YES +PANGOMM_DEPENDENCIES = glibmm cairomm libsigc pango host-pkgconf + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/parprouted/Config.in b/buildroot-2022.02.1/package/parprouted/Config.in similarity index 100% rename from buildroot-2021.05/package/parprouted/Config.in rename to buildroot-2022.02.1/package/parprouted/Config.in diff --git a/buildroot-2021.05/package/parprouted/parprouted.hash b/buildroot-2022.02.1/package/parprouted/parprouted.hash similarity index 100% rename from buildroot-2021.05/package/parprouted/parprouted.hash rename to buildroot-2022.02.1/package/parprouted/parprouted.hash diff --git a/buildroot-2021.05/package/parprouted/parprouted.mk b/buildroot-2022.02.1/package/parprouted/parprouted.mk similarity index 100% rename from buildroot-2021.05/package/parprouted/parprouted.mk rename to buildroot-2022.02.1/package/parprouted/parprouted.mk diff --git a/buildroot-2021.05/package/parted/Config.in b/buildroot-2022.02.1/package/parted/Config.in similarity index 100% rename from buildroot-2021.05/package/parted/Config.in rename to buildroot-2022.02.1/package/parted/Config.in diff --git a/buildroot-2021.05/package/parted/Config.in.host b/buildroot-2022.02.1/package/parted/Config.in.host similarity index 100% rename from buildroot-2021.05/package/parted/Config.in.host rename to buildroot-2022.02.1/package/parted/Config.in.host diff --git a/buildroot-2021.05/package/parted/parted.hash b/buildroot-2022.02.1/package/parted/parted.hash similarity index 100% rename from buildroot-2021.05/package/parted/parted.hash rename to buildroot-2022.02.1/package/parted/parted.hash diff --git a/buildroot-2021.05/package/parted/parted.mk b/buildroot-2022.02.1/package/parted/parted.mk similarity index 100% rename from buildroot-2021.05/package/parted/parted.mk rename to buildroot-2022.02.1/package/parted/parted.mk diff --git a/buildroot-2021.05/package/patch/0001-Fix-segfault-with-mangled-rename-patch.patch b/buildroot-2022.02.1/package/patch/0001-Fix-segfault-with-mangled-rename-patch.patch similarity index 100% rename from buildroot-2021.05/package/patch/0001-Fix-segfault-with-mangled-rename-patch.patch rename to buildroot-2022.02.1/package/patch/0001-Fix-segfault-with-mangled-rename-patch.patch diff --git a/buildroot-2021.05/package/patch/0002-Allow-input-files-to-be-missing-for-ed-style-patches.patch b/buildroot-2022.02.1/package/patch/0002-Allow-input-files-to-be-missing-for-ed-style-patches.patch similarity index 100% rename from buildroot-2021.05/package/patch/0002-Allow-input-files-to-be-missing-for-ed-style-patches.patch rename to buildroot-2022.02.1/package/patch/0002-Allow-input-files-to-be-missing-for-ed-style-patches.patch diff --git a/buildroot-2021.05/package/patch/0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch b/buildroot-2022.02.1/package/patch/0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch similarity index 100% rename from buildroot-2021.05/package/patch/0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch rename to buildroot-2022.02.1/package/patch/0003-Fix-arbitrary-command-execution-in-ed-style-patches-.patch diff --git a/buildroot-2021.05/package/patch/0004-Invoke-ed-directly-instead-of-using-the-shell.patch b/buildroot-2022.02.1/package/patch/0004-Invoke-ed-directly-instead-of-using-the-shell.patch similarity index 100% rename from buildroot-2021.05/package/patch/0004-Invoke-ed-directly-instead-of-using-the-shell.patch rename to buildroot-2022.02.1/package/patch/0004-Invoke-ed-directly-instead-of-using-the-shell.patch diff --git a/buildroot-2021.05/package/patch/0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch b/buildroot-2022.02.1/package/patch/0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch similarity index 100% rename from buildroot-2021.05/package/patch/0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch rename to buildroot-2022.02.1/package/patch/0005-Don-t-follow-symlinks-unless--follow-symlinks-is-given.patch diff --git a/buildroot-2021.05/package/patch/Config.in b/buildroot-2022.02.1/package/patch/Config.in similarity index 100% rename from buildroot-2021.05/package/patch/Config.in rename to buildroot-2022.02.1/package/patch/Config.in diff --git a/buildroot-2021.05/package/patch/patch.hash b/buildroot-2022.02.1/package/patch/patch.hash similarity index 100% rename from buildroot-2021.05/package/patch/patch.hash rename to buildroot-2022.02.1/package/patch/patch.hash diff --git a/buildroot-2021.05/package/patch/patch.mk b/buildroot-2022.02.1/package/patch/patch.mk similarity index 100% rename from buildroot-2021.05/package/patch/patch.mk rename to buildroot-2022.02.1/package/patch/patch.mk diff --git a/buildroot-2021.05/package/patchelf/0001-Remove-apparently-incorrect-usage-of-static.patch b/buildroot-2022.02.1/package/patchelf/0001-Remove-apparently-incorrect-usage-of-static.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0001-Remove-apparently-incorrect-usage-of-static.patch rename to buildroot-2022.02.1/package/patchelf/0001-Remove-apparently-incorrect-usage-of-static.patch diff --git a/buildroot-2021.05/package/patchelf/0002-Extract-a-function-for-splitting-a-colon-separated-s.patch b/buildroot-2022.02.1/package/patchelf/0002-Extract-a-function-for-splitting-a-colon-separated-s.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0002-Extract-a-function-for-splitting-a-colon-separated-s.patch rename to buildroot-2022.02.1/package/patchelf/0002-Extract-a-function-for-splitting-a-colon-separated-s.patch diff --git a/buildroot-2021.05/package/patchelf/0003-Add-option-to-make-the-rpath-relative-under-a-specif.patch b/buildroot-2022.02.1/package/patchelf/0003-Add-option-to-make-the-rpath-relative-under-a-specif.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0003-Add-option-to-make-the-rpath-relative-under-a-specif.patch rename to buildroot-2022.02.1/package/patchelf/0003-Add-option-to-make-the-rpath-relative-under-a-specif.patch diff --git a/buildroot-2021.05/package/patchelf/0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch b/buildroot-2022.02.1/package/patchelf/0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch rename to buildroot-2022.02.1/package/patchelf/0004-patchelf-Check-ELF-endianness-before-writing-new-run.patch diff --git a/buildroot-2021.05/package/patchelf/0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch b/buildroot-2022.02.1/package/patchelf/0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch rename to buildroot-2022.02.1/package/patchelf/0005-Avoid-inflating-file-sizes-needlessly-and-allow-bina.patch diff --git a/buildroot-2021.05/package/patchelf/0006-Fix-shared-library-corruption-when-rerunning-patchel.patch b/buildroot-2022.02.1/package/patchelf/0006-Fix-shared-library-corruption-when-rerunning-patchel.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0006-Fix-shared-library-corruption-when-rerunning-patchel.patch rename to buildroot-2022.02.1/package/patchelf/0006-Fix-shared-library-corruption-when-rerunning-patchel.patch diff --git a/buildroot-2021.05/package/patchelf/0007-fix-adjusting-startPage.patch b/buildroot-2022.02.1/package/patchelf/0007-fix-adjusting-startPage.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0007-fix-adjusting-startPage.patch rename to buildroot-2022.02.1/package/patchelf/0007-fix-adjusting-startPage.patch diff --git a/buildroot-2021.05/package/patchelf/0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch b/buildroot-2022.02.1/package/patchelf/0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch rename to buildroot-2022.02.1/package/patchelf/0008-Use-sh_offset-instead-of-sh_addr-when-checking-alrea.patch diff --git a/buildroot-2021.05/package/patchelf/0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch b/buildroot-2022.02.1/package/patchelf/0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch rename to buildroot-2022.02.1/package/patchelf/0009-Fix-issue-66-by-ignoring-the-first-section-header-wh.patch diff --git a/buildroot-2021.05/package/patchelf/0010-Fix-endianness-issues-for-powerpc-PIE.patch b/buildroot-2022.02.1/package/patchelf/0010-Fix-endianness-issues-for-powerpc-PIE.patch similarity index 100% rename from buildroot-2021.05/package/patchelf/0010-Fix-endianness-issues-for-powerpc-PIE.patch rename to buildroot-2022.02.1/package/patchelf/0010-Fix-endianness-issues-for-powerpc-PIE.patch diff --git a/buildroot-2021.05/package/patchelf/Config.in.host b/buildroot-2022.02.1/package/patchelf/Config.in.host similarity index 100% rename from buildroot-2021.05/package/patchelf/Config.in.host rename to buildroot-2022.02.1/package/patchelf/Config.in.host diff --git a/buildroot-2021.05/package/patchelf/patchelf.hash b/buildroot-2022.02.1/package/patchelf/patchelf.hash similarity index 100% rename from buildroot-2021.05/package/patchelf/patchelf.hash rename to buildroot-2022.02.1/package/patchelf/patchelf.hash diff --git a/buildroot-2021.05/package/patchelf/patchelf.mk b/buildroot-2022.02.1/package/patchelf/patchelf.mk similarity index 100% rename from buildroot-2021.05/package/patchelf/patchelf.mk rename to buildroot-2022.02.1/package/patchelf/patchelf.mk diff --git a/buildroot-2021.05/package/pax-utils/Config.in b/buildroot-2022.02.1/package/pax-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/pax-utils/Config.in rename to buildroot-2022.02.1/package/pax-utils/Config.in diff --git a/buildroot-2021.05/package/pax-utils/pax-utils.hash b/buildroot-2022.02.1/package/pax-utils/pax-utils.hash similarity index 100% rename from buildroot-2021.05/package/pax-utils/pax-utils.hash rename to buildroot-2022.02.1/package/pax-utils/pax-utils.hash diff --git a/buildroot-2021.05/package/pax-utils/pax-utils.mk b/buildroot-2022.02.1/package/pax-utils/pax-utils.mk similarity index 100% rename from buildroot-2021.05/package/pax-utils/pax-utils.mk rename to buildroot-2022.02.1/package/pax-utils/pax-utils.mk diff --git a/buildroot-2021.05/package/paxtest/0001-genpaxtest-move-log-location.patch b/buildroot-2022.02.1/package/paxtest/0001-genpaxtest-move-log-location.patch similarity index 100% rename from buildroot-2021.05/package/paxtest/0001-genpaxtest-move-log-location.patch rename to buildroot-2022.02.1/package/paxtest/0001-genpaxtest-move-log-location.patch diff --git a/buildroot-2021.05/package/paxtest/0002-paxtest-page-alignment-ARM-and-NIOS2-arch.patch b/buildroot-2022.02.1/package/paxtest/0002-paxtest-page-alignment-ARM-and-NIOS2-arch.patch similarity index 100% rename from buildroot-2021.05/package/paxtest/0002-paxtest-page-alignment-ARM-and-NIOS2-arch.patch rename to buildroot-2022.02.1/package/paxtest/0002-paxtest-page-alignment-ARM-and-NIOS2-arch.patch diff --git a/buildroot-2021.05/package/paxtest/Config.in b/buildroot-2022.02.1/package/paxtest/Config.in similarity index 100% rename from buildroot-2021.05/package/paxtest/Config.in rename to buildroot-2022.02.1/package/paxtest/Config.in diff --git a/buildroot-2021.05/package/paxtest/paxtest.hash b/buildroot-2022.02.1/package/paxtest/paxtest.hash similarity index 100% rename from buildroot-2021.05/package/paxtest/paxtest.hash rename to buildroot-2022.02.1/package/paxtest/paxtest.hash diff --git a/buildroot-2021.05/package/paxtest/paxtest.mk b/buildroot-2022.02.1/package/paxtest/paxtest.mk similarity index 100% rename from buildroot-2021.05/package/paxtest/paxtest.mk rename to buildroot-2022.02.1/package/paxtest/paxtest.mk diff --git a/buildroot-2021.05/package/pciutils/Config.in b/buildroot-2022.02.1/package/pciutils/Config.in similarity index 100% rename from buildroot-2021.05/package/pciutils/Config.in rename to buildroot-2022.02.1/package/pciutils/Config.in diff --git a/buildroot-2021.05/package/pciutils/pciutils.hash b/buildroot-2022.02.1/package/pciutils/pciutils.hash similarity index 100% rename from buildroot-2021.05/package/pciutils/pciutils.hash rename to buildroot-2022.02.1/package/pciutils/pciutils.hash diff --git a/buildroot-2022.02.1/package/pciutils/pciutils.mk b/buildroot-2022.02.1/package/pciutils/pciutils.mk new file mode 100644 index 00000000..67defcc7 --- /dev/null +++ b/buildroot-2022.02.1/package/pciutils/pciutils.mk @@ -0,0 +1,69 @@ +################################################################################ +# +# pciutils +# +################################################################################ + +PCIUTILS_VERSION = 3.7.0 +PCIUTILS_SITE = $(BR2_KERNEL_MIRROR)/software/utils/pciutils +PCIUTILS_SOURCE = pciutils-$(PCIUTILS_VERSION).tar.xz +PCIUTILS_INSTALL_STAGING = YES +PCIUTILS_LICENSE = GPL-2.0+ +PCIUTILS_LICENSE_FILES = COPYING +PCIUTILS_MAKE_OPTS = \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + HOST="$(NORMALIZED_ARCH)-linux" \ + OPT="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + DNS=no \ + STRIP= + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +PCIUTILS_DEPENDENCIES += udev +PCIUTILS_MAKE_OPTS += HWDB=yes +else +PCIUTILS_MAKE_OPTS += HWDB=no +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +PCIUTILS_MAKE_OPTS += ZLIB=yes +PCIUTILS_DEPENDENCIES += zlib +else +PCIUTILS_MAKE_OPTS += ZLIB=no +endif + +ifeq ($(BR2_PACKAGE_KMOD),y) +PCIUTILS_DEPENDENCIES += kmod +PCIUTILS_MAKE_OPTS += LIBKMOD=yes +else +PCIUTILS_MAKE_OPTS += LIBKMOD=no +endif + +ifeq ($(BR2_STATIC_LIBS),y) +PCIUTILS_MAKE_OPTS += SHARED=no +else +PCIUTILS_MAKE_OPTS += SHARED=yes +endif + +define PCIUTILS_CONFIGURE_CMDS + $(SED) 's/wget --no-timestamping/wget/' $(PCIUTILS_DIR)/update-pciids.sh +endef + +define PCIUTILS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(PCIUTILS_MAKE_OPTS) \ + PREFIX=/usr +endef + +define PCIUTILS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \ + PREFIX=$(TARGET_DIR)/usr SBINDIR=$(TARGET_DIR)/usr/bin \ + install install-lib install-pcilib +endef + +define PCIUTILS_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) $(PCIUTILS_MAKE_OPTS) \ + PREFIX=$(STAGING_DIR)/usr SBINDIR=$(STAGING_DIR)/usr/bin \ + install install-lib install-pcilib +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/pcm-tools/0001-pmu-query.py-fix-python3-errors-add-linux-platform-s.patch b/buildroot-2022.02.1/package/pcm-tools/0001-pmu-query.py-fix-python3-errors-add-linux-platform-s.patch new file mode 100644 index 00000000..e49015f2 --- /dev/null +++ b/buildroot-2022.02.1/package/pcm-tools/0001-pmu-query.py-fix-python3-errors-add-linux-platform-s.patch @@ -0,0 +1,103 @@ +From 36b9aa5a8e071ac6349d2d7f9c23a25abcdc316d Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Tue, 2 Nov 2021 10:30:55 -0700 +Subject: [PATCH] pmu-query.py: fix python3 errors, add linux platform support + +Unfortuantly, commit 0212b382624c744491a845c75dfb2a527d4a821f broke pmu-query +in some unexpected ways. + +First, urllib.request.urlopen returns a bytes-object in Python3, which results +in the csv.DictReader throwing the error: `TypeError: initial_value must be +str or None, not HTTPResponse` A simple .read().decode('utf-8') appended to +the end of urlopen fixes the error. + +Second, passing the map_file_raw string to DictReader results in a malformed +dictionary. Fix this by wrapping the raw text string in io.StringIO(). + +Third: During the python2 -> python3 refactoring, I accidentally switched some +logic in the pull request. `if core_path != ''` changed to `if not core_path`, +which breaks the logic, the same goes for +`if offcore_path != ''` -> `if not offcore_path`. Change these to +`if core_path` and `if offcore_path` respectively. + +From upstream commit: 7a670261c2063595f2330e6cc2a7f19eb18b6ea8 + +Signed-off-by: Adam Duskett +--- + pmu-query.py | 20 ++++++++++++++------ + 1 file changed, 14 insertions(+), 6 deletions(-) + +diff --git a/pmu-query.py b/pmu-query.py +index 5595819..bc1e57b 100755 +--- a/pmu-query.py ++++ b/pmu-query.py +@@ -1,4 +1,5 @@ + #!/usr/bin/env python3 ++import io + import urllib.request + import urllib.parse + import json +@@ -8,6 +9,7 @@ import sys + import platform + import getopt + import re ++import shutil + + all_flag = False + download_flag = False +@@ -29,8 +31,8 @@ except getopt.GetoptError as err: + sys.exit(-2) + + if filename is None: +- map_file_raw = urllib.request.urlopen("https://download.01.org/perfmon/mapfile.csv") +- map_dict = csv.DictReader(map_file_raw) ++ map_file_raw = urllib.request.urlopen("https://download.01.org/perfmon/mapfile.csv").read().decode('utf-8') ++ map_dict = csv.DictReader(io.StringIO(map_file_raw), delimiter=',') + map_file = [] + core_path = "" + offcore_path = "" +@@ -45,20 +47,26 @@ if filename is None: + p = subprocess.Popen(["./pcm-core.exe -c"], stdout=subprocess.PIPE, shell=True) + elif platform.system() == "Windows": + p = subprocess.Popen(["pcm-core.exe", "-c"], stdout=subprocess.PIPE, shell=True) ++ elif platform.system() == "Linux": ++ pcm_core = shutil.which("pcm-core") ++ if not pcm_core: ++ print("Could not find pcm-core executable!") ++ sys.exit(-1) ++ p = subprocess.Popen([pcm_core, "-c"], stdout=subprocess.PIPE, shell=True) + else: + p = subprocess.Popen(["./pcm-core.x -c"], stdout=subprocess.PIPE, shell=True) + + (output, err) = p.communicate() + p_status = p.wait() + for model in map_file: +- if re.search(model["Family-model"], output): ++ if re.search(model["Family-model"], output.decode("utf-8")): + if model["EventType"] == "core": + core_path = model["Filename"] + elif model["EventType"] == "offcore": + offcore_path = model["Filename"] + print(model) + +- if not core_path: ++ if core_path: + json_core_data = urllib.request.urlopen( + "https://download.01.org/perfmon" + core_path + ) +@@ -67,10 +75,10 @@ if filename is None: + with open(core_path.split("/")[-1], "w") as outfile: + json.dump(core_events, outfile, sort_keys=True, indent=4) + else: +- print("no core event found for %s CPU, program abort..." % output) ++ print("no core event found for %s CPU, program abort..." % output.decode("utf-8")) + sys.exit(-1) + +- if not offcore_path: ++ if offcore_path: + json_offcore_data = urllib.request.urlopen( + "https://download.01.org/perfmon" + offcore_path + ) +-- +2.32.0 + diff --git a/buildroot-2022.02.1/package/pcm-tools/Config.in b/buildroot-2022.02.1/package/pcm-tools/Config.in new file mode 100644 index 00000000..ca9719dc --- /dev/null +++ b/buildroot-2022.02.1/package/pcm-tools/Config.in @@ -0,0 +1,31 @@ +comment "pcm-tools needs a toolchain w/ C++" + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_PCM_TOOLS + bool "pcm-tools" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_HWDATA + select BR2_PACKAGE_HWDATA_PCI_IDS + help + Processor Counter Monitor (PCM) is an application programming + interface (API) and a set of tools based on the API to monitor + performance and energy metrics of Intel(R) Core(TM), Xeon(R), + Atom(TM) and Xeon Phi(TM) processors. + + https://github.com/opcm/pcm + +if BR2_PACKAGE_PCM_TOOLS + +config BR2_PACKAGE_PCM_TOOLS_PMU_QUERY + bool "install the pmu-query script" + default y + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_CA_CERTIFICATES # https + select BR2_PACKAGE_PYTHON3_SSL # urllib2 + +comment "pmu-query needs Python3" + depends on !BR2_PACKAGE_PYTHON3 + +endif diff --git a/buildroot-2022.02.1/package/pcm-tools/pcm-tools.hash b/buildroot-2022.02.1/package/pcm-tools/pcm-tools.hash new file mode 100644 index 00000000..1853dceb --- /dev/null +++ b/buildroot-2022.02.1/package/pcm-tools/pcm-tools.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 aa48ab1473720aeb7837b67bfc612100f484748720a8b8034daff00419709057 pcm-tools-202110.tar.gz +sha256 0f476c77009f982dcc4bdff41e692ddd456a9862908e99f2ae3d57296decc649 LICENSE diff --git a/buildroot-2022.02.1/package/pcm-tools/pcm-tools.mk b/buildroot-2022.02.1/package/pcm-tools/pcm-tools.mk new file mode 100644 index 00000000..d676df57 --- /dev/null +++ b/buildroot-2022.02.1/package/pcm-tools/pcm-tools.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# pcm-tools +# +################################################################################ + +PCM_TOOLS_VERSION = 202110 +PCM_TOOLS_SITE = $(call github,opcm,pcm,$(PCM_TOOLS_VERSION)) +PCM_TOOLS_LICENSE = BSD-3-Clause +PCM_TOOLS_LICENSE_FILES = LICENSE + +PCM_TOOLS_EXE_FILES = \ + pcm-core pcm-iio pcm-lspci pcm-memory pcm-msr pcm-numa \ + pcm-pcicfg pcm-pcie pcm-power pcm-sensor pcm-tsx pcm + +define PCM_TOOLS_BUILD_CMDS + touch $(@D)/daemon-binaries + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11 -fPIC" \ + UNAME=Linux HOST=_LINUX \ + $(foreach f,$(PCM_TOOLS_EXE_FILES),$(f).x) +endef + +ifeq ($(BR2_PACKAGE_PCM_TOOLS_PMU_QUERY),y) +define PCM_TOOLS_INSTALL_PMU_QUERY + $(INSTALL) -D -m 755 $(@D)/pmu-query.py $(TARGET_DIR)/usr/bin/pmu-query +endef +endif + +define PCM_TOOLS_INSTALL_TARGET_CMDS + $(foreach f,$(PCM_TOOLS_EXE_FILES),\ + $(INSTALL) -D -m 755 $(@D)/$(f).x $(TARGET_DIR)/usr/bin/$(f) + ) + $(PCM_TOOLS_INSTALL_PMU_QUERY) +endef + +define PCM_TOOLS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_X86_MSR) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/pcmanfm/0001-po-de-po-fix-build-with-gettext-tiny.patch b/buildroot-2022.02.1/package/pcmanfm/0001-po-de-po-fix-build-with-gettext-tiny.patch similarity index 100% rename from buildroot-2021.05/package/pcmanfm/0001-po-de-po-fix-build-with-gettext-tiny.patch rename to buildroot-2022.02.1/package/pcmanfm/0001-po-de-po-fix-build-with-gettext-tiny.patch diff --git a/buildroot-2022.02.1/package/pcmanfm/Config.in b/buildroot-2022.02.1/package/pcmanfm/Config.in new file mode 100644 index 00000000..73b8c7c0 --- /dev/null +++ b/buildroot-2022.02.1/package/pcmanfm/Config.in @@ -0,0 +1,27 @@ +config BR2_PACKAGE_PCMANFM + bool "pcmanfm" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + depends on BR2_INSTALL_LIBSTDCPP # libgtk2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz + select BR2_PACKAGE_LIBFM + select BR2_PACKAGE_MENU_CACHE + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBGTK2 if !BR2_PACKAGE_LIBGTK3_X11 + help + PCMan File Manager (PCManFM) is a file manager application + developed by Hong Jen Yee from Taiwan which is meant to be a + replacement for Nautilus, Konqueror and Thunar. + + http://wiki.lxde.org/en/PCManFM + +comment "pcmanfm needs a toolchain w/ wchar, threads, C++, gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_XORG7 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/pcmanfm/pcmanfm.hash b/buildroot-2022.02.1/package/pcmanfm/pcmanfm.hash similarity index 100% rename from buildroot-2021.05/package/pcmanfm/pcmanfm.hash rename to buildroot-2022.02.1/package/pcmanfm/pcmanfm.hash diff --git a/buildroot-2021.05/package/pcmanfm/pcmanfm.mk b/buildroot-2022.02.1/package/pcmanfm/pcmanfm.mk similarity index 100% rename from buildroot-2021.05/package/pcmanfm/pcmanfm.mk rename to buildroot-2022.02.1/package/pcmanfm/pcmanfm.mk diff --git a/buildroot-2021.05/package/pcre/0001-Kill-compatibility-bits.patch b/buildroot-2022.02.1/package/pcre/0001-Kill-compatibility-bits.patch similarity index 100% rename from buildroot-2021.05/package/pcre/0001-Kill-compatibility-bits.patch rename to buildroot-2022.02.1/package/pcre/0001-Kill-compatibility-bits.patch diff --git a/buildroot-2022.02.1/package/pcre/0002-Disable-C-unit-tests.patch b/buildroot-2022.02.1/package/pcre/0002-Disable-C-unit-tests.patch new file mode 100644 index 00000000..1c9f26eb --- /dev/null +++ b/buildroot-2022.02.1/package/pcre/0002-Disable-C-unit-tests.patch @@ -0,0 +1,42 @@ +From e3c636b8c7f9912d8d3a9fabdaa0a96ba69f7b29 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Tue, 14 Jun 2016 20:32:44 -0300 +Subject: [PATCH] Disable C++ unit tests + +They fail to build on static targets and they're not installed anyway. + +Signed-off-by: Gustavo Zacarias +--- + Makefile.in | 9 --------- + 1 file changed, 9 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 6d03912..2c42b3e 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -133,12 +133,6 @@ noinst_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3) $(am__EXEEXT_4) + @WITH_PCRE8_TRUE@am__append_20 = libpcreposix.la + @WITH_GCOV_TRUE@@WITH_PCRE8_TRUE@am__append_21 = $(GCOV_CFLAGS) + @WITH_PCRE_CPP_TRUE@am__append_22 = libpcrecpp.la +-@WITH_PCRE_CPP_TRUE@am__append_23 = pcrecpp_unittest \ +-@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest \ +-@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest +-@WITH_PCRE_CPP_TRUE@am__append_24 = pcrecpp_unittest \ +-@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest \ +-@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest + @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_25 = $(GCOV_CXXFLAGS) + @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_26 = $(GCOV_LIBS) + @WITH_GCOV_TRUE@@WITH_PCRE_CPP_TRUE@am__append_27 = $(GCOV_LIBS) +@@ -190,9 +184,6 @@ libpcreposix_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + "$(DESTDIR)$(includedir)" + @WITH_REBUILD_CHARTABLES_TRUE@am__EXEEXT_2 = dftables$(EXEEXT) + @WITH_JIT_TRUE@am__EXEEXT_3 = pcre_jit_test$(EXEEXT) +-@WITH_PCRE_CPP_TRUE@am__EXEEXT_4 = pcrecpp_unittest$(EXEEXT) \ +-@WITH_PCRE_CPP_TRUE@ pcre_scanner_unittest$(EXEEXT) \ +-@WITH_PCRE_CPP_TRUE@ pcre_stringpiece_unittest$(EXEEXT) + PROGRAMS = $(bin_PROGRAMS) $(noinst_PROGRAMS) + am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; + am__vpath_adj = case $$p in \ +-- +2.7.3 + diff --git a/buildroot-2021.05/package/pcre/Config.in b/buildroot-2022.02.1/package/pcre/Config.in similarity index 100% rename from buildroot-2021.05/package/pcre/Config.in rename to buildroot-2022.02.1/package/pcre/Config.in diff --git a/buildroot-2022.02.1/package/pcre/pcre.hash b/buildroot-2022.02.1/package/pcre/pcre.hash new file mode 100644 index 00000000..6150303e --- /dev/null +++ b/buildroot-2022.02.1/package/pcre/pcre.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 4dae6fdcd2bb0bb6c37b5f97c33c2be954da743985369cddac3546e3218bffb8 pcre-8.45.tar.bz2 +# License files, locally calculated +sha256 51b3dea44f63338b84b9c97b3d793826a8397309068cf9379a423216ab8ea5b2 LICENCE diff --git a/buildroot-2022.02.1/package/pcre/pcre.mk b/buildroot-2022.02.1/package/pcre/pcre.mk new file mode 100644 index 00000000..59750c28 --- /dev/null +++ b/buildroot-2022.02.1/package/pcre/pcre.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# pcre +# +################################################################################ + +PCRE_VERSION = 8.45 +PCRE_SITE = http://downloads.sourceforge.net/project/pcre/pcre/$(PCRE_VERSION) +PCRE_SOURCE = pcre-$(PCRE_VERSION).tar.bz2 +PCRE_LICENSE = BSD-3-Clause +PCRE_LICENSE_FILES = LICENCE +PCRE_CPE_ID_VENDOR = pcre +PCRE_INSTALL_STAGING = YES +PCRE_CONFIG_SCRIPTS = pcre-config + +# They're required for host-libglib2 +HOST_PCRE_CONF_OPTS = --enable-unicode-properties + +ifneq ($(BR2_INSTALL_LIBSTDCPP),y) +# pcre will use the host g++ if a cross version isn't available +PCRE_CONF_OPTS += --disable-cpp +endif + +PCRE_CONF_OPTS += --enable-pcre8 +PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_16),--enable-pcre16,--disable-pcre16) +PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_32),--enable-pcre32,--disable-pcre32) +PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UTF),--enable-utf,--disable-utf) +PCRE_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE_UCP),--enable-unicode-properties,--disable-unicode-properties) + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/pcre2/Config.in b/buildroot-2022.02.1/package/pcre2/Config.in similarity index 100% rename from buildroot-2021.05/package/pcre2/Config.in rename to buildroot-2022.02.1/package/pcre2/Config.in diff --git a/buildroot-2022.02.1/package/pcre2/pcre2.hash b/buildroot-2022.02.1/package/pcre2/pcre2.hash new file mode 100644 index 00000000..3e6299f8 --- /dev/null +++ b/buildroot-2022.02.1/package/pcre2/pcre2.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature: +# https://github.com/PhilipHazel/pcre2/releases/download/pcre2-10.39/pcre2-10.39.tar.bz2.sig +sha256 0f03caf57f81d9ff362ac28cd389c055ec2bf0678d277349a1a4bee00ad6d440 pcre2-10.39.tar.bz2 +# Locally computed +sha256 15bc778a1f7e1f857d57abab4181749a06ad1d1f9420d5c9e3c23ef8c991b025 LICENCE diff --git a/buildroot-2022.02.1/package/pcre2/pcre2.mk b/buildroot-2022.02.1/package/pcre2/pcre2.mk new file mode 100644 index 00000000..adcfaf1c --- /dev/null +++ b/buildroot-2022.02.1/package/pcre2/pcre2.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# pcre2 +# +################################################################################ + +PCRE2_VERSION = 10.39 +PCRE2_SITE = https://github.com/PhilipHazel/pcre2/releases/download/pcre2-$(PCRE2_VERSION) +PCRE2_SOURCE = pcre2-$(PCRE2_VERSION).tar.bz2 +PCRE2_LICENSE = BSD-3-Clause +PCRE2_LICENSE_FILES = LICENCE +PCRE2_CPE_ID_VENDOR = pcre +PCRE2_INSTALL_STAGING = YES +PCRE2_CONFIG_SCRIPTS = pcre2-config + +PCRE2_CONF_OPTS += --enable-pcre2-8 +PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_16),--enable-pcre2-16,--disable-pcre2-16) +PCRE2_CONF_OPTS += $(if $(BR2_PACKAGE_PCRE2_32),--enable-pcre2-32,--disable-pcre2-32) + +ifeq ($(BR2_PACKAGE_PCRE2_JIT),y) +PCRE2_CONF_OPTS += --enable-jit +else +PCRE2_CONF_OPTS += --disable-jit +endif + +# disable fork usage if not available +ifeq ($(BR2_USE_MMU),) +PCRE2_CONF_OPTS += --disable-pcre2grep-callout +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/pcsc-lite/0001-src-hotplug_generic.c-fix-build-without-lib-udev-usb.patch b/buildroot-2022.02.1/package/pcsc-lite/0001-src-hotplug_generic.c-fix-build-without-lib-udev-usb.patch new file mode 100644 index 00000000..7e93bf5f --- /dev/null +++ b/buildroot-2022.02.1/package/pcsc-lite/0001-src-hotplug_generic.c-fix-build-without-lib-udev-usb.patch @@ -0,0 +1,35 @@ +From 2153e165c48e541bb5a8b23f81e87db87a9394fd Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 14 Dec 2021 08:20:59 +0100 +Subject: [PATCH] src/hotplug_generic.c: fix build without lib{udev,usb} + +Fix the following build failure without lib{udev,usb} raised since +version 1.9.5 and +https://github.com/LudovicRousseau/PCSC/commit/6f8f170db3c88c59a5ddb5ae5319b921a901a6aa: + +/home/giuliobenetti/autobuild/run/instance-2/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: pcscd-pcscdaemon.o: in function `signal_thread': +pcscdaemon.c:(.text+0x444): undefined reference to `HPReCheckSerialReaders' + +Fixes: + - http://autobuild.buildroot.org/results/6cf323229f32967aa554418410dc94b7094d09af + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/LudovicRousseau/PCSC/commit/2153e165c48e541bb5a8b23f81e87db87a9394fd] +--- + src/hotplug_generic.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/hotplug_generic.c b/src/hotplug_generic.c +index a0f34646..e4f19935 100644 +--- a/src/hotplug_generic.c ++++ b/src/hotplug_generic.c +@@ -48,7 +48,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + #define FALSE 0 + #endif + +-#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(__linux__) && !defined(HAVE_LIBUDEV) ++#if !defined(__APPLE__) && !defined(HAVE_LIBUSB) && !defined(HAVE_LIBUDEV) + + LONG HPSearchHotPluggables(void) + { diff --git a/buildroot-2021.05/package/pcsc-lite/Config.in b/buildroot-2022.02.1/package/pcsc-lite/Config.in similarity index 100% rename from buildroot-2021.05/package/pcsc-lite/Config.in rename to buildroot-2022.02.1/package/pcsc-lite/Config.in diff --git a/buildroot-2022.02.1/package/pcsc-lite/pcsc-lite.hash b/buildroot-2022.02.1/package/pcsc-lite/pcsc-lite.hash new file mode 100644 index 00000000..4844606c --- /dev/null +++ b/buildroot-2022.02.1/package/pcsc-lite/pcsc-lite.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 9ee3f9b333537562177893559ad4f7b8d5c23ebe828eef53056c02db14049d08 pcsc-lite-1.9.5.tar.bz2 +sha256 40d4358bb8dc8d30f5365ae6d999b6f820bbc051b292912482f2e4d0ebd837e1 COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 GPL-3.0.txt diff --git a/buildroot-2022.02.1/package/pcsc-lite/pcsc-lite.mk b/buildroot-2022.02.1/package/pcsc-lite/pcsc-lite.mk new file mode 100644 index 00000000..a7db1059 --- /dev/null +++ b/buildroot-2022.02.1/package/pcsc-lite/pcsc-lite.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# pcsc-lite +# +################################################################################ + +PCSC_LITE_VERSION = 1.9.5 +PCSC_LITE_SOURCE = pcsc-lite-$(PCSC_LITE_VERSION).tar.bz2 +PCSC_LITE_SITE = https://pcsclite.apdu.fr/files +PCSC_LITE_INSTALL_STAGING = YES +PCSC_LITE_DEPENDENCIES = host-pkgconf +PCSC_LITE_LICENSE = BSD-2-Clause (auth), BSD-3-Clause, GPL-3.0+ (demo, spy, tests), ISC (simclist) +PCSC_LITE_LICENSE_FILES = COPYING GPL-3.0.txt +PCSC_LITE_SELINUX_MODULES = pcscd + +# - libudev and libusb are optional +# - libudev and libusb can't be used together +# - libudev has a priority over libusb + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +PCSC_LITE_CONF_OPTS += --enable-libudev --disable-libusb +PCSC_LITE_DEPENDENCIES += udev +else +ifeq ($(BR2_PACKAGE_LIBUSB),y) +PCSC_LITE_CONF_OPTS += --enable-libusb --disable-libudev +PCSC_LITE_DEPENDENCIES += libusb +else +PCSC_LITE_CONF_OPTS += --disable-libusb --disable-libudev +endif +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +PCSC_LITE_CONF_OPTS += --enable-libsystemd +PCSC_LITE_DEPENDENCIES += systemd +else +PCSC_LITE_CONF_OPTS += --disable-libsystemd +endif + +ifeq ($(PACKAGE_PCSC_LITE_DEBUGATR),y) +PCSC_LITE_CONF_OPTS += --enable-debugatr +endif + +ifeq ($(PACKAGE_PCSC_LITE_EMBEDDED),y) +PCSC_LITE_CONF_OPTS += --enable-embedded +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pdbg/Config.in b/buildroot-2022.02.1/package/pdbg/Config.in similarity index 100% rename from buildroot-2021.05/package/pdbg/Config.in rename to buildroot-2022.02.1/package/pdbg/Config.in diff --git a/buildroot-2022.02.1/package/pdbg/pdbg.hash b/buildroot-2022.02.1/package/pdbg/pdbg.hash new file mode 100644 index 00000000..df7ba314 --- /dev/null +++ b/buildroot-2022.02.1/package/pdbg/pdbg.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 5b721fd5551591cd5626ccf72c8d9096d902de4da10324097a37b4763815f0d7 pdbg-3.4.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 COPYING diff --git a/buildroot-2022.02.1/package/pdbg/pdbg.mk b/buildroot-2022.02.1/package/pdbg/pdbg.mk new file mode 100644 index 00000000..5a5cfbc6 --- /dev/null +++ b/buildroot-2022.02.1/package/pdbg/pdbg.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# pdbg +# +################################################################################ + +PDBG_VERSION = 3.4 +PDBG_SITE = $(call github,open-power,pdbg,v$(PDBG_VERSION)) +PDBG_LICENSE = Apache-2.0 +PDBG_LICENSE_FILES = COPYING +PDBG_AUTORECONF = YES +PDBG_DEPENDENCIES = host-dtc + +PDBG_MAKE_OPTS = "GIT_SHA1=\"v$(PDBG_VERSION)\"" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pdmenu/0001-autoconf-makeinfo.in-link-with-INTLLIBS-if-needed.patch b/buildroot-2022.02.1/package/pdmenu/0001-autoconf-makeinfo.in-link-with-INTLLIBS-if-needed.patch similarity index 100% rename from buildroot-2021.05/package/pdmenu/0001-autoconf-makeinfo.in-link-with-INTLLIBS-if-needed.patch rename to buildroot-2022.02.1/package/pdmenu/0001-autoconf-makeinfo.in-link-with-INTLLIBS-if-needed.patch diff --git a/buildroot-2021.05/package/pdmenu/0002-Makefile-autoconf-makeinfo.in-support-build-install-.patch b/buildroot-2022.02.1/package/pdmenu/0002-Makefile-autoconf-makeinfo.in-support-build-install-.patch similarity index 100% rename from buildroot-2021.05/package/pdmenu/0002-Makefile-autoconf-makeinfo.in-support-build-install-.patch rename to buildroot-2022.02.1/package/pdmenu/0002-Makefile-autoconf-makeinfo.in-support-build-install-.patch diff --git a/buildroot-2021.05/package/pdmenu/Config.in b/buildroot-2022.02.1/package/pdmenu/Config.in similarity index 100% rename from buildroot-2021.05/package/pdmenu/Config.in rename to buildroot-2022.02.1/package/pdmenu/Config.in diff --git a/buildroot-2021.05/package/pdmenu/pdmenu.hash b/buildroot-2022.02.1/package/pdmenu/pdmenu.hash similarity index 100% rename from buildroot-2021.05/package/pdmenu/pdmenu.hash rename to buildroot-2022.02.1/package/pdmenu/pdmenu.hash diff --git a/buildroot-2021.05/package/pdmenu/pdmenu.mk b/buildroot-2022.02.1/package/pdmenu/pdmenu.mk similarity index 100% rename from buildroot-2021.05/package/pdmenu/pdmenu.mk rename to buildroot-2022.02.1/package/pdmenu/pdmenu.mk diff --git a/buildroot-2021.05/package/perl-apache-logformat-compiler/Config.in b/buildroot-2022.02.1/package/perl-apache-logformat-compiler/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-apache-logformat-compiler/Config.in rename to buildroot-2022.02.1/package/perl-apache-logformat-compiler/Config.in diff --git a/buildroot-2021.05/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash b/buildroot-2022.02.1/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash similarity index 100% rename from buildroot-2021.05/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash rename to buildroot-2022.02.1/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.hash diff --git a/buildroot-2021.05/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk b/buildroot-2022.02.1/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk similarity index 100% rename from buildroot-2021.05/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk rename to buildroot-2022.02.1/package/perl-apache-logformat-compiler/perl-apache-logformat-compiler.mk diff --git a/buildroot-2021.05/package/perl-appconfig/Config.in b/buildroot-2022.02.1/package/perl-appconfig/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-appconfig/Config.in rename to buildroot-2022.02.1/package/perl-appconfig/Config.in diff --git a/buildroot-2021.05/package/perl-appconfig/perl-appconfig.hash b/buildroot-2022.02.1/package/perl-appconfig/perl-appconfig.hash similarity index 100% rename from buildroot-2021.05/package/perl-appconfig/perl-appconfig.hash rename to buildroot-2022.02.1/package/perl-appconfig/perl-appconfig.hash diff --git a/buildroot-2021.05/package/perl-appconfig/perl-appconfig.mk b/buildroot-2022.02.1/package/perl-appconfig/perl-appconfig.mk similarity index 100% rename from buildroot-2021.05/package/perl-appconfig/perl-appconfig.mk rename to buildroot-2022.02.1/package/perl-appconfig/perl-appconfig.mk diff --git a/buildroot-2021.05/package/perl-astro-suntime/Config.in b/buildroot-2022.02.1/package/perl-astro-suntime/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-astro-suntime/Config.in rename to buildroot-2022.02.1/package/perl-astro-suntime/Config.in diff --git a/buildroot-2021.05/package/perl-astro-suntime/perl-astro-suntime.hash b/buildroot-2022.02.1/package/perl-astro-suntime/perl-astro-suntime.hash similarity index 100% rename from buildroot-2021.05/package/perl-astro-suntime/perl-astro-suntime.hash rename to buildroot-2022.02.1/package/perl-astro-suntime/perl-astro-suntime.hash diff --git a/buildroot-2021.05/package/perl-astro-suntime/perl-astro-suntime.mk b/buildroot-2022.02.1/package/perl-astro-suntime/perl-astro-suntime.mk similarity index 100% rename from buildroot-2021.05/package/perl-astro-suntime/perl-astro-suntime.mk rename to buildroot-2022.02.1/package/perl-astro-suntime/perl-astro-suntime.mk diff --git a/buildroot-2021.05/package/perl-class-inspector/Config.in b/buildroot-2022.02.1/package/perl-class-inspector/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-class-inspector/Config.in rename to buildroot-2022.02.1/package/perl-class-inspector/Config.in diff --git a/buildroot-2021.05/package/perl-class-inspector/perl-class-inspector.hash b/buildroot-2022.02.1/package/perl-class-inspector/perl-class-inspector.hash similarity index 100% rename from buildroot-2021.05/package/perl-class-inspector/perl-class-inspector.hash rename to buildroot-2022.02.1/package/perl-class-inspector/perl-class-inspector.hash diff --git a/buildroot-2021.05/package/perl-class-inspector/perl-class-inspector.mk b/buildroot-2022.02.1/package/perl-class-inspector/perl-class-inspector.mk similarity index 100% rename from buildroot-2021.05/package/perl-class-inspector/perl-class-inspector.mk rename to buildroot-2022.02.1/package/perl-class-inspector/perl-class-inspector.mk diff --git a/buildroot-2021.05/package/perl-class-load/Config.in b/buildroot-2022.02.1/package/perl-class-load/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-class-load/Config.in rename to buildroot-2022.02.1/package/perl-class-load/Config.in diff --git a/buildroot-2021.05/package/perl-class-load/perl-class-load.hash b/buildroot-2022.02.1/package/perl-class-load/perl-class-load.hash similarity index 100% rename from buildroot-2021.05/package/perl-class-load/perl-class-load.hash rename to buildroot-2022.02.1/package/perl-class-load/perl-class-load.hash diff --git a/buildroot-2021.05/package/perl-class-load/perl-class-load.mk b/buildroot-2022.02.1/package/perl-class-load/perl-class-load.mk similarity index 100% rename from buildroot-2021.05/package/perl-class-load/perl-class-load.mk rename to buildroot-2022.02.1/package/perl-class-load/perl-class-load.mk diff --git a/buildroot-2021.05/package/perl-class-method-modifiers/Config.in b/buildroot-2022.02.1/package/perl-class-method-modifiers/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-class-method-modifiers/Config.in rename to buildroot-2022.02.1/package/perl-class-method-modifiers/Config.in diff --git a/buildroot-2021.05/package/perl-class-method-modifiers/perl-class-method-modifiers.hash b/buildroot-2022.02.1/package/perl-class-method-modifiers/perl-class-method-modifiers.hash similarity index 100% rename from buildroot-2021.05/package/perl-class-method-modifiers/perl-class-method-modifiers.hash rename to buildroot-2022.02.1/package/perl-class-method-modifiers/perl-class-method-modifiers.hash diff --git a/buildroot-2021.05/package/perl-class-method-modifiers/perl-class-method-modifiers.mk b/buildroot-2022.02.1/package/perl-class-method-modifiers/perl-class-method-modifiers.mk similarity index 100% rename from buildroot-2021.05/package/perl-class-method-modifiers/perl-class-method-modifiers.mk rename to buildroot-2022.02.1/package/perl-class-method-modifiers/perl-class-method-modifiers.mk diff --git a/buildroot-2021.05/package/perl-class-std-fast/Config.in b/buildroot-2022.02.1/package/perl-class-std-fast/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-class-std-fast/Config.in rename to buildroot-2022.02.1/package/perl-class-std-fast/Config.in diff --git a/buildroot-2021.05/package/perl-class-std-fast/perl-class-std-fast.hash b/buildroot-2022.02.1/package/perl-class-std-fast/perl-class-std-fast.hash similarity index 100% rename from buildroot-2021.05/package/perl-class-std-fast/perl-class-std-fast.hash rename to buildroot-2022.02.1/package/perl-class-std-fast/perl-class-std-fast.hash diff --git a/buildroot-2021.05/package/perl-class-std-fast/perl-class-std-fast.mk b/buildroot-2022.02.1/package/perl-class-std-fast/perl-class-std-fast.mk similarity index 100% rename from buildroot-2021.05/package/perl-class-std-fast/perl-class-std-fast.mk rename to buildroot-2022.02.1/package/perl-class-std-fast/perl-class-std-fast.mk diff --git a/buildroot-2021.05/package/perl-class-std/Config.in b/buildroot-2022.02.1/package/perl-class-std/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-class-std/Config.in rename to buildroot-2022.02.1/package/perl-class-std/Config.in diff --git a/buildroot-2021.05/package/perl-class-std/perl-class-std.hash b/buildroot-2022.02.1/package/perl-class-std/perl-class-std.hash similarity index 100% rename from buildroot-2021.05/package/perl-class-std/perl-class-std.hash rename to buildroot-2022.02.1/package/perl-class-std/perl-class-std.hash diff --git a/buildroot-2021.05/package/perl-class-std/perl-class-std.mk b/buildroot-2022.02.1/package/perl-class-std/perl-class-std.mk similarity index 100% rename from buildroot-2021.05/package/perl-class-std/perl-class-std.mk rename to buildroot-2022.02.1/package/perl-class-std/perl-class-std.mk diff --git a/buildroot-2021.05/package/perl-convert-asn1/Config.in b/buildroot-2022.02.1/package/perl-convert-asn1/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-convert-asn1/Config.in rename to buildroot-2022.02.1/package/perl-convert-asn1/Config.in diff --git a/buildroot-2022.02.1/package/perl-convert-asn1/perl-convert-asn1.hash b/buildroot-2022.02.1/package/perl-convert-asn1/perl-convert-asn1.hash new file mode 100644 index 00000000..644517af --- /dev/null +++ b/buildroot-2022.02.1/package/perl-convert-asn1/perl-convert-asn1.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 80425835020da77c48c05a40e25bbf7e Convert-ASN1-0.33.tar.gz +sha256 1fdf004520c79e3a244cf9688616293516c11793d746c761f367496eb3d06076 Convert-ASN1-0.33.tar.gz + +# computed by scancpan +sha256 70884b19a3537bf179538c3b7d7896a56ade509dafe6b8d545c5999a9c05f8a9 LICENSE diff --git a/buildroot-2022.02.1/package/perl-convert-asn1/perl-convert-asn1.mk b/buildroot-2022.02.1/package/perl-convert-asn1/perl-convert-asn1.mk new file mode 100644 index 00000000..affe775a --- /dev/null +++ b/buildroot-2022.02.1/package/perl-convert-asn1/perl-convert-asn1.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-convert-asn1 +# +################################################################################ + +PERL_CONVERT_ASN1_VERSION = 0.33 +PERL_CONVERT_ASN1_SOURCE = Convert-ASN1-$(PERL_CONVERT_ASN1_VERSION).tar.gz +PERL_CONVERT_ASN1_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TI/TIMLEGGE +PERL_CONVERT_ASN1_LICENSE = Artistic or GPL-1.0+ +PERL_CONVERT_ASN1_LICENSE_FILES = LICENSE +PERL_CONVERT_ASN1_DISTNAME = Convert-ASN1 + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-cookie-baker/Config.in b/buildroot-2022.02.1/package/perl-cookie-baker/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-cookie-baker/Config.in rename to buildroot-2022.02.1/package/perl-cookie-baker/Config.in diff --git a/buildroot-2021.05/package/perl-cookie-baker/perl-cookie-baker.hash b/buildroot-2022.02.1/package/perl-cookie-baker/perl-cookie-baker.hash similarity index 100% rename from buildroot-2021.05/package/perl-cookie-baker/perl-cookie-baker.hash rename to buildroot-2022.02.1/package/perl-cookie-baker/perl-cookie-baker.hash diff --git a/buildroot-2021.05/package/perl-cookie-baker/perl-cookie-baker.mk b/buildroot-2022.02.1/package/perl-cookie-baker/perl-cookie-baker.mk similarity index 100% rename from buildroot-2021.05/package/perl-cookie-baker/perl-cookie-baker.mk rename to buildroot-2022.02.1/package/perl-cookie-baker/perl-cookie-baker.mk diff --git a/buildroot-2021.05/package/perl-crypt-blowfish/Config.in b/buildroot-2022.02.1/package/perl-crypt-blowfish/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-crypt-blowfish/Config.in rename to buildroot-2022.02.1/package/perl-crypt-blowfish/Config.in diff --git a/buildroot-2021.05/package/perl-crypt-blowfish/perl-crypt-blowfish.hash b/buildroot-2022.02.1/package/perl-crypt-blowfish/perl-crypt-blowfish.hash similarity index 100% rename from buildroot-2021.05/package/perl-crypt-blowfish/perl-crypt-blowfish.hash rename to buildroot-2022.02.1/package/perl-crypt-blowfish/perl-crypt-blowfish.hash diff --git a/buildroot-2021.05/package/perl-crypt-blowfish/perl-crypt-blowfish.mk b/buildroot-2022.02.1/package/perl-crypt-blowfish/perl-crypt-blowfish.mk similarity index 100% rename from buildroot-2021.05/package/perl-crypt-blowfish/perl-crypt-blowfish.mk rename to buildroot-2022.02.1/package/perl-crypt-blowfish/perl-crypt-blowfish.mk diff --git a/buildroot-2021.05/package/perl-crypt-cbc/Config.in b/buildroot-2022.02.1/package/perl-crypt-cbc/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-crypt-cbc/Config.in rename to buildroot-2022.02.1/package/perl-crypt-cbc/Config.in diff --git a/buildroot-2021.05/package/perl-crypt-cbc/perl-crypt-cbc.hash b/buildroot-2022.02.1/package/perl-crypt-cbc/perl-crypt-cbc.hash similarity index 100% rename from buildroot-2021.05/package/perl-crypt-cbc/perl-crypt-cbc.hash rename to buildroot-2022.02.1/package/perl-crypt-cbc/perl-crypt-cbc.hash diff --git a/buildroot-2021.05/package/perl-crypt-cbc/perl-crypt-cbc.mk b/buildroot-2022.02.1/package/perl-crypt-cbc/perl-crypt-cbc.mk similarity index 100% rename from buildroot-2021.05/package/perl-crypt-cbc/perl-crypt-cbc.mk rename to buildroot-2022.02.1/package/perl-crypt-cbc/perl-crypt-cbc.mk diff --git a/buildroot-2021.05/package/perl-crypt-openssl-aes/Config.in b/buildroot-2022.02.1/package/perl-crypt-openssl-aes/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-aes/Config.in rename to buildroot-2022.02.1/package/perl-crypt-openssl-aes/Config.in diff --git a/buildroot-2021.05/package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.hash b/buildroot-2022.02.1/package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.hash similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.hash rename to buildroot-2022.02.1/package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.hash diff --git a/buildroot-2021.05/package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.mk b/buildroot-2022.02.1/package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.mk similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.mk rename to buildroot-2022.02.1/package/perl-crypt-openssl-aes/perl-crypt-openssl-aes.mk diff --git a/buildroot-2021.05/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash b/buildroot-2022.02.1/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash rename to buildroot-2022.02.1/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.hash diff --git a/buildroot-2021.05/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk b/buildroot-2022.02.1/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk rename to buildroot-2022.02.1/package/perl-crypt-openssl-guess/perl-crypt-openssl-guess.mk diff --git a/buildroot-2021.05/package/perl-crypt-openssl-random/Config.in b/buildroot-2022.02.1/package/perl-crypt-openssl-random/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-random/Config.in rename to buildroot-2022.02.1/package/perl-crypt-openssl-random/Config.in diff --git a/buildroot-2021.05/package/perl-crypt-openssl-random/perl-crypt-openssl-random.hash b/buildroot-2022.02.1/package/perl-crypt-openssl-random/perl-crypt-openssl-random.hash similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-random/perl-crypt-openssl-random.hash rename to buildroot-2022.02.1/package/perl-crypt-openssl-random/perl-crypt-openssl-random.hash diff --git a/buildroot-2021.05/package/perl-crypt-openssl-random/perl-crypt-openssl-random.mk b/buildroot-2022.02.1/package/perl-crypt-openssl-random/perl-crypt-openssl-random.mk similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-random/perl-crypt-openssl-random.mk rename to buildroot-2022.02.1/package/perl-crypt-openssl-random/perl-crypt-openssl-random.mk diff --git a/buildroot-2022.02.1/package/perl-crypt-openssl-rsa/Config.in b/buildroot-2022.02.1/package/perl-crypt-openssl-rsa/Config.in new file mode 100644 index 00000000..b11d8a44 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-crypt-openssl-rsa/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_PERL_CRYPT_OPENSSL_RSA + bool "perl-crypt-openssl-rsa" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PERL_CRYPT_OPENSSL_RANDOM # runtime + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + help + RSA encoding and decoding, using the openSSL libraries. + + http://github.com/toddr/Crypt-OpenSSL-RSA + +comment "perl-crypt-openssl-rsa needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.hash b/buildroot-2022.02.1/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.hash similarity index 100% rename from buildroot-2021.05/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.hash rename to buildroot-2022.02.1/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.hash diff --git a/buildroot-2022.02.1/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk b/buildroot-2022.02.1/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk new file mode 100644 index 00000000..23fd1ac3 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-crypt-openssl-rsa/perl-crypt-openssl-rsa.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# perl-crypt-openssl-rsa +# +################################################################################ + +PERL_CRYPT_OPENSSL_RSA_VERSION = 0.31 +PERL_CRYPT_OPENSSL_RSA_SOURCE = Crypt-OpenSSL-RSA-$(PERL_CRYPT_OPENSSL_RSA_VERSION).tar.gz +PERL_CRYPT_OPENSSL_RSA_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TODDR +PERL_CRYPT_OPENSSL_RSA_DEPENDENCIES = \ + host-perl-crypt-openssl-guess \ + perl-crypt-openssl-random \ + openssl +PERL_CRYPT_OPENSSL_RSA_LICENSE = Artistic or GPL-1.0+ +PERL_CRYPT_OPENSSL_RSA_LICENSE_FILES = LICENSE +PERL_CRYPT_OPENSSL_RSA_DISTNAME = Crypt-OpenSSL-RSA + +# Try as hard as possible to remedy to the brain-damage their build-system +# suffers from: don't search for openssl, they pick the host-system one. +PERL_CRYPT_OPENSSL_RSA_CONF_ENV = OPENSSL_PREFIX=$(STAGING_DIR)/usr + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-data-dump/Config.in b/buildroot-2022.02.1/package/perl-data-dump/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-data-dump/Config.in rename to buildroot-2022.02.1/package/perl-data-dump/Config.in diff --git a/buildroot-2022.02.1/package/perl-data-dump/perl-data-dump.hash b/buildroot-2022.02.1/package/perl-data-dump/perl-data-dump.hash new file mode 100644 index 00000000..cc1986e7 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-data-dump/perl-data-dump.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 9bd7131ef0441e1e0e001bf85e9fae31 Data-Dump-1.25.tar.gz +sha256 a4aa6e0ddbf39d5ad49bddfe0f89d9da864e3bc00f627125d1bc580472f53fbd Data-Dump-1.25.tar.gz + +# computed by scancpan +sha256 8bdd655ceab54bbeb1105a101f0412ec764098abf09b4e92bc430d56befa10cb README.md diff --git a/buildroot-2022.02.1/package/perl-data-dump/perl-data-dump.mk b/buildroot-2022.02.1/package/perl-data-dump/perl-data-dump.mk new file mode 100644 index 00000000..e70de2a2 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-data-dump/perl-data-dump.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-data-dump +# +################################################################################ + +PERL_DATA_DUMP_VERSION = 1.25 +PERL_DATA_DUMP_SOURCE = Data-Dump-$(PERL_DATA_DUMP_VERSION).tar.gz +PERL_DATA_DUMP_SITE = $(BR2_CPAN_MIRROR)/authors/id/G/GA/GARU +PERL_DATA_DUMP_LICENSE = Artistic or GPL-1.0+ +PERL_DATA_DUMP_LICENSE_FILES = README.md +PERL_DATA_DUMP_DISTNAME = Data-Dump + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-data-optlist/Config.in b/buildroot-2022.02.1/package/perl-data-optlist/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-data-optlist/Config.in rename to buildroot-2022.02.1/package/perl-data-optlist/Config.in diff --git a/buildroot-2022.02.1/package/perl-data-optlist/perl-data-optlist.hash b/buildroot-2022.02.1/package/perl-data-optlist/perl-data-optlist.hash new file mode 100644 index 00000000..1c805ace --- /dev/null +++ b/buildroot-2022.02.1/package/perl-data-optlist/perl-data-optlist.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 3b2cdb7846391f9acaf4e948a9a6b21b Data-OptList-0.112.tar.gz +sha256 62c60ccaae88d5339ae36bcc8940b03388cf84adbf27828b1f8b300307103bab Data-OptList-0.112.tar.gz + +# computed by scancpan +sha256 712f3e40537810ba3046533fd71d877f69ab446d5e8e8a1135771804494b8b42 LICENSE diff --git a/buildroot-2022.02.1/package/perl-data-optlist/perl-data-optlist.mk b/buildroot-2022.02.1/package/perl-data-optlist/perl-data-optlist.mk new file mode 100644 index 00000000..8e089245 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-data-optlist/perl-data-optlist.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-data-optlist +# +################################################################################ + +PERL_DATA_OPTLIST_VERSION = 0.112 +PERL_DATA_OPTLIST_SOURCE = Data-OptList-$(PERL_DATA_OPTLIST_VERSION).tar.gz +PERL_DATA_OPTLIST_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RJ/RJBS +PERL_DATA_OPTLIST_LICENSE = Artistic or GPL-1.0+ +PERL_DATA_OPTLIST_LICENSE_FILES = LICENSE +PERL_DATA_OPTLIST_DISTNAME = Data-OptList + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-data-uuid/Config.in b/buildroot-2022.02.1/package/perl-data-uuid/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-data-uuid/Config.in rename to buildroot-2022.02.1/package/perl-data-uuid/Config.in diff --git a/buildroot-2021.05/package/perl-data-uuid/perl-data-uuid.hash b/buildroot-2022.02.1/package/perl-data-uuid/perl-data-uuid.hash similarity index 100% rename from buildroot-2021.05/package/perl-data-uuid/perl-data-uuid.hash rename to buildroot-2022.02.1/package/perl-data-uuid/perl-data-uuid.hash diff --git a/buildroot-2021.05/package/perl-data-uuid/perl-data-uuid.mk b/buildroot-2022.02.1/package/perl-data-uuid/perl-data-uuid.mk similarity index 100% rename from buildroot-2021.05/package/perl-data-uuid/perl-data-uuid.mk rename to buildroot-2022.02.1/package/perl-data-uuid/perl-data-uuid.mk diff --git a/buildroot-2021.05/package/perl-date-manip/Config.in b/buildroot-2022.02.1/package/perl-date-manip/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-date-manip/Config.in rename to buildroot-2022.02.1/package/perl-date-manip/Config.in diff --git a/buildroot-2022.02.1/package/perl-date-manip/perl-date-manip.hash b/buildroot-2022.02.1/package/perl-date-manip/perl-date-manip.hash new file mode 100644 index 00000000..dc267f52 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-date-manip/perl-date-manip.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 77123a4cc874f72d7188f859626bdd84 Date-Manip-6.86.tar.gz +sha256 b5203782d03c79aa5822cf33d1828aaa3b4db93a275d4a428c89f56f4713361f Date-Manip-6.86.tar.gz + +# computed by scancpan +sha256 8ba2a138654f8b59b7e1e3ad0d4c81918b9148ff95078b172ccbb45fa241431d LICENSE diff --git a/buildroot-2022.02.1/package/perl-date-manip/perl-date-manip.mk b/buildroot-2022.02.1/package/perl-date-manip/perl-date-manip.mk new file mode 100644 index 00000000..35bce456 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-date-manip/perl-date-manip.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-date-manip +# +################################################################################ + +PERL_DATE_MANIP_VERSION = 6.86 +PERL_DATE_MANIP_SOURCE = Date-Manip-$(PERL_DATE_MANIP_VERSION).tar.gz +PERL_DATE_MANIP_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SB/SBECK +PERL_DATE_MANIP_LICENSE = Artistic or GPL-1.0+ +PERL_DATE_MANIP_LICENSE_FILES = LICENSE +PERL_DATE_MANIP_DISTNAME = Date-Manip + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-datetime-tiny/Config.in b/buildroot-2022.02.1/package/perl-datetime-tiny/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-datetime-tiny/Config.in rename to buildroot-2022.02.1/package/perl-datetime-tiny/Config.in diff --git a/buildroot-2021.05/package/perl-datetime-tiny/perl-datetime-tiny.hash b/buildroot-2022.02.1/package/perl-datetime-tiny/perl-datetime-tiny.hash similarity index 100% rename from buildroot-2021.05/package/perl-datetime-tiny/perl-datetime-tiny.hash rename to buildroot-2022.02.1/package/perl-datetime-tiny/perl-datetime-tiny.hash diff --git a/buildroot-2021.05/package/perl-datetime-tiny/perl-datetime-tiny.mk b/buildroot-2022.02.1/package/perl-datetime-tiny/perl-datetime-tiny.mk similarity index 100% rename from buildroot-2021.05/package/perl-datetime-tiny/perl-datetime-tiny.mk rename to buildroot-2022.02.1/package/perl-datetime-tiny/perl-datetime-tiny.mk diff --git a/buildroot-2021.05/package/perl-dbd-mysql/Config.in b/buildroot-2022.02.1/package/perl-dbd-mysql/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-dbd-mysql/Config.in rename to buildroot-2022.02.1/package/perl-dbd-mysql/Config.in diff --git a/buildroot-2021.05/package/perl-dbd-mysql/perl-dbd-mysql.hash b/buildroot-2022.02.1/package/perl-dbd-mysql/perl-dbd-mysql.hash similarity index 100% rename from buildroot-2021.05/package/perl-dbd-mysql/perl-dbd-mysql.hash rename to buildroot-2022.02.1/package/perl-dbd-mysql/perl-dbd-mysql.hash diff --git a/buildroot-2021.05/package/perl-dbd-mysql/perl-dbd-mysql.mk b/buildroot-2022.02.1/package/perl-dbd-mysql/perl-dbd-mysql.mk similarity index 100% rename from buildroot-2021.05/package/perl-dbd-mysql/perl-dbd-mysql.mk rename to buildroot-2022.02.1/package/perl-dbd-mysql/perl-dbd-mysql.mk diff --git a/buildroot-2021.05/package/perl-dbi/Config.in b/buildroot-2022.02.1/package/perl-dbi/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-dbi/Config.in rename to buildroot-2022.02.1/package/perl-dbi/Config.in diff --git a/buildroot-2021.05/package/perl-dbi/perl-dbi.hash b/buildroot-2022.02.1/package/perl-dbi/perl-dbi.hash similarity index 100% rename from buildroot-2021.05/package/perl-dbi/perl-dbi.hash rename to buildroot-2022.02.1/package/perl-dbi/perl-dbi.hash diff --git a/buildroot-2021.05/package/perl-dbi/perl-dbi.mk b/buildroot-2022.02.1/package/perl-dbi/perl-dbi.mk similarity index 100% rename from buildroot-2021.05/package/perl-dbi/perl-dbi.mk rename to buildroot-2022.02.1/package/perl-dbi/perl-dbi.mk diff --git a/buildroot-2021.05/package/perl-devel-cycle/Config.in b/buildroot-2022.02.1/package/perl-devel-cycle/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-devel-cycle/Config.in rename to buildroot-2022.02.1/package/perl-devel-cycle/Config.in diff --git a/buildroot-2021.05/package/perl-devel-cycle/perl-devel-cycle.hash b/buildroot-2022.02.1/package/perl-devel-cycle/perl-devel-cycle.hash similarity index 100% rename from buildroot-2021.05/package/perl-devel-cycle/perl-devel-cycle.hash rename to buildroot-2022.02.1/package/perl-devel-cycle/perl-devel-cycle.hash diff --git a/buildroot-2021.05/package/perl-devel-cycle/perl-devel-cycle.mk b/buildroot-2022.02.1/package/perl-devel-cycle/perl-devel-cycle.mk similarity index 100% rename from buildroot-2021.05/package/perl-devel-cycle/perl-devel-cycle.mk rename to buildroot-2022.02.1/package/perl-devel-cycle/perl-devel-cycle.mk diff --git a/buildroot-2021.05/package/perl-devel-globaldestruction/Config.in b/buildroot-2022.02.1/package/perl-devel-globaldestruction/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-devel-globaldestruction/Config.in rename to buildroot-2022.02.1/package/perl-devel-globaldestruction/Config.in diff --git a/buildroot-2021.05/package/perl-devel-globaldestruction/perl-devel-globaldestruction.hash b/buildroot-2022.02.1/package/perl-devel-globaldestruction/perl-devel-globaldestruction.hash similarity index 100% rename from buildroot-2021.05/package/perl-devel-globaldestruction/perl-devel-globaldestruction.hash rename to buildroot-2022.02.1/package/perl-devel-globaldestruction/perl-devel-globaldestruction.hash diff --git a/buildroot-2021.05/package/perl-devel-globaldestruction/perl-devel-globaldestruction.mk b/buildroot-2022.02.1/package/perl-devel-globaldestruction/perl-devel-globaldestruction.mk similarity index 100% rename from buildroot-2021.05/package/perl-devel-globaldestruction/perl-devel-globaldestruction.mk rename to buildroot-2022.02.1/package/perl-devel-globaldestruction/perl-devel-globaldestruction.mk diff --git a/buildroot-2021.05/package/perl-devel-size/Config.in b/buildroot-2022.02.1/package/perl-devel-size/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-devel-size/Config.in rename to buildroot-2022.02.1/package/perl-devel-size/Config.in diff --git a/buildroot-2021.05/package/perl-devel-size/perl-devel-size.hash b/buildroot-2022.02.1/package/perl-devel-size/perl-devel-size.hash similarity index 100% rename from buildroot-2021.05/package/perl-devel-size/perl-devel-size.hash rename to buildroot-2022.02.1/package/perl-devel-size/perl-devel-size.hash diff --git a/buildroot-2021.05/package/perl-devel-size/perl-devel-size.mk b/buildroot-2022.02.1/package/perl-devel-size/perl-devel-size.mk similarity index 100% rename from buildroot-2021.05/package/perl-devel-size/perl-devel-size.mk rename to buildroot-2022.02.1/package/perl-devel-size/perl-devel-size.mk diff --git a/buildroot-2021.05/package/perl-devel-stacktrace-ashtml/Config.in b/buildroot-2022.02.1/package/perl-devel-stacktrace-ashtml/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-devel-stacktrace-ashtml/Config.in rename to buildroot-2022.02.1/package/perl-devel-stacktrace-ashtml/Config.in diff --git a/buildroot-2021.05/package/perl-devel-stacktrace-ashtml/perl-devel-stacktrace-ashtml.hash b/buildroot-2022.02.1/package/perl-devel-stacktrace-ashtml/perl-devel-stacktrace-ashtml.hash similarity index 100% rename from buildroot-2021.05/package/perl-devel-stacktrace-ashtml/perl-devel-stacktrace-ashtml.hash rename to buildroot-2022.02.1/package/perl-devel-stacktrace-ashtml/perl-devel-stacktrace-ashtml.hash diff --git a/buildroot-2021.05/package/perl-devel-stacktrace-ashtml/perl-devel-stacktrace-ashtml.mk b/buildroot-2022.02.1/package/perl-devel-stacktrace-ashtml/perl-devel-stacktrace-ashtml.mk similarity index 100% rename from buildroot-2021.05/package/perl-devel-stacktrace-ashtml/perl-devel-stacktrace-ashtml.mk rename to buildroot-2022.02.1/package/perl-devel-stacktrace-ashtml/perl-devel-stacktrace-ashtml.mk diff --git a/buildroot-2021.05/package/perl-devel-stacktrace/Config.in b/buildroot-2022.02.1/package/perl-devel-stacktrace/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-devel-stacktrace/Config.in rename to buildroot-2022.02.1/package/perl-devel-stacktrace/Config.in diff --git a/buildroot-2021.05/package/perl-devel-stacktrace/perl-devel-stacktrace.hash b/buildroot-2022.02.1/package/perl-devel-stacktrace/perl-devel-stacktrace.hash similarity index 100% rename from buildroot-2021.05/package/perl-devel-stacktrace/perl-devel-stacktrace.hash rename to buildroot-2022.02.1/package/perl-devel-stacktrace/perl-devel-stacktrace.hash diff --git a/buildroot-2021.05/package/perl-devel-stacktrace/perl-devel-stacktrace.mk b/buildroot-2022.02.1/package/perl-devel-stacktrace/perl-devel-stacktrace.mk similarity index 100% rename from buildroot-2021.05/package/perl-devel-stacktrace/perl-devel-stacktrace.mk rename to buildroot-2022.02.1/package/perl-devel-stacktrace/perl-devel-stacktrace.mk diff --git a/buildroot-2021.05/package/perl-device-serialport/Config.in b/buildroot-2022.02.1/package/perl-device-serialport/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-device-serialport/Config.in rename to buildroot-2022.02.1/package/perl-device-serialport/Config.in diff --git a/buildroot-2021.05/package/perl-device-serialport/perl-device-serialport.hash b/buildroot-2022.02.1/package/perl-device-serialport/perl-device-serialport.hash similarity index 100% rename from buildroot-2021.05/package/perl-device-serialport/perl-device-serialport.hash rename to buildroot-2022.02.1/package/perl-device-serialport/perl-device-serialport.hash diff --git a/buildroot-2021.05/package/perl-device-serialport/perl-device-serialport.mk b/buildroot-2022.02.1/package/perl-device-serialport/perl-device-serialport.mk similarity index 100% rename from buildroot-2021.05/package/perl-device-serialport/perl-device-serialport.mk rename to buildroot-2022.02.1/package/perl-device-serialport/perl-device-serialport.mk diff --git a/buildroot-2021.05/package/perl-digest-hmac/Config.in b/buildroot-2022.02.1/package/perl-digest-hmac/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-digest-hmac/Config.in rename to buildroot-2022.02.1/package/perl-digest-hmac/Config.in diff --git a/buildroot-2021.05/package/perl-digest-hmac/perl-digest-hmac.hash b/buildroot-2022.02.1/package/perl-digest-hmac/perl-digest-hmac.hash similarity index 100% rename from buildroot-2021.05/package/perl-digest-hmac/perl-digest-hmac.hash rename to buildroot-2022.02.1/package/perl-digest-hmac/perl-digest-hmac.hash diff --git a/buildroot-2021.05/package/perl-digest-hmac/perl-digest-hmac.mk b/buildroot-2022.02.1/package/perl-digest-hmac/perl-digest-hmac.mk similarity index 100% rename from buildroot-2021.05/package/perl-digest-hmac/perl-digest-hmac.mk rename to buildroot-2022.02.1/package/perl-digest-hmac/perl-digest-hmac.mk diff --git a/buildroot-2021.05/package/perl-digest-sha1/Config.in b/buildroot-2022.02.1/package/perl-digest-sha1/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-digest-sha1/Config.in rename to buildroot-2022.02.1/package/perl-digest-sha1/Config.in diff --git a/buildroot-2021.05/package/perl-digest-sha1/perl-digest-sha1.hash b/buildroot-2022.02.1/package/perl-digest-sha1/perl-digest-sha1.hash similarity index 100% rename from buildroot-2021.05/package/perl-digest-sha1/perl-digest-sha1.hash rename to buildroot-2022.02.1/package/perl-digest-sha1/perl-digest-sha1.hash diff --git a/buildroot-2021.05/package/perl-digest-sha1/perl-digest-sha1.mk b/buildroot-2022.02.1/package/perl-digest-sha1/perl-digest-sha1.mk similarity index 100% rename from buildroot-2021.05/package/perl-digest-sha1/perl-digest-sha1.mk rename to buildroot-2022.02.1/package/perl-digest-sha1/perl-digest-sha1.mk diff --git a/buildroot-2021.05/package/perl-dist-checkconflicts/Config.in b/buildroot-2022.02.1/package/perl-dist-checkconflicts/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-dist-checkconflicts/Config.in rename to buildroot-2022.02.1/package/perl-dist-checkconflicts/Config.in diff --git a/buildroot-2021.05/package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash b/buildroot-2022.02.1/package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash similarity index 100% rename from buildroot-2021.05/package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash rename to buildroot-2022.02.1/package/perl-dist-checkconflicts/perl-dist-checkconflicts.hash diff --git a/buildroot-2021.05/package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk b/buildroot-2022.02.1/package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk similarity index 100% rename from buildroot-2021.05/package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk rename to buildroot-2022.02.1/package/perl-dist-checkconflicts/perl-dist-checkconflicts.mk diff --git a/buildroot-2021.05/package/perl-encode-detect/Config.in b/buildroot-2022.02.1/package/perl-encode-detect/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-encode-detect/Config.in rename to buildroot-2022.02.1/package/perl-encode-detect/Config.in diff --git a/buildroot-2021.05/package/perl-encode-detect/perl-encode-detect.hash b/buildroot-2022.02.1/package/perl-encode-detect/perl-encode-detect.hash similarity index 100% rename from buildroot-2021.05/package/perl-encode-detect/perl-encode-detect.hash rename to buildroot-2022.02.1/package/perl-encode-detect/perl-encode-detect.hash diff --git a/buildroot-2021.05/package/perl-encode-detect/perl-encode-detect.mk b/buildroot-2022.02.1/package/perl-encode-detect/perl-encode-detect.mk similarity index 100% rename from buildroot-2021.05/package/perl-encode-detect/perl-encode-detect.mk rename to buildroot-2022.02.1/package/perl-encode-detect/perl-encode-detect.mk diff --git a/buildroot-2021.05/package/perl-encode-locale/Config.in b/buildroot-2022.02.1/package/perl-encode-locale/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-encode-locale/Config.in rename to buildroot-2022.02.1/package/perl-encode-locale/Config.in diff --git a/buildroot-2021.05/package/perl-encode-locale/perl-encode-locale.hash b/buildroot-2022.02.1/package/perl-encode-locale/perl-encode-locale.hash similarity index 100% rename from buildroot-2021.05/package/perl-encode-locale/perl-encode-locale.hash rename to buildroot-2022.02.1/package/perl-encode-locale/perl-encode-locale.hash diff --git a/buildroot-2021.05/package/perl-encode-locale/perl-encode-locale.mk b/buildroot-2022.02.1/package/perl-encode-locale/perl-encode-locale.mk similarity index 100% rename from buildroot-2021.05/package/perl-encode-locale/perl-encode-locale.mk rename to buildroot-2022.02.1/package/perl-encode-locale/perl-encode-locale.mk diff --git a/buildroot-2021.05/package/perl-exporter-tiny/Config.in b/buildroot-2022.02.1/package/perl-exporter-tiny/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-exporter-tiny/Config.in rename to buildroot-2022.02.1/package/perl-exporter-tiny/Config.in diff --git a/buildroot-2021.05/package/perl-exporter-tiny/perl-exporter-tiny.hash b/buildroot-2022.02.1/package/perl-exporter-tiny/perl-exporter-tiny.hash similarity index 100% rename from buildroot-2021.05/package/perl-exporter-tiny/perl-exporter-tiny.hash rename to buildroot-2022.02.1/package/perl-exporter-tiny/perl-exporter-tiny.hash diff --git a/buildroot-2021.05/package/perl-exporter-tiny/perl-exporter-tiny.mk b/buildroot-2022.02.1/package/perl-exporter-tiny/perl-exporter-tiny.mk similarity index 100% rename from buildroot-2021.05/package/perl-exporter-tiny/perl-exporter-tiny.mk rename to buildroot-2022.02.1/package/perl-exporter-tiny/perl-exporter-tiny.mk diff --git a/buildroot-2021.05/package/perl-extutils-config/perl-extutils-config.hash b/buildroot-2022.02.1/package/perl-extutils-config/perl-extutils-config.hash similarity index 100% rename from buildroot-2021.05/package/perl-extutils-config/perl-extutils-config.hash rename to buildroot-2022.02.1/package/perl-extutils-config/perl-extutils-config.hash diff --git a/buildroot-2021.05/package/perl-extutils-config/perl-extutils-config.mk b/buildroot-2022.02.1/package/perl-extutils-config/perl-extutils-config.mk similarity index 100% rename from buildroot-2021.05/package/perl-extutils-config/perl-extutils-config.mk rename to buildroot-2022.02.1/package/perl-extutils-config/perl-extutils-config.mk diff --git a/buildroot-2021.05/package/perl-extutils-helpers/perl-extutils-helpers.hash b/buildroot-2022.02.1/package/perl-extutils-helpers/perl-extutils-helpers.hash similarity index 100% rename from buildroot-2021.05/package/perl-extutils-helpers/perl-extutils-helpers.hash rename to buildroot-2022.02.1/package/perl-extutils-helpers/perl-extutils-helpers.hash diff --git a/buildroot-2021.05/package/perl-extutils-helpers/perl-extutils-helpers.mk b/buildroot-2022.02.1/package/perl-extutils-helpers/perl-extutils-helpers.mk similarity index 100% rename from buildroot-2021.05/package/perl-extutils-helpers/perl-extutils-helpers.mk rename to buildroot-2022.02.1/package/perl-extutils-helpers/perl-extutils-helpers.mk diff --git a/buildroot-2021.05/package/perl-extutils-installpaths/perl-extutils-installpaths.hash b/buildroot-2022.02.1/package/perl-extutils-installpaths/perl-extutils-installpaths.hash similarity index 100% rename from buildroot-2021.05/package/perl-extutils-installpaths/perl-extutils-installpaths.hash rename to buildroot-2022.02.1/package/perl-extutils-installpaths/perl-extutils-installpaths.hash diff --git a/buildroot-2021.05/package/perl-extutils-installpaths/perl-extutils-installpaths.mk b/buildroot-2022.02.1/package/perl-extutils-installpaths/perl-extutils-installpaths.mk similarity index 100% rename from buildroot-2021.05/package/perl-extutils-installpaths/perl-extutils-installpaths.mk rename to buildroot-2022.02.1/package/perl-extutils-installpaths/perl-extutils-installpaths.mk diff --git a/buildroot-2021.05/package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.hash b/buildroot-2022.02.1/package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.hash similarity index 100% rename from buildroot-2021.05/package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.hash rename to buildroot-2022.02.1/package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.hash diff --git a/buildroot-2021.05/package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.mk b/buildroot-2022.02.1/package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.mk similarity index 100% rename from buildroot-2021.05/package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.mk rename to buildroot-2022.02.1/package/perl-extutils-pkgconfig/perl-extutils-pkgconfig.mk diff --git a/buildroot-2021.05/package/perl-file-listing/Config.in b/buildroot-2022.02.1/package/perl-file-listing/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-file-listing/Config.in rename to buildroot-2022.02.1/package/perl-file-listing/Config.in diff --git a/buildroot-2021.05/package/perl-file-listing/perl-file-listing.hash b/buildroot-2022.02.1/package/perl-file-listing/perl-file-listing.hash similarity index 100% rename from buildroot-2021.05/package/perl-file-listing/perl-file-listing.hash rename to buildroot-2022.02.1/package/perl-file-listing/perl-file-listing.hash diff --git a/buildroot-2021.05/package/perl-file-listing/perl-file-listing.mk b/buildroot-2022.02.1/package/perl-file-listing/perl-file-listing.mk similarity index 100% rename from buildroot-2021.05/package/perl-file-listing/perl-file-listing.mk rename to buildroot-2022.02.1/package/perl-file-listing/perl-file-listing.mk diff --git a/buildroot-2021.05/package/perl-file-sharedir-install/perl-file-sharedir-install.hash b/buildroot-2022.02.1/package/perl-file-sharedir-install/perl-file-sharedir-install.hash similarity index 100% rename from buildroot-2021.05/package/perl-file-sharedir-install/perl-file-sharedir-install.hash rename to buildroot-2022.02.1/package/perl-file-sharedir-install/perl-file-sharedir-install.hash diff --git a/buildroot-2021.05/package/perl-file-sharedir-install/perl-file-sharedir-install.mk b/buildroot-2022.02.1/package/perl-file-sharedir-install/perl-file-sharedir-install.mk similarity index 100% rename from buildroot-2021.05/package/perl-file-sharedir-install/perl-file-sharedir-install.mk rename to buildroot-2022.02.1/package/perl-file-sharedir-install/perl-file-sharedir-install.mk diff --git a/buildroot-2021.05/package/perl-file-sharedir/Config.in b/buildroot-2022.02.1/package/perl-file-sharedir/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-file-sharedir/Config.in rename to buildroot-2022.02.1/package/perl-file-sharedir/Config.in diff --git a/buildroot-2021.05/package/perl-file-sharedir/perl-file-sharedir.hash b/buildroot-2022.02.1/package/perl-file-sharedir/perl-file-sharedir.hash similarity index 100% rename from buildroot-2021.05/package/perl-file-sharedir/perl-file-sharedir.hash rename to buildroot-2022.02.1/package/perl-file-sharedir/perl-file-sharedir.hash diff --git a/buildroot-2021.05/package/perl-file-sharedir/perl-file-sharedir.mk b/buildroot-2022.02.1/package/perl-file-sharedir/perl-file-sharedir.mk similarity index 100% rename from buildroot-2021.05/package/perl-file-sharedir/perl-file-sharedir.mk rename to buildroot-2022.02.1/package/perl-file-sharedir/perl-file-sharedir.mk diff --git a/buildroot-2021.05/package/perl-file-slurp/Config.in b/buildroot-2022.02.1/package/perl-file-slurp/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-file-slurp/Config.in rename to buildroot-2022.02.1/package/perl-file-slurp/Config.in diff --git a/buildroot-2021.05/package/perl-file-slurp/perl-file-slurp.hash b/buildroot-2022.02.1/package/perl-file-slurp/perl-file-slurp.hash similarity index 100% rename from buildroot-2021.05/package/perl-file-slurp/perl-file-slurp.hash rename to buildroot-2022.02.1/package/perl-file-slurp/perl-file-slurp.hash diff --git a/buildroot-2021.05/package/perl-file-slurp/perl-file-slurp.mk b/buildroot-2022.02.1/package/perl-file-slurp/perl-file-slurp.mk similarity index 100% rename from buildroot-2021.05/package/perl-file-slurp/perl-file-slurp.mk rename to buildroot-2022.02.1/package/perl-file-slurp/perl-file-slurp.mk diff --git a/buildroot-2021.05/package/perl-file-util/Config.in b/buildroot-2022.02.1/package/perl-file-util/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-file-util/Config.in rename to buildroot-2022.02.1/package/perl-file-util/Config.in diff --git a/buildroot-2021.05/package/perl-file-util/perl-file-util.hash b/buildroot-2022.02.1/package/perl-file-util/perl-file-util.hash similarity index 100% rename from buildroot-2021.05/package/perl-file-util/perl-file-util.hash rename to buildroot-2022.02.1/package/perl-file-util/perl-file-util.hash diff --git a/buildroot-2021.05/package/perl-file-util/perl-file-util.mk b/buildroot-2022.02.1/package/perl-file-util/perl-file-util.mk similarity index 100% rename from buildroot-2021.05/package/perl-file-util/perl-file-util.mk rename to buildroot-2022.02.1/package/perl-file-util/perl-file-util.mk diff --git a/buildroot-2021.05/package/perl-filesys-notify-simple/Config.in b/buildroot-2022.02.1/package/perl-filesys-notify-simple/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-filesys-notify-simple/Config.in rename to buildroot-2022.02.1/package/perl-filesys-notify-simple/Config.in diff --git a/buildroot-2021.05/package/perl-filesys-notify-simple/perl-filesys-notify-simple.hash b/buildroot-2022.02.1/package/perl-filesys-notify-simple/perl-filesys-notify-simple.hash similarity index 100% rename from buildroot-2021.05/package/perl-filesys-notify-simple/perl-filesys-notify-simple.hash rename to buildroot-2022.02.1/package/perl-filesys-notify-simple/perl-filesys-notify-simple.hash diff --git a/buildroot-2021.05/package/perl-filesys-notify-simple/perl-filesys-notify-simple.mk b/buildroot-2022.02.1/package/perl-filesys-notify-simple/perl-filesys-notify-simple.mk similarity index 100% rename from buildroot-2021.05/package/perl-filesys-notify-simple/perl-filesys-notify-simple.mk rename to buildroot-2022.02.1/package/perl-filesys-notify-simple/perl-filesys-notify-simple.mk diff --git a/buildroot-2021.05/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch b/buildroot-2022.02.1/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch similarity index 100% rename from buildroot-2021.05/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch rename to buildroot-2022.02.1/package/perl-gd/0001-Makefile.PL-fix-cross-compilation-with-gdlib.pc.patch diff --git a/buildroot-2021.05/package/perl-gd/Config.in b/buildroot-2022.02.1/package/perl-gd/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-gd/Config.in rename to buildroot-2022.02.1/package/perl-gd/Config.in diff --git a/buildroot-2021.05/package/perl-gd/perl-gd.hash b/buildroot-2022.02.1/package/perl-gd/perl-gd.hash similarity index 100% rename from buildroot-2021.05/package/perl-gd/perl-gd.hash rename to buildroot-2022.02.1/package/perl-gd/perl-gd.hash diff --git a/buildroot-2021.05/package/perl-gd/perl-gd.mk b/buildroot-2022.02.1/package/perl-gd/perl-gd.mk similarity index 100% rename from buildroot-2021.05/package/perl-gd/perl-gd.mk rename to buildroot-2022.02.1/package/perl-gd/perl-gd.mk diff --git a/buildroot-2021.05/package/perl-gdgraph/Config.in b/buildroot-2022.02.1/package/perl-gdgraph/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-gdgraph/Config.in rename to buildroot-2022.02.1/package/perl-gdgraph/Config.in diff --git a/buildroot-2021.05/package/perl-gdgraph/perl-gdgraph.hash b/buildroot-2022.02.1/package/perl-gdgraph/perl-gdgraph.hash similarity index 100% rename from buildroot-2021.05/package/perl-gdgraph/perl-gdgraph.hash rename to buildroot-2022.02.1/package/perl-gdgraph/perl-gdgraph.hash diff --git a/buildroot-2021.05/package/perl-gdgraph/perl-gdgraph.mk b/buildroot-2022.02.1/package/perl-gdgraph/perl-gdgraph.mk similarity index 100% rename from buildroot-2021.05/package/perl-gdgraph/perl-gdgraph.mk rename to buildroot-2022.02.1/package/perl-gdgraph/perl-gdgraph.mk diff --git a/buildroot-2021.05/package/perl-gdtextutil/Config.in b/buildroot-2022.02.1/package/perl-gdtextutil/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-gdtextutil/Config.in rename to buildroot-2022.02.1/package/perl-gdtextutil/Config.in diff --git a/buildroot-2021.05/package/perl-gdtextutil/perl-gdtextutil.hash b/buildroot-2022.02.1/package/perl-gdtextutil/perl-gdtextutil.hash similarity index 100% rename from buildroot-2021.05/package/perl-gdtextutil/perl-gdtextutil.hash rename to buildroot-2022.02.1/package/perl-gdtextutil/perl-gdtextutil.hash diff --git a/buildroot-2021.05/package/perl-gdtextutil/perl-gdtextutil.mk b/buildroot-2022.02.1/package/perl-gdtextutil/perl-gdtextutil.mk similarity index 100% rename from buildroot-2021.05/package/perl-gdtextutil/perl-gdtextutil.mk rename to buildroot-2022.02.1/package/perl-gdtextutil/perl-gdtextutil.mk diff --git a/buildroot-2021.05/package/perl-hash-multivalue/Config.in b/buildroot-2022.02.1/package/perl-hash-multivalue/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-hash-multivalue/Config.in rename to buildroot-2022.02.1/package/perl-hash-multivalue/Config.in diff --git a/buildroot-2021.05/package/perl-hash-multivalue/perl-hash-multivalue.hash b/buildroot-2022.02.1/package/perl-hash-multivalue/perl-hash-multivalue.hash similarity index 100% rename from buildroot-2021.05/package/perl-hash-multivalue/perl-hash-multivalue.hash rename to buildroot-2022.02.1/package/perl-hash-multivalue/perl-hash-multivalue.hash diff --git a/buildroot-2021.05/package/perl-hash-multivalue/perl-hash-multivalue.mk b/buildroot-2022.02.1/package/perl-hash-multivalue/perl-hash-multivalue.mk similarity index 100% rename from buildroot-2021.05/package/perl-hash-multivalue/perl-hash-multivalue.mk rename to buildroot-2022.02.1/package/perl-hash-multivalue/perl-hash-multivalue.mk diff --git a/buildroot-2021.05/package/perl-html-parser/Config.in b/buildroot-2022.02.1/package/perl-html-parser/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-html-parser/Config.in rename to buildroot-2022.02.1/package/perl-html-parser/Config.in diff --git a/buildroot-2021.05/package/perl-html-parser/perl-html-parser.hash b/buildroot-2022.02.1/package/perl-html-parser/perl-html-parser.hash similarity index 100% rename from buildroot-2021.05/package/perl-html-parser/perl-html-parser.hash rename to buildroot-2022.02.1/package/perl-html-parser/perl-html-parser.hash diff --git a/buildroot-2021.05/package/perl-html-parser/perl-html-parser.mk b/buildroot-2022.02.1/package/perl-html-parser/perl-html-parser.mk similarity index 100% rename from buildroot-2021.05/package/perl-html-parser/perl-html-parser.mk rename to buildroot-2022.02.1/package/perl-html-parser/perl-html-parser.mk diff --git a/buildroot-2021.05/package/perl-html-tagset/Config.in b/buildroot-2022.02.1/package/perl-html-tagset/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-html-tagset/Config.in rename to buildroot-2022.02.1/package/perl-html-tagset/Config.in diff --git a/buildroot-2021.05/package/perl-html-tagset/perl-html-tagset.hash b/buildroot-2022.02.1/package/perl-html-tagset/perl-html-tagset.hash similarity index 100% rename from buildroot-2021.05/package/perl-html-tagset/perl-html-tagset.hash rename to buildroot-2022.02.1/package/perl-html-tagset/perl-html-tagset.hash diff --git a/buildroot-2021.05/package/perl-html-tagset/perl-html-tagset.mk b/buildroot-2022.02.1/package/perl-html-tagset/perl-html-tagset.mk similarity index 100% rename from buildroot-2021.05/package/perl-html-tagset/perl-html-tagset.mk rename to buildroot-2022.02.1/package/perl-html-tagset/perl-html-tagset.mk diff --git a/buildroot-2021.05/package/perl-http-cookies/Config.in b/buildroot-2022.02.1/package/perl-http-cookies/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-http-cookies/Config.in rename to buildroot-2022.02.1/package/perl-http-cookies/Config.in diff --git a/buildroot-2021.05/package/perl-http-cookies/perl-http-cookies.hash b/buildroot-2022.02.1/package/perl-http-cookies/perl-http-cookies.hash similarity index 100% rename from buildroot-2021.05/package/perl-http-cookies/perl-http-cookies.hash rename to buildroot-2022.02.1/package/perl-http-cookies/perl-http-cookies.hash diff --git a/buildroot-2021.05/package/perl-http-cookies/perl-http-cookies.mk b/buildroot-2022.02.1/package/perl-http-cookies/perl-http-cookies.mk similarity index 100% rename from buildroot-2021.05/package/perl-http-cookies/perl-http-cookies.mk rename to buildroot-2022.02.1/package/perl-http-cookies/perl-http-cookies.mk diff --git a/buildroot-2021.05/package/perl-http-daemon/Config.in b/buildroot-2022.02.1/package/perl-http-daemon/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-http-daemon/Config.in rename to buildroot-2022.02.1/package/perl-http-daemon/Config.in diff --git a/buildroot-2021.05/package/perl-http-daemon/perl-http-daemon.hash b/buildroot-2022.02.1/package/perl-http-daemon/perl-http-daemon.hash similarity index 100% rename from buildroot-2021.05/package/perl-http-daemon/perl-http-daemon.hash rename to buildroot-2022.02.1/package/perl-http-daemon/perl-http-daemon.hash diff --git a/buildroot-2021.05/package/perl-http-daemon/perl-http-daemon.mk b/buildroot-2022.02.1/package/perl-http-daemon/perl-http-daemon.mk similarity index 100% rename from buildroot-2021.05/package/perl-http-daemon/perl-http-daemon.mk rename to buildroot-2022.02.1/package/perl-http-daemon/perl-http-daemon.mk diff --git a/buildroot-2021.05/package/perl-http-date/Config.in b/buildroot-2022.02.1/package/perl-http-date/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-http-date/Config.in rename to buildroot-2022.02.1/package/perl-http-date/Config.in diff --git a/buildroot-2021.05/package/perl-http-date/perl-http-date.hash b/buildroot-2022.02.1/package/perl-http-date/perl-http-date.hash similarity index 100% rename from buildroot-2021.05/package/perl-http-date/perl-http-date.hash rename to buildroot-2022.02.1/package/perl-http-date/perl-http-date.hash diff --git a/buildroot-2021.05/package/perl-http-date/perl-http-date.mk b/buildroot-2022.02.1/package/perl-http-date/perl-http-date.mk similarity index 100% rename from buildroot-2021.05/package/perl-http-date/perl-http-date.mk rename to buildroot-2022.02.1/package/perl-http-date/perl-http-date.mk diff --git a/buildroot-2021.05/package/perl-http-entity-parser/Config.in b/buildroot-2022.02.1/package/perl-http-entity-parser/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-http-entity-parser/Config.in rename to buildroot-2022.02.1/package/perl-http-entity-parser/Config.in diff --git a/buildroot-2021.05/package/perl-http-entity-parser/perl-http-entity-parser.hash b/buildroot-2022.02.1/package/perl-http-entity-parser/perl-http-entity-parser.hash similarity index 100% rename from buildroot-2021.05/package/perl-http-entity-parser/perl-http-entity-parser.hash rename to buildroot-2022.02.1/package/perl-http-entity-parser/perl-http-entity-parser.hash diff --git a/buildroot-2021.05/package/perl-http-entity-parser/perl-http-entity-parser.mk b/buildroot-2022.02.1/package/perl-http-entity-parser/perl-http-entity-parser.mk similarity index 100% rename from buildroot-2021.05/package/perl-http-entity-parser/perl-http-entity-parser.mk rename to buildroot-2022.02.1/package/perl-http-entity-parser/perl-http-entity-parser.mk diff --git a/buildroot-2021.05/package/perl-http-headers-fast/Config.in b/buildroot-2022.02.1/package/perl-http-headers-fast/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-http-headers-fast/Config.in rename to buildroot-2022.02.1/package/perl-http-headers-fast/Config.in diff --git a/buildroot-2021.05/package/perl-http-headers-fast/perl-http-headers-fast.hash b/buildroot-2022.02.1/package/perl-http-headers-fast/perl-http-headers-fast.hash similarity index 100% rename from buildroot-2021.05/package/perl-http-headers-fast/perl-http-headers-fast.hash rename to buildroot-2022.02.1/package/perl-http-headers-fast/perl-http-headers-fast.hash diff --git a/buildroot-2021.05/package/perl-http-headers-fast/perl-http-headers-fast.mk b/buildroot-2022.02.1/package/perl-http-headers-fast/perl-http-headers-fast.mk similarity index 100% rename from buildroot-2021.05/package/perl-http-headers-fast/perl-http-headers-fast.mk rename to buildroot-2022.02.1/package/perl-http-headers-fast/perl-http-headers-fast.mk diff --git a/buildroot-2021.05/package/perl-http-message/Config.in b/buildroot-2022.02.1/package/perl-http-message/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-http-message/Config.in rename to buildroot-2022.02.1/package/perl-http-message/Config.in diff --git a/buildroot-2022.02.1/package/perl-http-message/perl-http-message.hash b/buildroot-2022.02.1/package/perl-http-message/perl-http-message.hash new file mode 100644 index 00000000..1a5d9ad0 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-http-message/perl-http-message.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 e847fb3e297e740080ab6fd1ac127f7f HTTP-Message-6.36.tar.gz +sha256 576a53b486af87db56261a36099776370c06f0087d179fc8c7bb803b48cddd76 HTTP-Message-6.36.tar.gz + +# computed by scancpan +sha256 f2f428b5f8a3bf4e6a71cd5ea92558a3d123d3d7c5075d34923e71e46dea94df LICENSE diff --git a/buildroot-2022.02.1/package/perl-http-message/perl-http-message.mk b/buildroot-2022.02.1/package/perl-http-message/perl-http-message.mk new file mode 100644 index 00000000..3b5d6e7b --- /dev/null +++ b/buildroot-2022.02.1/package/perl-http-message/perl-http-message.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-http-message +# +################################################################################ + +PERL_HTTP_MESSAGE_VERSION = 6.36 +PERL_HTTP_MESSAGE_SOURCE = HTTP-Message-$(PERL_HTTP_MESSAGE_VERSION).tar.gz +PERL_HTTP_MESSAGE_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS +PERL_HTTP_MESSAGE_LICENSE = Artistic or GPL-1.0+ +PERL_HTTP_MESSAGE_LICENSE_FILES = LICENSE +PERL_HTTP_MESSAGE_DISTNAME = HTTP-Message + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-http-multipartparser/Config.in b/buildroot-2022.02.1/package/perl-http-multipartparser/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-http-multipartparser/Config.in rename to buildroot-2022.02.1/package/perl-http-multipartparser/Config.in diff --git a/buildroot-2021.05/package/perl-http-multipartparser/perl-http-multipartparser.hash b/buildroot-2022.02.1/package/perl-http-multipartparser/perl-http-multipartparser.hash similarity index 100% rename from buildroot-2021.05/package/perl-http-multipartparser/perl-http-multipartparser.hash rename to buildroot-2022.02.1/package/perl-http-multipartparser/perl-http-multipartparser.hash diff --git a/buildroot-2021.05/package/perl-http-multipartparser/perl-http-multipartparser.mk b/buildroot-2022.02.1/package/perl-http-multipartparser/perl-http-multipartparser.mk similarity index 100% rename from buildroot-2021.05/package/perl-http-multipartparser/perl-http-multipartparser.mk rename to buildroot-2022.02.1/package/perl-http-multipartparser/perl-http-multipartparser.mk diff --git a/buildroot-2021.05/package/perl-http-negotiate/Config.in b/buildroot-2022.02.1/package/perl-http-negotiate/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-http-negotiate/Config.in rename to buildroot-2022.02.1/package/perl-http-negotiate/Config.in diff --git a/buildroot-2021.05/package/perl-http-negotiate/perl-http-negotiate.hash b/buildroot-2022.02.1/package/perl-http-negotiate/perl-http-negotiate.hash similarity index 100% rename from buildroot-2021.05/package/perl-http-negotiate/perl-http-negotiate.hash rename to buildroot-2022.02.1/package/perl-http-negotiate/perl-http-negotiate.hash diff --git a/buildroot-2021.05/package/perl-http-negotiate/perl-http-negotiate.mk b/buildroot-2022.02.1/package/perl-http-negotiate/perl-http-negotiate.mk similarity index 100% rename from buildroot-2021.05/package/perl-http-negotiate/perl-http-negotiate.mk rename to buildroot-2022.02.1/package/perl-http-negotiate/perl-http-negotiate.mk diff --git a/buildroot-2021.05/package/perl-i18n/Config.in b/buildroot-2022.02.1/package/perl-i18n/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-i18n/Config.in rename to buildroot-2022.02.1/package/perl-i18n/Config.in diff --git a/buildroot-2021.05/package/perl-i18n/perl-i18n.hash b/buildroot-2022.02.1/package/perl-i18n/perl-i18n.hash similarity index 100% rename from buildroot-2021.05/package/perl-i18n/perl-i18n.hash rename to buildroot-2022.02.1/package/perl-i18n/perl-i18n.hash diff --git a/buildroot-2021.05/package/perl-i18n/perl-i18n.mk b/buildroot-2022.02.1/package/perl-i18n/perl-i18n.mk similarity index 100% rename from buildroot-2021.05/package/perl-i18n/perl-i18n.mk rename to buildroot-2022.02.1/package/perl-i18n/perl-i18n.mk diff --git a/buildroot-2021.05/package/perl-io-html/Config.in b/buildroot-2022.02.1/package/perl-io-html/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-io-html/Config.in rename to buildroot-2022.02.1/package/perl-io-html/Config.in diff --git a/buildroot-2021.05/package/perl-io-html/perl-io-html.hash b/buildroot-2022.02.1/package/perl-io-html/perl-io-html.hash similarity index 100% rename from buildroot-2021.05/package/perl-io-html/perl-io-html.hash rename to buildroot-2022.02.1/package/perl-io-html/perl-io-html.hash diff --git a/buildroot-2021.05/package/perl-io-html/perl-io-html.mk b/buildroot-2022.02.1/package/perl-io-html/perl-io-html.mk similarity index 100% rename from buildroot-2021.05/package/perl-io-html/perl-io-html.mk rename to buildroot-2022.02.1/package/perl-io-html/perl-io-html.mk diff --git a/buildroot-2021.05/package/perl-io-interface/Config.in b/buildroot-2022.02.1/package/perl-io-interface/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-io-interface/Config.in rename to buildroot-2022.02.1/package/perl-io-interface/Config.in diff --git a/buildroot-2021.05/package/perl-io-interface/perl-io-interface.hash b/buildroot-2022.02.1/package/perl-io-interface/perl-io-interface.hash similarity index 100% rename from buildroot-2021.05/package/perl-io-interface/perl-io-interface.hash rename to buildroot-2022.02.1/package/perl-io-interface/perl-io-interface.hash diff --git a/buildroot-2021.05/package/perl-io-interface/perl-io-interface.mk b/buildroot-2022.02.1/package/perl-io-interface/perl-io-interface.mk similarity index 100% rename from buildroot-2021.05/package/perl-io-interface/perl-io-interface.mk rename to buildroot-2022.02.1/package/perl-io-interface/perl-io-interface.mk diff --git a/buildroot-2021.05/package/perl-io-socket-multicast/Config.in b/buildroot-2022.02.1/package/perl-io-socket-multicast/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-io-socket-multicast/Config.in rename to buildroot-2022.02.1/package/perl-io-socket-multicast/Config.in diff --git a/buildroot-2021.05/package/perl-io-socket-multicast/perl-io-socket-multicast.hash b/buildroot-2022.02.1/package/perl-io-socket-multicast/perl-io-socket-multicast.hash similarity index 100% rename from buildroot-2021.05/package/perl-io-socket-multicast/perl-io-socket-multicast.hash rename to buildroot-2022.02.1/package/perl-io-socket-multicast/perl-io-socket-multicast.hash diff --git a/buildroot-2021.05/package/perl-io-socket-multicast/perl-io-socket-multicast.mk b/buildroot-2022.02.1/package/perl-io-socket-multicast/perl-io-socket-multicast.mk similarity index 100% rename from buildroot-2021.05/package/perl-io-socket-multicast/perl-io-socket-multicast.mk rename to buildroot-2022.02.1/package/perl-io-socket-multicast/perl-io-socket-multicast.mk diff --git a/buildroot-2021.05/package/perl-io-socket-ssl/Config.in b/buildroot-2022.02.1/package/perl-io-socket-ssl/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-io-socket-ssl/Config.in rename to buildroot-2022.02.1/package/perl-io-socket-ssl/Config.in diff --git a/buildroot-2022.02.1/package/perl-io-socket-ssl/perl-io-socket-ssl.hash b/buildroot-2022.02.1/package/perl-io-socket-ssl/perl-io-socket-ssl.hash new file mode 100644 index 00000000..4a1d71e3 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-io-socket-ssl/perl-io-socket-ssl.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 53201b8e4dfaf25d4d661a54fdfda602 IO-Socket-SSL-2.074.tar.gz +sha256 36486b6be49da4d029819cf7069a7b41ed48af0c87e23be0f8e6aba23d08a832 IO-Socket-SSL-2.074.tar.gz + +# computed by scancpan +sha256 090aff5421fd55a9dceeaf6c612c36360402e8d29c1284aef88c87be565ce032 README diff --git a/buildroot-2022.02.1/package/perl-io-socket-ssl/perl-io-socket-ssl.mk b/buildroot-2022.02.1/package/perl-io-socket-ssl/perl-io-socket-ssl.mk new file mode 100644 index 00000000..1ab70509 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-io-socket-ssl/perl-io-socket-ssl.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-io-socket-ssl +# +################################################################################ + +PERL_IO_SOCKET_SSL_VERSION = 2.074 +PERL_IO_SOCKET_SSL_SOURCE = IO-Socket-SSL-$(PERL_IO_SOCKET_SSL_VERSION).tar.gz +PERL_IO_SOCKET_SSL_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SU/SULLR +PERL_IO_SOCKET_SSL_LICENSE = Artistic or GPL-1.0+ +PERL_IO_SOCKET_SSL_LICENSE_FILES = README +PERL_IO_SOCKET_SSL_DISTNAME = IO-Socket-SSL + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-json-maybexs/Config.in b/buildroot-2022.02.1/package/perl-json-maybexs/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-json-maybexs/Config.in rename to buildroot-2022.02.1/package/perl-json-maybexs/Config.in diff --git a/buildroot-2021.05/package/perl-json-maybexs/perl-json-maybexs.hash b/buildroot-2022.02.1/package/perl-json-maybexs/perl-json-maybexs.hash similarity index 100% rename from buildroot-2021.05/package/perl-json-maybexs/perl-json-maybexs.hash rename to buildroot-2022.02.1/package/perl-json-maybexs/perl-json-maybexs.hash diff --git a/buildroot-2021.05/package/perl-json-maybexs/perl-json-maybexs.mk b/buildroot-2022.02.1/package/perl-json-maybexs/perl-json-maybexs.mk similarity index 100% rename from buildroot-2021.05/package/perl-json-maybexs/perl-json-maybexs.mk rename to buildroot-2022.02.1/package/perl-json-maybexs/perl-json-maybexs.mk diff --git a/buildroot-2021.05/package/perl-json-tiny/Config.in b/buildroot-2022.02.1/package/perl-json-tiny/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-json-tiny/Config.in rename to buildroot-2022.02.1/package/perl-json-tiny/Config.in diff --git a/buildroot-2021.05/package/perl-json-tiny/perl-json-tiny.hash b/buildroot-2022.02.1/package/perl-json-tiny/perl-json-tiny.hash similarity index 100% rename from buildroot-2021.05/package/perl-json-tiny/perl-json-tiny.hash rename to buildroot-2022.02.1/package/perl-json-tiny/perl-json-tiny.hash diff --git a/buildroot-2021.05/package/perl-json-tiny/perl-json-tiny.mk b/buildroot-2022.02.1/package/perl-json-tiny/perl-json-tiny.mk similarity index 100% rename from buildroot-2021.05/package/perl-json-tiny/perl-json-tiny.mk rename to buildroot-2022.02.1/package/perl-json-tiny/perl-json-tiny.mk diff --git a/buildroot-2021.05/package/perl-libwww-perl/Config.in b/buildroot-2022.02.1/package/perl-libwww-perl/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-libwww-perl/Config.in rename to buildroot-2022.02.1/package/perl-libwww-perl/Config.in diff --git a/buildroot-2022.02.1/package/perl-libwww-perl/perl-libwww-perl.hash b/buildroot-2022.02.1/package/perl-libwww-perl/perl-libwww-perl.hash new file mode 100644 index 00000000..e3225805 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-libwww-perl/perl-libwww-perl.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 ce5180358d9279b2843a6518bf2de200 libwww-perl-6.60.tar.gz +sha256 cdd28b9237b9c6791725b9099695c7c3c720b33881606fd6cc7635a5495bb07c libwww-perl-6.60.tar.gz + +# computed by scancpan +sha256 311f168ba9a7819ffab4fea19858f9e880737baf6d112929d11530205035a4cc LICENSE diff --git a/buildroot-2022.02.1/package/perl-libwww-perl/perl-libwww-perl.mk b/buildroot-2022.02.1/package/perl-libwww-perl/perl-libwww-perl.mk new file mode 100644 index 00000000..aa15ebb5 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-libwww-perl/perl-libwww-perl.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-libwww-perl +# +################################################################################ + +PERL_LIBWWW_PERL_VERSION = 6.60 +PERL_LIBWWW_PERL_SOURCE = libwww-perl-$(PERL_LIBWWW_PERL_VERSION).tar.gz +PERL_LIBWWW_PERL_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS +PERL_LIBWWW_PERL_LICENSE = Artistic or GPL-1.0+ +PERL_LIBWWW_PERL_LICENSE_FILES = LICENSE +PERL_LIBWWW_PERL_DISTNAME = libwww-perl + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-locale-maketext-lexicon/Config.in b/buildroot-2022.02.1/package/perl-locale-maketext-lexicon/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-locale-maketext-lexicon/Config.in rename to buildroot-2022.02.1/package/perl-locale-maketext-lexicon/Config.in diff --git a/buildroot-2021.05/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash b/buildroot-2022.02.1/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash similarity index 100% rename from buildroot-2021.05/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash rename to buildroot-2022.02.1/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.hash diff --git a/buildroot-2021.05/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk b/buildroot-2022.02.1/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk similarity index 100% rename from buildroot-2021.05/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk rename to buildroot-2022.02.1/package/perl-locale-maketext-lexicon/perl-locale-maketext-lexicon.mk diff --git a/buildroot-2021.05/package/perl-lwp-mediatypes/Config.in b/buildroot-2022.02.1/package/perl-lwp-mediatypes/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-lwp-mediatypes/Config.in rename to buildroot-2022.02.1/package/perl-lwp-mediatypes/Config.in diff --git a/buildroot-2021.05/package/perl-lwp-mediatypes/perl-lwp-mediatypes.hash b/buildroot-2022.02.1/package/perl-lwp-mediatypes/perl-lwp-mediatypes.hash similarity index 100% rename from buildroot-2021.05/package/perl-lwp-mediatypes/perl-lwp-mediatypes.hash rename to buildroot-2022.02.1/package/perl-lwp-mediatypes/perl-lwp-mediatypes.hash diff --git a/buildroot-2021.05/package/perl-lwp-mediatypes/perl-lwp-mediatypes.mk b/buildroot-2022.02.1/package/perl-lwp-mediatypes/perl-lwp-mediatypes.mk similarity index 100% rename from buildroot-2021.05/package/perl-lwp-mediatypes/perl-lwp-mediatypes.mk rename to buildroot-2022.02.1/package/perl-lwp-mediatypes/perl-lwp-mediatypes.mk diff --git a/buildroot-2021.05/package/perl-lwp-protocol-https/Config.in b/buildroot-2022.02.1/package/perl-lwp-protocol-https/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-lwp-protocol-https/Config.in rename to buildroot-2022.02.1/package/perl-lwp-protocol-https/Config.in diff --git a/buildroot-2021.05/package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash b/buildroot-2022.02.1/package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash similarity index 100% rename from buildroot-2021.05/package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash rename to buildroot-2022.02.1/package/perl-lwp-protocol-https/perl-lwp-protocol-https.hash diff --git a/buildroot-2021.05/package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk b/buildroot-2022.02.1/package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk similarity index 100% rename from buildroot-2021.05/package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk rename to buildroot-2022.02.1/package/perl-lwp-protocol-https/perl-lwp-protocol-https.mk diff --git a/buildroot-2021.05/package/perl-mail-dkim/Config.in b/buildroot-2022.02.1/package/perl-mail-dkim/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mail-dkim/Config.in rename to buildroot-2022.02.1/package/perl-mail-dkim/Config.in diff --git a/buildroot-2021.05/package/perl-mail-dkim/perl-mail-dkim.hash b/buildroot-2022.02.1/package/perl-mail-dkim/perl-mail-dkim.hash similarity index 100% rename from buildroot-2021.05/package/perl-mail-dkim/perl-mail-dkim.hash rename to buildroot-2022.02.1/package/perl-mail-dkim/perl-mail-dkim.hash diff --git a/buildroot-2021.05/package/perl-mail-dkim/perl-mail-dkim.mk b/buildroot-2022.02.1/package/perl-mail-dkim/perl-mail-dkim.mk similarity index 100% rename from buildroot-2021.05/package/perl-mail-dkim/perl-mail-dkim.mk rename to buildroot-2022.02.1/package/perl-mail-dkim/perl-mail-dkim.mk diff --git a/buildroot-2021.05/package/perl-mailtools/Config.in b/buildroot-2022.02.1/package/perl-mailtools/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mailtools/Config.in rename to buildroot-2022.02.1/package/perl-mailtools/Config.in diff --git a/buildroot-2021.05/package/perl-mailtools/perl-mailtools.hash b/buildroot-2022.02.1/package/perl-mailtools/perl-mailtools.hash similarity index 100% rename from buildroot-2021.05/package/perl-mailtools/perl-mailtools.hash rename to buildroot-2022.02.1/package/perl-mailtools/perl-mailtools.hash diff --git a/buildroot-2021.05/package/perl-mailtools/perl-mailtools.mk b/buildroot-2022.02.1/package/perl-mailtools/perl-mailtools.mk similarity index 100% rename from buildroot-2021.05/package/perl-mailtools/perl-mailtools.mk rename to buildroot-2022.02.1/package/perl-mailtools/perl-mailtools.mk diff --git a/buildroot-2021.05/package/perl-math-int64/Config.in b/buildroot-2022.02.1/package/perl-math-int64/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-math-int64/Config.in rename to buildroot-2022.02.1/package/perl-math-int64/Config.in diff --git a/buildroot-2021.05/package/perl-math-int64/perl-math-int64.hash b/buildroot-2022.02.1/package/perl-math-int64/perl-math-int64.hash similarity index 100% rename from buildroot-2021.05/package/perl-math-int64/perl-math-int64.hash rename to buildroot-2022.02.1/package/perl-math-int64/perl-math-int64.hash diff --git a/buildroot-2021.05/package/perl-math-int64/perl-math-int64.mk b/buildroot-2022.02.1/package/perl-math-int64/perl-math-int64.mk similarity index 100% rename from buildroot-2021.05/package/perl-math-int64/perl-math-int64.mk rename to buildroot-2022.02.1/package/perl-math-int64/perl-math-int64.mk diff --git a/buildroot-2021.05/package/perl-math-prime-util/Config.in b/buildroot-2022.02.1/package/perl-math-prime-util/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-math-prime-util/Config.in rename to buildroot-2022.02.1/package/perl-math-prime-util/Config.in diff --git a/buildroot-2021.05/package/perl-math-prime-util/perl-math-prime-util.hash b/buildroot-2022.02.1/package/perl-math-prime-util/perl-math-prime-util.hash similarity index 100% rename from buildroot-2021.05/package/perl-math-prime-util/perl-math-prime-util.hash rename to buildroot-2022.02.1/package/perl-math-prime-util/perl-math-prime-util.hash diff --git a/buildroot-2021.05/package/perl-math-prime-util/perl-math-prime-util.mk b/buildroot-2022.02.1/package/perl-math-prime-util/perl-math-prime-util.mk similarity index 100% rename from buildroot-2021.05/package/perl-math-prime-util/perl-math-prime-util.mk rename to buildroot-2022.02.1/package/perl-math-prime-util/perl-math-prime-util.mk diff --git a/buildroot-2021.05/package/perl-mime-base64-urlsafe/Config.in b/buildroot-2022.02.1/package/perl-mime-base64-urlsafe/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mime-base64-urlsafe/Config.in rename to buildroot-2022.02.1/package/perl-mime-base64-urlsafe/Config.in diff --git a/buildroot-2021.05/package/perl-mime-base64-urlsafe/perl-mime-base64-urlsafe.hash b/buildroot-2022.02.1/package/perl-mime-base64-urlsafe/perl-mime-base64-urlsafe.hash similarity index 100% rename from buildroot-2021.05/package/perl-mime-base64-urlsafe/perl-mime-base64-urlsafe.hash rename to buildroot-2022.02.1/package/perl-mime-base64-urlsafe/perl-mime-base64-urlsafe.hash diff --git a/buildroot-2021.05/package/perl-mime-base64-urlsafe/perl-mime-base64-urlsafe.mk b/buildroot-2022.02.1/package/perl-mime-base64-urlsafe/perl-mime-base64-urlsafe.mk similarity index 100% rename from buildroot-2021.05/package/perl-mime-base64-urlsafe/perl-mime-base64-urlsafe.mk rename to buildroot-2022.02.1/package/perl-mime-base64-urlsafe/perl-mime-base64-urlsafe.mk diff --git a/buildroot-2021.05/package/perl-mime-tools/Config.in b/buildroot-2022.02.1/package/perl-mime-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mime-tools/Config.in rename to buildroot-2022.02.1/package/perl-mime-tools/Config.in diff --git a/buildroot-2021.05/package/perl-mime-tools/perl-mime-tools.hash b/buildroot-2022.02.1/package/perl-mime-tools/perl-mime-tools.hash similarity index 100% rename from buildroot-2021.05/package/perl-mime-tools/perl-mime-tools.hash rename to buildroot-2022.02.1/package/perl-mime-tools/perl-mime-tools.hash diff --git a/buildroot-2021.05/package/perl-mime-tools/perl-mime-tools.mk b/buildroot-2022.02.1/package/perl-mime-tools/perl-mime-tools.mk similarity index 100% rename from buildroot-2021.05/package/perl-mime-tools/perl-mime-tools.mk rename to buildroot-2022.02.1/package/perl-mime-tools/perl-mime-tools.mk diff --git a/buildroot-2021.05/package/perl-module-build-tiny/perl-module-build-tiny.hash b/buildroot-2022.02.1/package/perl-module-build-tiny/perl-module-build-tiny.hash similarity index 100% rename from buildroot-2021.05/package/perl-module-build-tiny/perl-module-build-tiny.hash rename to buildroot-2022.02.1/package/perl-module-build-tiny/perl-module-build-tiny.hash diff --git a/buildroot-2021.05/package/perl-module-build-tiny/perl-module-build-tiny.mk b/buildroot-2022.02.1/package/perl-module-build-tiny/perl-module-build-tiny.mk similarity index 100% rename from buildroot-2021.05/package/perl-module-build-tiny/perl-module-build-tiny.mk rename to buildroot-2022.02.1/package/perl-module-build-tiny/perl-module-build-tiny.mk diff --git a/buildroot-2021.05/package/perl-module-build/perl-module-build.hash b/buildroot-2022.02.1/package/perl-module-build/perl-module-build.hash similarity index 100% rename from buildroot-2021.05/package/perl-module-build/perl-module-build.hash rename to buildroot-2022.02.1/package/perl-module-build/perl-module-build.hash diff --git a/buildroot-2021.05/package/perl-module-build/perl-module-build.mk b/buildroot-2022.02.1/package/perl-module-build/perl-module-build.mk similarity index 100% rename from buildroot-2021.05/package/perl-module-build/perl-module-build.mk rename to buildroot-2022.02.1/package/perl-module-build/perl-module-build.mk diff --git a/buildroot-2021.05/package/perl-module-implementation/Config.in b/buildroot-2022.02.1/package/perl-module-implementation/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-module-implementation/Config.in rename to buildroot-2022.02.1/package/perl-module-implementation/Config.in diff --git a/buildroot-2021.05/package/perl-module-implementation/perl-module-implementation.hash b/buildroot-2022.02.1/package/perl-module-implementation/perl-module-implementation.hash similarity index 100% rename from buildroot-2021.05/package/perl-module-implementation/perl-module-implementation.hash rename to buildroot-2022.02.1/package/perl-module-implementation/perl-module-implementation.hash diff --git a/buildroot-2021.05/package/perl-module-implementation/perl-module-implementation.mk b/buildroot-2022.02.1/package/perl-module-implementation/perl-module-implementation.mk similarity index 100% rename from buildroot-2021.05/package/perl-module-implementation/perl-module-implementation.mk rename to buildroot-2022.02.1/package/perl-module-implementation/perl-module-implementation.mk diff --git a/buildroot-2021.05/package/perl-module-runtime/Config.in b/buildroot-2022.02.1/package/perl-module-runtime/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-module-runtime/Config.in rename to buildroot-2022.02.1/package/perl-module-runtime/Config.in diff --git a/buildroot-2021.05/package/perl-module-runtime/perl-module-runtime.hash b/buildroot-2022.02.1/package/perl-module-runtime/perl-module-runtime.hash similarity index 100% rename from buildroot-2021.05/package/perl-module-runtime/perl-module-runtime.hash rename to buildroot-2022.02.1/package/perl-module-runtime/perl-module-runtime.hash diff --git a/buildroot-2021.05/package/perl-module-runtime/perl-module-runtime.mk b/buildroot-2022.02.1/package/perl-module-runtime/perl-module-runtime.mk similarity index 100% rename from buildroot-2021.05/package/perl-module-runtime/perl-module-runtime.mk rename to buildroot-2022.02.1/package/perl-module-runtime/perl-module-runtime.mk diff --git a/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/Config.in b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/Config.in new file mode 100644 index 00000000..2f51989f --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION + bool "perl-mojolicious-plugin-authentication" + select BR2_PACKAGE_PERL_MOJOLICIOUS # runtime + help + A plugin to make authentication a bit easier. + + https://github.com/benvanstaveren/Mojolicious-Plugin-Authentication diff --git a/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.hash b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.hash new file mode 100644 index 00000000..34362f5d --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 c475f2d3962441698b178ad1bd7d2e29 Mojolicious-Plugin-Authentication-1.37.tar.gz +sha256 a7ed206725b7b395d4fca12e3f1d923da644d913333ff48ea231e064ecb1abb6 Mojolicious-Plugin-Authentication-1.37.tar.gz + +# computed by scancpan +sha256 37d219684a6c5f8754435fb0dd36a779121e416553fd6a75e22a7545039d1021 LICENSE diff --git a/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.mk b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.mk new file mode 100644 index 00000000..57c356ee --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authentication/perl-mojolicious-plugin-authentication.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-mojolicious-plugin-authentication +# +################################################################################ + +PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_VERSION = 1.37 +PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_SOURCE = Mojolicious-Plugin-Authentication-$(PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_VERSION).tar.gz +PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_SITE = $(BR2_CPAN_MIRROR)/authors/id/J/JJ/JJATRIA +PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_LICENSE = Artistic or GPL-1.0+ +PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_LICENSE_FILES = LICENSE +PERL_MOJOLICIOUS_PLUGIN_AUTHENTICATION_DISTNAME = Mojolicious-Plugin-Authentication + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-authorization/Config.in b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authorization/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-authorization/Config.in rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-authorization/Config.in diff --git a/buildroot-2022.02.1/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash new file mode 100644 index 00000000..30bf87ba --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 7906886e2a66b84bb3c0edd7ea85c485 Mojolicious-Plugin-Authorization-1.06.tar.gz +sha256 d21ee5ab5fd8c630bc28ce001f9c91bba500370baf7cc8f6f60c9a4e051f9a6c Mojolicious-Plugin-Authorization-1.06.tar.gz + +# computed by scancpan +sha256 dfab85cd06e80a3493217a1dc741cf9065417d2e803d50756f013c0b6cb0cb3e LICENSE diff --git a/buildroot-2022.02.1/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk new file mode 100644 index 00000000..f136be3b --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mojolicious-plugin-authorization/perl-mojolicious-plugin-authorization.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# perl-mojolicious-plugin-authorization +# +################################################################################ + +PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_VERSION = 1.06 +PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_SOURCE = Mojolicious-Plugin-Authorization-$(PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_VERSION).tar.gz +PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_SITE = $(BR2_CPAN_MIRROR)/authors/id/B/BY/BYTEROCK +PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_DEPENDENCIES = host-perl-module-build +PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_LICENSE = Artistic or GPL-1.0+ +PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_LICENSE_FILES = LICENSE +PERL_MOJOLICIOUS_PLUGIN_AUTHORIZATION_DISTNAME = Mojolicious-Plugin-Authorization + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-cspheader/Config.in b/buildroot-2022.02.1/package/perl-mojolicious-plugin-cspheader/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-cspheader/Config.in rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-cspheader/Config.in diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash b/buildroot-2022.02.1/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.hash diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk b/buildroot-2022.02.1/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-cspheader/perl-mojolicious-plugin-cspheader.mk diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-i18n/Config.in b/buildroot-2022.02.1/package/perl-mojolicious-plugin-i18n/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-i18n/Config.in rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-i18n/Config.in diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash b/buildroot-2022.02.1/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk b/buildroot-2022.02.1/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-securityheader/Config.in b/buildroot-2022.02.1/package/perl-mojolicious-plugin-securityheader/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-securityheader/Config.in rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-securityheader/Config.in diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash b/buildroot-2022.02.1/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.hash diff --git a/buildroot-2021.05/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk b/buildroot-2022.02.1/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk rename to buildroot-2022.02.1/package/perl-mojolicious-plugin-securityheader/perl-mojolicious-plugin-securityheader.mk diff --git a/buildroot-2021.05/package/perl-mojolicious/Config.in b/buildroot-2022.02.1/package/perl-mojolicious/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mojolicious/Config.in rename to buildroot-2022.02.1/package/perl-mojolicious/Config.in diff --git a/buildroot-2022.02.1/package/perl-mojolicious/perl-mojolicious.hash b/buildroot-2022.02.1/package/perl-mojolicious/perl-mojolicious.hash new file mode 100644 index 00000000..cc29c355 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mojolicious/perl-mojolicious.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 c7a00b4bd8fa2db991c9b918d34041d3 Mojolicious-9.22.tar.gz +sha256 6b76e024d3d6c077ad984ea3b3d229f093373d5e06438aca248235150d029043 Mojolicious-9.22.tar.gz + +# computed by scancpan +sha256 19e2e0f2079ea1ce1576eb4ecc0575b33fe45b2b8e71f4aa589d6bedd1da4e0a LICENSE diff --git a/buildroot-2022.02.1/package/perl-mojolicious/perl-mojolicious.mk b/buildroot-2022.02.1/package/perl-mojolicious/perl-mojolicious.mk new file mode 100644 index 00000000..559b995c --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mojolicious/perl-mojolicious.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-mojolicious +# +################################################################################ + +PERL_MOJOLICIOUS_VERSION = 9.22 +PERL_MOJOLICIOUS_SOURCE = Mojolicious-$(PERL_MOJOLICIOUS_VERSION).tar.gz +PERL_MOJOLICIOUS_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SR/SRI +PERL_MOJOLICIOUS_LICENSE = Artistic-2.0 +PERL_MOJOLICIOUS_LICENSE_FILES = LICENSE +PERL_MOJOLICIOUS_DISTNAME = Mojolicious + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-moo/Config.in b/buildroot-2022.02.1/package/perl-moo/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-moo/Config.in rename to buildroot-2022.02.1/package/perl-moo/Config.in diff --git a/buildroot-2021.05/package/perl-moo/perl-moo.hash b/buildroot-2022.02.1/package/perl-moo/perl-moo.hash similarity index 100% rename from buildroot-2021.05/package/perl-moo/perl-moo.hash rename to buildroot-2022.02.1/package/perl-moo/perl-moo.hash diff --git a/buildroot-2021.05/package/perl-moo/perl-moo.mk b/buildroot-2022.02.1/package/perl-moo/perl-moo.mk similarity index 100% rename from buildroot-2021.05/package/perl-moo/perl-moo.mk rename to buildroot-2022.02.1/package/perl-moo/perl-moo.mk diff --git a/buildroot-2021.05/package/perl-mozilla-ca/Config.in b/buildroot-2022.02.1/package/perl-mozilla-ca/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-mozilla-ca/Config.in rename to buildroot-2022.02.1/package/perl-mozilla-ca/Config.in diff --git a/buildroot-2022.02.1/package/perl-mozilla-ca/perl-mozilla-ca.hash b/buildroot-2022.02.1/package/perl-mozilla-ca/perl-mozilla-ca.hash new file mode 100644 index 00000000..07966f99 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mozilla-ca/perl-mozilla-ca.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 843e42f367ea3c7abc5de5b6225791dc Mozilla-CA-20211001.tar.gz +sha256 122c8900000a9d388aa8e44f911cab6c118fe8497417917a84a8ec183971b449 Mozilla-CA-20211001.tar.gz + +# computed by scancpan +sha256 95cd63dae5c2bf6e7cf33435981614a36c85ef01fc7a02464e05e58a5355398e README diff --git a/buildroot-2022.02.1/package/perl-mozilla-ca/perl-mozilla-ca.mk b/buildroot-2022.02.1/package/perl-mozilla-ca/perl-mozilla-ca.mk new file mode 100644 index 00000000..6b970c0f --- /dev/null +++ b/buildroot-2022.02.1/package/perl-mozilla-ca/perl-mozilla-ca.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-mozilla-ca +# +################################################################################ + +PERL_MOZILLA_CA_VERSION = 20211001 +PERL_MOZILLA_CA_SOURCE = Mozilla-CA-$(PERL_MOZILLA_CA_VERSION).tar.gz +PERL_MOZILLA_CA_SITE = $(BR2_CPAN_MIRROR)/authors/id/A/AB/ABH +PERL_MOZILLA_CA_LICENSE = MPL-2.0 +PERL_MOZILLA_CA_LICENSE_FILES = README +PERL_MOZILLA_CA_DISTNAME = Mozilla-CA + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-net-dns/Config.in b/buildroot-2022.02.1/package/perl-net-dns/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-net-dns/Config.in rename to buildroot-2022.02.1/package/perl-net-dns/Config.in diff --git a/buildroot-2022.02.1/package/perl-net-dns/perl-net-dns.hash b/buildroot-2022.02.1/package/perl-net-dns/perl-net-dns.hash new file mode 100644 index 00000000..1af14e2a --- /dev/null +++ b/buildroot-2022.02.1/package/perl-net-dns/perl-net-dns.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 f3ba5295ee588d25dabc74a2ecda296a Net-DNS-1.33.tar.gz +sha256 5a40e7cf524e4bd2c33cf03b82b47d5308b712083aa5ee180b0b5af54c71fbd2 Net-DNS-1.33.tar.gz + +# computed by scancpan +sha256 1e44fcf65509b47a251eda0ce1f8bd6aefa13517e38cb1e95b8d36120fb15452 LICENSE diff --git a/buildroot-2022.02.1/package/perl-net-dns/perl-net-dns.mk b/buildroot-2022.02.1/package/perl-net-dns/perl-net-dns.mk new file mode 100644 index 00000000..fa7b50c0 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-net-dns/perl-net-dns.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-net-dns +# +################################################################################ + +PERL_NET_DNS_VERSION = 1.33 +PERL_NET_DNS_SOURCE = Net-DNS-$(PERL_NET_DNS_VERSION).tar.gz +PERL_NET_DNS_SITE = $(BR2_CPAN_MIRROR)/authors/id/N/NL/NLNETLABS +PERL_NET_DNS_LICENSE = MIT +PERL_NET_DNS_LICENSE_FILES = LICENSE +PERL_NET_DNS_DISTNAME = Net-DNS + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-net-http/Config.in b/buildroot-2022.02.1/package/perl-net-http/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-net-http/Config.in rename to buildroot-2022.02.1/package/perl-net-http/Config.in diff --git a/buildroot-2021.05/package/perl-net-http/perl-net-http.hash b/buildroot-2022.02.1/package/perl-net-http/perl-net-http.hash similarity index 100% rename from buildroot-2021.05/package/perl-net-http/perl-net-http.hash rename to buildroot-2022.02.1/package/perl-net-http/perl-net-http.hash diff --git a/buildroot-2021.05/package/perl-net-http/perl-net-http.mk b/buildroot-2022.02.1/package/perl-net-http/perl-net-http.mk similarity index 100% rename from buildroot-2021.05/package/perl-net-http/perl-net-http.mk rename to buildroot-2022.02.1/package/perl-net-http/perl-net-http.mk diff --git a/buildroot-2021.05/package/perl-net-snmp/Config.in b/buildroot-2022.02.1/package/perl-net-snmp/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-net-snmp/Config.in rename to buildroot-2022.02.1/package/perl-net-snmp/Config.in diff --git a/buildroot-2021.05/package/perl-net-snmp/perl-net-snmp.hash b/buildroot-2022.02.1/package/perl-net-snmp/perl-net-snmp.hash similarity index 100% rename from buildroot-2021.05/package/perl-net-snmp/perl-net-snmp.hash rename to buildroot-2022.02.1/package/perl-net-snmp/perl-net-snmp.hash diff --git a/buildroot-2021.05/package/perl-net-snmp/perl-net-snmp.mk b/buildroot-2022.02.1/package/perl-net-snmp/perl-net-snmp.mk similarity index 100% rename from buildroot-2021.05/package/perl-net-snmp/perl-net-snmp.mk rename to buildroot-2022.02.1/package/perl-net-snmp/perl-net-snmp.mk diff --git a/buildroot-2021.05/package/perl-net-ssh2/Config.in b/buildroot-2022.02.1/package/perl-net-ssh2/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-net-ssh2/Config.in rename to buildroot-2022.02.1/package/perl-net-ssh2/Config.in diff --git a/buildroot-2021.05/package/perl-net-ssh2/perl-net-ssh2.hash b/buildroot-2022.02.1/package/perl-net-ssh2/perl-net-ssh2.hash similarity index 100% rename from buildroot-2021.05/package/perl-net-ssh2/perl-net-ssh2.hash rename to buildroot-2022.02.1/package/perl-net-ssh2/perl-net-ssh2.hash diff --git a/buildroot-2022.02.1/package/perl-net-ssh2/perl-net-ssh2.mk b/buildroot-2022.02.1/package/perl-net-ssh2/perl-net-ssh2.mk new file mode 100644 index 00000000..20e45b62 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-net-ssh2/perl-net-ssh2.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# perl-net-ssh2 +# +################################################################################ + +PERL_NET_SSH2_VERSION = 0.72 +PERL_NET_SSH2_SOURCE = Net-SSH2-$(PERL_NET_SSH2_VERSION).tar.gz +PERL_NET_SSH2_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SA/SALVA +PERL_NET_SSH2_LICENSE = Artistic or GPL-1.0+ +PERL_NET_SSH2_LICENSE_FILES = README.pod +PERL_NET_SSH2_DEPENDENCIES = libssh2 zlib +PERL_NET_SSH2_DISTNAME = Net-SSH2 + +# build system will use host search paths by default +PERL_NET_SSH2_CONF_OPTS += \ + lib="$(STAGING_DIR)/usr/lib" \ + inc="$(STAGING_DIR)/usr/include" + +ifeq ($(BR2_PACKAGE_LIBSSH2_LIBGCRYPT),y) +PERL_NET_SSH2_CONF_OPTS += crypto_backend=gcrypt +endif + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-net-ssleay/0001-fix-build-system.patch b/buildroot-2022.02.1/package/perl-net-ssleay/0001-fix-build-system.patch similarity index 100% rename from buildroot-2021.05/package/perl-net-ssleay/0001-fix-build-system.patch rename to buildroot-2022.02.1/package/perl-net-ssleay/0001-fix-build-system.patch diff --git a/buildroot-2022.02.1/package/perl-net-ssleay/Config.in b/buildroot-2022.02.1/package/perl-net-ssleay/Config.in new file mode 100644 index 00000000..d699e667 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-net-ssleay/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PERL_NET_SSLEAY + bool "perl-net-ssleay" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + help + Perl extension for using OpenSSL. + + https://metacpan.org/release/Net-SSLeay + +comment "perl-net-ssleay needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/perl-net-ssleay/perl-net-ssleay.hash b/buildroot-2022.02.1/package/perl-net-ssleay/perl-net-ssleay.hash similarity index 100% rename from buildroot-2021.05/package/perl-net-ssleay/perl-net-ssleay.hash rename to buildroot-2022.02.1/package/perl-net-ssleay/perl-net-ssleay.hash diff --git a/buildroot-2021.05/package/perl-net-ssleay/perl-net-ssleay.mk b/buildroot-2022.02.1/package/perl-net-ssleay/perl-net-ssleay.mk similarity index 100% rename from buildroot-2021.05/package/perl-net-ssleay/perl-net-ssleay.mk rename to buildroot-2022.02.1/package/perl-net-ssleay/perl-net-ssleay.mk diff --git a/buildroot-2021.05/package/perl-net-telnet/Config.in b/buildroot-2022.02.1/package/perl-net-telnet/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-net-telnet/Config.in rename to buildroot-2022.02.1/package/perl-net-telnet/Config.in diff --git a/buildroot-2022.02.1/package/perl-net-telnet/perl-net-telnet.hash b/buildroot-2022.02.1/package/perl-net-telnet/perl-net-telnet.hash new file mode 100644 index 00000000..c6dc0ca6 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-net-telnet/perl-net-telnet.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 c8573c57a2d9469f038c40ac284b1e5f Net-Telnet-3.05.tar.gz +sha256 677f68ba2cd2a824fae323fa82e183bf7e3d03c3c499c91d923bd6283796a743 Net-Telnet-3.05.tar.gz + +# computed by scancpan +sha256 22d0a3343b46c7857cd7d06cb37fe437d467df71aa5854af515374e1e8bf6c53 README diff --git a/buildroot-2022.02.1/package/perl-net-telnet/perl-net-telnet.mk b/buildroot-2022.02.1/package/perl-net-telnet/perl-net-telnet.mk new file mode 100644 index 00000000..ec3c0221 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-net-telnet/perl-net-telnet.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-net-telnet +# +################################################################################ + +PERL_NET_TELNET_VERSION = 3.05 +PERL_NET_TELNET_SOURCE = Net-Telnet-$(PERL_NET_TELNET_VERSION).tar.gz +PERL_NET_TELNET_SITE = $(BR2_CPAN_MIRROR)/authors/id/J/JR/JROGERS +PERL_NET_TELNET_LICENSE = Artistic or GPL-1.0+ +PERL_NET_TELNET_LICENSE_FILES = README +PERL_NET_TELNET_DISTNAME = Net-Telnet + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-netaddr-ip/Config.in b/buildroot-2022.02.1/package/perl-netaddr-ip/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-netaddr-ip/Config.in rename to buildroot-2022.02.1/package/perl-netaddr-ip/Config.in diff --git a/buildroot-2021.05/package/perl-netaddr-ip/perl-netaddr-ip.hash b/buildroot-2022.02.1/package/perl-netaddr-ip/perl-netaddr-ip.hash similarity index 100% rename from buildroot-2021.05/package/perl-netaddr-ip/perl-netaddr-ip.hash rename to buildroot-2022.02.1/package/perl-netaddr-ip/perl-netaddr-ip.hash diff --git a/buildroot-2022.02.1/package/perl-netaddr-ip/perl-netaddr-ip.mk b/buildroot-2022.02.1/package/perl-netaddr-ip/perl-netaddr-ip.mk new file mode 100644 index 00000000..c4885715 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-netaddr-ip/perl-netaddr-ip.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# perl-netaddr-ip +# +################################################################################ + +PERL_NETADDR_IP_VERSION = 4.079 +PERL_NETADDR_IP_SOURCE = NetAddr-IP-$(PERL_NETADDR_IP_VERSION).tar.gz +PERL_NETADDR_IP_SITE = $(BR2_CPAN_MIRROR)/authors/id/M/MI/MIKER +PERL_NETADDR_IP_LICENSE = Artistic or GPL-1.0+ +PERL_NETADDR_IP_LICENSE_FILES = Artistic Copying +PERL_NETADDR_IP_DISTNAME = NetAddr-IP + +ifeq ($(BR2_STATIC_LIBS),y) +PERL_NETADDR_IP_CONF_OPTS += -noxs +endif + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-number-bytes-human/Config.in b/buildroot-2022.02.1/package/perl-number-bytes-human/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-number-bytes-human/Config.in rename to buildroot-2022.02.1/package/perl-number-bytes-human/Config.in diff --git a/buildroot-2021.05/package/perl-number-bytes-human/perl-number-bytes-human.hash b/buildroot-2022.02.1/package/perl-number-bytes-human/perl-number-bytes-human.hash similarity index 100% rename from buildroot-2021.05/package/perl-number-bytes-human/perl-number-bytes-human.hash rename to buildroot-2022.02.1/package/perl-number-bytes-human/perl-number-bytes-human.hash diff --git a/buildroot-2021.05/package/perl-number-bytes-human/perl-number-bytes-human.mk b/buildroot-2022.02.1/package/perl-number-bytes-human/perl-number-bytes-human.mk similarity index 100% rename from buildroot-2021.05/package/perl-number-bytes-human/perl-number-bytes-human.mk rename to buildroot-2022.02.1/package/perl-number-bytes-human/perl-number-bytes-human.mk diff --git a/buildroot-2021.05/package/perl-package-stash/Config.in b/buildroot-2022.02.1/package/perl-package-stash/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-package-stash/Config.in rename to buildroot-2022.02.1/package/perl-package-stash/Config.in diff --git a/buildroot-2021.05/package/perl-package-stash/perl-package-stash.hash b/buildroot-2022.02.1/package/perl-package-stash/perl-package-stash.hash similarity index 100% rename from buildroot-2021.05/package/perl-package-stash/perl-package-stash.hash rename to buildroot-2022.02.1/package/perl-package-stash/perl-package-stash.hash diff --git a/buildroot-2021.05/package/perl-package-stash/perl-package-stash.mk b/buildroot-2022.02.1/package/perl-package-stash/perl-package-stash.mk similarity index 100% rename from buildroot-2021.05/package/perl-package-stash/perl-package-stash.mk rename to buildroot-2022.02.1/package/perl-package-stash/perl-package-stash.mk diff --git a/buildroot-2021.05/package/perl-params-util/Config.in b/buildroot-2022.02.1/package/perl-params-util/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-params-util/Config.in rename to buildroot-2022.02.1/package/perl-params-util/Config.in diff --git a/buildroot-2021.05/package/perl-params-util/perl-params-util.hash b/buildroot-2022.02.1/package/perl-params-util/perl-params-util.hash similarity index 100% rename from buildroot-2021.05/package/perl-params-util/perl-params-util.hash rename to buildroot-2022.02.1/package/perl-params-util/perl-params-util.hash diff --git a/buildroot-2021.05/package/perl-params-util/perl-params-util.mk b/buildroot-2022.02.1/package/perl-params-util/perl-params-util.mk similarity index 100% rename from buildroot-2021.05/package/perl-params-util/perl-params-util.mk rename to buildroot-2022.02.1/package/perl-params-util/perl-params-util.mk diff --git a/buildroot-2021.05/package/perl-parse-yapp/Config.in b/buildroot-2022.02.1/package/perl-parse-yapp/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-parse-yapp/Config.in rename to buildroot-2022.02.1/package/perl-parse-yapp/Config.in diff --git a/buildroot-2021.05/package/perl-parse-yapp/perl-parse-yapp.hash b/buildroot-2022.02.1/package/perl-parse-yapp/perl-parse-yapp.hash similarity index 100% rename from buildroot-2021.05/package/perl-parse-yapp/perl-parse-yapp.hash rename to buildroot-2022.02.1/package/perl-parse-yapp/perl-parse-yapp.hash diff --git a/buildroot-2021.05/package/perl-parse-yapp/perl-parse-yapp.mk b/buildroot-2022.02.1/package/perl-parse-yapp/perl-parse-yapp.mk similarity index 100% rename from buildroot-2021.05/package/perl-parse-yapp/perl-parse-yapp.mk rename to buildroot-2022.02.1/package/perl-parse-yapp/perl-parse-yapp.mk diff --git a/buildroot-2021.05/package/perl-path-class/perl-path-class.hash b/buildroot-2022.02.1/package/perl-path-class/perl-path-class.hash similarity index 100% rename from buildroot-2021.05/package/perl-path-class/perl-path-class.hash rename to buildroot-2022.02.1/package/perl-path-class/perl-path-class.hash diff --git a/buildroot-2021.05/package/perl-path-class/perl-path-class.mk b/buildroot-2022.02.1/package/perl-path-class/perl-path-class.mk similarity index 100% rename from buildroot-2021.05/package/perl-path-class/perl-path-class.mk rename to buildroot-2022.02.1/package/perl-path-class/perl-path-class.mk diff --git a/buildroot-2021.05/package/perl-path-tiny/Config.in b/buildroot-2022.02.1/package/perl-path-tiny/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-path-tiny/Config.in rename to buildroot-2022.02.1/package/perl-path-tiny/Config.in diff --git a/buildroot-2022.02.1/package/perl-path-tiny/perl-path-tiny.hash b/buildroot-2022.02.1/package/perl-path-tiny/perl-path-tiny.hash new file mode 100644 index 00000000..16f1a9a2 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-path-tiny/perl-path-tiny.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 f746d8da5d049a5523b1880666bb0992 Path-Tiny-0.122.tar.gz +sha256 4bc6f76d0548ccd8b38cb66291a885bf0de453d0167562c7b82e8861afdcfb7c Path-Tiny-0.122.tar.gz + +# computed by scancpan +sha256 c1a19c0d83f668a784640c0b41e024f37b182ad38011b170f9200123e57f6070 LICENSE diff --git a/buildroot-2022.02.1/package/perl-path-tiny/perl-path-tiny.mk b/buildroot-2022.02.1/package/perl-path-tiny/perl-path-tiny.mk new file mode 100644 index 00000000..310feed9 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-path-tiny/perl-path-tiny.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-path-tiny +# +################################################################################ + +PERL_PATH_TINY_VERSION = 0.122 +PERL_PATH_TINY_SOURCE = Path-Tiny-$(PERL_PATH_TINY_VERSION).tar.gz +PERL_PATH_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/D/DA/DAGOLDEN +PERL_PATH_TINY_LICENSE = Apache-2.0 +PERL_PATH_TINY_LICENSE_FILES = LICENSE +PERL_PATH_TINY_DISTNAME = Path-Tiny + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-plack/Config.in b/buildroot-2022.02.1/package/perl-plack/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-plack/Config.in rename to buildroot-2022.02.1/package/perl-plack/Config.in diff --git a/buildroot-2021.05/package/perl-plack/perl-plack.hash b/buildroot-2022.02.1/package/perl-plack/perl-plack.hash similarity index 100% rename from buildroot-2021.05/package/perl-plack/perl-plack.hash rename to buildroot-2022.02.1/package/perl-plack/perl-plack.hash diff --git a/buildroot-2021.05/package/perl-plack/perl-plack.mk b/buildroot-2022.02.1/package/perl-plack/perl-plack.mk similarity index 100% rename from buildroot-2021.05/package/perl-plack/perl-plack.mk rename to buildroot-2022.02.1/package/perl-plack/perl-plack.mk diff --git a/buildroot-2021.05/package/perl-posix-strftime-compiler/Config.in b/buildroot-2022.02.1/package/perl-posix-strftime-compiler/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-posix-strftime-compiler/Config.in rename to buildroot-2022.02.1/package/perl-posix-strftime-compiler/Config.in diff --git a/buildroot-2021.05/package/perl-posix-strftime-compiler/perl-posix-strftime-compiler.hash b/buildroot-2022.02.1/package/perl-posix-strftime-compiler/perl-posix-strftime-compiler.hash similarity index 100% rename from buildroot-2021.05/package/perl-posix-strftime-compiler/perl-posix-strftime-compiler.hash rename to buildroot-2022.02.1/package/perl-posix-strftime-compiler/perl-posix-strftime-compiler.hash diff --git a/buildroot-2021.05/package/perl-posix-strftime-compiler/perl-posix-strftime-compiler.mk b/buildroot-2022.02.1/package/perl-posix-strftime-compiler/perl-posix-strftime-compiler.mk similarity index 100% rename from buildroot-2021.05/package/perl-posix-strftime-compiler/perl-posix-strftime-compiler.mk rename to buildroot-2022.02.1/package/perl-posix-strftime-compiler/perl-posix-strftime-compiler.mk diff --git a/buildroot-2021.05/package/perl-role-tiny/Config.in b/buildroot-2022.02.1/package/perl-role-tiny/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-role-tiny/Config.in rename to buildroot-2022.02.1/package/perl-role-tiny/Config.in diff --git a/buildroot-2021.05/package/perl-role-tiny/perl-role-tiny.hash b/buildroot-2022.02.1/package/perl-role-tiny/perl-role-tiny.hash similarity index 100% rename from buildroot-2021.05/package/perl-role-tiny/perl-role-tiny.hash rename to buildroot-2022.02.1/package/perl-role-tiny/perl-role-tiny.hash diff --git a/buildroot-2021.05/package/perl-role-tiny/perl-role-tiny.mk b/buildroot-2022.02.1/package/perl-role-tiny/perl-role-tiny.mk similarity index 100% rename from buildroot-2021.05/package/perl-role-tiny/perl-role-tiny.mk rename to buildroot-2022.02.1/package/perl-role-tiny/perl-role-tiny.mk diff --git a/buildroot-2021.05/package/perl-stream-buffered/Config.in b/buildroot-2022.02.1/package/perl-stream-buffered/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-stream-buffered/Config.in rename to buildroot-2022.02.1/package/perl-stream-buffered/Config.in diff --git a/buildroot-2021.05/package/perl-stream-buffered/perl-stream-buffered.hash b/buildroot-2022.02.1/package/perl-stream-buffered/perl-stream-buffered.hash similarity index 100% rename from buildroot-2021.05/package/perl-stream-buffered/perl-stream-buffered.hash rename to buildroot-2022.02.1/package/perl-stream-buffered/perl-stream-buffered.hash diff --git a/buildroot-2021.05/package/perl-stream-buffered/perl-stream-buffered.mk b/buildroot-2022.02.1/package/perl-stream-buffered/perl-stream-buffered.mk similarity index 100% rename from buildroot-2021.05/package/perl-stream-buffered/perl-stream-buffered.mk rename to buildroot-2022.02.1/package/perl-stream-buffered/perl-stream-buffered.mk diff --git a/buildroot-2021.05/package/perl-sub-exporter-progressive/Config.in b/buildroot-2022.02.1/package/perl-sub-exporter-progressive/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-sub-exporter-progressive/Config.in rename to buildroot-2022.02.1/package/perl-sub-exporter-progressive/Config.in diff --git a/buildroot-2021.05/package/perl-sub-exporter-progressive/perl-sub-exporter-progressive.hash b/buildroot-2022.02.1/package/perl-sub-exporter-progressive/perl-sub-exporter-progressive.hash similarity index 100% rename from buildroot-2021.05/package/perl-sub-exporter-progressive/perl-sub-exporter-progressive.hash rename to buildroot-2022.02.1/package/perl-sub-exporter-progressive/perl-sub-exporter-progressive.hash diff --git a/buildroot-2021.05/package/perl-sub-exporter-progressive/perl-sub-exporter-progressive.mk b/buildroot-2022.02.1/package/perl-sub-exporter-progressive/perl-sub-exporter-progressive.mk similarity index 100% rename from buildroot-2021.05/package/perl-sub-exporter-progressive/perl-sub-exporter-progressive.mk rename to buildroot-2022.02.1/package/perl-sub-exporter-progressive/perl-sub-exporter-progressive.mk diff --git a/buildroot-2021.05/package/perl-sub-install/Config.in b/buildroot-2022.02.1/package/perl-sub-install/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-sub-install/Config.in rename to buildroot-2022.02.1/package/perl-sub-install/Config.in diff --git a/buildroot-2021.05/package/perl-sub-install/perl-sub-install.hash b/buildroot-2022.02.1/package/perl-sub-install/perl-sub-install.hash similarity index 100% rename from buildroot-2021.05/package/perl-sub-install/perl-sub-install.hash rename to buildroot-2022.02.1/package/perl-sub-install/perl-sub-install.hash diff --git a/buildroot-2021.05/package/perl-sub-install/perl-sub-install.mk b/buildroot-2022.02.1/package/perl-sub-install/perl-sub-install.mk similarity index 100% rename from buildroot-2021.05/package/perl-sub-install/perl-sub-install.mk rename to buildroot-2022.02.1/package/perl-sub-install/perl-sub-install.mk diff --git a/buildroot-2021.05/package/perl-sub-quote/Config.in b/buildroot-2022.02.1/package/perl-sub-quote/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-sub-quote/Config.in rename to buildroot-2022.02.1/package/perl-sub-quote/Config.in diff --git a/buildroot-2021.05/package/perl-sub-quote/perl-sub-quote.hash b/buildroot-2022.02.1/package/perl-sub-quote/perl-sub-quote.hash similarity index 100% rename from buildroot-2021.05/package/perl-sub-quote/perl-sub-quote.hash rename to buildroot-2022.02.1/package/perl-sub-quote/perl-sub-quote.hash diff --git a/buildroot-2021.05/package/perl-sub-quote/perl-sub-quote.mk b/buildroot-2022.02.1/package/perl-sub-quote/perl-sub-quote.mk similarity index 100% rename from buildroot-2021.05/package/perl-sub-quote/perl-sub-quote.mk rename to buildroot-2022.02.1/package/perl-sub-quote/perl-sub-quote.mk diff --git a/buildroot-2021.05/package/perl-sys-cpu/0001-remove-extraneous-include.patch b/buildroot-2022.02.1/package/perl-sys-cpu/0001-remove-extraneous-include.patch similarity index 100% rename from buildroot-2021.05/package/perl-sys-cpu/0001-remove-extraneous-include.patch rename to buildroot-2022.02.1/package/perl-sys-cpu/0001-remove-extraneous-include.patch diff --git a/buildroot-2021.05/package/perl-sys-cpu/Config.in b/buildroot-2022.02.1/package/perl-sys-cpu/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-sys-cpu/Config.in rename to buildroot-2022.02.1/package/perl-sys-cpu/Config.in diff --git a/buildroot-2021.05/package/perl-sys-cpu/perl-sys-cpu.hash b/buildroot-2022.02.1/package/perl-sys-cpu/perl-sys-cpu.hash similarity index 100% rename from buildroot-2021.05/package/perl-sys-cpu/perl-sys-cpu.hash rename to buildroot-2022.02.1/package/perl-sys-cpu/perl-sys-cpu.hash diff --git a/buildroot-2021.05/package/perl-sys-cpu/perl-sys-cpu.mk b/buildroot-2022.02.1/package/perl-sys-cpu/perl-sys-cpu.mk similarity index 100% rename from buildroot-2021.05/package/perl-sys-cpu/perl-sys-cpu.mk rename to buildroot-2022.02.1/package/perl-sys-cpu/perl-sys-cpu.mk diff --git a/buildroot-2021.05/package/perl-sys-meminfo/Config.in b/buildroot-2022.02.1/package/perl-sys-meminfo/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-sys-meminfo/Config.in rename to buildroot-2022.02.1/package/perl-sys-meminfo/Config.in diff --git a/buildroot-2021.05/package/perl-sys-meminfo/perl-sys-meminfo.hash b/buildroot-2022.02.1/package/perl-sys-meminfo/perl-sys-meminfo.hash similarity index 100% rename from buildroot-2021.05/package/perl-sys-meminfo/perl-sys-meminfo.hash rename to buildroot-2022.02.1/package/perl-sys-meminfo/perl-sys-meminfo.hash diff --git a/buildroot-2021.05/package/perl-sys-meminfo/perl-sys-meminfo.mk b/buildroot-2022.02.1/package/perl-sys-meminfo/perl-sys-meminfo.mk similarity index 100% rename from buildroot-2021.05/package/perl-sys-meminfo/perl-sys-meminfo.mk rename to buildroot-2022.02.1/package/perl-sys-meminfo/perl-sys-meminfo.mk diff --git a/buildroot-2021.05/package/perl-sys-mmap/Config.in b/buildroot-2022.02.1/package/perl-sys-mmap/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-sys-mmap/Config.in rename to buildroot-2022.02.1/package/perl-sys-mmap/Config.in diff --git a/buildroot-2021.05/package/perl-sys-mmap/perl-sys-mmap.hash b/buildroot-2022.02.1/package/perl-sys-mmap/perl-sys-mmap.hash similarity index 100% rename from buildroot-2021.05/package/perl-sys-mmap/perl-sys-mmap.hash rename to buildroot-2022.02.1/package/perl-sys-mmap/perl-sys-mmap.hash diff --git a/buildroot-2021.05/package/perl-sys-mmap/perl-sys-mmap.mk b/buildroot-2022.02.1/package/perl-sys-mmap/perl-sys-mmap.mk similarity index 100% rename from buildroot-2021.05/package/perl-sys-mmap/perl-sys-mmap.mk rename to buildroot-2022.02.1/package/perl-sys-mmap/perl-sys-mmap.mk diff --git a/buildroot-2021.05/package/perl-time-parsedate/Config.in b/buildroot-2022.02.1/package/perl-time-parsedate/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-time-parsedate/Config.in rename to buildroot-2022.02.1/package/perl-time-parsedate/Config.in diff --git a/buildroot-2021.05/package/perl-time-parsedate/perl-time-parsedate.hash b/buildroot-2022.02.1/package/perl-time-parsedate/perl-time-parsedate.hash similarity index 100% rename from buildroot-2021.05/package/perl-time-parsedate/perl-time-parsedate.hash rename to buildroot-2022.02.1/package/perl-time-parsedate/perl-time-parsedate.hash diff --git a/buildroot-2021.05/package/perl-time-parsedate/perl-time-parsedate.mk b/buildroot-2022.02.1/package/perl-time-parsedate/perl-time-parsedate.mk similarity index 100% rename from buildroot-2021.05/package/perl-time-parsedate/perl-time-parsedate.mk rename to buildroot-2022.02.1/package/perl-time-parsedate/perl-time-parsedate.mk diff --git a/buildroot-2021.05/package/perl-timedate/Config.in b/buildroot-2022.02.1/package/perl-timedate/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-timedate/Config.in rename to buildroot-2022.02.1/package/perl-timedate/Config.in diff --git a/buildroot-2021.05/package/perl-timedate/perl-timedate.hash b/buildroot-2022.02.1/package/perl-timedate/perl-timedate.hash similarity index 100% rename from buildroot-2021.05/package/perl-timedate/perl-timedate.hash rename to buildroot-2022.02.1/package/perl-timedate/perl-timedate.hash diff --git a/buildroot-2021.05/package/perl-timedate/perl-timedate.mk b/buildroot-2022.02.1/package/perl-timedate/perl-timedate.mk similarity index 100% rename from buildroot-2021.05/package/perl-timedate/perl-timedate.mk rename to buildroot-2022.02.1/package/perl-timedate/perl-timedate.mk diff --git a/buildroot-2021.05/package/perl-try-tiny/Config.in b/buildroot-2022.02.1/package/perl-try-tiny/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-try-tiny/Config.in rename to buildroot-2022.02.1/package/perl-try-tiny/Config.in diff --git a/buildroot-2022.02.1/package/perl-try-tiny/perl-try-tiny.hash b/buildroot-2022.02.1/package/perl-try-tiny/perl-try-tiny.hash new file mode 100644 index 00000000..7aa88724 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-try-tiny/perl-try-tiny.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 993a29ee8a03c9bd9c2f7c53d1082a03 Try-Tiny-0.31.tar.gz +sha256 3300d31d8a4075b26d8f46ce864a1d913e0e8467ceeba6655d5d2b2e206c11be Try-Tiny-0.31.tar.gz + +# computed by scancpan +sha256 f1864ede834871a1207fcd19838b6bd5e1ff0a8704f5cc523fc397126041ed0b LICENCE diff --git a/buildroot-2022.02.1/package/perl-try-tiny/perl-try-tiny.mk b/buildroot-2022.02.1/package/perl-try-tiny/perl-try-tiny.mk new file mode 100644 index 00000000..cd2421a3 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-try-tiny/perl-try-tiny.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-try-tiny +# +################################################################################ + +PERL_TRY_TINY_VERSION = 0.31 +PERL_TRY_TINY_SOURCE = Try-Tiny-$(PERL_TRY_TINY_VERSION).tar.gz +PERL_TRY_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/E/ET/ETHER +PERL_TRY_TINY_LICENSE = MIT +PERL_TRY_TINY_LICENSE_FILES = LICENCE +PERL_TRY_TINY_DISTNAME = Try-Tiny + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-type-tiny/Config.in b/buildroot-2022.02.1/package/perl-type-tiny/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-type-tiny/Config.in rename to buildroot-2022.02.1/package/perl-type-tiny/Config.in diff --git a/buildroot-2022.02.1/package/perl-type-tiny/perl-type-tiny.hash b/buildroot-2022.02.1/package/perl-type-tiny/perl-type-tiny.hash new file mode 100644 index 00000000..9e5924ab --- /dev/null +++ b/buildroot-2022.02.1/package/perl-type-tiny/perl-type-tiny.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 7a1688c4de07a0ed481a1811e5e82e63 Type-Tiny-1.012004.tar.gz +sha256 75cd06b612d1830ae9f4b22298b506b3ff04518fa7453f487c248cd62a906a2b Type-Tiny-1.012004.tar.gz + +# computed by scancpan +sha256 34427749499bd6d6e5d206089bc03d76c647a1350f8b5f95ea628d2b6ff56e4c LICENSE diff --git a/buildroot-2022.02.1/package/perl-type-tiny/perl-type-tiny.mk b/buildroot-2022.02.1/package/perl-type-tiny/perl-type-tiny.mk new file mode 100644 index 00000000..5efa78f1 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-type-tiny/perl-type-tiny.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-type-tiny +# +################################################################################ + +PERL_TYPE_TINY_VERSION = 1.012004 +PERL_TYPE_TINY_SOURCE = Type-Tiny-$(PERL_TYPE_TINY_VERSION).tar.gz +PERL_TYPE_TINY_SITE = $(BR2_CPAN_MIRROR)/authors/id/T/TO/TOBYINK +PERL_TYPE_TINY_LICENSE = Artistic or GPL-1.0+ +PERL_TYPE_TINY_LICENSE_FILES = LICENSE +PERL_TYPE_TINY_DISTNAME = Type-Tiny + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-uri/Config.in b/buildroot-2022.02.1/package/perl-uri/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-uri/Config.in rename to buildroot-2022.02.1/package/perl-uri/Config.in diff --git a/buildroot-2022.02.1/package/perl-uri/perl-uri.hash b/buildroot-2022.02.1/package/perl-uri/perl-uri.hash new file mode 100644 index 00000000..e7e272c6 --- /dev/null +++ b/buildroot-2022.02.1/package/perl-uri/perl-uri.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 2a00d3dbf891df4256d251382aefd9b9 URI-5.10.tar.gz +sha256 16325d5e308c7b7ab623d1bf944e1354c5f2245afcfadb8eed1e2cae9a0bd0b5 URI-5.10.tar.gz + +# computed by scancpan +sha256 d4f0b7a8771dcb1eee79a38c2e466eb997e23565a6687dd1900a2027eabe12a0 LICENSE diff --git a/buildroot-2022.02.1/package/perl-uri/perl-uri.mk b/buildroot-2022.02.1/package/perl-uri/perl-uri.mk new file mode 100644 index 00000000..d451bc5d --- /dev/null +++ b/buildroot-2022.02.1/package/perl-uri/perl-uri.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# perl-uri +# +################################################################################ + +PERL_URI_VERSION = 5.10 +PERL_URI_SOURCE = URI-$(PERL_URI_VERSION).tar.gz +PERL_URI_SITE = $(BR2_CPAN_MIRROR)/authors/id/O/OA/OALDERS +PERL_URI_LICENSE = Artistic or GPL-1.0+ +PERL_URI_LICENSE_FILES = LICENSE +PERL_URI_DISTNAME = URI + +$(eval $(perl-package)) diff --git a/buildroot-2021.05/package/perl-www-form-urlencoded/Config.in b/buildroot-2022.02.1/package/perl-www-form-urlencoded/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-www-form-urlencoded/Config.in rename to buildroot-2022.02.1/package/perl-www-form-urlencoded/Config.in diff --git a/buildroot-2021.05/package/perl-www-form-urlencoded/perl-www-form-urlencoded.hash b/buildroot-2022.02.1/package/perl-www-form-urlencoded/perl-www-form-urlencoded.hash similarity index 100% rename from buildroot-2021.05/package/perl-www-form-urlencoded/perl-www-form-urlencoded.hash rename to buildroot-2022.02.1/package/perl-www-form-urlencoded/perl-www-form-urlencoded.hash diff --git a/buildroot-2021.05/package/perl-www-form-urlencoded/perl-www-form-urlencoded.mk b/buildroot-2022.02.1/package/perl-www-form-urlencoded/perl-www-form-urlencoded.mk similarity index 100% rename from buildroot-2021.05/package/perl-www-form-urlencoded/perl-www-form-urlencoded.mk rename to buildroot-2022.02.1/package/perl-www-form-urlencoded/perl-www-form-urlencoded.mk diff --git a/buildroot-2021.05/package/perl-www-robotrules/Config.in b/buildroot-2022.02.1/package/perl-www-robotrules/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-www-robotrules/Config.in rename to buildroot-2022.02.1/package/perl-www-robotrules/Config.in diff --git a/buildroot-2021.05/package/perl-www-robotrules/perl-www-robotrules.hash b/buildroot-2022.02.1/package/perl-www-robotrules/perl-www-robotrules.hash similarity index 100% rename from buildroot-2021.05/package/perl-www-robotrules/perl-www-robotrules.hash rename to buildroot-2022.02.1/package/perl-www-robotrules/perl-www-robotrules.hash diff --git a/buildroot-2021.05/package/perl-www-robotrules/perl-www-robotrules.mk b/buildroot-2022.02.1/package/perl-www-robotrules/perl-www-robotrules.mk similarity index 100% rename from buildroot-2021.05/package/perl-www-robotrules/perl-www-robotrules.mk rename to buildroot-2022.02.1/package/perl-www-robotrules/perl-www-robotrules.mk diff --git a/buildroot-2021.05/package/perl-x10/Config.in b/buildroot-2022.02.1/package/perl-x10/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-x10/Config.in rename to buildroot-2022.02.1/package/perl-x10/Config.in diff --git a/buildroot-2021.05/package/perl-x10/perl-x10.hash b/buildroot-2022.02.1/package/perl-x10/perl-x10.hash similarity index 100% rename from buildroot-2021.05/package/perl-x10/perl-x10.hash rename to buildroot-2022.02.1/package/perl-x10/perl-x10.hash diff --git a/buildroot-2021.05/package/perl-x10/perl-x10.mk b/buildroot-2022.02.1/package/perl-x10/perl-x10.mk similarity index 100% rename from buildroot-2021.05/package/perl-x10/perl-x10.mk rename to buildroot-2022.02.1/package/perl-x10/perl-x10.mk diff --git a/buildroot-2021.05/package/perl-xml-libxml/0001-Makefile-PL.patch b/buildroot-2022.02.1/package/perl-xml-libxml/0001-Makefile-PL.patch similarity index 100% rename from buildroot-2021.05/package/perl-xml-libxml/0001-Makefile-PL.patch rename to buildroot-2022.02.1/package/perl-xml-libxml/0001-Makefile-PL.patch diff --git a/buildroot-2021.05/package/perl-xml-libxml/Config.in b/buildroot-2022.02.1/package/perl-xml-libxml/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-xml-libxml/Config.in rename to buildroot-2022.02.1/package/perl-xml-libxml/Config.in diff --git a/buildroot-2021.05/package/perl-xml-libxml/perl-xml-libxml.hash b/buildroot-2022.02.1/package/perl-xml-libxml/perl-xml-libxml.hash similarity index 100% rename from buildroot-2021.05/package/perl-xml-libxml/perl-xml-libxml.hash rename to buildroot-2022.02.1/package/perl-xml-libxml/perl-xml-libxml.hash diff --git a/buildroot-2021.05/package/perl-xml-libxml/perl-xml-libxml.mk b/buildroot-2022.02.1/package/perl-xml-libxml/perl-xml-libxml.mk similarity index 100% rename from buildroot-2021.05/package/perl-xml-libxml/perl-xml-libxml.mk rename to buildroot-2022.02.1/package/perl-xml-libxml/perl-xml-libxml.mk diff --git a/buildroot-2021.05/package/perl-xml-namespacesupport/Config.in b/buildroot-2022.02.1/package/perl-xml-namespacesupport/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-xml-namespacesupport/Config.in rename to buildroot-2022.02.1/package/perl-xml-namespacesupport/Config.in diff --git a/buildroot-2021.05/package/perl-xml-namespacesupport/perl-xml-namespacesupport.hash b/buildroot-2022.02.1/package/perl-xml-namespacesupport/perl-xml-namespacesupport.hash similarity index 100% rename from buildroot-2021.05/package/perl-xml-namespacesupport/perl-xml-namespacesupport.hash rename to buildroot-2022.02.1/package/perl-xml-namespacesupport/perl-xml-namespacesupport.hash diff --git a/buildroot-2021.05/package/perl-xml-namespacesupport/perl-xml-namespacesupport.mk b/buildroot-2022.02.1/package/perl-xml-namespacesupport/perl-xml-namespacesupport.mk similarity index 100% rename from buildroot-2021.05/package/perl-xml-namespacesupport/perl-xml-namespacesupport.mk rename to buildroot-2022.02.1/package/perl-xml-namespacesupport/perl-xml-namespacesupport.mk diff --git a/buildroot-2021.05/package/perl-xml-sax-base/Config.in b/buildroot-2022.02.1/package/perl-xml-sax-base/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-xml-sax-base/Config.in rename to buildroot-2022.02.1/package/perl-xml-sax-base/Config.in diff --git a/buildroot-2021.05/package/perl-xml-sax-base/perl-xml-sax-base.hash b/buildroot-2022.02.1/package/perl-xml-sax-base/perl-xml-sax-base.hash similarity index 100% rename from buildroot-2021.05/package/perl-xml-sax-base/perl-xml-sax-base.hash rename to buildroot-2022.02.1/package/perl-xml-sax-base/perl-xml-sax-base.hash diff --git a/buildroot-2021.05/package/perl-xml-sax-base/perl-xml-sax-base.mk b/buildroot-2022.02.1/package/perl-xml-sax-base/perl-xml-sax-base.mk similarity index 100% rename from buildroot-2021.05/package/perl-xml-sax-base/perl-xml-sax-base.mk rename to buildroot-2022.02.1/package/perl-xml-sax-base/perl-xml-sax-base.mk diff --git a/buildroot-2021.05/package/perl-xml-sax/Config.in b/buildroot-2022.02.1/package/perl-xml-sax/Config.in similarity index 100% rename from buildroot-2021.05/package/perl-xml-sax/Config.in rename to buildroot-2022.02.1/package/perl-xml-sax/Config.in diff --git a/buildroot-2021.05/package/perl-xml-sax/perl-xml-sax.hash b/buildroot-2022.02.1/package/perl-xml-sax/perl-xml-sax.hash similarity index 100% rename from buildroot-2021.05/package/perl-xml-sax/perl-xml-sax.hash rename to buildroot-2022.02.1/package/perl-xml-sax/perl-xml-sax.hash diff --git a/buildroot-2021.05/package/perl-xml-sax/perl-xml-sax.mk b/buildroot-2022.02.1/package/perl-xml-sax/perl-xml-sax.mk similarity index 100% rename from buildroot-2021.05/package/perl-xml-sax/perl-xml-sax.mk rename to buildroot-2022.02.1/package/perl-xml-sax/perl-xml-sax.mk diff --git a/buildroot-2021.05/package/perl/Config.in b/buildroot-2022.02.1/package/perl/Config.in similarity index 100% rename from buildroot-2021.05/package/perl/Config.in rename to buildroot-2022.02.1/package/perl/Config.in diff --git a/buildroot-2022.02.1/package/perl/perl.hash b/buildroot-2022.02.1/package/perl/perl.hash new file mode 100644 index 00000000..b0f60ef6 --- /dev/null +++ b/buildroot-2022.02.1/package/perl/perl.hash @@ -0,0 +1,12 @@ +# Hashes from: https://www.cpan.org/src/5.0/perl-5.34.0.tar.xz.{md5,sha1,sha256}.txt +md5 df7ecb0653440b26dc951ad9dbfab517 perl-5.34.0.tar.xz +sha1 d461e206a1dca5e79d39e77debf0b564f6d77d37 perl-5.34.0.tar.xz +sha256 82c2e5e5c71b0e10487a80d79140469ab1f8056349ca8545140a224dbbed7ded perl-5.34.0.tar.xz + +# Hashes from: https://github.com/arsv/perl-cross/releases/download/1.3.6/perl-cross-1.3.6.hash +sha256 4010f41870d64e3957b4b8ce70ebba10a7c4a3e86c5551acb4099c3fcbb37ce5 perl-cross-1.3.6.tar.gz + +# Locally calculated +sha256 dd90d4f42e4dcadf5a7c09eea0189d93c7b37ae560c91f0f6d5233ed3b9292a2 Artistic +sha256 d77d235e41d54594865151f4751e835c5a82322b0e87ace266567c3391a4b912 Copying +sha256 df6ad59aefea68676c38325f25f6707f026ddde6c71291b2ca231b6247859907 README diff --git a/buildroot-2022.02.1/package/perl/perl.mk b/buildroot-2022.02.1/package/perl/perl.mk new file mode 100644 index 00000000..d7f9c58d --- /dev/null +++ b/buildroot-2022.02.1/package/perl/perl.mk @@ -0,0 +1,126 @@ +################################################################################ +# +# perl +# +################################################################################ + +# When updating the version here, also update utils/scancpan +PERL_VERSION_MAJOR = 34 +PERL_VERSION = 5.$(PERL_VERSION_MAJOR).0 +PERL_SITE = https://www.cpan.org/src/5.0 +PERL_SOURCE = perl-$(PERL_VERSION).tar.xz +PERL_LICENSE = Artistic or GPL-1.0+ +PERL_LICENSE_FILES = Artistic Copying README +PERL_CPE_ID_VENDOR = perl +PERL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +PERL_INSTALL_STAGING = YES + +PERL_CROSS_VERSION = 1.3.6 +# DO NOT refactor with the github helper (the result is not the same) +PERL_CROSS_SITE = https://github.com/arsv/perl-cross/releases/download/$(PERL_CROSS_VERSION) +PERL_CROSS_SOURCE = perl-cross-$(PERL_CROSS_VERSION).tar.gz +PERL_EXTRA_DOWNLOADS = $(PERL_CROSS_SITE)/$(PERL_CROSS_SOURCE) + +# We use the perlcross hack to cross-compile perl. It should +# be extracted over the perl sources, so we don't define that +# as a separate package. Instead, it is downloaded and extracted +# together with perl +define PERL_CROSS_EXTRACT + $(call suitable-extractor,$(PERL_CROSS_SOURCE)) $(PERL_DL_DIR)/$(PERL_CROSS_SOURCE) | \ + $(TAR) --strip-components=1 -C $(@D) $(TAR_OPTIONS) - +endef +PERL_POST_EXTRACT_HOOKS += PERL_CROSS_EXTRACT + +# Even though perl is not an autotools-package, it uses config.sub and +# config.guess. Up-to-date versions of these files may be needed to build perl +# on newer host architectures, so we borrow the hook which updates them from the +# autotools infrastructure. +PERL_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK + +ifeq ($(BR2_PACKAGE_BERKELEYDB),y) +PERL_DEPENDENCIES += berkeleydb +endif +ifeq ($(BR2_PACKAGE_GDBM),y) +PERL_DEPENDENCIES += gdbm +endif + +# We have to override LD, because an external multilib toolchain ld is not +# wrapped to provide the required sysroot options. +PERL_CONF_OPTS = \ + --target=$(GNU_TARGET_NAME) \ + --target-tools-prefix=$(TARGET_CROSS) \ + --prefix=/usr \ + -Dld="$(TARGET_CC)" \ + -Dccflags="$(TARGET_CFLAGS)" \ + -Dldflags="$(TARGET_LDFLAGS) -lm $(TARGET_NLS_LIBS)" \ + -Dmydomain="" \ + -Dmyhostname="noname" \ + -Dmyuname="Buildroot $(BR2_VERSION_FULL)" \ + -Dosname=linux \ + -Dosvers=$(LINUX_VERSION) \ + -Dperladmin=root + +ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1) +PERL_CONF_OPTS += -Dusedevel +endif + +ifeq ($(BR2_PACKAGE_PERL_THREADS),y) +PERL_CONF_OPTS += -Dusethreads +endif + +ifeq ($(BR2_STATIC_LIBS),y) +PERL_CONF_OPTS += --all-static --no-dynaloader +endif + +PERL_MODULES = $(call qstrip,$(BR2_PACKAGE_PERL_MODULES)) +ifneq ($(PERL_MODULES),) +PERL_CONF_OPTS += --only-mod=$(subst $(space),$(comma),$(PERL_MODULES)) +endif + +define PERL_CONFIGURE_CMDS + (cd $(@D); $(TARGET_MAKE_ENV) HOSTCC='$(HOSTCC_NOCCACHE)' \ + ./configure $(PERL_CONF_OPTS)) + $(SED) 's/UNKNOWN-/Buildroot $(subst /,\/,$(BR2_VERSION_FULL)) /' $(@D)/patchlevel.h +endef + +define PERL_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) all +endef + +define PERL_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR="$(STAGING_DIR)" install.perl install.sym +endef + +define PERL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" install.perl install.sym +endef + +HOST_PERL_CONF_OPTS = \ + -des \ + -Dprefix="$(HOST_DIR)" \ + -Dcc="$(HOSTCC)" + +define HOST_PERL_CONFIGURE_CMDS + (cd $(@D); $(HOST_MAKE_ENV) HOSTCC='$(HOSTCC_NOCCACHE)' \ + ./Configure $(HOST_PERL_CONF_OPTS)) +endef + +define HOST_PERL_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_PERL_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) INSTALL_DEPENDENCE='' install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) + +define PERL_FINALIZE_TARGET + rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/pod + rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE + find $(TARGET_DIR)/usr/lib/perl5/ -name 'extralibs.ld' -print0 | xargs -0 rm -f + find $(TARGET_DIR)/usr/lib/perl5/ -name '*.bs' -print0 | xargs -0 rm -f + find $(TARGET_DIR)/usr/lib/perl5/ -name '.packlist' -print0 | xargs -0 rm -f +endef +PERL_TARGET_FINALIZE_HOOKS += PERL_FINALIZE_TARGET diff --git a/buildroot-2021.05/package/phidgetwebservice/Config.in b/buildroot-2022.02.1/package/phidgetwebservice/Config.in similarity index 100% rename from buildroot-2021.05/package/phidgetwebservice/Config.in rename to buildroot-2022.02.1/package/phidgetwebservice/Config.in diff --git a/buildroot-2022.02.1/package/phidgetwebservice/phidgetwebservice.hash b/buildroot-2022.02.1/package/phidgetwebservice/phidgetwebservice.hash new file mode 100644 index 00000000..49017f29 --- /dev/null +++ b/buildroot-2022.02.1/package/phidgetwebservice/phidgetwebservice.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 aa63cbd2ab87182d6e0c05d553ee4c8cc73d268516d8e0a1e881baed391c081d phidgetwebservice_2.1.9.20190409.tar.gz +sha256 ea8af5e789cb2d4e9b10bce3874982ade163b749b6bfbdb32e2df21c4d106de1 COPYING diff --git a/buildroot-2022.02.1/package/phidgetwebservice/phidgetwebservice.mk b/buildroot-2022.02.1/package/phidgetwebservice/phidgetwebservice.mk new file mode 100644 index 00000000..b5f335c4 --- /dev/null +++ b/buildroot-2022.02.1/package/phidgetwebservice/phidgetwebservice.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# phidgetwebservice +# +################################################################################ + +PHIDGETWEBSERVICE_VERSION = 2.1.9.20190409 +PHIDGETWEBSERVICE_SOURCE = phidgetwebservice_$(PHIDGETWEBSERVICE_VERSION).tar.gz +PHIDGETWEBSERVICE_SITE = https://www.phidgets.com/downloads/phidget21/servers/linux/phidgetwebservice +PHIDGETWEBSERVICE_DEPENDENCIES = libphidget +PHIDGETWEBSERVICE_LICENSE = LGPL-3.0 +PHIDGETWEBSERVICE_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/php-amqp/0001-add-build-support-for-php-8.patch b/buildroot-2022.02.1/package/php-amqp/0001-add-build-support-for-php-8.patch new file mode 100644 index 00000000..6fe09ad3 --- /dev/null +++ b/buildroot-2022.02.1/package/php-amqp/0001-add-build-support-for-php-8.patch @@ -0,0 +1,54 @@ +From 96cd5cb5eddd3db2faaa3643dad2fe4677d7c438 Mon Sep 17 00:00:00 2001 +From: mmokhi +Date: Thu, 30 Jul 2020 11:25:33 +0200 +Subject: [PATCH] Add build support for PHP8.0 (#381) + +From upstream commit: 96cd5cb5eddd3db2faaa3643dad2fe4677d7c438 + +Signed-off-by: mmokhi +Signed-off-by: Adam Duskett +--- + amqp_envelope.h | 7 +++++++ + php7_support.h | 11 +++++++++++ + 2 files changed, 18 insertions(+) + +diff --git a/amqp_envelope.h b/amqp_envelope.h +index e63a3a5..e315682 100644 +--- a/amqp_envelope.h ++++ b/amqp_envelope.h +@@ -20,6 +20,13 @@ + | - Jonathan Tansavatdi | + +----------------------------------------------------------------------+ + */ ++ ++#if PHP_MAJOR_VERSION >= 7 ++ #include "php7_support.h" ++#else ++ #include "php5_support.h" ++#endif ++ + extern zend_class_entry *amqp_envelope_class_entry; + + void convert_amqp_envelope_to_zval(amqp_envelope_t *amqp_envelope, zval *envelope TSRMLS_DC); +diff --git a/php7_support.h b/php7_support.h +index 47ce983..c9e8f5b 100644 +--- a/php7_support.h ++++ b/php7_support.h +@@ -101,6 +101,17 @@ typedef zval PHP5to7_zend_resource_le_t; + + #define PHP5to7_ZEND_ACC_FINAL_CLASS ZEND_ACC_FINAL + ++/* Small change to let it build after a major internal change for php8.0 ++ * More info: ++ * https://github.com/php/php-src/blob/php-8.0.0alpha3/UPGRADING.INTERNALS#L47 ++ */ ++#if PHP_MAJOR_VERSION >= 8 ++# define TSRMLS_DC ++# define TSRMLS_D ++# define TSRMLS_CC ++# define TSRMLS_C ++# endif ++ + #endif //PHP_AMQP_PHP7_SUPPORT_H + + /* diff --git a/buildroot-2022.02.1/package/php-amqp/0002-more-work-for-php-8.patch b/buildroot-2022.02.1/package/php-amqp/0002-more-work-for-php-8.patch new file mode 100644 index 00000000..3651f5a0 --- /dev/null +++ b/buildroot-2022.02.1/package/php-amqp/0002-more-work-for-php-8.patch @@ -0,0 +1,1265 @@ +From df1241852b359cf12c346beaa68de202257efdf1 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 9 Dec 2020 17:00:46 +0100 +Subject: [PATCH] more work for PHP 8 (#383) + +* more work for PHP 8 + +* split test + +Signed-off-by: Remi Collet +Signed-off-by: Adam Duskett +--- + amqp_basic_properties.c | 84 +++++++++++++-------------- + amqp_channel.c | 49 +++++++++------- + amqp_connection.c | 106 +++++++++++++++++----------------- + amqp_connection_resource.c | 12 ++-- + amqp_decimal.c | 8 +-- + amqp_envelope.c | 12 ++-- + amqp_exchange.c | 22 +++---- + amqp_queue.c | 38 ++++++------ + amqp_timestamp.c | 6 +- + amqp_type.c | 6 +- + php5_support.h | 2 + + php7_support.h | 9 +++ + php_amqp.h | 8 +-- + tests/amqptimestamp.phpt | 4 +- + tests/amqptimestamp_php8.phpt | 60 +++++++++++++++++++ + tests/bug_61533.phpt | 2 +- + 16 files changed, 254 insertions(+), 174 deletions(-) + create mode 100644 tests/amqptimestamp_php8.phpt + +diff --git a/amqp_basic_properties.c b/amqp_basic_properties.c +index 69b813e..5375f44 100644 +--- a/amqp_basic_properties.c ++++ b/amqp_basic_properties.c +@@ -70,7 +70,7 @@ void php_amqp_basic_properties_set_empty_headers(zval *obj TSRMLS_DC) { + PHP5to7_MAYBE_INIT(headers); + PHP5to7_ARRAY_INIT(headers); + +- zend_update_property(this_ce, obj, ZEND_STRL("headers"), PHP5to7_MAYBE_PTR(headers) TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("headers"), PHP5to7_MAYBE_PTR(headers) TSRMLS_CC); + + PHP5to7_MAYBE_DESTROY(headers); + } +@@ -118,29 +118,29 @@ static PHP_METHOD(AMQPBasicProperties, __construct) { + ) == FAILURE) { + return; + } +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("content_type"), content_type, content_type_len TSRMLS_CC); +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("content_encoding"), content_encoding, content_encoding_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("content_type"), content_type, content_type_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("content_encoding"), content_encoding, content_encoding_len TSRMLS_CC); + + if (headers != NULL) { +- zend_update_property(this_ce, getThis(), ZEND_STRL("headers"), headers TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("headers"), headers TSRMLS_CC); + } else { + php_amqp_basic_properties_set_empty_headers(getThis() TSRMLS_CC); + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("delivery_mode"), delivery_mode TSRMLS_CC); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("priority"), priority TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("delivery_mode"), delivery_mode TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("priority"), priority TSRMLS_CC); + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("correlation_id"), correlation_id, correlation_id_len TSRMLS_CC); +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("reply_to"), reply_to, reply_to_len TSRMLS_CC); +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("expiration"), expiration, expiration_len TSRMLS_CC); +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("message_id"), message_id, message_id_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("correlation_id"), correlation_id, correlation_id_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("reply_to"), reply_to, reply_to_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("expiration"), expiration, expiration_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("message_id"), message_id, message_id_len TSRMLS_CC); + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("timestamp"), timestamp TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("timestamp"), timestamp TSRMLS_CC); + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("type"), type, type_len TSRMLS_CC); +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("user_id"), user_id, user_id_len TSRMLS_CC); +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("app_id"), app_id, app_id_len TSRMLS_CC); +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("cluster_id"), cluster_id, cluster_id_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("type"), type, type_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("user_id"), user_id, user_id_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("app_id"), app_id, app_id_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("cluster_id"), cluster_id, cluster_id_len TSRMLS_CC); + } + /* }}} */ + +@@ -460,7 +460,7 @@ void parse_amqp_table(amqp_table_t *table, zval *result TSRMLS_DC) { + object_init_ex(PHP5to7_MAYBE_PTR(value), amqp_timestamp_class_entry); + + zend_call_method_with_1_params( +- &value, ++ PHP5to8_OBJ_PROP(&value), + amqp_timestamp_class_entry, + NULL, + "__construct", +@@ -488,7 +488,7 @@ void parse_amqp_table(amqp_table_t *table, zval *result TSRMLS_DC) { + object_init_ex(PHP5to7_MAYBE_PTR(value), amqp_decimal_class_entry); + + zend_call_method_with_2_params( +- &value, ++ PHP5to8_OBJ_PROP(&value), + amqp_decimal_class_entry, + NULL, + "__construct", +@@ -525,93 +525,93 @@ void php_amqp_basic_properties_extract(amqp_basic_properties_t *p, zval *obj TSR + PHP5to7_ARRAY_INIT(headers); + + if (p->_flags & AMQP_BASIC_CONTENT_TYPE_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("content_type"), (const char *) p->content_type.bytes, (PHP5to7_param_str_len_type_t) p->content_type.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("content_type"), (const char *) p->content_type.bytes, (PHP5to7_param_str_len_type_t) p->content_type.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("content_type"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("content_type"), "", 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_CONTENT_ENCODING_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("content_encoding"), (const char *) p->content_encoding.bytes, (PHP5to7_param_str_len_type_t) p->content_encoding.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("content_encoding"), (const char *) p->content_encoding.bytes, (PHP5to7_param_str_len_type_t) p->content_encoding.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("content_encoding"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("content_encoding"), "", 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_HEADERS_FLAG) { + parse_amqp_table(&(p->headers), PHP5to7_MAYBE_PTR(headers) TSRMLS_CC); + } + +- zend_update_property(this_ce, obj, ZEND_STRL("headers"), PHP5to7_MAYBE_PTR(headers) TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("headers"), PHP5to7_MAYBE_PTR(headers) TSRMLS_CC); + + if (p->_flags & AMQP_BASIC_DELIVERY_MODE_FLAG) { +- zend_update_property_long(this_ce, obj, ZEND_STRL("delivery_mode"), (PHP5to7_param_long_type_t) p->delivery_mode TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("delivery_mode"), (PHP5to7_param_long_type_t) p->delivery_mode TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_long(this_ce, obj, ZEND_STRL("delivery_mode"), AMQP_DELIVERY_NONPERSISTENT TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("delivery_mode"), AMQP_DELIVERY_NONPERSISTENT TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_PRIORITY_FLAG) { +- zend_update_property_long(this_ce, obj, ZEND_STRL("priority"), (PHP5to7_param_long_type_t) p->priority TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("priority"), (PHP5to7_param_long_type_t) p->priority TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_long(this_ce, obj, ZEND_STRL("priority"), 0 TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("priority"), 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_CORRELATION_ID_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("correlation_id"), (const char *) p->correlation_id.bytes, (PHP5to7_param_str_len_type_t) p->correlation_id.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("correlation_id"), (const char *) p->correlation_id.bytes, (PHP5to7_param_str_len_type_t) p->correlation_id.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("correlation_id"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("correlation_id"), "", 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_REPLY_TO_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("reply_to"), (const char *) p->reply_to.bytes, (PHP5to7_param_str_len_type_t) p->reply_to.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("reply_to"), (const char *) p->reply_to.bytes, (PHP5to7_param_str_len_type_t) p->reply_to.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("reply_to"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("reply_to"), "", 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_EXPIRATION_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("expiration"), (const char *) p->expiration.bytes, (PHP5to7_param_str_len_type_t) p->expiration.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("expiration"), (const char *) p->expiration.bytes, (PHP5to7_param_str_len_type_t) p->expiration.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("expiration"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("expiration"), "", 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_MESSAGE_ID_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("message_id"), (const char *) p->message_id.bytes, (PHP5to7_param_str_len_type_t) p->message_id.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("message_id"), (const char *) p->message_id.bytes, (PHP5to7_param_str_len_type_t) p->message_id.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("message_id"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("message_id"), "", 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_TIMESTAMP_FLAG) { +- zend_update_property_long(this_ce, obj, ZEND_STRL("timestamp"), (PHP5to7_param_long_type_t) p->timestamp TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("timestamp"), (PHP5to7_param_long_type_t) p->timestamp TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_long(this_ce, obj, ZEND_STRL("timestamp"), 0 TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("timestamp"), 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_TYPE_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("type"), (const char *) p->type.bytes, (PHP5to7_param_str_len_type_t) p->type.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("type"), (const char *) p->type.bytes, (PHP5to7_param_str_len_type_t) p->type.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("type"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("type"), "", 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_USER_ID_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("user_id"), (const char *) p->user_id.bytes, (PHP5to7_param_str_len_type_t) p->user_id.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("user_id"), (const char *) p->user_id.bytes, (PHP5to7_param_str_len_type_t) p->user_id.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("user_id"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("user_id"), "", 0 TSRMLS_CC); + } + + if (p->_flags & AMQP_BASIC_APP_ID_FLAG) { +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("app_id"), (const char *) p->app_id.bytes, (PHP5to7_param_str_len_type_t) p->app_id.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("app_id"), (const char *) p->app_id.bytes, (PHP5to7_param_str_len_type_t) p->app_id.len TSRMLS_CC); + } else { + /* BC */ +- zend_update_property_stringl(this_ce, obj, ZEND_STRL("app_id"), "", 0 TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(obj), ZEND_STRL("app_id"), "", 0 TSRMLS_CC); + } + + PHP5to7_MAYBE_DESTROY(headers); +diff --git a/amqp_channel.c b/amqp_channel.c +index ef9552a..493c6d3 100644 +--- a/amqp_channel.c ++++ b/amqp_channel.c +@@ -152,10 +152,15 @@ static zval * php_amqp_get_fci_gc_data(zend_fcall_info *fci, zval *gc_data) { + return gc_data; + } + ++#if PHP_MAJOR_VERSION < 8 + static HashTable *amqp_channel_gc(zval *object, zval **table, int *n) /* {{{ */ + { +- amqp_channel_object *channel = PHP_AMQP_GET_CHANNEL(object); +- ++ amqp_channel_object *channel = PHP_AMQP_GET_CHANNEL(object); ++#else ++static HashTable *amqp_channel_gc(zend_object *object, zval **table, int *n) /* {{{ */ ++{ ++ amqp_channel_object *channel = php_amqp_channel_object_fetch(object); ++#endif + int basic_return_cnt = php_amqp_get_fci_gc_data_count(&channel->callbacks.basic_return.fci); + int basic_ack_cnt = php_amqp_get_fci_gc_data_count(&channel->callbacks.basic_ack.fci); + int basic_nack_cnt = php_amqp_get_fci_gc_data_count(&channel->callbacks.basic_nack.fci); +@@ -249,7 +254,7 @@ static HashTable *amqp_channel_gc(zval *object, zval ***table, int *n TSRMLS_DC) + *table = channel->gc_data; + *n = cnt; + +- return zend_std_get_properties(object TSRMLS_CC); ++ return zend_std_get_properties(PHP5to8_OBJ_PROP(object) TSRMLS_CC); + } /* }}} */ + + #endif +@@ -331,7 +336,7 @@ static PHP_METHOD(amqp_channel_class, __construct) + amqp_connection_object *connection; + + /* Parse out the method parameters */ +- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &connection_object) == FAILURE) { ++ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &connection_object, amqp_connection_class_entry) == FAILURE) { + zend_throw_exception(amqp_channel_exception_class_entry, "Parameter must be an instance of AMQPConnection.", 0 TSRMLS_CC); + RETURN_NULL(); + } +@@ -341,7 +346,7 @@ static PHP_METHOD(amqp_channel_class, __construct) + PHP5to7_MAYBE_INIT(consumers); + PHP5to7_ARRAY_INIT(consumers); + +- zend_update_property(this_ce, getThis(), ZEND_STRL("consumers"), PHP5to7_MAYBE_PTR(consumers) TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("consumers"), PHP5to7_MAYBE_PTR(consumers) TSRMLS_CC); + + PHP5to7_MAYBE_DESTROY(consumers); + +@@ -351,16 +356,16 @@ static PHP_METHOD(amqp_channel_class, __construct) + #endif + + /* Set the prefetch count */ +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("prefetch_count"), INI_INT("amqp.prefetch_count") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("prefetch_count"), INI_INT("amqp.prefetch_count") TSRMLS_CC); + + /* Set the prefetch size */ +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("prefetch_size"), INI_INT("amqp.prefetch_size") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("prefetch_size"), INI_INT("amqp.prefetch_size") TSRMLS_CC); + + /* Set the global prefetch count */ +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("global_prefetch_count"), INI_INT("amqp.global_prefetch_count") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("global_prefetch_count"), INI_INT("amqp.global_prefetch_count") TSRMLS_CC); + + /* Set the global prefetch size */ +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("global_prefetch_size"), INI_INT("amqp.global_prefetch_size") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("global_prefetch_size"), INI_INT("amqp.global_prefetch_size") TSRMLS_CC); + + /* Pull out and verify the connection */ + connection = PHP_AMQP_GET_CONNECTION(connection_object); +@@ -376,7 +381,7 @@ static PHP_METHOD(amqp_channel_class, __construct) + return; + } + +- zend_update_property(this_ce, getThis(), ZEND_STRL("connection"), connection_object TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("connection"), connection_object TSRMLS_CC); + + channel_resource = (amqp_channel_resource*)ecalloc(1, sizeof(amqp_channel_resource)); + channel->channel_resource = channel_resource; +@@ -580,8 +585,8 @@ static PHP_METHOD(amqp_channel_class, setPrefetchCount) + } + + /* Set the prefetch count - the implication is to disable the size */ +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("prefetch_count"), prefetch_count TSRMLS_CC); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("prefetch_size"), 0 TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("prefetch_count"), prefetch_count TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("prefetch_size"), 0 TSRMLS_CC); + + RETURN_TRUE; + } +@@ -659,8 +664,8 @@ static PHP_METHOD(amqp_channel_class, setPrefetchSize) + } + + /* Set the prefetch size - the implication is to disable the count */ +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("prefetch_count"), 0 TSRMLS_CC); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("prefetch_size"), prefetch_size TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("prefetch_count"), 0 TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("prefetch_size"), prefetch_size TSRMLS_CC); + + RETURN_TRUE; + } +@@ -715,8 +720,8 @@ static PHP_METHOD(amqp_channel_class, setGlobalPrefetchCount) + } + + /* Set the global prefetch count - the implication is to disable the size */ +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("global_prefetch_count"), global_prefetch_count TSRMLS_CC); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("global_prefetch_size"), 0 TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("global_prefetch_count"), global_prefetch_count TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("global_prefetch_size"), 0 TSRMLS_CC); + + RETURN_TRUE; + } +@@ -771,8 +776,8 @@ static PHP_METHOD(amqp_channel_class, setGlobalPrefetchSize) + } + + /* Set the global prefetch size - the implication is to disable the count */ +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("global_prefetch_count"), 0 TSRMLS_CC); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("global_prefetch_size"), global_prefetch_size TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("global_prefetch_count"), 0 TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("global_prefetch_size"), global_prefetch_size TSRMLS_CC); + + RETURN_TRUE; + } +@@ -808,11 +813,11 @@ static PHP_METHOD(amqp_channel_class, qos) + + /* Set the prefetch size and prefetch count */ + if (global) { +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("global_prefetch_size"), prefetch_size TSRMLS_CC); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("global_prefetch_count"), prefetch_count TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("global_prefetch_size"), prefetch_size TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("global_prefetch_count"), prefetch_count TSRMLS_CC); + } else { +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("prefetch_size"), prefetch_size TSRMLS_CC); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("prefetch_count"), prefetch_count TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("prefetch_size"), prefetch_size TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("prefetch_count"), prefetch_count TSRMLS_CC); + } + + /* If we are already connected, set the new prefetch count */ +diff --git a/amqp_connection.c b/amqp_connection.c +index 5891a4f..466501a 100644 +--- a/amqp_connection.c ++++ b/amqp_connection.c +@@ -68,9 +68,9 @@ zend_object_handlers amqp_connection_object_handlers; + convert_to_string(PHP5to7_MAYBE_DEREF(zdata)); \ + } \ + if (zdata && Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) > 0) { \ +- zend_update_property_string(this_ce, getThis(), ZEND_STRL(name), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); \ ++ zend_update_property_string(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL(name), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); \ + } else { \ +- zend_update_property_string(this_ce, getThis(), ZEND_STRL(name), INI_STR("amqp." name) TSRMLS_CC); \ ++ zend_update_property_string(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL(name), INI_STR("amqp." name) TSRMLS_CC); \ + } + + #define PHP_AMQP_EXTRACT_CONNECTION_BOOL(name) \ +@@ -80,9 +80,9 @@ zend_object_handlers amqp_connection_object_handlers; + convert_to_long(PHP5to7_MAYBE_DEREF(zdata)); \ + } \ + if (zdata) { \ +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL(name), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); \ ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL(name), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); \ + } else { \ +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL(name), INI_INT("amqp." name) TSRMLS_CC); \ ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL(name), INI_INT("amqp." name) TSRMLS_CC); \ + } + + static int php_amqp_connection_resource_deleter(PHP5to7_zend_resource_le_t *el, amqp_connection_resource *connection_resource TSRMLS_DC) +@@ -344,13 +344,13 @@ static PHP_METHOD(amqp_connection_class, __construct) + /* Validate the given login */ + if (zdata && Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) > 0) { + if (Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) < 128) { +- zend_update_property(this_ce, getThis(), ZEND_STRL("login"), PHP5to7_MAYBE_DEREF(zdata)TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("login"), PHP5to7_MAYBE_DEREF(zdata)TSRMLS_CC); + } else { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'login' exceeds 128 character limit.", 0 TSRMLS_CC); + return; + } + } else { +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("login"), INI_STR("amqp.login"), (PHP5to7_param_str_len_type_t) (strlen(INI_STR("amqp.login")) > 128 ? 128 : strlen(INI_STR("amqp.login"))) TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("login"), INI_STR("amqp.login"), (PHP5to7_param_str_len_type_t) (strlen(INI_STR("amqp.login")) > 128 ? 128 : strlen(INI_STR("amqp.login"))) TSRMLS_CC); + } + + /* Pull the password out of the $params array */ +@@ -362,13 +362,13 @@ static PHP_METHOD(amqp_connection_class, __construct) + /* Validate the given password */ + if (zdata && Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) > 0) { + if (Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) < 128) { +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("password"), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)), Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("password"), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)), Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } else { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'password' exceeds 128 character limit.", 0 TSRMLS_CC); + return; + } + } else { +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("password"), INI_STR("amqp.password"), (PHP5to7_param_str_len_type_t) (strlen(INI_STR("amqp.password")) > 128 ? 128 : strlen(INI_STR("amqp.password"))) TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("password"), INI_STR("amqp.password"), (PHP5to7_param_str_len_type_t) (strlen(INI_STR("amqp.password")) > 128 ? 128 : strlen(INI_STR("amqp.password"))) TSRMLS_CC); + } + + /* Pull the host out of the $params array */ +@@ -380,13 +380,13 @@ static PHP_METHOD(amqp_connection_class, __construct) + /* Validate the given host */ + if (zdata && Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) > 0) { + if (Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) < 128) { +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("host"), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)), Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("host"), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)), Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } else { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'host' exceeds 128 character limit.", 0 TSRMLS_CC); + return; + } + } else { +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("host"), INI_STR("amqp.host"), (PHP5to7_param_str_len_type_t) (strlen(INI_STR("amqp.host")) > 128 ? 128 : strlen(INI_STR("amqp.host"))) TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("host"), INI_STR("amqp.host"), (PHP5to7_param_str_len_type_t) (strlen(INI_STR("amqp.host")) > 128 ? 128 : strlen(INI_STR("amqp.host"))) TSRMLS_CC); + } + + /* Pull the vhost out of the $params array */ +@@ -398,25 +398,25 @@ static PHP_METHOD(amqp_connection_class, __construct) + /* Validate the given vhost */ + if (zdata && Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) > 0) { + if (Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) < 128) { +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("vhost"), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)), Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("vhost"), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)), Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } else { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'vhost' exceeds 128 character limit.", 0 TSRMLS_CC); + return; + } + } else { +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("vhost"), INI_STR("amqp.vhost"), (PHP5to7_param_str_len_type_t) (strlen(INI_STR("amqp.vhost")) > 128 ? 128 : strlen(INI_STR("amqp.vhost"))) TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("vhost"), INI_STR("amqp.vhost"), (PHP5to7_param_str_len_type_t) (strlen(INI_STR("amqp.vhost")) > 128 ? 128 : strlen(INI_STR("amqp.vhost"))) TSRMLS_CC); + + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("port"), INI_INT("amqp.port") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("port"), INI_INT("amqp.port") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "port", sizeof("port"), zdata)) { + SEPARATE_ZVAL(zdata); + convert_to_long(PHP5to7_MAYBE_DEREF(zdata)); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("port"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("port"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("read_timeout"), INI_FLT("amqp.read_timeout") TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("read_timeout"), INI_FLT("amqp.read_timeout") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "read_timeout", sizeof("read_timeout"), zdata)) { + SEPARATE_ZVAL(zdata); +@@ -424,7 +424,7 @@ static PHP_METHOD(amqp_connection_class, __construct) + if (Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) < 0) { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'read_timeout' must be greater than or equal to zero.", 0 TSRMLS_CC); + } else { +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("read_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("read_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "timeout", sizeof("timeout"), zdata)) { +@@ -441,7 +441,7 @@ static PHP_METHOD(amqp_connection_class, __construct) + if (Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) < 0) { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'timeout' must be greater than or equal to zero.", 0 TSRMLS_CC); + } else { +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("read_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("read_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + } else { + +@@ -450,17 +450,17 @@ static PHP_METHOD(amqp_connection_class, __construct) + php_error_docref(NULL TSRMLS_CC, E_DEPRECATED, "INI setting 'amqp.timeout' is deprecated; use 'amqp.read_timeout' instead"); + + if (strcmp(DEFAULT_READ_TIMEOUT, INI_STR("amqp.read_timeout")) == 0) { +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("read_timeout"), INI_FLT("amqp.timeout") TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("read_timeout"), INI_FLT("amqp.timeout") TSRMLS_CC); + } else { + php_error_docref(NULL TSRMLS_CC, E_NOTICE, "INI setting 'amqp.read_timeout' will be used instead of 'amqp.timeout'"); +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("read_timeout"), INI_FLT("amqp.read_timeout") TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("read_timeout"), INI_FLT("amqp.read_timeout") TSRMLS_CC); + } + } else { +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("read_timeout"), INI_FLT("amqp.read_timeout") TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("read_timeout"), INI_FLT("amqp.read_timeout") TSRMLS_CC); + } + } + +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("write_timeout"), INI_FLT("amqp.write_timeout") TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("write_timeout"), INI_FLT("amqp.write_timeout") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "write_timeout", sizeof("write_timeout"), zdata)) { + SEPARATE_ZVAL(zdata); +@@ -468,11 +468,11 @@ static PHP_METHOD(amqp_connection_class, __construct) + if (Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) < 0) { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'write_timeout' must be greater than or equal to zero.", 0 TSRMLS_CC); + } else { +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("write_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("write_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + } + +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("rpc_timeout"), INI_FLT("amqp.rpc_timeout") TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("rpc_timeout"), INI_FLT("amqp.rpc_timeout") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "rpc_timeout", sizeof("rpc_timeout"), zdata)) { + SEPARATE_ZVAL(zdata); +@@ -480,11 +480,11 @@ static PHP_METHOD(amqp_connection_class, __construct) + if (Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) < 0) { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'rpc_timeout' must be greater than or equal to zero.", 0 TSRMLS_CC); + } else { +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("rpc_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("rpc_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + } + +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("connect_timeout"), INI_FLT("amqp.connect_timeout") TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("connect_timeout"), INI_FLT("amqp.connect_timeout") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "connect_timeout", sizeof("connect_timeout"), zdata)) { + SEPARATE_ZVAL(zdata); +@@ -492,12 +492,12 @@ static PHP_METHOD(amqp_connection_class, __construct) + if (Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) < 0) { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'connect_timeout' must be greater than or equal to zero.", 0 TSRMLS_CC); + } else { +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("connect_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("connect_timeout"), Z_DVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + + } + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("channel_max"), INI_INT("amqp.channel_max") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("channel_max"), INI_INT("amqp.channel_max") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "channel_max", sizeof("channel_max"), zdata)) { + SEPARATE_ZVAL(zdata); +@@ -506,14 +506,14 @@ static PHP_METHOD(amqp_connection_class, __construct) + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'channel_max' is out of range.", 0 TSRMLS_CC); + } else { + if(Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) == 0) { +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("channel_max"), PHP_AMQP_DEFAULT_CHANNEL_MAX TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("channel_max"), PHP_AMQP_DEFAULT_CHANNEL_MAX TSRMLS_CC); + } else { +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("channel_max"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("channel_max"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + } + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("frame_max"), INI_INT("amqp.frame_max") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("frame_max"), INI_INT("amqp.frame_max") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "frame_max", sizeof("frame_max"), zdata)) { + SEPARATE_ZVAL(zdata); +@@ -522,14 +522,14 @@ static PHP_METHOD(amqp_connection_class, __construct) + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'frame_max' is out of range.", 0 TSRMLS_CC); + } else { + if(Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) == 0) { +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("frame_max"), PHP_AMQP_DEFAULT_FRAME_MAX TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("frame_max"), PHP_AMQP_DEFAULT_FRAME_MAX TSRMLS_CC); + } else { +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("frame_max"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("frame_max"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + } + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("heartbeat"), INI_INT("amqp.heartbeat") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("heartbeat"), INI_INT("amqp.heartbeat") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "heartbeat", sizeof("heartbeat"), zdata)) { + SEPARATE_ZVAL(zdata); +@@ -537,16 +537,16 @@ static PHP_METHOD(amqp_connection_class, __construct) + if (Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) < 0 || Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) > PHP_AMQP_MAX_HEARTBEAT) { + zend_throw_exception(amqp_connection_exception_class_entry, "Parameter 'heartbeat' is out of range.", 0 TSRMLS_CC); + } else { +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("heartbeat"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("heartbeat"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("sasl_method"), INI_INT("amqp.sasl_method") TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("sasl_method"), INI_INT("amqp.sasl_method") TSRMLS_CC); + + if (ini_arr && PHP5to7_ZEND_HASH_FIND(HASH_OF(ini_arr), "sasl_method", sizeof("sasl_method"), zdata)) { + SEPARATE_ZVAL(zdata); + convert_to_long(PHP5to7_MAYBE_DEREF(zdata)); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("sasl_method"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("sasl_method"), Z_LVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + + +@@ -563,7 +563,7 @@ static PHP_METHOD(amqp_connection_class, __construct) + convert_to_string(PHP5to7_MAYBE_DEREF(zdata)); + } + if (zdata && Z_STRLEN_P(PHP5to7_MAYBE_DEREF(zdata)) > 0) { +- zend_update_property_string(this_ce, getThis(), ZEND_STRL("connection_name"), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); ++ zend_update_property_string(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("connection_name"), Z_STRVAL_P(PHP5to7_MAYBE_DEREF(zdata)) TSRMLS_CC); + } + } + /* }}} */ +@@ -789,7 +789,7 @@ static PHP_METHOD(amqp_connection_class, setLogin) + return; + } + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("login"), login, login_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("login"), login, login_len TSRMLS_CC); + + RETURN_TRUE; + } +@@ -823,7 +823,7 @@ static PHP_METHOD(amqp_connection_class, setPassword) + return; + } + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("password"), password, password_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("password"), password, password_len TSRMLS_CC); + + RETURN_TRUE; + } +@@ -858,7 +858,7 @@ static PHP_METHOD(amqp_connection_class, setHost) + return; + } + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("host"), host, host_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("host"), host, host_len TSRMLS_CC); + + RETURN_TRUE; + } +@@ -910,7 +910,7 @@ static PHP_METHOD(amqp_connection_class, setPort) + return; + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("port"), port TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("port"), port TSRMLS_CC); + + RETURN_TRUE; + } +@@ -943,7 +943,7 @@ static PHP_METHOD(amqp_connection_class, setVhost) + return; + } + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("vhost"), vhost, vhost_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("vhost"), vhost, vhost_len TSRMLS_CC); + + RETURN_TRUE; + } +@@ -986,7 +986,7 @@ static PHP_METHOD(amqp_connection_class, setTimeout) + /* Get the connection object out of the store */ + connection = PHP_AMQP_GET_CONNECTION(getThis()); + +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("read_timeout"), read_timeout TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("read_timeout"), read_timeout TSRMLS_CC); + + if (connection->connection_resource && connection->connection_resource->is_connected) { + if (php_amqp_set_resource_read_timeout(connection->connection_resource, read_timeout TSRMLS_CC) == 0) { +@@ -1032,7 +1032,7 @@ static PHP_METHOD(amqp_connection_class, setReadTimeout) + /* Get the connection object out of the store */ + connection = PHP_AMQP_GET_CONNECTION(getThis()); + +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("read_timeout"), read_timeout TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("read_timeout"), read_timeout TSRMLS_CC); + + if (connection->connection_resource && connection->connection_resource->is_connected) { + if (php_amqp_set_resource_read_timeout(connection->connection_resource, read_timeout TSRMLS_CC) == 0) { +@@ -1078,7 +1078,7 @@ static PHP_METHOD(amqp_connection_class, setWriteTimeout) + /* Get the connection object out of the store */ + connection = PHP_AMQP_GET_CONNECTION(getThis()); + +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("write_timeout"), write_timeout TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("write_timeout"), write_timeout TSRMLS_CC); + + if (connection->connection_resource && connection->connection_resource->is_connected) { + if (php_amqp_set_resource_write_timeout(connection->connection_resource, write_timeout TSRMLS_CC) == 0) { +@@ -1124,7 +1124,7 @@ static PHP_METHOD(amqp_connection_class, setRpcTimeout) + /* Get the connection object out of the store */ + connection = PHP_AMQP_GET_CONNECTION(getThis()); + +- zend_update_property_double(this_ce, getThis(), ZEND_STRL("rpc_timeout"), rpc_timeout TSRMLS_CC); ++ zend_update_property_double(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("rpc_timeout"), rpc_timeout TSRMLS_CC); + + if (connection->connection_resource && connection->connection_resource->is_connected) { + if (php_amqp_set_resource_rpc_timeout(connection->connection_resource, rpc_timeout TSRMLS_CC) == 0) { +@@ -1255,7 +1255,7 @@ static PHP_METHOD(amqp_connection_class, setCACert) + return; + } + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("cacert"), str, str_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("cacert"), str, str_len TSRMLS_CC); + + RETURN_TRUE; + } +@@ -1279,7 +1279,7 @@ static PHP_METHOD(amqp_connection_class, setCert) + return; + } + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("cert"), str, str_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("cert"), str, str_len TSRMLS_CC); + + RETURN_TRUE; + } +@@ -1303,7 +1303,7 @@ static PHP_METHOD(amqp_connection_class, setKey) + return; + } + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("key"), str, str_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("key"), str, str_len TSRMLS_CC); + + RETURN_TRUE; + } +@@ -1328,7 +1328,7 @@ static PHP_METHOD(amqp_connection_class, setVerify) + return; + } + +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("verify"), verify TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("verify"), verify TSRMLS_CC); + + RETURN_TRUE; + } +@@ -1361,7 +1361,7 @@ static PHP_METHOD(amqp_connection_class, setSaslMethod) + return; + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("sasl_method"), method TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("sasl_method"), method TSRMLS_CC); + + RETURN_TRUE; + } +@@ -1385,9 +1385,9 @@ static PHP_METHOD(amqp_connection_class, setConnectionName) + return; + } + if (str == NULL) { +- zend_update_property_null(this_ce, getThis(), ZEND_STRL("connection_name") TSRMLS_CC); ++ zend_update_property_null(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("connection_name") TSRMLS_CC); + } else { +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("connection_name"), str, str_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("connection_name"), str, str_len TSRMLS_CC); + } + + +diff --git a/amqp_connection_resource.c b/amqp_connection_resource.c +index 7e20a5c..b0e065a 100644 +--- a/amqp_connection_resource.c ++++ b/amqp_connection_resource.c +@@ -112,15 +112,15 @@ static void php_amqp_close_connection_from_server(amqp_rpc_reply_t reply, char * + + if (!reply.reply.id) { + PHP_AMQP_G(error_code) = -1; +- spprintf(message, 0, "Server connection error: %d, message: %s", +- PHP_AMQP_G(error_code), ++ spprintf(message, 0, "Server connection error: %ld, message: %s", ++ (long)PHP_AMQP_G(error_code), + "unexpected response" + ); + } else { + PHP_AMQP_G(error_code) = m->reply_code; + spprintf(message, 0, "Server connection error: %d, message: %.*s", + m->reply_code, +- (PHP5to7_param_str_len_type_t) m->reply_text.len, ++ (int) m->reply_text.len, + (char *) m->reply_text.bytes + ); + } +@@ -156,15 +156,15 @@ static void php_amqp_close_channel_from_server(amqp_rpc_reply_t reply, char **me + + if (!reply.reply.id) { + PHP_AMQP_G(error_code) = -1; +- spprintf(message, 0, "Server channel error: %d, message: %s", +- PHP_AMQP_G(error_code), ++ spprintf(message, 0, "Server channel error: %ld, message: %s", ++ (long)PHP_AMQP_G(error_code), + "unexpected response" + ); + } else { + PHP_AMQP_G(error_code) = m->reply_code; + spprintf(message, 0, "Server channel error: %d, message: %.*s", + m->reply_code, +- (PHP5to7_param_str_len_type_t) m->reply_text.len, ++ (int) m->reply_text.len, + (char *)m->reply_text.bytes + ); + } +diff --git a/amqp_decimal.c b/amqp_decimal.c +index 83c9f20..8fd92c1 100644 +--- a/amqp_decimal.c ++++ b/amqp_decimal.c +@@ -53,7 +53,7 @@ static PHP_METHOD(amqp_decimal_class, __construct) + } + + if (exponent > AMQP_DECIMAL_EXPONENT_MAX) { +- zend_throw_exception_ex(amqp_value_exception_class_entry, 0 TSRMLS_CC, "Decimal exponent value must be less than %u.", AMQP_DECIMAL_EXPONENT_MAX); ++ zend_throw_exception_ex(amqp_value_exception_class_entry, 0 TSRMLS_CC, "Decimal exponent value must be less than %u.", (unsigned)AMQP_DECIMAL_EXPONENT_MAX); + return; + } + if (significand < AMQP_DECIMAL_SIGNIFICAND_MIN) { +@@ -62,12 +62,12 @@ static PHP_METHOD(amqp_decimal_class, __construct) + } + + if (significand > AMQP_DECIMAL_SIGNIFICAND_MAX) { +- zend_throw_exception_ex(amqp_value_exception_class_entry, 0 TSRMLS_CC, "Decimal significand value must be less than %u.", AMQP_DECIMAL_SIGNIFICAND_MAX); ++ zend_throw_exception_ex(amqp_value_exception_class_entry, 0 TSRMLS_CC, "Decimal significand value must be less than %u.", (unsigned)AMQP_DECIMAL_SIGNIFICAND_MAX); + return; + } + +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("exponent"), exponent TSRMLS_CC); +- zend_update_property_long(this_ce, getThis(), ZEND_STRL("significand"), significand TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("exponent"), exponent TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("significand"), significand TSRMLS_CC); + } + /* }}} */ + +diff --git a/amqp_envelope.c b/amqp_envelope.c +index 8127bed..b7a7a45 100644 +--- a/amqp_envelope.c ++++ b/amqp_envelope.c +@@ -67,13 +67,13 @@ void convert_amqp_envelope_to_zval(amqp_envelope_t *amqp_envelope, zval *envelop + amqp_basic_properties_t *p = &amqp_envelope->message.properties; + amqp_message_t *message = &amqp_envelope->message; + +- zend_update_property_stringl(this_ce, envelope, ZEND_STRL("body"), (const char *) message->body.bytes, (PHP5to7_param_str_len_type_t) message->body.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(envelope), ZEND_STRL("body"), (const char *) message->body.bytes, (PHP5to7_param_str_len_type_t) message->body.len TSRMLS_CC); + +- zend_update_property_stringl(this_ce, envelope, ZEND_STRL("consumer_tag"), (const char *) amqp_envelope->consumer_tag.bytes, (PHP5to7_param_str_len_type_t) amqp_envelope->consumer_tag.len TSRMLS_CC); +- zend_update_property_long(this_ce, envelope, ZEND_STRL("delivery_tag"), (PHP5to7_param_long_type_t) amqp_envelope->delivery_tag TSRMLS_CC); +- zend_update_property_bool(this_ce, envelope, ZEND_STRL("is_redelivery"), (PHP5to7_param_long_type_t) amqp_envelope->redelivered TSRMLS_CC); +- zend_update_property_stringl(this_ce, envelope, ZEND_STRL("exchange_name"), (const char *) amqp_envelope->exchange.bytes, (PHP5to7_param_str_len_type_t) amqp_envelope->exchange.len TSRMLS_CC); +- zend_update_property_stringl(this_ce, envelope, ZEND_STRL("routing_key"), (const char *) amqp_envelope->routing_key.bytes, (PHP5to7_param_str_len_type_t) amqp_envelope->routing_key.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(envelope), ZEND_STRL("consumer_tag"), (const char *) amqp_envelope->consumer_tag.bytes, (PHP5to7_param_str_len_type_t) amqp_envelope->consumer_tag.len TSRMLS_CC); ++ zend_update_property_long(this_ce, PHP5to8_OBJ_PROP(envelope), ZEND_STRL("delivery_tag"), (PHP5to7_param_long_type_t) amqp_envelope->delivery_tag TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(envelope), ZEND_STRL("is_redelivery"), (PHP5to7_param_long_type_t) amqp_envelope->redelivered TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(envelope), ZEND_STRL("exchange_name"), (const char *) amqp_envelope->exchange.bytes, (PHP5to7_param_str_len_type_t) amqp_envelope->exchange.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(envelope), ZEND_STRL("routing_key"), (const char *) amqp_envelope->routing_key.bytes, (PHP5to7_param_str_len_type_t) amqp_envelope->routing_key.len TSRMLS_CC); + + php_amqp_basic_properties_extract(p, envelope TSRMLS_CC); + } +diff --git a/amqp_exchange.c b/amqp_exchange.c +index 4f80d3b..4bfe397 100644 +--- a/amqp_exchange.c ++++ b/amqp_exchange.c +@@ -65,20 +65,20 @@ static PHP_METHOD(amqp_exchange_class, __construct) + zval *channelObj; + amqp_channel_resource *channel_resource; + +- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &channelObj) == FAILURE) { ++ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &channelObj, amqp_channel_class_entry) == FAILURE) { + return; + } + + PHP5to7_MAYBE_INIT(arguments); + PHP5to7_ARRAY_INIT(arguments); +- zend_update_property(this_ce, getThis(), ZEND_STRL("arguments"), PHP5to7_MAYBE_PTR(arguments) TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("arguments"), PHP5to7_MAYBE_PTR(arguments) TSRMLS_CC); + PHP5to7_MAYBE_DESTROY(arguments); + + channel_resource = PHP_AMQP_GET_CHANNEL_RESOURCE(channelObj); + PHP_AMQP_VERIFY_CHANNEL_RESOURCE(channel_resource, "Could not create exchange."); + +- zend_update_property(this_ce, getThis(), ZEND_STRL("channel"), channelObj TSRMLS_CC); +- zend_update_property(this_ce, getThis(), ZEND_STRL("connection"), PHP_AMQP_READ_OBJ_PROP(amqp_channel_class_entry, channelObj, "connection") TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("channel"), channelObj TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("connection"), PHP_AMQP_READ_OBJ_PROP(amqp_channel_class_entry, channelObj, "connection") TSRMLS_CC); + } + /* }}} */ + +@@ -119,7 +119,7 @@ static PHP_METHOD(amqp_exchange_class, setName) + } + + /* Set the exchange name */ +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("name"), name, name_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("name"), name, name_len TSRMLS_CC); + } + /* }}} */ + +@@ -168,10 +168,10 @@ static PHP_METHOD(amqp_exchange_class, setFlags) + /* Set the flags based on the bitmask we were given */ + flagBitmask = flagBitmask ? flagBitmask & PHP_AMQP_EXCHANGE_FLAGS : flagBitmask; + +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("passive"), IS_PASSIVE(flagBitmask) TSRMLS_CC); +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("durable"), IS_DURABLE(flagBitmask) TSRMLS_CC); +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("auto_delete"), IS_AUTODELETE(flagBitmask) TSRMLS_CC); +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("internal"), IS_INTERNAL(flagBitmask) TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("passive"), IS_PASSIVE(flagBitmask) TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("durable"), IS_DURABLE(flagBitmask) TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("auto_delete"), IS_AUTODELETE(flagBitmask) TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("internal"), IS_INTERNAL(flagBitmask) TSRMLS_CC); + } + /* }}} */ + +@@ -204,7 +204,7 @@ static PHP_METHOD(amqp_exchange_class, setType) + return; + } + +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("type"), type, type_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("type"), type, type_len TSRMLS_CC); + } + /* }}} */ + +@@ -273,7 +273,7 @@ static PHP_METHOD(amqp_exchange_class, setArguments) + return; + } + +- zend_update_property(this_ce, getThis(), ZEND_STRL("arguments"), zvalArguments TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("arguments"), zvalArguments TSRMLS_CC); + + RETURN_TRUE; + } +diff --git a/amqp_queue.c b/amqp_queue.c +index c13629c..eeba144 100644 +--- a/amqp_queue.c ++++ b/amqp_queue.c +@@ -68,20 +68,20 @@ static PHP_METHOD(amqp_queue_class, __construct) + zval *channelObj; + amqp_channel_resource *channel_resource; + +- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "o", &channelObj) == FAILURE) { ++ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O", &channelObj, amqp_channel_class_entry) == FAILURE) { + return; + } + + PHP5to7_MAYBE_INIT(arguments); + PHP5to7_ARRAY_INIT(arguments); +- zend_update_property(this_ce, getThis(), ZEND_STRL("arguments"), PHP5to7_MAYBE_PTR(arguments) TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("arguments"), PHP5to7_MAYBE_PTR(arguments) TSRMLS_CC); + PHP5to7_MAYBE_DESTROY(arguments); + + channel_resource = PHP_AMQP_GET_CHANNEL_RESOURCE(channelObj); + PHP_AMQP_VERIFY_CHANNEL_RESOURCE(channel_resource, "Could not create queue."); + +- zend_update_property(this_ce, getThis(), ZEND_STRL("channel"), channelObj TSRMLS_CC); +- zend_update_property(this_ce, getThis(), ZEND_STRL("connection"), PHP_AMQP_READ_OBJ_PROP(amqp_channel_class_entry, channelObj, "connection") TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("channel"), channelObj TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("connection"), PHP_AMQP_READ_OBJ_PROP(amqp_channel_class_entry, channelObj, "connection") TSRMLS_CC); + + } + /* }}} */ +@@ -122,7 +122,7 @@ static PHP_METHOD(amqp_queue_class, setName) + } + + /* Set the queue name */ +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("name"), name, name_len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("name"), name, name_len TSRMLS_CC); + + /* BC */ + RETURN_TRUE; +@@ -175,10 +175,10 @@ static PHP_METHOD(amqp_queue_class, setFlags) + /* Set the flags based on the bitmask we were given */ + flagBitmask = flagBitmask ? flagBitmask & PHP_AMQP_QUEUE_FLAGS : flagBitmask; + +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("passive"), IS_PASSIVE(flagBitmask) TSRMLS_CC); +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("durable"), IS_DURABLE(flagBitmask) TSRMLS_CC); +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("exclusive"), IS_EXCLUSIVE(flagBitmask) TSRMLS_CC); +- zend_update_property_bool(this_ce, getThis(), ZEND_STRL("auto_delete"), IS_AUTODELETE(flagBitmask) TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("passive"), IS_PASSIVE(flagBitmask) TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("durable"), IS_DURABLE(flagBitmask) TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("exclusive"), IS_EXCLUSIVE(flagBitmask) TSRMLS_CC); ++ zend_update_property_bool(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("auto_delete"), IS_AUTODELETE(flagBitmask) TSRMLS_CC); + + /* BC */ + RETURN_TRUE; +@@ -250,7 +250,7 @@ static PHP_METHOD(amqp_queue_class, setArguments) + return; + } + +- zend_update_property(this_ce, getThis(), ZEND_STRL("arguments"), zvalArguments TSRMLS_CC); ++ zend_update_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("arguments"), zvalArguments TSRMLS_CC); + + RETURN_TRUE; + } +@@ -342,7 +342,7 @@ static PHP_METHOD(amqp_queue_class, declareQueue) + + /* Set the queue name, in case it is an autogenerated queue name */ + name = php_amqp_type_amqp_bytes_to_char(r->queue); +- zend_update_property_string(this_ce, getThis(), ZEND_STRL("name"), name TSRMLS_CC); ++ zend_update_property_string(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("name"), name TSRMLS_CC); + efree(name); + + php_amqp_maybe_release_buffers_on_channel(channel_resource->connection_resource, channel_resource); +@@ -525,7 +525,7 @@ static PHP_METHOD(amqp_queue_class, consume) + } + + zval *channel_zv = PHP_AMQP_READ_THIS_PROP("channel"); +- zval *consumers = zend_read_property(amqp_channel_class_entry, channel_zv, ZEND_STRL("consumers"), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC); ++ zval *consumers = zend_read_property(amqp_channel_class_entry, PHP5to8_OBJ_PROP(channel_zv), ZEND_STRL("consumers"), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC); + + if (IS_ARRAY != Z_TYPE_P(consumers)) { + zend_throw_exception(amqp_queue_exception_class_entry, "Invalid channel consumers, forgot to call channel constructor?", 0 TSRMLS_CC); +@@ -594,7 +594,7 @@ static PHP_METHOD(amqp_queue_class, consume) + efree(key); + + /* Set the consumer tag name, in case it is an autogenerated consumer tag name */ +- zend_update_property_stringl(this_ce, getThis(), ZEND_STRL("consumer_tag"), (const char *) r->consumer_tag.bytes, (PHP5to7_param_str_len_type_t) r->consumer_tag.len TSRMLS_CC); ++ zend_update_property_stringl(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("consumer_tag"), (const char *) r->consumer_tag.bytes, (PHP5to7_param_str_len_type_t) r->consumer_tag.len TSRMLS_CC); + } + + if (!ZEND_FCI_INITIALIZED(fci)) { +@@ -674,7 +674,7 @@ static PHP_METHOD(amqp_queue_class, consume) + current_channel_zv = current_channel_resource->parent->this_ptr; + #endif + +- consumers = zend_read_property(amqp_channel_class_entry, PHP5to7_MAYBE_PTR(current_channel_zv), ZEND_STRL("consumers"), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC); ++ consumers = zend_read_property(amqp_channel_class_entry, PHP5to8_OBJ_PROP(PHP5to7_MAYBE_PTR(current_channel_zv)), ZEND_STRL("consumers"), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC); + + if (IS_ARRAY != Z_TYPE_P(consumers)) { + zend_throw_exception(amqp_queue_exception_class_entry, "Invalid channel consumers, forgot to call channel constructor?", 0 TSRMLS_CC); +@@ -689,8 +689,8 @@ static PHP_METHOD(amqp_queue_class, consume) + PHP5to7_zval_t exception PHP5to7_MAYBE_SET_TO_NULL; + PHP5to7_MAYBE_INIT(exception); + object_init_ex(PHP5to7_MAYBE_PTR(exception), amqp_envelope_exception_class_entry); +- zend_update_property_string(zend_exception_get_default(TSRMLS_C), PHP5to7_MAYBE_PTR(exception), ZEND_STRL("message"), "Orphaned envelope" TSRMLS_CC); +- zend_update_property(amqp_envelope_exception_class_entry, PHP5to7_MAYBE_PTR(exception), ZEND_STRL("envelope"), PHP5to7_MAYBE_PTR(message) TSRMLS_CC); ++ zend_update_property_string(zend_exception_get_default(TSRMLS_C), PHP5to8_OBJ_PROP(PHP5to7_MAYBE_PTR(exception)), ZEND_STRL("message"), "Orphaned envelope" TSRMLS_CC); ++ zend_update_property(amqp_envelope_exception_class_entry, PHP5to8_OBJ_PROP(PHP5to7_MAYBE_PTR(exception)), ZEND_STRL("envelope"), PHP5to7_MAYBE_PTR(message) TSRMLS_CC); + + zend_throw_exception_object(PHP5to7_MAYBE_PTR(exception) TSRMLS_CC); + +@@ -946,7 +946,7 @@ static PHP_METHOD(amqp_queue_class, cancel) + } + + zval *channel_zv = PHP_AMQP_READ_THIS_PROP("channel"); +- zval *consumers = zend_read_property(amqp_channel_class_entry, channel_zv, ZEND_STRL("consumers"), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC); ++ zval *consumers = zend_read_property(amqp_channel_class_entry, PHP5to8_OBJ_PROP(channel_zv), ZEND_STRL("consumers"), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC); + zend_bool has_consumer_tag = (zend_bool) (IS_STRING == Z_TYPE_P(PHP_AMQP_READ_THIS_PROP("consumer_tag"))); + + if (IS_ARRAY != Z_TYPE_P(consumers)) { +@@ -977,8 +977,8 @@ static PHP_METHOD(amqp_queue_class, cancel) + return; + } + +- if (!consumer_tag_len || has_consumer_tag && strcmp(consumer_tag, PHP_AMQP_READ_THIS_PROP_STR("consumer_tag")) != 0) { +- zend_update_property_null(this_ce, getThis(), ZEND_STRL("consumer_tag") TSRMLS_CC); ++ if (!consumer_tag_len || (has_consumer_tag && strcmp(consumer_tag, PHP_AMQP_READ_THIS_PROP_STR("consumer_tag")) != 0)) { ++ zend_update_property_null(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("consumer_tag") TSRMLS_CC); + } + + char *key; +diff --git a/amqp_timestamp.c b/amqp_timestamp.c +index d9eec39..ed07ab6 100644 +--- a/amqp_timestamp.c ++++ b/amqp_timestamp.c +@@ -61,7 +61,7 @@ static PHP_METHOD(amqp_timestamp_class, __construct) + #if PHP_MAJOR_VERSION >= 7 + zend_string *str; + str = _php_math_number_format_ex(timestamp, 0, "", 0, "", 0); +- zend_update_property_str(this_ce, getThis(), ZEND_STRL("timestamp"), str); ++ zend_update_property_str(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL("timestamp"), str); + zend_string_delref(str); + #else + char *str; +@@ -104,7 +104,11 @@ ZEND_END_ARG_INFO() + ZEND_BEGIN_ARG_INFO_EX(arginfo_amqp_timestamp_class_getTimestamp, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0) + ZEND_END_ARG_INFO() + ++#if PHP_MAJOR_VERSION < 8 + ZEND_BEGIN_ARG_INFO_EX(arginfo_amqp_timestamp_class_toString, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, 0) ++#else ++ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_amqp_timestamp_class_toString, ZEND_SEND_BY_VAL, ZEND_RETURN_VALUE, IS_STRING, 0) ++#endif + ZEND_END_ARG_INFO() + + zend_function_entry amqp_timestamp_class_functions[] = { +diff --git a/amqp_type.c b/amqp_type.c +index fb87727..5f1ab91 100644 +--- a/amqp_type.c ++++ b/amqp_type.c +@@ -250,7 +250,7 @@ zend_bool php_amqp_type_internal_convert_php_to_amqp_field_value(zval *value, am + if (instanceof_function(Z_OBJCE_P(value), amqp_timestamp_class_entry TSRMLS_CC)) { + PHP5to7_zval_t result_zv PHP5to7_MAYBE_SET_TO_NULL; + +- zend_call_method_with_0_params(PHP5to7_MAYBE_PARAM_PTR(value), amqp_timestamp_class_entry, NULL, "gettimestamp", &result_zv); ++ zend_call_method_with_0_params(PHP5to8_OBJ_PROP(PHP5to7_MAYBE_PARAM_PTR(value)), amqp_timestamp_class_entry, NULL, "gettimestamp", &result_zv); + + field->kind = AMQP_FIELD_KIND_TIMESTAMP; + field->value.u64 = strtoimax(Z_STRVAL(PHP5to7_MAYBE_DEREF(result_zv)), NULL, 10); +@@ -262,11 +262,11 @@ zend_bool php_amqp_type_internal_convert_php_to_amqp_field_value(zval *value, am + field->kind = AMQP_FIELD_KIND_DECIMAL; + PHP5to7_zval_t result_zv PHP5to7_MAYBE_SET_TO_NULL; + +- zend_call_method_with_0_params(PHP5to7_MAYBE_PARAM_PTR(value), amqp_decimal_class_entry, NULL, "getexponent", &result_zv); ++ zend_call_method_with_0_params(PHP5to8_OBJ_PROP(PHP5to7_MAYBE_PARAM_PTR(value)), amqp_decimal_class_entry, NULL, "getexponent", &result_zv); + field->value.decimal.decimals = (uint8_t)Z_LVAL(PHP5to7_MAYBE_DEREF(result_zv)); + PHP5to7_MAYBE_DESTROY(result_zv); + +- zend_call_method_with_0_params(PHP5to7_MAYBE_PARAM_PTR(value), amqp_decimal_class_entry, NULL, "getsignificand", &result_zv); ++ zend_call_method_with_0_params(PHP5to8_OBJ_PROP(PHP5to7_MAYBE_PARAM_PTR(value)), amqp_decimal_class_entry, NULL, "getsignificand", &result_zv); + field->value.decimal.value = (uint32_t)Z_LVAL(PHP5to7_MAYBE_DEREF(result_zv)); + + PHP5to7_MAYBE_DESTROY(result_zv); +diff --git a/php5_support.h b/php5_support.h +index 5c57620..25c2d96 100644 +--- a/php5_support.h ++++ b/php5_support.h +@@ -109,6 +109,8 @@ typedef zend_rsrc_list_entry PHP5to7_zend_resource_le_t; + #define ZEND_ULONG_FMT "%" PRIu64 + #define PHP5to7_ZEND_ACC_FINAL_CLASS ZEND_ACC_FINAL_CLASS + ++#define PHP5to8_OBJ_PROP(zv) (zv) ++ + #endif //PHP_AMQP_PHP5_SUPPORT_H + + /* +diff --git a/php7_support.h b/php7_support.h +index c9e8f5b..0dbd6b2 100644 +--- a/php7_support.h ++++ b/php7_support.h +@@ -101,15 +101,24 @@ typedef zval PHP5to7_zend_resource_le_t; + + #define PHP5to7_ZEND_ACC_FINAL_CLASS ZEND_ACC_FINAL + ++ + /* Small change to let it build after a major internal change for php8.0 + * More info: + * https://github.com/php/php-src/blob/php-8.0.0alpha3/UPGRADING.INTERNALS#L47 + */ + #if PHP_MAJOR_VERSION >= 8 ++ + # define TSRMLS_DC + # define TSRMLS_D + # define TSRMLS_CC + # define TSRMLS_C ++ ++#define PHP5to8_OBJ_PROP(zv) Z_OBJ_P(zv) ++ ++#else ++ ++#define PHP5to8_OBJ_PROP(zv) (zv) ++ + # endif + + #endif //PHP_AMQP_PHP7_SUPPORT_H +diff --git a/php_amqp.h b/php_amqp.h +index 752edd7..686741d 100644 +--- a/php_amqp.h ++++ b/php_amqp.h +@@ -221,14 +221,14 @@ struct _amqp_connection_object { + #define PHP_AMQP_NOPARAMS() if (zend_parse_parameters_none() == FAILURE) { return; } + + #define PHP_AMQP_RETURN_THIS_PROP(prop_name) \ +- zval * _zv = zend_read_property(this_ce, getThis(), ZEND_STRL(prop_name), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC); \ ++ zval * _zv = zend_read_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL(prop_name), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC); \ + RETURN_ZVAL(_zv, 1, 0); + +-#define PHP_AMQP_READ_OBJ_PROP(cls, obj, name) zend_read_property((cls), (obj), ZEND_STRL(name), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC) ++#define PHP_AMQP_READ_OBJ_PROP(cls, obj, name) zend_read_property((cls), PHP5to8_OBJ_PROP(obj), ZEND_STRL(name), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC) + #define PHP_AMQP_READ_OBJ_PROP_DOUBLE(cls, obj, name) Z_DVAL_P(PHP_AMQP_READ_OBJ_PROP((cls), (obj), (name))) + +-#define PHP_AMQP_READ_THIS_PROP_CE(name, ce) zend_read_property((ce), getThis(), ZEND_STRL(name), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC) +-#define PHP_AMQP_READ_THIS_PROP(name) zend_read_property(this_ce, getThis(), ZEND_STRL(name), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC) ++#define PHP_AMQP_READ_THIS_PROP_CE(name, ce) zend_read_property((ce), PHP5to8_OBJ_PROP(getThis()), ZEND_STRL(name), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC) ++#define PHP_AMQP_READ_THIS_PROP(name) zend_read_property(this_ce, PHP5to8_OBJ_PROP(getThis()), ZEND_STRL(name), 0 PHP5to7_READ_PROP_RV_PARAM_CC TSRMLS_CC) + #define PHP_AMQP_READ_THIS_PROP_BOOL(name) Z_BVAL_P(PHP_AMQP_READ_THIS_PROP(name)) + #define PHP_AMQP_READ_THIS_PROP_STR(name) Z_STRVAL_P(PHP_AMQP_READ_THIS_PROP(name)) + #define PHP_AMQP_READ_THIS_PROP_STRLEN(name) (Z_TYPE_P(PHP_AMQP_READ_THIS_PROP(name)) == IS_STRING ? Z_STRLEN_P(PHP_AMQP_READ_THIS_PROP(name)) : 0) +diff --git a/tests/amqptimestamp.phpt b/tests/amqptimestamp.phpt +index 9835883..6424f8b 100644 +--- a/tests/amqptimestamp.phpt ++++ b/tests/amqptimestamp.phpt +@@ -2,7 +2,7 @@ + AMQPTimestamp + --SKIPIF-- + ')) { + print "skip"; + } + --FILE-- +@@ -52,4 +52,4 @@ bool(true) + string(20) "18446744073709551616" + string(1) "0" + +-==END== +\ No newline at end of file ++==END== +diff --git a/tests/amqptimestamp_php8.phpt b/tests/amqptimestamp_php8.phpt +new file mode 100644 +index 0000000..dabecc5 +--- /dev/null ++++ b/tests/amqptimestamp_php8.phpt +@@ -0,0 +1,60 @@ ++--TEST-- ++AMQPTimestamp ++--SKIPIF-- ++getTimestamp(), (string) $timestamp); ++ ++$timestamp = new AMQPTimestamp(100000.1); ++var_dump($timestamp->getTimestamp(), (string) $timestamp); ++ ++try { ++ new AMQPTimestamp(); ++} catch(ArgumentCountError $e) { ++ echo $e->getMessage() . "\n"; ++} ++try { ++ new AMQPTimestamp("string"); ++} catch(TypeError $e) { ++ echo $e->getMessage() . "\n"; ++} ++ ++try { ++ new AMQPTimestamp(AMQPTimestamp::MIN - 1); ++} catch (AMQPValueException $e) { ++ echo $e->getMessage() . "\n"; ++} ++ ++try { ++ new AMQPTimestamp(INF); ++} catch (AMQPValueException $e) { ++ echo $e->getMessage() . "\n"; ++} ++ ++var_dump((new ReflectionClass("AMQPTimestamp"))->isFinal()); ++ ++var_dump(AMQPTimestamp::MAX); ++var_dump(AMQPTimestamp::MIN); ++?> ++ ++==END== ++--EXPECTF-- ++string(6) "100000" ++string(6) "100000" ++string(6) "100000" ++string(6) "100000" ++AMQPTimestamp::__construct() expects exactly 1 parameter, 0 given ++AMQPTimestamp::__construct(): Argument #1 ($timestamp) must be of type float, string given ++The timestamp parameter must be greater than 0. ++The timestamp parameter must be less than 18446744073709551616. ++bool(true) ++string(20) "18446744073709551616" ++string(1) "0" ++ ++==END== +diff --git a/tests/bug_61533.phpt b/tests/bug_61533.phpt +index ecb5213..f53c315 100644 +--- a/tests/bug_61533.phpt ++++ b/tests/bug_61533.phpt +@@ -21,4 +21,4 @@ try { + + ?> + --EXPECTF-- +-%s: Argument 1 passed to AMQPQueue::__construct() must be an instance of AMQPChannel, instance of AMQPConnection given%s ++%s AMQPChannel%s AMQPConnection%s diff --git a/buildroot-2021.05/package/php-amqp/Config.in b/buildroot-2022.02.1/package/php-amqp/Config.in similarity index 100% rename from buildroot-2021.05/package/php-amqp/Config.in rename to buildroot-2022.02.1/package/php-amqp/Config.in diff --git a/buildroot-2022.02.1/package/php-amqp/php-amqp.hash b/buildroot-2022.02.1/package/php-amqp/php-amqp.hash new file mode 100644 index 00000000..bce8ac0c --- /dev/null +++ b/buildroot-2022.02.1/package/php-amqp/php-amqp.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 0ebc61052eb12406dddf5eabfe8749a12d52c566816b8aab04fb9916d0c26ed2 amqp-1.10.2.tgz +sha256 ecd004e9ae3fcf54896b562d5e8008e36041f2620076effd58e5f4187299cee8 LICENSE diff --git a/buildroot-2022.02.1/package/php-amqp/php-amqp.mk b/buildroot-2022.02.1/package/php-amqp/php-amqp.mk new file mode 100644 index 00000000..981f8274 --- /dev/null +++ b/buildroot-2022.02.1/package/php-amqp/php-amqp.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# php-amqp +# +################################################################################ + +PHP_AMQP_VERSION = 1.10.2 +PHP_AMQP_SOURCE = amqp-$(PHP_AMQP_VERSION).tgz +PHP_AMQP_SITE = https://pecl.php.net/get +PHP_AMQP_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --with-amqp=$(STAGING_DIR)/usr +# phpize does the autoconf magic +PHP_AMQP_DEPENDENCIES = rabbitmq-c php host-autoconf +PHP_AMQP_LICENSE = PHP-3.01 +PHP_AMQP_LICENSE_FILES = LICENSE + +define PHP_AMQP_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef + +PHP_AMQP_PRE_CONFIGURE_HOOKS += PHP_AMQP_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/php-apcu/Config.in b/buildroot-2022.02.1/package/php-apcu/Config.in new file mode 100644 index 00000000..63389802 --- /dev/null +++ b/buildroot-2022.02.1/package/php-apcu/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PHP_APCU + bool "php-apcu" + help + APCu is an in-memory key-value store for PHP. + + https://pecl.php.net/package/APCu diff --git a/buildroot-2022.02.1/package/php-apcu/php-apcu.hash b/buildroot-2022.02.1/package/php-apcu/php-apcu.hash new file mode 100644 index 00000000..3aae4120 --- /dev/null +++ b/buildroot-2022.02.1/package/php-apcu/php-apcu.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 b99d40fafec06f4d132fcee53e7526ddbfc1d041ea6e04e17389dfad28f9c390 apcu-5.1.20.tgz +sha256 ecc8b74820c32fb82ddee80446205408585d75d1632ac959fb3cdf8eaf3877b5 LICENSE diff --git a/buildroot-2022.02.1/package/php-apcu/php-apcu.mk b/buildroot-2022.02.1/package/php-apcu/php-apcu.mk new file mode 100644 index 00000000..3ac062e7 --- /dev/null +++ b/buildroot-2022.02.1/package/php-apcu/php-apcu.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# php-apcu +# +################################################################################ + +PHP_APCU_VERSION = 5.1.20 +PHP_APCU_SITE = http://pecl.php.net/get +PHP_APCU_SOURCE = apcu-$(PHP_APCU_VERSION).tgz +PHP_APCU_LICENSE = PHP-3.01 +PHP_APCU_LICENSE_FILES = LICENSE +PHP_APCU_DEPENDENCIES = php host-autoconf + +PHP_APCU_CONF_OPTS = \ + --with-php-config=$(STAGING_DIR)/usr/bin/php-config + +define PHP_APCU_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef +PHP_APCU_PRE_CONFIGURE_HOOKS += PHP_APCU_PHPIZE + +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),) +PHP_APCU_CONF_OPTS += --disable-apcu-rwlocks +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/php-geoip/0001-add-build-support-for-php8.patch b/buildroot-2022.02.1/package/php-geoip/0001-add-build-support-for-php8.patch new file mode 100644 index 00000000..5672b00c --- /dev/null +++ b/buildroot-2022.02.1/package/php-geoip/0001-add-build-support-for-php8.patch @@ -0,0 +1,35 @@ +From 9500f9964a1ef03890376c61f1b17db88753c8e2 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 28 Jun 2021 12:24:59 -0700 +Subject: [PATCH] add build support for php8 + +Signed-off-by: Adam Duskett +--- + php_geoip.h | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/php_geoip.h b/php_geoip.h +index 2f67cb6..d19d612 100644 +--- a/php_geoip.h ++++ b/php_geoip.h +@@ -30,6 +30,17 @@ extern zend_module_entry geoip_module_entry; + typedef long zend_long; + #endif + ++/* Small change to let it build after a major internal change for php8.0 ++ * More info: ++ * https://github.com/php/php-src/blob/php-8.0.0/UPGRADING.INTERNALS#L47 ++ */ ++#if PHP_MAJOR_VERSION >= 8 ++# define TSRMLS_DC ++# define TSRMLS_D ++# define TSRMLS_CC ++# define TSRMLS_C ++# endif ++ + #ifdef PHP_WIN32 + #define PHP_GEOIP_API __declspec(dllexport) + #else +-- +2.31.1 + diff --git a/buildroot-2021.05/package/php-geoip/Config.in b/buildroot-2022.02.1/package/php-geoip/Config.in similarity index 100% rename from buildroot-2021.05/package/php-geoip/Config.in rename to buildroot-2022.02.1/package/php-geoip/Config.in diff --git a/buildroot-2021.05/package/php-geoip/php-geoip.hash b/buildroot-2022.02.1/package/php-geoip/php-geoip.hash similarity index 100% rename from buildroot-2021.05/package/php-geoip/php-geoip.hash rename to buildroot-2022.02.1/package/php-geoip/php-geoip.hash diff --git a/buildroot-2021.05/package/php-geoip/php-geoip.mk b/buildroot-2022.02.1/package/php-geoip/php-geoip.mk similarity index 100% rename from buildroot-2021.05/package/php-geoip/php-geoip.mk rename to buildroot-2022.02.1/package/php-geoip/php-geoip.mk diff --git a/buildroot-2022.02.1/package/php-gnupg/0001-Remove-inlining-_phpc_res_close.patch b/buildroot-2022.02.1/package/php-gnupg/0001-Remove-inlining-_phpc_res_close.patch new file mode 100644 index 00000000..9b94cb7e --- /dev/null +++ b/buildroot-2022.02.1/package/php-gnupg/0001-Remove-inlining-_phpc_res_close.patch @@ -0,0 +1,33 @@ +From 887b0899d7e7423baec691255c2d8b56bb348ecd Mon Sep 17 00:00:00 2001 +From: Jakub Zelenka +Date: Sun, 14 Mar 2021 18:52:21 +0000 +Subject: [PATCH] Remove inlining _phpc_res_close + +[Retrieved from: +https://github.com/bukka/phpc/commit/887b0899d7e7423baec691255c2d8b56bb348ecd] +Signed-off-by: Fabrice Fontaine +--- + phpc.h | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/phpc/phpc.h b/phpc/phpc.h +index dc5887e..9206105 100644 +--- a/phpc/phpc.h ++++ b/phpc/phpc.h +@@ -945,16 +945,8 @@ typedef zend_resource * phpc_res_value_t; + zend_fetch_resource2(Z_RES_P(_pz_res), _res_type_name, _res_type_1, _res_type_2) + #define PHPC_RES_DELETE(_pz_res) \ + zend_list_delete(Z_RES_P(_pz_res)) +-#if PHP_MAJOR_VERSION < 8 + #define PHPC_RES_CLOSE(_pz_res) \ + zend_list_close(Z_RES_P(_pz_res)) +-#else +-inline int _phpc_res_close(zval *zres) { +- zend_list_close(Z_RES_P(zres)); +- return SUCCESS; +-} +-#define PHPC_RES_CLOSE _phpc_res_close +-#endif + + /* resource to zval */ + #define PHPC_RES_PZVAL(_res, _pzv) \ diff --git a/buildroot-2021.05/package/php-gnupg/Config.in b/buildroot-2022.02.1/package/php-gnupg/Config.in similarity index 100% rename from buildroot-2021.05/package/php-gnupg/Config.in rename to buildroot-2022.02.1/package/php-gnupg/Config.in diff --git a/buildroot-2022.02.1/package/php-gnupg/php-gnupg.hash b/buildroot-2022.02.1/package/php-gnupg/php-gnupg.hash new file mode 100644 index 00000000..99ffe87f --- /dev/null +++ b/buildroot-2022.02.1/package/php-gnupg/php-gnupg.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 d4f5f79aa483908f3df08e5b343ea3593c6d725b9ed2103e30242627659e0a64 gnupg-1.5.0.tgz +sha256 da1136d4d9326317cbd320dadddf7e9b4b4edffd973eb083cb7b9754fb6a15d9 LICENSE diff --git a/buildroot-2022.02.1/package/php-gnupg/php-gnupg.mk b/buildroot-2022.02.1/package/php-gnupg/php-gnupg.mk new file mode 100644 index 00000000..a89f0978 --- /dev/null +++ b/buildroot-2022.02.1/package/php-gnupg/php-gnupg.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# php-gnupg +# +################################################################################ + +PHP_GNUPG_VERSION = 1.5.0 +PHP_GNUPG_SOURCE = gnupg-$(PHP_GNUPG_VERSION).tgz +PHP_GNUPG_SITE = https://pecl.php.net/get +# phpize does the autoconf magic +PHP_GNUPG_DEPENDENCIES = php libgpgme host-autoconf host-pkgconf +PHP_GNUPG_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --with-gnupg=$(STAGING_DIR)/usr --with-gpg=/usr/bin/gpg +PHP_GNUPG_LICENSE = BSD-2-Clause +PHP_GNUPG_LICENSE_FILES = LICENSE + +define PHP_GNUPG_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef + +PHP_GNUPG_PRE_CONFIGURE_HOOKS += PHP_GNUPG_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-imagick/Config.in b/buildroot-2022.02.1/package/php-imagick/Config.in similarity index 100% rename from buildroot-2021.05/package/php-imagick/Config.in rename to buildroot-2022.02.1/package/php-imagick/Config.in diff --git a/buildroot-2022.02.1/package/php-imagick/php-imagick.hash b/buildroot-2022.02.1/package/php-imagick/php-imagick.hash new file mode 100644 index 00000000..e9158085 --- /dev/null +++ b/buildroot-2022.02.1/package/php-imagick/php-imagick.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 795db7c36fbacd3d33a4f53ff2d38584c846e80a04dcd04c55e9e46c28f5d229 imagick-3.5.0.tgz +sha256 b6e00df9cb3b91977c0d64a7c4db48cb6f5041f6eeda6583c236775f70a35b78 LICENSE diff --git a/buildroot-2022.02.1/package/php-imagick/php-imagick.mk b/buildroot-2022.02.1/package/php-imagick/php-imagick.mk new file mode 100644 index 00000000..2dc055f0 --- /dev/null +++ b/buildroot-2022.02.1/package/php-imagick/php-imagick.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# php-imagick +# +################################################################################ + +PHP_IMAGICK_VERSION = 3.5.0 +PHP_IMAGICK_SOURCE = imagick-$(PHP_IMAGICK_VERSION).tgz +PHP_IMAGICK_SITE = http://pecl.php.net/get +PHP_IMAGICK_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --with-imagick=$(STAGING_DIR)/usr +# phpize does the autoconf magic +PHP_IMAGICK_DEPENDENCIES = imagemagick php host-autoconf +PHP_IMAGICK_LICENSE = PHP-3.01 +PHP_IMAGICK_LICENSE_FILES = LICENSE +PHP_IMAGICK_CPE_ID_VENDOR = php +PHP_IMAGICK_CPE_ID_PRODUCT = imagick + +define PHP_IMAGICK_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef + +PHP_IMAGICK_PRE_CONFIGURE_HOOKS += PHP_IMAGICK_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/php-lua/0001-ZEND_ACC_ALLOW_STATIC-ZEND_ACC_STATIC-for-static-met.patch b/buildroot-2022.02.1/package/php-lua/0001-ZEND_ACC_ALLOW_STATIC-ZEND_ACC_STATIC-for-static-met.patch new file mode 100644 index 00000000..118c0d07 --- /dev/null +++ b/buildroot-2022.02.1/package/php-lua/0001-ZEND_ACC_ALLOW_STATIC-ZEND_ACC_STATIC-for-static-met.patch @@ -0,0 +1,28 @@ +From fd775cedbb97b56f0d1b098a41519f4477f450c7 Mon Sep 17 00:00:00 2001 +From: cdosoftei +Date: Mon, 10 Aug 2020 15:37:52 -0400 +Subject: [PATCH] ZEND_ACC_ALLOW_STATIC -> ZEND_ACC_STATIC for static method + +[Hervé: Taken from https://github.com/laruence/php-lua/pull/47 to fix +PHP8 compatibility.] +Signed-off-by: Herve Codina +--- + lua.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lua.c b/lua.c +index b05f4ef..f2648ac 100755 +--- a/lua.c ++++ b/lua.c +@@ -822,7 +822,7 @@ zend_function_entry lua_class_methods[] = { + PHP_ME(lua, include, arginfo_lua_include, ZEND_ACC_PUBLIC) + PHP_ME(lua, call, arginfo_lua_call, ZEND_ACC_PUBLIC) + PHP_ME(lua, assign, arginfo_lua_assign, ZEND_ACC_PUBLIC) +- PHP_ME(lua, getVersion, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_ALLOW_STATIC) ++ PHP_ME(lua, getVersion, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) + PHP_ME(lua, registerCallback, arginfo_lua_register, ZEND_ACC_PUBLIC) + PHP_MALIAS(lua, __call, call, arginfo_lua_call, ZEND_ACC_PUBLIC) + PHP_FE_END +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/php-lua/0002-php8-explicitly-declare-arginfo.patch b/buildroot-2022.02.1/package/php-lua/0002-php8-explicitly-declare-arginfo.patch new file mode 100644 index 00000000..5e9c4400 --- /dev/null +++ b/buildroot-2022.02.1/package/php-lua/0002-php8-explicitly-declare-arginfo.patch @@ -0,0 +1,68 @@ +From 0f5132e09d970cacabcca3bab01405bc25b87d66 Mon Sep 17 00:00:00 2001 +From: cdosoftei +Date: Tue, 11 Aug 2020 12:42:17 -0400 +Subject: [PATCH] php8: explicitly declare arginfo + +[Hervé: Taken from https://github.com/laruence/php-lua/pull/47 to fix +PHP8 compatibility.] +Signed-off-by: Herve Codina +--- + lua.c | 7 +++++-- + lua_closure.c | 5 ++++- + 2 files changed, 9 insertions(+), 3 deletions(-) + +diff --git a/lua.c b/lua.c +index f2648ac..bbbd623 100755 +--- a/lua.c ++++ b/lua.c +@@ -35,6 +35,9 @@ static zend_object_handlers lua_object_handlers; + /** {{{ ARG_INFO + * + */ ++ZEND_BEGIN_ARG_INFO_EX(arginfo_void, 0, 0, 0) ++ZEND_END_ARG_INFO() ++ + ZEND_BEGIN_ARG_INFO_EX(arginfo_lua_call, 0, 0, 2) + ZEND_ARG_INFO(0, method) + ZEND_ARG_INFO(0, args) +@@ -817,12 +820,12 @@ PHP_METHOD(lua, __construct) { + * + */ + zend_function_entry lua_class_methods[] = { +- PHP_ME(lua, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) ++ PHP_ME(lua, __construct, arginfo_void, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) + PHP_ME(lua, eval, arginfo_lua_eval, ZEND_ACC_PUBLIC) + PHP_ME(lua, include, arginfo_lua_include, ZEND_ACC_PUBLIC) + PHP_ME(lua, call, arginfo_lua_call, ZEND_ACC_PUBLIC) + PHP_ME(lua, assign, arginfo_lua_assign, ZEND_ACC_PUBLIC) +- PHP_ME(lua, getVersion, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) ++ PHP_ME(lua, getVersion, arginfo_void, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC) + PHP_ME(lua, registerCallback, arginfo_lua_register, ZEND_ACC_PUBLIC) + PHP_MALIAS(lua, __call, call, arginfo_lua_call, ZEND_ACC_PUBLIC) + PHP_FE_END +diff --git a/lua_closure.c b/lua_closure.c +index 50ef039..b0f6780 100644 +--- a/lua_closure.c ++++ b/lua_closure.c +@@ -39,6 +39,9 @@ static zend_object_handlers lua_closure_handlers; + /** {{{ ARG_INFO + * + */ ++ZEND_BEGIN_ARG_INFO_EX(arginfo_void, 0, 0, 0) ++ZEND_END_ARG_INFO() ++ + ZEND_BEGIN_ARG_INFO_EX(arginfo_lua_invoke, 0, 0, 1) + ZEND_ARG_INFO(0, arg) + ZEND_ARG_INFO(0, ...) +@@ -145,7 +148,7 @@ PHP_METHOD(lua_closure, invoke) { + /* {{{ lua_class_methods[] + */ + zend_function_entry lua_closure_methods[] = { +- PHP_ME(lua_closure, __construct, NULL, ZEND_ACC_PRIVATE|ZEND_ACC_CTOR) ++ PHP_ME(lua_closure, __construct, arginfo_void, ZEND_ACC_PRIVATE|ZEND_ACC_CTOR) + PHP_ME(lua_closure, invoke, arginfo_lua_invoke, ZEND_ACC_PUBLIC) + PHP_MALIAS(lua_closure, __invoke, invoke, arginfo_lua_invoke, ZEND_ACC_PUBLIC) + PHP_FE_END +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/php-lua/Config.in b/buildroot-2022.02.1/package/php-lua/Config.in new file mode 100644 index 00000000..923de2d7 --- /dev/null +++ b/buildroot-2022.02.1/package/php-lua/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PHP_LUA + bool "php-lua" + depends on BR2_PACKAGE_HAS_LUAINTERPRETER + help + This extension embeds the lua interpreter and offers an + OO-API to lua variables and functions. + + https://pecl.php.net/package/lua diff --git a/buildroot-2022.02.1/package/php-lua/php-lua.hash b/buildroot-2022.02.1/package/php-lua/php-lua.hash new file mode 100644 index 00000000..841c4f72 --- /dev/null +++ b/buildroot-2022.02.1/package/php-lua/php-lua.hash @@ -0,0 +1,2 @@ +sha256 86545e1e09b79e3693dd93f2a5a8f15ea161b5a1928f315c7a27107744ee8772 lua-2.0.7.tgz +sha256 b6e00df9cb3b91977c0d64a7c4db48cb6f5041f6eeda6583c236775f70a35b78 LICENSE diff --git a/buildroot-2022.02.1/package/php-lua/php-lua.mk b/buildroot-2022.02.1/package/php-lua/php-lua.mk new file mode 100644 index 00000000..529b347e --- /dev/null +++ b/buildroot-2022.02.1/package/php-lua/php-lua.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# php-lua +# +################################################################################ + +PHP_LUA_VERSION = 2.0.7 +PHP_LUA_SITE = http://pecl.php.net/get +PHP_LUA_SOURCE = lua-$(PHP_LUA_VERSION).tgz +PHP_LUA_LICENSE = PHP-3.01 +PHP_LUA_LICENSE_FILES = LICENSE +PHP_LUA_DEPENDENCIES = php luainterpreter host-autoconf host-pkgconf + +PHP_LUA_CONF_OPTS = \ + --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --with-lua=$(STAGING_DIR)/usr + +# The php-lua package uses the following code to search for the lua library +# if test "$PHP_LUA_VERSION" != "yes" -a "$PHP_LUA_VERSION" != "no"; then +# LUA_LIB_SUFFIX=lua$PHP_LUA_VERSION +# else +# LUA_LIB_SUFFIX=lua +# fi +# LUA_LIB_NAME=lib$LUA_LIB_SUFFIX +# luajit library name is libluajit-x.y with x.y the api version. +# In order to use luajit, we use jit-x.y as "lua-version". +ifeq ($(BR2_PACKAGE_LUAJIT),y) +PHP_LUA_CONF_OPTS += --with-lua-version=jit-$(LUAINTERPRETER_ABIVER) +endif + +define PHP_LUA_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef +PHP_LUA_PRE_CONFIGURE_HOOKS += PHP_LUA_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-memcached/Config.in b/buildroot-2022.02.1/package/php-memcached/Config.in similarity index 100% rename from buildroot-2021.05/package/php-memcached/Config.in rename to buildroot-2022.02.1/package/php-memcached/Config.in diff --git a/buildroot-2022.02.1/package/php-memcached/php-memcached.hash b/buildroot-2022.02.1/package/php-memcached/php-memcached.hash new file mode 100644 index 00000000..7e918c17 --- /dev/null +++ b/buildroot-2022.02.1/package/php-memcached/php-memcached.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 b288e45f839593e16c4d8508b241de51a86df4f7322153e6becb9e1c819021fd memcached-3.1.5.tgz +sha256 24e8e3a9529204ead9422fa17cf3ddd75d292a8763b87fdb20591964f2e6ebe0 LICENSE +sha256 a453a7a272fbd24105b39959f76996d50dad80b22d1c310f6c67f74f62ae4054 fastlz/LICENSE +sha256 bba8cb50c660842c5ca459c5004395bdef8f01c1b64f97a9978f1053f173cb82 g_fmt.h diff --git a/buildroot-2022.02.1/package/php-memcached/php-memcached.mk b/buildroot-2022.02.1/package/php-memcached/php-memcached.mk new file mode 100644 index 00000000..068fbb78 --- /dev/null +++ b/buildroot-2022.02.1/package/php-memcached/php-memcached.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# php-memcached +# +################################################################################ + +PHP_MEMCACHED_VERSION = 3.1.5 +PHP_MEMCACHED_SOURCE = memcached-$(PHP_MEMCACHED_VERSION).tgz +PHP_MEMCACHED_SITE = https://pecl.php.net/get +PHP_MEMCACHED_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --disable-memcached-sasl \ + --with-libmemcached-dir=$(STAGING_DIR)/usr \ + --with-zlib-dir=$(STAGING_DIR)/usr +# phpize does the autoconf magic +PHP_MEMCACHED_DEPENDENCIES = libmemcached php zlib host-autoconf host-pkgconf +PHP_MEMCACHED_LICENSE = PHP-3.01, MIT (fastlz), ISC-like (g_fmt.c, g_fmt.h) +PHP_MEMCACHED_LICENSE_FILES = LICENSE fastlz/LICENSE g_fmt.h + +define PHP_MEMCACHED_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef + +PHP_MEMCACHED_PRE_CONFIGURE_HOOKS += PHP_MEMCACHED_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/php-pam/Config.in b/buildroot-2022.02.1/package/php-pam/Config.in new file mode 100644 index 00000000..70f62a31 --- /dev/null +++ b/buildroot-2022.02.1/package/php-pam/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_PHP_PAM + bool "php-pam" + depends on BR2_ENABLE_LOCALE # linux-pam + depends on BR2_USE_WCHAR # linux-pam + depends on BR2_USE_MMU # linux-pam + depends on !BR2_STATIC_LIBS # linux-pam + select BR2_PACKAGE_LINUX_PAM + help + PHP PAM (Pluggable Authentication Modules) integration + + https://pecl.php.net/package/PAM + +comment "php-pam needs a toolchain w/ wchar, locale, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \ + || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/php-pam/php-pam.hash b/buildroot-2022.02.1/package/php-pam/php-pam.hash new file mode 100644 index 00000000..c3eb49fb --- /dev/null +++ b/buildroot-2022.02.1/package/php-pam/php-pam.hash @@ -0,0 +1,3 @@ +# Locally calculated: +sha256 fda3b5f719d51cb278351eedd3d7a96db75661324d81fdcf8072a4309121bc92 pam-2.2.3.tgz +sha256 0967ad6cf4b7fe81d38709d7aaef3fecb3bd685be7eebb37b864aa34c991baa7 LICENSE diff --git a/buildroot-2022.02.1/package/php-pam/php-pam.mk b/buildroot-2022.02.1/package/php-pam/php-pam.mk new file mode 100644 index 00000000..8e20095d --- /dev/null +++ b/buildroot-2022.02.1/package/php-pam/php-pam.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# php-pam +# +################################################################################ + +PHP_PAM_VERSION = 2.2.3 +PHP_PAM_SITE = http://pecl.php.net/get +PHP_PAM_SOURCE = pam-$(PHP_PAM_VERSION).tgz +PHP_PAM_LICENSE = PHP-3.01 +PHP_PAM_LICENSE_FILES = LICENSE +PHP_PAM_DEPENDENCIES = php linux-pam host-autoconf host-pkgconf + +PHP_PAM_CONF_OPTS = \ + --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --with-pam=$(STAGING_DIR)/usr + +define PHP_PAM_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef +PHP_PAM_PRE_CONFIGURE_HOOKS += PHP_PAM_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/php-pecl-dbus/0001-php8-compat.patch b/buildroot-2022.02.1/package/php-pecl-dbus/0001-php8-compat.patch new file mode 100644 index 00000000..acca6e1d --- /dev/null +++ b/buildroot-2022.02.1/package/php-pecl-dbus/0001-php8-compat.patch @@ -0,0 +1,158 @@ +From 7fde4dd4d26d2a4b7957a1010c6ea9e4b940fc62 Mon Sep 17 00:00:00 2001 +From: Stefan Saraev +Date: Mon, 18 Jan 2021 23:22:52 +0200 +Subject: [PATCH] php8 compat + +Upstream: https://github.com/derickr/pecl-dbus/pull/8 +Signed-off-by: Herve Codina +--- + dbus.c | 55 ++++++++++++++++++++++++++++++------------------------ + php_dbus.h | 10 ++++++++++ + 2 files changed, 41 insertions(+), 24 deletions(-) + +diff --git a/dbus.c b/dbus.c +index 9fde647..a98e2ea 100644 +--- a/dbus.c ++++ b/dbus.c +@@ -38,6 +38,9 @@ + #define Z_ADDREF_P(z) ((z)->refcount++) + #endif + ++ZEND_BEGIN_ARG_INFO_EX(arginfo_void, 0, 0, 0) ++ZEND_END_ARG_INFO() ++ + /* {{{ arginfo */ + ZEND_BEGIN_ARG_INFO_EX(arginfo_dbus_object___call, 0, 0, 2) + ZEND_ARG_INFO(0, function_name) +@@ -46,44 +49,44 @@ ZEND_END_ARG_INFO() + /* }}} */ + + const zend_function_entry dbus_funcs_dbus[] = { +- PHP_ME(Dbus, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) +- PHP_ME(Dbus, addWatch, NULL, ZEND_ACC_PUBLIC) +- PHP_ME(Dbus, waitLoop, NULL, ZEND_ACC_PUBLIC) +- PHP_ME(Dbus, requestName, NULL, ZEND_ACC_PUBLIC) +- PHP_ME(Dbus, registerObject, NULL, ZEND_ACC_PUBLIC) +- PHP_ME(Dbus, createProxy, NULL, ZEND_ACC_PUBLIC) ++ PHP_ME(Dbus, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) ++ PHP_ME(Dbus, addWatch, arginfo_void, ZEND_ACC_PUBLIC) ++ PHP_ME(Dbus, waitLoop, arginfo_void, ZEND_ACC_PUBLIC) ++ PHP_ME(Dbus, requestName, arginfo_void, ZEND_ACC_PUBLIC) ++ PHP_ME(Dbus, registerObject, arginfo_void, ZEND_ACC_PUBLIC) ++ PHP_ME(Dbus, createProxy, arginfo_void, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + + const zend_function_entry dbus_funcs_dbus_object[] = { +- PHP_ME(DbusObject, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PRIVATE) ++ PHP_ME(DbusObject, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PRIVATE) + PHP_ME(DbusObject, __call, arginfo_dbus_object___call, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + + const zend_function_entry dbus_funcs_dbus_signal[] = { +- PHP_ME(DbusSignal, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) +- PHP_ME(DbusSignal, matches, NULL, ZEND_ACC_PUBLIC) +- PHP_ME(DbusSignal, getData, NULL, ZEND_ACC_PUBLIC) +- PHP_ME(DbusSignal, send, NULL, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusSignal, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) ++ PHP_ME(DbusSignal, matches, arginfo_void, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusSignal, getData, arginfo_void, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusSignal, send, arginfo_void, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + + const zend_function_entry dbus_funcs_dbus_array[] = { +- PHP_ME(DbusArray, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) +- PHP_ME(DbusArray, getData, NULL, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusArray, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) ++ PHP_ME(DbusArray, getData, arginfo_void, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + + const zend_function_entry dbus_funcs_dbus_dict[] = { +- PHP_ME(DbusDict, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) +- PHP_ME(DbusDict, getData, NULL, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusDict, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) ++ PHP_ME(DbusDict, getData, arginfo_void, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + + #define PHP_DBUS_INT_WRAPPER_DEF(s,t) \ + const zend_function_entry dbus_funcs_dbus_##s[] = { \ +- PHP_ME(Dbus##t, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) \ ++ PHP_ME(Dbus##t, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) \ + PHP_FE_END \ + }; + +@@ -98,26 +101,26 @@ PHP_DBUS_INT_WRAPPER_DEF(uint64,UInt64); + PHP_DBUS_INT_WRAPPER_DEF(double, Double); + + const zend_function_entry dbus_funcs_dbus_variant[] = { +- PHP_ME(DbusVariant, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) +- PHP_ME(DbusVariant, getData, NULL, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusVariant, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) ++ PHP_ME(DbusVariant, getData, arginfo_void, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + + const zend_function_entry dbus_funcs_dbus_set[] = { +- PHP_ME(DbusSet, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) +- PHP_ME(DbusSet, getData, NULL, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusSet, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) ++ PHP_ME(DbusSet, getData, arginfo_void, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + + const zend_function_entry dbus_funcs_dbus_struct[] = { +- PHP_ME(DbusStruct, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) +- PHP_ME(DbusStruct, getData, NULL, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusStruct, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) ++ PHP_ME(DbusStruct, getData, arginfo_void, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + + const zend_function_entry dbus_funcs_dbus_object_path[] = { +- PHP_ME(DbusObjectPath, __construct, NULL, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) +- PHP_ME(DbusObjectPath, getData, NULL, ZEND_ACC_PUBLIC) ++ PHP_ME(DbusObjectPath, __construct, arginfo_void, ZEND_ACC_CTOR|ZEND_ACC_PUBLIC) ++ PHP_ME(DbusObjectPath, getData, arginfo_void, ZEND_ACC_PUBLIC) + PHP_FE_END + }; + +@@ -405,7 +408,11 @@ static void dbus_register_classes(TSRMLS_D) + dbus_ce_dbus = zend_register_internal_class_ex(&ce_dbus, NULL); + memcpy(&dbus_object_handlers_dbus, zend_get_std_object_handlers(), sizeof(zend_object_handlers)); + dbus_object_handlers_dbus.clone_obj = dbus_object_clone_dbus; ++#if PHP_VERSION_ID < 80000 + dbus_object_handlers_dbus.compare_objects = dbus_object_compare_dbus; ++#else ++ dbus_object_handlers_dbus.compare = dbus_object_compare_dbus; ++#endif + + zend_declare_class_constant_long(dbus_ce_dbus, "BYTE", sizeof("BYTE")-1, DBUS_TYPE_BYTE TSRMLS_CC); + zend_declare_class_constant_long(dbus_ce_dbus, "BOOLEAN", sizeof("BOOLEAN")-1, DBUS_TYPE_BOOLEAN TSRMLS_CC); +diff --git a/php_dbus.h b/php_dbus.h +index 8817544..1f0f551 100644 +--- a/php_dbus.h ++++ b/php_dbus.h +@@ -25,6 +25,16 @@ + #include "config.h" + #endif + ++#if PHP_VERSION_ID >= 80000 ++#ifndef TSRMLS_D ++#define TSRMLS_D void ++#define TSRMLS_DC ++#define TSRMLS_C ++#define TSRMLS_CC ++#define TSRMLS_FETCH() ++#endif ++#endif /* PHP_VERSION_ID >= 80000 */ ++ + #include "Zend/zend_hash.h" + + #define PHP_DBUS_VERSION "0.2.0" +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/php-pecl-dbus/0002-Fix-compatibility-with-php8-call_user_function_ex.patch b/buildroot-2022.02.1/package/php-pecl-dbus/0002-Fix-compatibility-with-php8-call_user_function_ex.patch new file mode 100644 index 00000000..5babce94 --- /dev/null +++ b/buildroot-2022.02.1/package/php-pecl-dbus/0002-Fix-compatibility-with-php8-call_user_function_ex.patch @@ -0,0 +1,32 @@ +From 8cf66c4b5dd657ca14552b27a42901db0a5e9280 Mon Sep 17 00:00:00 2001 +From: Herve Codina +Date: Mon, 4 Oct 2021 17:13:45 +0200 +Subject: [PATCH] Fix compatibility with php8 - call_user_function_ex + +This patch fixes compatibility with php8 replacing +call_user_function_ex by call_user_function. + +Upstream: https://github.com/derickr/pecl-dbus/pull/8 +Signed-off-by: Herve Codina +--- + dbus.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/dbus.c b/dbus.c +index a98e2ea..6fa9897 100644 +--- a/dbus.c ++++ b/dbus.c +@@ -1015,8 +1015,8 @@ php_dbus_do_method_call(php_dbus_obj *dbus, + method_args = safe_emalloc(sizeof(zval *), num_elems, 0); + } + +- if (call_user_function_ex(EG(function_table), object, &callback, &retval, +- num_elems, method_args, 0, NULL) == SUCCESS) { ++ if (call_user_function(EG(function_table), object, &callback, &retval, ++ num_elems, method_args) == SUCCESS) { + if (!Z_ISUNDEF(retval)) { + reply = dbus_message_new_method_return(msg); + php_dbus_append_parameters(reply, &retval, NULL, +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/php-pecl-dbus/Config.in b/buildroot-2022.02.1/package/php-pecl-dbus/Config.in new file mode 100644 index 00000000..56c70143 --- /dev/null +++ b/buildroot-2022.02.1/package/php-pecl-dbus/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_PHP_PECL_DBUS + bool "php-pecl-dbus" + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus + depends on BR2_USE_MMU # dbus + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_PHP_EXT_LIBXML2 # Runtime dependency + help + PHP extension for interaction with D-Bus busses. + + https://github.com/derickr/pecl-dbus + +comment "php-pecl-dbus needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/php-pecl-dbus/php-pecl-dbus.hash b/buildroot-2022.02.1/package/php-pecl-dbus/php-pecl-dbus.hash new file mode 100644 index 00000000..f8c5aa50 --- /dev/null +++ b/buildroot-2022.02.1/package/php-pecl-dbus/php-pecl-dbus.hash @@ -0,0 +1,3 @@ +# Locally calculated: +sha256 c48761c645c6fa42b57af0e65d893217dc69bcd8d879ace74d6abbf1c5f73a8f php-pecl-dbus-315d17558c7614d02e923d898231e51c86a25789.tar.gz +sha256 ecc8b74820c32fb82ddee80446205408585d75d1632ac959fb3cdf8eaf3877b5 LICENSE diff --git a/buildroot-2022.02.1/package/php-pecl-dbus/php-pecl-dbus.mk b/buildroot-2022.02.1/package/php-pecl-dbus/php-pecl-dbus.mk new file mode 100644 index 00000000..456d6625 --- /dev/null +++ b/buildroot-2022.02.1/package/php-pecl-dbus/php-pecl-dbus.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# php-pecl-dbus +# +################################################################################ + +PHP_PECL_DBUS_VERSION = 315d17558c7614d02e923d898231e51c86a25789 +PHP_PECL_DBUS_SITE = $(call github,derickr,pecl-dbus,$(PHP_PECL_DBUS_VERSION)) +PHP_PECL_DBUS_LICENSE = PHP-3.01 +PHP_PECL_DBUS_LICENSE_FILES = LICENSE +PHP_PECL_DBUS_DEPENDENCIES = php dbus libxml2 host-autoconf host-pkgconf + +PHP_PECL_DBUS_CONF_OPTS = \ + --with-php-config=$(STAGING_DIR)/usr/bin/php-config + +define PHP_PECL_DBUS_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/usr/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef +PHP_PECL_DBUS_PRE_CONFIGURE_HOOKS += PHP_PECL_DBUS_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-ssh2/Config.in b/buildroot-2022.02.1/package/php-ssh2/Config.in similarity index 100% rename from buildroot-2021.05/package/php-ssh2/Config.in rename to buildroot-2022.02.1/package/php-ssh2/Config.in diff --git a/buildroot-2022.02.1/package/php-ssh2/php-ssh2.hash b/buildroot-2022.02.1/package/php-ssh2/php-ssh2.hash new file mode 100644 index 00000000..3fbb0b24 --- /dev/null +++ b/buildroot-2022.02.1/package/php-ssh2/php-ssh2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 9093a1f8d24dc65836027b0e239c50de8d5eaebf8396bc3331fdd38c5d69afd9 ssh2-1.3.1.tgz +sha256 ac7c56f1e416ce6e60abcf26269395128bc9e5a2e4f3293e5dcc124aac606508 LICENSE diff --git a/buildroot-2022.02.1/package/php-ssh2/php-ssh2.mk b/buildroot-2022.02.1/package/php-ssh2/php-ssh2.mk new file mode 100644 index 00000000..b79ac041 --- /dev/null +++ b/buildroot-2022.02.1/package/php-ssh2/php-ssh2.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# php-ssh2 +# +################################################################################ + +PHP_SSH2_VERSION = 1.3.1 +PHP_SSH2_SOURCE = ssh2-$(PHP_SSH2_VERSION).tgz +PHP_SSH2_SITE = https://pecl.php.net/get +PHP_SSH2_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --with-ssh2=$(STAGING_DIR)/usr +# phpize does the autoconf magic +PHP_SSH2_DEPENDENCIES = libssh2 php host-autoconf +PHP_SSH2_LICENSE = PHP-3.01 +PHP_SSH2_LICENSE_FILES = LICENSE + +define PHP_SSH2_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef + +PHP_SSH2_PRE_CONFIGURE_HOOKS += PHP_SSH2_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-xdebug/Config.in b/buildroot-2022.02.1/package/php-xdebug/Config.in similarity index 100% rename from buildroot-2021.05/package/php-xdebug/Config.in rename to buildroot-2022.02.1/package/php-xdebug/Config.in diff --git a/buildroot-2022.02.1/package/php-xdebug/php-xdebug.hash b/buildroot-2022.02.1/package/php-xdebug/php-xdebug.hash new file mode 100644 index 00000000..72bfac67 --- /dev/null +++ b/buildroot-2022.02.1/package/php-xdebug/php-xdebug.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 7e4f28fc65c8b535de43b6d2ec57429476a6de1d53c4d440a9108ae8d28e01f4 php-xdebug-3.0.4.tar.gz +sha256 ef479ee1a3da3f933e0d046ca8cd0c14601f29b2c0c41cc60c9388546a4e0272 LICENSE diff --git a/buildroot-2022.02.1/package/php-xdebug/php-xdebug.mk b/buildroot-2022.02.1/package/php-xdebug/php-xdebug.mk new file mode 100644 index 00000000..18ebc325 --- /dev/null +++ b/buildroot-2022.02.1/package/php-xdebug/php-xdebug.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# php-xdebug +# +################################################################################ + +PHP_XDEBUG_VERSION = 3.0.4 +PHP_XDEBUG_SITE = $(call github,xdebug,xdebug,$(PHP_XDEBUG_VERSION)) +PHP_XDEBUG_INSTALL_STAGING = YES +PHP_XDEBUG_LICENSE = Xdebug License (PHP-3.0-like) +PHP_XDEBUG_LICENSE_FILES = LICENSE +# phpize does the autoconf magic +PHP_XDEBUG_DEPENDENCIES = php host-autoconf +PHP_XDEBUG_CONF_OPTS = \ + --enable-xdebug \ + --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --with-xdebug=$(STAGING_DIR)/usr + +define PHP_XDEBUG_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef + +PHP_XDEBUG_PRE_CONFIGURE_HOOKS += PHP_XDEBUG_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/php-yaml/Config.in b/buildroot-2022.02.1/package/php-yaml/Config.in similarity index 100% rename from buildroot-2021.05/package/php-yaml/Config.in rename to buildroot-2022.02.1/package/php-yaml/Config.in diff --git a/buildroot-2022.02.1/package/php-yaml/php-yaml.hash b/buildroot-2022.02.1/package/php-yaml/php-yaml.hash new file mode 100644 index 00000000..e4f31cda --- /dev/null +++ b/buildroot-2022.02.1/package/php-yaml/php-yaml.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 e17ad04e752e25fd099bddd2df9d26dfef183c8d00c4179bc9d7a2e1c97d7819 yaml-2.2.1.tgz +sha256 68d9700294396c72089bfc7bf38a5b3654a53ae415f3bd37768848c14e86f338 LICENSE diff --git a/buildroot-2022.02.1/package/php-yaml/php-yaml.mk b/buildroot-2022.02.1/package/php-yaml/php-yaml.mk new file mode 100644 index 00000000..ba16c9ac --- /dev/null +++ b/buildroot-2022.02.1/package/php-yaml/php-yaml.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# php-yaml +# +################################################################################ + +PHP_YAML_VERSION = 2.2.1 +PHP_YAML_SOURCE = yaml-$(PHP_YAML_VERSION).tgz +PHP_YAML_SITE = https://pecl.php.net/get +PHP_YAML_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \ + --with-yaml=$(STAGING_DIR)/usr +# phpize does the autoconf magic +PHP_YAML_DEPENDENCIES = libyaml php host-autoconf +PHP_YAML_LICENSE = MIT +PHP_YAML_LICENSE_FILES = LICENSE + +define PHP_YAML_PHPIZE + (cd $(@D); \ + PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \ + PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \ + $(STAGING_DIR)/usr/bin/phpize) +endef + +PHP_YAML_PRE_CONFIGURE_HOOKS += PHP_YAML_PHPIZE + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/php-zmq/0001-updates-for-php7.4-and-php8.0.patch b/buildroot-2022.02.1/package/php-zmq/0001-updates-for-php7.4-and-php8.0.patch new file mode 100644 index 00000000..3c286e39 --- /dev/null +++ b/buildroot-2022.02.1/package/php-zmq/0001-updates-for-php7.4-and-php8.0.patch @@ -0,0 +1,230 @@ +From 4ad1b33e095924bd4ccf79295999dd54edaaac37 Mon Sep 17 00:00:00 2001 +From: Luca Boccassi +Date: Thu, 5 Mar 2020 22:51:22 +0000 +Subject: [PATCH] updates for php7.4 and php8.0 (#212) + +From upstream commit: 4ad1b33e095924bd4ccf79295999dd54edaaac37 + +* travisci: enabled php7.4 and php8.0 + +* updates for php7.4 and php8.0 + +- travisci enabled php7.4 and php8.0 +- removed now unused references to TSRMLS_* + These flags were mostly already removed from the + php7 codebase but some instances were still present. + With php8 these produce compile errors. +- fix tests for php8 and php7.4 + New TypeErrors now get handled correctly in the test cases. +- fix memory corruption in zmq.c + The conflicting line causes memory leaks on other php + version and causes a segfault on php8 and php7.4 + The error was provocable with test case + 021-callbackwarning.phpt. After removing of the line + valgrind showed no memory leak, so this line was probably + redundant. Also if you compare with zmqsocket constructor + this line is also not present. + +Signed-off-by: Luca Boccassi +Signed-off-by: Adam Duskett +--- + php_zmq_private.h | 4 ++-- + tests/016-callbackinvalidargs.phpt | 4 ++++ + tests/022-highwatermark.phpt | 6 +++--- + tests/bug_gh_43.phpt | 25 +++++++++++++++++-------- + zmq.c | 1 - + zmq_device.c | 14 +++++++------- + zmq_sockopt.c | 2 +- + 7 files changed, 34 insertions(+), 22 deletions(-) + +diff --git a/php_zmq_private.h b/php_zmq_private.h +index 49630e9..2e5cd3b 100644 +--- a/php_zmq_private.h ++++ b/php_zmq_private.h +@@ -156,9 +156,9 @@ typedef struct _php_zmq_device_object { + + #define PHP_ZMQ_ERROR_HANDLING_INIT() zend_error_handling error_handling; + +-#define PHP_ZMQ_ERROR_HANDLING_THROW() zend_replace_error_handling(EH_THROW, php_zmq_socket_exception_sc_entry, &error_handling TSRMLS_CC); ++#define PHP_ZMQ_ERROR_HANDLING_THROW() zend_replace_error_handling(EH_THROW, php_zmq_socket_exception_sc_entry, &error_handling); + +-#define PHP_ZMQ_ERROR_HANDLING_RESTORE() zend_restore_error_handling(&error_handling TSRMLS_CC); ++#define PHP_ZMQ_ERROR_HANDLING_RESTORE() zend_restore_error_handling(&error_handling); + + /* Compatibility macros between zeromq 2.x and 3.x */ + #ifndef ZMQ_DONTWAIT +diff --git a/tests/016-callbackinvalidargs.phpt b/tests/016-callbackinvalidargs.phpt +index a940e41..6bd0e75 100644 +--- a/tests/016-callbackinvalidargs.phpt ++++ b/tests/016-callbackinvalidargs.phpt +@@ -10,6 +10,8 @@ try { + echo "Fail\n"; + } catch (ZMQSocketException $e) { + echo "OK\n"; ++} catch (TypeError $e) { ++ echo "OK\n"; // on PHP8 + } + + try { +@@ -18,6 +20,8 @@ try { + echo "Fail\n"; + } catch (ZMQSocketException $e) { + echo "OK\n"; ++} catch (TypeError $e) { ++ echo "OK\n"; // on PHP8 + } + + --EXPECT-- +diff --git a/tests/022-highwatermark.phpt b/tests/022-highwatermark.phpt +index 84be509..c1ff703 100644 +--- a/tests/022-highwatermark.phpt ++++ b/tests/022-highwatermark.phpt +@@ -1,11 +1,11 @@ + --TEST-- + Test that high-watermark works + --SKIPIF-- +- +- ++ + --FILE-- + +- +---EXPECTF-- +-Warning: ZMQDevice::__construct() expects at most 3 parameters, 4 given in %s/bug_gh_43.php on line %d +-OK +\ No newline at end of file ++try { ++ $device = new ZMQDevice ($sock1, $sock1, $sock1, $sock1); ++ // on PHP7 and lower ++ $lastError = error_get_last(); ++ if(strpos($lastError['message'], 'ZMQDevice::__construct() expects at most 3 parameters, 4 given') !== false) ++ echo "OK\n"; ++ else{ ++ echo "FAIL\n"; ++ print_r($lastError); ++ } ++}catch(TypeError $e){ ++ echo "OK\n"; // on PHP8 ++} ++--EXPECT-- ++OK +diff --git a/zmq.c b/zmq.c +index 942e69b..66196ea 100644 +--- a/zmq.c ++++ b/zmq.c +@@ -687,7 +687,6 @@ PHP_METHOD(zmqcontext, getsocket) + if (!php_zmq_connect_callback(return_value, &fci, &fci_cache, persistent_id)) { + php_zmq_socket_destroy(socket); + interns->socket = NULL; +- zval_dtor(return_value); + return; + } + } +diff --git a/zmq_device.c b/zmq_device.c +index c7415c1..534f966 100644 +--- a/zmq_device.c ++++ b/zmq_device.c +@@ -41,7 +41,7 @@ + ZEND_EXTERN_MODULE_GLOBALS(php_zmq) + + static +-zend_bool s_invoke_device_cb (php_zmq_device_cb_t *cb, uint64_t current_ts TSRMLS_DC) ++zend_bool s_invoke_device_cb (php_zmq_device_cb_t *cb, uint64_t current_ts) + { + zend_bool retval = 0; + zval params[1]; +@@ -59,7 +59,7 @@ zend_bool s_invoke_device_cb (php_zmq_device_cb_t *cb, uint64_t current_ts TSRML + if (zend_call_function(&(cb->fci), &(cb->fci_cache)) == FAILURE) { + if (!EG(exception)) { + char *func_name = php_zmq_printable_func(&cb->fci, &cb->fci_cache); +- zend_throw_exception_ex(php_zmq_device_exception_sc_entry_get (), 0 TSRMLS_CC, "Failed to invoke device callback %s()", func_name); ++ zend_throw_exception_ex(php_zmq_device_exception_sc_entry_get (), 0, "Failed to invoke device callback %s()", func_name); + zval_ptr_dtor(¶ms[0]); + efree(func_name); + } +@@ -94,7 +94,7 @@ int s_capture_message (void *socket, zmq_msg_t *msg, int more) + } + + static +-int s_calculate_timeout (php_zmq_device_object *intern TSRMLS_DC) ++int s_calculate_timeout (php_zmq_device_object *intern) + { + int timeout = -1; + uint64_t current = php_zmq_clock (ZMQ_G (clock_ctx)); +@@ -131,7 +131,7 @@ int s_calculate_timeout (php_zmq_device_object *intern TSRMLS_DC) + } + + +-zend_bool php_zmq_device (php_zmq_device_object *intern TSRMLS_DC) ++zend_bool php_zmq_device (php_zmq_device_object *intern) + { + int errno_; + uint64_t last_message_received; +@@ -186,7 +186,7 @@ zend_bool php_zmq_device (php_zmq_device_object *intern TSRMLS_DC) + uint64_t current_ts = 0; + + /* Calculate poll_timeout based on idle / timer cb */ +- int timeout = s_calculate_timeout (intern TSRMLS_CC); ++ int timeout = s_calculate_timeout (intern); + + rc = zmq_poll(&items [0], 2, timeout); + if (rc < 0) { +@@ -205,7 +205,7 @@ zend_bool php_zmq_device (php_zmq_device_object *intern TSRMLS_DC) + if (intern->timer_cb.initialized && intern->timer_cb.timeout > 0) { + /* Is it timer to call the timer ? */ + if (intern->timer_cb.scheduled_at <= current_ts) { +- if (!s_invoke_device_cb (&intern->timer_cb, current_ts TSRMLS_CC)) { ++ if (!s_invoke_device_cb (&intern->timer_cb, current_ts)) { + zmq_msg_close (&msg); + return 1; + } +@@ -217,7 +217,7 @@ zend_bool php_zmq_device (php_zmq_device_object *intern TSRMLS_DC) + /* Is it timer to call the idle callback ? */ + if ((current_ts - last_message_received) >= intern->idle_cb.timeout && + intern->idle_cb.scheduled_at <= current_ts) { +- if (!s_invoke_device_cb (&intern->idle_cb, current_ts TSRMLS_CC)) { ++ if (!s_invoke_device_cb (&intern->idle_cb, current_ts)) { + zmq_msg_close (&msg); + return 1; + } +diff --git a/zmq_sockopt.c b/zmq_sockopt.c +index 1357032..14b59f0 100644 +--- a/zmq_sockopt.c ++++ b/zmq_sockopt.c +@@ -2036,7 +2036,7 @@ PHP_METHOD(zmqsocket, setsockopt) + long key; + zval *zv; + +- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lz/", &key, &zv) == FAILURE) { ++ if (zend_parse_parameters(ZEND_NUM_ARGS(), "lz/", &key, &zv) == FAILURE) { + return; + } + +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/php-zmq/0002-fix-for-php-7.3.patch b/buildroot-2022.02.1/package/php-zmq/0002-fix-for-php-7.3.patch new file mode 100644 index 00000000..3ca87582 --- /dev/null +++ b/buildroot-2022.02.1/package/php-zmq/0002-fix-for-php-7.3.patch @@ -0,0 +1,43 @@ +From e0db82c3286da81fa8945894dd10125a528299e4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Gr=C3=A9gory=20PLANCHAT?= + +Date: Wed, 8 Jul 2020 10:09:38 +0200 +Subject: [PATCH] Fix for PHP 7.3 (#215) + +Co-authored-by: Remi Collet +Signed-off-by: Adam Duskett +--- + zmq.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/zmq.c b/zmq.c +index 66196ea..879704f 100644 +--- a/zmq.c ++++ b/zmq.c +@@ -235,7 +235,11 @@ php_zmq_context *php_zmq_context_get(zend_long io_threads, zend_bool is_persiste + le.type = php_zmq_context_list_entry(); + le.ptr = context; + ++#if PHP_VERSION_ID < 70300 + GC_REFCOUNT(&le) = 1; ++#else ++ GC_SET_REFCOUNT(&le, 1); ++#endif + + /* plist_key is not a persistent allocated key, thus we use str_update here */ + if (zend_hash_str_update_mem(&EG(persistent_list), plist_key->val, plist_key->len, &le, sizeof(le)) == NULL) { +@@ -535,7 +539,11 @@ void php_zmq_socket_store(php_zmq_socket *zmq_sock_p, zend_long type, zend_strin + le.type = php_zmq_socket_list_entry(); + le.ptr = zmq_sock_p; + ++#if PHP_VERSION_ID < 70300 + GC_REFCOUNT(&le) = 1; ++#else ++ GC_SET_REFCOUNT(&le, 1); ++#endif + + plist_key = php_zmq_socket_plist_key(type, persistent_id, use_shared_ctx); + +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/php-zmq/0003-fix-for-php-8.0.0beta2.patch b/buildroot-2022.02.1/package/php-zmq/0003-fix-for-php-8.0.0beta2.patch new file mode 100644 index 00000000..c5aab16a --- /dev/null +++ b/buildroot-2022.02.1/package/php-zmq/0003-fix-for-php-8.0.0beta2.patch @@ -0,0 +1,40 @@ +From f0993f1fe973c4d359323ad1897ed7aa74f7e015 Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Mon, 24 Aug 2020 15:55:54 +0200 +Subject: [PATCH] fix for PHP 8.0.0beta2 + +Signed-off-by: Remi Collet +Signed-off-by: Adam Duskett +--- + zmq.c | 2 ++ + zmq_device.c | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/zmq.c b/zmq.c +index 89902f9..bd2401d 100644 +--- a/zmq.c ++++ b/zmq.c +@@ -621,7 +621,9 @@ zend_bool php_zmq_connect_callback(zval *socket, zend_fcall_info *fci, zend_fcal + fci->params = params; + fci->param_count = 2; + fci->retval = &retval; ++#if PHP_VERSION_ID < 80000 + fci->no_separation = 1; ++#endif + + if (zend_call_function(fci, fci_cache) == FAILURE) { + if (!EG(exception)) { +diff --git a/zmq_device.c b/zmq_device.c +index 534f966..1c6aa3e 100644 +--- a/zmq_device.c ++++ b/zmq_device.c +@@ -53,7 +53,9 @@ zend_bool s_invoke_device_cb (php_zmq_device_cb_t *cb, uint64_t current_ts) + cb->fci.param_count = 1; + + /* Call the cb */ ++#if PHP_VERSION_ID < 80000 + cb->fci.no_separation = 1; ++#endif + cb->fci.retval = &fc_retval; + + if (zend_call_function(&(cb->fci), &(cb->fci_cache)) == FAILURE) { diff --git a/buildroot-2021.05/package/php-zmq/Config.in b/buildroot-2022.02.1/package/php-zmq/Config.in similarity index 100% rename from buildroot-2021.05/package/php-zmq/Config.in rename to buildroot-2022.02.1/package/php-zmq/Config.in diff --git a/buildroot-2021.05/package/php-zmq/php-zmq.hash b/buildroot-2022.02.1/package/php-zmq/php-zmq.hash similarity index 100% rename from buildroot-2021.05/package/php-zmq/php-zmq.hash rename to buildroot-2022.02.1/package/php-zmq/php-zmq.hash diff --git a/buildroot-2021.05/package/php-zmq/php-zmq.mk b/buildroot-2022.02.1/package/php-zmq/php-zmq.mk similarity index 100% rename from buildroot-2021.05/package/php-zmq/php-zmq.mk rename to buildroot-2022.02.1/package/php-zmq/php-zmq.mk diff --git a/buildroot-2022.02.1/package/php/0001-acinclude.m4-don-t-unset-variables.patch b/buildroot-2022.02.1/package/php/0001-acinclude.m4-don-t-unset-variables.patch new file mode 100644 index 00000000..2d155527 --- /dev/null +++ b/buildroot-2022.02.1/package/php/0001-acinclude.m4-don-t-unset-variables.patch @@ -0,0 +1,40 @@ +From 7a4168062fbab2e33ef9a42bca9f87a5921afac2 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Tue, 9 Aug 2016 11:49:56 +0200 +Subject: [PATCH] acinclude.m4: don't unset variables + +Unsetting ac_cv_{func,lib}_* is bad, you can't feed the configure cache. +Terminate them with extreme prejudice. + +Signed-off-by: Gustavo Zacarias +Signed-off-by: Adam Duskett +[aduskett@gmail.com: Update for 7.3.0] +--- + build/php.m4 | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/build/php.m4 b/build/php.m4 +index e91ef988..9586c490 100644 +--- a/build/php.m4 ++++ b/build/php.m4 +@@ -1568,8 +1568,6 @@ dnl PHP_CHECK_FUNC_LIB + dnl + AC_DEFUN([PHP_CHECK_FUNC_LIB],[ + ifelse($2,,:,[ +- unset ac_cv_lib_$2[]_$1 +- unset ac_cv_lib_$2[]___$1 + unset found + AC_CHECK_LIB($2, $1, [found=yes], [ + AC_CHECK_LIB($2, __$1, [found=yes], [found=no]) +@@ -1601,8 +1599,6 @@ dnl and as a fall back in the specified library. Defines HAVE_func and + dnl HAVE_library if found and adds the library to LIBS. + dnl + AC_DEFUN([PHP_CHECK_FUNC],[ +- unset ac_cv_func_$1 +- unset ac_cv_func___$1 + unset found + + AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ]) +-- +2.7.4 + diff --git a/buildroot-2022.02.1/package/php/0002-iconv-tweak-iconv-detection.patch b/buildroot-2022.02.1/package/php/0002-iconv-tweak-iconv-detection.patch new file mode 100644 index 00000000..19d7ab5c --- /dev/null +++ b/buildroot-2022.02.1/package/php/0002-iconv-tweak-iconv-detection.patch @@ -0,0 +1,39 @@ +From 1357df0196806d5697b1f84497ef72aab5faa8a3 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Tue, 9 Aug 2016 11:50:49 +0200 +Subject: [PATCH] iconv: tweak iconv detection + +Tweak PHP_SETUP_ICONV from aclocal/build/php.m4 to not +PHP_ADD_INCLUDE $ICONV_DIR/include since the tests use +test instead of AC_TRY_LINK to find headers which is bad, +specially when adding /usr and /usr/local to the mix. +Do basically the same with ext/iconv/config.m4 by tweaking +PHP_ICONV_H_PATH which, again, uses test and absolute paths. + +Signed-off-by: Gustavo Zacarias +[Gustavo: convert to nice m4 instead of patching configure] +[Gustavo: update for 5.6.10] +Signed-off-by: Adam Duskett +[aduskett@gmail.com: Update for 8.0.7] +Signed-off-by: Bernd Kuhls +[Bernd: rebased for 7.4.10 & 7.4.13] +--- + build/php.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build/php.m4 b/build/php.m4 +index 9586c490..8b3d47ed 100644 +--- a/build/php.m4 ++++ b/build/php.m4 +@@ -1937,7 +1937,7 @@ AC_DEFUN([PHP_SETUP_ICONV], [ + dnl Check external libs for iconv funcs. + if test "$found_iconv" = "no"; then + +- for i in $PHP_ICONV /usr/local /usr; do ++ for i in $PHP_ICONV; do + if test -r $i/include/gnu-libiconv/iconv.h; then + ICONV_DIR=$i + ICONV_INCLUDE_DIR=$i/include/gnu-libiconv +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/php/0003-configure-disable-the-phar-tool.patch b/buildroot-2022.02.1/package/php/0003-configure-disable-the-phar-tool.patch new file mode 100644 index 00000000..cc4f55a8 --- /dev/null +++ b/buildroot-2022.02.1/package/php/0003-configure-disable-the-phar-tool.patch @@ -0,0 +1,43 @@ +From 5ba6355e489f647c88ca48afbc75965468193181 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias +Date: Tue, 9 Aug 2016 11:51:53 +0200 +Subject: [PATCH] configure: disable the 'phar' tool + +Disable the 'phar' command-line tool build/installation since it requires +php to run and pack up phar itself in phar format. This would require +a host-php instance and really probably nobody needs the phar tool +on the target. + +Signed-off-by: Gustavo Zacarias +[Gustavo: update for autoreconf/configure.in] +Signed-off-by: Adam Duskett +[Aduskett: update for 8.0.7] +Signed-off-by: Bernd Kuhls +[Bernd: rebased for 7.4.10 & 7.4.13] +--- + configure.ac | 9 ++------- + 1 file changed, 2 insertions(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 0dfab302..6026fb66 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1423,13 +1423,8 @@ CFLAGS_CLEAN="$CFLAGS \$(PROF_FLAGS)" + CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag" + CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)" + +-if test "$PHP_PHAR" != "no" && test "$PHP_CLI" != "no"; then +- pharcmd=pharcmd +- pharcmd_install=install-pharcmd +-else +- pharcmd= +- pharcmd_install= +-fi; ++pharcmd= ++pharcmd_install= + + all_targets="$lcov_target \$(OVERALL_TARGET) \$(PHP_MODULES) \$(PHP_ZEND_EX) \$(PHP_BINARIES) $pharcmd" + install_targets="$install_sapi $install_modules $install_binaries install-build install-headers install-programs $install_pear $pharcmd_install" +-- +2.14.3 + diff --git a/buildroot-2022.02.1/package/php/0004-Call-apxs-with-correct-prefix.patch b/buildroot-2022.02.1/package/php/0004-Call-apxs-with-correct-prefix.patch new file mode 100644 index 00000000..3a1a5800 --- /dev/null +++ b/buildroot-2022.02.1/package/php/0004-Call-apxs-with-correct-prefix.patch @@ -0,0 +1,51 @@ +From 4342bdea7a1a21430ce0d051fa4387441166c473 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 11 Dec 2016 23:12:46 +0100 +Subject: [PATCH] Call apxs with correct prefix + +php uses apache's apxs script from staging directory to install libphp +dynamic library and update /etc/apache2/httpd.conf in the staging and target +directories. Here is the full command line: +"apxs -S LIBEXECDIR='$(INSTALL_ROOT)/usr/modules' + -S SYSCONFDIR='$(INSTALL_ROOT)/etc/apache2' -i -a -n php" +This does not work for target directory as apxs sets the full path of the +library and not the relative one. Indeed, apxs is smart enough to substitute +away the prefix specified in $(STAGING_DIR)/usr/build/config_vars.mk so +httpd.conf will only be correct in the staging directory. +To fix this, add -S PREFIX='$(INSTALL_ROOT)/usr' to apxs call in configure + +Signed-off-by: Fabrice Fontaine +Signed-off-by: Adam Duskett +[aduskett@gmail.com: Update for 8.0.7] +--- + sapi/apache2handler/config.m4 | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/sapi/apache2handler/config.m4 b/sapi/apache2handler/config.m4 +index 55c16179..68ce66c0 100644 +--- a/sapi/apache2handler/config.m4 ++++ b/sapi/apache2handler/config.m4 +@@ -63,10 +63,12 @@ if test "$PHP_APXS2" != "no"; then + AC_MSG_ERROR([Please note that Apache version >= 2.0.44 is required]) + fi + ++ APXS_PREFIX='$(INSTALL_ROOT)'/usr + APXS_LIBEXECDIR='$(INSTALL_ROOT)'`$APXS -q LIBEXECDIR` + if test -z `$APXS -q SYSCONFDIR`; then + INSTALL_IT="\$(mkinstalldirs) '$APXS_LIBEXECDIR' && \ + $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \ ++ -S PREFIX='$APXS_PREFIX' \ + -i -n php" + else + APXS_SYSCONFDIR='$(INSTALL_ROOT)'`$APXS -q SYSCONFDIR` +@@ -74,6 +76,7 @@ if test "$PHP_APXS2" != "no"; then + \$(mkinstalldirs) '$APXS_SYSCONFDIR' && \ + $APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \ + -S SYSCONFDIR='$APXS_SYSCONFDIR' \ ++ -S PREFIX='$APXS_PREFIX' \ + -i -a -n php" + fi + +-- +2.5.0 + diff --git a/buildroot-2022.02.1/package/php/0005-allow-opcache-cross-compiling.patch b/buildroot-2022.02.1/package/php/0005-allow-opcache-cross-compiling.patch new file mode 100644 index 00000000..d168f718 --- /dev/null +++ b/buildroot-2022.02.1/package/php/0005-allow-opcache-cross-compiling.patch @@ -0,0 +1,37 @@ +From 9bb316c41a69935ee2072626467241889594bed4 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 28 Jun 2021 11:12:36 -0700 +Subject: [PATCH] allow opcache cross-compiling + +Remove the check at the end of ext/opcache/config.m4 that prevents opcache from +being enabled in a cross-compiled environment. We pass the following as a +CFLAGS when opcache is enabled: + -DHAVE_SHM_IPC + -DHAVE_SHM_MMAP_ANON + -DHAVE_SHM_MMAP_ZERO + -DHAVE_SHM_MMAP_POSIX + -DHAVE_SHM_MMAP_FILE + +Signed-off-by: Adam Duskett +--- + ext/opcache/config.m4 | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 +index 5492fd92..10c150ff 100644 +--- a/ext/opcache/config.m4 ++++ b/ext/opcache/config.m4 +@@ -339,10 +339,6 @@ int main() { + PHP_ADD_BUILD_DIR([$ext_builddir/Optimizer], 1) + PHP_ADD_EXTENSION_DEP(opcache, pcre) + +- if test "$have_shm_ipc" != "yes" && test "$have_shm_mmap_posix" != "yes" && test "$have_shm_mmap_anon" != "yes"; then +- AC_MSG_ERROR([No supported shared memory caching support was found when configuring opcache. Check config.log for any errors or missing dependencies.]) +- fi +- + if test "$PHP_OPCACHE_JIT" = "yes"; then + PHP_ADD_BUILD_DIR([$ext_builddir/jit], 1) + PHP_ADD_MAKEFILE_FRAGMENT($ext_srcdir/jit/Makefile.frag) +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/php/Config.ext b/buildroot-2022.02.1/package/php/Config.ext new file mode 100644 index 00000000..5da5d8be --- /dev/null +++ b/buildroot-2022.02.1/package/php/Config.ext @@ -0,0 +1,424 @@ +menu "Extensions" + +config BR2_PACKAGE_PHP_EXT_CALENDAR + bool "Calendar" + help + Calendar and event support + +config BR2_PACKAGE_PHP_EXT_FILEINFO + bool "Fileinfo" + help + File Information support + +comment "OPcache needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_PHP_EXT_OPCACHE + bool "OPcache" + depends on !BR2_STATIC_LIBS + help + Enable the Zend OPcache accelerator. + +comment "Readline needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_PHP_EXT_READLINE + bool "Readline" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_READLINE + help + Readline support + +config BR2_PACKAGE_PHP_EXT_SESSION + bool "Session" + default y + help + Session support + +comment "Compression extensions" + +config BR2_PACKAGE_PHP_EXT_BZIP2 + bool "bzip2" + select BR2_PACKAGE_BZIP2 + help + bzip2 read/write support + +config BR2_PACKAGE_PHP_EXT_PHAR + bool "phar" + help + PHP Archive support + +comment "zip needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_PHP_EXT_ZIP + bool "zip" + depends on !BR2_STATIC_LIBS # libzip + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LIBZIP + help + Zip read/write support + +config BR2_PACKAGE_PHP_EXT_ZLIB + bool "zlib" + default y + select BR2_PACKAGE_ZLIB + help + zlib support + +comment "Cryptography extensions" + +comment "libargon2 needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_PHP_EXT_LIBARGON2 + bool "libargon2" + depends on BR2_USE_MMU # libargon2 + depends on !BR2_STATIC_LIBS # libargon2 + select BR2_PACKAGE_LIBARGON2 + help + libargon2 support + +config BR2_PACKAGE_PHP_EXT_LIBSODIUM + bool "libsodium" + select BR2_PACKAGE_LIBSODIUM + help + libsodium support + +config BR2_PACKAGE_PHP_EXT_OPENSSL + bool "openssl" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + help + openssl support + +comment "Database extensions" + +config BR2_PACKAGE_PHP_EXT_DBA + bool "DBA" + help + Database Abstraction Layer + +if BR2_PACKAGE_PHP_EXT_DBA + +config BR2_PACKAGE_PHP_EXT_DBA_CDB + bool "cdb" + help + CDB handler + +config BR2_PACKAGE_PHP_EXT_DBA_DB4 + bool "db4/5" + select BR2_PACKAGE_BERKELEYDB + help + BerkeleyDB version 4/5 handler + +config BR2_PACKAGE_PHP_EXT_DBA_FLAT + bool "flat" + default y + help + Flat file handler + +config BR2_PACKAGE_PHP_EXT_DBA_INI + bool "ini" + default y + help + INI file handler + +endif + +config BR2_PACKAGE_PHP_EXT_MYSQLI + bool "Mysqli" + help + MySQL Improved extension support + +config BR2_PACKAGE_PHP_EXT_PGSQL + bool "PostgreSQL" + depends on BR2_USE_MMU # postgresql + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR # postgresql + select BR2_PACKAGE_POSTGRESQL + help + PostgreSQL support + +comment "PostgreSQL extension needs a toolchain w/ dynamic library, wchar" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR + +config BR2_PACKAGE_PHP_EXT_SQLITE + bool "SQLite3" + select BR2_PACKAGE_SQLITE + help + SQLite3 support + +config BR2_PACKAGE_PHP_EXT_PDO + bool "PDO" + help + PHP Data Objects support + +if BR2_PACKAGE_PHP_EXT_PDO + +config BR2_PACKAGE_PHP_EXT_PDO_MYSQL + bool "MySQL" + help + PDO driver for MySQL + +config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL + bool "PostgreSQL" + depends on BR2_USE_MMU # postgresql + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR # postgresql + select BR2_PACKAGE_POSTGRESQL + help + PDO driver for PostgreSQL + +comment "PostgreSQL drivers need a toolchain w/ wchar, dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR + +config BR2_PACKAGE_PHP_EXT_PDO_SQLITE + bool "SQLite3" + select BR2_PACKAGE_SQLITE + help + SQLite3 driver for PDO + +config BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC + bool "unixODBC" + depends on !BR2_STATIC_LIBS # unixodbc + select BR2_PACKAGE_UNIXODBC + help + unixODBC driver for PDO + +comment "unixodbc driver needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +endif + +comment "Human language and character encoding support" + +config BR2_PACKAGE_PHP_EXT_GETTEXT + bool "Gettext" + depends on BR2_SYSTEM_ENABLE_NLS + help + Gettext support + +comment "Gettext support needs NLS enabled" + depends on !BR2_SYSTEM_ENABLE_NLS + +config BR2_PACKAGE_PHP_EXT_ICONV + bool "iconv" + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + iconv character set conversion support + +config BR2_PACKAGE_PHP_EXT_INTL + bool "intl" + depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu + depends on !BR2_BINFMT_FLAT # icu + depends on BR2_TOOLCHAIN_HAS_THREADS # icu + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_ICU + help + Internationalization support + +comment "intl support needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9" + depends on !BR2_BINFMT_FLAT + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_PHP_EXT_MBSTRING + bool "mbstring" + select BR2_PACKAGE_ONIGURUMA + help + multibyte string support + +comment "Image processing" + +config BR2_PACKAGE_PHP_EXT_EXIF + bool "EXIF" + help + EXIF support + +config BR2_PACKAGE_PHP_EXT_GD + bool "GD" + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_ZLIB + help + GD support + +comment "Mathematical extensions" + +config BR2_PACKAGE_PHP_EXT_BCMATH + bool "BC math" + help + BCMath arbitrary precision mathematics support + +config BR2_PACKAGE_PHP_EXT_GMP + bool "GMP" + select BR2_PACKAGE_GMP + help + GNU Multiple Precision support + +comment "Other basic extensions" + +config BR2_PACKAGE_PHP_EXT_TOKENIZER + bool "Tokenizer" + help + Tokenizer functions support + +comment "Other services" + +config BR2_PACKAGE_PHP_EXT_CURL + bool "cURL" + select BR2_PACKAGE_LIBCURL + help + cURL for URL streams + +config BR2_PACKAGE_PHP_EXT_FTP + bool "FTP" + help + FTP support + +config BR2_PACKAGE_PHP_EXT_SNMP + bool "SNMP" + depends on BR2_USE_MMU # netsnmp fork() + select BR2_PACKAGE_NETSNMP + select BR2_PACKAGE_NETSNMP_ENABLE_MIBS + help + SNMP support + +config BR2_PACKAGE_PHP_EXT_SOCKETS + bool "sockets" + help + Sockets support + +comment "Process Control" + +config BR2_PACKAGE_PHP_EXT_PCNTL + bool "PCNTL" + depends on BR2_USE_MMU # fork() + help + Process control support + +config BR2_PACKAGE_PHP_EXT_POSIX + bool "Posix" + default y + help + POSIX.1 (IEEE 1003.1) function support + +config BR2_PACKAGE_PHP_EXT_SHMOP + bool "shmop" + help + Shared memory support + +config BR2_PACKAGE_PHP_EXT_SYSVMSG + bool "sysvmsg" + help + System V message queue support + +config BR2_PACKAGE_PHP_EXT_SYSVSEM + bool "sysvsem" + help + System V semaphore support + +config BR2_PACKAGE_PHP_EXT_SYSVSHM + bool "sysvshm" + help + System V shared memory support + +comment "Variable and Type related" + +config BR2_PACKAGE_PHP_EXT_CTYPE + bool "Ctype" + help + Character type checking support + +config BR2_PACKAGE_PHP_EXT_FILTER + bool "Filter" + help + Input filter support + +comment "Web services" + +config BR2_PACKAGE_PHP_EXT_SOAP + bool "SOAP" + select BR2_PACKAGE_PHP_EXT_LIBXML2 + help + SOAP support + +comment "XML manipulation" + +config BR2_PACKAGE_PHP_EXT_DOM + bool "DOM" + select BR2_PACKAGE_PHP_EXT_LIBXML2 + help + Document Object Model support + +config BR2_PACKAGE_PHP_EXT_LIBXML2 + bool "libxml" + select BR2_PACKAGE_LIBXML2 + help + libxml2 support + +config BR2_PACKAGE_PHP_EXT_SIMPLEXML + bool "SimpleXML" + select BR2_PACKAGE_PHP_EXT_LIBXML2 + help + SimpleXML support + +config BR2_PACKAGE_PHP_EXT_WDDX + bool "WDDX" + select BR2_PACKAGE_EXPAT + select BR2_PACKAGE_PHP_EXT_LIBXML2 + help + WDDX support + +config BR2_PACKAGE_PHP_EXT_XML + bool "XML Parser" + select BR2_PACKAGE_PHP_EXT_LIBXML2 + help + XML Parser support + +config BR2_PACKAGE_PHP_EXT_XMLREADER + bool "XMLReader" + select BR2_PACKAGE_PHP_EXT_LIBXML2 + help + XMLReader support + +config BR2_PACKAGE_PHP_EXT_XMLWRITER + bool "XMLWriter" + select BR2_PACKAGE_PHP_EXT_LIBXML2 + help + XMLWriter support + +config BR2_PACKAGE_PHP_EXT_XSL + bool "XSL" + select BR2_PACKAGE_PHP_EXT_DOM + select BR2_PACKAGE_PHP_EXT_LIBXML2 + select BR2_PACKAGE_LIBXSLT + help + XSL transformation support + +config BR2_PACKAGE_PHP_EXT_FFI + bool "FFI" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBFFI + help + Foreign Function Interface support + +comment "PHP FFI extension needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +endmenu diff --git a/buildroot-2022.02.1/package/php/Config.in b/buildroot-2022.02.1/package/php/Config.in new file mode 100644 index 00000000..226d2d5f --- /dev/null +++ b/buildroot-2022.02.1/package/php/Config.in @@ -0,0 +1,56 @@ +config BR2_PACKAGE_PHP + bool "php" + # PHP uses -export-dynamic, which breaks with elf2flt with a + # message like "ld.real: section .junk LMA [...,...] overlaps + # section .text LMA [...,...]" + depends on !BR2_BINFMT_FLAT + depends on BR2_USE_WCHAR + select BR2_PACKAGE_PHP_SAPI_CGI if \ + !BR2_PACKAGE_PHP_SAPI_APACHE && \ + !BR2_PACKAGE_PHP_SAPI_CLI && \ + !BR2_PACKAGE_PHP_SAPI_FPM && \ + BR2_USE_MMU + select BR2_PACKAGE_PHP_SAPI_CLI if !BR2_USE_MMU + select BR2_PACKAGE_PCRE2 + help + PHP is a widely-used general-purpose scripting + language that is especially suited for Web development + and can be embedded into HTML. + + http://www.php.net + +if BR2_PACKAGE_PHP + +config BR2_PACKAGE_PHP_SAPI_APACHE + bool "Apache interface" + depends on BR2_PACKAGE_APACHE + help + Apache module + +config BR2_PACKAGE_PHP_SAPI_CGI + bool "CGI interface" + # CGI uses fork() + depends on BR2_USE_MMU + help + Common Gateway Interface + +config BR2_PACKAGE_PHP_SAPI_CLI + bool "CLI interface" + help + Command Line Interface + +config BR2_PACKAGE_PHP_SAPI_FPM + bool "FPM interface" + depends on BR2_USE_MMU + # "Sparc v8 and predecessors are not and will not be supported" + depends on !BR2_sparc + help + PHP-FPM (FastCGI Process Manager) + +source "package/php/Config.ext" + +endif + +comment "php needs a toolchain w/ wchar" + depends on !BR2_BINFMT_FLAT + depends on !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/php/php-fpm.conf b/buildroot-2022.02.1/package/php/php-fpm.conf similarity index 100% rename from buildroot-2021.05/package/php/php-fpm.conf rename to buildroot-2022.02.1/package/php/php-fpm.conf diff --git a/buildroot-2022.02.1/package/php/php.hash b/buildroot-2022.02.1/package/php/php.hash new file mode 100644 index 00000000..3d73e60f --- /dev/null +++ b/buildroot-2022.02.1/package/php/php.hash @@ -0,0 +1,5 @@ +# From https://www.php.net/downloads.php +sha256 4e7d94bb3d144412cb8b2adeb599fb1c6c1d7b357b0d0d0478dc5ef53532ebc5 php-8.0.17.tar.xz + +# License file +sha256 a188db807d711536f71e27b7d36879d63480f7994dc18adc08e624b3c5430fff LICENSE diff --git a/buildroot-2022.02.1/package/php/php.mk b/buildroot-2022.02.1/package/php/php.mk new file mode 100644 index 00000000..6454d6fe --- /dev/null +++ b/buildroot-2022.02.1/package/php/php.mk @@ -0,0 +1,356 @@ +################################################################################ +# +# php +# +################################################################################ + +PHP_VERSION = 8.0.17 +PHP_SITE = https://www.php.net/distributions +PHP_SOURCE = php-$(PHP_VERSION).tar.xz +PHP_INSTALL_STAGING = YES +PHP_INSTALL_STAGING_OPTS = INSTALL_ROOT=$(STAGING_DIR) install +PHP_INSTALL_TARGET_OPTS = INSTALL_ROOT=$(TARGET_DIR) install +PHP_DEPENDENCIES = host-pkgconf pcre2 +PHP_LICENSE = PHP-3.01 +PHP_LICENSE_FILES = LICENSE +PHP_CPE_ID_VENDOR = php +PHP_CONF_OPTS = \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --with-config-file-scan-dir=/etc/php.d \ + --disable-all \ + --with-external-pcre \ + --without-pear \ + --with-config-file-path=/etc \ + --disable-phpdbg \ + --disable-rpath +PHP_CONF_ENV = \ + EXTRA_LIBS="$(PHP_EXTRA_LIBS)" + +ifeq ($(BR2_STATIC_LIBS),y) +PHP_CONF_ENV += LIBS="$(PHP_STATIC_LIBS)" +endif + +ifeq ($(BR2_STATIC_LIBS)$(BR2_TOOLCHAIN_HAS_THREADS),yy) +PHP_STATIC_LIBS += -lpthread +endif + +ifeq ($(call qstrip,$(BR2_TARGET_LOCALTIME)),) +PHP_LOCALTIME = UTC +else +# Not q-stripping this value, as we need quotes in the php.ini file +PHP_LOCALTIME = $(BR2_TARGET_LOCALTIME) +endif + +# PHP can't be AUTORECONFed the standard way unfortunately +PHP_DEPENDENCIES += host-autoconf host-automake host-libtool +define PHP_BUILDCONF + cd $(@D) ; $(TARGET_MAKE_ENV) ./buildconf --force +endef +PHP_PRE_CONFIGURE_HOOKS += PHP_BUILDCONF + +ifeq ($(BR2_ENDIAN),"BIG") +PHP_CONF_ENV += ac_cv_c_bigendian_php=yes +else +PHP_CONF_ENV += ac_cv_c_bigendian_php=no +endif +PHP_CONFIG_SCRIPTS = php-config + +PHP_CFLAGS = $(TARGET_CFLAGS) +PHP_CXXFLAGS = $(TARGET_CXXFLAGS) + +# The OPcache extension isn't cross-compile friendly +# Throw some defines here to avoid patching heavily +ifeq ($(BR2_PACKAGE_PHP_EXT_OPCACHE),y) +PHP_CONF_OPTS += --enable-opcache --disable-opcache-jit +PHP_CONF_ENV += ac_cv_func_mprotect=yes +PHP_CFLAGS += \ + -DHAVE_SHM_IPC \ + -DHAVE_SHM_MMAP_ANON \ + -DHAVE_SHM_MMAP_ZERO \ + -DHAVE_SHM_MMAP_POSIX \ + -DHAVE_SHM_MMAP_FILE +endif + +# We need to force dl "detection" +ifeq ($(BR2_STATIC_LIBS),) +PHP_CONF_ENV += ac_cv_func_dlopen=yes ac_cv_lib_dl_dlopen=yes +PHP_EXTRA_LIBS += -ldl +else +PHP_CONF_ENV += ac_cv_func_dlopen=no ac_cv_lib_dl_dlopen=no +endif + +PHP_CONF_OPTS += $(if $(BR2_PACKAGE_PHP_SAPI_CLI),--enable-cli,--disable-cli) +PHP_CONF_OPTS += $(if $(BR2_PACKAGE_PHP_SAPI_CGI),--enable-cgi,--disable-cgi) +PHP_CONF_OPTS += $(if $(BR2_PACKAGE_PHP_SAPI_FPM),--enable-fpm,--disable-fpm) + +ifeq ($(BR2_PACKAGE_PHP_SAPI_APACHE),y) +PHP_DEPENDENCIES += apache +PHP_CONF_OPTS += --with-apxs2=$(STAGING_DIR)/usr/bin/apxs + +# Enable thread safety option if Apache MPM is event or worker +ifeq ($(BR2_PACKAGE_APACHE_MPM_EVENT)$(BR2_PACKAGE_APACHE_MPM_WORKER),y) +PHP_CONF_OPTS += --enable-zts +endif +endif + +### Extensions +PHP_CONF_OPTS += \ + $(if $(BR2_PACKAGE_PHP_EXT_SOCKETS),--enable-sockets) \ + $(if $(BR2_PACKAGE_PHP_EXT_POSIX),--enable-posix) \ + $(if $(BR2_PACKAGE_PHP_EXT_SESSION),--enable-session) \ + $(if $(BR2_PACKAGE_PHP_EXT_DOM),--enable-dom) \ + $(if $(BR2_PACKAGE_PHP_EXT_SIMPLEXML),--enable-simplexml) \ + $(if $(BR2_PACKAGE_PHP_EXT_SOAP),--enable-soap) \ + $(if $(BR2_PACKAGE_PHP_EXT_XML),--enable-xml) \ + $(if $(BR2_PACKAGE_PHP_EXT_XMLREADER),--enable-xmlreader) \ + $(if $(BR2_PACKAGE_PHP_EXT_XMLWRITER),--enable-xmlwriter) \ + $(if $(BR2_PACKAGE_PHP_EXT_EXIF),--enable-exif) \ + $(if $(BR2_PACKAGE_PHP_EXT_FTP),--enable-ftp) \ + $(if $(BR2_PACKAGE_PHP_EXT_TOKENIZER),--enable-tokenizer) \ + $(if $(BR2_PACKAGE_PHP_EXT_PCNTL),--enable-pcntl) \ + $(if $(BR2_PACKAGE_PHP_EXT_SHMOP),--enable-shmop) \ + $(if $(BR2_PACKAGE_PHP_EXT_SYSVMSG),--enable-sysvmsg) \ + $(if $(BR2_PACKAGE_PHP_EXT_SYSVSEM),--enable-sysvsem) \ + $(if $(BR2_PACKAGE_PHP_EXT_SYSVSHM),--enable-sysvshm) \ + $(if $(BR2_PACKAGE_PHP_EXT_ZIP),--with-zip) \ + $(if $(BR2_PACKAGE_PHP_EXT_CTYPE),--enable-ctype) \ + $(if $(BR2_PACKAGE_PHP_EXT_FILTER),--enable-filter) \ + $(if $(BR2_PACKAGE_PHP_EXT_CALENDAR),--enable-calendar) \ + $(if $(BR2_PACKAGE_PHP_EXT_FILEINFO),--enable-fileinfo) \ + $(if $(BR2_PACKAGE_PHP_EXT_BCMATH),--enable-bcmath) \ + $(if $(BR2_PACKAGE_PHP_EXT_PHAR),--enable-phar) + +ifeq ($(BR2_PACKAGE_PHP_EXT_LIBARGON2),y) +PHP_CONF_OPTS += --with-password-argon2=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += libargon2 +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_LIBSODIUM),y) +PHP_CONF_OPTS += --with-sodium=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += libsodium +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_MBSTRING),y) +PHP_CONF_OPTS += --enable-mbstring +PHP_DEPENDENCIES += oniguruma +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_OPENSSL),y) +PHP_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += openssl +# openssl needs zlib, but the configure script forgets to link against +# it causing detection failures with static linking +PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_LIBXML2),y) +PHP_CONF_ENV += php_cv_libxml_build_works=yes +PHP_CONF_OPTS += --with-libxml +PHP_DEPENDENCIES += libxml2 +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_WDDX),y) +PHP_CONF_OPTS += --enable-wddx --with-libexpat-dir=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += expat +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_ZIP),y) +PHP_DEPENDENCIES += libzip +endif + +ifneq ($(BR2_PACKAGE_PHP_EXT_ZLIB)$(BR2_PACKAGE_PHP_EXT_ZIP),) +PHP_CONF_OPTS += --with-zlib=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += zlib +else +PHP_CONF_OPTS += --disable-mysqlnd_compression_support +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_GETTEXT),y) +PHP_CONF_OPTS += --with-gettext=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES) +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_ICONV),y) +ifeq ($(BR2_PACKAGE_LIBICONV),y) +PHP_CONF_OPTS += --with-iconv=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += libiconv +else +PHP_CONF_OPTS += --with-iconv +endif +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_INTL),y) +PHP_CONF_OPTS += --enable-intl --with-icu-dir=$(STAGING_DIR)/usr +PHP_CXXFLAGS += "`$(STAGING_DIR)/usr/bin/icu-config --cxxflags`" +PHP_DEPENDENCIES += icu +# The intl module is implemented in C++, but PHP fails to use +# g++ as the compiler for the final link. As a workaround, +# tell it to link libstdc++. +PHP_EXTRA_LIBS += -lstdc++ +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_GMP),y) +PHP_CONF_OPTS += --with-gmp=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += gmp +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_READLINE),y) +PHP_CONF_OPTS += --with-readline=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += readline +endif + +### Native SQL extensions +ifeq ($(BR2_PACKAGE_PHP_EXT_MYSQLI),y) +PHP_CONF_OPTS += --with-mysqli +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_PGSQL),y) +PHP_CONF_OPTS += --with-pgsql=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += postgresql +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_SQLITE),y) +PHP_CONF_OPTS += --with-sqlite3=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += sqlite +PHP_STATIC_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs sqlite3` +endif + +### PDO +ifeq ($(BR2_PACKAGE_PHP_EXT_PDO),y) +PHP_CONF_OPTS += --enable-pdo +ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_SQLITE),y) +PHP_CONF_OPTS += --with-pdo-sqlite=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += sqlite +PHP_CFLAGS += -DSQLITE_OMIT_LOAD_EXTENSION +endif +ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),y) +PHP_CONF_OPTS += --with-pdo-mysql +endif +ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL),y) +PHP_CONF_OPTS += --with-pdo-pgsql=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += postgresql +endif +ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_UNIXODBC),y) +PHP_CONF_OPTS += --with-pdo-odbc=unixODBC,$(STAGING_DIR)/usr +PHP_DEPENDENCIES += unixodbc +endif +endif + +ifneq ($(BR2_PACKAGE_PHP_EXT_MYSQLI)$(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),) +# Set default MySQL unix socket to what the MySQL server is using by default +PHP_CONF_OPTS += --with-mysql-sock=$(MYSQL_SOCKET) +endif + +define PHP_DISABLE_VALGRIND + $(SED) '/^#define HAVE_VALGRIND/d' $(@D)/main/php_config.h +endef +PHP_POST_CONFIGURE_HOOKS += PHP_DISABLE_VALGRIND + +ifeq ($(BR2_PACKAGE_PCRE2_JIT),y) +PHP_CONF_OPTS += --with-pcre-jit=yes +PHP_CONF_ENV += ac_cv_have_pcre2_jit=yes +else +PHP_CONF_OPTS += --with-pcre-jit=no +PHP_CONF_ENV += ac_cv_have_pcre2_jit=no +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_CURL),y) +PHP_CONF_OPTS += --with-curl +PHP_DEPENDENCIES += libcurl +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_XSL),y) +PHP_CONF_OPTS += --with-xsl=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += libxslt +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_BZIP2),y) +PHP_CONF_OPTS += --with-bz2=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += bzip2 +endif + +### DBA +ifeq ($(BR2_PACKAGE_PHP_EXT_DBA),y) +PHP_CONF_OPTS += --enable-dba +ifneq ($(BR2_PACKAGE_PHP_EXT_DBA_CDB),y) +PHP_CONF_OPTS += --without-cdb +endif +ifneq ($(BR2_PACKAGE_PHP_EXT_DBA_FLAT),y) +PHP_CONF_OPTS += --without-flatfile +endif +ifneq ($(BR2_PACKAGE_PHP_EXT_DBA_INI),y) +PHP_CONF_OPTS += --without-inifile +endif +ifeq ($(BR2_PACKAGE_PHP_EXT_DBA_DB4),y) +PHP_CONF_OPTS += --with-db4=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += berkeleydb +endif +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_SNMP),y) +PHP_CONF_OPTS += --with-snmp=$(STAGING_DIR)/usr +PHP_DEPENDENCIES += netsnmp +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_GD),y) +PHP_CONF_OPTS += \ + --enable-gd \ + --with-jpeg \ + --with-freetype +PHP_DEPENDENCIES += jpeg libpng freetype zlib +endif + +ifeq ($(BR2_PACKAGE_PHP_EXT_FFI),y) +PHP_CONF_OPTS += --with-ffi +PHP_DEPENDENCIES += libffi +endif + +ifeq ($(BR2_PACKAGE_PHP_SAPI_FPM),y) +define PHP_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 $(@D)/sapi/fpm/init.d.php-fpm \ + $(TARGET_DIR)/etc/init.d/S49php-fpm +endef + +define PHP_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/sapi/fpm/php-fpm.service \ + $(TARGET_DIR)/usr/lib/systemd/system/php-fpm.service +endef + +define PHP_INSTALL_FPM_CONF + $(INSTALL) -D -m 0644 package/php/php-fpm.conf \ + $(TARGET_DIR)/etc/php-fpm.conf + rm -f $(TARGET_DIR)/etc/php-fpm.d/www.conf.default + # remove unused sample status page /usr/php/php/fpm/status.html + rm -rf $(TARGET_DIR)/usr/php +endef + +PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FPM_CONF +endif + +define PHP_EXTENSIONS_FIXUP + $(SED) "/prefix/ s:/usr:$(STAGING_DIR)/usr:" \ + $(STAGING_DIR)/usr/bin/phpize + $(SED) "/extension_dir/ s:/usr:$(TARGET_DIR)/usr:" \ + $(STAGING_DIR)/usr/bin/php-config +endef + +PHP_POST_INSTALL_TARGET_HOOKS += PHP_EXTENSIONS_FIXUP + +define PHP_INSTALL_FIXUP + rm -rf $(TARGET_DIR)/usr/lib/php/build + rm -f $(TARGET_DIR)/usr/bin/phpize + $(INSTALL) -D -m 0755 $(PHP_DIR)/php.ini-production \ + $(TARGET_DIR)/etc/php.ini + $(SED) 's%;date.timezone =.*%date.timezone = $(PHP_LOCALTIME)%' \ + $(TARGET_DIR)/etc/php.ini + $(if $(BR2_PACKAGE_PHP_EXT_OPCACHE), + $(SED) '/;extension=php_xsl.dll/azend_extension=opcache.so' \ + $(TARGET_DIR)/etc/php.ini) +endef + +PHP_POST_INSTALL_TARGET_HOOKS += PHP_INSTALL_FIXUP + +PHP_CONF_ENV += CFLAGS="$(PHP_CFLAGS)" CXXFLAGS="$(PHP_CXXFLAGS)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/physfs/Config.in b/buildroot-2022.02.1/package/physfs/Config.in similarity index 100% rename from buildroot-2021.05/package/physfs/Config.in rename to buildroot-2022.02.1/package/physfs/Config.in diff --git a/buildroot-2021.05/package/physfs/physfs.hash b/buildroot-2022.02.1/package/physfs/physfs.hash similarity index 100% rename from buildroot-2021.05/package/physfs/physfs.hash rename to buildroot-2022.02.1/package/physfs/physfs.hash diff --git a/buildroot-2021.05/package/physfs/physfs.mk b/buildroot-2022.02.1/package/physfs/physfs.mk similarity index 100% rename from buildroot-2021.05/package/physfs/physfs.mk rename to buildroot-2022.02.1/package/physfs/physfs.mk diff --git a/buildroot-2021.05/package/phytool/Config.in b/buildroot-2022.02.1/package/phytool/Config.in similarity index 100% rename from buildroot-2021.05/package/phytool/Config.in rename to buildroot-2022.02.1/package/phytool/Config.in diff --git a/buildroot-2021.05/package/phytool/phytool.hash b/buildroot-2022.02.1/package/phytool/phytool.hash similarity index 100% rename from buildroot-2021.05/package/phytool/phytool.hash rename to buildroot-2022.02.1/package/phytool/phytool.hash diff --git a/buildroot-2021.05/package/phytool/phytool.mk b/buildroot-2022.02.1/package/phytool/phytool.mk similarity index 100% rename from buildroot-2021.05/package/phytool/phytool.mk rename to buildroot-2022.02.1/package/phytool/phytool.mk diff --git a/buildroot-2021.05/package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch b/buildroot-2022.02.1/package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch similarity index 100% rename from buildroot-2021.05/package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch rename to buildroot-2022.02.1/package/picocom/0001-Compile-with-libc-s-without-cispeed-cospeed.patch diff --git a/buildroot-2021.05/package/picocom/Config.in b/buildroot-2022.02.1/package/picocom/Config.in similarity index 100% rename from buildroot-2021.05/package/picocom/Config.in rename to buildroot-2022.02.1/package/picocom/Config.in diff --git a/buildroot-2021.05/package/picocom/picocom.hash b/buildroot-2022.02.1/package/picocom/picocom.hash similarity index 100% rename from buildroot-2021.05/package/picocom/picocom.hash rename to buildroot-2022.02.1/package/picocom/picocom.hash diff --git a/buildroot-2021.05/package/picocom/picocom.mk b/buildroot-2022.02.1/package/picocom/picocom.mk similarity index 100% rename from buildroot-2021.05/package/picocom/picocom.mk rename to buildroot-2022.02.1/package/picocom/picocom.mk diff --git a/buildroot-2021.05/package/pifmrds/0001-Makefile-cross-compile-friendly.patch b/buildroot-2022.02.1/package/pifmrds/0001-Makefile-cross-compile-friendly.patch similarity index 100% rename from buildroot-2021.05/package/pifmrds/0001-Makefile-cross-compile-friendly.patch rename to buildroot-2022.02.1/package/pifmrds/0001-Makefile-cross-compile-friendly.patch diff --git a/buildroot-2021.05/package/pifmrds/0002-Makefile-use-LDFLAGS.patch b/buildroot-2022.02.1/package/pifmrds/0002-Makefile-use-LDFLAGS.patch similarity index 100% rename from buildroot-2021.05/package/pifmrds/0002-Makefile-use-LDFLAGS.patch rename to buildroot-2022.02.1/package/pifmrds/0002-Makefile-use-LDFLAGS.patch diff --git a/buildroot-2021.05/package/pifmrds/0003-Makefile-fix-static-link.patch b/buildroot-2022.02.1/package/pifmrds/0003-Makefile-fix-static-link.patch similarity index 100% rename from buildroot-2021.05/package/pifmrds/0003-Makefile-fix-static-link.patch rename to buildroot-2022.02.1/package/pifmrds/0003-Makefile-fix-static-link.patch diff --git a/buildroot-2021.05/package/pifmrds/Config.in b/buildroot-2022.02.1/package/pifmrds/Config.in similarity index 100% rename from buildroot-2021.05/package/pifmrds/Config.in rename to buildroot-2022.02.1/package/pifmrds/Config.in diff --git a/buildroot-2021.05/package/pifmrds/pifmrds.hash b/buildroot-2022.02.1/package/pifmrds/pifmrds.hash similarity index 100% rename from buildroot-2021.05/package/pifmrds/pifmrds.hash rename to buildroot-2022.02.1/package/pifmrds/pifmrds.hash diff --git a/buildroot-2021.05/package/pifmrds/pifmrds.mk b/buildroot-2022.02.1/package/pifmrds/pifmrds.mk similarity index 100% rename from buildroot-2021.05/package/pifmrds/pifmrds.mk rename to buildroot-2022.02.1/package/pifmrds/pifmrds.mk diff --git a/buildroot-2021.05/package/piglit/Config.in b/buildroot-2022.02.1/package/piglit/Config.in similarity index 100% rename from buildroot-2021.05/package/piglit/Config.in rename to buildroot-2022.02.1/package/piglit/Config.in diff --git a/buildroot-2021.05/package/piglit/piglit.hash b/buildroot-2022.02.1/package/piglit/piglit.hash similarity index 100% rename from buildroot-2021.05/package/piglit/piglit.hash rename to buildroot-2022.02.1/package/piglit/piglit.hash diff --git a/buildroot-2021.05/package/piglit/piglit.mk b/buildroot-2022.02.1/package/piglit/piglit.mk similarity index 100% rename from buildroot-2021.05/package/piglit/piglit.mk rename to buildroot-2022.02.1/package/piglit/piglit.mk diff --git a/buildroot-2021.05/package/pigpio/Config.in b/buildroot-2022.02.1/package/pigpio/Config.in similarity index 100% rename from buildroot-2021.05/package/pigpio/Config.in rename to buildroot-2022.02.1/package/pigpio/Config.in diff --git a/buildroot-2021.05/package/pigpio/S50pigpio b/buildroot-2022.02.1/package/pigpio/S50pigpio similarity index 100% rename from buildroot-2021.05/package/pigpio/S50pigpio rename to buildroot-2022.02.1/package/pigpio/S50pigpio diff --git a/buildroot-2021.05/package/pigpio/pigpio.hash b/buildroot-2022.02.1/package/pigpio/pigpio.hash similarity index 100% rename from buildroot-2021.05/package/pigpio/pigpio.hash rename to buildroot-2022.02.1/package/pigpio/pigpio.hash diff --git a/buildroot-2021.05/package/pigpio/pigpio.mk b/buildroot-2022.02.1/package/pigpio/pigpio.mk similarity index 100% rename from buildroot-2021.05/package/pigpio/pigpio.mk rename to buildroot-2022.02.1/package/pigpio/pigpio.mk diff --git a/buildroot-2021.05/package/pigpio/pigpio.service b/buildroot-2022.02.1/package/pigpio/pigpio.service similarity index 100% rename from buildroot-2021.05/package/pigpio/pigpio.service rename to buildroot-2022.02.1/package/pigpio/pigpio.service diff --git a/buildroot-2021.05/package/pigz/Config.in b/buildroot-2022.02.1/package/pigz/Config.in similarity index 100% rename from buildroot-2021.05/package/pigz/Config.in rename to buildroot-2022.02.1/package/pigz/Config.in diff --git a/buildroot-2021.05/package/pigz/Config.in.host b/buildroot-2022.02.1/package/pigz/Config.in.host similarity index 100% rename from buildroot-2021.05/package/pigz/Config.in.host rename to buildroot-2022.02.1/package/pigz/Config.in.host diff --git a/buildroot-2021.05/package/pigz/pigz.hash b/buildroot-2022.02.1/package/pigz/pigz.hash similarity index 100% rename from buildroot-2021.05/package/pigz/pigz.hash rename to buildroot-2022.02.1/package/pigz/pigz.hash diff --git a/buildroot-2021.05/package/pigz/pigz.mk b/buildroot-2022.02.1/package/pigz/pigz.mk similarity index 100% rename from buildroot-2021.05/package/pigz/pigz.mk rename to buildroot-2022.02.1/package/pigz/pigz.mk diff --git a/buildroot-2021.05/package/pimd/Config.in b/buildroot-2022.02.1/package/pimd/Config.in similarity index 100% rename from buildroot-2021.05/package/pimd/Config.in rename to buildroot-2022.02.1/package/pimd/Config.in diff --git a/buildroot-2021.05/package/pimd/pimd.hash b/buildroot-2022.02.1/package/pimd/pimd.hash similarity index 100% rename from buildroot-2021.05/package/pimd/pimd.hash rename to buildroot-2022.02.1/package/pimd/pimd.hash diff --git a/buildroot-2021.05/package/pimd/pimd.mk b/buildroot-2022.02.1/package/pimd/pimd.mk similarity index 100% rename from buildroot-2021.05/package/pimd/pimd.mk rename to buildroot-2022.02.1/package/pimd/pimd.mk diff --git a/buildroot-2022.02.1/package/pinentry/Config.in b/buildroot-2022.02.1/package/pinentry/Config.in new file mode 100644 index 00000000..3f005f8c --- /dev/null +++ b/buildroot-2022.02.1/package/pinentry/Config.in @@ -0,0 +1,91 @@ +menuconfig BR2_PACKAGE_PINENTRY + bool "pinentry" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgpg-error + depends on BR2_USE_MMU # libassuan + select BR2_PACKAGE_LIBASSUAN + select BR2_PACKAGE_LIBGPG_ERROR + # At least one backend is needed to avoid build breakage + select BR2_PACKAGE_PINENTRY_NCURSES if \ + !BR2_PACKAGE_PINENTRY_GTK2 && \ + !BR2_PACKAGE_PINENTRY_QT5 + help + A collection of simple PIN or pass-phrase entry dialogs + + https://www.gnupg.org/related_software/pinentry/ + +if BR2_PACKAGE_PINENTRY + +config BR2_PACKAGE_PINENTRY_EFL + bool "pinentry-efl" + depends on BR2_PACKAGE_EFL + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_EFL_X_XLIB + help + The pinentry-efl tool + +comment "pinentry-efl needs efl and X" + depends on !BR2_PACKAGE_EFL || !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_PINENTRY_FLTK + bool "pinentry-fltk" + depends on BR2_USE_MMU # fltk + depends on BR2_INSTALL_LIBSTDCPP # fltk + depends on BR2_PACKAGE_XORG7 # fltk + select BR2_PACKAGE_FLTK + help + The pinentry-fltk tool + +comment "pinentry-fltk needs X and a toolchain w/ C++" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_XORG7 || !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_PINENTRY_NCURSES + bool "pinentry-ncurses" + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + The pinentry-ncurses tool + +config BR2_PACKAGE_PINENTRY_GTK2 + bool "pinentry-gtk2" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz + select BR2_PACKAGE_LIBGTK2 + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + The pinentry-gtk2 tool + +comment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++, gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_PINENTRY_QT5 + bool "pinentry-qt5" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_HOST_GCC_AT_LEAST_5 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on !BR2_arc + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS + help + The pinentry-qt5 tool + +comment "pinentry-qt5 needs a host gcc >= 5.0, and a toolchain w/ wchar, NPTL, gcc >= 5.0, C++, dynamic library" + depends on !BR2_arc + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \ + BR2_STATIC_LIBS || !BR2_HOST_GCC_AT_LEAST_5 + +endif diff --git a/buildroot-2021.05/package/pinentry/pinentry.hash b/buildroot-2022.02.1/package/pinentry/pinentry.hash similarity index 100% rename from buildroot-2021.05/package/pinentry/pinentry.hash rename to buildroot-2022.02.1/package/pinentry/pinentry.hash diff --git a/buildroot-2021.05/package/pinentry/pinentry.mk b/buildroot-2022.02.1/package/pinentry/pinentry.mk similarity index 100% rename from buildroot-2021.05/package/pinentry/pinentry.mk rename to buildroot-2022.02.1/package/pinentry/pinentry.mk diff --git a/buildroot-2022.02.1/package/pipewire-media-session/0001-meson-remove-session-managers-option-check.patch b/buildroot-2022.02.1/package/pipewire-media-session/0001-meson-remove-session-managers-option-check.patch new file mode 100644 index 00000000..fc1d25ed --- /dev/null +++ b/buildroot-2022.02.1/package/pipewire-media-session/0001-meson-remove-session-managers-option-check.patch @@ -0,0 +1,36 @@ +From 1923c97fbd0b3d8cacdb72386886f860c818bccf Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Wed, 10 Nov 2021 08:54:06 -0700 +Subject: [PATCH] meson: remove session-managers option check. + +This option no longer exists and causes a build failure if building +with the systemd system service enabled. + +Signed-off-by: James Hilliard +[Upstream status: +https://gitlab.freedesktop.org/pipewire/media-session/-/merge_requests/24] +--- + systemd/system/meson.build | 10 ++++------ + 1 file changed, 4 insertions(+), 6 deletions(-) + +diff --git a/systemd/system/meson.build b/systemd/system/meson.build +index ab0d49064..0e9885b0f 100644 +--- a/systemd/system/meson.build ++++ b/systemd/system/meson.build +@@ -4,9 +4,7 @@ systemd_system_services_dir = systemd.get_variable(pkgconfig: 'systemdsystemunit + systemd_config = configuration_data() + systemd_config.set('PW_MEDIA_SESSION_BINARY', media_session_bindir / 'pipewire-media-session') + +-if get_option('session-managers').contains('media-session') +- configure_file(input : 'pipewire-media-session.service.in', +- output : 'pipewire-media-session.service', +- configuration : systemd_config, +- install_dir : systemd_system_services_dir) +-endif ++configure_file(input : 'pipewire-media-session.service.in', ++ output : 'pipewire-media-session.service', ++ configuration : systemd_config, ++ install_dir : systemd_system_services_dir) +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/pipewire-media-session/Config.in b/buildroot-2022.02.1/package/pipewire-media-session/Config.in new file mode 100644 index 00000000..affbc00c --- /dev/null +++ b/buildroot-2022.02.1/package/pipewire-media-session/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PIPEWIRE_MEDIA_SESSION + bool "pipewire media-session" + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib, dbus + depends on BR2_USE_MMU # dbus + depends on BR2_PACKAGE_PIPEWIRE + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_UCM + select BR2_PACKAGE_DBUS + help + Build pipewire media-session support diff --git a/buildroot-2022.02.1/package/pipewire-media-session/pipewire-media-session.hash b/buildroot-2022.02.1/package/pipewire-media-session/pipewire-media-session.hash new file mode 100644 index 00000000..e335fd89 --- /dev/null +++ b/buildroot-2022.02.1/package/pipewire-media-session/pipewire-media-session.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 ebdf9f8e389896fdc4b58da5f909afce18441b4b53d5b4f2104dd53586ea8681 media-session-0.4.1.tar.bz2 +sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING +sha256 77b9c867237ef919e33c0fdbcf22ab84b1cf24a63f9431ec68759026b658c994 LICENSE diff --git a/buildroot-2022.02.1/package/pipewire-media-session/pipewire-media-session.mk b/buildroot-2022.02.1/package/pipewire-media-session/pipewire-media-session.mk new file mode 100644 index 00000000..d349fd74 --- /dev/null +++ b/buildroot-2022.02.1/package/pipewire-media-session/pipewire-media-session.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# pipewire-media-session +# +################################################################################ + +PIPEWIRE_MEDIA_SESSION_VERSION = 0.4.1 +PIPEWIRE_MEDIA_SESSION_SOURCE = media-session-$(PIPEWIRE_MEDIA_SESSION_VERSION).tar.bz2 +PIPEWIRE_MEDIA_SESSION_SITE = https://gitlab.freedesktop.org/pipewire/media-session/-/archive/$(PIPEWIRE_MEDIA_SESSION_VERSION) +PIPEWIRE_MEDIA_SESSION_LICENSE = MIT +PIPEWIRE_MEDIA_SESSION_LICENSE_FILES = COPYING LICENSE +PIPEWIRE_MEDIA_SESSION_INSTALL_STAGING = YES +PIPEWIRE_MEDIA_SESSION_DEPENDENCIES = \ + host-pkgconf \ + alsa-lib \ + dbus \ + pipewire \ + $(TARGET_NLS_DEPENDENCIES) + +PIPEWIRE_MEDIA_SESSION_CONF_OPTS = -Ddocs=disabled -Dtests=disabled + +PIPEWIRE_MEDIA_SESSION_MODULE_SETS_LIST = alsa + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +PIPEWIRE_MEDIA_SESSION_DEPENDENCIES += systemd +PIPEWIRE_MEDIA_SESSION_CONF_OPTS += \ + -Dsystemd=enabled \ + -Dsystemd-system-service=enabled \ + -Dsystemd-user-service=enabled +else +PIPEWIRE_MEDIA_SESSION_CONF_OPTS += \ + -Dsystemd=disabled \ + -Dsystemd-system-service=disabled \ + -Dsystemd-user-service=disabled +endif + +ifeq ($(BR2_PACKAGE_JACK2),y) +PIPEWIRE_MEDIA_SESSION_DEPENDENCIES += jack2 +PIPEWIRE_MEDIA_SESSION_MODULE_SETS_LIST += jack +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +PIPEWIRE_MEDIA_SESSION_DEPENDENCIES += pulseaudio +PIPEWIRE_MEDIA_SESSION_MODULE_SETS_LIST += pulseaudio +endif + +PIPEWIRE_MEDIA_SESSION_CONF_OPTS += -Dwith-module-sets='$(subst $(space),$(comma),$(PIPEWIRE_MEDIA_SESSION_MODULE_SETS_LIST))' + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/pipewire/Config.in b/buildroot-2022.02.1/package/pipewire/Config.in new file mode 100644 index 00000000..3bfcf42a --- /dev/null +++ b/buildroot-2022.02.1/package/pipewire/Config.in @@ -0,0 +1,53 @@ +config BR2_PACKAGE_PIPEWIRE + bool "pipewire" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np() + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime + help + PipeWire is a server and user space API to deal with + multimedia pipelines. + + https://pipewire.org/ + +if BR2_PACKAGE_PIPEWIRE + +config BR2_PACKAGE_PIPEWIRE_EXAMPLES + bool "pipewire examples" + help + Build pipewire examples + +config BR2_PACKAGE_PIPEWIRE_GSTREAMER + bool "pipewire gstreamer plugins" + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_GSTREAMER1 + select BR2_PACKAGE_GST1_PLUGINS_BASE + help + Build GStreamer plugins + +comment "pipewire gstreamer support needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_PIPEWIRE_V4L2 + bool "pipewire v4l2 plugin" + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + help + Build v4l2 plugin + +comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18" + depends on !BR2_PACKAGE_HAS_UDEV || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +endif + +comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/pipewire/pipewire.hash b/buildroot-2022.02.1/package/pipewire/pipewire.hash new file mode 100644 index 00000000..a9d59663 --- /dev/null +++ b/buildroot-2022.02.1/package/pipewire/pipewire.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 76291373f7ab271664df5b6a22b678ad57e485e25c73ee9c78e049a67b7886d2 pipewire-0.3.45.tar.bz2 +sha256 8909c319a7e27dbb33a15b9035f89ab3b7b2f6a12f8bcddc755206a8db1ada44 COPYING +sha256 be4be5d77424833edf31f53fc1f1cecb6996b9e2d747d9e6fb8f878362ebc92b LICENSE diff --git a/buildroot-2022.02.1/package/pipewire/pipewire.mk b/buildroot-2022.02.1/package/pipewire/pipewire.mk new file mode 100644 index 00000000..fc521c86 --- /dev/null +++ b/buildroot-2022.02.1/package/pipewire/pipewire.mk @@ -0,0 +1,196 @@ +################################################################################ +# +# pipewire +# +################################################################################ + +PIPEWIRE_VERSION = 0.3.45 +PIPEWIRE_SOURCE = pipewire-$(PIPEWIRE_VERSION).tar.bz2 +PIPEWIRE_SITE = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/$(PIPEWIRE_VERSION) +PIPEWIRE_LICENSE = MIT, LGPL-2.1+ (libspa-alsa), GPL-2.0 (libjackserver) +PIPEWIRE_LICENSE_FILES = COPYING LICENSE +PIPEWIRE_INSTALL_STAGING = YES +PIPEWIRE_DEPENDENCIES = host-pkgconf $(TARGET_NLS_DEPENDENCIES) +PIPEWIRE_LDFLAGS = $(TARGET_NLS_LIBS) + +PIPEWIRE_CONF_OPTS += \ + -Ddocs=disabled \ + -Dman=disabled \ + -Dtests=disabled \ + -Dspa-plugins=enabled \ + -Daudiomixer=enabled \ + -Daudioconvert=enabled \ + -Dcontrol=enabled \ + -Daudiotestsrc=enabled \ + -Dsupport=enabled \ + -Devl=disabled \ + -Dtest=disabled \ + -Dvideoconvert=enabled \ + -Dvideotestsrc=enabled \ + -Dvolume=enabled \ + -Dsession-managers=[] \ + -Dlibcanberra=disabled \ + -Dlv2=disabled + +ifeq ($(BR2_PACKAGE_DBUS),y) +PIPEWIRE_CONF_OPTS += -Ddbus=enabled +PIPEWIRE_DEPENDENCIES += dbus +else +PIPEWIRE_CONF_OPTS += -Ddbus=disabled +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +PIPEWIRE_CONF_OPTS += -Dudev=enabled +PIPEWIRE_DEPENDENCIES += udev +else +PIPEWIRE_CONF_OPTS += -Dudev=disabled +endif + +ifeq ($(BR2_PACKAGE_PIPEWIRE_EXAMPLES),y) +PIPEWIRE_CONF_OPTS += -Dexamples=enabled +else +PIPEWIRE_CONF_OPTS += -Dexamples=disabled +endif + +ifeq ($(BR2_PACKAGE_PIPEWIRE_GSTREAMER),y) +PIPEWIRE_CONF_OPTS += -Dgstreamer=enabled +PIPEWIRE_DEPENDENCIES += libglib2 gstreamer1 gst1-plugins-base +else +PIPEWIRE_CONF_OPTS += -Dgstreamer=disabled +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +PIPEWIRE_CONF_OPTS += \ + -Dsystemd=enabled \ + -Dsystemd-system-service=enabled \ + -Dsystemd-user-service=enabled +PIPEWIRE_DEPENDENCIES += systemd +else +PIPEWIRE_CONF_OPTS += \ + -Dsystemd=disabled \ + -Dsystemd-system-service=disabled \ + -Dsystemd-user-service=disabled +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +PIPEWIRE_CONF_OPTS += -Dpipewire-alsa=enabled +PIPEWIRE_DEPENDENCIES += alsa-lib +ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ)$(BR2_PACKAGE_ALSA_LIB_UCM)$(BR2_PACKAGE_HAS_UDEV),yyy) +PIPEWIRE_CONF_OPTS += -Dalsa=enabled +else +PIPEWIRE_CONF_OPTS += -Dalsa=disabled +endif +else +PIPEWIRE_CONF_OPTS += -Dalsa=disabled -Dpipewire-alsa=disabled +endif + +ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y) +PIPEWIRE_CONF_OPTS += -Davahi=enabled +PIPEWIRE_DEPENDENCIES += avahi +else +PIPEWIRE_CONF_OPTS += -Davahi=disabled +endif + +ifeq ($(BR2_PACKAGE_JACK2),y) +PIPEWIRE_CONF_OPTS += -Dpipewire-jack=enabled -Djack=enabled +PIPEWIRE_DEPENDENCIES += jack2 +else +PIPEWIRE_CONF_OPTS += -Dpipewire-jack=disabled -Djack=disabled +endif + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS)$(BR2_PACKAGE_SBC),yy) +PIPEWIRE_CONF_OPTS += -Dbluez5=enabled +PIPEWIRE_DEPENDENCIES += bluez5_utils sbc +else +PIPEWIRE_CONF_OPTS += -Dbluez5=disabled +endif + +ifeq ($(BR2_PACKAGE_FFMPEG),y) +PIPEWIRE_CONF_OPTS += -Dffmpeg=enabled +PIPEWIRE_DEPENDENCIES += ffmpeg +else +PIPEWIRE_CONF_OPTS += -Dffmpeg=disabled +endif + +ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) +PIPEWIRE_DEPENDENCIES += ncurses +endif + +ifeq ($(BR2_PACKAGE_PIPEWIRE_V4L2),y) +PIPEWIRE_CONF_OPTS += -Dpipewire-v4l2=enabled -Dv4l2=enabled +else +PIPEWIRE_CONF_OPTS += -Dpipewire-v4l2=disabled -Dv4l2=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBCAMERA)$(BR2_PACKAGE_LIBDRM)$(BR2_PACKAGE_HAS_UDEV),yyy) +PIPEWIRE_CONF_OPTS += -Dlibcamera=enabled +PIPEWIRE_DEPENDENCIES += libcamera libdrm +else +PIPEWIRE_CONF_OPTS += -Dlibcamera=disabled +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +PIPEWIRE_CONF_OPTS += -Dx11=enabled +PIPEWIRE_DEPENDENCIES += xlib_libX11 +else +PIPEWIRE_CONF_OPTS += -Dx11=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +PIPEWIRE_CONF_OPTS += -Dlibusb=enabled +PIPEWIRE_DEPENDENCIES += libusb +else +PIPEWIRE_CONF_OPTS += -Dlibusb=disabled +endif + +ifeq ($(BR2_PACKAGE_MESA3D_VULKAN_DRIVER),y) +PIPEWIRE_CONF_OPTS += -Dvulkan=enabled +PIPEWIRE_DEPENDENCIES += mesa3d +else +PIPEWIRE_CONF_OPTS += -Dvulkan=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +PIPEWIRE_CONF_OPTS += -Dpw-cat=enabled -Dsndfile=enabled +PIPEWIRE_DEPENDENCIES += libsndfile +else +PIPEWIRE_CONF_OPTS += -Dpw-cat=disabled -Dsndfile=disabled +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +PIPEWIRE_CONF_OPTS += -Dlibpulse=enabled +PIPEWIRE_DEPENDENCIES += pulseaudio +else +PIPEWIRE_CONF_OPTS += -Dlibpulse=disabled +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +PIPEWIRE_DEPENDENCIES += readline +endif + +ifeq ($(BR2_PACKAGE_SDL2),y) +PIPEWIRE_DEPENDENCIES += sdl2 +PIPEWIRE_CONF_OPTS += -Dsdl2=enabled +else +PIPEWIRE_CONF_OPTS += -Dsdl2=disabled +endif + +ifeq ($(WEBRTC_AUDIO_PROCESSING),y) +PIPEWIRE_CONF_OPTS += -Decho-cancel-webrtc=enabled +PIPEWIRE_DEPENDENCIES += webrtc-audio-processing +else +PIPEWIRE_CONF_OPTS += -Decho-cancel-webrtc=disabled +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +PIPEWIRE_CONF_OPTS += -Draop=enabled +PIPEWIRE_DEPENDENCIES += openssl +else +PIPEWIRE_CONF_OPTS += -Draop=disabled +endif + +define PIPEWIRE_USERS + pipewire -1 pipewire -1 * - - audio,video PipeWire System Daemon +endef + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/pistache/0001-CMakeLists.txt-add-C-language-to-project-statement.patch b/buildroot-2022.02.1/package/pistache/0001-CMakeLists.txt-add-C-language-to-project-statement.patch similarity index 100% rename from buildroot-2021.05/package/pistache/0001-CMakeLists.txt-add-C-language-to-project-statement.patch rename to buildroot-2022.02.1/package/pistache/0001-CMakeLists.txt-add-C-language-to-project-statement.patch diff --git a/buildroot-2021.05/package/pistache/0002-CMakeLists.txt-respect-BUILD_SHARED_LIBS.patch b/buildroot-2022.02.1/package/pistache/0002-CMakeLists.txt-respect-BUILD_SHARED_LIBS.patch similarity index 100% rename from buildroot-2021.05/package/pistache/0002-CMakeLists.txt-respect-BUILD_SHARED_LIBS.patch rename to buildroot-2022.02.1/package/pistache/0002-CMakeLists.txt-respect-BUILD_SHARED_LIBS.patch diff --git a/buildroot-2022.02.1/package/pistache/0003-include-pistache-typeid.h-include-cstddef.patch b/buildroot-2022.02.1/package/pistache/0003-include-pistache-typeid.h-include-cstddef.patch new file mode 100644 index 00000000..be06ca76 --- /dev/null +++ b/buildroot-2022.02.1/package/pistache/0003-include-pistache-typeid.h-include-cstddef.patch @@ -0,0 +1,38 @@ +From 37291201ed948e9d65993a717c59bb14f4187e13 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 5 Aug 2021 19:02:56 +0200 +Subject: [PATCH] include/pistache/typeid.h: include cstddef + +Include cstddef to avoid the following build failure with gcc 11: + +In file included from /tmp/instance-3/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/src/../include/pistache/async.h:10, + from /tmp/instance-3/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/src/../include/pistache/client.h:9, + from /tmp/instance-3/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/src/client/client.cc:7: +/tmp/instance-3/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/src/../include/pistache/typeid.h:26:12: error: expected type-specifier before 'size_t' + 26 | operator size_t() const { return reinterpret_cast(id_); } + | ^~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/2443559df8c2357476e4cbdbebb08280cbb80a3b + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/pistacheio/pistache/pull/965] +--- + include/pistache/typeid.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/include/pistache/typeid.h b/include/pistache/typeid.h +index 10353ca..893e7c1 100644 +--- a/include/pistache/typeid.h ++++ b/include/pistache/typeid.h +@@ -7,6 +7,7 @@ + + #pragma once + ++#include + #include + + namespace Pistache +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/pistache/Config.in b/buildroot-2022.02.1/package/pistache/Config.in new file mode 100644 index 00000000..96aed521 --- /dev/null +++ b/buildroot-2022.02.1/package/pistache/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_PISTACHE + bool "pistache" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + help + Pistache is a modern and elegant HTTP and REST framework + for C++. It is entirely written in pure C++14 and provides + a clear and pleasant API. + + https://github.com/oktal/pistache + +comment "pistache needs a glibc toolchain w/ C++, gcc >= 4.9, threads, wchar, not binutils bug 27597" + depends on !BR2_INSTALL_LIBSTDCPP || \ + BR2_TOOLCHAIN_USES_UCLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_USE_WCHAR || \ + BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 diff --git a/buildroot-2021.05/package/pistache/pistache.hash b/buildroot-2022.02.1/package/pistache/pistache.hash similarity index 100% rename from buildroot-2021.05/package/pistache/pistache.hash rename to buildroot-2022.02.1/package/pistache/pistache.hash diff --git a/buildroot-2021.05/package/pistache/pistache.mk b/buildroot-2022.02.1/package/pistache/pistache.mk similarity index 100% rename from buildroot-2021.05/package/pistache/pistache.mk rename to buildroot-2022.02.1/package/pistache/pistache.mk diff --git a/buildroot-2021.05/package/pixiewps/Config.in b/buildroot-2022.02.1/package/pixiewps/Config.in similarity index 100% rename from buildroot-2021.05/package/pixiewps/Config.in rename to buildroot-2022.02.1/package/pixiewps/Config.in diff --git a/buildroot-2021.05/package/pixiewps/pixiewps.hash b/buildroot-2022.02.1/package/pixiewps/pixiewps.hash similarity index 100% rename from buildroot-2021.05/package/pixiewps/pixiewps.hash rename to buildroot-2022.02.1/package/pixiewps/pixiewps.hash diff --git a/buildroot-2021.05/package/pixiewps/pixiewps.mk b/buildroot-2022.02.1/package/pixiewps/pixiewps.mk similarity index 100% rename from buildroot-2021.05/package/pixiewps/pixiewps.mk rename to buildroot-2022.02.1/package/pixiewps/pixiewps.mk diff --git a/buildroot-2021.05/package/pixman/0001-Disable-tests.patch b/buildroot-2022.02.1/package/pixman/0001-Disable-tests.patch similarity index 100% rename from buildroot-2021.05/package/pixman/0001-Disable-tests.patch rename to buildroot-2022.02.1/package/pixman/0001-Disable-tests.patch diff --git a/buildroot-2021.05/package/pixman/Config.in b/buildroot-2022.02.1/package/pixman/Config.in similarity index 100% rename from buildroot-2021.05/package/pixman/Config.in rename to buildroot-2022.02.1/package/pixman/Config.in diff --git a/buildroot-2021.05/package/pixman/pixman.hash b/buildroot-2022.02.1/package/pixman/pixman.hash similarity index 100% rename from buildroot-2021.05/package/pixman/pixman.hash rename to buildroot-2022.02.1/package/pixman/pixman.hash diff --git a/buildroot-2022.02.1/package/pixman/pixman.mk b/buildroot-2022.02.1/package/pixman/pixman.mk new file mode 100644 index 00000000..6fab5395 --- /dev/null +++ b/buildroot-2022.02.1/package/pixman/pixman.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# pixman +# +################################################################################ + +PIXMAN_VERSION = 0.40.0 +PIXMAN_SOURCE = pixman-$(PIXMAN_VERSION).tar.xz +PIXMAN_SITE = https://xorg.freedesktop.org/releases/individual/lib +PIXMAN_LICENSE = MIT +PIXMAN_LICENSE_FILES = COPYING +PIXMAN_CPE_ID_VENDOR = pixman + +PIXMAN_INSTALL_STAGING = YES +PIXMAN_DEPENDENCIES = host-pkgconf +HOST_PIXMAN_DEPENDENCIES = host-pkgconf + +# For 0001-Disable-tests.patch +PIXMAN_AUTORECONF = YES + +# don't build gtk based demos +PIXMAN_CONF_OPTS = --disable-gtk + +# The ARM SIMD code from pixman requires a recent enough ARM core, but +# there is a runtime CPU check that makes sure it doesn't get used if +# the HW doesn't support it. The only case where the ARM SIMD code +# cannot be *built* at all is when the platform doesn't support ARM +# instructions at all, so we have to disable that explicitly. +ifeq ($(BR2_ARM_CPU_HAS_ARM),y) +PIXMAN_CONF_OPTS += --enable-arm-simd +else +PIXMAN_CONF_OPTS += --disable-arm-simd +endif + +ifeq ($(BR2_ARM_CPU_HAS_ARM)$(BR2_ARM_CPU_HAS_NEON),yy) +PIXMAN_CONF_OPTS += --enable-arm-neon +else +PIXMAN_CONF_OPTS += --disable-arm-neon +endif + +# disable iwmmxt support for CPU's that don't have +# this feature +ifneq ($(BR2_iwmmxt),y) +PIXMAN_CONF_OPTS += --disable-arm-iwmmxt +endif + +PIXMAN_CFLAGS = $(TARGET_CFLAGS) + +# toolchain gets confused about TLS access through GOT (PIC), so disable TLS +# movhi r4, %got_hiadj(%tls_ldo(fast_path_cache)) +# {standard input}:172: Error: bad expression +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII),y) +PIXMAN_CFLAGS += -DPIXMAN_NO_TLS +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_101737),y) +PIXMAN_CFLAGS += -O0 +endif + +PIXMAN_CONF_OPTS += CFLAGS="$(PIXMAN_CFLAGS)" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/pixz/Config.in b/buildroot-2022.02.1/package/pixz/Config.in similarity index 100% rename from buildroot-2021.05/package/pixz/Config.in rename to buildroot-2022.02.1/package/pixz/Config.in diff --git a/buildroot-2021.05/package/pixz/pixz.hash b/buildroot-2022.02.1/package/pixz/pixz.hash similarity index 100% rename from buildroot-2021.05/package/pixz/pixz.hash rename to buildroot-2022.02.1/package/pixz/pixz.hash diff --git a/buildroot-2021.05/package/pixz/pixz.mk b/buildroot-2022.02.1/package/pixz/pixz.mk similarity index 100% rename from buildroot-2021.05/package/pixz/pixz.mk rename to buildroot-2022.02.1/package/pixz/pixz.mk diff --git a/buildroot-2022.02.1/package/pkcs11-helper/0001-lib-pkcs11h-core.c-fix-build-without-slotevent.patch b/buildroot-2022.02.1/package/pkcs11-helper/0001-lib-pkcs11h-core.c-fix-build-without-slotevent.patch new file mode 100644 index 00000000..5b2829c5 --- /dev/null +++ b/buildroot-2022.02.1/package/pkcs11-helper/0001-lib-pkcs11h-core.c-fix-build-without-slotevent.patch @@ -0,0 +1,37 @@ +From 754911f553414a77d5b52001f5ef6e3a1314c4d5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 20 Mar 2022 08:50:15 +0100 +Subject: [PATCH] lib/pkcs11h-core.c: fix build without slotevent + +Fix the following build failure with --disable-slotevent: + +/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: /home/giuliobenetti/autobuild/run/instance-0/output-1/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libpkcs11-helper.so: undefined reference to `_pkcs11h_slotevent_init' + +Fixes: + - http://autobuild.buildroot.org/results/fcaa70cc035d6f9d35dfa8d564e9948c7e1cfd9e + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/OpenSC/pkcs11-helper/pull/50] +--- + lib/pkcs11h-core.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/lib/pkcs11h-core.c b/lib/pkcs11h-core.c +index d7bb4cd..0bf11e8 100644 +--- a/lib/pkcs11h-core.c ++++ b/lib/pkcs11h-core.c +@@ -726,9 +726,11 @@ pkcs11h_setProperty ( + + switch (property) { + case PKCS11H_PROPERTY_SLOT_EVENT_HOOK: ++#if defined(ENABLE_PKCS11H_SLOTEVENT) + if ((rv = _pkcs11h_slotevent_init ()) != CKR_OK) { + goto cleanup; + } ++#endif + break; + } + cleanup: +-- +2.35.1 + diff --git a/buildroot-2021.05/package/pkcs11-helper/Config.in b/buildroot-2022.02.1/package/pkcs11-helper/Config.in similarity index 100% rename from buildroot-2021.05/package/pkcs11-helper/Config.in rename to buildroot-2022.02.1/package/pkcs11-helper/Config.in diff --git a/buildroot-2022.02.1/package/pkcs11-helper/pkcs11-helper.hash b/buildroot-2022.02.1/package/pkcs11-helper/pkcs11-helper.hash new file mode 100644 index 00000000..4114378a --- /dev/null +++ b/buildroot-2022.02.1/package/pkcs11-helper/pkcs11-helper.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 5bd55adafdbb708e096070dd0a910f23e1d5fd6291922398c1a15f00fff2b5ec pkcs11-helper-1.28.0.tar.bz2 +sha256 808705ac1daafe07a76431929575c5712a8693977a39ec9102aed25f030754d9 COPYING +sha256 865496cf23a6c792739ff2f9ea11e95ac99db89cfe3780a295b4e1495a9c19fe COPYING.BSD +sha256 cd2e7d63a11058f19c58b06fb8c759140ce70788369dce6e6e9db40d3475021e COPYING.GPL diff --git a/buildroot-2022.02.1/package/pkcs11-helper/pkcs11-helper.mk b/buildroot-2022.02.1/package/pkcs11-helper/pkcs11-helper.mk new file mode 100644 index 00000000..4fc3e21e --- /dev/null +++ b/buildroot-2022.02.1/package/pkcs11-helper/pkcs11-helper.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# pkcs11-helper +# +################################################################################ + +PKCS11_HELPER_VERSION = 1.28 +PKCS11_HELPER_SOURCE = pkcs11-helper-$(PKCS11_HELPER_VERSION).0.tar.bz2 +PKCS11_HELPER_SITE = https://github.com/OpenSC/pkcs11-helper/releases/download/pkcs11-helper-$(PKCS11_HELPER_VERSION) +PKCS11_HELPER_LICENSE = GPL-2.0 or BSD-3-Clause +PKCS11_HELPER_LICENSE_FILES = COPYING COPYING.BSD COPYING.GPL +PKCS11_HELPER_DEPENDENCIES = host-pkgconf +PKCS11_HELPER_INSTALL_STAGING = YES + +PKCS11_HELPER_CONF_OPTS = \ + --disable-crypto-engine-polarssl \ + --disable-crypto-engine-cryptoapi + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +PKCS11_HELPER_CONF_OPTS += --enable-slotevent --enable-threading +else +PKCS11_HELPER_CONF_OPTS += --disable-slotevent --disable-threading +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +PKCS11_HELPER_DEPENDENCIES += gnutls +PKCS11_HELPER_CONF_OPTS += --enable-crypto-engine-gnutls +else +PKCS11_HELPER_CONF_OPTS += --disable-crypto-engine-gnutls +endif + +ifeq ($(BR2_PACKAGE_LIBNSS),y) +PKCS11_HELPER_DEPENDENCIES += libnss +PKCS11_HELPER_CONF_OPTS += --enable-crypto-engine-nss +else +PKCS11_HELPER_CONF_OPTS += --disable-crypto-engine-nss +endif + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +PKCS11_HELPER_DEPENDENCIES += mbedtls +PKCS11_HELPER_CONF_OPTS += --enable-crypto-engine-mbedtls +else +PKCS11_HELPER_CONF_OPTS += --disable-crypto-engine-mbedtls +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +PKCS11_HELPER_DEPENDENCIES += openssl +PKCS11_HELPER_CONF_OPTS += \ + --enable-openssl \ + --enable-crypto-engine-openssl +else +PKCS11_HELPER_CONF_OPTS += \ + --disable-openssl \ + --disable-crypto-engine-openssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/pkg-autotools.mk b/buildroot-2022.02.1/package/pkg-autotools.mk new file mode 100644 index 00000000..717ff815 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-autotools.mk @@ -0,0 +1,328 @@ +################################################################################ +# Autotools package infrastructure +# +# This file implements an infrastructure that eases development of +# package .mk files for autotools packages. It should be used for all +# packages that use the autotools as their build system. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# In terms of implementation, this autotools infrastructure requires +# the .mk file to only specify metadata information about the +# package: name, version, download URL, etc. +# +# We still allow the package .mk file to override what the different +# steps are doing, if needed. For example, if _BUILD_CMDS is +# already defined, it is used as the list of commands to perform to +# build the package, instead of the default autotools behaviour. The +# package can also define some post operation hooks. +# +################################################################################ + + +# +# Utility function to upgrade config.sub and config.guess files +# +# argument 1 : directory into which config.guess and config.sub need +# to be updated. Note that config.sub and config.guess are searched +# recursively in this directory. +# +define CONFIG_UPDATE + for file in config.guess config.sub; do \ + for i in $$(find $(1) -name $$file); do \ + cp support/gnuconfig/$$file $$i; \ + done; \ + done +endef + +# This function generates the ac_cv_file_ value for a given +# filename. This is needed to convince configure script doing +# AC_CHECK_FILE() tests that the file actually exists, since such +# tests cannot be done in a cross-compilation context. This function +# takes as argument the path of the file. An example usage is: +# +# FOOBAR_CONF_ENV = \ +# $(call AUTOCONF_AC_CHECK_FILE_VAL,/dev/random)=yes +AUTOCONF_AC_CHECK_FILE_VAL = ac_cv_file_$(subst -,_,$(subst /,_,$(subst .,_,$(1)))) + +# +# Hook to update config.sub and config.guess if needed +# +define UPDATE_CONFIG_HOOK + @$(call MESSAGE,"Updating config.sub and config.guess") + $(call CONFIG_UPDATE,$(@D)) +endef + +# +# Hook to patch libtool to make it work properly for cross-compilation +# +define LIBTOOL_PATCH_HOOK + @$(call MESSAGE,"Patching libtool") + $(Q)for i in `find $($(PKG)_DIR) -name ltmain.sh`; do \ + ltmain_version=`sed -n '/^[ \t]*VERSION=/{s/^[ \t]*VERSION=//;p;q;}' $$i | \ + sed -e 's/\([0-9]*\.[0-9]*\).*/\1/' -e 's/\"//'`; \ + ltmain_patchlevel=`sed -n '/^[ \t]*VERSION=/{s/^[ \t]*VERSION=//;p;q;}' $$i | \ + sed -e 's/\([0-9]*\.[0-9]*\.*\)\([0-9]*\).*/\2/' -e 's/\"//'`; \ + if test $${ltmain_version} = '1.5'; then \ + patch -i support/libtool/buildroot-libtool-v1.5.patch $${i}; \ + elif test $${ltmain_version} = "2.2"; then\ + patch -i support/libtool/buildroot-libtool-v2.2.patch $${i}; \ + elif test $${ltmain_version} = "2.4"; then\ + if test $${ltmain_patchlevel:-0} -gt 2; then\ + patch -i support/libtool/buildroot-libtool-v2.4.4.patch $${i}; \ + else \ + patch -i support/libtool/buildroot-libtool-v2.4.patch $${i}; \ + fi \ + fi \ + done +endef + +# +# Hook to patch common issue with configure on powerpc64{,le} failing +# to detect shared library support: +# +define CONFIGURE_FIX_POWERPC64_HOOK + @$(call MESSAGE,"Checking configure (powerpc64/powerpc64le)") + support/scripts/fix-configure-powerpc64.sh $($(PKG)_DIR) +endef + +# +# Hook to gettextize the package if needed +# +define GETTEXTIZE_HOOK + @$(call MESSAGE,"Gettextizing") + $(Q)cd $($(PKG)_SRCDIR) && $(GETTEXTIZE) $($(PKG)_GETTEXTIZE_OPTS) +endef + +# +# Hook to autoreconf the package if needed +# +define AUTORECONF_HOOK + @$(call MESSAGE,"Autoreconfiguring") + $(Q)cd $($(PKG)_SRCDIR) && $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS) +endef + +################################################################################ +# inner-autotools-package -- defines how the configuration, compilation and +# installation of an autotools package should be done, implements a +# few hooks to tune the build process for autotools specifities and +# calls the generic package infrastructure to generate the necessary +# make targets +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +################################################################################ + +define inner-autotools-package + +ifndef $(2)_LIBTOOL_PATCH + ifdef $(3)_LIBTOOL_PATCH + $(2)_LIBTOOL_PATCH = $$($(3)_LIBTOOL_PATCH) + else + $(2)_LIBTOOL_PATCH ?= YES + endif +endif + +ifndef $(2)_MAKE + ifdef $(3)_MAKE + $(2)_MAKE = $$($(3)_MAKE) + else + $(2)_MAKE ?= $$(MAKE) + endif +endif + +ifndef $(2)_AUTORECONF + ifdef $(3)_AUTORECONF + $(2)_AUTORECONF = $$($(3)_AUTORECONF) + else + $(2)_AUTORECONF ?= NO + endif +endif + +ifndef $(2)_GETTEXTIZE + ifdef $(3)_GETTEXTIZE + $(2)_GETTEXTIZE = $$($(3)_GETTEXTIZE) + else + $(2)_GETTEXTIZE ?= NO + endif +endif + +ifeq ($(4),host) + $(2)_GETTEXTIZE_OPTS ?= $$($(3)_GETTEXTIZE_OPTS) +endif + +ifeq ($(4),host) + $(2)_AUTORECONF_OPTS ?= $$($(3)_AUTORECONF_OPTS) +endif + +$(2)_INSTALL_OPTS ?= install +$(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install +$(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install + +# +# Configure step. Only define it if not already defined by the package +# .mk file. And take care of the differences between host and target +# packages. +# +ifndef $(2)_CONFIGURE_CMDS +ifeq ($(4),target) + +# Configure package for target +define $(2)_CONFIGURE_CMDS + (cd $$($$(PKG)_SRCDIR) && rm -rf config.cache && \ + $$(TARGET_CONFIGURE_OPTS) \ + $$(TARGET_CONFIGURE_ARGS) \ + $$($$(PKG)_CONF_ENV) \ + CONFIG_SITE=/dev/null \ + ./configure \ + --target=$$(GNU_TARGET_NAME) \ + --host=$$(GNU_TARGET_NAME) \ + --build=$$(GNU_HOST_NAME) \ + --prefix=/usr \ + --exec-prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --program-prefix="" \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-doc \ + --disable-docs \ + --disable-documentation \ + --with-xmlto=no \ + --with-fop=no \ + $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ + --enable-ipv6 \ + $$(NLS_OPTS) \ + $$(SHARED_STATIC_LIBS_OPTS) \ + $$(QUIET) $$($$(PKG)_CONF_OPTS) \ + ) +endef +else + +# Configure package for host +# disable all kind of documentation generation in the process, +# because it often relies on host tools which may or may not be +# installed. +define $(2)_CONFIGURE_CMDS + (cd $$($$(PKG)_SRCDIR) && rm -rf config.cache; \ + $$(HOST_CONFIGURE_OPTS) \ + CFLAGS="$$(HOST_CFLAGS)" \ + LDFLAGS="$$(HOST_LDFLAGS)" \ + $$($$(PKG)_CONF_ENV) \ + CONFIG_SITE=/dev/null \ + ./configure \ + --prefix="$$(HOST_DIR)" \ + --sysconfdir="$$(HOST_DIR)/etc" \ + --localstatedir="$$(HOST_DIR)/var" \ + --enable-shared --disable-static \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-doc \ + --disable-docs \ + --disable-documentation \ + --disable-debug \ + --with-xmlto=no \ + --with-fop=no \ + --disable-nls \ + $$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \ + $$(QUIET) $$($$(PKG)_CONF_OPTS) \ + ) +endef +endif +endif + +$(2)_POST_PATCH_HOOKS += UPDATE_CONFIG_HOOK + +ifeq ($$($(2)_AUTORECONF),YES) + +# This has to come before autoreconf +ifeq ($$($(2)_GETTEXTIZE),YES) +$(2)_PRE_CONFIGURE_HOOKS += GETTEXTIZE_HOOK +$(2)_DEPENDENCIES += host-gettext +endif +$(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK +# default values are not evaluated yet, so don't rely on this defaulting to YES +ifneq ($$($(2)_LIBTOOL_PATCH),NO) +$(2)_PRE_CONFIGURE_HOOKS += LIBTOOL_PATCH_HOOK +endif +$(2)_DEPENDENCIES += host-automake host-autoconf host-libtool + +else # ! AUTORECONF = YES + +# default values are not evaluated yet, so don't rely on this defaulting to YES +ifneq ($$($(2)_LIBTOOL_PATCH),NO) +$(2)_POST_PATCH_HOOKS += LIBTOOL_PATCH_HOOK +endif + +endif + +# Append a configure hook if building for a powerpc64 (or powerpc64le) arch. +# Must be added after other pre-configure hooks that might regenerate the +# configure script and overwrite the changes made here. +ifneq ($$(filter powerpc64%,$$(if $$(filter target,$(4)),$$(ARCH),$$(HOSTARCH))),) +$(2)_PRE_CONFIGURE_HOOKS += CONFIGURE_FIX_POWERPC64_HOOK +endif + +# +# Build step. Only define it if not already defined by the package .mk +# file. +# +ifndef $(2)_BUILD_CMDS +ifeq ($(4),target) +define $(2)_BUILD_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) -C $$($$(PKG)_SRCDIR) +endef +else +define $(2)_BUILD_CMDS + $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) -C $$($$(PKG)_SRCDIR) +endef +endif +endif + +# +# Host installation step. Only define it if not already defined by the +# package .mk file. +# +ifndef $(2)_INSTALL_CMDS +define $(2)_INSTALL_CMDS + $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_OPTS) -C $$($$(PKG)_SRCDIR) +endef +endif + +# +# Staging installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_STAGING_CMDS +define $(2)_INSTALL_STAGING_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_STAGING_OPTS) -C $$($$(PKG)_SRCDIR) +endef +endif + +# +# Target installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_TARGET_CMDS +define $(2)_INSTALL_TARGET_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_TARGET_OPTS) -C $$($$(PKG)_SRCDIR) +endef +endif + +# Call the generic package infrastructure to generate the necessary +# make targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef + +################################################################################ +# autotools-package -- the target generator macro for autotools packages +################################################################################ + +autotools-package = $(call inner-autotools-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) +host-autotools-package = $(call inner-autotools-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) diff --git a/buildroot-2022.02.1/package/pkg-cargo.mk b/buildroot-2022.02.1/package/pkg-cargo.mk new file mode 100644 index 00000000..f7e3f395 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-cargo.mk @@ -0,0 +1,198 @@ +################################################################################ +# Cargo package infrastructure +# +# This file implements an infrastructure that eases development of package +# .mk files for Cargo packages. It should be used for all packages that use +# Cargo as their build system. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# In terms of implementation, this Cargo infrastructure requires the .mk file +# to only specify metadata information about the package: name, version, +# download URL, etc. +# +# We still allow the package .mk file to override what the different steps +# are doing, if needed. For example, if _BUILD_CMDS is already defined, +# it is used as the list of commands to perform to build the package, +# instead of the default Cargo behaviour. The package can also define some +# post operation hooks. +# +################################################################################ + +PKG_COMMON_CARGO_ENV = \ + CARGO_HOME=$(HOST_DIR)/share/cargo + +# __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS is needed to allow +# passing the -Z target-applies-to-host, which is needed together with +# CARGO_TARGET_APPLIES_TO_HOST to fix build problems when target +# architecture == host architecture. + +# __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" is to allow +# using nighly features on stable releases, i.e features that are not +# yet considered stable. +# +# CARGO_UNSTABLE_TARGET_APPLIES_TO_HOST="true" "enables the nightly +# configuration option target-applies-to-host value to be set +# +# CARGO_TARGET_APPLIES_TO_HOST="false" is actually setting the value +# for this feature, which we disable, to make sure builds where target +# arch == host arch work correctly +PKG_CARGO_ENV = \ + $(PKG_COMMON_CARGO_ENV) \ + __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" \ + CARGO_UNSTABLE_TARGET_APPLIES_TO_HOST="true" \ + CARGO_TARGET_APPLIES_TO_HOST="false" \ + CARGO_BUILD_TARGET="$(RUSTC_TARGET_NAME)" \ + CARGO_TARGET_$(call UPPERCASE,$(RUSTC_TARGET_NAME))_LINKER=$(notdir $(TARGET_CROSS))gcc + +# +# This is a workaround for https://github.com/rust-lang/compiler-builtins/issues/420 +# and should be removed when fixed upstream +# +ifeq ($(NORMALIZED_ARCH),arm) + PKG_CARGO_ENV += RUSTFLAGS="-Clink-arg=-Wl,--allow-multiple-definition" +endif + +HOST_PKG_CARGO_ENV = \ + $(PKG_COMMON_CARGO_ENV) + +################################################################################ +# inner-cargo-package -- defines how the configuration, compilation and +# installation of a cargo package should be done, implements a few hooks +# to tune the build process for cargo specifities and calls the generic +# package infrastructure to generate the necessary make targets +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +################################################################################ + +define inner-cargo-package + +# We need host-rustc to run cargo at download time (for vendoring), +# and at build and install time. +$(2)_DOWNLOAD_DEPENDENCIES += host-rustc +$(2)_DEPENDENCIES += host-rustc + +$(2)_DOWNLOAD_POST_PROCESS = cargo +$(2)_DL_ENV += CARGO_HOME=$$(HOST_DIR)/share/cargo + +# If building in a sub directory, use that to find the Cargo.toml +ifneq ($$($(2)_SUBDIR),) +$(2)_DL_ENV += BR_CARGO_MANIFEST_PATH=$$($(2)_SUBDIR)/Cargo.toml +endif + +# Due to vendoring, it is pretty likely that not all licenses are +# listed in _LICENSE. +$(2)_LICENSE += , vendored dependencies licenses probably not listed + +# Note: in all the steps below, we "cd" into the build directory to +# execute the "cargo" tool instead of passing $(@D)/Cargo.toml as the +# manifest-path. Indeed while the latter seems to work, it in fact +# breaks in subtle ways as the way cargo searches for its +# configuration file is based (among other rules) on the current +# directory. This means that if cargo is started outside of a package +# directory, its configuration file will not be taken into account. +# +# Also, we pass: +# * --offline to prevent cargo from downloading anything: all +# dependencies should have been built by the download post +# process logic +# * --locked to force cargo to use the Cargo.lock file, which ensures +# that a fixed set of dependency versions is used + +# +# Build step. Only define it if not already defined by the package .mk +# file. +# +ifndef $(2)_BUILD_CMDS +ifeq ($(4),target) +define $(2)_BUILD_CMDS + cd $$($$(PKG)_SRCDIR) && \ + $$(TARGET_MAKE_ENV) \ + $$(TARGET_CONFIGURE_OPTS) \ + $$(PKG_CARGO_ENV) \ + $$($(2)_CARGO_ENV) \ + cargo build \ + --offline \ + $$(if $$(BR2_ENABLE_DEBUG),,--release) \ + --manifest-path Cargo.toml \ + --locked \ + $$($(2)_CARGO_BUILD_OPTS) +endef +else # ifeq ($(4),target) +define $(2)_BUILD_CMDS + cd $$($$(PKG)_SRCDIR) && \ + $$(HOST_MAKE_ENV) \ + RUSTFLAGS="$$(addprefix -C link-args=,$$(HOST_LDFLAGS))" \ + $$(HOST_CONFIGURE_OPTS) \ + $$(HOST_PKG_CARGO_ENV) \ + $$($(2)_CARGO_ENV) \ + cargo build \ + --offline \ + --release \ + --manifest-path Cargo.toml \ + --locked \ + $$($(2)_CARGO_BUILD_OPTS) +endef +endif # ifeq ($(4),target) +endif # ifndef $(2)_BUILD_CMDS + +# +# Target installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_TARGET_CMDS +define $(2)_INSTALL_TARGET_CMDS + cd $$($$(PKG)_SRCDIR) && \ + $$(TARGET_MAKE_ENV) \ + $$(TARGET_CONFIGURE_OPTS) \ + $$(PKG_CARGO_ENV) \ + $$($(2)_CARGO_ENV) \ + cargo install \ + --offline \ + --root $$(TARGET_DIR)/usr/ \ + --bins \ + --path ./ \ + --force \ + --locked \ + -Z target-applies-to-host \ + $$($(2)_CARGO_INSTALL_OPTS) +endef +endif + +ifndef $(2)_INSTALL_CMDS +define $(2)_INSTALL_CMDS + cd $$($$(PKG)_SRCDIR) && \ + $$(HOST_MAKE_ENV) \ + RUSTFLAGS="$$(addprefix -C link-args=,$$(HOST_LDFLAGS))" \ + $$(HOST_CONFIGURE_OPTS) \ + $$(HOST_PKG_CARGO_ENV) \ + $$($(2)_CARGO_ENV) \ + cargo install \ + --offline \ + --root $$(HOST_DIR) \ + --bins \ + --path ./ \ + --force \ + --locked \ + $$($(2)_CARGO_INSTALL_OPTS) +endef +endif + +# Call the generic package infrastructure to generate the necessary +# make targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef + +################################################################################ +# cargo-package -- the target generator macro for Cargo packages +################################################################################ + +cargo-package = $(call inner-cargo-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) +host-cargo-package = $(call inner-cargo-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) diff --git a/buildroot-2022.02.1/package/pkg-cmake.mk b/buildroot-2022.02.1/package/pkg-cmake.mk new file mode 100644 index 00000000..3b1db35f --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-cmake.mk @@ -0,0 +1,272 @@ +################################################################################ +# CMake package infrastructure +# +# This file implements an infrastructure that eases development of +# package .mk files for CMake packages. It should be used for all +# packages that use CMake as their build system. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# In terms of implementation, this CMake infrastructure requires +# the .mk file to only specify metadata information about the +# package: name, version, download URL, etc. +# +# We still allow the package .mk file to override what the different +# steps are doing, if needed. For example, if _BUILD_CMDS is +# already defined, it is used as the list of commands to perform to +# build the package, instead of the default CMake behaviour. The +# package can also define some post operation hooks. +# +################################################################################ + +# Set compiler variables. +ifeq ($(BR2_CCACHE),y) +CMAKE_HOST_C_COMPILER = $(HOSTCC_NOCCACHE) +CMAKE_HOST_CXX_COMPILER = $(HOSTCXX_NOCCACHE) +CMAKE_HOST_C_COMPILER_LAUNCHER = $(HOST_DIR)/bin/ccache +CMAKE_HOST_CXX_COMPILER_LAUNCHER = $(HOST_DIR)/bin/ccache +else +CMAKE_HOST_C_COMPILER = $(HOSTCC) +CMAKE_HOST_CXX_COMPILER = $(HOSTCXX) +endif + +ifneq ($(QUIET),) +CMAKE_QUIET = -DCMAKE_RULE_MESSAGES=OFF -DCMAKE_INSTALL_MESSAGE=NEVER +endif + +################################################################################ +# inner-cmake-package -- defines how the configuration, compilation and +# installation of a CMake package should be done, implements a few hooks to +# tune the build process and calls the generic package infrastructure to +# generate the necessary make targets +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +################################################################################ + +define inner-cmake-package + +$(2)_MAKE ?= $$(MAKE) +$(2)_INSTALL_OPTS ?= install +$(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install/fast +$(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install/fast + +$(3)_SUPPORTS_IN_SOURCE_BUILD ?= YES + + +ifeq ($$($(3)_SUPPORTS_IN_SOURCE_BUILD),YES) +$(2)_BUILDDIR = $$($(2)_SRCDIR) +else +$(2)_BUILDDIR = $$($(2)_SRCDIR)/buildroot-build +endif + +# +# Configure step. Only define it if not already defined by the package +# .mk file. And take care of the differences between host and target +# packages. +# +ifndef $(2)_CONFIGURE_CMDS +ifeq ($(4),target) + +# Configure package for target +# +# - We are passing BUILD_SHARED_LIBS because it is documented as a +# standard CMake variable to control the build of shared libraries +# (see https://cmake.org/cmake/help/v3.8/manual/cmake-variables.7.html#variables-that-change-behavior) +# - We are not passing BUILD_STATIC_LIBS because it is *not* +# documented as a standard CMake variable. If a package supports it, +# it must handle it explicitly. +# +define $(2)_CONFIGURE_CMDS + (mkdir -p $$($$(PKG)_BUILDDIR) && \ + cd $$($$(PKG)_BUILDDIR) && \ + rm -f CMakeCache.txt && \ + PATH=$$(BR_PATH) \ + $$($$(PKG)_CONF_ENV) $$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \ + -DCMAKE_TOOLCHAIN_FILE="$$(HOST_DIR)/share/buildroot/toolchainfile.cmake" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_COLOR_MAKEFILE=OFF \ + -DBUILD_DOC=OFF \ + -DBUILD_DOCS=OFF \ + -DBUILD_EXAMPLE=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_TEST=OFF \ + -DBUILD_TESTS=OFF \ + -DBUILD_TESTING=OFF \ + -DBUILD_SHARED_LIBS=$$(if $$(BR2_STATIC_LIBS),OFF,ON) \ + $$(CMAKE_QUIET) \ + $$($$(PKG)_CONF_OPTS) \ + ) +endef +else + +# Configure package for host +define $(2)_CONFIGURE_CMDS + (mkdir -p $$($$(PKG)_BUILDDIR) && \ + cd $$($$(PKG)_BUILDDIR) && \ + rm -f CMakeCache.txt && \ + PATH=$$(BR_PATH) \ + PKG_CONFIG="$$(PKG_CONFIG_HOST_BINARY)" \ + PKG_CONFIG_SYSROOT_DIR="/" \ + PKG_CONFIG_LIBDIR="$$(HOST_DIR)/lib/pkgconfig:$$(HOST_DIR)/share/pkgconfig" \ + PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ + PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ + $$($$(PKG)_CONF_ENV) $$(BR2_CMAKE) $$($$(PKG)_SRCDIR) \ + -DCMAKE_INSTALL_SO_NO_EXE=0 \ + -DCMAKE_FIND_ROOT_PATH="$$(HOST_DIR)" \ + -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="BOTH" \ + -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="BOTH" \ + -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH" \ + -DCMAKE_INSTALL_PREFIX="$$(HOST_DIR)" \ + -DCMAKE_C_FLAGS="$$(HOST_CFLAGS)" \ + -DCMAKE_CXX_FLAGS="$$(HOST_CXXFLAGS)" \ + -DCMAKE_EXE_LINKER_FLAGS="$$(HOST_LDFLAGS)" \ + -DCMAKE_SHARED_LINKER_FLAGS="$$(HOST_LDFLAGS)" \ + -DCMAKE_ASM_COMPILER="$$(HOSTAS)" \ + -DCMAKE_C_COMPILER="$$(CMAKE_HOST_C_COMPILER)" \ + -DCMAKE_CXX_COMPILER="$$(CMAKE_HOST_CXX_COMPILER)" \ + $(if $$(CMAKE_HOST_C_COMPILER_LAUNCHER),\ + -DCMAKE_C_COMPILER_LAUNCHER="$$(CMAKE_HOST_C_COMPILER_LAUNCHER)" \ + -DCMAKE_CXX_COMPILER_LAUNCHER="$$(CMAKE_HOST_CXX_COMPILER_LAUNCHER)" \ + ) \ + -DCMAKE_COLOR_MAKEFILE=OFF \ + -DBUILD_DOC=OFF \ + -DBUILD_DOCS=OFF \ + -DBUILD_EXAMPLE=OFF \ + -DBUILD_EXAMPLES=OFF \ + -DBUILD_TEST=OFF \ + -DBUILD_TESTS=OFF \ + -DBUILD_TESTING=OFF \ + -DBUILD_SHARED_LIBS=ON \ + $$(CMAKE_QUIET) \ + $$($$(PKG)_CONF_OPTS) \ + ) +endef +endif +endif + +# Since some CMake modules (even upstream ones) use pgk_check_modules +# primitives to find {C,LD}FLAGS, add it to the dependency list. +$(2)_DEPENDENCIES += host-pkgconf + +$(2)_DEPENDENCIES += $(BR2_CMAKE_HOST_DEPENDENCY) + +# +# Build step. Only define it if not already defined by the package .mk +# file. +# +ifndef $(2)_BUILD_CMDS +ifeq ($(4),target) +define $(2)_BUILD_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) -C $$($$(PKG)_BUILDDIR) +endef +else +define $(2)_BUILD_CMDS + $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) -C $$($$(PKG)_BUILDDIR) +endef +endif +endif + +# +# Host installation step. Only define it if not already defined by the +# package .mk file. +# +ifndef $(2)_INSTALL_CMDS +define $(2)_INSTALL_CMDS + $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_OPTS) -C $$($$(PKG)_BUILDDIR) +endef +endif + +# +# Staging installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_STAGING_CMDS +define $(2)_INSTALL_STAGING_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_STAGING_OPTS) -C $$($$(PKG)_BUILDDIR) +endef +endif + +# +# Target installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_TARGET_CMDS +define $(2)_INSTALL_TARGET_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_TARGET_OPTS) -C $$($$(PKG)_BUILDDIR) +endef +endif + +# Call the generic package infrastructure to generate the necessary +# make targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef + +################################################################################ +# cmake-package -- the target generator macro for CMake packages +################################################################################ + +cmake-package = $(call inner-cmake-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) +host-cmake-package = $(call inner-cmake-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) + +################################################################################ +# Generation of the CMake toolchain file +################################################################################ + +# CMAKE_SYSTEM_PROCESSOR should match uname -m +ifeq ($(BR2_ARM_CPU_ARMV4),y) +CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv4 +else ifeq ($(BR2_ARM_CPU_ARMV5),y) +CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv5 +else ifeq ($(BR2_ARM_CPU_ARMV6),y) +CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv6 +else ifeq ($(BR2_ARM_CPU_ARMV7A),y) +CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv7 +else ifeq ($(BR2_ARM_CPU_ARMV8A),y) +CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT = armv8 +endif + +ifeq ($(BR2_arm),y) +CMAKE_SYSTEM_PROCESSOR = $(CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT)l +else ifeq ($(BR2_armeb),y) +CMAKE_SYSTEM_PROCESSOR = $(CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT)b +else ifeq ($(call qstrip,$(BR2_ARCH)),powerpc64) +CMAKE_SYSTEM_PROCESSOR = ppc64 +else ifeq ($(call qstrip,$(BR2_ARCH)),powerpc64le) +CMAKE_SYSTEM_PROCESSOR = ppc64le +else +CMAKE_SYSTEM_PROCESSOR = $(BR2_ARCH) +endif + +# In order to allow the toolchain to be relocated, we calculate the HOST_DIR +# based on the toolchainfile.cmake file's location: $(HOST_DIR)/share/buildroot +# In all the other variables, HOST_DIR will be replaced by RELOCATED_HOST_DIR, +# so we have to strip "$(HOST_DIR)/" from the paths that contain it. +define TOOLCHAIN_CMAKE_INSTALL_FILES + @mkdir -p $(HOST_DIR)/share/buildroot + sed \ + -e 's#@@STAGING_SUBDIR@@#$(call qstrip,$(STAGING_SUBDIR))#' \ + -e 's#@@TARGET_CFLAGS@@#$(call qstrip,$(TARGET_CFLAGS))#' \ + -e 's#@@TARGET_CXXFLAGS@@#$(call qstrip,$(TARGET_CXXFLAGS))#' \ + -e 's#@@TARGET_FCFLAGS@@#$(call qstrip,$(TARGET_FCFLAGS))#' \ + -e 's#@@TARGET_LDFLAGS@@#$(call qstrip,$(TARGET_LDFLAGS))#' \ + -e 's#@@TARGET_CC@@#$(subst $(HOST_DIR)/,,$(call qstrip,$(TARGET_CC)))#' \ + -e 's#@@TARGET_CXX@@#$(subst $(HOST_DIR)/,,$(call qstrip,$(TARGET_CXX)))#' \ + -e 's#@@TARGET_FC@@#$(subst $(HOST_DIR)/,,$(call qstrip,$(TARGET_FC)))#' \ + -e 's#@@CMAKE_SYSTEM_PROCESSOR@@#$(call qstrip,$(CMAKE_SYSTEM_PROCESSOR))#' \ + -e 's#@@TOOLCHAIN_HAS_CXX@@#$(if $(BR2_INSTALL_LIBSTDCPP),1,0)#' \ + -e 's#@@TOOLCHAIN_HAS_FORTRAN@@#$(if $(BR2_TOOLCHAIN_HAS_FORTRAN),1,0)#' \ + -e 's#@@CMAKE_BUILD_TYPE@@#$(if $(BR2_ENABLE_RUNTIME_DEBUG),Debug,Release)#' \ + $(TOPDIR)/support/misc/toolchainfile.cmake.in \ + > $(HOST_DIR)/share/buildroot/toolchainfile.cmake + $(Q)$(INSTALL) -D -m 0644 support/misc/Buildroot.cmake \ + $(HOST_DIR)/share/buildroot/Platform/Buildroot.cmake +endef + +TOOLCHAIN_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_CMAKE_INSTALL_FILES diff --git a/buildroot-2022.02.1/package/pkg-download.mk b/buildroot-2022.02.1/package/pkg-download.mk new file mode 100644 index 00000000..a15e21e1 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-download.mk @@ -0,0 +1,128 @@ +################################################################################ +# +# This file contains the download helpers for the various package +# infrastructures. It is used to handle downloads from HTTP servers, +# FTP servers, Git repositories, Subversion repositories, Mercurial +# repositories, Bazaar repositories, and SCP servers. +# +################################################################################ + +# Download method commands +export WGET := $(call qstrip,$(BR2_WGET)) +export SVN := $(call qstrip,$(BR2_SVN)) +export CVS := $(call qstrip,$(BR2_CVS)) +export BZR := $(call qstrip,$(BR2_BZR)) +export GIT := $(call qstrip,$(BR2_GIT)) +export HG := $(call qstrip,$(BR2_HG)) +export SCP := $(call qstrip,$(BR2_SCP)) +export SFTP := $(call qstrip,$(BR2_SFTP)) +export LOCALFILES := $(call qstrip,$(BR2_LOCALFILES)) + +# Version of the format of the archives we generate in the corresponding +# download backend: +BR_FMT_VERSION_git = -br1 +BR_FMT_VERSION_svn = -br2 + +DL_WRAPPER = support/download/dl-wrapper + +# DL_DIR may have been set already from the environment +ifeq ($(origin DL_DIR),undefined) +DL_DIR ?= $(call qstrip,$(BR2_DL_DIR)) +ifeq ($(DL_DIR),) +DL_DIR := $(TOPDIR)/dl +endif +else +# Restore the BR2_DL_DIR that was overridden by the .config file +BR2_DL_DIR = $(DL_DIR) +endif + +# ensure it exists and a absolute path, derefrecing symlinks +DL_DIR := $(shell mkdir -p $(DL_DIR) && cd $(DL_DIR) >/dev/null && pwd -P) + +# +# URI scheme helper functions +# Example URIs: +# * http://www.example.com/dir/file +# * scp://www.example.com:dir/file (with domainseparator :) +# +# geturischeme: http +geturischeme = $(firstword $(subst ://, ,$(call qstrip,$(1)))) +# getschemeplusuri: git|parameter+http://example.com +getschemeplusuri = $(call geturischeme,$(1))$(if $(2),\|$(2))+$(1) +# stripurischeme: www.example.com/dir/file +stripurischeme = $(lastword $(subst ://, ,$(call qstrip,$(1)))) +# domain: www.example.com +domain = $(firstword $(subst $(call domainseparator,$(2)), ,$(call stripurischeme,$(1)))) +# notdomain: dir/file +notdomain = $(patsubst $(call domain,$(1),$(2))$(call domainseparator,$(2))%,%,$(call stripurischeme,$(1))) +# +# default domainseparator is /, specify alternative value as first argument +domainseparator = $(if $(1),$(1),/) + +# github(user,package,version): returns site of GitHub repository +github = https://github.com/$(1)/$(2)/archive/$(3) + +# gitlab(user,package,version): returns site of Gitlab-generated tarball +gitlab = https://gitlab.com/$(1)/$(2)/-/archive/$(3) + +# Expressly do not check hashes for those files +# Exported variables default to immediately expanded in some versions of +# make, but we need it to be recursively-epxanded, so explicitly assign it. +export BR_NO_CHECK_HASH_FOR = + +################################################################################ +# DOWNLOAD_URIS - List the candidates URIs where to get the package from: +# 1) BR2_PRIMARY_SITE if enabled +# 2) Download site, unless BR2_PRIMARY_SITE_ONLY is set +# 3) BR2_BACKUP_SITE if enabled, unless BR2_PRIMARY_SITE_ONLY is set +# +# Argument 1 is the source location +# Argument 2 is the upper-case package name +# +################################################################################ + +ifneq ($(call qstrip,$(BR2_PRIMARY_SITE)),) +DOWNLOAD_URIS += \ + $(call getschemeplusuri,$(call qstrip,$(BR2_PRIMARY_SITE)/$($(2)_DL_SUBDIR)),urlencode) \ + $(call getschemeplusuri,$(call qstrip,$(BR2_PRIMARY_SITE)),urlencode) +endif + +ifeq ($(BR2_PRIMARY_SITE_ONLY),) +DOWNLOAD_URIS += \ + $(patsubst %/,%,$(dir $(call qstrip,$(1)))) +ifneq ($(call qstrip,$(BR2_BACKUP_SITE)),) +DOWNLOAD_URIS += \ + $(call getschemeplusuri,$(call qstrip,$(BR2_BACKUP_SITE)/$($(2)_DL_SUBDIR)),urlencode) \ + $(call getschemeplusuri,$(call qstrip,$(BR2_BACKUP_SITE)),urlencode) +endif +endif + +################################################################################ +# DOWNLOAD -- Download helper. Will call DL_WRAPPER which will try to download +# source from the list returned by DOWNLOAD_URIS. +# +# Argument 1 is the source location +# Argument 2 is the upper-case package name +# +################################################################################ + +define DOWNLOAD + $(Q)mkdir -p $($(2)_DL_DIR) + $(Q)$(EXTRA_ENV) $($(2)_DL_ENV) \ + flock $($(2)_DL_DIR)/.lock $(DL_WRAPPER) \ + -c '$($(2)_DL_VERSION)' \ + -d '$($(2)_DL_DIR)' \ + -D '$(DL_DIR)' \ + -f '$(notdir $(1))' \ + -H '$($(2)_HASH_FILE)' \ + -n '$($(2)_BASENAME_RAW)' \ + -N '$($(2)_RAWNAME)' \ + -o '$($(2)_DL_DIR)/$(notdir $(1))' \ + $(if $($(2)_DOWNLOAD_POST_PROCESS),-p '$($(2)_DOWNLOAD_POST_PROCESS)') \ + $(if $($(2)_GIT_SUBMODULES),-r) \ + $(if $($(2)_GIT_LFS),-l) \ + $(foreach uri,$(call DOWNLOAD_URIS,$(1),$(2)),-u $(uri)) \ + $(QUIET) \ + -- \ + $($(2)_DL_OPTS) +endef diff --git a/buildroot-2022.02.1/package/pkg-generic.mk b/buildroot-2022.02.1/package/pkg-generic.mk new file mode 100644 index 00000000..79fcf603 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-generic.mk @@ -0,0 +1,1323 @@ +################################################################################ +# Generic package infrastructure +# +# This file implements an infrastructure that eases development of +# package .mk files. It should be used for packages that do not rely +# on a well-known build system for which Buildroot has a dedicated +# infrastructure (so far, Buildroot has special support for +# autotools-based and CMake-based packages). +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# In terms of implementation, this generic infrastructure requires the +# .mk file to specify: +# +# 1. Metadata information about the package: name, version, +# download URL, etc. +# +# 2. Description of the commands to be executed to configure, build +# and install the package +################################################################################ + +################################################################################ +# Helper functions to catch start/end of each step +################################################################################ + +# Those two functions are called by each step below. +# They are responsible for calling all hooks defined in +# $(GLOBAL_INSTRUMENTATION_HOOKS) and pass each of them +# three arguments: +# $1: either 'start' or 'end' +# $2: the name of the step +# $3: the name of the package + +# Start step +# $1: step name +define step_start + $(foreach hook,$(GLOBAL_INSTRUMENTATION_HOOKS),$(call $(hook),start,$(1),$($(PKG)_NAME))$(sep)) +endef + +# End step +# $1: step name +define step_end + $(foreach hook,$(GLOBAL_INSTRUMENTATION_HOOKS),$(call $(hook),end,$(1),$($(PKG)_NAME))$(sep)) +endef + +####################################### +# Actual steps hooks + +# Time steps +define step_time + printf "%s:%-5.5s:%-20.20s: %s\n" \ + "$$(date +%s.%N)" "$(1)" "$(2)" "$(3)" \ + >>"$(BUILD_DIR)/build-time.log" +endef +GLOBAL_INSTRUMENTATION_HOOKS += step_time + +# This hook checks that host packages that need libraries that we build +# have a proper DT_RPATH or DT_RUNPATH tag +define check_host_rpath + $(if $(filter install-host,$(2)),\ + $(if $(filter end,$(1)),support/scripts/check-host-rpath $(3) $(HOST_DIR) $(PER_PACKAGE_DIR))) +endef +GLOBAL_INSTRUMENTATION_HOOKS += check_host_rpath + +define step_check_build_dir_one + if [ -d $(2) ]; then \ + printf "%s: installs files in %s\n" $(1) $(2) >&2; \ + exit 1; \ + fi +endef + +define step_check_build_dir + $(if $(filter install-staging,$(2)),\ + $(if $(filter end,$(1)),$(call step_check_build_dir_one,$(3),$(STAGING_DIR)/$(O)))) + $(if $(filter install-target,$(2)),\ + $(if $(filter end,$(1)),$(call step_check_build_dir_one,$(3),$(TARGET_DIR)/$(O)))) +endef +GLOBAL_INSTRUMENTATION_HOOKS += step_check_build_dir + +# User-supplied script +ifneq ($(BR2_INSTRUMENTATION_SCRIPTS),) +define step_user + @$(foreach user_hook, $(BR2_INSTRUMENTATION_SCRIPTS), \ + $(EXTRA_ENV) $(user_hook) "$(1)" "$(2)" "$(3)"$(sep)) +endef +GLOBAL_INSTRUMENTATION_HOOKS += step_user +endif + +####################################### +# Helper functions + +ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) + +# Ensure files like .la, .pc, .pri, .cmake, and so on, point to the +# proper staging and host directories for the current package: find +# all text files that contain the PPD root, and replace it with the +# current package's PPD. +define PPD_FIXUP_PATHS + $(Q)grep --binary-files=without-match -lrZ '$(PER_PACKAGE_DIR)/[^/]\+/' $(HOST_DIR) \ + |while read -d '' f; do \ + file -b --mime-type "$${f}" | grep -q '^text/' || continue; \ + printf '%s\0' "$${f}"; \ + done \ + |xargs -0 --no-run-if-empty \ + $(SED) 's:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/$($(PKG)_NAME)/:g' +endef + +# Remove python's pre-compiled "sysconfigdata", as it may contain paths to +# the original staging or host dirs. +# +# Can't use $(foreach d, $(HOST_DIR)/lib/python* $(STAGING_DIR)/usr/lib/python*, ...) +# because those directories may be created in the same recipe this macro will +# be expanded in. +# Additionally, either or both may be missing, which would make find whine and +# fail. +# So we just use HOST_DIR as a starting point, and filter on the two directories +# of interest. +define PPD_PYTHON_REMOVE_SYSCONFIGDATA_PYC + $(Q)find $(HOST_DIR) \ + \( -path '$(HOST_DIR)/lib/python*' \ + -o -path '$(STAGING_DIR)/usr/lib/python*' \ + \) \ + \( -name "_sysconfigdata*.pyc" -delete \) +endef + +endif # PPD + +# Functions to collect statistics about installed files + +# $(1): base directory to search in +# $(2): suffix of file (optional) +define pkg_size_before + cd $(1); \ + LC_ALL=C find . -not -path './$(STAGING_SUBDIR)/*' \( -type f -o -type l \) -printf '%T@:%i:%#m:%y:%s,%p\n' \ + | LC_ALL=C sort > $($(PKG)_DIR)/.files-list$(2).before +endef + +# $(1): base directory to search in +# $(2): suffix of file (optional) +define pkg_size_after + cd $(1); \ + LC_ALL=C find . -not -path './$(STAGING_SUBDIR)/*' \( -type f -o -type l \) -printf '%T@:%i:%#m:%y:%s,%p\n' \ + | LC_ALL=C sort > $($(PKG)_DIR)/.files-list$(2).after + LC_ALL=C comm -13 \ + $($(PKG)_DIR)/.files-list$(2).before \ + $($(PKG)_DIR)/.files-list$(2).after \ + | sed -r -e 's/^[^,]+/$($(PKG)_NAME)/' \ + > $($(PKG)_DIR)/.files-list$(2).txt + rm -f $($(PKG)_DIR)/.files-list$(2).before + rm -f $($(PKG)_DIR)/.files-list$(2).after +endef + +define check_bin_arch + support/scripts/check-bin-arch -p $($(PKG)_NAME) \ + -l $($(PKG)_DIR)/.files-list.txt \ + $(foreach i,$($(PKG)_BIN_ARCH_EXCLUDE),-i "$(i)") \ + -r $(TARGET_READELF) \ + -a $(BR2_READELF_ARCH_NAME) +endef + +# Functions to remove conflicting and useless files + +# $1: base directory (target, staging, host) +define remove-conflicting-useless-files + $(if $(strip $($(PKG)_DROP_FILES_OR_DIRS)), + $(Q)$(RM) -rf $(patsubst %, $(1)%, $($(PKG)_DROP_FILES_OR_DIRS))) +endef +define REMOVE_CONFLICTING_USELESS_FILES_IN_HOST + $(call remove-conflicting-useless-files,$(HOST_DIR)) +endef +define REMOVE_CONFLICTING_USELESS_FILES_IN_STAGING + $(call remove-conflicting-useless-files,$(STAGING_DIR)) +endef +define REMOVE_CONFLICTING_USELESS_FILES_IN_TARGET + $(call remove-conflicting-useless-files,$(TARGET_DIR)) +endef + +################################################################################ +# Implicit targets -- produce a stamp file for each step of a package build +################################################################################ + +# Retrieve the archive +$(BUILD_DIR)/%/.stamp_downloaded: + @$(call step_start,download) + $(call prepare-per-package-directory,$($(PKG)_FINAL_DOWNLOAD_DEPENDENCIES)) + $(foreach hook,$($(PKG)_PRE_DOWNLOAD_HOOKS),$(call $(hook))$(sep)) +# Only show the download message if it isn't already downloaded + $(Q)for p in $($(PKG)_ALL_DOWNLOADS); do \ + if test ! -e $($(PKG)_DL_DIR)/`basename $$p` ; then \ + $(call MESSAGE,"Downloading") ; \ + break ; \ + fi ; \ + done + $(foreach p,$($(PKG)_ALL_DOWNLOADS),$(call DOWNLOAD,$(p),$(PKG))$(sep)) + $(foreach hook,$($(PKG)_POST_DOWNLOAD_HOOKS),$(call $(hook))$(sep)) + $(Q)mkdir -p $(@D) + @$(call step_end,download) + $(Q)touch $@ + +# Retrieve actual source archive, e.g. for prebuilt external toolchains +$(BUILD_DIR)/%/.stamp_actual_downloaded: + @$(call step_start,actual-download) + $(call DOWNLOAD,$($(PKG)_ACTUAL_SOURCE_SITE)/$($(PKG)_ACTUAL_SOURCE_TARBALL),$(PKG)) + $(Q)mkdir -p $(@D) + @$(call step_end,actual-download) + $(Q)touch $@ + +# Unpack the archive +$(BUILD_DIR)/%/.stamp_extracted: + @$(call step_start,extract) + @$(call MESSAGE,"Extracting") + $(call prepare-per-package-directory,$($(PKG)_FINAL_EXTRACT_DEPENDENCIES)) + $(foreach hook,$($(PKG)_PRE_EXTRACT_HOOKS),$(call $(hook))$(sep)) + $(Q)mkdir -p $(@D) + $($(PKG)_EXTRACT_CMDS) +# some packages have messed up permissions inside + $(Q)chmod -R +rw $(@D) + $(foreach hook,$($(PKG)_POST_EXTRACT_HOOKS),$(call $(hook))$(sep)) + @$(call step_end,extract) + $(Q)touch $@ + +# Rsync the source directory if the _OVERRIDE_SRCDIR feature is +# used. +$(BUILD_DIR)/%/.stamp_rsynced: + @$(call step_start,rsync) + @$(call MESSAGE,"Syncing from source dir $(SRCDIR)") + @mkdir -p $(@D) + $(foreach hook,$($(PKG)_PRE_RSYNC_HOOKS),$(call $(hook))$(sep)) + @test -d $(SRCDIR) || (echo "ERROR: $(SRCDIR) does not exist" ; exit 1) + rsync -au --chmod=u=rwX,go=rX $($(PKG)_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS) $(RSYNC_VCS_EXCLUSIONS) $(call qstrip,$(SRCDIR))/ $(@D) + $(foreach hook,$($(PKG)_POST_RSYNC_HOOKS),$(call $(hook))$(sep)) + @$(call step_end,rsync) + $(Q)touch $@ + +# Patch +# +# The RAWNAME variable is the lowercased package name, which allows to +# find the package directory (typically package/) and the +# prefix of the patches +# +# For BR2_GLOBAL_PATCH_DIR, only generate if it is defined +$(BUILD_DIR)/%/.stamp_patched: PATCH_BASE_DIRS = $(PKGDIR) +$(BUILD_DIR)/%/.stamp_patched: PATCH_BASE_DIRS += $(addsuffix /$(RAWNAME),$(call qstrip,$(BR2_GLOBAL_PATCH_DIR))) +$(BUILD_DIR)/%/.stamp_patched: + @$(call step_start,patch) + @$(call MESSAGE,"Patching") + $(foreach hook,$($(PKG)_PRE_PATCH_HOOKS),$(call $(hook))$(sep)) + $(foreach p,$($(PKG)_PATCH),$(APPLY_PATCHES) $(@D) $($(PKG)_DL_DIR) $(notdir $(p))$(sep)) + $(Q)( \ + for D in $(PATCH_BASE_DIRS); do \ + if test -d $${D}; then \ + if test -d $${D}/$($(PKG)_VERSION); then \ + $(APPLY_PATCHES) $(@D) $${D}/$($(PKG)_VERSION) \*.patch \*.patch.$(ARCH) || exit 1; \ + else \ + $(APPLY_PATCHES) $(@D) $${D} \*.patch \*.patch.$(ARCH) || exit 1; \ + fi; \ + fi; \ + done; \ + ) + $(foreach hook,$($(PKG)_POST_PATCH_HOOKS),$(call $(hook))$(sep)) + @$(call step_end,patch) + $(Q)touch $@ + +# Check that all directories specified in BR2_GLOBAL_PATCH_DIR exist. +$(foreach dir,$(call qstrip,$(BR2_GLOBAL_PATCH_DIR)),\ + $(if $(wildcard $(dir)),,\ + $(error BR2_GLOBAL_PATCH_DIR contains nonexistent directory $(dir)))) + +# Configure +$(BUILD_DIR)/%/.stamp_configured: + @$(call step_start,configure) + @$(call MESSAGE,"Configuring") + $(Q)mkdir -p $(HOST_DIR) $(TARGET_DIR) $(STAGING_DIR) $(BINARIES_DIR) + $(call prepare-per-package-directory,$($(PKG)_FINAL_DEPENDENCIES)) + $(foreach hook,$($(PKG)_POST_PREPARE_HOOKS),$(call $(hook))$(sep)) + @$(call pkg_size_before,$(TARGET_DIR)) + @$(call pkg_size_before,$(STAGING_DIR),-staging) + @$(call pkg_size_before,$(BINARIES_DIR),-images) + @$(call pkg_size_before,$(HOST_DIR),-host) + $(foreach hook,$($(PKG)_PRE_CONFIGURE_HOOKS),$(call $(hook))$(sep)) + $($(PKG)_CONFIGURE_CMDS) + $(foreach hook,$($(PKG)_POST_CONFIGURE_HOOKS),$(call $(hook))$(sep)) + @$(call step_end,configure) + $(Q)touch $@ + +# Build +$(BUILD_DIR)/%/.stamp_built:: + @$(call step_start,build) + @$(call MESSAGE,"Building") + $(foreach hook,$($(PKG)_PRE_BUILD_HOOKS),$(call $(hook))$(sep)) + +$($(PKG)_BUILD_CMDS) + $(foreach hook,$($(PKG)_POST_BUILD_HOOKS),$(call $(hook))$(sep)) + @$(call step_end,build) + $(Q)touch $@ + +# Install to host dir +$(BUILD_DIR)/%/.stamp_host_installed: + @$(call step_start,install-host) + @$(call MESSAGE,"Installing to host directory") + $(foreach hook,$($(PKG)_PRE_INSTALL_HOOKS),$(call $(hook))$(sep)) + +$($(PKG)_INSTALL_CMDS) + $(foreach hook,$($(PKG)_POST_INSTALL_HOOKS),$(call $(hook))$(sep)) + @$(call step_end,install-host) + $(Q)touch $@ + +# Install to staging dir +# +# Some packages install libtool .la files alongside any installed +# libraries. These .la files sometimes refer to paths relative to the +# sysroot, which libtool will interpret as absolute paths to host +# libraries instead of the target libraries. Since this is not what we +# want, these paths are fixed by prefixing them with $(STAGING_DIR). +# As we configure with --prefix=/usr, this fix needs to be applied to +# any path that starts with /usr. +# +# To protect against the case that the output or staging directories or +# the pre-installed external toolchain themselves are under /usr, we first +# substitute away any occurrences of these directories with @BASE_DIR@, +# @STAGING_DIR@ and @TOOLCHAIN_EXTERNAL_INSTALL_DIR@ respectively. +# +# Note that STAGING_DIR can be outside BASE_DIR when the user sets +# BR2_HOST_DIR to a custom value. Note that TOOLCHAIN_EXTERNAL_INSTALL_DIR +# can be under @BASE_DIR@ when it's a downloaded toolchain, and can be +# empty when we use an internal toolchain. +# +$(BUILD_DIR)/%/.stamp_staging_installed: + @$(call step_start,install-staging) + @$(call MESSAGE,"Installing to staging directory") + $(foreach hook,$($(PKG)_PRE_INSTALL_STAGING_HOOKS),$(call $(hook))$(sep)) + +$($(PKG)_INSTALL_STAGING_CMDS) + $(foreach hook,$($(PKG)_POST_INSTALL_STAGING_HOOKS),$(call $(hook))$(sep)) + $(Q)if test -n "$($(PKG)_CONFIG_SCRIPTS)" ; then \ + $(call MESSAGE,"Fixing package configuration files") ;\ + $(SED) "s,$(HOST_DIR),@HOST_DIR@,g" \ + -e "s,$(BASE_DIR),@BASE_DIR@,g" \ + -e "s,^\(exec_\)\?prefix=.*,\1prefix=@STAGING_DIR@/usr,g" \ + -e "s,-I/usr/,-I@STAGING_DIR@/usr/,g" \ + -e "s,-L/usr/,-L@STAGING_DIR@/usr/,g" \ + -e 's,@STAGING_DIR@,$$(dirname $$(readlink -e $$0))/../..,g' \ + -e 's,@HOST_DIR@,$$(dirname $$(readlink -e $$0))/../../../..,g' \ + -e "s,@BASE_DIR@,$(BASE_DIR),g" \ + $(addprefix $(STAGING_DIR)/usr/bin/,$($(PKG)_CONFIG_SCRIPTS)) ;\ + fi + @$(call MESSAGE,"Fixing libtool files") + for la in $$(find $(STAGING_DIR)/usr/lib* -name "*.la"); do \ + cp -a "$${la}" "$${la}.fixed" && \ + $(SED) "s:$(BASE_DIR):@BASE_DIR@:g" \ + -e "s:$(STAGING_DIR):@STAGING_DIR@:g" \ + $(if $(TOOLCHAIN_EXTERNAL_INSTALL_DIR),\ + -e "s:$(TOOLCHAIN_EXTERNAL_INSTALL_DIR):@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:g") \ + -e "s:\(['= ]\)/usr:\\1@STAGING_DIR@/usr:g" \ + -e "s:\(['= ]\)/lib:\\1@STAGING_DIR@/lib:g" \ + $(if $(TOOLCHAIN_EXTERNAL_INSTALL_DIR),\ + -e "s:@TOOLCHAIN_EXTERNAL_INSTALL_DIR@:$(TOOLCHAIN_EXTERNAL_INSTALL_DIR):g") \ + -e "s:@STAGING_DIR@:$(STAGING_DIR):g" \ + -e "s:@BASE_DIR@:$(BASE_DIR):g" \ + "$${la}.fixed" && \ + if cmp -s "$${la}" "$${la}.fixed"; then \ + rm -f "$${la}.fixed"; \ + else \ + mv "$${la}.fixed" "$${la}"; \ + fi || exit 1; \ + done + @$(call step_end,install-staging) + $(Q)touch $@ + +# Install to images dir +$(BUILD_DIR)/%/.stamp_images_installed: + @$(call step_start,install-image) + @$(call MESSAGE,"Installing to images directory") + $(foreach hook,$($(PKG)_PRE_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep)) + +$($(PKG)_INSTALL_IMAGES_CMDS) + $(foreach hook,$($(PKG)_POST_INSTALL_IMAGES_HOOKS),$(call $(hook))$(sep)) + @$(call step_end,install-image) + $(Q)touch $@ + +# Install to target dir +$(BUILD_DIR)/%/.stamp_target_installed: + @$(call step_start,install-target) + @$(call MESSAGE,"Installing to target") + $(foreach hook,$($(PKG)_PRE_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep)) + +$($(PKG)_INSTALL_TARGET_CMDS) + $(if $(BR2_INIT_SYSTEMD),\ + $($(PKG)_INSTALL_INIT_SYSTEMD)) + $(if $(BR2_INIT_SYSV)$(BR2_INIT_BUSYBOX),\ + $($(PKG)_INSTALL_INIT_SYSV)) + $(if $(BR2_INIT_OPENRC), \ + $(or $($(PKG)_INSTALL_INIT_OPENRC), \ + $($(PKG)_INSTALL_INIT_SYSV))) + $(foreach hook,$($(PKG)_POST_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep)) + $(Q)if test -n "$($(PKG)_CONFIG_SCRIPTS)" ; then \ + $(RM) -f $(addprefix $(TARGET_DIR)/usr/bin/,$($(PKG)_CONFIG_SCRIPTS)) ; \ + fi + @$(call step_end,install-target) + $(Q)touch $@ + +# Final installation step, completed when all installation steps +# (host, images, staging, target) have completed +$(BUILD_DIR)/%/.stamp_installed: + @$(call pkg_size_after,$(TARGET_DIR)) + @$(call pkg_size_after,$(STAGING_DIR),-staging) + @$(call pkg_size_after,$(BINARIES_DIR),-images) + @$(call pkg_size_after,$(HOST_DIR),-host) + @$(call check_bin_arch) + $(Q)touch $@ + +# Remove package sources +$(BUILD_DIR)/%/.stamp_dircleaned: + $(if $(BR2_PER_PACKAGE_DIRECTORIES),rm -Rf $(PER_PACKAGE_DIR)/$(NAME)) + rm -Rf $(@D) + +################################################################################ +# virt-provides-single -- check that provider-pkg is the declared provider for +# the virtual package virt-pkg +# +# argument 1 is the lower-case name of the virtual package +# argument 2 is the upper-case name of the virtual package +# argument 3 is the lower-case name of the provider +# +# example: +# $(call virt-provides-single,libegl,LIBEGL,rpi-userland) +################################################################################ +define virt-provides-single +ifneq ($$(call qstrip,$$(BR2_PACKAGE_PROVIDES_$(2))),$(3)) +$$(error Configuration error: both "$(3)" and $$(BR2_PACKAGE_PROVIDES_$(2))\ +are selected as providers for virtual package "$(1)". Only one provider can\ +be selected at a time. Please fix your configuration) +endif +endef + +define pkg-graph-depends + @$$(INSTALL) -d $$(GRAPHS_DIR) + @cd "$$(CONFIG_DIR)"; \ + $$(TOPDIR)/support/scripts/graph-depends $$(BR2_GRAPH_DEPS_OPTS) \ + -p $(1) $(2) -o $$(GRAPHS_DIR)/$$(@).dot + dot $$(BR2_GRAPH_DOT_OPTS) -T$$(BR_GRAPH_OUT) \ + -o $$(GRAPHS_DIR)/$$(@).$$(BR_GRAPH_OUT) \ + $$(GRAPHS_DIR)/$$(@).dot +endef + +################################################################################ +# inner-generic-package -- generates the make targets needed to build a +# generic package +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +# +# Note about variable and function references: inside all blocks that are +# evaluated with $(eval), which includes all 'inner-xxx-package' blocks, +# specific rules apply with respect to variable and function references. +# - Numbered variables (parameters to the block) can be referenced with a single +# dollar sign: $(1), $(2), $(3), etc. +# - pkgdir and pkgname should be referenced with a single dollar sign too. These +# functions rely on 'the most recently parsed makefile' which is supposed to +# be the package .mk file. If we defer the evaluation of these functions using +# double dollar signs, then they may be evaluated too late, when other +# makefiles have already been parsed. One specific case is when $$(pkgdir) is +# assigned to a variable using deferred evaluation with '=' and this variable +# is used in a target rule outside the eval'ed inner block. In this case, the +# pkgdir will be that of the last makefile parsed by buildroot, which is not +# the expected value. This mechanism is for example used for the TARGET_PATCH +# rule. +# - All other variables should be referenced with a double dollar sign: +# $$(TARGET_DIR), $$($(2)_VERSION), etc. Also all make functions should be +# referenced with a double dollar sign: $$(subst), $$(call), $$(filter-out), +# etc. This rule ensures that these variables and functions are only expanded +# during the $(eval) step, and not earlier. Otherwise, unintuitive and +# undesired behavior occurs with respect to these variables and functions. +# +################################################################################ + +define inner-generic-package + +# When doing a package, we're definitely not doing a rootfs, but we +# may inherit it via the dependency chain, so we reset it. +$(1): ROOTFS= + +# Ensure the package is only declared once, i.e. do not accept that a +# package be re-defined by a br2-external tree +ifneq ($(call strip,$(filter $(1),$(PACKAGES_ALL))),) +$$(error Package '$(1)' defined a second time in '$(pkgdir)'; \ + previous definition was in '$$($(2)_PKGDIR)') +endif +PACKAGES_ALL += $(1) + +# Define default values for various package-related variables, if not +# already defined. For some variables (version, source, site and +# subdir), if they are undefined, we try to see if a variable without +# the HOST_ prefix is defined. If so, we use such a variable, so that +# this information has only to be specified once, for both the +# target and host packages of a given .mk file. + +$(2)_TYPE = $(4) +$(2)_NAME = $(1) +$(2)_RAWNAME = $$(patsubst host-%,%,$(1)) +$(2)_PKGDIR = $(pkgdir) + +# Keep the package version that may contain forward slashes in the _DL_VERSION +# variable, then replace all forward slashes ('/') by underscores ('_') to +# sanitize the package version that is used in paths, directory and file names. +# Forward slashes may appear in the package's version when pointing to a +# version control system branch or tag, for example remotes/origin/1_10_stable. +# Similar for spaces and colons (:) that may appear in date-based revisions for +# CVS. +ifndef $(2)_VERSION + ifdef $(3)_DL_VERSION + $(2)_DL_VERSION := $$($(3)_DL_VERSION) + else ifdef $(3)_VERSION + $(2)_DL_VERSION := $$($(3)_VERSION) + endif +else + $(2)_DL_VERSION := $$(strip $$($(2)_VERSION)) +endif +$(2)_VERSION := $$(call sanitize,$$($(2)_DL_VERSION)) + +$(2)_HASH_FILE = \ + $$(strip \ + $$(if $$(wildcard $$($(2)_PKGDIR)/$$($(2)_VERSION)/$$($(2)_RAWNAME).hash),\ + $$($(2)_PKGDIR)/$$($(2)_VERSION)/$$($(2)_RAWNAME).hash,\ + $$($(2)_PKGDIR)/$$($(2)_RAWNAME).hash)) + +ifdef $(3)_OVERRIDE_SRCDIR + $(2)_OVERRIDE_SRCDIR ?= $$($(3)_OVERRIDE_SRCDIR) +endif + +$(2)_BASENAME = $$(if $$($(2)_VERSION),$(1)-$$($(2)_VERSION),$(1)) +$(2)_BASENAME_RAW = $$(if $$($(2)_VERSION),$$($(2)_RAWNAME)-$$($(2)_VERSION),$$($(2)_RAWNAME)) +$(2)_DL_SUBDIR ?= $$($(2)_RAWNAME) +$(2)_DL_DIR = $$(DL_DIR)/$$($(2)_DL_SUBDIR) +$(2)_DIR = $$(BUILD_DIR)/$$($(2)_BASENAME) + +ifndef $(2)_SUBDIR + ifdef $(3)_SUBDIR + $(2)_SUBDIR = $$($(3)_SUBDIR) + endif +endif + +ifndef $(2)_DL_SUBDIR + ifdef $(3)_DL_SUBDIR + $(2)_DL_SUBDIR = $$($(3)_DL_SUBDIR) + endif +endif + +ifndef $(2)_DOWNLOAD_DEPENDENCIES + ifdef $(3)_DOWNLOAD_DEPENDENCIES + $(2)_DOWNLOAD_DEPENDENCIES = $$(filter-out $(1),$$($(3)_DOWNLOAD_DEPENDENCIES)) + endif +endif + +ifndef $(2)_DL_ENV + ifdef $(3)_DL_ENV + $(2)_DL_ENV = $$($(3)_DL_ENV) + endif +endif + +ifndef $(2)_DOWNLOAD_POST_PROCESS + ifdef $(3)_DOWNLOAD_POST_PROCESS + $(2)_DOWNLOAD_POST_PROCESS = $$($(3)_DOWNLOAD_POST_PROCESS) + endif +endif + +ifndef $(2)_STRIP_COMPONENTS + ifdef $(3)_STRIP_COMPONENTS + $(2)_STRIP_COMPONENTS = $$($(3)_STRIP_COMPONENTS) + else + $(2)_STRIP_COMPONENTS ?= 1 + endif +endif + +$(2)_SRCDIR = $$($(2)_DIR)/$$($(2)_SUBDIR) +$(2)_BUILDDIR ?= $$($(2)_SRCDIR) + +ifneq ($$($(2)_OVERRIDE_SRCDIR),) +$(2)_VERSION = custom +endif + +ifndef $(2)_SOURCE + ifdef $(3)_SOURCE + $(2)_SOURCE = $$($(3)_SOURCE) + else ifdef $(2)_VERSION + $(2)_SOURCE ?= $$($(2)_BASENAME_RAW)$$(call pkg_source_ext,$(2)) + endif +endif + +# If FOO_ACTUAL_SOURCE_TARBALL is explicitly defined, it means FOO_SOURCE is +# indeed a binary (e.g. external toolchain) and FOO_ACTUAL_SOURCE_TARBALL/_SITE +# point to the actual sources tarball. Use the actual sources for legal-info. +# For most packages the FOO_SITE/FOO_SOURCE pair points to real source code, +# so these are the defaults for FOO_ACTUAL_*. +$(2)_ACTUAL_SOURCE_TARBALL ?= $$($(2)_SOURCE) +$(2)_ACTUAL_SOURCE_SITE ?= $$(call qstrip,$$($(2)_SITE)) + +ifndef $(2)_PATCH + ifdef $(3)_PATCH + $(2)_PATCH = $$($(3)_PATCH) + endif +endif + +$(2)_ALL_DOWNLOADS = \ + $$(if $$($(2)_SOURCE),$$($(2)_SITE_METHOD)+$$($(2)_SITE)/$$($(2)_SOURCE)) \ + $$(foreach p,$$($(2)_PATCH) $$($(2)_EXTRA_DOWNLOADS),\ + $$(if $$(findstring ://,$$(p)),$$(p),\ + $$($(2)_SITE_METHOD)+$$($(2)_SITE)/$$(p))) + +ifndef $(2)_SITE + ifdef $(3)_SITE + $(2)_SITE = $$($(3)_SITE) + endif +endif + +ifndef $(2)_SITE_METHOD + ifdef $(3)_SITE_METHOD + $(2)_SITE_METHOD = $$($(3)_SITE_METHOD) + else + # Try automatic detection using the scheme part of the URI + $(2)_SITE_METHOD = $$(call geturischeme,$$($(2)_SITE)) + endif +endif + +ifndef $(2)_DL_OPTS + ifdef $(3)_DL_OPTS + $(2)_DL_OPTS = $$($(3)_DL_OPTS) + endif +endif + +ifneq ($$(filter bzr cvs hg,$$($(2)_SITE_METHOD)),) +BR_NO_CHECK_HASH_FOR += $$($(2)_SOURCE) +endif + +ifndef $(2)_GIT_SUBMODULES + ifdef $(3)_GIT_SUBMODULES + $(2)_GIT_SUBMODULES = $$($(3)_GIT_SUBMODULES) + endif +endif + +# Do not accept to download git submodule if not using the git method +ifneq ($$($(2)_GIT_SUBMODULES),) + ifneq ($$($(2)_SITE_METHOD),git) + $$(error $(2) declares having git sub-modules, but does not use the \ + 'git' method (uses '$$($(2)_SITE_METHOD)' instead)) + endif +endif + +ifeq ($$($(2)_SITE_METHOD),local) +ifeq ($$($(2)_OVERRIDE_SRCDIR),) +$(2)_OVERRIDE_SRCDIR = $$($(2)_SITE) +endif +ifeq ($$($(2)_OVERRIDE_SRCDIR),) +$$(error $(1) has local site method, but `$(2)_SITE` is not defined) +endif +endif + +ifndef $(2)_LICENSE + ifdef $(3)_LICENSE + $(2)_LICENSE = $$($(3)_LICENSE) + endif +endif + +$(2)_LICENSE ?= unknown + +ifndef $(2)_LICENSE_FILES + ifdef $(3)_LICENSE_FILES + $(2)_LICENSE_FILES = $$($(3)_LICENSE_FILES) + endif +endif + +ifndef $(2)_REDISTRIBUTE + ifdef $(3)_REDISTRIBUTE + $(2)_REDISTRIBUTE = $$($(3)_REDISTRIBUTE) + endif +endif + +$(2)_REDISTRIBUTE ?= YES + +$(2)_REDIST_SOURCES_DIR = $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4)))/$$($(2)_BASENAME_RAW) + +# If any of the _CPE_ID_* variables are set, we assume the CPE ID +# information is valid for this package. +ifneq ($$($(2)_CPE_ID_VENDOR)$$($(2)_CPE_ID_PRODUCT)$$($(2)_CPE_ID_VERSION)$$($(2)_CPE_ID_UPDATE)$$($(2)_CPE_ID_PREFIX),) +$(2)_CPE_ID_VALID = YES +endif + +# When we're a host package, make sure to use the variables of the +# corresponding target package, if any. +ifneq ($$($(3)_CPE_ID_VENDOR)$$($(3)_CPE_ID_PRODUCT)$$($(3)_CPE_ID_VERSION)$$($(3)_CPE_ID_UPDATE)$$($(3)_CPE_ID_PREFIX),) +$(2)_CPE_ID_VALID = YES +endif + +# If the CPE ID is valid for the target package so it is for the host +# package +ifndef $(2)_CPE_ID_VALID + ifdef $(3)_CPE_ID_VALID + $(2)_CPE_ID_VALID = $$($(3)_CPE_ID_VALID) + endif +endif + +ifeq ($$($(2)_CPE_ID_VALID),YES) + # CPE_ID_VENDOR + ifndef $(2)_CPE_ID_VENDOR + ifdef $(3)_CPE_ID_VENDOR + $(2)_CPE_ID_VENDOR = $$($(3)_CPE_ID_VENDOR) + else + $(2)_CPE_ID_VENDOR = $$($(2)_RAWNAME)_project + endif + endif + + # CPE_ID_PRODUCT + ifndef $(2)_CPE_ID_PRODUCT + ifdef $(3)_CPE_ID_PRODUCT + $(2)_CPE_ID_PRODUCT = $$($(3)_CPE_ID_PRODUCT) + else + $(2)_CPE_ID_PRODUCT = $$($(2)_RAWNAME) + endif + endif + + # CPE_ID_VERSION + ifndef $(2)_CPE_ID_VERSION + ifdef $(3)_CPE_ID_VERSION + $(2)_CPE_ID_VERSION = $$($(3)_CPE_ID_VERSION) + else + $(2)_CPE_ID_VERSION = $$($(2)_VERSION) + endif + endif + + # CPE_ID_UPDATE + ifndef $(2)_CPE_ID_UPDATE + ifdef $(3)_CPE_ID_UPDATE + $(2)_CPE_ID_UPDATE = $$($(3)_CPE_ID_UPDATE) + else + $(2)_CPE_ID_UPDATE = * + endif + endif + + # CPE_ID_PREFIX + ifndef $(2)_CPE_ID_PREFIX + ifdef $(3)_CPE_ID_PREFIX + $(2)_CPE_ID_PREFIX = $$($(3)_CPE_ID_PREFIX) + else + $(2)_CPE_ID_PREFIX = cpe:2.3:a + endif + endif + + # Calculate complete CPE ID + $(2)_CPE_ID = $$($(2)_CPE_ID_PREFIX):$$($(2)_CPE_ID_VENDOR):$$($(2)_CPE_ID_PRODUCT):$$($(2)_CPE_ID_VERSION):$$($(2)_CPE_ID_UPDATE):*:*:*:*:*:* +endif # ifeq ($$($(2)_CPE_ID_VALID),YES) + +# When a target package is a toolchain dependency set this variable to +# 'NO' so the 'toolchain' dependency is not added to prevent a circular +# dependency. +# Similarly for the skeleton. +$(2)_ADD_TOOLCHAIN_DEPENDENCY ?= YES +$(2)_ADD_SKELETON_DEPENDENCY ?= YES + + +ifeq ($(4),target) +ifeq ($$($(2)_ADD_SKELETON_DEPENDENCY),YES) +$(2)_DEPENDENCIES += skeleton +endif +ifeq ($$($(2)_ADD_TOOLCHAIN_DEPENDENCY),YES) +$(2)_DEPENDENCIES += toolchain +endif +endif + +ifneq ($(1),host-skeleton) +$(2)_DEPENDENCIES += host-skeleton +endif + +ifneq ($$(filter cvs git svn,$$($(2)_SITE_METHOD)),) +$(2)_DOWNLOAD_DEPENDENCIES += \ + $(BR2_GZIP_HOST_DEPENDENCY) \ + $(BR2_TAR_HOST_DEPENDENCY) +endif + +ifeq ($$(filter host-tar host-skeleton host-fakedate,$(1)),) +$(2)_EXTRACT_DEPENDENCIES += $$(BR2_TAR_HOST_DEPENDENCY) +endif + +ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate,$(1)),) +$(2)_EXTRACT_DEPENDENCIES += \ + $$(foreach dl,$$($(2)_ALL_DOWNLOADS),\ + $$(call extractor-pkg-dependency,$$(notdir $$(dl)))) +endif + +ifeq ($$(BR2_CCACHE),y) +ifeq ($$(filter host-tar host-skeleton host-xz host-lzip host-fakedate host-ccache,$(1)),) +$(2)_DEPENDENCIES += host-ccache +endif +endif + +ifeq ($$(BR2_REPRODUCIBLE),y) +ifeq ($$(filter host-skeleton host-fakedate,$(1)),) +$(2)_DEPENDENCIES += host-fakedate +endif +endif + +# Eliminate duplicates in dependencies +$(2)_FINAL_DEPENDENCIES = $$(sort $$($(2)_DEPENDENCIES)) +$(2)_FINAL_DOWNLOAD_DEPENDENCIES = $$(sort $$($(2)_DOWNLOAD_DEPENDENCIES)) +$(2)_FINAL_EXTRACT_DEPENDENCIES = $$(sort $$($(2)_EXTRACT_DEPENDENCIES)) +$(2)_FINAL_PATCH_DEPENDENCIES = $$(sort $$($(2)_PATCH_DEPENDENCIES)) +$(2)_FINAL_ALL_DEPENDENCIES = \ + $$(sort \ + $$($(2)_FINAL_DEPENDENCIES) \ + $$($(2)_FINAL_DOWNLOAD_DEPENDENCIES) \ + $$($(2)_FINAL_EXTRACT_DEPENDENCIES) \ + $$($(2)_FINAL_PATCH_DEPENDENCIES)) +$(2)_FINAL_RECURSIVE_DEPENDENCIES = $$(sort \ + $$(if $$(filter undefined,$$(origin $(2)_FINAL_RECURSIVE_DEPENDENCIES__X)), \ + $$(eval $(2)_FINAL_RECURSIVE_DEPENDENCIES__X := \ + $$(foreach p, \ + $$($(2)_FINAL_ALL_DEPENDENCIES), \ + $$(p) \ + $$($$(call UPPERCASE,$$(p))_FINAL_RECURSIVE_DEPENDENCIES) \ + ) \ + ) \ + ) \ + $$($(2)_FINAL_RECURSIVE_DEPENDENCIES__X)) + +$(2)_FINAL_RECURSIVE_RDEPENDENCIES = $$(sort \ + $$(if $$(filter undefined,$$(origin $(2)_FINAL_RECURSIVE_RDEPENDENCIES__X)), \ + $$(eval $(2)_FINAL_RECURSIVE_RDEPENDENCIES__X := \ + $$(foreach p, \ + $$($(2)_RDEPENDENCIES), \ + $$(p) \ + $$($$(call UPPERCASE,$$(p))_FINAL_RECURSIVE_RDEPENDENCIES) \ + ) \ + ) \ + ) \ + $$($(2)_FINAL_RECURSIVE_RDEPENDENCIES__X)) + +# define sub-target stamps +$(2)_TARGET_INSTALL = $$($(2)_DIR)/.stamp_installed +$(2)_TARGET_INSTALL_TARGET = $$($(2)_DIR)/.stamp_target_installed +$(2)_TARGET_INSTALL_STAGING = $$($(2)_DIR)/.stamp_staging_installed +$(2)_TARGET_INSTALL_IMAGES = $$($(2)_DIR)/.stamp_images_installed +$(2)_TARGET_INSTALL_HOST = $$($(2)_DIR)/.stamp_host_installed +$(2)_TARGET_BUILD = $$($(2)_DIR)/.stamp_built +$(2)_TARGET_CONFIGURE = $$($(2)_DIR)/.stamp_configured +$(2)_TARGET_RSYNC = $$($(2)_DIR)/.stamp_rsynced +$(2)_TARGET_PATCH = $$($(2)_DIR)/.stamp_patched +$(2)_TARGET_EXTRACT = $$($(2)_DIR)/.stamp_extracted +$(2)_TARGET_SOURCE = $$($(2)_DIR)/.stamp_downloaded +$(2)_TARGET_ACTUAL_SOURCE = $$($(2)_DIR)/.stamp_actual_downloaded +$(2)_TARGET_DIRCLEAN = $$($(2)_DIR)/.stamp_dircleaned + +# default extract command +$(2)_EXTRACT_CMDS ?= \ + $$(if $$($(2)_SOURCE),$$(INFLATE$$(suffix $$($(2)_SOURCE))) $$($(2)_DL_DIR)/$$($(2)_SOURCE) | \ + $$(TAR) --strip-components=$$($(2)_STRIP_COMPONENTS) \ + -C $$($(2)_DIR) \ + $$(foreach x,$$($(2)_EXCLUDES),--exclude='$$(x)' ) \ + $$(TAR_OPTIONS) -) + +# pre/post-steps hooks +$(2)_POST_PREPARE_HOOKS += \ + PPD_FIXUP_PATHS \ + PPD_PYTHON_REMOVE_SYSCONFIGDATA_PYC + +ifeq ($$($(2)_TYPE),target) +ifneq ($$(HOST_$(2)_KCONFIG_VAR),) +$$(error "Package $(1) defines host variant before target variant!") +endif +endif + +# Globaly remove following conflicting and useless files +$(2)_DROP_FILES_OR_DIRS += /share/info/dir + +ifeq ($$($(2)_TYPE),host) +$(2)_POST_INSTALL_HOOKS += REMOVE_CONFLICTING_USELESS_FILES_IN_HOST +else +$(2)_POST_INSTALL_STAGING_HOOKS += REMOVE_CONFLICTING_USELESS_FILES_IN_STAGING +$(2)_POST_INSTALL_TARGET_HOOKS += REMOVE_CONFLICTING_USELESS_FILES_IN_TARGET +endif + +# human-friendly targets and target sequencing +$(1): $(1)-install +$(1)-install: $$($(2)_TARGET_INSTALL) +$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_BUILD) + +ifeq ($$($(2)_TYPE),host) +$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_INSTALL_HOST) +else +$(2)_INSTALL_STAGING ?= NO +$(2)_INSTALL_IMAGES ?= NO +$(2)_INSTALL_TARGET ?= YES +ifeq ($$($(2)_INSTALL_TARGET),YES) +$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_INSTALL_TARGET) +endif +ifeq ($$($(2)_INSTALL_STAGING),YES) +$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_INSTALL_STAGING) +endif +ifeq ($$($(2)_INSTALL_IMAGES),YES) +$$($(2)_TARGET_INSTALL): $$($(2)_TARGET_INSTALL_IMAGES) +endif +endif + +ifeq ($$($(2)_INSTALL_TARGET),YES) +$(1)-install-target: $$($(2)_TARGET_INSTALL_TARGET) +$$($(2)_TARGET_INSTALL_TARGET): $$($(2)_TARGET_BUILD) +else +$(1)-install-target: +endif + +ifeq ($$($(2)_INSTALL_STAGING),YES) +$(1)-install-staging: $$($(2)_TARGET_INSTALL_STAGING) +$$($(2)_TARGET_INSTALL_STAGING): $$($(2)_TARGET_BUILD) +# Some packages use install-staging stuff for install-target +$$($(2)_TARGET_INSTALL_TARGET): $$($(2)_TARGET_INSTALL_STAGING) +else +$(1)-install-staging: +endif + +ifeq ($$($(2)_INSTALL_IMAGES),YES) +$(1)-install-images: $$($(2)_TARGET_INSTALL_IMAGES) +$$($(2)_TARGET_INSTALL_IMAGES): $$($(2)_TARGET_BUILD) +else +$(1)-install-images: +endif + +$(1)-install-host: $$($(2)_TARGET_INSTALL_HOST) +$$($(2)_TARGET_INSTALL_HOST): $$($(2)_TARGET_BUILD) + +$(1)-build: $$($(2)_TARGET_BUILD) +$$($(2)_TARGET_BUILD): $$($(2)_TARGET_CONFIGURE) + +# Since $(2)_FINAL_DEPENDENCIES are phony targets, they are always "newer" +# than $(2)_TARGET_CONFIGURE. This would force the configure step (and +# therefore the other steps as well) to be re-executed with every +# invocation of make. Therefore, make $(2)_FINAL_DEPENDENCIES an order-only +# dependency by using |. + +$(1)-configure: $$($(2)_TARGET_CONFIGURE) +$$($(2)_TARGET_CONFIGURE): | $$($(2)_FINAL_DEPENDENCIES) + +$$($(2)_TARGET_SOURCE) $$($(2)_TARGET_RSYNC): | prepare +$$($(2)_TARGET_SOURCE) $$($(2)_TARGET_RSYNC): | dependencies + +ifeq ($$($(2)_OVERRIDE_SRCDIR),) +# In the normal case (no package override), the sequence of steps is +# source, by downloading +# depends +# extract +# patch +# configure +$$($(2)_TARGET_CONFIGURE): $$($(2)_TARGET_PATCH) + +$(1)-patch: $$($(2)_TARGET_PATCH) +$$($(2)_TARGET_PATCH): $$($(2)_TARGET_EXTRACT) +# Order-only dependency +$$($(2)_TARGET_PATCH): | $$(patsubst %,%-patch,$$($(2)_FINAL_PATCH_DEPENDENCIES)) + +$(1)-extract: $$($(2)_TARGET_EXTRACT) +$$($(2)_TARGET_EXTRACT): $$($(2)_TARGET_SOURCE) +$$($(2)_TARGET_EXTRACT): | $$($(2)_FINAL_EXTRACT_DEPENDENCIES) + +$(1)-depends: $$($(2)_FINAL_ALL_DEPENDENCIES) + +$(1)-source: $$($(2)_TARGET_SOURCE) +$$($(2)_TARGET_SOURCE): | $$($(2)_FINAL_DOWNLOAD_DEPENDENCIES) + +$(1)-all-source: $(1)-legal-source +$(1)-legal-info: $(1)-legal-source +$(1)-legal-source: $(1)-source + +# Only download the actual source if it differs from the 'main' archive +ifneq ($$($(2)_ACTUAL_SOURCE_TARBALL),) +ifneq ($$($(2)_ACTUAL_SOURCE_TARBALL),$$($(2)_SOURCE)) +$(1)-legal-source: $$($(2)_TARGET_ACTUAL_SOURCE) +endif # actual sources != sources +endif # actual sources != "" + +$(1)-external-deps: + @for p in $$($(2)_SOURCE) $$($(2)_PATCH) $$($(2)_EXTRA_DOWNLOADS) ; do \ + echo `basename $$$$p` ; \ + done +else +# In the package override case, the sequence of steps +# source, by rsyncing +# depends +# configure + +# Use an order-only dependency so the "-clean-for-rebuild" rule +# can remove the stamp file without triggering the configure step. +$$($(2)_TARGET_CONFIGURE): | $$($(2)_TARGET_RSYNC) + +$(1)-depends: $$($(2)_FINAL_DEPENDENCIES) + +$(1)-patch: $(1)-rsync +$(1)-extract: $(1)-rsync + +$(1)-rsync: $$($(2)_TARGET_RSYNC) + +$(1)-source: +$(1)-legal-source: + +$(1)-external-deps: + @echo "file://$$($(2)_OVERRIDE_SRCDIR)" +endif + +$(1)-show-version: + @echo $$($(2)_VERSION) + +$(1)-show-depends: + @echo $$($(2)_FINAL_ALL_DEPENDENCIES) + +$(1)-show-recursive-depends: + @echo $$($(2)_FINAL_RECURSIVE_DEPENDENCIES) + +$(1)-show-rdepends: + @echo $$($(2)_RDEPENDENCIES) + +$(1)-show-recursive-rdepends: + @echo $$($(2)_FINAL_RECURSIVE_RDEPENDENCIES) + +$(1)-show-build-order: $$(patsubst %,%-show-build-order,$$($(2)_FINAL_ALL_DEPENDENCIES)) + @: + $$(info $(1)) + +$(1)-show-info: + @: + $$(info $$(call clean-json,{ $$(call json-info,$(2)) })) + +$(1)-graph-depends: graph-depends-requirements + $(call pkg-graph-depends,$(1),--direct) + +$(1)-graph-rdepends: graph-depends-requirements + $(call pkg-graph-depends,$(1),--reverse) + +$(1)-all-source: $(1)-source +$(1)-all-source: $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),$$(p)-all-source) + +$(1)-all-external-deps: $(1)-external-deps +$(1)-all-external-deps: $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),$$(p)-all-external-deps) + +$(1)-all-legal-info: $(1)-legal-info +$(1)-all-legal-info: $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),$$(p)-all-legal-info) + +$(1)-dirclean: $$($(2)_TARGET_DIRCLEAN) + +$(1)-clean-for-reinstall: +ifneq ($$($(2)_OVERRIDE_SRCDIR),) + rm -f $$($(2)_TARGET_RSYNC) +endif + rm -f $$($(2)_TARGET_INSTALL) + rm -f $$($(2)_TARGET_INSTALL_STAGING) + rm -f $$($(2)_TARGET_INSTALL_TARGET) + rm -f $$($(2)_TARGET_INSTALL_IMAGES) + rm -f $$($(2)_TARGET_INSTALL_HOST) + +$(1)-reinstall: $(1)-clean-for-reinstall $(1) + +$(1)-clean-for-rebuild: $(1)-clean-for-reinstall + rm -f $$($(2)_TARGET_BUILD) + +$(1)-rebuild: $(1)-clean-for-rebuild $(1) + +$(1)-clean-for-reconfigure: $(1)-clean-for-rebuild + rm -f $$($(2)_TARGET_CONFIGURE) + +$(1)-reconfigure: $(1)-clean-for-reconfigure $(1) + +# define the PKG variable for all targets, containing the +# uppercase package variable prefix +$$($(2)_TARGET_INSTALL): PKG=$(2) +$$($(2)_TARGET_INSTALL_TARGET): PKG=$(2) +$$($(2)_TARGET_INSTALL_STAGING): PKG=$(2) +$$($(2)_TARGET_INSTALL_IMAGES): PKG=$(2) +$$($(2)_TARGET_INSTALL_HOST): PKG=$(2) +$$($(2)_TARGET_BUILD): PKG=$(2) +$$($(2)_TARGET_CONFIGURE): PKG=$(2) +$$($(2)_TARGET_CONFIGURE): NAME=$(1) +$$($(2)_TARGET_RSYNC): SRCDIR=$$($(2)_OVERRIDE_SRCDIR) +$$($(2)_TARGET_RSYNC): PKG=$(2) +$$($(2)_TARGET_PATCH): PKG=$(2) +$$($(2)_TARGET_PATCH): RAWNAME=$$(patsubst host-%,%,$(1)) +$$($(2)_TARGET_PATCH): PKGDIR=$(pkgdir) +$$($(2)_TARGET_EXTRACT): PKG=$(2) +$$($(2)_TARGET_SOURCE): PKG=$(2) +$$($(2)_TARGET_SOURCE): PKGDIR=$(pkgdir) +$$($(2)_TARGET_ACTUAL_SOURCE): PKG=$(2) +$$($(2)_TARGET_ACTUAL_SOURCE): PKGDIR=$(pkgdir) +$$($(2)_TARGET_DIRCLEAN): PKG=$(2) +$$($(2)_TARGET_DIRCLEAN): NAME=$(1) + +# Compute the name of the Kconfig option that correspond to the +# package being enabled. We handle three cases: the special Linux +# kernel case, the bootloaders case, and the normal packages case. +# Virtual packages are handled separately (see below). +ifeq ($(1),linux) +$(2)_KCONFIG_VAR = BR2_LINUX_KERNEL +else ifneq ($$(filter boot/% $$(foreach dir,$$(BR2_EXTERNAL_DIRS),$$(dir)/boot/%),$(pkgdir)),) +$(2)_KCONFIG_VAR = BR2_TARGET_$(2) +else ifneq ($$(filter toolchain/% $$(foreach dir,$$(BR2_EXTERNAL_DIRS),$$(dir)/toolchain/%),$(pkgdir)),) +$(2)_KCONFIG_VAR = BR2_$(2) +else +$(2)_KCONFIG_VAR = BR2_PACKAGE_$(2) +endif + +# legal-info: declare dependencies and set values used later for the manifest +ifneq ($$($(2)_LICENSE_FILES),) +$(2)_MANIFEST_LICENSE_FILES = $$($(2)_LICENSE_FILES) +endif + +# We need to extract and patch a package to be able to retrieve its +# license files (if any) and the list of patches applied to it (if +# any). +$(1)-legal-info: $(1)-patch + +# We only save the sources of packages we want to redistribute, that are +# non-overriden (local or true override). +ifeq ($$($(2)_REDISTRIBUTE),YES) +ifeq ($$($(2)_OVERRIDE_SRCDIR),) +# Packages that have a tarball need it downloaded beforehand +$(1)-legal-info: $(1)-source $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4))) +endif +endif + +# legal-info: produce legally relevant info. +$(1)-legal-info: PKG=$(2) +$(1)-legal-info: + @$$(call MESSAGE,"Collecting legal info") +# Packages without a source are assumed to be part of Buildroot, skip them. + $$(foreach hook,$$($(2)_PRE_LEGAL_INFO_HOOKS),$$(call $$(hook))$$(sep)) +ifneq ($$(call qstrip,$$($(2)_SOURCE)),) + +# Save license files if defined +# We save the license files for any kind of package: normal, local, +# overridden, or non-redistributable alike. +# The reason to save license files even for no-redistribute packages +# is that the license still applies to the files distributed as part +# of the rootfs, even if the sources are not themselves redistributed. +ifeq ($$(call qstrip,$$($(2)_LICENSE_FILES)),) + $(Q)$$(call legal-warning-pkg,$$($(2)_BASENAME_RAW),cannot save license ($(2)_LICENSE_FILES not defined)) +else + $(Q)$$(foreach F,$$($(2)_LICENSE_FILES),$$(call legal-license-file,$$($(2)_RAWNAME),$$($(2)_BASENAME_RAW),$$($(2)_HASH_FILE),$$(F),$$($(2)_DIR)/$$(F),$$(call UPPERCASE,$(4)))$$(sep)) +endif # license files + +ifeq ($$($(2)_SITE_METHOD),local) +# Packages without a tarball: don't save and warn + @$$(call legal-warning-nosource,$$($(2)_RAWNAME),local) + +else ifneq ($$($(2)_OVERRIDE_SRCDIR),) + @$$(call legal-warning-nosource,$$($(2)_RAWNAME),override) + +else +# Other packages + +ifeq ($$($(2)_REDISTRIBUTE),YES) +# Save the source tarball and any extra downloads, but not +# patches, as they are handled specially afterwards. + $$(foreach e,$$($(2)_ACTUAL_SOURCE_TARBALL) $$(notdir $$($(2)_EXTRA_DOWNLOADS)),\ + $$(Q)support/scripts/hardlink-or-copy \ + $$($(2)_DL_DIR)/$$(e) \ + $$($(2)_REDIST_SOURCES_DIR)$$(sep)) +# Save patches and generate the series file + $$(Q)while read f; do \ + support/scripts/hardlink-or-copy \ + $$$${f} \ + $$($(2)_REDIST_SOURCES_DIR) || exit 1; \ + printf "%s\n" "$$$${f##*/}" >>$$($(2)_REDIST_SOURCES_DIR)/series || exit 1; \ + done <$$($(2)_DIR)/.applied_patches_list +endif # redistribute + +endif # other packages + @$$(call legal-manifest,$$(call UPPERCASE,$(4)),$$($(2)_RAWNAME),$$($(2)_VERSION),$$(subst $$(space)$$(comma),$$(comma),$$($(2)_LICENSE)),$$($(2)_MANIFEST_LICENSE_FILES),$$($(2)_ACTUAL_SOURCE_TARBALL),$$($(2)_ACTUAL_SOURCE_SITE),$$(call legal-deps,$(1))) +endif # ifneq ($$(call qstrip,$$($(2)_SOURCE)),) + $$(foreach hook,$$($(2)_POST_LEGAL_INFO_HOOKS),$$(call $$(hook))$$(sep)) + +# add package to the general list of targets if requested by the buildroot +# configuration +ifeq ($$($$($(2)_KCONFIG_VAR)),y) + +# Ensure the calling package is the declared provider for all the virtual +# packages it claims to be an implementation of. +ifneq ($$($(2)_PROVIDES),) +$$(foreach pkg,$$($(2)_PROVIDES),\ + $$(eval $$(call virt-provides-single,$$(pkg),$$(call UPPERCASE,$$(pkg)),$(1))$$(sep))) +endif + +# Register package as a reverse-dependencies of all its dependencies +$$(eval $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),\ + $$(call UPPERCASE,$$(p))_RDEPENDENCIES += $(1)$$(sep))) + +# Ensure unified variable name conventions between all packages Some +# of the variables are used by more than one infrastructure; so, +# rather than duplicating the checks in each infrastructure, we check +# all variables here in pkg-generic, even though pkg-generic should +# have no knowledge of infra-specific variables. +$(eval $(call check-deprecated-variable,$(2)_MAKE_OPT,$(2)_MAKE_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_INSTALL_OPT,$(2)_INSTALL_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_INSTALL_TARGET_OPT,$(2)_INSTALL_TARGET_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_INSTALL_STAGING_OPT,$(2)_INSTALL_STAGING_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_INSTALL_HOST_OPT,$(2)_INSTALL_HOST_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_AUTORECONF_OPT,$(2)_AUTORECONF_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_CONF_OPT,$(2)_CONF_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_BUILD_OPT,$(2)_BUILD_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_GETTEXTIZE_OPT,$(2)_GETTEXTIZE_OPTS)) +$(eval $(call check-deprecated-variable,$(2)_KCONFIG_OPT,$(2)_KCONFIG_OPTS)) + +PACKAGES += $(1) + +ifneq ($$($(2)_PERMISSIONS),) +PACKAGES_PERMISSIONS_TABLE += $$($(2)_PERMISSIONS)$$(sep) +endif +ifneq ($$($(2)_DEVICES),) +PACKAGES_DEVICES_TABLE += $$($(2)_DEVICES)$$(sep) +endif +ifneq ($$($(2)_USERS),) +PACKAGES_USERS += $$($(2)_USERS)$$(sep) +endif +ifneq ($$($(2)_LINUX_CONFIG_FIXUPS),) +PACKAGES_LINUX_CONFIG_FIXUPS += $$($(2)_LINUX_CONFIG_FIXUPS)$$(sep) +endif +TARGET_FINALIZE_HOOKS += $$($(2)_TARGET_FINALIZE_HOOKS) +ROOTFS_PRE_CMD_HOOKS += $$($(2)_ROOTFS_PRE_CMD_HOOKS) +KEEP_PYTHON_PY_FILES += $$($(2)_KEEP_PY_FILES) + +ifneq ($$($(2)_SELINUX_MODULES),) +PACKAGES_SELINUX_MODULES += $$($(2)_SELINUX_MODULES) +endif +PACKAGES_SELINUX_EXTRA_MODULES_DIRS += \ + $$(if $$(wildcard $$($(2)_PKGDIR)/selinux),$$($(2)_PKGDIR)/selinux) + +ifeq ($$($(2)_SITE_METHOD),svn) +DL_TOOLS_DEPENDENCIES += svn +else ifeq ($$($(2)_SITE_METHOD),git) +DL_TOOLS_DEPENDENCIES += git +ifneq ($$($(2)_GIT_LFS),) +DL_TOOLS_DEPENDENCIES += git-lfs +endif +else ifeq ($$($(2)_SITE_METHOD),bzr) +DL_TOOLS_DEPENDENCIES += bzr +else ifeq ($$($(2)_SITE_METHOD),scp) +DL_TOOLS_DEPENDENCIES += scp ssh +else ifeq ($$($(2)_SITE_METHOD),hg) +DL_TOOLS_DEPENDENCIES += hg +else ifeq ($$($(2)_SITE_METHOD),cvs) +DL_TOOLS_DEPENDENCIES += cvs +endif # SITE_METHOD + +DL_TOOLS_DEPENDENCIES += $$(call extractor-system-dependency,$$($(2)_SOURCE)) + +# Ensure all virtual targets are PHONY. Listed alphabetically. +.PHONY: $(1) \ + $(1)-all-external-deps \ + $(1)-all-legal-info \ + $(1)-all-source \ + $(1)-build \ + $(1)-clean-for-rebuild \ + $(1)-clean-for-reconfigure \ + $(1)-clean-for-reinstall \ + $(1)-configure \ + $(1)-depends \ + $(1)-dirclean \ + $(1)-external-deps \ + $(1)-extract \ + $(1)-graph-depends \ + $(1)-graph-rdepends \ + $(1)-install \ + $(1)-install-host \ + $(1)-install-images \ + $(1)-install-staging \ + $(1)-install-target \ + $(1)-legal-info \ + $(1)-legal-source \ + $(1)-patch \ + $(1)-rebuild \ + $(1)-reconfigure \ + $(1)-reinstall \ + $(1)-rsync \ + $(1)-show-depends \ + $(1)-show-info \ + $(1)-show-version \ + $(1)-source + +ifneq ($$($(2)_SOURCE),) +ifeq ($$($(2)_SITE),) +$$(error $(2)_SITE cannot be empty when $(2)_SOURCE is not) +endif +endif + +ifeq ($$(patsubst %/,ERROR,$$($(2)_SITE)),ERROR) +$$(error $(2)_SITE ($$($(2)_SITE)) cannot have a trailing slash) +endif + +ifneq ($$($(2)_HELP_CMDS),) +HELP_PACKAGES += $(2) +endif + +# Virtual packages are not built but it's useful to allow them to have +# permission/device/user tables and target-finalize/rootfs-pre-cmd hooks. +else ifeq ($$(BR2_PACKAGE_HAS_$(2)),y) # $(2)_KCONFIG_VAR + +ifneq ($$($(2)_PERMISSIONS),) +PACKAGES_PERMISSIONS_TABLE += $$($(2)_PERMISSIONS)$$(sep) +endif +ifneq ($$($(2)_DEVICES),) +PACKAGES_DEVICES_TABLE += $$($(2)_DEVICES)$$(sep) +endif +ifneq ($$($(2)_USERS),) +PACKAGES_USERS += $$($(2)_USERS)$$(sep) +endif +TARGET_FINALIZE_HOOKS += $$($(2)_TARGET_FINALIZE_HOOKS) +ROOTFS_PRE_CMD_HOOKS += $$($(2)_ROOTFS_PRE_CMD_HOOKS) + +endif # $(2)_KCONFIG_VAR +endef # inner-generic-package + +################################################################################ +# generic-package -- the target generator macro for generic packages +################################################################################ + +# In the case of target packages, keep the package name "pkg" +generic-package = $(call inner-generic-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) +# In the case of host packages, turn the package name "pkg" into "host-pkg" +host-generic-package = $(call inner-generic-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) + +# :mode=makefile: diff --git a/buildroot-2022.02.1/package/pkg-golang.mk b/buildroot-2022.02.1/package/pkg-golang.mk new file mode 100644 index 00000000..0b3dc3d3 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-golang.mk @@ -0,0 +1,161 @@ +################################################################################ +# Golang package infrastructure +# +# This file implements an infrastructure that eases development of package .mk +# files for Go packages. It should be used for all packages that are written in +# go. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# +# In terms of implementation, this golang infrastructure requires the .mk file +# to only specify metadata information about the package: name, version, +# download URL, etc. +# +# We still allow the package .mk file to override what the different steps are +# doing, if needed. For example, if _BUILD_CMDS is already defined, it is +# used as the list of commands to perform to build the package, instead of the +# default golang behavior. The package can also define some post operation +# hooks. +# +################################################################################ + +GO_BIN = $(HOST_DIR)/bin/go + +################################################################################ +# inner-golang-package -- defines how the configuration, compilation and +# installation of a Go package should be done, implements a few hooks to tune +# the build process for Go specificities and calls the generic package +# infrastructure to generate the necessary make targets +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix for host +# packages +# argument 3 is the uppercase package name, without the HOST_ prefix for host +# packages +# argument 4 is the type (target or host) +# +################################################################################ + +define inner-golang-package + +$(2)_BUILD_OPTS += \ + -ldflags "$$($(2)_LDFLAGS)" \ + -modcacherw \ + -tags "$$($(2)_TAGS)" \ + -trimpath \ + -p $$(PARALLEL_JOBS) + +# Target packages need the Go compiler on the host at download time (for +# vendoring), and at build and install time. +$(2)_DOWNLOAD_DEPENDENCIES += host-go +$(2)_DEPENDENCIES += host-go + +$(2)_BUILD_TARGETS ?= . + +# If the build target is just ".", then we assume the binary to be +# produced is named after the package. If however, a build target has +# been specified, we assume that the binaries to be produced are named +# after each build target building them (below in _BUILD_CMDS). +ifeq ($$($(2)_BUILD_TARGETS),.) +$(2)_BIN_NAME ?= $$($(2)_RAWNAME) +endif + +$(2)_INSTALL_BINS ?= $$($(2)_RAWNAME) + +# Source files in Go usually use an import path resolved around +# domain/vendor/software. We infer domain/vendor/software from the upstream URL +# of the project. +$(2)_SRC_DOMAIN = $$(call domain,$$($(2)_SITE)) +$(2)_SRC_VENDOR = $$(word 1,$$(subst /, ,$$(call notdomain,$$($(2)_SITE)))) +$(2)_SRC_SOFTWARE = $$(word 2,$$(subst /, ,$$(call notdomain,$$($(2)_SITE)))) + +# $(2)_GOMOD is the root Go module path for the project, inferred if not set. +# If the go.mod file does not exist, one is written with this root path. +$(2)_GOMOD ?= $$($(2)_SRC_DOMAIN)/$$($(2)_SRC_VENDOR)/$$($(2)_SRC_SOFTWARE) + +# Generate a go.mod file if it doesn't exist. Note: Go is configured +# to use the "vendor" dir and not make network calls. +define $(2)_GEN_GOMOD + if [ ! -f $$(@D)/go.mod ]; then \ + printf "module $$($(2)_GOMOD)\n" > $$(@D)/go.mod; \ + fi +endef +$(2)_POST_PATCH_HOOKS += $(2)_GEN_GOMOD + +$(2)_DOWNLOAD_POST_PROCESS = go +$(2)_DL_ENV += \ + $$(HOST_GO_COMMON_ENV) \ + GOPROXY=direct + +# Due to vendoring, it is pretty likely that not all licenses are +# listed in _LICENSE. +$(2)_LICENSE += , vendored dependencies licenses probably not listed + +# Build step. Only define it if not already defined by the package .mk +# file. +ifndef $(2)_BUILD_CMDS +ifeq ($(4),target) + +ifeq ($(BR2_STATIC_LIBS),y) +$(2)_LDFLAGS += -extldflags '-static' +endif + +# Build package for target +define $(2)_BUILD_CMDS + $$(foreach d,$$($(2)_BUILD_TARGETS),\ + cd $$(@D); \ + $$(HOST_GO_TARGET_ENV) \ + $$($(2)_GO_ENV) \ + $$(GO_BIN) build -v $$($(2)_BUILD_OPTS) \ + -o $$(@D)/bin/$$(or $$($(2)_BIN_NAME),$$(notdir $$(d))) \ + $$($(2)_GOMOD)/$$(d) + ) +endef +else +# Build package for host +define $(2)_BUILD_CMDS + $$(foreach d,$$($(2)_BUILD_TARGETS),\ + cd $$(@D); \ + $$(HOST_GO_HOST_ENV) \ + $$($(2)_GO_ENV) \ + $$(GO_BIN) build -v $$($(2)_BUILD_OPTS) \ + -o $$(@D)/bin/$$(or $$($(2)_BIN_NAME),$$(notdir $$(d))) \ + $$($(2)_GOMOD)/$$(d) + ) +endef +endif +endif + +# Target installation step. Only define it if not already defined by the +# package .mk file. +ifndef $(2)_INSTALL_TARGET_CMDS +define $(2)_INSTALL_TARGET_CMDS + $$(foreach d,$$($(2)_INSTALL_BINS),\ + $$(INSTALL) -D -m 0755 $$(@D)/bin/$$(d) $$(TARGET_DIR)/usr/bin/$$(d) + ) +endef +endif + +# Host installation step +ifndef $(2)_INSTALL_CMDS +define $(2)_INSTALL_CMDS + $$(foreach d,$$($(2)_INSTALL_BINS),\ + $$(INSTALL) -D -m 0755 $$(@D)/bin/$$(d) $$(HOST_DIR)/bin/$$(d) + ) +endef +endif + +# Call the generic package infrastructure to generate the necessary make +# targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef # inner-golang-package + +################################################################################ +# golang-package -- the target generator macro for Go packages +################################################################################ + +golang-package = $(call inner-golang-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) +host-golang-package = $(call inner-golang-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) diff --git a/buildroot-2022.02.1/package/pkg-kconfig.mk b/buildroot-2022.02.1/package/pkg-kconfig.mk new file mode 100644 index 00000000..32dcfea0 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-kconfig.mk @@ -0,0 +1,335 @@ +################################################################################ +# Kconfig package infrastructure +# +# This file implements an infrastructure that eases development of +# package .mk files for packages that use kconfig for configuration files. +# It is based on the generic-package infrastructure, and inherits all of its +# features. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure. +# +################################################################################ + +# Macro to update back the custom (def)config file +# Must only be called if $(PKG)_KCONFIG_FILE is set and $(PKG)_KCONFIG_DEFCONFIG) +# is not set. +# $(1): file to copy from +define kconfig-package-update-config + @$(if $($(PKG)_KCONFIG_FRAGMENT_FILES), \ + echo "Unable to perform $(@) when fragment files are set"; exit 1) + $(Q)if [ -d $($(PKG)_KCONFIG_FILE) ]; then \ + echo "Unable to perform $(@) when $($(PKG)_KCONFIG_FILE) is a directory"; \ + exit 1; \ + fi + $(Q)mkdir -p $(dir $($(PKG)_KCONFIG_FILE)) + cp -f $($(PKG)_DIR)/$(1) $($(PKG)_KCONFIG_FILE) + $(Q)touch --reference $($(PKG)_DIR)/$($(PKG)_KCONFIG_STAMP_DOTCONFIG) $($(PKG)_KCONFIG_FILE) +endef + +PKG_KCONFIG_COMMON_OPTS = \ + HOSTCC="$(HOSTCC_NOCCACHE)" + +# Macro to save the defconfig file +# $(1): the name of the package in upper-case letters +define kconfig-package-savedefconfig + $($(1)_MAKE_ENV) $($(1)_MAKE) -C $($(1)_DIR) \ + $(PKG_KCONFIG_COMMON_OPTS) $($(1)_KCONFIG_OPTS) savedefconfig +endef + +# The correct way to regenerate a .config file is to use 'make olddefconfig'. +# For historical reasons, the target name is 'oldnoconfig' between Linux kernel +# versions 2.6.36 and 3.6, and remains as an alias in later versions. +# In older versions, and in some other projects that use kconfig, the target is +# not supported at all, and we use 'yes "" | make oldconfig' as a fallback +# only, as this can fail in complex cases. +# $(1): the name of the package in upper-case letters +define kconfig-package-regen-dot-config + $(if $(filter olddefconfig,$($(1)_KCONFIG_RULES)), + $(Q)$($(1)_KCONFIG_MAKE) olddefconfig, + $(if $(filter oldnoconfig,$($(1)_KCONFIG_RULES)), + $(Q)$($(1)_KCONFIG_MAKE) oldnoconfig, + $(Q)(yes "" | $($(1)_KCONFIG_MAKE) oldconfig))) +endef + +# Macro to create a .config file where all given fragments are merged into. +# $(1): the name of the package in upper-case letters +# $(2): name of the .config file +# $(3): fragment files to merge +define kconfig-package-merge-config + $(Q)$(if $($(1)_KCONFIG_DEFCONFIG),\ + $($(1)_KCONFIG_MAKE) $($(1)_KCONFIG_DEFCONFIG),\ + $(INSTALL) -m 0644 -D $($(1)_KCONFIG_FILE) $(2)) + $(Q)support/kconfig/merge_config.sh -m -O $(dir $(2)) $(2) $(3) + $(call kconfig-package-regen-dot-config,$(1)) +endef + +################################################################################ +# inner-kconfig-package -- generates the make targets needed to support a +# kconfig package +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +################################################################################ + +define inner-kconfig-package + +# Default values +$(2)_MAKE ?= $$(MAKE) +$(2)_KCONFIG_EDITORS ?= menuconfig +$(2)_KCONFIG_DOTCONFIG ?= .config +$(2)_KCONFIG_SUPPORTS_DEFCONFIG ?= YES + +# Register the kconfig dependencies as regular dependencies, so that +# they are also accounted for in the generated graphs. +$(2)_DEPENDENCIES += $$($(2)_KCONFIG_DEPENDENCIES) + +# Generate the kconfig-related help: one entry for each editor. +# Additionally, if the package is *not* using an in-tree defconfig +# name, an entry for updating the package configuration file. +ifndef $(2)_HELP_CMDS +define $(2)_HELP_CMDS + $$(foreach editor, $$($(2)_KCONFIG_EDITORS), \ + @printf ' %-22s - Run %s %s\n' $(1)-$$(editor) $(1) $$(editor) + ) + $$(if $$($(2)_KCONFIG_DEFCONFIG),,\ + $$(if $$(filter YES,$$($(2)_KCONFIG_SUPPORTS_DEFCONFIG)),\ + @printf ' %-22s - Save the %s configuration as a defconfig file\n' \ + $(1)-update-defconfig $(1) + @printf ' %-22s to %s\n' '' $$($(2)_KCONFIG_FILE) + @printf ' %-22s (or override with %s_KCONFIG_FILE)\n' '' $(2) + ) + @printf ' %-22s - Save the %s configuration as a full .config file\n' \ + $(1)-update-config $(1) + @printf ' %-22s to %s\n' '' $$($(2)_KCONFIG_FILE) + @printf ' %-22s (or override with %s_KCONFIG_FILE)\n' '' $(2) + ) +endef +endif + +# Call the generic package infrastructure to generate the necessary +# make targets. +# Note: this must be done _before_ attempting to use $$($(2)_DIR) in a +# dependency expression +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +# Do not use $(2)_KCONFIG_DOTCONFIG as stamp file, because the package +# buildsystem (e.g. linux >= 4.19) may touch it, thus rendering our +# timestamps out of date, thus re-trigerring the build of the package. +# Instead, use a specific file of our own as timestamp. +$(2)_KCONFIG_STAMP_DOTCONFIG = .stamp_dotconfig + +# The config file as well as the fragments could be in-tree, so before +# depending on them the package should be extracted (and patched) first. +# +# Since those files only have a order-only dependency, make would treat +# any missing one as a "force" target: +# https://www.gnu.org/software/make/manual/make.html#Force-Targets +# and would forcibly any rule that depend on those files, causing a +# rebuild of the kernel each time make is called. +# +# So, we provide a recipe that checks all of those files exist, to +# overcome that standard make behaviour. +# +$$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES): | $(1)-patch + for f in $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES); do \ + if [ ! -f "$$$${f}" ]; then \ + printf "Kconfig file or fragment '%s' for '%s' does not exist\n" "$$$${f}" "$(1)"; \ + exit 1; \ + fi; \ + done + +$(2)_KCONFIG_MAKE = \ + $$($(2)_MAKE_ENV) $$($(2)_MAKE) -C $$($(2)_DIR) \ + $$(PKG_KCONFIG_COMMON_OPTS) $$($(2)_KCONFIG_OPTS) + +# $(2)_KCONFIG_MAKE may already rely on shell expansion. As the $() syntax +# of the shell conflicts with Make's own syntax, this means that backticks +# are used with those shell constructs. Unfortunately, the backtick syntax +# does not nest, and we need to use Make instead of the shell to handle +# conditions. + +# A recursively expanded variable is necessary, to be sure that the shell +# command is called when the rule is processed during the build and not +# when the rule is created when parsing all packages. +$(2)_KCONFIG_RULES = \ + $$(shell $$($(2)_KCONFIG_MAKE) -pn config 2>/dev/null | \ + sed 's/^\([_0-9a-zA-Z]*config\):.*/\1/ p; d') + +# The specified source configuration file and any additional configuration file +# fragments are merged together to .config, after the package has been patched. +# Since the file could be a defconfig file it needs to be expanded to a +# full .config first. +$$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG): $$($(2)_KCONFIG_FILE) $$($(2)_KCONFIG_FRAGMENT_FILES) + $$(call prepare-per-package-directory,$$($(2)_KCONFIG_DEPENDENCIES)) + $$(call kconfig-package-merge-config,$(2),$$(@D)/$$($(2)_KCONFIG_DOTCONFIG),\ + $$($(2)_KCONFIG_FRAGMENT_FILES)) + $$(Q)touch $$(@D)/$$($(2)_KCONFIG_STAMP_DOTCONFIG) + +# If _KCONFIG_FILE or _KCONFIG_FRAGMENT_FILES exists, this dependency is +# already implied, but if we only have a _KCONFIG_DEFCONFIG we have to add +# it explicitly. It doesn't hurt to always have it though. +$$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG): | $(1)-patch + +# Some packages may need additional tools to be present by the time their +# kconfig structure is parsed (e.g. the linux kernel may need to call to +# the compiler to test its features). +$$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG): | $$($(2)_KCONFIG_DEPENDENCIES) + +# In order to get a usable, consistent configuration, some fixup may be needed. +# The exact rules are specified by the package .mk file. +define $(2)_FIXUP_DOT_CONFIG + $$($(2)_KCONFIG_FIXUP_CMDS) + $$(call kconfig-package-regen-dot-config,$(2)) + $$(Q)touch $$($(2)_DIR)/.stamp_kconfig_fixup_done +endef + +$$($(2)_DIR)/.stamp_kconfig_fixup_done: PKG=$(2) +$$($(2)_DIR)/.stamp_kconfig_fixup_done: $$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG) + $$($(2)_FIXUP_DOT_CONFIG) + +# Before running configure, the configuration file should be present and fixed +$$($(2)_TARGET_CONFIGURE): $$($(2)_DIR)/.stamp_kconfig_fixup_done + +# Force olddefconfig again on -reconfigure +$(1)-clean-for-reconfigure: $(1)-clean-kconfig-for-reconfigure + +$(1)-clean-kconfig-for-reconfigure: + rm -f $$($(2)_DIR)/$$($(2)_KCONFIG_STAMP_DOTCONFIG) + +# Only enable the foo-*config targets when the package is actually enabled. +# Note: the variable $(2)_KCONFIG_VAR is not related to the kconfig +# infrastructure, but defined by pkg-generic.mk. The generic infrastructure is +# already called above, so we can effectively use this variable. +ifeq ($$($$($(2)_KCONFIG_VAR)),y) + +ifeq ($$(BR_BUILDING),y) +# Either FOO_KCONFIG_FILE or FOO_KCONFIG_DEFCONFIG is required... +ifeq ($$(or $$($(2)_KCONFIG_FILE),$$($(2)_KCONFIG_DEFCONFIG)),) +$$(error Internal error: no value specified for $(2)_KCONFIG_FILE or $(2)_KCONFIG_DEFCONFIG) +endif +# ... but not both: +ifneq ($$(and $$($(2)_KCONFIG_FILE),$$($(2)_KCONFIG_DEFCONFIG)),) +$$(error Internal error: $(2)_KCONFIG_FILE and $(2)_KCONFIG_DEFCONFIG are mutually exclusive but both are defined) +endif +endif + +# For the configurators, we do want to use the system-provided host +# tools, not the ones we build. This is particularly true for +# pkg-config; if we use our pkg-config (from host-pkgconf), then it +# would not look for the .pc from the host, but we do need them, +# especially to find ncurses, GTK+, Qt (resp. for menuconfig and +# nconfig, gconfig, xconfig). +# So we simply remove our PATH and PKG_CONFIG_* variables. +$(2)_CONFIGURATOR_MAKE_ENV = \ + $$(filter-out PATH=% PKG_CONFIG=% PKG_CONFIG_SYSROOT_DIR=% \ + PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=% PKG_CONFIG_ALLOW_SYSTEM_LIBS=% \ + PKG_CONFIG_LIBDIR=%,$$($(2)_MAKE_ENV)) \ + PKG_CONFIG_PATH="$(HOST_PKG_CONFIG_PATH)" + +# Configuration editors (menuconfig, ...) +# +# We need to apply the configuration fixups right after a configuration +# editor exits, so that it is possible to save the configuration right +# after exiting an editor, and so the user always sees a .config file +# that is clean wrt. our requirements. +# +# Because commands in $(1)_FIXUP_KCONFIG are probably using $(@D), we +# need to have a valid @D set. But, because the configurators rules are +# not real files and do not contain the path to the package build dir, +# @D would be just '.' in this case. So, we use an intermediate rule +# with a stamp-like file which path is in the package build dir, so we +# end up having a valid @D. +# +$$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS)): $(1)-%: $$($(2)_DIR)/.kconfig_editor_% +$$($(2)_DIR)/.kconfig_editor_%: PKG=$(2) +$$($(2)_DIR)/.kconfig_editor_%: $$($(2)_DIR)/.stamp_kconfig_fixup_done + $$($(2)_CONFIGURATOR_MAKE_ENV) $$($(2)_MAKE) -C $$($(2)_DIR) \ + $$(PKG_KCONFIG_COMMON_OPTS) $$($(2)_KCONFIG_OPTS) $$(*) + rm -f $$($(2)_DIR)/.stamp_{kconfig_fixup_done,configured,built} + rm -f $$($(2)_DIR)/.stamp_{target,staging,images}_installed + $$($(2)_FIXUP_DOT_CONFIG) + +# Saving back the configuration +# +# Ideally, that should directly depend on $$($(2)_DIR)/.stamp_kconfig_fixup_done, +# but that breaks the use-case in PR-8156 (from a clean tree): +# make menuconfig <- enable kernel, use an in-tree defconfig, save and exit +# make linux-menuconfig <- enable/disable whatever option, save and exit +# make menuconfig <- change to use a custom defconfig file, set a path, save and exit +# make linux-update-config <- should save to the new custom defconfig file +# +# Because of that use-case, saving the configuration can *not* directly +# depend on the stamp file, because it itself depends on the .config, +# which in turn depends on the (newly-set an non-existent) custom +# defconfig file. +# +# Instead, we use a PHONY rule that will catch that situation. +# +$(1)-check-configuration-done: + @if [ ! -f $$($(2)_DIR)/.stamp_kconfig_fixup_done ]; then \ + echo "$(1) is not yet configured"; \ + exit 1; \ + fi + +ifeq ($$($(2)_KCONFIG_SUPPORTS_DEFCONFIG),YES) +.PHONY: $(1)-savedefconfig +$(1)-savedefconfig: $(1)-check-configuration-done + $$(call kconfig-package-savedefconfig,$(2)) +endif + +ifeq ($$($(2)_KCONFIG_DEFCONFIG),) +# Target to copy back the configuration to the source configuration file +# Even though we could use 'cp --preserve-timestamps' here, the separate +# cp and 'touch --reference' is used for symmetry with $(1)-update-defconfig. +.PHONY: $(1)-update-config +$(1)-update-config: PKG=$(2) +$(1)-update-config: $(1)-check-configuration-done + $$(call kconfig-package-update-config,$$($(2)_KCONFIG_DOTCONFIG)) + +ifeq ($$($(2)_KCONFIG_SUPPORTS_DEFCONFIG),YES) +# Note: make sure the timestamp of the stored configuration is not newer than +# the .config to avoid a useless rebuild. Note that, contrary to +# $(1)-update-config, the reference for 'touch' is _not_ the file from which +# we copy. +.PHONY: $(1)-update-defconfig +$(1)-update-defconfig: PKG=$(2) +$(1)-update-defconfig: $(1)-savedefconfig + $$(call kconfig-package-update-config,defconfig) +endif + +endif + +# Target to output differences between the configuration obtained via the +# defconfig + fragments (if any) and the current configuration. +# Note: it preserves the timestamp of the current configuration when moving it +# around. +$(1)-diff-config: $(1)-check-configuration-done + $$(Q)cp -a $$($(2)_DIR)/$$($(2)_KCONFIG_DOTCONFIG) $$($(2)_DIR)/.config.dc.bak + $$(call kconfig-package-merge-config,$(2),$$($(2)_DIR)/$$($(2)_KCONFIG_DOTCONFIG),\ + $$($(2)_KCONFIG_FRAGMENT_FILES)) + $$(Q)utils/diffconfig $$($(2)_DIR)/$$($(2)_KCONFIG_DOTCONFIG) \ + $$($(2)_DIR)/.config.dc.bak + $$(Q)cp -a $$($(2)_DIR)/.config.dc.bak $$($(2)_DIR)/$$($(2)_KCONFIG_DOTCONFIG) + $$(Q)rm -f $$($(2)_DIR)/.config.dc.bak + + +endif # package enabled + +.PHONY: \ + $(1)-diff-config \ + $(1)-check-configuration-done \ + $$($(2)_DIR)/.kconfig_editor_% \ + $$(addprefix $(1)-,$$($(2)_KCONFIG_EDITORS)) + +endef # inner-kconfig-package + +################################################################################ +# kconfig-package -- the target generator macro for kconfig packages +################################################################################ + +kconfig-package = $(call inner-kconfig-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) diff --git a/buildroot-2021.05/package/pkg-kernel-module.mk b/buildroot-2022.02.1/package/pkg-kernel-module.mk similarity index 100% rename from buildroot-2021.05/package/pkg-kernel-module.mk rename to buildroot-2022.02.1/package/pkg-kernel-module.mk diff --git a/buildroot-2021.05/package/pkg-luarocks.mk b/buildroot-2022.02.1/package/pkg-luarocks.mk similarity index 100% rename from buildroot-2021.05/package/pkg-luarocks.mk rename to buildroot-2022.02.1/package/pkg-luarocks.mk diff --git a/buildroot-2022.02.1/package/pkg-meson.mk b/buildroot-2022.02.1/package/pkg-meson.mk new file mode 100644 index 00000000..9e70d49b --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-meson.mk @@ -0,0 +1,249 @@ +################################################################################ +# Meson package infrastructure +# +# This file implements an infrastructure that eases development of +# package .mk files for Meson packages. It should be used for all +# packages that use Meson as their build system. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# In terms of implementation, this Meson infrastructure requires +# the .mk file to only specify metadata information about the +# package: name, version, download URL, etc. +# +# We still allow the package .mk file to override what the different +# steps are doing, if needed. For example, if _BUILD_CMDS is +# already defined, it is used as the list of commands to perform to +# build the package, instead of the default Meson behaviour. The +# package can also define some post operation hooks. +# +################################################################################ + +# +# Pass PYTHONNOUSERSITE environment variable when invoking Meson or Ninja, so +# $(HOST_DIR)/bin/python3 will not look for Meson modules in +# $HOME/.local/lib/python3.x/site-packages +# +MESON = PYTHONNOUSERSITE=y $(HOST_DIR)/bin/meson +NINJA = PYTHONNOUSERSITE=y $(HOST_DIR)/bin/ninja +NINJA_OPTS = $(if $(VERBOSE),-v) -j$(PARALLEL_JOBS) + +# https://mesonbuild.com/Reference-tables.html#cpu-families +ifeq ($(BR2_arcle)$(BR2_arceb),y) +PKG_MESON_TARGET_CPU_FAMILY = arc +else ifeq ($(BR2_arm)$(BR2_armeb),y) +PKG_MESON_TARGET_CPU_FAMILY = arm +else ifeq ($(BR2_aarch64)$(BR2_aarch64_be),y) +PKG_MESON_TARGET_CPU_FAMILY = aarch64 +else ifeq ($(BR2_i386),y) +PKG_MESON_TARGET_CPU_FAMILY = x86 +else ifeq ($(BR2_m68k),y) +PKG_MESON_TARGET_CPU_FAMILY = m68k +else ifeq ($(BR2_microblazeel)$(BR2_microblazebe),y) +PKG_MESON_TARGET_CPU_FAMILY = microblaze +else ifeq ($(BR2_mips)$(BR2_mipsel),y) +PKG_MESON_TARGET_CPU_FAMILY = mips +else ifeq ($(BR2_mips64)$(BR2_mips64el),y) +PKG_MESON_TARGET_CPU_FAMILY = mips64 +else ifeq ($(BR2_powerpc),y) +PKG_MESON_TARGET_CPU_FAMILY = ppc +else ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y) +PKG_MESON_TARGET_CPU_FAMILY = ppc64 +else ifeq ($(BR2_riscv),y) +PKG_MESON_TARGET_CPU_FAMILY = riscv64 +else ifeq ($(BR2_sh4)$(BR2_sh4eb)$(BR2_sh4a)$(BR2_sh4aeb),y) +PKG_MESON_TARGET_CPU_FAMILY = sh4 +else ifeq ($(BR2_sparc),y) +PKG_MESON_TARGET_CPU_FAMILY = sparc +else ifeq ($(BR2_sparc64),y) +PKG_MESON_TARGET_CPU_FAMILY = sparc64 +else ifeq ($(BR2_x86_64),y) +PKG_MESON_TARGET_CPU_FAMILY = x86_64 +else +PKG_MESON_TARGET_CPU_FAMILY = $(ARCH) +endif + +# Generates sed patterns for patching the cross-compilation.conf template, +# since Flags might contain commas the arguments are passed indirectly by +# variable name (stripped to deal with whitespaces). +# Arguments are variable containing cflags, cxxflags, ldflags. +define PKG_MESON_CROSSCONFIG_SED + -e "s%@TARGET_CC@%$(TARGET_CC)%g" \ + -e "s%@TARGET_CXX@%$(TARGET_CXX)%g" \ + -e "s%@TARGET_AR@%$(TARGET_AR)%g" \ + -e "s%@TARGET_STRIP@%$(TARGET_STRIP)%g" \ + -e "s%@TARGET_ARCH@%$(PKG_MESON_TARGET_CPU_FAMILY)%g" \ + -e "s%@TARGET_CPU@%$(GCC_TARGET_CPU)%g" \ + -e "s%@TARGET_ENDIAN@%$(call qstrip,$(call LOWERCASE,$(BR2_ENDIAN)))%g" \ + -e "s%@TARGET_CFLAGS@%$(call make-sq-comma-list,$($(strip $(1))))%g" \ + -e "s%@TARGET_LDFLAGS@%$(call make-sq-comma-list,$($(strip $(3))))%g" \ + -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$($(strip $(2))))%g" \ + -e "s%@BR2_CMAKE@%$(BR2_CMAKE)%g" \ + -e "s%@PKGCONF_HOST_BINARY@%$(HOST_DIR)/bin/pkgconf%g" \ + -e "s%@STAGING_DIR@%$(STAGING_DIR)%g" \ + -e "s%@STATIC@%$(if $(BR2_STATIC_LIBS),true,false)%g" \ + $(TOPDIR)/support/misc/cross-compilation.conf.in +endef + +################################################################################ +# inner-meson-package -- defines how the configuration, compilation and +# installation of a Meson package should be done, implements a few hooks to +# tune the build process and calls the generic package infrastructure to +# generate the necessary make targets +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +################################################################################ + +define inner-meson-package + +# +# Configure step. Only define it if not already defined by the package +# .mk file. And take care of the differences between host and target +# packages. +# +ifndef $(2)_CONFIGURE_CMDS +ifeq ($(4),target) + +$(2)_CFLAGS ?= $$(TARGET_CFLAGS) +$(2)_LDFLAGS ?= $$(TARGET_LDFLAGS) +$(2)_CXXFLAGS ?= $$(TARGET_CXXFLAGS) + +# Configure package for target +# +# +define $(2)_CONFIGURE_CMDS + rm -rf $$($$(PKG)_SRCDIR)/build + mkdir -p $$($$(PKG)_SRCDIR)/build + sed -e "/^\[binaries\]$$$$/s:$$$$:$$(foreach x,$$($(2)_MESON_EXTRA_BINARIES),\n$$(x)):" \ + -e "/^\[properties\]$$$$/s:$$$$:$$(foreach x,$$($(2)_MESON_EXTRA_PROPERTIES),\n$$(x)):" \ + $$(call PKG_MESON_CROSSCONFIG_SED,$(2)_CFLAGS,$(2)_CXXFLAGS,$(2)_LDFLAGS) \ + > $$($$(PKG)_SRCDIR)/build/cross-compilation.conf + PATH=$$(BR_PATH) \ + CC_FOR_BUILD="$$(HOSTCC)" \ + CXX_FOR_BUILD="$$(HOSTCXX)" \ + $$($$(PKG)_CONF_ENV) \ + $$(MESON) \ + --prefix=/usr \ + --libdir=lib \ + --default-library=$(if $(BR2_STATIC_LIBS),static,shared) \ + --buildtype=$(if $(BR2_ENABLE_RUNTIME_DEBUG),debug,release) \ + --cross-file=$$($$(PKG)_SRCDIR)/build/cross-compilation.conf \ + -Db_pie=false \ + -Dstrip=false \ + -Dbuild.pkg_config_path=$$(HOST_DIR)/lib/pkgconfig \ + -Dbuild.cmake_prefix_path=$$(HOST_DIR)/lib/cmake \ + $$($$(PKG)_CONF_OPTS) \ + $$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build +endef +else + +# Configure package for host +define $(2)_CONFIGURE_CMDS + rm -rf $$($$(PKG)_SRCDIR)/build + mkdir -p $$($$(PKG)_SRCDIR)/build + $$(HOST_CONFIGURE_OPTS) \ + $$($$(PKG)_CONF_ENV) $$(MESON) \ + --prefix=$$(HOST_DIR) \ + --libdir=lib \ + --sysconfdir=$$(HOST_DIR)/etc \ + --localstatedir=$$(HOST_DIR)/var \ + --default-library=shared \ + --buildtype=release \ + -Dstrip=true \ + $$($$(PKG)_CONF_OPTS) \ + $$($$(PKG)_SRCDIR) $$($$(PKG)_SRCDIR)/build +endef +endif +endif + +$(2)_DEPENDENCIES += host-meson + +# +# Build step. Only define it if not already defined by the package .mk +# file. +# +ifndef $(2)_BUILD_CMDS +ifeq ($(4),target) +define $(2)_BUILD_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_NINJA_ENV) \ + $$(NINJA) $$(NINJA_OPTS) $$($$(PKG)_NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build +endef +else +define $(2)_BUILD_CMDS + $$(HOST_MAKE_ENV) $$($$(PKG)_NINJA_ENV) \ + $$(NINJA) $$(NINJA_OPTS) $$($$(PKG)_NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build +endef +endif +endif + +# +# Host installation step. Only define it if not already defined by the +# package .mk file. +# +ifndef $(2)_INSTALL_CMDS +define $(2)_INSTALL_CMDS + $$(HOST_MAKE_ENV) $$($$(PKG)_NINJA_ENV) \ + $$(NINJA) $$(NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build install +endef +endif + +# +# Staging installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_STAGING_CMDS +define $(2)_INSTALL_STAGING_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_NINJA_ENV) DESTDIR=$$(STAGING_DIR) \ + $$(NINJA) $$(NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build install +endef +endif + +# +# Target installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_TARGET_CMDS +define $(2)_INSTALL_TARGET_CMDS + $$(TARGET_MAKE_ENV) $$($$(PKG)_NINJA_ENV) DESTDIR=$$(TARGET_DIR) \ + $$(NINJA) $$(NINJA_OPTS) -C $$($$(PKG)_SRCDIR)/build install +endef +endif + +# Call the generic package infrastructure to generate the necessary +# make targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef + +################################################################################ +# meson-package -- the target generator macro for Meson packages +################################################################################ + +meson-package = $(call inner-meson-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) +host-meson-package = $(call inner-meson-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) + +################################################################################ +# Generation of the Meson compile flags and cross-compilation file +################################################################################ + +# Generate a Meson cross-compilation.conf suitable for use with the +# SDK; also install the file as a template for users to add their +# own flags if they need to. +define PKG_MESON_INSTALL_CROSS_CONF + mkdir -p $(HOST_DIR)/etc/meson + sed -e "s%@TARGET_CFLAGS@%$(call make-sq-comma-list,$(TARGET_CFLAGS))@PKG_TARGET_CFLAGS@%g" \ + -e "s%@TARGET_LDFLAGS@%$(call make-sq-comma-list,$(TARGET_LDFLAGS))@PKG_TARGET_LDFLAGS@%g" \ + -e "s%@TARGET_CXXFLAGS@%$(call make-sq-comma-list,$(TARGET_CXXFLAGS))@PKG_TARGET_CXXFLAGS@%g" \ + $(call PKG_MESON_CROSSCONFIG_SED) \ + > $(HOST_DIR)/etc/meson/cross-compilation.conf.in + sed $(call PKG_MESON_CROSSCONFIG_SED,TARGET_CFLAGS,TARGET_CXXFLAGS,TARGET_LDFLAGS) \ + > $(HOST_DIR)/etc/meson/cross-compilation.conf +endef + +TOOLCHAIN_TARGET_FINALIZE_HOOKS += PKG_MESON_INSTALL_CROSS_CONF diff --git a/buildroot-2021.05/package/pkg-perl.mk b/buildroot-2022.02.1/package/pkg-perl.mk similarity index 100% rename from buildroot-2021.05/package/pkg-perl.mk rename to buildroot-2022.02.1/package/pkg-perl.mk diff --git a/buildroot-2022.02.1/package/pkg-python.mk b/buildroot-2022.02.1/package/pkg-python.mk new file mode 100644 index 00000000..38455e40 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-python.mk @@ -0,0 +1,255 @@ +################################################################################ +# Python package infrastructure +# +# This file implements an infrastructure that eases development of +# package .mk files for Python packages. It should be used for all +# packages that use Python setup.py/setuptools as their build system. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# In terms of implementation, this Python infrastructure requires the +# .mk file to only specify metadata information about the package: +# name, version, download URL, etc. +# +# We still allow the package .mk file to override what the different +# steps are doing, if needed. For example, if _BUILD_CMDS is +# already defined, it is used as the list of commands to perform to +# build the package, instead of the default Python behaviour. The +# package can also define some post operation hooks. +# +################################################################################ + +ifeq ($(BR2_arm)$(BR2_armeb),y) +PKG_PYTHON_ARCH = arm +else +PKG_PYTHON_ARCH = $(ARCH) +endif +PKG_PYTHON_HOST_PLATFORM = linux-$(PKG_PYTHON_ARCH) + +# basename does not evaluate if a file exists, so we must check to ensure +# the _sysconfigdata__linux_*.py file exists. The "|| true" is added to return +# an empty string if the file does not exist. +PKG_PYTHON_SYSCONFIGDATA_PATH = $(PYTHON3_PATH)/_sysconfigdata__linux_*.py +PKG_PYTHON_SYSCONFIGDATA_NAME = `{ [ -e $(PKG_PYTHON_SYSCONFIGDATA_PATH) ] && basename $(PKG_PYTHON_SYSCONFIGDATA_PATH) .py; } || true` + +# Target distutils-based packages +PKG_PYTHON_DISTUTILS_ENV = \ + PATH=$(BR_PATH) \ + $(TARGET_CONFIGURE_OPTS) \ + LDSHARED="$(TARGET_CROSS)gcc -shared" \ + PYTHONPATH="$(PYTHON3_PATH)" \ + PYTHONNOUSERSITE=1 \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ + _python_sysroot=$(STAGING_DIR) \ + _python_prefix=/usr \ + _python_exec_prefix=/usr + +PKG_PYTHON_DISTUTILS_BUILD_OPTS = \ + --executable=/usr/bin/python + +PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS = \ + --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --prefix=/usr \ + --root=$(TARGET_DIR) + +PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS = \ + --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --prefix=/usr \ + --root=$(STAGING_DIR) + +# Host distutils-based packages +HOST_PKG_PYTHON_DISTUTILS_ENV = \ + PATH=$(BR_PATH) \ + PYTHONNOUSERSITE=1 \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + $(HOST_CONFIGURE_OPTS) + +HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ + --prefix=$(HOST_DIR) + +# Target setuptools-based packages +PKG_PYTHON_SETUPTOOLS_ENV = \ + _PYTHON_HOST_PLATFORM="$(PKG_PYTHON_HOST_PLATFORM)" \ + _PYTHON_PROJECT_BASE="$(PYTHON3_DIR)" \ + _PYTHON_SYSCONFIGDATA_NAME="$(PKG_PYTHON_SYSCONFIGDATA_NAME)" \ + PATH=$(BR_PATH) \ + $(TARGET_CONFIGURE_OPTS) \ + PYTHONPATH="$(PYTHON3_PATH)" \ + PYTHONNOUSERSITE=1 \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + _python_sysroot=$(STAGING_DIR) \ + _python_prefix=/usr \ + _python_exec_prefix=/usr + +PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS = \ + --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --prefix=/usr \ + --executable=/usr/bin/python \ + --single-version-externally-managed \ + --root=$(TARGET_DIR) + +PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS = \ + --install-headers=/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --prefix=/usr \ + --executable=/usr/bin/python \ + --single-version-externally-managed \ + --root=$(STAGING_DIR) + +# Host setuptools-based packages +HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ + PATH=$(BR_PATH) \ + PYTHONNOUSERSITE=1 \ + SETUPTOOLS_USE_DISTUTILS=stdlib \ + $(HOST_CONFIGURE_OPTS) + +HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ + --prefix=$(HOST_DIR) \ + --root=/ \ + --single-version-externally-managed + +################################################################################ +# inner-python-package -- defines how the configuration, compilation +# and installation of a Python package should be done, implements a +# few hooks to tune the build process and calls the generic package +# infrastructure to generate the necessary make targets +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +################################################################################ + +define inner-python-package + +ifndef $(2)_SETUP_TYPE + ifdef $(3)_SETUP_TYPE + $(2)_SETUP_TYPE = $$($(3)_SETUP_TYPE) + else + $$(error "$(2)_SETUP_TYPE must be set") + endif +endif + +# Distutils +ifeq ($$($(2)_SETUP_TYPE),distutils) +ifeq ($(4),target) +$(2)_BASE_ENV = $$(PKG_PYTHON_DISTUTILS_ENV) +$(2)_BASE_BUILD_TGT = build +$(2)_BASE_BUILD_OPTS = $$(PKG_PYTHON_DISTUTILS_BUILD_OPTS) +$(2)_BASE_INSTALL_TARGET_OPTS = $$(PKG_PYTHON_DISTUTILS_INSTALL_TARGET_OPTS) +$(2)_BASE_INSTALL_STAGING_OPTS = $$(PKG_PYTHON_DISTUTILS_INSTALL_STAGING_OPTS) +else +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_DISTUTILS_ENV) +$(2)_BASE_BUILD_TGT = build +$(2)_BASE_INSTALL_OPTS = $$(HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS) +endif +# Setuptools +else ifeq ($$($(2)_SETUP_TYPE),setuptools) +ifeq ($(4),target) +$(2)_BASE_ENV = $$(PKG_PYTHON_SETUPTOOLS_ENV) +$(2)_BASE_BUILD_TGT = build +$(2)_BASE_INSTALL_TARGET_OPTS = $$(PKG_PYTHON_SETUPTOOLS_INSTALL_TARGET_OPTS) +$(2)_BASE_INSTALL_STAGING_OPTS = $$(PKG_PYTHON_SETUPTOOLS_INSTALL_STAGING_OPTS) +else +$(2)_BASE_ENV = $$(HOST_PKG_PYTHON_SETUPTOOLS_ENV) +$(2)_BASE_BUILD_TGT = build +$(2)_BASE_INSTALL_OPTS = $$(HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS) +endif +else +$$(error "Invalid $(2)_SETUP_TYPE. Valid options are 'distutils' or 'setuptools'") +endif + +# Target packages need both the python interpreter on the target (for +# runtime) and the python interpreter on the host (for +# compilation). However, host packages only need the python +# interpreter on the host. +# +ifeq ($(4),target) +$(2)_DEPENDENCIES += host-python3 python3 +else +$(2)_DEPENDENCIES += host-python3 +endif # ($(4),target) + +# Setuptools based packages will need setuptools for the host Python +# interpreter (both host and target). +# +ifeq ($$($(2)_SETUP_TYPE),setuptools) +$(2)_DEPENDENCIES += $$(if $$(filter host-python-setuptools,$(1)),,host-python-setuptools) +endif # SETUP_TYPE + +# Python interpreter to use for building the package. +# +$(2)_PYTHON_INTERPRETER = $$(HOST_DIR)/bin/python + +# +# Build step. Only define it if not already defined by the package .mk +# file. +# +ifndef $(2)_BUILD_CMDS +define $(2)_BUILD_CMDS + (cd $$($$(PKG)_BUILDDIR)/; \ + $$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \ + $$($(2)_PYTHON_INTERPRETER) setup.py \ + $$($$(PKG)_BASE_BUILD_TGT) \ + $$($$(PKG)_BASE_BUILD_OPTS) $$($$(PKG)_BUILD_OPTS)) +endef +endif + +# +# Host installation step. Only define it if not already defined by the +# package .mk file. +# +ifndef $(2)_INSTALL_CMDS +define $(2)_INSTALL_CMDS + (cd $$($$(PKG)_BUILDDIR)/; \ + $$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \ + $$($(2)_PYTHON_INTERPRETER) setup.py install \ + $$($$(PKG)_BASE_INSTALL_OPTS) $$($$(PKG)_INSTALL_OPTS)) +endef +endif + +# +# Target installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_TARGET_CMDS +define $(2)_INSTALL_TARGET_CMDS + (cd $$($$(PKG)_BUILDDIR)/; \ + $$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \ + $$($(2)_PYTHON_INTERPRETER) setup.py install --no-compile \ + $$($$(PKG)_BASE_INSTALL_TARGET_OPTS) \ + $$($$(PKG)_INSTALL_TARGET_OPTS)) +endef +endif + +# +# Staging installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_STAGING_CMDS +define $(2)_INSTALL_STAGING_CMDS + (cd $$($$(PKG)_BUILDDIR)/; \ + $$($$(PKG)_BASE_ENV) $$($$(PKG)_ENV) \ + $$($(2)_PYTHON_INTERPRETER) setup.py install \ + $$($$(PKG)_BASE_INSTALL_STAGING_OPTS) \ + $$($$(PKG)_INSTALL_STAGING_OPTS)) +endef +endif + +# Call the generic package infrastructure to generate the necessary +# make targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef + +################################################################################ +# python-package -- the target generator macro for Python packages +################################################################################ + +python-package = $(call inner-python-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) +host-python-package = $(call inner-python-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) diff --git a/buildroot-2022.02.1/package/pkg-qmake.mk b/buildroot-2022.02.1/package/pkg-qmake.mk new file mode 100644 index 00000000..fdaddf08 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-qmake.mk @@ -0,0 +1,121 @@ +################################################################################ +# QMake package infrastructure +# +# This file implements an infrastructure that eases development of package +# .mk files for QMake packages. It should be used for all packages that use +# Qmake as their build system. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# In terms of implementation, this QMake infrastructure requires the .mk file +# to only specify metadata information about the package: name, version, +# download URL, etc. +# +# We still allow the package .mk file to override what the different steps +# are doing, if needed. For example, if _BUILD_CMDS is already defined, +# it is used as the list of commands to perform to build the package, +# instead of the default QMake behaviour. The package can also define some +# post operation hooks. +# +################################################################################ + +# +# Hook to sync Qt headers +# +define QT_HEADERS_SYNC_HOOK + sed -e '/^MODULE_VERSION/s/5\.15\.[3456789]/$(QT5_VERSION)/' -i \ + $($(PKG)_BUILDDIR)/.qmake.conf + touch $($(PKG)_BUILDDIR)/.git +endef + +################################################################################ +# inner-qmake-package -- defines how the configuration, compilation and +# installation of a qmake package should be done, implements a few hooks +# to tune the build process for qmake specifities and calls the generic +# package infrastructure to generate the necessary make targets +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +################################################################################ + +define inner-qmake-package + +$(2)_INSTALL_STAGING_OPTS ?= install +$(2)_INSTALL_TARGET_OPTS ?= $$($(2)_INSTALL_STAGING_OPTS) + +ifneq ($(1),qt5base) +$(2)_DEPENDENCIES += qt5base +endif + +ifeq ($$($(2)_SYNC_QT_HEADERS),YES) +$(2)_DEPENDENCIES += host-perl +$(2)_PRE_CONFIGURE_HOOKS += QT_HEADERS_SYNC_HOOK +endif + +$(2)_POST_PREPARE_HOOKS += QT5_QT_CONF_FIXUP + +# +# Configure step. Only define it if not already defined by the package +# .mk file. +# +ifndef $(2)_CONFIGURE_CMDS +define $(2)_CONFIGURE_CMDS + cd $$($(2)_BUILDDIR) && \ + $$(TARGET_MAKE_ENV) $$($(2)_CONF_ENV) $$(QT5_QMAKE) $$($(2)_CONF_OPTS) +endef +endif + +# +# Build step. Only define it if not already defined by the package .mk +# file. +# +ifndef $(2)_BUILD_CMDS +define $(2)_BUILD_CMDS + $$(TARGET_MAKE_ENV) $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_BUILDDIR) $$($(2)_MAKE_OPTS) +endef +endif + +# +# Staging installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_STAGING_CMDS +define $(2)_INSTALL_STAGING_CMDS + $$(TARGET_MAKE_ENV) $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_BUILDDIR) $$($(2)_INSTALL_STAGING_OPTS) +endef +endif + +# +# Target installation step. Only define it if not already defined by +# the package .mk file. +# +# Unfortunately we can't use INSTALL_ROOT to directly install to TARGET_DIR +# because in a crosscompile setup, the qmake generated install destinations +# are prefixed with the hardcoded sysroot (=STAGING_DIR) and hostprefix +# (=HOST_DIR). +# Instead we set INSTALL_ROOT, which comes before the install path, to a +# temporary folder inside the build directory and effectively install to +# $(@D)/tmp-target-install/$(STAGING_DIR) and $(@D)/tmp-target-install/$(HOST_DIR). +# We subsequently rsync only the files from the temporary staging dir and that +# way exclude files for the build host from target. +# +ifndef $(2)_INSTALL_TARGET_CMDS +define $(2)_INSTALL_TARGET_CMDS + $$(TARGET_MAKE_ENV) $$($(2)_MAKE_ENV) $$(MAKE) -C $$($(2)_BUILDDIR) INSTALL_ROOT=$$($(2)_BUILDDIR)tmp-target-install $$($(2)_INSTALL_TARGET_OPTS) + rsync -arv $$($(2)_BUILDDIR)tmp-target-install$$(STAGING_DIR)/ $$(TARGET_DIR)/ +endef +endif + +# Call the generic package infrastructure to generate the necessary +# make targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef + +################################################################################ +# qmake-package -- the target generator macro for QMake packages +################################################################################ + +qmake-package = $(call inner-qmake-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) diff --git a/buildroot-2021.05/package/pkg-rebar.mk b/buildroot-2022.02.1/package/pkg-rebar.mk similarity index 100% rename from buildroot-2021.05/package/pkg-rebar.mk rename to buildroot-2022.02.1/package/pkg-rebar.mk diff --git a/buildroot-2022.02.1/package/pkg-utils.mk b/buildroot-2022.02.1/package/pkg-utils.mk new file mode 100644 index 00000000..7d1aea77 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-utils.mk @@ -0,0 +1,272 @@ +################################################################################ +# +# This file contains various utility functions used by the package +# infrastructure, or by the packages themselves. +# +################################################################################ + +# +# Manipulation of .config files based on the Kconfig +# infrastructure. Used by the BusyBox package, the Linux kernel +# package, and more. +# + +# KCONFIG_DOT_CONFIG ([file]) +# Returns the path to the .config file that should be used, which will +# be $(1) if provided, or the current package .config file otherwise. +KCONFIG_DOT_CONFIG = $(strip \ + $(if $(strip $(1)), $(1), \ + $($(PKG)_BUILDDIR)/$($(PKG)_KCONFIG_DOTCONFIG) \ + ) \ +) + +# KCONFIG_MUNGE_DOT_CONFIG (option, newline [, file]) +define KCONFIG_MUNGE_DOT_CONFIG + $(SED) "/\\<$(strip $(1))\\>/d" $(call KCONFIG_DOT_CONFIG,$(3)) + echo '$(strip $(2))' >> $(call KCONFIG_DOT_CONFIG,$(3)) +endef + +# KCONFIG_ENABLE_OPT (option [, file]) +KCONFIG_ENABLE_OPT = $(call KCONFIG_MUNGE_DOT_CONFIG, $(1), $(1)=y, $(2)) +# KCONFIG_SET_OPT (option, value [, file]) +KCONFIG_SET_OPT = $(call KCONFIG_MUNGE_DOT_CONFIG, $(1), $(1)=$(2), $(3)) +# KCONFIG_DISABLE_OPT (option [, file]) +KCONFIG_DISABLE_OPT = $(call KCONFIG_MUNGE_DOT_CONFIG, $(1), $(SHARP_SIGN) $(1) is not set, $(2)) + +# Helper functions to determine the name of a package and its +# directory from its makefile directory, using the $(MAKEFILE_LIST) +# variable provided by make. This is used by the *-package macros to +# automagically find where the package is located. +pkgdir = $(dir $(lastword $(MAKEFILE_LIST))) +pkgname = $(lastword $(subst /, ,$(pkgdir))) + +# Helper to build the extension for a package archive, based on various +# conditions. +# $(1): upper-case package name +pkg_source_ext = $(BR_FMT_VERSION_$($(1)_SITE_METHOD)).tar.gz + +# Define extractors for different archive suffixes +INFLATE.bz2 = $(BZCAT) +INFLATE.gz = $(ZCAT) +INFLATE.lz = $(LZCAT) +INFLATE.lzma = $(XZCAT) +INFLATE.tbz = $(BZCAT) +INFLATE.tbz2 = $(BZCAT) +INFLATE.tgz = $(ZCAT) +INFLATE.xz = $(XZCAT) +INFLATE.tar = cat +# suitable-extractor(filename): returns extractor based on suffix +suitable-extractor = $(INFLATE$(suffix $(1))) + +EXTRACTOR_PKG_DEPENDENCY.lzma = $(BR2_XZCAT_HOST_DEPENDENCY) +EXTRACTOR_PKG_DEPENDENCY.xz = $(BR2_XZCAT_HOST_DEPENDENCY) +EXTRACTOR_PKG_DEPENDENCY.lz = $(BR2_LZIP_HOST_DEPENDENCY) + +# extractor-pkg-dependency(filename): returns a Buildroot package +# dependency needed to extract file based on suffix +extractor-pkg-dependency = $(EXTRACTOR_PKG_DEPENDENCY$(suffix $(1))) + +# extractor-system-dependency(filename): returns the name of the tool +# needed to extract 'filename', and is meant to be used with +# DL_TOOLS_DEPENDENCIES, in order to check that the necesary tool is +# provided by the system Buildroot runs on. +# +# $(firstword) is used here because the extractor can have arguments, +# like ZCAT="gzip -d -c", and to check for the dependency we only want +# 'gzip'. +extractor-system-dependency = $(if $(EXTRACTOR_PKG_DEPENDENCY$(suffix $(1))),,\ + $(firstword $(INFLATE$(suffix $(1))))) + +# check-deprecated-variable -- throw an error on deprecated variables +# example: +# $(eval $(call check-deprecated-variable,FOO_MAKE_OPT,FOO_MAKE_OPTS)) +define check-deprecated-variable # (deprecated var, new var) +ifneq ($$(origin $(1)),undefined) +$$(error Package error: use $(2) instead of $(1). Please fix your .mk file) +endif +endef + +# $(1): YES or NO +define yesno-to-bool + $(subst NO,false,$(subst YES,true,$(1))) +endef + +# json-info -- return package or filesystem metadata formatted as an entry +# of a JSON dictionnary +# $(1): upper-case package or filesystem name +define json-info + "$($(1)_NAME)": { + "type": $(call mk-json-str,$($(1)_TYPE)), + $(if $(filter rootfs,$($(1)_TYPE)), \ + $(call _json-info-fs,$(1)), \ + $(call _json-info-pkg,$(1)), \ + ) + } +endef + +# _json-info-pkg, _json-info-pkg-details, _json-info-fs: private helpers +# for json-info, above +define _json-info-pkg + "name": $(call mk-json-str,$($(1)_RAWNAME)), + $(if $($(1)_IS_VIRTUAL), \ + "virtual": true$(comma), + "virtual": false$(comma) + $(call _json-info-pkg-details,$(1)) \ + ) + "stamp_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_DIR))), + "source_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_DIR))), + "build_dir": $(call mk-json-str,$(patsubst $(CONFIG_DIR)/%,%,$($(1)_BUILDDIR))), + $(if $(filter target,$($(1)_TYPE)), \ + "install_target": $(call yesno-to-bool,$($(1)_INSTALL_TARGET))$(comma) \ + "install_staging": $(call yesno-to-bool,$($(1)_INSTALL_STAGING))$(comma) \ + "install_images": $(call yesno-to-bool,$($(1)_INSTALL_IMAGES))$(comma) \ + ) + "dependencies": [ + $(call make-comma-list, \ + $(foreach dep,$(sort $($(1)_FINAL_ALL_DEPENDENCIES)), \ + $(call mk-json-str,$(dep)) \ + ) \ + ) + ], + "reverse_dependencies": [ + $(call make-comma-list, \ + $(foreach dep,$(sort $($(1)_RDEPENDENCIES)), \ + $(call mk-json-str,$(dep)) \ + ) \ + ) + ] + $(if $($(1)_CPE_ID_VALID), \ + $(comma) "cpe-id": $(call mk-json-str,$($(1)_CPE_ID)) \ + ) + $(if $($(1)_IGNORE_CVES), + $(comma) "ignore_cves": [ + $(call make-comma-list, \ + $(foreach cve,$(sort $($(1)_IGNORE_CVES)), \ + $(call mk-json-str,$(cve)) \ + ) \ + ) + ] + ) +endef + +define _json-info-pkg-details + "version": $(call mk-json-str,$($(1)_DL_VERSION)), + "licenses": $(call mk-json-str,$($(1)_LICENSE)), + "dl_dir": $(call mk-json-str,$($(1)_DL_SUBDIR)), + "downloads": [ + $(foreach dl,$(sort $($(1)_ALL_DOWNLOADS)), + { + "source": $(call mk-json-str,$(notdir $(dl))), + "uris": [ + $(call make-comma-list, \ + $(foreach uri,$(call DOWNLOAD_URIS,$(dl),$(1)), \ + $(call mk-json-str,$(subst \|,|,$(uri))) \ + ) \ + ) + ] + }, + ) + ], +endef + +define _json-info-fs + "image_name": $(if $($(1)_FINAL_IMAGE_NAME), \ + $(call mk-json-str,$($(1)_FINAL_IMAGE_NAME)), \ + null \ + ), + "dependencies": [ + $(call make-comma-list, \ + $(foreach dep,$(sort $($(1)_DEPENDENCIES)), \ + $(call mk-json-str,$(dep)) \ + ) \ + ) + ] +endef + +# clean-json -- cleanup pseudo-json into clean json: +# - remove commas before closing ] and } +# - minify with $(strip) +clean-json = $(strip \ + $(subst $(comma)},}, $(subst $(comma)$(space)},$(space)}, \ + $(subst $(comma)],], $(subst $(comma)$(space)],$(space)], \ + $(strip $(1)) \ + )))) \ +) + +# mk-json-str -- escape and double-quote a string to make it a valid json string +# - escape \ +# - escape " +# - escape \n +# - escape \t +# - escape ESC +# - escape SPACE (so that we can $(strip) a JSON blurb without squashing multiple spaces) +# This unfortunately has to be on a single line... +mk-json-str = "$(subst $(space),\u0020,$(subst $(escape),\u001b,$(subst $(tab),\t,$(subst $(sep),\n,$(subst ",\",$(subst \,\\,$(1)))))))" +# )))))" # Syntax colouring + +ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) +# rsync the contents of per-package directories +# $1: space-separated list of packages to rsync from +# $2: 'host' or 'target' +# $3: destination directory +define per-package-rsync + mkdir -p $(3) + $(foreach pkg,$(1),\ + rsync -a --link-dest=$(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ + $(PER_PACKAGE_DIR)/$(pkg)/$(2)/ \ + $(3)$(sep)) +endef + +# prepares the per-package HOST_DIR and TARGET_DIR of the current +# package, by rsync the host and target directories of the +# dependencies of this package. The list of dependencies is passed as +# argument, so that this function can be used to prepare with +# different set of dependencies (download, extract, configure, etc.) +# +# $1: space-separated list of packages to rsync from +define prepare-per-package-directory + $(call per-package-rsync,$(1),host,$(HOST_DIR)) + $(call per-package-rsync,$(1),target,$(TARGET_DIR)) +endef +endif + +# +# legal-info helper functions +# +LEGAL_INFO_SEPARATOR = "::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::" + +define legal-warning # text + echo "WARNING: $(1)" >>$(LEGAL_WARNINGS) +endef + +define legal-warning-pkg # pkg, text + echo "WARNING: $(1): $(2)" >>$(LEGAL_WARNINGS) +endef + +define legal-warning-nosource # pkg, {local|override} + $(call legal-warning-pkg,$(1),sources not saved ($(2) packages not handled)) +endef + +define legal-manifest # {HOST|TARGET}, pkg, version, license, license-files, source, url, dependencies + echo '"$(2)","$(3)","$(4)","$(5)","$(6)","$(7)","$(8)"' >>$(LEGAL_MANIFEST_CSV_$(1)) +endef + +define legal-license-file # pkgname, pkgname-pkgver, pkg-hashfile, filename, file-fullpath, {HOST|TARGET} + mkdir -p $(LICENSE_FILES_DIR_$(6))/$(2)/$(dir $(4)) && \ + { \ + support/download/check-hash $(3) $(5) $(4); \ + case $${?} in (0|3) ;; (*) exit 1;; esac; \ + } && \ + cp $(5) $(LICENSE_FILES_DIR_$(6))/$(2)/$(4) +endef + +non-virtual-deps = $(foreach p,$(1),$(if $($(call UPPERCASE,$(p))_IS_VIRTUAL),,$(p))) + +# Returns the list of recursive dependencies and their licensing terms +# for the package specified in parameter (in lowercase). If that +# package is a target package, remove host packages from the list. +legal-deps = \ + $(foreach p,\ + $(filter-out $(if $(1:host-%=),host-%),\ + $(call non-virtual-deps,\ + $($(call UPPERCASE,$(1))_FINAL_RECURSIVE_DEPENDENCIES))),$(p) [$($(call UPPERCASE,$(p))_LICENSE)]) diff --git a/buildroot-2021.05/package/pkg-virtual.mk b/buildroot-2022.02.1/package/pkg-virtual.mk similarity index 100% rename from buildroot-2021.05/package/pkg-virtual.mk rename to buildroot-2022.02.1/package/pkg-virtual.mk diff --git a/buildroot-2022.02.1/package/pkg-waf.mk b/buildroot-2022.02.1/package/pkg-waf.mk new file mode 100644 index 00000000..d546b4a8 --- /dev/null +++ b/buildroot-2022.02.1/package/pkg-waf.mk @@ -0,0 +1,122 @@ +################################################################################ +# WAF package infrastructure +# +# This file implements an infrastructure that eases development of package +# .mk files for WAF packages. It should be used for all packages that use +# WAF as their build system. +# +# See the Buildroot documentation for details on the usage of this +# infrastructure +# +# In terms of implementation, this WAF infrastructure requires the .mk file +# to only specify metadata information about the package: name, version, +# download URL, etc. +# +# We still allow the package .mk file to override what the different steps +# are doing, if needed. For example, if _BUILD_CMDS is already defined, +# it is used as the list of commands to perform to build the package, +# instead of the default WAF behaviour. The package can also define some +# post operation hooks. +# +################################################################################ + +WAF_OPTS = $(if $(VERBOSE),-v) -j $(PARALLEL_JOBS) + +################################################################################ +# inner-waf-package -- defines how the configuration, compilation and +# installation of a waf package should be done, implements a few hooks +# to tune the build process for waf specifities and calls the generic +# package infrastructure to generate the necessary make targets +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +################################################################################ + +define inner-waf-package + +# We need host-python3 to run waf +$(2)_DEPENDENCIES += host-python3 + +$(2)_NEEDS_EXTERNAL_WAF ?= NO + +# If the package does not have its own waf, use our own. +ifeq ($$($(2)_NEEDS_EXTERNAL_WAF),YES) +$(2)_DEPENDENCIES += host-waf +$(2)_WAF = $$(HOST_DIR)/bin/waf +else +$(2)_WAF ?= ./waf +endif + +# +# Configure step. Only define it if not already defined by the package +# .mk file. +# +ifndef $(2)_CONFIGURE_CMDS +define $(2)_CONFIGURE_CMDS + cd $$($$(PKG)_SRCDIR) && \ + $$(TARGET_CONFIGURE_OPTS) \ + $$($(2)_CONF_ENV) \ + $$(HOST_DIR)/bin/python3 $$($(2)_WAF) configure \ + --prefix=/usr \ + --libdir=/usr/lib \ + $$($(2)_CONF_OPTS) \ + $$($(2)_WAF_OPTS) +endef +endif + +# +# Build step. Only define it if not already defined by the package .mk +# file. +# +ifndef $(2)_BUILD_CMDS +define $(2)_BUILD_CMDS + cd $$($$(PKG)_SRCDIR) && \ + $$(TARGET_MAKE_ENV) $$(HOST_DIR)/bin/python3 $$($(2)_WAF) \ + build $$(WAF_OPTS) $$($(2)_BUILD_OPTS) \ + $$($(2)_WAF_OPTS) +endef +endif + +# +# Staging installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_STAGING_CMDS +define $(2)_INSTALL_STAGING_CMDS + cd $$($$(PKG)_SRCDIR) && \ + $$(TARGET_MAKE_ENV) $$(HOST_DIR)/bin/python3 $$($(2)_WAF) \ + install --destdir=$$(STAGING_DIR) \ + $$($(2)_INSTALL_STAGING_OPTS) \ + $$($(2)_WAF_OPTS) +endef +endif + +# +# Target installation step. Only define it if not already defined by +# the package .mk file. +# +ifndef $(2)_INSTALL_TARGET_CMDS +define $(2)_INSTALL_TARGET_CMDS + cd $$($$(PKG)_SRCDIR) && \ + $$(TARGET_MAKE_ENV) $$(HOST_DIR)/bin/python3 $$($(2)_WAF) \ + install --destdir=$$(TARGET_DIR) \ + $$($(2)_INSTALL_TARGET_OPTS) \ + $$($(2)_WAF_OPTS) +endef +endif + +# Call the generic package infrastructure to generate the necessary +# make targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef + +################################################################################ +# waf-package -- the target generator macro for WAF packages +################################################################################ + +waf-package = $(call inner-waf-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) diff --git a/buildroot-2021.05/package/pkgconf/0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch b/buildroot-2022.02.1/package/pkgconf/0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch similarity index 100% rename from buildroot-2021.05/package/pkgconf/0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch rename to buildroot-2022.02.1/package/pkgconf/0001-Only-prefix-with-the-sysroot-a-subset-of-variables.patch diff --git a/buildroot-2021.05/package/pkgconf/0002-Revert-main-assume-modversion-insted-of-version-if-o.patch b/buildroot-2022.02.1/package/pkgconf/0002-Revert-main-assume-modversion-insted-of-version-if-o.patch similarity index 100% rename from buildroot-2021.05/package/pkgconf/0002-Revert-main-assume-modversion-insted-of-version-if-o.patch rename to buildroot-2022.02.1/package/pkgconf/0002-Revert-main-assume-modversion-insted-of-version-if-o.patch diff --git a/buildroot-2021.05/package/pkgconf/Config.in b/buildroot-2022.02.1/package/pkgconf/Config.in similarity index 100% rename from buildroot-2021.05/package/pkgconf/Config.in rename to buildroot-2022.02.1/package/pkgconf/Config.in diff --git a/buildroot-2021.05/package/pkgconf/Config.in.host b/buildroot-2022.02.1/package/pkgconf/Config.in.host similarity index 100% rename from buildroot-2021.05/package/pkgconf/Config.in.host rename to buildroot-2022.02.1/package/pkgconf/Config.in.host diff --git a/buildroot-2021.05/package/pkgconf/pkg-config.in b/buildroot-2022.02.1/package/pkgconf/pkg-config.in similarity index 100% rename from buildroot-2021.05/package/pkgconf/pkg-config.in rename to buildroot-2022.02.1/package/pkgconf/pkg-config.in diff --git a/buildroot-2021.05/package/pkgconf/pkgconf.hash b/buildroot-2022.02.1/package/pkgconf/pkgconf.hash similarity index 100% rename from buildroot-2021.05/package/pkgconf/pkgconf.hash rename to buildroot-2022.02.1/package/pkgconf/pkgconf.hash diff --git a/buildroot-2021.05/package/pkgconf/pkgconf.mk b/buildroot-2022.02.1/package/pkgconf/pkgconf.mk similarity index 100% rename from buildroot-2021.05/package/pkgconf/pkgconf.mk rename to buildroot-2022.02.1/package/pkgconf/pkgconf.mk diff --git a/buildroot-2021.05/package/ply/Config.in b/buildroot-2022.02.1/package/ply/Config.in similarity index 100% rename from buildroot-2021.05/package/ply/Config.in rename to buildroot-2022.02.1/package/ply/Config.in diff --git a/buildroot-2022.02.1/package/ply/ply.hash b/buildroot-2022.02.1/package/ply/ply.hash new file mode 100644 index 00000000..df01ae08 --- /dev/null +++ b/buildroot-2022.02.1/package/ply/ply.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 8cd92fc8784873fb0507bc11f3f62a31d0345c64914ddaadb958d8b2d6de0100 ply-2.2.0.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/ply/ply.mk b/buildroot-2022.02.1/package/ply/ply.mk new file mode 100644 index 00000000..b3c56bd9 --- /dev/null +++ b/buildroot-2022.02.1/package/ply/ply.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# ply +# +################################################################################ + +PLY_VERSION = 2.2.0 +PLY_SITE = $(call github,wkz,ply,$(PLY_VERSION)) +PLY_AUTORECONF = YES +PLY_LICENSE = GPL-2.0 +PLY_LICENSE_FILES = COPYING +PLY_INSTALL_STAGING = YES +PLY_DEPENDENCIES = host-flex host-bison + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pngquant/Config.in b/buildroot-2022.02.1/package/pngquant/Config.in similarity index 100% rename from buildroot-2021.05/package/pngquant/Config.in rename to buildroot-2022.02.1/package/pngquant/Config.in diff --git a/buildroot-2022.02.1/package/pngquant/pngquant.hash b/buildroot-2022.02.1/package/pngquant/pngquant.hash new file mode 100644 index 00000000..a7ea4aa9 --- /dev/null +++ b/buildroot-2022.02.1/package/pngquant/pngquant.hash @@ -0,0 +1,4 @@ +# From https://pngquant.org/releases.html +sha256 a27cf0e64db499ccb3ddae9b36036e881f78293e46ec27a9e7a86a3802fcda66 pngquant-2.17.0-src.tar.gz +# Locally computed +sha256 e4f467f7abf860b4e620f5f60fdd88bc3a63a0fdb98a481fb002b5e511c9b826 COPYRIGHT diff --git a/buildroot-2022.02.1/package/pngquant/pngquant.mk b/buildroot-2022.02.1/package/pngquant/pngquant.mk new file mode 100644 index 00000000..87537aa1 --- /dev/null +++ b/buildroot-2022.02.1/package/pngquant/pngquant.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# pngquant +# +################################################################################ + +PNGQUANT_VERSION = 2.17.0 +PNGQUANT_SOURCE = pngquant-$(PNGQUANT_VERSION)-src.tar.gz +PNGQUANT_SITE = https://pngquant.org +PNGQUANT_LICENSE = GPL-3.0+ +PNGQUANT_LICENSE_FILES = COPYRIGHT +PNGQUANT_CPE_ID_VENDOR = pngquant +HOST_PNGQUANT_DEPENDENCIES = host-libpng +PNGQUANT_DEPENDENCIES = libpng + +ifeq ($(BR2_PACKAGE_LCMS2),y) +PNGQUANT_DEPENDENCIES += lcms2 +endif + +define PNGQUANT_CONFIGURE_CMDS + (cd $(@D) && \ + $(TARGET_CONFIGURE_OPTS) \ + ./configure --prefix=/usr \ + $(if $(BR2_PACKAGE_LCMS2),--with-lcms2,--without-lcms2) \ + $(if $(BR2_X86_CPU_HAS_SSE),--enable-sse,--disable-sse) \ + $(TARGET_CONFIGURE_OPTS) \ + ) +endef + +define PNGQUANT_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define PNGQUANT_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install +endef + +define HOST_PNGQUANT_CONFIGURE_CMDS + (cd $(@D) && \ + $(HOST_CONFIGURE_OPTS) \ + CC=$(HOSTCC_NOCCACHE) \ + ./configure --prefix=$(HOST_DIR) \ + --without-lcms2 \ + ) +endef + +define HOST_PNGQUANT_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_PNGQUANT_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/poco/0001-poco-add-the-staging-path-to-search-path.patch b/buildroot-2022.02.1/package/poco/0001-poco-add-the-staging-path-to-search-path.patch similarity index 100% rename from buildroot-2021.05/package/poco/0001-poco-add-the-staging-path-to-search-path.patch rename to buildroot-2022.02.1/package/poco/0001-poco-add-the-staging-path-to-search-path.patch diff --git a/buildroot-2021.05/package/poco/0002-Add-support-for-m68000-1856.patch b/buildroot-2022.02.1/package/poco/0002-Add-support-for-m68000-1856.patch similarity index 100% rename from buildroot-2021.05/package/poco/0002-Add-support-for-m68000-1856.patch rename to buildroot-2022.02.1/package/poco/0002-Add-support-for-m68000-1856.patch diff --git a/buildroot-2021.05/package/poco/0003-Foundation-src-utils.h-backport-double-conversion-ch.patch b/buildroot-2022.02.1/package/poco/0003-Foundation-src-utils.h-backport-double-conversion-ch.patch similarity index 100% rename from buildroot-2021.05/package/poco/0003-Foundation-src-utils.h-backport-double-conversion-ch.patch rename to buildroot-2022.02.1/package/poco/0003-Foundation-src-utils.h-backport-double-conversion-ch.patch diff --git a/buildroot-2022.02.1/package/poco/Config.in b/buildroot-2022.02.1/package/poco/Config.in new file mode 100644 index 00000000..dd87ee36 --- /dev/null +++ b/buildroot-2022.02.1/package/poco/Config.in @@ -0,0 +1,105 @@ +config BR2_PACKAGE_POCO_ARCH_SUPPORTS + bool + default y + depends on !BR2_arc + depends on !BR2_microblaze + depends on !BR2_mipsel + depends on !BR2_or1k + depends on !BR2_RISCV_32 + depends on !BR2_xtensa + +config BR2_PACKAGE_POCO + bool "poco" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 + # pthread_condattr_setclock + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on !BR2_STATIC_LIBS # dlopen() + depends on BR2_PACKAGE_POCO_ARCH_SUPPORTS + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_PCRE + help + The C++ Portable Components Libraries + + http://pocoproject.org + +if BR2_PACKAGE_POCO + +comment "poco components" + +config BR2_PACKAGE_POCO_JSON + bool "json" + +config BR2_PACKAGE_POCO_XML + bool "xml" + select BR2_PACKAGE_EXPAT + +config BR2_PACKAGE_POCO_UTIL + bool "util" + select BR2_PACKAGE_POCO_XML + +config BR2_PACKAGE_POCO_NET + bool "net" + +config BR2_PACKAGE_POCO_CRYPTO + bool "crypto" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + +config BR2_PACKAGE_POCO_NETSSL_OPENSSL + bool "netssl_openssl" + select BR2_PACKAGE_POCO_NET + select BR2_PACKAGE_POCO_CRYPTO + select BR2_PACKAGE_POCO_UTIL + select BR2_PACKAGE_OPENSSL + +config BR2_PACKAGE_POCO_ZIP + bool "zip" + select BR2_PACKAGE_POCO_XML + select BR2_PACKAGE_POCO_NET + select BR2_PACKAGE_POCO_UTIL + +config BR2_PACKAGE_POCO_CPP_PARSER + bool "cpp_parser" + +config BR2_PACKAGE_POCO_PDF + bool "pdf" + select BR2_PACKAGE_POCO_JSON + select BR2_PACKAGE_POCO_UTIL + select BR2_PACKAGE_POCO_XML + +config BR2_PACKAGE_POCO_REDIS + bool "redis" + select BR2_PACKAGE_POCO_NET + +config BR2_PACKAGE_POCO_MONGODB + bool "mongodb" + select BR2_PACKAGE_POCO_NET + +config BR2_PACKAGE_POCO_DATA + bool + +config BR2_PACKAGE_POCO_DATA_SQLITE + bool "sqlite" + select BR2_PACKAGE_POCO_DATA + select BR2_PACKAGE_SQLITE + +config BR2_PACKAGE_POCO_DATA_MYSQL + bool "mysql" + depends on BR2_USE_MMU # mysql + select BR2_PACKAGE_POCO_DATA + select BR2_PACKAGE_MYSQL + +config BR2_PACKAGE_POCO_JWT + bool "jwt" + select BR2_PACKAGE_POCO_JSON + select BR2_PACKAGE_POCO_CRYPTO + +endif # BR2_PACKAGE_POCO + +comment "poco needs a toolchain w/ wchar, NPTL, C++, dynamic library, gcc >= 5 w/ C++14" + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_PACKAGE_POCO_ARCH_SUPPORTS diff --git a/buildroot-2021.05/package/poco/poco.hash b/buildroot-2022.02.1/package/poco/poco.hash similarity index 100% rename from buildroot-2021.05/package/poco/poco.hash rename to buildroot-2022.02.1/package/poco/poco.hash diff --git a/buildroot-2021.05/package/poco/poco.mk b/buildroot-2022.02.1/package/poco/poco.mk similarity index 100% rename from buildroot-2021.05/package/poco/poco.mk rename to buildroot-2022.02.1/package/poco/poco.mk diff --git a/buildroot-2022.02.1/package/poke/0001-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch b/buildroot-2022.02.1/package/poke/0001-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch new file mode 100644 index 00000000..c1695161 --- /dev/null +++ b/buildroot-2022.02.1/package/poke/0001-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch @@ -0,0 +1,34 @@ +From b35dadae6371c3727cac46ae5bd348b66aa411fc Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 30 Apr 2021 15:43:59 +0200 +Subject: [PATCH] configure.ac: HELP2MAN replace ':' by 'true' when + cross-compiling + +Avoid: +/usr/bin/make ./../poke/poke +../run \ + : -p poke --name="The GNU extensible binary editor" \ + ./../poke/poke -o ./poke.1 +../run: line 51: exec: :: not found + +Signed-off-by: Romain Naour +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 2c6f1aef..9c4c9be2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -74,7 +74,7 @@ gl_LIBTEXTSTYLE_OPTIONAL([0.20.5]) + if test $cross_compiling = no; then + AM_MISSING_PROG(HELP2MAN, help2man) + else +- HELP2MAN=: ++ HELP2MAN=true + fi + + dnl recfix is part of the GNU recutils suite, and is used in cfg.mk to +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/poke/0002-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/buildroot-2022.02.1/package/poke/0002-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch new file mode 100644 index 00000000..757dc3f7 --- /dev/null +++ b/buildroot-2022.02.1/package/poke/0002-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch @@ -0,0 +1,72 @@ +From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 1 Apr 2021 07:49:46 +0200 +Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 + +Fix the following build failure with uclibc < 1.0.35 which is raised +since the addition of getrandom module in +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: + +In file included from ./sys/random.h:40, + from getrandom.c:22: +/tmp/instance-0/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' + 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) + | ^~~~~~ +/tmp/instance-0/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? + 7 | #include + +++ |+#include + 8 | + +This patch is not upstreamable as it is only a workaround for +uclibc < 1.0.35, upstream uclibc has been patched with +https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 + +Fixes: + - http://autobuild.buildroot.org/results/30105094e39374ec6d4e47e2fb5e99696f7f7981 + +Signed-off-by: Fabrice Fontaine +--- + jitter/gnulib-local/getrandom.c | 1 + + gl/getrandom.c | 1 + + gl-libpoke/getrandom.c | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/jitter/gnulib-local/getrandom.c b/jitter/gnulib-local/getrandom.c +index 41212fb32..0ad3f9648 100644 +--- a/jitter/gnulib-local/getrandom.c ++++ b/jitter/gnulib-local/getrandom.c +@@ -19,6 +19,7 @@ + + #include + ++#include + #include + + #include +diff --git a/gl/getrandom.c b/gl/getrandom.c +index 41212fb32..0ad3f9648 100644 +--- a/gl/getrandom.c ++++ b/gl/getrandom.c +@@ -19,6 +19,7 @@ + + #include + ++#include + #include + + #include +diff --git a/gl-libpoke/getrandom.c b/gl-libpoke/getrandom.c +index 41212fb32..0ad3f9648 100644 +--- a/gl-libpoke/getrandom.c ++++ b/gl-libpoke/getrandom.c +@@ -19,6 +19,7 @@ + + #include + ++#include + #include + + #include +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/poke/Config.in b/buildroot-2022.02.1/package/poke/Config.in new file mode 100644 index 00000000..40e7a31b --- /dev/null +++ b/buildroot-2022.02.1/package/poke/Config.in @@ -0,0 +1,28 @@ +config BR2_PACKAGE_POKE + bool "poke" + depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS # bdwgc + depends on BR2_USE_WCHAR # needs wctomb + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # less + select BR2_PACKAGE_BDWGC + select BR2_PACKAGE_LESS # runtime + select BR2_PACKAGE_READLINE + help + GNU poke is a new interactive editor for binary data. Not + limited to editing basic entities such as bits and bytes, + it provides a full-fledged procedural, interactive + programming language designed to describe data structures + and to operate on them. Once a user has defined a structure + for binary data (usually matching some file format) she can + search, inspect, create, shuffle and modify abstract entities + such as ELF relocations, MP3 tags, DWARF expressions, + partition table entries, and so on, with primitives + resembling simple editing of bits and bytes. The program + comes with a library of already written descriptions (or + "pickles" in poke parlance) for many binary formats. + + https://www.gnu.org/software/poke/ + +comment "poke needs a toolchain w/ NPTL, wchar" + depends on BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/poke/poke.hash b/buildroot-2022.02.1/package/poke/poke.hash new file mode 100644 index 00000000..1367262f --- /dev/null +++ b/buildroot-2022.02.1/package/poke/poke.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 ce054df29560c921230132703ee449fe130b6e25ab03aa6cc796bb401506aa24 poke-1.4.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 jitter/COPYING diff --git a/buildroot-2022.02.1/package/poke/poke.mk b/buildroot-2022.02.1/package/poke/poke.mk new file mode 100644 index 00000000..ddd03ae3 --- /dev/null +++ b/buildroot-2022.02.1/package/poke/poke.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# poke +# +################################################################################ + +POKE_VERSION = 1.4 +POKE_SITE = $(BR2_GNU_MIRROR)/poke +# gnulib license is a mix/mess of public-domain and various GPL and LGPL versions. +POKE_LICENSE = GPL-3.0+, GPL-3.0+ (jitter), gnulib license (gnulib) +POKE_LICENSE_FILES = COPYING jitter/COPYING + +# 0001-configure.ac-HELP2MAN-replace-by-false-when-cross-co.patch +POKE_AUTORECONF = YES + +POKE_INSTALL_STAGING = YES +POKE_DEPENDENCIES = host-flex host-bison host-pkgconf bdwgc readline + +# poke bundle gnulib that doesn't support the case where +# host_os='linux-uclibc'. When cross-compiling, the guessed +# answers are mostly wrong and gnulib will try to replace +# snprintf with rpl_snprintf. This lead to "undefined reference +# to `rpl_snprintf'" errors. +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +POKE_CONF_ENV = gl_cv_func_printf_positions=yes \ + gl_cv_func_snprintf_retval_c99=yes \ + gl_cv_func_printf_sizes_c99=yes \ + gl_cv_func_printf_infinite_long_double=yes \ + gl_cv_func_snprintf_retval_c99=yes \ + gl_cv_func_snprintf_truncation_c99=yes \ + gl_cv_func_snprintf_usable=yes \ + gl_cv_func_strerror_0_works=yes \ + gl_cv_header_working_stdint_h=yes \ + gl_cv_func_printf_infinite=yes \ + gl_cv_func_printf_flag_zero=yes \ + gl_cv_func_printf_enomem=yes \ + gl_cv_func_printf_directive_f=yes \ + gl_cv_func_printf_directive_a=yes \ + gl_cv_func_snprintf_directive_n=yes \ + gl_cv_func_vsnprintf_posix=yes \ + gl_cv_func_vsnprintf_zerosize_c99=yes +endif + +POKE_CONF_OPTS = \ + --disable-gui \ + --disable-libnbd \ + --with-libreadline-prefix=$(STAGING_DIR) + +ifeq ($(BR2_PACKAGE_JSON_C),y) +POKE_DEPENDENCIES += json-c +POKE_CONF_OPTS += --enable-mi +else +POKE_CONF_OPTS += --disable-mi +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch b/buildroot-2022.02.1/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch new file mode 100644 index 00000000..aa75ca63 --- /dev/null +++ b/buildroot-2022.02.1/package/policycoreutils/0001-Add-DESTDIR-to-all-paths-that-use-an-absolute-path.patch @@ -0,0 +1,38 @@ +From 85763549c53b2907dab094163f1404b2233f8029 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 9 Oct 2017 16:51:20 -0400 +Subject: [PATCH] Add DESTDIR to setfiles + +The addition of this patch makes the use of DESTDIR +mandatory as there are conditional checks which would fail if it's not +defined. + +This patch was updated from the patch provided by Niranjan Reddy to +accomodate version 2.5 + +Signed-off-by: Clayton Shotwell +Signed-off-by: Niranjan Reddy +Signed-off-by: Fabrice Fontaine +[Update for 2.8] +Signed-off-by: Adam Duskett +[Update for 3.2] +--- + setfiles/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setfiles/Makefile b/setfiles/Makefile +index a3bbbe1..df675cf 100644 +--- a/setfiles/Makefile ++++ b/setfiles/Makefile +@@ -3,7 +3,7 @@ LINGUAS ?= ru + PREFIX ?= /usr + SBINDIR ?= /sbin + MANDIR = $(PREFIX)/share/man +-AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) ++AUDITH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/libaudit.h && echo y) + + CFLAGS ?= -g -Werror -Wall -W + override LDLIBS += -lselinux -lsepol +-- +2.13.6 + diff --git a/buildroot-2022.02.1/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch b/buildroot-2022.02.1/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch new file mode 100644 index 00000000..2daed57c --- /dev/null +++ b/buildroot-2022.02.1/package/policycoreutils/0002-Add-PREFIX-to-host-paths.patch @@ -0,0 +1,54 @@ +From a221304344b3f9db7e86d928cf97d77542bcf456 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Mon, 9 Oct 2017 16:47:19 -0400 +Subject: [PATCH] Add PREFIX to host paths + +Updates the remaining hardcoded host paths used in the build to be +prefixed with a PREFIX path to allow cross compilation. + +Updated to work with version 3.2 + +Signed-off-by: Clayton Shotwell +Signed-off-by: Niranjan Reddy +Signed-off-by: Fabrice Fontaine +[Update for 2.8] +Signed-off-by: Adam Duskett +[Update for 3.2] +--- + newrole/Makefile | 4 ++-- + run_init/Makefile | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/newrole/Makefile b/newrole/Makefile +index 0e7ebce..3188cec 100644 +--- a/newrole/Makefile ++++ b/newrole/Makefile +@@ -4,8 +4,8 @@ PREFIX ?= /usr + BINDIR ?= $(PREFIX)/bin + MANDIR ?= $(PREFIX)/share/man + ETCDIR ?= /etc +-LOCALEDIR = $(DESTDIR)$(PREFIX)/share/locale +-INCLUDEDIR ?= $(PREFIX)/include ++LOCALEDIR = $(DESTDIR)$(PREFIX) ++INCLUDEDIR ?= $(LOCALEDIR)/include + PAMH ?= $(shell test -f $(INCLUDEDIR)/security/pam_appl.h && echo y) + AUDITH ?= $(shell test -f $(INCLUDEDIR)/libaudit.h && echo y) + # Enable capabilities to permit newrole to generate audit records. +diff --git a/run_init/Makefile b/run_init/Makefile +index e86364a..20a64d4 100644 +--- a/run_init/Makefile ++++ b/run_init/Makefile +@@ -6,8 +6,8 @@ SBINDIR ?= $(PREFIX)/sbin + MANDIR ?= $(PREFIX)/share/man + ETCDIR ?= /etc + LOCALEDIR ?= $(DESTDIR)$(PREFIX)/share/locale +-PAMH ?= $(shell test -f /usr/include/security/pam_appl.h && echo y) +-AUDITH ?= $(shell test -f /usr/include/libaudit.h && echo y) ++PAMH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/security/pam_appl.h && echo y) ++AUDITH ?= $(shell test -f $(DESTDIR)$(PREFIX)/include/libaudit.h && echo y) + + CFLAGS ?= -Werror -Wall -W + override CFLAGS += -DUSE_NLS -DLOCALEDIR="\"$(LOCALEDIR)\"" -DPACKAGE="\"policycoreutils\"" +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/policycoreutils/Config.in b/buildroot-2022.02.1/package/policycoreutils/Config.in new file mode 100644 index 00000000..3201c8fe --- /dev/null +++ b/buildroot-2022.02.1/package/policycoreutils/Config.in @@ -0,0 +1,36 @@ +comment "policycoreutils needs a toolchain w/ threads, dynamic library, gcc >= 5" + depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +config BR2_PACKAGE_POLICYCOREUTILS + bool "policycoreutils" + depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS # libsemanage + depends on BR2_TOOLCHAIN_HAS_THREADS # libsemanage + depends on !BR2_STATIC_LIBS # libsemanage + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsemanage -> libselinux -> libsepol + select BR2_PACKAGE_LIBSEMANAGE + select BR2_PACKAGE_LIBCAP_NG + help + Policycoreutils is a collection of policy utilities + (originally the "core" set of utilities needed to use + SELinux, although it has grown a bit over time), which have + different dependencies. sestatus, secon, run_init, and + newrole only use libselinux. load_policy and setfiles only + use libselinux and libsepol. semodule and semanage use + libsemanage (and thus bring in dependencies on libsepol and + libselinux as well). setsebool uses libselinux to make + non-persistent boolean changes (via the kernel interface) + and uses libsemanage to make persistent boolean changes. + + The base package will install the following utilities: + load_policy + newrole + run_init + secon + semodule + sestatus + setfiles + setsebool + + http://selinuxproject.org/page/Main_Page diff --git a/buildroot-2022.02.1/package/policycoreutils/policycoreutils.hash b/buildroot-2022.02.1/package/policycoreutils/policycoreutils.hash new file mode 100644 index 00000000..7d086363 --- /dev/null +++ b/buildroot-2022.02.1/package/policycoreutils/policycoreutils.hash @@ -0,0 +1,3 @@ +# https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 d1331c6fa766c547b071c491de90b9f343c8dbffdb119be8a5a7e491199b93a9 policycoreutils-3.2.tar.gz +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2022.02.1/package/policycoreutils/policycoreutils.mk b/buildroot-2022.02.1/package/policycoreutils/policycoreutils.mk new file mode 100644 index 00000000..60575ac6 --- /dev/null +++ b/buildroot-2022.02.1/package/policycoreutils/policycoreutils.mk @@ -0,0 +1,97 @@ +################################################################################ +# +# policycoreutils +# +################################################################################ + +POLICYCOREUTILS_VERSION = 3.2 +POLICYCOREUTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(POLICYCOREUTILS_VERSION) +POLICYCOREUTILS_LICENSE = GPL-2.0 +POLICYCOREUTILS_LICENSE_FILES = COPYING +POLICYCOREUTILS_CPE_ID_VENDOR = selinuxproject + +POLICYCOREUTILS_DEPENDENCIES = libsemanage libcap-ng $(TARGET_NLS_DEPENDENCIES) +POLICYCOREUTILS_MAKE_OPTS = LDLIBS=$(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +POLICYCOREUTILS_DEPENDENCIES += linux-pam +POLICYCOREUTILS_MAKE_OPTS += NAMESPACE_PRIV=y +define POLICYCOREUTILS_INSTALL_TARGET_LINUX_PAM_CONFS + $(INSTALL) -D -m 0644 $(@D)/newrole/newrole-lspp.pamd $(TARGET_DIR)/etc/pam.d/newrole + $(INSTALL) -D -m 0644 $(@D)/run_init/run_init.pamd $(TARGET_DIR)/etc/pam.d/run_init +endef +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +POLICYCOREUTILS_DEPENDENCIES += audit +POLICYCOREUTILS_MAKE_OPTS += AUDIT_LOG_PRIV=y USE_AUDIT=y +endif + +# Enable LSPP_PRIV if both audit and linux pam are enabled +ifeq ($(BR2_PACKAGE_LINUX_PAM)$(BR2_PACKAGE_AUDIT),yy) +POLICYCOREUTILS_MAKE_OPTS += LSPP_PRIV=y +endif + +# Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h +# large file support. +# See https://bugzilla.redhat.com/show_bug.cgi?id=574992 for more information +POLICYCOREUTILS_MAKE_OPTS += \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS" \ + CPPFLAGS="$(TARGET_CPPFLAGS) -U_FILE_OFFSET_BITS" + +POLICYCOREUTILS_MAKE_DIRS = \ + load_policy newrole run_init \ + secon semodule sestatus setfiles \ + setsebool scripts + +# We need to pass DESTDIR at build time because it's used by +# policycoreutils build system to find headers and libraries. +define POLICYCOREUTILS_BUILD_CMDS + $(foreach d,$(POLICYCOREUTILS_MAKE_DIRS), + $(MAKE) -C $(@D)/$(d) $(POLICYCOREUTILS_MAKE_OPTS) \ + DESTDIR=$(STAGING_DIR) all + ) +endef + +define POLICYCOREUTILS_INSTALL_TARGET_CMDS + $(foreach d,$(POLICYCOREUTILS_MAKE_DIRS), + $(MAKE) -C $(@D)/$(d) $(POLICYCOREUTILS_MAKE_OPTS) \ + DESTDIR=$(TARGET_DIR) install + ) +endef + +HOST_POLICYCOREUTILS_DEPENDENCIES = host-libsemanage + +# Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h +# large file support. +# See https://bugzilla.redhat.com/show_bug.cgi?id=574992 for more information +# We also need to pass PREFIX because it defaults to $(DESTDIR)/usr +HOST_POLICYCOREUTILS_MAKE_OPTS = \ + $(HOST_CONFIGURE_OPTS) \ + CFLAGS="$(HOST_CFLAGS) -U_FILE_OFFSET_BITS" \ + CPPFLAGS="$(HOST_CPPFLAGS) -U_FILE_OFFSET_BITS" \ + PREFIX=$(HOST_DIR) \ + ETCDIR=$(HOST_DIR)/etc \ + SBINDIR=$(HOST_DIR)/sbin + +# Note: We are only building the programs required by the refpolicy build +HOST_POLICYCOREUTILS_MAKE_DIRS = \ + load_policy newrole run_init \ + secon semodule sestatus setfiles \ + setsebool + +define HOST_POLICYCOREUTILS_BUILD_CMDS + $(foreach d,$(HOST_POLICYCOREUTILS_MAKE_DIRS), + $(MAKE) -C $(@D)/$(d) $(HOST_POLICYCOREUTILS_MAKE_OPTS) all + ) +endef + +define HOST_POLICYCOREUTILS_INSTALL_CMDS + $(foreach d,$(HOST_POLICYCOREUTILS_MAKE_DIRS), + $(MAKE) -C $(@D)/$(d) $(HOST_POLICYCOREUTILS_MAKE_OPTS) install + ) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/polkit/0001-make-netgroup-support-optional.patch b/buildroot-2022.02.1/package/polkit/0001-make-netgroup-support-optional.patch new file mode 100644 index 00000000..09c48d77 --- /dev/null +++ b/buildroot-2022.02.1/package/polkit/0001-make-netgroup-support-optional.patch @@ -0,0 +1,426 @@ +From 1b854ef4bb15032091a33fed587e5ba6f3e582eb Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 22 May 2019 13:18:55 -0700 +Subject: [PATCH] make netgroup support optional + +On at least Linux/musl and Linux/uclibc, netgroup +support is not available. PolKit fails to compile on these systems +for that reason. + +This change makes netgroup support conditional on the presence of the +setnetgrent(3) function which is required for the support to work. If +that function is not available on the system, an error will be returned +to the administrator if unix-netgroup: is specified in configuration. + +Fixes bug 50145. + +Signed-off-by: A. Wilcox +Signed-off-by: Khem Raj +[Adam: Extend patch to work with duktape integration.] +Signed-off-by: Adam Duskett +[Thomas: add introspection.m4.] +Signed-off-by: Thomas Petazzoni +--- + buildutil/introspection.m4 | 142 ++++++++++++++++++ + configure.ac | 2 +- + src/polkit/polkitidentity.c | 16 ++ + src/polkit/polkitunixnetgroup.c | 3 + + .../polkitbackendduktapeauthority.c | 2 + + .../polkitbackendinteractiveauthority.c | 14 +- + .../polkitbackendjsauthority.cpp | 3 +- + test/polkit/polkitidentitytest.c | 9 +- + test/polkit/polkitunixnetgrouptest.c | 3 + + .../test-polkitbackendjsauthority.c | 2 + + 10 files changed, 187 insertions(+), 9 deletions(-) + create mode 100644 buildutil/introspection.m4 + +diff --git a/buildutil/introspection.m4 b/buildutil/introspection.m4 +new file mode 100644 +index 0000000..b0ccd68 +--- /dev/null ++++ b/buildutil/introspection.m4 +@@ -0,0 +1,142 @@ ++dnl -*- mode: autoconf -*- ++dnl Copyright 2009 Johan Dahlin ++dnl ++dnl This file is free software; the author(s) gives unlimited ++dnl permission to copy and/or distribute it, with or without ++dnl modifications, as long as this notice is preserved. ++dnl ++ ++# serial 1 ++ ++dnl This is a copy of AS_AC_EXPAND ++dnl ++dnl (C) 2003, 2004, 2005 Thomas Vander Stichele ++dnl Copying and distribution of this file, with or without modification, ++dnl are permitted in any medium without royalty provided the copyright ++dnl notice and this notice are preserved. ++m4_define([_GOBJECT_INTROSPECTION_AS_AC_EXPAND], ++[ ++ EXP_VAR=[$1] ++ FROM_VAR=[$2] ++ ++ dnl first expand prefix and exec_prefix if necessary ++ prefix_save=$prefix ++ exec_prefix_save=$exec_prefix ++ ++ dnl if no prefix given, then use /usr/local, the default prefix ++ if test "x$prefix" = "xNONE"; then ++ prefix="$ac_default_prefix" ++ fi ++ dnl if no exec_prefix given, then use prefix ++ if test "x$exec_prefix" = "xNONE"; then ++ exec_prefix=$prefix ++ fi ++ ++ full_var="$FROM_VAR" ++ dnl loop until it doesn't change anymore ++ while true; do ++ new_full_var="`eval echo $full_var`" ++ if test "x$new_full_var" = "x$full_var"; then break; fi ++ full_var=$new_full_var ++ done ++ ++ dnl clean up ++ full_var=$new_full_var ++ AC_SUBST([$1], "$full_var") ++ ++ dnl restore prefix and exec_prefix ++ prefix=$prefix_save ++ exec_prefix=$exec_prefix_save ++]) ++ ++m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], ++[ ++ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first ++ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first ++ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first ++ ++ dnl enable/disable introspection ++ m4_if([$2], [require], ++ [dnl ++ enable_introspection=yes ++ ],[dnl ++ AC_ARG_ENABLE(introspection, ++ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], ++ [Enable introspection for this build]),, ++ [enable_introspection=auto]) ++ ])dnl ++ ++ AC_MSG_CHECKING([for gobject-introspection]) ++ ++ dnl presence/version checking ++ AS_CASE([$enable_introspection], ++ [no], [dnl ++ found_introspection="no (disabled, use --enable-introspection to enable)" ++ ],dnl ++ [yes],[dnl ++ PKG_CHECK_EXISTS([gobject-introspection-1.0],, ++ AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) ++ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], ++ found_introspection=yes, ++ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) ++ ],dnl ++ [auto],[dnl ++ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) ++ dnl Canonicalize enable_introspection ++ enable_introspection=$found_introspection ++ ],dnl ++ [dnl ++ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) ++ ])dnl ++ ++ AC_MSG_RESULT([$found_introspection]) ++ ++ dnl expand datadir/libdir so we can pass them to pkg-config ++ dnl and get paths relative to our target directories ++ _GOBJECT_INTROSPECTION_AS_AC_EXPAND(_GI_EXP_DATADIR, "$datadir") ++ _GOBJECT_INTROSPECTION_AS_AC_EXPAND(_GI_EXP_LIBDIR, "$libdir") ++ ++ INTROSPECTION_SCANNER= ++ INTROSPECTION_COMPILER= ++ INTROSPECTION_GENERATE= ++ INTROSPECTION_GIRDIR= ++ INTROSPECTION_TYPELIBDIR= ++ if test "x$found_introspection" = "xyes"; then ++ INTROSPECTION_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` ++ INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` ++ INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` ++ INTROSPECTION_GIRDIR=`$PKG_CONFIG --define-variable=datadir="${_GI_EXP_DATADIR}" --variable=girdir gobject-introspection-1.0` ++ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --define-variable=libdir="${_GI_EXP_LIBDIR}" --variable=typelibdir gobject-introspection-1.0)" ++ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` ++ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` ++ INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection ++ fi ++ AC_SUBST(INTROSPECTION_SCANNER) ++ AC_SUBST(INTROSPECTION_COMPILER) ++ AC_SUBST(INTROSPECTION_GENERATE) ++ AC_SUBST(INTROSPECTION_GIRDIR) ++ AC_SUBST(INTROSPECTION_TYPELIBDIR) ++ AC_SUBST(INTROSPECTION_CFLAGS) ++ AC_SUBST(INTROSPECTION_LIBS) ++ AC_SUBST(INTROSPECTION_MAKEFILE) ++ ++ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") ++]) ++ ++ ++dnl Usage: ++dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) ++ ++AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], ++[ ++ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) ++]) ++ ++dnl Usage: ++dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) ++ ++ ++AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], ++[ ++ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) ++]) +diff --git a/configure.ac b/configure.ac +index 5cedb4e..87aa0ad 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -111,7 +111,7 @@ AC_CHECK_LIB(expat,XML_ParserCreate,[EXPAT_LIBS="-lexpat"], + [AC_MSG_ERROR([Can't find expat library. Please install expat.])]) + AC_SUBST(EXPAT_LIBS) + +-AC_CHECK_FUNCS(clearenv fdatasync) ++AC_CHECK_FUNCS(clearenv fdatasync setnetgrent) + + if test "x$GCC" = "xyes"; then + LDFLAGS="-Wl,--as-needed $LDFLAGS" +diff --git a/src/polkit/polkitidentity.c b/src/polkit/polkitidentity.c +index 3aa1f7f..10e9c17 100644 +--- a/src/polkit/polkitidentity.c ++++ b/src/polkit/polkitidentity.c +@@ -182,7 +182,15 @@ polkit_identity_from_string (const gchar *str, + } + else if (g_str_has_prefix (str, "unix-netgroup:")) + { ++#ifndef HAVE_SETNETGRENT ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Netgroups are not available on this machine ('%s')", ++ str); ++#else + identity = polkit_unix_netgroup_new (str + sizeof "unix-netgroup:" - 1); ++#endif + } + + if (identity == NULL && (error != NULL && *error == NULL)) +@@ -344,6 +352,13 @@ polkit_identity_new_for_gvariant (GVariant *variant, + GVariant *v; + const char *name; + ++#ifndef HAVE_SETNETGRENT ++ g_set_error (error, ++ POLKIT_ERROR, ++ POLKIT_ERROR_FAILED, ++ "Netgroups are not available on this machine"); ++ goto out; ++#else + v = lookup_asv (details_gvariant, "name", G_VARIANT_TYPE_STRING, error); + if (v == NULL) + { +@@ -353,6 +368,7 @@ polkit_identity_new_for_gvariant (GVariant *variant, + name = g_variant_get_string (v, NULL); + ret = polkit_unix_netgroup_new (name); + g_variant_unref (v); ++#endif + } + else + { +diff --git a/src/polkit/polkitunixnetgroup.c b/src/polkit/polkitunixnetgroup.c +index 8a2b369..83f8d4a 100644 +--- a/src/polkit/polkitunixnetgroup.c ++++ b/src/polkit/polkitunixnetgroup.c +@@ -194,6 +194,9 @@ polkit_unix_netgroup_set_name (PolkitUnixNetgroup *group, + PolkitIdentity * + polkit_unix_netgroup_new (const gchar *name) + { ++#ifndef HAVE_SETNETGRENT ++ g_assert_not_reached(); ++#endif + g_return_val_if_fail (name != NULL, NULL); + return POLKIT_IDENTITY (g_object_new (POLKIT_TYPE_UNIX_NETGROUP, + "name", name, +diff --git a/src/polkitbackend/polkitbackendduktapeauthority.c b/src/polkitbackend/polkitbackendduktapeauthority.c +index 4b4f8fd..e19b009 100644 +--- a/src/polkitbackend/polkitbackendduktapeauthority.c ++++ b/src/polkitbackend/polkitbackendduktapeauthority.c +@@ -1036,6 +1036,7 @@ js_polkit_user_is_in_netgroup (duk_context *cx) + const char *netgroup; + gboolean is_in_netgroup = FALSE; + ++#ifdef HAVE_SETNETGRENT + user = duk_require_string (cx, 0); + netgroup = duk_require_string (cx, 1); + +@@ -1046,6 +1047,7 @@ js_polkit_user_is_in_netgroup (duk_context *cx) + { + is_in_netgroup = TRUE; + } ++#endif + + duk_push_boolean (cx, is_in_netgroup); + return 1; +diff --git a/src/polkitbackend/polkitbackendinteractiveauthority.c b/src/polkitbackend/polkitbackendinteractiveauthority.c +index 056d9a8..36c2f3d 100644 +--- a/src/polkitbackend/polkitbackendinteractiveauthority.c ++++ b/src/polkitbackend/polkitbackendinteractiveauthority.c +@@ -2233,25 +2233,26 @@ get_users_in_net_group (PolkitIdentity *group, + GList *ret; + + ret = NULL; ++#ifdef HAVE_SETNETGRENT + name = polkit_unix_netgroup_get_name (POLKIT_UNIX_NETGROUP (group)); + +-#ifdef HAVE_SETNETGRENT_RETURN ++# ifdef HAVE_SETNETGRENT_RETURN + if (setnetgrent (name) == 0) + { + g_warning ("Error looking up net group with name %s: %s", name, g_strerror (errno)); + goto out; + } +-#else ++# else + setnetgrent (name); +-#endif ++# endif /* HAVE_SETNETGRENT_RETURN */ + + for (;;) + { +-#if defined(HAVE_NETBSD) || defined(HAVE_OPENBSD) ++# if defined(HAVE_NETBSD) || defined(HAVE_OPENBSD) + const char *hostname, *username, *domainname; +-#else ++# else + char *hostname, *username, *domainname; +-#endif ++# endif /* defined(HAVE_NETBSD) || defined(HAVE_OPENBSD) */ + PolkitIdentity *user; + GError *error = NULL; + +@@ -2282,6 +2283,7 @@ get_users_in_net_group (PolkitIdentity *group, + + out: + endnetgrent (); ++#endif /* HAVE_SETNETGRENT */ + return ret; + } + +diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp +index 9b752d1..09b2878 100644 +--- a/src/polkitbackend/polkitbackendjsauthority.cpp ++++ b/src/polkitbackend/polkitbackendjsauthority.cpp +@@ -1520,6 +1520,7 @@ js_polkit_user_is_in_netgroup (JSContext *cx, + + JS::CallArgs args = JS::CallArgsFromVp (argc, vp); + ++#ifdef HAVE_SETNETGRENT + JS::RootedString usrstr (authority->priv->cx); + usrstr = args[0].toString(); + user = JS_EncodeStringToUTF8 (cx, usrstr); +@@ -1534,7 +1535,7 @@ js_polkit_user_is_in_netgroup (JSContext *cx, + { + is_in_netgroup = true; + } +- ++#endif + ret = true; + + args.rval ().setBoolean (is_in_netgroup); +diff --git a/test/polkit/polkitidentitytest.c b/test/polkit/polkitidentitytest.c +index e91967b..e829aaa 100644 +--- a/test/polkit/polkitidentitytest.c ++++ b/test/polkit/polkitidentitytest.c +@@ -19,6 +19,7 @@ + * Author: Nikki VonHollen + */ + ++#include "config.h" + #include "glib.h" + #include + #include +@@ -145,11 +146,15 @@ struct ComparisonTestData comparison_test_data [] = { + {"unix-group:root", "unix-group:jane", FALSE}, + {"unix-group:jane", "unix-group:jane", TRUE}, + ++#ifdef HAVE_SETNETGRENT + {"unix-netgroup:foo", "unix-netgroup:foo", TRUE}, + {"unix-netgroup:foo", "unix-netgroup:bar", FALSE}, ++#endif + + {"unix-user:root", "unix-group:root", FALSE}, ++#ifdef HAVE_SETNETGRENT + {"unix-user:jane", "unix-netgroup:foo", FALSE}, ++#endif + + {NULL}, + }; +@@ -181,11 +186,13 @@ main (int argc, char *argv[]) + g_test_add_data_func ("/PolkitIdentity/group_string_2", "unix-group:jane", test_string); + g_test_add_data_func ("/PolkitIdentity/group_string_3", "unix-group:users", test_string); + ++#ifdef HAVE_SETNETGRENT + g_test_add_data_func ("/PolkitIdentity/netgroup_string", "unix-netgroup:foo", test_string); ++ g_test_add_data_func ("/PolkitIdentity/netgroup_gvariant", "unix-netgroup:foo", test_gvariant); ++#endif + + g_test_add_data_func ("/PolkitIdentity/user_gvariant", "unix-user:root", test_gvariant); + g_test_add_data_func ("/PolkitIdentity/group_gvariant", "unix-group:root", test_gvariant); +- g_test_add_data_func ("/PolkitIdentity/netgroup_gvariant", "unix-netgroup:foo", test_gvariant); + + add_comparison_tests (); + +diff --git a/test/polkit/polkitunixnetgrouptest.c b/test/polkit/polkitunixnetgrouptest.c +index 3701ba1..e3352eb 100644 +--- a/test/polkit/polkitunixnetgrouptest.c ++++ b/test/polkit/polkitunixnetgrouptest.c +@@ -19,6 +19,7 @@ + * Author: Nikki VonHollen + */ + ++#include "config.h" + #include "glib.h" + #include + #include +@@ -69,7 +70,9 @@ int + main (int argc, char *argv[]) + { + g_test_init (&argc, &argv, NULL); ++#ifdef HAVE_SETNETGRENT + g_test_add_func ("/PolkitUnixNetgroup/new", test_new); + g_test_add_func ("/PolkitUnixNetgroup/set_name", test_set_name); ++#endif + return g_test_run (); + } +diff --git a/test/polkitbackend/test-polkitbackendjsauthority.c b/test/polkitbackend/test-polkitbackendjsauthority.c +index 71aad23..fdd28f3 100644 +--- a/test/polkitbackend/test-polkitbackendjsauthority.c ++++ b/test/polkitbackend/test-polkitbackendjsauthority.c +@@ -137,12 +137,14 @@ test_get_admin_identities (void) + "unix-group:users" + } + }, ++#ifdef HAVE_SETNETGRENT + { + "net.company.action3", + { + "unix-netgroup:foo" + } + }, ++#endif + }; + guint n; + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/polkit/0002-Don-t-pass-positional-parameters-to-i18n.merge_file.patch b/buildroot-2022.02.1/package/polkit/0002-Don-t-pass-positional-parameters-to-i18n.merge_file.patch new file mode 100644 index 00000000..25fa4ef1 --- /dev/null +++ b/buildroot-2022.02.1/package/polkit/0002-Don-t-pass-positional-parameters-to-i18n.merge_file.patch @@ -0,0 +1,45 @@ +From 30c368a6b729bc8a0a9d0d023739c4fa07b0928b Mon Sep 17 00:00:00 2001 +From: Simon McVittie +Date: Mon, 25 Oct 2021 20:21:27 +0100 +Subject: [PATCH] Don't pass positional parameters to i18n.merge_file + +These were always ignored, and Meson 0.60.0 disallowed them. + +Resolves: https://gitlab.freedesktop.org/polkit/polkit/-/issues/160 +Reference: https://github.com/mesonbuild/meson/pull/9445 +Signed-off-by: Simon McVittie +Signed-off-by: James Hilliard +[Upstream status: +https://gitlab.freedesktop.org/polkit/polkit/-/merge_requests/99] +--- + actions/meson.build | 1 - + src/examples/meson.build | 1 - + 2 files changed, 2 deletions(-) + +diff --git a/actions/meson.build b/actions/meson.build +index 2abaaf3..1e3f370 100644 +--- a/actions/meson.build ++++ b/actions/meson.build +@@ -1,7 +1,6 @@ + policy = 'org.freedesktop.policykit.policy' + + i18n.merge_file( +- policy, + input: policy + '.in', + output: '@BASENAME@', + po_dir: po_dir, +diff --git a/src/examples/meson.build b/src/examples/meson.build +index c6305ab..8c18de5 100644 +--- a/src/examples/meson.build ++++ b/src/examples/meson.build +@@ -1,7 +1,6 @@ + policy = 'org.freedesktop.policykit.examples.pkexec.policy' + + i18n.merge_file( +- policy, + input: policy + '.in', + output: '@BASENAME@', + po_dir: po_dir, +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/polkit/Config.in b/buildroot-2022.02.1/package/polkit/Config.in new file mode 100644 index 00000000..622cbbb9 --- /dev/null +++ b/buildroot-2022.02.1/package/polkit/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_POLKIT + bool "polkit" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, dbus + depends on BR2_USE_MMU # libglib2, dbus + depends on BR2_USE_WCHAR # libglib2 + depends on !BR2_STATIC_LIBS # duktape + select BR2_PACKAGE_DBUS # runtime + select BR2_PACKAGE_DUKTAPE + select BR2_PACKAGE_EXPAT + select BR2_PACKAGE_LIBGLIB2 + help + PolicyKit is a toolkit for defining and handling + authorizations. It is used for allowing unprivileged + processes to speak to privileged processes. + + http://www.freedesktop.org/wiki/Software/polkit + +comment "polkit needs a toolchain with dynamic library, wchar, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/polkit/S50polkit b/buildroot-2022.02.1/package/polkit/S50polkit new file mode 100755 index 00000000..f07e2d61 --- /dev/null +++ b/buildroot-2022.02.1/package/polkit/S50polkit @@ -0,0 +1,51 @@ +#!/bin/sh + +DAEMON="polkitd" +DAEMON_PATH="/usr/lib/polkit-1/${DAEMON}" +PIDFILE="/var/run/${DAEMON}.pid" +POLKITD_ARGS="--no-debug" + +# polkitd does not create a pidfile, so pass "-n" in the command line +# and use "-m" to instruct start-stop-daemon to create one. +start() { + printf 'Starting %s: ' "${DAEMON}" + # shellcheck disable=SC2086 # we need the word splitting + start-stop-daemon -bmSqp "$PIDFILE" -x ${DAEMON_PATH} -- ${POLKITD_ARGS} + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "${DAEMON}" + start-stop-daemon -Kqp "$PIDFILE" + status=$? + if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart|reload) + "$1";; + reload) + # Restart, since there is no true "reload" feature. + restart;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2022.02.1/package/polkit/polkit.hash b/buildroot-2022.02.1/package/polkit/polkit.hash new file mode 100644 index 00000000..1fedb5a7 --- /dev/null +++ b/buildroot-2022.02.1/package/polkit/polkit.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 243fa69d1e480510c504723487716cda7d6fb588360c7c8f7ec6ba4a3f6ae60e polkit-a2bf5c9c83b6ae46cbd5c779d3055bff81ded683.tar.gz + +# Locally calculated +sha256 d2e2aa973e29c75e1b492e67ea7b7da9de2d501d49a934657971fd74f9a0b0a8 COPYING diff --git a/buildroot-2022.02.1/package/polkit/polkit.mk b/buildroot-2022.02.1/package/polkit/polkit.mk new file mode 100644 index 00000000..61666594 --- /dev/null +++ b/buildroot-2022.02.1/package/polkit/polkit.mk @@ -0,0 +1,75 @@ +################################################################################ +# +# polkit +# +################################################################################ + +POLKIT_VERSION = a2bf5c9c83b6ae46cbd5c779d3055bff81ded683 +POLKIT_SITE = https://gitlab.freedesktop.org/polkit/polkit/-/archive/$(POLKIT_VERSION) +POLKIT_LICENSE = GPL-2.0 +POLKIT_LICENSE_FILES = COPYING +POLKIT_CPE_ID_VENDOR = polkit_project +POLKIT_INSTALL_STAGING = YES + +# Fix was comitted in a2bf5c9c83b6ae46cbd5c779d3055bff81ded683 +POLKIT_IGNORE_CVE = CVE-2021-4034 + +POLKIT_DEPENDENCIES = \ + duktape libglib2 host-intltool expat $(TARGET_NLS_DEPENDENCIES) + +POLKIT_SELINUX_MODULES = policykit + +POLKIT_LDFLAGS = $(TARGET_NLS_LIBS) + +POLKIT_CONF_OPTS = \ + -Dman=false \ + -Dexamples=false \ + -Dsession_tracking=ConsoleKit \ + -Djs_engine=duktape + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +POLKIT_CONF_OPTS += -Dintrospection=true +POLKIT_DEPENDENCIES += gobject-introspection +else +POLKIT_CONF_OPTS += -Dintrospection=false +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +POLKIT_DEPENDENCIES += linux-pam +POLKIT_CONF_OPTS += -Dauthfw=pam +else +POLKIT_CONF_OPTS += -Dauthfw=shadow +endif + +# polkit.{its,loc} are needed for gvfs and must be installed in $(HOST_DIR) +# and not $(STAGING_DIR) +define POLKIT_INSTALL_ITS + $(INSTALL) -D -m 644 $(@D)/gettext/its/polkit.its \ + $(HOST_DIR)/share/gettext/its/polkit.its + $(INSTALL) -D -m 644 $(@D)/gettext/its/polkit.loc \ + $(HOST_DIR)/share/gettext/its/polkit.loc +endef +POLKIT_POST_INSTALL_TARGET_HOOKS += POLKIT_INSTALL_ITS + +define POLKIT_USERS + polkitd -1 polkitd -1 * - - - Polkit Daemon +endef + +define POLKIT_PERMISSIONS + /etc/polkit-1 r 750 root polkitd - - - - - + /usr/share/polkit-1 r 750 root polkitd - - - - - + /usr/bin/pkexec f 4755 root root - - - - - +endef + +define POLKIT_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(POLKIT_PKGDIR)/polkit.service \ + $(TARGET_DIR)/usr/lib/systemd/system/polkit.service + +endef + +define POLKIT_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/polkit/S50polkit \ + $(TARGET_DIR)/etc/init.d/S50polkit +endef + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/polkit/polkit.service b/buildroot-2022.02.1/package/polkit/polkit.service similarity index 100% rename from buildroot-2021.05/package/polkit/polkit.service rename to buildroot-2022.02.1/package/polkit/polkit.service diff --git a/buildroot-2021.05/package/popperjs/Config.in b/buildroot-2022.02.1/package/popperjs/Config.in similarity index 100% rename from buildroot-2021.05/package/popperjs/Config.in rename to buildroot-2022.02.1/package/popperjs/Config.in diff --git a/buildroot-2021.05/package/popperjs/popperjs.hash b/buildroot-2022.02.1/package/popperjs/popperjs.hash similarity index 100% rename from buildroot-2021.05/package/popperjs/popperjs.hash rename to buildroot-2022.02.1/package/popperjs/popperjs.hash diff --git a/buildroot-2021.05/package/popperjs/popperjs.mk b/buildroot-2022.02.1/package/popperjs/popperjs.mk similarity index 100% rename from buildroot-2021.05/package/popperjs/popperjs.mk rename to buildroot-2022.02.1/package/popperjs/popperjs.mk diff --git a/buildroot-2022.02.1/package/poppler/0001-Include-setjmp-h-when-WITH_JPEG-yes-and-WITH_PNG-no.patch b/buildroot-2022.02.1/package/poppler/0001-Include-setjmp-h-when-WITH_JPEG-yes-and-WITH_PNG-no.patch new file mode 100644 index 00000000..40af6a2e --- /dev/null +++ b/buildroot-2022.02.1/package/poppler/0001-Include-setjmp-h-when-WITH_JPEG-yes-and-WITH_PNG-no.patch @@ -0,0 +1,27 @@ +From 3ea6bca90d87d3f91556205c4e58ca425c6ac437 Mon Sep 17 00:00:00 2001 +From: Marco Genasci +Date: Sun, 12 Dec 2021 10:23:37 +0100 +Subject: [PATCH] Include setjmp.h when WITH_JPEG=yes and WITH_PNG=no + +[Retrieved from: +https://gitlab.freedesktop.org/poppler/poppler/-/commit/3ea6bca90d87d3f91556205c4e58ca425c6ac437] +Signed-off-by: Fabrice Fontaine +--- + poppler/ImageEmbeddingUtils.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/poppler/ImageEmbeddingUtils.cc b/poppler/ImageEmbeddingUtils.cc +index 5c50f1269..c26b9eb2a 100644 +--- a/poppler/ImageEmbeddingUtils.cc ++++ b/poppler/ImageEmbeddingUtils.cc +@@ -16,6 +16,7 @@ + extern "C" { + # include + } ++# include + #endif + #ifdef ENABLE_LIBPNG + # include +-- +GitLab + diff --git a/buildroot-2022.02.1/package/poppler/Config.in b/buildroot-2022.02.1/package/poppler/Config.in new file mode 100644 index 00000000..21c4d86c --- /dev/null +++ b/buildroot-2022.02.1/package/poppler/Config.in @@ -0,0 +1,36 @@ +config BR2_PACKAGE_POPPLER + bool "poppler" + depends on BR2_USE_WCHAR + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + select BR2_PACKAGE_FONTCONFIG + help + Poppler is a PDF rendering library based on the xpdf-3.0 + code base. + + https://poppler.freedesktop.org/ + +if BR2_PACKAGE_POPPLER + +config BR2_PACKAGE_POPPLER_QT5 + bool "Qt5 support" + depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5BASE_XML + help + Build Qt support into the Poppler library + +config BR2_PACKAGE_POPPLER_UTILS + bool "command line utils" + help + Compile poppler command line utils. + +endif + +comment "poppler needs a toolchain w/ wchar, C++, threads, dynamic library, gcc >= 7" + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/poppler/poppler.hash b/buildroot-2022.02.1/package/poppler/poppler.hash new file mode 100644 index 00000000..cf6c5370 --- /dev/null +++ b/buildroot-2022.02.1/package/poppler/poppler.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 acb840c2c1ec07d07e53c57c4b3a1ff3e3ee2d888d44e1e9f2f01aaf16814de7 poppler-21.12.0.tar.xz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/poppler/poppler.mk b/buildroot-2022.02.1/package/poppler/poppler.mk new file mode 100644 index 00000000..18c044a9 --- /dev/null +++ b/buildroot-2022.02.1/package/poppler/poppler.mk @@ -0,0 +1,142 @@ +################################################################################ +# +# poppler +# +################################################################################ + +POPPLER_VERSION = 21.12.0 +POPPLER_SOURCE = poppler-$(POPPLER_VERSION).tar.xz +POPPLER_SITE = https://poppler.freedesktop.org +POPPLER_DEPENDENCIES = fontconfig host-pkgconf +POPPLER_LICENSE = GPL-2.0+ +POPPLER_LICENSE_FILES = COPYING +POPPLER_CPE_ID_VENDOR = freedesktop +POPPLER_INSTALL_STAGING = YES + +POPPLER_CONF_OPTS = \ + -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ + -DBUILD_GTK_TESTS=OFF \ + -DBUILD_QT5_TESTS=OFF \ + -DBUILD_QT6_TESTS=OFF \ + -DBUILD_CPP_TESTS=OFF \ + -DBUILD_MANUAL_TESTS=OFF \ + -DENABLE_GTK_DOC=OFF \ + -DENABLE_QT6=OFF \ + -DRUN_GPERF_IF_PRESENT=OFF + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +POPPLER_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +ifeq ($(BR2_PACKAGE_BOOST),y) +POPPLER_DEPENDENCIES += boost +POPPLER_CONF_OPTS += -DENABLE_BOOST=ON +else +POPPLER_CONF_OPTS += -DENABLE_BOOST=OFF +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +POPPLER_DEPENDENCIES += jpeg +POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=libjpeg -DWITH_JPEG=ON +else +POPPLER_CONF_OPTS += -DENABLE_DCTDECODER=none -DWITH_JPEG=OFF +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +POPPLER_DEPENDENCIES += gobject-introspection +POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=ON +else +POPPLER_CONF_OPTS += -DENABLE_GOBJECT_INTROSPECTION=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +POPPLER_DEPENDENCIES += libpng +POPPLER_CONF_OPTS += -DWITH_PNG=ON +else +POPPLER_CONF_OPTS += -DWITH_PNG=OFF +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +POPPLER_DEPENDENCIES += lcms2 +POPPLER_CONF_OPTS += -DENABLE_CMS=lcms2 +else +POPPLER_CONF_OPTS += -DENABLE_CMS=none +endif + +ifeq ($(BR2_PACKAGE_OPENJPEG),y) +POPPLER_DEPENDENCIES += openjpeg +POPPLER_CONF_OPTS += -DENABLE_LIBOPENJPEG=openjpeg2 +else +POPPLER_CONF_OPTS += -DENABLE_LIBOPENJPEG=none +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +POPPLER_DEPENDENCIES += libcurl +POPPLER_CONF_OPTS += -DENABLE_LIBCURL=ON +else +POPPLER_CONF_OPTS += -DENABLE_LIBCURL=OFF +endif + +ifeq ($(BR2_PACKAGE_POPPLER_QT5),y) +POPPLER_DEPENDENCIES += qt5base +POPPLER_CONF_OPTS += -DENABLE_QT5=ON +else +POPPLER_CONF_OPTS += -DENABLE_QT5=OFF +endif + +ifeq ($(BR2_PACKAGE_POPPLER_UTILS),y) +POPPLER_CONF_OPTS += -DENABLE_UTILS=ON +else +POPPLER_CONF_OPTS += -DENABLE_UTILS=OFF +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +POPPLER_DEPENDENCIES += zlib +POPPLER_CONF_OPTS += -DENABLE_ZLIB=ON +else +POPPLER_CONF_OPTS += -DENABLE_ZLIB=OFF +endif + +ifeq ($(BR2_PACKAGE_CAIRO),y) +POPPLER_DEPENDENCIES += cairo +POPPLER_CONF_OPTS += -DWITH_Cairo=ON +else +POPPLER_CONF_OPTS += -DWITH_Cairo=OFF +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +POPPLER_DEPENDENCIES += tiff +POPPLER_CONF_OPTS += -DWITH_TIFF=ON +else +POPPLER_CONF_OPTS += -DWITH_TIFF=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +POPPLER_DEPENDENCIES += libglib2 +POPPLER_CONF_OPTS += -DENABLE_GLIB=ON +else +POPPLER_CONF_OPTS += -DENABLE_GLIB=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBNSS),y) +POPPLER_DEPENDENCIES += libnss +POPPLER_CONF_OPTS += -DWITH_NSS3=ON +else +POPPLER_CONF_OPTS += -DWITH_NSS3=OFF +endif + +ifeq ($(BR2_SOFT_FLOAT),y) +POPPLER_CONF_OPTS += -DUSE_FLOAT=OFF +else +POPPLER_CONF_OPTS += -DUSE_FLOAT=ON +endif + +POPPLER_CXXFLAGS = $(TARGET_CXXCFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) +POPPLER_CXXFLAGS += -O0 +endif + +POPPLER_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(POPPLER_CXXFLAGS)" + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/popt/0001-add-libiconv-to-popt.pc.patch b/buildroot-2022.02.1/package/popt/0001-add-libiconv-to-popt.pc.patch similarity index 100% rename from buildroot-2021.05/package/popt/0001-add-libiconv-to-popt.pc.patch rename to buildroot-2022.02.1/package/popt/0001-add-libiconv-to-popt.pc.patch diff --git a/buildroot-2021.05/package/popt/0002-Detect-glob_pattern_p.patch b/buildroot-2022.02.1/package/popt/0002-Detect-glob_pattern_p.patch similarity index 100% rename from buildroot-2021.05/package/popt/0002-Detect-glob_pattern_p.patch rename to buildroot-2022.02.1/package/popt/0002-Detect-glob_pattern_p.patch diff --git a/buildroot-2021.05/package/popt/0003-configure-replace-deprecated-macros.patch b/buildroot-2022.02.1/package/popt/0003-configure-replace-deprecated-macros.patch similarity index 100% rename from buildroot-2021.05/package/popt/0003-configure-replace-deprecated-macros.patch rename to buildroot-2022.02.1/package/popt/0003-configure-replace-deprecated-macros.patch diff --git a/buildroot-2021.05/package/popt/0004-fix-build-without-wchar.patch b/buildroot-2022.02.1/package/popt/0004-fix-build-without-wchar.patch similarity index 100% rename from buildroot-2021.05/package/popt/0004-fix-build-without-wchar.patch rename to buildroot-2022.02.1/package/popt/0004-fix-build-without-wchar.patch diff --git a/buildroot-2021.05/package/popt/0005-fix-build-without-mbstate_t.patch b/buildroot-2022.02.1/package/popt/0005-fix-build-without-mbstate_t.patch similarity index 100% rename from buildroot-2021.05/package/popt/0005-fix-build-without-mbstate_t.patch rename to buildroot-2022.02.1/package/popt/0005-fix-build-without-mbstate_t.patch diff --git a/buildroot-2021.05/package/popt/Config.in b/buildroot-2022.02.1/package/popt/Config.in similarity index 100% rename from buildroot-2021.05/package/popt/Config.in rename to buildroot-2022.02.1/package/popt/Config.in diff --git a/buildroot-2021.05/package/popt/popt.hash b/buildroot-2022.02.1/package/popt/popt.hash similarity index 100% rename from buildroot-2021.05/package/popt/popt.hash rename to buildroot-2022.02.1/package/popt/popt.hash diff --git a/buildroot-2021.05/package/popt/popt.mk b/buildroot-2022.02.1/package/popt/popt.mk similarity index 100% rename from buildroot-2021.05/package/popt/popt.mk rename to buildroot-2022.02.1/package/popt/popt.mk diff --git a/buildroot-2021.05/package/portaudio/Config.in b/buildroot-2022.02.1/package/portaudio/Config.in similarity index 100% rename from buildroot-2021.05/package/portaudio/Config.in rename to buildroot-2022.02.1/package/portaudio/Config.in diff --git a/buildroot-2022.02.1/package/portaudio/portaudio.hash b/buildroot-2022.02.1/package/portaudio/portaudio.hash new file mode 100644 index 00000000..ba3c506f --- /dev/null +++ b/buildroot-2022.02.1/package/portaudio/portaudio.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 47efbf42c77c19a05d22e627d42873e991ec0c1357219c0d74ce6a2948cb2def pa_stable_v190700_20210406.tgz +sha256 ec52a1952d701f94e5135719a47376da4ee0b4a0201f1cafb49f61db6480ac3d LICENSE.txt diff --git a/buildroot-2022.02.1/package/portaudio/portaudio.mk b/buildroot-2022.02.1/package/portaudio/portaudio.mk new file mode 100644 index 00000000..58798dda --- /dev/null +++ b/buildroot-2022.02.1/package/portaudio/portaudio.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# portaudio +# +################################################################################ + +PORTAUDIO_VERSION = 190700_20210406 +PORTAUDIO_SITE = http://files.portaudio.com/archives +PORTAUDIO_SOURCE = pa_stable_v$(PORTAUDIO_VERSION).tgz +PORTAUDIO_INSTALL_STAGING = YES +PORTAUDIO_MAKE = $(MAKE1) +PORTAUDIO_LICENSE = portaudio license (MIT-like plus special clause) +PORTAUDIO_LICENSE_FILES = LICENSE.txt + +PORTAUDIO_DEPENDENCIES = \ + $(if $(BR2_PACKAGE_PORTAUDIO_ALSA),alsa-lib) + +PORTAUDIO_CONF_OPTS = \ + $(if $(BR2_PACKAGE_PORTAUDIO_ALSA),--with-alsa,--without-alsa) \ + $(if $(BR2_PACKAGE_PORTAUDIO_OSS),--with-oss,--without-oss) \ + $(if $(BR2_PACKAGE_PORTAUDIO_CXX),--enable-cxx,--disable-cxx) + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/postgis/0003-Disable-forced-static-linking-of-liblwgeom.patch b/buildroot-2022.02.1/package/postgis/0001-Disable-forced-static-linking-of-liblwgeom.patch similarity index 100% rename from buildroot-2021.05/package/postgis/0003-Disable-forced-static-linking-of-liblwgeom.patch rename to buildroot-2022.02.1/package/postgis/0001-Disable-forced-static-linking-of-liblwgeom.patch diff --git a/buildroot-2022.02.1/package/postgis/Config.in b/buildroot-2022.02.1/package/postgis/Config.in new file mode 100644 index 00000000..405c5c72 --- /dev/null +++ b/buildroot-2022.02.1/package/postgis/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_POSTGIS + bool "postgis" + depends on BR2_PACKAGE_POSTGRESQL_FULL + depends on BR2_INSTALL_LIBSTDCPP # libgeos, proj + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, proj + depends on BR2_TOOLCHAIN_HAS_THREADS # libgeos, proj + depends on BR2_USE_WCHAR # libgeos, proj + depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 # libgeos + select BR2_PACKAGE_LIBGEOS + select BR2_PACKAGE_PROJ + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + help + PostGIS is a spatial database extender for PostgreSQL + object-relational database. It adds support for + geographic objects allowing location queries + to be run in SQL. + + https://postgis.net/ + +comment "postgis needs a toolchain w/ C++, threads, wchar, gcc >= 4.7, not binutils bug 27597" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 diff --git a/buildroot-2022.02.1/package/postgis/postgis.hash b/buildroot-2022.02.1/package/postgis/postgis.hash new file mode 100644 index 00000000..12ca18f8 --- /dev/null +++ b/buildroot-2022.02.1/package/postgis/postgis.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 7ab9e154c6947c0cffb8fa12d70806add9aa060e62b6c86a2e206f9d4b507cfd postgis-3.2.0.tar.gz +sha256 55b69f22e1752830dd565852dc7ff242daf289dbd3a6bfede5db43f90d2e28c9 LICENSE.TXT diff --git a/buildroot-2022.02.1/package/postgis/postgis.mk b/buildroot-2022.02.1/package/postgis/postgis.mk new file mode 100644 index 00000000..d9cda647 --- /dev/null +++ b/buildroot-2022.02.1/package/postgis/postgis.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# postgis +# +################################################################################ + +POSTGIS_VERSION = 3.2.0 +POSTGIS_SITE = https://download.osgeo.org/postgis/source +# parallel build issues +POSTGIS_MAKE = $(MAKE1) +POSTGIS_LICENSE = GPL-2.0+ (PostGIS), BSD-2-Clause, MIT, Apache-2.0, ISC, BSL-1.0, CC-BY-SA-3.0 +POSTGIS_LICENSE_FILES = LICENSE.TXT +POSTGIS_CPE_ID_VENDOR = postgis +# configure.ac is patched so need to run autoreconf +POSTGIS_AUTORECONF = YES + +POSTGIS_DEPENDENCIES = postgresql libgeos proj libxml2 + +POSTGIS_CONF_OPTS += \ + --with-pgconfig=$(STAGING_DIR)/usr/bin/pg_config \ + --with-geosconfig=$(STAGING_DIR)/usr/bin/geos-config \ + --with-xml2config=$(STAGING_DIR)/usr/bin/xml2-config + +ifeq ($(BR2_PACKAGE_LIBGDAL),y) +POSTGIS_DEPENDENCIES += libgdal +POSTGIS_CONF_OPTS += --with-raster +else +POSTGIS_CONF_OPTS += --without-raster +endif + +ifeq ($(BR2_PACKAGE_JSON_C),y) +POSTGIS_DEPENDENCIES += json-c +POSTGIS_CONF_OPTS += --with-json +else +POSTGIS_CONF_OPTS += --without-json +endif + +ifeq ($(BR2_PACKAGE_PCRE),y) +POSTGIS_DEPENDENCIES += pcre +endif + +ifeq ($(BR2_PACKAGE_PROTOBUF_C),y) +POSTGIS_DEPENDENCIES += protobuf-c +POSTGIS_CONF_OPTS += --with-protobuf +else +POSTGIS_CONF_OPTS += --without-protobuf +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch b/buildroot-2022.02.1/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch new file mode 100644 index 00000000..90b0577a --- /dev/null +++ b/buildroot-2022.02.1/package/postgresql/0001-libpq-Fix-pkg-config-without-OpenSSL.patch @@ -0,0 +1,34 @@ +From 465ab24296c27502c81c8c197725cba728b9b057 Mon Sep 17 00:00:00 2001 +From: Peter Eisentraut +Date: Fri, 1 Apr 2022 17:12:56 +0200 +Subject: [PATCH] libpq: Fix pkg-config without OpenSSL + +Do not add OpenSSL dependencies to libpq pkg-config file if OpenSSL is +not enabled. Oversight in beff361bc1edc24ee5f8b2073a1e5e4c92ea66eb. + +Author: Fabrice Fontaine +Discussion: https://www.postgresql.org/message-id/flat/20220331163759.32665-1-fontaine.fabrice%40gmail.com +[Retrieved from: +https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=465ab24296c27502c81c8c197725cba728b9b057] +Signed-off-by: Fabrice Fontaine +--- + src/interfaces/libpq/Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile +index 89bf5e0126..b5fd72a4ac 100644 +--- a/src/interfaces/libpq/Makefile ++++ b/src/interfaces/libpq/Makefile +@@ -95,7 +95,9 @@ SHLIB_PREREQS = submake-libpgport + + SHLIB_EXPORTS = exports.txt + ++ifeq ($(with_ssl),openssl) + PKG_CONFIG_REQUIRES_PRIVATE = libssl libcrypto ++endif + + all: all-lib libpq-refs-stamp + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/postgresql/Config.in b/buildroot-2022.02.1/package/postgresql/Config.in new file mode 100644 index 00000000..b42b2195 --- /dev/null +++ b/buildroot-2022.02.1/package/postgresql/Config.in @@ -0,0 +1,36 @@ +config BR2_PACKAGE_POSTGRESQL + bool "postgresql" + depends on BR2_USE_MMU # fork() + depends on BR2_USE_WCHAR + # fails to build in a pure static linking scenario, and + # postgresql is unlikely to be used in a pure statically + # linked environment. + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + PostgreSQL is a powerful, open source object-relational + database system. + + Enable the readline package to gain readline support in + psql (the command line interpreter), which offers + command history and edit functions. + + Enable the zlib package to gain builtin compression for + archives with pg_dump and pg_restore. + + http://www.postgresql.org + +if BR2_PACKAGE_POSTGRESQL + +config BR2_PACKAGE_POSTGRESQL_FULL + bool "postgresql-full" + help + Build PostgreSQL, contrib, and documentation. + +endif + +comment "postgresql needs a toolchain w/ dynamic library, wchar" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/postgresql/S50postgresql b/buildroot-2022.02.1/package/postgresql/S50postgresql similarity index 100% rename from buildroot-2021.05/package/postgresql/S50postgresql rename to buildroot-2022.02.1/package/postgresql/S50postgresql diff --git a/buildroot-2022.02.1/package/postgresql/pg_config b/buildroot-2022.02.1/package/postgresql/pg_config new file mode 100644 index 00000000..099f1ee3 --- /dev/null +++ b/buildroot-2022.02.1/package/postgresql/pg_config @@ -0,0 +1,79 @@ +#!/bin/sh + +# +# Minimal pg_config implementation as replacement for the native pg_config application +# + +prefix=/usr + +case "$1" in + --includedir) + echo "$prefix/include" + ;; + --pkgincludedir) + echo "$prefix/include/postgresql" + ;; + --includedir-server) + echo "$prefix/include/postgresql/server" + ;; + --libdir) + echo "$prefix/lib" + ;; + --version) + echo "PostgreSQL @POSTGRESQL_VERSION@" + ;; + --configure) + echo "@POSTGRESQL_CONF_OPTIONS@" + ;; + --pgxs) + echo "$prefix/lib/postgresql/pgxs/src/makefiles/pgxs.mk" + ;; + --cflags) + echo "@TARGET_CFLAGS@" + ;; + --cflags_sl) + # defined at src/template/linux + echo "-fPIC" + ;; + --cc) + echo "@TARGET_CC@" + ;; + --pkglibdir) + echo "/usr/lib/postgresql" + ;; + --bindir) + echo "/usr/bin" + ;; + --sharedir) + echo "/usr/share/postgresql" + ;; + --localedir) + echo "/usr/share/locale" + ;; + --docdir) + echo "/usr/share/doc/postgresql" + ;; + --mandir) + echo "/usr/share/man" + ;; + *) + echo "Usage: $0 {OPTION}" + echo + echo "Options:" + echo + echo " --includedir show location of C header files of the client interfaces" + echo " --pkgincludedir show location of other C header files" + echo " --includedir-server show location of C header files for the server" + echo " --libdir show location of object code libraries" + echo " --version show the PostgreSQL version" + echo " --configure show options given to configure script" + echo " --pgxs show location of extension makefile" + echo " --cflags show CFLAGS value used when PostgreSQL was built" + echo " --cc show CC value used when PostgreSQL was built" + echo " --pkglibdir show location of dynamically loadable modules" + echo " --bindir show location of user executables" + echo " --sharedir show location of architecture-independent support files" + echo " --localedir show location of locale support files" + echo " --docdir show location of documentation files" + echo " --mandir show location of manual pages" +esac diff --git a/buildroot-2022.02.1/package/postgresql/postgresql.hash b/buildroot-2022.02.1/package/postgresql/postgresql.hash new file mode 100644 index 00000000..2ba3b075 --- /dev/null +++ b/buildroot-2022.02.1/package/postgresql/postgresql.hash @@ -0,0 +1,5 @@ +# From https://ftp.postgresql.org/pub/source/v14.2/postgresql-14.2.tar.bz2.sha256 +sha256 2cf78b2e468912f8101d695db5340cf313c2e9f68a612fb71427524e8c9a977a postgresql-14.2.tar.bz2 + +# License file, Locally calculated +sha256 f6d6616acdb598742e2a7c64fa0551c1c72c309d279fd2d90370e5fdd41c8945 COPYRIGHT diff --git a/buildroot-2022.02.1/package/postgresql/postgresql.mk b/buildroot-2022.02.1/package/postgresql/postgresql.mk new file mode 100644 index 00000000..c389246f --- /dev/null +++ b/buildroot-2022.02.1/package/postgresql/postgresql.mk @@ -0,0 +1,142 @@ +################################################################################ +# +# postgresql +# +################################################################################ + +POSTGRESQL_VERSION = 14.2 +POSTGRESQL_SOURCE = postgresql-$(POSTGRESQL_VERSION).tar.bz2 +POSTGRESQL_SITE = https://ftp.postgresql.org/pub/source/v$(POSTGRESQL_VERSION) +POSTGRESQL_LICENSE = PostgreSQL +POSTGRESQL_LICENSE_FILES = COPYRIGHT +POSTGRESQL_CPE_ID_VENDOR = postgresql +POSTGRESQL_SELINUX_MODULES = postgresql +POSTGRESQL_INSTALL_STAGING = YES +POSTGRESQL_CONFIG_SCRIPTS = pg_config +POSTGRESQL_CONF_ENV = \ + ac_cv_type_struct_sockaddr_in6=yes \ + LIBS=$(TARGET_NLS_LIBS) +POSTGRESQL_CONF_OPTS = --disable-rpath +POSTGRESQL_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) + +# https://www.postgresql.org/docs/11/static/install-procedure.html: +# "If you want to invoke the build from another makefile rather than +# manually, you must unset MAKELEVEL or set it to zero" +POSTGRESQL_MAKE_OPTS = MAKELEVEL=0 + +ifeq ($(BR2_PACKAGE_POSTGRESQL_FULL),y) +POSTGRESQL_MAKE_OPTS += world +POSTGRESQL_INSTALL_TARGET_OPTS += DESTDIR=$(TARGET_DIR) install-world +POSTGRESQL_INSTALL_STAGING_OPTS += DESTDIR=$(STAGING_DIR) install-world +endif + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +# PostgreSQL does not build against uClibc with locales +# enabled, due to an uClibc bug, see +# http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html +# so overwrite automatic detection and disable locale support +POSTGRESQL_CONF_ENV += pgac_cv_type_locale_t=no +endif + +ifneq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +POSTGRESQL_CONF_OPTS += --disable-thread-safety +endif + +ifeq ($(BR2_arcle)$(BR2_arceb)$(BR2_microblazeel)$(BR2_microblazebe)$(BR2_or1k)$(BR2_nios2)$(BR2_riscv)$(BR2_xtensa)$(BR2_nds32),y) +POSTGRESQL_CONF_OPTS += --disable-spinlocks +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +POSTGRESQL_DEPENDENCIES += readline +else +POSTGRESQL_CONF_OPTS += --without-readline +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +POSTGRESQL_DEPENDENCIES += zlib +else +POSTGRESQL_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_TZDATA),y) +POSTGRESQL_DEPENDENCIES += tzdata +POSTGRESQL_CONF_OPTS += --with-system-tzdata=/usr/share/zoneinfo +else +POSTGRESQL_DEPENDENCIES += host-zic +POSTGRESQL_CONF_ENV += ZIC="$(ZIC)" +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +POSTGRESQL_DEPENDENCIES += openssl +POSTGRESQL_CONF_OPTS += --with-openssl +else +# PostgreSQL checks for /dev/urandom and fails if it's being cross-compiled and +# an SSL library isn't found. Since /dev/urandom is guaranteed to be provided +# on Linux systems, explicitly tell the configure script it's available. +POSTGRESQL_CONF_ENV += ac_cv_file__dev_urandom=yes +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +POSTGRESQL_DEPENDENCIES += openldap +POSTGRESQL_CONF_OPTS += --with-ldap +else +POSTGRESQL_CONF_OPTS += --without-ldap +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +POSTGRESQL_DEPENDENCIES += libxml2 +POSTGRESQL_CONF_OPTS += --with-libxml +POSTGRESQL_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config +else +POSTGRESQL_CONF_OPTS += --without-libxml +endif + +# required for postgresql.service Type=notify +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +POSTGRESQL_DEPENDENCIES += systemd +POSTGRESQL_CONF_OPTS += --with-systemd +else +POSTGRESQL_CONF_OPTS += --without-systemd +endif + +POSTGRESQL_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +POSTGRESQL_CFLAGS += -O0 +endif + +POSTGRESQL_CONF_ENV += CFLAGS="$(POSTGRESQL_CFLAGS)" + +define POSTGRESQL_USERS + postgres -1 postgres -1 * /var/lib/pgsql /bin/sh - PostgreSQL Server +endef + +define POSTGRESQL_INSTALL_TARGET_FIXUP + $(INSTALL) -dm 0700 $(TARGET_DIR)/var/lib/pgsql + $(RM) -rf $(TARGET_DIR)/usr/lib/postgresql/pgxs +endef + +POSTGRESQL_POST_INSTALL_TARGET_HOOKS += POSTGRESQL_INSTALL_TARGET_FIXUP + +define POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG + $(INSTALL) -m 0755 -D package/postgresql/pg_config \ + $(STAGING_DIR)/usr/bin/pg_config + $(SED) "s|@POSTGRESQL_CONF_OPTIONS@|$(POSTGRESQL_CONF_OPTS)|g" $(STAGING_DIR)/usr/bin/pg_config + $(SED) "s|@POSTGRESQL_VERSION@|$(POSTGRESQL_VERSION)|g" $(STAGING_DIR)/usr/bin/pg_config + $(SED) "s|@TARGET_CFLAGS@|$(TARGET_CFLAGS)|g" $(STAGING_DIR)/usr/bin/pg_config + $(SED) "s|@TARGET_CC@|$(TARGET_CC)|g" $(STAGING_DIR)/usr/bin/pg_config +endef + +POSTGRESQL_POST_INSTALL_STAGING_HOOKS += POSTGRESQL_INSTALL_CUSTOM_PG_CONFIG + +define POSTGRESQL_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/postgresql/S50postgresql \ + $(TARGET_DIR)/etc/init.d/S50postgresql +endef + +define POSTGRESQL_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/postgresql/postgresql.service \ + $(TARGET_DIR)/usr/lib/systemd/system/postgresql.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/postgresql/postgresql.service b/buildroot-2022.02.1/package/postgresql/postgresql.service similarity index 100% rename from buildroot-2021.05/package/postgresql/postgresql.service rename to buildroot-2022.02.1/package/postgresql/postgresql.service diff --git a/buildroot-2021.05/package/pound/0001-fix-openssl-1.0.2.patch b/buildroot-2022.02.1/package/pound/0001-fix-openssl-1.0.2.patch similarity index 100% rename from buildroot-2021.05/package/pound/0001-fix-openssl-1.0.2.patch rename to buildroot-2022.02.1/package/pound/0001-fix-openssl-1.0.2.patch diff --git a/buildroot-2021.05/package/pound/0002-fix-openssl-1.1.0.patch b/buildroot-2022.02.1/package/pound/0002-fix-openssl-1.1.0.patch similarity index 100% rename from buildroot-2021.05/package/pound/0002-fix-openssl-1.1.0.patch rename to buildroot-2022.02.1/package/pound/0002-fix-openssl-1.1.0.patch diff --git a/buildroot-2021.05/package/pound/0003-Support-for-libressl-coexisting-with-openssl-1.1.x.patch b/buildroot-2022.02.1/package/pound/0003-Support-for-libressl-coexisting-with-openssl-1.1.x.patch similarity index 100% rename from buildroot-2021.05/package/pound/0003-Support-for-libressl-coexisting-with-openssl-1.1.x.patch rename to buildroot-2022.02.1/package/pound/0003-Support-for-libressl-coexisting-with-openssl-1.1.x.patch diff --git a/buildroot-2021.05/package/pound/Config.in b/buildroot-2022.02.1/package/pound/Config.in similarity index 100% rename from buildroot-2021.05/package/pound/Config.in rename to buildroot-2022.02.1/package/pound/Config.in diff --git a/buildroot-2021.05/package/pound/pound.hash b/buildroot-2022.02.1/package/pound/pound.hash similarity index 100% rename from buildroot-2021.05/package/pound/pound.hash rename to buildroot-2022.02.1/package/pound/pound.hash diff --git a/buildroot-2021.05/package/pound/pound.mk b/buildroot-2022.02.1/package/pound/pound.mk similarity index 100% rename from buildroot-2021.05/package/pound/pound.mk rename to buildroot-2022.02.1/package/pound/pound.mk diff --git a/buildroot-2021.05/package/powerpc-utils/Config.in b/buildroot-2022.02.1/package/powerpc-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/powerpc-utils/Config.in rename to buildroot-2022.02.1/package/powerpc-utils/Config.in diff --git a/buildroot-2021.05/package/powerpc-utils/powerpc-utils.hash b/buildroot-2022.02.1/package/powerpc-utils/powerpc-utils.hash similarity index 100% rename from buildroot-2021.05/package/powerpc-utils/powerpc-utils.hash rename to buildroot-2022.02.1/package/powerpc-utils/powerpc-utils.hash diff --git a/buildroot-2021.05/package/powerpc-utils/powerpc-utils.mk b/buildroot-2022.02.1/package/powerpc-utils/powerpc-utils.mk similarity index 100% rename from buildroot-2021.05/package/powerpc-utils/powerpc-utils.mk rename to buildroot-2022.02.1/package/powerpc-utils/powerpc-utils.mk diff --git a/buildroot-2021.05/package/powertop/0001-dont-force-stack-smashing-protection.patch b/buildroot-2022.02.1/package/powertop/0001-dont-force-stack-smashing-protection.patch similarity index 100% rename from buildroot-2021.05/package/powertop/0001-dont-force-stack-smashing-protection.patch rename to buildroot-2022.02.1/package/powertop/0001-dont-force-stack-smashing-protection.patch diff --git a/buildroot-2021.05/package/powertop/Config.in b/buildroot-2022.02.1/package/powertop/Config.in similarity index 100% rename from buildroot-2021.05/package/powertop/Config.in rename to buildroot-2022.02.1/package/powertop/Config.in diff --git a/buildroot-2021.05/package/powertop/powertop.hash b/buildroot-2022.02.1/package/powertop/powertop.hash similarity index 100% rename from buildroot-2021.05/package/powertop/powertop.hash rename to buildroot-2022.02.1/package/powertop/powertop.hash diff --git a/buildroot-2021.05/package/powertop/powertop.mk b/buildroot-2022.02.1/package/powertop/powertop.mk similarity index 100% rename from buildroot-2021.05/package/powertop/powertop.mk rename to buildroot-2022.02.1/package/powertop/powertop.mk diff --git a/buildroot-2021.05/package/powervr/Config.in b/buildroot-2022.02.1/package/powervr/Config.in similarity index 100% rename from buildroot-2021.05/package/powervr/Config.in rename to buildroot-2022.02.1/package/powervr/Config.in diff --git a/buildroot-2021.05/package/powervr/powervr.mk b/buildroot-2022.02.1/package/powervr/powervr.mk similarity index 100% rename from buildroot-2021.05/package/powervr/powervr.mk rename to buildroot-2022.02.1/package/powervr/powervr.mk diff --git a/buildroot-2022.02.1/package/pppd/0001-pppd-Fix-compilation-with-older-glibc-or-kernel-headers.patch b/buildroot-2022.02.1/package/pppd/0001-pppd-Fix-compilation-with-older-glibc-or-kernel-headers.patch new file mode 100644 index 00000000..86d8b8f4 --- /dev/null +++ b/buildroot-2022.02.1/package/pppd/0001-pppd-Fix-compilation-with-older-glibc-or-kernel-headers.patch @@ -0,0 +1,60 @@ +From 98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be Mon Sep 17 00:00:00 2001 +From: pali <7141871+pali@users.noreply.github.com> +Date: Mon, 15 Feb 2021 07:54:01 +0100 +Subject: [PATCH] pppd: Fix compilation with older glibc or kernel headers + (#248) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +glibc versions prior to 2.24 do not define SOL_NETLINK and linux kernel +versions prior to 4.3 do not define NETLINK_CAP_ACK. So add fallback +definitions for these macros into pppd/sys-linux.c file. + +Also extend description why we call SOL_NETLINK/NETLINK_CAP_ACK option. + +Signed-off-by: Pali Rohár + +[Retrieved from: +https://github.com/ppp-project/ppp/commit/98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be] +Signed-off-by: Fabrice Fontaine +--- + pppd/sys-linux.c | 18 +++++++++++++++++- + 1 file changed, 17 insertions(+), 1 deletion(-) + +diff --git a/pppd/sys-linux.c b/pppd/sys-linux.c +index 85033d97..50c4f2da 100644 +--- a/pppd/sys-linux.c ++++ b/pppd/sys-linux.c +@@ -125,6 +125,14 @@ + #include + #include + #include ++/* glibc versions prior to 2.24 do not define SOL_NETLINK */ ++#ifndef SOL_NETLINK ++#define SOL_NETLINK 270 ++#endif ++/* linux kernel versions prior to 4.3 do not define/support NETLINK_CAP_ACK */ ++#ifndef NETLINK_CAP_ACK ++#define NETLINK_CAP_ACK 10 ++#endif + #endif + + #include "pppd.h" +@@ -2843,7 +2851,15 @@ static int append_peer_ipv6_address(unsigned int iface, struct in6_addr *local_a + if (fd < 0) + return 0; + +- /* do not ask for error message content */ ++ /* ++ * Tell kernel to not send to us payload of acknowledgment error message. ++ * NETLINK_CAP_ACK option is supported since Linux kernel version 4.3 and ++ * older kernel versions always send full payload in acknowledgment netlink ++ * message. We ignore payload of this message as we need only error code, ++ * to check if our set remote peer address request succeeded or failed. ++ * So ignore return value from the following setsockopt() call as setting ++ * option NETLINK_CAP_ACK means for us just a kernel hint / optimization. ++ */ + one = 1; + setsockopt(fd, SOL_NETLINK, NETLINK_CAP_ACK, &one, sizeof(one)); + diff --git a/buildroot-2022.02.1/package/pppd/Config.in b/buildroot-2022.02.1/package/pppd/Config.in new file mode 100644 index 00000000..898d95f0 --- /dev/null +++ b/buildroot-2022.02.1/package/pppd/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_PPPD + bool "pppd" + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU + select BR2_PACKAGE_OPENSSL if BR2_TOOLCHAIN_USES_GLIBC + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + An implementation of the Point-to-point protocol. + + http://www.samba.org/ppp/ + +if BR2_PACKAGE_PPPD + +config BR2_PACKAGE_PPPD_FILTER + bool "filtering" + select BR2_PACKAGE_LIBPCAP + help + Packet filtering abilities for pppd. If enabled, + the pppd active-filter and pass-filter options + are available. + +config BR2_PACKAGE_PPPD_RADIUS + bool "radius" + help + Install RADIUS support for pppd + +config BR2_PACKAGE_PPPD_OVERWRITE_RESOLV_CONF + bool "overwrite /etc/resolv.conf" + default y + help + Overwrite /etc/resolv.conf instead of maintaining the + separate list of nameservers in /etc/ppp/resolv.conf + + Note that the pppd default of writing to /etc/ppp/resolv.conf + does not work on a read-only rootfs unless you make it + writable in your rootfs customizations (e.g. by linking it to + a file in tmpfs or by mounting a writable filesystem on it). + +endif + +comment "pppd needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/pppd/pppd.hash b/buildroot-2022.02.1/package/pppd/pppd.hash new file mode 100644 index 00000000..3d471695 --- /dev/null +++ b/buildroot-2022.02.1/package/pppd/pppd.hash @@ -0,0 +1,7 @@ +# Locally calculated +sha256 675bff4f366174649f4a3c92fd32ac476e694164ff2b0b7710019b6ead9c561e pppd-2.4.9.tar.gz +sha256 3990c65c506885f7bb75455d1d6188743a14ad46f5b62e136ef3739aed52c532 pppd/tdb.c +sha256 1822ead9d2854adfbd282322b29730a3fec4cc67f6f6a2e487aad3476e3afd59 pppd/plugins/pppoatm/COPYING +sha256 d759ec16875a69c2d5529f8cb3c040fef8fe38d26f70457aadb73c91b72746c8 pppdump/bsd-comp.c +sha256 c0d0f14b6ec9948332f10ded741293ed1f3b96e0d266e4903b605a6e1f8af7cd pppd/ccp.c +sha256 367f334c509db2b293aea5ce9f54284d9a9f6e0a9e0c6e305d544079baf8ab63 pppd/plugins/passprompt.c diff --git a/buildroot-2022.02.1/package/pppd/pppd.mk b/buildroot-2022.02.1/package/pppd/pppd.mk new file mode 100644 index 00000000..d9d6244f --- /dev/null +++ b/buildroot-2022.02.1/package/pppd/pppd.mk @@ -0,0 +1,131 @@ +################################################################################ +# +# pppd +# +################################################################################ + +PPPD_VERSION = 2.4.9 +PPPD_SITE = $(call github,paulusmack,ppp,ppp-$(PPPD_VERSION)) +PPPD_LICENSE = LGPL-2.0+, LGPL, BSD-4-Clause, BSD-3-Clause, GPL-2.0+ +PPPD_LICENSE_FILES = \ + pppd/tdb.c pppd/plugins/pppoatm/COPYING \ + pppdump/bsd-comp.c pppd/ccp.c pppd/plugins/passprompt.c +PPPD_CPE_ID_VENDOR = point-to-point_protocol_project +PPPD_CPE_ID_PRODUCT = point-to-point_protocol +PPPD_SELINUX_MODULES = ppp + +PPPD_MAKE_OPTS = HAVE_INET6=y + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +PPPD_DEPENDENCIES += openssl +PPPD_MAKE_OPTS += USE_EAPTLS=y +else +PPPD_MAKE_OPTS += \ + USE_CRYPT=y \ + USE_EAPTLS= +endif + +PPPD_INSTALL_STAGING = YES +PPPD_TARGET_BINS = chat pppd pppdump pppstats +PPPD_RADIUS_CONF = \ + dictionary dictionary.ascend dictionary.compat \ + dictionary.merit dictionary.microsoft \ + issue port-id-map realms servers radiusclient.conf + +ifeq ($(BR2_PACKAGE_PPPD_FILTER),y) +PPPD_DEPENDENCIES += libpcap +PPPD_MAKE_OPTS += FILTER=y +endif + +# pppd bundles some but not all of the needed kernel headers. The embedded +# if_pppol2tp.h is unfortunately not compatible with kernel headers > 2.6.34, +# and has been part of the kernel headers since 2.6.23, so drop it +define PPPD_DROP_INTERNAL_IF_PPOL2TP_H + $(RM) $(@D)/include/linux/if_pppol2tp.h +endef + +PPPD_POST_EXTRACT_HOOKS += PPPD_DROP_INTERNAL_IF_PPOL2TP_H + +# pppd defaults to /etc/ppp/resolv.conf, which not be writable and is +# definitely not useful since the C library only uses +# /etc/resolv.conf. Therefore, we change pppd to use /etc/resolv.conf +# instead. +define PPPD_SET_RESOLV_CONF + $(SED) 's,ppp/resolv.conf,resolv.conf,' $(@D)/pppd/pathnames.h +endef +ifeq ($(BR2_PACKAGE_PPPD_OVERWRITE_RESOLV_CONF),y) +PPPD_POST_EXTRACT_HOOKS += PPPD_SET_RESOLV_CONF +endif + +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15),y) +define PPPD_DROP_IPX + $(SED) 's/-DIPX_CHANGE//' $(PPPD_DIR)/pppd/Makefile.linux +endef +PPPD_POST_EXTRACT_HOOKS += PPPD_DROP_IPX +endif + +define PPPD_CONFIGURE_CMDS + $(SED) 's/FILTER=y/#FILTER=y/' $(PPPD_DIR)/pppd/Makefile.linux + $(SED) 's/ifneq ($$(wildcard \/usr\/include\/pcap-bpf.h),)/ifdef FILTER/' $(PPPD_DIR)/*/Makefile.linux + ( cd $(@D); $(TARGET_MAKE_ENV) ./configure --prefix=/usr ) +endef + +define PPPD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" COPTS="$(TARGET_CFLAGS)" \ + -C $(@D) $(PPPD_MAKE_OPTS) +endef + +ifeq ($(BR2_PACKAGE_PPPD_RADIUS),y) +define PPPD_INSTALL_RADIUS + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radattr.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radattr.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radius.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radius.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/radius/radrealms.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/radrealms.so + for m in $(PPPD_RADIUS_CONF); do \ + $(INSTALL) -m 644 -D $(PPPD_DIR)/pppd/plugins/radius/etc/$$m \ + $(TARGET_DIR)/etc/ppp/radius/$$m; \ + done + $(SED) 's:/usr/local/etc:/etc:' \ + $(TARGET_DIR)/etc/ppp/radius/radiusclient.conf + $(SED) 's:/usr/local/sbin:/usr/sbin:' \ + $(TARGET_DIR)/etc/ppp/radius/radiusclient.conf + $(SED) 's:/etc/radiusclient:/etc/ppp/radius:g' \ + $(TARGET_DIR)/etc/ppp/radius/* +endef +endif + +define PPPD_INSTALL_TARGET_CMDS + for sbin in $(PPPD_TARGET_BINS); do \ + $(INSTALL) -D $(PPPD_DIR)/$$sbin/$$sbin \ + $(TARGET_DIR)/usr/sbin/$$sbin; \ + done + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/minconn.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/minconn.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/passprompt.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/passprompt.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/passwordfd.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/passwordfd.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoatm/pppoatm.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppoatm.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoe/pppoe.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppoe.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppoe/pppoe-discovery \ + $(TARGET_DIR)/usr/sbin/pppoe-discovery + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/winbind.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/winbind.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/openl2tp.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/openl2tp.so + $(INSTALL) -D $(PPPD_DIR)/pppd/plugins/pppol2tp/pppol2tp.so \ + $(TARGET_DIR)/usr/lib/pppd/$(PPPD_VERSION)/pppol2tp.so + $(INSTALL) -D -m 0755 $(PPPD_DIR)/scripts/pon $(TARGET_DIR)/usr/bin/pon + $(INSTALL) -D -m 0755 $(PPPD_DIR)/scripts/poff $(TARGET_DIR)/usr/bin/poff + $(PPPD_INSTALL_RADIUS) +endef + +define PPPD_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) INSTROOT=$(STAGING_DIR)/ -C $(@D) $(PPPD_MAKE_OPTS) install-devel +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/pps-tools/Config.in b/buildroot-2022.02.1/package/pps-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/pps-tools/Config.in rename to buildroot-2022.02.1/package/pps-tools/Config.in diff --git a/buildroot-2021.05/package/pps-tools/pps-tools.hash b/buildroot-2022.02.1/package/pps-tools/pps-tools.hash similarity index 100% rename from buildroot-2021.05/package/pps-tools/pps-tools.hash rename to buildroot-2022.02.1/package/pps-tools/pps-tools.hash diff --git a/buildroot-2021.05/package/pps-tools/pps-tools.mk b/buildroot-2022.02.1/package/pps-tools/pps-tools.mk similarity index 100% rename from buildroot-2021.05/package/pps-tools/pps-tools.mk rename to buildroot-2022.02.1/package/pps-tools/pps-tools.mk diff --git a/buildroot-2021.05/package/pptp-linux/0001-susv3-legacy.patch b/buildroot-2022.02.1/package/pptp-linux/0001-susv3-legacy.patch similarity index 100% rename from buildroot-2021.05/package/pptp-linux/0001-susv3-legacy.patch rename to buildroot-2022.02.1/package/pptp-linux/0001-susv3-legacy.patch diff --git a/buildroot-2021.05/package/pptp-linux/0002-fix-parallel-build.patch b/buildroot-2022.02.1/package/pptp-linux/0002-fix-parallel-build.patch similarity index 100% rename from buildroot-2021.05/package/pptp-linux/0002-fix-parallel-build.patch rename to buildroot-2022.02.1/package/pptp-linux/0002-fix-parallel-build.patch diff --git a/buildroot-2021.05/package/pptp-linux/Config.in b/buildroot-2022.02.1/package/pptp-linux/Config.in similarity index 100% rename from buildroot-2021.05/package/pptp-linux/Config.in rename to buildroot-2022.02.1/package/pptp-linux/Config.in diff --git a/buildroot-2021.05/package/pptp-linux/pptp-linux.hash b/buildroot-2022.02.1/package/pptp-linux/pptp-linux.hash similarity index 100% rename from buildroot-2021.05/package/pptp-linux/pptp-linux.hash rename to buildroot-2022.02.1/package/pptp-linux/pptp-linux.hash diff --git a/buildroot-2021.05/package/pptp-linux/pptp-linux.mk b/buildroot-2022.02.1/package/pptp-linux/pptp-linux.mk similarity index 100% rename from buildroot-2021.05/package/pptp-linux/pptp-linux.mk rename to buildroot-2022.02.1/package/pptp-linux/pptp-linux.mk diff --git a/buildroot-2021.05/package/prboom/0001-libpng-1.4.patch b/buildroot-2022.02.1/package/prboom/0001-libpng-1.4.patch similarity index 100% rename from buildroot-2021.05/package/prboom/0001-libpng-1.4.patch rename to buildroot-2022.02.1/package/prboom/0001-libpng-1.4.patch diff --git a/buildroot-2021.05/package/prboom/0002-configure-remove-predefined-O2-optimization-flag.patch b/buildroot-2022.02.1/package/prboom/0002-configure-remove-predefined-O2-optimization-flag.patch similarity index 100% rename from buildroot-2021.05/package/prboom/0002-configure-remove-predefined-O2-optimization-flag.patch rename to buildroot-2022.02.1/package/prboom/0002-configure-remove-predefined-O2-optimization-flag.patch diff --git a/buildroot-2021.05/package/prboom/Config.in b/buildroot-2022.02.1/package/prboom/Config.in similarity index 100% rename from buildroot-2021.05/package/prboom/Config.in rename to buildroot-2022.02.1/package/prboom/Config.in diff --git a/buildroot-2021.05/package/prboom/prboom.hash b/buildroot-2022.02.1/package/prboom/prboom.hash similarity index 100% rename from buildroot-2021.05/package/prboom/prboom.hash rename to buildroot-2022.02.1/package/prboom/prboom.hash diff --git a/buildroot-2021.05/package/prboom/prboom.mk b/buildroot-2022.02.1/package/prboom/prboom.mk similarity index 100% rename from buildroot-2021.05/package/prboom/prboom.mk rename to buildroot-2022.02.1/package/prboom/prboom.mk diff --git a/buildroot-2022.02.1/package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch b/buildroot-2022.02.1/package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch new file mode 100644 index 00000000..cea1357d --- /dev/null +++ b/buildroot-2022.02.1/package/prelink-cross/0001-src-rtld-dl-tls.c-Fix-TLS-offsets-computation-for-s3.patch @@ -0,0 +1,43 @@ +From 4064f77d2f550762cbf220fec7c26a8ce4219ea4 Mon Sep 17 00:00:00 2001 +From: Alexander Egorenkov +Date: Sun, 8 Aug 2021 11:19:52 +0200 +Subject: [PATCH] src/rtld/dl-tls.c: Fix TLS offsets computation for s390 arch + +rtld_determine_tlsoffsets() didn't handle s390 arch properly by falling +back to the default case. If TLS_TCB_AT_TP is 1, then set offset to -1. + +From glibc's sysdeps/s390/nptl/tls.h: +------------------------------------- +/* The TCB can have any size and the memory following the address the + thread pointer points to is unspecified. Allocate the TCB there. */ +define TLS_TCB_AT_TP 1 +define TLS_DTV_AT_TP 0 + +This lead to the following error: +--------------------------------- +prelink-rtld: error while loading shared libraries: /lib64/libc.so.6: cannot handle TLS data + +Signed-off-by: Alexander Egorenkov +--- + src/rtld/dl-tls.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/rtld/dl-tls.c b/src/rtld/dl-tls.c +index 280cee45f950..29422dcfd25e 100644 +--- a/src/rtld/dl-tls.c ++++ b/src/rtld/dl-tls.c +@@ -143,6 +143,11 @@ rtld_determine_tlsoffsets (int e_machine, struct r_scope_elem *search_list) + tls_tcb_size = 0; + break; + ++ case EM_S390: ++ tls_tcb_at_tp = 1; ++ tls_tcb_size = -1; ++ break; ++ + default: + /* Hope there's no TLS! */ + for (i = 0; i < search_list->r_nlist; i++) +-- +2.31.1 + diff --git a/buildroot-2021.05/package/prelink-cross/prelink-cross.hash b/buildroot-2022.02.1/package/prelink-cross/prelink-cross.hash similarity index 100% rename from buildroot-2021.05/package/prelink-cross/prelink-cross.hash rename to buildroot-2022.02.1/package/prelink-cross/prelink-cross.hash diff --git a/buildroot-2021.05/package/prelink-cross/prelink-cross.mk b/buildroot-2022.02.1/package/prelink-cross/prelink-cross.mk similarity index 100% rename from buildroot-2021.05/package/prelink-cross/prelink-cross.mk rename to buildroot-2022.02.1/package/prelink-cross/prelink-cross.mk diff --git a/buildroot-2021.05/package/privoxy/Config.in b/buildroot-2022.02.1/package/privoxy/Config.in similarity index 100% rename from buildroot-2021.05/package/privoxy/Config.in rename to buildroot-2022.02.1/package/privoxy/Config.in diff --git a/buildroot-2022.02.1/package/privoxy/privoxy.hash b/buildroot-2022.02.1/package/privoxy/privoxy.hash new file mode 100644 index 00000000..cf1056ec --- /dev/null +++ b/buildroot-2022.02.1/package/privoxy/privoxy.hash @@ -0,0 +1,6 @@ +# From https://sourceforge.net/projects/ijbswa/files/Sources/3.0.33%20%28stable%29/ +md5 d6caf3eaad4812f0658b68d5b3ba3a06 privoxy-3.0.33-stable-src.tar.gz +sha1 688da305077d8ecbcf6423e02201f01f7a7098f4 privoxy-3.0.33-stable-src.tar.gz +# Locally computed +sha256 04b104e70dac61561b9dd110684b250fafc8c13dbe437a60fae18ddd9a881fae privoxy-3.0.33-stable-src.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/privoxy/privoxy.mk b/buildroot-2022.02.1/package/privoxy/privoxy.mk new file mode 100644 index 00000000..06642200 --- /dev/null +++ b/buildroot-2022.02.1/package/privoxy/privoxy.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# privoxy +# +################################################################################ + +PRIVOXY_VERSION = 3.0.33 +PRIVOXY_SITE = http://downloads.sourceforge.net/project/ijbswa/Sources/$(PRIVOXY_VERSION)%20%28stable%29 +PRIVOXY_SOURCE = privoxy-$(PRIVOXY_VERSION)-stable-src.tar.gz +# configure not shipped +PRIVOXY_AUTORECONF = YES +PRIVOXY_DEPENDENCIES = pcre zlib +PRIVOXY_LICENSE = GPL-2.0+ +PRIVOXY_LICENSE_FILES = LICENSE +PRIVOXY_CPE_ID_VENDOR = privoxy +PRIVOXY_SELINUX_MODULES = privoxy + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/procps-ng/0001-configure-Add--disable-w.patch b/buildroot-2022.02.1/package/procps-ng/0001-configure-Add--disable-w.patch new file mode 100644 index 00000000..8a699df5 --- /dev/null +++ b/buildroot-2022.02.1/package/procps-ng/0001-configure-Add--disable-w.patch @@ -0,0 +1,93 @@ +From 1524a625e693b956ce0b5091c9f89f24fb7e8614 Mon Sep 17 00:00:00 2001 +From: "Issam E. Maghni" +Date: Fri, 23 Apr 2021 15:58:36 -0400 +Subject: [PATCH] configure: Add --disable-w + +[Retrieved (and backported) from: +https://gitlab.com/procps-ng/procps/-/commit/1524a625e693b956ce0b5091c9f89f24fb7e8614] +Signed-off-by: Fabrice Fontaine +--- + Makefile.am | 21 +++++++++++++++------ + configure.ac | 6 ++++++ + 2 files changed, 21 insertions(+), 6 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index de15e137..d2356872 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -47,8 +47,7 @@ bin_PROGRAMS = \ + pwdx \ + tload \ + uptime \ +- vmstat \ +- w ++ vmstat + if BUILD_PWAIT + bin_PROGRAMS += pwait + endif +@@ -60,8 +59,7 @@ usrbin_exec_PROGRAMS += \ + pkill \ + pmap \ + uptime \ +- vmstat \ +- w ++ vmstat + endif + + lib_LTLIBRARIES = \ +@@ -74,7 +72,6 @@ dist_man_MANS = \ + pmap.1 \ + uptime.1 \ + vmstat.8 \ +- w.1 \ + ps/procps.1 + + if !CYGWIN +@@ -137,6 +134,19 @@ else + EXTRA_DIST += kill.1 + endif + ++if BUILD_W ++if CYGWIN ++usrbin_exec_PROGRAMS += w ++else ++bin_PROGRAMS += w ++endif ++ ++dist_man_MANS += w.1 ++w_SOURCES = w.c lib/fileutils.c ++else ++ EXTRA_DIST += w.1 ++endif ++ + if WITH_NCURSES + if !CYGWIN + bin_PROGRAMS += \ +@@ -213,7 +223,6 @@ endif + tload_SOURCES = tload.c lib/strutils.c lib/fileutils.c + uptime_SOURCES = uptime.c lib/fileutils.c + vmstat_SOURCES = vmstat.c lib/strutils.c lib/fileutils.c +-w_SOURCES = w.c lib/fileutils.c + + # proc/libprocps.la + +diff --git a/configure.ac b/configure.ac +index 750c0fbb..3e83fb88 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -234,6 +234,12 @@ AC_ARG_ENABLE([kill], + [], [enable_kill=yes] + ) + AM_CONDITIONAL(BUILD_KILL, test "x$enable_kill" = xyes) ++AC_ARG_ENABLE([w], ++ AS_HELP_STRING([--disable-w], [do not build w]), ++ [], [enable_w=yes] ++) ++AM_CONDITIONAL(BUILD_W, test "x$enable_w" = xyes) ++ + AM_CONDITIONAL(LINUX, test "x$host_os" = xlinux-gnu) + AM_CONDITIONAL(CYGWIN, test "x$host_os" = xcygwin) + +-- +GitLab + diff --git a/buildroot-2022.02.1/package/procps-ng/0002-escape-c-Fix-missing-nl_langinfo-on-certain-configs.patch b/buildroot-2022.02.1/package/procps-ng/0002-escape-c-Fix-missing-nl_langinfo-on-certain-configs.patch new file mode 100644 index 00000000..f3e2b126 --- /dev/null +++ b/buildroot-2022.02.1/package/procps-ng/0002-escape-c-Fix-missing-nl_langinfo-on-certain-configs.patch @@ -0,0 +1,34 @@ +From 2763b9880a7aab569694d6ee3170dd7341a26b84 Mon Sep 17 00:00:00 2001 +From: "Issam E. Maghni" +Date: Fri, 23 Apr 2021 16:53:39 -0400 +Subject: [PATCH] escape.c: Fix missing nl_langinfo on certain configs + +[Retrieved from: +https://gitlab.com/procps-ng/procps/-/commit/2763b9880a7aab569694d6ee3170dd7341a26b84] +Signed-off-by: Fabrice Fontaine +--- + proc/escape.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/proc/escape.c b/proc/escape.c +index 2e8fb7dd..cf4a80de 100644 +--- a/proc/escape.c ++++ b/proc/escape.c +@@ -24,13 +24,13 @@ + #include "procps.h" + #include "escape.h" + #include "readproc.h" ++#include "nls.h" + + #if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__)) + # include + # include + # include /* MB_CUR_MAX */ + # include +-# include + #endif + + #define SECURE_ESCAPE_ARGS(dst, bytes, cells) do { \ +-- +GitLab + diff --git a/buildroot-2021.05/package/procps-ng/Config.in b/buildroot-2022.02.1/package/procps-ng/Config.in similarity index 100% rename from buildroot-2021.05/package/procps-ng/Config.in rename to buildroot-2022.02.1/package/procps-ng/Config.in diff --git a/buildroot-2021.05/package/procps-ng/S02sysctl b/buildroot-2022.02.1/package/procps-ng/S02sysctl similarity index 100% rename from buildroot-2021.05/package/procps-ng/S02sysctl rename to buildroot-2022.02.1/package/procps-ng/S02sysctl diff --git a/buildroot-2022.02.1/package/procps-ng/procps-ng.hash b/buildroot-2022.02.1/package/procps-ng/procps-ng.hash new file mode 100644 index 00000000..09f2ebd0 --- /dev/null +++ b/buildroot-2022.02.1/package/procps-ng/procps-ng.hash @@ -0,0 +1,8 @@ +# From http://sourceforge.net/projects/procps-ng/files/Production/ +md5 d60613e88c2f442ebd462b5a75313d56 procps-ng-3.3.17.tar.xz +sha1 a52952e8bc6aaab812176c00d25adc4d4e1552e2 procps-ng-3.3.17.tar.xz +# Locally calculated after checking signature +# http://downloads.sourceforge.net/project/procps-ng/Production/procps-ng-3.3.17.tar.xz.asc +sha256 4518b3e7aafd34ec07d0063d250fd474999b20b200218c3ae56f5d2113f141b4 procps-ng-3.3.17.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 681e386e44a19d7d0674b4320272c90e66b6610b741e7e6305f8219c42e85366 COPYING.LIB diff --git a/buildroot-2022.02.1/package/procps-ng/procps-ng.mk b/buildroot-2022.02.1/package/procps-ng/procps-ng.mk new file mode 100644 index 00000000..46f75a48 --- /dev/null +++ b/buildroot-2022.02.1/package/procps-ng/procps-ng.mk @@ -0,0 +1,67 @@ +################################################################################ +# +# procps-ng +# +################################################################################ + +PROCPS_NG_VERSION = 3.3.17 +PROCPS_NG_SOURCE = procps-ng-$(PROCPS_NG_VERSION).tar.xz +PROCPS_NG_SITE = http://downloads.sourceforge.net/project/procps-ng/Production +PROCPS_NG_LICENSE = GPL-2.0+, LGPL-2.0+ (libproc and libps) +PROCPS_NG_LICENSE_FILES = COPYING COPYING.LIB +PROCPS_NG_CPE_ID_VENDOR = procps-ng_project +PROCPS_NG_INSTALL_STAGING = YES +# We're patching configure.ac +PROCPS_NG_AUTORECONF = YES +PROCPS_NG_DEPENDENCIES = ncurses host-pkgconf $(TARGET_NLS_DEPENDENCIES) +PROCPS_NG_CONF_OPTS = LIBS=$(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +PROCPS_NG_DEPENDENCIES += systemd +PROCPS_NG_CONF_OPTS += --with-systemd +else +PROCPS_NG_CONF_OPTS += --without-systemd +endif + +# Make sure binaries get installed in /bin, as busybox does, so that we +# don't end up with two versions. +# Make sure libprocps.pc is installed in STAGING_DIR/usr/lib/pkgconfig/ +# otherwise it's installed in STAGING_DIR/lib/pkgconfig/ breaking +# pkg-config --libs libprocps. +PROCPS_NG_CONF_OPTS += --exec-prefix=/ \ + --libdir=/usr/lib + +# Allows unicode characters to show in 'watch' +ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) +PROCPS_NG_CONF_OPTS += \ + --enable-watch8bit +endif + +ifeq ($(BR2_USE_WCHAR),) +PROCPS_NG_CONF_OPTS += CPPFLAGS=-DOFF_XTRAWIDE +endif + +# numa support requires libdl, so explicitly disable it when +# BR2_STATIC_LIBS=y +ifeq ($(BR2_STATIC_LIBS),y) +PROCPS_NG_CONF_OPTS += --disable-numa +endif + +# w requires utmp.h +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +PROCPS_NG_CONF_OPTS += --disable-w +else +PROCPS_NG_CONF_OPTS += --enable-w +endif + +# Avoid installing S02sysctl, since openrc provides /etc/init.d/sysctl. +define PROCPS_NG_INSTALL_INIT_OPENRC + @: +endef + +define PROCPS_NG_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/procps-ng/S02sysctl \ + $(TARGET_DIR)/etc/init.d/S02sysctl +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/procrank_linux/Config.in b/buildroot-2022.02.1/package/procrank_linux/Config.in similarity index 100% rename from buildroot-2021.05/package/procrank_linux/Config.in rename to buildroot-2022.02.1/package/procrank_linux/Config.in diff --git a/buildroot-2021.05/package/procrank_linux/procrank_linux.hash b/buildroot-2022.02.1/package/procrank_linux/procrank_linux.hash similarity index 100% rename from buildroot-2021.05/package/procrank_linux/procrank_linux.hash rename to buildroot-2022.02.1/package/procrank_linux/procrank_linux.hash diff --git a/buildroot-2021.05/package/procrank_linux/procrank_linux.mk b/buildroot-2022.02.1/package/procrank_linux/procrank_linux.mk similarity index 100% rename from buildroot-2021.05/package/procrank_linux/procrank_linux.mk rename to buildroot-2022.02.1/package/procrank_linux/procrank_linux.mk diff --git a/buildroot-2021.05/package/proftpd/0001-mod_quotatab-fix-build-failure-against-gcc-10.patch b/buildroot-2022.02.1/package/proftpd/0001-mod_quotatab-fix-build-failure-against-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/proftpd/0001-mod_quotatab-fix-build-failure-against-gcc-10.patch rename to buildroot-2022.02.1/package/proftpd/0001-mod_quotatab-fix-build-failure-against-gcc-10.patch diff --git a/buildroot-2022.02.1/package/proftpd/Config.in b/buildroot-2022.02.1/package/proftpd/Config.in new file mode 100644 index 00000000..83094028 --- /dev/null +++ b/buildroot-2022.02.1/package/proftpd/Config.in @@ -0,0 +1,105 @@ +config BR2_PACKAGE_PROFTPD + bool "proftpd" + depends on BR2_USE_MMU # fork() + help + ProFTPD, a highly configurable FTP server. + + http://www.proftpd.org/ + +if BR2_PACKAGE_PROFTPD + +config BR2_PACKAGE_PROFTPD_MOD_CAP + bool "mod_cap support" + select BR2_PACKAGE_LIBCAP + help + Compile ProFTPD with mod_cap support + +config BR2_PACKAGE_PROFTPD_MOD_REWRITE + bool "mod_rewrite support" + help + Compile ProFTPD with mod_rewrite support + +config BR2_PACKAGE_PROFTPD_MOD_REDIS + bool "mod_redis support" + select BR2_PACKAGE_HIREDIS + help + The mod_redis module enables ProFTPD support for caching + data in Redis servers, using the hiredis client library. + +config BR2_PACKAGE_PROFTPD_MOD_SFTP + bool "mod_sftp support" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + help + Compile ProFTPD with mod_sftp support + +config BR2_PACKAGE_PROFTPD_MOD_SQL + bool "mod_sql support" + help + Compile ProFTPD with mod_sql support. + +if BR2_PACKAGE_PROFTPD_MOD_SQL + +config BR2_PACKAGE_PROFTPD_MOD_SQL_SQLITE + bool "mod_sql_sqlite support" + select BR2_PACKAGE_SQLITE + help + Compile ProFTPD with mod_sql_sqlite support. + +endif + +config BR2_PACKAGE_PROFTPD_MOD_SFTP_SQL + bool "mod_sftp_sql support" + select BR2_PACKAGE_PROFTPD_MOD_SQL + select BR2_PACKAGE_PROFTPD_MOD_SFTP + help + Compile ProFTPD with mod_sftp_sql support + +config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB + bool "mod_quotatab support" + help + Compile ProFTPD with mod_quotatab support. This module + is required in order to support quota tables: + 1. mod_quotatab_file + 2. mod_quotatab_ldap + 3. mod_quotatab_radius + 4. mod_quotatab_sql + +if BR2_PACKAGE_PROFTPD_MOD_QUOTATAB + +config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_FILE + bool "mod_quotatab_file table support" + help + Compile mod_quotatab with mod_quotatab_file table. + +config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_LDAP + bool "mod_quotatab_ldap table support" + help + Compile mod_quotatab with mod_quotatab_ldap table. + +config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_RADIUS + bool "mod_quotatab_radius table support" + help + Compile mod_quotatab with mod_quotatab_radius table. + +config BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_SQL + bool "mod_quotatab_sql table support" + select BR2_PACKAGE_PROFTPD_MOD_SQL + help + Compile mod_quotatab with mod_quotatab_sql table. + +endif + +config BR2_PACKAGE_PROFTPD_BUFFER_SIZE + int "buffer size in bytes (0 for default)" + default "0" + help + By increasing the buffer size above the default of 1K, + proftpd reads and writes data in larger chunks, and makes + fewer expensive system calls. Use of this option to set buffer + sizes of 8K or more has been reported to drastically increase + transfer speeds (depending on network configurations). + + 0 uses the default size of 1024. + +endif diff --git a/buildroot-2021.05/package/proftpd/S50proftpd b/buildroot-2022.02.1/package/proftpd/S50proftpd similarity index 100% rename from buildroot-2021.05/package/proftpd/S50proftpd rename to buildroot-2022.02.1/package/proftpd/S50proftpd diff --git a/buildroot-2021.05/package/proftpd/proftpd.hash b/buildroot-2022.02.1/package/proftpd/proftpd.hash similarity index 100% rename from buildroot-2021.05/package/proftpd/proftpd.hash rename to buildroot-2022.02.1/package/proftpd/proftpd.hash diff --git a/buildroot-2022.02.1/package/proftpd/proftpd.mk b/buildroot-2022.02.1/package/proftpd/proftpd.mk new file mode 100644 index 00000000..64c16a84 --- /dev/null +++ b/buildroot-2022.02.1/package/proftpd/proftpd.mk @@ -0,0 +1,139 @@ +################################################################################ +# +# proftpd +# +################################################################################ + +PROFTPD_VERSION = 1.3.6e +PROFTPD_SITE = $(call github,proftpd,proftpd,v$(PROFTPD_VERSION)) +PROFTPD_LICENSE = GPL-2.0+ +PROFTPD_LICENSE_FILES = COPYING +PROFTPD_CPE_ID_VENDOR = proftpd +PROFTPD_SELINUX_MODULES = ftp + +PROFTPD_CONF_ENV = \ + ac_cv_func_setpgrp_void=yes \ + ac_cv_func_setgrent_void=yes + +PROFTPD_CONF_OPTS = \ + --localstatedir=/var/run \ + --disable-static \ + --disable-curses \ + --disable-ncurses \ + --disable-facl \ + --disable-dso \ + --enable-sendfile \ + --enable-shadow \ + --with-gnu-ld \ + --without-openssl-cmdline + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_CAP),y) +PROFTPD_CONF_OPTS += --enable-cap +PROFTPD_DEPENDENCIES += libcap +else +PROFTPD_CONF_OPTS += --disable-cap +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REWRITE),y) +PROFTPD_MODULES += mod_rewrite +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_REDIS),y) +PROFTPD_CONF_OPTS += --enable-redis +PROFTPD_DEPENDENCIES += hiredis +else +PROFTPD_CONF_OPTS += --disable-redis +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SFTP),y) +PROFTPD_CONF_OPTS += --enable-openssl +PROFTPD_MODULES += mod_sftp +PROFTPD_DEPENDENCIES += openssl +else +PROFTPD_CONF_OPTS += --disable-openssl +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SQL),y) +PROFTPD_MODULES += mod_sql +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SQL_SQLITE),y) +PROFTPD_MODULES += mod_sql_sqlite +PROFTPD_DEPENDENCIES += sqlite +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_SFTP_SQL),y) +PROFTPD_MODULES += mod_sftp_sql +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB),y) +PROFTPD_MODULES += mod_quotatab +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_FILE),y) +PROFTPD_MODULES += mod_quotatab_file +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_LDAP),y) +PROFTPD_MODULES += mod_quotatab_ldap +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_RADIUS),y) +PROFTPD_MODULES += mod_quotatab_radius +endif + +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB_SQL),y) +PROFTPD_MODULES += mod_quotatab_sql +endif + +PROFTPD_CONF_OPTS += --with-modules=$(subst $(space),:,$(PROFTPD_MODULES)) + +# configure script doesn't handle detection of %llu format string +# support for printing the file size when cross compiling, breaking +# access for large files. +# We unfortunately cannot AUTORECONF the package, so instead force it +# on if we know we support it +define PROFTPD_USE_LLU + $(SED) 's/HAVE_LU/HAVE_LLU/' $(@D)/configure +endef +PROFTPD_PRE_CONFIGURE_HOOKS += PROFTPD_USE_LLU + +PROFTPD_MAKE = $(MAKE1) + +# install Perl based scripts in target +ifeq ($(BR2_PACKAGE_PERL),y) +ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB),y) +define PROFTPD_INSTALL_FTPQUOTA + $(INSTALL) -D -m 0755 $(@D)/contrib/ftpquota $(TARGET_DIR)/usr/sbin/ftpquota +endef +endif +define PROFTPD_INSTALL_FTPASSWD + $(INSTALL) -D -m 0755 $(@D)/contrib/ftpasswd $(TARGET_DIR)/usr/sbin/ftpasswd +endef +endif + +define PROFTPD_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd + $(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf + $(PROFTPD_INSTALL_FTPQUOTA) + $(PROFTPD_INSTALL_FTPASSWD) +endef + +define PROFTPD_USERS + ftp -1 ftp -1 * /home/ftp - - Anonymous FTP User +endef + +define PROFTPD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/proftpd/S50proftpd $(TARGET_DIR)/etc/init.d/S50proftpd +endef + +define PROFTPD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/proftpd/proftpd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/proftpd.service +endef + +ifneq ($(BR2_PACKAGE_PROFTPD_BUFFER_SIZE),0) +PROFTPD_CONF_OPTS += --enable-buffer-size=$(BR2_PACKAGE_PROFTPD_BUFFER_SIZE) +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/proftpd/proftpd.service b/buildroot-2022.02.1/package/proftpd/proftpd.service similarity index 100% rename from buildroot-2021.05/package/proftpd/proftpd.service rename to buildroot-2022.02.1/package/proftpd/proftpd.service diff --git a/buildroot-2021.05/package/proj/Config.in b/buildroot-2022.02.1/package/proj/Config.in similarity index 100% rename from buildroot-2021.05/package/proj/Config.in rename to buildroot-2022.02.1/package/proj/Config.in diff --git a/buildroot-2022.02.1/package/proj/proj.hash b/buildroot-2022.02.1/package/proj/proj.hash new file mode 100644 index 00000000..96d94e45 --- /dev/null +++ b/buildroot-2022.02.1/package/proj/proj.hash @@ -0,0 +1,5 @@ +# Fetched from http://download.osgeo.org/proj/proj-8.1.1.tar.gz.md5 +md5 f017fd7d35311b0d65b2cf0503844690 proj-8.1.1.tar.gz +# Locally calculated +sha256 82f1345e5fa530c407cb1fc0752e83f8d08d2b98772941bbdc7820241f7fada2 proj-8.1.1.tar.gz +sha256 6a8f30793e877d32e3f88b972f0970a051a3b5a26cd057d3993cb51e21c43319 COPYING diff --git a/buildroot-2022.02.1/package/proj/proj.mk b/buildroot-2022.02.1/package/proj/proj.mk new file mode 100644 index 00000000..bc924b41 --- /dev/null +++ b/buildroot-2022.02.1/package/proj/proj.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# proj +# +################################################################################ + +PROJ_VERSION = 8.1.1 +PROJ_SITE = http://download.osgeo.org/proj +PROJ_LICENSE = MIT +PROJ_LICENSE_FILES = COPYING +PROJ_INSTALL_STAGING = YES +PROJ_DEPENDENCIES = host-pkgconf host-sqlite sqlite + +PROJ_CFLAGS = $(TARGET_CFLAGS) +PROJ_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_68485),y) +PROJ_CFLAGS += -O0 +PROJ_CXXFLAGS += -O0 +endif + +PROJ_CONF_ENV = \ + CFLAGS="$(PROJ_CFLAGS)" \ + CXXFLAGS="$(PROJ_CXXFLAGS)" + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +PROJ_DEPENDENCIES += libcurl +PROJ_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr/bin/curl-config +else +PROJ_CONF_OPTS += --without-curl +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +PROJ_DEPENDENCIES += tiff +PROJ_CONF_OPTS += --enable-tiff +else +PROJ_CONF_OPTS += --disable-tiff +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/prosody/0001-enable-syslog.patch b/buildroot-2022.02.1/package/prosody/0001-enable-syslog.patch new file mode 100644 index 00000000..5f09fa90 --- /dev/null +++ b/buildroot-2022.02.1/package/prosody/0001-enable-syslog.patch @@ -0,0 +1,25 @@ +From 267b5d195be0f3a8f00ccf4ccb62e25a9c4e48eb Mon Sep 17 00:00:00 2001 +From: Francois Perrad +Date: Sun, 22 Oct 2017 08:44:01 +0200 +Subject: [PATCH] enable syslog + +note: the posix module is auto-loaded by default + +Signed-off-by: Francois Perrad + +diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist +index a0fc6c9e..af3cc0e4 100644 +--- a/prosody.cfg.lua.dist ++++ b/prosody.cfg.lua.dist +@@ -166,7 +166,7 @@ archive_expires_after = "1w" -- Remove archived messages after 1 week + log = { + info = "prosody.log"; -- Change 'info' to 'debug' for verbose logging + error = "prosody.err"; +- -- "*syslog"; -- Uncomment this for logging to syslog ++ "*syslog"; -- Uncomment this for logging to syslog + -- "*console"; -- Log to the console, useful for debugging with daemonize=false + } + +-- +2.11.0 + diff --git a/buildroot-2022.02.1/package/prosody/0002-add-pidfile.patch b/buildroot-2022.02.1/package/prosody/0002-add-pidfile.patch new file mode 100644 index 00000000..0653ed72 --- /dev/null +++ b/buildroot-2022.02.1/package/prosody/0002-add-pidfile.patch @@ -0,0 +1,26 @@ +From 124d479195ac8ec1747b5b89fe4860d0e92c2aae Mon Sep 17 00:00:00 2001 +From: Francois Perrad +Date: Sun, 22 Oct 2017 08:58:11 +0200 +Subject: [PATCH] add pidfile + +see https://prosody.im/doc/configure#posix-only_options + +Signed-off-by: Francois Perrad + +diff --git a/prosody.cfg.lua.dist b/prosody.cfg.lua.dist +index af3cc0e4..675db12f 100644 +--- a/prosody.cfg.lua.dist ++++ b/prosody.cfg.lua.dist +@@ -187,6 +187,9 @@ log = { + -- HTTPS currently only supports a single certificate, specify it here: + --https_certificate = "certs/localhost.crt" + ++-- This must match the PIDFILE used in S50prosody ++pidfile = "/var/run/prosody/prosody.pid" ++ + ----------- Virtual hosts ----------- + -- You need to add a VirtualHost entry for each domain you wish Prosody to serve. + -- Settings under each VirtualHost entry apply *only* to that host. +-- +2.11.0 + diff --git a/buildroot-2021.05/package/prosody/Config.in b/buildroot-2022.02.1/package/prosody/Config.in similarity index 100% rename from buildroot-2021.05/package/prosody/Config.in rename to buildroot-2022.02.1/package/prosody/Config.in diff --git a/buildroot-2021.05/package/prosody/S50prosody b/buildroot-2022.02.1/package/prosody/S50prosody similarity index 100% rename from buildroot-2021.05/package/prosody/S50prosody rename to buildroot-2022.02.1/package/prosody/S50prosody diff --git a/buildroot-2022.02.1/package/prosody/prosody.hash b/buildroot-2022.02.1/package/prosody/prosody.hash new file mode 100644 index 00000000..3a3a363a --- /dev/null +++ b/buildroot-2022.02.1/package/prosody/prosody.hash @@ -0,0 +1,8 @@ +# Locally computed: +md5 7214ee57d4702585bd0d3428e69790b4 prosody-0.11.13.tar.gz +sha1 1cc5a72d98738872d0c1a4c34b1fcb8878348c7d prosody-0.11.13.tar.gz +sha256 39c61b346a09b5125b604cb969e14206cbbcb86c81156ffc6ba2d62527cf0432 prosody-0.11.13.tar.gz +sha512 7616785536b7b51767a26963a80c961ef2403609e1e78dda3f88cf68c00d5bb899278c70a22b006b58c36c62cbb1bbd390a9298bad5b8d6524928a1cd5457813 prosody-0.11.13.tar.gz + +# Hash for license file: +sha256 bbbdc1c5426e5944cf869fc0faeaf19d88a220cd2b39ea98b7b8e86b0e88a2ef COPYING diff --git a/buildroot-2022.02.1/package/prosody/prosody.mk b/buildroot-2022.02.1/package/prosody/prosody.mk new file mode 100644 index 00000000..62ba073b --- /dev/null +++ b/buildroot-2022.02.1/package/prosody/prosody.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# prosody +# +################################################################################ + +PROSODY_VERSION = 0.11.13 +PROSODY_SITE = https://prosody.im/downloads/source +PROSODY_LICENSE = MIT +PROSODY_LICENSE_FILES = COPYING +PROSODY_CPE_ID_VENDOR = prosody +PROSODY_DEPENDENCIES = host-luainterpreter luainterpreter libidn openssl + +PROSODY_CFLAGS = $(TARGET_CFLAGS) -fPIC -std=c99 \ + $(if BR2_TOOLCHAIN_USES_MUSL,-DWITHOUT_MALLINFO) + +PROSODY_CONF_OPTS = \ + --with-lua-bin=$(HOST_DIR)/bin \ + --with-lua=$(STAGING_DIR)/usr \ + --lua-version=$(LUAINTERPRETER_ABIVER) \ + --c-compiler=$(TARGET_CC) \ + --cflags="$(PROSODY_CFLAGS)" \ + --linker=$(TARGET_CC) \ + --ldflags="$(TARGET_LDFLAGS) -shared" \ + --sysconfdir=/etc/prosody \ + --prefix=/usr + +ifeq ($(BR2_PACKAGE_LUAJIT),y) +PROSODY_CONF_OPTS += --runwith=luajit +endif + +define PROSODY_CONFIGURE_CMDS + cd $(@D) && \ + $(TARGET_CONFIGURE_OPTS) \ + ./configure $(PROSODY_CONF_OPTS) +endef + +define PROSODY_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define PROSODY_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install +endef + +define PROSODY_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/prosody/S50prosody \ + $(TARGET_DIR)/etc/init.d/S50prosody +endef + +define PROSODY_USERS + prosody -1 prosody -1 * - - - Prosody user +endef + +# make install installs a Makefile and meta data to generate certs +define PROSODY_REMOVE_CERT_GENERATOR + rm -f $(TARGET_DIR)/etc/prosody/certs/Makefile + rm -f $(TARGET_DIR)/etc/prosody/certs/*.cnf +endef + +PROSODY_POST_INSTALL_TARGET_HOOKS += PROSODY_REMOVE_CERT_GENERATOR + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/protobuf-c/Config.in b/buildroot-2022.02.1/package/protobuf-c/Config.in similarity index 100% rename from buildroot-2021.05/package/protobuf-c/Config.in rename to buildroot-2022.02.1/package/protobuf-c/Config.in diff --git a/buildroot-2022.02.1/package/protobuf-c/protobuf-c.hash b/buildroot-2022.02.1/package/protobuf-c/protobuf-c.hash new file mode 100644 index 00000000..13e1b474 --- /dev/null +++ b/buildroot-2022.02.1/package/protobuf-c/protobuf-c.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 1068bca1e9870e9492096f97c409cd15f10c5019c183e52ec6d53e8d18630cbf protobuf-c-1.4.0.tar.gz +sha256 20e800cad4550f4b19bb37fc9577dac21de13333ae66497c4c45ae489c35c34a LICENSE diff --git a/buildroot-2022.02.1/package/protobuf-c/protobuf-c.mk b/buildroot-2022.02.1/package/protobuf-c/protobuf-c.mk new file mode 100644 index 00000000..baea4d62 --- /dev/null +++ b/buildroot-2022.02.1/package/protobuf-c/protobuf-c.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# protobuf-c +# +################################################################################ + +PROTOBUF_C_VERSION = 1.4.0 +PROTOBUF_C_SITE = $(call github,protobuf-c,protobuf-c,v$(PROTOBUF_C_VERSION)) +PROTOBUF_C_DEPENDENCIES = host-protobuf-c +HOST_PROTOBUF_C_DEPENDENCIES = host-protobuf host-pkgconf +PROTOBUF_C_MAKE = $(MAKE1) +PROTOBUF_C_CONF_OPTS = --disable-protoc +PROTOBUF_C_INSTALL_STAGING = YES +PROTOBUF_C_LICENSE = BSD-2-Clause +PROTOBUF_C_LICENSE_FILES = LICENSE +PROTOBUF_C_AUTORECONF = YES +HOST_PROTOBUF_C_AUTORECONF = YES + +# host-protobuf needs c++11 (since 3.6.0) +HOST_PROTOBUF_C_CONF_ENV += CXXFLAGS="$(HOST_CXXFLAGS) -std=c++11" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/protobuf/Config.in b/buildroot-2022.02.1/package/protobuf/Config.in new file mode 100644 index 00000000..46c820b9 --- /dev/null +++ b/buildroot-2022.02.1/package/protobuf/Config.in @@ -0,0 +1,45 @@ +# See src/google/protobuf/stubs/platform_macros.h for supported archs. +# +# On PowerPC, the __atomic_*() built-ins for 1-byte, 2-byte and 4-byte +# types are available built-in. However, the __atomic_*() built-ins for +# 8-byte types is implemented via libatomic, so only available since gcc +# 4.8. +# +# In Buildroot, to simplify things, we've decided to simply require gcc +# 4.8 as soon as the architectures has at least one __atomic_*() built-in +# variant that requires libatomic. +# +# Since protobuf most likely only uses the 1, 2 and 4-byte variants, it +# *could* technically build with gcc 4.7. This is probably not a big deal, +# and we can live with requiring gcc 4.8 on PowerPC to build protobuf. +# +# host-protobuf only builds on certain architectures +config BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + bool + default y if BR2_arm + default y if BR2_i386 + default y if BR2_mipsel + default y if BR2_x86_64 + default y if BR2_sparc64 + default y if BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_USE_MMU # fork() + +config BR2_PACKAGE_PROTOBUF + bool "protobuf" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on !BR2_STATIC_LIBS + help + Protocol buffers are Google's language-neutral, + platform-neutral, extensible mechanism for serializing + structured data. + + https://developers.google.com/protocol-buffers + +comment "protobuf needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.8" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS diff --git a/buildroot-2022.02.1/package/protobuf/protobuf.hash b/buildroot-2022.02.1/package/protobuf/protobuf.hash new file mode 100644 index 00000000..60e64f54 --- /dev/null +++ b/buildroot-2022.02.1/package/protobuf/protobuf.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE +sha256 645192532f28254152b51c01868efdf9b766b1dbe49c77cccd6efcdb2d7c7bc2 protobuf-cpp-3.19.1.tar.gz diff --git a/buildroot-2022.02.1/package/protobuf/protobuf.mk b/buildroot-2022.02.1/package/protobuf/protobuf.mk new file mode 100644 index 00000000..80764f02 --- /dev/null +++ b/buildroot-2022.02.1/package/protobuf/protobuf.mk @@ -0,0 +1,51 @@ +################################################################################ +# +# protobuf +# +################################################################################ + +# When bumping this package, make sure to also verify if the +# python-protobuf package still works and to update its hash, +# as they share the same version/site variables. +PROTOBUF_VERSION = 3.19.1 +PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz +PROTOBUF_SITE = https://github.com/protocolbuffers/protobuf/releases/download/v$(PROTOBUF_VERSION) +PROTOBUF_LICENSE = BSD-3-Clause +PROTOBUF_LICENSE_FILES = LICENSE +PROTOBUF_CPE_ID_VENDOR = google + +# N.B. Need to use host protoc during cross compilation. +PROTOBUF_DEPENDENCIES = host-protobuf +PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/bin/protoc + +PROTOBUF_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +PROTOBUF_CXXFLAGS += -O0 +endif + +ifeq ($(BR2_or1k),y) +PROTOBUF_CXXFLAGS += -mcmodel=large +endif + +PROTOBUF_CONF_ENV = CXXFLAGS="$(PROTOBUF_CXXFLAGS)" + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +PROTOBUF_CONF_ENV += LIBS=-latomic +endif + +PROTOBUF_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_ZLIB),y) +PROTOBUF_DEPENDENCIES += zlib +endif + +define PROTOBUF_REMOVE_UNNECESSARY_TARGET_FILES + rm -rf $(TARGET_DIR)/usr/bin/protoc + rm -rf $(TARGET_DIR)/usr/lib/libprotoc.so* +endef + +PROTOBUF_POST_INSTALL_TARGET_HOOKS += PROTOBUF_REMOVE_UNNECESSARY_TARGET_FILES + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/protozero/0001-CMakeLists.txt-protobuf-is-only-needed-for-tests.patch b/buildroot-2022.02.1/package/protozero/0001-CMakeLists.txt-protobuf-is-only-needed-for-tests.patch new file mode 100644 index 00000000..3033e24a --- /dev/null +++ b/buildroot-2022.02.1/package/protozero/0001-CMakeLists.txt-protobuf-is-only-needed-for-tests.patch @@ -0,0 +1,35 @@ +From 1c16d3ffccd9e415c6ea3681f23231cd5184043c Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 16 Feb 2022 00:11:38 +0100 +Subject: [PATCH] CMakeLists.txt: protobuf is only needed for tests + +Don't check for protobuf if tests are disabled. As a side effect, this +will avoid a build failure if clang-tidy and protobuf are found but +tests are disabled + +Fix #109 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/mapbox/protozero/pull/110] +--- + CMakeLists.txt | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index b975d49..df2ca15 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -52,7 +52,9 @@ endif() + # + #----------------------------------------------------------------------------- + +-find_package(Protobuf) ++if(BUILD_TESTING) ++ find_package(Protobuf) ++endif() + + + #----------------------------------------------------------------------------- +-- +2.34.1 + diff --git a/buildroot-2021.05/package/protozero/Config.in b/buildroot-2022.02.1/package/protozero/Config.in similarity index 100% rename from buildroot-2021.05/package/protozero/Config.in rename to buildroot-2022.02.1/package/protozero/Config.in diff --git a/buildroot-2022.02.1/package/protozero/protozero.hash b/buildroot-2022.02.1/package/protozero/protozero.hash new file mode 100644 index 00000000..f0b8e390 --- /dev/null +++ b/buildroot-2022.02.1/package/protozero/protozero.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 27e0017d5b3ba06d646a3ec6391d5ccc8500db821be480aefd2e4ddc3de5ff99 protozero-1.7.1.tar.gz +sha256 1f4d477e3c2d74d8706c8f05437bd86804abe46853b1f233ce1549a4de76fa49 LICENSE.md +sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.from_folly diff --git a/buildroot-2022.02.1/package/protozero/protozero.mk b/buildroot-2022.02.1/package/protozero/protozero.mk new file mode 100644 index 00000000..a46e37d6 --- /dev/null +++ b/buildroot-2022.02.1/package/protozero/protozero.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# protozero +# +################################################################################ + +PROTOZERO_VERSION = 1.7.1 +PROTOZERO_SITE = $(call github,mapbox,protozero,v$(PROTOZERO_VERSION)) +PROTOZERO_LICENSE = BSD-2-Clause, Apache-2.0 +PROTOZERO_LICENSE_FILES = LICENSE.md LICENSE.from_folly +PROTOZERO_INSTALL_STAGING = YES + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/proxychains-ng/0001-configure-fix-check_link_silent-test.patch b/buildroot-2022.02.1/package/proxychains-ng/0001-configure-fix-check_link_silent-test.patch new file mode 100644 index 00000000..aadfef9c --- /dev/null +++ b/buildroot-2022.02.1/package/proxychains-ng/0001-configure-fix-check_link_silent-test.patch @@ -0,0 +1,41 @@ +From 4a557f242a76c6a2a3134acf1d3279818f8ab371 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 23 Jul 2021 09:50:36 +0200 +Subject: [PATCH] configure: fix check_link_silent test + +Replace -o /dev/null by -o "$tmpc".out when testing with +check_link_silent otherwise test will fail with some bugged binutils +(https://sourceware.org/bugzilla/show_bug.cgi?id=19526) since version +4.13 and +https://github.com/rofl0r/proxychains-ng/commit/35a674bdbc294730429a1007c9e7ce01e65b49b5: + +checking what's the option to use in linker to set library name ... +cannot find an option to set library name +package/pkg-generic.mk:249: recipe for target '/home/buildroot/autobuild/instance-2/output-1/build/proxychains-ng-4.14/.stamp_configured' failed + +Fixes: + - http://autobuild.buildroot.org/results/9320d9b2c69882e23bbe7b30057eb8bee0c9d2e5 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/rofl0r/proxychains-ng/pull/387] +--- + configure | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/configure b/configure +index 8b21b97..cfe19e7 100755 +--- a/configure ++++ b/configure +@@ -49,7 +49,8 @@ check_compile_run() { + + check_link_silent() { + printf "$2" > "$tmpc" +- $CC $OUR_CPPFLAGS $CPPFLAGS $1 $CFLAGS "$tmpc" -o /dev/null >/dev/null 2>&1 ++ $CC $OUR_CPPFLAGS $CPPFLAGS $1 $CFLAGS "$tmpc" -o "$tmpc".out >/dev/null 2>&1 ++ rm -f "$tmpc".out + } + + check_link() { +-- +2.30.2 + diff --git a/buildroot-2021.05/package/proxychains-ng/Config.in b/buildroot-2022.02.1/package/proxychains-ng/Config.in similarity index 100% rename from buildroot-2021.05/package/proxychains-ng/Config.in rename to buildroot-2022.02.1/package/proxychains-ng/Config.in diff --git a/buildroot-2022.02.1/package/proxychains-ng/proxychains-ng.hash b/buildroot-2022.02.1/package/proxychains-ng/proxychains-ng.hash new file mode 100644 index 00000000..779f6b62 --- /dev/null +++ b/buildroot-2022.02.1/package/proxychains-ng/proxychains-ng.hash @@ -0,0 +1,4 @@ +# From https://github.com/rofl0r/proxychains-ng/releases/tag/v4.14 +sha512 75a1a4629d2b7ebac9b909a694b395339cf669fa4e23bfcc57938e46377b5619f31c9651d2bc457d1ad10ec1be7747981106392bf8bf65999cb7bb9c748d7e95 proxychains-ng-4.14.tar.xz +# Locally computed: +sha256 86728623caeff60e9bcc37e03b432fd191de927eed48a72a3bb4ac4e53fe20df COPYING diff --git a/buildroot-2022.02.1/package/proxychains-ng/proxychains-ng.mk b/buildroot-2022.02.1/package/proxychains-ng/proxychains-ng.mk new file mode 100644 index 00000000..bb7c9ff6 --- /dev/null +++ b/buildroot-2022.02.1/package/proxychains-ng/proxychains-ng.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# proxychains-ng +# +################################################################################ + +PROXYCHAINS_NG_VERSION = 4.14 +PROXYCHAINS_NG_SOURCE = proxychains-ng-$(PROXYCHAINS_NG_VERSION).tar.xz +PROXYCHAINS_NG_SITE = http://downloads.sourceforge.net/project/proxychains-ng +PROXYCHAINS_NG_LICENSE = GPL-2.0+ +PROXYCHAINS_NG_LICENSE_FILES = COPYING +PROXYCHAINS_NG_CPE_ID_VENDOR = proxychains-ng_project + +define PROXYCHAINS_NG_CONFIGURE_CMDS + cd $(@D) && \ + $(TARGET_CONFIGURE_OPTS) ./configure --prefix=/usr --sysconfdir=/etc +endef + +define PROXYCHAINS_NG_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define PROXYCHAINS_NG_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install install-config +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/pru-software-support/Config.in b/buildroot-2022.02.1/package/pru-software-support/Config.in similarity index 100% rename from buildroot-2021.05/package/pru-software-support/Config.in rename to buildroot-2022.02.1/package/pru-software-support/Config.in diff --git a/buildroot-2021.05/package/pru-software-support/Config.in.host b/buildroot-2022.02.1/package/pru-software-support/Config.in.host similarity index 100% rename from buildroot-2021.05/package/pru-software-support/Config.in.host rename to buildroot-2022.02.1/package/pru-software-support/Config.in.host diff --git a/buildroot-2022.02.1/package/pru-software-support/pru-software-support.hash b/buildroot-2022.02.1/package/pru-software-support/pru-software-support.hash new file mode 100644 index 00000000..e8ccc93a --- /dev/null +++ b/buildroot-2022.02.1/package/pru-software-support/pru-software-support.hash @@ -0,0 +1,3 @@ +# Locally-calculated hash +sha256 cba9e0bca3abc0041cf7ce6a30af9de440b325cf8c9bcc826485d2f837cb4cf2 pru-software-support-package-v6.0.1.tar.gz +sha256 62a2f56498cd1bac2d4ea6ea1c941affba1e4bb65bfdf2dcffd8e5079fa34399 PRU-Package-v6.1-Manifest.html diff --git a/buildroot-2022.02.1/package/pru-software-support/pru-software-support.mk b/buildroot-2022.02.1/package/pru-software-support/pru-software-support.mk new file mode 100644 index 00000000..d0259c5f --- /dev/null +++ b/buildroot-2022.02.1/package/pru-software-support/pru-software-support.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# pru-software-support +# +################################################################################ + +PRU_SOFTWARE_SUPPORT_VERSION = 6.0.1 +PRU_SOFTWARE_SUPPORT_SITE = https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/snapshot +PRU_SOFTWARE_SUPPORT_SOURCE = $(PRU_SOFTWARE_SUPPORT_NAME)-package-v$(PRU_SOFTWARE_SUPPORT_VERSION).tar.gz +PRU_SOFTWARE_SUPPORT_LICENSE = BSD-3-Clause, Public Domain +PRU_SOFTWARE_SUPPORT_LICENSE_FILES = PRU-Package-v6.1-Manifest.html +PRU_SOFTWARE_SUPPORT_DEPENDENCIES = host-ti-cgt-pru host-pru-software-support +HOST_PRU_SOFTWARE_SUPPORT_DEPENDENCIES = host-ti-cgt-pru + +define HOST_PRU_SOFTWARE_SUPPORT_BUILD_CMDS + $(MAKE) PRU_CGT=$(TI_CGT_PRU_INSTALLDIR) -C $(@D)/lib/src +endef + +# install this library support alongside PRU toolchain i.e. +# everything in TI_CGT_PRU_INSTALLDIR as PRU_CGT +define HOST_PRU_SOFTWARE_SUPPORT_INSTALL_CMDS + mkdir -p $(TI_CGT_PRU_INSTALLDIR)/usr/include + cp -dpfr $(@D)/include/* $(TI_CGT_PRU_INSTALLDIR)/usr/include + mkdir -p $(TI_CGT_PRU_INSTALLDIR)/usr/lib + cp -dpfr $(@D)/lib/src/*/gen/*.lib $(TI_CGT_PRU_INSTALLDIR)/usr/lib/ +endef + +define PRU_SOFTWARE_SUPPORT_BUILD_CMDS + $(MAKE) PRU_CGT=$(TI_CGT_PRU_INSTALLDIR) -C $(@D)/examples +endef + +define PRU_SOFTWARE_SUPPORT_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/share/pru-software-support + cp -dpfr $(@D)/examples/* $(TARGET_DIR)/usr/share/pru-software-support/ +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/pru-software-support/readme.txt b/buildroot-2022.02.1/package/pru-software-support/readme.txt similarity index 100% rename from buildroot-2021.05/package/pru-software-support/readme.txt rename to buildroot-2022.02.1/package/pru-software-support/readme.txt diff --git a/buildroot-2021.05/package/psmisc/Config.in b/buildroot-2022.02.1/package/psmisc/Config.in similarity index 100% rename from buildroot-2021.05/package/psmisc/Config.in rename to buildroot-2022.02.1/package/psmisc/Config.in diff --git a/buildroot-2021.05/package/psmisc/psmisc.hash b/buildroot-2022.02.1/package/psmisc/psmisc.hash similarity index 100% rename from buildroot-2021.05/package/psmisc/psmisc.hash rename to buildroot-2022.02.1/package/psmisc/psmisc.hash diff --git a/buildroot-2022.02.1/package/psmisc/psmisc.mk b/buildroot-2022.02.1/package/psmisc/psmisc.mk new file mode 100644 index 00000000..8b92be11 --- /dev/null +++ b/buildroot-2022.02.1/package/psmisc/psmisc.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# psmisc +# +################################################################################ + +PSMISC_VERSION = 23.4 +PSMISC_SITE = http://downloads.sourceforge.net/project/psmisc/psmisc +PSMISC_SOURCE = psmisc-$(PSMISC_VERSION).tar.xz +PSMISC_LICENSE = GPL-2.0+ +PSMISC_LICENSE_FILES = COPYING +PSMISC_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) + +ifeq ($(BR2_TOOLCHAIN_HAS_SSP),) +# Don't force -fstack-protector when SSP is not available in toolchain +PSMISC_CONF_OPTS += --disable-harden-flags +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/psplash/Config.in b/buildroot-2022.02.1/package/psplash/Config.in new file mode 100644 index 00000000..da99b264 --- /dev/null +++ b/buildroot-2022.02.1/package/psplash/Config.in @@ -0,0 +1,41 @@ +config BR2_PACKAGE_PSPLASH + bool "psplash" + depends on BR2_USE_WCHAR + help + PSplash is a userspace graphical boot splash screen for + mainly embedded Linux devices supporting a 16bpp or 32bpp + framebuffer. It has few dependencies (just libc), supports + basic images and text and handles rotation. Its visual look + is configurable by basic source changes. + + Also included is a 'client' command utility for sending + information to psplash such as boot progress information. + + Start the drawing process with 'psplash -n&' as early as + possible. Note: psplash creates a FIFO in /tmp for + communication with psplash-write. + + Usage: + * Set progress bar to 50 percent: + psplash-write "PROGRESS 50" + + * Display message "foobar" above progress bar: + psplash-write "MSG foobar" + + * Terminate psplash: + psplash-write "QUIT" + + http://git.yoctoproject.org/cgit/cgit.cgi/psplash/ + +if BR2_PACKAGE_PSPLASH + +config BR2_PACKAGE_PSPLASH_IMAGE + string "psplash image" + help + Use a personalized png image as boot splash. + Let it empty if you want to keep the psplash default image. + +endif + +comment "psplash needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/psplash/psplash-start.service b/buildroot-2022.02.1/package/psplash/psplash-start.service similarity index 100% rename from buildroot-2021.05/package/psplash/psplash-start.service rename to buildroot-2022.02.1/package/psplash/psplash-start.service diff --git a/buildroot-2021.05/package/psplash/psplash-systemd.service b/buildroot-2022.02.1/package/psplash/psplash-systemd.service similarity index 100% rename from buildroot-2021.05/package/psplash/psplash-systemd.service rename to buildroot-2022.02.1/package/psplash/psplash-systemd.service diff --git a/buildroot-2022.02.1/package/psplash/psplash.hash b/buildroot-2022.02.1/package/psplash/psplash.hash new file mode 100644 index 00000000..77090d08 --- /dev/null +++ b/buildroot-2022.02.1/package/psplash/psplash.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 c9f71754f4606e46212a4851d6c1145e4ae8752fd11a2b40e825f04bf79b22ec psplash-44afb7506d43cca15582b4c5b90ba5580344d75d-br1.tar.gz +sha256 f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505 COPYING diff --git a/buildroot-2022.02.1/package/psplash/psplash.mk b/buildroot-2022.02.1/package/psplash/psplash.mk new file mode 100644 index 00000000..69f9bf38 --- /dev/null +++ b/buildroot-2022.02.1/package/psplash/psplash.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# psplash +# +################################################################################ + +PSPLASH_VERSION = 44afb7506d43cca15582b4c5b90ba5580344d75d +PSPLASH_SITE = https://git.yoctoproject.org/psplash +PSPLASH_SITE_METHOD = git +PSPLASH_LICENSE = GPL-2.0+ +PSPLASH_LICENSE_FILES = COPYING +PSPLASH_AUTORECONF = YES +PSPLASH_DEPENDENCIES = host-gdk-pixbuf host-pkgconf + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +PSPLASH_DEPENDENCIES += systemd +PSPLASH_CONF_OPTS += --with-systemd +else +PSPLASH_CONF_OPTS += --without-systemd +endif + +PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE)) + +ifneq ($(PSPLASH_IMAGE),) +define PSPLASH_COPY_IMAGE + cp $(PSPLASH_IMAGE) $(@D)/base-images/psplash-poky.png +endef + +PSPLASH_POST_EXTRACT_HOOKS += PSPLASH_COPY_IMAGE +endif + +define PSPLASH_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/psplash/psplash-start.service \ + $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service + + $(INSTALL) -D -m 644 package/psplash/psplash-systemd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/psplash-systemd.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ptm2human/Config.in b/buildroot-2022.02.1/package/ptm2human/Config.in similarity index 100% rename from buildroot-2021.05/package/ptm2human/Config.in rename to buildroot-2022.02.1/package/ptm2human/Config.in diff --git a/buildroot-2021.05/package/ptm2human/ptm2human.hash b/buildroot-2022.02.1/package/ptm2human/ptm2human.hash similarity index 100% rename from buildroot-2021.05/package/ptm2human/ptm2human.hash rename to buildroot-2022.02.1/package/ptm2human/ptm2human.hash diff --git a/buildroot-2021.05/package/ptm2human/ptm2human.mk b/buildroot-2022.02.1/package/ptm2human/ptm2human.mk similarity index 100% rename from buildroot-2021.05/package/ptm2human/ptm2human.mk rename to buildroot-2022.02.1/package/ptm2human/ptm2human.mk diff --git a/buildroot-2021.05/package/ptpd/Config.in b/buildroot-2022.02.1/package/ptpd/Config.in similarity index 100% rename from buildroot-2021.05/package/ptpd/Config.in rename to buildroot-2022.02.1/package/ptpd/Config.in diff --git a/buildroot-2021.05/package/ptpd/S65ptpd b/buildroot-2022.02.1/package/ptpd/S65ptpd similarity index 100% rename from buildroot-2021.05/package/ptpd/S65ptpd rename to buildroot-2022.02.1/package/ptpd/S65ptpd diff --git a/buildroot-2021.05/package/ptpd/ptpd.hash b/buildroot-2022.02.1/package/ptpd/ptpd.hash similarity index 100% rename from buildroot-2021.05/package/ptpd/ptpd.hash rename to buildroot-2022.02.1/package/ptpd/ptpd.hash diff --git a/buildroot-2021.05/package/ptpd/ptpd.mk b/buildroot-2022.02.1/package/ptpd/ptpd.mk similarity index 100% rename from buildroot-2021.05/package/ptpd/ptpd.mk rename to buildroot-2022.02.1/package/ptpd/ptpd.mk diff --git a/buildroot-2021.05/package/ptpd/ptpd.service b/buildroot-2022.02.1/package/ptpd/ptpd.service similarity index 100% rename from buildroot-2021.05/package/ptpd/ptpd.service rename to buildroot-2022.02.1/package/ptpd/ptpd.service diff --git a/buildroot-2021.05/package/ptpd2/0001-musl.patch b/buildroot-2022.02.1/package/ptpd2/0001-musl.patch similarity index 100% rename from buildroot-2021.05/package/ptpd2/0001-musl.patch rename to buildroot-2022.02.1/package/ptpd2/0001-musl.patch diff --git a/buildroot-2021.05/package/ptpd2/0002-ntp_isc_md5-rename-EVP_MD_CTX-into-PTPD_EVP_MD_CTX.patch b/buildroot-2022.02.1/package/ptpd2/0002-ntp_isc_md5-rename-EVP_MD_CTX-into-PTPD_EVP_MD_CTX.patch similarity index 100% rename from buildroot-2021.05/package/ptpd2/0002-ntp_isc_md5-rename-EVP_MD_CTX-into-PTPD_EVP_MD_CTX.patch rename to buildroot-2022.02.1/package/ptpd2/0002-ntp_isc_md5-rename-EVP_MD_CTX-into-PTPD_EVP_MD_CTX.patch diff --git a/buildroot-2021.05/package/ptpd2/0003-Solve-issue-25-Removing-type-U64-from-net-snmp-relat.patch b/buildroot-2022.02.1/package/ptpd2/0003-Solve-issue-25-Removing-type-U64-from-net-snmp-relat.patch similarity index 100% rename from buildroot-2021.05/package/ptpd2/0003-Solve-issue-25-Removing-type-U64-from-net-snmp-relat.patch rename to buildroot-2022.02.1/package/ptpd2/0003-Solve-issue-25-Removing-type-U64-from-net-snmp-relat.patch diff --git a/buildroot-2021.05/package/ptpd2/Config.in b/buildroot-2022.02.1/package/ptpd2/Config.in similarity index 100% rename from buildroot-2021.05/package/ptpd2/Config.in rename to buildroot-2022.02.1/package/ptpd2/Config.in diff --git a/buildroot-2021.05/package/ptpd2/S65ptpd2 b/buildroot-2022.02.1/package/ptpd2/S65ptpd2 similarity index 100% rename from buildroot-2021.05/package/ptpd2/S65ptpd2 rename to buildroot-2022.02.1/package/ptpd2/S65ptpd2 diff --git a/buildroot-2021.05/package/ptpd2/ptpd2.hash b/buildroot-2022.02.1/package/ptpd2/ptpd2.hash similarity index 100% rename from buildroot-2021.05/package/ptpd2/ptpd2.hash rename to buildroot-2022.02.1/package/ptpd2/ptpd2.hash diff --git a/buildroot-2021.05/package/ptpd2/ptpd2.mk b/buildroot-2022.02.1/package/ptpd2/ptpd2.mk similarity index 100% rename from buildroot-2021.05/package/ptpd2/ptpd2.mk rename to buildroot-2022.02.1/package/ptpd2/ptpd2.mk diff --git a/buildroot-2021.05/package/ptpd2/ptpd2.service b/buildroot-2022.02.1/package/ptpd2/ptpd2.service similarity index 100% rename from buildroot-2021.05/package/ptpd2/ptpd2.service rename to buildroot-2022.02.1/package/ptpd2/ptpd2.service diff --git a/buildroot-2021.05/package/pugixml/Config.in b/buildroot-2022.02.1/package/pugixml/Config.in similarity index 100% rename from buildroot-2021.05/package/pugixml/Config.in rename to buildroot-2022.02.1/package/pugixml/Config.in diff --git a/buildroot-2021.05/package/pugixml/pugixml.hash b/buildroot-2022.02.1/package/pugixml/pugixml.hash similarity index 100% rename from buildroot-2021.05/package/pugixml/pugixml.hash rename to buildroot-2022.02.1/package/pugixml/pugixml.hash diff --git a/buildroot-2022.02.1/package/pugixml/pugixml.mk b/buildroot-2022.02.1/package/pugixml/pugixml.mk new file mode 100644 index 00000000..bc018180 --- /dev/null +++ b/buildroot-2022.02.1/package/pugixml/pugixml.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# pugixml +# +################################################################################ + +PUGIXML_VERSION = 1.11.4 +PUGIXML_SITE = https://github.com/zeux/pugixml/releases/download/v$(PUGIXML_VERSION) +PUGIXML_LICENSE = MIT +PUGIXML_LICENSE_FILES = LICENSE.md +PUGIXML_CPE_ID_VENDOR = pugixml_project + +PUGIXML_INSTALL_STAGING = YES + +# Pugixml will automatically enable 'long long' support on C++11 compilers, +# which means gcc 4.8+. As gcc always supports the 'long long' type, +# force-enable this option to support older gcc versions. See also: +# https://gcc.gnu.org/onlinedocs/gcc/Long-Long.html +PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG +HOST_PUGIXML_BUILD_DEFINES += PUGIXML_HAS_LONG_LONG + +ifeq ($(BR2_PACKAGE_PUGIXML_XPATH_SUPPORT),) +PUGIXML_BUILD_DEFINES += PUGIXML_NO_XPATH +endif +ifeq ($(BR2_PACKAGE_PUGIXML_COMPACT),y) +PUGIXML_BUILD_DEFINES += PUGIXML_COMPACT +endif +ifeq ($(BR2_PACKAGE_PUGIXML_HEADER_ONLY),y) +PUGIXML_BUILD_DEFINES += PUGIXML_HEADER_ONLY +endif + +ifdef PUGIXML_BUILD_DEFINES +PUGIXML_CONF_OPTS += -DBUILD_DEFINES="$(subst $(space),;,$(PUGIXML_BUILD_DEFINES))" +endif + +HOST_PUGIXML_CONF_OPTS += \ + -DBUILD_PKGCONFIG=ON \ + -DBUILD_DEFINES="$(subst $(space),;,$(HOST_PUGIXML_BUILD_DEFINES))" + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2022.02.1/package/pulseaudio/Config.in b/buildroot-2022.02.1/package/pulseaudio/Config.in new file mode 100644 index 00000000..dcc88f38 --- /dev/null +++ b/buildroot-2022.02.1/package/pulseaudio/Config.in @@ -0,0 +1,47 @@ +config BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + bool + default y if BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS || \ + BR2_TOOLCHAIN_HAS_SYNC_4 + +config BR2_PACKAGE_PULSEAUDIO_ENABLE_ATOMIC + bool + select BR2_PACKAGE_LIBATOMIC_OPS if !BR2_TOOLCHAIN_HAS_SYNC_4 + +config BR2_PACKAGE_PULSEAUDIO + bool "pulseaudio" + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime + select BR2_PACKAGE_LIBTOOL + select BR2_PACKAGE_LIBSNDFILE + select BR2_PACKAGE_PULSEAUDIO_ENABLE_ATOMIC + select BR2_PACKAGE_SPEEX + help + PulseAudio is a sound system for POSIX OSes, meaning that it + is a proxy for your sound applications. It allows you to do + advanced operations on your sound data as it passes between + your application and your hardware. Things like transferring + the audio to a different machine, changing the sample format + or channel count and mixing several sounds into one are + easily achieved using a sound server. + + http://pulseaudio.org + +if BR2_PACKAGE_PULSEAUDIO + +config BR2_PACKAGE_PULSEAUDIO_DAEMON + bool "start as a system daemon" + help + PulseAudio can be started as a system daemon. This is not the + recommended way of using PulseAudio unless you are building a + headless system. + +endif + +comment "pulseaudio needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/pulseaudio/S50pulseaudio b/buildroot-2022.02.1/package/pulseaudio/S50pulseaudio similarity index 100% rename from buildroot-2021.05/package/pulseaudio/S50pulseaudio rename to buildroot-2022.02.1/package/pulseaudio/S50pulseaudio diff --git a/buildroot-2021.05/package/pulseaudio/pulseaudio.hash b/buildroot-2022.02.1/package/pulseaudio/pulseaudio.hash similarity index 100% rename from buildroot-2021.05/package/pulseaudio/pulseaudio.hash rename to buildroot-2022.02.1/package/pulseaudio/pulseaudio.hash diff --git a/buildroot-2022.02.1/package/pulseaudio/pulseaudio.mk b/buildroot-2022.02.1/package/pulseaudio/pulseaudio.mk new file mode 100644 index 00000000..a2383157 --- /dev/null +++ b/buildroot-2022.02.1/package/pulseaudio/pulseaudio.mk @@ -0,0 +1,178 @@ +################################################################################ +# +# pulseaudio +# +################################################################################ + +PULSEAUDIO_VERSION = 14.2 +PULSEAUDIO_SOURCE = pulseaudio-$(PULSEAUDIO_VERSION).tar.xz +PULSEAUDIO_SITE = https://freedesktop.org/software/pulseaudio/releases +PULSEAUDIO_INSTALL_STAGING = YES +PULSEAUDIO_LICENSE = LGPL-2.1+ (specific license for modules, see LICENSE file) +PULSEAUDIO_LICENSE_FILES = LICENSE GPL LGPL +PULSEAUDIO_CPE_ID_VENDOR = pulseaudio +PULSEAUDIO_SELINUX_MODULES = pulseaudio xdg +PULSEAUDIO_CONF_OPTS = \ + --disable-default-build-tests \ + --disable-legacy-database-entry-format \ + --disable-manpages \ + --disable-running-from-build-tree + +PULSEAUDIO_DEPENDENCIES = \ + host-pkgconf libtool libsndfile speex \ + $(TARGET_NLS_DEPENDENCIES) \ + $(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \ + $(if $(BR2_PACKAGE_AVAHI_DAEMON),avahi) \ + $(if $(BR2_PACKAGE_DBUS),dbus) \ + $(if $(BR2_PACKAGE_NCURSES),ncurses) \ + $(if $(BR2_PACKAGE_OPENSSL),openssl) \ + $(if $(BR2_PACKAGE_FFTW_SINGLE),fftw-single) \ + $(if $(BR2_PACKAGE_SYSTEMD),systemd) + +ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) +PULSEAUDIO_CONF_OPTS += --enable-samplerate +PULSEAUDIO_DEPENDENCIES += libsamplerate +else +PULSEAUDIO_CONF_OPTS += --disable-samplerate +endif + +ifeq ($(BR2_PACKAGE_GDBM),y) +PULSEAUDIO_CONF_OPTS += --with-database=gdbm +PULSEAUDIO_DEPENDENCIES += gdbm +else +PULSEAUDIO_CONF_OPTS += --with-database=simple +endif + +ifeq ($(BR2_PACKAGE_JACK2),y) +PULSEAUDIO_CONF_OPTS += --enable-jack +PULSEAUDIO_DEPENDENCIES += jack2 +else +PULSEAUDIO_CONF_OPTS += --disable-jack +endif + +ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) +PULSEAUDIO_DEPENDENCIES += libatomic_ops +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +PULSEAUDIO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9" +endif +endif + +ifeq ($(BR2_PACKAGE_ORC),y) +PULSEAUDIO_DEPENDENCIES += orc +PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/bin/orcc +PULSEAUDIO_CONF_OPTS += --enable-orc +else +PULSEAUDIO_CONF_OPTS += --disable-orc +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +PULSEAUDIO_DEPENDENCIES += libcap +PULSEAUDIO_CONF_OPTS += --with-caps +else +PULSEAUDIO_CONF_OPTS += --without-caps +endif + +# gtk3 support needs X11 backend +ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) +PULSEAUDIO_DEPENDENCIES += libgtk3 +PULSEAUDIO_CONF_OPTS += --enable-gtk3 +else +PULSEAUDIO_CONF_OPTS += --disable-gtk3 +endif + +ifeq ($(BR2_PACKAGE_LIBSOXR),y) +PULSEAUDIO_CONF_OPTS += --with-soxr +PULSEAUDIO_DEPENDENCIES += libsoxr +else +PULSEAUDIO_CONF_OPTS += --without-soxr +endif + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS)$(BR2_PACKAGE_SBC),yy) +PULSEAUDIO_CONF_OPTS += --enable-bluez5 +PULSEAUDIO_DEPENDENCIES += bluez5_utils sbc +else +PULSEAUDIO_CONF_OPTS += --disable-bluez5 +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +PULSEAUDIO_CONF_OPTS += --enable-udev +PULSEAUDIO_DEPENDENCIES += udev +else +PULSEAUDIO_CONF_OPTS += --disable-udev +endif + +ifeq ($(BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING),y) +PULSEAUDIO_CONF_OPTS += --enable-webrtc-aec +PULSEAUDIO_DEPENDENCIES += webrtc-audio-processing +else +PULSEAUDIO_CONF_OPTS += --disable-webrtc-aec +endif + +# neon intrinsics not available with float-abi=soft +ifeq ($(BR2_ARM_SOFT_FLOAT),) +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +PULSEAUDIO_USE_NEON = y +endif +endif + +ifeq ($(PULSEAUDIO_USE_NEON),y) +PULSEAUDIO_CONF_OPTS += --enable-neon-opt=yes +else +PULSEAUDIO_CONF_OPTS += --enable-neon-opt=no +endif + +# pulseaudio alsa backend needs pcm/mixer apis +ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM)$(BR2_PACKAGE_ALSA_LIB_MIXER),yy) +PULSEAUDIO_DEPENDENCIES += alsa-lib +PULSEAUDIO_CONF_OPTS += --enable-alsa +else +PULSEAUDIO_CONF_OPTS += --disable-alsa +endif + +ifeq ($(BR2_PACKAGE_LIBXCB)$(BR2_PACKAGE_XLIB_LIBSM)$(BR2_PACKAGE_XLIB_LIBXTST),yyy) +PULSEAUDIO_DEPENDENCIES += libxcb xlib_libSM xlib_libXtst + +# .desktop file generation needs nls support, so fake it for !locale builds +# https://bugs.freedesktop.org/show_bug.cgi?id=54658 +ifeq ($(BR2_SYSTEM_ENABLE_NLS),) +define PULSEAUDIO_FIXUP_DESKTOP_FILES + cp $(@D)/src/daemon/pulseaudio.desktop.in \ + $(@D)/src/daemon/pulseaudio.desktop +endef +PULSEAUDIO_POST_PATCH_HOOKS += PULSEAUDIO_FIXUP_DESKTOP_FILES +endif + +else +PULSEAUDIO_CONF_OPTS += --disable-x11 +endif + +# ConsoleKit module init failure breaks user daemon startup +define PULSEAUDIO_REMOVE_CONSOLE_KIT + rm -f $(TARGET_DIR)/usr/lib/pulse-$(PULSEAUDIO_VERSION)/modules/module-console-kit.so +endef + +define PULSEAUDIO_REMOVE_VALA + rm -rf $(TARGET_DIR)/usr/share/vala +endef + +PULSEAUDIO_POST_INSTALL_TARGET_HOOKS += PULSEAUDIO_REMOVE_VALA \ + PULSEAUDIO_REMOVE_CONSOLE_KIT + +ifeq ($(BR2_PACKAGE_PULSEAUDIO_DAEMON),y) +define PULSEAUDIO_USERS + pulse -1 pulse -1 * /var/run/pulse - audio,pulse-access +endef + +define PULSEAUDIO_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/pulseaudio/S50pulseaudio \ + $(TARGET_DIR)/etc/init.d/S50pulseaudio +endef + +define PULSEAUDIO_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/pulseaudio/pulseaudio.service \ + $(TARGET_DIR)/usr/lib/systemd/system/pulseaudio.service +endef + +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pulseaudio/pulseaudio.service b/buildroot-2022.02.1/package/pulseaudio/pulseaudio.service similarity index 100% rename from buildroot-2021.05/package/pulseaudio/pulseaudio.service rename to buildroot-2022.02.1/package/pulseaudio/pulseaudio.service diff --git a/buildroot-2021.05/package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch b/buildroot-2022.02.1/package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch similarity index 100% rename from buildroot-2021.05/package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch rename to buildroot-2022.02.1/package/pulseview/0001-Replace-obsolete-deprecated-Qt-methods.patch diff --git a/buildroot-2022.02.1/package/pulseview/0002-Fix-broken-build-due-to-C-template-behind-C-linkage.patch b/buildroot-2022.02.1/package/pulseview/0002-Fix-broken-build-due-to-C-template-behind-C-linkage.patch new file mode 100644 index 00000000..16d4cfdb --- /dev/null +++ b/buildroot-2022.02.1/package/pulseview/0002-Fix-broken-build-due-to-C-template-behind-C-linkage.patch @@ -0,0 +1,58 @@ +From ed643f0b4ac587204a5243451cda181ee1405d62 Mon Sep 17 00:00:00 2001 +From: =?utf8?q?Stefan=20Br=C3=BCns?= +Date: Wed, 28 Apr 2021 02:14:47 +0200 +Subject: [PATCH] Fix broken build due to C++ template behind C linkage + +glib/gatomic.h since 2.68 includes type_traits, which causes a compilation +error: +In file included from /usr/include/glib-2.0/glib/gatomic.h:31, + from /usr/include/glib-2.0/glib/gthread.h:32, + from /usr/include/glib-2.0/glib/gasyncqueue.h:32, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/libsigrokdecode/libsigrokdecode.h:25, + from /home/abuild/rpmbuild/BUILD/pulseview-0.4.2/pv/data/decode/annotation.cpp:21: +/usr/include/c++/10/type_traits:2308:3: error: template with C linkage +2308 | template + +As libsigrokdecode.h declares extern C linkage itself where necessary, +remove it from pulseviews include statements from the last two occasions. + +[Retrieved from: +https://sigrok.org/gitweb/?p=pulseview.git;a=commit;h=ed643f0b4ac587204a5243451cda181ee1405d62] +Signed-off-by: Fabrice Fontaine +--- + pv/data/decode/annotation.cpp | 2 -- + pv/views/trace/decodetrace.cpp | 2 -- + 2 files changed, 4 deletions(-) + +diff --git a/pv/data/decode/annotation.cpp b/pv/data/decode/annotation.cpp +index 7f233478..f8a5c47b 100644 +--- a/pv/data/decode/annotation.cpp ++++ b/pv/data/decode/annotation.cpp +@@ -17,9 +17,7 @@ + * along with this program; if not, see . + */ + +-extern "C" { + #include +-} + + #include + #include +diff --git a/pv/views/trace/decodetrace.cpp b/pv/views/trace/decodetrace.cpp +index 409f1d28..888064d0 100644 +--- a/pv/views/trace/decodetrace.cpp ++++ b/pv/views/trace/decodetrace.cpp +@@ -17,9 +17,7 @@ + * along with this program; if not, see . + */ + +-extern "C" { + #include +-} + + #include + #include +-- +2.24.0.rc2 + diff --git a/buildroot-2022.02.1/package/pulseview/0003-Support-glibmm-2.68.patch b/buildroot-2022.02.1/package/pulseview/0003-Support-glibmm-2.68.patch new file mode 100644 index 00000000..00e4e696 --- /dev/null +++ b/buildroot-2022.02.1/package/pulseview/0003-Support-glibmm-2.68.patch @@ -0,0 +1,89 @@ +From a97d5a060a534a3c658578e7f14ab43556db93ca Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 30 Dec 2021 16:19:46 +0100 +Subject: [PATCH] Support glibmm 2.68 + +Support glibmm 2.68 which has been released one year ago and is the +first stable release in the glibmm-2.68 ABI series: +https://gitlab.gnome.org/GNOME/glibmm/-/blob/2.68.2/NEWS + +C++17 support is mandatory with glibmm 2.68 + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet] +--- + CMakeLists.txt | 23 +++++++++++++++++++---- + INSTALL | 2 +- + 2 files changed, 20 insertions(+), 5 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7791b1b1..58a9cf92 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -75,7 +75,14 @@ add_subdirectory(manual) + #------------------------------------------------------------------------------- + + list(APPEND PKGDEPS glib-2.0>=2.28.0) +-list(APPEND PKGDEPS glibmm-2.4>=2.28.0) ++ ++set(LIBSR_GLIBMM "glibmm-2.4>=2.28.0") ++find_package(PkgConfig) ++pkg_check_modules(LIBSRGLIBMM24 ${LIBSR_GLIBMM}) ++if(NOT LIBSRGLIBMM24_FOUND) ++ set(LIBSR_GLIBMM "glibmm-2.68>=2.68.0") ++endif() ++list(APPEND PKGDEPS ${LIBSR_GLIBMM}) + + if(ENABLE_FLOW) + list(APPEND PKGDEPS gstreamermm-1.0>=1.8.0) +@@ -93,7 +100,6 @@ if(ANDROID) + list(APPEND PKGDEPS libsigrokandroidutils>=0.1.0) + endif() + +-find_package(PkgConfig) + pkg_check_modules(LIBSRCXX ${LIBSR_CXX_BINDING}) + if(NOT LIBSRCXX_FOUND OR NOT LIBSRCXX_VERSION) + message(FATAL_ERROR "libsigrok C++ bindings missing, check libsigrok's 'configure' output (missing dependencies?)") +@@ -225,7 +231,11 @@ memaccess_check_unaligned_le(HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS) + set(PV_TITLE PulseView) + set(PV_VERSION_STRING "0.5.0") + +-set(PV_GLIBMM_VERSION ${PKGDEPS_glibmm-2.4_VERSION}) ++if(LIBSRGLIBMM24_FOUND) ++ set(PV_GLIBMM_VERSION ${PKGDEPS_glibmm-2.4_VERSION}) ++else() ++ set(PV_GLIBMM_VERSION ${PKGDEPS_glibmm-2.68_VERSION}) ++endif() + + include(GetGitRevisionDescription) + +@@ -486,7 +496,12 @@ qt5_add_resources(pulseview_RESOURCES_RCC ${CMAKE_BINARY_DIR}/translations.qrc) + add_definitions(-DQT_NO_KEYWORDS) + add_definitions(-D__STDC_LIMIT_MACROS) + add_definitions(-Wall -Wextra) +-add_definitions(-std=c++11) ++if(LIBSRGLIBMM24_FOUND) ++ add_definitions(-std=c++11) ++else() ++ # glibmm-2.68 reuires c++17 ++ add_definitions(-std=c++17) ++endif() + add_definitions(-DBOOST_MATH_DISABLE_FLOAT128=1) + if(WIN32) + add_definitions(-Wa,-mbig-obj -O3) +diff --git a/INSTALL b/INSTALL +index da89be8d..8003fcfb 100644 +--- a/INSTALL ++++ b/INSTALL +@@ -14,7 +14,7 @@ Requirements + - pkg-config >= 0.22 + - cmake >= 2.8.12 + - libglib >= 2.28.0 +- - glibmm-2.4 (>= 2.28.0) ++ - glibmm-2.4 (>= 2.28.0) or glibmm-2.68 (>= 2.68.0) + - Qt5 (>= 5.3), including the following components: + - Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg, Qt5LinguistTools + - Qt translation package (optional; needed at runtime, not build time) +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/pulseview/Config.in b/buildroot-2022.02.1/package/pulseview/Config.in new file mode 100644 index 00000000..f122551b --- /dev/null +++ b/buildroot-2022.02.1/package/pulseview/Config.in @@ -0,0 +1,40 @@ +config BR2_PACKAGE_PULSEVIEW + bool "pulseview" + depends on BR2_PACKAGE_QT5 + # libsigrok->libglib2: + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + depends on BR2_USE_MMU + depends on BR2_INSTALL_LIBSTDCPP + # libsigrok->libzip + depends on !BR2_STATIC_LIBS + # libsigrok + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_HOST_GCC_AT_LEAST_4_9 + depends on BR2_ENABLE_LOCALE + select BR2_PACKAGE_LIBSIGROK + select BR2_PACKAGE_LIBSIGROKCXX + select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5BASE_PNG + select BR2_PACKAGE_QT5SVG + select BR2_PACKAGE_QT5TOOLS + select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_SERIALIZATION + help + PulseView is a Qt based logic analyzer, oscilloscope + and MSO GUI for sigrok. + + http://sigrok.org/wiki/PulseView + +comment "pulseview needs a toolchain w/ locale, wchar, threads, dynamic library, C++, gcc >= 7, host gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_QT5 + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \ + || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \ + || BR2_STATIC_LIBS || !BR2_ENABLE_LOCALE || \ + !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/pulseview/pulseview.hash b/buildroot-2022.02.1/package/pulseview/pulseview.hash similarity index 100% rename from buildroot-2021.05/package/pulseview/pulseview.hash rename to buildroot-2022.02.1/package/pulseview/pulseview.hash diff --git a/buildroot-2021.05/package/pulseview/pulseview.mk b/buildroot-2022.02.1/package/pulseview/pulseview.mk similarity index 100% rename from buildroot-2021.05/package/pulseview/pulseview.mk rename to buildroot-2022.02.1/package/pulseview/pulseview.mk diff --git a/buildroot-2021.05/package/pure-ftpd/Config.in b/buildroot-2022.02.1/package/pure-ftpd/Config.in similarity index 100% rename from buildroot-2021.05/package/pure-ftpd/Config.in rename to buildroot-2022.02.1/package/pure-ftpd/Config.in diff --git a/buildroot-2022.02.1/package/pure-ftpd/pure-ftpd.hash b/buildroot-2022.02.1/package/pure-ftpd/pure-ftpd.hash new file mode 100644 index 00000000..e8b779c3 --- /dev/null +++ b/buildroot-2022.02.1/package/pure-ftpd/pure-ftpd.hash @@ -0,0 +1,3 @@ +# Locally calculated after checking pgp signature +sha256 6722c7fd09fe3c9ebbd572f3d097087ec7b32aacb3df8fa3400d4c07e4f377d7 pure-ftpd-1.0.50.tar.bz2 +sha256 c1be5d56c28927b05131d7384bd522af4b11c3afea45725f5ca7983c11db61ac COPYING diff --git a/buildroot-2022.02.1/package/pure-ftpd/pure-ftpd.mk b/buildroot-2022.02.1/package/pure-ftpd/pure-ftpd.mk new file mode 100644 index 00000000..f3cbef84 --- /dev/null +++ b/buildroot-2022.02.1/package/pure-ftpd/pure-ftpd.mk @@ -0,0 +1,86 @@ +################################################################################ +# +# pure-ftpd +# +################################################################################ + +PURE_FTPD_VERSION = 1.0.50 +PURE_FTPD_SITE = https://download.pureftpd.org/pub/pure-ftpd/releases +PURE_FTPD_SOURCE = pure-ftpd-$(PURE_FTPD_VERSION).tar.bz2 +PURE_FTPD_LICENSE = ISC +PURE_FTPD_LICENSE_FILES = COPYING +PURE_FTPD_CPE_ID_VENDOR = pureftpd +PURE_FTPD_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBICONV),libiconv) + +PURE_FTPD_CONF_OPTS = \ + --with-altlog \ + --with-puredb + +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +PURE_FTPD_DEPENDENCIES += elfutils +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +PURE_FTPD_CONF_OPTS += --with-capabilities +PURE_FTPD_DEPENDENCIES += libcap +else +PURE_FTPD_CONF_OPTS += --without-capabilities +endif + +ifeq ($(BR2_PACKAGE_LIBSODIUM),y) +PURE_FTPD_DEPENDENCIES += libsodium +endif + +ifeq ($(BR2_PACKAGE_MYSQL),y) +PURE_FTPD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr +PURE_FTPD_DEPENDENCIES += mysql +else +PURE_FTPD_CONF_OPTS += --without-mysql +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +PURE_FTPD_CONF_OPTS += --with-ldap +PURE_FTPD_DEPENDENCIES += openldap +else +PURE_FTPD_CONF_OPTS += --without-ldap +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +PURE_FTPD_CONF_OPTS += --with-tls +PURE_FTPD_DEPENDENCIES += host-pkgconf openssl +PURE_FTPD_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` +else +PURE_FTPD_CONF_OPTS += --without-tls +endif + +ifeq ($(BR2_PACKAGE_POSTGRESQL),y) +PURE_FTPD_CONF_OPTS += --with-pgsql=$(STAGING_DIR)/usr +PURE_FTPD_DEPENDENCIES += postgresql +else +PURE_FTPD_CONF_OPTS += --without-pgsql +endif + +ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) +PURE_FTPD_CONF_ENV += ax_cv_check_cflags___fPIE=no ax_cv_check_ldflags___fPIE=no +endif + +ifeq ($(BR2_PACKAGE_PURE_FTPD_FTPWHO),y) +PURE_FTPD_CONF_OPTS += --with-ftpwho +endif + +ifeq ($(BR2_PACKAGE_PURE_FTPD_QUOTAS),y) +PURE_FTPD_CONF_OPTS += --with-quotas +endif + +ifeq ($(BR2_PACKAGE_PURE_FTPD_UPLOADSCRIPT),y) +PURE_FTPD_CONF_OPTS += --with-uploadscript +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +PURE_FTPD_CONF_OPTS += --with-pam +PURE_FTPD_DEPENDENCIES += linux-pam +else +PURE_FTPD_CONF_OPTS += --without-pam +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch b/buildroot-2022.02.1/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch similarity index 100% rename from buildroot-2021.05/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch rename to buildroot-2022.02.1/package/putty/0001-unix-uxutils.h-fix-build-on-uclibc.patch diff --git a/buildroot-2021.05/package/putty/Config.in b/buildroot-2022.02.1/package/putty/Config.in similarity index 100% rename from buildroot-2021.05/package/putty/Config.in rename to buildroot-2022.02.1/package/putty/Config.in diff --git a/buildroot-2022.02.1/package/putty/putty.hash b/buildroot-2022.02.1/package/putty/putty.hash new file mode 100644 index 00000000..861d45cb --- /dev/null +++ b/buildroot-2022.02.1/package/putty/putty.hash @@ -0,0 +1,8 @@ +# Hashes from: http://the.earth.li/~sgtatham/putty/0.76/{md5,sha1,sha256,sha512}sums +md5 9d22f8c56c1eaa1c0af3098438f25908 putty-0.76.tar.gz +sha1 de09f50aee330eb05ad0cb81b970d0cc8e5c9b25 putty-0.76.tar.gz +sha256 547cd97a8daa87ef71037fab0773bceb54a8abccb2f825a49ef8eba5e045713f putty-0.76.tar.gz +sha512 4576b359593928c6eba923f2d7b66ac0f2cf00e0c217cdbbb124471c3b35feb090e623847bfc507a4ef106cb3067aac47419e241b11dd8bf4ae554061fa93c25 putty-0.76.tar.gz + +# Locally calculated +sha256 3f3e870dd3d0867d79370b1d433602c60bb91b59de04e5d8f2a149b788530d53 LICENCE diff --git a/buildroot-2022.02.1/package/putty/putty.mk b/buildroot-2022.02.1/package/putty/putty.mk new file mode 100644 index 00000000..e57a78be --- /dev/null +++ b/buildroot-2022.02.1/package/putty/putty.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# putty +# +################################################################################ + +PUTTY_VERSION = 0.76 +PUTTY_SITE = http://the.earth.li/~sgtatham/putty/$(PUTTY_VERSION) +PUTTY_LICENSE = MIT +PUTTY_LICENSE_FILES = LICENCE +PUTTY_CPE_ID_VENDOR = putty +PUTTY_CONF_OPTS = --disable-gtktest + +ifeq ($(BR2_PACKAGE_LIBGTK2),y) +PUTTY_CONF_OPTS += --with-gtk=2 +PUTTY_DEPENDENCIES += libgtk2 +else +PUTTY_CONF_OPTS += --without-gtk +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pv/Config.in b/buildroot-2022.02.1/package/pv/Config.in similarity index 100% rename from buildroot-2021.05/package/pv/Config.in rename to buildroot-2022.02.1/package/pv/Config.in diff --git a/buildroot-2022.02.1/package/pv/pv.hash b/buildroot-2022.02.1/package/pv/pv.hash new file mode 100644 index 00000000..b3dd71f7 --- /dev/null +++ b/buildroot-2022.02.1/package/pv/pv.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +sha256 e831951eff0718fba9b1ef286128773b9d0e723e1fbfae88d5a3188814fdc603 pv-1.6.20.tar.bz2 + +# Hash for license file +sha256 280e182171df3e9bb4a9b407326e88521151fcb8f4f8557255f26177d5900ccf doc/COPYING diff --git a/buildroot-2022.02.1/package/pv/pv.mk b/buildroot-2022.02.1/package/pv/pv.mk new file mode 100644 index 00000000..27060cf0 --- /dev/null +++ b/buildroot-2022.02.1/package/pv/pv.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# pv +# +################################################################################ + +PV_VERSION = 1.6.20 +PV_SOURCE = pv-$(PV_VERSION).tar.bz2 +PV_SITE = http://www.ivarch.com/programs/sources +PV_LICENSE = Artistic-2.0 +PV_LICENSE_FILES = doc/COPYING +PV_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) + +# --relax linker option is enabled by default on sparc/sparc64 +# architectures, and it can't be used together with -r option, so +# disable it. +ifeq ($(BR2_sparc)$(BR2_sparc64),y) +PV_LDFLAGS = "-Wl,--no-relax" +endif + +# While 'pv' uses autoconf, it does not use automake for its +# makefiles. It uses $(LD) $(LDFLAGS) to achieve partial linking, but +# using 'ld' directly doesn't work well with some toolchain +# configuration, as the ld default emulation may not necessarily be +# the correct one. By passing the below values for LD and LDFLAGS, we +# ensure that 'gcc' is used to do these partial linking steps. +PV_MAKE_OPTS = \ + LD="$(TARGET_CC)" \ + LDFLAGS="-Wl,-r -nostdlib $(PV_LDFLAGS)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/pwgen/Config.in b/buildroot-2022.02.1/package/pwgen/Config.in similarity index 100% rename from buildroot-2021.05/package/pwgen/Config.in rename to buildroot-2022.02.1/package/pwgen/Config.in diff --git a/buildroot-2021.05/package/pwgen/Config.in.host b/buildroot-2022.02.1/package/pwgen/Config.in.host similarity index 100% rename from buildroot-2021.05/package/pwgen/Config.in.host rename to buildroot-2022.02.1/package/pwgen/Config.in.host diff --git a/buildroot-2021.05/package/pwgen/pwgen.hash b/buildroot-2022.02.1/package/pwgen/pwgen.hash similarity index 100% rename from buildroot-2021.05/package/pwgen/pwgen.hash rename to buildroot-2022.02.1/package/pwgen/pwgen.hash diff --git a/buildroot-2021.05/package/pwgen/pwgen.mk b/buildroot-2022.02.1/package/pwgen/pwgen.mk similarity index 100% rename from buildroot-2021.05/package/pwgen/pwgen.mk rename to buildroot-2022.02.1/package/pwgen/pwgen.mk diff --git a/buildroot-2021.05/package/python-aenum/Config.in b/buildroot-2022.02.1/package/python-aenum/Config.in similarity index 100% rename from buildroot-2021.05/package/python-aenum/Config.in rename to buildroot-2022.02.1/package/python-aenum/Config.in diff --git a/buildroot-2022.02.1/package/python-aenum/python-aenum.hash b/buildroot-2022.02.1/package/python-aenum/python-aenum.hash new file mode 100644 index 00000000..d10254f9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aenum/python-aenum.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aenum/json +md5 6f30144abd4d156f22f8a49d81c496df aenum-3.1.0.tar.gz +sha256 87f0e9ef4f828578ab06af30e4d7944043bf4ecd3f4b7bd1cbe37e2173cde94a aenum-3.1.0.tar.gz +# Locally computed sha256 checksums +sha256 0db837e38002017b352666c83c8d3216ee5b9b2229375eb2cf4487f8c24e1f8c aenum/LICENSE diff --git a/buildroot-2022.02.1/package/python-aenum/python-aenum.mk b/buildroot-2022.02.1/package/python-aenum/python-aenum.mk new file mode 100644 index 00000000..72eaa1db --- /dev/null +++ b/buildroot-2022.02.1/package/python-aenum/python-aenum.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aenum +# +################################################################################ + +PYTHON_AENUM_VERSION = 3.1.0 +PYTHON_AENUM_SOURCE = aenum-$(PYTHON_AENUM_VERSION).tar.gz +PYTHON_AENUM_SITE = https://files.pythonhosted.org/packages/ae/25/00b2949186e76a4c9732e33221274964fecf5c88178cbe5a14a80cfc04e8 +PYTHON_AENUM_SETUP_TYPE = setuptools +PYTHON_AENUM_LICENSE = BSD-3-Clause +PYTHON_AENUM_LICENSE_FILES = aenum/LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aexpect/Config.in b/buildroot-2022.02.1/package/python-aexpect/Config.in new file mode 100644 index 00000000..cc805da6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aexpect/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AEXPECT + bool "python-aexpect" + select BR2_PACKAGE_PYTHON_SIX # runtime + help + Aexpect. + + http://avocado-framework.github.io/ diff --git a/buildroot-2022.02.1/package/python-aexpect/python-aexpect.hash b/buildroot-2022.02.1/package/python-aexpect/python-aexpect.hash new file mode 100644 index 00000000..efe4f55f --- /dev/null +++ b/buildroot-2022.02.1/package/python-aexpect/python-aexpect.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aexpect/json +md5 d37473ff0024c15938bfe86a543537e6 aexpect-1.6.4.tar.gz +sha256 3998aa84ae54963fd59488f0caa533f6edbb31bc6cb842da09b041cbad56ad88 aexpect-1.6.4.tar.gz +# Locally computed sha256 checksums +sha256 7be26abf35e531a226dc742d2379d42d372cb61f027a6e26477c0e2f1a03bfcb LICENSE diff --git a/buildroot-2022.02.1/package/python-aexpect/python-aexpect.mk b/buildroot-2022.02.1/package/python-aexpect/python-aexpect.mk new file mode 100644 index 00000000..8b5e1651 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aexpect/python-aexpect.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aexpect +# +################################################################################ + +PYTHON_AEXPECT_VERSION = 1.6.4 +PYTHON_AEXPECT_SOURCE = aexpect-$(PYTHON_AEXPECT_VERSION).tar.gz +PYTHON_AEXPECT_SITE = https://files.pythonhosted.org/packages/3b/22/f87ffa70348dde4597d9314995be89c8d4c7728260033b972a8d691e3f7d +PYTHON_AEXPECT_SETUP_TYPE = setuptools +PYTHON_AEXPECT_LICENSE = GPL-2.0+ +PYTHON_AEXPECT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aioblescan/Config.in b/buildroot-2022.02.1/package/python-aioblescan/Config.in new file mode 100644 index 00000000..8f6db48a --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioblescan/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_AIOBLESCAN + bool "python-aioblescan" + help + Scanning Bluetooth for advertised info with asyncio. + + https://github.com/frawau/aioblescan diff --git a/buildroot-2022.02.1/package/python-aioblescan/python-aioblescan.hash b/buildroot-2022.02.1/package/python-aioblescan/python-aioblescan.hash new file mode 100644 index 00000000..2592aace --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioblescan/python-aioblescan.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aioblescan/json +md5 f59934c040a817192fcd3e713633cf20 aioblescan-0.2.8.tar.gz +sha256 2b048f5fe6e85b18fe306bdb63307705f3d1139563d3187d751b8657065a5bd9 aioblescan-0.2.8.tar.gz +# Locally computed sha256 checksums +sha256 c2066cd44079e0c706234001af18cb6ad4b62fc68d0d08d29fdc7319916647e0 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-aioblescan/python-aioblescan.mk b/buildroot-2022.02.1/package/python-aioblescan/python-aioblescan.mk new file mode 100644 index 00000000..8a9db927 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioblescan/python-aioblescan.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aioblescan +# +################################################################################ + +PYTHON_AIOBLESCAN_VERSION = 0.2.8 +PYTHON_AIOBLESCAN_SOURCE = aioblescan-$(PYTHON_AIOBLESCAN_VERSION).tar.gz +PYTHON_AIOBLESCAN_SITE = https://files.pythonhosted.org/packages/d2/10/b8b496903f33935c99f3602200d44ccc0b0a57b87e5fa65b89466c1b1f31 +PYTHON_AIOBLESCAN_SETUP_TYPE = setuptools +PYTHON_AIOBLESCAN_LICENSE = MIT +PYTHON_AIOBLESCAN_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiocoap/Config.in b/buildroot-2022.02.1/package/python-aiocoap/Config.in new file mode 100644 index 00000000..c4661432 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiocoap/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_AIOCOAP + bool "python-aiocoap" + help + Python CoAP library. + + https://github.com/chrysn/aiocoap diff --git a/buildroot-2022.02.1/package/python-aiocoap/python-aiocoap.hash b/buildroot-2022.02.1/package/python-aiocoap/python-aiocoap.hash new file mode 100644 index 00000000..6357a879 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiocoap/python-aiocoap.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiocoap/json +md5 c5809dfb02be8784ec17897380009052 aiocoap-0.4.1.tar.gz +sha256 c47c9d19a98699f27707186871b7c84f4a7016fe4fbb5bd300f809ae456f8a55 aiocoap-0.4.1.tar.gz +# Locally computed sha256 checksums +sha256 2bb211d412a6bfa4b2a9cf01123c7fe90e5e6185938896e23ab07b84f8494180 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiocoap/python-aiocoap.mk b/buildroot-2022.02.1/package/python-aiocoap/python-aiocoap.mk new file mode 100644 index 00000000..c933d27b --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiocoap/python-aiocoap.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiocoap +# +################################################################################ + +PYTHON_AIOCOAP_VERSION = 0.4.1 +PYTHON_AIOCOAP_SOURCE = aiocoap-$(PYTHON_AIOCOAP_VERSION).tar.gz +PYTHON_AIOCOAP_SITE = https://files.pythonhosted.org/packages/67/1c/6d6764010a4779d61bc7241afa663b368261c72af20555b26efc875d4276 +PYTHON_AIOCOAP_SETUP_TYPE = setuptools +PYTHON_AIOCOAP_LICENSE = MIT +PYTHON_AIOCOAP_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aioconsole/Config.in b/buildroot-2022.02.1/package/python-aioconsole/Config.in new file mode 100644 index 00000000..6b2a15e1 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioconsole/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_AIOCONSOLE + bool "python-aioconsole" + help + Asynchronous console and interfaces for asyncio. + + https://github.com/vxgmichel/aioconsole diff --git a/buildroot-2022.02.1/package/python-aioconsole/python-aioconsole.hash b/buildroot-2022.02.1/package/python-aioconsole/python-aioconsole.hash new file mode 100644 index 00000000..af8b5c4d --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioconsole/python-aioconsole.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aioconsole/json +md5 105adca78033ef1f0b62d8e81d3efcac aioconsole-0.4.1.tar.gz +sha256 0c0acb66b4e72d6606c9fa14ac9eb001a222c37c885b8fbdf65f41824cfa855f aioconsole-0.4.1.tar.gz +# Locally computed sha256 checksums +sha256 fe3eea6c599e23a00c08c5f5cb2320c30adc8f8687db5fcec9b79a662c53ff6b LICENSE diff --git a/buildroot-2022.02.1/package/python-aioconsole/python-aioconsole.mk b/buildroot-2022.02.1/package/python-aioconsole/python-aioconsole.mk new file mode 100644 index 00000000..a58fd33a --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioconsole/python-aioconsole.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aioconsole +# +################################################################################ + +PYTHON_AIOCONSOLE_VERSION = 0.4.1 +PYTHON_AIOCONSOLE_SOURCE = aioconsole-$(PYTHON_AIOCONSOLE_VERSION).tar.gz +PYTHON_AIOCONSOLE_SITE = https://files.pythonhosted.org/packages/c5/16/a9de89d859eeaa0f9fdf5675a97ea1416265e1ebc039c7b9ea2c9e5433ac +PYTHON_AIOCONSOLE_SETUP_TYPE = setuptools +PYTHON_AIOCONSOLE_LICENSE = GPL-3.0 +PYTHON_AIOCONSOLE_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiodns/Config.in b/buildroot-2022.02.1/package/python-aiodns/Config.in new file mode 100644 index 00000000..63c24293 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiodns/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIODNS + bool "python-aiodns" + select BR2_PACKAGE_PYTHON_PYCARES # runtime + help + Simple DNS resolver for asyncio. + + http://github.com/saghul/aiodns diff --git a/buildroot-2022.02.1/package/python-aiodns/python-aiodns.hash b/buildroot-2022.02.1/package/python-aiodns/python-aiodns.hash new file mode 100644 index 00000000..2cdedc6f --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiodns/python-aiodns.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiodns/json +md5 181e11935c78965de2b2b7b0e5efba8d aiodns-3.0.0.tar.gz +sha256 946bdfabe743fceeeb093c8a010f5d1645f708a241be849e17edfb0e49e08cd6 aiodns-3.0.0.tar.gz +# Locally computed sha256 checksums +sha256 eb0455d35129425ed399883cd710923de3e246a510e2eb84d9f00032d0bbec97 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiodns/python-aiodns.mk b/buildroot-2022.02.1/package/python-aiodns/python-aiodns.mk new file mode 100644 index 00000000..2318dcab --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiodns/python-aiodns.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiodns +# +################################################################################ + +PYTHON_AIODNS_VERSION = 3.0.0 +PYTHON_AIODNS_SOURCE = aiodns-$(PYTHON_AIODNS_VERSION).tar.gz +PYTHON_AIODNS_SITE = https://files.pythonhosted.org/packages/27/79/df72e25df0fdd9bf5a5ab068539731d27c5f2ae5654621ae0c92ceca94cf +PYTHON_AIODNS_SETUP_TYPE = setuptools +PYTHON_AIODNS_LICENSE = MIT +PYTHON_AIODNS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiofiles/Config.in b/buildroot-2022.02.1/package/python-aiofiles/Config.in new file mode 100644 index 00000000..1e6add53 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiofiles/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIOFILES + bool "python-aiofiles" + help + aiofiles aims to handle local disk files in + asyncio applications. + + https://pypi.org/project/aiofiles diff --git a/buildroot-2022.02.1/package/python-aiofiles/python-aiofiles.hash b/buildroot-2022.02.1/package/python-aiofiles/python-aiofiles.hash new file mode 100644 index 00000000..268136a4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiofiles/python-aiofiles.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiofiles/json +md5 697deeb4fdcb620c45f114f173ed7c0d aiofiles-0.8.0.tar.gz +sha256 8334f23235248a3b2e83b2c3a78a22674f39969b96397126cc93664d9a901e59 aiofiles-0.8.0.tar.gz +# Locally computed sha256 checksums +sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiofiles/python-aiofiles.mk b/buildroot-2022.02.1/package/python-aiofiles/python-aiofiles.mk new file mode 100644 index 00000000..996e5eb6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiofiles/python-aiofiles.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiofiles +# +################################################################################ + +PYTHON_AIOFILES_VERSION = 0.8.0 +PYTHON_AIOFILES_SOURCE = aiofiles-$(PYTHON_AIOFILES_VERSION).tar.gz +PYTHON_AIOFILES_SITE = https://files.pythonhosted.org/packages/10/ca/c416cfacf6a47e1400dad56eab85aa86c92c6fbe58447d12035e434f0d5c +PYTHON_AIOFILES_SETUP_TYPE = setuptools +PYTHON_AIOFILES_LICENSE = Apache-2.0 +PYTHON_AIOFILES_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiohttp-cors/Config.in b/buildroot-2022.02.1/package/python-aiohttp-cors/Config.in new file mode 100644 index 00000000..dea3b440 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-cors/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP_CORS + bool "python-aiohttp-cors" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + help + CORS support for aiohttp. + + https://github.com/aio-libs/aiohttp-cors diff --git a/buildroot-2021.05/package/python-aiohttp-cors/python-aiohttp-cors.hash b/buildroot-2022.02.1/package/python-aiohttp-cors/python-aiohttp-cors.hash similarity index 100% rename from buildroot-2021.05/package/python-aiohttp-cors/python-aiohttp-cors.hash rename to buildroot-2022.02.1/package/python-aiohttp-cors/python-aiohttp-cors.hash diff --git a/buildroot-2021.05/package/python-aiohttp-cors/python-aiohttp-cors.mk b/buildroot-2022.02.1/package/python-aiohttp-cors/python-aiohttp-cors.mk similarity index 100% rename from buildroot-2021.05/package/python-aiohttp-cors/python-aiohttp-cors.mk rename to buildroot-2022.02.1/package/python-aiohttp-cors/python-aiohttp-cors.mk diff --git a/buildroot-2022.02.1/package/python-aiohttp-debugtoolbar/Config.in b/buildroot-2022.02.1/package/python-aiohttp-debugtoolbar/Config.in new file mode 100644 index 00000000..e2fede80 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-debugtoolbar/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP_DEBUGTOOLBAR + bool "python-aiohttp-debugtoolbar" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + select BR2_PACKAGE_PYTHON_AIOHTTP_JINJA2 # runtime + help + debugtoolbar for aiohttp. + + https://github.com/aio-libs/aiohttp_debugtoolbar diff --git a/buildroot-2021.05/package/python-aiohttp-debugtoolbar/python-aiohttp-debugtoolbar.hash b/buildroot-2022.02.1/package/python-aiohttp-debugtoolbar/python-aiohttp-debugtoolbar.hash similarity index 100% rename from buildroot-2021.05/package/python-aiohttp-debugtoolbar/python-aiohttp-debugtoolbar.hash rename to buildroot-2022.02.1/package/python-aiohttp-debugtoolbar/python-aiohttp-debugtoolbar.hash diff --git a/buildroot-2021.05/package/python-aiohttp-debugtoolbar/python-aiohttp-debugtoolbar.mk b/buildroot-2022.02.1/package/python-aiohttp-debugtoolbar/python-aiohttp-debugtoolbar.mk similarity index 100% rename from buildroot-2021.05/package/python-aiohttp-debugtoolbar/python-aiohttp-debugtoolbar.mk rename to buildroot-2022.02.1/package/python-aiohttp-debugtoolbar/python-aiohttp-debugtoolbar.mk diff --git a/buildroot-2022.02.1/package/python-aiohttp-jinja2/Config.in b/buildroot-2022.02.1/package/python-aiohttp-jinja2/Config.in new file mode 100644 index 00000000..a536825b --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-jinja2/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP_JINJA2 + bool "python-aiohttp-jinja2" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + select BR2_PACKAGE_PYTHON_JINJA2 # runtime + help + Jinja2 template renderer for aiohttp.web (http server for + asyncio). + + https://github.com/aio-libs/aiohttp_jinja2/ diff --git a/buildroot-2022.02.1/package/python-aiohttp-jinja2/python-aiohttp-jinja2.hash b/buildroot-2022.02.1/package/python-aiohttp-jinja2/python-aiohttp-jinja2.hash new file mode 100644 index 00000000..fbf244e4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-jinja2/python-aiohttp-jinja2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiohttp-jinja2/json +md5 50f74689fd60a5bc0b0a74545277e9bc aiohttp-jinja2-1.5.tar.gz +sha256 7c3ba5eac060b691f4e50534af2d79fca2a75712ebd2b25e6fcb1295859f910b aiohttp-jinja2-1.5.tar.gz +# Locally computed sha256 checksums +sha256 d9d867affaeac220a60381cc544681dcd37c668ed6ea5ddbf9948617f828889a LICENSE diff --git a/buildroot-2022.02.1/package/python-aiohttp-jinja2/python-aiohttp-jinja2.mk b/buildroot-2022.02.1/package/python-aiohttp-jinja2/python-aiohttp-jinja2.mk new file mode 100644 index 00000000..371b4f0b --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-jinja2/python-aiohttp-jinja2.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiohttp-jinja2 +# +################################################################################ + +PYTHON_AIOHTTP_JINJA2_VERSION = 1.5 +PYTHON_AIOHTTP_JINJA2_SOURCE = aiohttp-jinja2-$(PYTHON_AIOHTTP_JINJA2_VERSION).tar.gz +PYTHON_AIOHTTP_JINJA2_SITE = https://files.pythonhosted.org/packages/15/d7/8bdbdb65e2926de332d3c430839d655db61d30a7b5a4a9b2edafbeb3aa20 +PYTHON_AIOHTTP_JINJA2_SETUP_TYPE = setuptools +PYTHON_AIOHTTP_JINJA2_LICENSE = Apache-2.0 +PYTHON_AIOHTTP_JINJA2_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiohttp-mako/Config.in b/buildroot-2022.02.1/package/python-aiohttp-mako/Config.in new file mode 100644 index 00000000..4dae5d95 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-mako/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP_MAKO + bool "python-aiohttp-mako" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + select BR2_PACKAGE_PYTHON_MAKO # runtime + help + mako template renderer for aiohttp.web (http server for + asyncio). + + https://github.com/aio-libs/aiohttp-mako/ diff --git a/buildroot-2021.05/package/python-aiohttp-mako/python-aiohttp-mako.hash b/buildroot-2022.02.1/package/python-aiohttp-mako/python-aiohttp-mako.hash similarity index 100% rename from buildroot-2021.05/package/python-aiohttp-mako/python-aiohttp-mako.hash rename to buildroot-2022.02.1/package/python-aiohttp-mako/python-aiohttp-mako.hash diff --git a/buildroot-2021.05/package/python-aiohttp-mako/python-aiohttp-mako.mk b/buildroot-2022.02.1/package/python-aiohttp-mako/python-aiohttp-mako.mk similarity index 100% rename from buildroot-2021.05/package/python-aiohttp-mako/python-aiohttp-mako.mk rename to buildroot-2022.02.1/package/python-aiohttp-mako/python-aiohttp-mako.mk diff --git a/buildroot-2022.02.1/package/python-aiohttp-remotes/Config.in b/buildroot-2022.02.1/package/python-aiohttp-remotes/Config.in new file mode 100644 index 00000000..7208e373 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-remotes/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP_REMOTES + bool "python-aiohttp-remotes" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + help + Control remote side information. + + https://github.com/aio-libs/aiohttp-remotes diff --git a/buildroot-2022.02.1/package/python-aiohttp-remotes/python-aiohttp-remotes.hash b/buildroot-2022.02.1/package/python-aiohttp-remotes/python-aiohttp-remotes.hash new file mode 100644 index 00000000..595340d5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-remotes/python-aiohttp-remotes.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiohttp-remotes/json +md5 da13880f25ec3b9cf98c7baff92835a2 aiohttp_remotes-1.1.0.tar.gz +sha256 e44f2c5fd5fc3305477c89bb25f14570589100cc58c48b36745d4239839d3174 aiohttp_remotes-1.1.0.tar.gz +# Locally computed sha256 checksums +sha256 4e7d0edf250abe2a28027788b8c55a53d1b5c9ff961b8a00643c76aed637ba13 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiohttp-remotes/python-aiohttp-remotes.mk b/buildroot-2022.02.1/package/python-aiohttp-remotes/python-aiohttp-remotes.mk new file mode 100644 index 00000000..e2bc3e1c --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-remotes/python-aiohttp-remotes.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiohttp-remotes +# +################################################################################ + +PYTHON_AIOHTTP_REMOTES_VERSION = 1.1.0 +PYTHON_AIOHTTP_REMOTES_SOURCE = aiohttp_remotes-$(PYTHON_AIOHTTP_REMOTES_VERSION).tar.gz +PYTHON_AIOHTTP_REMOTES_SITE = https://files.pythonhosted.org/packages/e3/fc/5523010172e2d8685a8934fbb49d564118c9ebc1e4233a62b77310f979db +PYTHON_AIOHTTP_REMOTES_SETUP_TYPE = distutils +PYTHON_AIOHTTP_REMOTES_LICENSE = MIT +PYTHON_AIOHTTP_REMOTES_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiohttp-security/Config.in b/buildroot-2022.02.1/package/python-aiohttp-security/Config.in new file mode 100644 index 00000000..96204d7e --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-security/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP_SECURITY + bool "python-aiohttp-security" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + help + Security for aiohttp.web. + + https://github.com/aio-libs/aiohttp_security/ diff --git a/buildroot-2021.05/package/python-aiohttp-security/python-aiohttp-security.hash b/buildroot-2022.02.1/package/python-aiohttp-security/python-aiohttp-security.hash similarity index 100% rename from buildroot-2021.05/package/python-aiohttp-security/python-aiohttp-security.hash rename to buildroot-2022.02.1/package/python-aiohttp-security/python-aiohttp-security.hash diff --git a/buildroot-2021.05/package/python-aiohttp-security/python-aiohttp-security.mk b/buildroot-2022.02.1/package/python-aiohttp-security/python-aiohttp-security.mk similarity index 100% rename from buildroot-2021.05/package/python-aiohttp-security/python-aiohttp-security.mk rename to buildroot-2022.02.1/package/python-aiohttp-security/python-aiohttp-security.mk diff --git a/buildroot-2022.02.1/package/python-aiohttp-session/Config.in b/buildroot-2022.02.1/package/python-aiohttp-session/Config.in new file mode 100644 index 00000000..99c01794 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-session/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP_SESSION + bool "python-aiohttp-session" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + help + Sessions for aiohttp.web. + + https://github.com/aio-libs/aiohttp_session/ diff --git a/buildroot-2022.02.1/package/python-aiohttp-session/python-aiohttp-session.hash b/buildroot-2022.02.1/package/python-aiohttp-session/python-aiohttp-session.hash new file mode 100644 index 00000000..8b443183 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-session/python-aiohttp-session.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiohttp-session/json +md5 797273eb5f0ef9e95fa92c6a933cf4ad aiohttp-session-2.11.0.tar.gz +sha256 0fdf39600f6a05c4943ef6c7b099071ca9854413111a26761626244be5015dc4 aiohttp-session-2.11.0.tar.gz +# Locally computed sha256 checksums +sha256 7bc5dd2f229a6b922befb1427fd4ad2c0b255f12c1b1869370ba77520dc22bc7 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiohttp-session/python-aiohttp-session.mk b/buildroot-2022.02.1/package/python-aiohttp-session/python-aiohttp-session.mk new file mode 100644 index 00000000..3d59b75e --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-session/python-aiohttp-session.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-aiohttp-session +# +################################################################################ + +PYTHON_AIOHTTP_SESSION_VERSION = 2.11.0 +PYTHON_AIOHTTP_SESSION_SOURCE = aiohttp-session-$(PYTHON_AIOHTTP_SESSION_VERSION).tar.gz +PYTHON_AIOHTTP_SESSION_SITE = https://files.pythonhosted.org/packages/3b/a7/0b97b9a2e3a553a86a6703f86b0e9b1afb2b262849700e8f80015c0f643f +PYTHON_AIOHTTP_SESSION_SETUP_TYPE = setuptools +PYTHON_AIOHTTP_SESSION_LICENSE = Apache-2.0 +PYTHON_AIOHTTP_SESSION_LICENSE_FILES = LICENSE +PYTHON_AIOHTTP_SESSION_CPE_ID_VENDOR = aiohttp-session_project +PYTHON_AIOHTTP_SESSION_CPE_ID_PRODUCT = aiohttp-session + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiohttp-sse/Config.in b/buildroot-2022.02.1/package/python-aiohttp-sse/Config.in new file mode 100644 index 00000000..6e408b7e --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-sse/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP_SSE + bool "python-aiohttp-sse" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + help + Server-sent events support for aiohttp. + + https://github.com/aio-libs/aiohttp_sse/ diff --git a/buildroot-2022.02.1/package/python-aiohttp-sse/python-aiohttp-sse.hash b/buildroot-2022.02.1/package/python-aiohttp-sse/python-aiohttp-sse.hash new file mode 100644 index 00000000..22460145 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-sse/python-aiohttp-sse.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiohttp-sse/json +md5 822cd0c30325e8a711101c1a1ede4058 aiohttp-sse-2.1.0.tar.gz +sha256 dfe8f7271ab4470891fa1bfa1913d6889b3d19015dd3d3a4cab949e66971bbca aiohttp-sse-2.1.0.tar.gz +# Locally computed sha256 checksums +sha256 5585eb91ec607b4fdbe97d44a61146a9cc27bb703336628bc3c6a1eaffe60307 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiohttp-sse/python-aiohttp-sse.mk b/buildroot-2022.02.1/package/python-aiohttp-sse/python-aiohttp-sse.mk new file mode 100644 index 00000000..2aef1579 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp-sse/python-aiohttp-sse.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiohttp-sse +# +################################################################################ + +PYTHON_AIOHTTP_SSE_VERSION = 2.1.0 +PYTHON_AIOHTTP_SSE_SOURCE = aiohttp-sse-$(PYTHON_AIOHTTP_SSE_VERSION).tar.gz +PYTHON_AIOHTTP_SSE_SITE = https://files.pythonhosted.org/packages/2f/3f/cc4f5a3fe6cb50ad5b9d26bb7738c5da1f61645b517d4230df2fc32d89f0 +PYTHON_AIOHTTP_SSE_SETUP_TYPE = setuptools +PYTHON_AIOHTTP_SSE_LICENSE = Apache-2.0 +PYTHON_AIOHTTP_SSE_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiohttp/Config.in b/buildroot-2022.02.1/package/python-aiohttp/Config.in new file mode 100644 index 00000000..35c162b9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_PYTHON_AIOHTTP + bool "python-aiohttp" + select BR2_PACKAGE_PYTHON_AIODNS # runtime + select BR2_PACKAGE_PYTHON_AIOSIGNAL # runtime + select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime + select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_CCHARDET if BR2_INSTALL_LIBSTDCPP # runtime + select BR2_PACKAGE_PYTHON_CHARDET if !BR2_INSTALL_LIBSTDCPP # runtime + select BR2_PACKAGE_PYTHON_MULTIDICT # runtime + select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + select BR2_PACKAGE_PYTHON_YARL # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + Async http client/server framework (asyncio). + + https://github.com/aio-libs/aiohttp diff --git a/buildroot-2022.02.1/package/python-aiohttp/python-aiohttp.hash b/buildroot-2022.02.1/package/python-aiohttp/python-aiohttp.hash new file mode 100644 index 00000000..b2b0f8c9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp/python-aiohttp.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiohttp/json +md5 faf7726dc65a940272874c0f441e8ec6 aiohttp-3.8.1.tar.gz +sha256 fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578 aiohttp-3.8.1.tar.gz +# Locally computed sha256 checksums +sha256 383c70c090b60ae81e035fe4fafed689b45c4421cd3bc355f1bd41ac208ccf3f LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-aiohttp/python-aiohttp.mk b/buildroot-2022.02.1/package/python-aiohttp/python-aiohttp.mk new file mode 100644 index 00000000..5a2d3064 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiohttp/python-aiohttp.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-aiohttp +# +################################################################################ + +PYTHON_AIOHTTP_VERSION = 3.8.1 +PYTHON_AIOHTTP_SOURCE = aiohttp-$(PYTHON_AIOHTTP_VERSION).tar.gz +PYTHON_AIOHTTP_SITE = https://files.pythonhosted.org/packages/5a/86/5f63de7a202550269a617a5d57859a2961f3396ecd1739a70b92224766bc +PYTHON_AIOHTTP_SETUP_TYPE = setuptools +PYTHON_AIOHTTP_LICENSE = Apache-2.0 +PYTHON_AIOHTTP_LICENSE_FILES = LICENSE.txt +PYTHON_AIOHTTP_CPE_ID_VENDOR = aiohttp_project +PYTHON_AIOHTTP_CPE_ID_PRODUCT = aiohttp + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiojobs/Config.in b/buildroot-2022.02.1/package/python-aiojobs/Config.in new file mode 100644 index 00000000..0cdd1c10 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiojobs/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_AIOJOBS + bool "python-aiojobs" + help + Jobs scheduler for managing background task (asyncio). + + https://github.com/aio-libs/aiojobs diff --git a/buildroot-2022.02.1/package/python-aiojobs/python-aiojobs.hash b/buildroot-2022.02.1/package/python-aiojobs/python-aiojobs.hash new file mode 100644 index 00000000..44bf20c4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiojobs/python-aiojobs.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiojobs/json +md5 d537fefca047067255758d7cb9e39db8 aiojobs-0.3.0.tar.gz +sha256 f6631d42dc4308f7d883abbd70d4e976f3fcc35a3ba1e8eae5d4af4940a1e0c3 aiojobs-0.3.0.tar.gz +# Locally computed sha256 checksums +sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiojobs/python-aiojobs.mk b/buildroot-2022.02.1/package/python-aiojobs/python-aiojobs.mk new file mode 100644 index 00000000..5d9a19eb --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiojobs/python-aiojobs.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiojobs +# +################################################################################ + +PYTHON_AIOJOBS_VERSION = 0.3.0 +PYTHON_AIOJOBS_SOURCE = aiojobs-$(PYTHON_AIOJOBS_VERSION).tar.gz +PYTHON_AIOJOBS_SITE = https://files.pythonhosted.org/packages/da/09/76d9c0d66d2fd1333835f110cd85f7456de7cf3f60425e3b283fba562731 +PYTHON_AIOJOBS_SETUP_TYPE = distutils +PYTHON_AIOJOBS_LICENSE = Apache-2.0 +PYTHON_AIOJOBS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiologstash/Config.in b/buildroot-2022.02.1/package/python-aiologstash/Config.in new file mode 100644 index 00000000..ce7ebe03 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiologstash/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_AIOLOGSTASH + bool "python-aiologstash" + select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime + select BR2_PACKAGE_PYTHON_LOGSTASH # runtime + help + asyncio-compatible logstash logging handler. + + https://github.com/aio-libs/aiologstash diff --git a/buildroot-2021.05/package/python-aiologstash/python-aiologstash.hash b/buildroot-2022.02.1/package/python-aiologstash/python-aiologstash.hash similarity index 100% rename from buildroot-2021.05/package/python-aiologstash/python-aiologstash.hash rename to buildroot-2022.02.1/package/python-aiologstash/python-aiologstash.hash diff --git a/buildroot-2021.05/package/python-aiologstash/python-aiologstash.mk b/buildroot-2022.02.1/package/python-aiologstash/python-aiologstash.mk similarity index 100% rename from buildroot-2021.05/package/python-aiologstash/python-aiologstash.mk rename to buildroot-2022.02.1/package/python-aiologstash/python-aiologstash.mk diff --git a/buildroot-2022.02.1/package/python-aiomonitor/Config.in b/buildroot-2022.02.1/package/python-aiomonitor/Config.in new file mode 100644 index 00000000..435900ae --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiomonitor/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_AIOMONITOR + bool "python-aiomonitor" + select BR2_PACKAGE_PYTHON_TERMINALTABLES # runtime + select BR2_PACKAGE_PYTHON_AIOCONSOLE # runtime + help + aiomonitor adds monitor and python REPL capabilities for + asyncio application. + + https://github.com/aio-libs/aiomonitor diff --git a/buildroot-2021.05/package/python-aiomonitor/python-aiomonitor.hash b/buildroot-2022.02.1/package/python-aiomonitor/python-aiomonitor.hash similarity index 100% rename from buildroot-2021.05/package/python-aiomonitor/python-aiomonitor.hash rename to buildroot-2022.02.1/package/python-aiomonitor/python-aiomonitor.hash diff --git a/buildroot-2021.05/package/python-aiomonitor/python-aiomonitor.mk b/buildroot-2022.02.1/package/python-aiomonitor/python-aiomonitor.mk similarity index 100% rename from buildroot-2021.05/package/python-aiomonitor/python-aiomonitor.mk rename to buildroot-2022.02.1/package/python-aiomonitor/python-aiomonitor.mk diff --git a/buildroot-2022.02.1/package/python-aioprocessing/Config.in b/buildroot-2022.02.1/package/python-aioprocessing/Config.in new file mode 100644 index 00000000..381805c7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioprocessing/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIOPROCESSING + bool "python-aioprocessing" + help + A Python 3.5+ library that integrates the multiprocessing + module with asyncio. + + https://github.com/dano/aioprocessing diff --git a/buildroot-2022.02.1/package/python-aioprocessing/python-aioprocessing.hash b/buildroot-2022.02.1/package/python-aioprocessing/python-aioprocessing.hash new file mode 100644 index 00000000..cf92a72d --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioprocessing/python-aioprocessing.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aioprocessing/json +md5 838b6aa073f1373bd42204f86b0e3196 aioprocessing-2.0.0.tar.gz +sha256 469dfb746e8c4e0c727ba135cfabf9e034c554f6a73c27f908bfe3625dd74b9e aioprocessing-2.0.0.tar.gz +# Locally computed sha256 checksums +sha256 53c809e8f0b91a68a39477e5fbdf77fe2b74dd6a1647c2dd9b7b22fed135239e LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-aioprocessing/python-aioprocessing.mk b/buildroot-2022.02.1/package/python-aioprocessing/python-aioprocessing.mk new file mode 100644 index 00000000..e1e919de --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioprocessing/python-aioprocessing.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aioprocessing +# +################################################################################ + +PYTHON_AIOPROCESSING_VERSION = 2.0.0 +PYTHON_AIOPROCESSING_SOURCE = aioprocessing-$(PYTHON_AIOPROCESSING_VERSION).tar.gz +PYTHON_AIOPROCESSING_SITE = https://files.pythonhosted.org/packages/8e/3e/54266241660fb026bfd27f660d44cd81a4b7f8a145d8e2db010de12622a0 +PYTHON_AIOPROCESSING_SETUP_TYPE = setuptools +PYTHON_AIOPROCESSING_LICENSE = BSD-2-Clause +PYTHON_AIOPROCESSING_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aioredis/Config.in b/buildroot-2022.02.1/package/python-aioredis/Config.in new file mode 100644 index 00000000..46ed2c7a --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioredis/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_AIOREDIS + bool "python-aioredis" + select BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT # runtime + select BR2_PACKAGE_PYTHON_HIREDIS # runtime + help + Provides simple and clear interface to Redis based on asyncio. + + https://github.com/aio-libs/aioredis diff --git a/buildroot-2022.02.1/package/python-aioredis/python-aioredis.hash b/buildroot-2022.02.1/package/python-aioredis/python-aioredis.hash new file mode 100644 index 00000000..29e63610 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioredis/python-aioredis.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aioredis/json +md5 8f3547af83ef4b863b18c19f23166a9d aioredis-2.0.1.tar.gz +sha256 eaa51aaf993f2d71f54b70527c440437ba65340588afeb786cd87c55c89cd98e aioredis-2.0.1.tar.gz +# Locally computed sha256 checksums +sha256 183b21f240e41af611c951d01d4f36793d470a82d5fd79efc21f25ae4cf68543 LICENSE diff --git a/buildroot-2022.02.1/package/python-aioredis/python-aioredis.mk b/buildroot-2022.02.1/package/python-aioredis/python-aioredis.mk new file mode 100644 index 00000000..798dbd0c --- /dev/null +++ b/buildroot-2022.02.1/package/python-aioredis/python-aioredis.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aioredis +# +################################################################################ + +PYTHON_AIOREDIS_VERSION = 2.0.1 +PYTHON_AIOREDIS_SOURCE = aioredis-$(PYTHON_AIOREDIS_VERSION).tar.gz +PYTHON_AIOREDIS_SITE = https://files.pythonhosted.org/packages/2e/cf/9eb144a0b05809ffc5d29045c4b51039000ea275bc1268d0351c9e7dfc06 +PYTHON_AIOREDIS_SETUP_TYPE = setuptools +PYTHON_AIOREDIS_LICENSE = MIT +PYTHON_AIOREDIS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiorwlock/Config.in b/buildroot-2022.02.1/package/python-aiorwlock/Config.in new file mode 100644 index 00000000..3b618905 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiorwlock/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_AIORWLOCK + bool "python-aiorwlock" + help + Read write lock for asyncio. + + https://github.com/aio-libs/aiorwlock diff --git a/buildroot-2022.02.1/package/python-aiorwlock/python-aiorwlock.hash b/buildroot-2022.02.1/package/python-aiorwlock/python-aiorwlock.hash new file mode 100644 index 00000000..15584a8a --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiorwlock/python-aiorwlock.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiorwlock/json +md5 28e4812a1d1d67a2be4370209ece5528 aiorwlock-1.3.0.tar.gz +sha256 83f12d87df4b9728a0b8fda1756585ab0d652b107bab59c6084e1b1ad692ab45 aiorwlock-1.3.0.tar.gz +# Locally computed sha256 checksums +sha256 fa99ee9d7727194a9f8994c67d1948dc42e8e00ab809fd4a47acfae119d11403 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiorwlock/python-aiorwlock.mk b/buildroot-2022.02.1/package/python-aiorwlock/python-aiorwlock.mk new file mode 100644 index 00000000..a5e7eeae --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiorwlock/python-aiorwlock.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiorwlock +# +################################################################################ + +PYTHON_AIORWLOCK_VERSION = 1.3.0 +PYTHON_AIORWLOCK_SOURCE = aiorwlock-$(PYTHON_AIORWLOCK_VERSION).tar.gz +PYTHON_AIORWLOCK_SITE = https://files.pythonhosted.org/packages/77/fe/7027595f5e635ac1f597f7160a420e1f642a474576efb697001efea16bdc +PYTHON_AIORWLOCK_SETUP_TYPE = setuptools +PYTHON_AIORWLOCK_LICENSE = Apache-2.0 +PYTHON_AIORWLOCK_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiosignal/Config.in b/buildroot-2022.02.1/package/python-aiosignal/Config.in new file mode 100644 index 00000000..9bb29983 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiosignal/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_AIOSIGNAL + bool "python-aiosignal" + select BR2_PACKAGE_PYTHON_FROZENLIST # runtime + help + aiosignal: a list of registered asynchronous callbacks. + + https://github.com/aio-libs/aiosignal diff --git a/buildroot-2022.02.1/package/python-aiosignal/python-aiosignal.hash b/buildroot-2022.02.1/package/python-aiosignal/python-aiosignal.hash new file mode 100644 index 00000000..f2a09749 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiosignal/python-aiosignal.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiosignal/json +md5 011700c3acc576a3a38deade6a4860cb aiosignal-1.2.0.tar.gz +sha256 78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2 aiosignal-1.2.0.tar.gz +# Locally computed sha256 checksums +sha256 6fd5243e92dd7f98ec69c7ac377728e74905709ff527a5bf98d6d0263c04f5b6 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiosignal/python-aiosignal.mk b/buildroot-2022.02.1/package/python-aiosignal/python-aiosignal.mk new file mode 100644 index 00000000..e0436e97 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiosignal/python-aiosignal.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiosignal +# +################################################################################ + +PYTHON_AIOSIGNAL_VERSION = 1.2.0 +PYTHON_AIOSIGNAL_SOURCE = aiosignal-$(PYTHON_AIOSIGNAL_VERSION).tar.gz +PYTHON_AIOSIGNAL_SITE = https://files.pythonhosted.org/packages/27/6b/a89fbcfae70cf53f066ec22591938296889d3cc58fec1e1c393b10e8d71d +PYTHON_AIOSIGNAL_SETUP_TYPE = setuptools +PYTHON_AIOSIGNAL_LICENSE = Apache-2.0 +PYTHON_AIOSIGNAL_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-aiozipkin/Config.in b/buildroot-2022.02.1/package/python-aiozipkin/Config.in new file mode 100644 index 00000000..6ce6d86b --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiozipkin/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_AIOZIPKIN + bool "python-aiozipkin" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + help + Distributed tracing instrumentation for asyncio application + with zipkin. + + https://github.com/aio-libs/aiozipkin diff --git a/buildroot-2022.02.1/package/python-aiozipkin/python-aiozipkin.hash b/buildroot-2022.02.1/package/python-aiozipkin/python-aiozipkin.hash new file mode 100644 index 00000000..d1563b20 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiozipkin/python-aiozipkin.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/aiozipkin/json +md5 0fea8a200ab2a94fe9a2340a8cbf8512 aiozipkin-1.1.1.tar.gz +sha256 9b82619d9ef309e72627a81ab3fda0c9b83e530844cf59f2e9a011e9a2a1293f aiozipkin-1.1.1.tar.gz +# Locally computed sha256 checksums +sha256 98397c300949e0cc1ddc68b0e48e67b10f2d0a4ffada4903d891a1315fe04156 LICENSE diff --git a/buildroot-2022.02.1/package/python-aiozipkin/python-aiozipkin.mk b/buildroot-2022.02.1/package/python-aiozipkin/python-aiozipkin.mk new file mode 100644 index 00000000..06ea9ef1 --- /dev/null +++ b/buildroot-2022.02.1/package/python-aiozipkin/python-aiozipkin.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-aiozipkin +# +################################################################################ + +PYTHON_AIOZIPKIN_VERSION = 1.1.1 +PYTHON_AIOZIPKIN_SOURCE = aiozipkin-$(PYTHON_AIOZIPKIN_VERSION).tar.gz +PYTHON_AIOZIPKIN_SITE = https://files.pythonhosted.org/packages/f2/fe/26a60a7c9e91c968eac5dacab2948ed931a676880a6878695ff281c72b8f +PYTHON_AIOZIPKIN_SETUP_TYPE = setuptools +PYTHON_AIOZIPKIN_LICENSE = Apache-2.0 +PYTHON_AIOZIPKIN_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-alsaaudio/Config.in b/buildroot-2022.02.1/package/python-alsaaudio/Config.in similarity index 100% rename from buildroot-2021.05/package/python-alsaaudio/Config.in rename to buildroot-2022.02.1/package/python-alsaaudio/Config.in diff --git a/buildroot-2021.05/package/python-alsaaudio/python-alsaaudio.hash b/buildroot-2022.02.1/package/python-alsaaudio/python-alsaaudio.hash similarity index 100% rename from buildroot-2021.05/package/python-alsaaudio/python-alsaaudio.hash rename to buildroot-2022.02.1/package/python-alsaaudio/python-alsaaudio.hash diff --git a/buildroot-2021.05/package/python-alsaaudio/python-alsaaudio.mk b/buildroot-2022.02.1/package/python-alsaaudio/python-alsaaudio.mk similarity index 100% rename from buildroot-2021.05/package/python-alsaaudio/python-alsaaudio.mk rename to buildroot-2022.02.1/package/python-alsaaudio/python-alsaaudio.mk diff --git a/buildroot-2021.05/package/python-ansicolors/Config.in b/buildroot-2022.02.1/package/python-ansicolors/Config.in similarity index 100% rename from buildroot-2021.05/package/python-ansicolors/Config.in rename to buildroot-2022.02.1/package/python-ansicolors/Config.in diff --git a/buildroot-2021.05/package/python-ansicolors/python-ansicolors.hash b/buildroot-2022.02.1/package/python-ansicolors/python-ansicolors.hash similarity index 100% rename from buildroot-2021.05/package/python-ansicolors/python-ansicolors.hash rename to buildroot-2022.02.1/package/python-ansicolors/python-ansicolors.hash diff --git a/buildroot-2021.05/package/python-ansicolors/python-ansicolors.mk b/buildroot-2022.02.1/package/python-ansicolors/python-ansicolors.mk similarity index 100% rename from buildroot-2021.05/package/python-ansicolors/python-ansicolors.mk rename to buildroot-2022.02.1/package/python-ansicolors/python-ansicolors.mk diff --git a/buildroot-2021.05/package/python-argh/Config.in b/buildroot-2022.02.1/package/python-argh/Config.in similarity index 100% rename from buildroot-2021.05/package/python-argh/Config.in rename to buildroot-2022.02.1/package/python-argh/Config.in diff --git a/buildroot-2021.05/package/python-argh/python-argh.hash b/buildroot-2022.02.1/package/python-argh/python-argh.hash similarity index 100% rename from buildroot-2021.05/package/python-argh/python-argh.hash rename to buildroot-2022.02.1/package/python-argh/python-argh.hash diff --git a/buildroot-2021.05/package/python-argh/python-argh.mk b/buildroot-2022.02.1/package/python-argh/python-argh.mk similarity index 100% rename from buildroot-2021.05/package/python-argh/python-argh.mk rename to buildroot-2022.02.1/package/python-argh/python-argh.mk diff --git a/buildroot-2022.02.1/package/python-argon2-cffi-bindings/Config.in b/buildroot-2022.02.1/package/python-argon2-cffi-bindings/Config.in new file mode 100644 index 00000000..2e6a4a6c --- /dev/null +++ b/buildroot-2022.02.1/package/python-argon2-cffi-bindings/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_ARGON2_CFFI_BINDINGS + bool "python-argon2-cffi-bindings" + depends on BR2_USE_MMU # libargon2 + depends on !BR2_STATIC_LIBS # libargon2 + select BR2_PACKAGE_PYTHON_CFFI # runtime + select BR2_PACKAGE_LIBARGON2 + help + Low-level CFFI bindings for Argon2. + + https://github.com/hynek/argon2-cffi-bindings diff --git a/buildroot-2022.02.1/package/python-argon2-cffi-bindings/python-argon2-cffi-bindings.hash b/buildroot-2022.02.1/package/python-argon2-cffi-bindings/python-argon2-cffi-bindings.hash new file mode 100644 index 00000000..e088d3da --- /dev/null +++ b/buildroot-2022.02.1/package/python-argon2-cffi-bindings/python-argon2-cffi-bindings.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/argon2-cffi-bindings/json +md5 f1591e1af7dea9ef3e5b982e2c196c1d argon2-cffi-bindings-21.2.0.tar.gz +sha256 bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3 argon2-cffi-bindings-21.2.0.tar.gz +# Locally computed sha256 checksums +sha256 9c158d4f433627f48ac24b6b4d37970afe4172514673c5318014d7cca157c6df LICENSE diff --git a/buildroot-2022.02.1/package/python-argon2-cffi-bindings/python-argon2-cffi-bindings.mk b/buildroot-2022.02.1/package/python-argon2-cffi-bindings/python-argon2-cffi-bindings.mk new file mode 100644 index 00000000..f0d71e80 --- /dev/null +++ b/buildroot-2022.02.1/package/python-argon2-cffi-bindings/python-argon2-cffi-bindings.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# python-argon2-cffi-bindings +# +################################################################################ + +PYTHON_ARGON2_CFFI_BINDINGS_VERSION = 21.2.0 +PYTHON_ARGON2_CFFI_BINDINGS_SOURCE = argon2-cffi-bindings-$(PYTHON_ARGON2_CFFI_BINDINGS_VERSION).tar.gz +PYTHON_ARGON2_CFFI_BINDINGS_SITE = https://files.pythonhosted.org/packages/b9/e9/184b8ccce6683b0aa2fbb7ba5683ea4b9c5763f1356347f1312c32e3c66e +PYTHON_ARGON2_CFFI_BINDINGS_SETUP_TYPE = setuptools +PYTHON_ARGON2_CFFI_BINDINGS_LICENSE = MIT +PYTHON_ARGON2_CFFI_BINDINGS_LICENSE_FILES = LICENSE +PYTHON_ARGON2_CFFI_BINDINGS_DEPENDENCIES = \ + host-python-cffi \ + host-python-setuptools-scm \ + libargon2 +PYTHON_ARGON2_CFFI_BINDINGS_ENV = ARGON2_CFFI_USE_SYSTEM=1 + +ifeq ($(BR2_X86_CPU_HAS_SSE2),y) +PYTHON_ARGON2_CFFI_BINDINGS_ENV += ARGON2_CFFI_USE_SSE2=1 +else +PYTHON_ARGON2_CFFI_BINDINGS_ENV += ARGON2_CFFI_USE_SSE2=0 +endif + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-argon2-cffi/Config.in b/buildroot-2022.02.1/package/python-argon2-cffi/Config.in new file mode 100644 index 00000000..5cddb331 --- /dev/null +++ b/buildroot-2022.02.1/package/python-argon2-cffi/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_ARGON2_CFFI + bool "python-argon2-cffi" + depends on BR2_USE_MMU # libargon2 + depends on !BR2_STATIC_LIBS # libargon2 + select BR2_PACKAGE_PYTHON_CFFI # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_LIBARGON2 + help + The secure Argon2 password hashing algorithm. + + https://argon2-cffi.readthedocs.io/ diff --git a/buildroot-2022.02.1/package/python-argon2-cffi/python-argon2-cffi.hash b/buildroot-2022.02.1/package/python-argon2-cffi/python-argon2-cffi.hash new file mode 100644 index 00000000..6c416ffd --- /dev/null +++ b/buildroot-2022.02.1/package/python-argon2-cffi/python-argon2-cffi.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/argon2-cffi/json +md5 f33bc18f2c2438f685ba1f0bbd2b86a4 argon2-cffi-21.1.0.tar.gz +sha256 f710b61103d1a1f692ca3ecbd1373e28aa5e545ac625ba067ff2feca1b2bb870 argon2-cffi-21.1.0.tar.gz +# Locally computed sha256 checksums +sha256 bf659a28b49240602f56bbdf490cbe2ec509b15b98f99d7b19a52c740e327863 LICENSE diff --git a/buildroot-2022.02.1/package/python-argon2-cffi/python-argon2-cffi.mk b/buildroot-2022.02.1/package/python-argon2-cffi/python-argon2-cffi.mk new file mode 100644 index 00000000..f01c9405 --- /dev/null +++ b/buildroot-2022.02.1/package/python-argon2-cffi/python-argon2-cffi.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# python-argon2-cffi +# +################################################################################ + +PYTHON_ARGON2_CFFI_VERSION = 21.1.0 +PYTHON_ARGON2_CFFI_SOURCE = argon2-cffi-$(PYTHON_ARGON2_CFFI_VERSION).tar.gz +PYTHON_ARGON2_CFFI_SITE = https://files.pythonhosted.org/packages/7b/39/a26aaef5c3f0c6cfd67c80599b5b40a794fdab46f4ee3be925d71e2f9596 +PYTHON_ARGON2_CFFI_SETUP_TYPE = setuptools +PYTHON_ARGON2_CFFI_LICENSE = MIT +PYTHON_ARGON2_CFFI_LICENSE_FILES = LICENSE +PYTHON_ARGON2_CFFI_DEPENDENCIES = host-python-cffi libargon2 +PYTHON_ARGON2_CFFI_ENV = ARGON2_CFFI_USE_SYSTEM=1 + +ifeq ($(BR2_X86_CPU_HAS_SSE2),y) +PYTHON_ARGON2_CFFI_ENV += ARGON2_CFFI_USE_SSE2=1 +else +PYTHON_ARGON2_CFFI_ENV += ARGON2_CFFI_USE_SSE2=0 +endif + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-arrow/Config.in b/buildroot-2022.02.1/package/python-arrow/Config.in new file mode 100644 index 00000000..24495687 --- /dev/null +++ b/buildroot-2022.02.1/package/python-arrow/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_ARROW + bool "python-arrow" + select BR2_PACKAGE_PYTHON_DATEUTIL # runtime + help + Better dates and times for Python. + + https://github.com/crsmithdev/arrow/ diff --git a/buildroot-2022.02.1/package/python-arrow/python-arrow.hash b/buildroot-2022.02.1/package/python-arrow/python-arrow.hash new file mode 100644 index 00000000..9216e1c2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-arrow/python-arrow.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/arrow/json +md5 608682052926c7e5636285af0618ef38 arrow-1.2.0.tar.gz +sha256 16fc29bbd9e425e3eb0fef3018297910a0f4568f21116fc31771e2760a50e074 arrow-1.2.0.tar.gz +# Locally computed sha256 checksums +sha256 40d6e1255d7151f5f041a514725d3c94ffa8c1881e5a0c29b6bea93f03e2e3bb LICENSE diff --git a/buildroot-2022.02.1/package/python-arrow/python-arrow.mk b/buildroot-2022.02.1/package/python-arrow/python-arrow.mk new file mode 100644 index 00000000..a20ac8db --- /dev/null +++ b/buildroot-2022.02.1/package/python-arrow/python-arrow.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-arrow +# +################################################################################ + +PYTHON_ARROW_VERSION = 1.2.0 +PYTHON_ARROW_SOURCE = arrow-$(PYTHON_ARROW_VERSION).tar.gz +PYTHON_ARROW_SITE = https://files.pythonhosted.org/packages/dc/bd/2565b8533bb8cf66e10a9e68a1d489ad839799b2050f0635039e614e3b1a +PYTHON_ARROW_SETUP_TYPE = setuptools +PYTHON_ARROW_LICENSE = Apache-2.0 +PYTHON_ARROW_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-asgiref/Config.in b/buildroot-2022.02.1/package/python-asgiref/Config.in new file mode 100644 index 00000000..d0b816c3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-asgiref/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_ASGIREF + bool "python-asgiref" + help + ASGI is a standard for Python asynchronous web apps and + servers to communicate with each other, and positioned as + an asynchronous successor to WSGI. + + This package includes ASGI base libraries, such as: + - Sync-to-async and async-to-sync function wrappers, + asgiref.sync + - Server base classes, asgiref.server + - A WSGI-to-ASGI adapter, in asgiref.wsgi + + http://github.com/django/asgiref/ diff --git a/buildroot-2021.05/package/python-asgiref/python-asgiref.hash b/buildroot-2022.02.1/package/python-asgiref/python-asgiref.hash similarity index 100% rename from buildroot-2021.05/package/python-asgiref/python-asgiref.hash rename to buildroot-2022.02.1/package/python-asgiref/python-asgiref.hash diff --git a/buildroot-2021.05/package/python-asgiref/python-asgiref.mk b/buildroot-2022.02.1/package/python-asgiref/python-asgiref.mk similarity index 100% rename from buildroot-2021.05/package/python-asgiref/python-asgiref.mk rename to buildroot-2022.02.1/package/python-asgiref/python-asgiref.mk diff --git a/buildroot-2021.05/package/python-asn1crypto/Config.in b/buildroot-2022.02.1/package/python-asn1crypto/Config.in similarity index 100% rename from buildroot-2021.05/package/python-asn1crypto/Config.in rename to buildroot-2022.02.1/package/python-asn1crypto/Config.in diff --git a/buildroot-2022.02.1/package/python-asn1crypto/python-asn1crypto.hash b/buildroot-2022.02.1/package/python-asn1crypto/python-asn1crypto.hash new file mode 100644 index 00000000..fb2da94e --- /dev/null +++ b/buildroot-2022.02.1/package/python-asn1crypto/python-asn1crypto.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/asn1crypto/json +md5 00bf5b72d37778e62cc73b1d8909ae27 asn1crypto-1.4.0.tar.gz +sha256 f4f6e119474e58e04a2b1af817eb585b4fd72bdd89b998624712b5c99be7641c asn1crypto-1.4.0.tar.gz +# Locally computed sha256 checksums +sha256 a88480656ec98943fb04344f6a477ee74062896f3ddb1a6f99e5f05f0109a286 LICENSE diff --git a/buildroot-2022.02.1/package/python-asn1crypto/python-asn1crypto.mk b/buildroot-2022.02.1/package/python-asn1crypto/python-asn1crypto.mk new file mode 100644 index 00000000..af4e43b3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-asn1crypto/python-asn1crypto.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-asn1crypto +# +################################################################################ + +PYTHON_ASN1CRYPTO_VERSION = 1.4.0 +PYTHON_ASN1CRYPTO_SOURCE = asn1crypto-$(PYTHON_ASN1CRYPTO_VERSION).tar.gz +PYTHON_ASN1CRYPTO_SITE = https://files.pythonhosted.org/packages/6b/b4/42f0e52ac2184a8abb31f0a6f98111ceee1aac0b473cee063882436e0e09 +PYTHON_ASN1CRYPTO_SETUP_TYPE = setuptools +PYTHON_ASN1CRYPTO_LICENSE = MIT +PYTHON_ASN1CRYPTO_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-async-lru/Config.in b/buildroot-2022.02.1/package/python-async-lru/Config.in new file mode 100644 index 00000000..dc44e8cd --- /dev/null +++ b/buildroot-2022.02.1/package/python-async-lru/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_ASYNC_LRU + bool "python-async-lru" + help + Simple lru_cache for asyncio. + + https://github.com/aio-libs/async_lru diff --git a/buildroot-2021.05/package/python-async-lru/python-async-lru.hash b/buildroot-2022.02.1/package/python-async-lru/python-async-lru.hash similarity index 100% rename from buildroot-2021.05/package/python-async-lru/python-async-lru.hash rename to buildroot-2022.02.1/package/python-async-lru/python-async-lru.hash diff --git a/buildroot-2021.05/package/python-async-lru/python-async-lru.mk b/buildroot-2022.02.1/package/python-async-lru/python-async-lru.mk similarity index 100% rename from buildroot-2021.05/package/python-async-lru/python-async-lru.mk rename to buildroot-2022.02.1/package/python-async-lru/python-async-lru.mk diff --git a/buildroot-2022.02.1/package/python-async-timeout/Config.in b/buildroot-2022.02.1/package/python-async-timeout/Config.in new file mode 100644 index 00000000..d19f15b3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-async-timeout/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT + bool "python-async-timeout" + select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + help + asyncio-compatible timeout context manager. + + https://github.com/aio-libs/async-timeout diff --git a/buildroot-2022.02.1/package/python-async-timeout/python-async-timeout.hash b/buildroot-2022.02.1/package/python-async-timeout/python-async-timeout.hash new file mode 100644 index 00000000..0ecf1ef5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-async-timeout/python-async-timeout.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/async-timeout/json +md5 10571272b2e0fab839ec23f8293bf482 async-timeout-4.0.2.tar.gz +sha256 2163e1640ddb52b7a8c80d0a67a08587e5d245cc9c553a74a847056bc2976b15 async-timeout-4.0.2.tar.gz +# Locally computed sha256 checksums +sha256 e18d7bb8f513e2c46bb585c94b585bd30720dd3ccb21ddb0786f72d16658f92c LICENSE diff --git a/buildroot-2022.02.1/package/python-async-timeout/python-async-timeout.mk b/buildroot-2022.02.1/package/python-async-timeout/python-async-timeout.mk new file mode 100644 index 00000000..b3c5f79e --- /dev/null +++ b/buildroot-2022.02.1/package/python-async-timeout/python-async-timeout.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-async-timeout +# +################################################################################ + +PYTHON_ASYNC_TIMEOUT_VERSION = 4.0.2 +PYTHON_ASYNC_TIMEOUT_SOURCE = async-timeout-$(PYTHON_ASYNC_TIMEOUT_VERSION).tar.gz +PYTHON_ASYNC_TIMEOUT_SITE = https://files.pythonhosted.org/packages/54/6e/9678f7b2993537452710ffb1750c62d2c26df438aa621ad5fa9d1507a43a +PYTHON_ASYNC_TIMEOUT_LICENSE = Apache-2.0 +PYTHON_ASYNC_TIMEOUT_LICENSE_FILES = LICENSE +PYTHON_ASYNC_TIMEOUT_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-attrs/Config.in b/buildroot-2022.02.1/package/python-attrs/Config.in similarity index 100% rename from buildroot-2021.05/package/python-attrs/Config.in rename to buildroot-2022.02.1/package/python-attrs/Config.in diff --git a/buildroot-2022.02.1/package/python-attrs/python-attrs.hash b/buildroot-2022.02.1/package/python-attrs/python-attrs.hash new file mode 100644 index 00000000..823a9459 --- /dev/null +++ b/buildroot-2022.02.1/package/python-attrs/python-attrs.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/attrs/json +md5 5a9b5e9ceebc380a13fb93235b11bbda attrs-21.4.0.tar.gz +sha256 626ba8234211db98e869df76230a137c4c40a12d72445c45d5f5b716f076e2fd attrs-21.4.0.tar.gz +# Locally computed sha256 checksums +sha256 bf659a28b49240602f56bbdf490cbe2ec509b15b98f99d7b19a52c740e327863 LICENSE diff --git a/buildroot-2022.02.1/package/python-attrs/python-attrs.mk b/buildroot-2022.02.1/package/python-attrs/python-attrs.mk new file mode 100644 index 00000000..4877d622 --- /dev/null +++ b/buildroot-2022.02.1/package/python-attrs/python-attrs.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-attrs +# +################################################################################ + +PYTHON_ATTRS_VERSION = 21.4.0 +PYTHON_ATTRS_SOURCE = attrs-$(PYTHON_ATTRS_VERSION).tar.gz +PYTHON_ATTRS_SITE = https://files.pythonhosted.org/packages/d7/77/ebb15fc26d0f815839ecd897b919ed6d85c050feeb83e100e020df9153d2 +PYTHON_ATTRS_SETUP_TYPE = setuptools +PYTHON_ATTRS_LICENSE = MIT +PYTHON_ATTRS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-augeas/0001-Use-CFFI-in-out-of-line-API-mode-49.patch b/buildroot-2022.02.1/package/python-augeas/0001-Use-CFFI-in-out-of-line-API-mode-49.patch new file mode 100644 index 00000000..da9093d7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-augeas/0001-Use-CFFI-in-out-of-line-API-mode-49.patch @@ -0,0 +1,101 @@ +From 9de73fefbe83c74840a93c039258845c49271b9b Mon Sep 17 00:00:00 2001 +From: Jeffery To +Date: Sun, 8 Nov 2020 21:51:09 +0800 +Subject: [PATCH] Use CFFI in out-of-line API mode (#49) + +Currently, ffi.py is called during setup to generate augeas.py; this +file would normally be used for out-of-line ABI mode. ffi.py is also +imported at run-time, instead of the generated augeas.py, and used in +in-line ABI mode. + +This changes usage of CFFI to out-of-line API mode (CFFI's "main mode of +usage"): ffi.py is called during setup to generate _augeas.abi3.so (a C +extension module); this generated module is imported at run-time. + +With this change, the headers/development files for augeas (i.e. +libaugeas-dev on Debian, augeas-devel on Fedora, etc.) and the C +compiler are required for build/setup. (These were not necessary +previously.) + +Closes https://github.com/hercules-team/python-augeas/issues/48. + +Upstream: commit 712c2028568df7760bc98d95577e35709078bfea +Signed-off-by: Thomas Petazzoni +--- + augeas/__init__.py | 2 +- + augeas/ffi.py | 27 ++++++++++++++++++++++----- + setup.py | 1 + + 3 files changed, 24 insertions(+), 6 deletions(-) + +diff --git a/augeas/__init__.py b/augeas/__init__.py +index 9bd97bf..1c0f580 100644 +--- a/augeas/__init__.py ++++ b/augeas/__init__.py +@@ -32,7 +32,7 @@ format and the transformation into a tree. + + from sys import version_info as _pyver + +-from augeas.ffi import ffi, lib ++from _augeas import ffi, lib + + __author__ = "Nathaniel McCallum " + __credits__ = """Jeff Schroeder +diff --git a/augeas/ffi.py b/augeas/ffi.py +index a24daf5..1931764 100644 +--- a/augeas/ffi.py ++++ b/augeas/ffi.py +@@ -1,9 +1,28 @@ ++import os ++import subprocess ++ + from cffi import FFI + ++def get_include_dirs(): ++ XML2_CONFIG = os.environ.get('XML2_CONFIG', 'xml2-config') ++ PKG_CONFIG = os.environ.get('PKG_CONFIG', 'pkg-config') ++ try: ++ stdout = subprocess.check_output([XML2_CONFIG, '--cflags']) ++ except (OSError, subprocess.CalledProcessError): ++ try: ++ stdout = subprocess.check_output([PKG_CONFIG, '--cflags', 'libxml-2.0']) ++ except (OSError, subprocess.CalledProcessError): ++ stdout = b'' ++ cflags = stdout.decode('utf-8').split() ++ return [cflag[2:] for cflag in cflags if cflag.startswith('-I')] ++ + ffi = FFI() +-ffi.set_source("augeas", +- None, +- libraries=['augeas']) ++ffi.set_source("_augeas", ++ """ ++ #include ++ """, ++ libraries=['augeas'], ++ include_dirs=get_include_dirs()) + + ffi.cdef(""" + typedef struct augeas augeas; +@@ -44,7 +63,5 @@ const char *aug_error_details(augeas *aug); + void free(void *); + """) + +-lib = ffi.dlopen("augeas") +- + if __name__ == "__main__": + ffi.compile(verbose=True) +diff --git a/setup.py b/setup.py +index 7d55877..17f9516 100755 +--- a/setup.py ++++ b/setup.py +@@ -22,6 +22,7 @@ setup(name=name, + setup_requires=["cffi>=1.0.0"], + cffi_modules=["augeas/ffi.py:ffi"], + install_requires=["cffi>=1.0.0"], ++ zip_safe=False, + url="http://augeas.net/", + classifiers=[ + "Programming Language :: Python :: 2.7", +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/python-augeas/Config.in b/buildroot-2022.02.1/package/python-augeas/Config.in new file mode 100644 index 00000000..4ab2bd1b --- /dev/null +++ b/buildroot-2022.02.1/package/python-augeas/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_AUGEAS + bool "python-augeas" + depends on !BR2_arc + depends on BR2_USE_WCHAR + select BR2_PACKAGE_AUGEAS + select BR2_PACKAGE_PYTHON_CFFI # runtime + help + Pure python bindings for Augeas. + + https://github.com/hercules-team/python-augeas + +comment "python-augeas needs a toolchain w/ wchar" + depends on !BR2_arc + depends on !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/python-augeas/python-augeas.hash b/buildroot-2022.02.1/package/python-augeas/python-augeas.hash new file mode 100644 index 00000000..f4f42098 --- /dev/null +++ b/buildroot-2022.02.1/package/python-augeas/python-augeas.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1a1d2cdaf2ad4c091ed5ec7976c52d16e14ecfbf40b1bdcaced2465255fb0f87 python-augeas-1.1.0.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/python-augeas/python-augeas.mk b/buildroot-2022.02.1/package/python-augeas/python-augeas.mk new file mode 100644 index 00000000..7adaa84f --- /dev/null +++ b/buildroot-2022.02.1/package/python-augeas/python-augeas.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# python-augeas +# +################################################################################ + +PYTHON_AUGEAS_VERSION = 1.1.0 +PYTHON_AUGEAS_SITE = $(call github,hercules-team,python-augeas,v$(PYTHON_AUGEAS_VERSION)) +PYTHON_AUGEAS_SETUP_TYPE = setuptools +PYTHON_AUGEAS_LICENSE = LGPL-2.1+ +PYTHON_AUGEAS_LICENSE_FILES = COPYING +PYTHON_AUGEAS_DEPENDENCIES = augeas host-python-cffi host-pkgconf +# This will tell python-augeas to not call xml2-config, and instead +# use pkg-config to find libxml2. libxml2 is an indirect dependency of +# augeas, which is why it's not in our dependencies. It's odd that +# python-augeas searches for libxml2, but that's what it +# does. Question asked in the pull request at +# https://github.com/hercules-team/python-augeas/pull/49. +PYTHON_AUGEAS_ENV = XML2_CONFIG=/bin/false + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-autobahn/Config.in b/buildroot-2022.02.1/package/python-autobahn/Config.in new file mode 100644 index 00000000..627bcd73 --- /dev/null +++ b/buildroot-2022.02.1/package/python-autobahn/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_AUTOBAHN + bool "python-autobahn" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + select BR2_PACKAGE_PYTHON_CFFI # runtime + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime + select BR2_PACKAGE_PYTHON_HYPERLINK # runtime + select BR2_PACKAGE_PYTHON_TXAIO # runtime + help + WebSocket client and server library, WAMP real-time + framework. + + https://pypi.python.org/pypi/autobahn diff --git a/buildroot-2022.02.1/package/python-autobahn/python-autobahn.hash b/buildroot-2022.02.1/package/python-autobahn/python-autobahn.hash new file mode 100644 index 00000000..7b963df6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-autobahn/python-autobahn.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/autobahn/json +md5 9b0ae4ff164232c952ba01ab3516188e autobahn-22.1.1.tar.gz +sha256 17e1b58b6ae1a63ca7d926b1d71bb9e4fd6b9ac9a1a2277d8ee40e0b61f54746 autobahn-22.1.1.tar.gz +# Locally computed sha256 checksums +sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE diff --git a/buildroot-2022.02.1/package/python-autobahn/python-autobahn.mk b/buildroot-2022.02.1/package/python-autobahn/python-autobahn.mk new file mode 100644 index 00000000..df43e9cd --- /dev/null +++ b/buildroot-2022.02.1/package/python-autobahn/python-autobahn.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-autobahn +# +################################################################################ + +PYTHON_AUTOBAHN_VERSION = 22.1.1 +PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz +PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/0e/2a/0b627ad4adf70437b5753462958b3ba5c6802d7664eb4a680e46423659ba +PYTHON_AUTOBAHN_LICENSE = MIT +PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE +PYTHON_AUTOBAHN_CPE_ID_VENDOR = crossbar +PYTHON_AUTOBAHN_CPE_ID_PRODUCT = autobahn +PYTHON_AUTOBAHN_SETUP_TYPE = setuptools +PYTHON_AUTOBAHN_DEPENDENCIES = host-python-cffi +PYTHON_AUTOBAHN_ENV = AUTOBAHN_STRIP_XBR=1 + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-automat/Config.in b/buildroot-2022.02.1/package/python-automat/Config.in similarity index 100% rename from buildroot-2021.05/package/python-automat/Config.in rename to buildroot-2022.02.1/package/python-automat/Config.in diff --git a/buildroot-2021.05/package/python-automat/python-automat.hash b/buildroot-2022.02.1/package/python-automat/python-automat.hash similarity index 100% rename from buildroot-2021.05/package/python-automat/python-automat.hash rename to buildroot-2022.02.1/package/python-automat/python-automat.hash diff --git a/buildroot-2021.05/package/python-automat/python-automat.mk b/buildroot-2022.02.1/package/python-automat/python-automat.mk similarity index 100% rename from buildroot-2021.05/package/python-automat/python-automat.mk rename to buildroot-2022.02.1/package/python-automat/python-automat.mk diff --git a/buildroot-2021.05/package/python-avro/0002-drop-install-time-linting-and-imports-sorting.patch b/buildroot-2022.02.1/package/python-avro/0001-drop-install-time-linting-and-imports-sorting.patch similarity index 100% rename from buildroot-2021.05/package/python-avro/0002-drop-install-time-linting-and-imports-sorting.patch rename to buildroot-2022.02.1/package/python-avro/0001-drop-install-time-linting-and-imports-sorting.patch diff --git a/buildroot-2022.02.1/package/python-avro/Config.in b/buildroot-2022.02.1/package/python-avro/Config.in new file mode 100644 index 00000000..1f67732c --- /dev/null +++ b/buildroot-2022.02.1/package/python-avro/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_PYTHON_AVRO + bool "python-avro" + help + Select this option to install the Avro Python3 language + bindings, and the `avro` command line tool + + Apache Avro is a data serialization system. + Avro provides: + - Rich data structures. + - A compact, fast, binary data format. + - A container file, to store persistent data. + - Remote procedure call (RPC). + - Simple integration with dynamic languages. + - Code generation is not required to read or write data + files nor to use or implement RPC protocols. + - Code generation as an optional optimization, + only worth implementing for statically typed languages. + + http://avro.apache.org/ diff --git a/buildroot-2021.05/package/python-avro/python-avro.hash b/buildroot-2022.02.1/package/python-avro/python-avro.hash similarity index 100% rename from buildroot-2021.05/package/python-avro/python-avro.hash rename to buildroot-2022.02.1/package/python-avro/python-avro.hash diff --git a/buildroot-2021.05/package/python-avro/python-avro.mk b/buildroot-2022.02.1/package/python-avro/python-avro.mk similarity index 100% rename from buildroot-2021.05/package/python-avro/python-avro.mk rename to buildroot-2022.02.1/package/python-avro/python-avro.mk diff --git a/buildroot-2021.05/package/python-babel/Config.in b/buildroot-2022.02.1/package/python-babel/Config.in similarity index 100% rename from buildroot-2021.05/package/python-babel/Config.in rename to buildroot-2022.02.1/package/python-babel/Config.in diff --git a/buildroot-2022.02.1/package/python-babel/python-babel.hash b/buildroot-2022.02.1/package/python-babel/python-babel.hash new file mode 100644 index 00000000..5211f201 --- /dev/null +++ b/buildroot-2022.02.1/package/python-babel/python-babel.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/babel/json +md5 7166099733d78aa857d74fa50d8ff58c Babel-2.9.1.tar.gz +sha256 bc0c176f9f6a994582230df350aa6e05ba2ebe4b3ac317eab29d9be5d2768da0 Babel-2.9.1.tar.gz +# Locally computed sha256 checksums +sha256 28c97bf33e7506e277487bdaa3a69b70f170d6af5a82785ac0a74c8428042e40 LICENSE diff --git a/buildroot-2022.02.1/package/python-babel/python-babel.mk b/buildroot-2022.02.1/package/python-babel/python-babel.mk new file mode 100644 index 00000000..a503a139 --- /dev/null +++ b/buildroot-2022.02.1/package/python-babel/python-babel.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-babel +# +################################################################################ + +PYTHON_BABEL_VERSION = 2.9.1 +PYTHON_BABEL_SOURCE = Babel-$(PYTHON_BABEL_VERSION).tar.gz +PYTHON_BABEL_SITE = https://files.pythonhosted.org/packages/17/e6/ec9aa6ac3d00c383a5731cc97ed7c619d3996232c977bb8326bcbb6c687e +PYTHON_BABEL_SETUP_TYPE = setuptools +PYTHON_BABEL_LICENSE = BSD-3-Clause +PYTHON_BABEL_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-backcall/Config.in b/buildroot-2022.02.1/package/python-backcall/Config.in similarity index 100% rename from buildroot-2021.05/package/python-backcall/Config.in rename to buildroot-2022.02.1/package/python-backcall/Config.in diff --git a/buildroot-2021.05/package/python-backcall/python-backcall.hash b/buildroot-2022.02.1/package/python-backcall/python-backcall.hash similarity index 100% rename from buildroot-2021.05/package/python-backcall/python-backcall.hash rename to buildroot-2022.02.1/package/python-backcall/python-backcall.hash diff --git a/buildroot-2021.05/package/python-backcall/python-backcall.mk b/buildroot-2022.02.1/package/python-backcall/python-backcall.mk similarity index 100% rename from buildroot-2021.05/package/python-backcall/python-backcall.mk rename to buildroot-2022.02.1/package/python-backcall/python-backcall.mk diff --git a/buildroot-2022.02.1/package/python-bcrypt/Config.in b/buildroot-2022.02.1/package/python-bcrypt/Config.in new file mode 100644 index 00000000..9e9864e9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bcrypt/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_BCRYPT + bool "python-bcrypt" + select BR2_PACKAGE_PYTHON_CFFI # runtime + help + Modern password hashing for your software and your servers. + + https://github.com/pyca/bcrypt/ diff --git a/buildroot-2022.02.1/package/python-bcrypt/python-bcrypt.hash b/buildroot-2022.02.1/package/python-bcrypt/python-bcrypt.hash new file mode 100644 index 00000000..b1970d86 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bcrypt/python-bcrypt.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/bcrypt/json +md5 fe31390dab603728f756cd3d6830c80a bcrypt-3.2.0.tar.gz +sha256 5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29 bcrypt-3.2.0.tar.gz +# Locally computed sha256 checksums +sha256 8173d5c29b4f956d532781d2b86e4e30f83e6b7878dce18c919451d6ba707c90 LICENSE diff --git a/buildroot-2022.02.1/package/python-bcrypt/python-bcrypt.mk b/buildroot-2022.02.1/package/python-bcrypt/python-bcrypt.mk new file mode 100644 index 00000000..ad770cc9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bcrypt/python-bcrypt.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-bcrypt +# +################################################################################ + +PYTHON_BCRYPT_VERSION = 3.2.0 +PYTHON_BCRYPT_SOURCE = bcrypt-$(PYTHON_BCRYPT_VERSION).tar.gz +PYTHON_BCRYPT_SITE = https://files.pythonhosted.org/packages/d8/ba/21c475ead997ee21502d30f76fd93ad8d5858d19a3fad7cd153de698c4dd +PYTHON_BCRYPT_SETUP_TYPE = setuptools +PYTHON_BCRYPT_LICENSE = Apache-2.0 +PYTHON_BCRYPT_LICENSE_FILES = LICENSE +PYTHON_BCRYPT_DEPENDENCIES = host-python-cffi + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-beautifulsoup4/Config.in b/buildroot-2022.02.1/package/python-beautifulsoup4/Config.in similarity index 100% rename from buildroot-2021.05/package/python-beautifulsoup4/Config.in rename to buildroot-2022.02.1/package/python-beautifulsoup4/Config.in diff --git a/buildroot-2022.02.1/package/python-beautifulsoup4/python-beautifulsoup4.hash b/buildroot-2022.02.1/package/python-beautifulsoup4/python-beautifulsoup4.hash new file mode 100644 index 00000000..665c142d --- /dev/null +++ b/buildroot-2022.02.1/package/python-beautifulsoup4/python-beautifulsoup4.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/beautifulsoup4/json +md5 e754242642253dd31d249d00358d552e beautifulsoup4-4.10.0.tar.gz +sha256 c23ad23c521d818955a4151a67d81580319d4bf548d3d49f4223ae041ff98891 beautifulsoup4-4.10.0.tar.gz +# Locally computed sha256 checksums +sha256 a47ea51236098464fe0b4f559743590b533056d9e00f49ecbf80299fab47e231 COPYING.txt diff --git a/buildroot-2022.02.1/package/python-beautifulsoup4/python-beautifulsoup4.mk b/buildroot-2022.02.1/package/python-beautifulsoup4/python-beautifulsoup4.mk new file mode 100644 index 00000000..f729d105 --- /dev/null +++ b/buildroot-2022.02.1/package/python-beautifulsoup4/python-beautifulsoup4.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-beautifulsoup4 +# +################################################################################ + +PYTHON_BEAUTIFULSOUP4_VERSION = 4.10.0 +PYTHON_BEAUTIFULSOUP4_SOURCE = beautifulsoup4-$(PYTHON_BEAUTIFULSOUP4_VERSION).tar.gz +PYTHON_BEAUTIFULSOUP4_SITE = https://files.pythonhosted.org/packages/a1/69/daeee6d8f22c997e522cdbeb59641c4d31ab120aba0f2c799500f7456b7e +PYTHON_BEAUTIFULSOUP4_SETUP_TYPE = setuptools +PYTHON_BEAUTIFULSOUP4_LICENSE = MIT +PYTHON_BEAUTIFULSOUP4_LICENSE_FILES = COPYING.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-bidict/Config.in b/buildroot-2022.02.1/package/python-bidict/Config.in new file mode 100644 index 00000000..dfc55b87 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bidict/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_BIDICT + bool "python-bidict" + help + The bidirectional mapping library for Python. + + https://bidict.readthedocs.io diff --git a/buildroot-2022.02.1/package/python-bidict/python-bidict.hash b/buildroot-2022.02.1/package/python-bidict/python-bidict.hash new file mode 100644 index 00000000..59229f96 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bidict/python-bidict.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/bidict/json +md5 d9342771969dd0d42092a669ed6f3241 bidict-0.21.3.tar.gz +sha256 d50bd81fae75e34198ffc94979a0eb0939ff9adb3ef32bcc93a913d8b3e3ed1d bidict-0.21.3.tar.gz +# Locally computed sha256 checksums +sha256 1f256ecad192880510e84ad60474eab7589218784b9a50bc7ceee34c2b91f1d5 LICENSE diff --git a/buildroot-2022.02.1/package/python-bidict/python-bidict.mk b/buildroot-2022.02.1/package/python-bidict/python-bidict.mk new file mode 100644 index 00000000..c6b7b862 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bidict/python-bidict.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-bidict +# +################################################################################ + +PYTHON_BIDICT_VERSION = 0.21.3 +PYTHON_BIDICT_SOURCE = bidict-$(PYTHON_BIDICT_VERSION).tar.gz +PYTHON_BIDICT_SITE = https://files.pythonhosted.org/packages/3f/81/7221b28d692af5c5fc180c4850b8e4a48c7db92b3d529b430488f67db74f +PYTHON_BIDICT_SETUP_TYPE = setuptools +PYTHON_BIDICT_LICENSE = MPL-2.0 +PYTHON_BIDICT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-bitstring/Config.in b/buildroot-2022.02.1/package/python-bitstring/Config.in similarity index 100% rename from buildroot-2021.05/package/python-bitstring/Config.in rename to buildroot-2022.02.1/package/python-bitstring/Config.in diff --git a/buildroot-2022.02.1/package/python-bitstring/python-bitstring.hash b/buildroot-2022.02.1/package/python-bitstring/python-bitstring.hash new file mode 100644 index 00000000..f05619a5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bitstring/python-bitstring.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/bitstring/json +md5 04d24380a0dc491e6bdacd983a90912e bitstring-3.1.9.tar.gz +sha256 a5848a3f63111785224dca8bb4c0a75b62ecdef56a042c8d6be74b16f7e860e7 bitstring-3.1.9.tar.gz +# Locally computed sha256 checksums +sha256 a9e9c584106d4f9686c9a6aa036e507b5e7044633b8acb4365bc074d8d004711 LICENSE diff --git a/buildroot-2022.02.1/package/python-bitstring/python-bitstring.mk b/buildroot-2022.02.1/package/python-bitstring/python-bitstring.mk new file mode 100644 index 00000000..ff594875 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bitstring/python-bitstring.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-bitstring +# +################################################################################ + +PYTHON_BITSTRING_VERSION = 3.1.9 +PYTHON_BITSTRING_SOURCE = bitstring-$(PYTHON_BITSTRING_VERSION).tar.gz +PYTHON_BITSTRING_SITE = https://files.pythonhosted.org/packages/4c/b1/80d58eeb21c9d4ca739770558d61f6adacb13aa4908f4f55e0974cbd25ee +PYTHON_BITSTRING_SETUP_TYPE = setuptools +PYTHON_BITSTRING_LICENSE = MIT +PYTHON_BITSTRING_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-bleak/Config.in b/buildroot-2022.02.1/package/python-bleak/Config.in new file mode 100644 index 00000000..085c16fa --- /dev/null +++ b/buildroot-2022.02.1/package/python-bleak/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_BLEAK + bool "python-bleak" + select BR2_PACKAGE_PYTHON_DBUS_NEXT # runtime + help + Bluetooth Low Energy platform Agnostic Klient. + + https://github.com/hbldh/bleak diff --git a/buildroot-2022.02.1/package/python-bleak/python-bleak.hash b/buildroot-2022.02.1/package/python-bleak/python-bleak.hash new file mode 100644 index 00000000..5acac877 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bleak/python-bleak.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/bleak/json +md5 0c26b270358a782767012220fc595aa5 bleak-0.12.1.tar.gz +sha256 4a80a24cc944e52e856054639f298229c39a2fc720e5f7adbeebb117d10849ed bleak-0.12.1.tar.gz +# Locally computed sha256 checksums +sha256 c4029a2b63b3824ab68be841f414addbdde20cb79cdbe272fa80c0b2abe65374 LICENSE diff --git a/buildroot-2022.02.1/package/python-bleak/python-bleak.mk b/buildroot-2022.02.1/package/python-bleak/python-bleak.mk new file mode 100644 index 00000000..3ae6d903 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bleak/python-bleak.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-bleak +# +################################################################################ + +PYTHON_BLEAK_VERSION = 0.12.1 +PYTHON_BLEAK_SOURCE = bleak-$(PYTHON_BLEAK_VERSION).tar.gz +PYTHON_BLEAK_SITE = https://files.pythonhosted.org/packages/67/4b/ba00c69a24a8d08c86f02caa45727a2ad2844c7bee9630ccb063be226f71 +PYTHON_BLEAK_SETUP_TYPE = setuptools +PYTHON_BLEAK_LICENSE = MIT +PYTHON_BLEAK_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-bluezero/Config.in b/buildroot-2022.02.1/package/python-bluezero/Config.in new file mode 100644 index 00000000..fa0998a2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bluezero/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_PYTHON_BLUEZERO + bool "python-bluezero" + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # python-gobject -> gobject-introspection + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-gobject -> gobject-introspection + depends on BR2_HOST_GCC_AT_LEAST_8 # python-gobject -> gobject-introspection -> host-qemu + depends on BR2_TOOLCHAIN_USES_GLIBC # python-gobject -> gobject-introspection + select BR2_PACKAGE_DBUS # runtime + select BR2_PACKAGE_DBUS_PYTHON # runtime + select BR2_PACKAGE_PYTHON_GOBJECT # runtime + help + Python library for Bluetooth Low Energy (BLE) on Linux. + + https://github.com/ukBaz/python-bluezero + +comment "python-bluezero needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_8 diff --git a/buildroot-2021.05/package/python-bluezero/python-bluezero.hash b/buildroot-2022.02.1/package/python-bluezero/python-bluezero.hash similarity index 100% rename from buildroot-2021.05/package/python-bluezero/python-bluezero.hash rename to buildroot-2022.02.1/package/python-bluezero/python-bluezero.hash diff --git a/buildroot-2021.05/package/python-bluezero/python-bluezero.mk b/buildroot-2022.02.1/package/python-bluezero/python-bluezero.mk similarity index 100% rename from buildroot-2021.05/package/python-bluezero/python-bluezero.mk rename to buildroot-2022.02.1/package/python-bluezero/python-bluezero.mk diff --git a/buildroot-2021.05/package/python-boto3/Config.in b/buildroot-2022.02.1/package/python-boto3/Config.in similarity index 100% rename from buildroot-2021.05/package/python-boto3/Config.in rename to buildroot-2022.02.1/package/python-boto3/Config.in diff --git a/buildroot-2022.02.1/package/python-boto3/python-boto3.hash b/buildroot-2022.02.1/package/python-boto3/python-boto3.hash new file mode 100644 index 00000000..358fabd3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-boto3/python-boto3.hash @@ -0,0 +1,4 @@ +# sha256 from https://pypi.org/pypi/boto3/json +sha256 11a6035060230e92327d4f10fef6bc44188b2cd68504012bc25ed62ac31d670b boto3-1.19.2.tar.gz +# Locally computed sha256 checksums +sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE diff --git a/buildroot-2022.02.1/package/python-boto3/python-boto3.mk b/buildroot-2022.02.1/package/python-boto3/python-boto3.mk new file mode 100644 index 00000000..8e10aa48 --- /dev/null +++ b/buildroot-2022.02.1/package/python-boto3/python-boto3.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-boto3 +# +################################################################################ + +PYTHON_BOTO3_VERSION = 1.19.2 +PYTHON_BOTO3_SOURCE = boto3-$(PYTHON_BOTO3_VERSION).tar.gz +PYTHON_BOTO3_SITE = https://files.pythonhosted.org/packages/ec/45/d12f9c09b5c4dad8bcb098dfae5e9e1253ed6408efbbd9a3e60bff55b824 +PYTHON_BOTO3_SETUP_TYPE = setuptools +PYTHON_BOTO3_LICENSE = Apache-2.0 +PYTHON_BOTO3_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-botocore/Config.in b/buildroot-2022.02.1/package/python-botocore/Config.in new file mode 100644 index 00000000..cc5e32b5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-botocore/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_BOTOCORE + bool "python-botocore" + select BR2_PACKAGE_PYTHON_DATEUTIL # runtime + select BR2_PACKAGE_PYTHON_JMESPATH # runtime + select BR2_PACKAGE_PYTHON_URLLIB3 # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_SSL # runtime + help + Low-level, data-driven core of boto 3. + + https://github.com/boto/botocore diff --git a/buildroot-2022.02.1/package/python-botocore/python-botocore.hash b/buildroot-2022.02.1/package/python-botocore/python-botocore.hash new file mode 100644 index 00000000..9d5f706f --- /dev/null +++ b/buildroot-2022.02.1/package/python-botocore/python-botocore.hash @@ -0,0 +1,4 @@ +# sha256 from https://pypi.org/pypi/botocore/json +sha256 011360e79a4b843aa6591573cfa61e8eddc99b91adab1dfdb9a2b7f2c8511193 botocore-1.22.2.tar.gz +# Locally computed sha256 checksums +sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-botocore/python-botocore.mk b/buildroot-2022.02.1/package/python-botocore/python-botocore.mk new file mode 100644 index 00000000..1628e055 --- /dev/null +++ b/buildroot-2022.02.1/package/python-botocore/python-botocore.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-botocore +# +################################################################################ + +PYTHON_BOTOCORE_VERSION = 1.22.2 +PYTHON_BOTOCORE_SOURCE = botocore-$(PYTHON_BOTOCORE_VERSION).tar.gz +PYTHON_BOTOCORE_SITE = https://files.pythonhosted.org/packages/0d/95/f2e74e4a91994d9ebe45746f75a8c5cafd723a88270a9772d8d66e1a8ba1 +PYTHON_BOTOCORE_SETUP_TYPE = setuptools +PYTHON_BOTOCORE_LICENSE = Apache-2.0 +PYTHON_BOTOCORE_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-bottle/Config.in b/buildroot-2022.02.1/package/python-bottle/Config.in similarity index 100% rename from buildroot-2021.05/package/python-bottle/Config.in rename to buildroot-2022.02.1/package/python-bottle/Config.in diff --git a/buildroot-2021.05/package/python-bottle/python-bottle.hash b/buildroot-2022.02.1/package/python-bottle/python-bottle.hash similarity index 100% rename from buildroot-2021.05/package/python-bottle/python-bottle.hash rename to buildroot-2022.02.1/package/python-bottle/python-bottle.hash diff --git a/buildroot-2021.05/package/python-bottle/python-bottle.mk b/buildroot-2022.02.1/package/python-bottle/python-bottle.mk similarity index 100% rename from buildroot-2021.05/package/python-bottle/python-bottle.mk rename to buildroot-2022.02.1/package/python-bottle/python-bottle.mk diff --git a/buildroot-2022.02.1/package/python-brotli/Config.in b/buildroot-2022.02.1/package/python-brotli/Config.in new file mode 100644 index 00000000..c3131539 --- /dev/null +++ b/buildroot-2022.02.1/package/python-brotli/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_BROTLI + bool "python-brotli" + depends on BR2_INSTALL_LIBSTDCPP + help + Python bindings for the Brotli compression library. + + https://github.com/google/brotli + +comment "python-brotli needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/python-brotli/python-brotli.hash b/buildroot-2022.02.1/package/python-brotli/python-brotli.hash similarity index 100% rename from buildroot-2021.05/package/python-brotli/python-brotli.hash rename to buildroot-2022.02.1/package/python-brotli/python-brotli.hash diff --git a/buildroot-2021.05/package/python-brotli/python-brotli.mk b/buildroot-2022.02.1/package/python-brotli/python-brotli.mk similarity index 100% rename from buildroot-2021.05/package/python-brotli/python-brotli.mk rename to buildroot-2022.02.1/package/python-brotli/python-brotli.mk diff --git a/buildroot-2022.02.1/package/python-bsdiff4/Config.in b/buildroot-2022.02.1/package/python-bsdiff4/Config.in new file mode 100644 index 00000000..32070fb9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bsdiff4/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_BSDIFF4 + bool "python-bsdiff4" + select BR2_PACKAGE_PYTHON3_BZIP2 # runtime + help + binary diff and patch using the BSDIFF4-format. + + https://github.com/ilanschnell/bsdiff4 diff --git a/buildroot-2022.02.1/package/python-bsdiff4/python-bsdiff4.hash b/buildroot-2022.02.1/package/python-bsdiff4/python-bsdiff4.hash new file mode 100644 index 00000000..4fddd137 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bsdiff4/python-bsdiff4.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/bsdiff4/json +md5 58889a1cd439c82c78aa2e4776b1ff38 bsdiff4-1.2.1.tar.gz +sha256 87cffc7522effdda03fd1564b212ad2279c0af50d16c3e65776f80acb6705d4b bsdiff4-1.2.1.tar.gz +# Locally computed sha256 +sha256 c6c921c90383f1c43beb53c49a652d28309a410a7c394c729fd8870271451cf0 LICENSE diff --git a/buildroot-2022.02.1/package/python-bsdiff4/python-bsdiff4.mk b/buildroot-2022.02.1/package/python-bsdiff4/python-bsdiff4.mk new file mode 100644 index 00000000..e1c3f776 --- /dev/null +++ b/buildroot-2022.02.1/package/python-bsdiff4/python-bsdiff4.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-bsdiff4 +# +################################################################################ + +PYTHON_BSDIFF4_VERSION = 1.2.1 +PYTHON_BSDIFF4_SOURCE = bsdiff4-$(PYTHON_BSDIFF4_VERSION).tar.gz +PYTHON_BSDIFF4_SITE = https://files.pythonhosted.org/packages/d8/97/101315b0d8c8d6340ee310484a1af6a2ccf65d7bb4762c3a669cf9457c71 +PYTHON_BSDIFF4_LICENSE = BSD-2-Clause, BSD-Protection (core.c) +PYTHON_BSDIFF4_LICENSE_FILES = LICENSE +PYTHON_BSDIFF4_CPE_ID_VENDOR = pypi +PYTHON_BSDIFF4_CPE_ID_PRODUCT = bsdiff4 +PYTHON_BSDIFF4_SETUP_TYPE = distutils + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-bunch/Config.in b/buildroot-2022.02.1/package/python-bunch/Config.in similarity index 100% rename from buildroot-2021.05/package/python-bunch/Config.in rename to buildroot-2022.02.1/package/python-bunch/Config.in diff --git a/buildroot-2021.05/package/python-bunch/python-bunch.hash b/buildroot-2022.02.1/package/python-bunch/python-bunch.hash similarity index 100% rename from buildroot-2021.05/package/python-bunch/python-bunch.hash rename to buildroot-2022.02.1/package/python-bunch/python-bunch.hash diff --git a/buildroot-2021.05/package/python-bunch/python-bunch.mk b/buildroot-2022.02.1/package/python-bunch/python-bunch.mk similarity index 100% rename from buildroot-2021.05/package/python-bunch/python-bunch.mk rename to buildroot-2022.02.1/package/python-bunch/python-bunch.mk diff --git a/buildroot-2021.05/package/python-cached-property/Config.in b/buildroot-2022.02.1/package/python-cached-property/Config.in similarity index 100% rename from buildroot-2021.05/package/python-cached-property/Config.in rename to buildroot-2022.02.1/package/python-cached-property/Config.in diff --git a/buildroot-2022.02.1/package/python-cached-property/python-cached-property.hash b/buildroot-2022.02.1/package/python-cached-property/python-cached-property.hash new file mode 100644 index 00000000..835e9e02 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cached-property/python-cached-property.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/cached-property/json +md5 3451c63f8733ea0756ca1dd2b0c04bb8 cached-property-1.5.2.tar.gz +sha256 9fa5755838eecbb2d234c3aa390bd80fbd3ac6b6869109bfc1b499f7bd89a130 cached-property-1.5.2.tar.gz +# Locally computed sha256 checksums +sha256 ba4756c8039b25b66e3c456cc5bf635aa528cf459b97ee1499d06684ccd89b9a LICENSE diff --git a/buildroot-2022.02.1/package/python-cached-property/python-cached-property.mk b/buildroot-2022.02.1/package/python-cached-property/python-cached-property.mk new file mode 100644 index 00000000..9e1b3f8a --- /dev/null +++ b/buildroot-2022.02.1/package/python-cached-property/python-cached-property.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-cached-property +# +################################################################################ + +PYTHON_CACHED_PROPERTY_VERSION = 1.5.2 +PYTHON_CACHED_PROPERTY_SOURCE = cached-property-$(PYTHON_CACHED_PROPERTY_VERSION).tar.gz +PYTHON_CACHED_PROPERTY_SITE = https://files.pythonhosted.org/packages/61/2c/d21c1c23c2895c091fa7a91a54b6872098fea913526932d21902088a7c41 +PYTHON_CACHED_PROPERTY_SETUP_TYPE = setuptools +PYTHON_CACHED_PROPERTY_LICENSE = BSD-3-Clause +PYTHON_CACHED_PROPERTY_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-can/Config.in b/buildroot-2022.02.1/package/python-can/Config.in new file mode 100644 index 00000000..dc9eb0ae --- /dev/null +++ b/buildroot-2022.02.1/package/python-can/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_CAN + bool "python-can" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON3_SQLITE # runtime + select BR2_PACKAGE_PYTHON_AENUM # runtime + select BR2_PACKAGE_PYTHON_WRAPT # runtime + select BR2_PACKAGE_PYTHON3_ZLIB + help + This module provides controller area network support for + Python. + + https://github.com/hardbyte/python-can diff --git a/buildroot-2021.05/package/python-can/python-can.hash b/buildroot-2022.02.1/package/python-can/python-can.hash similarity index 100% rename from buildroot-2021.05/package/python-can/python-can.hash rename to buildroot-2022.02.1/package/python-can/python-can.hash diff --git a/buildroot-2021.05/package/python-can/python-can.mk b/buildroot-2022.02.1/package/python-can/python-can.mk similarity index 100% rename from buildroot-2021.05/package/python-can/python-can.mk rename to buildroot-2022.02.1/package/python-can/python-can.mk diff --git a/buildroot-2021.05/package/python-canopen/Config.in b/buildroot-2022.02.1/package/python-canopen/Config.in similarity index 100% rename from buildroot-2021.05/package/python-canopen/Config.in rename to buildroot-2022.02.1/package/python-canopen/Config.in diff --git a/buildroot-2021.05/package/python-canopen/python-canopen.hash b/buildroot-2022.02.1/package/python-canopen/python-canopen.hash similarity index 100% rename from buildroot-2021.05/package/python-canopen/python-canopen.hash rename to buildroot-2022.02.1/package/python-canopen/python-canopen.hash diff --git a/buildroot-2021.05/package/python-canopen/python-canopen.mk b/buildroot-2022.02.1/package/python-canopen/python-canopen.mk similarity index 100% rename from buildroot-2021.05/package/python-canopen/python-canopen.mk rename to buildroot-2022.02.1/package/python-canopen/python-canopen.mk diff --git a/buildroot-2021.05/package/python-cbor/Config.in b/buildroot-2022.02.1/package/python-cbor/Config.in similarity index 100% rename from buildroot-2021.05/package/python-cbor/Config.in rename to buildroot-2022.02.1/package/python-cbor/Config.in diff --git a/buildroot-2021.05/package/python-cbor/python-cbor.hash b/buildroot-2022.02.1/package/python-cbor/python-cbor.hash similarity index 100% rename from buildroot-2021.05/package/python-cbor/python-cbor.hash rename to buildroot-2022.02.1/package/python-cbor/python-cbor.hash diff --git a/buildroot-2021.05/package/python-cbor/python-cbor.mk b/buildroot-2022.02.1/package/python-cbor/python-cbor.mk similarity index 100% rename from buildroot-2021.05/package/python-cbor/python-cbor.mk rename to buildroot-2022.02.1/package/python-cbor/python-cbor.mk diff --git a/buildroot-2021.05/package/python-cbor2/Config.in b/buildroot-2022.02.1/package/python-cbor2/Config.in similarity index 100% rename from buildroot-2021.05/package/python-cbor2/Config.in rename to buildroot-2022.02.1/package/python-cbor2/Config.in diff --git a/buildroot-2022.02.1/package/python-cbor2/python-cbor2.hash b/buildroot-2022.02.1/package/python-cbor2/python-cbor2.hash new file mode 100644 index 00000000..8858fc72 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cbor2/python-cbor2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/cbor2/json +md5 a9518fd435d9eafd91063b3bf10d5c5b cbor2-5.4.2.post1.tar.gz +sha256 9cf21d59604b9529d7877c8e0342a2ebaae1a07fe8ff5683dc75fec15847c797 cbor2-5.4.2.post1.tar.gz +# Locally computed sha256 checksums +sha256 a6afd126d8f545a15166a22f25fadff4b9fb4978bbdd17e97d97d950b66d2fef LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-cbor2/python-cbor2.mk b/buildroot-2022.02.1/package/python-cbor2/python-cbor2.mk new file mode 100644 index 00000000..dd007217 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cbor2/python-cbor2.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-cbor2 +# +################################################################################ + +PYTHON_CBOR2_VERSION = 5.4.2.post1 +PYTHON_CBOR2_SOURCE = cbor2-$(PYTHON_CBOR2_VERSION).tar.gz +PYTHON_CBOR2_SITE = https://files.pythonhosted.org/packages/49/74/2b9f9b76e2831f54d70e177a4e602e72cb86441632d1bcc15be1f04a73f6 +PYTHON_CBOR2_SETUP_TYPE = setuptools +PYTHON_CBOR2_LICENSE = MIT +PYTHON_CBOR2_LICENSE_FILES = LICENSE.txt +PYTHON_CBOR2_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cchardet/Config.in b/buildroot-2022.02.1/package/python-cchardet/Config.in similarity index 100% rename from buildroot-2021.05/package/python-cchardet/Config.in rename to buildroot-2022.02.1/package/python-cchardet/Config.in diff --git a/buildroot-2022.02.1/package/python-cchardet/python-cchardet.hash b/buildroot-2022.02.1/package/python-cchardet/python-cchardet.hash new file mode 100644 index 00000000..1ecfd6fa --- /dev/null +++ b/buildroot-2022.02.1/package/python-cchardet/python-cchardet.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/cchardet/json +md5 8a76472ad09c68c12069203ea9348ee3 cchardet-2.1.7.tar.gz +sha256 c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf cchardet-2.1.7.tar.gz +# Locally computed sha256 checksums +sha256 107a29ccdd2d778aa2df5462f85dddfa099059abd22e064e07ec2cc9bafc37cd COPYING diff --git a/buildroot-2022.02.1/package/python-cchardet/python-cchardet.mk b/buildroot-2022.02.1/package/python-cchardet/python-cchardet.mk new file mode 100644 index 00000000..396e9d6c --- /dev/null +++ b/buildroot-2022.02.1/package/python-cchardet/python-cchardet.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-cchardet +# +################################################################################ + +PYTHON_CCHARDET_VERSION = 2.1.7 +PYTHON_CCHARDET_SOURCE = cchardet-$(PYTHON_CCHARDET_VERSION).tar.gz +PYTHON_CCHARDET_SITE = https://files.pythonhosted.org/packages/a8/5d/090c9f0312b7988a9433246c9cf0b566b1ae1374368cfb8ac897218a4f65 +PYTHON_CCHARDET_SETUP_TYPE = setuptools +PYTHON_CCHARDET_LICENSE = MPL-1.1 +PYTHON_CCHARDET_LICENSE_FILES = COPYING + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-certifi/Config.in b/buildroot-2022.02.1/package/python-certifi/Config.in similarity index 100% rename from buildroot-2021.05/package/python-certifi/Config.in rename to buildroot-2022.02.1/package/python-certifi/Config.in diff --git a/buildroot-2022.02.1/package/python-certifi/python-certifi.hash b/buildroot-2022.02.1/package/python-certifi/python-certifi.hash new file mode 100644 index 00000000..0245496e --- /dev/null +++ b/buildroot-2022.02.1/package/python-certifi/python-certifi.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/certifi/json +md5 880ed9e5d04aff8f46f5ff82a3a3e395 certifi-2021.10.8.tar.gz +sha256 78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872 certifi-2021.10.8.tar.gz +# Locally computed sha256 checksums +sha256 be9d82f36112f87a7f1d74ecd4887e1467bbae8878a84004a00117b1e475a3e2 LICENSE diff --git a/buildroot-2022.02.1/package/python-certifi/python-certifi.mk b/buildroot-2022.02.1/package/python-certifi/python-certifi.mk new file mode 100644 index 00000000..17098e3f --- /dev/null +++ b/buildroot-2022.02.1/package/python-certifi/python-certifi.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-certifi +# +################################################################################ + +PYTHON_CERTIFI_VERSION = 2021.10.8 +PYTHON_CERTIFI_SOURCE = certifi-$(PYTHON_CERTIFI_VERSION).tar.gz +PYTHON_CERTIFI_SITE = https://files.pythonhosted.org/packages/6c/ae/d26450834f0acc9e3d1f74508da6df1551ceab6c2ce0766a593362d6d57f +PYTHON_CERTIFI_SETUP_TYPE = setuptools +PYTHON_CERTIFI_LICENSE = ISC (Python code), MPL-2.0 (cacert.pem) +PYTHON_CERTIFI_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-cffi/Config.in b/buildroot-2022.02.1/package/python-cffi/Config.in similarity index 100% rename from buildroot-2021.05/package/python-cffi/Config.in rename to buildroot-2022.02.1/package/python-cffi/Config.in diff --git a/buildroot-2022.02.1/package/python-cffi/python-cffi.hash b/buildroot-2022.02.1/package/python-cffi/python-cffi.hash new file mode 100644 index 00000000..41565f9a --- /dev/null +++ b/buildroot-2022.02.1/package/python-cffi/python-cffi.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/cffi/json +md5 f3a3f26cd3335fc597479c9475da0a0b cffi-1.15.0.tar.gz +sha256 920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954 cffi-1.15.0.tar.gz +# Locally computed sha256 checksums +sha256 04b80f5b077bbed68808cfebadeb5e3523f2a8c9a96495c587bd96df1eac2a33 LICENSE diff --git a/buildroot-2022.02.1/package/python-cffi/python-cffi.mk b/buildroot-2022.02.1/package/python-cffi/python-cffi.mk new file mode 100644 index 00000000..83a21cb7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cffi/python-cffi.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# python-cffi +# +################################################################################ + +PYTHON_CFFI_VERSION = 1.15.0 +PYTHON_CFFI_SOURCE = cffi-$(PYTHON_CFFI_VERSION).tar.gz +PYTHON_CFFI_SITE = https://files.pythonhosted.org/packages/00/9e/92de7e1217ccc3d5f352ba21e52398372525765b2e0c4530e6eb2ba9282a +PYTHON_CFFI_SETUP_TYPE = setuptools +PYTHON_CFFI_DEPENDENCIES = host-pkgconf libffi +PYTHON_CFFI_LICENSE = MIT +PYTHON_CFFI_LICENSE_FILES = LICENSE + +# This host package uses pkg-config to find libffi, so we have to +# provide the proper hints for pkg-config to behave properly for host +# packages. +HOST_PYTHON_CFFI_ENV = \ + PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ + PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ + PKG_CONFIG_SYSROOT_DIR="/" \ + PKG_CONFIG_LIBDIR="$(HOST_DIR)/lib/pkgconfig:$(HOST_DIR)/share/pkgconfig" +HOST_PYTHON_CFFI_DEPENDENCIES = host-pkgconf host-python-pycparser host-libffi + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-channels-redis/Config.in b/buildroot-2022.02.1/package/python-channels-redis/Config.in new file mode 100644 index 00000000..d25f8ffe --- /dev/null +++ b/buildroot-2022.02.1/package/python-channels-redis/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_CHANNELS_REDIS + bool "python-channels-redis" + # python-channels -> python-daphne -> python-autobahn -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_AIOREDIS # runtime + select BR2_PACKAGE_PYTHON_ASGIREF # runtime + select BR2_PACKAGE_PYTHON_CHANNELS # runtime + select BR2_PACKAGE_PYTHON_MSGPACK # runtime + help + A Django Channels channel layer that uses Redis as its + backing store, and supports both a single-server and + sharded configurations, as well as group support. + + http://github.com/django/channels_redis/ diff --git a/buildroot-2021.05/package/python-channels-redis/python-channels-redis.hash b/buildroot-2022.02.1/package/python-channels-redis/python-channels-redis.hash similarity index 100% rename from buildroot-2021.05/package/python-channels-redis/python-channels-redis.hash rename to buildroot-2022.02.1/package/python-channels-redis/python-channels-redis.hash diff --git a/buildroot-2021.05/package/python-channels-redis/python-channels-redis.mk b/buildroot-2022.02.1/package/python-channels-redis/python-channels-redis.mk similarity index 100% rename from buildroot-2021.05/package/python-channels-redis/python-channels-redis.mk rename to buildroot-2022.02.1/package/python-channels-redis/python-channels-redis.mk diff --git a/buildroot-2022.02.1/package/python-channels/Config.in b/buildroot-2022.02.1/package/python-channels/Config.in new file mode 100644 index 00000000..b94f53ce --- /dev/null +++ b/buildroot-2022.02.1/package/python-channels/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_PYTHON_CHANNELS + bool "python-channels" + # python-daphne -> python-autobahn -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_ASGIREF # runtime + select BR2_PACKAGE_PYTHON_DAPHNE # runtime + select BR2_PACKAGE_PYTHON_DJANGO # runtime + help + Channels augments Django to bring WebSocket, long-poll + HTTP, task offloading and other async support to your + code, using familiar Django design patterns and a + flexible underlying framework that lets you not only + customize behaviours but also write support for your + own protocols and needs. + + http://github.com/django/channels diff --git a/buildroot-2021.05/package/python-channels/python-channels.hash b/buildroot-2022.02.1/package/python-channels/python-channels.hash similarity index 100% rename from buildroot-2021.05/package/python-channels/python-channels.hash rename to buildroot-2022.02.1/package/python-channels/python-channels.hash diff --git a/buildroot-2021.05/package/python-channels/python-channels.mk b/buildroot-2022.02.1/package/python-channels/python-channels.mk similarity index 100% rename from buildroot-2021.05/package/python-channels/python-channels.mk rename to buildroot-2022.02.1/package/python-channels/python-channels.mk diff --git a/buildroot-2021.05/package/python-characteristic/Config.in b/buildroot-2022.02.1/package/python-characteristic/Config.in similarity index 100% rename from buildroot-2021.05/package/python-characteristic/Config.in rename to buildroot-2022.02.1/package/python-characteristic/Config.in diff --git a/buildroot-2021.05/package/python-characteristic/python-characteristic.hash b/buildroot-2022.02.1/package/python-characteristic/python-characteristic.hash similarity index 100% rename from buildroot-2021.05/package/python-characteristic/python-characteristic.hash rename to buildroot-2022.02.1/package/python-characteristic/python-characteristic.hash diff --git a/buildroot-2021.05/package/python-characteristic/python-characteristic.mk b/buildroot-2022.02.1/package/python-characteristic/python-characteristic.mk similarity index 100% rename from buildroot-2021.05/package/python-characteristic/python-characteristic.mk rename to buildroot-2022.02.1/package/python-characteristic/python-characteristic.mk diff --git a/buildroot-2021.05/package/python-chardet/Config.in b/buildroot-2022.02.1/package/python-chardet/Config.in similarity index 100% rename from buildroot-2021.05/package/python-chardet/Config.in rename to buildroot-2022.02.1/package/python-chardet/Config.in diff --git a/buildroot-2021.05/package/python-chardet/python-chardet.hash b/buildroot-2022.02.1/package/python-chardet/python-chardet.hash similarity index 100% rename from buildroot-2021.05/package/python-chardet/python-chardet.hash rename to buildroot-2022.02.1/package/python-chardet/python-chardet.hash diff --git a/buildroot-2021.05/package/python-chardet/python-chardet.mk b/buildroot-2022.02.1/package/python-chardet/python-chardet.mk similarity index 100% rename from buildroot-2021.05/package/python-chardet/python-chardet.mk rename to buildroot-2022.02.1/package/python-chardet/python-chardet.mk diff --git a/buildroot-2022.02.1/package/python-charset-normalizer/Config.in b/buildroot-2022.02.1/package/python-charset-normalizer/Config.in new file mode 100644 index 00000000..63e04a7a --- /dev/null +++ b/buildroot-2022.02.1/package/python-charset-normalizer/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_CHARSET_NORMALIZER + bool "python-charset-normalizer" + help + The Real First Universal Charset Detector. Open, modern and + actively maintained alternative to Chardet. + + https://github.com/ousret/charset_normalizer diff --git a/buildroot-2022.02.1/package/python-charset-normalizer/python-charset-normalizer.hash b/buildroot-2022.02.1/package/python-charset-normalizer/python-charset-normalizer.hash new file mode 100644 index 00000000..3c6e58a6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-charset-normalizer/python-charset-normalizer.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/charset-normalizer/json +md5 2abe3754fef25c99799a518cb83a81ae charset-normalizer-2.0.11.tar.gz +sha256 98398a9d69ee80548c762ba991a4728bfc3836768ed226b3945908d1a688371c charset-normalizer-2.0.11.tar.gz +# Locally computed sha256 checksums +sha256 eb31a0c5a4fb09b8a4e32055d25c1e5f9c358a2752fef3cd720213d1ccfee241 LICENSE diff --git a/buildroot-2022.02.1/package/python-charset-normalizer/python-charset-normalizer.mk b/buildroot-2022.02.1/package/python-charset-normalizer/python-charset-normalizer.mk new file mode 100644 index 00000000..c37b068b --- /dev/null +++ b/buildroot-2022.02.1/package/python-charset-normalizer/python-charset-normalizer.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-charset-normalizer +# +################################################################################ + +PYTHON_CHARSET_NORMALIZER_VERSION = 2.0.11 +PYTHON_CHARSET_NORMALIZER_SOURCE = charset-normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz +PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/e8/e8/b6cfd28fb430b2ec9923ad0147025bf8bbdf304b1eb3039b69f1ce44ed6e +PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools +PYTHON_CHARSET_NORMALIZER_LICENSE = MIT +PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-cheetah/Config.in b/buildroot-2022.02.1/package/python-cheetah/Config.in similarity index 100% rename from buildroot-2021.05/package/python-cheetah/Config.in rename to buildroot-2022.02.1/package/python-cheetah/Config.in diff --git a/buildroot-2022.02.1/package/python-cheetah/python-cheetah.hash b/buildroot-2022.02.1/package/python-cheetah/python-cheetah.hash new file mode 100644 index 00000000..f7094a8b --- /dev/null +++ b/buildroot-2022.02.1/package/python-cheetah/python-cheetah.hash @@ -0,0 +1,5 @@ +# From https://pypi.org/pypi/Cheetah3/json +md5 42bb9da785974c7e4089aa754ff99a73 Cheetah3-3.2.6.post2.tar.gz +sha256 63157d7a00a273b59676b5be5aa817c75c37efc88478231f1a160f4cfb7f7878 Cheetah3-3.2.6.post2.tar.gz +# Locally computed sha256 checksums +sha256 635349ae512fafc2e60eb74a50d0a5276fa06c00b5ecb20da53546449ddc45ea LICENSE diff --git a/buildroot-2022.02.1/package/python-cheetah/python-cheetah.mk b/buildroot-2022.02.1/package/python-cheetah/python-cheetah.mk new file mode 100644 index 00000000..92688f6c --- /dev/null +++ b/buildroot-2022.02.1/package/python-cheetah/python-cheetah.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-cheetah +# +################################################################################ + +PYTHON_CHEETAH_VERSION = 3.2.6.post2 +PYTHON_CHEETAH_SOURCE = Cheetah3-$(PYTHON_CHEETAH_VERSION).tar.gz +PYTHON_CHEETAH_SITE = https://files.pythonhosted.org/packages/c0/97/c3fa47e223207e6ca6b501a954c5c959ed3e99f2a1ceec9918238ce38418 +PYTHON_CHEETAH_LICENSE = MIT +PYTHON_CHEETAH_LICENSE_FILES = LICENSE +PYTHON_CHEETAH_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-cheroot/Config.in b/buildroot-2022.02.1/package/python-cheroot/Config.in new file mode 100644 index 00000000..bb9b4abb --- /dev/null +++ b/buildroot-2022.02.1/package/python-cheroot/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_CHEROOT + bool "python-cheroot" + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime + select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime + help + Cheroot is the high-performance, pure-Python + HTTP server used by CherryPy. + + https://github.com/cherrypy/cheroot diff --git a/buildroot-2021.05/package/python-cheroot/python-cheroot.hash b/buildroot-2022.02.1/package/python-cheroot/python-cheroot.hash similarity index 100% rename from buildroot-2021.05/package/python-cheroot/python-cheroot.hash rename to buildroot-2022.02.1/package/python-cheroot/python-cheroot.hash diff --git a/buildroot-2021.05/package/python-cheroot/python-cheroot.mk b/buildroot-2022.02.1/package/python-cheroot/python-cheroot.mk similarity index 100% rename from buildroot-2021.05/package/python-cheroot/python-cheroot.mk rename to buildroot-2022.02.1/package/python-cheroot/python-cheroot.mk diff --git a/buildroot-2022.02.1/package/python-cherrypy/Config.in b/buildroot-2022.02.1/package/python-cherrypy/Config.in new file mode 100644 index 00000000..7548dcf9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cherrypy/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_CHERRYPY + bool "python-cherrypy" + select BR2_PACKAGE_PYTHON_CHEROOT # runtime + select BR2_PACKAGE_PYTHON_JARACO_CLASSES # runtime + select BR2_PACKAGE_PYTHON_PORTEND # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + A minimalist web framework + + http://www.cherrypy.org diff --git a/buildroot-2021.05/package/python-cherrypy/python-cherrypy.hash b/buildroot-2022.02.1/package/python-cherrypy/python-cherrypy.hash similarity index 100% rename from buildroot-2021.05/package/python-cherrypy/python-cherrypy.hash rename to buildroot-2022.02.1/package/python-cherrypy/python-cherrypy.hash diff --git a/buildroot-2021.05/package/python-cherrypy/python-cherrypy.mk b/buildroot-2022.02.1/package/python-cherrypy/python-cherrypy.mk similarity index 100% rename from buildroot-2021.05/package/python-cherrypy/python-cherrypy.mk rename to buildroot-2022.02.1/package/python-cherrypy/python-cherrypy.mk diff --git a/buildroot-2021.05/package/python-click/Config.in b/buildroot-2022.02.1/package/python-click/Config.in similarity index 100% rename from buildroot-2021.05/package/python-click/Config.in rename to buildroot-2022.02.1/package/python-click/Config.in diff --git a/buildroot-2021.05/package/python-click/python-click.hash b/buildroot-2022.02.1/package/python-click/python-click.hash similarity index 100% rename from buildroot-2021.05/package/python-click/python-click.hash rename to buildroot-2022.02.1/package/python-click/python-click.hash diff --git a/buildroot-2021.05/package/python-click/python-click.mk b/buildroot-2022.02.1/package/python-click/python-click.mk similarity index 100% rename from buildroot-2021.05/package/python-click/python-click.mk rename to buildroot-2022.02.1/package/python-click/python-click.mk diff --git a/buildroot-2021.05/package/python-colorama/Config.in b/buildroot-2022.02.1/package/python-colorama/Config.in similarity index 100% rename from buildroot-2021.05/package/python-colorama/Config.in rename to buildroot-2022.02.1/package/python-colorama/Config.in diff --git a/buildroot-2021.05/package/python-colorama/python-colorama.hash b/buildroot-2022.02.1/package/python-colorama/python-colorama.hash similarity index 100% rename from buildroot-2021.05/package/python-colorama/python-colorama.hash rename to buildroot-2022.02.1/package/python-colorama/python-colorama.hash diff --git a/buildroot-2021.05/package/python-colorama/python-colorama.mk b/buildroot-2022.02.1/package/python-colorama/python-colorama.mk similarity index 100% rename from buildroot-2021.05/package/python-colorama/python-colorama.mk rename to buildroot-2022.02.1/package/python-colorama/python-colorama.mk diff --git a/buildroot-2021.05/package/python-colorlog/Config.in b/buildroot-2022.02.1/package/python-colorlog/Config.in similarity index 100% rename from buildroot-2021.05/package/python-colorlog/Config.in rename to buildroot-2022.02.1/package/python-colorlog/Config.in diff --git a/buildroot-2022.02.1/package/python-colorlog/python-colorlog.hash b/buildroot-2022.02.1/package/python-colorlog/python-colorlog.hash new file mode 100644 index 00000000..f324c1f2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-colorlog/python-colorlog.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/colorlog/json +md5 f1b92c1cac428b2e3c9ac7edf2988440 colorlog-6.4.1.tar.gz +sha256 af99440154a01f27c09256760ea3477982bf782721feaa345904e806879df4d8 colorlog-6.4.1.tar.gz +# Locally computed sha256 checksums +sha256 b1d9082bc483623fd59fc7279b457f0e40d942a76426cde257239e04dfe4125a LICENSE diff --git a/buildroot-2022.02.1/package/python-colorlog/python-colorlog.mk b/buildroot-2022.02.1/package/python-colorlog/python-colorlog.mk new file mode 100644 index 00000000..801b30be --- /dev/null +++ b/buildroot-2022.02.1/package/python-colorlog/python-colorlog.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-colorlog +# +################################################################################ + +PYTHON_COLORLOG_VERSION = 6.4.1 +PYTHON_COLORLOG_SOURCE = colorlog-$(PYTHON_COLORLOG_VERSION).tar.gz +PYTHON_COLORLOG_SITE = https://files.pythonhosted.org/packages/d6/4a/840f6cb7e922a717c765a3cdc6988aff22a6ef211d88c8d16701dfbd664f +PYTHON_COLORLOG_SETUP_TYPE = setuptools +PYTHON_COLORLOG_LICENSE = MIT +PYTHON_COLORLOG_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-colorzero/Config.in b/buildroot-2022.02.1/package/python-colorzero/Config.in new file mode 100644 index 00000000..b2ef711f --- /dev/null +++ b/buildroot-2022.02.1/package/python-colorzero/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_COLORZERO + bool "python-colorzero" + help + A color manipulation library for Python. + + https://github.com/waveform80/colorzero diff --git a/buildroot-2021.05/package/python-colorzero/python-colorzero.hash b/buildroot-2022.02.1/package/python-colorzero/python-colorzero.hash similarity index 100% rename from buildroot-2021.05/package/python-colorzero/python-colorzero.hash rename to buildroot-2022.02.1/package/python-colorzero/python-colorzero.hash diff --git a/buildroot-2021.05/package/python-colorzero/python-colorzero.mk b/buildroot-2022.02.1/package/python-colorzero/python-colorzero.mk similarity index 100% rename from buildroot-2021.05/package/python-colorzero/python-colorzero.mk rename to buildroot-2022.02.1/package/python-colorzero/python-colorzero.mk diff --git a/buildroot-2022.02.1/package/python-configshell-fb/Config.in b/buildroot-2022.02.1/package/python-configshell-fb/Config.in new file mode 100644 index 00000000..ed7f9e02 --- /dev/null +++ b/buildroot-2022.02.1/package/python-configshell-fb/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_CONFIGSHELL_FB + bool "python-configshell-fb" + select BR2_PACKAGE_PYTHON_PYPARSING + select BR2_PACKAGE_PYTHON3_READLINE + select BR2_PACKAGE_PYTHON_SIX + select BR2_PACKAGE_PYTHON_URWID + help + configshell-fb is a Python library that provides a framework + for building simple but nice CLI-based applications. + + https://github.com/open-iscsi/configshell-fb diff --git a/buildroot-2022.02.1/package/python-configshell-fb/python-configshell-fb.hash b/buildroot-2022.02.1/package/python-configshell-fb/python-configshell-fb.hash new file mode 100644 index 00000000..8fc38f61 --- /dev/null +++ b/buildroot-2022.02.1/package/python-configshell-fb/python-configshell-fb.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 24b47284b463dcfb9ee0c1558827e13442127e62fa279b6e0253f136cf49058c python-configshell-fb-1.1.29.tar.gz +sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 COPYING diff --git a/buildroot-2022.02.1/package/python-configshell-fb/python-configshell-fb.mk b/buildroot-2022.02.1/package/python-configshell-fb/python-configshell-fb.mk new file mode 100644 index 00000000..d0dd421e --- /dev/null +++ b/buildroot-2022.02.1/package/python-configshell-fb/python-configshell-fb.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-configshell-fb +# +################################################################################ + +# When upgrading the version, be sure to also upgrade python-rtslib-fb +# and targetcli-fb at the same time. +PYTHON_CONFIGSHELL_FB_VERSION = 1.1.29 +PYTHON_CONFIGSHELL_FB_SITE = $(call github,open-iscsi,configshell-fb,v$(PYTHON_CONFIGSHELL_FB_VERSION)) +PYTHON_CONFIGSHELL_FB_LICENSE = Apache-2.0 +PYTHON_CONFIGSHELL_FB_LICENSE_FILES = COPYING +PYTHON_CONFIGSHELL_FB_SETUP_TYPE = setuptools +PYTHON_CONFIGSHELL_FB_DEPENDENCIES = python-pyparsing python-six python-urwid + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-constantly/Config.in b/buildroot-2022.02.1/package/python-constantly/Config.in similarity index 100% rename from buildroot-2021.05/package/python-constantly/Config.in rename to buildroot-2022.02.1/package/python-constantly/Config.in diff --git a/buildroot-2021.05/package/python-constantly/python-constantly.hash b/buildroot-2022.02.1/package/python-constantly/python-constantly.hash similarity index 100% rename from buildroot-2021.05/package/python-constantly/python-constantly.hash rename to buildroot-2022.02.1/package/python-constantly/python-constantly.hash diff --git a/buildroot-2021.05/package/python-constantly/python-constantly.mk b/buildroot-2022.02.1/package/python-constantly/python-constantly.mk similarity index 100% rename from buildroot-2021.05/package/python-constantly/python-constantly.mk rename to buildroot-2022.02.1/package/python-constantly/python-constantly.mk diff --git a/buildroot-2022.02.1/package/python-couchdb/Config.in b/buildroot-2022.02.1/package/python-couchdb/Config.in new file mode 100644 index 00000000..5bff7575 --- /dev/null +++ b/buildroot-2022.02.1/package/python-couchdb/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_COUCHDB + bool "python-couchdb" + select BR2_PACKAGE_PYTHON3_SSL # runtime + help + Python client library for working with CouchDB. + + https://github.com/djc/couchdb-python/ diff --git a/buildroot-2021.05/package/python-couchdb/python-couchdb.hash b/buildroot-2022.02.1/package/python-couchdb/python-couchdb.hash similarity index 100% rename from buildroot-2021.05/package/python-couchdb/python-couchdb.hash rename to buildroot-2022.02.1/package/python-couchdb/python-couchdb.hash diff --git a/buildroot-2021.05/package/python-couchdb/python-couchdb.mk b/buildroot-2022.02.1/package/python-couchdb/python-couchdb.mk similarity index 100% rename from buildroot-2021.05/package/python-couchdb/python-couchdb.mk rename to buildroot-2022.02.1/package/python-couchdb/python-couchdb.mk diff --git a/buildroot-2022.02.1/package/python-crayons/Config.in b/buildroot-2022.02.1/package/python-crayons/Config.in new file mode 100644 index 00000000..865a142b --- /dev/null +++ b/buildroot-2022.02.1/package/python-crayons/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_CRAYONS + bool "python-crayons" + help + This module is really simple, it gives you + colored strings for terminal usage. + + https://pypi.org/project/crayons diff --git a/buildroot-2021.05/package/python-crayons/python-crayons.hash b/buildroot-2022.02.1/package/python-crayons/python-crayons.hash similarity index 100% rename from buildroot-2021.05/package/python-crayons/python-crayons.hash rename to buildroot-2022.02.1/package/python-crayons/python-crayons.hash diff --git a/buildroot-2021.05/package/python-crayons/python-crayons.mk b/buildroot-2022.02.1/package/python-crayons/python-crayons.mk similarity index 100% rename from buildroot-2021.05/package/python-crayons/python-crayons.mk rename to buildroot-2022.02.1/package/python-crayons/python-crayons.mk diff --git a/buildroot-2021.05/package/python-crc16/Config.in b/buildroot-2022.02.1/package/python-crc16/Config.in similarity index 100% rename from buildroot-2021.05/package/python-crc16/Config.in rename to buildroot-2022.02.1/package/python-crc16/Config.in diff --git a/buildroot-2021.05/package/python-crc16/python-crc16.hash b/buildroot-2022.02.1/package/python-crc16/python-crc16.hash similarity index 100% rename from buildroot-2021.05/package/python-crc16/python-crc16.hash rename to buildroot-2022.02.1/package/python-crc16/python-crc16.hash diff --git a/buildroot-2021.05/package/python-crc16/python-crc16.mk b/buildroot-2022.02.1/package/python-crc16/python-crc16.mk similarity index 100% rename from buildroot-2021.05/package/python-crc16/python-crc16.mk rename to buildroot-2022.02.1/package/python-crc16/python-crc16.mk diff --git a/buildroot-2021.05/package/python-crcmod/Config.in b/buildroot-2022.02.1/package/python-crcmod/Config.in similarity index 100% rename from buildroot-2021.05/package/python-crcmod/Config.in rename to buildroot-2022.02.1/package/python-crcmod/Config.in diff --git a/buildroot-2021.05/package/python-crcmod/python-crcmod.hash b/buildroot-2022.02.1/package/python-crcmod/python-crcmod.hash similarity index 100% rename from buildroot-2021.05/package/python-crcmod/python-crcmod.hash rename to buildroot-2022.02.1/package/python-crcmod/python-crcmod.hash diff --git a/buildroot-2021.05/package/python-crcmod/python-crcmod.mk b/buildroot-2022.02.1/package/python-crcmod/python-crcmod.mk similarity index 100% rename from buildroot-2021.05/package/python-crcmod/python-crcmod.mk rename to buildroot-2022.02.1/package/python-crcmod/python-crcmod.mk diff --git a/buildroot-2021.05/package/python-crontab/Config.in b/buildroot-2022.02.1/package/python-crontab/Config.in similarity index 100% rename from buildroot-2021.05/package/python-crontab/Config.in rename to buildroot-2022.02.1/package/python-crontab/Config.in diff --git a/buildroot-2022.02.1/package/python-crontab/python-crontab.hash b/buildroot-2022.02.1/package/python-crontab/python-crontab.hash new file mode 100644 index 00000000..b3aa96fc --- /dev/null +++ b/buildroot-2022.02.1/package/python-crontab/python-crontab.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/python-crontab/json +md5 2982bdce2d9b7789f32da649a9507c4b python-crontab-2.6.0.tar.gz +sha256 1e35ed7a3cdc3100545b43e196d34754e6551e7f95e4caebbe0e1c0ca41c2f1b python-crontab-2.6.0.tar.gz +# Locally computed sha256 checksums +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 COPYING diff --git a/buildroot-2022.02.1/package/python-crontab/python-crontab.mk b/buildroot-2022.02.1/package/python-crontab/python-crontab.mk new file mode 100644 index 00000000..9b29e11c --- /dev/null +++ b/buildroot-2022.02.1/package/python-crontab/python-crontab.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-crontab +# +################################################################################ + +PYTHON_CRONTAB_VERSION = 2.6.0 +PYTHON_CRONTAB_SITE = https://files.pythonhosted.org/packages/06/b0/c270a1b5c83d9e0f83ab654d3153c39d80f61ba49fefde50fd23ab351381 +PYTHON_CRONTAB_SETUP_TYPE = setuptools +PYTHON_CRONTAB_LICENSE = LGPL-3.0+ +PYTHON_CRONTAB_LICENSE_FILES = COPYING + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-crossbar/0001-Avoid-intentional-syntax-error.patch b/buildroot-2022.02.1/package/python-crossbar/0001-Avoid-intentional-syntax-error.patch similarity index 100% rename from buildroot-2021.05/package/python-crossbar/0001-Avoid-intentional-syntax-error.patch rename to buildroot-2022.02.1/package/python-crossbar/0001-Avoid-intentional-syntax-error.patch diff --git a/buildroot-2022.02.1/package/python-crossbar/0002-Remove-idna-requirement.patch b/buildroot-2022.02.1/package/python-crossbar/0002-Remove-idna-requirement.patch new file mode 100644 index 00000000..5e19a467 --- /dev/null +++ b/buildroot-2022.02.1/package/python-crossbar/0002-Remove-idna-requirement.patch @@ -0,0 +1,29 @@ +From 9164d21cc66c1f78de37c9383528c5d528cbdbeb Mon Sep 17 00:00:00 2001 +From: Asaf Kahlon +Date: Wed, 26 Sep 2018 15:33:43 +0300 +Subject: [PATCH] Remove idna requirement. + +The latest version of idna is 2.7, but it seems like idna is not a direct +dependency anymore (a short "git grep" shows it's only written in requirement +and readme files). + +Signed-off-by: Asaf Kahlon +--- + requirements-min.txt | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/requirements-min.txt b/requirements-min.txt +index 92fb0f8f..13cdac87 100644 +--- a/requirements-min.txt ++++ b/requirements-min.txt +@@ -8,7 +8,6 @@ click>=6.7 + constantly>=15.1.0 + cryptography>=2.6.1 + h2>=3.2.0 +-idna<2.6,>=2.5 + importlib-resources>=4.1.1 + incremental>=17.5.0 + jinja2>=2.10.1 +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/python-crossbar/Config.in b/buildroot-2022.02.1/package/python-crossbar/Config.in new file mode 100644 index 00000000..9625d9ce --- /dev/null +++ b/buildroot-2022.02.1/package/python-crossbar/Config.in @@ -0,0 +1,49 @@ +config BR2_PACKAGE_PYTHON_CROSSBAR + bool "python-crossbar" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + # All the following dependencies are runtime dependencies + select BR2_PACKAGE_PYTHON_ATTRS + select BR2_PACKAGE_PYTHON_AUTOBAHN + select BR2_PACKAGE_PYTHON_BITSTRING + select BR2_PACKAGE_PYTHON_CBOR + select BR2_PACKAGE_PYTHON_CBOR2 + select BR2_PACKAGE_PYTHON_CLICK + select BR2_PACKAGE_PYTHON_CONSTANTLY + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY + select BR2_PACKAGE_PYTHON_H2 + select BR2_PACKAGE_PYTHON_IDNA + select BR2_PACKAGE_PYTHON_INCREMENTAL + select BR2_PACKAGE_PYTHON_JINJA2 + select BR2_PACKAGE_PYTHON_LMDB + select BR2_PACKAGE_PYTHON_MISTUNE + select BR2_PACKAGE_PYTHON_NETADDR + select BR2_PACKAGE_PYTHON_PASSLIB + select BR2_PACKAGE_PYTHON_PRIORITY + select BR2_PACKAGE_PYTHON_PSUTIL + select BR2_PACKAGE_PYTHON_PYASN1 + select BR2_PACKAGE_PYTHON_PYASN1_MODULES + select BR2_PACKAGE_PYTHON_PYGMENTS + select BR2_PACKAGE_PYTHON_PYNACL + select BR2_PACKAGE_PYTHON_PYOPENSSL + select BR2_PACKAGE_PYTHON_PYQRCODE + select BR2_PACKAGE_PYTHON_PYTRIE + select BR2_PACKAGE_PYTHON_PYYAML + select BR2_PACKAGE_PYTHON_SDNOTIFY + select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY + select BR2_PACKAGE_PYTHON_SETPROCTITLE + select BR2_PACKAGE_PYTHON_SETUPTOOLS + select BR2_PACKAGE_PYTHON_TREQ + select BR2_PACKAGE_PYTHON_TWISTED + select BR2_PACKAGE_PYTHON_TXAIO + select BR2_PACKAGE_PYTHON_TXTORCON + select BR2_PACKAGE_PYTHON_U_MSGPACK + select BR2_PACKAGE_PYTHON_UBJSON + select BR2_PACKAGE_PYTHON_WATCHDOG + select BR2_PACKAGE_PYTHON_WERKZEUG + select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE + help + Crossbar.io is an open-source WAMP application router that + allows to build advanced applications from loosely-coupled + components that can talk in real-time with each other. + + https://pypi.python.org/pypi/crossbar diff --git a/buildroot-2022.02.1/package/python-crossbar/python-crossbar.hash b/buildroot-2022.02.1/package/python-crossbar/python-crossbar.hash new file mode 100644 index 00000000..4441578a --- /dev/null +++ b/buildroot-2022.02.1/package/python-crossbar/python-crossbar.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/crossbar/json +md5 df576100bcf6e423cdc1e2e96b602140 crossbar-21.3.1.tar.gz +sha256 ac71959f0c57ab08d43f7830b85c6312e000b25543a179cd751ac357944dd7ef crossbar-21.3.1.tar.gz +# Locally computed +sha256 57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6 crossbar/LICENSE diff --git a/buildroot-2022.02.1/package/python-crossbar/python-crossbar.mk b/buildroot-2022.02.1/package/python-crossbar/python-crossbar.mk new file mode 100644 index 00000000..aae61cd2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-crossbar/python-crossbar.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-crossbar +# +################################################################################ + +PYTHON_CROSSBAR_VERSION = 21.3.1 +PYTHON_CROSSBAR_SOURCE = crossbar-$(PYTHON_CROSSBAR_VERSION).tar.gz +PYTHON_CROSSBAR_SITE = https://files.pythonhosted.org/packages/17/37/aafc4ec30068fd7ebb97f1a00d4ddf8de482dfa4c1d2a1fc6bb814d91400 +PYTHON_CROSSBAR_LICENSE = AGPL-3.0 +PYTHON_CROSSBAR_LICENSE_FILES = crossbar/LICENSE +PYTHON_CROSSBAR_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-cryptography/Config.in b/buildroot-2022.02.1/package/python-cryptography/Config.in new file mode 100644 index 00000000..213aa24f --- /dev/null +++ b/buildroot-2022.02.1/package/python-cryptography/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_CRYPTOGRAPHY + bool "python-cryptography" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PYTHON_CFFI # runtime + help + cryptography is a package designed to expose cryptographic + primitives and recipes to Python developers. + + https://cryptography.io diff --git a/buildroot-2022.02.1/package/python-cryptography/python-cryptography.hash b/buildroot-2022.02.1/package/python-cryptography/python-cryptography.hash new file mode 100644 index 00000000..1219fa9b --- /dev/null +++ b/buildroot-2022.02.1/package/python-cryptography/python-cryptography.hash @@ -0,0 +1,6 @@ +# Locally calculated after vendoring +sha256 196bba703cebc052a19f5353614fcfa9d680471990c10305f110adcc05744eeb cryptography-36.0.1.tar.gz +# Locally computed sha256 checksums +sha256 43dad2cc752ab721cd9a9f36ece70fb53ab7713551f2d3d8694d8e8c5a06d6e2 LICENSE +sha256 aac73b3148f6d1d7111dbca32099f68d26c644c6813ae1e4f05f6579aa2663fe LICENSE.APACHE +sha256 602c4c7482de6479dd2e9793cda275e5e63d773dacd1eca689232ab7008fb4fb LICENSE.BSD diff --git a/buildroot-2022.02.1/package/python-cryptography/python-cryptography.mk b/buildroot-2022.02.1/package/python-cryptography/python-cryptography.mk new file mode 100644 index 00000000..a524f729 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cryptography/python-cryptography.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# python-cryptography +# +################################################################################ + +PYTHON_CRYPTOGRAPHY_VERSION = 36.0.1 +PYTHON_CRYPTOGRAPHY_SOURCE = cryptography-$(PYTHON_CRYPTOGRAPHY_VERSION).tar.gz +PYTHON_CRYPTOGRAPHY_SITE = https://files.pythonhosted.org/packages/f9/4b/1cf8e281f7ae4046a59e5e39dd7471d46db9f61bb564fddbff9084c4334f +PYTHON_CRYPTOGRAPHY_SETUP_TYPE = setuptools +PYTHON_CRYPTOGRAPHY_LICENSE = Apache-2.0 or BSD-3-Clause +PYTHON_CRYPTOGRAPHY_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD +PYTHON_CRYPTOGRAPHY_CPE_ID_VENDOR = cryptography_project +PYTHON_CRYPTOGRAPHY_CPE_ID_PRODUCT = cryptography +PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \ + host-python-setuptools-rust \ + host-python-cffi \ + host-rustc \ + openssl +PYTHON_CRYPTOGRAPHY_ENV = \ + $(PKG_CARGO_ENV) \ + PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)" +# We need to vendor the Cargo crates at download time +PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo +PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc +PYTHON_CRYPTOGRAPHY_DL_ENV = \ + $(PKG_CARGO_ENV) \ + BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cssselect/Config.in b/buildroot-2022.02.1/package/python-cssselect/Config.in similarity index 100% rename from buildroot-2021.05/package/python-cssselect/Config.in rename to buildroot-2022.02.1/package/python-cssselect/Config.in diff --git a/buildroot-2021.05/package/python-cssselect/python-cssselect.hash b/buildroot-2022.02.1/package/python-cssselect/python-cssselect.hash similarity index 100% rename from buildroot-2021.05/package/python-cssselect/python-cssselect.hash rename to buildroot-2022.02.1/package/python-cssselect/python-cssselect.hash diff --git a/buildroot-2021.05/package/python-cssselect/python-cssselect.mk b/buildroot-2022.02.1/package/python-cssselect/python-cssselect.mk similarity index 100% rename from buildroot-2021.05/package/python-cssselect/python-cssselect.mk rename to buildroot-2022.02.1/package/python-cssselect/python-cssselect.mk diff --git a/buildroot-2022.02.1/package/python-cssselect2/Config.in b/buildroot-2022.02.1/package/python-cssselect2/Config.in new file mode 100644 index 00000000..030d6df0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cssselect2/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_CSSSELECT2 + bool "python-cssselect2" + select BR2_PACKAGE_PYTHON_TINYCSS2 # runtime + select BR2_PACKAGE_PYTHON_WEBENCODINGS # runtime + help + CSS selectors for Python ElementTree. + + https://doc.courtbouillon.org/cssselect2/ diff --git a/buildroot-2022.02.1/package/python-cssselect2/python-cssselect2.hash b/buildroot-2022.02.1/package/python-cssselect2/python-cssselect2.hash new file mode 100644 index 00000000..ed5b8633 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cssselect2/python-cssselect2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/cssselect2/json +md5 6dfd5963c8a5d85f2634d1650b1ddfe1 cssselect2-0.4.1.tar.gz +sha256 93fbb9af860e95dd40bf18c3b2b6ed99189a07c0f29ba76f9c5be71344664ec8 cssselect2-0.4.1.tar.gz +# Locally computed sha256 checksums +sha256 6fd97229a1d1b0f6a8b41e109f413426dbc0874b1e03746d66cc33282601c2c2 LICENSE diff --git a/buildroot-2022.02.1/package/python-cssselect2/python-cssselect2.mk b/buildroot-2022.02.1/package/python-cssselect2/python-cssselect2.mk new file mode 100644 index 00000000..18e0fba8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cssselect2/python-cssselect2.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-cssselect2 +# +################################################################################ + +PYTHON_CSSSELECT2_VERSION = 0.4.1 +PYTHON_CSSSELECT2_SOURCE = cssselect2-$(PYTHON_CSSSELECT2_VERSION).tar.gz +PYTHON_CSSSELECT2_SITE = https://files.pythonhosted.org/packages/ad/3d/fb764303deb34cbc1a32fcecdfd239367cb16323920c88390b2f5ad751f0 +PYTHON_CSSSELECT2_SETUP_TYPE = distutils +PYTHON_CSSSELECT2_LICENSE = BSD-3-Clause +PYTHON_CSSSELECT2_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-cssutils/Config.in b/buildroot-2022.02.1/package/python-cssutils/Config.in new file mode 100644 index 00000000..1c23a587 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cssutils/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_CSSUTILS + bool "python-cssutils" + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + help + A CSS Cascading Style Sheets library for Python. + + http://cthedot.de/cssutils/ diff --git a/buildroot-2022.02.1/package/python-cssutils/python-cssutils.hash b/buildroot-2022.02.1/package/python-cssutils/python-cssutils.hash new file mode 100644 index 00000000..e22dde6e --- /dev/null +++ b/buildroot-2022.02.1/package/python-cssutils/python-cssutils.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/cssutils/json +md5 71955999f595e4b0eb5a218d614652ca cssutils-2.3.0.tar.gz +sha256 b2d3b16047caae82e5c590036935bafa1b621cf45c2f38885af4be4838f0fd00 cssutils-2.3.0.tar.gz +# Locally computed sha256 checksums +sha256 03c570a068086ee577dcd795519ea93462b2ed2fcb6dcc4dfce56a71a2fd6e5a COPYING.LESSER diff --git a/buildroot-2022.02.1/package/python-cssutils/python-cssutils.mk b/buildroot-2022.02.1/package/python-cssutils/python-cssutils.mk new file mode 100644 index 00000000..09c2ca44 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cssutils/python-cssutils.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-cssutils +# +################################################################################ + +PYTHON_CSSUTILS_VERSION = 2.3.0 +PYTHON_CSSUTILS_SOURCE = cssutils-$(PYTHON_CSSUTILS_VERSION).tar.gz +PYTHON_CSSUTILS_SITE = https://files.pythonhosted.org/packages/f5/c6/878abb7df855938a067b762a688da3fcdfea4e41c2399feaf80369b61ed7 +PYTHON_CSSUTILS_LICENSE = LGPL-3.0+ +PYTHON_CSSUTILS_LICENSE_FILES = COPYING.LESSER +PYTHON_CSSUTILS_SETUP_TYPE = setuptools +PYTHON_CSSUTILS_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cycler/Config.in b/buildroot-2022.02.1/package/python-cycler/Config.in similarity index 100% rename from buildroot-2021.05/package/python-cycler/Config.in rename to buildroot-2022.02.1/package/python-cycler/Config.in diff --git a/buildroot-2022.02.1/package/python-cycler/python-cycler.hash b/buildroot-2022.02.1/package/python-cycler/python-cycler.hash new file mode 100644 index 00000000..cef416a8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cycler/python-cycler.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/cycler/json +md5 4d0c25f418956e91c47163179682e0ef cycler-0.11.0.tar.gz +sha256 9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f cycler-0.11.0.tar.gz +# Locally computed sha256 checksums +sha256 f1218143d766da3fea66f13396b7f15df46a83303f29bf96ba6e98eb4d42f408 LICENSE diff --git a/buildroot-2022.02.1/package/python-cycler/python-cycler.mk b/buildroot-2022.02.1/package/python-cycler/python-cycler.mk new file mode 100644 index 00000000..03155d72 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cycler/python-cycler.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-cycler +# +################################################################################ + +PYTHON_CYCLER_VERSION = 0.11.0 +PYTHON_CYCLER_SOURCE = cycler-$(PYTHON_CYCLER_VERSION).tar.gz +PYTHON_CYCLER_SITE = https://files.pythonhosted.org/packages/34/45/a7caaacbfc2fa60bee42effc4bcc7d7c6dbe9c349500e04f65a861c15eb9 +PYTHON_CYCLER_LICENSE = BSD-3-Clause +PYTHON_CYCLER_LICENSE_FILES = LICENSE +PYTHON_CYCLER_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-cython/Config.in.host b/buildroot-2022.02.1/package/python-cython/Config.in.host similarity index 100% rename from buildroot-2021.05/package/python-cython/Config.in.host rename to buildroot-2022.02.1/package/python-cython/Config.in.host diff --git a/buildroot-2022.02.1/package/python-cython/python-cython.hash b/buildroot-2022.02.1/package/python-cython/python-cython.hash new file mode 100644 index 00000000..9c5f1225 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cython/python-cython.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/cython/json +md5 2b2ba86abcf823985935d37f5e43b19a Cython-0.29.27.tar.gz +sha256 c6a442504db906dfc13a480e96850cced994ecdc076bcf492c43515b78f70da2 Cython-0.29.27.tar.gz +# Locally computed sha256 checksums +sha256 a6cba85bc92e0cff7a450b1d873c0eaa2e9fc96bf472df0247a26bec77bf3ff9 LICENSE.txt +sha256 e1eb1c49a8508e8173dac30157e4a6439a44ad8846194746c424fbc3fc2b95d7 COPYING.txt diff --git a/buildroot-2022.02.1/package/python-cython/python-cython.mk b/buildroot-2022.02.1/package/python-cython/python-cython.mk new file mode 100644 index 00000000..b9fbf7b1 --- /dev/null +++ b/buildroot-2022.02.1/package/python-cython/python-cython.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-cython +# +################################################################################ + +PYTHON_CYTHON_VERSION = 0.29.27 +PYTHON_CYTHON_SOURCE = Cython-$(PYTHON_CYTHON_VERSION).tar.gz +PYTHON_CYTHON_SITE = https://files.pythonhosted.org/packages/eb/46/80dd9e5ad67ebc766ff3229901bde4a7bc82907efe93cd7007c4df458dd5 +PYTHON_CYTHON_SETUP_TYPE = setuptools +PYTHON_CYTHON_LICENSE = Apache-2.0 +PYTHON_CYTHON_LICENSE_FILES = COPYING.txt LICENSE.txt + +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-daemon/Config.in b/buildroot-2022.02.1/package/python-daemon/Config.in similarity index 100% rename from buildroot-2021.05/package/python-daemon/Config.in rename to buildroot-2022.02.1/package/python-daemon/Config.in diff --git a/buildroot-2021.05/package/python-daemon/python-daemon.hash b/buildroot-2022.02.1/package/python-daemon/python-daemon.hash similarity index 100% rename from buildroot-2021.05/package/python-daemon/python-daemon.hash rename to buildroot-2022.02.1/package/python-daemon/python-daemon.hash diff --git a/buildroot-2021.05/package/python-daemon/python-daemon.mk b/buildroot-2022.02.1/package/python-daemon/python-daemon.mk similarity index 100% rename from buildroot-2021.05/package/python-daemon/python-daemon.mk rename to buildroot-2022.02.1/package/python-daemon/python-daemon.mk diff --git a/buildroot-2021.05/package/python-daemonize/Config.in b/buildroot-2022.02.1/package/python-daemonize/Config.in similarity index 100% rename from buildroot-2021.05/package/python-daemonize/Config.in rename to buildroot-2022.02.1/package/python-daemonize/Config.in diff --git a/buildroot-2021.05/package/python-daemonize/python-daemonize.hash b/buildroot-2022.02.1/package/python-daemonize/python-daemonize.hash similarity index 100% rename from buildroot-2021.05/package/python-daemonize/python-daemonize.hash rename to buildroot-2022.02.1/package/python-daemonize/python-daemonize.hash diff --git a/buildroot-2021.05/package/python-daemonize/python-daemonize.mk b/buildroot-2022.02.1/package/python-daemonize/python-daemonize.mk similarity index 100% rename from buildroot-2021.05/package/python-daemonize/python-daemonize.mk rename to buildroot-2022.02.1/package/python-daemonize/python-daemonize.mk diff --git a/buildroot-2021.05/package/python-daphne/0001-remove-pytest-runner-requirement.patch b/buildroot-2022.02.1/package/python-daphne/0001-remove-pytest-runner-requirement.patch similarity index 100% rename from buildroot-2021.05/package/python-daphne/0001-remove-pytest-runner-requirement.patch rename to buildroot-2022.02.1/package/python-daphne/0001-remove-pytest-runner-requirement.patch diff --git a/buildroot-2022.02.1/package/python-daphne/Config.in b/buildroot-2022.02.1/package/python-daphne/Config.in new file mode 100644 index 00000000..51c66532 --- /dev/null +++ b/buildroot-2022.02.1/package/python-daphne/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_PYTHON_DAPHNE + bool "python-daphne" + # python-autobahn -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_ASGIREF # runtime + select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime + select BR2_PACKAGE_PYTHON_TWISTED # runtime + select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime + help + Daphne is a HTTP, HTTP2 and WebSocket protocol server for + ASGI and ASGI-HTTP, developed to power Django Channels. + It supports automatic negotiation of protocols; there's no + need for URL prefixing to determine WebSocket endpoints + versus HTTP endpoints. + + https://github.com/django/daphne diff --git a/buildroot-2021.05/package/python-daphne/python-daphne.hash b/buildroot-2022.02.1/package/python-daphne/python-daphne.hash similarity index 100% rename from buildroot-2021.05/package/python-daphne/python-daphne.hash rename to buildroot-2022.02.1/package/python-daphne/python-daphne.hash diff --git a/buildroot-2021.05/package/python-daphne/python-daphne.mk b/buildroot-2022.02.1/package/python-daphne/python-daphne.mk similarity index 100% rename from buildroot-2021.05/package/python-daphne/python-daphne.mk rename to buildroot-2022.02.1/package/python-daphne/python-daphne.mk diff --git a/buildroot-2022.02.1/package/python-dataproperty/Config.in b/buildroot-2022.02.1/package/python-dataproperty/Config.in new file mode 100644 index 00000000..9dab9e4f --- /dev/null +++ b/buildroot-2022.02.1/package/python-dataproperty/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_DATAPROPERTY + bool "python-dataproperty" + select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime + select BR2_PACKAGE_PYTHON_TYPEPY # runtime + help + Python library for extract property from data. + + https://github.com/thombashi/DataProperty diff --git a/buildroot-2022.02.1/package/python-dataproperty/python-dataproperty.hash b/buildroot-2022.02.1/package/python-dataproperty/python-dataproperty.hash new file mode 100644 index 00000000..380846e9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dataproperty/python-dataproperty.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dataproperty/json +md5 ce5fd0d37b6d0ca57f144e22cd62bfec DataProperty-0.54.2.tar.gz +sha256 df2fcf00e7a57f0a6089f686f847527eb3c91ded5c419daef6d06ee4bb1187b4 DataProperty-0.54.2.tar.gz +# Locally computed sha256 checksums +sha256 a93d75bcb0774e2990106380cadad6dcb2de193c55d435ffc56ba345a08b1dc2 LICENSE diff --git a/buildroot-2022.02.1/package/python-dataproperty/python-dataproperty.mk b/buildroot-2022.02.1/package/python-dataproperty/python-dataproperty.mk new file mode 100644 index 00000000..1b07dc1b --- /dev/null +++ b/buildroot-2022.02.1/package/python-dataproperty/python-dataproperty.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-dataproperty +# +################################################################################ + +PYTHON_DATAPROPERTY_VERSION = 0.54.2 +PYTHON_DATAPROPERTY_SOURCE = DataProperty-$(PYTHON_DATAPROPERTY_VERSION).tar.gz +PYTHON_DATAPROPERTY_SITE = https://files.pythonhosted.org/packages/9a/03/44fb9094c4fb8032f254eaa37b3b07db82fa35779ceca097b3cde8464749 +PYTHON_DATAPROPERTY_SETUP_TYPE = setuptools +PYTHON_DATAPROPERTY_LICENSE = MIT +PYTHON_DATAPROPERTY_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-dateutil/Config.in b/buildroot-2022.02.1/package/python-dateutil/Config.in similarity index 100% rename from buildroot-2021.05/package/python-dateutil/Config.in rename to buildroot-2022.02.1/package/python-dateutil/Config.in diff --git a/buildroot-2022.02.1/package/python-dateutil/python-dateutil.hash b/buildroot-2022.02.1/package/python-dateutil/python-dateutil.hash new file mode 100644 index 00000000..a52fb30a --- /dev/null +++ b/buildroot-2022.02.1/package/python-dateutil/python-dateutil.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/python-dateutil/json +md5 5970010bb72452344df3d76a10281b65 python-dateutil-2.8.2.tar.gz +sha256 0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86 python-dateutil-2.8.2.tar.gz +# Locally computed sha256 checksums +sha256 ba00f51a0d92823b5a1cde27d8b5b9d2321e67ed8da9bc163eff96d5e17e577e LICENSE diff --git a/buildroot-2022.02.1/package/python-dateutil/python-dateutil.mk b/buildroot-2022.02.1/package/python-dateutil/python-dateutil.mk new file mode 100644 index 00000000..b75f510b --- /dev/null +++ b/buildroot-2022.02.1/package/python-dateutil/python-dateutil.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-dateutil +# +################################################################################ + +PYTHON_DATEUTIL_VERSION = 2.8.2 +PYTHON_DATEUTIL_SITE = https://files.pythonhosted.org/packages/4c/c4/13b4776ea2d76c115c1d1b84579f3764ee6d57204f6be27119f13a61d0a9 +PYTHON_DATEUTIL_SETUP_TYPE = setuptools +PYTHON_DATEUTIL_LICENSE = BSD-3-Clause +PYTHON_DATEUTIL_LICENSE_FILES = LICENSE +PYTHON_DATEUTIL_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-dbus-next/Config.in b/buildroot-2022.02.1/package/python-dbus-next/Config.in new file mode 100644 index 00000000..6b00e707 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dbus-next/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_DBUS_NEXT + bool "python-dbus-next" + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + help + A zero-dependency DBus library for Python with asyncio + support. + + https://github.com/altdesktop/python-dbus-next diff --git a/buildroot-2022.02.1/package/python-dbus-next/python-dbus-next.hash b/buildroot-2022.02.1/package/python-dbus-next/python-dbus-next.hash new file mode 100644 index 00000000..57bfaaf5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dbus-next/python-dbus-next.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dbus-next/json +md5 0e31605bd90f3460aebcd0bb7fe0dc20 dbus_next-0.2.3.tar.gz +sha256 f4eae26909332ada528c0a3549dda8d4f088f9b365153952a408e28023a626a5 dbus_next-0.2.3.tar.gz +# Locally computed sha256 checksums +sha256 c454ab6b8e0653a8eab828a8cbaaa368a1bbfba982178bb18b6177e311eae4cc LICENSE diff --git a/buildroot-2022.02.1/package/python-dbus-next/python-dbus-next.mk b/buildroot-2022.02.1/package/python-dbus-next/python-dbus-next.mk new file mode 100644 index 00000000..f35a32cb --- /dev/null +++ b/buildroot-2022.02.1/package/python-dbus-next/python-dbus-next.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-dbus-next +# +################################################################################ + +PYTHON_DBUS_NEXT_VERSION = 0.2.3 +PYTHON_DBUS_NEXT_SOURCE = dbus_next-$(PYTHON_DBUS_NEXT_VERSION).tar.gz +PYTHON_DBUS_NEXT_SITE = https://files.pythonhosted.org/packages/ce/45/6a40fbe886d60a8c26f480e7d12535502b5ba123814b3b9a0b002ebca198 +PYTHON_DBUS_NEXT_SETUP_TYPE = setuptools +PYTHON_DBUS_NEXT_LICENSE = MIT +PYTHON_DBUS_NEXT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-decorator/Config.in b/buildroot-2022.02.1/package/python-decorator/Config.in similarity index 100% rename from buildroot-2021.05/package/python-decorator/Config.in rename to buildroot-2022.02.1/package/python-decorator/Config.in diff --git a/buildroot-2022.02.1/package/python-decorator/python-decorator.hash b/buildroot-2022.02.1/package/python-decorator/python-decorator.hash new file mode 100644 index 00000000..46ff7206 --- /dev/null +++ b/buildroot-2022.02.1/package/python-decorator/python-decorator.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/decorator/json +md5 d01585c3ea5b36a209747fcc978a98c8 decorator-5.1.0.tar.gz +sha256 e59913af105b9860aa2c8d3272d9de5a56a4e608db9a2f167a8480b323d529a7 decorator-5.1.0.tar.gz +# Locally computed sha256 checksums +sha256 fd11660cabf0532082c45706862fafc294907ec7f8e217818240a4999806782e LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-decorator/python-decorator.mk b/buildroot-2022.02.1/package/python-decorator/python-decorator.mk new file mode 100644 index 00000000..a61f045e --- /dev/null +++ b/buildroot-2022.02.1/package/python-decorator/python-decorator.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-decorator +# +################################################################################ + +PYTHON_DECORATOR_VERSION = 5.1.0 +PYTHON_DECORATOR_SOURCE = decorator-$(PYTHON_DECORATOR_VERSION).tar.gz +PYTHON_DECORATOR_SITE = https://files.pythonhosted.org/packages/92/3c/34f8448b61809968052882b830f7d8d9a8e1c07048f70deb039ae599f73c +PYTHON_DECORATOR_LICENSE = BSD-2-Clause +PYTHON_DECORATOR_LICENSE_FILES = LICENSE.txt +PYTHON_DECORATOR_CPE_ID_VENDOR = python +PYTHON_DECORATOR_CPE_ID_PRODUCT = decorator +PYTHON_DECORATOR_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-defusedxml/Config.in b/buildroot-2022.02.1/package/python-defusedxml/Config.in similarity index 100% rename from buildroot-2021.05/package/python-defusedxml/Config.in rename to buildroot-2022.02.1/package/python-defusedxml/Config.in diff --git a/buildroot-2022.02.1/package/python-defusedxml/python-defusedxml.hash b/buildroot-2022.02.1/package/python-defusedxml/python-defusedxml.hash new file mode 100644 index 00000000..c32c6cdb --- /dev/null +++ b/buildroot-2022.02.1/package/python-defusedxml/python-defusedxml.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/defusedxml/json +md5 a50e7f21aa60a741efe6b1b658dfb3f8 defusedxml-0.7.1.tar.gz +sha256 1bb3032db185915b62d7c6209c5a8792be6a32ab2fedacc84e01b52c51aa3e69 defusedxml-0.7.1.tar.gz +# Locally computed sha256 checksums +sha256 b80ce9da8c42a1f91079627fbbe2bf27210ae108a0ffe5f077d5b08e076c24c8 LICENSE diff --git a/buildroot-2022.02.1/package/python-defusedxml/python-defusedxml.mk b/buildroot-2022.02.1/package/python-defusedxml/python-defusedxml.mk new file mode 100644 index 00000000..19ba2fda --- /dev/null +++ b/buildroot-2022.02.1/package/python-defusedxml/python-defusedxml.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-defusedxml +# +################################################################################ + +PYTHON_DEFUSEDXML_VERSION = 0.7.1 +PYTHON_DEFUSEDXML_SOURCE = defusedxml-$(PYTHON_DEFUSEDXML_VERSION).tar.gz +PYTHON_DEFUSEDXML_SITE = https://files.pythonhosted.org/packages/0f/d5/c66da9b79e5bdb124974bfe172b4daf3c984ebd9c2a06e2b8a4dc7331c72 +PYTHON_DEFUSEDXML_SETUP_TYPE = setuptools +PYTHON_DEFUSEDXML_LICENSE = Python-2.0 +PYTHON_DEFUSEDXML_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-dialog3/Config.in b/buildroot-2022.02.1/package/python-dialog3/Config.in new file mode 100644 index 00000000..86812d27 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dialog3/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_DIALOG3 + bool "python-dialog3" + depends on BR2_USE_MMU # dialog + select BR2_PACKAGE_DIALOG + help + A Python 3 only interface to the UNIX dialog utility and + mostly-compatible programs. + + http://pythondialog.sourceforge.net/ diff --git a/buildroot-2021.05/package/python-dialog3/python-dialog3.hash b/buildroot-2022.02.1/package/python-dialog3/python-dialog3.hash similarity index 100% rename from buildroot-2021.05/package/python-dialog3/python-dialog3.hash rename to buildroot-2022.02.1/package/python-dialog3/python-dialog3.hash diff --git a/buildroot-2021.05/package/python-dialog3/python-dialog3.mk b/buildroot-2022.02.1/package/python-dialog3/python-dialog3.mk similarity index 100% rename from buildroot-2021.05/package/python-dialog3/python-dialog3.mk rename to buildroot-2022.02.1/package/python-dialog3/python-dialog3.mk diff --git a/buildroot-2022.02.1/package/python-dicttoxml/Config.in b/buildroot-2022.02.1/package/python-dicttoxml/Config.in new file mode 100644 index 00000000..145887ed --- /dev/null +++ b/buildroot-2022.02.1/package/python-dicttoxml/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_DICTTOXML + bool "python-dicttoxml" + select BR2_PACKAGE_PYTHON3_PYEXPAT + help + Converts a Python dictionary or other native data type into + a valid XML string. + + https://github.com/quandyfactory/dicttoxml diff --git a/buildroot-2021.05/package/python-dicttoxml/python-dicttoxml.hash b/buildroot-2022.02.1/package/python-dicttoxml/python-dicttoxml.hash similarity index 100% rename from buildroot-2021.05/package/python-dicttoxml/python-dicttoxml.hash rename to buildroot-2022.02.1/package/python-dicttoxml/python-dicttoxml.hash diff --git a/buildroot-2021.05/package/python-dicttoxml/python-dicttoxml.mk b/buildroot-2022.02.1/package/python-dicttoxml/python-dicttoxml.mk similarity index 100% rename from buildroot-2021.05/package/python-dicttoxml/python-dicttoxml.mk rename to buildroot-2022.02.1/package/python-dicttoxml/python-dicttoxml.mk diff --git a/buildroot-2022.02.1/package/python-distro/Config.in b/buildroot-2022.02.1/package/python-distro/Config.in new file mode 100644 index 00000000..bb415154 --- /dev/null +++ b/buildroot-2022.02.1/package/python-distro/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_PYTHON_DISTRO + bool "python distro" + help + distro provides information about the OS distribution it + runs on, such as a reliable machine-readable ID, or version + information. + + It is the recommended replacement for Python's original + platform.linux_distribution function (removed in Python + 3.8). It also provides much more functionality which isn't + necessarily Python bound, like a command-line interface. + + https://github.com/nir0s/distro diff --git a/buildroot-2022.02.1/package/python-distro/python-distro.hash b/buildroot-2022.02.1/package/python-distro/python-distro.hash new file mode 100644 index 00000000..e2b3c0a4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-distro/python-distro.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 83f5e5a09f9c5f68f60173de572930effbcc0287bb84fdc4426cb4168c088424 distro-1.6.0.tar.gz +sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE diff --git a/buildroot-2022.02.1/package/python-distro/python-distro.mk b/buildroot-2022.02.1/package/python-distro/python-distro.mk new file mode 100644 index 00000000..753e74d0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-distro/python-distro.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-distro +# +################################################################################ + +PYTHON_DISTRO_VERSION = 1.6.0 +PYTHON_DISTRO_SITE = https://files.pythonhosted.org/packages/a5/26/256fa167fe1bf8b97130b4609464be20331af8a3af190fb636a8a7efd7a2 +PYTHON_DISTRO_SOURCE = distro-$(PYTHON_DISTRO_VERSION).tar.gz +PYTHON_DISTRO_LICENSE = Apache-2.0 +PYTHON_DISTRO_LICENSE_FILES = LICENSE +PYTHON_DISTRO_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-django-enumfields/Config.in b/buildroot-2022.02.1/package/python-django-enumfields/Config.in new file mode 100644 index 00000000..e7236d13 --- /dev/null +++ b/buildroot-2022.02.1/package/python-django-enumfields/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_DJANGO_ENUMFIELDS + bool "python-django-enumfields" + help + Real Python Enums for Django. + + https://github.com/hzdg/django-enumfields diff --git a/buildroot-2022.02.1/package/python-django-enumfields/python-django-enumfields.hash b/buildroot-2022.02.1/package/python-django-enumfields/python-django-enumfields.hash new file mode 100644 index 00000000..352fa8d9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-django-enumfields/python-django-enumfields.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/django-enumfields/json +md5 e06bcaecd583ee40e30d556bfcbf0d66 django-enumfields-2.1.1.tar.gz +sha256 f64841732a9c343f5071220e0abcf5f51c9472c06e3c33d7c6a7ec27b6087561 django-enumfields-2.1.1.tar.gz +# Locally computed sha256 checksums +sha256 75b9c8c2514f22d66070ffc975c4d3132de01e0cc7b3a9662731bcb46cd2a042 LICENSE diff --git a/buildroot-2022.02.1/package/python-django-enumfields/python-django-enumfields.mk b/buildroot-2022.02.1/package/python-django-enumfields/python-django-enumfields.mk new file mode 100644 index 00000000..20abb5bf --- /dev/null +++ b/buildroot-2022.02.1/package/python-django-enumfields/python-django-enumfields.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-django-enumfields +# +################################################################################ + +PYTHON_DJANGO_ENUMFIELDS_VERSION = 2.1.1 +PYTHON_DJANGO_ENUMFIELDS_SOURCE = django-enumfields-$(PYTHON_DJANGO_ENUMFIELDS_VERSION).tar.gz +PYTHON_DJANGO_ENUMFIELDS_SITE = https://files.pythonhosted.org/packages/24/a8/aaf2b5ddb697c9bcab53c32cfebe11e536502e07c30646b4756e7214b685 +PYTHON_DJANGO_ENUMFIELDS_SETUP_TYPE = setuptools +PYTHON_DJANGO_ENUMFIELDS_LICENSE = MIT +PYTHON_DJANGO_ENUMFIELDS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-django/Config.in b/buildroot-2022.02.1/package/python-django/Config.in new file mode 100644 index 00000000..8ffceb72 --- /dev/null +++ b/buildroot-2022.02.1/package/python-django/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_PYTHON_DJANGO + bool "python-django" + select BR2_PACKAGE_PYTHON3_UNICODEDATA + select BR2_PACKAGE_PYTHON3_PYEXPAT + select BR2_PACKAGE_PYTHON_ASGIREF # runtime + select BR2_PACKAGE_PYTHON_PYTZ # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON_SQLPARSE # runtime + + help + Django is a high-level Python Web framework that encourages + rapid development and clean, pragmatic design. It takes your + Web applications from concept to launch in a matter of + hours. Django takes care of user authentication, content + administration, site maps, RSS feeds, user comments and many + more tasks. Django takes security seriously and helps + developers avoid many common security mistakes + + https://www.djangoproject.com/ diff --git a/buildroot-2022.02.1/package/python-django/python-django.hash b/buildroot-2022.02.1/package/python-django/python-django.hash new file mode 100644 index 00000000..f78df56c --- /dev/null +++ b/buildroot-2022.02.1/package/python-django/python-django.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/django/json +md5 a86339c0e87241597afa8744704d9965 Django-4.0.2.tar.gz +sha256 110fb58fb12eca59e072ad59fc42d771cd642dd7a2f2416582aa9da7a8ef954a Django-4.0.2.tar.gz +# Locally computed sha256 checksums +sha256 b846415d1b514e9c1dff14a22deb906d794bc546ca6129f950a18cd091e2a669 LICENSE diff --git a/buildroot-2022.02.1/package/python-django/python-django.mk b/buildroot-2022.02.1/package/python-django/python-django.mk new file mode 100644 index 00000000..652ca477 --- /dev/null +++ b/buildroot-2022.02.1/package/python-django/python-django.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-django +# +################################################################################ + +PYTHON_DJANGO_VERSION = 4.0.2 +PYTHON_DJANGO_SOURCE = Django-$(PYTHON_DJANGO_VERSION).tar.gz +# The official Django site has an unpractical URL +PYTHON_DJANGO_SITE = https://files.pythonhosted.org/packages/61/84/676c840e8f1188a6c836e3224b97aa8be4c2e6857c690d6c564eb23a4975 + +PYTHON_DJANGO_LICENSE = BSD-3-Clause +PYTHON_DJANGO_LICENSE_FILES = LICENSE +PYTHON_DJANGO_CPE_ID_VENDOR = djangoproject +PYTHON_DJANGO_CPE_ID_PRODUCT = django +PYTHON_DJANGO_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-dnspython/Config.in b/buildroot-2022.02.1/package/python-dnspython/Config.in similarity index 100% rename from buildroot-2021.05/package/python-dnspython/Config.in rename to buildroot-2022.02.1/package/python-dnspython/Config.in diff --git a/buildroot-2022.02.1/package/python-dnspython/python-dnspython.hash b/buildroot-2022.02.1/package/python-dnspython/python-dnspython.hash new file mode 100644 index 00000000..c9c74c8d --- /dev/null +++ b/buildroot-2022.02.1/package/python-dnspython/python-dnspython.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dnspython/json +md5 8a362d7b2358be3117683e2dbf9654fc dnspython-2.1.0.zip +sha256 e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4 dnspython-2.1.0.zip +# Locally computed sha256 checksums +sha256 c3ea3ff5654b329c19d3bc5f7481af623c3dded4a6145585499f843ad3d741cd LICENSE diff --git a/buildroot-2022.02.1/package/python-dnspython/python-dnspython.mk b/buildroot-2022.02.1/package/python-dnspython/python-dnspython.mk new file mode 100644 index 00000000..77e60828 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dnspython/python-dnspython.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# python-dnspython +# +################################################################################ + +PYTHON_DNSPYTHON_VERSION = 2.1.0 +PYTHON_DNSPYTHON_SOURCE = dnspython-$(PYTHON_DNSPYTHON_VERSION).zip +PYTHON_DNSPYTHON_SITE = https://files.pythonhosted.org/packages/13/27/5277de856f605f3429d752a39af3588e29d10181a3aa2e2ee471d817485a +PYTHON_DNSPYTHON_LICENSE = ISC +PYTHON_DNSPYTHON_LICENSE_FILES = LICENSE +PYTHON_DNSPYTHON_SETUP_TYPE = setuptools + +define PYTHON_DNSPYTHON_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(PYTHON_DNSPYTHON_DL_DIR)/$(PYTHON_DNSPYTHON_SOURCE) + mv $(@D)/dnspython-$(PYTHON_DNSPYTHON_VERSION)/* $(@D) + $(RM) -r $(@D)/dnspython-$(PYTHON_DNSPYTHON_VERSION) +endef + +define HOST_PYTHON_DNSPYTHON_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(HOST_PYTHON_DNSPYTHON_DL_DIR)/$(HOST_PYTHON_DNSPYTHON_SOURCE) + mv $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION)/* $(@D) + $(RM) -r $(@D)/dnspython-$(HOST_PYTHON_DNSPYTHON_VERSION) +endef + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-docker-pycreds/Config.in b/buildroot-2022.02.1/package/python-docker-pycreds/Config.in similarity index 100% rename from buildroot-2021.05/package/python-docker-pycreds/Config.in rename to buildroot-2022.02.1/package/python-docker-pycreds/Config.in diff --git a/buildroot-2021.05/package/python-docker-pycreds/python-docker-pycreds.hash b/buildroot-2022.02.1/package/python-docker-pycreds/python-docker-pycreds.hash similarity index 100% rename from buildroot-2021.05/package/python-docker-pycreds/python-docker-pycreds.hash rename to buildroot-2022.02.1/package/python-docker-pycreds/python-docker-pycreds.hash diff --git a/buildroot-2021.05/package/python-docker-pycreds/python-docker-pycreds.mk b/buildroot-2022.02.1/package/python-docker-pycreds/python-docker-pycreds.mk similarity index 100% rename from buildroot-2021.05/package/python-docker-pycreds/python-docker-pycreds.mk rename to buildroot-2022.02.1/package/python-docker-pycreds/python-docker-pycreds.mk diff --git a/buildroot-2022.02.1/package/python-docker/Config.in b/buildroot-2022.02.1/package/python-docker/Config.in new file mode 100644 index 00000000..b2296f42 --- /dev/null +++ b/buildroot-2022.02.1/package/python-docker/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_DOCKER + bool "python-docker" + # docker-engine may be running on another host, so no other dependency + select BR2_PACKAGE_PYTHON3_SSL # runtime + select BR2_PACKAGE_PYTHON_REQUESTS # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT # runtime + help + A Python library for the Docker Engine API. + + https://github.com/docker/docker-py diff --git a/buildroot-2021.05/package/python-docker/python-docker.hash b/buildroot-2022.02.1/package/python-docker/python-docker.hash similarity index 100% rename from buildroot-2021.05/package/python-docker/python-docker.hash rename to buildroot-2022.02.1/package/python-docker/python-docker.hash diff --git a/buildroot-2021.05/package/python-docker/python-docker.mk b/buildroot-2022.02.1/package/python-docker/python-docker.mk similarity index 100% rename from buildroot-2021.05/package/python-docker/python-docker.mk rename to buildroot-2022.02.1/package/python-docker/python-docker.mk diff --git a/buildroot-2021.05/package/python-dockerpty/Config.in b/buildroot-2022.02.1/package/python-dockerpty/Config.in similarity index 100% rename from buildroot-2021.05/package/python-dockerpty/Config.in rename to buildroot-2022.02.1/package/python-dockerpty/Config.in diff --git a/buildroot-2021.05/package/python-dockerpty/python-dockerpty.hash b/buildroot-2022.02.1/package/python-dockerpty/python-dockerpty.hash similarity index 100% rename from buildroot-2021.05/package/python-dockerpty/python-dockerpty.hash rename to buildroot-2022.02.1/package/python-dockerpty/python-dockerpty.hash diff --git a/buildroot-2021.05/package/python-dockerpty/python-dockerpty.mk b/buildroot-2022.02.1/package/python-dockerpty/python-dockerpty.mk similarity index 100% rename from buildroot-2021.05/package/python-dockerpty/python-dockerpty.mk rename to buildroot-2022.02.1/package/python-dockerpty/python-dockerpty.mk diff --git a/buildroot-2021.05/package/python-docopt/Config.in b/buildroot-2022.02.1/package/python-docopt/Config.in similarity index 100% rename from buildroot-2021.05/package/python-docopt/Config.in rename to buildroot-2022.02.1/package/python-docopt/Config.in diff --git a/buildroot-2021.05/package/python-docopt/python-docopt.hash b/buildroot-2022.02.1/package/python-docopt/python-docopt.hash similarity index 100% rename from buildroot-2021.05/package/python-docopt/python-docopt.hash rename to buildroot-2022.02.1/package/python-docopt/python-docopt.hash diff --git a/buildroot-2021.05/package/python-docopt/python-docopt.mk b/buildroot-2022.02.1/package/python-docopt/python-docopt.mk similarity index 100% rename from buildroot-2021.05/package/python-docopt/python-docopt.mk rename to buildroot-2022.02.1/package/python-docopt/python-docopt.mk diff --git a/buildroot-2021.05/package/python-docutils/Config.in b/buildroot-2022.02.1/package/python-docutils/Config.in similarity index 100% rename from buildroot-2021.05/package/python-docutils/Config.in rename to buildroot-2022.02.1/package/python-docutils/Config.in diff --git a/buildroot-2022.02.1/package/python-docutils/python-docutils.hash b/buildroot-2022.02.1/package/python-docutils/python-docutils.hash new file mode 100644 index 00000000..f5e0b82d --- /dev/null +++ b/buildroot-2022.02.1/package/python-docutils/python-docutils.hash @@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/docutils/json, sha256 locally computed +md5 ca5827e2432fd58f4c8d74a6591135de docutils-0.18.1.tar.gz +sha256 679987caf361a7539d76e584cbeddc311e3aee937877c87346f31debc63e9d06 docutils-0.18.1.tar.gz +sha256 f20172170ef9aeebbf53adf5d8f7d309f7dc6068e9a3a1b52ea772305686739d COPYING.txt diff --git a/buildroot-2022.02.1/package/python-docutils/python-docutils.mk b/buildroot-2022.02.1/package/python-docutils/python-docutils.mk new file mode 100644 index 00000000..39a570f5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-docutils/python-docutils.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-docutils +# +################################################################################ + +PYTHON_DOCUTILS_VERSION = 0.18.1 +PYTHON_DOCUTILS_SOURCE = docutils-$(PYTHON_DOCUTILS_VERSION).tar.gz +PYTHON_DOCUTILS_SITE = https://files.pythonhosted.org/packages/57/b1/b880503681ea1b64df05106fc7e3c4e3801736cf63deffc6fa7fc5404cf5 +PYTHON_DOCUTILS_LICENSE = Public Domain, BSD-2-Clause, BSD-3-Clause, Python-2.0, GPL-3.0+ (emacs mode) +PYTHON_DOCUTILS_LICENSE_FILES = COPYING.txt +PYTHON_DOCUTILS_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-dominate/Config.in b/buildroot-2022.02.1/package/python-dominate/Config.in similarity index 100% rename from buildroot-2021.05/package/python-dominate/Config.in rename to buildroot-2022.02.1/package/python-dominate/Config.in diff --git a/buildroot-2022.02.1/package/python-dominate/python-dominate.hash b/buildroot-2022.02.1/package/python-dominate/python-dominate.hash new file mode 100644 index 00000000..2e77d72a --- /dev/null +++ b/buildroot-2022.02.1/package/python-dominate/python-dominate.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dominate/json +md5 9f714324ca99eee98bb3c3cdbe838de6 dominate-2.6.0.tar.gz +sha256 76ec2cde23700a6fc4fee098168b9dee43b99c2f1dd0ca6a711f683e8eb7e1e4 dominate-2.6.0.tar.gz +# Locally computed sha256 checksums +sha256 9ccf26cfe845e0eb8bb58053e47366e7ab6b697ae010f7650978d4b71b7d1fc1 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-dominate/python-dominate.mk b/buildroot-2022.02.1/package/python-dominate/python-dominate.mk new file mode 100644 index 00000000..79fc0587 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dominate/python-dominate.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-dominate +# +################################################################################ + +PYTHON_DOMINATE_VERSION = 2.6.0 +PYTHON_DOMINATE_SOURCE = dominate-$(PYTHON_DOMINATE_VERSION).tar.gz +PYTHON_DOMINATE_SITE = https://files.pythonhosted.org/packages/29/23/edf8e470f1053245c1aa99d92c8a3da9e83f6c7d3eb39205486965425be5 +PYTHON_DOMINATE_SETUP_TYPE = setuptools +PYTHON_DOMINATE_LICENSE = LGPL-3.0+ +PYTHON_DOMINATE_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-dpkt/Config.in b/buildroot-2022.02.1/package/python-dpkt/Config.in new file mode 100644 index 00000000..819d0fb6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dpkt/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_DPKT + bool "python-dpkt" + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + Fast, simple packet creation / parsing, with definitions + for the basic TCP/IP protocols. + + https://github.com/kbandla/dpkt diff --git a/buildroot-2022.02.1/package/python-dpkt/python-dpkt.hash b/buildroot-2022.02.1/package/python-dpkt/python-dpkt.hash new file mode 100644 index 00000000..e5e98662 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dpkt/python-dpkt.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dpkt/json +md5 ac3ace1c5ee12a74f12a863ac9082b59 dpkt-1.9.7.2.tar.gz +sha256 80f977667ebbad2b5c4f7b7f45ee8bea6622fb71723f68a9a8fe6274520c853b dpkt-1.9.7.2.tar.gz +# Locally computed sha256 checksums +sha256 4c5ffde575425591cbd51410219a6b98bbbb717e0c5784187e356653da8e5095 LICENSE diff --git a/buildroot-2022.02.1/package/python-dpkt/python-dpkt.mk b/buildroot-2022.02.1/package/python-dpkt/python-dpkt.mk new file mode 100644 index 00000000..87945d67 --- /dev/null +++ b/buildroot-2022.02.1/package/python-dpkt/python-dpkt.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-dpkt +# +################################################################################ + +PYTHON_DPKT_VERSION = 1.9.7.2 +PYTHON_DPKT_SOURCE = dpkt-$(PYTHON_DPKT_VERSION).tar.gz +PYTHON_DPKT_SITE = https://files.pythonhosted.org/packages/95/51/923b370880eff9b62fe4fe965a916da709022a02669c670731da69088e93 +PYTHON_DPKT_SETUP_TYPE = setuptools +PYTHON_DPKT_LICENSE = BSD-3-Clause +PYTHON_DPKT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-ecdsa/Config.in b/buildroot-2022.02.1/package/python-ecdsa/Config.in new file mode 100644 index 00000000..54a363b3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ecdsa/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_ECDSA + bool "python-ecdsa" + select BR2_PACKAGE_PYTHON_SIX # runtime + help + ECDSA cryptographic signature library (pure python). + + http://github.com/tlsfuzzer/python-ecdsa diff --git a/buildroot-2022.02.1/package/python-ecdsa/python-ecdsa.hash b/buildroot-2022.02.1/package/python-ecdsa/python-ecdsa.hash new file mode 100644 index 00000000..a082d30b --- /dev/null +++ b/buildroot-2022.02.1/package/python-ecdsa/python-ecdsa.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/ecdsa/json +md5 d0dd59c43af0f640a60599551529f5d0 ecdsa-0.17.0.tar.gz +sha256 b9f500bb439e4153d0330610f5d26baaf18d17b8ced1bc54410d189385ea68aa ecdsa-0.17.0.tar.gz +# Locally computed sha256 checksums +sha256 3eca9845773d2e5b8cc9d8c119d345f00a4806e4bd660d4a3d6cdf9c0e9d8bb2 LICENSE diff --git a/buildroot-2022.02.1/package/python-ecdsa/python-ecdsa.mk b/buildroot-2022.02.1/package/python-ecdsa/python-ecdsa.mk new file mode 100644 index 00000000..eda35616 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ecdsa/python-ecdsa.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-ecdsa +# +################################################################################ + +PYTHON_ECDSA_VERSION = 0.17.0 +PYTHON_ECDSA_SOURCE = ecdsa-$(PYTHON_ECDSA_VERSION).tar.gz +PYTHON_ECDSA_SITE = https://files.pythonhosted.org/packages/bf/3d/3d909532ad541651390bf1321e097404cbd39d1d89c2046f42a460220fb3 +PYTHON_ECDSA_SETUP_TYPE = setuptools +PYTHON_ECDSA_LICENSE = MIT +PYTHON_ECDSA_LICENSE_FILES = LICENSE +PYTHON_ECDSA_CPE_ID_VENDOR = python-ecdsa_project + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-engineio/Config.in b/buildroot-2022.02.1/package/python-engineio/Config.in new file mode 100644 index 00000000..b42b609e --- /dev/null +++ b/buildroot-2022.02.1/package/python-engineio/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_ENGINEIO + bool "python-engineio" + select BR2_PACKAGE_PYTHON3_ZLIB + help + Engine.IO server. + + http://github.com/miguelgrinberg/python-engineio/ diff --git a/buildroot-2022.02.1/package/python-engineio/python-engineio.hash b/buildroot-2022.02.1/package/python-engineio/python-engineio.hash new file mode 100644 index 00000000..5762303a --- /dev/null +++ b/buildroot-2022.02.1/package/python-engineio/python-engineio.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/python-engineio/json +md5 d2bc7184d64e9d5a692bfad29ff73dea python-engineio-4.2.1.tar.gz +sha256 d510329b6d8ed5662547862f58bc73659ae62defa66b66d745ba021de112fa62 python-engineio-4.2.1.tar.gz +# Locally computed sha256 checksums +sha256 c9e97d3dbc1fbbcdb4f7808b282cd646db887aff4f5313fe6bbe8d4c31405a9c LICENSE diff --git a/buildroot-2022.02.1/package/python-engineio/python-engineio.mk b/buildroot-2022.02.1/package/python-engineio/python-engineio.mk new file mode 100644 index 00000000..81bd49fb --- /dev/null +++ b/buildroot-2022.02.1/package/python-engineio/python-engineio.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-engineio +# +################################################################################ + +PYTHON_ENGINEIO_VERSION = 4.2.1 +PYTHON_ENGINEIO_SITE = https://files.pythonhosted.org/packages/74/1e/33e402011bb2fe33ab12762e5a66d66df1d47302a23e9c5e8310e11b1403 +PYTHON_ENGINEIO_SETUP_TYPE = setuptools +PYTHON_ENGINEIO_LICENSE = MIT +PYTHON_ENGINEIO_LICENSE_FILES = LICENSE +PYTHON_ENGINEIO_CPE_ID_VENDOR = python-engineio_project + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-entrypoints/Config.in b/buildroot-2022.02.1/package/python-entrypoints/Config.in similarity index 100% rename from buildroot-2021.05/package/python-entrypoints/Config.in rename to buildroot-2022.02.1/package/python-entrypoints/Config.in diff --git a/buildroot-2021.05/package/python-entrypoints/python-entrypoints.hash b/buildroot-2022.02.1/package/python-entrypoints/python-entrypoints.hash similarity index 100% rename from buildroot-2021.05/package/python-entrypoints/python-entrypoints.hash rename to buildroot-2022.02.1/package/python-entrypoints/python-entrypoints.hash diff --git a/buildroot-2021.05/package/python-entrypoints/python-entrypoints.mk b/buildroot-2022.02.1/package/python-entrypoints/python-entrypoints.mk similarity index 100% rename from buildroot-2021.05/package/python-entrypoints/python-entrypoints.mk rename to buildroot-2022.02.1/package/python-entrypoints/python-entrypoints.mk diff --git a/buildroot-2022.02.1/package/python-esptool/Config.in b/buildroot-2022.02.1/package/python-esptool/Config.in new file mode 100644 index 00000000..b21ccd72 --- /dev/null +++ b/buildroot-2022.02.1/package/python-esptool/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_ESPTOOL + bool "python-esptool" + select BR2_PACKAGE_PYTHON_ECDSA # runtime + select BR2_PACKAGE_PYTHON_PYAES # runtime + select BR2_PACKAGE_PYTHON_SERIAL # runtime + select BR2_PACKAGE_PYTHON3_ZLIB + help + A serial utility to communicate & flash code to Espressif + ESP8266 & ESP32 chips. + + https://github.com/espressif/esptool diff --git a/buildroot-2022.02.1/package/python-esptool/python-esptool.hash b/buildroot-2022.02.1/package/python-esptool/python-esptool.hash new file mode 100644 index 00000000..a916f9a0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-esptool/python-esptool.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/esptool/json +md5 84aa6ffb4723b1f59a2c83244a9ad918 esptool-3.2.tar.gz +sha256 9638ff11c68e621e08e7c3335d4fd9d70b2ddcf7caae778073cd8cc27be1216f esptool-3.2.tar.gz +# Locally computed sha256 checksums +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/python-esptool/python-esptool.mk b/buildroot-2022.02.1/package/python-esptool/python-esptool.mk new file mode 100644 index 00000000..77291e25 --- /dev/null +++ b/buildroot-2022.02.1/package/python-esptool/python-esptool.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-esptool +# +################################################################################ + +PYTHON_ESPTOOL_VERSION = 3.2 +PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz +PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/60/a4/33907f5b735f9179061bd6b6cae7123d4a2d0cdf46c879fa55e66edef24f +PYTHON_ESPTOOL_SETUP_TYPE = setuptools +PYTHON_ESPTOOL_LICENSE = GPL-2.0+ +PYTHON_ESPTOOL_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-falcon/Config.in b/buildroot-2022.02.1/package/python-falcon/Config.in new file mode 100644 index 00000000..1bf93064 --- /dev/null +++ b/buildroot-2022.02.1/package/python-falcon/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_FALCON + bool "python-falcon" + help + An unladen web framework for building APIs and app + backends. + + https://falconframework.org diff --git a/buildroot-2021.05/package/python-falcon/python-falcon.hash b/buildroot-2022.02.1/package/python-falcon/python-falcon.hash similarity index 100% rename from buildroot-2021.05/package/python-falcon/python-falcon.hash rename to buildroot-2022.02.1/package/python-falcon/python-falcon.hash diff --git a/buildroot-2021.05/package/python-falcon/python-falcon.mk b/buildroot-2022.02.1/package/python-falcon/python-falcon.mk similarity index 100% rename from buildroot-2021.05/package/python-falcon/python-falcon.mk rename to buildroot-2022.02.1/package/python-falcon/python-falcon.mk diff --git a/buildroot-2021.05/package/python-fastentrypoints/Config.in.host b/buildroot-2022.02.1/package/python-fastentrypoints/Config.in.host similarity index 100% rename from buildroot-2021.05/package/python-fastentrypoints/Config.in.host rename to buildroot-2022.02.1/package/python-fastentrypoints/Config.in.host diff --git a/buildroot-2021.05/package/python-fastentrypoints/python-fastentrypoints.hash b/buildroot-2022.02.1/package/python-fastentrypoints/python-fastentrypoints.hash similarity index 100% rename from buildroot-2021.05/package/python-fastentrypoints/python-fastentrypoints.hash rename to buildroot-2022.02.1/package/python-fastentrypoints/python-fastentrypoints.hash diff --git a/buildroot-2021.05/package/python-fastentrypoints/python-fastentrypoints.mk b/buildroot-2022.02.1/package/python-fastentrypoints/python-fastentrypoints.mk similarity index 100% rename from buildroot-2021.05/package/python-fastentrypoints/python-fastentrypoints.mk rename to buildroot-2022.02.1/package/python-fastentrypoints/python-fastentrypoints.mk diff --git a/buildroot-2021.05/package/python-filelock/Config.in b/buildroot-2022.02.1/package/python-filelock/Config.in similarity index 100% rename from buildroot-2021.05/package/python-filelock/Config.in rename to buildroot-2022.02.1/package/python-filelock/Config.in diff --git a/buildroot-2022.02.1/package/python-filelock/python-filelock.hash b/buildroot-2022.02.1/package/python-filelock/python-filelock.hash new file mode 100644 index 00000000..d7cc8646 --- /dev/null +++ b/buildroot-2022.02.1/package/python-filelock/python-filelock.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/filelock/json +md5 f8458b5235a9e439fd512dc08947f6b2 filelock-3.3.0.tar.gz +sha256 8c7eab13dc442dc249e95158bcc12dec724465919bdc9831fdbf0660f03d1785 filelock-3.3.0.tar.gz +# Locally computed sha256 checksums +sha256 88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd LICENSE diff --git a/buildroot-2022.02.1/package/python-filelock/python-filelock.mk b/buildroot-2022.02.1/package/python-filelock/python-filelock.mk new file mode 100644 index 00000000..00c32b2c --- /dev/null +++ b/buildroot-2022.02.1/package/python-filelock/python-filelock.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-filelock +# +################################################################################ + +PYTHON_FILELOCK_VERSION = 3.3.0 +PYTHON_FILELOCK_SOURCE = filelock-$(PYTHON_FILELOCK_VERSION).tar.gz +PYTHON_FILELOCK_SITE = https://files.pythonhosted.org/packages/fd/6e/665a6cb363bee26e40954ee812e4e733fd7cafd84c06e0c7c2357641abd6 +PYTHON_FILELOCK_SETUP_TYPE = setuptools +PYTHON_FILELOCK_LICENSE = Public Domain +PYTHON_FILELOCK_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-fire/Config.in b/buildroot-2022.02.1/package/python-fire/Config.in new file mode 100644 index 00000000..9c816b0f --- /dev/null +++ b/buildroot-2022.02.1/package/python-fire/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_FIRE + bool "python-fire" + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_TERMCOLOR # runtime + help + A library for automatically generating command line + interfaces. + + https://github.com/google/python-fire diff --git a/buildroot-2021.05/package/python-fire/python-fire.hash b/buildroot-2022.02.1/package/python-fire/python-fire.hash similarity index 100% rename from buildroot-2021.05/package/python-fire/python-fire.hash rename to buildroot-2022.02.1/package/python-fire/python-fire.hash diff --git a/buildroot-2022.02.1/package/python-fire/python-fire.mk b/buildroot-2022.02.1/package/python-fire/python-fire.mk new file mode 100644 index 00000000..40631fce --- /dev/null +++ b/buildroot-2022.02.1/package/python-fire/python-fire.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-fire +# +################################################################################ + +PYTHON_FIRE_VERSION = 0.4.0 +PYTHON_FIRE_SOURCE = fire-$(PYTHON_FIRE_VERSION).tar.gz +PYTHON_FIRE_SITE = https://files.pythonhosted.org/packages/11/07/a119a1aa04d37bc819940d95ed7e135a7dcca1c098123a3764a6dcace9e7 +PYTHON_FIRE_SETUP_TYPE = setuptools +PYTHON_FIRE_LICENSE = Apache-2.0 +PYTHON_FIRE_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-flask-babel/Config.in b/buildroot-2022.02.1/package/python-flask-babel/Config.in similarity index 100% rename from buildroot-2021.05/package/python-flask-babel/Config.in rename to buildroot-2022.02.1/package/python-flask-babel/Config.in diff --git a/buildroot-2021.05/package/python-flask-babel/python-flask-babel.hash b/buildroot-2022.02.1/package/python-flask-babel/python-flask-babel.hash similarity index 100% rename from buildroot-2021.05/package/python-flask-babel/python-flask-babel.hash rename to buildroot-2022.02.1/package/python-flask-babel/python-flask-babel.hash diff --git a/buildroot-2021.05/package/python-flask-babel/python-flask-babel.mk b/buildroot-2022.02.1/package/python-flask-babel/python-flask-babel.mk similarity index 100% rename from buildroot-2021.05/package/python-flask-babel/python-flask-babel.mk rename to buildroot-2022.02.1/package/python-flask-babel/python-flask-babel.mk diff --git a/buildroot-2021.05/package/python-flask-cors/Config.in b/buildroot-2022.02.1/package/python-flask-cors/Config.in similarity index 100% rename from buildroot-2021.05/package/python-flask-cors/Config.in rename to buildroot-2022.02.1/package/python-flask-cors/Config.in diff --git a/buildroot-2021.05/package/python-flask-cors/python-flask-cors.hash b/buildroot-2022.02.1/package/python-flask-cors/python-flask-cors.hash similarity index 100% rename from buildroot-2021.05/package/python-flask-cors/python-flask-cors.hash rename to buildroot-2022.02.1/package/python-flask-cors/python-flask-cors.hash diff --git a/buildroot-2021.05/package/python-flask-cors/python-flask-cors.mk b/buildroot-2022.02.1/package/python-flask-cors/python-flask-cors.mk similarity index 100% rename from buildroot-2021.05/package/python-flask-cors/python-flask-cors.mk rename to buildroot-2022.02.1/package/python-flask-cors/python-flask-cors.mk diff --git a/buildroot-2022.02.1/package/python-flask-expects-json/Config.in b/buildroot-2022.02.1/package/python-flask-expects-json/Config.in new file mode 100644 index 00000000..90123476 --- /dev/null +++ b/buildroot-2022.02.1/package/python-flask-expects-json/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_FLASK_EXPECTS_JSON + bool "python-flask-expects-json" + select BR2_PACKAGE_PYTHON_FLASK # runtime + select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime + help + Decorator for REST endpoints in flask. Validate JSON request + data. + + https://github.com/fischerfredl/flask-expects-json diff --git a/buildroot-2022.02.1/package/python-flask-expects-json/python-flask-expects-json.hash b/buildroot-2022.02.1/package/python-flask-expects-json/python-flask-expects-json.hash new file mode 100644 index 00000000..c023222f --- /dev/null +++ b/buildroot-2022.02.1/package/python-flask-expects-json/python-flask-expects-json.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/flask-expects-json/json +md5 c1fb8ede58db312d7923212dc97b8ab4 flask-expects-json-1.5.0.tar.gz +sha256 0087dc3d089f1ac75a1fc0f259f4dbd02bbb9c356e92e1a080f2309e2f75d053 flask-expects-json-1.5.0.tar.gz +# Locally computed sha256 checksums +sha256 06154a99fdc664107294a0a5e7e68f776078d075408dd32bbeaa7340fdd39e73 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-flask-expects-json/python-flask-expects-json.mk b/buildroot-2022.02.1/package/python-flask-expects-json/python-flask-expects-json.mk new file mode 100644 index 00000000..487f15d4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-flask-expects-json/python-flask-expects-json.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-flask-expects-json +# +################################################################################ + +PYTHON_FLASK_EXPECTS_JSON_VERSION = 1.5.0 +PYTHON_FLASK_EXPECTS_JSON_SOURCE = flask-expects-json-$(PYTHON_FLASK_EXPECTS_JSON_VERSION).tar.gz +PYTHON_FLASK_EXPECTS_JSON_SITE = https://files.pythonhosted.org/packages/4c/4a/9d9d050af700fb3feebd1f8466e73d65ce8b4709f27773e07100b0993451 +PYTHON_FLASK_EXPECTS_JSON_SETUP_TYPE = setuptools +PYTHON_FLASK_EXPECTS_JSON_LICENSE = MIT +PYTHON_FLASK_EXPECTS_JSON_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-flask-jsonrpc/Config.in b/buildroot-2022.02.1/package/python-flask-jsonrpc/Config.in similarity index 100% rename from buildroot-2021.05/package/python-flask-jsonrpc/Config.in rename to buildroot-2022.02.1/package/python-flask-jsonrpc/Config.in diff --git a/buildroot-2021.05/package/python-flask-jsonrpc/python-flask-jsonrpc.hash b/buildroot-2022.02.1/package/python-flask-jsonrpc/python-flask-jsonrpc.hash similarity index 100% rename from buildroot-2021.05/package/python-flask-jsonrpc/python-flask-jsonrpc.hash rename to buildroot-2022.02.1/package/python-flask-jsonrpc/python-flask-jsonrpc.hash diff --git a/buildroot-2021.05/package/python-flask-jsonrpc/python-flask-jsonrpc.mk b/buildroot-2022.02.1/package/python-flask-jsonrpc/python-flask-jsonrpc.mk similarity index 100% rename from buildroot-2021.05/package/python-flask-jsonrpc/python-flask-jsonrpc.mk rename to buildroot-2022.02.1/package/python-flask-jsonrpc/python-flask-jsonrpc.mk diff --git a/buildroot-2021.05/package/python-flask-login/Config.in b/buildroot-2022.02.1/package/python-flask-login/Config.in similarity index 100% rename from buildroot-2021.05/package/python-flask-login/Config.in rename to buildroot-2022.02.1/package/python-flask-login/Config.in diff --git a/buildroot-2021.05/package/python-flask-login/python-flask-login.hash b/buildroot-2022.02.1/package/python-flask-login/python-flask-login.hash similarity index 100% rename from buildroot-2021.05/package/python-flask-login/python-flask-login.hash rename to buildroot-2022.02.1/package/python-flask-login/python-flask-login.hash diff --git a/buildroot-2021.05/package/python-flask-login/python-flask-login.mk b/buildroot-2022.02.1/package/python-flask-login/python-flask-login.mk similarity index 100% rename from buildroot-2021.05/package/python-flask-login/python-flask-login.mk rename to buildroot-2022.02.1/package/python-flask-login/python-flask-login.mk diff --git a/buildroot-2021.05/package/python-flask-sqlalchemy/Config.in b/buildroot-2022.02.1/package/python-flask-sqlalchemy/Config.in similarity index 100% rename from buildroot-2021.05/package/python-flask-sqlalchemy/Config.in rename to buildroot-2022.02.1/package/python-flask-sqlalchemy/Config.in diff --git a/buildroot-2021.05/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash b/buildroot-2022.02.1/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash similarity index 100% rename from buildroot-2021.05/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash rename to buildroot-2022.02.1/package/python-flask-sqlalchemy/python-flask-sqlalchemy.hash diff --git a/buildroot-2021.05/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk b/buildroot-2022.02.1/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk similarity index 100% rename from buildroot-2021.05/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk rename to buildroot-2022.02.1/package/python-flask-sqlalchemy/python-flask-sqlalchemy.mk diff --git a/buildroot-2022.02.1/package/python-flask-wtf/Config.in b/buildroot-2022.02.1/package/python-flask-wtf/Config.in new file mode 100644 index 00000000..4a8566a2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-flask-wtf/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_FLASK_WTF + bool "python-flask-wtf" + select BR2_PACKAGE_PYTHON_FLASK # runtime + select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime + select BR2_PACKAGE_PYTHON_WTFORMS # runtime + help + Simple integration of Flask and WTForms. + + https://github.com/wtforms/flask-wtf diff --git a/buildroot-2022.02.1/package/python-flask-wtf/python-flask-wtf.hash b/buildroot-2022.02.1/package/python-flask-wtf/python-flask-wtf.hash new file mode 100644 index 00000000..848d6d77 --- /dev/null +++ b/buildroot-2022.02.1/package/python-flask-wtf/python-flask-wtf.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/flask-wtf/json +md5 920a5a476ecfb751952b5048cc05fcf8 Flask-WTF-0.15.1.tar.gz +sha256 ff177185f891302dc253437fe63081e7a46a4e99aca61dfe086fb23e54fff2dc Flask-WTF-0.15.1.tar.gz +# Locally computed sha256 checksums +sha256 a075f8d98acfdb05dd98716242b9e2c1b3ab98722926b3c4cf6c916ac14e8350 LICENSE diff --git a/buildroot-2022.02.1/package/python-flask-wtf/python-flask-wtf.mk b/buildroot-2022.02.1/package/python-flask-wtf/python-flask-wtf.mk new file mode 100644 index 00000000..e2078103 --- /dev/null +++ b/buildroot-2022.02.1/package/python-flask-wtf/python-flask-wtf.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-flask-wtf +# +################################################################################ + +PYTHON_FLASK_WTF_VERSION = 0.15.1 +PYTHON_FLASK_WTF_SOURCE = Flask-WTF-$(PYTHON_FLASK_WTF_VERSION).tar.gz +PYTHON_FLASK_WTF_SITE = https://files.pythonhosted.org/packages/9c/b5/4b48cece7b31aac2beab115330c2978ef4deee3aeb0dd1037c9b7a71b8c3 +PYTHON_FLASK_WTF_LICENSE = BSD-3-Clause +PYTHON_FLASK_WTF_LICENSE_FILES = LICENSE +PYTHON_FLASK_WTF_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-flask/Config.in b/buildroot-2022.02.1/package/python-flask/Config.in new file mode 100644 index 00000000..8a44bf2d --- /dev/null +++ b/buildroot-2022.02.1/package/python-flask/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_FLASK + bool "python-flask" + select BR2_PACKAGE_PYTHON_CLICK # runtime + select BR2_PACKAGE_PYTHON_JINJA2 # runtime + select BR2_PACKAGE_PYTHON_WERKZEUG # runtime + select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON3_SSL + select BR2_PACKAGE_PYTHON3_ZLIB + help + Flask is a microframework for Python based on Werkzeug, + Jinja 2 and good intentions. + + https://palletsprojects.com/p/flask diff --git a/buildroot-2021.05/package/python-flask/python-flask.hash b/buildroot-2022.02.1/package/python-flask/python-flask.hash similarity index 100% rename from buildroot-2021.05/package/python-flask/python-flask.hash rename to buildroot-2022.02.1/package/python-flask/python-flask.hash diff --git a/buildroot-2021.05/package/python-flask/python-flask.mk b/buildroot-2022.02.1/package/python-flask/python-flask.mk similarity index 100% rename from buildroot-2021.05/package/python-flask/python-flask.mk rename to buildroot-2022.02.1/package/python-flask/python-flask.mk diff --git a/buildroot-2021.05/package/python-flatbuffers/Config.in b/buildroot-2022.02.1/package/python-flatbuffers/Config.in similarity index 100% rename from buildroot-2021.05/package/python-flatbuffers/Config.in rename to buildroot-2022.02.1/package/python-flatbuffers/Config.in diff --git a/buildroot-2022.02.1/package/python-flatbuffers/python-flatbuffers.hash b/buildroot-2022.02.1/package/python-flatbuffers/python-flatbuffers.hash new file mode 100644 index 00000000..a27d9416 --- /dev/null +++ b/buildroot-2022.02.1/package/python-flatbuffers/python-flatbuffers.hash @@ -0,0 +1,3 @@ +# md5, sha256 from https://pypi.org/pypi/flatbuffers/json +md5 b2ce60d9a7c1f8a2ddac6d49a1b700a4 flatbuffers-2.0.tar.gz +sha256 12158ab0272375eab8db2d663ae97370c33f152b27801fa6024e1d6105fd4dd2 flatbuffers-2.0.tar.gz diff --git a/buildroot-2022.02.1/package/python-flatbuffers/python-flatbuffers.mk b/buildroot-2022.02.1/package/python-flatbuffers/python-flatbuffers.mk new file mode 100644 index 00000000..705dc0ad --- /dev/null +++ b/buildroot-2022.02.1/package/python-flatbuffers/python-flatbuffers.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-flatbuffers +# +################################################################################ + +PYTHON_FLATBUFFERS_VERSION = 2.0 +PYTHON_FLATBUFFERS_SOURCE = flatbuffers-$(PYTHON_FLATBUFFERS_VERSION).tar.gz +PYTHON_FLATBUFFERS_SITE = https://files.pythonhosted.org/packages/10/41/09e9ab2134895b82466fada08b69b800f9a724bc81fcca3d4474ce48ffce +PYTHON_FLATBUFFERS_LICENSE = Apache-2.0 +PYTHON_FLATBUFFERS_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-flup/Config.in b/buildroot-2022.02.1/package/python-flup/Config.in new file mode 100644 index 00000000..50d1dfa3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-flup/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_FLUP + bool "python-flup" + help + flup provides of a collection of WSGI modules for Python. + It allows a webserver to use scgi-mod and fastcgi-mod + with python. + + https://pypi.python.org/pypi/flup diff --git a/buildroot-2021.05/package/python-flup/python-flup.hash b/buildroot-2022.02.1/package/python-flup/python-flup.hash similarity index 100% rename from buildroot-2021.05/package/python-flup/python-flup.hash rename to buildroot-2022.02.1/package/python-flup/python-flup.hash diff --git a/buildroot-2021.05/package/python-flup/python-flup.mk b/buildroot-2022.02.1/package/python-flup/python-flup.mk similarity index 100% rename from buildroot-2021.05/package/python-flup/python-flup.mk rename to buildroot-2022.02.1/package/python-flup/python-flup.mk diff --git a/buildroot-2022.02.1/package/python-fonttools/Config.in b/buildroot-2022.02.1/package/python-fonttools/Config.in new file mode 100644 index 00000000..64de1efe --- /dev/null +++ b/buildroot-2022.02.1/package/python-fonttools/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_FONTTOOLS + bool "python-fonttools" + help + Tools to manipulate font files. + + https://github.com/fonttools/fonttools diff --git a/buildroot-2022.02.1/package/python-fonttools/python-fonttools.hash b/buildroot-2022.02.1/package/python-fonttools/python-fonttools.hash new file mode 100644 index 00000000..df0bdf98 --- /dev/null +++ b/buildroot-2022.02.1/package/python-fonttools/python-fonttools.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/fonttools/json +md5 7fc490291991da874911fed1e743362d fonttools-4.29.1.zip +sha256 2b18a172120e32128a80efee04cff487d5d140fe7d817deb648b2eee023a40e4 fonttools-4.29.1.zip +# Locally computed sha256 checksums +sha256 6787208f83f659ccbc2223b2fde952ffa6f7e8aca62f1a8a2bf5bc51bb1b2383 LICENSE diff --git a/buildroot-2022.02.1/package/python-fonttools/python-fonttools.mk b/buildroot-2022.02.1/package/python-fonttools/python-fonttools.mk new file mode 100644 index 00000000..c07011da --- /dev/null +++ b/buildroot-2022.02.1/package/python-fonttools/python-fonttools.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# python-fonttools +# +################################################################################ + +PYTHON_FONTTOOLS_VERSION = 4.29.1 +PYTHON_FONTTOOLS_SOURCE = fonttools-$(PYTHON_FONTTOOLS_VERSION).zip +PYTHON_FONTTOOLS_SITE = https://files.pythonhosted.org/packages/2d/4c/49ba863863502bb9fea19d8bd04a527da336b4a2698c8a0c7129e9cc2716 +PYTHON_FONTTOOLS_SETUP_TYPE = setuptools +PYTHON_FONTTOOLS_LICENSE = MIT +PYTHON_FONTTOOLS_LICENSE_FILES = LICENSE +PYTHON_FONTTOOLS_DEPENDENCIES = host-python-cython +PYTHON_FONTTOOLS_ENV = FONTTOOLS_WITH_CYTHON=1 + +define PYTHON_FONTTOOLS_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(PYTHON_FONTTOOLS_DL_DIR)/$(PYTHON_FONTTOOLS_SOURCE) + mv $(@D)/fonttools-$(PYTHON_FONTTOOLS_VERSION)/* $(@D) + $(RM) -r $(@D)/fonttools-$(PYTHON_FONTTOOLS_VERSION) +endef + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-frozenlist/Config.in b/buildroot-2022.02.1/package/python-frozenlist/Config.in new file mode 100644 index 00000000..05714199 --- /dev/null +++ b/buildroot-2022.02.1/package/python-frozenlist/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_FROZENLIST + bool "python-frozenlist" + help + A list-like structure which implements + collections.abc.MutableSequence. + + https://github.com/aio-libs/frozenlist diff --git a/buildroot-2022.02.1/package/python-frozenlist/python-frozenlist.hash b/buildroot-2022.02.1/package/python-frozenlist/python-frozenlist.hash new file mode 100644 index 00000000..03415039 --- /dev/null +++ b/buildroot-2022.02.1/package/python-frozenlist/python-frozenlist.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/frozenlist/json +md5 e65d870bd189ba3c21ab7eb10eab22b7 frozenlist-1.3.0.tar.gz +sha256 ce6f2ba0edb7b0c1d8976565298ad2deba6f8064d2bebb6ffce2ca896eb35b0b frozenlist-1.3.0.tar.gz +# Locally computed sha256 checksums +sha256 6fd5243e92dd7f98ec69c7ac377728e74905709ff527a5bf98d6d0263c04f5b6 LICENSE diff --git a/buildroot-2022.02.1/package/python-frozenlist/python-frozenlist.mk b/buildroot-2022.02.1/package/python-frozenlist/python-frozenlist.mk new file mode 100644 index 00000000..ad618971 --- /dev/null +++ b/buildroot-2022.02.1/package/python-frozenlist/python-frozenlist.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-frozenlist +# +################################################################################ + +PYTHON_FROZENLIST_VERSION = 1.3.0 +PYTHON_FROZENLIST_SOURCE = frozenlist-$(PYTHON_FROZENLIST_VERSION).tar.gz +PYTHON_FROZENLIST_SITE = https://files.pythonhosted.org/packages/f4/f7/8dfeb76d2a52bcea2b0718427af954ffec98be1d34cd8f282034b3e36829 +PYTHON_FROZENLIST_SETUP_TYPE = setuptools +PYTHON_FROZENLIST_LICENSE = Apache-2.0 +PYTHON_FROZENLIST_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-future/Config.in b/buildroot-2022.02.1/package/python-future/Config.in similarity index 100% rename from buildroot-2021.05/package/python-future/Config.in rename to buildroot-2022.02.1/package/python-future/Config.in diff --git a/buildroot-2021.05/package/python-future/python-future.hash b/buildroot-2022.02.1/package/python-future/python-future.hash similarity index 100% rename from buildroot-2021.05/package/python-future/python-future.hash rename to buildroot-2022.02.1/package/python-future/python-future.hash diff --git a/buildroot-2021.05/package/python-future/python-future.mk b/buildroot-2022.02.1/package/python-future/python-future.mk similarity index 100% rename from buildroot-2021.05/package/python-future/python-future.mk rename to buildroot-2022.02.1/package/python-future/python-future.mk diff --git a/buildroot-2022.02.1/package/python-git/Config.in b/buildroot-2022.02.1/package/python-git/Config.in new file mode 100644 index 00000000..3c23f91c --- /dev/null +++ b/buildroot-2022.02.1/package/python-git/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_GIT + bool "python-git" + depends on BR2_USE_MMU # git + select BR2_PACKAGE_GIT # runtime + select BR2_PACKAGE_PYTHON_GITDB2 # runtime + select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + help + GitPython is a python library used to interact with git + repositories, high-level like git-porcelain, or low-level + like git-plumbing. + + https://github.com/gitpython-developers/GitPython diff --git a/buildroot-2022.02.1/package/python-git/python-git.hash b/buildroot-2022.02.1/package/python-git/python-git.hash new file mode 100644 index 00000000..0c8c764b --- /dev/null +++ b/buildroot-2022.02.1/package/python-git/python-git.hash @@ -0,0 +1,3 @@ +# locally computed hashes +sha256 8282d0d1169a3a98546979bfae1524608670fadc4ca7636517aadd428e0cfbeb python-git-3.1.24.tar.gz +sha256 fd657ffc2cef63d25c78cab7808d414dd03a282e63893491fd11c32f98be67fb LICENSE diff --git a/buildroot-2022.02.1/package/python-git/python-git.mk b/buildroot-2022.02.1/package/python-git/python-git.mk new file mode 100644 index 00000000..9b2771ca --- /dev/null +++ b/buildroot-2022.02.1/package/python-git/python-git.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-git +# +################################################################################ + +PYTHON_GIT_VERSION = 3.1.24 +PYTHON_GIT_SITE = $(call github,gitpython-developers,GitPython,$(PYTHON_GIT_VERSION)) +PYTHON_GIT_LICENSE = BSD-3-Clause +PYTHON_GIT_LICENSE_FILES = LICENSE +PYTHON_GIT_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-gitdb2/Config.in b/buildroot-2022.02.1/package/python-gitdb2/Config.in new file mode 100644 index 00000000..4a87cc8e --- /dev/null +++ b/buildroot-2022.02.1/package/python-gitdb2/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_GITDB2 + bool "python-gitdb2" + select BR2_PACKAGE_PYTHON_SMMAP2 # runtime + select BR2_PACKAGE_PYTHON3_ZLIB + help + GitDB allows you to access bare git repositories for reading + and writing. It aims at allowing full access to loose objects + as well as packs with performance and scalability in mind. It + operates exclusively on streams, allowing to handle large + objects with a small memory footprint. + + https://github.com/gitpython-developers/gitdb diff --git a/buildroot-2022.02.1/package/python-gitdb2/python-gitdb2.hash b/buildroot-2022.02.1/package/python-gitdb2/python-gitdb2.hash new file mode 100644 index 00000000..7d9bf78f --- /dev/null +++ b/buildroot-2022.02.1/package/python-gitdb2/python-gitdb2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/gitdb/json +md5 3f52187435ab0b6e64a15782ffaf29ab gitdb-4.0.7.tar.gz +sha256 96bf5c08b157a666fec41129e6d327235284cca4c81e92109260f353ba138005 gitdb-4.0.7.tar.gz +# Locally computed sha256 checksums +sha256 efd29f596a08e8857e68e7694a50bcda72839792da7c3f041bcbff5f18009239 LICENSE diff --git a/buildroot-2022.02.1/package/python-gitdb2/python-gitdb2.mk b/buildroot-2022.02.1/package/python-gitdb2/python-gitdb2.mk new file mode 100644 index 00000000..91a17e24 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gitdb2/python-gitdb2.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-gitdb2 +# +################################################################################ + +PYTHON_GITDB2_VERSION = 4.0.7 +PYTHON_GITDB2_SOURCE = gitdb-$(PYTHON_GITDB2_VERSION).tar.gz +PYTHON_GITDB2_SITE = https://files.pythonhosted.org/packages/34/fe/9265459642ab6e29afe734479f94385870e8702e7f892270ed6e52dd15bf +PYTHON_GITDB2_SETUP_TYPE = setuptools +PYTHON_GITDB2_LICENSE = BSD-3-Clause +PYTHON_GITDB2_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-gnupg/Config.in b/buildroot-2022.02.1/package/python-gnupg/Config.in new file mode 100644 index 00000000..038a9407 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gnupg/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_PYTHON_GNUPG + bool "python-gnupg" + select BR2_PACKAGE_GNUPG if !BR2_PACKAGE_GNUPG2 # runtime + help + A wrapper for the Gnu Privacy Guard (GPG or GnuPG). + + The gnupg module allows Python programs to make use of the + functionality provided by the GNU Privacy Guard (abbreviated + GPG or GnuPG). Using this module, Python programs can + encrypt and decrypt data, digitally sign documents and + verify digital signatures, manage (generate, list and + delete) encryption keys, using Public Key Infrastructure + (PKI) encryption technology based on OpenPGP. + + https://docs.red-dove.com/python-gnupg/ diff --git a/buildroot-2022.02.1/package/python-gnupg/python-gnupg.hash b/buildroot-2022.02.1/package/python-gnupg/python-gnupg.hash new file mode 100644 index 00000000..fa0e8ae6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gnupg/python-gnupg.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/python-gnupg/json +md5 02c5d77b8db9dfba0741627560d89bd5 python-gnupg-0.4.8.tar.gz +sha256 b64de1ae5cedf872b437201a566fa2c62ce0c95ea2e30177eb53aee1258507d7 python-gnupg-0.4.8.tar.gz +# Locally computed sha256 checksums +sha256 9620da3d3afdfca7dea53c4375c1507ab2d3a4af4e706827023acb49a9ec4a5e LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-gnupg/python-gnupg.mk b/buildroot-2022.02.1/package/python-gnupg/python-gnupg.mk new file mode 100644 index 00000000..fda264a0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gnupg/python-gnupg.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-gnupg +# +################################################################################ + +PYTHON_GNUPG_VERSION = 0.4.8 +PYTHON_GNUPG_SITE = https://files.pythonhosted.org/packages/b1/90/75e15ead9693028c05fc7abd25c756c0d1da27bf04a27d6f5c4139d8ee10 +PYTHON_GNUPG_LICENSE = BSD-3-Clause +PYTHON_GNUPG_LICENSE_FILES = LICENSE.txt +PYTHON_GNUPG_CPE_ID_VENDOR = python +PYTHON_GNUPG_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-gobject/Config.in b/buildroot-2022.02.1/package/python-gobject/Config.in new file mode 100644 index 00000000..33545356 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gobject/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_PYTHON_GOBJECT + bool "python-gobject" + depends on BR2_USE_MMU # libglib2, gobject-introspection + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection + depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu + depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection + select BR2_PACKAGE_GOBJECT_INTROSPECTION + select BR2_PACKAGE_LIBGLIB2 + help + Python bindings for the GLib/GObject library + + https://wiki.gnome.org/action/show/Projects/PyGObject + +comment "python-gobject needs a glibc toolchain, gcc >= 4.9, host gcc >= 8" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_8 diff --git a/buildroot-2022.02.1/package/python-gobject/python-gobject.hash b/buildroot-2022.02.1/package/python-gobject/python-gobject.hash new file mode 100644 index 00000000..100a05c7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gobject/python-gobject.hash @@ -0,0 +1,3 @@ +# from http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.42/pygobject-3.42.0.sha256sum +sha256 9b12616e32cfc792f9dc841d9c472a41a35b85ba67d3a6eb427e307a6fe4367b pygobject-3.42.0.tar.xz +sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING diff --git a/buildroot-2022.02.1/package/python-gobject/python-gobject.mk b/buildroot-2022.02.1/package/python-gobject/python-gobject.mk new file mode 100644 index 00000000..b0a132d0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gobject/python-gobject.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# python-gobject +# +################################################################################ + +PYTHON_GOBJECT_VERSION_MAJOR = 3.42 +PYTHON_GOBJECT_VERSION = $(PYTHON_GOBJECT_VERSION_MAJOR).0 +PYTHON_GOBJECT_SOURCE = pygobject-$(PYTHON_GOBJECT_VERSION).tar.xz +PYTHON_GOBJECT_SITE = https://ftp.gnome.org/pub/gnome/sources/pygobject/$(PYTHON_GOBJECT_VERSION_MAJOR) +PYTHON_GOBJECT_LICENSE = LGPL-2.1+ +PYTHON_GOBJECT_LICENSE_FILES = COPYING +PYTHON_GOBJECT_INSTALL_STAGING = YES +PYTHON_GOBJECT_DEPENDENCIES = \ + gobject-introspection \ + host-pkgconf \ + libglib2 \ + python3 + +PYTHON_GOBJECT_CONF_OPTS += \ + -Dpycairo=disabled \ + -Dtests=false + +# A sysconfigdata_name must be manually specified or the resulting .so +# will have a x86_64 prefix, which causes "import gi" to fail. +# A pythonpath must be specified or the host python path will be used resulting +# in a "not a valid python" error. +PYTHON_GOBJECT_CONF_ENV += \ + _PYTHON_SYSCONFIGDATA_NAME=$(PKG_PYTHON_SYSCONFIGDATA_NAME) \ + PYTHONPATH=$(PYTHON3_PATH) + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/python-gpiozero/Config.in b/buildroot-2022.02.1/package/python-gpiozero/Config.in new file mode 100644 index 00000000..93e5de3e --- /dev/null +++ b/buildroot-2022.02.1/package/python-gpiozero/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_GPIOZERO + bool "python-gpiozero" + depends on BR2_arm + select BR2_PACKAGE_PYTHON_COLORZERO # runtime + select BR2_PACKAGE_PYTHON_RPI_GPIO # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + help + A simple interface to GPIO devices with Raspberry Pi. + + https://github.com/gpiozero/gpiozero diff --git a/buildroot-2021.05/package/python-gpiozero/python-gpiozero.hash b/buildroot-2022.02.1/package/python-gpiozero/python-gpiozero.hash similarity index 100% rename from buildroot-2021.05/package/python-gpiozero/python-gpiozero.hash rename to buildroot-2022.02.1/package/python-gpiozero/python-gpiozero.hash diff --git a/buildroot-2021.05/package/python-gpiozero/python-gpiozero.mk b/buildroot-2022.02.1/package/python-gpiozero/python-gpiozero.mk similarity index 100% rename from buildroot-2021.05/package/python-gpiozero/python-gpiozero.mk rename to buildroot-2022.02.1/package/python-gpiozero/python-gpiozero.mk diff --git a/buildroot-2021.05/package/python-greenlet/Config.in b/buildroot-2022.02.1/package/python-greenlet/Config.in similarity index 100% rename from buildroot-2021.05/package/python-greenlet/Config.in rename to buildroot-2022.02.1/package/python-greenlet/Config.in diff --git a/buildroot-2022.02.1/package/python-greenlet/Config.in.host b/buildroot-2022.02.1/package/python-greenlet/Config.in.host new file mode 100644 index 00000000..673fee8c --- /dev/null +++ b/buildroot-2022.02.1/package/python-greenlet/Config.in.host @@ -0,0 +1,7 @@ +config BR2_PACKAGE_HOST_PYTHON_GREENLET + bool "host python-greenlet" + help + Greenlets are lightweight coroutines for in-process concurrent + programming. + + https://greenlet.readthedocs.io/ diff --git a/buildroot-2022.02.1/package/python-greenlet/python-greenlet.hash b/buildroot-2022.02.1/package/python-greenlet/python-greenlet.hash new file mode 100644 index 00000000..c1870c88 --- /dev/null +++ b/buildroot-2022.02.1/package/python-greenlet/python-greenlet.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/greenlet/json +md5 f424fbd9afeed575dd2ba5f0ac66e30b greenlet-1.1.2.tar.gz +sha256 e30f5ea4ae2346e62cedde8794a56858a67b878dd79f7df76a0767e356b1744a greenlet-1.1.2.tar.gz +# Locally computed sha256 checksums +sha256 769831d6e5dfaf2c20802faccff1fafb4c2025dd8f6253dfa47fcad59d4d0979 LICENSE +sha256 e5ff3c23c110e494cd7d736c10fd96d462457bafeca310840db6527298c7d46b LICENSE.PSF diff --git a/buildroot-2022.02.1/package/python-greenlet/python-greenlet.mk b/buildroot-2022.02.1/package/python-greenlet/python-greenlet.mk new file mode 100644 index 00000000..72d27479 --- /dev/null +++ b/buildroot-2022.02.1/package/python-greenlet/python-greenlet.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-greenlet +# +################################################################################ + +PYTHON_GREENLET_VERSION = 1.1.2 +PYTHON_GREENLET_SOURCE = greenlet-$(PYTHON_GREENLET_VERSION).tar.gz +PYTHON_GREENLET_SITE = https://files.pythonhosted.org/packages/0c/10/754e21b5bea89d0e73f99d60c83754df7cc64db74f47d98ab187669ce341 +PYTHON_GREENLET_SETUP_TYPE = setuptools +PYTHON_GREENLET_LICENSE = MIT, PSF-2.0 +PYTHON_GREENLET_LICENSE_FILES = LICENSE LICENSE.PSF +PYTHON_GREENLET_ENV = GREENLET_TEST_CPP=no + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-gunicorn/Config.in b/buildroot-2022.02.1/package/python-gunicorn/Config.in new file mode 100644 index 00000000..18f0c034 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gunicorn/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_GUNICORN + bool "python-gunicorn" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON3_SSL # runtime + help + Gunicorn 'Green Unicorn' is a Python WSGI HTTP Server for + UNIX. It's a pre-fork worker model ported from Ruby's + Unicorn project. The Gunicorn server is broadly compatible + with various web frameworks, simply implemented, light on + server resource usage, and fairly speedy. + + http://gunicorn.org/ diff --git a/buildroot-2022.02.1/package/python-gunicorn/python-gunicorn.hash b/buildroot-2022.02.1/package/python-gunicorn/python-gunicorn.hash new file mode 100644 index 00000000..cff4915b --- /dev/null +++ b/buildroot-2022.02.1/package/python-gunicorn/python-gunicorn.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.python.org/pypi/gunicorn/json +md5 db8a7c5c2064000af70286534803bf1d gunicorn-20.1.0.tar.gz +sha256 e0a968b5ba15f8a328fdfd7ab1fcb5af4470c28aaf7e55df02a99bc13138e6e8 gunicorn-20.1.0.tar.gz +# Locally computed sha256 +sha256 789fe11b92e1cabfbcf744b5fcc392c9bd5c6798603a4e89f925b6337984d1df LICENSE diff --git a/buildroot-2022.02.1/package/python-gunicorn/python-gunicorn.mk b/buildroot-2022.02.1/package/python-gunicorn/python-gunicorn.mk new file mode 100644 index 00000000..fb747bc0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-gunicorn/python-gunicorn.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-gunicorn +# +################################################################################ + +PYTHON_GUNICORN_VERSION = 20.1.0 +PYTHON_GUNICORN_SOURCE = gunicorn-$(PYTHON_GUNICORN_VERSION).tar.gz +PYTHON_GUNICORN_SITE = https://files.pythonhosted.org/packages/28/5b/0d1f0296485a6af03366604142ea8f19f0833894db3512a40ed07b2a56dd +PYTHON_GUNICORN_SETUP_TYPE = setuptools +PYTHON_GUNICORN_LICENSE = MIT +PYTHON_GUNICORN_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-h2/Config.in b/buildroot-2022.02.1/package/python-h2/Config.in new file mode 100644 index 00000000..74a6b2ad --- /dev/null +++ b/buildroot-2022.02.1/package/python-h2/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_H2 + bool "python-h2" + select BR2_PACKAGE_PYTHON_HPACK # runtime + select BR2_PACKAGE_PYTHON_HYPERFRAME # runtime + help + HTTP/2 State-Machine based protocol implementation. + + https://github.com/python-hyper/h2 diff --git a/buildroot-2022.02.1/package/python-h2/python-h2.hash b/buildroot-2022.02.1/package/python-h2/python-h2.hash new file mode 100644 index 00000000..2f9c8f64 --- /dev/null +++ b/buildroot-2022.02.1/package/python-h2/python-h2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/h2/json +md5 4274f9619c0a43bb4ae01b6b02bf0c99 h2-4.1.0.tar.gz +sha256 a83aca08fbe7aacb79fec788c9c0bac936343560ed9ec18b82a13a12c28d2abb h2-4.1.0.tar.gz +# Locally computed sha256 checksums +sha256 7a65a5af0cbabf1c16251c7c6b2b7cb46d16a7222e79975b9b61fcd66a2e3f28 LICENSE diff --git a/buildroot-2022.02.1/package/python-h2/python-h2.mk b/buildroot-2022.02.1/package/python-h2/python-h2.mk new file mode 100644 index 00000000..699e8bae --- /dev/null +++ b/buildroot-2022.02.1/package/python-h2/python-h2.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-h2 +# +################################################################################ + +PYTHON_H2_VERSION = 4.1.0 +PYTHON_H2_SOURCE = h2-$(PYTHON_H2_VERSION).tar.gz +PYTHON_H2_SITE = https://files.pythonhosted.org/packages/2a/32/fec683ddd10629ea4ea46d206752a95a2d8a48c22521edd70b142488efe1 +PYTHON_H2_SETUP_TYPE = setuptools +PYTHON_H2_LICENSE = MIT +PYTHON_H2_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-hiredis/0001-setup.py-fix-build-with-gcc-4.8.patch b/buildroot-2022.02.1/package/python-hiredis/0001-setup.py-fix-build-with-gcc-4.8.patch similarity index 100% rename from buildroot-2021.05/package/python-hiredis/0001-setup.py-fix-build-with-gcc-4.8.patch rename to buildroot-2022.02.1/package/python-hiredis/0001-setup.py-fix-build-with-gcc-4.8.patch diff --git a/buildroot-2022.02.1/package/python-hiredis/Config.in b/buildroot-2022.02.1/package/python-hiredis/Config.in new file mode 100644 index 00000000..a401de05 --- /dev/null +++ b/buildroot-2022.02.1/package/python-hiredis/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_HIREDIS + bool "python-hiredis" + help + Python wrapper for hiredis. + + https://github.com/redis/hiredis-py diff --git a/buildroot-2021.05/package/python-hiredis/python-hiredis.hash b/buildroot-2022.02.1/package/python-hiredis/python-hiredis.hash similarity index 100% rename from buildroot-2021.05/package/python-hiredis/python-hiredis.hash rename to buildroot-2022.02.1/package/python-hiredis/python-hiredis.hash diff --git a/buildroot-2021.05/package/python-hiredis/python-hiredis.mk b/buildroot-2022.02.1/package/python-hiredis/python-hiredis.mk similarity index 100% rename from buildroot-2021.05/package/python-hiredis/python-hiredis.mk rename to buildroot-2022.02.1/package/python-hiredis/python-hiredis.mk diff --git a/buildroot-2022.02.1/package/python-hpack/Config.in b/buildroot-2022.02.1/package/python-hpack/Config.in new file mode 100644 index 00000000..b34a3f31 --- /dev/null +++ b/buildroot-2022.02.1/package/python-hpack/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_HPACK + bool "python-hpack" + help + Pure-Python HPACK header compression. + + https://github.com/python-hyper/hpack diff --git a/buildroot-2022.02.1/package/python-hpack/python-hpack.hash b/buildroot-2022.02.1/package/python-hpack/python-hpack.hash new file mode 100644 index 00000000..988cbaae --- /dev/null +++ b/buildroot-2022.02.1/package/python-hpack/python-hpack.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/hpack/json +md5 27e01514ef06dc9fa0798d3dcb7de47c hpack-4.0.0.tar.gz +sha256 fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095 hpack-4.0.0.tar.gz +# Locally computed sha256 checksums +sha256 763a9342a04df62046c9dc748a5287934eb0a5331c6863b3ca0aee20e18cb4ed LICENSE diff --git a/buildroot-2022.02.1/package/python-hpack/python-hpack.mk b/buildroot-2022.02.1/package/python-hpack/python-hpack.mk new file mode 100644 index 00000000..3cf534d0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-hpack/python-hpack.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-hpack +# +################################################################################ + +PYTHON_HPACK_VERSION = 4.0.0 +PYTHON_HPACK_SOURCE = hpack-$(PYTHON_HPACK_VERSION).tar.gz +PYTHON_HPACK_SITE = https://files.pythonhosted.org/packages/3e/9b/fda93fb4d957db19b0f6b370e79d586b3e8528b20252c729c476a2c02954 +PYTHON_HPACK_SETUP_TYPE = setuptools +PYTHON_HPACK_LICENSE = MIT +PYTHON_HPACK_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-html5lib/Config.in b/buildroot-2022.02.1/package/python-html5lib/Config.in similarity index 100% rename from buildroot-2021.05/package/python-html5lib/Config.in rename to buildroot-2022.02.1/package/python-html5lib/Config.in diff --git a/buildroot-2022.02.1/package/python-html5lib/python-html5lib.hash b/buildroot-2022.02.1/package/python-html5lib/python-html5lib.hash new file mode 100644 index 00000000..5023f5ab --- /dev/null +++ b/buildroot-2022.02.1/package/python-html5lib/python-html5lib.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/html5lib/json +md5 6748742e2ec4cb99287a6bc82bcfe2b0 html5lib-1.1.tar.gz +sha256 b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f html5lib-1.1.tar.gz +# Locally computed sha256 checksums +sha256 16a39991619e92f18680932da2a9199fdf7d95df3ecaedc52ea06218aabafd6f LICENSE diff --git a/buildroot-2022.02.1/package/python-html5lib/python-html5lib.mk b/buildroot-2022.02.1/package/python-html5lib/python-html5lib.mk new file mode 100644 index 00000000..84229eab --- /dev/null +++ b/buildroot-2022.02.1/package/python-html5lib/python-html5lib.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-html5lib +# +################################################################################ + +PYTHON_HTML5LIB_VERSION = 1.1 +PYTHON_HTML5LIB_SOURCE = html5lib-$(PYTHON_HTML5LIB_VERSION).tar.gz +PYTHON_HTML5LIB_SITE = https://files.pythonhosted.org/packages/ac/b6/b55c3f49042f1df3dcd422b7f224f939892ee94f22abcf503a9b7339eaf2 +PYTHON_HTML5LIB_LICENSE = MIT +PYTHON_HTML5LIB_LICENSE_FILES = LICENSE +PYTHON_HTML5LIB_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-httplib2/Config.in b/buildroot-2022.02.1/package/python-httplib2/Config.in new file mode 100644 index 00000000..a029814f --- /dev/null +++ b/buildroot-2022.02.1/package/python-httplib2/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_HTTPLIB2 + bool "python-httplib2" + select BR2_PACKAGE_PYTHON3_ZLIB + select BR2_PACKAGE_PYTHON3_SSL + select BR2_PACKAGE_PYTHON_PYPARSING # runtime + help + httplib2 is a comprehensive HTTP client library, httplib2.py + supports many features left out of other HTTP libraries. + + https://pypi.python.org/pypi/httplib2 diff --git a/buildroot-2021.05/package/python-httplib2/python-httplib2.hash b/buildroot-2022.02.1/package/python-httplib2/python-httplib2.hash similarity index 100% rename from buildroot-2021.05/package/python-httplib2/python-httplib2.hash rename to buildroot-2022.02.1/package/python-httplib2/python-httplib2.hash diff --git a/buildroot-2021.05/package/python-httplib2/python-httplib2.mk b/buildroot-2022.02.1/package/python-httplib2/python-httplib2.mk similarity index 100% rename from buildroot-2021.05/package/python-httplib2/python-httplib2.mk rename to buildroot-2022.02.1/package/python-httplib2/python-httplib2.mk diff --git a/buildroot-2021.05/package/python-huepy/0001-fix-import-with-python3.patch b/buildroot-2022.02.1/package/python-huepy/0001-fix-import-with-python3.patch similarity index 100% rename from buildroot-2021.05/package/python-huepy/0001-fix-import-with-python3.patch rename to buildroot-2022.02.1/package/python-huepy/0001-fix-import-with-python3.patch diff --git a/buildroot-2021.05/package/python-huepy/Config.in b/buildroot-2022.02.1/package/python-huepy/Config.in similarity index 100% rename from buildroot-2021.05/package/python-huepy/Config.in rename to buildroot-2022.02.1/package/python-huepy/Config.in diff --git a/buildroot-2021.05/package/python-huepy/python-huepy.hash b/buildroot-2022.02.1/package/python-huepy/python-huepy.hash similarity index 100% rename from buildroot-2021.05/package/python-huepy/python-huepy.hash rename to buildroot-2022.02.1/package/python-huepy/python-huepy.hash diff --git a/buildroot-2021.05/package/python-huepy/python-huepy.mk b/buildroot-2022.02.1/package/python-huepy/python-huepy.mk similarity index 100% rename from buildroot-2021.05/package/python-huepy/python-huepy.mk rename to buildroot-2022.02.1/package/python-huepy/python-huepy.mk diff --git a/buildroot-2021.05/package/python-humanize/Config.in b/buildroot-2022.02.1/package/python-humanize/Config.in similarity index 100% rename from buildroot-2021.05/package/python-humanize/Config.in rename to buildroot-2022.02.1/package/python-humanize/Config.in diff --git a/buildroot-2022.02.1/package/python-humanize/python-humanize.hash b/buildroot-2022.02.1/package/python-humanize/python-humanize.hash new file mode 100644 index 00000000..9b2559ab --- /dev/null +++ b/buildroot-2022.02.1/package/python-humanize/python-humanize.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/humanize/json +md5 04f5b334283e1f7f0dfeccf7d5a4b880 humanize-3.11.0.tar.gz +sha256 4160cdc63fcd0daac27d2e1e218a31bb396fc3fe5712d153675d89432a03778f humanize-3.11.0.tar.gz +# Locally computed sha256 checksums +sha256 8ba6c18112a431400ad3c743f70670079b302545d98884fc2f28a91c383a0380 LICENCE diff --git a/buildroot-2022.02.1/package/python-humanize/python-humanize.mk b/buildroot-2022.02.1/package/python-humanize/python-humanize.mk new file mode 100644 index 00000000..ea5454d6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-humanize/python-humanize.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-humanize +# +################################################################################ + +PYTHON_HUMANIZE_VERSION = 3.11.0 +PYTHON_HUMANIZE_SOURCE = humanize-$(PYTHON_HUMANIZE_VERSION).tar.gz +PYTHON_HUMANIZE_SITE = https://files.pythonhosted.org/packages/a6/d0/e06993724937f2aab3e7085d137d453968aaac0f74661ef9c90528a79d61 +PYTHON_HUMANIZE_SETUP_TYPE = setuptools +PYTHON_HUMANIZE_LICENSE = MIT +PYTHON_HUMANIZE_LICENSE_FILES = LICENCE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-hyperframe/Config.in b/buildroot-2022.02.1/package/python-hyperframe/Config.in new file mode 100644 index 00000000..fb83c895 --- /dev/null +++ b/buildroot-2022.02.1/package/python-hyperframe/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_HYPERFRAME + bool "python-hyperframe" + help + HTTP/2 framing layer for Python. + + https://github.com/python-hyper/hyperframe/ diff --git a/buildroot-2022.02.1/package/python-hyperframe/python-hyperframe.hash b/buildroot-2022.02.1/package/python-hyperframe/python-hyperframe.hash new file mode 100644 index 00000000..b39ab51a --- /dev/null +++ b/buildroot-2022.02.1/package/python-hyperframe/python-hyperframe.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/hyperframe/json +md5 153c064e8ac654aaf136b3388c36de48 hyperframe-6.0.1.tar.gz +sha256 ae510046231dc8e9ecb1a6586f63d2347bf4c8905914aa84ba585ae85f28a914 hyperframe-6.0.1.tar.gz +# Locally computed sha256 checksums +sha256 763a9342a04df62046c9dc748a5287934eb0a5331c6863b3ca0aee20e18cb4ed LICENSE diff --git a/buildroot-2022.02.1/package/python-hyperframe/python-hyperframe.mk b/buildroot-2022.02.1/package/python-hyperframe/python-hyperframe.mk new file mode 100644 index 00000000..4b13ca51 --- /dev/null +++ b/buildroot-2022.02.1/package/python-hyperframe/python-hyperframe.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-hyperframe +# +################################################################################ + +PYTHON_HYPERFRAME_VERSION = 6.0.1 +PYTHON_HYPERFRAME_SOURCE = hyperframe-$(PYTHON_HYPERFRAME_VERSION).tar.gz +PYTHON_HYPERFRAME_SITE = https://files.pythonhosted.org/packages/5a/2a/4747bff0a17f7281abe73e955d60d80aae537a5d203f417fa1c2e7578ebb +PYTHON_HYPERFRAME_SETUP_TYPE = setuptools +PYTHON_HYPERFRAME_LICENSE = MIT +PYTHON_HYPERFRAME_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-hyperlink/Config.in b/buildroot-2022.02.1/package/python-hyperlink/Config.in similarity index 100% rename from buildroot-2021.05/package/python-hyperlink/Config.in rename to buildroot-2022.02.1/package/python-hyperlink/Config.in diff --git a/buildroot-2022.02.1/package/python-hyperlink/python-hyperlink.hash b/buildroot-2022.02.1/package/python-hyperlink/python-hyperlink.hash new file mode 100644 index 00000000..c7621a96 --- /dev/null +++ b/buildroot-2022.02.1/package/python-hyperlink/python-hyperlink.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/hyperlink/json +md5 6285ac13e7d6be4157698ad7960ed490 hyperlink-21.0.0.tar.gz +sha256 427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b hyperlink-21.0.0.tar.gz +# Locally computed sha256 checksums +sha256 7468ded55310f64fbf085b8e892df81d1bcc49263bf535d3c2c58b014cfae214 LICENSE diff --git a/buildroot-2022.02.1/package/python-hyperlink/python-hyperlink.mk b/buildroot-2022.02.1/package/python-hyperlink/python-hyperlink.mk new file mode 100644 index 00000000..a80c5554 --- /dev/null +++ b/buildroot-2022.02.1/package/python-hyperlink/python-hyperlink.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-hyperlink +# +################################################################################ + +PYTHON_HYPERLINK_VERSION = 21.0.0 +PYTHON_HYPERLINK_SOURCE = hyperlink-$(PYTHON_HYPERLINK_VERSION).tar.gz +PYTHON_HYPERLINK_SITE = https://files.pythonhosted.org/packages/3a/51/1947bd81d75af87e3bb9e34593a4cf118115a8feb451ce7a69044ef1412e +PYTHON_HYPERLINK_SETUP_TYPE = setuptools +PYTHON_HYPERLINK_LICENSE = MIT +PYTHON_HYPERLINK_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-ibmiotf/Config.in b/buildroot-2022.02.1/package/python-ibmiotf/Config.in new file mode 100644 index 00000000..64362db9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ibmiotf/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_IBMIOTF + bool "python-ibmiotf" + select BR2_PACKAGE_PYTHON_ISO8601 # runtime + select BR2_PACKAGE_PYTHON_PAHO_MQTT # runtime + select BR2_PACKAGE_PYTHON_PYTZ # runtime + select BR2_PACKAGE_PYTHON_REQUESTS # runtime + select BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT # runtime + select BR2_PACKAGE_PYTHON3_SSL # runtime + help + Python Client for IBM Watson IoT Platform. + + https://github.com/ibm-watson-iot/iot-python diff --git a/buildroot-2021.05/package/python-ibmiotf/python-ibmiotf.hash b/buildroot-2022.02.1/package/python-ibmiotf/python-ibmiotf.hash similarity index 100% rename from buildroot-2021.05/package/python-ibmiotf/python-ibmiotf.hash rename to buildroot-2022.02.1/package/python-ibmiotf/python-ibmiotf.hash diff --git a/buildroot-2021.05/package/python-ibmiotf/python-ibmiotf.mk b/buildroot-2022.02.1/package/python-ibmiotf/python-ibmiotf.mk similarity index 100% rename from buildroot-2021.05/package/python-ibmiotf/python-ibmiotf.mk rename to buildroot-2022.02.1/package/python-ibmiotf/python-ibmiotf.mk diff --git a/buildroot-2022.02.1/package/python-idna/Config.in b/buildroot-2022.02.1/package/python-idna/Config.in new file mode 100644 index 00000000..ddc2cd7d --- /dev/null +++ b/buildroot-2022.02.1/package/python-idna/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_IDNA + bool "python-idna" + select BR2_PACKAGE_PYTHON3_UNICODEDATA + help + A library to support the Internationalised Domain Names in + Applications (IDNA) protocol as specified in RFC 5891. This + version of the protocol is often referred to as 'IDNA2008' + and can produce different results from the earlier standard + from 2003. + + https://github.com/kjd/idna diff --git a/buildroot-2022.02.1/package/python-idna/python-idna.hash b/buildroot-2022.02.1/package/python-idna/python-idna.hash new file mode 100644 index 00000000..27c42c8b --- /dev/null +++ b/buildroot-2022.02.1/package/python-idna/python-idna.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/idna/json +md5 5856306eac5f25db8249e37a4c6ee3e7 idna-3.3.tar.gz +sha256 9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d idna-3.3.tar.gz +# Locally computed sha256 checksums +sha256 a2d6e4d940bd24dbe7b9645cde19a9792cc51db7ae0d5acd301ac860caa3e836 LICENSE.md diff --git a/buildroot-2022.02.1/package/python-idna/python-idna.mk b/buildroot-2022.02.1/package/python-idna/python-idna.mk new file mode 100644 index 00000000..6f416156 --- /dev/null +++ b/buildroot-2022.02.1/package/python-idna/python-idna.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-idna +# +################################################################################ + +PYTHON_IDNA_VERSION = 3.3 +PYTHON_IDNA_SOURCE = idna-$(PYTHON_IDNA_VERSION).tar.gz +PYTHON_IDNA_SITE = https://files.pythonhosted.org/packages/62/08/e3fc7c8161090f742f504f40b1bccbfc544d4a4e09eb774bf40aafce5436 +PYTHON_IDNA_LICENSE = BSD-3-Clause +PYTHON_IDNA_LICENSE_FILES = LICENSE.md +PYTHON_IDNA_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-ifaddr/Config.in b/buildroot-2022.02.1/package/python-ifaddr/Config.in similarity index 100% rename from buildroot-2021.05/package/python-ifaddr/Config.in rename to buildroot-2022.02.1/package/python-ifaddr/Config.in diff --git a/buildroot-2021.05/package/python-ifaddr/python-ifaddr.hash b/buildroot-2022.02.1/package/python-ifaddr/python-ifaddr.hash similarity index 100% rename from buildroot-2021.05/package/python-ifaddr/python-ifaddr.hash rename to buildroot-2022.02.1/package/python-ifaddr/python-ifaddr.hash diff --git a/buildroot-2021.05/package/python-ifaddr/python-ifaddr.mk b/buildroot-2022.02.1/package/python-ifaddr/python-ifaddr.mk similarity index 100% rename from buildroot-2021.05/package/python-ifaddr/python-ifaddr.mk rename to buildroot-2022.02.1/package/python-ifaddr/python-ifaddr.mk diff --git a/buildroot-2022.02.1/package/python-incremental/Config.in b/buildroot-2022.02.1/package/python-incremental/Config.in new file mode 100644 index 00000000..c895e820 --- /dev/null +++ b/buildroot-2022.02.1/package/python-incremental/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_INCREMENTAL + bool "python-incremental" + help + A library for versioning your Python projects. + + https://github.com/twisted/incremental diff --git a/buildroot-2022.02.1/package/python-incremental/python-incremental.hash b/buildroot-2022.02.1/package/python-incremental/python-incremental.hash new file mode 100644 index 00000000..47af832f --- /dev/null +++ b/buildroot-2022.02.1/package/python-incremental/python-incremental.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/incremental/json +md5 9f7ad12e0c05a12cee52a7350976c4e3 incremental-21.3.0.tar.gz +sha256 02f5de5aff48f6b9f665d99d48bfc7ec03b6e3943210de7cfc88856d755d6f57 incremental-21.3.0.tar.gz +# Locally computed sha256 checksums +sha256 d043bc8899b4695de1f4511d8f507b927e11723b981ce600fa3ef7b73954afa5 LICENSE diff --git a/buildroot-2022.02.1/package/python-incremental/python-incremental.mk b/buildroot-2022.02.1/package/python-incremental/python-incremental.mk new file mode 100644 index 00000000..7c6b2a54 --- /dev/null +++ b/buildroot-2022.02.1/package/python-incremental/python-incremental.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-incremental +# +################################################################################ + +PYTHON_INCREMENTAL_VERSION = 21.3.0 +PYTHON_INCREMENTAL_SOURCE = incremental-$(PYTHON_INCREMENTAL_VERSION).tar.gz +PYTHON_INCREMENTAL_SITE = https://files.pythonhosted.org/packages/4f/c5/430765c697afc217c8491785de321a21fa4d983dda14bcd82feb965b0593 +PYTHON_INCREMENTAL_SETUP_TYPE = setuptools +PYTHON_INCREMENTAL_LICENSE = MIT +PYTHON_INCREMENTAL_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-inflection/Config.in b/buildroot-2022.02.1/package/python-inflection/Config.in new file mode 100644 index 00000000..84240060 --- /dev/null +++ b/buildroot-2022.02.1/package/python-inflection/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_INFLECTION + bool "python-inflection" + select BR2_PACKAGE_PYTHON3_UNICODEDATA + help + A string transformation library that singularizes and + pluralizes English words, and transforms strings from + CamelCase to underscored string. + + Inflection is a port of Ruby on Rails' inflector to Python + + https://github.com/jpvanhal/inflection diff --git a/buildroot-2022.02.1/package/python-inflection/python-inflection.hash b/buildroot-2022.02.1/package/python-inflection/python-inflection.hash new file mode 100644 index 00000000..b170d3f6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-inflection/python-inflection.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/inflection/json +md5 c3287d4f0e3bdf625a52d655cc514403 inflection-0.5.1.tar.gz +sha256 1a29730d366e996aaacffb2f1f1cb9593dc38e2ddd30c91250c6dde09ea9b417 inflection-0.5.1.tar.gz +# Locally computed sha256 checksums +sha256 9e9f9b4b2e7543ad1486f1328bf9ec50e5a5e2bb9caceb59652496dd61e64133 LICENSE diff --git a/buildroot-2022.02.1/package/python-inflection/python-inflection.mk b/buildroot-2022.02.1/package/python-inflection/python-inflection.mk new file mode 100644 index 00000000..7c030e99 --- /dev/null +++ b/buildroot-2022.02.1/package/python-inflection/python-inflection.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-inflection +# +################################################################################ + +PYTHON_INFLECTION_VERSION = 0.5.1 +PYTHON_INFLECTION_SOURCE = inflection-$(PYTHON_INFLECTION_VERSION).tar.gz +PYTHON_INFLECTION_SITE = https://files.pythonhosted.org/packages/e1/7e/691d061b7329bc8d54edbf0ec22fbfb2afe61facb681f9aaa9bff7a27d04 +PYTHON_INFLECTION_SETUP_TYPE = setuptools +PYTHON_INFLECTION_LICENSE = MIT +PYTHON_INFLECTION_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-influxdb/Config.in b/buildroot-2022.02.1/package/python-influxdb/Config.in similarity index 100% rename from buildroot-2021.05/package/python-influxdb/Config.in rename to buildroot-2022.02.1/package/python-influxdb/Config.in diff --git a/buildroot-2021.05/package/python-influxdb/python-influxdb.hash b/buildroot-2022.02.1/package/python-influxdb/python-influxdb.hash similarity index 100% rename from buildroot-2021.05/package/python-influxdb/python-influxdb.hash rename to buildroot-2022.02.1/package/python-influxdb/python-influxdb.hash diff --git a/buildroot-2021.05/package/python-influxdb/python-influxdb.mk b/buildroot-2022.02.1/package/python-influxdb/python-influxdb.mk similarity index 100% rename from buildroot-2021.05/package/python-influxdb/python-influxdb.mk rename to buildroot-2022.02.1/package/python-influxdb/python-influxdb.mk diff --git a/buildroot-2021.05/package/python-iniconfig/Config.in b/buildroot-2022.02.1/package/python-iniconfig/Config.in similarity index 100% rename from buildroot-2021.05/package/python-iniconfig/Config.in rename to buildroot-2022.02.1/package/python-iniconfig/Config.in diff --git a/buildroot-2021.05/package/python-iniconfig/python-iniconfig.hash b/buildroot-2022.02.1/package/python-iniconfig/python-iniconfig.hash similarity index 100% rename from buildroot-2021.05/package/python-iniconfig/python-iniconfig.hash rename to buildroot-2022.02.1/package/python-iniconfig/python-iniconfig.hash diff --git a/buildroot-2021.05/package/python-iniconfig/python-iniconfig.mk b/buildroot-2022.02.1/package/python-iniconfig/python-iniconfig.mk similarity index 100% rename from buildroot-2021.05/package/python-iniconfig/python-iniconfig.mk rename to buildroot-2022.02.1/package/python-iniconfig/python-iniconfig.mk diff --git a/buildroot-2021.05/package/python-iniparse/Config.in b/buildroot-2022.02.1/package/python-iniparse/Config.in similarity index 100% rename from buildroot-2021.05/package/python-iniparse/Config.in rename to buildroot-2022.02.1/package/python-iniparse/Config.in diff --git a/buildroot-2021.05/package/python-iniparse/python-iniparse.hash b/buildroot-2022.02.1/package/python-iniparse/python-iniparse.hash similarity index 100% rename from buildroot-2021.05/package/python-iniparse/python-iniparse.hash rename to buildroot-2022.02.1/package/python-iniparse/python-iniparse.hash diff --git a/buildroot-2021.05/package/python-iniparse/python-iniparse.mk b/buildroot-2022.02.1/package/python-iniparse/python-iniparse.mk similarity index 100% rename from buildroot-2021.05/package/python-iniparse/python-iniparse.mk rename to buildroot-2022.02.1/package/python-iniparse/python-iniparse.mk diff --git a/buildroot-2022.02.1/package/python-installer/python-installer.hash b/buildroot-2022.02.1/package/python-installer/python-installer.hash new file mode 100644 index 00000000..68af4576 --- /dev/null +++ b/buildroot-2022.02.1/package/python-installer/python-installer.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/installer/json +md5 cf7b8f470620c54f2d28167fc80542a7 installer-0.4.0.tar.gz +sha256 17d7ca174039fbd85f268e16042e3132ebb03d91e1bbe0f63b9ec6b40619414a installer-0.4.0.tar.gz +# Locally computed sha256 checksums +sha256 37b8b9f2569892fa54406383d431169dbb2115980d78b7efba6eeae5664c484f LICENSE diff --git a/buildroot-2022.02.1/package/python-installer/python-installer.mk b/buildroot-2022.02.1/package/python-installer/python-installer.mk new file mode 100644 index 00000000..82739a80 --- /dev/null +++ b/buildroot-2022.02.1/package/python-installer/python-installer.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-installer +# +################################################################################ + +PYTHON_INSTALLER_VERSION = 0.4.0 +PYTHON_INSTALLER_SOURCE = installer-$(PYTHON_INSTALLER_VERSION).tar.gz +PYTHON_INSTALLER_SITE = https://files.pythonhosted.org/packages/71/9a/8d7c724b0d51336453e75f76b32de86b336ef26755c64119204f1f5b4388 +PYTHON_INSTALLER_LICENSE = MIT +PYTHON_INSTALLER_LICENSE_FILES = LICENSE +PYTHON_INSTALLER_SETUP_TYPE = distutils + +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-intelhex/Config.in b/buildroot-2022.02.1/package/python-intelhex/Config.in similarity index 100% rename from buildroot-2021.05/package/python-intelhex/Config.in rename to buildroot-2022.02.1/package/python-intelhex/Config.in diff --git a/buildroot-2021.05/package/python-intelhex/python-intelhex.hash b/buildroot-2022.02.1/package/python-intelhex/python-intelhex.hash similarity index 100% rename from buildroot-2021.05/package/python-intelhex/python-intelhex.hash rename to buildroot-2022.02.1/package/python-intelhex/python-intelhex.hash diff --git a/buildroot-2021.05/package/python-intelhex/python-intelhex.mk b/buildroot-2022.02.1/package/python-intelhex/python-intelhex.mk similarity index 100% rename from buildroot-2021.05/package/python-intelhex/python-intelhex.mk rename to buildroot-2022.02.1/package/python-intelhex/python-intelhex.mk diff --git a/buildroot-2021.05/package/python-iowait/Config.in b/buildroot-2022.02.1/package/python-iowait/Config.in similarity index 100% rename from buildroot-2021.05/package/python-iowait/Config.in rename to buildroot-2022.02.1/package/python-iowait/Config.in diff --git a/buildroot-2021.05/package/python-iowait/python-iowait.hash b/buildroot-2022.02.1/package/python-iowait/python-iowait.hash similarity index 100% rename from buildroot-2021.05/package/python-iowait/python-iowait.hash rename to buildroot-2022.02.1/package/python-iowait/python-iowait.hash diff --git a/buildroot-2021.05/package/python-iowait/python-iowait.mk b/buildroot-2022.02.1/package/python-iowait/python-iowait.mk similarity index 100% rename from buildroot-2021.05/package/python-iowait/python-iowait.mk rename to buildroot-2022.02.1/package/python-iowait/python-iowait.mk diff --git a/buildroot-2022.02.1/package/python-ipdb/Config.in b/buildroot-2022.02.1/package/python-ipdb/Config.in new file mode 100644 index 00000000..a9d6af16 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipdb/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_IPDB + bool "python-ipdb" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON_IPYTHON # runtime + help + IPython-enabled pdb. + + https://github.com/gotcha/ipdb diff --git a/buildroot-2022.02.1/package/python-ipdb/python-ipdb.hash b/buildroot-2022.02.1/package/python-ipdb/python-ipdb.hash new file mode 100644 index 00000000..7d483e17 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipdb/python-ipdb.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/ipdb/json +md5 4f5ffb71cd6551319acf8cbceabd8936 ipdb-0.13.9.tar.gz +sha256 951bd9a64731c444fd907a5ce268543020086a697f6be08f7cc2c9a752a278c5 ipdb-0.13.9.tar.gz +# Locally computed sha256 checksums +sha256 4eeb49de04f4894f8ea1f69a04f500799041b750b3d554c06de5ca877258e734 COPYING.txt diff --git a/buildroot-2022.02.1/package/python-ipdb/python-ipdb.mk b/buildroot-2022.02.1/package/python-ipdb/python-ipdb.mk new file mode 100644 index 00000000..7828f830 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipdb/python-ipdb.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-ipdb +# +################################################################################ + +PYTHON_IPDB_VERSION = 0.13.9 +PYTHON_IPDB_SOURCE = ipdb-$(PYTHON_IPDB_VERSION).tar.gz +PYTHON_IPDB_SITE = https://files.pythonhosted.org/packages/fc/56/9f67dcd4a4b9960373173a31be1b8c47fe351a1c9385677a7bdd82810e57 +PYTHON_IPDB_SETUP_TYPE = setuptools +PYTHON_IPDB_LICENSE = BSD-3-Clause +PYTHON_IPDB_LICENSE_FILES = COPYING.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-iptables/Config.in b/buildroot-2022.02.1/package/python-iptables/Config.in new file mode 100644 index 00000000..0e24283d --- /dev/null +++ b/buildroot-2022.02.1/package/python-iptables/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_IPTABLES + bool "python-iptables" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_IPTABLES + help + Python bindings for iptables. + + https://github.com/ldx/python-iptables + +comment "python-iptables needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/python-iptables/python-iptables.hash b/buildroot-2022.02.1/package/python-iptables/python-iptables.hash similarity index 100% rename from buildroot-2021.05/package/python-iptables/python-iptables.hash rename to buildroot-2022.02.1/package/python-iptables/python-iptables.hash diff --git a/buildroot-2022.02.1/package/python-iptables/python-iptables.mk b/buildroot-2022.02.1/package/python-iptables/python-iptables.mk new file mode 100644 index 00000000..0ccf0642 --- /dev/null +++ b/buildroot-2022.02.1/package/python-iptables/python-iptables.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# python-iptables +# +################################################################################ + +PYTHON_IPTABLES_VERSION = 1.0.0 +PYTHON_IPTABLES_SITE = https://files.pythonhosted.org/packages/ca/6e/cba9c6f4b5a1963b7f5b015f5ed5e2eec7a94ac460570e3474177c4004d6 +PYTHON_IPTABLES_SETUP_TYPE = setuptools +PYTHON_IPTABLES_LICENSE = Apache-2.0 +PYTHON_IPTABLES_LICENSE_FILES = NOTICE +PYTHON_IPTABLES_DEPENDENCIES = iptables + +define PYTHON_IPTABLES_SET_XTABLES_ENV_VARS + XTABLES_VERSION=`awk '/XTABLES_VERSION_CODE/ {print $$NF}' $(STAGING_DIR)/usr/include/xtables-version.h`; \ + sed -i "s%os.getenv(\"PYTHON_IPTABLES_XTABLES_VERSION\")%$$XTABLES_VERSION%" $(@D)/iptc/xtables.py + sed -i "s%os.getenv(\"XTABLES_LIBDIR\")%\"/usr/lib/xtables\"%" $(@D)/iptc/xtables.py +endef + +PYTHON_IPTABLES_PRE_BUILD_HOOKS += PYTHON_IPTABLES_SET_XTABLES_ENV_VARS + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-ipy/Config.in b/buildroot-2022.02.1/package/python-ipy/Config.in new file mode 100644 index 00000000..b4f0c8cb --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipy/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_IPY + bool "python-ipy" + help + IPy - class and tools for handling of IPv4 and + IPv6 addresses and networks. + + https://github.com/haypo/python-ipy/ diff --git a/buildroot-2022.02.1/package/python-ipy/python-ipy.hash b/buildroot-2022.02.1/package/python-ipy/python-ipy.hash new file mode 100644 index 00000000..3d8e1e8c --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipy/python-ipy.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/ipy/json +md5 d6cf83e7f418ebbd23324ba1c658b907 IPy-1.01.tar.gz +sha256 edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a IPy-1.01.tar.gz +# Locally computed sha256 checksums +sha256 078bb46799e46e51e7239c24ff130d345db911c11efafef5e3c45dfb7adb0a61 COPYING diff --git a/buildroot-2022.02.1/package/python-ipy/python-ipy.mk b/buildroot-2022.02.1/package/python-ipy/python-ipy.mk new file mode 100644 index 00000000..2a01daf4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipy/python-ipy.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-ipy +# +################################################################################ + +PYTHON_IPY_VERSION = 1.01 +PYTHON_IPY_SOURCE = IPy-$(PYTHON_IPY_VERSION).tar.gz +PYTHON_IPY_SITE = https://files.pythonhosted.org/packages/64/a4/9c0d88d95666ff1571d7baec6c5e26abc08051801feb6e6ddf40f6027e22 +PYTHON_IPY_LICENSE = BSD-3-Clause +PYTHON_IPY_LICENSE_FILES = COPYING +PYTHON_IPY_SETUP_TYPE = distutils + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ipython-genutils/Config.in b/buildroot-2022.02.1/package/python-ipython-genutils/Config.in similarity index 100% rename from buildroot-2021.05/package/python-ipython-genutils/Config.in rename to buildroot-2022.02.1/package/python-ipython-genutils/Config.in diff --git a/buildroot-2021.05/package/python-ipython-genutils/python-ipython-genutils.hash b/buildroot-2022.02.1/package/python-ipython-genutils/python-ipython-genutils.hash similarity index 100% rename from buildroot-2021.05/package/python-ipython-genutils/python-ipython-genutils.hash rename to buildroot-2022.02.1/package/python-ipython-genutils/python-ipython-genutils.hash diff --git a/buildroot-2021.05/package/python-ipython-genutils/python-ipython-genutils.mk b/buildroot-2022.02.1/package/python-ipython-genutils/python-ipython-genutils.mk similarity index 100% rename from buildroot-2021.05/package/python-ipython-genutils/python-ipython-genutils.mk rename to buildroot-2022.02.1/package/python-ipython-genutils/python-ipython-genutils.mk diff --git a/buildroot-2021.05/package/python-ipython/0001-set-correct-python-executable-path.patch b/buildroot-2022.02.1/package/python-ipython/0001-set-correct-python-executable-path.patch similarity index 100% rename from buildroot-2021.05/package/python-ipython/0001-set-correct-python-executable-path.patch rename to buildroot-2022.02.1/package/python-ipython/0001-set-correct-python-executable-path.patch diff --git a/buildroot-2022.02.1/package/python-ipython/Config.in b/buildroot-2022.02.1/package/python-ipython/Config.in new file mode 100644 index 00000000..3de49ae5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipython/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_PYTHON_IPYTHON + bool "python-ipython" + select BR2_PACKAGE_PYTHON_BACKCALL # runtime + select BR2_PACKAGE_PYTHON_DECORATOR # runtime + select BR2_PACKAGE_PYTHON_JEDI # runtime + select BR2_PACKAGE_PYTHON_PICKLESHARE # runtime + select BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT # runtime + select BR2_PACKAGE_PYTHON_PYGMENTS # runtime + select BR2_PACKAGE_PYTHON_PEXPECT # runtime + select BR2_PACKAGE_PYTHON_TRAITLETS # runtime + help + IPython is a command shell for interactive computing in + multiple programming languages, originally developed for the + Python programming language, that offers enhanced + introspection, rich media, additional shell syntax, tab + completion, and rich history. + + http://ipython.org/ diff --git a/buildroot-2022.02.1/package/python-ipython/python-ipython.hash b/buildroot-2022.02.1/package/python-ipython/python-ipython.hash new file mode 100644 index 00000000..cd18c3d1 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipython/python-ipython.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/ipython/json +md5 6907b67691ba697173a3befb2c35f7ac ipython-7.31.1.tar.gz +sha256 b5548ec5329a4bcf054a5deed5099b0f9622eb9ea51aaa7104d215fece201d8c ipython-7.31.1.tar.gz +# Locally computed sha256 checksums +sha256 341afcbd729887b7046fe7b98fc4f4edff3aed8d38f06eefd9b30670f043df17 COPYING.rst +sha256 e0e390748ed440ab893ca1f135a88a920aaf5409dbb90a5b427c75c5e51268fb LICENSE diff --git a/buildroot-2022.02.1/package/python-ipython/python-ipython.mk b/buildroot-2022.02.1/package/python-ipython/python-ipython.mk new file mode 100644 index 00000000..389ebfa8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ipython/python-ipython.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-ipython +# +################################################################################ + +PYTHON_IPYTHON_VERSION = 7.31.1 +PYTHON_IPYTHON_SOURCE = ipython-$(PYTHON_IPYTHON_VERSION).tar.gz +PYTHON_IPYTHON_SITE = https://files.pythonhosted.org/packages/fb/39/c1947dc1bb993a35469ca474535cb3214c91f5f9a7752a1fcbd9b6b37dde +PYTHON_IPYTHON_LICENSE = BSD-3-Clause +PYTHON_IPYTHON_LICENSE_FILES = COPYING.rst LICENSE +PYTHON_IPYTHON_CPE_ID_VENDOR = ipython +PYTHON_IPYTHON_CPE_ID_PRODUCT = ipython +PYTHON_IPYTHON_SETUP_TYPE = distutils + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-iso8601/Config.in b/buildroot-2022.02.1/package/python-iso8601/Config.in similarity index 100% rename from buildroot-2021.05/package/python-iso8601/Config.in rename to buildroot-2022.02.1/package/python-iso8601/Config.in diff --git a/buildroot-2021.05/package/python-iso8601/python-iso8601.hash b/buildroot-2022.02.1/package/python-iso8601/python-iso8601.hash similarity index 100% rename from buildroot-2021.05/package/python-iso8601/python-iso8601.hash rename to buildroot-2022.02.1/package/python-iso8601/python-iso8601.hash diff --git a/buildroot-2021.05/package/python-iso8601/python-iso8601.mk b/buildroot-2022.02.1/package/python-iso8601/python-iso8601.mk similarity index 100% rename from buildroot-2021.05/package/python-iso8601/python-iso8601.mk rename to buildroot-2022.02.1/package/python-iso8601/python-iso8601.mk diff --git a/buildroot-2022.02.1/package/python-itsdangerous/Config.in b/buildroot-2022.02.1/package/python-itsdangerous/Config.in new file mode 100644 index 00000000..fc0cfe15 --- /dev/null +++ b/buildroot-2022.02.1/package/python-itsdangerous/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_ITSDANGEROUS + bool "python-itsdangerous" + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + Itsdangerous contains various helpers to pass data to + untrusted environments and to get it back safe and sound. + + http://pythonhosted.org/itsdangerous/ diff --git a/buildroot-2022.02.1/package/python-itsdangerous/python-itsdangerous.hash b/buildroot-2022.02.1/package/python-itsdangerous/python-itsdangerous.hash new file mode 100644 index 00000000..dad4ec08 --- /dev/null +++ b/buildroot-2022.02.1/package/python-itsdangerous/python-itsdangerous.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/itsdangerous/json +md5 996b9763d1b4bd0edd6eb86f0a490629 itsdangerous-2.0.1.tar.gz +sha256 9e724d68fc22902a1435351f84c3fb8623f303fffcc566a4cb952df8c572cff0 itsdangerous-2.0.1.tar.gz +# Locally computed sha256 checksums +sha256 63af09891b6be8ad1a4252ed43af0f4efba7fc948e228367bed7f3c5ae0b09d7 LICENSE.rst +sha256 c9362a7258a11c84a8f7e825ccbbb5c425c6fc02368d3aee6494533fb99ba1f4 docs/license.rst diff --git a/buildroot-2022.02.1/package/python-itsdangerous/python-itsdangerous.mk b/buildroot-2022.02.1/package/python-itsdangerous/python-itsdangerous.mk new file mode 100644 index 00000000..c53bc6b9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-itsdangerous/python-itsdangerous.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-itsdangerous +# +################################################################################ + +PYTHON_ITSDANGEROUS_VERSION = 2.0.1 +PYTHON_ITSDANGEROUS_SOURCE = itsdangerous-$(PYTHON_ITSDANGEROUS_VERSION).tar.gz +PYTHON_ITSDANGEROUS_SITE = https://files.pythonhosted.org/packages/58/66/d6c5859dcac92b442626427a8c7a42322068c5cd5d4a463ce78b93f730b7 +PYTHON_ITSDANGEROUS_SETUP_TYPE = setuptools +PYTHON_ITSDANGEROUS_LICENSE = BSD-3-Clause +PYTHON_ITSDANGEROUS_LICENSE_FILES = LICENSE.rst docs/license.rst + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-iwlib/Config.in b/buildroot-2022.02.1/package/python-iwlib/Config.in similarity index 100% rename from buildroot-2021.05/package/python-iwlib/Config.in rename to buildroot-2022.02.1/package/python-iwlib/Config.in diff --git a/buildroot-2021.05/package/python-iwlib/python-iwlib.hash b/buildroot-2022.02.1/package/python-iwlib/python-iwlib.hash similarity index 100% rename from buildroot-2021.05/package/python-iwlib/python-iwlib.hash rename to buildroot-2022.02.1/package/python-iwlib/python-iwlib.hash diff --git a/buildroot-2021.05/package/python-iwlib/python-iwlib.mk b/buildroot-2022.02.1/package/python-iwlib/python-iwlib.mk similarity index 100% rename from buildroot-2021.05/package/python-iwlib/python-iwlib.mk rename to buildroot-2022.02.1/package/python-iwlib/python-iwlib.mk diff --git a/buildroot-2022.02.1/package/python-janus/Config.in b/buildroot-2022.02.1/package/python-janus/Config.in new file mode 100644 index 00000000..924c1fa9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-janus/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_JANUS + bool "python-janus" + select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + help + Mixed sync-async queue to interoperate between asyncio + tasks and classic threads. + + https://github.com/aio-libs/janus/ diff --git a/buildroot-2022.02.1/package/python-janus/python-janus.hash b/buildroot-2022.02.1/package/python-janus/python-janus.hash new file mode 100644 index 00000000..7f7ce35c --- /dev/null +++ b/buildroot-2022.02.1/package/python-janus/python-janus.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/janus/json +md5 2d8c0b884c14f18fc5223858eb16461e janus-1.0.0.tar.gz +sha256 df976f2cdcfb034b147a2d51edfc34ff6bfb12d4e2643d3ad0e10de058cb1612 janus-1.0.0.tar.gz +# Locally computed sha256 checksums +sha256 8b177cccb6ddec12a9fc97bd49e7e2bbcd92464625624bd8bdbfad799ae606e9 LICENSE diff --git a/buildroot-2022.02.1/package/python-janus/python-janus.mk b/buildroot-2022.02.1/package/python-janus/python-janus.mk new file mode 100644 index 00000000..43df8787 --- /dev/null +++ b/buildroot-2022.02.1/package/python-janus/python-janus.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-janus +# +################################################################################ + +PYTHON_JANUS_VERSION = 1.0.0 +PYTHON_JANUS_SOURCE = janus-$(PYTHON_JANUS_VERSION).tar.gz +PYTHON_JANUS_SITE = https://files.pythonhosted.org/packages/b8/a8/facab7275d7d3d2032f375843fe46fad1cfa604a108b5a238638d4615bdc +PYTHON_JANUS_SETUP_TYPE = setuptools +PYTHON_JANUS_LICENSE = Apache-2.0 +PYTHON_JANUS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-jaraco-classes/Config.in b/buildroot-2022.02.1/package/python-jaraco-classes/Config.in similarity index 100% rename from buildroot-2021.05/package/python-jaraco-classes/Config.in rename to buildroot-2022.02.1/package/python-jaraco-classes/Config.in diff --git a/buildroot-2021.05/package/python-jaraco-classes/python-jaraco-classes.hash b/buildroot-2022.02.1/package/python-jaraco-classes/python-jaraco-classes.hash similarity index 100% rename from buildroot-2021.05/package/python-jaraco-classes/python-jaraco-classes.hash rename to buildroot-2022.02.1/package/python-jaraco-classes/python-jaraco-classes.hash diff --git a/buildroot-2021.05/package/python-jaraco-classes/python-jaraco-classes.mk b/buildroot-2022.02.1/package/python-jaraco-classes/python-jaraco-classes.mk similarity index 100% rename from buildroot-2021.05/package/python-jaraco-classes/python-jaraco-classes.mk rename to buildroot-2022.02.1/package/python-jaraco-classes/python-jaraco-classes.mk diff --git a/buildroot-2022.02.1/package/python-jaraco-functools/Config.in b/buildroot-2022.02.1/package/python-jaraco-functools/Config.in new file mode 100644 index 00000000..f6566401 --- /dev/null +++ b/buildroot-2022.02.1/package/python-jaraco-functools/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS + bool "python-jaraco-functools" + select BR2_PACKAGE_PYTHON_MORE_ITERTOOLS # runtime + help + Additional functools in the spirit of stdlib’s + functools. + + https://github.com/jaraco/jaraco.functools diff --git a/buildroot-2021.05/package/python-jaraco-functools/python-jaraco-functools.hash b/buildroot-2022.02.1/package/python-jaraco-functools/python-jaraco-functools.hash similarity index 100% rename from buildroot-2021.05/package/python-jaraco-functools/python-jaraco-functools.hash rename to buildroot-2022.02.1/package/python-jaraco-functools/python-jaraco-functools.hash diff --git a/buildroot-2021.05/package/python-jaraco-functools/python-jaraco-functools.mk b/buildroot-2022.02.1/package/python-jaraco-functools/python-jaraco-functools.mk similarity index 100% rename from buildroot-2021.05/package/python-jaraco-functools/python-jaraco-functools.mk rename to buildroot-2022.02.1/package/python-jaraco-functools/python-jaraco-functools.mk diff --git a/buildroot-2022.02.1/package/python-jedi/Config.in b/buildroot-2022.02.1/package/python-jedi/Config.in new file mode 100644 index 00000000..8ceaa153 --- /dev/null +++ b/buildroot-2022.02.1/package/python-jedi/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_JEDI + bool "python-jedi" + select BR2_PACKAGE_PYTHON_PARSO # runtime + help + An autocompletion tool for Python that can be used for text + editors. + + https://github.com/davidhalter/jedi diff --git a/buildroot-2022.02.1/package/python-jedi/python-jedi.hash b/buildroot-2022.02.1/package/python-jedi/python-jedi.hash new file mode 100644 index 00000000..d0f083e9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-jedi/python-jedi.hash @@ -0,0 +1,7 @@ +# md5, sha256 from https://pypi.org/pypi/jedi/json +md5 d8dba4a98a35530f7f5b461c20aff180 jedi-0.18.1.tar.gz +sha256 74137626a64a99c8eb6ae5832d99b3bdd7d29a3850fe2aa80a4126b2a7d949ab jedi-0.18.1.tar.gz +# Locally computed sha256 checksums +sha256 78e60cd0b8f28694f30195482c33d76908d846b0d15278deb7332aa22ba8e412 LICENSE.txt +sha256 235e993965d399a25e7d493d25c8622f78718510884b9c051f1f1866b6f34e9d jedi/third_party/django-stubs/LICENSE.txt +sha256 b41b78f562a2e65b75cab44354335f6f435d4ef73065509600ac910cf4e22fe0 jedi/third_party/typeshed/LICENSE diff --git a/buildroot-2022.02.1/package/python-jedi/python-jedi.mk b/buildroot-2022.02.1/package/python-jedi/python-jedi.mk new file mode 100644 index 00000000..b0508de7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-jedi/python-jedi.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-jedi +# +################################################################################ + +PYTHON_JEDI_VERSION = 0.18.1 +PYTHON_JEDI_SOURCE = jedi-$(PYTHON_JEDI_VERSION).tar.gz +PYTHON_JEDI_SITE = https://files.pythonhosted.org/packages/c2/25/273288df952e07e3190446efbbb30b0e4871a0d63b4246475f3019d4f55e +PYTHON_JEDI_SETUP_TYPE = setuptools +PYTHON_JEDI_LICENSE = MIT, Apache-2.0 (typeshed) +PYTHON_JEDI_LICENSE_FILES = LICENSE.txt jedi/third_party/django-stubs/LICENSE.txt jedi/third_party/typeshed/LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-jinja2/Config.in b/buildroot-2022.02.1/package/python-jinja2/Config.in new file mode 100644 index 00000000..84a46bd2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-jinja2/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_JINJA2 + bool "python-jinja2" + select BR2_PACKAGE_PYTHON_MARKUPSAFE # runtime + select BR2_PACKAGE_PYTHON3_UNICODEDATA + help + Jinja2 is a template engine written in pure Python. It + provides a Django inspired non-XML syntax but supports + inline expressions and an optional sandboxed environment. + + http://jinja.pocoo.org/ diff --git a/buildroot-2022.02.1/package/python-jinja2/python-jinja2.hash b/buildroot-2022.02.1/package/python-jinja2/python-jinja2.hash new file mode 100644 index 00000000..ea7fe71a --- /dev/null +++ b/buildroot-2022.02.1/package/python-jinja2/python-jinja2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/jinja2/json +md5 b76ae2f0647abebc81e7c03f5fb7b00f Jinja2-3.0.3.tar.gz +sha256 611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7 Jinja2-3.0.3.tar.gz +# Locally computed sha256 checksums +sha256 3b49dcee4105eb37bac10faf1be260408fe85d252b8e9df2e0979fc1e094437b LICENSE.rst diff --git a/buildroot-2022.02.1/package/python-jinja2/python-jinja2.mk b/buildroot-2022.02.1/package/python-jinja2/python-jinja2.mk new file mode 100644 index 00000000..0503984b --- /dev/null +++ b/buildroot-2022.02.1/package/python-jinja2/python-jinja2.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# python-jinja2 +# +################################################################################ + +PYTHON_JINJA2_VERSION = 3.0.3 +PYTHON_JINJA2_SOURCE = Jinja2-$(PYTHON_JINJA2_VERSION).tar.gz +PYTHON_JINJA2_SITE = https://files.pythonhosted.org/packages/91/a5/429efc6246119e1e3fbf562c00187d04e83e54619249eb732bb423efa6c6 +PYTHON_JINJA2_SETUP_TYPE = setuptools +PYTHON_JINJA2_LICENSE = BSD-3-Clause +PYTHON_JINJA2_LICENSE_FILES = LICENSE.rst +PYTHON_JINJA2_CPE_ID_VENDOR = pocoo +PYTHON_JINJA2_CPE_ID_PRODUCT = jinja2 + +# In host/target build, setup.py tries to download markupsafe if it is not installed +PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe +HOST_PYTHON_JINJA2_DEPENDENCIES = host-python-markupsafe + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-jmespath/Config.in b/buildroot-2022.02.1/package/python-jmespath/Config.in similarity index 100% rename from buildroot-2021.05/package/python-jmespath/Config.in rename to buildroot-2022.02.1/package/python-jmespath/Config.in diff --git a/buildroot-2021.05/package/python-jmespath/python-jmespath.hash b/buildroot-2022.02.1/package/python-jmespath/python-jmespath.hash similarity index 100% rename from buildroot-2021.05/package/python-jmespath/python-jmespath.hash rename to buildroot-2022.02.1/package/python-jmespath/python-jmespath.hash diff --git a/buildroot-2021.05/package/python-jmespath/python-jmespath.mk b/buildroot-2022.02.1/package/python-jmespath/python-jmespath.mk similarity index 100% rename from buildroot-2021.05/package/python-jmespath/python-jmespath.mk rename to buildroot-2022.02.1/package/python-jmespath/python-jmespath.mk diff --git a/buildroot-2021.05/package/python-json-schema-validator/Config.in b/buildroot-2022.02.1/package/python-json-schema-validator/Config.in similarity index 100% rename from buildroot-2021.05/package/python-json-schema-validator/Config.in rename to buildroot-2022.02.1/package/python-json-schema-validator/Config.in diff --git a/buildroot-2021.05/package/python-json-schema-validator/python-json-schema-validator.hash b/buildroot-2022.02.1/package/python-json-schema-validator/python-json-schema-validator.hash similarity index 100% rename from buildroot-2021.05/package/python-json-schema-validator/python-json-schema-validator.hash rename to buildroot-2022.02.1/package/python-json-schema-validator/python-json-schema-validator.hash diff --git a/buildroot-2021.05/package/python-json-schema-validator/python-json-schema-validator.mk b/buildroot-2022.02.1/package/python-json-schema-validator/python-json-schema-validator.mk similarity index 100% rename from buildroot-2021.05/package/python-json-schema-validator/python-json-schema-validator.mk rename to buildroot-2022.02.1/package/python-json-schema-validator/python-json-schema-validator.mk diff --git a/buildroot-2021.05/package/python-jsonmodels/Config.in b/buildroot-2022.02.1/package/python-jsonmodels/Config.in similarity index 100% rename from buildroot-2021.05/package/python-jsonmodels/Config.in rename to buildroot-2022.02.1/package/python-jsonmodels/Config.in diff --git a/buildroot-2021.05/package/python-jsonmodels/python-jsonmodels.hash b/buildroot-2022.02.1/package/python-jsonmodels/python-jsonmodels.hash similarity index 100% rename from buildroot-2021.05/package/python-jsonmodels/python-jsonmodels.hash rename to buildroot-2022.02.1/package/python-jsonmodels/python-jsonmodels.hash diff --git a/buildroot-2021.05/package/python-jsonmodels/python-jsonmodels.mk b/buildroot-2022.02.1/package/python-jsonmodels/python-jsonmodels.mk similarity index 100% rename from buildroot-2021.05/package/python-jsonmodels/python-jsonmodels.mk rename to buildroot-2022.02.1/package/python-jsonmodels/python-jsonmodels.mk diff --git a/buildroot-2022.02.1/package/python-jsonschema/Config.in b/buildroot-2022.02.1/package/python-jsonschema/Config.in new file mode 100644 index 00000000..70026537 --- /dev/null +++ b/buildroot-2022.02.1/package/python-jsonschema/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_JSONSCHEMA + bool "python-jsonschema" + help + An implementation of JSON Schema validation for Python. + + http://github.com/Julian/jsonschema diff --git a/buildroot-2021.05/package/python-jsonschema/python-jsonschema.hash b/buildroot-2022.02.1/package/python-jsonschema/python-jsonschema.hash similarity index 100% rename from buildroot-2021.05/package/python-jsonschema/python-jsonschema.hash rename to buildroot-2022.02.1/package/python-jsonschema/python-jsonschema.hash diff --git a/buildroot-2021.05/package/python-jsonschema/python-jsonschema.mk b/buildroot-2022.02.1/package/python-jsonschema/python-jsonschema.mk similarity index 100% rename from buildroot-2021.05/package/python-jsonschema/python-jsonschema.mk rename to buildroot-2022.02.1/package/python-jsonschema/python-jsonschema.mk diff --git a/buildroot-2022.02.1/package/python-keyring/Config.in b/buildroot-2022.02.1/package/python-keyring/Config.in new file mode 100644 index 00000000..6b33686c --- /dev/null +++ b/buildroot-2022.02.1/package/python-keyring/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_KEYRING + bool "python-keyring" + # python-secretstorage -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_ENTRYPOINTS # runtime + select BR2_PACKAGE_PYTHON_SECRETSTORAGE # runtime + help + The Python keyring lib provides a easy way to access the + system keyring service from Python. + + https://pypi.python.org/pypi/keyring diff --git a/buildroot-2021.05/package/python-keyring/python-keyring.hash b/buildroot-2022.02.1/package/python-keyring/python-keyring.hash similarity index 100% rename from buildroot-2021.05/package/python-keyring/python-keyring.hash rename to buildroot-2022.02.1/package/python-keyring/python-keyring.hash diff --git a/buildroot-2021.05/package/python-keyring/python-keyring.mk b/buildroot-2022.02.1/package/python-keyring/python-keyring.mk similarity index 100% rename from buildroot-2021.05/package/python-keyring/python-keyring.mk rename to buildroot-2022.02.1/package/python-keyring/python-keyring.mk diff --git a/buildroot-2021.05/package/python-kiwisolver/Config.in b/buildroot-2022.02.1/package/python-kiwisolver/Config.in similarity index 100% rename from buildroot-2021.05/package/python-kiwisolver/Config.in rename to buildroot-2022.02.1/package/python-kiwisolver/Config.in diff --git a/buildroot-2021.05/package/python-kiwisolver/python-kiwisolver.hash b/buildroot-2022.02.1/package/python-kiwisolver/python-kiwisolver.hash similarity index 100% rename from buildroot-2021.05/package/python-kiwisolver/python-kiwisolver.hash rename to buildroot-2022.02.1/package/python-kiwisolver/python-kiwisolver.hash diff --git a/buildroot-2021.05/package/python-kiwisolver/python-kiwisolver.mk b/buildroot-2022.02.1/package/python-kiwisolver/python-kiwisolver.mk similarity index 100% rename from buildroot-2021.05/package/python-kiwisolver/python-kiwisolver.mk rename to buildroot-2022.02.1/package/python-kiwisolver/python-kiwisolver.mk diff --git a/buildroot-2021.05/package/python-libconfig/Config.in b/buildroot-2022.02.1/package/python-libconfig/Config.in similarity index 100% rename from buildroot-2021.05/package/python-libconfig/Config.in rename to buildroot-2022.02.1/package/python-libconfig/Config.in diff --git a/buildroot-2021.05/package/python-libconfig/python-libconfig.hash b/buildroot-2022.02.1/package/python-libconfig/python-libconfig.hash similarity index 100% rename from buildroot-2021.05/package/python-libconfig/python-libconfig.hash rename to buildroot-2022.02.1/package/python-libconfig/python-libconfig.hash diff --git a/buildroot-2022.02.1/package/python-libconfig/python-libconfig.mk b/buildroot-2022.02.1/package/python-libconfig/python-libconfig.mk new file mode 100644 index 00000000..c7d87f40 --- /dev/null +++ b/buildroot-2022.02.1/package/python-libconfig/python-libconfig.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# python-libconfig +# +################################################################################ + +PYTHON_LIBCONFIG_VERSION = b271c3d9dac938ad5cd29b67bd08cc5536a5a391 +PYTHON_LIBCONFIG_SITE = $(call github,cnangel,python-libconfig,$(PYTHON_LIBCONFIG_VERSION)) + +PYTHON_LIBCONFIG_LICENSE = BSD +PYTHON_LIBCONFIG_LICENSE_FILES = README + +PYTHON_LIBCONFIG_SETUP_TYPE = setuptools + +PYTHON_LIBCONFIG_DEPENDENCIES = libconfig boost + +define PYTHON_LIBCONFIG_FIX_SETUP + $(SED) 's/boost_python/boost_python$(subst .,,$(PYTHON3_VERSION_MAJOR))/g' \ + $(@D)/setup.py +endef +PYTHON_LIBCONFIG_POST_PATCH_HOOKS += PYTHON_LIBCONFIG_FIX_SETUP + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-libusb1/Config.in b/buildroot-2022.02.1/package/python-libusb1/Config.in similarity index 100% rename from buildroot-2021.05/package/python-libusb1/Config.in rename to buildroot-2022.02.1/package/python-libusb1/Config.in diff --git a/buildroot-2022.02.1/package/python-libusb1/python-libusb1.hash b/buildroot-2022.02.1/package/python-libusb1/python-libusb1.hash new file mode 100644 index 00000000..bbbc6e0a --- /dev/null +++ b/buildroot-2022.02.1/package/python-libusb1/python-libusb1.hash @@ -0,0 +1,4 @@ +# md5 from https://pypi.python.org/pypi/libusb1/json, sha256 locally computed +md5 b087646fb0c8c4cf7e8123af72f885b9 libusb1-2.0.1.tar.gz +sha256 d3ba82ecf7ab6a48d21dac6697e26504670cc3522b8e5941bd28fb56cf3f6c46 libusb1-2.0.1.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER diff --git a/buildroot-2022.02.1/package/python-libusb1/python-libusb1.mk b/buildroot-2022.02.1/package/python-libusb1/python-libusb1.mk new file mode 100644 index 00000000..40a64141 --- /dev/null +++ b/buildroot-2022.02.1/package/python-libusb1/python-libusb1.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-libusb1 +# +################################################################################ + +PYTHON_LIBUSB1_VERSION = 2.0.1 +PYTHON_LIBUSB1_SOURCE = libusb1-$(PYTHON_LIBUSB1_VERSION).tar.gz +PYTHON_LIBUSB1_SITE = https://files.pythonhosted.org/packages/a9/97/e8afa2af12b6de608ec86c8c4ad57f1248d98946d1b5e1aa0bff926755e9 +PYTHON_LIBUSB1_SETUP_TYPE = setuptools +PYTHON_LIBUSB1_LICENSE = LGPL-2.1+ +PYTHON_LIBUSB1_LICENSE_FILES = COPYING.LESSER +PYTHON_LIBUSB1_DEPENDENCIES = libusb + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-lmdb/Config.in b/buildroot-2022.02.1/package/python-lmdb/Config.in similarity index 100% rename from buildroot-2021.05/package/python-lmdb/Config.in rename to buildroot-2022.02.1/package/python-lmdb/Config.in diff --git a/buildroot-2022.02.1/package/python-lmdb/python-lmdb.hash b/buildroot-2022.02.1/package/python-lmdb/python-lmdb.hash new file mode 100644 index 00000000..e50c35df --- /dev/null +++ b/buildroot-2022.02.1/package/python-lmdb/python-lmdb.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/lmdb/json +md5 3c955c49be10a7a07a2fcd54d180c3af lmdb-1.3.0.tar.gz +sha256 60a11efc21aaf009d06518996360eed346f6000bfc9de05114374230879f992e lmdb-1.3.0.tar.gz +# Locally computed sha256 checksums +sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE diff --git a/buildroot-2022.02.1/package/python-lmdb/python-lmdb.mk b/buildroot-2022.02.1/package/python-lmdb/python-lmdb.mk new file mode 100644 index 00000000..fba168d3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-lmdb/python-lmdb.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-lmdb +# +################################################################################ + +PYTHON_LMDB_VERSION = 1.3.0 +PYTHON_LMDB_SOURCE = lmdb-$(PYTHON_LMDB_VERSION).tar.gz +PYTHON_LMDB_SITE = https://files.pythonhosted.org/packages/ed/61/41f3c7cbd8a67202ef24fad3375ed936093a0547dc645581dd11c09581b7 +PYTHON_LMDB_LICENSE = OLDAP-2.8 +PYTHON_LMDB_LICENSE_FILES = LICENSE +PYTHON_LMDB_SETUP_TYPE = setuptools +PYTHON_LMDB_DEPENDENCIES = host-python-cffi + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-lockfile/Config.in b/buildroot-2022.02.1/package/python-lockfile/Config.in similarity index 100% rename from buildroot-2021.05/package/python-lockfile/Config.in rename to buildroot-2022.02.1/package/python-lockfile/Config.in diff --git a/buildroot-2021.05/package/python-lockfile/python-lockfile.hash b/buildroot-2022.02.1/package/python-lockfile/python-lockfile.hash similarity index 100% rename from buildroot-2021.05/package/python-lockfile/python-lockfile.hash rename to buildroot-2022.02.1/package/python-lockfile/python-lockfile.hash diff --git a/buildroot-2021.05/package/python-lockfile/python-lockfile.mk b/buildroot-2022.02.1/package/python-lockfile/python-lockfile.mk similarity index 100% rename from buildroot-2021.05/package/python-lockfile/python-lockfile.mk rename to buildroot-2022.02.1/package/python-lockfile/python-lockfile.mk diff --git a/buildroot-2022.02.1/package/python-logbook/Config.in b/buildroot-2022.02.1/package/python-logbook/Config.in new file mode 100644 index 00000000..99996b65 --- /dev/null +++ b/buildroot-2022.02.1/package/python-logbook/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_LOGBOOK + bool "python-logbook" + select BR2_PACKAGE_PYTHON3_ZLIB + help + A logging replacement for Python. + + http://logbook.pocoo.org/ diff --git a/buildroot-2021.05/package/python-logbook/python-logbook.hash b/buildroot-2022.02.1/package/python-logbook/python-logbook.hash similarity index 100% rename from buildroot-2021.05/package/python-logbook/python-logbook.hash rename to buildroot-2022.02.1/package/python-logbook/python-logbook.hash diff --git a/buildroot-2021.05/package/python-logbook/python-logbook.mk b/buildroot-2022.02.1/package/python-logbook/python-logbook.mk similarity index 100% rename from buildroot-2021.05/package/python-logbook/python-logbook.mk rename to buildroot-2022.02.1/package/python-logbook/python-logbook.mk diff --git a/buildroot-2021.05/package/python-logstash/Config.in b/buildroot-2022.02.1/package/python-logstash/Config.in similarity index 100% rename from buildroot-2021.05/package/python-logstash/Config.in rename to buildroot-2022.02.1/package/python-logstash/Config.in diff --git a/buildroot-2021.05/package/python-logstash/python-logstash.hash b/buildroot-2022.02.1/package/python-logstash/python-logstash.hash similarity index 100% rename from buildroot-2021.05/package/python-logstash/python-logstash.hash rename to buildroot-2022.02.1/package/python-logstash/python-logstash.hash diff --git a/buildroot-2021.05/package/python-logstash/python-logstash.mk b/buildroot-2022.02.1/package/python-logstash/python-logstash.mk similarity index 100% rename from buildroot-2021.05/package/python-logstash/python-logstash.mk rename to buildroot-2022.02.1/package/python-logstash/python-logstash.mk diff --git a/buildroot-2022.02.1/package/python-lxml/Config.in b/buildroot-2022.02.1/package/python-lxml/Config.in new file mode 100644 index 00000000..3f3cb5c5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-lxml/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_LXML + bool "python-lxml" + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBXSLT + select BR2_PACKAGE_PYTHON3_ZLIB + help + The lxml XML toolkit is a Pythonic binding for the C libraries + libxml2 and libxslt. + + http://lxml.de/ diff --git a/buildroot-2021.05/package/python-lxml/Config.in.host b/buildroot-2022.02.1/package/python-lxml/Config.in.host similarity index 100% rename from buildroot-2021.05/package/python-lxml/Config.in.host rename to buildroot-2022.02.1/package/python-lxml/Config.in.host diff --git a/buildroot-2022.02.1/package/python-lxml/python-lxml.hash b/buildroot-2022.02.1/package/python-lxml/python-lxml.hash new file mode 100644 index 00000000..e33a8f81 --- /dev/null +++ b/buildroot-2022.02.1/package/python-lxml/python-lxml.hash @@ -0,0 +1,6 @@ +# Locally computed +sha256 6e84edecc3a82f90d44ddee2ee2a2630d4994b8471816e226d2b771cda7ac4ca lxml-4.6.5.tar.gz +sha256 41d49dd406aa0e1548a6d5f21a30d6bf638b3cd96eb7289dd348d83ed2e40392 LICENSES.txt +sha256 69edb445c1335a8312d4c09271847e9956d84f0d9f724d125340cc3fad767b2a doc/licenses/BSD.txt +sha256 0497ae8138811ef4466ede653bab7a59feb3d3c14f9ed50fc33a00aeb5bec32e doc/licenses/elementtree.txt +sha256 56c5b13f28b78958890c36e3249c34c169041e42ebcfdce8080f3324ba2bf4de src/lxml/isoschematron/resources/rng/iso-schematron.rng diff --git a/buildroot-2022.02.1/package/python-lxml/python-lxml.mk b/buildroot-2022.02.1/package/python-lxml/python-lxml.mk new file mode 100644 index 00000000..8c2e965a --- /dev/null +++ b/buildroot-2022.02.1/package/python-lxml/python-lxml.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# python-lxml +# +################################################################################ + +PYTHON_LXML_VERSION = 4.6.5 +PYTHON_LXML_SITE = https://files.pythonhosted.org/packages/e6/e1/34b3ab08553fe9a30e15b2bb9d1803a49d7d907dd9f245638839190042f0 +PYTHON_LXML_SOURCE = lxml-$(PYTHON_LXML_VERSION).tar.gz + +# Not including the GPL, because it is used only for the test scripts. +PYTHON_LXML_LICENSE = BSD-3-Clause, Others +PYTHON_LXML_LICENSE_FILES = \ + LICENSES.txt \ + doc/licenses/BSD.txt \ + doc/licenses/elementtree.txt \ + src/lxml/isoschematron/resources/rng/iso-schematron.rng +PYTHON_LXML_CPE_ID_VENDOR = lxml +PYTHON_LXML_CPE_ID_PRODUCT = lxml + +# python-lxml can use either setuptools, or distutils as a fallback. +# So, we use setuptools. +PYTHON_LXML_SETUP_TYPE = setuptools + +PYTHON_LXML_DEPENDENCIES = libxml2 libxslt zlib +HOST_PYTHON_LXML_DEPENDENCIES = host-libxml2 host-libxslt host-zlib + +# python-lxml needs these scripts in order to properly detect libxml2 and +# libxslt compiler and linker flags +PYTHON_LXML_BUILD_OPTS = \ + --xslt-config=$(STAGING_DIR)/usr/bin/xslt-config \ + --xml2-config=$(STAGING_DIR)/usr/bin/xml2-config +HOST_PYTHON_LXML_BUILD_OPTS = \ + --xslt-config=$(HOST_DIR)/bin/xslt-config \ + --xml2-config=$(HOST_DIR)/bin/xml2-config + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-m2crypto/Config.in b/buildroot-2022.02.1/package/python-m2crypto/Config.in new file mode 100644 index 00000000..af710d53 --- /dev/null +++ b/buildroot-2022.02.1/package/python-m2crypto/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_M2CRYPTO + bool "python-m2crypto" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_SSL # runtime + help + M2Crypto: A Python crypto and SSL toolkit. + + https://gitlab.com/m2crypto/m2crypto diff --git a/buildroot-2022.02.1/package/python-m2crypto/python-m2crypto.hash b/buildroot-2022.02.1/package/python-m2crypto/python-m2crypto.hash new file mode 100644 index 00000000..879f2325 --- /dev/null +++ b/buildroot-2022.02.1/package/python-m2crypto/python-m2crypto.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/m2crypto/json +md5 8f39bfac730b6567e0c2179d15318c60 M2Crypto-0.38.0.tar.gz +sha256 99f2260a30901c949a8dc6d5f82cd5312ffb8abc92e76633baf231bbbcb2decb M2Crypto-0.38.0.tar.gz +# Locally computed sha256 checksums +sha256 4eca478396f4b2b020729a111fce3f096456d74500bfd8f2b0388c3c69f997c0 LICENCE diff --git a/buildroot-2022.02.1/package/python-m2crypto/python-m2crypto.mk b/buildroot-2022.02.1/package/python-m2crypto/python-m2crypto.mk new file mode 100644 index 00000000..02ad76d3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-m2crypto/python-m2crypto.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-m2crypto +# +################################################################################ + +PYTHON_M2CRYPTO_VERSION = 0.38.0 +PYTHON_M2CRYPTO_SOURCE = M2Crypto-$(PYTHON_M2CRYPTO_VERSION).tar.gz +PYTHON_M2CRYPTO_SITE = https://files.pythonhosted.org/packages/2c/52/c35ec79dd97a8ecf6b2bbd651df528abb47705def774a4a15b99977274e8 +PYTHON_M2CRYPTO_SETUP_TYPE = setuptools +PYTHON_M2CRYPTO_LICENSE = MIT +PYTHON_M2CRYPTO_LICENSE_FILES = LICENCE +PYTHON_M2CRYPTO_CPE_ID_VENDOR = m2crypto_project +PYTHON_M2CRYPTO_CPE_ID_PRODUCT = m2crypto +PYTHON_M2CRYPTO_DEPENDENCIES = openssl host-swig +PYTHON_M2CRYPTO_BUILD_OPTS = --openssl=$(STAGING_DIR)/usr + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-m2r/Config.in b/buildroot-2022.02.1/package/python-m2r/Config.in similarity index 100% rename from buildroot-2021.05/package/python-m2r/Config.in rename to buildroot-2022.02.1/package/python-m2r/Config.in diff --git a/buildroot-2021.05/package/python-m2r/python-m2r.hash b/buildroot-2022.02.1/package/python-m2r/python-m2r.hash similarity index 100% rename from buildroot-2021.05/package/python-m2r/python-m2r.hash rename to buildroot-2022.02.1/package/python-m2r/python-m2r.hash diff --git a/buildroot-2021.05/package/python-m2r/python-m2r.mk b/buildroot-2022.02.1/package/python-m2r/python-m2r.mk similarity index 100% rename from buildroot-2021.05/package/python-m2r/python-m2r.mk rename to buildroot-2022.02.1/package/python-m2r/python-m2r.mk diff --git a/buildroot-2021.05/package/python-mako/Config.in b/buildroot-2022.02.1/package/python-mako/Config.in similarity index 100% rename from buildroot-2021.05/package/python-mako/Config.in rename to buildroot-2022.02.1/package/python-mako/Config.in diff --git a/buildroot-2022.02.1/package/python-mako/python-mako.hash b/buildroot-2022.02.1/package/python-mako/python-mako.hash new file mode 100644 index 00000000..f5b5daf0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mako/python-mako.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/mako/json +md5 409bdc38e9ddda5eada61fb092cb12fd Mako-1.1.5.tar.gz +sha256 169fa52af22a91900d852e937400e79f535496191c63712e3b9fda5a9bed6fc3 Mako-1.1.5.tar.gz +# Locally computed sha256 checksums +sha256 47cd0d41b1092f9161cfb629ed15e5cea185144710ff4633a4281ef088ff5de7 LICENSE diff --git a/buildroot-2022.02.1/package/python-mako/python-mako.mk b/buildroot-2022.02.1/package/python-mako/python-mako.mk new file mode 100644 index 00000000..553c4a53 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mako/python-mako.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-mako +# +################################################################################ + +PYTHON_MAKO_VERSION = 1.1.5 +PYTHON_MAKO_SOURCE = Mako-$(PYTHON_MAKO_VERSION).tar.gz +PYTHON_MAKO_SITE = https://files.pythonhosted.org/packages/d1/42/ff293411e980debfc647be9306d89840c8b82ea24571b014f1a35b2ad80f +PYTHON_MAKO_SETUP_TYPE = setuptools +PYTHON_MAKO_LICENSE = MIT +PYTHON_MAKO_LICENSE_FILES = LICENSE + +# In host build, setup.py tries to download markupsafe if it is not installed +HOST_PYTHON_MAKO_DEPENDENCIES = host-python-markupsafe + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-markdown/Config.in b/buildroot-2022.02.1/package/python-markdown/Config.in new file mode 100644 index 00000000..4963ec65 --- /dev/null +++ b/buildroot-2022.02.1/package/python-markdown/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_MARKDOWN + bool "python-markdown" + # runtime dependency on Python's xml module + select BR2_PACKAGE_PYTHON3_PYEXPAT + help + This is a Python implementation of John Gruber's Markdown + + https://pypi.python.org/pypi/Markdown diff --git a/buildroot-2022.02.1/package/python-markdown/python-markdown.hash b/buildroot-2022.02.1/package/python-markdown/python-markdown.hash new file mode 100644 index 00000000..b64ac77b --- /dev/null +++ b/buildroot-2022.02.1/package/python-markdown/python-markdown.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/markdown/json +md5 b6833c6326e9164ee0c662218a75e7f0 Markdown-3.3.4.tar.gz +sha256 31b5b491868dcc87d6c24b7e3d19a0d730d59d3e46f4eea6430a321bed387a49 Markdown-3.3.4.tar.gz +# Locally computed sha256 +sha256 6f1193cb634718e65c3a537d6e25ebd614820ec0ef693cfc12248112638d64da LICENSE.md diff --git a/buildroot-2022.02.1/package/python-markdown/python-markdown.mk b/buildroot-2022.02.1/package/python-markdown/python-markdown.mk new file mode 100644 index 00000000..801360d7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-markdown/python-markdown.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-markdown +# +################################################################################ + +PYTHON_MARKDOWN_VERSION = 3.3.4 +PYTHON_MARKDOWN_SOURCE = Markdown-$(PYTHON_MARKDOWN_VERSION).tar.gz +PYTHON_MARKDOWN_SITE = https://files.pythonhosted.org/packages/49/02/37bd82ae255bb4dfef97a4b32d95906187b7a7a74970761fca1360c4ba22 +PYTHON_MARKDOWN_LICENSE = BSD-3-Clause +PYTHON_MARKDOWN_LICENSE_FILES = LICENSE.md +PYTHON_MARKDOWN_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-markdown2/Config.in b/buildroot-2022.02.1/package/python-markdown2/Config.in similarity index 100% rename from buildroot-2021.05/package/python-markdown2/Config.in rename to buildroot-2022.02.1/package/python-markdown2/Config.in diff --git a/buildroot-2022.02.1/package/python-markdown2/python-markdown2.hash b/buildroot-2022.02.1/package/python-markdown2/python-markdown2.hash new file mode 100644 index 00000000..a3e310aa --- /dev/null +++ b/buildroot-2022.02.1/package/python-markdown2/python-markdown2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/markdown2/json +md5 6134fce06c4783b3178a90a719fa9d91 markdown2-2.4.1.tar.gz +sha256 ce9265cf179c4e07934e7b6a4b03f3edb7891e66e6d0f7017755f6064bbbe13f markdown2-2.4.1.tar.gz +# Locally computed sha256 checksums +sha256 f8c7c4d554409cf621b8d653dbfffb719745fd36f5c49b8305258649b403ef9c LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-markdown2/python-markdown2.mk b/buildroot-2022.02.1/package/python-markdown2/python-markdown2.mk new file mode 100644 index 00000000..6acfad2c --- /dev/null +++ b/buildroot-2022.02.1/package/python-markdown2/python-markdown2.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-markdown2 +# +################################################################################ + +PYTHON_MARKDOWN2_VERSION = 2.4.1 +PYTHON_MARKDOWN2_SOURCE = markdown2-$(PYTHON_MARKDOWN2_VERSION).tar.gz +PYTHON_MARKDOWN2_SITE = https://files.pythonhosted.org/packages/fb/10/4f327f4517fa5dda90021618fe174d1f4aff3c4e06abcd7f77685a455511 +PYTHON_MARKDOWN2_SETUP_TYPE = setuptools +PYTHON_MARKDOWN2_LICENSE = MIT +PYTHON_MARKDOWN2_LICENSE_FILES = LICENSE.txt +PYTHON_MARKDOWN2_CPE_ID_VENDOR = python-markdown2_project + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-markupsafe/Config.in b/buildroot-2022.02.1/package/python-markupsafe/Config.in similarity index 100% rename from buildroot-2021.05/package/python-markupsafe/Config.in rename to buildroot-2022.02.1/package/python-markupsafe/Config.in diff --git a/buildroot-2022.02.1/package/python-markupsafe/python-markupsafe.hash b/buildroot-2022.02.1/package/python-markupsafe/python-markupsafe.hash new file mode 100644 index 00000000..520bb405 --- /dev/null +++ b/buildroot-2022.02.1/package/python-markupsafe/python-markupsafe.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/markupsafe/json +md5 892e0fefa3c488387e5cc0cad2daa523 MarkupSafe-2.0.1.tar.gz +sha256 594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a MarkupSafe-2.0.1.tar.gz +# Locally computed sha256 checksums +sha256 489a8e1108509ed98a37bb983e11e0f7e1d31f0bd8f99a79c8448e7ff37d07ea LICENSE.rst diff --git a/buildroot-2022.02.1/package/python-markupsafe/python-markupsafe.mk b/buildroot-2022.02.1/package/python-markupsafe/python-markupsafe.mk new file mode 100644 index 00000000..e0e689f5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-markupsafe/python-markupsafe.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-markupsafe +# +################################################################################ + +PYTHON_MARKUPSAFE_VERSION = 2.0.1 +PYTHON_MARKUPSAFE_SOURCE = MarkupSafe-$(PYTHON_MARKUPSAFE_VERSION).tar.gz +PYTHON_MARKUPSAFE_SITE = https://files.pythonhosted.org/packages/bf/10/ff66fea6d1788c458663a84d88787bae15d45daa16f6b3ef33322a51fc7e +PYTHON_MARKUPSAFE_SETUP_TYPE = setuptools +PYTHON_MARKUPSAFE_LICENSE = BSD-3-Clause +PYTHON_MARKUPSAFE_LICENSE_FILES = LICENSE.rst + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-matplotlib/Config.in b/buildroot-2022.02.1/package/python-matplotlib/Config.in new file mode 100644 index 00000000..b9367776 --- /dev/null +++ b/buildroot-2022.02.1/package/python-matplotlib/Config.in @@ -0,0 +1,40 @@ +config BR2_PACKAGE_PYTHON_MATPLOTLIB + bool "python-matplotlib" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy + select BR2_PACKAGE_FREETYPE # runtime + select BR2_PACKAGE_LIBPNG # runtime + select BR2_PACKAGE_PYTHON_CERTIFI # runtime + select BR2_PACKAGE_PYTHON_CYCLER + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON_DATEUTIL # runtime + select BR2_PACKAGE_PYTHON_KIWISOLVER # runtime + select BR2_PACKAGE_PYTHON_NUMPY # runtime + select BR2_PACKAGE_PYTHON_PYPARSING # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + select BR2_PACKAGE_QHULL + select BR2_PACKAGE_ZLIB # runtime + help + Matplotlib strives to produce publication quality 2D + graphics for interactive graphing, scientific publishing, + user interface development and web application servers + targeting multiple user interfaces and hardcopy output + formats. + + https://matplotlib.org/ + +if BR2_PACKAGE_PYTHON_MATPLOTLIB + +config BR2_PACKAGE_PYTHON_MATPLOTLIB_QT + bool "qt display" + depends on BR2_PACKAGE_QT5 # python-pyqt5 + select BR2_PACKAGE_PYTHON_PYQT5 + select BR2_PACKAGE_QT5BASE_FONTCONFIG + select BR2_PACKAGE_QT5BASE_WIDGETS + +endif + +comment "python-matplotlib needs a glibc or musl toolchain w/ C++" + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \ + !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/python-matplotlib/python-matplotlib.hash b/buildroot-2022.02.1/package/python-matplotlib/python-matplotlib.hash new file mode 100644 index 00000000..81e83ac0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-matplotlib/python-matplotlib.hash @@ -0,0 +1,4 @@ +# sha256 from https://pypi.org/project/matplotlib/#files +sha256 fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318 matplotlib-3.4.3.tar.gz +# Locally computed sha256 checksums +sha256 5a1a81ea301728c8bba2933da832c0cd62229daf20893a024ab3d53244468dbc LICENSE/LICENSE diff --git a/buildroot-2022.02.1/package/python-matplotlib/python-matplotlib.mk b/buildroot-2022.02.1/package/python-matplotlib/python-matplotlib.mk new file mode 100644 index 00000000..650aac9b --- /dev/null +++ b/buildroot-2022.02.1/package/python-matplotlib/python-matplotlib.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# python-matplotlib +# +################################################################################ + +PYTHON_MATPLOTLIB_VERSION = 3.4.3 +PYTHON_MATPLOTLIB_SOURCE = matplotlib-$(PYTHON_MATPLOTLIB_VERSION).tar.gz +PYTHON_MATPLOTLIB_SITE = https://files.pythonhosted.org/packages/21/37/197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617 +PYTHON_MATPLOTLIB_LICENSE = Python-2.0 +PYTHON_MATPLOTLIB_LICENSE_FILES = LICENSE/LICENSE +PYTHON_MATPLOTLIB_DEPENDENCIES = \ + freetype \ + host-pkgconf \ + host-python-certifi \ + host-python-numpy \ + libpng \ + python-cycler \ + qhull +PYTHON_MATPLOTLIB_SETUP_TYPE = setuptools + +ifeq ($(BR2_PACKAGE_PYTHON_MATPLOTLIB_QT),y) +PYTHON_MATPLOTLIB_DEPENDENCIES += python-pyqt5 +endif + +define PYTHON_MATPLOTLIB_COPY_SETUP_CFG + cp $(PYTHON_MATPLOTLIB_PKGDIR)/setup.cfg $(@D)/setup.cfg +endef +PYTHON_MATPLOTLIB_PRE_CONFIGURE_HOOKS += PYTHON_MATPLOTLIB_COPY_SETUP_CFG + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-matplotlib/setup.cfg b/buildroot-2022.02.1/package/python-matplotlib/setup.cfg new file mode 100644 index 00000000..4bda0d43 --- /dev/null +++ b/buildroot-2022.02.1/package/python-matplotlib/setup.cfg @@ -0,0 +1,10 @@ +[libs] +# Disable LTO to prevent the following error: +# Relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZSt3hexRSt8ios_base' +# which may bind externally can not be used when making a shared object; +# recompile with -fPIC +enable_lto = False + +# Freetype and qhull are provided by Buildroot +system_freetype = True +system_qhull = True diff --git a/buildroot-2022.02.1/package/python-mbstrdecoder/Config.in b/buildroot-2022.02.1/package/python-mbstrdecoder/Config.in new file mode 100644 index 00000000..0ff0a310 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mbstrdecoder/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MBSTRDECODER + bool "python-mbstrdecoder" + select BR2_PACKAGE_PYTHON_CHARDET # runtime + help + multi-byte character string decoder. + + https://github.com/thombashi/mbstrdecoder diff --git a/buildroot-2022.02.1/package/python-mbstrdecoder/python-mbstrdecoder.hash b/buildroot-2022.02.1/package/python-mbstrdecoder/python-mbstrdecoder.hash new file mode 100644 index 00000000..90b9abb8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mbstrdecoder/python-mbstrdecoder.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/mbstrdecoder/json +md5 b32ff478a38730a8ab0b884fe162cc41 mbstrdecoder-1.1.0.tar.gz +sha256 f4dfd549e424ad8dfc985e6af8b55cb4ec0c208782f610d57439fe6a9a44c244 mbstrdecoder-1.1.0.tar.gz +# Locally computed sha256 checksums +sha256 7588265082eed5e9f4afd5090c57e610b740ec547b16aaaab739ba07c5eefb15 LICENSE diff --git a/buildroot-2022.02.1/package/python-mbstrdecoder/python-mbstrdecoder.mk b/buildroot-2022.02.1/package/python-mbstrdecoder/python-mbstrdecoder.mk new file mode 100644 index 00000000..63f9af74 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mbstrdecoder/python-mbstrdecoder.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-mbstrdecoder +# +################################################################################ + +PYTHON_MBSTRDECODER_VERSION = 1.1.0 +PYTHON_MBSTRDECODER_SOURCE = mbstrdecoder-$(PYTHON_MBSTRDECODER_VERSION).tar.gz +PYTHON_MBSTRDECODER_SITE = https://files.pythonhosted.org/packages/6c/10/f82ba5a91489c91bf6adaa0e1aca38a7ab2d1d7d80195a5f6ad8c2ff387a +PYTHON_MBSTRDECODER_SETUP_TYPE = setuptools +PYTHON_MBSTRDECODER_LICENSE = MIT +PYTHON_MBSTRDECODER_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-memory-profiler/Config.in b/buildroot-2022.02.1/package/python-memory-profiler/Config.in new file mode 100644 index 00000000..9d29e5f1 --- /dev/null +++ b/buildroot-2022.02.1/package/python-memory-profiler/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MEMORY_PROFILER + bool "python-memory-profiler" + select BR2_PACKAGE_PYTHON_PSUTIL # runtime + help + A module for monitoring memory usage of a python program. + + https://github.com/pythonprofilers/memory_profiler diff --git a/buildroot-2022.02.1/package/python-memory-profiler/python-memory-profiler.hash b/buildroot-2022.02.1/package/python-memory-profiler/python-memory-profiler.hash new file mode 100644 index 00000000..9ee515b5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-memory-profiler/python-memory-profiler.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/memory-profiler/json +md5 b1d1783064a1198fb21bc877e535ec1b memory_profiler-0.58.0.tar.gz +sha256 01385ac0fec944fcf7969814ec4406c6d8a9c66c079d09276723c5a7680f44e5 memory_profiler-0.58.0.tar.gz +# Locally computed sha256 checksums +sha256 51926ce91b8283532efa9dfb02518582c15f49c105a3ac18cce1f7a4947e96ae COPYING diff --git a/buildroot-2022.02.1/package/python-memory-profiler/python-memory-profiler.mk b/buildroot-2022.02.1/package/python-memory-profiler/python-memory-profiler.mk new file mode 100644 index 00000000..053b0e2d --- /dev/null +++ b/buildroot-2022.02.1/package/python-memory-profiler/python-memory-profiler.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-memory-profiler +# +################################################################################ + +PYTHON_MEMORY_PROFILER_VERSION = 0.58.0 +PYTHON_MEMORY_PROFILER_SOURCE = memory_profiler-$(PYTHON_MEMORY_PROFILER_VERSION).tar.gz +PYTHON_MEMORY_PROFILER_SITE = https://files.pythonhosted.org/packages/8f/fd/d92b3295657f8837e0177e7b48b32d6651436f0293af42b76d134c3bb489 +PYTHON_MEMORY_PROFILER_SETUP_TYPE = setuptools +PYTHON_MEMORY_PROFILER_LICENSE = BSD-3-Clause +PYTHON_MEMORY_PROFILER_LICENSE_FILES = COPYING + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-mimeparse/Config.in b/buildroot-2022.02.1/package/python-mimeparse/Config.in similarity index 100% rename from buildroot-2021.05/package/python-mimeparse/Config.in rename to buildroot-2022.02.1/package/python-mimeparse/Config.in diff --git a/buildroot-2021.05/package/python-mimeparse/python-mimeparse.hash b/buildroot-2022.02.1/package/python-mimeparse/python-mimeparse.hash similarity index 100% rename from buildroot-2021.05/package/python-mimeparse/python-mimeparse.hash rename to buildroot-2022.02.1/package/python-mimeparse/python-mimeparse.hash diff --git a/buildroot-2021.05/package/python-mimeparse/python-mimeparse.mk b/buildroot-2022.02.1/package/python-mimeparse/python-mimeparse.mk similarity index 100% rename from buildroot-2021.05/package/python-mimeparse/python-mimeparse.mk rename to buildroot-2022.02.1/package/python-mimeparse/python-mimeparse.mk diff --git a/buildroot-2021.05/package/python-mistune/Config.in b/buildroot-2022.02.1/package/python-mistune/Config.in similarity index 100% rename from buildroot-2021.05/package/python-mistune/Config.in rename to buildroot-2022.02.1/package/python-mistune/Config.in diff --git a/buildroot-2021.05/package/python-mistune/python-mistune.hash b/buildroot-2022.02.1/package/python-mistune/python-mistune.hash similarity index 100% rename from buildroot-2021.05/package/python-mistune/python-mistune.hash rename to buildroot-2022.02.1/package/python-mistune/python-mistune.hash diff --git a/buildroot-2021.05/package/python-mistune/python-mistune.mk b/buildroot-2022.02.1/package/python-mistune/python-mistune.mk similarity index 100% rename from buildroot-2021.05/package/python-mistune/python-mistune.mk rename to buildroot-2022.02.1/package/python-mistune/python-mistune.mk diff --git a/buildroot-2021.05/package/python-modbus-tk/Config.in b/buildroot-2022.02.1/package/python-modbus-tk/Config.in similarity index 100% rename from buildroot-2021.05/package/python-modbus-tk/Config.in rename to buildroot-2022.02.1/package/python-modbus-tk/Config.in diff --git a/buildroot-2021.05/package/python-modbus-tk/python-modbus-tk.hash b/buildroot-2022.02.1/package/python-modbus-tk/python-modbus-tk.hash similarity index 100% rename from buildroot-2021.05/package/python-modbus-tk/python-modbus-tk.hash rename to buildroot-2022.02.1/package/python-modbus-tk/python-modbus-tk.hash diff --git a/buildroot-2021.05/package/python-modbus-tk/python-modbus-tk.mk b/buildroot-2022.02.1/package/python-modbus-tk/python-modbus-tk.mk similarity index 100% rename from buildroot-2021.05/package/python-modbus-tk/python-modbus-tk.mk rename to buildroot-2022.02.1/package/python-modbus-tk/python-modbus-tk.mk diff --git a/buildroot-2022.02.1/package/python-more-itertools/Config.in b/buildroot-2022.02.1/package/python-more-itertools/Config.in new file mode 100644 index 00000000..5a74f95d --- /dev/null +++ b/buildroot-2022.02.1/package/python-more-itertools/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_MORE_ITERTOOLS + bool "python-more-itertools" + help + More routines for operating on iterables, beyond itertools. + + https://github.com/more-itertools/more-itertools diff --git a/buildroot-2022.02.1/package/python-more-itertools/python-more-itertools.hash b/buildroot-2022.02.1/package/python-more-itertools/python-more-itertools.hash new file mode 100644 index 00000000..4e6e7bdf --- /dev/null +++ b/buildroot-2022.02.1/package/python-more-itertools/python-more-itertools.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/more-itertools/json +md5 9930552c4f7eedc00193673d5f7f0f19 more-itertools-8.10.0.tar.gz +sha256 1debcabeb1df793814859d64a81ad7cb10504c24349368ccf214c664c474f41f more-itertools-8.10.0.tar.gz +# Locally computed sha256 checksums +sha256 09f1c8c9e941af3e584d59641ea9b87d83c0cb0fd007eb5ef391a7e2643c1a46 LICENSE diff --git a/buildroot-2022.02.1/package/python-more-itertools/python-more-itertools.mk b/buildroot-2022.02.1/package/python-more-itertools/python-more-itertools.mk new file mode 100644 index 00000000..3b9957b7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-more-itertools/python-more-itertools.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-more-itertools +# +################################################################################ + +PYTHON_MORE_ITERTOOLS_VERSION = 8.10.0 +PYTHON_MORE_ITERTOOLS_SOURCE = more-itertools-$(PYTHON_MORE_ITERTOOLS_VERSION).tar.gz +PYTHON_MORE_ITERTOOLS_SITE = https://files.pythonhosted.org/packages/8a/f7/93cf3c81629c95f6f40e509f7cd63985a6ddd829181a66c1c8ef101e55f2 +PYTHON_MORE_ITERTOOLS_SETUP_TYPE = setuptools +PYTHON_MORE_ITERTOOLS_LICENSE = MIT +PYTHON_MORE_ITERTOOLS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-mpd2/Config.in b/buildroot-2022.02.1/package/python-mpd2/Config.in new file mode 100644 index 00000000..52dcbf00 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mpd2/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_MPD2 + bool "python-mpd2" + help + A Python MPD client library. + + https://github.com/Mic92/python-mpd2 diff --git a/buildroot-2022.02.1/package/python-mpd2/python-mpd2.hash b/buildroot-2022.02.1/package/python-mpd2/python-mpd2.hash new file mode 100644 index 00000000..88dcb283 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mpd2/python-mpd2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/python-mpd2/json +md5 594dff3e53c8eb6f583ba642bc2c1a27 python-mpd2-3.0.5.tar.gz +sha256 6f1bffd93b9a32fc018a9bbf3487505b52e0d757ec34066905c60a912d492384 python-mpd2-3.0.5.tar.gz +# Locally computed sha256 checksums +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-mpd2/python-mpd2.mk b/buildroot-2022.02.1/package/python-mpd2/python-mpd2.mk new file mode 100644 index 00000000..bfe382b5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mpd2/python-mpd2.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-mpd2 +# +################################################################################ + +PYTHON_MPD2_VERSION = 3.0.5 +PYTHON_MPD2_SITE = https://files.pythonhosted.org/packages/ed/c2/263621bdbbc37fa1a55fa1a7f66fd601bf08b3f87481e318a3509fb6c4bf +PYTHON_MPD2_SETUP_TYPE = setuptools +PYTHON_MPD2_LICENSE = LGPL-3.0+ +PYTHON_MPD2_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-msgfy/Config.in b/buildroot-2022.02.1/package/python-msgfy/Config.in new file mode 100644 index 00000000..7875379e --- /dev/null +++ b/buildroot-2022.02.1/package/python-msgfy/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MSGFY + bool "python-msgfy" + help + msgfy is a Python library for convert Exception instance to + a human-readable error message. + + https://github.com/thombashi/msgfy diff --git a/buildroot-2021.05/package/python-msgfy/python-msgfy.hash b/buildroot-2022.02.1/package/python-msgfy/python-msgfy.hash similarity index 100% rename from buildroot-2021.05/package/python-msgfy/python-msgfy.hash rename to buildroot-2022.02.1/package/python-msgfy/python-msgfy.hash diff --git a/buildroot-2021.05/package/python-msgfy/python-msgfy.mk b/buildroot-2022.02.1/package/python-msgfy/python-msgfy.mk similarity index 100% rename from buildroot-2021.05/package/python-msgfy/python-msgfy.mk rename to buildroot-2022.02.1/package/python-msgfy/python-msgfy.mk diff --git a/buildroot-2021.05/package/python-msgpack/Config.in b/buildroot-2022.02.1/package/python-msgpack/Config.in similarity index 100% rename from buildroot-2021.05/package/python-msgpack/Config.in rename to buildroot-2022.02.1/package/python-msgpack/Config.in diff --git a/buildroot-2022.02.1/package/python-msgpack/python-msgpack.hash b/buildroot-2022.02.1/package/python-msgpack/python-msgpack.hash new file mode 100644 index 00000000..382bada4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-msgpack/python-msgpack.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/msgpack/json +md5 2dcb4fa618d7890e5a79de6fe44cbb59 msgpack-1.0.3.tar.gz +sha256 51fdc7fb93615286428ee7758cecc2f374d5ff363bdd884c7ea622a7a327a81e msgpack-1.0.3.tar.gz +# Locally computed sha256 checksums +sha256 492dedba85da5872f78e6091bcd1fea474d660d35acb4dee964b8aab3f007427 COPYING diff --git a/buildroot-2022.02.1/package/python-msgpack/python-msgpack.mk b/buildroot-2022.02.1/package/python-msgpack/python-msgpack.mk new file mode 100644 index 00000000..c50b7157 --- /dev/null +++ b/buildroot-2022.02.1/package/python-msgpack/python-msgpack.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-msgpack +# +################################################################################ + +PYTHON_MSGPACK_VERSION = 1.0.3 +PYTHON_MSGPACK_SOURCE = msgpack-$(PYTHON_MSGPACK_VERSION).tar.gz +PYTHON_MSGPACK_SITE = https://files.pythonhosted.org/packages/61/3c/2206f39880d38ca7ad8ac1b28d2d5ca81632d163b2d68ef90e46409ca057 +PYTHON_MSGPACK_LICENSE = Apache-2.0 +PYTHON_MSGPACK_LICENSE_FILES = COPYING +PYTHON_MSGPACK_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-multidict/Config.in b/buildroot-2022.02.1/package/python-multidict/Config.in new file mode 100644 index 00000000..9a92a6d3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-multidict/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_MULTIDICT + bool "python-multidict" + help + Multidict is dict-like collection of key-value pairs where a + key may occur more than once in the container. + + https://github.com/aio-libs/multidict diff --git a/buildroot-2022.02.1/package/python-multidict/python-multidict.hash b/buildroot-2022.02.1/package/python-multidict/python-multidict.hash new file mode 100644 index 00000000..999c8867 --- /dev/null +++ b/buildroot-2022.02.1/package/python-multidict/python-multidict.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/multidict/json +md5 f8230905ad1f50c87e8d9cc6b0bb7ca2 multidict-6.0.2.tar.gz +sha256 5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013 multidict-6.0.2.tar.gz +# Locally computed sha256 checksums +sha256 06a240ea10ba868fda2de58df859886961df873aa74bbab1e0f13eaf99f92b7b LICENSE diff --git a/buildroot-2022.02.1/package/python-multidict/python-multidict.mk b/buildroot-2022.02.1/package/python-multidict/python-multidict.mk new file mode 100644 index 00000000..1a9aec7b --- /dev/null +++ b/buildroot-2022.02.1/package/python-multidict/python-multidict.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-multidict +# +################################################################################ + +PYTHON_MULTIDICT_VERSION = 6.0.2 +PYTHON_MULTIDICT_SOURCE = multidict-$(PYTHON_MULTIDICT_VERSION).tar.gz +PYTHON_MULTIDICT_SITE = https://files.pythonhosted.org/packages/fa/a7/71c253cdb8a1528802bac7503bf82fe674367e4055b09c28846fdfa4ab90 +PYTHON_MULTIDICT_SETUP_TYPE = setuptools +PYTHON_MULTIDICT_LICENSE = Apache-2.0 +PYTHON_MULTIDICT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-mutagen/Config.in b/buildroot-2022.02.1/package/python-mutagen/Config.in new file mode 100644 index 00000000..dc183a6e --- /dev/null +++ b/buildroot-2022.02.1/package/python-mutagen/Config.in @@ -0,0 +1,18 @@ +config BR2_PACKAGE_PYTHON_MUTAGEN + bool "python-mutagen" + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + Mutagen is a Python module to handle audio metadata. It + supports ASF, FLAC, MP4, Monkey's Audio, MP3, Musepack, Ogg + Opus, Ogg FLAC, Ogg Speex, Ogg Theora, Ogg Vorbis, True + Audio, WavPack, OptimFROG, and AIFF audio files. All + versions of ID3v2 are supported, and all standard ID3v2.4 + frames are parsed. + + It can read Xing headers to accurately calculate the bitrate + and length of MP3s. ID3 and APEv2 tags can be edited + regardless of audio format. It can also manipulate Ogg + streams on an individual packet/page level. + + https://mutagen.readthedocs.io/en/latest/ diff --git a/buildroot-2022.02.1/package/python-mutagen/python-mutagen.hash b/buildroot-2022.02.1/package/python-mutagen/python-mutagen.hash new file mode 100644 index 00000000..0cf25fd5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mutagen/python-mutagen.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/mutagen/json +md5 76e1f7fc2386813c0ff2716695fb06e1 mutagen-1.45.1.tar.gz +sha256 6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1 mutagen-1.45.1.tar.gz +# Locally computed sha256 checksums +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/python-mutagen/python-mutagen.mk b/buildroot-2022.02.1/package/python-mutagen/python-mutagen.mk new file mode 100644 index 00000000..627ec70e --- /dev/null +++ b/buildroot-2022.02.1/package/python-mutagen/python-mutagen.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-mutagen +# +################################################################################ + +PYTHON_MUTAGEN_VERSION = 1.45.1 +PYTHON_MUTAGEN_SOURCE = mutagen-$(PYTHON_MUTAGEN_VERSION).tar.gz +PYTHON_MUTAGEN_SITE = https://files.pythonhosted.org/packages/f3/d9/2232a4cb9a98e2d2501f7e58d193bc49c956ef23756d7423ba1bd87e386d +PYTHON_MUTAGEN_LICENSE = GPL-2.0 +PYTHON_MUTAGEN_LICENSE_FILES = COPYING +PYTHON_MUTAGEN_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-mwclient/Config.in b/buildroot-2022.02.1/package/python-mwclient/Config.in similarity index 100% rename from buildroot-2021.05/package/python-mwclient/Config.in rename to buildroot-2022.02.1/package/python-mwclient/Config.in diff --git a/buildroot-2021.05/package/python-mwclient/python-mwclient.hash b/buildroot-2022.02.1/package/python-mwclient/python-mwclient.hash similarity index 100% rename from buildroot-2021.05/package/python-mwclient/python-mwclient.hash rename to buildroot-2022.02.1/package/python-mwclient/python-mwclient.hash diff --git a/buildroot-2021.05/package/python-mwclient/python-mwclient.mk b/buildroot-2022.02.1/package/python-mwclient/python-mwclient.mk similarity index 100% rename from buildroot-2021.05/package/python-mwclient/python-mwclient.mk rename to buildroot-2022.02.1/package/python-mwclient/python-mwclient.mk diff --git a/buildroot-2022.02.1/package/python-mwscrape/Config.in b/buildroot-2022.02.1/package/python-mwscrape/Config.in new file mode 100644 index 00000000..fc9d5223 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mwscrape/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_MWSCRAPE + bool "python-mwscrape" + select BR2_PACKAGE_PYTHON_COUCHDB # runtime + select BR2_PACKAGE_PYTHON_MWCLIENT # runtime + select BR2_PACKAGE_PYTHON_PYLRU # runtime + help + Download rendered articles from MediaWiki API to CouchDB + + https://github.com/itkach/mwscrape diff --git a/buildroot-2021.05/package/python-mwscrape/python-mwscrape.hash b/buildroot-2022.02.1/package/python-mwscrape/python-mwscrape.hash similarity index 100% rename from buildroot-2021.05/package/python-mwscrape/python-mwscrape.hash rename to buildroot-2022.02.1/package/python-mwscrape/python-mwscrape.hash diff --git a/buildroot-2021.05/package/python-mwscrape/python-mwscrape.mk b/buildroot-2022.02.1/package/python-mwscrape/python-mwscrape.mk similarity index 100% rename from buildroot-2021.05/package/python-mwscrape/python-mwscrape.mk rename to buildroot-2022.02.1/package/python-mwscrape/python-mwscrape.mk diff --git a/buildroot-2022.02.1/package/python-mwscrape2slob/Config.in b/buildroot-2022.02.1/package/python-mwscrape2slob/Config.in new file mode 100644 index 00000000..6ced2534 --- /dev/null +++ b/buildroot-2022.02.1/package/python-mwscrape2slob/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_PYTHON_MWSCRAPE2SLOB + bool "python-mwscrape2slob" + depends on !BR2_BINFMT_FLAT # python-slob -> python-pyicu -> icu + depends on BR2_HOST_GCC_AT_LEAST_4_9 # python-slob -> python-pyicu -> icu + depends on BR2_INSTALL_LIBSTDCPP # python-slob -> python-pyicu -> icu + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-slob -> python-pyicu -> icu + select BR2_PACKAGE_PYTHON_COUCHDB # runtime + select BR2_PACKAGE_PYTHON_CSSSELECT # runtime + select BR2_PACKAGE_PYTHON_CSSUTILS # runtime + select BR2_PACKAGE_PYTHON_LXML # runtime + select BR2_PACKAGE_PYTHON_SLOB # runtime + help + A tool to create slob with content from a MediaWiki CouchDB + created by mwscrape. + + https://github.com/itkach/mwscrape2slob + +comment "python-mwscrape2slob needs a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/python-mwscrape2slob/python-mwscrape2slob.hash b/buildroot-2022.02.1/package/python-mwscrape2slob/python-mwscrape2slob.hash similarity index 100% rename from buildroot-2021.05/package/python-mwscrape2slob/python-mwscrape2slob.hash rename to buildroot-2022.02.1/package/python-mwscrape2slob/python-mwscrape2slob.hash diff --git a/buildroot-2021.05/package/python-mwscrape2slob/python-mwscrape2slob.mk b/buildroot-2022.02.1/package/python-mwscrape2slob/python-mwscrape2slob.mk similarity index 100% rename from buildroot-2021.05/package/python-mwscrape2slob/python-mwscrape2slob.mk rename to buildroot-2022.02.1/package/python-mwscrape2slob/python-mwscrape2slob.mk diff --git a/buildroot-2021.05/package/python-nested-dict/Config.in b/buildroot-2022.02.1/package/python-nested-dict/Config.in similarity index 100% rename from buildroot-2021.05/package/python-nested-dict/Config.in rename to buildroot-2022.02.1/package/python-nested-dict/Config.in diff --git a/buildroot-2021.05/package/python-nested-dict/python-nested-dict.hash b/buildroot-2022.02.1/package/python-nested-dict/python-nested-dict.hash similarity index 100% rename from buildroot-2021.05/package/python-nested-dict/python-nested-dict.hash rename to buildroot-2022.02.1/package/python-nested-dict/python-nested-dict.hash diff --git a/buildroot-2021.05/package/python-nested-dict/python-nested-dict.mk b/buildroot-2022.02.1/package/python-nested-dict/python-nested-dict.mk similarity index 100% rename from buildroot-2021.05/package/python-nested-dict/python-nested-dict.mk rename to buildroot-2022.02.1/package/python-nested-dict/python-nested-dict.mk diff --git a/buildroot-2021.05/package/python-netaddr/Config.in b/buildroot-2022.02.1/package/python-netaddr/Config.in similarity index 100% rename from buildroot-2021.05/package/python-netaddr/Config.in rename to buildroot-2022.02.1/package/python-netaddr/Config.in diff --git a/buildroot-2021.05/package/python-netaddr/python-netaddr.hash b/buildroot-2022.02.1/package/python-netaddr/python-netaddr.hash similarity index 100% rename from buildroot-2021.05/package/python-netaddr/python-netaddr.hash rename to buildroot-2022.02.1/package/python-netaddr/python-netaddr.hash diff --git a/buildroot-2021.05/package/python-netaddr/python-netaddr.mk b/buildroot-2022.02.1/package/python-netaddr/python-netaddr.mk similarity index 100% rename from buildroot-2021.05/package/python-netaddr/python-netaddr.mk rename to buildroot-2022.02.1/package/python-netaddr/python-netaddr.mk diff --git a/buildroot-2021.05/package/python-netifaces/Config.in b/buildroot-2022.02.1/package/python-netifaces/Config.in similarity index 100% rename from buildroot-2021.05/package/python-netifaces/Config.in rename to buildroot-2022.02.1/package/python-netifaces/Config.in diff --git a/buildroot-2022.02.1/package/python-netifaces/python-netifaces.hash b/buildroot-2022.02.1/package/python-netifaces/python-netifaces.hash new file mode 100644 index 00000000..ec8ccf62 --- /dev/null +++ b/buildroot-2022.02.1/package/python-netifaces/python-netifaces.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/netifaces/json +md5 3146dcb3297dd018ae5eb9a52b440419 netifaces-0.11.0.tar.gz +sha256 043a79146eb2907edf439899f262b3dfe41717d34124298ed281139a8b93ca32 netifaces-0.11.0.tar.gz +# Locally computed sha256 checksums +sha256 b20b895164b72b9cc0170e6c0d60b14f9aaacc6862c0556eed41eaa348883705 LICENSE diff --git a/buildroot-2022.02.1/package/python-netifaces/python-netifaces.mk b/buildroot-2022.02.1/package/python-netifaces/python-netifaces.mk new file mode 100644 index 00000000..1b1aa995 --- /dev/null +++ b/buildroot-2022.02.1/package/python-netifaces/python-netifaces.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-netifaces +# +################################################################################ + +PYTHON_NETIFACES_VERSION = 0.11.0 +PYTHON_NETIFACES_SOURCE = netifaces-$(PYTHON_NETIFACES_VERSION).tar.gz +PYTHON_NETIFACES_SITE = https://files.pythonhosted.org/packages/a6/91/86a6eac449ddfae239e93ffc1918cf33fd9bab35c04d1e963b311e347a73 +PYTHON_NETIFACES_LICENSE = MIT +PYTHON_NETIFACES_LICENSE_FILES = LICENSE +PYTHON_NETIFACES_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-networkmanager/Config.in b/buildroot-2022.02.1/package/python-networkmanager/Config.in similarity index 100% rename from buildroot-2021.05/package/python-networkmanager/Config.in rename to buildroot-2022.02.1/package/python-networkmanager/Config.in diff --git a/buildroot-2021.05/package/python-networkmanager/python-networkmanager.hash b/buildroot-2022.02.1/package/python-networkmanager/python-networkmanager.hash similarity index 100% rename from buildroot-2021.05/package/python-networkmanager/python-networkmanager.hash rename to buildroot-2022.02.1/package/python-networkmanager/python-networkmanager.hash diff --git a/buildroot-2021.05/package/python-networkmanager/python-networkmanager.mk b/buildroot-2022.02.1/package/python-networkmanager/python-networkmanager.mk similarity index 100% rename from buildroot-2021.05/package/python-networkmanager/python-networkmanager.mk rename to buildroot-2022.02.1/package/python-networkmanager/python-networkmanager.mk diff --git a/buildroot-2022.02.1/package/python-networkx/Config.in b/buildroot-2022.02.1/package/python-networkx/Config.in new file mode 100644 index 00000000..0f3e86f4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-networkx/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_NETWORKX + bool "python-networkx" + select BR2_PACKAGE_PYTHON_DECORATOR # runtime + help + A Python package for the creation, manipulation, + and study of the structure, dynamics, and + functions of complex networks. + + https://pypi.python.org/pypi/networkx diff --git a/buildroot-2022.02.1/package/python-networkx/python-networkx.hash b/buildroot-2022.02.1/package/python-networkx/python-networkx.hash new file mode 100644 index 00000000..ace5c672 --- /dev/null +++ b/buildroot-2022.02.1/package/python-networkx/python-networkx.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/networkx/json +md5 407eb28c54e08725559754ca7ab185e0 networkx-2.6.3.tar.gz +sha256 c0946ed31d71f1b732b5aaa6da5a0388a345019af232ce2f49c766e2d6795c51 networkx-2.6.3.tar.gz +# Locally computed sha256 checksums +sha256 f9c25c92ced5a264a3fe857231205d5eb625ae367935aaf8d61cdd5087dfb90e LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-networkx/python-networkx.mk b/buildroot-2022.02.1/package/python-networkx/python-networkx.mk new file mode 100644 index 00000000..1908ed8f --- /dev/null +++ b/buildroot-2022.02.1/package/python-networkx/python-networkx.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-networkx +# +################################################################################ + +PYTHON_NETWORKX_VERSION = 2.6.3 +PYTHON_NETWORKX_SOURCE = networkx-$(PYTHON_NETWORKX_VERSION).tar.gz +PYTHON_NETWORKX_SITE = https://files.pythonhosted.org/packages/97/ae/7497bc5e1c84af95e585e3f98585c9f06c627fac6340984c4243053e8f44 +PYTHON_NETWORKX_LICENSE = BSD-3-Clause +PYTHON_NETWORKX_LICENSE_FILES = LICENSE.txt +PYTHON_NETWORKX_CPE_ID_VENDOR = python +PYTHON_NETWORKX_CPE_ID_PRODUCT = networkx +PYTHON_NETWORKX_SETUP_TYPE = setuptools +HOST_PYTHON_NETWORKX_DEPENDENCIES = host-python-decorator + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-numpy/Config.in b/buildroot-2022.02.1/package/python-numpy/Config.in new file mode 100644 index 00000000..a65164d9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-numpy/Config.in @@ -0,0 +1,32 @@ +config BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + bool + # Numpy has some CPU specific code + default y if BR2_arc + default y if BR2_aarch64 + default y if BR2_arm + default y if BR2_armeb + default y if BR2_i386 + default y if BR2_mips + default y if BR2_mipsel + default y if BR2_powerpc + default y if BR2_powerpc64 + default y if BR2_sh + default y if BR2_x86_64 + +config BR2_PACKAGE_PYTHON_NUMPY + bool "python-numpy" + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + # python-numpy needs fenv.h which is not provided by uclibc + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL + help + NumPy is the fundamental package for scientific computing + with Python. + + Note that NumPy needs fenv.h fully supported by the + C library. + + http://www.numpy.org/ + +comment "python-numpy needs glibc or musl" + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) diff --git a/buildroot-2022.02.1/package/python-numpy/python-numpy.hash b/buildroot-2022.02.1/package/python-numpy/python-numpy.hash new file mode 100644 index 00000000..7c111f7b --- /dev/null +++ b/buildroot-2022.02.1/package/python-numpy/python-numpy.hash @@ -0,0 +1,8 @@ +# Copied from https://github.com/numpy/numpy/releases/tag/v1.21.2 +sha256 76af194fbc117934ec5bbe2ff15177adbd05aeed23f18ee209ed88edcd777e05 numpy-1.21.2.tar.gz +# License files, locally calculated +sha256 bc1b0af15cdc9415ea26c5f1df352c226ac86425ec0fb9ab38d111018bf1c6f2 LICENSE.txt +sha256 2be6947e0432ecf7950ee8fe38681316749dd06d1de17c9ec4de6d2f55adb3a1 numpy/core/src/multiarray/dragon4.c +sha256 fbc539f47d0cf83bc61378080fb873d5c14630126cacbfe754035c3926daa5ec numpy/core/include/numpy/libdivide/LICENSE.txt +sha256 a14cc25e10d40a3aa705b7de2fb764a6535d8ee9b2db4e1724900585457dfd55 numpy/linalg/lapack_lite/LICENSE.txt +sha256 badf51c7e3e7de9c7630bd069780f5c197b846ef7660b342a1e58d5553592d8e tools/npy_tempita/license.txt diff --git a/buildroot-2022.02.1/package/python-numpy/python-numpy.mk b/buildroot-2022.02.1/package/python-numpy/python-numpy.mk new file mode 100644 index 00000000..417fe81f --- /dev/null +++ b/buildroot-2022.02.1/package/python-numpy/python-numpy.mk @@ -0,0 +1,59 @@ +################################################################################ +# +# python-numpy +# +################################################################################ + +PYTHON_NUMPY_VERSION = 1.21.2 +PYTHON_NUMPY_SOURCE = numpy-$(PYTHON_NUMPY_VERSION).tar.gz +PYTHON_NUMPY_SITE = https://github.com/numpy/numpy/releases/download/v$(PYTHON_NUMPY_VERSION) +PYTHON_NUMPY_LICENSE = BSD-3-Clause, MIT, Zlib +PYTHON_NUMPY_LICENSE_FILES = \ + LICENSE.txt \ + numpy/core/src/multiarray/dragon4.c \ + numpy/core/include/numpy/libdivide/LICENSE.txt \ + numpy/linalg/lapack_lite/LICENSE.txt \ + tools/npy_tempita/license.txt + +PYTHON_NUMPY_SETUP_TYPE = setuptools +PYTHON_NUMPY_DEPENDENCIES = host-python-cython +HOST_PYTHON_NUMPY_DEPENDENCIES = host-python-cython + +ifeq ($(BR2_PACKAGE_LAPACK),y) +PYTHON_NUMPY_DEPENDENCIES += lapack +else +PYTHON_NUMPY_ENV += BLAS=None LAPACK=None +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),y) +PYTHON_NUMPY_BUILD_OPTS = --fcompiler=gnu95 +PYTHON_NUMPY_ENV += F90=$(TARGET_FC) +else +PYTHON_NUMPY_BUILD_OPTS = --fcompiler=None +endif + +define PYTHON_NUMPY_CONFIGURE_CMDS + -rm -f $(@D)/site.cfg + echo "[DEFAULT]" >> $(@D)/site.cfg + echo "library_dirs = $(STAGING_DIR)/usr/lib" >> $(@D)/site.cfg + echo "include_dirs = $(STAGING_DIR)/usr/include" >> $(@D)/site.cfg +endef + +# Fixup the npymath.ini prefix path with actual target staging area where +# numpy core was built. Without this, target builds using numpy distutils +# extensions like python-scipy, python-numba cannot find -lnpymath since +# it uses host libraries (like libnpymath.a). +# So, the numpy distutils extension packages would explicitly link this +# config path for their package environment. +define PYTHON_NUMPY_FIXUP_NPY_PKG_CONFIG_FILES + $(SED) '/^pkgdir=/d;/^prefix=/i pkgdir=$(PYTHON3_PATH)/site-packages/numpy/core' \ + $(PYTHON3_PATH)/site-packages/numpy/core/lib/npy-pkg-config/npymath.ini +endef +PYTHON_NUMPY_POST_INSTALL_STAGING_HOOKS += PYTHON_NUMPY_FIXUP_NPY_PKG_CONFIG_FILES + +# Some package may include few headers from NumPy, so let's install it +# in the staging area. +PYTHON_NUMPY_INSTALL_STAGING = YES + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-oauthlib/Config.in b/buildroot-2022.02.1/package/python-oauthlib/Config.in similarity index 100% rename from buildroot-2021.05/package/python-oauthlib/Config.in rename to buildroot-2022.02.1/package/python-oauthlib/Config.in diff --git a/buildroot-2022.02.1/package/python-oauthlib/python-oauthlib.hash b/buildroot-2022.02.1/package/python-oauthlib/python-oauthlib.hash new file mode 100644 index 00000000..e55f0c86 --- /dev/null +++ b/buildroot-2022.02.1/package/python-oauthlib/python-oauthlib.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/oauthlib/json +md5 9201e30a4eacf3ecfa15503b241ad5e3 oauthlib-3.1.1.tar.gz +sha256 8f0215fcc533dd8dd1bee6f4c412d4f0cd7297307d43ac61666389e3bc3198a3 oauthlib-3.1.1.tar.gz +# Locally computed sha256 checksums +sha256 3d1e12d8ac52c0b6c148af6d291f72400b8720ed16c0ac4a89868b6d14b1c939 LICENSE diff --git a/buildroot-2022.02.1/package/python-oauthlib/python-oauthlib.mk b/buildroot-2022.02.1/package/python-oauthlib/python-oauthlib.mk new file mode 100644 index 00000000..7369768b --- /dev/null +++ b/buildroot-2022.02.1/package/python-oauthlib/python-oauthlib.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-oauthlib +# +################################################################################ + +PYTHON_OAUTHLIB_VERSION = 3.1.1 +PYTHON_OAUTHLIB_SOURCE = oauthlib-$(PYTHON_OAUTHLIB_VERSION).tar.gz +PYTHON_OAUTHLIB_SITE = https://files.pythonhosted.org/packages/9e/84/001a3f8d9680f3b26d5e7711e13d5ff92e4b511766a72ac6b4a4e5f06796 +PYTHON_OAUTHLIB_SETUP_TYPE = setuptools +PYTHON_OAUTHLIB_LICENSE = BSD-3-Clause +PYTHON_OAUTHLIB_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-opcua-asyncio/Config.in b/buildroot-2022.02.1/package/python-opcua-asyncio/Config.in new file mode 100644 index 00000000..e5b8623f --- /dev/null +++ b/buildroot-2022.02.1/package/python-opcua-asyncio/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_OPCUA_ASYNCIO + bool "python-opcua-asyncio" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + select BR2_PACKAGE_PYTHON_AIOFILES # runtime + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime + select BR2_PACKAGE_PYTHON_DATEUTIL # runtime + select BR2_PACKAGE_PYTHON_LXML # runtime + select BR2_PACKAGE_PYTHON_PYTZ # runtime + help + opcua-asyncio is an asyncio-based asynchronous + OPC UA client based on python-opcua, removing + hacks for support of python < 3.6. + + https://github.com/FreeOpcUa/opcua-asyncio diff --git a/buildroot-2021.05/package/python-opcua-asyncio/python-opcua-asyncio.hash b/buildroot-2022.02.1/package/python-opcua-asyncio/python-opcua-asyncio.hash similarity index 100% rename from buildroot-2021.05/package/python-opcua-asyncio/python-opcua-asyncio.hash rename to buildroot-2022.02.1/package/python-opcua-asyncio/python-opcua-asyncio.hash diff --git a/buildroot-2021.05/package/python-opcua-asyncio/python-opcua-asyncio.mk b/buildroot-2022.02.1/package/python-opcua-asyncio/python-opcua-asyncio.mk similarity index 100% rename from buildroot-2021.05/package/python-opcua-asyncio/python-opcua-asyncio.mk rename to buildroot-2022.02.1/package/python-opcua-asyncio/python-opcua-asyncio.mk diff --git a/buildroot-2021.05/package/python-packaging/Config.in b/buildroot-2022.02.1/package/python-packaging/Config.in similarity index 100% rename from buildroot-2021.05/package/python-packaging/Config.in rename to buildroot-2022.02.1/package/python-packaging/Config.in diff --git a/buildroot-2022.02.1/package/python-packaging/python-packaging.hash b/buildroot-2022.02.1/package/python-packaging/python-packaging.hash new file mode 100644 index 00000000..0f353a9e --- /dev/null +++ b/buildroot-2022.02.1/package/python-packaging/python-packaging.hash @@ -0,0 +1,7 @@ +# md5, sha256 from https://pypi.org/pypi/packaging/json +md5 e713c1939f294fd729af4a7be40dd141 packaging-21.3.tar.gz +sha256 dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb packaging-21.3.tar.gz +# Locally computed sha256 checksums +sha256 cad1ef5bd340d73e074ba614d26f7deaca5c7940c3d8c34852e65c4909686c48 LICENSE +sha256 0d542e0c8804e39aa7f37eb00da5a762149dc682d7829451287e11b938e94594 LICENSE.APACHE +sha256 b70e7e9b742f1cc6f948b34c16aa39ffece94196364bc88ff0d2180f0028fac5 LICENSE.BSD diff --git a/buildroot-2022.02.1/package/python-packaging/python-packaging.mk b/buildroot-2022.02.1/package/python-packaging/python-packaging.mk new file mode 100644 index 00000000..74b58035 --- /dev/null +++ b/buildroot-2022.02.1/package/python-packaging/python-packaging.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-packaging +# +################################################################################ + +PYTHON_PACKAGING_VERSION = 21.3 +PYTHON_PACKAGING_SOURCE = packaging-$(PYTHON_PACKAGING_VERSION).tar.gz +PYTHON_PACKAGING_SITE = https://files.pythonhosted.org/packages/df/9e/d1a7217f69310c1db8fdf8ab396229f55a699ce34a203691794c5d1cad0c +PYTHON_PACKAGING_SETUP_TYPE = setuptools +PYTHON_PACKAGING_LICENSE = Apache-2.0 or BSD-2-Clause +PYTHON_PACKAGING_LICENSE_FILES = LICENSE LICENSE.APACHE LICENSE.BSD +HOST_PYTHON_PACKAGING_DEPENDENCIES = host-python-pyparsing + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-paho-mqtt/Config.in b/buildroot-2022.02.1/package/python-paho-mqtt/Config.in similarity index 100% rename from buildroot-2021.05/package/python-paho-mqtt/Config.in rename to buildroot-2022.02.1/package/python-paho-mqtt/Config.in diff --git a/buildroot-2021.05/package/python-paho-mqtt/python-paho-mqtt.hash b/buildroot-2022.02.1/package/python-paho-mqtt/python-paho-mqtt.hash similarity index 100% rename from buildroot-2021.05/package/python-paho-mqtt/python-paho-mqtt.hash rename to buildroot-2022.02.1/package/python-paho-mqtt/python-paho-mqtt.hash diff --git a/buildroot-2021.05/package/python-paho-mqtt/python-paho-mqtt.mk b/buildroot-2022.02.1/package/python-paho-mqtt/python-paho-mqtt.mk similarity index 100% rename from buildroot-2021.05/package/python-paho-mqtt/python-paho-mqtt.mk rename to buildroot-2022.02.1/package/python-paho-mqtt/python-paho-mqtt.mk diff --git a/buildroot-2022.02.1/package/python-paramiko/Config.in b/buildroot-2022.02.1/package/python-paramiko/Config.in new file mode 100644 index 00000000..a07af19a --- /dev/null +++ b/buildroot-2022.02.1/package/python-paramiko/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_PARAMIKO + bool "python-paramiko" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + select BR2_PACKAGE_PYTHON_BCRYPT # runtime + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime + select BR2_PACKAGE_PYTHON_PYNACL # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + SSH2 protocol library. + + https://github.com/paramiko/paramiko/ diff --git a/buildroot-2022.02.1/package/python-paramiko/python-paramiko.hash b/buildroot-2022.02.1/package/python-paramiko/python-paramiko.hash new file mode 100644 index 00000000..951bd8e1 --- /dev/null +++ b/buildroot-2022.02.1/package/python-paramiko/python-paramiko.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/paramiko/json +md5 6e47947882e2c1b81f35b4133e8e62b9 paramiko-2.10.3.tar.gz +sha256 ddb1977853aef82804b35d72a0e597b244fa326c404c350bd00c5b01dbfee71a paramiko-2.10.3.tar.gz +# Locally computed sha256 checksums +sha256 5fa25bf5f395fd26e701c2e1de4ca7d162816986dc791c22f8f4226857ad1bb2 LICENSE diff --git a/buildroot-2022.02.1/package/python-paramiko/python-paramiko.mk b/buildroot-2022.02.1/package/python-paramiko/python-paramiko.mk new file mode 100644 index 00000000..46209f58 --- /dev/null +++ b/buildroot-2022.02.1/package/python-paramiko/python-paramiko.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-paramiko +# +################################################################################ + +PYTHON_PARAMIKO_VERSION = 2.10.3 +PYTHON_PARAMIKO_SOURCE = paramiko-$(PYTHON_PARAMIKO_VERSION).tar.gz +PYTHON_PARAMIKO_SITE = https://files.pythonhosted.org/packages/d4/93/1a1eb7f214e6774099d56153db9e612f93cb8ffcdfd2eca243fcd5bb3a78 +PYTHON_PARAMIKO_SETUP_TYPE = setuptools +PYTHON_PARAMIKO_LICENSE = LGPL-2.1+ +PYTHON_PARAMIKO_LICENSE_FILES = LICENSE +PYTHON_PARAMIKO_CPE_ID_VENDOR = paramiko +PYTHON_PARAMIKO_CPE_ID_PRODUCT = paramiko + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-parso/Config.in b/buildroot-2022.02.1/package/python-parso/Config.in new file mode 100644 index 00000000..ea1c5a47 --- /dev/null +++ b/buildroot-2022.02.1/package/python-parso/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PARSO + bool "python-parso" + help + A Python Parser. + + https://github.com/davidhalter/parso diff --git a/buildroot-2022.02.1/package/python-parso/python-parso.hash b/buildroot-2022.02.1/package/python-parso/python-parso.hash new file mode 100644 index 00000000..67e77a16 --- /dev/null +++ b/buildroot-2022.02.1/package/python-parso/python-parso.hash @@ -0,0 +1,7 @@ +# md5, sha256 from https://pypi.org/pypi/parso/json +md5 7ee251113f31f8d851c4a5d9e98977cb parso-0.8.3.tar.gz +sha256 8c07be290bb59f03588915921e29e8a50002acaf2cdc5fa0e0114f91709fafa0 parso-0.8.3.tar.gz +# Locally computed sha256 checksums +sha256 fa67973073753d17624caf8684d5ee816d70c89d912c5bca7ca0f08e7b150edb LICENSE.txt +sha256 9c1e620a5cf8e74fe81c1fd4c55e9cc0b189fc04e677cfc7ef915de746c3f59e docs/_themes/flask/LICENSE +sha256 368780dd953e09148834e8d8c6cc1b09b3d621e77dbd1c4f5e8873561acda873 test/normalizer_issue_files/LICENSE diff --git a/buildroot-2022.02.1/package/python-parso/python-parso.mk b/buildroot-2022.02.1/package/python-parso/python-parso.mk new file mode 100644 index 00000000..ce1d3401 --- /dev/null +++ b/buildroot-2022.02.1/package/python-parso/python-parso.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-parso +# +################################################################################ + +PYTHON_PARSO_VERSION = 0.8.3 +PYTHON_PARSO_SOURCE = parso-$(PYTHON_PARSO_VERSION).tar.gz +PYTHON_PARSO_SITE = https://files.pythonhosted.org/packages/a2/0e/41f0cca4b85a6ea74d66d2226a7cda8e41206a624f5b330b958ef48e2e52 +PYTHON_PARSO_SETUP_TYPE = setuptools +PYTHON_PARSO_LICENSE = MIT, Python-2.0, BSD-3-Clause (flask theme) +PYTHON_PARSO_LICENSE_FILES = LICENSE.txt docs/_themes/flask/LICENSE test/normalizer_issue_files/LICENSE +PYTHON_PARSO_CPE_ID_VENDOR = parso_project +PYTHON_PARSO_CPE_ID_PRODUCT = parso + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-passlib/Config.in b/buildroot-2022.02.1/package/python-passlib/Config.in new file mode 100644 index 00000000..ed4097c5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-passlib/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PASSLIB + bool "python-passlib" + help + comprehensive password hashing framework supporting over 30 + schemes. + + https://passlib.readthedocs.io diff --git a/buildroot-2022.02.1/package/python-passlib/python-passlib.hash b/buildroot-2022.02.1/package/python-passlib/python-passlib.hash new file mode 100644 index 00000000..c0652865 --- /dev/null +++ b/buildroot-2022.02.1/package/python-passlib/python-passlib.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/passlib/json +md5 3a229cbd00dfb33e99885b43325e0591 passlib-1.7.4.tar.gz +sha256 defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04 passlib-1.7.4.tar.gz +# Locally computed sha256 checksums +sha256 a95ba8f1af88ff8d5f0d0c33519f430b7f9d8992b69d4bc369ac0423a7a05a89 LICENSE diff --git a/buildroot-2022.02.1/package/python-passlib/python-passlib.mk b/buildroot-2022.02.1/package/python-passlib/python-passlib.mk new file mode 100644 index 00000000..013fec74 --- /dev/null +++ b/buildroot-2022.02.1/package/python-passlib/python-passlib.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-passlib +# +################################################################################ + +PYTHON_PASSLIB_VERSION = 1.7.4 +PYTHON_PASSLIB_SOURCE = passlib-$(PYTHON_PASSLIB_VERSION).tar.gz +PYTHON_PASSLIB_SITE = https://files.pythonhosted.org/packages/b6/06/9da9ee59a67fae7761aab3ccc84fa4f3f33f125b370f1ccdb915bf967c11 +PYTHON_PASSLIB_SETUP_TYPE = setuptools +PYTHON_PASSLIB_LICENSE = BSD-3-Clause +PYTHON_PASSLIB_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pathpy/Config.in b/buildroot-2022.02.1/package/python-pathpy/Config.in new file mode 100644 index 00000000..98c05126 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pathpy/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PATHPY + bool "python-pathpy" + help + path.py implements a path objects as first-class + entities, allowing common operations on files to + be invoked on those path objects directly. + + https://github.com/jaraco/path.py diff --git a/buildroot-2021.05/package/python-pathpy/python-pathpy.hash b/buildroot-2022.02.1/package/python-pathpy/python-pathpy.hash similarity index 100% rename from buildroot-2021.05/package/python-pathpy/python-pathpy.hash rename to buildroot-2022.02.1/package/python-pathpy/python-pathpy.hash diff --git a/buildroot-2021.05/package/python-pathpy/python-pathpy.mk b/buildroot-2022.02.1/package/python-pathpy/python-pathpy.mk similarity index 100% rename from buildroot-2021.05/package/python-pathpy/python-pathpy.mk rename to buildroot-2022.02.1/package/python-pathpy/python-pathpy.mk diff --git a/buildroot-2021.05/package/python-pathtools/Config.in b/buildroot-2022.02.1/package/python-pathtools/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pathtools/Config.in rename to buildroot-2022.02.1/package/python-pathtools/Config.in diff --git a/buildroot-2021.05/package/python-pathtools/python-pathtools.hash b/buildroot-2022.02.1/package/python-pathtools/python-pathtools.hash similarity index 100% rename from buildroot-2021.05/package/python-pathtools/python-pathtools.hash rename to buildroot-2022.02.1/package/python-pathtools/python-pathtools.hash diff --git a/buildroot-2021.05/package/python-pathtools/python-pathtools.mk b/buildroot-2022.02.1/package/python-pathtools/python-pathtools.mk similarity index 100% rename from buildroot-2021.05/package/python-pathtools/python-pathtools.mk rename to buildroot-2022.02.1/package/python-pathtools/python-pathtools.mk diff --git a/buildroot-2021.05/package/python-pathvalidate/Config.in b/buildroot-2022.02.1/package/python-pathvalidate/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pathvalidate/Config.in rename to buildroot-2022.02.1/package/python-pathvalidate/Config.in diff --git a/buildroot-2022.02.1/package/python-pathvalidate/python-pathvalidate.hash b/buildroot-2022.02.1/package/python-pathvalidate/python-pathvalidate.hash new file mode 100644 index 00000000..adf1a75d --- /dev/null +++ b/buildroot-2022.02.1/package/python-pathvalidate/python-pathvalidate.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pathvalidate/json +md5 afc0343cd8c4ad732431a8b860d73330 pathvalidate-2.5.0.tar.gz +sha256 119ba36be7e9a405d704c7b7aea4b871c757c53c9adc0ed64f40be1ed8da2781 pathvalidate-2.5.0.tar.gz +# Locally computed sha256 checksums +sha256 a93d75bcb0774e2990106380cadad6dcb2de193c55d435ffc56ba345a08b1dc2 LICENSE diff --git a/buildroot-2022.02.1/package/python-pathvalidate/python-pathvalidate.mk b/buildroot-2022.02.1/package/python-pathvalidate/python-pathvalidate.mk new file mode 100644 index 00000000..bb434f36 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pathvalidate/python-pathvalidate.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pathvalidate +# +################################################################################ + +PYTHON_PATHVALIDATE_VERSION = 2.5.0 +PYTHON_PATHVALIDATE_SOURCE = pathvalidate-$(PYTHON_PATHVALIDATE_VERSION).tar.gz +PYTHON_PATHVALIDATE_SITE = https://files.pythonhosted.org/packages/2e/89/7853a1ea323e848ab1e90c8930733bc19e35a935deb80d78b572c36ea33f +PYTHON_PATHVALIDATE_SETUP_TYPE = setuptools +PYTHON_PATHVALIDATE_LICENSE = MIT +PYTHON_PATHVALIDATE_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pbr/python-pbr.hash b/buildroot-2022.02.1/package/python-pbr/python-pbr.hash new file mode 100644 index 00000000..8cf2a18d --- /dev/null +++ b/buildroot-2022.02.1/package/python-pbr/python-pbr.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/pbr/json +md5 62565acc6bf3e7e10b082463421f8b46 pbr-5.6.0.tar.gz +sha256 42df03e7797b796625b1029c0400279c7c34fd7df24a7d7818a1abb5b38710dd pbr-5.6.0.tar.gz +# Locally computed sha256 checksums +sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 LICENSE +sha256 eb4a8c8791f6caab1cf36df26db2b6f4e2ddda52657b060ff7f02abc63910aef pbr/tests/testpackage/LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-pbr/python-pbr.mk b/buildroot-2022.02.1/package/python-pbr/python-pbr.mk new file mode 100644 index 00000000..3cc7ab81 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pbr/python-pbr.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pbr +# +################################################################################ + +PYTHON_PBR_VERSION = 5.6.0 +PYTHON_PBR_SOURCE = pbr-$(PYTHON_PBR_VERSION).tar.gz +PYTHON_PBR_SITE = https://files.pythonhosted.org/packages/35/8c/69ed04ae31ad498c9bdea55766ed4c0c72de596e75ac0d70b58aa25e0acf +PYTHON_PBR_SETUP_TYPE = setuptools +PYTHON_PBR_LICENSE = Apache-2.0 (module), BSD-3-Clause (test package) +PYTHON_PBR_LICENSE_FILES = LICENSE pbr/tests/testpackage/LICENSE.txt + +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-pep517/python-pep517.hash b/buildroot-2022.02.1/package/python-pep517/python-pep517.hash new file mode 100644 index 00000000..4dd4c47f --- /dev/null +++ b/buildroot-2022.02.1/package/python-pep517/python-pep517.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pep517/json +md5 7ed0adb5f737c316e071d48d66329a5d pep517-0.12.0.tar.gz +sha256 931378d93d11b298cf511dd634cf5ea4cb249a28ef84160b3247ee9afb4e8ab0 pep517-0.12.0.tar.gz +# Locally computed sha256 checksums +sha256 1b22b049b5267d6dfc23a67bf4a84d8ec04b9fdfb1a51d360e42b4342c8b4154 LICENSE diff --git a/buildroot-2022.02.1/package/python-pep517/python-pep517.mk b/buildroot-2022.02.1/package/python-pep517/python-pep517.mk new file mode 100644 index 00000000..99aa62d5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pep517/python-pep517.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pep517 +# +################################################################################ + +PYTHON_PEP517_VERSION = 0.12.0 +PYTHON_PEP517_SOURCE = pep517-$(PYTHON_PEP517_VERSION).tar.gz +PYTHON_PEP517_SITE = https://files.pythonhosted.org/packages/0a/65/6e656d49c679136edfba25f25791f45ffe1ea4ae2ec1c59fe9c35e061cd1 +PYTHON_PEP517_LICENSE = MIT +PYTHON_PEP517_LICENSE_FILES = LICENSE +PYTHON_PEP517_SETUP_TYPE = distutils +HOST_PYTHON_PEP517_DEPENDENCIES = host-python-tomli + +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-periphery/Config.in b/buildroot-2022.02.1/package/python-periphery/Config.in similarity index 100% rename from buildroot-2021.05/package/python-periphery/Config.in rename to buildroot-2022.02.1/package/python-periphery/Config.in diff --git a/buildroot-2021.05/package/python-periphery/python-periphery.hash b/buildroot-2022.02.1/package/python-periphery/python-periphery.hash similarity index 100% rename from buildroot-2021.05/package/python-periphery/python-periphery.hash rename to buildroot-2022.02.1/package/python-periphery/python-periphery.hash diff --git a/buildroot-2021.05/package/python-periphery/python-periphery.mk b/buildroot-2022.02.1/package/python-periphery/python-periphery.mk similarity index 100% rename from buildroot-2021.05/package/python-periphery/python-periphery.mk rename to buildroot-2022.02.1/package/python-periphery/python-periphery.mk diff --git a/buildroot-2021.05/package/python-pexpect/Config.in b/buildroot-2022.02.1/package/python-pexpect/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pexpect/Config.in rename to buildroot-2022.02.1/package/python-pexpect/Config.in diff --git a/buildroot-2021.05/package/python-pexpect/python-pexpect.hash b/buildroot-2022.02.1/package/python-pexpect/python-pexpect.hash similarity index 100% rename from buildroot-2021.05/package/python-pexpect/python-pexpect.hash rename to buildroot-2022.02.1/package/python-pexpect/python-pexpect.hash diff --git a/buildroot-2022.02.1/package/python-pexpect/python-pexpect.mk b/buildroot-2022.02.1/package/python-pexpect/python-pexpect.mk new file mode 100644 index 00000000..3efda268 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pexpect/python-pexpect.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pexpect +# +################################################################################ + +PYTHON_PEXPECT_VERSION = 4.8.0 +PYTHON_PEXPECT_SOURCE = pexpect-$(PYTHON_PEXPECT_VERSION).tar.gz +PYTHON_PEXPECT_SITE = https://files.pythonhosted.org/packages/e5/9b/ff402e0e930e70467a7178abb7c128709a30dfb22d8777c043e501bc1b10 +PYTHON_PEXPECT_LICENSE = ISC +PYTHON_PEXPECT_LICENSE_FILES = LICENSE +PYTHON_PEXPECT_SETUP_TYPE = distutils + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pickleshare/Config.in b/buildroot-2022.02.1/package/python-pickleshare/Config.in new file mode 100644 index 00000000..18391b7c --- /dev/null +++ b/buildroot-2022.02.1/package/python-pickleshare/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PICKLESHARE + bool "python-pickleshare" + help + Tiny 'shelve'-like database with concurrency support + + https://pypi.python.org/pypi/pickleshare diff --git a/buildroot-2021.05/package/python-pickleshare/python-pickleshare.hash b/buildroot-2022.02.1/package/python-pickleshare/python-pickleshare.hash similarity index 100% rename from buildroot-2021.05/package/python-pickleshare/python-pickleshare.hash rename to buildroot-2022.02.1/package/python-pickleshare/python-pickleshare.hash diff --git a/buildroot-2021.05/package/python-pickleshare/python-pickleshare.mk b/buildroot-2022.02.1/package/python-pickleshare/python-pickleshare.mk similarity index 100% rename from buildroot-2021.05/package/python-pickleshare/python-pickleshare.mk rename to buildroot-2022.02.1/package/python-pickleshare/python-pickleshare.mk diff --git a/buildroot-2022.02.1/package/python-piexif/Config.in b/buildroot-2022.02.1/package/python-piexif/Config.in new file mode 100644 index 00000000..1c8c31b9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-piexif/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_PIEXIF + bool "python-piexif" + help + Piexif simplifies interacting with EXIF data in Python. It + includes the tools necessary for extracting, creating, + manipulating, converting and writing EXIF data to JPEG, WebP + and TIFF files. + + https://github.com/hMatoba/Piexif diff --git a/buildroot-2021.05/package/python-piexif/python-piexif.hash b/buildroot-2022.02.1/package/python-piexif/python-piexif.hash similarity index 100% rename from buildroot-2021.05/package/python-piexif/python-piexif.hash rename to buildroot-2022.02.1/package/python-piexif/python-piexif.hash diff --git a/buildroot-2021.05/package/python-piexif/python-piexif.mk b/buildroot-2022.02.1/package/python-piexif/python-piexif.mk similarity index 100% rename from buildroot-2021.05/package/python-piexif/python-piexif.mk rename to buildroot-2022.02.1/package/python-piexif/python-piexif.mk diff --git a/buildroot-2021.05/package/python-pigpio/Config.in b/buildroot-2022.02.1/package/python-pigpio/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pigpio/Config.in rename to buildroot-2022.02.1/package/python-pigpio/Config.in diff --git a/buildroot-2021.05/package/python-pigpio/python-pigpio.hash b/buildroot-2022.02.1/package/python-pigpio/python-pigpio.hash similarity index 100% rename from buildroot-2021.05/package/python-pigpio/python-pigpio.hash rename to buildroot-2022.02.1/package/python-pigpio/python-pigpio.hash diff --git a/buildroot-2021.05/package/python-pigpio/python-pigpio.mk b/buildroot-2022.02.1/package/python-pigpio/python-pigpio.mk similarity index 100% rename from buildroot-2021.05/package/python-pigpio/python-pigpio.mk rename to buildroot-2022.02.1/package/python-pigpio/python-pigpio.mk diff --git a/buildroot-2022.02.1/package/python-pillow/Config.in b/buildroot-2022.02.1/package/python-pillow/Config.in new file mode 100644 index 00000000..126cb452 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pillow/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_PYTHON_PILLOW + bool "python-pillow" + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_ZLIB + help + Pillow is the "friendly" PIL fork by Alex Clark and + Contributors. PIL is the Python Imaging Library by Fredrik + Lundh and Contributors. + + Pillow relies on external libraries to provide support + various image formats. Select the corresponding package(s) + to get this support. Pillow can use jpeg, zlib (for PNG), + tiff, freetype, webp, and openjpeg (JPEG-2000). + + https://pypi.python.org/pypi/Pillow/ diff --git a/buildroot-2022.02.1/package/python-pillow/python-pillow.hash b/buildroot-2022.02.1/package/python-pillow/python-pillow.hash new file mode 100644 index 00000000..88a5d7ca --- /dev/null +++ b/buildroot-2022.02.1/package/python-pillow/python-pillow.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/pillow/json +md5 8deffccb4f402df154fd2fd504d8487c Pillow-9.0.1.tar.gz +sha256 6c8bc8238a7dfdaf7a75f5ec5a663f4173f8c367e5a39f87e720495e1eed75fa Pillow-9.0.1.tar.gz + +# Locally computed sha256 checksums +sha256 a6554cb737ba6c9b47d3301f78de03b4ed0d3f08d6cf9400714f3d4c894f6943 LICENSE diff --git a/buildroot-2022.02.1/package/python-pillow/python-pillow.mk b/buildroot-2022.02.1/package/python-pillow/python-pillow.mk new file mode 100644 index 00000000..901876e0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pillow/python-pillow.mk @@ -0,0 +1,89 @@ +################################################################################ +# +# python-pillow +# +################################################################################ + +PYTHON_PILLOW_VERSION = 9.0.1 +PYTHON_PILLOW_SITE = https://files.pythonhosted.org/packages/03/a3/f61a9a7ff7969cdef2a6e0383a346eb327495d20d25a2de5a088dbb543a6 +PYTHON_PILLOW_SOURCE = Pillow-$(PYTHON_PILLOW_VERSION).tar.gz +PYTHON_PILLOW_LICENSE = HPND +PYTHON_PILLOW_LICENSE_FILES = LICENSE +PYTHON_PILLOW_CPE_ID_VENDOR = python +PYTHON_PILLOW_CPE_ID_PRODUCT = pillow +PYTHON_PILLOW_SETUP_TYPE = setuptools +PYTHON_PILLOW_BUILD_OPTS = --disable-platform-guessing + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +PYTHON_PILLOW_DEPENDENCIES += freetype +PYTHON_PILLOW_BUILD_OPTS += --enable-freetype +else +PYTHON_PILLOW_BUILD_OPTS += --disable-freetype +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +PYTHON_PILLOW_DEPENDENCIES += jpeg +PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg +else +PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +PYTHON_PILLOW_DEPENDENCIES += lcms2 +PYTHON_PILLOW_BUILD_OPTS += --enable-lcms +else +PYTHON_PILLOW_BUILD_OPTS += --disable-lcms +endif + +ifeq ($(BR2_PACKAGE_LIBXCB),y) +PYTHON_PILLOW_DEPENDENCIES += libxcb +PYTHON_PILLOW_BUILD_OPTS += --enable-xcb +else +PYTHON_PILLOW_BUILD_OPTS += --disable-xcb +endif + +ifeq ($(BR2_PACKAGE_OPENJPEG),y) +PYTHON_PILLOW_DEPENDENCIES += openjpeg +PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000 +else +PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg2000 +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +PYTHON_PILLOW_DEPENDENCIES += tiff +PYTHON_PILLOW_BUILD_OPTS += --enable-tiff +else +PYTHON_PILLOW_BUILD_OPTS += --disable-tiff +endif + +ifeq ($(BR2_PACKAGE_WEBP),y) +PYTHON_PILLOW_DEPENDENCIES += webp +PYTHON_PILLOW_BUILD_OPTS += --enable-webp +ifeq ($(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yy) +PYTHON_PILLOW_BUILD_OPTS += --enable-webpmux +else +PYTHON_PILLOW_BUILD_OPTS += --disable-webpmux +endif +else +PYTHON_PILLOW_BUILD_OPTS += --disable-webp --disable-webpmux +endif + +define PYTHON_PILLOW_BUILD_CMDS + cd $(PYTHON_PILLOW_BUILDDIR); \ + PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ + $(PYTHON_PILLOW_BASE_ENV) $(PYTHON_PILLOW_ENV) \ + $(PYTHON_PILLOW_PYTHON_INTERPRETER) setup.py build_ext \ + $(PYTHON_PILLOW_BASE_BUILD_OPTS) $(PYTHON_PILLOW_BUILD_OPTS) +endef + +define PYTHON_PILLOW_INSTALL_TARGET_CMDS + cd $(PYTHON_PILLOW_BUILDDIR); \ + PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ + $(PYTHON_PILLOW_BASE_ENV) $(PYTHON_PILLOW_ENV) \ + $(PYTHON_PILLOW_PYTHON_INTERPRETER) setup.py build_ext \ + $(PYTHON_PILLOW_BUILD_OPTS) install \ + $(PYTHON_PILLOW_BASE_INSTALL_TARGET_OPTS) \ + $(PYTHON_PILLOW_INSTALL_TARGET_OPTS) +endef + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pip/Config.in b/buildroot-2022.02.1/package/python-pip/Config.in new file mode 100644 index 00000000..805dc015 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pip/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PIP + bool "python-pip" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON3_SSL + help + The PyPA recommended tool for installing Python packages. + + https://pip.pypa.io/ diff --git a/buildroot-2022.02.1/package/python-pip/python-pip.hash b/buildroot-2022.02.1/package/python-pip/python-pip.hash new file mode 100644 index 00000000..69214110 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pip/python-pip.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pip/json +md5 efbdb4201a5e6383fb4d12e26f78f355 pip-21.2.4.tar.gz +sha256 0eb8a1516c3d138ae8689c0c1a60fde7143310832f9dc77e11d8a4bc62de193b pip-21.2.4.tar.gz +# Locally computed sha256 checksums +sha256 23a7361c2b1581028bc623b9da2bd24997abcaa4781ace6ad444a37944f8dae1 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-pip/python-pip.mk b/buildroot-2022.02.1/package/python-pip/python-pip.mk new file mode 100644 index 00000000..81fc87d5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pip/python-pip.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-pip +# +################################################################################ + +PYTHON_PIP_VERSION = 21.2.4 +PYTHON_PIP_SOURCE = pip-$(PYTHON_PIP_VERSION).tar.gz +PYTHON_PIP_SITE = https://files.pythonhosted.org/packages/52/e1/06c018197d8151383f66ebf6979d951995cf495629fc54149491f5d157d0 +PYTHON_PIP_SETUP_TYPE = setuptools +PYTHON_PIP_LICENSE = MIT +PYTHON_PIP_LICENSE_FILES = LICENSE.txt +PYTHON_PIP_CPE_ID_VENDOR = pypa +PYTHON_PIP_CPE_ID_PRODUCT = pip + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pluggy/Config.in b/buildroot-2022.02.1/package/python-pluggy/Config.in new file mode 100644 index 00000000..35b18c82 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pluggy/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PLUGGY + bool "python-pluggy" + help + plugin and hook calling mechanisms for python. + + https://github.com/pytest-dev/pluggy diff --git a/buildroot-2022.02.1/package/python-pluggy/python-pluggy.hash b/buildroot-2022.02.1/package/python-pluggy/python-pluggy.hash new file mode 100644 index 00000000..39f172a8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pluggy/python-pluggy.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pluggy/json +md5 daa6fddfb6cd364f3c82e52098911e4b pluggy-1.0.0.tar.gz +sha256 4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159 pluggy-1.0.0.tar.gz +# Locally computed sha256 checksums +sha256 d6b65e6c213a5d0b577911d34d6e5949b9f59d76c238c5071a2f3fc16cfb2606 LICENSE diff --git a/buildroot-2022.02.1/package/python-pluggy/python-pluggy.mk b/buildroot-2022.02.1/package/python-pluggy/python-pluggy.mk new file mode 100644 index 00000000..59382518 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pluggy/python-pluggy.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pluggy +# +################################################################################ + +PYTHON_PLUGGY_VERSION = 1.0.0 +PYTHON_PLUGGY_SOURCE = pluggy-$(PYTHON_PLUGGY_VERSION).tar.gz +PYTHON_PLUGGY_SITE = https://files.pythonhosted.org/packages/a1/16/db2d7de3474b6e37cbb9c008965ee63835bba517e22cdb8c35b5116b5ce1 +PYTHON_PLUGGY_SETUP_TYPE = setuptools +PYTHON_PLUGGY_LICENSE = MIT +PYTHON_PLUGGY_LICENSE_FILES = LICENSE +PYTHON_PLUGGY_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ply/Config.in b/buildroot-2022.02.1/package/python-ply/Config.in similarity index 100% rename from buildroot-2021.05/package/python-ply/Config.in rename to buildroot-2022.02.1/package/python-ply/Config.in diff --git a/buildroot-2021.05/package/python-ply/python-ply.hash b/buildroot-2022.02.1/package/python-ply/python-ply.hash similarity index 100% rename from buildroot-2021.05/package/python-ply/python-ply.hash rename to buildroot-2022.02.1/package/python-ply/python-ply.hash diff --git a/buildroot-2022.02.1/package/python-ply/python-ply.mk b/buildroot-2022.02.1/package/python-ply/python-ply.mk new file mode 100644 index 00000000..5dc7964d --- /dev/null +++ b/buildroot-2022.02.1/package/python-ply/python-ply.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-ply +# +################################################################################ + +PYTHON_PLY_VERSION = 3.11 +PYTHON_PLY_SOURCE = ply-$(PYTHON_PLY_VERSION).tar.gz +PYTHON_PLY_SITE = https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da +PYTHON_PLY_SETUP_TYPE = setuptools +PYTHON_PLY_LICENSE = BSD-3-Clause +PYTHON_PLY_LICENSE_FILES = README.md + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-portend/Config.in b/buildroot-2022.02.1/package/python-portend/Config.in new file mode 100644 index 00000000..6b21078c --- /dev/null +++ b/buildroot-2022.02.1/package/python-portend/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PORTEND + bool "python-portend" + select BR2_PACKAGE_PYTHON_TEMPORA # runtime + help + TCP port monitoring utilities. + + https://github.com/jaraco/portend diff --git a/buildroot-2021.05/package/python-portend/python-portend.hash b/buildroot-2022.02.1/package/python-portend/python-portend.hash similarity index 100% rename from buildroot-2021.05/package/python-portend/python-portend.hash rename to buildroot-2022.02.1/package/python-portend/python-portend.hash diff --git a/buildroot-2021.05/package/python-portend/python-portend.mk b/buildroot-2022.02.1/package/python-portend/python-portend.mk similarity index 100% rename from buildroot-2021.05/package/python-portend/python-portend.mk rename to buildroot-2022.02.1/package/python-portend/python-portend.mk diff --git a/buildroot-2021.05/package/python-posix-ipc/Config.in b/buildroot-2022.02.1/package/python-posix-ipc/Config.in similarity index 100% rename from buildroot-2021.05/package/python-posix-ipc/Config.in rename to buildroot-2022.02.1/package/python-posix-ipc/Config.in diff --git a/buildroot-2022.02.1/package/python-posix-ipc/python-posix-ipc.hash b/buildroot-2022.02.1/package/python-posix-ipc/python-posix-ipc.hash new file mode 100644 index 00000000..4258af63 --- /dev/null +++ b/buildroot-2022.02.1/package/python-posix-ipc/python-posix-ipc.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/posix-ipc/json +md5 8c9443859492ecf3aae9182aa6b5c78c posix_ipc-1.0.5.tar.gz +sha256 6cddb1ce2cf4aae383f2a0079c26c69bee257fe2720f372201ef047f8ceb8b97 posix_ipc-1.0.5.tar.gz +# Locally computed sha256 checksums +sha256 61f0669e70518e6d32f87e485965fe9309de60e4bef938b29cecd068b3db9a98 LICENSE diff --git a/buildroot-2022.02.1/package/python-posix-ipc/python-posix-ipc.mk b/buildroot-2022.02.1/package/python-posix-ipc/python-posix-ipc.mk new file mode 100644 index 00000000..359dee6d --- /dev/null +++ b/buildroot-2022.02.1/package/python-posix-ipc/python-posix-ipc.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-posix-ipc +# +################################################################################ + +PYTHON_POSIX_IPC_VERSION = 1.0.5 +PYTHON_POSIX_IPC_SOURCE = posix_ipc-$(PYTHON_POSIX_IPC_VERSION).tar.gz +PYTHON_POSIX_IPC_SITE = https://files.pythonhosted.org/packages/bc/2f/9a7901aa26fb0e02a671b989ba814d059a0f45af85cea31b9c9eef7e2dda +PYTHON_POSIX_IPC_LICENSE = BSD-3-Clause +PYTHON_POSIX_IPC_LICENSE_FILES = LICENSE +PYTHON_POSIX_IPC_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-priority/Config.in b/buildroot-2022.02.1/package/python-priority/Config.in similarity index 100% rename from buildroot-2021.05/package/python-priority/Config.in rename to buildroot-2022.02.1/package/python-priority/Config.in diff --git a/buildroot-2022.02.1/package/python-priority/python-priority.hash b/buildroot-2022.02.1/package/python-priority/python-priority.hash new file mode 100644 index 00000000..88fc9ada --- /dev/null +++ b/buildroot-2022.02.1/package/python-priority/python-priority.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/priority/json +md5 149531bf0e754782cf218bfc8cc994ae priority-2.0.0.tar.gz +sha256 c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0 priority-2.0.0.tar.gz +# Locally computed sha256 checksums +sha256 f3e9c29e3db36dc305a4be68a8a225f93949852ce2d19b5b0a3c099eee6509c5 LICENSE diff --git a/buildroot-2022.02.1/package/python-priority/python-priority.mk b/buildroot-2022.02.1/package/python-priority/python-priority.mk new file mode 100644 index 00000000..6e141c3e --- /dev/null +++ b/buildroot-2022.02.1/package/python-priority/python-priority.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-priority +# +################################################################################ + +PYTHON_PRIORITY_VERSION = 2.0.0 +PYTHON_PRIORITY_SOURCE = priority-$(PYTHON_PRIORITY_VERSION).tar.gz +PYTHON_PRIORITY_SITE = https://files.pythonhosted.org/packages/f5/3c/eb7c35f4dcede96fca1842dac5f4f5d15511aa4b52f3a961219e68ae9204 +PYTHON_PRIORITY_SETUP_TYPE = setuptools +PYTHON_PRIORITY_LICENSE = MIT +PYTHON_PRIORITY_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-prompt-toolkit/Config.in b/buildroot-2022.02.1/package/python-prompt-toolkit/Config.in new file mode 100644 index 00000000..ad4f8162 --- /dev/null +++ b/buildroot-2022.02.1/package/python-prompt-toolkit/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT + bool "python-prompt-toolkit" + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_WCWIDTH # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + help + Library for building powerful interactive command lines in + Python. + + https://github.com/prompt-toolkit/python-prompt-toolkit diff --git a/buildroot-2022.02.1/package/python-prompt-toolkit/python-prompt-toolkit.hash b/buildroot-2022.02.1/package/python-prompt-toolkit/python-prompt-toolkit.hash new file mode 100644 index 00000000..5a24634a --- /dev/null +++ b/buildroot-2022.02.1/package/python-prompt-toolkit/python-prompt-toolkit.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/prompt-toolkit/json +md5 ba9e63c3e7e5a4f4ce4e4770a4daba96 prompt_toolkit-3.0.20.tar.gz +sha256 eb71d5a6b72ce6db177af4a7d4d7085b99756bf656d98ffcc4fecd36850eea6c prompt_toolkit-3.0.20.tar.gz +# Locally computed sha256 checksums +sha256 303574d9bdd85c757d6025017942bf17baeedf2778f62bd7f425d07d880f4c4a LICENSE diff --git a/buildroot-2022.02.1/package/python-prompt-toolkit/python-prompt-toolkit.mk b/buildroot-2022.02.1/package/python-prompt-toolkit/python-prompt-toolkit.mk new file mode 100644 index 00000000..b575783f --- /dev/null +++ b/buildroot-2022.02.1/package/python-prompt-toolkit/python-prompt-toolkit.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-prompt-toolkit +# +################################################################################ + +PYTHON_PROMPT_TOOLKIT_VERSION = 3.0.20 +PYTHON_PROMPT_TOOLKIT_SOURCE = prompt_toolkit-$(PYTHON_PROMPT_TOOLKIT_VERSION).tar.gz +PYTHON_PROMPT_TOOLKIT_SITE = https://files.pythonhosted.org/packages/b4/56/9ab5868f34ab2657fba7e2192f41316252ab04edbbeb2a8583759960a1a7 +PYTHON_PROMPT_TOOLKIT_SETUP_TYPE = setuptools +PYTHON_PROMPT_TOOLKIT_LICENSE = BSD-3-Clause +PYTHON_PROMPT_TOOLKIT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-protobuf/Config.in b/buildroot-2022.02.1/package/python-protobuf/Config.in similarity index 100% rename from buildroot-2021.05/package/python-protobuf/Config.in rename to buildroot-2022.02.1/package/python-protobuf/Config.in diff --git a/buildroot-2022.02.1/package/python-protobuf/python-protobuf.hash b/buildroot-2022.02.1/package/python-protobuf/python-protobuf.hash new file mode 100644 index 00000000..2bfef966 --- /dev/null +++ b/buildroot-2022.02.1/package/python-protobuf/python-protobuf.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 2286615a3ae3e24c3524d171b6728b77b72cd2f3aab905f6a8d3fcaf6209dd00 protobuf-python-3.19.1.tar.gz +sha256 6e5e117324afd944dcf67f36cf329843bc1a92229a8cd9bb573d7a83130fea7d LICENSE diff --git a/buildroot-2021.05/package/python-protobuf/python-protobuf.mk b/buildroot-2022.02.1/package/python-protobuf/python-protobuf.mk similarity index 100% rename from buildroot-2021.05/package/python-protobuf/python-protobuf.mk rename to buildroot-2022.02.1/package/python-protobuf/python-protobuf.mk diff --git a/buildroot-2021.05/package/python-psutil/Config.in b/buildroot-2022.02.1/package/python-psutil/Config.in similarity index 100% rename from buildroot-2021.05/package/python-psutil/Config.in rename to buildroot-2022.02.1/package/python-psutil/Config.in diff --git a/buildroot-2022.02.1/package/python-psutil/python-psutil.hash b/buildroot-2022.02.1/package/python-psutil/python-psutil.hash new file mode 100644 index 00000000..552ced55 --- /dev/null +++ b/buildroot-2022.02.1/package/python-psutil/python-psutil.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/psutil/json +md5 91060da163ef478002a4456dd99cbb4c psutil-5.8.0.tar.gz +sha256 0c9ccb99ab76025f2f0bbecf341d4656e9c1351db8cc8a03ccd62e318ab4b5c6 psutil-5.8.0.tar.gz +# Locally computed sha256 checksums +sha256 24c12984500caa07ffdce19eebc06396c5e6d244b573bc6c438f4a6ef8e56c1b LICENSE diff --git a/buildroot-2022.02.1/package/python-psutil/python-psutil.mk b/buildroot-2022.02.1/package/python-psutil/python-psutil.mk new file mode 100644 index 00000000..3a2781c2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-psutil/python-psutil.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-psutil +# +################################################################################ + +PYTHON_PSUTIL_VERSION = 5.8.0 +PYTHON_PSUTIL_SOURCE = psutil-$(PYTHON_PSUTIL_VERSION).tar.gz +PYTHON_PSUTIL_SITE = https://files.pythonhosted.org/packages/e1/b0/7276de53321c12981717490516b7e612364f2cb372ee8901bd4a66a000d7 +PYTHON_PSUTIL_SETUP_TYPE = setuptools +PYTHON_PSUTIL_LICENSE = BSD-3-Clause +PYTHON_PSUTIL_LICENSE_FILES = LICENSE +PYTHON_PSUTIL_CPE_ID_VENDOR = psutil_project +PYTHON_PSUTIL_CPE_ID_PRODUCT = psutil + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-psycopg2/Config.in b/buildroot-2022.02.1/package/python-psycopg2/Config.in new file mode 100644 index 00000000..ec27d706 --- /dev/null +++ b/buildroot-2022.02.1/package/python-psycopg2/Config.in @@ -0,0 +1,26 @@ +config BR2_PACKAGE_PYTHON_PSYCOPG2 + bool "python-psycopg2" + depends on BR2_USE_WCHAR # postgresql + select BR2_PACKAGE_POSTGRESQL + help + Psycopg is the most popular PostgreSQL database adapter for + the Python programming language. Its main features are the + complete implementation of the Python DB API 2.0 specification + and the thread safety (several threads can share the same + connection). It was designed for heavily multi-threaded + applications that create and destroy lots of cursors and make + a large number of concurrent INSERTs or UPDATEs. + + Psycopg 2 is mostly implemented in C as a libpq wrapper, + resulting in being both efficient and secure. It features + client-side and server-side cursors, asynchronous + communication and notifications, COPY support. Many Python + types are supported out-of-the-box and adapted to matching + PostgreSQL data types; adaptation can be extended and + customized thanks to a flexible objects adaptation system. + Psycopg 2 is both Unicode and Python 3 friendly. + + http://initd.org/psycopg/ + +comment "python-psycopg2 needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/python-psycopg2/python-psycopg2.hash b/buildroot-2022.02.1/package/python-psycopg2/python-psycopg2.hash new file mode 100644 index 00000000..d02ffc2e --- /dev/null +++ b/buildroot-2022.02.1/package/python-psycopg2/python-psycopg2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/psycopg2/json +md5 182e3e8cf3381c254f65f70cad4976e5 psycopg2-2.9.1.tar.gz +sha256 de5303a6f1d0a7a34b9d40e4d3bef684ccc44a49bbe3eb85e3c0bffb4a131b7c psycopg2-2.9.1.tar.gz +# Locally computed sha256 checksums +sha256 9614b85dfc9a72c5b2ca33144c1d7e1ed3b1c297459d9fb28a6a5762c2e8d71b LICENSE diff --git a/buildroot-2022.02.1/package/python-psycopg2/python-psycopg2.mk b/buildroot-2022.02.1/package/python-psycopg2/python-psycopg2.mk new file mode 100644 index 00000000..de466e2c --- /dev/null +++ b/buildroot-2022.02.1/package/python-psycopg2/python-psycopg2.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# python-psycopg2 +# +################################################################################ + +PYTHON_PSYCOPG2_VERSION = 2.9.1 +PYTHON_PSYCOPG2_SOURCE = psycopg2-$(PYTHON_PSYCOPG2_VERSION).tar.gz +PYTHON_PSYCOPG2_SITE = https://files.pythonhosted.org/packages/aa/8a/7c80e7e44fb1b4277e89bd9ca509aefdd4dd1b2c547c6f293afe9f7ffd04 +PYTHON_PSYCOPG2_SETUP_TYPE = setuptools +PYTHON_PSYCOPG2_LICENSE = LGPL-3.0+ +PYTHON_PSYCOPG2_LICENSE_FILES = LICENSE +PYTHON_PSYCOPG2_DEPENDENCIES = postgresql +# Force psycopg2 to use the Buildroot provided postgresql version +# instead of the one from the host machine +PYTHON_PSYCOPG2_BUILD_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config +PYTHON_PSYCOPG2_INSTALL_TARGET_OPTS = build_ext --pg-config=$(STAGING_DIR)/usr/bin/pg_config + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ptyprocess/Config.in b/buildroot-2022.02.1/package/python-ptyprocess/Config.in similarity index 100% rename from buildroot-2021.05/package/python-ptyprocess/Config.in rename to buildroot-2022.02.1/package/python-ptyprocess/Config.in diff --git a/buildroot-2022.02.1/package/python-ptyprocess/python-ptyprocess.hash b/buildroot-2022.02.1/package/python-ptyprocess/python-ptyprocess.hash new file mode 100644 index 00000000..bbd24b33 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ptyprocess/python-ptyprocess.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/ptyprocess/json +md5 9da200c397cb1752209a6b718b6cfc68 ptyprocess-0.7.0.tar.gz +sha256 5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220 ptyprocess-0.7.0.tar.gz +# Locally computed sha256 checksums +sha256 c822d385b1a73329846241799becf18690b5d44764c1bed69300b536a405030a LICENSE diff --git a/buildroot-2022.02.1/package/python-ptyprocess/python-ptyprocess.mk b/buildroot-2022.02.1/package/python-ptyprocess/python-ptyprocess.mk new file mode 100644 index 00000000..d077fbb7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ptyprocess/python-ptyprocess.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-ptyprocess +# +################################################################################ + +PYTHON_PTYPROCESS_VERSION = 0.7.0 +PYTHON_PTYPROCESS_SITE = https://files.pythonhosted.org/packages/20/e5/16ff212c1e452235a90aeb09066144d0c5a6a8c0834397e03f5224495c4e +PYTHON_PTYPROCESS_SOURCE = ptyprocess-$(PYTHON_PTYPROCESS_VERSION).tar.gz +PYTHON_PTYPROCESS_LICENSE = ISC +PYTHON_PTYPROCESS_LICENSE_FILES = LICENSE +PYTHON_PTYPROCESS_SETUP_TYPE = distutils + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pudb/Config.in b/buildroot-2022.02.1/package/python-pudb/Config.in new file mode 100644 index 00000000..06f1b20c --- /dev/null +++ b/buildroot-2022.02.1/package/python-pudb/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_PUDB + bool "python-pudb" + select BR2_PACKAGE_PYTHON_URWID # runtime + select BR2_PACKAGE_PYTHON_JEDI # runtime + select BR2_PACKAGE_PYTHON_PYGMENTS # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON3_CURSES # runtime + help + A full-screen, console-based Python debugger. + + https://github.com/inducer/pudb diff --git a/buildroot-2022.02.1/package/python-pudb/python-pudb.hash b/buildroot-2022.02.1/package/python-pudb/python-pudb.hash new file mode 100644 index 00000000..fc19f589 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pudb/python-pudb.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pudb/json +md5 100b955e103b72279604420bbdcd07a5 pudb-2021.1.tar.gz +sha256 309ee82b45a0ffca0bc4c7f521fd3e357589c764f339bdf9dcabb7ad40692d6e pudb-2021.1.tar.gz +# Locally computed sha256 checksums +sha256 a95343fffff49cde3d9bf33cf6bb71cb3bf0ed83f47d98a7ba04b175d29c79ab LICENSE diff --git a/buildroot-2022.02.1/package/python-pudb/python-pudb.mk b/buildroot-2022.02.1/package/python-pudb/python-pudb.mk new file mode 100644 index 00000000..31df3147 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pudb/python-pudb.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pudb +# +################################################################################ + +PYTHON_PUDB_VERSION = 2021.1 +PYTHON_PUDB_SOURCE = pudb-$(PYTHON_PUDB_VERSION).tar.gz +PYTHON_PUDB_SITE = https://files.pythonhosted.org/packages/c7/69/813e93519fc28744457ff68fa2eaac3b4ea30dda1e6994e969fe9d3008d9 +PYTHON_PUDB_SETUP_TYPE = setuptools +PYTHON_PUDB_LICENSE = MIT +PYTHON_PUDB_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-py/Config.in b/buildroot-2022.02.1/package/python-py/Config.in similarity index 100% rename from buildroot-2021.05/package/python-py/Config.in rename to buildroot-2022.02.1/package/python-py/Config.in diff --git a/buildroot-2021.05/package/python-py/python-py.hash b/buildroot-2022.02.1/package/python-py/python-py.hash similarity index 100% rename from buildroot-2021.05/package/python-py/python-py.hash rename to buildroot-2022.02.1/package/python-py/python-py.hash diff --git a/buildroot-2021.05/package/python-py/python-py.mk b/buildroot-2022.02.1/package/python-py/python-py.mk similarity index 100% rename from buildroot-2021.05/package/python-py/python-py.mk rename to buildroot-2022.02.1/package/python-py/python-py.mk diff --git a/buildroot-2021.05/package/python-pyaes/Config.in b/buildroot-2022.02.1/package/python-pyaes/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyaes/Config.in rename to buildroot-2022.02.1/package/python-pyaes/Config.in diff --git a/buildroot-2021.05/package/python-pyaes/python-pyaes.hash b/buildroot-2022.02.1/package/python-pyaes/python-pyaes.hash similarity index 100% rename from buildroot-2021.05/package/python-pyaes/python-pyaes.hash rename to buildroot-2022.02.1/package/python-pyaes/python-pyaes.hash diff --git a/buildroot-2021.05/package/python-pyaes/python-pyaes.mk b/buildroot-2022.02.1/package/python-pyaes/python-pyaes.mk similarity index 100% rename from buildroot-2021.05/package/python-pyaes/python-pyaes.mk rename to buildroot-2022.02.1/package/python-pyaes/python-pyaes.mk diff --git a/buildroot-2021.05/package/python-pyalsa/Config.in b/buildroot-2022.02.1/package/python-pyalsa/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyalsa/Config.in rename to buildroot-2022.02.1/package/python-pyalsa/Config.in diff --git a/buildroot-2022.02.1/package/python-pyalsa/python-pyalsa.hash b/buildroot-2022.02.1/package/python-pyalsa/python-pyalsa.hash new file mode 100644 index 00000000..655150a6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyalsa/python-pyalsa.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 327b29bad57b049571e3d1f63281fdd21df27447cb5e2eadf46b737fbcff6e69 pyalsa-1.2.6.tar.bz2 diff --git a/buildroot-2022.02.1/package/python-pyalsa/python-pyalsa.mk b/buildroot-2022.02.1/package/python-pyalsa/python-pyalsa.mk new file mode 100644 index 00000000..10d5293c --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyalsa/python-pyalsa.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyalsa +# +################################################################################ + +PYTHON_PYALSA_VERSION = 1.2.6 +PYTHON_PYALSA_SOURCE = pyalsa-$(PYTHON_PYALSA_VERSION).tar.bz2 +PYTHON_PYALSA_SITE = ftp://ftp.alsa-project.org/pub/pyalsa +PYTHON_PYALSA_SETUP_TYPE = distutils +PYTHON_PYALSA_LICENSE = LGPL-2.1+ +PYTHON_PYALSA_DEPENDENCIES = alsa-lib + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyasn1-modules/Config.in b/buildroot-2022.02.1/package/python-pyasn1-modules/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyasn1-modules/Config.in rename to buildroot-2022.02.1/package/python-pyasn1-modules/Config.in diff --git a/buildroot-2021.05/package/python-pyasn1-modules/python-pyasn1-modules.hash b/buildroot-2022.02.1/package/python-pyasn1-modules/python-pyasn1-modules.hash similarity index 100% rename from buildroot-2021.05/package/python-pyasn1-modules/python-pyasn1-modules.hash rename to buildroot-2022.02.1/package/python-pyasn1-modules/python-pyasn1-modules.hash diff --git a/buildroot-2021.05/package/python-pyasn1-modules/python-pyasn1-modules.mk b/buildroot-2022.02.1/package/python-pyasn1-modules/python-pyasn1-modules.mk similarity index 100% rename from buildroot-2021.05/package/python-pyasn1-modules/python-pyasn1-modules.mk rename to buildroot-2022.02.1/package/python-pyasn1-modules/python-pyasn1-modules.mk diff --git a/buildroot-2021.05/package/python-pyasn1/Config.in b/buildroot-2022.02.1/package/python-pyasn1/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyasn1/Config.in rename to buildroot-2022.02.1/package/python-pyasn1/Config.in diff --git a/buildroot-2021.05/package/python-pyasn1/python-pyasn1.hash b/buildroot-2022.02.1/package/python-pyasn1/python-pyasn1.hash similarity index 100% rename from buildroot-2021.05/package/python-pyasn1/python-pyasn1.hash rename to buildroot-2022.02.1/package/python-pyasn1/python-pyasn1.hash diff --git a/buildroot-2021.05/package/python-pyasn1/python-pyasn1.mk b/buildroot-2022.02.1/package/python-pyasn1/python-pyasn1.mk similarity index 100% rename from buildroot-2021.05/package/python-pyasn1/python-pyasn1.mk rename to buildroot-2022.02.1/package/python-pyasn1/python-pyasn1.mk diff --git a/buildroot-2022.02.1/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch b/buildroot-2022.02.1/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch new file mode 100644 index 00000000..021321a9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pybind/0001-pybind11-commands.py-support-STAGING_DIR.patch @@ -0,0 +1,35 @@ +From bf9f0d619e2e0a424e471a2f9235d26ece5b348c Mon Sep 17 00:00:00 2001 +From: "Arnout Vandecappelle (Essensium/Mind)" +Date: Fri, 7 Jan 2022 19:32:18 +0100 +Subject: [PATCH] pybind11/commands.py: support STAGING_DIR + +In Buildroot, we install build-time python scripts in the host directory +(otherwise they can't be run with host python), but when running +pybind11 --includes it should return the staging directory. + +Patch commands.py to use the STAGING_DIR environment variable instead of +the current directory, if it is set. + +Signed-off-by: Arnout Vandecappelle (Essensium/Mind) +Upstream-Status: N/A, Buildroot specific +--- + pybind11/commands.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/pybind11/commands.py b/pybind11/commands.py +index 11f81d2..8c4876d 100644 +--- a/pybind11/commands.py ++++ b/pybind11/commands.py +@@ -1,7 +1,8 @@ + # -*- coding: utf-8 -*- + import os + +-DIR = os.path.abspath(os.path.dirname(__file__)) ++DIR = os.environ.get('STAGING_DIR') or \ ++ os.path.abspath(os.path.dirname(__file__)) + + + def get_include(user=False): +-- +2.31.1 + diff --git a/buildroot-2021.05/package/python-pybind/Config.in b/buildroot-2022.02.1/package/python-pybind/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pybind/Config.in rename to buildroot-2022.02.1/package/python-pybind/Config.in diff --git a/buildroot-2022.02.1/package/python-pybind/python-pybind.hash b/buildroot-2022.02.1/package/python-pybind/python-pybind.hash new file mode 100644 index 00000000..d5b4b482 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pybind/python-pybind.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 057fb68dafd972bc13afb855f3b0d8cf0fa1a78ef053e815d9af79be7ff567cb python-pybind-2.9.0.tar.gz +# License files, locally calculated +sha256 83965b843b98f670d3a85bd041ed4b372c8ec50d7b4a5995a83ac697ba675dcb LICENSE diff --git a/buildroot-2022.02.1/package/python-pybind/python-pybind.mk b/buildroot-2022.02.1/package/python-pybind/python-pybind.mk new file mode 100644 index 00000000..7448d246 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pybind/python-pybind.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# python-pybind +# +################################################################################ + +PYTHON_PYBIND_VERSION = 2.9.0 +PYTHON_PYBIND_SITE = $(call github,pybind,pybind11,v$(PYTHON_PYBIND_VERSION)) +PYTHON_PYBIND_LICENSE = BSD-3-Clause +PYTHON_PYBIND_LICENSE_FILES = LICENSE +PYTHON_PYBIND_INSTALL_STAGING = YES +PYTHON_PYBIND_INSTALL_TARGET = NO # Header-only library +PYTHON_PYBIND_DEPENDENCIES = python3 + +PYTHON_PYBIND_CONF_OPTS = \ + -DPYBIND11_INSTALL=ON \ + -DPYBIND11_TEST=OFF \ + -DPYBIND11_NOPYTHON=ON + +PYTHON_PYBIND_INSTALL_PATH = $(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/pybind11 + +define PYTHON_PYBIND_INSTALL_MODULE + mkdir -p $(PYTHON_PYBIND_INSTALL_PATH) + cp -dpf $(@D)/pybind11/*.py $(PYTHON_PYBIND_INSTALL_PATH) +endef +PYTHON_PYBIND_POST_INSTALL_STAGING_HOOKS += PYTHON_PYBIND_INSTALL_MODULE + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/python-pycairo/Config.in b/buildroot-2022.02.1/package/python-pycairo/Config.in new file mode 100644 index 00000000..0d8de977 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycairo/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYCAIRO + bool "python-pycairo" + select BR2_PACKAGE_CAIRO + help + Python interface for cairo. + + https://pycairo.readthedocs.io diff --git a/buildroot-2021.05/package/python-pycairo/python-pycairo.hash b/buildroot-2022.02.1/package/python-pycairo/python-pycairo.hash similarity index 100% rename from buildroot-2021.05/package/python-pycairo/python-pycairo.hash rename to buildroot-2022.02.1/package/python-pycairo/python-pycairo.hash diff --git a/buildroot-2021.05/package/python-pycairo/python-pycairo.mk b/buildroot-2022.02.1/package/python-pycairo/python-pycairo.mk similarity index 100% rename from buildroot-2021.05/package/python-pycairo/python-pycairo.mk rename to buildroot-2022.02.1/package/python-pycairo/python-pycairo.mk diff --git a/buildroot-2022.02.1/package/python-pycares/Config.in b/buildroot-2022.02.1/package/python-pycares/Config.in new file mode 100644 index 00000000..889e0943 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycares/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYCARES + bool "python-pycares" + select BR2_PACKAGE_PYTHON_CFFI # runtime + help + Python interface for c-ares. + + http://github.com/saghul/pycares diff --git a/buildroot-2022.02.1/package/python-pycares/python-pycares.hash b/buildroot-2022.02.1/package/python-pycares/python-pycares.hash new file mode 100644 index 00000000..85e0848b --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycares/python-pycares.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pycares/json +md5 9e66aa767a0afd681e2a797b835cad1d pycares-4.1.2.tar.gz +sha256 03490be0e7b51a0c8073f877bec347eff31003f64f57d9518d419d9369452837 pycares-4.1.2.tar.gz +# Locally computed sha256 checksums +sha256 427bb3a5372024a26e2c290b24382512bcc7ca123431c4dd178dd613beea7eee LICENSE diff --git a/buildroot-2022.02.1/package/python-pycares/python-pycares.mk b/buildroot-2022.02.1/package/python-pycares/python-pycares.mk new file mode 100644 index 00000000..9be295d9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycares/python-pycares.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pycares +# +################################################################################ + +PYTHON_PYCARES_VERSION = 4.1.2 +PYTHON_PYCARES_SOURCE = pycares-$(PYTHON_PYCARES_VERSION).tar.gz +PYTHON_PYCARES_SITE = https://files.pythonhosted.org/packages/83/61/17bd0cfb9c4dc8c3738484d604b50d47c78fe4fcfe0ca2c58a61a106f578 +PYTHON_PYCARES_SETUP_TYPE = setuptools +PYTHON_PYCARES_LICENSE = MIT +PYTHON_PYCARES_LICENSE_FILES = LICENSE +PYTHON_PYCARES_DEPENDENCIES = host-python-cffi + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pycparser/Config.in b/buildroot-2022.02.1/package/python-pycparser/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pycparser/Config.in rename to buildroot-2022.02.1/package/python-pycparser/Config.in diff --git a/buildroot-2022.02.1/package/python-pycparser/python-pycparser.hash b/buildroot-2022.02.1/package/python-pycparser/python-pycparser.hash new file mode 100644 index 00000000..34401a31 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycparser/python-pycparser.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pycparser/json +md5 48f7d743bf018f7bb2ffc5fb976d1492 pycparser-2.21.tar.gz +sha256 e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206 pycparser-2.21.tar.gz +# Locally computed sha256 checksums +sha256 3e7df25b8dfb658c9a91501930d4d943b05087a8347c7e2b4325616af535047b LICENSE diff --git a/buildroot-2022.02.1/package/python-pycparser/python-pycparser.mk b/buildroot-2022.02.1/package/python-pycparser/python-pycparser.mk new file mode 100644 index 00000000..1737c99a --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycparser/python-pycparser.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pycparser +# +################################################################################ + +PYTHON_PYCPARSER_VERSION = 2.21 +PYTHON_PYCPARSER_SOURCE = pycparser-$(PYTHON_PYCPARSER_VERSION).tar.gz +PYTHON_PYCPARSER_SITE = https://files.pythonhosted.org/packages/5e/0b/95d387f5f4433cb0f53ff7ad859bd2c6051051cebbb564f139a999ab46de +PYTHON_PYCPARSER_SETUP_TYPE = setuptools +PYTHON_PYCPARSER_LICENSE = BSD-3-Clause +PYTHON_PYCPARSER_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-pycryptodomex/Config.in b/buildroot-2022.02.1/package/python-pycryptodomex/Config.in new file mode 100644 index 00000000..a6d42f38 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycryptodomex/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYCRYPTODOMEX + bool "python-pycryptodomex" + help + Cryptographic library for Python. + + https://www.pycryptodome.org diff --git a/buildroot-2022.02.1/package/python-pycryptodomex/python-pycryptodomex.hash b/buildroot-2022.02.1/package/python-pycryptodomex/python-pycryptodomex.hash new file mode 100644 index 00000000..920cec25 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycryptodomex/python-pycryptodomex.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/pycryptodomex/json +md5 18f571832bbfbf0f4516ccef009f2dfb pycryptodomex-3.14.0.tar.gz +sha256 2d8bda8f949b79b78b293706aa7fc1e5c171c62661252bfdd5d12c70acd03282 pycryptodomex-3.14.0.tar.gz +# Locally computed sha256 checksums +sha256 4e04660d77c1c64e89d79537919fb8240fa21484a7e3db29f358b2c7f84ea073 LICENSE.rst +sha256 8e563c767164faa0831a333b57d23d4311cf566eb1b15d93250f4606be4eb549 Doc/LEGAL/COPYRIGHT.pycrypto diff --git a/buildroot-2022.02.1/package/python-pycryptodomex/python-pycryptodomex.mk b/buildroot-2022.02.1/package/python-pycryptodomex/python-pycryptodomex.mk new file mode 100644 index 00000000..e3cc11af --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycryptodomex/python-pycryptodomex.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-pycryptodomex +# +################################################################################ + +PYTHON_PYCRYPTODOMEX_VERSION = 3.14.0 +PYTHON_PYCRYPTODOMEX_SOURCE = pycryptodomex-$(PYTHON_PYCRYPTODOMEX_VERSION).tar.gz +PYTHON_PYCRYPTODOMEX_SITE = https://files.pythonhosted.org/packages/a6/b3/a5e59cd3ad65d4dc470a3a63381d0495885cf1ac7659c83c6bc9e9e79df6 +PYTHON_PYCRYPTODOMEX_SETUP_TYPE = setuptools +PYTHON_PYCRYPTODOMEX_LICENSE = \ + BSD-2-Clause, \ + Public Domain (pycrypto original code) +PYTHON_PYCRYPTODOMEX_LICENSE_FILES = LICENSE.rst Doc/LEGAL/COPYRIGHT.pycrypto + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-pycups/Config.in b/buildroot-2022.02.1/package/python-pycups/Config.in new file mode 100644 index 00000000..eeaf70c9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pycups/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYCUPS + bool "python-pycups" + depends on BR2_PACKAGE_CUPS + help + Python bindings for libcups. + + https://github.com/zdohnal/pycups diff --git a/buildroot-2021.05/package/python-pycups/python-pycups.hash b/buildroot-2022.02.1/package/python-pycups/python-pycups.hash similarity index 100% rename from buildroot-2021.05/package/python-pycups/python-pycups.hash rename to buildroot-2022.02.1/package/python-pycups/python-pycups.hash diff --git a/buildroot-2021.05/package/python-pycups/python-pycups.mk b/buildroot-2022.02.1/package/python-pycups/python-pycups.mk similarity index 100% rename from buildroot-2021.05/package/python-pycups/python-pycups.mk rename to buildroot-2022.02.1/package/python-pycups/python-pycups.mk diff --git a/buildroot-2021.05/package/python-pydal/Config.in b/buildroot-2022.02.1/package/python-pydal/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pydal/Config.in rename to buildroot-2022.02.1/package/python-pydal/Config.in diff --git a/buildroot-2022.02.1/package/python-pydal/python-pydal.hash b/buildroot-2022.02.1/package/python-pydal/python-pydal.hash new file mode 100644 index 00000000..eef00030 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pydal/python-pydal.hash @@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 9634f34a31d4411588b73825c8acc7f73ca69ba8a665bb00d0a9b5baff69498b python-pydal-20210626.3.tar.gz +sha256 1f711e93f1e0c2eec576e2e60597dc2ed6f0a661e4749c6b8a39f0d4a72be468 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-pydal/python-pydal.mk b/buildroot-2022.02.1/package/python-pydal/python-pydal.mk new file mode 100644 index 00000000..428999f5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pydal/python-pydal.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pydal +# +################################################################################ + +PYTHON_PYDAL_VERSION = 20210626.3 +PYTHON_PYDAL_SITE = $(call github,web2py,pydal,v$(PYTHON_PYDAL_VERSION)) +PYTHON_PYDAL_LICENSE = BSD-3-Clause +PYTHON_PYDAL_LICENSE_FILES = LICENSE.txt +PYTHON_PYDAL_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-pydantic/Config.in b/buildroot-2022.02.1/package/python-pydantic/Config.in new file mode 100644 index 00000000..41ec43ad --- /dev/null +++ b/buildroot-2022.02.1/package/python-pydantic/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PYDANTIC + bool "python-pydantic" + select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + help + Data validation and settings management using python 3.6 + type hinting. + + https://github.com/samuelcolvin/pydantic diff --git a/buildroot-2022.02.1/package/python-pydantic/python-pydantic.hash b/buildroot-2022.02.1/package/python-pydantic/python-pydantic.hash new file mode 100644 index 00000000..215b5d17 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pydantic/python-pydantic.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pydantic/json +md5 7845d2f3c8fe8602f73f53ec5b6dfa29 pydantic-1.8.2.tar.gz +sha256 26464e57ccaafe72b7ad156fdaa4e9b9ef051f69e175dbbb463283000c05ab7b pydantic-1.8.2.tar.gz +# Locally computed sha256 checksums +sha256 9e3946690ac88b6b73e8f001a0586af13568be8852fd514e4393f39761764387 LICENSE diff --git a/buildroot-2022.02.1/package/python-pydantic/python-pydantic.mk b/buildroot-2022.02.1/package/python-pydantic/python-pydantic.mk new file mode 100644 index 00000000..b2822415 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pydantic/python-pydantic.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pydantic +# +################################################################################ + +PYTHON_PYDANTIC_VERSION = 1.8.2 +PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz +PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/b9/d2/12a808613937a6b98cd50d6467352f01322dc0d8ca9fb5b94441625d6684 +PYTHON_PYDANTIC_SETUP_TYPE = setuptools +PYTHON_PYDANTIC_LICENSE = MIT +PYTHON_PYDANTIC_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pydyf/Config.in b/buildroot-2022.02.1/package/python-pydyf/Config.in new file mode 100644 index 00000000..42530eaf --- /dev/null +++ b/buildroot-2022.02.1/package/python-pydyf/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYDYF + bool "python-pydyf" + help + A low-level PDF generator. + + https://www.courtbouillon.org/pydyf diff --git a/buildroot-2022.02.1/package/python-pydyf/python-pydyf.hash b/buildroot-2022.02.1/package/python-pydyf/python-pydyf.hash new file mode 100644 index 00000000..90774457 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pydyf/python-pydyf.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pydyf/json +md5 f78ee205b0637c92197f5d584d60cb8e pydyf-0.1.2.tar.gz +sha256 1e2f5de48174f505de025a7d1e7cf01bbdd9422ca8ab9451782bf00ee178602c pydyf-0.1.2.tar.gz +# Locally computed sha256 checksums +sha256 75461e438973e1ba0f93a7de9e3fe5b2f49e1ab49251d392878a9cdae8ce7e47 LICENSE diff --git a/buildroot-2022.02.1/package/python-pydyf/python-pydyf.mk b/buildroot-2022.02.1/package/python-pydyf/python-pydyf.mk new file mode 100644 index 00000000..7cc0df26 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pydyf/python-pydyf.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pydyf +# +################################################################################ + +PYTHON_PYDYF_VERSION = 0.1.2 +PYTHON_PYDYF_SOURCE = pydyf-$(PYTHON_PYDYF_VERSION).tar.gz +PYTHON_PYDYF_SITE = https://files.pythonhosted.org/packages/78/ed/2ccc153d50d21a56916fd5c9d367cad798d4ca8a450cef03e7faa3b920c4 +PYTHON_PYDYF_SETUP_TYPE = distutils +PYTHON_PYDYF_LICENSE = BSD-3-Clause +PYTHON_PYDYF_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyelftools/Config.in b/buildroot-2022.02.1/package/python-pyelftools/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyelftools/Config.in rename to buildroot-2022.02.1/package/python-pyelftools/Config.in diff --git a/buildroot-2021.05/package/python-pyelftools/python-pyelftools.hash b/buildroot-2022.02.1/package/python-pyelftools/python-pyelftools.hash similarity index 100% rename from buildroot-2021.05/package/python-pyelftools/python-pyelftools.hash rename to buildroot-2022.02.1/package/python-pyelftools/python-pyelftools.hash diff --git a/buildroot-2022.02.1/package/python-pyelftools/python-pyelftools.mk b/buildroot-2022.02.1/package/python-pyelftools/python-pyelftools.mk new file mode 100644 index 00000000..5bfdcd33 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyelftools/python-pyelftools.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pyelftools +# +################################################################################ + +PYTHON_PYELFTOOLS_VERSION = 0.27 +PYTHON_PYELFTOOLS_SOURCE = pyelftools-$(PYTHON_PYELFTOOLS_VERSION).tar.gz +PYTHON_PYELFTOOLS_SITE = https://files.pythonhosted.org/packages/6b/b5/f7022f2d950327ba970ec85fb8f85c79244031092c129b6f34ab17514ae0 +PYTHON_PYELFTOOLS_LICENSE = Public domain +PYTHON_PYELFTOOLS_LICENSE_FILES = LICENSE +PYTHON_PYELFTOOLS_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pyftpdlib/Config.in b/buildroot-2022.02.1/package/python-pyftpdlib/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyftpdlib/Config.in rename to buildroot-2022.02.1/package/python-pyftpdlib/Config.in diff --git a/buildroot-2022.02.1/package/python-pyftpdlib/python-pyftpdlib.hash b/buildroot-2022.02.1/package/python-pyftpdlib/python-pyftpdlib.hash new file mode 100644 index 00000000..abbb1261 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyftpdlib/python-pyftpdlib.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyftpdlib/json +md5 459dd3e685c4b7dfcf574ca05e5586eb pyftpdlib-1.5.6.tar.gz +sha256 fda655d81f29af52885ca2f8a2704134baed540f16d66a0b26e8fdfafd12db5e pyftpdlib-1.5.6.tar.gz +# Locally computed sha256 checksums +sha256 67a832551570a5ac5f7901eaa5ece4b9491fda7f2d8c93957c3bbc68a5a76d88 LICENSE diff --git a/buildroot-2022.02.1/package/python-pyftpdlib/python-pyftpdlib.mk b/buildroot-2022.02.1/package/python-pyftpdlib/python-pyftpdlib.mk new file mode 100644 index 00000000..931e2dad --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyftpdlib/python-pyftpdlib.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyftpdlib +# +################################################################################ + +PYTHON_PYFTPDLIB_VERSION = 1.5.6 +PYTHON_PYFTPDLIB_SOURCE = pyftpdlib-$(PYTHON_PYFTPDLIB_VERSION).tar.gz +PYTHON_PYFTPDLIB_SITE = https://files.pythonhosted.org/packages/31/61/63ef60aca6de07eba1639d9d47f3f8e29462e8bb49d6a8dce9aeff240646 +PYTHON_PYFTPDLIB_SETUP_TYPE = setuptools +PYTHON_PYFTPDLIB_LICENSE = MIT +PYTHON_PYFTPDLIB_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pygame/Config.in b/buildroot-2022.02.1/package/python-pygame/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pygame/Config.in rename to buildroot-2022.02.1/package/python-pygame/Config.in diff --git a/buildroot-2021.05/package/python-pygame/python-pygame.hash b/buildroot-2022.02.1/package/python-pygame/python-pygame.hash similarity index 100% rename from buildroot-2021.05/package/python-pygame/python-pygame.hash rename to buildroot-2022.02.1/package/python-pygame/python-pygame.hash diff --git a/buildroot-2022.02.1/package/python-pygame/python-pygame.mk b/buildroot-2022.02.1/package/python-pygame/python-pygame.mk new file mode 100644 index 00000000..600dd9e7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pygame/python-pygame.mk @@ -0,0 +1,111 @@ +################################################################################ +# +# python-pygame +# +################################################################################ + +# stable 1.9.1 release requires V4L which has been wiped out of recent Linux +# kernels, so use latest mercurial revision until next stable release is out. +PYTHON_PYGAME_VERSION = d61ea8eabd56 +PYTHON_PYGAME_SOURCE = pygame-$(PYTHON_PYGAME_VERSION).tar.gz +PYTHON_PYGAME_SITE = https://bitbucket.org/pygame/pygame +PYTHON_PYGAME_SITE_METHOD = hg +PYTHON_PYGAME_SETUP_TYPE = distutils +PYTHON_PYGAME_LICENSE = LGPL-2.1+ +PYTHON_PYGAME_LICENSE_FILES = LGPL + +ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_IMAGE),y) +PYTHON_PYGAME_OPT_DEPENDS += sdl_image +endif + +ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_FONT),y) +PYTHON_PYGAME_OPT_DEPENDS += sdl_ttf +endif + +ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_MIXER),y) +PYTHON_PYGAME_OPT_DEPENDS += sdl_mixer +endif + +PYTHON_PYGAME_DEPENDENCIES = sdl $(PYTHON_PYGAME_OPT_DEPENDS) + +ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_IMAGE),y) +define PYTHON_PYGAME_UNCONFIGURE_IMAGE + $(SED) 's/^imageext/#imageext/' $(@D)/Setup +endef +endif + +ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_FONT),y) +define PYTHON_PYGAME_UNCONFIGURE_FONT + $(SED) 's/^font/#font/' $(@D)/Setup +endef +endif + +ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_MIXER),y) +define PYTHON_PYGAME_UNCONFIGURE_MIXER + $(SED) 's/^mixer/#mixer/g' $(@D)/Setup +endef +endif + +# Both require numpy or numeric python module +define PYTHON_PYGAME_UNCONFIGURE_SNDARRAY + $(SED) 's/^_numericsndarray/#_numericsndarray/' $(@D)/Setup +endef + +define PYTHON_PYGAME_UNCONFIGURE_SURFARRAY + $(SED) 's/^_numericsurfarray/#_numericsurfarray/' $(@D)/Setup +endef + +# Requires smpeg +define PYTHON_PYGAME_UNCONFIGURE_MOVIE + $(SED) 's/^movie/#movie/' $(@D)/Setup +endef + +ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_SCRAP),y) +define PYTHON_PYGAME_UNCONFIGURE_SCRAP + $(SED) 's/^scrap/#scrap/' $(@D)/Setup +endef +endif + +define PYTHON_PYGAME_UNCONFIGURE_FREETYPE + $(SED) 's/^_freetype/#_freetype/' $(@D)/Setup +endef + +PYTHON_PYGAME_SDL_FLAGS = `$(STAGING_DIR)/usr/bin/sdl-config --cflags` +PYTHON_PYGAME_SDL_FLAGS += `$(STAGING_DIR)/usr/bin/sdl-config --libs` + +# Pygame needs a Setup file where options should be commented out if +# dependencies are not available +define PYTHON_PYGAME_CONFIGURE_CMDS + cp -f $(@D)/Setup.in $(@D)/Setup + $(SED) "s~^SDL = ~SDL = $(PYTHON_PYGAME_SDL_FLAGS) \n#~" $(@D)/Setup + $(SED) 's/^pypm/#pypm/' $(@D)/Setup + $(PYTHON_PYGAME_UNCONFIGURE_IMAGE) + $(PYTHON_PYGAME_UNCONFIGURE_FONT) + $(PYTHON_PYGAME_UNCONFIGURE_MIXER) + $(PYTHON_PYGAME_UNCONFIGURE_SNDARRAY) + $(PYTHON_PYGAME_UNCONFIGURE_SURFARRAY) + $(PYTHON_PYGAME_UNCONFIGURE_MOVIE) + $(PYTHON_PYGAME_UNCONFIGURE_SCRAP) + $(PYTHON_PYGAME_UNCONFIGURE_FREETYPE) +endef + +define PYTHON_PYGAME_REMOVE_DOC + rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/docs +endef + +PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_DOC + +define PYTHON_PYGAME_REMOVE_TESTS + rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/tests +endef + +PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_TESTS + +ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES),y) +define PYTHON_PYGAME_REMOVE_EXAMPLES + rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/pygame/examples +endef +PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_EXAMPLES +endif + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pygments/Config.in b/buildroot-2022.02.1/package/python-pygments/Config.in new file mode 100644 index 00000000..f097c523 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pygments/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYGMENTS + bool "python-pygments" + help + Pygments is a syntax highlighting package written in Python. + + https://pypi.python.org/pypi/Pygments diff --git a/buildroot-2021.05/package/python-pygments/python-pygments.hash b/buildroot-2022.02.1/package/python-pygments/python-pygments.hash similarity index 100% rename from buildroot-2021.05/package/python-pygments/python-pygments.hash rename to buildroot-2022.02.1/package/python-pygments/python-pygments.hash diff --git a/buildroot-2021.05/package/python-pygments/python-pygments.mk b/buildroot-2022.02.1/package/python-pygments/python-pygments.mk similarity index 100% rename from buildroot-2021.05/package/python-pygments/python-pygments.mk rename to buildroot-2022.02.1/package/python-pygments/python-pygments.mk diff --git a/buildroot-2021.05/package/python-pyhamcrest/Config.in b/buildroot-2022.02.1/package/python-pyhamcrest/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyhamcrest/Config.in rename to buildroot-2022.02.1/package/python-pyhamcrest/Config.in diff --git a/buildroot-2022.02.1/package/python-pyhamcrest/python-pyhamcrest.hash b/buildroot-2022.02.1/package/python-pyhamcrest/python-pyhamcrest.hash new file mode 100644 index 00000000..b2e84d7d --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyhamcrest/python-pyhamcrest.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyhamcrest/json +md5 7a086f0b067f8d38958ec32f054559b4 PyHamcrest-2.0.2.tar.gz +sha256 412e00137858f04bde0729913874a48485665f2d36fe9ee449f26be864af9316 PyHamcrest-2.0.2.tar.gz +# Locally computed sha256 checksums +sha256 71beae6c8151362cfe398cbd350191a1cc52d3d28499839a7830b25f5b50a7fe LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-pyhamcrest/python-pyhamcrest.mk b/buildroot-2022.02.1/package/python-pyhamcrest/python-pyhamcrest.mk new file mode 100644 index 00000000..28979600 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyhamcrest/python-pyhamcrest.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyhamcrest +# +################################################################################ + +PYTHON_PYHAMCREST_VERSION = 2.0.2 +PYTHON_PYHAMCREST_SOURCE = PyHamcrest-$(PYTHON_PYHAMCREST_VERSION).tar.gz +PYTHON_PYHAMCREST_SITE = https://files.pythonhosted.org/packages/58/05/7b993fabb44ff0b52a90916d96bfd91a65ecf90b8248e72bba325ba8e438 +PYTHON_PYHAMCREST_SETUP_TYPE = setuptools +PYTHON_PYHAMCREST_LICENSE = BSD-3-Clause +PYTHON_PYHAMCREST_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyicu/Config.in b/buildroot-2022.02.1/package/python-pyicu/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyicu/Config.in rename to buildroot-2022.02.1/package/python-pyicu/Config.in diff --git a/buildroot-2021.05/package/python-pyicu/python-pyicu.hash b/buildroot-2022.02.1/package/python-pyicu/python-pyicu.hash similarity index 100% rename from buildroot-2021.05/package/python-pyicu/python-pyicu.hash rename to buildroot-2022.02.1/package/python-pyicu/python-pyicu.hash diff --git a/buildroot-2021.05/package/python-pyicu/python-pyicu.mk b/buildroot-2022.02.1/package/python-pyicu/python-pyicu.mk similarity index 100% rename from buildroot-2021.05/package/python-pyicu/python-pyicu.mk rename to buildroot-2022.02.1/package/python-pyicu/python-pyicu.mk diff --git a/buildroot-2021.05/package/python-pyinotify/Config.in b/buildroot-2022.02.1/package/python-pyinotify/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyinotify/Config.in rename to buildroot-2022.02.1/package/python-pyinotify/Config.in diff --git a/buildroot-2021.05/package/python-pyinotify/python-pyinotify.hash b/buildroot-2022.02.1/package/python-pyinotify/python-pyinotify.hash similarity index 100% rename from buildroot-2021.05/package/python-pyinotify/python-pyinotify.hash rename to buildroot-2022.02.1/package/python-pyinotify/python-pyinotify.hash diff --git a/buildroot-2021.05/package/python-pyinotify/python-pyinotify.mk b/buildroot-2022.02.1/package/python-pyinotify/python-pyinotify.mk similarity index 100% rename from buildroot-2021.05/package/python-pyinotify/python-pyinotify.mk rename to buildroot-2022.02.1/package/python-pyinotify/python-pyinotify.mk diff --git a/buildroot-2022.02.1/package/python-pyjwt/Config.in b/buildroot-2022.02.1/package/python-pyjwt/Config.in new file mode 100644 index 00000000..510875ce --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyjwt/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYJWT + bool "python-pyjwt" + help + JSON Web Token implementation in Python. + + http://github.com/jpadilla/pyjwt diff --git a/buildroot-2022.02.1/package/python-pyjwt/python-pyjwt.hash b/buildroot-2022.02.1/package/python-pyjwt/python-pyjwt.hash new file mode 100644 index 00000000..5ea6c0cd --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyjwt/python-pyjwt.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/PyJWT/json +md5 60cf2d463157bf21eb37be0430521036 PyJWT-2.3.0.tar.gz +sha256 b888b4d56f06f6dcd777210c334e69c737be74755d3e5e9ee3fe67dc18a0ee41 PyJWT-2.3.0.tar.gz +# Locally computed sha256 checksums +sha256 ec82af815b5f9da8685afb300cc5beb7949e1c22b79b6c1c054796cefdf6cac6 LICENSE diff --git a/buildroot-2022.02.1/package/python-pyjwt/python-pyjwt.mk b/buildroot-2022.02.1/package/python-pyjwt/python-pyjwt.mk new file mode 100644 index 00000000..ba8130e7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyjwt/python-pyjwt.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-pyjwt +# +################################################################################ + +PYTHON_PYJWT_VERSION = 2.3.0 +PYTHON_PYJWT_SOURCE = PyJWT-$(PYTHON_PYJWT_VERSION).tar.gz +PYTHON_PYJWT_SITE = https://files.pythonhosted.org/packages/1d/8e/01bdcfdbb352daaba8ea406d9df149c5bba7dbf70f908d4fa4c269fe6a08 +PYTHON_PYJWT_SETUP_TYPE = setuptools +PYTHON_PYJWT_LICENSE = MIT +PYTHON_PYJWT_LICENSE_FILES = LICENSE +PYTHON_PYJWT_CPE_ID_VENDOR = pyjwt_project +PYTHON_PYJWT_CPE_ID_PRODUCT = pyjwt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pylibftdi/0001-do-not-use-find-library.patch b/buildroot-2022.02.1/package/python-pylibftdi/0001-do-not-use-find-library.patch similarity index 100% rename from buildroot-2021.05/package/python-pylibftdi/0001-do-not-use-find-library.patch rename to buildroot-2022.02.1/package/python-pylibftdi/0001-do-not-use-find-library.patch diff --git a/buildroot-2021.05/package/python-pylibftdi/Config.in b/buildroot-2022.02.1/package/python-pylibftdi/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pylibftdi/Config.in rename to buildroot-2022.02.1/package/python-pylibftdi/Config.in diff --git a/buildroot-2021.05/package/python-pylibftdi/python-pylibftdi.hash b/buildroot-2022.02.1/package/python-pylibftdi/python-pylibftdi.hash similarity index 100% rename from buildroot-2021.05/package/python-pylibftdi/python-pylibftdi.hash rename to buildroot-2022.02.1/package/python-pylibftdi/python-pylibftdi.hash diff --git a/buildroot-2021.05/package/python-pylibftdi/python-pylibftdi.mk b/buildroot-2022.02.1/package/python-pylibftdi/python-pylibftdi.mk similarity index 100% rename from buildroot-2021.05/package/python-pylibftdi/python-pylibftdi.mk rename to buildroot-2022.02.1/package/python-pylibftdi/python-pylibftdi.mk diff --git a/buildroot-2021.05/package/python-pylru/Config.in b/buildroot-2022.02.1/package/python-pylru/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pylru/Config.in rename to buildroot-2022.02.1/package/python-pylru/Config.in diff --git a/buildroot-2021.05/package/python-pylru/python-pylru.hash b/buildroot-2022.02.1/package/python-pylru/python-pylru.hash similarity index 100% rename from buildroot-2021.05/package/python-pylru/python-pylru.hash rename to buildroot-2022.02.1/package/python-pylru/python-pylru.hash diff --git a/buildroot-2021.05/package/python-pylru/python-pylru.mk b/buildroot-2022.02.1/package/python-pylru/python-pylru.mk similarity index 100% rename from buildroot-2021.05/package/python-pylru/python-pylru.mk rename to buildroot-2022.02.1/package/python-pylru/python-pylru.mk diff --git a/buildroot-2021.05/package/python-pymodbus/Config.in b/buildroot-2022.02.1/package/python-pymodbus/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pymodbus/Config.in rename to buildroot-2022.02.1/package/python-pymodbus/Config.in diff --git a/buildroot-2021.05/package/python-pymodbus/python-pymodbus.hash b/buildroot-2022.02.1/package/python-pymodbus/python-pymodbus.hash similarity index 100% rename from buildroot-2021.05/package/python-pymodbus/python-pymodbus.hash rename to buildroot-2022.02.1/package/python-pymodbus/python-pymodbus.hash diff --git a/buildroot-2022.02.1/package/python-pymodbus/python-pymodbus.mk b/buildroot-2022.02.1/package/python-pymodbus/python-pymodbus.mk new file mode 100644 index 00000000..d96e21a5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pymodbus/python-pymodbus.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pymodbus +# +################################################################################ + +PYTHON_PYMODBUS_VERSION = 2.2.0 +PYTHON_PYMODBUS_SOURCE = pymodbus-$(PYTHON_PYMODBUS_VERSION).tar.gz +PYTHON_PYMODBUS_SITE = $(call github,riptideio,pymodbus,v$(PYTHON_PYMODBUS_VERSION)) +PYTHON_PYMODBUS_SETUP_TYPE = setuptools +PYTHON_PYMODBUS_LICENSE = BSD-3-Clause +PYTHON_PYMODBUS_LICENSE_FILES = doc/LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pymupdf/Config.in b/buildroot-2022.02.1/package/python-pymupdf/Config.in new file mode 100644 index 00000000..b3f95652 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pymupdf/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_PYTHON_PYMUPDF + bool "python-pymupdf" + depends on BR2_INSTALL_LIBSTDCPP # mupdf -> harfbuzz + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mupdf -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # mupdf -> harfbuzz + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_MUPDF + select BR2_PACKAGE_ZLIB + help + Python bindings for the PDF rendering library MuPDF. + + https://github.com/pymupdf/PyMuPDF + +comment "python-pymupdf needs Xorg" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_PACKAGE_XORG7 + +comment "python-pymupdf needs a toolchain w/ C++, gcc >= 4.9" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/python-pymupdf/python-pymupdf.hash b/buildroot-2022.02.1/package/python-pymupdf/python-pymupdf.hash new file mode 100644 index 00000000..ee7a9165 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pymupdf/python-pymupdf.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pymupdf/json +md5 70d6c2232e531772bbe9a813044262f9 PyMuPDF-1.18.14.tar.gz +sha256 efe85cb80f79cc3f3890aa2ab82b962b8a999ca078e33e9bacc5d0be5c4656dc PyMuPDF-1.18.14.tar.gz +# Locally computed: +sha256 282751b8c98ee9e445346eb57a992c9ecbe25ed8dd554df046777313e19b10f9 COPYING diff --git a/buildroot-2022.02.1/package/python-pymupdf/python-pymupdf.mk b/buildroot-2022.02.1/package/python-pymupdf/python-pymupdf.mk new file mode 100644 index 00000000..ceeeb0a5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pymupdf/python-pymupdf.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# python-pymupdf +# +################################################################################ + +# python-pymupdf's version must match mupdf's version +PYTHON_PYMUPDF_VERSION = 1.18.14 +PYTHON_PYMUPDF_SOURCE = PyMuPDF-$(PYTHON_PYMUPDF_VERSION).tar.gz +PYTHON_PYMUPDF_SITE = https://files.pythonhosted.org/packages/41/f6/dbefe3d6949fa81fb7bcac9141e4345330d272724718ac5a6af78297498b +PYTHON_PYMUPDF_SETUP_TYPE = setuptools +PYTHON_PYMUPDF_LICENSE = GPL-3.0, AGPL-3.0+ (code generated from mupdf) +PYTHON_PYMUPDF_LICENSE_FILES = COPYING +# No license file included in pip, but it's present on github +PYTHON_PYMUPDF_DEPENDENCIES = freetype mupdf zlib + +PYTHON_PYMUPDF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/mupdf -I$(STAGING_DIR)/usr/include/freetype2" + +# We need to remove the original paths as we provide them in the CFLAGS: +define PYTHON_PYMUPDF_REMOVE_PATHS + sed -i "/\/usr\/include\/mupdf/d" $(@D)/setup.py + sed -i "/\/usr\/include\/freetype2/d" $(@D)/setup.py + sed -i "/\/usr\/local\/include\/mupdf/d" $(@D)/setup.py + sed -i "/mupdf\/thirdparty\/freetype\/include/d" $(@D)/setup.py +endef + +PYTHON_PYMUPDF_POST_PATCH_HOOKS = PYTHON_PYMUPDF_REMOVE_PATHS + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pymysql/Config.in b/buildroot-2022.02.1/package/python-pymysql/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pymysql/Config.in rename to buildroot-2022.02.1/package/python-pymysql/Config.in diff --git a/buildroot-2022.02.1/package/python-pymysql/python-pymysql.hash b/buildroot-2022.02.1/package/python-pymysql/python-pymysql.hash new file mode 100644 index 00000000..dd81bdab --- /dev/null +++ b/buildroot-2022.02.1/package/python-pymysql/python-pymysql.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pymysql/json +md5 3fe6ff2eefb58af5c54d335c6e0216de PyMySQL-1.0.2.tar.gz +sha256 816927a350f38d56072aeca5dfb10221fe1dc653745853d30a216637f5d7ad36 PyMySQL-1.0.2.tar.gz +# Locally computed sha256 checksums +sha256 314120dc65f0800f738a4b31400c76ee14decd1fbe77ce9c3540a421b86ea7b6 LICENSE diff --git a/buildroot-2022.02.1/package/python-pymysql/python-pymysql.mk b/buildroot-2022.02.1/package/python-pymysql/python-pymysql.mk new file mode 100644 index 00000000..3703572f --- /dev/null +++ b/buildroot-2022.02.1/package/python-pymysql/python-pymysql.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pymysql +# +################################################################################ + +PYTHON_PYMYSQL_VERSION = 1.0.2 +PYTHON_PYMYSQL_SOURCE = PyMySQL-$(PYTHON_PYMYSQL_VERSION).tar.gz +PYTHON_PYMYSQL_SITE = https://files.pythonhosted.org/packages/60/ea/33b8430115d9b617b713959b21dfd5db1df77425e38efea08d121e83b712 +PYTHON_PYMYSQL_LICENSE = MIT +PYTHON_PYMYSQL_LICENSE_FILES = LICENSE +PYTHON_PYMYSQL_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pynacl/Config.in b/buildroot-2022.02.1/package/python-pynacl/Config.in new file mode 100644 index 00000000..0553d82c --- /dev/null +++ b/buildroot-2022.02.1/package/python-pynacl/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_PYNACL + bool "python-pynacl" + select BR2_PACKAGE_LIBSODIUM + select BR2_PACKAGE_PYTHON_CFFI # runtime + help + Python binding to the Networking and Cryptography (NaCl) + library. + + https://pypi.python.org/pypi/PyNaCl diff --git a/buildroot-2022.02.1/package/python-pynacl/python-pynacl.hash b/buildroot-2022.02.1/package/python-pynacl/python-pynacl.hash new file mode 100644 index 00000000..85a7447b --- /dev/null +++ b/buildroot-2022.02.1/package/python-pynacl/python-pynacl.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/PyNaCl/json +md5 93989045e25f1111452cfdf5e021814d PyNaCl-1.5.0.tar.gz +sha256 8ac7448f09ab85811607bdd21ec2464495ac8b7c66d146bf545b0f08fb9220ba PyNaCl-1.5.0.tar.gz +# Locally computed sha256 checksums +sha256 d3174ad63e721d4c9dccb8ad4320848992d314369bc46319720b5802c9153fe9 LICENSE diff --git a/buildroot-2022.02.1/package/python-pynacl/python-pynacl.mk b/buildroot-2022.02.1/package/python-pynacl/python-pynacl.mk new file mode 100644 index 00000000..bd2571c3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pynacl/python-pynacl.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-pynacl +# +################################################################################ + +PYTHON_PYNACL_VERSION = 1.5.0 +PYTHON_PYNACL_SOURCE = PyNaCl-$(PYTHON_PYNACL_VERSION).tar.gz +PYTHON_PYNACL_SITE = https://files.pythonhosted.org/packages/a7/22/27582568be639dfe22ddb3902225f91f2f17ceff88ce80e4db396c8986da +PYTHON_PYNACL_LICENSE = Apache-2.0 +PYTHON_PYNACL_LICENSE_FILES = LICENSE +PYTHON_PYNACL_SETUP_TYPE = setuptools +PYTHON_PYNACL_DEPENDENCIES = libsodium host-python-cffi +PYTHON_PYNACL_ENV = SODIUM_INSTALL=system + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pyndiff/Config.in b/buildroot-2022.02.1/package/python-pyndiff/Config.in new file mode 100644 index 00000000..58ca35ba --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyndiff/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_PYNDIFF + bool "python-pyndiff" + select BR2_PACKAGE_PYTHON_XMLJSON # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + help + Generate human-readable ndiff output when comparing 2 Nmap + XML scan files. + + https://github.com/rackerlabs/pyndiff diff --git a/buildroot-2022.02.1/package/python-pyndiff/python-pyndiff.hash b/buildroot-2022.02.1/package/python-pyndiff/python-pyndiff.hash new file mode 100644 index 00000000..0afecfb6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyndiff/python-pyndiff.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyndiff/json +md5 32a9f994509cb883bbfeb563171f2668 pyndiff-1.0.2.tar.gz +sha256 8a519b18a7bbb315c043d4543719ce9fb6db8098bfcdd04cb8054b276cc91368 pyndiff-1.0.2.tar.gz +# Locally computed sha256 checksums +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/python-pyndiff/python-pyndiff.mk b/buildroot-2022.02.1/package/python-pyndiff/python-pyndiff.mk new file mode 100644 index 00000000..e2537495 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyndiff/python-pyndiff.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyndiff +# +################################################################################ + +PYTHON_PYNDIFF_VERSION = 1.0.2 +PYTHON_PYNDIFF_SOURCE = pyndiff-$(PYTHON_PYNDIFF_VERSION).tar.gz +PYTHON_PYNDIFF_SITE = https://files.pythonhosted.org/packages/83/3b/fb13918710c4fba40367140f22e3449998f4f66869a7564d0e547ad99ef8 +PYTHON_PYNDIFF_SETUP_TYPE = setuptools +PYTHON_PYNDIFF_LICENSE = Apache-2.0 +PYTHON_PYNDIFF_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pyopenssl/Config.in b/buildroot-2022.02.1/package/python-pyopenssl/Config.in new file mode 100644 index 00000000..1a6fbd21 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyopenssl/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_PYOPENSSL + bool "python-pyopenssl" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + Python wrapper module around the OpenSSL library. + + https://github.com/pyca/pyopenssl diff --git a/buildroot-2022.02.1/package/python-pyopenssl/python-pyopenssl.hash b/buildroot-2022.02.1/package/python-pyopenssl/python-pyopenssl.hash new file mode 100644 index 00000000..5a3bc5dd --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyopenssl/python-pyopenssl.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyopenssl/json +md5 2ec707d15b4e92f5ca5e46e5aab2f4ca pyOpenSSL-21.0.0.tar.gz +sha256 5e2d8c5e46d0d865ae933bef5230090bdaf5506281e9eec60fa250ee80600cb3 pyOpenSSL-21.0.0.tar.gz +# Locally computed sha256 checksums +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/python-pyopenssl/python-pyopenssl.mk b/buildroot-2022.02.1/package/python-pyopenssl/python-pyopenssl.mk new file mode 100644 index 00000000..2ba8c2e7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyopenssl/python-pyopenssl.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-pyopenssl +# +################################################################################ + +PYTHON_PYOPENSSL_VERSION = 21.0.0 +PYTHON_PYOPENSSL_SOURCE = pyOpenSSL-$(PYTHON_PYOPENSSL_VERSION).tar.gz +PYTHON_PYOPENSSL_SITE = https://files.pythonhosted.org/packages/54/9a/2a43c5dbf4507f86f7c43cba4195d5e25a81c988fd7b0ea779dfc9c6973f +PYTHON_PYOPENSSL_LICENSE = Apache-2.0 +PYTHON_PYOPENSSL_LICENSE_FILES = LICENSE +PYTHON_PYOPENSSL_CPE_ID_VENDOR = pyopenssl +PYTHON_PYOPENSSL_CPE_ID_PRODUCT = pyopenssl +PYTHON_PYOPENSSL_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pypa-build/python-pypa-build.hash b/buildroot-2022.02.1/package/python-pypa-build/python-pypa-build.hash new file mode 100644 index 00000000..c7daedc6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pypa-build/python-pypa-build.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/build/json +md5 ec3dbe55359ee735b45766b30dfad877 build-0.7.0.tar.gz +sha256 1aaadcd69338252ade4f7ec1265e1a19184bf916d84c9b7df095f423948cb89f build-0.7.0.tar.gz +# Locally computed sha256 checksums +sha256 aaf9a29ca5907971ccf07de025375db34539a8d5eeebce20b46099805722106f LICENSE diff --git a/buildroot-2022.02.1/package/python-pypa-build/python-pypa-build.mk b/buildroot-2022.02.1/package/python-pypa-build/python-pypa-build.mk new file mode 100644 index 00000000..dc8363f5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pypa-build/python-pypa-build.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-pypa-build +# +################################################################################ + +PYTHON_PYPA_BUILD_VERSION = 0.7.0 +PYTHON_PYPA_BUILD_SOURCE = build-$(PYTHON_PYPA_BUILD_VERSION).tar.gz +PYTHON_PYPA_BUILD_SITE = https://files.pythonhosted.org/packages/f0/62/c73b775216bb1f34962beaf005f38460c6161177fef6e068a7a0c30a1597 +PYTHON_PYPA_BUILD_LICENSE = MIT +PYTHON_PYPA_BUILD_LICENSE_FILES = LICENSE +PYTHON_PYPA_BUILD_SETUP_TYPE = setuptools +HOST_PYTHON_PYPA_BUILD_DEPENDENCIES = \ + host-python-packaging \ + host-python-pep517 \ + host-python-tomli + +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pyparsing/Config.in b/buildroot-2022.02.1/package/python-pyparsing/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyparsing/Config.in rename to buildroot-2022.02.1/package/python-pyparsing/Config.in diff --git a/buildroot-2022.02.1/package/python-pyparsing/python-pyparsing.hash b/buildroot-2022.02.1/package/python-pyparsing/python-pyparsing.hash new file mode 100644 index 00000000..1e56e878 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyparsing/python-pyparsing.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyparsing/json +md5 9d38774991175444e21a3dfa865876cc pyparsing-3.0.7.tar.gz +sha256 18ee9022775d270c55187733956460083db60b37d0d0fb357445f3094eed3eea pyparsing-3.0.7.tar.gz +# Locally computed sha256 checksums +sha256 10d5120a16805804ffda8b688c220bfb4e8f39741b57320604d455a309e01972 LICENSE diff --git a/buildroot-2022.02.1/package/python-pyparsing/python-pyparsing.mk b/buildroot-2022.02.1/package/python-pyparsing/python-pyparsing.mk new file mode 100644 index 00000000..2fb705bc --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyparsing/python-pyparsing.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pyparsing +# +################################################################################ + +PYTHON_PYPARSING_VERSION = 3.0.7 +PYTHON_PYPARSING_SOURCE = pyparsing-$(PYTHON_PYPARSING_VERSION).tar.gz +PYTHON_PYPARSING_SITE = https://files.pythonhosted.org/packages/d6/60/9bed18f43275b34198eb9720d4c1238c68b3755620d20df0afd89424d32b +PYTHON_PYPARSING_LICENSE = MIT +PYTHON_PYPARSING_LICENSE_FILES = LICENSE +PYTHON_PYPARSING_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-pyparted/Config.in b/buildroot-2022.02.1/package/python-pyparted/Config.in new file mode 100644 index 00000000..60f54a54 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyparted/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_PYPARTED + bool "python-pyparted" + depends on BR2_ENABLE_LOCALE # parted + depends on BR2_USE_WCHAR + select BR2_PACKAGE_PARTED + help + Python bindings for GNU parted (libparted). + + https://github.com/rhinstaller/pyparted + +comment "pyparted needs a toolchain w/ locale, wchar" + depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/python-pyparted/python-pyparted.hash b/buildroot-2022.02.1/package/python-pyparted/python-pyparted.hash similarity index 100% rename from buildroot-2021.05/package/python-pyparted/python-pyparted.hash rename to buildroot-2022.02.1/package/python-pyparted/python-pyparted.hash diff --git a/buildroot-2021.05/package/python-pyparted/python-pyparted.mk b/buildroot-2022.02.1/package/python-pyparted/python-pyparted.mk similarity index 100% rename from buildroot-2021.05/package/python-pyparted/python-pyparted.mk rename to buildroot-2022.02.1/package/python-pyparted/python-pyparted.mk diff --git a/buildroot-2022.02.1/package/python-pyphen/Config.in b/buildroot-2022.02.1/package/python-pyphen/Config.in new file mode 100644 index 00000000..e4707ff0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyphen/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYPHEN + bool "python-pyphen" + help + Pure Python module to hyphenate text. + + https://www.courtbouillon.org/pyphen diff --git a/buildroot-2022.02.1/package/python-pyphen/python-pyphen.hash b/buildroot-2022.02.1/package/python-pyphen/python-pyphen.hash new file mode 100644 index 00000000..75ee9093 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyphen/python-pyphen.hash @@ -0,0 +1,8 @@ +# md5, sha256 from https://pypi.org/pypi/Pyphen/json +md5 f8ec095e4fe30dc2b518a918788b33ed pyphen-0.11.0.tar.gz +sha256 e2c3ed82c3a04317df5102addafe89652b0876bc6c6265f5dd4c3efaf02315e8 pyphen-0.11.0.tar.gz +# Locally computed sha256 checksums +sha256 9f0bffde4fbbbbc61c46f6577b6f472919dba9fdffabe74e8a7e44ac5dbef7a2 LICENSE +sha256 2233a3eecf299bc271f1a9f57f0b3198343ad4ab16571d70320133002c51496b COPYING.GPL +sha256 5bbcbb737e60fe9deba08ecbd00920cfcc3403ba2e534c64fdeea49d6bb87509 COPYING.LGPL +sha256 ad192a67649aa23ac9681939840f4f241643a98da9cd8aec8de28c3b8c6ee854 COPYING.MPL diff --git a/buildroot-2022.02.1/package/python-pyphen/python-pyphen.mk b/buildroot-2022.02.1/package/python-pyphen/python-pyphen.mk new file mode 100644 index 00000000..80f67c77 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyphen/python-pyphen.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pyphen +# +################################################################################ + +PYTHON_PYPHEN_VERSION = 0.11.0 +PYTHON_PYPHEN_SOURCE = pyphen-$(PYTHON_PYPHEN_VERSION).tar.gz +PYTHON_PYPHEN_SITE = https://files.pythonhosted.org/packages/9a/f8/af869a4983c1b3159945479510260985714265d48baf27d61f72b1ec8cbf +PYTHON_PYPHEN_SETUP_TYPE = distutils +PYTHON_PYPHEN_LICENSE = LGPL-2.1+, MPL-1.1, GPL-2.0+ +PYTHON_PYPHEN_LICENSE_FILES = LICENSE COPYING.GPL COPYING.LGPL COPYING.MPL + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pyqrcode/Config.in b/buildroot-2022.02.1/package/python-pyqrcode/Config.in new file mode 100644 index 00000000..d07ab496 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyqrcode/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_PYQRCODE + bool "python-pyqrcode" + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_CODECSCJK # runtime + help + A QR code generator written purely in Python with SVG, EPS, + PNG and terminal output. + + https://github.com/mnooner256/pyqrcode diff --git a/buildroot-2021.05/package/python-pyqrcode/python-pyqrcode.hash b/buildroot-2022.02.1/package/python-pyqrcode/python-pyqrcode.hash similarity index 100% rename from buildroot-2021.05/package/python-pyqrcode/python-pyqrcode.hash rename to buildroot-2022.02.1/package/python-pyqrcode/python-pyqrcode.hash diff --git a/buildroot-2021.05/package/python-pyqrcode/python-pyqrcode.mk b/buildroot-2022.02.1/package/python-pyqrcode/python-pyqrcode.mk similarity index 100% rename from buildroot-2021.05/package/python-pyqrcode/python-pyqrcode.mk rename to buildroot-2022.02.1/package/python-pyqrcode/python-pyqrcode.mk diff --git a/buildroot-2021.05/package/python-pyqt5/0001-configure-skip-qtdetail.patch b/buildroot-2022.02.1/package/python-pyqt5/0001-configure-skip-qtdetail.patch similarity index 100% rename from buildroot-2021.05/package/python-pyqt5/0001-configure-skip-qtdetail.patch rename to buildroot-2022.02.1/package/python-pyqt5/0001-configure-skip-qtdetail.patch diff --git a/buildroot-2021.05/package/python-pyqt5/0002-fix-qt-5.6.2.patch b/buildroot-2022.02.1/package/python-pyqt5/0002-fix-qt-5.6.2.patch similarity index 100% rename from buildroot-2021.05/package/python-pyqt5/0002-fix-qt-5.6.2.patch rename to buildroot-2022.02.1/package/python-pyqt5/0002-fix-qt-5.6.2.patch diff --git a/buildroot-2021.05/package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch b/buildroot-2022.02.1/package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch similarity index 100% rename from buildroot-2021.05/package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch rename to buildroot-2022.02.1/package/python-pyqt5/0003-remove-WindowOkButtonHint-and-WindowCancelButtonHint.patch diff --git a/buildroot-2021.05/package/python-pyqt5/0004-drop-qttest-qtestmouse-waitforevents.patch b/buildroot-2022.02.1/package/python-pyqt5/0004-drop-qttest-qtestmouse-waitforevents.patch similarity index 100% rename from buildroot-2021.05/package/python-pyqt5/0004-drop-qttest-qtestmouse-waitforevents.patch rename to buildroot-2022.02.1/package/python-pyqt5/0004-drop-qttest-qtestmouse-waitforevents.patch diff --git a/buildroot-2021.05/package/python-pyqt5/Config.in b/buildroot-2022.02.1/package/python-pyqt5/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyqt5/Config.in rename to buildroot-2022.02.1/package/python-pyqt5/Config.in diff --git a/buildroot-2021.05/package/python-pyqt5/python-pyqt5.hash b/buildroot-2022.02.1/package/python-pyqt5/python-pyqt5.hash similarity index 100% rename from buildroot-2021.05/package/python-pyqt5/python-pyqt5.hash rename to buildroot-2022.02.1/package/python-pyqt5/python-pyqt5.hash diff --git a/buildroot-2022.02.1/package/python-pyqt5/python-pyqt5.mk b/buildroot-2022.02.1/package/python-pyqt5/python-pyqt5.mk new file mode 100644 index 00000000..af32f637 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyqt5/python-pyqt5.mk @@ -0,0 +1,185 @@ +################################################################################ +# +# python-pyqt5 +# +################################################################################ + +PYTHON_PYQT5_VERSION = 5.7 +PYTHON_PYQT5_SOURCE = PyQt5_gpl-$(PYTHON_PYQT5_VERSION).tar.gz +PYTHON_PYQT5_SITE = http://downloads.sourceforge.net/project/pyqt/PyQt5/PyQt-$(PYTHON_PYQT5_VERSION) +PYTHON_PYQT5_LICENSE = GPL-3.0 +PYTHON_PYQT5_LICENSE_FILES = LICENSE + +PYTHON_PYQT5_DEPENDENCIES = python-sip host-python-sip qt5base +PYTHON_PYQT5_MODULES = \ + QtCore QtGui \ + $(if $(BR2_PACKAGE_QT5BASE_DBUS),QtDBus) \ + $(if $(BR2_PACKAGE_QT5BASE_NETWORK),QtNetwork) \ + $(if $(BR2_PACKAGE_QT5BASE_OPENGL_LIB),QtOpenGL) \ + $(if $(BR2_PACKAGE_QT5BASE_PRINTSUPPORT),QtPrintSupport) \ + $(if $(BR2_PACKAGE_QT5BASE_XML),QtXml) + +ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) +PYTHON_PYQT5_MODULES += QtWidgets + +# QtSql needs QtWidgets +ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y) +PYTHON_PYQT5_MODULES += QtSql +endif + +# QtTest needs QtWidgets +ifeq ($(BR2_PACKAGE_QT5BASE_TEST),y) +PYTHON_PYQT5_MODULES += QtTest +endif + +# QtSvg needs QtWidgets +ifeq ($(BR2_PACKAGE_QT5SVG),y) +PYTHON_PYQT5_DEPENDENCIES += qt5svg +PYTHON_PYQT5_MODULES += QtSvg +endif +endif + +ifeq ($(BR2_PACKAGE_QT5CONNECTIVITY),y) +PYTHON_PYQT5_DEPENDENCIES += qt5connectivity +PYTHON_PYQT5_MODULES += QtBluetooth QtNfc +endif + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +PYTHON_PYQT5_DEPENDENCIES += qt5declarative +PYTHON_PYQT5_MODULES += QtQml + +# QtQuick module needs opengl +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK)$(BR2_PACKAGE_QT5BASE_OPENGL_LIB),yy) +PYTHON_PYQT5_MODULES += \ + QtQuick \ + $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtQuickWidgets) +endif +endif + +ifeq ($(BR2_PACKAGE_QT5ENGINIO),y) +PYTHON_PYQT5_DEPENDENCIES += qt5enginio +PYTHON_PYQT5_MODULES += Enginio +endif + +ifeq ($(BR2_PACKAGE_QT5LOCATION),y) +PYTHON_PYQT5_DEPENDENCIES += qt5location +PYTHON_PYQT5_MODULES += QtPositioning +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y) +PYTHON_PYQT5_MODULES += QtLocation +endif +endif + +ifeq ($(BR2_PACKAGE_QT5MULTIMEDIA),y) +PYTHON_PYQT5_DEPENDENCIES += qt5multimedia +PYTHON_PYQT5_MODULES += \ + QtMultimedia \ + $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtMultimediaWidgets) +endif + +ifeq ($(BR2_PACKAGE_QT5SENSORS),y) +PYTHON_PYQT5_DEPENDENCIES += qt5sensors +PYTHON_PYQT5_MODULES += QtSensors +endif + +ifeq ($(BR2_PACKAGE_QT5SERIALPORT),y) +PYTHON_PYQT5_DEPENDENCIES += qt5serialport +PYTHON_PYQT5_MODULES += QtSerialPort +endif + +ifeq ($(BR2_PACKAGE_QT5WEBCHANNEL),y) +PYTHON_PYQT5_DEPENDENCIES += qt5webchannel +PYTHON_PYQT5_MODULES += QtWebChannel +endif + +ifeq ($(BR2_PACKAGE_QT5WEBENGINE),y) +PYTHON_PYQT5_DEPENDENCIES += qt5webengine +PYTHON_PYQT5_MODULES += \ + QtWebEngineCore \ + $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtWebEngineWidgets) +endif + +ifeq ($(BR2_PACKAGE_QT5WEBKIT),y) +PYTHON_PYQT5_DEPENDENCIES += qt5webkit +PYTHON_PYQT5_MODULES += \ + QtWebKit \ + $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtWebKitWidgets) +endif + +ifeq ($(BR2_PACKAGE_QT5WEBSOCKETS),y) +PYTHON_PYQT5_DEPENDENCIES += qt5websockets +PYTHON_PYQT5_MODULES += QtWebSockets +endif + +ifeq ($(BR2_PACKAGE_QT5X11EXTRAS),y) +PYTHON_PYQT5_DEPENDENCIES += qt5x11extras +PYTHON_PYQT5_MODULES += QtX11Extras +endif + +ifeq ($(BR2_PACKAGE_QT5XMLPATTERNS),y) +PYTHON_PYQT5_DEPENDENCIES += qt5xmlpatterns +PYTHON_PYQT5_MODULES += QtXmlPatterns +endif + +PYTHON_PYQT5_QTDETAIL_LICENSE = Open Source + +PYTHON_PYQT5_QTDETAIL_TYPE = shared + +# Turn off features that aren't available in current qt configuration +PYTHON_PYQT5_QTDETAIL_DISABLE_FEATURES += $(if $(BR2_PACKAGE_QT5BASE_OPENGL),,PyQt_OpenGL) +PYTHON_PYQT5_QTDETAIL_DISABLE_FEATURES += $(if $(BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP),,PyQt_Desktop_OpenGL) +PYTHON_PYQT5_QTDETAIL_DISABLE_FEATURES += $(if $(BR2_PACKAGE_OPENSSL),,PyQt_SSL) + +define PYTHON_PYQT5_QTDETAIL + echo $(1) >> $(2)/qtdetail.out +endef + +# Since we can't run generate qtdetail.out by running qtdetail on target device +# we must generate the configuration. +define PYTHON_PYQT5_GENERATE_QTDETAIL + $(RM) -f $(1)/qtdetail.out + $(call PYTHON_PYQT5_QTDETAIL,$(PYTHON_PYQT5_QTDETAIL_LICENSE),$(1)) + $(call PYTHON_PYQT5_QTDETAIL,$(PYTHON_PYQT5_QTDETAIL_TYPE),$(1)) + $(foreach f,$(PYTHON_PYQT5_QTDETAIL_DISABLE_FEATURES), + $(call PYTHON_PYQT5_QTDETAIL,$(f),$(1)) \ + ) +endef + +# The file "qt.conf" can be used to override the hard-coded paths that are +# compiled into the Qt library. We need it to make "qmake" relocatable and +# tweak the per-package install pathes +PYTHON_PYQT5_PRE_CONFIGURE_HOOKS += QT5_QT_CONF_FIXUP + +PYTHON_PYQT5_CONF_OPTS = \ + --bindir $(TARGET_DIR)/usr/bin \ + --destdir $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --qmake $(HOST_DIR)/bin/qmake \ + --sysroot $(STAGING_DIR)/usr \ + -w --confirm-license \ + --no-designer-plugin \ + --no-docstrings \ + --no-sip-files \ + $(foreach module,$(PYTHON_PYQT5_MODULES),--enable=$(module)) + +define PYTHON_PYQT5_CONFIGURE_CMDS + $(call PYTHON_PYQT5_GENERATE_QTDETAIL,$(@D)) + (cd $(@D); \ + $(TARGET_MAKE_ENV) \ + $(TARGET_CONFIGURE_OPTS) \ + $(HOST_DIR)/bin/python configure.py \ + $(PYTHON_PYQT5_CONF_OPTS) \ + ) +endef + +define PYTHON_PYQT5_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +# __init__.py is needed to import PyQt5 +# __init__.pyc is needed if BR2_PACKAGE_PYTHON_PYC_ONLY is set +define PYTHON_PYQT5_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install + touch $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/PyQt5/__init__.py + $(RM) -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/PyQt5/uic/port_v2 +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/python-pyratemp/Config.in b/buildroot-2022.02.1/package/python-pyratemp/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyratemp/Config.in rename to buildroot-2022.02.1/package/python-pyratemp/Config.in diff --git a/buildroot-2021.05/package/python-pyratemp/python-pyratemp.hash b/buildroot-2022.02.1/package/python-pyratemp/python-pyratemp.hash similarity index 100% rename from buildroot-2021.05/package/python-pyratemp/python-pyratemp.hash rename to buildroot-2022.02.1/package/python-pyratemp/python-pyratemp.hash diff --git a/buildroot-2021.05/package/python-pyratemp/python-pyratemp.mk b/buildroot-2022.02.1/package/python-pyratemp/python-pyratemp.mk similarity index 100% rename from buildroot-2021.05/package/python-pyratemp/python-pyratemp.mk rename to buildroot-2022.02.1/package/python-pyratemp/python-pyratemp.mk diff --git a/buildroot-2022.02.1/package/python-pyroute2/Config.in b/buildroot-2022.02.1/package/python-pyroute2/Config.in new file mode 100644 index 00000000..9e685f9d --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyroute2/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PYROUTE2 + bool "python-pyroute2" + select BR2_PACKAGE_PYTHON3_SQLITE + help + Python netlink library - Linux network / netns / wireless / + ipset configuration. + + https://github.com/svinota/pyroute2 diff --git a/buildroot-2021.05/package/python-pyroute2/python-pyroute2.hash b/buildroot-2022.02.1/package/python-pyroute2/python-pyroute2.hash similarity index 100% rename from buildroot-2021.05/package/python-pyroute2/python-pyroute2.hash rename to buildroot-2022.02.1/package/python-pyroute2/python-pyroute2.hash diff --git a/buildroot-2021.05/package/python-pyroute2/python-pyroute2.mk b/buildroot-2022.02.1/package/python-pyroute2/python-pyroute2.mk similarity index 100% rename from buildroot-2021.05/package/python-pyroute2/python-pyroute2.mk rename to buildroot-2022.02.1/package/python-pyroute2/python-pyroute2.mk diff --git a/buildroot-2021.05/package/python-pysendfile/Config.in b/buildroot-2022.02.1/package/python-pysendfile/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pysendfile/Config.in rename to buildroot-2022.02.1/package/python-pysendfile/Config.in diff --git a/buildroot-2021.05/package/python-pysendfile/python-pysendfile.hash b/buildroot-2022.02.1/package/python-pysendfile/python-pysendfile.hash similarity index 100% rename from buildroot-2021.05/package/python-pysendfile/python-pysendfile.hash rename to buildroot-2022.02.1/package/python-pysendfile/python-pysendfile.hash diff --git a/buildroot-2021.05/package/python-pysendfile/python-pysendfile.mk b/buildroot-2022.02.1/package/python-pysendfile/python-pysendfile.mk similarity index 100% rename from buildroot-2021.05/package/python-pysendfile/python-pysendfile.mk rename to buildroot-2022.02.1/package/python-pysendfile/python-pysendfile.mk diff --git a/buildroot-2022.02.1/package/python-pysftp/Config.in b/buildroot-2022.02.1/package/python-pysftp/Config.in new file mode 100644 index 00000000..fc4fdd97 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pysftp/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_PYSFTP + bool "python-pysftp" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-paramiko -> python-cryptography + select BR2_PACKAGE_PYTHON_PARAMIKO # runtime + help + A friendly face on SFTP. + + https://bitbucket.org/dundeemt/pysftp diff --git a/buildroot-2021.05/package/python-pysftp/python-pysftp.hash b/buildroot-2022.02.1/package/python-pysftp/python-pysftp.hash similarity index 100% rename from buildroot-2021.05/package/python-pysftp/python-pysftp.hash rename to buildroot-2022.02.1/package/python-pysftp/python-pysftp.hash diff --git a/buildroot-2021.05/package/python-pysftp/python-pysftp.mk b/buildroot-2022.02.1/package/python-pysftp/python-pysftp.mk similarity index 100% rename from buildroot-2021.05/package/python-pysftp/python-pysftp.mk rename to buildroot-2022.02.1/package/python-pysftp/python-pysftp.mk diff --git a/buildroot-2021.05/package/python-pysmb/Config.in b/buildroot-2022.02.1/package/python-pysmb/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pysmb/Config.in rename to buildroot-2022.02.1/package/python-pysmb/Config.in diff --git a/buildroot-2022.02.1/package/python-pysmb/python-pysmb.hash b/buildroot-2022.02.1/package/python-pysmb/python-pysmb.hash new file mode 100644 index 00000000..03713837 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pysmb/python-pysmb.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 af9db2e99eaa01e87b0ebc10f87db7c630cc880c7ae3d9dd06f1e5313e82d5a2 pysmb-1.2.7.tar.gz +sha256 8c487d5c10f024e44a9cf1df21d1fd28a80bd2dfddd9f1dcd109a47d721f497f LICENSE diff --git a/buildroot-2022.02.1/package/python-pysmb/python-pysmb.mk b/buildroot-2022.02.1/package/python-pysmb/python-pysmb.mk new file mode 100644 index 00000000..89ff08e9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pysmb/python-pysmb.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pysmb +# +################################################################################ + +PYTHON_PYSMB_VERSION = 1.2.7 +PYTHON_PYSMB_SOURCE = pysmb-$(PYTHON_PYSMB_VERSION).tar.gz +PYTHON_PYSMB_SITE = https://miketeo.net/files/Projects/pysmb +PYTHON_PYSMB_LICENSE = Libpng +PYTHON_PYSMB_LICENSE_FILES = LICENSE +PYTHON_PYSMB_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pysmi/Config.in b/buildroot-2022.02.1/package/python-pysmi/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pysmi/Config.in rename to buildroot-2022.02.1/package/python-pysmi/Config.in diff --git a/buildroot-2021.05/package/python-pysmi/python-pysmi.hash b/buildroot-2022.02.1/package/python-pysmi/python-pysmi.hash similarity index 100% rename from buildroot-2021.05/package/python-pysmi/python-pysmi.hash rename to buildroot-2022.02.1/package/python-pysmi/python-pysmi.hash diff --git a/buildroot-2021.05/package/python-pysmi/python-pysmi.mk b/buildroot-2022.02.1/package/python-pysmi/python-pysmi.mk similarity index 100% rename from buildroot-2021.05/package/python-pysmi/python-pysmi.mk rename to buildroot-2022.02.1/package/python-pysmi/python-pysmi.mk diff --git a/buildroot-2021.05/package/python-pysnmp-mibs/Config.in b/buildroot-2022.02.1/package/python-pysnmp-mibs/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pysnmp-mibs/Config.in rename to buildroot-2022.02.1/package/python-pysnmp-mibs/Config.in diff --git a/buildroot-2021.05/package/python-pysnmp-mibs/python-pysnmp-mibs.hash b/buildroot-2022.02.1/package/python-pysnmp-mibs/python-pysnmp-mibs.hash similarity index 100% rename from buildroot-2021.05/package/python-pysnmp-mibs/python-pysnmp-mibs.hash rename to buildroot-2022.02.1/package/python-pysnmp-mibs/python-pysnmp-mibs.hash diff --git a/buildroot-2021.05/package/python-pysnmp-mibs/python-pysnmp-mibs.mk b/buildroot-2022.02.1/package/python-pysnmp-mibs/python-pysnmp-mibs.mk similarity index 100% rename from buildroot-2021.05/package/python-pysnmp-mibs/python-pysnmp-mibs.mk rename to buildroot-2022.02.1/package/python-pysnmp-mibs/python-pysnmp-mibs.mk diff --git a/buildroot-2021.05/package/python-pysnmp/Config.in b/buildroot-2022.02.1/package/python-pysnmp/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pysnmp/Config.in rename to buildroot-2022.02.1/package/python-pysnmp/Config.in diff --git a/buildroot-2021.05/package/python-pysnmp/python-pysnmp.hash b/buildroot-2022.02.1/package/python-pysnmp/python-pysnmp.hash similarity index 100% rename from buildroot-2021.05/package/python-pysnmp/python-pysnmp.hash rename to buildroot-2022.02.1/package/python-pysnmp/python-pysnmp.hash diff --git a/buildroot-2021.05/package/python-pysnmp/python-pysnmp.mk b/buildroot-2022.02.1/package/python-pysnmp/python-pysnmp.mk similarity index 100% rename from buildroot-2021.05/package/python-pysnmp/python-pysnmp.mk rename to buildroot-2022.02.1/package/python-pysnmp/python-pysnmp.mk diff --git a/buildroot-2021.05/package/python-pysocks/Config.in b/buildroot-2022.02.1/package/python-pysocks/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pysocks/Config.in rename to buildroot-2022.02.1/package/python-pysocks/Config.in diff --git a/buildroot-2021.05/package/python-pysocks/python-pysocks.hash b/buildroot-2022.02.1/package/python-pysocks/python-pysocks.hash similarity index 100% rename from buildroot-2021.05/package/python-pysocks/python-pysocks.hash rename to buildroot-2022.02.1/package/python-pysocks/python-pysocks.hash diff --git a/buildroot-2021.05/package/python-pysocks/python-pysocks.mk b/buildroot-2022.02.1/package/python-pysocks/python-pysocks.mk similarity index 100% rename from buildroot-2021.05/package/python-pysocks/python-pysocks.mk rename to buildroot-2022.02.1/package/python-pysocks/python-pysocks.mk diff --git a/buildroot-2022.02.1/package/python-pytablereader/Config.in b/buildroot-2022.02.1/package/python-pytablereader/Config.in new file mode 100644 index 00000000..889cb798 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytablereader/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_PYTHON_PYTABLEREADER + bool "python-pytablereader" + select BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4 # runtime + select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime + select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime + select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime + select BR2_PACKAGE_PYTHON_PATHPY # runtime + select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_TABLEDATA # runtime + select BR2_PACKAGE_PYTHON_TYPEPY # runtime + help + A python library to load structured table data from + files/URL with various data formats: + CSV/Excel/HTML/JSON/LTSV/Markdown/TSV. + + https://github.com/thombashi/pytablereader diff --git a/buildroot-2021.05/package/python-pytablereader/python-pytablereader.hash b/buildroot-2022.02.1/package/python-pytablereader/python-pytablereader.hash similarity index 100% rename from buildroot-2021.05/package/python-pytablereader/python-pytablereader.hash rename to buildroot-2022.02.1/package/python-pytablereader/python-pytablereader.hash diff --git a/buildroot-2021.05/package/python-pytablereader/python-pytablereader.mk b/buildroot-2022.02.1/package/python-pytablereader/python-pytablereader.mk similarity index 100% rename from buildroot-2021.05/package/python-pytablereader/python-pytablereader.mk rename to buildroot-2022.02.1/package/python-pytablereader/python-pytablereader.mk diff --git a/buildroot-2022.02.1/package/python-pytablewriter/Config.in b/buildroot-2022.02.1/package/python-pytablewriter/Config.in new file mode 100644 index 00000000..041c30eb --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytablewriter/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_PYTHON_PYTABLEWRITER + bool "python-pytablewriter" + select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime + select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime + select BR2_PACKAGE_PYTHON_MSGFY # runtime + select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_TABLEDATA # runtime + select BR2_PACKAGE_PYTHON_TYPEPY # runtime + help + pytablewriter is a python library to write a table in various + formats: CSV, HTML, JavaScript, JSON, Markdown, Excel, Pandas, + Python, reStructuredText. + + https://github.com/thombashi/pytablewriter diff --git a/buildroot-2021.05/package/python-pytablewriter/python-pytablewriter.hash b/buildroot-2022.02.1/package/python-pytablewriter/python-pytablewriter.hash similarity index 100% rename from buildroot-2021.05/package/python-pytablewriter/python-pytablewriter.hash rename to buildroot-2022.02.1/package/python-pytablewriter/python-pytablewriter.hash diff --git a/buildroot-2021.05/package/python-pytablewriter/python-pytablewriter.mk b/buildroot-2022.02.1/package/python-pytablewriter/python-pytablewriter.mk similarity index 100% rename from buildroot-2021.05/package/python-pytablewriter/python-pytablewriter.mk rename to buildroot-2022.02.1/package/python-pytablewriter/python-pytablewriter.mk diff --git a/buildroot-2022.02.1/package/python-pytest-asyncio/Config.in b/buildroot-2022.02.1/package/python-pytest-asyncio/Config.in new file mode 100644 index 00000000..2088a8bd --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytest-asyncio/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYTEST_ASYNCIO + bool "python-pytest-asyncio" + select BR2_PACKAGE_PYTHON_PYTEST # runtime + help + Pytest support for asyncio. + + https://github.com/pytest-dev/pytest-asyncio diff --git a/buildroot-2022.02.1/package/python-pytest-asyncio/python-pytest-asyncio.hash b/buildroot-2022.02.1/package/python-pytest-asyncio/python-pytest-asyncio.hash new file mode 100644 index 00000000..4949919e --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytest-asyncio/python-pytest-asyncio.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pytest-asyncio/json +md5 8940c41c342b5bafe2ebb0d6e5c320ec pytest-asyncio-0.15.1.tar.gz +sha256 2564ceb9612bbd560d19ca4b41347b54e7835c2f792c504f698e05395ed63f6f pytest-asyncio-0.15.1.tar.gz +# Locally computed sha256 checksums +sha256 cb5e8e7e5f4a3988e1063c142c60dc2df75605f4c46515e776e3aca6df976e14 LICENSE diff --git a/buildroot-2022.02.1/package/python-pytest-asyncio/python-pytest-asyncio.mk b/buildroot-2022.02.1/package/python-pytest-asyncio/python-pytest-asyncio.mk new file mode 100644 index 00000000..bd2e0083 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytest-asyncio/python-pytest-asyncio.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pytest-asyncio +# +################################################################################ + +PYTHON_PYTEST_ASYNCIO_VERSION = 0.15.1 +PYTHON_PYTEST_ASYNCIO_SOURCE = pytest-asyncio-$(PYTHON_PYTEST_ASYNCIO_VERSION).tar.gz +PYTHON_PYTEST_ASYNCIO_SITE = https://files.pythonhosted.org/packages/de/c1/b2b0119e30f61f7ec8b44f129f6fde46a1a7329de17110f124639aa8896b +PYTHON_PYTEST_ASYNCIO_SETUP_TYPE = setuptools +PYTHON_PYTEST_ASYNCIO_LICENSE = Apache-2.0 +PYTHON_PYTEST_ASYNCIO_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pytest/Config.in b/buildroot-2022.02.1/package/python-pytest/Config.in new file mode 100644 index 00000000..c3956c76 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytest/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_PYTHON_PYTEST + bool "python-pytest" + select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_INICONFIG # runtime + select BR2_PACKAGE_PYTHON_PACKAGING # runtime + select BR2_PACKAGE_PYTHON_PLUGGY # runtime + select BR2_PACKAGE_PYTHON_PY # runtime + select BR2_PACKAGE_PYTHON_TOML # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + help + pytest is a framework that makes building simple and scalable + tests easy. Tests are expressive and readable—no boilerplate + code required. + + https://docs.pytest.org/en/latest/ diff --git a/buildroot-2022.02.1/package/python-pytest/python-pytest.hash b/buildroot-2022.02.1/package/python-pytest/python-pytest.hash new file mode 100644 index 00000000..060dc618 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytest/python-pytest.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pytest/json +md5 8bc467ebd5d571778dc51dd87ff09513 pytest-6.2.5.tar.gz +sha256 131b36680866a76e6781d13f101efb86cf674ebb9762eb70d3082b6f29889e89 pytest-6.2.5.tar.gz +# Locally computer sha256 +sha256 7898b9b164d4f93fd9a562fd0f592935518b48c4745303964110eb7f7fe64faf LICENSE diff --git a/buildroot-2022.02.1/package/python-pytest/python-pytest.mk b/buildroot-2022.02.1/package/python-pytest/python-pytest.mk new file mode 100644 index 00000000..5aa9ebca --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytest/python-pytest.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pytest +# +################################################################################ + +PYTHON_PYTEST_VERSION = 6.2.5 +PYTHON_PYTEST_SOURCE = pytest-$(PYTHON_PYTEST_VERSION).tar.gz +PYTHON_PYTEST_SITE = https://files.pythonhosted.org/packages/4b/24/7d1f2d2537de114bdf1e6875115113ca80091520948d370c964b88070af2 +PYTHON_PYTEST_SETUP_TYPE = setuptools +PYTHON_PYTEST_LICENSE = MIT +PYTHON_PYTEST_LICENSE_FILES = LICENSE +PYTHON_PYTEST_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pytrie/Config.in b/buildroot-2022.02.1/package/python-pytrie/Config.in new file mode 100644 index 00000000..15663847 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytrie/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_PYTRIE + bool "python-pytrie" + select BR2_PACKAGE_PYTHON_SORTEDCONTAINERS # runtime + help + A pure Python implementation of the trie data structure. + + https://pypi.python.org/pypi/PyTrie diff --git a/buildroot-2021.05/package/python-pytrie/python-pytrie.hash b/buildroot-2022.02.1/package/python-pytrie/python-pytrie.hash similarity index 100% rename from buildroot-2021.05/package/python-pytrie/python-pytrie.hash rename to buildroot-2022.02.1/package/python-pytrie/python-pytrie.hash diff --git a/buildroot-2021.05/package/python-pytrie/python-pytrie.mk b/buildroot-2022.02.1/package/python-pytrie/python-pytrie.mk similarity index 100% rename from buildroot-2021.05/package/python-pytrie/python-pytrie.mk rename to buildroot-2022.02.1/package/python-pytrie/python-pytrie.mk diff --git a/buildroot-2021.05/package/python-pytz/Config.in b/buildroot-2022.02.1/package/python-pytz/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pytz/Config.in rename to buildroot-2022.02.1/package/python-pytz/Config.in diff --git a/buildroot-2022.02.1/package/python-pytz/python-pytz.hash b/buildroot-2022.02.1/package/python-pytz/python-pytz.hash new file mode 100644 index 00000000..e0f25390 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytz/python-pytz.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pytz/json +md5 d7b7060bbac4970afa2050c139c9fcb6 pytz-2021.3.tar.gz +sha256 acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326 pytz-2021.3.tar.gz +# Locally computed sha256 checksums +sha256 be8b1a37ebe26c592a90f6c0eb33103a7f383ce2f4d7498c0af9a526990a07b8 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-pytz/python-pytz.mk b/buildroot-2022.02.1/package/python-pytz/python-pytz.mk new file mode 100644 index 00000000..d6067506 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pytz/python-pytz.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-pytz +# +################################################################################ + +PYTHON_PYTZ_VERSION = 2021.3 +PYTHON_PYTZ_SOURCE = pytz-$(PYTHON_PYTZ_VERSION).tar.gz +PYTHON_PYTZ_SITE = https://files.pythonhosted.org/packages/e3/8e/1cde9d002f48a940b9d9d38820aaf444b229450c0854bdf15305ce4a3d1a +PYTHON_PYTZ_SETUP_TYPE = setuptools +PYTHON_PYTZ_LICENSE = MIT +PYTHON_PYTZ_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-pyudev/0001-Workaround-finding-libudev-on-systems-without-ldconf.patch b/buildroot-2022.02.1/package/python-pyudev/0001-Workaround-finding-libudev-on-systems-without-ldconf.patch new file mode 100644 index 00000000..d798f836 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyudev/0001-Workaround-finding-libudev-on-systems-without-ldconf.patch @@ -0,0 +1,51 @@ +From e86a1c199d45c9751da67f947af202927dee07f8 Mon Sep 17 00:00:00 2001 +From: Yegor Yefremov +Date: Thu, 10 Dec 2015 08:44:55 +0100 +Subject: [PATCH] Workaround finding libudev on systems without ldconf + +This patch tries to load libudev.so directly without relying on +Python's find_library(). find_library() fails on systems +without library cache mechanism. + +Taken from pyudev issue 117 discussion: +https://github.com/pyudev/pyudev/pull/117 + +Signed-off-by: Yegor Yefremov +[Marcin: adjust to 0.22.0] +Signed-off-by: Marcin Niestroj +[Fabrice: Use %-formatting instead of f-string for python 2] +Signed-off-by: Fabrice Fontaine +--- + src/pyudev/_ctypeslib/utils.py | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/pyudev/_ctypeslib/utils.py b/src/pyudev/_ctypeslib/utils.py +index 9dffb3c..aa9942f 100644 +--- a/src/pyudev/_ctypeslib/utils.py ++++ b/src/pyudev/_ctypeslib/utils.py +@@ -28,7 +28,7 @@ + from __future__ import print_function + from __future__ import unicode_literals + +-from ctypes import CDLL ++from ctypes import cdll, CDLL + from ctypes.util import find_library + + +@@ -50,10 +50,10 @@ def load_ctypes_library(name, signatures, error_checkers): + :rtype: ctypes.CDLL + :raises ImportError: if the library is not found + """ +- library_name = find_library(name) +- if not library_name: ++ try: ++ lib = cdll.LoadLibrary('lib%s.so' % name) ++ except OSError: + raise ImportError('No library named %s' % name) +- lib = CDLL(library_name, use_errno=True) + # Add function signatures + for funcname, signature in signatures.items(): + function = getattr(lib, funcname, None) +-- +2.29.1 + diff --git a/buildroot-2022.02.1/package/python-pyudev/Config.in b/buildroot-2022.02.1/package/python-pyudev/Config.in new file mode 100644 index 00000000..e0da067c --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyudev/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_PYUDEV + bool "python-pyudev" + depends on BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + pyudev is a LGPL licenced, pure Python 2/3 binding to + libudev, the device and hardware management and information + library of Linux. + + https://github.com/pyudev/pyudev + +comment "python-pyudev needs udev /dev management" + depends on !BR2_PACKAGE_HAS_UDEV diff --git a/buildroot-2021.05/package/python-pyudev/python-pyudev.hash b/buildroot-2022.02.1/package/python-pyudev/python-pyudev.hash similarity index 100% rename from buildroot-2021.05/package/python-pyudev/python-pyudev.hash rename to buildroot-2022.02.1/package/python-pyudev/python-pyudev.hash diff --git a/buildroot-2021.05/package/python-pyudev/python-pyudev.mk b/buildroot-2022.02.1/package/python-pyudev/python-pyudev.mk similarity index 100% rename from buildroot-2021.05/package/python-pyudev/python-pyudev.mk rename to buildroot-2022.02.1/package/python-pyudev/python-pyudev.mk diff --git a/buildroot-2022.02.1/package/python-pyusb/Config.in b/buildroot-2022.02.1/package/python-pyusb/Config.in new file mode 100644 index 00000000..bba3480a --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyusb/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_PYUSB + bool "python-pyusb" + depends on BR2_TOOLCHAIN_HAS_THREADS # libusb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + The PyUSB module provides easy access to the Universal + Serial Bus (USB) from Python. + + http://sourceforge.net/apps/trac/pyusb/ + +comment "python-pyusb needs a toolchain w/ threads, gcc >= 4.9" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/python-pyusb/python-pyusb.hash b/buildroot-2022.02.1/package/python-pyusb/python-pyusb.hash new file mode 100644 index 00000000..f08b212b --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyusb/python-pyusb.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyusb/json +md5 880008dff32dac8f58076b4e534492d9 pyusb-1.2.1.tar.gz +sha256 a4cc7404a203144754164b8b40994e2849fde1cfff06b08492f12fff9d9de7b9 pyusb-1.2.1.tar.gz +# Locally computed sha256 checksums +sha256 03e39fdcee9c18f2f9d0c3500a993ddeac050695eb81070ea41347587c76a7fe LICENSE diff --git a/buildroot-2022.02.1/package/python-pyusb/python-pyusb.mk b/buildroot-2022.02.1/package/python-pyusb/python-pyusb.mk new file mode 100644 index 00000000..2f4f9581 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyusb/python-pyusb.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-pyusb +# +################################################################################ + +PYTHON_PYUSB_VERSION = 1.2.1 +PYTHON_PYUSB_SOURCE = pyusb-$(PYTHON_PYUSB_VERSION).tar.gz +PYTHON_PYUSB_SITE = https://files.pythonhosted.org/packages/d9/6e/433a5614132576289b8643fe598dd5d51b16e130fd591564be952e15bb45 +PYTHON_PYUSB_LICENSE = BSD-3-Clause +PYTHON_PYUSB_LICENSE_FILES = LICENSE +PYTHON_PYUSB_SETUP_TYPE = setuptools +PYTHON_PYUSB_DEPENDENCIES = host-python-setuptools-scm libusb + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-pyxb/Config.in b/buildroot-2022.02.1/package/python-pyxb/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyxb/Config.in rename to buildroot-2022.02.1/package/python-pyxb/Config.in diff --git a/buildroot-2021.05/package/python-pyxb/python-pyxb.hash b/buildroot-2022.02.1/package/python-pyxb/python-pyxb.hash similarity index 100% rename from buildroot-2021.05/package/python-pyxb/python-pyxb.hash rename to buildroot-2022.02.1/package/python-pyxb/python-pyxb.hash diff --git a/buildroot-2021.05/package/python-pyxb/python-pyxb.mk b/buildroot-2022.02.1/package/python-pyxb/python-pyxb.mk similarity index 100% rename from buildroot-2021.05/package/python-pyxb/python-pyxb.mk rename to buildroot-2022.02.1/package/python-pyxb/python-pyxb.mk diff --git a/buildroot-2021.05/package/python-pyyaml/Config.in b/buildroot-2022.02.1/package/python-pyyaml/Config.in similarity index 100% rename from buildroot-2021.05/package/python-pyyaml/Config.in rename to buildroot-2022.02.1/package/python-pyyaml/Config.in diff --git a/buildroot-2022.02.1/package/python-pyyaml/python-pyyaml.hash b/buildroot-2022.02.1/package/python-pyyaml/python-pyyaml.hash new file mode 100644 index 00000000..f8b53325 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyyaml/python-pyyaml.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/PyYAML/json +md5 1d19c798f25e58e3e582f0f8c977dbb8 PyYAML-6.0.tar.gz +sha256 68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2 PyYAML-6.0.tar.gz +# Locally computed sha256 checksums +sha256 8d3928f9dc4490fd635707cb88eb26bd764102a7282954307d3e5167a577e8a4 LICENSE diff --git a/buildroot-2022.02.1/package/python-pyyaml/python-pyyaml.mk b/buildroot-2022.02.1/package/python-pyyaml/python-pyyaml.mk new file mode 100644 index 00000000..067af8ea --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyyaml/python-pyyaml.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# python-pyyaml +# +################################################################################ + +PYTHON_PYYAML_VERSION = 6.0 +PYTHON_PYYAML_SOURCE = PyYAML-$(PYTHON_PYYAML_VERSION).tar.gz +PYTHON_PYYAML_SITE = https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844 +PYTHON_PYYAML_SETUP_TYPE = setuptools +PYTHON_PYYAML_LICENSE = MIT +PYTHON_PYYAML_LICENSE_FILES = LICENSE +PYTHON_PYYAML_CPE_ID_VENDOR = pyyaml +PYTHON_PYYAML_CPE_ID_PRODUCT = pyyaml +PYTHON_PYYAML_DEPENDENCIES = host-python-cython libyaml +PYTHON_PYYAML_ENV = PYYAML_FORCE_CYTHON=1 +HOST_PYTHON_PYYAML_DEPENDENCIES = host-libyaml + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-pyzmq/0001-use-buildroot-zmq-version-instead-of-detect.patch b/buildroot-2022.02.1/package/python-pyzmq/0001-use-buildroot-zmq-version-instead-of-detect.patch similarity index 100% rename from buildroot-2021.05/package/python-pyzmq/0001-use-buildroot-zmq-version-instead-of-detect.patch rename to buildroot-2022.02.1/package/python-pyzmq/0001-use-buildroot-zmq-version-instead-of-detect.patch diff --git a/buildroot-2022.02.1/package/python-pyzmq/Config.in b/buildroot-2022.02.1/package/python-pyzmq/Config.in new file mode 100644 index 00000000..f8ce52f8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-pyzmq/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_PYZMQ + bool "python-pyzmq" + depends on BR2_INSTALL_LIBSTDCPP # zeromq + depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq + select BR2_PACKAGE_ZEROMQ + help + This package contains the python language binding for zeromq. + + http://zeromq.org/bindings:python + +comment "python-pyzmq needs a toolchain w/ C++, threads" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) diff --git a/buildroot-2021.05/package/python-pyzmq/python-pyzmq.hash b/buildroot-2022.02.1/package/python-pyzmq/python-pyzmq.hash similarity index 100% rename from buildroot-2021.05/package/python-pyzmq/python-pyzmq.hash rename to buildroot-2022.02.1/package/python-pyzmq/python-pyzmq.hash diff --git a/buildroot-2021.05/package/python-pyzmq/python-pyzmq.mk b/buildroot-2022.02.1/package/python-pyzmq/python-pyzmq.mk similarity index 100% rename from buildroot-2021.05/package/python-pyzmq/python-pyzmq.mk rename to buildroot-2022.02.1/package/python-pyzmq/python-pyzmq.mk diff --git a/buildroot-2022.02.1/package/python-raven/Config.in b/buildroot-2022.02.1/package/python-raven/Config.in new file mode 100644 index 00000000..d02232cf --- /dev/null +++ b/buildroot-2022.02.1/package/python-raven/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_RAVEN + bool "python-raven" + select BR2_PACKAGE_PYTHON3_ZLIB + select BR2_PACKAGE_PYTHON3_SSL + select BR2_PACKAGE_PYTHON3_UNICODEDATA + help + Raven is a client for Sentry (https://getsentry.com). + + https://github.com/getsentry/raven-python diff --git a/buildroot-2021.05/package/python-raven/python-raven.hash b/buildroot-2022.02.1/package/python-raven/python-raven.hash similarity index 100% rename from buildroot-2021.05/package/python-raven/python-raven.hash rename to buildroot-2022.02.1/package/python-raven/python-raven.hash diff --git a/buildroot-2021.05/package/python-raven/python-raven.mk b/buildroot-2022.02.1/package/python-raven/python-raven.mk similarity index 100% rename from buildroot-2021.05/package/python-raven/python-raven.mk rename to buildroot-2022.02.1/package/python-raven/python-raven.mk diff --git a/buildroot-2021.05/package/python-redis/Config.in b/buildroot-2022.02.1/package/python-redis/Config.in similarity index 100% rename from buildroot-2021.05/package/python-redis/Config.in rename to buildroot-2022.02.1/package/python-redis/Config.in diff --git a/buildroot-2021.05/package/python-redis/python-redis.hash b/buildroot-2022.02.1/package/python-redis/python-redis.hash similarity index 100% rename from buildroot-2021.05/package/python-redis/python-redis.hash rename to buildroot-2022.02.1/package/python-redis/python-redis.hash diff --git a/buildroot-2021.05/package/python-redis/python-redis.mk b/buildroot-2022.02.1/package/python-redis/python-redis.mk similarity index 100% rename from buildroot-2021.05/package/python-redis/python-redis.mk rename to buildroot-2022.02.1/package/python-redis/python-redis.mk diff --git a/buildroot-2022.02.1/package/python-reentry/Config.in b/buildroot-2022.02.1/package/python-reentry/Config.in new file mode 100644 index 00000000..07d8988a --- /dev/null +++ b/buildroot-2022.02.1/package/python-reentry/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_REENTRY + bool "python-reentry" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON_CLICK # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + A plugin manager based on setuptools entry points mechanism. + + https://pypi.org/project/reentry/ diff --git a/buildroot-2022.02.1/package/python-reentry/python-reentry.hash b/buildroot-2022.02.1/package/python-reentry/python-reentry.hash new file mode 100644 index 00000000..522b9361 --- /dev/null +++ b/buildroot-2022.02.1/package/python-reentry/python-reentry.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/reentry/json +md5 398c1e5bbda657aa645c8d2d38afb63f reentry-1.3.2.tar.gz +sha256 c6667e59aeabbb4d122aadc2170102a270e6a811d16a5431c5c3b91fabd7cf02 reentry-1.3.2.tar.gz +# Locally computed sha256 checksums +sha256 4ae7f3216208a7e2327236e95bcd2397b2495f1c2298c708986c893bea608509 LICENSE diff --git a/buildroot-2022.02.1/package/python-reentry/python-reentry.mk b/buildroot-2022.02.1/package/python-reentry/python-reentry.mk new file mode 100644 index 00000000..ec33c174 --- /dev/null +++ b/buildroot-2022.02.1/package/python-reentry/python-reentry.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-reentry +# +################################################################################ + +PYTHON_REENTRY_VERSION = 1.3.2 +PYTHON_REENTRY_SOURCE = reentry-$(PYTHON_REENTRY_VERSION).tar.gz +PYTHON_REENTRY_SITE = https://files.pythonhosted.org/packages/a0/88/eb0c107c19227a2292ed11711034a3d80c0dc1368d2b3ebeb3fe7b936a8e +PYTHON_REENTRY_SETUP_TYPE = setuptools +PYTHON_REENTRY_LICENSE = MIT +PYTHON_REENTRY_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-regex/Config.in b/buildroot-2022.02.1/package/python-regex/Config.in similarity index 100% rename from buildroot-2021.05/package/python-regex/Config.in rename to buildroot-2022.02.1/package/python-regex/Config.in diff --git a/buildroot-2022.02.1/package/python-regex/python-regex.hash b/buildroot-2022.02.1/package/python-regex/python-regex.hash new file mode 100644 index 00000000..b0f5bb05 --- /dev/null +++ b/buildroot-2022.02.1/package/python-regex/python-regex.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/regex/json +md5 cd206281327b4c087bb20bf93cee4ab9 regex-2021.4.4.tar.gz +sha256 52ba3d3f9b942c49d7e4bc105bb28551c44065f139a65062ab7912bef10c9afb regex-2021.4.4.tar.gz +# Locally computed sha256 checksums +sha256 bff55ef4cdcc8c14ce259f8e8ab60e264418440d6335f4dc138273fbd506144d LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-regex/python-regex.mk b/buildroot-2022.02.1/package/python-regex/python-regex.mk new file mode 100644 index 00000000..bb8fdf3e --- /dev/null +++ b/buildroot-2022.02.1/package/python-regex/python-regex.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-regex +# +################################################################################ + +PYTHON_REGEX_VERSION = 2021.4.4 +PYTHON_REGEX_SOURCE = regex-$(PYTHON_REGEX_VERSION).tar.gz +PYTHON_REGEX_SITE = https://files.pythonhosted.org/packages/38/3f/4c42a98c9ad7d08c16e7d23b2194a0e4f3b2914662da8bc88986e4e6de1f +PYTHON_REGEX_SETUP_TYPE = setuptools +PYTHON_REGEX_LICENSE = Apache-2.0 +PYTHON_REGEX_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-remi/Config.in b/buildroot-2022.02.1/package/python-remi/Config.in new file mode 100644 index 00000000..da2c2f4c --- /dev/null +++ b/buildroot-2022.02.1/package/python-remi/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_REMI + bool "python-remi" + select BR2_PACKAGE_PYTHON3_SSL # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + help + Remi is a GUI library for Python applications which transpiles + an application's interface into HTML to be rendered in a web + browser. This removes platform-specific dependencies and lets + you easily develop cross-platform applications in Python! + + https://github.com/dddomodossola/remi/tree/master diff --git a/buildroot-2022.02.1/package/python-remi/python-remi.hash b/buildroot-2022.02.1/package/python-remi/python-remi.hash new file mode 100644 index 00000000..4e1786a9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-remi/python-remi.hash @@ -0,0 +1,2 @@ +# sha256 from https://pypi.org/pypi/remi/json +sha256 c8691f007dc30b91013131b6aded3521c17ef8ec9fdd152a0ad481b8cb793f14 remi-2021.3.2.tar.gz diff --git a/buildroot-2022.02.1/package/python-remi/python-remi.mk b/buildroot-2022.02.1/package/python-remi/python-remi.mk new file mode 100644 index 00000000..609e127c --- /dev/null +++ b/buildroot-2022.02.1/package/python-remi/python-remi.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-remi +# +################################################################################ + +PYTHON_REMI_VERSION = 2021.3.2 +PYTHON_REMI_SOURCE = remi-$(PYTHON_REMI_VERSION).tar.gz +PYTHON_REMI_SITE = https://files.pythonhosted.org/packages/c0/99/94bd825cf8baee369b959f76c802a51ccc69d4d62ec113e26db4835f710c +PYTHON_REMI_LICENSE = Apache-2.0 +PYTHON_REMI_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-request-id/Config.in b/buildroot-2022.02.1/package/python-request-id/Config.in similarity index 100% rename from buildroot-2021.05/package/python-request-id/Config.in rename to buildroot-2022.02.1/package/python-request-id/Config.in diff --git a/buildroot-2022.02.1/package/python-request-id/python-request-id.hash b/buildroot-2022.02.1/package/python-request-id/python-request-id.hash new file mode 100644 index 00000000..a0e59a32 --- /dev/null +++ b/buildroot-2022.02.1/package/python-request-id/python-request-id.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/request-id/json +md5 abf0125561fb38198893ba4b46c5ce28 request-id-1.0.1.tar.gz +sha256 4adf1dc880085571454667ee4dba36a12b720eea5dbbfbbbd840c5a24268b4f7 request-id-1.0.1.tar.gz +# Locally computed sha256 checksums +sha256 2d65d17b4df34f184557b8031df05e4c264d2fa6b82e560be074967eff3b326c LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-request-id/python-request-id.mk b/buildroot-2022.02.1/package/python-request-id/python-request-id.mk new file mode 100644 index 00000000..8fe8dc04 --- /dev/null +++ b/buildroot-2022.02.1/package/python-request-id/python-request-id.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-request-id +# +################################################################################ + +PYTHON_REQUEST_ID_VERSION = 1.0.1 +PYTHON_REQUEST_ID_SOURCE = request-id-$(PYTHON_REQUEST_ID_VERSION).tar.gz +PYTHON_REQUEST_ID_SITE = https://files.pythonhosted.org/packages/9b/b3/30617b85b1766b6a804f2b8abc0ca7496f6349236f7eec28cb42687ca8e3 +PYTHON_REQUEST_ID_SETUP_TYPE = setuptools +PYTHON_REQUEST_ID_LICENSE = MIT +PYTHON_REQUEST_ID_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-requests-oauthlib/Config.in b/buildroot-2022.02.1/package/python-requests-oauthlib/Config.in similarity index 100% rename from buildroot-2021.05/package/python-requests-oauthlib/Config.in rename to buildroot-2022.02.1/package/python-requests-oauthlib/Config.in diff --git a/buildroot-2021.05/package/python-requests-oauthlib/python-requests-oauthlib.hash b/buildroot-2022.02.1/package/python-requests-oauthlib/python-requests-oauthlib.hash similarity index 100% rename from buildroot-2021.05/package/python-requests-oauthlib/python-requests-oauthlib.hash rename to buildroot-2022.02.1/package/python-requests-oauthlib/python-requests-oauthlib.hash diff --git a/buildroot-2021.05/package/python-requests-oauthlib/python-requests-oauthlib.mk b/buildroot-2022.02.1/package/python-requests-oauthlib/python-requests-oauthlib.mk similarity index 100% rename from buildroot-2021.05/package/python-requests-oauthlib/python-requests-oauthlib.mk rename to buildroot-2022.02.1/package/python-requests-oauthlib/python-requests-oauthlib.mk diff --git a/buildroot-2021.05/package/python-requests-toolbelt/Config.in b/buildroot-2022.02.1/package/python-requests-toolbelt/Config.in similarity index 100% rename from buildroot-2021.05/package/python-requests-toolbelt/Config.in rename to buildroot-2022.02.1/package/python-requests-toolbelt/Config.in diff --git a/buildroot-2021.05/package/python-requests-toolbelt/python-requests-toolbelt.hash b/buildroot-2022.02.1/package/python-requests-toolbelt/python-requests-toolbelt.hash similarity index 100% rename from buildroot-2021.05/package/python-requests-toolbelt/python-requests-toolbelt.hash rename to buildroot-2022.02.1/package/python-requests-toolbelt/python-requests-toolbelt.hash diff --git a/buildroot-2021.05/package/python-requests-toolbelt/python-requests-toolbelt.mk b/buildroot-2022.02.1/package/python-requests-toolbelt/python-requests-toolbelt.mk similarity index 100% rename from buildroot-2021.05/package/python-requests-toolbelt/python-requests-toolbelt.mk rename to buildroot-2022.02.1/package/python-requests-toolbelt/python-requests-toolbelt.mk diff --git a/buildroot-2022.02.1/package/python-requests/Config.in b/buildroot-2022.02.1/package/python-requests/Config.in new file mode 100644 index 00000000..94a44682 --- /dev/null +++ b/buildroot-2022.02.1/package/python-requests/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_PYTHON_REQUESTS + bool "python-requests" + select BR2_PACKAGE_PYTHON_CERTIFI # runtime + select BR2_PACKAGE_PYTHON_CHARSET_NORMALIZER # runtime + select BR2_PACKAGE_PYTHON_IDNA # runtime + select BR2_PACKAGE_PYTHON_URLLIB3 # runtime + select BR2_PACKAGE_PYTHON3_SSL # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + Requests is an Apache2 Licensed HTTP library, written in + Python, for human beings. + + http://www.python-requests.org/ diff --git a/buildroot-2022.02.1/package/python-requests/python-requests.hash b/buildroot-2022.02.1/package/python-requests/python-requests.hash new file mode 100644 index 00000000..1e4cbaff --- /dev/null +++ b/buildroot-2022.02.1/package/python-requests/python-requests.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/requests/json +md5 bcc01b73974a305cc7c5b092e7d07004 requests-2.27.1.tar.gz +sha256 68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61 requests-2.27.1.tar.gz +# Locally computed sha256 checksums +sha256 09e8a9bcec8067104652c168685ab0931e7868f9c8284b66f5ae6edae5f1130b LICENSE diff --git a/buildroot-2022.02.1/package/python-requests/python-requests.mk b/buildroot-2022.02.1/package/python-requests/python-requests.mk new file mode 100644 index 00000000..9613a2c4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-requests/python-requests.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# python-requests +# +################################################################################ + +PYTHON_REQUESTS_VERSION = 2.27.1 +PYTHON_REQUESTS_SOURCE = requests-$(PYTHON_REQUESTS_VERSION).tar.gz +PYTHON_REQUESTS_SITE = https://files.pythonhosted.org/packages/60/f3/26ff3767f099b73e0efa138a9998da67890793bfa475d8278f84a30fec77 +PYTHON_REQUESTS_SETUP_TYPE = setuptools +PYTHON_REQUESTS_LICENSE = Apache-2.0 +PYTHON_REQUESTS_LICENSE_FILES = LICENSE +PYTHON_REQUESTS_CPE_ID_VENDOR = python +PYTHON_REQUESTS_CPE_ID_PRODUCT = requests +HOST_PYTHON_REQUESTS_DEPENDENCIES = \ + host-python-certifi \ + host-python-charset-normalizer \ + host-python-idna \ + host-python-urllib3 + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-rpi-gpio/0001-fix-build-with-gcc-10.x.patch b/buildroot-2022.02.1/package/python-rpi-gpio/0001-fix-build-with-gcc-10.x.patch similarity index 100% rename from buildroot-2021.05/package/python-rpi-gpio/0001-fix-build-with-gcc-10.x.patch rename to buildroot-2022.02.1/package/python-rpi-gpio/0001-fix-build-with-gcc-10.x.patch diff --git a/buildroot-2022.02.1/package/python-rpi-gpio/Config.in b/buildroot-2022.02.1/package/python-rpi-gpio/Config.in new file mode 100644 index 00000000..f3c0928c --- /dev/null +++ b/buildroot-2022.02.1/package/python-rpi-gpio/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_RPI_GPIO + bool "python-rpi-gpio" + depends on BR2_arm || BR2_aarch64 + help + A Python module to control the GPIO on a Raspberry Pi. + + http://sourceforge.net/p/raspberry-gpio-python diff --git a/buildroot-2021.05/package/python-rpi-gpio/python-rpi-gpio.hash b/buildroot-2022.02.1/package/python-rpi-gpio/python-rpi-gpio.hash similarity index 100% rename from buildroot-2021.05/package/python-rpi-gpio/python-rpi-gpio.hash rename to buildroot-2022.02.1/package/python-rpi-gpio/python-rpi-gpio.hash diff --git a/buildroot-2021.05/package/python-rpi-gpio/python-rpi-gpio.mk b/buildroot-2022.02.1/package/python-rpi-gpio/python-rpi-gpio.mk similarity index 100% rename from buildroot-2021.05/package/python-rpi-gpio/python-rpi-gpio.mk rename to buildroot-2022.02.1/package/python-rpi-gpio/python-rpi-gpio.mk diff --git a/buildroot-2021.05/package/python-rpi-ws281x/Config.in b/buildroot-2022.02.1/package/python-rpi-ws281x/Config.in similarity index 100% rename from buildroot-2021.05/package/python-rpi-ws281x/Config.in rename to buildroot-2022.02.1/package/python-rpi-ws281x/Config.in diff --git a/buildroot-2022.02.1/package/python-rpi-ws281x/python-rpi-ws281x.hash b/buildroot-2022.02.1/package/python-rpi-ws281x/python-rpi-ws281x.hash new file mode 100644 index 00000000..06b2d186 --- /dev/null +++ b/buildroot-2022.02.1/package/python-rpi-ws281x/python-rpi-ws281x.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/rpi-ws281x/json +md5 333dacfc58058d5f485f9af74551c70e rpi_ws281x-4.3.0.tar.gz +sha256 0b9549687ab7117acbc4bac0e92742fd2c8290fd204514d72fed91c06ba2e805 rpi_ws281x-4.3.0.tar.gz +# Locally computed sha256 checksums +sha256 7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9 LICENSE +sha256 7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9 lib/LICENSE diff --git a/buildroot-2022.02.1/package/python-rpi-ws281x/python-rpi-ws281x.mk b/buildroot-2022.02.1/package/python-rpi-ws281x/python-rpi-ws281x.mk new file mode 100644 index 00000000..b7110396 --- /dev/null +++ b/buildroot-2022.02.1/package/python-rpi-ws281x/python-rpi-ws281x.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-rpi-ws281x +# +################################################################################ + +PYTHON_RPI_WS281X_VERSION = 4.3.0 +PYTHON_RPI_WS281X_SOURCE = rpi_ws281x-$(PYTHON_RPI_WS281X_VERSION).tar.gz +PYTHON_RPI_WS281X_SITE = https://files.pythonhosted.org/packages/cd/b3/eb7ac93376952f165577707ec756f40c9537ed53c59fcbc3290c357370e0 +PYTHON_RPI_WS281X_SETUP_TYPE = setuptools +PYTHON_RPI_WS281X_LICENSE = BSD-2-Clause +PYTHON_RPI_WS281X_LICENSE_FILES = LICENSE lib/LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-rsa/Config.in b/buildroot-2022.02.1/package/python-rsa/Config.in new file mode 100644 index 00000000..5cafd821 --- /dev/null +++ b/buildroot-2022.02.1/package/python-rsa/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_PYTHON_RSA + bool "python-rsa" + select BR2_PACKAGE_PYTHON_PYASN1 # runtime + help + Python-RSA is a pure-Python RSA implementation. It supports + encryption and decryption, signing and verifying signatures, + and key generation according to PKCS\#1 version 1.5. It can + be used as a Python library as well as on the command line. + + https://stuvel.eu/rsa diff --git a/buildroot-2022.02.1/package/python-rsa/python-rsa.hash b/buildroot-2022.02.1/package/python-rsa/python-rsa.hash new file mode 100644 index 00000000..9fbbf0ac --- /dev/null +++ b/buildroot-2022.02.1/package/python-rsa/python-rsa.hash @@ -0,0 +1,5 @@ +# From https://pypi.org/project/rsa/ +sha256 9d689e6ca1b3038bc82bf8d23e944b6b6037bc02301a574935b2dd946e0353b9 rsa-4.7.2.tar.gz + +# Locally computed +sha256 073f28b7d389c8fe74f607e17c27f81eaa5ace69edc43a884f23f41b41c5c726 LICENSE diff --git a/buildroot-2022.02.1/package/python-rsa/python-rsa.mk b/buildroot-2022.02.1/package/python-rsa/python-rsa.mk new file mode 100644 index 00000000..a3d4bb82 --- /dev/null +++ b/buildroot-2022.02.1/package/python-rsa/python-rsa.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-rsa +# +################################################################################ + +PYTHON_RSA_VERSION = 4.7.2 +PYTHON_RSA_SOURCE = rsa-$(PYTHON_RSA_VERSION).tar.gz +PYTHON_RSA_SITE = https://files.pythonhosted.org/packages/db/b5/475c45a58650b0580421746504b680cd2db4e81bc941e94ca53785250269 +PYTHON_RSA_SETUP_TYPE = setuptools +PYTHON_RSA_LICENSE = Apache-2.0 +PYTHON_RSA_LICENSE_FILES = LICENSE +PYTHON_RSA_CPE_ID_VENDOR = python-rsa_project + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-rtslib-fb/Config.in b/buildroot-2022.02.1/package/python-rtslib-fb/Config.in similarity index 100% rename from buildroot-2021.05/package/python-rtslib-fb/Config.in rename to buildroot-2022.02.1/package/python-rtslib-fb/Config.in diff --git a/buildroot-2022.02.1/package/python-rtslib-fb/python-rtslib-fb.hash b/buildroot-2022.02.1/package/python-rtslib-fb/python-rtslib-fb.hash new file mode 100644 index 00000000..3c2e39ff --- /dev/null +++ b/buildroot-2022.02.1/package/python-rtslib-fb/python-rtslib-fb.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 9f581c4bcffebc60be236af8a6ebdeccdb66d0435eeb04ab1b743c170b95d046 python-rtslib-fb-2.1.74.tar.gz +sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 COPYING diff --git a/buildroot-2022.02.1/package/python-rtslib-fb/python-rtslib-fb.mk b/buildroot-2022.02.1/package/python-rtslib-fb/python-rtslib-fb.mk new file mode 100644 index 00000000..09bde874 --- /dev/null +++ b/buildroot-2022.02.1/package/python-rtslib-fb/python-rtslib-fb.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-rtslib-fb +# +################################################################################ + +# When upgrading the version, be sure to also upgrade +# python-configshell-fb and targetcli-fb at the same time. +PYTHON_RTSLIB_FB_VERSION = 2.1.74 +# Do not switch site to PyPI: it does not contain the latest version. +PYTHON_RTSLIB_FB_SITE = $(call github,open-iscsi,rtslib-fb,v$(PYTHON_RTSLIB_FB_VERSION)) +PYTHON_RTSLIB_FB_LICENSE = Apache-2.0 +PYTHON_RTSLIB_FB_LICENSE_FILES = COPYING +PYTHON_RTSLIB_FB_SETUP_TYPE = setuptools +PYTHON_RTSLIB_FB_DEPENDENCIES = python-six + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-s3transfer/Config.in b/buildroot-2022.02.1/package/python-s3transfer/Config.in new file mode 100644 index 00000000..a7f85b14 --- /dev/null +++ b/buildroot-2022.02.1/package/python-s3transfer/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_S3TRANSFER + bool "python-s3transfer" + select BR2_PACKAGE_PYTHON_BOTOCORE # runtime + help + An Amazon S3 Transfer Manager. + + https://github.com/boto/s3transfer diff --git a/buildroot-2022.02.1/package/python-s3transfer/python-s3transfer.hash b/buildroot-2022.02.1/package/python-s3transfer/python-s3transfer.hash new file mode 100644 index 00000000..b8f4a57a --- /dev/null +++ b/buildroot-2022.02.1/package/python-s3transfer/python-s3transfer.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/s3transfer/json +md5 9416d1c7d33506501a8627bb1f7baf66 s3transfer-0.5.0.tar.gz +sha256 50ed823e1dc5868ad40c8dc92072f757aa0e653a192845c94a3b676f4a62da4c s3transfer-0.5.0.tar.gz +# Locally computed sha256 checksums +sha256 8c6db340475136df3c1201d458fa5755698eace76e510471ecc9d857d6083dac LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-s3transfer/python-s3transfer.mk b/buildroot-2022.02.1/package/python-s3transfer/python-s3transfer.mk new file mode 100644 index 00000000..8b8e02db --- /dev/null +++ b/buildroot-2022.02.1/package/python-s3transfer/python-s3transfer.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-s3transfer +# +################################################################################ + +PYTHON_S3TRANSFER_VERSION = 0.5.0 +PYTHON_S3TRANSFER_SOURCE = s3transfer-$(PYTHON_S3TRANSFER_VERSION).tar.gz +PYTHON_S3TRANSFER_SITE = https://files.pythonhosted.org/packages/88/ef/4d1b3f52ae20a7e72151fde5c9f254cd83f8a49047351f34006e517e1655 +PYTHON_S3TRANSFER_SETUP_TYPE = setuptools +PYTHON_S3TRANSFER_LICENSE = Apache-2.0 +PYTHON_S3TRANSFER_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-scandir/Config.in b/buildroot-2022.02.1/package/python-scandir/Config.in similarity index 100% rename from buildroot-2021.05/package/python-scandir/Config.in rename to buildroot-2022.02.1/package/python-scandir/Config.in diff --git a/buildroot-2021.05/package/python-scandir/python-scandir.hash b/buildroot-2022.02.1/package/python-scandir/python-scandir.hash similarity index 100% rename from buildroot-2021.05/package/python-scandir/python-scandir.hash rename to buildroot-2022.02.1/package/python-scandir/python-scandir.hash diff --git a/buildroot-2021.05/package/python-scandir/python-scandir.mk b/buildroot-2022.02.1/package/python-scandir/python-scandir.mk similarity index 100% rename from buildroot-2021.05/package/python-scandir/python-scandir.mk rename to buildroot-2022.02.1/package/python-scandir/python-scandir.mk diff --git a/buildroot-2022.02.1/package/python-scapy/Config.in b/buildroot-2022.02.1/package/python-scapy/Config.in new file mode 100644 index 00000000..517fb517 --- /dev/null +++ b/buildroot-2022.02.1/package/python-scapy/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_SCAPY + bool "python-scapy" + select BR2_PACKAGE_PYTHON3_ZLIB + help + Scapy: interactive packet manipulation tool. + + http://www.secdev.org/projects/scapy diff --git a/buildroot-2022.02.1/package/python-scapy/python-scapy.hash b/buildroot-2022.02.1/package/python-scapy/python-scapy.hash new file mode 100644 index 00000000..4dccffd3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-scapy/python-scapy.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/scapy/json +md5 54072af118e9291b6c7898b4ea87cdaf scapy-2.4.5.tar.gz +sha256 bc707e3604784496b6665a9e5b2a69c36cc9fb032af4864b29051531b24c8593 scapy-2.4.5.tar.gz +# Locally computed sha256 checksums +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/python-scapy/python-scapy.mk b/buildroot-2022.02.1/package/python-scapy/python-scapy.mk new file mode 100644 index 00000000..9cf17db6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-scapy/python-scapy.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-scapy +# +################################################################################ + +PYTHON_SCAPY_VERSION = 2.4.5 +PYTHON_SCAPY_SOURCE = scapy-$(PYTHON_SCAPY_VERSION).tar.gz +PYTHON_SCAPY_SITE = https://files.pythonhosted.org/packages/85/47/c919432ca258f354bb2c1e645623f891603f185bfc7563d4a21f6432e7ed +PYTHON_SCAPY_SETUP_TYPE = setuptools +PYTHON_SCAPY_LICENSE = GPL-2.0 +PYTHON_SCAPY_LICENSE_FILES = LICENSE +PYTHON_SCAPY_CPE_ID_VENDOR = scapy +PYTHON_SCAPY_CPE_ID_PRODUCT = scapy + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-schedule/Config.in b/buildroot-2022.02.1/package/python-schedule/Config.in similarity index 100% rename from buildroot-2021.05/package/python-schedule/Config.in rename to buildroot-2022.02.1/package/python-schedule/Config.in diff --git a/buildroot-2022.02.1/package/python-schedule/python-schedule.hash b/buildroot-2022.02.1/package/python-schedule/python-schedule.hash new file mode 100644 index 00000000..3d67be0f --- /dev/null +++ b/buildroot-2022.02.1/package/python-schedule/python-schedule.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/schedule/json +md5 9bf7544e37824e450457187633a17b17 schedule-1.1.0.tar.gz +sha256 e6ca13585e62c810e13a08682e0a6a8ad245372e376ba2b8679294f377dfc8e4 schedule-1.1.0.tar.gz +# Locally computed sha256 checksums +sha256 30a8352c318ce1b645acde0299697342d4380ed2637d7ca18a8ad25661e3b41b LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-schedule/python-schedule.mk b/buildroot-2022.02.1/package/python-schedule/python-schedule.mk new file mode 100644 index 00000000..fc6081cf --- /dev/null +++ b/buildroot-2022.02.1/package/python-schedule/python-schedule.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-schedule +# +################################################################################ + +PYTHON_SCHEDULE_VERSION = 1.1.0 +PYTHON_SCHEDULE_SOURCE = schedule-$(PYTHON_SCHEDULE_VERSION).tar.gz +PYTHON_SCHEDULE_SITE = https://files.pythonhosted.org/packages/a8/b5/a291a4c0faa491fd5baefa6d89011ece581cff47b23c0a39b42a63383358 +PYTHON_SCHEDULE_SETUP_TYPE = setuptools +PYTHON_SCHEDULE_LICENSE = MIT +PYTHON_SCHEDULE_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-sdnotify/Config.in b/buildroot-2022.02.1/package/python-sdnotify/Config.in similarity index 100% rename from buildroot-2021.05/package/python-sdnotify/Config.in rename to buildroot-2022.02.1/package/python-sdnotify/Config.in diff --git a/buildroot-2021.05/package/python-sdnotify/python-sdnotify.hash b/buildroot-2022.02.1/package/python-sdnotify/python-sdnotify.hash similarity index 100% rename from buildroot-2021.05/package/python-sdnotify/python-sdnotify.hash rename to buildroot-2022.02.1/package/python-sdnotify/python-sdnotify.hash diff --git a/buildroot-2021.05/package/python-sdnotify/python-sdnotify.mk b/buildroot-2022.02.1/package/python-sdnotify/python-sdnotify.mk similarity index 100% rename from buildroot-2021.05/package/python-sdnotify/python-sdnotify.mk rename to buildroot-2022.02.1/package/python-sdnotify/python-sdnotify.mk diff --git a/buildroot-2022.02.1/package/python-secretstorage/Config.in b/buildroot-2022.02.1/package/python-secretstorage/Config.in new file mode 100644 index 00000000..f0a8689e --- /dev/null +++ b/buildroot-2022.02.1/package/python-secretstorage/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_SECRETSTORAGE + bool "python-secretstorage" + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography + select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime + help + Python bindings to FreeDesktop.org Secret Service API. + + https://github.com/mitya57/secretstorage diff --git a/buildroot-2021.05/package/python-secretstorage/python-secretstorage.hash b/buildroot-2022.02.1/package/python-secretstorage/python-secretstorage.hash similarity index 100% rename from buildroot-2021.05/package/python-secretstorage/python-secretstorage.hash rename to buildroot-2022.02.1/package/python-secretstorage/python-secretstorage.hash diff --git a/buildroot-2021.05/package/python-secretstorage/python-secretstorage.mk b/buildroot-2022.02.1/package/python-secretstorage/python-secretstorage.mk similarity index 100% rename from buildroot-2021.05/package/python-secretstorage/python-secretstorage.mk rename to buildroot-2022.02.1/package/python-secretstorage/python-secretstorage.mk diff --git a/buildroot-2021.05/package/python-see/Config.in b/buildroot-2022.02.1/package/python-see/Config.in similarity index 100% rename from buildroot-2021.05/package/python-see/Config.in rename to buildroot-2022.02.1/package/python-see/Config.in diff --git a/buildroot-2021.05/package/python-see/python-see.hash b/buildroot-2022.02.1/package/python-see/python-see.hash similarity index 100% rename from buildroot-2021.05/package/python-see/python-see.hash rename to buildroot-2022.02.1/package/python-see/python-see.hash diff --git a/buildroot-2021.05/package/python-see/python-see.mk b/buildroot-2022.02.1/package/python-see/python-see.mk similarity index 100% rename from buildroot-2021.05/package/python-see/python-see.mk rename to buildroot-2022.02.1/package/python-see/python-see.mk diff --git a/buildroot-2021.05/package/python-semantic-version/python-semantic-version.hash b/buildroot-2022.02.1/package/python-semantic-version/python-semantic-version.hash similarity index 100% rename from buildroot-2021.05/package/python-semantic-version/python-semantic-version.hash rename to buildroot-2022.02.1/package/python-semantic-version/python-semantic-version.hash diff --git a/buildroot-2021.05/package/python-semantic-version/python-semantic-version.mk b/buildroot-2022.02.1/package/python-semantic-version/python-semantic-version.mk similarity index 100% rename from buildroot-2021.05/package/python-semantic-version/python-semantic-version.mk rename to buildroot-2022.02.1/package/python-semantic-version/python-semantic-version.mk diff --git a/buildroot-2022.02.1/package/python-semver/Config.in b/buildroot-2022.02.1/package/python-semver/Config.in new file mode 100644 index 00000000..4af2bbf4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-semver/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_SEMVER + bool "python-semver" + help + Python helper for Semantic Versioning (http://semver.org/). + + https://github.com/python-semver/python-semver diff --git a/buildroot-2022.02.1/package/python-semver/python-semver.hash b/buildroot-2022.02.1/package/python-semver/python-semver.hash new file mode 100644 index 00000000..10cb0a84 --- /dev/null +++ b/buildroot-2022.02.1/package/python-semver/python-semver.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/semver/json +md5 e98b5fb283ea84daa5195087de83ebf1 semver-2.13.0.tar.gz +sha256 fa0fe2722ee1c3f57eac478820c3a5ae2f624af8264cbdf9000c980ff7f75e3f semver-2.13.0.tar.gz +# Locally computed +sha256 cda490c32e61d3884dc17791fc8078f2a3e564fba98dd18b4dc64eb2720b2b6f LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-semver/python-semver.mk b/buildroot-2022.02.1/package/python-semver/python-semver.mk new file mode 100644 index 00000000..d3a90575 --- /dev/null +++ b/buildroot-2022.02.1/package/python-semver/python-semver.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-semver +# +################################################################################ + +PYTHON_SEMVER_VERSION = 2.13.0 +PYTHON_SEMVER_SOURCE = semver-$(PYTHON_SEMVER_VERSION).tar.gz +PYTHON_SEMVER_SITE = https://files.pythonhosted.org/packages/31/a9/b61190916030ee9af83de342e101f192bbb436c59be20a4cb0cdb7256ece +PYTHON_SEMVER_SETUP_TYPE = setuptools +PYTHON_SEMVER_LICENSE = BSD-3-Clause +PYTHON_SEMVER_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-sentry-sdk/Config.in b/buildroot-2022.02.1/package/python-sentry-sdk/Config.in similarity index 100% rename from buildroot-2021.05/package/python-sentry-sdk/Config.in rename to buildroot-2022.02.1/package/python-sentry-sdk/Config.in diff --git a/buildroot-2022.02.1/package/python-sentry-sdk/python-sentry-sdk.hash b/buildroot-2022.02.1/package/python-sentry-sdk/python-sentry-sdk.hash new file mode 100644 index 00000000..e9fda822 --- /dev/null +++ b/buildroot-2022.02.1/package/python-sentry-sdk/python-sentry-sdk.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/sentry-sdk/json +md5 6dc8c7586d95f7679c7bf7f749336cf8 sentry-sdk-1.4.3.tar.gz +sha256 b9844751e40710e84a457c5bc29b21c383ccb2b63d76eeaad72f7f1c808c8828 sentry-sdk-1.4.3.tar.gz +# Locally computed sha256 checksums +sha256 59404d4c854e579097d41bfccd5006afde9d6d70e646cf55074cdbfead5ecf1c LICENSE diff --git a/buildroot-2022.02.1/package/python-sentry-sdk/python-sentry-sdk.mk b/buildroot-2022.02.1/package/python-sentry-sdk/python-sentry-sdk.mk new file mode 100644 index 00000000..9238b7fb --- /dev/null +++ b/buildroot-2022.02.1/package/python-sentry-sdk/python-sentry-sdk.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-sentry-sdk +# +################################################################################ + +PYTHON_SENTRY_SDK_VERSION = 1.4.3 +PYTHON_SENTRY_SDK_SOURCE = sentry-sdk-$(PYTHON_SENTRY_SDK_VERSION).tar.gz +PYTHON_SENTRY_SDK_SITE = https://files.pythonhosted.org/packages/a7/30/1d967b2e0cac2fa388344b2968fa57e69d5382b922e57cda43af54b9063a +PYTHON_SENTRY_SDK_SETUP_TYPE = setuptools +PYTHON_SENTRY_SDK_LICENSE = BSD-2-Clause +PYTHON_SENTRY_SDK_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-serial-asyncio/Config.in b/buildroot-2022.02.1/package/python-serial-asyncio/Config.in new file mode 100644 index 00000000..08396a0e --- /dev/null +++ b/buildroot-2022.02.1/package/python-serial-asyncio/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_SERIAL_ASYNCIO + bool "python-serial-asyncio" + select BR2_PACKAGE_PYTHON_SERIAL + help + asyncio extension package for pyserial. + + https://github.com/pyserial/pyserial-asyncio diff --git a/buildroot-2022.02.1/package/python-serial-asyncio/python-serial-asyncio.hash b/buildroot-2022.02.1/package/python-serial-asyncio/python-serial-asyncio.hash new file mode 100644 index 00000000..ccbdda89 --- /dev/null +++ b/buildroot-2022.02.1/package/python-serial-asyncio/python-serial-asyncio.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/pyserial-asyncio/json +md5 409f32a35a3b530e6b2224e2a5b367da pyserial-asyncio-0.6.tar.gz +sha256 b6032923e05e9d75ec17a5af9a98429c46d2839adfaf80604d52e0faacd7a32f pyserial-asyncio-0.6.tar.gz +# Locally computed sha256 checksums +sha256 64f3e548f0300d43c5af90b667150a9c57a4307c0f75fe741f76d0419905224a LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-serial-asyncio/python-serial-asyncio.mk b/buildroot-2022.02.1/package/python-serial-asyncio/python-serial-asyncio.mk new file mode 100644 index 00000000..6ee215a8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-serial-asyncio/python-serial-asyncio.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-serial-asyncio +# +################################################################################ + +PYTHON_SERIAL_ASYNCIO_VERSION = 0.6 +PYTHON_SERIAL_ASYNCIO_SOURCE = pyserial-asyncio-$(PYTHON_SERIAL_ASYNCIO_VERSION).tar.gz +PYTHON_SERIAL_ASYNCIO_SITE = https://files.pythonhosted.org/packages/4a/9a/8477699dcbc1882ea51dcff4d3c25aa3f2063ed8f7d7a849fd8f610506b6 +PYTHON_SERIAL_ASYNCIO_LICENSE = BSD-3-Clause +PYTHON_SERIAL_ASYNCIO_LICENSE_FILES = LICENSE.txt +PYTHON_SERIAL_ASYNCIO_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-serial/Config.in b/buildroot-2022.02.1/package/python-serial/Config.in similarity index 100% rename from buildroot-2021.05/package/python-serial/Config.in rename to buildroot-2022.02.1/package/python-serial/Config.in diff --git a/buildroot-2021.05/package/python-serial/python-serial.hash b/buildroot-2022.02.1/package/python-serial/python-serial.hash similarity index 100% rename from buildroot-2021.05/package/python-serial/python-serial.hash rename to buildroot-2022.02.1/package/python-serial/python-serial.hash diff --git a/buildroot-2021.05/package/python-serial/python-serial.mk b/buildroot-2022.02.1/package/python-serial/python-serial.mk similarity index 100% rename from buildroot-2021.05/package/python-serial/python-serial.mk rename to buildroot-2022.02.1/package/python-serial/python-serial.mk diff --git a/buildroot-2022.02.1/package/python-service-identity/Config.in b/buildroot-2022.02.1/package/python-service-identity/Config.in new file mode 100644 index 00000000..aa6d0fe7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-service-identity/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_PYTHON_SERVICE_IDENTITY + bool "python-service-identity" + # python-pyopenssl -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + # python-pyopenssl -> python-cryptography + select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_CHARACTERISTIC # runtime + select BR2_PACKAGE_PYTHON_PYASN1 # runtime + select BR2_PACKAGE_PYTHON_PYASN1_MODULES # runtime + select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime + help + Service identity verification for pyOpenSSL. + + https://pypi.python.org/pypi/service_identity diff --git a/buildroot-2021.05/package/python-service-identity/python-service-identity.hash b/buildroot-2022.02.1/package/python-service-identity/python-service-identity.hash similarity index 100% rename from buildroot-2021.05/package/python-service-identity/python-service-identity.hash rename to buildroot-2022.02.1/package/python-service-identity/python-service-identity.hash diff --git a/buildroot-2021.05/package/python-service-identity/python-service-identity.mk b/buildroot-2022.02.1/package/python-service-identity/python-service-identity.mk similarity index 100% rename from buildroot-2021.05/package/python-service-identity/python-service-identity.mk rename to buildroot-2022.02.1/package/python-service-identity/python-service-identity.mk diff --git a/buildroot-2021.05/package/python-setproctitle/Config.in b/buildroot-2022.02.1/package/python-setproctitle/Config.in similarity index 100% rename from buildroot-2021.05/package/python-setproctitle/Config.in rename to buildroot-2022.02.1/package/python-setproctitle/Config.in diff --git a/buildroot-2022.02.1/package/python-setproctitle/python-setproctitle.hash b/buildroot-2022.02.1/package/python-setproctitle/python-setproctitle.hash new file mode 100644 index 00000000..88e44532 --- /dev/null +++ b/buildroot-2022.02.1/package/python-setproctitle/python-setproctitle.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/setproctitle/json +md5 9898587a1668f1c53f6699ca5d35256d setproctitle-1.2.2.tar.gz +sha256 7dfb472c8852403d34007e01d6e3c68c57eb66433fb8a5c77b13b89a160d97df setproctitle-1.2.2.tar.gz +# Locally computed +sha256 85bd836337aa702e0a4e2a54676c6ae046ffb357dbf4a990189595a60fcd1648 COPYRIGHT diff --git a/buildroot-2022.02.1/package/python-setproctitle/python-setproctitle.mk b/buildroot-2022.02.1/package/python-setproctitle/python-setproctitle.mk new file mode 100644 index 00000000..13e9e261 --- /dev/null +++ b/buildroot-2022.02.1/package/python-setproctitle/python-setproctitle.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-setproctitle +# +################################################################################ + +PYTHON_SETPROCTITLE_VERSION = 1.2.2 +PYTHON_SETPROCTITLE_SOURCE = setproctitle-$(PYTHON_SETPROCTITLE_VERSION).tar.gz +PYTHON_SETPROCTITLE_SITE = https://files.pythonhosted.org/packages/a1/7f/a1d4f4c7b66f0fc02f35dc5c85f45a8b4e4a7988357a29e61c14e725ef86 +PYTHON_SETPROCTITLE_LICENSE = BSD-3-Clause +PYTHON_SETPROCTITLE_LICENSE_FILES = COPYRIGHT +PYTHON_SETPROCTITLE_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-setuptools-rust/python-setuptools-rust.hash b/buildroot-2022.02.1/package/python-setuptools-rust/python-setuptools-rust.hash new file mode 100644 index 00000000..6bb42d91 --- /dev/null +++ b/buildroot-2022.02.1/package/python-setuptools-rust/python-setuptools-rust.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/setuptools-rust/json +md5 479fcd267ff48929bec9a7270e1a96d7 setuptools-rust-1.1.2.tar.gz +sha256 a0adb9b503c0ffc4e8fe80b7c617898cefa78049983aaaea7f747e153a3e65d1 setuptools-rust-1.1.2.tar.gz +# Locally computed sha256 checksums +sha256 b20668c1590582b3882854050ccfbdb7aee1f71a1ffe9eacc4c5aeb08a14161b LICENSE diff --git a/buildroot-2022.02.1/package/python-setuptools-rust/python-setuptools-rust.mk b/buildroot-2022.02.1/package/python-setuptools-rust/python-setuptools-rust.mk new file mode 100644 index 00000000..394789b0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-setuptools-rust/python-setuptools-rust.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-setuptools-rust +# +################################################################################ + +PYTHON_SETUPTOOLS_RUST_VERSION = 1.1.2 +PYTHON_SETUPTOOLS_RUST_SOURCE = setuptools-rust-$(PYTHON_SETUPTOOLS_RUST_VERSION).tar.gz +PYTHON_SETUPTOOLS_RUST_SITE = https://files.pythonhosted.org/packages/67/08/e1aa2c582c62ac76e4d60f8e454bd3bba933781a06a88b4e38797445822a +PYTHON_SETUPTOOLS_RUST_SETUP_TYPE = setuptools +PYTHON_SETUPTOOLS_RUST_LICENSE = MIT +PYTHON_SETUPTOOLS_RUST_LICENSE_FILES = LICENSE +HOST_PYTHON_SETUPTOOLS_RUST_DEPENDENCIES = host-rustc host-python-setuptools-scm host-python-toml host-python-semantic-version host-python-typing-extensions + +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash b/buildroot-2022.02.1/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash similarity index 100% rename from buildroot-2021.05/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash rename to buildroot-2022.02.1/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.hash diff --git a/buildroot-2021.05/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk b/buildroot-2022.02.1/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk similarity index 100% rename from buildroot-2021.05/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk rename to buildroot-2022.02.1/package/python-setuptools-scm-git-archive/python-setuptools-scm-git-archive.mk diff --git a/buildroot-2022.02.1/package/python-setuptools-scm/python-setuptools-scm.hash b/buildroot-2022.02.1/package/python-setuptools-scm/python-setuptools-scm.hash new file mode 100644 index 00000000..934c5054 --- /dev/null +++ b/buildroot-2022.02.1/package/python-setuptools-scm/python-setuptools-scm.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/setuptools-scm/json +md5 b4e02bf8e62ed49142ea7b42a68671d7 setuptools_scm-6.4.2.tar.gz +sha256 6833ac65c6ed9711a4d5d2266f8024cfa07c533a0e55f4c12f6eff280a5a9e30 setuptools_scm-6.4.2.tar.gz +# sha256 locally computed +sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSE diff --git a/buildroot-2022.02.1/package/python-setuptools-scm/python-setuptools-scm.mk b/buildroot-2022.02.1/package/python-setuptools-scm/python-setuptools-scm.mk new file mode 100644 index 00000000..132eb398 --- /dev/null +++ b/buildroot-2022.02.1/package/python-setuptools-scm/python-setuptools-scm.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-setuptools-scm +# +################################################################################ + +PYTHON_SETUPTOOLS_SCM_VERSION = 6.4.2 +PYTHON_SETUPTOOLS_SCM_SOURCE = setuptools_scm-$(PYTHON_SETUPTOOLS_SCM_VERSION).tar.gz +PYTHON_SETUPTOOLS_SCM_SITE = https://files.pythonhosted.org/packages/4a/18/477d3d9eb2f88230ff2a41de9d8ffa3554b706352787d289f57f76bfba0b +PYTHON_SETUPTOOLS_SCM_LICENSE = MIT +PYTHON_SETUPTOOLS_SCM_LICENSE_FILES = LICENSE +PYTHON_SETUPTOOLS_SCM_SETUP_TYPE = setuptools +HOST_PYTHON_SETUPTOOLS_SCM_DEPENDENCIES = host-python-packaging host-python-tomli + +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-setuptools/0001-add-executable.patch b/buildroot-2022.02.1/package/python-setuptools/0001-add-executable.patch new file mode 100644 index 00000000..b688745c --- /dev/null +++ b/buildroot-2022.02.1/package/python-setuptools/0001-add-executable.patch @@ -0,0 +1,72 @@ +From 9b3d307f8f6a1af88f3f810f5a6cf0835830e1e8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= +Date: Mon, 7 Dec 2015 01:14:33 +0100 +Subject: [PATCH] add executable +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Add a new --executable option to distribute so that we can +force the shebang line in installed python scripts. + +[Thomas: refresh for setuptools 5.8.] +[Jörg: refresh for setuptools 18.7.1] + +Signed-off-by: Gustavo Zacarias +Signed-off-by: Thomas Petazzoni +Signed-off-by: Jörg Krause +--- + setuptools/command/install.py | 2 ++ + setuptools/command/install_scripts.py | 9 +++++++++ + 2 files changed, 11 insertions(+) + +diff --git a/setuptools/command/install.py b/setuptools/command/install.py +index 72b9a3e..6781d2b 100644 +--- a/setuptools/command/install.py ++++ b/setuptools/command/install.py +@@ -16,6 +16,7 @@ class install(orig.install): + """Use easy_install to install the package, w/dependencies""" + + user_options = orig.install.user_options + [ ++ ('executable=', 'e', "specify final destination interpreter path"), + ('old-and-unmanageable', None, "Try not to use this!"), + ('single-version-externally-managed', None, + "used by system package builders to create 'flat' eggs"), +@@ -38,6 +39,7 @@ class install(orig.install): + ) + + orig.install.initialize_options(self) ++ self.executable = None + self.old_and_unmanageable = None + self.single_version_externally_managed = None + +diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py +index 9cd8eb0..7786150 100644 +--- a/setuptools/command/install_scripts.py ++++ b/setuptools/command/install_scripts.py +@@ -13,6 +13,13 @@ class install_scripts(orig.install_scripts): + def initialize_options(self): + orig.install_scripts.initialize_options(self) + self.no_ep = False ++ self.executable = None ++ ++ def finalize_options(self): ++ orig.install_scripts.finalize_options(self) ++ self.set_undefined_options('install', ++ ('executable','executable') ++ ) + + def run(self): + import setuptools.command.easy_install as ei +@@ -33,6 +40,8 @@ class install_scripts(orig.install_scripts): + ) + bs_cmd = self.get_finalized_command('build_scripts') + exec_param = getattr(bs_cmd, 'executable', None) ++ if self.executable is not None: ++ exec_param = self.executable + try: + bw_cmd = self.get_finalized_command("bdist_wininst") + is_wininst = getattr(bw_cmd, '_is_running', False) +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python-setuptools/Config.in b/buildroot-2022.02.1/package/python-setuptools/Config.in new file mode 100644 index 00000000..28228534 --- /dev/null +++ b/buildroot-2022.02.1/package/python-setuptools/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_SETUPTOOLS + bool "python-setuptools" + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + help + Download, build, install, upgrade, and uninstall Python + packages. + + http://pypi.python.org/pypi/setuptools diff --git a/buildroot-2022.02.1/package/python-setuptools/python-setuptools.hash b/buildroot-2022.02.1/package/python-setuptools/python-setuptools.hash new file mode 100644 index 00000000..8df7155d --- /dev/null +++ b/buildroot-2022.02.1/package/python-setuptools/python-setuptools.hash @@ -0,0 +1,4 @@ +# From https://pypi.org/pypi/setuptools/json +md5 082637e8fbc2e1fd9c637665d8fcccd8 setuptools-60.7.0.tar.gz +sha256 b83cf328a4f6a987c95610e76b29a30778db05174eef71f771776c48f8f25d1b setuptools-60.7.0.tar.gz +sha256 db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE diff --git a/buildroot-2022.02.1/package/python-setuptools/python-setuptools.mk b/buildroot-2022.02.1/package/python-setuptools/python-setuptools.mk new file mode 100644 index 00000000..584f83f7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-setuptools/python-setuptools.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-setuptools +# +################################################################################ + +PYTHON_SETUPTOOLS_VERSION = 60.7.0 +PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/29/dd/48d662bb93e5e51e72265ef612f869947d4ae4126328d7156824cd50d440 +PYTHON_SETUPTOOLS_LICENSE = MIT +PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE +PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python +PYTHON_SETUPTOOLS_CPE_ID_PRODUCT = setuptools +PYTHON_SETUPTOOLS_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-sh/Config.in b/buildroot-2022.02.1/package/python-sh/Config.in similarity index 100% rename from buildroot-2021.05/package/python-sh/Config.in rename to buildroot-2022.02.1/package/python-sh/Config.in diff --git a/buildroot-2022.02.1/package/python-sh/python-sh.hash b/buildroot-2022.02.1/package/python-sh/python-sh.hash new file mode 100644 index 00000000..13a0207d --- /dev/null +++ b/buildroot-2022.02.1/package/python-sh/python-sh.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/sh/json +md5 33becadcb5214afd00b9eec05fa98c06 sh-1.14.2.tar.gz +sha256 9d7bd0334d494b2a4609fe521b2107438cdb21c0e469ffeeb191489883d6fe0d sh-1.14.2.tar.gz +# Locally computed +sha256 d8491c6e236568d04f7c8c07f2f1b8f5d142706dab6ab88f6e0d2dd476b6c706 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-sh/python-sh.mk b/buildroot-2022.02.1/package/python-sh/python-sh.mk new file mode 100644 index 00000000..d2d8b14c --- /dev/null +++ b/buildroot-2022.02.1/package/python-sh/python-sh.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-sh +# +################################################################################ + +PYTHON_SH_VERSION = 1.14.2 +PYTHON_SH_SOURCE = sh-$(PYTHON_SH_VERSION).tar.gz +PYTHON_SH_SITE = https://files.pythonhosted.org/packages/80/39/ed280d183c322453e276a518605b2435f682342f2c3bcf63228404d36375 +PYTHON_SH_SETUP_TYPE = setuptools +PYTHON_SH_LICENSE = MIT +PYTHON_SH_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-shutilwhich/Config.in b/buildroot-2022.02.1/package/python-shutilwhich/Config.in similarity index 100% rename from buildroot-2021.05/package/python-shutilwhich/Config.in rename to buildroot-2022.02.1/package/python-shutilwhich/Config.in diff --git a/buildroot-2021.05/package/python-shutilwhich/python-shutilwhich.hash b/buildroot-2022.02.1/package/python-shutilwhich/python-shutilwhich.hash similarity index 100% rename from buildroot-2021.05/package/python-shutilwhich/python-shutilwhich.hash rename to buildroot-2022.02.1/package/python-shutilwhich/python-shutilwhich.hash diff --git a/buildroot-2021.05/package/python-shutilwhich/python-shutilwhich.mk b/buildroot-2022.02.1/package/python-shutilwhich/python-shutilwhich.mk similarity index 100% rename from buildroot-2021.05/package/python-shutilwhich/python-shutilwhich.mk rename to buildroot-2022.02.1/package/python-shutilwhich/python-shutilwhich.mk diff --git a/buildroot-2022.02.1/package/python-simpleaudio/Config.in b/buildroot-2022.02.1/package/python-simpleaudio/Config.in new file mode 100644 index 00000000..1169342b --- /dev/null +++ b/buildroot-2022.02.1/package/python-simpleaudio/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_PYTHON_SIMPLEAUDIO + bool "python-simpleaudio" + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + select BR2_PACKAGE_ALSA_LIB + help + The simplaudio package provides cross-platform, + dependency-free audio playback capability for Python 3 on + OSX, Windows, and Linux. + + https://github.com/hamiltron/py-simple-audio + +comment "python-simpleaudio needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/python-simpleaudio/python-simpleaudio.hash b/buildroot-2022.02.1/package/python-simpleaudio/python-simpleaudio.hash similarity index 100% rename from buildroot-2021.05/package/python-simpleaudio/python-simpleaudio.hash rename to buildroot-2022.02.1/package/python-simpleaudio/python-simpleaudio.hash diff --git a/buildroot-2021.05/package/python-simpleaudio/python-simpleaudio.mk b/buildroot-2022.02.1/package/python-simpleaudio/python-simpleaudio.mk similarity index 100% rename from buildroot-2021.05/package/python-simpleaudio/python-simpleaudio.mk rename to buildroot-2022.02.1/package/python-simpleaudio/python-simpleaudio.mk diff --git a/buildroot-2021.05/package/python-simplegeneric/Config.in b/buildroot-2022.02.1/package/python-simplegeneric/Config.in similarity index 100% rename from buildroot-2021.05/package/python-simplegeneric/Config.in rename to buildroot-2022.02.1/package/python-simplegeneric/Config.in diff --git a/buildroot-2021.05/package/python-simplegeneric/python-simplegeneric.hash b/buildroot-2022.02.1/package/python-simplegeneric/python-simplegeneric.hash similarity index 100% rename from buildroot-2021.05/package/python-simplegeneric/python-simplegeneric.hash rename to buildroot-2022.02.1/package/python-simplegeneric/python-simplegeneric.hash diff --git a/buildroot-2021.05/package/python-simplegeneric/python-simplegeneric.mk b/buildroot-2022.02.1/package/python-simplegeneric/python-simplegeneric.mk similarity index 100% rename from buildroot-2021.05/package/python-simplegeneric/python-simplegeneric.mk rename to buildroot-2022.02.1/package/python-simplegeneric/python-simplegeneric.mk diff --git a/buildroot-2021.05/package/python-simplejson/Config.in b/buildroot-2022.02.1/package/python-simplejson/Config.in similarity index 100% rename from buildroot-2021.05/package/python-simplejson/Config.in rename to buildroot-2022.02.1/package/python-simplejson/Config.in diff --git a/buildroot-2022.02.1/package/python-simplejson/python-simplejson.hash b/buildroot-2022.02.1/package/python-simplejson/python-simplejson.hash new file mode 100644 index 00000000..bb44bdfc --- /dev/null +++ b/buildroot-2022.02.1/package/python-simplejson/python-simplejson.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/simplejson/json +md5 1756427859454004e90e028d263cf23e simplejson-3.17.5.tar.gz +sha256 91cfb43fb91ff6d1e4258be04eee84b51a4ef40a28d899679b9ea2556322fb50 simplejson-3.17.5.tar.gz +# Locally computed sha256 checksums +sha256 fcaa1e313a99304322e2e0836ea4ee7d839ce9a480438f3922a853edfdde129f LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-simplejson/python-simplejson.mk b/buildroot-2022.02.1/package/python-simplejson/python-simplejson.mk new file mode 100644 index 00000000..5bed8d20 --- /dev/null +++ b/buildroot-2022.02.1/package/python-simplejson/python-simplejson.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# python-simplejson +# +################################################################################ + +PYTHON_SIMPLEJSON_VERSION = 3.17.5 +PYTHON_SIMPLEJSON_SOURCE = simplejson-$(PYTHON_SIMPLEJSON_VERSION).tar.gz +PYTHON_SIMPLEJSON_SITE = https://files.pythonhosted.org/packages/01/52/41c71718f941c9a5abebfaa24e3c14e3c0229327b7ebd21348989845ed8f +PYTHON_SIMPLEJSON_LICENSE = Academic Free License (AFL), MIT +PYTHON_SIMPLEJSON_LICENSE_FILES = LICENSE.txt +PYTHON_SIMPLEJSON_CPE_ID_VENDOR = simplejson_project +PYTHON_SIMPLEJSON_CPE_ID_PRODUCT = simplejson +PYTHON_SIMPLEJSON_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-simplelogging/Config.in b/buildroot-2022.02.1/package/python-simplelogging/Config.in similarity index 100% rename from buildroot-2021.05/package/python-simplelogging/Config.in rename to buildroot-2022.02.1/package/python-simplelogging/Config.in diff --git a/buildroot-2021.05/package/python-simplelogging/python-simplelogging.hash b/buildroot-2022.02.1/package/python-simplelogging/python-simplelogging.hash similarity index 100% rename from buildroot-2021.05/package/python-simplelogging/python-simplelogging.hash rename to buildroot-2022.02.1/package/python-simplelogging/python-simplelogging.hash diff --git a/buildroot-2021.05/package/python-simplelogging/python-simplelogging.mk b/buildroot-2022.02.1/package/python-simplelogging/python-simplelogging.mk similarity index 100% rename from buildroot-2021.05/package/python-simplelogging/python-simplelogging.mk rename to buildroot-2022.02.1/package/python-simplelogging/python-simplelogging.mk diff --git a/buildroot-2022.02.1/package/python-simplesqlite/Config.in b/buildroot-2022.02.1/package/python-simplesqlite/Config.in new file mode 100644 index 00000000..81501c9e --- /dev/null +++ b/buildroot-2022.02.1/package/python-simplesqlite/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_PYTHON_SIMPLESQLITE + bool "python-simplesqlite" + select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime + select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime + select BR2_PACKAGE_PYTHON_PATHVALIDATE # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON3_SQLITE # runtime + select BR2_PACKAGE_PYTHON_SQLITESCHEMA # runtime + select BR2_PACKAGE_PYTHON_TABLEDATA # runtime + select BR2_PACKAGE_PYTHON_TYPEPY # runtime + help + SimpleSQLite is a Python library to simplify SQLite database + operations: table creation, data insertion and get data as + other data formats. + + https://github.com/thombashi/SimpleSQLite diff --git a/buildroot-2021.05/package/python-simplesqlite/python-simplesqlite.hash b/buildroot-2022.02.1/package/python-simplesqlite/python-simplesqlite.hash similarity index 100% rename from buildroot-2021.05/package/python-simplesqlite/python-simplesqlite.hash rename to buildroot-2022.02.1/package/python-simplesqlite/python-simplesqlite.hash diff --git a/buildroot-2021.05/package/python-simplesqlite/python-simplesqlite.mk b/buildroot-2022.02.1/package/python-simplesqlite/python-simplesqlite.mk similarity index 100% rename from buildroot-2021.05/package/python-simplesqlite/python-simplesqlite.mk rename to buildroot-2022.02.1/package/python-simplesqlite/python-simplesqlite.mk diff --git a/buildroot-2021.05/package/python-sip/Config.in b/buildroot-2022.02.1/package/python-sip/Config.in similarity index 100% rename from buildroot-2021.05/package/python-sip/Config.in rename to buildroot-2022.02.1/package/python-sip/Config.in diff --git a/buildroot-2021.05/package/python-sip/python-sip.hash b/buildroot-2022.02.1/package/python-sip/python-sip.hash similarity index 100% rename from buildroot-2021.05/package/python-sip/python-sip.hash rename to buildroot-2022.02.1/package/python-sip/python-sip.hash diff --git a/buildroot-2022.02.1/package/python-sip/python-sip.mk b/buildroot-2022.02.1/package/python-sip/python-sip.mk new file mode 100644 index 00000000..01ccb1dd --- /dev/null +++ b/buildroot-2022.02.1/package/python-sip/python-sip.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# python-sip +# +################################################################################ + +PYTHON_SIP_VERSION = 4.18 +PYTHON_SIP_SOURCE = sip-$(PYTHON_SIP_VERSION).tar.gz +PYTHON_SIP_SITE = http://downloads.sourceforge.net/project/pyqt/sip/sip-$(PYTHON_SIP_VERSION) +PYTHON_SIP_LICENSE = SIP license or GPL-2.0 or GPL-3.0 +PYTHON_SIP_LICENSE_FILES = LICENSE LICENSE-GPL2 LICENSE-GPL3 + +PYTHON_SIP_DEPENDENCIES = python3 qt5base +HOST_PYTHON_SIP_DEPENDENCIES = host-python3 + +define HOST_PYTHON_SIP_CONFIGURE_CMDS + (cd $(@D); \ + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(HOST_DIR)/bin/python configure.py) +endef + +define HOST_PYTHON_SIP_BUILD_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define HOST_PYTHON_SIP_INSTALL_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) install -C $(@D) +endef + +define PYTHON_SIP_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(HOST_DIR)/bin/python configure.py \ + --bindir $(TARGET_DIR)/usr/bin \ + --destdir $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \ + --incdir $(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) \ + --sipdir $(TARGET_DIR)/usr/share/sip \ + --sysroot $(STAGING_DIR)/usr \ + --use-qmake && \ + $(HOST_DIR)/bin/qmake) +endef + +define PYTHON_SIP_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +define PYTHON_SIP_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/python-six/Config.in b/buildroot-2022.02.1/package/python-six/Config.in similarity index 100% rename from buildroot-2021.05/package/python-six/Config.in rename to buildroot-2022.02.1/package/python-six/Config.in diff --git a/buildroot-2021.05/package/python-six/Config.in.host b/buildroot-2022.02.1/package/python-six/Config.in.host similarity index 100% rename from buildroot-2021.05/package/python-six/Config.in.host rename to buildroot-2022.02.1/package/python-six/Config.in.host diff --git a/buildroot-2022.02.1/package/python-six/python-six.hash b/buildroot-2022.02.1/package/python-six/python-six.hash new file mode 100644 index 00000000..17615e86 --- /dev/null +++ b/buildroot-2022.02.1/package/python-six/python-six.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/six/json +md5 a7c927740e4964dd29b72cebfc1429bb six-1.16.0.tar.gz +sha256 1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926 six-1.16.0.tar.gz +# Locally computed sha256 checksums +sha256 8bb850c565aa389fdc16f3a46965ad23d82adff60f2393fc2762b63185e8e6c9 LICENSE diff --git a/buildroot-2022.02.1/package/python-six/python-six.mk b/buildroot-2022.02.1/package/python-six/python-six.mk new file mode 100644 index 00000000..9e3e5fcf --- /dev/null +++ b/buildroot-2022.02.1/package/python-six/python-six.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-six +# +################################################################################ + +PYTHON_SIX_VERSION = 1.16.0 +PYTHON_SIX_SOURCE = six-$(PYTHON_SIX_VERSION).tar.gz +PYTHON_SIX_SITE = https://files.pythonhosted.org/packages/71/39/171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e +PYTHON_SIX_SETUP_TYPE = setuptools +PYTHON_SIX_LICENSE = MIT +PYTHON_SIX_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-slob/Config.in b/buildroot-2022.02.1/package/python-slob/Config.in new file mode 100644 index 00000000..c06f5445 --- /dev/null +++ b/buildroot-2022.02.1/package/python-slob/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_PYTHON_SLOB + bool "python-slob" + depends on !BR2_BINFMT_FLAT # python-pyicu -> icu + depends on BR2_HOST_GCC_AT_LEAST_4_9 # python-pyicu -> icu + depends on BR2_INSTALL_LIBSTDCPP # python-pyicu -> icu + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # python-pyicu -> icu + select BR2_PACKAGE_PYTHON_PYICU # runtime + # although optional, it is used as default compression + select BR2_PACKAGE_PYTHON3_XZ # runtime + help + slob.py is a reference implementation of slob format reader + and writer. + + https://github.com/itkach/slob + +comment "python-slob needs a toolchain w/ C++, gcc >= 4.9, host gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2021.05/package/python-slob/python-slob.hash b/buildroot-2022.02.1/package/python-slob/python-slob.hash similarity index 100% rename from buildroot-2021.05/package/python-slob/python-slob.hash rename to buildroot-2022.02.1/package/python-slob/python-slob.hash diff --git a/buildroot-2021.05/package/python-slob/python-slob.mk b/buildroot-2022.02.1/package/python-slob/python-slob.mk similarity index 100% rename from buildroot-2021.05/package/python-slob/python-slob.mk rename to buildroot-2022.02.1/package/python-slob/python-slob.mk diff --git a/buildroot-2021.05/package/python-smbus-cffi/Config.in b/buildroot-2022.02.1/package/python-smbus-cffi/Config.in similarity index 100% rename from buildroot-2021.05/package/python-smbus-cffi/Config.in rename to buildroot-2022.02.1/package/python-smbus-cffi/Config.in diff --git a/buildroot-2021.05/package/python-smbus-cffi/python-smbus-cffi.hash b/buildroot-2022.02.1/package/python-smbus-cffi/python-smbus-cffi.hash similarity index 100% rename from buildroot-2021.05/package/python-smbus-cffi/python-smbus-cffi.hash rename to buildroot-2022.02.1/package/python-smbus-cffi/python-smbus-cffi.hash diff --git a/buildroot-2021.05/package/python-smbus-cffi/python-smbus-cffi.mk b/buildroot-2022.02.1/package/python-smbus-cffi/python-smbus-cffi.mk similarity index 100% rename from buildroot-2021.05/package/python-smbus-cffi/python-smbus-cffi.mk rename to buildroot-2022.02.1/package/python-smbus-cffi/python-smbus-cffi.mk diff --git a/buildroot-2021.05/package/python-smmap2/Config.in b/buildroot-2022.02.1/package/python-smmap2/Config.in similarity index 100% rename from buildroot-2021.05/package/python-smmap2/Config.in rename to buildroot-2022.02.1/package/python-smmap2/Config.in diff --git a/buildroot-2022.02.1/package/python-smmap2/python-smmap2.hash b/buildroot-2022.02.1/package/python-smmap2/python-smmap2.hash new file mode 100644 index 00000000..9ae758fc --- /dev/null +++ b/buildroot-2022.02.1/package/python-smmap2/python-smmap2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/smmap/json +md5 61882572be57023980c36f5493523077 smmap-4.0.0.tar.gz +sha256 7e65386bd122d45405ddf795637b7f7d2b532e7e401d46bbe3fb49b9986d5182 smmap-4.0.0.tar.gz +# Locally computed sha256 checksums +sha256 88e9d93f708d110b328a834302dd1d5c6afbda530e7721d15d80b3511d86f235 LICENSE diff --git a/buildroot-2022.02.1/package/python-smmap2/python-smmap2.mk b/buildroot-2022.02.1/package/python-smmap2/python-smmap2.mk new file mode 100644 index 00000000..bcf20206 --- /dev/null +++ b/buildroot-2022.02.1/package/python-smmap2/python-smmap2.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-smmap2 +# +################################################################################ + +PYTHON_SMMAP2_VERSION = 4.0.0 +PYTHON_SMMAP2_SOURCE = smmap-$(PYTHON_SMMAP2_VERSION).tar.gz +PYTHON_SMMAP2_SITE = https://files.pythonhosted.org/packages/dd/d4/2b4f196171674109f0fbb3951b8beab06cd0453c1b247ec0c4556d06648d +PYTHON_SMMAP2_SETUP_TYPE = setuptools +PYTHON_SMMAP2_LICENSE = BSD-3-Clause +PYTHON_SMMAP2_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-snappy/Config.in b/buildroot-2022.02.1/package/python-snappy/Config.in similarity index 100% rename from buildroot-2021.05/package/python-snappy/Config.in rename to buildroot-2022.02.1/package/python-snappy/Config.in diff --git a/buildroot-2021.05/package/python-snappy/python-snappy.hash b/buildroot-2022.02.1/package/python-snappy/python-snappy.hash similarity index 100% rename from buildroot-2021.05/package/python-snappy/python-snappy.hash rename to buildroot-2022.02.1/package/python-snappy/python-snappy.hash diff --git a/buildroot-2021.05/package/python-snappy/python-snappy.mk b/buildroot-2022.02.1/package/python-snappy/python-snappy.mk similarity index 100% rename from buildroot-2021.05/package/python-snappy/python-snappy.mk rename to buildroot-2022.02.1/package/python-snappy/python-snappy.mk diff --git a/buildroot-2022.02.1/package/python-socketio/Config.in b/buildroot-2022.02.1/package/python-socketio/Config.in new file mode 100644 index 00000000..a34853ec --- /dev/null +++ b/buildroot-2022.02.1/package/python-socketio/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_SOCKETIO + bool "python-socketio" + select BR2_PACKAGE_PYTHON_BIDICT # runtime + select BR2_PACKAGE_PYTHON_ENGINEIO # runtime + help + Socket.IO server. + + http://github.com/miguelgrinberg/python-socketio/ diff --git a/buildroot-2022.02.1/package/python-socketio/python-socketio.hash b/buildroot-2022.02.1/package/python-socketio/python-socketio.hash new file mode 100644 index 00000000..40e74cef --- /dev/null +++ b/buildroot-2022.02.1/package/python-socketio/python-socketio.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/python-socketio/json +md5 0507825ca4bd6527cbaed81ec5767bfe python-socketio-5.4.0.tar.gz +sha256 ca807c9e1f168e96dea412d64dd834fb47c470d27fd83da0504aa4b248ba2544 python-socketio-5.4.0.tar.gz +# Locally computed sha256 checksums +sha256 c9e97d3dbc1fbbcdb4f7808b282cd646db887aff4f5313fe6bbe8d4c31405a9c LICENSE diff --git a/buildroot-2022.02.1/package/python-socketio/python-socketio.mk b/buildroot-2022.02.1/package/python-socketio/python-socketio.mk new file mode 100644 index 00000000..f23342b7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-socketio/python-socketio.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# python-socketio +# +################################################################################ + +PYTHON_SOCKETIO_VERSION = 5.4.0 +PYTHON_SOCKETIO_SITE = https://files.pythonhosted.org/packages/72/70/9b992f4b8adfcbf0724c079c18629d83f20b36fb0eb64d4fdf874054becf +PYTHON_SOCKETIO_SETUP_TYPE = setuptools +PYTHON_SOCKETIO_LICENSE = MIT +PYTHON_SOCKETIO_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-sockjs/Config.in b/buildroot-2022.02.1/package/python-sockjs/Config.in new file mode 100644 index 00000000..92489ec7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-sockjs/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_SOCKJS + bool "python-sockjs" + select BR2_PACKAGE_PYTHON_AIOHTTP # runtime + help + SockJS server implementation for aiohttp. + + https://github.com/aio-libs/sockjs/ diff --git a/buildroot-2021.05/package/python-sockjs/python-sockjs.hash b/buildroot-2022.02.1/package/python-sockjs/python-sockjs.hash similarity index 100% rename from buildroot-2021.05/package/python-sockjs/python-sockjs.hash rename to buildroot-2022.02.1/package/python-sockjs/python-sockjs.hash diff --git a/buildroot-2021.05/package/python-sockjs/python-sockjs.mk b/buildroot-2022.02.1/package/python-sockjs/python-sockjs.mk similarity index 100% rename from buildroot-2021.05/package/python-sockjs/python-sockjs.mk rename to buildroot-2022.02.1/package/python-sockjs/python-sockjs.mk diff --git a/buildroot-2021.05/package/python-sortedcontainers/Config.in b/buildroot-2022.02.1/package/python-sortedcontainers/Config.in similarity index 100% rename from buildroot-2021.05/package/python-sortedcontainers/Config.in rename to buildroot-2022.02.1/package/python-sortedcontainers/Config.in diff --git a/buildroot-2022.02.1/package/python-sortedcontainers/python-sortedcontainers.hash b/buildroot-2022.02.1/package/python-sortedcontainers/python-sortedcontainers.hash new file mode 100644 index 00000000..31463f5e --- /dev/null +++ b/buildroot-2022.02.1/package/python-sortedcontainers/python-sortedcontainers.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/sortedcontainers/json +md5 50eeb6cb739568b590b28f9a3f445c78 sortedcontainers-2.4.0.tar.gz +sha256 25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88 sortedcontainers-2.4.0.tar.gz +# Locally computed sha256 checksums +sha256 1db7cae7fce6452e2e608e401a0f953e0133e4c2d75db69fb8ae851d2086f5b6 LICENSE diff --git a/buildroot-2022.02.1/package/python-sortedcontainers/python-sortedcontainers.mk b/buildroot-2022.02.1/package/python-sortedcontainers/python-sortedcontainers.mk new file mode 100644 index 00000000..51df5172 --- /dev/null +++ b/buildroot-2022.02.1/package/python-sortedcontainers/python-sortedcontainers.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-sortedcontainers +# +################################################################################ + +PYTHON_SORTEDCONTAINERS_VERSION = 2.4.0 +PYTHON_SORTEDCONTAINERS_SOURCE = sortedcontainers-$(PYTHON_SORTEDCONTAINERS_VERSION).tar.gz +PYTHON_SORTEDCONTAINERS_SITE = https://files.pythonhosted.org/packages/e8/c4/ba2f8066cceb6f23394729afe52f3bf7adec04bf9ed2c820b39e19299111 +PYTHON_SORTEDCONTAINERS_SETUP_TYPE = setuptools +PYTHON_SORTEDCONTAINERS_LICENSE = Apache-2.0 +PYTHON_SORTEDCONTAINERS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-soupsieve/Config.in b/buildroot-2022.02.1/package/python-soupsieve/Config.in new file mode 100644 index 00000000..3cb7f8d0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-soupsieve/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_SOUPSIEVE + bool "python-soupsieve" + help + A modern CSS selector implementation for Beautiful Soup. + + https://github.com/facelessuser/soupsieve diff --git a/buildroot-2022.02.1/package/python-soupsieve/python-soupsieve.hash b/buildroot-2022.02.1/package/python-soupsieve/python-soupsieve.hash new file mode 100644 index 00000000..699cb958 --- /dev/null +++ b/buildroot-2022.02.1/package/python-soupsieve/python-soupsieve.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/soupsieve/json +md5 73ff6ce22ba973fe2d47197834e0f728 soupsieve-2.2.1.tar.gz +sha256 052774848f448cf19c7e959adf5566904d525f33a3f8b6ba6f6f8f26ec7de0cc soupsieve-2.2.1.tar.gz +# Locally computed sha256 checksums +sha256 e34a760fe8bb3e3c1ffaa88abe495cf76e56f8ae3c7a6dde0e4b41cd013c41d4 LICENSE.md diff --git a/buildroot-2022.02.1/package/python-soupsieve/python-soupsieve.mk b/buildroot-2022.02.1/package/python-soupsieve/python-soupsieve.mk new file mode 100644 index 00000000..dd2ddebb --- /dev/null +++ b/buildroot-2022.02.1/package/python-soupsieve/python-soupsieve.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-soupsieve +# +################################################################################ + +PYTHON_SOUPSIEVE_VERSION = 2.2.1 +PYTHON_SOUPSIEVE_SOURCE = soupsieve-$(PYTHON_SOUPSIEVE_VERSION).tar.gz +PYTHON_SOUPSIEVE_SITE = https://files.pythonhosted.org/packages/c8/3f/e71d92e90771ac2d69986aa0e81cf0dfda6271e8483698f4847b861dd449 +PYTHON_SOUPSIEVE_SETUP_TYPE = setuptools +PYTHON_SOUPSIEVE_LICENSE = MIT +PYTHON_SOUPSIEVE_LICENSE_FILES = LICENSE.md + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-spidev/Config.in b/buildroot-2022.02.1/package/python-spidev/Config.in similarity index 100% rename from buildroot-2021.05/package/python-spidev/Config.in rename to buildroot-2022.02.1/package/python-spidev/Config.in diff --git a/buildroot-2021.05/package/python-spidev/python-spidev.hash b/buildroot-2022.02.1/package/python-spidev/python-spidev.hash similarity index 100% rename from buildroot-2021.05/package/python-spidev/python-spidev.hash rename to buildroot-2022.02.1/package/python-spidev/python-spidev.hash diff --git a/buildroot-2021.05/package/python-spidev/python-spidev.mk b/buildroot-2022.02.1/package/python-spidev/python-spidev.mk similarity index 100% rename from buildroot-2021.05/package/python-spidev/python-spidev.mk rename to buildroot-2022.02.1/package/python-spidev/python-spidev.mk diff --git a/buildroot-2021.05/package/python-sqlalchemy/Config.in b/buildroot-2022.02.1/package/python-sqlalchemy/Config.in similarity index 100% rename from buildroot-2021.05/package/python-sqlalchemy/Config.in rename to buildroot-2022.02.1/package/python-sqlalchemy/Config.in diff --git a/buildroot-2021.05/package/python-sqlalchemy/python-sqlalchemy.hash b/buildroot-2022.02.1/package/python-sqlalchemy/python-sqlalchemy.hash similarity index 100% rename from buildroot-2021.05/package/python-sqlalchemy/python-sqlalchemy.hash rename to buildroot-2022.02.1/package/python-sqlalchemy/python-sqlalchemy.hash diff --git a/buildroot-2021.05/package/python-sqlalchemy/python-sqlalchemy.mk b/buildroot-2022.02.1/package/python-sqlalchemy/python-sqlalchemy.mk similarity index 100% rename from buildroot-2021.05/package/python-sqlalchemy/python-sqlalchemy.mk rename to buildroot-2022.02.1/package/python-sqlalchemy/python-sqlalchemy.mk diff --git a/buildroot-2022.02.1/package/python-sqliteschema/Config.in b/buildroot-2022.02.1/package/python-sqliteschema/Config.in new file mode 100644 index 00000000..102a6157 --- /dev/null +++ b/buildroot-2022.02.1/package/python-sqliteschema/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_SQLITESCHEMA + bool "python-sqliteschema" + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime + select BR2_PACKAGE_PYTHON_TABLEDATA # runtime + select BR2_PACKAGE_PYTHON_TYPEPY # runtime + help + A Python library to dump table schema of a SQLite database + file. + + https://github.com/thombashi/sqliteschema diff --git a/buildroot-2022.02.1/package/python-sqliteschema/python-sqliteschema.hash b/buildroot-2022.02.1/package/python-sqliteschema/python-sqliteschema.hash new file mode 100644 index 00000000..e60bd643 --- /dev/null +++ b/buildroot-2022.02.1/package/python-sqliteschema/python-sqliteschema.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/sqliteschema/json +md5 4fb0130e7cc60d92be468091fbfc3d51 sqliteschema-1.2.1.tar.gz +sha256 dde195bd7bc70d5841bc01dff20ec23bd43be87d760d2dfc7c7f2e5fd3808ef3 sqliteschema-1.2.1.tar.gz +# Locally computed sha256 checksums +sha256 7588265082eed5e9f4afd5090c57e610b740ec547b16aaaab739ba07c5eefb15 LICENSE diff --git a/buildroot-2022.02.1/package/python-sqliteschema/python-sqliteschema.mk b/buildroot-2022.02.1/package/python-sqliteschema/python-sqliteschema.mk new file mode 100644 index 00000000..5c52e351 --- /dev/null +++ b/buildroot-2022.02.1/package/python-sqliteschema/python-sqliteschema.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-sqliteschema +# +################################################################################ + +PYTHON_SQLITESCHEMA_VERSION = 1.2.1 +PYTHON_SQLITESCHEMA_SOURCE = sqliteschema-$(PYTHON_SQLITESCHEMA_VERSION).tar.gz +PYTHON_SQLITESCHEMA_SITE = https://files.pythonhosted.org/packages/85/f8/be54d4bebf551cb533d1dea11c3bf165a1a408c2a1cceb1f9724aadd9967 +PYTHON_SQLITESCHEMA_SETUP_TYPE = setuptools +PYTHON_SQLITESCHEMA_LICENSE = MIT +PYTHON_SQLITESCHEMA_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-sqlparse/Config.in b/buildroot-2022.02.1/package/python-sqlparse/Config.in similarity index 100% rename from buildroot-2021.05/package/python-sqlparse/Config.in rename to buildroot-2022.02.1/package/python-sqlparse/Config.in diff --git a/buildroot-2021.05/package/python-sqlparse/python-sqlparse.hash b/buildroot-2022.02.1/package/python-sqlparse/python-sqlparse.hash similarity index 100% rename from buildroot-2021.05/package/python-sqlparse/python-sqlparse.hash rename to buildroot-2022.02.1/package/python-sqlparse/python-sqlparse.hash diff --git a/buildroot-2021.05/package/python-sqlparse/python-sqlparse.mk b/buildroot-2022.02.1/package/python-sqlparse/python-sqlparse.mk similarity index 100% rename from buildroot-2021.05/package/python-sqlparse/python-sqlparse.mk rename to buildroot-2022.02.1/package/python-sqlparse/python-sqlparse.mk diff --git a/buildroot-2021.05/package/python-systemd/Config.in b/buildroot-2022.02.1/package/python-systemd/Config.in similarity index 100% rename from buildroot-2021.05/package/python-systemd/Config.in rename to buildroot-2022.02.1/package/python-systemd/Config.in diff --git a/buildroot-2021.05/package/python-systemd/python-systemd.hash b/buildroot-2022.02.1/package/python-systemd/python-systemd.hash similarity index 100% rename from buildroot-2021.05/package/python-systemd/python-systemd.hash rename to buildroot-2022.02.1/package/python-systemd/python-systemd.hash diff --git a/buildroot-2021.05/package/python-systemd/python-systemd.mk b/buildroot-2022.02.1/package/python-systemd/python-systemd.mk similarity index 100% rename from buildroot-2021.05/package/python-systemd/python-systemd.mk rename to buildroot-2022.02.1/package/python-systemd/python-systemd.mk diff --git a/buildroot-2022.02.1/package/python-tabledata/Config.in b/buildroot-2022.02.1/package/python-tabledata/Config.in new file mode 100644 index 00000000..9947f41a --- /dev/null +++ b/buildroot-2022.02.1/package/python-tabledata/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_TABLEDATA + bool "python-tabledata" + select BR2_PACKAGE_PYTHON_DATAPROPERTY # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_TYPEPY # runtime + help + A Python library to represent tabular data for + pytablewriter/pytablereader/SimpleSQLite. + + https://github.com/thombashi/tabledata diff --git a/buildroot-2022.02.1/package/python-tabledata/python-tabledata.hash b/buildroot-2022.02.1/package/python-tabledata/python-tabledata.hash new file mode 100644 index 00000000..3613589a --- /dev/null +++ b/buildroot-2022.02.1/package/python-tabledata/python-tabledata.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/tabledata/json +md5 1874cb0bf69cbc824a7bec67431023a9 tabledata-1.3.0.tar.gz +sha256 54541b0c9e58f8fa38251ea0a60965dbaf95737027fa80e6ab56f98d7e4d61e9 tabledata-1.3.0.tar.gz +# Locally computed sha256 checksums +sha256 bebbdf0524a147f89a615fff53d79bdc90cbc7631550fb4b725cd3f3bdcd24f6 LICENSE diff --git a/buildroot-2022.02.1/package/python-tabledata/python-tabledata.mk b/buildroot-2022.02.1/package/python-tabledata/python-tabledata.mk new file mode 100644 index 00000000..48f544b1 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tabledata/python-tabledata.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-tabledata +# +################################################################################ + +PYTHON_TABLEDATA_VERSION = 1.3.0 +PYTHON_TABLEDATA_SOURCE = tabledata-$(PYTHON_TABLEDATA_VERSION).tar.gz +PYTHON_TABLEDATA_SITE = https://files.pythonhosted.org/packages/ed/ed/dd0d6975963967492ac2c230107587593c7bd94acfa802b0c60a5395125c +PYTHON_TABLEDATA_SETUP_TYPE = setuptools +PYTHON_TABLEDATA_LICENSE = MIT +PYTHON_TABLEDATA_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-tempora/Config.in b/buildroot-2022.02.1/package/python-tempora/Config.in new file mode 100644 index 00000000..508cbae3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tempora/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_TEMPORA + bool "python-tempora" + select BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_PYTZ # runtime + help + Objects and routines pertaining to date and time. + + https://github.com/jaraco/tempora diff --git a/buildroot-2021.05/package/python-tempora/python-tempora.hash b/buildroot-2022.02.1/package/python-tempora/python-tempora.hash similarity index 100% rename from buildroot-2021.05/package/python-tempora/python-tempora.hash rename to buildroot-2022.02.1/package/python-tempora/python-tempora.hash diff --git a/buildroot-2021.05/package/python-tempora/python-tempora.mk b/buildroot-2022.02.1/package/python-tempora/python-tempora.mk similarity index 100% rename from buildroot-2021.05/package/python-tempora/python-tempora.mk rename to buildroot-2022.02.1/package/python-tempora/python-tempora.mk diff --git a/buildroot-2021.05/package/python-termcolor/Config.in b/buildroot-2022.02.1/package/python-termcolor/Config.in similarity index 100% rename from buildroot-2021.05/package/python-termcolor/Config.in rename to buildroot-2022.02.1/package/python-termcolor/Config.in diff --git a/buildroot-2021.05/package/python-termcolor/python-termcolor.hash b/buildroot-2022.02.1/package/python-termcolor/python-termcolor.hash similarity index 100% rename from buildroot-2021.05/package/python-termcolor/python-termcolor.hash rename to buildroot-2022.02.1/package/python-termcolor/python-termcolor.hash diff --git a/buildroot-2021.05/package/python-termcolor/python-termcolor.mk b/buildroot-2022.02.1/package/python-termcolor/python-termcolor.mk similarity index 100% rename from buildroot-2021.05/package/python-termcolor/python-termcolor.mk rename to buildroot-2022.02.1/package/python-termcolor/python-termcolor.mk diff --git a/buildroot-2022.02.1/package/python-terminaltables/Config.in b/buildroot-2022.02.1/package/python-terminaltables/Config.in new file mode 100644 index 00000000..8a387466 --- /dev/null +++ b/buildroot-2022.02.1/package/python-terminaltables/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_TERMINALTABLES + bool "python-terminaltables" + help + Generate simple tables in terminals from a nested list of + strings. + + https://github.com/matthewdeanmartin/terminaltables diff --git a/buildroot-2022.02.1/package/python-terminaltables/python-terminaltables.hash b/buildroot-2022.02.1/package/python-terminaltables/python-terminaltables.hash new file mode 100644 index 00000000..b6c95aa2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-terminaltables/python-terminaltables.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/terminaltables/json +md5 5467e06a1a6e24dc44e6dd241706668e terminaltables-3.1.10.tar.gz +sha256 ba6eca5cb5ba02bba4c9f4f985af80c54ec3dccf94cfcd190154386255e47543 terminaltables-3.1.10.tar.gz +# Locally computed sha256 checksums +sha256 2e1320fd337db06a3136d0f4101bd62f13249c95c5b581304f35481e979d432a LICENSE diff --git a/buildroot-2022.02.1/package/python-terminaltables/python-terminaltables.mk b/buildroot-2022.02.1/package/python-terminaltables/python-terminaltables.mk new file mode 100644 index 00000000..b31ed332 --- /dev/null +++ b/buildroot-2022.02.1/package/python-terminaltables/python-terminaltables.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-terminaltables +# +################################################################################ + +PYTHON_TERMINALTABLES_VERSION = 3.1.10 +PYTHON_TERMINALTABLES_SOURCE = terminaltables-$(PYTHON_TERMINALTABLES_VERSION).tar.gz +PYTHON_TERMINALTABLES_SITE = https://files.pythonhosted.org/packages/f5/fc/0b73d782f5ab7feba8d007573a3773c58255f223c5940a7b7085f02153c3 +PYTHON_TERMINALTABLES_SETUP_TYPE = setuptools +PYTHON_TERMINALTABLES_LICENSE = MIT +PYTHON_TERMINALTABLES_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-texttable/Config.in b/buildroot-2022.02.1/package/python-texttable/Config.in similarity index 100% rename from buildroot-2021.05/package/python-texttable/Config.in rename to buildroot-2022.02.1/package/python-texttable/Config.in diff --git a/buildroot-2022.02.1/package/python-texttable/python-texttable.hash b/buildroot-2022.02.1/package/python-texttable/python-texttable.hash new file mode 100644 index 00000000..a769e917 --- /dev/null +++ b/buildroot-2022.02.1/package/python-texttable/python-texttable.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/texttable/json +md5 15faadc07ba44d337cc1675ea6092a02 texttable-1.6.4.tar.gz +sha256 42ee7b9e15f7b225747c3fa08f43c5d6c83bc899f80ff9bae9319334824076e9 texttable-1.6.4.tar.gz +# Locally computed sha256 checksums +sha256 4ba7bdab54504a3bc44eb33ecca873a26a63ab902822101a87bb46235da63594 LICENSE diff --git a/buildroot-2022.02.1/package/python-texttable/python-texttable.mk b/buildroot-2022.02.1/package/python-texttable/python-texttable.mk new file mode 100644 index 00000000..59df5f6f --- /dev/null +++ b/buildroot-2022.02.1/package/python-texttable/python-texttable.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-texttable +# +################################################################################ + +PYTHON_TEXTTABLE_VERSION = 1.6.4 +PYTHON_TEXTTABLE_SOURCE = texttable-$(PYTHON_TEXTTABLE_VERSION).tar.gz +PYTHON_TEXTTABLE_SITE = https://files.pythonhosted.org/packages/d5/78/dbc2a5eab57a01fedaf975f2c16f04e76f09336dbeadb9994258aa0a2b1a +PYTHON_TEXTTABLE_SETUP_TYPE = setuptools +PYTHON_TEXTTABLE_LICENSE = MIT +PYTHON_TEXTTABLE_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-thrift/Config.in b/buildroot-2022.02.1/package/python-thrift/Config.in similarity index 100% rename from buildroot-2021.05/package/python-thrift/Config.in rename to buildroot-2022.02.1/package/python-thrift/Config.in diff --git a/buildroot-2021.05/package/python-thrift/python-thrift.hash b/buildroot-2022.02.1/package/python-thrift/python-thrift.hash similarity index 100% rename from buildroot-2021.05/package/python-thrift/python-thrift.hash rename to buildroot-2022.02.1/package/python-thrift/python-thrift.hash diff --git a/buildroot-2021.05/package/python-thrift/python-thrift.mk b/buildroot-2022.02.1/package/python-thrift/python-thrift.mk similarity index 100% rename from buildroot-2021.05/package/python-thrift/python-thrift.mk rename to buildroot-2022.02.1/package/python-thrift/python-thrift.mk diff --git a/buildroot-2022.02.1/package/python-tinycss2/Config.in b/buildroot-2022.02.1/package/python-tinycss2/Config.in new file mode 100644 index 00000000..a34717e0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tinycss2/Config.in @@ -0,0 +1,5 @@ +config BR2_PACKAGE_PYTHON_TINYCSS2 + bool "python-tinycss2" + select BR2_PACKAGE_PYTHON_WEBENCODINGS # runtime + help + A tiny CSS parser. diff --git a/buildroot-2022.02.1/package/python-tinycss2/python-tinycss2.hash b/buildroot-2022.02.1/package/python-tinycss2/python-tinycss2.hash new file mode 100644 index 00000000..eeb37547 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tinycss2/python-tinycss2.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/tinycss2/json +md5 7caf513c4e87fc2449dcfbf407a8416f tinycss2-1.1.0.tar.gz +sha256 fbdcac3044d60eb85fdb2aa840ece43cf7dbe798e373e6ee0be545d4d134e18a tinycss2-1.1.0.tar.gz +# Locally computed sha256 checksums +sha256 6b94acee20ec9f2709333134f3ba70322535fb420af0ce8c1455d9cbe297f1d5 LICENSE diff --git a/buildroot-2022.02.1/package/python-tinycss2/python-tinycss2.mk b/buildroot-2022.02.1/package/python-tinycss2/python-tinycss2.mk new file mode 100644 index 00000000..4bf5b977 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tinycss2/python-tinycss2.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-tinycss2 +# +################################################################################ + +PYTHON_TINYCSS2_VERSION = 1.1.0 +PYTHON_TINYCSS2_SOURCE = tinycss2-$(PYTHON_TINYCSS2_VERSION).tar.gz +PYTHON_TINYCSS2_SITE = https://files.pythonhosted.org/packages/ce/d3/ece7a98d5826bd134e269a3a3030153d30482194fca71d95a3041812aab8 +PYTHON_TINYCSS2_SETUP_TYPE = distutils +PYTHON_TINYCSS2_LICENSE = BSD-3-Clause +PYTHON_TINYCSS2_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-tinyrpc/Config.in b/buildroot-2022.02.1/package/python-tinyrpc/Config.in new file mode 100644 index 00000000..3c643c75 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tinyrpc/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_TINYRPC + bool "python-tinyrpc" + select BR2_PACKAGE_PYTHON_SIX # runtime + help + A small, modular, transport and protocol neutral RPC + library that, among other things, supports JSON-RPC and + zmq. + + http://github.com/mbr/tinyrpc diff --git a/buildroot-2022.02.1/package/python-tinyrpc/python-tinyrpc.hash b/buildroot-2022.02.1/package/python-tinyrpc/python-tinyrpc.hash new file mode 100644 index 00000000..d4bd348e --- /dev/null +++ b/buildroot-2022.02.1/package/python-tinyrpc/python-tinyrpc.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/tinyrpc/json +md5 cc7e62891eee806dfbbafb6e3875825e tinyrpc-1.1.4.tar.gz +sha256 c99f412e5d9849c2deb468ea37fee2faf12fbc95bdd3616ae5c276ea195ed6bd tinyrpc-1.1.4.tar.gz +# Locally computed sha256 checksums +sha256 587f1ea174824613f4a7e0d7fb95fda000a7f58ca17df12416e014c9ee82e619 LICENSE diff --git a/buildroot-2022.02.1/package/python-tinyrpc/python-tinyrpc.mk b/buildroot-2022.02.1/package/python-tinyrpc/python-tinyrpc.mk new file mode 100644 index 00000000..e976778f --- /dev/null +++ b/buildroot-2022.02.1/package/python-tinyrpc/python-tinyrpc.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-tinyrpc +# +################################################################################ + +PYTHON_TINYRPC_VERSION = 1.1.4 +PYTHON_TINYRPC_SOURCE = tinyrpc-$(PYTHON_TINYRPC_VERSION).tar.gz +PYTHON_TINYRPC_SITE = https://files.pythonhosted.org/packages/d2/86/2741f0c74cc339416c9803b6393eaf230254ecf36ffd839614799e15a202 +PYTHON_TINYRPC_SETUP_TYPE = setuptools +PYTHON_TINYRPC_LICENSE = MIT +PYTHON_TINYRPC_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-tomako/Config.in b/buildroot-2022.02.1/package/python-tomako/Config.in new file mode 100644 index 00000000..bd6d2998 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tomako/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_TOMAKO + bool "python-tomako" + select BR2_PACKAGE_PYTHON_TORNADO # runtime + select BR2_PACKAGE_PYTHON_MAKO # runtime + help + Tomako is the easiest way to use Mako as a template engine for + Tornado. + + https://github.com/rcmachado/tomako diff --git a/buildroot-2021.05/package/python-tomako/python-tomako.hash b/buildroot-2022.02.1/package/python-tomako/python-tomako.hash similarity index 100% rename from buildroot-2021.05/package/python-tomako/python-tomako.hash rename to buildroot-2022.02.1/package/python-tomako/python-tomako.hash diff --git a/buildroot-2021.05/package/python-tomako/python-tomako.mk b/buildroot-2022.02.1/package/python-tomako/python-tomako.mk similarity index 100% rename from buildroot-2021.05/package/python-tomako/python-tomako.mk rename to buildroot-2022.02.1/package/python-tomako/python-tomako.mk diff --git a/buildroot-2021.05/package/python-toml/Config.in b/buildroot-2022.02.1/package/python-toml/Config.in similarity index 100% rename from buildroot-2021.05/package/python-toml/Config.in rename to buildroot-2022.02.1/package/python-toml/Config.in diff --git a/buildroot-2021.05/package/python-toml/python-toml.hash b/buildroot-2022.02.1/package/python-toml/python-toml.hash similarity index 100% rename from buildroot-2021.05/package/python-toml/python-toml.hash rename to buildroot-2022.02.1/package/python-toml/python-toml.hash diff --git a/buildroot-2021.05/package/python-toml/python-toml.mk b/buildroot-2022.02.1/package/python-toml/python-toml.mk similarity index 100% rename from buildroot-2021.05/package/python-toml/python-toml.mk rename to buildroot-2022.02.1/package/python-toml/python-toml.mk diff --git a/buildroot-2022.02.1/package/python-tomli/Config.in b/buildroot-2022.02.1/package/python-tomli/Config.in new file mode 100644 index 00000000..d2ae49a4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tomli/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_TOMLI + bool "python-tomli" + help + A lil' TOML parser. + + https://github.com/hukkin/tomli diff --git a/buildroot-2022.02.1/package/python-tomli/python-tomli.hash b/buildroot-2022.02.1/package/python-tomli/python-tomli.hash new file mode 100644 index 00000000..1a274c8a --- /dev/null +++ b/buildroot-2022.02.1/package/python-tomli/python-tomli.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/tomli/json +md5 2ecbc7a23b8c8dc2fe96f588f88463d9 tomli-1.2.0.tar.gz +sha256 d60e681734099207a6add7a10326bc2ddd1fdc36c1b0f547d00ef73ac63739c2 tomli-1.2.0.tar.gz +# Locally computed sha256 checksums +sha256 b80816b0d530b8accb4c2211783790984a6e3b61922c2b5ee92f3372ab2742fe LICENSE diff --git a/buildroot-2022.02.1/package/python-tomli/python-tomli.mk b/buildroot-2022.02.1/package/python-tomli/python-tomli.mk new file mode 100644 index 00000000..b8c20ca7 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tomli/python-tomli.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-tomli +# +################################################################################ + +PYTHON_TOMLI_VERSION = 1.2.0 +PYTHON_TOMLI_SOURCE = tomli-$(PYTHON_TOMLI_VERSION).tar.gz +PYTHON_TOMLI_SITE = https://files.pythonhosted.org/packages/ec/38/8eccdc662c61aed187d5f5b168c18b1d2de3827976c3691e4da8be7375aa +PYTHON_TOMLI_SETUP_TYPE = distutils +PYTHON_TOMLI_LICENSE = MIT +PYTHON_TOMLI_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-tornado/Config.in b/buildroot-2022.02.1/package/python-tornado/Config.in new file mode 100644 index 00000000..b5c59e97 --- /dev/null +++ b/buildroot-2022.02.1/package/python-tornado/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_TORNADO + bool "python-tornado" + select BR2_PACKAGE_PYTHON3_ZLIB + select BR2_PACKAGE_PYTHON3_SSL + help + Tornado is a Python web framework and asynchronous networking + library, originally developed at FriendFeed. + + http://www.tornadoweb.org diff --git a/buildroot-2021.05/package/python-tornado/python-tornado.hash b/buildroot-2022.02.1/package/python-tornado/python-tornado.hash similarity index 100% rename from buildroot-2021.05/package/python-tornado/python-tornado.hash rename to buildroot-2022.02.1/package/python-tornado/python-tornado.hash diff --git a/buildroot-2021.05/package/python-tornado/python-tornado.mk b/buildroot-2022.02.1/package/python-tornado/python-tornado.mk similarity index 100% rename from buildroot-2021.05/package/python-tornado/python-tornado.mk rename to buildroot-2022.02.1/package/python-tornado/python-tornado.mk diff --git a/buildroot-2021.05/package/python-tqdm/Config.in b/buildroot-2022.02.1/package/python-tqdm/Config.in similarity index 100% rename from buildroot-2021.05/package/python-tqdm/Config.in rename to buildroot-2022.02.1/package/python-tqdm/Config.in diff --git a/buildroot-2021.05/package/python-tqdm/python-tqdm.hash b/buildroot-2022.02.1/package/python-tqdm/python-tqdm.hash similarity index 100% rename from buildroot-2021.05/package/python-tqdm/python-tqdm.hash rename to buildroot-2022.02.1/package/python-tqdm/python-tqdm.hash diff --git a/buildroot-2021.05/package/python-tqdm/python-tqdm.mk b/buildroot-2022.02.1/package/python-tqdm/python-tqdm.mk similarity index 100% rename from buildroot-2021.05/package/python-tqdm/python-tqdm.mk rename to buildroot-2022.02.1/package/python-tqdm/python-tqdm.mk diff --git a/buildroot-2022.02.1/package/python-traitlets/Config.in b/buildroot-2022.02.1/package/python-traitlets/Config.in new file mode 100644 index 00000000..a2736011 --- /dev/null +++ b/buildroot-2022.02.1/package/python-traitlets/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_TRAITLETS + bool "python-traitlets" + help + A configuration system for Python applications. + + https://pypi.python.org/pypi/traitlets diff --git a/buildroot-2022.02.1/package/python-traitlets/python-traitlets.hash b/buildroot-2022.02.1/package/python-traitlets/python-traitlets.hash new file mode 100644 index 00000000..01e2bf8e --- /dev/null +++ b/buildroot-2022.02.1/package/python-traitlets/python-traitlets.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/traitlets/json +md5 19483ec0685e837912cff128209aa845 traitlets-5.1.0.tar.gz +sha256 bd382d7ea181fbbcce157c133db9a829ce06edffe097bcf3ab945b435452b46d traitlets-5.1.0.tar.gz +# Locally computed sha256 checksums +sha256 71c89129039b870cc92309466c4fbe8f285a82fa0ea36f0e840fa83979cbe31f COPYING.md diff --git a/buildroot-2022.02.1/package/python-traitlets/python-traitlets.mk b/buildroot-2022.02.1/package/python-traitlets/python-traitlets.mk new file mode 100644 index 00000000..5f41f6ee --- /dev/null +++ b/buildroot-2022.02.1/package/python-traitlets/python-traitlets.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-traitlets +# +################################################################################ + +PYTHON_TRAITLETS_VERSION = 5.1.0 +PYTHON_TRAITLETS_SOURCE = traitlets-$(PYTHON_TRAITLETS_VERSION).tar.gz +PYTHON_TRAITLETS_SITE = https://files.pythonhosted.org/packages/d5/bc/37d490908e7ac949614d62767db3c86f37bc5adb6129d378c35859a75b87 +PYTHON_TRAITLETS_LICENSE = BSD-3-Clause +PYTHON_TRAITLETS_LICENSE_FILES = COPYING.md +PYTHON_TRAITLETS_SETUP_TYPE = distutils + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-treq/Config.in b/buildroot-2022.02.1/package/python-treq/Config.in new file mode 100644 index 00000000..5d76a5cd --- /dev/null +++ b/buildroot-2022.02.1/package/python-treq/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_PYTHON_TREQ + bool "python-treq" + # twisted TLS -> python-{pyopenssl,service-identity} + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_HYPERLINK # runtime + select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime + select BR2_PACKAGE_PYTHON_REQUESTS # runtime + select BR2_PACKAGE_PYTHON_TWISTED # runtime + select BR2_PACKAGE_PYTHON_TWISTED_TLS # runtime + help + treq is an HTTP library inspired by requests but written on + top of Twisted's Agents. It provides a simple, higher level + API for making HTTP requests when using Twisted. + + https://github.com/twisted/treq diff --git a/buildroot-2022.02.1/package/python-treq/python-treq.hash b/buildroot-2022.02.1/package/python-treq/python-treq.hash new file mode 100644 index 00000000..aecf71aa --- /dev/null +++ b/buildroot-2022.02.1/package/python-treq/python-treq.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/treq/json +md5 43892086d556e7596392134f1e10bdef treq-22.2.0.tar.gz +sha256 df757e3f141fc782ede076a604521194ffcb40fa2645cf48e5a37060307f52ec treq-22.2.0.tar.gz +# Locally computed sha256 checksums +sha256 7cc1b65e1937b1cc07052bb864ec96d8e5fd413400c0842e5b89a8201a600293 LICENSE diff --git a/buildroot-2022.02.1/package/python-treq/python-treq.mk b/buildroot-2022.02.1/package/python-treq/python-treq.mk new file mode 100644 index 00000000..8995bf2c --- /dev/null +++ b/buildroot-2022.02.1/package/python-treq/python-treq.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# python-treq +# +################################################################################ + +# When bumping this package, make sure to also verify if the +# python-twisted package still works and to update its hash, +# as they share the same version/site variables. +PYTHON_TREQ_VERSION = 22.2.0 +PYTHON_TREQ_SOURCE = treq-$(PYTHON_TREQ_VERSION).tar.gz +PYTHON_TREQ_SITE = https://files.pythonhosted.org/packages/cd/c8/b68ab17d994133baf6edbcb5551ba81e1494bdc6d5e21a9d4f3bc4315140 +PYTHON_TREQ_LICENSE = MIT +PYTHON_TREQ_LICENSE_FILES = LICENSE +PYTHON_TREQ_SETUP_TYPE = setuptools +PYTHON_TREQ_DEPENDENCIES = host-python-incremental + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-twisted/Config.in b/buildroot-2022.02.1/package/python-twisted/Config.in new file mode 100644 index 00000000..8596025e --- /dev/null +++ b/buildroot-2022.02.1/package/python-twisted/Config.in @@ -0,0 +1,32 @@ +config BR2_PACKAGE_PYTHON_TWISTED + bool "python-twisted" + select BR2_PACKAGE_PYTHON_INCREMENTAL + select BR2_PACKAGE_PYTHON_ATTRS # runtime + select BR2_PACKAGE_PYTHON_AUTOMAT # runtime + select BR2_PACKAGE_PYTHON_CONSTANTLY # runtime + select BR2_PACKAGE_PYTHON_HYPERLINK # runtime + select BR2_PACKAGE_PYTHON_PYHAMCREST # runtime + select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime + select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime + help + Twisted is an event-driven networking engine written in + Python. + + https://twistedmatrix.com/trac/ + +if BR2_PACKAGE_PYTHON_TWISTED + +config BR2_PACKAGE_PYTHON_TWISTED_HTTP2 + bool "HTTP2 support" + select BR2_PACKAGE_PYTHON_H2 # runtime + select BR2_PACKAGE_PYTHON_PRIORITY # runtime + +config BR2_PACKAGE_PYTHON_TWISTED_TLS + bool "TLS support" + # python-{pyopenssl,service-identity} + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_IDNA # runtime + select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime + select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime + +endif diff --git a/buildroot-2022.02.1/package/python-twisted/python-twisted.hash b/buildroot-2022.02.1/package/python-twisted/python-twisted.hash new file mode 100644 index 00000000..63da0125 --- /dev/null +++ b/buildroot-2022.02.1/package/python-twisted/python-twisted.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/twisted/json +md5 fd252d0b895ca2ab81b5b1454073d890 Twisted-22.2.0.tar.gz +sha256 57f32b1f6838facb8c004c89467840367ad38e9e535f8252091345dba500b4f2 Twisted-22.2.0.tar.gz +# Locally computed sha256 +sha256 686f6426a775450eb3afd00bc3a5c2621f305ddb9c8478ee9bf28a368ef2dece LICENSE diff --git a/buildroot-2022.02.1/package/python-twisted/python-twisted.mk b/buildroot-2022.02.1/package/python-twisted/python-twisted.mk new file mode 100644 index 00000000..8a89d3dc --- /dev/null +++ b/buildroot-2022.02.1/package/python-twisted/python-twisted.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# python-twisted +# +################################################################################ + +# When bumping this package, make sure to also verify if the +# python-treq package still works and to update its hash, +# as they share the same version/site variables. +PYTHON_TWISTED_VERSION = 22.2.0 +PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz +PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46 +PYTHON_TWISTED_SETUP_TYPE = setuptools +PYTHON_TWISTED_LICENSE = MIT +PYTHON_TWISTED_LICENSE_FILES = LICENSE +PYTHON_TWISTED_CPE_ID_VENDOR = twistedmatrix +PYTHON_TWISTED_CPE_ID_PRODUCT = twisted +PYTHON_TWISTED_DEPENDENCIES = python-incremental host-python-incremental + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-txaio/Config.in b/buildroot-2022.02.1/package/python-txaio/Config.in new file mode 100644 index 00000000..eddd983e --- /dev/null +++ b/buildroot-2022.02.1/package/python-txaio/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_TXAIO + bool "python-txaio" + help + Compatibility API between asyncio/Twisted/Trollius. + + https://pypi.python.org/pypi/txaio diff --git a/buildroot-2022.02.1/package/python-txaio/python-txaio.hash b/buildroot-2022.02.1/package/python-txaio/python-txaio.hash new file mode 100644 index 00000000..5e05f02d --- /dev/null +++ b/buildroot-2022.02.1/package/python-txaio/python-txaio.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/txaio/json +md5 7e80b80ed7797245a5eef803043bdede txaio-21.2.1.tar.gz +sha256 7d6f89745680233f1c4db9ddb748df5e88d2a7a37962be174c0fd04c8dba1dc8 txaio-21.2.1.tar.gz +# Locally computed sha256 checksums +sha256 0387eefce570453daaa60633f28676003731eeca28b2d0a0071c628e3a0004ef LICENSE diff --git a/buildroot-2022.02.1/package/python-txaio/python-txaio.mk b/buildroot-2022.02.1/package/python-txaio/python-txaio.mk new file mode 100644 index 00000000..750d9e3d --- /dev/null +++ b/buildroot-2022.02.1/package/python-txaio/python-txaio.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-txaio +# +################################################################################ + +PYTHON_TXAIO_VERSION = 21.2.1 +PYTHON_TXAIO_SOURCE = txaio-$(PYTHON_TXAIO_VERSION).tar.gz +PYTHON_TXAIO_SITE = https://files.pythonhosted.org/packages/c5/39/2e715062283f8443d8ceeea32276db71741664d78d43c3edd3675498e926 +PYTHON_TXAIO_LICENSE = MIT +PYTHON_TXAIO_LICENSE_FILES = LICENSE +PYTHON_TXAIO_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-txdbus/Config.in b/buildroot-2022.02.1/package/python-txdbus/Config.in new file mode 100644 index 00000000..f3ea4c78 --- /dev/null +++ b/buildroot-2022.02.1/package/python-txdbus/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_PYTHON_TXDBUS + bool "python-txdbus" + # python-twisted -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + # python-twisted -> python-cryptography + select BR2_PACKAGE_PYTHON_TWISTED # runtime + select BR2_PACKAGE_PYTHON_SIX # runtime + help + A native Python implementation of the DBus protocol for + Twisted applications. + + https://github.com/cocagne/txdbus diff --git a/buildroot-2021.05/package/python-txdbus/python-txdbus.hash b/buildroot-2022.02.1/package/python-txdbus/python-txdbus.hash similarity index 100% rename from buildroot-2021.05/package/python-txdbus/python-txdbus.hash rename to buildroot-2022.02.1/package/python-txdbus/python-txdbus.hash diff --git a/buildroot-2021.05/package/python-txdbus/python-txdbus.mk b/buildroot-2022.02.1/package/python-txdbus/python-txdbus.mk similarity index 100% rename from buildroot-2021.05/package/python-txdbus/python-txdbus.mk rename to buildroot-2022.02.1/package/python-txdbus/python-txdbus.mk diff --git a/buildroot-2022.02.1/package/python-txtorcon/Config.in b/buildroot-2022.02.1/package/python-txtorcon/Config.in new file mode 100644 index 00000000..fbea7be8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-txtorcon/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_PYTHON_TXTORCON + bool "python-txtorcon" + # python-pyopenssl -> python-cryptography + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + select BR2_PACKAGE_PYTHON_AUTOMAT # runtime + select BR2_PACKAGE_PYTHON_IDNA # runtime + select BR2_PACKAGE_PYTHON_INCREMENTAL # runtime + select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime + select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime + select BR2_PACKAGE_PYTHON_TWISTED # runtime + select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime + help + Twisted-based Tor controller client, with state-tracking and + configuration abstractions. + + https://github.com/meejah/txtorcon diff --git a/buildroot-2022.02.1/package/python-txtorcon/python-txtorcon.hash b/buildroot-2022.02.1/package/python-txtorcon/python-txtorcon.hash new file mode 100644 index 00000000..af542c7f --- /dev/null +++ b/buildroot-2022.02.1/package/python-txtorcon/python-txtorcon.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/txtorcon/json +md5 dbb53821a3ce3e921e09c5de4f722fdb txtorcon-21.1.0.tar.gz +sha256 aebf0b9ec6c69a029f6b61fd534e785692e28fdcd2fd003ce3cc132b9393b7d6 txtorcon-21.1.0.tar.gz +# Locally computed sha256 checksums +sha256 3ada1c32ef38c23d96d7f4e8f4a226c527f51e0202883c7543b06f9cc5228a2b LICENSE diff --git a/buildroot-2022.02.1/package/python-txtorcon/python-txtorcon.mk b/buildroot-2022.02.1/package/python-txtorcon/python-txtorcon.mk new file mode 100644 index 00000000..acf586cb --- /dev/null +++ b/buildroot-2022.02.1/package/python-txtorcon/python-txtorcon.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-txtorcon +# +################################################################################ + +PYTHON_TXTORCON_VERSION = 21.1.0 +PYTHON_TXTORCON_SOURCE = txtorcon-$(PYTHON_TXTORCON_VERSION).tar.gz +PYTHON_TXTORCON_SITE = https://files.pythonhosted.org/packages/eb/43/2426009377cef519c53bdc8969590cb100e9fd745846859963c881c6d176 +PYTHON_TXTORCON_SETUP_TYPE = setuptools +PYTHON_TXTORCON_LICENSE = MIT +PYTHON_TXTORCON_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-typepy/Config.in b/buildroot-2022.02.1/package/python-typepy/Config.in new file mode 100644 index 00000000..3438e744 --- /dev/null +++ b/buildroot-2022.02.1/package/python-typepy/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_TYPEPY + bool "python-typepy" + select BR2_PACKAGE_PYTHON_MBSTRDECODER # runtime + help + A Python library for variable type + checker/validator/converter at a run time. + + https://github.com/thombashi/typepy diff --git a/buildroot-2022.02.1/package/python-typepy/python-typepy.hash b/buildroot-2022.02.1/package/python-typepy/python-typepy.hash new file mode 100644 index 00000000..eade6673 --- /dev/null +++ b/buildroot-2022.02.1/package/python-typepy/python-typepy.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/typepy/json +md5 9f73bef9ce9e9ccf49ed63a2dadada90 typepy-1.3.0.tar.gz +sha256 96788530614083164993d1443959f6c58e6bb8e2da839812ddf462c203e4b84c typepy-1.3.0.tar.gz +# Locally computed sha256 checksums +sha256 bebbdf0524a147f89a615fff53d79bdc90cbc7631550fb4b725cd3f3bdcd24f6 LICENSE diff --git a/buildroot-2022.02.1/package/python-typepy/python-typepy.mk b/buildroot-2022.02.1/package/python-typepy/python-typepy.mk new file mode 100644 index 00000000..6c556df9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-typepy/python-typepy.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-typepy +# +################################################################################ + +PYTHON_TYPEPY_VERSION = 1.3.0 +PYTHON_TYPEPY_SOURCE = typepy-$(PYTHON_TYPEPY_VERSION).tar.gz +PYTHON_TYPEPY_SITE = https://files.pythonhosted.org/packages/07/7b/fb32933f2a17992af75c0f96e5538a25fecebd439a82dcc31926ba55d336 +PYTHON_TYPEPY_SETUP_TYPE = setuptools +PYTHON_TYPEPY_LICENSE = MIT +PYTHON_TYPEPY_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-typing-extensions/Config.in b/buildroot-2022.02.1/package/python-typing-extensions/Config.in new file mode 100644 index 00000000..b5969328 --- /dev/null +++ b/buildroot-2022.02.1/package/python-typing-extensions/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS + bool "python-typing-extensions" + help + Backported and Experimental Type Hints for Python 3.5+. + + https://github.com/python/typing/blob/master/typing_extensions/README.rst diff --git a/buildroot-2022.02.1/package/python-typing-extensions/python-typing-extensions.hash b/buildroot-2022.02.1/package/python-typing-extensions/python-typing-extensions.hash new file mode 100644 index 00000000..abaac77d --- /dev/null +++ b/buildroot-2022.02.1/package/python-typing-extensions/python-typing-extensions.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/typing_extensions/json +md5 ed80ecc8eac5cb15840535ca54eb43f3 typing_extensions-3.10.0.2.tar.gz +sha256 49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e typing_extensions-3.10.0.2.tar.gz +# Locally computed sha256 checksums +sha256 ff17ce94e102024deb68773eb1cc74ca76da4e658f373531f0ac22d68a6bb1ad LICENSE diff --git a/buildroot-2022.02.1/package/python-typing-extensions/python-typing-extensions.mk b/buildroot-2022.02.1/package/python-typing-extensions/python-typing-extensions.mk new file mode 100644 index 00000000..668071e0 --- /dev/null +++ b/buildroot-2022.02.1/package/python-typing-extensions/python-typing-extensions.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-typing-extensions +# +################################################################################ + +PYTHON_TYPING_EXTENSIONS_VERSION = 3.10.0.2 +PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz +PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/ed/12/c5079a15cf5c01d7f4252b473b00f7e68ee711be605b9f001528f0298b98 +PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = setuptools +PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0 +PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-u-msgpack/Config.in b/buildroot-2022.02.1/package/python-u-msgpack/Config.in similarity index 100% rename from buildroot-2021.05/package/python-u-msgpack/Config.in rename to buildroot-2022.02.1/package/python-u-msgpack/Config.in diff --git a/buildroot-2022.02.1/package/python-u-msgpack/python-u-msgpack.hash b/buildroot-2022.02.1/package/python-u-msgpack/python-u-msgpack.hash new file mode 100644 index 00000000..08917839 --- /dev/null +++ b/buildroot-2022.02.1/package/python-u-msgpack/python-u-msgpack.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/u-msgpack-python/json +md5 8691cea6bc7b44bce6e2115260a54323 u-msgpack-python-2.7.1.tar.gz +sha256 b7e7d433cab77171a4c752875d91836f3040306bab5063fb6dbe11f64ea69551 u-msgpack-python-2.7.1.tar.gz +# Locally computed sha256 checksums +sha256 268ae7b7efbf67cd7bc0a9efea844fcf448d03f9cc6b8c79e8fe311815985030 LICENSE diff --git a/buildroot-2022.02.1/package/python-u-msgpack/python-u-msgpack.mk b/buildroot-2022.02.1/package/python-u-msgpack/python-u-msgpack.mk new file mode 100644 index 00000000..e0a3b3f2 --- /dev/null +++ b/buildroot-2022.02.1/package/python-u-msgpack/python-u-msgpack.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-u-msgpack +# +################################################################################ + +PYTHON_U_MSGPACK_VERSION = 2.7.1 +PYTHON_U_MSGPACK_SOURCE = u-msgpack-python-$(PYTHON_U_MSGPACK_VERSION).tar.gz +PYTHON_U_MSGPACK_SITE = https://files.pythonhosted.org/packages/62/94/a4f485b628310534d377b3e7cb6f85b8066dc823dbff0e4421fb4227fb7e +PYTHON_U_MSGPACK_SETUP_TYPE = setuptools +PYTHON_U_MSGPACK_LICENSE = MIT +PYTHON_U_MSGPACK_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-ubjson/Config.in b/buildroot-2022.02.1/package/python-ubjson/Config.in similarity index 100% rename from buildroot-2021.05/package/python-ubjson/Config.in rename to buildroot-2022.02.1/package/python-ubjson/Config.in diff --git a/buildroot-2022.02.1/package/python-ubjson/python-ubjson.hash b/buildroot-2022.02.1/package/python-ubjson/python-ubjson.hash new file mode 100644 index 00000000..baf3ce7b --- /dev/null +++ b/buildroot-2022.02.1/package/python-ubjson/python-ubjson.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/py-ubjson/json +md5 0f9f2b4d68ae8e70c6f624b1cdaca161 py-ubjson-0.16.1.tar.gz +sha256 b9bfb8695a1c7e3632e800fb83c943bf67ed45ddd87cd0344851610c69a5a482 py-ubjson-0.16.1.tar.gz +# Locally computed sha256 checksums +sha256 ca182abcb84ad9984c9af2e30cb70c4fe0e1772674355207e8fcdb85e8c5e75f LICENSE diff --git a/buildroot-2022.02.1/package/python-ubjson/python-ubjson.mk b/buildroot-2022.02.1/package/python-ubjson/python-ubjson.mk new file mode 100644 index 00000000..93ab9dc1 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ubjson/python-ubjson.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-ubjson +# +################################################################################ + +PYTHON_UBJSON_VERSION = 0.16.1 +PYTHON_UBJSON_SOURCE = py-ubjson-$(PYTHON_UBJSON_VERSION).tar.gz +PYTHON_UBJSON_SITE = https://files.pythonhosted.org/packages/1d/c7/28220d37e041fe1df03e857fe48f768dcd30cd151480bf6f00da8713214a +PYTHON_UBJSON_LICENSE = Apache-2.0 +PYTHON_UBJSON_LICENSE_FILES = LICENSE +PYTHON_UBJSON_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch b/buildroot-2022.02.1/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch new file mode 100644 index 00000000..b43eb54d --- /dev/null +++ b/buildroot-2022.02.1/package/python-ujson/0001-Add-support-for-aarch64_be-or1k-and-microblazebe.patch @@ -0,0 +1,30 @@ +From 768a445f0c28311bf88685bf0bb990505c12fd4c Mon Sep 17 00:00:00 2001 +From: Florian Loitsch +Date: Sat, 8 Sep 2018 18:18:15 +0200 +Subject: [PATCH] Add support for aarch64_be, or1k and microblazebe. + +Fixes #73. + +[Retrieved from: +https://github.com/google/double-conversion/commit/768a445f0c28311bf88685bf0bb990505c12fd4c] +Signed-off-by: Fabrice Fontaine +--- + double-conversion/utils.h | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/deps/double-conversion/ouble-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h +index 98a2a11..492bc97 100644 +--- a/deps/double-conversion/double-conversion/utils.h ++++ b/deps/double-conversion/double-conversion/utils.h +@@ -76,8 +76,9 @@ inline void abort_noreturn() { abort(); } + defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ + defined(__SH4__) || defined(__alpha__) || \ + defined(_MIPS_ARCH_MIPS32R2) || \ +- defined(__AARCH64EL__) || defined(__aarch64__) || \ +- defined(__riscv) ++ defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ ++ defined(__riscv) || \ ++ defined(__or1k__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(__mc68000__) || \ + defined(__pnacl__) || defined(__native_client__) diff --git a/buildroot-2022.02.1/package/python-ujson/0002-Add-support-of-ARC-architecture.patch b/buildroot-2022.02.1/package/python-ujson/0002-Add-support-of-ARC-architecture.patch new file mode 100644 index 00000000..d38b24f5 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ujson/0002-Add-support-of-ARC-architecture.patch @@ -0,0 +1,36 @@ +From eafa625a34fd5d8bec18eddfccbca55ce77b4849 Mon Sep 17 00:00:00 2001 +From: Alexey Brodkin +Date: Thu, 1 Nov 2018 17:36:17 +0200 +Subject: [PATCH] Add support of ARC architecture (#82) + +More info about ARC architecture is here: [1] & [2]. +We need ARC supported here for many things like: + - ICU (see [3]) + - Qt5 etc + +[1] https://www.synopsys.com/designware-ip/processor-solutions/arc-processors.html +[2] https://en.wikipedia.org/wiki/ARC_(processor) +[3] https://unicode-org.atlassian.net/browse/ICU-20155 + +Fixes #81 + +[Retrieved from: +https://github.com/google/double-conversion/commit/eafa625a34fd5d8bec18eddfccbca55ce77b4849] +Signed-off-by: Fabrice Fontaine +--- + double-conversion/utils.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h +index 41c5b02..2e1be0d 100644 +--- a/deps/double-conversion/double-conversion/utils.h ++++ b/deps/double-conversion/double-conversion/utils.h +@@ -94,7 +94,7 @@ int main(int argc, char** argv) { + defined(_MIPS_ARCH_MIPS32R2) || \ + defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ + defined(__riscv) || \ +- defined(__or1k__) ++ defined(__or1k__) || defined(__arc__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(__mc68000__) || \ + defined(__pnacl__) || defined(__native_client__) diff --git a/buildroot-2022.02.1/package/python-ujson/0003-Add-support-for-microblaze.patch b/buildroot-2022.02.1/package/python-ujson/0003-Add-support-for-microblaze.patch new file mode 100644 index 00000000..14fd52eb --- /dev/null +++ b/buildroot-2022.02.1/package/python-ujson/0003-Add-support-for-microblaze.patch @@ -0,0 +1,27 @@ +From 5cc233e98b74c5c370de888198a2b35200d55468 Mon Sep 17 00:00:00 2001 +From: Florian Loitsch +Date: Sat, 12 Oct 2019 14:35:52 +0200 +Subject: [PATCH] Add support for microblaze. + +Really fixes #73. +[Retrieved (and backported) from: +https://github.com/google/double-conversion/commit/5cc233e98b74c5c370de888198a2b35200d55468] +Signed-off-by: Fabrice Fontaine +--- + Changelog | 4 ++++ + double-conversion/utils.h | 1 + + 2 files changed, 5 insertions(+) + +diff --git a/deps/idouble-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h +index 1a71df0..221467f 100644 +--- a/deps/doyble-conversion/double-conversion/utils.h ++++ b/deps/double-conversion/double-conversion/utils.h +@@ -102,6 +102,7 @@ int main(int argc, char** argv) { + defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ + defined(__riscv) || \ +- defined(__or1k__) || defined(__arc__) ++ defined(__or1k__) || defined(__arc__) || \ ++ defined(__microblaze__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(__mc68000__) + #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/buildroot-2022.02.1/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch b/buildroot-2022.02.1/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch new file mode 100644 index 00000000..8648f93c --- /dev/null +++ b/buildroot-2022.02.1/package/python-ujson/0004-Pseiderer-add-nios2-and-xtensa-001.patch @@ -0,0 +1,95 @@ +From a54561be5588ac9b16d3c20760b9b554168bb8aa Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 31 Oct 2019 21:26:27 +0100 +Subject: [PATCH] Pseiderer/add nios2 and xtensa 001 (#119) + +* double-conversion: enable for nios2 + +Nios2 supports double conversion, tested using qemu: + +./main || echo "correct" +correct +uname -a +Linux buildroot 4.19.16 #4 Sat Aug 3 14:46:48 CEST 2019 nios2 GNU/Linux + +Solves build error + +In file included from double-conversion.h:42:0, + from number_decimalquantity.cpp:19: +double-conversion-utils.h:119:2: error: #error Target architecture was not detected as supported by Double-Conversion. + #error Target architecture was not detected as supported by Double-Conversion. + +detected by buildroot autobuilders: +http://autobuild.buildroot.net/results/91e/91eaec34708d91f8a05af189243be0b7cabce31b/ + +Patch sent upstream: https://github.com/unicode-org/icu/pull/725 +Bug report: https://unicode-org.atlassian.net/browse/ICU-20751 + +[Bernd: Fixed path] +Signed-off-by: Bernd Kuhls +[Added Changelog entry] +Signed-off-by: Peter Seiderer + +* double-conversion: enable for xtensa + +Signed-off-by: Peter Seiderer + +[Retrieved (dand backported) from: +https://github.com/google/double-conversion/commit/a54561be5588ac9b16d3c20760b9b554168bb8aa] +Signed-off-by: Fabrice Fontaine +--- +Note: + +Double-conversion tested with: + + $ cat div.c +double Div_double(double x, double y) { return x / y; } + + $ cat main.c +double Div_double(double x, double y); + +int main(int argc, char** argv) { + double result = Div_double(89255.0, 1e22); + if (result == 89255e-22) { + printf("correct result %e\n", result); + return 1; + } else { + printf("wrong result %e\n", result); + return 0; + } +} + +Tested for xtensa (using qemu_xtensa_lx60_defconfig plus BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE): + + $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c div.c + $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -c main.c + $ ./host/bin/xtensa-buildroot-linux-uclibc-gcc -o main main.o div.o + + $ ./host/bin/qemu-xtensa -L staging main +correct result 8.925500e-18 +--- + Changelog | 4 ++++ + double-conversion/utils.h | 3 ++- + 2 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/deps/double-conversion/double-conversion/utils.h b/deps/double-conversion/double-conversion/utils.h +index 221467f..98ec28b 100644 +--- a/deps/double-conversion/double-conversion/utils.h ++++ b/deps/double-conversion/double-conversion/utils.h +@@ -94,6 +94,7 @@ int main(int argc, char** argv) { + defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \ + defined(__hppa__) || defined(__ia64__) || \ + defined(__mips__) || \ ++ defined(__nios2__) || \ + defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ + defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ + defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ +@@ -102,7 +103,7 @@ int main(int argc, char** argv) { + defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ + defined(__riscv) || defined(__e2k__) || \ + defined(__or1k__) || defined(__arc__) || \ +- defined(__microblaze__) ++ defined(__microblaze__) || defined(__XTENSA__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(__mc68000__) + #undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS diff --git a/buildroot-2022.02.1/package/python-ujson/Config.in b/buildroot-2022.02.1/package/python-ujson/Config.in new file mode 100644 index 00000000..7af03e64 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ujson/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_PYTHON_UJSON + bool "python-ujson" + depends on BR2_INSTALL_LIBSTDCPP + help + UltraJSON is an ultra fast JSON encoder and decoder written + in pure C with bindings for Python 3. + + https://pypi.python.org/pypi/ujson + +comment "python-ujson needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/python-ujson/python-ujson.hash b/buildroot-2022.02.1/package/python-ujson/python-ujson.hash new file mode 100644 index 00000000..fc897c38 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ujson/python-ujson.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/ujson/json +md5 9a90e2e9f1d465c2121b8d10f837f53a ujson-4.2.0.tar.gz +sha256 fffe509f556861c7343c6cba57ed05fe7bcf4b48a934a5b946ccb45428cf8883 ujson-4.2.0.tar.gz +# Locally computed sha256 checksums +sha256 6a00a8f8b4050303368b694147bde1aed9c96bdff869c181dbbf3ccb784a1501 LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-ujson/python-ujson.mk b/buildroot-2022.02.1/package/python-ujson/python-ujson.mk new file mode 100644 index 00000000..68781c61 --- /dev/null +++ b/buildroot-2022.02.1/package/python-ujson/python-ujson.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-ujson +# +################################################################################ + +PYTHON_UJSON_VERSION = 4.2.0 +PYTHON_UJSON_SOURCE = ujson-$(PYTHON_UJSON_VERSION).tar.gz +PYTHON_UJSON_SITE = https://files.pythonhosted.org/packages/df/69/e8f615e1a779e2d2d23d29d56dc55bbb1db2a828f0ef36d10bc697d63968 +PYTHON_UJSON_SETUP_TYPE = setuptools +PYTHON_UJSON_LICENSE = BSD-3-Clause +PYTHON_UJSON_LICENSE_FILES = LICENSE.txt +PYTHON_UJSON_DEPENDENCIES = host-python-setuptools-scm + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-unittest-xml-reporting/Config.in b/buildroot-2022.02.1/package/python-unittest-xml-reporting/Config.in new file mode 100644 index 00000000..43b054fa --- /dev/null +++ b/buildroot-2022.02.1/package/python-unittest-xml-reporting/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_UNITTEST_XML_REPORTING + bool "python-unittest-xml-reporting" + select BR2_PACKAGE_PYTHON3_PYEXPAT + help + unittest-based test runner with Ant/JUnit like XML + reporting. + + http://github.com/xmlrunner/unittest-xml-reporting/ diff --git a/buildroot-2022.02.1/package/python-unittest-xml-reporting/python-unittest-xml-reporting.hash b/buildroot-2022.02.1/package/python-unittest-xml-reporting/python-unittest-xml-reporting.hash new file mode 100644 index 00000000..9db3a09d --- /dev/null +++ b/buildroot-2022.02.1/package/python-unittest-xml-reporting/python-unittest-xml-reporting.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/unittest-xml-reporting/json +md5 474cd89f9609828ef6039a0f00afd9db unittest-xml-reporting-3.0.4.tar.gz +sha256 984cebba69e889401bfe3adb9088ca376b3a1f923f0590d005126c1bffd1a695 unittest-xml-reporting-3.0.4.tar.gz +# Locally calculated +sha256 0596648105bee470f9cafd62753b931efe52392096439d88e2564cf7d7cf0e68 LICENSE diff --git a/buildroot-2022.02.1/package/python-unittest-xml-reporting/python-unittest-xml-reporting.mk b/buildroot-2022.02.1/package/python-unittest-xml-reporting/python-unittest-xml-reporting.mk new file mode 100644 index 00000000..5744c50a --- /dev/null +++ b/buildroot-2022.02.1/package/python-unittest-xml-reporting/python-unittest-xml-reporting.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# python-unittest-xml-reporting +# +################################################################################ + +PYTHON_UNITTEST_XML_REPORTING_VERSION = 3.0.4 +PYTHON_UNITTEST_XML_REPORTING_SOURCE = unittest-xml-reporting-$(PYTHON_UNITTEST_XML_REPORTING_VERSION).tar.gz +PYTHON_UNITTEST_XML_REPORTING_SITE = https://files.pythonhosted.org/packages/bc/09/677086169c8e302b614de7d4a97c45c4446a382f31cc010fb31177258508 +# License file missing in Pypi tarball, download separately. Issue +# reported at +# https://github.com/xmlrunner/unittest-xml-reporting/issues/259 +PYTHON_UNITTEST_XML_REPORTING_EXTRA_DOWNLOADS = https://raw.githubusercontent.com/xmlrunner/unittest-xml-reporting/$(PYTHON_UNITTEST_XML_REPORTING_VERSION)/LICENSE +PYTHON_UNITTEST_XML_REPORTING_SETUP_TYPE = setuptools +PYTHON_UNITTEST_XML_REPORTING_LICENSE = BSD-2-Clause +PYTHON_UNITTEST_XML_REPORTING_LICENSE_FILES = LICENSE + +define PYTHON_UNITTEST_XML_REPORTING_ADD_LICENSE_FILE + $(INSTALL) -D -m 0644 $(PYTHON_UNITTEST_XML_REPORTING_DL_DIR)/LICENSE $(@D)/LICENSE +endef +PYTHON_UNITTEST_XML_REPORTING_POST_EXTRACT_HOOKS += PYTHON_UNITTEST_XML_REPORTING_ADD_LICENSE_FILE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-urllib3/Config.in b/buildroot-2022.02.1/package/python-urllib3/Config.in new file mode 100644 index 00000000..90e10b79 --- /dev/null +++ b/buildroot-2022.02.1/package/python-urllib3/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_URLLIB3 + bool "python-urllib3" + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + Python HTTP library with thread-safe connection pooling, file + post support, sanity friendly, and more. + + http://urllib3.readthedocs.org/ diff --git a/buildroot-2022.02.1/package/python-urllib3/python-urllib3.hash b/buildroot-2022.02.1/package/python-urllib3/python-urllib3.hash new file mode 100644 index 00000000..2415f241 --- /dev/null +++ b/buildroot-2022.02.1/package/python-urllib3/python-urllib3.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/urllib3/json +md5 50831ca7b19bbe2781abb0a4c2d51760 urllib3-1.26.8.tar.gz +sha256 0e7c33d9a63e7ddfcb86780aac87befc2fbddf46c58dbb487e0855f7ceec283c urllib3-1.26.8.tar.gz +# Locally computed sha256 checksums +sha256 c37bf186e27cf9dbe9619e55edfe3cea7b30091ceb3da63c7dacbe0e6d77907b LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-urllib3/python-urllib3.mk b/buildroot-2022.02.1/package/python-urllib3/python-urllib3.mk new file mode 100644 index 00000000..d94c97b4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-urllib3/python-urllib3.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-urllib3 +# +################################################################################ + +PYTHON_URLLIB3_VERSION = 1.26.8 +PYTHON_URLLIB3_SOURCE = urllib3-$(PYTHON_URLLIB3_VERSION).tar.gz +PYTHON_URLLIB3_SITE = https://files.pythonhosted.org/packages/b0/b1/7bbf5181f8e3258efae31702f5eab87d8a74a72a0aa78bc8c08c1466e243 +PYTHON_URLLIB3_LICENSE = MIT +PYTHON_URLLIB3_LICENSE_FILES = LICENSE.txt +PYTHON_URLLIB3_CPE_ID_VENDOR = python +PYTHON_URLLIB3_CPE_ID_PRODUCT = urllib3 +PYTHON_URLLIB3_SETUP_TYPE = setuptools + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-urwid/Config.in b/buildroot-2022.02.1/package/python-urwid/Config.in similarity index 100% rename from buildroot-2021.05/package/python-urwid/Config.in rename to buildroot-2022.02.1/package/python-urwid/Config.in diff --git a/buildroot-2022.02.1/package/python-urwid/python-urwid.hash b/buildroot-2022.02.1/package/python-urwid/python-urwid.hash new file mode 100644 index 00000000..3d7be017 --- /dev/null +++ b/buildroot-2022.02.1/package/python-urwid/python-urwid.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/urwid/json +md5 f7f4e6bed9ba38965dbd619520f39287 urwid-2.1.2.tar.gz +sha256 588bee9c1cb208d0906a9f73c613d2bd32c3ed3702012f51efe318a3f2127eae urwid-2.1.2.tar.gz +# Locally computed sha256 checksums +sha256 36b6d3fa47916943fd5fec313c584784946047ec1337a78b440e5992cb595f89 COPYING diff --git a/buildroot-2022.02.1/package/python-urwid/python-urwid.mk b/buildroot-2022.02.1/package/python-urwid/python-urwid.mk new file mode 100644 index 00000000..78b369ef --- /dev/null +++ b/buildroot-2022.02.1/package/python-urwid/python-urwid.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-urwid +# +################################################################################ + +PYTHON_URWID_VERSION = 2.1.2 +PYTHON_URWID_SOURCE = urwid-$(PYTHON_URWID_VERSION).tar.gz +PYTHON_URWID_SITE = https://files.pythonhosted.org/packages/94/3f/e3010f4a11c08a5690540f7ebd0b0d251cc8a456895b7e49be201f73540c +PYTHON_URWID_LICENSE = LGPL-2.1+ +PYTHON_URWID_LICENSE_FILES = COPYING +PYTHON_URWID_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-uvloop/Config.in b/buildroot-2022.02.1/package/python-uvloop/Config.in new file mode 100644 index 00000000..b3fb2750 --- /dev/null +++ b/buildroot-2022.02.1/package/python-uvloop/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_PYTHON_UVLOOP + bool "python-uvloop" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv + depends on BR2_USE_MMU # libuv + depends on !BR2_STATIC_LIBS # libuv + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv + select BR2_PACKAGE_LIBUV + select BR2_PACKAGE_PYTHON3_SSL + help + Fast implementation of asyncio event loop on top of libuv. + + http://github.com/MagicStack/uvloop + +comment "python-uvloop needs a toolchain w/ NPTL, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/python-uvloop/python-uvloop.hash b/buildroot-2022.02.1/package/python-uvloop/python-uvloop.hash new file mode 100644 index 00000000..39951b50 --- /dev/null +++ b/buildroot-2022.02.1/package/python-uvloop/python-uvloop.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/uvloop/json +md5 79f9a7f3cfe154daf0aade23555dc9d4 uvloop-0.16.0.tar.gz +sha256 f74bc20c7b67d1c27c72601c78cf95be99d5c2cdd4514502b4f3eb0933ff1228 uvloop-0.16.0.tar.gz +# Locally computed sha256 checksums +sha256 2fdc436a67077941295c58647f521fbef8f50e46db0970552fa1a4dd8ae261c6 LICENSE-APACHE +sha256 9185f3c77e9f6ef8859a6ba4c94128ac1329876be3e813aad32d7645e51ae409 LICENSE-MIT diff --git a/buildroot-2022.02.1/package/python-uvloop/python-uvloop.mk b/buildroot-2022.02.1/package/python-uvloop/python-uvloop.mk new file mode 100644 index 00000000..cfd9b1a6 --- /dev/null +++ b/buildroot-2022.02.1/package/python-uvloop/python-uvloop.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# python-uvloop +# +################################################################################ + +PYTHON_UVLOOP_VERSION = 0.16.0 +PYTHON_UVLOOP_SOURCE = uvloop-$(PYTHON_UVLOOP_VERSION).tar.gz +PYTHON_UVLOOP_SITE = https://files.pythonhosted.org/packages/ab/d9/22bbffa8f8d7e075ccdb29e8134107adfb4710feb10039f9d357db8b589c +PYTHON_UVLOOP_SETUP_TYPE = setuptools +PYTHON_UVLOOP_LICENSE = Apache-2.0, MIT +PYTHON_UVLOOP_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT +PYTHON_UVLOOP_BUILD_OPTS = build_ext --inplace --use-system-libuv +PYTHON_UVLOOP_INSTALL_TARGET_OPTS = build_ext --inplace --use-system-libuv +PYTHON_UVLOOP_DEPENDENCIES = libuv + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-validators/Config.in b/buildroot-2022.02.1/package/python-validators/Config.in new file mode 100644 index 00000000..e7003699 --- /dev/null +++ b/buildroot-2022.02.1/package/python-validators/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_VALIDATORS + bool "python-validators" + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON_DECORATOR # runtime + help + Python Data Validation for Humans. + + https://github.com/kvesteri/validators diff --git a/buildroot-2021.05/package/python-validators/python-validators.hash b/buildroot-2022.02.1/package/python-validators/python-validators.hash similarity index 100% rename from buildroot-2021.05/package/python-validators/python-validators.hash rename to buildroot-2022.02.1/package/python-validators/python-validators.hash diff --git a/buildroot-2021.05/package/python-validators/python-validators.mk b/buildroot-2022.02.1/package/python-validators/python-validators.mk similarity index 100% rename from buildroot-2021.05/package/python-validators/python-validators.mk rename to buildroot-2022.02.1/package/python-validators/python-validators.mk diff --git a/buildroot-2021.05/package/python-vcversioner/python-vcversioner.hash b/buildroot-2022.02.1/package/python-vcversioner/python-vcversioner.hash similarity index 100% rename from buildroot-2021.05/package/python-vcversioner/python-vcversioner.hash rename to buildroot-2022.02.1/package/python-vcversioner/python-vcversioner.hash diff --git a/buildroot-2021.05/package/python-vcversioner/python-vcversioner.mk b/buildroot-2022.02.1/package/python-vcversioner/python-vcversioner.mk similarity index 100% rename from buildroot-2021.05/package/python-vcversioner/python-vcversioner.mk rename to buildroot-2022.02.1/package/python-vcversioner/python-vcversioner.mk diff --git a/buildroot-2021.05/package/python-versiontools/Config.in b/buildroot-2022.02.1/package/python-versiontools/Config.in similarity index 100% rename from buildroot-2021.05/package/python-versiontools/Config.in rename to buildroot-2022.02.1/package/python-versiontools/Config.in diff --git a/buildroot-2021.05/package/python-versiontools/python-versiontools.hash b/buildroot-2022.02.1/package/python-versiontools/python-versiontools.hash similarity index 100% rename from buildroot-2021.05/package/python-versiontools/python-versiontools.hash rename to buildroot-2022.02.1/package/python-versiontools/python-versiontools.hash diff --git a/buildroot-2021.05/package/python-versiontools/python-versiontools.mk b/buildroot-2022.02.1/package/python-versiontools/python-versiontools.mk similarity index 100% rename from buildroot-2021.05/package/python-versiontools/python-versiontools.mk rename to buildroot-2022.02.1/package/python-versiontools/python-versiontools.mk diff --git a/buildroot-2021.05/package/python-visitor/Config.in b/buildroot-2022.02.1/package/python-visitor/Config.in similarity index 100% rename from buildroot-2021.05/package/python-visitor/Config.in rename to buildroot-2022.02.1/package/python-visitor/Config.in diff --git a/buildroot-2021.05/package/python-visitor/python-visitor.hash b/buildroot-2022.02.1/package/python-visitor/python-visitor.hash similarity index 100% rename from buildroot-2021.05/package/python-visitor/python-visitor.hash rename to buildroot-2022.02.1/package/python-visitor/python-visitor.hash diff --git a/buildroot-2021.05/package/python-visitor/python-visitor.mk b/buildroot-2022.02.1/package/python-visitor/python-visitor.mk similarity index 100% rename from buildroot-2021.05/package/python-visitor/python-visitor.mk rename to buildroot-2022.02.1/package/python-visitor/python-visitor.mk diff --git a/buildroot-2021.05/package/python-watchdog/Config.in b/buildroot-2022.02.1/package/python-watchdog/Config.in similarity index 100% rename from buildroot-2021.05/package/python-watchdog/Config.in rename to buildroot-2022.02.1/package/python-watchdog/Config.in diff --git a/buildroot-2022.02.1/package/python-watchdog/python-watchdog.hash b/buildroot-2022.02.1/package/python-watchdog/python-watchdog.hash new file mode 100644 index 00000000..3b633f91 --- /dev/null +++ b/buildroot-2022.02.1/package/python-watchdog/python-watchdog.hash @@ -0,0 +1,6 @@ +# md5, sha256 from https://pypi.org/pypi/watchdog/json +md5 6aac660b0f3358c63658806a0579b832 watchdog-2.1.6.tar.gz +sha256 a36e75df6c767cbf46f61a91c70b3ba71811dfa0aca4a324d9407a06a8b7a2e7 watchdog-2.1.6.tar.gz +# Locally computed sha256 checksums +sha256 02c8760f988a76e92a9d6cb525456a86f7b0fd1953870dd491de5955cb974d41 COPYING +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE diff --git a/buildroot-2022.02.1/package/python-watchdog/python-watchdog.mk b/buildroot-2022.02.1/package/python-watchdog/python-watchdog.mk new file mode 100644 index 00000000..2dafef97 --- /dev/null +++ b/buildroot-2022.02.1/package/python-watchdog/python-watchdog.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-watchdog +# +################################################################################ + +PYTHON_WATCHDOG_VERSION = 2.1.6 +PYTHON_WATCHDOG_SOURCE = watchdog-$(PYTHON_WATCHDOG_VERSION).tar.gz +PYTHON_WATCHDOG_SITE = https://files.pythonhosted.org/packages/e8/a8/fc4edd7d768361b00ea850e5310211d157df6b5a1db6148dd434e787d898 +PYTHON_WATCHDOG_SETUP_TYPE = setuptools +PYTHON_WATCHDOG_LICENSE = Apache-2.0 +PYTHON_WATCHDOG_LICENSE_FILES = LICENSE COPYING + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-wcwidth/Config.in b/buildroot-2022.02.1/package/python-wcwidth/Config.in similarity index 100% rename from buildroot-2021.05/package/python-wcwidth/Config.in rename to buildroot-2022.02.1/package/python-wcwidth/Config.in diff --git a/buildroot-2021.05/package/python-wcwidth/python-wcwidth.hash b/buildroot-2022.02.1/package/python-wcwidth/python-wcwidth.hash similarity index 100% rename from buildroot-2021.05/package/python-wcwidth/python-wcwidth.hash rename to buildroot-2022.02.1/package/python-wcwidth/python-wcwidth.hash diff --git a/buildroot-2021.05/package/python-wcwidth/python-wcwidth.mk b/buildroot-2022.02.1/package/python-wcwidth/python-wcwidth.mk similarity index 100% rename from buildroot-2021.05/package/python-wcwidth/python-wcwidth.mk rename to buildroot-2022.02.1/package/python-wcwidth/python-wcwidth.mk diff --git a/buildroot-2022.02.1/package/python-weasyprint/Config.in b/buildroot-2022.02.1/package/python-weasyprint/Config.in new file mode 100644 index 00000000..7fe99c39 --- /dev/null +++ b/buildroot-2022.02.1/package/python-weasyprint/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_PYTHON_WEASYPRINT + bool "python-weasyprint" + depends on BR2_INSTALL_LIBSTDCPP # python-brotli + select BR2_PACKAGE_PYTHON_BROTLI # runtime + select BR2_PACKAGE_PYTHON_CFFI # runtime + select BR2_PACKAGE_PYTHON_CSSSELECT2 # runtime + select BR2_PACKAGE_PYTHON_FONTTOOLS # runtime + select BR2_PACKAGE_PYTHON_HTML5LIB # runtime + select BR2_PACKAGE_PYTHON_PILLOW # runtime + select BR2_PACKAGE_PYTHON_PYDYF # runtime + select BR2_PACKAGE_PYTHON_PYPHEN # runtime + select BR2_PACKAGE_PYTHON_TINYCSS2 # runtime + select BR2_PACKAGE_PYTHON_ZOPFLI # runtime + help + The Awesome Document Factory. + + https://www.courtbouillon.org/weasyprint + +comment "python-weasyprint needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/python-weasyprint/python-weasyprint.hash b/buildroot-2022.02.1/package/python-weasyprint/python-weasyprint.hash new file mode 100644 index 00000000..8d231c50 --- /dev/null +++ b/buildroot-2022.02.1/package/python-weasyprint/python-weasyprint.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/weasyprint/json +md5 a90fd2d5a581a0e218943af3a8b64a31 weasyprint-53.4.tar.gz +sha256 10ccb17d55c73096bdf1edd3efe58cb855b07e4c307d9bad4ebc9a3f13ff4580 weasyprint-53.4.tar.gz +# Locally computed sha256 checksums +sha256 bfd14eccfa6100575460e685556b183399d4bd335904e3c9521b0116d21c54da LICENSE diff --git a/buildroot-2022.02.1/package/python-weasyprint/python-weasyprint.mk b/buildroot-2022.02.1/package/python-weasyprint/python-weasyprint.mk new file mode 100644 index 00000000..0a944825 --- /dev/null +++ b/buildroot-2022.02.1/package/python-weasyprint/python-weasyprint.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-weasyprint +# +################################################################################ + +PYTHON_WEASYPRINT_VERSION = 53.4 +PYTHON_WEASYPRINT_SOURCE = weasyprint-$(PYTHON_WEASYPRINT_VERSION).tar.gz +PYTHON_WEASYPRINT_SITE = https://files.pythonhosted.org/packages/72/25/336e274fde0e48cf9979d44667411fbcfa55d323fd7672068807b6de2f89 +PYTHON_WEASYPRINT_SETUP_TYPE = distutils +PYTHON_WEASYPRINT_LICENSE = BSD-3-Clause +PYTHON_WEASYPRINT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-web2py/Config.in b/buildroot-2022.02.1/package/python-web2py/Config.in new file mode 100644 index 00000000..bb455dfa --- /dev/null +++ b/buildroot-2022.02.1/package/python-web2py/Config.in @@ -0,0 +1,34 @@ +config BR2_PACKAGE_PYTHON_WEB2PY + bool "python-web2py" + select BR2_PACKAGE_PYTHON_PYDAL # runtime + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + select BR2_PACKAGE_PYTHON3_SQLITE # runtime + select BR2_PACKAGE_PYTHON_YATL # runtime + help + web2py is a free open source full-stack framework for rapid + development of fast, scalable, secure and portable + database-driven web-based applications. + + http://web2py.com + +if BR2_PACKAGE_PYTHON_WEB2PY + +config BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN + bool "install admin panel application" + default y + help + This option install web2py admin panel application. + It can be removed to save space on embedded systems. + +if BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN + +config BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD + string "admin panel password" + default web2py + help + Set the admin panel password. + +endif + +endif diff --git a/buildroot-2021.05/package/python-web2py/S51web2py b/buildroot-2022.02.1/package/python-web2py/S51web2py similarity index 100% rename from buildroot-2021.05/package/python-web2py/S51web2py rename to buildroot-2022.02.1/package/python-web2py/S51web2py diff --git a/buildroot-2022.02.1/package/python-web2py/python-web2py.hash b/buildroot-2022.02.1/package/python-web2py/python-web2py.hash new file mode 100644 index 00000000..2ef52b0a --- /dev/null +++ b/buildroot-2022.02.1/package/python-web2py/python-web2py.hash @@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 44556376468139de874e9c29c9ef56e60ecd5f7536c7bee46d74b1f9d4178825 python-web2py-2.21.1.tar.gz +sha256 2aae96826184a492bc799add49aed7b29036e7aba2d2294fb65053bd30fe55fe LICENSE diff --git a/buildroot-2022.02.1/package/python-web2py/python-web2py.mk b/buildroot-2022.02.1/package/python-web2py/python-web2py.mk new file mode 100644 index 00000000..3e453282 --- /dev/null +++ b/buildroot-2022.02.1/package/python-web2py/python-web2py.mk @@ -0,0 +1,76 @@ +################################################################################ +# +# python-web2py +# +################################################################################ + +PYTHON_WEB2PY_VERSION = 2.21.1 +PYTHON_WEB2PY_SITE = $(call github,web2py,web2py,v$(PYTHON_WEB2PY_VERSION)) +PYTHON_WEB2PY_LICENSE = LGPL-3.0 +PYTHON_WEB2PY_LICENSE_FILES = LICENSE +PYTHON_WEB2PY_CPE_ID_VENDOR = web2py +PYTHON_WEB2PY_CPE_ID_PRODUCT = web2py +PYTHON_WEB2PY_DEPENDENCIES = host-python3 python3 \ + host-python-pydal host-python-yatl + +PYTHON_WEB2PY_EXCLUSIONS = \ + welcome.w2p \ + applications/examples \ + applications/welcome \ + deposit \ + docs \ + examples \ + extras \ + handlers \ + scripts \ + ABOUT \ + anyserver.py \ + CHANGELOG \ + Makefile \ + MANIFEST.in \ + README.markdown \ + setup.py \ + tox.ini + +define PYTHON_WEB2PY_GENERATE_PASSWORD + $(HOST_DIR)/bin/python -c 'import os; \ + os.chdir("$(@D)"); \ + from gluon.main import save_password; \ + save_password($(BR2_PACKAGE_PYTHON_WEB2PY_PASSWORD),8000)' +endef + +ifeq ($(BR2_PACKAGE_PYTHON_WEB2PY_INSTALL_ADMIN),y) +PYTHON_WEB2PY_POST_BUILD_HOOKS += PYTHON_WEB2PY_GENERATE_PASSWORD +else +PYTHON_WEB2PY_EXCLUSIONS += applications/admin +endif + +define PYTHON_WEB2PY_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/var/www/web2py + rsync -a $(@D)/ $(TARGET_DIR)/var/www/web2py/ \ + $(addprefix --exclude=,$(PYTHON_WEB2PY_EXCLUSIONS)) +endef + +define PYTHON_WEB2PY_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/python-web2py/S51web2py \ + $(TARGET_DIR)/etc/init.d/S51web2py +endef + +define PYTHON_WEB2PY_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/python-web2py/web2py.service \ + $(TARGET_DIR)/usr/lib/systemd/system/web2py.service +endef + +# www-data user and group are used for web2py. Because these user and group +# are already set by buildroot, it is not necessary to redefine them. +# See system/skeleton/etc/passwd +# username: www-data uid: 33 +# groupname: www-data gid: 33 +# +# So, we just need to create the directories used by web2py with the right +# ownership. +define PYTHON_WEB2PY_PERMISSIONS + /var/www/web2py r 750 33 33 - - - - - +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/python-web2py/web2py.service b/buildroot-2022.02.1/package/python-web2py/web2py.service similarity index 100% rename from buildroot-2021.05/package/python-web2py/web2py.service rename to buildroot-2022.02.1/package/python-web2py/web2py.service diff --git a/buildroot-2021.05/package/python-webencodings/Config.in b/buildroot-2022.02.1/package/python-webencodings/Config.in similarity index 100% rename from buildroot-2021.05/package/python-webencodings/Config.in rename to buildroot-2022.02.1/package/python-webencodings/Config.in diff --git a/buildroot-2021.05/package/python-webencodings/python-webencodings.hash b/buildroot-2022.02.1/package/python-webencodings/python-webencodings.hash similarity index 100% rename from buildroot-2021.05/package/python-webencodings/python-webencodings.hash rename to buildroot-2022.02.1/package/python-webencodings/python-webencodings.hash diff --git a/buildroot-2021.05/package/python-webencodings/python-webencodings.mk b/buildroot-2022.02.1/package/python-webencodings/python-webencodings.mk similarity index 100% rename from buildroot-2021.05/package/python-webencodings/python-webencodings.mk rename to buildroot-2022.02.1/package/python-webencodings/python-webencodings.mk diff --git a/buildroot-2022.02.1/package/python-webob/Config.in b/buildroot-2022.02.1/package/python-webob/Config.in new file mode 100644 index 00000000..d3397587 --- /dev/null +++ b/buildroot-2022.02.1/package/python-webob/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_WEBOB + bool "python-webob" + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + WSGI request and response object. + + http://webob.org/ diff --git a/buildroot-2022.02.1/package/python-webob/python-webob.hash b/buildroot-2022.02.1/package/python-webob/python-webob.hash new file mode 100644 index 00000000..a46c1dbc --- /dev/null +++ b/buildroot-2022.02.1/package/python-webob/python-webob.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/webob/json +md5 10191c69fa5a2c00f3b9abfb8937b415 WebOb-1.8.7.tar.gz +sha256 b64ef5141be559cfade448f044fa45c2260351edcb6a8ef6b7e00c7dcef0c323 WebOb-1.8.7.tar.gz +# Locally computed sha256 checksums +sha256 27bc4919e7e9e6b6cda40644517ca74d32203e32fba89ef832aba1ed93e457b3 docs/license.txt diff --git a/buildroot-2022.02.1/package/python-webob/python-webob.mk b/buildroot-2022.02.1/package/python-webob/python-webob.mk new file mode 100644 index 00000000..11ba1044 --- /dev/null +++ b/buildroot-2022.02.1/package/python-webob/python-webob.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-webob +# +################################################################################ + +PYTHON_WEBOB_VERSION = 1.8.7 +PYTHON_WEBOB_SOURCE = WebOb-$(PYTHON_WEBOB_VERSION).tar.gz +PYTHON_WEBOB_SITE = https://files.pythonhosted.org/packages/c7/45/ee5f034fb4ebe3236fa49e5a4fcbc54444dd22ecf33079cf56f9606d479d +PYTHON_WEBOB_SETUP_TYPE = setuptools +PYTHON_WEBOB_LICENSE = MIT +PYTHON_WEBOB_LICENSE_FILES = docs/license.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-webpy/Config.in b/buildroot-2022.02.1/package/python-webpy/Config.in new file mode 100644 index 00000000..ed784095 --- /dev/null +++ b/buildroot-2022.02.1/package/python-webpy/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_WEBPY + bool "python-webpy" + select BR2_PACKAGE_PYTHON_CHEROOT # runtime + select BR2_PACKAGE_PYTHON_MARKDOWN # runtime + help + web.py is a web framework for Python that is as simple as it + is powerful. + + http://webpy.org/ diff --git a/buildroot-2021.05/package/python-webpy/python-webpy.hash b/buildroot-2022.02.1/package/python-webpy/python-webpy.hash similarity index 100% rename from buildroot-2021.05/package/python-webpy/python-webpy.hash rename to buildroot-2022.02.1/package/python-webpy/python-webpy.hash diff --git a/buildroot-2021.05/package/python-webpy/python-webpy.mk b/buildroot-2022.02.1/package/python-webpy/python-webpy.mk similarity index 100% rename from buildroot-2021.05/package/python-webpy/python-webpy.mk rename to buildroot-2022.02.1/package/python-webpy/python-webpy.mk diff --git a/buildroot-2022.02.1/package/python-websocket-client/Config.in b/buildroot-2022.02.1/package/python-websocket-client/Config.in new file mode 100644 index 00000000..519e5066 --- /dev/null +++ b/buildroot-2022.02.1/package/python-websocket-client/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT + bool "python-websocket-client" + select BR2_PACKAGE_PYTHON_SIX # runtime + select BR2_PACKAGE_PYTHON3_SSL # runtime + help + WebSocket client for python. hybi13 is supported. + + https://github.com/websocket-client/websocket-client.git diff --git a/buildroot-2021.05/package/python-websocket-client/python-websocket-client.hash b/buildroot-2022.02.1/package/python-websocket-client/python-websocket-client.hash similarity index 100% rename from buildroot-2021.05/package/python-websocket-client/python-websocket-client.hash rename to buildroot-2022.02.1/package/python-websocket-client/python-websocket-client.hash diff --git a/buildroot-2021.05/package/python-websocket-client/python-websocket-client.mk b/buildroot-2022.02.1/package/python-websocket-client/python-websocket-client.mk similarity index 100% rename from buildroot-2021.05/package/python-websocket-client/python-websocket-client.mk rename to buildroot-2022.02.1/package/python-websocket-client/python-websocket-client.mk diff --git a/buildroot-2022.02.1/package/python-websockets/Config.in b/buildroot-2022.02.1/package/python-websockets/Config.in new file mode 100644 index 00000000..60495b62 --- /dev/null +++ b/buildroot-2022.02.1/package/python-websockets/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_WEBSOCKETS + bool "python-websockets" + select BR2_PACKAGE_PYTHON3_ZLIB + select BR2_PACKAGE_PYTHON3_SSL + help + An implementation of the WebSocket Protocol (RFC 6455 & + 7692). + + https://github.com/aaugustin/websockets diff --git a/buildroot-2022.02.1/package/python-websockets/python-websockets.hash b/buildroot-2022.02.1/package/python-websockets/python-websockets.hash new file mode 100644 index 00000000..cec1d159 --- /dev/null +++ b/buildroot-2022.02.1/package/python-websockets/python-websockets.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/websockets/json +md5 ebb9e4930bf2c35cd3723be0dfa83d89 websockets-10.0.tar.gz +sha256 c4fc9a1d242317892590abe5b61a9127f1a61740477bfb121743f290b8054002 websockets-10.0.tar.gz +# Locally computed sha256 checksums +sha256 daeca11bf3608da35e546ea0c32be18958a8be1441fa3de9cbd20e4c8bc718e6 LICENSE diff --git a/buildroot-2022.02.1/package/python-websockets/python-websockets.mk b/buildroot-2022.02.1/package/python-websockets/python-websockets.mk new file mode 100644 index 00000000..9f4c5f1d --- /dev/null +++ b/buildroot-2022.02.1/package/python-websockets/python-websockets.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-websockets +# +################################################################################ + +PYTHON_WEBSOCKETS_VERSION = 10.0 +PYTHON_WEBSOCKETS_SOURCE = websockets-$(PYTHON_WEBSOCKETS_VERSION).tar.gz +PYTHON_WEBSOCKETS_SITE = https://files.pythonhosted.org/packages/1c/f4/61aee1eb4baadf8477fb7f3bc6b04a50fe683ef8ad2f60282806821e4b3b +PYTHON_WEBSOCKETS_SETUP_TYPE = setuptools +PYTHON_WEBSOCKETS_LICENSE = BSD-3-Clause +PYTHON_WEBSOCKETS_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-werkzeug/Config.in b/buildroot-2022.02.1/package/python-werkzeug/Config.in new file mode 100644 index 00000000..27b2fdea --- /dev/null +++ b/buildroot-2022.02.1/package/python-werkzeug/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_WERKZEUG + bool "python-werkzeug" + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + Werkzeug is a WSGI utility library for Python. It's widely + used and BSD licensed. + + http://werkzeug.pocoo.org/ diff --git a/buildroot-2021.05/package/python-werkzeug/python-werkzeug.hash b/buildroot-2022.02.1/package/python-werkzeug/python-werkzeug.hash similarity index 100% rename from buildroot-2021.05/package/python-werkzeug/python-werkzeug.hash rename to buildroot-2022.02.1/package/python-werkzeug/python-werkzeug.hash diff --git a/buildroot-2021.05/package/python-werkzeug/python-werkzeug.mk b/buildroot-2022.02.1/package/python-werkzeug/python-werkzeug.mk similarity index 100% rename from buildroot-2021.05/package/python-werkzeug/python-werkzeug.mk rename to buildroot-2022.02.1/package/python-werkzeug/python-werkzeug.mk diff --git a/buildroot-2022.02.1/package/python-whoosh/Config.in b/buildroot-2022.02.1/package/python-whoosh/Config.in new file mode 100644 index 00000000..e1fb1449 --- /dev/null +++ b/buildroot-2022.02.1/package/python-whoosh/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_WHOOSH + bool "python-whoosh" + select BR2_PACKAGE_PYTHON3_ZLIB # runtime + help + Whoosh is a fast, pure-Python full text indexing, search and + spell checking library. + + https://pypi.python.org/pypi/Whoosh/ diff --git a/buildroot-2021.05/package/python-whoosh/python-whoosh.hash b/buildroot-2022.02.1/package/python-whoosh/python-whoosh.hash similarity index 100% rename from buildroot-2021.05/package/python-whoosh/python-whoosh.hash rename to buildroot-2022.02.1/package/python-whoosh/python-whoosh.hash diff --git a/buildroot-2021.05/package/python-whoosh/python-whoosh.mk b/buildroot-2022.02.1/package/python-whoosh/python-whoosh.mk similarity index 100% rename from buildroot-2021.05/package/python-whoosh/python-whoosh.mk rename to buildroot-2022.02.1/package/python-whoosh/python-whoosh.mk diff --git a/buildroot-2021.05/package/python-wrapt/Config.in b/buildroot-2022.02.1/package/python-wrapt/Config.in similarity index 100% rename from buildroot-2021.05/package/python-wrapt/Config.in rename to buildroot-2022.02.1/package/python-wrapt/Config.in diff --git a/buildroot-2022.02.1/package/python-wrapt/python-wrapt.hash b/buildroot-2022.02.1/package/python-wrapt/python-wrapt.hash new file mode 100644 index 00000000..63dae991 --- /dev/null +++ b/buildroot-2022.02.1/package/python-wrapt/python-wrapt.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/wrapt/json +md5 6d56ed0de4336462a73350341462f45e wrapt-1.12.1.tar.gz +sha256 b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7 wrapt-1.12.1.tar.gz +# Locally computed sha256 checksums +sha256 e37c13f84fb3c9a54161b0fcf75f4d302fb86ce42cd6106147bda79e4197d9f2 LICENSE diff --git a/buildroot-2022.02.1/package/python-wrapt/python-wrapt.mk b/buildroot-2022.02.1/package/python-wrapt/python-wrapt.mk new file mode 100644 index 00000000..32d8a24c --- /dev/null +++ b/buildroot-2022.02.1/package/python-wrapt/python-wrapt.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-wrapt +# +################################################################################ + +PYTHON_WRAPT_VERSION = 1.12.1 +PYTHON_WRAPT_SOURCE = wrapt-$(PYTHON_WRAPT_VERSION).tar.gz +PYTHON_WRAPT_SITE = https://files.pythonhosted.org/packages/82/f7/e43cefbe88c5fd371f4cf0cf5eb3feccd07515af9fd6cf7dbf1d1793a797 +PYTHON_WRAPT_SETUP_TYPE = distutils +PYTHON_WRAPT_LICENSE = BSD-2-Clause +PYTHON_WRAPT_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-ws4py/0001-Adjust-ws4py-for-Python-3.7-syntax.patch b/buildroot-2022.02.1/package/python-ws4py/0001-Adjust-ws4py-for-Python-3.7-syntax.patch new file mode 100644 index 00000000..12dac30d --- /dev/null +++ b/buildroot-2022.02.1/package/python-ws4py/0001-Adjust-ws4py-for-Python-3.7-syntax.patch @@ -0,0 +1,55 @@ +From dfe6f65b7078315c32cebb727e9c47ead7603475 Mon Sep 17 00:00:00 2001 +From: Asaf Kahlon +Date: Sun, 13 Oct 2019 16:44:44 +0300 +Subject: [PATCH] Adjust ws4py for Python 3.7 syntax + +Since Python 3.7, "async" has become a keyword and cannot be used. +Thus, instead of asyncio.async we will use asyncio.ensure_future. + +There's also a pull request with this change: +https://github.com/Lawouach/WebSocket-for-Python/pull/245 + +Signed-off-by: Asaf Kahlon +--- + ws4py/async_websocket.py | 4 ++-- + ws4py/server/tulipserver.py | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ws4py/async_websocket.py b/ws4py/async_websocket.py +index 9e2a4c7..ea296b4 100644 +--- a/ws4py/async_websocket.py ++++ b/ws4py/async_websocket.py +@@ -84,7 +84,7 @@ class WebSocket(_WebSocket): + def closeit(): + yield from self.proto.writer.drain() + self.proto.writer.close() +- asyncio.async(closeit()) ++ asyncio.ensure_future(closeit()) + + def _write(self, data): + """ +@@ -94,7 +94,7 @@ class WebSocket(_WebSocket): + def sendit(data): + self.proto.writer.write(data) + yield from self.proto.writer.drain() +- asyncio.async(sendit(data)) ++ asyncio.ensure_future(sendit(data)) + + @asyncio.coroutine + def run(self): +diff --git a/ws4py/server/tulipserver.py b/ws4py/server/tulipserver.py +index 2786c16..85312a2 100644 +--- a/ws4py/server/tulipserver.py ++++ b/ws4py/server/tulipserver.py +@@ -40,7 +40,7 @@ class WebSocketProtocol(asyncio.StreamReaderProtocol): + #self.stream.set_transport(transport) + asyncio.StreamReaderProtocol.connection_made(self, transport) + # Let make it concurrent for others to tag along +- f = asyncio.async(self.handle_initial_handshake()) ++ f = asyncio.ensure_future(self.handle_initial_handshake()) + f.add_done_callback(self.terminated) + + @property +-- +2.20.1 + diff --git a/buildroot-2021.05/package/python-ws4py/Config.in b/buildroot-2022.02.1/package/python-ws4py/Config.in similarity index 100% rename from buildroot-2021.05/package/python-ws4py/Config.in rename to buildroot-2022.02.1/package/python-ws4py/Config.in diff --git a/buildroot-2021.05/package/python-ws4py/python-ws4py.hash b/buildroot-2022.02.1/package/python-ws4py/python-ws4py.hash similarity index 100% rename from buildroot-2021.05/package/python-ws4py/python-ws4py.hash rename to buildroot-2022.02.1/package/python-ws4py/python-ws4py.hash diff --git a/buildroot-2021.05/package/python-ws4py/python-ws4py.mk b/buildroot-2022.02.1/package/python-ws4py/python-ws4py.mk similarity index 100% rename from buildroot-2021.05/package/python-ws4py/python-ws4py.mk rename to buildroot-2022.02.1/package/python-ws4py/python-ws4py.mk diff --git a/buildroot-2021.05/package/python-wsaccel/Config.in b/buildroot-2022.02.1/package/python-wsaccel/Config.in similarity index 100% rename from buildroot-2021.05/package/python-wsaccel/Config.in rename to buildroot-2022.02.1/package/python-wsaccel/Config.in diff --git a/buildroot-2022.02.1/package/python-wsaccel/python-wsaccel.hash b/buildroot-2022.02.1/package/python-wsaccel/python-wsaccel.hash new file mode 100644 index 00000000..9d0002d4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-wsaccel/python-wsaccel.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/wsaccel/json +md5 973168711818dd98b8b28a4c2db77a27 wsaccel-0.6.3.tar.gz +sha256 fdb27866bb6b6e7a29e45222778ff97938782a0ce92eff07dfb20af8fb9301c4 wsaccel-0.6.3.tar.gz +# Locally computed sha256 checksums +sha256 b6982974cb838b985b54b663d1780d280735086249c2e28015f25dd455df25da LICENSE diff --git a/buildroot-2022.02.1/package/python-wsaccel/python-wsaccel.mk b/buildroot-2022.02.1/package/python-wsaccel/python-wsaccel.mk new file mode 100644 index 00000000..7c78951f --- /dev/null +++ b/buildroot-2022.02.1/package/python-wsaccel/python-wsaccel.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-wsaccel +# +################################################################################ + +PYTHON_WSACCEL_VERSION = 0.6.3 +PYTHON_WSACCEL_SOURCE = wsaccel-$(PYTHON_WSACCEL_VERSION).tar.gz +PYTHON_WSACCEL_SITE = https://files.pythonhosted.org/packages/f5/d1/3e99875a764d0d6ec94a74977ed72dd3022a7f31d036622da9cff8fc072f +PYTHON_WSACCEL_LICENSE = Apache-2.0 +PYTHON_WSACCEL_LICENSE_FILES = LICENSE +PYTHON_WSACCEL_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-wtforms/Config.in b/buildroot-2022.02.1/package/python-wtforms/Config.in similarity index 100% rename from buildroot-2021.05/package/python-wtforms/Config.in rename to buildroot-2022.02.1/package/python-wtforms/Config.in diff --git a/buildroot-2021.05/package/python-wtforms/python-wtforms.hash b/buildroot-2022.02.1/package/python-wtforms/python-wtforms.hash similarity index 100% rename from buildroot-2021.05/package/python-wtforms/python-wtforms.hash rename to buildroot-2022.02.1/package/python-wtforms/python-wtforms.hash diff --git a/buildroot-2021.05/package/python-wtforms/python-wtforms.mk b/buildroot-2022.02.1/package/python-wtforms/python-wtforms.mk similarity index 100% rename from buildroot-2021.05/package/python-wtforms/python-wtforms.mk rename to buildroot-2022.02.1/package/python-wtforms/python-wtforms.mk diff --git a/buildroot-2021.05/package/python-xlib/Config.in b/buildroot-2022.02.1/package/python-xlib/Config.in similarity index 100% rename from buildroot-2021.05/package/python-xlib/Config.in rename to buildroot-2022.02.1/package/python-xlib/Config.in diff --git a/buildroot-2021.05/package/python-xlib/python-xlib.hash b/buildroot-2022.02.1/package/python-xlib/python-xlib.hash similarity index 100% rename from buildroot-2021.05/package/python-xlib/python-xlib.hash rename to buildroot-2022.02.1/package/python-xlib/python-xlib.hash diff --git a/buildroot-2021.05/package/python-xlib/python-xlib.mk b/buildroot-2022.02.1/package/python-xlib/python-xlib.mk similarity index 100% rename from buildroot-2021.05/package/python-xlib/python-xlib.mk rename to buildroot-2022.02.1/package/python-xlib/python-xlib.mk diff --git a/buildroot-2022.02.1/package/python-xlrd/Config.in b/buildroot-2022.02.1/package/python-xlrd/Config.in new file mode 100644 index 00000000..264ee93e --- /dev/null +++ b/buildroot-2022.02.1/package/python-xlrd/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_PYTHON_XLRD + bool "python-xlrd" + select BR2_PACKAGE_PYTHON3_PYEXPAT + select BR2_PACKAGE_PYTHON3_ZLIB + help + Library for developers to extract data from Microsoft + Excel(tm) spreadsheet files. + + http://www.python-excel.org/ diff --git a/buildroot-2021.05/package/python-xlrd/Config.in.host b/buildroot-2022.02.1/package/python-xlrd/Config.in.host similarity index 100% rename from buildroot-2021.05/package/python-xlrd/Config.in.host rename to buildroot-2022.02.1/package/python-xlrd/Config.in.host diff --git a/buildroot-2022.02.1/package/python-xlrd/python-xlrd.hash b/buildroot-2022.02.1/package/python-xlrd/python-xlrd.hash new file mode 100644 index 00000000..003ccc9a --- /dev/null +++ b/buildroot-2022.02.1/package/python-xlrd/python-xlrd.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/xlrd/json +md5 ae3f951c857a490d432f0a7d722352bf xlrd-2.0.1.tar.gz +sha256 f72f148f54442c6b056bf931dbc34f986fd0c3b0b6b5a58d013c9aef274d0c88 xlrd-2.0.1.tar.gz +# Locally computed sha256 checksums +sha256 b5a5dbce60265e305a815a6cb83ed07f24519d8ba644f2a307994488bced8815 LICENSE diff --git a/buildroot-2022.02.1/package/python-xlrd/python-xlrd.mk b/buildroot-2022.02.1/package/python-xlrd/python-xlrd.mk new file mode 100644 index 00000000..1f280bd4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-xlrd/python-xlrd.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# python-xlrd +# +################################################################################ + +PYTHON_XLRD_VERSION = 2.0.1 +PYTHON_XLRD_SOURCE = xlrd-$(PYTHON_XLRD_VERSION).tar.gz +PYTHON_XLRD_SITE = https://files.pythonhosted.org/packages/a6/b3/19a2540d21dea5f908304375bd43f5ed7a4c28a370dc9122c565423e6b44 +PYTHON_XLRD_SETUP_TYPE = setuptools +PYTHON_XLRD_LICENSE = BSD-3-Clause +PYTHON_XLRD_LICENSE_FILES = LICENSE + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2022.02.1/package/python-xlsxwriter/Config.in b/buildroot-2022.02.1/package/python-xlsxwriter/Config.in new file mode 100644 index 00000000..59fe3ba9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-xlsxwriter/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_XLSXWRITER + bool "python-xlsxwriter" + select BR2_PACKAGE_PYTHON3_ZLIB + help + A Python module for creating Excel XLSX files. + + https://github.com/jmcnamara/XlsxWriter diff --git a/buildroot-2022.02.1/package/python-xlsxwriter/python-xlsxwriter.hash b/buildroot-2022.02.1/package/python-xlsxwriter/python-xlsxwriter.hash new file mode 100644 index 00000000..7c969806 --- /dev/null +++ b/buildroot-2022.02.1/package/python-xlsxwriter/python-xlsxwriter.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/xlsxwriter/json +md5 5f759dccf222e8f2a9924e90c4afaf84 XlsxWriter-3.0.1.tar.gz +sha256 3f39bf581c55f3ad1438bc170d7f4c4649cee8b6b7a80d21f79508118eeea52a XlsxWriter-3.0.1.tar.gz +# Locally computed sha256 checksums +sha256 8fbb9b28ef0afac1c7d999102fd2634f347448d069c8c821976f3dbd2b3f812c LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-xlsxwriter/python-xlsxwriter.mk b/buildroot-2022.02.1/package/python-xlsxwriter/python-xlsxwriter.mk new file mode 100644 index 00000000..4c8a5120 --- /dev/null +++ b/buildroot-2022.02.1/package/python-xlsxwriter/python-xlsxwriter.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-xlsxwriter +# +################################################################################ + +PYTHON_XLSXWRITER_VERSION = 3.0.1 +PYTHON_XLSXWRITER_SOURCE = XlsxWriter-$(PYTHON_XLSXWRITER_VERSION).tar.gz +PYTHON_XLSXWRITER_SITE = https://files.pythonhosted.org/packages/5d/36/e943d07af9d26cc2f11861955dbf0031e891f77f3d55f70217fd6a0f4d9f +PYTHON_XLSXWRITER_SETUP_TYPE = setuptools +PYTHON_XLSXWRITER_LICENSE = BSD-2-Clause +PYTHON_XLSXWRITER_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-xlutils/Config.in b/buildroot-2022.02.1/package/python-xlutils/Config.in similarity index 100% rename from buildroot-2021.05/package/python-xlutils/Config.in rename to buildroot-2022.02.1/package/python-xlutils/Config.in diff --git a/buildroot-2021.05/package/python-xlutils/python-xlutils.hash b/buildroot-2022.02.1/package/python-xlutils/python-xlutils.hash similarity index 100% rename from buildroot-2021.05/package/python-xlutils/python-xlutils.hash rename to buildroot-2022.02.1/package/python-xlutils/python-xlutils.hash diff --git a/buildroot-2021.05/package/python-xlutils/python-xlutils.mk b/buildroot-2022.02.1/package/python-xlutils/python-xlutils.mk similarity index 100% rename from buildroot-2021.05/package/python-xlutils/python-xlutils.mk rename to buildroot-2022.02.1/package/python-xlutils/python-xlutils.mk diff --git a/buildroot-2021.05/package/python-xlwt/Config.in b/buildroot-2022.02.1/package/python-xlwt/Config.in similarity index 100% rename from buildroot-2021.05/package/python-xlwt/Config.in rename to buildroot-2022.02.1/package/python-xlwt/Config.in diff --git a/buildroot-2021.05/package/python-xlwt/python-xlwt.hash b/buildroot-2022.02.1/package/python-xlwt/python-xlwt.hash similarity index 100% rename from buildroot-2021.05/package/python-xlwt/python-xlwt.hash rename to buildroot-2022.02.1/package/python-xlwt/python-xlwt.hash diff --git a/buildroot-2021.05/package/python-xlwt/python-xlwt.mk b/buildroot-2022.02.1/package/python-xlwt/python-xlwt.mk similarity index 100% rename from buildroot-2021.05/package/python-xlwt/python-xlwt.mk rename to buildroot-2022.02.1/package/python-xlwt/python-xlwt.mk diff --git a/buildroot-2022.02.1/package/python-xmljson/Config.in b/buildroot-2022.02.1/package/python-xmljson/Config.in new file mode 100644 index 00000000..486f3443 --- /dev/null +++ b/buildroot-2022.02.1/package/python-xmljson/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_XMLJSON + bool "python-xmljson" + help + Converts XML into JSON/Python dicts/arrays and vice-versa. + + https://github.com/sanand0/xmljson diff --git a/buildroot-2022.02.1/package/python-xmljson/python-xmljson.hash b/buildroot-2022.02.1/package/python-xmljson/python-xmljson.hash new file mode 100644 index 00000000..245a74a3 --- /dev/null +++ b/buildroot-2022.02.1/package/python-xmljson/python-xmljson.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/xmljson/json +md5 fc4df2390ad209928ee4311a3540cb17 xmljson-0.2.1.tar.gz +sha256 b4158e66aa1e62ee39f7f80eb2fe4f767670ba3c0d5de9804420dc53427fdec8 xmljson-0.2.1.tar.gz +# Locally computed sha256 checksums +sha256 5ce42ba7d76e81428bdacef83658eb6213dbd1ad4a3b6d380bb6e0e8c73f0fb7 LICENSE diff --git a/buildroot-2022.02.1/package/python-xmljson/python-xmljson.mk b/buildroot-2022.02.1/package/python-xmljson/python-xmljson.mk new file mode 100644 index 00000000..913dce26 --- /dev/null +++ b/buildroot-2022.02.1/package/python-xmljson/python-xmljson.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-xmljson +# +################################################################################ + +PYTHON_XMLJSON_VERSION = 0.2.1 +PYTHON_XMLJSON_SOURCE = xmljson-$(PYTHON_XMLJSON_VERSION).tar.gz +PYTHON_XMLJSON_SITE = https://files.pythonhosted.org/packages/e8/6f/d9f109ba19be510fd3098bcb72143c67ca6743cedb48ac75aef05ddfe960 +PYTHON_XMLJSON_SETUP_TYPE = setuptools +PYTHON_XMLJSON_LICENSE = MIT +PYTHON_XMLJSON_LICENSE_FILES = LICENSE + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-xmltodict/Config.in b/buildroot-2022.02.1/package/python-xmltodict/Config.in new file mode 100644 index 00000000..af2bbbf4 --- /dev/null +++ b/buildroot-2022.02.1/package/python-xmltodict/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_XMLTODICT + bool "python-xmltodict" + select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime + help + Makes working with XML feel like you are working with JSON. + + https://github.com/martinblech/xmltodict diff --git a/buildroot-2021.05/package/python-xmltodict/python-xmltodict.hash b/buildroot-2022.02.1/package/python-xmltodict/python-xmltodict.hash similarity index 100% rename from buildroot-2021.05/package/python-xmltodict/python-xmltodict.hash rename to buildroot-2022.02.1/package/python-xmltodict/python-xmltodict.hash diff --git a/buildroot-2021.05/package/python-xmltodict/python-xmltodict.mk b/buildroot-2022.02.1/package/python-xmltodict/python-xmltodict.mk similarity index 100% rename from buildroot-2021.05/package/python-xmltodict/python-xmltodict.mk rename to buildroot-2022.02.1/package/python-xmltodict/python-xmltodict.mk diff --git a/buildroot-2021.05/package/python-xmodem/Config.in b/buildroot-2022.02.1/package/python-xmodem/Config.in similarity index 100% rename from buildroot-2021.05/package/python-xmodem/Config.in rename to buildroot-2022.02.1/package/python-xmodem/Config.in diff --git a/buildroot-2021.05/package/python-xmodem/python-xmodem.hash b/buildroot-2022.02.1/package/python-xmodem/python-xmodem.hash similarity index 100% rename from buildroot-2021.05/package/python-xmodem/python-xmodem.hash rename to buildroot-2022.02.1/package/python-xmodem/python-xmodem.hash diff --git a/buildroot-2021.05/package/python-xmodem/python-xmodem.mk b/buildroot-2022.02.1/package/python-xmodem/python-xmodem.mk similarity index 100% rename from buildroot-2021.05/package/python-xmodem/python-xmodem.mk rename to buildroot-2022.02.1/package/python-xmodem/python-xmodem.mk diff --git a/buildroot-2022.02.1/package/python-yarl/Config.in b/buildroot-2022.02.1/package/python-yarl/Config.in new file mode 100644 index 00000000..84e14ce9 --- /dev/null +++ b/buildroot-2022.02.1/package/python-yarl/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_YARL + bool "python-yarl" + select BR2_PACKAGE_PYTHON_MULTIDICT + select BR2_PACKAGE_PYTHON_IDNA + help + Yet another URL library. + + http://yarl.readthedocs.io/ diff --git a/buildroot-2022.02.1/package/python-yarl/python-yarl.hash b/buildroot-2022.02.1/package/python-yarl/python-yarl.hash new file mode 100644 index 00000000..bf971e9a --- /dev/null +++ b/buildroot-2022.02.1/package/python-yarl/python-yarl.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/yarl/json +md5 acd3eb25a9c46b10a699a3bee5fb9777 yarl-1.7.2.tar.gz +sha256 45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd yarl-1.7.2.tar.gz +# Locally computed sha256 checksums +sha256 56d6ac6c8105c0a51304c21db060e361af9a8ea0af9a75c239c28b5d13693838 LICENSE diff --git a/buildroot-2022.02.1/package/python-yarl/python-yarl.mk b/buildroot-2022.02.1/package/python-yarl/python-yarl.mk new file mode 100644 index 00000000..175aaa7a --- /dev/null +++ b/buildroot-2022.02.1/package/python-yarl/python-yarl.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-yarl +# +################################################################################ + +PYTHON_YARL_VERSION = 1.7.2 +PYTHON_YARL_SOURCE = yarl-$(PYTHON_YARL_VERSION).tar.gz +PYTHON_YARL_SITE = https://files.pythonhosted.org/packages/f6/da/46d1b3d69a9a0835dabf9d59c7eb0f1600599edd421a4c5a15ab09f527e0 +PYTHON_YARL_LICENSE = Apache-2.0 +PYTHON_YARL_LICENSE_FILES = LICENSE +PYTHON_YARL_SETUP_TYPE = setuptools + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/python-yatl/Config.in b/buildroot-2022.02.1/package/python-yatl/Config.in similarity index 100% rename from buildroot-2021.05/package/python-yatl/Config.in rename to buildroot-2022.02.1/package/python-yatl/Config.in diff --git a/buildroot-2022.02.1/package/python-yatl/python-yatl.hash b/buildroot-2022.02.1/package/python-yatl/python-yatl.hash new file mode 100644 index 00000000..8ce192bf --- /dev/null +++ b/buildroot-2022.02.1/package/python-yatl/python-yatl.hash @@ -0,0 +1,3 @@ +# md5, sha256 from https://pypi.org/pypi/yatl/json +md5 551136eba4c5551c01b051341b190641 yatl-20211217.1.tar.gz +sha256 d22bf7abe40d9bdd16bd15824d2df65e65e405df6ecb8601fdc7c233bf6b3004 yatl-20211217.1.tar.gz diff --git a/buildroot-2022.02.1/package/python-yatl/python-yatl.mk b/buildroot-2022.02.1/package/python-yatl/python-yatl.mk new file mode 100644 index 00000000..12a80398 --- /dev/null +++ b/buildroot-2022.02.1/package/python-yatl/python-yatl.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-yatl +# +################################################################################ + +PYTHON_YATL_VERSION = 20211217.1 +PYTHON_YATL_SOURCE = yatl-$(PYTHON_YATL_VERSION).tar.gz +PYTHON_YATL_SITE = https://files.pythonhosted.org/packages/03/05/0be8164e8151fd8c96caeb2560f955dc2dc1a969f0868f48c046cd863fe6 +PYTHON_YATL_SETUP_TYPE = setuptools +PYTHON_YATL_LICENSE = BSD-3-Clause + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/python-zc-lockfile/Config.in b/buildroot-2022.02.1/package/python-zc-lockfile/Config.in similarity index 100% rename from buildroot-2021.05/package/python-zc-lockfile/Config.in rename to buildroot-2022.02.1/package/python-zc-lockfile/Config.in diff --git a/buildroot-2021.05/package/python-zc-lockfile/python-zc-lockfile.hash b/buildroot-2022.02.1/package/python-zc-lockfile/python-zc-lockfile.hash similarity index 100% rename from buildroot-2021.05/package/python-zc-lockfile/python-zc-lockfile.hash rename to buildroot-2022.02.1/package/python-zc-lockfile/python-zc-lockfile.hash diff --git a/buildroot-2021.05/package/python-zc-lockfile/python-zc-lockfile.mk b/buildroot-2022.02.1/package/python-zc-lockfile/python-zc-lockfile.mk similarity index 100% rename from buildroot-2021.05/package/python-zc-lockfile/python-zc-lockfile.mk rename to buildroot-2022.02.1/package/python-zc-lockfile/python-zc-lockfile.mk diff --git a/buildroot-2022.02.1/package/python-zeroconf/Config.in b/buildroot-2022.02.1/package/python-zeroconf/Config.in new file mode 100644 index 00000000..1570674f --- /dev/null +++ b/buildroot-2022.02.1/package/python-zeroconf/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_PYTHON_ZEROCONF + bool "python-zeroconf" + select BR2_PACKAGE_PYTHON_IFADDR # runtime + help + Pure Python Multicast DNS Service Discovery Library + (Bonjour/Avahi compatible). + + https://github.com/jstasiak/python-zeroconf diff --git a/buildroot-2021.05/package/python-zeroconf/python-zeroconf.hash b/buildroot-2022.02.1/package/python-zeroconf/python-zeroconf.hash similarity index 100% rename from buildroot-2021.05/package/python-zeroconf/python-zeroconf.hash rename to buildroot-2022.02.1/package/python-zeroconf/python-zeroconf.hash diff --git a/buildroot-2021.05/package/python-zeroconf/python-zeroconf.mk b/buildroot-2022.02.1/package/python-zeroconf/python-zeroconf.mk similarity index 100% rename from buildroot-2021.05/package/python-zeroconf/python-zeroconf.mk rename to buildroot-2022.02.1/package/python-zeroconf/python-zeroconf.mk diff --git a/buildroot-2021.05/package/python-zope-interface/Config.in b/buildroot-2022.02.1/package/python-zope-interface/Config.in similarity index 100% rename from buildroot-2021.05/package/python-zope-interface/Config.in rename to buildroot-2022.02.1/package/python-zope-interface/Config.in diff --git a/buildroot-2022.02.1/package/python-zope-interface/python-zope-interface.hash b/buildroot-2022.02.1/package/python-zope-interface/python-zope-interface.hash new file mode 100644 index 00000000..f7fa673e --- /dev/null +++ b/buildroot-2022.02.1/package/python-zope-interface/python-zope-interface.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/zope-interface/json +md5 c58b31da83449631efb499de13c68c6a zope.interface-5.4.0.tar.gz +sha256 5dba5f530fec3f0988d83b78cc591b58c0b6eb8431a85edd1569a0539a8a5a0e zope.interface-5.4.0.tar.gz +# Locally computed sha256 checksums +sha256 3e671db11df687516cc1db5b3d65e4aa383eaca3c20cea3faf53a0f7335d0a3c LICENSE.txt diff --git a/buildroot-2022.02.1/package/python-zope-interface/python-zope-interface.mk b/buildroot-2022.02.1/package/python-zope-interface/python-zope-interface.mk new file mode 100644 index 00000000..beacfb4f --- /dev/null +++ b/buildroot-2022.02.1/package/python-zope-interface/python-zope-interface.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# python-zope-interface +# +################################################################################ + +PYTHON_ZOPE_INTERFACE_VERSION = 5.4.0 +PYTHON_ZOPE_INTERFACE_SOURCE = zope.interface-$(PYTHON_ZOPE_INTERFACE_VERSION).tar.gz +PYTHON_ZOPE_INTERFACE_SITE = https://files.pythonhosted.org/packages/ae/58/e0877f58daa69126a5fb325d6df92b20b77431cd281e189c5ec42b722f58 +PYTHON_ZOPE_INTERFACE_SETUP_TYPE = setuptools +PYTHON_ZOPE_INTERFACE_LICENSE = ZPL-2.1 +PYTHON_ZOPE_INTERFACE_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python-zopfli/Config.in b/buildroot-2022.02.1/package/python-zopfli/Config.in new file mode 100644 index 00000000..0b1ebca8 --- /dev/null +++ b/buildroot-2022.02.1/package/python-zopfli/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_ZOPFLI + bool "python-zopfli" + help + Zopfli module for python. + + https://github.com/fonttools/py-zopfli diff --git a/buildroot-2022.02.1/package/python-zopfli/python-zopfli.hash b/buildroot-2022.02.1/package/python-zopfli/python-zopfli.hash new file mode 100644 index 00000000..92b51bdf --- /dev/null +++ b/buildroot-2022.02.1/package/python-zopfli/python-zopfli.hash @@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/zopfli/json +md5 f66b6f4132533b9b0ab8b0af757237bf zopfli-0.1.9.zip +sha256 78de3cc08a8efaa8013d61528907d91ac4d6cc014ffd8a41cc10ee75e9e60d7b zopfli-0.1.9.zip +# Locally computed sha256 checksums +sha256 018b1cb87efdf7a04c2fcc13d57ed63f62149113fb207b27ea13430d64f13513 COPYING diff --git a/buildroot-2022.02.1/package/python-zopfli/python-zopfli.mk b/buildroot-2022.02.1/package/python-zopfli/python-zopfli.mk new file mode 100644 index 00000000..95a0067b --- /dev/null +++ b/buildroot-2022.02.1/package/python-zopfli/python-zopfli.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# python-zopfli +# +################################################################################ + +PYTHON_ZOPFLI_VERSION = 0.1.9 +PYTHON_ZOPFLI_SOURCE = zopfli-$(PYTHON_ZOPFLI_VERSION).zip +PYTHON_ZOPFLI_SITE = https://files.pythonhosted.org/packages/10/7d/278fd896401b0ef76e06cd42c3ce1541572d83b1c713b6786795c60a1bbe +PYTHON_ZOPFLI_SETUP_TYPE = setuptools +PYTHON_ZOPFLI_LICENSE = Apache-2.0 +PYTHON_ZOPFLI_LICENSE_FILES = COPYING +PYTHON_ZOPFLI_DEPENDENCIES = host-python-setuptools-scm + +define PYTHON_ZOPFLI_EXTRACT_CMDS + $(UNZIP) -d $(@D) $(PYTHON_ZOPFLI_DL_DIR)/$(PYTHON_ZOPFLI_SOURCE) + mv $(@D)/zopfli-$(PYTHON_ZOPFLI_VERSION)/* $(@D) + $(RM) -r $(@D)/zopfli-$(PYTHON_ZOPFLI_VERSION) +endef + +$(eval $(python-package)) diff --git a/buildroot-2022.02.1/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch b/buildroot-2022.02.1/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch new file mode 100644 index 00000000..d3b53689 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0001-Make-the-build-of-pyc-files-conditional.patch @@ -0,0 +1,56 @@ +From 322724e166d7ec0393aec577c12fdf6ef2b61e1d Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 22 Feb 2017 16:21:31 -0800 +Subject: [PATCH] Make the build of pyc files conditional + +This commit adds a new configure option --disable-pyc-build to disable +the compilation of pyc. + +Signed-off-by: Thomas Petazzoni +[ Andrey Smrinov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +--- + Makefile.pre.in | 2 ++ + configure.ac | 6 ++++++ + 2 files changed, 8 insertions(+) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index 77f91e72b1..0c809f3d8a 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1600,6 +1600,7 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c + $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ + $(DESTDIR)$(LIBDEST)/distutils/tests ; \ + fi ++ifeq (@PYC_BUILD@,yes) + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ + $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ + -j0 -d $(LIBDEST) -f \ +@@ -1627,6 +1628,7 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c + $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \ + -j0 -d $(LIBDEST)/site-packages -f \ + -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages ++endif + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ + $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ +diff --git a/configure.ac b/configure.ac +index d60f05251a..1ee5a09588 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1110,6 +1110,12 @@ fi + + AC_MSG_CHECKING(LDLIBRARY) + ++AC_SUBST(PYC_BUILD) ++ ++AC_ARG_ENABLE(pyc-build, ++ AS_HELP_STRING([--disable-pyc-build], [disable build of pyc files]), ++ [ PYC_BUILD="${enableval}" ], [ PYC_BUILD=yes ]) ++ + # MacOSX framework builds need more magic. LDLIBRARY is the dynamic + # library that we build, but we do not want to link against it (we + # will find it with a -framework option). For this reason there is an +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch b/buildroot-2022.02.1/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch new file mode 100644 index 00000000..411b8dae --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch @@ -0,0 +1,27 @@ +From 72e20220f3a592b3ab9f440fbe74efa9f9e82d49 Mon Sep 17 00:00:00 2001 +From: Vanya Sergeev +Date: Wed, 23 Dec 2015 11:30:33 +0100 +Subject: [PATCH] Disable buggy_getaddrinfo configure test when cross-compiling + with IPv6 support + +Signed-off-by: Vanya Sergeev +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 1ee5a09588..c2445edc88 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4230,7 +4230,7 @@ fi + + AC_MSG_RESULT($ac_cv_buggy_getaddrinfo) + +-if test $have_getaddrinfo = no || test "$ac_cv_buggy_getaddrinfo" = yes ++if test $have_getaddrinfo = no || test "$cross_compiling" != "yes" -a "$ac_cv_buggy_getaddrinfo" = yes + then + if test $ipv6 = yes + then +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch b/buildroot-2022.02.1/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch new file mode 100644 index 00000000..7ac0f39d --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch @@ -0,0 +1,108 @@ +From df7c95b4ceecf390b961d843a556c470ac9080b2 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 22 Feb 2017 16:33:22 -0800 +Subject: [PATCH] Add infrastructure to disable the build of certain extensions + +Some of the extensions part of the Python core have dependencies on +external libraries (sqlite, tk, etc.) or are relatively big and not +necessarly always useful (CJK codecs for example). By extensions, we +mean part of Python modules that are written in C and therefore +compiled to binary code. + +Therefore, we introduce a small infrastructure that allows to disable +some of those extensions. This can be done inside the configure.ac by +adding values to the DISABLED_EXTENSIONS variable (which is a +word-separated list of extensions). + +The implementation works as follow : + + * configure.ac defines a DISABLED_EXTENSIONS variable, which is + substituted (so that when Makefile.pre is generated from + Makefile.pre.in, the value of the variable is substituted). For + now, this DISABLED_EXTENSIONS variable is empty, later patches will + use it. + + * Makefile.pre.in passes the DISABLED_EXTENSIONS value down to the + variables passed in the environment when calling the setup.py + script that actually builds and installs those extensions. + + * setup.py is modified so that the existing "disabled_module_list" is + filled with those pre-disabled extensions listed in + DISABLED_EXTENSIONS. + +Patch ported to python2.7 by Maxime Ripard , and +then extended by Thomas Petazzoni +. + +Signed-off-by: Thomas Petazzoni +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +--- + Makefile.pre.in | 6 +++++- + configure.ac | 2 ++ + setup.py | 5 ++++- + 3 files changed, 11 insertions(+), 2 deletions(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index 0c809f3d8a..7c3dde8dd4 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -218,6 +218,8 @@ FILEMODE= 644 + # configure script arguments + CONFIG_ARGS= @CONFIG_ARGS@ + ++# disabled extensions ++DISABLED_EXTENSIONS= @DISABLED_EXTENSIONS@ + + # Subdirectories with code + SRCDIRS= @SRCDIRS@ +@@ -628,6 +630,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o + esac; \ + echo "$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ + _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ ++ DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" \ + $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build"; \ + $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ + _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ +@@ -1748,7 +1751,8 @@ libainstall: @DEF_MAKE_RULE@ python-config + # Install the dynamically loadable modules + # This goes into $(exec_prefix) + sharedinstall: sharedmods +- $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ ++ $(RUNSHARED) DISABLED_EXTENSIONS="$(DISABLED_EXTENSIONS)" \ ++ $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ + --prefix=$(prefix) \ + --install-scripts=$(BINDIR) \ + --install-platlib=$(DESTSHARED) \ +diff --git a/configure.ac b/configure.ac +index c2445edc88..73d66167de 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3091,6 +3091,8 @@ LIBS="$withval $LIBS" + + PKG_PROG_PKG_CONFIG + ++AC_SUBST(DISABLED_EXTENSIONS) ++ + # Check for use of the system expat library + AC_MSG_CHECKING(for --with-system-expat) + AC_ARG_WITH(system_expat, +diff --git a/setup.py b/setup.py +index 770866bca7..b6c829b3a5 100644 +--- a/setup.py ++++ b/setup.py +@@ -58,7 +58,10 @@ with warnings.catch_warnings(): + TEST_EXTENSIONS = (sysconfig.get_config_var('TEST_MODULES') == 'yes') + + # This global variable is used to hold the list of modules to be disabled. +-DISABLED_MODULE_LIST = [] ++try: ++ DISABLED_MODULE_LIST = sysconfig.get_config_var("DISABLED_EXTENSIONS").split(" ") ++except KeyError: ++ DISABLED_MODULE_LIST = list() + + # --list-module-names option used by Tools/scripts/generate_module_names.py + LIST_MODULE_NAMES = False +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch b/buildroot-2022.02.1/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch new file mode 100644 index 00000000..03113484 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch @@ -0,0 +1,69 @@ +From 61af65485f1dade4aa08d0cf2b24082aeda24c51 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:33:14 +0100 +Subject: [PATCH] Adjust library/header paths for cross-compilation + +When cross-compiling third-party extensions, the get_python_inc() or +get_python_lib() can be called, to return the path to headers or +libraries. However, they use the sys.prefix of the host Python, which +returns incorrect paths when cross-compiling (paths pointing to host +headers and libraries). + +In order to fix this, we introduce the _python_sysroot, _python_prefix +and _python_exec_prefix variables, that allow to override these +values, and get correct header/library paths when cross-compiling +third-party Python modules. + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Adam Duskett +Refresh for 3.10.0 +--- + Lib/distutils/command/build_ext.py | 5 ++++- + Lib/sysconfig.py | 15 +++++++++++---- + 2 files changed, 15 insertions(+), 5 deletions(-) + +diff --git a/Lib/distutils/command/build_ext.py b/Lib/distutils/command/build_ext.py +index 1a9bd12..3cf7d67 100644 +--- a/Lib/distutils/command/build_ext.py ++++ b/Lib/distutils/command/build_ext.py +@@ -234,7 +234,10 @@ class build_ext(Command): + if (sysconfig.get_config_var('Py_ENABLE_SHARED')): + if not sysconfig.python_build: + # building third party extensions +- self.library_dirs.append(sysconfig.get_config_var('LIBDIR')) ++ libdir = sysconfig.get_config_var('LIBDIR') ++ if "_python_sysroot" in os.environ: ++ libdir = os.environ.get("_python_sysroot") + libdir ++ self.library_dirs.append(libdir) + else: + # building python standard extensions + self.library_dirs.append('.') +diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py +index 95b48f6..9fb1956 100644 +--- a/Lib/sysconfig.py ++++ b/Lib/sysconfig.py +@@ -123,10 +123,17 @@ _SCHEME_KEYS = ('stdlib', 'platstdlib', 'purelib', 'platlib', 'include', + _PY_VERSION = sys.version.split()[0] + _PY_VERSION_SHORT = f'{sys.version_info[0]}.{sys.version_info[1]}' + _PY_VERSION_SHORT_NO_DOT = f'{sys.version_info[0]}{sys.version_info[1]}' +-_PREFIX = os.path.normpath(sys.prefix) +-_BASE_PREFIX = os.path.normpath(sys.base_prefix) +-_EXEC_PREFIX = os.path.normpath(sys.exec_prefix) +-_BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix) ++if "_python_sysroot" in os.environ: ++ _sysroot=os.environ.get('_python_sysroot') ++ _PREFIX = os.path.normpath(_sysroot + os.environ.get('_python_prefix')) ++ _EXEC_PREFIX = os.path.normpath(_sysroot + os.environ.get('_python_exec_prefix')) ++ _BASE_PREFIX = _PREFIX ++ _BASE_EXEC_PREFIX = _EXEC_PREFIX ++else: ++ _PREFIX = os.path.normpath(sys.prefix) ++ _EXEC_PREFIX = os.path.normpath(sys.exec_prefix) ++ _BASE_PREFIX = os.path.normpath(sys.base_prefix) ++ _BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix) + _CONFIG_VARS = None + _USER_BASE = None + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch b/buildroot-2022.02.1/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch new file mode 100644 index 00000000..3e224995 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch @@ -0,0 +1,31 @@ +From 60d71e37d167ea89445250be436170a6cfee84e7 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:36:00 +0100 +Subject: [PATCH] Don't look in /usr/lib/termcap for libraries + +Signed-off-by: Thomas Petazzoni +--- + setup.py | 5 +---- + 1 file changed, 1 insertion(+), 4 deletions(-) + +diff --git a/setup.py b/setup.py +index 66d372a..e632b6f 100644 +--- a/setup.py ++++ b/setup.py +@@ -1147,12 +1147,9 @@ class PyBuildExt(build_ext): + pass # Issue 7384: Already linked against curses or tinfo. + elif curses_library: + readline_libs.append(curses_library) +- elif self.compiler.find_library_file(self.lib_dirs + +- ['/usr/lib/termcap'], +- 'termcap'): ++ elif self.compiler.find_library_file(self.lib_dirs, 'termcap'): + readline_libs.append('termcap') + self.add(Extension('readline', ['readline.c'], +- library_dirs=['/usr/lib/termcap'], + extra_link_args=readline_extra_link_args, + libraries=readline_libs)) + else: +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0006-Don-t-add-multiarch-paths.patch b/buildroot-2022.02.1/package/python3/0006-Don-t-add-multiarch-paths.patch new file mode 100644 index 00000000..48d8cc79 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0006-Don-t-add-multiarch-paths.patch @@ -0,0 +1,37 @@ +From f5933b8f973cd11698b52d535a10d0474e49f5a5 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:36:27 +0100 +Subject: [PATCH] Don't add multiarch paths + +The add_multiarch_paths() function leads, in certain build +environments, to the addition of host header paths to the CFLAGS, +which is not appropriate for cross-compilation. This patch fixes that +by simply removing the call to add_multiarch_paths() when we're +cross-compiling. + +Investigation done by David . + +Signed-off-by: Thomas Petazzoni +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index ec3ba60607..e27620035c 100644 +--- a/setup.py ++++ b/setup.py +@@ -830,10 +830,10 @@ class PyBuildExt(build_ext): + if not CROSS_COMPILING: + add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') + add_dir_to_list(self.compiler.include_dirs, '/usr/local/include') ++ self.add_multiarch_paths() + # only change this for cross builds for 3.3, issues on Mageia + if CROSS_COMPILING: + self.add_cross_compiling_paths() +- self.add_multiarch_paths() + self.add_ldflags_cppflags() + + def init_inc_lib_dirs(self): +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0007-Abort-on-failed-module-build.patch b/buildroot-2022.02.1/package/python3/0007-Abort-on-failed-module-build.patch new file mode 100644 index 00000000..32e2261a --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0007-Abort-on-failed-module-build.patch @@ -0,0 +1,30 @@ +From 188c0ebfdb71f5252fa7701013b8d1209f28aef7 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:43:24 +0100 +Subject: [PATCH] Abort on failed module build + +When building a Python module fails, the setup.py script currently +doesn't exit with an error, and simply continues. This is not a really +nice behavior, so this patch changes setup.py to abort with an error, +so that the build issue is clearly noticeable. + +Signed-off-by: Thomas Petazzoni +--- + setup.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/setup.py b/setup.py +index e27620035c..d3f0e663f2 100644 +--- a/setup.py ++++ b/setup.py +@@ -561,6 +561,7 @@ class PyBuildExt(build_ext): + print("Failed to build these modules:") + print_three_column(failed) + print() ++ sys.exit(1) + + if self.failed_on_import: + failed = self.failed_on_import[:] +-- +2.25.1 + diff --git a/buildroot-2021.05/package/python3/0008-Serial-ioctl-workaround.patch b/buildroot-2022.02.1/package/python3/0008-Serial-ioctl-workaround.patch similarity index 100% rename from buildroot-2021.05/package/python3/0008-Serial-ioctl-workaround.patch rename to buildroot-2022.02.1/package/python3/0008-Serial-ioctl-workaround.patch diff --git a/buildroot-2021.05/package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch b/buildroot-2022.02.1/package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch similarity index 100% rename from buildroot-2021.05/package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch rename to buildroot-2022.02.1/package/python3/0009-Do-not-adjust-the-shebang-of-Python-scripts-for-cros.patch diff --git a/buildroot-2021.05/package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch b/buildroot-2022.02.1/package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch similarity index 100% rename from buildroot-2021.05/package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch rename to buildroot-2022.02.1/package/python3/0010-Misc-python-config.sh.in-ensure-sed-invocations-only.patch diff --git a/buildroot-2022.02.1/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch b/buildroot-2022.02.1/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch new file mode 100644 index 00000000..4d021d86 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch @@ -0,0 +1,39 @@ +From e4ae670e3489544a49dabd1618c32fe73504a7ba Mon Sep 17 00:00:00 2001 +From: Samuel Cabrero +Date: Wed, 23 Dec 2015 11:45:48 +0100 +Subject: [PATCH] Override system locale and set to default when adding gcc + paths + +Forces the use of the default locale in the function +add_gcc_paths, which is called when cross compiling to add the +include and library paths. This is necessary because otherwise +the gcc output is localized and the output parsing fails, which +results in no paths added and detect_modules not able to find +any system library (eg. libz, libssl, etc.) + +[Thomas: patch taken from https://bugs.python.org/issue23767.] + +Signed-off-by: Samuel Cabrero +Signed-off-by: Thomas Petazzoni +[james.hilliard1@gmail.com: adapt to python 3.9] +Signed-off-by: James Hilliard +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index d3f0e663f2..926c16f58f 100644 +--- a/setup.py ++++ b/setup.py +@@ -761,7 +761,7 @@ class PyBuildExt(build_ext): + tmpfile = os.path.join(self.build_temp, 'ccpaths') + if not os.path.exists(self.build_temp): + os.makedirs(self.build_temp) +- ret = run_command('%s -E -v - %s 1>/dev/null' % (CC, tmpfile)) ++ ret = run_command('LC_ALL=C %s -E -v - %s 1>/dev/null' % (CC, tmpfile)) + is_gcc = False + is_clang = False + in_incdirs = False +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch b/buildroot-2022.02.1/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch new file mode 100644 index 00000000..b18f94ab --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch @@ -0,0 +1,105 @@ +From e2ea659eac1849db471d3c01a0d0af9d6fca2e9a Mon Sep 17 00:00:00 2001 +From: Christophe Vu-Brugier +Date: Wed, 22 Feb 2017 16:48:49 -0800 +Subject: [PATCH] Add importlib fix for PEP 3147 issue + +Python 3 has a new standard for installing .pyc file, called PEP +3147. Unfortunately, this standard requires both the .py and .pyc +files to be installed for a Python module to be found. This is quite +annoying on space-constrained embedded systems, since the .py file is +technically not required for execution. + +This patch changes cache_from_source() and source_from_cache() in +importlib to get rid of the "__pycache__" directory. +This effectively disables PEP 3147 for: + +* The python standard library +* Packages built with distutils or setuptools +* Packages built with automake that use the `py-compile` helper + +Signed-off-by: Christophe Vu-Brugier +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +--- + Lib/importlib/_bootstrap_external.py | 44 ++++------------------------ + 1 file changed, 5 insertions(+), 39 deletions(-) + +diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py +index 25a3f8c0e0..2cb9a9aa52 100644 +--- a/Lib/importlib/_bootstrap_external.py ++++ b/Lib/importlib/_bootstrap_external.py +@@ -392,8 +392,6 @@ def cache_from_source(path, debug_override=None, *, optimization=None): + a True value is the same as setting 'optimization' to the empty string + while a False value is equivalent to setting 'optimization' to '1'. + +- If sys.implementation.cache_tag is None then NotImplementedError is raised. +- + """ + if debug_override is not None: + _warnings.warn('the debug_override parameter is deprecated; use ' +@@ -405,10 +403,7 @@ def cache_from_source(path, debug_override=None, *, optimization=None): + path = _os.fspath(path) + head, tail = _path_split(path) + base, sep, rest = tail.rpartition('.') +- tag = sys.implementation.cache_tag +- if tag is None: +- raise NotImplementedError('sys.implementation.cache_tag is None') +- almost_filename = ''.join([(base if base else rest), sep, tag]) ++ almost_filename = ''.join([(base if base else rest)]) + if optimization is None: + if sys.flags.optimize == 0: + optimization = '' +@@ -445,46 +440,17 @@ def cache_from_source(path, debug_override=None, *, optimization=None): + head.lstrip(path_separators), + filename, + ) +- return _path_join(head, _PYCACHE, filename) ++ return _path_join(head, filename) + + + def source_from_cache(path): + """Given the path to a .pyc. file, return the path to its .py file. + + The .pyc file does not need to exist; this simply returns the path to +- the .py file calculated to correspond to the .pyc file. If path does +- not conform to PEP 3147/488 format, ValueError will be raised. If +- sys.implementation.cache_tag is None then NotImplementedError is raised. +- ++ the .py file calculated to correspond to the .pyc file. + """ +- if sys.implementation.cache_tag is None: +- raise NotImplementedError('sys.implementation.cache_tag is None') +- path = _os.fspath(path) +- head, pycache_filename = _path_split(path) +- found_in_pycache_prefix = False +- if sys.pycache_prefix is not None: +- stripped_path = sys.pycache_prefix.rstrip(path_separators) +- if head.startswith(stripped_path + path_sep): +- head = head[len(stripped_path):] +- found_in_pycache_prefix = True +- if not found_in_pycache_prefix: +- head, pycache = _path_split(head) +- if pycache != _PYCACHE: +- raise ValueError(f'{_PYCACHE} not bottom-level directory in ' +- f'{path!r}') +- dot_count = pycache_filename.count('.') +- if dot_count not in {2, 3}: +- raise ValueError(f'expected only 2 or 3 dots in {pycache_filename!r}') +- elif dot_count == 3: +- optimization = pycache_filename.rsplit('.', 2)[-2] +- if not optimization.startswith(_OPT): +- raise ValueError("optimization portion of filename does not start " +- f"with {_OPT!r}") +- opt_level = optimization[len(_OPT):] +- if not opt_level.isalnum(): +- raise ValueError(f"optimization level {optimization!r} is not an " +- "alphanumeric value") +- base_filename = pycache_filename.partition('.')[0] ++ head, filename = _path_split(path) ++ base_filename = filename.partition('.')[0] + return _path_join(head, base_filename + SOURCE_SUFFIXES[0]) + + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0013-Add-an-option-to-disable-pydoc.patch b/buildroot-2022.02.1/package/python3/0013-Add-an-option-to-disable-pydoc.patch new file mode 100644 index 00000000..a843c8c1 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0013-Add-an-option-to-disable-pydoc.patch @@ -0,0 +1,100 @@ +From a65e5d3caf8e076d531191164c23c6240461f675 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 22 Feb 2017 17:07:56 -0800 +Subject: [PATCH] Add an option to disable pydoc + +It removes 0.5 MB of data from the target plus the pydoc script +itself. + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Samuel Martin +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +[ Adam Duskett: ported to Python 3.10.0 ] +Signed-off-by: Adam Duskett +--- + Makefile.pre.in | 7 ++++++- + configure.ac | 6 ++++++ + setup.py | 9 +++++++-- + 3 files changed, 19 insertions(+), 3 deletions(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index c0d5511..32b3df7 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1391,7 +1391,9 @@ bininstall: altbininstall + -rm -f $(DESTDIR)$(BINDIR)/idle3 + (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3) + -rm -f $(DESTDIR)$(BINDIR)/pydoc3 ++ifeq (@PYDOC@,yes) + (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) ++endif + -rm -f $(DESTDIR)$(BINDIR)/2to3 + (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3) + if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \ +@@ -1442,7 +1444,6 @@ LIBSUBDIRS= asyncio \ + lib2to3 lib2to3/fixes lib2to3/pgen2 \ + logging \ + multiprocessing multiprocessing/dummy \ +- pydoc_data \ + site-packages \ + sqlite3 \ + tkinter \ +@@ -1530,6 +1531,10 @@ TESTSUBDIRS= ctypes/test \ + tkinter/test/test_ttk \ + unittest/test unittest/test/testmock + ++ifeq (@PYDOC@,yes) ++LIBSUBDIRS += pydoc_data ++endif ++ + TEST_MODULES=@TEST_MODULES@ + libinstall: build_all $(srcdir)/Modules/xxmodule.c + @for i in $(SCRIPTDIR) $(LIBDEST); \ +diff --git a/configure.ac b/configure.ac +index 083a12d..9079531 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3373,6 +3373,12 @@ if test "$posix_threads" = "yes"; then + AC_CHECK_FUNCS(pthread_getcpuclockid) + fi + ++AC_SUBST(PYDOC) ++ ++AC_ARG_ENABLE(pydoc, ++ AS_HELP_STRING([--disable-pydoc], [disable pydoc]), ++ [ PYDOC="${enableval}" ], [ PYDOC=yes ]) ++ + + # Check for enable-ipv6 + AH_TEMPLATE(ENABLE_IPV6, [Define if --enable-ipv6 is specified]) +diff --git a/setup.py b/setup.py +index d00d389..d23f148 100644 +--- a/setup.py ++++ b/setup.py +@@ -2721,6 +2721,12 @@ def main(): + # turn off warnings when deprecated modules are imported + import warnings + warnings.filterwarnings("ignore",category=DeprecationWarning) ++ ++ scripts = ['Tools/scripts/idle3', 'Tools/scripts/2to3', ++ 'Lib/smtpd.py'] ++ if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): ++ scripts += [ 'Tools/scripts/pydoc3' ] ++ + setup(# PyPI Metadata (PEP 301) + name = "Python", + version = sys.version.split()[0], +@@ -2746,8 +2752,7 @@ def main(): + # If you change the scripts installed here, you also need to + # check the PyBuildScripts command above, and change the links + # created by the bininstall target in Makefile.pre.in +- scripts = ["Tools/scripts/pydoc3", "Tools/scripts/idle3", +- "Tools/scripts/2to3"] ++ scripts = scripts + ) + + # --install-platlib +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0014-Add-an-option-to-disable-lib2to3.patch b/buildroot-2022.02.1/package/python3/0014-Add-an-option-to-disable-lib2to3.patch new file mode 100644 index 00000000..c8f2e528 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0014-Add-an-option-to-disable-lib2to3.patch @@ -0,0 +1,119 @@ +From f034b1b0f33a7bd4dde23f0bc1fa8e00e3518c9d Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 22 Feb 2017 17:15:31 -0800 +Subject: [PATCH] Add an option to disable lib2to3 + +lib2to3 is a library to convert Python 2.x code to Python 3.x. As +such, it is probably not very useful on embedded system targets. + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Samuel Martin +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +[ Adam Duskett: ported to Python 3.10.0 ] +Signed-off-by: Adam Duskett +--- + Makefile.pre.in | 17 ++++++++++++----- + configure.ac | 5 +++++ + setup.py | 6 +++--- + 3 files changed, 20 insertions(+), 8 deletions(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index 28cf88e..63fa9fb 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1395,7 +1395,9 @@ ifeq (@PYDOC@,yes) + (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) + endif + -rm -f $(DESTDIR)$(BINDIR)/2to3 ++ifeq (@LIB2TO3@,yes) + (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3) ++endif + if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \ + rm -f $(DESTDIR)$(BINDIR)/python3-32$(EXE); \ + (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-32$(EXE) python3-32$(EXE)) \ +@@ -1441,7 +1443,6 @@ LIBSUBDIRS= asyncio \ + idlelib idlelib/Icons \ + importlib importlib/metadata \ + json \ +- lib2to3 lib2to3/fixes lib2to3/pgen2 \ + logging \ + multiprocessing multiprocessing/dummy \ + site-packages \ +@@ -1458,10 +1459,6 @@ LIBSUBDIRS= asyncio \ + TESTSUBDIRS= ctypes/test \ + distutils/tests \ + idlelib/idle_test \ +- lib2to3/tests \ +- lib2to3/tests/data \ +- lib2to3/tests/data/fixers \ +- lib2to3/tests/data/fixers/myfixes \ + sqlite3/test \ + test test/audiodata \ + test/capath test/cjkencodings \ +@@ -1535,6 +1532,14 @@ ifeq (@PYDOC@,yes) + LIBSUBDIRS += pydoc_data + endif + ++ifeq (@LIB2TO3@,yes) ++LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2 ++TESTSUBDIRS += lib2to3/tests \ ++ lib2to3/tests/data \ ++ lib2to3/tests/data/fixers \ ++ lib2to3/tests/data/fixers/myfixes ++endif ++ + TEST_MODULES=@TEST_MODULES@ + libinstall: build_all $(srcdir)/Modules/xxmodule.c + @for i in $(SCRIPTDIR) $(LIBDEST); \ +@@ -1637,10 +1642,12 @@ ifeq (@PYC_BUILD@,yes) + -j0 -d $(LIBDEST)/site-packages -f \ + -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages + endif ++ifeq (@LIB2TO3@,yes) + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ + $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt + -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ + $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/PatternGrammar.txt ++endif + + # bpo-21536: Misc/python-config.sh is generated in the build directory + # from $(srcdir)Misc/python-config.sh.in. +diff --git a/configure.ac b/configure.ac +index 9079531..34c2ba9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -6014,6 +6014,11 @@ else + fi + AC_SUBST(TEST_MODULES) + ++AC_SUBST(LIB2TO3) ++ ++AC_ARG_ENABLE(lib2to3, ++ AS_HELP_STRING([--disable-lib2to3], [disable lib2to3]), ++ [ LIB2TO3="${enableval}" ], [ LIB2TO3=yes ]) + + # generate output files + AC_CONFIG_FILES(Makefile.pre Misc/python.pc Misc/python-embed.pc Misc/python-config.sh) +diff --git a/setup.py b/setup.py +index d23f148..663fd44 100644 +--- a/setup.py ++++ b/setup.py +@@ -2722,11 +2722,11 @@ def main(): + import warnings + warnings.filterwarnings("ignore",category=DeprecationWarning) + +- scripts = ['Tools/scripts/idle3', 'Tools/scripts/2to3', +- 'Lib/smtpd.py'] ++ scripts = ['Tools/scripts/idle3', 'Lib/smtpd.py'] + if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): + scripts += [ 'Tools/scripts/pydoc3' ] +- ++ if not '--disable-lib2to3' in sysconfig.get_config_var("CONFIG_ARGS"): ++ scripts += [ 'Tools/scripts/2to3' ] + setup(# PyPI Metadata (PEP 301) + name = "Python", + version = sys.version.split()[0], +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch b/buildroot-2022.02.1/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch new file mode 100644 index 00000000..81fa52bb --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch @@ -0,0 +1,71 @@ +From dd2722dec08eb9c72c36313e93661eeca3ad64d8 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 22 Feb 2017 17:20:45 -0800 +Subject: [PATCH] Add option to disable the sqlite3 module + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Samuel Martin +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +[ Adam Duskett: ported to Python 3.10.0 ] +Signed-off-by: Adam Duskett +--- + Makefile.pre.in | 7 +++++-- + configure.ac | 9 +++++++++ + 2 files changed, 14 insertions(+), 2 deletions(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index 5847029..5628860 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1446,7 +1446,6 @@ LIBSUBDIRS= asyncio \ + logging \ + multiprocessing multiprocessing/dummy \ + site-packages \ +- sqlite3 \ + tkinter \ + turtledemo \ + unittest \ +@@ -1459,7 +1458,6 @@ LIBSUBDIRS= asyncio \ + TESTSUBDIRS= ctypes/test \ + distutils/tests \ + idlelib/idle_test \ +- sqlite3/test \ + test test/audiodata \ + test/capath test/cjkencodings \ + test/data test/decimaltestdata \ +@@ -1540,6 +1538,11 @@ TESTSUBDIRS += lib2to3/tests \ + lib2to3/tests/data/fixers/myfixes + endif + ++ifeq (@SQLITE3@,yes) ++LIBSUBDIRS += sqlite3 ++TESTSUBDIRS += sqlite3/test ++endif ++ + TEST_MODULES=@TEST_MODULES@ + libinstall: build_all $(srcdir)/Modules/xxmodule.c + @for i in $(SCRIPTDIR) $(LIBDEST); \ +diff --git a/configure.ac b/configure.ac +index 34c2ba9..dfee472 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3373,6 +3373,15 @@ if test "$posix_threads" = "yes"; then + AC_CHECK_FUNCS(pthread_getcpuclockid) + fi + ++AC_SUBST(SQLITE3) ++AC_ARG_ENABLE(sqlite3, ++ AS_HELP_STRING([--disable-sqlite3], [disable sqlite3]), ++ [ SQLITE3="${enableval}" ], [ SQLITE3=yes ]) ++ ++if test "$SQLITE3" = "no" ; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" ++fi ++ + AC_SUBST(PYDOC) + + AC_ARG_ENABLE(pydoc, +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch b/buildroot-2022.02.1/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch new file mode 100644 index 00000000..db79f569 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0016-Add-an-option-to-disable-the-tk-module.patch @@ -0,0 +1,74 @@ +From ad6b66b34f71ff6b60b3be5f6fd3e781cdeecd59 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 22 Feb 2017 17:23:42 -0800 +Subject: [PATCH] Add an option to disable the tk module + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Samuel Martin +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +[ Adam Duskett: ported to Python 3.10.0 ] +Signed-off-by: Adam Duskett +--- + Makefile.pre.in | 10 +++++++--- + configure.ac | 9 +++++++++ + 2 files changed, 16 insertions(+), 3 deletions(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index 5628860..c968113 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1446,7 +1446,6 @@ LIBSUBDIRS= asyncio \ + logging \ + multiprocessing multiprocessing/dummy \ + site-packages \ +- tkinter \ + turtledemo \ + unittest \ + urllib \ +@@ -1522,8 +1521,6 @@ TESTSUBDIRS= ctypes/test \ + test/tracedmodules \ + test/xmltestdata test/xmltestdata/c14n-20 \ + test/ziptestdata \ +- tkinter/test tkinter/test/test_tkinter \ +- tkinter/test/test_ttk \ + unittest/test unittest/test/testmock + + ifeq (@PYDOC@,yes) +@@ -1543,6 +1540,13 @@ LIBSUBDIRS += sqlite3 + TESTSUBDIRS += sqlite3/test + endif + ++ifeq (@TK@,yes) ++LIBSUBDIRS += tkinter ++TESTSUBDIRS += tkinter/test tkinter/test/test_tkinter \ ++ tkinter/test/test_ttk ++endif ++ ++ + TEST_MODULES=@TEST_MODULES@ + libinstall: build_all $(srcdir)/Modules/xxmodule.c + @for i in $(SCRIPTDIR) $(LIBDEST); \ +diff --git a/configure.ac b/configure.ac +index dfee472..dc76dff 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3382,6 +3382,15 @@ if test "$SQLITE3" = "no" ; then + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" + fi + ++AC_SUBST(TK) ++AC_ARG_ENABLE(tk, ++ AS_HELP_STRING([--disable-tk], [disable tk]), ++ [ TK="${enableval}" ], [ TK=yes ]) ++ ++if test "$TK" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _tkinter" ++fi ++ + AC_SUBST(PYDOC) + + AC_ARG_ENABLE(pydoc, +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch b/buildroot-2022.02.1/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch new file mode 100644 index 00000000..35d92fb7 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0017-Add-an-option-to-disable-the-curses-module.patch @@ -0,0 +1,61 @@ +From 962deb43f5f340a8472d432ae8e6d61186f9040e Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 22 Feb 2017 17:31:51 -0800 +Subject: [PATCH] Add an option to disable the curses module + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Samuel Martin +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +[ Adam Duskett: ported to Python 3.10.0 ] +Signed-off-by: Adam Duskett +--- + Makefile.pre.in | 4 +++- + configure.ac | 9 +++++++++ + 2 files changed, 12 insertions(+), 1 deletion(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index c968113..f89f155 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1432,7 +1432,6 @@ LIBSUBDIRS= asyncio \ + concurrent concurrent/futures \ + csv \ + ctypes ctypes/macholib \ +- curses \ + dbm \ + distutils distutils/command \ + email email/mime \ +@@ -1546,6 +1545,9 @@ TESTSUBDIRS += tkinter/test tkinter/test/test_tkinter \ + tkinter/test/test_ttk + endif + ++ifeq (@CURSES@,yes) ++LIBSUBDIRS += curses ++endif + + TEST_MODULES=@TEST_MODULES@ + libinstall: build_all $(srcdir)/Modules/xxmodule.c +diff --git a/configure.ac b/configure.ac +index dc76dff..4f1cda5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3391,6 +3391,15 @@ if test "$TK" = "no"; then + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _tkinter" + fi + ++AC_SUBST(CURSES) ++AC_ARG_ENABLE(curses, ++ AS_HELP_STRING([--disable-curses], [disable curses]), ++ [ CURSES="${enableval}" ], [ CURSES=yes ]) ++ ++if test "$CURSES" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" ++fi ++ + AC_SUBST(PYDOC) + + AC_ARG_ENABLE(pydoc, +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0018-Add-an-option-to-disable-expat.patch b/buildroot-2022.02.1/package/python3/0018-Add-an-option-to-disable-expat.patch new file mode 100644 index 00000000..83c89e1f --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0018-Add-an-option-to-disable-expat.patch @@ -0,0 +1,93 @@ +From 7e0e7dc25f50acd6922493ae620ee5cbf107a79a Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 22 Feb 2017 17:40:45 -0800 +Subject: [PATCH] Add an option to disable expat + +This patch replaces the existing --with-system-expat option with a +--with-expat={system,builtin,none} option, which allows to tell Python +whether we want to use the system expat (already installed), the expat +builtin the Python sources, or no expat at all (which disables the +installation of XML modules). + +Signed-off-by: Thomas Petazzoni +Signed-off-by: Samuel Martin +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +[ Adam Duskett: ported to Python 3.10.0 ] +Signed-off-by: Adam Duskett +--- + Makefile.pre.in | 5 ++++- + configure.ac | 18 +++++++++++++----- + setup.py | 2 +- + 3 files changed, 18 insertions(+), 7 deletions(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index f89f155..08c5e8a 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1450,7 +1450,6 @@ LIBSUBDIRS= asyncio \ + urllib \ + venv venv/scripts venv/scripts/common venv/scripts/posix \ + wsgiref \ +- $(XMLLIBSUBDIRS) \ + xmlrpc \ + zoneinfo + TESTSUBDIRS= ctypes/test \ +@@ -1549,6 +1548,10 @@ ifeq (@CURSES@,yes) + LIBSUBDIRS += curses + endif + ++ifeq (@EXPAT@,yes) ++LIBSUBDIRS += $(XMLLIBSUBDIRS) ++endif ++ + TEST_MODULES=@TEST_MODULES@ + libinstall: build_all $(srcdir)/Modules/xxmodule.c + @for i in $(SCRIPTDIR) $(LIBDEST); \ +diff --git a/configure.ac b/configure.ac +index 4f1cda5..e99a174 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3094,13 +3094,21 @@ PKG_PROG_PKG_CONFIG + AC_SUBST(DISABLED_EXTENSIONS) + + # Check for use of the system expat library +-AC_MSG_CHECKING(for --with-system-expat) +-AC_ARG_WITH(system_expat, +- AS_HELP_STRING([--with-system-expat], [build pyexpat module using an installed expat library, see Doc/library/pyexpat.rst (default is no)]), ++AC_MSG_CHECKING(for --with-expat) ++AC_ARG_WITH(expat, ++ AS_HELP_STRING([--with-expat], [select which expat version to use: system, builtin, none]), + [], +- [with_system_expat="no"]) ++ [with_expat="builtin"]) + +-AC_MSG_RESULT($with_system_expat) ++AC_MSG_RESULT($with_expat) ++ ++if test "$with_expat" != "none"; then ++ EXPAT=yes ++else ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} pyexpat" ++ EXPAT=no ++fi ++AC_SUBST(EXPAT) + + # Check for use of the system libffi library + AC_MSG_CHECKING(for --with-system-ffi) +diff --git a/setup.py b/setup.py +index 663fd44..e30ed52 100644 +--- a/setup.py ++++ b/setup.py +@@ -1764,7 +1764,7 @@ class PyBuildExt(build_ext): + # + # More information on Expat can be found at www.libexpat.org. + # +- if '--with-system-expat' in sysconfig.get_config_var("CONFIG_ARGS"): ++ if '--with-expat=system' in sysconfig.get_config_var("CONFIG_ARGS"): + expat_inc = [] + define_macros = [] + extra_compile_args = [] +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch b/buildroot-2022.02.1/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch new file mode 100644 index 00000000..2afcf452 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch @@ -0,0 +1,30 @@ +From 2c0d31bb91fc7f94283c3ab632925fbbe24e94d6 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:49:55 +0100 +Subject: [PATCH] Add an option to disable CJK codecs + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 9ef0ecd42f..18e6fd70a0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3390,6 +3390,12 @@ if test "$SQLITE3" = "no" ; then + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" + fi + ++AC_ARG_ENABLE(codecs-cjk, ++ AS_HELP_STRING([--disable-codecs-cjk], [disable CJK codecs]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022" ++ fi]) ++ + AC_SUBST(TK) + AC_ARG_ENABLE(tk, + AS_HELP_STRING([--disable-tk], [disable tk]), +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0020-Add-an-option-to-disable-NIS.patch b/buildroot-2022.02.1/package/python3/0020-Add-an-option-to-disable-NIS.patch new file mode 100644 index 00000000..d8fe3616 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0020-Add-an-option-to-disable-NIS.patch @@ -0,0 +1,33 @@ +From 2041d0c8dba87991edaf088b16e37b5189a3466d Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:50:11 +0100 +Subject: [PATCH] Add an option to disable NIS + +NIS is not necessarily available in uClibc, so we need an option to +not compile support for it. + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 18e6fd70a0..46d2a8131e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3396,6 +3396,12 @@ AC_ARG_ENABLE(codecs-cjk, + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022" + fi]) + ++AC_ARG_ENABLE(nis, ++ AS_HELP_STRING([--disable-nis], [disable NIS]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" ++ fi]) ++ + AC_SUBST(TK) + AC_ARG_ENABLE(tk, + AS_HELP_STRING([--disable-tk], [disable tk]), +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0021-Add-an-option-to-disable-unicodedata.patch b/buildroot-2022.02.1/package/python3/0021-Add-an-option-to-disable-unicodedata.patch new file mode 100644 index 00000000..3519377b --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0021-Add-an-option-to-disable-unicodedata.patch @@ -0,0 +1,30 @@ +From dd82a401ff6ba4ba116bf4d520e981a1808ed443 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:50:27 +0100 +Subject: [PATCH] Add an option to disable unicodedata + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 46d2a8131e..5844e3b73f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3402,6 +3402,12 @@ AC_ARG_ENABLE(nis, + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" + fi]) + ++AC_ARG_ENABLE(unicodedata, ++ AS_HELP_STRING([--disable-unicodedata], [disable unicodedata]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata" ++ fi]) ++ + AC_SUBST(TK) + AC_ARG_ENABLE(tk, + AS_HELP_STRING([--disable-tk], [disable tk]), +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0022-Add-an-option-to-disable-IDLE.patch b/buildroot-2022.02.1/package/python3/0022-Add-an-option-to-disable-IDLE.patch new file mode 100644 index 00000000..f09037f7 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0022-Add-an-option-to-disable-IDLE.patch @@ -0,0 +1,92 @@ +From f1b15834045d0641c43014b970721df066fa71f7 Mon Sep 17 00:00:00 2001 +From: Maxime Ripard +Date: Wed, 22 Feb 2017 17:45:14 -0800 +Subject: [PATCH] Add an option to disable IDLE + +IDLE is an IDE embedded into python, written using Tk, so it doesn't make +much sense to have it into our build. + +Signed-off-by: Maxime Ripard +[ Andrey Smirnov: ported to Python 3.6 ] +Signed-off-by: Andrey Smirnov +[ Adam Duskett: ported to Python 3.10.0 ] +Signed-off-by: Adam Duskett +--- + Makefile.pre.in | 7 ++++++- + configure.ac | 6 ++++++ + setup.py | 5 ++++- + 3 files changed, 16 insertions(+), 2 deletions(-) + +diff --git a/Makefile.pre.in b/Makefile.pre.in +index 08c5e8a..461c5e3 100644 +--- a/Makefile.pre.in ++++ b/Makefile.pre.in +@@ -1389,7 +1389,9 @@ bininstall: altbininstall + -rm -f $(DESTDIR)$(LIBPC)/python3-embed.pc + (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION)-embed.pc python3-embed.pc) + -rm -f $(DESTDIR)$(BINDIR)/idle3 ++ifeq (@IDLE@,yes) + (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle3) ++endif + -rm -f $(DESTDIR)$(BINDIR)/pydoc3 + ifeq (@PYDOC@,yes) + (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc3) +@@ -1439,7 +1441,6 @@ LIBSUBDIRS= asyncio \ + ensurepip ensurepip/_bundled \ + html \ + http \ +- idlelib idlelib/Icons \ + importlib importlib/metadata \ + json \ + logging \ +@@ -1552,6 +1553,10 @@ ifeq (@EXPAT@,yes) + LIBSUBDIRS += $(XMLLIBSUBDIRS) + endif + ++ifeq (@IDLE@,yes) ++LIBSUBDIRS += idlelib idlelib/Icons ++endif ++ + TEST_MODULES=@TEST_MODULES@ + libinstall: build_all $(srcdir)/Modules/xxmodule.c + @for i in $(SCRIPTDIR) $(LIBDEST); \ +diff --git a/configure.ac b/configure.ac +index e99a174..baaa743 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -6073,6 +6073,12 @@ AC_ARG_ENABLE(lib2to3, + AS_HELP_STRING([--disable-lib2to3], [disable lib2to3]), + [ LIB2TO3="${enableval}" ], [ LIB2TO3=yes ]) + ++AC_SUBST(IDLE) ++ ++AC_ARG_ENABLE(idle3, ++ AS_HELP_STRING([--disable-idle3], [disable idle3 IDE]), ++ [ IDLE="${enableval}" ], [ IDLE=yes ]) ++ + # generate output files + AC_CONFIG_FILES(Makefile.pre Misc/python.pc Misc/python-embed.pc Misc/python-config.sh) + AC_CONFIG_FILES([Modules/ld_so_aix], [chmod +x Modules/ld_so_aix]) +diff --git a/setup.py b/setup.py +index e30ed52..4dff249 100644 +--- a/setup.py ++++ b/setup.py +@@ -2722,11 +2722,14 @@ def main(): + import warnings + warnings.filterwarnings("ignore",category=DeprecationWarning) + +- scripts = ['Tools/scripts/idle3', 'Lib/smtpd.py'] ++ scripts = [ 'Lib/smtpd.py'] + if not '--disable-pydoc' in sysconfig.get_config_var("CONFIG_ARGS"): + scripts += [ 'Tools/scripts/pydoc3' ] + if not '--disable-lib2to3' in sysconfig.get_config_var("CONFIG_ARGS"): + scripts += [ 'Tools/scripts/2to3' ] ++ if not '--disable-idle3' in sysconfig.get_config_var("CONFIG_ARGS"): ++ scripts += [ 'Tools/scripts/idle3' ] ++ + setup(# PyPI Metadata (PEP 301) + name = "Python", + version = sys.version.split()[0], +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0023-Add-an-option-to-disable-decimal.patch b/buildroot-2022.02.1/package/python3/0023-Add-an-option-to-disable-decimal.patch new file mode 100644 index 00000000..fd1887d6 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0023-Add-an-option-to-disable-decimal.patch @@ -0,0 +1,66 @@ +From d5fe81cbd51da2a84ed89d1e4c80d921d4efce26 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:51:31 +0100 +Subject: [PATCH] Add an option to disable decimal + +This patch replaces the existing --with-system-libmpdec option with a +--with-libmpdec={system,builtin,none} option, which allows to tell +Python whether we want to use the system libmpdec (already installed), +the libmpdec builtin the Python sources, or no libmpdec at all. + +Signed-off-by: Thomas Petazzoni +[aduskett@gmail.com: Update for python 3.7.0] +Signed-off-by: Adam Duskett +[james.hilliard1@gmail.com: adapt to python 3.9] +Signed-off-by: James Hilliard +--- + configure.ac | 17 ++++++++++++----- + setup.py | 2 +- + 2 files changed, 13 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 7bd4623ccd..e513ef6a20 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3145,13 +3145,20 @@ fi + AC_SUBST(LIBFFI_INCLUDEDIR) + + # Check for use of the system libmpdec library +-AC_MSG_CHECKING(for --with-system-libmpdec) +-AC_ARG_WITH(system_libmpdec, +- AS_HELP_STRING([--with-system-libmpdec], [build _decimal module using an installed libmpdec library, see Doc/library/decimal.rst (default is no)]), ++AC_MSG_CHECKING(for --with-libmpdec) ++AC_ARG_WITH(libmpdec, ++ AS_HELP_STRING([--with-libmpdec], [select which libmpdec version to use: system, builtin, none]), + [], +- [with_system_libmpdec="no"]) ++ [with_libmpdec="builtin"]) + +-AC_MSG_RESULT($with_system_libmpdec) ++AC_MSG_RESULT($with_libmpdec) ++if test "$with_libmpdec" != "none"; then ++ MPDEC=yes ++else ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _decimal" ++ MPDEC=no ++fi ++AC_SUBST(MPDEC) + + # Check whether _decimal should use a coroutine-local or thread-local context + AC_MSG_CHECKING(for --with-decimal-contextvar) +diff --git a/setup.py b/setup.py +index c4ee989ba3..3d0c74bb7f 100644 +--- a/setup.py ++++ b/setup.py +@@ -2321,7 +2321,7 @@ class PyBuildExt(build_ext): + # Stefan Krah's _decimal module + extra_compile_args = [] + undef_macros = [] +- if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"): ++ if '--with-libmpdec=system' in sysconfig.get_config_var("CONFIG_ARGS"): + include_dirs = [] + libraries = ['mpdec'] + sources = ['_decimal/_decimal.c'] +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch b/buildroot-2022.02.1/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch new file mode 100644 index 00000000..0459b5a1 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch @@ -0,0 +1,30 @@ +From 9bedc56d2a4b8856162650a11c1fcb6ec38f160b Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Wed, 23 Dec 2015 11:51:58 +0100 +Subject: [PATCH] Add an option to disable the ossaudiodev module + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index e513ef6a20..c07505e89e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3175,6 +3175,12 @@ fi + + AC_MSG_RESULT($with_decimal_contextvar) + ++AC_ARG_ENABLE(ossaudiodev, ++ AS_HELP_STRING([--disable-ossaudiodev], [disable OSSAUDIODEV]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ossaudiodev" ++ fi]) ++ + # Check for support for loadable sqlite extensions + AC_MSG_CHECKING(for --enable-loadable-sqlite-extensions) + AC_ARG_ENABLE(loadable-sqlite-extensions, +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0025-Add-an-option-to-disable-openssl-support.patch b/buildroot-2022.02.1/package/python3/0025-Add-an-option-to-disable-openssl-support.patch new file mode 100644 index 00000000..4801a273 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0025-Add-an-option-to-disable-openssl-support.patch @@ -0,0 +1,30 @@ +From 90ed5c692b8b5596ca0b3ae1436276c8181251d8 Mon Sep 17 00:00:00 2001 +From: Nicolas Cavallari +Date: Wed, 22 Feb 2017 17:55:59 -0800 +Subject: [PATCH] Add an option to disable openssl support. + +Signed-off-by: Nicolas Cavallari +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 08c148c..a81a24c 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3421,6 +3421,12 @@ AC_ARG_ENABLE(unicodedata, + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata" + fi]) + ++AC_ARG_ENABLE(openssl, ++ AS_HELP_STRING([--disable-openssl], [disable openssl support]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib" ++ fi]) ++ + AC_SUBST(TK) + AC_ARG_ENABLE(tk, + AS_HELP_STRING([--disable-tk], [disable tk]), +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch b/buildroot-2022.02.1/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch new file mode 100644 index 00000000..adb04d69 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0026-Add-an-option-to-disable-the-readline-module.patch @@ -0,0 +1,30 @@ +From 049e7a51e1ffd0d28d6608c707ab4b54e816d338 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Tue, 7 Mar 2017 23:29:05 +0100 +Subject: [PATCH] Add an option to disable the readline module + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index a81a24c..41a21ff 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3427,6 +3427,12 @@ AC_ARG_ENABLE(openssl, + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib" + fi]) + ++AC_ARG_ENABLE(readline, ++ AS_HELP_STRING([--disable-readline], [disable readline]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline" ++ fi]) ++ + AC_SUBST(TK) + AC_ARG_ENABLE(tk, + AS_HELP_STRING([--disable-tk], [disable tk]), +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch b/buildroot-2022.02.1/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch new file mode 100644 index 00000000..d466bc3a --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch @@ -0,0 +1,42 @@ +From 146730a04dfe98e3d7971ebf5410801ceae88e11 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Tue, 7 Mar 2017 23:31:11 +0100 +Subject: [PATCH] Add options to disable zlib, bzip2 and xz modules + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 18 ++++++++++++++++++ + 1 file changed, 18 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 41a21ff..fa81bc7 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3433,6 +3433,24 @@ AC_ARG_ENABLE(readline, + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline" + fi]) + ++AC_ARG_ENABLE(bzip2, ++ AS_HELP_STRING([--disable-bzip2], [disable bzip2]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _bz2" ++ fi]) ++ ++AC_ARG_ENABLE(zlib, ++ AS_HELP_STRING([--disable-zlib], [disable zlib]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} zlib" ++ fi]) ++ ++AC_ARG_ENABLE(xz, ++ AS_HELP_STRING([--disable-xz], [disable xz]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _lzma" ++ fi]) ++ + AC_SUBST(TK) + AC_ARG_ENABLE(tk, + AS_HELP_STRING([--disable-tk], [disable tk]), +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch b/buildroot-2022.02.1/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch new file mode 100644 index 00000000..814a9d42 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0028-python-config.sh-don-t-reassign-prefix.patch @@ -0,0 +1,53 @@ +From 106d9378c61e7fa9cad0a63ba068668d54cd11b8 Mon Sep 17 00:00:00 2001 +From: Matt Weber +Date: Fri, 6 Oct 2017 09:54:15 -0500 +Subject: [PATCH] python-config.sh: don't reassign ${prefix} + +When prefix is set to a path like /usr during crossbuild +the sed operations end up executing twice, once for the prefix +reassignment and another for includedir if it is set as a string +including the ${prefix} variable. This results in an issue +when the build directory is under /usr. + +This patch updates the remaining location which uses the prefix +variable to also sed and update to use the real path. + +Upstream bug report: +https://bugs.python.org/issue31713 + +Buildroot bug: +https://bugs.busybox.net/show_bug.cgi?id=10361 + +Fixes failures like the following: +dbus-python-1.2.4 | NOK | http://autobuild.buildroot.net/results/758858efa97b6273c1b470513f5492258a6d8853 + +Signed-off-by: Matthew Weber +--- + Misc/python-config.sh.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in +index a1bc3cd..164d2d3 100644 +--- a/Misc/python-config.sh.in ++++ b/Misc/python-config.sh.in +@@ -31,7 +31,7 @@ prefix_real=$(installed_prefix "$0") + # locations. Keep prefix & exec_prefix using their original values in case + # they are referenced in other configure variables, to prevent double + # substitution, issue #22140. +-prefix=$(echo "$prefix_build" | sed "s#^$prefix_build#$prefix_real#") ++prefix=$prefix_build + exec_prefix=$(echo "$exec_prefix_build" | sed "s#^$exec_prefix_build#$prefix_real#") + exec_prefix_real=${prefix_real} + includedir=$(echo "@includedir@" | sed "s#^$prefix_build#$prefix_real#") +@@ -49,7 +49,7 @@ LDLIBRARY="@LDLIBRARY@" + OPT="@OPT@" + PY_ENABLE_SHARED="@PY_ENABLE_SHARED@" + LDVERSION="@LDVERSION@" +-LIBDEST=${prefix_real}/lib/python${VERSION} ++LIBDEST=$( echo "${prefix}/lib/python${VERSION}" | sed "s#^$prefix_build#$prefix_real#") + LIBPL=$(echo "@LIBPL@" | sed "s#^$prefix_build#$prefix_real#") + SO="@EXT_SUFFIX@" + PYTHONFRAMEWORK="@PYTHONFRAMEWORK@" +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch b/buildroot-2022.02.1/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch new file mode 100644 index 00000000..d19aedb6 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0029-Fix-cross-compiling-the-uuid-module.patch @@ -0,0 +1,43 @@ +From d7b90b157eddefbd0ed59e35c90b083c0c03b644 Mon Sep 17 00:00:00 2001 +From: Adam Duskett +Date: Fri, 20 Jul 2018 10:17:39 -0400 +Subject: [PATCH] Fix cross compiling the uuid module + +Python 3.7 has a new _uuid module, however, the include directory +search path for uuid.h is hardcoded to /usr/include/uuid, which should +not be used when cross-compiling. + +To fix this, use the same solution as the one used by the NIS +detection: append "uuid" to each of the include directories in +"inc_dirs", instead of hardcoding /usr/include/uuid. + +Signed-off-by: Adam Duskett +[Thomas: drop STAGING_DIR based solution, use a solution similar to +the one used for the NIS detection.] +Signed-off-by: Thomas Petazzoni +--- + setup.py | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 3d0c74bb7f..c7be85f352 100644 +--- a/setup.py ++++ b/setup.py +@@ -1866,10 +1866,10 @@ class PyBuildExt(build_ext): + + def detect_uuid(self): + # Build the _uuid module if possible +- uuid_h = sysconfig.get_config_var("HAVE_UUID_H") +- uuid_uuid_h = sysconfig.get_config_var("HAVE_UUID_UUID_H") +- if uuid_h or uuid_uuid_h: +- if sysconfig.get_config_var("HAVE_LIBUUID"): ++ uuid_h = find_file("uuid.h", self.inc_dirs, ++ [os.path.join(inc_dir, 'uuid') for inc_dir in self.inc_dirs]) ++ if uuid_h is not None: ++ if self.compiler.find_library_file(self.lib_dirs, 'uuid'): + uuid_libs = ["uuid"] + else: + uuid_libs = [] +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/python3/0030-Add-an-option-to-disable-uuid-module.patch b/buildroot-2022.02.1/package/python3/0030-Add-an-option-to-disable-uuid-module.patch new file mode 100644 index 00000000..fc4b64dc --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0030-Add-an-option-to-disable-uuid-module.patch @@ -0,0 +1,33 @@ +From 3bb693408eda77dda145ec5fecee56ea73031e9f Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 18 Aug 2018 10:54:56 +0200 +Subject: [PATCH] Add an option to disable uuid module + +Signed-off-by: Thomas Petazzoni +--- + configure.ac | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/configure.ac b/configure.ac +index fa81bc7..4e733f6 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3469,6 +3469,15 @@ if test "$CURSES" = "no"; then + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" + fi + ++AC_SUBST(UUID) ++AC_ARG_ENABLE(uuid, ++ AS_HELP_STRING([--disable-uuid], [disable uuid]), ++ [ UUID="${enableval}" ], [ UUID=yes ]) ++ ++if test "$UUID" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _uuid" ++fi ++ + AC_SUBST(PYDOC) + + AC_ARG_ENABLE(pydoc, +-- +2.30.2 + diff --git a/buildroot-2021.05/package/python3/0032-fix-building-on-older-distributions.patch b/buildroot-2022.02.1/package/python3/0031-fix-building-on-older-distributions.patch similarity index 100% rename from buildroot-2021.05/package/python3/0032-fix-building-on-older-distributions.patch rename to buildroot-2022.02.1/package/python3/0031-fix-building-on-older-distributions.patch diff --git a/buildroot-2022.02.1/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch b/buildroot-2022.02.1/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch new file mode 100644 index 00000000..eff010fa --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch @@ -0,0 +1,51 @@ +From d009b0142f77881dd75ff760fec728dbc8581a03 Mon Sep 17 00:00:00 2001 +From: Peter Korsgaard +Date: Fri, 2 Aug 2019 15:53:16 +0200 +Subject: [PATCH] configure.ac: fixup $CC --print-multiarch output for + musl/uclibc GCC 8+ toolchains + +GCC commit 6834b83784dcf0364eb820e8 (multiarch support for non-glibc linux +systems), which is part of GCC 8+, changed the multiarch logic to use +$arch-linux-musl / $arch-linux-uclibc rather than $arch-linux-gnu. + +This then causes the python3 configure script to error out: + +checking for the platform triplet based on compiler characteristics... powerpc-linux-gnu +configure: error: internal configure error for the platform triplet, please file a bug report + +http://autobuild.buildroot.net/results/cb4/cb49c539501342e45cbe5ade82e588fcdf51f05b + +As it requires that the --print-multiarch output (if not empty) matches the +deduced triplet (which always uses -linux-gnu). + +It isn't quite clear why --print-multiarch returns something for a +non-multiarch toolchain on some architectures (E.G. PowerPC), but as a +workaround, rewrite the --print-multiarch output to match older GCC versions +to keep the configure script happy. + +Signed-off-by: Peter Korsgaard +[Peter: updated for 3.10.2] +--- + configure.ac | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 913051c276..aba03f3779 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -876,7 +876,11 @@ AC_MSG_CHECKING([for multiarch]) + AS_CASE([$ac_sys_system], + [Darwin*], [MULTIARCH=""], + [FreeBSD*], [MULTIARCH=""], +- [MULTIARCH=$($CC --print-multiarch 2>/dev/null)] ++ [ ++ # GCC 8+ returns $arch-linux-{musl,uclibc} for musl/uClibc based ++ # toolchains confusing python. Fix that up ++ MULTIARCH=$($CC --print-multiarch 2>/dev/null | sed -E 's/-linux-(musl|uclibc)*$/-linux-gnu/') ++ ] + ) + AC_SUBST([MULTIARCH]) + AC_MSG_RESULT([$MULTIARCH]) +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch b/buildroot-2022.02.1/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch new file mode 100644 index 00000000..0c0d51a7 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch @@ -0,0 +1,30 @@ +From cf4d7fd9f7cb6c1ced32ee323b2b5755640051b7 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sat, 11 Apr 2020 22:01:40 +0200 +Subject: [PATCH] Add an option to disable the berkeleydb module + +Signed-off-by: Bernd Kuhls +--- + configure.ac | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 4e733f6..1e52f30 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -3480,6 +3480,12 @@ if test "$UUID" = "no"; then + DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _uuid" + fi + ++AC_ARG_ENABLE(berkeleydb, ++ AS_HELP_STRING([--disable-berkeleydb], [disable berkeleydb]), ++ [ if test "$enableval" = "no"; then ++ DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _dbm" ++ fi]) ++ + AC_SUBST(PYDOC) + + AC_ARG_ENABLE(pydoc, +-- +2.30.2 + diff --git a/buildroot-2021.05/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch b/buildroot-2022.02.1/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch similarity index 100% rename from buildroot-2021.05/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch rename to buildroot-2022.02.1/package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch diff --git a/buildroot-2022.02.1/package/python3/Config.in b/buildroot-2022.02.1/package/python3/Config.in new file mode 100644 index 00000000..61470c29 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/Config.in @@ -0,0 +1,129 @@ +comment "python3 needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +config BR2_PACKAGE_PYTHON3 + bool "python3" + depends on BR2_USE_WCHAR + # uses fork() + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_THREADS # libffi + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_LIBFFI + select BR2_PACKAGE_BLUEZ5_UTILS_HEADERS if BR2_PACKAGE_BLUEZ5_UTILS + help + The python language interpreter. + + http://www.python.org/ + +if BR2_PACKAGE_PYTHON3 + +choice + prompt "python3 module format to install" + default BR2_PACKAGE_PYTHON3_PYC_ONLY + help + Select Python module format to install on target (py, pyc or + both) + +config BR2_PACKAGE_PYTHON3_PY_ONLY + bool ".py sources only" + +config BR2_PACKAGE_PYTHON3_PYC_ONLY + bool ".pyc compiled sources only" + +config BR2_PACKAGE_PYTHON3_PY_PYC + bool ".py sources and .pyc compiled" + +endchoice + +menu "core python3 modules" + +comment "The following modules are unusual or require extra libraries" + +config BR2_PACKAGE_PYTHON3_2TO3 + bool "2to3 module" + help + code translation from python 2 to 3 + +config BR2_PACKAGE_PYTHON3_BERKELEYDB + bool "berkeleydb" + select BR2_PACKAGE_BERKELEYDB + help + berkeleydb module for Python3 + +config BR2_PACKAGE_PYTHON3_BZIP2 + bool "bz2 module" + select BR2_PACKAGE_BZIP2 + help + bzip2 module for Python3 + +config BR2_PACKAGE_PYTHON3_CODECSCJK + bool "codecscjk module" + help + Chinese/Japanese/Korean codecs module for Python (large). + +config BR2_PACKAGE_PYTHON3_CURSES + bool "curses module" + select BR2_PACKAGE_NCURSES + help + curses module for Python3. + +config BR2_PACKAGE_PYTHON3_DECIMAL + bool "decimal module" + select BR2_PACKAGE_MPDECIMAL + help + decimal module for Python3. + +config BR2_PACKAGE_PYTHON3_OSSAUDIODEV + bool "ossaudiodev module" + help + ossaudiodev module for Python3. + +config BR2_PACKAGE_PYTHON3_READLINE + bool "readline" + select BR2_PACKAGE_READLINE + help + readline module for Python3 (required for command-line + editing in the Python shell). + +config BR2_PACKAGE_PYTHON3_SSL + bool "ssl" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2 if BR2_PACKAGE_LIBOPENSSL + help + _ssl module for Python3 (required for https in urllib etc). + +config BR2_PACKAGE_PYTHON3_UNICODEDATA + bool "unicodedata module" + default y + help + Unicode character database (used by stringprep module) + (large). + +config BR2_PACKAGE_PYTHON3_SQLITE + bool "sqlite module" + select BR2_PACKAGE_SQLITE + help + SQLite database support + +config BR2_PACKAGE_PYTHON3_PYEXPAT + bool "xml module" + select BR2_PACKAGE_EXPAT + help + pyexpat and xml libraries for Python3. + +config BR2_PACKAGE_PYTHON3_XZ + bool "xz module" + select BR2_PACKAGE_XZ + help + xz (a.k.a lzma) module for Python3 + +config BR2_PACKAGE_PYTHON3_ZLIB + bool "zlib module" + select BR2_PACKAGE_ZLIB + help + zlib support in Python3 + +endmenu + +endif diff --git a/buildroot-2022.02.1/package/python3/Config.in.host b/buildroot-2022.02.1/package/python3/Config.in.host new file mode 100644 index 00000000..77d608bd --- /dev/null +++ b/buildroot-2022.02.1/package/python3/Config.in.host @@ -0,0 +1,21 @@ +config BR2_PACKAGE_HOST_PYTHON3 + bool "host python3" + help + The python language interpreter. Host package. + + http://www.python.org/ + +if BR2_PACKAGE_HOST_PYTHON3 + +config BR2_PACKAGE_HOST_PYTHON3_BZIP2 + bool "bzip2" + help + bz2 module for host Python3. + +config BR2_PACKAGE_HOST_PYTHON3_SSL + bool "ssl" + select BR2_PACKAGE_HOST_OPENSSL + help + _ssl module for host Python3. + +endif diff --git a/buildroot-2022.02.1/package/python3/python3.hash b/buildroot-2022.02.1/package/python3/python3.hash new file mode 100644 index 00000000..97f46534 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/python3.hash @@ -0,0 +1,5 @@ +# From https://www.python.org/downloads/release/python-3102/ +md5 14e8c22458ed7779a1957b26cde01db9 Python-3.10.2.tar.xz +# Locally computed +sha256 17de3ac7da9f2519aa9d64378c603a73a0e9ad58dffa8812e45160c086de64c7 Python-3.10.2.tar.xz +sha256 f03e17cd594c2085f66a454e695c7ebe5b4d3c0eff534f4f194abc2fd164621b LICENSE diff --git a/buildroot-2022.02.1/package/python3/python3.mk b/buildroot-2022.02.1/package/python3/python3.mk new file mode 100644 index 00000000..3a334fb2 --- /dev/null +++ b/buildroot-2022.02.1/package/python3/python3.mk @@ -0,0 +1,331 @@ +################################################################################ +# +# python3 +# +################################################################################ + +PYTHON3_VERSION_MAJOR = 3.10 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).2 +PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz +PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) +PYTHON3_LICENSE = Python-2.0, others +PYTHON3_LICENSE_FILES = LICENSE +PYTHON3_CPE_ID_VENDOR = python +PYTHON3_CPE_ID_PRODUCT = python + +# This host Python is installed in $(HOST_DIR), as it is needed when +# cross-compiling third-party Python modules. + +HOST_PYTHON3_CONF_OPTS += \ + --without-ensurepip \ + --without-cxx-main \ + --disable-sqlite3 \ + --disable-tk \ + --with-expat=system \ + --disable-curses \ + --disable-codecs-cjk \ + --disable-nis \ + --enable-unicodedata \ + --disable-test-modules \ + --disable-idle3 \ + --disable-ossaudiodev + +# Make sure that LD_LIBRARY_PATH overrides -rpath. +# This is needed because libpython may be installed at the same time that +# python is called. +# Make python believe we don't have 'hg', so that it doesn't try to +# communicate over the network during the build. +HOST_PYTHON3_CONF_ENV += \ + LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" \ + ac_cv_prog_HAS_HG=/bin/false + +PYTHON3_DEPENDENCIES = host-python3 libffi + +HOST_PYTHON3_DEPENDENCIES = host-autoconf-archive host-expat host-zlib host-libffi + +ifeq ($(BR2_PACKAGE_HOST_PYTHON3_BZIP2),y) +HOST_PYTHON3_DEPENDENCIES += host-bzip2 +else +HOST_PYTHON3_CONF_OPTS += --disable-bzip2 +endif + +ifeq ($(BR2_PACKAGE_HOST_PYTHON3_SSL),y) +HOST_PYTHON3_DEPENDENCIES += host-openssl +else +HOST_PYTHON3_CONF_OPTS += --disable-openssl +endif + +PYTHON3_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_PYTHON3_2TO3),y) +PYTHON3_CONF_OPTS += --enable-lib2to3 +else +PYTHON3_CONF_OPTS += --disable-lib2to3 +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_BERKELEYDB),y) +PYTHON3_DEPENDENCIES += berkeleydb +else +PYTHON3_CONF_OPTS += --disable-berkeleydb +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_READLINE),y) +PYTHON3_DEPENDENCIES += readline +else +PYTHON3_CONF_OPTS += --disable-readline +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_CURSES),y) +PYTHON3_DEPENDENCIES += ncurses +else +PYTHON3_CONF_OPTS += --disable-curses +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_DECIMAL),y) +PYTHON3_DEPENDENCIES += mpdecimal +PYTHON3_CONF_OPTS += --with-libmpdec=system +else +PYTHON3_CONF_OPTS += --with-libmpdec=none +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_PYEXPAT),y) +PYTHON3_DEPENDENCIES += expat +PYTHON3_CONF_OPTS += --with-expat=system +else +PYTHON3_CONF_OPTS += --with-expat=none +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_SQLITE),y) +PYTHON3_DEPENDENCIES += sqlite +else +PYTHON3_CONF_OPTS += --disable-sqlite3 +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y) +PYTHON3_DEPENDENCIES += openssl +else +PYTHON3_CONF_OPTS += --disable-openssl +endif + +ifneq ($(BR2_PACKAGE_PYTHON3_CODECSCJK),y) +PYTHON3_CONF_OPTS += --disable-codecs-cjk +endif + +ifneq ($(BR2_PACKAGE_PYTHON3_UNICODEDATA),y) +PYTHON3_CONF_OPTS += --disable-unicodedata +endif + +# Disable auto-detection of uuid.h (util-linux) +# which would add _uuid module support, instead +# default to the pure python implementation +PYTHON3_CONF_OPTS += --disable-uuid + +ifeq ($(BR2_PACKAGE_PYTHON3_BZIP2),y) +PYTHON3_DEPENDENCIES += bzip2 +else +PYTHON3_CONF_OPTS += --disable-bzip2 +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_XZ),y) +PYTHON3_DEPENDENCIES += xz +else +PYTHON3_CONF_OPTS += --disable-xz +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_ZLIB),y) +PYTHON3_DEPENDENCIES += zlib +else +PYTHON3_CONF_OPTS += --disable-zlib +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_OSSAUDIODEV),y) +PYTHON3_CONF_OPTS += --enable-ossaudiodev +else +PYTHON3_CONF_OPTS += --disable-ossaudiodev +endif + +# Make python believe we don't have 'hg', so that it doesn't try to +# communicate over the network during the build. +PYTHON3_CONF_ENV += \ + ac_cv_have_long_long_format=yes \ + ac_cv_file__dev_ptmx=yes \ + ac_cv_file__dev_ptc=yes \ + ac_cv_working_tzset=yes \ + ac_cv_prog_HAS_HG=/bin/false + +# GCC is always compliant with IEEE754 +ifeq ($(BR2_ENDIAN),"LITTLE") +PYTHON3_CONF_ENV += ac_cv_little_endian_double=yes +else +PYTHON3_CONF_ENV += ac_cv_big_endian_double=yes +endif + +# uClibc is known to have a broken wcsftime() implementation, so tell +# Python 3 to fall back to strftime() instead. +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +PYTHON3_CONF_ENV += ac_cv_func_wcsftime=no +endif + +ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) +PYTHON3_DEPENDENCIES += gettext +endif + +PYTHON3_CONF_OPTS += \ + --without-ensurepip \ + --without-cxx-main \ + --with-system-ffi \ + --disable-pydoc \ + --disable-test-modules \ + --disable-tk \ + --disable-nis \ + --disable-idle3 \ + --disable-pyc-build + +# +# Some of CPython's source code is generated using Python interpreter +# and some helper tools such as "Programs/_freeze_importlib" or +# "Parser/pgen" (look for regen-* targets in Makefile.pre.in for more +# info). Normally CPython codebase ships with those files +# pre-generated, so just regular "make" with no additional steps +# should be sufficient for a succesfull build, however due to +# Buildroot's "Add importlib fix for PEP 3147 issue" custom patch we +# end up modifying "Lib/importlib/_bootstrap_external.py" which means +# we have to do "regen-importlib" step before building CPython +# (Importlib is a builtin module that needs to be "frozen"/converted +# to a C array of bytecode using "Programs/_freeze_importlib") +# +# To achive that we add pre-build steps to host-python3 as well as +# python3 that execute "regen-importlib" target. +# +# Unfortunately, for the target Python, "Programs/_freeze_importlib" +# is built for the target, while we need to run them at build time. So +# when installing host-python3, we copy them to $(HOST_DIR)/bin... +# +define HOST_PYTHON3_MAKE_REGEN_IMPORTLIB + $(HOST_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) regen-importlib + cp $(@D)/Programs/_freeze_importlib $(HOST_DIR)/bin/python-freeze-importlib +endef + +HOST_PYTHON3_PRE_BUILD_HOOKS += HOST_PYTHON3_MAKE_REGEN_IMPORTLIB +# +# ... And then, when building the target python we first buid +# 'Programs/_freeze_importlib' to force GNU Make to update all of the +# prerequisites of 'Programs/_freeze_importlib', then copy our stashed +# "host-usable" version over the one that was just build and then +# build "regen-importlib" target +# +define PYTHON3_MAKE_REGEN_IMPORTLIB + $(TARGET_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) Programs/_freeze_importlib + cp $(HOST_DIR)/bin/python-freeze-importlib $(@D)/Programs/_freeze_importlib + $(TARGET_MAKE_ENV) $(PYTHON3_CONF_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) regen-importlib +endef + +PYTHON3_PRE_BUILD_HOOKS += PYTHON3_MAKE_REGEN_IMPORTLIB + +# +# Remove useless files. In the config/ directory, only the Makefile +# and the pyconfig.h files are needed at runtime. +# +define PYTHON3_REMOVE_USELESS_FILES + rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)-config + rm -f $(TARGET_DIR)/usr/bin/python$(PYTHON3_VERSION_MAJOR)m-config + rm -f $(TARGET_DIR)/usr/bin/python3-config + rm -f $(TARGET_DIR)/usr/bin/smtpd.py.3 + rm -f $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/distutils/command/wininst*.exe + for i in `find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/config-$(PYTHON3_VERSION_MAJOR)m-*/ \ + -type f -not -name Makefile` ; do \ + rm -f $$i ; \ + done + rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/__pycache__/ + rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/lib-dynload/sysconfigdata/__pycache__ + rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/collections/__pycache__ + rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/importlib/__pycache__ +endef + +PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_REMOVE_USELESS_FILES + +# +# Make sure libpython gets stripped out on target +# +define PYTHON3_ENSURE_LIBPYTHON_STRIPPED + chmod u+w $(TARGET_DIR)/usr/lib/libpython$(PYTHON3_VERSION_MAJOR)*.so +endef + +PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_ENSURE_LIBPYTHON_STRIPPED + +PYTHON3_AUTORECONF = YES +PYTHON3_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive + +define PYTHON3_INSTALL_SYMLINK + ln -fs python3 $(TARGET_DIR)/usr/bin/python +endef + +PYTHON3_POST_INSTALL_TARGET_HOOKS += PYTHON3_INSTALL_SYMLINK + +define HOST_PYTHON3_INSTALL_SYMLINK + ln -fs python3 $(HOST_DIR)/bin/python + ln -fs python3-config $(HOST_DIR)/bin/python-config +endef + +HOST_PYTHON3_POST_INSTALL_HOOKS += HOST_PYTHON3_INSTALL_SYMLINK + +# Provided to other packages +PYTHON3_PATH = $(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/ + +# Support for socket.AF_BLUETOOTH +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS_HEADERS),y) +PYTHON3_DEPENDENCIES += bluez5_utils-headers +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) + +ifeq ($(BR2_REPRODUCIBLE),y) +define PYTHON3_FIX_TIME + find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -name '*.py' -print0 | \ + xargs -0 --no-run-if-empty touch -d @$(SOURCE_DATE_EPOCH) +endef +endif + +define PYTHON3_CREATE_PYC_FILES + $(PYTHON3_FIX_TIME) + PYTHONPATH="$(PYTHON3_PATH)" \ + $(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) \ + $(TOPDIR)/support/scripts/pycompile.py \ + $(if $(VERBOSE),--verbose) \ + --strip-root $(TARGET_DIR) \ + $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) +endef + +ifeq ($(BR2_PACKAGE_PYTHON3_PYC_ONLY)$(BR2_PACKAGE_PYTHON3_PY_PYC),y) +PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_CREATE_PYC_FILES +endif + +ifeq ($(BR2_PACKAGE_PYTHON3_PYC_ONLY),y) +define PYTHON3_REMOVE_PY_FILES + find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -name '*.py' \ + $(if $(strip $(KEEP_PYTHON_PY_FILES)),-not \( $(call finddirclauses,$(TARGET_DIR),$(KEEP_PYTHON_PY_FILES)) \) ) \ + -print0 | \ + xargs -0 --no-run-if-empty rm -f +endef +PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_REMOVE_PY_FILES +endif + +# Normally, *.pyc files should not have been compiled, but just in +# case, we make sure we remove all of them. +ifeq ($(BR2_PACKAGE_PYTHON3_PY_ONLY),y) +define PYTHON3_REMOVE_PYC_FILES + find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -name '*.pyc' -print0 | \ + xargs -0 --no-run-if-empty rm -f +endef +PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_REMOVE_PYC_FILES +endif + +# In all cases, we don't want to keep the optimized .opt-1.pyc and +# .opt-2.pyc files, since they can't work without their non-optimized +# variant. +define PYTHON3_REMOVE_OPTIMIZED_PYC_FILES + find $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR) -name '*.opt-1.pyc' -print0 -o -name '*.opt-2.pyc' -print0 | \ + xargs -0 --no-run-if-empty rm -f +endef +PYTHON3_TARGET_FINALIZE_HOOKS += PYTHON3_REMOVE_OPTIMIZED_PYC_FILES diff --git a/buildroot-2021.05/package/qcom-db410c-firmware/Config.in b/buildroot-2022.02.1/package/qcom-db410c-firmware/Config.in similarity index 100% rename from buildroot-2021.05/package/qcom-db410c-firmware/Config.in rename to buildroot-2022.02.1/package/qcom-db410c-firmware/Config.in diff --git a/buildroot-2021.05/package/qcom-db410c-firmware/qcom-db410c-firmware.hash b/buildroot-2022.02.1/package/qcom-db410c-firmware/qcom-db410c-firmware.hash similarity index 100% rename from buildroot-2021.05/package/qcom-db410c-firmware/qcom-db410c-firmware.hash rename to buildroot-2022.02.1/package/qcom-db410c-firmware/qcom-db410c-firmware.hash diff --git a/buildroot-2021.05/package/qcom-db410c-firmware/qcom-db410c-firmware.mk b/buildroot-2022.02.1/package/qcom-db410c-firmware/qcom-db410c-firmware.mk similarity index 100% rename from buildroot-2021.05/package/qcom-db410c-firmware/qcom-db410c-firmware.mk rename to buildroot-2022.02.1/package/qcom-db410c-firmware/qcom-db410c-firmware.mk diff --git a/buildroot-2021.05/package/qdecoder/Config.in b/buildroot-2022.02.1/package/qdecoder/Config.in similarity index 100% rename from buildroot-2021.05/package/qdecoder/Config.in rename to buildroot-2022.02.1/package/qdecoder/Config.in diff --git a/buildroot-2021.05/package/qdecoder/qdecoder.hash b/buildroot-2022.02.1/package/qdecoder/qdecoder.hash similarity index 100% rename from buildroot-2021.05/package/qdecoder/qdecoder.hash rename to buildroot-2022.02.1/package/qdecoder/qdecoder.hash diff --git a/buildroot-2022.02.1/package/qdecoder/qdecoder.mk b/buildroot-2022.02.1/package/qdecoder/qdecoder.mk new file mode 100644 index 00000000..8cb5d3bc --- /dev/null +++ b/buildroot-2022.02.1/package/qdecoder/qdecoder.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# qdecoder +# +################################################################################ + +QDECODER_VERSION = 12.0.8 +QDECODER_SITE = $(call github,wolkykim,qdecoder,v$(QDECODER_VERSION)) +QDECODER_LICENSE = BSD-2-Clause +QDECODER_LICENSE_FILES = COPYING +QDECODER_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' + +QDECODER_INSTALL_STAGING = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/qemu/0001-tests-fp-disable-fp-bench-build-by-default.patch b/buildroot-2022.02.1/package/qemu/0001-tests-fp-disable-fp-bench-build-by-default.patch new file mode 100644 index 00000000..9bc8d43d --- /dev/null +++ b/buildroot-2022.02.1/package/qemu/0001-tests-fp-disable-fp-bench-build-by-default.patch @@ -0,0 +1,28 @@ +From f82238299d3c4cd23ca60cfc0cf4271f5c860873 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Wed, 25 Aug 2021 21:55:53 +0200 +Subject: [PATCH] tests/fp: disable fp-bench build by default + +Fixes: +https://lists.nongnu.org/archive/html/qemu-devel/2021-03/msg00947.html + +Signed-off-by: Romain Naour +--- + tests/fp/meson.build | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/fp/meson.build b/tests/fp/meson.build +index 07e2cdc8d2..c96460b7f1 100644 +--- a/tests/fp/meson.build ++++ b/tests/fp/meson.build +@@ -631,6 +631,7 @@ fpbench = executable( + dependencies: [qemuutil], + include_directories: [sfinc, include_directories(tfdir)], + c_args: fpcflags, ++ build_by_default: false, + ) + + fptestlog2 = executable( +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/qemu/Config.in b/buildroot-2022.02.1/package/qemu/Config.in new file mode 100644 index 00000000..7bb203a1 --- /dev/null +++ b/buildroot-2022.02.1/package/qemu/Config.in @@ -0,0 +1,154 @@ +config BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET + bool + # Only tested on these architectures + default y if BR2_aarch64 || BR2_i386 || BR2_mips || BR2_mipsel \ + || BR2_x86_64 || BR2_arm \ + || BR2_powerpc64 || BR2_powerpc64le + +comment "QEMU requires a toolchain with wchar, threads, gcc >= 8" + depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET + depends on BR2_USE_MMU + depends on !(BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_WCHAR) || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + +config BR2_PACKAGE_QEMU + bool "QEMU" + depends on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR # gettext + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_PIXMAN + select BR2_PACKAGE_ZLIB + help + QEMU is a generic and open source machine emulator and + virtualizer. + + When used as a machine emulator, QEMU can run OSes and + programs made for one machine (e.g. an ARM board) on a + different machine (e.g. your own PC). By using dynamic + translation, it achieves very good performance. + + When used as a virtualizer, QEMU achieves near native + performances by executing the guest code directly on the + host CPU. QEMU supports virtualization when executing under + the Xen hypervisor or using the KVM kernel module in + Linux. When using KVM, QEMU can virtualize x86, server and + embedded PowerPC, and S390 guests. + + http://qemu.org/ + +if BR2_PACKAGE_QEMU + +comment "Emulators selection" + +config BR2_PACKAGE_QEMU_CUSTOM_TARGETS + string "Enable specific targets" + help + Enter here the list of QEMU targets you want to build. For + example: + + System emulation | User-land emulation + ----------------------+----------------------- + i386-softmmu | i386-linux-user + arm-softmmu | ppc-linux-user + x86_64-softmmu | sparc-bsd-user + ... | ... + +comment "Networking options" + +config BR2_PACKAGE_QEMU_SLIRP + bool "Enable user mode networking (SLIRP)" + select BR2_PACKAGE_SLIRP + help + Enable user mode network stack, which is the default + networking backend. It requires no administrator privileges + and generally is the easiest to use but has some + limitations: + + - there is a lot of overhead so the performance is poor; + - in general ICMP does not work (can't ping from/to a guest) + - on Linux hosts, ping does work from within the guest, but it + needs initial setup by root (once per host) + - the guest is not directly accessible from the host or the + external network + + User Networking is implemented using "slirp", which provides a + full TCP/IP stack within QEMU and uses that stack to implement + a virtual NAT'd network. + + Notice that this option does not disable other networking + modes. + +if BR2_PACKAGE_QEMU_CUSTOM_TARGETS = "" + +comment "... or you can select emulator families to enable, below:" + +config BR2_PACKAGE_QEMU_SYSTEM + bool "Enable all systems emulation" + depends on !BR2_STATIC_LIBS # dtc + select BR2_PACKAGE_QEMU_FDT + help + Say 'y' to build all system emulators/virtualisers that QEMU + supports. + +comment "systems emulation needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_QEMU_LINUX_USER + bool "Enable all Linux user-land emulation" + # Incompatible "struct sigevent" definition on musl + depends on !BR2_TOOLCHAIN_USES_MUSL + help + Say 'y' to build all Linux user-land emulators that QEMU + supports. + +# Note: bsd-user can not be build on Linux + +comment "Linux user-land emulation needs a glibc or uClibc toolchain" + depends on BR2_TOOLCHAIN_USES_MUSL + +endif # BR2_PACKAGE_QEMU_CUSTOM_TARGETS == "" + +config BR2_PACKAGE_QEMU_HAS_EMULS + def_bool y + depends on BR2_PACKAGE_QEMU_SYSTEM || BR2_PACKAGE_QEMU_LINUX_USER || BR2_PACKAGE_QEMU_CUSTOM_TARGETS != "" + +if BR2_PACKAGE_QEMU_HAS_EMULS + +comment "Frontends" + +config BR2_PACKAGE_QEMU_SDL + bool "Enable SDL frontend" + depends on !BR2_STATIC_LIBS # sdl2 + select BR2_PACKAGE_SDL2 + help + Say 'y' to enable the SDL frontend, that is, a graphical + window presenting the VM's display. + +comment "SDL frontend needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +comment "Misc. features" + +config BR2_PACKAGE_QEMU_FDT + bool "Enable FDT" + depends on !BR2_STATIC_LIBS # dtc + select BR2_PACKAGE_DTC + help + Say 'y' here to have QEMU capable of constructing Device + Trees, and passing them to the VMs. + +comment "FDT support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +endif # BR2_PACKAGE_QEMU_HAS_EMULS + +config BR2_PACKAGE_QEMU_TOOLS + bool "Enable tools" + help + Say 'y' here to include tools packaged with QEMU + (e.g. qemu-img). + +endif # BR2_PACKAGE_QEMU diff --git a/buildroot-2022.02.1/package/qemu/Config.in.host b/buildroot-2022.02.1/package/qemu/Config.in.host new file mode 100644 index 00000000..f9cdb9b7 --- /dev/null +++ b/buildroot-2022.02.1/package/qemu/Config.in.host @@ -0,0 +1,105 @@ +config BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS + bool + default y if BR2_arm + default y if BR2_armeb + default y if BR2_aarch64 + default y if BR2_i386 + default y if BR2_m68k + default y if BR2_microblazeel + default y if BR2_microblazebe + default y if BR2_mips + default y if BR2_mipsel + default y if BR2_nios2 + default y if BR2_or1k + default y if BR2_powerpc + default y if BR2_powerpc64 + default y if BR2_powerpc64le + default y if BR2_riscv + default y if BR2_s390x + default y if BR2_sh + default y if BR2_sparc + default y if BR2_sparc64 + default y if BR2_xtensa + default y if BR2_x86_64 + depends on !BR2_x86_steamroller && !BR2_x86_core_avx2 + depends on !BR2_powerpc_620 && !BR2_powerpc_630 + +config BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS + bool + default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS + default y if BR2_mips64 + default y if BR2_mips64el + +config BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS + bool + default y if BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS + +config BR2_PACKAGE_HOST_QEMU + bool "host qemu" + depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS + depends on BR2_HOST_GCC_AT_LEAST_8 + select BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE \ + if !BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE && BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS + select BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE \ + if !BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS + help + QEMU is a generic and open source machine emulator and + virtualizer. + + This option builds an emulator for your selected architecture. + + http://www.qemu.org + +comment "host-qemu needs a host gcc >= 8" + depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS || \ + BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORT + depends on !BR2_HOST_GCC_AT_LEAST_8 + +if BR2_PACKAGE_HOST_QEMU + +comment "Emulators selection" + +config BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE + bool "Enable system emulation" + depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS + help + Enables the build of the system emulator, which allows to + boot an entire system in Qemu. + +config BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE + bool "Enable Linux user-land emulation" + depends on BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS + help + Enables the build of the user-land emulator, which allows to + run user-space applications. + + Note that system calls made by the emulated user-land are + serviced by the running host kernel. Therefore, if the + kernel headers used by your target are more recent than + the running host kernel, you may run into invalid system + calls, which may yield surprising effects. + +config BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS + string + default "-cpu Nehalem,check=false" if BR2_x86_corei7 + +config BR2_PACKAGE_HOST_QEMU_VDE2 + bool "VDE2 support" + help + Enables VDE2 support. VDE2 stands for Virtual Distributed + Ethernet and can be used to create virtual switches to + "plug" both physical and virtual machines in them. + +config BR2_PACKAGE_HOST_QEMU_VIRTFS + bool "Virtual filesystem support" + depends on BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE + help + Enables support for virtual filesystem in Qemu allowing + shared filesystem between Qemu and its emulated target. + +config BR2_PACKAGE_HOST_QEMU_USB + bool "USB passthrough support" + help + Enables USB passthrough support from guest to host. + +endif diff --git a/buildroot-2022.02.1/package/qemu/qemu.hash b/buildroot-2022.02.1/package/qemu/qemu.hash new file mode 100644 index 00000000..94118323 --- /dev/null +++ b/buildroot-2022.02.1/package/qemu/qemu.hash @@ -0,0 +1,4 @@ +# Locally computed, tarball verified with GPG signature +sha256 68e15d8e45ac56326e0b9a4afa8b49a3dfe8aba3488221d098c84698bca65b45 qemu-6.2.0.tar.xz +sha256 6f04ae8364d0079a192b14635f4b1da294ce18724c034c39a6a41d1b09df6100 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2022.02.1/package/qemu/qemu.mk b/buildroot-2022.02.1/package/qemu/qemu.mk new file mode 100644 index 00000000..e69e8130 --- /dev/null +++ b/buildroot-2022.02.1/package/qemu/qemu.mk @@ -0,0 +1,405 @@ +################################################################################ +# +# qemu +# +################################################################################ + +QEMU_VERSION = 6.2.0 +QEMU_SOURCE = qemu-$(QEMU_VERSION).tar.xz +QEMU_SITE = http://download.qemu.org +QEMU_LICENSE = GPL-2.0, LGPL-2.1, MIT, BSD-3-Clause, BSD-2-Clause, Others/BSD-1c +QEMU_LICENSE_FILES = COPYING COPYING.LIB +# NOTE: there is no top-level license file for non-(L)GPL licenses; +# the non-(L)GPL license texts are specified in the affected +# individual source files. +QEMU_CPE_ID_VENDOR = qemu + +#------------------------------------------------------------- + +# The build system is now partly based on Meson. +# However, building is still done with configure and make as in previous versions of QEMU. + +# Target-qemu +QEMU_DEPENDENCIES = host-meson host-pkgconf libglib2 zlib pixman host-python3 + +# Need the LIBS variable because librt and libm are +# not automatically pulled. :-( +QEMU_LIBS = -lrt -lm + +QEMU_OPTS = + +QEMU_VARS = LIBTOOL=$(HOST_DIR)/bin/libtool + +# If we want to specify only a subset of targets, we must still enable all +# of them, so that QEMU properly builds its list of default targets, from +# which it then checks if the specified sub-set is valid. That's what we +# do in the first part of the if-clause. +# Otherwise, if we do not want to pass a sub-set of targets, we then need +# to either enable or disable -user and/or -system emulation appropriately. +# That's what we do in the else-clause. +ifneq ($(call qstrip,$(BR2_PACKAGE_QEMU_CUSTOM_TARGETS)),) +QEMU_OPTS += --enable-system --enable-linux-user +QEMU_OPTS += --target-list="$(call qstrip,$(BR2_PACKAGE_QEMU_CUSTOM_TARGETS))" +else + +ifeq ($(BR2_PACKAGE_QEMU_SYSTEM),y) +QEMU_OPTS += --enable-system +else +QEMU_OPTS += --disable-system +endif + +ifeq ($(BR2_PACKAGE_QEMU_LINUX_USER),y) +QEMU_OPTS += --enable-linux-user +else +QEMU_OPTS += --disable-linux-user +endif + +endif + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +QEMU_OPTS += --disable-vhost-user +else +QEMU_OPTS += --enable-vhost-user +endif + +ifeq ($(BR2_PACKAGE_QEMU_SLIRP),y) +QEMU_OPTS += --enable-slirp=system +QEMU_DEPENDENCIES += slirp +else +QEMU_OPTS += --disable-slirp +endif + +ifeq ($(BR2_PACKAGE_QEMU_SDL),y) +QEMU_OPTS += --enable-sdl +QEMU_DEPENDENCIES += sdl2 +QEMU_VARS += SDL2_CONFIG=$(BR2_STAGING_DIR)/usr/bin/sdl2-config +else +QEMU_OPTS += --disable-sdl +endif + +ifeq ($(BR2_PACKAGE_QEMU_FDT),y) +QEMU_OPTS += --enable-fdt +QEMU_DEPENDENCIES += dtc +else +QEMU_OPTS += --disable-fdt +endif + +ifeq ($(BR2_PACKAGE_QEMU_TOOLS),y) +QEMU_OPTS += --enable-tools +else +QEMU_OPTS += --disable-tools +endif + +ifeq ($(BR2_PACKAGE_LIBFUSE3),y) +QEMU_OPTS += --enable-fuse --enable-fuse-lseek +QEMU_DEPENDENCIES += libfuse3 +else +QEMU_OPTS += --disable-fuse --disable-fuse-lseek +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +QEMU_OPTS += --enable-seccomp +QEMU_DEPENDENCIES += libseccomp +else +QEMU_OPTS += --disable-seccomp +endif + +ifeq ($(BR2_PACKAGE_LIBSSH),y) +QEMU_OPTS += --enable-libssh +QEMU_DEPENDENCIES += libssh +else +QEMU_OPTS += --disable-libssh +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +QEMU_OPTS += --enable-libusb +QEMU_DEPENDENCIES += libusb +else +QEMU_OPTS += --disable-libusb +endif + +ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) +QEMU_OPTS += \ + --enable-vnc \ + --disable-vnc-sasl +QEMU_DEPENDENCIES += libvncserver +ifeq ($(BR2_PACKAGE_LIBPNG),y) +QEMU_OPTS += --enable-vnc-png +QEMU_DEPENDENCIES += libpng +else +QEMU_OPTS += --disable-vnc-png +endif +ifeq ($(BR2_PACKAGE_JPEG),y) +QEMU_OPTS += --enable-vnc-jpeg +QEMU_DEPENDENCIES += jpeg +else +QEMU_OPTS += --disable-vnc-jpeg +endif +else +QEMU_OPTS += --disable-vnc +endif + +ifeq ($(BR2_PACKAGE_NETTLE),y) +QEMU_OPTS += --enable-nettle +QEMU_DEPENDENCIES += nettle +else +QEMU_OPTS += --disable-nettle +endif + +ifeq ($(BR2_PACKAGE_NUMACTL),y) +QEMU_OPTS += --enable-numa +QEMU_DEPENDENCIES += numactl +else +QEMU_OPTS += --disable-numa +endif + +ifeq ($(BR2_PACKAGE_SPICE),y) +QEMU_OPTS += --enable-spice +QEMU_DEPENDENCIES += spice +else +QEMU_OPTS += --disable-spice +endif + +ifeq ($(BR2_PACKAGE_USBREDIR),y) +QEMU_OPTS += --enable-usb-redir +QEMU_DEPENDENCIES += usbredir +else +QEMU_OPTS += --disable-usb-redir +endif + +ifeq ($(BR2_STATIC_LIBS),y) +QEMU_OPTS += --static +endif + +# Override CPP, as it expects to be able to call it like it'd +# call the compiler. +define QEMU_CONFIGURE_CMDS + unset TARGET_DIR; \ + cd $(@D); \ + LIBS='$(QEMU_LIBS)' \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + CPP="$(TARGET_CC) -E" \ + $(QEMU_VARS) \ + ./configure \ + --prefix=/usr \ + --cross-prefix=$(TARGET_CROSS) \ + --audio-drv-list= \ + --meson=$(HOST_DIR)/bin/meson \ + --ninja=$(HOST_DIR)/bin/ninja \ + --disable-alsa \ + --disable-bpf \ + --disable-brlapi \ + --disable-bsd-user \ + --disable-cap-ng \ + --disable-capstone \ + --disable-containers \ + --disable-coreaudio \ + --disable-curl \ + --disable-curses \ + --disable-docs \ + --disable-dsound \ + --disable-hvf \ + --disable-jack \ + --disable-libiscsi \ + --disable-libxml2 \ + --disable-linux-aio \ + --disable-linux-io-uring \ + --disable-malloc-trim \ + --disable-membarrier \ + --disable-mpath \ + --disable-netmap \ + --disable-opengl \ + --disable-oss \ + --disable-pa \ + --disable-rbd \ + --disable-sanitizers \ + --disable-selinux \ + --disable-sparse \ + --disable-strip \ + --disable-vde \ + --disable-vhost-crypto \ + --disable-vhost-user-blk-server \ + --disable-virtfs \ + --disable-virtiofsd \ + --disable-whpx \ + --disable-xen \ + --enable-attr \ + --enable-kvm \ + --enable-vhost-net \ + --with-git-submodules=ignore \ + $(QEMU_OPTS) +endef + +define QEMU_BUILD_CMDS + unset TARGET_DIR; \ + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define QEMU_INSTALL_TARGET_CMDS + unset TARGET_DIR; \ + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(QEMU_MAKE_ENV) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) + +#------------------------------------------------------------- +# Host-qemu + +HOST_QEMU_DEPENDENCIES = host-meson host-pkgconf host-zlib host-libglib2 host-pixman host-python3 + +# BR ARCH qemu +# ------- ---- +# arm arm +# armeb armeb +# i486 i386 +# i586 i386 +# i686 i386 +# x86_64 x86_64 +# m68k m68k +# microblaze microblaze +# mips mips +# mipsel mipsel +# mips64 mips64 +# mips64el mips64el +# nios2 nios2 +# or1k or1k +# powerpc ppc +# powerpc64 ppc64 +# powerpc64le ppc64 (system) / ppc64le (usermode) +# sh2a not supported +# sh4 sh4 +# sh4eb sh4eb +# sh4a sh4 +# sh4aeb sh4eb +# sparc sparc +# sparc64 sparc64 +# xtensa xtensa + +HOST_QEMU_ARCH = $(ARCH) +ifeq ($(HOST_QEMU_ARCH),i486) +HOST_QEMU_ARCH = i386 +endif +ifeq ($(HOST_QEMU_ARCH),i586) +HOST_QEMU_ARCH = i386 +endif +ifeq ($(HOST_QEMU_ARCH),i686) +HOST_QEMU_ARCH = i386 +endif +ifeq ($(HOST_QEMU_ARCH),powerpc) +HOST_QEMU_ARCH = ppc +endif +ifeq ($(HOST_QEMU_ARCH),powerpc64) +HOST_QEMU_ARCH = ppc64 +endif +ifeq ($(HOST_QEMU_ARCH),powerpc64le) +HOST_QEMU_ARCH = ppc64le +HOST_QEMU_SYS_ARCH = ppc64 +endif +ifeq ($(HOST_QEMU_ARCH),sh4a) +HOST_QEMU_ARCH = sh4 +endif +ifeq ($(HOST_QEMU_ARCH),sh4aeb) +HOST_QEMU_ARCH = sh4eb +endif +HOST_QEMU_SYS_ARCH ?= $(HOST_QEMU_ARCH) + +HOST_QEMU_CFLAGS = $(HOST_CFLAGS) + +ifeq ($(BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE),y) +HOST_QEMU_TARGETS += $(HOST_QEMU_SYS_ARCH)-softmmu +HOST_QEMU_OPTS += --enable-system --enable-fdt +HOST_QEMU_CFLAGS += -I$(HOST_DIR)/include/libfdt +HOST_QEMU_DEPENDENCIES += host-dtc +else +HOST_QEMU_OPTS += --disable-system +endif + +ifeq ($(BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE),y) +HOST_QEMU_TARGETS += $(HOST_QEMU_ARCH)-linux-user +HOST_QEMU_OPTS += --enable-linux-user + +HOST_QEMU_HOST_SYSTEM_TYPE = $(shell uname -s) +ifneq ($(HOST_QEMU_HOST_SYSTEM_TYPE),Linux) +$(error "qemu-user can only be used on Linux hosts") +endif + +else # BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE +HOST_QEMU_OPTS += --disable-linux-user +endif # BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE + +ifeq ($(BR2_PACKAGE_HOST_QEMU_VDE2),y) +HOST_QEMU_OPTS += --enable-vde +HOST_QEMU_DEPENDENCIES += host-vde2 +endif + +# virtfs-proxy-helper is the only user of libcap-ng. +ifeq ($(BR2_PACKAGE_HOST_QEMU_VIRTFS),y) +HOST_QEMU_OPTS += --enable-virtfs --enable-cap-ng +HOST_QEMU_DEPENDENCIES += host-libcap-ng +else +HOST_QEMU_OPTS += --disable-virtfs --disable-cap-ng +endif + +ifeq ($(BR2_PACKAGE_HOST_QEMU_USB),y) +HOST_QEMU_OPTS += --enable-libusb +HOST_QEMU_DEPENDENCIES += host-libusb +else +HOST_QEMU_OPTS += --disable-libusb +endif + +# Override CPP, as it expects to be able to call it like it'd +# call the compiler. +define HOST_QEMU_CONFIGURE_CMDS + unset TARGET_DIR; \ + cd $(@D); $(HOST_CONFIGURE_OPTS) CPP="$(HOSTCC) -E" \ + ./configure \ + --target-list="$(HOST_QEMU_TARGETS)" \ + --prefix="$(HOST_DIR)" \ + --interp-prefix=$(STAGING_DIR) \ + --cc="$(HOSTCC)" \ + --host-cc="$(HOSTCC)" \ + --extra-cflags="$(HOST_QEMU_CFLAGS)" \ + --extra-ldflags="$(HOST_LDFLAGS)" \ + --meson=$(HOST_DIR)/bin/meson \ + --ninja=$(HOST_DIR)/bin/ninja \ + --disable-alsa \ + --disable-bpf \ + --disable-bzip2 \ + --disable-containers \ + --disable-coreaudio \ + --disable-curl \ + --disable-docs \ + --disable-dsound \ + --disable-jack \ + --disable-libssh \ + --disable-linux-aio \ + --disable-linux-io-uring \ + --disable-netmap \ + --disable-oss \ + --disable-pa \ + --disable-sdl \ + --disable-selinux \ + --disable-vde \ + --disable-vhost-user-blk-server \ + --disable-virtiofsd \ + --disable-vnc-jpeg \ + --disable-vnc-png \ + --disable-vnc-sasl \ + $(HOST_QEMU_OPTS) +endef + +define HOST_QEMU_BUILD_CMDS + unset TARGET_DIR; \ + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define HOST_QEMU_INSTALL_CMDS + unset TARGET_DIR; \ + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) install +endef + +$(eval $(host-generic-package)) + +# variable used by other packages +QEMU_USER = $(HOST_DIR)/bin/qemu-$(HOST_QEMU_ARCH) diff --git a/buildroot-2021.05/package/qextserialport/0001-Create-a-main-include-file-QExtSerialPort.patch b/buildroot-2022.02.1/package/qextserialport/0001-Create-a-main-include-file-QExtSerialPort.patch similarity index 100% rename from buildroot-2021.05/package/qextserialport/0001-Create-a-main-include-file-QExtSerialPort.patch rename to buildroot-2022.02.1/package/qextserialport/0001-Create-a-main-include-file-QExtSerialPort.patch diff --git a/buildroot-2021.05/package/qextserialport/0002-Tell-qmake-to-add-a-pkgconfig-file-to-ease-usage-wit.patch b/buildroot-2022.02.1/package/qextserialport/0002-Tell-qmake-to-add-a-pkgconfig-file-to-ease-usage-wit.patch similarity index 100% rename from buildroot-2021.05/package/qextserialport/0002-Tell-qmake-to-add-a-pkgconfig-file-to-ease-usage-wit.patch rename to buildroot-2022.02.1/package/qextserialport/0002-Tell-qmake-to-add-a-pkgconfig-file-to-ease-usage-wit.patch diff --git a/buildroot-2021.05/package/qextserialport/Config.in b/buildroot-2022.02.1/package/qextserialport/Config.in similarity index 100% rename from buildroot-2021.05/package/qextserialport/Config.in rename to buildroot-2022.02.1/package/qextserialport/Config.in diff --git a/buildroot-2021.05/package/qextserialport/qextserialport.hash b/buildroot-2022.02.1/package/qextserialport/qextserialport.hash similarity index 100% rename from buildroot-2021.05/package/qextserialport/qextserialport.hash rename to buildroot-2022.02.1/package/qextserialport/qextserialport.hash diff --git a/buildroot-2021.05/package/qextserialport/qextserialport.mk b/buildroot-2022.02.1/package/qextserialport/qextserialport.mk similarity index 100% rename from buildroot-2021.05/package/qextserialport/qextserialport.mk rename to buildroot-2022.02.1/package/qextserialport/qextserialport.mk diff --git a/buildroot-2021.05/package/qhull/Config.in b/buildroot-2022.02.1/package/qhull/Config.in similarity index 100% rename from buildroot-2021.05/package/qhull/Config.in rename to buildroot-2022.02.1/package/qhull/Config.in diff --git a/buildroot-2021.05/package/qhull/qhull.hash b/buildroot-2022.02.1/package/qhull/qhull.hash similarity index 100% rename from buildroot-2021.05/package/qhull/qhull.hash rename to buildroot-2022.02.1/package/qhull/qhull.hash diff --git a/buildroot-2022.02.1/package/qhull/qhull.mk b/buildroot-2022.02.1/package/qhull/qhull.mk new file mode 100644 index 00000000..72f62704 --- /dev/null +++ b/buildroot-2022.02.1/package/qhull/qhull.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# qhull +# +################################################################################ + +QHULL_VERSION = 8.0.2 +QHULL_SITE = http://www.qhull.org/download +QHULL_SOURCE = qhull-2020-src-$(QHULL_VERSION).tgz +QHULL_INSTALL_STAGING = YES +QHULL_LICENSE = BSD-Style +QHULL_LICENSE_FILES = COPYING.txt + +# Force Release mode to always build qhull_r instead of qhull_rd +QHULL_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release + +# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable +# although BUILD_STATIC_LIBS=ON is default, make it explicit, +# cmake and static/shared libs is confusing enough already. +ifeq ($(BR2_STATIC_LIBS),y) +QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=ON +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=ON +else ifeq ($(BR2_SHARED_LIBS),y) +QHULL_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/qjson/Config.in b/buildroot-2022.02.1/package/qjson/Config.in similarity index 100% rename from buildroot-2021.05/package/qjson/Config.in rename to buildroot-2022.02.1/package/qjson/Config.in diff --git a/buildroot-2021.05/package/qjson/qjson.hash b/buildroot-2022.02.1/package/qjson/qjson.hash similarity index 100% rename from buildroot-2021.05/package/qjson/qjson.hash rename to buildroot-2022.02.1/package/qjson/qjson.hash diff --git a/buildroot-2021.05/package/qjson/qjson.mk b/buildroot-2022.02.1/package/qjson/qjson.mk similarity index 100% rename from buildroot-2021.05/package/qjson/qjson.mk rename to buildroot-2022.02.1/package/qjson/qjson.mk diff --git a/buildroot-2021.05/package/qlibc/Config.in b/buildroot-2022.02.1/package/qlibc/Config.in similarity index 100% rename from buildroot-2021.05/package/qlibc/Config.in rename to buildroot-2022.02.1/package/qlibc/Config.in diff --git a/buildroot-2021.05/package/qlibc/qlibc.hash b/buildroot-2022.02.1/package/qlibc/qlibc.hash similarity index 100% rename from buildroot-2021.05/package/qlibc/qlibc.hash rename to buildroot-2022.02.1/package/qlibc/qlibc.hash diff --git a/buildroot-2021.05/package/qlibc/qlibc.mk b/buildroot-2022.02.1/package/qlibc/qlibc.mk similarity index 100% rename from buildroot-2021.05/package/qlibc/qlibc.mk rename to buildroot-2022.02.1/package/qlibc/qlibc.mk diff --git a/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/Config.in b/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/Config.in new file mode 100644 index 00000000..3f494bd3 --- /dev/null +++ b/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/Config.in @@ -0,0 +1,4 @@ +config BR2_PACKAGE_QORIQ_CADENCE_DP_FIRMWARE + bool "qoriq-cadence-dp-firmware" + help + NXP QorIQ cadence DP firmware, a resident EL3 firmware. diff --git a/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.hash b/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.hash new file mode 100644 index 00000000..89aaf1d7 --- /dev/null +++ b/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 5871c5717be32f14a59624d5699d405e8ce9ae2e9c9ef86fd16e13d264a40e58 firmware-cadence-lsdk1909.bin +sha256 d55f024af2bfff714b90de596f6d0399124b999e8c18a86b13a3b507bae6f561 COPYING diff --git a/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.mk b/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.mk new file mode 100644 index 00000000..23643d24 --- /dev/null +++ b/buildroot-2022.02.1/package/qoriq-cadence-dp-firmware/qoriq-cadence-dp-firmware.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# qoriq-cadence-dp-firmware +# +################################################################################ + +QORIQ_CADENCE_DP_FIRMWARE_VERSION = lsdk1909 +QORIQ_CADENCE_DP_FIRMWARE_SITE = http://www.nxp.com/lgfiles/sdk/$(QORIQ_CADENCE_DP_FIRMWARE_VERSION) +QORIQ_CADENCE_DP_FIRMWARE_SOURCE = firmware-cadence-$(QORIQ_CADENCE_DP_FIRMWARE_VERSION).bin +QORIQ_CADENCE_DP_FIRMWARE_LICENSE = NXP-Binary-EULA +QORIQ_CADENCE_DP_FIRMWARE_LICENSE_FILES = COPYING +QORIQ_CADENCE_DP_FIRMWARE_REDISTRIBUTE = NO +QORIQ_CADENCE_DP_FIRMWARE_INSTALL_IMAGES = YES +QORIQ_CADENCE_DP_FIRMWARE_INSTALL_TARGET = NO + +# Helper for self-extracting binaries distributed by NXP. +# +# The --force option makes sure it doesn't fail if the source +# directory already exists. The --auto-accept skips the license check, +# as it is not needed in Buildroot because we have legal-info. Since +# there's a EULA in the binary file, we extract it in this macro, and +# it should therefore be added to the LICENSE_FILES variable of +# packages using this macro. Also, remember to set REDISTRIBUTE to +# "NO". Indeed, this is a legal minefield: the EULA specifies that the +# Board Support Package includes software and hardware (sic!) for +# which a separate license is needed... +# +# $(1): full path to the archive file +# +define QORIQ_CADENCE_DP_FIRMWARE_EXTRACT_HELPER + awk 'BEGIN { start = 0; } \ + /^EOEULA/ { start = 0; } \ + { if (start) print; } \ + /< $(@D)/EULA + cd $(@D) && sh $(1) --force --auto-accept + find $(@D)/$(basename $(notdir $(1))) -mindepth 1 -maxdepth 1 -exec mv {} $(@D) \; + rmdir $(@D)/$(basename $(notdir $(1))) +endef + +define QORIQ_CADENCE_DP_FIRMWARE_EXTRACT_CMDS + $(call QORIQ_CADENCE_DP_FIRMWARE_EXTRACT_HELPER,$(QORIQ_CADENCE_DP_FIRMWARE_DL_DIR)/$(QORIQ_CADENCE_DP_FIRMWARE_SOURCE)) +endef + +define QORIQ_CADENCE_DP_FIRMWARE_INSTALL_IMAGES_CMDS + $(INSTALL) -D -m 0644 $(@D)/dp/ls1028a-dp-fw.bin $(BINARIES_DIR)/ls1028a-dp-fw.bin +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/qoriq-rcw/Config.in.host b/buildroot-2022.02.1/package/qoriq-rcw/Config.in.host new file mode 100644 index 00000000..08fc83ac --- /dev/null +++ b/buildroot-2022.02.1/package/qoriq-rcw/Config.in.host @@ -0,0 +1,40 @@ +config BR2_PACKAGE_HOST_QORIQ_RCW + bool "host qoriq-rcw" + help + This package provides an reset configuration word(RCW) + compiler to build NXP QoriQ/LS PBL/RCW binary(s). + + The package installs example configurations and scripts + for each devkit supported in the current release see + $(HOST_DIR)/share/rcw. Either a SDK or post scripts can + then use this toolset and examples. + + https://source.codeaurora.org/external/qoriq/qoriq-components/rcw/ + +if BR2_PACKAGE_HOST_QORIQ_RCW + +config BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH + string "RCW Source file paths" + help + Space-separated list of .rcw and .rcwi files, that will be + used to generate a RCW binary. The entire list of .rcwi files + used by the .rcw file must be specified. There must be a + single .rcw file in the list. + + This is optional. If left empty, the rcw package will be + included for use in the SDK or with post scripts but no + RCW binary will not be generated. + +config BR2_PACKAGE_HOST_QORIQ_RCW_INTREE + string "In-tree RCW name" + depends on !BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH + help + This option is used to specify the RCW binary file for board. + which is composed as platform/serdes_value/rcw_file: platform + is the platform name, serdes_value is the setting of the + Serdes, and rcw_file is the file name of RCW. For example: + "ls1028ardb/R_SQPP_0x85bb/rcw_1300_sdboot.bin" + + If this option is empty, no rcw file is used. + +endif diff --git a/buildroot-2021.05/package/qoriq-rcw/qoriq-rcw.hash b/buildroot-2022.02.1/package/qoriq-rcw/qoriq-rcw.hash similarity index 100% rename from buildroot-2021.05/package/qoriq-rcw/qoriq-rcw.hash rename to buildroot-2022.02.1/package/qoriq-rcw/qoriq-rcw.hash diff --git a/buildroot-2022.02.1/package/qoriq-rcw/qoriq-rcw.mk b/buildroot-2022.02.1/package/qoriq-rcw/qoriq-rcw.mk new file mode 100644 index 00000000..93e660b1 --- /dev/null +++ b/buildroot-2022.02.1/package/qoriq-rcw/qoriq-rcw.mk @@ -0,0 +1,83 @@ +################################################################################ +# +# qoriq-rcw +# +################################################################################ + +QORIQ_RCW_VERSION = LSDK-20.12 +QORIQ_RCW_SITE = https://source.codeaurora.org/external/qoriq/qoriq-components/rcw +QORIQ_RCW_SITE_METHOD = git +QORIQ_RCW_LICENSE = BSD-3-Clause +QORIQ_RCW_LICENSE_FILES = LICENSE + +HOST_QORIQ_RCW_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY) + +QORIQ_RCW_FILES = $(call qstrip,$(BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH)) +QORIQ_RCW_INTREE = $(call qstrip,$(BR2_PACKAGE_HOST_QORIQ_RCW_INTREE)) + +ifneq ($(QORIQ_RCW_FILES),) + +QORIQ_RCW_INCLUDES = $(filter-out %.rcw,$(QORIQ_RCW_FILES)) +# Get the name of the custom rcw file from the custom list +QORIQ_RCW_PROJECT = $(notdir $(filter %.rcw,$(QORIQ_RCW_FILES))) + +# Error if there are no or more than one .rcw file +ifeq ($(BR_BUILDING),y) +ifneq ($(words $(QORIQ_RCW_PROJECT)),1) +$(error BR2_PACKAGE_HOST_QORIQ_RCW_CUSTOM_PATH must have exactly one .rcw file) +endif +endif + +ifneq ($(QORIQ_RCW_INCLUDES),) +define HOST_QORIQ_RCW_ADD_CUSTOM_RCW_INCLUDES + mkdir -p $(@D)/custom_board + cp -f $(QORIQ_RCW_INCLUDES) $(@D)/custom_board +endef +HOST_QORIQ_RCW_POST_PATCH_HOOKS += HOST_QORIQ_RCW_ADD_CUSTOM_RCW_INCLUDES +endif + +define HOST_QORIQ_RCW_ADD_CUSTOM_RCW_FILES + mkdir -p $(@D)/custom_board/rcw + cp -f $(filter %.rcw,$(QORIQ_RCW_FILES)) $(@D)/custom_board/rcw +endef +HOST_QORIQ_RCW_POST_PATCH_HOOKS += HOST_QORIQ_RCW_ADD_CUSTOM_RCW_FILES + +# rcw.py is a python3-only script, and we can be using either the +# system-provided python3, or our own built with host-python3. +# Fortunately, rcw.py uses #!/usr/bin/env python3, so it will +# easily find it from PATH. +define HOST_QORIQ_RCW_BUILD_CMDS + PATH=$(BR_PATH) \ + $(@D)/rcw.py \ + -i $(@D)/custom_board/rcw/$(QORIQ_RCW_PROJECT) \ + -I $(@D)/custom_board -o $(@D)/PBL.bin +endef + +define HOST_QORIQ_RCW_INSTALL_DELIVERY_FILE + $(INSTALL) -D -m 0644 $(@D)/PBL.bin $(BINARIES_DIR)/PBL.bin +endef + +else ifneq ($(QORIQ_RCW_INTREE),) + +QORIQ_RCW_PLATFORM = $(firstword $(subst /, ,$(QORIQ_RCW_INTREE))) +QORIQ_RCW_FILE_BIN = $(lastword $(subst /, ,$(QORIQ_RCW_INTREE))) + +define HOST_QORIQ_RCW_BUILD_CMDS + $(MAKE) -C $(@D)/$(QORIQ_RCW_PLATFORM) +endef + +define HOST_QORIQ_RCW_INSTALL_DELIVERY_FILE + $(INSTALL) -D -m 0644 $(@D)/$(patsubst %.rcw,%.bin,$(QORIQ_RCW_INTREE)) \ + $(BINARIES_DIR)/PBL.bin +endef +endif + +# Copy source files and script into $(HOST_DIR)/share/rcw/ so a developer +# could use a post image or SDK to build/install PBL files. +define HOST_QORIQ_RCW_INSTALL_CMDS + mkdir -p $(HOST_DIR)/share/rcw + cp -a $(@D)/* $(HOST_DIR)/share/rcw + $(HOST_QORIQ_RCW_INSTALL_DELIVERY_FILE) +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/qpdf/Config.in b/buildroot-2022.02.1/package/qpdf/Config.in new file mode 100644 index 00000000..accf2b5f --- /dev/null +++ b/buildroot-2022.02.1/package/qpdf/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_QPDF + bool "qpdf" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14 + depends on BR2_TOOLCHAIN_HAS_ATOMIC + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + help + QPDF is a command-line program that does structural, + content- preserving transformations on PDF files. It could + have been called something like pdf-to-pdf. It also provides + many useful capabilities to developers of PDF-producing + software or for people who just want to look at the innards + of a PDF file to learn more about how they work. + + http://qpdf.sourceforge.net/ + +comment "qpdf needs a toolchain w/ C++, gcc >= 5" + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/qpdf/qpdf.hash b/buildroot-2022.02.1/package/qpdf/qpdf.hash new file mode 100644 index 00000000..08a048f2 --- /dev/null +++ b/buildroot-2022.02.1/package/qpdf/qpdf.hash @@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/qpdf/files/qpdf/10.5.0/qpdf-10.5.0.sha256/download +sha256 88257d36a44fd5c50b2879488324dd9cafc11686ae49d8c4922a4872203ce006 qpdf-10.5.0.tar.gz +# Locally computed: +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt +sha256 fb929ac30decb4dc3a2eea2bec6c43296a797c5d2d602deb3784ee39430583d5 Artistic-2.0 diff --git a/buildroot-2022.02.1/package/qpdf/qpdf.mk b/buildroot-2022.02.1/package/qpdf/qpdf.mk new file mode 100644 index 00000000..8e076905 --- /dev/null +++ b/buildroot-2022.02.1/package/qpdf/qpdf.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# qpdf +# +################################################################################ + +QPDF_VERSION = 10.5.0 +QPDF_SITE = http://downloads.sourceforge.net/project/qpdf/qpdf/$(QPDF_VERSION) +QPDF_INSTALL_STAGING = YES +QPDF_LICENSE = Apache-2.0 or Artistic-2.0 +QPDF_LICENSE_FILES = LICENSE.txt Artistic-2.0 +QPDF_CPE_ID_VENDOR = qpdf_project +QPDF_DEPENDENCIES = host-pkgconf zlib jpeg + +QPDF_CONF_OPTS = --with-random=/dev/urandom + +ifeq ($(BR2_USE_WCHAR),) +QPDF_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -DQPDF_NO_WCHAR_T" +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +QPDF_CONF_OPTS += --enable-crypto-gnutls +QPDF_DEPENDENCIES += gnutls +else +QPDF_CONF_OPTS += --disable-crypto-gnutls +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +QPDF_CONF_OPTS += --enable-crypto-openssl +QPDF_DEPENDENCIES += openssl +else +QPDF_CONF_OPTS += --disable-crypto-openssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/qpid-proton/Config.in b/buildroot-2022.02.1/package/qpid-proton/Config.in similarity index 100% rename from buildroot-2021.05/package/qpid-proton/Config.in rename to buildroot-2022.02.1/package/qpid-proton/Config.in diff --git a/buildroot-2022.02.1/package/qpid-proton/qpid-proton.hash b/buildroot-2022.02.1/package/qpid-proton/qpid-proton.hash new file mode 100644 index 00000000..bead3c18 --- /dev/null +++ b/buildroot-2022.02.1/package/qpid-proton/qpid-proton.hash @@ -0,0 +1,5 @@ +# Hash from: https://www.apache.org/dist/qpid/proton/0.35.0/qpid-proton-0.35.0.tar.gz.sha512 +sha512 1031e3d45854107a516699e1d18269c6acb22549b2709c1fc1cd25eb870096de109077445f1b400edf231bb21a476a268e2d6674e986fc50e92a281549085543 qpid-proton-0.35.0.tar.gz + +# Locally computed +sha256 52310e65489d30afeefc8589479fc02862a875349c19edd165658a915009da82 LICENSE.txt diff --git a/buildroot-2022.02.1/package/qpid-proton/qpid-proton.mk b/buildroot-2022.02.1/package/qpid-proton/qpid-proton.mk new file mode 100644 index 00000000..103cf9fd --- /dev/null +++ b/buildroot-2022.02.1/package/qpid-proton/qpid-proton.mk @@ -0,0 +1,61 @@ +################################################################################ +# +# qpid-proton +# +################################################################################ + +QPID_PROTON_VERSION = 0.35.0 +QPID_PROTON_SITE = \ + https://downloads.apache.org/qpid/proton/$(QPID_PROTON_VERSION) +QPID_PROTON_LICENSE = Apache-2.0 +QPID_PROTON_LICENSE_FILES = LICENSE.txt +QPID_PROTON_CPE_ID_VENDOR = apache +QPID_PROTON_CPE_ID_PRODUCT = qpid_proton +QPID_PROTON_INSTALL_STAGING = YES +QPID_PROTON_DEPENDENCIES = \ + host-python3 \ + util-linux \ + $(if $(BR2_PACKAGE_LIBUV),libuv) \ + $(if $(BR2_PACKAGE_OPENSSL),openssl) + +# python and ruby language bindings are enabled when host-swig tool is present +# in HOST_DIR. +# go language binding is enabled when host-go is present +# For now, disable all of them. +QPID_PROTON_CONF_OPTS = \ + -DBUILD_GO=OFF \ + -DBUILD_PYTHON=OFF \ + -DBUILD_RUBY=OFF \ + -DENABLE_FUZZ_TESTING=OFF \ + -DENABLE_VALGRIND=OFF \ + -DENABLE_WARNING_ERROR=OFF \ + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 + +# epoll proactor unconditionally uses pthread and cpp (C++) bindings +# unconditionally use proactor +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +QPID_PROTON_CONF_OPTS += -DBUILD_CPP=ON +else +QPID_PROTON_CONF_OPTS += -DBUILD_CPP=OFF +endif +else +QPID_PROTON_CONF_OPTS += \ + -DBUILD_CPP=OFF \ + -DPROACTOR=none +endif + +ifeq ($(BR2_PACKAGE_JSONCPP),y) +QPID_PROTON_DEPENDENCIES += jsoncpp +QPID_PROTON_CONF_OPTS += -DENABLE_JSONCPP=ON +else +QPID_PROTON_CONF_OPTS += -DENABLE_JSONCPP=OFF +endif + +define QPID_PROTON_REMOVE_USELESS_FILES + rm -fr $(TARGET_DIR)/usr/share/proton/ +endef + +QPID_PROTON_POST_INSTALL_TARGET_HOOKS += QPID_PROTON_REMOVE_USELESS_FILES + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/qprint/Config.in b/buildroot-2022.02.1/package/qprint/Config.in similarity index 100% rename from buildroot-2021.05/package/qprint/Config.in rename to buildroot-2022.02.1/package/qprint/Config.in diff --git a/buildroot-2021.05/package/qprint/qprint.hash b/buildroot-2022.02.1/package/qprint/qprint.hash similarity index 100% rename from buildroot-2021.05/package/qprint/qprint.hash rename to buildroot-2022.02.1/package/qprint/qprint.hash diff --git a/buildroot-2021.05/package/qprint/qprint.mk b/buildroot-2022.02.1/package/qprint/qprint.mk similarity index 100% rename from buildroot-2021.05/package/qprint/qprint.mk rename to buildroot-2022.02.1/package/qprint/qprint.mk diff --git a/buildroot-2021.05/package/qt-webkit-kiosk/Config.in b/buildroot-2022.02.1/package/qt-webkit-kiosk/Config.in similarity index 100% rename from buildroot-2021.05/package/qt-webkit-kiosk/Config.in rename to buildroot-2022.02.1/package/qt-webkit-kiosk/Config.in diff --git a/buildroot-2021.05/package/qt-webkit-kiosk/qt-webkit-kiosk.hash b/buildroot-2022.02.1/package/qt-webkit-kiosk/qt-webkit-kiosk.hash similarity index 100% rename from buildroot-2021.05/package/qt-webkit-kiosk/qt-webkit-kiosk.hash rename to buildroot-2022.02.1/package/qt-webkit-kiosk/qt-webkit-kiosk.hash diff --git a/buildroot-2021.05/package/qt-webkit-kiosk/qt-webkit-kiosk.mk b/buildroot-2022.02.1/package/qt-webkit-kiosk/qt-webkit-kiosk.mk similarity index 100% rename from buildroot-2021.05/package/qt-webkit-kiosk/qt-webkit-kiosk.mk rename to buildroot-2022.02.1/package/qt-webkit-kiosk/qt-webkit-kiosk.mk diff --git a/buildroot-2022.02.1/package/qt5/Config.in b/buildroot-2022.02.1/package/qt5/Config.in new file mode 100644 index 00000000..5751d6cb --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/Config.in @@ -0,0 +1,75 @@ +config BR2_PACKAGE_QT5_GL_AVAILABLE + bool + default y + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES + +config BR2_PACKAGE_QT5_JSCORE_AVAILABLE + bool + default y + # Javascript engine is only available on certain architectures + depends on BR2_arm || BR2_aarch64 || BR2_i386 || BR2_x86_64 || BR2_mipsel + # ARM needs BLX, so v5t+ + depends on !BR2_ARM_CPU_ARMV4 + +comment "Qt5 needs host g++ >= 5.0, and a toolchain w/ gcc >= 5.0, wchar, NPTL, C++, dynamic library" + depends on !BR2_ARM_CPU_ARMV4 + depends on !BR2_arc + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \ + !BR2_HOST_GCC_AT_LEAST_5 || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +menuconfig BR2_PACKAGE_QT5 + bool "Qt5" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_HOST_GCC_AT_LEAST_5 # Full C++11 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++11, GCC_BUG_57694 + depends on !BR2_ARM_CPU_ARMV4 # needs ARMv5+ + # no built-in double-conversion support + depends on !BR2_arc + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_QT5BASE + help + This option enables the Qt5 framework. Sub-options allow to + select which modules should be built. + + http://qt.io + +if BR2_PACKAGE_QT5 +source "package/qt5/qt53d/Config.in" +source "package/qt5/qt5base/Config.in" +source "package/qt5/qt5charts/Config.in" +source "package/qt5/qt5coap/Config.in" +source "package/qt5/qt5connectivity/Config.in" +source "package/qt5/qt5declarative/Config.in" +source "package/qt5/qt5enginio/Config.in" +source "package/qt5/qt5graphicaleffects/Config.in" +source "package/qt5/qt5imageformats/Config.in" +source "package/qt5/qt5knx/Config.in" +source "package/qt5/qt5location/Config.in" +source "package/qt5/qt5lottie/Config.in" +source "package/qt5/qt5mqtt/Config.in" +source "package/qt5/qt5multimedia/Config.in" +source "package/qt5/qt5opcua/Config.in" +source "package/qt5/qt5quickcontrols/Config.in" +source "package/qt5/qt5quickcontrols2/Config.in" +source "package/qt5/qt5quicktimeline/Config.in" +source "package/qt5/qt5remoteobjects/Config.in" +source "package/qt5/qt5script/Config.in" +source "package/qt5/qt5scxml/Config.in" +source "package/qt5/qt5sensors/Config.in" +source "package/qt5/qt5serialbus/Config.in" +source "package/qt5/qt5serialport/Config.in" +source "package/qt5/qt5svg/Config.in" +source "package/qt5/qt5tools/Config.in" +source "package/qt5/qt5virtualkeyboard/Config.in" +source "package/qt5/qt5wayland/Config.in" +source "package/qt5/qt5webchannel/Config.in" +source "package/qt5/qt5webkit/Config.in" +source "package/qt5/qt5webengine/Config.in" +source "package/qt5/qt5websockets/Config.in" +source "package/qt5/qt5webview/Config.in" +source "package/qt5/qt5x11extras/Config.in" +source "package/qt5/qt5xmlpatterns/Config.in" +endif diff --git a/buildroot-2022.02.1/package/qt5/qt5.mk b/buildroot-2022.02.1/package/qt5/qt5.mk new file mode 100644 index 00000000..656e3067 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# qt5 +# +################################################################################ + +QT5_VERSION_MAJOR = 5.15 +QT5_VERSION = $(QT5_VERSION_MAJOR).8 +QT5_SOURCE_TARBALL_PREFIX = everywhere-src +QT5_SITE = https://invent.kde.org/qt/qt + +include $(sort $(wildcard package/qt5/*/*.mk)) + +# The file "qt.conf" can be used to override the hard-coded paths that are +# compiled into the Qt library. We need it to make "qmake" relocatable and +# tweak the per-package install pathes +define QT5_INSTALL_QT_CONF + rm -f $(HOST_DIR)/bin/qt.conf + sed -e "s|@@HOST_DIR@@|$(HOST_DIR)|" -e "s|@@STAGING_DIR@@|$(STAGING_DIR)|" \ + $(QT5BASE_PKGDIR)/qt.conf.in > $(HOST_DIR)/bin/qt.conf +endef + +ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y) +define QT5_QT_CONF_FIXUP + $(QT5_INSTALL_QT_CONF) +endef +endif + +# Variable for other Qt applications to use +QT5_QMAKE = $(HOST_DIR)/bin/qmake -spec devices/linux-buildroot-g++ diff --git a/buildroot-2022.02.1/package/qt5/qt53d/Config.in b/buildroot-2022.02.1/package/qt5/qt53d/Config.in new file mode 100644 index 00000000..9187bee8 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt53d/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_QT53D + bool "qt53d" + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative + depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative_quick + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt53d module. + + This module was in tech preview in Qt 5.6, and promoted + to a core module in Qt 5.7.0. + + Enable the assimp package to gain the assimp sceneparser + plugin. + + https://doc.qt.io/qt-5/qt3d-index.html + +comment "qt53d module needs an OpenGL-capable backend" + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE + depends on !BR2_PACKAGE_QT5_GL_AVAILABLE diff --git a/buildroot-2022.02.1/package/qt5/qt53d/qt53d.hash b/buildroot-2022.02.1/package/qt5/qt53d/qt53d.hash new file mode 100644 index 00000000..32d36756 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt53d/qt53d.hash @@ -0,0 +1,7 @@ +# Locally calculated +sha256 4c40260d4298b3e71a9879b43530b1e0b3f235a680bb0e7be76a375f4ae24696 qt3d-dba14d48611b9e9d59576172658779ab4a39b416.tar.bz2 + +# Hashes for license files: +sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPL +sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 +sha256 9ae1959e86bd49b9680f78e0b49d4e52ae88a3f234d497e175e42a7e8ed59216 LICENSE.LGPLv3 diff --git a/buildroot-2022.02.1/package/qt5/qt53d/qt53d.mk b/buildroot-2022.02.1/package/qt5/qt53d/qt53d.mk new file mode 100644 index 00000000..9a07d189 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt53d/qt53d.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# qt53d +# +################################################################################ + +QT53D_VERSION = dba14d48611b9e9d59576172658779ab4a39b416 +QT53D_SITE = $(QT5_SITE)/qt3d/-/archive/$(QT53D_VERSION) +QT53D_SOURCE = qt3d-$(QT53D_VERSION).tar.bz2 +QT53D_DEPENDENCIES = qt5declarative +QT53D_INSTALL_STAGING = YES +QT53D_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_ASSIMP),y) +QT53D_DEPENDENCIES += assimp +endif + +QT53D_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0 +QT53D_LICENSE_FILES = LICENSE.GPL LICENSE.GPLv3 LICENSE.LGPLv3 + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5base/0001-qtbase-Fix-build-error-when-using-EGL.patch b/buildroot-2022.02.1/package/qt5/qt5base/0001-qtbase-Fix-build-error-when-using-EGL.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5base/0001-qtbase-Fix-build-error-when-using-EGL.patch rename to buildroot-2022.02.1/package/qt5/qt5base/0001-qtbase-Fix-build-error-when-using-EGL.patch diff --git a/buildroot-2021.05/package/qt5/qt5base/0002-double-conversion-enable-for-microblaze.patch b/buildroot-2022.02.1/package/qt5/qt5base/0002-double-conversion-enable-for-microblaze.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5base/0002-double-conversion-enable-for-microblaze.patch rename to buildroot-2022.02.1/package/qt5/qt5base/0002-double-conversion-enable-for-microblaze.patch diff --git a/buildroot-2021.05/package/qt5/qt5base/0003-double-conversion-enable-for-nios2.patch b/buildroot-2022.02.1/package/qt5/qt5base/0003-double-conversion-enable-for-nios2.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5base/0003-double-conversion-enable-for-nios2.patch rename to buildroot-2022.02.1/package/qt5/qt5base/0003-double-conversion-enable-for-nios2.patch diff --git a/buildroot-2021.05/package/qt5/qt5base/0004-double-conversion-enable-for-xtensa.patch b/buildroot-2022.02.1/package/qt5/qt5base/0004-double-conversion-enable-for-xtensa.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5base/0004-double-conversion-enable-for-xtensa.patch rename to buildroot-2022.02.1/package/qt5/qt5base/0004-double-conversion-enable-for-xtensa.patch diff --git a/buildroot-2021.05/package/qt5/qt5base/0005-eglfs-avoid-breaking-compilation-for-obscure-EGLNativeDisplayType-types.patch b/buildroot-2022.02.1/package/qt5/qt5base/0005-eglfs-avoid-breaking-compilation-for-obscure-EGLNativeDisplayType-types.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5base/0005-eglfs-avoid-breaking-compilation-for-obscure-EGLNativeDisplayType-types.patch rename to buildroot-2022.02.1/package/qt5/qt5base/0005-eglfs-avoid-breaking-compilation-for-obscure-EGLNativeDisplayType-types.patch diff --git a/buildroot-2022.02.1/package/qt5/qt5base/0006-Fix-build-on-riscv32.patch b/buildroot-2022.02.1/package/qt5/qt5base/0006-Fix-build-on-riscv32.patch new file mode 100644 index 00000000..5561acb9 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5base/0006-Fix-build-on-riscv32.patch @@ -0,0 +1,46 @@ +From 035dc537bee26e3b63a211b2835d8560439e161f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 27 Aug 2021 16:28:32 +0200 +Subject: Fix build on riscv32 + +riscv32 fails to build because __NR_futex is not defined on this +architecture: + +In file included from thread/qmutex_linux.cpp:45, + from thread/qmutex.cpp:804: +thread/qfutex_p.h: In function 'int QtLinuxFutex::_q_futex(int*, int, int, quintptr, int*, int)': +thread/qfutex_p.h:116:30: error: '__NR_futex' was not declared in this scope; did you mean '_q_futex'? + 116 | int result = syscall(__NR_futex, addr, op | FUTEX_PRIVATE_FLAG, val, val2, addr2, val3); + | ^~~~~~~~~~ + | _q_futex + +Pick-to: 6.1 6.2 +Fixes: QTBUG-96067 +Change-Id: Ib6a9bcc496f37e69ac39362cb0a021fccaf311f5 +Reviewed-by: Thiago Macieira +[Retrieved from: +https://code.qt.io/cgit/qt/qtbase.git/commit/?id=035dc537bee26e3b63a211b2835d8560439e161f] +Signed-off-by: Fabrice Fontaine +--- + src/corelib/thread/qfutex_p.h | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/corelib/thread/qfutex_p.h b/src/corelib/thread/qfutex_p.h +index 40482b6fc1..037207a5c0 100644 +--- a/src/corelib/thread/qfutex_p.h ++++ b/src/corelib/thread/qfutex_p.h +@@ -103,6 +103,11 @@ QT_END_NAMESPACE + // if not defined in linux/futex.h + # define FUTEX_PRIVATE_FLAG 128 // added in v2.6.22 + ++// RISC-V does not supply __NR_futex ++# ifndef __NR_futex ++# define __NR_futex __NR_futex_time64 ++# endif ++ + QT_BEGIN_NAMESPACE + namespace QtLinuxFutex { + constexpr inline bool futexAvailable() { return true; } +-- +cgit v1.2.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5base/0007-src-corelib-configure.json-fix-atomicfptr-detection.patch b/buildroot-2022.02.1/package/qt5/qt5base/0007-src-corelib-configure.json-fix-atomicfptr-detection.patch new file mode 100644 index 00000000..5f0f81a4 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5base/0007-src-corelib-configure.json-fix-atomicfptr-detection.patch @@ -0,0 +1,48 @@ +From e9d1f80dffb4e29e44fc0b0627704af15cdd281a Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 13 Mar 2022 12:05:04 +0100 +Subject: [PATCH] src/corelib/configure.json: fix atomicfptr detection + +Fix atomicfptr detection on sparc v8 by linking with libatomic if needed +to avoid the following build failure: + +/sysroot -std=gnu++11 -w -fPIC -I. -I/home/peko/autobuild/instance-0/output-1/build/qt5base-d16bf02a11953dcac01dca73e6f3778f293adefe/mkspecs/devices/linux-buildroot-g++ -o main.o main.cpp +> /home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-g++ --sysroot=/home/peko/autobuild/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot --sysroot=/home/peko/autobuild/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot -Wl,-O1 -o atomicfptr main.o -lexecinfo -lrt -lpthread -ldl +> /home/peko/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: main.o: in function `test(std::atomic volatile&)': +> main.cpp:(.text+0x40): undefined reference to `__atomic_compare_exchange_4' +> collect2: error: ld returned 1 exit status +> make[1]: *** [Makefile:69: atomicfptr] Error 1 + +[...] + +ERROR: detected a std::atomic implementation that fails for function pointers. +Please apply the patch corresponding to your Standard Library vendor, found in + qtbase/config.tests/atomicfptr + +Fixes: + - http://autobuild.buildroot.org/results/5a20e984a5536165056b3fbd93b8712e8ddbeed4 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://invent.kde.org/qt/qt/qtbase/-/merge_requests/138] +--- + src/corelib/configure.json | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/corelib/configure.json b/src/corelib/configure.json +index 9b5d19d41b..ac88f5856c 100644 +--- a/src/corelib/configure.json ++++ b/src/corelib/configure.json +@@ -309,7 +309,8 @@ + "test(fptr);" + ], + "qmake": "CONFIG += c++11" +- } ++ }, ++ "use": "libatomic" + }, + "clock-monotonic": { + "label": "POSIX monotonic clock", +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5base/0008-eglconvenience-add-missing-QList-include.patch b/buildroot-2022.02.1/package/qt5/qt5base/0008-eglconvenience-add-missing-QList-include.patch new file mode 100644 index 00000000..c7127291 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5base/0008-eglconvenience-add-missing-QList-include.patch @@ -0,0 +1,37 @@ +From f681f428477812e54484f631b0da332cc2e00eaa Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Wed, 16 Mar 2022 19:08:55 +0100 +Subject: [PATCH] eglconvenience: add missing QList include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + qeglconvenience.cpp:418:23: error: variable ‘QList extensions’ has initializer but incomplete type + 418 | QList extensions = + | ^~~~~~~~~~ + qeglconvenience.cpp:420:65: error: invalid use of incomplete type ‘class QList’ + 420 | (eglQueryString(display, EGL_EXTENSIONS))).split(' '); + | ^ + +Signed-off-by: Peter Seiderer +--- + src/platformsupport/eglconvenience/qeglconvenience.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/platformsupport/eglconvenience/qeglconvenience.cpp b/src/platformsupport/eglconvenience/qeglconvenience.cpp +index 5303d37c..daceeb8b 100644 +--- a/src/platformsupport/eglconvenience/qeglconvenience.cpp ++++ b/src/platformsupport/eglconvenience/qeglconvenience.cpp +@@ -38,6 +38,7 @@ + ****************************************************************************/ + + #include ++#include + #include + + #ifdef Q_OS_LINUX +-- +2.35.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5base/Config.in b/buildroot-2022.02.1/package/qt5/qt5base/Config.in new file mode 100644 index 00000000..601438d2 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5base/Config.in @@ -0,0 +1,301 @@ +config BR2_PACKAGE_QT5BASE + bool "qt5base" + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_PCRE2 + select BR2_PACKAGE_PCRE2_16 + select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt5base module, which + contains the base Qt libraries: QtCore, QtNetwork, QtGui, + QtWidgets, etc. + + https://qt.io + +if BR2_PACKAGE_QT5BASE + +config BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS + string "Custom configuration options" + help + Define custom qt5 configuration options which can be used to + enable or disable options not managed by buildroot. These + options are appended to the ones generated by buildroot and + passed to qt5base during configuration. + + E.g. to remove the Windows Vista style option, add the option + -no-feature-style_windowsvista. + +config BR2_PACKAGE_QT5BASE_CONFIG_FILE + string "Config file" + help + Configure options allow to set which modules are being + compiled or not in Qt, but Qt also provide a more + fine-grained mechanism to configure which features should be + enabled or disabled, through a header file. Examples of such + header files can be found in src/corelib/global/qconfig-*.h + in the Qt sources. + + This option allows to set the path of such a configuration + file, which Buildroot will give to Qt at compile time. + +config BR2_PACKAGE_QT5BASE_EXAMPLES + bool "Compile and install examples (with code)" + select BR2_PACKAGE_QT5BASE_NETWORK + select BR2_PACKAGE_QT5BASE_XML + help + If unsure, say N. + +config BR2_PACKAGE_QT5BASE_NETWORK + def_bool y + +config BR2_PACKAGE_QT5BASE_CONCURRENT + bool "concurrent module" + help + This options enables the Qt5Concurrent library. + +config BR2_PACKAGE_QT5BASE_SQL + def_bool y + +if BR2_PACKAGE_QT5BASE_SQL +config BR2_PACKAGE_QT5BASE_MYSQL + bool "MySQL Plugin" + depends on BR2_USE_MMU # mysql + select BR2_PACKAGE_MYSQL + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_READLINE + help + Build MySQL plugin + If unsure, say n. + +config BR2_PACKAGE_QT5BASE_PSQL + bool "PostgreSQL Plugin" + depends on BR2_USE_MMU # postgresql + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR # postgresql + select BR2_PACKAGE_POSTGRESQL + help + Build PostgreSQL plugin + If unsure, say n. + +comment "PostgreSQL plugin needs a toolchain w/ wchar, dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR + +choice + prompt "SQLite 3 support" + default BR2_PACKAGE_QT5BASE_SQLITE_NONE + help + Select SQLite support. + +config BR2_PACKAGE_QT5BASE_SQLITE_NONE + bool "No sqlite support" + help + Do not compile any kind of SQLite support. + +config BR2_PACKAGE_QT5BASE_SQLITE_QT + bool "Qt SQLite" + help + Use Qt bundled SQLite support. + +config BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM + bool "System SQLite" + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA + help + Use system SQLite. + +endchoice + +endif + +config BR2_PACKAGE_QT5BASE_TEST + def_bool y + +config BR2_PACKAGE_QT5BASE_XML + def_bool y + +config BR2_PACKAGE_QT5BASE_GUI + bool "gui module" + select BR2_PACKAGE_FREETYPE + # At least one graphic backend must be enabled, so enable + # linuxfb if nothing is enabled. + select BR2_PACKAGE_QT5BASE_LINUXFB if \ + !BR2_PACKAGE_QT5BASE_DIRECTFB && \ + !BR2_PACKAGE_QT5BASE_XCB && \ + !BR2_PACKAGE_QT5BASE_EGLFS + help + This option enables the Qt5Gui library. + +if BR2_PACKAGE_QT5BASE_GUI + +config BR2_PACKAGE_QT5BASE_WIDGETS + bool "widgets module" + select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB + help + This option enables the Qt5Widgets library. + +comment "OpenGL support needs an OpenGL-capable backend" + depends on !BR2_PACKAGE_QT5_GL_AVAILABLE + +config BR2_PACKAGE_QT5BASE_OPENGL + bool "OpenGL support" + depends on BR2_PACKAGE_QT5_GL_AVAILABLE + help + This option enables OpenGL support. + +if BR2_PACKAGE_QT5BASE_OPENGL + +choice + prompt "OpenGL API" + help + Select OpenGL API. + +config BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP + bool "Desktop OpenGL" + depends on BR2_PACKAGE_HAS_LIBGL + help + Use desktop OpenGL. + +config BR2_PACKAGE_QT5BASE_OPENGL_ES2 + bool "OpenGL ES 2.0+" + depends on BR2_PACKAGE_HAS_LIBGLES + help + Use OpenGL ES 2.0 and later versions. + +endchoice + +config BR2_PACKAGE_QT5BASE_OPENGL_LIB + bool "opengl module" + select BR2_PACKAGE_QT5BASE_WIDGETS + help + This option enables the Qt5OpenGL library. This library + includes OpenGL support classes provided to ease porting + from Qt 4.x. + +endif + +config BR2_PACKAGE_QT5BASE_LINUXFB + bool "linuxfb support" + +config BR2_PACKAGE_QT5BASE_DIRECTFB + bool "directfb support" + depends on BR2_PACKAGE_DIRECTFB + +comment "directfb backend available if directfb is enabled" + depends on !BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_QT5BASE_XCB + bool "X.org XCB support" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_LIBXCB + select BR2_PACKAGE_XCB_UTIL_IMAGE + select BR2_PACKAGE_XCB_UTIL_KEYSYMS + select BR2_PACKAGE_XCB_UTIL_RENDERUTIL + select BR2_PACKAGE_XCB_UTIL_WM + select BR2_PACKAGE_LIBXKBCOMMON + +comment "X.org XCB backend available if X.org is enabled" + depends on !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_QT5BASE_EGLFS + bool "eglfs support" + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_QT5_GL_AVAILABLE + select BR2_PACKAGE_QT5BASE_OPENGL + +comment "eglfs backend available if OpenGL and EGL are enabled" + depends on !BR2_PACKAGE_HAS_LIBEGL || !BR2_PACKAGE_QT5_GL_AVAILABLE + +config BR2_PACKAGE_QT5BASE_DEFAULT_QPA + string "Default graphical platform" + help + Choose the default platform abstraction to use for graphical + applications (e.g xcb, linuxfb, eglfs, ...). If this is + empty, the default for your architecture will be used + (usually this is eglfs). + + You can get a list of supported platforms by running a Qt + application with the option "-platform help" on your + target. You can choose a different platform at runtime with + the -platform option. + +config BR2_PACKAGE_QT5BASE_PRINTSUPPORT + depends on BR2_PACKAGE_QT5BASE_WIDGETS + def_bool y + +config BR2_PACKAGE_QT5BASE_FONTCONFIG + bool "fontconfig support" + select BR2_PACKAGE_FONTCONFIG + help + This option enables Fontconfig and Freetype support using + the system fontconfig and freetype2 libraries. + +config BR2_PACKAGE_QT5BASE_HARFBUZZ + bool "harfbuzz support" + select BR2_PACKAGE_HARFBUZZ if \ + BR2_TOOLCHAIN_HAS_SYNC_4 && \ + BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + help + This option enables HarfBuzz support (either system harfbuzz + if the toolchain supports __sync for 4 bytes, or the qt + provided one which avoids this dependency by using QAtomic). + +config BR2_PACKAGE_QT5BASE_GIF + bool "GIF support" + help + This compiles and installs the plugin for GIF reading support. + +config BR2_PACKAGE_QT5BASE_JPEG + bool "JPEG support" + select BR2_PACKAGE_JPEG + help + This option enables JPEG support using the system libjpeg + library. + +config BR2_PACKAGE_QT5BASE_PNG + bool "PNG support" + select BR2_PACKAGE_LIBPNG + help + This option enables PNG support using the system libpng + library. + +endif + +config BR2_PACKAGE_QT5BASE_SYSLOG + bool "syslog support" + help + Logs to the standard UNIX logging mechanism. + +config BR2_PACKAGE_QT5BASE_DBUS + bool "DBus module" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU + select BR2_PACKAGE_DBUS + help + This option enables the D-Bus module. + +config BR2_PACKAGE_QT5BASE_ICU + bool "Enable ICU support" + depends on !BR2_BINFMT_FLAT # icu + depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu + select BR2_PACKAGE_ICU + help + This option enables ICU support in Qt5. This is for example + needed for Qt5Webkit. + +comment "icu support needs a toolchain w/ gcc >= 4.9, host gcc >= 4.9" + depends on !BR2_BINFMT_FLAT + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_QT5BASE_TSLIB + bool "Enable Tslib support" + select BR2_PACKAGE_TSLIB + help + This options enables the Tslib plugin + +endif diff --git a/buildroot-2021.05/package/qt5/qt5base/qmake.conf.in b/buildroot-2022.02.1/package/qt5/qt5base/qmake.conf.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5base/qmake.conf.in rename to buildroot-2022.02.1/package/qt5/qt5base/qmake.conf.in diff --git a/buildroot-2021.05/package/qt5/qt5base/qplatformdefs.h b/buildroot-2022.02.1/package/qt5/qt5base/qplatformdefs.h similarity index 100% rename from buildroot-2021.05/package/qt5/qt5base/qplatformdefs.h rename to buildroot-2022.02.1/package/qt5/qt5base/qplatformdefs.h diff --git a/buildroot-2021.05/package/qt5/qt5base/qt.conf.in b/buildroot-2022.02.1/package/qt5/qt5base/qt.conf.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5base/qt.conf.in rename to buildroot-2022.02.1/package/qt5/qt5base/qt.conf.in diff --git a/buildroot-2022.02.1/package/qt5/qt5base/qt5base.hash b/buildroot-2022.02.1/package/qt5/qt5base/qt5base.hash new file mode 100644 index 00000000..c031f71c --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5base/qt5base.hash @@ -0,0 +1,10 @@ +# Locally calculated +sha256 18c17d441fbefa9dd13d1d6bfb5f542c986ba86cc37930247f9e4d782df2244b qtbase-f31e001a9399e4e620847ea2c3e90749350140ae.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 88ec689407cf2df9b2eb5c45952564d51ce73c129a3bdffb15c0d2d161ad7558 LICENSE.LGPLv3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL +sha256 2a886915de4f296cdae5ed67064f86dba01d0c55286d86e8487f2a5caaf40216 src/3rdparty/harfbuzz-ng/COPYING diff --git a/buildroot-2022.02.1/package/qt5/qt5base/qt5base.mk b/buildroot-2022.02.1/package/qt5/qt5base/qt5base.mk new file mode 100644 index 00000000..f880f806 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5base/qt5base.mk @@ -0,0 +1,352 @@ +################################################################################ +# +# qt5base +# +################################################################################ + +QT5BASE_VERSION = f31e001a9399e4e620847ea2c3e90749350140ae +QT5BASE_SITE = $(QT5_SITE)/qtbase/-/archive/$(QT5BASE_VERSION) +QT5BASE_SOURCE = qtbase-$(QT5BASE_VERSION).tar.bz2 + +QT5BASE_DEPENDENCIES = host-pkgconf pcre2 zlib +QT5BASE_INSTALL_STAGING = YES +QT5BASE_SYNC_QT_HEADERS = YES + +# From commits: +# 4ce7053a59 "Avoid processing-intensive painting of high number of tiny dashes" +# e7ea2ed27c "Improve fix for avoiding huge number of tiny dashes" +QT5BASE_IGNORE_CVES += CVE-2021-38593 +# From commit 2766b2cba6ca4b1c430304df5437e2a6c874b107 "QProcess/Unix: ensure we don't accidentally execute something from CWD" +QT5BASE_IGNORE_CVES += CVE-2022-25255 +# From commit e68ca8e51375d963b2391715f70b42707992dbd8 "Windows: use QSystemLibrary instead of LoadLibrary directly" +QT5BASE_IGNORE_CVES += CVE-2022-25634 + +# A few comments: +# * -no-pch to workaround the issue described at +# http://comments.gmane.org/gmane.comp.lib.qt.devel/5933. +# * -system-zlib because zlib is mandatory for Qt build, and we +# want to use the Buildroot packaged zlib +# * -system-pcre because pcre is mandatory to build Qt, and we +# want to use the one packaged in Buildroot +# * -no-feature-relocatable to work around path mismatch +# while searching qml files and buildroot BR2_ROOTFS_MERGED_USR +# feature enabled +QT5BASE_CONFIGURE_OPTS += \ + -optimized-qmake \ + -no-iconv \ + -system-zlib \ + -system-pcre \ + -no-pch \ + -shared \ + -no-feature-relocatable + +# starting from version 5.9.0, -optimize-debug is enabled by default +# for debug builds and it overrides -O* with -Og which is not what we +# want. +QT5BASE_CONFIGURE_OPTS += -no-optimize-debug + +QT5BASE_CFLAGS = $(TARGET_CFLAGS) +QT5BASE_CXXFLAGS = $(TARGET_CXXFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_90620),y) +QT5BASE_CFLAGS += -O0 +QT5BASE_CXXFLAGS += -O0 +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE2),) +QT5BASE_CONFIGURE_OPTS += -no-sse2 +else ifeq ($(BR2_X86_CPU_HAS_SSE3),) +QT5BASE_CONFIGURE_OPTS += -no-sse3 +else ifeq ($(BR2_X86_CPU_HAS_SSSE3),) +QT5BASE_CONFIGURE_OPTS += -no-ssse3 +else ifeq ($(BR2_X86_CPU_HAS_SSE4),) +QT5BASE_CONFIGURE_OPTS += -no-sse4.1 +else ifeq ($(BR2_X86_CPU_HAS_SSE42),) +QT5BASE_CONFIGURE_OPTS += -no-sse4.2 +else ifeq ($(BR2_X86_CPU_HAS_AVX),) +QT5BASE_CONFIGURE_OPTS += -no-avx +else ifeq ($(BR2_X86_CPU_HAS_AVX2),) +QT5BASE_CONFIGURE_OPTS += -no-avx2 +else +# no buildroot BR2_X86_CPU_HAS_AVX512 option yet for qt configure +# option '-no-avx512' +endif + +ifeq ($(BR2_PACKAGE_LIBDRM),y) +QT5BASE_CONFIGURE_OPTS += -kms +QT5BASE_DEPENDENCIES += libdrm +else +QT5BASE_CONFIGURE_OPTS += -no-kms +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y) +QT5BASE_CONFIGURE_OPTS += -gbm +QT5BASE_DEPENDENCIES += libgbm +else +QT5BASE_CONFIGURE_OPTS += -no-gbm +endif + +ifeq ($(BR2_ENABLE_RUNTIME_DEBUG),y) +QT5BASE_CONFIGURE_OPTS += -debug +else +QT5BASE_CONFIGURE_OPTS += -release +endif + +QT5BASE_CONFIGURE_OPTS += -opensource -confirm-license +QT5BASE_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5BASE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5BASE_LICENSE += , BSD-3-Clause (examples) +endif + +QT5BASE_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_QT5BASE_CONFIG_FILE)) + +ifneq ($(QT5BASE_CONFIG_FILE),) +QT5BASE_CONFIGURE_OPTS += -qconfig buildroot +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +QT5BASE_DEPENDENCIES += udev +endif + +ifeq ($(BR2_PACKAGE_CUPS), y) +QT5BASE_DEPENDENCIES += cups +QT5BASE_CONFIGURE_OPTS += -cups +else +QT5BASE_CONFIGURE_OPTS += -no-cups +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +QT5BASE_DEPENDENCIES += zstd +QT5BASE_CONFIGURE_OPTS += -zstd +else +QT5BASE_CONFIGURE_OPTS += -no-zstd +endif + +# Qt5 SQL Plugins +ifeq ($(BR2_PACKAGE_QT5BASE_SQL),y) +ifeq ($(BR2_PACKAGE_QT5BASE_MYSQL),y) +QT5BASE_CONFIGURE_OPTS += -plugin-sql-mysql -mysql_config $(STAGING_DIR)/usr/bin/mysql_config +QT5BASE_DEPENDENCIES += mysql +else +QT5BASE_CONFIGURE_OPTS += -no-sql-mysql +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_PSQL),y) +QT5BASE_CONFIGURE_OPTS += -plugin-sql-psql -psql_config $(STAGING_DIR)/usr/bin/pg_config +QT5BASE_DEPENDENCIES += postgresql +else +QT5BASE_CONFIGURE_OPTS += -no-sql-psql +endif + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_QT),-plugin-sql-sqlite) +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM),-system-sqlite) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_SYSTEM),sqlite) +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_SQLITE_NONE),-no-sql-sqlite) +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_GUI),y) +QT5BASE_CONFIGURE_OPTS += -gui -system-freetype +QT5BASE_DEPENDENCIES += freetype +else +QT5BASE_CONFIGURE_OPTS += -no-gui -no-freetype +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_HARFBUZZ),y) +ifeq ($(BR2_TOOLCHAIN_HAS_SYNC_4),y) +# system harfbuzz in case __sync for 4 bytes is supported +QT5BASE_CONFIGURE_OPTS += -system-harfbuzz +QT5BASE_DEPENDENCIES += harfbuzz +else +# qt harfbuzz otherwise (using QAtomic instead) +QT5BASE_CONFIGURE_OPTS += -qt-harfbuzz +QT5BASE_LICENSE += , MIT (harfbuzz) +QT5BASE_LICENSE_FILES += src/3rdparty/harfbuzz-ng/COPYING +endif +else +QT5BASE_CONFIGURE_OPTS += -no-harfbuzz +endif + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),-widgets,-no-widgets) +# We have to use --enable-linuxfb, otherwise Qt thinks that -linuxfb +# is to add a link against the "inuxfb" library. +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_LINUXFB),--enable-linuxfb,-no-linuxfb) +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),-directfb,-no-directfb) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DIRECTFB),directfb) + +ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) +QT5BASE_CONFIGURE_OPTS += -xkbcommon +QT5BASE_DEPENDENCIES += libxkbcommon +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) +QT5BASE_CONFIGURE_OPTS += -xcb + +QT5BASE_DEPENDENCIES += \ + libxcb \ + xcb-util-wm \ + xcb-util-image \ + xcb-util-keysyms \ + xcb-util-renderutil \ + xlib_libX11 +ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS),y) +QT5BASE_DEPENDENCIES += xlib_libXext +endif +else +QT5BASE_CONFIGURE_OPTS += -no-xcb +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_DESKTOP),y) +QT5BASE_CONFIGURE_OPTS += -opengl desktop +QT5BASE_DEPENDENCIES += libgl +else ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL_ES2),y) +QT5BASE_CONFIGURE_OPTS += -opengl es2 +QT5BASE_DEPENDENCIES += libgles +else +QT5BASE_CONFIGURE_OPTS += -no-opengl +endif + +QT5BASE_DEFAULT_QPA = $(call qstrip,$(BR2_PACKAGE_QT5BASE_DEFAULT_QPA)) +QT5BASE_CONFIGURE_OPTS += $(if $(QT5BASE_DEFAULT_QPA),-qpa $(QT5BASE_DEFAULT_QPA)) + +ifeq ($(BR2_PACKAGE_QT5BASE_EGLFS),y) +QT5BASE_CONFIGURE_OPTS += -eglfs +QT5BASE_DEPENDENCIES += libegl +else +QT5BASE_CONFIGURE_OPTS += -no-eglfs +endif + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_OPENSSL),-openssl,-no-openssl) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_OPENSSL),openssl) + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),-fontconfig,-no-fontconfig) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_FONTCONFIG),fontconfig) +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_GIF),,-no-gif) +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_JPEG),-system-libjpeg,-no-libjpeg) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_JPEG),jpeg) +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_PNG),-system-libpng,-no-libpng) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_PNG),libpng) + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_DBUS),-dbus,-no-dbus) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_DBUS),dbus) + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),-tslib,-no-tslib) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_TSLIB),tslib) + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_LIBGLIB2),-glib,-no-glib) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBGLIB2),libglib2) + +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBKRB5),libkrb5) + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_ICU),-icu,-no-icu) +QT5BASE_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5BASE_ICU),icu) + +QT5BASE_CONFIGURE_OPTS += $(if $(BR2_PACKAGE_QT5BASE_EXAMPLES),-make,-nomake) examples + +# see qt5base-5.15.2/src/corelib/global/qlogging.cpp:110 - __has_include() +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +QT5BASE_DEPENDENCIES += libexecinfo +define QT5BASE_CONFIGURE_ARCH_CONFIG_LIBEXECINFO + printf '!host_build { \n LIBS += -lexecinfo\n }' >$(QT5BASE_ARCH_CONFIG_FILE) +endef +endif + +ifeq ($(BR2_PACKAGE_LIBINPUT),y) +QT5BASE_CONFIGURE_OPTS += -libinput +QT5BASE_DEPENDENCIES += libinput +else +QT5BASE_CONFIGURE_OPTS += -no-libinput +endif + +# only enable gtk support if libgtk3 X11 backend is enabled +ifeq ($(BR2_PACKAGE_LIBGTK3)$(BR2_PACKAGE_LIBGTK3_X11),yy) +QT5BASE_CONFIGURE_OPTS += -gtk +QT5BASE_DEPENDENCIES += libgtk3 +else +QT5BASE_CONFIGURE_OPTS += -no-gtk +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +QT5BASE_CONFIGURE_OPTS += -journald +QT5BASE_DEPENDENCIES += systemd +else +QT5BASE_CONFIGURE_OPTS += -no-journald +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_SYSLOG),y) +QT5BASE_CONFIGURE_OPTS += -syslog +else +QT5BASE_CONFIGURE_OPTS += -no-syslog +endif + +ifeq ($(BR2_PACKAGE_IMX_GPU_VIV),y) +# use vivante backend +QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_viv +else ifeq ($(BR2_PACKAGE_SUNXI_MALI_UTGARD),y) +# use mali backend +QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_mali +else ifeq ($(BR2_PACKAGE_ROCKCHIP_MALI),y) +# use kms backend +QT5BASE_EGLFS_DEVICE = EGLFS_DEVICE_INTEGRATION = eglfs_kms +endif + +ifneq ($(QT5BASE_CONFIG_FILE),) +define QT5BASE_CONFIGURE_CONFIG_FILE + cp $(QT5BASE_CONFIG_FILE) $(@D)/src/corelib/global/qconfig-buildroot.h +endef +endif + +QT5BASE_ARCH_CONFIG_FILE = $(@D)/mkspecs/devices/linux-buildroot-g++/arch.conf +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +# Qt 5.8 needs atomics, which on various architectures are in -latomic +define QT5BASE_CONFIGURE_ARCH_CONFIG_LIBATOMIC + printf '!host_build { \n LIBS += -latomic\n }' >$(QT5BASE_ARCH_CONFIG_FILE) +endef +endif + +# This allows to use ccache when available +define QT5BASE_CONFIGURE_HOSTCC + $(SED) 's,^QMAKE_CC\s*=.*,QMAKE_CC = $(HOSTCC),' $(@D)/mkspecs/common/g++-base.conf + $(SED) 's,^QMAKE_CXX\s*=.*,QMAKE_CXX = $(HOSTCXX),' $(@D)/mkspecs/common/g++-base.conf +endef + +# Must be last so can override all options set by Buildroot +QT5BASE_CONFIGURE_OPTS += $(call qstrip,$(BR2_PACKAGE_QT5BASE_CUSTOM_CONF_OPTS)) + +define QT5BASE_CONFIGURE_CMDS + mkdir -p $(@D)/mkspecs/devices/linux-buildroot-g++/ + sed 's/@EGLFS_DEVICE@/$(QT5BASE_EGLFS_DEVICE)/g' \ + $(QT5BASE_PKGDIR)/qmake.conf.in > \ + $(@D)/mkspecs/devices/linux-buildroot-g++/qmake.conf + $(INSTALL) -m 0644 -D $(QT5BASE_PKGDIR)/qplatformdefs.h \ + $(@D)/mkspecs/devices/linux-buildroot-g++/qplatformdefs.h + $(QT5BASE_CONFIGURE_CONFIG_FILE) + touch $(QT5BASE_ARCH_CONFIG_FILE) + $(QT5BASE_CONFIGURE_ARCH_CONFIG_LIBATOMIC) + $(QT5BASE_CONFIGURE_ARCH_CONFIG_LIBEXECINFO) + $(QT5BASE_CONFIGURE_HOSTCC) + (cd $(@D); \ + $(TARGET_MAKE_ENV) \ + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \ + MAKEFLAGS="-j$(PARALLEL_JOBS) $(MAKEFLAGS)" \ + ./configure \ + -v \ + -prefix /usr \ + -hostprefix $(HOST_DIR) \ + -headerdir /usr/include/qt5 \ + -sysroot $(STAGING_DIR) \ + -plugindir /usr/lib/qt/plugins \ + -examplesdir /usr/lib/qt/examples \ + -no-rpath \ + -nomake tests \ + -device buildroot \ + -device-option CROSS_COMPILE="$(TARGET_CROSS)" \ + -device-option BR_COMPILER_CFLAGS="$(QT5BASE_CFLAGS)" \ + -device-option BR_COMPILER_CXXFLAGS="$(QT5BASE_CXXFLAGS)" \ + $(QT5BASE_CONFIGURE_OPTS) \ + ) +endef + +QT5BASE_POST_INSTALL_STAGING_HOOKS += QT5_INSTALL_QT_CONF + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5charts/Config.in b/buildroot-2022.02.1/package/qt5/qt5charts/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5charts/Config.in rename to buildroot-2022.02.1/package/qt5/qt5charts/Config.in diff --git a/buildroot-2022.02.1/package/qt5/qt5charts/qt5charts.hash b/buildroot-2022.02.1/package/qt5/qt5charts/qt5charts.hash new file mode 100644 index 00000000..021d4ea1 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5charts/qt5charts.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 60f973c79aa059981347864ca26ef361ac38bc835286ac5875f6c7c1248a9b21 qtcharts-130463160b4923069eb98da49edaf7d93180f4f8.tar.bz2 + +# Hashes for license files: +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/buildroot-2022.02.1/package/qt5/qt5charts/qt5charts.mk b/buildroot-2022.02.1/package/qt5/qt5charts/qt5charts.mk new file mode 100644 index 00000000..24e635b9 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5charts/qt5charts.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# qt5charts +# +################################################################################ + +QT5CHARTS_VERSION = 130463160b4923069eb98da49edaf7d93180f4f8 +QT5CHARTS_SITE = $(QT5_SITE)/qtcharts/-/archive/$(QT5CHARTS_VERSION) +QT5CHARTS_SOURCE = qtcharts-$(QT5CHARTS_VERSION).tar.bz2 +QT5CHARTS_INSTALL_STAGING = YES +QT5CHARTS_SYNC_QT_HEADERS = YES + +QT5CHARTS_LICENSE = GPL-3.0 +QT5CHARTS_LICENSE_FILES = LICENSE.GPL3 + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5CHARTS_DEPENDENCIES += qt5declarative +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5coap/Config.in b/buildroot-2022.02.1/package/qt5/qt5coap/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5coap/Config.in rename to buildroot-2022.02.1/package/qt5/qt5coap/Config.in diff --git a/buildroot-2021.05/package/qt5/qt5coap/qt5coap.hash b/buildroot-2022.02.1/package/qt5/qt5coap/qt5coap.hash similarity index 100% rename from buildroot-2021.05/package/qt5/qt5coap/qt5coap.hash rename to buildroot-2022.02.1/package/qt5/qt5coap/qt5coap.hash diff --git a/buildroot-2022.02.1/package/qt5/qt5coap/qt5coap.mk b/buildroot-2022.02.1/package/qt5/qt5coap/qt5coap.mk new file mode 100644 index 00000000..a50f19d7 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5coap/qt5coap.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# qt5coap +# +################################################################################ + +QT5COAP_VERSION = 5.15.2 +QT5COAP_SITE = https://code.qt.io/cgit/qt/qtcoap.git +QT5COAP_SITE_METHOD = git +QT5COAP_INSTALL_STAGING = YES +QT5COAP_LICENSE = GPL-3.0, GFDL-1.3 +QT5COAP_LICENSE_FILES = LICENSE.GPL3 LICENSE.FDL +QT5COAP_SYNC_QT_HEADERS = YES + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5connectivity/Config.in b/buildroot-2022.02.1/package/qt5/qt5connectivity/Config.in new file mode 100644 index 00000000..244d0167 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5connectivity/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_QT5CONNECTIVITY + bool "qt5connectivity" + depends on BR2_PACKAGE_NEARD || BR2_PACKAGE_BLUEZ5_UTILS + select BR2_PACKAGE_QT5BASE_CONCURRENT + select BR2_PACKAGE_QT5BASE_DBUS + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Qt Connectivity module provides support for Bluetooth/NFC + peripherials. + + https://doc.qt.io/qt-5/qtbluetooth-index.html + https://doc.qt.io/qt-5/qtnfc-index.html + +comment "qt5connectivity needs neard and/or bluez5_utils" + depends on !BR2_PACKAGE_NEARD && !BR2_PACKAGE_BLUEZ5_UTILS diff --git a/buildroot-2022.02.1/package/qt5/qt5connectivity/qt5connectivity.hash b/buildroot-2022.02.1/package/qt5/qt5connectivity/qt5connectivity.hash new file mode 100644 index 00000000..12e9d637 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5connectivity/qt5connectivity.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 216e9f6b1be00897ac1ce12f0ea4d1733eb70acd49ec3a83d01cd472b2fb5450 qtconnectivity-5e9ca5d36d65dadb98ef90013a1dcf15fbd7ae26.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5connectivity/qt5connectivity.mk b/buildroot-2022.02.1/package/qt5/qt5connectivity/qt5connectivity.mk new file mode 100644 index 00000000..a4c79be1 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5connectivity/qt5connectivity.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# qt5connectivity +# +################################################################################ + +QT5CONNECTIVITY_VERSION = 5e9ca5d36d65dadb98ef90013a1dcf15fbd7ae26 +QT5CONNECTIVITY_SITE = $(QT5_SITE)/qtconnectivity/-/archive/$(QT5CONNECTIVITY_VERSION) +QT5CONNECTIVITY_SOURCE = qtconnectivity-$(QT5CONNECTIVITY_VERSION).tar.bz2 +QT5CONNECTIVITY_INSTALL_STAGING = YES +QT5CONNECTIVITY_SYNC_QT_HEADERS = YES + +QT5CONNECTIVITY_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5CONNECTIVITY_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL + +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5CONNECTIVITY_LICENSE += , BSD-3-Clause (examples) +endif + +QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5DECLARATIVE),qt5declarative) +QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_BLUEZ5_UTILS),bluez5_utils) +QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_NEARD),neard) + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5declarative/0001-qsgtexture-fix-debug-build-with-uclibc.patch b/buildroot-2022.02.1/package/qt5/qt5declarative/0001-qsgtexture-fix-debug-build-with-uclibc.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5declarative/0001-qsgtexture-fix-debug-build-with-uclibc.patch rename to buildroot-2022.02.1/package/qt5/qt5declarative/0001-qsgtexture-fix-debug-build-with-uclibc.patch diff --git a/buildroot-2022.02.1/package/qt5/qt5declarative/0002-qv4regexp_p-needs-c-limits-include-instead-of-plain-.patch b/buildroot-2022.02.1/package/qt5/qt5declarative/0002-qv4regexp_p-needs-c-limits-include-instead-of-plain-.patch new file mode 100644 index 00000000..d3344c64 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5declarative/0002-qv4regexp_p-needs-c-limits-include-instead-of-plain-.patch @@ -0,0 +1,41 @@ +From bfd3d907f48aba870be00cd251f0b63d34985be2 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Thu, 22 Jul 2021 23:02:29 +0200 +Subject: [PATCH] qv4regexp_p: needs c++ limits include (instead of plain c + limit.h) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes gcc-11 compile: + + In file included from jsruntime/qv4regexp_p.h:62, + from jsruntime/qv4regexp.cpp:40: + ../3rdparty/masm/yarr/Yarr.h:46:44: error: ‘numeric_limits’ is not a member of ‘std’ + 46 | static const unsigned offsetNoMatch = std::numeric_limits::max(); + | ^~~~~~~~~~~~~~ + ../3rdparty/masm/yarr/Yarr.h:46:59: error: expected primary-expression before ‘unsigned’ + 46 | static const unsigned offsetNoMatch = std::numeric_limits::max(); + | ^~~~~~~~ + +Signed-off-by: Peter Seiderer +--- + src/qml/jsruntime/qv4regexp_p.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/qml/jsruntime/qv4regexp_p.h b/src/qml/jsruntime/qv4regexp_p.h +index 6afb10ea95..c64f3d3c38 100644 +--- a/src/qml/jsruntime/qv4regexp_p.h ++++ b/src/qml/jsruntime/qv4regexp_p.h +@@ -57,7 +57,7 @@ + #include + #include + +-#include ++#include + + #include + #include +-- +2.32.0 + diff --git a/buildroot-2022.02.1/package/qt5/qt5declarative/Config.in b/buildroot-2022.02.1/package/qt5/qt5declarative/Config.in new file mode 100644 index 00000000..477e1970 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5declarative/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_QT5DECLARATIVE + bool "qt5declarative" + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Qt Declarative module provides the Qt QML and Qt Quick + modules for developing UIs with the QML language + + https://doc.qt.io/qt-5/qtqml-index.html + https://doc.qt.io/qt-5/qtquick-index.html + +if BR2_PACKAGE_QT5DECLARATIVE + +config BR2_PACKAGE_QT5DECLARATIVE_QUICK + bool "quick module" + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_OPENGL if BR2_PACKAGE_QT5_GL_AVAILABLE + +endif diff --git a/buildroot-2022.02.1/package/qt5/qt5declarative/qt5declarative.hash b/buildroot-2022.02.1/package/qt5/qt5declarative/qt5declarative.hash new file mode 100644 index 00000000..adda7e03 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5declarative/qt5declarative.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 14a4b9640a2cd94771108dc3658a77c04c680f3d6444750d55e313b20774ce00 qtdeclarative-9349f3975d26632befc036fc9f2ea6e03aee2182.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5declarative/qt5declarative.mk b/buildroot-2022.02.1/package/qt5/qt5declarative/qt5declarative.mk new file mode 100644 index 00000000..e63a7802 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5declarative/qt5declarative.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# qt5declarative +# +################################################################################ + +QT5DECLARATIVE_VERSION = 9349f3975d26632befc036fc9f2ea6e03aee2182 +QT5DECLARATIVE_SITE = $(QT5_SITE)/qtdeclarative/-/archive/$(QT5DECLARATIVE_VERSION) +QT5DECLARATIVE_SOURCE = qtdeclarative-$(QT5DECLARATIVE_VERSION).tar.bz2 +QT5DECLARATIVE_INSTALL_STAGING = YES +QT5DECLARATIVE_SYNC_QT_HEADERS = YES + +QT5DECLARATIVE_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5DECLARATIVE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5enginio/0001-Do-not-use-deprecated-QLinkedList.patch b/buildroot-2022.02.1/package/qt5/qt5enginio/0001-Do-not-use-deprecated-QLinkedList.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5enginio/0001-Do-not-use-deprecated-QLinkedList.patch rename to buildroot-2022.02.1/package/qt5/qt5enginio/0001-Do-not-use-deprecated-QLinkedList.patch diff --git a/buildroot-2022.02.1/package/qt5/qt5enginio/Config.in b/buildroot-2022.02.1/package/qt5/qt5enginio/Config.in new file mode 100644 index 00000000..b738f0db --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5enginio/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_QT5ENGINIO + bool "qt5enginio" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_NETWORK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Enginio is a Backend-as-a-Service solution for simplifying + backend development of connected and data-driven applications. + + This package has been tagged as deprecated since version + 5.6 and not recommended for new design. + + https://doc.qt.io/archives/qt-5.5/enginio-index.html diff --git a/buildroot-2021.05/package/qt5/qt5enginio/qt5enginio.hash b/buildroot-2022.02.1/package/qt5/qt5enginio/qt5enginio.hash similarity index 100% rename from buildroot-2021.05/package/qt5/qt5enginio/qt5enginio.hash rename to buildroot-2022.02.1/package/qt5/qt5enginio/qt5enginio.hash diff --git a/buildroot-2021.05/package/qt5/qt5enginio/qt5enginio.mk b/buildroot-2022.02.1/package/qt5/qt5enginio/qt5enginio.mk similarity index 100% rename from buildroot-2021.05/package/qt5/qt5enginio/qt5enginio.mk rename to buildroot-2022.02.1/package/qt5/qt5enginio/qt5enginio.mk diff --git a/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/Config.in b/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/Config.in new file mode 100644 index 00000000..01946d8b --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_QT5GRAPHICALEFFECTS + bool "qt5graphicaleffects" + depends on BR2_PACKAGE_QT5_GL_AVAILABLE + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt Graphical Effects module provides a set of QML types + for adding visually impressive and configurable effects to + user interfaces. + + https://doc.qt.io/qt-5/qtgraphicaleffects-index.html + +comment "qt5graphicaleffects needs an OpenGL-capable backend" + depends on !BR2_PACKAGE_QT5_GL_AVAILABLE + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE diff --git a/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash b/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash new file mode 100644 index 00000000..e755f084 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/qt5graphicaleffects.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 3035f0a07a0c0a0627ecd082de4b39bbe91521314f11bb63bf4ce81347b855f9 qtgraphicaleffects-c36998dc1581167b12cc3de8e4ac68c2a5d9f76e.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk b/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk new file mode 100644 index 00000000..542eb4de --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5graphicaleffects/qt5graphicaleffects.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# qt5graphicaleffects +# +################################################################################ + +QT5GRAPHICALEFFECTS_VERSION = c36998dc1581167b12cc3de8e4ac68c2a5d9f76e +QT5GRAPHICALEFFECTS_SITE = $(QT5_SITE)/qtgraphicaleffects/-/archive/$(QT5GRAPHICALEFFECTS_VERSION) +QT5GRAPHICALEFFECTS_SOURCE = qtgraphicaleffects-$(QT5GRAPHICALEFFECTS_VERSION).tar.bz2 +QT5GRAPHICALEFFECTS_DEPENDENCIES = qt5declarative +QT5GRAPHICALEFFECTS_INSTALL_STAGING = YES +QT5GRAPHICALEFFECTS_SYNC_QT_HEADERS = YES + +QT5GRAPHICALEFFECTS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5GRAPHICALEFFECTS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5imageformats/Config.in b/buildroot-2022.02.1/package/qt5/qt5imageformats/Config.in new file mode 100644 index 00000000..2504d23a --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5imageformats/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_QT5IMAGEFORMATS + bool "qt5imageformats" + select BR2_PACKAGE_QT5BASE_GUI + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt Image Formats module provides plugins for + additional image formats: TIFF, MNG, TGA, WBMP + + https://doc.qt.io/qt-5/qtimageformats-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5imageformats/qt5imageformats.hash b/buildroot-2022.02.1/package/qt5/qt5imageformats/qt5imageformats.hash new file mode 100644 index 00000000..49690de3 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5imageformats/qt5imageformats.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 f2ff68c0d7192443e2fbcfdec73ee6a6bb160461b7757539906d9ad0c7f600d9 qtimageformats-cb82c74310837fe4e832c8ab72176a5d63e4355f.tar.bz2 + +# Hashes for license files: +sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 +sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5imageformats/qt5imageformats.mk b/buildroot-2022.02.1/package/qt5/qt5imageformats/qt5imageformats.mk new file mode 100644 index 00000000..506cd123 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5imageformats/qt5imageformats.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# qt5imageformats +# +################################################################################ + +QT5IMAGEFORMATS_VERSION = cb82c74310837fe4e832c8ab72176a5d63e4355f +QT5IMAGEFORMATS_SITE = $(QT5_SITE)/qtimageformats/-/archive/$(QT5IMAGEFORMATS_VERSION) +QT5IMAGEFORMATS_SOURCE = qtimageformats-$(QT5IMAGEFORMATS_VERSION).tar.bz2 +QT5IMAGEFORMATS_INSTALL_STAGING = YES +QT5IMAGEFORMATS_SYNC_QT_HEADERS = YES + +QT5IMAGEFORMATS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5IMAGEFORMATS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5knx/Config.in b/buildroot-2022.02.1/package/qt5/qt5knx/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5knx/Config.in rename to buildroot-2022.02.1/package/qt5/qt5knx/Config.in diff --git a/buildroot-2021.05/package/qt5/qt5knx/qt5knx.hash b/buildroot-2022.02.1/package/qt5/qt5knx/qt5knx.hash similarity index 100% rename from buildroot-2021.05/package/qt5/qt5knx/qt5knx.hash rename to buildroot-2022.02.1/package/qt5/qt5knx/qt5knx.hash diff --git a/buildroot-2022.02.1/package/qt5/qt5knx/qt5knx.mk b/buildroot-2022.02.1/package/qt5/qt5knx/qt5knx.mk new file mode 100644 index 00000000..412e31c6 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5knx/qt5knx.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# qt5knx +# +################################################################################ + +QT5KNX_VERSION = 5.15.2 +QT5KNX_SITE = https://code.qt.io/cgit/qt/qtknx.git +QT5KNX_SITE_METHOD = git +QT5KNX_INSTALL_STAGING = YES +QT5KNX_LICENSE = GPL-3.0 with exception +QT5KNX_LICENSE_FILES = LICENSE.GPL3 LICENSE.GPL3-EXCEPT +QT5KNX_SYNC_QT_HEADERS = YES + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5location/0001-3rdparty-mapbox-gl-native-fix-musl-compile-pthread_g.patch b/buildroot-2022.02.1/package/qt5/qt5location/0001-3rdparty-mapbox-gl-native-fix-musl-compile-pthread_g.patch new file mode 100644 index 00000000..0894af9c --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5location/0001-3rdparty-mapbox-gl-native-fix-musl-compile-pthread_g.patch @@ -0,0 +1,47 @@ +From acf752757ee4bf2913289ee1142f4968fdb22a4a Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Wed, 15 Sep 2021 23:05:52 +0200 +Subject: [PATCH] 3rdparty: mapbox-gl-native: fix musl compile + (pthread_getname_np) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- pthread_getname_np not available with musl libc (patch inspired/ported + from [1]) + +Fixes: + + platform/default/thread.cpp: In function ‘std::string mbgl::platform::getCurrentThreadName()’: + platform/default/thread.cpp:14:5: error: ‘pthread_getname_np’ was not declared in this scope; did you mean ‘pthread_setname_np’? + 14 | pthread_getname_np(pthread_self(), name, sizeof(name)); + | ^~~~~~~~~~~~~~~~~~ + | pthread_setname_np + +[1] https://github.com/void-linux/void-packages/blob/e64dd67f43c409d2b2db08214084e842d92ad620/srcpkgs/qt5/patches/0014-musl-set_thread_name_np.patch + +Signed-off-by: Peter Seiderer +[yann.morin.1998@free.fr: add uClibc] +Signed-off-by: Yann E. MORIN +--- + src/3rdparty/mapbox-gl-native/platform/default/thread.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp b/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp +index c7c79b4..3f135eb 100644 +--- a/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp ++++ b/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp +@@ -11,8 +11,9 @@ namespace platform { + + std::string getCurrentThreadName() { + char name[32] = "unknown"; ++#if defined(__GLIBC__) || defined(__UCLIBC__) + pthread_getname_np(pthread_self(), name, sizeof(name)); +- ++#endif + return name; + } + +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/qt5/qt5location/0002-fix-compilation-for-no-opengl-builds.patch b/buildroot-2022.02.1/package/qt5/qt5location/0002-fix-compilation-for-no-opengl-builds.patch new file mode 100644 index 00000000..98e65df2 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5location/0002-fix-compilation-for-no-opengl-builds.patch @@ -0,0 +1,528 @@ +From 4bcacd0dc8f73de7b9e5e5f5fa2129fd88bdff3b Mon Sep 17 00:00:00 2001 +From: Michal Klocek +Date: Mon, 11 Jan 2021 16:02:14 +0100 +Subject: [PATCH] Fix compilation for no opengl builds + +Disables experimental labs qml plugin, which +since a4469cad40 depends heavily on opengl backend. + +Fix warnings with msvc when compiling without experimental +plugin. + +Task-number: QTBUG-91623 +Fixes: QTBUG-88017 +Change-Id: I53c5da915981bd05f39134ba57f585d0a0786aa8 + +Signed-off-by: Michal Klocek +Signed-off-by: Alex Blasche + +[Retrieved from: https://codereview.qt-project.org/c/qt/qtlocation/+/340353] +Signed-off-by: Adam Duskett +--- + src/location/configure.json | 1 + + .../qdeclarativecirclemapitem.cpp | 20 +++++++++++-- + .../qdeclarativecirclemapitem_p_p.h | 2 ++ + .../qdeclarativepolygonmapitem.cpp | 27 +++++++++++++---- + .../qdeclarativepolygonmapitem_p_p.h | 6 ++++ + .../qdeclarativepolylinemapitem.cpp | 30 +++++++++++++++---- + .../qdeclarativepolylinemapitem_p.h | 2 ++ + .../qdeclarativepolylinemapitem_p_p.h | 5 +++- + .../qdeclarativerectanglemapitem.cpp | 17 +++++++++-- + .../qdeclarativerectanglemapitem_p_p.h | 2 ++ + src/location/location.pro | 9 +++++- + .../itemsoverlay/qgeomapitemsoverlay.cpp | 9 +++++- + 12 files changed, 109 insertions(+), 21 deletions(-) + +diff --git a/src/location/configure.json b/src/location/configure.json +index 62ab029..6d01a9a 100644 +--- a/src/location/configure.json ++++ b/src/location/configure.json +@@ -9,6 +9,7 @@ + "label": "Qt.labs.location experimental QML plugin", + "purpose": "Provides experimental QtLocation QML types", + "section": "Location", ++ "condition": "config.opengl", + "output": [ "privateFeature" ] + }, + "geoservices_osm": { +diff --git a/src/location/declarativemaps/qdeclarativecirclemapitem.cpp b/src/location/declarativemaps/qdeclarativecirclemapitem.cpp +index 841c29a..955de2c 100644 +--- a/src/location/declarativemaps/qdeclarativecirclemapitem.cpp ++++ b/src/location/declarativemaps/qdeclarativecirclemapitem.cpp +@@ -446,6 +446,7 @@ void QDeclarativeCircleMapItem::updatePolish() + */ + void QDeclarativeCircleMapItem::possiblySwitchBackend(const QGeoCoordinate &oldCenter, qreal oldRadius, const QGeoCoordinate &newCenter, qreal newRadius) + { ++#if QT_CONFIG(opengl) + if (m_backend != QDeclarativeCircleMapItem::OpenGL) + return; + +@@ -459,6 +460,9 @@ void QDeclarativeCircleMapItem::possiblySwitchBackend(const QGeoCoordinate &oldC + QScopedPointer d(static_cast(new QDeclarativeCircleMapItemPrivateOpenGL(*this))); + m_d.swap(d); + } ++#else ++ return; ++#endif + } + + /*! +@@ -534,9 +538,17 @@ void QDeclarativeCircleMapItem::setBackend(QDeclarativeCircleMapItem::Backend b) + if (b == m_backend) + return; + m_backend = b; +- QScopedPointer d((m_backend == Software) +- ? static_cast(new QDeclarativeCircleMapItemPrivateCPU(*this)) +- : static_cast(new QDeclarativeCircleMapItemPrivateOpenGL(*this))); ++ QScopedPointer d( ++ (m_backend == Software) ? static_cast( ++ new QDeclarativeCircleMapItemPrivateCPU(*this)) ++#if QT_CONFIG(opengl) ++ : static_cast( ++ new QDeclarativeCircleMapItemPrivateOpenGL(*this))); ++#else ++ : nullptr); ++ qFatal("Requested non software rendering backend, but source code is compiled wihtout opengl " ++ "support"); ++#endif + m_d.swap(d); + m_d->onGeoGeometryChanged(); + emit backendChanged(); +@@ -565,7 +577,9 @@ QDeclarativeCircleMapItemPrivate::~QDeclarativeCircleMapItemPrivate() {} + + QDeclarativeCircleMapItemPrivateCPU::~QDeclarativeCircleMapItemPrivateCPU() {} + ++#if QT_CONFIG(opengl) + QDeclarativeCircleMapItemPrivateOpenGL::~QDeclarativeCircleMapItemPrivateOpenGL() {} ++#endif + + bool QDeclarativeCircleMapItemPrivate::preserveCircleGeometry (QList &path, + const QGeoCoordinate ¢er, qreal distance, const QGeoProjectionWebMercator &p) +diff --git a/src/location/declarativemaps/qdeclarativecirclemapitem_p_p.h b/src/location/declarativemaps/qdeclarativecirclemapitem_p_p.h +index 4cf4217..dbe6c8b 100644 +--- a/src/location/declarativemaps/qdeclarativecirclemapitem_p_p.h ++++ b/src/location/declarativemaps/qdeclarativecirclemapitem_p_p.h +@@ -275,6 +275,7 @@ public: + MapPolygonNode *m_node = nullptr; + }; + ++#if QT_CONFIG(opengl) + class Q_LOCATION_PRIVATE_EXPORT QDeclarativeCircleMapItemPrivateOpenGL: public QDeclarativeCircleMapItemPrivate + { + public: +@@ -443,6 +444,7 @@ public: + MapPolygonNodeGL *m_node = nullptr; + MapPolylineNodeOpenGLExtruded *m_polylinenode = nullptr; + }; ++#endif // QT_CONFIG(opengl) + + QT_END_NAMESPACE + +diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp +index fa6ee17..af4f55e 100644 +--- a/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp ++++ b/src/location/declarativemaps/qdeclarativepolygonmapitem.cpp +@@ -334,6 +334,7 @@ void QGeoMapPolygonGeometry::updateScreenPoints(const QGeoMap &map, qreal stroke + this->translate(QPointF(strokeWidth, strokeWidth)); + } + ++#if QT_CONFIG(opengl) + QGeoMapPolygonGeometryOpenGL::QGeoMapPolygonGeometryOpenGL(){ + } + +@@ -344,6 +345,7 @@ void QGeoMapPolygonGeometryOpenGL::updateSourcePoints(const QGeoMap &map, const + geopath.append(QWebMercator::mercatorToCoord(c)); + updateSourcePoints(map, geopath); + } ++#endif + + // wrapPath always preserves the geometry + // This one handles holes +@@ -452,6 +454,7 @@ static void cutPathEars(const QList &wrappedPath, + screenIndices << quint32(i); + } + ++#if QT_CONFIG(opengl) + /*! + \internal + */ +@@ -594,7 +597,7 @@ void QGeoMapPolygonGeometryOpenGL::updateQuickGeometry(const QGeoProjectionWebMe + sourceBounds_.setWidth(brect.width()); + sourceBounds_.setHeight(brect.height()); + } +- ++#endif // QT_CONFIG(opengl) + /* + * QDeclarativePolygonMapItem Private Implementations + */ +@@ -603,8 +606,9 @@ QDeclarativePolygonMapItemPrivate::~QDeclarativePolygonMapItemPrivate() {} + + QDeclarativePolygonMapItemPrivateCPU::~QDeclarativePolygonMapItemPrivateCPU() {} + ++#if QT_CONFIG(opengl) + QDeclarativePolygonMapItemPrivateOpenGL::~QDeclarativePolygonMapItemPrivateOpenGL() {} +- ++#endif + /* + * QDeclarativePolygonMapItem Implementation + */ +@@ -689,9 +693,17 @@ void QDeclarativePolygonMapItem::setBackend(QDeclarativePolygonMapItem::Backend + if (b == m_backend) + return; + m_backend = b; +- QScopedPointer d((m_backend == Software) +- ? static_cast(new QDeclarativePolygonMapItemPrivateCPU(*this)) +- : static_cast(new QDeclarativePolygonMapItemPrivateOpenGL(*this))); ++ QScopedPointer d( ++ (m_backend == Software) ? static_cast( ++ new QDeclarativePolygonMapItemPrivateCPU(*this)) ++#if QT_CONFIG(opengl) ++ : static_cast( ++ new QDeclarativePolygonMapItemPrivateOpenGL(*this))); ++#else ++ : nullptr); ++ qFatal("Requested non software rendering backend, but source code is compiled wihtout opengl " ++ "support"); ++#endif + m_d.swap(d); + m_d->onGeoGeometryChanged(); + emit backendChanged(); +@@ -898,6 +910,7 @@ void QDeclarativePolygonMapItem::geometryChanged(const QRectF &newGeometry, cons + + ////////////////////////////////////////////////////////////////////// + ++#if QT_CONFIG(opengl) + QSGMaterialShader *MapPolygonMaterial::createShader() const + { + return new MapPolygonShader(); +@@ -916,6 +929,7 @@ QSGMaterialType *MapPolygonMaterial::type() const + static QSGMaterialType type; + return &type; + } ++#endif + + MapPolygonNode::MapPolygonNode() : + border_(new MapPolylineNode()), +@@ -967,6 +981,7 @@ void MapPolygonNode::update(const QColor &fillColor, const QColor &borderColor, + } + } + ++#if QT_CONFIG(opengl) + MapPolygonNodeGL::MapPolygonNodeGL() : + //fill_material_(this), + fill_material_(), +@@ -1052,5 +1067,5 @@ void MapPolygonShader::updateState(const QSGMaterialShader::RenderState &state, + program()->setUniformValue(m_center_lowpart_id, vecCenter_lowpart); + program()->setUniformValue(m_wrapOffset_id, float(newMaterial->wrapOffset())); + } +- ++#endif // QT_CONFIG(opengl) + QT_END_NAMESPACE +diff --git a/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h b/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h +index 8d566e6..5e75deb 100644 +--- a/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h ++++ b/src/location/declarativemaps/qdeclarativepolygonmapitem_p_p.h +@@ -89,6 +89,7 @@ protected: + bool assumeSimple_; + }; + ++#if QT_CONFIG(opengl) + class Q_LOCATION_PRIVATE_EXPORT QGeoMapPolygonGeometryOpenGL : public QGeoMapItemGeometry + { + public: +@@ -197,6 +198,7 @@ private: + int m_color_id; + int m_wrapOffset_id; + }; ++#endif // QT_CONFIG(opengl) + + class Q_LOCATION_PRIVATE_EXPORT MapPolygonMaterial : public QSGFlatColorMaterial + { +@@ -269,6 +271,7 @@ private: + QSGGeometry geometry_; + }; + ++#if QT_CONFIG(opengl) + class Q_LOCATION_PRIVATE_EXPORT MapPolygonNodeGL : public MapItemGeometryNode + { + +@@ -284,6 +287,7 @@ public: + MapPolygonMaterial fill_material_; + QSGGeometry geometry_; + }; ++#endif // QT_CONFIG(opengl) + + class Q_LOCATION_PRIVATE_EXPORT QDeclarativePolygonMapItemPrivate + { +@@ -479,6 +483,7 @@ public: + MapPolygonNode *m_node = nullptr; + }; + ++#if QT_CONFIG(opengl) + class Q_LOCATION_PRIVATE_EXPORT QDeclarativePolygonMapItemPrivateOpenGL: public QDeclarativePolygonMapItemPrivate + { + public: +@@ -662,6 +667,7 @@ public: + MapPolygonNodeGL *m_node = nullptr; + MapPolylineNodeOpenGLExtruded *m_polylinenode = nullptr; + }; ++#endif // QT_CONFIG(opengl) + + QT_END_NAMESPACE + +diff --git a/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp b/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp +index d59704d..83d253f 100644 +--- a/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp ++++ b/src/location/declarativemaps/qdeclarativepolylinemapitem.cpp +@@ -769,6 +769,7 @@ bool QGeoMapPolylineGeometry::contains(const QPointF &point) const + return false; + } + ++#if QT_CONFIG(opengl) + void QGeoMapPolylineGeometryOpenGL::updateSourcePoints(const QGeoMap &map, const QGeoPolygon &poly) + { + if (!sourceDirty_) +@@ -921,6 +922,7 @@ void QGeoMapPolylineGeometryOpenGL::updateQuickGeometry(const QGeoProjectionWebM + sourceBounds_.setWidth(brect.width() + strokeWidth); + sourceBounds_.setHeight(brect.height() + strokeWidth); + } ++#endif // QT_CONFIG(opengl) + + /* + * QDeclarativePolygonMapItem Private Implementations +@@ -928,12 +930,13 @@ void QGeoMapPolylineGeometryOpenGL::updateQuickGeometry(const QGeoProjectionWebM + + QDeclarativePolylineMapItemPrivate::~QDeclarativePolylineMapItemPrivate() {} + +- + QDeclarativePolylineMapItemPrivateCPU::~QDeclarativePolylineMapItemPrivateCPU() {} + ++#if QT_CONFIG(opengl) + QDeclarativePolylineMapItemPrivateOpenGLLineStrip::~QDeclarativePolylineMapItemPrivateOpenGLLineStrip() {} + + QDeclarativePolylineMapItemPrivateOpenGLExtruded::~QDeclarativePolylineMapItemPrivateOpenGLExtruded() {} ++#endif + + /* + * QDeclarativePolygonMapItem Implementation +@@ -941,10 +944,12 @@ QDeclarativePolylineMapItemPrivateOpenGLExtruded::~QDeclarativePolylineMapItemPr + + struct PolylineBackendSelector + { ++#if QT_CONFIG(opengl) + PolylineBackendSelector() + { + backend = (qgetenv("QTLOCATION_OPENGL_ITEMS").toInt()) ? QDeclarativePolylineMapItem::OpenGLExtruded : QDeclarativePolylineMapItem::Software; + } ++#endif + QDeclarativePolylineMapItem::Backend backend = QDeclarativePolylineMapItem::Software; + }; + +@@ -1236,11 +1241,22 @@ void QDeclarativePolylineMapItem::setBackend(QDeclarativePolylineMapItem::Backen + if (b == m_backend) + return; + m_backend = b; +- QScopedPointer d((m_backend == Software) +- ? static_cast(new QDeclarativePolylineMapItemPrivateCPU(*this)) +- : ((m_backend == OpenGLExtruded) +- ? static_cast(new QDeclarativePolylineMapItemPrivateOpenGLExtruded(*this)) +- : static_cast(new QDeclarativePolylineMapItemPrivateOpenGLLineStrip(*this)))); ++ QScopedPointer d( ++ (m_backend == Software) ++ ? static_cast( ++ new QDeclarativePolylineMapItemPrivateCPU(*this)) ++#if QT_CONFIG(opengl) ++ : ((m_backend == OpenGLExtruded) ++ ? static_cast( ++ new QDeclarativePolylineMapItemPrivateOpenGLExtruded(*this)) ++ : static_cast( ++ new QDeclarativePolylineMapItemPrivateOpenGLLineStrip( ++ *this)))); ++#else ++ : nullptr); ++ qFatal("Requested non software rendering backend, but source code is compiled wihtout opengl " ++ "support"); ++#endif + m_d.swap(d); + m_d->onGeoGeometryChanged(); + emit backendChanged(); +@@ -1477,6 +1493,7 @@ void MapPolylineNode::update(const QColor &fillColor, + } + } + ++#if QT_CONFIG(opengl) + MapPolylineNodeOpenGLLineStrip::MapPolylineNodeOpenGLLineStrip() + : geometry_(QSGGeometry::defaultAttributes_Point2D(), 0) + { +@@ -2080,5 +2097,6 @@ unsigned int QGeoMapItemLODGeometry::zoomForLOD(unsigned int zoom) + return res; + return res + 1; // give more resolution when closing in + } ++#endif // QT_CONFIG(opengl) + + QT_END_NAMESPACE +diff --git a/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h b/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h +index 9cd20ea..d3d0ebd 100644 +--- a/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h ++++ b/src/location/declarativemaps/qdeclarativepolylinemapitem_p.h +@@ -97,8 +97,10 @@ class Q_LOCATION_PRIVATE_EXPORT QDeclarativePolylineMapItem : public QDeclarativ + public: + enum Backend { + Software = 0, ++#if QT_CONFIG(opengl) + OpenGLLineStrip = 1, + OpenGLExtruded = 2, ++#endif + }; + + explicit QDeclarativePolylineMapItem(QQuickItem *parent = 0); +diff --git a/src/location/declarativemaps/qdeclarativepolylinemapitem_p_p.h b/src/location/declarativemaps/qdeclarativepolylinemapitem_p_p.h +index 2a921e2..e184391 100644 +--- a/src/location/declarativemaps/qdeclarativepolylinemapitem_p_p.h ++++ b/src/location/declarativemaps/qdeclarativepolylinemapitem_p_p.h +@@ -213,6 +213,7 @@ protected: + QSGGeometry geometry_; + }; + ++#if QT_CONFIG(opengl) + class Q_LOCATION_PRIVATE_EXPORT QGeoMapItemLODGeometry + { + public: +@@ -566,6 +567,7 @@ protected: + MapPolylineMaterialExtruded fill_material_; + QSGGeometry m_geometryTriangulating; + }; ++#endif // QT_CONFIG(opengl) + + class Q_LOCATION_PRIVATE_EXPORT QDeclarativePolylineMapItemPrivate + { +@@ -720,6 +722,7 @@ public: + MapPolylineNode *m_node = nullptr; + }; + ++#if QT_CONFIG(opengl) + class Q_LOCATION_PRIVATE_EXPORT QDeclarativePolylineMapItemPrivateOpenGLLineStrip: public QDeclarativePolylineMapItemPrivate + { + public: +@@ -884,7 +887,7 @@ public: + + MapPolylineNodeOpenGLExtruded *m_nodeTri = nullptr; + }; +- ++#endif // QT_CONFIG(opengl) + QT_END_NAMESPACE + + #endif // QDECLARATIVEPOLYLINEMAPITEM_P_P_H +diff --git a/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp b/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp +index 74d2cc1..6192be0 100644 +--- a/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp ++++ b/src/location/declarativemaps/qdeclarativerectanglemapitem.cpp +@@ -185,9 +185,18 @@ void QDeclarativeRectangleMapItem::setBackend(QDeclarativeRectangleMapItem::Back + if (b == m_backend) + return; + m_backend = b; +- QScopedPointer d((m_backend == Software) +- ? static_cast(new QDeclarativeRectangleMapItemPrivateCPU(*this)) +- : static_cast(new QDeclarativeRectangleMapItemPrivateOpenGL(*this))); ++ QScopedPointer d( ++ (m_backend == Software) ? static_cast( ++ new QDeclarativeRectangleMapItemPrivateCPU(*this)) ++#if QT_CONFIG(opengl) ++ : static_cast( ++ new QDeclarativeRectangleMapItemPrivateOpenGL(*this))); ++#else ++ : nullptr); ++ qFatal("Requested non software rendering backend, but source code is compiled wihtout opengl " ++ "support"); ++#endif ++ + m_d.swap(d); + m_d->onGeoGeometryChanged(); + emit backendChanged(); +@@ -397,6 +406,8 @@ QDeclarativeRectangleMapItemPrivate::~QDeclarativeRectangleMapItemPrivate() {} + + QDeclarativeRectangleMapItemPrivateCPU::~QDeclarativeRectangleMapItemPrivateCPU() {} + ++#if QT_CONFIG(opengl) + QDeclarativeRectangleMapItemPrivateOpenGL::~QDeclarativeRectangleMapItemPrivateOpenGL() {} ++#endif + + QT_END_NAMESPACE +diff --git a/src/location/declarativemaps/qdeclarativerectanglemapitem_p_p.h b/src/location/declarativemaps/qdeclarativerectanglemapitem_p_p.h +index 65d2f61..f7ecd2a 100644 +--- a/src/location/declarativemaps/qdeclarativerectanglemapitem_p_p.h ++++ b/src/location/declarativemaps/qdeclarativerectanglemapitem_p_p.h +@@ -244,6 +244,7 @@ public: + MapPolygonNode *m_node = nullptr; + }; + ++#if QT_CONFIG(opengl) + class Q_LOCATION_PRIVATE_EXPORT QDeclarativeRectangleMapItemPrivateOpenGL: public QDeclarativeRectangleMapItemPrivate + { + public: +@@ -410,6 +411,7 @@ public: + MapPolygonNodeGL *m_node = nullptr; + MapPolylineNodeOpenGLExtruded *m_polylinenode = nullptr; + }; ++#endif // QT_CONFIG(opengl) + + QT_END_NAMESPACE + +diff --git a/src/location/location.pro b/src/location/location.pro +index b0e2c3f..ae20271 100644 +--- a/src/location/location.pro ++++ b/src/location/location.pro +@@ -39,7 +39,14 @@ include(maps/maps.pri) + include(places/places.pri) + include(declarativemaps/declarativemaps.pri) + include(declarativeplaces/declarativeplaces.pri) +-qtConfig(location-labs-plugin):include(labs/labs.pri) ++qtConfig(location-labs-plugin) { ++ include(labs/labs.pri) ++} else { ++ # FIXME: this should be moved out of plugin source code, geojson is referenced from other places ++ # within codebase,however compilation of location-labs-plugin is optional ++ PRIVATE_HEADERS += labs/qgeojson_p.h ++ SOURCES += labs/qgeojson.cpp ++} + + HEADERS += $$PUBLIC_HEADERS $$PRIVATE_HEADERS + +diff --git a/src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp b/src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp +index 1ebad08..a764438 100644 +--- a/src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp ++++ b/src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.cpp +@@ -103,6 +103,7 @@ QGeoMap::Capabilities QGeoMapItemsOverlay::capabilities() const + bool QGeoMapItemsOverlay::createMapObjectImplementation(QGeoMapObject *obj) + { + #ifndef LOCATIONLABS ++ Q_UNUSED(obj); + return false; + #else + Q_D(QGeoMapItemsOverlay); +@@ -132,7 +133,9 @@ QSGNode *QGeoMapItemsOverlay::updateSceneGraph(QSGNode *node, QQuickWindow *wind + + void QGeoMapItemsOverlay::removeMapObject(QGeoMapObject *obj) + { +-#ifdef LOCATIONLABS ++#ifndef LOCATIONLABS ++ Q_UNUSED(obj); ++#else + Q_D(QGeoMapItemsOverlay); + d->removeMapObject(obj); + #endif +@@ -169,7 +172,11 @@ QRectF QGeoMapItemsOverlayPrivate::visibleArea() const + QGeoMapItemsOverlayPrivate::QGeoMapItemsOverlayPrivate(QGeoMappingManagerEngineItemsOverlay *engine, QGeoMapItemsOverlay *map) + : QGeoMapPrivate(engine, new QGeoProjectionWebMercator) + { ++#ifndef LOCATIONLABS ++ Q_UNUSED(map); ++#else + m_qsgSupport.m_map = map; ++#endif + } + + QGeoMapItemsOverlayPrivate::~QGeoMapItemsOverlayPrivate() +-- +2.33.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5location/Config.in b/buildroot-2022.02.1/package/qt5/qt5location/Config.in new file mode 100644 index 00000000..3d91adaf --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5location/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_QT5LOCATION + bool "qt5location" + select BR2_PACKAGE_QT5BASE_GUI + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt Location API helps you create viable mapping + solutions using the data available from some of the + popular location services. + + https://doc.qt.io/qt-5/qtlocation-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5location/qt5location.hash b/buildroot-2022.02.1/package/qt5/qt5location/qt5location.hash new file mode 100644 index 00000000..17da2bb9 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5location/qt5location.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 11cf8320598821c97f853635c529451503917895f11e664dfdd0b63bf48c8a46 qt5location-861e372b6ad81570d4f496e42fb25a6699b72f2f-br1.tar.gz + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5location/qt5location.mk b/buildroot-2022.02.1/package/qt5/qt5location/qt5location.mk new file mode 100644 index 00000000..b1d19d78 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5location/qt5location.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# qt5location +# +################################################################################ + +QT5LOCATION_VERSION = 861e372b6ad81570d4f496e42fb25a6699b72f2f +QT5LOCATION_SITE = $(QT5_SITE)/qtlocation +QT5LOCATION_SITE_METHOD = git +QT5LOCATION_GIT_SUBMODULES = YES +QT5LOCATION_INSTALL_STAGING = YES +QT5LOCATION_SYNC_QT_HEADERS = YES + +QT5LOCATION_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5LOCATION_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5LOCATION_DEPENDENCIES += qt5declarative +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5lottie/Config.in b/buildroot-2022.02.1/package/qt5/qt5lottie/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5lottie/Config.in rename to buildroot-2022.02.1/package/qt5/qt5lottie/Config.in diff --git a/buildroot-2022.02.1/package/qt5/qt5lottie/qt5lottie.hash b/buildroot-2022.02.1/package/qt5/qt5lottie/qt5lottie.hash new file mode 100644 index 00000000..46ab3f60 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5lottie/qt5lottie.hash @@ -0,0 +1,6 @@ +# Locally calculated +sha256 edbf1270733e385189dbcdad67ecec24c9e372168215873eadb31735d0947de1 qtlottie-fa8c8bfc6742ab98b61d1351e054e0e73e9a42f4.tar.bz2 + +# Hashes for license files: +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT diff --git a/buildroot-2022.02.1/package/qt5/qt5lottie/qt5lottie.mk b/buildroot-2022.02.1/package/qt5/qt5lottie/qt5lottie.mk new file mode 100644 index 00000000..e9614fbe --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5lottie/qt5lottie.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# qt5lottie +# +################################################################################ + +QT5LOTTIE_VERSION = fa8c8bfc6742ab98b61d1351e054e0e73e9a42f4 +QT5LOTTIE_SITE = $(QT5_SITE)/qtlottie/-/archive/$(QT5LOTTIE_VERSION) +QT5LOTTIE_SOURCE = qtlottie-$(QT5LOTTIE_VERSION).tar.bz2 +QT5LOTTIE_DEPENDENCIES = qt5declarative +QT5LOTTIE_INSTALL_STAGING = YES +QT5LOTTIE_SYNC_QT_HEADERS = YES + +QT5LOTTIE_LICENSE = GPL-3.0 +QT5LOTTIE_LICENSE_FILES = LICENSE.GPL3 LICENSE.GPL3-EXCEPT + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5mqtt/Config.in b/buildroot-2022.02.1/package/qt5/qt5mqtt/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5mqtt/Config.in rename to buildroot-2022.02.1/package/qt5/qt5mqtt/Config.in diff --git a/buildroot-2021.05/package/qt5/qt5mqtt/qt5mqtt.hash b/buildroot-2022.02.1/package/qt5/qt5mqtt/qt5mqtt.hash similarity index 100% rename from buildroot-2021.05/package/qt5/qt5mqtt/qt5mqtt.hash rename to buildroot-2022.02.1/package/qt5/qt5mqtt/qt5mqtt.hash diff --git a/buildroot-2022.02.1/package/qt5/qt5mqtt/qt5mqtt.mk b/buildroot-2022.02.1/package/qt5/qt5mqtt/qt5mqtt.mk new file mode 100644 index 00000000..0b62cf1b --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5mqtt/qt5mqtt.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# qt5mqtt +# +################################################################################ + +QT5MQTT_VERSION = 5.15.2 +QT5MQTT_SITE = https://code.qt.io/cgit/qt/qtmqtt.git +QT5MQTT_SITE_METHOD = git +QT5MQTT_INSTALL_STAGING = YES +QT5MQTT_LICENSE = GPL-3.0 with exception +QT5MQTT_LICENSE_FILES = LICENSE.GPL3 LICENSE.GPL3-EXCEPT +QT5MQTT_SYNC_QT_HEADERS = YES + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5multimedia/Config.in b/buildroot-2022.02.1/package/qt5/qt5multimedia/Config.in new file mode 100644 index 00000000..46608555 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5multimedia/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_QT5MULTIMEDIA + bool "qt5multimedia" + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_NETWORK + select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE_OPENGL + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt Multimedia module provides a rich feature set that + enables you to easily take advantage of a platform's + multimedia capabilities such as media playback and the use + of camera and radio devices. + + https://doc.qt.io/qt-5/multimediaoverview.html diff --git a/buildroot-2022.02.1/package/qt5/qt5multimedia/qt5multimedia.hash b/buildroot-2022.02.1/package/qt5/qt5multimedia/qt5multimedia.hash new file mode 100644 index 00000000..1c4d9302 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5multimedia/qt5multimedia.hash @@ -0,0 +1,10 @@ +# Locally calculated +sha256 95e94b016f256b57b2df3f1df7d02d6f077c600faa4312561f02121623dfecef qtmultimedia-bd29c87027637a013f2c5e3b549fcda84e4d7545.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL +sha256 c1d75c15db4409bcbb182180d582f410a263dc9a631cd546b256e95f1da42165 examples/multimedia/spectrum/3rdparty/fftreal/license.txt diff --git a/buildroot-2022.02.1/package/qt5/qt5multimedia/qt5multimedia.mk b/buildroot-2022.02.1/package/qt5/qt5multimedia/qt5multimedia.mk new file mode 100644 index 00000000..66953690 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5multimedia/qt5multimedia.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# qt5multimedia +# +################################################################################ + +QT5MULTIMEDIA_VERSION = bd29c87027637a013f2c5e3b549fcda84e4d7545 +QT5MULTIMEDIA_SITE = $(QT5_SITE)/qtmultimedia/-/archive/$(QT5MULTIMEDIA_VERSION) +QT5MULTIMEDIA_SOURCE = qtmultimedia-$(QT5MULTIMEDIA_VERSION).tar.bz2 +QT5MULTIMEDIA_INSTALL_STAGING = YES +QT5MULTIMEDIA_SYNC_QT_HEADERS = YES + +QT5MULTIMEDIA_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5MULTIMEDIA_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) +QT5MULTIMEDIA_DEPENDENCIES += gst1-plugins-base +endif + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5MULTIMEDIA_DEPENDENCIES += qt5declarative +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_PULSEAUDIO),yy) +QT5MULTIMEDIA_DEPENDENCIES += libglib2 pulseaudio +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +QT5MULTIMEDIA_DEPENDENCIES += alsa-lib +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5MULTIMEDIA_LICENSE += , LGPL-2.1+ (examples/multimedia/spectrum/3rdparty/fftreal) +QT5MULTIMEDIA_LICENSE_FILES += examples/multimedia/spectrum/3rdparty/fftreal/license.txt +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5opcua/Config.in b/buildroot-2022.02.1/package/qt5/qt5opcua/Config.in new file mode 100644 index 00000000..2b0ba37a --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5opcua/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_QT5OPCUA + bool "qt5opcua" + depends on BR2_PACKAGE_QT5 + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt OPC UA module implements a Qt API to interact with + OPC UA on top of a 3rd party OPC UA stack. diff --git a/buildroot-2022.02.1/package/qt5/qt5opcua/qt5opcua.hash b/buildroot-2022.02.1/package/qt5/qt5opcua/qt5opcua.hash new file mode 100644 index 00000000..e55fb177 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5opcua/qt5opcua.hash @@ -0,0 +1,10 @@ +# Hash locally calculated +sha256 562171c6dfd6f4f072316ddb6d7c5bcc8907a68ba31005cb8c20ed75beff34fb qt5opcua-5.15.2-br1.tar.gz + +# Hashes for license files: +sha256 d93cc415382f0013088fa276d9cf82373badf244c78220a926f15ee46f0fe3c4 LICENSE-CC0 +sha256 f827ad079686ba92cc94811e35492d0e8966f704008b6da9eeda0b659fb58a8d LICENSE.FDL +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 6c3f3c31b93985f1b93bfbb35fb609d37281697d0efc220c9f91cf4b59eaabde LICENSE.GPLv2 +sha256 75d800e60c8d58c2e7f0338e8552ea6123a9ce7e5dd8e1cdf2095e013b737488 LICENSE.LGPLv3 diff --git a/buildroot-2022.02.1/package/qt5/qt5opcua/qt5opcua.mk b/buildroot-2022.02.1/package/qt5/qt5opcua/qt5opcua.mk new file mode 100644 index 00000000..ef51abdd --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5opcua/qt5opcua.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# qt5opcua +# +################################################################################ + +QT5OPCUA_VERSION = 5.15.2 +QT5OPCUA_SITE = https://code.qt.io/qt/qtopcua.git +QT5OPCUA_SITE_METHOD = git +QT5OPCUA_INSTALL_STAGING = YES +QT5OPCUA_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) CC0-1.0 +QT5OPCUA_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPLv3 LICENSE.FDL LICENSE-CC0 +QT5OPCUA_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +QT5OPCUA_DEPENDENCIES += mbedtls +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5quickcontrols/Config.in b/buildroot-2022.02.1/package/qt5/qt5quickcontrols/Config.in new file mode 100644 index 00000000..ae090eb6 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5quickcontrols/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_QT5QUICKCONTROLS + bool "qt5quickcontrols" + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt Quick Controls module provides a set of controls + that can be used to build complete interfaces in Qt Quick. + + https://doc.qt.io/qt-5/qtquickcontrols-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5quickcontrols/qt5quickcontrols.hash b/buildroot-2022.02.1/package/qt5/qt5quickcontrols/qt5quickcontrols.hash new file mode 100644 index 00000000..2138b3e3 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5quickcontrols/qt5quickcontrols.hash @@ -0,0 +1,8 @@ +# Locally calculated +sha256 7df0648d9b8fdde1ea27abd9d6eb3ff170e8e666872ea97c07e1bb5ac241be4b qtquickcontrols-cf3f6d7fec824cdf01f9b329ab3b92b1c0e0a420.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5quickcontrols/qt5quickcontrols.mk b/buildroot-2022.02.1/package/qt5/qt5quickcontrols/qt5quickcontrols.mk new file mode 100644 index 00000000..c2b5ae18 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5quickcontrols/qt5quickcontrols.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# qt5quickcontrols +# +################################################################################ + +QT5QUICKCONTROLS_VERSION = cf3f6d7fec824cdf01f9b329ab3b92b1c0e0a420 +QT5QUICKCONTROLS_SITE = $(QT5_SITE)/qtquickcontrols/-/archive/$(QT5QUICKCONTROLS_VERSION) +QT5QUICKCONTROLS_SOURCE = qtquickcontrols-$(QT5QUICKCONTROLS_VERSION).tar.bz2 +QT5QUICKCONTROLS_DEPENDENCIES = qt5declarative +QT5QUICKCONTROLS_INSTALL_STAGING = YES +QT5QUICKCONTROLS_SYNC_QT_HEADERS = YES + +QT5QUICKCONTROLS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs) +QT5QUICKCONTROLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.LGPL3 LICENSE.FDL + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/Config.in b/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/Config.in new file mode 100644 index 00000000..02e36257 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_QT5QUICKCONTROLS2 + bool "qt5quickcontrols2" + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative/quick + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt5quickcontrols2 module. + + This module was in tech preview in Qt 5.6, and promoted + to a core module in Qt 5.7.0. + + https://doc.qt.io/qt-5/qtquickcontrols-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash b/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash new file mode 100644 index 00000000..766fd690 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/qt5quickcontrols2.hash @@ -0,0 +1,7 @@ +# Locally calculated +sha256 f0315b0f0301fdb16d6ee78c57e3cd600121884c1356ca1160ace96a57ac17bc qtquickcontrols2-d8d6b14b9907adbc6ce307d52be34aaa761a58fa.tar.bz2 + +# Hashes for license files: +sha256 d2cfc059acb4abd8e513cd0a73cd8489f34cbafa7bc34d5d31fb3210821cf8ca LICENSE.GPLv3 +sha256 9e63a04ce021b8bf811b30881fa51c8c3db88afeead942cd59322f2fb69c75bc LICENSE.LGPLv3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk b/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk new file mode 100644 index 00000000..ff1a49a9 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5quickcontrols2/qt5quickcontrols2.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# qt5quickcontrols2 +# +################################################################################ + +QT5QUICKCONTROLS2_VERSION = d8d6b14b9907adbc6ce307d52be34aaa761a58fa +QT5QUICKCONTROLS2_SITE = $(QT5_SITE)/qtquickcontrols2/-/archive/$(QT5QUICKCONTROLS2_VERSION) +QT5QUICKCONTROLS2_SOURCE = qtquickcontrols2-$(QT5QUICKCONTROLS2_VERSION).tar.bz2 +QT5QUICKCONTROLS2_DEPENDENCIES = qt5declarative +QT5QUICKCONTROLS2_INSTALL_STAGING = YES +QT5QUICKCONTROLS2_SYNC_QT_HEADERS = YES + +QT5QUICKCONTROLS2_LICENSE = GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs) +QT5QUICKCONTROLS2_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5quicktimeline/Config.in b/buildroot-2022.02.1/package/qt5/qt5quicktimeline/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5quicktimeline/Config.in rename to buildroot-2022.02.1/package/qt5/qt5quicktimeline/Config.in diff --git a/buildroot-2022.02.1/package/qt5/qt5quicktimeline/qt5quicktimeline.hash b/buildroot-2022.02.1/package/qt5/qt5quicktimeline/qt5quicktimeline.hash new file mode 100644 index 00000000..c2d0b11f --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5quicktimeline/qt5quicktimeline.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 4d88f7f70c8a983378cb9702bf1551c6a150fb283d0540bd43a120d953e077e3 qtquicktimeline-67503cdadea43b95ddad0de1a04951aff0ce1a07.tar.bz2 + +# Hashes for license files: +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 diff --git a/buildroot-2022.02.1/package/qt5/qt5quicktimeline/qt5quicktimeline.mk b/buildroot-2022.02.1/package/qt5/qt5quicktimeline/qt5quicktimeline.mk new file mode 100644 index 00000000..49d0cb33 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5quicktimeline/qt5quicktimeline.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# qt5quicktimeline +# +################################################################################ + +QT5QUICKTIMELINE_VERSION = 67503cdadea43b95ddad0de1a04951aff0ce1a07 +QT5QUICKTIMELINE_SITE = $(QT5_SITE)/qtquicktimeline/-/archive/$(QT5QUICKTIMELINE_VERSION) +QT5QUICKTIMELINE_SOURCE = qtquicktimeline-$(QT5QUICKTIMELINE_VERSION).tar.bz2 +QT5QUICKTIMELINE_DEPENDENCIES = qt5declarative +QT5QUICKTIMELINE_INSTALL_STAGING = YES +QT5QUICKTIMELINE_SYNC_QT_HEADERS = YES + +QT5QUICKTIMELINE_LICENSE = GPL-3.0, GFDL-1.3 (docs) +QT5QUICKTIMELINE_LICENSE_FILES = LICENSE.GPL3 + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5remoteobjects/Config.in b/buildroot-2022.02.1/package/qt5/qt5remoteobjects/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5remoteobjects/Config.in rename to buildroot-2022.02.1/package/qt5/qt5remoteobjects/Config.in diff --git a/buildroot-2022.02.1/package/qt5/qt5remoteobjects/qt5remoteobjects.hash b/buildroot-2022.02.1/package/qt5/qt5remoteobjects/qt5remoteobjects.hash new file mode 100644 index 00000000..a2573a01 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5remoteobjects/qt5remoteobjects.hash @@ -0,0 +1,8 @@ +# Locally calculated +sha256 43c876d475228a0b727d2b2ae47cecc8cbd665d1574ad4db61b209c08a488b90 qtremoteobjects-4d6d1e35fb8e0cb900b5e5e9266edea51dc4f735.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 diff --git a/buildroot-2022.02.1/package/qt5/qt5remoteobjects/qt5remoteobjects.mk b/buildroot-2022.02.1/package/qt5/qt5remoteobjects/qt5remoteobjects.mk new file mode 100644 index 00000000..b7dee4f2 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5remoteobjects/qt5remoteobjects.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# qt5remoteobjects +# +################################################################################ + +QT5REMOTEOBJECTS_VERSION = 4d6d1e35fb8e0cb900b5e5e9266edea51dc4f735 +QT5REMOTEOBJECTS_SITE = $(QT5_SITE)/qtremoteobjects/-/archive/$(QT5REMOTEOBJECTS_VERSION) +QT5REMOTEOBJECTS_SOURCE = qtremoteobjects-$(QT5REMOTEOBJECTS_VERSION).tar.bz2 +QT5REMOTEOBJECTS_DEPENDENCIES = qt5base +QT5REMOTEOBJECTS_INSTALL_STAGING = YES +QT5REMOTEOBJECTS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception (tools), GFDL-1.3 (docs) +QT5REMOTEOBJECTS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 +QT5REMOTEOBJECTS_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5REMOTEOBJECTS_DEPENDENCIES += qt5declarative +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch b/buildroot-2022.02.1/package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch rename to buildroot-2022.02.1/package/qt5/qt5script/0001-Detect-32-bits-armv8-a-architecture.patch diff --git a/buildroot-2022.02.1/package/qt5/qt5script/Config.in b/buildroot-2022.02.1/package/qt5/qt5script/Config.in new file mode 100644 index 00000000..6e08a3df --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5script/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_QT5SCRIPT + bool "qt5script" + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Qt Script provides support for making Qt applications + scriptable. Provided for Qt 4.x compatibility. + + This package has been tagged as deprecated since version + 5.5.0 and should be replaced by Qt QML module in new + design. + + https://doc.qt.io/qt-5/qtscript-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5script/qt5script.hash b/buildroot-2022.02.1/package/qt5/qt5script/qt5script.hash new file mode 100644 index 00000000..0b34ff3e --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5script/qt5script.hash @@ -0,0 +1,10 @@ +# Locally calculated +sha256 bd748330ad08ea504875b9e0a316c0ecc01e6990e16d3bec61f5f55b9e291011 qtscript-5be95f966aabc5170f0aacfd4b0a46217241bfd6.tar.bz2 + +# Hashes for license files: +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL +sha256 5094ecb9c9dcd0eadc34f3c11511d9b5535063032bc150164ecd1a5d5a445547 src/3rdparty/javascriptcore/JavaScriptCore/COPYING.LIB +sha256 43b007cd3ac7b7ea5284b13e9580334028e6f42e859059605d57558f39374197 src/3rdparty/javascriptcore/JavaScriptCore/pcre/COPYING diff --git a/buildroot-2022.02.1/package/qt5/qt5script/qt5script.mk b/buildroot-2022.02.1/package/qt5/qt5script/qt5script.mk new file mode 100644 index 00000000..4e51eacf --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5script/qt5script.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# qt5script +# +################################################################################ + +QT5SCRIPT_VERSION = 5be95f966aabc5170f0aacfd4b0a46217241bfd6 +QT5SCRIPT_SITE = $(QT5_SITE)/qtscript/-/archive/$(QT5SCRIPT_VERSION) +QT5SCRIPT_SOURCE = qtscript-$(QT5SCRIPT_VERSION).tar.bz2 +QT5SCRIPT_INSTALL_STAGING = YES +QT5SCRIPT_SYNC_QT_HEADERS = YES + +# JavaScriptCore contains files under BSD-2-Clause, BSD-3-Clause, and LGPL-2+. +# This is linked into libQt5Script, which also contains Qt sources under +# LGPL-2.1 (only). Therefore, the library is LGPL-2.1 and BSD-3-Clause. +# libQt5ScriptTools is under the normal Qt opensource license. +QT5SCRIPT_LICENSE = LGPL-2.1, BSD-3-Clause, LGPL-3.0 or GPL-2.0+ (libQt5ScriptTools), GFDL-1.3 (docs) +# LGPL-2.1 license file is missing +QT5SCRIPT_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.LGPL3 LICENSE.FDL +# License files from JavaScriptCore +QT5SCRIPT_LICENSE_FILES += \ + src/3rdparty/javascriptcore/JavaScriptCore/COPYING.LIB \ + src/3rdparty/javascriptcore/JavaScriptCore/pcre/COPYING + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5scxml/Config.in b/buildroot-2022.02.1/package/qt5/qt5scxml/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5scxml/Config.in rename to buildroot-2022.02.1/package/qt5/qt5scxml/Config.in diff --git a/buildroot-2022.02.1/package/qt5/qt5scxml/qt5scxml.hash b/buildroot-2022.02.1/package/qt5/qt5scxml/qt5scxml.hash new file mode 100644 index 00000000..85e72f53 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5scxml/qt5scxml.hash @@ -0,0 +1,7 @@ +# Locally calculated +sha256 6ce28e969efae2ab74fe3eda61a5d90fcfc4bf734cd9f36942a6968189530e69 qtscxml-7a15000f42c7a3171719727cd056f82a78244ed7.tar.bz2 + +# Hashes for license files: +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 diff --git a/buildroot-2022.02.1/package/qt5/qt5scxml/qt5scxml.mk b/buildroot-2022.02.1/package/qt5/qt5scxml/qt5scxml.mk new file mode 100644 index 00000000..d5d26536 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5scxml/qt5scxml.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# qt5scxml +# +################################################################################ + +QT5SCXML_VERSION = 7a15000f42c7a3171719727cd056f82a78244ed7 +QT5SCXML_SITE = $(QT5_SITE)/qtscxml/-/archive/$(QT5SCXML_VERSION) +QT5SCXML_SOURCE = qtscxml-$(QT5SCXML_VERSION).tar.bz2 +QT5SCXML_DEPENDENCIES = qt5declarative +QT5SCXML_INSTALL_STAGING = YES +QT5SCXML_SYNC_QT_HEADERS = YES + +QT5SCXML_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5SCXML_LICENSE_FILES = LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5SCXML_LICENSE += , BSD-3-Clause (examples) +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5sensors/Config.in b/buildroot-2022.02.1/package/qt5/qt5sensors/Config.in new file mode 100644 index 00000000..31a42e64 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5sensors/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_QT5SENSORS + bool "qt5sensors" + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt Sensors API provides access to sensor hardware + via QML and C++ interfaces. + + https://doc.qt.io/qt-5/qtsensors-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5sensors/qt5sensors.hash b/buildroot-2022.02.1/package/qt5/qt5sensors/qt5sensors.hash new file mode 100644 index 00000000..6be87e8c --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5sensors/qt5sensors.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 1db8f6093595b574217eaec98da874d5eb46bb80343ddaa0a5bff0f6b45c5498 qtsensors-921a31375f29e429e95352b08b2b9dbfea663cb1.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5sensors/qt5sensors.mk b/buildroot-2022.02.1/package/qt5/qt5sensors/qt5sensors.mk new file mode 100644 index 00000000..eebda912 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5sensors/qt5sensors.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# qt5sensors +# +################################################################################ + +QT5SENSORS_VERSION = 921a31375f29e429e95352b08b2b9dbfea663cb1 +QT5SENSORS_SITE = $(QT5_SITE)/qtsensors/-/archive/$(QT5SENSORS_VERSION) +QT5SENSORS_SOURCE = qtsensors-$(QT5SENSORS_VERSION).tar.bz2 +QT5SENSORS_INSTALL_STAGING = YES +QT5SENSORS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5SENSORS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL +QT5SENSORS_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5SENSORS_DEPENDENCIES += qt5declarative +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5serialbus/Config.in b/buildroot-2022.02.1/package/qt5/qt5serialbus/Config.in new file mode 100644 index 00000000..466ab7dc --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5serialbus/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_QT5SERIALBUS + bool "qt5serialbus" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 # CAN FD + select BR2_PACKAGE_QT5SERIALPORT + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt5serialbus module. + + This module was in tech preview in Qt 5.6, and promoted + to a core module in Qt 5.8.0. + + https://doc.qt.io/qt-5/qtserialbus-index.html + +comment "qt5serialbus needs headers >= 3.6" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 diff --git a/buildroot-2022.02.1/package/qt5/qt5serialbus/qt5serialbus.hash b/buildroot-2022.02.1/package/qt5/qt5serialbus/qt5serialbus.hash new file mode 100644 index 00000000..8b560a8a --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5serialbus/qt5serialbus.hash @@ -0,0 +1,8 @@ +# Locally calculated +sha256 77056fba2ea313241c4780d959d8a3d916add816ced4cd5c95138e331a178d6b qtserialbus-8884c5e43df846deac5a0c7c290eeb633d6bfe32.tar.bz2 + +# Hashes for license files: +sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 +sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 +sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5serialbus/qt5serialbus.mk b/buildroot-2022.02.1/package/qt5/qt5serialbus/qt5serialbus.mk new file mode 100644 index 00000000..fc62c853 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5serialbus/qt5serialbus.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# qt5serialbus +# +################################################################################ + +QT5SERIALBUS_VERSION = 8884c5e43df846deac5a0c7c290eeb633d6bfe32 +QT5SERIALBUS_SITE = $(QT5_SITE)/qtserialbus/-/archive/$(QT5SERIALBUS_VERSION) +QT5SERIALBUS_SOURCE = qtserialbus-$(QT5SERIALBUS_VERSION).tar.bz2 +QT5SERIALBUS_DEPENDENCIES = qt5serialport +QT5SERIALBUS_INSTALL_STAGING = YES +QT5SERIALBUS_SYNC_QT_HEADERS = YES + +QT5SERIALBUS_LICENSE = GPL-2.0 or GPL-3.0 or LGPL-3.0, GFDL-1.3 (docs) +QT5SERIALBUS_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5serialport/Config.in b/buildroot-2022.02.1/package/qt5/qt5serialport/Config.in new file mode 100644 index 00000000..90cff864 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5serialport/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_QT5SERIALPORT + bool "qt5serialport" + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Qt Serial Port provides the basic functionality, which + includes configuring, I/O operations, getting and setting + the control signals of the RS-232 pinouts. + + https://doc.qt.io/qt-5/qtserialport-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5serialport/qt5serialport.hash b/buildroot-2022.02.1/package/qt5/qt5serialport/qt5serialport.hash new file mode 100644 index 00000000..6d821c38 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5serialport/qt5serialport.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 fb618df447132364cabf75e36b5a1d74ae7664a604662366711b58e10d1ce075 qtserialport-941d1d8560d1f3e40077c251fbde6fd6a5b0f0d4.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5serialport/qt5serialport.mk b/buildroot-2022.02.1/package/qt5/qt5serialport/qt5serialport.mk new file mode 100644 index 00000000..370093f6 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5serialport/qt5serialport.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# qt5serialport +# +################################################################################ + +QT5SERIALPORT_VERSION = 941d1d8560d1f3e40077c251fbde6fd6a5b0f0d4 +QT5SERIALPORT_SITE = $(QT5_SITE)/qtserialport/-/archive/$(QT5SERIALPORT_VERSION) +QT5SERIALPORT_SOURCE = qtserialport-$(QT5SERIALPORT_VERSION).tar.bz2 +QT5SERIALPORT_INSTALL_STAGING = YES +QT5SERIALPORT_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5SERIALPORT_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL +QT5SERIALPORT_SYNC_QT_HEADERS = YES + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5svg/Config.in b/buildroot-2022.02.1/package/qt5/qt5svg/Config.in new file mode 100644 index 00000000..02a5089b --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5svg/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_QT5SVG + bool "qt5svg" + select BR2_PACKAGE_QT5BASE_GUI + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Qt SVG provides classes for rendering and displaying SVG + drawings in widgets and on other paint devices. + + https://doc.qt.io/qt-5/qtsvg-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5svg/qt5svg.hash b/buildroot-2022.02.1/package/qt5/qt5svg/qt5svg.hash new file mode 100644 index 00000000..1e4dc54c --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5svg/qt5svg.hash @@ -0,0 +1,8 @@ +# Locally calculated +sha256 7f45cc161ede4e918a4f3236af7e81d63404199529460cf74b620565dfce6d9e qtsvg-728012f7762ecd5762d493f8796907c6456f31e7.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 +sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5svg/qt5svg.mk b/buildroot-2022.02.1/package/qt5/qt5svg/qt5svg.mk new file mode 100644 index 00000000..849a2b7f --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5svg/qt5svg.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# qt5svg +# +################################################################################ + +QT5SVG_VERSION = 728012f7762ecd5762d493f8796907c6456f31e7 +QT5SVG_SITE = $(QT5_SITE)/qtsvg/-/archive/$(QT5SVG_VERSION) +QT5SVG_SOURCE = qtsvg-$(QT5SVG_VERSION).tar.bz2 +QT5SVG_INSTALL_STAGING = YES +QT5SVG_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5SVG_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL +QT5SVG_SYNC_QT_HEADERS = YES + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5tools/0001-Disable-designer-tool-fixes-configure-error.patch b/buildroot-2022.02.1/package/qt5/qt5tools/0001-Disable-designer-tool-fixes-configure-error.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5tools/0001-Disable-designer-tool-fixes-configure-error.patch rename to buildroot-2022.02.1/package/qt5/qt5tools/0001-Disable-designer-tool-fixes-configure-error.patch diff --git a/buildroot-2022.02.1/package/qt5/qt5tools/Config.in b/buildroot-2022.02.1/package/qt5/qt5tools/Config.in new file mode 100644 index 00000000..428413d5 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5tools/Config.in @@ -0,0 +1,59 @@ +config BR2_PACKAGE_QT5TOOLS + bool "qt5tools" + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Qt Tools provides tools facilitate the development + and design of applications. + + https://doc.qt.io/qt-5/qtmodules.html#qt-tools + +if BR2_PACKAGE_QT5TOOLS + +config BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS + bool "Linguist host tools (lconvert, lrelease, lupdate)" + help + This option enables the linguist host tools + lconvert, lrelease and lupdate. + +config BR2_PACKAGE_QT5TOOLS_QDOC_TOOL + bool "qdoc host tool" + # Needs llvm-config and libclang for the host, which is not + # currently supported in Buildroot, unless the target is + # already supported by llvm. + depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS # llvm, clang + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # llvm, clang + depends on BR2_TOOLCHAIN_HAS_THREADS # llvm, clang + depends on BR2_INSTALL_LIBSTDCPP # llvm, clang + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # llvm, clang + depends on !BR2_STATIC_LIBS # llvm, clang + depends on BR2_USE_WCHAR # llvm, clang + help + This option enables the qdoc host tool. + +config BR2_PACKAGE_QT5TOOLS_PIXELTOOL + bool "pixeltool" + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5BASE_PNG # saving png images + help + Compile and install the pixeltool program. + +config BR2_PACKAGE_QT5TOOLS_QTDIAG + bool "qtdiag" + select BR2_PACKAGE_QT5BASE_GUI + help + Compile and install the qtdiag program. + +config BR2_PACKAGE_QT5TOOLS_QTPATHS + bool "qtpaths" + help + Compile and install the qtpaths program. + +config BR2_PACKAGE_QT5TOOLS_QTPLUGININFO + bool "qtplugininfo" + help + Compile and install the qtplugininfo program. + +endif diff --git a/buildroot-2022.02.1/package/qt5/qt5tools/qt5tools.hash b/buildroot-2022.02.1/package/qt5/qt5tools/qt5tools.hash new file mode 100644 index 00000000..a5638019 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5tools/qt5tools.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 e5ee14a50d5be68ba53e11c76c6e90cc7d7023eab5050447869e7f5e472478a8 qttools-33693a928986006d79c1ee743733cde5966ac402.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5tools/qt5tools.mk b/buildroot-2022.02.1/package/qt5/qt5tools/qt5tools.mk new file mode 100644 index 00000000..e2385080 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5tools/qt5tools.mk @@ -0,0 +1,65 @@ +################################################################################ +# +# qt5tools +# +################################################################################ + +QT5TOOLS_VERSION = 33693a928986006d79c1ee743733cde5966ac402 +QT5TOOLS_SITE = $(QT5_SITE)/qttools/-/archive/$(QT5TOOLS_VERSION) +QT5TOOLS_SOURCE = qttools-$(QT5TOOLS_VERSION).tar.bz2 + +QT5TOOLS_INSTALL_STAGING = YES +QT5TOOLS_SYNC_QT_HEADERS = YES + +# linguist tools compile conditionally on qtHaveModule(qmldevtools-private), +# but the condition is used only used to decide if lupdate will support +# parsing qml files (via setting QT_NO_QML define), no linking against +# target qt5 will happen +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5TOOLS_DEPENDENCIES += qt5declarative +endif + +QT5TOOLS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5TOOLS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL + +QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS) += \ + linguist/lconvert linguist/lrelease linguist/lupdate +QT5TOOLS_INSTALL_STAGING_DIR_$(BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS) += \ + linguist + +ifeq ($(BR2_PACKAGE_QT5TOOLS_QDOC_TOOL),y) +QT5TOOLS_BUILD_DIRS_y += qdoc +QT5TOOLS_INSTALL_STAGING_DIR_y += qdoc +QT5TOOLS_DEPENDENCIES += host-clang +endif + +QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_PIXELTOOL) += pixeltool +QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_PIXELTOOL) += pixeltool + +QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTDIAG) += qtdiag +QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTDIAG) += qtdiag + +QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTPATHS) += qtpaths +QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTPATHS) += qtpaths + +QT5TOOLS_BUILD_DIRS_$(BR2_PACKAGE_QT5TOOLS_QTPLUGININFO) += qtplugininfo +QT5TOOLS_INSTALL_TARGET_$(BR2_PACKAGE_QT5TOOLS_QTPLUGININFO) += qtplugininfo + +define QT5TOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) sub-src-qmake_all + $(foreach p,$(QT5TOOLS_BUILD_DIRS_y), \ + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src/$(p)$(sep)) +endef + +# use install target to copy cmake module files +define QT5TOOLS_INSTALL_STAGING_CMDS + $(foreach p,$(QT5TOOLS_INSTALL_STAGING_DIR_y), \ + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/src/$(p) install$(sep)) +endef + +define QT5TOOLS_INSTALL_TARGET_CMDS + $(foreach p,$(QT5TOOLS_INSTALL_TARGET_y), \ + $(INSTALL) -D -m0755 $(@D)/bin/$(p) $(TARGET_DIR)/usr/bin/$(p)$(sep)) +endef + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5virtualkeyboard/Config.in b/buildroot-2022.02.1/package/qt5/qt5virtualkeyboard/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5virtualkeyboard/Config.in rename to buildroot-2022.02.1/package/qt5/qt5virtualkeyboard/Config.in diff --git a/buildroot-2022.02.1/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash b/buildroot-2022.02.1/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash new file mode 100644 index 00000000..432e3099 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 a91024f241df0d24ee398c262b61d126d451c70f05ef109901cfb483d1201538 qtvirtualkeyboard-98d1fd864cbb6c7c012c4139118808af110fb8f0.tar.bz2 + +# Hashes for license files: +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 7a45a9769d19545480a241230e6ea520b5156fac00930dcd69b6886749743d10 src/plugins/lipi-toolkit/3rdparty/lipi-toolkit/MIT_LICENSE.txt +sha256 05cc719deafd0ab083b03296bb2911de10d116953b626a7629b9ca59938038b1 src/plugins/openwnn/3rdparty/openwnn/NOTICE +sha256 b5830d96fb5a7e7e7ebcc295f352846b4b998e78fdc8f9aa68e134d2e4b39986 src/plugins/pinyin/3rdparty/pinyin/NOTICE +sha256 9400a6128693d2f25653698e695f554660c71efccc8c21af28bf143e35199db6 src/plugins/tcime/3rdparty/tcime/COPYING diff --git a/buildroot-2022.02.1/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk b/buildroot-2022.02.1/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk new file mode 100644 index 00000000..8e997a24 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5virtualkeyboard/qt5virtualkeyboard.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# qt5virtualkeyboard +# +################################################################################ + +QT5VIRTUALKEYBOARD_VERSION = 98d1fd864cbb6c7c012c4139118808af110fb8f0 +QT5VIRTUALKEYBOARD_SITE = $(QT5_SITE)/qtvirtualkeyboard/-/archive/$(QT5VIRTUALKEYBOARD_VERSION) +QT5VIRTUALKEYBOARD_SOURCE = qtvirtualkeyboard-$(QT5VIRTUALKEYBOARD_VERSION).tar.bz2 +QT5VIRTUALKEYBOARD_DEPENDENCIES = qt5declarative qt5svg +QT5VIRTUALKEYBOARD_INSTALL_STAGING = YES +QT5VIRTUALKEYBOARD_SYNC_QT_HEADERS = YES + +QT5VIRTUALKEYBOARD_LICENSE = GPL-3.0 +QT5VIRTUALKEYBOARD_LICENSE_FILES = LICENSE.GPL3 + +QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS = $(call qstrip,$(BR2_PACKAGE_QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)) +ifneq ($(strip $(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),) +QT5VIRTUALKEYBOARD_QMAKEFLAGS += CONFIG+="$(foreach lang,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS),lang-$(lang))" + +ifneq ($(filter ja_JP all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),) +QT5VIRTUALKEYBOARD_LICENSE += , Apache-2.0 (openwnn) +QT5VIRTUALKEYBOARD_LICENSE_FILES += src/plugins/openwnn/3rdparty/openwnn/NOTICE +endif + +ifneq ($(filter zh_CN all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),) +QT5VIRTUALKEYBOARD_LICENSE += , Apache-2.0 (pinyin) +QT5VIRTUALKEYBOARD_LICENSE_FILES += src/plugins/pinyin/3rdparty/pinyin/NOTICE +endif + +ifneq ($(filter zh_TW all,$(QT5VIRTUALKEYBOARD_LANGUAGE_LAYOUTS)),) +QT5VIRTUALKEYBOARD_LICENSE += , Apache-2.0 (tcime), BSD-3-Clause (tcime) +QT5VIRTUALKEYBOARD_LICENSE_FILES += src/plugins/tcime/3rdparty/tcime/COPYING +endif +endif + +ifeq ($(BR2_PACKAGE_QT5VIRTUALKEYBOARD_HANDWRITING),y) +QT5VIRTUALKEYBOARD_CONF_OPTS += CONFIG+=handwriting +QT5VIRTUALKEYBOARD_LICENSE += , MIT (lipi-toolkit) +QT5VIRTUALKEYBOARD_LICENSE_FILES += src/plugins/lipi-toolkit/3rdparty/lipi-toolkit/MIT_LICENSE.txt +endif + +ifeq ($(BR2_PACKAGE_QT5VIRTUALKEYBOARD_ARROW_KEY_NAVIGATION),y) +QT5VIRTUALKEYBOARD_CONF_OPTS += CONFIG+=arrow-key-navigation +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch b/buildroot-2022.02.1/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch new file mode 100644 index 00000000..adad3768 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5wayland/0001-Add-missing-define-guards.patch @@ -0,0 +1,35 @@ +From 05658e127dedfff65789860415537c6920ec574d Mon Sep 17 00:00:00 2001 +From: Samuli Piippo +Date: Thu, 22 Apr 2021 15:29:56 +0300 +Subject: [PATCH] Add missing define guards + +Ammend cca1b94190a094b5d1d7ce492b6533e2d330c5e8 to use m_composeState +only if xcbcommon is available. + +Pick-to: 5.15 +Change-Id: I48332b15def3282c5bda3e1c7c393ea7e9849cbe +Reviewed-by: Aleix Pol Gonzalez +[Backported from: 05658e127dedfff65789860415537c6920ec574d] +Signed-off-by: Quentin Schulz +--- + src/client/qwaylandinputcontext.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/client/qwaylandinputcontext.cpp b/src/client/qwaylandinputcontext.cpp +index 16e03ea1..cbf63cde 100644 +--- a/src/client/qwaylandinputcontext.cpp ++++ b/src/client/qwaylandinputcontext.cpp +@@ -408,8 +408,10 @@ bool QWaylandInputContext::isValid() const + void QWaylandInputContext::reset() + { + qCDebug(qLcQpaInputMethods) << Q_FUNC_INFO; ++#if QT_CONFIG(xkbcommon) + if (m_composeState) + xkb_compose_state_reset(m_composeState); ++#endif + + QPlatformInputContext::reset(); + +-- +2.35.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5wayland/Config.in b/buildroot-2022.02.1/package/qt5/qt5wayland/Config.in new file mode 100644 index 00000000..fe698fe8 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5wayland/Config.in @@ -0,0 +1,24 @@ +comment "qt5wayland needs an OpenGL-capable backend" + depends on !BR2_PACKAGE_QT5_GL_AVAILABLE + +config BR2_PACKAGE_QT5WAYLAND + bool "qt5wayland" + depends on BR2_PACKAGE_QT5_GL_AVAILABLE + select BR2_PACKAGE_WAYLAND + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt5wayland module. + + https://qt.io + +if BR2_PACKAGE_QT5WAYLAND + +config BR2_PACKAGE_QT5WAYLAND_COMPOSITOR + bool "Enable compositor (experimental)" + help + The compositor API is still experimental, and not built by + default. + +endif diff --git a/buildroot-2022.02.1/package/qt5/qt5wayland/qt5wayland.hash b/buildroot-2022.02.1/package/qt5/qt5wayland/qt5wayland.hash new file mode 100644 index 00000000..1a7400de --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5wayland/qt5wayland.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 a29d52c7b12987ed56d922455e0776e161075392969f7c6a8b141b00bd3dd46b qtwayland-b6d85c2a75f5618e87267f5b5c361455be257a17.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5wayland/qt5wayland.mk b/buildroot-2022.02.1/package/qt5/qt5wayland/qt5wayland.mk new file mode 100644 index 00000000..bcc49150 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5wayland/qt5wayland.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# qt5wayland +# +################################################################################ + +QT5WAYLAND_VERSION = b6d85c2a75f5618e87267f5b5c361455be257a17 +QT5WAYLAND_SITE = $(QT5_SITE)/qtwayland/-/archive/$(QT5WAYLAND_VERSION) +QT5WAYLAND_SOURCE = qtwayland-$(QT5WAYLAND_VERSION).tar.bz2 +QT5WAYLAND_DEPENDENCIES = wayland +QT5WAYLAND_INSTALL_STAGING = YES +QT5WAYLAND_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y) +QT5WAYLAND_DEPENDENCIES += qt5declarative +endif + +ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) +QT5WAYLAND_DEPENDENCIES += libxkbcommon +endif + +QT5WAYLAND_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5WAYLAND_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL + +ifeq ($(BR2_PACKAGE_QT5WAYLAND_COMPOSITOR),y) +QT5WAYLAND_CONF_OPTS += CONFIG+=wayland-compositor +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5webchannel/Config.in b/buildroot-2022.02.1/package/qt5/qt5webchannel/Config.in new file mode 100644 index 00000000..1cd295b1 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webchannel/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_QT5WEBCHANNEL + bool "qt5webchannel" + select BR2_PACKAGE_QT5WEBSOCKETS + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Qt WebChannel enables peer-to-peer communication between + a server (QML/C++ application) and a client + (HTML/JavaScript or QML application). + + https://doc.qt.io/qt-5/qtwebchannel-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5webchannel/qt5webchannel.hash b/buildroot-2022.02.1/package/qt5/qt5webchannel/qt5webchannel.hash new file mode 100644 index 00000000..af195b32 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webchannel/qt5webchannel.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 cc75d29ca38d512b79f2bfbcdb641cdb02dd3a1024f2c9c530abec00418effbf qtwebchannel-fa8b07105b5e274daaa8adcc129fa4aa0447f9f7.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5webchannel/qt5webchannel.mk b/buildroot-2022.02.1/package/qt5/qt5webchannel/qt5webchannel.mk new file mode 100644 index 00000000..042a28fc --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webchannel/qt5webchannel.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# qt5webchannel +# +################################################################################ + +QT5WEBCHANNEL_VERSION = fa8b07105b5e274daaa8adcc129fa4aa0447f9f7 +QT5WEBCHANNEL_SITE = $(QT5_SITE)/qtwebchannel/-/archive/$(QT5WEBCHANNEL_VERSION) +QT5WEBCHANNEL_SOURCE = qtwebchannel-$(QT5WEBCHANNEL_VERSION).tar.bz2 +QT5WEBCHANNEL_DEPENDENCIES = qt5websockets +QT5WEBCHANNEL_INSTALL_STAGING = YES +QT5WEBCHANNEL_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5WEBCHANNEL_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL +QT5WEBCHANNEL_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5WEBCHANNEL_LICENSE += , BSD-3-Clause (examples) +endif + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5WEBCHANNEL_DEPENDENCIES += qt5declarative +endif + +define QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT + $(INSTALL) -m 0644 -D $(@D)/examples/webchannel/shared/qwebchannel.js \ + $(TARGET_DIR)/var/www/qwebchannel.js +endef +QT5WEBCHANNEL_POST_INSTALL_TARGET_HOOKS += QT5WEBCHANNEL_INSTALL_TARGET_JAVASCRIPT + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5webengine/0001-gn.pro-don-t-link-statically-with-libstc.patch b/buildroot-2022.02.1/package/qt5/qt5webengine/0001-gn.pro-don-t-link-statically-with-libstc.patch similarity index 100% rename from buildroot-2021.05/package/qt5/qt5webengine/0001-gn.pro-don-t-link-statically-with-libstc.patch rename to buildroot-2022.02.1/package/qt5/qt5webengine/0001-gn.pro-don-t-link-statically-with-libstc.patch diff --git a/buildroot-2022.02.1/package/qt5/qt5webengine/0002-chromium-breakpad-fix-build-with-glibc-2.34.patch b/buildroot-2022.02.1/package/qt5/qt5webengine/0002-chromium-breakpad-fix-build-with-glibc-2.34.patch new file mode 100644 index 00000000..44a6424c --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webengine/0002-chromium-breakpad-fix-build-with-glibc-2.34.patch @@ -0,0 +1,76 @@ +From a3bc792bdc116806a50e022d9102914c8daf6210 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Wed, 4 Aug 2021 19:11:06 +0200 +Subject: [PATCH] chromium: breakpad: fix build with glibc-2.34 + +* fixes: +[218/24061] CXX obj/third_party/breakpad/client/exception_handler.o +FAILED: obj/third_party/breakpad/client/exception_handler.o +/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.15.4+gitAUTOINC+dd7f7a9166_555f348ae8-r0/recipe-sysroot-native/usr/bin/x86_64-webos-linux/x86_64-webos-linux-g++ -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wdate-time --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/qtwebengine/5.15.4+gitAUTOINC+dd7f7a9166_555f348ae8-r0/recipe-sysroot -MMD -MF obj/third_party/breakpad/client/exception_handler.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DCR_SYSROOT_HASH=5f64b417e1018dcf8fcc81dc2714e0f264b9b911 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../../../git/src/3rdparty/chromium/third_party/breakpad -I../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src -I../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client -I../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/third_party/linux/include -Igen -I../../../../git/src/3rdparty/chromium -I../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -m64 -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g1 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-packed-not-aligned -Wno-dangling-else -Wno-missing-field-initializers -Wno-unused-parameter -std=gnu++14 -fno-exceptions -fno-rtti --sysroot=../../../../recipe-sysroot -fvisibility-inlines-hidden -Wno-narrowing -Wno-class-memaccess -Wno-attributes -Wno-class-memaccess -Wno-subobject-linkage -Wno-invalid-offsetof -Wno-return-type -Wno-deprecated-copy -c ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc -o obj/third_party/breakpad/client/exception_handler.o +../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc: In function 'void google_breakpad::{anonymous}::InstallAlternateStackLocked()': +../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: error: no matching function for call to 'max(int, long int)' + 141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); + | ~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/char_traits.h:39, + from ../../../../recipe-sysroot/usr/include/c++/11.2.0/string:40, + from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h:38, + from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:66: +../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:254:5: note: candidate: 'template constexpr const _Tp& std::max(const _Tp&, const _Tp&)' + 254 | max(const _Tp& __a, const _Tp& __b) + | ^~~ +../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:254:5: note: template argument deduction/substitution failed: +../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'long int') + 141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); + | ~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/char_traits.h:39, + from ../../../../recipe-sysroot/usr/include/c++/11.2.0/string:40, + from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.h:38, + from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:66: +../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:300:5: note: candidate: 'template constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)' + 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) + | ^~~ +../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algobase.h:300:5: note: template argument deduction/substitution failed: +../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: note: deduced conflicting types for parameter 'const _Tp' ('int' and 'long int') + 141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); + | ~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/algorithm:62, + from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:85: +../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3461:5: note: candidate: 'template constexpr _Tp std::max(std::initializer_list<_Tp>)' + 3461 | max(initializer_list<_Tp> __l) + | ^~~ +../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3461:5: note: template argument deduction/substitution failed: +../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: note: mismatched types 'std::initializer_list<_Tp>' and 'int' + 141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); + | ~~~~~~~~^~~~~~~~~~~~~~~~~ +In file included from ../../../../recipe-sysroot/usr/include/c++/11.2.0/algorithm:62, + from ../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:85: +../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3467:5: note: candidate: 'template constexpr _Tp std::max(std::initializer_list<_Tp>, _Compare)' + 3467 | max(initializer_list<_Tp> __l, _Compare __comp) + | ^~~ +../../../../recipe-sysroot/usr/include/c++/11.2.0/bits/stl_algo.h:3467:5: note: template argument deduction/substitution failed: +../../../../git/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc:141:49: note: mismatched types 'std::initializer_list<_Tp>' and 'int' + 141 | static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); + | ~~~~~~~~^~~~~~~~~~~~~~~~~ + +Adapted from: +https://github.com/meta-qt5/meta-qt5/blob/2a38fca150f065f869ed530fffe1a07beec80692/recipes-qt/qt5/qtwebengine/chromium/0013-chromium-breakpad-fix-build-with-glibc-2.34.patch + +Signed-off-by: Martin Jansa +Signed-off-by: James Hilliard +--- + .../breakpad/src/client/linux/handler/exception_handler.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc b/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc +index ca353c40997..2e43ba6fc04 100644 +--- a/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc ++++ b/src/3rdparty/chromium/third_party/breakpad/breakpad/src/client/linux/handler/exception_handler.cc +@@ -138,7 +138,7 @@ void InstallAlternateStackLocked() { + // SIGSTKSZ may be too small to prevent the signal handlers from overrunning + // the alternative stack. Ensure that the size of the alternative stack is + // large enough. +- static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); ++ static const unsigned kSigStackSize = std::max(16384, SIGSTKSZ); + + // Only set an alternative stack if there isn't already one, or if the current + // one is too small. diff --git a/buildroot-2022.02.1/package/qt5/qt5webengine/Config.in b/buildroot-2022.02.1/package/qt5/qt5webengine/Config.in new file mode 100644 index 00000000..5d537cdf --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webengine/Config.in @@ -0,0 +1,98 @@ +config BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS + bool + default y if BR2_aarch64 || BR2_arm || \ + BR2_i386 || BR2_x86_64 || \ + BR2_mips || BR2_mips64 + # -m32 flag is used for 32bit builds and host tools have + # limited architecture support + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE # qt5declarative + depends on !BR2_BINFMT_FLAT # qt5base-icu + depends on BR2_USE_MMU # libglib2, qt5base-dbus + +comment "qt5webengine needs udev /dev management and a glibc toolchain w/ gcc >= 4.9, host gcc >= 4.9, threads, wchar" + depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS + depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR + +comment "qt5webengine needs an OpenGL and EGL-capable backend" + depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS + depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL + +config BR2_PACKAGE_QT5WEBENGINE + bool "qt5webengine" + depends on BR2_PACKAGE_QT5WEBENGINE_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC # execinfo.h, mallinfo + depends on BR2_HOST_GCC_AT_LEAST_4_9 # qt5base-icu + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # qt5base-icu + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2, libvpx, qt5base-dbus + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_PACKAGE_QT5_GL_AVAILABLE # qt5declarative, qt5base-eglfs + depends on BR2_PACKAGE_HAS_LIBEGL # qt5base-eglfs + depends on BR2_PACKAGE_HAS_UDEV + # v8 (a chromium 3rd-party) compiles its internal host-tools with the + # same word size as the target. For 32-bits targets, it adds the -m32 + # flag (for 64-bits, it adds the -m64 flag). + # https://github.com/v8/v8/blob/5.6.326.55/gypfiles/toolchain.gypi#L1036-L1037 + select BR2_HOSTARCH_NEEDS_IA32_COMPILER if !BR2_ARCH_IS_64 # v8/chromium + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBNSS + select BR2_PACKAGE_LIBVPX + select BR2_PACKAGE_LIBXKBCOMMON + select BR2_PACKAGE_OPUS + select BR2_PACKAGE_WEBP + select BR2_PACKAGE_WEBP_DEMUX + select BR2_PACKAGE_QT5BASE_DBUS + select BR2_PACKAGE_QT5BASE_EGLFS + select BR2_PACKAGE_QT5BASE_FONTCONFIG + select BR2_PACKAGE_QT5BASE_ICU + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5DECLARATIVE + select BR2_PACKAGE_QT5DECLARATIVE_QUICK + select BR2_PACKAGE_QT5QUICKCONTROLS + select BR2_PACKAGE_QT5QUICKCONTROLS2 + select BR2_PACKAGE_QT5SVG if BR2_PACKAGE_QT5BASE_EXAMPLES + select BR2_PACKAGE_QT5WEBCHANNEL + select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB + select BR2_PACKAGE_XLIB_LIBXCURSOR if BR2_PACKAGE_QT5BASE_XCB + select BR2_PACKAGE_XLIB_LIBXI if BR2_PACKAGE_QT5BASE_XCB + select BR2_PACKAGE_XLIB_LIBXRANDR if BR2_PACKAGE_QT5BASE_XCB + select BR2_PACKAGE_XLIB_LIBXSCRNSAVER if BR2_PACKAGE_QT5BASE_XCB + select BR2_PACKAGE_XLIB_LIBXTST if BR2_PACKAGE_QT5BASE_XCB + help + The Qt WebEngine module provides a web browser engine that + makes it easy to embed content from the World Wide Web into + your Qt application. + + Qt WebEngine provides C++ classes and QML types for rendering + HTML, XHTML, and SVG documents, styled using Cascading Style + Sheets (CSS) and scripted with JavaScript. HTML documents can + be made fully editable by the user through the use of the + contenteditable attribute on HTML elements. + + https://doc.qt.io/qt-5/qtwebengine-index.html + +if BR2_PACKAGE_QT5WEBENGINE + +config BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS + bool "proprietary codecs" + help + Qt WebEngine supports the MPEG-4 Part 14 (MP4) file format, + which includes required proprietary audio and video codecs, + such as H.264 and MPEG layer-3 (MP3). + +config BR2_PACKAGE_QT5WEBENGINE_ALSA + bool "alsa" + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_ALSA_LIB_MIXER + select BR2_PACKAGE_ALSA_LIB_RAWMIDI + select BR2_PACKAGE_ALSA_LIB_HWDEP + select BR2_PACKAGE_ALSA_LIB_SEQ + help + Enable ALSA support. + +endif diff --git a/buildroot-2021.05/package/qt5/qt5webengine/chromium-latest.inc b/buildroot-2022.02.1/package/qt5/qt5webengine/chromium-latest.inc similarity index 100% rename from buildroot-2021.05/package/qt5/qt5webengine/chromium-latest.inc rename to buildroot-2022.02.1/package/qt5/qt5webengine/chromium-latest.inc diff --git a/buildroot-2021.05/package/qt5/qt5webengine/host-pkg-config.in b/buildroot-2022.02.1/package/qt5/qt5webengine/host-pkg-config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5webengine/host-pkg-config.in rename to buildroot-2022.02.1/package/qt5/qt5webengine/host-pkg-config.in diff --git a/buildroot-2021.05/package/qt5/qt5webengine/qt5webengine.hash b/buildroot-2022.02.1/package/qt5/qt5webengine/qt5webengine.hash similarity index 100% rename from buildroot-2021.05/package/qt5/qt5webengine/qt5webengine.hash rename to buildroot-2022.02.1/package/qt5/qt5webengine/qt5webengine.hash diff --git a/buildroot-2022.02.1/package/qt5/qt5webengine/qt5webengine.mk b/buildroot-2022.02.1/package/qt5/qt5webengine/qt5webengine.mk new file mode 100644 index 00000000..cebd6d0f --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webengine/qt5webengine.mk @@ -0,0 +1,69 @@ +################################################################################ +# +# qt5webengine +# +################################################################################ + +QT5WEBENGINE_VERSION_MAJOR = 5.15 +QT5WEBENGINE_VERSION = $(QT5WEBENGINE_VERSION_MAJOR).2 +QT5WEBENGINE_SITE = https://download.qt.io/archive/qt/$(QT5WEBENGINE_VERSION_MAJOR)/$(QT5WEBENGINE_VERSION)/submodules +QT5WEBENGINE_SOURCE = qtwebengine-$(QT5_SOURCE_TARBALL_PREFIX)-$(QT5WEBENGINE_VERSION).tar.xz +QT5WEBENGINE_DEPENDENCIES = ffmpeg libglib2 libvpx libxkbcommon opus webp \ + qt5declarative qt5webchannel host-bison host-flex host-gperf \ + host-pkgconf host-python +QT5WEBENGINE_INSTALL_STAGING = YES + +include package/qt5/qt5webengine/chromium-latest.inc + +QT5WEBENGINE_LICENSE = GPL-2.0 or LGPL-3.0 or GPL-3.0 or GPL-3.0 with exception +QT5WEBENGINE_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT \ + LICENSE.GPLv3 LICENSE.LGPL3 $(QT5WEBENGINE_CHROMIUM_LICENSE_FILES) + +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5WEBENGINE_DEPENDENCIES += qt5svg +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) +QT5WEBENGINE_DEPENDENCIES += xlib_libXScrnSaver xlib_libXcomposite \ + xlib_libXcursor xlib_libXi xlib_libXrandr xlib_libXtst +endif + +QT5WEBENGINE_DEPENDENCIES += host-libpng host-libnss libnss + +QT5WEBENGINE_CONF_OPTS += WEBENGINE_CONFIG+=use_system_ffmpeg + +ifeq ($(BR2_PACKAGE_QT5WEBENGINE_PROPRIETARY_CODECS),y) +QT5WEBENGINE_CONF_OPTS += WEBENGINE_CONFIG+=use_proprietary_codecs +endif + +ifeq ($(BR2_PACKAGE_QT5WEBENGINE_ALSA),y) +QT5WEBENGINE_DEPENDENCIES += alsa-lib +else +QT5WEBENGINE_CONF_OPTS += QT_CONFIG-=alsa +endif + +# QtWebengine's build system uses python, but only supports python2. We work +# around this by forcing python2 early in the PATH, via a python->python2 +# symlink. +QT5WEBENGINE_ENV = \ + PATH=$(@D)/host-bin:$(BR_PATH) \ + PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig +define QT5WEBENGINE_PYTHON2_SYMLINK + mkdir -p $(@D)/host-bin + ln -sf $(HOST_DIR)/bin/python2 $(@D)/host-bin/python +endef +QT5WEBENGINE_PRE_CONFIGURE_HOOKS += QT5WEBENGINE_PYTHON2_SYMLINK + +QT5WEBENGINE_ENV += NINJAFLAGS="-j$(PARALLEL_JOBS)" + +define QT5WEBENGINE_CREATE_HOST_PKG_CONFIG + sed s%@HOST_DIR@%$(HOST_DIR)%g $(QT5WEBENGINE_PKGDIR)/host-pkg-config.in > $(@D)/host-bin/host-pkg-config + chmod +x $(@D)/host-bin/host-pkg-config +endef +QT5WEBENGINE_PRE_CONFIGURE_HOOKS += QT5WEBENGINE_CREATE_HOST_PKG_CONFIG +QT5WEBENGINE_ENV += GN_PKG_CONFIG_HOST=$(@D)/host-bin/host-pkg-config + +QT5WEBENGINE_CONF_ENV = $(QT5WEBENGINE_ENV) +QT5WEBENGINE_MAKE_ENV = $(QT5WEBENGINE_ENV) + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5webkit/0001-WinCairo-PlayStation-ICU-68.1-no-longer-exposes-FALS.patch b/buildroot-2022.02.1/package/qt5/qt5webkit/0001-WinCairo-PlayStation-ICU-68.1-no-longer-exposes-FALS.patch new file mode 100644 index 00000000..0c3e8b35 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webkit/0001-WinCairo-PlayStation-ICU-68.1-no-longer-exposes-FALS.patch @@ -0,0 +1,168 @@ +From 736e1d804d1efa2077c4f1fe0b9084927d82e249 Mon Sep 17 00:00:00 2001 +From: "stephan.szabo@sony.com" + +Date: Tue, 3 Nov 2020 20:06:15 +0000 +Subject: [PATCH] [WinCairo/PlayStation] ICU 68.1 no longer exposes FALSE and + TRUE macros by default https://bugs.webkit.org/show_bug.cgi?id=218522 + +Reviewed by Don Olmstead. + +Source/WebCore: + +* platform/text/TextCodecICU.cpp: Replace use of TRUE with true + +Source/WebKit: + +* UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: Replace FALSE with false + +Source/WTF: + +Replace uses of FALSE and TRUE with false and true. + +* wtf/text/icu/UTextProvider.h: +* wtf/text/icu/UTextProviderLatin1.cpp: +* wtf/text/icu/UTextProviderUTF16.cpp: + +Change-Id: I876cf2b10b8c858c3d265113c062d159749a2f3e +git-svn-id: http://svn.webkit.org/repository/webkit/trunk@269325 268f45cc-cd09-0410-ab3c-d52691b4dbfc +Signed-off-by: James Hilliard +[james.hilliard1@gmail.com: backport from upstream commit +736e1d804d1efa2077c4f1fe0b9084927d82e249] +--- + Source/WebCore/platform/text/TextCodecICU.cpp | 2 +- + Source/WebCore/platform/text/icu/UTextProvider.h | 8 ++++---- + .../platform/text/icu/UTextProviderLatin1.cpp | 14 +++++++------- + .../platform/text/icu/UTextProviderUTF16.cpp | 4 ++-- + 7 files changed, 45 insertions(+), 14 deletions(-) + +diff --git a/Source/WebCore/platform/text/TextCodecICU.cpp b/Source/WebCore/platform/text/TextCodecICU.cpp +index dd6ff0675bb1..e0f4bd718828 100644 +--- a/Source/WebCore/platform/text/TextCodecICU.cpp ++++ b/Source/WebCore/platform/text/TextCodecICU.cpp +@@ -308,7 +308,7 @@ void TextCodecICU::createICUConverter() const + m_converterICU = ucnv_open(m_canonicalConverterName, &err); + ASSERT(U_SUCCESS(err)); + if (m_converterICU) +- ucnv_setFallback(m_converterICU, TRUE); ++ ucnv_setFallback(m_converterICU, true); + } + + int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err) +diff --git a/Source/WebCore/platform/text/icu/UTextProvider.h b/Source/WebCore/platform/text/icu/UTextProvider.h +index c254fc4c7ce2..6d1e1cbc5eb2 100644 +--- a/Source/WebCore/platform/text/icu/UTextProvider.h ++++ b/Source/WebCore/platform/text/icu/UTextProvider.h +@@ -80,12 +80,12 @@ inline bool uTextAccessInChunkOrOutOfRange(UText* text, int64_t nativeIndex, int + // Ensure chunk offset is well formed if computed offset exceeds int32_t range. + ASSERT(offset < std::numeric_limits::max()); + text->chunkOffset = offset < std::numeric_limits::max() ? static_cast(offset) : 0; +- isAccessible = TRUE; ++ isAccessible = true; + return true; + } + if (nativeIndex >= nativeLength && text->chunkNativeLimit == nativeLength) { + text->chunkOffset = text->chunkLength; +- isAccessible = FALSE; ++ isAccessible = false; + return true; + } + } else { +@@ -94,12 +94,12 @@ inline bool uTextAccessInChunkOrOutOfRange(UText* text, int64_t nativeIndex, int + // Ensure chunk offset is well formed if computed offset exceeds int32_t range. + ASSERT(offset < std::numeric_limits::max()); + text->chunkOffset = offset < std::numeric_limits::max() ? static_cast(offset) : 0; +- isAccessible = TRUE; ++ isAccessible = true; + return true; + } + if (nativeIndex <= 0 && !text->chunkNativeStart) { + text->chunkOffset = 0; +- isAccessible = FALSE; ++ isAccessible = false; + return true; + } + } +diff --git a/Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp b/Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp +index cd6852c71e55..6a864b1c1567 100644 +--- a/Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp ++++ b/Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp +@@ -100,23 +100,23 @@ static UBool uTextLatin1Access(UText* uText, int64_t index, UBool forward) + if (index < uText->chunkNativeLimit && index >= uText->chunkNativeStart) { + // Already inside the buffer. Set the new offset. + uText->chunkOffset = static_cast(index - uText->chunkNativeStart); +- return TRUE; ++ return true; + } + if (index >= length && uText->chunkNativeLimit == length) { + // Off the end of the buffer, but we can't get it. + uText->chunkOffset = static_cast(index - uText->chunkNativeStart); +- return FALSE; ++ return false; + } + } else { + if (index <= uText->chunkNativeLimit && index > uText->chunkNativeStart) { + // Already inside the buffer. Set the new offset. + uText->chunkOffset = static_cast(index - uText->chunkNativeStart); +- return TRUE; ++ return true; + } + if (!index && !uText->chunkNativeStart) { + // Already at the beginning; can't go any farther. + uText->chunkOffset = 0; +- return FALSE; ++ return false; + } + } + +@@ -144,7 +144,7 @@ static UBool uTextLatin1Access(UText* uText, int64_t index, UBool forward) + + uText->nativeIndexingLimit = uText->chunkLength; + +- return TRUE; ++ return true; + } + + static int32_t uTextLatin1Extract(UText* uText, int64_t start, int64_t limit, UChar* dest, int32_t destCapacity, UErrorCode* status) +@@ -336,7 +336,7 @@ static int64_t uTextLatin1ContextAwareNativeLength(UText* text) + static UBool uTextLatin1ContextAwareAccess(UText* text, int64_t nativeIndex, UBool forward) + { + if (!text->context) +- return FALSE; ++ return false; + int64_t nativeLength = uTextLatin1ContextAwareNativeLength(text); + UBool isAccessible; + if (uTextAccessInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible)) +@@ -356,7 +356,7 @@ static UBool uTextLatin1ContextAwareAccess(UText* text, int64_t nativeIndex, UBo + ASSERT(newContext == UTextProviderContext::PriorContext); + textLatin1ContextAwareSwitchToPriorContext(text, nativeIndex, nativeLength, forward); + } +- return TRUE; ++ return true; + } + + static int32_t uTextLatin1ContextAwareExtract(UText*, int64_t, int64_t, UChar*, int32_t, UErrorCode* errorCode) +diff --git a/Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp b/Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp +index 7aaac48c8151..9ae0d367f1f6 100644 +--- a/Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp ++++ b/Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp +@@ -125,7 +125,7 @@ static inline int64_t uTextUTF16ContextAwareNativeLength(UText* text) + static UBool uTextUTF16ContextAwareAccess(UText* text, int64_t nativeIndex, UBool forward) + { + if (!text->context) +- return FALSE; ++ return false; + int64_t nativeLength = uTextUTF16ContextAwareNativeLength(text); + UBool isAccessible; + if (uTextAccessInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible)) +@@ -145,7 +145,7 @@ static UBool uTextUTF16ContextAwareAccess(UText* text, int64_t nativeIndex, UBoo + ASSERT(newContext == UTextProviderContext::PriorContext); + textUTF16ContextAwareSwitchToPriorContext(text, nativeIndex, nativeLength, forward); + } +- return TRUE; ++ return true; + } + + static int32_t uTextUTF16ContextAwareExtract(UText*, int64_t, int64_t, UChar*, int32_t, UErrorCode* errorCode) +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5webkit/0002-Fix-compilation-with-Python-3.9-avoid-passing-encodi.patch b/buildroot-2022.02.1/package/qt5/qt5webkit/0002-Fix-compilation-with-Python-3.9-avoid-passing-encodi.patch new file mode 100644 index 00000000..d167a44b --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webkit/0002-Fix-compilation-with-Python-3.9-avoid-passing-encodi.patch @@ -0,0 +1,33 @@ +From 78360c01c796b6260bf828bc9c8a0ef73c5132fd Mon Sep 17 00:00:00 2001 +From: Konstantin Tokarev +Date: Wed, 3 Jun 2020 15:01:42 +0300 +Subject: [PATCH] Fix compilation with Python 3.9: avoid passing encoding to + json.load() + +In Python 2.7 UTF-8 is assumed by default, while in Python 3 this argument +is not supported. + +Change-Id: Ic459d60a6b20bc1838d8771bc36ac41614fe61a9 +Signed-off-by: James Hilliard +[james.hilliard1@gmail.com: backport from upstream commit +78360c01c796b6260bf828bc9c8a0ef73c5132fd] +--- + Source/JavaScriptCore/generate-bytecode-files | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Source/JavaScriptCore/generate-bytecode-files b/Source/JavaScriptCore/generate-bytecode-files +index c5dab429c7b0..af3431275ecf 100644 +--- a/Source/JavaScriptCore/generate-bytecode-files ++++ b/Source/JavaScriptCore/generate-bytecode-files +@@ -163,7 +163,7 @@ if __name__ == "__main__": + initBytecodesFile = openOrExit(initASMFileName, "w") + + try: +- bytecodeSections = json.load(bytecodeFile, encoding = "utf-8") ++ bytecodeSections = json.load(bytecodeFile) + except: + print("Unexpected error parsing {0}: {1}".format(bytecodeJSONFile, sys.exc_info())) + +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5webkit/0003-Let-Bison-generate-the-header-directly-to-fix-build-.patch b/buildroot-2022.02.1/package/qt5/qt5webkit/0003-Let-Bison-generate-the-header-directly-to-fix-build-.patch new file mode 100644 index 00000000..1591b8a8 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webkit/0003-Let-Bison-generate-the-header-directly-to-fix-build-.patch @@ -0,0 +1,52 @@ +From d92b11fea65364fefa700249bd3340e0cd4c5b31 Mon Sep 17 00:00:00 2001 +From: Dmitry Shachnev +Date: Tue, 4 Aug 2020 21:04:06 +0300 +Subject: [PATCH] Let Bison generate the header directly, to fix build with + Bison 3.7 + +Starting with Bison 3.7, the generated C++ file #include's the header +by default, instead of duplicating it. So we should not delete it. + +Remove the code to add #ifdef guards to the header, since Bison adds +them itself since version 2.6.3. +Signed-off-by: James Hilliard +[james.hilliard1@gmail.com: backport from upstream commit +d92b11fea65364fefa700249bd3340e0cd4c5b31] +--- + Source/WebCore/css/makegrammar.pl | 21 +-------------------- + 1 file changed, 1 insertion(+), 20 deletions(-) + +diff --git a/Source/WebCore/css/makegrammar.pl b/Source/WebCore/css/makegrammar.pl +index 5d63b08102eb..9435701c7061 100644 +--- a/Source/WebCore/css/makegrammar.pl ++++ b/Source/WebCore/css/makegrammar.pl +@@ -73,25 +73,6 @@ if ($suffix eq ".y.in") { + } + + my $fileBase = File::Spec->join($outputDir, $filename); +-my @bisonCommand = ($bison, "-d", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp"); ++my @bisonCommand = ($bison, "--defines=$fileBase.h", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp"); + push @bisonCommand, "--no-lines" if $^O eq "MSWin32"; # Work around bug in bison >= 3.0 on Windows where it puts backslashes into #line directives. + system(@bisonCommand) == 0 or die; +- +-open HEADER, ">$fileBase.h" or die; +-print HEADER << "EOF"; +-#ifndef CSSGRAMMAR_H +-#define CSSGRAMMAR_H +-EOF +- +-open HPP, "<$fileBase.cpp.h" or open HPP, "<$fileBase.hpp" or die; +-while () { +- print HEADER; +-} +-close HPP; +- +-print HEADER "#endif\n"; +-close HEADER; +- +-unlink("$fileBase.cpp.h"); +-unlink("$fileBase.hpp"); +- +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5webkit/0004-Remove-invalid-g_object-declarations-to-fix-build-wi.patch b/buildroot-2022.02.1/package/qt5/qt5webkit/0004-Remove-invalid-g_object-declarations-to-fix-build-wi.patch new file mode 100644 index 00000000..48605e4f --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webkit/0004-Remove-invalid-g_object-declarations-to-fix-build-wi.patch @@ -0,0 +1,31 @@ +From 5b698ba3faffd4e198a45be9fe74f53307395e4b Mon Sep 17 00:00:00 2001 +From: Fabian Vogt +Date: Wed, 7 Apr 2021 13:38:09 +0200 +Subject: [PATCH] Remove invalid g_object declarations to fix build with glib + >= 2.68 + +g_object_ref_sink is defined as a macro meanwhile and so the build fails. +Just remove the declarations, glib.h is included anyway. +Signed-off-by: James Hilliard +[Retrieved from: https://github.com/qtwebkit/qtwebkit/pull/1058] +--- + Source/WTF/wtf/glib/GRefPtr.h | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/Source/WTF/wtf/glib/GRefPtr.h b/Source/WTF/wtf/glib/GRefPtr.h +index 06133d82cb35..d9a1d2f145f5 100644 +--- a/Source/WTF/wtf/glib/GRefPtr.h ++++ b/Source/WTF/wtf/glib/GRefPtr.h +@@ -29,9 +29,6 @@ + #include + #include + +-extern "C" void g_object_unref(gpointer); +-extern "C" gpointer g_object_ref_sink(gpointer); +- + namespace WTF { + + enum GRefPtrAdoptType { GRefPtrAdopt }; +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/qt5/qt5webkit/Config.in b/buildroot-2022.02.1/package/qt5/qt5webkit/Config.in new file mode 100644 index 00000000..26c3897d --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webkit/Config.in @@ -0,0 +1,56 @@ +config BR2_PACKAGE_QT5WEBKIT + bool "qt5webkit" + depends on !BR2_STATIC_LIBS + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE + depends on BR2_INSTALL_LIBSTDCPP # leveldb + depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # icu + depends on BR2_TOOLCHAIN_HAS_THREADS # leveldb + depends on !BR2_BINFMT_FLAT # icu + # assumes a FPU is available on MIPS + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_PACKAGE_GSTREAMER1 + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_ICU + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LEVELDB + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_QT5BASE_ICU + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5LOCATION + select BR2_PACKAGE_QT5SENSORS + select BR2_PACKAGE_QT5WEBCHANNEL + select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBXSLT + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_WEBP + select BR2_PACKAGE_WEBP_DEMUX + select BR2_PACKAGE_WOFF2 + select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_QT5BASE_XCB + select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_QT5BASE_XCB + select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_QT5BASE_XCB + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt WebKit module provides the WebView API, which + allows QML applications to render regions of dynamic + web content. + + This package has been removed from the official release + packages since Qt5.6.0, but it is still available for users + to build it from source. This is useful for platforms + without GPU since the successor (QtWebEngine) requires + OpenGL support. + + https://doc.qt.io/archives/qt-5.5/qtwebkit-index.html + +comment "qt5webkit needs a toolchain w/ dynamic library, gcc >= 4.9, host gcc >= 4.9" + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 + depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE + depends on !BR2_BINFMT_FLAT + depends on !BR2_MIPS_SOFT_FLOAT diff --git a/buildroot-2022.02.1/package/qt5/qt5webkit/qt5webkit.hash b/buildroot-2022.02.1/package/qt5/qt5webkit/qt5webkit.hash new file mode 100644 index 00000000..d7c8bd6c --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webkit/qt5webkit.hash @@ -0,0 +1,7 @@ +# Locally calculated +sha256 9ca126da9273664dd23a3ccd0c9bebceb7bb534bddd743db31caf6a5a6d4a9e6 qtwebkit-5.212.0-alpha4.tar.xz + +# Hashes for license files: +sha256 7555fa34bc131a75ca56d65c40cc1ea8f9515d23e353d4c15d58573a042f7805 Source/WebCore/LICENSE-LGPL-2 +sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1 +sha256 a3db6c7f3027aa27489c25a2fa259185cdee945780c32e01c60cbfabf4743b6c LICENSE.LGPLv21 diff --git a/buildroot-2022.02.1/package/qt5/qt5webkit/qt5webkit.mk b/buildroot-2022.02.1/package/qt5/qt5webkit/qt5webkit.mk new file mode 100644 index 00000000..69123596 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webkit/qt5webkit.mk @@ -0,0 +1,60 @@ +################################################################################ +# +# qt5webkit +# +################################################################################ + +QT5WEBKIT_VERSION = 5.212.0-alpha4 +QT5WEBKIT_SITE = https://github.com/qtwebkit/qtwebkit/releases/download/qtwebkit-$(QT5WEBKIT_VERSION) +QT5WEBKIT_SOURCE = qtwebkit-$(QT5WEBKIT_VERSION).tar.xz +QT5WEBKIT_DEPENDENCIES = \ + host-bison host-flex host-gperf host-python3 host-ruby gstreamer1 \ + gst1-plugins-base icu leveldb jpeg libpng libxml2 libxslt qt5location \ + openssl qt5sensors qt5webchannel sqlite webp woff2 +QT5WEBKIT_INSTALL_STAGING = YES + +QT5WEBKIT_LICENSE_FILES = Source/WebCore/LICENSE-LGPL-2 Source/WebCore/LICENSE-LGPL-2.1 + +QT5WEBKIT_LICENSE = LGPL-2.1+, BSD-3-Clause, BSD-2-Clause +# Source files contain references to LGPL_EXCEPTION.txt but it is not included +# in the archive. +QT5WEBKIT_LICENSE_FILES += LICENSE.LGPLv21 + +ifeq ($(BR2_MIPS_CPU_MIPS32R6),y) +QT5WEBKIT_CONF_OPTS += -DENABLE_JIT=OFF +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_OPENGL),y) +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_OPENGL=ON \ + -DENABLE_WEBKIT2=ON +else +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_OPENGL=OFF \ + -DENABLE_WEBKIT2=OFF +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_XCB),y) +QT5WEBKIT_DEPENDENCIES += xlib_libXcomposite xlib_libXext xlib_libXrender +endif + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5WEBKIT_DEPENDENCIES += qt5declarative +endif + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +QT5WEBKIT_DEPENDENCIES += libexecinfo +endif + +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +QT5WEBKIT_CONF_OPTS += -DENABLE_SAMPLING_PROFILER=OFF +endif + +QT5WEBKIT_CONF_OPTS += \ + -DENABLE_TOOLS=OFF \ + -DPORT=Qt \ + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ + -DSHARED_CORE=ON \ + -DUSE_LIBHYPHEN=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5websockets/Config.in b/buildroot-2022.02.1/package/qt5/qt5websockets/Config.in new file mode 100644 index 00000000..e7bd71b2 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5websockets/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_QT5WEBSOCKETS + bool "qt5websockets" + select BR2_PACKAGE_QT5BASE_NETWORK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt WebSockets module provides C++ and QML interfaces + that enable Qt applications to act as a server that can + process WebSocket requests, or a client that can + consume data received from the server, or both. + + https://doc.qt.io/qt-5/qtwebsockets-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5websockets/qt5websockets.hash b/buildroot-2022.02.1/package/qt5/qt5websockets/qt5websockets.hash new file mode 100644 index 00000000..3cc87865 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5websockets/qt5websockets.hash @@ -0,0 +1,8 @@ +# Locally calculated +sha256 0f59abfa0172e1d4f7cddc3ed457b71faa3bba1cc25b02a06aa79b5ba0c68653 qtwebsockets-b13b56904b76e96ea52d0efe56395acc94b17d96.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 diff --git a/buildroot-2022.02.1/package/qt5/qt5websockets/qt5websockets.mk b/buildroot-2022.02.1/package/qt5/qt5websockets/qt5websockets.mk new file mode 100644 index 00000000..d222f025 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5websockets/qt5websockets.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# qt5websockets +# +################################################################################ + +QT5WEBSOCKETS_VERSION = b13b56904b76e96ea52d0efe56395acc94b17d96 +QT5WEBSOCKETS_SITE = $(QT5_SITE)/qtwebsockets/-/archive/$(QT5WEBSOCKETS_VERSION) +QT5WEBSOCKETS_SOURCE = qtwebsockets-$(QT5WEBSOCKETS_VERSION).tar.bz2 +QT5WEBSOCKETS_INSTALL_STAGING = YES +QT5WEBSOCKETS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools) +QT5WEBSOCKETS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 +QT5WEBSOCKETS_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5WEBSOCKETS_LICENSE += , BSD-3-Clause (examples) +endif + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5WEBSOCKETS_DEPENDENCIES += qt5declarative +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5/qt5webview/Config.in b/buildroot-2022.02.1/package/qt5/qt5webview/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5/qt5webview/Config.in rename to buildroot-2022.02.1/package/qt5/qt5webview/Config.in diff --git a/buildroot-2022.02.1/package/qt5/qt5webview/qt5webview.hash b/buildroot-2022.02.1/package/qt5/qt5webview/qt5webview.hash new file mode 100644 index 00000000..51d0fb0d --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webview/qt5webview.hash @@ -0,0 +1,8 @@ +# Locally calculated +sha256 0fd949c35355bbde613c9daa61e32a3d8ed4a7b3e9fc0e3acf92981cc8bf16c3 qtwebview-920de5f1cd9f9001cfef1bfd2c19e6720793362f.tar.bz2 + +# Hashes for license files: +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL +sha256 edfe70e99be2a7c109d860b19204609e582720b211c50caedac729da372a1253 LICENSE.GPLv2 +sha256 245248009fd0af1725d183248380e476c1283383909358a13686606352bf2a17 LICENSE.GPLv3 +sha256 5ceb37d1c7c1d92878b82af3c0fd5558087f3d5a08a3a4d43850bad4ad265a52 LICENSE.LGPLv3 diff --git a/buildroot-2022.02.1/package/qt5/qt5webview/qt5webview.mk b/buildroot-2022.02.1/package/qt5/qt5webview/qt5webview.mk new file mode 100644 index 00000000..ed1cfe50 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5webview/qt5webview.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# qt5webview +# +################################################################################ + +QT5WEBVIEW_VERSION = 920de5f1cd9f9001cfef1bfd2c19e6720793362f +QT5WEBVIEW_SITE = $(QT5_SITE)/qtwebview/-/archive/$(QT5WEBVIEW_VERSION) +QT5WEBVIEW_SOURCE = qtwebview-$(QT5WEBVIEW_VERSION).tar.bz2 +QT5WEBVIEW_DEPENDENCIES = qt5webengine +QT5WEBVIEW_INSTALL_STAGING = YES +QT5WEBVIEW_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0, GFDL-1.3 (docs) +QT5WEBVIEW_LICENSE_FILES = LICENSE.GPLv2 LICENSE.GPLv3 LICENSE.LGPLv3 LICENSE.FDL +QT5WEBVIEW_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5WEBVIEW_LICENSE += , BSD-3-Clause (examples) +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5x11extras/Config.in b/buildroot-2022.02.1/package/qt5/qt5x11extras/Config.in new file mode 100644 index 00000000..240443a3 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5x11extras/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_QT5X11EXTRAS + bool "qt5x11extras" + depends on BR2_PACKAGE_QT5BASE_XCB + select BR2_PACKAGE_QT5BASE_WIDGETS + help + Qt is a cross-platform application and UI framework for + developers using C++. + + Qt X11 Extras enables the Qt programmer to write + applications for the Linux/X11 platform. + + https://doc.qt.io/qt-5/qtx11extras-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5x11extras/qt5x11extras.hash b/buildroot-2022.02.1/package/qt5/qt5x11extras/qt5x11extras.hash new file mode 100644 index 00000000..b854cedc --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5x11extras/qt5x11extras.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 b562bc8b81e35d71df5530be07522b50065f177fb744782e4fc7536970c5d9da qtx11extras-3898f5484fd4864b047729bfeda9a1222f32364f.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5x11extras/qt5x11extras.mk b/buildroot-2022.02.1/package/qt5/qt5x11extras/qt5x11extras.mk new file mode 100644 index 00000000..7b1e32df --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5x11extras/qt5x11extras.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# qt5x11extras +# +################################################################################ + +QT5X11EXTRAS_VERSION = 3898f5484fd4864b047729bfeda9a1222f32364f +QT5X11EXTRAS_SITE = $(QT5_SITE)/qtx11extras/-/archive/$(QT5X11EXTRAS_VERSION) +QT5X11EXTRAS_SOURCE = qtx11extras-$(QT5X11EXTRAS_VERSION).tar.bz2 +QT5X11EXTRAS_INSTALL_STAGING = YES +QT5X11EXTRAS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5X11EXTRAS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL +QT5X11EXTRAS_SYNC_QT_HEADERS = YES + +$(eval $(qmake-package)) diff --git a/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/Config.in b/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/Config.in new file mode 100644 index 00000000..4fcf7e92 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_QT5XMLPATTERNS + bool "qt5xmlpatterns" + help + Qt is a cross-platform application and UI framework for + developers using C++. + + The Qt XML Patterns module provides support for XPath, + XQuery, XSLT, and XML Schema validation. + + https://doc.qt.io/qt-5/qtxmlpatterns-index.html diff --git a/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash b/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash new file mode 100644 index 00000000..c0e3caa4 --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/qt5xmlpatterns.hash @@ -0,0 +1,9 @@ +# Locally calculated +sha256 20363267cd8dc93622a0f444708eb83f0ed6d9d9bceaf13c5db806d96b00cf09 qtxmlpatterns-189e28d0aff1f3d7960228ba318b83e3cadac98c.tar.bz2 + +# Hashes for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.GPL2 +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.GPL3 +sha256 0dbe024961f6ab5c52689cbd036c977975d0d0f6a67ff97762d96cb819dd5652 LICENSE.GPL3-EXCEPT +sha256 da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768 LICENSE.LGPL3 +sha256 ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d LICENSE.FDL diff --git a/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk b/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk new file mode 100644 index 00000000..27818ecb --- /dev/null +++ b/buildroot-2022.02.1/package/qt5/qt5xmlpatterns/qt5xmlpatterns.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# qt5xmlpatterns +# +################################################################################ + +QT5XMLPATTERNS_VERSION = 189e28d0aff1f3d7960228ba318b83e3cadac98c +QT5XMLPATTERNS_SITE = $(QT5_SITE)/qtxmlpatterns/-/archive/$(QT5XMLPATTERNS_VERSION) +QT5XMLPATTERNS_SOURCE = qtxmlpatterns-$(QT5XMLPATTERNS_VERSION).tar.bz2 +QT5XMLPATTERNS_INSTALL_STAGING = YES +QT5XMLPATTERNS_LICENSE = GPL-2.0+ or LGPL-3.0, GPL-3.0 with exception(tools), GFDL-1.3 (docs) +QT5XMLPATTERNS_LICENSE_FILES = LICENSE.GPL2 LICENSE.GPL3 LICENSE.GPL3-EXCEPT LICENSE.LGPL3 LICENSE.FDL +QT5XMLPATTERNS_SYNC_QT_HEADERS = YES + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5XMLPATTERNS_DEPENDENCIES += qt5declarative +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +QT5XMLPATTERNS_LICENSE += , BSD-3-Clause (examples) +endif + +$(eval $(qmake-package)) diff --git a/buildroot-2021.05/package/qt5cinex/0001-Fix-execution-problem-with-Qt5.3.patch b/buildroot-2022.02.1/package/qt5cinex/0001-Fix-execution-problem-with-Qt5.3.patch similarity index 100% rename from buildroot-2021.05/package/qt5cinex/0001-Fix-execution-problem-with-Qt5.3.patch rename to buildroot-2022.02.1/package/qt5cinex/0001-Fix-execution-problem-with-Qt5.3.patch diff --git a/buildroot-2021.05/package/qt5cinex/CinematicExperience-demo b/buildroot-2022.02.1/package/qt5cinex/CinematicExperience-demo similarity index 100% rename from buildroot-2021.05/package/qt5cinex/CinematicExperience-demo rename to buildroot-2022.02.1/package/qt5cinex/CinematicExperience-demo diff --git a/buildroot-2021.05/package/qt5cinex/Config.in b/buildroot-2022.02.1/package/qt5cinex/Config.in similarity index 100% rename from buildroot-2021.05/package/qt5cinex/Config.in rename to buildroot-2022.02.1/package/qt5cinex/Config.in diff --git a/buildroot-2021.05/package/qt5cinex/qt5cinex.hash b/buildroot-2022.02.1/package/qt5cinex/qt5cinex.hash similarity index 100% rename from buildroot-2021.05/package/qt5cinex/qt5cinex.hash rename to buildroot-2022.02.1/package/qt5cinex/qt5cinex.hash diff --git a/buildroot-2021.05/package/qt5cinex/qt5cinex.mk b/buildroot-2022.02.1/package/qt5cinex/qt5cinex.mk similarity index 100% rename from buildroot-2021.05/package/qt5cinex/qt5cinex.mk rename to buildroot-2022.02.1/package/qt5cinex/qt5cinex.mk diff --git a/buildroot-2021.05/package/quagga/0001-fix-ipctl-forwarding.patch b/buildroot-2022.02.1/package/quagga/0001-fix-ipctl-forwarding.patch similarity index 100% rename from buildroot-2021.05/package/quagga/0001-fix-ipctl-forwarding.patch rename to buildroot-2022.02.1/package/quagga/0001-fix-ipctl-forwarding.patch diff --git a/buildroot-2021.05/package/quagga/0002-lib-prefix.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/quagga/0002-lib-prefix.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/quagga/0002-lib-prefix.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/quagga/0002-lib-prefix.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/quagga/0003-Fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/quagga/0003-Fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/quagga/0003-Fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/quagga/0003-Fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/quagga/Config.in b/buildroot-2022.02.1/package/quagga/Config.in similarity index 100% rename from buildroot-2021.05/package/quagga/Config.in rename to buildroot-2022.02.1/package/quagga/Config.in diff --git a/buildroot-2021.05/package/quagga/quagga.hash b/buildroot-2022.02.1/package/quagga/quagga.hash similarity index 100% rename from buildroot-2021.05/package/quagga/quagga.hash rename to buildroot-2022.02.1/package/quagga/quagga.hash diff --git a/buildroot-2022.02.1/package/quagga/quagga.mk b/buildroot-2022.02.1/package/quagga/quagga.mk new file mode 100644 index 00000000..97297baf --- /dev/null +++ b/buildroot-2022.02.1/package/quagga/quagga.mk @@ -0,0 +1,110 @@ +################################################################################ +# +# quagga +# +################################################################################ + +QUAGGA_VERSION = 1.2.4 +QUAGGA_SITE = http://download.savannah.gnu.org/releases/quagga +QUAGGA_INSTALL_STAGING = YES +QUAGGA_DEPENDENCIES = host-gawk host-pkgconf +QUAGGA_LICENSE = GPL-2.0+ +QUAGGA_LICENSE_FILES = COPYING +QUAGGA_CPE_ID_VENDOR = quagga +QUAGGA_SELINUX_MODULES = zebra + +# We need to override the sysconf and localstate directories so that +# quagga can create files as the quagga user without extra +# intervention +QUAGGA_CONF_OPTS = \ + --program-transform-name='' \ + --sysconfdir=/etc/quagga \ + --localstatedir=/var/run/quagga + +# quagga has its own internal copy of getopt_long. To avoid conflicts with libc's +# getopt, we need to make sure that the getopt function itself is also built. +QUAGGA_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) -DREALLY_NEED_PLAIN_GETOPT" + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +QUAGGA_CONF_OPTS += --enable-capabilities +QUAGGA_DEPENDENCIES += libcap +else +QUAGGA_CONF_OPTS += --disable-capabilities +endif + +ifeq ($(BR2_PACKAGE_PROTOBUF_C),y) +QUAGGA_CONF_OPTS += --enable-protobuf +QUAGGA_DEPENDENCIES += protobuf-c +else +QUAGGA_CONF_OPTS += --disable-protobuf +endif + +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_ZEBRA),--enable-zebra,--disable-zebra) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_BGPD),--enable-bgpd,--disable-bgpd) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_RIPD),--enable-ripd,--disable-ripd) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_RIPNGD),--enable-ripngd,--disable-ripngd) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_OSPFD),--enable-ospfd,--disable-ospfd --disable-ospfapi) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_OSPF6D),--enable-ospf6d,--disable-ospf6d) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_PIMD),--enable-pimd,--disable-pimd) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_WATCHQUAGGA),--enable-watchquagga,--disable-watchquagga) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_ISISD),--enable-isisd,--disable-isisd) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_BGP_ANNOUNCE),--enable-bgp-announce,--disable-bgp-announce) +QUAGGA_CONF_OPTS += $(if $(BR2_PACKAGE_QUAGGA_TCP_ZEBRA),--enable-tcp-zebra,--disable-tcp-zebra) + +define QUAGGA_USERS + quagga -1 quagga -1 * - - - Quagga priv drop user +endef + +# Set the permissions of /etc/quagga such that quagga (through vtysh) +# can save the configuration - set the folder recursively as the files +# need to be 600, and then set the folder (non-recursively) to 755 so +# it can used. Quagga also needs to write to the folder as it moves +# and creates, rather than overwriting. +define QUAGGA_PERMISSIONS + /etc/quagga r 600 quagga quagga - - - - - + /etc/quagga d 755 quagga quagga - - - - - +endef + +# In order for the QUAGGA_PERMISSIONS variable above to work, +# /etc/quagga has to exist. However, this package without any +# sub-option enabled will not create /etc/quagga, so let's create it +# unconditionally in a post-install hook, in case it hasn't been +# already created by the quagga installation. +define QUAGGA_CREATE_ETC_QUAGGA + mkdir -p $(TARGET_DIR)/etc/quagga +endef +QUAGGA_POST_INSTALL_TARGET_HOOKS += QUAGGA_CREATE_ETC_QUAGGA + +ifeq ($(BR2_PACKAGE_QUAGGA_NHRPD),y) +QUAGGA_CONF_OPTS += --enable-nhrpd +QUAGGA_DEPENDENCIES += c-ares +else +QUAGGA_CONF_OPTS += --disable-nhrpd +endif + +ifeq ($(BR2_PACKAGE_QUAGGA_SNMP),y) +QUAGGA_CONF_ENV += ac_cv_path_NETSNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config +QUAGGA_CONF_OPTS += --enable-snmp=agentx +QUAGGA_DEPENDENCIES += netsnmp +endif + +ifeq ($(BR2_PACKAGE_QUAGGA_VTYSH),y) +QUAGGA_CONF_OPTS += --enable-vtysh +QUAGGA_DEPENDENCIES += readline +else +QUAGGA_CONF_OPTS += --disable-vtysh +endif + +ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) +QUAGGA_CONF_OPTS += --disable-pie +endif + +define QUAGGA_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/quagga/quagga_tmpfiles.conf \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/quagga.conf + $(INSTALL) -D -m 644 package/quagga/quagga@.service \ + $(TARGET_DIR)/usr/lib/systemd/system/quagga@.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/quagga/quagga@.service b/buildroot-2022.02.1/package/quagga/quagga@.service similarity index 100% rename from buildroot-2021.05/package/quagga/quagga@.service rename to buildroot-2022.02.1/package/quagga/quagga@.service diff --git a/buildroot-2021.05/package/quagga/quagga_tmpfiles.conf b/buildroot-2022.02.1/package/quagga/quagga_tmpfiles.conf similarity index 100% rename from buildroot-2021.05/package/quagga/quagga_tmpfiles.conf rename to buildroot-2022.02.1/package/quagga/quagga_tmpfiles.conf diff --git a/buildroot-2021.05/package/quazip/Config.in b/buildroot-2022.02.1/package/quazip/Config.in similarity index 100% rename from buildroot-2021.05/package/quazip/Config.in rename to buildroot-2022.02.1/package/quazip/Config.in diff --git a/buildroot-2021.05/package/quazip/quazip.hash b/buildroot-2022.02.1/package/quazip/quazip.hash similarity index 100% rename from buildroot-2021.05/package/quazip/quazip.hash rename to buildroot-2022.02.1/package/quazip/quazip.hash diff --git a/buildroot-2021.05/package/quazip/quazip.mk b/buildroot-2022.02.1/package/quazip/quazip.mk similarity index 100% rename from buildroot-2021.05/package/quazip/quazip.mk rename to buildroot-2022.02.1/package/quazip/quazip.mk diff --git a/buildroot-2021.05/package/quickjs/Config.in b/buildroot-2022.02.1/package/quickjs/Config.in similarity index 100% rename from buildroot-2021.05/package/quickjs/Config.in rename to buildroot-2022.02.1/package/quickjs/Config.in diff --git a/buildroot-2021.05/package/quickjs/quickjs.hash b/buildroot-2022.02.1/package/quickjs/quickjs.hash similarity index 100% rename from buildroot-2021.05/package/quickjs/quickjs.hash rename to buildroot-2022.02.1/package/quickjs/quickjs.hash diff --git a/buildroot-2021.05/package/quickjs/quickjs.mk b/buildroot-2022.02.1/package/quickjs/quickjs.mk similarity index 100% rename from buildroot-2021.05/package/quickjs/quickjs.mk rename to buildroot-2022.02.1/package/quickjs/quickjs.mk diff --git a/buildroot-2021.05/package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch b/buildroot-2022.02.1/package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch similarity index 100% rename from buildroot-2021.05/package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch rename to buildroot-2022.02.1/package/quota/0001-quota-Use-realloc-3-instead-of-reallocarray-3.patch diff --git a/buildroot-2021.05/package/quota/Config.in b/buildroot-2022.02.1/package/quota/Config.in similarity index 100% rename from buildroot-2021.05/package/quota/Config.in rename to buildroot-2022.02.1/package/quota/Config.in diff --git a/buildroot-2021.05/package/quota/quota.hash b/buildroot-2022.02.1/package/quota/quota.hash similarity index 100% rename from buildroot-2021.05/package/quota/quota.hash rename to buildroot-2022.02.1/package/quota/quota.hash diff --git a/buildroot-2022.02.1/package/quota/quota.mk b/buildroot-2022.02.1/package/quota/quota.mk new file mode 100644 index 00000000..0c751d44 --- /dev/null +++ b/buildroot-2022.02.1/package/quota/quota.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# quota +# +################################################################################ + +QUOTA_VERSION = 4.06 +QUOTA_SITE = http://downloads.sourceforge.net/project/linuxquota/quota-tools/$(QUOTA_VERSION) +QUOTA_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) host-nfs-utils +QUOTA_LICENSE = GPL-2.0+ +QUOTA_LICENSE_FILES = COPYING +QUOTA_CPE_ID_VENDOR = jan_kara +QUOTA_CPE_ID_PRODUCT = linux_diskquota +QUOTA_SELINUX_MODULES = quota +QUOTA_CONF_ENV = LIBS="$(TARGET_NLS_LIBS)" +QUOTA_CONF_OPTS = --disable-pie + +ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_LIBNL),yy) +QUOTA_DEPENDENCIES += host-pkgconf dbus libnl +QUOTA_CONF_OPTS += --enable-netlink +else +QUOTA_CONF_OPTS += --disable-netlink +endif + +ifeq ($(BR2_PACKAGE_E2FSPROGS),y) +QUOTA_DEPENDENCIES += host-pkgconf e2fsprogs +QUOTA_CONF_OPTS += --enable-ext2direct +else +QUOTA_CONF_OPTS += --disable-ext2direct +endif + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +QUOTA_DEPENDENCIES += libtirpc host-pkgconf +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP):$(BR2_STATIC_LIBS),y:) +QUOTA_DEPENDENCIES += openldap +QUOTA_CONF_OPTS += --enable-ldapmail +else +QUOTA_CONF_OPTS += --disable-ldapmail +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch b/buildroot-2022.02.1/package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch similarity index 100% rename from buildroot-2021.05/package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch rename to buildroot-2022.02.1/package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch diff --git a/buildroot-2021.05/package/quotatool/Config.in b/buildroot-2022.02.1/package/quotatool/Config.in similarity index 100% rename from buildroot-2021.05/package/quotatool/Config.in rename to buildroot-2022.02.1/package/quotatool/Config.in diff --git a/buildroot-2021.05/package/quotatool/quotatool.hash b/buildroot-2022.02.1/package/quotatool/quotatool.hash similarity index 100% rename from buildroot-2021.05/package/quotatool/quotatool.hash rename to buildroot-2022.02.1/package/quotatool/quotatool.hash diff --git a/buildroot-2021.05/package/quotatool/quotatool.mk b/buildroot-2022.02.1/package/quotatool/quotatool.mk similarity index 100% rename from buildroot-2021.05/package/quotatool/quotatool.mk rename to buildroot-2022.02.1/package/quotatool/quotatool.mk diff --git a/buildroot-2021.05/package/qwt/Config.in b/buildroot-2022.02.1/package/qwt/Config.in similarity index 100% rename from buildroot-2021.05/package/qwt/Config.in rename to buildroot-2022.02.1/package/qwt/Config.in diff --git a/buildroot-2021.05/package/qwt/qwt.hash b/buildroot-2022.02.1/package/qwt/qwt.hash similarity index 100% rename from buildroot-2021.05/package/qwt/qwt.hash rename to buildroot-2022.02.1/package/qwt/qwt.hash diff --git a/buildroot-2021.05/package/qwt/qwt.mk b/buildroot-2022.02.1/package/qwt/qwt.mk similarity index 100% rename from buildroot-2021.05/package/qwt/qwt.mk rename to buildroot-2022.02.1/package/qwt/qwt.mk diff --git a/buildroot-2021.05/package/rabbitmq-c/Config.in b/buildroot-2022.02.1/package/rabbitmq-c/Config.in similarity index 100% rename from buildroot-2021.05/package/rabbitmq-c/Config.in rename to buildroot-2022.02.1/package/rabbitmq-c/Config.in diff --git a/buildroot-2021.05/package/rabbitmq-c/rabbitmq-c.hash b/buildroot-2022.02.1/package/rabbitmq-c/rabbitmq-c.hash similarity index 100% rename from buildroot-2021.05/package/rabbitmq-c/rabbitmq-c.hash rename to buildroot-2022.02.1/package/rabbitmq-c/rabbitmq-c.hash diff --git a/buildroot-2021.05/package/rabbitmq-c/rabbitmq-c.mk b/buildroot-2022.02.1/package/rabbitmq-c/rabbitmq-c.mk similarity index 100% rename from buildroot-2021.05/package/rabbitmq-c/rabbitmq-c.mk rename to buildroot-2022.02.1/package/rabbitmq-c/rabbitmq-c.mk diff --git a/buildroot-2021.05/package/rabbitmq-server/Config.in b/buildroot-2022.02.1/package/rabbitmq-server/Config.in similarity index 100% rename from buildroot-2021.05/package/rabbitmq-server/Config.in rename to buildroot-2022.02.1/package/rabbitmq-server/Config.in diff --git a/buildroot-2021.05/package/rabbitmq-server/S50rabbitmq-server b/buildroot-2022.02.1/package/rabbitmq-server/S50rabbitmq-server similarity index 100% rename from buildroot-2021.05/package/rabbitmq-server/S50rabbitmq-server rename to buildroot-2022.02.1/package/rabbitmq-server/S50rabbitmq-server diff --git a/buildroot-2021.05/package/rabbitmq-server/rabbitmq-server.hash b/buildroot-2022.02.1/package/rabbitmq-server/rabbitmq-server.hash similarity index 100% rename from buildroot-2021.05/package/rabbitmq-server/rabbitmq-server.hash rename to buildroot-2022.02.1/package/rabbitmq-server/rabbitmq-server.hash diff --git a/buildroot-2022.02.1/package/rabbitmq-server/rabbitmq-server.mk b/buildroot-2022.02.1/package/rabbitmq-server/rabbitmq-server.mk new file mode 100644 index 00000000..33c33594 --- /dev/null +++ b/buildroot-2022.02.1/package/rabbitmq-server/rabbitmq-server.mk @@ -0,0 +1,69 @@ +################################################################################ +# +# rabbitmq-server +# +################################################################################ + +RABBITMQ_SERVER_VERSION = 3.8.2 +RABBITMQ_SERVER_SITE = https://github.com/rabbitmq/rabbitmq-server/releases/download/v$(RABBITMQ_SERVER_VERSION) +RABBITMQ_SERVER_SOURCE = rabbitmq-server-$(RABBITMQ_SERVER_VERSION).tar.xz +RABBITMQ_SERVER_LICENSE = MPL-1.1, Apache-2.0, BSD-3-Clause, BSD-2-Clause, MIT, MPL-2.0, ISC +RABBITMQ_SERVER_LICENSE_FILES = \ + LICENSE \ + LICENSE-APACHE2 \ + LICENSE-APACHE2-excanvas \ + LICENSE-APACHE2-ExplorerCanvas \ + LICENSE-APL2-Stomp-Websocket \ + LICENSE-BSD-base64js \ + LICENSE-BSD-recon \ + LICENSE-erlcloud \ + LICENSE-httpc_aws \ + LICENSE-ISC-cowboy \ + LICENSE-MIT-EJS \ + LICENSE-MIT-EJS10 \ + LICENSE-MIT-Erlware-Commons \ + LICENSE-MIT-Flot \ + LICENSE-MIT-jQuery \ + LICENSE-MIT-jQuery164 \ + LICENSE-MIT-Mochi \ + LICENSE-MIT-Sammy \ + LICENSE-MIT-Sammy060 \ + LICENSE-MPL \ + LICENSE-MPL-RabbitMQ \ + LICENSE-MPL2 \ + LICENSE-rabbitmq_aws +RABBITMQ_SERVER_CPE_ID_VENDOR = pivotal_software +RABBITMQ_SERVER_CPE_ID_PRODUCT = rabbitmq +RABBITMQ_SERVER_SELINUX_MODULES = rabbitmq + +RABBITMQ_SERVER_DEPENDENCIES = host-elixir host-libxslt host-zip erlang libxslt +RABBITMQ_SERVER_TARGET_BINS = rabbitmq-plugins rabbitmq-server rabbitmqctl rabbitmq-env rabbitmq-defaults + +define RABBITMQ_SERVER_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define RABBITMQ_SERVER_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install + + for bin in $(RABBITMQ_SERVER_TARGET_BINS); do \ + ln -sf ../lib/erlang/lib/rabbitmq_server-$(RABBITMQ_SERVER_VERSION)/sbin/$$bin \ + $(TARGET_DIR)/usr/sbin/$$bin; \ + done +endef + +define RABBITMQ_SERVER_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/rabbitmq-server/rabbitmq-server.service \ + $(TARGET_DIR)/usr/lib/systemd/system/rabbitmq-server.service +endef + +define RABBITMQ_SERVER_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/rabbitmq-server/S50rabbitmq-server \ + $(TARGET_DIR)/etc/init.d/S50rabbitmq-server +endef + +define RABBITMQ_SERVER_USERS + rabbitmq -1 rabbitmq -1 * /var/lib/rabbitmq /bin/sh - rabbitmq-server daemon +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rabbitmq-server/rabbitmq-server.service b/buildroot-2022.02.1/package/rabbitmq-server/rabbitmq-server.service similarity index 100% rename from buildroot-2021.05/package/rabbitmq-server/rabbitmq-server.service rename to buildroot-2022.02.1/package/rabbitmq-server/rabbitmq-server.service diff --git a/buildroot-2021.05/package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch b/buildroot-2022.02.1/package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch similarity index 100% rename from buildroot-2021.05/package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch rename to buildroot-2022.02.1/package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch diff --git a/buildroot-2021.05/package/racehound/Config.in b/buildroot-2022.02.1/package/racehound/Config.in similarity index 100% rename from buildroot-2021.05/package/racehound/Config.in rename to buildroot-2022.02.1/package/racehound/Config.in diff --git a/buildroot-2021.05/package/racehound/racehound.hash b/buildroot-2022.02.1/package/racehound/racehound.hash similarity index 100% rename from buildroot-2021.05/package/racehound/racehound.hash rename to buildroot-2022.02.1/package/racehound/racehound.hash diff --git a/buildroot-2021.05/package/racehound/racehound.mk b/buildroot-2022.02.1/package/racehound/racehound.mk similarity index 100% rename from buildroot-2021.05/package/racehound/racehound.mk rename to buildroot-2022.02.1/package/racehound/racehound.mk diff --git a/buildroot-2021.05/package/radvd/50-radvd.preset b/buildroot-2022.02.1/package/radvd/50-radvd.preset similarity index 100% rename from buildroot-2021.05/package/radvd/50-radvd.preset rename to buildroot-2022.02.1/package/radvd/50-radvd.preset diff --git a/buildroot-2021.05/package/radvd/Config.in b/buildroot-2022.02.1/package/radvd/Config.in similarity index 100% rename from buildroot-2021.05/package/radvd/Config.in rename to buildroot-2022.02.1/package/radvd/Config.in diff --git a/buildroot-2021.05/package/radvd/S50radvd b/buildroot-2022.02.1/package/radvd/S50radvd similarity index 100% rename from buildroot-2021.05/package/radvd/S50radvd rename to buildroot-2022.02.1/package/radvd/S50radvd diff --git a/buildroot-2021.05/package/radvd/radvd.hash b/buildroot-2022.02.1/package/radvd/radvd.hash similarity index 100% rename from buildroot-2021.05/package/radvd/radvd.hash rename to buildroot-2022.02.1/package/radvd/radvd.hash diff --git a/buildroot-2022.02.1/package/radvd/radvd.mk b/buildroot-2022.02.1/package/radvd/radvd.mk new file mode 100644 index 00000000..7a3b0a36 --- /dev/null +++ b/buildroot-2022.02.1/package/radvd/radvd.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# radvd +# +################################################################################ + +RADVD_VERSION = 2.19 +RADVD_SITE = http://www.litech.org/radvd/dist +RADVD_DEPENDENCIES = host-bison host-flex host-pkgconf +# We need to ignore , because radvd already includes +# , which conflicts with . +RADVD_CONF_ENV = \ + ac_cv_prog_cc_c99='-std=gnu99' \ + ac_cv_header_linux_if_arp_h=no +RADVD_LICENSE = BSD-4-Clause-like +RADVD_LICENSE_FILES = COPYRIGHT +RADVD_SELINUX_MODULES = radvd + +ifeq ($(BR2_TOOLCHAIN_HAS_SSP),y) +RADVD_CONF_OPTS += --with-stack-protector +else +RADVD_CONF_OPTS += --without-stack-protector +endif + +# We don't provide /etc/radvd.conf, so disable the service by default. +define RADVD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/radvd/50-radvd.preset \ + $(TARGET_DIR)/usr/lib/systemd/system-preset/50-radvd.preset +endef + +define RADVD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d/S50radvd +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/ramsmp/Config.in b/buildroot-2022.02.1/package/ramsmp/Config.in similarity index 100% rename from buildroot-2021.05/package/ramsmp/Config.in rename to buildroot-2022.02.1/package/ramsmp/Config.in diff --git a/buildroot-2021.05/package/ramsmp/Makefile b/buildroot-2022.02.1/package/ramsmp/Makefile similarity index 100% rename from buildroot-2021.05/package/ramsmp/Makefile rename to buildroot-2022.02.1/package/ramsmp/Makefile diff --git a/buildroot-2021.05/package/ramsmp/ramsmp.hash b/buildroot-2022.02.1/package/ramsmp/ramsmp.hash similarity index 100% rename from buildroot-2021.05/package/ramsmp/ramsmp.hash rename to buildroot-2022.02.1/package/ramsmp/ramsmp.hash diff --git a/buildroot-2021.05/package/ramsmp/ramsmp.mk b/buildroot-2022.02.1/package/ramsmp/ramsmp.mk similarity index 100% rename from buildroot-2021.05/package/ramsmp/ramsmp.mk rename to buildroot-2022.02.1/package/ramsmp/ramsmp.mk diff --git a/buildroot-2021.05/package/ramspeed/Config.in b/buildroot-2022.02.1/package/ramspeed/Config.in similarity index 100% rename from buildroot-2021.05/package/ramspeed/Config.in rename to buildroot-2022.02.1/package/ramspeed/Config.in diff --git a/buildroot-2021.05/package/ramspeed/Makefile b/buildroot-2022.02.1/package/ramspeed/Makefile similarity index 100% rename from buildroot-2021.05/package/ramspeed/Makefile rename to buildroot-2022.02.1/package/ramspeed/Makefile diff --git a/buildroot-2021.05/package/ramspeed/ramspeed.hash b/buildroot-2022.02.1/package/ramspeed/ramspeed.hash similarity index 100% rename from buildroot-2021.05/package/ramspeed/ramspeed.hash rename to buildroot-2022.02.1/package/ramspeed/ramspeed.hash diff --git a/buildroot-2021.05/package/ramspeed/ramspeed.mk b/buildroot-2022.02.1/package/ramspeed/ramspeed.mk similarity index 100% rename from buildroot-2021.05/package/ramspeed/ramspeed.mk rename to buildroot-2022.02.1/package/ramspeed/ramspeed.mk diff --git a/buildroot-2021.05/package/ranger/0001-colorscheme-check-for-compiled-python-files.patch b/buildroot-2022.02.1/package/ranger/0001-colorscheme-check-for-compiled-python-files.patch similarity index 100% rename from buildroot-2021.05/package/ranger/0001-colorscheme-check-for-compiled-python-files.patch rename to buildroot-2022.02.1/package/ranger/0001-colorscheme-check-for-compiled-python-files.patch diff --git a/buildroot-2022.02.1/package/ranger/Config.in b/buildroot-2022.02.1/package/ranger/Config.in new file mode 100644 index 00000000..a379002f --- /dev/null +++ b/buildroot-2022.02.1/package/ranger/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_RANGER + bool "ranger" + depends on BR2_USE_MMU # python3 + depends on BR2_USE_WCHAR # python3 + depends on BR2_TOOLCHAIN_HAS_THREADS # python3 + depends on !BR2_STATIC_LIBS # python3 + select BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON3_CURSES + help + ranger is a console file manager with VI key bindings. It + provides a minimalistic and nice curses interface with a + view on the directory hierarchy. It ships with "rifle", a + file launcher that is good at automatically finding out + which program to use for what file type. + + http://ranger.nongnu.org + +comment "ranger needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/ranger/ranger.hash b/buildroot-2022.02.1/package/ranger/ranger.hash similarity index 100% rename from buildroot-2021.05/package/ranger/ranger.hash rename to buildroot-2022.02.1/package/ranger/ranger.hash diff --git a/buildroot-2021.05/package/ranger/ranger.mk b/buildroot-2022.02.1/package/ranger/ranger.mk similarity index 100% rename from buildroot-2021.05/package/ranger/ranger.mk rename to buildroot-2022.02.1/package/ranger/ranger.mk diff --git a/buildroot-2021.05/package/rapidjson/Config.in b/buildroot-2022.02.1/package/rapidjson/Config.in similarity index 100% rename from buildroot-2021.05/package/rapidjson/Config.in rename to buildroot-2022.02.1/package/rapidjson/Config.in diff --git a/buildroot-2021.05/package/rapidjson/rapidjson.hash b/buildroot-2022.02.1/package/rapidjson/rapidjson.hash similarity index 100% rename from buildroot-2021.05/package/rapidjson/rapidjson.hash rename to buildroot-2022.02.1/package/rapidjson/rapidjson.hash diff --git a/buildroot-2021.05/package/rapidjson/rapidjson.mk b/buildroot-2022.02.1/package/rapidjson/rapidjson.mk similarity index 100% rename from buildroot-2021.05/package/rapidjson/rapidjson.mk rename to buildroot-2022.02.1/package/rapidjson/rapidjson.mk diff --git a/buildroot-2021.05/package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch b/buildroot-2022.02.1/package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch similarity index 100% rename from buildroot-2021.05/package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch rename to buildroot-2022.02.1/package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch diff --git a/buildroot-2021.05/package/rapidxml/Config.in b/buildroot-2022.02.1/package/rapidxml/Config.in similarity index 100% rename from buildroot-2021.05/package/rapidxml/Config.in rename to buildroot-2022.02.1/package/rapidxml/Config.in diff --git a/buildroot-2021.05/package/rapidxml/rapidxml.hash b/buildroot-2022.02.1/package/rapidxml/rapidxml.hash similarity index 100% rename from buildroot-2021.05/package/rapidxml/rapidxml.hash rename to buildroot-2022.02.1/package/rapidxml/rapidxml.hash diff --git a/buildroot-2021.05/package/rapidxml/rapidxml.mk b/buildroot-2022.02.1/package/rapidxml/rapidxml.mk similarity index 100% rename from buildroot-2021.05/package/rapidxml/rapidxml.mk rename to buildroot-2022.02.1/package/rapidxml/rapidxml.mk diff --git a/buildroot-2021.05/package/raptor/0001-configure.ac-remove-conditional-lib-inclusion.patch b/buildroot-2022.02.1/package/raptor/0001-configure.ac-remove-conditional-lib-inclusion.patch similarity index 100% rename from buildroot-2021.05/package/raptor/0001-configure.ac-remove-conditional-lib-inclusion.patch rename to buildroot-2022.02.1/package/raptor/0001-configure.ac-remove-conditional-lib-inclusion.patch diff --git a/buildroot-2021.05/package/raptor/0002-Calcualte-max-nspace-declarations-correctly-for-XML-.patch b/buildroot-2022.02.1/package/raptor/0002-Calcualte-max-nspace-declarations-correctly-for-XML-.patch similarity index 100% rename from buildroot-2021.05/package/raptor/0002-Calcualte-max-nspace-declarations-correctly-for-XML-.patch rename to buildroot-2022.02.1/package/raptor/0002-Calcualte-max-nspace-declarations-correctly-for-XML-.patch diff --git a/buildroot-2022.02.1/package/raptor/0003-XML-Writer-compare-namespace-declarations-correctly.patch b/buildroot-2022.02.1/package/raptor/0003-XML-Writer-compare-namespace-declarations-correctly.patch new file mode 100644 index 00000000..a48a583c --- /dev/null +++ b/buildroot-2022.02.1/package/raptor/0003-XML-Writer-compare-namespace-declarations-correctly.patch @@ -0,0 +1,33 @@ +From 4f5dbbffcc1c6cf0398bd03450453289a0979dea Mon Sep 17 00:00:00 2001 +From: Dave Beckett +Date: Sat, 18 Sep 2021 17:40:00 -0700 +Subject: [PATCH] XML Writer : compare namespace declarations correctly + +Apply patch from +0001-CVE-2020-25713-raptor2-malformed-input-file-can-lead.patch.1 +that fixes Issue#0000650 https://bugs.librdf.org/mantis/view.php?id=650 +which overwrote heap during XML writing in parse type literal +content. This was detected with clang asan. + +Thanks to Michael Stahl / mst2 for the fix. + +[Retrieved from: +https://github.com/dajobe/raptor/commit/4f5dbbffcc1c6cf0398bd03450453289a0979dea] +Signed-off-by: Fabrice Fontaine +--- + src/raptor_xml_writer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/raptor_xml_writer.c b/src/raptor_xml_writer.c +index 56993dc3..4426d38c 100644 +--- a/src/raptor_xml_writer.c ++++ b/src/raptor_xml_writer.c +@@ -227,7 +227,7 @@ raptor_xml_writer_start_element_common(raptor_xml_writer* xml_writer, + + /* check it wasn't an earlier declaration too */ + for(j = 0; j < nspace_declarations_count; j++) +- if(nspace_declarations[j].nspace == element->attributes[j]->nspace) { ++ if(nspace_declarations[j].nspace == element->attributes[i]->nspace) { + declare_me = 0; + break; + } diff --git a/buildroot-2021.05/package/raptor/Config.in b/buildroot-2022.02.1/package/raptor/Config.in similarity index 100% rename from buildroot-2021.05/package/raptor/Config.in rename to buildroot-2022.02.1/package/raptor/Config.in diff --git a/buildroot-2021.05/package/raptor/raptor.hash b/buildroot-2022.02.1/package/raptor/raptor.hash similarity index 100% rename from buildroot-2021.05/package/raptor/raptor.hash rename to buildroot-2022.02.1/package/raptor/raptor.hash diff --git a/buildroot-2022.02.1/package/raptor/raptor.mk b/buildroot-2022.02.1/package/raptor/raptor.mk new file mode 100644 index 00000000..69ac1213 --- /dev/null +++ b/buildroot-2022.02.1/package/raptor/raptor.mk @@ -0,0 +1,52 @@ +################################################################################ +# +# raptor +# +################################################################################ + +RAPTOR_VERSION = 2.0.15 +RAPTOR_SOURCE = raptor2-$(RAPTOR_VERSION).tar.gz +RAPTOR_SITE = http://download.librdf.org/source +RAPTOR_DEPENDENCIES = libxml2 libxslt +RAPTOR_LICENSE = GPL-2.0+ or LGPL-2.1+ or Apache-2.0+ +RAPTOR_LICENSE_FILES = LICENSE.txt +RAPTOR_CPE_ID_VENDOR = librdf +RAPTOR_CPE_ID_PRODUCT = raptor_rdf_syntax_library +RAPTOR_INSTALL_STAGING = YES + +# Flag is added to make sure the patch is applied for the configure.ac of raptor. +RAPTOR_AUTORECONF = YES + +# 0002-Calcualte-max-nspace-declarations-correctly-for-XML-.patch +RAPTOR_IGNORE_CVES += CVE-2017-18926 + +# 0003-XML-Writer-compare-namespace-declarations-correctly.patch +RAPTOR_IGNORE_CVES += CVE-2020-25713 + +RAPTOR_CONF_OPTS =\ + --with-xml2-config=$(STAGING_DIR)/usr/bin/xml2-config \ + --with-xslt-config=$(STAGING_DIR)/usr/bin/xslt-config + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +RAPTOR_DEPENDENCIES += libcurl +RAPTOR_CONF_OPTS += --with-curl-config=$(STAGING_DIR)/usr/bin/curl-config +else +RAPTOR_CONF_OPTS += --with-curl-config=no +endif + +ifeq ($(BR2_PACKAGE_YAJL),y) +RAPTOR_DEPENDENCIES += yajl +RAPTOR_CONF_ENV += LIBS="-lm" +RAPTOR_CONF_OPTS += --with-yajl=$(STAGING_DIR)/usr +else +RAPTOR_CONF_OPTS += --with-yajl=no +endif + +ifeq ($(BR2_PACKAGE_ICU),y) +RAPTOR_DEPENDENCIES += icu +RAPTOR_CONF_OPTS += --with-icu-config=$(STAGING_DIR)/usr/bin/icu-config +else +RAPTOR_CONF_OPTS += --with-icu-config=no +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch b/buildroot-2022.02.1/package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch new file mode 100644 index 00000000..d482b0b9 --- /dev/null +++ b/buildroot-2022.02.1/package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch @@ -0,0 +1,30 @@ +From 38b730c00f45abf324caf687b5b00662ff4252c2 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Fri, 2 Dec 2016 23:09:44 +0100 +Subject: [PATCH] Makefile: allow passing CFLAGS/LDFLAGS + +This might be needed to pass some custom CFLAGS/LDFLAGS when building +rpiboot. + +Submitted-upstream: https://github.com/raspberrypi/usbboot/pull/2 +Signed-off-by: Thomas Petazzoni +[Rebased on 9324fd7] +Signed-off-by: Peter Seiderer +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 822e714..875e717 100755 +--- a/Makefile ++++ b/Makefile +@@ -1,5 +1,5 @@ + rpiboot: main.c msd/bootcode.h msd/start.h msd/bootcode4.h msd/start4.h +- $(CC) -Wall -Wextra -g -o $@ $< -lusb-1.0 ++ $(CC) -Wall -Wextra -g $(CFLAGS) -o $@ $< -lusb-1.0 $(LDFLAGS) + + %.h: %.bin ./bin2c + ./bin2c $< $@ +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/raspberrypi-usbboot/Config.in.host b/buildroot-2022.02.1/package/raspberrypi-usbboot/Config.in.host new file mode 100644 index 00000000..e5772e3a --- /dev/null +++ b/buildroot-2022.02.1/package/raspberrypi-usbboot/Config.in.host @@ -0,0 +1,17 @@ +config BR2_PACKAGE_HOST_RASPBERRYPI_USBBOOT + bool "host raspberrypi-usbboot" + depends on BR2_arm || BR2_aarch64 + depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libusb + help + This package builds and install the "rpiboot" tool for the + host machine. This tool allows to boot the Broadcom BCM + processor used in the RaspberryPi to boot over USB, and have + it expose a USB mass storage device in order to reflash the + built-in storage of the RaspberryPi (useful for the eMMC + built into the Compute module). + + https://github.com/raspberrypi/usbboot + +comment "host raspberrypi-usbboot needs a toolchain w/ host gcc >= 4.9" + depends on BR2_arm || BR2_aarch64 + depends on !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/raspberrypi-usbboot/raspberrypi-usbboot.hash b/buildroot-2022.02.1/package/raspberrypi-usbboot/raspberrypi-usbboot.hash new file mode 100644 index 00000000..cedc5fb7 --- /dev/null +++ b/buildroot-2022.02.1/package/raspberrypi-usbboot/raspberrypi-usbboot.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 4565314b38e7c7505b7d32a3b51b49f79c7dd5767d45b86d38e5255ae7489a43 raspberrypi-usbboot-2021.07.01.tar.gz + +# License files +sha256 b40930bbcf80744c86c46a12bc9da056641d722716c378f5659b9e555ef833e1 LICENSE diff --git a/buildroot-2022.02.1/package/raspberrypi-usbboot/raspberrypi-usbboot.mk b/buildroot-2022.02.1/package/raspberrypi-usbboot/raspberrypi-usbboot.mk new file mode 100644 index 00000000..2e4194da --- /dev/null +++ b/buildroot-2022.02.1/package/raspberrypi-usbboot/raspberrypi-usbboot.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# raspberrypi-usbboot +# +################################################################################ + +RASPBERRYPI_USBBOOT_VERSION = 2021.07.01 +RASPBERRYPI_USBBOOT_SITE = \ + $(call github,raspberrypi,usbboot,v$(RASPBERRYPI_USBBOOT_VERSION)) +RASPBERRYPI_USBBOOT_LICENSE = Apache-2.0 +RASPBERRYPI_USBBOOT_LICENSE_FILES = LICENSE + +HOST_RASPBERRYPI_USBBOOT_DEPENDENCIES = host-libusb + +define HOST_RASPBERRYPI_USBBOOT_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) +endef + +define HOST_RASPBERRYPI_USBBOOT_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/rpiboot $(HOST_DIR)/bin/rpiboot +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/raspi-gpio/Config.in b/buildroot-2022.02.1/package/raspi-gpio/Config.in similarity index 100% rename from buildroot-2021.05/package/raspi-gpio/Config.in rename to buildroot-2022.02.1/package/raspi-gpio/Config.in diff --git a/buildroot-2021.05/package/raspi-gpio/raspi-gpio.hash b/buildroot-2022.02.1/package/raspi-gpio/raspi-gpio.hash similarity index 100% rename from buildroot-2021.05/package/raspi-gpio/raspi-gpio.hash rename to buildroot-2022.02.1/package/raspi-gpio/raspi-gpio.hash diff --git a/buildroot-2021.05/package/raspi-gpio/raspi-gpio.mk b/buildroot-2022.02.1/package/raspi-gpio/raspi-gpio.mk similarity index 100% rename from buildroot-2021.05/package/raspi-gpio/raspi-gpio.mk rename to buildroot-2022.02.1/package/raspi-gpio/raspi-gpio.mk diff --git a/buildroot-2021.05/package/ratpoison/Config.in b/buildroot-2022.02.1/package/ratpoison/Config.in similarity index 100% rename from buildroot-2021.05/package/ratpoison/Config.in rename to buildroot-2022.02.1/package/ratpoison/Config.in diff --git a/buildroot-2021.05/package/ratpoison/ratpoison.hash b/buildroot-2022.02.1/package/ratpoison/ratpoison.hash similarity index 100% rename from buildroot-2021.05/package/ratpoison/ratpoison.hash rename to buildroot-2022.02.1/package/ratpoison/ratpoison.hash diff --git a/buildroot-2021.05/package/ratpoison/ratpoison.mk b/buildroot-2022.02.1/package/ratpoison/ratpoison.mk similarity index 100% rename from buildroot-2021.05/package/ratpoison/ratpoison.mk rename to buildroot-2022.02.1/package/ratpoison/ratpoison.mk diff --git a/buildroot-2022.02.1/package/rauc/Config.in b/buildroot-2022.02.1/package/rauc/Config.in new file mode 100644 index 00000000..b4f7b819 --- /dev/null +++ b/buildroot-2022.02.1/package/rauc/Config.in @@ -0,0 +1,46 @@ +config BR2_PACKAGE_RAUC + bool "rauc" + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_USE_MMU # glib2 + depends on BR2_USE_WCHAR # glib2 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_SQUASHFS # run-time dependency + select BR2_PACKAGE_UBOOT_TOOLS if BR2_TARGET_UBOOT # run-time dependency + select BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV if BR2_TARGET_UBOOT + help + RAUC is the Robust Auto-Update Controller developed by + Pengutronix. It supports updating embedded Linux + systems over the network or from disks and provides a + d-bus interface. + + http://rauc.io/ + +if BR2_PACKAGE_RAUC + +config BR2_PACKAGE_RAUC_DBUS + bool "dbus support" + select BR2_PACKAGE_DBUS + help + This option enables support for controlling rauc through + D-Bus. + +config BR2_PACKAGE_RAUC_NETWORK + bool "network support" + select BR2_PACKAGE_LIBCURL + help + This option enables support for updating firmware over + the network using libcurl. + +config BR2_PACKAGE_RAUC_JSON + bool "JSON output support" + select BR2_PACKAGE_JSON_GLIB + help + This option enables support for providing output in + JSON format. + +endif + +comment "rauc needs a toolchain w/ wchar, threads" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/rauc/Config.in.host b/buildroot-2022.02.1/package/rauc/Config.in.host similarity index 100% rename from buildroot-2021.05/package/rauc/Config.in.host rename to buildroot-2022.02.1/package/rauc/Config.in.host diff --git a/buildroot-2022.02.1/package/rauc/rauc.hash b/buildroot-2022.02.1/package/rauc/rauc.hash new file mode 100644 index 00000000..f6c1446d --- /dev/null +++ b/buildroot-2022.02.1/package/rauc/rauc.hash @@ -0,0 +1,4 @@ +# Locally calculated, after verifying against +# https://github.com/rauc/rauc/releases/download/v1.6/rauc-1.6.tar.xz.asc +sha256 86013788dd02321b7c3f913ad3a1f8802afbc784ec076fa278524a9e1ef9e7b0 rauc-1.6.tar.xz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/rauc/rauc.mk b/buildroot-2022.02.1/package/rauc/rauc.mk new file mode 100644 index 00000000..7a10470c --- /dev/null +++ b/buildroot-2022.02.1/package/rauc/rauc.mk @@ -0,0 +1,62 @@ +################################################################################ +# +# rauc +# +################################################################################ + +RAUC_VERSION = 1.6 +RAUC_SITE = https://github.com/rauc/rauc/releases/download/v$(RAUC_VERSION) +RAUC_SOURCE = rauc-$(RAUC_VERSION).tar.xz +RAUC_LICENSE = LGPL-2.1 +RAUC_LICENSE_FILES = COPYING +RAUC_CPE_ID_VENDOR = pengutronix +RAUC_DEPENDENCIES = host-pkgconf openssl libglib2 + +ifeq ($(BR2_PACKAGE_RAUC_DBUS),y) +RAUC_CONF_OPTS += --enable-service +RAUC_DEPENDENCIES += dbus + +# systemd service uses dbus interface +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +# configure uses pkg-config --variable=systemdsystemunitdir systemd +RAUC_DEPENDENCIES += systemd +define RAUC_INSTALL_INIT_SYSTEMD + mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/rauc.service.d + printf '[Install]\nWantedBy=multi-user.target\n' \ + >$(TARGET_DIR)/usr/lib/systemd/system/rauc.service.d/buildroot-enable.conf +endef +endif + +else +RAUC_CONF_OPTS += --disable-service +endif + +ifeq ($(BR2_PACKAGE_RAUC_NETWORK),y) +RAUC_CONF_OPTS += --enable-network +RAUC_DEPENDENCIES += libcurl +else +RAUC_CONF_OPTS += --disable-network +endif + +ifeq ($(BR2_PACKAGE_RAUC_JSON),y) +RAUC_CONF_OPTS += --enable-json +RAUC_DEPENDENCIES += json-glib +else +RAUC_CONF_OPTS += --disable-json +endif + +HOST_RAUC_DEPENDENCIES = \ + host-pkgconf \ + host-openssl \ + host-libglib2 \ + host-squashfs \ + $(if $(BR2_PACKAGE_HOST_LIBP11),host-libp11) +HOST_RAUC_CONF_OPTS += \ + --disable-network \ + --disable-json \ + --disable-service \ + --without-dbuspolicydir \ + --with-systemdunitdir=no + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/rcw-smarc-sal28/Config.in b/buildroot-2022.02.1/package/rcw-smarc-sal28/Config.in similarity index 100% rename from buildroot-2021.05/package/rcw-smarc-sal28/Config.in rename to buildroot-2022.02.1/package/rcw-smarc-sal28/Config.in diff --git a/buildroot-2021.05/package/rcw-smarc-sal28/rcw-smarc-sal28.hash b/buildroot-2022.02.1/package/rcw-smarc-sal28/rcw-smarc-sal28.hash similarity index 100% rename from buildroot-2021.05/package/rcw-smarc-sal28/rcw-smarc-sal28.hash rename to buildroot-2022.02.1/package/rcw-smarc-sal28/rcw-smarc-sal28.hash diff --git a/buildroot-2022.02.1/package/rcw-smarc-sal28/rcw-smarc-sal28.mk b/buildroot-2022.02.1/package/rcw-smarc-sal28/rcw-smarc-sal28.mk new file mode 100644 index 00000000..2bc74002 --- /dev/null +++ b/buildroot-2022.02.1/package/rcw-smarc-sal28/rcw-smarc-sal28.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# rcw-smarc-sal28 +# +################################################################################ + +RCW_SMARC_SAL28_VERSION = 11 +RCW_SMARC_SAL28_SITE = $(call github,kontron,rcw-smarc-sal28,v$(RCW_SMARC_SAL28_VERSION)) +RCW_SMARC_SAL28_LICENSE = BSD-2-Clause +RCW_SMARC_SAL28_LICENSE_FILES = COPYING +RCW_SMARC_SAL28_INSTALL_TARGET = NO +RCW_SMARC_SAL28_INSTALL_IMAGES = YES + +RCW_SMARC_SAL28_BOOT_VARIANT = $(call qstrip,$(BR2_PACKAGE_RCW_SMARC_SAL28_BOOT_VARIANT)) + +ifeq ($(BR2_PACKAGE_RCW_SMARC_SAL28_BUILD_UPDATE_SCRIPT),y) +RCW_SMARC_SAL28_DEPENDENCIES += host-uboot-tools +define RCW_SMARC_SAL28_UPDATE_SCRIPT_BUILD_CMDS + MKIMAGE=$(HOST_DIR)/bin/mkimage $(MAKE) -C $(@D)/contrib all +endef +define RCW_SMARC_SAL28_UPDATE_SCRIPT_INSTALL_CMDS + $(INSTALL) -D -m 0644 $(@D)/contrib/update-rcw.img $(BINARIES_DIR)/ +endef +endif + +define RCW_SMARC_SAL28_BUILD_CMDS + $(RCW_SMARC_SAL28_UPDATE_SCRIPT_BUILD_CMDS) +endef + +define RCW_SMARC_SAL28_INSTALL_IMAGES_CMDS + $(INSTALL) -d $(BINARIES_DIR)/rcw + $(INSTALL) -D -m 0644 $(@D)/sl28-*.bin $(BINARIES_DIR)/rcw/ + ln -sf rcw/sl28-$(RCW_SMARC_SAL28_BOOT_VARIANT).bin $(BINARIES_DIR)/rcw.bin + $(RCW_SMARC_SAL28_UPDATE_SCRIPT_INSTALL_CMDS) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rdesktop/0001-8bit-colors.patch b/buildroot-2022.02.1/package/rdesktop/0001-8bit-colors.patch similarity index 100% rename from buildroot-2021.05/package/rdesktop/0001-8bit-colors.patch rename to buildroot-2022.02.1/package/rdesktop/0001-8bit-colors.patch diff --git a/buildroot-2021.05/package/rdesktop/Config.in b/buildroot-2022.02.1/package/rdesktop/Config.in similarity index 100% rename from buildroot-2021.05/package/rdesktop/Config.in rename to buildroot-2022.02.1/package/rdesktop/Config.in diff --git a/buildroot-2021.05/package/rdesktop/rdesktop.hash b/buildroot-2022.02.1/package/rdesktop/rdesktop.hash similarity index 100% rename from buildroot-2021.05/package/rdesktop/rdesktop.hash rename to buildroot-2022.02.1/package/rdesktop/rdesktop.hash diff --git a/buildroot-2021.05/package/rdesktop/rdesktop.mk b/buildroot-2022.02.1/package/rdesktop/rdesktop.mk similarity index 100% rename from buildroot-2021.05/package/rdesktop/rdesktop.mk rename to buildroot-2022.02.1/package/rdesktop/rdesktop.mk diff --git a/buildroot-2021.05/package/re2/Config.in b/buildroot-2022.02.1/package/re2/Config.in similarity index 100% rename from buildroot-2021.05/package/re2/Config.in rename to buildroot-2022.02.1/package/re2/Config.in diff --git a/buildroot-2022.02.1/package/re2/re2.hash b/buildroot-2022.02.1/package/re2/re2.hash new file mode 100644 index 00000000..7cfece5d --- /dev/null +++ b/buildroot-2022.02.1/package/re2/re2.hash @@ -0,0 +1,3 @@ +# locally calculated +sha256 9c1e6acfd0fed71f40b025a7a1dabaf3ee2ebb74d64ced1f9ee1b0b01d22fd27 re2-2022-02-01.tar.gz +sha256 6040cda75d90b1738292a631d89934c411ef7ffd543c4d6a1b7edfc8edf29449 LICENSE diff --git a/buildroot-2022.02.1/package/re2/re2.mk b/buildroot-2022.02.1/package/re2/re2.mk new file mode 100644 index 00000000..30791a68 --- /dev/null +++ b/buildroot-2022.02.1/package/re2/re2.mk @@ -0,0 +1,45 @@ +################################################################################ +# +# re2 +# +################################################################################ + +RE2_VERSION = 2022-02-01 +RE2_SITE = $(call github,google,re2,$(RE2_VERSION)) +RE2_LICENSE = BSD-3-Clause +RE2_LICENSE_FILES = LICENSE +RE2_INSTALL_STAGING = YES + +RE2_MAKE_OPTS = \ + $(TARGET_CONFIGURE_OPTS) \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +define RE2_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(RE2_MAKE_OPTS) \ + -C $(@D) $(if $(BR2_STATIC_LIBS),static) +endef + +define RE2_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(RE2_MAKE_OPTS) \ + DESTDIR="$(STAGING_DIR)" prefix=/usr -C $(@D) \ + $(if $(BR2_STATIC_LIBS),static-install,install) +endef + +define RE2_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(RE2_MAKE_OPTS) \ + DESTDIR="$(TARGET_DIR)" prefix=/usr -C $(@D) \ + $(if $(BR2_STATIC_LIBS),static-install,install) +endef + +define HOST_RE2_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ + -C $(@D) +endef + +define HOST_RE2_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) \ + -C $(@D) DESTDIR="$(HOST_DIR)" prefix=/usr install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/read-edid/0001-Fix-install-file-list.patch b/buildroot-2022.02.1/package/read-edid/0001-Fix-install-file-list.patch similarity index 100% rename from buildroot-2021.05/package/read-edid/0001-Fix-install-file-list.patch rename to buildroot-2022.02.1/package/read-edid/0001-Fix-install-file-list.patch diff --git a/buildroot-2021.05/package/read-edid/0002-Fix-compiler-check.patch b/buildroot-2022.02.1/package/read-edid/0002-Fix-compiler-check.patch similarity index 100% rename from buildroot-2021.05/package/read-edid/0002-Fix-compiler-check.patch rename to buildroot-2022.02.1/package/read-edid/0002-Fix-compiler-check.patch diff --git a/buildroot-2021.05/package/read-edid/0003-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/read-edid/0003-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/read-edid/0003-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/read-edid/0003-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/read-edid/Config.in b/buildroot-2022.02.1/package/read-edid/Config.in similarity index 100% rename from buildroot-2021.05/package/read-edid/Config.in rename to buildroot-2022.02.1/package/read-edid/Config.in diff --git a/buildroot-2021.05/package/read-edid/read-edid.hash b/buildroot-2022.02.1/package/read-edid/read-edid.hash similarity index 100% rename from buildroot-2021.05/package/read-edid/read-edid.hash rename to buildroot-2022.02.1/package/read-edid/read-edid.hash diff --git a/buildroot-2021.05/package/read-edid/read-edid.mk b/buildroot-2022.02.1/package/read-edid/read-edid.mk similarity index 100% rename from buildroot-2021.05/package/read-edid/read-edid.mk rename to buildroot-2022.02.1/package/read-edid/read-edid.mk diff --git a/buildroot-2021.05/package/readline/0001-curses-link.patch b/buildroot-2022.02.1/package/readline/0001-curses-link.patch similarity index 100% rename from buildroot-2021.05/package/readline/0001-curses-link.patch rename to buildroot-2022.02.1/package/readline/0001-curses-link.patch diff --git a/buildroot-2021.05/package/readline/Config.in b/buildroot-2022.02.1/package/readline/Config.in similarity index 100% rename from buildroot-2021.05/package/readline/Config.in rename to buildroot-2022.02.1/package/readline/Config.in diff --git a/buildroot-2021.05/package/readline/inputrc b/buildroot-2022.02.1/package/readline/inputrc similarity index 100% rename from buildroot-2021.05/package/readline/inputrc rename to buildroot-2022.02.1/package/readline/inputrc diff --git a/buildroot-2022.02.1/package/readline/readline.hash b/buildroot-2022.02.1/package/readline/readline.hash new file mode 100644 index 00000000..b0530a2d --- /dev/null +++ b/buildroot-2022.02.1/package/readline/readline.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature from +# https://ftp.gnu.org/gnu/readline/readline-8.1.2.tar.gz.sig +sha256 7589a2381a8419e68654a47623ce7dfcb756815c8fee726b98f90bf668af7bc6 readline-8.1.2.tar.gz + +# Hash for license file +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/readline/readline.mk b/buildroot-2022.02.1/package/readline/readline.mk new file mode 100644 index 00000000..b1fd181b --- /dev/null +++ b/buildroot-2022.02.1/package/readline/readline.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# readline +# +################################################################################ + +READLINE_VERSION = 8.1.2 +READLINE_SITE = $(BR2_GNU_MIRROR)/readline +READLINE_INSTALL_STAGING = YES +READLINE_DEPENDENCIES = ncurses host-autoconf +HOST_READLINE_DEPENDENCIES = host-ncurses host-autoconf +READLINE_CONF_ENV = bash_cv_func_sigsetjmp=yes \ + bash_cv_wcwidth_broken=no +READLINE_CONF_OPTS = --disable-install-examples +READLINE_LICENSE = GPL-3.0+ +READLINE_LICENSE_FILES = COPYING +READLINE_CPE_ID_VENDOR = gnu + +ifeq ($(BR2_PACKAGE_READLINE_BRACKETED_PASTE),y) +READLINE_CONF_OPTS += --enable-bracketed-paste-default +else +READLINE_CONF_OPTS += --disable-bracketed-paste-default +endif + +define READLINE_INSTALL_INPUTRC + $(INSTALL) -D -m 644 package/readline/inputrc $(TARGET_DIR)/etc/inputrc +endef +READLINE_POST_INSTALL_TARGET_HOOKS += READLINE_INSTALL_INPUTRC + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/reaver/Config.in b/buildroot-2022.02.1/package/reaver/Config.in similarity index 100% rename from buildroot-2021.05/package/reaver/Config.in rename to buildroot-2022.02.1/package/reaver/Config.in diff --git a/buildroot-2021.05/package/reaver/reaver.hash b/buildroot-2022.02.1/package/reaver/reaver.hash similarity index 100% rename from buildroot-2021.05/package/reaver/reaver.hash rename to buildroot-2022.02.1/package/reaver/reaver.hash diff --git a/buildroot-2021.05/package/reaver/reaver.mk b/buildroot-2022.02.1/package/reaver/reaver.mk similarity index 100% rename from buildroot-2021.05/package/reaver/reaver.mk rename to buildroot-2022.02.1/package/reaver/reaver.mk diff --git a/buildroot-2021.05/package/redir/Config.in b/buildroot-2022.02.1/package/redir/Config.in similarity index 100% rename from buildroot-2021.05/package/redir/Config.in rename to buildroot-2022.02.1/package/redir/Config.in diff --git a/buildroot-2021.05/package/redir/redir.hash b/buildroot-2022.02.1/package/redir/redir.hash similarity index 100% rename from buildroot-2021.05/package/redir/redir.hash rename to buildroot-2022.02.1/package/redir/redir.hash diff --git a/buildroot-2021.05/package/redir/redir.mk b/buildroot-2022.02.1/package/redir/redir.mk similarity index 100% rename from buildroot-2021.05/package/redir/redir.mk rename to buildroot-2022.02.1/package/redir/redir.mk diff --git a/buildroot-2021.05/package/redis/0001-uclibc.patch b/buildroot-2022.02.1/package/redis/0001-uclibc.patch similarity index 100% rename from buildroot-2021.05/package/redis/0001-uclibc.patch rename to buildroot-2022.02.1/package/redis/0001-uclibc.patch diff --git a/buildroot-2021.05/package/redis/0002-largefile-conditional-define.patch b/buildroot-2022.02.1/package/redis/0002-largefile-conditional-define.patch similarity index 100% rename from buildroot-2021.05/package/redis/0002-largefile-conditional-define.patch rename to buildroot-2022.02.1/package/redis/0002-largefile-conditional-define.patch diff --git a/buildroot-2021.05/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch b/buildroot-2022.02.1/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch similarity index 100% rename from buildroot-2021.05/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch rename to buildroot-2022.02.1/package/redis/0003-redis.conf-adjust-defauts-for-buildroot.patch diff --git a/buildroot-2021.05/package/redis/Config.in b/buildroot-2022.02.1/package/redis/Config.in similarity index 100% rename from buildroot-2021.05/package/redis/Config.in rename to buildroot-2022.02.1/package/redis/Config.in diff --git a/buildroot-2021.05/package/redis/S50redis b/buildroot-2022.02.1/package/redis/S50redis similarity index 100% rename from buildroot-2021.05/package/redis/S50redis rename to buildroot-2022.02.1/package/redis/S50redis diff --git a/buildroot-2022.02.1/package/redis/redis.hash b/buildroot-2022.02.1/package/redis/redis.hash new file mode 100644 index 00000000..74a9392a --- /dev/null +++ b/buildroot-2022.02.1/package/redis/redis.hash @@ -0,0 +1,5 @@ +# From https://github.com/redis/redis-hashes/blob/master/README +sha256 5b2b8b7a50111ef395bf1c1d5be11e6e167ac018125055daa8b5c2317ae131ab redis-6.2.6.tar.gz + +# Locally calculated +sha256 97f0a15b7bbae580d2609dad2e11f1956ae167be296ab60f4691ab9c30ee9828 COPYING diff --git a/buildroot-2022.02.1/package/redis/redis.mk b/buildroot-2022.02.1/package/redis/redis.mk new file mode 100644 index 00000000..f3c030d6 --- /dev/null +++ b/buildroot-2022.02.1/package/redis/redis.mk @@ -0,0 +1,70 @@ +################################################################################ +# +# redis +# +################################################################################ + +REDIS_VERSION = 6.2.6 +REDIS_SITE = http://download.redis.io/releases +REDIS_LICENSE = BSD-3-Clause (core); MIT and BSD family licenses (Bundled components) +REDIS_LICENSE_FILES = COPYING +REDIS_CPE_ID_VENDOR = redislabs +REDIS_SELINUX_MODULES = redis + +define REDIS_USERS + redis -1 redis -1 * /var/lib/redis /bin/false - Redis Server +endef + +# Uses __atomic_fetch_add_4. Adding -latomic to LDFLAGS does not work, +# because LDFLAGS is used before the list of object files. We need to +# add -latomic to FINAL_LIBS to provide -latomic at the correct place +# in the linking command. +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +define REDIS_FIX_MAKEFILE + $(SED) 's/FINAL_LIBS=-lm/FINAL_LIBS=-lm -latomic/' $(@D)/src/Makefile +endef +REDIS_POST_PATCH_HOOKS = REDIS_FIX_MAKEFILE +endif + +# Redis doesn't support DESTDIR (yet, see +# https://github.com/antirez/redis/pull/609). We set PREFIX +# instead. +REDIS_BUILDOPTS = $(TARGET_CONFIGURE_OPTS) \ + PREFIX=$(TARGET_DIR)/usr MALLOC=libc + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +REDIS_DEPENDENCIES += systemd +REDIS_BUILDOPTS += USE_SYSTEMD=yes +else +REDIS_BUILDOPTS += USE_SYSTEMD=no +endif + +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +REDIS_DEPENDENCIES += libopenssl +REDIS_BUILDOPTS += BUILD_TLS=yes +else +REDIS_BUILDOPTS += BUILD_TLS=no +endif + +define REDIS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) +endef + +define REDIS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(REDIS_BUILDOPTS) -C $(@D) \ + LDCONFIG=true install + $(INSTALL) -D -m 0644 $(@D)/redis.conf \ + $(TARGET_DIR)/etc/redis.conf +endef + +define REDIS_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/redis/S50redis \ + $(TARGET_DIR)/etc/init.d/S50redis +endef + +define REDIS_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/redis/redis.service \ + $(TARGET_DIR)/usr/lib/systemd/system/redis.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/redis/redis.service b/buildroot-2022.02.1/package/redis/redis.service similarity index 100% rename from buildroot-2021.05/package/redis/redis.service rename to buildroot-2022.02.1/package/redis/redis.service diff --git a/buildroot-2022.02.1/package/refpolicy/Config.in b/buildroot-2022.02.1/package/refpolicy/Config.in new file mode 100644 index 00000000..0e72b895 --- /dev/null +++ b/buildroot-2022.02.1/package/refpolicy/Config.in @@ -0,0 +1,121 @@ +config BR2_PACKAGE_REFPOLICY + bool "refpolicy" + depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol + depends on BR2_HOST_GCC_AT_LEAST_5 # host-setools -> host-libsepol + # Even though libsepol is not necessary for building, we get + # the policy version from libsepol, so we select it, and treat + # it like a runtime dependency. + select BR2_PACKAGE_LIBSEPOL + help + The SELinux Reference Policy project (refpolicy) is a + complete SELinux policy that can be used as the system + policy for a variety of systems and used as the basis for + creating other policies. Reference Policy was originally + based on the NSA example policy, but aims to accomplish many + additional goals. + + The current refpolicy does not fully support Buildroot and + needs modifications to work with the default system file + layout. These changes should be added as patches to the + refpolicy that modify a single SELinux policy. + + The refpolicy works for the most part in permissive + mode. Only the basic set of utilities are enabled in the + example policy config and some of the pathing in the + policies is not correct. Individual policies would need to + be tweaked to get everything functioning properly. + + https://github.com/TresysTechnology/refpolicy + +if BR2_PACKAGE_REFPOLICY + +choice + prompt "Refpolicy version" + default BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION + +config BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION + bool "Upstream version" + help + Use the refpolicy as provided by Buildroot. + +config BR2_PACKAGE_REFPOLICY_CUSTOM_GIT + bool "Custom git repository" + help + Allows to get the refpolicy from a custom git repository. + + The custom refpolicy must define the full policy explicitly, + and must be a fork of the original refpolicy, to have the + same build system. When this is selected, only the custom + policy definition are taken into account and all the modules + of the policy are built into the binary policy. + +endchoice + +if BR2_PACKAGE_REFPOLICY_CUSTOM_GIT + +config BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL + string "URL of custom repository" + +config BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_VERSION + string "Custom repository version" + help + Revision to use in the typical format used by Git. + E.g. a sha id, tag, branch... + +endif + +choice + prompt "SELinux default state" + default BR2_PACKAGE_REFPOLICY_POLICY_STATE_PERMISSIVE + +config BR2_PACKAGE_REFPOLICY_POLICY_STATE_ENFORCING + bool "Enforcing" + help + SELinux security policy is enforced + +config BR2_PACKAGE_REFPOLICY_POLICY_STATE_PERMISSIVE + bool "Permissive" + help + SELinux prints warnings instead of enforcing + +config BR2_PACKAGE_REFPOLICY_POLICY_STATE_DISABLED + bool "Disabled" + help + No SELinux policy is loaded +endchoice + +config BR2_PACKAGE_REFPOLICY_POLICY_STATE + string + default "permissive" if BR2_PACKAGE_REFPOLICY_POLICY_STATE_PERMISSIVE + default "enforcing" if BR2_PACKAGE_REFPOLICY_POLICY_STATE_ENFORCING + default "disabled" if BR2_PACKAGE_REFPOLICY_POLICY_STATE_DISABLED + +if BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION + +config BR2_REFPOLICY_EXTRA_MODULES_DIRS + string "Extra modules directories" + help + Specify a space-separated list of directories containing + SELinux modules that will be built into the SELinux + policy. The modules will be automatically enabled in the + policy. + + Each of those directories must contain the SELinux policy + .fc, .if and .te files directly at the top-level, with no + sub-directories. Also, you cannot have several modules with + the same name in different directories. + +config BR2_REFPOLICY_EXTRA_MODULES + string "Extra modules to enable" + help + List of extra SELinux modules to enable in the refpolicy. + +endif + +endif + +comment "refpolicy needs a toolchain w/ threads, gcc >= 5, host gcc >= 5" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \ + !BR2_HOST_GCC_AT_LEAST_5 diff --git a/buildroot-2021.05/package/refpolicy/config b/buildroot-2022.02.1/package/refpolicy/config similarity index 100% rename from buildroot-2021.05/package/refpolicy/config rename to buildroot-2022.02.1/package/refpolicy/config diff --git a/buildroot-2022.02.1/package/refpolicy/refpolicy.hash b/buildroot-2022.02.1/package/refpolicy/refpolicy.hash new file mode 100644 index 00000000..b08c22ed --- /dev/null +++ b/buildroot-2022.02.1/package/refpolicy/refpolicy.hash @@ -0,0 +1,5 @@ +# From https://github.com/SELinuxProject/refpolicy/releases +sha256 965f98f0b68a24fd0b8e8d973d319332aea88973e1d6c455ef9c2a31aefaeaa6 refpolicy-2.20220106.tar.bz2 + +# Locally computed +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2022.02.1/package/refpolicy/refpolicy.mk b/buildroot-2022.02.1/package/refpolicy/refpolicy.mk new file mode 100644 index 00000000..44c50af2 --- /dev/null +++ b/buildroot-2022.02.1/package/refpolicy/refpolicy.mk @@ -0,0 +1,134 @@ +################################################################################ +# +# refpolicy +# +################################################################################ + +REFPOLICY_LICENSE = GPL-2.0 +REFPOLICY_LICENSE_FILES = COPYING +REFPOLICY_CPE_ID_VENDOR = selinuxproject +REFPOLICY_INSTALL_STAGING = YES +REFPOLICY_DEPENDENCIES = \ + host-m4 \ + host-checkpolicy \ + host-policycoreutils \ + host-python3 \ + host-setools \ + host-gawk \ + host-libxml2 + +ifeq ($(BR2_PACKAGE_REFPOLICY_CUSTOM_GIT),y) +REFPOLICY_VERSION = $(call qstrip,$(BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_VERSION)) +REFPOLICY_SITE = $(call qstrip,$(BR2_PACKAGE_REFPOLICY_CUSTOM_REPO_URL)) +REFPOLICY_SITE_METHOD = git +BR_NO_CHECK_HASH_FOR += $(REFPOLICY_SOURCE) +else +REFPOLICY_VERSION = 2.20220106 +REFPOLICY_SOURCE = refpolicy-$(REFPOLICY_VERSION).tar.bz2 +REFPOLICY_SITE = https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_$(subst .,_,$(REFPOLICY_VERSION)) +endif + +# Cannot use multiple threads to build the reference policy +REFPOLICY_MAKE = \ + PYTHON=$(HOST_DIR)/usr/bin/python3 \ + XMLLINT=$(LIBXML2_HOST_BINARY) \ + TEST_TOOLCHAIN=$(HOST_DIR) \ + $(TARGET_MAKE_ENV) \ + $(MAKE1) + +REFPOLICY_POLICY_VERSION = $(BR2_PACKAGE_LIBSEPOL_POLICY_VERSION) +REFPOLICY_POLICY_STATE = \ + $(call qstrip,$(BR2_PACKAGE_REFPOLICY_POLICY_STATE)) + +ifeq ($(BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION),y) + +# Allow to provide out-of-tree SELinux modules in addition to the ones +# in the refpolicy. +REFPOLICY_EXTRA_MODULES_DIRS = \ + $(strip \ + $(call qstrip,$(BR2_REFPOLICY_EXTRA_MODULES_DIRS)) \ + $(PACKAGES_SELINUX_EXTRA_MODULES_DIRS)) +$(foreach dir,$(REFPOLICY_EXTRA_MODULES_DIRS),\ + $(if $(wildcard $(dir)),,\ + $(error BR2_REFPOLICY_EXTRA_MODULES_DIRS contains nonexistent directory $(dir)))) + +REFPOLICY_MODULES = \ + application \ + authlogin \ + getty \ + init \ + libraries \ + locallogin \ + logging \ + miscfiles \ + modutils \ + mount \ + selinuxutil \ + storage \ + sysadm \ + sysnetwork \ + unconfined \ + userdomain \ + $(PACKAGES_SELINUX_MODULES) \ + $(call qstrip,$(BR2_REFPOLICY_EXTRA_MODULES)) \ + $(foreach d,$(REFPOLICY_EXTRA_MODULES_DIRS),\ + $(basename $(notdir $(wildcard $(d)/*.te)))) + +define REFPOLICY_COPY_EXTRA_MODULES + mkdir -p $(@D)/policy/modules/buildroot + rsync -au $(addsuffix /*,$(REFPOLICY_EXTRA_MODULES_DIRS)) \ + $(@D)/policy/modules/buildroot/ + if [ ! -f $(@D)/policy/modules/buildroot/metadata.xml ]; then \ + echo "Buildroot extra modules" > \ + $(@D)/policy/modules/buildroot/metadata.xml; \ + fi +endef + +# In the context of a monolithic policy enabling a piece of the policy as +# 'base' or 'module' is equivalent, so we enable them as 'base'. +define REFPOLICY_CONFIGURE_MODULES + $(SED) "s/ = module/ = no/g" $(@D)/policy/modules.conf + $(foreach m,$(sort $(REFPOLICY_MODULES)), + $(SED) "/^$(m) =/c\$(m) = base" $(@D)/policy/modules.conf + ) +endef + +endif # BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION = y + +ifeq ($(BR2_INIT_SYSTEMD),y) +define REFPOLICY_CONFIGURE_SYSTEMD + $(SED) "/SYSTEMD/c\SYSTEMD = y" $(@D)/build.conf +endef +endif + +define REFPOLICY_CONFIGURE_CMDS + $(SED) "/OUTPUT_POLICY/c\OUTPUT_POLICY = $(REFPOLICY_POLICY_VERSION)" \ + $(@D)/build.conf + $(SED) "/MONOLITHIC/c\MONOLITHIC = y" $(@D)/build.conf + $(SED) "/NAME/c\NAME = targeted" $(@D)/build.conf + $(REFPOLICY_CONFIGURE_SYSTEMD) + $(if $(REFPOLICY_EXTRA_MODULES_DIRS), \ + $(REFPOLICY_COPY_EXTRA_MODULES) + ) + $(REFPOLICY_MAKE) -C $(@D) bare conf + $(REFPOLICY_CONFIGURE_MODULES) +endef + +define REFPOLICY_BUILD_CMDS + $(REFPOLICY_MAKE) -C $(@D) policy +endef + +define REFPOLICY_INSTALL_STAGING_CMDS + $(REFPOLICY_MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) \ + install-src install-headers +endef + +define REFPOLICY_INSTALL_TARGET_CMDS + $(REFPOLICY_MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install + $(INSTALL) -m 0755 -D package/refpolicy/config \ + $(TARGET_DIR)/etc/selinux/config + $(SED) "/^SELINUX=/c\SELINUX=$(REFPOLICY_POLICY_STATE)" \ + $(TARGET_DIR)/etc/selinux/config +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/resiprocate/0001-Fix-some-issue-compiling-with-Visual-Studio.patch b/buildroot-2022.02.1/package/resiprocate/0001-Fix-some-issue-compiling-with-Visual-Studio.patch new file mode 100644 index 00000000..0efe0d9c --- /dev/null +++ b/buildroot-2022.02.1/package/resiprocate/0001-Fix-some-issue-compiling-with-Visual-Studio.patch @@ -0,0 +1,95 @@ +From be76b10a50749e2e11dce8dcc38b414a7f9d8747 Mon Sep 17 00:00:00 2001 +From: Ben Walden +Date: Sat, 22 Aug 2020 23:14:11 +0100 +Subject: [PATCH] Fix some issue compiling with Visual Studio 16.7.0 and tidy + up Visual Studio 16 project files + +[Retrieved (and updated to keep only RendKa.cxx update) from: +https://github.com/resiprocate/resiprocate/commit/be76b10a50749e2e11dce8dcc38b414a7f9d8747] +Signed-off-by: Fabrice Fontaine +--- + VisualStudioReadme.htm | 65 + + contrib/GeoIP/GeoIP_12_0.vcxproj | 550 ------- + contrib/GeoIP/GeoIP_16_0.vcxproj | 93 +- + .../db/build_windows/db_static_12_0.vcxproj | 1260 ----------------- + .../db/build_windows/db_static_16_0.vcxproj | 696 +-------- + contrib/db/dbinc/atomic.h | 4 +- + contrib/db/mp/mp_fget.c | 4 +- + contrib/db/mp/mp_mvcc.c | 4 +- + contrib/db/mp/mp_region.c | 4 +- + contrib/db/mutex/mut_method.c | 2 +- + contrib/pcre/pcre_12_0.vcxproj | 466 ------ + contrib/pcre/pcre_16_0.vcxproj | 159 +-- + contrib/popt/popt_12_0.vcxproj | 394 ------ + contrib/popt/popt_16_0.vcxproj | 120 +- + reSIProcate_16_0.sln | 58 +- + .../queuetostream_12_0.vcxproj | 582 -------- + .../queuetostream_16_0.vcxproj | 207 ++- + repro/repro_12_0.vcxproj | 825 ----------- + repro/repro_12_0.vcxproj.filters | 47 - + repro/repro_16_0.vcxproj | 159 ++- + repro/reprocmd/reprocmd_12_0.vcxproj | 597 -------- + repro/reprocmd/reprocmd_16_0.vcxproj | 139 +- + repro/reprolib_12_0.vcxproj | 596 -------- + repro/reprolib_12_0.vcxproj.filters | 136 -- + repro/reprolib_16_0.vcxproj | 132 +- + resip/dum/dum_12_0.vcxproj | 615 -------- + resip/dum/dum_16_0.vcxproj | 124 +- + resip/dum/test/basicCall_12_0.vcxproj | 621 -------- + resip/dum/test/basicCall_16_0.vcxproj | 145 +- + resip/dum/test/basicClient_12_0.vcxproj | 653 --------- + resip/dum/test/basicClient_16_0.vcxproj | 158 +-- + resip/dum/test/basicMessage_12_0.vcxproj | 615 -------- + resip/dum/test/basicMessage_16_0.vcxproj | 141 +- + resip/dum/test/basicRegister_12_0.vcxproj | 615 -------- + resip/dum/test/basicRegister_16_0.vcxproj | 137 +- + resip/rend/RendKa.cxx | 2 +- + resip/rend/rend_12_0.vcxproj | 352 ----- + resip/rend/rend_16_0.vcxproj | 89 +- + resip/stack/resiprocate_12_0.vcxproj | 873 ------------ + resip/stack/resiprocate_12_0.vcxproj.filters | 351 ----- + resip/stack/resiprocate_16_0.vcxproj | 165 ++- + resip/stack/test/test_12_0.vcxproj | 627 -------- + resip/stack/test/test_16_0.vcxproj | 171 ++- + rutil/dns/ares/ares_12_0.vcxproj | 488 ------- + rutil/dns/ares/ares_12_0.vcxproj.filters | 34 - + rutil/dns/ares/ares_16_0.vcxproj | 159 +-- + rutil/rutil_12_0.vcxproj | 604 -------- + rutil/rutil_16_0.vcxproj | 153 +- + 48 files changed, 1409 insertions(+), 13782 deletions(-) + delete mode 100644 contrib/GeoIP/GeoIP_12_0.vcxproj + delete mode 100644 contrib/db/build_windows/db_static_12_0.vcxproj + delete mode 100644 contrib/pcre/pcre_12_0.vcxproj + delete mode 100644 contrib/popt/popt_12_0.vcxproj + delete mode 100644 repro/accountingconsumers/queuetostream_12_0.vcxproj + delete mode 100644 repro/repro_12_0.vcxproj + delete mode 100644 repro/repro_12_0.vcxproj.filters + delete mode 100644 repro/reprocmd/reprocmd_12_0.vcxproj + delete mode 100644 repro/reprolib_12_0.vcxproj + delete mode 100644 repro/reprolib_12_0.vcxproj.filters + delete mode 100644 resip/dum/dum_12_0.vcxproj + delete mode 100644 resip/dum/test/basicCall_12_0.vcxproj + delete mode 100644 resip/dum/test/basicClient_12_0.vcxproj + delete mode 100644 resip/dum/test/basicMessage_12_0.vcxproj + delete mode 100644 resip/dum/test/basicRegister_12_0.vcxproj + delete mode 100644 resip/rend/rend_12_0.vcxproj + delete mode 100644 resip/stack/resiprocate_12_0.vcxproj + delete mode 100644 resip/stack/resiprocate_12_0.vcxproj.filters + delete mode 100644 resip/stack/test/test_12_0.vcxproj + delete mode 100644 rutil/dns/ares/ares_12_0.vcxproj + delete mode 100644 rutil/dns/ares/ares_12_0.vcxproj.filters + delete mode 100644 rutil/rutil_12_0.vcxproj + +diff --git a/resip/rend/RendKa.cxx b/resip/rend/RendKa.cxx +index 8645f17636..8321ada1ee 100644 +--- a/resip/rend/RendKa.cxx ++++ b/resip/rend/RendKa.cxx +@@ -66,7 +66,7 @@ bool operator<(const RendKaAssoc& a, const RendKaAssoc& b) + + struct RendKaConn + { +- bool operator() (const RendKaAssocPtr& a, const RendKaAssocPtr& b) ++ bool operator()(const RendKaAssocPtr& a, const RendKaAssocPtr& b) const + { + return *a < *b; + } diff --git a/buildroot-2022.02.1/package/resiprocate/Config.in b/buildroot-2022.02.1/package/resiprocate/Config.in new file mode 100644 index 00000000..7561b7c8 --- /dev/null +++ b/buildroot-2022.02.1/package/resiprocate/Config.in @@ -0,0 +1,50 @@ +comment "resiprocate needs a toolchain w/ C++, threads, wchar" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR + +config BR2_PACKAGE_RESIPROCATE + bool "resiprocate" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + reSIProcate is a framework that aims to fully implement the + SIP protocol in first class C++. It is intended for use in + other applications, such as the repro SIP proxy. + + By default this package provides the core libraries: librutil + (utilities), libresip (SIP stack/RFC compliant message + parsing) and libdum (SIP Dialog Usage Manager, a state + machine for SIP dialogs). + + https://www.resiprocate.org/ + +if BR2_PACKAGE_RESIPROCATE + +config BR2_PACKAGE_RESIPROCATE_DTLS_SUPPORT + bool "DTLS support" + select BR2_PACKAGE_OPENSSL + help + Enable DTLS support (requires OpenSSL) + +config BR2_PACKAGE_RESIPROCATE_REND + bool "resiprocate-rend" + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_POPT + help + Rend is tool that is was created specifically to load test + gtSIP based presence servers. + +config BR2_PACKAGE_RESIPROCATE_APPS + bool "resiprocate-apps" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PCRE + help + Build apps clicktocall and sipdial + +endif # BR2_PACKAGE_RESIPROCATE diff --git a/buildroot-2021.05/package/resiprocate/resiprocate.hash b/buildroot-2022.02.1/package/resiprocate/resiprocate.hash similarity index 100% rename from buildroot-2021.05/package/resiprocate/resiprocate.hash rename to buildroot-2022.02.1/package/resiprocate/resiprocate.hash diff --git a/buildroot-2022.02.1/package/resiprocate/resiprocate.mk b/buildroot-2022.02.1/package/resiprocate/resiprocate.mk new file mode 100644 index 00000000..58b94246 --- /dev/null +++ b/buildroot-2022.02.1/package/resiprocate/resiprocate.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# resiprocate +# +################################################################################ + +RESIPROCATE_VERSION = 1.12.0 +RESIPROCATE_SITE = https://www.resiprocate.org/files/pub/reSIProcate/releases +# For complete details see https://www.resiprocate.org/License +RESIPROCATE_LICENSE = VSL-1.0, BSD-3-Clause +RESIPROCATE_LICENSE_FILES = COPYING +RESIPROCATE_CPE_ID_VENDOR = resiprocate +RESIPROCATE_INSTALL_STAGING = YES + +# Utilize c-ares from buildroot instead built in ARES library +# NOTE: resiprocate doesn't support --without- syntax as it will try +# to build with package if specified +RESIPROCATE_DEPENDENCIES = c-ares +RESIPROCATE_CONF_OPTS = -with-c-ares \ + --with-sysroot="$(STAGING_DIR)" + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +RESIPROCATE_DEPENDENCIES += openssl host-pkgconf +RESIPROCATE_CONF_OPTS += --with-ssl +# Configure.ac does not include '-lz' when statically linking against openssl +RESIPROCATE_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` +endif + +ifeq ($(BR2_PACKAGE_POPT),y) +RESIPROCATE_CONF_OPTS += --with-popt +RESIPROCATE_DEPENDENCIES += popt +endif + +ifeq ($(BR2_PACKAGE_RESIPROCATE_DTLS_SUPPORT),y) +RESIPROCATE_CONF_OPTS += --with-dtls +endif + +ifeq ($(BR2_PACKAGE_RESIPROCATE_REND),y) +RESIPROCATE_CONF_OPTS += --with-rend +RESIPROCATE_DEPENDENCIES += boost +endif + +ifeq ($(BR2_PACKAGE_RESIPROCATE_APPS),y) +RESIPROCATE_CONF_OPTS += --with-apps +RESIPROCATE_DEPENDENCIES += pcre +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/restclient-cpp/Config.in b/buildroot-2022.02.1/package/restclient-cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/restclient-cpp/Config.in rename to buildroot-2022.02.1/package/restclient-cpp/Config.in diff --git a/buildroot-2021.05/package/restclient-cpp/restclient-cpp.hash b/buildroot-2022.02.1/package/restclient-cpp/restclient-cpp.hash similarity index 100% rename from buildroot-2021.05/package/restclient-cpp/restclient-cpp.hash rename to buildroot-2022.02.1/package/restclient-cpp/restclient-cpp.hash diff --git a/buildroot-2022.02.1/package/restclient-cpp/restclient-cpp.mk b/buildroot-2022.02.1/package/restclient-cpp/restclient-cpp.mk new file mode 100644 index 00000000..1ba9ed81 --- /dev/null +++ b/buildroot-2022.02.1/package/restclient-cpp/restclient-cpp.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# restclient-cpp +# +################################################################################ + +RESTCLIENT_CPP_VERSION = 0.5.2 +RESTCLIENT_CPP_SITE = $(call github,mrtazz,restclient-cpp,$(RESTCLIENT_CPP_VERSION)) +RESTCLIENT_CPP_LICENSE = MIT +RESTCLIENT_CPP_LICENSE_FILES = LICENSE +RESTCLIENT_CPP_INSTALL_STAGING = YES + +# Source from github, no configure script provided +RESTCLIENT_CPP_AUTORECONF = YES + +RESTCLIENT_CPP_DEPENDENCIES = libcurl + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/restorecond/Config.in b/buildroot-2022.02.1/package/restorecond/Config.in new file mode 100644 index 00000000..5e5567b2 --- /dev/null +++ b/buildroot-2022.02.1/package/restorecond/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_RESTORECOND + bool "restorecond" + depends on BR2_USE_MMU # libglib2 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on !BR2_STATIC_LIBS # libselinux + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS_GLIB + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_LIBSELINUX + select BR2_PACKAGE_LIBSEPOL + help + restorecond is a daemon that watches for file creation and + then sets the default SELinux file context for that file. + + https://github.com/SELinuxProject/selinux/wiki/Releases + +comment "restorecond needs a toolchain w/ wchar, threads, dynamic library, gcc >= 5" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/restorecond/S02restorecond b/buildroot-2022.02.1/package/restorecond/S02restorecond new file mode 100644 index 00000000..796b07a3 --- /dev/null +++ b/buildroot-2022.02.1/package/restorecond/S02restorecond @@ -0,0 +1,54 @@ +#!/bin/sh + +DAEMON=restorecond +PIDFILE=/var/run/$DAEMON.pid + +RESTORECOND_ARGS="" + +# shellcheck source=/dev/null +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +start() +{ + printf 'Starting %s: ' "$DAEMON" + start-stop-daemon -b -m -S -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" \ + -- $RESTORECOND_ARGS + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +stop() +{ + printf 'Stopping %s: ' "$DAEMON" + start-stop-daemon -K -q -p $PIDFILE -R TERM/30/KILL/5 -n $DAEMON + status=$? + if [ "$status" -eq 0 ]; then + rm -f "$PIDFILE" + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +restart() +{ + stop + sleep 1 + start +} + +case "$1" in + start|stop|restart) + "$1";; + reload) + restart;; + *) + echo $"Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2022.02.1/package/restorecond/restorecond.hash b/buildroot-2022.02.1/package/restorecond/restorecond.hash new file mode 100644 index 00000000..b38c6dcf --- /dev/null +++ b/buildroot-2022.02.1/package/restorecond/restorecond.hash @@ -0,0 +1,5 @@ +# https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 218c3d8873f31764e3c82d53ac713c0c9faaa07caf42ed7184e93ca2b27d8f27 restorecond-3.3.tar.gz + +# Hash for license file +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2022.02.1/package/restorecond/restorecond.mk b/buildroot-2022.02.1/package/restorecond/restorecond.mk new file mode 100644 index 00000000..7d6ed86f --- /dev/null +++ b/buildroot-2022.02.1/package/restorecond/restorecond.mk @@ -0,0 +1,52 @@ +################################################################################ +# +# restorecond +# +################################################################################ + +RESTORECOND_VERSION = 3.3 +RESTORECOND_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(RESTORECOND_VERSION) +RESTORECOND_LICENSE = GPL-2.0 +RESTORECOND_LICENSE_FILES = COPYING + +RESTORECOND_DEPENDENCIES = libglib2 libsepol libselinux dbus-glib + +# Undefining _FILE_OFFSET_BITS here because of a "bug" with glibc fts.h +# large file support. +# See https://bugzilla.redhat.com/show_bug.cgi?id=574992 for more information +RESTORECOND_MAKE_OPTS += \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -U_FILE_OFFSET_BITS" \ + CPPFLAGS="$(TARGET_CPPFLAGS) -U_FILE_OFFSET_BITS" \ + ARCH="$(BR2_ARCH)" + +# We need to pass DESTDIR at build time because it's used by +# restorecond build system to find headers and libraries. +define RESTORECOND_BUILD_CMDS + $(MAKE) -C $(@D) $(RESTORECOND_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all +endef + +define RESTORECOND_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/restorecond/S02restorecond \ + $(TARGET_DIR)/etc/init.d/S02restorecond +endef + +define RESTORECOND_INSTALL_INIT_SYSTEMD + $(INSTALL) -m 0644 -D $(@D)/restorecond.service \ + $(TARGET_DIR)/usr/lib/systemd/system/restorecond.service + + mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants + ln -fs ../../../../usr/lib/systemd/system/restorecond.service \ + $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/restorecond.service + + $(INSTALL) -m 0600 -D $(@D)/org.selinux.Restorecond.service \ + $(TARGET_DIR)/etc/systemd/system/org.selinux.Restorecond.service +endef + +define RESTORECOND_INSTALL_TARGET_CMDS + $(INSTALL) -m 0644 -D $(@D)/restorecond.conf $(TARGET_DIR)/etc/selinux/restorecond.conf + $(INSTALL) -m 0644 -D $(@D)/restorecond_user.conf $(TARGET_DIR)/etc/selinux/restorecond_user.conf + $(INSTALL) -m 0755 -D $(@D)/restorecond $(TARGET_DIR)/usr/sbin/restorecond +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/rhash/Config.in b/buildroot-2022.02.1/package/rhash/Config.in new file mode 100644 index 00000000..35ccb383 --- /dev/null +++ b/buildroot-2022.02.1/package/rhash/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_RHASH + bool "rhash" + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + help + LibRHash is a professional, portable, thread-safe C library + for computing a wide variety of hash sums, such as CRC32, + MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, Tiger, + DC++ TTH, BitTorrent BTIH, GOST R 34.11-94, RIPEMD-160, + HAS-160, EDON-R, Whirlpool and Snefru. + + https://github.com/rhash/RHash + +if BR2_PACKAGE_RHASH + +config BR2_PACKAGE_RHASH_BIN + bool "rhash binary" + depends on !BR2_STATIC_LIBS + help + Install rhash console utility + +comment "rhash binary needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +endif diff --git a/buildroot-2022.02.1/package/rhash/rhash.hash b/buildroot-2022.02.1/package/rhash/rhash.hash new file mode 100644 index 00000000..e0555af3 --- /dev/null +++ b/buildroot-2022.02.1/package/rhash/rhash.hash @@ -0,0 +1,5 @@ +# From https://sourceforge.net/projects/rhash/files/rhash/1.4.2/ +sha1 fdb0b0c16f3ba3eba734b3adf9f2fc4c427ff987 rhash-1.4.2-src.tar.gz +# Locally calculated +sha256 600d00f5f91ef04194d50903d3c79412099328c42f28ff43a0bdb777b00bec62 rhash-1.4.2-src.tar.gz +sha256 953e55838353335148c90b5a38a4894292680b1d4c37228ffddddbf18ce54bf5 COPYING diff --git a/buildroot-2022.02.1/package/rhash/rhash.mk b/buildroot-2022.02.1/package/rhash/rhash.mk new file mode 100644 index 00000000..02af0aa5 --- /dev/null +++ b/buildroot-2022.02.1/package/rhash/rhash.mk @@ -0,0 +1,74 @@ +################################################################################ +# +# rhash +# +################################################################################ + +RHASH_VERSION = 1.4.2 +RHASH_SOURCE = rhash-$(RHASH_VERSION)-src.tar.gz +RHASH_SITE = https://sourceforge.net/projects/rhash/files/rhash/$(RHASH_VERSION) +RHASH_LICENSE = 0BSD +RHASH_LICENSE_FILES = COPYING +RHASH_CPE_ID_VENDOR = rhash_project +RHASH_INSTALL_STAGING = YES +RHASH_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) +RHASH_ADDLDFLAGS = $(TARGET_NLS_LIBS) + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +RHASH_CONF_OPTS += --enable-gettext +else +RHASH_CONF_OPTS += --disable-gettext +endif + +ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx) +RHASH_CONF_OPTS += --enable-openssl +RHASH_DEPENDENCIES += openssl +else +RHASH_CONF_OPTS += --disable-openssl +endif + +define RHASH_CONFIGURE_CMDS + (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure \ + --prefix=/usr \ + --cc=$(TARGET_CC) \ + --target=$(GNU_TARGET_NAME) \ + $(RHASH_CONF_OPTS) \ + ) +endef + +ifeq ($(BR2_SHARED_LIBS),y) +RHASH_BUILD_TARGETS = lib-shared build-shared +RHASH_INSTALL_TARGETS = install-lib-shared install-so-link +else ifeq ($(BR2_STATIC_LIBS),y) +RHASH_BUILD_TARGETS = lib-static +RHASH_INSTALL_TARGETS = install-lib-static +else +RHASH_BUILD_TARGETS = lib-static lib-shared build-shared +RHASH_INSTALL_TARGETS = install-lib-static install-lib-shared install-so-link +endif + +define RHASH_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(RHASH_MAKE_OPTS) $(RHASH_BUILD_TARGETS) +endef + +define RHASH_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/librhash \ + DESTDIR="$(STAGING_DIR)" $(RHASH_MAKE_OPTS) $(RHASH_INSTALL_TARGETS) \ + install-lib-headers +endef + +ifeq ($(BR2_PACKAGE_RHASH_BIN),y) +define RHASH_INSTALL_TARGET_RHASH_BIN + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + DESTDIR="$(TARGET_DIR)" $(RHASH_MAKE_OPTS) build-install-binary +endef +endif + +define RHASH_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)/librhash \ + DESTDIR="$(TARGET_DIR)" $(RHASH_MAKE_OPTS) $(RHASH_INSTALL_TARGETS) + $(RHASH_INSTALL_TARGET_RHASH_BIN) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/riemann-c-client/Config.in b/buildroot-2022.02.1/package/riemann-c-client/Config.in similarity index 100% rename from buildroot-2021.05/package/riemann-c-client/Config.in rename to buildroot-2022.02.1/package/riemann-c-client/Config.in diff --git a/buildroot-2021.05/package/riemann-c-client/riemann-c-client.hash b/buildroot-2022.02.1/package/riemann-c-client/riemann-c-client.hash similarity index 100% rename from buildroot-2021.05/package/riemann-c-client/riemann-c-client.hash rename to buildroot-2022.02.1/package/riemann-c-client/riemann-c-client.hash diff --git a/buildroot-2021.05/package/riemann-c-client/riemann-c-client.mk b/buildroot-2022.02.1/package/riemann-c-client/riemann-c-client.mk similarity index 100% rename from buildroot-2021.05/package/riemann-c-client/riemann-c-client.mk rename to buildroot-2022.02.1/package/riemann-c-client/riemann-c-client.mk diff --git a/buildroot-2021.05/package/rings/Config.in b/buildroot-2022.02.1/package/rings/Config.in similarity index 100% rename from buildroot-2021.05/package/rings/Config.in rename to buildroot-2022.02.1/package/rings/Config.in diff --git a/buildroot-2021.05/package/rings/rings.hash b/buildroot-2022.02.1/package/rings/rings.hash similarity index 100% rename from buildroot-2021.05/package/rings/rings.hash rename to buildroot-2022.02.1/package/rings/rings.hash diff --git a/buildroot-2021.05/package/rings/rings.mk b/buildroot-2022.02.1/package/rings/rings.mk similarity index 100% rename from buildroot-2021.05/package/rings/rings.mk rename to buildroot-2022.02.1/package/rings/rings.mk diff --git a/buildroot-2022.02.1/package/ripgrep/0001-puts-jemalloc-allocator-behind-a-cargo-feature-flag.patch b/buildroot-2022.02.1/package/ripgrep/0001-puts-jemalloc-allocator-behind-a-cargo-feature-flag.patch new file mode 100644 index 00000000..e2ba68f3 --- /dev/null +++ b/buildroot-2022.02.1/package/ripgrep/0001-puts-jemalloc-allocator-behind-a-cargo-feature-flag.patch @@ -0,0 +1,131 @@ +From 68c2a4d7a5d9b46f65121958fdb12d5270bfd1b6 Mon Sep 17 00:00:00 2001 +From: Jonathan Stites +Date: Wed, 6 May 2020 12:55:35 +0000 +Subject: [PATCH] puts jemalloc allocator behind a cargo feature flag + +Retrieved from: https://github.com/BurntSushi/ripgrep/pull/1569 + +Moves jemalloc behind a feature for musl builds, where it is not +supported by the upstream project, so ripgrep will fail to build. + +Signed-off-by: Sam Voss +--- + .github/workflows/ci.yml | 6 ++++++ + .github/workflows/release.yml | 8 +++++++- + Cargo.toml | 8 +++++++- + README.md | 9 +++++++++ + crates/core/main.rs | 8 ++++++-- + 5 files changed, 35 insertions(+), 4 deletions(-) + +diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml +index ab154ec..aa567d9 100644 +--- a/.github/workflows/ci.yml ++++ b/.github/workflows/ci.yml +@@ -149,6 +149,12 @@ jobs: + if: matrix.target != '' + run: ${{ env.CARGO }} test --verbose --workspace ${{ env.TARGET_FLAGS }} + ++ - name: Run tests with jemalloc (Musl) ++ # We only use the jemalloc allocator when building with musl. ++ # The system allocator is good enough for other platforms. ++ if: matrix.os == 'nightly-musl' ++ run: ${{ env.CARGO }} test --verbose --all --features jemalloc ${{ env.TARGET_FLAGS }} ++ + - name: Test for existence of build artifacts (Windows) + if: matrix.os == 'windows-2019' + shell: bash +diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml +index 7cfb6a4..ad6b82d 100644 +--- a/.github/workflows/release.yml ++++ b/.github/workflows/release.yml +@@ -133,7 +133,13 @@ jobs: + echo "target flag is: ${{ env.TARGET_FLAGS }}" + echo "target dir is: ${{ env.TARGET_DIR }}" + +- - name: Build release binary ++ - name: Build release binary (linux) ++ if: matrix.build == 'linux' ++ # Use jemalloc allocator for much better performance over the musl default allocator ++ run: ${{ env.CARGO }} build --verbose --release --features "pcre2 jemalloc" ${{ env.TARGET_FLAGS }} ++ ++ - name: Build release binary (non-linux) ++ if: matrix.build != 'linux' + run: ${{ env.CARGO }} build --verbose --release --features pcre2 ${{ env.TARGET_FLAGS }} + + - name: Strip release binary (linux and macos) +diff --git a/Cargo.toml b/Cargo.toml +index fb78fcb..0d34b1e 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -56,8 +56,9 @@ version = "2.33.0" + default-features = false + features = ["suggestions"] + +-[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator] ++[dependencies.jemallocator] + version = "0.3.0" ++optional = true + + [build-dependencies] + lazy_static = "1.1.0" +@@ -75,6 +76,11 @@ walkdir = "2" + [features] + simd-accel = ["grep/simd-accel"] + pcre2 = ["grep/pcre2"] ++# The jemalloc allocator is used for improved ++# performance on x86 musl builds. ++# Cargo does not yet support platform-specific features ++# https://github.com/rust-lang/cargo/issues/1197 ++jemalloc = ["jemallocator"] + + [profile.release] + debug = 1 +diff --git a/README.md b/README.md +index 46938bc..9917b29 100644 +--- a/README.md ++++ b/README.md +@@ -406,6 +406,15 @@ build a static executable with MUSL and with PCRE2, then you will need to have + `musl-gcc` installed, which might be in a separate package from the actual + MUSL library, depending on your Linux distribution. + ++When building with the MUSL target on Linux, it is recommended to use the ++jemalloc allocator for performance: ++ ++``` ++$ rustup target add x86_64-unknown-linux-musl ++$ cargo build --release --target x86_64-unknown-linux-musl --features jemalloc ++``` ++ ++ + + ### Running tests + +diff --git a/crates/core/main.rs b/crates/core/main.rs +index 47385de..c9dae5a 100644 +--- a/crates/core/main.rs ++++ b/crates/core/main.rs +@@ -31,7 +31,7 @@ mod subject; + // have the fastest version of everything. Its goal is to be small and amenable + // to static compilation.) Even though ripgrep isn't particularly allocation + // heavy, musl's allocator appears to slow down ripgrep quite a bit. Therefore, +-// when building with musl, we use jemalloc. ++// we expose a feature for using jemalloc when building with musl. + // + // We don't unconditionally use jemalloc because it can be nice to use the + // system's default allocator by default. Moreover, jemalloc seems to increase +@@ -39,7 +39,11 @@ mod subject; + // + // Moreover, we only do this on 64-bit systems since jemalloc doesn't support + // i686. +-#[cfg(all(target_env = "musl", target_pointer_width = "64"))] ++#[cfg(all( ++ target_env = "musl", ++ target_pointer_width = "64", ++ feature = "jemalloc" ++))] + #[global_allocator] + static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc; + +-- +2.32.0 + diff --git a/buildroot-2021.05/package/ripgrep/Config.in b/buildroot-2022.02.1/package/ripgrep/Config.in similarity index 100% rename from buildroot-2021.05/package/ripgrep/Config.in rename to buildroot-2022.02.1/package/ripgrep/Config.in diff --git a/buildroot-2022.02.1/package/ripgrep/ripgrep.hash b/buildroot-2022.02.1/package/ripgrep/ripgrep.hash new file mode 100644 index 00000000..cd2dbedf --- /dev/null +++ b/buildroot-2022.02.1/package/ripgrep/ripgrep.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 6f1d4a8b653ce48d59ad777288b1257cbda607db29db19d031b7e622c60526f8 ripgrep-af6b6c543b224d348a8876f0c06245d9ea7929c5.tar.gz +sha256 0f96a83840e146e43c0ec96a22ec1f392e0680e6c1226e6f3ba87e0740af850f LICENSE-MIT diff --git a/buildroot-2022.02.1/package/ripgrep/ripgrep.mk b/buildroot-2022.02.1/package/ripgrep/ripgrep.mk new file mode 100644 index 00000000..d587441c --- /dev/null +++ b/buildroot-2022.02.1/package/ripgrep/ripgrep.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# ripgrep +# +################################################################################ + +# Same as 13.0.0, we use a Git commit hash because the hash of this +# tarball changed when moving to the cargo-package infrastructure, and +# we can't change the hash of existing tarball. Please switch back to +# a Git tag at the next version bump. +RIPGREP_VERSION = af6b6c543b224d348a8876f0c06245d9ea7929c5 +RIPGREP_SITE = $(call github,burntsushi,ripgrep,$(RIPGREP_VERSION)) +RIPGREP_LICENSE = MIT +RIPGREP_LICENSE_FILES = LICENSE-MIT +RIPGREP_CPE_ID_VENDOR = ripgrep_project + +# CVE only impacts ripgrep on Windows +RIPGREP_IGNORE_CVES += CVE-2021-3013 + +$(eval $(cargo-package)) diff --git a/buildroot-2022.02.1/package/riscv-isa-sim/0001-riscv-disable-precompiled-headers.patch b/buildroot-2022.02.1/package/riscv-isa-sim/0001-riscv-disable-precompiled-headers.patch new file mode 100644 index 00000000..461f34e3 --- /dev/null +++ b/buildroot-2022.02.1/package/riscv-isa-sim/0001-riscv-disable-precompiled-headers.patch @@ -0,0 +1,34 @@ +From 980d5143089bf32ef8a6dfdf1bb9e9fe92fa7bf5 Mon Sep 17 00:00:00 2001 +From: Julien Olivain +Date: Sun, 9 Jan 2022 13:38:48 +0100 +Subject: [PATCH] riscv: disable precompiled headers + +While precompiling header, some toolchains fail with the message: + + /path/to/toolchain/bin/ld: /path/to/sysroot/usr/lib/Scrt1.o: in function `_start': + (.text+0x54): undefined reference to `main' + +The patch totally disable precompiled headers. + +Signed-off-by: Julien Olivain +--- + riscv/riscv.mk.in | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/riscv/riscv.mk.in b/riscv/riscv.mk.in +index 2347ce6..4f56eaf 100644 +--- a/riscv/riscv.mk.in ++++ b/riscv/riscv.mk.in +@@ -35,9 +35,6 @@ riscv_hdrs = \ + + riscv_install_hdrs = mmio_plugin.h + +-riscv_precompiled_hdrs = \ +- insn_template.h \ +- + riscv_srcs = \ + processor.cc \ + execute.cc \ +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/riscv-isa-sim/Config.in.host b/buildroot-2022.02.1/package/riscv-isa-sim/Config.in.host new file mode 100644 index 00000000..4ccf6e95 --- /dev/null +++ b/buildroot-2022.02.1/package/riscv-isa-sim/Config.in.host @@ -0,0 +1,13 @@ +config BR2_PACKAGE_HOST_RISCV_ISA_SIM + bool "host riscv-isa-sim" + depends on BR2_HOST_GCC_AT_LEAST_4_9 # C++11 + help + Spike, the RISC-V ISA Simulator, implements a functional + model of one or more RISC-V harts. + + The host package provides an alternative solution to qemu. + + https://github.com/riscv-software-src/riscv-isa-sim + +comment "host riscv-isa-sim needs host gcc >= 4.9" + depends on !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/riscv-isa-sim/riscv-isa-sim.hash b/buildroot-2022.02.1/package/riscv-isa-sim/riscv-isa-sim.hash new file mode 100644 index 00000000..d787a03e --- /dev/null +++ b/buildroot-2022.02.1/package/riscv-isa-sim/riscv-isa-sim.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 9b29c220fed1e867e3bea4b5c565f2629237d525a4d9fe1668699c4406003a1f riscv-isa-sim-1.1.0.tar.gz +sha256 c65e436d18972c9c4bd192494fe4870bd2e158179474975b80a3559f27631632 LICENSE diff --git a/buildroot-2022.02.1/package/riscv-isa-sim/riscv-isa-sim.mk b/buildroot-2022.02.1/package/riscv-isa-sim/riscv-isa-sim.mk new file mode 100644 index 00000000..90eed93c --- /dev/null +++ b/buildroot-2022.02.1/package/riscv-isa-sim/riscv-isa-sim.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# riscv-isa-sim +# +################################################################################ + +RISCV_ISA_SIM_VERSION = 1.1.0 +RISCV_ISA_SIM_SITE = $(call github,riscv-software-src,riscv-isa-sim,v$(RISCV_ISA_SIM_VERSION)) +RISCV_ISA_SIM_LICENSE = BSD-3-Clause +RISCV_ISA_SIM_LICENSE_FILES = LICENSE +HOST_RISCV_ISA_SIM_DEPENDENCIES = host-boost host-dtc +HOST_RISCV_ISA_SIM_CONF_OPTS = --with-boost=$(HOST_DIR) + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/riscv64-elf-toolchain/riscv64-elf-toolchain.mk b/buildroot-2022.02.1/package/riscv64-elf-toolchain/riscv64-elf-toolchain.mk similarity index 100% rename from buildroot-2021.05/package/riscv64-elf-toolchain/riscv64-elf-toolchain.mk rename to buildroot-2022.02.1/package/riscv64-elf-toolchain/riscv64-elf-toolchain.mk diff --git a/buildroot-2022.02.1/package/rng-tools/0001-Adding-ability-to-detect-non-posix-extensions-for-pthreads.patch b/buildroot-2022.02.1/package/rng-tools/0001-Adding-ability-to-detect-non-posix-extensions-for-pthreads.patch new file mode 100644 index 00000000..ba6cf63d --- /dev/null +++ b/buildroot-2022.02.1/package/rng-tools/0001-Adding-ability-to-detect-non-posix-extensions-for-pthreads.patch @@ -0,0 +1,43 @@ +From d1840e54a15fc454936cada10cce7fd91d06232b Mon Sep 17 00:00:00 2001 +From: Neil Horman +Date: Thu, 15 Jul 2021 08:43:01 -0400 +Subject: [PATCH] Adding ability to detect non-posix extensions for pthreads + +Theres a desire to build rngd with musl, which doesn't have all the gnu +extensions (but it has some). So test for those. Note, this requires +the addition of the USE_EXTENSIONS macro to enable -d_GNU_SOURCE + +Signed-off-by: Neil Horman + +[Retrieved from: +https://github.com/nhorman/rng-tools/commit/d1840e54a15fc454936cada10cce7fd91d06232b] +Signed-off-by: Fabrice Fontaine +--- + configure.ac | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 0fe06fc..de7dca3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -25,6 +25,7 @@ AC_CANONICAL_TARGET dnl required for broken AX_PTHREAD + AM_INIT_AUTOMAKE([foreign]) + AC_CONFIG_HEADERS([rng-tools-config.h]) + AC_CONFIG_MACRO_DIRS([m4]) ++AC_USE_SYSTEM_EXTENSIONS + + dnl Parse options + +@@ -100,6 +101,12 @@ AS_IF( + ], [AC_MSG_NOTICE([Disabling JITTER entropy source])] + ) + ++AC_CHECK_DECL(pthread_attr_setaffinity_np, ++ [AC_DEFINE([HAVE_PTHREAD_ATTR_SETAFFINITY], 1,[Set ATTR_SETAFFINITY])], ++ [ AC_CHECK_DECL(pthread_setaffinity_np, ++ [AC_DEFINE([HAVE_PTHREAD_SETAFFINITY],1, [Set PTHREAD_SETAFFINITY])], [ AC_MSG_ERROR([Neither pthread_setaffinity_np nor pthread_attr_setaffinity_np found])],[[#include ]]) ++ ], [[#include ]]) ++ + AS_IF( + [ test "x$with_nistbeacon" != "xno"], + [ diff --git a/buildroot-2022.02.1/package/rng-tools/0002-Allow-for-use-of-either-pthread-affinity-set-methods.patch b/buildroot-2022.02.1/package/rng-tools/0002-Allow-for-use-of-either-pthread-affinity-set-methods.patch new file mode 100644 index 00000000..17285baa --- /dev/null +++ b/buildroot-2022.02.1/package/rng-tools/0002-Allow-for-use-of-either-pthread-affinity-set-methods.patch @@ -0,0 +1,49 @@ +From 5caa086dc14cecf68d1a5c31e87ba1efb2c00893 Mon Sep 17 00:00:00 2001 +From: Neil Horman +Date: Thu, 15 Jul 2021 08:48:10 -0400 +Subject: [PATCH] Allow for use of either pthread affinity set methods + +musl has support for pthread_setaffinity_np, but not +pthread_attr_setaffinity_np. so check for hte existence of either +function in configure, and use the appropriate one. + +Signed-off-by: Neil Horman + +[Retrieved from: +https://github.com/nhorman/rng-tools/commit/5caa086dc14cecf68d1a5c31e87ba1efb2c00893] +Signed-off-by: Fabrice Fontaine +--- + rngd_jitter.c | 15 ++++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/rngd_jitter.c b/rngd_jitter.c +index ea29436..5c7e09e 100644 +--- a/rngd_jitter.c ++++ b/rngd_jitter.c +@@ -67,12 +67,25 @@ static int rngd_notime_start(void *ctx, + for(i=i-1;i>=0;i--) { + CPU_SET(i,cpus); + } +- pthread_attr_setaffinity_np(&thread_ctx->notime_pthread_attr, cpusize, cpus); + ++ /* ++ * Note that only one of: ++ * HAVE_PTHREAD_ATTR_SETAFFINITY ++ * and ++ * HAVE_PTHREAD_SETAFFINITY ++ * Will ever be set, as per the configure.ac logic ++ */ ++#ifdef HAVE_PTHREAD_ATTR_SETAFFINITY ++ pthread_attr_setaffinity_np(&thread_ctx->notime_pthread_attr, cpusize, cpus); ++#endif + ret = -pthread_create(&thread_ctx->notime_thread_id, + &thread_ctx->notime_pthread_attr, + start_routine, arg); + ++#ifdef HAVE_PTHREAD_SETAFFINITY ++ pthread_setaffinity_np(&thread_ctx->notime_thread_id, cpusize, cpus); ++#endif ++ + CPU_FREE(cpus); + return ret; + } diff --git a/buildroot-2021.05/package/rng-tools/Config.in b/buildroot-2022.02.1/package/rng-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/rng-tools/Config.in rename to buildroot-2022.02.1/package/rng-tools/Config.in diff --git a/buildroot-2021.05/package/rng-tools/S21rngd b/buildroot-2022.02.1/package/rng-tools/S21rngd similarity index 100% rename from buildroot-2021.05/package/rng-tools/S21rngd rename to buildroot-2022.02.1/package/rng-tools/S21rngd diff --git a/buildroot-2022.02.1/package/rng-tools/rng-tools.hash b/buildroot-2022.02.1/package/rng-tools/rng-tools.hash new file mode 100644 index 00000000..6806a99f --- /dev/null +++ b/buildroot-2022.02.1/package/rng-tools/rng-tools.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 4dd86f6ae37d917a8489f44070d39d7feddcc622429b95efd7aa85a1f3cfdf81 rng-tools-6.14.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/rng-tools/rng-tools.mk b/buildroot-2022.02.1/package/rng-tools/rng-tools.mk new file mode 100644 index 00000000..8db97569 --- /dev/null +++ b/buildroot-2022.02.1/package/rng-tools/rng-tools.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# rng-tools +# +################################################################################ + +RNG_TOOLS_VERSION = 6.14 +RNG_TOOLS_SITE = $(call github,nhorman,$(RNG_TOOLS_NAME),v$(RNG_TOOLS_VERSION)) +RNG_TOOLS_LICENSE = GPL-2.0 +RNG_TOOLS_LICENSE_FILES = COPYING +RNG_TOOLS_CPE_ID_VENDOR = rng-tools_project +RNG_TOOLS_SELINUX_MODULES = rngd + +RNG_TOOLS_DEPENDENCIES = host-pkgconf openssl +# From git +RNG_TOOLS_AUTORECONF = YES + +RNG_TOOLS_CONF_OPTS = --without-pkcs11 + +# Work around for uClibc or musl toolchains which lack argp_*() +# functions. +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +RNG_TOOLS_CONF_ENV += LIBS="-largp" +RNG_TOOLS_DEPENDENCIES += argp-standalone +endif + +ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) +RNG_TOOLS_DEPENDENCIES += librtlsdr +RNG_TOOLS_CONF_OPTS += --with-rtlsdr +else +RNG_TOOLS_CONF_OPTS += --without-rtlsdr +endif + +ifeq ($(BR2_PACKAGE_RNG_TOOLS_JITTERENTROPY_LIBRARY),y) +RNG_TOOLS_DEPENDENCIES += jitterentropy-library +RNG_TOOLS_CONF_OPTS += --enable-jitterentropy +else +RNG_TOOLS_CONF_OPTS += --disable-jitterentropy +endif + +ifeq ($(BR2_PACKAGE_RNG_TOOLS_NISTBEACON),y) +RNG_TOOLS_DEPENDENCIES += jansson libcurl libxml2 +RNG_TOOLS_CONF_OPTS += --with-nistbeacon +else +RNG_TOOLS_CONF_OPTS += --without-nistbeacon +endif + +define RNG_TOOLS_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/rng-tools/S21rngd \ + $(TARGET_DIR)/etc/init.d/S21rngd +endef + +define RNG_TOOLS_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/rng-tools/rngd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/rngd.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rng-tools/rngd.service b/buildroot-2022.02.1/package/rng-tools/rngd.service similarity index 100% rename from buildroot-2021.05/package/rng-tools/rngd.service rename to buildroot-2022.02.1/package/rng-tools/rngd.service diff --git a/buildroot-2022.02.1/package/rockchip-mali/Config.in b/buildroot-2022.02.1/package/rockchip-mali/Config.in new file mode 100644 index 00000000..2a8cd786 --- /dev/null +++ b/buildroot-2022.02.1/package/rockchip-mali/Config.in @@ -0,0 +1,32 @@ +config BR2_PACKAGE_ROCKCHIP_MALI + bool "rockchip-mali" + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_ARM_EABIHF || BR2_aarch64 + # lidbrm. This would normally need a Config.in comment, but + # these blobs are linked against glibc, so we are sure to have + # thread support, so don't bother. + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_HAS_LIBGLES + select BR2_PACKAGE_HAS_LIBGBM + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_MALI_DRIVER if BR2_LINUX_KERNEL + help + Install the binary user-space libraries for the ARM Mali GPU + suitable for Rockchip platforrms. This package requires a + kernel with the ARM Mali GPU kernel driver enabled, as found + in the 'mali-driver' package. + +if BR2_PACKAGE_ROCKCHIP_MALI + +config BR2_PACKAGE_PROVIDES_LIBEGL + default "rockchip-mali" + +config BR2_PACKAGE_PROVIDES_LIBGLES + default "rockchip-mali" + +config BR2_PACKAGE_PROVIDES_LIBGBM + default "rockchip-mali" + +endif diff --git a/buildroot-2022.02.1/package/rockchip-mali/rockchip-mali.hash b/buildroot-2022.02.1/package/rockchip-mali/rockchip-mali.hash new file mode 100644 index 00000000..38efcb30 --- /dev/null +++ b/buildroot-2022.02.1/package/rockchip-mali/rockchip-mali.hash @@ -0,0 +1,2 @@ +sha256 ee440d859e9d7dfdf29b9a00c7a633337913c407be567d3651c29c12eb75fd9c rockchip-mali-721653b5b3b525a4f80d15aa7e2f9df7b7e60427.tar.gz +sha256 a78acc73de9909efb879800d4daa4640c4aaa55cd751238a133954aba15e4285 END_USER_LICENCE_AGREEMENT.txt diff --git a/buildroot-2022.02.1/package/rockchip-mali/rockchip-mali.mk b/buildroot-2022.02.1/package/rockchip-mali/rockchip-mali.mk new file mode 100644 index 00000000..6200191a --- /dev/null +++ b/buildroot-2022.02.1/package/rockchip-mali/rockchip-mali.mk @@ -0,0 +1,77 @@ +################################################################################ +# +# rockchip-mali +# +################################################################################ + +ROCKCHIP_MALI_VERSION = 721653b5b3b525a4f80d15aa7e2f9df7b7e60427 +ROCKCHIP_MALI_SITE = $(call github,rockchip-linux,libmali,$(ROCKCHIP_MALI_VERSION)) +ROCKCHIP_MALI_LICENSE = Proprietary +ROCKCHIP_MALI_LICENSE_FILES = END_USER_LICENCE_AGREEMENT.txt +ROCKCHIP_MALI_INSTALL_STAGING = YES +ROCKCHIP_MALI_DEPENDENCIES = host-patchelf libdrm +ROCKCHIP_MALI_PROVIDES = libegl libgles libgbm + +ROCKCHIP_MALI_LIB = libmali-bifrost-g31-rxp0$(ROCKCHIP_MALI_SUFFIX).so +ROCKCHIP_MALI_PKGCONFIG_FILES = egl gbm glesv2 mali +ROCKCHIP_MALI_ARCH_DIR = $(if $(BR2_arm),arm-linux-gnueabihf,aarch64-linux-gnu) +ROCKCHIP_MALI_HEADERS = EGL FBDEV GLES GLES2 GLES3 KHR gbm.h + +# We need to create: +# - The symlink that matches the library SONAME (libmali.so.1) +# - The .so symlinks needed at compile time by the compiler (*.so) +ROCKCHIP_MALI_LIB_SYMLINKS = \ + libmali.so.1 \ + libMali.so \ + libEGL.so \ + libgbm.so \ + libGLESv1_CM.so \ + libGLESv2.so + +ifeq ($(BR2_PACKAGE_WAYLAND),y) +ROCKCHIP_MALI_SUFFIX = -wayland-gbm +ROCKCHIP_MALI_PKGCONFIG_FILES += wayland-egl +ROCKCHIP_MALI_LIB_SYMLINKS += libwayland-egl.so +ROCKCHIP_MALI_DEPENDENCIES += wayland +else +ROCKCHIP_MALI_SUFFIX = -gbm +endif + +define ROCKCHIP_MALI_INSTALL_CMDS +# Install the library + $(INSTALL) -D -m 0755 \ + $(@D)/lib/$(ROCKCHIP_MALI_ARCH_DIR)/$(ROCKCHIP_MALI_LIB) \ + $(1)/usr/lib/$(ROCKCHIP_MALI_LIB) + +# Ensure it has a proper soname + $(HOST_DIR)/bin/patchelf --set-soname libmali.so.1 \ + $(1)/usr/lib/$(ROCKCHIP_MALI_LIB) + +# Generate and install the .pc files + mkdir -p $(1)/usr/lib/pkgconfig + $(foreach pkgconfig,$(ROCKCHIP_MALI_PKGCONFIG_FILES), \ + sed -e 's%@CMAKE_INSTALL_LIBDIR@%lib%;s%@CMAKE_INSTALL_INCLUDEDIR@%include%' \ + $(@D)/pkgconfig/$(pkgconfig).pc.cmake > \ + $(1)/usr/lib/pkgconfig/$(pkgconfig).pc + ) + +# Install all headers + $(foreach d,$(ROCKCHIP_MALI_HEADERS), \ + cp -dpfr $(@D)/include/$(d) $(1)/usr/include/ + ) + +# Create symlinks + $(foreach symlink,$(ROCKCHIP_MALI_LIB_SYMLINKS), \ + ln -sf $(ROCKCHIP_MALI_LIB) $(1)/usr/lib/$(symlink) + ) +endef + +define ROCKCHIP_MALI_INSTALL_TARGET_CMDS + $(call ROCKCHIP_MALI_INSTALL_CMDS,$(TARGET_DIR)) +endef + +define ROCKCHIP_MALI_INSTALL_STAGING_CMDS + $(call ROCKCHIP_MALI_INSTALL_CMDS,$(STAGING_DIR)) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch b/buildroot-2022.02.1/package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch similarity index 100% rename from buildroot-2021.05/package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch rename to buildroot-2022.02.1/package/rocksdb/0001-build_tools-build_detect_platform-fix-C-tests.patch diff --git a/buildroot-2021.05/package/rocksdb/Config.in b/buildroot-2022.02.1/package/rocksdb/Config.in similarity index 100% rename from buildroot-2021.05/package/rocksdb/Config.in rename to buildroot-2022.02.1/package/rocksdb/Config.in diff --git a/buildroot-2021.05/package/rocksdb/rocksdb.hash b/buildroot-2022.02.1/package/rocksdb/rocksdb.hash similarity index 100% rename from buildroot-2021.05/package/rocksdb/rocksdb.hash rename to buildroot-2022.02.1/package/rocksdb/rocksdb.hash diff --git a/buildroot-2021.05/package/rocksdb/rocksdb.mk b/buildroot-2022.02.1/package/rocksdb/rocksdb.mk similarity index 100% rename from buildroot-2021.05/package/rocksdb/rocksdb.mk rename to buildroot-2022.02.1/package/rocksdb/rocksdb.mk diff --git a/buildroot-2022.02.1/package/rp-pppoe/0001-src-pppoe.h-fix-build-with-musl-libc.patch b/buildroot-2022.02.1/package/rp-pppoe/0001-src-pppoe.h-fix-build-with-musl-libc.patch new file mode 100644 index 00000000..29ba72be --- /dev/null +++ b/buildroot-2022.02.1/package/rp-pppoe/0001-src-pppoe.h-fix-build-with-musl-libc.patch @@ -0,0 +1,60 @@ +From bbf5b2759cff0c65b47fd6dbe5fe7341f205ad03 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 11 Dec 2021 22:03:16 +0100 +Subject: [PATCH] src/pppoe.h: fix build with musl libc + +musl libc defines its own struct ethhdr that conflicts with the kernel +define one. The kernel headers provide a way to suppress its struct +ethhdr. For that to work the libc headers must precede the kernel. Move +the kernel linux/if_ether.h include below libc netinet/if_ether.h. That +fixes the following build failure: + +In file included from pppoe.h:133, + from debug.c:19: +/home/giuliobenetti/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/netinet/if_ether.h:116:8: error: redefinition of 'struct ethhdr' + 116 | struct ethhdr { + | ^~~~~~ +In file included from pppoe.h:121, + from debug.c:19: +/home/giuliobenetti/autobuild/run/instance-0/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/linux/if_ether.h:163:8: note: originally defined here + 163 | struct ethhdr { + | ^~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/ccca18fcbcde65cb6784f5559eac68ca17ab14a3 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/dfskoll/rp-pppoe/pull/4] +--- + src/pppoe.h | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/pppoe.h b/src/pppoe.h +index 4780092..2b08111 100644 +--- a/src/pppoe.h ++++ b/src/pppoe.h +@@ -117,10 +117,6 @@ typedef unsigned long UINT32_t; + #error Could not find a 32-bit integer type + #endif + +-#ifdef HAVE_LINUX_IF_ETHER_H +-#include +-#endif +- + #include + + #ifdef HAVE_NETINET_IF_ETHER_H +@@ -134,6 +130,10 @@ typedef unsigned long UINT32_t; + #endif + #endif + ++#ifdef HAVE_LINUX_IF_ETHER_H ++#include ++#endif ++ + + + /* Ethernet frame types according to RFC 2516 */ +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/rp-pppoe/Config.in b/buildroot-2022.02.1/package/rp-pppoe/Config.in new file mode 100644 index 00000000..2ac81cbb --- /dev/null +++ b/buildroot-2022.02.1/package/rp-pppoe/Config.in @@ -0,0 +1,18 @@ +comment "rp-pppoe needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + depends on BR2_USE_MMU + +config BR2_PACKAGE_RP_PPPOE + bool "rp-pppoe" + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_PPPD + help + An implementation of the Point-to-point protocol over + Ethernet. Has userspace client and server deamons. You + likely only need this package if you are implementing the + pppoe server that will service other pppoe client + devices. Otherwise the normal client functionality already + exists in the pppd package (and kernel). + + https://dianne.skoll.ca/projects/rp-pppoe/ diff --git a/buildroot-2022.02.1/package/rp-pppoe/rp-pppoe.hash b/buildroot-2022.02.1/package/rp-pppoe/rp-pppoe.hash new file mode 100644 index 00000000..c883322d --- /dev/null +++ b/buildroot-2022.02.1/package/rp-pppoe/rp-pppoe.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 b1f318bc7e4e5b0fd8a8e23e8803f5e6e43165245a5a10a7162a92a6cf17829a rp-pppoe-3.15.tar.gz +# Locally computed +sha256 464006ba771074f4022db14f58a29a0b447b6fdde9529cf0331be396b6279162 doc/LICENSE diff --git a/buildroot-2022.02.1/package/rp-pppoe/rp-pppoe.mk b/buildroot-2022.02.1/package/rp-pppoe/rp-pppoe.mk new file mode 100644 index 00000000..698894fd --- /dev/null +++ b/buildroot-2022.02.1/package/rp-pppoe/rp-pppoe.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# rp-pppoe +# +################################################################################ + +RP_PPPOE_VERSION = 3.15 +RP_PPPOE_SITE = https://dianne.skoll.ca/projects/rp-pppoe/download +RP_PPPOE_LICENSE = GPL-2.0 +RP_PPPOE_LICENSE_FILES = doc/LICENSE +RP_PPPOE_CPE_ID_VENDOR = rp-pppoe_project + +RP_PPPOE_DEPENDENCIES = pppd +RP_PPPOE_SUBDIR = src +RP_PPPOE_TARGET_FILES = pppoe pppoe-server pppoe-relay pppoe-sniff +RP_PPPOE_TARGET_SCRIPTS = pppoe-connect pppoe-init pppoe-setup pppoe-start \ + pppoe-status pppoe-stop +RP_PPPOE_MAKE_OPTS = PLUGIN_DIR=/usr/lib/pppd/$(PPPD_VERSION) +RP_PPPOE_CONF_OPTS = --disable-debugging + +# The pppd, echo, setsid and id paths must be the ones on the +# target. Indeed, the result of these checks is used to replace +# variables in scripts that are installed in the target. +RP_PPPOE_CONF_ENV = \ + rpppoe_cv_pack_bitfields=normal \ + ac_cv_path_PPPD=/usr/sbin/pppd \ + ac_cv_path_ECHO=/bin/echo \ + ac_cv_path_SETSID=/usr/bin/setsid \ + ac_cv_path_ID=/usr/bin/id \ + PPPD_H=$(PPPD_DIR)/pppd/pppd.h + +define RP_PPPOE_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0644 $(@D)/configs/pppoe.conf \ + $(TARGET_DIR)/etc/ppp/pppoe.conf + for ff in $(RP_PPPOE_TARGET_FILES); do \ + $(INSTALL) -m 0755 $(@D)/src/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \ + done + for ff in $(RP_PPPOE_TARGET_SCRIPTS); do \ + $(INSTALL) -m 0755 $(@D)/scripts/$$ff $(TARGET_DIR)/usr/sbin/$$ff || exit 1; \ + done +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/rpcbind/0001-Remove-yellow-pages-support.patch b/buildroot-2022.02.1/package/rpcbind/0001-Remove-yellow-pages-support.patch new file mode 100644 index 00000000..694f1ac9 --- /dev/null +++ b/buildroot-2022.02.1/package/rpcbind/0001-Remove-yellow-pages-support.patch @@ -0,0 +1,48 @@ +From 226b9c57ff403b407dbf1ff8a615da455a4cbd23 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 10 Nov 2012 22:03:43 +0100 +Subject: [PATCH] Remove yellow pages support + +This support requires yellow pages support in libtirpc, which isn't +available. As most Buildroot users are most likely never going to need +such feature, get rid of it. + +Signed-off-by: Thomas Petazzoni +[ rebased for 1.2.6 ] +Signed-off-by: Petr Vorel +--- + src/security.c | 15 --------------- + 1 file changed, 15 deletions(-) + +diff --git a/src/security.c b/src/security.c +index 38967dd..0a70635 100644 +--- a/src/security.c ++++ b/src/security.c +@@ -318,24 +318,9 @@ check_callit(SVCXPRT *xprt, struct r_rmtcall_args *args, int versnum /*__unused* + args->rmt_proc != MOUNTPROC_UMNT) + break; + goto deny; +- case YPBINDPROG: +- if (args->rmt_proc != YPBINDPROC_SETDOM) +- break; +- /* FALLTHROUGH */ +- case YPPASSWDPROG: + case NFS_PROGRAM: + case RQUOTAPROG: + goto deny; +- case YPPROG: +- switch (args->rmt_proc) { +- case YPPROC_ALL: +- case YPPROC_MATCH: +- case YPPROC_FIRST: +- case YPPROC_NEXT: +- goto deny; +- default: +- break; +- } + default: + break; + } +-- +2.31.1 + diff --git a/buildroot-2021.05/package/rpcbind/Config.in b/buildroot-2022.02.1/package/rpcbind/Config.in similarity index 100% rename from buildroot-2021.05/package/rpcbind/Config.in rename to buildroot-2022.02.1/package/rpcbind/Config.in diff --git a/buildroot-2021.05/package/rpcbind/S30rpcbind b/buildroot-2022.02.1/package/rpcbind/S30rpcbind similarity index 100% rename from buildroot-2021.05/package/rpcbind/S30rpcbind rename to buildroot-2022.02.1/package/rpcbind/S30rpcbind diff --git a/buildroot-2022.02.1/package/rpcbind/rpcbind.hash b/buildroot-2022.02.1/package/rpcbind/rpcbind.hash new file mode 100644 index 00000000..6ab7d892 --- /dev/null +++ b/buildroot-2022.02.1/package/rpcbind/rpcbind.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 5613746489cae5ae23a443bb85c05a11741a5f12c8f55d2bb5e83b9defeee8de rpcbind-1.2.6.tar.bz2 +sha256 2b9477d2f4ab277b29702958f0058546edc120aae4b5fb8b8d1a9652104e1ba3 COPYING diff --git a/buildroot-2022.02.1/package/rpcbind/rpcbind.mk b/buildroot-2022.02.1/package/rpcbind/rpcbind.mk new file mode 100644 index 00000000..2eee1167 --- /dev/null +++ b/buildroot-2022.02.1/package/rpcbind/rpcbind.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# rpcbind +# +################################################################################ + +RPCBIND_VERSION = 1.2.6 +RPCBIND_SITE = http://downloads.sourceforge.net/project/rpcbind/rpcbind/$(RPCBIND_VERSION) +RPCBIND_SOURCE = rpcbind-$(RPCBIND_VERSION).tar.bz2 +RPCBIND_LICENSE = BSD-3-Clause +RPCBIND_LICENSE_FILES = COPYING +RPCBIND_CPE_ID_VENDOR = rpcbind_project +RPCBIND_SELINUX_MODULES = rpcbind + +RPCBIND_CONF_ENV += \ + CFLAGS="$(TARGET_CFLAGS) `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc`" +RPCBIND_DEPENDENCIES += libtirpc host-pkgconf +RPCBIND_CONF_OPTS += --with-rpcuser=root + +ifeq ($(BR2_INIT_SYSTEMD),y) +RPCBIND_CONF_OPTS += --enable-warmstarts \ + --with-systemdsystemunitdir=/usr/lib/systemd/system +RPCBIND_DEPENDENCIES += systemd +else +RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no +endif + +define RPCBIND_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/rpcbind/S30rpcbind \ + $(TARGET_DIR)/etc/init.d/S30rpcbind +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/rpi-firmware/Config.in b/buildroot-2022.02.1/package/rpi-firmware/Config.in new file mode 100644 index 00000000..8070dc30 --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-firmware/Config.in @@ -0,0 +1,108 @@ +config BR2_PACKAGE_RPI_FIRMWARE + bool "rpi-firmware" + depends on BR2_arm || BR2_aarch64 + help + RaspberryPi Firmware + + Pre-compiled binaries of the current bootloader and GPU + firmware + + https://github.com/raspberrypi/firmware + +if BR2_PACKAGE_RPI_FIRMWARE + +config BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN + bool "rpi 0/1/2/3 bootcode.bin" + help + The bootcode.bin for versions Zero/1/2/3 (not needed on rpi4, + because it has been replaced by boot code in the onboard + EEPROM). + +config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI + bool "rpi 0/1/2/3 (default)" + help + The default set of files for versions Zero/1/2/3. + +config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_X + bool "rpi 0/1/2/3 (extended)" + help + The extended set of files for versions Zero/1/2/3 (additional + GPU features, eg. more audio/video codecs). + +config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_CD + bool "rpi 0/1/2/3 (cut-down)" + help + The cut-down set of files for versions Zero/1/2/3 (only + features required to boot a Linux kernel). + +config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_DB + bool "rpi 0/1/2/3 (debug)" + help + The debug set of files for versions Zero/1/2/3. + +config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4 + bool "rpi 4 (default)" + help + The default set of files for versions 4 (standard GPU + features). + +config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X + bool "rpi 4 (extended)" + help + The extended set of files for versions 4 (additional GPU + features, eg. more audio/video codecs). + +config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD + bool "rpi 4 (cut-down)" + help + The cut-down set of files for versions 4 (only features + required to boot a Linux kernel). + +config BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_DB + bool "rpi 4 (debug)" + help + The debug set of files for versions 4. + +config BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE + string "Path to a file stored as boot/config.txt" + help + Path to a file stored as config.txt in the boot partiton + of the generated SD card image. + +config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS + bool "Install Device Tree Blobs (DTBs)" + default y + depends on !BR2_LINUX_KERNEL_DTS_SUPPORT + help + If you are using a Linux kernel <= 3.18, you should say 'y' + here. + + If you are using a Linux kernel >= 3.19, you should say 'n' + here, and enable BR2_LINUX_KERNEL_DTS_SUPPORT to let the + kernel build the DTB. + +config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS + bool "Install DTB overlays" + default y + depends on BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS \ + || BR2_LINUX_KERNEL_DTS_SUPPORT + select BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT \ + if BR2_LINUX_KERNEL_DTS_SUPPORT + help + Say 'y' here if you need to load one or more of the DTB + overlays, to support HATs (Hardware Attached on Top, add-on + modules). + +config BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG + bool "vcdbg" + depends on BR2_arm # prebuilt arm binary, rpi-userland + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_INSTALL_LIBSTDCPP # rpi-userland + help + Install vcdbg, to help debug communication with the GPU. + +comment "vcdbg needs a glibc toolchain w/ C++" + depends on BR2_arm + depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_INSTALL_LIBSTDCPP + +endif # BR2_PACKAGE_RPI_FIRMWARE diff --git a/buildroot-2021.05/package/rpi-firmware/cmdline.txt b/buildroot-2022.02.1/package/rpi-firmware/cmdline.txt similarity index 100% rename from buildroot-2021.05/package/rpi-firmware/cmdline.txt rename to buildroot-2022.02.1/package/rpi-firmware/cmdline.txt diff --git a/buildroot-2022.02.1/package/rpi-firmware/rpi-firmware.hash b/buildroot-2022.02.1/package/rpi-firmware/rpi-firmware.hash new file mode 100644 index 00000000..ec13115f --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-firmware/rpi-firmware.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 33aea2cb9c3be94c3dd6a96fbb3443eee5af1dc5fc9140e1fadc50832983064e rpi-firmware-3f20b832b27cd730deb6419b570f31a98167eef6.tar.gz +sha256 c7283ff51f863d93a275c66e3b4cb08021a5dd4d8c1e7acc47d872fbe52d3d6b boot/LICENCE.broadcom diff --git a/buildroot-2022.02.1/package/rpi-firmware/rpi-firmware.mk b/buildroot-2022.02.1/package/rpi-firmware/rpi-firmware.mk new file mode 100644 index 00000000..d4d1d07b --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-firmware/rpi-firmware.mk @@ -0,0 +1,89 @@ +################################################################################ +# +# rpi-firmware +# +################################################################################ + +RPI_FIRMWARE_VERSION = 3f20b832b27cd730deb6419b570f31a98167eef6 +RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION)) +RPI_FIRMWARE_LICENSE = BSD-3-Clause +RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom +RPI_FIRMWARE_INSTALL_IMAGES = YES + +RPI_FIRMWARE_FILES = \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN), bootcode.bin) \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI), start.elf fixup.dat) \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_X), start_x.elf fixup_x.dat) \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_CD), start_cd.elf fixup_cd.dat) \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI_DB), start_db.elf fixup_db.dat) \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4), start4.elf fixup4.dat) \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_X), start4x.elf fixup4x.dat) \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_CD), start4cd.elf fixup4cd.dat) \ + $(if $(BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI4_DB), start4db.elf fixup4db.dat) + +define RPI_FIRMWARE_INSTALL_BIN + $(foreach f,$(RPI_FIRMWARE_FILES), \ + $(INSTALL) -D -m 0644 $(@D)/boot/$(f) $(BINARIES_DIR)/rpi-firmware/$(f) + ) +endef + +RPI_FIRMWARE_CONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE)) +ifneq ($(RPI_FIRMWARE_CONFIG_FILE),) +define RPI_FIRMWARE_INSTALL_CONFIG + $(INSTALL) -D -m 0644 $(RPI_FIRMWARE_CONFIG_FILE) \ + $(BINARIES_DIR)/rpi-firmware/config.txt +endef +endif + +ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTBS),y) +define RPI_FIRMWARE_INSTALL_DTB + $(foreach dtb,$(wildcard $(@D)/boot/*.dtb), \ + $(INSTALL) -D -m 0644 $(dtb) $(BINARIES_DIR)/rpi-firmware/$(notdir $(dtb)) + ) +endef +endif + +ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS),y) +define RPI_FIRMWARE_INSTALL_DTB_OVERLAYS + $(foreach ovldtb,$(wildcard $(@D)/boot/overlays/*.dtbo), \ + $(INSTALL) -D -m 0644 $(ovldtb) $(BINARIES_DIR)/rpi-firmware/overlays/$(notdir $(ovldtb)) + ) + $(INSTALL) -D -m 0644 $(@D)/boot/overlays/overlay_map.dtb $(BINARIES_DIR)/rpi-firmware/overlays/ +endef +else +# Still create the directory, so a genimage.cfg can include it independently of +# whether _INSTALL_DTB_OVERLAYS is selected or not. +define RPI_FIRMWARE_INSTALL_DTB_OVERLAYS + $(INSTALL) -d $(BINARIES_DIR)/rpi-firmware/overlays +endef +endif + +# Install prebuilt libraries if RPI_USERLAND not enabled +ifneq ($(BR2_PACKAGE_RPI_USERLAND),y) +define RPI_FIRMWARE_INSTALL_TARGET_LIB + $(INSTALL) -D -m 0644 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/lib/libvcos.so \ + $(TARGET_DIR)/usr/lib/libvcos.so + $(INSTALL) -D -m 0644 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/lib/libdebug_sym.so \ + $(TARGET_DIR)/usr/lib/libdebug_sym.so +endef +endif + +ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_VCDBG),y) +define RPI_FIRMWARE_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0700 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/bin/vcdbg \ + $(TARGET_DIR)/usr/sbin/vcdbg + $(INSTALL) -D -m 0644 $(@D)/$(if BR2_ARM_EABIHF,hardfp/)opt/vc/lib/libelftoolchain.so \ + $(TARGET_DIR)/usr/lib/libelftoolchain.so + $(RPI_FIRMWARE_INSTALL_TARGET_LIB) +endef +endif # INSTALL_VCDBG + +define RPI_FIRMWARE_INSTALL_IMAGES_CMDS + $(INSTALL) -D -m 0644 package/rpi-firmware/cmdline.txt $(BINARIES_DIR)/rpi-firmware/cmdline.txt + $(RPI_FIRMWARE_INSTALL_BIN) + $(RPI_FIRMWARE_INSTALL_CONFIG) + $(RPI_FIRMWARE_INSTALL_DTB) + $(RPI_FIRMWARE_INSTALL_DTB_OVERLAYS) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/rpi-rgb-led-matrix/Config.in b/buildroot-2022.02.1/package/rpi-rgb-led-matrix/Config.in new file mode 100644 index 00000000..ca945a92 --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-rgb-led-matrix/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_RPI_RGB_LED_MATRIX + bool "rpi-rgb-led-matrix" + depends on BR2_aarch64 || BR2_arm + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + help + A library to control commonly available 64x64, 32x32 or 16x32 + RGB LED panels with the Raspberry Pi. Can support PWM up to + 11Bit per channel, providing true 24bpp color with CIE1931 + profile. + + https://github.com/hzeller/rpi-rgb-led-matrix + +if BR2_PACKAGE_RPI_RGB_LED_MATRIX + +config BR2_PACKAGE_RPI_RGB_LED_MATRIX_IMAGE_VIEWER + bool "Build led-image-viewer" + select BR2_PACKAGE_GRAPHICSMAGICK + help + The image viewer reads all kinds of image formats, + including animated gifs. + +config BR2_PACKAGE_RPI_RGB_LED_MATRIX_TEXT_SCROLLER + bool "Build text-scroller" + help + The text scroller allows to show some scrolling text. + +config BR2_PACKAGE_RPI_RGB_LED_MATRIX_VIDEO_VIEWER + bool "Build video-viewer" + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_FFMPEG_SWSCALE + help + The video viewer allows to play common video formats + on the RGB matrix (just the picture, no sound). + +endif + +comment "rpi-rgb-led-matrix needs a toolchain w/ C++, threads, dynamic library" + depends on BR2_aarch64 || BR2_arm + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/rpi-rgb-led-matrix/rpi-rgb-led-matrix.hash b/buildroot-2022.02.1/package/rpi-rgb-led-matrix/rpi-rgb-led-matrix.hash new file mode 100644 index 00000000..265e4c42 --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-rgb-led-matrix/rpi-rgb-led-matrix.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 490ca6fa0c81451f2472b4aa85796a876790f2e212bf0882e3bb7caf5c47e2c3 rpi-rgb-led-matrix-a56338db0f003d5236f2ce98c73a591d64a70852.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/rpi-rgb-led-matrix/rpi-rgb-led-matrix.mk b/buildroot-2022.02.1/package/rpi-rgb-led-matrix/rpi-rgb-led-matrix.mk new file mode 100644 index 00000000..499fb408 --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-rgb-led-matrix/rpi-rgb-led-matrix.mk @@ -0,0 +1,82 @@ +################################################################################ +# +# rpi-rgb-led-matrix +# +################################################################################ + +RPI_RGB_LED_MATRIX_VERSION = a56338db0f003d5236f2ce98c73a591d64a70852 +RPI_RGB_LED_MATRIX_SITE = $(call github,hzeller,rpi-rgb-led-matrix,$(RPI_RGB_LED_MATRIX_VERSION)) +RPI_RGB_LED_MATRIX_LICENSE = GPL-2.0 +RPI_RGB_LED_MATRIX_LICENSE_FILES = COPYING +RPI_RGB_LED_MATRIX_INSTALL_STAGING = YES + +RPI_RGB_LED_MATRIX_MAKE_OPTS = \ + $(TARGET_CONFIGURE_OPTS) \ + CXXFLAGS="$(TARGET_CXXFLAGS) -fPIC -std=c++11" + +define RPI_RGB_LED_MATRIX_BUILD_CMDS + $(MAKE) $(RPI_RGB_LED_MATRIX_MAKE_OPTS) -C $(@D)/lib all +endef + +define RPI_RGB_LED_MATRIX_INSTALL_STAGING_CMDS + $(INSTALL) -d -m 0755 $(STAGING_DIR)/usr/include/rpi-rgb-led-matrix/ + $(INSTALL) -m 0644 $(@D)/include/*.h $(STAGING_DIR)/usr/include/rpi-rgb-led-matrix/ + $(INSTALL) -D -m 0644 $(@D)/lib/librgbmatrix.a $(STAGING_DIR)/usr/lib/librgbmatrix.a + $(INSTALL) -D -m 0755 $(@D)/lib/librgbmatrix.so.1 $(STAGING_DIR)/usr/lib/librgbmatrix.so.1 + ln -sf librgbmatrix.so.1 $(STAGING_DIR)/usr/lib/librgbmatrix.so +endef + +define RPI_RGB_LED_MATRIX_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/lib/librgbmatrix.so.1 $(TARGET_DIR)/usr/lib/librgbmatrix.so.1 + ln -sf librgbmatrix.so.1 $(TARGET_DIR)/usr/lib/librgbmatrix.so +endef + +ifeq ($(BR2_PACKAGE_RPI_RGB_LED_MATRIX_IMAGE_VIEWER),y) +RPI_RGB_LED_MATRIX_DEPENDENCIES += graphicsmagick + +define RPI_RGB_LED_MATRIX_BUILD_IMAGE_VIEWER_CMDS + $(MAKE) $(RPI_RGB_LED_MATRIX_MAKE_OPTS) \ + MAGICK_CXXFLAGS="-I$(STAGING_DIR)/usr/include/GraphicsMagick $(shell $(STAGING_DIR)/usr/bin/GraphicsMagick++-config --cxxflags)" \ + MAGICK_LDFLAGS="-L$(STAGING_DIR)/usr/lib $(shell $(STAGING_DIR)/usr/bin/GraphicsMagick++-config --libs)" \ + -C $(@D)/utils led-image-viewer +endef +RPI_RGB_LED_MATRIX_POST_BUILD_HOOKS += RPI_RGB_LED_MATRIX_BUILD_IMAGE_VIEWER_CMDS + +define RPI_RGB_LED_MATRIX_INSTALL_IMAGE_VIEWER_CMDS + $(INSTALL) -D -m 0755 $(@D)/utils/led-image-viewer $(TARGET_DIR)/usr/bin/led-image-viewer +endef +RPI_RGB_LED_MATRIX_POST_INSTALL_TARGET_HOOKS += RPI_RGB_LED_MATRIX_INSTALL_IMAGE_VIEWER_CMDS +endif + +ifeq ($(BR2_PACKAGE_RPI_RGB_LED_MATRIX_TEXT_SCROLLER),y) +define RPI_RGB_LED_MATRIX_BUILD_TEXT_SCROLLER_CMDS + $(MAKE) $(RPI_RGB_LED_MATRIX_MAKE_OPTS) -C $(@D)/utils text-scroller +endef +RPI_RGB_LED_MATRIX_POST_BUILD_HOOKS += RPI_RGB_LED_MATRIX_BUILD_TEXT_SCROLLER_CMDS + +define RPI_RGB_LED_MATRIX_INSTALL_TEXT_SCROLLER_CMDS + $(INSTALL) -D -m 0755 $(@D)/utils/text-scroller $(TARGET_DIR)/usr/bin/text-scroller + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/rpi-rgb-led-matrix/fonts/ + $(INSTALL) -m 0644 $(@D)/fonts/*.bdf $(TARGET_DIR)/usr/share/rpi-rgb-led-matrix/fonts/ +endef +RPI_RGB_LED_MATRIX_POST_INSTALL_TARGET_HOOKS += RPI_RGB_LED_MATRIX_INSTALL_TEXT_SCROLLER_CMDS +endif + +ifeq ($(BR2_PACKAGE_RPI_RGB_LED_MATRIX_VIDEO_VIEWER),y) +RPI_RGB_LED_MATRIX_DEPENDENCIES += ffmpeg + +define RPI_RGB_LED_MATRIX_BUILD_VIDEO_VIEWER_CMDS + $(MAKE) $(RPI_RGB_LED_MATRIX_MAKE_OPTS) \ + AV_CXXFLAGS="$(shell $(HOST_DIR)/bin/pkg-config --cflags libavcodec libavformat libswscale libavutil)" \ + AV_LDFLAGS="$(shell $(HOST_DIR)/bin/pkg-config --libs libavcodec libavformat libswscale libavutil)" \ + -C $(@D)/utils video-viewer +endef +RPI_RGB_LED_MATRIX_POST_BUILD_HOOKS += RPI_RGB_LED_MATRIX_BUILD_VIDEO_VIEWER_CMDS + +define RPI_RGB_LED_MATRIX_INSTALL_VIDEO_VIEWER_CMDS + $(INSTALL) -D -m 0755 $(@D)/utils/video-viewer $(TARGET_DIR)/usr/bin/video-viewer +endef +RPI_RGB_LED_MATRIX_POST_INSTALL_TARGET_HOOKS += RPI_RGB_LED_MATRIX_INSTALL_VIDEO_VIEWER_CMDS +endif + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rpi-userland/0001-Add-.pc-files-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch b/buildroot-2022.02.1/package/rpi-userland/0001-Add-.pc-files-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch similarity index 100% rename from buildroot-2021.05/package/rpi-userland/0001-Add-.pc-files-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch rename to buildroot-2022.02.1/package/rpi-userland/0001-Add-.pc-files-for-the-OpenGLESv2-EGL-and-bcm_host-li.patch diff --git a/buildroot-2021.05/package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch b/buildroot-2022.02.1/package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch similarity index 100% rename from buildroot-2021.05/package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch rename to buildroot-2022.02.1/package/rpi-userland/0002-interface-remove-faulty-assert-to-make-weston-happy-.patch diff --git a/buildroot-2021.05/package/rpi-userland/0003-Disable-Werror-everywhere.patch b/buildroot-2022.02.1/package/rpi-userland/0003-Disable-Werror-everywhere.patch similarity index 100% rename from buildroot-2021.05/package/rpi-userland/0003-Disable-Werror-everywhere.patch rename to buildroot-2022.02.1/package/rpi-userland/0003-Disable-Werror-everywhere.patch diff --git a/buildroot-2021.05/package/rpi-userland/0004-host-applications-disable-missing-applications.patch b/buildroot-2022.02.1/package/rpi-userland/0004-host-applications-disable-missing-applications.patch similarity index 100% rename from buildroot-2021.05/package/rpi-userland/0004-host-applications-disable-missing-applications.patch rename to buildroot-2022.02.1/package/rpi-userland/0004-host-applications-disable-missing-applications.patch diff --git a/buildroot-2021.05/package/rpi-userland/0005-dtmerge-add-missing-include-for-va_list.patch b/buildroot-2022.02.1/package/rpi-userland/0005-dtmerge-add-missing-include-for-va_list.patch similarity index 100% rename from buildroot-2021.05/package/rpi-userland/0005-dtmerge-add-missing-include-for-va_list.patch rename to buildroot-2022.02.1/package/rpi-userland/0005-dtmerge-add-missing-include-for-va_list.patch diff --git a/buildroot-2022.02.1/package/rpi-userland/0006-don-t-override-CMAKE_EXE_LINKER_FLAGS.patch b/buildroot-2022.02.1/package/rpi-userland/0006-don-t-override-CMAKE_EXE_LINKER_FLAGS.patch new file mode 100644 index 00000000..bf2a9eb6 --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-userland/0006-don-t-override-CMAKE_EXE_LINKER_FLAGS.patch @@ -0,0 +1,58 @@ +From 87febf8b7b1c0a6d0ea1d26770d3665008d66fd2 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 25 Feb 2022 19:21:06 +0100 +Subject: [PATCH] don't override CMAKE_EXE_LINKER_FLAGS + +Don't override CMAKE_EXE_LINKER_FLAGS as it could be used by the user to +pass additional flags such as -lexecinfo on musl and uclibc-ng + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/raspberrypi/userland/pull/719] +--- + host_applications/android/apps/vidtex/CMakeLists.txt | 2 +- + host_applications/linux/apps/raspicam/CMakeLists.txt | 2 +- + makefiles/cmake/arm-linux.cmake | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/host_applications/android/apps/vidtex/CMakeLists.txt b/host_applications/android/apps/vidtex/CMakeLists.txt +index e7206cc..16c64db 100644 +--- a/host_applications/android/apps/vidtex/CMakeLists.txt ++++ b/host_applications/android/apps/vidtex/CMakeLists.txt +@@ -5,7 +5,7 @@ SET(COMPILE_DEFINITIONS -Werror -Wall) + # Set --no-as-needed to stop the linker discarding mmal_vc_client + # as it can't see that the constructor registers a load of functionality + # with the MMAL core. +-SET( CMAKE_EXE_LINKER_FLAGS "-Wl,--no-as-needed" ) ++SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-as-needed" ) + + include_directories(${PROJECT_SOURCE_DIR}/host_applications/linux/libs/bcm_host/include) + +diff --git a/host_applications/linux/apps/raspicam/CMakeLists.txt b/host_applications/linux/apps/raspicam/CMakeLists.txt +index e6bd373..2f72eb2 100644 +--- a/host_applications/linux/apps/raspicam/CMakeLists.txt ++++ b/host_applications/linux/apps/raspicam/CMakeLists.txt +@@ -6,7 +6,7 @@ SET(COMPILE_DEFINITIONS -Werror) + # Set --no-as-needed to stop the linker discarding mmal_vc_client + # as it can't see that the constructor registers a load of functionality + # with the MMAL core. +-SET( CMAKE_EXE_LINKER_FLAGS "-Wl,--no-as-needed" ) ++SET( CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-as-needed" ) + + include_directories(${PROJECT_SOURCE_DIR}/host_applications/linux/libs/bcm_host/include) + include_directories(${PROJECT_SOURCE_DIR}/host_applications/linux/apps/raspicam/) +diff --git a/makefiles/cmake/arm-linux.cmake b/makefiles/cmake/arm-linux.cmake +index 957846a..e172282 100644 +--- a/makefiles/cmake/arm-linux.cmake ++++ b/makefiles/cmake/arm-linux.cmake +@@ -93,7 +93,7 @@ if(ANDROID) + set(CMAKE_SHARED_LINKER_FLAGS "-nostdlib ${ANDROID_CRTBEGIN} -Wl,-Bdynamic -Wl,-T${ANDROID_LDSCRIPTS}/armelf.x") + + link_directories(${ANDROID_LIBS}) +- set(CMAKE_EXE_LINKER_FLAGS "-nostdlib ${ANDROID_CRTBEGIN} -nostdlib -Wl,-z,noexecstack") ++ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -nostdlib ${ANDROID_CRTBEGIN} -nostdlib -Wl,-z,noexecstack") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-dynamic-linker,/system/bin/linker -Wl,-rpath,${CMAKE_INSTALL_PREFIX}/lib") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-T${ANDROID_LDSCRIPTS}/armelf.x -Wl,--gc-sections") + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,nocopyreloc -Wl,-z,noexecstack -Wl,--fix-cortex-a8 -Wl,--no-undefined") +-- +2.34.1 + diff --git a/buildroot-2021.05/package/rpi-userland/Config.in b/buildroot-2022.02.1/package/rpi-userland/Config.in similarity index 100% rename from buildroot-2021.05/package/rpi-userland/Config.in rename to buildroot-2022.02.1/package/rpi-userland/Config.in diff --git a/buildroot-2022.02.1/package/rpi-userland/rpi-userland.hash b/buildroot-2022.02.1/package/rpi-userland/rpi-userland.hash new file mode 100644 index 00000000..b837cfe7 --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-userland/rpi-userland.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 bb682f3c20bc5c7877531d5666c8dcc674a2f347aa792cf979dc0b07b6261e77 rpi-userland-14b90ff9d9f031391a299e6e006965d02bfd1bb1.tar.gz +sha256 bee6f1249175683d8610651706e1aa7dffcbfd3f9c4c05bc1e5ab34f313c2db5 LICENCE diff --git a/buildroot-2022.02.1/package/rpi-userland/rpi-userland.mk b/buildroot-2022.02.1/package/rpi-userland/rpi-userland.mk new file mode 100644 index 00000000..3564ec07 --- /dev/null +++ b/buildroot-2022.02.1/package/rpi-userland/rpi-userland.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# rpi-userland +# +################################################################################ + +RPI_USERLAND_VERSION = 14b90ff9d9f031391a299e6e006965d02bfd1bb1 +RPI_USERLAND_SITE = $(call github,raspberrypi,userland,$(RPI_USERLAND_VERSION)) +RPI_USERLAND_LICENSE = BSD-3-Clause +RPI_USERLAND_LICENSE_FILES = LICENCE +RPI_USERLAND_INSTALL_STAGING = YES +RPI_USERLAND_CONF_OPTS = -DVMCS_INSTALL_PREFIX=/usr + +RPI_USERLAND_PROVIDES = libegl libgles libopenmax libopenvg + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +RPI_USERLAND_DEPENDENCIES += libexecinfo +RPI_USERLAND_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-lexecinfo +endif + +ifeq ($(BR2_PACKAGE_RPI_USERLAND_HELLO),y) + +RPI_USERLAND_CONF_OPTS += -DALL_APPS=ON + +define RPI_USERLAND_EXTRA_LIBS_TARGET + $(INSTALL) -m 0644 -D \ + $(@D)/build/lib/libilclient.so \ + $(TARGET_DIR)/usr/lib/libilclient.so +endef +RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_EXTRA_LIBS_TARGET + +define RPI_USERLAND_EXTRA_LIBS_STAGING + $(INSTALL) -m 0644 -D \ + $(@D)/build/lib/libilclient.so \ + $(STAGING_DIR)/usr/lib/libilclient.so +endef +RPI_USERLAND_POST_INSTALL_STAGING_HOOKS += RPI_USERLAND_EXTRA_LIBS_STAGING + +else + +RPI_USERLAND_CONF_OPTS += -DALL_APPS=OFF + +endif # BR2_PACKAGE_RPI_USERLAND_HELLO + +define RPI_USERLAND_POST_TARGET_CLEANUP + rm -Rf $(TARGET_DIR)/usr/src +endef +RPI_USERLAND_POST_INSTALL_TARGET_HOOKS += RPI_USERLAND_POST_TARGET_CLEANUP + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/rpm/Config.in b/buildroot-2022.02.1/package/rpm/Config.in new file mode 100644 index 00000000..8730e152 --- /dev/null +++ b/buildroot-2022.02.1/package/rpm/Config.in @@ -0,0 +1,36 @@ +comment "rpm needs a toolchain w/ dynamic library, threads and lua >= 5.3" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ + || !BR2_PACKAGE_LUA || BR2_PACKAGE_LUA_5_1 + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + depends on BR2_USE_MMU + +config BR2_PACKAGE_RPM + bool "rpm" + depends on !BR2_STATIC_LIBS # dlfcn.h + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + depends on BR2_PACKAGE_LUA && !BR2_PACKAGE_LUA_5_1 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_FILE + select BR2_PACKAGE_POPT + select BR2_PACKAGE_ZLIB + help + The RPM Package Manager (RPM). + + http://www.rpm.org/ + +if BR2_PACKAGE_RPM + +comment "rpm2archive support needs a toolchain w/ wchar" + depends on !BR2_USE_WCHAR + +config BR2_PACKAGE_RPM_RPM2ARCHIVE + bool "rpm2archive command" + default y + depends on BR2_USE_WCHAR + select BR2_PACKAGE_LIBARCHIVE + help + Enable rpm2archive + +endif diff --git a/buildroot-2022.02.1/package/rpm/rpm.hash b/buildroot-2022.02.1/package/rpm/rpm.hash new file mode 100644 index 00000000..19b6dd91 --- /dev/null +++ b/buildroot-2022.02.1/package/rpm/rpm.hash @@ -0,0 +1,5 @@ +# From https://rpm.org/wiki/Releases/4.17.0.html +sha256 2e0d220b24749b17810ed181ac1ed005a56bbb6bc8ac429c21f314068dc65e6a rpm-4.17.0.tar.bz2 + +# Hash for license file +sha256 171d94d9f1641316bff7f157a903237dc69cdb5fca405fed8c832c76ed8370f9 COPYING diff --git a/buildroot-2022.02.1/package/rpm/rpm.mk b/buildroot-2022.02.1/package/rpm/rpm.mk new file mode 100644 index 00000000..5c04d47f --- /dev/null +++ b/buildroot-2022.02.1/package/rpm/rpm.mk @@ -0,0 +1,110 @@ +################################################################################ +# +# rpm +# +################################################################################ + +RPM_VERSION_MAJOR = 4.17 +RPM_VERSION = $(RPM_VERSION_MAJOR).0 +RPM_SOURCE = rpm-$(RPM_VERSION).tar.bz2 +RPM_SITE = http://ftp.rpm.org/releases/rpm-$(RPM_VERSION_MAJOR).x +RPM_DEPENDENCIES = \ + host-pkgconf \ + $(if $(BR2_PACKAGE_BZIP2),bzip2) \ + $(if $(BR2_PACKAGE_ELFUTILS),elfutils) \ + file \ + lua \ + popt \ + $(if $(BR2_PACKAGE_XZ),xz) \ + zlib \ + $(TARGET_NLS_DEPENDENCIES) +RPM_LICENSE = GPL-2.0 or LGPL-2.0 (library only) +RPM_LICENSE_FILES = COPYING +RPM_CPE_ID_VENDOR = rpm +RPM_SELINUX_MODULES = rpm + +# Don't set --{dis,en}-openmp as upstream wants to abort the build if +# --enable-openmp is provided and OpenMP is < 4.5: +# https://github.com/rpm-software-management/rpm/pull/1433 +RPM_CONF_OPTS = \ + --disable-python \ + --disable-rpath \ + --with-gnu-ld + +ifeq ($(BR2_PACKAGE_ACL),y) +RPM_DEPENDENCIES += acl +RPM_CONF_OPTS += --with-acl +else +RPM_CONF_OPTS += --without-acl +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +RPM_DEPENDENCIES += audit +RPM_CONF_OPTS += --with-audit +else +RPM_CONF_OPTS += --without-audit +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +RPM_DEPENDENCIES += dbus +RPM_CONF_OPTS += --enable-plugins +else +RPM_CONF_OPTS += --disable-plugins +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +RPM_DEPENDENCIES += libcap +RPM_CONF_OPTS += --with-cap +else +RPM_CONF_OPTS += --without-cap +endif + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +RPM_DEPENDENCIES += libgcrypt +RPM_CONF_OPTS += --with-crypto=libgcrypt +else +RPM_DEPENDENCIES += openssl +RPM_CONF_OPTS += --with-crypto=openssl +endif + +ifeq ($(BR2_PACKAGE_GETTEXT_PROVIDES_LIBINTL),y) +RPM_CONF_OPTS += --with-libintl-prefix=$(STAGING_DIR)/usr +else +RPM_CONF_OPTS += --without-libintl-prefix +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +RPM_DEPENDENCIES += libselinux +RPM_CONF_OPTS += --with-selinux +else +RPM_CONF_OPTS += --without-selinux +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +RPM_DEPENDENCIES += sqlite +RPM_CONF_OPTS += --enable-sqlite +else +RPM_CONF_OPTS += --disable-sqlite +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +RPM_DEPENDENCIES += zstd +RPM_CONF_OPTS += --enable-zstd +else +RPM_CONF_OPTS += --disable-zstd +endif + +ifeq ($(BR2_PACKAGE_RPM_RPM2ARCHIVE),y) +RPM_DEPENDENCIES += libarchive +RPM_CONF_OPTS += --with-archive +else +RPM_CONF_OPTS += --without-archive +endif + +# ac_cv_prog_cc_c99: RPM uses non-standard GCC extensions (ex. `asm`). +RPM_CONF_ENV = \ + ac_cv_prog_cc_c99='-std=gnu99' \ + CFLAGS="$(TARGET_CFLAGS) $(RPM_CFLAGS)" \ + LIBS=$(TARGET_NLS_LIBS) + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/rrdtool/Config.in b/buildroot-2022.02.1/package/rrdtool/Config.in new file mode 100644 index 00000000..5ffdc926 --- /dev/null +++ b/buildroot-2022.02.1/package/rrdtool/Config.in @@ -0,0 +1,40 @@ +config BR2_PACKAGE_RRDTOOL + bool "rrdtool" + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + select BR2_PACKAGE_LIBGLIB2 + help + RRDtool is the OpenSource industry standard, high performance + data logging and graphing system for time series data. + + http://oss.oetiker.ch/rrdtool/ + +if BR2_PACKAGE_RRDTOOL + +config BR2_PACKAGE_RRDTOOL_RRDGRAPH + bool "rrd_graph" + default y + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pango -> harfbuzz + depends on BR2_INSTALL_LIBSTDCPP # freetype support from pango + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_CAIRO_PDF + select BR2_PACKAGE_CAIRO_PNG + select BR2_PACKAGE_CAIRO_PS + select BR2_PACKAGE_CAIRO_SVG + select BR2_PACKAGE_PANGO + help + This enables the graphing capabilities ('rrdgraph'). + Without this it will only act as a database backend. + +comment "rrd_graph support needs a toolchain w/ C++, gcc >= 4.9" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + +endif + +comment "rrdtool needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/rrdtool/rrdtool.hash b/buildroot-2022.02.1/package/rrdtool/rrdtool.hash similarity index 100% rename from buildroot-2021.05/package/rrdtool/rrdtool.hash rename to buildroot-2022.02.1/package/rrdtool/rrdtool.hash diff --git a/buildroot-2021.05/package/rrdtool/rrdtool.mk b/buildroot-2022.02.1/package/rrdtool/rrdtool.mk similarity index 100% rename from buildroot-2021.05/package/rrdtool/rrdtool.mk rename to buildroot-2022.02.1/package/rrdtool/rrdtool.mk diff --git a/buildroot-2021.05/package/rs485conf/Config.in b/buildroot-2022.02.1/package/rs485conf/Config.in similarity index 100% rename from buildroot-2021.05/package/rs485conf/Config.in rename to buildroot-2022.02.1/package/rs485conf/Config.in diff --git a/buildroot-2021.05/package/rs485conf/rs485conf.hash b/buildroot-2022.02.1/package/rs485conf/rs485conf.hash similarity index 100% rename from buildroot-2021.05/package/rs485conf/rs485conf.hash rename to buildroot-2022.02.1/package/rs485conf/rs485conf.hash diff --git a/buildroot-2021.05/package/rs485conf/rs485conf.mk b/buildroot-2022.02.1/package/rs485conf/rs485conf.mk similarity index 100% rename from buildroot-2021.05/package/rs485conf/rs485conf.mk rename to buildroot-2022.02.1/package/rs485conf/rs485conf.mk diff --git a/buildroot-2021.05/package/rsh-redone/Config.in b/buildroot-2022.02.1/package/rsh-redone/Config.in similarity index 100% rename from buildroot-2021.05/package/rsh-redone/Config.in rename to buildroot-2022.02.1/package/rsh-redone/Config.in diff --git a/buildroot-2021.05/package/rsh-redone/rsh-redone.hash b/buildroot-2022.02.1/package/rsh-redone/rsh-redone.hash similarity index 100% rename from buildroot-2021.05/package/rsh-redone/rsh-redone.hash rename to buildroot-2022.02.1/package/rsh-redone/rsh-redone.hash diff --git a/buildroot-2022.02.1/package/rsh-redone/rsh-redone.mk b/buildroot-2022.02.1/package/rsh-redone/rsh-redone.mk new file mode 100644 index 00000000..5ac12811 --- /dev/null +++ b/buildroot-2022.02.1/package/rsh-redone/rsh-redone.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# rsh-redone +# +################################################################################ + +RSH_REDONE_VERSION = 85 +RSH_REDONE_SOURCE = rsh-redone_$(RSH_REDONE_VERSION).orig.tar.gz +RSH_REDONE_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/r/rsh-redone +RSH_REDONE_LICENSE = GPL-2.0 +RSH_REDONE_LICENSE_FILES = rsh.c + +RSH_REDONE_BINS-y = +RSH_REDONE_BINS-$(BR2_PACKAGE_RSH_REDONE_RLOGIN) += rlogin +RSH_REDONE_BINS-$(BR2_PACKAGE_RSH_REDONE_RSH) += rsh +RSH_REDONE_SBINS-y = +RSH_REDONE_SBINS-$(BR2_PACKAGE_RSH_REDONE_RLOGIND) += in.rlogind +RSH_REDONE_SBINS-$(BR2_PACKAGE_RSH_REDONE_RSHD) += in.rshd + +RSH_REDONE_MAKE_FLAGS = \ + BIN="$(RSH_REDONE_BINS-y)" SBIN="$(RSH_REDONE_SBINS-y)" + +ifneq ($(BR2_PACKAGE_RSH_REDONE_RSHD)$(BR2_PACKAGE_RSH_REDONE_RLOGIND),) +RSH_REDONE_DEPENDENCIES += linux-pam +endif + +define RSH_REDONE_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) $(RSH_REDONE_MAKE_FLAGS) +endef + +define RSH_REDONE_INSTALL_TARGET_CMDS + $(if $(RSH_REDONE_BINS-y)$(RSH_REDONE_SBINS-y), + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(RSH_REDONE_MAKE_FLAGS) DESTDIR=$(TARGET_DIR) \ + $(if $(RSH_REDONE_BINS-y),install-bin) \ + $(if $(RSH_REDONE_SBINS-y),install-sbin)) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/rsync/0001-rsync-ssl-Verify-the-hostname-in-the-certificate-when-using-openssl.patch b/buildroot-2022.02.1/package/rsync/0001-rsync-ssl-Verify-the-hostname-in-the-certificate-when-using-openssl.patch new file mode 100644 index 00000000..13edeff9 --- /dev/null +++ b/buildroot-2022.02.1/package/rsync/0001-rsync-ssl-Verify-the-hostname-in-the-certificate-when-using-openssl.patch @@ -0,0 +1,29 @@ +From c3f7414c450faaf6a8281cc4a4403529aeb7d859 Mon Sep 17 00:00:00 2001 +From: Matt McCutchen +Date: Wed, 26 Aug 2020 12:16:08 -0400 +Subject: [PATCH] rsync-ssl: Verify the hostname in the certificate when using + openssl. + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://git.samba.org/?p=rsync.git;a=commitdiff;h=c3f7414c450faaf6a8281cc4a4403529aeb7d859] +--- + rsync-ssl | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/rsync-ssl b/rsync-ssl +index 8101975a..46701af1 100755 +--- a/rsync-ssl ++++ b/rsync-ssl +@@ -129,7 +129,7 @@ function rsync_ssl_helper { + fi + + if [[ $RSYNC_SSL_TYPE == openssl ]]; then +- exec $RSYNC_SSL_OPENSSL s_client $caopt $certopt -quiet -verify_quiet -servername $hostname -connect $hostname:$port ++ exec $RSYNC_SSL_OPENSSL s_client $caopt $certopt -quiet -verify_quiet -servername $hostname -verify_hostname $hostname -connect $hostname:$port + elif [[ $RSYNC_SSL_TYPE == gnutls ]]; then + exec $RSYNC_SSL_GNUTLS --logfile=/dev/null $gnutls_cert_opt $gnutls_opts $hostname:$port + else +-- +2.25.1 + diff --git a/buildroot-2021.05/package/rsync/Config.in b/buildroot-2022.02.1/package/rsync/Config.in similarity index 100% rename from buildroot-2021.05/package/rsync/Config.in rename to buildroot-2022.02.1/package/rsync/Config.in diff --git a/buildroot-2021.05/package/rsync/rsync.hash b/buildroot-2022.02.1/package/rsync/rsync.hash similarity index 100% rename from buildroot-2021.05/package/rsync/rsync.hash rename to buildroot-2022.02.1/package/rsync/rsync.hash diff --git a/buildroot-2022.02.1/package/rsync/rsync.mk b/buildroot-2022.02.1/package/rsync/rsync.mk new file mode 100644 index 00000000..5b51ca1d --- /dev/null +++ b/buildroot-2022.02.1/package/rsync/rsync.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# rsync +# +################################################################################ + +RSYNC_VERSION = 3.2.3 +RSYNC_SITE = http://rsync.samba.org/ftp/rsync/src +RSYNC_LICENSE = GPL-3.0+ with exceptions +RSYNC_LICENSE_FILES = COPYING +RSYNC_CPE_ID_VENDOR = samba +RSYNC_SELINUX_MODULES = rsync +RSYNC_DEPENDENCIES = zlib popt +RSYNC_CONF_OPTS = \ + --with-included-zlib=no \ + --with-included-popt=no \ + --disable-simd \ + --disable-openssl \ + --disable-xxhash \ + --disable-zstd \ + --disable-lz4 \ + --disable-asm + +# 0001-rsync-ssl-Verify-the-hostname-in-the-certificate-when-using-openssl.patch +RSYNC_IGNORE_CVES += CVE-2020-14387 + +ifeq ($(BR2_PACKAGE_ACL),y) +RSYNC_DEPENDENCIES += acl +else +RSYNC_CONF_OPTS += --disable-acl-support +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rsyslog/Config.in b/buildroot-2022.02.1/package/rsyslog/Config.in similarity index 100% rename from buildroot-2021.05/package/rsyslog/Config.in rename to buildroot-2022.02.1/package/rsyslog/Config.in diff --git a/buildroot-2021.05/package/rsyslog/S01rsyslogd b/buildroot-2022.02.1/package/rsyslog/S01rsyslogd similarity index 100% rename from buildroot-2021.05/package/rsyslog/S01rsyslogd rename to buildroot-2022.02.1/package/rsyslog/S01rsyslogd diff --git a/buildroot-2021.05/package/rsyslog/rsyslog.hash b/buildroot-2022.02.1/package/rsyslog/rsyslog.hash similarity index 100% rename from buildroot-2021.05/package/rsyslog/rsyslog.hash rename to buildroot-2022.02.1/package/rsyslog/rsyslog.hash diff --git a/buildroot-2022.02.1/package/rsyslog/rsyslog.mk b/buildroot-2022.02.1/package/rsyslog/rsyslog.mk new file mode 100644 index 00000000..afd1a555 --- /dev/null +++ b/buildroot-2022.02.1/package/rsyslog/rsyslog.mk @@ -0,0 +1,141 @@ +################################################################################ +# +# rsyslog +# +################################################################################ + +RSYSLOG_VERSION = 8.2010.0 +RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog +RSYSLOG_LICENSE = GPL-3.0, LGPL-3.0, Apache-2.0 +RSYSLOG_LICENSE_FILES = COPYING COPYING.LESSER COPYING.ASL20 +RSYSLOG_CPE_ID_VENDOR = rsyslog +# rsyslog uses weak permissions for generating log files. +# Ignoring this CVE as Buildroot normally doesn't have local users and a build +# could customize the rsyslog.conf to be more restrictive ($FileCreateMode 0640) +RSYSLOG_IGNORE_CVES += CVE-2015-3243 +RSYSLOG_DEPENDENCIES = zlib libestr liblogging libfastjson host-pkgconf +RSYSLOG_CONF_ENV = ac_cv_prog_cc_c99='-std=c99' +RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \ + mmanon mmaudit mmfields mmjsonparse mmpstrucdata mmsequence mmutf8fix \ + mail omprog omruleset omstdout omuxsock \ + pmaixforwardedfrom pmciscoios pmcisconames pmlastmsg pmsnare + +ifeq ($(BR2_PACKAGE_LIBRELP),y) +RSYSLOG_DEPENDENCIES += librelp +RSYSLOG_PLUGINS += relp +endif + +RSYSLOG_CONF_OPTS = --disable-generate-man-pages \ + $(foreach x,$(call qstrip,$(RSYSLOG_PLUGINS)),--enable-$(x)) + +# Disable items requiring lognorm +RSYSLOG_CONF_OPTS += \ + --disable-mmkubernetes \ + --disable-mmnormalize + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +RSYSLOG_DEPENDENCIES += libcurl +RSYSLOG_CONF_OPTS += \ + --enable-clickhouse \ + --enable-elasticsearch \ + --enable-fmhttp \ + --enable-imdocker \ + --enable-omhttp \ + --enable-omhttpfs +else +RSYSLOG_CONF_OPTS += \ + --disable-clickhouse \ + --disable-elasticsearch \ + --disable-fmhttp \ + --disable-imdocker \ + --disable-omhttp \ + --disable-omhttpfs +endif + +ifeq ($(BR2_PACKAGE_CIVETWEB_LIB),y) +RSYSLOG_DEPENDENCIES += civetweb +RSYSLOG_CONF_OPTS += --enable-imhttp +else +RSYSLOG_CONF_OPTS += --disable-imhttp +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +RSYSLOG_DEPENDENCIES += gnutls +RSYSLOG_CONF_OPTS += --enable-gnutls +else +RSYSLOG_CONF_OPTS += --disable-gnutls +endif + +ifeq ($(BR2_PACKAGE_LIBEE),y) +RSYSLOG_DEPENDENCIES += libee +endif + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +RSYSLOG_DEPENDENCIES += libgcrypt +RSYSLOG_CONF_ENV += LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config +RSYSLOG_CONF_OPTS += --enable-libgcrypt +else +RSYSLOG_CONF_OPTS += --disable-libgcrypt +endif + +ifeq ($(BR2_PACKAGE_LIBPCAP),y) +RSYSLOG_DEPENDENCIES += libpcap +RSYSLOG_CONF_OPTS += --enable-impcap +else +RSYSLOG_CONF_OPTS += --disable-impcap +endif + +ifeq ($(BR2_PACKAGE_MYSQL),y) +RSYSLOG_DEPENDENCIES += mysql +RSYSLOG_CONF_OPTS += --enable-mysql +RSYSLOG_CONF_ENV += ac_cv_prog_MYSQL_CONFIG=$(STAGING_DIR)/usr/bin/mysql_config +else +RSYSLOG_CONF_OPTS += --disable-mysql +endif + +ifeq ($(BR2_PACKAGE_POSTGRESQL),y) +RSYSLOG_DEPENDENCIES += postgresql +RSYSLOG_CONF_OPTS += --enable-pgsql +RSYSLOG_CONF_ENV += ac_cv_prog_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config +else +RSYSLOG_CONF_OPTS += --disable-pgsql +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +RSYSLOG_DEPENDENCIES += util-linux +RSYSLOG_CONF_OPTS += --enable-uuid +else +RSYSLOG_CONF_OPTS += --disable-uuid +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +RSYSLOG_CONF_OPTS += \ + --enable-imjournal \ + --enable-omjournal \ + --with-systemdsystemunitdir=/usr/lib/systemd/system +RSYSLOG_DEPENDENCIES += systemd +else +RSYSLOG_CONF_OPTS += \ + --disable-imjournal \ + --disable-omjournal +endif + +define RSYSLOG_INSTALL_INIT_SYSTEMD + $(INSTALL) -m 0755 -D package/rsyslog/rsyslog.service \ + $(TARGET_DIR)/usr/lib/systemd/system/rsyslog.service +endef + +define RSYSLOG_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/rsyslog/S01rsyslogd \ + $(TARGET_DIR)/etc/init.d/S01rsyslogd +endef + +define RSYSLOG_INSTALL_CONF + $(INSTALL) -m 0644 -D $(@D)/platform/redhat/rsyslog.conf \ + $(TARGET_DIR)/etc/rsyslog.conf + mkdir -p $(TARGET_DIR)/etc/rsyslog.d +endef + +RSYSLOG_POST_INSTALL_TARGET_HOOKS += RSYSLOG_INSTALL_CONF + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rsyslog/rsyslog.service b/buildroot-2022.02.1/package/rsyslog/rsyslog.service similarity index 100% rename from buildroot-2021.05/package/rsyslog/rsyslog.service rename to buildroot-2022.02.1/package/rsyslog/rsyslog.service diff --git a/buildroot-2021.05/package/rt-tests/0001-Fix-a-build-issue-with-uClibc-ng.patch b/buildroot-2022.02.1/package/rt-tests/0001-Fix-a-build-issue-with-uClibc-ng.patch similarity index 100% rename from buildroot-2021.05/package/rt-tests/0001-Fix-a-build-issue-with-uClibc-ng.patch rename to buildroot-2022.02.1/package/rt-tests/0001-Fix-a-build-issue-with-uClibc-ng.patch diff --git a/buildroot-2021.05/package/rt-tests/0002-Makefile-drop-explicit-undefine-PYLIB-for-compatibil.patch b/buildroot-2022.02.1/package/rt-tests/0002-Makefile-drop-explicit-undefine-PYLIB-for-compatibil.patch similarity index 100% rename from buildroot-2021.05/package/rt-tests/0002-Makefile-drop-explicit-undefine-PYLIB-for-compatibil.patch rename to buildroot-2022.02.1/package/rt-tests/0002-Makefile-drop-explicit-undefine-PYLIB-for-compatibil.patch diff --git a/buildroot-2022.02.1/package/rt-tests/Config.in b/buildroot-2022.02.1/package/rt-tests/Config.in new file mode 100644 index 00000000..47fa7cd8 --- /dev/null +++ b/buildroot-2022.02.1/package/rt-tests/Config.in @@ -0,0 +1,35 @@ +config BR2_PACKAGE_RT_TESTS + bool "rt-tests" + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 + depends on BR2_USE_MMU # fork(), numactl + depends on !BR2_STATIC_LIBS # dlopen + depends on !BR2_TOOLCHAIN_USES_MUSL # cyclictest + select BR2_PACKAGE_NUMACTL + help + Set of utilities for testing the real-time behaviour of a + Linux system. + + All tools are simple C programs with no dependencies, except + the hwlatdetect utility, which is a Python script and + therefore requires the Python interpreter. It will only be + installed if a Python interpreter has been selected in the + Buildroot configuration. + + Note that this package requires a toolchain built with the + NPTL implementation of the pthread API (this is always the + case with glibc toolchains, but may not necessarily be the + case with uClibc toolchains, since the thread implementation + is configurable). + + https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rt-tests + +comment "rt-tests may not work on MIPS with an external uClibc toolchain" + depends on BR2_PACKAGE_RT_TESTS + depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC + depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + +comment "rt-tests needs a uClibc or glibc toolchain w/ NPTL, headers >= 4.5, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ + || BR2_TOOLCHAIN_USES_MUSL || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 + depends on BR2_USE_MMU diff --git a/buildroot-2022.02.1/package/rt-tests/rt-tests.hash b/buildroot-2022.02.1/package/rt-tests/rt-tests.hash new file mode 100644 index 00000000..4f84e0d0 --- /dev/null +++ b/buildroot-2022.02.1/package/rt-tests/rt-tests.hash @@ -0,0 +1,4 @@ +# From https://mirrors.edge.kernel.org/pub/linux/utils/rt-tests/sha256sums.asc +sha256 b5e7959bcb5c703b2743030751af975ea4e04962e29fc1118f4b605987585735 rt-tests-2.3.tar.xz +# locally computed hash +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/rt-tests/rt-tests.mk b/buildroot-2022.02.1/package/rt-tests/rt-tests.mk new file mode 100644 index 00000000..056a4a67 --- /dev/null +++ b/buildroot-2022.02.1/package/rt-tests/rt-tests.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# rt-tests +# +################################################################################ + +RT_TESTS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/rt-tests +RT_TESTS_SOURCE = rt-tests-$(RT_TESTS_VERSION).tar.xz +RT_TESTS_VERSION = 2.3 +RT_TESTS_LICENSE = GPL-2.0+ +RT_TESTS_LICENSE_FILES = COPYING + +RT_TESTS_DEPENDENCIES = numactl +RT_TESTS_CPE_ID_VENDOR = kernel + +define RT_TESTS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + CC="$(TARGET_CC)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + prefix=/usr +endef + +define RT_TESTS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + DESTDIR="$(TARGET_DIR)" \ + prefix=/usr \ + PYLIB="$(if $(BR2_PACKAGE_PYTHON3),/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/)" \ + install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtai/Config.in b/buildroot-2022.02.1/package/rtai/Config.in similarity index 100% rename from buildroot-2021.05/package/rtai/Config.in rename to buildroot-2022.02.1/package/rtai/Config.in diff --git a/buildroot-2021.05/package/rtai/rtai.hash b/buildroot-2022.02.1/package/rtai/rtai.hash similarity index 100% rename from buildroot-2021.05/package/rtai/rtai.hash rename to buildroot-2022.02.1/package/rtai/rtai.hash diff --git a/buildroot-2021.05/package/rtai/rtai.mk b/buildroot-2022.02.1/package/rtai/rtai.mk similarity index 100% rename from buildroot-2021.05/package/rtai/rtai.mk rename to buildroot-2022.02.1/package/rtai/rtai.mk diff --git a/buildroot-2021.05/package/rtc-tools/Config.in b/buildroot-2022.02.1/package/rtc-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/rtc-tools/Config.in rename to buildroot-2022.02.1/package/rtc-tools/Config.in diff --git a/buildroot-2021.05/package/rtc-tools/rtc-tools.hash b/buildroot-2022.02.1/package/rtc-tools/rtc-tools.hash similarity index 100% rename from buildroot-2021.05/package/rtc-tools/rtc-tools.hash rename to buildroot-2022.02.1/package/rtc-tools/rtc-tools.hash diff --git a/buildroot-2022.02.1/package/rtc-tools/rtc-tools.mk b/buildroot-2022.02.1/package/rtc-tools/rtc-tools.mk new file mode 100644 index 00000000..2882c885 --- /dev/null +++ b/buildroot-2022.02.1/package/rtc-tools/rtc-tools.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# rtc-tools +# +################################################################################ + +RTC_TOOLS_VERSION = 33ef4aa1c92b0c92a351284d93d1ac5570de9cc7 +RTC_TOOLS_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/rtc-tools.git +RTC_TOOLS_SITE_METHOD = git +RTC_TOOLS_LICENSE = GPL-2.0 +RTC_TOOLS_LICENSE_FILES = COPYING + +RTC_TOOLS_BINARIES = rtc rtc-range + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +RTC_TOOLS_BINARIES += rtc-sync +endif + +define RTC_TOOLS_BUILD_CMDS + $(foreach bin,$(RTC_TOOLS_BINARIES),\ + $(TARGET_CC) $(TARGET_CFLAGS) -o $(@D)/$(bin) $(@D)/$(bin).c + ) +endef + +define RTC_TOOLS_INSTALL_TARGET_CMDS + $(foreach bin,$(RTC_TOOLS_BINARIES),\ + $(INSTALL) -D -m 0755 $(@D)/$(bin) $(TARGET_DIR)/usr/bin/$(bin) + ) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtl8188eu/Config.in b/buildroot-2022.02.1/package/rtl8188eu/Config.in similarity index 100% rename from buildroot-2021.05/package/rtl8188eu/Config.in rename to buildroot-2022.02.1/package/rtl8188eu/Config.in diff --git a/buildroot-2021.05/package/rtl8188eu/rtl8188eu.hash b/buildroot-2022.02.1/package/rtl8188eu/rtl8188eu.hash similarity index 100% rename from buildroot-2021.05/package/rtl8188eu/rtl8188eu.hash rename to buildroot-2022.02.1/package/rtl8188eu/rtl8188eu.hash diff --git a/buildroot-2021.05/package/rtl8188eu/rtl8188eu.mk b/buildroot-2022.02.1/package/rtl8188eu/rtl8188eu.mk similarity index 100% rename from buildroot-2021.05/package/rtl8188eu/rtl8188eu.mk rename to buildroot-2022.02.1/package/rtl8188eu/rtl8188eu.mk diff --git a/buildroot-2022.02.1/package/rtl8189es/Config.in b/buildroot-2022.02.1/package/rtl8189es/Config.in new file mode 100644 index 00000000..2e3474e5 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8189es/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_RTL8189ES + bool "rtl8189es" + depends on BR2_LINUX_KERNEL + help + Wireless driver rtl8189es. + + https://github.com/jwrdegoede/rtl8189ES_linux.git + +comment "rtl8189es needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL diff --git a/buildroot-2022.02.1/package/rtl8189es/rtl8189es.hash b/buildroot-2022.02.1/package/rtl8189es/rtl8189es.hash new file mode 100644 index 00000000..624c51ac --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8189es/rtl8189es.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 bf972b6494844c66885dc6846228994fac6075477cf9a7122ffd521e25ac791c rtl8189es-2c8d44ae26485052f39d933a3a132b3ff395803a.tar.gz diff --git a/buildroot-2022.02.1/package/rtl8189es/rtl8189es.mk b/buildroot-2022.02.1/package/rtl8189es/rtl8189es.mk new file mode 100644 index 00000000..9e4053ae --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8189es/rtl8189es.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# rtl8189es +# +################################################################################ + +RTL8189ES_VERSION = 2c8d44ae26485052f39d933a3a132b3ff395803a +RTL8189ES_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189ES_VERSION)) +RTL8189ES_LICENSE = GPL-2.0 + +RTL8189ES_MODULE_MAKE_OPTS = \ + CONFIG_RTL8189ES=m \ + KVER=$(LINUX_VERSION_PROBED) \ + KSRC=$(LINUX_DIR) + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/rtl8189fs/0001-include-disable-debug-messages.patch b/buildroot-2022.02.1/package/rtl8189fs/0001-include-disable-debug-messages.patch new file mode 100644 index 00000000..532982b1 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8189fs/0001-include-disable-debug-messages.patch @@ -0,0 +1,28 @@ +From 5d3a44ff1aeb8ace6e08df3cad16102aaac1ef09 Mon Sep 17 00:00:00 2001 +From: Sergey Matyukevich +Date: Sun, 13 Jun 2021 15:51:51 +0300 +Subject: [PATCH] include: disable debug messages + +Disable debug messages to make rtl8189fs driver less noisy. + +Signed-off-by: Sergey Matyukevich +--- + include/autoconf.h | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/include/autoconf.h b/include/autoconf.h +index 44efe42..b5df57b 100644 +--- a/include/autoconf.h ++++ b/include/autoconf.h +@@ -224,8 +224,6 @@ + /* + * Debug Related Config + */ +-#define CONFIG_DEBUG /* DBG_871X, etc... */ +- + #ifdef CONFIG_DEBUG + #define DBG 1 // for ODM & BTCOEX debug + //#define CONFIG_DEBUG_RTL871X /* RT_TRACE, RT_PRINT_DATA, _func_enter_, _func_exit_ */ +-- +2.32.0 + diff --git a/buildroot-2021.05/package/rtl8189fs/Config.in b/buildroot-2022.02.1/package/rtl8189fs/Config.in similarity index 100% rename from buildroot-2021.05/package/rtl8189fs/Config.in rename to buildroot-2022.02.1/package/rtl8189fs/Config.in diff --git a/buildroot-2022.02.1/package/rtl8189fs/rtl8189fs.hash b/buildroot-2022.02.1/package/rtl8189fs/rtl8189fs.hash new file mode 100644 index 00000000..a7c36418 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8189fs/rtl8189fs.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 2350a15f866ac82a33c11f9505f2deb0f4aa819b9ac1f4809f8d6893412e73fd rtl8189fs-e10294d2ded27586149fedee1f834d75477b8b40.tar.gz diff --git a/buildroot-2022.02.1/package/rtl8189fs/rtl8189fs.mk b/buildroot-2022.02.1/package/rtl8189fs/rtl8189fs.mk new file mode 100644 index 00000000..83c7f3ee --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8189fs/rtl8189fs.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# rtl8189fs +# +################################################################################ + +RTL8189FS_VERSION = e10294d2ded27586149fedee1f834d75477b8b40 +RTL8189FS_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189FS_VERSION)) +RTL8189FS_LICENSE = GPL-2.0 + +RTL8189FS_MODULE_MAKE_OPTS = \ + CONFIG_RTL8189FS=m \ + KVER=$(LINUX_VERSION_PROBED) \ + KSRC=$(LINUX_DIR) + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtl8723bs/0001-rtl8723bs-add-debug-level-modparam.patch b/buildroot-2022.02.1/package/rtl8723bs/0001-rtl8723bs-add-debug-level-modparam.patch similarity index 100% rename from buildroot-2021.05/package/rtl8723bs/0001-rtl8723bs-add-debug-level-modparam.patch rename to buildroot-2022.02.1/package/rtl8723bs/0001-rtl8723bs-add-debug-level-modparam.patch diff --git a/buildroot-2021.05/package/rtl8723bs/Config.in b/buildroot-2022.02.1/package/rtl8723bs/Config.in similarity index 100% rename from buildroot-2021.05/package/rtl8723bs/Config.in rename to buildroot-2022.02.1/package/rtl8723bs/Config.in diff --git a/buildroot-2021.05/package/rtl8723bs/rtl8723bs.mk b/buildroot-2022.02.1/package/rtl8723bs/rtl8723bs.mk similarity index 100% rename from buildroot-2021.05/package/rtl8723bs/rtl8723bs.mk rename to buildroot-2022.02.1/package/rtl8723bs/rtl8723bs.mk diff --git a/buildroot-2021.05/package/rtl8723bu/Config.in b/buildroot-2022.02.1/package/rtl8723bu/Config.in similarity index 100% rename from buildroot-2021.05/package/rtl8723bu/Config.in rename to buildroot-2022.02.1/package/rtl8723bu/Config.in diff --git a/buildroot-2022.02.1/package/rtl8723bu/rtl8723bu.hash b/buildroot-2022.02.1/package/rtl8723bu/rtl8723bu.hash new file mode 100644 index 00000000..1dad7154 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8723bu/rtl8723bu.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 1cd658742ce10b21c92877e09cecc98880680d5f150de3845553005abc542977 rtl8723bu-19b4bdc05483a1e79a4f955a80f8f72cdd5dedc3.tar.gz diff --git a/buildroot-2022.02.1/package/rtl8723bu/rtl8723bu.mk b/buildroot-2022.02.1/package/rtl8723bu/rtl8723bu.mk new file mode 100644 index 00000000..838bbedb --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8723bu/rtl8723bu.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# rtl8723bu +# +################################################################################ + +RTL8723BU_VERSION = 19b4bdc05483a1e79a4f955a80f8f72cdd5dedc3 +RTL8723BU_SITE = $(call github,lwfinger,rtl8723bu,$(RTL8723BU_VERSION)) +RTL8723BU_LICENSE = GPL-2.0, proprietary (*.bin firmware blobs) + +RTL8723BU_MODULE_MAKE_OPTS = \ + KVER=$(LINUX_VERSION_PROBED) \ + KSRC=$(LINUX_DIR) + +define RTL8723BU_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 644 $(@D)/rtl8723b_fw.bin $(TARGET_DIR)/lib/firmware/rtl_bt/rtl8723b_fw.bin +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/Config.in b/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/Config.in new file mode 100644 index 00000000..70cbd152 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/Config.in @@ -0,0 +1,10 @@ +comment "rtl8812au-aircrack-ng needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +config BR2_PACKAGE_RTL8812AU_AIRCRACK_NG + bool "rtl8812au-aircrack-ng" + depends on BR2_LINUX_KERNEL + help + rtl8812au wifi driver (aircrack-ng repository) + + https://github.com/aircrack-ng/rtl8812au diff --git a/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash b/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash new file mode 100644 index 00000000..ed1921d1 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 acae758c3834196c71f4ee58f53a3c1b29ffd984f63ff2f40f2b080c8785c49f rtl8812au-aircrack-ng-3a6402e9e79802891f1531b435be54f4d8b71f0b.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk b/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk new file mode 100644 index 00000000..2bbca88c --- /dev/null +++ b/buildroot-2022.02.1/package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# rtl8812au-aircrack-ng +# +################################################################################ + +RTL8812AU_AIRCRACK_NG_VERSION = 3a6402e9e79802891f1531b435be54f4d8b71f0b +RTL8812AU_AIRCRACK_NG_SITE = $(call github,aircrack-ng,rtl8812au,$(RTL8812AU_AIRCRACK_NG_VERSION)) +RTL8812AU_AIRCRACK_NG_LICENSE = GPL-2.0 +RTL8812AU_AIRCRACK_NG_LICENSE_FILES = LICENSE + +RTL8812AU_AIRCRACK_NG_MODULE_MAKE_OPTS = \ + CONFIG_88XXAU=m \ + KVER=$(LINUX_VERSION_PROBED) \ + USER_EXTRA_CFLAGS="-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN" + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch b/buildroot-2022.02.1/package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch similarity index 100% rename from buildroot-2021.05/package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch rename to buildroot-2022.02.1/package/rtl8821au/0001-Fix-implicit-fallthrough-comments-for-kernel-5.3.patch diff --git a/buildroot-2021.05/package/rtl8821au/0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch b/buildroot-2022.02.1/package/rtl8821au/0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch similarity index 100% rename from buildroot-2021.05/package/rtl8821au/0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch rename to buildroot-2022.02.1/package/rtl8821au/0002-Fix-kernel-5.3-driver-crashes-from-aircrack-ng-rtl88.patch diff --git a/buildroot-2021.05/package/rtl8821au/0003-Fix-using-sprintf-for-extending-string-which-causes-.patch b/buildroot-2022.02.1/package/rtl8821au/0003-Fix-using-sprintf-for-extending-string-which-causes-.patch similarity index 100% rename from buildroot-2021.05/package/rtl8821au/0003-Fix-using-sprintf-for-extending-string-which-causes-.patch rename to buildroot-2022.02.1/package/rtl8821au/0003-Fix-using-sprintf-for-extending-string-which-causes-.patch diff --git a/buildroot-2021.05/package/rtl8821au/0004-rename-sha256_state-to-rtl_sha256_state-to-avoid-nam.patch b/buildroot-2022.02.1/package/rtl8821au/0004-rename-sha256_state-to-rtl_sha256_state-to-avoid-nam.patch similarity index 100% rename from buildroot-2021.05/package/rtl8821au/0004-rename-sha256_state-to-rtl_sha256_state-to-avoid-nam.patch rename to buildroot-2022.02.1/package/rtl8821au/0004-rename-sha256_state-to-rtl_sha256_state-to-avoid-nam.patch diff --git a/buildroot-2021.05/package/rtl8821au/0005-disable-rtw_mgmt_frame_register-on-kernel-5.8.0.patch b/buildroot-2022.02.1/package/rtl8821au/0005-disable-rtw_mgmt_frame_register-on-kernel-5.8.0.patch similarity index 100% rename from buildroot-2021.05/package/rtl8821au/0005-disable-rtw_mgmt_frame_register-on-kernel-5.8.0.patch rename to buildroot-2022.02.1/package/rtl8821au/0005-disable-rtw_mgmt_frame_register-on-kernel-5.8.0.patch diff --git a/buildroot-2021.05/package/rtl8821au/0006-rtw_proc-convert-file_operations-to-proc_ops-for-5.6.patch b/buildroot-2022.02.1/package/rtl8821au/0006-rtw_proc-convert-file_operations-to-proc_ops-for-5.6.patch similarity index 100% rename from buildroot-2021.05/package/rtl8821au/0006-rtw_proc-convert-file_operations-to-proc_ops-for-5.6.patch rename to buildroot-2022.02.1/package/rtl8821au/0006-rtw_proc-convert-file_operations-to-proc_ops-for-5.6.patch diff --git a/buildroot-2021.05/package/rtl8821au/Config.in b/buildroot-2022.02.1/package/rtl8821au/Config.in similarity index 100% rename from buildroot-2021.05/package/rtl8821au/Config.in rename to buildroot-2022.02.1/package/rtl8821au/Config.in diff --git a/buildroot-2021.05/package/rtl8821au/rtl8821au.hash b/buildroot-2022.02.1/package/rtl8821au/rtl8821au.hash similarity index 100% rename from buildroot-2021.05/package/rtl8821au/rtl8821au.hash rename to buildroot-2022.02.1/package/rtl8821au/rtl8821au.hash diff --git a/buildroot-2021.05/package/rtl8821au/rtl8821au.mk b/buildroot-2022.02.1/package/rtl8821au/rtl8821au.mk similarity index 100% rename from buildroot-2021.05/package/rtl8821au/rtl8821au.mk rename to buildroot-2022.02.1/package/rtl8821au/rtl8821au.mk diff --git a/buildroot-2022.02.1/package/rtl_433/0001-minor-Fix-a-compiler-flag-needs-GCC-7.patch b/buildroot-2022.02.1/package/rtl_433/0001-minor-Fix-a-compiler-flag-needs-GCC-7.patch new file mode 100644 index 00000000..dd3debf7 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl_433/0001-minor-Fix-a-compiler-flag-needs-GCC-7.patch @@ -0,0 +1,27 @@ +From 2010e8f949ab7b4555b99dbf184e149a3f33df46 Mon Sep 17 00:00:00 2001 +From: "Christian W. Zuckschwerdt" +Date: Fri, 24 Dec 2021 11:03:06 +0100 +Subject: [PATCH] minor: Fix a compiler flag needs GCC 7 + +[Retrieved from: +https://github.com/merbanan/rtl_433/commit/2010e8f949ab7b4555b99dbf184e149a3f33df46] +Signed-off-by: Fabrice Fontaine +--- + CMakeLists.txt | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a3f11ac99..bfa6595ca 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -74,7 +74,9 @@ if(("${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" MATCHES + ADD_DEFINITIONS(-pedantic) + ADD_DEFINITIONS(-Wshadow) + ADD_DEFINITIONS(-Wmissing-prototypes) +- ADD_DEFINITIONS(-Wimplicit-fallthrough) ++ if("${CMAKE_C_COMPILER_ID}" MATCHES "Clang" OR NOT "7.0.0" VERSION_GREATER CMAKE_C_COMPILER_VERSION) ++ ADD_DEFINITIONS(-Wimplicit-fallthrough) ++ endif() + #ADD_DEFINITIONS(-Wfloat-equal) + #ADD_DEFINITIONS(-Wbad-function-cast) + #ADD_DEFINITIONS(-Wdocumentation) diff --git a/buildroot-2022.02.1/package/rtl_433/0002-src-optparse.c-fix-build-without-__has_attribute.patch b/buildroot-2022.02.1/package/rtl_433/0002-src-optparse.c-fix-build-without-__has_attribute.patch new file mode 100644 index 00000000..68375484 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl_433/0002-src-optparse.c-fix-build-without-__has_attribute.patch @@ -0,0 +1,34 @@ +From 1b74826f155406f86846d5c97b3534aab87cf6da Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 26 Dec 2021 15:21:39 +0100 +Subject: [PATCH] src/optparse.c: fix build without __has_attribute + +Fix build failure without __has_attribute (e.g. gcc 4.8) which is raised +since +https://github.com/merbanan/rtl_433/commit/6c8af75c757712bd58b169317795484a72e9a16c + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/merbanan/rtl_433/pull/1918] +--- + src/optparse.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/optparse.c b/src/optparse.c +index aa3d0b53..b5e2d37e 100644 +--- a/src/optparse.c ++++ b/src/optparse.c +@@ -232,9 +232,11 @@ int atoi_time(char const *str, char const *error_hint) + } + // intentional fallthrough + #if defined(__GNUC__) || defined(__clang__) ++#if defined __has_attribute + #if __has_attribute(fallthrough) + __attribute__((fallthrough)); + #endif ++#endif + #endif + case ':': + ++colons; +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/rtl_433/0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch b/buildroot-2022.02.1/package/rtl_433/0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch new file mode 100644 index 00000000..e2088b29 --- /dev/null +++ b/buildroot-2022.02.1/package/rtl_433/0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch @@ -0,0 +1,58 @@ +From 2dad7b9fc67a1d0bfbe520fbd821678b8f8cc7a8 Mon Sep 17 00:00:00 2001 +From: "Christian W. Zuckschwerdt" +Date: Mon, 24 Jan 2022 15:53:20 +0100 +Subject: [PATCH] minor: Fix overflow in Clipsal-CMR113 and Somfy-IOHC reported + by aug5t7 + +[Retrieved from: +https://github.com/merbanan/rtl_433/commit/2dad7b9fc67a1d0bfbe520fbd821678b8f8cc7a8] +Signed-off-by: Fabrice Fontaine +--- + src/devices/cmr113.c | 4 ++-- + src/devices/somfy_iohc.c | 9 +++++---- + 2 files changed, 7 insertions(+), 6 deletions(-) + +diff --git a/src/devices/cmr113.c b/src/devices/cmr113.c +index c85dfac56..19ec5d421 100644 +--- a/src/devices/cmr113.c ++++ b/src/devices/cmr113.c +@@ -42,8 +42,8 @@ Kudos to Jon Oxer for decoding this stream and putting it here: + + */ + +-#define COMPARE_BITS 83 +-#define COMPARE_BYTES (COMPARE_BITS/8) ++#define COMPARE_BITS 83 ++#define COMPARE_BYTES ((COMPARE_BITS + 7) / 8) + + static int cmr113_decode(r_device *decoder, bitbuffer_t *bitbuffer) + { +diff --git a/src/devices/somfy_iohc.c b/src/devices/somfy_iohc.c +index 906cae53e..2c88067b5 100644 +--- a/src/devices/somfy_iohc.c ++++ b/src/devices/somfy_iohc.c +@@ -100,11 +100,12 @@ static int somfy_iohc_decode(r_device *decoder, bitbuffer_t *bitbuffer) + if (bitbuffer->num_rows != 1) + return DECODE_ABORT_EARLY; + +- int offset = bitbuffer_search(bitbuffer, 0, 0, preamble_pattern, 24) + 24; +- if (offset >= bitbuffer->bits_per_row[0] - 19 * 10) ++ unsigned offset = bitbuffer_search(bitbuffer, 0, 0, preamble_pattern, 24) + 24; ++ if (offset + 19 * 10 >= bitbuffer->bits_per_row[0]) + return DECODE_ABORT_EARLY; + +- int num_bits = bitbuffer->bits_per_row[0] - offset; ++ unsigned num_bits = bitbuffer->bits_per_row[0] - offset; ++ num_bits = MIN(num_bits, sizeof (b) * 8); + + int len = extract_bytes_uart(bitbuffer->bb[0], offset, num_bits, b); + if (len < 19) +@@ -120,7 +121,7 @@ static int somfy_iohc_decode(r_device *decoder, bitbuffer_t *bitbuffer) + // calculate and verify checksum + if (crc16lsb(b, len, 0x8408, 0x0000) != 0) // unreflected poly 0x1021 + return DECODE_FAIL_MIC; +- bitrow_printf(b, len * 8, "%s: offset %d, num_bits %d, len %d, msg_len %d\n", __func__, offset, num_bits, len, msg_len); ++ bitrow_printf(b, len * 8, "%s: offset %u, num_bits %u, len %d, msg_len %d\n", __func__, offset, num_bits, len, msg_len); + + int msg_type = (b[0]); + int dst_id = ((unsigned)b[4] << 24) | (b[3] << 16) | (b[2] << 8) | (b[1]); // assume Little-Endian diff --git a/buildroot-2022.02.1/package/rtl_433/Config.in b/buildroot-2022.02.1/package/rtl_433/Config.in new file mode 100644 index 00000000..5664227c --- /dev/null +++ b/buildroot-2022.02.1/package/rtl_433/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_RTL_433 + bool "rtl_433" + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK if BR2_PACKAGE_LIBOPENSSL + help + rtl_433 (despite the name) is a generic data receiver, mainly + for the 433.92 MHz, 868 MHz (SRD), 315 MHz, 345 MHz, and 915 + MHz ISM bands. + + https://github.com/merbanan/rtl_433 + +comment "rtl_433 needs a toolchain w/ dynamic library, threads" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/rtl_433/rtl_433.hash b/buildroot-2022.02.1/package/rtl_433/rtl_433.hash new file mode 100644 index 00000000..fd479dfd --- /dev/null +++ b/buildroot-2022.02.1/package/rtl_433/rtl_433.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 b362ef3410adec64aee7ad8e6d4d74875f1b3d59ef6fb4856e96adc03876dc65 rtl_433-21.12.tar.gz +# License file, locally calculated +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/rtl_433/rtl_433.mk b/buildroot-2022.02.1/package/rtl_433/rtl_433.mk new file mode 100644 index 00000000..d1c28adb --- /dev/null +++ b/buildroot-2022.02.1/package/rtl_433/rtl_433.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# rtl_433 +# +################################################################################ + +RTL_433_VERSION = 21.12 +RTL_433_SITE = $(call github,merbanan,rtl_433,$(RTL_433_VERSION)) +RTL_433_LICENSE = GPL-2.0+ +RTL_433_LICENSE_FILES = COPYING + +# Force Release build to remove ASAN. +RTL_433_CONF_OPTS = \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_DOCUMENTATION=OFF \ + -DBUILD_TESTING=OFF \ + -DBUILD_TESTING_ANALYZER=OFF \ + -DENABLE_SOAPYSDR=OFF + +# 0003-minor-Fix-overflow-in-Clipsal-CMR113-and-Somfy-IOHC.patch +RTL_433_IGNORE_CVES += CVE-2022-25051 + +ifeq ($(BR2_PACKAGE_LIBRTLSDR),y) +RTL_433_DEPENDENCIES += librtlsdr +RTL_433_CONF_OPTS += -DENABLE_RTLSDR=ON +else +RTL_433_CONF_OPTS += -DENABLE_RTLSDR=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +RTL_433_DEPENDENCIES += openssl +RTL_433_CONF_OPTS += -DENABLE_OPENSSL=ON +else +RTL_433_CONF_OPTS += -DENABLE_OPENSSL=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/rtmpdump/0001-include-limits.h.patch b/buildroot-2022.02.1/package/rtmpdump/0001-include-limits.h.patch similarity index 100% rename from buildroot-2021.05/package/rtmpdump/0001-include-limits.h.patch rename to buildroot-2022.02.1/package/rtmpdump/0001-include-limits.h.patch diff --git a/buildroot-2021.05/package/rtmpdump/Config.in b/buildroot-2022.02.1/package/rtmpdump/Config.in similarity index 100% rename from buildroot-2021.05/package/rtmpdump/Config.in rename to buildroot-2022.02.1/package/rtmpdump/Config.in diff --git a/buildroot-2021.05/package/rtmpdump/rtmpdump.hash b/buildroot-2022.02.1/package/rtmpdump/rtmpdump.hash similarity index 100% rename from buildroot-2021.05/package/rtmpdump/rtmpdump.hash rename to buildroot-2022.02.1/package/rtmpdump/rtmpdump.hash diff --git a/buildroot-2022.02.1/package/rtmpdump/rtmpdump.mk b/buildroot-2022.02.1/package/rtmpdump/rtmpdump.mk new file mode 100644 index 00000000..fb381d0e --- /dev/null +++ b/buildroot-2022.02.1/package/rtmpdump/rtmpdump.mk @@ -0,0 +1,55 @@ +################################################################################ +# +# rtmpdump +# +################################################################################ + +RTMPDUMP_VERSION = c5f04a58fc2aeea6296ca7c44ee4734c18401aa3 +RTMPDUMP_SITE = https://git.ffmpeg.org/rtmpdump +RTMPDUMP_SITE_METHOD = git +RTMPDUMP_INSTALL_STAGING = YES +# Note that rtmpdump is GPL-2.0 but librtmp has its own license and since we only +# care about librtmp, it's LGPL-2.1+ +RTMPDUMP_LICENSE = LGPL-2.1+ +RTMPDUMP_LICENSE_FILES = librtmp/COPYING +RTMPDUMP_CPE_ID_VENDOR = rtmpdump_project +RTMPDUMP_DEPENDENCIES = zlib + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +RTMPDUMP_DEPENDENCIES += gnutls +RTMPDUMP_CRYPTO = GNUTLS +else +# no crypto +RTMPDUMP_CRYPTO = +endif + +RTMPDUMP_CFLAGS = $(TARGET_CFLAGS) + +ifneq ($(BR2_STATIC_LIBS),y) +RTMPDUMP_CFLAGS += -fPIC +else +RTMPDUMP_SHARED = "SHARED=" +endif + +RTMPDUMP_MAKE_FLAGS = \ + CRYPTO=$(RTMPDUMP_CRYPTO) \ + prefix=/usr \ + $(RTMPDUMP_SHARED) + +define RTMPDUMP_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(RTMPDUMP_MAKE_FLAGS) \ + XCFLAGS="$(RTMPDUMP_CFLAGS)" \ + XLDFLAGS="$(TARGET_LDFLAGS)" \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + -C $(@D)/librtmp +endef + +define RTMPDUMP_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR) $(RTMPDUMP_MAKE_FLAGS) +endef + +define RTMPDUMP_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR) $(RTMPDUMP_MAKE_FLAGS) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/rtorrent/0001-Added--disable-execinfo-option-to-configure.patch b/buildroot-2022.02.1/package/rtorrent/0001-Added--disable-execinfo-option-to-configure.patch new file mode 100644 index 00000000..4ff4182b --- /dev/null +++ b/buildroot-2022.02.1/package/rtorrent/0001-Added--disable-execinfo-option-to-configure.patch @@ -0,0 +1,34 @@ +From 582e4e40256b43d3e5322168f1e1ed71ca70ab64 Mon Sep 17 00:00:00 2001 +From: rakshasa +Date: Wed, 16 Jun 2021 23:29:01 +0900 +Subject: [PATCH] Added '--disable-execinfo' option to configure. + +[Retrieved (and backported) from: +https://github.com/rakshasa/rtorrent/commit/582e4e40256b43d3e5322168f1e1ed71ca70ab64] +Signed-off-by: Fabrice Fontaine +--- + configure.ac | 11 ++++++++++- + 1 file changed, 10 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index e3e7d3f1..0f45bc6a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -27,7 +27,15 @@ TORRENT_WITHOUT_VARIABLE_FDSET + + AC_SYS_LARGEFILE + +-TORRENT_CHECK_EXECINFO ++AC_ARG_ENABLE(execinfo, ++ AC_HELP_STRING([--disable-execinfo], [disable libexecinfo [[default=enable]]]), ++ [ ++ if test "$enableval" = "yes"; then ++ TORRENT_CHECK_EXECINFO ++ fi ++ ],[ ++ TORRENT_CHECK_EXECINFO ++ ]) + + TORRENT_ENABLE_ARCH + TORRENT_WITH_SYSROOT + diff --git a/buildroot-2021.05/package/rtorrent/Config.in b/buildroot-2022.02.1/package/rtorrent/Config.in similarity index 100% rename from buildroot-2021.05/package/rtorrent/Config.in rename to buildroot-2022.02.1/package/rtorrent/Config.in diff --git a/buildroot-2021.05/package/rtorrent/rtorrent.hash b/buildroot-2022.02.1/package/rtorrent/rtorrent.hash similarity index 100% rename from buildroot-2021.05/package/rtorrent/rtorrent.hash rename to buildroot-2022.02.1/package/rtorrent/rtorrent.hash diff --git a/buildroot-2022.02.1/package/rtorrent/rtorrent.mk b/buildroot-2022.02.1/package/rtorrent/rtorrent.mk new file mode 100644 index 00000000..210b1d34 --- /dev/null +++ b/buildroot-2022.02.1/package/rtorrent/rtorrent.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# rtorrent +# +################################################################################ + +RTORRENT_VERSION = 0.9.8 +RTORRENT_SITE = http://rtorrent.net/downloads +RTORRENT_DEPENDENCIES = host-pkgconf libcurl libtorrent ncurses +RTORRENT_LICENSE = GPL-2.0 +RTORRENT_LICENSE_FILES = COPYING +# We're patching configure.ac +RTORRENT_AUTORECONF = YES +RTORRENT_CONF_OPTS = --disable-execinfo + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/rtptools/Config.in b/buildroot-2022.02.1/package/rtptools/Config.in similarity index 100% rename from buildroot-2021.05/package/rtptools/Config.in rename to buildroot-2022.02.1/package/rtptools/Config.in diff --git a/buildroot-2021.05/package/rtptools/rtptools.hash b/buildroot-2022.02.1/package/rtptools/rtptools.hash similarity index 100% rename from buildroot-2021.05/package/rtptools/rtptools.hash rename to buildroot-2022.02.1/package/rtptools/rtptools.hash diff --git a/buildroot-2021.05/package/rtptools/rtptools.mk b/buildroot-2022.02.1/package/rtptools/rtptools.mk similarity index 100% rename from buildroot-2021.05/package/rtptools/rtptools.mk rename to buildroot-2022.02.1/package/rtptools/rtptools.mk diff --git a/buildroot-2021.05/package/rtty/Config.in b/buildroot-2022.02.1/package/rtty/Config.in similarity index 100% rename from buildroot-2021.05/package/rtty/Config.in rename to buildroot-2022.02.1/package/rtty/Config.in diff --git a/buildroot-2022.02.1/package/rtty/rtty.hash b/buildroot-2022.02.1/package/rtty/rtty.hash new file mode 100644 index 00000000..b2e9db24 --- /dev/null +++ b/buildroot-2022.02.1/package/rtty/rtty.hash @@ -0,0 +1,2 @@ +sha256 9bc5d30dfa9bd664a62711b6229f47505b83adb364907f24e3a404aad52a4802 rtty-7.4.0.tar.gz +sha256 99efed4bbc0b62f96f999ef23399e38234fb91651af734fd389a52b033a85b55 LICENSE diff --git a/buildroot-2022.02.1/package/rtty/rtty.mk b/buildroot-2022.02.1/package/rtty/rtty.mk new file mode 100644 index 00000000..4ec22039 --- /dev/null +++ b/buildroot-2022.02.1/package/rtty/rtty.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# rtty +# +################################################################################ + +RTTY_VERSION = 7.4.0 +RTTY_SITE = https://github.com/zhaojh329/rtty/releases/download/v$(RTTY_VERSION) +RTTY_LICENSE = MIT +RTTY_LICENSE_FILES = LICENSE +RTTY_DEPENDENCIES = libev + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +RTTY_DEPENDENCIES += mbedtls +RTTY_CONF_OPTS += \ + -DRTTY_SSL_SUPPORT=ON \ + -DRTTY_USE_MBEDTLS=ON \ + -DRTTY_USE_OPENSSL=OFF \ + -DRTTY_USE_WOLFSSL=OFF +else ifeq ($(BR2_PACKAGE_OPENSSL),y) +RTTY_DEPENDENCIES += host-pkgconf openssl +RTTY_CONF_OPTS += \ + -DRTTY_SSL_SUPPORT=ON \ + -DRTTY_USE_MBEDTLS=OFF \ + -DRTTY_USE_OPENSSL=ON \ + -DRTTY_USE_WOLFSSL=OFF +else ifeq ($(BR2_PACKAGE_WOLFSSL),y) +RTTY_DEPENDENCIES += wolfssl +RTTY_CONF_OPTS += \ + -DRTTY_SSL_SUPPORT=ON \ + -DRTTY_USE_MBEDTLS=OFF \ + -DRTTY_USE_OPENSSL=OFF \ + -DRTTY_USE_WOLFSSL=ON +else +RTTY_CONF_OPTS += -DRTTY_SSL_SUPPORT=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/rubix/0001-dont-use-legacy-functions.patch b/buildroot-2022.02.1/package/rubix/0001-dont-use-legacy-functions.patch similarity index 100% rename from buildroot-2021.05/package/rubix/0001-dont-use-legacy-functions.patch rename to buildroot-2022.02.1/package/rubix/0001-dont-use-legacy-functions.patch diff --git a/buildroot-2021.05/package/rubix/0002-misc-fixes.patch b/buildroot-2022.02.1/package/rubix/0002-misc-fixes.patch similarity index 100% rename from buildroot-2021.05/package/rubix/0002-misc-fixes.patch rename to buildroot-2022.02.1/package/rubix/0002-misc-fixes.patch diff --git a/buildroot-2021.05/package/rubix/Config.in b/buildroot-2022.02.1/package/rubix/Config.in similarity index 100% rename from buildroot-2021.05/package/rubix/Config.in rename to buildroot-2022.02.1/package/rubix/Config.in diff --git a/buildroot-2021.05/package/rubix/rubix.hash b/buildroot-2022.02.1/package/rubix/rubix.hash similarity index 100% rename from buildroot-2021.05/package/rubix/rubix.hash rename to buildroot-2022.02.1/package/rubix/rubix.hash diff --git a/buildroot-2021.05/package/rubix/rubix.mk b/buildroot-2022.02.1/package/rubix/rubix.mk similarity index 100% rename from buildroot-2021.05/package/rubix/rubix.mk rename to buildroot-2022.02.1/package/rubix/rubix.mk diff --git a/buildroot-2022.02.1/package/ruby/Config.in b/buildroot-2022.02.1/package/ruby/Config.in new file mode 100644 index 00000000..c2101209 --- /dev/null +++ b/buildroot-2022.02.1/package/ruby/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_RUBY + bool "ruby" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_HOST_GCC_AT_LEAST_4_9 + help + Object Oriented Scripting Language. + + http://www.ruby-lang.org/ + +comment "ruby needs a toolchain w/ wchar, threads, dynamic library, gcc >= 4.9, host gcc >= 4.9" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/ruby/ruby.hash b/buildroot-2022.02.1/package/ruby/ruby.hash new file mode 100644 index 00000000..90e7627a --- /dev/null +++ b/buildroot-2022.02.1/package/ruby/ruby.hash @@ -0,0 +1,6 @@ +# https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/ +sha512 a2bb6b5e62d5fa06dd9c30cf84ddcb2c27cb87fbaaffd2309a44391a6b110e1dde6b7b0d8c659b56387ee3c9b4264003f3532d5a374123a7c187ebba9293f320 ruby-3.1.0.tar.xz +# License files, Locally calculated +sha256 794c384f94396ab07e3e6f53a9f8be093facb7eb4193266024302b93b29e12dc LEGAL +sha256 967586d538a28955ec2541910cf63c5ac345fcdea94bfb1f1705a1f6eb36bcbb COPYING +sha256 36a9a6e7347214bbba599a412617204e65bff065dcbe5c46f5cb454c80de9eb0 BSDL diff --git a/buildroot-2022.02.1/package/ruby/ruby.mk b/buildroot-2022.02.1/package/ruby/ruby.mk new file mode 100644 index 00000000..4f3b94f8 --- /dev/null +++ b/buildroot-2022.02.1/package/ruby/ruby.mk @@ -0,0 +1,105 @@ +################################################################################ +# +# ruby +# +################################################################################ + +RUBY_VERSION_MAJOR = 3.1 +RUBY_VERSION = $(RUBY_VERSION_MAJOR).0 +RUBY_VERSION_EXT = 3.1.0 +RUBY_SITE = http://cache.ruby-lang.org/pub/ruby/$(RUBY_VERSION_MAJOR) +RUBY_SOURCE = ruby-$(RUBY_VERSION).tar.xz + +RUBY_LICENSE = \ + Ruby or BSD-2-Clause, \ + BSD-3-Clause, \ + MIT, \ + others +RUBY_LICENSE_FILES = LEGAL COPYING BSDL + +RUBY_CPE_ID_VENDOR = ruby-lang + +RUBY_DEPENDENCIES = host-pkgconf host-ruby +HOST_RUBY_DEPENDENCIES = host-pkgconf host-openssl +RUBY_MAKE_ENV = $(TARGET_MAKE_ENV) +RUBY_CONF_OPTS = --disable-install-doc --disable-rpath --disable-rubygems +HOST_RUBY_CONF_OPTS = \ + --disable-install-doc \ + --with-out-ext=curses,readline \ + --without-gmp + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +RUBY_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +# On uClibc, finite, isinf and isnan are not directly implemented as +# functions. Instead math.h #define's these to __finite, __isinf and +# __isnan, confusing the Ruby configure script. Tell it that they +# really are available. +RUBY_CONF_ENV += \ + ac_cv_func_finite=yes \ + ac_cv_func_isinf=yes \ + ac_cv_func_isnan=yes +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_SSP),) +RUBY_CONF_ENV += stack_protector=no +endif + +# Force optionals to build before we do +ifeq ($(BR2_PACKAGE_BERKELEYDB),y) +RUBY_DEPENDENCIES += berkeleydb +endif +ifeq ($(BR2_PACKAGE_LIBFFI),y) +RUBY_DEPENDENCIES += libffi +else +# Disable fiddle to avoid a build failure with bundled-libffi on MIPS +RUBY_CONF_OPTS += --with-out-ext=fiddle +endif +ifeq ($(BR2_PACKAGE_GDBM),y) +RUBY_DEPENDENCIES += gdbm +endif +ifeq ($(BR2_PACKAGE_LIBYAML),y) +RUBY_DEPENDENCIES += libyaml +endif +ifeq ($(BR2_PACKAGE_NCURSES),y) +RUBY_DEPENDENCIES += ncurses +endif +ifeq ($(BR2_PACKAGE_OPENSSL),y) +RUBY_DEPENDENCIES += openssl +endif +ifeq ($(BR2_PACKAGE_READLINE),y) +RUBY_DEPENDENCIES += readline +endif +ifeq ($(BR2_PACKAGE_ZLIB),y) +RUBY_DEPENDENCIES += zlib +endif +ifeq ($(BR2_PACKAGE_GMP),y) +RUBY_DEPENDENCIES += gmp +RUBY_CONF_OPTS += --with-gmp +else +RUBY_CONF_OPTS += --without-gmp +endif + +RUBY_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_83143),y) +RUBY_CFLAGS += -freorder-blocks-algorithm=simple +endif + +RUBY_CONF_OPTS += CFLAGS="$(RUBY_CFLAGS)" + +# Remove rubygems and friends, as they need extensions that aren't +# built and a target compiler. +RUBY_EXTENSIONS_REMOVE = rake* rdoc* rubygems* +define RUBY_REMOVE_RUBYGEMS + rm -f $(addprefix $(TARGET_DIR)/usr/bin/, gem rdoc ri rake) + rm -rf $(TARGET_DIR)/usr/lib/ruby/gems + rm -rf $(addprefix $(TARGET_DIR)/usr/lib/ruby/$(RUBY_VERSION_EXT)/, \ + $(RUBY_EXTENSIONS_REMOVE)) +endef +RUBY_POST_INSTALL_TARGET_HOOKS += RUBY_REMOVE_RUBYGEMS + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/runc/Config.in b/buildroot-2022.02.1/package/runc/Config.in new file mode 100644 index 00000000..66203896 --- /dev/null +++ b/buildroot-2022.02.1/package/runc/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_RUNC + bool "runc" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_UCLIBC # no fexecve + help + runC is a CLI tool for spawning and running containers + according to the OCP specification. + + https://github.com/opencontainers/runc + +comment "runc needs a glibc or musl toolchain w/ threads" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS && \ + BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC diff --git a/buildroot-2022.02.1/package/runc/runc.hash b/buildroot-2022.02.1/package/runc/runc.hash new file mode 100644 index 00000000..fe3c4cc4 --- /dev/null +++ b/buildroot-2022.02.1/package/runc/runc.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 11a34535c108b36fd59de58e7bef3a130444c9ea41e4b8bb8f8d4654c8ad654c runc-1.1.1.tar.gz +sha256 552a739c3b25792263f731542238b92f6f8d07e9a488eae27e6c4690038a8243 LICENSE diff --git a/buildroot-2022.02.1/package/runc/runc.mk b/buildroot-2022.02.1/package/runc/runc.mk new file mode 100644 index 00000000..2618b71f --- /dev/null +++ b/buildroot-2022.02.1/package/runc/runc.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# runc +# +################################################################################ + +RUNC_VERSION = 1.1.1 +RUNC_SITE = $(call github,opencontainers,runc,v$(RUNC_VERSION)) +RUNC_LICENSE = Apache-2.0, LGPL-2.1 (libseccomp) +RUNC_LICENSE_FILES = LICENSE +RUNC_CPE_ID_VENDOR = linuxfoundation + +RUNC_LDFLAGS = -X main.version=$(RUNC_VERSION) +RUNC_TAGS = cgo static_build + +ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) +RUNC_DEPENDENCIES += libapparmor +RUNC_TAGS += apparmor +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +RUNC_TAGS += seccomp +RUNC_DEPENDENCIES += libseccomp host-pkgconf +endif + +$(eval $(golang-package)) diff --git a/buildroot-2022.02.1/package/rust-bin/rust-bin.hash b/buildroot-2022.02.1/package/rust-bin/rust-bin.hash new file mode 100644 index 00000000..9f8788a2 --- /dev/null +++ b/buildroot-2022.02.1/package/rust-bin/rust-bin.hash @@ -0,0 +1,102 @@ +# From https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-i686-unknown-linux-gnu.tar.xz.asc +sha256 110ca4967351d8535f3d39e24f40e2941c20346c5765d3530270e134ae50568e rust-1.58.1-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 f71b077caf0becbd0af9fd22bc1fa31c4fdf7a21fe046da8a15a7bde1286da25 rust-1.58.1-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz.asc +sha256 c7a016ac63aeb5481d661ee3e680b57d35d5ccb902c605c32937a047a02cff49 rust-std-1.58.1-aarch64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz.asc +sha256 4c8d9774fb1f6cfa616f2c43395f438e887a38f0cd901a3886056cc1c1b84c30 rust-std-1.58.1-aarch64-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz.asc +sha256 eb58c2b72e9bbe50c80e9f2981e14d737198f7e17a4cad524d00baefdfa3bc1d rust-std-1.58.1-arm-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz.asc +sha256 58e3f4905c3e7028811971219a3222640f947062fb93dbe51c1674551e9b06a6 rust-std-1.58.1-arm-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz.asc +sha256 b354f0ad28d8cc7d5996d46c3a310c80aa6486ac7b89abcd1eeef7f13435e0ff rust-std-1.58.1-arm-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz.asc +sha256 705fba2a50835354112ab86d1ee8889c39f3c7265d7ca26f1dffebaa463600a6 rust-std-1.58.1-arm-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz.asc +sha256 0505759fa8b26c902a701f266db4bfbfe496de71c5c6548a55c562fe9d386485 rust-std-1.58.1-armv5te-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz.asc +sha256 9ca8adb43b4e75556a99b6c7a9bc1d9aab894bbe109736c34582169ec81aee14 rust-std-1.58.1-armv5te-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz.asc +sha256 9f38bc3220d659ff482db9a0ace9dcb7051991d471149fad7bbb62fce8314e04 rust-std-1.58.1-armv7-unknown-linux-gnueabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz.asc +sha256 1511c675d17033737ab2bd1e87b525aaf59e0455f5a717ab0a91fd849949164f rust-std-1.58.1-armv7-unknown-linux-gnueabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz.asc +sha256 2cf8a8cc2441a1bb4b45b690c87fff4df975fac077240706c08594e26f901bdc rust-std-1.58.1-armv7-unknown-linux-musleabihf.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz.asc +sha256 db86e823484f210884d7d815ffcd7dae355bba86e18151b0838ec06544bb8126 rust-std-1.58.1-armv7-unknown-linux-musleabi.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz.asc +sha256 02bce02f929114cc60126410fceeab6c0bcc8b96c394de9516d8f449880cb585 rust-std-1.58.1-i586-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i586-unknown-linux-musl.tar.xz.asc +sha256 e80d5769f042a00388546dbd26cb40c045d5dddc84e5da3f98d174027ed9eaaa rust-std-1.58.1-i586-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz.asc +sha256 d7f2bc431db551ea9019a6d50d4e3f11e14fabbea3abec1478ac72a281309152 rust-std-1.58.1-i686-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-i686-unknown-linux-musl.tar.xz.asc +sha256 c70fbb13aedfb88cfec8098355a155a4edce3d52f9b099bc033b7c7ac45aab00 rust-std-1.58.1-i686-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz.asc +sha256 b678ac0282cbb1965f9a7485a1f56b01d0229f91ddff5a18a9628f86970f5902 rust-std-1.58.1-mips-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips-unknown-linux-musl.tar.xz.asc +sha256 2f571f4c9b4e86e278539e811f495fb84f44898d4333b983a3d95ef5d2c0fdd8 rust-std-1.58.1-mips-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz.asc +sha256 7f2f613606f039eec83239753a83c227b1d3c39b6474647234e7788a1541e850 rust-std-1.58.1-mips64-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz.asc +sha256 7283539843df5c8abd06b0ce3830efeab0d673447b45d3b6636d2eb296d28681 rust-std-1.58.1-mips64-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz.asc +sha256 3d2935e0979a7150cc271481f5f06569005ee27f0a7ef7ed1a5393c3e34b1974 rust-std-1.58.1-mips64el-unknown-linux-gnuabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz.asc +sha256 33078d23ea70ca405b5938e5a2a74fbf4ec7dc41b729e4991e3e01d4c8370028 rust-std-1.58.1-mips64el-unknown-linux-muslabi64.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz.asc +sha256 fdade0d00dac3524348041ec915a5a96208c9c1929ce746ab6352d0d2897a3a7 rust-std-1.58.1-mipsel-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz.asc +sha256 c747a00ac9a6ee70793002e6db2fbce3b2cd60eda277729468d18369736c6c8e rust-std-1.58.1-mipsel-unknown-linux-musl.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz.asc +sha256 7813f825e5d10aac0ded4b3f785970c69c25464b4edcf9c2b83eff0e55ee95f3 rust-std-1.58.1-powerpc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz.asc +sha256 c68d93de3a46ec709788fee2c38a298a261d4254d299299195ab3474b316a59b rust-std-1.58.1-powerpc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz.asc +sha256 a85f5f42918e8b140d7093ba49fc46a21625863538c95d2db03f831cc445f025 rust-std-1.58.1-powerpc64le-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz.asc +sha256 2d7276fe261478c377913177dcec3e0aeed84f2c567db0ae8e415efee7bb9ce0 rust-std-1.58.1-riscv64gc-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz.asc +sha256 7a7cd002c63179f3f47d64b1140c180986322a7cc0d31de61d7c4728cedacba0 rust-std-1.58.1-sparc64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz.asc +sha256 e72367c15906f021f46801652181c917cd3328be022b93bb30506724f7b56256 rust-std-1.58.1-x86_64-unknown-linux-gnu.tar.xz +# From https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz.asc +sha256 b0d3e03c9b1eff6e241383913b02653ba80776626ca7c4a93f36c2ad829ba989 rust-std-1.58.1-x86_64-unknown-linux-musl.tar.xz +# Locally generated +sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE +sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/buildroot-2022.02.1/package/rust-bin/rust-bin.mk b/buildroot-2022.02.1/package/rust-bin/rust-bin.mk new file mode 100644 index 00000000..d4cb8f50 --- /dev/null +++ b/buildroot-2022.02.1/package/rust-bin/rust-bin.mk @@ -0,0 +1,62 @@ +################################################################################ +# +# rust-bin +# +################################################################################ + +RUST_BIN_VERSION = 1.58.1 +RUST_BIN_SITE = https://static.rust-lang.org/dist +RUST_BIN_LICENSE = Apache-2.0 or MIT +RUST_BIN_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT + +HOST_RUST_BIN_PROVIDES = host-rustc + +HOST_RUST_BIN_SOURCE = rust-$(RUST_BIN_VERSION)-$(RUSTC_HOST_NAME).tar.xz + +ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) +HOST_RUST_BIN_EXTRA_DOWNLOADS += rust-std-$(RUST_BIN_VERSION)-$(RUSTC_TARGET_NAME).tar.xz +endif + +HOST_RUST_BIN_LIBSTD_HOST_PREFIX = rust-std-$(RUSTC_HOST_NAME) + +define HOST_RUST_BIN_LIBSTD_EXTRACT + mkdir -p $(@D)/std + $(foreach f,$(HOST_RUST_BIN_EXTRA_DOWNLOADS), \ + $(call suitable-extractor,$(f)) $(HOST_RUST_BIN_DL_DIR)/$(f) | \ + $(TAR) -C $(@D)/std $(TAR_OPTIONS) - + ) + mkdir -p $(@D)/rustc/lib/rustlib/$(RUSTC_HOST_NAME)/lib + cd $(@D)/rustc/lib/rustlib/$(RUSTC_HOST_NAME)/lib; \ + ln -sf ../../../../../$(HOST_RUST_BIN_LIBSTD_HOST_PREFIX)/lib/rustlib/$(RUSTC_HOST_NAME)/lib/* . +endef + +HOST_RUST_BIN_POST_EXTRACT_HOOKS += HOST_RUST_BIN_LIBSTD_EXTRACT + +HOST_RUST_BIN_INSTALL_COMMON_OPTS = \ + --prefix=$(HOST_DIR) \ + --disable-ldconfig + +HOST_RUST_BIN_INSTALL_OPTS = \ + $(HOST_RUST_BIN_INSTALL_COMMON_OPTS) \ + --components=rustc,cargo,rust-std-$(RUSTC_HOST_NAME) + +define HOST_RUST_BIN_INSTALL_RUSTC + (cd $(@D); \ + ./install.sh $(HOST_RUST_BIN_INSTALL_OPTS)) +endef + +ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) +define HOST_RUST_BIN_INSTALL_LIBSTD_TARGET + (cd $(@D)/std/rust-std-$(RUST_BIN_VERSION)-$(RUSTC_TARGET_NAME); \ + ./install.sh $(HOST_RUST_BIN_INSTALL_COMMON_OPTS)) +endef +endif + +define HOST_RUST_BIN_INSTALL_CMDS + $(HOST_RUST_BIN_INSTALL_RUSTC) + $(HOST_RUST_BIN_INSTALL_LIBSTD_TARGET) +endef + +HOST_RUST_BIN_POST_INSTALL_HOOKS += HOST_RUST_INSTALL_CARGO_CONFIG + +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/rust/rust.hash b/buildroot-2022.02.1/package/rust/rust.hash new file mode 100644 index 00000000..7eb8f596 --- /dev/null +++ b/buildroot-2022.02.1/package/rust/rust.hash @@ -0,0 +1,6 @@ +# From https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.sha256 +# Verified using https://static.rust-lang.org/dist/rustc-1.58.1-src.tar.xz.asc +sha256 2b3643a48e7087053b0268971ec4154350342508922a8acb0707aaf94deb4469 rustc-1.58.1-src.tar.xz +# Locally generated +sha256 62c7a1e35f56406896d7aa7ca52d0cc0d272ac022b5d2796e7d6905db8a3636a LICENSE-APACHE +sha256 23f18e03dc49df91622fe2a76176497404e46ced8a715d9d2b67a7446571cca3 LICENSE-MIT diff --git a/buildroot-2022.02.1/package/rust/rust.mk b/buildroot-2022.02.1/package/rust/rust.mk new file mode 100644 index 00000000..cd8c87b6 --- /dev/null +++ b/buildroot-2022.02.1/package/rust/rust.mk @@ -0,0 +1,93 @@ +################################################################################ +# +# rust +# +################################################################################ + +RUST_VERSION = 1.58.1 +RUST_SOURCE = rustc-$(RUST_VERSION)-src.tar.xz +RUST_SITE = https://static.rust-lang.org/dist +RUST_LICENSE = Apache-2.0 or MIT +RUST_LICENSE_FILES = LICENSE-APACHE LICENSE-MIT + +HOST_RUST_PROVIDES = host-rustc + +HOST_RUST_DEPENDENCIES = \ + toolchain \ + host-python3 \ + host-rust-bin \ + host-openssl \ + $(BR2_CMAKE_HOST_DEPENDENCY) + +HOST_RUST_VERBOSITY = $(if $(VERBOSE),2,0) + +# Some vendor crates contain Cargo.toml.orig files. The associated +# .cargo-checksum.json file will contain a checksum for Cargo.toml.orig but +# support/scripts/apply-patches.sh will delete them. This will cause the build +# to fail, as Cargo will not be able to find the file and verify the checksum. +# So, remove all Cargo.toml.orig entries from the affected .cargo-checksum.json +# files +define HOST_RUST_EXCLUDE_ORIG_FILES + for file in $$(find $(@D) -name '*.orig'); do \ + crate=$$(dirname $${file}); \ + fn=$${crate}/.cargo-checksum.json; \ + sed -i -e 's/"Cargo.toml.orig":"[a-z0-9]\+",//g' $${fn}; \ + done +endef + +HOST_RUST_POST_EXTRACT_HOOKS += HOST_RUST_EXCLUDE_ORIG_FILES + +define HOST_RUST_CONFIGURE_CMDS + ( \ + echo '[build]'; \ + echo 'target = ["$(RUSTC_TARGET_NAME)"]'; \ + echo 'cargo = "$(HOST_RUST_BIN_DIR)/cargo/bin/cargo"'; \ + echo 'rustc = "$(HOST_RUST_BIN_DIR)/rustc/bin/rustc"'; \ + echo 'python = "$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR)"'; \ + echo 'submodules = false'; \ + echo 'vendor = true'; \ + echo 'extended = true'; \ + echo 'tools = ["cargo"]'; \ + echo 'compiler-docs = false'; \ + echo 'docs = false'; \ + echo 'verbose = $(HOST_RUST_VERBOSITY)'; \ + echo '[install]'; \ + echo 'prefix = "$(HOST_DIR)"'; \ + echo 'sysconfdir = "$(HOST_DIR)/etc"'; \ + echo '[rust]'; \ + echo 'channel = "stable"'; \ + echo 'musl-root = "$(STAGING_DIR)"' ; \ + echo '[target.$(RUSTC_TARGET_NAME)]'; \ + echo 'cc = "$(TARGET_CROSS)gcc"'; \ + echo '[llvm]'; \ + echo 'ninja = false'; \ + ) > $(@D)/config.toml +endef + +define HOST_RUST_BUILD_CMDS + cd $(@D); $(HOST_MAKE_ENV) $(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) x.py build +endef + +HOST_RUST_INSTALL_OPTS = \ + --prefix=$(HOST_DIR) \ + --disable-ldconfig + +define HOST_RUST_INSTALL_RUSTC + cd $(@D)/build/tmp/tarball/rust/$(RUSTC_HOST_NAME)/rust-$(RUST_VERSION)-$(RUSTC_HOST_NAME); \ + ./install.sh $(HOST_RUST_INSTALL_OPTS) --components=rustc,cargo,rust-std-$(RUSTC_HOST_NAME) +endef + +ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) +define HOST_RUST_INSTALL_LIBSTD_TARGET + cd $(@D)/build/tmp/tarball/rust-std/$(RUSTC_TARGET_NAME)/rust-std-$(RUST_VERSION)-$(RUSTC_TARGET_NAME); \ + ./install.sh $(HOST_RUST_INSTALL_OPTS) +endef +endif + +define HOST_RUST_INSTALL_CMDS + cd $(@D); $(HOST_MAKE_ENV) $(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) x.py dist + $(HOST_RUST_INSTALL_RUSTC) + $(HOST_RUST_INSTALL_LIBSTD_TARGET) +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/rustc/Config.in.host b/buildroot-2022.02.1/package/rustc/Config.in.host new file mode 100644 index 00000000..80d1d1a3 --- /dev/null +++ b/buildroot-2022.02.1/package/rustc/Config.in.host @@ -0,0 +1,163 @@ +# All host rust packages should depend on this option +config BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + +# The pre-built Rust standard library is only available for a number +# of architectures/C libraries combinations, with different levels of +# support: Tier 1 platforms, Tier 2 platforms with host tools, Tier 2 +# platforms, Tier 3 platforms. Below, we support Tier 1, Tier 2 with +# host tools and Tier 2 platforms. + +# The below entries match Tier 1 platforms as described at +# https://doc.rust-lang.org/nightly/rustc/platform-support.html. +config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER1_PLATFORMS + bool + # aarch64-unknown-linux-gnu + default y if BR2_aarch64 && BR2_TOOLCHAIN_USES_GLIBC + # i686-unknown-linux-gnu + default y if (BR2_i686 || BR2_x86_pentiumpro || BR2_X86_CPU_HAS_MMX) && BR2_TOOLCHAIN_USES_GLIBC + # x86_64-unknown-linux-gnu + default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_GLIBC + +# The below entries match Tier 2 platforms with host tools as +# described at +# https://doc.rust-lang.org/nightly/rustc/platform-support.html. +config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS + bool + # aarch64-unknown-linux-musl + default y if BR2_aarch64 && BR2_TOOLCHAIN_USES_MUSL + # arm-unknown-linux-gnueabi + default y if BR2_ARM_CPU_ARMV6 && BR2_ARM_EABI && BR2_TOOLCHAIN_USES_GLIBC + # arm-unknown-linux-gnueabihf + default y if BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && BR2_TOOLCHAIN_USES_GLIBC + # armv7-unknown-linux-gnueabihf + default y if BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && BR2_TOOLCHAIN_USES_GLIBC + # mips-unknown-linux-gnu + default y if BR2_mips && BR2_TOOLCHAIN_USES_GLIBC && !BR2_MIPS_CPU_MIPS32R6 + # mips64-unknown-linux-gnuabi64 + default y if BR2_mips64 && BR2_TOOLCHAIN_USES_GLIBC && BR2_MIPS_NABI64 && !BR2_MIPS_CPU_MIPS64R6 + # mipsel-unknown-linux-gnu + default y if BR2_mipsel && BR2_TOOLCHAIN_USES_GLIBC && !BR2_MIPS_CPU_MIPS32R6 + # mips64el-unknown-linux-gnuabi64 + default y if BR2_mips64el && BR2_TOOLCHAIN_USES_GLIBC && BR2_MIPS_NABI64 && !BR2_MIPS_CPU_MIPS64R6 + # powerpc-unknown-linux-gnu + default y if BR2_powerpc && BR2_TOOLCHAIN_USES_GLIBC + # powerpc64-unknown-linux-gnu + default y if BR2_powerpc64 && BR2_TOOLCHAIN_USES_GLIBC + # powerpc64le-unknown-linux-gnu + default y if BR2_powerpc64le && BR2_TOOLCHAIN_USES_GLIBC + # riscv64gc-unknown-linux-gnu + # "g" stands for imafd, and we also need "c". + default y if BR2_RISCV_64 && BR2_RISCV_ISA_RVI && BR2_RISCV_ISA_RVM && \ + BR2_RISCV_ISA_RVA && BR2_RISCV_ISA_RVF && \ + BR2_RISCV_ISA_RVD && BR2_RISCV_ISA_RVC && \ + BR2_TOOLCHAIN_USES_GLIBC + # x86_64-unknown-linux-musl + default y if BR2_x86_64 && BR2_TOOLCHAIN_USES_MUSL + +# The below entries match Tier 2 platforms without host tools as +# described at +# https://doc.rust-lang.org/nightly/rustc/platform-support.html. +config BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_PLATFORMS + bool + # arm-unknown-linux-musleabi + default y if BR2_ARM_CPU_ARMV6 && BR2_ARM_EABI && BR2_TOOLCHAIN_USES_MUSL + # arm-unknown-linux-musleabihf + default y if BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF && BR2_TOOLCHAIN_USES_MUSL + # armv5te-unknown-linux-gnueabi + default y if BR2_ARM_CPU_ARMV5 && BR2_ARM_EABI && BR2_TOOLCHAIN_USES_GLIBC + # armv5te-unknown-linux-musleabi + default y if BR2_ARM_CPU_ARMV5 && BR2_ARM_EABI && BR2_TOOLCHAIN_USES_MUSL + # armv7-unknown-linux-gnueabi + default y if BR2_ARM_CPU_ARMV7A && BR2_ARM_EABI && BR2_TOOLCHAIN_USES_GLIBC + # armv7-unknown-linux-musleabi + default y if BR2_ARM_CPU_ARMV7A && BR2_ARM_EABI && BR2_TOOLCHAIN_USES_MUSL + # armv7-unknown-linux-musleabihf + default y if BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF && BR2_TOOLCHAIN_USES_MUSL + # i586-unknown-linux-gnu + default y if BR2_i586 && BR2_TOOLCHAIN_USES_GLIBC + # i586-unknown-linux-musl + default y if BR2_i586 && BR2_TOOLCHAIN_USES_MUSL + # i686-unknown-linux-musl + default y if (BR2_i686 || BR2_x86_pentiumpro || BR2_X86_CPU_HAS_MMX) && BR2_TOOLCHAIN_USES_MUSL + # mips-unknown-linux-musl + default y if BR2_mips && BR2_TOOLCHAIN_USES_MUSL && !BR2_MIPS_CPU_MIPS32R6 + # mips64-unknown-linux-muslabi64 + default y if BR2_mips64 && BR2_TOOLCHAIN_USES_MUSL && BR2_MIPS_NABI64 && !BR2_MIPS_CPU_MIPS64R6 + # mips64el-unknown-linux-muslabi64 + default y if BR2_mips64el && BR2_TOOLCHAIN_USES_MUSL && BR2_MIPS_NABI64 && !BR2_MIPS_CPU_MIPS64R6 + # mipsel-unknown-linux-musl + default y if BR2_mipsel && BR2_TOOLCHAIN_USES_MUSL && !BR2_MIPS_CPU_MIPS32R6 + # sparc64-unknown-linux-gnu + default y if BR2_sparc64 && BR2_TOOLCHAIN_USES_GLIBC + +# All target rust packages should depend on this option +config BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + bool + default y if BR2_PACKAGE_HOST_RUSTC_TARGET_TIER1_PLATFORMS + default y if BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_HOST_TOOLS_PLATFORMS + default y if BR2_PACKAGE_HOST_RUSTC_TARGET_TIER2_PLATFORMS + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + +config BR2_PACKAGE_HOST_RUSTC_ARCH + string + default "armv5te" if BR2_ARM_CPU_ARMV5 + default "armv7" if BR2_ARM_CPU_ARMV7A + default "riscv64gc" if BR2_RISCV_64 + default BR2_ARCH + +config BR2_PACKAGE_HOST_RUSTC_ABI + string + default "eabi" if BR2_ARM_EABI + default "eabihf" if BR2_ARM_EABIHF + default "abi64" if BR2_MIPS_NABI64 + +config BR2_PACKAGE_HOST_RUSTC + bool "host rustc" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + help + Compiler for the Rust language + + http://www.rust-lang.org + +if BR2_PACKAGE_HOST_RUSTC + +choice + prompt "Rust compiler variant" + default BR2_PACKAGE_HOST_RUST_BIN + help + Select a Rust compiler + +config BR2_PACKAGE_HOST_RUST + bool "host rust" + # RUSTC_TARGET_NAME must be set for building host-rust + # otherwise config.toml is broken. + depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS + # triggers ICE on trunc_int_for_mode, at explow.c:56 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 || !BR2_aarch64 + help + This package will build the compiler for the host as well as + two flavors of the standard library: one for the host, another + for the target. Both are installed in the host directory. + +comment "host-rust needs a toolchain w/ gcc >= 5" + depends on BR2_aarch64 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +config BR2_PACKAGE_HOST_RUST_BIN + bool "host rust (pre-built)" + help + This package will install pre-built versions of the compiler + for the host and the Rust standard library for the target. + +endchoice + +endif + +config BR2_PACKAGE_PROVIDES_HOST_RUSTC + string + default "host-rust" if BR2_PACKAGE_HOST_RUST + # Default to host-rust-bin as long as host arch supports it + default "host-rust-bin" if !BR2_PACKAGE_HOST_RUST + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS diff --git a/buildroot-2022.02.1/package/rustc/rustc.mk b/buildroot-2022.02.1/package/rustc/rustc.mk new file mode 100644 index 00000000..0513dd0b --- /dev/null +++ b/buildroot-2022.02.1/package/rustc/rustc.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# rustc +# +################################################################################ + +RUSTC_ARCH = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ARCH)) +RUSTC_ABI = $(call qstrip,$(BR2_PACKAGE_HOST_RUSTC_ABI)) + +ifeq ($(BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS),y) +RUSTC_TARGET_NAME = $(RUSTC_ARCH)-unknown-linux-$(LIBC)$(RUSTC_ABI) +endif + +ifeq ($(HOSTARCH),x86) +RUSTC_HOST_ARCH = i686 +else +RUSTC_HOST_ARCH = $(HOSTARCH) +endif + +RUSTC_HOST_NAME = $(RUSTC_HOST_ARCH)-unknown-linux-gnu + +$(eval $(host-virtual-package)) diff --git a/buildroot-2022.02.1/package/rwmem/Config.in b/buildroot-2022.02.1/package/rwmem/Config.in new file mode 100644 index 00000000..cd9a7f78 --- /dev/null +++ b/buildroot-2022.02.1/package/rwmem/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_RWMEM + bool "rwmem" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR # fmt + select BR2_PACKAGE_FMT + select BR2_PACKAGE_INIH + help + Simple program to read/write from/to any location in memory. + + https://github.com/tomba/rwmem + +comment "rwmem needs a toolchain w/ C++, wchar, gcc >= 5" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/rwmem/rwmem.hash b/buildroot-2022.02.1/package/rwmem/rwmem.hash new file mode 100644 index 00000000..9becbc5b --- /dev/null +++ b/buildroot-2022.02.1/package/rwmem/rwmem.hash @@ -0,0 +1,2 @@ +sha256 55d28f029c0cd5c21d3e1c89371e2905d5217f571ef5389ed0fce163804d1c4a rwmem-c8291705c82bb0686be9adf6a427a2b72114719a.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/rwmem/rwmem.mk b/buildroot-2022.02.1/package/rwmem/rwmem.mk new file mode 100644 index 00000000..24c4e92e --- /dev/null +++ b/buildroot-2022.02.1/package/rwmem/rwmem.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# rwmem +# +################################################################################ + +RWMEM_VERSION = c8291705c82bb0686be9adf6a427a2b72114719a +RWMEM_SITE = $(call github,tomba,rwmem,$(RWMEM_VERSION)) +RWMEM_LICENSE = GPL-2.0 +RWMEM_LICENSE_FILES = LICENSE +RWMEM_CONF_OPTS = -Dpyrwmem=disabled +RWMEM_DEPENDENCIES = host-pkgconf fmt inih + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/rygel/0001-build-Add-man_pages-build-options.patch b/buildroot-2022.02.1/package/rygel/0001-build-Add-man_pages-build-options.patch new file mode 100644 index 00000000..cdd7cc77 --- /dev/null +++ b/buildroot-2022.02.1/package/rygel/0001-build-Add-man_pages-build-options.patch @@ -0,0 +1,150 @@ +From 5a54c5bb1c9609b7bffe6b3e05f934030e4e990e Mon Sep 17 00:00:00 2001 +From: Jens Georg +Date: Sat, 26 Dec 2020 18:40:51 +0100 +Subject: [PATCH] build: Add man_pages build options + +Check if xsltproc runs succesfully and fail otherwise + +Fixes #192 + +[Retrieved from: +https://gitlab.gnome.org/GNOME/rygel/-/commit/5a54c5bb1c9609b7bffe6b3e05f934030e4e990e] +Signed-off-by: Fabrice Fontaine +--- + doc/man/meson.build | 98 +++++++++++++++++++++++++++------------------ + doc/meson.build | 5 ++- + meson_options.txt | 1 + + 3 files changed, 64 insertions(+), 40 deletions(-) + +diff --git a/doc/man/meson.build b/doc/man/meson.build +index ef3fcfbf5..4c92eab2b 100644 +--- a/doc/man/meson.build ++++ b/doc/man/meson.build +@@ -1,43 +1,63 @@ + xsltproc = find_program('xsltproc', required: false) + + if xsltproc.found() +- xlstproc_flags = [ +- '--nonet', +- '--stringparam', 'man.output.quietly', '1', +- '--stringparam', 'funcsynopsis.style', 'ansi', +- '--stringparam', 'man.authors.section.enabled', '1', +- '--stringparam', 'man.copyright.section.enabled', '1', +- ] +- +- xsltproc_args = [ +- xsltproc, +- xlstproc_flags, +- '-o', '@OUTPUT@', +- 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl', +- '@INPUT@', +- ] +- +- man_input_files = [ +- 'rygel.xml', +- 'rygel.conf.xml' +- ] +- +- man_output_files = [ +- 'rygel.1', +- 'rygel.conf.5' +- ] +- +- custom_target('man 1 pages', +- input: 'rygel.xml', +- output: 'rygel.1', +- command: xsltproc_args, +- install: true, +- install_dir: join_paths(get_option('mandir'), 'man1')) +- +- custom_target('man 5 pages', +- input: 'rygel.conf.xml', +- output: 'rygel.conf.5', +- command: xsltproc_args, +- install: true, +- install_dir: join_paths(get_option('mandir'), 'man5')) ++ stylesheet = 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl' ++ ++ xlstproc_flags = [ ++ '--nonet', ++ '--stringparam', 'man.output.quietly', '1', ++ '--stringparam', 'funcsynopsis.style', 'ansi', ++ '--stringparam', 'man.authors.section.enabled', '1', ++ '--stringparam', 'man.copyright.section.enabled', '1', ++ ] ++ ++ xsltproc_args = [ ++ xsltproc, ++ xlstproc_flags, ++ '-o', '@OUTPUT@', ++ stylesheet, ++ '@INPUT@', ++ ] ++ ++ man_input_files = [ ++ 'rygel.xml', ++ 'rygel.conf.xml' ++ ] ++ ++ man_output_files = [ ++ 'rygel.1', ++ 'rygel.conf.5' ++ ] ++ ++ r = run_command( ++ [ ++ xsltproc, ++ xlstproc_flags, ++ '-o', '/dev/null', ++ stylesheet, ++ 'rygel.xml' ++ ] ++ ) ++ ++ if (r.returncode() == 0) ++ custom_target( ++ 'man 1 pages', ++ input: 'rygel.xml', ++ output: 'rygel.1', ++ command: xsltproc_args, ++ install: true, ++ install_dir: join_paths(get_option('mandir'), 'man1') ++ ) ++ ++ custom_target( ++ 'man 5 pages', ++ input: 'rygel.conf.xml', ++ output: 'rygel.conf.5', ++ command: xsltproc_args, ++ install: true, ++ install_dir: join_paths(get_option('mandir'), 'man5') ++ ) ++ else ++ error('Cannot bulid man pages, failed to run xsltproc') ++ endif + endif +diff --git a/doc/meson.build b/doc/meson.build +index 41c733e50..91c08fae5 100644 +--- a/doc/meson.build ++++ b/doc/meson.build +@@ -1,2 +1,5 @@ +-subdir('man') ++if get_option('man_pages') ++ subdir('man') ++endif ++ + subdir('reference') +diff --git a/meson_options.txt b/meson_options.txt +index cb604c4e9..c60ff1a9a 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -1,5 +1,6 @@ + option('uninstalled', type: 'boolean', value: 'false', description: 'Run Rygel from build directory only') + option('api-docs', type: 'boolean', value: 'false', description: 'Build the API documentation') ++option('man_pages', type: 'boolean', value: 'true', description: 'Build the man pages') + option('systemd-user-units-dir', type : 'string', value : 'auto', description : 'Where to install the systemd user unit (use special values "auto" or "none", or pass a path') + option('plugins', type : 'array', choices : ['external', 'gst-launch', 'lms', 'media-export', 'mpris', 'playbin', 'ruih', 'tracker', 'tracker3']) + option('engines', type : 'array', choices : ['simple', 'gstreamer']) +-- +GitLab + diff --git a/buildroot-2022.02.1/package/rygel/0002-meson.build-fix-g_ir_compiler-calls.patch b/buildroot-2022.02.1/package/rygel/0002-meson.build-fix-g_ir_compiler-calls.patch new file mode 100644 index 00000000..3961ad05 --- /dev/null +++ b/buildroot-2022.02.1/package/rygel/0002-meson.build-fix-g_ir_compiler-calls.patch @@ -0,0 +1,84 @@ +From bed9e2effae60f7d736731e93d9e699cb173f04e Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 15 Mar 2022 19:20:33 +0100 +Subject: [PATCH] meson.build: fix g_ir_compiler calls + +Fix the following build failure when cross-compiling which is raised +because rygel is using a custom_target target instead of the standard +gnome.generate_gir: + +[108/298] Generating src/librygel-core/RygelCore-2.6.typelib with a custom command +FAILED: src/librygel-core/RygelCore-2.6.typelib +/home/giuliobenetti/autobuild/run/instance-3/output-1/host/nios2-buildroot-linux-gnu/sysroot/usr/bin/g-ir-compiler --output src/librygel-core/RygelCore-2.6.typelib /home/giuliobenetti/autobuild/run/instance-3/output-1/build/rygel-0.40.2/build/src/librygel-core/RygelCore-2.6.gir +Could not find GIR file 'GUPnP-1.2.gir'; check XDG_DATA_DIRS or use --includedir +error parsing file /home/giuliobenetti/autobuild/run/instance-3/output-1/build/rygel-0.40.2/build/src/librygel-core/RygelCore-2.6.gir: Failed to parse included gir GUPnP-1.2 + +Indeed, the custom_target command is unable to retrieve the correct +--includedir from glib-2.0.pc so add an ugly hack to custom_target calls + +Fixes: + - http://autobuild.buildroot.org/results/2b8956818f03f66a53480f7ed5fc0abb4f05288d + +Signed-off-by: Fabrice Fontaine +[Upstream status: probably not upstreamable] +--- + src/librygel-core/meson.build | 4 +++- + src/librygel-renderer-gst/meson.build | 1 + + src/librygel-renderer/meson.build | 1 + + src/librygel-server/meson.build | 1 + + 4 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/src/librygel-core/meson.build b/src/librygel-core/meson.build +index fd43bebe..e6be2b5e 100644 +--- a/src/librygel-core/meson.build ++++ b/src/librygel-core/meson.build +@@ -70,7 +70,9 @@ core_gir = custom_target('RygelCore-2.6.gir', + # so we depend on the custom_target from that step and pass the input through + # commandline. + custom_target('RygelCore-2.6.typelib', +- command: [g_ir_compiler, '--output', '@OUTPUT@', join_paths(meson.current_build_dir(), 'RygelCore-2.6.gir')], ++ command: [g_ir_compiler, '--output', '@OUTPUT@', ++ '--includedir', meson.get_external_property('sys_root') + get_option('prefix') + '/' + gir_dir, ++ join_paths(meson.current_build_dir(), 'RygelCore-2.6.gir')], + output: 'RygelCore-2.6.typelib', + depends: [ core_lib, core_gir ], + install: true, +diff --git a/src/librygel-renderer-gst/meson.build b/src/librygel-renderer-gst/meson.build +index ad98a3a7..e8baefe1 100644 +--- a/src/librygel-renderer-gst/meson.build ++++ b/src/librygel-renderer-gst/meson.build +@@ -36,6 +36,7 @@ custom_target('RygelRendererGst-2.6.typelib', + '--output', '@OUTPUT@', + '--includedir', core_girdir, + '--includedir', renderer_girdir, ++ '--includedir', meson.get_external_property('sys_root') + get_option('prefix') + '/' + gir_dir, + join_paths(meson.current_build_dir(), 'RygelRendererGst-2.6.gir')], + output: 'RygelRendererGst-2.6.typelib', + depends: [renderer_gst_lib, renderer_lib, renderer_gst_gir, renderer_gir], +diff --git a/src/librygel-renderer/meson.build b/src/librygel-renderer/meson.build +index 5f401527..821273ff 100644 +--- a/src/librygel-renderer/meson.build ++++ b/src/librygel-renderer/meson.build +@@ -43,6 +43,7 @@ custom_target('RygelRenderer-2.6.typelib', + command: [g_ir_compiler, + '--output', '@OUTPUT@', + '--includedir', core_girdir, ++ '--includedir', meson.get_external_property('sys_root') + get_option('prefix') + '/' + gir_dir, + join_paths(meson.current_build_dir(), 'RygelRenderer-2.6.gir')], + output: 'RygelRenderer-2.6.typelib', + depends: [ renderer_lib, renderer_gir, core_gir ], +diff --git a/src/librygel-server/meson.build b/src/librygel-server/meson.build +index a3bd77d9..6b084eb6 100644 +--- a/src/librygel-server/meson.build ++++ b/src/librygel-server/meson.build +@@ -122,6 +122,7 @@ custom_target('RygelServer-2.6.typelib', + command: [g_ir_compiler, + '--output', '@OUTPUT@', + '--includedir', core_girdir, ++ '--includedir', meson.get_external_property('sys_root') + get_option('prefix') + '/' + gir_dir, + join_paths(meson.current_build_dir(), 'RygelServer-2.6.gir')], + output: 'RygelServer-2.6.typelib', + depends: [ server_lib, server_gir, core_gir ], +-- +2.35.1 + diff --git a/buildroot-2022.02.1/package/rygel/Config.in b/buildroot-2022.02.1/package/rygel/Config.in new file mode 100644 index 00000000..30e84305 --- /dev/null +++ b/buildroot-2022.02.1/package/rygel/Config.in @@ -0,0 +1,63 @@ +config BR2_PACKAGE_RYGEL + bool "rygel" + depends on BR2_USE_WCHAR # gupnp-av + depends on BR2_TOOLCHAIN_HAS_THREADS # gupnp-av + depends on BR2_USE_MMU # gupnp-av, gobject-introspection + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS # gobject-introspection + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # gobject-introspection + depends on BR2_HOST_GCC_AT_LEAST_8 # gobject-introspection -> host-qemu + depends on BR2_TOOLCHAIN_USES_GLIBC # gobject-introspection + depends on BR2_PACKAGE_PYTHON3 # gobject-introspection + select BR2_PACKAGE_GDK_PIXBUF + select BR2_PACKAGE_GOBJECT_INTROSPECTION + select BR2_PACKAGE_GUPNP_AV + select BR2_PACKAGE_GUPNP_DLNA + select BR2_PACKAGE_LIBGEE + select BR2_PACKAGE_LIBMEDIAART + select BR2_PACKAGE_SQLITE + help + Rygel is a home media solution (UPnP AV MediaServer) that + allows you to easily share audio, video and pictures to other + devices. + + Additionally, media player software may use Rygel to become a + MediaRenderer that may be controlled remotely by a UPnP or + DLNA Controller. + + Rygel achieves interoperability with other devices in the + market by trying to conform to the very strict requirements of + DLNA and by converting media on-the-fly to formats that client + devices can handle. + + Most Rygel functionality is implemented through a plug-in + mechanism. + + https://wiki.gnome.org/Projects/Rygel + +if BR2_PACKAGE_RYGEL + +choice + prompt "media engine" + default BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE + +config BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE + bool "simple" + +config BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1 + bool "gstreamer1" + depends on BR2_PACKAGE_GSTREAMER1_EDITING_SERVICES + +comment "gstreamer1 needs gst1-editing-services" + depends on !BR2_PACKAGE_GSTREAMER1_EDITING_SERVICES + +endchoice + +comment "rygel needs a glibc toolchain w/ wchar, threads, gcc >= 4.9, host gcc >= 8" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_HOST_GCC_AT_LEAST_8 + +endif # BR2_PACKAGE_RYGEL diff --git a/buildroot-2021.05/package/rygel/S99rygel b/buildroot-2022.02.1/package/rygel/S99rygel similarity index 100% rename from buildroot-2021.05/package/rygel/S99rygel rename to buildroot-2022.02.1/package/rygel/S99rygel diff --git a/buildroot-2022.02.1/package/rygel/rygel.hash b/buildroot-2022.02.1/package/rygel/rygel.hash new file mode 100644 index 00000000..04b11ff5 --- /dev/null +++ b/buildroot-2022.02.1/package/rygel/rygel.hash @@ -0,0 +1,6 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/rygel/0.40/rygel-0.40.2.sha256sum: +sha256 c9e8c736296d22c4defe959727a29d31437bbd2b7aa0c6470d6be24011050697 rygel-0.40.2.tar.xz + +# Locally calculated +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING +sha256 c7d881be8ae01162510e982a32001446c6d6d18a9cecc89cc41a28bd215a0262 COPYING.logo diff --git a/buildroot-2022.02.1/package/rygel/rygel.mk b/buildroot-2022.02.1/package/rygel/rygel.mk new file mode 100644 index 00000000..e0529745 --- /dev/null +++ b/buildroot-2022.02.1/package/rygel/rygel.mk @@ -0,0 +1,67 @@ +################################################################################ +# +# rygel +# +################################################################################ + +RYGEL_VERSION_MAJOR = 0.40 +RYGEL_VERSION = $(RYGEL_VERSION_MAJOR).2 +RYGEL_SOURCE = rygel-$(RYGEL_VERSION).tar.xz +RYGEL_SITE = http://ftp.gnome.org/pub/gnome/sources/rygel/$(RYGEL_VERSION_MAJOR) +RYGEL_LICENSE = LGPL-2.1+, CC-BY-SA-3.0 (logo) +RYGEL_LICENSE_FILES = COPYING COPYING.logo +RYGEL_DEPENDENCIES = \ + gdk-pixbuf \ + gobject-introspection \ + gupnp-av \ + gupnp-dlna \ + libgee \ + libmediaart \ + sqlite \ + $(TARGET_NLS_DEPENDENCIES) +RYGEL_INSTALL_STAGING = YES + +RYGEL_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) +RYGEL_CONF_OPTS += \ + -Dapi-docs=false \ + -Dexamples=false \ + -Dintrospection=enabled \ + -Dman_pages=false \ + -Dtests=false +RYGEL_PLUGINS = external,lms,mpris,ruih + +ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_GSTREAMER1),y) +RYGEL_CONF_OPTS += \ + -Dengines=gstreamer \ + -Dgstreamer=enabled +RYGEL_PLUGINS += ,playbin,media-export,gst-launch +RYGEL_DEPENDENCIES += \ + gst1-plugins-base \ + gstreamer1 \ + gstreamer1-editing-services +else ifeq ($(BR2_PACKAGE_RYGEL_MEDIA_ENGINE_SIMPLE),y) +RYGEL_CONF_OPTS += \ + -Dengines=simple \ + -Dgstreamer=disabled +endif + +ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) +RYGEL_CONF_OPTS += -Dgtk=enabled +RYGEL_DEPENDENCIES += libgtk3 +else +RYGEL_CONF_OPTS += -Dgtk=disabled +endif + +RYGEL_CONF_OPTS += -Dplugins="$(RYGEL_PLUGINS)" + +define RYGEL_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/rygel/S99rygel \ + $(TARGET_DIR)/etc/init.d/S99rygel +endef + +define RYGEL_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/rygel/rygel.service \ + $(TARGET_DIR)/usr/lib/systemd/system/rygel.service +endef + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/rygel/rygel.service b/buildroot-2022.02.1/package/rygel/rygel.service similarity index 100% rename from buildroot-2021.05/package/rygel/rygel.service rename to buildroot-2022.02.1/package/rygel/rygel.service diff --git a/buildroot-2022.02.1/package/s390-tools/0004-zipl-boot-Makefile-no-pie-is-not-a-valid-ld-flag.patch b/buildroot-2022.02.1/package/s390-tools/0004-zipl-boot-Makefile-no-pie-is-not-a-valid-ld-flag.patch new file mode 100644 index 00000000..fcdf0608 --- /dev/null +++ b/buildroot-2022.02.1/package/s390-tools/0004-zipl-boot-Makefile-no-pie-is-not-a-valid-ld-flag.patch @@ -0,0 +1,29 @@ +From 9fd3c733c645be13a2e39a3bae3983f88530b48d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= +Date: Thu, 7 Jan 2021 12:46:22 +0100 +Subject: [PATCH] zipl/boot/Makefile: -no-pie is not a valid ld flag + +The "-no-pie" option never has been a valid flag of ld. It breaks the build with newer binutils. +See: +https://sourceware.org/bugzilla/show_bug.cgi?id=27050 +https://bugs.launchpad.net/ubuntu/+source/s390-tools/+bug/1907789 + +[Retrieved from: https://github.com/ibm-s390-linux/s390-tools/pull/106] +Signed-off-by: Fabrice Fontaine +--- + zipl/boot/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/zipl/boot/Makefile b/zipl/boot/Makefile +index a2e5f190..b81df778 100644 +--- a/zipl/boot/Makefile ++++ b/zipl/boot/Makefile +@@ -109,7 +109,7 @@ stage3.bin: stage3.exec + $< $@ + + data.o: $(FILES) +- $(LD) $(NO_PIE_LDFLAGS) -r -b binary -o data.o $(FILES) ++ $(LD) -r -b binary -o data.o $(FILES) + + data.h: data.o + rm -f data.h diff --git a/buildroot-2021.05/package/s390-tools/Config.in b/buildroot-2022.02.1/package/s390-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/s390-tools/Config.in rename to buildroot-2022.02.1/package/s390-tools/Config.in diff --git a/buildroot-2022.02.1/package/s390-tools/s390-tools.hash b/buildroot-2022.02.1/package/s390-tools/s390-tools.hash new file mode 100644 index 00000000..13c68fbf --- /dev/null +++ b/buildroot-2022.02.1/package/s390-tools/s390-tools.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 17dc163e6a1e940f895c64955c130058600e1df834e1ab134410be7266ef724a s390-tools-2.19.0.tar.gz +sha256 cca17a9a944ebec769adee4aebd805c912c357785ff2705a99ffe68563021f75 LICENSE diff --git a/buildroot-2022.02.1/package/s390-tools/s390-tools.mk b/buildroot-2022.02.1/package/s390-tools/s390-tools.mk new file mode 100644 index 00000000..328986bc --- /dev/null +++ b/buildroot-2022.02.1/package/s390-tools/s390-tools.mk @@ -0,0 +1,108 @@ +################################################################################ +# +# s390-tools +# +################################################################################ + +S390_TOOLS_VERSION = 2.19.0 +S390_TOOLS_SITE = $(call github,ibm-s390-linux,s390-tools,v$(S390_TOOLS_VERSION)) +S390_TOOLS_LICENSE = MIT +S390_TOOLS_LICENSE_FILES = LICENSE +S390_TOOLS_DEPENDENCIES = zlib + +S390_TOOLS_MAKE_OPTS = \ + ARCH=$(BR2_ARCH) \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ + LINK="$(TARGET_CC)" \ + LINKXX="$(TARGET_CXX)" + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +S390_TOOLS_DEPENDENCIES += libcurl +S390_TOOLS_MAKE_OPTS += \ + CURL_CONFIG=$(STAGING_DIR)/usr/bin/curl-config \ + HAVE_CURL=1 \ + HAVE_LIBCURL=1 +else +S390_TOOLS_MAKE_OPTS += \ + HAVE_CURL=0 \ + HAVE_LIBCURL=0 +endif + +ifeq ($(BR2_PACKAGE_JSON_C),y) +S390_TOOLS_DEPENDENCIES += json-c +S390_TOOLS_MAKE_OPTS += HAVE_JSONC=1 +else +S390_TOOLS_MAKE_OPTS += HAVE_JSONC=0 +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +S390_TOOLS_DEPENDENCIES += openssl +S390_TOOLS_MAKE_OPTS += HAVE_OPENSSL=1 +else +S390_TOOLS_MAKE_OPTS += HAVE_OPENSSL=0 +endif + +ifeq ($(BR2_PACKAGE_CRYPTSETUP),y) +S390_TOOLS_DEPENDENCIES += cryptsetup +S390_TOOLS_MAKE_OPTS += HAVE_CRYPTSETUP2=1 +else +S390_TOOLS_MAKE_OPTS += HAVE_CRYPTSETUP2=0 +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +S390_TOOLS_DEPENDENCIES += libglib2 +S390_TOOLS_MAKE_OPTS += HAVE_GLIB2=1 +else +S390_TOOLS_MAKE_OPTS += HAVE_GLIB2=0 +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +S390_TOOLS_DEPENDENCIES += libxml2 +S390_TOOLS_MAKE_OPTS += \ + HAVE_LIBXML2=1 \ + XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config +else +S390_TOOLS_MAKE_OPTS += HAVE_LIBXML2=0 +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) +S390_TOOLS_DEPENDENCIES += ncurses +S390_TOOLS_MAKE_OPTS += HAVE_NCURSES=1 +else +S390_TOOLS_MAKE_OPTS += HAVE_NCURSES=0 +endif + +ifeq ($(BR2_PACKAGE_LIBPFM4),y) +S390_TOOLS_DEPENDENCIES += libpfm4 +S390_TOOLS_MAKE_OPTS += HAVE_PFM=1 +else +S390_TOOLS_MAKE_OPTS += HAVE_PFM=0 +endif + +ifeq ($(BR2_PACKAGE_LIBFUSE),y) +S390_TOOLS_DEPENDENCIES += libfuse +S390_TOOLS_MAKE_OPTS += HAVE_FUSE=1 +else +S390_TOOLS_MAKE_OPTS += HAVE_FUSE=0 +endif + +ifeq ($(BR2_PACKAGE_NETSNMP),y) +S390_TOOLS_DEPENDENCIES += netsnmp +S390_TOOLS_MAKE_OPTS += \ + NET_SNMP_CONFIG=$(STAGING_DIR)/usr/bin/net-snmp-config \ + HAVE_SNMP=1 +else +S390_TOOLS_MAKE_OPTS += HAVE_SNMP=0 +endif + +define S390_TOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) \ + $(S390_TOOLS_MAKE_OPTS) +endef + +define S390_TOOLS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) install \ + $(S390_TOOLS_MAKE_OPTS) DESTDIR="$(TARGET_DIR)" +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/s6-dns/Config.in b/buildroot-2022.02.1/package/s6-dns/Config.in similarity index 100% rename from buildroot-2021.05/package/s6-dns/Config.in rename to buildroot-2022.02.1/package/s6-dns/Config.in diff --git a/buildroot-2021.05/package/s6-dns/s6-dns.hash b/buildroot-2022.02.1/package/s6-dns/s6-dns.hash similarity index 100% rename from buildroot-2021.05/package/s6-dns/s6-dns.hash rename to buildroot-2022.02.1/package/s6-dns/s6-dns.hash diff --git a/buildroot-2021.05/package/s6-dns/s6-dns.mk b/buildroot-2022.02.1/package/s6-dns/s6-dns.mk similarity index 100% rename from buildroot-2021.05/package/s6-dns/s6-dns.mk rename to buildroot-2022.02.1/package/s6-dns/s6-dns.mk diff --git a/buildroot-2021.05/package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch b/buildroot-2022.02.1/package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch similarity index 100% rename from buildroot-2021.05/package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch rename to buildroot-2022.02.1/package/s6-linux-init/0001-configure-add-D_GNU_SOURCE.patch diff --git a/buildroot-2021.05/package/s6-linux-init/Config.in b/buildroot-2022.02.1/package/s6-linux-init/Config.in similarity index 100% rename from buildroot-2021.05/package/s6-linux-init/Config.in rename to buildroot-2022.02.1/package/s6-linux-init/Config.in diff --git a/buildroot-2021.05/package/s6-linux-init/s6-linux-init.hash b/buildroot-2022.02.1/package/s6-linux-init/s6-linux-init.hash similarity index 100% rename from buildroot-2021.05/package/s6-linux-init/s6-linux-init.hash rename to buildroot-2022.02.1/package/s6-linux-init/s6-linux-init.hash diff --git a/buildroot-2021.05/package/s6-linux-init/s6-linux-init.mk b/buildroot-2022.02.1/package/s6-linux-init/s6-linux-init.mk similarity index 100% rename from buildroot-2021.05/package/s6-linux-init/s6-linux-init.mk rename to buildroot-2022.02.1/package/s6-linux-init/s6-linux-init.mk diff --git a/buildroot-2021.05/package/s6-linux-utils/Config.in b/buildroot-2022.02.1/package/s6-linux-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/s6-linux-utils/Config.in rename to buildroot-2022.02.1/package/s6-linux-utils/Config.in diff --git a/buildroot-2021.05/package/s6-linux-utils/s6-linux-utils.hash b/buildroot-2022.02.1/package/s6-linux-utils/s6-linux-utils.hash similarity index 100% rename from buildroot-2021.05/package/s6-linux-utils/s6-linux-utils.hash rename to buildroot-2022.02.1/package/s6-linux-utils/s6-linux-utils.hash diff --git a/buildroot-2021.05/package/s6-linux-utils/s6-linux-utils.mk b/buildroot-2022.02.1/package/s6-linux-utils/s6-linux-utils.mk similarity index 100% rename from buildroot-2021.05/package/s6-linux-utils/s6-linux-utils.mk rename to buildroot-2022.02.1/package/s6-linux-utils/s6-linux-utils.mk diff --git a/buildroot-2021.05/package/s6-networking/Config.in b/buildroot-2022.02.1/package/s6-networking/Config.in similarity index 100% rename from buildroot-2021.05/package/s6-networking/Config.in rename to buildroot-2022.02.1/package/s6-networking/Config.in diff --git a/buildroot-2021.05/package/s6-networking/s6-networking.hash b/buildroot-2022.02.1/package/s6-networking/s6-networking.hash similarity index 100% rename from buildroot-2021.05/package/s6-networking/s6-networking.hash rename to buildroot-2022.02.1/package/s6-networking/s6-networking.hash diff --git a/buildroot-2021.05/package/s6-networking/s6-networking.mk b/buildroot-2022.02.1/package/s6-networking/s6-networking.mk similarity index 100% rename from buildroot-2021.05/package/s6-networking/s6-networking.mk rename to buildroot-2022.02.1/package/s6-networking/s6-networking.mk diff --git a/buildroot-2021.05/package/s6-portable-utils/Config.in b/buildroot-2022.02.1/package/s6-portable-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/s6-portable-utils/Config.in rename to buildroot-2022.02.1/package/s6-portable-utils/Config.in diff --git a/buildroot-2021.05/package/s6-portable-utils/s6-portable-utils.hash b/buildroot-2022.02.1/package/s6-portable-utils/s6-portable-utils.hash similarity index 100% rename from buildroot-2021.05/package/s6-portable-utils/s6-portable-utils.hash rename to buildroot-2022.02.1/package/s6-portable-utils/s6-portable-utils.hash diff --git a/buildroot-2021.05/package/s6-portable-utils/s6-portable-utils.mk b/buildroot-2022.02.1/package/s6-portable-utils/s6-portable-utils.mk similarity index 100% rename from buildroot-2021.05/package/s6-portable-utils/s6-portable-utils.mk rename to buildroot-2022.02.1/package/s6-portable-utils/s6-portable-utils.mk diff --git a/buildroot-2021.05/package/s6-rc/Config.in b/buildroot-2022.02.1/package/s6-rc/Config.in similarity index 100% rename from buildroot-2021.05/package/s6-rc/Config.in rename to buildroot-2022.02.1/package/s6-rc/Config.in diff --git a/buildroot-2021.05/package/s6-rc/Config.in.host b/buildroot-2022.02.1/package/s6-rc/Config.in.host similarity index 100% rename from buildroot-2021.05/package/s6-rc/Config.in.host rename to buildroot-2022.02.1/package/s6-rc/Config.in.host diff --git a/buildroot-2021.05/package/s6-rc/s6-rc.hash b/buildroot-2022.02.1/package/s6-rc/s6-rc.hash similarity index 100% rename from buildroot-2021.05/package/s6-rc/s6-rc.hash rename to buildroot-2022.02.1/package/s6-rc/s6-rc.hash diff --git a/buildroot-2021.05/package/s6-rc/s6-rc.mk b/buildroot-2022.02.1/package/s6-rc/s6-rc.mk similarity index 100% rename from buildroot-2021.05/package/s6-rc/s6-rc.mk rename to buildroot-2022.02.1/package/s6-rc/s6-rc.mk diff --git a/buildroot-2021.05/package/s6/Config.in b/buildroot-2022.02.1/package/s6/Config.in similarity index 100% rename from buildroot-2021.05/package/s6/Config.in rename to buildroot-2022.02.1/package/s6/Config.in diff --git a/buildroot-2021.05/package/s6/s6.hash b/buildroot-2022.02.1/package/s6/s6.hash similarity index 100% rename from buildroot-2021.05/package/s6/s6.hash rename to buildroot-2022.02.1/package/s6/s6.hash diff --git a/buildroot-2021.05/package/s6/s6.mk b/buildroot-2022.02.1/package/s6/s6.mk similarity index 100% rename from buildroot-2021.05/package/s6/s6.mk rename to buildroot-2022.02.1/package/s6/s6.mk diff --git a/buildroot-2022.02.1/package/safeclib/0001-fix-armv7-asm-inline-error-GH-115.patch b/buildroot-2022.02.1/package/safeclib/0001-fix-armv7-asm-inline-error-GH-115.patch new file mode 100644 index 00000000..3cb37b96 --- /dev/null +++ b/buildroot-2022.02.1/package/safeclib/0001-fix-armv7-asm-inline-error-GH-115.patch @@ -0,0 +1,156 @@ +From 9c739800a8915d5f2a73c840190920e95ffa1c5c Mon Sep 17 00:00:00 2001 +From: Reini Urban +Date: Fri, 18 Feb 2022 09:46:45 +0100 +Subject: [PATCH] fix armv7 asm inline error GH #115 + +some armv7 buildroot variants fail on asm. +we already probe for that, so use it. +Fixes GH #115 + +[Retrieved from: +https://github.com/rurban/safeclib/commit/9c739800a8915d5f2a73c840190920e95ffa1c5c] +Signed-off-by: Fabrice Fontaine +--- + tests/perf_private.h | 49 +++++++++++++++++++++++++------------------- + 1 file changed, 28 insertions(+), 21 deletions(-) + +diff --git a/tests/perf_private.h b/tests/perf_private.h +index 3296cb3d..843674d3 100644 +--- a/tests/perf_private.h ++++ b/tests/perf_private.h +@@ -1,9 +1,9 @@ + /*------------------------------------------------------------------ + * perf_private.h - Internal benchmarking tools + * +- * 2020 Reini Urban ++ * 2020,2022 Reini Urban + * +- * Copyright (c) 2017, 2020 Reini Urban ++ * Copyright (c) 2017, 2020, 2022 Reini Urban + * All rights reserved. + * + * Permission is hereby granted, free of charge, to any person +@@ -55,13 +55,16 @@ static inline uint64_t timer_start(); + static inline uint64_t timer_end(); + + static inline clock_t rdtsc() { +-#ifdef __x86_64__ ++#ifndef ASM_INLINE ++#define NO_CYCLE_COUNTER ++ return clock(); ++#elif defined __x86_64__ + uint64_t a, d; +- __asm__ volatile("rdtsc" : "=a"(a), "=d"(d)); ++ ASM_INLINE volatile("rdtsc" : "=a"(a), "=d"(d)); + return (clock_t)(a | (d << 32)); + #elif defined(__i386__) + clock_t x; +- __asm__ volatile("rdtsc" : "=A"(x)); ++ ASM_INLINE volatile("rdtsc" : "=A"(x)); + return x; + #elif defined(__ARM_ARCH) && (__ARM_ARCH >= 7) && (SIZEOF_SIZE_T == 4) + // V7 is the earliest arch that has a standard cyclecount (some say 6) +@@ -69,11 +72,11 @@ static inline clock_t rdtsc() { + uint32_t pmuseren; + uint32_t pmcntenset; + // Read the user mode perf monitor counter access permissions. +- asm volatile("mrc p15, 0, %0, c9, c14, 0" : "=r"(pmuseren)); ++ ASM_INLINE volatile("mrc p15, 0, %0, c9, c14, 0" : "=r"(pmuseren)); + if (pmuseren & 1) { // Allows reading perfmon counters for user mode code. +- asm volatile("mrc p15, 0, %0, c9, c12, 1" : "=r"(pmcntenset)); ++ ASM_INLINE volatile("mrc p15, 0, %0, c9, c12, 1" : "=r"(pmcntenset)); + if (pmcntenset & 0x80000000ul) { // Is it counting? +- asm volatile("mrc p15, 0, %0, c9, c13, 0" : "=r"(pmccntr)); ++ ASM_INLINE volatile("mrc p15, 0, %0, c9, c13, 0" : "=r"(pmccntr)); + // The counter is set up to count every 64th cycle + return (int64_t)(pmccntr) * 64; // Should optimize to << 6 + } +@@ -83,22 +86,22 @@ static inline clock_t rdtsc() { + uint64_t pmccntr; + uint64_t pmuseren = 1UL; + // Read the user mode perf monitor counter access permissions. +- //asm volatile("mrs cntv_ctl_el0, %0" : "=r" (pmuseren)); ++ //ASM_INLINE volatile("mrs cntv_ctl_el0, %0" : "=r" (pmuseren)); + if (pmuseren & 1) { // Allows reading perfmon counters for user mode code. +- asm volatile("mrs %0, cntvct_el0" : "=r" (pmccntr)); ++ ASM_INLINE volatile("mrs %0, cntvct_el0" : "=r" (pmccntr)); + return (uint64_t)(pmccntr) * 64; // Should optimize to << 6 + } + return (uint64_t)rdtsc(); + #elif defined(__powerpc64__) || defined(__ppc64__) + uint64_t tb; +- __asm__ volatile (\ ++ ASM_INLINE volatile (\ + "mfspr %0, 268" + : "=r" (tb)); + return tb; + #elif defined(__powerpc__) || defined(__ppc__) + // This returns a time-base, which is not always precisely a cycle-count. + uint32_t tbu, tbl, tmp; +- __asm__ volatile (\ ++ ASM_INLINE volatile (\ + "0:\n" + "mftbu %0\n" + "mftbl %1\n" +@@ -109,12 +112,12 @@ static inline clock_t rdtsc() { + return (((uint64_t) tbu << 32) | tbl); + #elif defined(__sparc__) + uint64_t tick; +- asm(".byte 0x83, 0x41, 0x00, 0x00"); +- asm("mov %%g1, %0" : "=r" (tick)); ++ ASM_INLINE(".byte 0x83, 0x41, 0x00, 0x00"); ++ ASM_INLINE("mov %%g1, %0" : "=r" (tick)); + return tick; + #elif defined(__ia64__) + uint64_t itc; +- asm("mov %0 = ar.itc" : "=r" (itc)); ++ ASM_INLINE("mov %0 = ar.itc" : "=r" (itc)); + return itc; + #else + #define NO_CYCLE_COUNTER +@@ -126,9 +129,11 @@ static inline clock_t rdtsc() { + // 3.2.1 The Improved Benchmarking Method + static inline uint64_t timer_start() + { +-#if defined (__i386__) || (defined(__x86_64__) && SIZEOF_SIZE_T == 4) ++#ifndef ASM_INLINE ++ return (uint64_t)rdtsc(); ++#elif defined (__i386__) || (defined(__x86_64__) && SIZEOF_SIZE_T == 4) + uint32_t cycles_high, cycles_low; +- __asm__ volatile ++ ASM_INLINE volatile + ("cpuid\n\t" + "rdtsc\n\t" + "mov %%edx, %0\n\t" +@@ -137,7 +142,7 @@ static inline uint64_t timer_start() + return ((uint64_t)cycles_high << 32) | cycles_low; + #elif defined __x86_64__ + uint32_t cycles_high, cycles_low; +- __asm__ volatile ++ ASM_INLINE volatile + ("cpuid\n\t" + "rdtsc\n\t" + "mov %%edx, %0\n\t" +@@ -151,9 +156,11 @@ static inline uint64_t timer_start() + + static inline uint64_t timer_end() + { +-#if defined (__i386__) || (defined(__x86_64__) && defined (HAVE_BIT32)) ++#ifndef ASM_INLINE ++ return (uint64_t)rdtsc(); ++#elif defined (__i386__) || (defined(__x86_64__) && defined (HAVE_BIT32)) + uint32_t cycles_high, cycles_low; +- __asm__ volatile ++ ASM_INLINE volatile + ("rdtscp\n\t" + "mov %%edx, %0\n\t" + "mov %%eax, %1\n\t" +@@ -162,7 +169,7 @@ static inline uint64_t timer_end() + return ((uint64_t)cycles_high << 32) | cycles_low; + #elif defined __x86_64__ + uint32_t cycles_high, cycles_low; +- __asm__ volatile ++ ASM_INLINE volatile + ("rdtscp\n\t" + "mov %%edx, %0\n\t" + "mov %%eax, %1\n\t" diff --git a/buildroot-2021.05/package/safeclib/Config.in b/buildroot-2022.02.1/package/safeclib/Config.in similarity index 100% rename from buildroot-2021.05/package/safeclib/Config.in rename to buildroot-2022.02.1/package/safeclib/Config.in diff --git a/buildroot-2022.02.1/package/safeclib/safeclib.hash b/buildroot-2022.02.1/package/safeclib/safeclib.hash new file mode 100644 index 00000000..bca5d862 --- /dev/null +++ b/buildroot-2022.02.1/package/safeclib/safeclib.hash @@ -0,0 +1,5 @@ +# From https://github.com/rurban/safeclib/releases/tag/v3.7.1 +sha256 71d3ec970f930bd980f2a41127228eeedfc53749e4c6b203329adc4ff7df32a7 safeclib-3.7.1.tar.xz + +# Hash for license file +sha256 c33e77efd5781e3d59a2bb648c82d2a615035ef0d24cf58880380e3af906510b COPYING diff --git a/buildroot-2022.02.1/package/safeclib/safeclib.mk b/buildroot-2022.02.1/package/safeclib/safeclib.mk new file mode 100644 index 00000000..bc58c1a3 --- /dev/null +++ b/buildroot-2022.02.1/package/safeclib/safeclib.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# safeclib +# +################################################################################ + +SAFECLIB_VERSION = 3.7.1 +SAFECLIB_SITE = \ + https://github.com/rurban/safeclib/releases/download/v$(SAFECLIB_VERSION) +SAFECLIB_SOURCE = safeclib-$(SAFECLIB_VERSION).tar.xz +SAFECLIB_LICENSE = MIT +SAFECLIB_LICENSE_FILES = COPYING +SAFECLIB_INSTALL_STAGING = YES +SAFECLIB_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -std=c99" +# -fstack-protector-strong is used by default. Disable that so the +# BR2_SSP_* options in the toolchain wrapper are used instead +SAFECLIB_CONF_OPTS = --disable-hardening + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/sam-ba/Config.in.host b/buildroot-2022.02.1/package/sam-ba/Config.in.host new file mode 100644 index 00000000..b96e377e --- /dev/null +++ b/buildroot-2022.02.1/package/sam-ba/Config.in.host @@ -0,0 +1,11 @@ +config BR2_PACKAGE_HOST_SAM_BA + bool "host sam-ba" + depends on BR2_HOSTARCH = "x86_64" + select BR2_HOSTARCH_NEEDS_IA32_LIBS + help + Atmel SAM-BA software provides an open set of tools for + programming the Atmel SAM3, SAM7 and SAM9 ARM-based + microcontrollers. + + http://www.at91.com/linux4sam/bin/view/Linux4SAM/SoftwareTools + https://www.microchip.com/en-us/development-tool/SAM-BA-IN-SYSTEM-PROGRAMMER diff --git a/buildroot-2022.02.1/package/sam-ba/sam-ba.hash b/buildroot-2022.02.1/package/sam-ba/sam-ba.hash new file mode 100644 index 00000000..10b95c9c --- /dev/null +++ b/buildroot-2022.02.1/package/sam-ba/sam-ba.hash @@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 f66e431f0401b197e80599156ea93aa3aab050bc4d16523c95fae1107ef9101c sam-ba_3.5-linux_x86_64.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE.txt diff --git a/buildroot-2022.02.1/package/sam-ba/sam-ba.mk b/buildroot-2022.02.1/package/sam-ba/sam-ba.mk new file mode 100644 index 00000000..10bea8ef --- /dev/null +++ b/buildroot-2022.02.1/package/sam-ba/sam-ba.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# sam-ba +# +################################################################################ + +SAM_BA_VERSION = 3.5 +SAM_BA_SITE = https://www.microchip.com/content/dam/mchp/documents/MPU32/ProductDocuments/SoftwareTools +SAM_BA_SOURCE = sam-ba_$(SAM_BA_VERSION)-linux_x86_64.tar.gz +SAM_BA_LICENSE = GPLv2 +SAM_BA_LICENSE_FILES = LICENSE.txt + +# Since it's a prebuilt application and it does not conform to the +# usual Unix hierarchy, we install it in $(HOST_DIR)/opt/sam-ba and +# then create a symbolic link from $(HOST_DIR)/bin to the +# application binary, for easier usage. + +define HOST_SAM_BA_INSTALL_CMDS + mkdir -p $(HOST_DIR)/opt/sam-ba/ + cp -a $(@D)/* $(HOST_DIR)/opt/sam-ba/ + mkdir -p $(HOST_DIR)/bin/ + ln -sf ../opt/sam-ba/sam-ba $(HOST_DIR)/bin/sam-ba +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/samba4/0001-libreplace-disable-libbsd-support.patch b/buildroot-2022.02.1/package/samba4/0001-libreplace-disable-libbsd-support.patch similarity index 100% rename from buildroot-2021.05/package/samba4/0001-libreplace-disable-libbsd-support.patch rename to buildroot-2022.02.1/package/samba4/0001-libreplace-disable-libbsd-support.patch diff --git a/buildroot-2022.02.1/package/samba4/0002-build-find-pre-built-heimdal-build-tools-in-case-of-.patch b/buildroot-2022.02.1/package/samba4/0002-build-find-pre-built-heimdal-build-tools-in-case-of-.patch new file mode 100644 index 00000000..484e6722 --- /dev/null +++ b/buildroot-2022.02.1/package/samba4/0002-build-find-pre-built-heimdal-build-tools-in-case-of-.patch @@ -0,0 +1,89 @@ +From e002d2ef2688d5433d2bd03aa4d77a0ec5ac4e63 Mon Sep 17 00:00:00 2001 +From: Uri Simchoni +Date: Sun, 20 Oct 2019 00:03:14 +0300 +Subject: [PATCH] build: find pre-built heimdal build tools in case of embedded + heimdal + +This patch fixes the case of finding asn1_compile and compile_et for +building embedded heimdal, by setting +--bundled-libraries='!asn1_compile,!compile_et' as configure flags. + +The Heimdal build tools compile_et and asn1_compile are needed *only* +if we use the embedded heimdal (otherwise we don't build heimdal and +use headers that have been generated by those tools elsewhere). + +For cross-compilation with embedded heimdal, it is vital to use host build +tools, and so asn1_compile and compile_et must be supplied and not +built. One way of doing this would be to set the COMPILE_ET and +ASN1_COMPILE env vars to the location of supplied binaries. Another way, +which is more commonly used, is to exclude asn1_compile and compile_et +from bundled packages via the switch +-bundled-libraries='!asn1_compile,!compile_et'. When this is done, +the build script searches the path for those tools and sets the +ASN1_COMPILE and COMPILE_ET vars accordingly. (this is admittedly +kind of a round-about way of doing things but this has become the +de-facto standard amongst embedded distro builders). + +In commit 8061983d4882f3ba3f12da71443b035d7b672eec, this process of +finding the binaris has been moved to be carried out only in the +system heimdal case. As explained above, we only need these tools, +and hence the check, in bundled mode. + +BUG: https://bugzilla.samba.org/show_bug.cgi?id=14164 + +Signed-off-by: Uri Simchoni +Signed-off-by: Bernd Kuhls +[Bernd: rebased for version 4.11.13] +--- + wscript_configure_embedded_heimdal | 11 +++++++++++ + wscript_configure_system_heimdal | 11 ----------- + 2 files changed, 11 insertions(+), 11 deletions(-) + +diff --git a/wscript_configure_embedded_heimdal b/wscript_configure_embedded_heimdal +index 8c55ae2a938..4fdae8062c5 100644 +--- a/wscript_configure_embedded_heimdal ++++ b/wscript_configure_embedded_heimdal +@@ -1 +1,12 @@ + conf.RECURSE('source4/heimdal_build') ++ ++def check_system_heimdal_binary(name): ++ if conf.LIB_MAY_BE_BUNDLED(name): ++ return False ++ if not conf.find_program(name, var=name.upper()): ++ return False ++ conf.define('USING_SYSTEM_%s' % name.upper(), 1) ++ return True ++ ++check_system_heimdal_binary("compile_et") ++check_system_heimdal_binary("asn1_compile") +diff --git a/wscript_configure_system_heimdal b/wscript_configure_system_heimdal +index 0ff6dad2f55..f77c177442f 100644 +--- a/wscript_configure_system_heimdal ++++ b/wscript_configure_system_heimdal +@@ -37,14 +37,6 @@ def check_system_heimdal_lib(name, functions='', headers='', onlyif=None): + conf.define('USING_SYSTEM_%s' % name.upper(), 1) + return True + +-def check_system_heimdal_binary(name): +- if conf.LIB_MAY_BE_BUNDLED(name): +- return False +- if not conf.find_program(name, var=name.upper()): +- return False +- conf.define('USING_SYSTEM_%s' % name.upper(), 1) +- return True +- + check_system_heimdal_lib("com_err", "com_right_r com_err", "com_err.h") + + if check_system_heimdal_lib("roken", "rk_socket_set_reuseaddr", "roken.h"): +@@ -96,9 +88,6 @@ + #if conf.CHECK_BUNDLED_SYSTEM('tommath', checkfunctions='mp_init', headers='tommath.h'): + # conf.define('USING_SYSTEM_TOMMATH', 1) + +-check_system_heimdal_binary("compile_et") +-check_system_heimdal_binary("asn1_compile") +- + conf.env.KRB5_VENDOR = 'heimdal' + conf.define('USING_SYSTEM_KRB5', 1) + conf.define('USING_SYSTEM_HEIMDAL', 1) +-- +2.20.1 diff --git a/buildroot-2021.05/package/samba4/0004-ldap_message_test.c-include-stdint.h-before-cmoka.h.patch b/buildroot-2022.02.1/package/samba4/0003-ldap_message_test.c-include-stdint.h-before-cmoka.h.patch similarity index 100% rename from buildroot-2021.05/package/samba4/0004-ldap_message_test.c-include-stdint.h-before-cmoka.h.patch rename to buildroot-2022.02.1/package/samba4/0003-ldap_message_test.c-include-stdint.h-before-cmoka.h.patch diff --git a/buildroot-2022.02.1/package/samba4/0004-lib-util-Add-signal.h-include.patch b/buildroot-2022.02.1/package/samba4/0004-lib-util-Add-signal.h-include.patch new file mode 100644 index 00000000..838a8fa6 --- /dev/null +++ b/buildroot-2022.02.1/package/samba4/0004-lib-util-Add-signal.h-include.patch @@ -0,0 +1,37 @@ +From d1732a79dbf30c41802245909d0250ebe2b9d92e Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Sun, 12 Dec 2021 10:27:42 +0100 +Subject: [PATCH] lib/util: Add signal.h include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes build error with samba-4.15.3 and uClibc: + +../../source3/printing/samba-bgqd.c: In function ‘main’: +../../source3/printing/samba-bgqd.c:340:21: error: ‘SIGPIPE’ undeclared (first use in this function); did you mean ‘EPIPE’? +../../source3/printing/samba-bgqd.c:384:14: error: ‘SIGTERM’ undeclared (first use in this function) + +Patch sent upstream: +https://gitlab.com/samba-team/samba/-/merge_requests/2296 + +Signed-off-by: Bernd Kuhls +--- + lib/util/signal.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/util/signal.h b/lib/util/signal.h +index 0663af6ab94..f662ee110d6 100644 +--- a/lib/util/signal.h ++++ b/lib/util/signal.h +@@ -21,6 +21,7 @@ + #ifndef _SAMBA_UTIL_SIGNAL_H_ + #define _SAMBA_UTIL_SIGNAL_H_ + ++#include + #include + + /** +-- +2.30.2 + diff --git a/buildroot-2021.05/package/samba4/Config.in b/buildroot-2022.02.1/package/samba4/Config.in similarity index 100% rename from buildroot-2021.05/package/samba4/Config.in rename to buildroot-2022.02.1/package/samba4/Config.in diff --git a/buildroot-2021.05/package/samba4/S91smb b/buildroot-2022.02.1/package/samba4/S91smb similarity index 100% rename from buildroot-2021.05/package/samba4/S91smb rename to buildroot-2022.02.1/package/samba4/S91smb diff --git a/buildroot-2022.02.1/package/samba4/samba4-cache.txt b/buildroot-2022.02.1/package/samba4/samba4-cache.txt new file mode 100644 index 00000000..d95776a0 --- /dev/null +++ b/buildroot-2022.02.1/package/samba4/samba4-cache.txt @@ -0,0 +1,47 @@ +Checking simple C program: OK +rpath library support: OK +-Wl,--version-script support: OK +Checking getconf LFS_CFLAGS: NO +Checking for large file support without additional flags: OK +Checking for -D_LARGE_FILES: OK +Checking correct behavior of strtoll: NO +Checking for working strptime: OK +Checking for C99 vsnprintf: OK +Checking for HAVE_SHARED_MMAP: OK +Checking for HAVE_MREMAP: OK +Checking for HAVE_INCOHERENT_MMAP: NO +Checking for HAVE_SECURE_MKSTEMP: OK +Checking for HAVE_IFACE_GETIFADDRS: OK +Checking for kernel change notify support: OK +Checking for Linux kernel oplocks: OK +Checking for kernel share modes: OK +Checking if can we convert from CP850 to UCS-2LE: OK +Checking if can we convert from UTF-8 to UCS-2LE: OK +Checking whether we can use Linux thread-specific credentials with 32-bit system calls: OK +Checking whether we can use Linux thread-specific credentials: OK +Checking whether setreuid is available: OK +Checking whether setresuid is available: OK +Checking whether seteuid is available: OK +Checking whether fcntl locking is available: OK +Checking whether fcntl lock supports open file description locks: OK +Checking for the maximum value of the 'time_t' type: OK +Checking whether the realpath function allows a NULL argument: OK +Checking whether POSIX capabilities are available: OK +Checking for ftruncate extend: OK +vfs_fileid checking for statfs() and struct statfs.f_fsid: OK +getcwd takes a NULL argument: OK +Checking uname sysname type: "Linux" +Checking uname release type: "3.0.0" +Checking uname version type: "#1 Tue Nov 1 12:34:56 UTC 2013" +Checking value of NSIG: "65" +Checking value of _NSIG: "65" +Checking value of SIGRTMAX: "64" +Checking value of SIGRTMIN: "34" +Checking errno of iconv for illegal multibyte sequence: "0" +checking for clnt_create(): OK +Checking for a 64-bit host to support lmdb: NO +Checking value of GNUTLS_CIPHER_AES_128_CFB8: 29 +Checking value of GNUTLS_MAC_AES_CMAC_128: 203 +Checking whether fcntl supports flags to send direct I/O availability signals: OK +Checking for gnutls fips mode support: NO +Checking for readlink breakage: NO diff --git a/buildroot-2022.02.1/package/samba4/samba4.hash b/buildroot-2022.02.1/package/samba4/samba4.hash new file mode 100644 index 00000000..20e5f00b --- /dev/null +++ b/buildroot-2022.02.1/package/samba4/samba4.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +# https://download.samba.org/pub/samba/stable/samba-4.15.6.tar.asc +sha256 0575b999a9048445820428dc540ba8a9527ce596fa66af02ea2ba1ea9578bcb4 samba-4.15.6.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/samba4/samba4.mk b/buildroot-2022.02.1/package/samba4/samba4.mk new file mode 100644 index 00000000..688aaac3 --- /dev/null +++ b/buildroot-2022.02.1/package/samba4/samba4.mk @@ -0,0 +1,200 @@ +################################################################################ +# +# samba4 +# +################################################################################ + +SAMBA4_VERSION = 4.15.6 +SAMBA4_SITE = https://download.samba.org/pub/samba/stable +SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz +SAMBA4_INSTALL_STAGING = YES +SAMBA4_LICENSE = GPL-3.0+ +SAMBA4_LICENSE_FILES = COPYING +SAMBA4_CPE_ID_VENDOR = samba +SAMBA4_CPE_ID_PRODUCT = samba +SAMBA4_SELINUX_MODULES = samba +SAMBA4_DEPENDENCIES = \ + host-e2fsprogs host-flex host-heimdal host-nfs-utils \ + host-perl host-perl-parse-yapp host-python3 \ + cmocka e2fsprogs gnutls popt zlib \ + $(if $(BR2_PACKAGE_ICU),icu) \ + $(if $(BR2_PACKAGE_LIBAIO),libaio) \ + $(if $(BR2_PACKAGE_LIBCAP),libcap) \ + $(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \ + $(if $(BR2_PACKAGE_READLINE),readline) \ + $(TARGET_NLS_DEPENDENCIES) +SAMBA4_CFLAGS = $(TARGET_CFLAGS) +SAMBA4_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS) +SAMBA4_CONF_ENV = \ + CFLAGS="$(SAMBA4_CFLAGS)" \ + LDFLAGS="$(SAMBA4_LDFLAGS)" \ + XSLTPROC=false \ + WAF_NO_PREFORK=1 + +SAMBA4_PYTHON = PYTHON="$(HOST_DIR)/bin/python3" +ifeq ($(BR2_PACKAGE_PYTHON3),y) +SAMBA4_PYTHON += PYTHON_CONFIG="$(STAGING_DIR)/usr/bin/python3-config" +SAMBA4_DEPENDENCIES += python3 +else +SAMBA4_CONF_OPTS += --disable-python +endif + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +SAMBA4_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc` +SAMBA4_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc` +SAMBA4_DEPENDENCIES += libtirpc host-pkgconf +endif + +ifeq ($(BR2_PACKAGE_ACL),y) +SAMBA4_CONF_OPTS += --with-acl-support +SAMBA4_DEPENDENCIES += acl +else +SAMBA4_CONF_OPTS += --without-acl-support +endif + +ifeq ($(BR2_PACKAGE_CUPS),y) +SAMBA4_CONF_ENV += CUPS_CONFIG="$(STAGING_DIR)/usr/bin/cups-config" +SAMBA4_CONF_OPTS += --enable-cups +SAMBA4_DEPENDENCIES += cups +else +SAMBA4_CONF_OPTS += --disable-cups +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +SAMBA4_DEPENDENCIES += dbus +SAMBA4_SHARED_MODULES += vfs_snapper +else +SAMBA4_SHARED_MODULES += !vfs_snapper +endif + +ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_AVAHI_DAEMON),yy) +SAMBA4_CONF_OPTS += --enable-avahi +SAMBA4_DEPENDENCIES += avahi +else +SAMBA4_CONF_OPTS += --disable-avahi +endif + +ifeq ($(BR2_PACKAGE_GAMIN),y) +SAMBA4_CONF_OPTS += --with-fam +SAMBA4_DEPENDENCIES += gamin +else +SAMBA4_CONF_OPTS += --without-fam +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) +SAMBA4_CONF_OPTS += --with-libarchive +SAMBA4_DEPENDENCIES += libarchive +else +SAMBA4_CONF_OPTS += --without-libarchive +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) +SAMBA4_CONF_ENV += NCURSES_CONFIG="$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)" +SAMBA4_DEPENDENCIES += ncurses +else +SAMBA4_CONF_OPTS += --without-regedit +endif + +# The ctdb tests (cluster) need bash and take up some space +# They're normally intended for debugging so remove them +define SAMBA4_REMOVE_CTDB_TESTS + rm -rf $(TARGET_DIR)/usr/lib/ctdb-tests + rm -rf $(TARGET_DIR)/usr/share/ctdb-tests + rm -f $(TARGET_DIR)/usr/bin/ctdb_run_*tests +endef +SAMBA4_POST_INSTALL_TARGET_HOOKS += SAMBA4_REMOVE_CTDB_TESTS + +define SAMBA4_CONFIGURE_CMDS + $(INSTALL) -m 0644 package/samba4/samba4-cache.txt $(@D)/cache.txt; + echo 'Checking whether fcntl supports setting/geting hints: $(if $(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13),OK,NO)' >>$(@D)/cache.txt; + echo 'Checking uname machine type: $(BR2_ARCH)' >>$(@D)/cache.txt; + (cd $(@D); \ + $(SAMBA4_PYTHON) \ + python_LDFLAGS="" \ + python_LIBDIR="" \ + PERL="$(HOST_DIR)/bin/perl" \ + $(TARGET_CONFIGURE_OPTS) \ + $(SAMBA4_CONF_ENV) \ + ./buildtools/bin/waf configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-libiconv=$(STAGING_DIR)/usr \ + --enable-fhs \ + --cross-compile \ + --cross-answers=$(@D)/cache.txt \ + --hostcc=gcc \ + --disable-rpath \ + --disable-rpath-install \ + --disable-iprint \ + --without-pam \ + --without-dmapi \ + --without-gpgme \ + --without-ldb-lmdb \ + --disable-glusterfs \ + --with-cluster-support \ + --bundled-libraries='!asn1_compile,!compile_et' \ + --with-shared-modules=$(subst $(space),$(comma),$(strip $(SAMBA4_SHARED_MODULES))) \ + $(SAMBA4_CONF_OPTS) \ + ) +endef + +define SAMBA4_BUILD_CMDS + $(TARGET_MAKE_ENV) $(SAMBA4_PYTHON) $(MAKE) -C $(@D) +endef + +define SAMBA4_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(SAMBA4_PYTHON) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install +endef + +define SAMBA4_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(SAMBA4_PYTHON) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +ifeq ($(BR2_PACKAGE_SAMBA4_AD_DC),y) +# host-python-dnspython and host-python-markdown are not strictly +# needed on the host, but on the target. however, samba's configure +# tests for their availability on the host. +SAMBA4_DEPENDENCIES += \ + jansson \ + host-python-dnspython \ + host-python-markdown \ + python-dnspython \ + python-markdown +else +SAMBA4_CONF_OPTS += --without-ad-dc --without-json +endif + +ifeq ($(BR2_PACKAGE_SAMBA4_ADS),y) +SAMBA4_CONF_OPTS += --with-ads --with-ldap +SAMBA4_DEPENDENCIES += openldap +SAMBA4_SHARED_MODULES += idmap_ad +else +SAMBA4_CONF_OPTS += --without-ads --without-ldap +SAMBA4_SHARED_MODULES += !idmap_ad +endif + +ifeq ($(BR2_PACKAGE_SAMBA4_SMBTORTURE),) +define SAMBA4_REMOVE_SMBTORTURE + rm -f $(TARGET_DIR)/usr/bin/smbtorture +endef +SAMBA4_POST_INSTALL_TARGET_HOOKS += SAMBA4_REMOVE_SMBTORTURE +endif + +define SAMBA4_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/samba4/S91smb \ + $(TARGET_DIR)/etc/init.d/S91smb +endef + +ifeq ($(BR2_INIT_SYSTEMD),y) +SAMBA4_CONF_OPTS += --systemd-install-services +SAMBA4_DEPENDENCIES += systemd +endif + +define SAMBA4_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(@D)/packaging/systemd/samba.conf.tmp \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/samba.conf + printf "d /var/log/samba 755 root root\n" >>$(TARGET_DIR)/usr/lib/tmpfiles.d/samba.conf +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sane-backends/0001-sane_backend-add-missing-config.h.patch b/buildroot-2022.02.1/package/sane-backends/0001-sane_backend-add-missing-config.h.patch similarity index 100% rename from buildroot-2021.05/package/sane-backends/0001-sane_backend-add-missing-config.h.patch rename to buildroot-2022.02.1/package/sane-backends/0001-sane_backend-add-missing-config.h.patch diff --git a/buildroot-2021.05/package/sane-backends/0002-genesys-fix-gcc-4.8-compile.patch b/buildroot-2022.02.1/package/sane-backends/0002-genesys-fix-gcc-4.8-compile.patch similarity index 100% rename from buildroot-2021.05/package/sane-backends/0002-genesys-fix-gcc-4.8-compile.patch rename to buildroot-2022.02.1/package/sane-backends/0002-genesys-fix-gcc-4.8-compile.patch diff --git a/buildroot-2021.05/package/sane-backends/0003-genesys-use-usleep-instead-of-std-this_thread-sleep_.patch b/buildroot-2022.02.1/package/sane-backends/0003-genesys-use-usleep-instead-of-std-this_thread-sleep_.patch similarity index 100% rename from buildroot-2021.05/package/sane-backends/0003-genesys-use-usleep-instead-of-std-this_thread-sleep_.patch rename to buildroot-2022.02.1/package/sane-backends/0003-genesys-use-usleep-instead-of-std-this_thread-sleep_.patch diff --git a/buildroot-2022.02.1/package/sane-backends/0004-backend-microtek-fix-uclibc-compile-include-stdarg.h.patch b/buildroot-2022.02.1/package/sane-backends/0004-backend-microtek-fix-uclibc-compile-include-stdarg.h.patch new file mode 100644 index 00000000..c5af1624 --- /dev/null +++ b/buildroot-2022.02.1/package/sane-backends/0004-backend-microtek-fix-uclibc-compile-include-stdarg.h.patch @@ -0,0 +1,58 @@ +From 145e16008e7479ea58278e55f71d6dfcd4db714b Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Fri, 18 Jun 2021 19:51:45 +0200 +Subject: [PATCH] backend/microtek: fix uclibc compile (include stdarg.h for + va_list/va_start/va_end) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + microtek.c: In function ‘MDBG_INIT’: + microtek.c:163:3: error: unknown type name ‘va_list’ + 163 | va_list ap; + | ^~~~~~~ + microtek.c:78:1: note: ‘va_list’ is defined in header ‘’; did you forget to ‘#include ’? + 77 | #include "microtek.h" + +++ |+#include + 78 | + microtek.c:164:3: warning: implicit declaration of function ‘va_start’; did you mean ‘sane_start’? [-Wimplicit-function-declaration] + 164 | va_start(ap, format); + | ^~~~~~~~ + | sane_start + microtek.c:165:54: warning: passing argument 4 of ‘vsnprintf’ makes pointer from integer without a cast [-Wint-conversion] + 165 | vsnprintf(_mdebug_string, MAX_MDBG_LENGTH, format, ap); + | ^~ + | | + | int + In file included from ../include/sane/sanei_config.h:50, + from microtek.c:70: + .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:359:57: note: expected ‘__va_list_tag *’ but argument is of type ‘int’ + 359 | const char *__restrict __format, __gnuc_va_list __arg) + | ~~~~~~~~~~~~~~~^~~~~ + microtek.c:166:3: warning: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration] + 166 | va_end(ap); + | ^~~~~~ + +[Upstream: https://gitlab.com/sane-project/backends/-/merge_requests/638] +Signed-off-by: Peter Seiderer +--- + backend/microtek.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/backend/microtek.c b/backend/microtek.c +index 200a69c1a..63560179c 100644 +--- a/backend/microtek.c ++++ b/backend/microtek.c +@@ -57,6 +57,7 @@ + + #include "../include/sane/config.h" + ++#include + #include + #include + #include +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/sane-backends/0005-backend-sm3600-scanutil-fix-uclibc-compile-include-s.patch b/buildroot-2022.02.1/package/sane-backends/0005-backend-sm3600-scanutil-fix-uclibc-compile-include-s.patch new file mode 100644 index 00000000..0ea9de24 --- /dev/null +++ b/buildroot-2022.02.1/package/sane-backends/0005-backend-sm3600-scanutil-fix-uclibc-compile-include-s.patch @@ -0,0 +1,59 @@ +From 7dafc52dda96fa68f39058b10eec3d822fd5ea9d Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Fri, 18 Jun 2021 19:56:56 +0200 +Subject: [PATCH] backend/sm3600-scanutil: fix uclibc compile (include stdarg.h + for va_list/va_start/va_end) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes: + + sm3600-scanutil.c: In function ‘debug_printf’: + sm3600-scanutil.c:69:3: error: unknown type name ‘va_list’ + 69 | va_list ap; + | ^~~~~~~ + sm3600-scanutil.c:48:1: note: ‘va_list’ is defined in header ‘’; did you forget to ‘#include ’? + 47 | #include "sm3600-scantool.h" + +++ |+#include + 48 | + sm3600-scanutil.c:75:3: warning: implicit declaration of function ‘va_start’; did you mean ‘sane_start’? [-Wimplicit-function-declaration] + 75 | va_start(ap,szFormat); + | ^~~~~~~~ + | sane_start + sm3600-scanutil.c:76:28: warning: passing argument 3 of ‘vfprintf’ makes pointer from integer without a cast [-Wint-conversion] + 76 | vfprintf(stderr,szFormat,ap); + | ^~ + | | + | int + In file included from ../include/sane/sanei_config.h:50, + from sm3600.c:70: + .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/stdio.h:339:23: note: expected ‘__va_list_tag *’ but argument is of type ‘int’ + 339 | __gnuc_va_list __arg); + | ~~~~~~~~~~~~~~~^~~~~ + In file included from sm3600.c:94: + sm3600-scanutil.c:77:3: warning: implicit declaration of function ‘va_end’ [-Wimplicit-function-declaration] + 77 | va_end(ap); + | ^~~~~~ + +[Upstream: https://gitlab.com/sane-project/backends/-/merge_requests/638] +Signed-off-by: Peter Seiderer +--- + backend/sm3600-scanutil.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/backend/sm3600-scanutil.c b/backend/sm3600-scanutil.c +index 6fe67ed0c..616bf3f4c 100644 +--- a/backend/sm3600-scanutil.c ++++ b/backend/sm3600-scanutil.c +@@ -43,6 +43,7 @@ Userspace scan tool for the Microtek 3600 scanner + + ====================================================================== */ + ++#include + #include + #include "sm3600-scantool.h" + +-- +2.31.1 + diff --git a/buildroot-2021.05/package/sane-backends/Config.in b/buildroot-2022.02.1/package/sane-backends/Config.in similarity index 100% rename from buildroot-2021.05/package/sane-backends/Config.in rename to buildroot-2022.02.1/package/sane-backends/Config.in diff --git a/buildroot-2021.05/package/sane-backends/sane-backends.hash b/buildroot-2022.02.1/package/sane-backends/sane-backends.hash similarity index 100% rename from buildroot-2021.05/package/sane-backends/sane-backends.hash rename to buildroot-2022.02.1/package/sane-backends/sane-backends.hash diff --git a/buildroot-2021.05/package/sane-backends/sane-backends.mk b/buildroot-2022.02.1/package/sane-backends/sane-backends.mk similarity index 100% rename from buildroot-2021.05/package/sane-backends/sane-backends.mk rename to buildroot-2022.02.1/package/sane-backends/sane-backends.mk diff --git a/buildroot-2021.05/package/sane-backends/saned.socket b/buildroot-2022.02.1/package/sane-backends/saned.socket similarity index 100% rename from buildroot-2021.05/package/sane-backends/saned.socket rename to buildroot-2022.02.1/package/sane-backends/saned.socket diff --git a/buildroot-2021.05/package/sane-backends/saned@.service b/buildroot-2022.02.1/package/sane-backends/saned@.service similarity index 100% rename from buildroot-2021.05/package/sane-backends/saned@.service rename to buildroot-2022.02.1/package/sane-backends/saned@.service diff --git a/buildroot-2022.02.1/package/sbc/0001-sbc_primitives-Fix-build-on-non-x86.patch b/buildroot-2022.02.1/package/sbc/0001-sbc_primitives-Fix-build-on-non-x86.patch new file mode 100644 index 00000000..3ed73ebd --- /dev/null +++ b/buildroot-2022.02.1/package/sbc/0001-sbc_primitives-Fix-build-on-non-x86.patch @@ -0,0 +1,49 @@ +From 909a9bdf7ab143e1f0baaf9736baebd3cd79aacf Mon Sep 17 00:00:00 2001 +From: Marius Bakke +Date: Tue, 22 Dec 2020 11:04:26 +0000 +Subject: [PATCH] sbc_primitives: Fix build on non-x86. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Don't call __builtin_cpu_init unless targeting i386 or x86_64. +Otherwise we get an error at link time: + + CC sbc/sbc_primitives.lo +sbc/sbc_primitives.c: In function ‘sbc_init_primitives_x86’: +sbc/sbc_primitives.c:596:2: warning: implicit declaration of function ‘__builtin_cpu_init’; did you mean ‘__builtin_irint’? [-Wimplicit-function-declaration] +[...] + CCLD src/sbcdec +ld: sbc/.libs/libsbc-private.a(sbc_primitives.o): in function `sbc_init_primitives': +sbc_primitives.c:(.text+0x3a30): undefined reference to `__builtin_cpu_init' + +Signed-off-by: Pierre-Jean Texier +[Upstream status: backport from upstream commit 909a9bdf7ab143e1f0baaf9736baebd3cd79aacf] + +--- + sbc/sbc_primitives.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/sbc/sbc_primitives.c b/sbc/sbc_primitives.c +index 97a75be..09c214a 100644 +--- a/sbc/sbc_primitives.c ++++ b/sbc/sbc_primitives.c +@@ -593,6 +593,7 @@ static int sbc_calc_scalefactors_j( + + static void sbc_init_primitives_x86(struct sbc_encoder_state *state) + { ++#if defined(__x86_64__) || defined(__i386__) + __builtin_cpu_init(); + + #ifdef SBC_BUILD_WITH_MMX_SUPPORT +@@ -604,6 +605,7 @@ static void sbc_init_primitives_x86(struct sbc_encoder_state *state) + if (__builtin_cpu_supports("sse4.2")) + sbc_init_primitives_sse(state); + #endif ++#endif + } + + /* +-- +2.17.1 + diff --git a/buildroot-2021.05/package/sbc/Config.in b/buildroot-2022.02.1/package/sbc/Config.in similarity index 100% rename from buildroot-2021.05/package/sbc/Config.in rename to buildroot-2022.02.1/package/sbc/Config.in diff --git a/buildroot-2022.02.1/package/sbc/sbc.hash b/buildroot-2022.02.1/package/sbc/sbc.hash new file mode 100644 index 00000000..beb3b232 --- /dev/null +++ b/buildroot-2022.02.1/package/sbc/sbc.hash @@ -0,0 +1,6 @@ +# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc +sha256 0cbad69823a99e8421fe0700e8cf9eeb8fa0c1ad28e8dbc2182b3353507931d2 sbc-1.5.tar.xz + +# sha256 locally computed +sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING +sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB diff --git a/buildroot-2022.02.1/package/sbc/sbc.mk b/buildroot-2022.02.1/package/sbc/sbc.mk new file mode 100644 index 00000000..af5cf291 --- /dev/null +++ b/buildroot-2022.02.1/package/sbc/sbc.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# sbc +# +################################################################################ + +SBC_VERSION = 1.5 +SBC_SOURCE = sbc-$(SBC_VERSION).tar.xz +SBC_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth +SBC_INSTALL_STAGING = YES +SBC_DEPENDENCIES = libsndfile host-pkgconf +SBC_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (library) +SBC_LICENSE_FILES = COPYING COPYING.LIB + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/sconeserver/0001-sconex-Descriptor.cpp-fix-build-with-gcc-11.patch b/buildroot-2022.02.1/package/sconeserver/0001-sconex-Descriptor.cpp-fix-build-with-gcc-11.patch new file mode 100644 index 00000000..335be82f --- /dev/null +++ b/buildroot-2022.02.1/package/sconeserver/0001-sconex-Descriptor.cpp-fix-build-with-gcc-11.patch @@ -0,0 +1,54 @@ +From 5e4cb613d9bb287e9f54da86f99a51d0338b1faa Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 10 Aug 2021 10:36:53 +0200 +Subject: [PATCH] sconex/Descriptor.cpp: fix build with gcc 11 + +Fix the following build failure with gcc 11: + +In file included from ../sconex/sconex.h:229, + from ../sconex/Descriptor.h:63, + from Descriptor.cpp:22: +Descriptor.cpp: In member function 'void scx::Descriptor::add_stream(scx::Stream*)': +Descriptor.cpp:150:22: error: ordered comparison of pointer with integer zero ('scx::Stream*' and 'int') + 150 | DEBUG_ASSERT(stream>=0,"add_stream() Invalid stream"); + | ~~~~~~^~~ + | ^~~~ +Descriptor.cpp: In member function 'bool scx::Descriptor::remove_stream(scx::Stream*)': +Descriptor.cpp:204:22: error: ordered comparison of pointer with integer zero ('scx::Stream*' and 'int') + 204 | DEBUG_ASSERT(stream>=0,"remove_stream() Invalid stream"); + | ~~~~~~^~~ + +Fixes: + - http://autobuild.buildroot.org/results/ccc9562e83fd2bd312d21b3124be42dfe4b7e850 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/sconemad/sconeserver/pull/4] +--- + sconex/Descriptor.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/sconex/Descriptor.cpp b/sconex/Descriptor.cpp +index 590adba..4adfd86 100644 +--- a/sconex/Descriptor.cpp ++++ b/sconex/Descriptor.cpp +@@ -147,7 +147,7 @@ bool Descriptor::dup(int d) + //============================================================================= + void Descriptor::add_stream(Stream* stream) + { +- DEBUG_ASSERT(stream>=0,"add_stream() Invalid stream"); ++ DEBUG_ASSERT(stream!=0,"add_stream() Invalid stream"); + + m_streams.push_back(stream); + stream->set_endpoint(this); +@@ -201,7 +201,7 @@ void Descriptor::add_stream_after(Stream* stream,const Stream* after) + //============================================================================= + bool Descriptor::remove_stream(Stream* stream) + { +- DEBUG_ASSERT(stream>=0,"remove_stream() Invalid stream"); ++ DEBUG_ASSERT(stream!=0,"remove_stream() Invalid stream"); + + std::list::iterator it = m_streams.begin(); + while (it != m_streams.end()) { +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/sconeserver/0002-CMake-ify.patch b/buildroot-2022.02.1/package/sconeserver/0002-CMake-ify.patch new file mode 100644 index 00000000..810c8034 --- /dev/null +++ b/buildroot-2022.02.1/package/sconeserver/0002-CMake-ify.patch @@ -0,0 +1,173 @@ +From 0cb655721d7f8aa5d6d14fc1dfce18c518ce2419 Mon Sep 17 00:00:00 2001 +From: Andrew Wedgbury +Date: Mon, 19 Aug 2019 21:12:59 +0000 +Subject: [PATCH] CMake-ify + +[Retrieve (and updated to only keep fix on sconex.cpp) from: +https://github.com/sconemad/sconeserver/commit/0cb655721d7f8aa5d6d14fc1dfce18c518ce2419] +Signed-off-by: Fabrice Fontaine +--- + .gitignore | 5 + + CMakeLists.txt | 52 ++++ + Makefile.am | 58 ---- + autogen.sh | 8 - + bluetooth/CMakeLists.txt | 16 + + bluetooth/Makefile.am | 22 -- + config.h.in | 335 +-------------------- + configure.in | 451 ---------------------------- + debian/rules | 10 +- + debian/sconeserver-base.install | 2 +- + debian/sconeserver-dev.install | 4 +- + examples/Makefile.am | 4 - + examples/rot13/CMakeLists.txt | 9 + + examples/rot13/Makefile.am | 24 -- + examples/tuesdayonly/CMakeLists.txt | 7 + + examples/tuesdayonly/Makefile.am | 18 -- + exec/CMakeLists.txt | 9 + + exec/Makefile.am | 24 -- + forward/CMakeLists.txt | 8 + + forward/Makefile.am | 19 -- + http/CMakeLists.txt | 51 ++++ + http/Makefile.am | 58 ---- + image/CMakeLists.txt | 12 + + image/Makefile.am | 20 -- + ip/CMakeLists.txt | 9 + + ip/Makefile.am | 21 -- + ip6/CMakeLists.txt | 9 + + ip6/Makefile.am | 21 -- + local/CMakeLists.txt | 9 + + local/Makefile.am | 21 -- + location/CMakeLists.txt | 11 + + location/Makefile.am | 18 -- + main.cpp | 4 +- + markdown/CMakeLists.txt | 20 ++ + markdown/Makefile.am | 21 -- + maths/CMakeLists.txt | 32 ++ + maths/Makefile.am | 33 -- + mime/CMakeLists.txt | 8 + + mime/Makefile.am | 19 -- + mysql/CMakeLists.txt | 16 + + mysql/Makefile.am | 25 -- + rss/CMakeLists.txt | 15 + + rss/Makefile.am | 23 -- + sconeserver.cmake | 31 ++ + sconesite/CMakeLists.txt | 42 +++ + sconesite/Makefile.am | 79 ----- + sconex/Base64.cpp | 2 +- + sconex/CMakeLists.txt | 97 ++++++ + sconex/Database.cpp | 2 +- + sconex/FileDir.h | 4 +- + sconex/Makefile.am | 156 ---------- + sconex/ModuleLoader.cpp | 2 +- + sconex/Process.cpp | 8 - + sconex/RegExp.cpp | 4 - + sconex/RegExp.h | 4 +- + sconex/ScriptContext.cpp | 7 +- + sconex/ScriptTypes.cpp | 2 +- + sconex/TermBuffer.cpp | 7 +- + sconex/sconex.cpp | 4 +- + sconex/sconex.h | 176 +++-------- + sconex/utils.cpp | 4 - + server/CMakeLists.txt | 19 ++ + server/Makefile.am | 26 -- + simple/CMakeLists.txt | 15 + + simple/Makefile.am | 21 -- + smtp/CMakeLists.txt | 15 + + smtp/Makefile.am | 21 -- + sqlite/CMakeLists.txt | 23 ++ + sqlite/Makefile.am | 25 -- + ssl/CMakeLists.txt | 23 ++ + ssl/Makefile.am | 30 -- + stat/CMakeLists.txt | 17 ++ + stat/Makefile.am | 23 -- + test/CMakeLists.txt | 13 + + test/Makefile.am | 53 ---- + testbuilder/CMakeLists.txt | 23 ++ + testbuilder/Makefile.am | 36 --- + tftp/CMakeLists.txt | 17 ++ + tftp/Makefile.am | 23 -- + upstart | 13 - + 80 files changed, 695 insertions(+), 1933 deletions(-) + create mode 100644 CMakeLists.txt + delete mode 100644 Makefile.am + delete mode 100755 autogen.sh + create mode 100644 bluetooth/CMakeLists.txt + delete mode 100644 bluetooth/Makefile.am + delete mode 100644 configure.in + delete mode 100644 examples/Makefile.am + create mode 100644 examples/rot13/CMakeLists.txt + delete mode 100644 examples/rot13/Makefile.am + create mode 100644 examples/tuesdayonly/CMakeLists.txt + delete mode 100644 examples/tuesdayonly/Makefile.am + create mode 100644 exec/CMakeLists.txt + delete mode 100644 exec/Makefile.am + create mode 100644 forward/CMakeLists.txt + delete mode 100644 forward/Makefile.am + create mode 100644 http/CMakeLists.txt + delete mode 100644 http/Makefile.am + create mode 100644 image/CMakeLists.txt + delete mode 100644 image/Makefile.am + create mode 100644 ip/CMakeLists.txt + delete mode 100644 ip/Makefile.am + create mode 100644 ip6/CMakeLists.txt + delete mode 100644 ip6/Makefile.am + create mode 100644 local/CMakeLists.txt + delete mode 100644 local/Makefile.am + create mode 100644 location/CMakeLists.txt + delete mode 100644 location/Makefile.am + create mode 100644 markdown/CMakeLists.txt + delete mode 100644 markdown/Makefile.am + create mode 100644 maths/CMakeLists.txt + delete mode 100644 maths/Makefile.am + create mode 100644 mime/CMakeLists.txt + delete mode 100644 mime/Makefile.am + create mode 100644 mysql/CMakeLists.txt + delete mode 100644 mysql/Makefile.am + create mode 100644 rss/CMakeLists.txt + delete mode 100644 rss/Makefile.am + create mode 100644 sconeserver.cmake + create mode 100644 sconesite/CMakeLists.txt + delete mode 100644 sconesite/Makefile.am + create mode 100644 sconex/CMakeLists.txt + delete mode 100644 sconex/Makefile.am + create mode 100644 server/CMakeLists.txt + delete mode 100644 server/Makefile.am + create mode 100644 simple/CMakeLists.txt + delete mode 100644 simple/Makefile.am + create mode 100644 smtp/CMakeLists.txt + delete mode 100644 smtp/Makefile.am + create mode 100644 sqlite/CMakeLists.txt + delete mode 100644 sqlite/Makefile.am + create mode 100644 ssl/CMakeLists.txt + delete mode 100644 ssl/Makefile.am + create mode 100644 stat/CMakeLists.txt + delete mode 100644 stat/Makefile.am + create mode 100644 test/CMakeLists.txt + delete mode 100644 test/Makefile.am + create mode 100644 testbuilder/CMakeLists.txt + delete mode 100644 testbuilder/Makefile.am + create mode 100644 tftp/CMakeLists.txt + delete mode 100644 tftp/Makefile.am + delete mode 100644 upstart + +diff --git a/sconex/sconex.cpp b/sconex/sconex.cpp +index 1b9fc97..a0ba8c1 100644 +--- a/sconex/sconex.cpp ++++ b/sconex/sconex.cpp +@@ -35,7 +35,7 @@ VersionTag& version() + const std::string& sconex_copyright() + { + static std::string s_copyright = +- "Copyright (c) 2000-2017 Andrew Wedgbury "; ++ "Copyright (c) 2000-2018 Andrew Wedgbury "; + return s_copyright; + } + +@@ -49,7 +49,7 @@ const std::string& build_type() + //========================================================================= + Date& build_time() + { +- static Date s_build_time(__DATE__" "__TIME__,true); ++ static Date s_build_time( __DATE__ " " __TIME__ ,true); + return s_build_time; + } diff --git a/buildroot-2021.05/package/sconeserver/Config.in b/buildroot-2022.02.1/package/sconeserver/Config.in similarity index 100% rename from buildroot-2021.05/package/sconeserver/Config.in rename to buildroot-2022.02.1/package/sconeserver/Config.in diff --git a/buildroot-2021.05/package/sconeserver/sconeserver.hash b/buildroot-2022.02.1/package/sconeserver/sconeserver.hash similarity index 100% rename from buildroot-2021.05/package/sconeserver/sconeserver.hash rename to buildroot-2022.02.1/package/sconeserver/sconeserver.hash diff --git a/buildroot-2022.02.1/package/sconeserver/sconeserver.mk b/buildroot-2022.02.1/package/sconeserver/sconeserver.mk new file mode 100644 index 00000000..2b28f801 --- /dev/null +++ b/buildroot-2022.02.1/package/sconeserver/sconeserver.mk @@ -0,0 +1,100 @@ +################################################################################ +# +# sconeserver +# +################################################################################ + +SCONESERVER_VERSION = 6b932d7d8dbb700b830205e7111e469cefff490c +SCONESERVER_SITE = $(call github,sconemad,sconeserver,$(SCONESERVER_VERSION)) +SCONESERVER_LICENSE = GPL-2.0+ +SCONESERVER_LICENSE_FILES = COPYING +# fetching from Git, we need to generate the configure script +SCONESERVER_AUTORECONF = YES +SCONESERVER_DEPENDENCIES = \ + host-pkgconf \ + $(if $(BR2_PACKAGE_PCRE),pcre) \ + zlib +# disable image as it fails to build with ImageMagick +# disable markdown module because its git submodule cmark +# https://github.com/sconemad/sconeserver/tree/master/markdown +# has no cross-compile support provided by the sconeserver build system +SCONESERVER_CONF_OPTS += \ + --with-ip \ + --with-local \ + --with-ip6 \ + --without-image \ + --without-markdown + +# Sconeserver configure script fails to find the libxml2 headers. +ifeq ($(BR2_PACKAGE_LIBXML2),y) +SCONESERVER_CONF_OPTS += \ + --with-xml2-config="$(STAGING_DIR)/usr/bin/xml2-config" +# Needed to fix build failure when icu is enabled in libxml2 +SCONESERVER_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SCONESERVER_DEPENDENCIES += openssl +SCONESERVER_CONF_OPTS += --with-ssl +else +SCONESERVER_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_EXAMPLES),y) +SCONESERVER_CONF_OPTS += --with-examples +else +SCONESERVER_CONF_OPTS += --without-examples +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE),y) +SCONESERVER_DEPENDENCIES += libxml2 +SCONESERVER_CONF_OPTS += --with-sconesite +else +SCONESERVER_CONF_OPTS += --without-sconesite +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_MYSQL),y) +SCONESERVER_DEPENDENCIES += mysql +SCONESERVER_CONF_OPTS += \ + --with-mysql \ + --with-mysql_config="$(STAGING_DIR)/usr/bin/mysql_config" \ + LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/mysql" +else +SCONESERVER_CONF_OPTS += --without-mysql +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_BLUETOOTH),y) +SCONESERVER_DEPENDENCIES += bluez5_utils +SCONESERVER_CONF_OPTS += --with-bluetooth +else +SCONESERVER_CONF_OPTS += --without-bluetooth +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_RSS),y) +SCONESERVER_DEPENDENCIES += libxml2 +SCONESERVER_CONF_OPTS += --with-rss +else +SCONESERVER_CONF_OPTS += --without-rss +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_LOCATION),y) +SCONESERVER_DEPENDENCIES += gpsd +SCONESERVER_CONF_OPTS += --with-location +else +SCONESERVER_CONF_OPTS += --without-location +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_MATHS),y) +SCONESERVER_DEPENDENCIES += mpfr +SCONESERVER_CONF_OPTS += --with-maths +else +SCONESERVER_CONF_OPTS += --without-maths +endif + +ifeq ($(BR2_PACKAGE_SCONESERVER_TESTBUILDER),y) +SCONESERVER_CONF_OPTS += --with-testbuilder +else +SCONESERVER_CONF_OPTS += --without-testbuilder +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/scons/scons.hash b/buildroot-2022.02.1/package/scons/scons.hash similarity index 100% rename from buildroot-2021.05/package/scons/scons.hash rename to buildroot-2022.02.1/package/scons/scons.hash diff --git a/buildroot-2022.02.1/package/scons/scons.mk b/buildroot-2022.02.1/package/scons/scons.mk new file mode 100644 index 00000000..6b75d3dd --- /dev/null +++ b/buildroot-2022.02.1/package/scons/scons.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# scons +# +################################################################################ + +SCONS_VERSION = 3.1.2 +SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION) +SCONS_LICENSE = MIT +SCONS_LICENSE_FILES = LICENSE.txt +SCONS_SETUP_TYPE = distutils + +HOST_SCONS_INSTALL_OPTS = \ + --install-lib=$(HOST_DIR)/lib/scons-$(SCONS_VERSION) + +$(eval $(host-python-package)) + +# variables used by other packages +SCONS = $(HOST_DIR)/bin/python3 $(HOST_DIR)/bin/scons $(if $(QUIET),-s) diff --git a/buildroot-2021.05/package/screen/0001-no-memcpy-fallback.patch b/buildroot-2022.02.1/package/screen/0001-no-memcpy-fallback.patch similarity index 100% rename from buildroot-2021.05/package/screen/0001-no-memcpy-fallback.patch rename to buildroot-2022.02.1/package/screen/0001-no-memcpy-fallback.patch diff --git a/buildroot-2021.05/package/screen/0002-install-no-backup-binary.patch b/buildroot-2022.02.1/package/screen/0002-install-no-backup-binary.patch similarity index 100% rename from buildroot-2021.05/package/screen/0002-install-no-backup-binary.patch rename to buildroot-2022.02.1/package/screen/0002-install-no-backup-binary.patch diff --git a/buildroot-2021.05/package/screen/0003-install-always-chmod.patch b/buildroot-2022.02.1/package/screen/0003-install-always-chmod.patch similarity index 100% rename from buildroot-2021.05/package/screen/0003-install-always-chmod.patch rename to buildroot-2022.02.1/package/screen/0003-install-always-chmod.patch diff --git a/buildroot-2021.05/package/screen/0004-install-nonversioned-binary.patch b/buildroot-2022.02.1/package/screen/0004-install-nonversioned-binary.patch similarity index 100% rename from buildroot-2021.05/package/screen/0004-install-nonversioned-binary.patch rename to buildroot-2022.02.1/package/screen/0004-install-nonversioned-binary.patch diff --git a/buildroot-2021.05/package/screen/0005-rename-sched_h.patch b/buildroot-2022.02.1/package/screen/0005-rename-sched_h.patch similarity index 100% rename from buildroot-2021.05/package/screen/0005-rename-sched_h.patch rename to buildroot-2022.02.1/package/screen/0005-rename-sched_h.patch diff --git a/buildroot-2021.05/package/screen/0006-comm-h-now-depends-on-term-h.patch b/buildroot-2022.02.1/package/screen/0006-comm-h-now-depends-on-term-h.patch similarity index 100% rename from buildroot-2021.05/package/screen/0006-comm-h-now-depends-on-term-h.patch rename to buildroot-2022.02.1/package/screen/0006-comm-h-now-depends-on-term-h.patch diff --git a/buildroot-2021.05/package/screen/0007-comm.h-needed-for-list_-display-generic-.o.patch b/buildroot-2022.02.1/package/screen/0007-comm.h-needed-for-list_-display-generic-.o.patch similarity index 100% rename from buildroot-2021.05/package/screen/0007-comm.h-needed-for-list_-display-generic-.o.patch rename to buildroot-2022.02.1/package/screen/0007-comm.h-needed-for-list_-display-generic-.o.patch diff --git a/buildroot-2021.05/package/screen/0008_CVE-2021-26937.patch b/buildroot-2022.02.1/package/screen/0008-CVE-2021-26937.patch similarity index 100% rename from buildroot-2021.05/package/screen/0008_CVE-2021-26937.patch rename to buildroot-2022.02.1/package/screen/0008-CVE-2021-26937.patch diff --git a/buildroot-2021.05/package/screen/Config.in b/buildroot-2022.02.1/package/screen/Config.in similarity index 100% rename from buildroot-2021.05/package/screen/Config.in rename to buildroot-2022.02.1/package/screen/Config.in diff --git a/buildroot-2021.05/package/screen/screen.hash b/buildroot-2022.02.1/package/screen/screen.hash similarity index 100% rename from buildroot-2021.05/package/screen/screen.hash rename to buildroot-2022.02.1/package/screen/screen.hash diff --git a/buildroot-2022.02.1/package/screen/screen.mk b/buildroot-2022.02.1/package/screen/screen.mk new file mode 100644 index 00000000..843c71fc --- /dev/null +++ b/buildroot-2022.02.1/package/screen/screen.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# screen +# +################################################################################ + +SCREEN_VERSION = 4.8.0 +SCREEN_SITE = $(BR2_GNU_MIRROR)/screen +SCREEN_LICENSE = GPL-3.0+ +SCREEN_LICENSE_FILES = COPYING +SCREEN_CPE_ID_VENDOR = gnu +SCREEN_SELINUX_MODULES = screen +SCREEN_DEPENDENCIES = ncurses +SCREEN_AUTORECONF = YES +SCREEN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS)" +SCREEN_CONF_OPTS = --enable-colors256 +SCREEN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin + +# 0008_CVE-2021-26937.patch +SCREEN_IGNORE_CVES += CVE-2021-26937 + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +SCREEN_DEPENDENCIES += linux-pam +SCREEN_CONF_OPTS += --enable-pam +else +SCREEN_CONF_OPTS += --disable-pam +endif + +define SCREEN_INSTALL_SCREENRC + $(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc +endef +SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC + +# Add /usr/bin/screen to /etc/shells otherwise some login tools like dropbear +# can reject the user connection. See man shells. +define SCREEN_ADD_SCREEN_TO_SHELLS + grep -qsE '^/usr/bin/screen$$' $(TARGET_DIR)/etc/shells \ + || echo "/usr/bin/screen" >> $(TARGET_DIR)/etc/shells +endef +SCREEN_TARGET_FINALIZE_HOOKS += SCREEN_ADD_SCREEN_TO_SHELLS + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/screenfetch/Config.in b/buildroot-2022.02.1/package/screenfetch/Config.in similarity index 100% rename from buildroot-2021.05/package/screenfetch/Config.in rename to buildroot-2022.02.1/package/screenfetch/Config.in diff --git a/buildroot-2021.05/package/screenfetch/screenfetch.hash b/buildroot-2022.02.1/package/screenfetch/screenfetch.hash similarity index 100% rename from buildroot-2021.05/package/screenfetch/screenfetch.hash rename to buildroot-2022.02.1/package/screenfetch/screenfetch.hash diff --git a/buildroot-2021.05/package/screenfetch/screenfetch.mk b/buildroot-2022.02.1/package/screenfetch/screenfetch.mk similarity index 100% rename from buildroot-2021.05/package/screenfetch/screenfetch.mk rename to buildroot-2022.02.1/package/screenfetch/screenfetch.mk diff --git a/buildroot-2021.05/package/scrub/0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch b/buildroot-2022.02.1/package/scrub/0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch similarity index 100% rename from buildroot-2021.05/package/scrub/0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch rename to buildroot-2022.02.1/package/scrub/0001-configure-ac-make-sure-m4-macros-are-included-in-the-build.patch diff --git a/buildroot-2021.05/package/scrub/Config.in b/buildroot-2022.02.1/package/scrub/Config.in similarity index 100% rename from buildroot-2021.05/package/scrub/Config.in rename to buildroot-2022.02.1/package/scrub/Config.in diff --git a/buildroot-2021.05/package/scrub/scrub.hash b/buildroot-2022.02.1/package/scrub/scrub.hash similarity index 100% rename from buildroot-2021.05/package/scrub/scrub.hash rename to buildroot-2022.02.1/package/scrub/scrub.hash diff --git a/buildroot-2021.05/package/scrub/scrub.mk b/buildroot-2022.02.1/package/scrub/scrub.mk similarity index 100% rename from buildroot-2021.05/package/scrub/scrub.mk rename to buildroot-2022.02.1/package/scrub/scrub.mk diff --git a/buildroot-2021.05/package/scrypt/Config.in b/buildroot-2022.02.1/package/scrypt/Config.in similarity index 100% rename from buildroot-2021.05/package/scrypt/Config.in rename to buildroot-2022.02.1/package/scrypt/Config.in diff --git a/buildroot-2021.05/package/scrypt/scrypt.hash b/buildroot-2022.02.1/package/scrypt/scrypt.hash similarity index 100% rename from buildroot-2021.05/package/scrypt/scrypt.hash rename to buildroot-2022.02.1/package/scrypt/scrypt.hash diff --git a/buildroot-2021.05/package/scrypt/scrypt.mk b/buildroot-2022.02.1/package/scrypt/scrypt.mk similarity index 100% rename from buildroot-2021.05/package/scrypt/scrypt.mk rename to buildroot-2022.02.1/package/scrypt/scrypt.mk diff --git a/buildroot-2022.02.1/package/sdbus-cpp/Config.in b/buildroot-2022.02.1/package/sdbus-cpp/Config.in new file mode 100644 index 00000000..85f149ea --- /dev/null +++ b/buildroot-2022.02.1/package/sdbus-cpp/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_SDBUS_CPP + bool "sdbus-c++" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_SYSTEMD + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + help + sdbus-c++ is a high-level C++ D-Bus library for Linux + designed to provide expressive, easy-to-use API in modern C++. + + This will build the target library. + + https://github.com/Kistler-Group/sdbus-cpp + +comment "sdbus-c++ needs systemd and a toolchain w/ C++, gcc >= 7" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_SYSTEMD || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 diff --git a/buildroot-2022.02.1/package/sdbus-cpp/sdbus-cpp.hash b/buildroot-2022.02.1/package/sdbus-cpp/sdbus-cpp.hash new file mode 100644 index 00000000..3a0e863a --- /dev/null +++ b/buildroot-2022.02.1/package/sdbus-cpp/sdbus-cpp.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 35e939fdd9c796522702c9c8762dd59b5c47f3440c01ba9feb9921c042780b55 v1.1.0.tar.gz +sha256 20c17d8b8c48a600800dfd14f95d5cb9ff47066a9641ddeab48dc54aec96e331 COPYING +sha256 be43debbf06a38325616054a39e44ed5afde4ed21b99de197488a4a306d47e39 COPYING-LGPL-Exception diff --git a/buildroot-2022.02.1/package/sdbus-cpp/sdbus-cpp.mk b/buildroot-2022.02.1/package/sdbus-cpp/sdbus-cpp.mk new file mode 100644 index 00000000..e0fbc5c8 --- /dev/null +++ b/buildroot-2022.02.1/package/sdbus-cpp/sdbus-cpp.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# sdbus-c++ +# +################################################################################ + +SDBUS_CPP_VERSION = 1.1.0 +SDBUS_CPP_SOURCE = v$(SDBUS_CPP_VERSION).tar.gz +SDBUS_CPP_SITE = $(call github,Kistler-Group,sdbus-cpp,v$(SDBUS_CPP_VERSION)) +SDBUS_CPP_INSTALL_STAGING = YES +SDBUS_CPP_DEPENDENCIES = host-pkgconf systemd +SDBUS_CPP_LICENSE = LGPL-2.1+ with exception (headers) +SDBUS_CPP_LICENSE_FILES = COPYING COPYING-LGPL-Exception + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/sdbusplus/Config.in b/buildroot-2022.02.1/package/sdbusplus/Config.in similarity index 100% rename from buildroot-2021.05/package/sdbusplus/Config.in rename to buildroot-2022.02.1/package/sdbusplus/Config.in diff --git a/buildroot-2021.05/package/sdbusplus/Config.in.host b/buildroot-2022.02.1/package/sdbusplus/Config.in.host similarity index 100% rename from buildroot-2021.05/package/sdbusplus/Config.in.host rename to buildroot-2022.02.1/package/sdbusplus/Config.in.host diff --git a/buildroot-2021.05/package/sdbusplus/sdbusplus.hash b/buildroot-2022.02.1/package/sdbusplus/sdbusplus.hash similarity index 100% rename from buildroot-2021.05/package/sdbusplus/sdbusplus.hash rename to buildroot-2022.02.1/package/sdbusplus/sdbusplus.hash diff --git a/buildroot-2022.02.1/package/sdbusplus/sdbusplus.mk b/buildroot-2022.02.1/package/sdbusplus/sdbusplus.mk new file mode 100644 index 00000000..498b8350 --- /dev/null +++ b/buildroot-2022.02.1/package/sdbusplus/sdbusplus.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# sdbusplus +# +################################################################################ + +SDBUSPLUS_VERSION = 4212292bcf136d04b38ba5116aa568b0fa312798 +SDBUSPLUS_SITE = $(call github,openbmc,sdbusplus,$(SDBUSPLUS_VERSION)) +SDBUSPLUS_DEPENDENCIES = host-autoconf-archive host-pkgconf systemd +HOST_SDBUSPLUS_DEPENDENCIES = \ + host-autoconf-archive \ + host-pkgconf \ + host-python3 \ + host-python-inflection \ + host-python-mako \ + host-python-pyyaml +SDBUSPLUS_CONF_OPTS = --disable-sdbuspp +HOST_SDBUSPLUS_CONF_OPTS = --disable-libsdbusplus +SDBUSPLUS_AUTORECONF = YES +SDBUSPLUS_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive +SDBUSPLUS_INSTALL_STAGING = YES +SDBUSPLUS_LICENSE = Apache-2.0 +SDBUSPLUS_LICENSE_FILES = LICENSE + +# Autoreconf is missing the m4/ directory, which might actually be missing +# iff it was the first argument, but unfortunately we are overriding the +# first include directory above. Thus we need that hook here. +define SDBUSPLUS_CREATE_M4 + mkdir -p $(@D)/m4 +endef +SDBUSPLUS_POST_PATCH_HOOKS += SDBUSPLUS_CREATE_M4 +HOST_SDBUSPLUS_POST_PATCH_HOOKS += SDBUSPLUS_CREATE_M4 + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/sdl/0001-use-correct-directfb-config.patch b/buildroot-2022.02.1/package/sdl/0001-use-correct-directfb-config.patch similarity index 100% rename from buildroot-2021.05/package/sdl/0001-use-correct-directfb-config.patch rename to buildroot-2022.02.1/package/sdl/0001-use-correct-directfb-config.patch diff --git a/buildroot-2021.05/package/sdl/0002-fix-compilation-with-libx11.patch b/buildroot-2022.02.1/package/sdl/0002-fix-compilation-with-libx11.patch similarity index 100% rename from buildroot-2021.05/package/sdl/0002-fix-compilation-with-libx11.patch rename to buildroot-2022.02.1/package/sdl/0002-fix-compilation-with-libx11.patch diff --git a/buildroot-2021.05/package/sdl/Config.in b/buildroot-2022.02.1/package/sdl/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl/Config.in rename to buildroot-2022.02.1/package/sdl/Config.in diff --git a/buildroot-2021.05/package/sdl/sdl.hash b/buildroot-2022.02.1/package/sdl/sdl.hash similarity index 100% rename from buildroot-2021.05/package/sdl/sdl.hash rename to buildroot-2022.02.1/package/sdl/sdl.hash diff --git a/buildroot-2021.05/package/sdl/sdl.mk b/buildroot-2022.02.1/package/sdl/sdl.mk similarity index 100% rename from buildroot-2021.05/package/sdl/sdl.mk rename to buildroot-2022.02.1/package/sdl/sdl.mk diff --git a/buildroot-2022.02.1/package/sdl2/Config.in b/buildroot-2022.02.1/package/sdl2/Config.in new file mode 100644 index 00000000..2ad45e4d --- /dev/null +++ b/buildroot-2022.02.1/package/sdl2/Config.in @@ -0,0 +1,64 @@ +config BR2_PACKAGE_SDL2 + bool "sdl2" + depends on !BR2_STATIC_LIBS + help + Simple DirectMedia Layer 2 - SDL2 is a library that allows + programs portable low level access to a video framebuffer, + audio output, mouse, and keyboard. It is not compatible with + SDL1. + + http://www.libsdl.org/ + +if BR2_PACKAGE_SDL2 + +config BR2_PACKAGE_SDL2_DIRECTFB + bool "DirectFB video driver" + depends on BR2_PACKAGE_DIRECTFB + +comment "DirectFB video driver needs directfb" + depends on !BR2_PACKAGE_DIRECTFB + +config BR2_PACKAGE_SDL2_X11 + bool "X11 video driver" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + +comment "X11 video driver needs X.org" + depends on !BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU + +config BR2_PACKAGE_SDL2_KMSDRM + bool "KMS/DRM video driver" + depends on BR2_PACKAGE_LIBDRM + depends on BR2_PACKAGE_MESA3D_GBM + +comment "KMS/DRM video driver needs libdrm" + depends on !BR2_PACKAGE_LIBDRM + +comment "KMS/DRM video driver needs mesa3d w/ GBM" + depends on !BR2_PACKAGE_MESA3D_GBM + +config BR2_PACKAGE_SDL2_OPENGL + bool "OpenGL (GLX)" + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU # X11 video driver + select BR2_PACKAGE_SDL2_X11 + +comment "OpenGL support needs X11 and an OpenGL provider" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_HAS_LIBGL || !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_SDL2_OPENGLES + bool "OpenGL ES" + depends on BR2_PACKAGE_HAS_LIBGLES + +comment "OpenGL ES support needs an OpenGL ES provider" + depends on !BR2_PACKAGE_HAS_LIBGLES + +endif + +comment "sdl2 needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/sdl2/sdl2.hash b/buildroot-2022.02.1/package/sdl2/sdl2.hash new file mode 100644 index 00000000..26b7ce41 --- /dev/null +++ b/buildroot-2022.02.1/package/sdl2/sdl2.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking http://www.libsdl.org/release/SDL2-2.0.20.tar.gz.sig +sha256 c56aba1d7b5b0e7e999e4a7698c70b63a3394ff9704b5f6e1c57e0c16f04dd06 SDL2-2.0.20.tar.gz +# Locally calculated +sha256 fcb07e07ac6bc8b2fcf047b50431ef4ebe5b619d7ca7c82212018309a9067426 LICENSE.txt diff --git a/buildroot-2022.02.1/package/sdl2/sdl2.mk b/buildroot-2022.02.1/package/sdl2/sdl2.mk new file mode 100644 index 00000000..e0a817e2 --- /dev/null +++ b/buildroot-2022.02.1/package/sdl2/sdl2.mk @@ -0,0 +1,161 @@ +################################################################################ +# +# sdl2 +# +################################################################################ + +SDL2_VERSION = 2.0.20 +SDL2_SOURCE = SDL2-$(SDL2_VERSION).tar.gz +SDL2_SITE = http://www.libsdl.org/release +SDL2_LICENSE = Zlib +SDL2_LICENSE_FILES = LICENSE.txt +SDL2_CPE_ID_VENDOR = libsdl +SDL2_CPE_ID_PRODUCT = simple_directmedia_layer +SDL2_INSTALL_STAGING = YES +SDL2_CONFIG_SCRIPTS = sdl2-config + +SDL2_CONF_OPTS += \ + --disable-rpath \ + --disable-arts \ + --disable-esd \ + --disable-dbus \ + --disable-pulseaudio \ + --disable-video-wayland + +# We are using autotools build system for sdl2, so the sdl2-config.cmake +# include path are not resolved like for sdl2-config script. +# Change the absolute /usr path to resolve relatively to the sdl2-config.cmake location. +# https://bugzilla.libsdl.org/show_bug.cgi?id=4597 +define SDL2_FIX_SDL2_CONFIG_CMAKE + $(SED) '2iget_filename_component(PACKAGE_PREFIX_DIR "$${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)\n' \ + $(STAGING_DIR)/usr/lib/cmake/SDL2/sdl2-config.cmake + $(SED) 's%"/usr"%$${PACKAGE_PREFIX_DIR}%' \ + $(STAGING_DIR)/usr/lib/cmake/SDL2/sdl2-config.cmake +endef +SDL2_POST_INSTALL_STAGING_HOOKS += SDL2_FIX_SDL2_CONFIG_CMAKE + +# We must enable static build to get compilation successful. +SDL2_CONF_OPTS += --enable-static + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +SDL2_DEPENDENCIES += udev +SDL2_CONF_OPTS += --enable-libudev +else +SDL2_CONF_OPTS += --disable-libudev +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE),y) +SDL2_CONF_OPTS += --enable-sse +else +SDL2_CONF_OPTS += --disable-sse +endif + +ifeq ($(BR2_X86_CPU_HAS_3DNOW),y) +SDL2_CONF_OPTS += --enable-3dnow +else +SDL2_CONF_OPTS += --disable-3dnow +endif + +ifeq ($(BR2_PACKAGE_SDL2_DIRECTFB),y) +SDL2_DEPENDENCIES += directfb +SDL2_CONF_OPTS += --enable-video-directfb +SDL2_CONF_ENV = ac_cv_path_DIRECTFBCONFIG=$(STAGING_DIR)/usr/bin/directfb-config +else +SDL2_CONF_OPTS += --disable-video-directfb +endif + +ifeq ($(BR2_PACKAGE_SDL2_OPENGLES)$(BR2_PACKAGE_RPI_USERLAND),yy) +SDL2_DEPENDENCIES += rpi-userland +SDL2_CONF_OPTS += --enable-video-rpi +else +SDL2_CONF_OPTS += --disable-video-rpi +endif + +# x-includes and x-libraries must be set for cross-compiling +# By default x_includes and x_libraries contains unsafe paths. +# (/usr/X11R6/include and /usr/X11R6/lib) +ifeq ($(BR2_PACKAGE_SDL2_X11),y) +SDL2_DEPENDENCIES += xlib_libX11 xlib_libXext + +# X11/extensions/shape.h is provided by libXext. +SDL2_CONF_OPTS += --enable-video-x11 \ + --with-x=$(STAGING_DIR) \ + --x-includes=$(STAGING_DIR)/usr/include \ + --x-libraries=$(STAGING_DIR)/usr/lib \ + --enable-video-x11-xshape + +ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) +SDL2_DEPENDENCIES += xlib_libXcursor +SDL2_CONF_OPTS += --enable-video-x11-xcursor +else +SDL2_CONF_OPTS += --disable-video-x11-xcursor +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +SDL2_DEPENDENCIES += xlib_libXinerama +SDL2_CONF_OPTS += --enable-video-x11-xinerama +else +SDL2_CONF_OPTS += --disable-video-x11-xinerama +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) +SDL2_DEPENDENCIES += xlib_libXi +SDL2_CONF_OPTS += --enable-video-x11-xinput +else +SDL2_CONF_OPTS += --disable-video-x11-xinput +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) +SDL2_DEPENDENCIES += xlib_libXrandr +SDL2_CONF_OPTS += --enable-video-x11-xrandr +else +SDL2_CONF_OPTS += --disable-video-x11-xrandr +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXSCRNSAVER),y) +SDL2_DEPENDENCIES += xlib_libXScrnSaver +SDL2_CONF_OPTS += --enable-video-x11-scrnsaver +else +SDL2_CONF_OPTS += --disable-video-x11-scrnsaver +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) +SDL2_DEPENDENCIES += xlib_libXxf86vm +SDL2_CONF_OPTS += --enable-video-x11-vm +else +SDL2_CONF_OPTS += --disable-video-x11-vm +endif + +else +SDL2_CONF_OPTS += --disable-video-x11 --without-x +endif + +ifeq ($(BR2_PACKAGE_SDL2_OPENGL),y) +SDL2_CONF_OPTS += --enable-video-opengl +SDL2_DEPENDENCIES += libgl +else +SDL2_CONF_OPTS += --disable-video-opengl +endif + +ifeq ($(BR2_PACKAGE_SDL2_OPENGLES),y) +SDL2_CONF_OPTS += --enable-video-opengles +SDL2_DEPENDENCIES += libgles +else +SDL2_CONF_OPTS += --disable-video-opengles +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +SDL2_DEPENDENCIES += alsa-lib +SDL2_CONF_OPTS += --enable-alsa +else +SDL2_CONF_OPTS += --disable-alsa +endif + +ifeq ($(BR2_PACKAGE_SDL2_KMSDRM),y) +SDL2_DEPENDENCIES += libdrm mesa3d +SDL2_CONF_OPTS += --enable-video-kmsdrm +else +SDL2_CONF_OPTS += --disable-video-kmsdrm +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sdl2_gfx/Config.in b/buildroot-2022.02.1/package/sdl2_gfx/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl2_gfx/Config.in rename to buildroot-2022.02.1/package/sdl2_gfx/Config.in diff --git a/buildroot-2021.05/package/sdl2_gfx/sdl2_gfx.hash b/buildroot-2022.02.1/package/sdl2_gfx/sdl2_gfx.hash similarity index 100% rename from buildroot-2021.05/package/sdl2_gfx/sdl2_gfx.hash rename to buildroot-2022.02.1/package/sdl2_gfx/sdl2_gfx.hash diff --git a/buildroot-2021.05/package/sdl2_gfx/sdl2_gfx.mk b/buildroot-2022.02.1/package/sdl2_gfx/sdl2_gfx.mk similarity index 100% rename from buildroot-2021.05/package/sdl2_gfx/sdl2_gfx.mk rename to buildroot-2022.02.1/package/sdl2_gfx/sdl2_gfx.mk diff --git a/buildroot-2021.05/package/sdl2_image/Config.in b/buildroot-2022.02.1/package/sdl2_image/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl2_image/Config.in rename to buildroot-2022.02.1/package/sdl2_image/Config.in diff --git a/buildroot-2021.05/package/sdl2_image/sdl2_image.hash b/buildroot-2022.02.1/package/sdl2_image/sdl2_image.hash similarity index 100% rename from buildroot-2021.05/package/sdl2_image/sdl2_image.hash rename to buildroot-2022.02.1/package/sdl2_image/sdl2_image.hash diff --git a/buildroot-2021.05/package/sdl2_image/sdl2_image.mk b/buildroot-2022.02.1/package/sdl2_image/sdl2_image.mk similarity index 100% rename from buildroot-2021.05/package/sdl2_image/sdl2_image.mk rename to buildroot-2022.02.1/package/sdl2_image/sdl2_image.mk diff --git a/buildroot-2021.05/package/sdl2_mixer/Config.in b/buildroot-2022.02.1/package/sdl2_mixer/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl2_mixer/Config.in rename to buildroot-2022.02.1/package/sdl2_mixer/Config.in diff --git a/buildroot-2021.05/package/sdl2_mixer/sdl2_mixer.hash b/buildroot-2022.02.1/package/sdl2_mixer/sdl2_mixer.hash similarity index 100% rename from buildroot-2021.05/package/sdl2_mixer/sdl2_mixer.hash rename to buildroot-2022.02.1/package/sdl2_mixer/sdl2_mixer.hash diff --git a/buildroot-2021.05/package/sdl2_mixer/sdl2_mixer.mk b/buildroot-2022.02.1/package/sdl2_mixer/sdl2_mixer.mk similarity index 100% rename from buildroot-2021.05/package/sdl2_mixer/sdl2_mixer.mk rename to buildroot-2022.02.1/package/sdl2_mixer/sdl2_mixer.mk diff --git a/buildroot-2021.05/package/sdl2_net/Config.in b/buildroot-2022.02.1/package/sdl2_net/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl2_net/Config.in rename to buildroot-2022.02.1/package/sdl2_net/Config.in diff --git a/buildroot-2021.05/package/sdl2_net/sdl2_net.hash b/buildroot-2022.02.1/package/sdl2_net/sdl2_net.hash similarity index 100% rename from buildroot-2021.05/package/sdl2_net/sdl2_net.hash rename to buildroot-2022.02.1/package/sdl2_net/sdl2_net.hash diff --git a/buildroot-2021.05/package/sdl2_net/sdl2_net.mk b/buildroot-2022.02.1/package/sdl2_net/sdl2_net.mk similarity index 100% rename from buildroot-2021.05/package/sdl2_net/sdl2_net.mk rename to buildroot-2022.02.1/package/sdl2_net/sdl2_net.mk diff --git a/buildroot-2021.05/package/sdl2_ttf/Config.in b/buildroot-2022.02.1/package/sdl2_ttf/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl2_ttf/Config.in rename to buildroot-2022.02.1/package/sdl2_ttf/Config.in diff --git a/buildroot-2022.02.1/package/sdl2_ttf/sdl2_ttf.hash b/buildroot-2022.02.1/package/sdl2_ttf/sdl2_ttf.hash new file mode 100644 index 00000000..a490b002 --- /dev/null +++ b/buildroot-2022.02.1/package/sdl2_ttf/sdl2_ttf.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 7234eb8883514e019e7747c703e4a774575b18d435c22a4a29d068cb768a2251 SDL2_ttf-2.0.18.tar.gz +sha256 e211dfe7e2c36e64048be886fe3f2bbba8732ce4dd77b596a355d3abbec775a4 COPYING.txt diff --git a/buildroot-2022.02.1/package/sdl2_ttf/sdl2_ttf.mk b/buildroot-2022.02.1/package/sdl2_ttf/sdl2_ttf.mk new file mode 100644 index 00000000..54e76815 --- /dev/null +++ b/buildroot-2022.02.1/package/sdl2_ttf/sdl2_ttf.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# sdl2_ttf +# +################################################################################ + +SDL2_TTF_VERSION = 2.0.18 +SDL2_TTF_SOURCE = SDL2_ttf-$(SDL2_TTF_VERSION).tar.gz +SDL2_TTF_SITE = http://www.libsdl.org/projects/SDL_ttf/release +SDL2_TTF_LICENSE = Zlib +SDL2_TTF_LICENSE_FILES = COPYING.txt +SDL2_TTF_INSTALL_STAGING = YES +SDL2_TTF_DEPENDENCIES = sdl2 freetype host-pkgconf +SDL2_TTF_CONF_OPTS = --disable-freetype-builtin + +ifeq ($(BR2_PACKAGE_HARFBUZZ),y) +SDL2_TTF_DEPENDENCIES += harfbuzz +SDL2_TTF_CONF_OPTS += --enable-harfbuzz +else +SDL2_TTF_CONF_OPTS += --disable-harfbuzz +endif + +# x-includes and x-libraries must be set for cross-compiling +# By default x_includes and x_libraries contains unsafe paths. +# (/usr/include and /usr/lib) +ifeq ($(BR2_PACKAGE_SDL2_X11),y) +SDL2_TTF_CONF_OPTS += \ + --with-x \ + --x-includes=$(STAGING_DIR)/usr/include \ + --x-libraries=$(STAGING_DIR)/usr/lib +else +SDL2_TTF_CONF_OPTS += \ + --without-x +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sdl_gfx/Config.in b/buildroot-2022.02.1/package/sdl_gfx/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl_gfx/Config.in rename to buildroot-2022.02.1/package/sdl_gfx/Config.in diff --git a/buildroot-2021.05/package/sdl_gfx/sdl_gfx.hash b/buildroot-2022.02.1/package/sdl_gfx/sdl_gfx.hash similarity index 100% rename from buildroot-2021.05/package/sdl_gfx/sdl_gfx.hash rename to buildroot-2022.02.1/package/sdl_gfx/sdl_gfx.hash diff --git a/buildroot-2021.05/package/sdl_gfx/sdl_gfx.mk b/buildroot-2022.02.1/package/sdl_gfx/sdl_gfx.mk similarity index 100% rename from buildroot-2021.05/package/sdl_gfx/sdl_gfx.mk rename to buildroot-2022.02.1/package/sdl_gfx/sdl_gfx.mk diff --git a/buildroot-2021.05/package/sdl_image/Config.in b/buildroot-2022.02.1/package/sdl_image/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl_image/Config.in rename to buildroot-2022.02.1/package/sdl_image/Config.in diff --git a/buildroot-2021.05/package/sdl_image/sdl_image.hash b/buildroot-2022.02.1/package/sdl_image/sdl_image.hash similarity index 100% rename from buildroot-2021.05/package/sdl_image/sdl_image.hash rename to buildroot-2022.02.1/package/sdl_image/sdl_image.hash diff --git a/buildroot-2021.05/package/sdl_image/sdl_image.mk b/buildroot-2022.02.1/package/sdl_image/sdl_image.mk similarity index 100% rename from buildroot-2021.05/package/sdl_image/sdl_image.mk rename to buildroot-2022.02.1/package/sdl_image/sdl_image.mk diff --git a/buildroot-2022.02.1/package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch b/buildroot-2022.02.1/package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch new file mode 100644 index 00000000..569fb550 --- /dev/null +++ b/buildroot-2022.02.1/package/sdl_mixer/0001-Add-Libs.private-field-to-pkg-config-file.patch @@ -0,0 +1,63 @@ +From abf3a1b9c9cdacb574c2b9cdbf3f2a5e18c39ab9 Mon Sep 17 00:00:00 2001 +From: Rodrigo Rebello +Date: Mon, 29 Feb 2016 22:53:49 -0300 +Subject: [PATCH] Add 'Libs.private' field to pkg-config file + +In order to support static linking, SDL_mixer.pc should include a +'Libs.private' field listing all the libraries that SDL_mixer requires. + +This patch adds such a field and also modifies configure.ac so that +EXTRA_LDFLAGS (which is now also used as the value of 'Libs.private') +no longer includes SDL_LIBS. This is done so as to prevent libraries +required by SDL from being listed twice when 'pkg-config --libs --static +SDL_mixer' is run (they're already shown because of the 'Requires: sdl' +line in SDL_mixer.pc). Makefile.in is also adjusted accordingly. + +Upstream status: submitted +https://bugzilla.libsdl.org/show_bug.cgi?id=3278 + +Signed-off-by: Rodrigo Rebello +--- + Makefile.in | 2 +- + SDL_mixer.pc.in | 1 + + configure.ac | 1 - + 3 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 027a99b..18015a2 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -61,7 +61,7 @@ $(objects): + .PHONY: all install install-hdrs install-lib install-bin uninstall uninstall-hdrs uninstall-lib uninstall-bin clean distclean dist + + $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS) +- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) ++ $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(SDL_LIBS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) + + $(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET) + $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(LDFLAGS) $(objects)/$(TARGET) +diff --git a/SDL_mixer.pc.in b/SDL_mixer.pc.in +index 1c4965d..d793521 100644 +--- a/SDL_mixer.pc.in ++++ b/SDL_mixer.pc.in +@@ -8,5 +8,6 @@ Description: mixer library for Simple DirectMedia Layer + Version: @VERSION@ + Requires: sdl >= @SDL_VERSION@ + Libs: -L${libdir} -lSDL_mixer ++Libs.private: @EXTRA_LDFLAGS@ + Cflags: -I${includedir}/SDL + +diff --git a/configure.ac b/configure.ac +index 01a3d83..3ad3b4f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -200,7 +200,6 @@ AM_PATH_SDL($SDL_VERSION, + AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!]) + ) + EXTRA_CFLAGS="$EXTRA_CFLAGS $SDL_CFLAGS" +-EXTRA_LDFLAGS="$EXTRA_LDFLAGS $SDL_LIBS" + + dnl Check for math library + AC_CHECK_LIB(m, pow, [LIBM="-lm"]) +-- +2.27.0 diff --git a/buildroot-2021.05/package/sdl_mixer/0002-configure__set_macro_directory.patch b/buildroot-2022.02.1/package/sdl_mixer/0002-configure__set_macro_directory.patch similarity index 100% rename from buildroot-2021.05/package/sdl_mixer/0002-configure__set_macro_directory.patch rename to buildroot-2022.02.1/package/sdl_mixer/0002-configure__set_macro_directory.patch diff --git a/buildroot-2021.05/package/sdl_mixer/0003-configure.ac-fix-static-linking-with-tremor.patch b/buildroot-2022.02.1/package/sdl_mixer/0003-configure.ac-fix-static-linking-with-tremor.patch similarity index 100% rename from buildroot-2021.05/package/sdl_mixer/0003-configure.ac-fix-static-linking-with-tremor.patch rename to buildroot-2022.02.1/package/sdl_mixer/0003-configure.ac-fix-static-linking-with-tremor.patch diff --git a/buildroot-2021.05/package/sdl_mixer/Config.in b/buildroot-2022.02.1/package/sdl_mixer/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl_mixer/Config.in rename to buildroot-2022.02.1/package/sdl_mixer/Config.in diff --git a/buildroot-2021.05/package/sdl_mixer/sdl_mixer.hash b/buildroot-2022.02.1/package/sdl_mixer/sdl_mixer.hash similarity index 100% rename from buildroot-2021.05/package/sdl_mixer/sdl_mixer.hash rename to buildroot-2022.02.1/package/sdl_mixer/sdl_mixer.hash diff --git a/buildroot-2021.05/package/sdl_mixer/sdl_mixer.mk b/buildroot-2022.02.1/package/sdl_mixer/sdl_mixer.mk similarity index 100% rename from buildroot-2021.05/package/sdl_mixer/sdl_mixer.mk rename to buildroot-2022.02.1/package/sdl_mixer/sdl_mixer.mk diff --git a/buildroot-2021.05/package/sdl_net/Config.in b/buildroot-2022.02.1/package/sdl_net/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl_net/Config.in rename to buildroot-2022.02.1/package/sdl_net/Config.in diff --git a/buildroot-2021.05/package/sdl_net/sdl_net.hash b/buildroot-2022.02.1/package/sdl_net/sdl_net.hash similarity index 100% rename from buildroot-2021.05/package/sdl_net/sdl_net.hash rename to buildroot-2022.02.1/package/sdl_net/sdl_net.hash diff --git a/buildroot-2021.05/package/sdl_net/sdl_net.mk b/buildroot-2022.02.1/package/sdl_net/sdl_net.mk similarity index 100% rename from buildroot-2021.05/package/sdl_net/sdl_net.mk rename to buildroot-2022.02.1/package/sdl_net/sdl_net.mk diff --git a/buildroot-2021.05/package/sdl_sound/0001-fix-constness.patch b/buildroot-2022.02.1/package/sdl_sound/0001-fix-constness.patch similarity index 100% rename from buildroot-2021.05/package/sdl_sound/0001-fix-constness.patch rename to buildroot-2022.02.1/package/sdl_sound/0001-fix-constness.patch diff --git a/buildroot-2021.05/package/sdl_sound/0002-remove-werror.patch b/buildroot-2022.02.1/package/sdl_sound/0002-remove-werror.patch similarity index 100% rename from buildroot-2021.05/package/sdl_sound/0002-remove-werror.patch rename to buildroot-2022.02.1/package/sdl_sound/0002-remove-werror.patch diff --git a/buildroot-2021.05/package/sdl_sound/0003-renamed-physfs-export.patch b/buildroot-2022.02.1/package/sdl_sound/0003-renamed-physfs-export.patch similarity index 100% rename from buildroot-2021.05/package/sdl_sound/0003-renamed-physfs-export.patch rename to buildroot-2022.02.1/package/sdl_sound/0003-renamed-physfs-export.patch diff --git a/buildroot-2021.05/package/sdl_sound/Config.in b/buildroot-2022.02.1/package/sdl_sound/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl_sound/Config.in rename to buildroot-2022.02.1/package/sdl_sound/Config.in diff --git a/buildroot-2021.05/package/sdl_sound/sdl_sound.hash b/buildroot-2022.02.1/package/sdl_sound/sdl_sound.hash similarity index 100% rename from buildroot-2021.05/package/sdl_sound/sdl_sound.hash rename to buildroot-2022.02.1/package/sdl_sound/sdl_sound.hash diff --git a/buildroot-2021.05/package/sdl_sound/sdl_sound.mk b/buildroot-2022.02.1/package/sdl_sound/sdl_sound.mk similarity index 100% rename from buildroot-2021.05/package/sdl_sound/sdl_sound.mk rename to buildroot-2022.02.1/package/sdl_sound/sdl_sound.mk diff --git a/buildroot-2021.05/package/sdl_ttf/Config.in b/buildroot-2022.02.1/package/sdl_ttf/Config.in similarity index 100% rename from buildroot-2021.05/package/sdl_ttf/Config.in rename to buildroot-2022.02.1/package/sdl_ttf/Config.in diff --git a/buildroot-2021.05/package/sdl_ttf/sdl_ttf.hash b/buildroot-2022.02.1/package/sdl_ttf/sdl_ttf.hash similarity index 100% rename from buildroot-2021.05/package/sdl_ttf/sdl_ttf.hash rename to buildroot-2022.02.1/package/sdl_ttf/sdl_ttf.hash diff --git a/buildroot-2022.02.1/package/sdl_ttf/sdl_ttf.mk b/buildroot-2022.02.1/package/sdl_ttf/sdl_ttf.mk new file mode 100644 index 00000000..c396830d --- /dev/null +++ b/buildroot-2022.02.1/package/sdl_ttf/sdl_ttf.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# sdl_ttf +# +################################################################################ + +# There is unlikely to be a new SDL_ttf release for the foreseeable future: +# https://bugzilla.libsdl.org/show_bug.cgi?id=5344#c1 +SDL_TTF_VERSION = 70b2940cc75e92aab02a67d2f827caf2836a2c74 +SDL_TTF_SITE = $(call github,libsdl-org,SDL_ttf,$(SDL_TTF_VERSION)) +SDL_TTF_LICENSE = Zlib +SDL_TTF_LICENSE_FILES = COPYING + +SDL_TTF_INSTALL_STAGING = YES +SDL_TTF_DEPENDENCIES = sdl freetype +SDL_TTF_CONF_OPTS = \ + --without-x \ + --with-freetype-prefix=$(STAGING_DIR)/usr \ + --with-sdl-prefix=$(STAGING_DIR)/usr + +SDL_TTF_MAKE_OPTS = \ + INCLUDES="-I$(STAGING_DIR)/usr/include/SDL" \ + LDFLAGS="-L$(STAGING_DIR)/usr/lib" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sdparm/Config.in b/buildroot-2022.02.1/package/sdparm/Config.in similarity index 100% rename from buildroot-2021.05/package/sdparm/Config.in rename to buildroot-2022.02.1/package/sdparm/Config.in diff --git a/buildroot-2021.05/package/sdparm/sdparm.hash b/buildroot-2022.02.1/package/sdparm/sdparm.hash similarity index 100% rename from buildroot-2021.05/package/sdparm/sdparm.hash rename to buildroot-2022.02.1/package/sdparm/sdparm.hash diff --git a/buildroot-2021.05/package/sdparm/sdparm.mk b/buildroot-2022.02.1/package/sdparm/sdparm.mk similarity index 100% rename from buildroot-2021.05/package/sdparm/sdparm.mk rename to buildroot-2022.02.1/package/sdparm/sdparm.mk diff --git a/buildroot-2022.02.1/package/seatd/Config.in b/buildroot-2022.02.1/package/seatd/Config.in new file mode 100644 index 00000000..5473b237 --- /dev/null +++ b/buildroot-2022.02.1/package/seatd/Config.in @@ -0,0 +1,23 @@ +menuconfig BR2_PACKAGE_SEATD + bool "seatd" + select BR2_PACKAGE_SEATD_BUILTIN \ + if !BR2_PACKAGE_SYSTEMD_LOGIND && !BR2_PACKAGE_SEATD_DAEMON + help + Seat management daemon and support library. + + https://git.sr.ht/~kennylevinsen/seatd + +if BR2_PACKAGE_SEATD + +config BR2_PACKAGE_SEATD_BUILTIN + bool "builtin backend" + help + Builtin in-process seatd implementation inside libseat. + +config BR2_PACKAGE_SEATD_DAEMON + bool "seatd daemon" + depends on BR2_USE_MMU # fork() + help + Build the seatd daemon and support for it inside libseat. + +endif diff --git a/buildroot-2022.02.1/package/seatd/S70seatd b/buildroot-2022.02.1/package/seatd/S70seatd new file mode 100755 index 00000000..32bdc40f --- /dev/null +++ b/buildroot-2022.02.1/package/seatd/S70seatd @@ -0,0 +1,46 @@ +#! /bin/sh + +DAEMON="seatd" +DAEMON_EXE="/usr/bin/${DAEMON}" +PIDFILE="/run/${DAEMON}.pid" + +start() { + printf 'Starting %s: ' "${DAEMON}" + start-stop-daemon -S -x "${DAEMON_EXE}" -p "${PIDFILE}" -m -b -- -g video + status=$? + if [ "$status" -eq 0 ]; then + echo OK + else + echo FAIL + fi + return "$status" +} + +stop() { + printf 'Stopping %s: ' "${DAEMON}" + start-stop-daemon -K -x "${DAEMON_EXE}" -p "${PIDFILE}" + status=$? + if [ "$status" -eq 0 ]; then + echo OK + else + echo FAIL + fi + return "$status" +} + +restart() { + stop + sleep 1 + start +} + +case "${1}" in + start|stop|restart) + "${1}";; + reload) + restart;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 + ;; +esac diff --git a/buildroot-2022.02.1/package/seatd/seatd.hash b/buildroot-2022.02.1/package/seatd/seatd.hash new file mode 100644 index 00000000..88793b6d --- /dev/null +++ b/buildroot-2022.02.1/package/seatd/seatd.hash @@ -0,0 +1,5 @@ +# Calculated locally +sha256 3d4ac288114219ba7721239cafee7bfbeb7cf8e1e7fd653602a369e4ad050bd8 0.6.4.tar.gz + +# License files +sha256 282a494803d666616bd726e0279636b5f6a31387ae19a707459074050f2600d3 LICENSE diff --git a/buildroot-2022.02.1/package/seatd/seatd.mk b/buildroot-2022.02.1/package/seatd/seatd.mk new file mode 100644 index 00000000..5382cad3 --- /dev/null +++ b/buildroot-2022.02.1/package/seatd/seatd.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# seatd +# +################################################################################ + +SEATD_VERSION = 0.6.4 +SEATD_SOURCE = $(SEATD_VERSION).tar.gz +SEATD_SITE = https://git.sr.ht/~kennylevinsen/seatd/archive +SEATD_LICENSE = MIT +SEATD_LICENSE_FILES = LICENSE +SEATD_INSTALL_STAGING = YES + +SEATD_CONF_OPTS += \ + -Dman-pages=disabled \ + -Dexamples=disabled \ + -Dwerror=false + +ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y) +SEATD_CONF_OPTS += -Dlibseat-logind=enabled +SEATD_DEPENDENCIES += systemd +else +SEATD_CONF_OPTS += -Dlibseat-logind=disabled +endif + +ifeq ($(BR2_PACKAGE_SEATD_BUILTIN),y) +SEATD_CONF_OPTS += -Dlibseat-builtin=enabled +else +SEATD_CONF_OPTS += -Dlibseat-builtin=disabled +endif + +ifeq ($(BR2_PACKAGE_SEATD_DAEMON),y) +SEATD_CONF_OPTS += -Dlibseat-seatd=enabled -Dserver=enabled + +define SEATD_USERS + - - video -1 - - - - - +endef + +define SEATD_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D $(SEATD_PKGDIR)/S70seatd \ + $(TARGET_DIR)/etc/init.d/S70seatd +endef + +define SEATD_INSTALL_INIT_SYSTEMD + $(INSTALL) -m 0644 -D $(@D)/contrib/systemd/seatd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/seatd.service +endef + +else +SEATD_CONF_OPTS += -Dlibseat-seatd=disabled -Dserver=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/sed/Config.in b/buildroot-2022.02.1/package/sed/Config.in similarity index 100% rename from buildroot-2021.05/package/sed/Config.in rename to buildroot-2022.02.1/package/sed/Config.in diff --git a/buildroot-2021.05/package/sed/sed.hash b/buildroot-2022.02.1/package/sed/sed.hash similarity index 100% rename from buildroot-2021.05/package/sed/sed.hash rename to buildroot-2022.02.1/package/sed/sed.hash diff --git a/buildroot-2021.05/package/sed/sed.mk b/buildroot-2022.02.1/package/sed/sed.mk similarity index 100% rename from buildroot-2021.05/package/sed/sed.mk rename to buildroot-2022.02.1/package/sed/sed.mk diff --git a/buildroot-2021.05/package/sedutil/0001-Common-log.h-time-2-needs-time.h.patch b/buildroot-2022.02.1/package/sedutil/0001-Common-log.h-time-2-needs-time.h.patch similarity index 100% rename from buildroot-2021.05/package/sedutil/0001-Common-log.h-time-2-needs-time.h.patch rename to buildroot-2022.02.1/package/sedutil/0001-Common-log.h-time-2-needs-time.h.patch diff --git a/buildroot-2021.05/package/sedutil/Config.in b/buildroot-2022.02.1/package/sedutil/Config.in similarity index 100% rename from buildroot-2021.05/package/sedutil/Config.in rename to buildroot-2022.02.1/package/sedutil/Config.in diff --git a/buildroot-2021.05/package/sedutil/sedutil.hash b/buildroot-2022.02.1/package/sedutil/sedutil.hash similarity index 100% rename from buildroot-2021.05/package/sedutil/sedutil.hash rename to buildroot-2022.02.1/package/sedutil/sedutil.hash diff --git a/buildroot-2021.05/package/sedutil/sedutil.mk b/buildroot-2022.02.1/package/sedutil/sedutil.mk similarity index 100% rename from buildroot-2021.05/package/sedutil/sedutil.mk rename to buildroot-2022.02.1/package/sedutil/sedutil.mk diff --git a/buildroot-2022.02.1/package/selinux-python/Config.in b/buildroot-2022.02.1/package/selinux-python/Config.in new file mode 100644 index 00000000..ad50cc07 --- /dev/null +++ b/buildroot-2022.02.1/package/selinux-python/Config.in @@ -0,0 +1,51 @@ +config BR2_PACKAGE_SELINUX_PYTHON + bool "selinux-python" + depends on BR2_USE_MMU + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_PYTHON3 + help + A set of SELinux tools written in python that help with + managing a system with SELinux enabled. If no packages are + selected nothing will actually be built. + + https://github.com/SELinuxProject/selinux/wiki + +if BR2_PACKAGE_SELINUX_PYTHON + +config BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW + bool "audit2allow" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # semodule-utils -> libsepol + select BR2_PACKAGE_CHECKPOLICY + select BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN + select BR2_PACKAGE_SEMODULE_UTILS + help + This module installs two programs: + + audit2allow - Generate SELinux policy allow/dontaudit rules + from logs of denied operations. + + audit2why - translates SELinux audit messages into a + description of why the access was denied (audit2allow -w) + +comment "audit2allow needs a toolchain w/ gcc 5" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +config BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN + bool "sepolgen" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # semodule-utils -> libsepol + select BR2_PACKAGE_SEMODULE_UTILS + help + This package contains a Python module that allows you to + generate an initial SELinux policy module template. + +comment "sepolgen needs a toolchain w/ gcc 5" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +endif + +comment "selinux-python packages needs a toolchain w/ wchar, threads, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/selinux-python/selinux-python.hash b/buildroot-2022.02.1/package/selinux-python/selinux-python.hash new file mode 100644 index 00000000..6ada3fee --- /dev/null +++ b/buildroot-2022.02.1/package/selinux-python/selinux-python.hash @@ -0,0 +1,5 @@ +# https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 8ad91061300387996ccb474962fb93dde263d924aa8f740618be16b22e2444ec selinux-python-3.3.tar.gz + +# Hash for license file +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2022.02.1/package/selinux-python/selinux-python.mk b/buildroot-2022.02.1/package/selinux-python/selinux-python.mk new file mode 100644 index 00000000..0cec602f --- /dev/null +++ b/buildroot-2022.02.1/package/selinux-python/selinux-python.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# selinux-python +# +################################################################################ + +SELINUX_PYTHON_VERSION = 3.3 +SELINUX_PYTHON_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SELINUX_PYTHON_VERSION) +SELINUX_PYTHON_LICENSE = GPL-2.0 +SELINUX_PYTHON_LICENSE_FILES = COPYING +SELINUX_PYTHON_DEPENDENCIES = python3 + +SELINUX_PYTHON_MAKE_OPTS += \ + $(TARGET_CONFIGURE_OPTS) \ + ARCH="$(BR2_ARCH)" \ + LIBDIR="$(STAGING_DIR)/usr/lib" \ + PYTHONLIBDIR="usr/lib/python$(PYTHON3_VERSION_MAJOR)" + +ifeq ($(BR2_PACKAGE_SELINUX_PYTHON_AUDIT2ALLOW),y) +SELINUX_PYTHON_DEPENDENCIES += checkpolicy +SELINUX_PYTHON_MAKE_DIRS += audit2allow +endif + +ifeq ($(BR2_PACKAGE_SELINUX_PYTHON_SEPOLGEN),y) +SELINUX_PYTHON_MAKE_DIRS += sepolgen/src/sepolgen +endif + +define SELINUX_PYTHON_BUILD_CMDS + $(foreach d,$(SELINUX_PYTHON_MAKE_DIRS), + $(MAKE) -C $(@D)/$(d) $(SELINUX_PYTHON_MAKE_OPTS) \ + all + ) +endef + +define SELINUX_PYTHON_INSTALL_TARGET_CMDS + $(foreach d,$(SELINUX_PYTHON_MAKE_DIRS), + $(MAKE) -C $(@D)/$(d) $(SELINUX_PYTHON_MAKE_OPTS) \ + DESTDIR=$(TARGET_DIR) install + ) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/semodule-utils/Config.in b/buildroot-2022.02.1/package/semodule-utils/Config.in new file mode 100644 index 00000000..5d98dc61 --- /dev/null +++ b/buildroot-2022.02.1/package/semodule-utils/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_SEMODULE_UTILS + bool "semodule-utils" + depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libsepol + select BR2_PACKAGE_LIBSEPOL + help + semodule-utils is a package that contains tools for handling + selinux modules. + + The package will install the following utilities: + * semodule_deps - Show the dependencies between SELinux + policy packages. + * semodule_expand - Expand a SELinux policy module package. + * semodule_link - Link SELinux policy module packages together + * semodule_package - Create a SELinux policy module package. + + https://github.com/SELinuxProject/selinux/wiki/Releases + +comment "semodule-utils needs a toolchain w/ threads, gcc >= 5" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 diff --git a/buildroot-2022.02.1/package/semodule-utils/semodule-utils.hash b/buildroot-2022.02.1/package/semodule-utils/semodule-utils.hash new file mode 100644 index 00000000..c252506d --- /dev/null +++ b/buildroot-2022.02.1/package/semodule-utils/semodule-utils.hash @@ -0,0 +1,5 @@ +# https://github.com/SELinuxProject/selinux/wiki/Releases +sha256 3098ec5e5f04a1dbbf4aa569b63a4570750a9fe0d4da14ce45954aa300a17063 semodule-utils-3.3.tar.gz + +# Hash for license file +sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING diff --git a/buildroot-2022.02.1/package/semodule-utils/semodule-utils.mk b/buildroot-2022.02.1/package/semodule-utils/semodule-utils.mk new file mode 100644 index 00000000..a9388f7e --- /dev/null +++ b/buildroot-2022.02.1/package/semodule-utils/semodule-utils.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# semodule-utils +# +################################################################################ + +SEMODULE_UTILS_VERSION = 3.3 +SEMODULE_UTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SEMODULE_UTILS_VERSION) +SEMODULE_UTILS_LICENSE = GPL-2.0 +SEMODULE_UTILS_LICENSE_FILES = COPYING +SEMODULE_UTILS_DEPENDENCIES = libsepol + +SEMODULE_UTILS_MAKE_OPTS += \ + $(TARGET_CONFIGURE_OPTS) \ + LIBSEPOLA=$(STAGING_DIR)/usr/lib/libsepol.a + +# We need to pass DESTDIR at build time because it's used by +# semodule-utils build system to find headers and libraries. +define SEMODULE_UTILS_BUILD_CMDS + $(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all +endef + +define SEMODULE_UTILS_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sentry-cli/Config.in.host b/buildroot-2022.02.1/package/sentry-cli/Config.in.host similarity index 100% rename from buildroot-2021.05/package/sentry-cli/Config.in.host rename to buildroot-2022.02.1/package/sentry-cli/Config.in.host diff --git a/buildroot-2022.02.1/package/sentry-cli/sentry-cli.hash b/buildroot-2022.02.1/package/sentry-cli/sentry-cli.hash new file mode 100644 index 00000000..73f81812 --- /dev/null +++ b/buildroot-2022.02.1/package/sentry-cli/sentry-cli.hash @@ -0,0 +1,3 @@ +# locally calculated +sha256 d687336379fd96c4ee73f24bd062d31672bd7453af53311b72977be3c8c78fef sentry-cli-1.59.0.tar.gz +sha256 9503def7b54ceb6e3cd182fd59bc05d3a30d7eae481e65aaba4b495133c83c14 LICENSE diff --git a/buildroot-2022.02.1/package/sentry-cli/sentry-cli.mk b/buildroot-2022.02.1/package/sentry-cli/sentry-cli.mk new file mode 100644 index 00000000..58f5f1e3 --- /dev/null +++ b/buildroot-2022.02.1/package/sentry-cli/sentry-cli.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# sentry-cli +# +################################################################################ + +SENTRY_CLI_VERSION = 1.59.0 +SENTRY_CLI_SITE = $(call github,getsentry,sentry-cli,$(SENTRY_CLI_VERSION)) +SENTRY_CLI_LICENSE = BSD-3-clause +SENTRY_CLI_LICENSE_FILES = LICENSE + +HOST_SENTRY_CLI_DEPENDENCIES = host-zlib + +$(eval $(host-cargo-package)) diff --git a/buildroot-2021.05/package/sentry-native/0001-sentry.h-include-ucontext.h.patch b/buildroot-2022.02.1/package/sentry-native/0001-sentry.h-include-ucontext.h.patch similarity index 100% rename from buildroot-2021.05/package/sentry-native/0001-sentry.h-include-ucontext.h.patch rename to buildroot-2022.02.1/package/sentry-native/0001-sentry.h-include-ucontext.h.patch diff --git a/buildroot-2021.05/package/sentry-native/Config.in b/buildroot-2022.02.1/package/sentry-native/Config.in similarity index 100% rename from buildroot-2021.05/package/sentry-native/Config.in rename to buildroot-2022.02.1/package/sentry-native/Config.in diff --git a/buildroot-2021.05/package/sentry-native/sentry-native.hash b/buildroot-2022.02.1/package/sentry-native/sentry-native.hash similarity index 100% rename from buildroot-2021.05/package/sentry-native/sentry-native.hash rename to buildroot-2022.02.1/package/sentry-native/sentry-native.hash diff --git a/buildroot-2021.05/package/sentry-native/sentry-native.mk b/buildroot-2022.02.1/package/sentry-native/sentry-native.mk similarity index 100% rename from buildroot-2021.05/package/sentry-native/sentry-native.mk rename to buildroot-2022.02.1/package/sentry-native/sentry-native.mk diff --git a/buildroot-2021.05/package/ser2net/Config.in b/buildroot-2022.02.1/package/ser2net/Config.in similarity index 100% rename from buildroot-2021.05/package/ser2net/Config.in rename to buildroot-2022.02.1/package/ser2net/Config.in diff --git a/buildroot-2021.05/package/ser2net/S50ser2net b/buildroot-2022.02.1/package/ser2net/S50ser2net similarity index 100% rename from buildroot-2021.05/package/ser2net/S50ser2net rename to buildroot-2022.02.1/package/ser2net/S50ser2net diff --git a/buildroot-2022.02.1/package/ser2net/ser2net.hash b/buildroot-2022.02.1/package/ser2net/ser2net.hash new file mode 100644 index 00000000..31a75184 --- /dev/null +++ b/buildroot-2022.02.1/package/ser2net/ser2net.hash @@ -0,0 +1,6 @@ +# From https://sourceforge.net/projects/ser2net/files/ser2net/ +md5 e6d88a440852e28b8e2978003b00e154 ser2net-4.3.4.tar.gz +sha1 74d02c19c2eef219b59a47fbc61b4fb09cf608d3 ser2net-4.3.4.tar.gz +# Locally computed: +sha256 c714d6777849100b2ca3f216d1cfc36d4573639ececc91d5c7809dfe27c8428e ser2net-4.3.4.tar.gz +sha256 501f3108e6c03e5a0a5585ebaaa369171aead5319cd0a7a4dc1f66211c1f09f1 COPYING diff --git a/buildroot-2022.02.1/package/ser2net/ser2net.mk b/buildroot-2022.02.1/package/ser2net/ser2net.mk new file mode 100644 index 00000000..bec2a9c2 --- /dev/null +++ b/buildroot-2022.02.1/package/ser2net/ser2net.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# ser2net +# +################################################################################ + +SER2NET_VERSION = 4.3.4 +SER2NET_SITE = https://downloads.sourceforge.net/project/ser2net/ser2net +SER2NET_LICENSE = GPL-2.0+ +SER2NET_LICENSE_FILES = COPYING +SER2NET_DEPENDENCIES = gensio libyaml + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +SER2NET_CONF_OPTS += --with-pthreads +else +SER2NET_CONF_OPTS += --without-pthreads +endif + +# fix gensio detection with openssl enabled +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SER2NET_CONF_ENV += LIBS="`$(PKG_CONFIG_HOST_BINARY) --libs openssl`" +endif + +define SER2NET_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/ser2net/S50ser2net \ + $(TARGET_DIR)/etc/init.d/S50ser2net +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/serd/Config.in b/buildroot-2022.02.1/package/serd/Config.in new file mode 100644 index 00000000..7633a979 --- /dev/null +++ b/buildroot-2022.02.1/package/serd/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_SERD + bool "serd" + help + Serd is a lightweight C library for RDF syntax which + supports reading and writing Turtle, TriG, NTriples, and + NQuads. + + https://drobilla.net/software/serd.html diff --git a/buildroot-2022.02.1/package/serd/serd.hash b/buildroot-2022.02.1/package/serd/serd.hash new file mode 100644 index 00000000..d64a2aa2 --- /dev/null +++ b/buildroot-2022.02.1/package/serd/serd.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking signature +# http://download.drobilla.net/serd-0.30.10.tar.bz2.sig +sha256 affa80deec78921f86335e6fc3f18b80aefecf424f6a5755e9f2fa0eb0710edf serd-0.30.10.tar.bz2 +sha256 e06562d6bcf0341b2ac2ad0f0ca36801d2ebf388d5ef297011625e4c36e963f0 COPYING diff --git a/buildroot-2022.02.1/package/serd/serd.mk b/buildroot-2022.02.1/package/serd/serd.mk new file mode 100644 index 00000000..85b16f68 --- /dev/null +++ b/buildroot-2022.02.1/package/serd/serd.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# serd +# +################################################################################ + +SERD_VERSION = 0.30.10 +SERD_SITE = https://download.drobilla.net +SERD_SOURCE = serd-$(SERD_VERSION).tar.bz2 +SERD_LICENSE = ISC +SERD_LICENSE_FILES = COPYING +SERD_INSTALL_STAGING = YES + +SERD_CONF_OPTS += --largefile --no-coverage + +ifeq ($(BR2_STATIC_LIBS),y) +SERD_CONF_OPTS += --static --no-shared --static-progs +endif + +$(eval $(waf-package)) diff --git a/buildroot-2022.02.1/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch b/buildroot-2022.02.1/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch new file mode 100644 index 00000000..3c3ae97d --- /dev/null +++ b/buildroot-2022.02.1/package/setools/0001-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch @@ -0,0 +1,145 @@ +From ae84e5ef59bb24d5b8fd17e6756952f42c2d5c36 Mon Sep 17 00:00:00 2001 +From: rpm-build +Date: Thu, 23 Feb 2017 08:17:07 +0100 +Subject: [PATCH] Do not export/use setools.InfoFlowAnalysis and + setools.DomainTransitionAnalysis + +dta and infoflow modules require networkx which brings lot of dependencies. +These dependencies are not necessary for setools module itself as it's +used in policycoreutils. + +Therefore it's better to use setools.infoflow.InfoFlowAnalysis and +setools.dta.DomainTransitionAnalysis and let the package containing +sedta and seinfoflow to require python3-networkx + +Signed-off-by: Antoine Tenart +[Refreshed for 4.3.0] +Signed-off-by: Adam Duskett +[Refreshed for 4.4.0] +--- + sedta | 3 ++- + seinfoflow | 5 +++-- + setools/__init__.py | 4 ++-- + setoolsgui/apol/dta.py | 2 +- + setoolsgui/apol/infoflow.py | 2 +- + tests/dta.py | 2 +- + tests/infoflow.py | 2 +- + 7 files changed, 11 insertions(+), 9 deletions(-) + +diff --git a/sedta b/sedta +index 60861ca630a5..0056172a55e5 100755 +--- a/sedta ++++ b/sedta +@@ -23,6 +23,7 @@ import logging + import signal + + import setools ++import setools.dta + + + def print_transition(trans: setools.DomainTransition) -> None: +@@ -114,7 +115,7 @@ else: + + try: + p = setools.SELinuxPolicy(args.policy) +- g = setools.DomainTransitionAnalysis(p, reverse=args.reverse, exclude=args.exclude) ++ g = setools.dta.DomainTransitionAnalysis(p, reverse=args.reverse, exclude=args.exclude) + + if args.shortest_path or args.all_paths: + if args.shortest_path: +diff --git a/seinfoflow b/seinfoflow +index f10c39de4d8e..fe733bbd0787 100755 +--- a/seinfoflow ++++ b/seinfoflow +@@ -18,6 +18,7 @@ + # + + import setools ++import setools.infoflow + import argparse + import sys + import logging +@@ -102,8 +103,8 @@ elif args.booleans is not None: + try: + p = setools.SELinuxPolicy(args.policy) + m = setools.PermissionMap(args.map) +- g = setools.InfoFlowAnalysis(p, m, min_weight=args.min_weight, exclude=args.exclude, +- booleans=booleans) ++ g = setools.infoflow.InfoFlowAnalysis(p, m, min_weight=args.min_weight, exclude=args.exclude, ++ booleans=booleans) + + if args.shortest_path or args.all_paths: + if args.shortest_path: +diff --git a/setools/__init__.py b/setools/__init__.py +index d72d343..4d5aaaa 100644 +--- a/setools/__init__.py ++++ b/setools/__init__.py +@@ -91,11 +91,11 @@ from .pcideviceconquery import PcideviceconQuery + from .devicetreeconquery import DevicetreeconQuery + + # Information Flow Analysis +-from .infoflow import InfoFlowAnalysis ++# from .infoflow import InfoFlowAnalysis + from .permmap import PermissionMap, RuleWeight, Mapping + + # Domain Transition Analysis +-from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition ++# from .dta import DomainTransitionAnalysis, DomainEntrypoint, DomainTransition + + # Policy difference + from .diff import PolicyDifference +diff --git a/setoolsgui/apol/dta.py b/setoolsgui/apol/dta.py +index 4608b9dbf34e..2cde44c142e9 100644 +--- a/setoolsgui/apol/dta.py ++++ b/setoolsgui/apol/dta.py +@@ -24,7 +24,7 @@ from PyQt5.QtCore import pyqtSignal, Qt, QStringListModel, QThread + from PyQt5.QtGui import QPalette, QTextCursor + from PyQt5.QtWidgets import QCompleter, QHeaderView, QMessageBox, QProgressDialog, \ + QTreeWidgetItem +-from setools import DomainTransitionAnalysis ++from setools.dta import DomainTransitionAnalysis + + from ..logtosignal import LogHandlerToSignal + from .analysistab import AnalysisSection, AnalysisTab +diff --git a/setoolsgui/apol/infoflow.py b/setoolsgui/apol/infoflow.py +index 7bca299d23fc..7fee2778f35f 100644 +--- a/setoolsgui/apol/infoflow.py ++++ b/setoolsgui/apol/infoflow.py +@@ -26,7 +26,7 @@ from PyQt5.QtCore import pyqtSignal, Qt, QStringListModel, QThread + from PyQt5.QtGui import QPalette, QTextCursor + from PyQt5.QtWidgets import QCompleter, QHeaderView, QMessageBox, QProgressDialog, \ + QTreeWidgetItem +-from setools import InfoFlowAnalysis ++from setools.infoflow import InfoFlowAnalysis + from setools.exception import UnmappedClass, UnmappedPermission + + from ..logtosignal import LogHandlerToSignal +diff --git a/tests/dta.py b/tests/dta.py +index a0cc9381469c..177e6fb0b961 100644 +--- a/tests/dta.py ++++ b/tests/dta.py +@@ -18,7 +18,7 @@ + import os + import unittest + +-from setools import DomainTransitionAnalysis ++from setools.dta import DomainTransitionAnalysis + from setools import TERuletype as TERT + from setools.exception import InvalidType + from setools.policyrep import Type +diff --git a/tests/infoflow.py b/tests/infoflow.py +index aa0e44a7e4f8..fca2848aeca5 100644 +--- a/tests/infoflow.py ++++ b/tests/infoflow.py +@@ -18,7 +18,7 @@ + import os + import unittest + +-from setools import InfoFlowAnalysis ++from setools.infoflow import InfoFlowAnalysis + from setools import TERuletype as TERT + from setools.exception import InvalidType + from setools.permmap import PermissionMap +-- +2.26.2 + diff --git a/buildroot-2022.02.1/package/setools/Config.in b/buildroot-2022.02.1/package/setools/Config.in new file mode 100644 index 00000000..5a71672b --- /dev/null +++ b/buildroot-2022.02.1/package/setools/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_SETOOLS + bool "setools" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + depends on BR2_USE_MMU + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # libselinux -> libsepol + select BR2_PACKAGE_PYTHON_NETWORKX # runtime + select BR2_PACKAGE_PYTHON_SETUPTOOLS + select BR2_PACKAGE_LIBSELINUX + help + SETools is an open source project designed to facilitate + SELinux policy analysis. The primary tools are: + * apol - analyze a SELinux policy. (requires python-qt5) + * sediff - semantic policy difference tool for SELinux. + * sedta - Perform domain transition analyses + * seinfoflow - information flow analysis for SELinux + * sesearch - Search rules (allow, type_transition, etc.) + + https://github.com/SELinuxProject/setools/ + +comment "setools needs a toolchain w/ threads, wchar, dynamic library, gcc >= 5" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +comment "setools needs python3" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2022.02.1/package/setools/setools.hash b/buildroot-2022.02.1/package/setools/setools.hash new file mode 100644 index 00000000..74428a17 --- /dev/null +++ b/buildroot-2022.02.1/package/setools/setools.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 202eac5f857475937bee8136cff278aa2b4a4b94a0dec63fbbbe18c9eb644a4e setools-4.4.0.tar.gz +sha256 2f7547e10f76a382c24c053595f38a5cc6dda9347f508f254ca490e0046a9624 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING.GPL +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL diff --git a/buildroot-2022.02.1/package/setools/setools.mk b/buildroot-2022.02.1/package/setools/setools.mk new file mode 100644 index 00000000..ea355f10 --- /dev/null +++ b/buildroot-2022.02.1/package/setools/setools.mk @@ -0,0 +1,51 @@ +################################################################################ +# +# setools +# +################################################################################ + +SETOOLS_VERSION = 4.4.0 +SETOOLS_SITE = $(call github,SELinuxProject,setools,$(SETOOLS_VERSION)) +SETOOLS_DEPENDENCIES = libselinux libsepol python-setuptools host-bison host-flex host-python-cython host-swig +SETOOLS_INSTALL_STAGING = YES +SETOOLS_LICENSE = GPL-2.0+, LGPL-2.1+ +SETOOLS_LICENSE_FILES = COPYING COPYING.GPL COPYING.LGPL +SETOOLS_CPE_ID_VENDOR = selinuxproject +SETOOLS_SETUP_TYPE = setuptools +HOST_SETOOLS_DEPENDENCIES = host-python-cython host-libselinux host-libsepol host-python-networkx + +define SETOOLS_FIX_SETUP + # By default, setup.py will look for libsepol.a in the host machines + # /usr/lib directory. This needs to be changed to the staging directory. + $(SED) "s@lib_dirs =.*@lib_dirs = ['$(STAGING_DIR)/usr/lib']@g" \ + $(@D)/setup.py +endef +SETOOLS_POST_PATCH_HOOKS += SETOOLS_FIX_SETUP + +define HOST_SETOOLS_FIX_SETUP + # By default, setup.py will look for libsepol.a in the host machines + # /usr/lib directory. This needs to be changed to the host directory. + $(SED) "s@lib_dirs =.*@lib_dirs = ['$(HOST_DIR)/lib']@g" \ + $(@D)/setup.py +endef +HOST_SETOOLS_POST_PATCH_HOOKS += HOST_SETOOLS_FIX_SETUP + +# apol requires pyqt5. However, the setools installation +# process will install apol even if pyqt5 is missing. +# Remove these scripts from the target it pyqt5 is not selected. +ifeq ($(BR2_PACKAGE_PYTHON_PYQT5),) +define SETOOLS_REMOVE_QT_SCRIPTS + $(RM) $(TARGET_DIR)/usr/bin/apol + $(RM) -r $(TARGET_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/setoolsgui/ +endef +SETOOLS_POST_INSTALL_TARGET_HOOKS += SETOOLS_REMOVE_QT_SCRIPTS +endif + +# pyqt5 is not a host-package, remove apol from the host directory. +define HOST_SETOOLS_REMOVE_BROKEN_SCRIPTS + $(RM) $(HOST_DIR)/bin/apol +endef +HOST_SETOOLS_POST_INSTALL_HOOKS += HOST_SETOOLS_REMOVE_BROKEN_SCRIPTS + +$(eval $(python-package)) +$(eval $(host-python-package)) diff --git a/buildroot-2021.05/package/setserial/0001-build-system-fix.patch b/buildroot-2022.02.1/package/setserial/0001-build-system-fix.patch similarity index 100% rename from buildroot-2021.05/package/setserial/0001-build-system-fix.patch rename to buildroot-2022.02.1/package/setserial/0001-build-system-fix.patch diff --git a/buildroot-2021.05/package/setserial/0002-tiocghayesesp-build-fix.patch b/buildroot-2022.02.1/package/setserial/0002-tiocghayesesp-build-fix.patch similarity index 100% rename from buildroot-2021.05/package/setserial/0002-tiocghayesesp-build-fix.patch rename to buildroot-2022.02.1/package/setserial/0002-tiocghayesesp-build-fix.patch diff --git a/buildroot-2021.05/package/setserial/Config.in b/buildroot-2022.02.1/package/setserial/Config.in similarity index 100% rename from buildroot-2021.05/package/setserial/Config.in rename to buildroot-2022.02.1/package/setserial/Config.in diff --git a/buildroot-2021.05/package/setserial/setserial.hash b/buildroot-2022.02.1/package/setserial/setserial.hash similarity index 100% rename from buildroot-2021.05/package/setserial/setserial.hash rename to buildroot-2022.02.1/package/setserial/setserial.hash diff --git a/buildroot-2021.05/package/setserial/setserial.mk b/buildroot-2022.02.1/package/setserial/setserial.mk similarity index 100% rename from buildroot-2021.05/package/setserial/setserial.mk rename to buildroot-2022.02.1/package/setserial/setserial.mk diff --git a/buildroot-2022.02.1/package/sg3_utils/0001-src-sg_dd.c-fix-musl-build.patch b/buildroot-2022.02.1/package/sg3_utils/0001-src-sg_dd.c-fix-musl-build.patch new file mode 100644 index 00000000..50a81a78 --- /dev/null +++ b/buildroot-2022.02.1/package/sg3_utils/0001-src-sg_dd.c-fix-musl-build.patch @@ -0,0 +1,39 @@ +From c93ad13ecd8ddfbb8bb3e4d5d5ad7f3f2c633db6 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 14 Nov 2021 12:37:16 +0100 +Subject: [PATCH] src/sg_dd.c: fix musl build + +Fix the following build failure on musl raised since version 1.47 and +https://github.com/doug-gilbert/sg3_utils/commit/f0195003bb0c66ba55084b2f7e0fe982f08c5675: + +sg_dd.c: In function 'main': +sg_dd.c:2402:17: error: unknown type name 'uint'; did you mean 'int'? + 2402 | uint off; + | ^~~~ + | int + +Fixes: + - http://autobuild.buildroot.org/results/9ead59ffefefe2a4e3b94a153b3d23231736d882 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/doug-gilbert/sg3_utils/pull/7] +--- + src/sg_dd.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/sg_dd.c b/src/sg_dd.c +index 9d05c93..35e2423 100644 +--- a/src/sg_dd.c ++++ b/src/sg_dd.c +@@ -2399,7 +2399,7 @@ main(int argc, char * argv[]) + res = blocks * blk_sz; + if (iflag.zero && iflag.ff && (blk_sz >= 4)) { + uint32_t pos = (uint32_t)skip; +- uint off; ++ uint32_t off; + + for (k = 0, off = 0; k < blocks; ++k, off += blk_sz, ++pos) { + for (j = 0; j < (blk_sz - 3); j += 4) +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/sg3_utils/0002-configure.ac-fix-uclibc-ng-build.patch b/buildroot-2022.02.1/package/sg3_utils/0002-configure.ac-fix-uclibc-ng-build.patch new file mode 100644 index 00000000..4c475ee1 --- /dev/null +++ b/buildroot-2022.02.1/package/sg3_utils/0002-configure.ac-fix-uclibc-ng-build.patch @@ -0,0 +1,36 @@ +From 1e95d5b8c507a49f6d15d2795dc46d82b4d1ded0 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 16 Nov 2021 08:41:48 +0100 +Subject: [PATCH] configure.ac: fix uclibc-ng build + +Fix the following build failure with uclibc-ng raised because SG_IO is +not defined: + +/home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: sg_dd.o: in function `sg_read_low.constprop.0': +sg_dd.c:(.text+0xc6c): undefined reference to `sg_chk_n_print3' + +Fixes: + - http://autobuild.buildroot.org/results/38a0dfc70a21ce574368b7a485deb231f778b3e7 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/doug-gilbert/sg3_utils/pull/8] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 0a65d94..23378ad 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -107,7 +107,7 @@ case "${host}" in + AC_DEFINE_UNQUOTED(HAVE_NVME, 1, [Found NVMe]) + check_for_getrandom + CFLAGS="$CFLAGS -D__USE_MINGW_ANSI_STDIO";; +- *-*-linux-gnu* | *-*-linux*) ++ *-*-linux-gnu* | *-*-linux* | *-*-uclinux-gnu* | *-*-uclinux*) + AC_DEFINE_UNQUOTED(SG_LIB_LINUX, 1, [sg3_utils on linux]) + check_for_linux_sg_v4_hdr + check_for_getrandom +-- +2.33.0 + diff --git a/buildroot-2021.05/package/sg3_utils/Config.in b/buildroot-2022.02.1/package/sg3_utils/Config.in similarity index 100% rename from buildroot-2021.05/package/sg3_utils/Config.in rename to buildroot-2022.02.1/package/sg3_utils/Config.in diff --git a/buildroot-2022.02.1/package/sg3_utils/sg3_utils.hash b/buildroot-2022.02.1/package/sg3_utils/sg3_utils.hash new file mode 100644 index 00000000..ff2ef551 --- /dev/null +++ b/buildroot-2022.02.1/package/sg3_utils/sg3_utils.hash @@ -0,0 +1,6 @@ +# Locally calculated from download (no sig, hash) +sha256 ddb0cab85fedd8b0db020f3e3f02f6967a055616bf16ea9d5c7408cde41472b2 sg3_utils-1.47.tar.xz + +# Hash for license files +sha256 d212debdb0a5d7754c977f6dc53bb6c88b4ace7ab784ddbccd06bb970adb1a37 COPYING +sha256 8ddd1d82f2be2f5cbd5b5c3b5c2ee94a90d2ca7112958448da74dd78384fd96a BSD_LICENSE diff --git a/buildroot-2022.02.1/package/sg3_utils/sg3_utils.mk b/buildroot-2022.02.1/package/sg3_utils/sg3_utils.mk new file mode 100644 index 00000000..e357fc1d --- /dev/null +++ b/buildroot-2022.02.1/package/sg3_utils/sg3_utils.mk @@ -0,0 +1,58 @@ +################################################################################ +# +# sg3_utils +# +################################################################################ + +SG3_UTILS_VERSION = 1.47 +SG3_UTILS_SOURCE = sg3_utils-$(SG3_UTILS_VERSION).tar.xz +SG3_UTILS_SITE = http://sg.danny.cz/sg/p +SG3_UTILS_LICENSE = BSD-2-Clause (library) +# Some utils progs are GPL-2.0+ licensed while others are BSD-3-Clause +ifeq ($(BR2_PACKAGE_SG3_UTILS_PROGS),y) +SG3_UTILS_LICENSE += , GPL-2.0+ (programs), BSD-2-Clause (programs) +endif +SG3_UTILS_LICENSE_FILES = COPYING BSD_LICENSE +# We're patching configure.ac +SG3_UTILS_AUTORECONF = YES + +# install the libsgutils2 library +SG3_UTILS_INSTALL_STAGING = YES + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +SG3_UTILS_CONF_ENV += LIBS="-latomic" +endif + +ifeq ($(BR2_PACKAGE_SG3_UTILS_PROGS),) +define SG3_UTILS_REMOVE_PROGS + for prog in \ + compare_and_write copy_results dd decode_sense \ + emc_trespass format get_config \ + get_lba_status ident inq logs luns map26 \ + map sgm_dd modes opcodes sgp_dd persist prevent \ + raw rbuf rdac read readcap read_block_limits \ + read_attr read_buffer read_long reassign referrals \ + rep_zones requests reset reset_wp rmsn rtpg safte sanitize \ + sat_identify sat_phy_event sat_read_gplog sat_set_features \ + scan senddiag ses ses_microcode start stpg sync test_rwbuf \ + timestamp turs unmap verify vpd write_buffer write_long \ + write_same write_verify wr_mode xcopy zone; do \ + $(RM) $(TARGET_DIR)/usr/bin/sg_$${prog} ; \ + done + for prog in \ + logging_level mandat readcap ready satl start stop \ + temperature; do \ + $(RM) $(TARGET_DIR)/usr/bin/scsi_$${prog} ; \ + done + for prog in \ + sginfo sgm_dd sgp_dd; do \ + $(RM) $(TARGET_DIR)/usr/bin/$${prog}; \ + done +endef + +SG3_UTILS_POST_INSTALL_TARGET_HOOKS += SG3_UTILS_REMOVE_PROGS +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/shadowsocks-libev/0001-configure.ac-use-pkg-config-to-find-netfilter_conntr.patch b/buildroot-2022.02.1/package/shadowsocks-libev/0001-configure.ac-use-pkg-config-to-find-netfilter_conntr.patch similarity index 100% rename from buildroot-2021.05/package/shadowsocks-libev/0001-configure.ac-use-pkg-config-to-find-netfilter_conntr.patch rename to buildroot-2022.02.1/package/shadowsocks-libev/0001-configure.ac-use-pkg-config-to-find-netfilter_conntr.patch diff --git a/buildroot-2021.05/package/shadowsocks-libev/Config.in b/buildroot-2022.02.1/package/shadowsocks-libev/Config.in similarity index 100% rename from buildroot-2021.05/package/shadowsocks-libev/Config.in rename to buildroot-2022.02.1/package/shadowsocks-libev/Config.in diff --git a/buildroot-2021.05/package/shadowsocks-libev/shadowsocks-libev.hash b/buildroot-2022.02.1/package/shadowsocks-libev/shadowsocks-libev.hash similarity index 100% rename from buildroot-2021.05/package/shadowsocks-libev/shadowsocks-libev.hash rename to buildroot-2022.02.1/package/shadowsocks-libev/shadowsocks-libev.hash diff --git a/buildroot-2021.05/package/shadowsocks-libev/shadowsocks-libev.mk b/buildroot-2022.02.1/package/shadowsocks-libev/shadowsocks-libev.mk similarity index 100% rename from buildroot-2021.05/package/shadowsocks-libev/shadowsocks-libev.mk rename to buildroot-2022.02.1/package/shadowsocks-libev/shadowsocks-libev.mk diff --git a/buildroot-2022.02.1/package/shairport-sync/0001-configure.ac-find-sndfile-through-pkg-config.patch b/buildroot-2022.02.1/package/shairport-sync/0001-configure.ac-find-sndfile-through-pkg-config.patch new file mode 100644 index 00000000..bd97ec0c --- /dev/null +++ b/buildroot-2022.02.1/package/shairport-sync/0001-configure.ac-find-sndfile-through-pkg-config.patch @@ -0,0 +1,43 @@ +From 900b1827c55cc6020b3242640075174c2e6b12a5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 4 Aug 2021 22:16:40 +0200 +Subject: [PATCH] configure.ac: find sndfile through pkg-config + +Find sndfile through pkg-config to retrieve sndfile dependencies such as +flac and avoid the following static build failure: + +/tmp/instance-3/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /tmp/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libsndfile.a(libsndfile_la-flac.o): in function `flac_byterate': +flac.c:(.text+0xfc): undefined reference to `FLAC__StreamDecoderErrorStatusString' + +Fixes: + - http://autobuild.buildroot.org/results/92ed30a6855ca11800b779718822bcba4a69c9a3 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/mikebrady/shairport-sync/pull/1263] +--- + configure.ac | 9 ++++++++- + 1 file changed, 8 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index f77087c5..9b982c51 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -304,7 +304,14 @@ AC_ARG_WITH(convolution, [AS_HELP_STRING([--with-convolution],[choose audio DSP + if test "x$with_convolution" = "xyes" ; then + AM_INIT_AUTOMAKE([subdir-objects]) + AC_DEFINE([CONFIG_CONVOLUTION], 1, [Include audio DSP convolution support.]) +- AC_CHECK_LIB([sndfile], [sf_open], , AC_MSG_ERROR(Convolution support requires the sndfile library -- libsndfile1-dev suggested!)) ++ if test "x${with_pkg_config}" = xyes ; then ++ PKG_CHECK_MODULES( ++ [sndfile], [sndfile], ++ [CFLAGS="${sndfile_CFLAGS} ${CFLAGS}" ++ LIBS="${sndfile_LIBS} ${LIBS}"], AC_MSG_ERROR(Convolution support requires the sndfile library -- libsndfile1-dev suggested!)) ++ else ++ AC_CHECK_LIB([sndfile], [sf_open], , AC_MSG_ERROR(Convolution support requires the sndfile library -- libsndfile1-dev suggested!)) ++ fi + fi + AM_CONDITIONAL([USE_CONVOLUTION], [test "x$with_convolution" = "xyes"]) + +-- +2.30.2 + diff --git a/buildroot-2021.05/package/shairport-sync/Config.in b/buildroot-2022.02.1/package/shairport-sync/Config.in similarity index 100% rename from buildroot-2021.05/package/shairport-sync/Config.in rename to buildroot-2022.02.1/package/shairport-sync/Config.in diff --git a/buildroot-2021.05/package/shairport-sync/S99shairport-sync b/buildroot-2022.02.1/package/shairport-sync/S99shairport-sync similarity index 100% rename from buildroot-2021.05/package/shairport-sync/S99shairport-sync rename to buildroot-2022.02.1/package/shairport-sync/S99shairport-sync diff --git a/buildroot-2022.02.1/package/shairport-sync/shairport-sync.hash b/buildroot-2022.02.1/package/shairport-sync/shairport-sync.hash new file mode 100644 index 00000000..331866a3 --- /dev/null +++ b/buildroot-2022.02.1/package/shairport-sync/shairport-sync.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 17990cb2620551caa07a1c3b371889e55803071eaada04e958c356547a7e1795 shairport-sync-3.3.9.tar.gz +sha256 1daaa904985807b7f9f2fa91f6b19f3faadf8df4e813f7451a691f89a6965e3f LICENSES diff --git a/buildroot-2022.02.1/package/shairport-sync/shairport-sync.mk b/buildroot-2022.02.1/package/shairport-sync/shairport-sync.mk new file mode 100644 index 00000000..4430014e --- /dev/null +++ b/buildroot-2022.02.1/package/shairport-sync/shairport-sync.mk @@ -0,0 +1,101 @@ +################################################################################ +# +# shairport-sync +# +################################################################################ + +SHAIRPORT_SYNC_VERSION = 3.3.9 +SHAIRPORT_SYNC_SITE = $(call github,mikebrady,shairport-sync,$(SHAIRPORT_SYNC_VERSION)) + +SHAIRPORT_SYNC_LICENSE = MIT, BSD-3-Clause +SHAIRPORT_SYNC_LICENSE_FILES = LICENSES +SHAIRPORT_SYNC_DEPENDENCIES = alsa-lib libconfig popt host-pkgconf + +# git clone, no configure +SHAIRPORT_SYNC_AUTORECONF = YES + +SHAIRPORT_SYNC_CONF_OPTS = --with-alsa \ + --with-metadata \ + --with-pipe \ + --with-stdout + +SHAIRPORT_SYNC_CONF_ENV += LIBS="$(SHAIRPORT_SYNC_CONF_LIBS)" + +# Avahi or tinysvcmdns (shaiport-sync bundles its own version of tinysvcmdns). +ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y) +SHAIRPORT_SYNC_DEPENDENCIES += avahi +SHAIRPORT_SYNC_CONF_OPTS += --with-avahi --without-tinysvcmdns +else +SHAIRPORT_SYNC_CONF_OPTS += --without-avahi --with-tinysvcmdns +endif + +ifeq ($(BR2_PACKAGE_LIBDAEMON),y) +SHAIRPORT_SYNC_DEPENDENCIES += libdaemon +SHAIRPORT_SYNC_CONF_OPTS += --with-libdaemon +else +SHAIRPORT_SYNC_CONF_OPTS += --without-libdaemon +endif + +# OpenSSL or mbedTLS +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SHAIRPORT_SYNC_DEPENDENCIES += openssl +SHAIRPORT_SYNC_CONF_OPTS += --with-ssl=openssl +else +SHAIRPORT_SYNC_DEPENDENCIES += mbedtls +SHAIRPORT_SYNC_CONF_OPTS += --with-ssl=mbedtls +SHAIRPORT_SYNC_CONF_LIBS += -lmbedx509 -lmbedcrypto +ifeq ($(BR2_PACKAGE_MBEDTLS_COMPRESSION),y) +SHAIRPORT_SYNC_CONF_LIBS += -lz +endif +endif + +ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION),y) +SHAIRPORT_SYNC_DEPENDENCIES += libsndfile +SHAIRPORT_SYNC_CONF_OPTS += --with-convolution +else +SHAIRPORT_SYNC_CONF_OPTS += --without-convolution +endif + +ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_DBUS),y) +SHAIRPORT_SYNC_DEPENDENCIES += libglib2 +SHAIRPORT_SYNC_CONF_OPTS += --with-dbus-interface --with-mpris-interface +define SHAIRPORT_SYNC_INSTALL_DBUS + $(INSTALL) -m 0644 -D \ + $(@D)/scripts/shairport-sync-dbus-policy.conf \ + $(TARGET_DIR)/etc/dbus-1/system.d/shairport-sync-dbus.conf + $(INSTALL) -m 0644 -D \ + $(@D)/scripts/shairport-sync-mpris-policy.conf \ + $(TARGET_DIR)/etc/dbus-1/system.d/shairport-sync-mpris.conf +endef +else +SHAIRPORT_SYNC_CONF_OPTS += --without-dbus-interface --without-mpris-interface +endif + +ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_LIBSOXR),y) +SHAIRPORT_SYNC_DEPENDENCIES += libsoxr +SHAIRPORT_SYNC_CONF_OPTS += --with-soxr +else +SHAIRPORT_SYNC_CONF_OPTS += --without-soxr +endif + +ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_MQTT),y) +SHAIRPORT_SYNC_DEPENDENCIES += avahi dbus mosquitto +SHAIRPORT_SYNC_CONF_OPTS += --with-mqtt-client +else +SHAIRPORT_SYNC_CONF_OPTS += --without-mqtt-client +endif + +define SHAIRPORT_SYNC_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/shairport-sync \ + $(TARGET_DIR)/usr/bin/shairport-sync + $(INSTALL) -D -m 0644 $(@D)/scripts/shairport-sync.conf \ + $(TARGET_DIR)/etc/shairport-sync.conf + $(SHAIRPORT_SYNC_INSTALL_DBUS) +endef + +define SHAIRPORT_SYNC_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/shairport-sync/S99shairport-sync \ + $(TARGET_DIR)/etc/init.d/S99shairport-sync +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/shapelib/Config.in b/buildroot-2022.02.1/package/shapelib/Config.in similarity index 100% rename from buildroot-2021.05/package/shapelib/Config.in rename to buildroot-2022.02.1/package/shapelib/Config.in diff --git a/buildroot-2021.05/package/shapelib/shapelib.hash b/buildroot-2022.02.1/package/shapelib/shapelib.hash similarity index 100% rename from buildroot-2021.05/package/shapelib/shapelib.hash rename to buildroot-2022.02.1/package/shapelib/shapelib.hash diff --git a/buildroot-2021.05/package/shapelib/shapelib.mk b/buildroot-2022.02.1/package/shapelib/shapelib.mk similarity index 100% rename from buildroot-2021.05/package/shapelib/shapelib.mk rename to buildroot-2022.02.1/package/shapelib/shapelib.mk diff --git a/buildroot-2021.05/package/shared-mime-info/0001-Remove-incorrect-dependency-from-install-data-hook.patch b/buildroot-2022.02.1/package/shared-mime-info/0001-Remove-incorrect-dependency-from-install-data-hook.patch similarity index 100% rename from buildroot-2021.05/package/shared-mime-info/0001-Remove-incorrect-dependency-from-install-data-hook.patch rename to buildroot-2022.02.1/package/shared-mime-info/0001-Remove-incorrect-dependency-from-install-data-hook.patch diff --git a/buildroot-2021.05/package/shared-mime-info/Config.in b/buildroot-2022.02.1/package/shared-mime-info/Config.in similarity index 100% rename from buildroot-2021.05/package/shared-mime-info/Config.in rename to buildroot-2022.02.1/package/shared-mime-info/Config.in diff --git a/buildroot-2021.05/package/shared-mime-info/shared-mime-info.hash b/buildroot-2022.02.1/package/shared-mime-info/shared-mime-info.hash similarity index 100% rename from buildroot-2021.05/package/shared-mime-info/shared-mime-info.hash rename to buildroot-2022.02.1/package/shared-mime-info/shared-mime-info.hash diff --git a/buildroot-2021.05/package/shared-mime-info/shared-mime-info.mk b/buildroot-2022.02.1/package/shared-mime-info/shared-mime-info.mk similarity index 100% rename from buildroot-2021.05/package/shared-mime-info/shared-mime-info.mk rename to buildroot-2022.02.1/package/shared-mime-info/shared-mime-info.mk diff --git a/buildroot-2021.05/package/shellinabox/0001-Makefile-disable-always-building-statically.patch b/buildroot-2022.02.1/package/shellinabox/0001-Makefile-disable-always-building-statically.patch similarity index 100% rename from buildroot-2021.05/package/shellinabox/0001-Makefile-disable-always-building-statically.patch rename to buildroot-2022.02.1/package/shellinabox/0001-Makefile-disable-always-building-statically.patch diff --git a/buildroot-2021.05/package/shellinabox/0002-CVE-2018-16789-fix-for-broken-multipart-form-data.patch b/buildroot-2022.02.1/package/shellinabox/0002-CVE-2018-16789-fix-for-broken-multipart-form-data.patch similarity index 100% rename from buildroot-2021.05/package/shellinabox/0002-CVE-2018-16789-fix-for-broken-multipart-form-data.patch rename to buildroot-2022.02.1/package/shellinabox/0002-CVE-2018-16789-fix-for-broken-multipart-form-data.patch diff --git a/buildroot-2021.05/package/shellinabox/Config.in b/buildroot-2022.02.1/package/shellinabox/Config.in similarity index 100% rename from buildroot-2021.05/package/shellinabox/Config.in rename to buildroot-2022.02.1/package/shellinabox/Config.in diff --git a/buildroot-2021.05/package/shellinabox/shellinabox.hash b/buildroot-2022.02.1/package/shellinabox/shellinabox.hash similarity index 100% rename from buildroot-2021.05/package/shellinabox/shellinabox.hash rename to buildroot-2022.02.1/package/shellinabox/shellinabox.hash diff --git a/buildroot-2021.05/package/shellinabox/shellinabox.mk b/buildroot-2022.02.1/package/shellinabox/shellinabox.mk similarity index 100% rename from buildroot-2021.05/package/shellinabox/shellinabox.mk rename to buildroot-2022.02.1/package/shellinabox/shellinabox.mk diff --git a/buildroot-2021.05/package/sigrok-cli/Config.in b/buildroot-2022.02.1/package/sigrok-cli/Config.in similarity index 100% rename from buildroot-2021.05/package/sigrok-cli/Config.in rename to buildroot-2022.02.1/package/sigrok-cli/Config.in diff --git a/buildroot-2022.02.1/package/sigrok-cli/sigrok-cli.hash b/buildroot-2022.02.1/package/sigrok-cli/sigrok-cli.hash new file mode 100644 index 00000000..cdf004fa --- /dev/null +++ b/buildroot-2022.02.1/package/sigrok-cli/sigrok-cli.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 71d0443f36897bf565732dec206830dbea0f2789b6601cf10536b286d1140ab8 sigrok-cli-0.7.2.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/sigrok-cli/sigrok-cli.mk b/buildroot-2022.02.1/package/sigrok-cli/sigrok-cli.mk new file mode 100644 index 00000000..af3c0a03 --- /dev/null +++ b/buildroot-2022.02.1/package/sigrok-cli/sigrok-cli.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# sigrok-cli +# +################################################################################ + +SIGROK_CLI_VERSION = 0.7.2 +SIGROK_CLI_SITE = http://sigrok.org/download/source/sigrok-cli +SIGROK_CLI_LICENSE = GPL-3.0+ +SIGROK_CLI_LICENSE_FILES = COPYING +SIGROK_CLI_SELINUX_MODULES = sigrok +SIGROK_CLI_DEPENDENCIES = host-pkgconf libsigrok + +ifeq ($(BR2_PACKAGE_LIBSIGROKDECODE),y) +SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode +SIGROK_CLI_DEPENDENCIES += libsigrokdecode +else +SIGROK_CLI_CONF_OPTS += --with-libsigrokdecode=NO +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/simple-mail/Config.in b/buildroot-2022.02.1/package/simple-mail/Config.in new file mode 100644 index 00000000..681a8410 --- /dev/null +++ b/buildroot-2022.02.1/package/simple-mail/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_SIMPLE_MAIL + bool "simple-mail" + depends on BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE_NETWORK + select BR2_PACKAGE_OPENSSL + help + An SMTP library written in C++ for Qt. + + https://github.com/cutelyst/simple-mail diff --git a/buildroot-2022.02.1/package/simple-mail/simple-mail.hash b/buildroot-2022.02.1/package/simple-mail/simple-mail.hash new file mode 100644 index 00000000..67d6caff --- /dev/null +++ b/buildroot-2022.02.1/package/simple-mail/simple-mail.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 2026f2017662508b0f25da72694f1dd13ab3ccf82c0454f7c40f8a6cc450c410 simple-mail-2.3.0.tar.gz + +# Hash for license file +sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c LICENSE diff --git a/buildroot-2022.02.1/package/simple-mail/simple-mail.mk b/buildroot-2022.02.1/package/simple-mail/simple-mail.mk new file mode 100644 index 00000000..68484f79 --- /dev/null +++ b/buildroot-2022.02.1/package/simple-mail/simple-mail.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# simple-mail +# +################################################################################ + +SIMPLE_MAIL_VERSION = 2.3.0 +SIMPLE_MAIL_SITE = $(call github,cutelyst,simple-mail,v$(SIMPLE_MAIL_VERSION)) +SIMPLE_MAIL_INSTALL_STAGING = YES +SIMPLE_MAIL_LICENSE = LGPL-2.1+ +SIMPLE_MAIL_LICENSE_FILES = LICENSE +SIMPLE_MAIL_DEPENDENCIES = qt5base +SIMPLE_MAIL_CONF_OPTS = -DBUILD_DEMOS=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/siproxd/Config.in b/buildroot-2022.02.1/package/siproxd/Config.in similarity index 100% rename from buildroot-2021.05/package/siproxd/Config.in rename to buildroot-2022.02.1/package/siproxd/Config.in diff --git a/buildroot-2021.05/package/siproxd/siproxd.hash b/buildroot-2022.02.1/package/siproxd/siproxd.hash similarity index 100% rename from buildroot-2021.05/package/siproxd/siproxd.hash rename to buildroot-2022.02.1/package/siproxd/siproxd.hash diff --git a/buildroot-2021.05/package/siproxd/siproxd.mk b/buildroot-2022.02.1/package/siproxd/siproxd.mk similarity index 100% rename from buildroot-2021.05/package/siproxd/siproxd.mk rename to buildroot-2022.02.1/package/siproxd/siproxd.mk diff --git a/buildroot-2021.05/package/sispmctl/Config.in b/buildroot-2022.02.1/package/sispmctl/Config.in similarity index 100% rename from buildroot-2021.05/package/sispmctl/Config.in rename to buildroot-2022.02.1/package/sispmctl/Config.in diff --git a/buildroot-2022.02.1/package/sispmctl/sispmctl.hash b/buildroot-2022.02.1/package/sispmctl/sispmctl.hash new file mode 100644 index 00000000..e22efcfb --- /dev/null +++ b/buildroot-2022.02.1/package/sispmctl/sispmctl.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 6a9ec7125e8c01bb45d4a3b56f07fb41fc437020c8dcd8c0f29ebb98dc55a647 sispmctl-4.9.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/sispmctl/sispmctl.mk b/buildroot-2022.02.1/package/sispmctl/sispmctl.mk new file mode 100644 index 00000000..b6e156c6 --- /dev/null +++ b/buildroot-2022.02.1/package/sispmctl/sispmctl.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# sispmctl +# +################################################################################ + +SISPMCTL_VERSION = 4.9 +SISPMCTL_SITE = http://downloads.sourceforge.net/project/sispmctl/sispmctl/sispmctl-$(SISPMCTL_VERSION) +SISPMCTL_LICENSE = GPL-2.0+ +SISPMCTL_LICENSE_FILES = COPYING +SISPMCTL_DEPENDENCIES = libusb-compat + +SISPMCTL_CONF_OPTS = --enable-webless + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/skalibs/Config.in b/buildroot-2022.02.1/package/skalibs/Config.in similarity index 100% rename from buildroot-2021.05/package/skalibs/Config.in rename to buildroot-2022.02.1/package/skalibs/Config.in diff --git a/buildroot-2021.05/package/skalibs/skalibs.hash b/buildroot-2022.02.1/package/skalibs/skalibs.hash similarity index 100% rename from buildroot-2021.05/package/skalibs/skalibs.hash rename to buildroot-2022.02.1/package/skalibs/skalibs.hash diff --git a/buildroot-2021.05/package/skalibs/skalibs.mk b/buildroot-2022.02.1/package/skalibs/skalibs.mk similarity index 100% rename from buildroot-2021.05/package/skalibs/skalibs.mk rename to buildroot-2022.02.1/package/skalibs/skalibs.mk diff --git a/buildroot-2021.05/package/skeleton-custom/Config.in b/buildroot-2022.02.1/package/skeleton-custom/Config.in similarity index 100% rename from buildroot-2021.05/package/skeleton-custom/Config.in rename to buildroot-2022.02.1/package/skeleton-custom/Config.in diff --git a/buildroot-2021.05/package/skeleton-custom/skeleton-custom.mk b/buildroot-2022.02.1/package/skeleton-custom/skeleton-custom.mk similarity index 100% rename from buildroot-2021.05/package/skeleton-custom/skeleton-custom.mk rename to buildroot-2022.02.1/package/skeleton-custom/skeleton-custom.mk diff --git a/buildroot-2021.05/package/skeleton-init-common/Config.in b/buildroot-2022.02.1/package/skeleton-init-common/Config.in similarity index 100% rename from buildroot-2021.05/package/skeleton-init-common/Config.in rename to buildroot-2022.02.1/package/skeleton-init-common/Config.in diff --git a/buildroot-2021.05/package/skeleton-init-common/skeleton-init-common.mk b/buildroot-2022.02.1/package/skeleton-init-common/skeleton-init-common.mk similarity index 100% rename from buildroot-2021.05/package/skeleton-init-common/skeleton-init-common.mk rename to buildroot-2022.02.1/package/skeleton-init-common/skeleton-init-common.mk diff --git a/buildroot-2021.05/package/skeleton-init-none/Config.in b/buildroot-2022.02.1/package/skeleton-init-none/Config.in similarity index 100% rename from buildroot-2021.05/package/skeleton-init-none/Config.in rename to buildroot-2022.02.1/package/skeleton-init-none/Config.in diff --git a/buildroot-2021.05/package/skeleton-init-none/skeleton-init-none.mk b/buildroot-2022.02.1/package/skeleton-init-none/skeleton-init-none.mk similarity index 100% rename from buildroot-2021.05/package/skeleton-init-none/skeleton-init-none.mk rename to buildroot-2022.02.1/package/skeleton-init-none/skeleton-init-none.mk diff --git a/buildroot-2021.05/package/skeleton-init-openrc/Config.in b/buildroot-2022.02.1/package/skeleton-init-openrc/Config.in similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/Config.in rename to buildroot-2022.02.1/package/skeleton-init-openrc/Config.in diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton-init-openrc.mk b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton-init-openrc.mk similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton-init-openrc.mk rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton-init-openrc.mk diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/dev/log b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/dev/log similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/dev/log rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/dev/log diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/etc/runlevels/default/.empty b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/etc/conf.d/.empty similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/etc/runlevels/default/.empty rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/etc/conf.d/.empty diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/etc/fstab b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/etc/fstab similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/etc/fstab rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/etc/fstab diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/dev/pts/.empty b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/etc/runlevels/default/.empty similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/dev/pts/.empty rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/etc/runlevels/default/.empty diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/etc/runlevels/default/sysv-rcs b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/etc/runlevels/default/sysv-rcs similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/etc/runlevels/default/sysv-rcs rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/etc/runlevels/default/sysv-rcs diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/cache b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/cache similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/cache rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/cache diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/lib/misc b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/lib/misc similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/lib/misc rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/lib/misc diff --git a/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/lock b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/lock new file mode 120000 index 00000000..386c09e7 --- /dev/null +++ b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/lock @@ -0,0 +1 @@ +../run/lock \ No newline at end of file diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/log b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/log similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/log rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/log diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/run b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/run similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/run rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/run diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/spool b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/spool similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/spool rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/spool diff --git a/buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/tmp b/buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/tmp similarity index 100% rename from buildroot-2021.05/package/skeleton-init-openrc/skeleton/var/tmp rename to buildroot-2022.02.1/package/skeleton-init-openrc/skeleton/var/tmp diff --git a/buildroot-2021.05/package/skeleton-init-systemd/Config.in b/buildroot-2022.02.1/package/skeleton-init-systemd/Config.in similarity index 100% rename from buildroot-2021.05/package/skeleton-init-systemd/Config.in rename to buildroot-2022.02.1/package/skeleton-init-systemd/Config.in diff --git a/buildroot-2022.02.1/package/skeleton-init-systemd/legacy.conf b/buildroot-2022.02.1/package/skeleton-init-systemd/legacy.conf new file mode 100644 index 00000000..0a539340 --- /dev/null +++ b/buildroot-2022.02.1/package/skeleton-init-systemd/legacy.conf @@ -0,0 +1,7 @@ +# Create legacy directories for buildroot +# This is a subset of systemd's legacy.conf + +d /run/lock 0755 root root - +d /run/lock/subsys 0755 root root - + +L /var/lock - - - - ../run/lock diff --git a/buildroot-2022.02.1/package/skeleton-init-systemd/skeleton-init-systemd.mk b/buildroot-2022.02.1/package/skeleton-init-systemd/skeleton-init-systemd.mk new file mode 100644 index 00000000..795a1718 --- /dev/null +++ b/buildroot-2022.02.1/package/skeleton-init-systemd/skeleton-init-systemd.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# skeleton-init-systemd +# +################################################################################ + +# The skeleton can't depend on the toolchain, since all packages depends on the +# skeleton and the toolchain is a target package, as is skeleton. +# Hence, skeleton would depends on the toolchain and the toolchain would depend +# on skeleton. +SKELETON_INIT_SYSTEMD_ADD_TOOLCHAIN_DEPENDENCY = NO +SKELETON_INIT_SYSTEMD_ADD_SKELETON_DEPENDENCY = NO + +SKELETON_INIT_SYSTEMD_DEPENDENCIES = skeleton-init-common + +SKELETON_INIT_SYSTEMD_PROVIDES = skeleton + +ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y) + +define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW + echo "/dev/root / auto rw 0 1" >$(TARGET_DIR)/etc/fstab +endef + +else + +# On a R/O rootfs, /var is a tmpfs filesystem. So, at build time, we +# redirect /var to the "factory settings" location. Just before the +# filesystem gets created, the /var symlink will be replaced with +# a real (but empty) directory, and the "factory files" will be copied +# back there by the tmpfiles.d mechanism. +define SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW + mkdir -p $(TARGET_DIR)/etc/systemd/tmpfiles.d + echo "/dev/root / auto ro 0 1" >$(TARGET_DIR)/etc/fstab + echo "tmpfs /var tmpfs mode=1777 0 0" >>$(TARGET_DIR)/etc/fstab +endef + +define SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR + rm -rf $(TARGET_DIR)/usr/share/factory/var + mv $(TARGET_DIR)/var $(TARGET_DIR)/usr/share/factory/var + mkdir -p $(TARGET_DIR)/var + for i in $(TARGET_DIR)/usr/share/factory/var/* \ + $(TARGET_DIR)/usr/share/factory/var/lib/* \ + $(TARGET_DIR)/usr/share/factory/var/lib/systemd/*; do \ + [ -e "$${i}" ] || continue; \ + j="$${i#$(TARGET_DIR)/usr/share/factory}"; \ + if [ -L "$${i}" ]; then \ + printf "L+! %s - - - - %s\n" \ + "$${j}" "../usr/share/factory/$${j}" \ + || exit 1; \ + else \ + printf "C! %s - - - -\n" "$${j}" \ + || exit 1; \ + fi; \ + done >$(TARGET_DIR)/etc/tmpfiles.d/var-factory.conf +endef +SKELETON_INIT_SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SKELETON_INIT_SYSTEMD_PRE_ROOTFS_VAR + +endif + +define SKELETON_INIT_SYSTEMD_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/home + mkdir -p $(TARGET_DIR)/srv + mkdir -p $(TARGET_DIR)/var + ln -s ../run $(TARGET_DIR)/var/run + # prevent install scripts to create var/lock as directory + ln -s ../run/lock $(TARGET_DIR)/var/lock + install -D -m644 $(SKELETON_INIT_SYSTEMD_PKGDIR)/legacy.conf $(TARGET_DIR)/usr/lib/tmpfiles.d/legacy.conf + $(SKELETON_INIT_SYSTEMD_ROOT_RO_OR_RW) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/skeleton-init-sysv/Config.in b/buildroot-2022.02.1/package/skeleton-init-sysv/Config.in similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/Config.in rename to buildroot-2022.02.1/package/skeleton-init-sysv/Config.in diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton-init-sysv.mk b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton-init-sysv.mk similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton-init-sysv.mk rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton-init-sysv.mk diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/dev/log b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/dev/log similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/dev/log rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/dev/log diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/dev/shm/.empty b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/dev/pts/.empty similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/dev/shm/.empty rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/dev/pts/.empty diff --git a/buildroot-2021.05/system/skeleton/dev/.empty b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/dev/shm/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/dev/.empty rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/dev/shm/.empty diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/etc/fstab b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/etc/fstab similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/etc/fstab rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/etc/fstab diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/cache b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/cache similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/cache rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/cache diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/lib/misc b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/lib/misc similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/lib/misc rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/lib/misc diff --git a/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/lock b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/lock new file mode 120000 index 00000000..386c09e7 --- /dev/null +++ b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/lock @@ -0,0 +1 @@ +../run/lock \ No newline at end of file diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/log b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/log similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/log rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/log diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/run b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/run similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/run rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/run diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/spool b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/spool similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/spool rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/spool diff --git a/buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/tmp b/buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/tmp similarity index 100% rename from buildroot-2021.05/package/skeleton-init-sysv/skeleton/var/tmp rename to buildroot-2022.02.1/package/skeleton-init-sysv/skeleton/var/tmp diff --git a/buildroot-2021.05/package/skeleton/Config.in b/buildroot-2022.02.1/package/skeleton/Config.in similarity index 100% rename from buildroot-2021.05/package/skeleton/Config.in rename to buildroot-2022.02.1/package/skeleton/Config.in diff --git a/buildroot-2021.05/package/skeleton/skeleton.mk b/buildroot-2022.02.1/package/skeleton/skeleton.mk similarity index 100% rename from buildroot-2021.05/package/skeleton/skeleton.mk rename to buildroot-2022.02.1/package/skeleton/skeleton.mk diff --git a/buildroot-2021.05/package/sl/Config.in b/buildroot-2022.02.1/package/sl/Config.in similarity index 100% rename from buildroot-2021.05/package/sl/Config.in rename to buildroot-2022.02.1/package/sl/Config.in diff --git a/buildroot-2021.05/package/sl/sl.hash b/buildroot-2022.02.1/package/sl/sl.hash similarity index 100% rename from buildroot-2021.05/package/sl/sl.hash rename to buildroot-2022.02.1/package/sl/sl.hash diff --git a/buildroot-2021.05/package/sl/sl.mk b/buildroot-2022.02.1/package/sl/sl.mk similarity index 100% rename from buildroot-2021.05/package/sl/sl.mk rename to buildroot-2022.02.1/package/sl/sl.mk diff --git a/buildroot-2021.05/package/slang/0001-slsh-libs.patch b/buildroot-2022.02.1/package/slang/0001-slsh-libs.patch similarity index 100% rename from buildroot-2021.05/package/slang/0001-slsh-libs.patch rename to buildroot-2022.02.1/package/slang/0001-slsh-libs.patch diff --git a/buildroot-2021.05/package/slang/Config.in b/buildroot-2022.02.1/package/slang/Config.in similarity index 100% rename from buildroot-2021.05/package/slang/Config.in rename to buildroot-2022.02.1/package/slang/Config.in diff --git a/buildroot-2021.05/package/slang/slang.hash b/buildroot-2022.02.1/package/slang/slang.hash similarity index 100% rename from buildroot-2021.05/package/slang/slang.hash rename to buildroot-2022.02.1/package/slang/slang.hash diff --git a/buildroot-2021.05/package/slang/slang.mk b/buildroot-2022.02.1/package/slang/slang.mk similarity index 100% rename from buildroot-2021.05/package/slang/slang.mk rename to buildroot-2022.02.1/package/slang/slang.mk diff --git a/buildroot-2021.05/package/slirp/Config.in b/buildroot-2022.02.1/package/slirp/Config.in similarity index 100% rename from buildroot-2021.05/package/slirp/Config.in rename to buildroot-2022.02.1/package/slirp/Config.in diff --git a/buildroot-2022.02.1/package/slirp/slirp.hash b/buildroot-2022.02.1/package/slirp/slirp.hash new file mode 100644 index 00000000..326b2ad2 --- /dev/null +++ b/buildroot-2022.02.1/package/slirp/slirp.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 b8a22ac4d601ba16122a67827c0f4361785d4d283f21ff8ed48d4aa1e7693477 libslirp-4.6.1.tar.xz +sha256 b28aecf4796a6a22054167f0a976de13d9db335669d37afd2dc7ea4c335e1e13 COPYRIGHT diff --git a/buildroot-2022.02.1/package/slirp/slirp.mk b/buildroot-2022.02.1/package/slirp/slirp.mk new file mode 100644 index 00000000..43d2c520 --- /dev/null +++ b/buildroot-2022.02.1/package/slirp/slirp.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# slirp +# +################################################################################ + +SLIRP_VERSION = 4.6.1 +SLIRP_SOURCE = libslirp-$(SLIRP_VERSION).tar.xz +SLIRP_SITE = https://gitlab.freedesktop.org/slirp/libslirp/uploads/83b199ea6fcdfc0c243dfde8546ee4c9 +SLIRP_LICENSE = BSD-3-Clause +SLIRP_LICENSE_FILES = COPYRIGHT +SLIRP_CPE_ID_VENDOR = libslirp_project +SLIRP_CPE_ID_PRODUCT = libslirp +SLIRP_INSTALL_STAGING = YES +SLIRP_DEPENDENCIES = libglib2 + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/sloci-image/Config.in.host b/buildroot-2022.02.1/package/sloci-image/Config.in.host new file mode 100644 index 00000000..d809f1f3 --- /dev/null +++ b/buildroot-2022.02.1/package/sloci-image/Config.in.host @@ -0,0 +1,7 @@ +config BR2_PACKAGE_HOST_SLOCI_IMAGE + bool "host sloci-image" + help + A simple CLI tool for packing rootfs into a single-layer OCI + image. + + https://github.com/jirutka/sloci-image diff --git a/buildroot-2022.02.1/package/sloci-image/sloci-image.hash b/buildroot-2022.02.1/package/sloci-image/sloci-image.hash new file mode 100644 index 00000000..ea1368e4 --- /dev/null +++ b/buildroot-2022.02.1/package/sloci-image/sloci-image.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 4c5baee9a4915ca88e3a54befa1ccb8616be20208070cf54ac366c195647da79 sloci-image-0.1.2.tar.gz + +# Hash for license files: +sha256 4c86c21e003875b85b4b9299156f8cec72c8e8e1abf5aa1f2d3c4dc665a3bea0 LICENSE diff --git a/buildroot-2022.02.1/package/sloci-image/sloci-image.mk b/buildroot-2022.02.1/package/sloci-image/sloci-image.mk new file mode 100644 index 00000000..7361c49d --- /dev/null +++ b/buildroot-2022.02.1/package/sloci-image/sloci-image.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# sloci-image +# +################################################################################ + +SLOCI_IMAGE_VERSION = 0.1.2 +SLOCI_IMAGE_SITE = $(call github,jirutka,sloci-image,v$(SLOCI_IMAGE_VERSION)) + +SLOCI_IMAGE_LICENSE = MIT +SLOCI_IMAGE_LICENSE_FILES = LICENSE + +HOST_SLOCI_IMAGE_DEPENDENCIES = host-gawk + +define HOST_SLOCI_IMAGE_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) PREFIX=$(HOST_DIR) -C $(@D) install +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/smack/Config.in b/buildroot-2022.02.1/package/smack/Config.in similarity index 100% rename from buildroot-2021.05/package/smack/Config.in rename to buildroot-2022.02.1/package/smack/Config.in diff --git a/buildroot-2021.05/package/smack/smack.hash b/buildroot-2022.02.1/package/smack/smack.hash similarity index 100% rename from buildroot-2021.05/package/smack/smack.hash rename to buildroot-2022.02.1/package/smack/smack.hash diff --git a/buildroot-2022.02.1/package/smack/smack.mk b/buildroot-2022.02.1/package/smack/smack.mk new file mode 100644 index 00000000..fec3ef98 --- /dev/null +++ b/buildroot-2022.02.1/package/smack/smack.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# smack +# +################################################################################ + +SMACK_VERSION = 1.3.1 +SMACK_SITE = $(call github,smack-team,smack,v$(SMACK_VERSION)) +SMACK_LICENSE = LGPL-2.1 +SMACK_LICENSE_FILES = COPYING +SMACK_INSTALL_STAGING = YES +SMACK_DEPENDENCIES = host-pkgconf + +# Sources from GitHub, no configure script included. +SMACK_AUTORECONF = YES + +define SMACK_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY) + $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SMACK) + $(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/smartmontools/Config.in b/buildroot-2022.02.1/package/smartmontools/Config.in similarity index 100% rename from buildroot-2021.05/package/smartmontools/Config.in rename to buildroot-2022.02.1/package/smartmontools/Config.in diff --git a/buildroot-2021.05/package/smartmontools/smartmontools.hash b/buildroot-2022.02.1/package/smartmontools/smartmontools.hash similarity index 100% rename from buildroot-2021.05/package/smartmontools/smartmontools.hash rename to buildroot-2022.02.1/package/smartmontools/smartmontools.hash diff --git a/buildroot-2022.02.1/package/smartmontools/smartmontools.mk b/buildroot-2022.02.1/package/smartmontools/smartmontools.mk new file mode 100644 index 00000000..2e2bbcd4 --- /dev/null +++ b/buildroot-2022.02.1/package/smartmontools/smartmontools.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# smartmontools +# +################################################################################ + +SMARTMONTOOLS_VERSION = 7.2 +SMARTMONTOOLS_SITE = http://downloads.sourceforge.net/project/smartmontools/smartmontools/$(SMARTMONTOOLS_VERSION) +SMARTMONTOOLS_LICENSE = GPL-2.0+ +SMARTMONTOOLS_LICENSE_FILES = COPYING +SMARTMONTOOLS_CPE_ID_VENDOR = smartmontools +SMARTMONTOOLS_SELINUX_MODULES = smartmon + +ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) +SMARTMONTOOLS_CONF_OPTS += --with-libcap-ng +SMARTMONTOOLS_DEPENDENCIES += libcap-ng +else +SMARTMONTOOLS_CONF_OPTS += --without-libcap-ng +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +SMARTMONTOOLS_CONF_OPTS += --with-selinux +SMARTMONTOOLS_DEPENDENCIES += libselinux +else +SMARTMONTOOLS_CONF_OPTS += --without-selinux +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +SMARTMONTOOLS_CONF_OPTS += --with-libsystemd +SMARTMONTOOLS_DEPENDENCIES += systemd +else +SMARTMONTOOLS_CONF_OPTS += --without-libsystemd +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/smcroute/Config.in b/buildroot-2022.02.1/package/smcroute/Config.in similarity index 100% rename from buildroot-2021.05/package/smcroute/Config.in rename to buildroot-2022.02.1/package/smcroute/Config.in diff --git a/buildroot-2022.02.1/package/smcroute/S41smcroute b/buildroot-2022.02.1/package/smcroute/S41smcroute new file mode 100755 index 00000000..d243e8ec --- /dev/null +++ b/buildroot-2022.02.1/package/smcroute/S41smcroute @@ -0,0 +1,48 @@ +#!/bin/sh + +NAME="smcroute" +DAEMON="smcrouted" +PIDFILE="/var/run/$NAME.pid" + +# shellcheck source=/dev/null +[ -r "/etc/default/$NAME" ] && . "/etc/default/$NAME" + +cmd() +{ + start-stop-daemon -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" "$@" + status=$? + if [ $status -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return $status +} + +case "$1" in + start) + printf 'Starting %s: ' "$DAEMON" + # shellcheck disable=SC2086 # we need the word splitting + cmd -S -- $SMCROUTED_ARGS + ;; + + stop) + printf 'Stopping %s: ' "$DAEMON" + cmd -K + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + reload) + printf 'Reloading %s: ' "$DAEMON" + cmd -K -s HUP + ;; + + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2022.02.1/package/smcroute/smcroute.hash b/buildroot-2022.02.1/package/smcroute/smcroute.hash new file mode 100644 index 00000000..ea4c449c --- /dev/null +++ b/buildroot-2022.02.1/package/smcroute/smcroute.hash @@ -0,0 +1,5 @@ +# Upstream .sha256 from GitHub +sha256 2569cd97fa2047df14203a7144be53a1b32928cb460421a302bbcce381b42bc3 smcroute-2.5.5.tar.gz + +# Locally generated +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/smcroute/smcroute.mk b/buildroot-2022.02.1/package/smcroute/smcroute.mk new file mode 100644 index 00000000..e6114c9a --- /dev/null +++ b/buildroot-2022.02.1/package/smcroute/smcroute.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# smcroute +# +################################################################################ + +SMCROUTE_VERSION = 2.5.5 +SMCROUTE_SITE = https://github.com/troglobit/smcroute/releases/download/$(SMCROUTE_VERSION) +SMCROUTE_LICENSE = GPL-2.0+ +SMCROUTE_LICENSE_FILES = COPYING +SMCROUTE_CPE_ID_VENDOR = troglobit + +SMCROUTE_CONF_OPTS = --enable-mrdisc + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +SMCROUTE_DEPENDENCIES += libcap +SMCROUTE_CONF_OPTS += --with-libcap +else +SMCROUTE_CONF_OPTS += --without-libcap +endif + +define SMCROUTE_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/smcroute/S41smcroute \ + $(TARGET_DIR)/etc/init.d/S41smcroute +endef + +define SMCROUTE_PRUNE_COMPAT_SCRIPT + rm -f $(TARGET_DIR)/usr/sbin/smcroute +endef + +SMCROUTE_POST_INSTALL_TARGET_HOOKS += SMCROUTE_PRUNE_COMPAT_SCRIPT + +# We will asume that CONFIG_NET and CONFIG_INET are already +# set in the kernel configuration provided by the user. +define SMCROUTE_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_MULTICAST) + $(call KCONFIG_ENABLE_OPT,CONFIG_IP_MROUTE) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/smstools3/0001-fix-Makefile.patch b/buildroot-2022.02.1/package/smstools3/0001-fix-Makefile.patch similarity index 100% rename from buildroot-2021.05/package/smstools3/0001-fix-Makefile.patch rename to buildroot-2022.02.1/package/smstools3/0001-fix-Makefile.patch diff --git a/buildroot-2021.05/package/smstools3/0002-fix-build-with-gcc-10.x.patch b/buildroot-2022.02.1/package/smstools3/0002-fix-build-with-gcc-10.x.patch similarity index 100% rename from buildroot-2021.05/package/smstools3/0002-fix-build-with-gcc-10.x.patch rename to buildroot-2022.02.1/package/smstools3/0002-fix-build-with-gcc-10.x.patch diff --git a/buildroot-2021.05/package/smstools3/Config.in b/buildroot-2022.02.1/package/smstools3/Config.in similarity index 100% rename from buildroot-2021.05/package/smstools3/Config.in rename to buildroot-2022.02.1/package/smstools3/Config.in diff --git a/buildroot-2021.05/package/smstools3/S50smsd b/buildroot-2022.02.1/package/smstools3/S50smsd similarity index 100% rename from buildroot-2021.05/package/smstools3/S50smsd rename to buildroot-2022.02.1/package/smstools3/S50smsd diff --git a/buildroot-2021.05/package/smstools3/smstools3.hash b/buildroot-2022.02.1/package/smstools3/smstools3.hash similarity index 100% rename from buildroot-2021.05/package/smstools3/smstools3.hash rename to buildroot-2022.02.1/package/smstools3/smstools3.hash diff --git a/buildroot-2022.02.1/package/smstools3/smstools3.mk b/buildroot-2022.02.1/package/smstools3/smstools3.mk new file mode 100644 index 00000000..d13900bc --- /dev/null +++ b/buildroot-2022.02.1/package/smstools3/smstools3.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# smstools3 +# +################################################################################ + +SMSTOOLS3_VERSION = 3.1.21 +SMSTOOLS3_SITE = http://smstools3.kekekasvi.com/packages +SMSTOOLS3_LICENSE = GPL-2.0+ +SMSTOOLS3_LICENSE_FILES = doc/license.html LICENSE +SMSTOOLS3_SELINUX_MODULES = smstools + +SMSTOOLS3_CFLAGS = $(TARGET_CFLAGS) +SMSTOOLS3_CFLAGS += -D NUMBER_OF_MODEMS=$(BR2_PACKAGE_SMSTOOLS3_NB_MODEMS) +SMSTOOLS3_CFLAGS += -D NOSTATS + +define SMSTOOLS3_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(SMSTOOLS3_CFLAGS)" -C $(@D) +endef + +define SMSTOOLS3_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/smstools3/S50smsd \ + $(TARGET_DIR)/etc/init.d/S50smsd +endef + +define SMSTOOLS3_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/src/smsd \ + $(TARGET_DIR)/usr/bin/smsd + $(INSTALL) -m 0755 -D $(@D)/scripts/sendsms \ + $(TARGET_DIR)/usr/bin/sendsms + $(INSTALL) -m 0644 -D $(@D)/examples/smsd.conf.easy \ + $(TARGET_DIR)/etc/smsd.conf +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/snappy/0001-Add-inline-with-SNAPPY_ATTRIBUTE_ALWAYS_INLINE.patch b/buildroot-2022.02.1/package/snappy/0001-Add-inline-with-SNAPPY_ATTRIBUTE_ALWAYS_INLINE.patch new file mode 100644 index 00000000..bd2ef077 --- /dev/null +++ b/buildroot-2022.02.1/package/snappy/0001-Add-inline-with-SNAPPY_ATTRIBUTE_ALWAYS_INLINE.patch @@ -0,0 +1,71 @@ +From 0c716d435abe65250100c2caea0e5126ac4e14bd Mon Sep 17 00:00:00 2001 +From: "Georgi D. Sotirov" +Date: Wed, 5 May 2021 14:16:46 +0300 +Subject: [PATCH] Add inline with SNAPPY_ATTRIBUTE_ALWAYS_INLINE + +Add inline with SNAPPY_ATTRIBUTE_ALWAYS_INLINE on AdvanceToNextTag to +fix the following compilation errors and a warning with GCC: + +[ 2%] Building CXX object CMakeFiles/snappy.dir/snappy.cc.o +/usr/bin/c++ -DHAVE_CONFIG_H -Dsnappy_EXPORTS +-I/tmp/snappy-1.1.9/build -I/tmp/snappy-1.1.9 -O3 +-march=i586 -mtune=i686 -Wall -Wextra -fno-exceptions -fno-rtti -O3 +-DNDEBUG -fPIC -std=c++11 -o CMakeFiles/snappy.dir/snappy.cc.o -c +/tmp/snappy-1.1.9/snappy.cc +/tmp/snappy-1.1.9/snappy.cc:1017:8: warning: always_inline +function might not be inlinable [-Wattributes] + size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { + ^ +/tmp/snappy-1.1.9/snappy.cc: In function 'std::pair snappy::DecompressBranchless(const uint8_t*, const +uint8_t*, ptrdiff_t, T, ptrdiff_t) [with T = char*; uint8_t = unsigned +char; ptrdiff_t = int]': +/tmp/snappy-1.1.9/snappy.cc:1017:8: error: inlining failed in +call to always_inline 'size_t snappy::AdvanceToNextTag(const uint8_t**, +size_t*)': function body can be overwritten at link time +/tmp/snappy-1.1.9/snappy.cc:1097:53: error: called from here + size_t tag_type = AdvanceToNextTag(&ip, &tag); + ^ +/tmp/snappy-1.1.9/snappy.cc:1017:8: error: inlining failed in +call to always_inline 'size_t snappy::AdvanceToNextTag(const uint8_t**, +size_t*)': function body can be overwritten at link time + size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { + ^ +/tmp/snappy-1.1.9/snappy.cc:1097:53: error: called from here + size_t tag_type = AdvanceToNextTag(&ip, &tag); + ^ +/tmp/snappy-1.1.9/snappy.cc:1017:8: error: inlining failed in +call to always_inline 'size_t snappy::AdvanceToNextTag(const uint8_t**, +size_t*)': function body can be overwritten at link time + size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { + ^ +/tmp/snappy-1.1.9/snappy.cc:1097:53: error: called from here + size_t tag_type = AdvanceToNextTag(&ip, &tag); + ^ +CMakeFiles/snappy.dir/build.make:137: recipe for target +'CMakeFiles/snappy.dir/snappy.cc.o' failed + +Just like with other functions using SNAPPY_ATTRIBUTE_ALWAYS_INLINE +macro (i.e. __attribute__((always_inline)) ) it is necessary to use C++ +inline specifier. + +[Retrieved from: +https://github.com/google/snappy/pull/128/commits/0c716d435abe65250100c2caea0e5126ac4e14bd] +Signed-off-by: Fabrice Fontaine +--- + snappy.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/snappy.cc b/snappy.cc +index 79dc0e8d..51157be2 100644 +--- a/snappy.cc ++++ b/snappy.cc +@@ -1014,7 +1014,7 @@ void MemMove(ptrdiff_t dst, const void* src, size_t size) { + } + + SNAPPY_ATTRIBUTE_ALWAYS_INLINE +-size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { ++inline size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) { + const uint8_t*& ip = *ip_p; + // This section is crucial for the throughput of the decompression loop. + // The latency of an iteration is fundamentally constrained by the diff --git a/buildroot-2021.05/package/snappy/Config.in b/buildroot-2022.02.1/package/snappy/Config.in similarity index 100% rename from buildroot-2021.05/package/snappy/Config.in rename to buildroot-2022.02.1/package/snappy/Config.in diff --git a/buildroot-2022.02.1/package/snappy/snappy.hash b/buildroot-2022.02.1/package/snappy/snappy.hash new file mode 100644 index 00000000..b49b0e7e --- /dev/null +++ b/buildroot-2022.02.1/package/snappy/snappy.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 75c1fbb3d618dd3a0483bff0e26d0a92b495bbe5059c8b4f1c962b478b6e06e7 snappy-1.1.9.tar.gz +sha256 55172044f7e241207117448a4d9d6ba1d0925c8ad66b5d4c08c70adfa9cc3de6 COPYING diff --git a/buildroot-2022.02.1/package/snappy/snappy.mk b/buildroot-2022.02.1/package/snappy/snappy.mk new file mode 100644 index 00000000..d31dcdd5 --- /dev/null +++ b/buildroot-2022.02.1/package/snappy/snappy.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# snappy +# +################################################################################ + +SNAPPY_VERSION = 1.1.9 +SNAPPY_SITE = $(call github,google,snappy,$(SNAPPY_VERSION)) +SNAPPY_LICENSE = BSD-3-Clause +SNAPPY_LICENSE_FILES = COPYING +SNAPPY_CPE_ID_VENDOR = google +SNAPPY_INSTALL_STAGING = YES +SNAPPY_CONF_OPTS = -DSNAPPY_BUILD_BENCHMARKS=OFF -DSNAPPY_BUILD_TESTS=OFF + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/sngrep/Config.in b/buildroot-2022.02.1/package/sngrep/Config.in similarity index 100% rename from buildroot-2021.05/package/sngrep/Config.in rename to buildroot-2022.02.1/package/sngrep/Config.in diff --git a/buildroot-2021.05/package/sngrep/sngrep.hash b/buildroot-2022.02.1/package/sngrep/sngrep.hash similarity index 100% rename from buildroot-2021.05/package/sngrep/sngrep.hash rename to buildroot-2022.02.1/package/sngrep/sngrep.hash diff --git a/buildroot-2021.05/package/sngrep/sngrep.mk b/buildroot-2022.02.1/package/sngrep/sngrep.mk similarity index 100% rename from buildroot-2021.05/package/sngrep/sngrep.mk rename to buildroot-2022.02.1/package/sngrep/sngrep.mk diff --git a/buildroot-2022.02.1/package/snmpclitools/Config.in b/buildroot-2022.02.1/package/snmpclitools/Config.in new file mode 100644 index 00000000..bf3668a8 --- /dev/null +++ b/buildroot-2022.02.1/package/snmpclitools/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_SNMPCLITOOLS + bool "snmpclitools" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_PYSMI # runtime + select BR2_PACKAGE_PYTHON_PYSNMP # runtime + help + SNMP command-line tools. + + https://github.com/etingof/snmpclitools diff --git a/buildroot-2021.05/package/snmpclitools/snmpclitools.hash b/buildroot-2022.02.1/package/snmpclitools/snmpclitools.hash similarity index 100% rename from buildroot-2021.05/package/snmpclitools/snmpclitools.hash rename to buildroot-2022.02.1/package/snmpclitools/snmpclitools.hash diff --git a/buildroot-2021.05/package/snmpclitools/snmpclitools.mk b/buildroot-2022.02.1/package/snmpclitools/snmpclitools.mk similarity index 100% rename from buildroot-2021.05/package/snmpclitools/snmpclitools.mk rename to buildroot-2022.02.1/package/snmpclitools/snmpclitools.mk diff --git a/buildroot-2022.02.1/package/snmppp/Config.in b/buildroot-2022.02.1/package/snmppp/Config.in new file mode 100644 index 00000000..1f05f53f --- /dev/null +++ b/buildroot-2022.02.1/package/snmppp/Config.in @@ -0,0 +1,37 @@ +config BR2_PACKAGE_SNMPPP + bool "snmp++" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS + help + SNMP++v3.x is a C++ API which supports SNMP v1, v2c, and v3. + + http://www.agentpp.com/snmp_pp3_x/snmp_pp3_x.html + +if BR2_PACKAGE_SNMPPP + +config BR2_PACKAGE_SNMPPP_LOGGING + bool "enable logging" + help + Enable logging output for SNMP++. + According to the SNMP++ documentation, disabling logging + "increases performance drastically and minimizes memory + consumption". + +config BR2_PACKAGE_SNMPPP_SNMPV3 + bool "enable SNMPv3" + default y + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + Enable optional support for SNMP++. This selects OpenSSL. + +comment "SNMPv3 needs a toolchain w/ gcc >= 4.8" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +endif + +comment "snmp++ needs a toolchain w/ threads, C++, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/snmppp/snmppp.hash b/buildroot-2022.02.1/package/snmppp/snmppp.hash similarity index 100% rename from buildroot-2021.05/package/snmppp/snmppp.hash rename to buildroot-2022.02.1/package/snmppp/snmppp.hash diff --git a/buildroot-2021.05/package/snmppp/snmppp.mk b/buildroot-2022.02.1/package/snmppp/snmppp.mk similarity index 100% rename from buildroot-2021.05/package/snmppp/snmppp.mk rename to buildroot-2022.02.1/package/snmppp/snmppp.mk diff --git a/buildroot-2021.05/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch b/buildroot-2022.02.1/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch similarity index 100% rename from buildroot-2021.05/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch rename to buildroot-2022.02.1/package/snort/0001-configure.in-Avoid-path-poisoning-with-libpcap.patch diff --git a/buildroot-2021.05/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch b/buildroot-2022.02.1/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch similarity index 100% rename from buildroot-2021.05/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch rename to buildroot-2022.02.1/package/snort/0002-configure.in-Allow-to-override-the-INADDR_NONE-check.patch diff --git a/buildroot-2021.05/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch b/buildroot-2022.02.1/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch similarity index 100% rename from buildroot-2021.05/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch rename to buildroot-2022.02.1/package/snort/0003-configure.in-convert-AC_RUN_IFELSE-to-AC_CHECK_MEMBE.patch diff --git a/buildroot-2021.05/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch b/buildroot-2022.02.1/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch similarity index 100% rename from buildroot-2021.05/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch rename to buildroot-2022.02.1/package/snort/0004-configure.in-convert-AC_RUN_IFELSE-to-AC_COMPILE_IFE.patch diff --git a/buildroot-2021.05/package/snort/0005-fix-sparc.patch b/buildroot-2022.02.1/package/snort/0005-fix-sparc.patch similarity index 100% rename from buildroot-2021.05/package/snort/0005-fix-sparc.patch rename to buildroot-2022.02.1/package/snort/0005-fix-sparc.patch diff --git a/buildroot-2021.05/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch b/buildroot-2022.02.1/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch similarity index 100% rename from buildroot-2021.05/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch rename to buildroot-2022.02.1/package/snort/0006-Fix-compile-error-when-building-against-uclibc-or-mu.patch diff --git a/buildroot-2022.02.1/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch b/buildroot-2022.02.1/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch new file mode 100644 index 00000000..66d4fa28 --- /dev/null +++ b/buildroot-2022.02.1/package/snort/0007-Fix-error-when-building-on-a-Fedora-host-machine.patch @@ -0,0 +1,77 @@ +From eae97632157b73f0ca7c099232617b2777d0fa54 Mon Sep 17 00:00:00 2001 +From: Sergio Prado +Date: Sat, 21 Dec 2019 12:00:42 -0300 +Subject: [PATCH] Fix error when building on a Fedora host machine. + +Remove the code that adds unsafe header/library path when +cross-compiling on a Fedora host machine. + +Signed-off-by: Sergio Prado +[Fabrice: Update for 2.9.18.1 (also fix build on Centos host machine)] +Signed-off-by: Fabrice Fontaine +--- + configure.in | 24 ------------------------ + 1 file changed, 24 deletions(-) + +diff --git a/configure.in b/configure.in +index e6586f399898..fb35d4d7e3e3 100644 +--- a/configure.in ++++ b/configure.in +@@ -957,54 +957,6 @@ if test "x$enable_dlclose" = "xno"; then + AC_DEFINE([DISABLE_DLCLOSE_FOR_VALGRIND_TESTING],[1],[Don't close opened shared objects for valgrind leak testing of dynamic libraries]) + fi + +-################################################## +-# Fedora 28+ does not have inbuilt SunRPC support# +-# in glibc and is separately availble in tirpc # +-# package. Make sure we've got the library and # +-# link it # +-################################################## +- +-if test -f /etc/fedora-release ; then +- DISTRO_VERSION=$(awk '{ print $3 }' /etc/fedora-release) +- if test $DISTRO_VERSION -ge 28 ; then +- TIRPC="" +- AC_CHECK_LIB(tirpc,bindresvport,, TIRPC="no") +- echo "$TIRPC" +- if test "x$TIRPC" = "xno"; then +- echo +- echo " ERROR! tirpc not found, get it by running " +- echo " yum install libtirpc-devel " +- exit +- fi +- LIBS="${LIBS} -ltirpc" +- extra_incl="-I/usr/include/tirpc" +- fi +-fi +- +-################################################## +-# Centos 8+ does not have inbuilt SunRPC support # +-# in glibc and is separately availble in tirpc # +-# package. Make sure we've got the library and # +-# link it # +-################################################## +-if test -f /etc/centos-release ; then +- LINUX_FLAVOUR=$(awk '{ print $1 }' /etc/centos-release) +- DISTRO_VERSION=`cut -d ' ' -f 4 /etc/centos-release | cut -d '.' -f 1` +- if [[ "$LINUX_FLAVOUR" == "CentOS" ]] && [[ $DISTRO_VERSION -ge 8 ]]; then +- TIRPC="" +- AC_CHECK_LIB(tirpc,bindresvport,, TIRPC="no") +- echo "$TIRPC" +- if test "x$TIRPC" = "xno"; then +- echo +- echo " ERROR! tirpc not found, get it by running " +- echo " yum install libtirpc-devel or dnf install libtirpc-devel" +- exit +- fi +- LIBS="${LIBS} -ltirpc" +- extra_incl="-I/usr/include/tirpc" +- fi +-fi +- + Z_LIB="" + AC_CHECK_HEADERS(zlib.h,, Z_LIB="no") + if test "x$Z_LIB" = "xno"; then +-- +2.17.1 + diff --git a/buildroot-2021.05/package/snort/Config.in b/buildroot-2022.02.1/package/snort/Config.in similarity index 100% rename from buildroot-2021.05/package/snort/Config.in rename to buildroot-2022.02.1/package/snort/Config.in diff --git a/buildroot-2022.02.1/package/snort/snort.hash b/buildroot-2022.02.1/package/snort/snort.hash new file mode 100644 index 00000000..ac098564 --- /dev/null +++ b/buildroot-2022.02.1/package/snort/snort.hash @@ -0,0 +1,9 @@ +# From https://www.snort.org/downloads/snort/md5s +md5 b0350425e0c1e9c044c25aa13b47edf8 snort-2.9.19.tar.gz + +# Locally computed: +sha256 b12fc6db72afb58987a2bf1954b8f45bde02047c235513c7663857b9506369c7 snort-2.9.19.tar.gz + +# Hash for license files: +sha256 f98260a6d3e5ef4ede8a2a6b698e5ac91d64c09243f7171e1c5b17b920a835c7 LICENSE +sha256 3f1cbfb20bb2c608e1a474421880d08b8cba6abb00ab7736d22c481d71656a6d COPYING diff --git a/buildroot-2022.02.1/package/snort/snort.mk b/buildroot-2022.02.1/package/snort/snort.mk new file mode 100644 index 00000000..41f45054 --- /dev/null +++ b/buildroot-2022.02.1/package/snort/snort.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# snort +# +################################################################################ + +SNORT_VERSION = 2.9.19 +SNORT_SITE = https://www.snort.org/downloads/snort +SNORT_LICENSE = GPL-2.0 +SNORT_LICENSE_FILES = LICENSE COPYING +SNORT_CPE_ID_VENDOR = snort +SNORT_SELINUX_MODULES = snort + +SNORT_DEPENDENCIES = libpcap libdnet daq pcre zlib host-pkgconf + +# patching configure.in +SNORT_AUTORECONF = YES + +SNORT_CONF_OPTS = \ + --with-libpcre-includes=$(STAGING_DIR)/usr/include \ + --with-libpcre-libraries=$(STAGING_DIR)/usr/lib \ + --with-libpcap-includes=$(STAGING_DIR)/usr/include/pcap \ + --disable-static-daq + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +SNORT_CFLAGS += -O0 +endif + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +SNORT_DEPENDENCIES += libtirpc +SNORT_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags libtirpc` +SNORT_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libtirpc` +endif + +# luajit and openssl should be enabled to build with +# OpenAppID support +ifeq ($(BR2_PACKAGE_LUAJIT)$(BR2_PACKAGE_OPENSSL),yy) +SNORT_DEPENDENCIES += luajit openssl +SNORT_CONF_OPTS += --enable-open-appid +else +SNORT_CONF_OPTS += --disable-open-appid +endif + +SNORT_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) $(SNORT_CFLAGS)" \ + LIBS="$(SNORT_LIBS)" \ + have_inaddr_none=yes + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/snort3/Config.in b/buildroot-2022.02.1/package/snort3/Config.in new file mode 100644 index 00000000..dcc29b82 --- /dev/null +++ b/buildroot-2022.02.1/package/snort3/Config.in @@ -0,0 +1,42 @@ +config BR2_PACKAGE_SNORT3 + bool "snort3" + depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit + depends on !(BR2_PACKAGE_DAQ || BR2_PACKAGE_SNORT) + depends on BR2_USE_MMU # fork() + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS # daq3 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 + depends on BR2_TOOLCHAIN_HAS_THREADS # daq3, hwloc + depends on BR2_USE_WCHAR + select BR2_PACKAGE_DAQ3 + select BR2_PACKAGE_FLEX + select BR2_PACKAGE_HWLOC + select BR2_PACKAGE_LIBDNET + select BR2_PACKAGE_LIBPCAP + select BR2_PACKAGE_LUAJIT + select BR2_PACKAGE_PCRE + select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_ZLIB + help + Snort 3 is the next generation Snort IPS (Intrusion + Prevention System). + + - Support multiple packet processing threads + - Shared configuration and attribute table + - Use a simple, scriptable configuration + - Make key components pluggable + - Autodetect services for portless configuration + - Support sticky buffers in rules + - Autogenerate reference documentation + - Provide better cross platform support + + https://www.snort.org/snort3 + +comment "snort3 needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9" + depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS + depends on !(BR2_PACKAGE_DAQ || BR2_PACKAGE_SNORT) + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 diff --git a/buildroot-2022.02.1/package/snort3/snort3.hash b/buildroot-2022.02.1/package/snort3/snort3.hash new file mode 100644 index 00000000..0ba4505a --- /dev/null +++ b/buildroot-2022.02.1/package/snort3/snort3.hash @@ -0,0 +1,6 @@ +# Locally computed: +sha256 6e45c16b1815d832b5d6edcd2b705e7838e25c76bfd54b3e86c55ecba6de420a snort3-3.1.18.0.tar.gz + +# Hash for license files: +sha256 3f1cbfb20bb2c608e1a474421880d08b8cba6abb00ab7736d22c481d71656a6d COPYING +sha256 f98260a6d3e5ef4ede8a2a6b698e5ac91d64c09243f7171e1c5b17b920a835c7 LICENSE diff --git a/buildroot-2022.02.1/package/snort3/snort3.mk b/buildroot-2022.02.1/package/snort3/snort3.mk new file mode 100644 index 00000000..6f15ce3c --- /dev/null +++ b/buildroot-2022.02.1/package/snort3/snort3.mk @@ -0,0 +1,62 @@ +################################################################################ +# +# snort3 +# +################################################################################ + +SNORT3_VERSION = 3.1.18.0 +SNORT3_SITE = $(call github,snort3,snort3,$(SNORT3_VERSION)) +SNORT3_LICENSE = GPL-2.0 +SNORT3_LICENSE_FILES = COPYING LICENSE + +SNORT3_DEPENDENCIES = \ + host-pkgconf daq3 flex hwloc libdnet libpcap luajit openssl pcre zlib + +SNORT3_CONF_OPTS = \ + -DENABLE_GDB=OFF \ + -DENABLE_STATIC_DAQ=OFF \ + -DMAKE_DOC=OFF + +ifeq ($(BR2_PACKAGE_FLATBUFFERS),y) +SNORT3_DEPENDENCIES += flatbuffers +SNORT3_CONF_OPTS += -DHAVE_FLATBUFFERS=ON +else +SNORT3_CONF_OPTS += -DHAVE_FLATBUFFERS=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +SNORT3_DEPENDENCIES += libiconv +SNORT3_CONF_OPTS += -DHAVE_ICONV=ON +endif + +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +SNORT3_DEPENDENCIES += libtirpc +endif + +ifeq ($(BR2_PACKAGE_SAFECLIB),y) +SNORT3_DEPENDENCIES += safeclib +SNORT3_CONF_OPTS += -DENABLE_SAFEC=ON +else +SNORT3_CONF_OPTS += -DENABLE_SAFEC=OFF +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +SNORT3_DEPENDENCIES += util-linux +SNORT3_CONF_OPTS += -DHAVE_UUID=ON +else +SNORT3_CONF_OPTS += -DHAVE_UUID=OFF +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +SNORT3_DEPENDENCIES += xz +SNORT3_CONF_OPTS += -DHAVE_LZMA=ON +else +SNORT3_CONF_OPTS += -DHAVE_LZMA=OFF +endif + +# Uses __atomic_load_8 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +SNORT3_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/socat/0001-no-documentation.patch b/buildroot-2022.02.1/package/socat/0001-no-documentation.patch similarity index 100% rename from buildroot-2021.05/package/socat/0001-no-documentation.patch rename to buildroot-2022.02.1/package/socat/0001-no-documentation.patch diff --git a/buildroot-2021.05/package/socat/0002-compat-set-NETDB_INTERNAL.patch b/buildroot-2022.02.1/package/socat/0002-compat-set-NETDB_INTERNAL.patch similarity index 100% rename from buildroot-2021.05/package/socat/0002-compat-set-NETDB_INTERNAL.patch rename to buildroot-2022.02.1/package/socat/0002-compat-set-NETDB_INTERNAL.patch diff --git a/buildroot-2022.02.1/package/socat/0003-configure.ac-correct-the-getprotobynumber_r-test.patch b/buildroot-2022.02.1/package/socat/0003-configure.ac-correct-the-getprotobynumber_r-test.patch new file mode 100644 index 00000000..de954055 --- /dev/null +++ b/buildroot-2022.02.1/package/socat/0003-configure.ac-correct-the-getprotobynumber_r-test.patch @@ -0,0 +1,43 @@ +From d56a11beb9b181fd91a70a6d703dfbdfe887122a Mon Sep 17 00:00:00 2001 +From: Baruch Siach +Date: Thu, 13 Jan 2022 17:56:10 +0200 +Subject: [PATCH] configure.ac: correct the getprotobynumber_r test + +The AC_TRY_COMPILE test succeeds even when libc does not provide the +tested symbol. The compiler produces a warning, but exits successfully. +Use AC_TRY_LINK that will only succeeds if libc provides the symbol. + +This fixes build with musl libc that does not support +getprotobynumber_r(). + +Signed-off-by: Baruch Siach +--- +Upstream status: sent to socat@dest-unreach.org + + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index d4acc9e7e6f5..973a7f2218c9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -137,13 +137,13 @@ AC_MSG_RESULT($sc_cv_have_prototype_hstrerror) + # getprotobynumber_r() is not standardized + AC_MSG_CHECKING(for getprotobynumber_r() variant) + AC_CACHE_VAL(sc_cv_getprotobynumber_r, +-[AC_TRY_COMPILE([#include ++[AC_TRY_LINK([#include + #include ],[getprotobynumber_r(1,NULL,NULL,1024,NULL);], + [sc_cv_getprotobynumber_r=1; tmp_bynum_variant=Linux], +- [AC_TRY_COMPILE([#include ++ [AC_TRY_LINK([#include + #include ],[getprotobynumber_r(1,NULL,NULL,1024);], + [sc_cv_getprotobynumber_r=2; tmp_bynum_variant=Solaris], +- [AC_TRY_COMPILE([#include ++ [AC_TRY_LINK([#include + #include ],[getprotobynumber_r(1,NULL,NULL);], + [sc_cv_getprotobynumber_r=3; tmp_bynum_variant=AIX], + +-- +2.34.1 + diff --git a/buildroot-2021.05/package/socat/Config.in b/buildroot-2022.02.1/package/socat/Config.in similarity index 100% rename from buildroot-2021.05/package/socat/Config.in rename to buildroot-2022.02.1/package/socat/Config.in diff --git a/buildroot-2022.02.1/package/socat/socat.hash b/buildroot-2022.02.1/package/socat/socat.hash new file mode 100644 index 00000000..4f7ff532 --- /dev/null +++ b/buildroot-2022.02.1/package/socat/socat.hash @@ -0,0 +1,8 @@ +# From http://www.dest-unreach.org/socat/download.md5sum +md5 5c28dd258ba928326d0716fcb4895cc2 socat-1.7.4.3.tar.bz2 +# From http://www.dest-unreach.org/socat/download.sha256sum +sha256 d47318104415077635119dfee44bcfb41de3497374a9a001b1aff6e2f0858007 socat-1.7.4.3.tar.bz2 +# Locally calculated +sha256 432aebfec164bedcaada7cdf2849e1f003fa00a91a0a1ed34d7cf4abe980f5fb README +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 fd9e48ca316a5032069b9521f4f4b4d9b1c60365012bae1e62286bcd5bd2e761 COPYING.OpenSSL diff --git a/buildroot-2022.02.1/package/socat/socat.mk b/buildroot-2022.02.1/package/socat/socat.mk new file mode 100644 index 00000000..e2057749 --- /dev/null +++ b/buildroot-2022.02.1/package/socat/socat.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# socat +# +################################################################################ + +SOCAT_VERSION = 1.7.4.3 +SOCAT_SOURCE = socat-$(SOCAT_VERSION).tar.bz2 +SOCAT_SITE = http://www.dest-unreach.org/socat/download +SOCAT_LICENSE = GPL-2.0 with OpenSSL exception +SOCAT_LICENSE_FILES = README COPYING COPYING.OpenSSL +SOCAT_CPE_ID_VENDOR = dest-unreach + +ifeq ($(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le),y) +SOCAT_CONF_ENV += \ + sc_cv_sys_crdly_shift=12 \ + sc_cv_sys_tabdly_shift=10 \ + sc_cv_sys_csize_shift=8 +else +SOCAT_CONF_ENV += \ + sc_cv_sys_crdly_shift=9 \ + sc_cv_sys_tabdly_shift=11 \ + sc_cv_sys_csize_shift=4 +endif + +# We need to run autoconf to regenerate the configure script, since we patch +# Makefile.in. However, the package only uses autoconf and not +# automake, so we can't use the normal autoreconf logic. + +SOCAT_DEPENDENCIES = host-autoconf +# incompatibile license (GPL-3.0+) +SOCAT_CONF_OPTS = --disable-readline + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SOCAT_DEPENDENCIES += openssl +else +SOCAT_CONF_OPTS += --disable-openssl +endif + +define SOCAT_RUN_AUTOCONF + (cd $(@D); $(AUTOCONF)) +endef + +SOCAT_PRE_CONFIGURE_HOOKS += SOCAT_RUN_AUTOCONF + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/socketcand/0001-Fix-GCC10-build-failure.patch b/buildroot-2022.02.1/package/socketcand/0001-Fix-GCC10-build-failure.patch similarity index 100% rename from buildroot-2021.05/package/socketcand/0001-Fix-GCC10-build-failure.patch rename to buildroot-2022.02.1/package/socketcand/0001-Fix-GCC10-build-failure.patch diff --git a/buildroot-2021.05/package/socketcand/Config.in b/buildroot-2022.02.1/package/socketcand/Config.in similarity index 100% rename from buildroot-2021.05/package/socketcand/Config.in rename to buildroot-2022.02.1/package/socketcand/Config.in diff --git a/buildroot-2021.05/package/socketcand/socketcand.hash b/buildroot-2022.02.1/package/socketcand/socketcand.hash similarity index 100% rename from buildroot-2021.05/package/socketcand/socketcand.hash rename to buildroot-2022.02.1/package/socketcand/socketcand.hash diff --git a/buildroot-2022.02.1/package/socketcand/socketcand.mk b/buildroot-2022.02.1/package/socketcand/socketcand.mk new file mode 100644 index 00000000..1755d3ae --- /dev/null +++ b/buildroot-2022.02.1/package/socketcand/socketcand.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# socketcand +# +################################################################################ + +SOCKETCAND_VERSION = 69e2201222f015a1abe7a58ecf61325012cd91b1 +SOCKETCAND_SITE = $(call github,linux-can,socketcand,$(SOCKETCAND_VERSION)) +SOCKETCAND_AUTORECONF = YES +SOCKETCAND_LICENSE = BSD-3-Clause or GPL-2.0 +SOCKETCAND_LICENSE_FILES = socketcand.c + +ifeq ($(BR2_PACKAGE_LIBCONFIG),y) +SOCKETCAND_DEPENDENCIES += libconfig +else +SOCKETCAND_CONF_OPTS += --without-config +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sofia-sip/Config.in b/buildroot-2022.02.1/package/sofia-sip/Config.in similarity index 100% rename from buildroot-2021.05/package/sofia-sip/Config.in rename to buildroot-2022.02.1/package/sofia-sip/Config.in diff --git a/buildroot-2022.02.1/package/sofia-sip/sofia-sip.hash b/buildroot-2022.02.1/package/sofia-sip/sofia-sip.hash new file mode 100644 index 00000000..6f6ff6d0 --- /dev/null +++ b/buildroot-2022.02.1/package/sofia-sip/sofia-sip.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 d39a3287038f1c9a747c1abc94a1379a726a9dfaf969285f955141883f7b810f sofia-sip-1.13.6-4152840260.tar.gz +sha256 e1c0890440efe31b6cd2ee2abf895eb917c787799f079133f5809414d90d5d60 COPYING +sha256 b402ae58cf355b33be8fa023f704a039e3d41ecaccd2bbcda43ca31d703e4556 COPYRIGHTS diff --git a/buildroot-2022.02.1/package/sofia-sip/sofia-sip.mk b/buildroot-2022.02.1/package/sofia-sip/sofia-sip.mk new file mode 100644 index 00000000..2bac4805 --- /dev/null +++ b/buildroot-2022.02.1/package/sofia-sip/sofia-sip.mk @@ -0,0 +1,33 @@ +################################################################################ +# +# sofia-sip +# +################################################################################ + +SOFIA_SIP_VERSION = 1.13.6-4152840260 +SOFIA_SIP_SITE = https://files.freeswitch.org/downloads/libs/sofia-sip +SOFIA_SIP_INSTALL_STAGING = YES +SOFIA_SIP_DEPENDENCIES = host-pkgconf +SOFIA_SIP_LICENSE = LGPL-2.1+ +SOFIA_SIP_LICENSE_FILES = COPYING COPYRIGHTS +SOFIA_SIP_CONF_OPTS = --with-doxygen=no + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +SOFIA_SIP_CONF_OPTS += --with-glib +SOFIA_SIP_DEPENDENCIES += libglib2 +else +SOFIA_SIP_CONF_OPTS += --without-glib +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SOFIA_SIP_CONF_OPTS += \ + --enable-nth \ + --with-openssl=pkg-config +SOFIA_SIP_DEPENDENCIES += openssl +else +SOFIA_SIP_CONF_OPTS += \ + --disable-nth \ + --without-openssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/softether/0001-Create-autotools-plumbing-for-SoftEther.patch b/buildroot-2022.02.1/package/softether/0001-Create-autotools-plumbing-for-SoftEther.patch similarity index 100% rename from buildroot-2021.05/package/softether/0001-Create-autotools-plumbing-for-SoftEther.patch rename to buildroot-2022.02.1/package/softether/0001-Create-autotools-plumbing-for-SoftEther.patch diff --git a/buildroot-2021.05/package/softether/0002-Create-libsoftether.so-and-dynamically-link.patch b/buildroot-2022.02.1/package/softether/0002-Create-libsoftether.so-and-dynamically-link.patch similarity index 100% rename from buildroot-2021.05/package/softether/0002-Create-libsoftether.so-and-dynamically-link.patch rename to buildroot-2022.02.1/package/softether/0002-Create-libsoftether.so-and-dynamically-link.patch diff --git a/buildroot-2021.05/package/softether/0003-use-fhs-install-directories.patch b/buildroot-2022.02.1/package/softether/0003-use-fhs-install-directories.patch similarity index 100% rename from buildroot-2021.05/package/softether/0003-use-fhs-install-directories.patch rename to buildroot-2022.02.1/package/softether/0003-use-fhs-install-directories.patch diff --git a/buildroot-2021.05/package/softether/0004-create-non-forking-softetherd-for-upstart-and-systemd.patch b/buildroot-2022.02.1/package/softether/0004-create-non-forking-softetherd-for-upstart-and-systemd.patch similarity index 100% rename from buildroot-2021.05/package/softether/0004-create-non-forking-softetherd-for-upstart-and-systemd.patch rename to buildroot-2022.02.1/package/softether/0004-create-non-forking-softetherd-for-upstart-and-systemd.patch diff --git a/buildroot-2021.05/package/softether/0005-change-GetExeDir-to-GetStateDir-in-Cedar-and-Mayaqua.patch b/buildroot-2022.02.1/package/softether/0005-change-GetExeDir-to-GetStateDir-in-Cedar-and-Mayaqua.patch similarity index 100% rename from buildroot-2021.05/package/softether/0005-change-GetExeDir-to-GetStateDir-in-Cedar-and-Mayaqua.patch rename to buildroot-2022.02.1/package/softether/0005-change-GetExeDir-to-GetStateDir-in-Cedar-and-Mayaqua.patch diff --git a/buildroot-2021.05/package/softether/0006-cross-compile.patch b/buildroot-2022.02.1/package/softether/0006-cross-compile.patch similarity index 100% rename from buildroot-2021.05/package/softether/0006-cross-compile.patch rename to buildroot-2022.02.1/package/softether/0006-cross-compile.patch diff --git a/buildroot-2021.05/package/softether/0007-iconv.patch b/buildroot-2022.02.1/package/softether/0007-iconv.patch similarity index 100% rename from buildroot-2021.05/package/softether/0007-iconv.patch rename to buildroot-2022.02.1/package/softether/0007-iconv.patch diff --git a/buildroot-2021.05/package/softether/0008-librt.patch b/buildroot-2022.02.1/package/softether/0008-librt.patch similarity index 100% rename from buildroot-2021.05/package/softether/0008-librt.patch rename to buildroot-2022.02.1/package/softether/0008-librt.patch diff --git a/buildroot-2021.05/package/softether/0009-uclibc-ai-addrconfig.patch b/buildroot-2022.02.1/package/softether/0009-uclibc-ai-addrconfig.patch similarity index 100% rename from buildroot-2021.05/package/softether/0009-uclibc-ai-addrconfig.patch rename to buildroot-2022.02.1/package/softether/0009-uclibc-ai-addrconfig.patch diff --git a/buildroot-2022.02.1/package/softether/Config.in b/buildroot-2022.02.1/package/softether/Config.in new file mode 100644 index 00000000..f8933cdc --- /dev/null +++ b/buildroot-2022.02.1/package/softether/Config.in @@ -0,0 +1,33 @@ +config BR2_PACKAGE_SOFTETHER + bool "softether" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + depends on BR2_USE_WCHAR + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 + select BR2_PACKAGE_READLINE + help + The SoftEther Server is a fully integrated implementation of + the SSTP, L2TP, L2TPv3, OpenVPN, and IPSec virtual private + networking protocols on Linux and several other + platforms. It is generally compatible with other + implementations by Apple, Cisco, Juniper, Microsoft, et al. + + Convenient Layer-2 and Layer-3 bridging capabilities can + connect several branch offices into a single broadcast or + routing domain, even behind a NAT or without a static IPv4 + address. + + In addition to supporting most VPN protocols, the SoftEther + Client can penetrate hardened firewalls and captured + gateways through HTTPS, DNS, and ICMP exfiltration. + + http://www.softether.org + +comment "softether needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS) diff --git a/buildroot-2021.05/package/softether/softether.hash b/buildroot-2022.02.1/package/softether/softether.hash similarity index 100% rename from buildroot-2021.05/package/softether/softether.hash rename to buildroot-2022.02.1/package/softether/softether.hash diff --git a/buildroot-2021.05/package/softether/softether.mk b/buildroot-2022.02.1/package/softether/softether.mk similarity index 100% rename from buildroot-2021.05/package/softether/softether.mk rename to buildroot-2022.02.1/package/softether/softether.mk diff --git a/buildroot-2022.02.1/package/softhsm2/Config.in b/buildroot-2022.02.1/package/softhsm2/Config.in new file mode 100644 index 00000000..78fccc95 --- /dev/null +++ b/buildroot-2022.02.1/package/softhsm2/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_SOFTHSM2 + bool "softhsm2" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS # dlopen() + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES + help + SoftHSM is an implementation of a cryptographic store + accessible through a PKCS#11 interface. You can use it + to explore PKCS#11 without having a Hardware Security + Module. + + https://www.opendnssec.org/softhsm + +comment "softhsm2 needs a toolchain w/ C++, threads, gcc >= 4.8 and dynamic library support" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 diff --git a/buildroot-2022.02.1/package/softhsm2/softhsm2.hash b/buildroot-2022.02.1/package/softhsm2/softhsm2.hash new file mode 100644 index 00000000..f59f0bf0 --- /dev/null +++ b/buildroot-2022.02.1/package/softhsm2/softhsm2.hash @@ -0,0 +1,4 @@ +# From https://www.opendnssec.org/2020/04/1602/ +sha256 61249473054bcd1811519ef9a989a880a7bdcc36d317c9c25457fc614df475f2 softhsm-2.6.1.tar.gz +# Locally computed +sha256 230cab7102816e99f7ce03ef476352fcad09d742fcbc6580d44393db6280b64c LICENSE diff --git a/buildroot-2022.02.1/package/softhsm2/softhsm2.mk b/buildroot-2022.02.1/package/softhsm2/softhsm2.mk new file mode 100644 index 00000000..5e37e42d --- /dev/null +++ b/buildroot-2022.02.1/package/softhsm2/softhsm2.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# softhsm2 +# +################################################################################ + +SOFTHSM2_VERSION = 2.6.1 +SOFTHSM2_SOURCE = softhsm-$(SOFTHSM2_VERSION).tar.gz +SOFTHSM2_SITE = https://dist.opendnssec.org/source +SOFTHSM2_LICENSE = BSD-2-Clause +SOFTHSM2_LICENSE_FILES = LICENSE +SOFTHSM2_DEPENDENCIES = openssl +SOFTHSM2_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_P11_KIT),y) +SOFTHSM2_CONF_OPTS += \ + --enable-p11-kit \ + --with-p11-kit=/usr/share/p11-kit/modules +SOFTHSM2_DEPENDENCIES += p11-kit +else +SOFTHSM2_CONF_OPTS += --disable-p11-kit +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/solarus/0001-cmake-remove-Werror.patch b/buildroot-2022.02.1/package/solarus/0001-cmake-remove-Werror.patch similarity index 100% rename from buildroot-2021.05/package/solarus/0001-cmake-remove-Werror.patch rename to buildroot-2022.02.1/package/solarus/0001-cmake-remove-Werror.patch diff --git a/buildroot-2022.02.1/package/solarus/0002-Add-a-basic-FindOpenGLES2.cmake.patch b/buildroot-2022.02.1/package/solarus/0002-Add-a-basic-FindOpenGLES2.cmake.patch new file mode 100644 index 00000000..59bf9e8c --- /dev/null +++ b/buildroot-2022.02.1/package/solarus/0002-Add-a-basic-FindOpenGLES2.cmake.patch @@ -0,0 +1,48 @@ +From 2bf0e98f17d92fd86ee61be179e3cebe93f75ea7 Mon Sep 17 00:00:00 2001 +From: Gleb Mazovetskiy +Date: Sun, 3 Jan 2021 12:38:13 +0000 +Subject: [PATCH] Add a basic FindOpenGLES2.cmake + +Fixes #1324 +--- + cmake/modules/FindOpenGLES2.cmake | 28 ++++++++++++++++++++++++++++ + 1 file changed, 28 insertions(+) + create mode 100644 cmake/modules/FindOpenGLES2.cmake + +diff --git a/cmake/modules/FindOpenGLES2.cmake b/cmake/modules/FindOpenGLES2.cmake +new file mode 100644 +index 000000000..70fd5e6f0 +--- /dev/null ++++ b/cmake/modules/FindOpenGLES2.cmake +@@ -0,0 +1,28 @@ ++# Try to find OpenGLES2. Once done this will define: ++# OPENGLES2_FOUND ++# OPENGLES2_INCLUDE_DIRS ++# OPENGLES2_LIBRARIES ++# OPENGLES2_DEFINITIONS ++ ++find_package(PkgConfig QUIET) ++ ++pkg_check_modules(PC_OPENGLES2 glesv2) ++ ++if (PC_OPENGLES2_FOUND) ++ set(OPENGLES2_DEFINITIONS ${PC_OPENGLES2_CFLAGS_OTHER}) ++endif () ++ ++find_path(OPENGLES2_INCLUDE_DIRS NAMES GLES2/gl2.h ++ HINTS ${PC_OPENGLES2_INCLUDEDIR} ${PC_OPENGLES2_INCLUDE_DIRS} ++) ++ ++set(OPENGLES2_NAMES ${OPENGLES2_NAMES} glesv2 GLESv2) ++find_library(OPENGLES2_LIBRARIES NAMES ${OPENGLES2_NAMES} ++ HINTS ${PC_OPENGLES2_LIBDIR} ${PC_OPENGLES2_LIBRARY_DIRS} ++) ++ ++include(FindPackageHandleStandardArgs) ++find_package_handle_standard_args(OpenGLES2 REQUIRED_VARS OPENGLES2_INCLUDE_DIRS OPENGLES2_LIBRARIES ++ FOUND_VAR OPENGLES2_FOUND) ++ ++mark_as_advanced(OPENGLES2_INCLUDE_DIRS OPENGLES2_LIBRARIES) +-- +2.27.0 + diff --git a/buildroot-2022.02.1/package/solarus/Config.in b/buildroot-2022.02.1/package/solarus/Config.in new file mode 100644 index 00000000..bcfa6408 --- /dev/null +++ b/buildroot-2022.02.1/package/solarus/Config.in @@ -0,0 +1,33 @@ +config BR2_PACKAGE_SOLARUS + bool "solarus" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # openal + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal + depends on !BR2_STATIC_LIBS # SDL2 + depends on BR2_PACKAGE_HAS_LIBGL || BR2_PACKAGE_HAS_LIBGLES + select BR2_PACKAGE_GLM + select BR2_PACKAGE_LIBMODPLUG + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_LIBPNG # runtime + select BR2_PACKAGE_LIBVORBIS + select BR2_PACKAGE_OPENAL + select BR2_PACKAGE_PHYSFS + select BR2_PACKAGE_SDL2 + select BR2_PACKAGE_SDL2_IMAGE + select BR2_PACKAGE_SDL2_TTF + help + Solarus is an open-source Zelda-like 2D game engine written + in C++. It can run games scripted in Lua. This engine is used + by our Zelda fangames. Solarus is licensed under GPL v3. + + http://www.solarus-games.org + https://github.com/solarus-games/solarus + +comment "solarus needs OpenGL and a toolchain w/ C++, gcc >= 4.9, NPTL, dynamic library, and luajit or lua 5.1" + depends on !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ + || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS \ + || !BR2_PACKAGE_HAS_LIBGL diff --git a/buildroot-2021.05/package/solarus/solarus.hash b/buildroot-2022.02.1/package/solarus/solarus.hash similarity index 100% rename from buildroot-2021.05/package/solarus/solarus.hash rename to buildroot-2022.02.1/package/solarus/solarus.hash diff --git a/buildroot-2022.02.1/package/solarus/solarus.mk b/buildroot-2022.02.1/package/solarus/solarus.mk new file mode 100644 index 00000000..07d9af52 --- /dev/null +++ b/buildroot-2022.02.1/package/solarus/solarus.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# solarus +# +################################################################################ + +SOLARUS_VERSION = 1.6.5 +SOLARUS_SITE = \ + https://gitlab.com/solarus-games/solarus/-/archive/v$(SOLARUS_VERSION) +SOLARUS_SOURCE = solarus-v$(SOLARUS_VERSION).tar.bz2 + +SOLARUS_LICENSE = GPL-3.0 (code), CC-BY-SA-4.0 (Solarus logos and icons), \ + CC-BY-SA-3.0 (GUI icons) +SOLARUS_LICENSE_FILES = license.txt + +# Install libsolarus.so +SOLARUS_INSTALL_STAGING = YES + +SOLARUS_DEPENDENCIES = glm libmodplug libogg libvorbis openal physfs \ + sdl2 sdl2_image sdl2_ttf + +# Disable launcher GUI (requires Qt5) +SOLARUS_CONF_OPTS = \ + -DSOLARUS_GUI=OFF \ + -DSOLARUS_TESTS=OFF + +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +SOLARUS_DEPENDENCIES += libgl +else +SOLARUS_CONF_OPTS += -DSOLARUS_GL_ES=ON +SOLARUS_DEPENDENCIES += libgles +endif + +ifeq ($(BR2_PACKAGE_LUAJIT),y) +SOLARUS_CONF_OPTS += -DSOLARUS_USE_LUAJIT=ON +SOLARUS_DEPENDENCIES += luajit +else +SOLARUS_CONF_OPTS += -DSOLARUS_USE_LUAJIT=OFF +SOLARUS_DEPENDENCIES += lua +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/sord/0001-wscript-add-no-threads-option.patch b/buildroot-2022.02.1/package/sord/0001-wscript-add-no-threads-option.patch new file mode 100644 index 00000000..750ea8f4 --- /dev/null +++ b/buildroot-2022.02.1/package/sord/0001-wscript-add-no-threads-option.patch @@ -0,0 +1,59 @@ +From 82ab045a45c06187dca5e9d2a9a4003fcfbfa830 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 22 Feb 2022 21:22:31 +0100 +Subject: [PATCH] wscript: add -no-threads option + +Add -no-threads options to avoid the following build failure on embedded +toolchains without threads support: + +/home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabihf/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld: cannot find -lpthread + +Fixes: + - http://autobuild.buildroot.org/results/170d0114987b39a2b9ea173df7a5e806bd270fd8 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/drobilla/sord/pull/3] +--- + wscript | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/wscript b/wscript +index fd8578e..d71d78c 100644 +--- a/wscript ++++ b/wscript +@@ -35,6 +35,7 @@ def options(ctx): + {'no-utils': 'do not build command line utilities', + 'static': 'build static library', + 'no-shared': 'do not build shared library', ++ 'no-threads': 'disable threads', + 'static-progs': 'build programs as static binaries'}) + + opt.add_option('--dump', type='string', default='', dest='dump', +@@ -55,6 +56,7 @@ def configure(conf): + + conf.env.BUILD_UTILS = not Options.options.no_utils + conf.env.BUILD_SHARED = not Options.options.no_shared ++ conf.env.ENABLE_THREADS = not Options.options.no_threads + conf.env.STATIC_PROGS = Options.options.static_progs + conf.env.BUILD_STATIC = (Options.options.static or + Options.options.static_progs) +@@ -124,7 +126,7 @@ def configure(conf): + conf.check_pkg('serd-0 >= 0.30.0', uselib_store='SERD') + conf.check_pkg('libpcre', uselib_store='PCRE', mandatory=False) + +- if conf.env.HAVE_PCRE: ++ if conf.env.HAVE_PCRE and conf.env.ENABLE_THREADS: + if conf.check(cflags=['-pthread'], mandatory=False): + conf.env.PTHREAD_CFLAGS = ['-pthread'] + if conf.env.CC_NAME != 'clang': +@@ -160,6 +162,7 @@ def configure(conf): + conf, + {'Static library': bool(conf.env.BUILD_STATIC), + 'Shared library': bool(conf.env.BUILD_SHARED), ++ 'Threads': bool(conf.env.ENABLE_THREADS), + 'Utilities': bool(conf.env.BUILD_UTILS), + 'Unit tests': bool(conf.env.BUILD_TESTS), + 'Debug dumping': dump}) +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/sord/Config.in b/buildroot-2022.02.1/package/sord/Config.in new file mode 100644 index 00000000..91dfb41d --- /dev/null +++ b/buildroot-2022.02.1/package/sord/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_SORD + bool "sord" + select BR2_PACKAGE_SERD + help + Sord is a lightweight C library for storing RDF data in + memory. + + https://drobilla.net/software/sord.html diff --git a/buildroot-2022.02.1/package/sord/sord.hash b/buildroot-2022.02.1/package/sord/sord.hash new file mode 100644 index 00000000..af175f91 --- /dev/null +++ b/buildroot-2022.02.1/package/sord/sord.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking signature +# https://download.drobilla.net/sord-0.16.8.tar.bz2.asc +sha256 7c289d2eaabf82fa6ac219107ce632d704672dcfb966e1a7ff0bbc4ce93f5e14 sord-0.16.8.tar.bz2 +sha256 e06562d6bcf0341b2ac2ad0f0ca36801d2ebf388d5ef297011625e4c36e963f0 COPYING diff --git a/buildroot-2022.02.1/package/sord/sord.mk b/buildroot-2022.02.1/package/sord/sord.mk new file mode 100644 index 00000000..c06ef9c5 --- /dev/null +++ b/buildroot-2022.02.1/package/sord/sord.mk @@ -0,0 +1,29 @@ +################################################################################ +# +# sord +# +################################################################################ + +SORD_VERSION = 0.16.8 +SORD_SITE = https://download.drobilla.net +SORD_SOURCE = sord-$(SORD_VERSION).tar.bz2 +SORD_LICENSE = ISC +SORD_LICENSE_FILES = COPYING +SORD_DEPENDENCIES = host-pkgconf serd +SORD_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_PCRE),y) +SORD_DEPENDENCIES += pcre +endif + +SORD_CONF_OPTS += --no-coverage + +ifeq ($(BR2_STATIC_LIBS),y) +SORD_CONF_OPTS += --static --no-shared --static-progs +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),) +SORD_CONF_OPTS += --no-threads +endif + +$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/sound-theme-borealis/Config.in b/buildroot-2022.02.1/package/sound-theme-borealis/Config.in similarity index 100% rename from buildroot-2021.05/package/sound-theme-borealis/Config.in rename to buildroot-2022.02.1/package/sound-theme-borealis/Config.in diff --git a/buildroot-2021.05/package/sound-theme-borealis/sound-theme-borealis.hash b/buildroot-2022.02.1/package/sound-theme-borealis/sound-theme-borealis.hash similarity index 100% rename from buildroot-2021.05/package/sound-theme-borealis/sound-theme-borealis.hash rename to buildroot-2022.02.1/package/sound-theme-borealis/sound-theme-borealis.hash diff --git a/buildroot-2021.05/package/sound-theme-borealis/sound-theme-borealis.mk b/buildroot-2022.02.1/package/sound-theme-borealis/sound-theme-borealis.mk similarity index 100% rename from buildroot-2021.05/package/sound-theme-borealis/sound-theme-borealis.mk rename to buildroot-2022.02.1/package/sound-theme-borealis/sound-theme-borealis.mk diff --git a/buildroot-2021.05/package/sound-theme-freedesktop/Config.in b/buildroot-2022.02.1/package/sound-theme-freedesktop/Config.in similarity index 100% rename from buildroot-2021.05/package/sound-theme-freedesktop/Config.in rename to buildroot-2022.02.1/package/sound-theme-freedesktop/Config.in diff --git a/buildroot-2021.05/package/sound-theme-freedesktop/sound-theme-freedesktop.hash b/buildroot-2022.02.1/package/sound-theme-freedesktop/sound-theme-freedesktop.hash similarity index 100% rename from buildroot-2021.05/package/sound-theme-freedesktop/sound-theme-freedesktop.hash rename to buildroot-2022.02.1/package/sound-theme-freedesktop/sound-theme-freedesktop.hash diff --git a/buildroot-2021.05/package/sound-theme-freedesktop/sound-theme-freedesktop.mk b/buildroot-2022.02.1/package/sound-theme-freedesktop/sound-theme-freedesktop.mk similarity index 100% rename from buildroot-2021.05/package/sound-theme-freedesktop/sound-theme-freedesktop.mk rename to buildroot-2022.02.1/package/sound-theme-freedesktop/sound-theme-freedesktop.mk diff --git a/buildroot-2021.05/package/sox/0001-uclibc.patch b/buildroot-2022.02.1/package/sox/0001-uclibc.patch similarity index 100% rename from buildroot-2021.05/package/sox/0001-uclibc.patch rename to buildroot-2022.02.1/package/sox/0001-uclibc.patch diff --git a/buildroot-2021.05/package/sox/0002-configure.ac-put-back-disable-stack-protector.patch b/buildroot-2022.02.1/package/sox/0002-configure.ac-put-back-disable-stack-protector.patch similarity index 100% rename from buildroot-2021.05/package/sox/0002-configure.ac-put-back-disable-stack-protector.patch rename to buildroot-2022.02.1/package/sox/0002-configure.ac-put-back-disable-stack-protector.patch diff --git a/buildroot-2021.05/package/sox/0003-configure.ac-fix-static-linking-with-id3tag.patch b/buildroot-2022.02.1/package/sox/0003-configure.ac-fix-static-linking-with-id3tag.patch similarity index 100% rename from buildroot-2021.05/package/sox/0003-configure.ac-fix-static-linking-with-id3tag.patch rename to buildroot-2022.02.1/package/sox/0003-configure.ac-fix-static-linking-with-id3tag.patch diff --git a/buildroot-2021.05/package/sox/0004-configure.ac-fix-static-linking-with-magic.patch b/buildroot-2022.02.1/package/sox/0004-configure.ac-fix-static-linking-with-magic.patch similarity index 100% rename from buildroot-2021.05/package/sox/0004-configure.ac-fix-static-linking-with-magic.patch rename to buildroot-2022.02.1/package/sox/0004-configure.ac-fix-static-linking-with-magic.patch diff --git a/buildroot-2022.02.1/package/sox/0005-configure.ac-fix-static-linking-with-sndfile.patch b/buildroot-2022.02.1/package/sox/0005-configure.ac-fix-static-linking-with-sndfile.patch new file mode 100644 index 00000000..22334593 --- /dev/null +++ b/buildroot-2022.02.1/package/sox/0005-configure.ac-fix-static-linking-with-sndfile.patch @@ -0,0 +1,44 @@ +From 06109c84ab6930265287049c4bf9405e7ebc4986 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 4 Aug 2021 10:27:16 +0200 +Subject: [PATCH] configure.ac: fix static linking with sndfile + +Use SOX_FMT_PKG to retrieve sndfile dependencies (e.g. flac, opus or +vorbis). This will fix the following static build failure: + +configure:14720: checking for sf_open_virtual in -lsndfile +configure:14745: /tmp/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0 -static -Wall -Wmissing-prototypes -Wstrict-prototypes -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -static -Wl,--as-needed conftest.c -lsndfile >&5 +conftest.c:73:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 73 | char sf_open_virtual (); + | ^~~~ +conftest.c:75:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 75 | main () + | ^~~~ +/tmp/instance-1/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /tmp/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libsndfile.a(libsndfile_la-flac.o): in function `flac_byterate': +flac.c:(.text+0xfc): undefined reference to `FLAC__StreamDecoderErrorStatusString' + +Fixes: + - http://autobuild.buildroot.org/results/4bc58ed68b29642876bb02710d0cd4f31540de86 + +Signed-off-by: Fabrice Fontaine +[Upstream status: not sent yet (waiting for feedback on third patch)] +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 8ae3202c..26510769 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -117,7 +117,7 @@ SOX_FMT_REQ([mp3], [MAD LAME TWOLAME]) + SOX_FMT_PKG([oggvorbis], [ogg vorbis vorbisenc vorbisfile]) + SOX_FMT_PKG([opus], [opusfile]) + +-SOX_DL_LIB([libsndfile], [sndfile.h], [sndfile], [sf_open_virtual]) ++SOX_FMT_PKG([libsndfile], [sndfile]) + SOX_FMT_REQ([sndfile], [LIBSNDFILE]) + + SOX_FMT_LIB([wavpack], [wavpack/wavpack.h], [wavpack], [WavpackGetSampleRate]) +-- +2.30.2 + diff --git a/buildroot-2021.05/package/sox/Config.in b/buildroot-2022.02.1/package/sox/Config.in similarity index 100% rename from buildroot-2021.05/package/sox/Config.in rename to buildroot-2022.02.1/package/sox/Config.in diff --git a/buildroot-2021.05/package/sox/sox.hash b/buildroot-2022.02.1/package/sox/sox.hash similarity index 100% rename from buildroot-2021.05/package/sox/sox.hash rename to buildroot-2022.02.1/package/sox/sox.hash diff --git a/buildroot-2022.02.1/package/sox/sox.mk b/buildroot-2022.02.1/package/sox/sox.mk new file mode 100644 index 00000000..1896437a --- /dev/null +++ b/buildroot-2022.02.1/package/sox/sox.mk @@ -0,0 +1,141 @@ +################################################################################ +# +# sox +# +################################################################################ + +SOX_VERSION = 7524160b29a476f7e87bc14fddf12d349f9a3c5e +SOX_SITE = https://git.code.sf.net/p/sox/code +SOX_SITE_METHOD = git +SOX_DEPENDENCIES = host-autoconf-archive host-pkgconf +SOX_LICENSE = GPL-2.0+ (sox binary), LGPL-2.1+ (libraries) +SOX_LICENSE_FILES = LICENSE.GPL LICENSE.LGPL +SOX_CPE_ID_VENDOR = sound_exchange_project +SOX_CPE_ID_PRODUCT = sound_exchange +# From git and we're patching configure.ac +SOX_AUTORECONF = YES +SOX_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive +SOX_INSTALL_STAGING = YES + +SOX_IGNORE_CVES += CVE-2017-11332 CVE-2017-11358 CVE-2017-11359 \ + CVE-2017-15370 CVE-2017-15371 CVE-2017-15372 CVE-2017-15642 \ + CVE-2017-18189 CVE-2019-8354 CVE-2019-8355 CVE-2019-8356 \ + CVE-2019-8357 CVE-2019-13590 + +SOX_CONF_OPTS = \ + --with-distro="Buildroot" \ + --disable-stack-protector + +ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y) +SOX_DEPENDENCIES += alsa-lib +SOX_CONF_OPTS += --enable-alsa +else +SOX_CONF_OPTS += --disable-alsa +endif + +ifeq ($(BR2_PACKAGE_FILE),y) +SOX_DEPENDENCIES += file +SOX_CONF_OPTS += --enable-magic +else +SOX_CONF_OPTS += --disable-magic +endif + +ifeq ($(BR2_PACKAGE_FLAC),y) +SOX_DEPENDENCIES += flac +SOX_CONF_OPTS += --enable-flac +else +SOX_CONF_OPTS += --disable-flac +endif + +ifeq ($(BR2_PACKAGE_LAME),y) +SOX_DEPENDENCIES += lame +SOX_CONF_OPTS += --with-lame +else +SOX_CONF_OPTS += --without-lame +endif + +ifeq ($(BR2_PACKAGE_LIBAO),y) +SOX_DEPENDENCIES += libao +SOX_CONF_OPTS += --enable-ao +else +SOX_CONF_OPTS += --disable-ao +endif + +ifeq ($(BR2_PACKAGE_LIBGSM),y) +SOX_DEPENDENCIES += libgsm +SOX_CONF_OPTS += --enable-gsm +else +SOX_CONF_OPTS += --disable-gsm +endif + +ifeq ($(BR2_PACKAGE_LIBID3TAG),y) +SOX_DEPENDENCIES += libid3tag +SOX_CONF_OPTS += --with-id3tag +else +SOX_CONF_OPTS += --without-id3tag +endif + +ifeq ($(BR2_PACKAGE_LIBMAD),y) +SOX_DEPENDENCIES += libmad +SOX_CONF_OPTS += --with-mad +else +SOX_CONF_OPTS += --without-mad +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +SOX_DEPENDENCIES += libpng +SOX_CONF_OPTS += --with-png +else +SOX_CONF_OPTS += --without-png +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +SOX_DEPENDENCIES += libsndfile +SOX_CONF_OPTS += --enable-sndfile +else +SOX_CONF_OPTS += --disable-sndfile +endif + +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +SOX_DEPENDENCIES += libvorbis +SOX_CONF_OPTS += --enable-oggvorbis +else +SOX_CONF_OPTS += --disable-oggvorbis +endif + +ifeq ($(BR2_PACKAGE_OPENCORE_AMR),y) +SOX_DEPENDENCIES += opencore-amr +SOX_CONF_OPTS += --enable-amrwb --enable-amrnb +else +SOX_CONF_OPTS += --disable-amrwb --disable-amrnb +endif + +ifeq ($(BR2_PACKAGE_OPUSFILE),y) +SOX_DEPENDENCIES += opusfile +SOX_CONF_OPTS += --enable-opus +else +SOX_CONF_OPTS += --disable-opus +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +SOX_DEPENDENCIES += pulseaudio +SOX_CONF_OPTS += --enable-pulseaudio +else +SOX_CONF_OPTS += --disable-pulseaudio +endif + +ifeq ($(BR2_PACKAGE_TWOLAME),y) +SOX_DEPENDENCIES += twolame +SOX_CONF_OPTS += --with-twolame +else +SOX_CONF_OPTS += --without-twolame +endif + +ifeq ($(BR2_PACKAGE_WAVPACK),y) +SOX_DEPENDENCIES += wavpack +SOX_CONF_OPTS += --enable-wavpack +else +SOX_CONF_OPTS += --disable-wavpack +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sp-oops-extract/0001-Make-the-Makefile-more-cross-compiler-friendly.patch b/buildroot-2022.02.1/package/sp-oops-extract/0001-Make-the-Makefile-more-cross-compiler-friendly.patch similarity index 100% rename from buildroot-2021.05/package/sp-oops-extract/0001-Make-the-Makefile-more-cross-compiler-friendly.patch rename to buildroot-2022.02.1/package/sp-oops-extract/0001-Make-the-Makefile-more-cross-compiler-friendly.patch diff --git a/buildroot-2021.05/package/sp-oops-extract/0002-stdint-cleanup.patch b/buildroot-2022.02.1/package/sp-oops-extract/0002-stdint-cleanup.patch similarity index 100% rename from buildroot-2021.05/package/sp-oops-extract/0002-stdint-cleanup.patch rename to buildroot-2022.02.1/package/sp-oops-extract/0002-stdint-cleanup.patch diff --git a/buildroot-2021.05/package/sp-oops-extract/Config.in b/buildroot-2022.02.1/package/sp-oops-extract/Config.in similarity index 100% rename from buildroot-2021.05/package/sp-oops-extract/Config.in rename to buildroot-2022.02.1/package/sp-oops-extract/Config.in diff --git a/buildroot-2021.05/package/sp-oops-extract/sp-oops-extract.hash b/buildroot-2022.02.1/package/sp-oops-extract/sp-oops-extract.hash similarity index 100% rename from buildroot-2021.05/package/sp-oops-extract/sp-oops-extract.hash rename to buildroot-2022.02.1/package/sp-oops-extract/sp-oops-extract.hash diff --git a/buildroot-2021.05/package/sp-oops-extract/sp-oops-extract.mk b/buildroot-2022.02.1/package/sp-oops-extract/sp-oops-extract.mk similarity index 100% rename from buildroot-2021.05/package/sp-oops-extract/sp-oops-extract.mk rename to buildroot-2022.02.1/package/sp-oops-extract/sp-oops-extract.mk diff --git a/buildroot-2021.05/package/spandsp/0001-configure.ac-fix-AVX-SSE-and-MMX-options.patch b/buildroot-2022.02.1/package/spandsp/0001-configure.ac-fix-AVX-SSE-and-MMX-options.patch similarity index 100% rename from buildroot-2021.05/package/spandsp/0001-configure.ac-fix-AVX-SSE-and-MMX-options.patch rename to buildroot-2022.02.1/package/spandsp/0001-configure.ac-fix-AVX-SSE-and-MMX-options.patch diff --git a/buildroot-2021.05/package/spandsp/Config.in b/buildroot-2022.02.1/package/spandsp/Config.in similarity index 100% rename from buildroot-2021.05/package/spandsp/Config.in rename to buildroot-2022.02.1/package/spandsp/Config.in diff --git a/buildroot-2021.05/package/spandsp/spandsp.hash b/buildroot-2022.02.1/package/spandsp/spandsp.hash similarity index 100% rename from buildroot-2021.05/package/spandsp/spandsp.hash rename to buildroot-2022.02.1/package/spandsp/spandsp.hash diff --git a/buildroot-2021.05/package/spandsp/spandsp.mk b/buildroot-2022.02.1/package/spandsp/spandsp.mk similarity index 100% rename from buildroot-2021.05/package/spandsp/spandsp.mk rename to buildroot-2022.02.1/package/spandsp/spandsp.mk diff --git a/buildroot-2021.05/package/spawn-fcgi/Config.in b/buildroot-2022.02.1/package/spawn-fcgi/Config.in similarity index 100% rename from buildroot-2021.05/package/spawn-fcgi/Config.in rename to buildroot-2022.02.1/package/spawn-fcgi/Config.in diff --git a/buildroot-2021.05/package/spawn-fcgi/spawn-fcgi.hash b/buildroot-2022.02.1/package/spawn-fcgi/spawn-fcgi.hash similarity index 100% rename from buildroot-2021.05/package/spawn-fcgi/spawn-fcgi.hash rename to buildroot-2022.02.1/package/spawn-fcgi/spawn-fcgi.hash diff --git a/buildroot-2021.05/package/spawn-fcgi/spawn-fcgi.mk b/buildroot-2022.02.1/package/spawn-fcgi/spawn-fcgi.mk similarity index 100% rename from buildroot-2021.05/package/spawn-fcgi/spawn-fcgi.mk rename to buildroot-2022.02.1/package/spawn-fcgi/spawn-fcgi.mk diff --git a/buildroot-2021.05/package/spdlog/Config.in b/buildroot-2022.02.1/package/spdlog/Config.in similarity index 100% rename from buildroot-2021.05/package/spdlog/Config.in rename to buildroot-2022.02.1/package/spdlog/Config.in diff --git a/buildroot-2022.02.1/package/spdlog/spdlog.hash b/buildroot-2022.02.1/package/spdlog/spdlog.hash new file mode 100644 index 00000000..02756fc9 --- /dev/null +++ b/buildroot-2022.02.1/package/spdlog/spdlog.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 6fff9215f5cb81760be4cc16d033526d1080427d236e86d70bb02994f85e3d38 spdlog-1.9.2.tar.gz +sha256 a7241a379cb98d37788f82c2fc2e484c3ae85dae881fd3406f0637644850926f LICENSE diff --git a/buildroot-2022.02.1/package/spdlog/spdlog.mk b/buildroot-2022.02.1/package/spdlog/spdlog.mk new file mode 100644 index 00000000..b5dfc0c7 --- /dev/null +++ b/buildroot-2022.02.1/package/spdlog/spdlog.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# spdlog +# +################################################################################ + +SPDLOG_VERSION = 1.9.2 +SPDLOG_SITE = $(call github,gabime,spdlog,v$(SPDLOG_VERSION)) +SPDLOG_LICENSE = MIT +SPDLOG_LICENSE_FILES = LICENSE +SPDLOG_INSTALL_STAGING = YES +SPDLOG_DEPENDENCIES = fmt +SPDLOG_CONF_OPTS += \ + -DSPDLOG_BUILD_TESTS=OFF \ + -DSPDLOG_BUILD_EXAMPLE=OFF \ + -DSPDLOG_BUILD_BENCH=OFF \ + -DSPDLOG_FMT_EXTERNAL=ON + +ifeq ($(BR2_STATIC_LIBS),y) +SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=OFF +else +SPDLOG_CONF_OPTS += -DSPDLOG_BUILD_SHARED=ON +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/speex/0001-thumb2-support.patch b/buildroot-2022.02.1/package/speex/0001-thumb2-support.patch similarity index 100% rename from buildroot-2021.05/package/speex/0001-thumb2-support.patch rename to buildroot-2022.02.1/package/speex/0001-thumb2-support.patch diff --git a/buildroot-2021.05/package/speex/Config.in b/buildroot-2022.02.1/package/speex/Config.in similarity index 100% rename from buildroot-2021.05/package/speex/Config.in rename to buildroot-2022.02.1/package/speex/Config.in diff --git a/buildroot-2021.05/package/speex/speex.hash b/buildroot-2022.02.1/package/speex/speex.hash similarity index 100% rename from buildroot-2021.05/package/speex/speex.hash rename to buildroot-2022.02.1/package/speex/speex.hash diff --git a/buildroot-2022.02.1/package/speex/speex.mk b/buildroot-2022.02.1/package/speex/speex.mk new file mode 100644 index 00000000..674be78f --- /dev/null +++ b/buildroot-2022.02.1/package/speex/speex.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# speex +# +################################################################################ + +SPEEX_VERSION = 1.2.0 +SPEEX_SITE = https://downloads.xiph.org/releases/speex +SPEEX_LICENSE = BSD-3-Clause +SPEEX_LICENSE_FILES = COPYING +SPEEX_CPE_ID_VENDOR = xiph +SPEEX_INSTALL_STAGING = YES +SPEEX_DEPENDENCIES = host-pkgconf libogg +SPEEX_CONF_OPTS = \ + --enable-fixed-point + +ifeq ($(BR2_PACKAGE_SPEEXDSP),y) +SPEEX_DEPENDENCIES += speexdsp +endif + +ifeq ($(BR2_PACKAGE_SPEEX_ARM4),y) +SPEEX_CONF_OPTS += --enable-arm4-asm +endif + +ifeq ($(BR2_PACKAGE_SPEEX_ARM5E),y) +SPEEX_CONF_OPTS += --enable-arm5e-asm +endif + +define SPEEX_LIBTOOL_FIXUP + $(SED) 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' $(@D)/libtool + $(SED) 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' $(@D)/libtool +endef + +SPEEX_POST_CONFIGURE_HOOKS += SPEEX_LIBTOOL_FIXUP + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/speexdsp/Config.in b/buildroot-2022.02.1/package/speexdsp/Config.in similarity index 100% rename from buildroot-2021.05/package/speexdsp/Config.in rename to buildroot-2022.02.1/package/speexdsp/Config.in diff --git a/buildroot-2022.02.1/package/speexdsp/speexdsp.hash b/buildroot-2022.02.1/package/speexdsp/speexdsp.hash new file mode 100644 index 00000000..82e054d4 --- /dev/null +++ b/buildroot-2022.02.1/package/speexdsp/speexdsp.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 0fe0e31be215f820bed0f9c913c673997773fce3a03a4555658e7b73a54eed7b speexdsp-SpeexDSP-1.2.0.tar.bz2 +sha256 671bb5d8fd3c6b05a2e831d90f978ac27965c92bd8ea6d16b3df76e3440c0e9f COPYING diff --git a/buildroot-2022.02.1/package/speexdsp/speexdsp.mk b/buildroot-2022.02.1/package/speexdsp/speexdsp.mk new file mode 100644 index 00000000..8e886b2b --- /dev/null +++ b/buildroot-2022.02.1/package/speexdsp/speexdsp.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# speexdsp +# +################################################################################ + +SPEEXDSP_VERSION = 1.2.0 +SPEEXDSP_SOURCE = speexdsp-SpeexDSP-$(SPEEXDSP_VERSION).tar.bz2 +SPEEXDSP_SITE = https://gitlab.xiph.org/xiph/speexdsp/-/archive/SpeexDSP-$(SPEEXDSP_VERSION) +SPEEXDSP_LICENSE = BSD-3-Clause +SPEEXDSP_LICENSE_FILES = COPYING +SPEEXDSP_INSTALL_STAGING = YES +SPEEXDSP_DEPENDENCIES = host-pkgconf +SPEEXDSP_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sphinxbase/Config.in b/buildroot-2022.02.1/package/sphinxbase/Config.in similarity index 100% rename from buildroot-2021.05/package/sphinxbase/Config.in rename to buildroot-2022.02.1/package/sphinxbase/Config.in diff --git a/buildroot-2021.05/package/sphinxbase/sphinxbase.hash b/buildroot-2022.02.1/package/sphinxbase/sphinxbase.hash similarity index 100% rename from buildroot-2021.05/package/sphinxbase/sphinxbase.hash rename to buildroot-2022.02.1/package/sphinxbase/sphinxbase.hash diff --git a/buildroot-2021.05/package/sphinxbase/sphinxbase.mk b/buildroot-2022.02.1/package/sphinxbase/sphinxbase.mk similarity index 100% rename from buildroot-2021.05/package/sphinxbase/sphinxbase.mk rename to buildroot-2022.02.1/package/sphinxbase/sphinxbase.mk diff --git a/buildroot-2021.05/package/spi-tools/Config.in b/buildroot-2022.02.1/package/spi-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/spi-tools/Config.in rename to buildroot-2022.02.1/package/spi-tools/Config.in diff --git a/buildroot-2022.02.1/package/spi-tools/spi-tools.hash b/buildroot-2022.02.1/package/spi-tools/spi-tools.hash new file mode 100644 index 00000000..1595cd3d --- /dev/null +++ b/buildroot-2022.02.1/package/spi-tools/spi-tools.hash @@ -0,0 +1,3 @@ +# locally computed hash +sha256 81bb9f7218123f86c3644d92ad2c427343758df2143ee5da38e6f743f18714fd spi-tools-1.0.1.tar.gz +sha256 a01259a1b522cf0de95824f9860613b453153eebac468e96196d5d7dba84786c LICENSE diff --git a/buildroot-2022.02.1/package/spi-tools/spi-tools.mk b/buildroot-2022.02.1/package/spi-tools/spi-tools.mk new file mode 100644 index 00000000..d623babf --- /dev/null +++ b/buildroot-2022.02.1/package/spi-tools/spi-tools.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# spi-tools +# +################################################################################ + +SPI_TOOLS_VERSION = 1.0.1 +SPI_TOOLS_SITE = $(call github,cpb-,spi-tools,$(SPI_TOOLS_VERSION)) +# autoreconf must be run as specified in package documentation +SPI_TOOLS_AUTORECONF = YES +SPI_TOOLS_LICENSE = GPL-2.0 +SPI_TOOLS_LICENSE_FILES = LICENSE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/spice-protocol/Config.in b/buildroot-2022.02.1/package/spice-protocol/Config.in similarity index 100% rename from buildroot-2021.05/package/spice-protocol/Config.in rename to buildroot-2022.02.1/package/spice-protocol/Config.in diff --git a/buildroot-2021.05/package/spice-protocol/spice-protocol.hash b/buildroot-2022.02.1/package/spice-protocol/spice-protocol.hash similarity index 100% rename from buildroot-2021.05/package/spice-protocol/spice-protocol.hash rename to buildroot-2022.02.1/package/spice-protocol/spice-protocol.hash diff --git a/buildroot-2021.05/package/spice-protocol/spice-protocol.mk b/buildroot-2022.02.1/package/spice-protocol/spice-protocol.mk similarity index 100% rename from buildroot-2021.05/package/spice-protocol/spice-protocol.mk rename to buildroot-2022.02.1/package/spice-protocol/spice-protocol.mk diff --git a/buildroot-2022.02.1/package/spice/Config.in b/buildroot-2022.02.1/package/spice/Config.in new file mode 100644 index 00000000..ca5c562c --- /dev/null +++ b/buildroot-2022.02.1/package/spice/Config.in @@ -0,0 +1,26 @@ +comment "spice server needs a toolchain w/ wchar, threads, C++" + depends on BR2_i386 || BR2_x86_64 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_SPICE + bool "spice server" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_PIXMAN + select BR2_PACKAGE_SPICE_PROTOCOL + help + The Spice project aims to provide a complete open source + solution for interaction with virtualized desktop devices. + The Spice project deals with both the virtualized devices + and the front-end. Interaction between front-end and + back-end is done using VD-Interfaces. + + This package implements the server-part of Spice. + + http://www.spice-space.org/ diff --git a/buildroot-2022.02.1/package/spice/spice.hash b/buildroot-2022.02.1/package/spice/spice.hash new file mode 100644 index 00000000..b228f213 --- /dev/null +++ b/buildroot-2022.02.1/package/spice/spice.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b320cf8f4bd2852750acb703c15b72856027e5a8554f8217dfbb3cc09deba0f5 spice-0.15.0.tar.bz2 +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/spice/spice.mk b/buildroot-2022.02.1/package/spice/spice.mk new file mode 100644 index 00000000..5f7bcd9d --- /dev/null +++ b/buildroot-2022.02.1/package/spice/spice.mk @@ -0,0 +1,72 @@ +################################################################################ +# +# spice +# +################################################################################ + +SPICE_VERSION = 0.15.0 +SPICE_SOURCE = spice-$(SPICE_VERSION).tar.bz2 +SPICE_SITE = http://www.spice-space.org/download/releases/spice-server +SPICE_LICENSE = LGPL-2.1+ +SPICE_LICENSE_FILES = COPYING +SPICE_CPE_ID_VENDOR = spice_project +SPICE_INSTALL_STAGING = YES +SPICE_DEPENDENCIES = \ + host-pkgconf \ + jpeg \ + libglib2 \ + openssl \ + pixman \ + spice-protocol + +# We disable everything for now, because the dependency tree can become +# quite deep if we try to enable some features, and I have not tested that. +SPICE_CONF_OPTS = \ + --disable-gstreamer \ + --disable-opengl \ + --disable-smartcard \ + --without-sasl \ + --disable-manual \ + --disable-tests + +SPICE_DEPENDENCIES += host-pkgconf + +ifeq ($(BR2_PACKAGE_LZ4),y) +SPICE_CONF_OPTS += --enable-lz4 +SPICE_DEPENDENCIES += lz4 +else +SPICE_CONF_OPTS += --disable-lz4 +endif + +ifeq ($(BR2_PACKAGE_OPUS),y) +SPICE_CONF_OPTS += --enable-opus +SPICE_DEPENDENCIES += opus +else +SPICE_CONF_OPTS += --disable-opus +endif + +# We need to tweak spice.pc because it /forgets/ (for static linking) that +# it should link against libz and libjpeg. libz is pkg-config-aware, while +# libjpeg isn't, hence the two-line tweak +define SPICE_POST_INSTALL_STAGING_FIX_PC + $(SED) 's/^\(Requires.private:.*\)$$/\1 zlib/; s/^\(Libs.private:.*\)$$/\1 -ljpeg/;' \ + "$(STAGING_DIR)/usr/lib/pkgconfig/spice-server.pc" +endef +SPICE_POST_INSTALL_STAGING_HOOKS += SPICE_POST_INSTALL_STAGING_FIX_PC + +# It is currently not possible to detect if stack-protection is available +# or not, because it requires support from both the compiler *and* the +# C library, but the C library (eg. uClibc) can be compiled without that +# support, even if gcc accepts the -fstack-protector-all option. +# spice's ./configure only checks for gcc's -fstack-protector-all option, +# so it misses the case where the C library doe not provide the requires +# support. +# A correct fix would be to fix spice's ./configure to also check the C +# library, but it might be much more involved. +# So, we simply disable it for now. After all, as uClibc's help puts it: +# Note that NOEXECSTACK on a kernel with address space randomization +# is generally sufficient to prevent most buffer overflow exploits +# without increasing code size. +SPICE_CONF_OPTS += gl_cv_warn__fstack_protector_all=no + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/spidev_test/Config.in b/buildroot-2022.02.1/package/spidev_test/Config.in new file mode 100644 index 00000000..aa57b5ed --- /dev/null +++ b/buildroot-2022.02.1/package/spidev_test/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_SPIDEV_TEST + bool "spidev_test" + help + SPI testing utility (using spidev driver). + + This package builds and installs the userspace 'spidev_test' + command. It is up to the user to ensure that the kernel + configuration has all suitable options enabled to allow a + proper operation of 'spidev_test'. + + The version used is based on your toolchain headers version, + if it's older than 3.15 then 3.0 is used, otherwise 4.10 + is used. + This means you won't have quad-pumped SPI support if your + toolchain is too old. + + https://www.kernel.org/doc/html/latest/spi/index.html diff --git a/buildroot-2021.05/package/spidev_test/spidev_test.hash b/buildroot-2022.02.1/package/spidev_test/spidev_test.hash similarity index 100% rename from buildroot-2021.05/package/spidev_test/spidev_test.hash rename to buildroot-2022.02.1/package/spidev_test/spidev_test.hash diff --git a/buildroot-2022.02.1/package/spidev_test/spidev_test.mk b/buildroot-2022.02.1/package/spidev_test/spidev_test.mk new file mode 100644 index 00000000..bd2fcf6d --- /dev/null +++ b/buildroot-2022.02.1/package/spidev_test/spidev_test.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# spidev_test +# +################################################################################ + +# Build the latest version that is compatible with the toolchain's kernel headers +# v3.15+ requires SPI_TX_QUAD/SPI_RX_QUAD to build +# Normally kernel headers can't be newer than kernel so switch based on that. +# If you need quad-pumped spi support you need to upgrade your toolchain. +# Note that the location of spidev_test.c changes from v4.5 onwards. + +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y) +SPIDEV_TEST_VERSION = 4.10 +SPIDEV_TEST_PATH = tools/spi +else +SPIDEV_TEST_VERSION = 3.0 +SPIDEV_TEST_PATH = Documentation/spi +endif + +SPIDEV_TEST_SITE = http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/plain/$(SPIDEV_TEST_PATH) +SPIDEV_TEST_SOURCE = spidev_test.c?id=v$(SPIDEV_TEST_VERSION) +SPIDEV_TEST_LICENSE = GPL-2.0 + +# musl libc requires linux/ioctl.h for _IOC_SIZEBITS. Do a sed patch to keep +# compatibility with different spidev_test.c versions that we support. +define SPIDEV_TEST_ADD_LINUX_IOCTL + $(SED) 's~^#include ~#include \n#include ~' \ + $(@D)/spidev_test.c +endef + +SPIDEV_TEST_POST_PATCH_HOOKS += SPIDEV_TEST_ADD_LINUX_IOCTL + +define SPIDEV_TEST_EXTRACT_CMDS + cp $(SPIDEV_TEST_DL_DIR)/$(SPIDEV_TEST_SOURCE) $(@D)/spidev_test.c +endef + +define SPIDEV_TEST_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CC) $(TARGET_CFLAGS) \ + -o $(@D)/spidev_test $(@D)/spidev_test.c +endef + +define SPIDEV_TEST_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/spidev_test \ + $(TARGET_DIR)/usr/sbin/spidev_test +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sqlcipher/Config.in b/buildroot-2022.02.1/package/sqlcipher/Config.in similarity index 100% rename from buildroot-2021.05/package/sqlcipher/Config.in rename to buildroot-2022.02.1/package/sqlcipher/Config.in diff --git a/buildroot-2022.02.1/package/sqlcipher/sqlcipher.hash b/buildroot-2022.02.1/package/sqlcipher/sqlcipher.hash new file mode 100644 index 00000000..f831e615 --- /dev/null +++ b/buildroot-2022.02.1/package/sqlcipher/sqlcipher.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 20c46a855c47d5a0a159fdcaa8491ec7bdbaa706a734ee52bc76188b929afb14 sqlcipher-4.5.0.tar.gz +sha256 3eee3c7964a9becc94d747bd36703d31fc86eb994680b06a61bfd4f2661eaac8 LICENSE diff --git a/buildroot-2022.02.1/package/sqlcipher/sqlcipher.mk b/buildroot-2022.02.1/package/sqlcipher/sqlcipher.mk new file mode 100644 index 00000000..c47aa484 --- /dev/null +++ b/buildroot-2022.02.1/package/sqlcipher/sqlcipher.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# sqlcipher +# +################################################################################ + +SQLCIPHER_VERSION = 4.5.0 +SQLCIPHER_SITE = $(call github,sqlcipher,sqlcipher,v$(SQLCIPHER_VERSION)) +SQLCIPHER_LICENSE = BSD-3-Clause +SQLCIPHER_LICENSE_FILES = LICENSE +SQLCIPHER_CPE_ID_VENDOR = zetetic +SQLCIPHER_DEPENDENCIES = host-pkgconf openssl host-tcl +SQLCIPHER_INSTALL_STAGING = YES + +SQLCIPHER_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) $(SQLCIPHER_CFLAGS)" \ + TCLSH_CMD=$(HOST_DIR)/bin/tclsh$(TCL_VERSION_MAJOR) + +SQLCIPHER_CONF_OPTS = \ + --enable-threadsafe \ + --disable-tcl + +SQLCIPHER_CFLAGS += -DSQLITE_HAS_CODEC # Required according to the README +SQLCIPHER_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` + +ifeq ($(BR2_PACKAGE_SQLCIPHER_STAT3),y) +SQLCIPHER_CFLAGS += -DSQLITE_ENABLE_STAT3 +endif + +ifeq ($(BR2_PACKAGE_SQLCIPHER_READLINE),y) +SQLCIPHER_DEPENDENCIES += ncurses readline +SQLCIPHER_CONF_OPTS += --with-readline-inc="-I$(STAGING_DIR)/usr/include" +else +SQLCIPHER_CONF_OPTS += --disable-readline +endif + +ifeq ($(BR2_STATIC_LIBS),y) +SQLCIPHER_CONF_OPTS += --disable-load-extension +else +SQLCIPHER_CONF_OPTS += --enable-load-extension +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/sqlite/Config.in b/buildroot-2022.02.1/package/sqlite/Config.in new file mode 100644 index 00000000..0ae9878d --- /dev/null +++ b/buildroot-2022.02.1/package/sqlite/Config.in @@ -0,0 +1,73 @@ +config BR2_PACKAGE_SQLITE + bool "sqlite" + help + SQLite is a small C library that implements a + self-contained, embeddable, zero-configuration SQL database + engine. + + https://www.sqlite.org/ + +if BR2_PACKAGE_SQLITE + +config BR2_PACKAGE_SQLITE_STAT4 + bool "Additional query optimizations (stat4)" + help + Adds additional logic to the ANALYZE command and to the + query planner that can help SQLite to choose a better query + plan under certain situations. + +config BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA + bool "Enable convenient access to meta-data about tables and queries" + help + When this option is defined there are some additional APIs + enabled to acces meta-data about tables and queries (see + https://sqlite.org/compile.html). + +config BR2_PACKAGE_SQLITE_ENABLE_FTS3 + bool "Enable version 3 of the full-text search engine" + help + When this option is defined in the amalgamation (see + http://www.sqlite.org/amalgamation.html), version 3 of the + full-text search engine is added to the build automatically. + +config BR2_PACKAGE_SQLITE_ENABLE_JSON1 + bool "Enable the JSON extensions for SQLite" + help + When this option is defined in the amalgamation, the JSON + extensions are added to the build automatically. + +config BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY + bool "Enable sqlite3_unlock_notify() interface" + help + This option enables the sqlite3_unlock_notify() interface + and its accosiated functionality. See the documentation + http://www.sqlite.org/unlock_notify.html for additional + information. + +config BR2_PACKAGE_SQLITE_SECURE_DELETE + bool "Set the secure_delete pragma on by default" + help + This compile-time option changes the default settings of the + secure_delete pragma. When this option is not used, + secure_delete defaults to off. When this option is present, + secure_delete defaults to on. + + The secure_delete setting causes deleted content to be + overwritten with zeros. There is a small performance penalty + for this since additional I/O must occur. On the other hand, + secure_delete can prevent sensitive information from + lingering in unused parts of the database file after it has + allegedly been deleted. See the documentation on the + http://www.sqlite.org/pragma.html#pragma_secure_delete for + additional information. + +config BR2_PACKAGE_SQLITE_NO_SYNC + bool "Disable fsync" + help + By default SQLite forces all database transactions to + storage immediately using fsync() to protect against data + loss in case of power failure. This option turns this + behavior off resulting in higher performance especially when + using slow flash storage. + +endif diff --git a/buildroot-2022.02.1/package/sqlite/sqlite.hash b/buildroot-2022.02.1/package/sqlite/sqlite.hash new file mode 100644 index 00000000..deb8d4c1 --- /dev/null +++ b/buildroot-2022.02.1/package/sqlite/sqlite.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 4089a8d9b467537b3f246f217b84cd76e00b1d1a971fe5aca1e30e230e46b2d8 sqlite-autoconf-3370200.tar.gz +sha256 66e056b6e8687f32af30d5187611b98b12a8f46f07aaf62f43585f276e8f0ac9 tea/license.terms diff --git a/buildroot-2022.02.1/package/sqlite/sqlite.mk b/buildroot-2022.02.1/package/sqlite/sqlite.mk new file mode 100644 index 00000000..b702139f --- /dev/null +++ b/buildroot-2022.02.1/package/sqlite/sqlite.mk @@ -0,0 +1,79 @@ +################################################################################ +# +# sqlite +# +################################################################################ + +SQLITE_VERSION = 3.37.2 +SQLITE_TAR_VERSION = 3370200 +SQLITE_SOURCE = sqlite-autoconf-$(SQLITE_TAR_VERSION).tar.gz +SQLITE_SITE = https://www.sqlite.org/2022 +SQLITE_LICENSE = Public domain +SQLITE_LICENSE_FILES = tea/license.terms +SQLITE_CPE_ID_VENDOR = sqlite +SQLITE_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_SQLITE_STAT4),y) +SQLITE_CFLAGS += -DSQLITE_ENABLE_STAT4 +endif + +ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_COLUMN_METADATA),y) +SQLITE_CFLAGS += -DSQLITE_ENABLE_COLUMN_METADATA +endif + +ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_FTS3),y) +SQLITE_CFLAGS += -DSQLITE_ENABLE_FTS3 +endif + +ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_JSON1),y) +SQLITE_CFLAGS += -DSQLITE_ENABLE_JSON1 +endif + +ifeq ($(BR2_PACKAGE_SQLITE_ENABLE_UNLOCK_NOTIFY),y) +SQLITE_CFLAGS += -DSQLITE_ENABLE_UNLOCK_NOTIFY +endif + +ifeq ($(BR2_PACKAGE_SQLITE_SECURE_DELETE),y) +SQLITE_CFLAGS += -DSQLITE_SECURE_DELETE +endif + +ifeq ($(BR2_PACKAGE_SQLITE_NO_SYNC),y) +SQLITE_CFLAGS += -DSQLITE_NO_SYNC +endif + +# Building with Microblaze Gcc 4.9 makes compiling to hang. +# Work around using -O0 +ifeq ($(BR2_microblaze):$(BR2_TOOLCHAIN_GCC_AT_LEAST_5),y:) +SQLITE_CFLAGS += $(TARGET_CFLAGS) -O0 +else +# fallback to standard -O3 when -Ofast is present to avoid -ffast-math +SQLITE_CFLAGS += $(subst -Ofast,-O3,$(TARGET_CFLAGS)) +endif + +SQLITE_CONF_ENV = CFLAGS="$(SQLITE_CFLAGS)" + +ifeq ($(BR2_STATIC_LIBS),y) +SQLITE_CONF_OPTS += --enable-dynamic-extensions=no +else +SQLITE_CONF_OPTS += --disable-static-shell +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +SQLITE_CONF_OPTS += --enable-threadsafe +else +SQLITE_CONF_OPTS += --disable-threadsafe +SQLITE_CFLAGS += -DSQLITE_THREADSAFE=0 +endif + +ifeq ($(BR2_PACKAGE_NCURSES)$(BR2_PACKAGE_READLINE),yy) +SQLITE_DEPENDENCIES += ncurses readline +SQLITE_CONF_OPTS += --disable-editline --enable-readline +else ifeq ($(BR2_PACKAGE_LIBEDIT),y) +SQLITE_DEPENDENCIES += libedit +SQLITE_CONF_OPTS += --enable-editline --disable-readline +else +SQLITE_CONF_OPTS += --disable-editline --disable-readline +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2022.02.1/package/squashfs/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch b/buildroot-2022.02.1/package/squashfs/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch new file mode 100644 index 00000000..997719e6 --- /dev/null +++ b/buildroot-2022.02.1/package/squashfs/0001-Avoid-use-of-INSTALL_DIR-for-symlink-targets.patch @@ -0,0 +1,37 @@ +From f5c908e92d4c055859be2fddbda266d9e3bfd415 Mon Sep 17 00:00:00 2001 +From: Patrick McCarty +Date: Mon, 26 Jul 2021 11:38:43 -0700 +Subject: [PATCH] Avoid use of INSTALL_DIR for symlink targets + +In case INSTALL_DIR is overridden with a staged install location, using +INSTALL_DIR for the symlink target path prefix will yield an incorrect location +for the final installation. + +Because the symlink itself is already installed to INSTALL_DIR, simply removing +the INSTALL_DIR prefix suffices as a fix. + +Note that using $DESTDIR/$INSTALL_DIR where appropriate can avoid this type of +issue, but that can be considered a future enhancement. + +Signed-off-by: Patrick McCarty +Upstream: f5c908e92d4c055859be2fddbda266d9e3bfd415 +Signed-off-by: Thomas Petazzoni +--- + squashfs-tools/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/squashfs-tools/Makefile b/squashfs-tools/Makefile +index f5a55f1..7262a2e 100755 +--- a/squashfs-tools/Makefile ++++ b/squashfs-tools/Makefile +@@ -406,5 +406,5 @@ install: mksquashfs unsquashfs + mkdir -p $(INSTALL_DIR) + cp mksquashfs $(INSTALL_DIR) + cp unsquashfs $(INSTALL_DIR) +- ln -fs $(INSTALL_DIR)/unsquashfs $(INSTALL_DIR)/sqfscat +- ln -fs $(INSTALL_DIR)/mksquashfs $(INSTALL_DIR)/sqfstar ++ ln -fs unsquashfs $(INSTALL_DIR)/sqfscat ++ ln -fs mksquashfs $(INSTALL_DIR)/sqfstar +-- +2.31.1 + diff --git a/buildroot-2021.05/package/squashfs/Config.in b/buildroot-2022.02.1/package/squashfs/Config.in similarity index 100% rename from buildroot-2021.05/package/squashfs/Config.in rename to buildroot-2022.02.1/package/squashfs/Config.in diff --git a/buildroot-2021.05/package/squashfs/Config.in.host b/buildroot-2022.02.1/package/squashfs/Config.in.host similarity index 100% rename from buildroot-2021.05/package/squashfs/Config.in.host rename to buildroot-2022.02.1/package/squashfs/Config.in.host diff --git a/buildroot-2022.02.1/package/squashfs/squashfs.hash b/buildroot-2022.02.1/package/squashfs/squashfs.hash new file mode 100644 index 00000000..09a2bae3 --- /dev/null +++ b/buildroot-2022.02.1/package/squashfs/squashfs.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 b9e16188e6dc1857fe312633920f7d71cc36b0162eb50f3ecb1f0040f02edddd squashfs-4.5.tar.gz + +# License files +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/squashfs/squashfs.mk b/buildroot-2022.02.1/package/squashfs/squashfs.mk new file mode 100644 index 00000000..f64d441c --- /dev/null +++ b/buildroot-2022.02.1/package/squashfs/squashfs.mk @@ -0,0 +1,96 @@ +################################################################################ +# +# squashfs +# +################################################################################ + +SQUASHFS_VERSION = 4.5 +SQUASHFS_SITE = $(call github,plougher,squashfs-tools,$(SQUASHFS_VERSION)) +SQUASHFS_LICENSE = GPL-2.0+ +SQUASHFS_LICENSE_FILES = COPYING +SQUASHFS_CPE_ID_VENDOR = squashfs_project +SQUASHFS_MAKE_ARGS = XATTR_SUPPORT=1 + +ifeq ($(BR2_PACKAGE_SQUASHFS_LZ4),y) +SQUASHFS_DEPENDENCIES += lz4 +SQUASHFS_MAKE_ARGS += LZ4_SUPPORT=1 COMP_DEFAULT=lz4 +else +SQUASHFS_MAKE_ARGS += LZ4_SUPPORT=0 +endif + +ifeq ($(BR2_PACKAGE_SQUASHFS_LZMA),y) +SQUASHFS_DEPENDENCIES += xz +SQUASHFS_MAKE_ARGS += LZMA_XZ_SUPPORT=1 COMP_DEFAULT=lzma +else +SQUASHFS_MAKE_ARGS += LZMA_XZ_SUPPORT=0 +endif + +ifeq ($(BR2_PACKAGE_SQUASHFS_XZ),y) +SQUASHFS_DEPENDENCIES += xz +SQUASHFS_MAKE_ARGS += XZ_SUPPORT=1 COMP_DEFAULT=xz +else +SQUASHFS_MAKE_ARGS += XZ_SUPPORT=0 +endif + +ifeq ($(BR2_PACKAGE_SQUASHFS_LZO),y) +SQUASHFS_DEPENDENCIES += lzo +SQUASHFS_MAKE_ARGS += LZO_SUPPORT=1 COMP_DEFAULT=lzo +else +SQUASHFS_MAKE_ARGS += LZO_SUPPORT=0 +endif + +ifeq ($(BR2_PACKAGE_SQUASHFS_ZSTD),y) +SQUASHFS_DEPENDENCIES += zstd +SQUASHFS_MAKE_ARGS += ZSTD_SUPPORT=1 COMP_DEFAULT=zstd +else +SQUASHFS_MAKE_ARGS += ZSTD_SUPPORT=0 +endif + +ifeq ($(BR2_PACKAGE_SQUASHFS_GZIP),y) +SQUASHFS_DEPENDENCIES += zlib +SQUASHFS_MAKE_ARGS += GZIP_SUPPORT=1 COMP_DEFAULT=gzip +else +SQUASHFS_MAKE_ARGS += GZIP_SUPPORT=0 +endif + +HOST_SQUASHFS_DEPENDENCIES = host-zlib host-lz4 host-lzo host-xz host-zstd + +HOST_SQUASHFS_MAKE_ARGS = \ + XATTR_SUPPORT=1 \ + XZ_SUPPORT=1 \ + GZIP_SUPPORT=1 \ + LZ4_SUPPORT=1 \ + LZO_SUPPORT=1 \ + LZMA_XZ_SUPPORT=1 \ + ZSTD_SUPPORT=1 + +define SQUASHFS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) \ + CC="$(TARGET_CC)" \ + EXTRA_CFLAGS="$(TARGET_CFLAGS) -fgnu89-inline" \ + EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \ + $(SQUASHFS_MAKE_ARGS) \ + -C $(@D)/squashfs-tools/ +endef + +define SQUASHFS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(SQUASHFS_MAKE_ARGS) \ + -C $(@D)/squashfs-tools/ INSTALL_DIR=$(TARGET_DIR)/usr/bin install +endef + +define HOST_SQUASHFS_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) \ + CC="$(HOSTCC)" \ + EXTRA_CFLAGS="$(HOST_CFLAGS)" \ + EXTRA_LDFLAGS="$(HOST_LDFLAGS)" \ + $(HOST_SQUASHFS_MAKE_ARGS) \ + -C $(@D)/squashfs-tools/ +endef + +define HOST_SQUASHFS_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) $(HOST_SQUASHFS_MAKE_ARGS) \ + -C $(@D)/squashfs-tools/ INSTALL_DIR=$(HOST_DIR)/bin install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/squeezelite/Config.in b/buildroot-2022.02.1/package/squeezelite/Config.in similarity index 100% rename from buildroot-2021.05/package/squeezelite/Config.in rename to buildroot-2022.02.1/package/squeezelite/Config.in diff --git a/buildroot-2021.05/package/squeezelite/squeezelite.hash b/buildroot-2022.02.1/package/squeezelite/squeezelite.hash similarity index 100% rename from buildroot-2021.05/package/squeezelite/squeezelite.hash rename to buildroot-2022.02.1/package/squeezelite/squeezelite.hash diff --git a/buildroot-2021.05/package/squeezelite/squeezelite.mk b/buildroot-2022.02.1/package/squeezelite/squeezelite.mk similarity index 100% rename from buildroot-2021.05/package/squeezelite/squeezelite.mk rename to buildroot-2022.02.1/package/squeezelite/squeezelite.mk diff --git a/buildroot-2022.02.1/package/squid/Config.in b/buildroot-2022.02.1/package/squid/Config.in new file mode 100644 index 00000000..62721407 --- /dev/null +++ b/buildroot-2022.02.1/package/squid/Config.in @@ -0,0 +1,25 @@ +comment "squid needs a toolchain w/ C++, threads, gcc >= 4.8 not affected by bug 64735" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || \ + !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +config BR2_PACKAGE_SQUID + bool "squid" + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::current_exception + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + # needs fork() + depends on BR2_USE_MMU + select BR2_PACKAGE_LIBCAP + select BR2_PACKAGE_LIBTOOL + select BR2_PACKAGE_LIBXML2 + help + Caching proxy for the Web supporting HTTP, HTTPS, FTP, and + more. + + http://www.squid-cache.org/ diff --git a/buildroot-2021.05/package/squid/S97squid b/buildroot-2022.02.1/package/squid/S97squid similarity index 100% rename from buildroot-2021.05/package/squid/S97squid rename to buildroot-2022.02.1/package/squid/S97squid diff --git a/buildroot-2022.02.1/package/squid/squid.hash b/buildroot-2022.02.1/package/squid/squid.hash new file mode 100644 index 00000000..e18ed896 --- /dev/null +++ b/buildroot-2022.02.1/package/squid/squid.hash @@ -0,0 +1,6 @@ +# From http://www.squid-cache.org/Versions/v5/squid-5.3.tar.xz.asc +md5 9249f30169ab6600e53b4f9b8129b3b0 squid-5.3.tar.xz +sha1 d3a8310c725616fa7565d60f3bf8fdf5fa20b15a squid-5.3.tar.xz +# Locally calculated +sha256 45178588df1311ded41ebadd632840c4d93a8d7f5f60e38e74acf2f1ae2f1715 squid-5.3.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/squid/squid.mk b/buildroot-2022.02.1/package/squid/squid.mk new file mode 100644 index 00000000..3847fb49 --- /dev/null +++ b/buildroot-2022.02.1/package/squid/squid.mk @@ -0,0 +1,99 @@ +################################################################################ +# +# squid +# +################################################################################ + +SQUID_VERSION = 5.3 +SQUID_SOURCE = squid-$(SQUID_VERSION).tar.xz +SQUID_SITE = http://www.squid-cache.org/Versions/v5 +SQUID_LICENSE = GPL-2.0+ +SQUID_LICENSE_FILES = COPYING +SQUID_CPE_ID_VENDOR = squid-cache +SQUID_SELINUX_MODULES = apache squid +SQUID_DEPENDENCIES = libcap host-libcap libtool libxml2 host-pkgconf \ + $(if $(BR2_PACKAGE_LIBNETFILTER_CONNTRACK),libnetfilter_conntrack) +SQUID_CONF_ENV = \ + ac_cv_epoll_works=yes \ + ac_cv_func_setresuid=yes \ + ac_cv_func_va_copy=yes \ + ac_cv_func___va_copy=yes \ + ac_cv_func_strnstr=no \ + ac_cv_have_squid=yes \ + BUILDCXX="$(HOSTCXX)" \ + BUILDCXXFLAGS="$(HOST_CXXFLAGS)" +SQUID_CONF_OPTS = \ + --enable-async-io=8 \ + --enable-linux-netfilter \ + --enable-removal-policies="lru,heap" \ + --with-filedescriptors=1024 \ + --disable-ident-lookups \ + --enable-auth-basic="fake getpwnam" \ + --enable-auth-digest="file" \ + --enable-auth-negotiate="wrapper" \ + --enable-auth-ntlm="fake" \ + --disable-strict-error-checking \ + --enable-external-acl-helpers="file_userip" \ + --disable-ltdl-install \ + --without-included-ltdl \ + --with-logdir=/var/log/squid/ \ + --with-pidfile=/var/run/squid.pid \ + --with-swapdir=/var/cache/squid/ \ + --with-default-user=squid + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +SQUID_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_PACKAGE_LIBKRB5),y) +SQUID_CONF_OPTS += --with-mit-krb5 +SQUID_DEPENDENCIES += libkrb5 +else +SQUID_CONF_OPTS += --without-mit-krb5 +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SQUID_CONF_OPTS += --with-openssl +SQUID_DEPENDENCIES += openssl +else +SQUID_CONF_OPTS += --without-openssl +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +SQUID_CONF_OPTS += --with-gnutls +SQUID_DEPENDENCIES += gnutls +else +SQUID_CONF_OPTS += --without-gnutls +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +SQUID_CONF_OPTS += --with-systemd +SQUID_DEPENDENCIES += systemd +else +SQUID_CONF_OPTS += --without-systemd +endif + +define SQUID_CLEANUP_TARGET + rm -f $(addprefix $(TARGET_DIR)/usr/bin/, \ + RunCache RunAccel) + rm -f $(addprefix $(TARGET_DIR)/etc/, \ + cachemgr.conf mime.conf.default squid.conf.default) +endef + +SQUID_POST_INSTALL_TARGET_HOOKS += SQUID_CLEANUP_TARGET + +define SQUID_USERS + squid -1 squid -1 * - - - Squid proxy cache +endef + +define SQUID_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/squid/S97squid \ + $(TARGET_DIR)/etc/init.d/S97squid +endef + +define SQUID_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/tools/systemd/squid.service \ + $(TARGET_DIR)/usr/lib/systemd/system/squid.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/sratom/Config.in b/buildroot-2022.02.1/package/sratom/Config.in new file mode 100644 index 00000000..771e8207 --- /dev/null +++ b/buildroot-2022.02.1/package/sratom/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_SRATOM + bool "sratom" + select BR2_PACKAGE_LV2 + select BR2_PACKAGE_SERD + select BR2_PACKAGE_SORD + help + Sratom is a library for serialising LV2 atoms to and from + RDF, particularly the Turtle syntax. + + https://drobilla.net/software/sratom.html diff --git a/buildroot-2022.02.1/package/sratom/sratom.hash b/buildroot-2022.02.1/package/sratom/sratom.hash new file mode 100644 index 00000000..64d460b2 --- /dev/null +++ b/buildroot-2022.02.1/package/sratom/sratom.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking signature +# https://download.drobilla.net/sratom-0.6.8.tar.bz2.asc +sha256 3acb32b1adc5a2b7facdade2e0818bcd6c71f23f84a1ebc17815bb7a0d2d02df sratom-0.6.8.tar.bz2 +sha256 3fc429d6b944fa20306357196a28bb4dd7c25e2d67edebec771f44de5bd7f9e8 COPYING diff --git a/buildroot-2022.02.1/package/sratom/sratom.mk b/buildroot-2022.02.1/package/sratom/sratom.mk new file mode 100644 index 00000000..e1e0f4e0 --- /dev/null +++ b/buildroot-2022.02.1/package/sratom/sratom.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# sratom +# +################################################################################ + +SRATOM_VERSION = 0.6.8 +SRATOM_SITE = https://download.drobilla.net +SRATOM_SOURCE = sratom-$(SRATOM_VERSION).tar.bz2 +SRATOM_LICENSE = ISC +SRATOM_LICENSE_FILES = COPYING +SRATOM_DEPENDENCIES = host-pkgconf lv2 serd sord +SRATOM_INSTALL_STAGING = YES + +SRATOM_CONF_OPTS += --no-coverage + +ifeq ($(BR2_STATIC_LIBS),y) +SRATOM_CONF_OPTS += --static --no-shared +endif + +$(eval $(waf-package)) diff --git a/buildroot-2021.05/package/sredird/0001-termio.patch b/buildroot-2022.02.1/package/sredird/0001-termio.patch similarity index 100% rename from buildroot-2021.05/package/sredird/0001-termio.patch rename to buildroot-2022.02.1/package/sredird/0001-termio.patch diff --git a/buildroot-2021.05/package/sredird/Config.in b/buildroot-2022.02.1/package/sredird/Config.in similarity index 100% rename from buildroot-2021.05/package/sredird/Config.in rename to buildroot-2022.02.1/package/sredird/Config.in diff --git a/buildroot-2021.05/package/sredird/sredird.hash b/buildroot-2022.02.1/package/sredird/sredird.hash similarity index 100% rename from buildroot-2021.05/package/sredird/sredird.hash rename to buildroot-2022.02.1/package/sredird/sredird.hash diff --git a/buildroot-2021.05/package/sredird/sredird.mk b/buildroot-2022.02.1/package/sredird/sredird.mk similarity index 100% rename from buildroot-2021.05/package/sredird/sredird.mk rename to buildroot-2022.02.1/package/sredird/sredird.mk diff --git a/buildroot-2021.05/package/ssdp-responder/Config.in b/buildroot-2022.02.1/package/ssdp-responder/Config.in similarity index 100% rename from buildroot-2021.05/package/ssdp-responder/Config.in rename to buildroot-2022.02.1/package/ssdp-responder/Config.in diff --git a/buildroot-2021.05/package/ssdp-responder/S50ssdpd b/buildroot-2022.02.1/package/ssdp-responder/S50ssdpd similarity index 100% rename from buildroot-2021.05/package/ssdp-responder/S50ssdpd rename to buildroot-2022.02.1/package/ssdp-responder/S50ssdpd diff --git a/buildroot-2021.05/package/ssdp-responder/ssdp-responder.hash b/buildroot-2022.02.1/package/ssdp-responder/ssdp-responder.hash similarity index 100% rename from buildroot-2021.05/package/ssdp-responder/ssdp-responder.hash rename to buildroot-2022.02.1/package/ssdp-responder/ssdp-responder.hash diff --git a/buildroot-2021.05/package/ssdp-responder/ssdp-responder.mk b/buildroot-2022.02.1/package/ssdp-responder/ssdp-responder.mk similarity index 100% rename from buildroot-2021.05/package/ssdp-responder/ssdp-responder.mk rename to buildroot-2022.02.1/package/ssdp-responder/ssdp-responder.mk diff --git a/buildroot-2021.05/package/sshfs/Config.in b/buildroot-2022.02.1/package/sshfs/Config.in similarity index 100% rename from buildroot-2021.05/package/sshfs/Config.in rename to buildroot-2022.02.1/package/sshfs/Config.in diff --git a/buildroot-2021.05/package/sshfs/sshfs.hash b/buildroot-2022.02.1/package/sshfs/sshfs.hash similarity index 100% rename from buildroot-2021.05/package/sshfs/sshfs.hash rename to buildroot-2022.02.1/package/sshfs/sshfs.hash diff --git a/buildroot-2021.05/package/sshfs/sshfs.mk b/buildroot-2022.02.1/package/sshfs/sshfs.mk similarity index 100% rename from buildroot-2021.05/package/sshfs/sshfs.mk rename to buildroot-2022.02.1/package/sshfs/sshfs.mk diff --git a/buildroot-2021.05/package/sshguard/Config.in b/buildroot-2022.02.1/package/sshguard/Config.in similarity index 100% rename from buildroot-2021.05/package/sshguard/Config.in rename to buildroot-2022.02.1/package/sshguard/Config.in diff --git a/buildroot-2021.05/package/sshguard/S49sshguard b/buildroot-2022.02.1/package/sshguard/S49sshguard similarity index 100% rename from buildroot-2021.05/package/sshguard/S49sshguard rename to buildroot-2022.02.1/package/sshguard/S49sshguard diff --git a/buildroot-2022.02.1/package/sshguard/sshguard.hash b/buildroot-2022.02.1/package/sshguard/sshguard.hash new file mode 100644 index 00000000..b1752f1c --- /dev/null +++ b/buildroot-2022.02.1/package/sshguard/sshguard.hash @@ -0,0 +1,4 @@ +# sha256 from https://sourceforge.net/projects/sshguard/files/sshguard/2.4.2/sshguard-2.4.2.sha256 +sha256 2770b776e5ea70a9bedfec4fd84d57400afa927f0f7522870d2dcbbe1ace37e8 sshguard-2.4.2.tar.gz +# Locally calculated +sha256 c3ae64f12153a1bc55bc234d09f40a08ab0e0149fffc972c0b7f02d5a12c1a5c COPYING diff --git a/buildroot-2022.02.1/package/sshguard/sshguard.mk b/buildroot-2022.02.1/package/sshguard/sshguard.mk new file mode 100644 index 00000000..d27c76e6 --- /dev/null +++ b/buildroot-2022.02.1/package/sshguard/sshguard.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# sshguard +# +################################################################################ + +SSHGUARD_VERSION = 2.4.2 +SSHGUARD_SITE = https://sourceforge.net/projects/sshguard/files/sshguard/$(SSHGUARD_VERSION) +SSHGUARD_LICENSE = ISC, Public Domain (fnv hash), BSD-3-Clause (SimCList) +SSHGUARD_LICENSE_FILES = COPYING + +define SSHGUARD_INSTALL_CONFIG + $(INSTALL) -D -m 0644 $(@D)/examples/sshguard.conf.sample \ + $(TARGET_DIR)/etc/sshguard.conf + $(SED) '/^#BACKEND/c\BACKEND="/usr/libexec/sshg-fw-iptables"' \ + -e '/^#FILES/c\FILES="/var/log/messages"' $(TARGET_DIR)/etc/sshguard.conf +endef +SSHGUARD_POST_INSTALL_TARGET_HOOKS += SSHGUARD_INSTALL_CONFIG + +define SSHGUARD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/sshguard/S49sshguard \ + $(TARGET_DIR)/etc/init.d/S49sshguard +endef + +define SSHGUARD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 $(@D)/examples/sshguard.service \ + $(TARGET_DIR)/usr/lib/systemd/system/sshguard.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sshpass/Config.in b/buildroot-2022.02.1/package/sshpass/Config.in similarity index 100% rename from buildroot-2021.05/package/sshpass/Config.in rename to buildroot-2022.02.1/package/sshpass/Config.in diff --git a/buildroot-2022.02.1/package/sshpass/sshpass.hash b/buildroot-2022.02.1/package/sshpass/sshpass.hash new file mode 100644 index 00000000..cb8968bc --- /dev/null +++ b/buildroot-2022.02.1/package/sshpass/sshpass.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 71746e5e057ffe9b00b44ac40453bf47091930cba96bbea8dc48717dedc49fb7 sshpass-1.09.tar.gz +sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/buildroot-2022.02.1/package/sshpass/sshpass.mk b/buildroot-2022.02.1/package/sshpass/sshpass.mk new file mode 100644 index 00000000..21e10397 --- /dev/null +++ b/buildroot-2022.02.1/package/sshpass/sshpass.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# sshpass +# +################################################################################ + +SSHPASS_VERSION = 1.09 +SSHPASS_SITE = http://downloads.sourceforge.net/project/sshpass/sshpass/$(SSHPASS_VERSION) +SSHPASS_LICENSE = GPL-2.0+ +SSHPASS_LICENSE_FILES = COPYING + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/sslh/Config.in b/buildroot-2022.02.1/package/sslh/Config.in new file mode 100644 index 00000000..a1d52118 --- /dev/null +++ b/buildroot-2022.02.1/package/sslh/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_SSLH + bool "sslh" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBCONFIG if BR2_PACKAGE_SYSTEMD + select BR2_PACKAGE_PCRE2 + help + Applicative protocol multiplexer + + http://www.rutschle.net/tech/sslh.shtml diff --git a/buildroot-2021.05/package/sslh/S35sslh b/buildroot-2022.02.1/package/sslh/S35sslh similarity index 100% rename from buildroot-2021.05/package/sslh/S35sslh rename to buildroot-2022.02.1/package/sslh/S35sslh diff --git a/buildroot-2022.02.1/package/sslh/sslh.hash b/buildroot-2022.02.1/package/sslh/sslh.hash new file mode 100644 index 00000000..ae678563 --- /dev/null +++ b/buildroot-2022.02.1/package/sslh/sslh.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 8e3742d14edf4119350cfdc7bb96b89134d9218eb6d2a6e1f70891ca18a649b1 sslh-v1.22c.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/sslh/sslh.mk b/buildroot-2022.02.1/package/sslh/sslh.mk new file mode 100644 index 00000000..897b3b65 --- /dev/null +++ b/buildroot-2022.02.1/package/sslh/sslh.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# sslh +# +################################################################################ + +SSLH_VERSION = 1.22c +SSLH_SOURCE = sslh-v$(SSLH_VERSION).tar.gz +SSLH_SITE = http://www.rutschle.net/tech/sslh +SSLH_LICENSE = GPL-2.0+ +SSLH_LICENSE_FILES = COPYING +SSLH_DEPENDENCIES = pcre2 + +SSLH_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=gnu99" + +ifeq ($(BR2_PACKAGE_LIBBSD),y) +SSLH_DEPENDENCIES += libbsd +SSLH_MAKE_OPTS += USELIBBSD=1 +else +SSLH_MAKE_OPTS += USELIBBSD= +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +SSLH_DEPENDENCIES += libcap +SSLH_MAKE_OPTS += USELIBCAP=1 +else +SSLH_MAKE_OPTS += USELIBCAP= +endif + +ifeq ($(BR2_PACKAGE_LIBCONFIG),y) +SSLH_DEPENDENCIES += libconfig +SSLH_MAKE_OPTS += USELIBCONFIG=1 +else +SSLH_MAKE_OPTS += USELIBCONFIG= +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +SSLH_DEPENDENCIES += systemd +SSLH_MAKE_OPTS += USESYSTEMD=1 +else +SSLH_MAKE_OPTS += USESYSTEMD= +endif + +define SSLH_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(SSLH_MAKE_OPTS) -C $(@D) +endef + +define SSLH_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(SSLH_MAKE_OPTS) -C $(@D) \ + DESTDIR=$(TARGET_DIR) install +endef + +define SSLH_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/sslh/S35sslh $(TARGET_DIR)/etc/init.d/S35sslh +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/start-stop-daemon/0001-add-uclibc-alias-and-musl.patch b/buildroot-2022.02.1/package/start-stop-daemon/0001-add-uclibc-alias-and-musl.patch similarity index 100% rename from buildroot-2021.05/package/start-stop-daemon/0001-add-uclibc-alias-and-musl.patch rename to buildroot-2022.02.1/package/start-stop-daemon/0001-add-uclibc-alias-and-musl.patch diff --git a/buildroot-2021.05/package/start-stop-daemon/0002-just-warn-on-missing-arch.patch b/buildroot-2022.02.1/package/start-stop-daemon/0002-just-warn-on-missing-arch.patch similarity index 100% rename from buildroot-2021.05/package/start-stop-daemon/0002-just-warn-on-missing-arch.patch rename to buildroot-2022.02.1/package/start-stop-daemon/0002-just-warn-on-missing-arch.patch diff --git a/buildroot-2021.05/package/start-stop-daemon/Config.in b/buildroot-2022.02.1/package/start-stop-daemon/Config.in similarity index 100% rename from buildroot-2021.05/package/start-stop-daemon/Config.in rename to buildroot-2022.02.1/package/start-stop-daemon/Config.in diff --git a/buildroot-2021.05/package/start-stop-daemon/start-stop-daemon.hash b/buildroot-2022.02.1/package/start-stop-daemon/start-stop-daemon.hash similarity index 100% rename from buildroot-2021.05/package/start-stop-daemon/start-stop-daemon.hash rename to buildroot-2022.02.1/package/start-stop-daemon/start-stop-daemon.hash diff --git a/buildroot-2021.05/package/start-stop-daemon/start-stop-daemon.mk b/buildroot-2022.02.1/package/start-stop-daemon/start-stop-daemon.mk similarity index 100% rename from buildroot-2021.05/package/start-stop-daemon/start-stop-daemon.mk rename to buildroot-2022.02.1/package/start-stop-daemon/start-stop-daemon.mk diff --git a/buildroot-2021.05/package/startup-notification/Config.in b/buildroot-2022.02.1/package/startup-notification/Config.in similarity index 100% rename from buildroot-2021.05/package/startup-notification/Config.in rename to buildroot-2022.02.1/package/startup-notification/Config.in diff --git a/buildroot-2021.05/package/startup-notification/startup-notification.hash b/buildroot-2022.02.1/package/startup-notification/startup-notification.hash similarity index 100% rename from buildroot-2021.05/package/startup-notification/startup-notification.hash rename to buildroot-2022.02.1/package/startup-notification/startup-notification.hash diff --git a/buildroot-2021.05/package/startup-notification/startup-notification.mk b/buildroot-2022.02.1/package/startup-notification/startup-notification.mk similarity index 100% rename from buildroot-2021.05/package/startup-notification/startup-notification.mk rename to buildroot-2022.02.1/package/startup-notification/startup-notification.mk diff --git a/buildroot-2021.05/package/statserial/0001-ncurses-link.patch b/buildroot-2022.02.1/package/statserial/0001-ncurses-link.patch similarity index 100% rename from buildroot-2021.05/package/statserial/0001-ncurses-link.patch rename to buildroot-2022.02.1/package/statserial/0001-ncurses-link.patch diff --git a/buildroot-2021.05/package/statserial/Config.in b/buildroot-2022.02.1/package/statserial/Config.in similarity index 100% rename from buildroot-2021.05/package/statserial/Config.in rename to buildroot-2022.02.1/package/statserial/Config.in diff --git a/buildroot-2021.05/package/statserial/statserial.hash b/buildroot-2022.02.1/package/statserial/statserial.hash similarity index 100% rename from buildroot-2021.05/package/statserial/statserial.hash rename to buildroot-2022.02.1/package/statserial/statserial.hash diff --git a/buildroot-2021.05/package/statserial/statserial.mk b/buildroot-2022.02.1/package/statserial/statserial.mk similarity index 100% rename from buildroot-2021.05/package/statserial/statserial.mk rename to buildroot-2022.02.1/package/statserial/statserial.mk diff --git a/buildroot-2022.02.1/package/stella/0001-configure-add-CC.patch b/buildroot-2022.02.1/package/stella/0001-configure-add-CC.patch new file mode 100644 index 00000000..d4b29e39 --- /dev/null +++ b/buildroot-2022.02.1/package/stella/0001-configure-add-CC.patch @@ -0,0 +1,30 @@ +From 143cf9fa13a07b827de7065a5e919631406b0941 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 12 Dec 2021 22:46:52 +0100 +Subject: [PATCH] configure: add CC (#854) + +Add CC to fix the following build failure when cross-compiling which is +raised since +https://github.com/stella-emu/stella/commit/771b5b44e31de1b81a552ee47b65014fbc338776: + +out/src/sqlite/sqlite3.o: file not recognized: file format not recognized + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/stella-emu/stella/commit/143cf9fa13a07b827de7065a5e919631406b0941] +--- + configure | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure b/configure +index df666b377..0101d2567 100755 +--- a/configure ++++ b/configure +@@ -899,6 +899,7 @@ echo "Creating config.mak" + cat > config.mak << EOF + # -------- Generated by configure ----------- + ++CC := $CC + CXX := $CXX + CXXFLAGS := $CXXFLAGS + LD := $LD diff --git a/buildroot-2022.02.1/package/stella/Config.in b/buildroot-2022.02.1/package/stella/Config.in new file mode 100644 index 00000000..b5d14848 --- /dev/null +++ b/buildroot-2022.02.1/package/stella/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_STELLA + bool "stella" + depends on !BR2_STATIC_LIBS # sdl2 + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr + select BR2_PACKAGE_SDL2 + help + Stella is a multi-platform Atari 2600 VCS emulator. + + https://stella-emu.github.io/ + +comment "stella needs a toolchain w/ dynamic library, C++, threads, gcc >= 7" + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + +comment "stella needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2022.02.1/package/stella/stella.hash b/buildroot-2022.02.1/package/stella/stella.hash new file mode 100644 index 00000000..8aa51181 --- /dev/null +++ b/buildroot-2022.02.1/package/stella/stella.hash @@ -0,0 +1,4 @@ +# Locally computed: +sha256 d481efc6d27b5294565dfcc10983de2dbc4db8a59932a678ffdb4d2404b8c207 stella-6.6-src.tar.xz +sha256 d5e5897578c2590e48328986cebd950ff215653f7f506ef93accf981870366a6 Copyright.txt +sha256 58530d09b6fcb91ae27071be0081af90e6c2d7fdf991d34a29e234a2a5e75455 License.txt diff --git a/buildroot-2022.02.1/package/stella/stella.mk b/buildroot-2022.02.1/package/stella/stella.mk new file mode 100644 index 00000000..198a1134 --- /dev/null +++ b/buildroot-2022.02.1/package/stella/stella.mk @@ -0,0 +1,52 @@ +################################################################################ +# +# stella +# +################################################################################ + +STELLA_VERSION = 6.6 +STELLA_SOURCE = stella-$(STELLA_VERSION)-src.tar.xz +STELLA_SITE = https://github.com/stella-emu/stella/releases/download/$(STELLA_VERSION) +STELLA_LICENSE = GPL-2.0+ +STELLA_LICENSE_FILES = Copyright.txt License.txt + +STELLA_DEPENDENCIES = sdl2 + +STELLA_CONF_OPTS = \ + --host=$(GNU_TARGET_NAME) \ + --prefix=/usr \ + --with-sdl-prefix=$(STAGING_DIR)/usr + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +STELLA_CONF_OPTS += --enable-png +STELLA_DEPENDENCIES += libpng +else +STELLA_CONF_OPTS += --disable-png +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +STELLA_CONF_OPTS += --enable-zip +STELLA_DEPENDENCIES += zlib +else +STELLA_CONF_OPTS += --disable-zip +endif + +# The configure script is not autoconf based, so we use the +# generic-package infrastructure +define STELLA_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + ./configure $(STELLA_CONF_OPTS) \ + ) +endef + +define STELLA_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define STELLA_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/stellarium/Config.in b/buildroot-2022.02.1/package/stellarium/Config.in similarity index 100% rename from buildroot-2021.05/package/stellarium/Config.in rename to buildroot-2022.02.1/package/stellarium/Config.in diff --git a/buildroot-2022.02.1/package/stellarium/stellarium.hash b/buildroot-2022.02.1/package/stellarium/stellarium.hash new file mode 100644 index 00000000..c3f2e0e8 --- /dev/null +++ b/buildroot-2022.02.1/package/stellarium/stellarium.hash @@ -0,0 +1,5 @@ +# From https://github.com/Stellarium/stellarium/releases +sha1 a3396c403050e073c592da695faeb048c1d5e19b stellarium-0.21.3.tar.gz +sha256 8ac6c054d12f136fe0d5c0deaaa8d7b69dd2a462be1711a187364574aef97e7f stellarium-0.21.3.tar.gz +# Locally computed +sha256 3aeeb5bb98bf7041ab82cffe15efa28ac58ee2bdf162b71301f5c192be631259 COPYING diff --git a/buildroot-2022.02.1/package/stellarium/stellarium.mk b/buildroot-2022.02.1/package/stellarium/stellarium.mk new file mode 100644 index 00000000..ca5c07b2 --- /dev/null +++ b/buildroot-2022.02.1/package/stellarium/stellarium.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# stellarium +# +################################################################################ + +STELLARIUM_VERSION = 0.21.3 +STELLARIUM_SITE = https://github.com/Stellarium/stellarium/releases/download/v$(STELLARIUM_VERSION) +STELLARIUM_LICENSE = GPL-2.0+ +STELLARIUM_LICENSE_FILES = COPYING +STELLARIUM_DEPENDENCIES = \ + qt5base \ + qt5location \ + qt5multimedia \ + zlib +STELLARIUM_CONF_OPTS = \ + -DENABLE_MEDIA=ON \ + -DENABLE_NLS=OFF \ + -DUSE_SYSTEM_ZLIB=ON + +ifeq ($(BR2_PACKAGE_QT5SCRIPT),y) +STELLARIUM_DEPENDENCIES += qt5script +STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=ON +else +STELLARIUM_CONF_OPTS += -DENABLE_SCRIPTING=OFF +endif + +ifeq ($(BR2_PACKAGE_QT5SERIALPORT),y) +STELLARIUM_DEPENDENCIES += qt5serialport +ifeq ($(BR2_PACKAGE_GPSD),y) +STELLARIUM_DEPENDENCIES += gpsd +endif +STELLARIUM_CONF_OPTS += \ + -DENABLE_GPS=ON \ + -DUSE_PLUGIN_TELESCOPECONTROL=ON +else +STELLARIUM_CONF_OPTS += \ + -DENABLE_GPS=OFF \ + -DUSE_PLUGIN_TELESCOPECONTROL=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/stm32flash/Config.in b/buildroot-2022.02.1/package/stm32flash/Config.in similarity index 100% rename from buildroot-2021.05/package/stm32flash/Config.in rename to buildroot-2022.02.1/package/stm32flash/Config.in diff --git a/buildroot-2022.02.1/package/stm32flash/stm32flash.hash b/buildroot-2022.02.1/package/stm32flash/stm32flash.hash new file mode 100644 index 00000000..7039f06e --- /dev/null +++ b/buildroot-2022.02.1/package/stm32flash/stm32flash.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 ee9b40d4d3e5cd28b993e08ae2a2c3c559b6bea8730cd7e1d40727dedb1dda09 stm32flash-0.6.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 gpl-2.0.txt diff --git a/buildroot-2022.02.1/package/stm32flash/stm32flash.mk b/buildroot-2022.02.1/package/stm32flash/stm32flash.mk new file mode 100644 index 00000000..6e38e09d --- /dev/null +++ b/buildroot-2022.02.1/package/stm32flash/stm32flash.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# stm32flash +# +################################################################################ + +STM32FLASH_VERSION = 0.6 +STM32FLASH_SITE = http://downloads.sourceforge.net/project/stm32flash +STM32FLASH_LICENSE = GPL-2.0+ +STM32FLASH_LICENSE_FILES = gpl-2.0.txt + +define STM32FLASH_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define STM32FLASH_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" PREFIX="/usr" \ + -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/strace/Config.in b/buildroot-2022.02.1/package/strace/Config.in similarity index 100% rename from buildroot-2021.05/package/strace/Config.in rename to buildroot-2022.02.1/package/strace/Config.in diff --git a/buildroot-2022.02.1/package/strace/strace.hash b/buildroot-2022.02.1/package/strace/strace.hash new file mode 100644 index 00000000..30c90e8e --- /dev/null +++ b/buildroot-2022.02.1/package/strace/strace.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking signature with RSA key 0xA8041FA839E16E36 +# https://strace.io/files/5.16/strace-5.16.tar.xz.asc +sha256 dc7db230ff3e57c249830ba94acab2b862da1fcaac55417e9b85041a833ca285 strace-5.16.tar.xz +sha256 d92f973d08c8466993efff1e500453add0c038c20b4d2cbce3297938a296aea9 COPYING +sha256 7c379436436a562834aa7d2f5dcae1f80a25230fa74201046ca1fba4367d39aa LGPL-2.1-or-later diff --git a/buildroot-2022.02.1/package/strace/strace.mk b/buildroot-2022.02.1/package/strace/strace.mk new file mode 100644 index 00000000..c8c3590f --- /dev/null +++ b/buildroot-2022.02.1/package/strace/strace.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# strace +# +################################################################################ + +STRACE_VERSION = 5.16 +STRACE_SOURCE = strace-$(STRACE_VERSION).tar.xz +STRACE_SITE = https://strace.io/files/$(STRACE_VERSION) +STRACE_LICENSE = LGPL-2.1+ +STRACE_LICENSE_FILES = COPYING LGPL-2.1-or-later +STRACE_CPE_ID_VENDOR = strace_project +STRACE_CONF_OPTS = --enable-mpers=no + +ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +STRACE_DEPENDENCIES += libunwind +STRACE_CONF_OPTS += --with-libunwind +else +STRACE_CONF_OPTS += --without-libunwind +endif + +# Demangling symbols in stack trace needs libunwind and libiberty. +ifeq ($(BR2_PACKAGE_BINUTILS)$(BR2_PACKAGE_LIBUNWIND),yy) +STRACE_DEPENDENCIES += binutils +STRACE_CONF_OPTS += --with-libiberty=check +else +STRACE_CONF_OPTS += --without-libiberty +endif + +ifeq ($(BR2_PACKAGE_PERL),) +define STRACE_REMOVE_STRACE_GRAPH + rm -f $(TARGET_DIR)/usr/bin/strace-graph +endef + +STRACE_POST_INSTALL_TARGET_HOOKS += STRACE_REMOVE_STRACE_GRAPH +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/stress-ng/Config.in b/buildroot-2022.02.1/package/stress-ng/Config.in new file mode 100644 index 00000000..839cbb1c --- /dev/null +++ b/buildroot-2022.02.1/package/stress-ng/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_STRESS_NG + bool "stress-ng" + depends on BR2_USE_MMU # fork() + # perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 + # fenv.h lacks FE_INVALID, FE_OVERFLOW & FE_UNDERFLOW on nios2 and ARC + depends on !BR2_nios2 + depends on !BR2_arc + help + stress-ng will stress test a computer system in various + selectable ways. It was designed to exercise various physical + subsystems of a computer as well as the various operating + system kernel interfaces. + + https://github.com/ColinIanKing/stress-ng + +comment "stress-ng needs a toolchain w/ headers >= 3.3" + depends on !BR2_nios2 && !BR2_arc + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 diff --git a/buildroot-2022.02.1/package/stress-ng/stress-ng.hash b/buildroot-2022.02.1/package/stress-ng/stress-ng.hash new file mode 100644 index 00000000..2e3f9987 --- /dev/null +++ b/buildroot-2022.02.1/package/stress-ng/stress-ng.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 3de49e1100866634f549e99c1644283d0cde817b844a69dcf7f80afa2227d350 stress-ng-0.13.05.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/stress-ng/stress-ng.mk b/buildroot-2022.02.1/package/stress-ng/stress-ng.mk new file mode 100644 index 00000000..0b2287c7 --- /dev/null +++ b/buildroot-2022.02.1/package/stress-ng/stress-ng.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# stress-ng +# +################################################################################ + +STRESS_NG_VERSION = 0.13.05 +STRESS_NG_SITE = $(call github,ColinIanKing,stress-ng,V$(STRESS_NG_VERSION)) +STRESS_NG_LICENSE = GPL-2.0+ +STRESS_NG_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_LIBBSD),y) +STRESS_NG_DEPENDENCIES += libbsd +endif + +ifeq ($(BR2_PACKAGE_KEYUTILS),y) +STRESS_NG_DEPENDENCIES += keyutils +endif + +define STRESS_NG_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) +endef + +# Don't use make install otherwise stress-ng will be rebuild without +# required link libraries if any. Furthermore, using INSTALL allow to +# set the file permission correcly on the target. +define STRESS_NG_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/stress-ng $(TARGET_DIR)/usr/bin/stress-ng +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/stress/Config.in b/buildroot-2022.02.1/package/stress/Config.in similarity index 100% rename from buildroot-2021.05/package/stress/Config.in rename to buildroot-2022.02.1/package/stress/Config.in diff --git a/buildroot-2021.05/package/stress/stress.hash b/buildroot-2022.02.1/package/stress/stress.hash similarity index 100% rename from buildroot-2021.05/package/stress/stress.hash rename to buildroot-2022.02.1/package/stress/stress.hash diff --git a/buildroot-2021.05/package/stress/stress.mk b/buildroot-2022.02.1/package/stress/stress.mk similarity index 100% rename from buildroot-2021.05/package/stress/stress.mk rename to buildroot-2022.02.1/package/stress/stress.mk diff --git a/buildroot-2022.02.1/package/strongswan/Config.in b/buildroot-2022.02.1/package/strongswan/Config.in new file mode 100644 index 00000000..430625a1 --- /dev/null +++ b/buildroot-2022.02.1/package/strongswan/Config.in @@ -0,0 +1,213 @@ +comment "strongswan needs a toolchain w/ threads, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + +menuconfig BR2_PACKAGE_STRONGSWAN + bool "strongswan" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on !BR2_STATIC_LIBS + help + strongSwan is an OpenSource IPsec implementation for the + Linux operating system. It is based on the discontinued + FreeS/WAN project and the X.509 patch. + + The focus is on: + - simplicity of configuration + - strong encryption and authentication methods + - powerful IPsec policies supporting large and complex + VPN networks + + strongSwan provide many plugins. Only a few are presented + here. + + http://www.strongswan.org/ + +if BR2_PACKAGE_STRONGSWAN + +choice + prompt "Cryptographic backend" + default BR2_PACKAGE_STRONGSWAN_GMP + +config BR2_PACKAGE_STRONGSWAN_BOTAN + bool "botan" + depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + select BR2_PACKAGE_BOTAN + +comment "botan backend needs a toolchain w/ C++, gcc >= 4.8" + depends on !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS + +comment "botan backend needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_BOTAN_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_STRONGSWAN_OPENSSL + bool "OpenSSL" + select BR2_PACKAGE_OPENSSL + +config BR2_PACKAGE_STRONGSWAN_GCRYPT + bool "libgcrypt" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt + select BR2_PACKAGE_LIBGCRYPT + +config BR2_PACKAGE_STRONGSWAN_GMP + bool "GNU MP (libgmp)" + select BR2_PACKAGE_GMP + +config BR2_PACKAGE_STRONGSWAN_WOLFSSL + bool "wolfssl" + select BR2_PACKAGE_WOLFSSL + +endchoice + +config BR2_PACKAGE_STRONGSWAN_AF_ALG + bool "Enable AF_ALG crypto interface to Linux Crypto API" + +config BR2_PACKAGE_STRONGSWAN_CURL + bool "Enable CURL fetcher plugin to fetch files via libcurl" + select BR2_PACKAGE_LIBCURL + +config BR2_PACKAGE_STRONGSWAN_MD4 + bool "Enable MD4 hash algorithm" + +config BR2_PACKAGE_STRONGSWAN_CHARON + bool "Enable the IKEv1/IKEv2 keying daemon charon" + default y + +if BR2_PACKAGE_STRONGSWAN_CHARON + +config BR2_PACKAGE_STRONGSWAN_TNCCS_11 + bool "Enable TNCCS 1.1 protocol module" + select BR2_PACKAGE_LIBXML2 + +config BR2_PACKAGE_STRONGSWAN_TNCCS_20 + bool "Enable TNCCS 2.0 protocol module" + +config BR2_PACKAGE_STRONGSWAN_TNCCS_DYNAMIC + bool "Enable dynamic TNCCS protocol discovery module" + +config BR2_PACKAGE_STRONGSWAN_SYSTIME_FIX + bool "Enable systime-fix plugin" + +config BR2_PACKAGE_STRONGSWAN_EAP_SIM + bool "Enable EAP-SIM" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_SIM_FILE + bool "Enable EAP-SIM file backend" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + select BR2_PACKAGE_STRONGSWAN_EAP_SIM + +config BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC + bool "Enable EAP-SIM smart card backend" + depends on !BR2_STATIC_LIBS # pcsc-lite + select BR2_PACKAGE_PCSC_LITE + select BR2_PACKAGE_STRONGSWAN_EAP_SIM + +config BR2_PACKAGE_STRONGSWAN_EAP_AKA + bool "Enable EAP-AKA" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2 + bool "Enable EAP-AKA 3GPP2 algorithms" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + select BR2_PACKAGE_GMP + select BR2_PACKAGE_STRONGSWAN_EAP_AKA + +config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_SQL + bool "Enable EAP-SIM/AKA backend based on a triplet/quintuplet SQL database" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + select BR2_PACKAGE_STRONGSWAN_EAP_AKA + select BR2_PACKAGE_STRONGSWAN_EAP_SIM + +config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_PSEUDONYM + bool "Enable EAP-SIM/AKA pseudonym storage" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + select BR2_PACKAGE_STRONGSWAN_EAP_AKA + select BR2_PACKAGE_STRONGSWAN_EAP_SIM + +config BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_REAUTH + bool "Enable EAP-SIM/AKA reauthentication data storage" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + select BR2_PACKAGE_STRONGSWAN_EAP_AKA + select BR2_PACKAGE_STRONGSWAN_EAP_SIM + +config BR2_PACKAGE_STRONGSWAN_EAP_IDENTITY + bool "Enable EAP-Identity" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_MD5 + bool "Enable EAP-MD5" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_GTC + bool "Enable EAP-GDC" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_MSCHAPV2 + bool "Enable EAP-MSCHAPv2" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + select BR2_PACKAGE_STRONGSWAN_MD4 + +config BR2_PACKAGE_STRONGSWAN_EAP_PEAP + bool "Enable EAP-PEAP" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_RADIUS + bool "Enable EAP-RADIUS" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_TLS + bool "Enable EAP-TLS" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_TTLS + bool "Enable EAP-TTLS" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_DYNAMIC + bool "Enable EAP-DYNAMIC" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_EAP_TNC + bool "Enable EAP-TNC" + default y if BR2_PACKAGE_STRONGSWAN_EAP # legacy + +config BR2_PACKAGE_STRONGSWAN_UNITY + bool "Enables Cisco Unity extension plugin" + +config BR2_PACKAGE_STRONGSWAN_STROKE + bool "Enable charons stroke configuration backend" + default y + +config BR2_PACKAGE_STRONGSWAN_SQL + bool "Enable SQL database configuration backend" + depends on BR2_PACKAGE_SQLITE || BR2_PACKAGE_MYSQL + +endif + +config BR2_PACKAGE_STRONGSWAN_PKI + bool "Enable pki certificate utility" + default y + +config BR2_PACKAGE_STRONGSWAN_SCEP + bool "Enable SCEP client tool" + +config BR2_PACKAGE_STRONGSWAN_SCRIPTS + bool "Enable additional utilities (found in scripts directory)" + default y + depends on BR2_PACKAGE_STRONGSWAN_CHARON + +config BR2_PACKAGE_STRONGSWAN_VICI + bool "Enable vici/swanctl" + default y + depends on BR2_PACKAGE_STRONGSWAN_CHARON + +endif diff --git a/buildroot-2022.02.1/package/strongswan/strongswan.hash b/buildroot-2022.02.1/package/strongswan/strongswan.hash new file mode 100644 index 00000000..aca7ddf5 --- /dev/null +++ b/buildroot-2022.02.1/package/strongswan/strongswan.hash @@ -0,0 +1,7 @@ +# From http://download.strongswan.org/strongswan-5.9.5.tar.bz2.md5 +md5 53005324e3cba8592f1fb958b1c2d0e5 strongswan-5.9.5.tar.bz2 +# Calculated based on the hash above +sha256 983e4ef4a4c6c9d69f5fe6707c7fe0b2b9a9291943bbf4e008faab6bf91c0bdd strongswan-5.9.5.tar.bz2 +# Locally calculated +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 2292e21797754548dccdef9eef6aee7584e552fbd890fa914e1de8d3577d23f0 LICENSE diff --git a/buildroot-2022.02.1/package/strongswan/strongswan.mk b/buildroot-2022.02.1/package/strongswan/strongswan.mk new file mode 100644 index 00000000..95079ace --- /dev/null +++ b/buildroot-2022.02.1/package/strongswan/strongswan.mk @@ -0,0 +1,92 @@ +################################################################################ +# +# strongswan +# +################################################################################ + +STRONGSWAN_VERSION = 5.9.5 +STRONGSWAN_SOURCE = strongswan-$(STRONGSWAN_VERSION).tar.bz2 +STRONGSWAN_SITE = http://download.strongswan.org +STRONGSWAN_LICENSE = GPL-2.0+ +STRONGSWAN_LICENSE_FILES = COPYING LICENSE +STRONGSWAN_CPE_ID_VENDOR = strongswan +STRONGSWAN_DEPENDENCIES = host-pkgconf +STRONGSWAN_INSTALL_STAGING = YES +STRONGSWAN_CONF_OPTS += \ + --without-lib-prefix \ + --enable-led \ + --enable-pkcs11=yes \ + --enable-kernel-netlink=yes \ + --enable-socket-default=yes \ + --enable-botan=$(if $(BR2_PACKAGE_STRONGSWAN_BOTAN),yes,no) \ + --enable-openssl=$(if $(BR2_PACKAGE_STRONGSWAN_OPENSSL),yes,no) \ + --enable-gcrypt=$(if $(BR2_PACKAGE_STRONGSWAN_GCRYPT),yes,no) \ + --enable-gmp=$(if $(BR2_PACKAGE_STRONGSWAN_GMP),yes,no) \ + --enable-af-alg=$(if $(BR2_PACKAGE_STRONGSWAN_AF_ALG),yes,no) \ + --enable-curl=$(if $(BR2_PACKAGE_STRONGSWAN_CURL),yes,no) \ + --enable-charon=$(if $(BR2_PACKAGE_STRONGSWAN_CHARON),yes,no) \ + --enable-tnccs-11=$(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_11),yes,no) \ + --enable-tnccs-20=$(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_20),yes,no) \ + --enable-tnccs-dynamic=$(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_DYNAMIC),yes,no) \ + --enable-eap-sim-pcsc=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC),yes,no) \ + --enable-unity=$(if $(BR2_PACKAGE_STRONGSWAN_UNITY),yes,no) \ + --enable-stroke=$(if $(BR2_PACKAGE_STRONGSWAN_STROKE),yes,no) \ + --enable-sql=$(if $(BR2_PACKAGE_STRONGSWAN_SQL),yes,no) \ + --enable-pki=$(if $(BR2_PACKAGE_STRONGSWAN_PKI),yes,no) \ + --enable-scepclient=$(if $(BR2_PACKAGE_STRONGSWAN_SCEP),yes,no) \ + --enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no) \ + --enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \ + --enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \ + --enable-wolfssl=$(if $(BR2_PACKAGE_STRONGSWAN_WOLFSSL),yes,no) \ + --enable-md4=$(if $(BR2_PACKAGE_STRONGSWAN_MD4),yes,no) \ + --enable-systime-fix=$(if $(BR2_PACKAGE_STRONGSWAN_SYSTIME_FIX),yes,no) \ + --enable-eap-sim=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM),yes,no) \ + --enable-eap-sim-file=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM_FILE),yes,no) \ + --enable-eap-aka=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_AKA),yes,no) \ + --enable-eap-aka-3gpp2=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2),yes,no) \ + --enable-eap-simaka-sql=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_SQL),yes,no) \ + --enable-eap-simaka-pseudonym=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_PSEUDONYM),yes,no) \ + --enable-eap-simaka-reauth=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIMAKA_REAUTH),yes,no) \ + --enable-eap-identity=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_IDENTITY),yes,no) \ + --enable-eap-md5=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_MD5),yes,no) \ + --enable-eap-gtc=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_GTC),yes,no) \ + --enable-eap-mschapv2=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_MSCHAPV2),yes,no) \ + --enable-eap-tls=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_TLS),yes,no) \ + --enable-eap-ttls=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_TTLS),yes,no) \ + --enable-eap-peap=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_PEAP),yes,no) \ + --enable-eap-tnc=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_TNC),yes,no) \ + --enable-eap-dynamic=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_DYNAMIC),yes,no) \ + --enable-eap-radius=$(if $(BR2_PACKAGE_STRONGSWAN_EAP_RADIUS),yes,no) \ + --with-ipseclibdir=/usr/lib \ + --with-plugindir=/usr/lib/ipsec/plugins \ + --with-imcvdir=/usr/lib/ipsec/imcvs \ + --with-dev-headers=/usr/include + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +STRONGSWAN_CONF_ENV += LIBS='-latomic' +endif + +STRONGSWAN_DEPENDENCIES += \ + $(if $(BR2_PACKAGE_STRONGSWAN_BOTAN),botan) \ + $(if $(BR2_PACKAGE_STRONGSWAN_OPENSSL),openssl) \ + $(if $(BR2_PACKAGE_STRONGSWAN_GCRYPT),libgcrypt) \ + $(if $(BR2_PACKAGE_STRONGSWAN_GMP),gmp) \ + $(if $(BR2_PACKAGE_STRONGSWAN_EAP_AKA_3GPP2),gmp) \ + $(if $(BR2_PACKAGE_STRONGSWAN_CURL),libcurl) \ + $(if $(BR2_PACKAGE_STRONGSWAN_TNCCS_11),libxml2) \ + $(if $(BR2_PACKAGE_STRONGSWAN_EAP_SIM_PCSC),pcsc-lite) \ + $(if $(BR2_PACKAGE_STRONGSWAN_WOLFSSL),wolfssl) + +ifeq ($(BR2_PACKAGE_STRONGSWAN_SQL),y) +STRONGSWAN_DEPENDENCIES += \ + $(if $(BR2_PACKAGE_SQLITE),sqlite) \ + $(if $(BR2_PACKAGE_MYSQL),mysql) +endif + +# disable connmark/forecast until net/if.h vs. linux/if.h conflict resolved +# problem exist since linux 4.5 header changes +STRONGSWAN_CONF_OPTS += \ + --disable-connmark \ + --disable-forecast + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/stunnel/Config.in b/buildroot-2022.02.1/package/stunnel/Config.in new file mode 100644 index 00000000..a46e2f03 --- /dev/null +++ b/buildroot-2022.02.1/package/stunnel/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_STUNNEL + bool "stunnel" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES + help + Stunnel is a program that wraps any TCP connection with an SSL + connection. + + http://www.stunnel.org/ diff --git a/buildroot-2021.05/package/stunnel/S50stunnel b/buildroot-2022.02.1/package/stunnel/S50stunnel similarity index 100% rename from buildroot-2021.05/package/stunnel/S50stunnel rename to buildroot-2022.02.1/package/stunnel/S50stunnel diff --git a/buildroot-2022.02.1/package/stunnel/stunnel.hash b/buildroot-2022.02.1/package/stunnel/stunnel.hash new file mode 100644 index 00000000..b8cc62be --- /dev/null +++ b/buildroot-2022.02.1/package/stunnel/stunnel.hash @@ -0,0 +1,5 @@ +# From https://www.stunnel.org/downloads/stunnel-5.60.tar.gz.sha256 +sha256 c45d765b1521861fea9b03b425b9dd7d48b3055128c0aec673bba5ef9b8f787d stunnel-5.60.tar.gz +# Locally calculated +sha256 28b55d0157efd5ceb63640faeebb50fda13b1f49aec0b9c1240b9a3ea9f0eb4c COPYING.md +sha256 62f171d4d8b6726df61f18a6bbc0a70f79c4bc2134d837d35c81fc6289a2d84d COPYRIGHT.md diff --git a/buildroot-2022.02.1/package/stunnel/stunnel.mk b/buildroot-2022.02.1/package/stunnel/stunnel.mk new file mode 100644 index 00000000..cc56eb39 --- /dev/null +++ b/buildroot-2022.02.1/package/stunnel/stunnel.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# stunnel +# +################################################################################ + +STUNNEL_VERSION_MAJOR = 5 +STUNNEL_VERSION = $(STUNNEL_VERSION_MAJOR).60 +STUNNEL_SITE = http://www.usenix.org.uk/mirrors/stunnel/archive/$(STUNNEL_VERSION_MAJOR).x +STUNNEL_DEPENDENCIES = host-pkgconf openssl +STUNNEL_CONF_OPTS = --with-ssl=$(STAGING_DIR)/usr --with-threads=fork \ + --disable-libwrap +STUNNEL_CONF_ENV = \ + ax_cv_check_cflags___fstack_protector=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) \ + LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl` +STUNNEL_LICENSE = GPL-2.0+ +STUNNEL_LICENSE_FILES = COPYING.md COPYRIGHT.md +STUNNEL_CPE_ID_VENDOR = stunnel +STUNNEL_SELINUX_MODULES = stunnel + +ifeq ($(BR2_INIT_SYSTEMD),y) +STUNNEL_DEPENDENCIES += systemd +else +STUNNEL_CONF_OPTS += --disable-systemd +endif + +define STUNNEL_INSTALL_CONF + $(INSTALL) -m 0644 -D $(@D)/tools/stunnel.conf \ + $(TARGET_DIR)/etc/stunnel/stunnel.conf + rm -f $(TARGET_DIR)/etc/stunnel/stunnel.conf-sample +endef + +STUNNEL_POST_INSTALL_TARGET_HOOKS += STUNNEL_INSTALL_CONF + +define STUNNEL_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/stunnel/S50stunnel $(TARGET_DIR)/etc/init.d/S50stunnel +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/subversion/0001-workaround-ac-run-ifelse.patch b/buildroot-2022.02.1/package/subversion/0001-workaround-ac-run-ifelse.patch similarity index 100% rename from buildroot-2021.05/package/subversion/0001-workaround-ac-run-ifelse.patch rename to buildroot-2022.02.1/package/subversion/0001-workaround-ac-run-ifelse.patch diff --git a/buildroot-2021.05/package/subversion/Config.in b/buildroot-2022.02.1/package/subversion/Config.in similarity index 100% rename from buildroot-2021.05/package/subversion/Config.in rename to buildroot-2022.02.1/package/subversion/Config.in diff --git a/buildroot-2021.05/package/subversion/subversion.hash b/buildroot-2022.02.1/package/subversion/subversion.hash similarity index 100% rename from buildroot-2021.05/package/subversion/subversion.hash rename to buildroot-2022.02.1/package/subversion/subversion.hash diff --git a/buildroot-2021.05/package/subversion/subversion.mk b/buildroot-2022.02.1/package/subversion/subversion.mk similarity index 100% rename from buildroot-2021.05/package/subversion/subversion.mk rename to buildroot-2022.02.1/package/subversion/subversion.mk diff --git a/buildroot-2021.05/package/sudo/Config.in b/buildroot-2022.02.1/package/sudo/Config.in similarity index 100% rename from buildroot-2021.05/package/sudo/Config.in rename to buildroot-2022.02.1/package/sudo/Config.in diff --git a/buildroot-2022.02.1/package/sudo/sudo.hash b/buildroot-2022.02.1/package/sudo/sudo.hash new file mode 100644 index 00000000..1b494af6 --- /dev/null +++ b/buildroot-2022.02.1/package/sudo/sudo.hash @@ -0,0 +1,4 @@ +# From: http://www.sudo.ws/download.html +sha256 9e3b8b8da7def43b6e60c257abe80467205670fd0f7c081de1423c414b680f2d sudo-1.9.8p2.tar.gz +# Locally calculated +sha256 b678438594f04a7070a5fd125f7edffc871e13234baad318690b647bfc60705d doc/LICENSE diff --git a/buildroot-2022.02.1/package/sudo/sudo.mk b/buildroot-2022.02.1/package/sudo/sudo.mk new file mode 100644 index 00000000..a7522171 --- /dev/null +++ b/buildroot-2022.02.1/package/sudo/sudo.mk @@ -0,0 +1,87 @@ +################################################################################ +# +# sudo +# +################################################################################ + +SUDO_VERSION_MAJOR = 1.9.8 +SUDO_VERSION_MINOR = p2 +SUDO_VERSION = $(SUDO_VERSION_MAJOR)$(SUDO_VERSION_MINOR) +SUDO_SITE = https://www.sudo.ws/sudo/dist +SUDO_LICENSE = ISC, BSD-3-Clause +SUDO_LICENSE_FILES = doc/LICENSE +SUDO_CPE_ID_VERSION = $(SUDO_VERSION_MAJOR) +SUDO_CPE_ID_UPDATE = $(SUDO_VERSION_MINOR) +SUDO_SELINUX_MODULES = sudo +# This is to avoid sudo's make install from chown()ing files which fails +SUDO_INSTALL_TARGET_OPTS = INSTALL_OWNER="" DESTDIR="$(TARGET_DIR)" install +SUDO_CONF_OPTS = \ + --without-lecture \ + --without-sendmail \ + --without-umask \ + --with-logging=syslog \ + --without-interfaces \ + --with-env-editor + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +define SUDO_INSTALL_PAM_CONF + $(INSTALL) -D -m 0644 package/sudo/sudo.pam $(TARGET_DIR)/etc/pam.d/sudo +endef + +SUDO_DEPENDENCIES += linux-pam +SUDO_CONF_OPTS += --with-pam +SUDO_POST_INSTALL_TARGET_HOOKS += SUDO_INSTALL_PAM_CONF +else +SUDO_CONF_OPTS += --without-pam +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +SUDO_CONF_OPTS += --enable-zlib +SUDO_DEPENDENCIES += zlib +else +SUDO_CONF_OPTS += --disable-zlib +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +SUDO_DEPENDENCIES += openldap +SUDO_CONF_OPTS += --with-ldap +else +SUDO_CONF_OPTS += --without-ldap +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SUDO_DEPENDENCIES += host-pkgconf openssl +SUDO_CONF_OPTS += --enable-openssl +else +SUDO_CONF_OPTS += --disable-openssl +endif + +# mksigname/mksiglist needs to run on build host to generate source files +define SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST + $(MAKE) $(HOST_CONFIGURE_OPTS) \ + CPPFLAGS="$(HOST_CPPFLAGS) -I../../include -I../.." \ + -C $(@D)/lib/util mksigname mksiglist +endef + +SUDO_POST_CONFIGURE_HOOKS += SUDO_BUILD_MKSIGNAME_MKSIGLIST_HOST + +define SUDO_PERMISSIONS + /usr/bin/sudo f 4755 0 0 - - - - - +endef + +define SUDO_REMOVE_DIST_EXAMPLES + $(RM) $(TARGET_DIR)/etc/sudoers.dist + rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/etc/sudoers.d +endef +SUDO_POST_INSTALL_TARGET_HOOKS += SUDO_REMOVE_DIST_EXAMPLES + +define SUDO_USERS + - - sudo -1 - - - - +endef + +define SUDO_ENABLE_SUDO_GROUP_RULE + $(SED) '/^# \%sudo\tALL=(ALL) ALL/s/^# //' $(TARGET_DIR)/etc/sudoers +endef +SUDO_POST_INSTALL_TARGET_HOOKS += SUDO_ENABLE_SUDO_GROUP_RULE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sudo/sudo.pam b/buildroot-2022.02.1/package/sudo/sudo.pam similarity index 100% rename from buildroot-2021.05/package/sudo/sudo.pam rename to buildroot-2022.02.1/package/sudo/sudo.pam diff --git a/buildroot-2021.05/package/sunwait/Config.in b/buildroot-2022.02.1/package/sunwait/Config.in similarity index 100% rename from buildroot-2021.05/package/sunwait/Config.in rename to buildroot-2022.02.1/package/sunwait/Config.in diff --git a/buildroot-2021.05/package/sunwait/sunwait.hash b/buildroot-2022.02.1/package/sunwait/sunwait.hash similarity index 100% rename from buildroot-2021.05/package/sunwait/sunwait.hash rename to buildroot-2022.02.1/package/sunwait/sunwait.hash diff --git a/buildroot-2021.05/package/sunwait/sunwait.mk b/buildroot-2022.02.1/package/sunwait/sunwait.mk similarity index 100% rename from buildroot-2021.05/package/sunwait/sunwait.mk rename to buildroot-2022.02.1/package/sunwait/sunwait.mk diff --git a/buildroot-2021.05/package/sunxi-boards/Config.in b/buildroot-2022.02.1/package/sunxi-boards/Config.in similarity index 100% rename from buildroot-2021.05/package/sunxi-boards/Config.in rename to buildroot-2022.02.1/package/sunxi-boards/Config.in diff --git a/buildroot-2021.05/package/sunxi-boards/sunxi-boards.hash b/buildroot-2022.02.1/package/sunxi-boards/sunxi-boards.hash similarity index 100% rename from buildroot-2021.05/package/sunxi-boards/sunxi-boards.hash rename to buildroot-2022.02.1/package/sunxi-boards/sunxi-boards.hash diff --git a/buildroot-2021.05/package/sunxi-boards/sunxi-boards.mk b/buildroot-2022.02.1/package/sunxi-boards/sunxi-boards.mk similarity index 100% rename from buildroot-2021.05/package/sunxi-boards/sunxi-boards.mk rename to buildroot-2022.02.1/package/sunxi-boards/sunxi-boards.mk diff --git a/buildroot-2021.05/package/sunxi-cedarx/Config.in b/buildroot-2022.02.1/package/sunxi-cedarx/Config.in similarity index 100% rename from buildroot-2021.05/package/sunxi-cedarx/Config.in rename to buildroot-2022.02.1/package/sunxi-cedarx/Config.in diff --git a/buildroot-2021.05/package/sunxi-cedarx/sunxi-cedarx.hash b/buildroot-2022.02.1/package/sunxi-cedarx/sunxi-cedarx.hash similarity index 100% rename from buildroot-2021.05/package/sunxi-cedarx/sunxi-cedarx.hash rename to buildroot-2022.02.1/package/sunxi-cedarx/sunxi-cedarx.hash diff --git a/buildroot-2021.05/package/sunxi-cedarx/sunxi-cedarx.mk b/buildroot-2022.02.1/package/sunxi-cedarx/sunxi-cedarx.mk similarity index 100% rename from buildroot-2021.05/package/sunxi-cedarx/sunxi-cedarx.mk rename to buildroot-2022.02.1/package/sunxi-cedarx/sunxi-cedarx.mk diff --git a/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/Config.in b/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/Config.in new file mode 100644 index 00000000..244283f4 --- /dev/null +++ b/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/Config.in @@ -0,0 +1,39 @@ +comment "sunxi-mali-utgard-driver needs a Linux kernel to be built" + depends on BR2_PACKAGE_SUNXI_MALI_UTGARD + depends on !BR2_LINUX_KERNEL + +config BR2_PACKAGE_SUNXI_MALI_UTGARD_DRIVER + bool "sunxi-mali-utgard-driver" + default y + depends on BR2_PACKAGE_SUNXI_MALI_UTGARD # runtime + depends on BR2_LINUX_KERNEL + select BR2_LINUX_NEEDS_MODULES # not using kernel-module infra + help + This package builds and installs the Linux kernel driver for + the Mali Utgard GPU on Allwinner platforms, compatible with + recent Linux kernels (>= 4.4). Note that it should be + installed together with the corresponding userspace OpenGL + libraries, which are provided as binaries only at: + https://github.com/bootlin/mali-blobs + + sunxi-mali-utgard-driver requires a Linux kernel >= 4.4 + with the following options enabled: + + - CONFIG_CMA + - CONFIG_DMA_CMA + + starting from Linux Kernel >= 4.20 following options must be + enabled: + - CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM + + The following kernel command line options must be passed: + + - drm_kms_helper.drm_leak_fbdev_smem = 1 + since drm_kms_helper.drm_leak_fbdev_smem is set to 0 by + default + + - drm_kms_helper.drm_fbdev_overalloc >= 200 + since the driver requires at least double buffering and + fails to work with the default value(100). + + https://github.com/mripard/sunxi-mali/blob/master/README.md diff --git a/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/sunxi-mali-utgard-driver.hash b/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/sunxi-mali-utgard-driver.hash new file mode 100644 index 00000000..4b276fec --- /dev/null +++ b/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/sunxi-mali-utgard-driver.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 0197271dbf503e866dd4873091f61bb3de1f2c3031701aac1ba205d1e2f267ac sunxi-mali-utgard-driver-e4a91c95096bb31450b556fcb13f3c4ba79f60b4.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/sunxi-mali-utgard-driver.mk b/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/sunxi-mali-utgard-driver.mk new file mode 100644 index 00000000..5f9090f4 --- /dev/null +++ b/buildroot-2022.02.1/package/sunxi-mali-utgard-driver/sunxi-mali-utgard-driver.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# sunxi-mali-utgard-driver +# +################################################################################ + +SUNXI_MALI_UTGARD_DRIVER_VERSION = e4a91c95096bb31450b556fcb13f3c4ba79f60b4 +SUNXI_MALI_UTGARD_DRIVER_SITE = $(call github,mripard,sunxi-mali,$(SUNXI_MALI_UTGARD_DRIVER_VERSION)) +SUNXI_MALI_UTGARD_DRIVER_DEPENDENCIES = linux +SUNXI_MALI_UTGARD_DRIVER_LICENSE = GPL-2.0 +SUNXI_MALI_UTGARD_DRIVER_LICENSE_FILES = LICENSE + +SUNXI_MALI_UTGARD_DRIVER_MAKE_OPTS = \ + $(LINUX_MAKE_FLAGS) \ + KDIR=$(LINUX_DIR) + +define SUNXI_MALI_UTGARD_DRIVER_USE_APPLY_PATCHES + ln -sf $(SUNXI_MALI_UTGARD_REV)/series $(@D)/patches + $(SED) 's|quilt push -a|$(TOPDIR)/support/scripts/apply-patches.sh . ../patches|' \ + $(@D)/build.sh +endef + +SUNXI_MALI_UTGARD_DRIVER_POST_PATCH_HOOKS += SUNXI_MALI_UTGARD_DRIVER_USE_APPLY_PATCHES + +define SUNXI_MALI_UTGARD_DRIVER_BUILD_CMDS + cd $(@D) && $(SUNXI_MALI_UTGARD_DRIVER_MAKE_OPTS) \ + $(SHELL) ./build.sh -r $(SUNXI_MALI_UTGARD_REV) -j $(PARALLEL_JOBS) -b +endef + +define SUNXI_MALI_UTGARD_DRIVER_INSTALL_TARGET_CMDS + cd $(@D) && $(SUNXI_MALI_UTGARD_DRIVER_MAKE_OPTS) \ + $(SHELL) ./build.sh -r $(SUNXI_MALI_UTGARD_REV) -j $(PARALLEL_JOBS) -i +endef + +define SUNXI_MALI_UTGARD_DRIVER_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_CMA) + $(call KCONFIG_ENABLE_OPT,CONFIG_DMA_CMA) + $(call KCONFIG_ENABLE_OPT,CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/sunxi-mali-utgard/Config.in b/buildroot-2022.02.1/package/sunxi-mali-utgard/Config.in new file mode 100644 index 00000000..ff49ea03 --- /dev/null +++ b/buildroot-2022.02.1/package/sunxi-mali-utgard/Config.in @@ -0,0 +1,43 @@ +config BR2_PACKAGE_SUNXI_MALI_UTGARD + bool "sunxi-mali-utgard" + depends on BR2_aarch64 || (BR2_ARM_EABIHF && BR2_arm) + depends on BR2_TOOLCHAIN_USES_GLIBC + select BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_HAS_LIBGLES + help + Install userspace Allwinner OpenGL libraries for Mali + Utgard GPUs. + + https://github.com/bootlin/mali-blobs + +if BR2_PACKAGE_SUNXI_MALI_UTGARD + +config BR2_PACKAGE_PROVIDES_LIBEGL + default "sunxi-mali-utgard" + +config BR2_PACKAGE_PROVIDES_LIBGLES + default "sunxi-mali-utgard" + +choice + prompt "Version" + default BR2_PACKAGE_SUNXI_MALI_UTGARD_R6P2 + help + Select the version of the userspace module. + +config BR2_PACKAGE_SUNXI_MALI_UTGARD_R6P2 + bool "r6p2" +config BR2_PACKAGE_SUNXI_MALI_UTGARD_R8P1 + bool "r8p1" + +endchoice + +config BR2_PACKAGE_SUNXI_MALI_UTGARD_REVISION + string + default "r6p2" if BR2_PACKAGE_SUNXI_MALI_UTGARD_R6P2 + default "r8p1" if BR2_PACKAGE_SUNXI_MALI_UTGARD_R8P1 + +endif + +comment "sunxi-mali-utgard needs an EABIhf glibc toolchain" + depends on BR2_arm + depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF diff --git a/buildroot-2021.05/package/sunxi-mali-mainline/egl.pc b/buildroot-2022.02.1/package/sunxi-mali-utgard/egl.pc similarity index 100% rename from buildroot-2021.05/package/sunxi-mali-mainline/egl.pc rename to buildroot-2022.02.1/package/sunxi-mali-utgard/egl.pc diff --git a/buildroot-2021.05/package/sunxi-mali-mainline/glesv2.pc b/buildroot-2022.02.1/package/sunxi-mali-utgard/glesv2.pc similarity index 100% rename from buildroot-2021.05/package/sunxi-mali-mainline/glesv2.pc rename to buildroot-2022.02.1/package/sunxi-mali-utgard/glesv2.pc diff --git a/buildroot-2022.02.1/package/sunxi-mali-utgard/sunxi-mali-utgard.hash b/buildroot-2022.02.1/package/sunxi-mali-utgard/sunxi-mali-utgard.hash new file mode 100644 index 00000000..c86b927e --- /dev/null +++ b/buildroot-2022.02.1/package/sunxi-mali-utgard/sunxi-mali-utgard.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b5e7e8f9f2886ed0b273f72ea16ae4868711726fe33e3d80ef24e86269c90fd2 sunxi-mali-utgard-418f55585e76f375792dbebb3e97532f0c1c556d.tar.gz +sha256 8a06bcae44a41a886f339b4338422415a786787f113e9ed6456ae117104a0b6a EULA_for_Mali_400MP_AW.pdf diff --git a/buildroot-2022.02.1/package/sunxi-mali-utgard/sunxi-mali-utgard.mk b/buildroot-2022.02.1/package/sunxi-mali-utgard/sunxi-mali-utgard.mk new file mode 100644 index 00000000..f6936679 --- /dev/null +++ b/buildroot-2022.02.1/package/sunxi-mali-utgard/sunxi-mali-utgard.mk @@ -0,0 +1,49 @@ +################################################################################ +# +# sunxi-mali-utgard +# +################################################################################ + +SUNXI_MALI_UTGARD_VERSION = 418f55585e76f375792dbebb3e97532f0c1c556d +SUNXI_MALI_UTGARD_SITE = $(call github,bootlin,mali-blobs,$(SUNXI_MALI_UTGARD_VERSION)) +SUNXI_MALI_UTGARD_INSTALL_STAGING = YES +SUNXI_MALI_UTGARD_PROVIDES = libegl libgles +SUNXI_MALI_UTGARD_LICENSE = Allwinner End User Licence Agreement +SUNXI_MALI_UTGARD_EULA_ORIGINAL = EULA\ for\ Mali\ 400MP\ _AW.pdf +SUNXI_MALI_UTGARD_EULA_NO_SPACES = EULA_for_Mali_400MP_AW.pdf +SUNXI_MALI_UTGARD_LICENSE_FILES = $(SUNXI_MALI_UTGARD_EULA_NO_SPACES) + +SUNXI_MALI_UTGARD_REV = $(call qstrip,$(BR2_PACKAGE_SUNXI_MALI_UTGARD_REVISION)) + +ifeq ($(BR2_arm),y) +SUNXI_MALI_UTGARD_ARCH=arm +else ifeq ($(BR2_aarch64),y) +SUNXI_MALI_UTGARD_ARCH=arm64 +endif + +define SUNXI_MALI_UTGARD_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/lib $(STAGING_DIR)/usr/include + + cp -rf $(@D)/$(SUNXI_MALI_UTGARD_REV)/$(SUNXI_MALI_UTGARD_ARCH)/fbdev/*.so* \ + $(STAGING_DIR)/usr/lib/ + cp -rf $(@D)/include/fbdev/* $(STAGING_DIR)/usr/include/ + + $(INSTALL) -D -m 0644 package/sunxi-mali-utgard/egl.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/egl.pc + $(INSTALL) -D -m 0644 package/sunxi-mali-utgard/glesv2.pc \ + $(STAGING_DIR)/usr/lib/pkgconfig/glesv2.pc +endef + +define SUNXI_MALI_UTGARD_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/usr/lib + cp -rf $(@D)/$(SUNXI_MALI_UTGARD_REV)/$(SUNXI_MALI_UTGARD_ARCH)/fbdev/*.so* \ + $(TARGET_DIR)/usr/lib/ +endef + +define SUNXI_MALI_UTGARD_FIXUP_LICENSE_FILE + mv $(@D)/$(SUNXI_MALI_UTGARD_EULA_ORIGINAL) $(@D)/$(SUNXI_MALI_UTGARD_EULA_NO_SPACES) +endef + +SUNXI_MALI_UTGARD_POST_PATCH_HOOKS += SUNXI_MALI_UTGARD_FIXUP_LICENSE_FILE + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/sunxi-tools/0001-meminfo-Access-to-io-memory-via-pointers.patch b/buildroot-2022.02.1/package/sunxi-tools/0001-meminfo-Access-to-io-memory-via-pointers.patch similarity index 100% rename from buildroot-2021.05/package/sunxi-tools/0001-meminfo-Access-to-io-memory-via-pointers.patch rename to buildroot-2022.02.1/package/sunxi-tools/0001-meminfo-Access-to-io-memory-via-pointers.patch diff --git a/buildroot-2021.05/package/sunxi-tools/Config.in b/buildroot-2022.02.1/package/sunxi-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/sunxi-tools/Config.in rename to buildroot-2022.02.1/package/sunxi-tools/Config.in diff --git a/buildroot-2021.05/package/sunxi-tools/Config.in.host b/buildroot-2022.02.1/package/sunxi-tools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/sunxi-tools/Config.in.host rename to buildroot-2022.02.1/package/sunxi-tools/Config.in.host diff --git a/buildroot-2021.05/package/sunxi-tools/sunxi-tools.hash b/buildroot-2022.02.1/package/sunxi-tools/sunxi-tools.hash similarity index 100% rename from buildroot-2021.05/package/sunxi-tools/sunxi-tools.hash rename to buildroot-2022.02.1/package/sunxi-tools/sunxi-tools.hash diff --git a/buildroot-2022.02.1/package/sunxi-tools/sunxi-tools.mk b/buildroot-2022.02.1/package/sunxi-tools/sunxi-tools.mk new file mode 100644 index 00000000..59d1f3b5 --- /dev/null +++ b/buildroot-2022.02.1/package/sunxi-tools/sunxi-tools.mk @@ -0,0 +1,63 @@ +################################################################################ +# +# sunxi-tools +# +################################################################################ + +SUNXI_TOOLS_VERSION = 1.4.2 +SUNXI_TOOLS_SITE = $(call github,linux-sunxi,sunxi-tools,v$(SUNXI_TOOLS_VERSION)) +SUNXI_TOOLS_LICENSE = GPL-2.0+ +SUNXI_TOOLS_LICENSE_FILES = LICENSE.md +HOST_SUNXI_TOOLS_DEPENDENCIES = host-libusb host-pkgconf +FEX2BIN = $(HOST_DIR)/bin/fex2bin + +SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_FEXC) += sunxi-fexc +SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_BOOTINFO) += sunxi-bootinfo +SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_FEL) += sunxi-fel +SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_NAND_PART) += sunxi-nand-part +SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_PIO) += sunxi-pio +SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_MEMINFO) += sunxi-meminfo +SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_PHOENIX_INFO) += phoenix_info +SUNXI_TOOLS_TARGETS_$(BR2_PACKAGE_SUNXI_TOOLS_NAND_IMAGE_BUILDER) += \ + sunxi-nand-image-builder + +ifeq ($(BR2_PACKAGE_SUNXI_TOOLS_FEXC),y) +SUNXI_TOOLS_FEXC_LINKS += fex2bin bin2fex +endif + +ifeq ($(BR2_PACKAGE_SUNXI_TOOLS_FEL),y) +SUNXI_TOOLS_DEPENDENCIES += libusb host-pkgconf +endif + +define HOST_SUNXI_TOOLS_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) CROSS_COMPILE="" CC="$(HOSTCC)" \ + PREFIX=$(HOST_DIR) EXTRA_CFLAGS="$(HOST_CFLAGS)" \ + LDFLAGS="$(HOST_LDFLAGS)" -C $(@D) tools misc +endef + +define HOST_SUNXI_TOOLS_INSTALL_CMDS + $(HOST_MAKE_ENV) $(MAKE) CROSS_COMPILE="" CC="$(HOSTCC)" \ + PREFIX=$(HOST_DIR) EXTRA_CFLAGS="$(HOST_CFLAGS)" \ + LDFLAGS="$(HOST_LDFLAGS)" -C $(@D) install-tools install-misc +endef + +define SUNXI_TOOLS_BUILD_CMDS + $(foreach t,$(SUNXI_TOOLS_TARGETS_y), \ + $(TARGET_MAKE_ENV) $(MAKE) CROSS_COMPILE="$(TARGET_CROSS)" \ + CC="$(TARGET_CC)" PREFIX=/usr \ + EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) $(t) + ) +endef + +define SUNXI_TOOLS_INSTALL_TARGET_CMDS + $(foreach t,$(SUNXI_TOOLS_TARGETS_y), \ + $(INSTALL) -D -m 0755 $(@D)/$(t) $(TARGET_DIR)/usr/bin/$(t) + ) + $(foreach t,$(SUNXI_TOOLS_FEXC_LINKS), \ + ln -nfs sunxi-fexc $(TARGET_DIR)/usr/bin/$(t) + ) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2022.02.1/package/supertux/Config.in b/buildroot-2022.02.1/package/supertux/Config.in new file mode 100644 index 00000000..e8e96a3a --- /dev/null +++ b/buildroot-2022.02.1/package/supertux/Config.in @@ -0,0 +1,45 @@ +config BR2_PACKAGE_SUPERTUX + bool "supertux" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_PACKAGE_HAS_LIBGL # libglew + depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS + depends on BR2_PACKAGE_XORG7 # libglew, SDL2 OpenGL (GLX) + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_6 # C++14 + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem + depends on BR2_USE_MMU # SDL2 OpenGL (GLX) + depends on !BR2_STATIC_LIBS # SDL2 + depends on BR2_USE_WCHAR # Boost + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_LOCALE + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_GLM + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBGLEW + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_LIBVORBIS + select BR2_PACKAGE_OPENAL + select BR2_PACKAGE_PHYSFS + select BR2_PACKAGE_SDL2 + select BR2_PACKAGE_SDL2_IMAGE + select BR2_PACKAGE_SDL2_OPENGL + select BR2_PACKAGE_ZLIB + help + SuperTux is a free classic 2D jump'n run sidescroller game in + a style similar to the original Super Mario games covered + under the GNU GPL. + + http://supertux.github.io/ + +comment "supertux needs OpenGL and a toolchain w/ C++, gcc >= 6, NPTL, dynamic library, wchar" + depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_HAS_LIBGL || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_6 || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + BR2_STATIC_LIBS || !BR2_USE_WCHAR diff --git a/buildroot-2022.02.1/package/supertux/supertux.hash b/buildroot-2022.02.1/package/supertux/supertux.hash new file mode 100644 index 00000000..f28c06b5 --- /dev/null +++ b/buildroot-2022.02.1/package/supertux/supertux.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 f7940e6009c40226eb34ebab8ffb0e3a894892d891a07b35d0e5762dd41c79f6 SuperTux-v0.6.3-Source.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE.txt +sha256 a000d91146a61b44bdb79c3d2737e82d488b6cd65a23e0415e56915233def0a0 data/AUTHORS diff --git a/buildroot-2022.02.1/package/supertux/supertux.mk b/buildroot-2022.02.1/package/supertux/supertux.mk new file mode 100644 index 00000000..3941632f --- /dev/null +++ b/buildroot-2022.02.1/package/supertux/supertux.mk @@ -0,0 +1,73 @@ +################################################################################ +# +# supertux +# +################################################################################ + +SUPERTUX_VERSION = 0.6.3 +SUPERTUX_SITE = https://github.com/SuperTux/supertux/releases/download/v$(SUPERTUX_VERSION) +SUPERTUX_SOURCE = SuperTux-v$(SUPERTUX_VERSION)-Source.tar.gz + +# Supertux itself is GPL-3.0+, but it bundles a few libraries with different +# licenses (sexp-cpp, squirrel, tinygettext) which are linked statically. +SUPERTUX_LICENSE = GPL-3.0+ (code), CC-BY-SA-2.0, CC-BY-SA-3.0, CC-BY-SA-4.0, GPL-2.0+ (images music sounds) +SUPERTUX_LICENSE_FILES = LICENSE.txt data/AUTHORS + +# Use bundled squirrel, tinygettext sexp-cpp packages which are hardcoded in +# the CMake build system. +SUPERTUX_DEPENDENCIES = host-pkgconf boost freetype glm libcurl libgl libglew \ + libogg libpng libvorbis openal physfs sdl2 sdl2_image zlib + +# CMAKE_BUILD_TYPE=Release: disable profiling code (-pg) +# ENABLE_BOOST_STATIC_LIBS=OFF: use boost shared libraries since supertux +# depends on !BR2_STATIC_LIBS and boost provide only shared libraries with +# BR2_SHARED_LIBS. +# ENABLE_OPENGL=ON: Can be disabled but will make SuperTux unplayable slow. +# GLBINDING_ENABLED=OFF: use GLEW (default) instead of glbinding. +# Install the game directly in /usr/bin and game data in /usr/share/supertux2. +# Force using physfs.so from staging since the check on PHYSFS_getPrefDir symbol +# in physfs.h (CHECK_SYMBOL_EXISTS) doesn't work. +# ENABLE_OPENGLES2=OFF: Disable opengles2 for now. +SUPERTUX_CONF_OPTS += \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -DGLEW_NO_GLU" \ + -DENABLE_BOOST_STATIC_LIBS=OFF \ + -DBUILD_DOCUMENTATION=OFF \ + -DENABLE_OPENGL=ON \ + -DGLBINDING_ENABLED=OFF \ + -DINSTALL_SUBDIR_BIN="bin" \ + -DINSTALL_SUBDIR_SHARE="share/supertux2" \ + -DUSE_SYSTEM_PHYSFS=ON \ + -DENABLE_OPENGLES2=OFF + +# Avoid incompatible posix_memalign declaration on x86 and x86_64 with +# musl. +# https://gcc.gnu.org/ml/gcc-patches/2015-05/msg01425.html +ifeq ($(BR2_TOOLCHAIN_USES_MUSL):$(BR2_i386)$(BR2_x86_64),y:y) +define SUPERTUX_REMOVE_PEDANTIC + $(SED) 's% -pedantic%%' $(@D)/CMakeLists.txt + $(SED) 's%CHECK_CXX_FLAG(pedantic)%%' $(@D)/external/tinygettext/CMakeLists.txt +endef +SUPERTUX_POST_PATCH_HOOKS += SUPERTUX_REMOVE_PEDANTIC +endif + +# From https://bugs.debian.org/cgi-bin/bugreport.cgi/?bug=770670 +# "The problem lies within SDL_cpuinfo.h. It includes altivec.h, which by +# definition provides an unconditional vector, pixel and bool define in +# standard-c++ mode. In GNU-c++ mode this names are only defined +# context-sensitive by cpp. SDL_cpuinfo.h is included by SDL.h. +# Including altivec.h makes arbitrary code break." +# +# Acording to a bug report in GCC [1]: +# "You need to use -std=g++11 or undefine bool after the include of altivec.h +# as context sensitive keywords is not part of the C++11 standard". +# So use gnu++11 instead of c++11 only for altivec system. +# [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241#c3 +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) +define SUPERTUX_FIX_ALTIVEC_ISSUE + $(SED) 's%std=c++0x%std=gnu++0x%' $(@D)/external/tinygettext/CMakeLists.txt +endef +SUPERTUX_POST_PATCH_HOOKS += SUPERTUX_FIX_ALTIVEC_ISSUE +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/supertuxkart/Config.in b/buildroot-2022.02.1/package/supertuxkart/Config.in new file mode 100644 index 00000000..31941575 --- /dev/null +++ b/buildroot-2022.02.1/package/supertuxkart/Config.in @@ -0,0 +1,46 @@ +config BR2_PACKAGE_SUPERTUXKART + bool "supertuxkart" + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_USE_MMU # fork() + depends on BR2_INSTALL_LIBSTDCPP # openal + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # harfbuzz, openal + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal + depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS # openal + depends on BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_XORG7 + depends on !BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_ENET + select BR2_PACKAGE_HARFBUZZ + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBOGG + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_LIBSQUISH + select BR2_PACKAGE_LIBVORBIS + select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS + select BR2_PACKAGE_OPENAL + select BR2_PACKAGE_SDL2 + select BR2_PACKAGE_XLIB_LIBXRANDR + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_HID if BR2_PACKAGE_BLUEZ5_UTILS && BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 # runtime + help + Karts. Nitro. Action! SuperTuxKart is a free 3D arcade kart + racer with multiple karts, tracks and modes you can play. + Beat the evil Nolok by any means necessary, and make the + mascot kingdom safe once again! + + http://supertuxkart.sourceforge.net/Main_Page + +comment "supertuxkart needs an OpenGL backend, a uClibc or glibc toolchain w/ NPTL, C++, gcc >= 4.9" + depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_USE_MMU + depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS + depends on BR2_PACKAGE_XORG7 + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \ + || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ + || !BR2_PACKAGE_HAS_LIBGL \ + || BR2_TOOLCHAIN_USES_MUSL diff --git a/buildroot-2022.02.1/package/supertuxkart/supertuxkart.hash b/buildroot-2022.02.1/package/supertuxkart/supertuxkart.hash new file mode 100644 index 00000000..306634d2 --- /dev/null +++ b/buildroot-2022.02.1/package/supertuxkart/supertuxkart.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 eeabeb0d9801688a218f6f0a76ea3546a46a322ccaca9a258148ecacfe083ffd SuperTuxKart-1.3-src.tar.xz +sha256 d27207a5213f746aac53893e9ecc18456e9595d3ffa662bd1ec9eb10787c214a COPYING diff --git a/buildroot-2022.02.1/package/supertuxkart/supertuxkart.mk b/buildroot-2022.02.1/package/supertuxkart/supertuxkart.mk new file mode 100644 index 00000000..8ec366f7 --- /dev/null +++ b/buildroot-2022.02.1/package/supertuxkart/supertuxkart.mk @@ -0,0 +1,68 @@ +################################################################################ +# +# supertuxkart +# +################################################################################ + +SUPERTUXKART_VERSION = 1.3 +SUPERTUXKART_SOURCE = SuperTuxKart-$(SUPERTUXKART_VERSION)-src.tar.xz +# Do not use the github helper here, the generated tarball is *NOT* +# the same as the one uploaded by upstream for the release. +SUPERTUXKART_SITE = https://github.com/supertuxkart/stk-code/releases/download/$(SUPERTUXKART_VERSION) + +# Supertuxkart itself is GPL-3.0+, but it bundles a few libraries with different +# licenses. Irrlicht, bullet and angelscript have Zlib license, while glew is +# BSD-3-Clause. Since they are linked statically, the result is GPL-3.0+. +SUPERTUXKART_LICENSE = GPL-3.0+ +SUPERTUXKART_LICENSE_FILES = COPYING + +SUPERTUXKART_DEPENDENCIES = \ + host-pkgconf \ + freetype \ + enet \ + harfbuzz \ + jpeg \ + libcurl \ + libgl \ + libogg \ + libpng \ + libsquish \ + libvorbis \ + openal \ + sdl2 \ + xlib_libXrandr \ + zlib + +# Since supertuxkart is not installing libstkirrlicht.so, and since it is +# the only user of the bundled libraries, turn off shared libraries entirely. +# Disable In-game recorder (there is no libopenglrecorder package) +SUPERTUXKART_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF \ + -DBUILD_RECORDER=OFF \ + -DUSE_SYSTEM_ENET=ON \ + -DUSE_SYSTEM_SQUISH=ON + +ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y) +SUPERTUXKART_DEPENDENCIES += bluez5_utils +SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=ON -DUSE_SYSTEM_WIIUSE=ON +else +# Wiimote support relies on bluez5. +SUPERTUXKART_CONF_OPTS += -DUSE_WIIUSE=OFF +endif + +# Prefer openssl (the default) over mbedtls +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SUPERTUXKART_DEPENDENCIES += openssl +SUPERTUXKART_CONF_OPTS += -DUSE_CRYPTO_OPENSSL=ON +else +SUPERTUXKART_DEPENDENCIES += mbedtls +SUPERTUXKART_CONF_OPTS += -DUSE_CRYPTO_OPENSSL=OFF +endif + +ifeq ($(BR2_PACKAGE_SQLITE),y) +SUPERTUXKART_DEPENDENCIES += sqlite +SUPERTUXKART_CONF_OPTS += -DUSE_SQLITE3=ON +else +SUPERTUXKART_CONF_OPTS += -DUSE_SQLITE3=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/supervisor/Config.in b/buildroot-2022.02.1/package/supervisor/Config.in new file mode 100644 index 00000000..8ba19dc0 --- /dev/null +++ b/buildroot-2022.02.1/package/supervisor/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_SUPERVISOR + bool "supervisor" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime dependency + help + A client/server system that allows its users to control a + number of processes on UNIX-like operating systems. + + http://supervisord.org/ + +comment "supervisor needs a python interpreter" + depends on !BR2_PACKAGE_PYTHON3 diff --git a/buildroot-2021.05/package/supervisor/S99supervisord b/buildroot-2022.02.1/package/supervisor/S99supervisord similarity index 100% rename from buildroot-2021.05/package/supervisor/S99supervisord rename to buildroot-2022.02.1/package/supervisor/S99supervisord diff --git a/buildroot-2022.02.1/package/supervisor/supervisor.hash b/buildroot-2022.02.1/package/supervisor/supervisor.hash new file mode 100644 index 00000000..f6e9cf97 --- /dev/null +++ b/buildroot-2022.02.1/package/supervisor/supervisor.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 5b2b8882ec8a3c3733cce6965cc098b6d80b417f21229ab90b18fe551d619f90 supervisor-4.2.2.tar.gz +sha256 7b8dbd54ab1543b07b2fc5f6f5ab50d89d26c1c4952af93a579d8c52c56b8de4 COPYRIGHT.txt +sha256 4c35fda9f70bb7883fd94e5a4d5addd88ad1a6d5d15e21c9d17c4d96fdc5e369 LICENSES.txt diff --git a/buildroot-2022.02.1/package/supervisor/supervisor.mk b/buildroot-2022.02.1/package/supervisor/supervisor.mk new file mode 100644 index 00000000..ad34c031 --- /dev/null +++ b/buildroot-2022.02.1/package/supervisor/supervisor.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# supervisor +# +################################################################################ + +SUPERVISOR_VERSION = 4.2.2 +SUPERVISOR_SITE = https://files.pythonhosted.org/packages/d3/7f/c780b7471ba0ff4548967a9f7a8b0bfce222c3a496c3dfad0164172222b0 +SUPERVISOR_LICENSE = BSD-like, rdflib (http_client.py), PSF (medusa) +SUPERVISOR_LICENSE_FILES = COPYRIGHT.txt LICENSES.txt +SUPERVISOR_CPE_ID_VENDOR = supervisord +SUPERVISOR_SETUP_TYPE = setuptools + +define SUPERVISOR_INSTALL_CONF_FILES + $(INSTALL) -d -m 755 $(TARGET_DIR)/etc/supervisor.d + $(INSTALL) -D -m 644 package/supervisor/supervisord.conf \ + $(TARGET_DIR)/etc/supervisord.conf +endef + +SUPERVISOR_POST_INSTALL_TARGET_HOOKS += SUPERVISOR_INSTALL_CONF_FILES + +define SUPERVISOR_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/supervisor/S99supervisord \ + $(TARGET_DIR)/etc/init.d/S99supervisord +endef + +define SUPERVISOR_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/supervisor/supervisord.service \ + $(TARGET_DIR)/usr/lib/systemd/system/supervisord.service +endef + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/supervisor/supervisord.conf b/buildroot-2022.02.1/package/supervisor/supervisord.conf similarity index 100% rename from buildroot-2021.05/package/supervisor/supervisord.conf rename to buildroot-2022.02.1/package/supervisor/supervisord.conf diff --git a/buildroot-2021.05/package/supervisor/supervisord.service b/buildroot-2022.02.1/package/supervisor/supervisord.service similarity index 100% rename from buildroot-2021.05/package/supervisor/supervisord.service rename to buildroot-2022.02.1/package/supervisor/supervisord.service diff --git a/buildroot-2021.05/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch b/buildroot-2022.02.1/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch similarity index 100% rename from buildroot-2021.05/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch rename to buildroot-2022.02.1/package/suricata/0001-python-ensure-proper-shabang-on-python-scripts.patch diff --git a/buildroot-2021.05/package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch b/buildroot-2022.02.1/package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch similarity index 100% rename from buildroot-2021.05/package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch rename to buildroot-2022.02.1/package/suricata/0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch diff --git a/buildroot-2021.05/package/suricata/Config.in b/buildroot-2022.02.1/package/suricata/Config.in similarity index 100% rename from buildroot-2021.05/package/suricata/Config.in rename to buildroot-2022.02.1/package/suricata/Config.in diff --git a/buildroot-2021.05/package/suricata/S99suricata b/buildroot-2022.02.1/package/suricata/S99suricata similarity index 100% rename from buildroot-2021.05/package/suricata/S99suricata rename to buildroot-2022.02.1/package/suricata/S99suricata diff --git a/buildroot-2022.02.1/package/suricata/suricata.hash b/buildroot-2022.02.1/package/suricata/suricata.hash new file mode 100644 index 00000000..098740e7 --- /dev/null +++ b/buildroot-2022.02.1/package/suricata/suricata.hash @@ -0,0 +1,6 @@ +# Locally computed: +sha256 a8f197e33d1678689ebbf7bc1abe84934c465d22c504c47c2c7e9b74aa042d0d suricata-6.0.4.tar.gz + +# Hash for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/suricata/suricata.mk b/buildroot-2022.02.1/package/suricata/suricata.mk new file mode 100644 index 00000000..86d89701 --- /dev/null +++ b/buildroot-2022.02.1/package/suricata/suricata.mk @@ -0,0 +1,136 @@ +################################################################################ +# +# suricata +# +################################################################################ + +SURICATA_VERSION = 6.0.4 +SURICATA_SITE = https://www.openinfosecfoundation.org/download +SURICATA_LICENSE = GPL-2.0 +SURICATA_LICENSE_FILES = COPYING LICENSE +SURICATA_CPE_ID_VENDOR = oisf +# 0001-python-ensure-proper-shabang-on-python-scripts.patch +# 0002-configure.ac-allow-the-user-to-override-RUST_TARGET.patch +SURICATA_AUTORECONF = YES + +SURICATA_DEPENDENCIES = \ + host-pkgconf \ + host-rustc \ + jansson \ + $(if $(BR2_PACKAGE_LIBCAP_NG),libcap-ng) \ + $(if $(BR2_PACKAGE_LIBEVENT),libevent) \ + libhtp \ + $(if $(BR2_PACKAGE_LIBNFNETLINK),libnfnetlink) \ + libpcap \ + libyaml \ + $(if $(BR2_PACKAGE_LZ4),lz4) \ + pcre \ + $(if $(BR2_PACKAGE_XZ),xz) + +SURICATA_CONF_ENV = \ + ac_cv_path_HAVE_SPHINXBUILD=no \ + CARGO_HOME=$(HOST_DIR)/share/cargo \ + RUST_TARGET=$(RUSTC_TARGET_NAME) + +SURICATA_CONF_OPTS = \ + --disable-gccprotect \ + --disable-pie \ + --disable-suricata-update \ + --enable-non-bundled-htp + +# install: install binaries +# install-conf: install initial configuration files +# install-full: install binaries, configuration and rules (rules will be +# download through wget/curl) +SURICATA_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install install-conf + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +SURICATA_CONF_ENV += LIBS=-latomic +endif + +ifeq ($(BR2_PACKAGE_FILE),y) +SURICATA_DEPENDENCIES += file +SURICATA_CONF_OPTS += --enable-libmagic +else +SURICATA_CONF_OPTS += --disable-libmagic +endif + +ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y) +SURICATA_DEPENDENCIES += libmaxminddb +SURICATA_CONF_OPTS += --enable-geoip +else +SURICATA_CONF_OPTS += --disable-geoip +endif + +ifeq ($(BR2_PACKAGE_HIREDIS),y) +SURICATA_DEPENDENCIES += hiredis +SURICATA_CONF_OPTS += --enable-hiredis +else +SURICATA_CONF_OPTS += --disable-hiredis +endif + +ifeq ($(BR2_PACKAGE_LIBNET),y) +SURICATA_DEPENDENCIES += libnet +SURICATA_CONF_OPTS += --with-libnet-includes=$(STAGING_DIR)/usr/include +endif + +ifeq ($(BR2_PACKAGE_LIBNETFILTER_LOG),y) +SURICATA_DEPENDENCIES += libnetfilter_log +SURICATA_CONF_OPTS += --enable-nflog +else +SURICATA_CONF_OPTS += --disable-nflog +endif + +ifeq ($(BR2_PACKAGE_LIBNETFILTER_QUEUE),y) +SURICATA_DEPENDENCIES += libnetfilter_queue +SURICATA_CONF_OPTS += --enable-nfqueue +else +SURICATA_CONF_OPTS += --disable-nfqueue +endif + +ifeq ($(BR2_PACKAGE_LIBNSPR),y) +SURICATA_DEPENDENCIES += libnspr +SURICATA_CONF_OPTS += --enable-nspr +else +SURICATA_CONF_OPTS += --disable-nspr +endif + +ifeq ($(BR2_PACKAGE_LIBNSS),y) +SURICATA_DEPENDENCIES += libnss +SURICATA_CONF_OPTS += --enable-nss +else +SURICATA_CONF_OPTS += --disable-nss +endif + +ifeq ($(BR2_PACKAGE_LUA),y) +SURICATA_CONF_OPTS += --enable-lua +SURICATA_DEPENDENCIES += lua +else +SURICATA_CONF_OPTS += --disable-lua +endif + +ifeq ($(BR2_PACKAGE_LUAJIT),y) +SURICATA_CONF_OPTS += --enable-luajit +SURICATA_DEPENDENCIES += luajit +else +SURICATA_CONF_OPTS += --disable-luajit +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +SURICATA_CONF_OPTS += --enable-python +SURICATA_DEPENDENCIES += python3 +else +SURICATA_CONF_OPTS += --disable-python +endif + +define SURICATA_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/suricata/S99suricata \ + $(TARGET_DIR)/etc/init.d/S99suricata +endef + +define SURICATA_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/suricata/suricata.service \ + $(TARGET_DIR)/usr/lib/systemd/system/suricata.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/suricata/suricata.service b/buildroot-2022.02.1/package/suricata/suricata.service similarity index 100% rename from buildroot-2021.05/package/suricata/suricata.service rename to buildroot-2022.02.1/package/suricata/suricata.service diff --git a/buildroot-2021.05/package/swig/Config.in.host b/buildroot-2022.02.1/package/swig/Config.in.host similarity index 100% rename from buildroot-2021.05/package/swig/Config.in.host rename to buildroot-2022.02.1/package/swig/Config.in.host diff --git a/buildroot-2021.05/package/swig/swig.hash b/buildroot-2022.02.1/package/swig/swig.hash similarity index 100% rename from buildroot-2021.05/package/swig/swig.hash rename to buildroot-2022.02.1/package/swig/swig.hash diff --git a/buildroot-2021.05/package/swig/swig.mk b/buildroot-2022.02.1/package/swig/swig.mk similarity index 100% rename from buildroot-2021.05/package/swig/swig.mk rename to buildroot-2022.02.1/package/swig/swig.mk diff --git a/buildroot-2022.02.1/package/swupdate/10-mongoose-args b/buildroot-2022.02.1/package/swupdate/10-mongoose-args new file mode 100644 index 00000000..d0b0f8be --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/10-mongoose-args @@ -0,0 +1 @@ +SWUPDATE_WEBSERVER_ARGS="-r /var/www/swupdate ${SWUPDATE_MONGOOSE_EXTRA_ARGS:--p 8080}" diff --git a/buildroot-2022.02.1/package/swupdate/90-start-progress b/buildroot-2022.02.1/package/swupdate/90-start-progress new file mode 100644 index 00000000..3b0eb5e7 --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/90-start-progress @@ -0,0 +1 @@ +exec /usr/bin/swupdate-progress -w -r & diff --git a/buildroot-2022.02.1/package/swupdate/Config.in b/buildroot-2022.02.1/package/swupdate/Config.in new file mode 100644 index 00000000..7d9fc90e --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/Config.in @@ -0,0 +1,92 @@ +config BR2_PACKAGE_SWUPDATE + bool "swupdate" + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + # swupdate requires a parser and uses libconfig as default + select BR2_PACKAGE_LIBCONFIG if !BR2_PACKAGE_JSON_C && \ + !BR2_PACKAGE_HAS_LUAINTERPRETER + help + swupdate provides a reliable way to update the software on + an embedded system. + + swupdate is highly configurable to fit the targets + requirements and to minimize the footprint. The provided + default configuration file BR2_PACKAGE_SWUPDATE_CONFIG will + enable swupdate with an embedded webserver, a parser and a + handler for raw NAND or NOR flash. + + The default configuration file builds a reasonable firmware + update system with minimal external dependencies in mind. + If you like to use your own modified configuration, + you have to select the necessary packages manually: + + * Select BR2_PACKAGE_LUA or BR2_PACKAGE_LUAJIT if you want + want to have Lua support. + * Select BR2_PACKAGE_LIBCURL if you want to use the download + feature. + * Select BR2_PACKAGE_OPENSSL or BR2_PACKAGE_MBEDTLS if you + want to add encryption support. + * Select BR2_PACKAGE_MTD if you want to use swupdate with + UBI partitions. + * Select BR2_PACKAGE_ZLIB if you want to deal with gzip + compressed archives. + * Select BR2_PACKAGE_ZSTD if you want to deal with zstd + compressed archives. + * Select BR2_PACKAGE_ZEROMQ to add support for using a + remote handler. + * Select BR2_PACKAGE_LIBRSYNC to add support for using + rdiff handler. + * Select BR2_PACKAGE_LIBUBOOTENV to add support for setting + the U-Boot environment. + * Select BR2_PACKAGE_LIBGPIOD to add support for + microcontroller firmware update. + * Select BR2_PACKAGE_EFIBOOTMGR to add support for EFI Boot + Guard. + * Select BR2_PACKAGE_LIBCURL, BR2_PACKAGE_JSON_C, + BR2_PACKAGE_LIBWEBSOCKETS, and BR2_PACKAGE_LIBURIPARSER + to add support for the SWU forwarder. + + https://sbabic.github.io/swupdate + +if BR2_PACKAGE_SWUPDATE + +config BR2_PACKAGE_SWUPDATE_CONFIG + string "swupdate configuration file" + default "package/swupdate/swupdate.config" + help + Path to the swupdate configuration file. + + I you wish to use your own modified swupdate configuration + file specify the config file location with this option. + +config BR2_PACKAGE_SWUPDATE_USB + bool "swupdate usb" + depends on BR2_PACKAGE_SYSTEMD + help + Enable update from USB disk. + +comment "swupdate usb needs systemd" + depends on !BR2_PACKAGE_SYSTEMD + +config BR2_PACKAGE_SWUPDATE_WEBSERVER + bool "swupdate webserver" + default y + help + Enable update from remote using a web server on the target. + +config BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE + bool "install default website" + default y + depends on BR2_PACKAGE_SWUPDATE_WEBSERVER + help + Install the provided website to /var/www/swupdate. + + This is necessary if you want to run swupdate with the + embedded webserver and do not provide an own website to be + installed to /var/www/swupdate. +endif + +comment "swupdate needs a toolchain w/ dynamic library, threads" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/swupdate/S80swupdate b/buildroot-2022.02.1/package/swupdate/S80swupdate similarity index 100% rename from buildroot-2021.05/package/swupdate/S80swupdate rename to buildroot-2022.02.1/package/swupdate/S80swupdate diff --git a/buildroot-2022.02.1/package/swupdate/swupdate-progress.service b/buildroot-2022.02.1/package/swupdate/swupdate-progress.service new file mode 100644 index 00000000..0d464bb4 --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/swupdate-progress.service @@ -0,0 +1,9 @@ +[Unit] +Description=swupdate progress service +After=swupdate.service + +[Service] +ExecStart=/usr/bin/swupdate-progress -r -w + +[Install] +WantedBy=swupdate.service diff --git a/buildroot-2022.02.1/package/swupdate/swupdate-usb.rules b/buildroot-2022.02.1/package/swupdate/swupdate-usb.rules new file mode 100644 index 00000000..72e003d7 --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/swupdate-usb.rules @@ -0,0 +1 @@ +ACTION=="add", KERNEL=="sd*", SUBSYSTEM=="block", ENV{ID_BUS}=="usb", ENV{ID_FS_USAGE}=="filesystem", TAG+="systemd", ENV{SYSTEMD_WANTS}+="swupdate-usb@%k.service" diff --git a/buildroot-2022.02.1/package/swupdate/swupdate-usb@.service b/buildroot-2022.02.1/package/swupdate/swupdate-usb@.service new file mode 100644 index 00000000..eda9d153 --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/swupdate-usb@.service @@ -0,0 +1,8 @@ +[Unit] +Description=usb media swupdate service +Requires=swupdate-progress.service + +[Service] +ExecStartPre=/bin/mount /dev/%I /mnt +ExecStart=/bin/sh -c "swupdate-client -v /mnt/*.swu" +ExecStopPost=/bin/umount /mnt diff --git a/buildroot-2021.05/package/swupdate/swupdate.config b/buildroot-2022.02.1/package/swupdate/swupdate.config similarity index 100% rename from buildroot-2021.05/package/swupdate/swupdate.config rename to buildroot-2022.02.1/package/swupdate/swupdate.config diff --git a/buildroot-2022.02.1/package/swupdate/swupdate.hash b/buildroot-2022.02.1/package/swupdate/swupdate.hash new file mode 100644 index 00000000..e431ecf4 --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/swupdate.hash @@ -0,0 +1,12 @@ +# Locally calculated +sha256 4d078e57bb91e17025ee8cb1bb54c25532e8d2dbe329bba6a7a0328ac34a07e3 swupdate-2021.11.tar.gz +sha256 4cf04ed34ff0ebbf5c71345b56e6af5093fc17206364cca0ebbae92ef3940683 LICENSES/BSD-1-Clause.txt +sha256 e27a3e87706b3aa5ff2e50eaafe2e6ed5397fbf2d7679eaf444a6d000518a3a6 LICENSES/BSD-3-Clause.txt +sha256 0558101984550fa84d1d13c2af11d116c20079d2be58711e8d99cadce7009192 LICENSES/CC0-1.0.txt +sha256 cde7883b9050a1104f4ac19a1572aafd6e5d7323b68351aaf51fbf4beba54966 LICENSES/CC-BY-SA-4.0.txt +sha256 5d51b52a40391a26cbb2accf5dc5d1c165de49a022d9d5efb50b22204d2682ec LICENSES/GPL-2.0-only.txt +sha256 43fd695e9b198a9a4997cc2d02e10d26cae937e2c4930b9eff9c6d349c85cd32 LICENSES/GPL-2.0-or-later.txt +sha256 492e801f1b0632185431472f148885a4fe8e990b10da57b4986a8bcf140a5374 LICENSES/ISC.txt +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSES/LGPL-2.1-or-later.txt +sha256 89807acf2309bd285f033404ee78581602f3cd9b819a16ac2f0e5f60ff4a473e LICENSES/MIT.txt +sha256 8f2368a292194be10b1223a8875815240a9208bb30785cb13d8849eb6a750fe9 LICENSES/OFL-1.1.txt diff --git a/buildroot-2022.02.1/package/swupdate/swupdate.mk b/buildroot-2022.02.1/package/swupdate/swupdate.mk new file mode 100644 index 00000000..065ae772 --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/swupdate.mk @@ -0,0 +1,291 @@ +################################################################################ +# +# swupdate +# +################################################################################ + +SWUPDATE_VERSION = 2021.11 +SWUPDATE_SITE = $(call github,sbabic,swupdate,$(SWUPDATE_VERSION)) +SWUPDATE_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1+, MIT, ISC, BSD-1-Clause, BSD-3-Clause, CC0-1.0, CC-BY-SA-4.0, OFL-1.1 +SWUPDATE_LICENSE_FILES = LICENSES/BSD-1-Clause.txt \ + LICENSES/BSD-3-Clause.txt \ + LICENSES/CC0-1.0.txt \ + LICENSES/CC-BY-SA-4.0.txt \ + LICENSES/GPL-2.0-only.txt \ + LICENSES/GPL-2.0-or-later.txt \ + LICENSES/ISC.txt \ + LICENSES/LGPL-2.1-or-later.txt \ + LICENSES/MIT.txt \ + LICENSES/OFL-1.1.txt + +# swupdate uses $CROSS-cc instead of $CROSS-gcc, which is not +# available in all external toolchains, and use CC for linking. Ensure +# TARGET_CC is used for both. +SWUPDATE_MAKE_ENV = CC="$(TARGET_CC)" LD="$(TARGET_CC)" SKIP_STRIP=y + +# swupdate bundles its own version of mongoose (version 6.16) + +ifeq ($(BR2_PACKAGE_E2FSPROGS),y) +SWUPDATE_DEPENDENCIES += e2fsprogs +SWUPDATE_MAKE_ENV += HAVE_LIBEXT2FS=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBEXT2FS=n +endif + +ifeq ($(BR2_PACKAGE_EFIBOOTMGR),y) +SWUPDATE_DEPENDENCIES += efibootmgr +SWUPDATE_MAKE_ENV += HAVE_LIBEBGENV=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBEBGENV=n +endif + +ifeq ($(BR2_PACKAGE_JSON_C),y) +SWUPDATE_DEPENDENCIES += json-c +SWUPDATE_MAKE_ENV += HAVE_JSON_C=y +else +SWUPDATE_MAKE_ENV += HAVE_JSON_C=n +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) +SWUPDATE_DEPENDENCIES += libarchive +SWUPDATE_MAKE_ENV += HAVE_LIBARCHIVE=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBARCHIVE=n +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y) +SWUPDATE_DEPENDENCIES += util-linux +SWUPDATE_MAKE_ENV += HAVE_LIBBLKID=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBBLKID=n +endif + +ifeq ($(BR2_PACKAGE_LIBCONFIG),y) +SWUPDATE_DEPENDENCIES += libconfig +SWUPDATE_MAKE_ENV += HAVE_LIBCONFIG=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBCONFIG=n +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +SWUPDATE_DEPENDENCIES += libcurl +SWUPDATE_MAKE_ENV += HAVE_LIBCURL=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBCURL=n +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBFDISK),y) +SWUPDATE_DEPENDENCIES += util-linux +SWUPDATE_MAKE_ENV += HAVE_LIBFDISK=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBFDISK=n +endif + +ifeq ($(BR2_PACKAGE_LIBGPIOD),y) +SWUPDATE_DEPENDENCIES += libgpiod +SWUPDATE_MAKE_ENV += HAVE_LIBGPIOD=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBGPIOD=n +endif + +ifeq ($(BR2_PACKAGE_LIBURIPARSER),y) +SWUPDATE_DEPENDENCIES += liburiparser +SWUPDATE_MAKE_ENV += HAVE_URIPARSER=y +else +SWUPDATE_MAKE_ENV += HAVE_URIPARSER=n +endif + +ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y) +SWUPDATE_DEPENDENCIES += libwebsockets +SWUPDATE_MAKE_ENV += HAVE_LIBWEBSOCKETS=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBWEBSOCKETS=n +endif + +ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y) +SWUPDATE_DEPENDENCIES += luainterpreter host-pkgconf +# defines the base name for the pkg-config file ("lua" or "luajit") +define SWUPDATE_SET_LUA_VERSION + $(call KCONFIG_SET_OPT,CONFIG_LUAPKG,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER)) +endef +SWUPDATE_MAKE_ENV += HAVE_LUA=y +else +SWUPDATE_MAKE_ENV += HAVE_LUA=n +endif + +ifeq ($(BR2_PACKAGE_MBEDTLS),y) +SWUPDATE_DEPENDENCIES += mbedtls +SWUPDATE_MAKE_ENV += HAVE_MBEDTLS=y +else +SWUPDATE_MAKE_ENV += HAVE_MBEDTLS=n +endif + +ifeq ($(BR2_PACKAGE_MTD),y) +SWUPDATE_DEPENDENCIES += mtd +SWUPDATE_MAKE_ENV += HAVE_LIBMTD=y +SWUPDATE_MAKE_ENV += HAVE_LIBUBI=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBMTD=n +SWUPDATE_MAKE_ENV += HAVE_LIBUBI=n +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SWUPDATE_DEPENDENCIES += openssl +SWUPDATE_MAKE_ENV += HAVE_LIBSSL=y +SWUPDATE_MAKE_ENV += HAVE_LIBCRYPTO=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBSSL=n +SWUPDATE_MAKE_ENV += HAVE_LIBCRYPTO=n +endif + +ifeq ($(BR2_PACKAGE_P11_KIT),y) +SWUPDATE_DEPENDENCIES += p11-kit +SWUPDATE_MAKE_ENV += HAVE_P11KIT=y +else +SWUPDATE_MAKE_ENV += HAVE_P11KIT=n +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +SWUPDATE_DEPENDENCIES += systemd +SWUPDATE_MAKE_ENV += HAVE_LIBSYSTEMD=y +define SWUPDATE_SET_SYSTEMD + $(call KCONFIG_ENABLE_OPT,CONFIG_SYSTEMD) +endef +else +SWUPDATE_MAKE_ENV += HAVE_LIBSYSTEMD=n +define SWUPDATE_SET_SYSTEMD + $(call KCONFIG_DISABLE_OPT,CONFIG_SYSTEMD) +endef +endif + +ifeq ($(BR2_PACKAGE_LIBUBOOTENV),y) +SWUPDATE_DEPENDENCIES += libubootenv +SWUPDATE_MAKE_ENV += HAVE_LIBUBOOTENV=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBUBOOTENV=n +endif + +ifeq ($(BR2_PACKAGE_WOLFSSL),y) +SWUPDATE_DEPENDENCIES += wolfssl +SWUPDATE_MAKE_ENV += HAVE_WOLFSSL=y +else +SWUPDATE_MAKE_ENV += HAVE_WOLFSSL=n +endif + +ifeq ($(BR2_PACKAGE_ZCHUNK),y) +SWUPDATE_DEPENDENCIES += zchunk +SWUPDATE_MAKE_ENV += HAVE_ZCK=y +else +SWUPDATE_MAKE_ENV += HAVE_ZCK=n +endif + +ifeq ($(BR2_PACKAGE_ZEROMQ),y) +SWUPDATE_DEPENDENCIES += zeromq +SWUPDATE_MAKE_ENV += HAVE_LIBZEROMQ=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBZEROMQ=n +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +SWUPDATE_DEPENDENCIES += zlib +SWUPDATE_MAKE_ENV += HAVE_ZLIB=y +else +SWUPDATE_MAKE_ENV += HAVE_ZLIB=n +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +SWUPDATE_DEPENDENCIES += zstd +SWUPDATE_MAKE_ENV += HAVE_ZSTD=y +else +SWUPDATE_MAKE_ENV += HAVE_ZSTD=n +endif + +ifeq ($(BR2_PACKAGE_LIBRSYNC),y) +SWUPDATE_DEPENDENCIES += librsync +SWUPDATE_MAKE_ENV += HAVE_LIBRSYNC=y +else +SWUPDATE_MAKE_ENV += HAVE_LIBRSYNC=n +endif + +ifeq ($(BR2_PACKAGE_SWUPDATE_WEBSERVER),y) +define SWUPDATE_SET_WEBSERVER + $(call KCONFIG_ENABLE_OPT,CONFIG_WEBSERVER) +endef +else +define SWUPDATE_SET_WEBSERVER + $(call KCONFIG_DISABLE_OPT,CONFIG_WEBSERVER) +endef +endif + +SWUPDATE_BUILD_CONFIG = $(@D)/.config + +SWUPDATE_KCONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_SWUPDATE_CONFIG)) +SWUPDATE_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig + +SWUPDATE_MAKE_OPTS = \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + CONFIG_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \ + CONFIG_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" + +define SWUPDATE_KCONFIG_FIXUP_CMDS + $(SWUPDATE_SET_LUA_VERSION) + $(SWUPDATE_SET_SYSTEMD) + $(SWUPDATE_SET_WEBSERVER) +endef + +define SWUPDATE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(SWUPDATE_MAKE_ENV) $(MAKE) -C $(@D) $(SWUPDATE_MAKE_OPTS) +endef + +define SWUPDATE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(SWUPDATE_MAKE_ENV) $(MAKE) -C $(@D) \ + $(SWUPDATE_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install + $(if $(BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE), \ + mkdir -p $(TARGET_DIR)/var/www/swupdate; \ + cp -dpfr $(@D)/examples/www/v2/* $(TARGET_DIR)/var/www/swupdate) +endef + +# Checks to give errors that the user can understand +# Must be before we call to kconfig-package +ifeq ($(BR2_PACKAGE_SWUPDATE)$(BR_BUILDING),yy) +ifeq ($(call qstrip,$(BR2_PACKAGE_SWUPDATE_CONFIG)),) +$(error No Swupdate configuration file specified, check your BR2_PACKAGE_SWUPDATE_CONFIG setting) +endif +endif + +# Services and configs derived from meta-swupdate(MIT license) +# https://github.com/sbabic/meta-swupdate/tree/master/recipes-support/swupdate/swupdate +define SWUPDATE_INSTALL_COMMON + mkdir -p $(TARGET_DIR)/etc/swupdate/conf.d \ + $(TARGET_DIR)/usr/lib/swupdate/conf.d + $(INSTALL) -D -m 755 $(SWUPDATE_PKGDIR)/swupdate.sh \ + $(TARGET_DIR)/usr/lib/swupdate/swupdate.sh + $(if $(BR2_PACKAGE_SWUPDATE_WEBSERVER), \ + $(INSTALL) -D -m 644 $(SWUPDATE_PKGDIR)/10-mongoose-args \ + $(TARGET_DIR)/usr/lib/swupdate/conf.d/10-mongoose-args) +endef +define SWUPDATE_INSTALL_INIT_SYSTEMD + $(SWUPDATE_INSTALL_COMMON) + $(INSTALL) -D -m 644 $(SWUPDATE_PKGDIR)/swupdate.service \ + $(TARGET_DIR)/usr/lib/systemd/system/swupdate.service + $(INSTALL) -D -m 644 $(SWUPDATE_PKGDIR)/swupdate.socket \ + $(TARGET_DIR)/usr/lib/systemd/system/swupdate.socket + $(INSTALL) -D -m 644 $(SWUPDATE_PKGDIR)/swupdate-usb@.service \ + $(TARGET_DIR)/usr/lib/systemd/system/swupdate-usb@.service + $(if $(BR2_PACKAGE_SWUPDATE_USB), \ + $(INSTALL) -D -m 644 $(SWUPDATE_PKGDIR)/swupdate-usb.rules \ + $(TARGET_DIR)/lib/udev/rules.d/swupdate-usb.rules) + $(INSTALL) -D -m 644 $(SWUPDATE_PKGDIR)/swupdate-progress.service \ + $(TARGET_DIR)/usr/lib/systemd/system/swupdate-progress.service + $(INSTALL) -D -m 644 $(SWUPDATE_PKGDIR)/tmpfiles-swupdate.conf \ + $(TARGET_DIR)/usr/lib/tmpfiles.d/tmpfiles-swupdate.conf +endef +define SWUPDATE_INSTALL_INIT_SYSV + $(SWUPDATE_INSTALL_COMMON) + $(INSTALL) -D -m 755 $(SWUPDATE_PKGDIR)/S80swupdate \ + $(TARGET_DIR)/etc/init.d/S80swupdate + $(INSTALL) -D -m 644 $(SWUPDATE_PKGDIR)/90-start-progress \ + $(TARGET_DIR)/usr/lib/swupdate/conf.d/90-start-progress +endef + +$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/package/swupdate/swupdate.service b/buildroot-2022.02.1/package/swupdate/swupdate.service similarity index 100% rename from buildroot-2021.05/package/swupdate/swupdate.service rename to buildroot-2022.02.1/package/swupdate/swupdate.service diff --git a/buildroot-2021.05/package/swupdate/swupdate.sh b/buildroot-2022.02.1/package/swupdate/swupdate.sh similarity index 100% rename from buildroot-2021.05/package/swupdate/swupdate.sh rename to buildroot-2022.02.1/package/swupdate/swupdate.sh diff --git a/buildroot-2022.02.1/package/swupdate/swupdate.socket b/buildroot-2022.02.1/package/swupdate/swupdate.socket new file mode 100644 index 00000000..2b756714 --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/swupdate.socket @@ -0,0 +1,11 @@ +[Unit] +Description=SWUpdate socket listener +Documentation=https://github.com/sbabic/swupdate +Documentation=https://sbabic.github.io/swupdate + +[Socket] +ListenStream=/tmp/sockinstctrl +ListenStream=/tmp/swupdateprog + +[Install] +WantedBy=sockets.target diff --git a/buildroot-2022.02.1/package/swupdate/tmpfiles-swupdate.conf b/buildroot-2022.02.1/package/swupdate/tmpfiles-swupdate.conf new file mode 100644 index 00000000..4743672f --- /dev/null +++ b/buildroot-2022.02.1/package/swupdate/tmpfiles-swupdate.conf @@ -0,0 +1,2 @@ +X /tmp/datadst +X /tmp/scripts diff --git a/buildroot-2022.02.1/package/sylpheed/0001-harden-link-checker-before-accepting-click.patch b/buildroot-2022.02.1/package/sylpheed/0001-harden-link-checker-before-accepting-click.patch new file mode 100644 index 00000000..fe3375bc --- /dev/null +++ b/buildroot-2022.02.1/package/sylpheed/0001-harden-link-checker-before-accepting-click.patch @@ -0,0 +1,37 @@ +From ac286a71ed78429e16c612161251b9ea90ccd431 Mon Sep 17 00:00:00 2001 +From: Paul +Date: Sun, 23 May 2021 12:16:40 +0100 +Subject: [PATCH] harden link checker before accepting click + +[Retrieved from: +https://git.claws-mail.org/?p=claws.git;a=commit;h=ac286a71ed78429e16c612161251b9ea90ccd431] +Signed-off-by: Fabrice Fontaine +--- + src/textview.c | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/textview.c b/src/textview.c +index 62ad46eaf..3cdf5d911 100644 +--- a/src/textview.c ++++ b/src/textview.c +@@ -2885,7 +2885,7 @@ gboolean textview_uri_security_check(TextView *textview, ClickableText *uri) + gboolean retval = TRUE; + + if (is_uri_string(uri->uri) == FALSE) +- return TRUE; ++ return FALSE; + + visible_str = textview_get_visible_uri(textview, uri); + if (visible_str == NULL) +@@ -2922,6 +2922,8 @@ gboolean textview_uri_security_check(TextView *textview, ClickableText *uri) + if (aval == G_ALERTALTERNATE) + retval = TRUE; + } ++ if (strlen(uri->uri) > get_uri_len(uri->uri)) ++ retval = FALSE; + + g_free(visible_str); + +-- +2.25.1 + diff --git a/buildroot-2021.05/package/sylpheed/Config.in b/buildroot-2022.02.1/package/sylpheed/Config.in similarity index 100% rename from buildroot-2021.05/package/sylpheed/Config.in rename to buildroot-2022.02.1/package/sylpheed/Config.in diff --git a/buildroot-2021.05/package/sylpheed/sylpheed.hash b/buildroot-2022.02.1/package/sylpheed/sylpheed.hash similarity index 100% rename from buildroot-2021.05/package/sylpheed/sylpheed.hash rename to buildroot-2022.02.1/package/sylpheed/sylpheed.hash diff --git a/buildroot-2022.02.1/package/sylpheed/sylpheed.mk b/buildroot-2022.02.1/package/sylpheed/sylpheed.mk new file mode 100644 index 00000000..a7c7adad --- /dev/null +++ b/buildroot-2022.02.1/package/sylpheed/sylpheed.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# sylpheed +# +################################################################################ + +SYLPHEED_VERSION_MAJOR = 3.7 +SYLPHEED_VERSION = $(SYLPHEED_VERSION_MAJOR).0 +SYLPHEED_SOURCE = sylpheed-$(SYLPHEED_VERSION).tar.xz +SYLPHEED_SITE = http://sylpheed.sraoss.jp/sylpheed/v$(SYLPHEED_VERSION_MAJOR) +SYLPHEED_LICENSE = GPL-2.0+ (executables), LGPL-2.1+ (library, attachment plugin) +SYLPHEED_LICENSE_FILES = COPYING COPYING.LIB +SYLPHEED_CPE_ID_VENDOR = sylpheed_project +SYLPHEED_CONF_OPTS = --disable-gtkspell --disable-gpgme +SYLPHEED_DEPENDENCIES = host-pkgconf libgtk2 + +# 0001-harden-link-checker-before-accepting-click.patch +SYLPHEED_IGNORE_CVES += CVE-2021-37746 + +# Remove the -I$(includedir) from the Makefiles +# because it refers to the host /usr/include. +define SYLPHEED_PRECONFIGURE + for i in $$(find $(@D) -name "Makefile*"); do \ + sed -i 's:-I$$(includedir)::g' $$i; \ + done +endef + +SYLPHEED_PRE_CONFIGURE_HOOKS += SYLPHEED_PRECONFIGURE + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SYLPHEED_DEPENDENCIES += openssl +SYLPHEED_CONF_OPTS += --enable-ssl +else +SYLPHEED_CONF_OPTS += --disable-ssl +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/synergy/Config.in b/buildroot-2022.02.1/package/synergy/Config.in similarity index 100% rename from buildroot-2021.05/package/synergy/Config.in rename to buildroot-2022.02.1/package/synergy/Config.in diff --git a/buildroot-2021.05/package/synergy/synergy.hash b/buildroot-2022.02.1/package/synergy/synergy.hash similarity index 100% rename from buildroot-2021.05/package/synergy/synergy.hash rename to buildroot-2022.02.1/package/synergy/synergy.hash diff --git a/buildroot-2021.05/package/synergy/synergy.mk b/buildroot-2022.02.1/package/synergy/synergy.mk similarity index 100% rename from buildroot-2021.05/package/synergy/synergy.mk rename to buildroot-2022.02.1/package/synergy/synergy.mk diff --git a/buildroot-2022.02.1/package/sysdig/Config.in b/buildroot-2022.02.1/package/sysdig/Config.in new file mode 100644 index 00000000..06d20c7f --- /dev/null +++ b/buildroot-2022.02.1/package/sysdig/Config.in @@ -0,0 +1,33 @@ +config BR2_PACKAGE_SYSDIG + bool "sysdig" + depends on BR2_LINUX_KERNEL + depends on BR2_INSTALL_LIBSTDCPP # jsoncpp + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_HAS_THREADS # elfutils, jq + depends on !BR2_STATIC_LIBS # elfutils + depends on BR2_USE_WCHAR # elfutils + depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC # elfutils + depends on BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 + select BR2_PACKAGE_ELFUTILS + select BR2_PACKAGE_JQ + select BR2_PACKAGE_JSONCPP + select BR2_PACKAGE_LIBB64 + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_ZLIB + help + Sysdig is open source, system-level exploration: + capture system state and activity from a running Linux + instance, then save, filter and analyze. + Think of it as strace + tcpdump + lsof + awesome sauce. + With a little Lua cherry on top. + + https://github.com/draios/sysdig/wiki + +comment "sysdig needs a glibc or uclibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built" + depends on !BR2_LINUX_KERNEL || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || BR2_STATIC_LIBS \ + || !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC) \ + || !BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION_5_1 diff --git a/buildroot-2021.05/package/sysdig/sysdig.hash b/buildroot-2022.02.1/package/sysdig/sysdig.hash similarity index 100% rename from buildroot-2021.05/package/sysdig/sysdig.hash rename to buildroot-2022.02.1/package/sysdig/sysdig.hash diff --git a/buildroot-2021.05/package/sysdig/sysdig.mk b/buildroot-2022.02.1/package/sysdig/sysdig.mk similarity index 100% rename from buildroot-2021.05/package/sysdig/sysdig.mk rename to buildroot-2022.02.1/package/sysdig/sysdig.mk diff --git a/buildroot-2021.05/package/sysklogd/Config.in b/buildroot-2022.02.1/package/sysklogd/Config.in similarity index 100% rename from buildroot-2021.05/package/sysklogd/Config.in rename to buildroot-2022.02.1/package/sysklogd/Config.in diff --git a/buildroot-2021.05/package/sysklogd/S01syslogd b/buildroot-2022.02.1/package/sysklogd/S01syslogd similarity index 100% rename from buildroot-2021.05/package/sysklogd/S01syslogd rename to buildroot-2022.02.1/package/sysklogd/S01syslogd diff --git a/buildroot-2022.02.1/package/sysklogd/sysklogd.hash b/buildroot-2022.02.1/package/sysklogd/sysklogd.hash new file mode 100644 index 00000000..19405a98 --- /dev/null +++ b/buildroot-2022.02.1/package/sysklogd/sysklogd.hash @@ -0,0 +1,5 @@ +# Upstream .sha256 from GitHub +sha256 9a410b484713d9600c820d8113f2d80cb14708328c908b1a28e8b7b31fd54f57 sysklogd-2.3.0.tar.gz + +# Locally calculated +sha256 7a71d7603a7c4456df441463e54da35acf151c1be0879246de63544f1f34f477 LICENSE diff --git a/buildroot-2022.02.1/package/sysklogd/sysklogd.mk b/buildroot-2022.02.1/package/sysklogd/sysklogd.mk new file mode 100644 index 00000000..20ce9d60 --- /dev/null +++ b/buildroot-2022.02.1/package/sysklogd/sysklogd.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# sysklogd +# +################################################################################ + +SYSKLOGD_VERSION = 2.3.0 +SYSKLOGD_SITE = https://github.com/troglobit/sysklogd/releases/download/v$(SYSKLOGD_VERSION) +SYSKLOGD_LICENSE = BSD-3-Clause +SYSKLOGD_LICENSE_FILES = LICENSE +SYSKLOGD_CPE_ID_VENDOR = sysklogd_project + +# Busybox install logger in /usr/bin, and syslogd in /sbin, so install in +# the same locations so that busybox does not install its applets in there. +SYSKLOGD_CONF_OPTS = \ + --bindir=/usr/bin \ + --sbindir=/sbin \ + --with-suspend-time=$(BR2_PACKAGE_SYSKLOGD_REMOTE_DELAY) + +# Disable/Enable utilities +ifeq ($(BR2_PACKAGE_SYSKLOGD_LOGGER),y) +SYSKLOGD_CONF_OPTS += --with-logger +else +SYSKLOGD_CONF_OPTS += --without-logger +endif + +define SYSKLOGD_INSTALL_SAMPLE_CONFIG + $(INSTALL) -D -m 0644 $(@D)/syslog.conf \ + $(TARGET_DIR)/etc/syslog.conf +endef + +SYSKLOGD_POST_INSTALL_TARGET_HOOKS += SYSKLOGD_INSTALL_SAMPLE_CONFIG + +define SYSKLOGD_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/sysklogd/S01syslogd \ + $(TARGET_DIR)/etc/init.d/S01syslogd +endef + +define SYSKLOGD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(SYSKLOGD_PKGDIR)/syslogd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/syslogd.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sysklogd/syslogd.service b/buildroot-2022.02.1/package/sysklogd/syslogd.service similarity index 100% rename from buildroot-2021.05/package/sysklogd/syslogd.service rename to buildroot-2022.02.1/package/sysklogd/syslogd.service diff --git a/buildroot-2021.05/package/syslog-ng/0001-fix-build-on-uclibc.patch b/buildroot-2022.02.1/package/syslog-ng/0001-fix-build-on-uclibc.patch similarity index 100% rename from buildroot-2021.05/package/syslog-ng/0001-fix-build-on-uclibc.patch rename to buildroot-2022.02.1/package/syslog-ng/0001-fix-build-on-uclibc.patch diff --git a/buildroot-2021.05/package/syslog-ng/Config.in b/buildroot-2022.02.1/package/syslog-ng/Config.in similarity index 100% rename from buildroot-2021.05/package/syslog-ng/Config.in rename to buildroot-2022.02.1/package/syslog-ng/Config.in diff --git a/buildroot-2021.05/package/syslog-ng/S01syslog-ng b/buildroot-2022.02.1/package/syslog-ng/S01syslog-ng similarity index 100% rename from buildroot-2021.05/package/syslog-ng/S01syslog-ng rename to buildroot-2022.02.1/package/syslog-ng/S01syslog-ng diff --git a/buildroot-2022.02.1/package/syslog-ng/syslog-ng.conf b/buildroot-2022.02.1/package/syslog-ng/syslog-ng.conf new file mode 100644 index 00000000..55d01501 --- /dev/null +++ b/buildroot-2022.02.1/package/syslog-ng/syslog-ng.conf @@ -0,0 +1,16 @@ +@version: 3.34 + +source s_sys { + file("/proc/kmsg" program_override("kernel")); + unix-stream ("/dev/log"); + internal(); +}; + +destination d_all { + file("/var/log/messages"); +}; + +log { + source(s_sys); + destination(d_all); +}; diff --git a/buildroot-2022.02.1/package/syslog-ng/syslog-ng.hash b/buildroot-2022.02.1/package/syslog-ng/syslog-ng.hash new file mode 100644 index 00000000..99ed363e --- /dev/null +++ b/buildroot-2022.02.1/package/syslog-ng/syslog-ng.hash @@ -0,0 +1,5 @@ +# Locally computed +sha256 cece39ec1c68c88d493705e0a528b83d038da384e89d4838393ccc75f62a2d4c syslog-ng-3.34.1.tar.gz +sha256 e912cf1e1c09b81d61c0154eb6c179588622c31ad07bfb4a90c612d07ff09d9b COPYING +sha256 ce3324c9f22299cfc7c281e5a6ab40fbe9c2ea1a67cee87226cb8cd39db1e1d2 GPL.txt +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LGPL.txt diff --git a/buildroot-2022.02.1/package/syslog-ng/syslog-ng.mk b/buildroot-2022.02.1/package/syslog-ng/syslog-ng.mk new file mode 100644 index 00000000..c05ec978 --- /dev/null +++ b/buildroot-2022.02.1/package/syslog-ng/syslog-ng.mk @@ -0,0 +1,130 @@ +################################################################################ +# +# syslog-ng +# +################################################################################ + +# When updating the version, please check at runtime if the version in +# syslog-ng.conf header needs to be updated +SYSLOG_NG_VERSION = 3.34.1 +SYSLOG_NG_SITE = https://github.com/balabit/syslog-ng/releases/download/syslog-ng-$(SYSLOG_NG_VERSION) +SYSLOG_NG_LICENSE = LGPL-2.1+ (syslog-ng core), GPL-2.0+ (modules) +SYSLOG_NG_LICENSE_FILES = COPYING GPL.txt LGPL.txt +SYSLOG_NG_CPE_ID_VENDOR = oneidentity +SYSLOG_NG_DEPENDENCIES = host-bison host-flex host-pkgconf \ + libglib2 openssl pcre +# We're patching configure.ac +SYSLOG_NG_AUTORECONF = YES +SYSLOG_NG_CONF_OPTS = --disable-manpages --localstatedir=/var/run \ + --disable-java --disable-java-modules --disable-mongodb + +ifeq ($(BR2_PACKAGE_GEOIP),y) +SYSLOG_NG_DEPENDENCIES += geoip +SYSLOG_NG_CONF_OPTS += --enable-geoip +else +SYSLOG_NG_CONF_OPTS += --disable-geoip +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +SYSLOG_NG_DEPENDENCIES += libcap +SYSLOG_NG_CONF_OPTS += --enable-linux-caps +else +SYSLOG_NG_CONF_OPTS += --disable-linux-caps +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +SYSLOG_NG_DEPENDENCIES += python3 +SYSLOG_NG_CONF_OPTS += \ + --enable-python \ + --with-python=$(PYTHON3_VERSION_MAJOR) +else +SYSLOG_NG_CONF_OPTS += --disable-python +endif + +ifeq ($(BR2_PACKAGE_LIBESMTP),y) +SYSLOG_NG_DEPENDENCIES += libesmtp +SYSLOG_NG_CONF_OPTS += --enable-smtp +SYSLOG_NG_CONF_OPTS += --with-libesmtp="$(STAGING_DIR)/usr" +else +SYSLOG_NG_CONF_OPTS += --disable-smtp +endif + +ifeq ($(BR2_PACKAGE_JSON_C),y) +SYSLOG_NG_DEPENDENCIES += json-c +SYSLOG_NG_CONF_OPTS += --enable-json +else +SYSLOG_NG_CONF_OPTS += --disable-json +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +SYSLOG_NG_DEPENDENCIES += util-linux +endif + +ifeq ($(BR2_PACKAGE_LIBNET),y) +SYSLOG_NG_DEPENDENCIES += libnet +SYSLOG_NG_CONF_OPTS += \ + --with-libnet=$(STAGING_DIR)/usr/bin \ + --enable-spoof-source +else +SYSLOG_NG_CONF_OPTS += --disable-spoof-source +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +SYSLOG_NG_DEPENDENCIES += libcurl +SYSLOG_NG_CONF_OPTS += --enable-http +SYSLOG_NG_CONF_OPTS += --with-libcurl="$(STAGING_DIR)/usr" +else +SYSLOG_NG_CONF_OPTS += --disable-http +endif + +ifeq ($(BR2_PACKAGE_RABBITMQ_C),y) +SYSLOG_NG_DEPENDENCIES += rabbitmq-c +SYSLOG_NG_CONF_OPTS += --enable-amqp +else +SYSLOG_NG_CONF_OPTS += --disable-amqp +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +SYSLOG_NG_DEPENDENCIES += systemd +SYSLOG_NG_CONF_OPTS += \ + --enable-systemd \ + --with-systemdsystemunitdir=/usr/lib/systemd/system +else +SYSLOG_NG_CONF_OPTS += --disable-systemd +endif + +ifeq ($(BR2_PACKAGE_NETSNMP),y) +SYSLOG_NG_DEPENDENCIES += netsnmp +SYSLOG_NG_CONF_OPTS += --enable-afsnmp +SYSLOG_NG_CONF_OPTS += --with-net-snmp="$(STAGING_DIR)/usr/bin" +else +SYSLOG_NG_CONF_OPTS += --disable-afsnmp +endif + +define SYSLOG_NG_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/syslog-ng/S01syslog-ng \ + $(TARGET_DIR)/etc/init.d/S01syslog-ng +endef + +# By default syslog-ng installs a .service that requires a config file at +# /etc/default, so provide one with the default values. +define SYSLOG_NG_INSTALL_INIT_SYSTEMD + mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/syslog-ng@.service.d + printf '[Install]\nDefaultInstance=default\n' \ + >$(TARGET_DIR)/usr/lib/systemd/system/syslog-ng@.service.d/buildroot-default-instance.conf +endef + +# By default syslog-ng installs a number of sample configuration +# files. Some of these rely on optional features being +# enabled. Because of this buildroot uninstalls the shipped config +# files and provides a simplified configuration. +define SYSLOG_NG_FIXUP_CONFIG + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \ + DESTDIR=$(TARGET_DIR) scl-uninstall-local + $(INSTALL) -D -m 0644 package/syslog-ng/syslog-ng.conf \ + $(TARGET_DIR)/etc/syslog-ng.conf +endef + +SYSLOG_NG_POST_INSTALL_TARGET_HOOKS = SYSLOG_NG_FIXUP_CONFIG + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/sysprof/0001-define-NT_GNU_BUILD_ID.patch b/buildroot-2022.02.1/package/sysprof/0001-define-NT_GNU_BUILD_ID.patch similarity index 100% rename from buildroot-2021.05/package/sysprof/0001-define-NT_GNU_BUILD_ID.patch rename to buildroot-2022.02.1/package/sysprof/0001-define-NT_GNU_BUILD_ID.patch diff --git a/buildroot-2021.05/package/sysprof/Config.in b/buildroot-2022.02.1/package/sysprof/Config.in similarity index 100% rename from buildroot-2021.05/package/sysprof/Config.in rename to buildroot-2022.02.1/package/sysprof/Config.in diff --git a/buildroot-2021.05/package/sysprof/sysprof.hash b/buildroot-2022.02.1/package/sysprof/sysprof.hash similarity index 100% rename from buildroot-2021.05/package/sysprof/sysprof.hash rename to buildroot-2022.02.1/package/sysprof/sysprof.hash diff --git a/buildroot-2021.05/package/sysprof/sysprof.mk b/buildroot-2022.02.1/package/sysprof/sysprof.mk similarity index 100% rename from buildroot-2021.05/package/sysprof/sysprof.mk rename to buildroot-2022.02.1/package/sysprof/sysprof.mk diff --git a/buildroot-2022.02.1/package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch b/buildroot-2022.02.1/package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch new file mode 100644 index 00000000..784cfb14 --- /dev/null +++ b/buildroot-2022.02.1/package/sysrepo/0001-sysrepo-BUGFIX-build-with-musl-libc-fails-due-to-unk.patch @@ -0,0 +1,42 @@ +From 896dc6aee38898fe1c6822ee6a4a4989d21c650b Mon Sep 17 00:00:00 2001 +From: Heiko Thiery +Date: Thu, 25 Nov 2021 12:18:06 +0100 +Subject: [PATCH] sysrepo BUGFIX build with musl libc fails due to unknown type + name 'mode_t' + +When building against the musl libc the build will fail due to the +missing sys/type.h include. + +Signed-off-by: Heiko Thiery +--- + src/plugins_datastore.h | 1 + + src/plugins_notification.h | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/src/plugins_datastore.h b/src/plugins_datastore.h +index a64e4131..d577e929 100644 +--- a/src/plugins_datastore.h ++++ b/src/plugins_datastore.h +@@ -18,6 +18,7 @@ + #define _SYSREPO_PLUGINS_DATASTORE_H + + #include ++#include + + #include + +diff --git a/src/plugins_notification.h b/src/plugins_notification.h +index 2099db62..f410e8d9 100644 +--- a/src/plugins_notification.h ++++ b/src/plugins_notification.h +@@ -18,6 +18,7 @@ + #define _SYSREPO_PLUGINS_NOTIFICATION_H + + #include ++#include + + #include + +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/sysrepo/Config.in b/buildroot-2022.02.1/package/sysrepo/Config.in new file mode 100644 index 00000000..b1535bed --- /dev/null +++ b/buildroot-2022.02.1/package/sysrepo/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_SYSREPO + bool "sysrepo" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libyang + depends on !BR2_STATIC_LIBS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11 + select BR2_PACKAGE_LIBYANG + select BR2_PACKAGE_PCRE2 + help + Sysrepo is an YANG-based configuration and operational state + data store for Unix/Linux applications. + + https://github.com/sysrepo + +if BR2_PACKAGE_SYSREPO + +config BR2_PACKAGE_SYSREPO_EXAMPLES + bool "enable examples" + help + Enable sysrepo examples. + +endif + +comment "sysrepo needs a toolchain w/ C++, NPTL, dynamic library, gcc >= 4.8" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_TOOLCHAIN_HAS_THREADS_NPTL diff --git a/buildroot-2021.05/package/sysrepo/S51sysrepo-plugind b/buildroot-2022.02.1/package/sysrepo/S51sysrepo-plugind similarity index 100% rename from buildroot-2021.05/package/sysrepo/S51sysrepo-plugind rename to buildroot-2022.02.1/package/sysrepo/S51sysrepo-plugind diff --git a/buildroot-2022.02.1/package/sysrepo/sysrepo.hash b/buildroot-2022.02.1/package/sysrepo/sysrepo.hash new file mode 100644 index 00000000..b382c160 --- /dev/null +++ b/buildroot-2022.02.1/package/sysrepo/sysrepo.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 fe09da5f40fb53e3fb97268a134cc0ed3003f0018d0d117c73e81e1553a11f30 sysrepo-2.0.53.tar.gz +sha256 88f1b7e5c64d2c113e07105aa9c0fb80639b40287565be1c2afd0949df83d826 LICENSE diff --git a/buildroot-2022.02.1/package/sysrepo/sysrepo.mk b/buildroot-2022.02.1/package/sysrepo/sysrepo.mk new file mode 100644 index 00000000..acb30520 --- /dev/null +++ b/buildroot-2022.02.1/package/sysrepo/sysrepo.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# sysrepo +# +################################################################################ + +SYSREPO_VERSION = 2.0.53 +SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION)) +SYSREPO_INSTALL_STAGING = YES +SYSREPO_LICENSE = BSD-3-Clause +SYSREPO_LICENSE_FILES = LICENSE +SYSREPO_DEPENDENCIES = libyang pcre2 host-sysrepo +HOST_SYSREPO_DEPENDENCIES = host-libyang host-pcre2 + +SYSREPO_CONF_OPTS = \ + -DBUILD_EXAMPLES=$(if $(BR2_PACKAGE_SYSREPO_EXAMPLES),ON,OFF) \ + -DENABLE_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF \ + -DREPO_PATH=/etc/sysrepo + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +SYSREPO_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +define SYSREPO_INSTALL_INIT_SYSV + $(INSTALL) -m 755 -D package/sysrepo/S51sysrepo-plugind \ + $(TARGET_DIR)/etc/init.d/S51sysrepo-plugind +endef + +HOST_SYSREPO_CONF_OPTS = \ + -DBUILD_EXAMPLES=OFF \ + -DENABLE_TESTS=OFF \ + -DENABLE_VALGRIND_TESTS=OFF \ + -DREPO_PATH=$(TARGET_DIR)/etc/sysrepo + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) diff --git a/buildroot-2021.05/package/sysstat/Config.in b/buildroot-2022.02.1/package/sysstat/Config.in similarity index 100% rename from buildroot-2021.05/package/sysstat/Config.in rename to buildroot-2022.02.1/package/sysstat/Config.in diff --git a/buildroot-2021.05/package/sysstat/sysstat.hash b/buildroot-2022.02.1/package/sysstat/sysstat.hash similarity index 100% rename from buildroot-2021.05/package/sysstat/sysstat.hash rename to buildroot-2022.02.1/package/sysstat/sysstat.hash diff --git a/buildroot-2022.02.1/package/sysstat/sysstat.mk b/buildroot-2022.02.1/package/sysstat/sysstat.mk new file mode 100644 index 00000000..6948f6b3 --- /dev/null +++ b/buildroot-2022.02.1/package/sysstat/sysstat.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# sysstat +# +################################################################################ + +SYSSTAT_VERSION = 12.4.2 +SYSSTAT_SOURCE = sysstat-$(SYSSTAT_VERSION).tar.xz +SYSSTAT_SITE = http://pagesperso-orange.fr/sebastien.godard +SYSSTAT_CONF_OPTS = --disable-file-attr +SYSSTAT_DEPENDENCIES = host-gettext $(TARGET_NLS_DEPENDENCIES) +SYSSTAT_LICENSE = GPL-2.0+ +SYSSTAT_LICENSE_FILES = COPYING +SYSSTAT_CPE_ID_VENDOR = sysstat_project +SYSSTAT_SELINUX_MODULES = sysstat + +ifeq ($(BR2_PACKAGE_LM_SENSORS),y) +SYSSTAT_DEPENDENCIES += lm-sensors +SYSSTAT_CONF_OPTS += --enable-sensors +else +SYSSTAT_CONF_OPTS += --disable-sensors +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/system-config-printer/0001-Add-option-to-disable-xmlto-manual-generation.patch b/buildroot-2022.02.1/package/system-config-printer/0001-Add-option-to-disable-xmlto-manual-generation.patch new file mode 100644 index 00000000..e2cf3958 --- /dev/null +++ b/buildroot-2022.02.1/package/system-config-printer/0001-Add-option-to-disable-xmlto-manual-generation.patch @@ -0,0 +1,73 @@ +From 731c8d7e1f9edb527785d61f74031a5e5846554b Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Sun, 25 Jul 2021 16:30:59 -0600 +Subject: [PATCH] Add option to disable xmlto manual generation. + +Signed-off-by: James Hilliard +[james.hilliard1@gmail.com: backport from upstream commit +95e0b461f5a46c74b00287aca65732ea2fc9d69b] +--- + Makefile.am | 7 ++++++- + configure.ac | 5 +++++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 843ba30d..7facab94 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -209,9 +209,11 @@ else + systemd_CLEANFILES= + endif + ++if XMLTO + man_MANS= \ + man/system-config-printer.1 \ + man/system-config-printer-applet.1 ++endif + + dbus_DATA = \ + dbus/com.redhat.NewPrinterNotification.conf \ +@@ -274,7 +276,6 @@ EXTRA_DIST=\ + $(bin_SCRIPTS) \ + setup.py \ + $(EXPORT_MODULES) \ +- man/system-config-printer.xml \ + $(dbus_DATA) \ + $(dbusinterfaces_DATA) \ + $(dbusservices_DATA) \ +@@ -297,12 +298,16 @@ EXTRA_DIST=\ + test_PhysicalDevice.py \ + $(appdata_in_files) + ++if XMLTO ++EXTRA_DIST+=man/system-config-printer.xml ++ + # The man pages are generated from DocBook XML. + .stamp-man-pages-built: $(top_srcdir)/man/system-config-printer.xml + xmlto man -o man $< + touch .stamp-man-pages-built + + $(man_MANS): .stamp-man-pages-built ++endif + + html: $(EXPORT_MODULES) $(EXPORT_MODULES_GEN) + rm -rf html +diff --git a/configure.ac b/configure.ac +index 811f897a..a2a66889 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -75,6 +75,11 @@ if test "x$with_systemdsystemunitdir" != xno; then + fi + AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ]) + ++AC_ARG_WITH(xmlto, ++ [AC_HELP_STRING([--with-xmlto], ++ [Enable xmlto manual generation @<:@default=yes@:>@])]) ++AM_CONDITIONAL([XMLTO], [test x$with_xmlto != xno]) ++ + ALL_LINGUAS="ar as ast bg bn_IN bn br bs ca cs cy da de el en_GB es et fa fi fr fur gu he hi hr hu id is it ja kn ko lt lv mai ml mr ms nb nds nl nn oc or pa pl pt_BR pt ro ru si sk sl sr@latin sr sv ta te th tr uk vi zh_CN zh_TW" + AC_CONFIG_FILES([ + Makefile +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/system-config-printer/0002-configure-accept-non-system-cups-config.patch b/buildroot-2022.02.1/package/system-config-printer/0002-configure-accept-non-system-cups-config.patch new file mode 100644 index 00000000..9661115b --- /dev/null +++ b/buildroot-2022.02.1/package/system-config-printer/0002-configure-accept-non-system-cups-config.patch @@ -0,0 +1,35 @@ +From 75db995dda74696123cde2869e4e9b3315b91abd Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" +Date: Sun, 1 Aug 2021 13:40:28 +0200 +Subject: [PATCH] configure: accept non-system cups-config + +In cross-compilation setups, cups.config might not be installed, and +might not be in the PATH. + +Allow a user to specify the full path to cups-config. + +Signed-off-by: Yann E. MORIN +--- + configure.ac | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index dd013b4a..9f033d18 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -33,7 +33,11 @@ fi + AC_SUBST(DESKTOPVENDOR) + AC_SUBST(DESKTOPPREFIX) + +-cupsserverbindir="`cups-config --serverbin`" ++AC_ARG_WITH([cups-config], ++ [AC_HELP_STRING([--with-cups-config], [Specify the path of cups-config])],, ++ [with_cups_config=cups-config]) ++ ++cupsserverbindir="`${with_cups_config} --serverbin`" + AC_SUBST(cupsserverbindir) + + PKG_CHECK_MODULES(GLIB, glib-2.0, has_glib=yes, has_glib=no) +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/system-config-printer/Config.in b/buildroot-2022.02.1/package/system-config-printer/Config.in new file mode 100644 index 00000000..8ebc4d06 --- /dev/null +++ b/buildroot-2022.02.1/package/system-config-printer/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_SYSTEM_CONFIG_PRINTER + bool "system-config-printer" + depends on BR2_PACKAGE_CUPS + help + Graphical user interface for CUPS administration + + https://github.com/OpenPrinting/system-config-printer diff --git a/buildroot-2022.02.1/package/system-config-printer/system-config-printer.hash b/buildroot-2022.02.1/package/system-config-printer/system-config-printer.hash new file mode 100644 index 00000000..56b7e476 --- /dev/null +++ b/buildroot-2022.02.1/package/system-config-printer/system-config-printer.hash @@ -0,0 +1,3 @@ +# Locally calculated: +sha256 fbd226ce215bf014213dded81b43b9d4d90470524f5bf7cd21ecc71d4aefa689 system-config-printer-1.5.15.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/system-config-printer/system-config-printer.mk b/buildroot-2022.02.1/package/system-config-printer/system-config-printer.mk new file mode 100644 index 00000000..e2757430 --- /dev/null +++ b/buildroot-2022.02.1/package/system-config-printer/system-config-printer.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# system-config-printer +# +################################################################################ + +SYSTEM_CONFIG_PRINTER_VERSION = 1.5.15 +SYSTEM_CONFIG_PRINTER_SOURCE = system-config-printer-$(SYSTEM_CONFIG_PRINTER_VERSION).tar.xz +SYSTEM_CONFIG_PRINTER_SITE = https://github.com/OpenPrinting/system-config-printer/releases/download/v$(SYSTEM_CONFIG_PRINTER_VERSION) +SYSTEM_CONFIG_PRINTER_LICENSE = GPL-2.0+ +SYSTEM_CONFIG_PRINTER_LICENSE_FILES = COPYING +SYSTEM_CONFIG_PRINTER_DEPENDENCIES = cups host-desktop-file-utils host-intltool host-pkgconf + +# 0001-Add-option-to-disable-xmlto-manual-generation.patch +# 0002-configure-accept-non-system-cups-config.patch +SYSTEM_CONFIG_PRINTER_AUTORECONF = YES + +SYSTEM_CONFIG_PRINTER_CONF_OPTS = --with-cups-config=$(STAGING_DIR)/usr/bin/cups-config + +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +SYSTEM_CONFIG_PRINTER_DEPENDENCIES += libglib2 +endif + +ifeq ($(BR2_PACKAGE_LIBGLIB2)$(BR2_PACKAGE_LIBUSB)$(BR2_PACKAGE_HAS_UDEV),yyy) +SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-udev-rules=yes +SYSTEM_CONFIG_PRINTER_DEPENDENCIES += libusb udev +else +SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-udev-rules=no +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system +SYSTEM_CONFIG_PRINTER_DEPENDENCIES += systemd +else +SYSTEM_CONFIG_PRINTER_CONF_OPTS += --with-systemdsystemunitdir=no +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/systemd-bootchart/Config.in b/buildroot-2022.02.1/package/systemd-bootchart/Config.in similarity index 100% rename from buildroot-2021.05/package/systemd-bootchart/Config.in rename to buildroot-2022.02.1/package/systemd-bootchart/Config.in diff --git a/buildroot-2021.05/package/systemd-bootchart/systemd-bootchart.hash b/buildroot-2022.02.1/package/systemd-bootchart/systemd-bootchart.hash similarity index 100% rename from buildroot-2021.05/package/systemd-bootchart/systemd-bootchart.hash rename to buildroot-2022.02.1/package/systemd-bootchart/systemd-bootchart.hash diff --git a/buildroot-2021.05/package/systemd-bootchart/systemd-bootchart.mk b/buildroot-2022.02.1/package/systemd-bootchart/systemd-bootchart.mk similarity index 100% rename from buildroot-2021.05/package/systemd-bootchart/systemd-bootchart.mk rename to buildroot-2022.02.1/package/systemd-bootchart/systemd-bootchart.mk diff --git a/buildroot-2022.02.1/package/systemd/0001-missing-syscall-define-MOVE_MOUNT_T_EMPTY_PATH-if-mi.patch b/buildroot-2022.02.1/package/systemd/0001-missing-syscall-define-MOVE_MOUNT_T_EMPTY_PATH-if-mi.patch new file mode 100644 index 00000000..0934886a --- /dev/null +++ b/buildroot-2022.02.1/package/systemd/0001-missing-syscall-define-MOVE_MOUNT_T_EMPTY_PATH-if-mi.patch @@ -0,0 +1,33 @@ +From 16c132a6a0389e0eaea70c4ad95dbfd1637ec5ba Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 7 Jan 2022 22:25:23 +0100 +Subject: [PATCH] missing-syscall: define MOVE_MOUNT_T_EMPTY_PATH if missing + +MOVE_MOUNT_T_EMPTY_PATH has been added to systemd 250 by [1] +but it's defined in kernel headers since version 5.2. + +[1] c7bf079bbc19e3b409acc0c7acc3e14749211fe2 + +Signed-off-by: Romain Naour +--- + src/basic/missing_syscall.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h +index 8267b1a90c..793d111c55 100644 +--- a/src/basic/missing_syscall.h ++++ b/src/basic/missing_syscall.h +@@ -569,6 +569,10 @@ static inline int missing_open_tree( + #define MOVE_MOUNT_F_EMPTY_PATH 0x00000004 /* Empty from path permitted */ + #endif + ++#ifndef MOVE_MOUNT_T_EMPTY_PATH ++#define MOVE_MOUNT_T_EMPTY_PATH 0x00000040 /* Empty to path permitted */ ++#endif ++ + static inline int missing_move_mount( + int from_dfd, + const char *from_pathname, +-- +2.31.1 + diff --git a/buildroot-2021.05/package/systemd/80-buildroot.preset b/buildroot-2022.02.1/package/systemd/80-buildroot.preset similarity index 100% rename from buildroot-2021.05/package/systemd/80-buildroot.preset rename to buildroot-2022.02.1/package/systemd/80-buildroot.preset diff --git a/buildroot-2022.02.1/package/systemd/Config.in b/buildroot-2022.02.1/package/systemd/Config.in new file mode 100644 index 00000000..cc073656 --- /dev/null +++ b/buildroot-2022.02.1/package/systemd/Config.in @@ -0,0 +1,524 @@ +config BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS + bool + # see src/basic/architecture.h + default y if BR2_arc + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_arm || BR2_armeb + default y if BR2_i386 || BR2_x86_64 + default y if BR2_m68k + default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le + default y if BR2_nios2 + default y if BR2_riscv + default y if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb + default y if BR2_sparc || BR2_sparc64 + default y if BR2_s390x + +menuconfig BR2_PACKAGE_SYSTEMD + bool "systemd" + depends on BR2_INIT_SYSTEMD + depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS # kmod + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_TOOLCHAIN_HAS_SSP + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_HOST_GCC_AT_LEAST_5 # host-systemd + select BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_DBUS # runtime dependency only + select BR2_PACKAGE_LIBCAP + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBS + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + select BR2_PACKAGE_UTIL_LINUX_AGETTY + select BR2_PACKAGE_UTIL_LINUX_MOUNT + select BR2_PACKAGE_UTIL_LINUX_FSCK + select BR2_PACKAGE_KMOD + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # kmod-tools + select BR2_PACKAGE_KMOD_TOOLS + select BR2_TARGET_TZ_INFO + select BR2_NEEDS_HOST_UTF8_LOCALE + select BR2_PACKAGE_HOST_SYSTEMD # for systemctl preset-all, during target-finalize + help + systemd is a system and service manager for Linux, + compatible with SysV and LSB init scripts. systemd provides + aggressive parallelization capabilities, uses socket and + D-Bus activation for starting services, offers on-demand + starting of daemons, keeps track of processes using Linux + cgroups, supports snapshotting and restoring of the system + state, maintains mount and automount points and implements + an elaborate transactional dependency-based service control + logic. It can work as a drop-in replacement for sysvinit. + + Systemd requires a Linux kernel >= 3.13 with the following + options enabled: + + - CONFIG_DEVTMPFS + - CONFIG_CGROUPS (it is OK to disable all controllers) + - CONFIG_INOTIFY_USER + - CONFIG_SIGNALFD + - CONFIG_TIMERFD + - CONFIG_EPOLL + - CONFIG_UNIX (it requires CONFIG_NET, but every other flag in + it is not necessary) + - CONFIG_SYSFS + - CONFIG_PROC_FS + - CONFIG_FHANDLE (libudev, mount and bind mount handling) + + - CONFIG_NET_NS (needed by PrivateNetwork=, used in some + systemd units) + + - CONFIG_AUTOFS_FS / CONFIG_AUTOFS4_FS + - CONFIG_TMPFS_POSIX_ACL + - CONFIG_TMPFS_XATTR + + These options will be automatically enabled by Buildroot if + it is responsible for building the kernel. Otherwise, if you + are building your kernel outside of Buildroot, make sure + these options are enabled. + + Systemd also provides udev, the userspace device daemon. + + The selection of other packages will enable some features: + + - acl package will add support for multi-seat. + - xz and/or l4 packages will add compression support in + journal and coredump. + - libcurl package will add support for systemd-journal-upload. + - libgcrypt package will add support for journal sealing and + DNSSEC verification in resolved. + + Notice that systemd selects the fsck wrapper from util-linux + but no particular fsck. is selected. You must choose + the apropriate ones (e.g. e2fsck, from the e2fsprogs + package) according to the system configuration. + + http://freedesktop.org/wiki/Software/systemd + +if BR2_PACKAGE_SYSTEMD + +config BR2_PACKAGE_PROVIDES_UDEV + default "systemd" + +config BR2_PACKAGE_SYSTEMD_BOOT + bool "systemd-boot" + depends on BR2_i386 || BR2_x86_64 + select BR2_PACKAGE_GNU_EFI + help + systemd-boot is a simple UEFI boot manager which executes + configured EFI images. The default entry is selected by a + configured pattern (glob) or an on-screen menu. + + systemd-boot operates on the EFI System Partition (ESP) + only. Configuration file fragments, kernels, initrds, other + EFI images need to reside on the ESP. Linux kernels need to + be built with CONFIG_EFI_STUB to be able to be directly + executed as an EFI image. + + See the Grub2 help text for details on preparing an EFI + capable disk image using systemd-boot: the instructions are + exactly the same, except that the systemd-boot configuration + files will be located in /loader/ inside the EFI partition. + + https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/ + +config BR2_PACKAGE_SYSTEMD_INITRD + bool "Services for booting from initrd" + help + Install various services that are only useful if systemd is + run from an initrd. + +config BR2_PACKAGE_SYSTEMD_KERNELINSTALL + bool "install kernel-install and related files" + help + kernel-install is used to install and remove kernel and + initramfs images to and from the boot loader partition. + The boot loader partition will usually be one of + /boot, /efi, or /boot/efi. + +config BR2_PACKAGE_SYSTEMD_ANALYZE + bool "systemd-analyze" + help + systemd-analyze may be used to determine system boot-up + performance statistics and retrieve other state and tracing + information from the system and service manager, and to + verify the correctness of unit files. + It is also used to access special functions useful for + advanced system manager debugging. + +config BR2_PACKAGE_SYSTEMD_BOOT_EFI_ARCH + string + default "ia32" if BR2_i386 + default "x64" if BR2_x86_64 + depends on BR2_PACKAGE_SYSTEMD_BOOT + +config BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE + bool "enable journal remote tools" + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBMICROHTTPD + help + journal remote functionality adds three tools: + + systemd-journal-gatewayd serves journal events over the + network. + + systemd-journal-remote is a command to receive serialized + journal events and store them to journal files. + + systemd-journal-upload will upload journal entries to the + URL specified with --url=. + + https://www.freedesktop.org/software/systemd/man/systemd-journal-gatewayd.service.html + https://www.freedesktop.org/software/systemd/man/systemd-journal-remote.service.html + https://www.freedesktop.org/software/systemd/man/systemd-journal-upload.html + +config BR2_PACKAGE_SYSTEMD_BACKLIGHT + bool "enable backlight support" + help + systemd-backlight is a service that restores the display + backlight brightness at early boot and saves it at shutdown. + + http://www.freedesktop.org/software/systemd/man/systemd-backlight@.service.html + +config BR2_PACKAGE_SYSTEMD_BINFMT + bool "enable binfmt tool" + help + systemd-binfmt is an early boot service that registers + additional binary formats for executables in the kernel. + + http://www.freedesktop.org/software/systemd/man/systemd-binfmt.service.html + +config BR2_PACKAGE_SYSTEMD_COREDUMP + bool "enable coredump hook" + help + systemd-coredump can be used as a helper binary by the + kernel when a user space program receives a fatal signal and + dumps core. + + http://www.freedesktop.org/software/systemd/man/systemd-coredump.html + +config BR2_PACKAGE_SYSTEMD_PSTORE + bool "enable pstore support" + default y + help + When this features is enabled, additional tools and services + are built to support archiving contents of the persistent + storage filesytem. + + https://www.freedesktop.org/software/systemd/man/systemd-pstore.html + +config BR2_PACKAGE_SYSTEMD_FIRSTBOOT + bool "enable firstboot support" + help + systemd-firstboot initializes the most basic system settings + interactively on the first boot. + + http://www.freedesktop.org/software/systemd/man/systemd-firstboot.html + +config BR2_PACKAGE_SYSTEMD_HIBERNATE + bool "enable hibernation support" + select BR2_PACKAGE_SYSTEMD_INITRD + help + When this features is enabled, additional tools and services + are built to support suspending and resuming the system. + + http://www.freedesktop.org/software/systemd/man/systemd-sleep.html + +config BR2_PACKAGE_SYSTEMD_HOMED + bool "enable home daemon" + depends on BR2_TOOLCHAIN_HAS_THREADS # cryptsetup -> lvm2 + depends on BR2_USE_MMU # cryptsetup -> lvm2 + depends on !BR2_STATIC_LIBS # cryptsetup -> lvm2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # cryptsetup -> json-c + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 # fscrypt_key + select BR2_PACKAGE_CRYPTSETUP + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_UTIL_LINUX_LIBFDISK + help + systemd-homed is a system service that may be used to create, + remove, change or inspect home directories. + + https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html + +comment "homed support needs a toolchain w/ threads, dynamic library, kernel headers >= 4.12" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + +config BR2_PACKAGE_SYSTEMD_HOSTNAMED + bool "enable hostname daemon" + default y + help + systemd-hostnamed is a system service that may be used as a + mechanism to change the system's hostname. + + http://www.freedesktop.org/software/systemd/man/systemd-hostnamed.service.html + +config BR2_PACKAGE_SYSTEMD_HWDB + bool "enable hwdb installation" + default y + help + Enables hardware database installation to /usr/lib/udev/hwdb.d + + Disabling this option improves first boot time (or every boot + time in case of initramfs images) and saves several MB space. + + https://www.freedesktop.org/software/systemd/man/hwdb.html + +config BR2_PACKAGE_SYSTEMD_IMPORTD + bool "enable import daemon" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_XZ + select BR2_PACKAGE_ZLIB + help + systemd-importd is a system service that manages virtual + machine and container images for systemd-machined and + machinectl. + + http://www.freedesktop.org/software/systemd/man/machinectl.html#Image%20Transfer%20Commands + +config BR2_PACKAGE_SYSTEMD_CATALOGDB + bool "enable journal catalog database installation" + depends on BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW # conflicting tmpfiles magic + help + Build and install the journal catalog database. + + catalog files are used to provide extended and potentially + localized messages for the journal. + + The original catalog files will be built into a DB at + /usr/share/factory/var/lib/systemd/catalog/database. + + https://www.freedesktop.org/wiki/Software/systemd/catalog/ + +config BR2_PACKAGE_SYSTEMD_LOCALED + bool "enable locale daemon" + help + systemd-localed is a system service that may be used as + mechanism to change the system locale settings, as well as + the console key mapping and default X11 key mapping. + + http://www.freedesktop.org/software/systemd/man/systemd-localed.service.html + +config BR2_PACKAGE_SYSTEMD_LOGIND + bool "enable login daemon" + help + systemd-logind is a system service that manages user logins. + + http://www.freedesktop.org/software/systemd/man/systemd-logind.service.html + +config BR2_PACKAGE_SYSTEMD_MACHINED + bool "enable machine daemon" + help + systemd-machined is a system service that keeps track of + virtual machines and containers, and processes belonging to + them. + + http://www.freedesktop.org/software/systemd/man/systemd-machined.service.html + +config BR2_PACKAGE_SYSTEMD_MYHOSTNAME + bool "enable myhostname NSS plugin" + default y + help + nss-myhostname is a plug-in module for the GNU Name Service + Switch (NSS) functionality of the GNU C Library (glibc), + primarily providing hostname resolution for the locally + configured system hostname as returned by gethostname(2). + + http://www.freedesktop.org/software/systemd/man/nss-myhostname.html + +config BR2_PACKAGE_SYSTEMD_NETWORKD + bool "enable network manager" + default y + help + systemd-networkd is a system service that manages networks. + It detects and configures network devices as they appear, as + well as creating virtual network devices. + + This simple network configuration solution is an alternative + to dhcpcd or ISC dhcp. + + http://www.freedesktop.org/software/systemd/man/systemd-networkd.html + +config BR2_PACKAGE_SYSTEMD_OOMD + bool "enable out-of-memory killer" + help + systemd-oomd is a system service that uses cgroups-v2 and + pressure stall information (PSI) to monitor and take action + on processes before an OOM occurs in kernel space. + + https://www.freedesktop.org/software/systemd/man/systemd-oomd.html + +config BR2_PACKAGE_SYSTEMD_POLKIT + bool "enable polkit support" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> c++17 + depends on BR2_TOOLCHAIN_HAS_THREADS # polkit + depends on BR2_USE_WCHAR # libglib2 + select BR2_PACKAGE_POLKIT + help + If enabled, systemd is built with polkit support and policy + files for its services are generated and installed. It is + useful for allowing unprivileged processes to speak to + systemd's many privileged processes. + + http://wiki.freedesktop.org/www/Software/polkit/ + +comment "polkit support needs a toolchain with threads, wchar, gcc >= 7" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_SYSTEMD_PORTABLED + bool "enable portable services" + help + Portable services are systemd services that can be dynamically + attached and detached from the system. + + These services must come with their own root directory which + they are bound to through an automatically generated drop-in. + + They also have restrictions applied by the host system in the + form of profiles. + + This functionality is provided by the system service + systemd-portabled along with the corresponding CLI + portablectl. + + https://systemd.io/PORTABLE_SERVICES/ + +config BR2_PACKAGE_SYSTEMD_QUOTACHECK + bool "enable quotacheck tools" + help + systemd-quotacheck is a service responsible for file system + quota checks. It is run once at boot after all necessary + file systems are mounted. It is pulled in only if at least + one file system has quotas enabled. + + http://www.freedesktop.org/software/systemd/man/systemd-quotacheck.service.html + +config BR2_PACKAGE_SYSTEMD_RANDOMSEED + bool "enable random-seed support" + help + systemd-random-seed is a service that restores the random + seed of the system at early boot and saves it at + shutdown. Saving/restoring the random seed across boots + increases the amount of available entropy early at boot. + + http://www.freedesktop.org/software/systemd/man/systemd-random-seed.service.html + +config BR2_PACKAGE_SYSTEMD_REPART + bool "enable repart support" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_UTIL_LINUX_LIBFDISK + help + systemd-repart grows and adds partitions to a partition table, + based on the configuration files described in repart.d. + + https://www.freedesktop.org/software/systemd/man/systemd-repart.html + +config BR2_PACKAGE_SYSTEMD_RESOLVED + bool "enable resolve daemon" + default y + help + systemd-resolved is a system service that provides network + name resolution to local applications. It implements a + caching and validating DNS/DNSSEC stub resolver, as well as + an LLMNR resolver and responder. + + http://www.freedesktop.org/software/systemd/man/systemd-resolved.html + +config BR2_PACKAGE_SYSTEMD_RFKILL + bool "enable rfkill tools" + help + systemd-rfkill is a service that restores the RF kill switch + state at early boot and saves it at shutdown. + + http://www.freedesktop.org/software/systemd/man/systemd-rfkill@.service.html + +config BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT + bool "enable SMACK support" + select BR2_PACKAGE_ATTR + select BR2_PACKAGE_SMACK + help + Enable support for SMACK, the Simple Mandatory Access + Control Kernel, a minimal approach to Access Control + implemented as a kernel LSM. + + This feature requires a kernel >= 3.8. + + When this feature is enabled, Systemd mounts smackfs and + manages security labels for sockets. + +config BR2_PACKAGE_SYSTEMD_SYSEXT + bool "enable sysext support" + help + systemd-sysext activates/deactivates system extension + images. + + System extension images may – dynamically at runtime — + extend the /usr/ and /opt/ directory hierarchies with + additional files. + + This is particularly useful on immutable system images where + a /usr/ and/or /opt/ hierarchy residing on a read-only file + system shall be extended temporarily at runtime without + making any persistent modifications. + + https://www.freedesktop.org/software/systemd/man/systemd-sysext.html + +config BR2_PACKAGE_SYSTEMD_SYSUSERS + bool "enable sysusers support" + help + systemd-sysusers creates system users and groups, based on + the file format and location specified in sysusers.d(5). + + http://www.freedesktop.org/software/systemd/man/systemd-sysusers.html + +config BR2_PACKAGE_SYSTEMD_TIMEDATED + bool "enable timedate daemon" + default y + help + systemd-timedated is a system service that may be used as a + mechanism to change the system clock and timezone, as well + as to enable/disable NTP time synchronization. + + http://www.freedesktop.org/software/systemd/man/systemd-timedated.service.html + +config BR2_PACKAGE_SYSTEMD_TIMESYNCD + bool "enable timesync daemon" + default y + help + systemd-timesyncd is a service that may be used to + synchronize the local system clock with a Network Time + Protocol server. + + This simple NTP solution is an alternative to sntp/ntpd from + the ntp package. + + http://www.freedesktop.org/software/systemd/man/systemd-timesyncd.html + +config BR2_PACKAGE_SYSTEMD_USERDB + bool "enable userdb daemon" + help + systemd-userdbd is a system service that multiplexes + user/group lookups to all local services that provide JSON + user/group record definitions to the system. In addition it + synthesizes JSON user/group records from classic UNIX/glibc + NSS user/group records in order to provide full backwards + compatibility. + + https://www.freedesktop.org/software/systemd/man/systemd-userdbd.service.html + +config BR2_PACKAGE_SYSTEMD_VCONSOLE + bool "enable vconsole tool" + default y + help + systemd-vconsole-setup is an early boot service that + configures the virtual console font and console keymap. + + http://www.freedesktop.org/software/systemd/man/systemd-vconsole-setup.service.html + +endif diff --git a/buildroot-2021.05/package/systemd/Config.in.host b/buildroot-2022.02.1/package/systemd/Config.in.host similarity index 100% rename from buildroot-2021.05/package/systemd/Config.in.host rename to buildroot-2022.02.1/package/systemd/Config.in.host diff --git a/buildroot-2021.05/package/systemd/boot-files/buildroot.conf b/buildroot-2022.02.1/package/systemd/boot-files/buildroot.conf similarity index 100% rename from buildroot-2021.05/package/systemd/boot-files/buildroot.conf rename to buildroot-2022.02.1/package/systemd/boot-files/buildroot.conf diff --git a/buildroot-2021.05/package/systemd/boot-files/loader.conf b/buildroot-2022.02.1/package/systemd/boot-files/loader.conf similarity index 100% rename from buildroot-2021.05/package/systemd/boot-files/loader.conf rename to buildroot-2022.02.1/package/systemd/boot-files/loader.conf diff --git a/buildroot-2021.05/package/systemd/dhcp.network b/buildroot-2022.02.1/package/systemd/dhcp.network similarity index 100% rename from buildroot-2021.05/package/systemd/dhcp.network rename to buildroot-2022.02.1/package/systemd/dhcp.network diff --git a/buildroot-2022.02.1/package/systemd/fakeroot_tmpfiles.sh b/buildroot-2022.02.1/package/systemd/fakeroot_tmpfiles.sh new file mode 100755 index 00000000..9498638f --- /dev/null +++ b/buildroot-2022.02.1/package/systemd/fakeroot_tmpfiles.sh @@ -0,0 +1,59 @@ +#!/bin/sh +# +# The systemd-tmpfiles has the ability to grab information +# from the filesystem (instead from the running system). +# +# tmpfs directories (/tmp, /proc, ...) are skipped since they're not +# relevant for the rootfs image. +# +# However there are a few specifiers that *always* will grab +# information from the running system examples are %a, %b, %m, %H +# (Architecture, Boot UUID, Machine UUID, Hostname). +# +# See [1] for historic information. +# +# This script will (conservatively) skip tmpfiles lines that have +# such an specifier to prevent leaking host information. +# +# shell expansion is critical to be POSIX compliant, +# this script wont work with zsh in its default mode for example. +# +# The script takes several measures to handle more complex stuff +# like passing this correctly: +# f+ "/var/example" - - - - %B\n%o\n%w\n%W%%\n +# +# [1] - https://github.com/systemd/systemd/pull/16187 + +[ -n "${HOST_SYSTEMD_TMPFILES-}" ] || + HOST_SYSTEMD_TMPFILES=systemd-tmpfiles + +[ -n "${1-}" -a -d "${1-}"/usr/lib/tmpfiles.d ] || + { echo 1>&2 "$0: need ROOTFS argument"; exit 1; } + +${HOST_SYSTEMD_TMPFILES} --no-pager --cat-config --root="$1" | + sed -e '/^[[:space:]]*#/d' -e 's,^[[:space:]]*,,' -e '/^$/d' | + while read -r line; do + # it is allowed to use quotes around arguments, + # so let the shell pack the arguments + eval "set -- $line" + + # dont output warnings for directories we dont process + [ "${2#/dev}" = "${2}" ] && [ "${2#/proc}" = "${2}" ] && + [ "${2#/run}" = "${2}" ] && [ "${2#/sys}" = "${2}" ] && + [ "${2#/tmp}" = "${2}" ] && [ "${2#/mnt}" = "${2}" ] || + continue + + # blank out all specs that are ok to use, + # test if some remain. (Specs up to date with v250) + if echo "$2 ${7-}" | sed -e 's,%[%BCEgGhLMosStTuUVwW],,g' | grep -v -q '%'; then + # no "bad" specifiers, pass the line unmodified + eval "printf '%s\n' '$line'" + else + # warn + eval "printf 'ignored spec: %s\n' '$line' 1>&2" + fi + done | + TMPDIR= TEMP= TMP= ${HOST_SYSTEMD_TMPFILES} --create --boot --root="$1" \ + --exclude-prefix=/dev --exclude-prefix=/proc --exclude-prefix=/run \ + --exclude-prefix=/sys --exclude-prefix=/tmp --exclude-prefix=/mnt \ + - diff --git a/buildroot-2022.02.1/package/systemd/systemd.hash b/buildroot-2022.02.1/package/systemd/systemd.hash new file mode 100644 index 00000000..3572b259 --- /dev/null +++ b/buildroot-2022.02.1/package/systemd/systemd.hash @@ -0,0 +1,14 @@ +# sha256 locally computed +sha256 d2bda9d225da11dc9ff48b48e59fc36798d3e66902ed400a9f78fa370c596864 systemd-250.4.tar.gz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 LICENSE.GPL2 +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 +sha256 e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5 LICENSES/BSD-2-Clause.txt +sha256 83bb6bd9ccd2cf5230cb1807ed16258289768dc4d9cb80069a814e04415a1275 LICENSES/BSD-3-Clause.txt +sha256 a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499 LICENSES/CC0-1.0.txt +sha256 61778e80a2fd85955b626b29aa2bcf06144c714277bded65633e4a81479d9fb3 LICENSES/LGPL-2.0-or-later.txt +sha256 5bcef4fedbfc08776630e65d5d0d074dd31208037eddb167ca46a9ec4f737764 LICENSES/Linux-syscall-note.txt +sha256 790ac93fb2859097bdda4cf08b5a4feb5e479d0cb2c74f403248241bc3e7c216 LICENSES/lookup3-public-domain.txt +sha256 b85dcd3e453d05982552c52b5fc9e0bdd6d23c6f8e844b984a88af32570b0cc0 LICENSES/MIT.txt +sha256 2a98749f6bec00dfaed86fa9c1edea871aaae4f11ee4d100b671aaf4ce353a73 LICENSES/murmurhash2-public-domain.txt +sha256 1a7adaa2c86cedfd6c7f5c0c7c72fd6d3e02cd0c9593f21fdb53c89bb2b130ec LICENSES/OFL-1.1.txt +sha256 11801e931f252252a16eac8299465510d0a82c36bfd9ac8aea9b202b76d2f82b LICENSES/README.md diff --git a/buildroot-2022.02.1/package/systemd/systemd.mk b/buildroot-2022.02.1/package/systemd/systemd.mk new file mode 100644 index 00000000..9feed9c0 --- /dev/null +++ b/buildroot-2022.02.1/package/systemd/systemd.mk @@ -0,0 +1,872 @@ +################################################################################ +# +# systemd +# +################################################################################ + +# When updating systemd, take care of the following: +# - Check if the requirements have changed (see README), in particular +# arch and headers +# - If yes, propagate the dependencies to BR2_INIT_SYSTEMD +# - If the required kernel options have changed, update the Config.in +# help text and the list of KCONFIG_ENABLE_OPT. +# - Check if there are new meson_options. Make sure all options are set +# explicitly (usually to default value). +# - If there are new services: +# - create new options for them (if they really are optional); +# - create a new _USER if necessary; +# - create new directory (with _PERMISSIONS) if necessary. +# - Diff sysusers.d with the previous version +# - Diff factory/etc/nsswitch.conf with the previous version +# (details are often sprinkled around in README and manpages) +SYSTEMD_VERSION = 250.4 +SYSTEMD_SITE = $(call github,systemd,systemd-stable,v$(SYSTEMD_VERSION)) +SYSTEMD_LICENSE = \ + LGPL-2.1+, \ + GPL-2.0+ (udev), \ + Public Domain (few source files, see LICENSES/README.md), \ + BSD-2-Clause (eBPF instruction mini library), \ + BSD-3-Clause (tools/chromiumos), \ + CC0-1.0 (few source files, see LICENSES/README.md), \ + GPL-2.0 with Linux-syscall-note (linux kernel headers), \ + MIT (few source files, see LICENSES/README.md), \ + OFL-1.1 (Heebo fonts) +SYSTEMD_LICENSE_FILES = \ + LICENSE.GPL2 \ + LICENSE.LGPL2.1 \ + LICENSES/BSD-2-Clause.txt \ + LICENSES/BSD-3-Clause.txt \ + LICENSES/CC0-1.0.txt \ + LICENSES/LGPL-2.0-or-later.txt \ + LICENSES/Linux-syscall-note.txt \ + LICENSES/lookup3-public-domain.txt \ + LICENSES/MIT.txt \ + LICENSES/murmurhash2-public-domain.txt \ + LICENSES/OFL-1.1.txt \ + LICENSES/README.md +SYSTEMD_CPE_ID_VENDOR = freedesktop +SYSTEMD_INSTALL_STAGING = YES +SYSTEMD_DEPENDENCIES = \ + $(BR2_COREUTILS_HOST_DEPENDENCY) \ + $(if $(BR2_PACKAGE_BASH_COMPLETION),bash-completion) \ + host-gperf \ + host-python-jinja2 \ + kmod \ + libcap \ + util-linux-libs \ + $(TARGET_NLS_DEPENDENCIES) + +SYSTEMD_SELINUX_MODULES = systemd udev xdg + +SYSTEMD_PROVIDES = udev + +SYSTEMD_CONF_OPTS += \ + -Ddefault-hierarchy=unified \ + -Didn=true \ + -Dima=false \ + -Dkexec-path=/usr/sbin/kexec \ + -Dkmod-path=/usr/bin/kmod \ + -Dldconfig=false \ + -Dlink-boot-shared=true \ + -Dloadkeys-path=/usr/bin/loadkeys \ + -Dman=false \ + -Dmount-path=/usr/bin/mount \ + -Dmode=release \ + -Dnss-systemd=true \ + -Dquotacheck-path=/usr/sbin/quotacheck \ + -Dquotaon-path=/usr/sbin/quotaon \ + -Drootlibdir='/usr/lib' \ + -Dsetfont-path=/usr/bin/setfont \ + -Dsplit-bin=true \ + -Dsplit-usr=false \ + -Dsulogin-path=/usr/sbin/sulogin \ + -Dsystem-gid-max=999 \ + -Dsystem-uid-max=999 \ + -Dsysvinit-path= \ + -Dsysvrcnd-path= \ + -Dtelinit-path= \ + -Dtests=false \ + -Dtmpfiles=true \ + -Dumount-path=/usr/bin/umount \ + -Dutmp=false + +ifeq ($(BR2_nios2),y) +# Nios2 ld emits warnings, make warnings not to be treated as errors +SYSTEMD_LDFLAGS = $(TARGET_LDFLAGS) -Wl,--no-fatal-warnings +endif + +ifeq ($(BR2_PACKAGE_ACL),y) +SYSTEMD_DEPENDENCIES += acl +SYSTEMD_CONF_OPTS += -Dacl=true +else +SYSTEMD_CONF_OPTS += -Dacl=false +endif + +ifeq ($(BR2_PACKAGE_LESS),y) +SYSTEMD_CONF_OPTS += -Durlify=true +else +SYSTEMD_CONF_OPTS += -Durlify=false +endif + +ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y) +SYSTEMD_DEPENDENCIES += libapparmor +SYSTEMD_CONF_OPTS += -Dapparmor=true +else +SYSTEMD_CONF_OPTS += -Dapparmor=false +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +SYSTEMD_DEPENDENCIES += audit +SYSTEMD_CONF_OPTS += -Daudit=true +else +SYSTEMD_CONF_OPTS += -Daudit=false +endif + +ifeq ($(BR2_PACKAGE_CRYPTSETUP),y) +SYSTEMD_DEPENDENCIES += cryptsetup +SYSTEMD_CONF_OPTS += -Dlibcryptsetup=true -Dlibcryptsetup-plugins=true +else +SYSTEMD_CONF_OPTS += -Dlibcryptsetup=false -Dlibcryptsetup-plugins=false +endif + +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +SYSTEMD_DEPENDENCIES += elfutils +SYSTEMD_CONF_OPTS += -Delfutils=true +else +SYSTEMD_CONF_OPTS += -Delfutils=false +endif + +ifeq ($(BR2_PACKAGE_IPTABLES),y) +SYSTEMD_DEPENDENCIES += iptables +SYSTEMD_CONF_OPTS += -Dlibiptc=true +else +SYSTEMD_CONF_OPTS += -Dlibiptc=false +endif + +# Both options can't be selected at the same time so prefer libidn2 +ifeq ($(BR2_PACKAGE_LIBIDN2),y) +SYSTEMD_DEPENDENCIES += libidn2 +SYSTEMD_CONF_OPTS += -Dlibidn2=true -Dlibidn=false +else ifeq ($(BR2_PACKAGE_LIBIDN),y) +SYSTEMD_DEPENDENCIES += libidn +SYSTEMD_CONF_OPTS += -Dlibidn=true -Dlibidn2=false +else +SYSTEMD_CONF_OPTS += -Dlibidn=false -Dlibidn2=false +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +SYSTEMD_DEPENDENCIES += libseccomp +SYSTEMD_CONF_OPTS += -Dseccomp=true +else +SYSTEMD_CONF_OPTS += -Dseccomp=false +endif + +ifeq ($(BR2_PACKAGE_LIBXKBCOMMON),y) +SYSTEMD_DEPENDENCIES += libxkbcommon +SYSTEMD_CONF_OPTS += -Dxkbcommon=true +else +SYSTEMD_CONF_OPTS += -Dxkbcommon=false +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +SYSTEMD_DEPENDENCIES += bzip2 +SYSTEMD_CONF_OPTS += -Dbzip2=true +else +SYSTEMD_CONF_OPTS += -Dbzip2=false +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +SYSTEMD_DEPENDENCIES += zstd +SYSTEMD_CONF_OPTS += -Dzstd=true +else +SYSTEMD_CONF_OPTS += -Dzstd=false +endif + +ifeq ($(BR2_PACKAGE_LZ4),y) +SYSTEMD_DEPENDENCIES += lz4 +SYSTEMD_CONF_OPTS += -Dlz4=true +else +SYSTEMD_CONF_OPTS += -Dlz4=false +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +SYSTEMD_DEPENDENCIES += linux-pam +SYSTEMD_CONF_OPTS += -Dpam=true +else +SYSTEMD_CONF_OPTS += -Dpam=false +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBFDISK),y) +SYSTEMD_CONF_OPTS += -Dfdisk=true +else +SYSTEMD_CONF_OPTS += -Dfdisk=false +endif + +ifeq ($(BR2_PACKAGE_VALGRIND),y) +SYSTEMD_DEPENDENCIES += valgrind +SYSTEMD_CONF_OPTS += -Dvalgrind=true +else +SYSTEMD_CONF_OPTS += -Dvalgrind=false +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +SYSTEMD_DEPENDENCIES += xz +SYSTEMD_CONF_OPTS += -Dxz=true +else +SYSTEMD_CONF_OPTS += -Dxz=false +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +SYSTEMD_DEPENDENCIES += zlib +SYSTEMD_CONF_OPTS += -Dzlib=true +else +SYSTEMD_CONF_OPTS += -Dzlib=false +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +SYSTEMD_DEPENDENCIES += libcurl +SYSTEMD_CONF_OPTS += -Dlibcurl=true +else +SYSTEMD_CONF_OPTS += -Dlibcurl=false +endif + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +SYSTEMD_DEPENDENCIES += libgcrypt +SYSTEMD_CONF_OPTS += -Ddefault-dnssec=allow-downgrade -Dgcrypt=true +else +SYSTEMD_CONF_OPTS += -Ddefault-dnssec=no -Dgcrypt=false +endif + +ifeq ($(BR2_PACKAGE_P11_KIT),y) +SYSTEMD_DEPENDENCIES += p11-kit +SYSTEMD_CONF_OPTS += -Dp11kit=true +else +SYSTEMD_CONF_OPTS += -Dp11kit=false +endif + +ifeq ($(BR2_PACKAGE_PCRE2),y) +SYSTEMD_DEPENDENCIES += pcre2 +SYSTEMD_CONF_OPTS += -Dpcre2=true +else +SYSTEMD_CONF_OPTS += -Dpcre2=false +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),y) +SYSTEMD_CONF_OPTS += -Dblkid=true +else +SYSTEMD_CONF_OPTS += -Dblkid=false +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_NOLOGIN),y) +SYSTEMD_CONF_OPTS += -Dnologin-path=/sbin/nologin +else +SYSTEMD_CONF_OPTS += -Dnologin-path=/bin/false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_INITRD),y) +SYSTEMD_CONF_OPTS += -Dinitrd=true +else +SYSTEMD_CONF_OPTS += -Dinitrd=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_KERNELINSTALL),y) +SYSTEMD_CONF_OPTS += -Dkernel-install=true +else +SYSTEMD_CONF_OPTS += -Dkernel-install=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_ANALYZE),y) +SYSTEMD_CONF_OPTS += -Danalyze=true +else +SYSTEMD_CONF_OPTS += -Danalyze=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE),y) +# remote also depends on libcurl, this is already added above. +SYSTEMD_DEPENDENCIES += libmicrohttpd +SYSTEMD_CONF_OPTS += -Dremote=true -Dmicrohttpd=true +SYSTEMD_REMOTE_USER = systemd-journal-remote -1 systemd-journal-remote -1 * - - - systemd Journal Remote +else +SYSTEMD_CONF_OPTS += -Dremote=false -Dmicrohttpd=false +endif + +ifeq ($(BR2_PACKAGE_LIBQRENCODE),y) +SYSTEMD_DEPENDENCIES += libqrencode +SYSTEMD_CONF_OPTS += -Dqrencode=true +else +SYSTEMD_CONF_OPTS += -Dqrencode=false +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +SYSTEMD_DEPENDENCIES += libselinux +SYSTEMD_CONF_OPTS += -Dselinux=true +else +SYSTEMD_CONF_OPTS += -Dselinux=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_HWDB),y) +SYSTEMD_CONF_OPTS += -Dhwdb=true +define SYSTEMD_BUILD_HWDB + $(HOST_DIR)/bin/udevadm hwdb --update --root $(TARGET_DIR) +endef +SYSTEMD_TARGET_FINALIZE_HOOKS += SYSTEMD_BUILD_HWDB +define SYSTEMD_RM_HWDB_SRV + rm -rf $(TARGET_DIR)/$(HOST_EUDEV_SYSCONFDIR)/udev/hwdb.d/ +endef +SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_RM_HWDB_SRV +else +SYSTEMD_CONF_OPTS += -Dhwdb=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_BINFMT),y) +SYSTEMD_CONF_OPTS += -Dbinfmt=true +else +SYSTEMD_CONF_OPTS += -Dbinfmt=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_VCONSOLE),y) +SYSTEMD_CONF_OPTS += -Dvconsole=true +else +SYSTEMD_CONF_OPTS += -Dvconsole=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_QUOTACHECK),y) +SYSTEMD_CONF_OPTS += -Dquotacheck=true +else +SYSTEMD_CONF_OPTS += -Dquotacheck=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_SYSUSERS),y) +SYSTEMD_CONF_OPTS += -Dsysusers=true +else +SYSTEMD_CONF_OPTS += -Dsysusers=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_FIRSTBOOT),y) +SYSTEMD_CONF_OPTS += -Dfirstboot=true +else +SYSTEMD_CONF_OPTS += -Dfirstboot=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_RANDOMSEED),y) +SYSTEMD_CONF_OPTS += -Drandomseed=true +else +SYSTEMD_CONF_OPTS += -Drandomseed=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_BACKLIGHT),y) +SYSTEMD_CONF_OPTS += -Dbacklight=true +else +SYSTEMD_CONF_OPTS += -Dbacklight=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_RFKILL),y) +SYSTEMD_CONF_OPTS += -Drfkill=true +else +SYSTEMD_CONF_OPTS += -Drfkill=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_LOGIND),y) +SYSTEMD_CONF_OPTS += -Dlogind=true +SYSTEMD_LOGIND_PERMISSIONS = /var/lib/systemd/linger d 755 0 0 - - - - - +else +SYSTEMD_CONF_OPTS += -Dlogind=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_MACHINED),y) +SYSTEMD_CONF_OPTS += -Dmachined=true -Dnss-mymachines=true +SYSTEMD_MACHINED_PERMISSIONS = /var/lib/machines d 700 0 0 - - - - - +else +SYSTEMD_CONF_OPTS += -Dmachined=false -Dnss-mymachines=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_IMPORTD),y) +SYSTEMD_CONF_OPTS += -Dimportd=true +else +SYSTEMD_CONF_OPTS += -Dimportd=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_HOMED),y) +SYSTEMD_CONF_OPTS += -Dhomed=true +SYSTEMD_DEPENDENCIES += cryptsetup openssl +SYSTEMD_HOMED_PERMISSIONS = /var/lib/systemd/home d 755 0 0 - - - - - +else +SYSTEMD_CONF_OPTS += -Dhomed=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_HOSTNAMED),y) +SYSTEMD_CONF_OPTS += -Dhostnamed=true +else +SYSTEMD_CONF_OPTS += -Dhostnamed=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_MYHOSTNAME),y) +SYSTEMD_CONF_OPTS += -Dnss-myhostname=true +else +SYSTEMD_CONF_OPTS += -Dnss-myhostname=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_TIMEDATED),y) +SYSTEMD_CONF_OPTS += -Dtimedated=true +else +SYSTEMD_CONF_OPTS += -Dtimedated=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_LOCALED),y) +SYSTEMD_CONF_OPTS += -Dlocaled=true +else +SYSTEMD_CONF_OPTS += -Dlocaled=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_REPART),y) +SYSTEMD_CONF_OPTS += -Drepart=true +SYSTEMD_DEPENDENCIES += openssl +else +SYSTEMD_CONF_OPTS += -Drepart=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_USERDB),y) +SYSTEMD_CONF_OPTS += -Duserdb=true +else +SYSTEMD_CONF_OPTS += -Duserdb=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_COREDUMP),y) +SYSTEMD_CONF_OPTS += -Dcoredump=true +SYSTEMD_COREDUMP_USER = systemd-coredump -1 systemd-coredump -1 * - - - systemd core dump processing +SYSTEMD_COREDUMP_PERMISSIONS = /var/lib/systemd/coredump d 755 0 0 - - - - - +else +SYSTEMD_CONF_OPTS += -Dcoredump=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_PSTORE),y) +SYSTEMD_CONF_OPTS += -Dpstore=true +SYSTEMD_PSTORE_PERMISSIONS = /var/lib/systemd/pstore d 755 0 0 - - - - - +else +SYSTEMD_CONF_OPTS += -Dpstore=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_OOMD),y) +SYSTEMD_CONF_OPTS += -Doomd=true +SYSTEMD_OOMD_USER = systemd-oom -1 systemd-oom -1 * - - - systemd Userspace OOM Killer +else +SYSTEMD_CONF_OPTS += -Doomd=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_POLKIT),y) +SYSTEMD_CONF_OPTS += -Dpolkit=true +SYSTEMD_DEPENDENCIES += polkit +else +SYSTEMD_CONF_OPTS += -Dpolkit=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_PORTABLED),y) +SYSTEMD_CONF_OPTS += -Dportabled=true +else +SYSTEMD_CONF_OPTS += -Dportabled=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_SYSEXT),y) +SYSTEMD_CONF_OPTS += -Dsysext=true +else +SYSTEMD_CONF_OPTS += -Dsysext=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_NETWORKD),y) +SYSTEMD_CONF_OPTS += -Dnetworkd=true +SYSTEMD_NETWORKD_USER = systemd-network -1 systemd-network -1 * - - - systemd Network Management +SYSTEMD_NETWORKD_DHCP_IFACE = $(call qstrip,$(BR2_SYSTEM_DHCP)) +ifneq ($(SYSTEMD_NETWORKD_DHCP_IFACE),) +define SYSTEMD_INSTALL_NETWORK_CONFS + sed s/SYSTEMD_NETWORKD_DHCP_IFACE/$(SYSTEMD_NETWORKD_DHCP_IFACE)/ \ + $(SYSTEMD_PKGDIR)/dhcp.network > \ + $(TARGET_DIR)/etc/systemd/network/$(SYSTEMD_NETWORKD_DHCP_IFACE).network +endef +endif +else +SYSTEMD_CONF_OPTS += -Dnetworkd=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_RESOLVED),y) +define SYSTEMD_INSTALL_RESOLVCONF_HOOK + ln -sf ../run/systemd/resolve/resolv.conf \ + $(TARGET_DIR)/etc/resolv.conf +endef +SYSTEMD_CONF_OPTS += -Dnss-resolve=true -Dresolve=true +SYSTEMD_RESOLVED_USER = systemd-resolve -1 systemd-resolve -1 * - - - systemd Resolver +else +SYSTEMD_CONF_OPTS += -Dnss-resolve=false -Dresolve=false +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +SYSTEMD_CONF_OPTS += \ + -Dgnutls=false \ + -Dopenssl=true \ + -Ddns-over-tls=openssl \ + -Ddefault-dns-over-tls=opportunistic +SYSTEMD_DEPENDENCIES += openssl +else ifeq ($(BR2_PACKAGE_GNUTLS),y) +SYSTEMD_CONF_OPTS += \ + -Dgnutls=true \ + -Dopenssl=false \ + -Ddns-over-tls=gnutls \ + -Ddefault-dns-over-tls=opportunistic +SYSTEMD_DEPENDENCIES += gnutls +else +SYSTEMD_CONF_OPTS += \ + -Dgnutls=false \ + -Dopenssl=false \ + -Ddns-over-tls=false \ + -Ddefault-dns-over-tls=no +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_TIMESYNCD),y) +SYSTEMD_CONF_OPTS += -Dtimesyncd=true +SYSTEMD_TIMESYNCD_USER = systemd-timesync -1 systemd-timesync -1 * - - - systemd Time Synchronization +SYSTEMD_TIMESYNCD_PERMISSIONS = /var/lib/systemd/timesync d 755 systemd-timesync systemd-timesync - - - - - +else +SYSTEMD_CONF_OPTS += -Dtimesyncd=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT),y) +SYSTEMD_CONF_OPTS += -Dsmack=true +else +SYSTEMD_CONF_OPTS += -Dsmack=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_HIBERNATE),y) +SYSTEMD_CONF_OPTS += -Dhibernate=true +else +SYSTEMD_CONF_OPTS += -Dhibernate=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_BOOT),y) +SYSTEMD_INSTALL_IMAGES = YES +SYSTEMD_DEPENDENCIES += gnu-efi +SYSTEMD_CONF_OPTS += \ + -Defi=true \ + -Dgnu-efi=true \ + -Defi-cc=$(TARGET_CC) \ + -Defi-ld=bfd \ + -Defi-libdir=$(STAGING_DIR)/usr/lib \ + -Defi-includedir=$(STAGING_DIR)/usr/include/efi + +SYSTEMD_BOOT_EFI_ARCH = $(call qstrip,$(BR2_PACKAGE_SYSTEMD_BOOT_EFI_ARCH)) +define SYSTEMD_INSTALL_BOOT_FILES + $(INSTALL) -D -m 0644 $(@D)/build/src/boot/efi/systemd-boot$(SYSTEMD_BOOT_EFI_ARCH).efi \ + $(BINARIES_DIR)/efi-part/EFI/BOOT/boot$(SYSTEMD_BOOT_EFI_ARCH).efi + $(INSTALL) -D -m 0644 $(SYSTEMD_PKGDIR)/boot-files/loader.conf \ + $(BINARIES_DIR)/efi-part/loader/loader.conf + $(INSTALL) -D -m 0644 $(SYSTEMD_PKGDIR)/boot-files/buildroot.conf \ + $(BINARIES_DIR)/efi-part/loader/entries/buildroot.conf +endef + +else +SYSTEMD_CONF_OPTS += -Defi=false -Dgnu-efi=false +endif # BR2_PACKAGE_SYSTEMD_BOOT == y + +SYSTEMD_FALLBACK_HOSTNAME = $(call qstrip,$(BR2_TARGET_GENERIC_HOSTNAME)) +ifneq ($(SYSTEMD_FALLBACK_HOSTNAME),) +SYSTEMD_CONF_OPTS += -Dfallback-hostname=$(SYSTEMD_FALLBACK_HOSTNAME) +endif + +define SYSTEMD_INSTALL_INIT_HOOK + ln -fs multi-user.target \ + $(TARGET_DIR)/usr/lib/systemd/system/default.target +endef + +define SYSTEMD_INSTALL_MACHINEID_HOOK + touch $(TARGET_DIR)/etc/machine-id +endef + +SYSTEMD_POST_INSTALL_TARGET_HOOKS += \ + SYSTEMD_INSTALL_INIT_HOOK \ + SYSTEMD_INSTALL_MACHINEID_HOOK + +define SYSTEMD_INSTALL_IMAGES_CMDS + $(SYSTEMD_INSTALL_BOOT_FILES) +endef + +define SYSTEMD_PERMISSIONS + /var/spool d 755 0 0 - - - - - + /var/lib d 755 0 0 - - - - - + /var/lib/private d 700 0 0 - - - - - + /var/log/private d 700 0 0 - - - - - + /var/cache/private d 700 0 0 - - - - - + $(SYSTEMD_LOGIND_PERMISSIONS) + $(SYSTEMD_MACHINED_PERMISSIONS) + $(SYSTEMD_HOMED_PERMISSIONS) + $(SYSTEMD_COREDUMP_PERMISSIONS) + $(SYSTEMD_PSTORE_PERMISSIONS) + $(SYSTEMD_TIMESYNCD_PERMISSIONS) +endef + +define SYSTEMD_USERS + # udev user groups + # systemd user groups + - - systemd-journal -1 * - - - Journal + $(SYSTEMD_REMOTE_USER) + $(SYSTEMD_COREDUMP_USER) + $(SYSTEMD_OOMD_USER) + $(SYSTEMD_NETWORKD_USER) + $(SYSTEMD_RESOLVED_USER) + $(SYSTEMD_TIMESYNCD_USER) +endef + +define SYSTEMD_INSTALL_NSSCONFIG_HOOK + $(SED) '/^passwd:/ {/systemd/! s/$$/ systemd/}' \ + -e '/^group:/ {/systemd/! s/$$/ [SUCCESS=merge] systemd/}' \ + -e '/^shadow:/ {/systemd/! s/$$/ systemd/}' \ + -e '/^gshadow:/ {/systemd/! s/$$/ systemd/}' \ + $(if $(BR2_PACKAGE_SYSTEMD_RESOLVED), \ + -e '/^hosts:/ s/[[:space:]]*mymachines//' \ + -e '/^hosts:/ {/resolve/! s/files/resolve [!UNAVAIL=return] files/}' ) \ + $(if $(BR2_PACKAGE_SYSTEMD_MYHOSTNAME), \ + -e '/^hosts:/ {/myhostname/! s/files/files myhostname/}' ) \ + $(if $(BR2_PACKAGE_SYSTEMD_MACHINED), \ + -e '/^hosts:/ {/mymachines/! s/^\(hosts:[[:space:]]*\)/\1mymachines /}' ) \ + $(TARGET_DIR)/etc/nsswitch.conf +endef + +SYSTEMD_TARGET_FINALIZE_HOOKS += \ + SYSTEMD_INSTALL_NSSCONFIG_HOOK \ + SYSTEMD_INSTALL_RESOLVCONF_HOOK + +ifneq ($(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)),) +# systemd provides multiple units to autospawn getty as neede +# * getty@.service to start a getty on normal TTY +# * sertial-getty@.service to start a getty on serial lines +# * console-getty.service for generic /dev/console +# * container-getty@.service for a getty on /dev/pts/* +# +# the generator systemd-getty-generator will +# * read the console= kernel command line parameter +# * enable one of the above units depending on what it finds +# +# Systemd defaults to enablinb getty@tty1.service +# +# What we want to do +# * Enable a getty on $BR2_TARGET_GENERIC_TTY_PATH +# * Set the baudrate for all units according to BR2_TARGET_GENERIC_GETTY_BAUDRATE +# * Always enable a getty on the console using systemd-getty-generator +# (backward compatibility with previous releases of buildroot) +# +# What we do +# * disable getty@tty1 (enabled by upstream systemd) +# * enable getty@xxx if $BR2_TARGET_GENERIC_TTY_PATH is a tty +# * enable serial-getty@xxx for other $BR2_TARGET_GENERIC_TTY_PATH +# * rewrite baudrates if a baudrate is provided +define SYSTEMD_INSTALL_SERVICE_TTY + mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/getty@.service.d; \ + printf '[Install]\nDefaultInstance=\n' \ + >$(TARGET_DIR)/usr/lib/systemd/system/getty@.service.d/buildroot-console.conf; \ + if [ $(BR2_TARGET_GENERIC_GETTY_PORT) = "console" ]; \ + then \ + : ; \ + elif echo $(BR2_TARGET_GENERIC_GETTY_PORT) | egrep -q 'tty[0-9]*$$'; \ + then \ + printf '[Install]\nDefaultInstance=%s\n' \ + $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)) \ + >$(TARGET_DIR)/usr/lib/systemd/system/getty@.service.d/buildroot-console.conf; \ + else \ + mkdir -p $(TARGET_DIR)/usr/lib/systemd/system/serial-getty@.service.d;\ + printf '[Install]\nDefaultInstance=%s\n' \ + $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)) \ + >$(TARGET_DIR)/usr/lib/systemd/system/serial-getty@.service.d/buildroot-console.conf;\ + fi; \ + if [ $(call qstrip,$(BR2_TARGET_GENERIC_GETTY_BAUDRATE)) -gt 0 ] ; \ + then \ + $(SED) 's/115200/$(BR2_TARGET_GENERIC_GETTY_BAUDRATE),115200/' $(TARGET_DIR)/lib/systemd/system/getty@.service; \ + $(SED) 's/115200/$(BR2_TARGET_GENERIC_GETTY_BAUDRATE),115200/' $(TARGET_DIR)/lib/systemd/system/serial-getty@.service; \ + $(SED) 's/115200/$(BR2_TARGET_GENERIC_GETTY_BAUDRATE),115200/' $(TARGET_DIR)/lib/systemd/system/console-getty@.service; \ + $(SED) 's/115200/$(BR2_TARGET_GENERIC_GETTY_BAUDRATE),115200/' $(TARGET_DIR)/lib/systemd/system/container-getty@.service; \ + fi +endef +endif + +define SYSTEMD_INSTALL_PRESET + $(INSTALL) -D -m 644 $(SYSTEMD_PKGDIR)/80-buildroot.preset $(TARGET_DIR)/usr/lib/systemd/system-preset/80-buildroot.preset +endef + +define SYSTEMD_INSTALL_INIT_SYSTEMD + $(SYSTEMD_INSTALL_PRESET) + $(SYSTEMD_INSTALL_SERVICE_TTY) + $(SYSTEMD_INSTALL_NETWORK_CONFS) +endef + +ifeq ($(BR2_ENABLE_LOCALE_PURGE),y) +# Go through all files with scheme ..catalog +# and remove those where is not in LOCALE_NOPURGE +define SYSTEMD_LOCALE_PURGE_CATALOGS + for cfile in `find $(TARGET_DIR)/usr/lib/systemd/catalog -name '*.*.catalog'`; \ + do \ + basename=$${cfile##*/}; \ + basename=$${basename%.catalog}; \ + langext=$${basename#*.}; \ + [ "$$langext" = "$${basename}" ] && continue; \ + expr '$(LOCALE_NOPURGE)' : ".*\b$${langext}\b" >/dev/null && continue; \ + rm -f "$$cfile"; \ + done +endef +SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_LOCALE_PURGE_CATALOGS +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD_CATALOGDB),y) +define SYSTEMD_UPDATE_CATALOGS + $(HOST_DIR)/bin/journalctl --root=$(TARGET_DIR) --update-catalog + install -D $(TARGET_DIR)/var/lib/systemd/catalog/database \ + $(TARGET_DIR)/usr/share/factory/var/lib/systemd/catalog/database + rm $(TARGET_DIR)/var/lib/systemd/catalog/database + ln -sf /usr/share/factory/var/lib/systemd/catalog/database \ + $(TARGET_DIR)/var/lib/systemd/catalog/database + grep -q '^L /var/lib/systemd/catalog/database' $(TARGET_DIR)/usr/lib/tmpfiles.d/var.conf || \ + printf "\nL /var/lib/systemd/catalog/database\n" >> $(TARGET_DIR)/usr/lib/tmpfiles.d/var.conf +endef +SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_UPDATE_CATALOGS +endif + +define SYSTEMD_RM_CATALOG_UPDATE_SERVICE + rm -rf $(TARGET_DIR)/usr/lib/systemd/catalog \ + $(TARGET_DIR)/usr/lib/systemd/system/systemd-journal-catalog-update.service \ + $(TARGET_DIR)/usr/lib/systemd/system/*/systemd-journal-catalog-update.service +endef +SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_RM_CATALOG_UPDATE_SERVICE + +define SYSTEMD_CREATE_TMPFILES_HOOK + HOST_SYSTEMD_TMPFILES=$(HOST_DIR)/bin/systemd-tmpfiles \ + $(SYSTEMD_PKGDIR)/fakeroot_tmpfiles.sh $(TARGET_DIR) +endef +SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_CREATE_TMPFILES_HOOK + +define SYSTEMD_PRESET_ALL + $(HOST_DIR)/bin/systemctl --root=$(TARGET_DIR) preset-all +endef +SYSTEMD_ROOTFS_PRE_CMD_HOOKS += SYSTEMD_PRESET_ALL + +SYSTEMD_CONF_ENV = $(HOST_UTF8_LOCALE_ENV) +SYSTEMD_NINJA_ENV = $(HOST_UTF8_LOCALE_ENV) + +define SYSTEMD_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_DEVTMPFS) + $(call KCONFIG_ENABLE_OPT,CONFIG_CGROUPS) + $(call KCONFIG_ENABLE_OPT,CONFIG_INOTIFY_USER) + $(call KCONFIG_ENABLE_OPT,CONFIG_SIGNALFD) + $(call KCONFIG_ENABLE_OPT,CONFIG_TIMERFD) + $(call KCONFIG_ENABLE_OPT,CONFIG_EPOLL) + $(call KCONFIG_ENABLE_OPT,CONFIG_UNIX) + $(call KCONFIG_ENABLE_OPT,CONFIG_SYSFS) + $(call KCONFIG_ENABLE_OPT,CONFIG_PROC_FS) + $(call KCONFIG_ENABLE_OPT,CONFIG_FHANDLE) + + $(call KCONFIG_ENABLE_OPT,CONFIG_NET_NS) + + $(call KCONFIG_DISABLE_OPT,CONFIG_SYSFS_DEPRECATED) + + $(call KCONFIG_ENABLE_OPT,CONFIG_AUTOFS_FS) + $(call KCONFIG_ENABLE_OPT,CONFIG_AUTOFS4_FS) + $(call KCONFIG_ENABLE_OPT,CONFIG_TMPFS_POSIX_ACL) + $(call KCONFIG_ENABLE_OPT,CONFIG_TMPFS_XATTR) +endef + +# We need a very minimal host variant, so we disable as much as possible. +HOST_SYSTEMD_CONF_OPTS = \ + -Dsplit-bin=true \ + -Dsplit-usr=false \ + --prefix=/usr \ + --libdir=lib \ + --sysconfdir=/etc \ + --localstatedir=/var \ + -Dmode=release \ + -Dutmp=false \ + -Dhibernate=false \ + -Dldconfig=false \ + -Dresolve=false \ + -Defi=false \ + -Dtpm=false \ + -Denvironment-d=false \ + -Dbinfmt=false \ + -Drepart=false \ + -Dcoredump=false \ + -Dpstore=false \ + -Doomd=false \ + -Dlogind=false \ + -Dhostnamed=false \ + -Dlocaled=false \ + -Dmachined=false \ + -Dportabled=false \ + -Dsysext=false \ + -Duserdb=false \ + -Dhomed=false \ + -Dnetworkd=false \ + -Dtimedated=false \ + -Dtimesyncd=false \ + -Dremote=false \ + -Dcreate-log-dirs=false \ + -Dnss-myhostname=false \ + -Dnss-mymachines=false \ + -Dnss-resolve=false \ + -Dnss-systemd=false \ + -Dfirstboot=false \ + -Drandomseed=false \ + -Dbacklight=false \ + -Dvconsole=false \ + -Dquotacheck=false \ + -Dsysusers=false \ + -Dtmpfiles=true \ + -Dimportd=false \ + -Dhwdb=false \ + -Drfkill=false \ + -Dman=false \ + -Dhtml=false \ + -Dsmack=false \ + -Dpolkit=false \ + -Dblkid=false \ + -Didn=false \ + -Dadm-group=false \ + -Dwheel-group=false \ + -Dzlib=false \ + -Dgshadow=false \ + -Dima=false \ + -Dtests=false \ + -Dglib=false \ + -Dacl=false \ + -Dsysvinit-path='' \ + -Dinitrd=false \ + -Dxdg-autostart=false \ + -Dkernel-install=false \ + -Danalyze=false \ + -Dlibcryptsetup=false \ + -Daudit=false \ + -Dzstd=false + +HOST_SYSTEMD_DEPENDENCIES = \ + $(BR2_COREUTILS_HOST_DEPENDENCY) \ + host-util-linux \ + host-patchelf \ + host-libcap \ + host-gperf \ + host-python-jinja2 + +HOST_SYSTEMD_NINJA_ENV = DESTDIR=$(HOST_DIR) + +# Fix RPATH After installation +# * systemd provides a install_rpath instruction to meson because the binaries +# need to link with libsystemd which is not in a standard path +# * meson can only replace the RPATH, not append to it +# * the original rpath is thus lost. +# * the original path had been tweaked by buildroot via LDFLAGS to add +# $(HOST_DIR)/lib +# * thus re-tweak rpath after the installation for all binaries that need it +HOST_SYSTEMD_HOST_TOOLS = busctl journalctl systemctl systemd-* udevadm + +define HOST_SYSTEMD_FIX_RPATH + for f in $(addprefix $(HOST_DIR)/bin/,$(HOST_SYSTEMD_HOST_TOOLS)); do \ + [ -e $$f ] || continue; \ + $(HOST_DIR)/bin/patchelf --set-rpath $(HOST_DIR)/lib:$(HOST_DIR)/lib/systemd $${f} \ + || exit 1; \ + done +endef +HOST_SYSTEMD_POST_INSTALL_HOOKS += HOST_SYSTEMD_FIX_RPATH + +$(eval $(meson-package)) +$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/sysvinit/0001-Makefile-disable-stack-protector-strong.patch b/buildroot-2022.02.1/package/sysvinit/0001-Makefile-disable-stack-protector-strong.patch similarity index 100% rename from buildroot-2021.05/package/sysvinit/0001-Makefile-disable-stack-protector-strong.patch rename to buildroot-2022.02.1/package/sysvinit/0001-Makefile-disable-stack-protector-strong.patch diff --git a/buildroot-2021.05/package/sysvinit/Config.in b/buildroot-2022.02.1/package/sysvinit/Config.in similarity index 100% rename from buildroot-2021.05/package/sysvinit/Config.in rename to buildroot-2022.02.1/package/sysvinit/Config.in diff --git a/buildroot-2022.02.1/package/sysvinit/inittab b/buildroot-2022.02.1/package/sysvinit/inittab new file mode 100644 index 00000000..afc28e6c --- /dev/null +++ b/buildroot-2022.02.1/package/sysvinit/inittab @@ -0,0 +1,32 @@ +# /etc/inittab +# +# This inittab is a basic inittab sample for sysvinit, which mimics +# Buildroot's default inittab for BusyBox. +id:3:initdefault: + +si0::sysinit:/bin/mount -t proc proc /proc +si1::sysinit:/bin/mount -o remount,rw / +si2::sysinit:/bin/mkdir -p /dev/pts /dev/shm +si3::sysinit:/bin/mount -a +si4::sysinit:/bin/mkdir -p /run/lock/subsys +si5::sysinit:/sbin/swapon -a +si6::sysinit:/bin/ln -sf /proc/self/fd /dev/fd 2>/dev/null +si7::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin 2>/dev/null +si8::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout 2>/dev/null +si9::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr 2>/dev/null +si10::sysinit:/bin/hostname -F /etc/hostname +rcS:12345:wait:/etc/init.d/rcS + +# S0:1:respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL + +# Stuff to do for the 3-finger salute +#ca::ctrlaltdel:/sbin/reboot + +# Stuff to do before rebooting +shd0:06:wait:/etc/init.d/rcK +shd1:06:wait:/sbin/swapoff -a +shd2:06:wait:/bin/umount -a -r + +# The usual halt or reboot actions +hlt0:0:wait:/sbin/halt -dhp +reb0:6:wait:/sbin/reboot diff --git a/buildroot-2021.05/package/sysvinit/sysvinit.hash b/buildroot-2022.02.1/package/sysvinit/sysvinit.hash similarity index 100% rename from buildroot-2021.05/package/sysvinit/sysvinit.hash rename to buildroot-2022.02.1/package/sysvinit/sysvinit.hash diff --git a/buildroot-2021.05/package/sysvinit/sysvinit.mk b/buildroot-2022.02.1/package/sysvinit/sysvinit.mk similarity index 100% rename from buildroot-2021.05/package/sysvinit/sysvinit.mk rename to buildroot-2022.02.1/package/sysvinit/sysvinit.mk diff --git a/buildroot-2021.05/package/szip/Config.in b/buildroot-2022.02.1/package/szip/Config.in similarity index 100% rename from buildroot-2021.05/package/szip/Config.in rename to buildroot-2022.02.1/package/szip/Config.in diff --git a/buildroot-2021.05/package/szip/szip.hash b/buildroot-2022.02.1/package/szip/szip.hash similarity index 100% rename from buildroot-2021.05/package/szip/szip.hash rename to buildroot-2022.02.1/package/szip/szip.hash diff --git a/buildroot-2021.05/package/szip/szip.mk b/buildroot-2022.02.1/package/szip/szip.mk similarity index 100% rename from buildroot-2021.05/package/szip/szip.mk rename to buildroot-2022.02.1/package/szip/szip.mk diff --git a/buildroot-2022.02.1/package/taglib/0001-Fix-error-duplicate-volatile-on-systems-without-HAVE_GCC_ATOMIC.patch b/buildroot-2022.02.1/package/taglib/0001-Fix-error-duplicate-volatile-on-systems-without-HAVE_GCC_ATOMIC.patch new file mode 100644 index 00000000..d8af73cb --- /dev/null +++ b/buildroot-2022.02.1/package/taglib/0001-Fix-error-duplicate-volatile-on-systems-without-HAVE_GCC_ATOMIC.patch @@ -0,0 +1,34 @@ +From 1d24bd3399f2284104cbe87d017f87325b1797ab Mon Sep 17 00:00:00 2001 +From: Oleg Antonyan +Date: Thu, 13 May 2021 16:41:35 +0200 +Subject: [PATCH] =?UTF-8?q?Fix=20"error:=20duplicate=20=E2=80=98volatile?= + =?UTF-8?q?=E2=80=99"=20on=20systems=20without=20HAVE=5FGCC=5FATOMIC=20in?= + =?UTF-8?q?=201.12=20(#1012)?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +* fix error: duplicate volatile + +* fix volatile ATOMIC_INT in constructor + +[Retrieved from: +https://github.com/taglib/taglib/commit/1d24bd3399f2284104cbe87d017f87325b1797ab] +Signed-off-by: Fabrice Fontaine +--- + taglib/toolkit/trefcounter.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/taglib/toolkit/trefcounter.cpp b/taglib/toolkit/trefcounter.cpp +index 18cb596c0..5b089abf9 100644 +--- a/taglib/toolkit/trefcounter.cpp ++++ b/taglib/toolkit/trefcounter.cpp +@@ -52,7 +52,7 @@ + # define ATOMIC_INC(x) __sync_add_and_fetch(&x, 1) + # define ATOMIC_DEC(x) __sync_sub_and_fetch(&x, 1) + #else +-# define ATOMIC_INT volatile int ++# define ATOMIC_INT int + # define ATOMIC_INC(x) (++x) + # define ATOMIC_DEC(x) (--x) + #endif diff --git a/buildroot-2021.05/package/taglib/Config.in b/buildroot-2022.02.1/package/taglib/Config.in similarity index 100% rename from buildroot-2021.05/package/taglib/Config.in rename to buildroot-2022.02.1/package/taglib/Config.in diff --git a/buildroot-2022.02.1/package/taglib/taglib.hash b/buildroot-2022.02.1/package/taglib/taglib.hash new file mode 100644 index 00000000..38a44b41 --- /dev/null +++ b/buildroot-2022.02.1/package/taglib/taglib.hash @@ -0,0 +1,4 @@ +# Locally calculated +sha256 7fccd07669a523b07a15bd24c8da1bbb92206cb19e9366c3692af3d79253b703 taglib-1.12.tar.gz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LGPL +sha256 53692a2ed6c6a2c6ec9b32dd0b820dfae91e0a1fcdf625ca9ed0bdf8705fcc4f COPYING.MPL diff --git a/buildroot-2022.02.1/package/taglib/taglib.mk b/buildroot-2022.02.1/package/taglib/taglib.mk new file mode 100644 index 00000000..9513e0d0 --- /dev/null +++ b/buildroot-2022.02.1/package/taglib/taglib.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# taglib +# +################################################################################ + +TAGLIB_VERSION = 1.12 +TAGLIB_SITE = http://taglib.github.io/releases +TAGLIB_INSTALL_STAGING = YES +TAGLIB_LICENSE = LGPL-2.1 or MPL-1.1 +TAGLIB_LICENSE_FILES = COPYING.LGPL COPYING.MPL +TAGLIB_CPE_ID_VENDOR = taglib + +ifeq ($(BR2_PACKAGE_ZLIB),y) +TAGLIB_DEPENDENCIES += zlib +endif + +define TAGLIB_REMOVE_DEVFILE + rm -f $(TARGET_DIR)/usr/bin/taglib-config +endef + +TAGLIB_POST_INSTALL_TARGET_HOOKS += TAGLIB_REMOVE_DEVFILE + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/tar/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/buildroot-2022.02.1/package/tar/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch new file mode 100644 index 00000000..fe55e4eb --- /dev/null +++ b/buildroot-2022.02.1/package/tar/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch @@ -0,0 +1,46 @@ +From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 1 Apr 2021 07:49:46 +0200 +Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35 + +Fix the following build failure with uclibc < 1.0.35 which is raised +since the addition of getrandom module in +https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7: + +In file included from ./sys/random.h:40, + from getrandom.c:22: +/tmp/instance-0/output-1/per-package/tar/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t' + 27 | extern int getrandom(void *__buf, size_t count, unsigned int flags) + | ^~~~~~ +/tmp/instance-0/output-1/per-package/tar/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header ''; did you forget to '#include '? + 7 | #include + +++ |+#include + 8 | + +This patch is not upstreamable as it is only a workaround for +uclibc < 1.0.35, upstream uclibc has been patched with +https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782 + +Fixes: + - http://autobuild.buildroot.org/results/f40e09d621ab5ba66dd97138dec174acfb7fda2a + +Signed-off-by: Fabrice Fontaine +--- + gnu/getrandom.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gnu/getrandom.c b/gnu/getrandom.c +index 41212fb32..0ad3f9648 100644 +--- a/gnu/getrandom.c ++++ b/gnu/getrandom.c +@@ -19,6 +19,7 @@ + + #include + ++#include + #include + + #include +-- +2.30.2 + diff --git a/buildroot-2021.05/package/tar/Config.in b/buildroot-2022.02.1/package/tar/Config.in similarity index 100% rename from buildroot-2021.05/package/tar/Config.in rename to buildroot-2022.02.1/package/tar/Config.in diff --git a/buildroot-2021.05/package/tar/tar.hash b/buildroot-2022.02.1/package/tar/tar.hash similarity index 100% rename from buildroot-2021.05/package/tar/tar.hash rename to buildroot-2022.02.1/package/tar/tar.hash diff --git a/buildroot-2021.05/package/tar/tar.mk b/buildroot-2022.02.1/package/tar/tar.mk similarity index 100% rename from buildroot-2021.05/package/tar/tar.mk rename to buildroot-2022.02.1/package/tar/tar.mk diff --git a/buildroot-2022.02.1/package/targetcli-fb/Config.in b/buildroot-2022.02.1/package/targetcli-fb/Config.in new file mode 100644 index 00000000..04c6a1ac --- /dev/null +++ b/buildroot-2022.02.1/package/targetcli-fb/Config.in @@ -0,0 +1,15 @@ +comment "targetcli-fb depends on Python" + depends on !BR2_PACKAGE_PYTHON3 + +config BR2_PACKAGE_TARGETCLI_FB + bool "targetcli-fb" + depends on BR2_PACKAGE_PYTHON3 # python-configshell-fb + select BR2_PACKAGE_PYTHON_CONFIGSHELL_FB + select BR2_PACKAGE_PYTHON_RTSLIB_FB + select BR2_PACKAGE_PYTHON_SIX + help + targetcli-fb is a command-line interface for configuring the + LIO generic SCSI target, present in 3.x Linux kernel + versions. + + https://github.com/open-iscsi/targetcli-fb diff --git a/buildroot-2021.05/package/targetcli-fb/S50target b/buildroot-2022.02.1/package/targetcli-fb/S50target similarity index 100% rename from buildroot-2021.05/package/targetcli-fb/S50target rename to buildroot-2022.02.1/package/targetcli-fb/S50target diff --git a/buildroot-2021.05/package/targetcli-fb/target.service b/buildroot-2022.02.1/package/targetcli-fb/target.service similarity index 100% rename from buildroot-2021.05/package/targetcli-fb/target.service rename to buildroot-2022.02.1/package/targetcli-fb/target.service diff --git a/buildroot-2022.02.1/package/targetcli-fb/targetcli-fb.hash b/buildroot-2022.02.1/package/targetcli-fb/targetcli-fb.hash new file mode 100644 index 00000000..64f68a66 --- /dev/null +++ b/buildroot-2022.02.1/package/targetcli-fb/targetcli-fb.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 7ae4120a54f24b13263b4b85c43952a03546f8b9fc9bd15fe87678f68245a33f targetcli-fb-2.1.54.tar.gz +sha256 5df2a0d87d6c562f0ea11c688ac52532aa28d744cabc7994ff0537f64b3b3320 COPYING diff --git a/buildroot-2022.02.1/package/targetcli-fb/targetcli-fb.mk b/buildroot-2022.02.1/package/targetcli-fb/targetcli-fb.mk new file mode 100644 index 00000000..c6ca776b --- /dev/null +++ b/buildroot-2022.02.1/package/targetcli-fb/targetcli-fb.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# targetcli-fb +# +################################################################################ + +# When upgrading the version, be sure to also upgrade python-rtslib-fb +# and python-configshell-fb at the same time. +TARGETCLI_FB_VERSION = 2.1.54 +TARGETCLI_FB_SITE = $(call github,open-iscsi,targetcli-fb,v$(TARGETCLI_FB_VERSION)) +TARGETCLI_FB_LICENSE = Apache-2.0 +TARGETCLI_FB_LICENSE_FILES = COPYING +TARGETCLI_FB_CPE_ID_VENDOR = targetcli-fb_project +TARGETCLI_FB_SETUP_TYPE = setuptools +TARGETCLI_FB_DEPENDENCIES = python-configshell-fb python-rtslib-fb python-six + +define TARGETCLI_FB_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/targetcli-fb/S50target \ + $(TARGET_DIR)/etc/init.d/S50target +endef + +define TARGETCLI_FB_INSTALL_INIT_SYSTEMD + $(INSTALL) -m 0644 -D package/targetcli-fb/target.service \ + $(TARGET_DIR)/usr/lib/systemd/system/target.service +endef + +# Targetcli stores its configuration in /etc/target/saveconfig.json +# and complains if the /etc/target/ directory does not exist. +define TARGETCLI_FB_INSTALL_CONF_DIR + $(INSTALL) -m 0755 -d $(TARGET_DIR)/etc/target +endef + +TARGETCLI_FB_POST_INSTALL_TARGET_HOOKS += TARGETCLI_FB_INSTALL_CONF_DIR + +$(eval $(python-package)) diff --git a/buildroot-2021.05/package/taskd/0001-Fix-missing-cmakedefine-HAVE_GET_CURRENT_DIR_NAME.patch b/buildroot-2022.02.1/package/taskd/0001-Fix-missing-cmakedefine-HAVE_GET_CURRENT_DIR_NAME.patch similarity index 100% rename from buildroot-2021.05/package/taskd/0001-Fix-missing-cmakedefine-HAVE_GET_CURRENT_DIR_NAME.patch rename to buildroot-2022.02.1/package/taskd/0001-Fix-missing-cmakedefine-HAVE_GET_CURRENT_DIR_NAME.patch diff --git a/buildroot-2021.05/package/taskd/0002-Use-correct-variables-for-GnuTLS-detection.patch b/buildroot-2022.02.1/package/taskd/0002-Use-correct-variables-for-GnuTLS-detection.patch similarity index 100% rename from buildroot-2021.05/package/taskd/0002-Use-correct-variables-for-GnuTLS-detection.patch rename to buildroot-2022.02.1/package/taskd/0002-Use-correct-variables-for-GnuTLS-detection.patch diff --git a/buildroot-2021.05/package/taskd/0003-CMakeLists-use-pkg-config-uuid-detection.patch b/buildroot-2022.02.1/package/taskd/0003-CMakeLists-use-pkg-config-uuid-detection.patch similarity index 100% rename from buildroot-2021.05/package/taskd/0003-CMakeLists-use-pkg-config-uuid-detection.patch rename to buildroot-2022.02.1/package/taskd/0003-CMakeLists-use-pkg-config-uuid-detection.patch diff --git a/buildroot-2021.05/package/taskd/Config.in b/buildroot-2022.02.1/package/taskd/Config.in similarity index 100% rename from buildroot-2021.05/package/taskd/Config.in rename to buildroot-2022.02.1/package/taskd/Config.in diff --git a/buildroot-2021.05/package/taskd/taskd.hash b/buildroot-2022.02.1/package/taskd/taskd.hash similarity index 100% rename from buildroot-2021.05/package/taskd/taskd.hash rename to buildroot-2022.02.1/package/taskd/taskd.hash diff --git a/buildroot-2021.05/package/taskd/taskd.mk b/buildroot-2022.02.1/package/taskd/taskd.mk similarity index 100% rename from buildroot-2021.05/package/taskd/taskd.mk rename to buildroot-2022.02.1/package/taskd/taskd.mk diff --git a/buildroot-2021.05/package/tcf-agent/Config.in b/buildroot-2022.02.1/package/tcf-agent/Config.in similarity index 100% rename from buildroot-2021.05/package/tcf-agent/Config.in rename to buildroot-2022.02.1/package/tcf-agent/Config.in diff --git a/buildroot-2021.05/package/tcf-agent/S55tcf-agent b/buildroot-2022.02.1/package/tcf-agent/S55tcf-agent similarity index 100% rename from buildroot-2021.05/package/tcf-agent/S55tcf-agent rename to buildroot-2022.02.1/package/tcf-agent/S55tcf-agent diff --git a/buildroot-2021.05/package/tcf-agent/tcf-agent.hash b/buildroot-2022.02.1/package/tcf-agent/tcf-agent.hash similarity index 100% rename from buildroot-2021.05/package/tcf-agent/tcf-agent.hash rename to buildroot-2022.02.1/package/tcf-agent/tcf-agent.hash diff --git a/buildroot-2021.05/package/tcf-agent/tcf-agent.mk b/buildroot-2022.02.1/package/tcf-agent/tcf-agent.mk similarity index 100% rename from buildroot-2021.05/package/tcf-agent/tcf-agent.mk rename to buildroot-2022.02.1/package/tcf-agent/tcf-agent.mk diff --git a/buildroot-2021.05/package/tcf-agent/tcf-agent.service b/buildroot-2022.02.1/package/tcf-agent/tcf-agent.service similarity index 100% rename from buildroot-2021.05/package/tcf-agent/tcf-agent.service rename to buildroot-2022.02.1/package/tcf-agent/tcf-agent.service diff --git a/buildroot-2022.02.1/package/tcl/0001-dont-build-compat.patch b/buildroot-2022.02.1/package/tcl/0001-dont-build-compat.patch new file mode 100644 index 00000000..7a7d959c --- /dev/null +++ b/buildroot-2022.02.1/package/tcl/0001-dont-build-compat.patch @@ -0,0 +1,25 @@ +From: Andrew Ruder +Subject: [PATCH] Disable tcl compatibility layers + +Turn off building compatibility layers for old/broken versions of +standard functions (strstr, strtoul, strtod) with the assumption that +anything buildroot is using as a standard C library will be good enough +to not have broken behavior. + +Signed-off-by: Andrew Ruder +[Fabrice: Update for 8.6.12] +Signed-off-by: Fabrice Fontaine +--- + +diff --git a/unix/tcl.m4 b/unix/tcl.m4 +--- a/unix/tcl.m4 ++++ b/unix/tcl.m4 +@@ -2725,7 +2725,7 @@ AC_DEFUN([SC_TCL_CHECK_BROKEN_FUNC],[ + #include + #include + int main() {]$2[}]]])],[tcl_cv_$1_unbroken=ok], +- [tcl_cv_$1_unbroken=broken],[tcl_cv_$1_unbroken=unknown])) ++ [tcl_cv_$1_unbroken=broken],[tcl_cv_$1_unbroken=unknown])) + if test ["$tcl_cv_]$1[_unbroken"] = "ok"; then + tcl_ok=1 + else diff --git a/buildroot-2021.05/package/tcl/Config.in b/buildroot-2022.02.1/package/tcl/Config.in similarity index 100% rename from buildroot-2021.05/package/tcl/Config.in rename to buildroot-2022.02.1/package/tcl/Config.in diff --git a/buildroot-2022.02.1/package/tcl/tcl.hash b/buildroot-2022.02.1/package/tcl/tcl.hash new file mode 100644 index 00000000..2b82a193 --- /dev/null +++ b/buildroot-2022.02.1/package/tcl/tcl.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 26c995dd0f167e48b11961d891ee555f680c175f7173ff8cb829f4ebcde4c1a6 tcl8.6.12-src.tar.gz +sha256 c0a69a2bfd757361ec7e6143973b103c90409316b49e9c88db26ad6388e79f16 license.terms diff --git a/buildroot-2022.02.1/package/tcl/tcl.mk b/buildroot-2022.02.1/package/tcl/tcl.mk new file mode 100644 index 00000000..97754b63 --- /dev/null +++ b/buildroot-2022.02.1/package/tcl/tcl.mk @@ -0,0 +1,81 @@ +################################################################################ +# +# tcl +# +################################################################################ + +TCL_VERSION_MAJOR = 8.6 +TCL_VERSION = $(TCL_VERSION_MAJOR).12 +TCL_SOURCE = tcl$(TCL_VERSION)-src.tar.gz +TCL_SITE = http://downloads.sourceforge.net/project/tcl/Tcl/$(TCL_VERSION) +TCL_LICENSE = TCL +TCL_LICENSE_FILES = license.terms +TCL_CPE_ID_VENDOR = tcl +TCL_SUBDIR = unix +TCL_INSTALL_STAGING = YES +TCL_AUTORECONF = YES + +TCL_CONF_OPTS = \ + --disable-symbols \ + --disable-langinfo \ + --disable-framework + +HOST_TCL_CONF_OPTS = \ + --disable-symbols \ + --disable-langinfo \ + --disable-framework + +# I haven't found a good way to force pkgs to not build +# or configure without just removing the entire pkg directory. +define HOST_TCL_REMOVE_PACKAGES + rm -fr $(@D)/pkgs/sqlite3* $(@D)/pkgs/tdbc* +endef +HOST_TCL_PRE_CONFIGURE_HOOKS += HOST_TCL_REMOVE_PACKAGES + +# We remove the bundled sqlite as we prefer to not use bundled stuff at all. +define TCL_REMOVE_PACKAGES + rm -fr $(@D)/pkgs/sqlite3* \ + $(if $(BR2_PACKAGE_MYSQL),,$(@D)/pkgs/tdbcmysql*) \ + $(@D)/pkgs/tdbcodbc* \ + $(if $(BR2_PACKAGE_POSTGRESQL),,$(@D)/pkgs/tdbcpostgres*) \ + $(if $(BR2_PACKAGE_SQLITE),,$(@D)/pkgs/tdbcsqlite3*) +endef +TCL_PRE_CONFIGURE_HOOKS += TCL_REMOVE_PACKAGES + +ifeq ($(BR2_PACKAGE_TCL_DEL_ENCODINGS),y) +define TCL_REMOVE_ENCODINGS + rm -rf $(TARGET_DIR)/usr/lib/tcl$(TCL_VERSION_MAJOR)/encoding/* +endef +TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_ENCODINGS +endif + +ifeq ($(BR2_PACKAGE_TCL_SHLIB_ONLY),y) +define TCL_REMOVE_TCLSH + rm -f $(TARGET_DIR)/usr/bin/tclsh$(TCL_VERSION_MAJOR) +endef +TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_TCLSH +else +define TCL_SYMLINK_TCLSH + ln -sf tclsh$(TCL_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/tclsh +endef +TCL_POST_INSTALL_TARGET_HOOKS += TCL_SYMLINK_TCLSH +endif + +# Until someone needs it, we don't handle locale installation. tcl has +# a complicated method of translating LANG-style locale names into its internal +# .msg name which makes it difficult to save the correct locales per the +# configured whitelist. +define TCL_REMOVE_EXTRA + rm -fr $(TARGET_DIR)/usr/lib/tclConfig.sh \ + $(TARGET_DIR)/usr/lib/tclooConfig.sh \ + $(TARGET_DIR)/usr/lib/tcl$(TCL_VERSION_MAJOR)/tclAppInit.c \ + $(TARGET_DIR)/usr/lib/tcl$(TCL_VERSION_MAJOR)/msgs +endef +TCL_POST_INSTALL_TARGET_HOOKS += TCL_REMOVE_EXTRA + +TCL_DEPENDENCIES = $(if $(BR2_PACKAGE_SQLITE),sqlite) \ + $(if $(BR2_PACKAGE_MYSQL),mysql) \ + $(if $(BR2_PACKAGE_POSTGRESQL),postgresql) + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/tclap/Config.in b/buildroot-2022.02.1/package/tclap/Config.in similarity index 100% rename from buildroot-2021.05/package/tclap/Config.in rename to buildroot-2022.02.1/package/tclap/Config.in diff --git a/buildroot-2022.02.1/package/tclap/tclap.hash b/buildroot-2022.02.1/package/tclap/tclap.hash new file mode 100644 index 00000000..fdfd46a2 --- /dev/null +++ b/buildroot-2022.02.1/package/tclap/tclap.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 634c5b59dbb1ccbc9d6a5f6de494a257e29a3f59dcb6fc30445ff39b45188574 tclap-1.2.4.tar.gz +sha256 cd81a61d47aeb1ed63036ca260baee37719923bbd7ebd988ec4edae128f3b6eb COPYING diff --git a/buildroot-2022.02.1/package/tclap/tclap.mk b/buildroot-2022.02.1/package/tclap/tclap.mk new file mode 100644 index 00000000..d7f96bd0 --- /dev/null +++ b/buildroot-2022.02.1/package/tclap/tclap.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# tclap +# +################################################################################ + +TCLAP_VERSION = 1.2.4 +TCLAP_SITE = http://downloads.sourceforge.net/project/tclap +TCLAP_LICENSE = MIT +TCLAP_LICENSE_FILES = COPYING +TCLAP_INSTALL_STAGING = YES +TCLAP_CPE_ID_VENDOR = tclap_project + +# This package is a pure C++ template library, only made of headers. +TCLAP_INSTALL_TARGET = NO + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tcllib/Config.in b/buildroot-2022.02.1/package/tcllib/Config.in similarity index 100% rename from buildroot-2021.05/package/tcllib/Config.in rename to buildroot-2022.02.1/package/tcllib/Config.in diff --git a/buildroot-2022.02.1/package/tcllib/tcllib.hash b/buildroot-2022.02.1/package/tcllib/tcllib.hash new file mode 100644 index 00000000..fb808419 --- /dev/null +++ b/buildroot-2022.02.1/package/tcllib/tcllib.hash @@ -0,0 +1,5 @@ +# From https://core.tcl-lang.org/tcllib/uv/tcllib-1.20.SHA256 +sha256 199e8ec7ee26220e8463bc84dd55c44965fc8ef4d4ac6e4684b2b1c03b1bd5b9 tcllib-1.20.tar.xz + +# Locally computed: +sha256 38e1f556213f4008cfd280457af57c76a1fe043dc026ece1c704c09b5f6e865c license.terms diff --git a/buildroot-2022.02.1/package/tcllib/tcllib.mk b/buildroot-2022.02.1/package/tcllib/tcllib.mk new file mode 100644 index 00000000..0f60eb8a --- /dev/null +++ b/buildroot-2022.02.1/package/tcllib/tcllib.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# tcllib +# +################################################################################ + +TCLLIB_VERSION = 1.20 +TCLLIB_SOURCE = tcllib-$(TCLLIB_VERSION).tar.xz +TCLLIB_SITE = http://downloads.sourceforge.net/project/tcllib/tcllib/$(TCLLIB_VERSION) +TCLLIB_LICENSE = TCL +TCLLIB_LICENSE_FILES = license.terms +TCLLIB_DEPENDENCIES = host-tcl +TCLLIB_CONF_ENV = ac_cv_path_tclsh="$(HOST_DIR)/bin/tclsh$(TCL_VERSION_MAJOR)" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tcpdump/Config.in b/buildroot-2022.02.1/package/tcpdump/Config.in similarity index 100% rename from buildroot-2021.05/package/tcpdump/Config.in rename to buildroot-2022.02.1/package/tcpdump/Config.in diff --git a/buildroot-2022.02.1/package/tcpdump/tcpdump.hash b/buildroot-2022.02.1/package/tcpdump/tcpdump.hash new file mode 100644 index 00000000..1990aa79 --- /dev/null +++ b/buildroot-2022.02.1/package/tcpdump/tcpdump.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature at +# https://www.tcpdump.org/release/tcpdump-4.99.1.tar.gz.sig +# using key 1F166A5742ABB9E0249A8D30E089DEF1D9C15D0D +sha256 79b36985fb2703146618d87c4acde3e068b91c553fb93f021a337f175fd10ebe tcpdump-4.99.1.tar.gz +sha256 8a54594d257e14a5260ac770f1633516cb51e3fc28c40136ce2697014eda7afd LICENSE diff --git a/buildroot-2022.02.1/package/tcpdump/tcpdump.mk b/buildroot-2022.02.1/package/tcpdump/tcpdump.mk new file mode 100644 index 00000000..7741c3b5 --- /dev/null +++ b/buildroot-2022.02.1/package/tcpdump/tcpdump.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# tcpdump +# +################################################################################ + +TCPDUMP_VERSION = 4.99.1 +TCPDUMP_SITE = https://www.tcpdump.org/release +TCPDUMP_LICENSE = BSD-3-Clause +TCPDUMP_LICENSE_FILES = LICENSE +TCPDUMP_CPE_ID_VENDOR = tcpdump +TCPDUMP_CONF_ENV = \ + ac_cv_linux_vers=2 \ + td_cv_buggygetaddrinfo=no \ + PCAP_CONFIG=$(STAGING_DIR)/usr/bin/pcap-config +TCPDUMP_CONF_OPTS = \ + --without-crypto \ + --disable-local-libpcap \ + $(if $(BR2_PACKAGE_TCPDUMP_SMB),--enable-smb,--disable-smb) +TCPDUMP_DEPENDENCIES = libpcap host-pkgconf +TCPDUMP_SELINUX_MODULES = netutils + +# make install installs an unneeded extra copy of the tcpdump binary +define TCPDUMP_REMOVE_DUPLICATED_BINARY + rm -f $(TARGET_DIR)/usr/bin/tcpdump.$(TCPDUMP_VERSION) +endef + +TCPDUMP_POST_INSTALL_TARGET_HOOKS += TCPDUMP_REMOVE_DUPLICATED_BINARY + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tcping/Config.in b/buildroot-2022.02.1/package/tcping/Config.in similarity index 100% rename from buildroot-2021.05/package/tcping/Config.in rename to buildroot-2022.02.1/package/tcping/Config.in diff --git a/buildroot-2021.05/package/tcping/tcping.hash b/buildroot-2022.02.1/package/tcping/tcping.hash similarity index 100% rename from buildroot-2021.05/package/tcping/tcping.hash rename to buildroot-2022.02.1/package/tcping/tcping.hash diff --git a/buildroot-2021.05/package/tcping/tcping.mk b/buildroot-2022.02.1/package/tcping/tcping.mk similarity index 100% rename from buildroot-2021.05/package/tcping/tcping.mk rename to buildroot-2022.02.1/package/tcping/tcping.mk diff --git a/buildroot-2021.05/package/tcpreplay/Config.in b/buildroot-2022.02.1/package/tcpreplay/Config.in similarity index 100% rename from buildroot-2021.05/package/tcpreplay/Config.in rename to buildroot-2022.02.1/package/tcpreplay/Config.in diff --git a/buildroot-2022.02.1/package/tcpreplay/tcpreplay.hash b/buildroot-2022.02.1/package/tcpreplay/tcpreplay.hash new file mode 100644 index 00000000..8bcdae95 --- /dev/null +++ b/buildroot-2022.02.1/package/tcpreplay/tcpreplay.hash @@ -0,0 +1,5 @@ +# Locally calculated after checking pgp signature +# https://github.com/appneta/tcpreplay/releases/download/v4.3.4/tcpreplay-4.3.4.tar.xz.asc +# using key 84E4FA215C934A7D97DC76D5E9E2149793BDE17E +sha256 42c055106e55852c29d94bb6e1b9e001a0723349f2985eb893a47d384c85002b tcpreplay-4.3.4.tar.xz +sha256 07cf5e92d475287a7d1663b33097f40cae5adf03ed8920fcd4374e3dfb48c8ad docs/LICENSE diff --git a/buildroot-2022.02.1/package/tcpreplay/tcpreplay.mk b/buildroot-2022.02.1/package/tcpreplay/tcpreplay.mk new file mode 100644 index 00000000..ef654039 --- /dev/null +++ b/buildroot-2022.02.1/package/tcpreplay/tcpreplay.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# tcpreplay +# +################################################################################ + +TCPREPLAY_VERSION = 4.3.4 +TCPREPLAY_SITE = https://github.com/appneta/tcpreplay/releases/download/v$(TCPREPLAY_VERSION) +TCPREPLAY_SOURCE = tcpreplay-$(TCPREPLAY_VERSION).tar.xz +TCPREPLAY_LICENSE = GPL-3.0 +TCPREPLAY_LICENSE_FILES = docs/LICENSE +TCPREPLAY_CPE_ID_VENDOR = tcpreplay +TCPREPLAY_CONF_ENV = \ + ac_cv_path_ac_pt_PCAP_CONFIG="$(STAGING_DIR)/usr/bin/pcap-config" +TCPREPLAY_CONF_OPTS = --with-libpcap=$(STAGING_DIR)/usr \ + --enable-pcapconfig +TCPREPLAY_DEPENDENCIES = libpcap + +ifeq ($(BR2_STATIC_LIBS),y) +TCPREPLAY_CONF_OPTS += --enable-dynamic-link=no +TCPREPLAY_CONF_ENV += LIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --libs`" +endif + +ifeq ($(BR2_PACKAGE_LIBDNET),y) +TCPREPLAY_DEPENDENCIES += libdnet +TCPREPLAY_CONF_OPTS += --with-libdnet=$(STAGING_DIR)/usr +else +TCPREPLAY_CONF_OPTS += --without-libdnet +endif + +ifeq ($(BR2_PACKAGE_TCPDUMP),y) +TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=/usr/sbin/tcpdump +else +TCPREPLAY_CONF_ENV += ac_cv_path_tcpdump_path=no +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tegrarcm/Config.in.host b/buildroot-2022.02.1/package/tegrarcm/Config.in.host similarity index 100% rename from buildroot-2021.05/package/tegrarcm/Config.in.host rename to buildroot-2022.02.1/package/tegrarcm/Config.in.host diff --git a/buildroot-2021.05/package/tegrarcm/tegrarcm.hash b/buildroot-2022.02.1/package/tegrarcm/tegrarcm.hash similarity index 100% rename from buildroot-2021.05/package/tegrarcm/tegrarcm.hash rename to buildroot-2022.02.1/package/tegrarcm/tegrarcm.hash diff --git a/buildroot-2021.05/package/tegrarcm/tegrarcm.mk b/buildroot-2022.02.1/package/tegrarcm/tegrarcm.mk similarity index 100% rename from buildroot-2021.05/package/tegrarcm/tegrarcm.mk rename to buildroot-2022.02.1/package/tegrarcm/tegrarcm.mk diff --git a/buildroot-2021.05/package/tekui/Config.in b/buildroot-2022.02.1/package/tekui/Config.in similarity index 100% rename from buildroot-2021.05/package/tekui/Config.in rename to buildroot-2022.02.1/package/tekui/Config.in diff --git a/buildroot-2021.05/package/tekui/tekui.hash b/buildroot-2022.02.1/package/tekui/tekui.hash similarity index 100% rename from buildroot-2021.05/package/tekui/tekui.hash rename to buildroot-2022.02.1/package/tekui/tekui.hash diff --git a/buildroot-2021.05/package/tekui/tekui.mk b/buildroot-2022.02.1/package/tekui/tekui.mk similarity index 100% rename from buildroot-2021.05/package/tekui/tekui.mk rename to buildroot-2022.02.1/package/tekui/tekui.mk diff --git a/buildroot-2021.05/package/terminology/Config.in b/buildroot-2022.02.1/package/terminology/Config.in similarity index 100% rename from buildroot-2021.05/package/terminology/Config.in rename to buildroot-2022.02.1/package/terminology/Config.in diff --git a/buildroot-2022.02.1/package/terminology/terminology.hash b/buildroot-2022.02.1/package/terminology/terminology.hash new file mode 100644 index 00000000..2ad10af7 --- /dev/null +++ b/buildroot-2022.02.1/package/terminology/terminology.hash @@ -0,0 +1,3 @@ +# From https://download.enlightenment.org/rel/apps/terminology/terminology-1.12.1.tar.xz.sha256sum +sha256 f8ced9584c2e9ae87452ce7425fd25b2d3e122c7489785d2917890215c6b5aa9 terminology-1.12.1.tar.xz +sha256 6863ee700fc82b9c3b82a1627136f6935a9eb68e6a64491f20e00b4023c33622 COPYING diff --git a/buildroot-2022.02.1/package/terminology/terminology.mk b/buildroot-2022.02.1/package/terminology/terminology.mk new file mode 100644 index 00000000..c3125c71 --- /dev/null +++ b/buildroot-2022.02.1/package/terminology/terminology.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# terminology +# +################################################################################ + +TERMINOLOGY_VERSION = 1.12.1 +TERMINOLOGY_SOURCE = terminology-$(TERMINOLOGY_VERSION).tar.xz +TERMINOLOGY_SITE = https://download.enlightenment.org/rel/apps/terminology +TERMINOLOGY_LICENSE = BSD-2-Clause +TERMINOLOGY_LICENSE_FILES = COPYING +TERMINOLOGY_CPE_ID_VENDOR = enlightenment + +TERMINOLOGY_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) efl host-pkgconf +TERMINOLOGY_CONF_OPTS = \ + -Dedje-cc=$(HOST_DIR)/bin/edje_cc \ + -Deet=$(HOST_DIR)/bin/eet + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +TERMINOLOGY_CONF_OPTS += -Dnls=true +else +TERMINOLOGY_CONF_OPTS += -Dnls=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/tesseract-ocr/0001-Check-if-platform-supports-feenableexcept.patch b/buildroot-2022.02.1/package/tesseract-ocr/0001-Check-if-platform-supports-feenableexcept.patch new file mode 100644 index 00000000..5280f01a --- /dev/null +++ b/buildroot-2022.02.1/package/tesseract-ocr/0001-Check-if-platform-supports-feenableexcept.patch @@ -0,0 +1,42 @@ +From 52484af83a58664c3cc91b8af07aeeea271f67ef Mon Sep 17 00:00:00 2001 +From: Gilles Talis +Date: Sun, 9 Jan 2022 10:58:36 +0100 +Subject: [PATCH] Check if platform supports feenableexcept + +Signed-off-by: Gilles Talis +--- + configure.ac | 4 ++++ + src/tesseract.cpp | 2 +- + 2 files changed, 5 insertions(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 9177d64..80cd735 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -188,6 +188,10 @@ case "${host_cpu}" in + + esac + ++# check whether feenableexcept is supported. some C libraries (e.g. uclibc) don't. ++AC_CHECK_FUNC(feenableexcept, [feenableexcept=true], [feenableexcept=false]) ++AM_CONDITIONAL([HAVE_FEENABLEEXCEPT], $feenableexcept) ++ + AX_CHECK_COMPILE_FLAG([-fopenmp-simd], [openmp_simd=true], [openmp_simd=false], [$WERROR]) + AM_CONDITIONAL([OPENMP_SIMD], $openmp_simd) + +diff --git a/src/tesseract.cpp b/src/tesseract.cpp +index 933116e..9154db8 100644 +--- a/src/tesseract.cpp ++++ b/src/tesseract.cpp +@@ -629,7 +629,7 @@ static void PreloadRenderers(tesseract::TessBaseAPI &api, + **********************************************************************/ + + int main(int argc, char **argv) { +-#if defined(__USE_GNU) ++#if defined(__USE_GNU) && defined(HAVE_FEENABLEEXCEPT) + // Raise SIGFPE. + # if defined(__clang__) + // clang creates code which causes some FP exceptions, so don't enable those. +-- +2.32.0 + diff --git a/buildroot-2022.02.1/package/tesseract-ocr/Config.in b/buildroot-2022.02.1/package/tesseract-ocr/Config.in new file mode 100644 index 00000000..4d9b7873 --- /dev/null +++ b/buildroot-2022.02.1/package/tesseract-ocr/Config.in @@ -0,0 +1,44 @@ +comment "tesseract-ocr needs a toolchain w/ threads, C++, gcc >= 7, dynamic library, wchar" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR + +menuconfig BR2_PACKAGE_TESSERACT_OCR + bool "tesseract-ocr" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17 + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR + select BR2_PACKAGE_LEPTONICA + help + Tesseract is an OCR (Optical Character Recognition) engine, + It can be used directly, or (for programmers) using an API. + It supports a wide variety of languages. + + https://github.com/tesseract-ocr/tesseract + +if BR2_PACKAGE_TESSERACT_OCR + +comment "tesseract-ocr languages support" + +config BR2_PACKAGE_TESSERACT_OCR_LANG_ENG + bool "English" + +config BR2_PACKAGE_TESSERACT_OCR_LANG_FRA + bool "French" + +config BR2_PACKAGE_TESSERACT_OCR_LANG_GER + bool "German" + +config BR2_PACKAGE_TESSERACT_OCR_LANG_SPA + bool "Spanish" + +config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_SIM + bool "Simplified Chinese" + +config BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_TRA + bool "Traditional Chinese" + +endif diff --git a/buildroot-2022.02.1/package/tesseract-ocr/tesseract-ocr.hash b/buildroot-2022.02.1/package/tesseract-ocr/tesseract-ocr.hash new file mode 100644 index 00000000..9e526423 --- /dev/null +++ b/buildroot-2022.02.1/package/tesseract-ocr/tesseract-ocr.hash @@ -0,0 +1,9 @@ +# locally computed +sha256 b5b0e561650ed67feb1e9de38d4746121d302ae4c876c95b99b8b6f9f89d5c58 tesseract-ocr-5.0.1.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE +sha256 daa0c97d651c19fba3b25e81317cd697e9908c8208090c94c3905381c23fc047 eng.traineddata +sha256 eac01c1d72540d6090facb7b2f42dd0a2ee8fc57c5be1b20548ae668e2761913 fra.traineddata +sha256 896b3b4956503ab9daa10285db330881b2d74b70d889b79262cc534b9ec699a4 deu.traineddata +sha256 0b0fcbb4665189e01ab8019e591f014dd7260460de072543edd4b2cb4ede7c96 spa.traineddata +sha256 fc05d89ab31d8b4e226910f16a8bcbf78e43bae3e2580bb5feefd052efdab363 chi_sim.traineddata +sha256 559067dc0f7c94788884742129d66a0117dde7f4ff12b263d92147173497db14 chi_tra.traineddata diff --git a/buildroot-2022.02.1/package/tesseract-ocr/tesseract-ocr.mk b/buildroot-2022.02.1/package/tesseract-ocr/tesseract-ocr.mk new file mode 100644 index 00000000..a7498931 --- /dev/null +++ b/buildroot-2022.02.1/package/tesseract-ocr/tesseract-ocr.mk @@ -0,0 +1,72 @@ +################################################################################ +# +# tesseract-ocr +# +################################################################################ + +TESSERACT_OCR_VERSION = 5.0.1 +TESSERACT_OCR_DATA_VERSION = 4.1.0 +TESSERACT_OCR_SITE = $(call github,tesseract-ocr,tesseract,$(TESSERACT_OCR_VERSION)) +TESSERACT_OCR_LICENSE = Apache-2.0 +TESSERACT_OCR_LICENSE_FILES = LICENSE + +# Source from github, no configure script provided +TESSERACT_OCR_AUTORECONF = YES + +# cairo, pango and icu are optional dependencies, but only needed for +# building training tools, which are only built explicitly with "make +# training", which is not done by this package. +TESSERACT_OCR_DEPENDENCIES = leptonica host-pkgconf +TESSERACT_OCR_INSTALL_STAGING = YES +TESSERACT_OCR_CONF_ENV = \ + ac_cv_prog_have_asciidoc=false \ + LIBLEPT_HEADERSDIR=$(STAGING_DIR)/usr/include/leptonica +TESSERACT_OCR_CONF_OPTS = \ + --disable-opencl + +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +TESSERACT_OCR_CONF_ENV += ax_cv_check_cxxflags__mfpu_neon=yes +else +TESSERACT_OCR_CONF_ENV += ax_cv_check_cxxflags__mfpu_neon=no +endif + +# Language data files download +ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_ENG),y) +TESSERACT_OCR_DATA_FILES += eng.traineddata +endif + +ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_FRA),y) +TESSERACT_OCR_DATA_FILES += fra.traineddata +endif + +ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_DEU),y) +TESSERACT_OCR_DATA_FILES += deu.traineddata +endif + +ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_SPA),y) +TESSERACT_OCR_DATA_FILES += spa.traineddata +endif + +ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_SIM),y) +TESSERACT_OCR_DATA_FILES += chi_sim.traineddata +endif + +ifeq ($(BR2_PACKAGE_TESSERACT_OCR_LANG_CHI_TRA),y) +TESSERACT_OCR_DATA_FILES += chi_tra.traineddata +endif + +TESSERACT_OCR_EXTRA_DOWNLOADS = \ + $(addprefix https://github.com/tesseract-ocr/tessdata/raw/$(TESSERACT_OCR_DATA_VERSION)/,\ + $(TESSERACT_OCR_DATA_FILES)) + +# Language data files installation +define TESSERACT_OCR_INSTALL_LANG_DATA + $(foreach langfile,$(TESSERACT_OCR_DATA_FILES), \ + $(INSTALL) -D -m 0644 $(TESSERACT_OCR_DL_DIR)/$(langfile) \ + $(TARGET_DIR)/usr/share/tessdata/$(langfile) + ) +endef + +TESSERACT_OCR_POST_INSTALL_TARGET_HOOKS += TESSERACT_OCR_INSTALL_LANG_DATA + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tftpd/0001-Use-extern-qualifier-to-fix-gcc-10.x-build.patch b/buildroot-2022.02.1/package/tftpd/0001-Use-extern-qualifier-to-fix-gcc-10.x-build.patch similarity index 100% rename from buildroot-2021.05/package/tftpd/0001-Use-extern-qualifier-to-fix-gcc-10.x-build.patch rename to buildroot-2022.02.1/package/tftpd/0001-Use-extern-qualifier-to-fix-gcc-10.x-build.patch diff --git a/buildroot-2021.05/package/tftpd/Config.in b/buildroot-2022.02.1/package/tftpd/Config.in similarity index 100% rename from buildroot-2021.05/package/tftpd/Config.in rename to buildroot-2022.02.1/package/tftpd/Config.in diff --git a/buildroot-2021.05/package/tftpd/S80tftpd-hpa b/buildroot-2022.02.1/package/tftpd/S80tftpd-hpa similarity index 100% rename from buildroot-2021.05/package/tftpd/S80tftpd-hpa rename to buildroot-2022.02.1/package/tftpd/S80tftpd-hpa diff --git a/buildroot-2022.02.1/package/tftpd/tftpd.hash b/buildroot-2022.02.1/package/tftpd/tftpd.hash new file mode 100644 index 00000000..3cccb0f2 --- /dev/null +++ b/buildroot-2022.02.1/package/tftpd/tftpd.hash @@ -0,0 +1,5 @@ +# Locally calculated +sha256 c86520c30dab0b6bcbae021ab26d2ac63227696596d37a9b02aa3e56ec5c2e77 tftpd-b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7-br1.tar.gz + +# Hash for license file +sha256 67754ebd8f265571d3226ac97e521b1bd6fd8a61363ecd4ab7806a6f90efab92 tftpd/tftpd.c diff --git a/buildroot-2022.02.1/package/tftpd/tftpd.mk b/buildroot-2022.02.1/package/tftpd/tftpd.mk new file mode 100644 index 00000000..ceac2411 --- /dev/null +++ b/buildroot-2022.02.1/package/tftpd/tftpd.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# tftpd +# +################################################################################ + +TFTPD_VERSION = b2b34cecc8cbc18ff6f1fc00bda6ae6e9011e6c7 +TFTPD_SITE = https://git.kernel.org/pub/scm/network/tftp/tftp-hpa.git +TFTPD_SITE_METHOD = git +TFTPD_CONF_OPTS = --without-tcpwrappers +TFTPD_LICENSE = BSD-4-Clause +TFTPD_LICENSE_FILES = tftpd/tftpd.c +TFTPD_CPE_ID_VENDOR = tftpd-hpa_project +TFTPD_CPE_ID_PRODUCT = tftpd-hpa +TFTPD_SELINUX_MODULES = tftp +# From git +TFTPD_AUTORECONF = YES + +define TFTPD_INSTALL_TARGET_CMDS + $(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp + $(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd +endef + +define TFTPD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/tftpd/S80tftpd-hpa $(TARGET_DIR)/etc/init.d/S80tftpd-hpa +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/thermald/Config.in b/buildroot-2022.02.1/package/thermald/Config.in new file mode 100644 index 00000000..e5e15b9b --- /dev/null +++ b/buildroot-2022.02.1/package/thermald/Config.in @@ -0,0 +1,34 @@ +config BR2_PACKAGE_THERMALD + bool "thermald" + depends on BR2_i386 || BR2_x86_64 # needs + depends on BR2_USE_MMU # uses fork() + depends on BR2_USE_WCHAR # upower -> libgudev + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # upower -> libusb + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2, dbus, upower + depends on BR2_USE_WCHAR # dbus-glib -> glib2 + depends on BR2_PACKAGE_HAS_UDEV # upower + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS_GLIB + select BR2_PACKAGE_LIBEVDEV + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_UPOWER + select BR2_PACKAGE_XZ + help + Thermal Daemon is a Linux daemon for monitoring and + controlling platform temperatures. Once the system temperature + reaches a certain threshold, the Linux daemon activates + various cooling methods to try to cool the system. + + https://github.com/intel/thermal_daemon + +comment "thermald needs a toolchain w/ C++, wchar, threads, gcc >= 4.9" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +comment "thermald needs udev /dev management" + depends on BR2_i386 || BR2_x86_64 + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_HAS_UDEV diff --git a/buildroot-2022.02.1/package/thermald/thermald.hash b/buildroot-2022.02.1/package/thermald/thermald.hash new file mode 100644 index 00000000..3a7c0f69 --- /dev/null +++ b/buildroot-2022.02.1/package/thermald/thermald.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 3e5a5033339c021de41ed4f946dd39e13f79f722fb5bd98d798e83658184c39b thermald-2.4.8.tar.gz +sha256 e98be8bc482e038a14bfbc01caf800bbd0024fff275ef14cd999db6560254a8d COPYING diff --git a/buildroot-2022.02.1/package/thermald/thermald.mk b/buildroot-2022.02.1/package/thermald/thermald.mk new file mode 100644 index 00000000..4e432771 --- /dev/null +++ b/buildroot-2022.02.1/package/thermald/thermald.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# thermald +# +################################################################################ + +THERMALD_VERSION = 2.4.8 +THERMALD_SITE = $(call github,intel,thermal_daemon,v$(THERMALD_VERSION)) +# fetched from Github, with no configure script +THERMALD_AUTORECONF = YES +THERMALD_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive +THERMALD_DEPENDENCIES = \ + $(TARGET_NLS_DEPENDENCIES) \ + host-autoconf-archive \ + dbus \ + dbus-glib \ + libevdev \ + libxml2 \ + upower \ + xz +# tools are GPL-3.0+ but are not added to the target +THERMALD_LICENSE = GPL-2.0+ +THERMALD_LICENSE_FILES = COPYING +THERMALD_CPE_ID_VENDOR = intel +THERMALD_CONF_ENV = LIBS=$(TARGET_NLS_LIBS) + +# avoid this error when reconfiguring: +# automake: error: cannot open < gtk-doc.make: No such file or directory +define THERMALD_GTK_DOC_HOOK + echo "CLEANFILES=" > $(@D)/gtk-doc.make +endef +THERMALD_PRE_CONFIGURE_HOOKS += THERMALD_GTK_DOC_HOOK + +# Autoreconf is missing the m4/ directory, which might actually be missing +# iff it was the first argument, but unfortunately we are overriding the +# first include directory above. Thus we need that hook here. +define THERMALD_CREATE_M4 + mkdir -p $(@D)/m4 +endef +THERMALD_POST_PATCH_HOOKS += THERMALD_CREATE_M4 + +ifeq ($(BR2_INIT_SYSTEMD),y) +THERMALD_DEPENDENCIES += systemd +THERMALD_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/thrift/Config.in b/buildroot-2022.02.1/package/thrift/Config.in similarity index 100% rename from buildroot-2021.05/package/thrift/Config.in rename to buildroot-2022.02.1/package/thrift/Config.in diff --git a/buildroot-2022.02.1/package/thrift/thrift.hash b/buildroot-2022.02.1/package/thrift/thrift.hash new file mode 100644 index 00000000..20d6baea --- /dev/null +++ b/buildroot-2022.02.1/package/thrift/thrift.hash @@ -0,0 +1,4 @@ +# From https://www.apache.org/dist/thrift/0.14.1/thrift-0.14.1.tar.gz.sha256 +sha256 13da5e1cd9c8a3bb89778c0337cc57eb0c29b08f3090b41cf6ab78594b410ca5 thrift-0.14.1.tar.gz +# License files, locally calculated +sha256 d315e6cdedc07c478de6992027bfb66f220886c6216fd7e9885ced30c3703646 LICENSE diff --git a/buildroot-2022.02.1/package/thrift/thrift.mk b/buildroot-2022.02.1/package/thrift/thrift.mk new file mode 100644 index 00000000..c36efce2 --- /dev/null +++ b/buildroot-2022.02.1/package/thrift/thrift.mk @@ -0,0 +1,71 @@ +################################################################################ +# +# thrift +# +################################################################################ + +THRIFT_VERSION = 0.14.1 +THRIFT_SITE = http://www.us.apache.org/dist/thrift/$(THRIFT_VERSION) +THRIFT_LICENSE = Apache-2.0 +THRIFT_LICENSE_FILES = LICENSE +THRIFT_CPE_ID_VENDOR = apache + +THRIFT_DEPENDENCIES = host-pkgconf host-thrift boost \ + libevent openssl zlib +THRIFT_INSTALL_STAGING = YES +HOST_THRIFT_DEPENDENCIES = host-bison host-boost \ + host-flex host-libevent host-openssl host-pkgconf host-zlib + +THRIFT_COMMON_CONF_OPTS = -DBUILD_TUTORIALS=OFF \ + -DBUILD_TESTING=OFF \ + -DWITH_NODEJS=OFF \ + -DWITH_PYTHON=OFF \ + -DWITH_JAVA=OFF \ + -DWITH_JAVASCRIPT=OFF \ + -DWITH_QT5=OFF + +THRIFT_CONF_OPTS = $(THRIFT_COMMON_CONF_OPTS) -DBUILD_COMPILER=OFF +HOST_THRIFT_CONF_OPTS = $(THRIFT_COMMON_CONF_OPTS) -DBUILD_COMPILER=ON + +# relocation truncated to fit: R_68K_GOT16O +ifeq ($(BR2_m68k_cf),y) +THRIFT_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -mxgot" +endif + +# thrift doesn't use the regular flags BUILD_{STATIC,SHARED}_LIBS +ifeq ($(BR2_STATIC_LIBS),y) +THRIFT_CONF_OPTS += -DWITH_STATIC_LIB=ON -DWITH_BOOST_STATIC=ON -DWITH_SHARED_LIB=OFF +else ifeq ($(BR2_SHARED_LIBS),y) +THRIFT_CONF_OPTS += -DWITH_STATIC_LIB=OFF -DWITH_BOOST_STATIC=OFF -DWITH_SHARED_LIB=ON +else +# BR2_SHARED_STATIC_LIBS +THRIFT_CONF_OPTS += -DWITH_STATIC_LIB=ON -DWITH_BOOST_STATIC=OFF -DWITH_SHARED_LIB=ON +endif + +# Language selection for the compiler +HOST_THRIFT_CONF_OPTS += -DTHRIFT_COMPILER_CSHARP=OFF \ + -DTHRIFT_COMPILER_JAVA=OFF \ + -DTHRIFT_COMPILER_ERL=OFF \ + -DTHRIFT_COMPILER_PY=OFF \ + -DTHRIFT_COMPILER_PERL=OFF \ + -DTHRIFT_COMPILER_PHP=OFF \ + -DTHRIFT_COMPILER_RB=OFF \ + -DTHRIFT_COMPILER_HS=OFF \ + -DTHRIFT_COMPILER_GO=OFF \ + -DTHRIFT_COMPILER_D=OFF \ + -DTHRIFT_COMPILER_LUA=OFF \ + -DBUILD_C_GLIB=OFF + +# C bindings +ifeq ($(BR2_PACKAGE_LIBGLIB2),y) +THRIFT_DEPENDENCIES += libglib2 +THRIFT_CONF_OPTS += -DBUILD_C_GLIB=ON +else +THRIFT_CONF_OPTS += -DBUILD_C_GLIB=OFF +endif + +$(eval $(cmake-package)) +$(eval $(host-cmake-package)) + +# to be used by other packages +THRIFT = $(HOST_DIR)/bin/thrift diff --git a/buildroot-2021.05/package/thttpd/Config.in b/buildroot-2022.02.1/package/thttpd/Config.in similarity index 100% rename from buildroot-2021.05/package/thttpd/Config.in rename to buildroot-2022.02.1/package/thttpd/Config.in diff --git a/buildroot-2021.05/package/thttpd/S90thttpd b/buildroot-2022.02.1/package/thttpd/S90thttpd similarity index 100% rename from buildroot-2021.05/package/thttpd/S90thttpd rename to buildroot-2022.02.1/package/thttpd/S90thttpd diff --git a/buildroot-2021.05/package/thttpd/thttpd.hash b/buildroot-2022.02.1/package/thttpd/thttpd.hash similarity index 100% rename from buildroot-2021.05/package/thttpd/thttpd.hash rename to buildroot-2022.02.1/package/thttpd/thttpd.hash diff --git a/buildroot-2021.05/package/thttpd/thttpd.mk b/buildroot-2022.02.1/package/thttpd/thttpd.mk similarity index 100% rename from buildroot-2021.05/package/thttpd/thttpd.mk rename to buildroot-2022.02.1/package/thttpd/thttpd.mk diff --git a/buildroot-2021.05/package/thttpd/thttpd.service b/buildroot-2022.02.1/package/thttpd/thttpd.service similarity index 100% rename from buildroot-2021.05/package/thttpd/thttpd.service rename to buildroot-2022.02.1/package/thttpd/thttpd.service diff --git a/buildroot-2021.05/package/ti-cgt-pru/Config.in.host b/buildroot-2022.02.1/package/ti-cgt-pru/Config.in.host similarity index 100% rename from buildroot-2021.05/package/ti-cgt-pru/Config.in.host rename to buildroot-2022.02.1/package/ti-cgt-pru/Config.in.host diff --git a/buildroot-2021.05/package/ti-cgt-pru/ti-cgt-pru.hash b/buildroot-2022.02.1/package/ti-cgt-pru/ti-cgt-pru.hash similarity index 100% rename from buildroot-2021.05/package/ti-cgt-pru/ti-cgt-pru.hash rename to buildroot-2022.02.1/package/ti-cgt-pru/ti-cgt-pru.hash diff --git a/buildroot-2021.05/package/ti-cgt-pru/ti-cgt-pru.mk b/buildroot-2022.02.1/package/ti-cgt-pru/ti-cgt-pru.mk similarity index 100% rename from buildroot-2021.05/package/ti-cgt-pru/ti-cgt-pru.mk rename to buildroot-2022.02.1/package/ti-cgt-pru/ti-cgt-pru.mk diff --git a/buildroot-2021.05/package/ti-gfx/0001-newclkapi.patch b/buildroot-2022.02.1/package/ti-gfx/0001-newclkapi.patch similarity index 100% rename from buildroot-2021.05/package/ti-gfx/0001-newclkapi.patch rename to buildroot-2022.02.1/package/ti-gfx/0001-newclkapi.patch diff --git a/buildroot-2021.05/package/ti-gfx/0002-fix-build-omaplfb-linux.patch b/buildroot-2022.02.1/package/ti-gfx/0002-fix-build-omaplfb-linux.patch similarity index 100% rename from buildroot-2021.05/package/ti-gfx/0002-fix-build-omaplfb-linux.patch rename to buildroot-2022.02.1/package/ti-gfx/0002-fix-build-omaplfb-linux.patch diff --git a/buildroot-2021.05/package/ti-gfx/0003-km_install_modules.patch b/buildroot-2022.02.1/package/ti-gfx/0003-km_install_modules.patch similarity index 100% rename from buildroot-2021.05/package/ti-gfx/0003-km_install_modules.patch rename to buildroot-2022.02.1/package/ti-gfx/0003-km_install_modules.patch diff --git a/buildroot-2021.05/package/ti-gfx/Config.in b/buildroot-2022.02.1/package/ti-gfx/Config.in similarity index 100% rename from buildroot-2021.05/package/ti-gfx/Config.in rename to buildroot-2022.02.1/package/ti-gfx/Config.in diff --git a/buildroot-2021.05/package/ti-gfx/S80ti-gfx b/buildroot-2022.02.1/package/ti-gfx/S80ti-gfx similarity index 100% rename from buildroot-2021.05/package/ti-gfx/S80ti-gfx rename to buildroot-2022.02.1/package/ti-gfx/S80ti-gfx diff --git a/buildroot-2021.05/package/ti-gfx/egl.pc b/buildroot-2022.02.1/package/ti-gfx/egl.pc similarity index 100% rename from buildroot-2021.05/package/ti-gfx/egl.pc rename to buildroot-2022.02.1/package/ti-gfx/egl.pc diff --git a/buildroot-2021.05/package/ti-gfx/esrev.sh b/buildroot-2022.02.1/package/ti-gfx/esrev.sh similarity index 100% rename from buildroot-2021.05/package/ti-gfx/esrev.sh rename to buildroot-2022.02.1/package/ti-gfx/esrev.sh diff --git a/buildroot-2021.05/package/ti-gfx/glesv2.pc b/buildroot-2022.02.1/package/ti-gfx/glesv2.pc similarity index 100% rename from buildroot-2021.05/package/ti-gfx/glesv2.pc rename to buildroot-2022.02.1/package/ti-gfx/glesv2.pc diff --git a/buildroot-2021.05/package/ti-gfx/powervr.ini b/buildroot-2022.02.1/package/ti-gfx/powervr.ini similarity index 100% rename from buildroot-2021.05/package/ti-gfx/powervr.ini rename to buildroot-2022.02.1/package/ti-gfx/powervr.ini diff --git a/buildroot-2021.05/package/ti-gfx/ti-gfx.hash b/buildroot-2022.02.1/package/ti-gfx/ti-gfx.hash similarity index 100% rename from buildroot-2021.05/package/ti-gfx/ti-gfx.hash rename to buildroot-2022.02.1/package/ti-gfx/ti-gfx.hash diff --git a/buildroot-2021.05/package/ti-gfx/ti-gfx.mk b/buildroot-2022.02.1/package/ti-gfx/ti-gfx.mk similarity index 100% rename from buildroot-2021.05/package/ti-gfx/ti-gfx.mk rename to buildroot-2022.02.1/package/ti-gfx/ti-gfx.mk diff --git a/buildroot-2021.05/package/ti-gfx/ti-gfx.service b/buildroot-2022.02.1/package/ti-gfx/ti-gfx.service similarity index 100% rename from buildroot-2021.05/package/ti-gfx/ti-gfx.service rename to buildroot-2022.02.1/package/ti-gfx/ti-gfx.service diff --git a/buildroot-2021.05/package/ti-sgx-demos/Config.in b/buildroot-2022.02.1/package/ti-sgx-demos/Config.in similarity index 100% rename from buildroot-2021.05/package/ti-sgx-demos/Config.in rename to buildroot-2022.02.1/package/ti-sgx-demos/Config.in diff --git a/buildroot-2021.05/package/ti-sgx-demos/ti-sgx-demos.hash b/buildroot-2022.02.1/package/ti-sgx-demos/ti-sgx-demos.hash similarity index 100% rename from buildroot-2021.05/package/ti-sgx-demos/ti-sgx-demos.hash rename to buildroot-2022.02.1/package/ti-sgx-demos/ti-sgx-demos.hash diff --git a/buildroot-2021.05/package/ti-sgx-demos/ti-sgx-demos.mk b/buildroot-2022.02.1/package/ti-sgx-demos/ti-sgx-demos.mk similarity index 100% rename from buildroot-2021.05/package/ti-sgx-demos/ti-sgx-demos.mk rename to buildroot-2022.02.1/package/ti-sgx-demos/ti-sgx-demos.mk diff --git a/buildroot-2021.05/package/ti-sgx-km/Config.in b/buildroot-2022.02.1/package/ti-sgx-km/Config.in similarity index 100% rename from buildroot-2021.05/package/ti-sgx-km/Config.in rename to buildroot-2022.02.1/package/ti-sgx-km/Config.in diff --git a/buildroot-2021.05/package/ti-sgx-km/ti-sgx-km.hash b/buildroot-2022.02.1/package/ti-sgx-km/ti-sgx-km.hash similarity index 100% rename from buildroot-2021.05/package/ti-sgx-km/ti-sgx-km.hash rename to buildroot-2022.02.1/package/ti-sgx-km/ti-sgx-km.hash diff --git a/buildroot-2021.05/package/ti-sgx-km/ti-sgx-km.mk b/buildroot-2022.02.1/package/ti-sgx-km/ti-sgx-km.mk similarity index 100% rename from buildroot-2021.05/package/ti-sgx-km/ti-sgx-km.mk rename to buildroot-2022.02.1/package/ti-sgx-km/ti-sgx-km.mk diff --git a/buildroot-2021.05/package/ti-sgx-um/0001-Makefile-do-not-install-init-script.patch b/buildroot-2022.02.1/package/ti-sgx-um/0001-Makefile-do-not-install-init-script.patch similarity index 100% rename from buildroot-2021.05/package/ti-sgx-um/0001-Makefile-do-not-install-init-script.patch rename to buildroot-2022.02.1/package/ti-sgx-um/0001-Makefile-do-not-install-init-script.patch diff --git a/buildroot-2022.02.1/package/ti-sgx-um/Config.in b/buildroot-2022.02.1/package/ti-sgx-um/Config.in new file mode 100644 index 00000000..13c7cc88 --- /dev/null +++ b/buildroot-2022.02.1/package/ti-sgx-um/Config.in @@ -0,0 +1,44 @@ +comment "ti-sgx-um needs udev and a glibc toolchain w/ threads" + depends on BR2_arm + depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_USES_GLIBC \ + || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_TI_SGX_UM + bool "ti-sgx-um" + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm + depends on BR2_PACKAGE_HAS_UDEV + # pre-built binaries + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_arm + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_LIBDRM_OMAP + select BR2_PACKAGE_HAS_LIBEGL + select BR2_PACKAGE_HAS_LIBGBM + select BR2_PACKAGE_LIBGBM_HAS_FEATURE_DMA_BUF + select BR2_PACKAGE_HAS_LIBGLES + select BR2_PACKAGE_HAS_POWERVR + select BR2_PACKAGE_LIBFFI + select BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_TI_SGX_KM if BR2_LINUX_KERNEL + help + Graphics libraries for TI CPUs with SGX5xx GPU. + This package supports AM335x, AM437x, AM4430 and AM5430. + For older CPUs or kernels use the ti-gfx package. + + https://git.ti.com/cgit/graphics/omap5-sgx-ddk-um-linux + +if BR2_PACKAGE_TI_SGX_UM + +config BR2_PACKAGE_PROVIDES_LIBEGL + default "ti-sgx-um" + +config BR2_PACKAGE_PROVIDES_LIBGBM + default "ti-sgx-um" + +config BR2_PACKAGE_PROVIDES_LIBGLES + default "ti-sgx-um" + +config BR2_PACKAGE_PROVIDES_POWERVR + default "ti-sgx-um" + +endif diff --git a/buildroot-2021.05/package/ti-sgx-um/S80ti-sgx b/buildroot-2022.02.1/package/ti-sgx-um/S80ti-sgx similarity index 100% rename from buildroot-2021.05/package/ti-sgx-um/S80ti-sgx rename to buildroot-2022.02.1/package/ti-sgx-um/S80ti-sgx diff --git a/buildroot-2021.05/package/ti-sgx-um/ti-sgx-um.hash b/buildroot-2022.02.1/package/ti-sgx-um/ti-sgx-um.hash similarity index 100% rename from buildroot-2021.05/package/ti-sgx-um/ti-sgx-um.hash rename to buildroot-2022.02.1/package/ti-sgx-um/ti-sgx-um.hash diff --git a/buildroot-2022.02.1/package/ti-sgx-um/ti-sgx-um.mk b/buildroot-2022.02.1/package/ti-sgx-um/ti-sgx-um.mk new file mode 100644 index 00000000..aeee9068 --- /dev/null +++ b/buildroot-2022.02.1/package/ti-sgx-um/ti-sgx-um.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# ti-sgx-um +# +################################################################################ + +# This corresponds to SDK 06.01.00.08 +TI_SGX_UM_VERSION = 909e237baf47d0bde006ff25552f5403fd7e359d +TI_SGX_UM_SITE = http://git.ti.com/git/graphics/omap5-sgx-ddk-um-linux.git +TI_SGX_UM_SITE_METHOD = git +TI_SGX_UM_LICENSE = TI TSPA License +TI_SGX_UM_LICENSE_FILES = TI-Linux-Graphics-DDK-UM-Manifest.doc +TI_SGX_UM_INSTALL_STAGING = YES +TI_SGX_UM_PROVIDES = libegl libgbm libgles powervr +TI_SGX_UM_TARGET=ti335x + +# ti-sgx-um is a egl/gles provider only if libdrm is installed +TI_SGX_UM_DEPENDENCIES = libdrm wayland + +define TI_SGX_UM_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(STAGING_DIR) \ + TARGET_PRODUCT=$(TI_SGX_UM_TARGET) install +endef + +define TI_SGX_UM_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DISCIMAGE=$(TARGET_DIR) \ + TARGET_PRODUCT=$(TI_SGX_UM_TARGET) install +endef + +TI_SGX_UM_POST_INSTALL_TARGET_HOOKS += TI_SGX_UM_INSTALL_CONF + +define TI_SGX_UM_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/ti-sgx-um/S80ti-sgx \ + $(TARGET_DIR)/etc/init.d/S80ti-sgx +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ti-uim/Config.in b/buildroot-2022.02.1/package/ti-uim/Config.in similarity index 100% rename from buildroot-2021.05/package/ti-uim/Config.in rename to buildroot-2022.02.1/package/ti-uim/Config.in diff --git a/buildroot-2021.05/package/ti-uim/ti-uim.hash b/buildroot-2022.02.1/package/ti-uim/ti-uim.hash similarity index 100% rename from buildroot-2021.05/package/ti-uim/ti-uim.hash rename to buildroot-2022.02.1/package/ti-uim/ti-uim.hash diff --git a/buildroot-2021.05/package/ti-uim/ti-uim.mk b/buildroot-2022.02.1/package/ti-uim/ti-uim.mk similarity index 100% rename from buildroot-2021.05/package/ti-uim/ti-uim.mk rename to buildroot-2022.02.1/package/ti-uim/ti-uim.mk diff --git a/buildroot-2021.05/package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/ti-utils/0001-plt.h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/ti-utils/Config.in b/buildroot-2022.02.1/package/ti-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/ti-utils/Config.in rename to buildroot-2022.02.1/package/ti-utils/Config.in diff --git a/buildroot-2021.05/package/ti-utils/ti-utils.hash b/buildroot-2022.02.1/package/ti-utils/ti-utils.hash similarity index 100% rename from buildroot-2021.05/package/ti-utils/ti-utils.hash rename to buildroot-2022.02.1/package/ti-utils/ti-utils.hash diff --git a/buildroot-2021.05/package/ti-utils/ti-utils.mk b/buildroot-2022.02.1/package/ti-utils/ti-utils.mk similarity index 100% rename from buildroot-2021.05/package/ti-utils/ti-utils.mk rename to buildroot-2022.02.1/package/ti-utils/ti-utils.mk diff --git a/buildroot-2022.02.1/package/tiff/0001-tiffset-fix-global-buffer-overflow-for-ASCII-tags.patch b/buildroot-2022.02.1/package/tiff/0001-tiffset-fix-global-buffer-overflow-for-ASCII-tags.patch new file mode 100644 index 00000000..ba148778 --- /dev/null +++ b/buildroot-2022.02.1/package/tiff/0001-tiffset-fix-global-buffer-overflow-for-ASCII-tags.patch @@ -0,0 +1,43 @@ +From 03047a26952a82daaa0792957ce211e0aa51bc64 Mon Sep 17 00:00:00 2001 +From: 4ugustus +Date: Tue, 25 Jan 2022 16:25:28 +0000 +Subject: [PATCH] tiffset: fix global-buffer-overflow for ASCII tags where + count is required (fixes #355) + +[Retrieved from: +https://gitlab.com/libtiff/libtiff/-/commit/03047a26952a82daaa0792957ce211e0aa51bc64] +Signed-off-by: Fabrice Fontaine +--- + tools/tiffset.c | 16 +++++++++++++--- + 1 file changed, 13 insertions(+), 3 deletions(-) + +diff --git a/tools/tiffset.c b/tools/tiffset.c +index 8c9e23c5..e7a88c09 100644 +--- a/tools/tiffset.c ++++ b/tools/tiffset.c +@@ -146,9 +146,19 @@ main(int argc, char* argv[]) + + arg_index++; + if (TIFFFieldDataType(fip) == TIFF_ASCII) { +- if (TIFFSetField(tiff, TIFFFieldTag(fip), argv[arg_index]) != 1) +- fprintf( stderr, "Failed to set %s=%s\n", +- TIFFFieldName(fip), argv[arg_index] ); ++ if(TIFFFieldPassCount( fip )) { ++ size_t len; ++ len = strlen(argv[arg_index]) + 1; ++ if (len > UINT16_MAX || TIFFSetField(tiff, TIFFFieldTag(fip), ++ (uint16_t)len, argv[arg_index]) != 1) ++ fprintf( stderr, "Failed to set %s=%s\n", ++ TIFFFieldName(fip), argv[arg_index] ); ++ } else { ++ if (TIFFSetField(tiff, TIFFFieldTag(fip), ++ argv[arg_index]) != 1) ++ fprintf( stderr, "Failed to set %s=%s\n", ++ TIFFFieldName(fip), argv[arg_index] ); ++ } + } else if (TIFFFieldWriteCount(fip) > 0 + || TIFFFieldWriteCount(fip) == TIFF_VARIABLE) { + int ret = 1; +-- +GitLab + diff --git a/buildroot-2021.05/package/tiff/Config.in b/buildroot-2022.02.1/package/tiff/Config.in similarity index 100% rename from buildroot-2021.05/package/tiff/Config.in rename to buildroot-2022.02.1/package/tiff/Config.in diff --git a/buildroot-2022.02.1/package/tiff/tiff.hash b/buildroot-2022.02.1/package/tiff/tiff.hash new file mode 100644 index 00000000..ea08a1fc --- /dev/null +++ b/buildroot-2022.02.1/package/tiff/tiff.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 0e46e5acb087ce7d1ac53cf4f56a09b221537fc86dfc5daaad1c2e89e1b37ac8 tiff-4.3.0.tar.gz +sha256 fbd6fed7938541d2c809c0826225fc85e551fdbfa8732b10f0c87e0847acafd7 COPYRIGHT diff --git a/buildroot-2022.02.1/package/tiff/tiff.mk b/buildroot-2022.02.1/package/tiff/tiff.mk new file mode 100644 index 00000000..f80ab7ac --- /dev/null +++ b/buildroot-2022.02.1/package/tiff/tiff.mk @@ -0,0 +1,98 @@ +################################################################################ +# +# tiff +# +################################################################################ + +TIFF_VERSION = 4.3.0 +TIFF_SITE = http://download.osgeo.org/libtiff +TIFF_LICENSE = tiff license +TIFF_LICENSE_FILES = COPYRIGHT +TIFF_CPE_ID_VENDOR = libtiff +TIFF_CPE_ID_PRODUCT = libtiff +TIFF_INSTALL_STAGING = YES + +# 0001-tiffset-fix-global-buffer-overflow-for-ASCII-tags.patch +TIFF_IGNORE_CVES += CVE-2022-22844 + +TIFF_CONF_OPTS = \ + --disable-cxx \ + --without-x + +TIFF_DEPENDENCIES = host-pkgconf + +HOST_TIFF_CONF_OPTS = \ + --disable-cxx \ + --without-x \ + --disable-zlib \ + --disable-lzma \ + --disable-jpeg +HOST_TIFF_DEPENDENCIES = host-pkgconf + +ifneq ($(BR2_PACKAGE_TIFF_CCITT),y) +TIFF_CONF_OPTS += --disable-ccitt +endif + +ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y) +TIFF_CONF_OPTS += --disable-packbits +endif + +ifneq ($(BR2_PACKAGE_TIFF_LZW),y) +TIFF_CONF_OPTS += --disable-lzw +endif + +ifneq ($(BR2_PACKAGE_TIFF_THUNDER),y) +TIFF_CONF_OPTS += --disable-thunder +endif + +ifneq ($(BR2_PACKAGE_TIFF_NEXT),y) +TIFF_CONF_OPTS += --disable-next +endif + +ifneq ($(BR2_PACKAGE_TIFF_LOGLUV),y) +TIFF_CONF_OPTS += --disable-logluv +endif + +ifneq ($(BR2_PACKAGE_TIFF_MDI),y) +TIFF_CONF_OPTS += --disable-mdi +endif + +ifneq ($(BR2_PACKAGE_TIFF_ZLIB),y) +TIFF_CONF_OPTS += --disable-zlib +else +TIFF_DEPENDENCIES += zlib +endif + +ifneq ($(BR2_PACKAGE_TIFF_XZ),y) +TIFF_CONF_OPTS += --disable-lzma +else +TIFF_DEPENDENCIES += xz +endif + +ifneq ($(BR2_PACKAGE_TIFF_PIXARLOG),y) +TIFF_CONF_OPTS += --disable-pixarlog +endif + +ifneq ($(BR2_PACKAGE_TIFF_JPEG),y) +TIFF_CONF_OPTS += --disable-jpeg +else +TIFF_DEPENDENCIES += jpeg +endif + +ifneq ($(BR2_PACKAGE_TIFF_OLD_JPEG),y) +TIFF_CONF_OPTS += --disable-old-jpeg +endif + +ifneq ($(BR2_PACKAGE_TIFF_JBIG),y) +TIFF_CONF_OPTS += --disable-jbig +endif + +TIFF_SUBDIRS = port libtiff +ifeq ($(BR2_PACKAGE_TIFF_UTILITIES),y) +TIFF_SUBDIRS += tools +endif + +TIFF_MAKE = $(MAKE) SUBDIRS="$(TIFF_SUBDIRS)" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/time/Config.in b/buildroot-2022.02.1/package/time/Config.in similarity index 100% rename from buildroot-2021.05/package/time/Config.in rename to buildroot-2022.02.1/package/time/Config.in diff --git a/buildroot-2021.05/package/time/time.hash b/buildroot-2022.02.1/package/time/time.hash similarity index 100% rename from buildroot-2021.05/package/time/time.hash rename to buildroot-2022.02.1/package/time/time.hash diff --git a/buildroot-2021.05/package/time/time.mk b/buildroot-2022.02.1/package/time/time.mk similarity index 100% rename from buildroot-2021.05/package/time/time.mk rename to buildroot-2022.02.1/package/time/time.mk diff --git a/buildroot-2021.05/package/timescaledb/Config.in b/buildroot-2022.02.1/package/timescaledb/Config.in similarity index 100% rename from buildroot-2021.05/package/timescaledb/Config.in rename to buildroot-2022.02.1/package/timescaledb/Config.in diff --git a/buildroot-2022.02.1/package/timescaledb/timescaledb.hash b/buildroot-2022.02.1/package/timescaledb/timescaledb.hash new file mode 100644 index 00000000..556cdaf3 --- /dev/null +++ b/buildroot-2022.02.1/package/timescaledb/timescaledb.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b1a20832189c22ce378f009f9a24ef1db61d7131f7f79bde74fdcde87bcf2d7c timescaledb-2.5.2.tar.gz +sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE diff --git a/buildroot-2022.02.1/package/timescaledb/timescaledb.mk b/buildroot-2022.02.1/package/timescaledb/timescaledb.mk new file mode 100644 index 00000000..1d8b2a69 --- /dev/null +++ b/buildroot-2022.02.1/package/timescaledb/timescaledb.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# timescaledb +# +################################################################################ + +TIMESCALEDB_VERSION = 2.5.2 +TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION)) +TIMESCALEDB_LICENSE = Apache-2.0 +TIMESCALEDB_LICENSE_FILES = LICENSE + +TIMESCALEDB_DEPENDENCIES = postgresql + +# The PG_CPPFLAGS, PG_CFLAGS, PG_LDFLAGS and PG_LIBS variables must be +# non-empty, otherwise CMake will call the pg_config script, and our +# pg_config replacement doesn't implement --cppflags --cflags +# --ldflags and --libs. +TIMESCALEDB_CONF_OPTS = \ + -DTAP_CHECKS=OFF \ + -DREGRESS_CHECKS=OFF \ + -DWARNINGS_AS_ERRORS=OFF \ + -DPG_PKGLIBDIR=lib/postgresql \ + -DPG_SHAREDIR=share/postgresql \ + -DPG_BINDIR=bin \ + -DPG_CPPFLAGS="$(TARGET_CPPFLAGS) " \ + -DPG_CFLAGS="$(TARGET_CFLAGS) " \ + -DPG_LDFLAGS="$(TARGET_LDFLAGS) " \ + -DPG_LIBS=" " + +# There's no dependency on the OpenSSL package, because USE_OPENSSL +# only tells if postgresql was built with OpenSSL support or not. +ifeq ($(BR2_PACKAGE_OPENSSL),y) +TIMESCALEDB_CONF_OPTS += -DUSE_OPENSSL=1 +else +TIMESCALEDB_CONF_OPTS += -DUSE_OPENSSL=0 +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/tinc/Config.in b/buildroot-2022.02.1/package/tinc/Config.in similarity index 100% rename from buildroot-2021.05/package/tinc/Config.in rename to buildroot-2022.02.1/package/tinc/Config.in diff --git a/buildroot-2021.05/package/tinc/tinc.hash b/buildroot-2022.02.1/package/tinc/tinc.hash similarity index 100% rename from buildroot-2021.05/package/tinc/tinc.hash rename to buildroot-2022.02.1/package/tinc/tinc.hash diff --git a/buildroot-2021.05/package/tinc/tinc.mk b/buildroot-2022.02.1/package/tinc/tinc.mk similarity index 100% rename from buildroot-2021.05/package/tinc/tinc.mk rename to buildroot-2022.02.1/package/tinc/tinc.mk diff --git a/buildroot-2021.05/package/tini/Config.in b/buildroot-2022.02.1/package/tini/Config.in similarity index 100% rename from buildroot-2021.05/package/tini/Config.in rename to buildroot-2022.02.1/package/tini/Config.in diff --git a/buildroot-2021.05/package/tini/tini.hash b/buildroot-2022.02.1/package/tini/tini.hash similarity index 100% rename from buildroot-2021.05/package/tini/tini.hash rename to buildroot-2022.02.1/package/tini/tini.hash diff --git a/buildroot-2021.05/package/tini/tini.mk b/buildroot-2022.02.1/package/tini/tini.mk similarity index 100% rename from buildroot-2021.05/package/tini/tini.mk rename to buildroot-2022.02.1/package/tini/tini.mk diff --git a/buildroot-2022.02.1/package/tinifier/Config.in b/buildroot-2022.02.1/package/tinifier/Config.in new file mode 100644 index 00000000..fbadfe6b --- /dev/null +++ b/buildroot-2022.02.1/package/tinifier/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_TINIFIER + bool "tinifier" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + help + CLI tool for images compressing + + This tool uses tinypng.com API endpoint for compressing your + local jpg/png images (it supports parallel jobs). + + https://github.com/tarampampam/tinifier diff --git a/buildroot-2022.02.1/package/tinifier/tinifier.hash b/buildroot-2022.02.1/package/tinifier/tinifier.hash new file mode 100644 index 00000000..0c35508e --- /dev/null +++ b/buildroot-2022.02.1/package/tinifier/tinifier.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 927e966f9d23ea7cc1942967a8fc16ef4c55c51bd096d44f54b418844a51aa12 tinifier-3.4.0.tar.gz +sha256 18f524914c0df04e21289c3d9ca3e27c10abe5869cc4e4d4790a1b2c56df282c LICENSE diff --git a/buildroot-2022.02.1/package/tinifier/tinifier.mk b/buildroot-2022.02.1/package/tinifier/tinifier.mk new file mode 100644 index 00000000..d7ed6f7c --- /dev/null +++ b/buildroot-2022.02.1/package/tinifier/tinifier.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# tinifier +# +################################################################################ + +TINIFIER_VERSION = 3.4.0 +TINIFIER_SITE = $(call github,tarampampam,tinifier,v$(TINIFIER_VERSION)) +TINIFIER_LICENSE = MIT +TINIFIER_LICENSE_FILES = LICENSE +TINIFIER_GOMOD = ./cmd/tinifier + +$(eval $(golang-package)) diff --git a/buildroot-2022.02.1/package/tinyalsa/0001-include-time.h-before-asound.h.patch b/buildroot-2022.02.1/package/tinyalsa/0001-include-time.h-before-asound.h.patch new file mode 100644 index 00000000..c91213e2 --- /dev/null +++ b/buildroot-2022.02.1/package/tinyalsa/0001-include-time.h-before-asound.h.patch @@ -0,0 +1,76 @@ +From d91e947bda590765e1c791f40e8ffb4135ab1cd3 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 11 Jan 2022 00:01:49 +0100 +Subject: [PATCH] include time.h before asound.h + +Include time.h before asound.h to avoid the following build failure on +musl that was already fixed a long time with +https://github.com/tinyalsa/tinyalsa/commit/c8333f8c7a4e4b9549abeef7530b2cd20a18e537 +but reappeared on version 2.0.0: + +In file included from ../src/pcm_hw.c:42: +/home/peko/autobuild/instance-1/output-1/host/i586-buildroot-linux-musl/sysroot/usr/include/sound/asound.h:444:18: error: field 'trigger_tstamp' has incomplete type + 444 | struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */ + | ^~~~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/a75e23dc585bd071f4d65face5489ed6ac22edbe + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/tinyalsa/tinyalsa/commit/c127110249967e0722d80bb41e33713accdcff8f] +--- + src/mixer.c | 1 + + src/mixer_hw.c | 1 + + src/pcm_hw.c | 1 + + src/pcm_plugin.c | 1 + + 4 files changed, 4 insertions(+) + +diff --git a/src/mixer.c b/src/mixer.c +index afbc015..029fc84 100644 +--- a/src/mixer.c ++++ b/src/mixer.c +@@ -55,6 +55,7 @@ + #define __user + #endif + ++#include + #include + + #include +diff --git a/src/mixer_hw.c b/src/mixer_hw.c +index da5a390..50e9d07 100644 +--- a/src/mixer_hw.c ++++ b/src/mixer_hw.c +@@ -42,6 +42,7 @@ + #include + + #include ++#include + #include + + #include "mixer_io.h" +diff --git a/src/pcm_hw.c b/src/pcm_hw.c +index 5eb53be..2383ae0 100644 +--- a/src/pcm_hw.c ++++ b/src/pcm_hw.c +@@ -41,6 +41,7 @@ + #include + #include + #include ++#include + #include + #include + +diff --git a/src/pcm_plugin.c b/src/pcm_plugin.c +index 47bf4a5..b6b69aa 100644 +--- a/src/pcm_plugin.c ++++ b/src/pcm_plugin.c +@@ -40,6 +40,7 @@ + + #include + #include ++#include + #include + #include + #include diff --git a/buildroot-2021.05/package/tinyalsa/Config.in b/buildroot-2022.02.1/package/tinyalsa/Config.in similarity index 100% rename from buildroot-2021.05/package/tinyalsa/Config.in rename to buildroot-2022.02.1/package/tinyalsa/Config.in diff --git a/buildroot-2022.02.1/package/tinyalsa/tinyalsa.hash b/buildroot-2022.02.1/package/tinyalsa/tinyalsa.hash new file mode 100644 index 00000000..f7673b17 --- /dev/null +++ b/buildroot-2022.02.1/package/tinyalsa/tinyalsa.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 573ae0b2d3480851c1d2a12503ead2beea27f92d44ed47b74b553ba947994ef1 tinyalsa-2.0.0.tar.gz +sha256 ea22a4711f5250f88a4d7011fbc65367d1b02ac954dcc49f5b6d7c135e6537c4 NOTICE diff --git a/buildroot-2022.02.1/package/tinyalsa/tinyalsa.mk b/buildroot-2022.02.1/package/tinyalsa/tinyalsa.mk new file mode 100644 index 00000000..b5c39e35 --- /dev/null +++ b/buildroot-2022.02.1/package/tinyalsa/tinyalsa.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# tinyalsa +# +################################################################################ + +TINYALSA_VERSION = 2.0.0 +TINYALSA_SITE = $(call github,tinyalsa,tinyalsa,v$(TINYALSA_VERSION)) +TINYALSA_LICENSE = BSD-3-Clause +TINYALSA_LICENSE_FILES = NOTICE +TINYALSA_INSTALL_STAGING = YES +TINYALSA_CONF_OPTS = -Ddocs=disabled -Dexamples=disabled -Dutils=disabled + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/tinycbor/0001-Makefile-add-DISABLE_WERROR.patch b/buildroot-2022.02.1/package/tinycbor/0001-Makefile-add-DISABLE_WERROR.patch new file mode 100644 index 00000000..334bea7e --- /dev/null +++ b/buildroot-2022.02.1/package/tinycbor/0001-Makefile-add-DISABLE_WERROR.patch @@ -0,0 +1,44 @@ +From 5f26eaf8d7be760fafe11ef4a6e0f907e7e8c3f0 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 10 Jan 2022 23:17:45 +0100 +Subject: [PATCH] Makefile: add DISABLE_WERROR + +Allow the user to disable -Werror to avoid the following build failure +with gcc 4.8 raised since version 0.6.0 and +https://github.com/intel/tinycbor/commit/e2a4ed135c4d9101c4df83f2dd033cd249b6ef07: + +/home/buildroot/autobuild/instance-1/output-1/host/bin/arm-none-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Werror=int-conversion -fPIC -c -o src/cborerrorstrings.pic.o src/cborerrorstrings.c +cc1: error: -Werror=incompatible-pointer-types: no option -Wincompatible-pointer-types +cc1: error: -Werror=int-conversion: no option -Wint-conversion + +Fixes: + - http://autobuild.buildroot.org/results/a9f/a9fe64c42bb96f9e7b4af3050464f6570c1c00fa + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/intel/tinycbor/commit/5f26eaf8d7be760fafe11ef4a6e0f907e7e8c3f0] +--- + Makefile | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 6492ea16..3cde2b3d 100644 +--- a/Makefile ++++ b/Makefile +@@ -236,10 +236,15 @@ tag: distcheck + .SECONDARY: + + cflags := $(CPPFLAGS) -I$(SRCDIR)src +-cflags += -std=gnu99 $(CFLAGS) \ ++cflags += -std=gnu99 $(CFLAGS) ++ ++ifneq ($(DISABLE_WERROR),1) ++cflags += \ + -Werror=incompatible-pointer-types \ + -Werror=implicit-function-declaration \ + -Werror=int-conversion ++endif ++ + %.o: %.c + @test -d $(@D) || $(MKDIR) $(@D) + $(CC) $(cflags) $($(basename $(notdir $@))_CCFLAGS) -c -o $@ $< diff --git a/buildroot-2021.05/package/tinycbor/Config.in b/buildroot-2022.02.1/package/tinycbor/Config.in similarity index 100% rename from buildroot-2021.05/package/tinycbor/Config.in rename to buildroot-2022.02.1/package/tinycbor/Config.in diff --git a/buildroot-2022.02.1/package/tinycbor/tinycbor.hash b/buildroot-2022.02.1/package/tinycbor/tinycbor.hash new file mode 100644 index 00000000..0e616d1e --- /dev/null +++ b/buildroot-2022.02.1/package/tinycbor/tinycbor.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 512e2c9fce74f60ef9ed3af59161e905f9e19f30a52e433fc55f39f4c70d27e4 tinycbor-0.6.0.tar.gz +sha256 3c6ba0b5bfa7830505301ffb336a17b0748e0d61c4d34216e9dc98f10e40395e LICENSE diff --git a/buildroot-2022.02.1/package/tinycbor/tinycbor.mk b/buildroot-2022.02.1/package/tinycbor/tinycbor.mk new file mode 100644 index 00000000..cad50e63 --- /dev/null +++ b/buildroot-2022.02.1/package/tinycbor/tinycbor.mk @@ -0,0 +1,45 @@ +################################################################################ +# +# tinycbor +# +################################################################################ + +TINYCBOR_VERSION = 0.6.0 +TINYCBOR_SITE = $(call github,intel,tinycbor,v$(TINYCBOR_VERSION)) +TINYCBOR_LICENSE = MIT +TINYCBOR_LICENSE_FILES = LICENSE + +TINYCBOR_DEPENDENCIES = host-pkgconf +TINYCBOR_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_CJSON),y) +TINYCBOR_DEPENDENCIES += cjson +endif + +TINYCBOR_MAKE_OPTS = $(TARGET_CONFIGURE_OPTS) DISABLE_WERROR=1 V=1 + +ifeq ($(BR2_STATIC_LIBS),y) +TINYCBOR_MAKE_OPTS += BUILD_STATIC=1 BUILD_SHARED=0 +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +TINYCBOR_MAKE_OPTS += BUILD_STATIC=1 BUILD_SHARED=1 +else ifeq ($(BR2_SHARED_LIBS),y) +TINYCBOR_MAKE_OPTS += BUILD_STATIC=0 BUILD_SHARED=1 +endif + +# disabled parallel build because of build failures while +# producing the .config file +define TINYCBOR_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE1) $(TINYCBOR_MAKE_OPTS) -C $(@D) +endef + +define TINYCBOR_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D) \ + DESTDIR=$(STAGING_DIR) prefix=/usr install +endef + +define TINYCBOR_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TINYCBOR_MAKE_OPTS) -C $(@D) \ + DESTDIR=$(TARGET_DIR) prefix=/usr install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/tinydtls/0001-sha2-sha2.c-fix-build-on-big-endian.patch b/buildroot-2022.02.1/package/tinydtls/0001-sha2-sha2.c-fix-build-on-big-endian.patch similarity index 100% rename from buildroot-2021.05/package/tinydtls/0001-sha2-sha2.c-fix-build-on-big-endian.patch rename to buildroot-2022.02.1/package/tinydtls/0001-sha2-sha2.c-fix-build-on-big-endian.patch diff --git a/buildroot-2021.05/package/tinydtls/Config.in b/buildroot-2022.02.1/package/tinydtls/Config.in similarity index 100% rename from buildroot-2021.05/package/tinydtls/Config.in rename to buildroot-2022.02.1/package/tinydtls/Config.in diff --git a/buildroot-2021.05/package/tinydtls/tinydtls.hash b/buildroot-2022.02.1/package/tinydtls/tinydtls.hash similarity index 100% rename from buildroot-2021.05/package/tinydtls/tinydtls.hash rename to buildroot-2022.02.1/package/tinydtls/tinydtls.hash diff --git a/buildroot-2022.02.1/package/tinydtls/tinydtls.mk b/buildroot-2022.02.1/package/tinydtls/tinydtls.mk new file mode 100644 index 00000000..bba9e5f6 --- /dev/null +++ b/buildroot-2022.02.1/package/tinydtls/tinydtls.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# tinydtls +# +################################################################################ + +TINYDTLS_VERSION = 0.9-rc1 +TINYDTLS_SITE = $(call github,eclipse,tinydtls,v$(TINYDTLS_VERSION)) +TINYDTLS_LICENSE = EPL-1.0 or EDL-1.0 +TINYDTLS_LICENSE_FILES = LICENSE +TINYDTLS_CPE_ID_VENDOR = eclipse +TINYDTLS_INSTALL_STAGING = YES +TINYDTLS_DEPENDENCIES = host-pkgconf +# From git +TINYDTLS_AUTORECONF = YES +# use inttypes.h data types instead of u_intXX_t for musl compatibility +TINYDTLS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DSHA2_USE_INTTYPES_H" + +# Fix build with automake >= 1.16.4 +define TINYDTLS_TOUCH_AR_LIB + touch $(@D)/ar-lib +endef +TINYDTLS_PRE_CONFIGURE_HOOKS += TINYDTLS_TOUCH_AR_LIB + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tinymembench/0001-arm-fix-build-on-Thumb-only-architectures.patch b/buildroot-2022.02.1/package/tinymembench/0001-arm-fix-build-on-Thumb-only-architectures.patch similarity index 100% rename from buildroot-2021.05/package/tinymembench/0001-arm-fix-build-on-Thumb-only-architectures.patch rename to buildroot-2022.02.1/package/tinymembench/0001-arm-fix-build-on-Thumb-only-architectures.patch diff --git a/buildroot-2021.05/package/tinymembench/Config.in b/buildroot-2022.02.1/package/tinymembench/Config.in similarity index 100% rename from buildroot-2021.05/package/tinymembench/Config.in rename to buildroot-2022.02.1/package/tinymembench/Config.in diff --git a/buildroot-2021.05/package/tinymembench/tinymembench.hash b/buildroot-2022.02.1/package/tinymembench/tinymembench.hash similarity index 100% rename from buildroot-2021.05/package/tinymembench/tinymembench.hash rename to buildroot-2022.02.1/package/tinymembench/tinymembench.hash diff --git a/buildroot-2021.05/package/tinymembench/tinymembench.mk b/buildroot-2022.02.1/package/tinymembench/tinymembench.mk similarity index 100% rename from buildroot-2021.05/package/tinymembench/tinymembench.mk rename to buildroot-2022.02.1/package/tinymembench/tinymembench.mk diff --git a/buildroot-2021.05/package/tinyproxy/Config.in b/buildroot-2022.02.1/package/tinyproxy/Config.in similarity index 100% rename from buildroot-2021.05/package/tinyproxy/Config.in rename to buildroot-2022.02.1/package/tinyproxy/Config.in diff --git a/buildroot-2022.02.1/package/tinyproxy/tinyproxy.hash b/buildroot-2022.02.1/package/tinyproxy/tinyproxy.hash new file mode 100644 index 00000000..8c58b98c --- /dev/null +++ b/buildroot-2022.02.1/package/tinyproxy/tinyproxy.hash @@ -0,0 +1,4 @@ +# From https://github.com/tinyproxy/tinyproxy/releases/tag/1.11.0 +sha256 c1ec81cfc4c551d2c24e0227a5aeeaad8723bd9a39b61cd729e516b82eaa3f32 tinyproxy-1.11.0.tar.xz +# locally computed +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/package/tinyproxy/tinyproxy.mk b/buildroot-2022.02.1/package/tinyproxy/tinyproxy.mk new file mode 100644 index 00000000..3930e90d --- /dev/null +++ b/buildroot-2022.02.1/package/tinyproxy/tinyproxy.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# tinyproxy +# +################################################################################ + +TINYPROXY_VERSION = 1.11.0 +TINYPROXY_SITE = https://github.com/tinyproxy/tinyproxy/releases/download/$(TINYPROXY_VERSION) +TINYPROXY_SOURCE = tinyproxy-$(TINYPROXY_VERSION).tar.xz +TINYPROXY_LICENSE = GPL-2.0+ +TINYPROXY_LICENSE_FILES = COPYING +TINYPROXY_CPE_ID_VENDOR = tinyproxy_project + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tinyssh/Config.in b/buildroot-2022.02.1/package/tinyssh/Config.in similarity index 100% rename from buildroot-2021.05/package/tinyssh/Config.in rename to buildroot-2022.02.1/package/tinyssh/Config.in diff --git a/buildroot-2022.02.1/package/tinyssh/tinyssh.hash b/buildroot-2022.02.1/package/tinyssh/tinyssh.hash new file mode 100644 index 00000000..30b5d134 --- /dev/null +++ b/buildroot-2022.02.1/package/tinyssh/tinyssh.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 2a051437878998c7782d9d38ef13e5e7a76435ae6b9c3e9ec492c3a567bd6314 tinyssh-20210601.tar.gz +sha256 b5dc19477e29f4111e1c16cd89ec0782f5a07b1a30e3bdb7c155425b81b12c46 LICENCE diff --git a/buildroot-2022.02.1/package/tinyssh/tinyssh.mk b/buildroot-2022.02.1/package/tinyssh/tinyssh.mk new file mode 100644 index 00000000..05716bcf --- /dev/null +++ b/buildroot-2022.02.1/package/tinyssh/tinyssh.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# tinyssh +# +################################################################################ + +TINYSSH_VERSION = 20210601 +TINYSSH_SITE = $(call github,janmojzis,tinyssh,$(TINYSSH_VERSION)) +TINYSSH_LICENSE = Public Domain, CC0-1.0 +TINYSSH_LICENSE_FILES = LICENCE + +define TINYSSH_BUILD_CMDS + $(TARGET_MAKE_ENV) CC="$(TARGET_CC)" $(MAKE) -C $(@D) cross-compile +endef + +define TINYSSH_INSTALL_TARGET_CMDS + $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/tinyxml/0001-In-stamp-always-advance-the-pointer-if-p-0xef.patch b/buildroot-2022.02.1/package/tinyxml/0001-In-stamp-always-advance-the-pointer-if-p-0xef.patch new file mode 100644 index 00000000..ea0f6476 --- /dev/null +++ b/buildroot-2022.02.1/package/tinyxml/0001-In-stamp-always-advance-the-pointer-if-p-0xef.patch @@ -0,0 +1,37 @@ +From f7ca0035d17a663f55668e662b840afce7b86112 Mon Sep 17 00:00:00 2001 +From: Christian Voegl +Date: Wed, 27 Oct 2021 11:25:18 +0200 +Subject: [PATCH] In stamp always advance the pointer if *p= 0xef + +The current implementation only advanced if 0xef is followed +by two non-zero bytes. In case of malformed input (0xef should be +the start byte of a three byte character) this leads to an infinite +loop. (CVE-2021-42260) + +[Retrieved (and backported) from: +https://sourceforge.net/p/tinyxml/git/merge-requests/1] +Signed-off-by: Fabrice Fontaine +--- + tinyxmlparser.cpp | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/tinyxmlparser.cpp b/src/tinyxmlparser.cpp +index 81b7eae..8aa0dfa 100755 +--- a/src/tinyxmlparser.cpp ++++ b/src/tinyxmlparser.cpp +@@ -274,6 +274,12 @@ void TiXmlParsingData::Stamp( const char* now, TiXmlEncoding encoding ) + else + { p +=3; ++col; } // A normal character. + } ++ else ++ { ++ // TIXML_UTF_LEAD_0 (239) is the start character of a 3 byte sequence, so ++ // there is something wrong here. Just advance the pointer to evade infinite loops ++ ++p; ++ } + } + else + { +-- +2.34.1 + diff --git a/buildroot-2021.05/package/tinyxml/Config.in b/buildroot-2022.02.1/package/tinyxml/Config.in similarity index 100% rename from buildroot-2021.05/package/tinyxml/Config.in rename to buildroot-2022.02.1/package/tinyxml/Config.in diff --git a/buildroot-2021.05/package/tinyxml/tinyxml.hash b/buildroot-2022.02.1/package/tinyxml/tinyxml.hash similarity index 100% rename from buildroot-2021.05/package/tinyxml/tinyxml.hash rename to buildroot-2022.02.1/package/tinyxml/tinyxml.hash diff --git a/buildroot-2022.02.1/package/tinyxml/tinyxml.mk b/buildroot-2022.02.1/package/tinyxml/tinyxml.mk new file mode 100644 index 00000000..d173254e --- /dev/null +++ b/buildroot-2022.02.1/package/tinyxml/tinyxml.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# tinyxml +# +################################################################################ + +TINYXML_VERSION = 2.6.2_2 +TINYXML_SITE = http://mirrors.xbmc.org/build-deps/sources +# AUTORECONF is needed because the XBMC's version of TinyXML contains a +# configure.ac which is not present in mainline. +TINYXML_AUTORECONF = YES +TINYXML_INSTALL_STAGING = YES +TINYXML_LICENSE = Zlib +TINYXML_LICENSE_FILES = README +TINYXML_CPE_ID_VENDOT = tinyxml_project + +# 0001-In-stamp-always-advance-the-pointer-if-p-0xef.patch +TINYXML_IGNORE_CVES += CVE-2021-42260 + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tinyxml2/Config.in b/buildroot-2022.02.1/package/tinyxml2/Config.in similarity index 100% rename from buildroot-2021.05/package/tinyxml2/Config.in rename to buildroot-2022.02.1/package/tinyxml2/Config.in diff --git a/buildroot-2022.02.1/package/tinyxml2/tinyxml2.hash b/buildroot-2022.02.1/package/tinyxml2/tinyxml2.hash new file mode 100644 index 00000000..ff799bc2 --- /dev/null +++ b/buildroot-2022.02.1/package/tinyxml2/tinyxml2.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 cc2f1417c308b1f6acc54f88eb70771a0bf65f76282ce5c40e54cfe52952702c tinyxml2-9.0.0.tar.gz +sha256 9332252e9b9e46db8285d4a3f0bf25f139bf1dca6781b956d57f2302efca6432 LICENSE.txt diff --git a/buildroot-2022.02.1/package/tinyxml2/tinyxml2.mk b/buildroot-2022.02.1/package/tinyxml2/tinyxml2.mk new file mode 100644 index 00000000..0a857e57 --- /dev/null +++ b/buildroot-2022.02.1/package/tinyxml2/tinyxml2.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# tinyxml2 +# +################################################################################ + +TINYXML2_VERSION = 9.0.0 +TINYXML2_SITE = $(call github,leethomason,tinyxml2,$(TINYXML2_VERSION)) +TINYXML2_LICENSE = Zlib +TINYXML2_LICENSE_FILES = LICENSE.txt +TINYXML2_INSTALL_STAGING = YES +TINYXML2_CPE_ID_VENDOR = tinyxml2_project + +ifeq ($(BR2_STATIC_LIBS),y) +TINYXML2_CONF_OPTS += -DBUILD_STATIC_LIBS=ON +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/tio/Config.in b/buildroot-2022.02.1/package/tio/Config.in similarity index 100% rename from buildroot-2021.05/package/tio/Config.in rename to buildroot-2022.02.1/package/tio/Config.in diff --git a/buildroot-2021.05/package/tio/tio.hash b/buildroot-2022.02.1/package/tio/tio.hash similarity index 100% rename from buildroot-2021.05/package/tio/tio.hash rename to buildroot-2022.02.1/package/tio/tio.hash diff --git a/buildroot-2021.05/package/tio/tio.mk b/buildroot-2022.02.1/package/tio/tio.mk similarity index 100% rename from buildroot-2021.05/package/tio/tio.mk rename to buildroot-2022.02.1/package/tio/tio.mk diff --git a/buildroot-2021.05/package/tk/Config.in b/buildroot-2022.02.1/package/tk/Config.in similarity index 100% rename from buildroot-2021.05/package/tk/Config.in rename to buildroot-2022.02.1/package/tk/Config.in diff --git a/buildroot-2022.02.1/package/tk/tk.hash b/buildroot-2022.02.1/package/tk/tk.hash new file mode 100644 index 00000000..acf5e451 --- /dev/null +++ b/buildroot-2022.02.1/package/tk/tk.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 12395c1f3fcb6bed2938689f797ea3cdf41ed5cb6c4766eec8ac949560310630 tk8.6.12-src.tar.gz +sha256 2cde822b93ca16ae535c954b7dfe658b4ad10df2a193628d1b358f1765e8b198 license.terms diff --git a/buildroot-2022.02.1/package/tk/tk.mk b/buildroot-2022.02.1/package/tk/tk.mk new file mode 100644 index 00000000..830b241f --- /dev/null +++ b/buildroot-2022.02.1/package/tk/tk.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# tk +# +################################################################################ + +TK_VERSION_MAJOR = 8.6 +TK_VERSION = $(TK_VERSION_MAJOR).12 +TK_SOURCE = tk$(TK_VERSION)-src.tar.gz +TK_SITE = http://downloads.sourceforge.net/project/tcl/Tcl/$(TK_VERSION) +TK_LICENSE = TCL +TK_LICENSE_FILES = license.terms +TK_SUBDIR = unix +TK_INSTALL_STAGING = YES + +TK_DEPENDENCIES = tcl xlib_libX11 xlib_libXft + +# hopefully our strtod is not buggy +TK_CONF_ENV = tcl_cv_strtod_buggy=no + +TK_CONF_OPTS = --disable-rpath \ + --with-tcl=$(BUILD_DIR)/tcl-$(TCL_VERSION)/unix \ + --x-includes=$(STAGING_DIR)/usr/include \ + --x-libraries=$(STAGING_DIR)/usr/lib + +define TK_WISH_SYMLINK + ln -sf /usr/bin/wish$(TK_VERSION_MAJOR) $(TARGET_DIR)/usr/bin/wish +endef +TK_POST_INSTALL_TARGET_HOOKS += TK_WISH_SYMLINK + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tmux/Config.in b/buildroot-2022.02.1/package/tmux/Config.in similarity index 100% rename from buildroot-2021.05/package/tmux/Config.in rename to buildroot-2022.02.1/package/tmux/Config.in diff --git a/buildroot-2021.05/package/tmux/tmux.hash b/buildroot-2022.02.1/package/tmux/tmux.hash similarity index 100% rename from buildroot-2021.05/package/tmux/tmux.hash rename to buildroot-2022.02.1/package/tmux/tmux.hash diff --git a/buildroot-2021.05/package/tmux/tmux.mk b/buildroot-2022.02.1/package/tmux/tmux.mk similarity index 100% rename from buildroot-2021.05/package/tmux/tmux.mk rename to buildroot-2022.02.1/package/tmux/tmux.mk diff --git a/buildroot-2022.02.1/package/tor/0001-Fix-static-linking-with-OpenSSL.patch b/buildroot-2022.02.1/package/tor/0001-Fix-static-linking-with-OpenSSL.patch new file mode 100644 index 00000000..26ed6fe8 --- /dev/null +++ b/buildroot-2022.02.1/package/tor/0001-Fix-static-linking-with-OpenSSL.patch @@ -0,0 +1,94 @@ +From ba6b8ee5b6dee19493a150c3715b0e202440d206 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Thu, 24 Jan 2019 18:19:51 +0100 +Subject: [PATCH] Fix static linking with OpenSSL + +Adjust link order of libz to solve bug with static linking +and remove host paths when looking for openssl. + +[Vincent: + - Adapt the patch to make it apply on the new version.] +[Bernd: rebased for tor-0.2.7.6, 0.2.8.10, 0.2.9.9, 0.3.1.7, 0.3.2.10, + 0.3.4.8, 0.3.5.7, 0.4.4.5, 0.4.5.6 & 0.4.6.7] +[Fabrice: fix detection of openssl functions in 0.3.5.8] +Signed-off-by: Vicente Olivert Riera +Signed-off-by: Bernd Kuhls +Signed-off-by: Fabrice Fontaine +--- + configure.ac | 4 ++-- + src/test/include.am | 8 ++++---- + src/tools/include.am | 4 ++-- + 4 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 05e1392cf..580befa6b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1074,7 +1074,7 @@ AC_ARG_WITH(ssl-dir, + ]) + + AC_MSG_NOTICE([Now, we'll look for OpenSSL >= 1.0.1]) +-TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], ++TOR_SEARCH_LIBRARY(openssl, $tryssldir, [-lssl -lcrypto -lz $TOR_LIB_GDI $TOR_LIB_WS32 $TOR_LIB_CRYPT32], + [#include + char *getenv(const char *);], + [struct ssl_cipher_st; +@@ -1104,7 +1104,7 @@ dnl Now check for particular openssl functions. + save_LIBS="$LIBS" + save_LDFLAGS="$LDFLAGS" + save_CPPFLAGS="$CPPFLAGS" +-LIBS="$TOR_OPENSSL_LIBS $LIBS" ++LIBS="$TOR_OPENSSL_LIBS -lz $LIBS" + LDFLAGS="$TOR_LDFLAGS_openssl $LDFLAGS" + CPPFLAGS="$TOR_CPPFLAGS_openssl $CPPFLAGS" + +diff --git a/src/test/include.am b/src/test/include.am +index ecb768957..39a622e88 100644 +--- a/src/test/include.am ++++ b/src/test/include.am +@@ -399,8 +399,8 @@ src_test_test_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) + src_test_test_ntor_cl_LDADD = \ + libtor.a \ + $(rust_ldadd) \ +- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ +- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ ++ @TOR_LIB_MATH@ \ ++ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ \ + @CURVE25519_LIBS@ @TOR_LZMA_LIBS@ @TOR_TRACE_LIBS@ + src_test_test_ntor_cl_AM_CPPFLAGS = \ + $(AM_CPPFLAGS) +@@ -409,8 +409,8 @@ + src_test_test_hs_ntor_cl_LDFLAGS = @TOR_LDFLAGS_zlib@ $(TOR_LDFLAGS_CRYPTLIB) + src_test_test_hs_ntor_cl_LDADD = \ + libtor.a \ +- @TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ \ +- $(TOR_LIBS_CRYPTLIB) @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ ++ @TOR_LIB_MATH@ \ ++ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ \ + @CURVE25519_LIBS@ @TOR_TRACE_LIBS@ + src_test_test_hs_ntor_cl_AM_CPPFLAGS = \ + $(AM_CPPFLAGS) +diff --git a/src/tools/include.am b/src/tools/include.am +index f7aa7e0d1..4c4e8aa7a 100644 +--- a/src/tools/include.am ++++ b/src/tools/include.am +@@ -35,7 +35,7 @@ src_tools_tor_gencert_LDADD = \ + $(TOR_CRYPTO_LIBS) \ + $(TOR_UTIL_LIBS) \ + $(rust_ldadd) \ +- @TOR_LIB_MATH@ @TOR_ZLIB_LIBS@ $(TOR_LIBS_CRYPTLIB) \ ++ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ + @TOR_LIB_WS32@ @TOR_LIB_IPHLPAPI@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ @TOR_LIB_USERENV@ @CURVE25519_LIBS@ + endif + +@@ -45,7 +45,7 @@ src_tools_tor_print_ed_signing_cert_LDADD = \ + src/trunnel/libor-trunnel.a \ + $(TOR_CRYPTO_LIBS) \ + $(TOR_UTIL_LIBS) \ +- @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) \ ++ @TOR_LIB_MATH@ $(TOR_LIBS_CRYPTLIB) @TOR_ZLIB_LIBS@ \ + @TOR_LIB_WS32@ @TOR_LIB_USERENV@ @TOR_LIB_SHLWAPI@ @TOR_LIB_GDI@ + + if USE_NSS +-- +2.20.1 diff --git a/buildroot-2021.05/package/tor/Config.in b/buildroot-2022.02.1/package/tor/Config.in similarity index 100% rename from buildroot-2021.05/package/tor/Config.in rename to buildroot-2022.02.1/package/tor/Config.in diff --git a/buildroot-2022.02.1/package/tor/tor.hash b/buildroot-2022.02.1/package/tor/tor.hash new file mode 100644 index 00000000..16e01c80 --- /dev/null +++ b/buildroot-2022.02.1/package/tor/tor.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 94ccd60e04e558f33be73032bc84ea241660f92f58cfb88789bda6893739e31c tor-0.4.6.10.tar.gz +sha256 47b54ed17e8fdcab3c44729a1789a09b208f9a63a845a7e50def9df729eebad0 LICENSE diff --git a/buildroot-2022.02.1/package/tor/tor.mk b/buildroot-2022.02.1/package/tor/tor.mk new file mode 100644 index 00000000..d16b3541 --- /dev/null +++ b/buildroot-2022.02.1/package/tor/tor.mk @@ -0,0 +1,77 @@ +################################################################################ +# +# tor +# +################################################################################ + +TOR_VERSION = 0.4.6.10 +TOR_SITE = https://dist.torproject.org +TOR_LICENSE = BSD-3-Clause +TOR_LICENSE_FILES = LICENSE +TOR_CPE_ID_VENDOR = torproject +TOR_SELINUX_MODULES = tor +TOR_DEPENDENCIES = libevent openssl zlib +TOR_AUTORECONF = YES + +TOR_CONF_OPTS = \ + --disable-gcc-hardening \ + --disable-unittests \ + --with-libevent-dir=$(STAGING_DIR)/usr \ + --with-openssl-dir=$(STAGING_DIR)/usr \ + --with-zlib-dir=$(STAGING_DIR)/usr + +ifeq ($(BR2_STATIC_LIBS),y) +TOR_CONF_OPTS += \ + --enable-static-libevent \ + --enable-static-openssl \ + --enable-static-tor \ + --enable-static-zlib +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +TOR_DEPENDENCIES += libcap +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +TOR_CONF_OPTS += --enable-systemd +TOR_DEPENDENCIES += host-pkgconf systemd +else +TOR_CONF_OPTS += --disable-systemd +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +TOR_CONF_OPTS += --enable-lzma +TOR_DEPENDENCIES += host-pkgconf xz +else +TOR_CONF_OPTS += --disable-lzma +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +TOR_CONF_OPTS += --enable-zstd +TOR_DEPENDENCIES += host-pkgconf zstd +else +TOR_CONF_OPTS += --disable-zstd +endif + +ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy) +TOR_CONF_OPTS += --enable-seccomp +TOR_DEPENDENCIES += libseccomp +else +TOR_CONF_OPTS += --disable-seccomp +endif + +# uses gnu extensions +TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +TOR_CONF_ENV += LIBS=-latomic +endif + +define TOR_INSTALL_CONF + $(INSTALL) -D -m 644 $(@D)/src/config/torrc.minimal \ + $(TARGET_DIR)/etc/tor/torrc +endef + +TOR_POST_INSTALL_TARGET_HOOKS += TOR_INSTALL_CONF + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tovid/0001-manpage.patch b/buildroot-2022.02.1/package/tovid/0001-manpage.patch similarity index 100% rename from buildroot-2021.05/package/tovid/0001-manpage.patch rename to buildroot-2022.02.1/package/tovid/0001-manpage.patch diff --git a/buildroot-2022.02.1/package/tovid/Config.in b/buildroot-2022.02.1/package/tovid/Config.in new file mode 100644 index 00000000..3dbb0e22 --- /dev/null +++ b/buildroot-2022.02.1/package/tovid/Config.in @@ -0,0 +1,50 @@ +config BR2_PACKAGE_TOVID + bool "tovid" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_WCHAR + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # mpv + depends on BR2_TOOLCHAIN_HAS_ATOMIC # mpv + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # mpv + depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC # mpv + # The below dependencies are runtime dependencies only + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # procps_ng + select BR2_PACKAGE_DVDAUTHOR + select BR2_PACKAGE_DVDRW_TOOLS + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_IMAGEMAGICK + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_MJPEGTOOLS + select BR2_PACKAGE_MPV + select BR2_PACKAGE_PROCPS_NG # pgrep and pkill + select BR2_PACKAGE_SOX + help + The tovid suite, also known simply as tovid, is a collection + of shell and Python scripts for creating DVDs and + (S)VCDs. It is pronounced "to vid" (because it converts to + video disc formats). + + http://tovid.wikia.com/wiki/Installing_tovid + +comment "tovid needs a toolchain w/ threads, C++, wchar, gcc >= 4.9" + depends on BR2_USE_MMU + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \ + || !BR2_INSTALL_LIBSTDCPP \ + || !BR2_USE_WCHAR + depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC + +comment "tovid depends on python3" + depends on !BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_ATOMIC + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on !BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC diff --git a/buildroot-2021.05/package/tovid/tovid.hash b/buildroot-2022.02.1/package/tovid/tovid.hash similarity index 100% rename from buildroot-2021.05/package/tovid/tovid.hash rename to buildroot-2022.02.1/package/tovid/tovid.hash diff --git a/buildroot-2021.05/package/tovid/tovid.mk b/buildroot-2022.02.1/package/tovid/tovid.mk similarity index 100% rename from buildroot-2021.05/package/tovid/tovid.mk rename to buildroot-2022.02.1/package/tovid/tovid.mk diff --git a/buildroot-2022.02.1/package/tpm-tools/Config.in b/buildroot-2022.02.1/package/tpm-tools/Config.in new file mode 100644 index 00000000..3ce6391a --- /dev/null +++ b/buildroot-2022.02.1/package/tpm-tools/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_TPM_TOOLS + bool "tpm-tools" + depends on BR2_TOOLCHAIN_HAS_THREADS # trousers + depends on !BR2_STATIC_LIBS # trousers + select BR2_PACKAGE_TROUSERS + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + Tools to manage and diagnose a TPM + + http://trousers.sourceforge.net/ + +comment "tpm-tools needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/tpm-tools/tpm-tools.hash b/buildroot-2022.02.1/package/tpm-tools/tpm-tools.hash similarity index 100% rename from buildroot-2021.05/package/tpm-tools/tpm-tools.hash rename to buildroot-2022.02.1/package/tpm-tools/tpm-tools.hash diff --git a/buildroot-2021.05/package/tpm-tools/tpm-tools.mk b/buildroot-2022.02.1/package/tpm-tools/tpm-tools.mk similarity index 100% rename from buildroot-2021.05/package/tpm-tools/tpm-tools.mk rename to buildroot-2022.02.1/package/tpm-tools/tpm-tools.mk diff --git a/buildroot-2021.05/package/tpm2-abrmd/Config.in b/buildroot-2022.02.1/package/tpm2-abrmd/Config.in similarity index 100% rename from buildroot-2021.05/package/tpm2-abrmd/Config.in rename to buildroot-2022.02.1/package/tpm2-abrmd/Config.in diff --git a/buildroot-2021.05/package/tpm2-abrmd/S80tpm2-abrmd b/buildroot-2022.02.1/package/tpm2-abrmd/S80tpm2-abrmd similarity index 100% rename from buildroot-2021.05/package/tpm2-abrmd/S80tpm2-abrmd rename to buildroot-2022.02.1/package/tpm2-abrmd/S80tpm2-abrmd diff --git a/buildroot-2021.05/package/tpm2-abrmd/tpm2-abrmd.hash b/buildroot-2022.02.1/package/tpm2-abrmd/tpm2-abrmd.hash similarity index 100% rename from buildroot-2021.05/package/tpm2-abrmd/tpm2-abrmd.hash rename to buildroot-2022.02.1/package/tpm2-abrmd/tpm2-abrmd.hash diff --git a/buildroot-2022.02.1/package/tpm2-abrmd/tpm2-abrmd.mk b/buildroot-2022.02.1/package/tpm2-abrmd/tpm2-abrmd.mk new file mode 100644 index 00000000..8de23300 --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-abrmd/tpm2-abrmd.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# tpm2-abrmd +# +################################################################################ + +TPM2_ABRMD_VERSION = 2.3.3 +TPM2_ABRMD_SITE = https://github.com/tpm2-software/tpm2-abrmd/releases/download/$(TPM2_ABRMD_VERSION) +TPM2_ABRMD_LICENSE = BSD-2-Clause +TPM2_ABRMD_LICENSE_FILES = LICENSE +TPM2_ABRMD_SELINUX_MODULES = tpm2 +TPM2_ABRMD_INSTALL_STAGING = YES +TPM2_ABRMD_DEPENDENCIES = libglib2 tpm2-tss host-pkgconf +TPM2_ABRMD_CONF_OPTS = \ + --disable-defaultflags \ + --with-systemdsystemunitdir=$(if $(BR2_INIT_SYSTEMD),/usr/lib/systemd/system,no) \ + --with-udevrulesdir=$(if $(BR2_PACKAGE_HAS_UDEV),/usr/lib/udev/rules.d,no) + +# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used +TPM2_ABRMD_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99" + +define TPM2_ABRMD_INSTALL_INIT_SYSTEMD + $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) DESTDIR=$(TARGET_DIR) \ + install-systemdpresetDATA install-systemdsystemunitDATA +endef + +define TPM2_ABRMD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 $(TPM2_ABRMD_PKGDIR)/S80tpm2-abrmd \ + $(TARGET_DIR)/etc/init.d/S80tpm2-abrmd +endef + +define TPM2_ABRMD_USERS + tss -1 tss -1 * - - - TPM2 Access Broker & Resource Management daemon +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tpm2-pkcs11/Config.in b/buildroot-2022.02.1/package/tpm2-pkcs11/Config.in similarity index 100% rename from buildroot-2021.05/package/tpm2-pkcs11/Config.in rename to buildroot-2022.02.1/package/tpm2-pkcs11/Config.in diff --git a/buildroot-2022.02.1/package/tpm2-pkcs11/tpm2-pkcs11.hash b/buildroot-2022.02.1/package/tpm2-pkcs11/tpm2-pkcs11.hash new file mode 100644 index 00000000..1d5bcc7a --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-pkcs11/tpm2-pkcs11.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 078a445ed0e9f5009675a162b4b7b88f3520436cfbc791bb2249f37bd1f475bd tpm2-pkcs11-1.7.0.tar.gz +sha256 793aa007f793458434d7cc60b1c827053a399308658b32fcaa6023802adc22e1 LICENSE diff --git a/buildroot-2022.02.1/package/tpm2-pkcs11/tpm2-pkcs11.mk b/buildroot-2022.02.1/package/tpm2-pkcs11/tpm2-pkcs11.mk new file mode 100644 index 00000000..adb5a46f --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-pkcs11/tpm2-pkcs11.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# tpm2-pkcs11 +# +################################################################################ + +TPM2_PKCS11_VERSION = 1.7.0 +TPM2_PKCS11_SITE = https://github.com/tpm2-software/tpm2-pkcs11/releases/download/$(TPM2_PKCS11_VERSION) +TPM2_PKCS11_LICENSE = BSD-2-Clause +TPM2_PKCS11_LICENSE_FILES = LICENSE +TPM2_PKCS11_DEPENDENCIES = host-pkgconf libyaml openssl sqlite tpm2-tss + +TPM2_PKCS11_CONF_OPTS += \ + --disable-hardening + +# Fix tpm.c:746:5: error: 'for' loop initial declarations are only allowed in C99 mode +# Fix implicit declaration of function 'strnlen' +TPM2_PKCS11_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu99" + +# do not build man pages +TPM2_PKCS11_CONF_ENV += ac_cv_prog_PANDOC='' + +# tpm2-pkcs11 checks for tpm2-tools programs and errors out if not +# found, even though they are only used by the (unused in Buildroot) +# python-based tools +TPM2_PKCS11_CONF_ENV += \ + ac_cv_prog_tpm2_createprimary=yes \ + ac_cv_prog_tpm2_create=yes \ + ac_cv_prog_tpm2_evictcontrol=yes \ + ac_cv_prog_tpm2_readpublic=yes \ + ac_cv_prog_tpm2_load=yes \ + ac_cv_prog_tpm2_loadexternal=yes \ + ac_cv_prog_tpm2_unseal=yes \ + ac_cv_prog_tpm2_encryptdecrypt=yes \ + ac_cv_prog_tpm2_sign=yes \ + ac_cv_prog_tpm2_getcap=yes \ + ac_cv_prog_tpm2_import=yes \ + ac_cv_prog_tpm2_changeauth=yes + +ifeq ($(BR2_PACKAGE_P11_KIT),y) +TPM2_PKCS11_DEPENDENCIES += p11-kit +TPM2_PKCS11_CONF_OPTS += \ + --with-p11kitconfigdir=/usr/share/p11-kit/modules +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/tpm2-tools/Config.in b/buildroot-2022.02.1/package/tpm2-tools/Config.in new file mode 100644 index 00000000..1a669857 --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-tools/Config.in @@ -0,0 +1,26 @@ +config BR2_PACKAGE_TPM2_TOOLS + bool "tpm2-tools" + depends on !BR2_STATIC_LIBS # tpm2-tss + depends on BR2_USE_WCHAR + # c16rtomb() not implemented in uClibc + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_TPM2_TSS + help + TPM (Trusted Platform Module) 2.0 CLI tools based on system + API of TPM2-TSS. These tools can be used to manage keys, + perform encryption/decryption/signing/etc crypto operations, + and manage non-volatile storage through a TPM2.0 HW + implementation. + + Notice: An in-kernel resource manager is provided by the + Linux kernel since 4.12. Depending on use cases and kernel + version, the user space resource manager provided by + tpm2-abrmd may be needed. + + https://github.com/tpm2-software/tpm2-tools + +comment "tpm2-tools needs a glibc or musl toolchain w/ dynamic library, wchar" + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || \ + !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) diff --git a/buildroot-2022.02.1/package/tpm2-tools/tpm2-tools.hash b/buildroot-2022.02.1/package/tpm2-tools/tpm2-tools.hash new file mode 100644 index 00000000..f50a8963 --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-tools/tpm2-tools.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 c0b402f6a7b3456e8eb2445211e2d41c46c7e769e05fe4d8909ff64119f7a630 tpm2-tools-5.2.tar.gz +sha256 f6995d52c8b8e4d2c3bace7fc9c330a77a90d808166fbad4d7ead7e8ba2fc66c doc/LICENSE diff --git a/buildroot-2022.02.1/package/tpm2-tools/tpm2-tools.mk b/buildroot-2022.02.1/package/tpm2-tools/tpm2-tools.mk new file mode 100644 index 00000000..86753448 --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-tools/tpm2-tools.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# tpm2-tools +# +################################################################################ + +TPM2_TOOLS_VERSION = 5.2 +TPM2_TOOLS_SITE = https://github.com/tpm2-software/tpm2-tools/releases/download/$(TPM2_TOOLS_VERSION) +TPM2_TOOLS_LICENSE = BSD-3-Clause +TPM2_TOOLS_LICENSE_FILES = doc/LICENSE +TPM2_TOOLS_CPE_ID_VENDOR = tpm2-tools_project +TPM2_TOOLS_SELINUX_MODULES = tpm2 +TPM2_TOOLS_DEPENDENCIES = libcurl openssl tpm2-tss host-pkgconf + +# -fstack-protector-all and FORTIFY_SOURCE=2 is used by +# default. Disable that so the BR2_SSP_* / BR2_FORTIFY_SOURCE_* options +# in the toolchain wrapper and CFLAGS are used instead +TPM2_TOOLS_CONF_OPTS = --disable-hardening + +# do not build man pages +TPM2_TOOLS_CONF_ENV += ac_cv_prog_PANDOC='' + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tpm2-totp/Config.in b/buildroot-2022.02.1/package/tpm2-totp/Config.in similarity index 100% rename from buildroot-2021.05/package/tpm2-totp/Config.in rename to buildroot-2022.02.1/package/tpm2-totp/Config.in diff --git a/buildroot-2021.05/package/tpm2-totp/tpm2-totp.hash b/buildroot-2022.02.1/package/tpm2-totp/tpm2-totp.hash similarity index 100% rename from buildroot-2021.05/package/tpm2-totp/tpm2-totp.hash rename to buildroot-2022.02.1/package/tpm2-totp/tpm2-totp.hash diff --git a/buildroot-2022.02.1/package/tpm2-totp/tpm2-totp.mk b/buildroot-2022.02.1/package/tpm2-totp/tpm2-totp.mk new file mode 100644 index 00000000..42607c0b --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-totp/tpm2-totp.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# tpm2-totp +# +################################################################################ + +TPM2_TOTP_VERSION = 0.2.1 +TPM2_TOTP_SITE = https://github.com/tpm2-software/tpm2-totp/releases/download/v$(TPM2_TOTP_VERSION) +TPM2_TOTP_LICENSE = BSD-3-Clause +TPM2_TOTP_LICENSE_FILES = LICENSE +TPM2_TOTP_SELINUX_MODULES = tpm2 +TPM2_TOTP_DEPENDENCIES = libqrencode tpm2-tss host-pkgconf +TPM2_TOTP_CONF_OPTS = \ + --disable-defaultflags \ + --disable-doxygen-doc \ + --disable-plymouth \ + --without-initramfstoolsdir \ + --without-mkinitcpiodir + +# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used +TPM2_TOTP_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99" + +# do not build man pages +TPM2_TOTP_CONF_ENV += ac_cv_path_PANDOC='' + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/tpm2-tss/0001-Temporary-fix-for-build-without-C.patch b/buildroot-2022.02.1/package/tpm2-tss/0001-Temporary-fix-for-build-without-C.patch similarity index 100% rename from buildroot-2021.05/package/tpm2-tss/0001-Temporary-fix-for-build-without-C.patch rename to buildroot-2022.02.1/package/tpm2-tss/0001-Temporary-fix-for-build-without-C.patch diff --git a/buildroot-2022.02.1/package/tpm2-tss/Config.in b/buildroot-2022.02.1/package/tpm2-tss/Config.in new file mode 100644 index 00000000..857987ae --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-tss/Config.in @@ -0,0 +1,57 @@ +config BR2_PACKAGE_TPM2_TSS + bool "tpm2-tss" + depends on !BR2_STATIC_LIBS # dlfcn.h + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + help + OSS implementation of the Trusted Computing Group's (TCG) TPM2 + Software Stack (TSS). This stack consists of the following + layers from top to bottom: + + * System API (SAPI) as described in the system level API and + TPM command transmission interface specification. This API + is a 1-to-1 mapping of the TPM2 commands documented in Part + 3 of the TPM2 specification. Additionally there are + asynchronous versions of each command. These asynchronous + variants may be useful for integration into event-driven + programming environments. Both the synchronous and + asynchronous API are exposed through a single library: + libtss2-sys. + + * TPM Command Transmission Interface (TCTI) that is described + in the same specification. This API provides a standard + interface to transmit / receive TPM command / response + buffers. It is expected that any number of libraries + implementing the TCTI API will be implemented as a way to + abstract various platform specific IPC mechanisms. Currently + this repository provides two TCTI implementations: + libtss2-tcti-device and libtss2-tcti-mssim. The prior should + be used for direct access to the TPM through the Linux + kernel driver. The later implements the protocol exposed by + the Microsoft software TPM2 simulator. + + https://github.com/tpm2-software/tpm2-tss + +if BR2_PACKAGE_TPM2_TSS + +config BR2_PACKAGE_TPM2_TSS_FAPI + bool "fapi support" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c + select BR2_PACKAGE_JSON_C + select BR2_PACKAGE_LIBCURL + help + This option allows to enable Feature API (FAPI). Feature + API (FAPI) as described in the "TSS 2.0 Feature API + Specification" along with "TSS 2.0 JSON Data Types and + Policy Language Specification" This API is designed to be + very high-level API, intended to make programming with the + TPM as simple as possible. The API functions are exposed + through a single library: libtss2-fapi. + + https://trustedcomputinggroup.org/wp-content/uploads/TSS_FAPI_v0.94_r04_pubrev.pdf + https://trustedcomputinggroup.org/wp-content/uploads/TSS_JSON_Policy_v0.7_r04_pubrev.pdf + +endif + +comment "tpm2-tss needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/tpm2-tss/tpm2-tss.hash b/buildroot-2022.02.1/package/tpm2-tss/tpm2-tss.hash new file mode 100644 index 00000000..b6eb3c1f --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-tss/tpm2-tss.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 8900a6603f74310b749b65f23c3461cde6e2a23a5f61058b21004c25f9cf19e8 tpm2-tss-3.1.0.tar.gz +sha256 18c1bf4b1ba1fb2c4ffa7398c234d83c0d55475298e470ae1e5e3a8a8bd2e448 LICENSE diff --git a/buildroot-2022.02.1/package/tpm2-tss/tpm2-tss.mk b/buildroot-2022.02.1/package/tpm2-tss/tpm2-tss.mk new file mode 100644 index 00000000..060883c3 --- /dev/null +++ b/buildroot-2022.02.1/package/tpm2-tss/tpm2-tss.mk @@ -0,0 +1,44 @@ +################################################################################ +# +# tpm2-tss +# +################################################################################ + +TPM2_TSS_VERSION = 3.1.0 +TPM2_TSS_SITE = https://github.com/tpm2-software/tpm2-tss/releases/download/$(TPM2_TSS_VERSION) +TPM2_TSS_LICENSE = BSD-2-Clause +TPM2_TSS_LICENSE_FILES = LICENSE +TPM2_TSS_CPE_ID_VENDOR = tpm2_software_stack_project +TPM2_TSS_CPE_ID_PRODUCT = tpm2_software_stack +TPM2_TSS_INSTALL_STAGING = YES +TPM2_TSS_DEPENDENCIES = openssl host-pkgconf + +# 0001-configure-Only-use-CXX-when-fuzzing.patch +TPM2_TSS_AUTORECONF = YES + +# systemd-sysusers and systemd-tmpfiles are only used at install time +# to trigger the creation of users adn tmpfiles, which we do not care +# about at build time. groupadd, useradd, and setfacl are used in the +# fallback path when systemd-sysusers or systemd-tmpfiles are missing +# and their failure is ignored anyway. +TPM2_TSS_CONF_OPTS = \ + ac_cv_prog_result_groupadd=yes \ + ac_cv_prog_result_setfacl=yes \ + ac_cv_prog_systemd_sysusers=no \ + ac_cv_prog_systemd_tmpfiles=no \ + ac_cv_prog_result_useradd=yes \ + --with-crypto=ossl \ + --disable-doxygen-doc \ + --disable-defaultflags + +# uses C99 code but forgets to pass -std=c99 when --disable-defaultflags is used +TPM2_TSS_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=c99" + +ifeq ($(BR2_PACKAGE_TPM2_TSS_FAPI),y) +TPM2_TSS_DEPENDENCIES += json-c libcurl +TPM2_TSS_CONF_OPTS += --enable-fapi +else +TPM2_TSS_CONF_OPTS += --disable-fapi +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/trace-cmd/Config.in b/buildroot-2022.02.1/package/trace-cmd/Config.in new file mode 100644 index 00000000..2d0accd7 --- /dev/null +++ b/buildroot-2022.02.1/package/trace-cmd/Config.in @@ -0,0 +1,19 @@ +config BR2_PACKAGE_TRACE_CMD + bool "trace-cmd" + # pthread_setaffinity_np + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS # dlopen() + help + Command line reader for ftrace. + + To use this profiling tool, you should enable ftrace in your + kernel configuration. This command collect traces on your + target. You can analyse these traces on the target or on + the host via the gui "kernel shark" + + http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git + +comment "trace-cmd needs a toolchain w/ NPTL, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/trace-cmd/trace-cmd.hash b/buildroot-2022.02.1/package/trace-cmd/trace-cmd.hash new file mode 100644 index 00000000..00cecc78 --- /dev/null +++ b/buildroot-2022.02.1/package/trace-cmd/trace-cmd.hash @@ -0,0 +1,6 @@ +# Locally computed +sha256 45924a763376a700221f64b4034f87263e4038ec88b120a0abfb5743d051d068 trace-cmd-v2.9.6.tar.gz +sha256 b1d04b850c1c7471b0f0896f6c6f0fcfc9f07e2dd183a5f5826af269fe9e88fb COPYING +sha256 70f297763149e72306919c924e164f83041d5e512868d4c8c1826c171b3e49f9 COPYING.LIB +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1 diff --git a/buildroot-2022.02.1/package/trace-cmd/trace-cmd.mk b/buildroot-2022.02.1/package/trace-cmd/trace-cmd.mk new file mode 100644 index 00000000..fe0cd71e --- /dev/null +++ b/buildroot-2022.02.1/package/trace-cmd/trace-cmd.mk @@ -0,0 +1,57 @@ +################################################################################ +# +# trace-cmd +# +################################################################################ + +TRACE_CMD_VERSION = 2.9.6 +TRACE_CMD_SOURCE = trace-cmd-v$(TRACE_CMD_VERSION).tar.gz +TRACE_CMD_SITE = \ + https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot +TRACE_CMD_LICENSE = GPL-2.0, LGPL-2.1 +TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +TRACE_CMD_DEPENDENCIES = host-pkgconf +TRACE_CMD_MAKE_OPTS = prefix=/usr etcdir=/etc + +ifeq ($(BR2_PACKAGE_AUDIT),y) +TRACE_CMD_DEPENDENCIES += audit +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +TRACE_CMD_DEPENDENCIES += python3 host-swig +TRACE_CMD_MAKE_OPTS += PYTHON_VERS=python3 +else +TRACE_CMD_MAKE_OPTS += NO_PYTHON=1 +endif + +# trace-cmd already defines _LARGEFILE64_SOURCE when necessary, +# redefining it on the command line causes build problems. +TRACE_CMD_CFLAGS = $(filter-out -D_LARGEFILE64_SOURCE,$(TARGET_CFLAGS)) + +# Sparc64 needs -fPIC +ifeq ($(BR2_sparc64),y) +TRACE_CMD_CFLAGS += -fPIC +endif + +# trace-cmd use CPPFLAGS to add some extra flags. +# But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE +# that causes build problems. +TRACE_CMD_CPPFLAGS = $(filter-out -D_LARGEFILE64_SOURCE,$(TARGET_CPPFLAGS)) + +define TRACE_CMD_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TRACE_CMD_CFLAGS)" \ + CPPFLAGS="$(TRACE_CMD_CPPFLAGS)" \ + $(MAKE) $(TRACE_CMD_MAKE_OPTS) -C $(@D) +endef + +define TRACE_CMD_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TRACE_CMD_CFLAGS)" \ + CPPFLAGS="$(TRACE_CMD_CPPFLAGS)" \ + DESTDIR=$(TARGET_DIR) \ + $(MAKE) $(TRACE_CMD_MAKE_OPTS) -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/traceroute/Config.in b/buildroot-2022.02.1/package/traceroute/Config.in similarity index 100% rename from buildroot-2021.05/package/traceroute/Config.in rename to buildroot-2022.02.1/package/traceroute/Config.in diff --git a/buildroot-2021.05/package/traceroute/traceroute.hash b/buildroot-2022.02.1/package/traceroute/traceroute.hash similarity index 100% rename from buildroot-2021.05/package/traceroute/traceroute.hash rename to buildroot-2022.02.1/package/traceroute/traceroute.hash diff --git a/buildroot-2021.05/package/traceroute/traceroute.mk b/buildroot-2022.02.1/package/traceroute/traceroute.mk similarity index 100% rename from buildroot-2021.05/package/traceroute/traceroute.mk rename to buildroot-2022.02.1/package/traceroute/traceroute.mk diff --git a/buildroot-2021.05/package/transmission/0001-fix-utypes.patch b/buildroot-2022.02.1/package/transmission/0001-fix-utypes.patch similarity index 100% rename from buildroot-2021.05/package/transmission/0001-fix-utypes.patch rename to buildroot-2022.02.1/package/transmission/0001-fix-utypes.patch diff --git a/buildroot-2021.05/package/transmission/0002-fix-utp-include.patch b/buildroot-2022.02.1/package/transmission/0002-fix-utp-include.patch similarity index 100% rename from buildroot-2021.05/package/transmission/0002-fix-utp-include.patch rename to buildroot-2022.02.1/package/transmission/0002-fix-utp-include.patch diff --git a/buildroot-2022.02.1/package/transmission/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch b/buildroot-2022.02.1/package/transmission/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch new file mode 100644 index 00000000..bfb0084b --- /dev/null +++ b/buildroot-2022.02.1/package/transmission/0003-configure.ac-fix-autoreconf-with-autoconf-2.70.patch @@ -0,0 +1,42 @@ +From 857ac91a03a096601f62b358fc61355d4cc25b9b Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 9 Oct 2021 18:51:13 +0200 +Subject: [PATCH] configure.ac: fix autoreconf with autoconf >= 2.70 + +Remove the whitespace before IT_PROG_INTLTOOL as suggested in +https://www.mail-archive.com/bug-autoconf@gnu.org/msg04851.html +to avoid the following build failure with autoconf >= 2.70: + +ERROR: 'IT_PROG_INTLTOOL' must appear in configure.ac for intltool to work. + +The problem has been introduced by upstream autoconf commit +http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=b3b3af821a0b9e82ebe56b77b1731d2fe58f52de + +Fixes: + - http://autobuild.buildroot.org/results/e8bea26f6b12adf16335b24836a7c5c31911af6a + +Signed-off-by: Fabrice Fontaine +[Upstream status: not upstreamable as upstream swicthed to cmake ( +https://github.com/transmission/transmission/issues/1573)] +--- + configure.ac | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index fd1132fda..04e0e19bb 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -555,9 +555,7 @@ dnl it should be safe to re-edit 0.40 back down to 0.23 + use_nls=no + if test "x$enable_nls" = "xyes" ; then + use_nls=yes +- m4_ifdef([IT_PROG_INTLTOOL], +- [IT_PROG_INTLTOOL([0.35.0],[no-xml])], +- [AC_MSG_ERROR("--enable-nls requires intltool to be installed.")]) ++IT_PROG_INTLTOOL([0.35.0],[no-xml]) + AC_CHECK_HEADERS([libintl.h]) + GETTEXT_PACKAGE=transmission-gtk + AC_SUBST(GETTEXT_PACKAGE) +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/transmission/Config.in b/buildroot-2022.02.1/package/transmission/Config.in new file mode 100644 index 00000000..980b042e --- /dev/null +++ b/buildroot-2022.02.1/package/transmission/Config.in @@ -0,0 +1,48 @@ +config BR2_PACKAGE_TRANSMISSION + bool "transmission" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBCURL + select BR2_PACKAGE_LIBEVENT + help + Transmission is a cross-platform BitTorrent client. + + http://www.transmissionbt.com/ + +if BR2_PACKAGE_TRANSMISSION + +config BR2_PACKAGE_TRANSMISSION_UTP + bool "Transmission uTP support" + depends on BR2_INSTALL_LIBSTDCPP + help + Install support for uTorrent Transport Protocol + +comment "uTP needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_TRANSMISSION_CLI + bool "transmission-cli" + help + Install transmission command line interface. + +config BR2_PACKAGE_TRANSMISSION_DAEMON + bool "transmission-daemon" + help + Install transmission daemon. + +config BR2_PACKAGE_TRANSMISSION_GTK + bool "transmission-gtk" + depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS + help + Install transmission GTK-based GUI interface. + +comment "transmission-gtk needs NLS enabled" + depends on BR2_PACKAGE_LIBGTK3 && !BR2_SYSTEM_ENABLE_NLS +endif + +comment "transmission needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2021.05/package/transmission/S92transmission b/buildroot-2022.02.1/package/transmission/S92transmission similarity index 100% rename from buildroot-2021.05/package/transmission/S92transmission rename to buildroot-2022.02.1/package/transmission/S92transmission diff --git a/buildroot-2021.05/package/transmission/transmission.hash b/buildroot-2022.02.1/package/transmission/transmission.hash similarity index 100% rename from buildroot-2021.05/package/transmission/transmission.hash rename to buildroot-2022.02.1/package/transmission/transmission.hash diff --git a/buildroot-2021.05/package/transmission/transmission.mk b/buildroot-2022.02.1/package/transmission/transmission.mk similarity index 100% rename from buildroot-2021.05/package/transmission/transmission.mk rename to buildroot-2022.02.1/package/transmission/transmission.mk diff --git a/buildroot-2021.05/package/tree/Config.in b/buildroot-2022.02.1/package/tree/Config.in similarity index 100% rename from buildroot-2021.05/package/tree/Config.in rename to buildroot-2022.02.1/package/tree/Config.in diff --git a/buildroot-2021.05/package/tree/tree.hash b/buildroot-2022.02.1/package/tree/tree.hash similarity index 100% rename from buildroot-2021.05/package/tree/tree.hash rename to buildroot-2022.02.1/package/tree/tree.hash diff --git a/buildroot-2021.05/package/tree/tree.mk b/buildroot-2022.02.1/package/tree/tree.mk similarity index 100% rename from buildroot-2021.05/package/tree/tree.mk rename to buildroot-2022.02.1/package/tree/tree.mk diff --git a/buildroot-2021.05/package/tremor/Config.in b/buildroot-2022.02.1/package/tremor/Config.in similarity index 100% rename from buildroot-2021.05/package/tremor/Config.in rename to buildroot-2022.02.1/package/tremor/Config.in diff --git a/buildroot-2021.05/package/tremor/tremor.hash b/buildroot-2022.02.1/package/tremor/tremor.hash similarity index 100% rename from buildroot-2021.05/package/tremor/tremor.hash rename to buildroot-2022.02.1/package/tremor/tremor.hash diff --git a/buildroot-2021.05/package/tremor/tremor.mk b/buildroot-2022.02.1/package/tremor/tremor.mk similarity index 100% rename from buildroot-2021.05/package/tremor/tremor.mk rename to buildroot-2022.02.1/package/tremor/tremor.mk diff --git a/buildroot-2021.05/package/triggerhappy/Config.in b/buildroot-2022.02.1/package/triggerhappy/Config.in similarity index 100% rename from buildroot-2021.05/package/triggerhappy/Config.in rename to buildroot-2022.02.1/package/triggerhappy/Config.in diff --git a/buildroot-2021.05/package/triggerhappy/S10triggerhappy b/buildroot-2022.02.1/package/triggerhappy/S10triggerhappy similarity index 100% rename from buildroot-2021.05/package/triggerhappy/S10triggerhappy rename to buildroot-2022.02.1/package/triggerhappy/S10triggerhappy diff --git a/buildroot-2022.02.1/package/triggerhappy/triggerhappy.hash b/buildroot-2022.02.1/package/triggerhappy/triggerhappy.hash new file mode 100644 index 00000000..0bb53f94 --- /dev/null +++ b/buildroot-2022.02.1/package/triggerhappy/triggerhappy.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 af0fc196202f2d35153be401769a9ad9107b5b6387146cfa8895ae9cafad631c triggerhappy-0.5.0.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/triggerhappy/triggerhappy.mk b/buildroot-2022.02.1/package/triggerhappy/triggerhappy.mk new file mode 100644 index 00000000..bb30e7ce --- /dev/null +++ b/buildroot-2022.02.1/package/triggerhappy/triggerhappy.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# triggerhappy +# +################################################################################ + +TRIGGERHAPPY_VERSION = 0.5.0 +TRIGGERHAPPY_SITE = \ + $(call github,wertarbyte,triggerhappy,release/$(TRIGGERHAPPY_VERSION)) +TRIGGERHAPPY_LICENSE = GPL-3.0+ +TRIGGERHAPPY_LICENSE_FILES = COPYING +TRIGGERHAPPY_DEPENDENCIES = host-pkgconf + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +TRIGGERHAPPY_DEPENDENCIES += systemd +endif + +define TRIGGERHAPPY_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) PKGCONFIG="$(PKG_CONFIG_HOST_BINARY)" \ + -C $(@D) thd th-cmd +endef + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +define TRIGGERHAPPY_INSTALL_UDEV_RULE + $(INSTALL) -D -m 0644 $(@D)/udev/triggerhappy-udev.rules \ + $(TARGET_DIR)/lib/udev/rules.d/triggerhappy.rules +endef +endif + +define TRIGGERHAPPY_INSTALL_TARGET_CMDS + $(INSTALL) -d $(TARGET_DIR)/etc/triggerhappy/triggers.d + $(INSTALL) -D -m 0755 $(@D)/thd $(TARGET_DIR)/usr/sbin/thd + $(INSTALL) -D -m 0755 $(@D)/th-cmd $(TARGET_DIR)/usr/sbin/th-cmd + $(TRIGGERHAPPY_INSTALL_UDEV_RULE) +endef + +define TRIGGERHAPPY_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/triggerhappy/S10triggerhappy \ + $(TARGET_DIR)/etc/init.d/S10triggerhappy +endef + +define TRIGGERHAPPY_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 package/triggerhappy/triggerhappy.service \ + $(TARGET_DIR)/usr/lib/systemd/system/triggerhappy.service +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/triggerhappy/triggerhappy.service b/buildroot-2022.02.1/package/triggerhappy/triggerhappy.service similarity index 100% rename from buildroot-2021.05/package/triggerhappy/triggerhappy.service rename to buildroot-2022.02.1/package/triggerhappy/triggerhappy.service diff --git a/buildroot-2021.05/package/trinity/0001-Fix-build-with-GCC-10.patch b/buildroot-2022.02.1/package/trinity/0001-Fix-build-with-GCC-10.patch similarity index 100% rename from buildroot-2021.05/package/trinity/0001-Fix-build-with-GCC-10.patch rename to buildroot-2022.02.1/package/trinity/0001-Fix-build-with-GCC-10.patch diff --git a/buildroot-2022.02.1/package/trinity/0002-net-proto-ip-raw.c-fix-build-with-kernel-5.13.patch b/buildroot-2022.02.1/package/trinity/0002-net-proto-ip-raw.c-fix-build-with-kernel-5.13.patch new file mode 100644 index 00000000..4c747f41 --- /dev/null +++ b/buildroot-2022.02.1/package/trinity/0002-net-proto-ip-raw.c-fix-build-with-kernel-5.13.patch @@ -0,0 +1,37 @@ +From da65f0aa2bfcb4a2d9a77abfaa2955c6be3d37c9 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 17 Jul 2021 08:02:31 +0200 +Subject: [PATCH] net/proto-ip-raw.c: fix build with kernel >= 5.13 + +Fix the following build failure with kernel >= 5.13: + +In file included from /home/buildroot/autobuild/instance-2/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/linux/icmp.h:23, + from net/proto-ip-raw.c:1: +/home/buildroot/autobuild/instance-2/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/netinet/in.h:33:5: error: redeclaration of enumerator 'IPPROTO_IP' + 33 | IPPROTO_IP = 0, /* Dummy protocol for TCP. */ + | ^~~~~~~~~~ +/home/buildroot/autobuild/instance-2/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/linux/in.h:29:3: note: previous definition of 'IPPROTO_IP' was here + 29 | IPPROTO_IP = 0, /* Dummy protocol for TCP */ + | ^~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/c58119baed8d7711da799e34a5ee1117f46b96f4 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/kernelslacker/trinity/pull/35] +--- + net/proto-ip-raw.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/net/proto-ip-raw.c b/net/proto-ip-raw.c +index 95f2cb13..b407bb68 100644 +--- a/net/proto-ip-raw.c ++++ b/net/proto-ip-raw.c +@@ -1,3 +1,4 @@ ++#include + #include + #include "net.h" + #include "trinity.h" +-- +2.30.2 + diff --git a/buildroot-2021.05/package/trinity/Config.in b/buildroot-2022.02.1/package/trinity/Config.in similarity index 100% rename from buildroot-2021.05/package/trinity/Config.in rename to buildroot-2022.02.1/package/trinity/Config.in diff --git a/buildroot-2021.05/package/trinity/trinity.hash b/buildroot-2022.02.1/package/trinity/trinity.hash similarity index 100% rename from buildroot-2021.05/package/trinity/trinity.hash rename to buildroot-2022.02.1/package/trinity/trinity.hash diff --git a/buildroot-2022.02.1/package/trinity/trinity.mk b/buildroot-2022.02.1/package/trinity/trinity.mk new file mode 100644 index 00000000..4dca50c0 --- /dev/null +++ b/buildroot-2022.02.1/package/trinity/trinity.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# trinity +# +################################################################################ + +TRINITY_VERSION = 1.9 +TRINITY_SITE = http://codemonkey.org.uk/projects/trinity +TRINITY_SOURCE = trinity-$(TRINITY_VERSION).tar.xz +TRINITY_LICENSE = GPL-2.0 +TRINITY_LICENSE_FILES = COPYING +TRINITY_CPE_ID_VENDOR = trinity_project + +TRINITY_LDFLAGS = $(TARGET_LDFLAGS) + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +TRINITY_DEPENDENCIES += libexecinfo +TRINITY_LDFLAGS += -lexecinfo +endif + +define TRINITY_CONFIGURE_CMDS + (cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure) +endef + +define TRINITY_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) LDFLAGS="$(TRINITY_LDFLAGS)" +endef + +define TRINITY_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + LDFLAGS="$(TRINITY_LDFLAGS)" DESTDIR=$(TARGET_DIR)/usr install +endef + +# Install helper scripts +define TRINITY_INSTALL_HELPER_SCRIPTS + mkdir -p $(TARGET_DIR)/usr/libexec/trinity + cp -p $(@D)/scripts/* $(TARGET_DIR)/usr/libexec/trinity/ +endef +TRINITY_POST_INSTALL_TARGET_HOOKS += TRINITY_INSTALL_HELPER_SCRIPTS + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/trousers/0001-Check-if-the-compiler-understands-pie-and-relro-options.patch b/buildroot-2022.02.1/package/trousers/0001-Check-if-the-compiler-understands-pie-and-relro-options.patch similarity index 100% rename from buildroot-2021.05/package/trousers/0001-Check-if-the-compiler-understands-pie-and-relro-options.patch rename to buildroot-2022.02.1/package/trousers/0001-Check-if-the-compiler-understands-pie-and-relro-options.patch diff --git a/buildroot-2021.05/package/trousers/0002-Check-that-getpwent_r-is-available-before-using-it.patch b/buildroot-2022.02.1/package/trousers/0002-Check-that-getpwent_r-is-available-before-using-it.patch similarity index 100% rename from buildroot-2021.05/package/trousers/0002-Check-that-getpwent_r-is-available-before-using-it.patch rename to buildroot-2022.02.1/package/trousers/0002-Check-that-getpwent_r-is-available-before-using-it.patch diff --git a/buildroot-2022.02.1/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch b/buildroot-2022.02.1/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch new file mode 100644 index 00000000..65da979f --- /dev/null +++ b/buildroot-2022.02.1/package/trousers/0003-Fix-build-with-LibreSSL-2-7.patch @@ -0,0 +1,24 @@ +Fix build with LibreSSL 2.7 + +LibreSSL 2.7 implemented OpenSSL 1.1 API + +See also: https://reviews.freebsd.org/D14849#change-KhYbRXBMIBod + +Cheers, +Bernard Spil (brnrd@FreeBSD.org) + +[Retrieved (and backported) from: +https://sourceforge.net/p/trousers/bugs/234] +Signed-off-by: Fabrice Fontaine + +--- ./src/trspi/crypto/openssl/rsa.c.orig 2016-11-23 12:26:19 UTC ++++ ./src/trspi/crypto/openssl/rsa.c +@@ -38,7 +38,7 @@ + #define DEBUG_print_openssl_errors() + #endif + +-#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER) ++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) + static int + RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d) + { diff --git a/buildroot-2021.05/package/trousers/Config.in b/buildroot-2022.02.1/package/trousers/Config.in similarity index 100% rename from buildroot-2021.05/package/trousers/Config.in rename to buildroot-2022.02.1/package/trousers/Config.in diff --git a/buildroot-2021.05/package/trousers/trousers.hash b/buildroot-2022.02.1/package/trousers/trousers.hash similarity index 100% rename from buildroot-2021.05/package/trousers/trousers.hash rename to buildroot-2022.02.1/package/trousers/trousers.hash diff --git a/buildroot-2021.05/package/trousers/trousers.mk b/buildroot-2022.02.1/package/trousers/trousers.mk similarity index 100% rename from buildroot-2021.05/package/trousers/trousers.mk rename to buildroot-2022.02.1/package/trousers/trousers.mk diff --git a/buildroot-2022.02.1/package/ts4900-fpga/Config.in b/buildroot-2022.02.1/package/ts4900-fpga/Config.in new file mode 100644 index 00000000..9f704fbc --- /dev/null +++ b/buildroot-2022.02.1/package/ts4900-fpga/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_TS4900_FPGA + bool "ts4900-fpga" + depends on BR2_arm + help + TS-4900's FPGA implements clocks, UART MUX, and GPIOs. One + of these GPIOs is used to enable the wifi module. + + It is loaded by U-Boot during the boot sequence, the default + U-boot script expects to find it in the /boot folder. + + https://docs.embeddedts.com/TS-4900#FPGA_Changelog diff --git a/buildroot-2022.02.1/package/ts4900-fpga/ts4900-fpga.hash b/buildroot-2022.02.1/package/ts4900-fpga/ts4900-fpga.hash new file mode 100644 index 00000000..1d3c62bf --- /dev/null +++ b/buildroot-2022.02.1/package/ts4900-fpga/ts4900-fpga.hash @@ -0,0 +1,5 @@ +# From https://files.embeddedts.com/ts-socket-macrocontrollers/ts-4900-linux/fpga//ts4900-fpga-20170510.bin.md5 +md5 86c7c3d7fb9c607af1ef55e1222b4416 ts4900-fpga-20170510.bin + +# Locally calculated +sha256 f15edd6813ee5e93e7f380d85df2dc31e764ebca465093fb9006d56ee15b476b ts4900-fpga-20170510.bin diff --git a/buildroot-2022.02.1/package/ts4900-fpga/ts4900-fpga.mk b/buildroot-2022.02.1/package/ts4900-fpga/ts4900-fpga.mk new file mode 100644 index 00000000..73e7a28e --- /dev/null +++ b/buildroot-2022.02.1/package/ts4900-fpga/ts4900-fpga.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# ts4900-fpga +# +################################################################################ + +TS4900_FPGA_VERSION = 20170510 +TS4900_FPGA_SOURCE = ts4900-fpga-$(TS4900_FPGA_VERSION).bin +TS4900_FPGA_SITE = https://files.embeddedts.com/ts-socket-macrocontrollers/ts-4900-linux/fpga +# No license file provided, Yocto recipe from the vendor claims MIT. +# https://github.com/embeddedTS/meta-ts/blob/f31860f1204b64f765a5380d3b93a2cf18234f90/recipes-extras/ts4900-fpga/ts4900-fpga.bb#L6 + +define TS4900_FPGA_EXTRACT_CMDS + cp $(TS4900_FPGA_DL_DIR)/$(TS4900_FPGA_SOURCE) $(@D) +endef + +define TS4900_FPGA_INSTALL_TARGET_CMDS + $(INSTALL) -m 0644 -D $(@D)/$(TS4900_FPGA_SOURCE) $(TARGET_DIR)/boot/ts4900-fpga.bin +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/tslib/Config.in b/buildroot-2022.02.1/package/tslib/Config.in similarity index 100% rename from buildroot-2021.05/package/tslib/Config.in rename to buildroot-2022.02.1/package/tslib/Config.in diff --git a/buildroot-2021.05/package/tslib/tslib.hash b/buildroot-2022.02.1/package/tslib/tslib.hash similarity index 100% rename from buildroot-2021.05/package/tslib/tslib.hash rename to buildroot-2022.02.1/package/tslib/tslib.hash diff --git a/buildroot-2021.05/package/tslib/tslib.mk b/buildroot-2022.02.1/package/tslib/tslib.mk similarity index 100% rename from buildroot-2021.05/package/tslib/tslib.mk rename to buildroot-2022.02.1/package/tslib/tslib.mk diff --git a/buildroot-2021.05/package/tstools/0001-build-get-along-with-buildroot.patch b/buildroot-2022.02.1/package/tstools/0001-build-get-along-with-buildroot.patch similarity index 100% rename from buildroot-2021.05/package/tstools/0001-build-get-along-with-buildroot.patch rename to buildroot-2022.02.1/package/tstools/0001-build-get-along-with-buildroot.patch diff --git a/buildroot-2021.05/package/tstools/Config.in b/buildroot-2022.02.1/package/tstools/Config.in similarity index 100% rename from buildroot-2021.05/package/tstools/Config.in rename to buildroot-2022.02.1/package/tstools/Config.in diff --git a/buildroot-2021.05/package/tstools/tstools.hash b/buildroot-2022.02.1/package/tstools/tstools.hash similarity index 100% rename from buildroot-2021.05/package/tstools/tstools.hash rename to buildroot-2022.02.1/package/tstools/tstools.hash diff --git a/buildroot-2021.05/package/tstools/tstools.mk b/buildroot-2022.02.1/package/tstools/tstools.mk similarity index 100% rename from buildroot-2021.05/package/tstools/tstools.mk rename to buildroot-2022.02.1/package/tstools/tstools.mk diff --git a/buildroot-2021.05/package/ttyd/Config.in b/buildroot-2022.02.1/package/ttyd/Config.in similarity index 100% rename from buildroot-2021.05/package/ttyd/Config.in rename to buildroot-2022.02.1/package/ttyd/Config.in diff --git a/buildroot-2021.05/package/ttyd/ttyd.hash b/buildroot-2022.02.1/package/ttyd/ttyd.hash similarity index 100% rename from buildroot-2021.05/package/ttyd/ttyd.hash rename to buildroot-2022.02.1/package/ttyd/ttyd.hash diff --git a/buildroot-2021.05/package/ttyd/ttyd.mk b/buildroot-2022.02.1/package/ttyd/ttyd.mk similarity index 100% rename from buildroot-2021.05/package/ttyd/ttyd.mk rename to buildroot-2022.02.1/package/ttyd/ttyd.mk diff --git a/buildroot-2021.05/package/tunctl/Config.in b/buildroot-2022.02.1/package/tunctl/Config.in similarity index 100% rename from buildroot-2021.05/package/tunctl/Config.in rename to buildroot-2022.02.1/package/tunctl/Config.in diff --git a/buildroot-2021.05/package/tunctl/tunctl.hash b/buildroot-2022.02.1/package/tunctl/tunctl.hash similarity index 100% rename from buildroot-2021.05/package/tunctl/tunctl.hash rename to buildroot-2022.02.1/package/tunctl/tunctl.hash diff --git a/buildroot-2021.05/package/tunctl/tunctl.mk b/buildroot-2022.02.1/package/tunctl/tunctl.mk similarity index 100% rename from buildroot-2021.05/package/tunctl/tunctl.mk rename to buildroot-2022.02.1/package/tunctl/tunctl.mk diff --git a/buildroot-2021.05/package/turbolua/Config.in b/buildroot-2022.02.1/package/turbolua/Config.in similarity index 100% rename from buildroot-2021.05/package/turbolua/Config.in rename to buildroot-2022.02.1/package/turbolua/Config.in diff --git a/buildroot-2021.05/package/turbolua/turbolua.hash b/buildroot-2022.02.1/package/turbolua/turbolua.hash similarity index 100% rename from buildroot-2021.05/package/turbolua/turbolua.hash rename to buildroot-2022.02.1/package/turbolua/turbolua.hash diff --git a/buildroot-2021.05/package/turbolua/turbolua.mk b/buildroot-2022.02.1/package/turbolua/turbolua.mk similarity index 100% rename from buildroot-2021.05/package/turbolua/turbolua.mk rename to buildroot-2022.02.1/package/turbolua/turbolua.mk diff --git a/buildroot-2021.05/package/tvheadend/0001-no-check_config.patch b/buildroot-2022.02.1/package/tvheadend/0001-no-check_config.patch similarity index 100% rename from buildroot-2021.05/package/tvheadend/0001-no-check_config.patch rename to buildroot-2022.02.1/package/tvheadend/0001-no-check_config.patch diff --git a/buildroot-2022.02.1/package/tvheadend/0002-fix-build-with-libressl.patch b/buildroot-2022.02.1/package/tvheadend/0002-fix-build-with-libressl.patch new file mode 100644 index 00000000..c99dacdb --- /dev/null +++ b/buildroot-2022.02.1/package/tvheadend/0002-fix-build-with-libressl.patch @@ -0,0 +1,47 @@ +From ea65f8025a9124cd7353b21f167968bdb897306f Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 6 Apr 2022 21:54:25 +0200 +Subject: [PATCH] fix build with libressl + +Fix the following build failure with libressl raised since +https://github.com/tvheadend/tvheadend/commit/e61acb8ad4a3411f4e7acfd8133d222299f6d47e: + +utils.c:(.text+0x1614): undefined reference to `EVP_sha512_256' + +Fixes: + - http://autobuild.buildroot.org/results/cb18f6533806f3729f9718bdcc719384be375b66 + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/tvheadend/tvheadend/commit/ea65f8025a9124cd7353b21f167968bdb897306f] +--- + src/http.c | 2 +- + src/utils.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/http.c b/src/http.c +index 06d5e76172..72a498317c 100644 +--- a/src/http.c ++++ b/src/http.c +@@ -412,7 +412,7 @@ http_send_header(http_connection_t *hc, int rc, const char *content, + http_auth_header(&hdrs, realm, + config.http_auth_algo == HTTP_AUTH_ALGO_SHA256 ? + "SHA-256" : +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + "SHA-512-256", + #else + "SHA-256", +diff --git a/src/utils.c b/src/utils.c +index d8ffe4ad5c..eecb10e116 100644 +--- a/src/utils.c ++++ b/src/utils.c +@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase ) + char * + sha512sum256 ( const char *str, int lowercase ) + { +-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL ++#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER) + return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32); + #else + return NULL; diff --git a/buildroot-2022.02.1/package/tvheadend/Config.in b/buildroot-2022.02.1/package/tvheadend/Config.in new file mode 100644 index 00000000..c033b298 --- /dev/null +++ b/buildroot-2022.02.1/package/tvheadend/Config.in @@ -0,0 +1,74 @@ +comment "tvheadend needs a toolchain w/ NPTL, headers >= 3.2, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 || BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + +menuconfig BR2_PACKAGE_TVHEADEND + bool "tvheadend" + depends on !BR2_STATIC_LIBS # dladdr() + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_DTV_SCAN_TABLES + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + help + + Tvheadend is a TV streaming server for Linux supporting + DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video + (V4L) as input sources. + + https://www.lonelycoder.com/redmine/projects/tvheadend/ + + Note: + - on first run, tvheadend will start in wizard mode; the + webUI is available on port 9981. + - if you want Avahi support, you'll need to enable: + Avahi, D-Bus, libdaemon + +if BR2_PACKAGE_TVHEADEND + +config BR2_PACKAGE_TVHEADEND_DESCRAMBLER + bool "descrambler support" + default y + help + Enable support for various descrambler modules. + +config BR2_PACKAGE_TVHEADEND_IPTV + bool "IPTV support" + default y + help + Enable IPTV support. + + Note that some IPTV streams will need to be piped through + ffmpeg (the commandline tool), so you may have to enable it + with: + BR2_PACKAGE_FFMPEG=y + BR2_PACKAGE_FFMPEG_FFMPEG=y + +config BR2_PACKAGE_TVHEADEND_SATIP + bool "SAT>IP support" + default y + help + Enable SAT>IP support. + +config BR2_PACKAGE_TVHEADEND_TIMESHIFT + bool "timeshift support" + default y + help + Enable timeshift support. + +config BR2_PACKAGE_TVHEADEND_TRANSCODING + bool "transcoding support" + depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS + select BR2_PACKAGE_FFMPEG + select BR2_PACKAGE_FFMPEG_AVRESAMPLE + select BR2_PACKAGE_FFMPEG_GPL # needed for x264 support + select BR2_PACKAGE_FFMPEG_SWSCALE + select BR2_PACKAGE_LIBVPX + select BR2_PACKAGE_X264 + help + Enable transcoding support. + +endif diff --git a/buildroot-2021.05/package/tvheadend/S99tvheadend b/buildroot-2022.02.1/package/tvheadend/S99tvheadend similarity index 100% rename from buildroot-2021.05/package/tvheadend/S99tvheadend rename to buildroot-2022.02.1/package/tvheadend/S99tvheadend diff --git a/buildroot-2021.05/package/tvheadend/etc.default.tvheadend b/buildroot-2022.02.1/package/tvheadend/etc.default.tvheadend similarity index 100% rename from buildroot-2021.05/package/tvheadend/etc.default.tvheadend rename to buildroot-2022.02.1/package/tvheadend/etc.default.tvheadend diff --git a/buildroot-2022.02.1/package/tvheadend/tvheadend.hash b/buildroot-2022.02.1/package/tvheadend/tvheadend.hash new file mode 100644 index 00000000..44ff7452 --- /dev/null +++ b/buildroot-2022.02.1/package/tvheadend/tvheadend.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 10b8e8387cf341a8c639b3ecbab17dd245dc109afd6c99ca6b7fc3f2b5efc50e tvheadend-1295dd2be863f5beb764290fce9317b24193dfc0.tar.gz +sha256 54dc3cbc00bf126bcba43e2af7f3ad1dc00f335985da1409fa943c7b7256d942 LICENSE.md diff --git a/buildroot-2022.02.1/package/tvheadend/tvheadend.mk b/buildroot-2022.02.1/package/tvheadend/tvheadend.mk new file mode 100644 index 00000000..d2547b87 --- /dev/null +++ b/buildroot-2022.02.1/package/tvheadend/tvheadend.mk @@ -0,0 +1,214 @@ +################################################################################ +# +# tvheadend +# +################################################################################ + +TVHEADEND_VERSION = 1295dd2be863f5beb764290fce9317b24193dfc0 +TVHEADEND_SITE = $(call github,tvheadend,tvheadend,$(TVHEADEND_VERSION)) +TVHEADEND_LICENSE = GPL-3.0+ +TVHEADEND_LICENSE_FILES = LICENSE.md +TVHEADEND_DEPENDENCIES = \ + host-gettext \ + host-pkgconf \ + host-pngquant \ + host-python3 \ + openssl + +ifeq ($(BR2_PACKAGE_AVAHI),y) +TVHEADEND_DEPENDENCIES += avahi +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +TVHEADEND_DEPENDENCIES += dbus +TVHEADEND_CONF_OPTS += --enable-dbus-1 +else +TVHEADEND_CONF_OPTS += --disable-dbus-1 +endif + +ifeq ($(BR2_PACKAGE_TVHEADEND_TRANSCODING),y) +TVHEADEND_CONF_OPTS += --enable-libav --enable-libx264 +TVHEADEND_DEPENDENCIES += ffmpeg x264 +ifeq ($(BR2_PACKAGE_LIBVA),y) +TVHEADEND_CONF_OPTS += --enable-vaapi +TVHEADEND_DEPENDENCIES += libva +else +TVHEADEND_CONF_OPTS += --disable-vaapi +endif +ifeq ($(BR2_PACKAGE_OPUS),y) +TVHEADEND_CONF_OPTS += --enable-libopus +TVHEADEND_DEPENDENCIES += opus +else +TVHEADEND_CONF_OPTS += --disable-libopus +endif +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +TVHEADEND_CONF_OPTS += --enable-omx +TVHEADEND_DEPENDENCIES += rpi-userland +else +TVHEADEND_CONF_OPTS += --disable-omx +endif +ifeq ($(BR2_PACKAGE_X265),y) +TVHEADEND_CONF_OPTS += --enable-libx265 +TVHEADEND_DEPENDENCIES += x265 +else +TVHEADEND_CONF_OPTS += --disable-libx265 +endif +else +TVHEADEND_CONF_OPTS += \ + --disable-libav \ + --disable-libopus \ + --disable-omx \ + --disable-vaapi \ + --disable-libx264 \ + --disable-libx265 +endif + +ifeq ($(BR2_PACKAGE_TVHEADEND_DESCRAMBLER),y) +TVHEADEND_CONF_OPTS += \ + --enable-cardclient \ + --enable-cwc \ + --enable-cccam \ + --enable-capmt \ + --enable-constcw +else +TVHEADEND_CONF_OPTS += \ + --disable-cardclient \ + --disable-cwc \ + --disable-cccam \ + --disable-capmt \ + --disable-constcw +endif + +ifeq ($(BR2_PACKAGE_TVHEADEND_IPTV),y) +TVHEADEND_CONF_OPTS += --enable-iptv +else +TVHEADEND_CONF_OPTS += --disable-iptv +endif + +ifeq ($(BR2_PACKAGE_TVHEADEND_SATIP),y) +TVHEADEND_CONF_OPTS += --enable-satip_client --enable-satip_server +else +TVHEADEND_CONF_OPTS += --disable-satip_client --disable-satip_server +endif + +ifeq ($(BR2_PACKAGE_TVHEADEND_TIMESHIFT),y) +TVHEADEND_CONF_OPTS += --enable-timeshift +else +TVHEADEND_CONF_OPTS += --disable-timeshift +endif + +ifeq ($(BR2_PACKAGE_LIBDVBCSA),y) +TVHEADEND_DEPENDENCIES += libdvbcsa +TVHEADEND_CONF_OPTS += --enable-tvhcsa +else +TVHEADEND_CONF_OPTS += --disable-tvhcsa +endif + +ifeq ($(BR2_PACKAGE_LIBHDHOMERUN),y) +TVHEADEND_DEPENDENCIES += libhdhomerun +TVHEADEND_CONF_OPTS += --enable-hdhomerun_client +else +TVHEADEND_CONF_OPTS += --disable-hdhomerun_client +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +TVHEADEND_DEPENDENCIES += libiconv +endif + +TVHEADEND_CFLAGS = $(TARGET_CFLAGS) +ifeq ($(BR2_PACKAGE_LIBURIPARSER),y) +TVHEADEND_DEPENDENCIES += liburiparser +TVHEADEND_CFLAGS += $(if $(BR2_USE_WCHAR),,-DURI_NO_UNICODE) +endif + +ifeq ($(BR2_PACKAGE_PCRE2),y) +TVHEADEND_DEPENDENCIES += pcre2 +TVHEADEND_CONF_OPTS += --disable-pcre --enable-pcre2 +else ifeq ($(BR2_PACKAGE_PCRE),y) +TVHEADEND_DEPENDENCIES += pcre +TVHEADEND_CONF_OPTS += --enable-pcre --disable-pcre2 +else +TVHEADEND_CONF_OPTS += --disable-pcre --disable-pcre2 +endif + +ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),) +TVHEADEND_CONF_OPTS += --disable-pie +endif + +TVHEADEND_DEPENDENCIES += dtv-scan-tables + +# The tvheadend build system expects the transponder data to be present inside +# its source tree. To prevent a download initiated by the build system just +# copy the data files in the right place and add the corresponding stamp file. +define TVHEADEND_INSTALL_DTV_SCAN_TABLES + $(INSTALL) -d $(@D)/data/dvb-scan + cp -r $(TARGET_DIR)/usr/share/dvb/* $(@D)/data/dvb-scan/ + touch $(@D)/data/dvb-scan/.stamp +endef +TVHEADEND_PRE_CONFIGURE_HOOKS += TVHEADEND_INSTALL_DTV_SCAN_TABLES + +define TVHEADEND_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + $(TARGET_CONFIGURE_ARGS) \ + CFLAGS="$(TVHEADEND_CFLAGS)" \ + ./configure \ + --prefix=/usr \ + --arch="$(ARCH)" \ + --cpu="$(GCC_TARGET_CPU)" \ + --nowerror \ + --python="$(HOST_DIR)/bin/python3" \ + --enable-dvbscan \ + --enable-bundle \ + --enable-pngquant \ + --disable-execinfo \ + --disable-ffmpeg_static \ + --disable-hdhomerun_static \ + $(TVHEADEND_CONF_OPTS) \ + ) +endef + +define TVHEADEND_FIX_PNGQUANT_PATH + $(SED) "s%^pngquant_bin =.*%pngquant_bin = '$(HOST_DIR)/bin/pngquant'%" \ + $(@D)/support/mkbundle +endef +TVHEADEND_POST_CONFIGURE_HOOKS += TVHEADEND_FIX_PNGQUANT_PATH + +define TVHEADEND_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define TVHEADEND_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install +endef + +# Remove documentation and source files that are not needed because we +# use the bundled web interface version. +define TVHEADEND_CLEAN_SHARE + rm -rf $(TARGET_DIR)/usr/share/tvheadend/docs + rm -rf $(TARGET_DIR)/usr/share/tvheadend/src +endef + +TVHEADEND_POST_INSTALL_TARGET_HOOKS += TVHEADEND_CLEAN_SHARE + +#---------------------------------------------------------------------------- +# To run tvheadend, we need: +# - a startup script, and its config file +# - a non-root user to run as, and a home for it that is not accessible +# to the other users (because there will be crendentials in there) + +define TVHEADEND_INSTALL_INIT_SYSV + $(INSTALL) -D package/tvheadend/etc.default.tvheadend \ + $(TARGET_DIR)/etc/default/tvheadend + $(INSTALL) -D package/tvheadend/S99tvheadend \ + $(TARGET_DIR)/etc/init.d/S99tvheadend +endef + +define TVHEADEND_USERS + tvheadend -1 tvheadend -1 * /home/tvheadend - video TVHeadend daemon +endef +define TVHEADEND_PERMISSIONS + /home/tvheadend r 0700 tvheadend tvheadend - - - - - +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/twolame/Config.in b/buildroot-2022.02.1/package/twolame/Config.in similarity index 100% rename from buildroot-2021.05/package/twolame/Config.in rename to buildroot-2022.02.1/package/twolame/Config.in diff --git a/buildroot-2021.05/package/twolame/twolame.hash b/buildroot-2022.02.1/package/twolame/twolame.hash similarity index 100% rename from buildroot-2021.05/package/twolame/twolame.hash rename to buildroot-2022.02.1/package/twolame/twolame.hash diff --git a/buildroot-2021.05/package/twolame/twolame.mk b/buildroot-2022.02.1/package/twolame/twolame.mk similarity index 100% rename from buildroot-2021.05/package/twolame/twolame.mk rename to buildroot-2022.02.1/package/twolame/twolame.mk diff --git a/buildroot-2021.05/package/tz/Config.in b/buildroot-2022.02.1/package/tz/Config.in similarity index 100% rename from buildroot-2021.05/package/tz/Config.in rename to buildroot-2022.02.1/package/tz/Config.in diff --git a/buildroot-2021.05/package/tz/tz.mk b/buildroot-2022.02.1/package/tz/tz.mk similarity index 100% rename from buildroot-2021.05/package/tz/tz.mk rename to buildroot-2022.02.1/package/tz/tz.mk diff --git a/buildroot-2021.05/package/tzdata/Config.in b/buildroot-2022.02.1/package/tzdata/Config.in similarity index 100% rename from buildroot-2021.05/package/tzdata/Config.in rename to buildroot-2022.02.1/package/tzdata/Config.in diff --git a/buildroot-2022.02.1/package/tzdata/tzdata.hash b/buildroot-2022.02.1/package/tzdata/tzdata.hash new file mode 100644 index 00000000..55346539 --- /dev/null +++ b/buildroot-2022.02.1/package/tzdata/tzdata.hash @@ -0,0 +1,4 @@ +# From https://mm.icann.org/pipermail/tz-announce/2021-October/000069.html +sha512 c1e8d04e049157ed5d4af0868855bbd75517e3d7e1db9c41d5283ff260109de46b6fac6be94828201d093e163d868044ac2a9db2bf0aeab800e264d0c73a9119 tzdata2021e.tar.gz +# Locally computed: +sha256 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf LICENSE diff --git a/buildroot-2022.02.1/package/tzdata/tzdata.mk b/buildroot-2022.02.1/package/tzdata/tzdata.mk new file mode 100644 index 00000000..9cf8c2ea --- /dev/null +++ b/buildroot-2022.02.1/package/tzdata/tzdata.mk @@ -0,0 +1,66 @@ +################################################################################ +# +# tzdata +# +################################################################################ + +TZDATA_VERSION = 2021e +TZDATA_SOURCE = tzdata$(TZDATA_VERSION).tar.gz +TZDATA_SITE = https://www.iana.org/time-zones/repository/releases +TZDATA_STRIP_COMPONENTS = 0 +TZDATA_DEPENDENCIES = host-tzdata +HOST_TZDATA_DEPENDENCIES = host-zic +TZDATA_LICENSE = Public domain +TZDATA_LICENSE_FILES = LICENSE + +# Take care when re-ordering this list since this might break zone +# dependencies +TZDATA_DEFAULT_ZONELIST = \ + africa antarctica asia australasia europe northamerica \ + southamerica etcetera backward factory + +ifeq ($(call qstrip,$(BR2_TARGET_TZ_ZONELIST)),default) +TZDATA_ZONELIST = $(TZDATA_DEFAULT_ZONELIST) +else +TZDATA_ZONELIST = $(call qstrip,$(BR2_TARGET_TZ_ZONELIST)) +endif + +TZDATA_LOCALTIME = $(call qstrip,$(BR2_TARGET_LOCALTIME)) +ifneq ($(TZDATA_LOCALTIME),) +define TZDATA_SET_LOCALTIME + if [ ! -f $(TARGET_DIR)/usr/share/zoneinfo/$(TZDATA_LOCALTIME) ]; then \ + printf "Error: '%s' is not a valid timezone, check your BR2_TARGET_LOCALTIME setting\n" \ + "$(TZDATA_LOCALTIME)"; \ + exit 1; \ + fi + ln -sf ../usr/share/zoneinfo/$(TZDATA_LOCALTIME) $(TARGET_DIR)/etc/localtime + echo "$(TZDATA_LOCALTIME)" >$(TARGET_DIR)/etc/timezone +endef +endif + +define TZDATA_INSTALL_TARGET_CMDS + $(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/share/zoneinfo + cp -a $(HOST_DIR)/share/zoneinfo/* $(TARGET_DIR)/usr/share/zoneinfo + cd $(TARGET_DIR)/usr/share/zoneinfo; \ + for zone in posix/*; do \ + ln -sfn "$${zone}" "$${zone##*/}"; \ + done + $(TZDATA_SET_LOCALTIME) +endef + +define HOST_TZDATA_BUILD_CMDS + (cd $(@D); \ + for zone in $(TZDATA_ZONELIST); do \ + $(ZIC) -b fat -d _output/posix $$zone || exit 1; \ + $(ZIC) -b fat -d _output/right -L leapseconds $$zone || exit 1; \ + done; \ + ) +endef + +define HOST_TZDATA_INSTALL_CMDS + $(INSTALL) -d -m 0755 $(HOST_DIR)/share/zoneinfo + cp -a $(@D)/_output/* $(@D)/*.tab $(HOST_DIR)/share/zoneinfo +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/tzdump/tzdump.hash b/buildroot-2022.02.1/package/tzdump/tzdump.hash similarity index 100% rename from buildroot-2021.05/package/tzdump/tzdump.hash rename to buildroot-2022.02.1/package/tzdump/tzdump.hash diff --git a/buildroot-2021.05/package/tzdump/tzdump.mk b/buildroot-2022.02.1/package/tzdump/tzdump.mk similarity index 100% rename from buildroot-2021.05/package/tzdump/tzdump.mk rename to buildroot-2022.02.1/package/tzdump/tzdump.mk diff --git a/buildroot-2021.05/package/uacme/Config.in b/buildroot-2022.02.1/package/uacme/Config.in similarity index 100% rename from buildroot-2021.05/package/uacme/Config.in rename to buildroot-2022.02.1/package/uacme/Config.in diff --git a/buildroot-2022.02.1/package/uacme/uacme.hash b/buildroot-2022.02.1/package/uacme/uacme.hash new file mode 100644 index 00000000..4ae85c1c --- /dev/null +++ b/buildroot-2022.02.1/package/uacme/uacme.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 36027a587256cbaa86650cec2a5b3eb000480e1150bd83941565661b392625ac uacme-1.7.1.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING diff --git a/buildroot-2022.02.1/package/uacme/uacme.mk b/buildroot-2022.02.1/package/uacme/uacme.mk new file mode 100644 index 00000000..2be96d53 --- /dev/null +++ b/buildroot-2022.02.1/package/uacme/uacme.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# uacme +# +################################################################################ + +UACME_VERSION = 1.7.1 +# Released versions are on branch upstream/latest, tagged as +# upstream/X.Y.Z Do not use vX.Y.Z tags from master, as they do not +# include .tarball-version +UACME_SITE = $(call github,ndilieto,uacme,upstream/$(UACME_VERSION)) +UACME_LICENSE = GPL-3.0+ +UACME_LICENSE_FILES = COPYING +UACME_DEPENDENCIES = libcurl + +UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +UACME_CONF_OPTS += --with-gnutls +UACME_DEPENDENCIES += gnutls +else ifeq ($(BR2_PACKAGE_OPENSSL),y) +UACME_CONF_OPTS += --with-openssl +UACME_DEPENDENCIES += openssl +else ifeq ($(BR2_PACKAGE_MBEDTLS),y) +UACME_CONF_OPTS += --with-mbedtls +UACME_DEPENDENCIES += mbedtls +endif + +ifeq ($(BR2_PACKAGE_UACME_UALPN),y) +UACME_DEPENDENCIES += libev +UACME_CONF_OPTS += --with-ualpn +else +UACME_CONF_OPTS += --without-ualpn +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/uboot-tools/0001-drop-configh-from-tools.patch b/buildroot-2022.02.1/package/uboot-tools/0001-drop-configh-from-tools.patch similarity index 100% rename from buildroot-2021.05/package/uboot-tools/0001-drop-configh-from-tools.patch rename to buildroot-2022.02.1/package/uboot-tools/0001-drop-configh-from-tools.patch diff --git a/buildroot-2021.05/package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch b/buildroot-2022.02.1/package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch similarity index 100% rename from buildroot-2021.05/package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch rename to buildroot-2022.02.1/package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch diff --git a/buildroot-2022.02.1/package/uboot-tools/0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch b/buildroot-2022.02.1/package/uboot-tools/0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch new file mode 100644 index 00000000..502458e2 --- /dev/null +++ b/buildroot-2022.02.1/package/uboot-tools/0003-tools-Makefile-fix-C-LD-FLAGS-with-CROSS_BUILD_TOOLS.patch @@ -0,0 +1,34 @@ +From 3b89170333ef0fdfffee14751ce3e1d66d7dfa00 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 14 Sep 2021 19:08:02 +0200 +Subject: [PATCH] tools/Makefile: fix {C,LD}FLAGS with CROSS_BUILD_TOOLS + +When CROSS_BUILD_TOOLS is set, set KBUILD_HOST{CF,LD}FLAGS to +{C,LD}FLAGS otherwise CC will be used with HOST{C,LD}FLAGS which seems +wrong. + +It should be noted that, for an unknown reason, overriding +HOST{C,LD}FLAGS don't work. + +Signed-off-by: Fabrice Fontaine +--- + tools/Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tools/Makefile b/tools/Makefile +index 4a86321f64..98bb92990d 100644 +--- a/tools/Makefile ++++ b/tools/Makefile +@@ -316,7 +316,8 @@ subdir- += env + + ifneq ($(CROSS_BUILD_TOOLS),) + override HOSTCC = $(CC) +-override HOSTCFLAGS = $(CFLAGS) ++override KBUILD_HOSTCFLAGS = $(CFLAGS) ++override KBUILD_HOSTLDFLAGS = $(LDFLAGS) + + quiet_cmd_crosstools_strip = STRIP $^ + cmd_crosstools_strip = $(STRIP) $^; touch $@ +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/uboot-tools/Config.in b/buildroot-2022.02.1/package/uboot-tools/Config.in new file mode 100644 index 00000000..e8bbf3a1 --- /dev/null +++ b/buildroot-2022.02.1/package/uboot-tools/Config.in @@ -0,0 +1,104 @@ +config BR2_PACKAGE_UBOOT_TOOLS + bool "u-boot tools" + help + Companion tools for Das U-Boot bootloader. + + http://www.denx.de/wiki/U-Boot/WebHome + +if BR2_PACKAGE_UBOOT_TOOLS + +config BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT + bool "Flattened Image Tree (FIT) support" + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_DTC + select BR2_PACKAGE_DTC_PROGRAMS + help + Enables support for Flattened Image Tree (FIT). + + This option allows to boot the new uImage structure, + Flattened Image Tree. FIT is formally a FDT, which can include + images of various types (kernel, FDT blob, ramdisk, etc.) + in a single blob. To boot this new uImage structure, + pass the address of the blob to the "bootm" command. + +comment "u-boot tools FIT support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +if BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT + +config BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT + bool "FIT signature verification support" + select BR2_PACKAGE_OPENSSL + help + Enables support for FIT Signature Verification. + + Flat Image Trees (FIT) supports hashing of images so that + these hashes can be checked on loading. This protects + against corruption of the image. However it does not prevent + the substitution of one image for another. + + The signature feature allows the hash to be signed with a + private key such that it can be verified using a public key + later. Provided that the private key is kept secret and the + public key is stored in a non-volatile place, any image can + be verified in this way. + + Enabling this option pulls in a dependency on libssl and + libcrypto, and possibly GPL/OpenSSL licensing + incompatibility issues. + +config BR2_PACKAGE_UBOOT_TOOLS_FIT_CHECK_SIGN + bool "fit_check_sign" + depends on BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT + help + Install the fit_check_sign tool on the target system + + The fit_check_sign tool from Das U-Boot bootloader, which + allows FIT image signature validation on target system. + +endif + +config BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE + bool "mkimage" + help + Install the mkimage tool on the target system + + The mkimage tool from Das U-Boot bootloader, which allows + generation of U-Boot images in various formats. + +config BR2_PACKAGE_UBOOT_TOOLS_MKEFICAPSULE + bool "mkeficapsule" + help + Install the mkeficapsule tool on the target system + + The mkeficapsule tool from Das U-Boot bootloader, which allows + generation of UEFI capsule binaries. + +config BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE + bool "mkenvimage" + help + Install the mkenvimage tool on the target system + + The mkenvimage tool from Das U-Boot bootloader, which allows + generation of a valid binary environment image from a text + file describing the key=value pairs of the environment. + +config BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV + bool "fw_printenv" + default y + help + Install the fw_printenv / fw_setenv tools on the target system + + The fw_printenv and fw_setenv tools from Das U-Boot + bootloader, which allows access to the U-Boot environment + from Linux. + +config BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE + bool "dumpimage" + help + Install the dumpimage tool on the target system + + The dumpimage tool from Das U-Boot bootloader, which allows + extraction of data from U-Boot images. + +endif diff --git a/buildroot-2021.05/package/uboot-tools/Config.in.host b/buildroot-2022.02.1/package/uboot-tools/Config.in.host similarity index 100% rename from buildroot-2021.05/package/uboot-tools/Config.in.host rename to buildroot-2022.02.1/package/uboot-tools/Config.in.host diff --git a/buildroot-2022.02.1/package/uboot-tools/uboot-tools.hash b/buildroot-2022.02.1/package/uboot-tools/uboot-tools.hash new file mode 100644 index 00000000..5a48926e --- /dev/null +++ b/buildroot-2022.02.1/package/uboot-tools/uboot-tools.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 312b7eeae44581d1362c3a3f02c28d806647756c82ba8c72241c7cdbe68ba77e u-boot-2021.07.tar.bz2 +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Licenses/gpl-2.0.txt diff --git a/buildroot-2022.02.1/package/uboot-tools/uboot-tools.mk b/buildroot-2022.02.1/package/uboot-tools/uboot-tools.mk new file mode 100644 index 00000000..26450b7a --- /dev/null +++ b/buildroot-2022.02.1/package/uboot-tools/uboot-tools.mk @@ -0,0 +1,237 @@ +################################################################################ +# +# uboot-tools +# +################################################################################ + +UBOOT_TOOLS_VERSION = 2021.07 +UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2 +UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot +UBOOT_TOOLS_LICENSE = GPL-2.0+ +UBOOT_TOOLS_LICENSE_FILES = Licenses/gpl-2.0.txt +UBOOT_TOOLS_CPE_ID_VENDOR = denx +UBOOT_TOOLS_CPE_ID_PRODUCT = u-boot +UBOOT_TOOLS_INSTALL_STAGING = YES + +# u-boot 2020.01+ needs make 4.0+ +UBOOT_TOOLS_DEPENDENCIES = $(BR2_MAKE_HOST_DEPENDENCY) +HOST_UBOOT_TOOLS_DEPENDENCIES = $(BR2_MAKE_HOST_DEPENDENCY) + +define UBOOT_TOOLS_CONFIGURE_CMDS + mkdir -p $(@D)/include/config + touch $(@D)/include/config/auto.conf + mkdir -p $(@D)/include/generated + touch $(@D)/include/generated/autoconf.h + mkdir -p $(@D)/include/asm + touch $(@D)/include/asm/linkage.h +endef + +UBOOT_TOOLS_MAKE_OPTS = CROSS_COMPILE="$(TARGET_CROSS)" \ + CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" \ + HOSTCFLAGS="$(HOST_CFLAGS)" \ + STRIP=$(TARGET_STRIP) + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT),y) +UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT=y CONFIG_MKIMAGE_DTC_PATH=dtc +UBOOT_TOOLS_DEPENDENCIES += dtc +endif + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y) +UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000 +UBOOT_TOOLS_DEPENDENCIES += openssl host-pkgconf +endif + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKEFICAPSULE),y) +UBOOT_TOOLS_MAKE_OPTS += CONFIG_EFI_HAVE_CAPSULE_SUPPORT=y +endif + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FIT_CHECK_SIGN),y) +define UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN + $(INSTALL) -m 0755 -D $(@D)/tools/fit_check_sign $(TARGET_DIR)/usr/bin/fit_check_sign +endef +endif + +define UBOOT_TOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(BR2_MAKE) -C $(@D) $(UBOOT_TOOLS_MAKE_OPTS) \ + CROSS_BUILD_TOOLS=y tools-only + $(TARGET_MAKE_ENV) $(BR2_MAKE) -C $(@D) $(UBOOT_TOOLS_MAKE_OPTS) \ + envtools no-dot-config-targets=envtools +endef + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE),y) +define UBOOT_TOOLS_INSTALL_MKIMAGE + $(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(TARGET_DIR)/usr/bin/mkimage +endef +endif + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKEFICAPSULE),y) +define UBOOT_TOOLS_INSTALL_MKEFICAPSULE + $(INSTALL) -m 0755 -D $(@D)/tools/mkeficapsule $(TARGET_DIR)/usr/bin/mkeficapsule +endef +endif + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_MKENVIMAGE),y) +define UBOOT_TOOLS_INSTALL_MKENVIMAGE + $(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(TARGET_DIR)/usr/bin/mkenvimage +endef +endif + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y) +define UBOOT_TOOLS_INSTALL_FWPRINTENV + $(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv + ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv +endef +endif + +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y) +define UBOOT_TOOLS_INSTALL_DUMPIMAGE + $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage +endef +endif + +define UBOOT_TOOLS_INSTALL_STAGING_CMDS + $(INSTALL) -D -m 0755 $(@D)/tools/env/lib.a $(STAGING_DIR)/usr/lib/libubootenv.a + $(INSTALL) -D -m 0644 $(@D)/tools/env/fw_env.h $(STAGING_DIR)/usr/include/fw_env.h +endef + +define UBOOT_TOOLS_INSTALL_TARGET_CMDS + $(UBOOT_TOOLS_INSTALL_MKIMAGE) + $(UBOOT_TOOLS_INSTALL_MKEFICAPSULE) + $(UBOOT_TOOLS_INSTALL_MKENVIMAGE) + $(UBOOT_TOOLS_INSTALL_FWPRINTENV) + $(UBOOT_TOOLS_INSTALL_DUMPIMAGE) + $(UBOOT_TOOLS_INSTALL_FIT_CHECK_SIGN) +endef + +# host-uboot-tools + +define HOST_UBOOT_TOOLS_CONFIGURE_CMDS + mkdir -p $(@D)/include/config + touch $(@D)/include/config/auto.conf + mkdir -p $(@D)/include/generated + touch $(@D)/include/generated/autoconf.h + mkdir -p $(@D)/include/asm + touch $(@D)/include/asm/linkage.h +endef + +HOST_UBOOT_TOOLS_MAKE_OPTS = HOSTCC="$(HOSTCC)" \ + HOSTCFLAGS="$(HOST_CFLAGS)" \ + HOSTLDFLAGS="$(HOST_LDFLAGS)" \ + CONFIG_EFI_HAVE_CAPSULE_SUPPORT=y + +ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT),y) +HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT=y CONFIG_MKIMAGE_DTC_PATH=dtc +HOST_UBOOT_TOOLS_DEPENDENCIES += host-dtc +endif + +ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT),y) +HOST_UBOOT_TOOLS_MAKE_OPTS += CONFIG_FIT_SIGNATURE=y CONFIG_FIT_SIGNATURE_MAX_SIZE=0x10000000 +HOST_UBOOT_TOOLS_DEPENDENCIES += host-openssl +endif + +ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE),y) + +UBOOT_TOOLS_GENERATE_ENV_FILE = $(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE)) + +# If BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE is left empty, we +# will use the default environment provided in the U-Boot build +# directory as boot-env-defaults.txt, which requires having uboot as a +# dependency. +# If BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE is not empty, is +# might be referring to a file within the U-Boot source tree, so we +# also need to have uboot as a dependency. +ifeq ($(BR2_TARGET_UBOOT),y) +HOST_UBOOT_TOOLS_DEPENDENCIES += uboot + +# Handle the case where BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE +# is left empty, use the default U-Boot environment. +ifeq ($(UBOOT_TOOLS_GENERATE_ENV_FILE),) +UBOOT_TOOLS_GENERATE_ENV_FILE = $(@D)/boot-env-defaults.txt +define HOST_UBOOT_TOOLS_GENERATE_ENV_DEFAULTS + CROSS_COMPILE="$(TARGET_CROSS)" \ + $(UBOOT_SRCDIR)/scripts/get_default_envs.sh \ + $(UBOOT_SRCDIR) \ + > $(UBOOT_TOOLS_GENERATE_ENV_FILE) +endef +endif # UBOOT_TOOLS_GENERATE_ENV_FILE +endif # BR2_TARGET_UBOOT + +ifeq ($(BR_BUILDING),y) +ifeq ($(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE)),) +$(error Please provide U-Boot environment size (BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE setting)) +endif +# If U-Boot is not available, ENVIMAGE_SOURCE must be provided by user, +# otherwise it is optional because the default can be taken from U-Boot +ifeq ($(BR2_TARGET_UBOOT),) +ifeq ($(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE)),) +$(error Please provide U-Boot environment file (BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE setting)) +endif +endif #BR2_TARGET_UBOOT +endif #BR_BUILDING + +define HOST_UBOOT_TOOLS_GENERATE_ENVIMAGE + $(HOST_UBOOT_TOOLS_GENERATE_ENV_DEFAULTS) + cat $(UBOOT_TOOLS_GENERATE_ENV_FILE) | \ + $(@D)/tools/mkenvimage -s $(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE) \ + $(if $(BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_REDUNDANT),-r) \ + $(if $(filter "BIG",$(BR2_ENDIAN)),-b) \ + -o $(@D)/tools/uboot-env.bin \ + - +endef +define HOST_UBOOT_TOOLS_INSTALL_ENVIMAGE + $(INSTALL) -m 0755 -D $(@D)/tools/uboot-env.bin $(BINARIES_DIR)/uboot-env.bin +endef +endif #BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE + +ifeq ($(BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT),y) +ifeq ($(BR_BUILDING),y) +ifeq ($(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE)),) +$(error Please define a source file for U-Boot boot script (BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE setting)) +endif +endif #BR_BUILDING + +define HOST_UBOOT_TOOLS_GENERATE_BOOT_SCRIPT + $(@D)/tools/mkimage -C none -A $(MKIMAGE_ARCH) -T script \ + -d $(call qstrip,$(BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE)) \ + $(@D)/tools/boot.scr +endef +define HOST_UBOOT_TOOLS_INSTALL_BOOT_SCRIPT + $(INSTALL) -m 0755 -D $(@D)/tools/boot.scr $(BINARIES_DIR)/boot.scr +endef +endif #BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT + +define HOST_UBOOT_TOOLS_BUILD_CMDS + $(BR2_MAKE1) -C $(@D) $(HOST_UBOOT_TOOLS_MAKE_OPTS) tools-only + $(HOST_UBOOT_TOOLS_GENERATE_ENVIMAGE) + $(HOST_UBOOT_TOOLS_GENERATE_BOOT_SCRIPT) +endef + +define HOST_UBOOT_TOOLS_INSTALL_CMDS + $(INSTALL) -m 0755 -D $(@D)/tools/mkimage $(HOST_DIR)/bin/mkimage + $(INSTALL) -m 0755 -D $(@D)/tools/mkeficapsule $(HOST_DIR)/bin/mkeficapsule + $(INSTALL) -m 0755 -D $(@D)/tools/mkenvimage $(HOST_DIR)/bin/mkenvimage + $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(HOST_DIR)/bin/dumpimage + $(HOST_UBOOT_TOOLS_INSTALL_ENVIMAGE) + $(HOST_UBOOT_TOOLS_INSTALL_BOOT_SCRIPT) +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) + +# Convenience variables for other mk files that make use of mkimage + +MKIMAGE = $(HOST_DIR)/bin/mkimage + +# mkimage supports alpha arc arm arm64 blackfin ia64 invalid m68k microblaze mips mips64 nds32 nios2 or1k powerpc riscv s390 sandbox sh sparc sparc64 x86 x86_64 xtensa +# NORMALIZED_ARCH can be arm64 arc arm blackfin m68k microblaze mips nios2 powerpc sh sparc i386 x86_64 xtensa +# For i386, we need to convert +# For openrisc, we need to convert +# For others, we'll just keep NORMALIZED_ARCH +ifeq ($(NORMALIZED_ARCH),i386) +MKIMAGE_ARCH = x86 +else ifeq ($(NORMALIZED_ARCH),openrisc) +MKIMAGE_ARCH = or1k +else +MKIMAGE_ARCH = $(NORMALIZED_ARCH) +endif diff --git a/buildroot-2021.05/package/ubus/0001-Install-server-and-client-examples.patch b/buildroot-2022.02.1/package/ubus/0001-Install-server-and-client-examples.patch similarity index 100% rename from buildroot-2021.05/package/ubus/0001-Install-server-and-client-examples.patch rename to buildroot-2022.02.1/package/ubus/0001-Install-server-and-client-examples.patch diff --git a/buildroot-2021.05/package/ubus/Config.in b/buildroot-2022.02.1/package/ubus/Config.in similarity index 100% rename from buildroot-2021.05/package/ubus/Config.in rename to buildroot-2022.02.1/package/ubus/Config.in diff --git a/buildroot-2022.02.1/package/ubus/ubus.hash b/buildroot-2022.02.1/package/ubus/ubus.hash new file mode 100644 index 00000000..2b7181e5 --- /dev/null +++ b/buildroot-2022.02.1/package/ubus/ubus.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 275d184006f2f60c9b0172d8fd0ccc8952f182960c0d3d0945be640873c1bef6 ubus-a72457b61df045d3c499a6211362b751710590d7-br1.tar.gz +sha256 a3caa6c0e90c87b7c97c2ac3d0c0d416082ef777215faec2e9b24ea6e68f6988 ubusd_acl.h diff --git a/buildroot-2022.02.1/package/ubus/ubus.mk b/buildroot-2022.02.1/package/ubus/ubus.mk new file mode 100644 index 00000000..fa856fb3 --- /dev/null +++ b/buildroot-2022.02.1/package/ubus/ubus.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# ubus +# +################################################################################ + +UBUS_VERSION = a72457b61df045d3c499a6211362b751710590d7 +UBUS_SITE = https://git.openwrt.org/project/ubus.git +UBUS_SITE_METHOD = git + +UBUS_LICENSE = LGPL-2.1 +UBUS_LICENSE_FILES = ubusd_acl.h + +UBUS_INSTALL_STAGING = YES + +UBUS_DEPENDENCIES = json-c libubox + +# package only compiles with Lua 5.1 +ifeq ($(BR2_PACKAGE_LUA_5_1),y) +UBUS_DEPENDENCIES += lua +UBUS_CONF_OPTS += -DBUILD_LUA=ON \ + -DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include \ + -DLUAPATH=/usr/lib/lua/$(LUAINTERPRETER_ABIVER) +else +UBUS_CONF_OPTS += -DBUILD_LUA=OFF +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +UBUS_DEPENDENCIES += systemd +UBUS_CONF_OPTS += -DENABLE_SYSTEMD=ON +else +UBUS_CONF_OPTS += -DENABLE_SYSTEMD=OFF +endif + +ifeq ($(BR2_PACKAGE_UBUS_EXAMPLES),y) +UBUS_CONF_OPTS += -DBUILD_EXAMPLES=ON +else +UBUS_CONF_OPTS += -DBUILD_EXAMPLES=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/uccp420wlan/Config.in b/buildroot-2022.02.1/package/uccp420wlan/Config.in similarity index 100% rename from buildroot-2021.05/package/uccp420wlan/Config.in rename to buildroot-2022.02.1/package/uccp420wlan/Config.in diff --git a/buildroot-2021.05/package/uccp420wlan/uccp420wlan.hash b/buildroot-2022.02.1/package/uccp420wlan/uccp420wlan.hash similarity index 100% rename from buildroot-2021.05/package/uccp420wlan/uccp420wlan.hash rename to buildroot-2022.02.1/package/uccp420wlan/uccp420wlan.hash diff --git a/buildroot-2021.05/package/uccp420wlan/uccp420wlan.mk b/buildroot-2022.02.1/package/uccp420wlan/uccp420wlan.mk similarity index 100% rename from buildroot-2021.05/package/uccp420wlan/uccp420wlan.mk rename to buildroot-2022.02.1/package/uccp420wlan/uccp420wlan.mk diff --git a/buildroot-2021.05/package/ucl/ucl.hash b/buildroot-2022.02.1/package/ucl/ucl.hash similarity index 100% rename from buildroot-2021.05/package/ucl/ucl.hash rename to buildroot-2022.02.1/package/ucl/ucl.hash diff --git a/buildroot-2021.05/package/ucl/ucl.mk b/buildroot-2022.02.1/package/ucl/ucl.mk similarity index 100% rename from buildroot-2021.05/package/ucl/ucl.mk rename to buildroot-2022.02.1/package/ucl/ucl.mk diff --git a/buildroot-2021.05/package/uclibc-ng-test/Config.in b/buildroot-2022.02.1/package/uclibc-ng-test/Config.in similarity index 100% rename from buildroot-2021.05/package/uclibc-ng-test/Config.in rename to buildroot-2022.02.1/package/uclibc-ng-test/Config.in diff --git a/buildroot-2021.05/package/uclibc-ng-test/uclibc-ng-test.hash b/buildroot-2022.02.1/package/uclibc-ng-test/uclibc-ng-test.hash similarity index 100% rename from buildroot-2021.05/package/uclibc-ng-test/uclibc-ng-test.hash rename to buildroot-2022.02.1/package/uclibc-ng-test/uclibc-ng-test.hash diff --git a/buildroot-2021.05/package/uclibc-ng-test/uclibc-ng-test.mk b/buildroot-2022.02.1/package/uclibc-ng-test/uclibc-ng-test.mk similarity index 100% rename from buildroot-2021.05/package/uclibc-ng-test/uclibc-ng-test.mk rename to buildroot-2022.02.1/package/uclibc-ng-test/uclibc-ng-test.mk diff --git a/buildroot-2022.02.1/package/uclibc/Config.in b/buildroot-2022.02.1/package/uclibc/Config.in new file mode 100644 index 00000000..2091166b --- /dev/null +++ b/buildroot-2022.02.1/package/uclibc/Config.in @@ -0,0 +1,155 @@ +if BR2_TOOLCHAIN_BUILDROOT_UCLIBC + +comment "uClibc Options" + +config BR2_PACKAGE_UCLIBC + bool + default y + select BR2_PACKAGE_LINUX_HEADERS + +config BR2_UCLIBC_CONFIG + string "uClibc configuration file to use?" + default "package/uclibc/uClibc-ng.config" + help + Some people may wish to use their own modified uClibc + configuration file and will specify their config file + location with this option. See also docs/README in this + package. If unsure, use the default. + +config BR2_UCLIBC_CONFIG_FRAGMENT_FILES + string "Additional uClibc configuration fragment files" + help + A space-separated list of configuration fragment files, that + will be merged to the main uClibc configuration file. + +config BR2_TOOLCHAIN_BUILDROOT_WCHAR + bool "Enable WCHAR support" + select BR2_USE_WCHAR + help + Enable this option if you want your toolchain to support + wide characters (i.e characters longer than 8 bits, needed + for locale support). + +config BR2_TOOLCHAIN_BUILDROOT_LOCALE + bool "Enable toolchain locale/i18n support" + select BR2_TOOLCHAIN_BUILDROOT_WCHAR + select BR2_ENABLE_LOCALE + select BR2_NEEDS_HOST_UTF8_LOCALE + help + Enable this option if you want your toolchain to support + localization and internationalization. + +choice + prompt "Thread library implementation" + help + Use this option to select the thread library implementation + that should be used in your toolchain. + +config BR2_PTHREADS_NATIVE + bool "Native POSIX Threading (NPTL)" + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + +config BR2_PTHREADS + bool "linuxthreads" + depends on !BR2_aarch64 && !BR2_aarch64_be + depends on !BR2_RISCV_64 + select BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PTHREADS_NONE + bool "none" + +endchoice + +config BR2_PTHREAD_DEBUG + bool "Thread library debugging" + depends on BR2_PTHREADS || BR2_PTHREADS_NATIVE + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + help + Build the thread library with debugging enabled. + +config BR2_TOOLCHAIN_BUILDROOT_USE_SSP + bool "Enable stack protection support" + depends on BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI + select BR2_TOOLCHAIN_HAS_SSP + help + Enable stack smashing protection support using GCCs + -fstack-protector-all option in uClibc. + + See + http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt + for details. + +config BR2_UCLIBC_INSTALL_UTILS + bool "Compile and install uClibc utilities" + default y + help + Enabling this option will compile and install the getconf, + ldconfig and ldd uClibc utilities for the target. + + You can save ~32 KiB in target space by disabling them since + they're normally not needed. + +# Mapping from the Buildroot architecture configuration options to the +# uClibc architecture names. +config BR2_UCLIBC_TARGET_ARCH + string + default "arc" if BR2_arcle || BR2_arceb + default "arm" if BR2_arm || BR2_armeb + default "m68k" if BR2_m68k + default "microblaze" if BR2_microblaze + default "mips" if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + default "or1k" if BR2_or1k + default "powerpc" if BR2_powerpc + default "sh" if BR2_sh + default "sparc" if BR2_sparc + default "xtensa" if BR2_xtensa + default "i386" if BR2_i386 + default "x86_64" if BR2_x86_64 + default "riscv64" if BR2_RISCV_64 + +config BR2_UCLIBC_MIPS_ABI + string + default "O32" if BR2_MIPS_OABI32 + default "N32" if BR2_MIPS_NABI32 + default "N64" if BR2_MIPS_NABI64 + depends on BR2_UCLIBC_TARGET_ARCH = "mips" + +config BR2_UCLIBC_MIPS_NAN + string + default "LEGACY" if BR2_MIPS_NAN_LEGACY + default "2008" if BR2_MIPS_NAN_2008 + depends on BR2_UCLIBC_TARGET_ARCH = "mips" + +config BR2_UCLIBC_SH_TYPE + string + default "SH2A" if BR2_sh2a + default "SH4" if BR2_sh4 || BR2_sh4eb + depends on BR2_UCLIBC_TARGET_ARCH = "sh" + +config BR2_UCLIBC_SPARC_TYPE + string + default "V7" if BR2_sparc_v7 || BR2_sparc_sparchfleon || BR2_sparc_sparcsfleon + default "V8" if BR2_sparc_v8 || BR2_sparc_sparchfleonv8 || BR2_sparc_sparcsfleonv8 + depends on BR2_UCLIBC_TARGET_ARCH = "sparc" + +config BR2_UCLIBC_POWERPC_TYPE + string + default "CLASSIC" if !BR2_powerpc_8540 && !BR2_powerpc_8548 + default "E500" if BR2_powerpc_8540 || BR2_powerpc_8548 + depends on BR2_UCLIBC_TARGET_ARCH = "powerpc" + +config BR2_UCLIBC_X86_TYPE + string + default "486" if BR2_x86_i486 + default "586" if BR2_x86_i586 + default "586MMX" if BR2_x86_pentium_mmx + default "686" if BR2_x86_i686 || BR2_x86_pentiumpro + default "PENTIUMII" if BR2_x86_pentium2 + default "PENTIUMIII" if BR2_x86_pentium3 + default "PENTIUM4" if BR2_x86_pentium4 || BR2_x86_pentium_m || \ + BR2_x86_nocona || BR2_x86_core2 || BR2_x86_corei7 + depends on BR2_UCLIBC_TARGET_ARCH = "i386" + +endif # BR2_TOOLCHAIN_BUILDROOT_UCLIBC diff --git a/buildroot-2021.05/package/uclibc/uClibc-ng.config b/buildroot-2022.02.1/package/uclibc/uClibc-ng.config similarity index 100% rename from buildroot-2021.05/package/uclibc/uClibc-ng.config rename to buildroot-2022.02.1/package/uclibc/uClibc-ng.config diff --git a/buildroot-2022.02.1/package/uclibc/uclibc.hash b/buildroot-2022.02.1/package/uclibc/uclibc.hash new file mode 100644 index 00000000..989c9d88 --- /dev/null +++ b/buildroot-2022.02.1/package/uclibc/uclibc.hash @@ -0,0 +1,4 @@ +# From https://downloads.uclibc-ng.org/releases/1.0.40/uClibc-ng-1.0.40.tar.xz.sha256 +sha256 d863f01815a64174d5019c73475e8aff5b60848a13876e79daf5d3d83ce7f889 uClibc-ng-1.0.40.tar.xz +# Locally calculated +sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING.LIB diff --git a/buildroot-2022.02.1/package/uclibc/uclibc.mk b/buildroot-2022.02.1/package/uclibc/uclibc.mk new file mode 100644 index 00000000..d79eaa1d --- /dev/null +++ b/buildroot-2022.02.1/package/uclibc/uclibc.mk @@ -0,0 +1,469 @@ +################################################################################ +# +# uclibc +# +################################################################################ + +UCLIBC_VERSION = 1.0.40 +UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz +UCLIBC_SITE = https://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION) +UCLIBC_LICENSE = LGPL-2.1+ +UCLIBC_LICENSE_FILES = COPYING.LIB +UCLIBC_INSTALL_STAGING = YES +UCLIBC_CPE_ID_VENDOR = uclibc-ng_project +UCLIBC_CPE_ID_PRODUCT = uclibc-ng + +# uclibc is part of the toolchain so disable the toolchain dependency +UCLIBC_ADD_TOOLCHAIN_DEPENDENCY = NO + +# Before uClibc is configured, we must have the first stage +# cross-compiler and the kernel headers +UCLIBC_DEPENDENCIES = host-gcc-initial linux-headers + +# specifying UCLIBC_CONFIG_FILE on the command-line overrides the .config +# setting. +ifndef UCLIBC_CONFIG_FILE +UCLIBC_CONFIG_FILE = $(call qstrip,$(BR2_UCLIBC_CONFIG)) +endif + +UCLIBC_KCONFIG_EDITORS = menuconfig nconfig +UCLIBC_KCONFIG_FILE = $(UCLIBC_CONFIG_FILE) +UCLIBC_KCONFIG_FRAGMENT_FILES = $(call qstrip,$(BR2_UCLIBC_CONFIG_FRAGMENT_FILES)) + +# UCLIBC_MAKE_FLAGS set HOSTCC to the default HOSTCC, which may be +# wrapped with ccache. However, host-ccache may not already be built +# and installed when we apply the configuration, so we override that +# to use the non-ccached host compiler. +UCLIBC_KCONFIG_OPTS = \ + $(UCLIBC_MAKE_FLAGS) \ + HOSTCC="$(HOSTCC_NOCCACHE)" \ + PREFIX=$(STAGING_DIR) \ + DEVEL_PREFIX=/usr/ \ + RUNTIME_PREFIX=$(STAGING_DIR)/ + +UCLIBC_TARGET_ARCH = $(call qstrip,$(BR2_UCLIBC_TARGET_ARCH)) + +UCLIBC_GENERATE_LOCALES = $(call qstrip,$(BR2_GENERATE_LOCALE)) + +ifeq ($(UCLIBC_GENERATE_LOCALES),) +# We need at least one locale +UCLIBC_LOCALES = en_US +else +# Strip out the encoding part of locale names, if any +UCLIBC_LOCALES = \ + $(foreach locale,$(UCLIBC_GENERATE_LOCALES),\ + $(firstword $(subst .,$(space),$(locale)))) +endif + +# noMMU binary formats +ifeq ($(BR2_BINFMT_FLAT_ONE),y) +define UCLIBC_BINFMT_CONFIG + $(call KCONFIG_ENABLE_OPT,UCLIBC_FORMAT_FLAT) + $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT_SEP_DATA) + $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_SHARED_FLAT) + $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF) +endef +endif +ifeq ($(BR2_BINFMT_FLAT_SHARED),y) +define UCLIBC_BINFMT_CONFIG + $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT) + $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FLAT_SEP_DATA) + $(call KCONFIG_ENABLE_OPT,UCLIBC_FORMAT_SHARED_FLAT) + $(call KCONFIG_DISABLE_OPT,UCLIBC_FORMAT_FDPIC_ELF) +endef +endif + +# +# ARC definitions +# + +ifeq ($(UCLIBC_TARGET_ARCH),arc) +UCLIBC_ARC_PAGE_SIZE = CONFIG_ARC_PAGE_SIZE_$(call qstrip,$(BR2_ARC_PAGE_SIZE)) +define UCLIBC_ARC_PAGE_SIZE_CONFIG + $(SED) '/CONFIG_ARC_PAGE_SIZE_*/d' $(@D)/.config + $(call KCONFIG_ENABLE_OPT,$(UCLIBC_ARC_PAGE_SIZE)) +endef + +ifeq ($(BR2_ARC_ATOMIC_EXT),) +define UCLIBC_ARC_ATOMICS_CONFIG + $(call KCONFIG_DISABLE_OPT,CONFIG_ARC_HAS_ATOMICS) +endef +endif + +endif # arc + +# +# ARM definitions +# + +ifeq ($(UCLIBC_TARGET_ARCH),arm) +define UCLIBC_ARM_ABI_CONFIG + $(SED) '/CONFIG_ARM_.ABI/d' $(@D)/.config + $(call KCONFIG_ENABLE_OPT,CONFIG_ARM_EABI) +endef + +ifeq ($(BR2_BINFMT_FLAT),y) +define UCLIBC_ARM_BINFMT_FLAT + $(call KCONFIG_DISABLE_OPT,DOPIC) +endef +endif + +# context functions are written with ARM instructions. Therefore, if +# we are using a Thumb2-only platform (i.e, Cortex-M), they must be +# disabled. Thumb1 platforms are not a problem, since they all also +# support the ARM instructions. +ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB2):$(BR2_ARM_CPU_HAS_ARM),y:) +define UCLIBC_ARM_NO_CONTEXT_FUNCS + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_CONTEXT_FUNCS) +endef +endif + +endif # arm + +# +# m68k/coldfire definitions +# + +ifeq ($(UCLIBC_TARGET_ARCH),m68k) + +# disable DOPIC for flat without separate data +ifeq ($(BR2_BINFMT_FLAT_ONE),y) +define UCLIBC_M68K_BINFMT_FLAT + $(call KCONFIG_DISABLE_OPT,DOPIC) +endef +endif + +endif # m68k/coldfire + +# +# MIPS definitions +# + +ifeq ($(UCLIBC_TARGET_ARCH),mips) +UCLIBC_MIPS_ABI = CONFIG_MIPS_$(call qstrip,$(BR2_UCLIBC_MIPS_ABI))_ABI +define UCLIBC_MIPS_ABI_CONFIG + $(SED) '/CONFIG_MIPS_[NO].._ABI/d' $(@D)/.config + $(call KCONFIG_ENABLE_OPT,$(UCLIBC_MIPS_ABI)) +endef + +UCLIBC_MIPS_NAN = CONFIG_MIPS_NAN_$(call qstrip,$(BR2_UCLIBC_MIPS_NAN)) +define UCLIBC_MIPS_NAN_CONFIG + $(SED) '/CONFIG_MIPS_NAN_.*/d' $(@D)/.config + $(call KCONFIG_ENABLE_OPT,$(UCLIBC_MIPS_NAN)) +endef +endif # mips + +# +# SH definitions +# + +ifeq ($(UCLIBC_TARGET_ARCH),sh) +UCLIBC_SH_TYPE = CONFIG_$(call qstrip,$(BR2_UCLIBC_SH_TYPE)) +define UCLIBC_SH_TYPE_CONFIG + $(SED) '/CONFIG_SH[234A]*/d' $(@D)/.config + $(call KCONFIG_ENABLE_OPT,$(UCLIBC_SH_TYPE)) +endef +endif # sh + +# +# SPARC definitions +# + +ifeq ($(UCLIBC_TARGET_ARCH),sparc) +UCLIBC_SPARC_TYPE = CONFIG_SPARC_$(call qstrip,$(BR2_UCLIBC_SPARC_TYPE)) +define UCLIBC_SPARC_TYPE_CONFIG + $(SED) 's/^\(CONFIG_[^_]*[_]*SPARC[^=]*\)=.*/# \1 is not set/g' \ + $(@D)/.config + $(call KCONFIG_ENABLE_OPT,$(UCLIBC_SPARC_TYPE)) +endef +endif # sparc + +# +# PowerPC definitions +# + +ifeq ($(UCLIBC_TARGET_ARCH),powerpc) +UCLIBC_POWERPC_TYPE = CONFIG_$(call qstrip,$(BR2_UCLIBC_POWERPC_TYPE)) +define UCLIBC_POWERPC_TYPE_CONFIG + $(call KCONFIG_DISABLE_OPT,CONFIG_GENERIC) + $(call KCONFIG_DISABLE_OPT,CONFIG_E500) + $(call KCONFIG_ENABLE_OPT,$(UCLIBC_POWERPC_TYPE)) +endef +endif # powerpc + +# +# x86 definitions +# +ifeq ($(UCLIBC_TARGET_ARCH),i386) +UCLIBC_X86_TYPE = CONFIG_$(call qstrip,$(BR2_UCLIBC_X86_TYPE)) +define UCLIBC_X86_TYPE_CONFIG + $(call KCONFIG_ENABLE_OPT,$(UCLIBC_X86_TYPE)) +endef +endif + +# +# Debug +# +ifeq ($(BR2_ENABLE_DEBUG),y) +define UCLIBC_DEBUG_CONFIG + $(call KCONFIG_ENABLE_OPT,DODEBUG) +endef +endif + +# +# Endianness +# + +ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG) +define UCLIBC_ENDIAN_CONFIG + $(call KCONFIG_ENABLE_OPT,ARCH_BIG_ENDIAN) + $(call KCONFIG_ENABLE_OPT,ARCH_WANTS_BIG_ENDIAN) + $(call KCONFIG_DISABLE_OPT,ARCH_LITTLE_ENDIAN) + $(call KCONFIG_DISABLE_OPT,ARCH_WANTS_LITTLE_ENDIAN) +endef +else +define UCLIBC_ENDIAN_CONFIG + $(call KCONFIG_ENABLE_OPT,ARCH_LITTLE_ENDIAN) + $(call KCONFIG_ENABLE_OPT,ARCH_WANTS_LITTLE_ENDIAN) + $(call KCONFIG_DISABLE_OPT,ARCH_BIG_ENDIAN) + $(call KCONFIG_DISABLE_OPT,ARCH_WANTS_BIG_ENDIAN) +endef +endif + +# +# MMU +# + +ifeq ($(BR2_USE_MMU),y) +define UCLIBC_MMU_CONFIG + $(call KCONFIG_ENABLE_OPT,ARCH_HAS_MMU) + $(call KCONFIG_ENABLE_OPT,ARCH_USE_MMU) +endef +else +define UCLIBC_MMU_CONFIG + $(call KCONFIG_DISABLE_OPT,ARCH_HAS_MMU) + $(call KCONFIG_DISABLE_OPT,ARCH_USE_MMU) +endef +endif + +# +# IPv6 +# + +UCLIBC_IPV6_CONFIG = $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_IPV6) + +# +# soft-float +# + +ifeq ($(BR2_SOFT_FLOAT),y) +define UCLIBC_FLOAT_CONFIG + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_FPU) + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_FLOATS) + $(call KCONFIG_ENABLE_OPT,DO_C99_MATH) +endef +else +define UCLIBC_FLOAT_CONFIG + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_FPU) + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_FLOATS) +endef +endif + +# +# SSP +# +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_USE_SSP),y) +define UCLIBC_SSP_CONFIG + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_SSP) + $(call KCONFIG_ENABLE_OPT,UCLIBC_BUILD_SSP) +endef +else +define UCLIBC_SSP_CONFIG + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_SSP) + $(call KCONFIG_DISABLE_OPT,UCLIBC_BUILD_SSP) +endef +endif + +# +# Threads +# +ifeq ($(BR2_PTHREADS_NONE),y) +define UCLIBC_THREAD_CONFIG + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_THREADS) + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_LINUXTHREADS) + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_THREADS_NATIVE) +endef +else ifeq ($(BR2_PTHREADS),y) +define UCLIBC_THREAD_CONFIG + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_THREADS) + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_LINUXTHREADS) + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_THREADS_NATIVE) +endef +else ifeq ($(BR2_PTHREADS_NATIVE),y) +define UCLIBC_THREAD_CONFIG + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_THREADS) + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_LINUXTHREADS) + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_THREADS_NATIVE) +endef +endif + +# +# Thread debug +# + +ifeq ($(BR2_PTHREAD_DEBUG),y) +UCLIBC_THREAD_DEBUG_CONFIG = $(call KCONFIG_ENABLE_OPT,PTHREADS_DEBUG_SUPPORT) +else +UCLIBC_THREAD_DEBUG_CONFIG = $(call KCONFIG_DISABLE_OPT,PTHREADS_DEBUG_SUPPORT) +endif + +# +# Locale +# + +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_LOCALE),y) +define UCLIBC_LOCALE_CONFIG + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_LOCALE) + $(call KCONFIG_DISABLE_OPT,UCLIBC_BUILD_ALL_LOCALE) + $(call KCONFIG_ENABLE_OPT,UCLIBC_BUILD_MINIMAL_LOCALE) + $(call KCONFIG_SET_OPT,UCLIBC_BUILD_MINIMAL_LOCALES,"$(UCLIBC_LOCALES)") + $(call KCONFIG_DISABLE_OPT,UCLIBC_PREGENERATED_LOCALE_DATA) + $(call KCONFIG_DISABLE_OPT,DOWNLOAD_PREGENERATED_LOCALE_DATA) + $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_XLOCALE) + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_GLIBC_DIGIT_GROUPING) +endef +else +define UCLIBC_LOCALE_CONFIG + $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_LOCALE) +endef +endif + +# +# wchar +# + +ifeq ($(BR2_TOOLCHAIN_BUILDROOT_WCHAR),y) +UCLIBC_WCHAR_CONFIG = $(call KCONFIG_ENABLE_OPT,UCLIBC_HAS_WCHAR) +else +UCLIBC_WCHAR_CONFIG = $(call KCONFIG_DISABLE_OPT,UCLIBC_HAS_WCHAR) +endif + +# +# static/shared libs +# + +ifeq ($(BR2_STATIC_LIBS),y) +UCLIBC_SHARED_LIBS_CONFIG = $(call KCONFIG_DISABLE_OPT,HAVE_SHARED) +else +UCLIBC_SHARED_LIBS_CONFIG = $(call KCONFIG_ENABLE_OPT,HAVE_SHARED) +endif + +# +# Commands +# + +UCLIBC_EXTRA_CFLAGS = $(TARGET_ABI) + +# uClibc-ng does not build with LTO, so explicitly disable it +# when using a compiler that may have support for LTO +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_7),y) +UCLIBC_EXTRA_CFLAGS += -fno-lto +endif + +UCLIBC_MAKE_FLAGS = \ + ARCH="$(UCLIBC_TARGET_ARCH)" \ + CROSS_COMPILE="$(TARGET_CROSS)" \ + UCLIBC_EXTRA_CFLAGS="$(UCLIBC_EXTRA_CFLAGS)" \ + HOSTCC="$(HOSTCC)" + +define UCLIBC_KCONFIG_FIXUP_CMDS + $(call KCONFIG_SET_OPT,CROSS_COMPILER_PREFIX,"$(TARGET_CROSS)") + $(call KCONFIG_ENABLE_OPT,TARGET_$(UCLIBC_TARGET_ARCH)) + $(call KCONFIG_SET_OPT,TARGET_ARCH,"$(UCLIBC_TARGET_ARCH)") + $(call KCONFIG_SET_OPT,KERNEL_HEADERS,"$(LINUX_HEADERS_DIR)/usr/include") + $(call KCONFIG_SET_OPT,RUNTIME_PREFIX,"/") + $(call KCONFIG_SET_OPT,DEVEL_PREFIX,"/usr") + $(call KCONFIG_SET_OPT,SHARED_LIB_LOADER_PREFIX,"/lib") + $(UCLIBC_MMU_CONFIG) + $(UCLIBC_BINFMT_CONFIG) + $(UCLIBC_ARC_PAGE_SIZE_CONFIG) + $(UCLIBC_ARC_ATOMICS_CONFIG) + $(UCLIBC_ARM_ABI_CONFIG) + $(UCLIBC_ARM_BINFMT_FLAT) + $(UCLIBC_ARM_NO_CONTEXT_FUNCS) + $(UCLIBC_M68K_BINFMT_FLAT) + $(UCLIBC_MIPS_ABI_CONFIG) + $(UCLIBC_MIPS_NAN_CONFIG) + $(UCLIBC_SH_TYPE_CONFIG) + $(UCLIBC_SPARC_TYPE_CONFIG) + $(UCLIBC_POWERPC_TYPE_CONFIG) + $(UCLIBC_X86_TYPE_CONFIG) + $(UCLIBC_DEBUG_CONFIG) + $(UCLIBC_ENDIAN_CONFIG) + $(UCLIBC_IPV6_CONFIG) + $(UCLIBC_FLOAT_CONFIG) + $(UCLIBC_SSP_CONFIG) + $(UCLIBC_THREAD_CONFIG) + $(UCLIBC_THREAD_DEBUG_CONFIG) + $(UCLIBC_LOCALE_CONFIG) + $(UCLIBC_WCHAR_CONFIG) + $(UCLIBC_SHARED_LIBS_CONFIG) +endef + +define UCLIBC_BUILD_CMDS + $(MAKE) -C $(@D) $(UCLIBC_MAKE_FLAGS) headers + $(MAKE) -C $(@D) $(UCLIBC_MAKE_FLAGS) + $(MAKE) -C $(@D)/utils \ + PREFIX=$(HOST_DIR) \ + HOSTCC="$(HOSTCC)" hostutils +endef + +ifeq ($(BR2_UCLIBC_INSTALL_UTILS),y) +define UCLIBC_INSTALL_UTILS_TARGET + $(MAKE1) -C $(@D) \ + CC="$(TARGET_CC)" CPP="$(TARGET_CPP)" LD="$(TARGET_LD)" \ + ARCH="$(UCLIBC_TARGET_ARCH)" \ + PREFIX=$(TARGET_DIR) \ + utils install_utils +endef +endif + +define UCLIBC_INSTALL_TARGET_CMDS + $(MAKE1) -C $(@D) \ + $(UCLIBC_MAKE_FLAGS) \ + PREFIX=$(TARGET_DIR) \ + DEVEL_PREFIX=/usr/ \ + RUNTIME_PREFIX=/ \ + install_runtime + $(UCLIBC_INSTALL_UTILS_TARGET) +endef + +# STATIC has no ld* tools, only getconf +ifeq ($(BR2_STATIC_LIBS),) +define UCLIBC_INSTALL_UTILS_STAGING + $(INSTALL) -D -m 0755 $(@D)/utils/ldd.host $(HOST_DIR)/bin/ldd + ln -sf ldd $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-ldd + $(INSTALL) -D -m 0755 $(@D)/utils/ldconfig.host $(HOST_DIR)/bin/ldconfig + ln -sf ldconfig $(HOST_DIR)/bin/$(GNU_TARGET_NAME)-ldconfig +endef +endif + +define UCLIBC_INSTALL_STAGING_CMDS + $(MAKE1) -C $(@D) \ + $(UCLIBC_MAKE_FLAGS) \ + PREFIX=$(STAGING_DIR) \ + DEVEL_PREFIX=/usr/ \ + RUNTIME_PREFIX=/ \ + install_runtime install_dev + $(UCLIBC_INSTALL_UTILS_STAGING) +endef + +# Checks to give errors that the user can understand +# Must be before we call to kconfig-package +ifeq ($(BR2_PACKAGE_UCLIBC)$(BR_BUILDING),yy) +ifeq ($(call qstrip,$(BR2_UCLIBC_CONFIG)),) +$(error No uClibc configuration file specified, check your BR2_UCLIBC_CONFIG setting) +endif +endif + +$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/package/udev-gentoo-scripts/Config.in b/buildroot-2022.02.1/package/udev-gentoo-scripts/Config.in similarity index 100% rename from buildroot-2021.05/package/udev-gentoo-scripts/Config.in rename to buildroot-2022.02.1/package/udev-gentoo-scripts/Config.in diff --git a/buildroot-2021.05/package/udev-gentoo-scripts/udev-gentoo-scripts.hash b/buildroot-2022.02.1/package/udev-gentoo-scripts/udev-gentoo-scripts.hash similarity index 100% rename from buildroot-2021.05/package/udev-gentoo-scripts/udev-gentoo-scripts.hash rename to buildroot-2022.02.1/package/udev-gentoo-scripts/udev-gentoo-scripts.hash diff --git a/buildroot-2021.05/package/udev-gentoo-scripts/udev-gentoo-scripts.mk b/buildroot-2022.02.1/package/udev-gentoo-scripts/udev-gentoo-scripts.mk similarity index 100% rename from buildroot-2021.05/package/udev-gentoo-scripts/udev-gentoo-scripts.mk rename to buildroot-2022.02.1/package/udev-gentoo-scripts/udev-gentoo-scripts.mk diff --git a/buildroot-2021.05/package/udev/Config.in b/buildroot-2022.02.1/package/udev/Config.in similarity index 100% rename from buildroot-2021.05/package/udev/Config.in rename to buildroot-2022.02.1/package/udev/Config.in diff --git a/buildroot-2021.05/package/udev/udev.mk b/buildroot-2022.02.1/package/udev/udev.mk similarity index 100% rename from buildroot-2021.05/package/udev/udev.mk rename to buildroot-2022.02.1/package/udev/udev.mk diff --git a/buildroot-2021.05/package/udftools/Config.in b/buildroot-2022.02.1/package/udftools/Config.in similarity index 100% rename from buildroot-2021.05/package/udftools/Config.in rename to buildroot-2022.02.1/package/udftools/Config.in diff --git a/buildroot-2021.05/package/udftools/udftools.hash b/buildroot-2022.02.1/package/udftools/udftools.hash similarity index 100% rename from buildroot-2021.05/package/udftools/udftools.hash rename to buildroot-2022.02.1/package/udftools/udftools.hash diff --git a/buildroot-2021.05/package/udftools/udftools.mk b/buildroot-2022.02.1/package/udftools/udftools.mk similarity index 100% rename from buildroot-2021.05/package/udftools/udftools.mk rename to buildroot-2022.02.1/package/udftools/udftools.mk diff --git a/buildroot-2022.02.1/package/udisks/Config.in b/buildroot-2022.02.1/package/udisks/Config.in new file mode 100644 index 00000000..82f11ae7 --- /dev/null +++ b/buildroot-2022.02.1/package/udisks/Config.in @@ -0,0 +1,47 @@ +config BR2_PACKAGE_UDISKS + bool "udisks" + depends on BR2_ENABLE_LOCALE # parted + depends on BR2_PACKAGE_HAS_UDEV + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # polkit -> C++17 + depends on BR2_TOOLCHAIN_HAS_THREADS # polkit + depends on BR2_USE_WCHAR # dbus-glib -> glib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libblockdev -> cryptsetup -> json-c + depends on !BR2_STATIC_LIBS # polkit -> duktape + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_DBUS_GLIB + select BR2_PACKAGE_LIBATASMART + select BR2_PACKAGE_LIBBLOCKDEV + select BR2_PACKAGE_LIBBLOCKDEV_CRYPTO + select BR2_PACKAGE_LIBBLOCKDEV_FS + select BR2_PACKAGE_LIBBLOCKDEV_LOOP + select BR2_PACKAGE_LIBBLOCKDEV_MDRAID + select BR2_PACKAGE_LIBBLOCKDEV_PART + select BR2_PACKAGE_LIBBLOCKDEV_SWAP + select BR2_PACKAGE_LIBGUDEV + select BR2_PACKAGE_PARTED + select BR2_PACKAGE_POLKIT + select BR2_PACKAGE_SG3_UTILS + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + help + The udisks project provides + + o A storage daemon that implements well-defined D-Bus + interfaces that can be used to query and manipulate + storage devices. + + o a command-line tool, udisks(1), that can be used to query + and use the daemon + + http://www.freedesktop.org/wiki/Software/udisks + +comment "udisks needs udev /dev management" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_HAS_UDEV + +comment "udisks needs a toolchain with dynamic library, locale, wchar, threads, gcc >= 7" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS || !BR2_ENABLE_LOCALE || \ + !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 diff --git a/buildroot-2022.02.1/package/udisks/udisks.hash b/buildroot-2022.02.1/package/udisks/udisks.hash new file mode 100644 index 00000000..ade4982a --- /dev/null +++ b/buildroot-2022.02.1/package/udisks/udisks.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b6b60ebab0d5e09624120c5d158882e87d8c2473db60783b63deeba74cb18d1c udisks-2.9.4.tar.bz2 +sha256 98046e932dc6c739001e79d7079a3bd958fc55475dcd917d27f884c0c93525cc COPYING diff --git a/buildroot-2022.02.1/package/udisks/udisks.mk b/buildroot-2022.02.1/package/udisks/udisks.mk new file mode 100644 index 00000000..2bf519a2 --- /dev/null +++ b/buildroot-2022.02.1/package/udisks/udisks.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# udisks +# +################################################################################ + +UDISKS_VERSION = 2.9.4 +UDISKS_SOURCE = udisks-$(UDISKS_VERSION).tar.bz2 +UDISKS_SITE = https://github.com/storaged-project/udisks/releases/download/udisks-$(UDISKS_VERSION) +UDISKS_LICENSE = GPL-2.0+ +UDISKS_LICENSE_FILES = COPYING +UDISKS_CPE_ID_VENDOR = freedesktop + +UDISKS_DEPENDENCIES = \ + host-pkgconf \ + dbus \ + dbus-glib \ + libatasmart \ + libblockdev \ + libgudev \ + parted \ + polkit \ + sg3_utils \ + udev \ + util-linux + +UDISKS_CONF_OPTS = \ + --disable-acl \ + --disable-bcache \ + --disable-btrfs \ + --disable-fhs-media \ + --disable-introspection \ + --disable-iscsi \ + --disable-lsm \ + --disable-lvm2 \ + --disable-lvmcache \ + --disable-man \ + --disable-rpath \ + --disable-vdo \ + --disable-zram + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/udpcast/Config.in b/buildroot-2022.02.1/package/udpcast/Config.in new file mode 100644 index 00000000..cc38c6e5 --- /dev/null +++ b/buildroot-2022.02.1/package/udpcast/Config.in @@ -0,0 +1,29 @@ +comment "udpcast needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_UDPCAST + bool "udpcast" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UDPCAST_SENDER \ + if !BR2_PACKAGE_UDPCAST_RECEIVER + help + A multicast protocol implementation which happens to + be very handy for imaging drives over the network. + + http://www.udpcast.linux.lu/ + +if BR2_PACKAGE_UDPCAST + +config BR2_PACKAGE_UDPCAST_SENDER + bool "sender" + help + The udpcast transmitter. + +config BR2_PACKAGE_UDPCAST_RECEIVER + bool "receiver" + help + The udpcast receiver. + +endif diff --git a/buildroot-2021.05/package/udpcast/udpcast.hash b/buildroot-2022.02.1/package/udpcast/udpcast.hash similarity index 100% rename from buildroot-2021.05/package/udpcast/udpcast.hash rename to buildroot-2022.02.1/package/udpcast/udpcast.hash diff --git a/buildroot-2022.02.1/package/udpcast/udpcast.mk b/buildroot-2022.02.1/package/udpcast/udpcast.mk new file mode 100644 index 00000000..4c151bb4 --- /dev/null +++ b/buildroot-2022.02.1/package/udpcast/udpcast.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# udpcast +# +################################################################################ + +UDPCAST_VERSION = 20200328 +UDPCAST_SITE = http://www.udpcast.linux.lu/download +UDPCAST_DEPENDENCIES = host-m4 +UDPCAST_LICENSE = BSD-2-Clause, GPL-2.0+ +UDPCAST_LICENSE_FILES = COPYING +UDPCAST_TARGETS = \ + $(if $(BR2_PACKAGE_UDPCAST_RECEIVER),udp-receiver) \ + $(if $(BR2_PACKAGE_UDPCAST_SENDER),udp-sender) +UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) + +define UDPCAST_INSTALL_TARGET_CMDS + $(foreach f,$(UDPCAST_TARGETS),\ + $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) + ) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/udpxy/Config.in b/buildroot-2022.02.1/package/udpxy/Config.in similarity index 100% rename from buildroot-2021.05/package/udpxy/Config.in rename to buildroot-2022.02.1/package/udpxy/Config.in diff --git a/buildroot-2021.05/package/udpxy/udpxy.hash b/buildroot-2022.02.1/package/udpxy/udpxy.hash similarity index 100% rename from buildroot-2021.05/package/udpxy/udpxy.hash rename to buildroot-2022.02.1/package/udpxy/udpxy.hash diff --git a/buildroot-2021.05/package/udpxy/udpxy.mk b/buildroot-2022.02.1/package/udpxy/udpxy.mk similarity index 100% rename from buildroot-2021.05/package/udpxy/udpxy.mk rename to buildroot-2022.02.1/package/udpxy/udpxy.mk diff --git a/buildroot-2021.05/package/uemacs/01-clear-ixon-termios-flag.patch b/buildroot-2022.02.1/package/uemacs/01-clear-ixon-termios-flag.patch similarity index 100% rename from buildroot-2021.05/package/uemacs/01-clear-ixon-termios-flag.patch rename to buildroot-2022.02.1/package/uemacs/01-clear-ixon-termios-flag.patch diff --git a/buildroot-2021.05/package/uemacs/Config.in b/buildroot-2022.02.1/package/uemacs/Config.in similarity index 100% rename from buildroot-2021.05/package/uemacs/Config.in rename to buildroot-2022.02.1/package/uemacs/Config.in diff --git a/buildroot-2021.05/package/uemacs/uemacs.hash b/buildroot-2022.02.1/package/uemacs/uemacs.hash similarity index 100% rename from buildroot-2021.05/package/uemacs/uemacs.hash rename to buildroot-2022.02.1/package/uemacs/uemacs.hash diff --git a/buildroot-2021.05/package/uemacs/uemacs.mk b/buildroot-2022.02.1/package/uemacs/uemacs.mk similarity index 100% rename from buildroot-2021.05/package/uemacs/uemacs.mk rename to buildroot-2022.02.1/package/uemacs/uemacs.mk diff --git a/buildroot-2021.05/package/uftp/Config.in b/buildroot-2022.02.1/package/uftp/Config.in similarity index 100% rename from buildroot-2021.05/package/uftp/Config.in rename to buildroot-2022.02.1/package/uftp/Config.in diff --git a/buildroot-2021.05/package/uftp/uftp.hash b/buildroot-2022.02.1/package/uftp/uftp.hash similarity index 100% rename from buildroot-2021.05/package/uftp/uftp.hash rename to buildroot-2022.02.1/package/uftp/uftp.hash diff --git a/buildroot-2021.05/package/uftp/uftp.mk b/buildroot-2022.02.1/package/uftp/uftp.mk similarity index 100% rename from buildroot-2021.05/package/uftp/uftp.mk rename to buildroot-2022.02.1/package/uftp/uftp.mk diff --git a/buildroot-2021.05/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch b/buildroot-2022.02.1/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch similarity index 100% rename from buildroot-2021.05/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch rename to buildroot-2022.02.1/package/uftrace/0001-cmds-records-replace-ADDR_NO_RANDOMIZE-by-its-value.patch diff --git a/buildroot-2021.05/package/uftrace/0002-arch-arm-mcount-support.c-define-EF_ARM_VFP_FLOAT-wh.patch b/buildroot-2022.02.1/package/uftrace/0002-arch-arm-mcount-support.c-define-EF_ARM_VFP_FLOAT-wh.patch similarity index 100% rename from buildroot-2021.05/package/uftrace/0002-arch-arm-mcount-support.c-define-EF_ARM_VFP_FLOAT-wh.patch rename to buildroot-2022.02.1/package/uftrace/0002-arch-arm-mcount-support.c-define-EF_ARM_VFP_FLOAT-wh.patch diff --git a/buildroot-2021.05/package/uftrace/Config.in b/buildroot-2022.02.1/package/uftrace/Config.in similarity index 100% rename from buildroot-2021.05/package/uftrace/Config.in rename to buildroot-2022.02.1/package/uftrace/Config.in diff --git a/buildroot-2022.02.1/package/uftrace/uftrace.hash b/buildroot-2022.02.1/package/uftrace/uftrace.hash new file mode 100644 index 00000000..43831d72 --- /dev/null +++ b/buildroot-2022.02.1/package/uftrace/uftrace.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b8b56d540ea95c3eafe56440d6a998e0a140d53ca2584916b6ca82702795bbd9 uftrace-0.10.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/uftrace/uftrace.mk b/buildroot-2022.02.1/package/uftrace/uftrace.mk new file mode 100644 index 00000000..b487b306 --- /dev/null +++ b/buildroot-2022.02.1/package/uftrace/uftrace.mk @@ -0,0 +1,60 @@ +################################################################################ +# +# uftrace +# +################################################################################ + +UFTRACE_VERSION = 0.10 +UFTRACE_SITE = $(call github,namhyung,uftrace,v$(UFTRACE_VERSION)) +UFTRACE_LICENSE = GPL-2.0 +UFTRACE_LICENSE_FILES = COPYING +UFTRACE_CONFIGURE_OPTS = \ + --without-libdw \ + --without-libpython \ + --without-libluajit \ + --without-libncurses \ + --without-capstone + +ifeq ($(BR2_i386),y) +UFTRACE_ARCH = i386 +else +UFTRACE_ARCH = $(BR2_ARCH) +endif + +# Only --without- options are supported. +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +UFTRACE_DEPENDENCIES += elfutils +else +UFTRACE_CONFIGURE_OPTS += --without-libelf +endif + +ifeq ($(BR2_INSTALL_LIBSTDCPP),) +UFTRACE_CONFIGURE_OPTS += --without-libstdc++ +endif + +UFTRACE_LDFLAGS = $(TARGET_LDFLAGS) + +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +UFTRACE_DEPENDENCIES += argp-standalone +UFTRACE_LDFLAGS += -largp +endif + +define UFTRACE_CONFIGURE_CMDS + (cd $(@D); $(TARGET_CONFIGURE_OPTS) \ + LDFLAGS="$(UFTRACE_LDFLAGS)" \ + ./configure \ + --arch=$(UFTRACE_ARCH) \ + --prefix=/usr \ + $(UFTRACE_CONFIGURE_OPTS) \ + -o $(@D)/.config) +endef + +define UFTRACE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define UFTRACE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch b/buildroot-2022.02.1/package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch similarity index 100% rename from buildroot-2021.05/package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch rename to buildroot-2022.02.1/package/uhd/0001-host-CMakeLists-add-boost-unit_test_framework-requir.patch diff --git a/buildroot-2021.05/package/uhd/0002-host-fix-build-boost-173.patch b/buildroot-2022.02.1/package/uhd/0002-host-fix-build-boost-173.patch similarity index 100% rename from buildroot-2021.05/package/uhd/0002-host-fix-build-boost-173.patch rename to buildroot-2022.02.1/package/uhd/0002-host-fix-build-boost-173.patch diff --git a/buildroot-2021.05/package/uhd/0003-add-RISC-V-endian-detection.patch b/buildroot-2022.02.1/package/uhd/0003-add-RISC-V-endian-detection.patch similarity index 100% rename from buildroot-2021.05/package/uhd/0003-add-RISC-V-endian-detection.patch rename to buildroot-2022.02.1/package/uhd/0003-add-RISC-V-endian-detection.patch diff --git a/buildroot-2022.02.1/package/uhd/0004-lib-Fix-missing-includes-in-rpc-hpp.patch b/buildroot-2022.02.1/package/uhd/0004-lib-Fix-missing-includes-in-rpc-hpp.patch new file mode 100644 index 00000000..b287beec --- /dev/null +++ b/buildroot-2022.02.1/package/uhd/0004-lib-Fix-missing-includes-in-rpc-hpp.patch @@ -0,0 +1,28 @@ +From 9c4d9d826a6f40f199c526afd5ec168d5d088591 Mon Sep 17 00:00:00 2001 +From: Martin Braun +Date: Fri, 29 Jan 2021 12:23:50 +0100 +Subject: [PATCH] lib: Fix missing includes in rpc.hpp + +[Retrieved from: +https://github.com/EttusResearch/uhd/commit/9c4d9d826a6f40f199c526afd5ec168d5d088591] +Signed-off-by: Fabrice Fontaine +--- + host/lib/include/uhdlib/utils/rpc.hpp | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/host/lib/include/uhdlib/utils/rpc.hpp b/host/lib/include/uhdlib/utils/rpc.hpp +index e87a2ee324..ca89c10547 100644 +--- a/host/lib/include/uhdlib/utils/rpc.hpp ++++ b/host/lib/include/uhdlib/utils/rpc.hpp +@@ -12,7 +12,11 @@ + #include + #include + #include ++#include + #include ++#include ++#include ++#include + + namespace { + diff --git a/buildroot-2022.02.1/package/uhd/0005-core-remove-boost-math-in-favor-of-std-cmath.patch b/buildroot-2022.02.1/package/uhd/0005-core-remove-boost-math-in-favor-of-std-cmath.patch new file mode 100644 index 00000000..9530b021 --- /dev/null +++ b/buildroot-2022.02.1/package/uhd/0005-core-remove-boost-math-in-favor-of-std-cmath.patch @@ -0,0 +1,105 @@ +From dc187b5597779b14d0de4087db4aa54752a15d07 Mon Sep 17 00:00:00 2001 +From: Michael Dickens +Date: Fri, 2 Jul 2021 16:43:41 -0400 +Subject: [PATCH] core: remove boost::math in favor of std cmath + +YA Boost removal!!! + +Justification +--- +const int if_freq_sign = boost::math::sign(fe_conn.get_if_freq()); +_dsp_freq_offset = if_freq * (-if_freq_sign); +// boost::math::sign : 1 if x > 0, -1 if x < 0, and 0 if x is zero. +// ==> if if_freq_sign > 0 then * by -1 else +1 (effectively) + +// std::signbit : true if arg is negative, false otherwise +// ==> need 'not' of input argument to invert for same result as prior algorithm +double fe_if_freq = fe_conn.get_if_freq(); +if (!std::signbit(fe_if_freq)) { + if_freq *= -1.0; +} +--- +The above should result in the same algorithm except possibly +if fe_if_freq is exactly 0.0 in which case the results might be +off by the sign (+0.0 versus -0.0). + +[Retrieved from: +https://github.com/EttusResearch/uhd/commit/dc187b5597779b14d0de4087db4aa54752a15d07] +Signed-off-by: Fabrice Fontaine +--- + host/lib/usrp/cores/rx_dsp_core_3000.cpp | 15 ++++++++------- + host/lib/usrp/cores/rx_frontend_core_3000.cpp | 14 ++++++++------ + 2 files changed, 16 insertions(+), 13 deletions(-) + +diff --git a/host/lib/usrp/cores/rx_dsp_core_3000.cpp b/host/lib/usrp/cores/rx_dsp_core_3000.cpp +index 879748fa2..1c15180ae 100644 +--- a/host/lib/usrp/cores/rx_dsp_core_3000.cpp ++++ b/host/lib/usrp/cores/rx_dsp_core_3000.cpp +@@ -8,7 +8,6 @@ + #include + #include + #include +-#include + #include + #include + #include +@@ -81,19 +80,21 @@ class rx_dsp_core_3000_impl : public rx_dsp_core_3000 + _iface->poke32(REG_DSP_RX_MUX, reg_val); + + if (fe_conn.get_sampling_mode() == uhd::usrp::fe_connection_t::HETERODYNE) { +- // 1. Remember the sign of the IF frequency. +- // It will be discarded in the next step +- int if_freq_sign = boost::math::sign(fe_conn.get_if_freq()); ++ // 1. Remember the IF frequency ++ const double fe_if_freq = fe_conn.get_if_freq(); + // 2. Map IF frequency to the range [0, _tick_rate) +- double if_freq = std::abs(std::fmod(fe_conn.get_if_freq(), _tick_rate)); +- // 3. Map IF frequency to the range [-_tick_rate/2, _tick_rate/2) ++ double if_freq = std::abs(std::fmod(fe_if_freq, _tick_rate)); ++ // 3. Map IF frequency to the range [-_tick_rate/2, _tick_rate/2] + // This is the aliased frequency + if (if_freq > (_tick_rate / 2.0)) { + if_freq -= _tick_rate; + } + // 4. Set DSP offset to spin the signal in the opposite + // direction as the aliased frequency +- _dsp_freq_offset = if_freq * (-if_freq_sign); ++ if (!std::signbit(fe_if_freq)) { ++ if_freq *= -1.0; ++ } ++ _dsp_freq_offset = if_freq; + } else { + _dsp_freq_offset = 0.0; + } +diff --git a/host/lib/usrp/cores/rx_frontend_core_3000.cpp b/host/lib/usrp/cores/rx_frontend_core_3000.cpp +index eef25f27d..b9d908534 100644 +--- a/host/lib/usrp/cores/rx_frontend_core_3000.cpp ++++ b/host/lib/usrp/cores/rx_frontend_core_3000.cpp +@@ -119,19 +119,21 @@ class rx_frontend_core_3000_impl : public rx_frontend_core_3000 + + UHD_ASSERT_THROW(_adc_rate != 0.0) + if (fe_conn.get_sampling_mode() == fe_connection_t::HETERODYNE) { +- // 1. Remember the sign of the IF frequency. +- // It will be discarded in the next step +- const int if_freq_sign = boost::math::sign(fe_conn.get_if_freq()); ++ // 1. Remember the IF frequency ++ const double fe_if_freq = fe_conn.get_if_freq(); + // 2. Map IF frequency to the range [0, _adc_rate) +- double if_freq = std::abs(std::fmod(fe_conn.get_if_freq(), _adc_rate)); +- // 3. Map IF frequency to the range [-_adc_rate/2, _adc_rate/2) ++ double if_freq = std::abs(std::fmod(fe_if_freq, _adc_rate)); ++ // 3. Map IF frequency to the range [-_adc_rate/2, _adc_rate/2] + // This is the aliased frequency + if (if_freq > (_adc_rate / 2.0)) { + if_freq -= _adc_rate; + } + // 4. Set DSP offset to spin the signal in the opposite + // direction as the aliased frequency +- const double cordic_freq = if_freq * (-if_freq_sign); ++ if (!std::signbit(fe_if_freq)) { ++ if_freq *= -1.0; ++ } ++ const double cordic_freq = if_freq; + UHD_ASSERT_THROW(uhd::math::fp_compare::fp_compare_epsilon(4.0) + == std::abs(_adc_rate / cordic_freq)); + diff --git a/buildroot-2022.02.1/package/uhd/0006-usrp2-Replace-boost-math-iround-math-sign-with-std-l.patch b/buildroot-2022.02.1/package/uhd/0006-usrp2-Replace-boost-math-iround-math-sign-with-std-l.patch new file mode 100644 index 00000000..b0cbffc2 --- /dev/null +++ b/buildroot-2022.02.1/package/uhd/0006-usrp2-Replace-boost-math-iround-math-sign-with-std-l.patch @@ -0,0 +1,57 @@ +From 3796175f32f0cc24c16809d8175d423bc7053de9 Mon Sep 17 00:00:00 2001 +From: StefanBruens +Date: Wed, 5 May 2021 18:24:58 +0200 +Subject: [PATCH] usrp2: Replace boost::math::iround/math::sign with std::lround + +Instead of multiplying zone with the sign repeatedly just make +the zone a signed value. + +See #437, #438 + +Signed-off-by: Aaron Rossetto +[gwenhael.goavec-merou@trabucayre.com: backport from upstream] +Signed-off-by: Gwenhael Goavec-Merou +--- + host/lib/usrp/usrp2/usrp2_impl.cpp | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp +index 1be4c7339..c0719a316 100644 +--- a/host/lib/usrp/usrp2/usrp2_impl.cpp ++++ b/host/lib/usrp/usrp2/usrp2_impl.cpp +@@ -22,6 +22,7 @@ + #include + #include //used for htonl and ntohl + #include ++#include + + using namespace uhd; + using namespace uhd::usrp; +@@ -844,20 +845,19 @@ double usrp2_impl::set_tx_dsp_freq( + _tree->access("/mboards/"+mb+"/tick_rate").get(); + + //calculate the DAC shift (multiples of rate) +- const int sign = boost::math::sign(new_freq); +- const int zone = std::min(boost::math::iround(new_freq/tick_rate), 2); +- const double dac_shift = sign*zone*tick_rate; ++ const int zone = std::max(std::min(std::lround(new_freq / tick_rate), 2), -2); ++ const double dac_shift = zone * tick_rate; + new_freq -= dac_shift; //update FPGA DSP target freq + UHD_LOG_TRACE("USRP2", + "DSP Tuning: Requested " + std::to_string(freq_/1e6) + " MHz, Using " +- "Nyquist zone " + std::to_string(sign*zone) + ", leftover DSP tuning: " ++ "Nyquist zone " + std::to_string(zone) + ", leftover DSP tuning: " + + std::to_string(new_freq/1e6) + " MHz."); + + //set the DAC shift (modulation mode) + if (zone == 0) { + _mbc[mb].codec->set_tx_mod_mode(0); //no shift + } else { +- _mbc[mb].codec->set_tx_mod_mode(sign*4/zone); //DAC interp = 4 ++ _mbc[mb].codec->set_tx_mod_mode(4 / zone); // DAC interp = 4 + } + + return _mbc[mb].tx_dsp->set_freq(new_freq) + dac_shift; //actual freq +-- +2.32.0 + diff --git a/buildroot-2022.02.1/package/uhd/0007-usrp2-Use-explicit-template-type-for-std-min-T.patch b/buildroot-2022.02.1/package/uhd/0007-usrp2-Use-explicit-template-type-for-std-min-T.patch new file mode 100644 index 00000000..c5d303cd --- /dev/null +++ b/buildroot-2022.02.1/package/uhd/0007-usrp2-Use-explicit-template-type-for-std-min-T.patch @@ -0,0 +1,28 @@ +From d1c6290fe9c8b01068abfca6f272e2a1e031b9de Mon Sep 17 00:00:00 2001 +From: StefanBruens +Date: Wed, 5 May 2021 18:49:40 +0200 +Subject: [PATCH] usrp2: Use explicit template type for std::min + +Signed-off-by: Aaron Rossetto +[gwenhael.goavec-merou@trabucayre.com: backport from upstream] +Signed-off-by: Gwenhael Goavec-Merou +--- + host/lib/usrp/usrp2/usrp2_impl.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp +index 59fd9849c..e82a9fa71 100644 +--- a/host/lib/usrp/usrp2/usrp2_impl.cpp ++++ b/host/lib/usrp/usrp2/usrp2_impl.cpp +@@ -845,7 +845,7 @@ double usrp2_impl::set_tx_dsp_freq( + _tree->access("/mboards/"+mb+"/tick_rate").get(); + + //calculate the DAC shift (multiples of rate) +- const int zone = std::max(std::min(std::lround(new_freq / tick_rate), 2), -2); ++ const int zone = std::max(std::min(std::lround(new_freq / tick_rate), 2), -2); + const double dac_shift = zone * tick_rate; + new_freq -= dac_shift; //update FPGA DSP target freq + UHD_LOG_TRACE("USRP2", +-- +2.32.0 + diff --git a/buildroot-2022.02.1/package/uhd/Config.in b/buildroot-2022.02.1/package/uhd/Config.in new file mode 100644 index 00000000..248e309d --- /dev/null +++ b/buildroot-2022.02.1/package/uhd/Config.in @@ -0,0 +1,161 @@ +comment "uhd needs a toolchain w/ C++, NPTL, wchar, dynamic library" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS + +comment "uhd needs a toolchain not affected by GCC bug 64735" + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + +config BR2_PACKAGE_UHD + bool "uhd" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-atomic, boost-filesystem + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # boost-thread + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_USE_MMU # use fork() + depends on BR2_USE_WCHAR # boost + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_ATOMIC + select BR2_PACKAGE_BOOST_CHRONO + select BR2_PACKAGE_BOOST_DATE_TIME + select BR2_PACKAGE_BOOST_FILESYSTEM + select BR2_PACKAGE_BOOST_MATH + select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS + select BR2_PACKAGE_BOOST_REGEX + select BR2_PACKAGE_BOOST_SERIALIZATION + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD + help + Universal Software Radio Peripheral (USRP) Hardware Driver + + https://kb.etthus.com + +if BR2_PACKAGE_UHD + +config BR2_PACKAGE_UHD_B100 + bool "b100 support" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_UHD_USB + help + enable B100 support + +comment "B100 support needs a toolchain w/ gcc >= 4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_UHD_B200 + bool "b200 support" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_UHD_USB + help + enable B200 support + +comment "B200 support needs a toolchain w/ gcc >= 4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_UHD_E300 + bool "E300 support" + select BR2_PACKAGE_UHD_MPMD + help + enable E300 support + +config BR2_PACKAGE_UHD_E320 + bool "E320 support" + select BR2_PACKAGE_UHD_MPMD + help + enable E320 support + +config BR2_PACKAGE_UHD_EXAMPLES + bool "uhd-examples" + help + Examples + +config BR2_PACKAGE_UHD_MPMD + bool "MPMD support" + help + enable MPMD support + +config BR2_PACKAGE_UHD_N230 + bool "N230 support" + help + enable N230 support + +config BR2_PACKAGE_UHD_N300 + bool "N300 support" + select BR2_PACKAGE_UHD_MPMD + help + enable N300 support + +config BR2_PACKAGE_UHD_N320 + bool "N320 support" + select BR2_PACKAGE_UHD_MPMD + help + enable N320 support + +config BR2_PACKAGE_UHD_OCTOCLOCK + bool "OctoClock support" + help + enable OctoClock support + +comment "uhd python API needs python3 and a toolchain w/ glibc or musl" + depends on !BR2_PACKAGE_PYTHON3 + depends on !BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on !(BR2_TOOLCHAIN_USES_GLIBC && BR2_TOOLCHAIN_USES_MUSL) # python-numpy + +config BR2_PACKAGE_UHD_PYTHON + bool "python API support" + depends on BR2_PACKAGE_PYTHON3 + depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy + select BR2_PACKAGE_PYTHON_NUMPY + select BR2_PACKAGE_PYTHON_REQUESTS + help + enable python API support + +config BR2_PACKAGE_UHD_RFNOC + bool "RFNoC support" + help + enable RFNoC support + +config BR2_PACKAGE_UHD_USB + bool "USB support" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_LIBUSB + help + enable UHD USB support + +comment "USB support needs a toolchain w/ gcc >= 4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_UHD_USRP1 + bool "USRP1 support" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb + select BR2_PACKAGE_UHD_USB + help + enable USRP1 support + +comment "USRP1 support needs a toolchain w/ gcc >= 4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_PACKAGE_UHD_USRP2 + bool "USRP2 support" + help + enable USRP2 support + +comment "uhd utils depends on python API support" + depends on !BR2_PACKAGE_UHD_PYTHON + +config BR2_PACKAGE_UHD_UTILS + bool "uhd-utils" + depends on BR2_PACKAGE_UHD_PYTHON + select BR2_PACKAGE_PYTHON_SIX + help + uhd-utils + +config BR2_PACKAGE_UHD_X300 + bool "X300 support" + help + enable X300 support + +endif diff --git a/buildroot-2021.05/package/uhd/uhd.hash b/buildroot-2022.02.1/package/uhd/uhd.hash similarity index 100% rename from buildroot-2021.05/package/uhd/uhd.hash rename to buildroot-2022.02.1/package/uhd/uhd.hash diff --git a/buildroot-2022.02.1/package/uhd/uhd.mk b/buildroot-2022.02.1/package/uhd/uhd.mk new file mode 100644 index 00000000..e8f197f9 --- /dev/null +++ b/buildroot-2022.02.1/package/uhd/uhd.mk @@ -0,0 +1,153 @@ +################################################################################ +# +# uhd +# +################################################################################ + +UHD_VERSION = 3.15.0.0 +UHD_SITE = $(call github,EttusResearch,uhd,v$(UHD_VERSION)) +UHD_LICENSE = GPL-3.0+ +UHD_LICENSE_FILES = LICENSE.md host/LICENSE + +UHD_SUPPORTS_IN_SOURCE_BUILD = NO +UHD_SUBDIR = host +UHD_INSTALL_STAGING = YES + +UHD_DEPENDENCIES = \ + boost \ + host-python3 \ + host-python-mako + +UHD_CONF_OPTS = \ + -DPYTHON_EXECUTABLE=$(HOST_DIR)/bin/python3 \ + -DRUNTIME_PYTHON_EXECUTABLE=/usr/bin/python \ + -DENABLE_C_API=ON \ + -DENABLE_DOXYGEN=OFF \ + -DENABLE_DPDK=OFF \ + -DENABLE_LIBUHD=ON \ + -DENABLE_MANUAL=OFF \ + -DENABLE_MAN_PAGES=OFF \ + -DENABLE_TESTS=OFF + +# As soon as architecture is ARM, uhd will try to use NEON. +# But not all ARM cores have NEON support. +# When CPU support NEON -mfpu=neon must be added to CXX_FLAGS +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +UHD_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -mfpu=neon" +UHD_CONF_OPTS += -DNEON_SIMD_ENABLE=ON +else +UHD_CONF_OPTS += -Dhave_mfpu_neon=0 +UHD_CONF_OPTS += -DNEON_SIMD_ENABLE=OFF +endif + +ifeq ($(BR2_PACKAGE_ORC),y) +UHD_DEPENDENCIES += orc +endif + +ifeq ($(BR2_PACKAGE_UHD_B100),y) +UHD_CONF_OPTS += -DENABLE_B100=ON +else +UHD_CONF_OPTS += -DENABLE_B100=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_B200),y) +UHD_CONF_OPTS += -DENABLE_B200=ON +else +UHD_CONF_OPTS += -DENABLE_B200=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_E300),y) +UHD_CONF_OPTS += -DENABLE_E300=ON +else +UHD_CONF_OPTS += -DENABLE_E300=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_E320),y) +UHD_CONF_OPTS += -DENABLE_E320=ON +else +UHD_CONF_OPTS += -DENABLE_E320=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_EXAMPLES),y) +UHD_CONF_OPTS += -DENABLE_EXAMPLES=ON +else +UHD_CONF_OPTS += -DENABLE_EXAMPLES=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_MPMD),y) +UHD_CONF_OPTS += -DENABLE_MPMD=ON +else +UHD_CONF_OPTS += -DENABLE_MPMD=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_N230),y) +UHD_CONF_OPTS += -DENABLE_N230=ON +else +UHD_CONF_OPTS += -DENABLE_N230=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_N300),y) +UHD_CONF_OPTS += -DENABLE_N300=ON +else +UHD_CONF_OPTS += -DENABLE_N300=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_N320),y) +UHD_CONF_OPTS += -DENABLE_N320=ON +else +UHD_CONF_OPTS += -DENABLE_N320=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_OCTOCLOCK),y) +UHD_CONF_OPTS += -DENABLE_OCTOCLOCK=ON +else +UHD_CONF_OPTS += -DENABLE_OCTOCLOCK=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_RFNOC),y) +UHD_CONF_OPTS += -DENABLE_RFNOC=ON +else +UHD_CONF_OPTS += -DENABLE_RFNOC=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_PYTHON),y) +UHD_DEPENDENCIES += host-python-numpy host-python-requests \ + python-numpy python-requests +UHD_CONF_OPTS += -DENABLE_PYTHON_API=ON +else +UHD_CONF_OPTS += -DENABLE_PYTHON_API=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_USB),y) +UHD_DEPENDENCIES += libusb +UHD_CONF_OPTS += -DENABLE_USB=ON +else +UHD_CONF_OPTS += -DENABLE_USB=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_USRP1),y) +UHD_CONF_OPTS += -DENABLE_USRP1=ON +else +UHD_CONF_OPTS += -DENABLE_USRP1=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_USRP2),y) +UHD_CONF_OPTS += -DENABLE_USRP2=ON +else +UHD_CONF_OPTS += -DENABLE_USRP2=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_UTILS),y) +UHD_DEPENDENCIES += python-six +UHD_CONF_OPTS += -DENABLE_UTILS=ON +else +UHD_CONF_OPTS += -DENABLE_UTILS=OFF +endif + +ifeq ($(BR2_PACKAGE_UHD_X300),y) +UHD_CONF_OPTS += -DENABLE_X300=ON +else +UHD_CONF_OPTS += -DENABLE_X300=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/uhttpd/0001-Remove-Werror.patch b/buildroot-2022.02.1/package/uhttpd/0001-Remove-Werror.patch similarity index 100% rename from buildroot-2021.05/package/uhttpd/0001-Remove-Werror.patch rename to buildroot-2022.02.1/package/uhttpd/0001-Remove-Werror.patch diff --git a/buildroot-2021.05/package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch b/buildroot-2022.02.1/package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch similarity index 100% rename from buildroot-2021.05/package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch rename to buildroot-2022.02.1/package/uhttpd/0002-Fix-TCP_FASTOPEN-related-compile-error.patch diff --git a/buildroot-2021.05/package/uhttpd/Config.in b/buildroot-2022.02.1/package/uhttpd/Config.in similarity index 100% rename from buildroot-2021.05/package/uhttpd/Config.in rename to buildroot-2022.02.1/package/uhttpd/Config.in diff --git a/buildroot-2022.02.1/package/uhttpd/uhttpd.hash b/buildroot-2022.02.1/package/uhttpd/uhttpd.hash new file mode 100644 index 00000000..1e37b2b2 --- /dev/null +++ b/buildroot-2022.02.1/package/uhttpd/uhttpd.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 9ae10aaf6642b214e0a4ca47d6fd9693ac4b88d61e7d6446f0f0feb3a28ca510 uhttpd-15346de8d3ba422002496526ee24c62a3601ab8c-br1.tar.gz +sha256 ce1803f83f776cc88661e303fede0e5ff52faf1d9f74508fadbecf7705b4c84d uhttpd.h diff --git a/buildroot-2022.02.1/package/uhttpd/uhttpd.mk b/buildroot-2022.02.1/package/uhttpd/uhttpd.mk new file mode 100644 index 00000000..ba8e13cc --- /dev/null +++ b/buildroot-2022.02.1/package/uhttpd/uhttpd.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# uhttpd +# +################################################################################ + +UHTTPD_VERSION = 15346de8d3ba422002496526ee24c62a3601ab8c +UHTTPD_SITE = https://git.openwrt.org/project/uhttpd.git +UHTTPD_SITE_METHOD = git +UHTTPD_LICENSE = ISC +UHTTPD_LICENSE_FILES = uhttpd.h +UHTTPD_DEPENDENCIES = libubox json-c + +ifeq ($(BR2_PACKAGE_LUA_5_1),y) +UHTTPD_DEPENDENCIES += lua +UHTTPD_CONF_OPTS += -DLUA_SUPPORT=ON +else +UHTTPD_CONF_OPTS += -DLUA_SUPPORT=OFF +endif + +ifeq ($(BR2_PACKAGE_USTREAM_SSL),y) +UHTTPD_DEPENDENCIES += ustream-ssl +UHTTPD_CONF_OPTS += -DTLS_SUPPORT=ON +else +UHTTPD_CONF_OPTS += -DTLS_SUPPORT=OFF +endif + +ifeq ($(BR2_PACKAGE_UBUS),y) +UHTTPD_DEPENDENCIES += ubus +UHTTPD_CONF_OPTS += -DUBUS_SUPPORT=ON +else +UHTTPD_CONF_OPTS += -DUBUS_SUPPORT=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/uhubctl/Config.in b/buildroot-2022.02.1/package/uhubctl/Config.in similarity index 100% rename from buildroot-2021.05/package/uhubctl/Config.in rename to buildroot-2022.02.1/package/uhubctl/Config.in diff --git a/buildroot-2021.05/package/uhubctl/uhubctl.hash b/buildroot-2022.02.1/package/uhubctl/uhubctl.hash similarity index 100% rename from buildroot-2021.05/package/uhubctl/uhubctl.hash rename to buildroot-2022.02.1/package/uhubctl/uhubctl.hash diff --git a/buildroot-2021.05/package/uhubctl/uhubctl.mk b/buildroot-2022.02.1/package/uhubctl/uhubctl.mk similarity index 100% rename from buildroot-2021.05/package/uhubctl/uhubctl.mk rename to buildroot-2022.02.1/package/uhubctl/uhubctl.mk diff --git a/buildroot-2022.02.1/package/ulog/Config.in b/buildroot-2022.02.1/package/ulog/Config.in new file mode 100644 index 00000000..ef155005 --- /dev/null +++ b/buildroot-2022.02.1/package/ulog/Config.in @@ -0,0 +1,12 @@ +config BR2_PACKAGE_ULOG + bool "ulog" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + help + This is a minimalistic logging library derived from + Android logger. + + https://github.com/Parrot-Developers/ulog + +comment "ulog needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/ulog/ulog.hash b/buildroot-2022.02.1/package/ulog/ulog.hash new file mode 100644 index 00000000..47adc093 --- /dev/null +++ b/buildroot-2022.02.1/package/ulog/ulog.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 14e5773b32a79fa5380bdc7ac73a39a7cd3ab182830f57cf6f2994fb49cf38dc ulog-0389d243352255f6182326dccdae3d56dadc078f.tar.gz +sha256 cbb97dd2528af2aa2b9aee6c1b3ff1caed758044c17b2c811cf44b2528c496da COPYING diff --git a/buildroot-2022.02.1/package/ulog/ulog.mk b/buildroot-2022.02.1/package/ulog/ulog.mk new file mode 100644 index 00000000..8e8b1aa1 --- /dev/null +++ b/buildroot-2022.02.1/package/ulog/ulog.mk @@ -0,0 +1,46 @@ +################################################################################ +# +# ulog +# +################################################################################ + +ULOG_VERSION = 0389d243352255f6182326dccdae3d56dadc078f +ULOG_SITE = $(call github,Parrot-Developers,ulog,$(ULOG_VERSION)) +ULOG_LICENSE = Apache-2.0 +ULOG_LICENSE_FILES = COPYING +ULOG_DEPENDENCIES = host-alchemy +ULOG_INSTALL_STAGING = YES + +define ULOG_BUILD_CMDS + $(ALCHEMY_TARGET_ENV) $(ALCHEMY_MAKE) libulog +endef + +ifeq ($(BR2_SHARED_LIBS),) +define ULOG_INSTALL_STATIC_LIBS + $(INSTALL) -D -m 644 $(@D)/alchemy-out/staging/usr/lib/libulog.a \ + $(STAGING_DIR)/usr/lib/libulog.a +endef +endif + +ifeq ($(BR2_STATIC_LIBS),) +# $(1): destination directory: target or staging +define ULOG_INSTALL_SHARED_LIBS + mkdir -p $(1)/usr/lib/ + $(INSTALL) -m 644 $(@D)/alchemy-out/staging/usr/lib/libulog.so* \ + $(1)/usr/lib/ +endef +endif + +define ULOG_INSTALL_TARGET_CMDS + $(call ULOG_INSTALL_SHARED_LIBS, $(TARGET_DIR)) +endef + +define ULOG_INSTALL_STAGING_CMDS + mkdir -p $(STAGING_DIR)/usr/include/ + $(INSTALL) -m 644 $(@D)/libulog/include/* $(STAGING_DIR)/usr/include/ + $(ULOG_INSTALL_STATIC_LIBS) + $(call ULOG_INSTALL_SHARED_LIBS, $(STAGING_DIR)) + $(call ALCHEMY_INSTALL_LIB_SDK_FILE, libulog, libulog.so) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ulogd/0001-ulogd-fix-build-with-musl-libc.patch b/buildroot-2022.02.1/package/ulogd/0001-ulogd-fix-build-with-musl-libc.patch similarity index 100% rename from buildroot-2021.05/package/ulogd/0001-ulogd-fix-build-with-musl-libc.patch rename to buildroot-2022.02.1/package/ulogd/0001-ulogd-fix-build-with-musl-libc.patch diff --git a/buildroot-2021.05/package/ulogd/Config.in b/buildroot-2022.02.1/package/ulogd/Config.in similarity index 100% rename from buildroot-2021.05/package/ulogd/Config.in rename to buildroot-2022.02.1/package/ulogd/Config.in diff --git a/buildroot-2021.05/package/ulogd/ulogd.hash b/buildroot-2022.02.1/package/ulogd/ulogd.hash similarity index 100% rename from buildroot-2021.05/package/ulogd/ulogd.hash rename to buildroot-2022.02.1/package/ulogd/ulogd.hash diff --git a/buildroot-2022.02.1/package/ulogd/ulogd.mk b/buildroot-2022.02.1/package/ulogd/ulogd.mk new file mode 100644 index 00000000..c00a53f3 --- /dev/null +++ b/buildroot-2022.02.1/package/ulogd/ulogd.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# ulogd +# +################################################################################ + +ULOGD_VERSION = 2.0.7 +ULOGD_SOURCE = ulogd-$(ULOGD_VERSION).tar.bz2 +ULOGD_SITE = http://www.netfilter.org/projects/ulogd/files +ULOGD_CONF_OPTS = --without-dbi +ULOGD_DEPENDENCIES = host-pkgconf \ + libmnl libnetfilter_acct libnetfilter_conntrack libnetfilter_log \ + libnfnetlink +ULOGD_LICENSE = GPL-2.0 +ULOGD_LICENSE_FILES = COPYING +ULOGD_SELINUX_MODULES = ulogd + +# DB backends need threads +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +ifeq ($(BR2_PACKAGE_MYSQL),y) +ULOGD_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr +ULOGD_DEPENDENCIES += mysql +else +ULOGD_CONF_OPTS += --without-mysql +endif +ifeq ($(BR2_PACKAGE_POSTGRESQL),y) +ULOGD_CONF_OPTS += --with-pgsql +ULOGD_DEPENDENCIES += postgresql +else +ULOGD_CONF_OPTS += --without-pgsql +endif +ifeq ($(BR2_PACKAGE_SQLITE),y) +ULOGD_CONF_OPTS += --with-sqlite +ULOGD_DEPENDENCIES += sqlite +else +ULOGD_CONF_OPTS += --without-sqlite +endif +else +ULOGD_CONF_OPTS += --without-mysql --without-pgsql --without-sqlite +endif + +ifeq ($(BR2_PACKAGE_LIBPCAP),y) +ULOGD_CONF_OPTS += --with-pcap +ULOGD_DEPENDENCIES += libpcap +else +ULOGD_CONF_OPTS += --without-pcap +endif + +ifeq ($(BR2_PACKAGE_JANSSON),y) +ULOGD_CONF_OPTS += --with-jansson +ULOGD_DEPENDENCIES += jansson +else +ULOGD_CONF_OPTS += --without-jansson +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/umtprd/Config.in b/buildroot-2022.02.1/package/umtprd/Config.in similarity index 100% rename from buildroot-2021.05/package/umtprd/Config.in rename to buildroot-2022.02.1/package/umtprd/Config.in diff --git a/buildroot-2022.02.1/package/umtprd/umtprd.hash b/buildroot-2022.02.1/package/umtprd/umtprd.hash new file mode 100644 index 00000000..7cd75619 --- /dev/null +++ b/buildroot-2022.02.1/package/umtprd/umtprd.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 1de40511c1dd4618719cff2058dfe68a595f1b9284c80afa89d6d1a1c80aec29 umtprd-1.6.2.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 LICENSE diff --git a/buildroot-2022.02.1/package/umtprd/umtprd.mk b/buildroot-2022.02.1/package/umtprd/umtprd.mk new file mode 100644 index 00000000..c5e0ee51 --- /dev/null +++ b/buildroot-2022.02.1/package/umtprd/umtprd.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# umtprd +# +################################################################################ + +UMTPRD_VERSION = 1.6.2 +UMTPRD_SITE = https://github.com/viveris/uMTP-Responder/archive +UMTPRD_LICENSE = GPL-3.0+ +UMTPRD_LICENSE_FILES = LICENSE + +define UMTPRD_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define UMTPRD_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/umtprd $(TARGET_DIR)/usr/sbin/umtprd +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/unbound/Config.in b/buildroot-2022.02.1/package/unbound/Config.in similarity index 100% rename from buildroot-2021.05/package/unbound/Config.in rename to buildroot-2022.02.1/package/unbound/Config.in diff --git a/buildroot-2021.05/package/unbound/S70unbound b/buildroot-2022.02.1/package/unbound/S70unbound similarity index 100% rename from buildroot-2021.05/package/unbound/S70unbound rename to buildroot-2022.02.1/package/unbound/S70unbound diff --git a/buildroot-2022.02.1/package/unbound/unbound.hash b/buildroot-2022.02.1/package/unbound/unbound.hash new file mode 100644 index 00000000..ca6fe174 --- /dev/null +++ b/buildroot-2022.02.1/package/unbound/unbound.hash @@ -0,0 +1,5 @@ +# From https://nlnetlabs.nl/downloads/unbound/unbound-1.14.0.tar.gz.sha256 +sha256 6ef91cbf02d5299eab39328c0857393de7b4885a2fe7233ddfe3c124ff5a89c8 unbound-1.14.0.tar.gz + +# Locally calculated +sha256 8eb9a16cbfb8703090bbfa3a2028fd46bb351509a2f90dc1001e51fbe6fd45db LICENSE diff --git a/buildroot-2022.02.1/package/unbound/unbound.mk b/buildroot-2022.02.1/package/unbound/unbound.mk new file mode 100644 index 00000000..d9be6392 --- /dev/null +++ b/buildroot-2022.02.1/package/unbound/unbound.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# unbound +# +################################################################################ + +UNBOUND_VERSION = 1.14.0 +UNBOUND_SITE = https://www.unbound.net/downloads +UNBOUND_DEPENDENCIES = host-pkgconf expat libevent openssl +UNBOUND_LICENSE = BSD-3-Clause +UNBOUND_LICENSE_FILES = LICENSE +UNBOUND_CPE_ID_VENDOR = nlnetlabs +UNBOUND_CONF_OPTS = \ + --disable-rpath \ + --disable-debug \ + --with-conf-file=/etc/unbound/unbound.conf \ + --with-pidfile=/var/run/unbound.pid \ + --with-rootkey-file=/etc/unbound/root.key \ + --enable-tfo-server \ + --with-libevent=$(STAGING_DIR)/usr \ + --with-libexpat=$(STAGING_DIR)/usr \ + --with-ssl=$(STAGING_DIR)/usr + +# uClibc-ng does not have MSG_FASTOPEN +# so TCP Fast Open client mode disabled for it +ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) +UNBOUND_CONF_OPTS += --disable-tfo-client +else +UNBOUND_CONF_OPTS += --enable-tfo-client +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) +UNBOUND_CONF_OPTS += --with-pthreads +else +UNBOUND_CONF_OPTS += --without-pthreads +endif + +ifeq ($(BR2_GCC_ENABLE_LTO),y) +UNBOUND_CONF_OPTS += --enable-flto +else +UNBOUND_CONF_OPTS += --disable-flto +endif + +ifeq ($(BR2_PACKAGE_UNBOUND_DNSCRYPT),y) +UNBOUND_CONF_OPTS += --enable-dnscrypt +UNBOUND_DEPENDENCIES += libsodium +else +UNBOUND_CONF_OPTS += --disable-dnscrypt +endif + +define UNBOUND_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/unbound/S70unbound \ + $(TARGET_DIR)/etc/init.d/S70unbound +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/unclutter-xfixes/Config.in b/buildroot-2022.02.1/package/unclutter-xfixes/Config.in similarity index 100% rename from buildroot-2021.05/package/unclutter-xfixes/Config.in rename to buildroot-2022.02.1/package/unclutter-xfixes/Config.in diff --git a/buildroot-2021.05/package/unclutter-xfixes/unclutter-xfixes.hash b/buildroot-2022.02.1/package/unclutter-xfixes/unclutter-xfixes.hash similarity index 100% rename from buildroot-2021.05/package/unclutter-xfixes/unclutter-xfixes.hash rename to buildroot-2022.02.1/package/unclutter-xfixes/unclutter-xfixes.hash diff --git a/buildroot-2021.05/package/unclutter-xfixes/unclutter-xfixes.mk b/buildroot-2022.02.1/package/unclutter-xfixes/unclutter-xfixes.mk similarity index 100% rename from buildroot-2021.05/package/unclutter-xfixes/unclutter-xfixes.mk rename to buildroot-2022.02.1/package/unclutter-xfixes/unclutter-xfixes.mk diff --git a/buildroot-2021.05/package/unionfs/Config.in b/buildroot-2022.02.1/package/unionfs/Config.in similarity index 100% rename from buildroot-2021.05/package/unionfs/Config.in rename to buildroot-2022.02.1/package/unionfs/Config.in diff --git a/buildroot-2021.05/package/unionfs/unionfs.hash b/buildroot-2022.02.1/package/unionfs/unionfs.hash similarity index 100% rename from buildroot-2021.05/package/unionfs/unionfs.hash rename to buildroot-2022.02.1/package/unionfs/unionfs.hash diff --git a/buildroot-2021.05/package/unionfs/unionfs.mk b/buildroot-2022.02.1/package/unionfs/unionfs.mk similarity index 100% rename from buildroot-2021.05/package/unionfs/unionfs.mk rename to buildroot-2022.02.1/package/unionfs/unionfs.mk diff --git a/buildroot-2021.05/package/unixodbc/Config.in b/buildroot-2022.02.1/package/unixodbc/Config.in similarity index 100% rename from buildroot-2021.05/package/unixodbc/Config.in rename to buildroot-2022.02.1/package/unixodbc/Config.in diff --git a/buildroot-2021.05/package/unixodbc/unixodbc.hash b/buildroot-2022.02.1/package/unixodbc/unixodbc.hash similarity index 100% rename from buildroot-2021.05/package/unixodbc/unixodbc.hash rename to buildroot-2022.02.1/package/unixodbc/unixodbc.hash diff --git a/buildroot-2022.02.1/package/unixodbc/unixodbc.mk b/buildroot-2022.02.1/package/unixodbc/unixodbc.mk new file mode 100644 index 00000000..b447cf5f --- /dev/null +++ b/buildroot-2022.02.1/package/unixodbc/unixodbc.mk @@ -0,0 +1,51 @@ +################################################################################ +# +# unixodbc +# +################################################################################ + +UNIXODBC_VERSION = 2.3.9 +UNIXODBC_SOURCE = unixODBC-$(UNIXODBC_VERSION).tar.gz +UNIXODBC_SITE = ftp://ftp.unixodbc.org/pub/unixODBC +UNIXODBC_INSTALL_STAGING = YES +UNIXODBC_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (programs) +UNIXODBC_LICENSE_FILES = COPYING exe/COPYING +UNIXODBC_CPE_ID_VENDOR = unixodbc + +UNIXODBC_CONF_OPTS = --enable-drivers --enable-driver-conf + +ifeq ($(BR2_PACKAGE_LIBEDIT),y) +UNIXODBC_CONF_OPTS += --enable-editline +UNIXODBC_DEPENDENCIES += libedit +else +UNIXODBC_CONF_OPTS += --disable-editline +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +UNIXODBC_CONF_OPTS += --enable-iconv +UNIXODBC_DEPENDENCIES += libiconv +else +UNIXODBC_CONF_OPTS += --disable-iconv +endif + +ifeq ($(BR2_PACKAGE_LIBTOOL),y) +UNIXODBC_CONF_OPTS += --without-included-ltdl +UNIXODBC_DEPENDENCIES += libtool +else +UNIXODBC_CONF_OPTS += --with-included-ltdl +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +UNIXODBC_CONF_OPTS += --enable-readline +UNIXODBC_DEPENDENCIES += readline +else +UNIXODBC_CONF_OPTS += --disable-readline +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +UNIXODBC_CONF_OPTS += --enable-threads +else +UNIXODBC_CONF_OPTS += --disable-threads +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/unrar/Config.in b/buildroot-2022.02.1/package/unrar/Config.in similarity index 100% rename from buildroot-2021.05/package/unrar/Config.in rename to buildroot-2022.02.1/package/unrar/Config.in diff --git a/buildroot-2022.02.1/package/unrar/unrar.hash b/buildroot-2022.02.1/package/unrar/unrar.hash new file mode 100644 index 00000000..e354753b --- /dev/null +++ b/buildroot-2022.02.1/package/unrar/unrar.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 d05022442009202a792e588bec58921c123ff046fc755f7f2272871a5bd79636 unrarsrc-6.1.3.tar.gz +sha256 6ecc1687808b7d66b24f874755abfed7464d9751ed0001cd4e8e5d9bf397ff8a license.txt diff --git a/buildroot-2022.02.1/package/unrar/unrar.mk b/buildroot-2022.02.1/package/unrar/unrar.mk new file mode 100644 index 00000000..69236601 --- /dev/null +++ b/buildroot-2022.02.1/package/unrar/unrar.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# unrar +# +################################################################################ + +UNRAR_VERSION = 6.1.3 +UNRAR_SOURCE = unrarsrc-$(UNRAR_VERSION).tar.gz +UNRAR_SITE = https://www.rarlab.com/rar +UNRAR_LICENSE = unrar +UNRAR_LICENSE_FILES = license.txt +UNRAR_CPE_ID_VENDOR = rarlab + +define UNRAR_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CXX="$(TARGET_CXX)" STRIP="/bin/true" \ + CXXFLAGS="$(TARGET_CXXFLAGS) -pthread" \ + LDFLAGS="$(TARGET_LDFLAGS) -pthread" -C $(@D) +endef + +define UNRAR_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/unscd/Config.in b/buildroot-2022.02.1/package/unscd/Config.in similarity index 100% rename from buildroot-2021.05/package/unscd/Config.in rename to buildroot-2022.02.1/package/unscd/Config.in diff --git a/buildroot-2021.05/package/unscd/S46unscd b/buildroot-2022.02.1/package/unscd/S46unscd similarity index 100% rename from buildroot-2021.05/package/unscd/S46unscd rename to buildroot-2022.02.1/package/unscd/S46unscd diff --git a/buildroot-2021.05/package/unscd/nscd.conf b/buildroot-2022.02.1/package/unscd/nscd.conf similarity index 100% rename from buildroot-2021.05/package/unscd/nscd.conf rename to buildroot-2022.02.1/package/unscd/nscd.conf diff --git a/buildroot-2021.05/package/unscd/unscd.hash b/buildroot-2022.02.1/package/unscd/unscd.hash similarity index 100% rename from buildroot-2021.05/package/unscd/unscd.hash rename to buildroot-2022.02.1/package/unscd/unscd.hash diff --git a/buildroot-2021.05/package/unscd/unscd.mk b/buildroot-2022.02.1/package/unscd/unscd.mk similarity index 100% rename from buildroot-2021.05/package/unscd/unscd.mk rename to buildroot-2022.02.1/package/unscd/unscd.mk diff --git a/buildroot-2021.05/package/unzip/0001-Add-a-CMakeFile.txt-to-ease-cross-compilation.patch b/buildroot-2022.02.1/package/unzip/0001-Add-a-CMakeFile.txt-to-ease-cross-compilation.patch similarity index 100% rename from buildroot-2021.05/package/unzip/0001-Add-a-CMakeFile.txt-to-ease-cross-compilation.patch rename to buildroot-2022.02.1/package/unzip/0001-Add-a-CMakeFile.txt-to-ease-cross-compilation.patch diff --git a/buildroot-2021.05/package/unzip/Config.in b/buildroot-2022.02.1/package/unzip/Config.in similarity index 100% rename from buildroot-2021.05/package/unzip/Config.in rename to buildroot-2022.02.1/package/unzip/Config.in diff --git a/buildroot-2021.05/package/unzip/unzip.hash b/buildroot-2022.02.1/package/unzip/unzip.hash similarity index 100% rename from buildroot-2021.05/package/unzip/unzip.hash rename to buildroot-2022.02.1/package/unzip/unzip.hash diff --git a/buildroot-2021.05/package/unzip/unzip.mk b/buildroot-2022.02.1/package/unzip/unzip.mk similarity index 100% rename from buildroot-2021.05/package/unzip/unzip.mk rename to buildroot-2022.02.1/package/unzip/unzip.mk diff --git a/buildroot-2021.05/package/upmpdcli/Config.in b/buildroot-2022.02.1/package/upmpdcli/Config.in similarity index 100% rename from buildroot-2021.05/package/upmpdcli/Config.in rename to buildroot-2022.02.1/package/upmpdcli/Config.in diff --git a/buildroot-2021.05/package/upmpdcli/S99upmpdcli b/buildroot-2022.02.1/package/upmpdcli/S99upmpdcli similarity index 100% rename from buildroot-2021.05/package/upmpdcli/S99upmpdcli rename to buildroot-2022.02.1/package/upmpdcli/S99upmpdcli diff --git a/buildroot-2021.05/package/upmpdcli/upmpdcli.hash b/buildroot-2022.02.1/package/upmpdcli/upmpdcli.hash similarity index 100% rename from buildroot-2021.05/package/upmpdcli/upmpdcli.hash rename to buildroot-2022.02.1/package/upmpdcli/upmpdcli.hash diff --git a/buildroot-2022.02.1/package/upmpdcli/upmpdcli.mk b/buildroot-2022.02.1/package/upmpdcli/upmpdcli.mk new file mode 100644 index 00000000..2f001c51 --- /dev/null +++ b/buildroot-2022.02.1/package/upmpdcli/upmpdcli.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# upmpdcli +# +################################################################################ + +UPMPDCLI_VERSION = 1.5.12 +UPMPDCLI_SITE = http://www.lesbonscomptes.com/upmpdcli/downloads +UPMPDCLI_LICENSE = LGPL-2.1+ +UPMPDCLI_LICENSE_FILES = COPYING +UPMPDCLI_DEPENDENCIES = host-pkgconf libmpdclient libupnpp libmicrohttpd jsoncpp + +# Disable spotify plugin which requires dlfcn.h +ifeq ($(BR2_STATIC_LIBS),y) +UPMPDCLI_CONF_OPTS += --disable-spotify +endif + +# Upmpdcli only runs if user upmpdcli exists +define UPMPDCLI_USERS + upmpdcli -1 upmpdcli -1 * - - audio Upmpdcli MPD UPnP Renderer Front-End +endef + +define UPMPDCLI_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/upmpdcli/S99upmpdcli $(TARGET_DIR)/etc/init.d/S99upmpdcli +endef + +define UPMPDCLI_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(@D)/systemd/upmpdcli.service \ + $(TARGET_DIR)/usr/lib/systemd/system/upmpdcli.service +endef + +define UPMPDCLI_INSTALL_CONF_FILE + $(INSTALL) -D -m 0755 $(@D)/src/upmpdcli.conf-dist $(TARGET_DIR)/etc/upmpdcli.conf +endef + +UPMPDCLI_POST_INSTALL_TARGET_HOOKS += UPMPDCLI_INSTALL_CONF_FILE + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/upower/Config.in b/buildroot-2022.02.1/package/upower/Config.in similarity index 100% rename from buildroot-2021.05/package/upower/Config.in rename to buildroot-2022.02.1/package/upower/Config.in diff --git a/buildroot-2021.05/package/upower/upower.hash b/buildroot-2022.02.1/package/upower/upower.hash similarity index 100% rename from buildroot-2021.05/package/upower/upower.hash rename to buildroot-2022.02.1/package/upower/upower.hash diff --git a/buildroot-2022.02.1/package/upower/upower.mk b/buildroot-2022.02.1/package/upower/upower.mk new file mode 100644 index 00000000..a6f39d2f --- /dev/null +++ b/buildroot-2022.02.1/package/upower/upower.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# upower +# +################################################################################ + +UPOWER_VERSION = 0.99.11 +UPOWER_SOURCE = upower-$(UPOWER_VERSION).tar.xz +UPOWER_SITE = https://upower.freedesktop.org/releases +UPOWER_LICENSE = GPL-2.0+ +UPOWER_LICENSE_FILES = COPYING + +# libupower-glib.so +UPOWER_INSTALL_STAGING = YES + +UPOWER_DEPENDENCIES = \ + $(TARGET_NLS_DEPENDENCIES) \ + host-pkgconf \ + libgudev \ + libusb \ + udev + +UPOWER_CONF_OPTS = --disable-man-pages --disable-tests + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +UPOWER_CONF_OPTS += --enable-introspection +UPOWER_DEPENDENCIES += gobject-introspection +else +UPOWER_CONF_OPTS += --disable-introspection +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/upx/0001-Check-DT_REL-DT_RELA-DT_RELSZ-DT_RELASZ.patch b/buildroot-2022.02.1/package/upx/0001-Check-DT_REL-DT_RELA-DT_RELSZ-DT_RELASZ.patch similarity index 100% rename from buildroot-2021.05/package/upx/0001-Check-DT_REL-DT_RELA-DT_RELSZ-DT_RELASZ.patch rename to buildroot-2022.02.1/package/upx/0001-Check-DT_REL-DT_RELA-DT_RELSZ-DT_RELASZ.patch diff --git a/buildroot-2021.05/package/upx/upx.hash b/buildroot-2022.02.1/package/upx/upx.hash similarity index 100% rename from buildroot-2021.05/package/upx/upx.hash rename to buildroot-2022.02.1/package/upx/upx.hash diff --git a/buildroot-2021.05/package/upx/upx.mk b/buildroot-2022.02.1/package/upx/upx.mk similarity index 100% rename from buildroot-2021.05/package/upx/upx.mk rename to buildroot-2022.02.1/package/upx/upx.mk diff --git a/buildroot-2022.02.1/package/uqmi/Config.in b/buildroot-2022.02.1/package/uqmi/Config.in new file mode 100644 index 00000000..21f0bd90 --- /dev/null +++ b/buildroot-2022.02.1/package/uqmi/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_UQMI + bool "uqmi" + depends on !BR2_STATIC_LIBS # libubox + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c + select BR2_PACKAGE_JSON_C + select BR2_PACKAGE_LIBUBOX + help + This command line tool originates from the OpenWrt project + to configure LTE modem in QMI mode for WAN connection. + + https://git.openwrt.org/project/uqmi.git + +comment "uqmi needs a toolchain w/ dynamic library" + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/uqmi/uqmi.hash b/buildroot-2022.02.1/package/uqmi/uqmi.hash new file mode 100644 index 00000000..2db5d330 --- /dev/null +++ b/buildroot-2022.02.1/package/uqmi/uqmi.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 aae6a72791da8f58012303ba3bfeeb613e74597cbebfb9e7c2d9125e6f256799 uqmi-0a19b5b77140465c29e2afa7d611fe93abc9672f-br1.tar.gz +sha256 a69bf44dbff15d727578d2069a654d60e9034c5e2cc3e199a012e72afef6c259 main.c diff --git a/buildroot-2022.02.1/package/uqmi/uqmi.mk b/buildroot-2022.02.1/package/uqmi/uqmi.mk new file mode 100644 index 00000000..f20c3f51 --- /dev/null +++ b/buildroot-2022.02.1/package/uqmi/uqmi.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# uqmi +# +################################################################################ + +UQMI_VERSION = 0a19b5b77140465c29e2afa7d611fe93abc9672f +UQMI_SITE = https://git.openwrt.org/project/uqmi.git +UQMI_SITE_METHOD = git +UQMI_LICENSE = LGPL-2.0+ +UQMI_LICENSE_FILES = main.c +UQMI_DEPENDENCIES = json-c libubox + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/urandom-scripts/Config.in b/buildroot-2022.02.1/package/urandom-scripts/Config.in similarity index 100% rename from buildroot-2021.05/package/urandom-scripts/Config.in rename to buildroot-2022.02.1/package/urandom-scripts/Config.in diff --git a/buildroot-2022.02.1/package/urandom-scripts/S20urandom b/buildroot-2022.02.1/package/urandom-scripts/S20urandom new file mode 100644 index 00000000..c6b2ebd4 --- /dev/null +++ b/buildroot-2022.02.1/package/urandom-scripts/S20urandom @@ -0,0 +1,69 @@ +#! /bin/sh +# +# Preserve the random seed between reboots. See urandom(4). +# + +# Quietly do nothing if /dev/urandom does not exist +[ -c /dev/urandom ] || exit 0 + +URANDOM_SEED="/var/lib/random-seed" + +# shellcheck source=/dev/null +[ -r "/etc/default/urandom" ] && . "/etc/default/urandom" + +if pool_bits=$(cat /proc/sys/kernel/random/poolsize 2> /dev/null); then + pool_size=$((pool_bits/8)) +else + pool_size=512 +fi + +init_rng() { + printf 'Initializing random number generator: ' + dd if="$URANDOM_SEED" bs="$pool_size" of=/dev/urandom count=1 2> /dev/null + status=$? + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return "$status" +} + +save_random_seed() { + printf 'Saving random seed: ' + status=1 + if touch "$URANDOM_SEED.new" 2> /dev/null; then + old_umask=$(umask) + umask 077 + dd if=/dev/urandom of="$URANDOM_SEED.tmp" bs="$pool_size" count=1 2> /dev/null + cat "$URANDOM_SEED" "$URANDOM_SEED.tmp" 2>/dev/null \ + | sha256sum \ + | cut -d ' ' -f 1 > "$URANDOM_SEED.new" && \ + mv "$URANDOM_SEED.new" "$URANDOM_SEED" && status=0 + rm -f "$URANDOM_SEED.tmp" + umask "$old_umask" + if [ "$status" -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + + else + echo "SKIP (read-only file system detected)" + fi + return "$status" +} + +case "$1" in + start|restart|reload) + # Carry a random seed from start-up to start-up + # Load and then save the whole entropy pool + init_rng && save_random_seed;; + stop) + # Carry a random seed from shut-down to start-up + # Save the whole entropy pool + save_random_seed;; + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2021.05/package/urandom-scripts/urandom-scripts.mk b/buildroot-2022.02.1/package/urandom-scripts/urandom-scripts.mk similarity index 100% rename from buildroot-2021.05/package/urandom-scripts/urandom-scripts.mk rename to buildroot-2022.02.1/package/urandom-scripts/urandom-scripts.mk diff --git a/buildroot-2021.05/package/uredir/Config.in b/buildroot-2022.02.1/package/uredir/Config.in similarity index 100% rename from buildroot-2021.05/package/uredir/Config.in rename to buildroot-2022.02.1/package/uredir/Config.in diff --git a/buildroot-2021.05/package/uredir/uredir.hash b/buildroot-2022.02.1/package/uredir/uredir.hash similarity index 100% rename from buildroot-2021.05/package/uredir/uredir.hash rename to buildroot-2022.02.1/package/uredir/uredir.hash diff --git a/buildroot-2021.05/package/uredir/uredir.mk b/buildroot-2022.02.1/package/uredir/uredir.mk similarity index 100% rename from buildroot-2021.05/package/uredir/uredir.mk rename to buildroot-2022.02.1/package/uredir/uredir.mk diff --git a/buildroot-2021.05/package/urg/0001-select-h.patch b/buildroot-2022.02.1/package/urg/0001-select-h.patch similarity index 100% rename from buildroot-2021.05/package/urg/0001-select-h.patch rename to buildroot-2022.02.1/package/urg/0001-select-h.patch diff --git a/buildroot-2021.05/package/urg/0002-urg-gcc6-fix-narrowing-conversion.patch b/buildroot-2022.02.1/package/urg/0002-urg-gcc6-fix-narrowing-conversion.patch similarity index 100% rename from buildroot-2021.05/package/urg/0002-urg-gcc6-fix-narrowing-conversion.patch rename to buildroot-2022.02.1/package/urg/0002-urg-gcc6-fix-narrowing-conversion.patch diff --git a/buildroot-2021.05/package/urg/Config.in b/buildroot-2022.02.1/package/urg/Config.in similarity index 100% rename from buildroot-2021.05/package/urg/Config.in rename to buildroot-2022.02.1/package/urg/Config.in diff --git a/buildroot-2021.05/package/urg/urg.hash b/buildroot-2022.02.1/package/urg/urg.hash similarity index 100% rename from buildroot-2021.05/package/urg/urg.hash rename to buildroot-2022.02.1/package/urg/urg.hash diff --git a/buildroot-2022.02.1/package/urg/urg.mk b/buildroot-2022.02.1/package/urg/urg.mk new file mode 100644 index 00000000..476f3629 --- /dev/null +++ b/buildroot-2022.02.1/package/urg/urg.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# urg +# +################################################################################ + +URG_VERSION = 0.8.18 +URG_SITE = http://pkgs.fedoraproject.org/repo/pkgs/urg/urg-0.8.18.zip/md5/93f90d2ccc36e784407c5282ef6bd2cb +URG_SOURCE = urg-$(URG_VERSION).zip +URG_LICENSE = LGPL-3.0 +URG_LICENSE_FILES = COPYING + +URG_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_SDL)$(BR2_PACKAGE_SDL_NET),yy) +URG_DEPENDENCIES += sdl sdl_net +URG_CONF_OPTS += \ + --with-sdl-prefix=$(STAGING_DIR)/usr \ + --with-sdl-exec-prefix=$(STAGING_DIR)/usr +else +URG_CONF_OPTS += --without-sdl +URG_CONF_ENV += ac_cv_path_SDL_CONFIG="" +endif + +URG_CONFIG_SCRIPTS = c_urg-config urg-config + +define URG_EXTRACT_CMDS + $(UNZIP) -d $(BUILD_DIR) $(URG_DL_DIR)/$(URG_SOURCE) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/usb_modeswitch/Config.in b/buildroot-2022.02.1/package/usb_modeswitch/Config.in similarity index 100% rename from buildroot-2021.05/package/usb_modeswitch/Config.in rename to buildroot-2022.02.1/package/usb_modeswitch/Config.in diff --git a/buildroot-2021.05/package/usb_modeswitch/usb_modeswitch.hash b/buildroot-2022.02.1/package/usb_modeswitch/usb_modeswitch.hash similarity index 100% rename from buildroot-2021.05/package/usb_modeswitch/usb_modeswitch.hash rename to buildroot-2022.02.1/package/usb_modeswitch/usb_modeswitch.hash diff --git a/buildroot-2021.05/package/usb_modeswitch/usb_modeswitch.mk b/buildroot-2022.02.1/package/usb_modeswitch/usb_modeswitch.mk similarity index 100% rename from buildroot-2021.05/package/usb_modeswitch/usb_modeswitch.mk rename to buildroot-2022.02.1/package/usb_modeswitch/usb_modeswitch.mk diff --git a/buildroot-2021.05/package/usb_modeswitch_data/Config.in b/buildroot-2022.02.1/package/usb_modeswitch_data/Config.in similarity index 100% rename from buildroot-2021.05/package/usb_modeswitch_data/Config.in rename to buildroot-2022.02.1/package/usb_modeswitch_data/Config.in diff --git a/buildroot-2021.05/package/usb_modeswitch_data/usb_modeswitch_data.hash b/buildroot-2022.02.1/package/usb_modeswitch_data/usb_modeswitch_data.hash similarity index 100% rename from buildroot-2021.05/package/usb_modeswitch_data/usb_modeswitch_data.hash rename to buildroot-2022.02.1/package/usb_modeswitch_data/usb_modeswitch_data.hash diff --git a/buildroot-2021.05/package/usb_modeswitch_data/usb_modeswitch_data.mk b/buildroot-2022.02.1/package/usb_modeswitch_data/usb_modeswitch_data.mk similarity index 100% rename from buildroot-2021.05/package/usb_modeswitch_data/usb_modeswitch_data.mk rename to buildroot-2022.02.1/package/usb_modeswitch_data/usb_modeswitch_data.mk diff --git a/buildroot-2022.02.1/package/usbguard/Config.in b/buildroot-2022.02.1/package/usbguard/Config.in new file mode 100644 index 00000000..ca6d5203 --- /dev/null +++ b/buildroot-2022.02.1/package/usbguard/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_USBGUARD + bool "usbguard" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf + depends on BR2_INSTALL_LIBSTDCPP # protobuf + depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf + depends on !BR2_STATIC_LIBS # libqb, protobuf + depends on !BR2_TOOLCHAIN_USES_MUSL + depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future + select BR2_PACKAGE_PROTOBUF + select BR2_PACKAGE_LIBQB + select BR2_PACKAGE_LIBSODIUM if !BR2_PACKAGE_LIBGCRYPT && !BR2_PACKAGE_LIBOPENSSL + help + The USBGuard software framework + + Install a custom accept/deny list in /etc/usbguard/rules.conf + (e.g. using an overlay). This file can be generated on the + target using "usbguard generate-policy". + + https://usbguard.github.io/ + +comment "usbguard needs a glibc or uClibc toolchain w/ C++, threads, dynamic library, gcc >= 4.8" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \ + || BR2_TOOLCHAIN_USES_MUSL + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + +comment "usbguard needs a toolchain not affected by GCC bug 64735" + depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735 diff --git a/buildroot-2022.02.1/package/usbguard/S20usbguard b/buildroot-2022.02.1/package/usbguard/S20usbguard new file mode 100644 index 00000000..b16d7b4a --- /dev/null +++ b/buildroot-2022.02.1/package/usbguard/S20usbguard @@ -0,0 +1,37 @@ +#!/bin/sh +# +# Start psplash +# + +PIDFILE=/var/run/$NAME.pid + +start() { + printf "Starting usbguard daemon: " + test -d /var/log/usbguard || mkdir -p /var/log/usbguard + start-stop-daemon -b -S -q -m -p $PIDFILE --exec /usr/sbin/usbguard-daemon -- -f -s -c /etc/usbguard/usbguard-daemon.conf + [ $? = 0 ] && echo "OK" || echo "FAIL" +} + +stop() { + printf "Stopping usbguard daemon: " + start-stop-daemon -K -q -p $PIDFILE + [ $? = 0 ] && echo "OK" || echo "FAIL" +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + stop + start + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? diff --git a/buildroot-2022.02.1/package/usbguard/usbguard.hash b/buildroot-2022.02.1/package/usbguard/usbguard.hash new file mode 100644 index 00000000..fd77acc7 --- /dev/null +++ b/buildroot-2022.02.1/package/usbguard/usbguard.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 5617986cd5dd1a2d311041648a1977d836cf4e33a4121d7f82599f21496abc42 usbguard-1.0.0.tar.gz +sha256 a45d0bb572ed792ed34627a72621834b3ba92aab6e2cc4e04301dee7a728d753 LICENSE diff --git a/buildroot-2022.02.1/package/usbguard/usbguard.mk b/buildroot-2022.02.1/package/usbguard/usbguard.mk new file mode 100644 index 00000000..d2b03eeb --- /dev/null +++ b/buildroot-2022.02.1/package/usbguard/usbguard.mk @@ -0,0 +1,64 @@ +################################################################################ +# +## usbguard +# +################################################################################ + +USBGUARD_VERSION = 1.0.0 +USBGUARD_SITE = https://github.com/USBGuard/usbguard/releases/download/usbguard-$(USBGUARD_VERSION) +USBGUARD_LICENSE = GPL-2.0+ +USBGUARD_LICENSE_FILES = LICENSE +USBGUARD_CPE_ID_VENDOR = usbguard_project +USBGUARD_SELINUX_MODULES = usbguard +USBGUARD_CONF_OPTS = \ + --with-bundled-catch \ + --with-bundled-pegtl \ + --disable-debug-build \ + --without-dbus \ + --without-polkit \ + --disable-umockdev + +USBGUARD_DEPENDENCIES += libqb protobuf + +ifeq ($(BR2_PACKAGE_LIBSODIUM),y) +USBGUARD_CONF_OPTS += --with-crypto-library=sodium +USBGUARD_DEPENDENCIES += libsodium +else ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +USBGUARD_CONF_OPTS += --with-crypto-library=openssl +USBGUARD_DEPENDENCIES += libopenssl +else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +USBGUARD_CONF_ENV += \ + ac_cv_path_LIBGCRYPT_CONFIG=$(STAGING_DIR)/usr/bin/libgcrypt-config +USBGUARD_CONF_OPTS += --with-crypto-library=gcrypt +USBGUARD_DEPENDENCIES += libgcrypt +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +USBGUARD_CONF_OPTS += --enable-systemd +USBGUARD_DEPENDENCIES += systemd +else +USBGUARD_CONF_OPTS += --disable-systemd +endif + +ifeq ($(BR2_PACKAGE_LIBSECCOMP),y) +USBGUARD_CONF_OPTS += --enable-seccomp +USBGUARD_DEPENDENCIES += libseccomp +else +USBGUARD_CONF_OPTS += --disable-seccomp +endif + +ifeq ($(BR2_PACKAGE_LIBCAP_NG),y) +USBGUARD_CONF_OPTS += --enable-libcapng +USBGUARD_DEPENDENCIES += libcap-ng +endif + +define USBGUARD_INSTALL_INIT_SYSV + $(INSTALL) -m 0755 -D package/usbguard/S20usbguard \ + $(TARGET_DIR)/etc/init.d/S20usbguard +endef + +define USBGUARD_PERMISSIONS + /etc/usbguard/rules.conf f 0600 0 0 - - - - - +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/usbmount/0001-rules-fix.patch b/buildroot-2022.02.1/package/usbmount/0001-rules-fix.patch similarity index 100% rename from buildroot-2021.05/package/usbmount/0001-rules-fix.patch rename to buildroot-2022.02.1/package/usbmount/0001-rules-fix.patch diff --git a/buildroot-2021.05/package/usbmount/0002-use-udev-environment-instead-of-blkid.patch b/buildroot-2022.02.1/package/usbmount/0002-use-udev-environment-instead-of-blkid.patch similarity index 100% rename from buildroot-2021.05/package/usbmount/0002-use-udev-environment-instead-of-blkid.patch rename to buildroot-2022.02.1/package/usbmount/0002-use-udev-environment-instead-of-blkid.patch diff --git a/buildroot-2022.02.1/package/usbmount/Config.in b/buildroot-2022.02.1/package/usbmount/Config.in new file mode 100644 index 00000000..7760356b --- /dev/null +++ b/buildroot-2022.02.1/package/usbmount/Config.in @@ -0,0 +1,15 @@ +config BR2_PACKAGE_USBMOUNT + bool "usbmount" + depends on BR2_USE_MMU # lockfile-progs -> liblockfile + depends on BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_LOCKFILE_PROGS + help + The usbmount package automatically mounts USB mass storage + devices when they are plugged in, and unmounts them when + they are removed. + + https://wiki.debian.org/usbmount + +comment "usbmount requires udev to be enabled" + depends on BR2_USE_MMU + depends on !BR2_PACKAGE_HAS_UDEV diff --git a/buildroot-2021.05/package/usbmount/usbmount.hash b/buildroot-2022.02.1/package/usbmount/usbmount.hash similarity index 100% rename from buildroot-2021.05/package/usbmount/usbmount.hash rename to buildroot-2022.02.1/package/usbmount/usbmount.hash diff --git a/buildroot-2021.05/package/usbmount/usbmount.mk b/buildroot-2022.02.1/package/usbmount/usbmount.mk similarity index 100% rename from buildroot-2021.05/package/usbmount/usbmount.mk rename to buildroot-2022.02.1/package/usbmount/usbmount.mk diff --git a/buildroot-2021.05/package/usbredir/Config.in b/buildroot-2022.02.1/package/usbredir/Config.in similarity index 100% rename from buildroot-2021.05/package/usbredir/Config.in rename to buildroot-2022.02.1/package/usbredir/Config.in diff --git a/buildroot-2022.02.1/package/usbredir/usbredir.hash b/buildroot-2022.02.1/package/usbredir/usbredir.hash new file mode 100644 index 00000000..f738c366 --- /dev/null +++ b/buildroot-2022.02.1/package/usbredir/usbredir.hash @@ -0,0 +1,6 @@ +# https://spice-space.org/download/usbredir/usbredir-0.12.0.tar.xz.sha256sum +sha256 fbb44025bf55e1ce8d84afc7596bfa47c8a36cd603c6fa440f9102c1c9761e6d usbredir-0.12.0.tar.xz + +# Hash for license files +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING.LIB diff --git a/buildroot-2022.02.1/package/usbredir/usbredir.mk b/buildroot-2022.02.1/package/usbredir/usbredir.mk new file mode 100644 index 00000000..6792a3e7 --- /dev/null +++ b/buildroot-2022.02.1/package/usbredir/usbredir.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# usbredir +# +################################################################################ + +USBREDIR_VERSION = 0.12.0 +USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.xz +USBREDIR_SITE = http://spice-space.org/download/usbredir +USBREDIR_LICENSE = LGPL-2.1+ (libraries) +USBREDIR_LICENSE_FILES = COPYING.LIB +USBREDIR_INSTALL_STAGING = YES +USBREDIR_DEPENDENCIES = host-pkgconf libusb +USBREDIR_CONF_OPTS = \ + -Dgit_werror=disabled \ + -Dstack_protector=disabled \ + -Dtests=disabled \ + -Dtools=disabled + +ifeq ($(BR2_PACKAGE_USBREDIR_SERVER),y) + +USBREDIR_LICENSE += , GPL-2.0+ (program) +USBREDIR_LICENSE_FILES += COPYING + +else # BR2_PACKAGE_USBREDIR_SERVER != y + +define USBREDIR_POST_INSTALL_TARGET_RM_SERVER + rm -f $(TARGET_DIR)/usr/sbin/usbredirserver +endef +USBREDIR_POST_INSTALL_TARGET_HOOKS += USBREDIR_POST_INSTALL_TARGET_RM_SERVER + +endif # BR2_PACKAGE_USBREDIR_SERVER + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/usbutils/Config.in b/buildroot-2022.02.1/package/usbutils/Config.in similarity index 100% rename from buildroot-2021.05/package/usbutils/Config.in rename to buildroot-2022.02.1/package/usbutils/Config.in diff --git a/buildroot-2022.02.1/package/usbutils/usbutils.hash b/buildroot-2022.02.1/package/usbutils/usbutils.hash new file mode 100644 index 00000000..f5d55bb4 --- /dev/null +++ b/buildroot-2022.02.1/package/usbutils/usbutils.hash @@ -0,0 +1,5 @@ +# From https://www.kernel.org/pub/linux/utils/usb/usbutils/sha256sums.asc +sha256 3a079cfad60560227b67192482d7813bf96326fcbb66c04254839715f276fc69 usbutils-014.tar.xz +# Locally calculated +sha256 91412672119c72352b76c1d48fa1a8b7cdc7f70be7929e468c8805db468e23e4 LICENSES/GPL-2.0-only.txt +sha256 4631da83311d27f99078d0d102e31bd34a4fcbcc2dae2aa40f1454a5b48125dc LICENSES/GPL-3.0-only.txt diff --git a/buildroot-2022.02.1/package/usbutils/usbutils.mk b/buildroot-2022.02.1/package/usbutils/usbutils.mk new file mode 100644 index 00000000..50b1a5a0 --- /dev/null +++ b/buildroot-2022.02.1/package/usbutils/usbutils.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# usbutils +# +################################################################################ + +USBUTILS_VERSION = 014 +USBUTILS_SOURCE = usbutils-$(USBUTILS_VERSION).tar.xz +USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils +USBUTILS_DEPENDENCIES = host-pkgconf libusb udev +USBUTILS_LICENSE = GPL-2.0+ (utils) GPL-2.0 or GPL-3.0 (lsusb.py) +USBUTILS_LICENSE_FILES = LICENSES/GPL-2.0-only.txt LICENSES/GPL-3.0-only.txt + +# Nice lsusb.py script only if there's python 3.x +ifeq ($(BR2_PACKAGE_PYTHON3),) +define USBUTILS_REMOVE_PYTHON + rm -f $(TARGET_DIR)/usr/bin/lsusb.py +endef + +USBUTILS_POST_INSTALL_TARGET_HOOKS += USBUTILS_REMOVE_PYTHON +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/ushare/0001-Don-t-build-po-files-if-NLS-is-disabled.patch b/buildroot-2022.02.1/package/ushare/0001-Don-t-build-po-files-if-NLS-is-disabled.patch new file mode 100644 index 00000000..3fbda283 --- /dev/null +++ b/buildroot-2022.02.1/package/ushare/0001-Don-t-build-po-files-if-NLS-is-disabled.patch @@ -0,0 +1,56 @@ +From c9f5783bb2df4a19c6281daeda30e8ab905d2ca3 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sun, 22 Aug 2021 10:44:48 +0200 +Subject: [PATCH] Don't build po files if NLS is disabled + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/ddugovic/uShare/pull/12] +--- + Makefile | 7 +++++-- + configure | 3 +++ + 2 files changed, 8 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index ebd8f91..6686cfd 100644 +--- a/Makefile ++++ b/Makefile +@@ -14,10 +14,13 @@ EXTRADIST = AUTHORS \ + THANKS \ + TODO \ + +-SUBDIRS = po \ +- scripts \ ++SUBDIRS = scripts \ + src \ + ++ifeq ($(NLS),yes) ++SUBDIRS += po ++endif ++ + all: + for subdir in $(SUBDIRS); do \ + $(MAKE) -C $$subdir $@; \ +diff --git a/configure b/configure +index 4a3efe0..f48806a 100755 +--- a/configure ++++ b/configure +@@ -414,6 +414,8 @@ for opt do + ;; + --with-libdlna-dir=*) libdlnadir="$optval"; + ;; ++ --enable-nls) nls="yes" ++ ;; + --disable-nls) nls="no" + ;; + --enable-dlna) dlna="yes" +@@ -723,6 +725,7 @@ append_config "LDFLAGS=$LDFLAGS" + append_config "INSTALL=$INSTALL" + + append_config "DEBUG=$debug" ++append_config "NLS=$nls" + + + echolog "Creating $CONFIG_H ..." +-- +2.32.0 + diff --git a/buildroot-2021.05/package/ushare/Config.in b/buildroot-2022.02.1/package/ushare/Config.in similarity index 100% rename from buildroot-2021.05/package/ushare/Config.in rename to buildroot-2022.02.1/package/ushare/Config.in diff --git a/buildroot-2021.05/package/ushare/ushare.hash b/buildroot-2022.02.1/package/ushare/ushare.hash similarity index 100% rename from buildroot-2021.05/package/ushare/ushare.hash rename to buildroot-2022.02.1/package/ushare/ushare.hash diff --git a/buildroot-2022.02.1/package/ushare/ushare.mk b/buildroot-2022.02.1/package/ushare/ushare.mk new file mode 100644 index 00000000..df9da223 --- /dev/null +++ b/buildroot-2022.02.1/package/ushare/ushare.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# ushare +# +################################################################################ + +USHARE_VERSION = 2.1 +USHARE_SITE = $(call github,ddugovic,uShare,v$(USHARE_VERSION)) +USHARE_DEPENDENCIES = host-pkgconf libupnp $(TARGET_NLS_DEPENDENCIES) +USHARE_LICENSE = GPL-2.0+ +USHARE_LICENSE_FILES = COPYING +USHARE_LDFLAGS = $(TARGET_NLS_LIBS) + +USHARE_CONF_OPTS = \ + --prefix=/usr \ + --cross-compile \ + --cross-prefix="$(TARGET_CROSS)" \ + --sysconfdir=/etc \ + --disable-strip + +USHARE_MAKE_OPTS = LDFLAGS="$(TARGET_LDFLAGS) $(USHARE_LDFLAGS)" + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +USHARE_CONF_OPTS += --enable-nls +USHARE_MAKE_OPTS += GMSGFMT="$(HOST_DIR)/bin/msgfmt" +else +USHARE_CONF_OPTS += --disable-nls +endif + +define USHARE_CONFIGURE_CMDS + (cd $(@D); \ + $(TARGET_CONFIGURE_OPTS) \ + ./configure \ + $(USHARE_CONF_OPTS) \ + ) +endef + +define USHARE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(USHARE_MAKE_OPTS) -C $(@D) +endef + +define USHARE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install + rm -f $(TARGET_DIR)/etc/init.d/ushare +endef + +# Even though configure is called it's not autoconf +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/ussp-push/0001-fix-build-against-bluez-4.patch b/buildroot-2022.02.1/package/ussp-push/0001-fix-build-against-bluez-4.patch similarity index 100% rename from buildroot-2021.05/package/ussp-push/0001-fix-build-against-bluez-4.patch rename to buildroot-2022.02.1/package/ussp-push/0001-fix-build-against-bluez-4.patch diff --git a/buildroot-2021.05/package/ussp-push/0002-fix-build-again-obex-bluez.patch b/buildroot-2022.02.1/package/ussp-push/0002-fix-build-again-obex-bluez.patch similarity index 100% rename from buildroot-2021.05/package/ussp-push/0002-fix-build-again-obex-bluez.patch rename to buildroot-2022.02.1/package/ussp-push/0002-fix-build-again-obex-bluez.patch diff --git a/buildroot-2021.05/package/ussp-push/0003-add-OBEX_CharToUnicode.patch b/buildroot-2022.02.1/package/ussp-push/0003-add-OBEX_CharToUnicode.patch similarity index 100% rename from buildroot-2021.05/package/ussp-push/0003-add-OBEX_CharToUnicode.patch rename to buildroot-2022.02.1/package/ussp-push/0003-add-OBEX_CharToUnicode.patch diff --git a/buildroot-2021.05/package/ussp-push/Config.in b/buildroot-2022.02.1/package/ussp-push/Config.in similarity index 100% rename from buildroot-2021.05/package/ussp-push/Config.in rename to buildroot-2022.02.1/package/ussp-push/Config.in diff --git a/buildroot-2021.05/package/ussp-push/ussp-push.hash b/buildroot-2022.02.1/package/ussp-push/ussp-push.hash similarity index 100% rename from buildroot-2021.05/package/ussp-push/ussp-push.hash rename to buildroot-2022.02.1/package/ussp-push/ussp-push.hash diff --git a/buildroot-2021.05/package/ussp-push/ussp-push.mk b/buildroot-2022.02.1/package/ussp-push/ussp-push.mk similarity index 100% rename from buildroot-2021.05/package/ussp-push/ussp-push.mk rename to buildroot-2022.02.1/package/ussp-push/ussp-push.mk diff --git a/buildroot-2021.05/package/ustream-ssl/Config.in b/buildroot-2022.02.1/package/ustream-ssl/Config.in similarity index 100% rename from buildroot-2021.05/package/ustream-ssl/Config.in rename to buildroot-2022.02.1/package/ustream-ssl/Config.in diff --git a/buildroot-2021.05/package/ustream-ssl/ustream-ssl.hash b/buildroot-2022.02.1/package/ustream-ssl/ustream-ssl.hash similarity index 100% rename from buildroot-2021.05/package/ustream-ssl/ustream-ssl.hash rename to buildroot-2022.02.1/package/ustream-ssl/ustream-ssl.hash diff --git a/buildroot-2021.05/package/ustream-ssl/ustream-ssl.mk b/buildroot-2022.02.1/package/ustream-ssl/ustream-ssl.mk similarity index 100% rename from buildroot-2021.05/package/ustream-ssl/ustream-ssl.mk rename to buildroot-2022.02.1/package/ustream-ssl/ustream-ssl.mk diff --git a/buildroot-2021.05/package/utf8proc/Config.in b/buildroot-2022.02.1/package/utf8proc/Config.in similarity index 100% rename from buildroot-2021.05/package/utf8proc/Config.in rename to buildroot-2022.02.1/package/utf8proc/Config.in diff --git a/buildroot-2022.02.1/package/utf8proc/utf8proc.hash b/buildroot-2022.02.1/package/utf8proc/utf8proc.hash new file mode 100644 index 00000000..acc73903 --- /dev/null +++ b/buildroot-2022.02.1/package/utf8proc/utf8proc.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 4bb121e297293c0fd55f08f83afab6d35d48f0af4ecc07523ad8ec99aa2b12a1 utf8proc-2.7.0.tar.gz +sha256 3b510150d34f248a221bb88e1d811238d6c6c18b51231822c42974c39bb07256 LICENSE.md diff --git a/buildroot-2022.02.1/package/utf8proc/utf8proc.mk b/buildroot-2022.02.1/package/utf8proc/utf8proc.mk new file mode 100644 index 00000000..707e5535 --- /dev/null +++ b/buildroot-2022.02.1/package/utf8proc/utf8proc.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# utf8proc +# +################################################################################ + +UTF8PROC_VERSION = 2.7.0 +UTF8PROC_SITE = $(call github,JuliaStrings,utf8proc,v$(UTF8PROC_VERSION)) +UTF8PROC_LICENSE = MIT +UTF8PROC_LICENSE_FILES = LICENSE.md +UTF8PROC_INSTALL_STAGING = YES +UTF8PROC_SUPPORTS_IN_SOURCE_BUILD = NO + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/buildroot-2022.02.1/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch new file mode 100644 index 00000000..3b4f5109 --- /dev/null +++ b/buildroot-2022.02.1/package/util-linux/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch @@ -0,0 +1,30 @@ +From 5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c Mon Sep 17 00:00:00 2001 +From: Karel Zak +Date: Thu, 5 Aug 2021 09:46:21 +0200 +Subject: libuuid: include c.h to cover restrict keyword + +References: https://github.com/karelzak/util-linux/issues/1405 +Signed-off-by: Karel Zak + +[Retrieved from: +https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=5f9b88f43ba7f98f81bde3538d5f4e5cd1a6c01c] +Signed-off-by: Fabrice Fontaine +--- + libuuid/src/unparse.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libuuid/src/unparse.c b/libuuid/src/unparse.c +index f9a5e4315..ffeed2ed6 100644 +--- a/libuuid/src/unparse.c ++++ b/libuuid/src/unparse.c +@@ -33,6 +33,7 @@ + */ + + #include ++#include "c.h" + + #include "uuidP.h" + +-- +cgit 1.2.3-1.el7 + diff --git a/buildroot-2022.02.1/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/buildroot-2022.02.1/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch new file mode 100644 index 00000000..bfc8f608 --- /dev/null +++ b/buildroot-2022.02.1/package/util-linux/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch @@ -0,0 +1,141 @@ +From 84d38ae3eca523ef990cb848563cc63de25266e6 Mon Sep 17 00:00:00 2001 +From: Karel Zak +Date: Fri, 19 Nov 2021 14:19:03 +0100 +Subject: [PATCH] libblkid: don't mark cache as "probed" if /sys not available + +For "mount --all" we need to read the cache more than once in a short +time. The library checks the delay between probes, and if the delay is +too short, it does not read devices. This is a problem on boot when there +are no /sys, and the cache is empty. In this case, we need to check +for /sys until it's available constantly. + +https://github.com/util-linux/util-linux/issues/1492 +Signed-off-by: Karel Zak + +[Retrieved from: +https://github.com/util-linux/util-linux/commit/84d38ae3eca523ef990cb848563cc63de25266e6] +Signed-off-by: Fabrice Fontaine +--- + libblkid/src/devname.c | 26 +++++++++++++++++--------- + libblkid/src/resolve.c | 2 +- + libblkid/src/tag.c | 8 +++++--- + 3 files changed, 23 insertions(+), 13 deletions(-) + +diff --git a/libblkid/src/devname.c b/libblkid/src/devname.c +index 90a8245fc9..9a173e3489 100644 +--- a/libblkid/src/devname.c ++++ b/libblkid/src/devname.c +@@ -429,6 +429,8 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) + if (!sysfs) + return -BLKID_ERR_SYSFS; + ++ DBG(DEVNAME, ul_debug(" probe /sys/block")); ++ + /* scan /sys/block */ + while ((dev = xreaddir(sysfs))) { + DIR *dir = NULL; +@@ -533,14 +535,18 @@ sysfs_probe_all(blkid_cache cache, int only_if_new, int only_removable) + /* + * Read the device data for all available block devices in the system. + */ +-static int probe_all(blkid_cache cache, int only_if_new) ++static int probe_all(blkid_cache cache, int only_if_new, int update_interval) + { ++ int rc; ++ + if (!cache) + return -BLKID_ERR_PARAM; + + if (cache->bic_flags & BLKID_BIC_FL_PROBED && +- time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) ++ time(NULL) - cache->bic_time < BLKID_PROBE_INTERVAL) { ++ DBG(PROBE, ul_debug("don't re-probe [delay < %d]", BLKID_PROBE_INTERVAL)); + return 0; ++ } + + blkid_read_cache(cache); + #ifdef VG_DIR +@@ -548,7 +554,13 @@ static int probe_all(blkid_cache cache, int only_if_new) + #endif + ubi_probe_all(cache, only_if_new); + +- sysfs_probe_all(cache, only_if_new, 0); ++ rc = sysfs_probe_all(cache, only_if_new, 0); ++ ++ /* Don't mark the change as "probed" if /sys not avalable */ ++ if (update_interval && rc == 0) { ++ cache->bic_time = time(NULL); ++ cache->bic_flags |= BLKID_BIC_FL_PROBED; ++ } + + blkid_flush_cache(cache); + return 0; +@@ -567,11 +579,7 @@ int blkid_probe_all(blkid_cache cache) + int ret; + + DBG(PROBE, ul_debug("Begin blkid_probe_all()")); +- ret = probe_all(cache, 0); +- if (ret == 0) { +- cache->bic_time = time(NULL); +- cache->bic_flags |= BLKID_BIC_FL_PROBED; +- } ++ ret = probe_all(cache, 0, 1); + DBG(PROBE, ul_debug("End blkid_probe_all() [rc=%d]", ret)); + return ret; + } +@@ -589,7 +597,7 @@ int blkid_probe_all_new(blkid_cache cache) + int ret; + + DBG(PROBE, ul_debug("Begin blkid_probe_all_new()")); +- ret = probe_all(cache, 1); ++ ret = probe_all(cache, 1, 0); + DBG(PROBE, ul_debug("End blkid_probe_all_new() [rc=%d]", ret)); + return ret; + } +diff --git a/libblkid/src/resolve.c b/libblkid/src/resolve.c +index 641b022860..16653fa8e1 100644 +--- a/libblkid/src/resolve.c ++++ b/libblkid/src/resolve.c +@@ -32,7 +32,7 @@ char *blkid_get_tag_value(blkid_cache cache, const char *tagname, + blkid_cache c = cache; + char *ret = NULL; + +- DBG(TAG, ul_debug("looking for %s on %s", tagname, devname)); ++ DBG(TAG, ul_debug("looking for tag %s on %s device", tagname, devname)); + + if (!devname) + return NULL; +diff --git a/libblkid/src/tag.c b/libblkid/src/tag.c +index 390a648648..178336505f 100644 +--- a/libblkid/src/tag.c ++++ b/libblkid/src/tag.c +@@ -326,14 +326,14 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, + blkid_dev dev; + int pri; + struct list_head *p; +- int probe_new = 0; ++ int probe_new = 0, probe_all = 0; + + if (!cache || !type || !value) + return NULL; + + blkid_read_cache(cache); + +- DBG(TAG, ul_debug("looking for %s=%s in cache", type, value)); ++ DBG(TAG, ul_debug("looking for tag %s=%s in cache", type, value)); + + try_again: + pri = -1; +@@ -366,9 +366,11 @@ blkid_dev blkid_find_dev_with_tag(blkid_cache cache, + goto try_again; + } + +- if (!dev && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { ++ if (!dev && !probe_all ++ && !(cache->bic_flags & BLKID_BIC_FL_PROBED)) { + if (blkid_probe_all(cache) < 0) + return NULL; ++ probe_all++; + goto try_again; + } + return dev; diff --git a/buildroot-2022.02.1/package/util-linux/Config.in b/buildroot-2022.02.1/package/util-linux/Config.in new file mode 100644 index 00000000..9e9b8933 --- /dev/null +++ b/buildroot-2022.02.1/package/util-linux/Config.in @@ -0,0 +1,451 @@ +menuconfig BR2_PACKAGE_UTIL_LINUX + bool "util-linux" + help + Various useful/essential linux libraries and utilities. + + Things like mkfs, mkswap, swapon, fdisk, mount, dmesg, etc... + + http://www.kernel.org/pub/linux/utils/util-linux/ + +if BR2_PACKAGE_UTIL_LINUX + +config BR2_PACKAGE_UTIL_LINUX_LIBS + bool + +config BR2_PACKAGE_UTIL_LINUX_LIBBLKID + bool "libblkid" + depends on BR2_USE_MMU # fork() + help + Install libblkid. + +config BR2_PACKAGE_UTIL_LINUX_LIBFDISK + bool "libfdisk" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Install libfdisk. + +config BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + bool "libmount" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + help + Install libmount. + +config BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + bool "libsmartcols" + depends on BR2_USE_MMU # fork() + help + Install libsmartcols. + +config BR2_PACKAGE_UTIL_LINUX_LIBUUID + bool "libuuid" + help + Install libuuid. + +config BR2_PACKAGE_UTIL_LINUX_BINARIES + bool "basic set" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + select BR2_PACKAGE_UTIL_LINUX_LIBFDISK + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Install the basic set of util-linux binaries. + + blkdiscard, blkid, blockdev, chcpu, choom, col, colcrt, colrm, + column, ctrlaltdel, dmesg, fdisk, fincore, findfs, findmnt, + flock, fsfreeze, fstrim, getopt, hexdump, ipcmk, isosize, + ldattach, look, lsblk, lscpu, lsipc, lslocks, lsns, mcookie, + mkfs, mkswap, namei, prlimit, readprofile, renice, rev, + rtcwake, script, scriptlive, scriptreplay, setarch, setsid, + sfdisk, swaplabel, swapoff, swapon, uuidgen, uuidparse, + whereis, wipefs + + The setarch utility also installs architecture-specific + symlinks like linux32, linux64, uname26, i386 and x86_64. + +config BR2_PACKAGE_UTIL_LINUX_AGETTY + bool "agetty" + depends on BR2_USE_MMU # fork() + help + Alternative linux getty + +config BR2_PACKAGE_UTIL_LINUX_BFS + bool "bfs" + help + SCO bfs filesystem support + +config BR2_PACKAGE_UTIL_LINUX_CAL + bool "cal" + help + Display a calendar, or some part of it + +config BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH + bool "chfn/chsh" + depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # linux-pam + select BR2_PACKAGE_LINUX_PAM + help + Change login shell, real user name and information + +comment "chfn/chsh needs a toolchain w/ wchar, locale, dynamic library" + depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ + || BR2_STATIC_LIBS + +config BR2_PACKAGE_UTIL_LINUX_CHMEM + bool "chmem" + help + Sets a particular size or range of memory online or offline + +config BR2_PACKAGE_UTIL_LINUX_CRAMFS + bool "cramfs utilities" + select BR2_PACKAGE_ZLIB + help + Utilities for compressed ROM file system (fsck.cramfs, + mkfs.cramfs) + +config BR2_PACKAGE_UTIL_LINUX_EJECT + bool "eject" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Eject removable media + +config BR2_PACKAGE_UTIL_LINUX_FALLOCATE + bool "fallocate" + help + Preallocate space to a file + +config BR2_PACKAGE_UTIL_LINUX_FDFORMAT + bool "fdformat" + help + Low-level format a floppy disk + +config BR2_PACKAGE_UTIL_LINUX_FSCK + bool "fsck" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Check and repair a linux filesystem + +config BR2_PACKAGE_UTIL_LINUX_HARDLINK + bool "hardlink" + help + Consolidate duplicate files via hardlinks + +config BR2_PACKAGE_UTIL_LINUX_HWCLOCK + bool "hwclock" + help + Query or set the hardware clock (RTC) + +config BR2_PACKAGE_UTIL_LINUX_IPCRM + bool "ipcrm" + help + Remove certain IPC resources + +config BR2_PACKAGE_UTIL_LINUX_IPCS + bool "ipcs" + help + Show information on IPC facilities + +config BR2_PACKAGE_UTIL_LINUX_KILL + bool "kill" + help + Send a signal to a process + +config BR2_PACKAGE_UTIL_LINUX_LAST + bool "last" + help + Show a listing of last logged in users + +config BR2_PACKAGE_UTIL_LINUX_LINE + bool "line" + help + Read one line + +config BR2_PACKAGE_UTIL_LINUX_LOGGER + bool "logger" + help + Enter messages into the system log + +config BR2_PACKAGE_UTIL_LINUX_LOGIN + bool "login" + depends on BR2_ENABLE_LOCALE # linux-pam + depends on BR2_USE_WCHAR # linux-pam + depends on !BR2_STATIC_LIBS # linux-pam + depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam + depends on BR2_USE_MMU # fork(), linux-pam + select BR2_PACKAGE_LINUX_PAM + help + Begin a session on the system + +comment "login needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" + depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL + +config BR2_PACKAGE_UTIL_LINUX_LOSETUP + bool "losetup" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + Set up and control loop devices + +config BR2_PACKAGE_UTIL_LINUX_LSLOGINS + bool "lslogins" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + Display information about known users in the system + +config BR2_PACKAGE_UTIL_LINUX_LSMEM + bool "lsmem" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + List the ranges of available memory with their online status + +config BR2_PACKAGE_UTIL_LINUX_MESG + bool "mesg" + help + Control write access to your terminal + +config BR2_PACKAGE_UTIL_LINUX_MINIX + bool "minix" + depends on BR2_USE_MMU # fork() + help + Minix filesystem support + +config BR2_PACKAGE_UTIL_LINUX_MORE + bool "more" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_NCURSES + help + File perusal filter for crt viewing + +config BR2_PACKAGE_UTIL_LINUX_MOUNT + bool "mount/umount" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Mount/unmount filesystems + +config BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT + bool "mountpoint" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBMOUNT + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + See if a directory is a mountpoint + +config BR2_PACKAGE_UTIL_LINUX_NEWGRP + bool "newgrp" + help + Log in to a new group + +config BR2_PACKAGE_UTIL_LINUX_NOLOGIN + bool "nologin" + help + Politely refuse a login + +config BR2_PACKAGE_UTIL_LINUX_NSENTER + bool "nsenter" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + help + Enter the namespaces of another process + +comment "nsenter needs a toolchain w/ headers >= 3.0" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + +config BR2_PACKAGE_UTIL_LINUX_PG + bool "pg" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_NCURSES + help + Browse pagewise through text files + +config BR2_PACKAGE_UTIL_LINUX_PARTX + bool "partition utilities" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + Partition utilities (addpart, delpart, partx) + +config BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT + bool "pivot_root" + help + Change the root filesystem + +config BR2_PACKAGE_UTIL_LINUX_RAW + bool "raw" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 + help + Build a linux raw character device + +comment "raw needs a toolchain w/ headers < 5.14" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 + +config BR2_PACKAGE_UTIL_LINUX_RENAME + bool "rename" + help + Rename files + +config BR2_PACKAGE_UTIL_LINUX_RFKILL + bool "rfkill" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + Tool for enabling and disabling wireless devices. This new + implementation is based upon, and backward compatible with, + the original rfkill from Johannes Berg and Marcel Holtmann. + +config BR2_PACKAGE_UTIL_LINUX_RUNUSER + bool "runuser" + depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam + depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam + depends on BR2_USE_MMU # fork(), linux-pam + select BR2_PACKAGE_LINUX_PAM + help + Run a command with substitute user and group ID (does not need + to ask for a password, because it may be executed by the root + user only) + +comment "runuser needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" + depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL + +config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS + bool "scheduling utilities" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + help + Scheduling utilities (chrt, ionice, taskset, uclampset) + +comment "scheduling utilities need a toolchain w/ headers >= 3.14" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + +config BR2_PACKAGE_UTIL_LINUX_SETPRIV + bool "setpriv" + select BR2_PACKAGE_LIBCAP_NG + help + Run a program with different Linux privilege settings + +config BR2_PACKAGE_UTIL_LINUX_SETTERM + bool "setterm" + select BR2_PACKAGE_NCURSES + help + Set terminal attributes + +config BR2_PACKAGE_UTIL_LINUX_SU + bool "su" + depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR) # linux-pam + depends on !BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_USES_MUSL # linux-pam + depends on BR2_USE_MMU # fork(), linux-pam + select BR2_PACKAGE_LINUX_PAM + help + Run a command with substitute user and group ID + +comment "su needs a uClibc or glibc toolchain w/ wchar, locale, dynamic library" + depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \ + || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL + +config BR2_PACKAGE_UTIL_LINUX_SULOGIN + bool "sulogin" + depends on BR2_USE_MMU # fork() + help + Single-user login + +config BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT + bool "switch_root" + depends on BR2_USE_MMU # fork() + help + Switch to another filesystem as the root of the mount tree + +config BR2_PACKAGE_UTIL_LINUX_TUNELP + bool "tunelp" + select BR2_PACKAGE_NCURSES + help + Set various parameters for the lp device + +config BR2_PACKAGE_UTIL_LINUX_UL + bool "ul" + select BR2_PACKAGE_NCURSES + help + Do underlining + +config BR2_PACKAGE_UTIL_LINUX_UNSHARE + bool "unshare" + depends on BR2_USE_MMU # fork() + help + Run program with some namespaces unshared from parent + +config BR2_PACKAGE_UTIL_LINUX_UTMPDUMP + bool "utmpdump" + help + Dump UTMP and WTMP files in raw format + +config BR2_PACKAGE_UTIL_LINUX_UUIDD + bool "uuidd" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + UUID generation daemon + +config BR2_PACKAGE_UTIL_LINUX_VIPW + bool "vipw" + depends on BR2_USE_MMU # fork() + help + Edit the password, group, shadow-password or shadow-group file + +config BR2_PACKAGE_UTIL_LINUX_WALL + bool "wall" + depends on BR2_USE_MMU # fork() + help + Send a message to everybody's terminal + +config BR2_PACKAGE_UTIL_LINUX_WIPEFS + bool "wipefs" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + wipefs can erase filesystem, raid or partition-table + signatures (magic strings) from the specified device + to make the signatures invisible for libblkid. wipefs + does not erase the filesystem itself nor any other data + from the device. + +config BR2_PACKAGE_UTIL_LINUX_WDCTL + bool "wdctl" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + Shows hardware watchdog status + +config BR2_PACKAGE_UTIL_LINUX_WRITE + bool "write" + help + Send a message to another user + +config BR2_PACKAGE_UTIL_LINUX_ZRAMCTL + bool "zramctl" + depends on BR2_USE_MMU # libsmartcols + select BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS + help + Set up and control zram devices + +endif diff --git a/buildroot-2021.05/package/util-linux/Config.in.host b/buildroot-2022.02.1/package/util-linux/Config.in.host similarity index 100% rename from buildroot-2021.05/package/util-linux/Config.in.host rename to buildroot-2022.02.1/package/util-linux/Config.in.host diff --git a/buildroot-2021.05/package/util-linux/su.pam b/buildroot-2022.02.1/package/util-linux/su.pam similarity index 100% rename from buildroot-2021.05/package/util-linux/su.pam rename to buildroot-2022.02.1/package/util-linux/su.pam diff --git a/buildroot-2022.02.1/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch b/buildroot-2022.02.1/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch new file mode 120000 index 00000000..beecc3a4 --- /dev/null +++ b/buildroot-2022.02.1/package/util-linux/util-linux-libs/0001-libuuid-include-c-h-to-cover-restrict-keyword.patch @@ -0,0 +1 @@ +../0001-libuuid-include-c-h-to-cover-restrict-keyword.patch \ No newline at end of file diff --git a/buildroot-2022.02.1/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch b/buildroot-2022.02.1/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch new file mode 120000 index 00000000..2f3c4821 --- /dev/null +++ b/buildroot-2022.02.1/package/util-linux/util-linux-libs/0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch @@ -0,0 +1 @@ +../0002-libblkid-don-t-mark-cache-as-probed-if-sys-not-available.patch \ No newline at end of file diff --git a/buildroot-2021.05/package/util-linux/util-linux-libs/util-linux-libs.hash b/buildroot-2022.02.1/package/util-linux/util-linux-libs/util-linux-libs.hash similarity index 100% rename from buildroot-2021.05/package/util-linux/util-linux-libs/util-linux-libs.hash rename to buildroot-2022.02.1/package/util-linux/util-linux-libs/util-linux-libs.hash diff --git a/buildroot-2022.02.1/package/util-linux/util-linux-libs/util-linux-libs.mk b/buildroot-2022.02.1/package/util-linux/util-linux-libs/util-linux-libs.mk new file mode 100644 index 00000000..20566345 --- /dev/null +++ b/buildroot-2022.02.1/package/util-linux/util-linux-libs/util-linux-libs.mk @@ -0,0 +1,91 @@ +################################################################################ +# +# util-linux-libs +# +################################################################################ + +# Please keep this file as similar as possible to util-linux.mk + +UTIL_LINUX_LIBS_VERSION = $(UTIL_LINUX_VERSION) +UTIL_LINUX_LIBS_SOURCE = $(UTIL_LINUX_SOURCE) +UTIL_LINUX_LIBS_SITE = $(UTIL_LINUX_SITE) +UTIL_LINUX_LIBS_DL_SUBDIR = $(UTIL_LINUX_DL_SUBDIR) +UTIL_LINUX_LIBS_CPE_ID_VENDOR = $(UTIL_LINUX_CPE_ID_VENDOR) +UTIL_LINUX_LIBS_CPE_ID_PRODUCT = $(UTIL_LINUX_CPE_ID_PRODUCT) + +# README.licensing claims that some files are GPL-2.0 only, but this is not +# true. Some files are GPL-3.0+ but only in tests and optionally in hwclock +# (but we disable that option). rfkill uses an ISC-style license. +UTIL_LINUX_LIBS_LICENSE = LGPL-2.1+ (libblkid, libfdisk, libmount), BSD-3-Clause (libuuid) +UTIL_LINUX_LIBS_LICENSE_FILES = README.licensing \ + Documentation/licenses/COPYING.BSD-3-Clause \ + Documentation/licenses/COPYING.LGPL-2.1-or-later + +UTIL_LINUX_LIBS_INSTALL_STAGING = YES +UTIL_LINUX_LIBS_DEPENDENCIES = \ + host-pkgconf \ + $(TARGET_NLS_DEPENDENCIES) +UTIL_LINUX_LIBS_CONF_OPTS += \ + --disable-rpath \ + --disable-makeinstall-chown + +UTIL_LINUX_LIBS_LINK_LIBS = $(TARGET_NLS_LIBS) + +# Prevent the installation from attempting to move shared libraries from +# ${usrlib_execdir} (/usr/lib) to ${libdir} (/lib), since both paths are +# the same when merged usr is in use. +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +UTIL_LINUX_LIBS_CONF_OPTS += --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/usr/lib +endif + +# systemd depends on util-linux-libs so we disable systemd support +UTIL_LINUX_LIBS_CONF_OPTS += \ + --without-systemd \ + --with-systemdsystemunitdir=no + +# systemd/eudev depend on util-linux-libs so we disable udev support +UTIL_LINUX_LIBS_CONF_OPTS += --without-udev + +# No libs use wchar +UTIL_LINUX_LIBS_CONF_OPTS += --disable-widechar + +# No libs use ncurses +UTIL_LINUX_LIBS_CONF_OPTS += --without-ncursesw --without-ncurses + +# Unfortunately, the util-linux does LIBS="" at the end of its +# configure script. So we have to pass the proper LIBS value when +# calling the configure script to make configure tests pass properly, +# and then pass it again at build time. +UTIL_LINUX_LIBS_CONF_ENV += LIBS="$(UTIL_LINUX_LIBS_LINK_LIBS)" +UTIL_LINUX_LIBS_MAKE_OPTS += LIBS="$(UTIL_LINUX_LIBS_LINK_LIBS)" + +# libmount optionally uses selinux +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT)$(BR2_PACKAGE_LIBSELINUX),yy) +UTIL_LINUX_LIBS_DEPENDENCIES += libselinux +UTIL_LINUX_LIBS_CONF_OPTS += --with-selinux +else +UTIL_LINUX_LIBS_CONF_OPTS += --without-selinux +endif + +# Disable utilities +UTIL_LINUX_LIBS_CONF_OPTS += \ + --disable-all-programs \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),--enable-libblkid,--disable-libblkid) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBFDISK),--enable-libfdisk,--disable-libfdisk) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),--enable-libmount,--disable-libmount) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS),--enable-libsmartcols,--disable-libsmartcols) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBUUID),--enable-libuuid,--disable-libuuid) + +# libmount python bindings are separate, will be installed by full util-linux +UTIL_LINUX_LIBS_CONF_OPTS += --without-python --disable-pylibmount + +# No libs use readline +UTIL_LINUX_LIBS_CONF_OPTS += --without-readline + +# No libs use audit +UTIL_LINUX_LIBS_CONF_OPTS += --without-audit + +# No libs use libmagic +UTIL_LINUX_LIBS_CONF_OPTS += --without-libmagic + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/util-linux/util-linux.hash b/buildroot-2022.02.1/package/util-linux/util-linux.hash new file mode 100644 index 00000000..748a36e0 --- /dev/null +++ b/buildroot-2022.02.1/package/util-linux/util-linux.hash @@ -0,0 +1,9 @@ +# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc +sha256 634e6916ad913366c3536b6468e7844769549b99a7b2bf80314de78ab5655b83 util-linux-2.37.4.tar.xz +# License files, locally calculated +sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing +sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause +sha256 ba7640f00d93e72e92b94b9d71f25ec53bac2f1682f5c4adcccb0018359f60f8 Documentation/licenses/COPYING.BSD-4-Clause-UC +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 Documentation/licenses/COPYING.GPL-2.0-or-later +sha256 e53348ce276358e9997014071c5294b36a18c4b34f32f00ee57b9acce0aafd63 Documentation/licenses/COPYING.ISC +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 Documentation/licenses/COPYING.LGPL-2.1-or-later diff --git a/buildroot-2022.02.1/package/util-linux/util-linux.mk b/buildroot-2022.02.1/package/util-linux/util-linux.mk new file mode 100644 index 00000000..891c17d1 --- /dev/null +++ b/buildroot-2022.02.1/package/util-linux/util-linux.mk @@ -0,0 +1,310 @@ +################################################################################ +# +# util-linux +# +################################################################################ + +# When making changes to this file, please check if +# util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. + +UTIL_LINUX_VERSION_MAJOR = 2.37 +UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).4 +UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz +UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR) + +# README.licensing claims that some files are GPL-2.0 only, but this is not +# true. Some files are GPL-3.0+ but only in tests and optionally in hwclock +# (but we disable that option). rfkill uses an ISC-style license. +UTIL_LINUX_LICENSE = GPL-2.0+, BSD-4-Clause, LGPL-2.1+ (libblkid, libfdisk, libmount), BSD-3-Clause (libuuid), ISC (rfkill) +UTIL_LINUX_LICENSE_FILES = README.licensing \ + Documentation/licenses/COPYING.BSD-3-Clause \ + Documentation/licenses/COPYING.BSD-4-Clause-UC \ + Documentation/licenses/COPYING.GPL-2.0-or-later \ + Documentation/licenses/COPYING.ISC \ + Documentation/licenses/COPYING.LGPL-2.1-or-later + +UTIL_LINUX_CPE_ID_VENDOR = kernel +UTIL_LINUX_INSTALL_STAGING = YES +UTIL_LINUX_DEPENDENCIES = \ + host-pkgconf \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBS),util-linux-libs) \ + $(TARGET_NLS_DEPENDENCIES) +UTIL_LINUX_CONF_OPTS += \ + --disable-rpath \ + --disable-makeinstall-chown + +UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS) + +# workaround missing disk-utils/raw.8 file in util-linux-2.37.3 +# release download package +define UTIL_LINUX_FIX_DISK_UTILS_COMPILE + touch $(@D)/disk-utils/raw.8 +endef +UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE + +HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf + +# We also don't want the host-python dependency +HOST_UTIL_LINUX_CONF_OPTS = \ + --without-systemd \ + --with-systemdsystemunitdir=no \ + --without-python + +ifneq ($(BR2_PACKAGE_UTIL_LINUX_BINARIES)$(BR2_PACKAGE_UTIL_LINUX_CRAMFS)$(BR2_PACKAGE_UTIL_LINUX_FSCK)$(BR2_PACKAGE_UTIL_LINUX_LOSETUP),) +UTIL_LINUX_SELINUX_MODULES = fstools +endif + +# Prevent the installation from attempting to move shared libraries from +# ${usrlib_execdir} (/usr/lib) to ${libdir} (/lib), since both paths are +# the same when merged usr is in use. +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +UTIL_LINUX_CONF_OPTS += --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/usr/lib +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +UTIL_LINUX_CONF_OPTS += --with-systemd --with-systemdsystemunitdir=/usr/lib/systemd/system +UTIL_LINUX_DEPENDENCIES += systemd +else +UTIL_LINUX_CONF_OPTS += --without-systemd --with-systemdsystemunitdir=no +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +UTIL_LINUX_CONF_OPTS += --with-udev +UTIL_LINUX_DEPENDENCIES += udev +else +UTIL_LINUX_CONF_OPTS += --without-udev +endif + +ifeq ($(BR2_PACKAGE_NCURSES),y) +UTIL_LINUX_DEPENDENCIES += ncurses +ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) +UTIL_LINUX_CONF_OPTS += --with-ncursesw +UTIL_LINUX_CONF_ENV += NCURSESW6_CONFIG=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) +else +UTIL_LINUX_CONF_OPTS += --without-ncursesw --with-ncurses --disable-widechar +UTIL_LINUX_CONF_ENV += NCURSES6_CONFIG=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS) +endif +else +ifeq ($(BR2_USE_WCHAR),y) +UTIL_LINUX_CONF_OPTS += --enable-widechar +else +UTIL_LINUX_CONF_OPTS += --disable-widechar +endif +UTIL_LINUX_CONF_OPTS += --without-ncursesw --without-ncurses +endif + +# Unfortunately, the util-linux does LIBS="" at the end of its +# configure script. So we have to pass the proper LIBS value when +# calling the configure script to make configure tests pass properly, +# and then pass it again at build time. +UTIL_LINUX_CONF_ENV += LIBS="$(UTIL_LINUX_LINK_LIBS)" +UTIL_LINUX_MAKE_OPTS += LIBS="$(UTIL_LINUX_LINK_LIBS)" + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +UTIL_LINUX_DEPENDENCIES += libselinux +UTIL_LINUX_CONF_OPTS += --with-selinux +else +UTIL_LINUX_CONF_OPTS += --without-selinux +define UTIL_LINUX_SELINUX_PAMFILES_TWEAK + $(foreach f,su su-l, + $(SED) '/^.*pam_selinux.so.*$$/d' \ + $(TARGET_DIR)/etc/pam.d/$(f) + ) +endef +endif + +# Used by setpriv +UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBCAP_NG),libcap-ng) + +# Used by cramfs utils +UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_ZLIB),zlib) + +# Used by login-utils +UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_LINUX_PAM),linux-pam) + +# Used by hardlink +UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_PCRE2),pcre2) + +# Disable/Enable utilities +UTIL_LINUX_CONF_OPTS += \ + $(if $(BR2_PACKAGE_UTIL_LINUX_BINARIES),--enable-all-programs,--disable-all-programs) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_AGETTY),--enable-agetty,--disable-agetty) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_BFS),--enable-bfs,--disable-bfs) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_CAL),--enable-cal,--disable-cal) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_CHFN_CHSH),--enable-chfn-chsh,--disable-chfn-chsh) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_CHMEM),--enable-chmem,--disable-chmem) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_CRAMFS),--enable-cramfs,--disable-cramfs) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_EJECT),--enable-eject,--disable-eject) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_FALLOCATE),--enable-fallocate,--disable-fallocate) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_FDFORMAT),--enable-fdformat,--disable-fdformat) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_FSCK),--enable-fsck,--disable-fsck) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_HARDLINK),--enable-hardlink,--disable-hardlink) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_HWCLOCK),--enable-hwclock --disable-hwclock-gplv3,--disable-hwclock) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_IPCRM),--enable-ipcrm,--disable-ipcrm) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_IPCS),--enable-ipcs,--disable-ipcs) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_KILL),--enable-kill,--disable-kill) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LAST),--enable-last,--disable-last) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBBLKID),--enable-libblkid,--disable-libblkid) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBFDISK),--enable-libfdisk,--disable-libfdisk) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),--enable-libmount,--disable-libmount) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBSMARTCOLS),--enable-libsmartcols,--disable-libsmartcols) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LIBUUID),--enable-libuuid,--disable-libuuid) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LINE),--enable-line,--disable-line) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LOGGER),--enable-logger,--disable-logger) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN),--enable-login,--disable-login) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LSLOGINS),--enable-lslogins,--disable-lslogins) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_LSMEM),--enable-lsmem,--disable-lsmem) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_MINIX),--enable-minix,--disable-minix) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_MORE),--enable-more,--disable-more) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_MOUNT),--enable-mount,--disable-mount) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT),--enable-mountpoint,--disable-mountpoint) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_NEWGRP),--enable-newgrp,--disable-newgrp) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_NOLOGIN),--enable-nologin,--disable-nologin) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_NSENTER),--enable-nsenter,--disable-nsenter) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_PARTX),--enable-partx,--disable-partx) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_PG),--enable-pg,--disable-pg) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT),--enable-pivot_root,--disable-pivot_root) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_RAW),--enable-raw,--disable-raw) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_RENAME),--enable-rename,--disable-rename) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_RFKILL),--enable-rfkill,--disable-rfkill) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_RUNUSER),--enable-runuser,--disable-runuser) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS),--enable-schedutils,--disable-schedutils) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_SETPRIV),--enable-setpriv,--disable-setpriv) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_SETTERM),--enable-setterm,--disable-setterm) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_SU),--enable-su,--disable-su) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_SULOGIN),--enable-sulogin,--disable-sulogin) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_SWITCH_ROOT),--enable-switch_root,--disable-switch_root) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_TUNELP),--enable-tunelp,--disable-tunelp) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_UL),--enable-ul,--disable-ul) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_UNSHARE),--enable-unshare,--disable-unshare) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_UTMPDUMP),--enable-utmpdump,--disable-utmpdump) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_UUIDD),--enable-uuidd,--disable-uuidd) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_VIPW),--enable-vipw,--disable-vipw) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_WALL),--enable-wall,--disable-wall) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_WDCTL),--enable-wdctl,--disable-wdctl) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_WIPEFS),--enable-wipefs,--disable-wipefs) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_WRITE),--enable-write,--disable-write) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_ZRAMCTL),--enable-zramctl,--disable-zramctl) + +# In the host version of util-linux, we only require libuuid and +# libmount (plus libblkid as an indirect dependency of libmount). +# So disable all of the programs, unless BR2_PACKAGE_HOST_UTIL_LINUX is set + +HOST_UTIL_LINUX_CONF_OPTS += \ + --enable-libblkid \ + --enable-libmount \ + --enable-libuuid \ + --without-libmagic \ + --without-ncurses \ + --without-ncursesw \ + --without-tinfo + +# Disable raw command since starting from version 2.37 needs a +# work-around to build but in the end we don't need at all. +HOST_UTIL_LINUX_CONF_OPTS += \ + --disable-raw + +ifeq ($(BR2_PACKAGE_HOST_UTIL_LINUX),y) +HOST_UTIL_LINUX_CONF_OPTS += --disable-makeinstall-chown +# disable commands that have ncurses dependency, as well as +# other ones that are useless on the host +HOST_UTIL_LINUX_CONF_OPTS += \ + --disable-agetty \ + --disable-chfn-chsh \ + --disable-chmem \ + --disable-login \ + --disable-lslogins \ + --disable-mesg \ + --disable-more \ + --disable-newgrp \ + --disable-nologin \ + --disable-nsenter \ + --disable-pg \ + --disable-rfkill \ + --disable-runuser \ + --disable-schedutils \ + --disable-setpriv \ + --disable-setterm \ + --disable-su \ + --disable-sulogin \ + --disable-tunelp \ + --disable-ul \ + --disable-unshare \ + --disable-uuidd \ + --disable-vipw \ + --disable-wall \ + --disable-wdctl \ + --disable-write \ + --disable-zramctl +# Used by cramfs utils +HOST_UTIL_LINUX_DEPENDENCIES += host-zlib +else +HOST_UTIL_LINUX_CONF_OPTS += --disable-all-programs +endif + +# Install libmount Python bindings +ifeq ($(BR2_PACKAGE_PYTHON3),y) +UTIL_LINUX_CONF_OPTS += --with-python +UTIL_LINUX_DEPENDENCIES += python3 +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBMOUNT),y) +UTIL_LINUX_CONF_OPTS += --enable-pylibmount +else +UTIL_LINUX_CONF_OPTS += --disable-pylibmount +endif +else +UTIL_LINUX_CONF_OPTS += --without-python +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +UTIL_LINUX_CONF_OPTS += --with-readline +UTIL_LINUX_LINK_LIBS += $(if $(BR2_STATIC_LIBS),-lcurses) +UTIL_LINUX_DEPENDENCIES += readline +else +UTIL_LINUX_CONF_OPTS += --without-readline +endif + +ifeq ($(BR2_PACKAGE_AUDIT),y) +UTIL_LINUX_CONF_OPTS += --with-audit +UTIL_LINUX_DEPENDENCIES += audit +else +UTIL_LINUX_CONF_OPTS += --without-audit +endif + +ifeq ($(BR2_PACKAGE_FILE),y) +UTIL_LINUX_CONF_OPTS += --with-libmagic +UTIL_LINUX_DEPENDENCIES += file +else +UTIL_LINUX_CONF_OPTS += --without-libmagic +endif + +# Install PAM configuration files +ifeq ($(BR2_PACKAGE_UTIL_LINUX_SU)$(BR2_PACKAGE_LINUX_PAM),yy) +define UTIL_LINUX_INSTALL_PAMFILES + $(INSTALL) -D -m 0644 package/util-linux/su.pam \ + $(TARGET_DIR)/etc/pam.d/su + $(INSTALL) -D -m 0644 package/util-linux/su.pam \ + $(TARGET_DIR)/etc/pam.d/su-l + $(UTIL_LINUX_SELINUX_PAMFILES_TWEAK) +endef +UTIL_LINUX_POST_INSTALL_TARGET_HOOKS += UTIL_LINUX_INSTALL_PAMFILES +endif + +# Install agetty->getty symlink to avoid breakage when there's no busybox +ifeq ($(BR2_PACKAGE_UTIL_LINUX_AGETTY),y) +ifeq ($(BR2_PACKAGE_BUSYBOX),) +define UTIL_LINUX_GETTY_SYMLINK + ln -sf agetty $(TARGET_DIR)/sbin/getty +endef +endif +endif + +UTIL_LINUX_POST_INSTALL_TARGET_HOOKS += UTIL_LINUX_GETTY_SYMLINK + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) + +# Must be included after the autotools-package call, to make sure all variables +# are available +include package/util-linux/util-linux-libs/util-linux-libs.mk diff --git a/buildroot-2021.05/package/utp_com/Config.in.host b/buildroot-2022.02.1/package/utp_com/Config.in.host similarity index 100% rename from buildroot-2021.05/package/utp_com/Config.in.host rename to buildroot-2022.02.1/package/utp_com/Config.in.host diff --git a/buildroot-2021.05/package/utp_com/utp_com.hash b/buildroot-2022.02.1/package/utp_com/utp_com.hash similarity index 100% rename from buildroot-2021.05/package/utp_com/utp_com.hash rename to buildroot-2022.02.1/package/utp_com/utp_com.hash diff --git a/buildroot-2021.05/package/utp_com/utp_com.mk b/buildroot-2022.02.1/package/utp_com/utp_com.mk similarity index 100% rename from buildroot-2021.05/package/utp_com/utp_com.mk rename to buildroot-2022.02.1/package/utp_com/utp_com.mk diff --git a/buildroot-2021.05/package/uvw/Config.in b/buildroot-2022.02.1/package/uvw/Config.in similarity index 100% rename from buildroot-2021.05/package/uvw/Config.in rename to buildroot-2022.02.1/package/uvw/Config.in diff --git a/buildroot-2022.02.1/package/uvw/uvw.hash b/buildroot-2022.02.1/package/uvw/uvw.hash new file mode 100644 index 00000000..5f7521c8 --- /dev/null +++ b/buildroot-2022.02.1/package/uvw/uvw.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 30b0ba97a94d5e652490c6b1b32c95e608263f21cf3bc606308d09b3e3a114bf uvw-2.10.0_libuv_v1.42.tar.gz +sha256 5de32af2469480cf3261c9781962e0887366666ba8ee1f4a32c386c77fc50c88 LICENSE diff --git a/buildroot-2022.02.1/package/uvw/uvw.mk b/buildroot-2022.02.1/package/uvw/uvw.mk new file mode 100644 index 00000000..9c15d536 --- /dev/null +++ b/buildroot-2022.02.1/package/uvw/uvw.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# uvw +# +################################################################################ + +UVW_VERSION = 2.10.0_libuv_v1.42 +UVW_SITE = $(call github,skypjack,uvw,v$(UVW_VERSION)) +UVW_INSTALL_STAGING = YES +UVW_INSTALL_TARGET = NO +UVW_SUPPORTS_IN_SOURCE_BUILD = NO +UVW_DEPENDENCIES = libuv +UVW_LICENSE = MIT +UVW_LICENSE_FILES = LICENSE + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/ux500-firmware/Config.in b/buildroot-2022.02.1/package/ux500-firmware/Config.in similarity index 100% rename from buildroot-2021.05/package/ux500-firmware/Config.in rename to buildroot-2022.02.1/package/ux500-firmware/Config.in diff --git a/buildroot-2021.05/package/ux500-firmware/ux500-firmware.hash b/buildroot-2022.02.1/package/ux500-firmware/ux500-firmware.hash similarity index 100% rename from buildroot-2021.05/package/ux500-firmware/ux500-firmware.hash rename to buildroot-2022.02.1/package/ux500-firmware/ux500-firmware.hash diff --git a/buildroot-2021.05/package/ux500-firmware/ux500-firmware.mk b/buildroot-2022.02.1/package/ux500-firmware/ux500-firmware.mk similarity index 100% rename from buildroot-2021.05/package/ux500-firmware/ux500-firmware.mk rename to buildroot-2022.02.1/package/ux500-firmware/ux500-firmware.mk diff --git a/buildroot-2021.05/package/v4l2grab/Config.in b/buildroot-2022.02.1/package/v4l2grab/Config.in similarity index 100% rename from buildroot-2021.05/package/v4l2grab/Config.in rename to buildroot-2022.02.1/package/v4l2grab/Config.in diff --git a/buildroot-2021.05/package/v4l2grab/v4l2grab.hash b/buildroot-2022.02.1/package/v4l2grab/v4l2grab.hash similarity index 100% rename from buildroot-2021.05/package/v4l2grab/v4l2grab.hash rename to buildroot-2022.02.1/package/v4l2grab/v4l2grab.hash diff --git a/buildroot-2021.05/package/v4l2grab/v4l2grab.mk b/buildroot-2022.02.1/package/v4l2grab/v4l2grab.mk similarity index 100% rename from buildroot-2021.05/package/v4l2grab/v4l2grab.mk rename to buildroot-2022.02.1/package/v4l2grab/v4l2grab.mk diff --git a/buildroot-2021.05/package/v4l2loopback/Config.in b/buildroot-2022.02.1/package/v4l2loopback/Config.in similarity index 100% rename from buildroot-2021.05/package/v4l2loopback/Config.in rename to buildroot-2022.02.1/package/v4l2loopback/Config.in diff --git a/buildroot-2021.05/package/v4l2loopback/v4l2loopback.hash b/buildroot-2022.02.1/package/v4l2loopback/v4l2loopback.hash similarity index 100% rename from buildroot-2021.05/package/v4l2loopback/v4l2loopback.hash rename to buildroot-2022.02.1/package/v4l2loopback/v4l2loopback.hash diff --git a/buildroot-2021.05/package/v4l2loopback/v4l2loopback.mk b/buildroot-2022.02.1/package/v4l2loopback/v4l2loopback.mk similarity index 100% rename from buildroot-2021.05/package/v4l2loopback/v4l2loopback.mk rename to buildroot-2022.02.1/package/v4l2loopback/v4l2loopback.mk diff --git a/buildroot-2022.02.1/package/vala/0001-dont-add-dirty-to-valac-version.patch b/buildroot-2022.02.1/package/vala/0001-dont-add-dirty-to-valac-version.patch new file mode 100644 index 00000000..8d878cd4 --- /dev/null +++ b/buildroot-2022.02.1/package/vala/0001-dont-add-dirty-to-valac-version.patch @@ -0,0 +1,28 @@ +valac: don't append -dirty to version + +Don't append -dirty to the valac version number if the Buildroot Git +tree has uncommited changes. + +The patched script is meant for the valac developers, but it also +activates if you build valac in a subdirectory of a Git tree (e.g. +as is commonly done in Buildroot). + +The effect is that valac gets built as being version x.y.z-dirty, which +breaks programs (such as Midori) that explicitly check for valac-x.y.z. + +Signed-off-by: Simon Dawson +[Fabrice: update for 0.52.4] +Signed-off-by: Fabrice Fontaine +diff -Nur a/build-aux/git-version-gen b/build-aux/git-version-gen +--- a/build-aux/git-version-gen 2010-08-15 12:49:03.000000000 +0100 ++++ b/build-aux/git-version-gen 2012-05-14 10:17:19.977204570 +0100 +@@ -135,7 +135,7 @@ + *) # Append the suffix only if there isn't one already. + case $v in + *-dirty) ;; +- *) v="$v-dirty" ;; ++ #*) v="$v-dirty" ;; + esac ;; + esac + fi + diff --git a/buildroot-2021.05/package/vala/vala-wrapper b/buildroot-2022.02.1/package/vala/vala-wrapper similarity index 100% rename from buildroot-2021.05/package/vala/vala-wrapper rename to buildroot-2022.02.1/package/vala/vala-wrapper diff --git a/buildroot-2022.02.1/package/vala/vala.hash b/buildroot-2022.02.1/package/vala/vala.hash new file mode 100644 index 00000000..7f3a0999 --- /dev/null +++ b/buildroot-2022.02.1/package/vala/vala.hash @@ -0,0 +1,4 @@ +# From https://download.gnome.org/sources/vala/0.52/vala-0.52.4.sha256sum +sha256 ecde520e5160e659ee699f8b1cdc96065edbd44bbd08eb48ef5f2506751fdf31 vala-0.52.4.tar.xz +# Locally computed +sha256 5df07007198989c622f5d41de8d703e7bef3d0e79d62e24332ee739a452af62a COPYING diff --git a/buildroot-2022.02.1/package/vala/vala.mk b/buildroot-2022.02.1/package/vala/vala.mk new file mode 100644 index 00000000..94e18d34 --- /dev/null +++ b/buildroot-2022.02.1/package/vala/vala.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# vala +# +################################################################################ + +VALA_VERSION_MAJOR = 0.52 +VALA_VERSION = $(VALA_VERSION_MAJOR).4 +VALA_SITE = http://download.gnome.org/sources/vala/$(VALA_VERSION_MAJOR) +VALA_SOURCE = vala-$(VALA_VERSION).tar.xz +VALA_LICENSE = LGPL-2.1+ +VALA_LICENSE_FILES = COPYING +VALA_CPE_ID_VENDOR = gnome + +HOST_VALA_DEPENDENCIES = host-bison host-flex host-libglib2 +# Yes, the autoconf script understands ':' as "xsltproc is not +# available". +HOST_VALA_CONF_ENV = ac_cv_path_XSLTPROC=: +HOST_VALA_CONF_OPTS += --disable-valadoc + +# We wrap vala, valac and vapigen to point to the proper gir and vapi data dirs +# Otherwise we'll get host directory data which isn't enough +define HOST_VALA_INSTALL_WRAPPER + $(INSTALL) -D -m 0755 package/vala/vala-wrapper \ + $(HOST_DIR)/bin/vala + $(INSTALL) -D -m 0755 package/vala/vala-wrapper \ + $(HOST_DIR)/bin/valac + $(INSTALL) -D -m 0755 package/vala/vala-wrapper \ + $(HOST_DIR)/bin/vapigen + $(SED) 's,@VALA_VERSION@,$(VALA_VERSION_MAJOR),' \ + $(HOST_DIR)/bin/vala \ + $(HOST_DIR)/bin/valac \ + $(HOST_DIR)/bin/vapigen +endef +HOST_VALA_POST_INSTALL_HOOKS += HOST_VALA_INSTALL_WRAPPER + +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/valgrind/0001-workaround-SIGSEGV-on-PPC.patch b/buildroot-2022.02.1/package/valgrind/0001-workaround-SIGSEGV-on-PPC.patch similarity index 100% rename from buildroot-2021.05/package/valgrind/0001-workaround-SIGSEGV-on-PPC.patch rename to buildroot-2022.02.1/package/valgrind/0001-workaround-SIGSEGV-on-PPC.patch diff --git a/buildroot-2021.05/package/valgrind/0002-Define-PTRACE_GETSIGINFO-on-PowerPC-when-not-availab.patch b/buildroot-2022.02.1/package/valgrind/0002-Define-PTRACE_GETSIGINFO-on-PowerPC-when-not-availab.patch similarity index 100% rename from buildroot-2021.05/package/valgrind/0002-Define-PTRACE_GETSIGINFO-on-PowerPC-when-not-availab.patch rename to buildroot-2022.02.1/package/valgrind/0002-Define-PTRACE_GETSIGINFO-on-PowerPC-when-not-availab.patch diff --git a/buildroot-2022.02.1/package/valgrind/Config.in b/buildroot-2022.02.1/package/valgrind/Config.in new file mode 100644 index 00000000..70084913 --- /dev/null +++ b/buildroot-2022.02.1/package/valgrind/Config.in @@ -0,0 +1,88 @@ +config BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS + bool + default y if BR2_aarch64 + default y if BR2_ARM_CPU_ARMV7A + default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + default y if BR2_i386 || BR2_x86_64 + default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le + depends on !BR2_MIPS_SOFT_FLOAT + +comment "valgrind needs a toolchain w/ dynamic library, threads" + depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS + depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_VALGRIND + bool "valgrind" + depends on BR2_PACKAGE_VALGRIND_ARCH_SUPPORTS + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS + help + Tool for debugging and profiling Linux programs. + + http://valgrind.org/ + +if BR2_PACKAGE_VALGRIND + +config BR2_PACKAGE_VALGRIND_MEMCHECK + bool "Memcheck: a memory error detector" + default y + help + This option allows to install the Memcheck tool + +config BR2_PACKAGE_VALGRIND_CACHEGRIND + bool "Cachegrind: a cache and branch-prediction profiler" + default y + help + This option allows to install the Cachegrind tool + +config BR2_PACKAGE_VALGRIND_CALLGRIND + bool "Callgrind: a call-graph generating cache and branch prediction profiler" + default y + help + This option allows to install the Callgrind tool + +config BR2_PACKAGE_VALGRIND_HELGRIND + bool "Helgrind: a thread error detector" + default y + help + This option allows to install the Helgrind tool + +config BR2_PACKAGE_VALGRIND_DRD + bool "DRD: a thread error detector" + default y + help + This option allows to install the DRD tool + +config BR2_PACKAGE_VALGRIND_MASSIF + bool "Massif: a heap profiler" + default y + help + This option allows to install the Massif tool + +config BR2_PACKAGE_VALGRIND_DHAT + bool "DHAT: a dynamic heap analysis tool" + default y + help + This option allows to install the DHAT tool + +config BR2_PACKAGE_VALGRIND_SGCHECK + bool "SGCheck: an experimental stack and global array overrun detector" + help + This option allows to install the SGCheck tool + +config BR2_PACKAGE_VALGRIND_BBV + bool "BBV: an experimental basic block vector generation tool" + help + This option allows to install the BBV tool + +config BR2_PACKAGE_VALGRIND_LACKEY + bool "Lackey: an example tool" + help + This option allows to install the Lackey tool + +config BR2_PACKAGE_VALGRIND_NULGRIND + bool "Nulgrind: the minimal Valgrind tool" + help + This option allows to install the Nulgrind tool + +endif diff --git a/buildroot-2021.05/package/valgrind/uclibc.supp b/buildroot-2022.02.1/package/valgrind/uclibc.supp similarity index 100% rename from buildroot-2021.05/package/valgrind/uclibc.supp rename to buildroot-2022.02.1/package/valgrind/uclibc.supp diff --git a/buildroot-2022.02.1/package/valgrind/valgrind.hash b/buildroot-2022.02.1/package/valgrind/valgrind.hash new file mode 100644 index 00000000..748fc3eb --- /dev/null +++ b/buildroot-2022.02.1/package/valgrind/valgrind.hash @@ -0,0 +1,8 @@ +# From https://valgrind.org/downloads/current.html +md5 de56a5532b0c81781db677ca712c585a valgrind-3.18.1.tar.bz2 +# locally computed +sha256 00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5 valgrind-3.18.1.tar.bz2 + +# License files +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 56976e64523fa1e68db4e6f464f5b2cb89d7d08f54b1d012e317b8db286b3faf COPYING.DOCS diff --git a/buildroot-2022.02.1/package/valgrind/valgrind.mk b/buildroot-2022.02.1/package/valgrind/valgrind.mk new file mode 100644 index 00000000..52f2a04f --- /dev/null +++ b/buildroot-2022.02.1/package/valgrind/valgrind.mk @@ -0,0 +1,160 @@ +################################################################################ +# +# valgrind +# +################################################################################ + +VALGRIND_VERSION = 3.18.1 +VALGRIND_SITE = https://sourceware.org/pub/valgrind +VALGRIND_SOURCE = valgrind-$(VALGRIND_VERSION).tar.bz2 +VALGRIND_LICENSE = GPL-2.0, GFDL-1.2 +VALGRIND_LICENSE_FILES = COPYING COPYING.DOCS +VALGRIND_CPE_ID_VENDOR = valgrind +VALGRIND_CONF_OPTS = \ + --disable-ubsan \ + --without-mpicc +VALGRIND_INSTALL_STAGING = YES + +# Valgrind must be compiled with no stack protection, so forcefully +# pass -fno-stack-protector to override what Buildroot may have in +# TARGET_CFLAGS if BR2_SSP_* support is enabled. +VALGRIND_CFLAGS = \ + $(TARGET_CFLAGS) \ + -fno-stack-protector + +# When Valgrind detects a 32-bit MIPS architecture, it forcibly adds +# -march=mips32 to CFLAGS; when it detects a 64-bit MIPS architecture, +# it forcibly adds -march=mips64. This causes Valgrind to be built +# always for the first ISA revision level (R1), even when the user has +# configured Buildroot for the second ISA revision level (R2). +# +# Override the CFLAGS variable (which Valgrind appends to its CFLAGS) +# and pass the right -march option, so they take precedence over +# Valgrind's wrongfully detected value. +ifeq ($(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el),y) +VALGRIND_CFLAGS += -march="$(GCC_TARGET_ARCH)" +endif + +VALGRIND_CONF_ENV = CFLAGS="$(VALGRIND_CFLAGS)" + +# fix uclibc configure c99 support detection +VALGRIND_CONF_ENV += ac_cv_prog_cc_c99='-std=gnu99' + +# On ARM, Valgrind only supports ARMv7, and uses the arch part of the +# host tuple to determine whether it's being built for ARMv7 or +# not. Therefore, we adjust the host tuple to specify we're on +# ARMv7. The valgrind package is guaranteed, through Config.in, to +# only be selected on ARMv7-A platforms. +ifeq ($(BR2_ARM_CPU_ARMV7A),y) +VALGRIND_CONF_OPTS += \ + --host=$(patsubst arm-%,armv7-%,$(GNU_TARGET_NAME)) +endif + +ifeq ($(BR2_GCC_ENABLE_LTO),y) +VALGRIND_CONF_OPTS += --enable-lto +else +VALGRIND_CONF_OPTS += --disable-lto +endif + +define VALGRIND_INSTALL_UCLIBC_SUPP + $(INSTALL) -D -m 0644 package/valgrind/uclibc.supp $(TARGET_DIR)/usr/lib/valgrind/uclibc.supp +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_INSTALL_UCLIBC_SUPP + +ifeq ($(BR2_PACKAGE_VALGRIND_MEMCHECK),) +define VALGRIND_REMOVE_MEMCHECK + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*memcheck* +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_MEMCHECK +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_CACHEGRIND),) +define VALGRIND_REMOVE_CACHEGRIND + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*cachegrind* + for i in cg_annotate cg_diff cg_merge; do \ + rm -f $(TARGET_DIR)/usr/bin/$$i ; \ + done +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_CACHEGRIND +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_CALLGRIND),) +define VALGRIND_REMOVE_CALLGRIND + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*callgrind* + for i in callgrind_annotate callgrind_control ; do \ + rm -f $(TARGET_DIR)/usr/bin/$$i ; \ + done +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_CALLGRIND +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_HELGRIND),) +define VALGRIND_REMOVE_HELGRIND + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*helgrind* +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_HELGRIND +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_DRD),) +define VALGRIND_REMOVE_DRD + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*drd* +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DRD +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_MASSIF),) +define VALGRIND_REMOVE_MASSIF + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*massif* + rm -f $(TARGET_DIR)/usr/bin/ms_print +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_MASSIF +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_DHAT),) +define VALGRIND_REMOVE_DHAT + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*dhat* +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DHAT +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_SGCHECK),) +define VALGRIND_REMOVE_SGCHECK + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*sgcheck* +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_SGCHECK +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_BBV),) +define VALGRIND_REMOVE_BBV + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*bbv* +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_BBV +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_LACKEY),) +define VALGRIND_REMOVE_LACKEY + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*lackey* +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_LACKEY +endif + +ifeq ($(BR2_PACKAGE_VALGRIND_NULGRIND),) +define VALGRIND_REMOVE_NULGRIND + rm -f $(TARGET_DIR)/usr/libexec/valgrind/*none* +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_NULGRIND +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/valijson/Config.in b/buildroot-2022.02.1/package/valijson/Config.in new file mode 100644 index 00000000..07706cd9 --- /dev/null +++ b/buildroot-2022.02.1/package/valijson/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_VALIJSON + bool "valijson" + depends on BR2_INSTALL_LIBSTDCPP + help + Valijson is a header-only JSON Schema Validation library for + C++. Valijson provides a simple validation API that allows + you load JSON Schemas, and validate documents loaded by one + of several supported parser libraries like boost, jsoncpp, + rapidjson and picoJSON. + + https://github.com/tristanpenman/valijson + +comment "valijson needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2021.05/package/valijson/valijson.hash b/buildroot-2022.02.1/package/valijson/valijson.hash similarity index 100% rename from buildroot-2021.05/package/valijson/valijson.hash rename to buildroot-2022.02.1/package/valijson/valijson.hash diff --git a/buildroot-2022.02.1/package/valijson/valijson.mk b/buildroot-2022.02.1/package/valijson/valijson.mk new file mode 100644 index 00000000..71c5b05f --- /dev/null +++ b/buildroot-2022.02.1/package/valijson/valijson.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# valijson +# +################################################################################ + +VALIJSON_VERSION = 0.3 +VALIJSON_SITE = $(call github,tristanpenman,valijson,v$(VALIJSON_VERSION)) +VALIJSON_LICENSE = BSD-2-Clause +VALIJSON_LICENSE_FILES = LICENSE +VALIJSON_CPE_ID_VENDOR = valijson_project +VALIJSON_INSTALL_STAGING = YES +VALIJSON_INSTALL_TARGET = NO +VALIJSON_CONF_OPTS = -Dvalijson_INSTALL_HEADERS=TRUE -Dvalijson_BUILD_TESTS=FALSE + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/vboot-utils/0001-Add-missing-definition-of-MTD_CHAR_MAJOR.patch b/buildroot-2022.02.1/package/vboot-utils/0001-Add-missing-definition-of-MTD_CHAR_MAJOR.patch similarity index 100% rename from buildroot-2021.05/package/vboot-utils/0001-Add-missing-definition-of-MTD_CHAR_MAJOR.patch rename to buildroot-2022.02.1/package/vboot-utils/0001-Add-missing-definition-of-MTD_CHAR_MAJOR.patch diff --git a/buildroot-2021.05/package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch b/buildroot-2022.02.1/package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch similarity index 100% rename from buildroot-2021.05/package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch rename to buildroot-2022.02.1/package/vboot-utils/0002-Add-missing-header-include-for-ssize_t.patch diff --git a/buildroot-2021.05/package/vboot-utils/0003-Avoid-RSA-type-redefinition.patch b/buildroot-2022.02.1/package/vboot-utils/0003-Avoid-RSA-type-redefinition.patch similarity index 100% rename from buildroot-2021.05/package/vboot-utils/0003-Avoid-RSA-type-redefinition.patch rename to buildroot-2022.02.1/package/vboot-utils/0003-Avoid-RSA-type-redefinition.patch diff --git a/buildroot-2021.05/package/vboot-utils/0004-Disable-static-futility.patch b/buildroot-2022.02.1/package/vboot-utils/0004-Disable-static-futility.patch similarity index 100% rename from buildroot-2021.05/package/vboot-utils/0004-Disable-static-futility.patch rename to buildroot-2022.02.1/package/vboot-utils/0004-Disable-static-futility.patch diff --git a/buildroot-2021.05/package/vboot-utils/0005-include-sys-sysmacros.h-for-major.patch b/buildroot-2022.02.1/package/vboot-utils/0005-include-sys-sysmacros.h-for-major.patch similarity index 100% rename from buildroot-2021.05/package/vboot-utils/0005-include-sys-sysmacros.h-for-major.patch rename to buildroot-2022.02.1/package/vboot-utils/0005-include-sys-sysmacros.h-for-major.patch diff --git a/buildroot-2021.05/package/vboot-utils/0006-Update-for-openssl-1.1.patch b/buildroot-2022.02.1/package/vboot-utils/0006-Update-for-openssl-1.1.patch similarity index 100% rename from buildroot-2021.05/package/vboot-utils/0006-Update-for-openssl-1.1.patch rename to buildroot-2022.02.1/package/vboot-utils/0006-Update-for-openssl-1.1.patch diff --git a/buildroot-2021.05/package/vboot-utils/0007-Make-vboot_version-extern-in-header.patch b/buildroot-2022.02.1/package/vboot-utils/0007-Make-vboot_version-extern-in-header.patch similarity index 100% rename from buildroot-2021.05/package/vboot-utils/0007-Make-vboot_version-extern-in-header.patch rename to buildroot-2022.02.1/package/vboot-utils/0007-Make-vboot_version-extern-in-header.patch diff --git a/buildroot-2021.05/package/vboot-utils/Config.in.host b/buildroot-2022.02.1/package/vboot-utils/Config.in.host similarity index 100% rename from buildroot-2021.05/package/vboot-utils/Config.in.host rename to buildroot-2022.02.1/package/vboot-utils/Config.in.host diff --git a/buildroot-2021.05/package/vboot-utils/vboot-utils.hash b/buildroot-2022.02.1/package/vboot-utils/vboot-utils.hash similarity index 100% rename from buildroot-2021.05/package/vboot-utils/vboot-utils.hash rename to buildroot-2022.02.1/package/vboot-utils/vboot-utils.hash diff --git a/buildroot-2021.05/package/vboot-utils/vboot-utils.mk b/buildroot-2022.02.1/package/vboot-utils/vboot-utils.mk similarity index 100% rename from buildroot-2021.05/package/vboot-utils/vboot-utils.mk rename to buildroot-2022.02.1/package/vboot-utils/vboot-utils.mk diff --git a/buildroot-2021.05/package/vde2/0001-no-cxx.patch b/buildroot-2022.02.1/package/vde2/0001-no-cxx.patch similarity index 100% rename from buildroot-2021.05/package/vde2/0001-no-cxx.patch rename to buildroot-2022.02.1/package/vde2/0001-no-cxx.patch diff --git a/buildroot-2021.05/package/vde2/0002-fstp-Add-static-to-inline-functions.patch b/buildroot-2022.02.1/package/vde2/0002-fstp-Add-static-to-inline-functions.patch similarity index 100% rename from buildroot-2021.05/package/vde2/0002-fstp-Add-static-to-inline-functions.patch rename to buildroot-2022.02.1/package/vde2/0002-fstp-Add-static-to-inline-functions.patch diff --git a/buildroot-2021.05/package/vde2/Config.in b/buildroot-2022.02.1/package/vde2/Config.in similarity index 100% rename from buildroot-2021.05/package/vde2/Config.in rename to buildroot-2022.02.1/package/vde2/Config.in diff --git a/buildroot-2021.05/package/vde2/vde2.hash b/buildroot-2022.02.1/package/vde2/vde2.hash similarity index 100% rename from buildroot-2021.05/package/vde2/vde2.hash rename to buildroot-2022.02.1/package/vde2/vde2.hash diff --git a/buildroot-2021.05/package/vde2/vde2.mk b/buildroot-2022.02.1/package/vde2/vde2.mk similarity index 100% rename from buildroot-2021.05/package/vde2/vde2.mk rename to buildroot-2022.02.1/package/vde2/vde2.mk diff --git a/buildroot-2021.05/package/vdr-plugin-vnsiserver/Config.in b/buildroot-2022.02.1/package/vdr-plugin-vnsiserver/Config.in similarity index 100% rename from buildroot-2021.05/package/vdr-plugin-vnsiserver/Config.in rename to buildroot-2022.02.1/package/vdr-plugin-vnsiserver/Config.in diff --git a/buildroot-2021.05/package/vdr-plugin-vnsiserver/vdr-plugin-vnsiserver.hash b/buildroot-2022.02.1/package/vdr-plugin-vnsiserver/vdr-plugin-vnsiserver.hash similarity index 100% rename from buildroot-2021.05/package/vdr-plugin-vnsiserver/vdr-plugin-vnsiserver.hash rename to buildroot-2022.02.1/package/vdr-plugin-vnsiserver/vdr-plugin-vnsiserver.hash diff --git a/buildroot-2021.05/package/vdr-plugin-vnsiserver/vdr-plugin-vnsiserver.mk b/buildroot-2022.02.1/package/vdr-plugin-vnsiserver/vdr-plugin-vnsiserver.mk similarity index 100% rename from buildroot-2021.05/package/vdr-plugin-vnsiserver/vdr-plugin-vnsiserver.mk rename to buildroot-2022.02.1/package/vdr-plugin-vnsiserver/vdr-plugin-vnsiserver.mk diff --git a/buildroot-2022.02.1/package/vdr/0001-getloadavg.patch b/buildroot-2022.02.1/package/vdr/0001-getloadavg.patch new file mode 100644 index 00000000..9e6316e2 --- /dev/null +++ b/buildroot-2022.02.1/package/vdr/0001-getloadavg.patch @@ -0,0 +1,55 @@ +Fix compilation with uClibc + +Ported from +https://github.com/stschake/buildroot-grasshopper/blob/master/package/torsmo/torsmo-0.18-uclibc-getloadavg.patch + +Signed-off-by: Bernd Kuhls + +diff -uwNr vdr-2.3.1.org/skinlcars.c vdr-2.3.1/skinlcars.c +--- vdr-2.3.1.org/skinlcars.c 2015-09-01 12:07:07.000000000 +0200 ++++ vdr-2.3.1/skinlcars.c 2016-07-31 21:00:11.000000000 +0200 +@@ -1100,6 +1100,44 @@ + } + } + ++/* uclibc and dietlibc do not have this junk -ReneR */ ++#if defined (__UCLIBC__) || defined (__dietlibc__) ++static int getloadavg (double loadavg[], int nelem) ++{ ++ int fd; ++ ++ fd = open ("/proc/loadavg", O_RDONLY); ++ if (fd < 0) ++ return -1; ++ else ++ { ++ char buf[65], *p; ++ ssize_t nread; ++ int i; ++ ++ nread = read (fd, buf, sizeof buf - 1); ++ close (fd); ++ if (nread <= 0) ++ return -1; ++ buf[nread - 1] = '\0'; ++ ++ if (nelem > 3) ++ nelem = 3; ++ p = buf; ++ for (i = 0; i < nelem; ++i) ++ { ++ char *endp; ++ loadavg[i] = strtod (p, &endp); ++ if (endp == p) ++ return -1; ++ p = endp; ++ } ++ ++ return i; ++ } ++} ++#endif ++ + void cSkinLCARSDisplayMenu::DrawLoad(void) + { + if (yb04) { diff --git a/buildroot-2022.02.1/package/vdr/0002-musl-compat.patch b/buildroot-2022.02.1/package/vdr/0002-musl-compat.patch new file mode 100644 index 00000000..b6f8f414 --- /dev/null +++ b/buildroot-2022.02.1/package/vdr/0002-musl-compat.patch @@ -0,0 +1,140 @@ +Fix musl build + +Downloaded from +https://git.alpinelinux.org/aports/tree/community/vdr/musl-compat.patch + +Signed-off-by: Bernd Kuhls + +diff --git a/i18n.h b/i18n.h +index f8ad9de..b002bbf 100644 +--- a/i18n.h ++++ b/i18n.h +@@ -46,7 +46,7 @@ const cStringList *I18nLanguages(void); + ///< have an actual locale installed. The rest are just dummy entries + ///< to allow having three letter language codes for other languages + ///< that have no actual locale on this system. +-const char *I18nTranslate(const char *s, const char *Plugin = NULL) __attribute_format_arg__(1); ++const char *I18nTranslate(const char *s, const char *Plugin = NULL) __attribute__((__format_arg__ (1))); + ///< Translates the given string (with optional Plugin context) into + ///< the current language. If no translation is available, the original + ///< string will be returned. +diff --git a/osd.c b/osd.c +index 524700a..ef975f5 100644 +--- a/osd.c ++++ b/osd.c +@@ -12,7 +12,7 @@ + #include + #include + #include +-#include ++#include + #include "device.h" + #include "tools.h" + +diff --git a/thread.c b/thread.c +index 47eb977..58dba43 100644 +--- a/thread.c ++++ b/thread.c +@@ -155,7 +155,9 @@ cRwLock::cRwLock(bool PreferWriter) + writeLockThreadId = 0; + pthread_rwlockattr_t attr; + pthread_rwlockattr_init(&attr); ++#if defined(__GLIBC__) + pthread_rwlockattr_setkind_np(&attr, PreferWriter ? PTHREAD_RWLOCK_PREFER_WRITER_NP : PTHREAD_RWLOCK_PREFER_READER_NP); ++#endif + pthread_rwlock_init(&rwlock, &attr); + } + +@@ -205,7 +207,7 @@ cMutex::cMutex(void) + locked = 0; + pthread_mutexattr_t attr; + pthread_mutexattr_init(&attr); +- pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK_NP); ++ pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK); + pthread_mutex_init(&mutex, &attr); + } + +diff --git a/tools.c b/tools.c +index 754673d..fef9d2d 100644 +--- a/tools.c ++++ b/tools.c +@@ -640,7 +640,7 @@ char *ReadLink(const char *FileName) + { + if (!FileName) + return NULL; +- char *TargetName = canonicalize_file_name(FileName); ++ char *TargetName = realpath(FileName, NULL); + if (!TargetName) { + if (errno == ENOENT) // file doesn't exist + TargetName = strdup(FileName); +@@ -1528,7 +1528,7 @@ + struct dirent *cReadDir::Next(void) + { + if (directory) { +-#if !__GLIBC_PREREQ(2, 24) // readdir_r() is deprecated as of GLIBC 2.24 ++#if __GLIBC__ + while (readdir_r(directory, &u.d, &result) == 0 && result) { + #else + while ((result = readdir(directory)) != NULL) { +diff --git a/tools.h b/tools.h +index 73cca5a..03f5fd1 100644 +--- a/tools.h ++++ b/tools.h +@@ -28,6 +28,16 @@ + #include + #include "thread.h" + ++#ifndef ACCESSPERMS ++# define ACCESSPERMS (S_IRWXU|S_IRWXG|S_IRWXO) /* 0777 */ ++#endif ++#ifndef ALLPERMS ++# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */ ++#endif ++#ifndef DEFFILEMODE ++# define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* 0666*/ ++#endif ++ + typedef unsigned char uchar; + + extern int SysLogLevel; +@@ -400,7 +410,7 @@ + private: + DIR *directory; + struct dirent *result; +-#if !__GLIBC_PREREQ(2, 24) // readdir_r() is deprecated as of GLIBC 2.24 ++#if __GLIBC__ + union { // according to "The GNU C Library Reference Manual" + struct dirent d; + char b[offsetof(struct dirent, d_name) + NAME_MAX + 1]; +@@ -738,7 +748,7 @@ public: + data[i] = T(0); + size = 0; + } +- void Sort(__compar_fn_t Compare) ++ void Sort(int (*Compare)(const void *, const void *)) + { + qsort(data, size, sizeof(T), Compare); + } +diff --git a/vdr.c b/vdr.c +index 8a49471..c2a82aa 100644 +--- a/vdr.c ++++ b/vdr.c +@@ -670,12 +670,18 @@ int main(int argc, char *argv[]) + } + } + else if (Terminal) { ++#ifdef __GLIBC__ + // Claim new controlling terminal + stdin = freopen(Terminal, "r", stdin); + stdout = freopen(Terminal, "w", stdout); + stderr = freopen(Terminal, "w", stderr); + HasStdin = true; + tcgetattr(STDIN_FILENO, &savedTm); ++#else ++ // stdin, stdout, stderr are declared FILE const* by musl C library ++ fprintf(stderr, "Option '-t' is only supported if VDR has been built against glibc.\n"); ++ return 2; ++#endif + } + + isyslog("VDR version %s started", VDRVERSION); diff --git a/buildroot-2022.02.1/package/vdr/0003-include-missing-limits.patch b/buildroot-2022.02.1/package/vdr/0003-include-missing-limits.patch new file mode 100644 index 00000000..c2efe291 --- /dev/null +++ b/buildroot-2022.02.1/package/vdr/0003-include-missing-limits.patch @@ -0,0 +1,30 @@ +vdr package uses some macros like HOST_NAME_MAX, NAME_MAX, which are defined +in limits.h. +Needs to be explicitly included on ppc64le and for all archs for debug build. + +Downloaded from +https://git.alpinelinux.org/aports/tree/community/vdr/include-missing-limits.patch + +Signed-off-by: Bernd Kuhls +---- + +--- a/config.h ++++ b/config.h +@@ -19,6 +19,7 @@ + #include "i18n.h" + #include "font.h" + #include "tools.h" ++#include + + // VDR's own version number: + +--- a/tools.c ++++ b/tools.c +@@ -27,6 +27,7 @@ + #include + #include "i18n.h" + #include "thread.h" ++#include + + int SysLogLevel = 3; + diff --git a/buildroot-2022.02.1/package/vdr/0004-i18n.c-_nl_msg_cat_cntr-is-an-internal-symbol-of-som.patch b/buildroot-2022.02.1/package/vdr/0004-i18n.c-_nl_msg_cat_cntr-is-an-internal-symbol-of-som.patch new file mode 100644 index 00000000..9cc45a96 --- /dev/null +++ b/buildroot-2022.02.1/package/vdr/0004-i18n.c-_nl_msg_cat_cntr-is-an-internal-symbol-of-som.patch @@ -0,0 +1,35 @@ +From 8711ce9c4ded311705f281c99e013a26987fbf1d Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Sat, 1 Jan 2022 23:35:29 +0100 +Subject: [PATCH] i18n.c: _nl_msg_cat_cntr is an internal symbol of some intl + implementation + +It is supported by glibc and uClibc (which both define __GLIBC__) but +not musl (which doesn't define __GLIBC__). On musl, it doesn't do +anything because musl has a basic NLS implementation. Even +gettext-tiny defines _nl_msg_cat_cntr as a dummy symbol in its stub +libintl-musl implementation. + +Signed-off-by: Thomas Petazzoni +--- + i18n.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/i18n.c b/i18n.c +index 0ef08fd4..da2a3ede 100644 +--- a/i18n.c ++++ b/i18n.c +@@ -123,8 +123,10 @@ static const char *SkipContext(const char *s) + static void SetEnvLanguage(const char *Locale) + { + setenv("LANGUAGE", Locale, 1); ++#if defined(__GLIBC__) + extern int _nl_msg_cat_cntr; + ++_nl_msg_cat_cntr; ++#endif + } + + static void SetLanguageNames(void) +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/vdr/Config.in b/buildroot-2022.02.1/package/vdr/Config.in new file mode 100644 index 00000000..38502729 --- /dev/null +++ b/buildroot-2022.02.1/package/vdr/Config.in @@ -0,0 +1,25 @@ +config BR2_PACKAGE_VDR + bool "vdr" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 + depends on BR2_USE_MMU # fork() + depends on BR2_USE_WCHAR + select BR2_PACKAGE_FONTCONFIG + select BR2_PACKAGE_FREETYPE + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBCAP + select BR2_PACKAGE_LIBEXECINFO if !BR2_TOOLCHAIN_USES_GLIBC + help + This project describes how to build your own digital + satellite receiver and Video Disk Recorder. + + http://www.tvdr.de + +comment "vdr needs a toolchain w/ C++, dynamic library, NPTL, wchar, headers >= 3.9" + depends on BR2_USE_MMU + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 diff --git a/buildroot-2022.02.1/package/vdr/vdr.hash b/buildroot-2022.02.1/package/vdr/vdr.hash new file mode 100644 index 00000000..d8f1cb19 --- /dev/null +++ b/buildroot-2022.02.1/package/vdr/vdr.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 a8e9940d593c41a42eb69db56d1a659e15deb31e131090d8c146a6e25501825a vdr-2.6.0.tar.gz +sha256 ddb9db7630752f8fdc6898f7c99a99eaeeac5213627ecb093df9c82f56175dc7 COPYING diff --git a/buildroot-2022.02.1/package/vdr/vdr.mk b/buildroot-2022.02.1/package/vdr/vdr.mk new file mode 100644 index 00000000..bb7b1e22 --- /dev/null +++ b/buildroot-2022.02.1/package/vdr/vdr.mk @@ -0,0 +1,66 @@ +################################################################################ +# +# vdr +# +################################################################################ + +VDR_VERSION = 2.6.0 +VDR_SITE = $(call github,vdr-projects,vdr,$(VDR_VERSION)) +VDR_LICENSE = GPL-2.0+ +VDR_LICENSE_FILES = COPYING +VDR_CPE_ID_VENDOR = tvdr +VDR_INSTALL_STAGING = YES +VDR_DEPENDENCIES = \ + host-pkgconf \ + freetype \ + fontconfig \ + jpeg \ + libcap \ + $(TARGET_NLS_DEPENDENCIES) + +VDR_MAKE_FLAGS = \ + NO_KBD=yes \ + PKG_CONFIG=$(PKG_CONFIG_HOST_BINARY) \ + PLUGINLIBDIR=/usr/lib/vdr \ + PREFIX=/usr \ + VIDEODIR=/var/lib/vdr +VDR_LDFLAGS = $(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +VDR_DEPENDENCIES += libexecinfo +VDR_LDFLAGS += -lexecinfo +endif + +ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) +VDR_DEPENDENCIES += libfribidi +VDR_MAKE_FLAGS += BIDI=1 +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +VDR_DEPENDENCIES += libiconv +VDR_LDFLAGS += -liconv +endif + +VDR_MAKE_ENV = \ + LDFLAGS="$(VDR_LDFLAGS)" \ + $(VDR_MAKE_FLAGS) + +define VDR_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \ + vdr vdr.pc include-dir +endef + +define VDR_INSTALL_STAGING_CMDS + $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \ + DESTDIR=$(STAGING_DIR) \ + install-dirs install-bin install-conf install-includes \ + install-pc +endef + +define VDR_INSTALL_TARGET_CMDS + $(MAKE1) $(TARGET_CONFIGURE_OPTS) -C $(@D) $(VDR_MAKE_ENV) \ + DESTDIR=$(TARGET_DIR) \ + install-dirs install-bin install-conf +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/vim/Config.in b/buildroot-2022.02.1/package/vim/Config.in similarity index 100% rename from buildroot-2021.05/package/vim/Config.in rename to buildroot-2022.02.1/package/vim/Config.in diff --git a/buildroot-2022.02.1/package/vim/vim.hash b/buildroot-2022.02.1/package/vim/vim.hash new file mode 100644 index 00000000..d55b1ea3 --- /dev/null +++ b/buildroot-2022.02.1/package/vim/vim.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 ccd57b074326b2faa15591eba3c86dcc07e53781079c44a0354436b8c4fe9b70 vim-8.2.4732.tar.gz +sha256 0bcab3b635dd39208c42b496568d1e8171dad247cf3da5bab3d750c9d5883499 LICENSE +sha256 96970b67f9cb38b0e759946cff22562a3c4b11ce78f62f2117d5e7ecded9ab4d README.txt diff --git a/buildroot-2022.02.1/package/vim/vim.mk b/buildroot-2022.02.1/package/vim/vim.mk new file mode 100644 index 00000000..4eb659fd --- /dev/null +++ b/buildroot-2022.02.1/package/vim/vim.mk @@ -0,0 +1,93 @@ +################################################################################ +# +# vim +# +################################################################################ + +VIM_VERSION = 8.2.4732 +VIM_SITE = $(call github,vim,vim,v$(VIM_VERSION)) +VIM_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES) +VIM_SUBDIR = src +VIM_CONF_ENV = \ + vim_cv_toupper_broken=no \ + vim_cv_terminfo=yes \ + vim_cv_tgetent=zero \ + vim_cv_tty_group=world \ + vim_cv_tty_mode=0620 \ + vim_cv_getcwd_broken=no \ + vim_cv_stat_ignores_slash=yes \ + vim_cv_memmove_handles_overlap=yes \ + ac_cv_sizeof_int=4 \ + ac_cv_small_wchar_t=no +# GUI/X11 headers leak from the host so forcibly disable them +VIM_CONF_OPTS = --with-tlib=ncurses --enable-gui=no --without-x +VIM_LICENSE = Charityware +VIM_LICENSE_FILES = LICENSE README.txt +VIM_CPE_ID_VENDOR = vim + +ifeq ($(BR2_PACKAGE_ACL),y) +VIM_CONF_OPTS += --enable-acl +VIM_DEPENDENCIES += acl +else +VIM_CONF_OPTS += --disable-acl +endif + +ifeq ($(BR2_PACKAGE_GPM),y) +VIM_CONF_OPTS += --enable-gpm +VIM_DEPENDENCIES += gpm +else +VIM_CONF_OPTS += --disable-gpm +endif + +ifeq ($(BR2_PACKAGE_LIBSELINUX),y) +VIM_CONF_OPTS += --enable-selinux +VIM_DEPENDENCIES += libselinux +else +VIM_CONF_OPTS += --disable-selinux +endif + +define VIM_INSTALL_TARGET_CMDS + cd $(@D)/src; \ + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installvimbin; \ + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installtools; \ + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installlinks +endef + +define VIM_INSTALL_RUNTIME_CMDS + cd $(@D)/src; \ + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installrtbase; \ + $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installmacros +endef + +define VIM_REMOVE_DOCS + $(RM) -rf $(TARGET_DIR)/usr/share/vim/vim*/doc/ +endef + +# Avoid oopses with vipw/vigr, lack of $EDITOR and 'vi' command expectation +ifeq ($(BR2_ROOTFS_MERGED_USR),y) +define VIM_INSTALL_VI_SYMLINK + ln -sf vim $(TARGET_DIR)/usr/bin/vi +endef +else +define VIM_INSTALL_VI_SYMLINK + ln -sf ../usr/bin/vim $(TARGET_DIR)/bin/vi +endef +endif +VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_VI_SYMLINK + +ifeq ($(BR2_PACKAGE_VIM_RUNTIME),y) +VIM_POST_INSTALL_TARGET_HOOKS += VIM_INSTALL_RUNTIME_CMDS +VIM_POST_INSTALL_TARGET_HOOKS += VIM_REMOVE_DOCS +endif + +HOST_VIM_DEPENDENCIES = host-ncurses +HOST_VIM_CONF_OPTS = \ + --with-tlib=ncurses \ + --enable-gui=no \ + --without-x \ + --disable-acl \ + --disable-gpm \ + --disable-selinux + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/vlc/0001-Disable-building-of-statically-linked-vlc-binary.patch b/buildroot-2022.02.1/package/vlc/0001-Disable-building-of-statically-linked-vlc-binary.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0001-Disable-building-of-statically-linked-vlc-binary.patch rename to buildroot-2022.02.1/package/vlc/0001-Disable-building-of-statically-linked-vlc-binary.patch diff --git a/buildroot-2021.05/package/vlc/0002-automake-add-subdir-objects-option.patch b/buildroot-2022.02.1/package/vlc/0002-automake-add-subdir-objects-option.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0002-automake-add-subdir-objects-option.patch rename to buildroot-2022.02.1/package/vlc/0002-automake-add-subdir-objects-option.patch diff --git a/buildroot-2021.05/package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch b/buildroot-2022.02.1/package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch rename to buildroot-2022.02.1/package/vlc/0003-build-use-pkg-config-to-get-tremor-libs.patch diff --git a/buildroot-2021.05/package/vlc/0004-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch b/buildroot-2022.02.1/package/vlc/0004-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0004-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch rename to buildroot-2022.02.1/package/vlc/0004-Fix-build-error-using-uClibc-by-adding-sys-types.h.patch diff --git a/buildroot-2021.05/package/vlc/0005-Don-t-assume-strerror_l-is-available.patch b/buildroot-2022.02.1/package/vlc/0005-Don-t-assume-strerror_l-is-available.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0005-Don-t-assume-strerror_l-is-available.patch rename to buildroot-2022.02.1/package/vlc/0005-Don-t-assume-strerror_l-is-available.patch diff --git a/buildroot-2021.05/package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch b/buildroot-2022.02.1/package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch rename to buildroot-2022.02.1/package/vlc/0006-posix-remove-ancient-run-time-fallback-to-real-time-.patch diff --git a/buildroot-2021.05/package/vlc/0007-Add-support-for-freerdp2.patch b/buildroot-2022.02.1/package/vlc/0007-Add-support-for-freerdp2.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0007-Add-support-for-freerdp2.patch rename to buildroot-2022.02.1/package/vlc/0007-Add-support-for-freerdp2.patch diff --git a/buildroot-2021.05/package/vlc/0008-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch b/buildroot-2022.02.1/package/vlc/0008-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0008-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch rename to buildroot-2022.02.1/package/vlc/0008-configure.ac-also-use-AC_PATH_PROG-to-check-for-wayl.patch diff --git a/buildroot-2021.05/package/vlc/0009-modules-video_filter-opencv_example.cpp-fix-build-wi.patch b/buildroot-2022.02.1/package/vlc/0009-modules-video_filter-opencv_example.cpp-fix-build-wi.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0009-modules-video_filter-opencv_example.cpp-fix-build-wi.patch rename to buildroot-2022.02.1/package/vlc/0009-modules-video_filter-opencv_example.cpp-fix-build-wi.patch diff --git a/buildroot-2021.05/package/vlc/0010-modules-access-live555.cpp-fix-build-with-live555-20.patch b/buildroot-2022.02.1/package/vlc/0010-modules-access-live555.cpp-fix-build-with-live555-20.patch similarity index 100% rename from buildroot-2021.05/package/vlc/0010-modules-access-live555.cpp-fix-build-with-live555-20.patch rename to buildroot-2022.02.1/package/vlc/0010-modules-access-live555.cpp-fix-build-with-live555-20.patch diff --git a/buildroot-2021.05/package/vlc/Config.in b/buildroot-2022.02.1/package/vlc/Config.in similarity index 100% rename from buildroot-2021.05/package/vlc/Config.in rename to buildroot-2022.02.1/package/vlc/Config.in diff --git a/buildroot-2022.02.1/package/vlc/vlc.hash b/buildroot-2022.02.1/package/vlc/vlc.hash new file mode 100644 index 00000000..468ec7df --- /dev/null +++ b/buildroot-2022.02.1/package/vlc/vlc.hash @@ -0,0 +1,7 @@ +# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha256 +sha256 ffae35fc64f625c175571d2346bc5f6207be99762517f15423e74f18399410f6 vlc-3.0.16.tar.xz +# From https://get.videolan.org/vlc/3.0.16/vlc-3.0.16.tar.xz.sha1 +sha1 e22ac839a09b5ead8992ae6aa8ea886364283e6a vlc-3.0.16.tar.xz +# Locally computed +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LIB diff --git a/buildroot-2022.02.1/package/vlc/vlc.mk b/buildroot-2022.02.1/package/vlc/vlc.mk new file mode 100644 index 00000000..b793e0ef --- /dev/null +++ b/buildroot-2022.02.1/package/vlc/vlc.mk @@ -0,0 +1,584 @@ +################################################################################ +# +# vlc +# +################################################################################ + +VLC_VERSION = 3.0.16 +VLC_SITE = https://get.videolan.org/vlc/$(VLC_VERSION) +VLC_SOURCE = vlc-$(VLC_VERSION).tar.xz +VLC_LICENSE = GPL-2.0+, LGPL-2.1+ +VLC_LICENSE_FILES = COPYING COPYING.LIB +VLC_CPE_ID_VENDOR = videolan +VLC_CPE_ID_PRODUCT = vlc_media_player +VLC_DEPENDENCIES = host-gettext host-pkgconf +VLC_AUTORECONF = YES + +# Install vlc libraries in staging. +VLC_INSTALL_STAGING = YES + +# gcc bug internal compiler error: in merge_overlapping_regs, at +# regrename.c:304. This bug is fixed since gcc 6. +ifeq ($(BR2_microblaze)$(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:) +VLC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0" +VLC_CONF_OPTS += --disable-optimizations +endif + +# configure check for -fstack-protector-strong is broken +VLC_CONF_ENV += \ + ax_cv_check_cflags___fstack_protector_strong=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no) + +# VLC defines two autoconf functions which are also defined by our own pkg.m4 +# from pkgconf. Unfortunately, they are defined in a different way: VLC adds +# --enable- options, but pkg.m4 adds --with- options. To make sure we use +# VLC's definition, rename these two functions. +define VLC_OVERRIDE_PKG_M4 + $(SED) 's/PKG_WITH_MODULES/VLC_PKG_WITH_MODULES/g' \ + -e 's/PKG_HAVE_WITH_MODULES/VLC_PKG_HAVE_WITH_MODULES/g' \ + $(@D)/configure.ac $(@D)/m4/with_pkg.m4 +endef +VLC_POST_PATCH_HOOKS += VLC_OVERRIDE_PKG_M4 + +VLC_CONF_OPTS += \ + --disable-a52 \ + --disable-addonmanagermodules \ + --disable-aom \ + --disable-aribb25 \ + --disable-aribsub \ + --disable-asdcp \ + --disable-bpg \ + --disable-caca \ + --disable-chromaprint \ + --disable-chromecast \ + --disable-crystalhd \ + --disable-dc1394 \ + --disable-dca \ + --disable-decklink \ + --disable-dsm \ + --disable-dv1394 \ + --disable-fluidlite \ + --disable-gme \ + --disable-goom \ + --disable-jack \ + --disable-jpeg \ + --disable-kai \ + --disable-kate \ + --disable-kva \ + --disable-libplacebo \ + --disable-linsys \ + --disable-mfx \ + --disable-microdns \ + --disable-mmal \ + --disable-mtp \ + --disable-notify \ + --disable-projectm \ + --disable-schroedinger \ + --disable-shine \ + --disable-shout \ + --disable-sndio \ + --disable-spatialaudio \ + --disable-srt \ + --disable-telx \ + --disable-tiger \ + --disable-twolame \ + --disable-vdpau \ + --disable-vsxu \ + --disable-wasapi \ + --disable-x262 \ + --disable-zvbi \ + --enable-run-as-root + +# Uses __atomic_fetch_add_4 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +VLC_CONF_ENV += LIBS="-latomic" +endif + +# Building static and shared doesn't work, so force static off. +ifeq ($(BR2_STATIC_LIBS),) +VLC_CONF_OPTS += --disable-static +endif + +ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y) +VLC_CONF_OPTS += --enable-altivec +else +VLC_CONF_OPTS += --disable-altivec +endif + +ifeq ($(BR2_X86_CPU_HAS_SSE),y) +VLC_CONF_OPTS += --enable-sse +else +VLC_CONF_OPTS += --disable-sse +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +VLC_CONF_OPTS += --enable-alsa +VLC_DEPENDENCIES += alsa-lib +else +VLC_CONF_OPTS += --disable-alsa +endif + +ifeq ($(BR2_PACKAGE_AVAHI_LIBAVAHI_CLIENT),y) +VLC_CONF_OPTS += --enable-avahi +VLC_DEPENDENCIES += avahi +else +VLC_CONF_OPTS += --disable-avahi +endif + +ifeq ($(BR2_PACKAGE_DAV1D),y) +VLC_CONF_OPTS += --enable-dav1d +VLC_DEPENDENCIES += dav1d +else +VLC_CONF_OPTS += --disable-dav1d +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +VLC_CONF_OPTS += --enable-dbus +VLC_DEPENDENCIES += dbus +else +VLC_CONF_OPTS += --disable-dbus +endif + +ifeq ($(BR2_PACKAGE_FAAD2),y) +VLC_CONF_OPTS += --enable-faad +VLC_DEPENDENCIES += faad2 +else +VLC_CONF_OPTS += --disable-faad +endif + +ifeq ($(BR2_PACKAGE_FFMPEG),y) +VLC_CONF_OPTS += --enable-avcodec +VLC_DEPENDENCIES += ffmpeg +else +VLC_CONF_OPTS += --disable-avcodec +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_POSTPROC),y) +VLC_CONF_OPTS += --enable-postproc +else +VLC_CONF_OPTS += --disable-postproc +endif + +ifeq ($(BR2_PACKAGE_FFMPEG_SWSCALE),y) +VLC_CONF_OPTS += --enable-swscale +else +VLC_CONF_OPTS += --disable-swscale +endif + +ifeq ($(BR2_PACKAGE_FLAC),y) +VLC_CONF_OPTS += --enable-flac +VLC_DEPENDENCIES += flac +else +VLC_CONF_OPTS += --disable-flac +endif + +ifeq ($(BR2_PACKAGE_FLUIDSYNTH),y) +VLC_CONF_OPTS += --enable-fluidsynth +VLC_DEPENDENCIES += fluidsynth +else +VLC_CONF_OPTS += --disable-fluidsynth +endif + +ifeq ($(BR2_PACKAGE_FREERDP),y) +VLC_CONF_OPTS += --enable-freerdp +VLC_DEPENDENCIES += freerdp +else +VLC_CONF_OPTS += --disable-freerdp +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) +VLC_CONF_OPTS += --enable-gst-decode +VLC_DEPENDENCIES += gst1-plugins-base +else +VLC_CONF_OPTS += --disable-gst-decode +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +VLC_DEPENDENCIES += libgl +endif + +ifeq ($(BR2_PACKAGE_HARFBUZZ),y) +VLC_CONF_OPTS += --enable-harfbuzz +VLC_DEPENDENCIES += harfbuzz +else +VLC_CONF_OPTS += --disable-harfbuzz +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +VLC_CONF_OPTS += --enable-gles2 +VLC_DEPENDENCIES += libgles +else +VLC_CONF_OPTS += --disable-gles2 +endif + +ifeq ($(BR2_PACKAGE_OPENCV3),y) +VLC_CONF_OPTS += --enable-opencv +VLC_DEPENDENCIES += opencv3 +else +VLC_CONF_OPTS += --disable-opencv +endif + +ifeq ($(BR2_PACKAGE_OPUS),y) +VLC_CONF_OPTS += --enable-opus +VLC_DEPENDENCIES += libvorbis opus +else +VLC_CONF_OPTS += --disable-opus +endif + +ifeq ($(BR2_PACKAGE_LIBARCHIVE),y) +VLC_CONF_OPTS += --enable-archive +VLC_DEPENDENCIES += libarchive +else +VLC_CONF_OPTS += --disable-archive +endif + +ifeq ($(BR2_PACKAGE_LIBASS),y) +VLC_CONF_OPTS += --enable-libass +VLC_DEPENDENCIES += libass +else +VLC_CONF_OPTS += --disable-libass +endif + +ifeq ($(BR2_PACKAGE_LIBBLURAY),y) +VLC_CONF_OPTS += --enable-bluray +VLC_DEPENDENCIES += libbluray +else +VLC_CONF_OPTS += --disable-bluray +endif + +ifeq ($(BR2_PACKAGE_LIBCDDB),y) +VLC_CONF_OPTS += --enable-libcddb +VLC_DEPENDENCIES += libcddb +else +VLC_CONF_OPTS += --disable-libcddb +endif + +ifeq ($(BR2_PACKAGE_LIBDVBPSI),y) +VLC_CONF_OPTS += --enable-dvbpsi +VLC_DEPENDENCIES += libdvbpsi +else +VLC_CONF_OPTS += --disable-dvbpsi +endif + +ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) +VLC_CONF_OPTS += --enable-dvdnav +VLC_DEPENDENCIES += libdvdnav +else +VLC_CONF_OPTS += --disable-dvdnav +endif + +ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) +VLC_CONF_OPTS += --enable-dvdread +VLC_DEPENDENCIES += libdvdread +else +VLC_CONF_OPTS += --disable-dvdread +endif + +ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +VLC_CONF_OPTS += --enable-libgcrypt +VLC_DEPENDENCIES += libgcrypt +VLC_CONF_ENV += \ + GCRYPT_CONFIG="$(STAGING_DIR)/usr/bin/libgcrypt-config" +else +VLC_CONF_OPTS += --disable-libgcrypt +endif + +ifeq ($(BR2_PACKAGE_LIBIDN),y) +VLC_DEPENDENCIES += libidn +endif + +ifeq ($(BR2_PACKAGE_LIBMAD),y) +VLC_CONF_OPTS += --enable-mad +VLC_DEPENDENCIES += libmad +else +VLC_CONF_OPTS += --disable-mad +endif + +ifeq ($(BR2_PACKAGE_LIBMATROSKA),y) +VLC_CONF_OPTS += --enable-matroska +VLC_DEPENDENCIES += libmatroska +else +VLC_CONF_OPTS += --disable-matroska +endif + +ifeq ($(BR2_PACKAGE_LIBMODPLUG),y) +VLC_CONF_OPTS += --enable-mod +VLC_DEPENDENCIES += libmodplug +else +VLC_CONF_OPTS += --disable-mod +endif + +ifeq ($(BR2_PACKAGE_LIBMPEG2),y) +VLC_CONF_OPTS += --enable-libmpeg2 +VLC_DEPENDENCIES += libmpeg2 +else +VLC_CONF_OPTS += --disable-libmpeg2 +endif + +ifeq ($(BR2_PACKAGE_LIBNFS),y) +VLC_CONF_OPTS += --enable-nfs +VLC_DEPENDENCIES += libnfs +else +VLC_CONF_OPTS += --disable-nfs +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +VLC_CONF_OPTS += --enable-png +VLC_DEPENDENCIES += libpng +else +VLC_CONF_OPTS += --disable-png +endif + +ifeq ($(BR2_PACKAGE_LIBRSVG),y) +VLC_CONF_OPTS += --enable-svg --enable-svgdec +VLC_DEPENDENCIES += librsvg +else +VLC_CONF_OPTS += --disable-svg --disable-svgdec +endif + +ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y) +VLC_CONF_OPTS += --enable-samplerate +VLC_DEPENDENCIES += libsamplerate +else +VLC_CONF_OPTS += --disable-samplerate +endif + +ifeq ($(BR2_PACKAGE_LIBSECRET),y) +VLC_CONF_OPTS += --enable-secret +VLC_DEPENDENCIES += libsecret +else +VLC_CONF_OPTS += --disable-secret +endif + +ifeq ($(BR2_PACKAGE_LIBSOXR),y) +VLC_CONF_OPTS += --enable-soxr +VLC_DEPENDENCIES += libsoxr +else +VLC_CONF_OPTS += --disable-soxr +endif + +ifeq ($(BR2_PACKAGE_LIBSSH2),y) +VLC_CONF_OPTS += --enable-sftp +VLC_DEPENDENCIES += libssh2 +else +VLC_CONF_OPTS += --disable-sftp +endif + +ifeq ($(BR2_PACKAGE_LIBSIDPLAY2),y) +VLC_CONF_OPTS += --enable-sid +VLC_DEPENDENCIES += libsidplay2 +else +VLC_CONF_OPTS += --disable-sid +endif + +ifeq ($(BR2_PACKAGE_LIBTHEORA),y) +VLC_CONF_OPTS += --enable-theora +VLC_DEPENDENCIES += libtheora +else +VLC_CONF_OPTS += --disable-theora +endif + +ifeq ($(BR2_PACKAGE_LIBUPNP),y) +VLC_CONF_OPTS += --enable-upnp +VLC_DEPENDENCIES += libupnp +else +VLC_CONF_OPTS += --disable-upnp +endif + +# libva support depends on ffmpeg +ifeq ($(BR2_PACKAGE_FFMPEG)$(BR2_PACKAGE_LIBVA),yy) +VLC_CONF_OPTS += --enable-libva +VLC_DEPENDENCIES += libva +else +VLC_CONF_OPTS += --disable-libva +endif + +ifeq ($(BR2_PACKAGE_LIBVNCSERVER),y) +VLC_CONF_OPTS += --enable-vnc +VLC_DEPENDENCIES += libvncserver +else +VLC_CONF_OPTS += --disable-vnc +endif + +ifeq ($(BR2_PACKAGE_LIBVORBIS),y) +VLC_CONF_OPTS += --enable-vorbis +VLC_DEPENDENCIES += libvorbis +else +VLC_CONF_OPTS += --disable-vorbis +endif + +ifeq ($(BR2_PACKAGE_LIBV4L),y) +VLC_CONF_OPTS += --enable-v4l2 +VLC_DEPENDENCIES += libv4l +else +VLC_CONF_OPTS += --disable-v4l2 +endif + +ifeq ($(BR2_PACKAGE_LIBVPX),y) +VLC_CONF_OPTS += --enable-vpx +VLC_DEPENDENCIES += libvpx +else +VLC_CONF_OPTS += --disable-vpx +endif + +ifeq ($(BR2_PACKAGE_LIBXCB),y) +VLC_CONF_OPTS += --enable-xcb +VLC_DEPENDENCIES += libxcb +else +VLC_CONF_OPTS += --disable-xcb +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +VLC_CONF_OPTS += --enable-libxml2 +VLC_DEPENDENCIES += libxml2 +else +VLC_CONF_OPTS += --disable-libxml2 +endif + +ifeq ($(BR2_PACKAGE_LIVE555),y) +VLC_CONF_OPTS += --enable-live555 +VLC_DEPENDENCIES += live555 +ifneq ($(BR2_PACKAGE_OPENSSL),y) +VLC_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -DNO_OPENSSL" +endif +else +VLC_CONF_OPTS += --disable-live555 +endif + +ifeq ($(BR2_PACKAGE_LUA),y) +VLC_CONF_OPTS += --enable-lua +VLC_DEPENDENCIES += lua host-lua +else +VLC_CONF_OPTS += --disable-lua +endif + +ifeq ($(BR2_PACKAGE_MINIZIP),y) +VLC_DEPENDENCIES += minizip +endif + +ifeq ($(BR2_PACKAGE_MPG123),y) +VLC_CONF_OPTS += --enable-mpg123 +VLC_DEPENDENCIES += mpg123 +else +VLC_CONF_OPTS += --disable-mpg123 +endif + +ifeq ($(BR2_PACKAGE_MUSEPACK),y) +VLC_CONF_OPTS += --enable-mpc +VLC_DEPENDENCIES += musepack +else +VLC_CONF_OPTS += --disable-mpc +endif + +ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) +VLC_CONF_OPTS += --enable-ncurses +VLC_DEPENDENCIES += ncurses +else +VLC_CONF_OPTS += --disable-ncurses +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +VLC_CONF_OPTS += --enable-pulse +VLC_DEPENDENCIES += pulseaudio +else +VLC_CONF_OPTS += --disable-pulse +endif + +ifeq ($(BR2_PACKAGE_QT5BASE_WIDGETS)$(BR2_PACKAGE_QT5SVG),yy) +VLC_CONF_OPTS += --enable-qt +VLC_DEPENDENCIES += qt5base qt5svg +ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT)$(BR2_PACKAGE_XLIB_LIBXINERAMA)$(BR2_PACKAGE_XLIB_LIBXPM),yyy) +VLC_CONF_OPTS += --enable-skins2 +VLC_DEPENDENCIES += xlib_libXext xlib_libXinerama xlib_libXpm +else +VLC_CONF_OPTS += --disable-skins2 +endif +else +VLC_CONF_OPTS += --disable-qt --disable-skins2 +endif + +ifeq ($(BR2_PACKAGE_SDL_IMAGE),y) +VLC_CONF_OPTS += --enable-sdl-image +VLC_DEPENDENCIES += sdl_image +else +VLC_CONF_OPTS += --disable-sdl-image +endif + +ifeq ($(BR2_PACKAGE_SAMBA4),y) +VLC_CONF_OPTS += --enable-smbclient +VLC_DEPENDENCIES += samba4 +else +VLC_CONF_OPTS += --disable-smbclient +endif + +ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy) +VLC_CONF_OPTS += --enable-speex +VLC_DEPENDENCIES += speex speexdsp +else +VLC_CONF_OPTS += --disable-speex +endif + +ifeq ($(BR2_PACKAGE_TAGLIB),y) +VLC_CONF_OPTS += --enable-taglib +VLC_DEPENDENCIES += taglib +else +VLC_CONF_OPTS += --disable-taglib +endif + +ifeq ($(BR2_PACKAGE_TREMOR),y) +VLC_CONF_OPTS += --enable-tremor +VLC_DEPENDENCIES += tremor +else +VLC_CONF_OPTS += --disable-tremor +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +VLC_CONF_OPTS += --enable-udev +VLC_DEPENDENCIES += udev +else +VLC_CONF_OPTS += --disable-udev +endif + +ifeq ($(BR2_PACKAGE_WAYLAND)$(BR2_PACKAGE_WAYLAND_PROTOCOLS),yy) +VLC_CONF_OPTS += --enable-wayland +VLC_DEPENDENCIES += wayland wayland-protocols +else +VLC_CONF_OPTS += --disable-wayland +endif + +ifeq ($(BR2_PACKAGE_X264),y) +VLC_CONF_OPTS += --enable-x264 +VLC_DEPENDENCIES += x264 +else +VLC_CONF_OPTS += --disable-x264 +endif + +ifeq ($(BR2_PACKAGE_X265),y) +VLC_CONF_OPTS += --enable-x265 +VLC_DEPENDENCIES += x265 +else +VLC_CONF_OPTS += --disable-x265 +endif + +ifeq ($(BR2_PACKAGE_XCB_UTIL_KEYSYMS),y) +VLC_DEPENDENCIES += xcb-util-keysyms +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +VLC_CONF_OPTS += --with-x +VLC_DEPENDENCIES += xlib_libX11 +else +VLC_CONF_OPTS += --without-x +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +VLC_DEPENDENCIES += zlib +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +VLC_CONF_OPTS += --enable-gnutls +VLC_DEPENDENCIES += gnutls +else +VLC_CONF_OPTS += --disable-gnutls +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/vmtouch/Config.in b/buildroot-2022.02.1/package/vmtouch/Config.in similarity index 100% rename from buildroot-2021.05/package/vmtouch/Config.in rename to buildroot-2022.02.1/package/vmtouch/Config.in diff --git a/buildroot-2021.05/package/vmtouch/vmtouch.hash b/buildroot-2022.02.1/package/vmtouch/vmtouch.hash similarity index 100% rename from buildroot-2021.05/package/vmtouch/vmtouch.hash rename to buildroot-2022.02.1/package/vmtouch/vmtouch.hash diff --git a/buildroot-2021.05/package/vmtouch/vmtouch.mk b/buildroot-2022.02.1/package/vmtouch/vmtouch.mk similarity index 100% rename from buildroot-2021.05/package/vmtouch/vmtouch.mk rename to buildroot-2022.02.1/package/vmtouch/vmtouch.mk diff --git a/buildroot-2021.05/package/vnstat/Config.in b/buildroot-2022.02.1/package/vnstat/Config.in similarity index 100% rename from buildroot-2021.05/package/vnstat/Config.in rename to buildroot-2022.02.1/package/vnstat/Config.in diff --git a/buildroot-2022.02.1/package/vnstat/vnstat.hash b/buildroot-2022.02.1/package/vnstat/vnstat.hash new file mode 100644 index 00000000..191dc4ec --- /dev/null +++ b/buildroot-2022.02.1/package/vnstat/vnstat.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 03f858a7abf6bd85bb8cd595f3541fc3bd31f8f400ec092ef3034825ccb77c25 vnstat-2.8.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/vnstat/vnstat.mk b/buildroot-2022.02.1/package/vnstat/vnstat.mk new file mode 100644 index 00000000..91f0233f --- /dev/null +++ b/buildroot-2022.02.1/package/vnstat/vnstat.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# vnstat +# +################################################################################ + +VNSTAT_VERSION = 2.8 +VNSTAT_SITE = http://humdi.net/vnstat +VNSTAT_LICENSE = GPL-2.0 +VNSTAT_LICENSE_FILES = COPYING +VNSTAT_SELINUX_MODULES = vnstatd +VNSTAT_DEPENDENCIES = host-pkgconf sqlite +VNSTAT_CONF_OPTS = --disable-extra-paths + +ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy) +VNSTAT_DEPENDENCIES += gd +VNSTAT_CONF_OPTS += --enable-image-output +else +VNSTAT_CONF_OPTS += --disable-image-output +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/vo-aacenc/Config.in b/buildroot-2022.02.1/package/vo-aacenc/Config.in similarity index 100% rename from buildroot-2021.05/package/vo-aacenc/Config.in rename to buildroot-2022.02.1/package/vo-aacenc/Config.in diff --git a/buildroot-2021.05/package/vo-aacenc/vo-aacenc.hash b/buildroot-2022.02.1/package/vo-aacenc/vo-aacenc.hash similarity index 100% rename from buildroot-2021.05/package/vo-aacenc/vo-aacenc.hash rename to buildroot-2022.02.1/package/vo-aacenc/vo-aacenc.hash diff --git a/buildroot-2021.05/package/vo-aacenc/vo-aacenc.mk b/buildroot-2022.02.1/package/vo-aacenc/vo-aacenc.mk similarity index 100% rename from buildroot-2021.05/package/vo-aacenc/vo-aacenc.mk rename to buildroot-2022.02.1/package/vo-aacenc/vo-aacenc.mk diff --git a/buildroot-2021.05/package/vorbis-tools/Config.in b/buildroot-2022.02.1/package/vorbis-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/vorbis-tools/Config.in rename to buildroot-2022.02.1/package/vorbis-tools/Config.in diff --git a/buildroot-2021.05/package/vorbis-tools/vorbis-tools.hash b/buildroot-2022.02.1/package/vorbis-tools/vorbis-tools.hash similarity index 100% rename from buildroot-2021.05/package/vorbis-tools/vorbis-tools.hash rename to buildroot-2022.02.1/package/vorbis-tools/vorbis-tools.hash diff --git a/buildroot-2021.05/package/vorbis-tools/vorbis-tools.mk b/buildroot-2022.02.1/package/vorbis-tools/vorbis-tools.mk similarity index 100% rename from buildroot-2021.05/package/vorbis-tools/vorbis-tools.mk rename to buildroot-2022.02.1/package/vorbis-tools/vorbis-tools.mk diff --git a/buildroot-2021.05/package/vpnc/0001-Makefile-allow-to-override-the-PREFIX-variable.patch b/buildroot-2022.02.1/package/vpnc/0001-Makefile-allow-to-override-the-PREFIX-variable.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0001-Makefile-allow-to-override-the-PREFIX-variable.patch rename to buildroot-2022.02.1/package/vpnc/0001-Makefile-allow-to-override-the-PREFIX-variable.patch diff --git a/buildroot-2021.05/package/vpnc/0002-Makefile-allow-to-override-the-version.patch b/buildroot-2022.02.1/package/vpnc/0002-Makefile-allow-to-override-the-version.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0002-Makefile-allow-to-override-the-version.patch rename to buildroot-2022.02.1/package/vpnc/0002-Makefile-allow-to-override-the-version.patch diff --git a/buildroot-2021.05/package/vpnc/0003-Makefile-allow-passing-custom-CFLAGS-CPPFLAGS.patch b/buildroot-2022.02.1/package/vpnc/0003-Makefile-allow-passing-custom-CFLAGS-CPPFLAGS.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0003-Makefile-allow-passing-custom-CFLAGS-CPPFLAGS.patch rename to buildroot-2022.02.1/package/vpnc/0003-Makefile-allow-passing-custom-CFLAGS-CPPFLAGS.patch diff --git a/buildroot-2021.05/package/vpnc/0004-Makefile-provide-an-option-to-not-build-manpages.patch b/buildroot-2022.02.1/package/vpnc/0004-Makefile-provide-an-option-to-not-build-manpages.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0004-Makefile-provide-an-option-to-not-build-manpages.patch rename to buildroot-2022.02.1/package/vpnc/0004-Makefile-provide-an-option-to-not-build-manpages.patch diff --git a/buildroot-2021.05/package/vpnc/0005-Makefile-allow-passing-a-custom-path-to-libgcrypt-co.patch b/buildroot-2022.02.1/package/vpnc/0005-Makefile-allow-passing-a-custom-path-to-libgcrypt-co.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0005-Makefile-allow-passing-a-custom-path-to-libgcrypt-co.patch rename to buildroot-2022.02.1/package/vpnc/0005-Makefile-allow-passing-a-custom-path-to-libgcrypt-co.patch diff --git a/buildroot-2021.05/package/vpnc/0006-config.c-Replace-deprecated-SUSv3-functions-with-POS.patch b/buildroot-2022.02.1/package/vpnc/0006-config.c-Replace-deprecated-SUSv3-functions-with-POS.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0006-config.c-Replace-deprecated-SUSv3-functions-with-POS.patch rename to buildroot-2022.02.1/package/vpnc/0006-config.c-Replace-deprecated-SUSv3-functions-with-POS.patch diff --git a/buildroot-2021.05/package/vpnc/0007-sysdep.h-don-t-assume-error.h-is-available-on-all-Li.patch b/buildroot-2022.02.1/package/vpnc/0007-sysdep.h-don-t-assume-error.h-is-available-on-all-Li.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0007-sysdep.h-don-t-assume-error.h-is-available-on-all-Li.patch rename to buildroot-2022.02.1/package/vpnc/0007-sysdep.h-don-t-assume-error.h-is-available-on-all-Li.patch diff --git a/buildroot-2021.05/package/vpnc/0008-sysdep.c-don-t-include-linux-if_tun.h-on-Linux.patch b/buildroot-2022.02.1/package/vpnc/0008-sysdep.c-don-t-include-linux-if_tun.h-on-Linux.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0008-sysdep.c-don-t-include-linux-if_tun.h-on-Linux.patch rename to buildroot-2022.02.1/package/vpnc/0008-sysdep.c-don-t-include-linux-if_tun.h-on-Linux.patch diff --git a/buildroot-2021.05/package/vpnc/0009-config.c-add-missing-sys-ttydefaults.h-include.patch b/buildroot-2022.02.1/package/vpnc/0009-config.c-add-missing-sys-ttydefaults.h-include.patch similarity index 100% rename from buildroot-2021.05/package/vpnc/0009-config.c-add-missing-sys-ttydefaults.h-include.patch rename to buildroot-2022.02.1/package/vpnc/0009-config.c-add-missing-sys-ttydefaults.h-include.patch diff --git a/buildroot-2021.05/package/vpnc/Config.in b/buildroot-2022.02.1/package/vpnc/Config.in similarity index 100% rename from buildroot-2021.05/package/vpnc/Config.in rename to buildroot-2022.02.1/package/vpnc/Config.in diff --git a/buildroot-2021.05/package/vpnc/vpnc.hash b/buildroot-2022.02.1/package/vpnc/vpnc.hash similarity index 100% rename from buildroot-2021.05/package/vpnc/vpnc.hash rename to buildroot-2022.02.1/package/vpnc/vpnc.hash diff --git a/buildroot-2021.05/package/vpnc/vpnc.mk b/buildroot-2022.02.1/package/vpnc/vpnc.mk similarity index 100% rename from buildroot-2021.05/package/vpnc/vpnc.mk rename to buildroot-2022.02.1/package/vpnc/vpnc.mk diff --git a/buildroot-2021.05/package/vsftpd/0001-utmpx-builddef.patch b/buildroot-2022.02.1/package/vsftpd/0001-utmpx-builddef.patch similarity index 100% rename from buildroot-2021.05/package/vsftpd/0001-utmpx-builddef.patch rename to buildroot-2022.02.1/package/vsftpd/0001-utmpx-builddef.patch diff --git a/buildroot-2022.02.1/package/vsftpd/0002-fix-CVE-2015-1419.patch b/buildroot-2022.02.1/package/vsftpd/0002-fix-CVE-2015-1419.patch new file mode 100644 index 00000000..657af289 --- /dev/null +++ b/buildroot-2022.02.1/package/vsftpd/0002-fix-CVE-2015-1419.patch @@ -0,0 +1,102 @@ +Fix CVE-2015-1419 - config option deny_file is not handled correctly. +From SUSE: https://bugzilla.suse.com/show_bug.cgi?id=915522 + +Signed-off-by: Gustavo Zacarias + +Index: vsftpd-3.0.2/ls.c +=================================================================== +--- vsftpd-3.0.2.orig/ls.c ++++ vsftpd-3.0.2/ls.c +@@ -7,6 +7,7 @@ + * Would you believe, code to handle directory listing. + */ + ++#include + #include "ls.h" + #include "access.h" + #include "defs.h" +@@ -243,11 +244,42 @@ vsf_filename_passes_filter(const struct + struct mystr temp_str = INIT_MYSTR; + struct mystr brace_list_str = INIT_MYSTR; + struct mystr new_filter_str = INIT_MYSTR; ++ struct mystr normalize_filename_str = INIT_MYSTR; ++ const char *normname; ++ const char *path; + int ret = 0; + char last_token = 0; + int must_match_at_current_pos = 1; ++ + str_copy(&filter_remain_str, p_filter_str); +- str_copy(&name_remain_str, p_filename_str); ++ ++ /* normalize filepath */ ++ path = str_strdup(p_filename_str); ++ normname = realpath(path, NULL); ++ if (normname == NULL) ++ goto out; ++ str_alloc_text(&normalize_filename_str, normname); ++ ++ if (!str_isempty (&filter_remain_str) && !str_isempty(&normalize_filename_str)) { ++ if (str_get_char_at(p_filter_str, 0) == '/') { ++ if (str_get_char_at(&normalize_filename_str, 0) != '/') { ++ str_getcwd (&name_remain_str); ++ ++ if (str_getlen(&name_remain_str) > 1) /* cwd != root dir */ ++ str_append_char (&name_remain_str, '/'); ++ ++ str_append_str (&name_remain_str, &normalize_filename_str); ++ } ++ else ++ str_copy (&name_remain_str, &normalize_filename_str); ++ } else { ++ if (str_get_char_at(p_filter_str, 0) != '{') ++ str_basename (&name_remain_str, &normalize_filename_str); ++ else ++ str_copy (&name_remain_str, &normalize_filename_str); ++ } ++ } else ++ str_copy(&name_remain_str, &normalize_filename_str); + + while (!str_isempty(&filter_remain_str) && *iters < VSFTP_MATCHITERS_MAX) + { +@@ -360,6 +392,9 @@ vsf_filename_passes_filter(const struct + ret = 0; + } + out: ++ free(normname); ++ free(path); ++ str_free(&normalize_filename_str); + str_free(&filter_remain_str); + str_free(&name_remain_str); + str_free(&temp_str); +Index: vsftpd-3.0.2/str.c +=================================================================== +--- vsftpd-3.0.2.orig/str.c ++++ vsftpd-3.0.2/str.c +@@ -711,3 +711,14 @@ str_replace_unprintable(struct mystr* p_ + } + } + ++void ++str_basename (struct mystr* d_str, const struct mystr* path) ++{ ++ static struct mystr tmp; ++ ++ str_copy (&tmp, path); ++ str_split_char_reverse(&tmp, d_str, '/'); ++ ++ if (str_isempty(d_str)) ++ str_copy (d_str, path); ++} +Index: vsftpd-3.0.2/str.h +=================================================================== +--- vsftpd-3.0.2.orig/str.h ++++ vsftpd-3.0.2/str.h +@@ -100,6 +100,7 @@ void str_replace_unprintable(struct myst + int str_atoi(const struct mystr* p_str); + filesize_t str_a_to_filesize_t(const struct mystr* p_str); + unsigned int str_octal_to_uint(const struct mystr* p_str); ++void str_basename (struct mystr* d_str, const struct mystr* path); + + /* PURPOSE: Extract a line of text (delimited by \n or EOF) from a string + * buffer, starting at character position 'p_pos'. The extracted line will diff --git a/buildroot-2022.02.1/package/vsftpd/0003-Prevent-hang-in-SIGCHLD-handler.patch b/buildroot-2022.02.1/package/vsftpd/0003-Prevent-hang-in-SIGCHLD-handler.patch new file mode 100644 index 00000000..60561937 --- /dev/null +++ b/buildroot-2022.02.1/package/vsftpd/0003-Prevent-hang-in-SIGCHLD-handler.patch @@ -0,0 +1,87 @@ +From 1e65a0a15f819b8bf1b551bd84f71d0da1f5a00c Mon Sep 17 00:00:00 2001 +From: Martin Sehnoutka +Date: Thu, 17 Nov 2016 13:02:27 +0100 +Subject: [PATCH] Prevent hanging in SIGCHLD handler. + +vsftpd can now handle pam_exec.so in pam.d config without hanging +in SIGCHLD handler. + +[Abdelmalek: +Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1198259 +Fetched from: +https://src.fedoraproject.org/cgit/rpms/vsftpd.git/plain/0026-Prevent-hanging-in-SIGCHLD-handler.patch] +Signed-off-by: Abdelmalek Benelouezzane +--- + sysutil.c | 4 ++-- + sysutil.h | 2 +- + twoprocess.c | 13 +++++++++++-- + 3 files changed, 14 insertions(+), 5 deletions(-) + +diff --git a/sysutil.c b/sysutil.c +index 6d7cb3f..099748f 100644 +--- a/sysutil.c ++++ b/sysutil.c +@@ -592,13 +592,13 @@ vsf_sysutil_exit(int exit_code) + } + + struct vsf_sysutil_wait_retval +-vsf_sysutil_wait(void) ++vsf_sysutil_wait(int hang) + { + struct vsf_sysutil_wait_retval retval; + vsf_sysutil_memclr(&retval, sizeof(retval)); + while (1) + { +- int sys_ret = wait(&retval.exit_status); ++ int sys_ret = waitpid(-1, &retval.exit_status, hang ? 0 : WNOHANG); + if (sys_ret < 0 && errno == EINTR) + { + vsf_sysutil_check_pending_actions(kVSFSysUtilUnknown, 0, 0); +diff --git a/sysutil.h b/sysutil.h +index c145bdf..13153cd 100644 +--- a/sysutil.h ++++ b/sysutil.h +@@ -175,7 +175,7 @@ struct vsf_sysutil_wait_retval + int PRIVATE_HANDS_OFF_syscall_retval; + int PRIVATE_HANDS_OFF_exit_status; + }; +-struct vsf_sysutil_wait_retval vsf_sysutil_wait(void); ++struct vsf_sysutil_wait_retval vsf_sysutil_wait(int hang); + int vsf_sysutil_wait_reap_one(void); + int vsf_sysutil_wait_get_retval( + const struct vsf_sysutil_wait_retval* p_waitret); +diff --git a/twoprocess.c b/twoprocess.c +index 33d84dc..b1891e7 100644 +--- a/twoprocess.c ++++ b/twoprocess.c +@@ -47,8 +47,17 @@ static void + handle_sigchld(void* duff) + { + +- struct vsf_sysutil_wait_retval wait_retval = vsf_sysutil_wait(); ++ struct vsf_sysutil_wait_retval wait_retval = vsf_sysutil_wait(0); + (void) duff; ++ if (!vsf_sysutil_wait_get_exitcode(&wait_retval) && ++ !vsf_sysutil_wait_get_retval(&wait_retval)) ++ /* There was nobody to wait for, possibly caused by underlying library ++ * which created a new process through fork()/vfork() and already picked ++ * it up, e.g. by pam_exec.so or integrity check routines for libraries ++ * when FIPS mode is on (nss freebl), which can lead to calling prelink ++ * if the prelink package is installed. ++ */ ++ return; + /* Child died, so we'll do the same! Report it as an error unless the child + * exited normally with zero exit code + */ +@@ -390,7 +399,7 @@ common_do_login(struct vsf_session* p_sess, const struct mystr* p_user_str, + priv_sock_send_result(p_sess->parent_fd, PRIV_SOCK_RESULT_OK); + if (!p_sess->control_use_ssl) + { +- (void) vsf_sysutil_wait(); ++ (void) vsf_sysutil_wait(1); + } + else + { +-- +2.14.4 + diff --git a/buildroot-2021.05/package/vsftpd/Config.in b/buildroot-2022.02.1/package/vsftpd/Config.in similarity index 100% rename from buildroot-2021.05/package/vsftpd/Config.in rename to buildroot-2022.02.1/package/vsftpd/Config.in diff --git a/buildroot-2021.05/package/vsftpd/S70vsftpd b/buildroot-2022.02.1/package/vsftpd/S70vsftpd similarity index 100% rename from buildroot-2021.05/package/vsftpd/S70vsftpd rename to buildroot-2022.02.1/package/vsftpd/S70vsftpd diff --git a/buildroot-2022.02.1/package/vsftpd/vsftpd.hash b/buildroot-2022.02.1/package/vsftpd/vsftpd.hash new file mode 100644 index 00000000..485e5ba2 --- /dev/null +++ b/buildroot-2022.02.1/package/vsftpd/vsftpd.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 26b602ae454b0ba6d99ef44a09b6b9e0dfa7f67228106736df1f278c70bc91d3 vsftpd-3.0.5.tar.gz +# Locally computed +sha256 c9cf119e2f9dbcf187fb805ba5aded105db26a693803636fb7228c98460ffbf2 COPYING diff --git a/buildroot-2022.02.1/package/vsftpd/vsftpd.mk b/buildroot-2022.02.1/package/vsftpd/vsftpd.mk new file mode 100644 index 00000000..3e7b233e --- /dev/null +++ b/buildroot-2022.02.1/package/vsftpd/vsftpd.mk @@ -0,0 +1,74 @@ +################################################################################ +# +# vsftpd +# +################################################################################ + +VSFTPD_VERSION = 3.0.5 +VSFTPD_SITE = https://security.appspot.com/downloads +VSFTPD_LIBS = -lcrypt +VSFTPD_LICENSE = GPL-2.0 +VSFTPD_LICENSE_FILES = COPYING +VSFTPD_CPE_ID_VENDOR = vsftpd_project +VSFTPD_SELINUX_MODULES = ftp + +define VSFTPD_DISABLE_UTMPX + $(SED) 's/.*VSF_BUILD_UTMPX/#undef VSF_BUILD_UTMPX/' $(@D)/builddefs.h +endef + +define VSFTPD_ENABLE_SSL + $(SED) 's/.*VSF_BUILD_SSL/#define VSF_BUILD_SSL/' $(@D)/builddefs.h +endef + +ifeq ($(BR2_PACKAGE_VSFTPD_UTMPX),) +VSFTPD_POST_CONFIGURE_HOOKS += VSFTPD_DISABLE_UTMPX +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +VSFTPD_DEPENDENCIES += openssl host-pkgconf +VSFTPD_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs libssl libcrypto` +VSFTPD_POST_CONFIGURE_HOOKS += VSFTPD_ENABLE_SSL +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +VSFTPD_DEPENDENCIES += libcap +VSFTPD_LIBS += -lcap +endif + +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +VSFTPD_DEPENDENCIES += linux-pam +VSFTPD_LIBS += -lpam +endif + +define VSFTPD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(@D) +endef + +define VSFTPD_USERS + ftp -1 ftp -1 * /home/ftp - - Anonymous FTP User +endef + +define VSFTPD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/vsftpd/vsftpd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/vsftpd.service +endef + +define VSFTPD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/vsftpd/S70vsftpd $(TARGET_DIR)/etc/init.d/S70vsftpd +endef + +# vsftpd won't work if the jail directory is writable, it has to be +# readable only otherwise you get the following error: +# 500 OOPS: vsftpd: refusing to run with writable root inside chroot() +# That's why we have to adjust the permissions of /home/ftp +define VSFTPD_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd + test -f $(TARGET_DIR)/etc/vsftpd.conf || \ + $(INSTALL) -D -m 644 $(@D)/vsftpd.conf \ + $(TARGET_DIR)/etc/vsftpd.conf + $(INSTALL) -d -m 700 $(TARGET_DIR)/usr/share/empty + $(INSTALL) -d -m 555 $(TARGET_DIR)/home/ftp +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/vsftpd/vsftpd.service b/buildroot-2022.02.1/package/vsftpd/vsftpd.service similarity index 100% rename from buildroot-2021.05/package/vsftpd/vsftpd.service rename to buildroot-2022.02.1/package/vsftpd/vsftpd.service diff --git a/buildroot-2022.02.1/package/vte/0001-build-Fix-build-with-kernel-headers-from-linux-4-13.patch b/buildroot-2022.02.1/package/vte/0001-build-Fix-build-with-kernel-headers-from-linux-4-13.patch new file mode 100644 index 00000000..7c3a5ab0 --- /dev/null +++ b/buildroot-2022.02.1/package/vte/0001-build-Fix-build-with-kernel-headers-from-linux-4-13.patch @@ -0,0 +1,54 @@ +From 91123bb5201156e3d3adbe24305488f5eea2c8d7 Mon Sep 17 00:00:00 2001 +From: Christian Persch +Date: Mon, 27 Sep 2021 22:46:47 +0200 +Subject: [PATCH] build: Fix build with kernel headers from linux < 4.13 + +We already support running with a kernel that doesn't support this +ioctl, so let's also support building with one. Add the missing +ioctl definition to missing.hh. + +Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2514 + +[Retrieved from: +https://gitlab.gnome.org/GNOME/vte/-/commit/91123bb5201156e3d3adbe24305488f5eea2c8d7] +Signed-off-by: Fabrice Fontaine +--- + src/missing.hh | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git a/src/missing.hh b/src/missing.hh +index e5a58727..7902e41e 100644 +--- a/src/missing.hh ++++ b/src/missing.hh +@@ -23,11 +23,14 @@ + #include + + #ifdef __linux__ ++ ++#include + #include + + #if defined(__mips__) || defined(__mips64__) + #include + #endif ++ + #endif + + /* NSIG isn't in POSIX, so if it doesn't exist use this here. See bug #759196 */ +@@ -128,4 +131,13 @@ char* strchrnul(char const* s, + #define CLOSE_RANGE_CLOEXEC (1u << 2) + #endif + ++#if !defined(TIOCGPTPEER) ++/* See linux commit 54ebbfb1603415d9953c150535850d30609ef077 */ ++#if defined(__sparc__) ++#define TIOCGPTPEER _IOR('t', 137, int) ++#else ++#define TIOCGPTPEER _IOR('T', 0x41, int) ++#endif ++#endif /* !TIOCGPTPEER */ ++ + #endif /* __linux__ */ +-- +GitLab + diff --git a/buildroot-2022.02.1/package/vte/0002-build-Fix-check-for-fstack-protector-compiler-support.patch b/buildroot-2022.02.1/package/vte/0002-build-Fix-check-for-fstack-protector-compiler-support.patch new file mode 100644 index 00000000..67b6c474 --- /dev/null +++ b/buildroot-2022.02.1/package/vte/0002-build-Fix-check-for-fstack-protector-compiler-support.patch @@ -0,0 +1,43 @@ +From e32dba1d5cf884959af5b2c0691db00c263ea048 Mon Sep 17 00:00:00 2001 +From: Christian Persch +Date: Mon, 27 Dec 2021 19:24:46 +0100 +Subject: [PATCH] build: Fix check for -fstack-protector* compiler support + +Need to use has_link_argument() on some platforms. + +Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2535 + +[Retrieved from: +https://gitlab.gnome.org/GNOME/vte/-/commit/e32dba1d5cf884959af5b2c0691db00c263ea048] +Signed-off-by: Fabrice Fontaine +--- + meson.build | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/meson.build b/meson.build +index 93b7f376..381d5d58 100644 +--- a/meson.build ++++ b/meson.build +@@ -461,8 +461,6 @@ compiler_flags_common = [ + '-fdiagnostics-show-option', + '-fno-common', + '-fno-semantic-interposition', +- '-fstack-protector', +- '-fstack-protector-strong', + ] + + if enable_debug +@@ -550,6 +548,10 @@ add_project_arguments(global_cxxflags, language: 'cpp') + linker_flags = [ + ['-Wl,-Bsymbolic', false,], + ['-Wl,-Bsymbolic-functions', get_option('_b_symbolic_functions'),], ++ ++ # See issue vte#2535. ++ ['-fstack-protector', false], ++ ['-fstack-protector-strong', false], + ] + + foreach flag: linker_flags +-- +GitLab + diff --git a/buildroot-2022.02.1/package/vte/Config.in b/buildroot-2022.02.1/package/vte/Config.in new file mode 100644 index 00000000..45d62788 --- /dev/null +++ b/buildroot-2022.02.1/package/vte/Config.in @@ -0,0 +1,39 @@ +config BR2_PACKAGE_VTE + bool "vte" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS # libgtk3 -> host-libgtk3 -> host-librsvg + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # C++20 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_USES_MUSL + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ + BR2_PACKAGE_HAS_LIBGL + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_LIBGTK3 + select BR2_PACKAGE_PCRE2 + help + VTE is a library (libvte) implementing a terminal emulator + widget for GTK+, and a minimal sample application (vte) + using that. Vte is mainly used in gnome-terminal, but + can also be used to embed a console/terminal in games, + editors, IDEs, etc. + + http://github.com/GNOME/vte + +comment "vte needs a uClibc or glibc toolchain w/ wchar, threads, C++, gcc >= 10" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ + BR2_TOOLCHAIN_USES_MUSL + +comment "vte needs an OpenGL or an OpenGL-EGL/wayland backend" + depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_PACKAGE_HAS_LIBEGL_WAYLAND && \ + !BR2_PACKAGE_HAS_LIBGL diff --git a/buildroot-2022.02.1/package/vte/vte.hash b/buildroot-2022.02.1/package/vte/vte.hash new file mode 100644 index 00000000..90818d31 --- /dev/null +++ b/buildroot-2022.02.1/package/vte/vte.hash @@ -0,0 +1,5 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/vte/0.66/vte-0.66.2.sha256sum +sha256 e89974673a72a0a06edac6d17830b82bb124decf0cb3b52cebc92ec3ff04d976 vte-0.66.2.tar.xz + +# Hash for license file: +sha256 9ccf26cfe845e0eb8bb58053e47366e7ab6b697ae010f7650978d4b71b7d1fc1 COPYING.LGPL3 diff --git a/buildroot-2022.02.1/package/vte/vte.mk b/buildroot-2022.02.1/package/vte/vte.mk new file mode 100644 index 00000000..ceb2f09d --- /dev/null +++ b/buildroot-2022.02.1/package/vte/vte.mk @@ -0,0 +1,51 @@ +################################################################################ +# +# vte +# +################################################################################ + +VTE_VERSION_MAJOR = 0.66 +VTE_VERSION = $(VTE_VERSION_MAJOR).2 +VTE_SOURCE = vte-$(VTE_VERSION).tar.xz +VTE_SITE = http://ftp.gnome.org/pub/gnome/sources/vte/$(VTE_VERSION_MAJOR) +VTE_DEPENDENCIES = host-pkgconf libgtk3 pcre2 $(TARGET_NLS_DEPENDENCIES) +VTE_LICENSE = LGPL-3.0+ +VTE_LICENSE_FILES = COPYING.LGPL3 +VTE_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_ICU),y) +VTE_CONF_OPTS += -Dicu=true +VTE_DEPENDENCIES += icu +else +VTE_CONF_OPTS += -Dicu=false +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +VTE_CONF_OPTS += -Dgir=true -Dvapi=true +VTE_DEPENDENCIES += host-vala gobject-introspection +else +VTE_CONF_OPTS += -Dgir=false -Dvapi=false +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +VTE_CONF_OPTS += -Dgnutls=true +VTE_DEPENDENCIES += gnutls +else +VTE_CONF_OPTS += -Dgnutls=false +endif + +ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y) +VTE_CONF_OPTS += -Dfribidi=true +VTE_DEPENDENCIES += libfribidi +else +VTE_CONF_OPTS += -Dfribidi=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +VTE_CONF_OPTS += -D_systemd=true +VTE_DEPENDENCIES += systemd +else +VTE_CONF_OPTS += -D_systemd=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/vtun/0001-fix-installation.patch b/buildroot-2022.02.1/package/vtun/0001-fix-installation.patch similarity index 100% rename from buildroot-2021.05/package/vtun/0001-fix-installation.patch rename to buildroot-2022.02.1/package/vtun/0001-fix-installation.patch diff --git a/buildroot-2021.05/package/vtun/0002-fix-ssl-headers-checks.patch b/buildroot-2022.02.1/package/vtun/0002-fix-ssl-headers-checks.patch similarity index 100% rename from buildroot-2021.05/package/vtun/0002-fix-ssl-headers-checks.patch rename to buildroot-2022.02.1/package/vtun/0002-fix-ssl-headers-checks.patch diff --git a/buildroot-2021.05/package/vtun/0003-openssl11.patch b/buildroot-2022.02.1/package/vtun/0003-openssl11.patch similarity index 100% rename from buildroot-2021.05/package/vtun/0003-openssl11.patch rename to buildroot-2022.02.1/package/vtun/0003-openssl11.patch diff --git a/buildroot-2022.02.1/package/vtun/Config.in b/buildroot-2022.02.1/package/vtun/Config.in new file mode 100644 index 00000000..eca6f679 --- /dev/null +++ b/buildroot-2022.02.1/package/vtun/Config.in @@ -0,0 +1,14 @@ +config BR2_PACKAGE_VTUN + bool "vtun" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LZO + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_ZLIB + help + Tool for easily creating Virtual Tunnels over TCP/IP networks + with traffic shaping, compression, and encryption. + + It supports IP, PPP, SLIP, Ethernet and other tunnel types. + + http://vtun.sourceforge.net/ diff --git a/buildroot-2021.05/package/vtun/vtun.hash b/buildroot-2022.02.1/package/vtun/vtun.hash similarity index 100% rename from buildroot-2021.05/package/vtun/vtun.hash rename to buildroot-2022.02.1/package/vtun/vtun.hash diff --git a/buildroot-2021.05/package/vtun/vtun.mk b/buildroot-2022.02.1/package/vtun/vtun.mk similarity index 100% rename from buildroot-2021.05/package/vtun/vtun.mk rename to buildroot-2022.02.1/package/vtun/vtun.mk diff --git a/buildroot-2022.02.1/package/vuejs-router/Config.in b/buildroot-2022.02.1/package/vuejs-router/Config.in new file mode 100644 index 00000000..ac79b3ea --- /dev/null +++ b/buildroot-2022.02.1/package/vuejs-router/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_VUEJS_ROUTER + bool "vuejs-router" + help + The official router for Vue.js. + + http://router.vuejs.org diff --git a/buildroot-2022.02.1/package/vuejs-router/vuejs-router.hash b/buildroot-2022.02.1/package/vuejs-router/vuejs-router.hash new file mode 100644 index 00000000..13ce97d3 --- /dev/null +++ b/buildroot-2022.02.1/package/vuejs-router/vuejs-router.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 baf5e9dfb0a1e344f0f460a5cd521e17fd3842386ce36b8e6d53c1053d49cf1e vue-router-4.0.12.tgz +sha256 9c0015250f592a09d7787efc07152afcf661fff6bda2554359f6d00987828c02 LICENSE diff --git a/buildroot-2022.02.1/package/vuejs-router/vuejs-router.mk b/buildroot-2022.02.1/package/vuejs-router/vuejs-router.mk new file mode 100644 index 00000000..9c7dcc76 --- /dev/null +++ b/buildroot-2022.02.1/package/vuejs-router/vuejs-router.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# vuejs-router +# +################################################################################ + +VUEJS_ROUTER_VERSION = 4.0.12 +VUEJS_ROUTER_SOURCE = vue-router-$(VUEJS_ROUTER_VERSION).tgz +VUEJS_ROUTER_SITE = https://registry.npmjs.org/vue-router/- +VUEJS_ROUTER_LICENSE = MIT +VUEJS_ROUTER_LICENSE_FILES = LICENSE + +# Install .prod.js as .js +define VUEJS_ROUTER_INSTALL_TARGET_CMDS + $(INSTALL) -m 644 -D $(@D)/dist/vue-router.global.prod.js \ + $(TARGET_DIR)/var/www/vue-router.js +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/vuejs/Config.in b/buildroot-2022.02.1/package/vuejs/Config.in similarity index 100% rename from buildroot-2021.05/package/vuejs/Config.in rename to buildroot-2022.02.1/package/vuejs/Config.in diff --git a/buildroot-2022.02.1/package/vuejs/vuejs.hash b/buildroot-2022.02.1/package/vuejs/vuejs.hash new file mode 100644 index 00000000..9dd0fb54 --- /dev/null +++ b/buildroot-2022.02.1/package/vuejs/vuejs.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 770ff74851f7454977f084becd76b05b3fad4d52f048df5405d41849c125956c vue-3.2.22.tgz +sha256 1bb85cc9b13b81ef41c81c51866172fc345e0503c86726a6755b796590b70175 LICENSE diff --git a/buildroot-2022.02.1/package/vuejs/vuejs.mk b/buildroot-2022.02.1/package/vuejs/vuejs.mk new file mode 100644 index 00000000..b74002e9 --- /dev/null +++ b/buildroot-2022.02.1/package/vuejs/vuejs.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# vuejs +# +################################################################################ + +VUEJS_VERSION = 3.2.22 +VUEJS_SOURCE = vue-$(VUEJS_VERSION).tgz +VUEJS_SITE = https://registry.npmjs.org/vue/- +VUEJS_LICENSE = MIT +VUEJS_LICENSE_FILES = LICENSE + +# Install .prod.js as .js +define VUEJS_INSTALL_TARGET_CMDS + $(INSTALL) -m 644 -D $(@D)/dist/vue.global.prod.js \ + $(TARGET_DIR)/var/www/vue.js +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/vulkan-headers/Config.in b/buildroot-2022.02.1/package/vulkan-headers/Config.in new file mode 100644 index 00000000..c0fc8f20 --- /dev/null +++ b/buildroot-2022.02.1/package/vulkan-headers/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_VULKAN_HEADERS + bool "vulkan-headers" + help + The Khronos official Vulkan header files and API + registry. + + https://github.com/KhronosGroup/Vulkan-Headers diff --git a/buildroot-2022.02.1/package/vulkan-headers/vulkan-headers.hash b/buildroot-2022.02.1/package/vulkan-headers/vulkan-headers.hash new file mode 100644 index 00000000..c4373640 --- /dev/null +++ b/buildroot-2022.02.1/package/vulkan-headers/vulkan-headers.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 7239108c372f1fbe365bd8d1610ca2bb4e72b73b2151f2551bf9df54dd539639 vulkan-headers-1.2.203.tar.gz +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt diff --git a/buildroot-2022.02.1/package/vulkan-headers/vulkan-headers.mk b/buildroot-2022.02.1/package/vulkan-headers/vulkan-headers.mk new file mode 100644 index 00000000..13cae1e6 --- /dev/null +++ b/buildroot-2022.02.1/package/vulkan-headers/vulkan-headers.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# vulkan-headers +# +################################################################################ + +VULKAN_HEADERS_VERSION = 1.2.203 +VULKAN_HEADERS_SITE = $(call github,KhronosGroup,Vulkan-Headers,v$(VULKAN_HEADERS_VERSION)) +VULKAN_HEADERS_LICENSE = Apache-2.0 +VULKAN_HEADERS_LICENSE_FILES = LICENSE.txt +VULKAN_HEADERS_INSTALL_STAGING = YES + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/w_scan/0001-musl.patch b/buildroot-2022.02.1/package/w_scan/0001-musl.patch similarity index 100% rename from buildroot-2021.05/package/w_scan/0001-musl.patch rename to buildroot-2022.02.1/package/w_scan/0001-musl.patch diff --git a/buildroot-2021.05/package/w_scan/0002-si_types-h-fix-build-with-gcc-10.patch b/buildroot-2022.02.1/package/w_scan/0002-si_types-h-fix-build-with-gcc-10.patch similarity index 100% rename from buildroot-2021.05/package/w_scan/0002-si_types-h-fix-build-with-gcc-10.patch rename to buildroot-2022.02.1/package/w_scan/0002-si_types-h-fix-build-with-gcc-10.patch diff --git a/buildroot-2021.05/package/w_scan/Config.in b/buildroot-2022.02.1/package/w_scan/Config.in similarity index 100% rename from buildroot-2021.05/package/w_scan/Config.in rename to buildroot-2022.02.1/package/w_scan/Config.in diff --git a/buildroot-2021.05/package/w_scan/w_scan.hash b/buildroot-2022.02.1/package/w_scan/w_scan.hash similarity index 100% rename from buildroot-2021.05/package/w_scan/w_scan.hash rename to buildroot-2022.02.1/package/w_scan/w_scan.hash diff --git a/buildroot-2021.05/package/w_scan/w_scan.mk b/buildroot-2022.02.1/package/w_scan/w_scan.mk similarity index 100% rename from buildroot-2021.05/package/w_scan/w_scan.mk rename to buildroot-2022.02.1/package/w_scan/w_scan.mk diff --git a/buildroot-2022.02.1/package/waf/waf.hash b/buildroot-2022.02.1/package/waf/waf.hash new file mode 100644 index 00000000..21f47f76 --- /dev/null +++ b/buildroot-2022.02.1/package/waf/waf.hash @@ -0,0 +1,7 @@ +# Locally computed +sha1 89b24f9c19328339c2c8103796755474b66f3a8d waf-2.0.23 +sha256 28a2e4583314a162cfcbffefb8a9202c1d7869040d30b5852da479b76d9c0491 waf-2.0.23 + +# The waf script also contains its license, but is renamed `waf` in the extract +# step, so this is a synonym for the above, to check WAF_LICENSE +sha256 28a2e4583314a162cfcbffefb8a9202c1d7869040d30b5852da479b76d9c0491 waf diff --git a/buildroot-2022.02.1/package/waf/waf.mk b/buildroot-2022.02.1/package/waf/waf.mk new file mode 100644 index 00000000..2b1808ac --- /dev/null +++ b/buildroot-2022.02.1/package/waf/waf.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# waf +# +################################################################################ + +WAF_VERSION = 2.0.23 +WAF_SOURCE = waf-$(WAF_VERSION) +WAF_SITE = https://waf.io +WAF_LICENSE = BSD-3-Clause +WAF_LICENSE_FILES = waf + +define HOST_WAF_EXTRACT_CMDS + $(INSTALL) -D -m 0755 $(HOST_WAF_DL_DIR)/waf-$(WAF_VERSION) $(@D)/waf +endef + +define HOST_WAF_INSTALL_CMDS + $(INSTALL) -D -m 0755 $(@D)/waf $(HOST_DIR)/bin/waf +endef + +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/waffle/0001-cmake-forward-cflags-from-.pc-files-to-waffle-cflags.patch b/buildroot-2022.02.1/package/waffle/0001-cmake-forward-cflags-from-.pc-files-to-waffle-cflags.patch similarity index 100% rename from buildroot-2021.05/package/waffle/0001-cmake-forward-cflags-from-.pc-files-to-waffle-cflags.patch rename to buildroot-2022.02.1/package/waffle/0001-cmake-forward-cflags-from-.pc-files-to-waffle-cflags.patch diff --git a/buildroot-2021.05/package/waffle/Config.in b/buildroot-2022.02.1/package/waffle/Config.in similarity index 100% rename from buildroot-2021.05/package/waffle/Config.in rename to buildroot-2022.02.1/package/waffle/Config.in diff --git a/buildroot-2021.05/package/waffle/waffle.hash b/buildroot-2022.02.1/package/waffle/waffle.hash similarity index 100% rename from buildroot-2021.05/package/waffle/waffle.hash rename to buildroot-2022.02.1/package/waffle/waffle.hash diff --git a/buildroot-2021.05/package/waffle/waffle.mk b/buildroot-2022.02.1/package/waffle/waffle.mk similarity index 100% rename from buildroot-2021.05/package/waffle/waffle.mk rename to buildroot-2022.02.1/package/waffle/waffle.mk diff --git a/buildroot-2021.05/package/wampcc/0001-Add-RISC-V-endian-detection.patch b/buildroot-2022.02.1/package/wampcc/0001-Add-RISC-V-endian-detection.patch similarity index 100% rename from buildroot-2021.05/package/wampcc/0001-Add-RISC-V-endian-detection.patch rename to buildroot-2022.02.1/package/wampcc/0001-Add-RISC-V-endian-detection.patch diff --git a/buildroot-2021.05/package/wampcc/0002-include-wampcc-platform.h-fix-build-with-musl-1.2.0.patch b/buildroot-2022.02.1/package/wampcc/0002-include-wampcc-platform.h-fix-build-with-musl-1.2.0.patch similarity index 100% rename from buildroot-2021.05/package/wampcc/0002-include-wampcc-platform.h-fix-build-with-musl-1.2.0.patch rename to buildroot-2022.02.1/package/wampcc/0002-include-wampcc-platform.h-fix-build-with-musl-1.2.0.patch diff --git a/buildroot-2021.05/package/wampcc/0003-Broken-build-on-Windows.patch b/buildroot-2022.02.1/package/wampcc/0003-Broken-build-on-Windows.patch similarity index 100% rename from buildroot-2021.05/package/wampcc/0003-Broken-build-on-Windows.patch rename to buildroot-2022.02.1/package/wampcc/0003-Broken-build-on-Windows.patch diff --git a/buildroot-2021.05/package/wampcc/Config.in b/buildroot-2022.02.1/package/wampcc/Config.in similarity index 100% rename from buildroot-2021.05/package/wampcc/Config.in rename to buildroot-2022.02.1/package/wampcc/Config.in diff --git a/buildroot-2021.05/package/wampcc/wampcc.hash b/buildroot-2022.02.1/package/wampcc/wampcc.hash similarity index 100% rename from buildroot-2021.05/package/wampcc/wampcc.hash rename to buildroot-2022.02.1/package/wampcc/wampcc.hash diff --git a/buildroot-2021.05/package/wampcc/wampcc.mk b/buildroot-2022.02.1/package/wampcc/wampcc.mk similarity index 100% rename from buildroot-2021.05/package/wampcc/wampcc.mk rename to buildroot-2022.02.1/package/wampcc/wampcc.mk diff --git a/buildroot-2021.05/package/watchdog/Config.in b/buildroot-2022.02.1/package/watchdog/Config.in similarity index 100% rename from buildroot-2021.05/package/watchdog/Config.in rename to buildroot-2022.02.1/package/watchdog/Config.in diff --git a/buildroot-2021.05/package/watchdog/watchdog.hash b/buildroot-2022.02.1/package/watchdog/watchdog.hash similarity index 100% rename from buildroot-2021.05/package/watchdog/watchdog.hash rename to buildroot-2022.02.1/package/watchdog/watchdog.hash diff --git a/buildroot-2021.05/package/watchdog/watchdog.mk b/buildroot-2022.02.1/package/watchdog/watchdog.mk similarity index 100% rename from buildroot-2021.05/package/watchdog/watchdog.mk rename to buildroot-2022.02.1/package/watchdog/watchdog.mk diff --git a/buildroot-2022.02.1/package/watchdogd/Config.in b/buildroot-2022.02.1/package/watchdogd/Config.in new file mode 100644 index 00000000..ca593384 --- /dev/null +++ b/buildroot-2022.02.1/package/watchdogd/Config.in @@ -0,0 +1,58 @@ +config BR2_PACKAGE_WATCHDOGD + bool "watchdogd" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBCONFUSE + select BR2_PACKAGE_LIBITE + select BR2_PACKAGE_LIBUEV + help + Extended version of uClinux-dist watchdogd. Monitors loadavg, + file descriptors and memory leaks, and capable of supervising + your processes main loop using an instrumentation API. + + A reset reason is saved for power loss, CPU overload, or any + of the monitored conditions (above). The full capabilities + are limited by the kernel watchdog driver, but even the basic + "softdog" driver is supported. See /etc/watchdogd.conf for + details, and try watchdogctl for system status and available + commands. + + https://github.com/troglobit/watchdogd/ + +if BR2_PACKAGE_WATCHDOGD + +config BR2_PACKAGE_WATCHDOGD_TEST_SUITE + bool "Enable watchdogctl test cases" + help + The watchdogctl program comes with a suite of tests built-in. + They can be used to verify correct operation of watchdogd and + the kernel watchdog driver. + +config BR2_PACKAGE_WATCHDOGD_GENERIC_POLL + int "Generic script monitor poll interval (sec)" + default "300" + help + Poll interval for generic script monitor, in seconds. A value + of zero (0) disables the monitor. + +config BR2_PACKAGE_WATCHDOGD_LOADAVG_POLL + int "CPU load average monitor poll interval (sec)" + default "300" + help + Poll interval for CPU load average monitor, in seconds. A + value of zero (0) disables the monitor. + +config BR2_PACKAGE_WATCHDOGD_FILENR_POLL + int "File descriptor leak monitor poll interval (sec)" + default "300" + help + Poll interval for file descriptor leak monitor, in seconds. A + value of zero (0) disables the monitor. + +config BR2_PACKAGE_WATCHDOGD_MEMINFO_POLL + int "Memory leak monitor poll interval (sec)" + default "300" + help + Poll interval for memory leak monitor, in seconds. A value of + zero (0) disables the monitor. + +endif diff --git a/buildroot-2022.02.1/package/watchdogd/S01watchdogd b/buildroot-2022.02.1/package/watchdogd/S01watchdogd new file mode 100755 index 00000000..df57b8ad --- /dev/null +++ b/buildroot-2022.02.1/package/watchdogd/S01watchdogd @@ -0,0 +1,47 @@ +#!/bin/sh + +DAEMON="watchdogd" +PIDFILE="/var/run/$DAEMON.pid" + +# shellcheck source=/dev/null +[ -r "/etc/default/$DAEMON" ] && . "/etc/default/$DAEMON" + +cmd() +{ + start-stop-daemon -q -p "$PIDFILE" -x "/usr/sbin/$DAEMON" "$@" + status=$? + if [ $status -eq 0 ]; then + echo "OK" + else + echo "FAIL" + fi + return $status +} + +case "$1" in + start) + printf 'Starting %s: ' "$DAEMON" + # shellcheck disable=SC2086 # we need the word splitting + cmd -S -- $SMCROUTED_ARGS + ;; + + stop) + printf 'Stopping %s: ' "$DAEMON" + cmd -K + ;; + + restart) + $0 stop + sleep 1 + $0 start + ;; + + reload) + printf 'Reloading %s: ' "$DAEMON" + cmd -K -s HUP + ;; + + *) + echo "Usage: $0 {start|stop|restart|reload}" + exit 1 +esac diff --git a/buildroot-2022.02.1/package/watchdogd/watchdogd.hash b/buildroot-2022.02.1/package/watchdogd/watchdogd.hash new file mode 100644 index 00000000..09a34d6b --- /dev/null +++ b/buildroot-2022.02.1/package/watchdogd/watchdogd.hash @@ -0,0 +1,5 @@ +# Upstream .sha256 from GitHub +sha256 33ec4edc8cb4ada7a4d8324a27d897d33aae5e83257ed64d3d37508825c11237 watchdogd-3.5.tar.gz + +# Locally calculated +sha256 fd685e20931174308c45a26418a7ce34d66704c4e4b92ab1d8299deb255cd676 LICENSE diff --git a/buildroot-2022.02.1/package/watchdogd/watchdogd.mk b/buildroot-2022.02.1/package/watchdogd/watchdogd.mk new file mode 100644 index 00000000..1a9d04d9 --- /dev/null +++ b/buildroot-2022.02.1/package/watchdogd/watchdogd.mk @@ -0,0 +1,56 @@ +################################################################################ +# +# watchdogd +# +################################################################################ + +WATCHDOGD_VERSION = 3.5 +WATCHDOGD_SITE = https://github.com/troglobit/watchdogd/releases/download/$(WATCHDOGD_VERSION) +WATCHDOGD_LICENSE = ISC +WATCHDOGD_LICENSE_FILES = LICENSE +WATCHDOGD_CPE_ID_VENDOR = troglobit +WATCHDOGD_DEPENDENCIES = host-pkgconf libconfuse libite libuev +WATCHDOGD_CONF_OPTS = --disable-compat --disable-examples --disable-test-mode +WATCHDOGD_SELINUX_MODULES = watchdog + +ifneq ($(BR2_PACKAGE_WATCHDOGD_TEST_SUITE),y) +WATCHDOGD_CONF_OPTS += --disable-builtin-tests +else +WATCHDOGD_CONF_OPTS += --enable-builtin-tests +endif + +ifeq ($(BR2_PACKAGE_WATCHDOGD_GENERIC_POLL),0) +WATCHDOGD_CONF_OPTS += --without-generic +else +WATCHDOGD_CONF_OPTS += --with-generic=$(BR2_PACKAGE_WATCHDOGD_GENERIC_POLL) +endif + +ifeq ($(BR2_PACKAGE_WATCHDOGD_LOADAVG_POLL),0) +WATCHDOGD_CONF_OPTS += --without-loadavg +else +WATCHDOGD_CONF_OPTS += --with-loadavg=$(BR2_PACKAGE_WATCHDOGD_LOADAVG_POLL) +endif + +ifeq ($(BR2_PACKAGE_WATCHDOGD_FILENR_POLL),0) +WATCHDOGD_CONF_OPTS += --without-filenr +else +WATCHDOGD_CONF_OPTS += --with-filenr=$(BR2_PACKAGE_WATCHDOGD_FILENR_POLL) +endif + +ifeq ($(BR2_PACKAGE_WATCHDOGD_MEMINFO_POLL),0) +WATCHDOGD_CONF_OPTS += --without-meminfo +else +WATCHDOGD_CONF_OPTS += --with-meminfo=$(BR2_PACKAGE_WATCHDOGD_MEMINFO_POLL) +endif + +define WATCHDOGD_INSTALL_INIT_SYSV + $(INSTALL) -D -m 0755 package/watchdogd/S01watchdogd \ + $(TARGET_DIR)/etc/init.d/S01watchdogd +endef + +define WATCHDOGD_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 644 $(WATCHDOGD_SRCDIR)/watchdogd.service \ + $(TARGET_DIR)/usr/lib/systemd/system/watchdogd.service +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/wavemon/Config.in b/buildroot-2022.02.1/package/wavemon/Config.in new file mode 100644 index 00000000..0e087bd0 --- /dev/null +++ b/buildroot-2022.02.1/package/wavemon/Config.in @@ -0,0 +1,21 @@ +config BR2_PACKAGE_WAVEMON + bool "wavemon" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS # libnl tools + select BR2_PACKAGE_NCURSES + select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_LIBNL_TOOLS + help + wavemon is a wireless device monitoring application that + allows you to watch signal and noise levels, packet + statistics, device configuration and network parameters of + your wireless network hardware. + + Note that you need a Linux Kernel configuration with + wireless extensions or with wireless extensions + compatibility enabled. + + https://github.com/uoaerg/wavemon + +comment "wavemon needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2022.02.1/package/wavemon/wavemon.hash b/buildroot-2022.02.1/package/wavemon/wavemon.hash new file mode 100644 index 00000000..7c685f65 --- /dev/null +++ b/buildroot-2022.02.1/package/wavemon/wavemon.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 e7e4167292136ca7ff12ddeb880904c10f33e97620ea6aa5f7838e859fdb40ed wavemon-0.9.4.tar.gz +sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSE diff --git a/buildroot-2022.02.1/package/wavemon/wavemon.mk b/buildroot-2022.02.1/package/wavemon/wavemon.mk new file mode 100644 index 00000000..50e3fd27 --- /dev/null +++ b/buildroot-2022.02.1/package/wavemon/wavemon.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# wavemon +# +################################################################################ + +WAVEMON_VERSION = 0.9.4 +WAVEMON_SITE = $(call github,uoaerg,wavemon,v$(WAVEMON_VERSION)) +WAVEMON_LICENSE = GPL-3.0+ +WAVEMON_LICENSE_FILES = LICENSE +WAVEMON_DEPENDENCIES = host-pkgconf libnl ncurses + +# Handwritten Makefile.in, automake isn't used +WAVEMON_MAKE_OPTS = CC="$(TARGET_CC)" + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +WAVEMON_CONF_OPTS += --with-libcap +WAVEMON_DEPENDENCIES += libcap +else +WAVEMON_CONF_OPTS += --without-libcap +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/wavpack/0001-issue-110-sanitize-DSD-file-types-for-invalid-lengths.patch b/buildroot-2022.02.1/package/wavpack/0001-issue-110-sanitize-DSD-file-types-for-invalid-lengths.patch new file mode 100644 index 00000000..76c1e816 --- /dev/null +++ b/buildroot-2022.02.1/package/wavpack/0001-issue-110-sanitize-DSD-file-types-for-invalid-lengths.patch @@ -0,0 +1,42 @@ +From 773f9d0803c6888ae7d5391878d7337f24216f4a Mon Sep 17 00:00:00 2001 +From: David Bryant +Date: Tue, 23 Nov 2021 13:14:35 -0800 +Subject: [PATCH] issue #110: sanitize DSD file types for invalid lengths + +[Retrieved from: +https://github.com/dbry/WavPack/commit/773f9d0803c6888ae7d5391878d7337f24216f4a] +Signed-off-by: Fabrice Fontaine +--- + cli/dsdiff.c | 6 ++++++ + cli/dsf.c | 1 + + 2 files changed, 7 insertions(+) + +diff --git a/cli/dsdiff.c b/cli/dsdiff.c +index d7adb6a..5bdcae3 100644 +--- a/cli/dsdiff.c ++++ b/cli/dsdiff.c +@@ -278,6 +278,12 @@ int ParseDsdiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa + } + + total_samples = dff_chunk_header.ckDataSize / config->num_channels; ++ ++ if (total_samples <= 0 || total_samples > MAX_WAVPACK_SAMPLES) { ++ error_line ("%s is not a valid .DFF file!", infilename); ++ return WAVPACK_SOFT_ERROR; ++ } ++ + break; + } + else { // just copy unknown chunks to output file +diff --git a/cli/dsf.c b/cli/dsf.c +index e1d7973..dddd488 100644 +--- a/cli/dsf.c ++++ b/cli/dsf.c +@@ -113,6 +113,7 @@ int ParseDsfHeaderConfig (FILE *infile, char *infilename, char *fourcc, WavpackC + + if (format_chunk.ckSize != sizeof (DSFFormatChunk) || format_chunk.formatVersion != 1 || + format_chunk.formatID != 0 || format_chunk.blockSize != DSF_BLOCKSIZE || format_chunk.reserved || ++ format_chunk.sampleCount <= 0 || format_chunk.sampleCount > MAX_WAVPACK_SAMPLES * 8 || + (format_chunk.bitsPerSample != 1 && format_chunk.bitsPerSample != 8) || + format_chunk.numChannels < 1 || format_chunk.numChannels > 6 || + format_chunk.chanType < 1 || format_chunk.chanType > NUM_CHAN_TYPES) { diff --git a/buildroot-2021.05/package/wavpack/Config.in b/buildroot-2022.02.1/package/wavpack/Config.in similarity index 100% rename from buildroot-2021.05/package/wavpack/Config.in rename to buildroot-2022.02.1/package/wavpack/Config.in diff --git a/buildroot-2021.05/package/wavpack/wavpack.hash b/buildroot-2022.02.1/package/wavpack/wavpack.hash similarity index 100% rename from buildroot-2021.05/package/wavpack/wavpack.hash rename to buildroot-2022.02.1/package/wavpack/wavpack.hash diff --git a/buildroot-2022.02.1/package/wavpack/wavpack.mk b/buildroot-2022.02.1/package/wavpack/wavpack.mk new file mode 100644 index 00000000..2e0438ac --- /dev/null +++ b/buildroot-2022.02.1/package/wavpack/wavpack.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# wavpack +# +################################################################################ + +WAVPACK_VERSION = 5.4.0 +WAVPACK_SITE = \ + https://github.com/dbry/WavPack/releases/download/$(WAVPACK_VERSION) +WAVPACK_SOURCE = wavpack-$(WAVPACK_VERSION).tar.xz +WAVPACK_INSTALL_STAGING = YES +WAVPACK_DEPENDENCIES = $(if $(BR2_ENABLE_LOCALE),,libiconv) +WAVPACK_LICENSE = BSD-3-Clause +WAVPACK_LICENSE_FILES = COPYING +WAVPACK_CPE_ID_VENDOR = wavpack + +# 0001-issue-110-sanitize-DSD-file-types-for-invalid-lengths.patch +WAVPACK_IGNORE_CVES += CVE-2021-44269 + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +WAVPACK_CONF_OPTS += LIBS=-liconv +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +WAVPACK_DEPENDENCIES += openssl +WAVPACK_CONF_OPTS += --enable-libcrypto +else +WAVPACK_CONF_OPTS += --disable-libcrypto +endif + +# WavPack "autodetects" CPU type to enable ASM code. However, the assembly code +# for ARM is written for ARMv7 only and building WavPack for an ARM-non-v7 +# architecture will fail. We explicitly enable ASM for the supported +# architectures x86, x64 and ARMv7 and disable it for all others. +ifeq ($(BR2_i386)$(BR2_x86_64)$(BR2_ARM_CPU_ARMV7A),y) +WAVPACK_CONF_OPTS += --enable-asm +else +WAVPACK_CONF_OPTS += --disable-asm +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/wayland-protocols/Config.in b/buildroot-2022.02.1/package/wayland-protocols/Config.in similarity index 100% rename from buildroot-2021.05/package/wayland-protocols/Config.in rename to buildroot-2022.02.1/package/wayland-protocols/Config.in diff --git a/buildroot-2022.02.1/package/wayland-protocols/wayland-protocols.hash b/buildroot-2022.02.1/package/wayland-protocols/wayland-protocols.hash new file mode 100644 index 00000000..1262f0f9 --- /dev/null +++ b/buildroot-2022.02.1/package/wayland-protocols/wayland-protocols.hash @@ -0,0 +1,5 @@ +# From https://lists.freedesktop.org/archives/wayland-devel/2022-January/042102.html +md5 0c192bf32de09ec30de4a82d1c65329c wayland-protocols-1.25.tar.xz +sha1 275298332d124e40e345aa82bc8f48ef8cad3480 wayland-protocols-1.25.tar.xz +sha256 f1ff0f7199d0a0da337217dd8c99979967808dc37731a1e759e822b75b571460 wayland-protocols-1.25.tar.xz +sha256 f1a2b233e8a9a71c40f4aa885be08a0842ac85bb8588703c1dd7e6e6502e3124 COPYING diff --git a/buildroot-2022.02.1/package/wayland-protocols/wayland-protocols.mk b/buildroot-2022.02.1/package/wayland-protocols/wayland-protocols.mk new file mode 100644 index 00000000..746d82e3 --- /dev/null +++ b/buildroot-2022.02.1/package/wayland-protocols/wayland-protocols.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# wayland-protocols +# +################################################################################ + +WAYLAND_PROTOCOLS_VERSION = 1.25 +WAYLAND_PROTOCOLS_SITE = https://wayland.freedesktop.org/releases +WAYLAND_PROTOCOLS_SOURCE = wayland-protocols-$(WAYLAND_PROTOCOLS_VERSION).tar.xz +WAYLAND_PROTOCOLS_LICENSE = MIT +WAYLAND_PROTOCOLS_LICENSE_FILES = COPYING +WAYLAND_PROTOCOLS_INSTALL_STAGING = YES +WAYLAND_PROTOCOLS_INSTALL_TARGET = NO + +WAYLAND_PROTOCOLS_CONF_OPTS = -Dtests=false + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/wayland-utils/Config.in b/buildroot-2022.02.1/package/wayland-utils/Config.in similarity index 100% rename from buildroot-2021.05/package/wayland-utils/Config.in rename to buildroot-2022.02.1/package/wayland-utils/Config.in diff --git a/buildroot-2021.05/package/wayland-utils/wayland-utils.hash b/buildroot-2022.02.1/package/wayland-utils/wayland-utils.hash similarity index 100% rename from buildroot-2021.05/package/wayland-utils/wayland-utils.hash rename to buildroot-2022.02.1/package/wayland-utils/wayland-utils.hash diff --git a/buildroot-2021.05/package/wayland-utils/wayland-utils.mk b/buildroot-2022.02.1/package/wayland-utils/wayland-utils.mk similarity index 100% rename from buildroot-2021.05/package/wayland-utils/wayland-utils.mk rename to buildroot-2022.02.1/package/wayland-utils/wayland-utils.mk diff --git a/buildroot-2022.02.1/package/wayland/0001-build-add-option-to-disable-tests.patch b/buildroot-2022.02.1/package/wayland/0001-build-add-option-to-disable-tests.patch new file mode 100644 index 00000000..5ecf100d --- /dev/null +++ b/buildroot-2022.02.1/package/wayland/0001-build-add-option-to-disable-tests.patch @@ -0,0 +1,58 @@ +From 88f1605a826ca0c2ff02be6f4cf9ecabf68e8341 Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Tue, 3 Mar 2020 15:27:51 -0700 +Subject: [PATCH] build: add option to disable tests + +When building for a product, tests are not needed. + +Besides, one test requires a C++ compiler, which is not always +available. + +So, add an option to configure to disable building tests altogether. + +Signed-off-by: "Yann E. MORIN" +Signed-off-by: Alexey Brodkin +Signed-off-by: James Hilliard +[Upstream status: +https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/66] +Signed-off-by: Adrian Perez de Castro +[yann.morin.1998@free.fr: backport from upstream] +Signed-off-by: Yann E. MORIN +--- + meson.build | 4 +++- + meson_options.txt | 4 ++++ + 2 files changed, 7 insertions(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index cdb66bc..714a86d 100644 +--- a/meson.build ++++ b/meson.build +@@ -84,7 +84,9 @@ subdir('src') + if get_option('libraries') + subdir('cursor') + subdir('egl') +- subdir('tests') ++ if get_option('tests') ++ subdir('tests') ++ endif + if get_option('documentation') + subdir('doc') + endif +diff --git a/meson_options.txt b/meson_options.txt +index de588d1..4433fa0 100644 +--- a/meson_options.txt ++++ b/meson_options.txt +@@ -6,6 +6,10 @@ option('scanner', + description: 'Compile wayland-scanner binary', + type: 'boolean', + value: 'true') ++option('tests', ++ description: 'Compile Wayland tests', ++ type: 'boolean', ++ value: 'true') + option('documentation', + description: 'Build the documentation (requires Doxygen, dot, xmlto, xsltproc)', + type: 'boolean', +-- +2.25.1 + diff --git a/buildroot-2022.02.1/package/wayland/0002-meson-only-require-cpp-for-tests.patch b/buildroot-2022.02.1/package/wayland/0002-meson-only-require-cpp-for-tests.patch new file mode 100644 index 00000000..84d0e4cf --- /dev/null +++ b/buildroot-2022.02.1/package/wayland/0002-meson-only-require-cpp-for-tests.patch @@ -0,0 +1,59 @@ +From 4c2105312379b62dc84f6eaaf26e2ab293d51b92 Mon Sep 17 00:00:00 2001 +From: James Hilliard +Date: Fri, 16 Apr 2021 02:32:38 -0600 +Subject: [PATCH] meson: only require cpp for tests + +Signed-off-by: James Hilliard +[Upstream status: +https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/130] +Signed-off-by: Adrian Perez de Castro +[yann.morin.1998@free.fr: backport from upstream] +Signed-off-by: Yann E. MORIN +--- + meson.build | 2 +- + tests/meson.build | 16 +++++++++------- + 2 files changed, 10 insertions(+), 8 deletions(-) + +diff --git a/meson.build b/meson.build +index 12b4641..cdb66bc 100644 +--- a/meson.build ++++ b/meson.build +@@ -1,5 +1,5 @@ + project( +- 'wayland', 'c', 'cpp', ++ 'wayland', 'c', + version: '1.19.0', + license: 'MIT', + meson_version: '>= 0.52.1', +diff --git a/tests/meson.build b/tests/meson.build +index a32ac50..2e11af4 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -64,15 +64,17 @@ executable( + dependencies: test_runner_dep + ) + +-test( +- 'cpp-compile-test', +- executable( ++if add_languages('cpp') ++ test( + 'cpp-compile-test', +- 'cpp-compile-test.cpp', +- wayland_server_protocol_h, +- include_directories: src_inc ++ executable( ++ 'cpp-compile-test', ++ 'cpp-compile-test.cpp', ++ wayland_server_protocol_h, ++ include_directories: src_inc ++ ) + ) +-) ++endif + + sed_path = find_program('sed').path() + +-- +2.31.1 + diff --git a/buildroot-2021.05/package/wayland/Config.in b/buildroot-2022.02.1/package/wayland/Config.in similarity index 100% rename from buildroot-2021.05/package/wayland/Config.in rename to buildroot-2022.02.1/package/wayland/Config.in diff --git a/buildroot-2022.02.1/package/wayland/wayland.hash b/buildroot-2022.02.1/package/wayland/wayland.hash new file mode 100644 index 00000000..e9dcb63a --- /dev/null +++ b/buildroot-2022.02.1/package/wayland/wayland.hash @@ -0,0 +1,6 @@ +# From https://lists.freedesktop.org/archives/wayland-devel/2021-January/041692.html +sha256 baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15 wayland-1.19.0.tar.xz +sha512 d8a86f5e23e4a88e7c84b82fdb51eb350419086afe462ecb2f4d5c3ba9290ede310cbbcffd60215219ddccf5bad4adec21a5ebfbef6577200f66ac7a1b64a5ef wayland-1.19.0.tar.xz + +# Locally calculated +sha256 6eefcb023622a463168a5c20add95fd24a38c7482622a9254a23b99b7c153061 COPYING diff --git a/buildroot-2022.02.1/package/wayland/wayland.mk b/buildroot-2022.02.1/package/wayland/wayland.mk new file mode 100644 index 00000000..ecfe95d6 --- /dev/null +++ b/buildroot-2022.02.1/package/wayland/wayland.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# wayland +# +################################################################################ + +WAYLAND_VERSION = 1.19.0 +WAYLAND_SITE = https://wayland.freedesktop.org/releases +WAYLAND_SOURCE = wayland-$(WAYLAND_VERSION).tar.xz +WAYLAND_LICENSE = MIT +WAYLAND_LICENSE_FILES = COPYING +WAYLAND_CPE_ID_VENDOR = wayland +WAYLAND_INSTALL_STAGING = YES +WAYLAND_DEPENDENCIES = host-pkgconf host-wayland expat libffi libxml2 +HOST_WAYLAND_DEPENDENCIES = host-pkgconf host-expat host-libffi host-libxml2 + +WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false +HOST_WAYLAND_CONF_OPTS = -Dtests=false -Ddocumentation=false + +# Remove the DTD from the target, it's not needed at runtime +define WAYLAND_TARGET_CLEANUP + rm -rf $(TARGET_DIR)/usr/share/wayland +endef +WAYLAND_POST_INSTALL_TARGET_HOOKS += WAYLAND_TARGET_CLEANUP + +$(eval $(meson-package)) +$(eval $(host-meson-package)) diff --git a/buildroot-2021.05/package/waylandpp/Config.in b/buildroot-2022.02.1/package/waylandpp/Config.in similarity index 100% rename from buildroot-2021.05/package/waylandpp/Config.in rename to buildroot-2022.02.1/package/waylandpp/Config.in diff --git a/buildroot-2021.05/package/waylandpp/waylandpp.hash b/buildroot-2022.02.1/package/waylandpp/waylandpp.hash similarity index 100% rename from buildroot-2021.05/package/waylandpp/waylandpp.hash rename to buildroot-2022.02.1/package/waylandpp/waylandpp.hash diff --git a/buildroot-2021.05/package/waylandpp/waylandpp.mk b/buildroot-2022.02.1/package/waylandpp/waylandpp.mk similarity index 100% rename from buildroot-2021.05/package/waylandpp/waylandpp.mk rename to buildroot-2022.02.1/package/waylandpp/waylandpp.mk diff --git a/buildroot-2022.02.1/package/webkitgtk/Config.in b/buildroot-2022.02.1/package/webkitgtk/Config.in new file mode 100644 index 00000000..bc8207d9 --- /dev/null +++ b/buildroot-2022.02.1/package/webkitgtk/Config.in @@ -0,0 +1,135 @@ +config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS + bool + # ARM needs BLX, so v5t+, BE completely untested so disabled + default y if BR2_arm && !BR2_ARM_CPU_ARMV4 + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_i386 || BR2_x86_64 + # Disabled on MIPS big endian due to sigbus + default y if BR2_mipsel || BR2_mips64el + # Disabled on PowerPC pending runtime testing + # Disabled on SuperH because of segfault + depends on BR2_USE_MMU # libglib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt + +comment "webkitgtk needs libgtk3 and a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" + depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS + depends on !BR2_BINFMT_FLAT + depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ + !BR2_HOST_GCC_AT_LEAST_4_9 + depends on BR2_USE_MMU + +config BR2_PACKAGE_WEBKITGTK + bool "webkitgtk" + depends on !BR2_STATIC_LIBS # wayland + depends on !BR2_BINFMT_FLAT # icu + depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_USE_WCHAR # icu, libsoup + depends on BR2_PACKAGE_LIBGTK3 + depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_CAIRO_PNG + select BR2_PACKAGE_ENCHANT + select BR2_PACKAGE_HARFBUZZ + select BR2_PACKAGE_ICU + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBSECRET + select BR2_PACKAGE_LIBSOUP + select BR2_PACKAGE_LIBTASN1 + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBXSLT + select BR2_PACKAGE_OPENJPEG + select BR2_PACKAGE_SQLITE + select BR2_PACKAGE_WEBP + select BR2_PACKAGE_WEBP_DEMUX + select BR2_PACKAGE_WOFF2 + select BR2_PACKAGE_XLIB_LIBXCOMPOSITE if BR2_PACKAGE_LIBGTK3_X11 + select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_LIBGTK3_X11 + select BR2_PACKAGE_XLIB_LIBXRENDER if BR2_PACKAGE_LIBGTK3_X11 + select BR2_PACKAGE_XLIB_LIBXT if BR2_PACKAGE_LIBGTK3_X11 + help + WebKit is an open source, standards compliant web browser + engine. + + http://www.webkitgtk.org/ + +if BR2_PACKAGE_WEBKITGTK + +config BR2_PACKAGE_WEBKITGTK_SANDBOX + bool "sandboxing support" + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # libseccomp + select BR2_PACKAGE_BUBBLEWRAP # runtime + select BR2_PACKAGE_XDG_DBUS_PROXY # runtime + select BR2_PACKAGE_LIBSECCOMP + help + Enable sandboxing of the processes used for network operation, + disk access, and Web content rendering. + +comment "sandboxing support needs a toolchain w/ headers >= 3.12" + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + +config BR2_PACKAGE_WEBKITGTK_HTTPS + bool "HTTPS support" + depends on !BR2_STATIC_LIBS # libsoup -> glib-networking, gnutls + select BR2_PACKAGE_CA_CERTIFICATES # runtime + select BR2_PACKAGE_LIBSOUP_SSL + help + Enable HTTPS protocol support. + +comment "webkitgtk https support needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_WEBKITGTK_MULTIMEDIA + bool "multimedia support" + select BR2_PACKAGE_GSTREAMER1 + select BR2_PACKAGE_GST1_PLUGINS_BAD + select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME + select BR2_PACKAGE_GST1_PLUGINS_GOOD + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4 + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX + select BR2_PACKAGE_GST1_LIBAV + help + This option pulls in all of the required dependencies + to enable multimedia (video/audio) support. + +if BR2_PACKAGE_WEBKITGTK_MULTIMEDIA + +config BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL + bool "use gstreamer-gl" + default y + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM + help + Use the GStreamer GL elements for handling video content. + This is recommended as it improves performance of video + playback. In some target configurations incorrect rendering + might be produced, and disabling this option may help. + +endif + +config BR2_PACKAGE_WEBKITGTK_WEBDRIVER + bool "WebDriver support" + help + Enable support for WebDriver. This will build and install the + WebKitWebDriver program in the target. + +endif diff --git a/buildroot-2022.02.1/package/webkitgtk/webkitgtk.hash b/buildroot-2022.02.1/package/webkitgtk/webkitgtk.hash new file mode 100644 index 00000000..82c210c8 --- /dev/null +++ b/buildroot-2022.02.1/package/webkitgtk/webkitgtk.hash @@ -0,0 +1,8 @@ +# From https://webkitgtk.org/releases/webkitgtk-2.34.6.tar.xz.sums +md5 a5eeedd02f5b4bba8bd891b92dc743d4 webkitgtk-2.34.6.tar.xz +sha1 bb82517289baf9c858fa406d1d845274f81e25cb webkitgtk-2.34.6.tar.xz +sha256 6bc8fd034aad0432a2459ce4fc7ee25ad65a4924c618bf8d93b52b0c1a84c1f6 webkitgtk-2.34.6.tar.xz + +# Hashes for license files: +sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE +sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1 diff --git a/buildroot-2022.02.1/package/webkitgtk/webkitgtk.mk b/buildroot-2022.02.1/package/webkitgtk/webkitgtk.mk new file mode 100644 index 00000000..36e4b894 --- /dev/null +++ b/buildroot-2022.02.1/package/webkitgtk/webkitgtk.mk @@ -0,0 +1,138 @@ +################################################################################ +# +# webkitgtk +# +################################################################################ + +WEBKITGTK_VERSION = 2.34.6 +WEBKITGTK_SITE = https://www.webkitgtk.org/releases +WEBKITGTK_SOURCE = webkitgtk-$(WEBKITGTK_VERSION).tar.xz +WEBKITGTK_INSTALL_STAGING = YES +WEBKITGTK_LICENSE = LGPL-2.1+, BSD-2-Clause +WEBKITGTK_LICENSE_FILES = \ + Source/WebCore/LICENSE-APPLE \ + Source/WebCore/LICENSE-LGPL-2.1 +WEBKITGTK_CPE_ID_VENDOR = webkitgtk +WEBKITGTK_DEPENDENCIES = host-ruby host-python3 host-gperf \ + enchant harfbuzz icu jpeg libgcrypt libgtk3 libsecret libsoup \ + libtasn1 libxml2 libxslt openjpeg sqlite webp woff2 +WEBKITGTK_CONF_OPTS = \ + -DENABLE_API_TESTS=OFF \ + -DENABLE_GAMEPAD=OFF \ + -DENABLE_GEOLOCATION=OFF \ + -DENABLE_GTKDOC=OFF \ + -DENABLE_MINIBROWSER=ON \ + -DENABLE_SPELLCHECK=ON \ + -DPORT=GTK \ + -DUSE_LIBNOTIFY=OFF \ + -DUSE_LIBHYPHEN=OFF \ + -DUSE_OPENJPEG=ON \ + -DUSE_SOUP2=ON \ + -DUSE_WOFF2=ON \ + -DUSE_WPE_RENDERER=OFF + +ifeq ($(BR2_PACKAGE_WEBKITGTK_SANDBOX),y) +WEBKITGTK_CONF_OPTS += \ + -DENABLE_BUBBLEWRAP_SANDBOX=ON \ + -DBWRAP_EXECUTABLE=/usr/bin/bwrap \ + -DDBUS_PROXY_EXECUTABLE=/usr/bin/xdg-dbus-proxy +WEBKITGTK_DEPENDENCIES += libseccomp +else +WEBKITGTK_CONF_OPTS += -DENABLE_BUBBLEWRAP_SANDBOX=OFF +endif + +ifeq ($(BR2_PACKAGE_WEBKITGTK_MULTIMEDIA),y) +WEBKITGTK_CONF_OPTS += \ + -DENABLE_VIDEO=ON \ + -DENABLE_WEB_AUDIO=ON +WEBKITGTK_DEPENDENCIES += gstreamer1 gst1-libav gst1-plugins-base +else +WEBKITGTK_CONF_OPTS += \ + -DENABLE_VIDEO=OFF \ + -DENABLE_WEB_AUDIO=OFF +endif + +ifeq ($(BR2_PACKAGE_WEBKITGTK_WEBDRIVER),y) +WEBKITGTK_CONF_OPTS += -DENABLE_WEBDRIVER=ON +else +WEBKITGTK_CONF_OPTS += -DENABLE_WEBDRIVER=OFF +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +WEBKITGTK_CONF_OPTS += -DUSE_LCMS=ON +WEBKITGTK_DEPENDENCIES += lcms2 +else +WEBKITGTK_CONF_OPTS += -DUSE_LCMS=OFF +endif + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=ON +WEBKITGTK_DEPENDENCIES += gobject-introspection +else +WEBKITGTK_CONF_OPTS += -DENABLE_INTROSPECTION=OFF +endif + +# Only one target platform can be built, assume X11 > Wayland + +# GTK3-X11 target gives OpenGL from newer libgtk3 versions +# Consider this better than EGL + maybe GLESv2 since both can't be built +# 2D CANVAS acceleration requires OpenGL proper with cairo-gl +ifeq ($(BR2_PACKAGE_LIBGTK3_X11),y) +WEBKITGTK_CONF_OPTS += \ + -DENABLE_ACCELERATED_2D_CANVAS=ON \ + -DENABLE_GLES2=OFF \ + -DENABLE_X11_TARGET=ON +WEBKITGTK_DEPENDENCIES += libgl \ + xlib_libXcomposite xlib_libXdamage xlib_libXrender xlib_libXt +# It can use libgtk2 for npapi plugins +ifeq ($(BR2_PACKAGE_LIBGTK2),y) +WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=ON +WEBKITGTK_DEPENDENCIES += libgtk2 +else +WEBKITGTK_CONF_OPTS += -DENABLE_PLUGIN_PROCESS_GTK2=OFF +endif +else # !X11 +# GTK3-BROADWAY/WAYLAND needs at least EGL +WEBKITGTK_DEPENDENCIES += libegl +# GLESv2 support is optional though +ifeq ($(BR2_PACKAGE_HAS_LIBGLES),y) +WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=ON +WEBKITGTK_DEPENDENCIES += libgles +else +# Disable general OpenGL (shading) if there's no GLESv2 +WEBKITGTK_CONF_OPTS += -DENABLE_GLES2=OFF +endif +# We must explicitly state the wayland target +ifeq ($(BR2_PACKAGE_LIBGTK3_WAYLAND),y) +WEBKITGTK_CONF_OPTS += -DENABLE_WAYLAND_TARGET=ON +endif +endif + +ifeq ($(BR2_PACKAGE_WEBKITGTK_USE_GSTREAMER_GL),y) +WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=ON +else +WEBKITGTK_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=ON +WEBKITGTK_DEPENDENCIES += systemd +else +WEBKITGTK_CONF_OPTS += -DUSE_SYSTEMD=OFF +endif + +# JIT is not supported for MIPS r6, but the WebKit build system does not +# have a check for these processors. The same goes for ARMv5 and ARMv6. +# Disable JIT forcibly here and use the CLoop interpreter instead. +# +# Also, we have to disable the sampling profiler, which does NOT work +# with ENABLE_C_LOOP. +# +# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258 +# https://bugs.webkit.org/show_bug.cgi?id=172765 +# +ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) +WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON -DENABLE_SAMPLING_PROFILER=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/webp/Config.in b/buildroot-2022.02.1/package/webp/Config.in similarity index 100% rename from buildroot-2021.05/package/webp/Config.in rename to buildroot-2022.02.1/package/webp/Config.in diff --git a/buildroot-2022.02.1/package/webp/webp.hash b/buildroot-2022.02.1/package/webp/webp.hash new file mode 100644 index 00000000..cf7b1dc9 --- /dev/null +++ b/buildroot-2022.02.1/package/webp/webp.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 808b98d2f5b84e9b27fdef6c5372dac769c3bda4502febbfa5031bd3c4d7d018 libwebp-1.2.1.tar.gz +sha256 5aec868f669e384a22372a4e8a1a6cd7d44c64cd451f960ca69cc170d1e13acf COPYING diff --git a/buildroot-2022.02.1/package/webp/webp.mk b/buildroot-2022.02.1/package/webp/webp.mk new file mode 100644 index 00000000..f23e1c92 --- /dev/null +++ b/buildroot-2022.02.1/package/webp/webp.mk @@ -0,0 +1,84 @@ +################################################################################ +# +# webp +# +################################################################################ + +WEBP_VERSION = 1.2.1 +WEBP_SOURCE = libwebp-$(WEBP_VERSION).tar.gz +WEBP_SITE = http://downloads.webmproject.org/releases/webp +WEBP_LICENSE = BSD-3-Clause +WEBP_LICENSE_FILES = COPYING +WEBP_CPE_ID_VENDOR = webmproject +WEBP_CPE_ID_PRODUCT = libwebp +WEBP_INSTALL_STAGING = YES + +WEBP_CONF_OPTS += \ + --disable-sdl + +HOST_WEBP_CONF_OPTS += \ + --enable-libwebpdemux \ + --enable-libwebpmux \ + --disable-gif \ + --disable-gl \ + --disable-jpeg \ + --disable-png \ + --disable-sdl \ + --disable-tiff + +ifeq ($(BR2_PACKAGE_WEBP_DEMUX),y) +WEBP_CONF_OPTS += --enable-libwebpdemux +else +WEBP_CONF_OPTS += --disable-libwebpdemux +endif + +ifeq ($(BR2_PACKAGE_WEBP_MUX),y) +WEBP_CONF_OPTS += --enable-libwebpmux +else +WEBP_CONF_OPTS += --disable-libwebpmux +endif + +ifeq ($(BR2_PACKAGE_GIFLIB),y) +WEBP_DEPENDENCIES += giflib +WEBP_CONF_OPTS += --enable-gif +else +WEBP_CONF_OPTS += --disable-gif +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +WEBP_DEPENDENCIES += jpeg +WEBP_CONF_OPTS += \ + --enable-jpeg \ + --with-jpegincludedir=$(STAGING_DIR)/usr/include \ + --with-jpeglibdir=$(STAGING_DIR)/usr/lib +else +WEBP_CONF_OPTS += --disable-jpeg +endif + +ifeq ($(BR2_PACKAGE_LIBFREEGLUT),y) +WEBP_DEPENDENCIES += libfreeglut +WEBP_CONF_OPTS += --enable-gl +else +WEBP_CONF_OPTS += --disable-gl +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +WEBP_DEPENDENCIES += libpng +WEBP_CONF_OPTS += --enable-png +WEBP_CONF_ENV += ac_cv_path_LIBPNG_CONFIG=$(STAGING_DIR)/usr/bin/libpng-config +else +WEBP_CONF_OPTS += --disable-png +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +WEBP_DEPENDENCIES += tiff +WEBP_CONF_OPTS += \ + --enable-tiff \ + --with-tiffincludedir=$(STAGING_DIR)/usr/include \ + --with-tifflibdir=$(STAGING_DIR)/usr/lib +else +WEBP_CONF_OPTS += --disable-tiff +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/webrtc-audio-processing/0001-Proper-detection-of-cxxabi.h-and-execinfo.h.patch b/buildroot-2022.02.1/package/webrtc-audio-processing/0001-Proper-detection-of-cxxabi.h-and-execinfo.h.patch similarity index 100% rename from buildroot-2021.05/package/webrtc-audio-processing/0001-Proper-detection-of-cxxabi.h-and-execinfo.h.patch rename to buildroot-2022.02.1/package/webrtc-audio-processing/0001-Proper-detection-of-cxxabi.h-and-execinfo.h.patch diff --git a/buildroot-2021.05/package/webrtc-audio-processing/Config.in b/buildroot-2022.02.1/package/webrtc-audio-processing/Config.in similarity index 100% rename from buildroot-2021.05/package/webrtc-audio-processing/Config.in rename to buildroot-2022.02.1/package/webrtc-audio-processing/Config.in diff --git a/buildroot-2021.05/package/webrtc-audio-processing/webrtc-audio-processing.hash b/buildroot-2022.02.1/package/webrtc-audio-processing/webrtc-audio-processing.hash similarity index 100% rename from buildroot-2021.05/package/webrtc-audio-processing/webrtc-audio-processing.hash rename to buildroot-2022.02.1/package/webrtc-audio-processing/webrtc-audio-processing.hash diff --git a/buildroot-2021.05/package/webrtc-audio-processing/webrtc-audio-processing.mk b/buildroot-2022.02.1/package/webrtc-audio-processing/webrtc-audio-processing.mk similarity index 100% rename from buildroot-2021.05/package/webrtc-audio-processing/webrtc-audio-processing.mk rename to buildroot-2022.02.1/package/webrtc-audio-processing/webrtc-audio-processing.mk diff --git a/buildroot-2021.05/package/websocketpp/Config.in b/buildroot-2022.02.1/package/websocketpp/Config.in similarity index 100% rename from buildroot-2021.05/package/websocketpp/Config.in rename to buildroot-2022.02.1/package/websocketpp/Config.in diff --git a/buildroot-2021.05/package/websocketpp/websocketpp.hash b/buildroot-2022.02.1/package/websocketpp/websocketpp.hash similarity index 100% rename from buildroot-2021.05/package/websocketpp/websocketpp.hash rename to buildroot-2022.02.1/package/websocketpp/websocketpp.hash diff --git a/buildroot-2022.02.1/package/websocketpp/websocketpp.mk b/buildroot-2022.02.1/package/websocketpp/websocketpp.mk new file mode 100644 index 00000000..dd31e644 --- /dev/null +++ b/buildroot-2022.02.1/package/websocketpp/websocketpp.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# websocketpp +# +################################################################################ + +WEBSOCKETPP_VERSION = 0.8.2 +WEBSOCKETPP_SITE = $(call github,zaphoyd,websocketpp,$(WEBSOCKETPP_VERSION)) +WEBSOCKETPP_LICENSE = BSD-3-Clause, MIT, Zlib +WEBSOCKETPP_LICENSE_FILES = COPYING +WEBSOCKETPP_CPE_ID_VENDOR = zaphoyd +WEBSOCKETPP_INSTALL_STAGING = YES +# Only installs headers +WEBSOCKETPP_INSTALL_TARGET = NO + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch b/buildroot-2022.02.1/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch new file mode 100644 index 00000000..92721538 --- /dev/null +++ b/buildroot-2022.02.1/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch @@ -0,0 +1,38 @@ +From 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Mon Sep 17 00:00:00 2001 +From: Daniel Stone +Date: Tue, 8 Feb 2022 22:39:42 +0000 +Subject: [PATCH] tests: Add dependency on screenshooter client protocol + +Given that the test-helper code relies on the screenshooter protocol, +make sure it's available for us to build, and the dependency ensures we +build in order. + +Fixes: #588 + +Signed-off-by: Daniel Stone + +[Retrieved from: +https://gitlab.freedesktop.org/wayland/weston/-/commit/2ac6b6b084a877adde64db7faff2ed22eb3ea97a] +Signed-off-by: Fabrice Fontaine +--- + tests/meson.build | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/tests/meson.build b/tests/meson.build +index 2d464ddcc..222091cd1 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -29,8 +29,9 @@ lib_test_client = static_library( + 'weston-test-client-helper.c', + 'weston-test-fixture-compositor.c', + weston_test_client_protocol_h, +- weston_screenshooter_protocol_c, + weston_test_protocol_c, ++ weston_screenshooter_client_protocol_h, ++ weston_screenshooter_protocol_c, + viewporter_client_protocol_h, + viewporter_protocol_c, + 'color_util.h', +-- +GitLab + diff --git a/buildroot-2022.02.1/package/weston/Config.in b/buildroot-2022.02.1/package/weston/Config.in new file mode 100644 index 00000000..6ad8241c --- /dev/null +++ b/buildroot-2022.02.1/package/weston/Config.in @@ -0,0 +1,166 @@ +comment "weston needs udev and a toolchain w/ locale, threads, dynamic library, headers >= 3.0" + depends on !BR2_PACKAGE_HAS_UDEV || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 || BR2_STATIC_LIBS || \ + !BR2_ENABLE_LOCALE + +config BR2_PACKAGE_WESTON + bool "weston" + depends on BR2_PACKAGE_HAS_UDEV + depends on !BR2_STATIC_LIBS # wayland + depends on BR2_TOOLCHAIN_HAS_THREADS # wayland + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + select BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS + select BR2_PACKAGE_LIBXKBCOMMON + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_CAIRO_PNG + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBINPUT + select BR2_PACKAGE_LIBDRM + # Runtime dependency + select BR2_PACKAGE_XKEYBOARD_CONFIG + select BR2_PACKAGE_WESTON_SHELL_DESKTOP if !BR2_PACKAGE_WESTON_HAS_SHELL + help + Weston is the reference implementation of a Wayland + compositor, and a useful compositor in its own right. + Weston has various backends that lets it run on Linux kernel + modesetting and evdev input as well as under X11. + + http://wayland.freedesktop.org/ + +if BR2_PACKAGE_WESTON + +choice + prompt "default compositor" + +config BR2_PACKAGE_WESTON_DEFAULT_DRM + bool "drm" + select BR2_PACKAGE_WESTON_DRM + +config BR2_PACKAGE_WESTON_DEFAULT_HEADLESS + bool "headless" + select BR2_PACKAGE_WESTON_HEADLESS + +config BR2_PACKAGE_WESTON_DEFAULT_WAYLAND + bool "wayland (nested)" + select BR2_PACKAGE_WESTON_WAYLAND + +config BR2_PACKAGE_WESTON_DEFAULT_X11 + bool "X11 (nested)" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_WESTON_X11 + +comment "X11 (nested) backend needs X.org" + depends on !BR2_PACKAGE_XORG7 + +endchoice + +config BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR + string + default "drm" if BR2_PACKAGE_WESTON_DEFAULT_DRM + default "headless" if BR2_PACKAGE_WESTON_DEFAULT_HEADLESS + default "wayland" if BR2_PACKAGE_WESTON_DEFAULT_WAYLAND + default "x11" if BR2_PACKAGE_WESTON_DEFAULT_X11 + +config BR2_PACKAGE_WESTON_DRM + bool "DRM compositor" + +# FreeRDP needs threads and !static, already the case for weston +config BR2_PACKAGE_WESTON_RDP + bool "RDP compositor" + depends on BR2_USE_MMU # freerdp, libglib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_WCHAR # freerdp + depends on BR2_INSTALL_LIBSTDCPP # freerdp + select BR2_PACKAGE_FREERDP + help + This enables the RDP backend, which allows accessing weston + through the network with any RDP-compliant client. + + Please note that one must pass those options to weston for RDP + to be functional: + --rdp-tls-cert=/path/to/server.crt + --rdp-tls-key=/path/to/server.key + + By default, Buildroot installs such files in + /etc/freerdp/server/ so you may want to change them in a + post-build script or a rootfs overlay. + +comment "RDP compositor needs a toolchain w/ wchar, C++" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_WESTON_HEADLESS + bool "headless (testing) compositor" + +config BR2_PACKAGE_WESTON_WAYLAND + bool "Wayland (nested) compositor" + +config BR2_PACKAGE_WESTON_X11 + bool "X11 (nested) compositor" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_LIBXCB + select BR2_PACKAGE_XLIB_LIBX11 + +comment "X11 (nested) compositor needs X.org enabled" + depends on !BR2_PACKAGE_XORG7 + +config BR2_PACKAGE_WESTON_XWAYLAND + bool "XWayland support" + depends on BR2_PACKAGE_XORG7 + depends on BR2_PACKAGE_LIBEPOXY + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_LIBXCB + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXCURSOR + +comment "XWayland support needs libepoxy and X.org enabled" + depends on !BR2_PACKAGE_XORG7 || !BR2_PACKAGE_LIBEPOXY + +# Weston needs at least one shell; this can be one of the bundled ones, +# below, of from a third-party package, which should then select this. +config BR2_PACKAGE_WESTON_HAS_SHELL + bool + +config BR2_PACKAGE_WESTON_SHELL_DESKTOP + bool "desktop shell" + default y + +config BR2_PACKAGE_WESTON_SHELL_FULLSCREEN + bool "fullscreen shell" + default y + select BR2_PACKAGE_WESTON_HAS_SHELL + +config BR2_PACKAGE_WESTON_SHELL_IVI + bool "ivi shell" + default y + select BR2_PACKAGE_WESTON_HAS_SHELL + +config BR2_PACKAGE_WESTON_SHELL_KIOSK + bool "kiosk shell" + default y + select BR2_PACKAGE_WESTON_HAS_SHELL + +config BR2_PACKAGE_WESTON_DEMO_CLIENTS + bool "demo clients" + depends on BR2_USE_MMU # pango + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango + depends on BR2_INSTALL_LIBSTDCPP # pango + depends on BR2_TOOLCHAIN_HAS_THREADS # pango + depends on BR2_USE_WCHAR # pango + depends on BR2_PACKAGE_HAS_LIBGLES + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND + select BR2_PACKAGE_PANGO + help + This enables the installation of Weston's demo clients. + +comment "demo clients needs an OpenGL ES provider, an OpenEGL-capable Wayland backend and a toolchain w/ wchar, threads, C++" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_USE_WCHAR || !BR2_PACKAGE_HAS_LIBGLES || \ + !BR2_PACKAGE_HAS_LIBEGL_WAYLAND + +endif diff --git a/buildroot-2022.02.1/package/weston/weston.hash b/buildroot-2022.02.1/package/weston/weston.hash new file mode 100644 index 00000000..b78a7c75 --- /dev/null +++ b/buildroot-2022.02.1/package/weston/weston.hash @@ -0,0 +1,6 @@ +# From https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html +md5 bc4abe2ee6904a4890a0c641c6257f91 weston-10.0.0.tar.xz +sha1 b1a51e3bb7ee1d75bbf728c8071771e07fc97fdd weston-10.0.0.tar.xz +sha256 5c23964112b90238bed39e5dd1e41cd71a79398813cdc3bbb15a9fdc94e547ae weston-10.0.0.tar.xz +sha512 77e05530751e4f743eebf015ab5b78a1fcc66b774713b5e296cfffc488be84e459f811c85ac4280b7b63eebf4ff5c958dd7306376ab343e6b80feae16c8c35a4 weston-10.0.0.tar.xz +sha256 fdb65868f65d0fbdb05c2d3b779e10ce9969fa0c4b9262ba4f260e87086ab860 COPYING diff --git a/buildroot-2022.02.1/package/weston/weston.mk b/buildroot-2022.02.1/package/weston/weston.mk new file mode 100644 index 00000000..90cf1606 --- /dev/null +++ b/buildroot-2022.02.1/package/weston/weston.mk @@ -0,0 +1,182 @@ +################################################################################ +# +# weston +# +################################################################################ + +WESTON_VERSION = 10.0.0 +WESTON_SITE = https://wayland.freedesktop.org/releases +WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz +WESTON_LICENSE = MIT +WESTON_LICENSE_FILES = COPYING +WESTON_CPE_ID_VENDOR = wayland + +WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \ + libxkbcommon pixman libpng udev cairo libinput libdrm + +WESTON_CONF_OPTS = \ + -Dbackend-headless=false \ + -Dcolor-management-colord=false \ + -Ddoc=false \ + -Dremoting=false \ + -Dtools=calibrator,debug,info,terminal,touch-calibrator + +# Uses VIDIOC_EXPBUF, only available from 3.8+ +ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8),y) +WESTON_CONF_OPTS += -Dsimple-clients=dmabuf-v4l +else +WESTON_CONF_OPTS += -Dsimple-clients= +endif + +ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_SYSTEMD),yy) +WESTON_CONF_OPTS += -Dlauncher-logind=true +WESTON_DEPENDENCIES += dbus systemd +else +WESTON_CONF_OPTS += -Dlauncher-logind=false +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +WESTON_CONF_OPTS += -Dimage-jpeg=true +WESTON_DEPENDENCIES += jpeg +else +WESTON_CONF_OPTS += -Dimage-jpeg=false +endif + +ifeq ($(BR2_PACKAGE_WEBP),y) +WESTON_CONF_OPTS += -Dimage-webp=true +WESTON_DEPENDENCIES += webp +else +WESTON_CONF_OPTS += -Dimage-webp=false +endif + +# weston-launch must be u+s root in order to work properly +ifeq ($(BR2_PACKAGE_LINUX_PAM),y) +define WESTON_PERMISSIONS + /usr/bin/weston-launch f 4755 0 0 - - - - - +endef +define WESTON_USERS + - - weston-launch -1 - - - - Weston launcher group +endef +WESTON_CONF_OPTS += -Ddeprecated-weston-launch=true +WESTON_DEPENDENCIES += linux-pam +else +WESTON_CONF_OPTS += -Ddeprecated-weston-launch=false +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND)$(BR2_PACKAGE_HAS_LIBGLES),yy) +WESTON_CONF_OPTS += -Drenderer-gl=true +WESTON_DEPENDENCIES += libegl libgles +ifeq ($(BR2_PACKAGE_PIPEWIRE)$(BR2_PACKAGE_WESTON_DRM),yy) +WESTON_CONF_OPTS += -Dpipewire=true +WESTON_DEPENDENCIES += pipewire +else +WESTON_CONF_OPTS += -Dpipewire=false +endif +else +WESTON_CONF_OPTS += \ + -Drenderer-gl=false \ + -Dpipewire=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_RDP),y) +WESTON_DEPENDENCIES += freerdp +WESTON_CONF_OPTS += -Dbackend-rdp=true +else +WESTON_CONF_OPTS += -Dbackend-rdp=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_DRM),y) +WESTON_CONF_OPTS += -Dbackend-drm=true +else +WESTON_CONF_OPTS += -Dbackend-drm=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_HEADLESS),y) +WESTON_CONF_OPTS += -Dbackend-headless=true +else +WESTON_CONF_OPTS += -Dbackend-headless=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_WAYLAND),y) +WESTON_CONF_OPTS += -Dbackend-wayland=true +else +WESTON_CONF_OPTS += -Dbackend-wayland=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_X11),y) +WESTON_CONF_OPTS += -Dbackend-x11=true +WESTON_DEPENDENCIES += libxcb xlib_libX11 +else +WESTON_CONF_OPTS += -Dbackend-x11=false +endif + +# We're guaranteed to have at least one backend +WESTON_CONF_OPTS += -Dbackend-default=$(call qstrip,$(BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR)) + +ifeq ($(BR2_PACKAGE_WESTON_XWAYLAND),y) +WESTON_CONF_OPTS += -Dxwayland=true +WESTON_DEPENDENCIES += cairo libepoxy libxcb xlib_libX11 xlib_libXcursor +else +WESTON_CONF_OPTS += -Dxwayland=false +endif + +ifeq ($(BR2_PACKAGE_LIBVA),y) +WESTON_CONF_OPTS += -Dbackend-drm-screencast-vaapi=true +WESTON_DEPENDENCIES += libva +else +WESTON_CONF_OPTS += -Dbackend-drm-screencast-vaapi=false +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +WESTON_CONF_OPTS += -Dcolor-management-lcms=true +WESTON_DEPENDENCIES += lcms2 +else +WESTON_CONF_OPTS += -Dcolor-management-lcms=false +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +WESTON_CONF_OPTS += -Dsystemd=true +WESTON_DEPENDENCIES += systemd +else +WESTON_CONF_OPTS += -Dsystemd=false +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +WESTON_CONF_OPTS += -Dtest-junit-xml=true +WESTON_DEPENDENCIES += libxml2 +else +WESTON_CONF_OPTS += -Dtest-junit-xml=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_DESKTOP),y) +WESTON_CONF_OPTS += -Dshell-desktop=true +else +WESTON_CONF_OPTS += -Dshell-desktop=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_FULLSCREEN),y) +WESTON_CONF_OPTS += -Dshell-fullscreen=true +else +WESTON_CONF_OPTS += -Dshell-fullscreen=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_IVI),y) +WESTON_CONF_OPTS += -Dshell-ivi=true +else +WESTON_CONF_OPTS += -Dshell-ivi=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_SHELL_KIOSK),y) +WESTON_CONF_OPTS += -Dshell-kiosk=true +else +WESTON_CONF_OPTS += -Dshell-kiosk=false +endif + +ifeq ($(BR2_PACKAGE_WESTON_DEMO_CLIENTS),y) +WESTON_CONF_OPTS += -Ddemo-clients=true +WESTON_DEPENDENCIES += pango +else +WESTON_CONF_OPTS += -Ddemo-clients=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/wf111/Config.in b/buildroot-2022.02.1/package/wf111/Config.in new file mode 100644 index 00000000..bb4b1a5d --- /dev/null +++ b/buildroot-2022.02.1/package/wf111/Config.in @@ -0,0 +1,29 @@ +config BR2_PACKAGE_WF111 + bool "wf111" + depends on BR2_LINUX_KERNEL + depends on BR2_ARM_CPU_ARMV5 || BR2_ARM_CPU_ARMV7A || BR2_i386 + # Binary tools are distributed alongside the driver, and are + # dynamically linked against the glibc. + depends on BR2_TOOLCHAIN_USES_GLIBC + help + Silicon Labs WF111 WiFi driver and utilities. + + Warning: CONFIG_WIRELESS_EXT and CONFIG_WEXT_PRIV must be + selected in the Linux kernel configuration. These are blind + options (i.e. not selectable directly) so they cannot be + enabled by a change in linux/linux.mk. There are two choices + to enable these options: + - By making them non blind, with a "WF111 support" + configuration entry that selects them, for example. + - By enabling another random WiFi driver that select them. + + https://www.silabs.com/wireless/wi-fi/bluegiga-legacy-modules/device.wf111 + +comment "wf111 needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + depends on BR2_ARM_CPU_ARMV5 || BR2_ARM_CPU_ARMV7A || BR2_i386 + +comment "wf111 needs a glibc toolchain" + depends on BR2_LINUX_KERNEL + depends on BR2_ARM_CPU_ARMV5 || BR2_ARM_CPU_ARMV7A || BR2_i386 + depends on !BR2_TOOLCHAIN_USES_GLIBC diff --git a/buildroot-2021.05/package/wf111/wf111.hash b/buildroot-2022.02.1/package/wf111/wf111.hash similarity index 100% rename from buildroot-2021.05/package/wf111/wf111.hash rename to buildroot-2022.02.1/package/wf111/wf111.hash diff --git a/buildroot-2021.05/package/wf111/wf111.mk b/buildroot-2022.02.1/package/wf111/wf111.mk similarity index 100% rename from buildroot-2021.05/package/wf111/wf111.mk rename to buildroot-2022.02.1/package/wf111/wf111.mk diff --git a/buildroot-2021.05/package/wget/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/buildroot-2022.02.1/package/wget/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch similarity index 100% rename from buildroot-2021.05/package/wget/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch rename to buildroot-2022.02.1/package/wget/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch diff --git a/buildroot-2022.02.1/package/wget/Config.in b/buildroot-2022.02.1/package/wget/Config.in new file mode 100644 index 00000000..ba03a75e --- /dev/null +++ b/buildroot-2022.02.1/package/wget/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_WGET + bool "wget" + # fork() + depends on BR2_USE_MMU + depends on BR2_USE_WCHAR + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL + help + Network utility to retrieve files from http, https and ftp. + + http://www.gnu.org/software/wget/ + +comment "wget needs a toolchain w/ wchar" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS diff --git a/buildroot-2022.02.1/package/wget/wget.hash b/buildroot-2022.02.1/package/wget/wget.hash new file mode 100644 index 00000000..22674650 --- /dev/null +++ b/buildroot-2022.02.1/package/wget/wget.hash @@ -0,0 +1,6 @@ +# Locally calculated after checking pgp signature +# https://ftp.gnu.org/gnu/wget/wget-1.21.3.tar.lz.sig +# with key 6B98F637D879C5236E277C5C64FF90AAE8C70AF9 +sha256 dbd2fb5e47149d4752d0eaa0dac68cc49cf20d46df4f8e326ffc8f18b2af4ea5 wget-1.21.3.tar.lz +# Locally calculated +sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING diff --git a/buildroot-2022.02.1/package/wget/wget.mk b/buildroot-2022.02.1/package/wget/wget.mk new file mode 100644 index 00000000..455faaed --- /dev/null +++ b/buildroot-2022.02.1/package/wget/wget.mk @@ -0,0 +1,75 @@ +################################################################################ +# +# wget +# +################################################################################ + +WGET_VERSION = 1.21.3 +WGET_SOURCE = wget-$(WGET_VERSION).tar.lz +WGET_SITE = $(BR2_GNU_MIRROR)/wget +WGET_DEPENDENCIES = host-pkgconf +WGET_LICENSE = GPL-3.0+ +WGET_LICENSE_FILES = COPYING +WGET_CPE_ID_VENDOR = gnu + +ifeq ($(BR2_PACKAGE_LIBPSL),y) +WGET_CONF_OPTS += --with-libpsl +WGET_DEPENDENCIES += libpsl +else +WGET_CONF_OPTS += --without-libpsl +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +WGET_CONF_OPTS += --with-ssl=gnutls +WGET_DEPENDENCIES += gnutls +else ifeq ($(BR2_PACKAGE_OPENSSL),y) +WGET_CONF_OPTS += --with-ssl=openssl +WGET_DEPENDENCIES += openssl +else +WGET_CONF_OPTS += --without-ssl +endif + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +WGET_DEPENDENCIES += libiconv +endif + +# BR2_ENABLE_LOCALE and BR2_PACKAGE_LIBICONV are mutually exclusive +ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV)$(BR2_PACKAGE_LIBIDN2),yy) +WGET_CONF_OPTS += --enable-iri +WGET_DEPENDENCIES += libidn2 +else +WGET_CONF_OPTS += --disable-iri +endif + +ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) +WGET_CONF_OPTS += --with-libuuid +WGET_DEPENDENCIES += util-linux +else +WGET_CONF_OPTS += --without-libuuid +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +WGET_CONF_OPTS += --with-zlib +WGET_DEPENDENCIES += zlib +else +WGET_CONF_OPTS += --without-zlib +endif + +ifeq ($(BR2_PACKAGE_C_ARES),y) +WGET_CONF_OPTS += --with-cares +WGET_DEPENDENCIES += c-ares +else +WGET_CONF_OPTS += --without-cares +endif + +ifeq ($(BR2_PACKAGE_PCRE2),y) +WGET_CONF_OPTS += --disable-pcre --enable-pcre2 +WGET_DEPENDENCIES += pcre2 +else ifeq ($(BR2_PACKAGE_PCRE),y) +WGET_CONF_OPTS += --enable-pcre --disable-pcre2 +WGET_DEPENDENCIES += pcre +else +WGET_CONF_OPTS += --disable-pcre --disable-pcre2 +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/whetstone/Config.in b/buildroot-2022.02.1/package/whetstone/Config.in similarity index 100% rename from buildroot-2021.05/package/whetstone/Config.in rename to buildroot-2022.02.1/package/whetstone/Config.in diff --git a/buildroot-2021.05/package/whetstone/whetstone.hash b/buildroot-2022.02.1/package/whetstone/whetstone.hash similarity index 100% rename from buildroot-2021.05/package/whetstone/whetstone.hash rename to buildroot-2022.02.1/package/whetstone/whetstone.hash diff --git a/buildroot-2021.05/package/whetstone/whetstone.mk b/buildroot-2022.02.1/package/whetstone/whetstone.mk similarity index 100% rename from buildroot-2021.05/package/whetstone/whetstone.mk rename to buildroot-2022.02.1/package/whetstone/whetstone.mk diff --git a/buildroot-2021.05/package/which/Config.in b/buildroot-2022.02.1/package/which/Config.in similarity index 100% rename from buildroot-2021.05/package/which/Config.in rename to buildroot-2022.02.1/package/which/Config.in diff --git a/buildroot-2021.05/package/which/which.hash b/buildroot-2022.02.1/package/which/which.hash similarity index 100% rename from buildroot-2021.05/package/which/which.hash rename to buildroot-2022.02.1/package/which/which.hash diff --git a/buildroot-2021.05/package/which/which.mk b/buildroot-2022.02.1/package/which/which.mk similarity index 100% rename from buildroot-2021.05/package/which/which.mk rename to buildroot-2022.02.1/package/which/which.mk diff --git a/buildroot-2021.05/package/whois/Config.in b/buildroot-2022.02.1/package/whois/Config.in similarity index 100% rename from buildroot-2021.05/package/whois/Config.in rename to buildroot-2022.02.1/package/whois/Config.in diff --git a/buildroot-2022.02.1/package/whois/whois.hash b/buildroot-2022.02.1/package/whois/whois.hash new file mode 100644 index 00000000..4bdfd74b --- /dev/null +++ b/buildroot-2022.02.1/package/whois/whois.hash @@ -0,0 +1,5 @@ +# From http://snapshot.debian.org/archive/debian/20220103T215446Z/pool/main/w/whois/whois_5.5.11.dsc +sha256 966281eb8301c14a1acc17e46c70061f73179d80e370aef43065c22f0947fb87 whois_5.5.11.tar.xz + +# Hash for license file: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/whois/whois.mk b/buildroot-2022.02.1/package/whois/whois.mk new file mode 100644 index 00000000..544cb9c2 --- /dev/null +++ b/buildroot-2022.02.1/package/whois/whois.mk @@ -0,0 +1,45 @@ +################################################################################ +# +# whois +# +################################################################################ + +WHOIS_VERSION = 5.5.11 +WHOIS_SITE = http://snapshot.debian.org/archive/debian/20220103T215446Z/pool/main/w/whois +WHOIS_SOURCE = whois_$(WHOIS_VERSION).tar.xz +WHOIS_DEPENDENCIES = \ + host-pkgconf \ + $(if $(BR2_PACKAGE_LIBIDN2),libidn2) \ + $(TARGET_NLS_DEPENDENCIES) +WHOIS_MAKE_ENV = $(TARGET_MAKE_ENV) +WHOIS_MAKE_OPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \ + LIBS="$(WHOIS_EXTRA_LIBS)" +WHOIS_LICENSE = GPL-2.0+ +WHOIS_LICENSE_FILES = COPYING +WHOIS_EXTRA_LIBS = $(TARGET_NLS_LIBS) + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +WHOIS_DEPENDENCIES += libiconv +WHOIS_EXTRA_LIBS += -liconv +WHOIS_MAKE_ENV += HAVE_ICONV=1 +endif + +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +WHOIS_BUILD_TARGETS = +WHOIS_INSTALL_TARGETS = install +else +WHOIS_BUILD_TARGETS = Makefile.depend whois mkpasswd +WHOIS_INSTALL_TARGETS = install-whois install-mkpasswd +endif + +define WHOIS_BUILD_CMDS + $(WHOIS_MAKE_ENV) $(MAKE) $(WHOIS_MAKE_OPTS) \ + $(WHOIS_BUILD_TARGETS) -C $(@D) +endef + +define WHOIS_INSTALL_TARGET_CMDS + $(WHOIS_MAKE_ENV) $(MAKE) $(WHOIS_MAKE_OPTS) \ + BASEDIR="$(TARGET_DIR)" $(WHOIS_INSTALL_TARGETS) -C $(@D) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wilc1000-firmware/Config.in b/buildroot-2022.02.1/package/wilc1000-firmware/Config.in similarity index 100% rename from buildroot-2021.05/package/wilc1000-firmware/Config.in rename to buildroot-2022.02.1/package/wilc1000-firmware/Config.in diff --git a/buildroot-2021.05/package/wilc1000-firmware/wilc1000-firmware.hash b/buildroot-2022.02.1/package/wilc1000-firmware/wilc1000-firmware.hash similarity index 100% rename from buildroot-2021.05/package/wilc1000-firmware/wilc1000-firmware.hash rename to buildroot-2022.02.1/package/wilc1000-firmware/wilc1000-firmware.hash diff --git a/buildroot-2021.05/package/wilc1000-firmware/wilc1000-firmware.mk b/buildroot-2022.02.1/package/wilc1000-firmware/wilc1000-firmware.mk similarity index 100% rename from buildroot-2021.05/package/wilc1000-firmware/wilc1000-firmware.mk rename to buildroot-2022.02.1/package/wilc1000-firmware/wilc1000-firmware.mk diff --git a/buildroot-2021.05/package/wilink-bt-firmware/Config.in b/buildroot-2022.02.1/package/wilink-bt-firmware/Config.in similarity index 100% rename from buildroot-2021.05/package/wilink-bt-firmware/Config.in rename to buildroot-2022.02.1/package/wilink-bt-firmware/Config.in diff --git a/buildroot-2021.05/package/wilink-bt-firmware/wilink-bt-firmware.hash b/buildroot-2022.02.1/package/wilink-bt-firmware/wilink-bt-firmware.hash similarity index 100% rename from buildroot-2021.05/package/wilink-bt-firmware/wilink-bt-firmware.hash rename to buildroot-2022.02.1/package/wilink-bt-firmware/wilink-bt-firmware.hash diff --git a/buildroot-2022.02.1/package/wilink-bt-firmware/wilink-bt-firmware.mk b/buildroot-2022.02.1/package/wilink-bt-firmware/wilink-bt-firmware.mk new file mode 100644 index 00000000..a5f3a826 --- /dev/null +++ b/buildroot-2022.02.1/package/wilink-bt-firmware/wilink-bt-firmware.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# wilink-bt-firmware +# +################################################################################ + +WILINK_BT_FIRMWARE_VERSION = 43fca73c6a98c63fcb98f82af5bf83761778e005 +WILINK_BT_FIRMWARE_SITE = https://git.ti.com/git/ti-bt/service-packs.git +WILINK_BT_FIRMWARE_SITE_METHOD = git +WILINK_BT_FIRMWARE_LICENSE = PROPRIETARY +WILINK_BT_FIRMWARE_LICENSE_FILES = LICENSE + +define WILINK_BT_FIRMWARE_INSTALL_TARGET_CMDS + mkdir -p $(TARGET_DIR)/lib/firmware/ti-connectivity + cp $(@D)/initscripts/TIInit_*.bts $(TARGET_DIR)/lib/firmware/ti-connectivity +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wine/Config.in b/buildroot-2022.02.1/package/wine/Config.in similarity index 100% rename from buildroot-2021.05/package/wine/Config.in rename to buildroot-2022.02.1/package/wine/Config.in diff --git a/buildroot-2021.05/package/wine/wine.hash b/buildroot-2022.02.1/package/wine/wine.hash similarity index 100% rename from buildroot-2021.05/package/wine/wine.hash rename to buildroot-2022.02.1/package/wine/wine.hash diff --git a/buildroot-2022.02.1/package/wine/wine.mk b/buildroot-2022.02.1/package/wine/wine.mk new file mode 100644 index 00000000..c925a586 --- /dev/null +++ b/buildroot-2022.02.1/package/wine/wine.mk @@ -0,0 +1,400 @@ +################################################################################ +# +# wine +# +################################################################################ + +WINE_VERSION = 6.0 +WINE_SOURCE = wine-$(WINE_VERSION).tar.xz +WINE_SITE = https://dl.winehq.org/wine/source/6.0 +WINE_LICENSE = LGPL-2.1+ +WINE_LICENSE_FILES = COPYING.LIB LICENSE +WINE_CPE_ID_VENDOR = winehq +WINE_SELINUX_MODULES = wine +WINE_DEPENDENCIES = host-bison host-flex host-wine +HOST_WINE_DEPENDENCIES = host-bison host-flex + +# Wine needs its own directory structure and tools for cross compiling +WINE_CONF_OPTS = \ + --with-wine-tools=../host-wine-$(WINE_VERSION) \ + --disable-tests \ + --disable-win64 \ + --without-capi \ + --without-coreaudio \ + --without-faudio \ + --without-gettext \ + --without-gettextpo \ + --without-gphoto \ + --without-gsm \ + --without-hal \ + --without-mingw \ + --without-opencl \ + --without-oss \ + --without-vkd3d \ + --without-vulkan + +# Wine uses a wrapper around gcc, and uses the value of --host to +# construct the filename of the gcc to call. But for external +# toolchains, the GNU_TARGET_NAME tuple that we construct from our +# internal variables may differ from the actual gcc prefix for the +# external toolchains. So, we have to override whatever the gcc +# wrapper believes what the real gcc is named, and force the tuple of +# the external toolchain, not the one we compute in GNU_TARGET_NAME. +ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) +WINE_CONF_OPTS += TARGETFLAGS="-b $(TOOLCHAIN_EXTERNAL_PREFIX)" +endif + +ifeq ($(BR2_PACKAGE_ALSA_LIB)$(BR2_PACKAGE_ALSA_LIB_SEQ)$(BR2_PACKAGE_ALSA_LIB_RAWMIDI),yyy) +WINE_CONF_OPTS += --with-alsa +WINE_DEPENDENCIES += alsa-lib +else +WINE_CONF_OPTS += --without-alsa +endif + +ifeq ($(BR2_PACKAGE_CUPS),y) +WINE_CONF_OPTS += --with-cups +WINE_DEPENDENCIES += cups +WINE_CONF_ENV += CUPS_CONFIG=$(STAGING_DIR)/usr/bin/cups-config +else +WINE_CONF_OPTS += --without-cups +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +WINE_CONF_OPTS += --with-dbus +WINE_DEPENDENCIES += dbus +else +WINE_CONF_OPTS += --without-dbus +endif + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +WINE_CONF_OPTS += --with-fontconfig +WINE_DEPENDENCIES += fontconfig +else +WINE_CONF_OPTS += --without-fontconfig +endif + +# To support freetype in wine we also need freetype in host-wine for the cross compiling tools +ifeq ($(BR2_PACKAGE_FREETYPE),y) +WINE_CONF_OPTS += --with-freetype +HOST_WINE_CONF_OPTS += --with-freetype +WINE_DEPENDENCIES += freetype +HOST_WINE_DEPENDENCIES += host-freetype +WINE_CONF_ENV += FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config +else +WINE_CONF_OPTS += --without-freetype +HOST_WINE_CONF_OPTS += --without-freetype +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +WINE_CONF_OPTS += --with-gnutls +WINE_DEPENDENCIES += gnutls +else +WINE_CONF_OPTS += --without-gnutls +endif + +ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y) +WINE_CONF_OPTS += --with-gstreamer +WINE_DEPENDENCIES += gst1-plugins-base +else +WINE_CONF_OPTS += --without-gstreamer +endif + +ifeq ($(BR2_PACKAGE_JPEG),y) +WINE_CONF_OPTS += --with-jpeg +WINE_DEPENDENCIES += jpeg +else +WINE_CONF_OPTS += --without-jpeg +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +WINE_CONF_OPTS += --with-cms +WINE_DEPENDENCIES += lcms2 +else +WINE_CONF_OPTS += --without-cms +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +WINE_CONF_OPTS += --with-opengl +WINE_DEPENDENCIES += libgl +else +WINE_CONF_OPTS += --without-opengl +endif + +ifeq ($(BR2_PACKAGE_LIBKRB5),y) +WINE_CONF_OPTS += --with-krb5 +WINE_DEPENDENCIES += libkrb5 +else +WINE_CONF_OPTS += --without-krb5 +endif + +ifeq ($(BR2_PACKAGE_LIBPCAP),y) +WINE_CONF_OPTS += --with-pcap +WINE_DEPENDENCIES += libpcap +else +WINE_CONF_OPTS += --without-pcap +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +WINE_CONF_OPTS += --with-png +WINE_DEPENDENCIES += libpng +else +WINE_CONF_OPTS += --without-png +endif + +ifeq ($(BR2_PACKAGE_LIBUSB),y) +WINE_CONF_OPTS += --with-usb +WINE_DEPENDENCIES += libusb +else +WINE_CONF_OPTS += --without-usb +endif + +ifeq ($(BR2_PACKAGE_LIBV4L),y) +WINE_CONF_OPTS += --with-v4l2 +WINE_DEPENDENCIES += libv4l +else +WINE_CONF_OPTS += --without-v4l2 +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +WINE_CONF_OPTS += --with-xml +WINE_DEPENDENCIES += libxml2 +WINE_CONF_ENV += XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config +else +WINE_CONF_OPTS += --without-xml +endif + +ifeq ($(BR2_PACKAGE_LIBXSLT),y) +WINE_CONF_OPTS += --with-xslt +WINE_DEPENDENCIES += libxslt +WINE_CONF_ENV += XSLT_CONFIG=$(STAGING_DIR)/usr/bin/xslt-config +else +WINE_CONF_OPTS += --without-xslt +endif + +ifeq ($(BR2_PACKAGE_MPG123),y) +WINE_CONF_OPTS += --with-mpg123 +WINE_DEPENDENCIES += mpg123 +else +WINE_CONF_OPTS += --without-mpg123 +endif + +ifeq ($(BR2_PACKAGE_OPENAL),y) +WINE_CONF_OPTS += --with-openal +WINE_DEPENDENCIES += openal +else +WINE_CONF_OPTS += --without-openal +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +WINE_CONF_OPTS += --with-ldap +WINE_DEPENDENCIES += openldap +else +WINE_CONF_OPTS += --without-ldap +endif + +ifeq ($(BR2_PACKAGE_MESA3D_OSMESA_GALLIUM),y) +WINE_CONF_OPTS += --with-osmesa +WINE_DEPENDENCIES += mesa3d +else +WINE_CONF_OPTS += --without-osmesa +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +WINE_CONF_OPTS += --with-pulse +WINE_DEPENDENCIES += pulseaudio +else +WINE_CONF_OPTS += --without-pulse +endif + +ifeq ($(BR2_PACKAGE_SAMBA4),y) +WINE_CONF_OPTS += --with-netapi +WINE_DEPENDENCIES += samba4 +else +WINE_CONF_OPTS += --without-netapi +endif + +ifeq ($(BR2_PACKAGE_SANE_BACKENDS),y) +WINE_CONF_OPTS += --with-sane +WINE_DEPENDENCIES += sane-backends +WINE_CONF_ENV += SANE_CONFIG=$(STAGING_DIR)/usr/bin/sane-config +else +WINE_CONF_OPTS += --without-sane +endif + +ifeq ($(BR2_PACKAGE_SDL2),y) +WINE_CONF_OPTS += --with-sdl +WINE_DEPENDENCIES += sdl2 +else +WINE_CONF_OPTS += --without-sdl +endif + +ifeq ($(BR2_PACKAGE_TIFF),y) +WINE_CONF_OPTS += --with-tiff +WINE_DEPENDENCIES += tiff +else +WINE_CONF_OPTS += --without-tiff +endif + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +WINE_CONF_OPTS += --with-udev +WINE_DEPENDENCIES += udev +else +WINE_CONF_OPTS += --without-udev +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y) +WINE_CONF_OPTS += --with-x +WINE_DEPENDENCIES += xlib_libX11 +else +WINE_CONF_OPTS += --without-x +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) +WINE_CONF_OPTS += --with-xcomposite +WINE_DEPENDENCIES += xlib_libXcomposite +else +WINE_CONF_OPTS += --without-xcomposite +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y) +WINE_CONF_OPTS += --with-xcursor +WINE_DEPENDENCIES += xlib_libXcursor +else +WINE_CONF_OPTS += --without-xcursor +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXEXT),y) +WINE_CONF_OPTS += --with-xshape --with-xshm +WINE_DEPENDENCIES += xlib_libXext +else +WINE_CONF_OPTS += --without-xshape --without-xshm +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) +WINE_CONF_OPTS += --with-xinput --with-xinput2 +WINE_DEPENDENCIES += xlib_libXi +else +WINE_CONF_OPTS += --without-xinput --without-xinput2 +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +WINE_CONF_OPTS += --with-xinerama +WINE_DEPENDENCIES += xlib_libXinerama +else +WINE_CONF_OPTS += --without-xinerama +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) +WINE_CONF_OPTS += --with-xrandr +WINE_DEPENDENCIES += xlib_libXrandr +else +WINE_CONF_OPTS += --without-xrandr +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y) +WINE_CONF_OPTS += --with-xrender +WINE_DEPENDENCIES += xlib_libXrender +else +WINE_CONF_OPTS += --without-xrender +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) +WINE_CONF_OPTS += --with-xxf86vm +WINE_DEPENDENCIES += xlib_libXxf86vm +else +WINE_CONF_OPTS += --without-xxf86vm +endif + +# host-gettext is essential for .po file support in host-wine wrc +ifeq ($(BR2_SYSTEM_ENABLE_NLS),y) +HOST_WINE_DEPENDENCIES += host-gettext +HOST_WINE_CONF_OPTS += --with-gettext --with-gettextpo +else +HOST_WINE_CONF_OPTS += --without-gettext --without-gettextpo +endif + +# Wine needs to enable 64-bit build tools on 64-bit host +ifeq ($(HOSTARCH),x86_64) +HOST_WINE_CONF_OPTS += --enable-win64 +endif + +# Wine only needs the host tools to be built, so cut-down the +# build time by building just what we need. +HOST_WINE_TOOLS = \ + tools \ + tools/sfnt2fon \ + tools/widl \ + tools/winebuild \ + tools/winegcc \ + tools/wmc \ + tools/wrc + +define HOST_WINE_BUILD_CMDS + $(foreach t, $(HOST_WINE_TOOLS), + $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/$(t) + ) +endef + +# Wine only needs its host variant to be built, not that it is +# installed, as it uses the tools from the build directory. But +# we have no way in Buildroot to state that a host package should +# not be installed. So, just provide an noop install command. +define HOST_WINE_INSTALL_CMDS + : +endef + +# We are focused on the cross compiling tools, disable everything else +HOST_WINE_CONF_OPTS += \ + --disable-tests \ + --disable-win16 \ + --without-alsa \ + --without-capi \ + --without-cms \ + --without-coreaudio \ + --without-faudio \ + --without-cups \ + --without-dbus \ + --without-fontconfig \ + --without-gphoto \ + --without-gnutls \ + --without-gsm \ + --without-gssapi \ + --without-gstreamer \ + --without-hal \ + --without-jpeg \ + --without-krb5 \ + --without-ldap \ + --without-mingw \ + --without-mpg123 \ + --without-netapi \ + --without-openal \ + --without-opencl \ + --without-opengl \ + --without-osmesa \ + --without-oss \ + --without-pcap \ + --without-pulse \ + --without-png \ + --without-sane \ + --without-sdl \ + --without-tiff \ + --without-usb \ + --without-v4l2 \ + --without-vkd3d \ + --without-vulkan \ + --without-x \ + --without-xcomposite \ + --without-xcursor \ + --without-xinerama \ + --without-xinput \ + --without-xinput2 \ + --without-xml \ + --without-xrandr \ + --without-xrender \ + --without-xshape \ + --without-xshm \ + --without-xslt \ + --without-xxf86vm + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/wipe/0001-musl.patch b/buildroot-2022.02.1/package/wipe/0001-musl.patch similarity index 100% rename from buildroot-2021.05/package/wipe/0001-musl.patch rename to buildroot-2022.02.1/package/wipe/0001-musl.patch diff --git a/buildroot-2021.05/package/wipe/Config.in b/buildroot-2022.02.1/package/wipe/Config.in similarity index 100% rename from buildroot-2021.05/package/wipe/Config.in rename to buildroot-2022.02.1/package/wipe/Config.in diff --git a/buildroot-2021.05/package/wipe/wipe.hash b/buildroot-2022.02.1/package/wipe/wipe.hash similarity index 100% rename from buildroot-2021.05/package/wipe/wipe.hash rename to buildroot-2022.02.1/package/wipe/wipe.hash diff --git a/buildroot-2021.05/package/wipe/wipe.mk b/buildroot-2022.02.1/package/wipe/wipe.mk similarity index 100% rename from buildroot-2021.05/package/wipe/wipe.mk rename to buildroot-2022.02.1/package/wipe/wipe.mk diff --git a/buildroot-2022.02.1/package/wireguard-linux-compat/Config.in b/buildroot-2022.02.1/package/wireguard-linux-compat/Config.in new file mode 100644 index 00000000..4e8e95bd --- /dev/null +++ b/buildroot-2022.02.1/package/wireguard-linux-compat/Config.in @@ -0,0 +1,29 @@ +config BR2_PACKAGE_WIREGUARD_LINUX_COMPAT + bool "wireguard linux-compat" + depends on BR2_LINUX_KERNEL + # kernel module requires 3.10+ + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 + # kernel module in upstream linux since 5.6 + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 + help + WireGuard is an extremely simple yet fast and modern VPN + that utilizes state-of-the-art cryptography. It aims to be + faster, simpler, leaner, and more useful than IPSec, while + avoiding the massive headache. It intends to be considerably + more performant than OpenVPN. WireGuard is designed as a + general purpose VPN for running on embedded interfaces and + super computers alike, fit for many different + circumstances. + + Support for WireGuard is included in Linux 5.6+. This + package provides a backport of the kernel support for older + kernels. + + https://www.wireguard.com + +comment "wireguard-linux-compat needs a Linux kernel to be built" + depends on !BR2_LINUX_KERNEL + +comment "wireguard-linux-compat needs a toolchain w/ headers >= 3.10" + depends on BR2_LINUX_KERNEL + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 diff --git a/buildroot-2022.02.1/package/wireguard-linux-compat/wireguard-linux-compat.hash b/buildroot-2022.02.1/package/wireguard-linux-compat/wireguard-linux-compat.hash new file mode 100644 index 00000000..e18bd10c --- /dev/null +++ b/buildroot-2022.02.1/package/wireguard-linux-compat/wireguard-linux-compat.hash @@ -0,0 +1,4 @@ +# https://lists.zx2c4.com/pipermail/wireguard/2021-June/006781.html +sha256 3f5d990006e6eabfd692d925ec314fff2c5ee7dcdb869a6510d579acfdd84ec0 wireguard-linux-compat-1.0.20210606.tar.xz +# Locally calculated +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/wireguard-linux-compat/wireguard-linux-compat.mk b/buildroot-2022.02.1/package/wireguard-linux-compat/wireguard-linux-compat.mk new file mode 100644 index 00000000..1b7ec941 --- /dev/null +++ b/buildroot-2022.02.1/package/wireguard-linux-compat/wireguard-linux-compat.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# wireguard +# +################################################################################ + +WIREGUARD_LINUX_COMPAT_VERSION = 1.0.20210606 +WIREGUARD_LINUX_COMPAT_SITE = https://git.zx2c4.com/wireguard-linux-compat/snapshot +WIREGUARD_LINUX_COMPAT_SOURCE = wireguard-linux-compat-$(WIREGUARD_LINUX_COMPAT_VERSION).tar.xz +WIREGUARD_LINUX_COMPAT_LICENSE = GPL-2.0 +WIREGUARD_LINUX_COMPAT_LICENSE_FILES = COPYING +WIREGUARD_LINUX_COMPAT_MODULE_SUBDIRS = src + +define WIREGUARD_LINUX_COMPAT_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_INET) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET) + $(call KCONFIG_ENABLE_OPT,CONFIG_NET_FOU) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO) + $(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MANAGER) +endef + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wireguard-tools/Config.in b/buildroot-2022.02.1/package/wireguard-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/wireguard-tools/Config.in rename to buildroot-2022.02.1/package/wireguard-tools/Config.in diff --git a/buildroot-2022.02.1/package/wireguard-tools/wireguard-tools.hash b/buildroot-2022.02.1/package/wireguard-tools/wireguard-tools.hash new file mode 100644 index 00000000..b3eadec2 --- /dev/null +++ b/buildroot-2022.02.1/package/wireguard-tools/wireguard-tools.hash @@ -0,0 +1,4 @@ +# https://lists.zx2c4.com/pipermail/wireguard/2021-September/007049.html +sha256 97ff31489217bb265b7ae850d3d0f335ab07d2652ba1feec88b734bc96bd05ac wireguard-tools-1.0.20210914.tar.xz +# Locally calculated +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/wireguard-tools/wireguard-tools.mk b/buildroot-2022.02.1/package/wireguard-tools/wireguard-tools.mk new file mode 100644 index 00000000..d76e836a --- /dev/null +++ b/buildroot-2022.02.1/package/wireguard-tools/wireguard-tools.mk @@ -0,0 +1,37 @@ +################################################################################ +# +# wireguard-tools +# +################################################################################ + +WIREGUARD_TOOLS_VERSION = 1.0.20210914 +WIREGUARD_TOOLS_SITE = https://git.zx2c4.com/wireguard-tools/snapshot +WIREGUARD_TOOLS_SOURCE = wireguard-tools-$(WIREGUARD_TOOLS_VERSION).tar.xz +WIREGUARD_TOOLS_LICENSE = GPL-2.0 +WIREGUARD_TOOLS_LICENSE_FILES = COPYING +WIREGUARD_TOOLS_SELINUX_MODULES = wireguard + +ifeq ($(BR2_INIT_SYSTEMD),y) +WIREGUARD_TOOLS_MAKE_OPTS += WITH_SYSTEMDUNITS=yes +WIREGUARD_TOOLS_DEPENDENCIES += host-pkgconf +else +WIREGUARD_TOOLS_MAKE_OPTS += WITH_SYSTEMDUNITS=no +endif + +ifeq ($(BR2_PACKAGE_BASH),y) +WIREGUARD_TOOLS_MAKE_OPTS += WITH_BASHCOMPLETION=yes WITH_WGQUICK=yes +else +WIREGUARD_TOOLS_MAKE_OPTS += WITH_BASHCOMPLETION=no WITH_WGQUICK=no +endif + +define WIREGUARD_TOOLS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(WIREGUARD_TOOLS_MAKE_OPTS) \ + -C $(@D)/src +endef + +define WIREGUARD_TOOLS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(WIREGUARD_TOOLS_MAKE_OPTS) \ + -C $(@D)/src install DESTDIR=$(TARGET_DIR) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wireless-regdb/Config.in b/buildroot-2022.02.1/package/wireless-regdb/Config.in similarity index 100% rename from buildroot-2021.05/package/wireless-regdb/Config.in rename to buildroot-2022.02.1/package/wireless-regdb/Config.in diff --git a/buildroot-2022.02.1/package/wireless-regdb/wireless-regdb.hash b/buildroot-2022.02.1/package/wireless-regdb/wireless-regdb.hash new file mode 100644 index 00000000..91fcb320 --- /dev/null +++ b/buildroot-2022.02.1/package/wireless-regdb/wireless-regdb.hash @@ -0,0 +1,4 @@ +# From https://www.kernel.org/pub/software/network/wireless-regdb/sha256sums.asc +sha256 8828c25a4ee25020044004f57374bb9deac852809fad70f8d3d01770bf9ac97f wireless-regdb-2022.02.18.tar.xz +# Locally computed +sha256 678b0df753c86198fc496d1f1033429bbd57f101472132ee7eaaf9f5e0a7fae1 LICENSE diff --git a/buildroot-2022.02.1/package/wireless-regdb/wireless-regdb.mk b/buildroot-2022.02.1/package/wireless-regdb/wireless-regdb.mk new file mode 100644 index 00000000..35a8c668 --- /dev/null +++ b/buildroot-2022.02.1/package/wireless-regdb/wireless-regdb.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# wireless-regdb +# +################################################################################ + +WIRELESS_REGDB_VERSION = 2022.02.18 +WIRELESS_REGDB_SOURCE = wireless-regdb-$(WIRELESS_REGDB_VERSION).tar.xz +WIRELESS_REGDB_SITE = $(BR2_KERNEL_MIRROR)/software/network/wireless-regdb +WIRELESS_REGDB_LICENSE = ISC +WIRELESS_REGDB_LICENSE_FILES = LICENSE +WIRELESS_REGDB_CPE_ID_VENDOR = kernel + +ifeq ($(BR2_PACKAGE_CRDA),y) +define WIRELESS_REGDB_INSTALL_CRDA_TARGET_CMDS + $(INSTALL) -m 644 -D -T $(@D)/regulatory.bin \ + $(TARGET_DIR)/usr/lib/crda/regulatory.bin + $(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \ + $(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem +endef +endif + +define WIRELESS_REGDB_INSTALL_TARGET_CMDS + $(WIRELESS_REGDB_INSTALL_CRDA_TARGET_CMDS) + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db \ + $(TARGET_DIR)/lib/firmware/regulatory.db + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db.p7s \ + $(TARGET_DIR)/lib/firmware/regulatory.db.p7s +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wireless_tools/0001-remove-bzero.patch b/buildroot-2022.02.1/package/wireless_tools/0001-remove-bzero.patch similarity index 100% rename from buildroot-2021.05/package/wireless_tools/0001-remove-bzero.patch rename to buildroot-2022.02.1/package/wireless_tools/0001-remove-bzero.patch diff --git a/buildroot-2021.05/package/wireless_tools/Config.in b/buildroot-2022.02.1/package/wireless_tools/Config.in similarity index 100% rename from buildroot-2021.05/package/wireless_tools/Config.in rename to buildroot-2022.02.1/package/wireless_tools/Config.in diff --git a/buildroot-2021.05/package/wireless_tools/wireless_tools.hash b/buildroot-2022.02.1/package/wireless_tools/wireless_tools.hash similarity index 100% rename from buildroot-2021.05/package/wireless_tools/wireless_tools.hash rename to buildroot-2022.02.1/package/wireless_tools/wireless_tools.hash diff --git a/buildroot-2021.05/package/wireless_tools/wireless_tools.mk b/buildroot-2022.02.1/package/wireless_tools/wireless_tools.mk similarity index 100% rename from buildroot-2021.05/package/wireless_tools/wireless_tools.mk rename to buildroot-2022.02.1/package/wireless_tools/wireless_tools.mk diff --git a/buildroot-2022.02.1/package/wireplumber/Config.in b/buildroot-2022.02.1/package/wireplumber/Config.in new file mode 100644 index 00000000..6528a2e1 --- /dev/null +++ b/buildroot-2022.02.1/package/wireplumber/Config.in @@ -0,0 +1,22 @@ +config BR2_PACKAGE_WIREPLUMBER + bool "wireplumber" + depends on BR2_PACKAGE_PIPEWIRE + depends on BR2_PACKAGE_LUA_5_3 || BR2_PACKAGE_LUA_5_4 + depends on BR2_USE_WCHAR # libglib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 + depends on BR2_USE_MMU # libglib2 + select BR2_PACKAGE_LIBGLIB2 + help + WirePlumber is a modular session / policy manager for + PipeWire and a GObject-based high-level library that + wraps PipeWire’s API, providing convenience for writing + the daemon’s modules as well as external tools for + managing PipeWire. + + https://pipewire.pages.freedesktop.org/wireplumber/ + +comment "wireplumber needs a toolchain w/ wchar, threads and Lua >= 5.3" + depends on BR2_PACKAGE_PIPEWIRE + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + (!BR2_PACKAGE_LUA_5_3 && !BR2_PACKAGE_LUA_5_4) diff --git a/buildroot-2022.02.1/package/wireplumber/wireplumber.hash b/buildroot-2022.02.1/package/wireplumber/wireplumber.hash new file mode 100644 index 00000000..561fcc2e --- /dev/null +++ b/buildroot-2022.02.1/package/wireplumber/wireplumber.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 41f174eaae5a630e195001fdd580918fa5143a71edceb050b320f85a8e65e53b wireplumber-0.4.2.tar.bz2 +sha256 ff2eb9af5b05d92ac3a38cffcad27582ef555a31ff1781e1c1d4e087f77c9c81 LICENSE diff --git a/buildroot-2022.02.1/package/wireplumber/wireplumber.mk b/buildroot-2022.02.1/package/wireplumber/wireplumber.mk new file mode 100644 index 00000000..37a8de53 --- /dev/null +++ b/buildroot-2022.02.1/package/wireplumber/wireplumber.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# wireplumber +# +################################################################################ + +WIREPLUMBER_VERSION = 0.4.2 +WIREPLUMBER_SOURCE = wireplumber-$(WIREPLUMBER_VERSION).tar.bz2 +WIREPLUMBER_SITE = https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$(WIREPLUMBER_VERSION) +WIREPLUMBER_LICENSE = MIT +WIREPLUMBER_LICENSE_FILES = LICENSE +WIREPLUMBER_DEPENDENCIES = host-pkgconf dbus pipewire libglib2 lua + +WIREPLUMBER_CONF_OPTS = \ + -Ddoc=disabled \ + -Dsystem-lua=true \ + -Dsystem-lua-version= + +ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y) +WIREPLUMBER_DEPENDENCIES += host-doxygen host-python-lxml gobject-introspection +WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled +else +WIREPLUMBER_CONF_OPTS += -Dintrospection=disabled +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +WIREPLUMBER_DEPENDENCIES += systemd +WIREPLUMBER_CONF_OPTS += \ + -Dsystemd=enabled \ + -Dsystemd-system-service=true \ + -Dsystemd-user-service=true +else +WIREPLUMBER_CONF_OPTS += \ + -Dsystemd=disabled \ + -Dsystemd-system-service=false \ + -Dsystemd-user-service=false +endif + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/wireshark/0001-cmake-lemon-wipe-CMAKE_-EXE_LINKER_FLAGS-SYSROOT-if-.patch b/buildroot-2022.02.1/package/wireshark/0001-cmake-lemon-wipe-CMAKE_-EXE_LINKER_FLAGS-SYSROOT-if-.patch new file mode 100644 index 00000000..edf24fc6 --- /dev/null +++ b/buildroot-2022.02.1/package/wireshark/0001-cmake-lemon-wipe-CMAKE_-EXE_LINKER_FLAGS-SYSROOT-if-.patch @@ -0,0 +1,31 @@ +From 33270f56477542dedf978e660cf8d08464f28797 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 26 Nov 2021 17:45:23 +0100 +Subject: [PATCH] cmake: lemon: wipe CMAKE_{EXE_LINKER_FLAGS,SYSROOT} if needed + +Wipe CMAKE_{EXE_LINKER_FLAGS,SYSROOT} when LEMON_C_COMPILER is set to +avoid a build failure when cross-compiling (e.g. with buildroot) + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.com/wireshark/wireshark/-/merge_requests/5224] +--- + tools/lemon/CMakeLists.txt | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/tools/lemon/CMakeLists.txt b/tools/lemon/CMakeLists.txt +index 8742aa9fc9..7a9263fe0d 100644 +--- a/tools/lemon/CMakeLists.txt ++++ b/tools/lemon/CMakeLists.txt +@@ -12,6 +12,8 @@ add_executable(lemon lemon.c) + if(DEFINED LEMON_C_COMPILER) + set(CMAKE_C_COMPILER "${LEMON_C_COMPILER}") + set(CMAKE_C_FLAGS "") ++ set(CMAKE_EXE_LINKER_FLAGS "") ++ set(CMAKE_SYSROOT "") + endif() + + # To keep lemon.c as close to upstream as possible, deliberately ignore +-- +2.33.0 + diff --git a/buildroot-2022.02.1/package/wireshark/Config.in b/buildroot-2022.02.1/package/wireshark/Config.in new file mode 100644 index 00000000..fdeb9da2 --- /dev/null +++ b/buildroot-2022.02.1/package/wireshark/Config.in @@ -0,0 +1,53 @@ +config BR2_PACKAGE_WIRESHARK + bool "wireshark" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt -> libgpg-error + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # fork(), glib2 + depends on BR2_USE_WCHAR # glib2 + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2 + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_C_ARES + select BR2_PACKAGE_LIBPCAP + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_SPEEXDSP + help + Network traffic sniffer and protocol decoder. + + https://www.wireshark.org + +if BR2_PACKAGE_WIRESHARK + +config BR2_PACKAGE_WIRESHARK_GUI + bool "Qt5 GUI" + default y + depends on BR2_INSTALL_LIBSTDCPP # qt5 + depends on BR2_HOST_GCC_AT_LEAST_5 # qt5 + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # qt5 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # qt5 + depends on !BR2_arc # qt5 + depends on BR2_PACKAGE_HAS_UDEV # qt5 input + select BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE_FONTCONFIG # runtime + select BR2_PACKAGE_QT5BASE_PNG # runtime + select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5MULTIMEDIA + select BR2_PACKAGE_QT5SVG + select BR2_PACKAGE_QT5TOOLS + select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS + help + Enable Qt5 GUI + +comment "Qt5 GUI needs a udev /dev management and a toolchain w/ C++, NPTL, host gcc >= 5.0, gcc >= 5.0" + depends on !BR2_arc + depends on !BR2_PACKAGE_HAS_UDEV || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \ + !BR2_HOST_GCC_AT_LEAST_5 + +endif # BR2_PACKAGE_WIRESHARK + +comment "wireshark needs a toolchain w/ wchar, threads, dynamic library, C++" + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/wireshark/wireshark.hash b/buildroot-2022.02.1/package/wireshark/wireshark.hash new file mode 100644 index 00000000..db1f71e9 --- /dev/null +++ b/buildroot-2022.02.1/package/wireshark/wireshark.hash @@ -0,0 +1,6 @@ +# From https://www.wireshark.org/download/src/all-versions/SIGNATURES-3.4.12.txt +sha1 91ca69b0029e58b9c824266237ab392a62f0a248 wireshark-3.4.12.tar.xz +sha256 881a13303e263b7dc7fe337534c8a541d4914552287879bed30bbe76c5bf68ca wireshark-3.4.12.tar.xz + +# Locally calculated +sha256 7cdbed2b697efaa45576a033f1ac0e73cd045644a91c79bbf41d4a7d81dac7bf COPYING diff --git a/buildroot-2022.02.1/package/wireshark/wireshark.mk b/buildroot-2022.02.1/package/wireshark/wireshark.mk new file mode 100644 index 00000000..1a549f70 --- /dev/null +++ b/buildroot-2022.02.1/package/wireshark/wireshark.mk @@ -0,0 +1,191 @@ +################################################################################ +# +# wireshark +# +################################################################################ + +WIRESHARK_VERSION = 3.4.12 +WIRESHARK_SOURCE = wireshark-$(WIRESHARK_VERSION).tar.xz +WIRESHARK_SITE = https://www.wireshark.org/download/src/all-versions +WIRESHARK_LICENSE = wireshark license +WIRESHARK_LICENSE_FILES = COPYING +WIRESHARK_CPE_ID_VENDOR = wireshark +WIRESHARK_SELINUX_MODULES = wireshark +WIRESHARK_DEPENDENCIES = \ + c-ares \ + host-pkgconf \ + host-python3 \ + libgcrypt \ + libglib2 \ + libpcap \ + speexdsp + +WIRESHARK_CONF_OPTS = \ + -DDISABLE_WERROR=ON \ + -DENABLE_ILBC=OFF \ + -DENABLE_PCAP=ON \ + -DENABLE_SMI=OFF \ + -DLEMON_C_COMPILER=$(HOSTCC_NOCCACHE) + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +WIRESHARK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic +endif + +ifeq ($(BR2_GCC_ENABLE_LTO),y) +WIRESHARK_CONF_OPTS += -DENABLE_LTO=ON +else +WIRESHARK_CONF_OPTS += -DENABLE_LTO=OFF +endif + +ifeq ($(BR2_PACKAGE_WIRESHARK_GUI),y) +WIRESHARK_CONF_OPTS += -DBUILD_wireshark=ON +WIRESHARK_DEPENDENCIES += qt5base qt5multimedia qt5svg qt5tools +else +WIRESHARK_CONF_OPTS += -DBUILD_wireshark=OFF +endif + +ifeq ($(BR2_PACKAGE_BCG729),y) +WIRESHARK_CONF_OPTS += -DENABLE_BCG729=ON +WIRESHARK_DEPENDENCIES += bcg729 +else +WIRESHARK_CONF_OPTS += -DENABLE_BCG729=OFF +endif + +ifeq ($(BR2_PACKAGE_BROTLI),y) +WIRESHARK_CONF_OPTS += -DENABLE_BROTLI=ON +WIRESHARK_DEPENDENCIES += brotli +else +WIRESHARK_CONF_OPTS += -DENABLE_BROTLI=OFF +endif + +ifeq ($(BR2_PACKAGE_GNUTLS),y) +WIRESHARK_CONF_OPTS += -DENABLE_GNUTLS=ON +WIRESHARK_DEPENDENCIES += gnutls +else +WIRESHARK_CONF_OPTS += -DENABLE_GNUTLS=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBKRB5),y) +WIRESHARK_CONF_OPTS += -DENABLE_KERBEROS=ON +WIRESHARK_DEPENDENCIES += libkrb5 +else +WIRESHARK_CONF_OPTS += -DENABLE_KERBEROS=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y) +WIRESHARK_CONF_OPTS += -DBUILD_mmdbresolve=ON +WIRESHARK_DEPENDENCIES += libmaxminddb +else +WIRESHARK_CONF_OPTS += -DBUILD_mmdbresolve=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBNL),y) +WIRESHARK_CONF_OPTS += -DENABLE_NETLINK=ON +WIRESHARK_DEPENDENCIES += libnl +else +WIRESHARK_CONF_OPTS += -DENABLE_NETLINK=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBSSH),y) +WIRESHARK_CONF_OPTS += -DENABLE_LIBSSH=ON +WIRESHARK_DEPENDENCIES += libssh +else +WIRESHARK_CONF_OPTS += -DENABLE_LIBSSH=OFF +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +WIRESHARK_CONF_OPTS += -DENABLE_LIBXML2=ON +WIRESHARK_DEPENDENCIES += libxml2 +else +WIRESHARK_CONF_OPTS += -DENABLE_LIBXML2=OFF +endif + +# no support for lua53 yet +ifeq ($(BR2_PACKAGE_LUA_5_1),y) +WIRESHARK_CONF_OPTS += -DENABLE_LUA=ON +WIRESHARK_DEPENDENCIES += lua +else +WIRESHARK_CONF_OPTS += -DENABLE_LUA=OFF +endif + +ifeq ($(BR2_PACKAGE_LZ4),y) +WIRESHARK_CONF_OPTS += -DENABLE_LZ4=ON +WIRESHARK_DEPENDENCIES += lz4 +else +WIRESHARK_CONF_OPTS += -DENABLE_LZ4=OFF +endif + +ifeq ($(BR2_PACKAGE_NGHTTP2),y) +WIRESHARK_CONF_OPTS += -DENABLE_NGHTTP2=ON +WIRESHARK_DEPENDENCIES += nghttp2 +else +WIRESHARK_CONF_OPTS += -DENABLE_NGHTTP2=OFF +endif + +ifeq ($(BR2_PACKAGE_OPUS),y) +WIRESHARK_CONF_OPTS += -DENABLE_OPUS=ON +WIRESHARK_DEPENDENCIES += opus +else +WIRESHARK_CONF_OPTS += -DENABLE_OPUS=OFF +endif + +ifeq ($(BR2_PACKAGE_SBC),y) +WIRESHARK_CONF_OPTS += -DENABLE_SBC=ON +WIRESHARK_DEPENDENCIES += sbc +else +WIRESHARK_CONF_OPTS += -DENABLE_SBC=OFF +endif + +ifeq ($(BR2_PACKAGE_SNAPPY),y) +WIRESHARK_CONF_OPTS += -DENABLE_SNAPPY=ON +WIRESHARK_DEPENDENCIES += snappy +else +WIRESHARK_CONF_OPTS += -DENABLE_SNAPPY=OFF +endif + +ifeq ($(BR2_PACKAGE_SPANDSP),y) +WIRESHARK_CONF_OPTS += -DENABLE_SPANDSP=ON +WIRESHARK_DEPENDENCIES += spandsp +else +WIRESHARK_CONF_OPTS += -DENABLE_SPANDSP=OFF +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +WIRESHARK_CONF_OPTS += -DBUILD_sdjournal=ON +WIRESHARK_DEPENDENCIES += systemd +else +WIRESHARK_CONF_OPTS += -DBUILD_sdjournal=OFF +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +WIRESHARK_CONF_OPTS += -DENABLE_ZSTD=ON +WIRESHARK_DEPENDENCIES += zstd +else +WIRESHARK_CONF_OPTS += -DENABLE_ZSTD=OFF +endif + +# Disable plugins as some of them (like l16mono) can't be built +# statically. ENABLE_STATIC=ON actually means "disable shared library" +# and ENABLE_STATIC=OFF means "enable shared library". So for the +# BR2_SHARED_STATIC_LIBS=y case, we want ENABLE_STATIC=OFF even if +# that sounds counter-intuitive. +ifeq ($(BR2_STATIC_LIBS),y) +WIRESHARK_CONF_OPTS += \ + -DENABLE_PLUGINS=OFF \ + -DENABLE_STATIC=ON \ + -DUSE_STATIC=ON +else +WIRESHARK_CONF_OPTS += \ + -DENABLE_PLUGINS=ON \ + -DENABLE_STATIC=OFF \ + -DUSE_STATIC=OFF +endif + +define WIRESHARK_REMOVE_DOCS + find $(TARGET_DIR)/usr/share/wireshark -name '*.txt' -print0 \ + -o -name '*.html' -print0 | xargs -0 rm -f +endef + +WIRESHARK_POST_INSTALL_TARGET_HOOKS += WIRESHARK_REMOVE_DOCS + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/wlroots/0001-Add-feature-macros-to-more-C-files-.patch b/buildroot-2022.02.1/package/wlroots/0001-Add-feature-macros-to-more-C-files-.patch new file mode 100644 index 00000000..0ba07870 --- /dev/null +++ b/buildroot-2022.02.1/package/wlroots/0001-Add-feature-macros-to-more-C-files-.patch @@ -0,0 +1,174 @@ +From cf37ba4c0bf31316b698ba23015f91903766871d Mon Sep 17 00:00:00 2001 +From: Paul Cercueil +Date: Thu, 18 Feb 2021 22:31:39 +0000 +Subject: [PATCH] Add feature macros to more C files + +These source files use "struct timespec", which is POSIX 1993.09. + +Signed-off-by: Paul Cercueil + +[Retrieved from: https://github.com/swaywm/wlroots/pull/2493] +Signed-off-by: Fabrice Fontaine +--- + backend/wayland/output.c | 1 + + types/data_device/wlr_data_device.c | 1 + + types/data_device/wlr_drag.c | 1 + + types/wlr_export_dmabuf_v1.c | 1 + + types/wlr_idle.c | 1 + + types/wlr_keyboard_shortcuts_inhibit_v1.c | 1 + + types/wlr_pointer_constraints_v1.c | 1 + + types/wlr_primary_selection.c | 1 + + types/wlr_relative_pointer_v1.c | 1 + + types/wlr_screencopy_v1.c | 1 + + types/wlr_virtual_pointer_v1.c | 1 + + types/wlr_xdg_decoration_v1.c | 1 + + types/xdg_shell/wlr_xdg_popup.c | 1 + + types/xdg_shell/wlr_xdg_positioner.c | 1 + + types/xdg_shell/wlr_xdg_shell.c | 1 + + types/xdg_shell/wlr_xdg_surface.c | 1 + + 16 files changed, 16 insertions(+) + +diff --git a/backend/wayland/output.c b/backend/wayland/output.c +index d5410e0d32..8ff8fa2a00 100644 +--- a/backend/wayland/output.c ++++ b/backend/wayland/output.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/data_device/wlr_data_device.c b/types/data_device/wlr_data_device.c +index 6cd84ec0ab..beac496124 100644 +--- a/types/data_device/wlr_data_device.c ++++ b/types/data_device/wlr_data_device.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/data_device/wlr_drag.c b/types/data_device/wlr_drag.c +index 53bf4066a1..e3c1e249b4 100644 +--- a/types/data_device/wlr_drag.c ++++ b/types/data_device/wlr_drag.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_export_dmabuf_v1.c b/types/wlr_export_dmabuf_v1.c +index a8e2a4bde3..98ceae68f1 100644 +--- a/types/wlr_export_dmabuf_v1.c ++++ b/types/wlr_export_dmabuf_v1.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_idle.c b/types/wlr_idle.c +index 4c338931cc..80fd871fab 100644 +--- a/types/wlr_idle.c ++++ b/types/wlr_idle.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_keyboard_shortcuts_inhibit_v1.c b/types/wlr_keyboard_shortcuts_inhibit_v1.c +index fe4e64b04e..8360a9c21c 100644 +--- a/types/wlr_keyboard_shortcuts_inhibit_v1.c ++++ b/types/wlr_keyboard_shortcuts_inhibit_v1.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_pointer_constraints_v1.c b/types/wlr_pointer_constraints_v1.c +index eca45984c4..f1db8e3415 100644 +--- a/types/wlr_pointer_constraints_v1.c ++++ b/types/wlr_pointer_constraints_v1.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_primary_selection.c b/types/wlr_primary_selection.c +index 0875462c8c..7e0e11ddaa 100644 +--- a/types/wlr_primary_selection.c ++++ b/types/wlr_primary_selection.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_relative_pointer_v1.c b/types/wlr_relative_pointer_v1.c +index 8613f2b91c..3f8dd8b72a 100644 +--- a/types/wlr_relative_pointer_v1.c ++++ b/types/wlr_relative_pointer_v1.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_screencopy_v1.c b/types/wlr_screencopy_v1.c +index 6feb074274..29864c2364 100644 +--- a/types/wlr_screencopy_v1.c ++++ b/types/wlr_screencopy_v1.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_virtual_pointer_v1.c b/types/wlr_virtual_pointer_v1.c +index a9d1fd7bc4..5566e9e013 100644 +--- a/types/wlr_virtual_pointer_v1.c ++++ b/types/wlr_virtual_pointer_v1.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/wlr_xdg_decoration_v1.c b/types/wlr_xdg_decoration_v1.c +index 544035b7b8..904474c088 100644 +--- a/types/wlr_xdg_decoration_v1.c ++++ b/types/wlr_xdg_decoration_v1.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/xdg_shell/wlr_xdg_popup.c b/types/xdg_shell/wlr_xdg_popup.c +index 69b4cfe19f..05d6551fc8 100644 +--- a/types/xdg_shell/wlr_xdg_popup.c ++++ b/types/xdg_shell/wlr_xdg_popup.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include +diff --git a/types/xdg_shell/wlr_xdg_positioner.c b/types/xdg_shell/wlr_xdg_positioner.c +index f88bf323b8..8881c49916 100644 +--- a/types/xdg_shell/wlr_xdg_positioner.c ++++ b/types/xdg_shell/wlr_xdg_positioner.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include "types/wlr_xdg_shell.h" +diff --git a/types/xdg_shell/wlr_xdg_shell.c b/types/xdg_shell/wlr_xdg_shell.c +index 0480d5f354..c93fe7c3fb 100644 +--- a/types/xdg_shell/wlr_xdg_shell.c ++++ b/types/xdg_shell/wlr_xdg_shell.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include "types/wlr_xdg_shell.h" +diff --git a/types/xdg_shell/wlr_xdg_surface.c b/types/xdg_shell/wlr_xdg_surface.c +index edf562abcd..c1dfbfba7e 100644 +--- a/types/xdg_shell/wlr_xdg_surface.c ++++ b/types/xdg_shell/wlr_xdg_surface.c +@@ -1,3 +1,4 @@ ++#define _POSIX_C_SOURCE 199309L + #include + #include + #include diff --git a/buildroot-2022.02.1/package/wlroots/Config.in b/buildroot-2022.02.1/package/wlroots/Config.in new file mode 100644 index 00000000..8d485992 --- /dev/null +++ b/buildroot-2022.02.1/package/wlroots/Config.in @@ -0,0 +1,44 @@ +comment "wlroots needs udev, EGL w/ Wayland backend and OpenGL ES support" + depends on !BR2_PACKAGE_HAS_LIBEGL || \ + !BR2_PACKAGE_HAS_LIBEGL_WAYLAND || \ + !BR2_PACKAGE_HAS_LIBGLES || \ + !BR2_PACKAGE_HAS_UDEV + +comment "wlroots needs a toolchain w/ threads, dynamic library" + depends on !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + +config BR2_PACKAGE_WLROOTS + bool "wlroots" + depends on !BR2_STATIC_LIBS # wayland + depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm, wayland + depends on BR2_PACKAGE_HAS_UDEV # libinput + depends on BR2_PACKAGE_HAS_LIBEGL + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND + depends on BR2_PACKAGE_HAS_LIBGLES + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_LIBINPUT + select BR2_PACKAGE_LIBXKBCOMMON + select BR2_PACKAGE_PIXMAN + select BR2_PACKAGE_SEATD + select BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS + help + wlroots is a modular Wayland library for building compositors + which implements many of their common features. + + https://github.com/swaywm/wlroots + +if BR2_PACKAGE_WLROOTS + +config BR2_PACKAGE_WLROOTS_X11 + bool "X11 backend" + depends on BR2_PACKAGE_XORG7 + select BR2_PACKAGE_LIBXCB + select BR2_PACKAGE_XCB_UTIL_RENDERUTIL + select BR2_PACKAGE_XCB_UTIL_WM + select BR2_PACKAGE_XLIB_LIBX11 + help + Support Wayland sessions nested inside a X11 window + +endif diff --git a/buildroot-2022.02.1/package/wlroots/wlroots.hash b/buildroot-2022.02.1/package/wlroots/wlroots.hash new file mode 100644 index 00000000..fdebe1ef --- /dev/null +++ b/buildroot-2022.02.1/package/wlroots/wlroots.hash @@ -0,0 +1,5 @@ +# Generated locally, after checking https://github.com/swaywm/wlroots/releases/download/0.14.1/wlroots-0.14.1.tar.gz.sig +sha256 448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db wlroots-0.14.1.tar.gz + +# Hashes for license files: +sha256 ffd3737a478b83a8b51b42757d3bf909ef36694508355879722e11fc1fa6736b LICENSE diff --git a/buildroot-2022.02.1/package/wlroots/wlroots.mk b/buildroot-2022.02.1/package/wlroots/wlroots.mk new file mode 100644 index 00000000..89d50241 --- /dev/null +++ b/buildroot-2022.02.1/package/wlroots/wlroots.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# wlroots +# +################################################################################ + +WLROOTS_VERSION = 0.14.1 +WLROOTS_SITE = https://github.com/swaywm/wlroots/releases/download/$(WLROOTS_VERSION) +WLROOTS_LICENSE = MIT +WLROOTS_LICENSE_FILES = LICENSE +WLROOTS_INSTALL_STAGING = YES + +WLROOTS_DEPENDENCIES = \ + host-pkgconf \ + host-wayland \ + libinput \ + libxkbcommon \ + libegl \ + libgles \ + pixman \ + seatd \ + udev \ + wayland \ + wayland-protocols + +WLROOTS_CONF_OPTS = -Dexamples=false -Dxcb-errors=disabled -Drenderers=gles2 + +ifeq ($(BR2_PACKAGE_FFMPEG),y) +WLROOTS_DEPENDENCIES += ffmpeg +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +WLROOTS_DEPENDENCIES += libpng +endif + +ifeq ($(BR2_PACKAGE_WLROOTS_X11),y) +WLROOTS_CONF_OPTS += -Dx11-backend=enabled -Dxwayland=enabled +WLROOTS_DEPENDENCIES += libxcb xcb-util-wm xcb-util-renderutil xlib_libX11 +else +WLROOTS_CONF_OPTS += -Dx11-backend=disabled -Dxwayland=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/wmctrl/Config.in b/buildroot-2022.02.1/package/wmctrl/Config.in similarity index 100% rename from buildroot-2021.05/package/wmctrl/Config.in rename to buildroot-2022.02.1/package/wmctrl/Config.in diff --git a/buildroot-2021.05/package/wmctrl/wmctrl.hash b/buildroot-2022.02.1/package/wmctrl/wmctrl.hash similarity index 100% rename from buildroot-2021.05/package/wmctrl/wmctrl.hash rename to buildroot-2022.02.1/package/wmctrl/wmctrl.hash diff --git a/buildroot-2021.05/package/wmctrl/wmctrl.mk b/buildroot-2022.02.1/package/wmctrl/wmctrl.mk similarity index 100% rename from buildroot-2021.05/package/wmctrl/wmctrl.mk rename to buildroot-2022.02.1/package/wmctrl/wmctrl.mk diff --git a/buildroot-2021.05/package/woff2/0001-CMake-Handle-multiple-libraries-being-returned-for-B.patch b/buildroot-2022.02.1/package/woff2/0001-CMake-Handle-multiple-libraries-being-returned-for-B.patch similarity index 100% rename from buildroot-2021.05/package/woff2/0001-CMake-Handle-multiple-libraries-being-returned-for-B.patch rename to buildroot-2022.02.1/package/woff2/0001-CMake-Handle-multiple-libraries-being-returned-for-B.patch diff --git a/buildroot-2021.05/package/woff2/Config.in b/buildroot-2022.02.1/package/woff2/Config.in similarity index 100% rename from buildroot-2021.05/package/woff2/Config.in rename to buildroot-2022.02.1/package/woff2/Config.in diff --git a/buildroot-2022.02.1/package/woff2/woff2.hash b/buildroot-2022.02.1/package/woff2/woff2.hash new file mode 100644 index 00000000..0812dabc --- /dev/null +++ b/buildroot-2022.02.1/package/woff2/woff2.hash @@ -0,0 +1,5 @@ +# Locally generated: +sha512 c788bba1530aec463e755e901f9342f4b599e3a07f54645fef1dc388ab5d5c30625535e5dd38e9e792e04a640574baa50eeefb6b7338ab403755f4a4e0c3044d woff2-1.0.2.tar.gz + +# Hash for license files: +sha512 8ee924da3fb5d16135adcf6a8fbe9e2e8f3d2d80468617e72ca4fa059a60f8455c9a5f68a8dc381b1297c8bf39c887a912d0f69246d2604ada74d3da9e8e490b LICENSE diff --git a/buildroot-2022.02.1/package/woff2/woff2.mk b/buildroot-2022.02.1/package/woff2/woff2.mk new file mode 100644 index 00000000..937e8cf7 --- /dev/null +++ b/buildroot-2022.02.1/package/woff2/woff2.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# woff2 +# +################################################################################ + +WOFF2_VERSION = 1.0.2 +WOFF2_SITE = $(call github,google,woff2,v$(WOFF2_VERSION)) +WOFF2_LICENSE = MIT +WOFF2_LICENSE_FILES = LICENSE +WOFF2_INSTALL_STAGING = YES +WOFF2_DEPENDENCIES = brotli +WOFF2_CONF_OPTS = \ + -DNOISY_LOGGING=OFF + +# The CMake build files for woff2 manually set some RPATH handling options +# which make the installation steps fail with static builds, so pass this +# to prevent any attempt of mangling RPATH that CMake would do. +ifneq ($(BR2_SHARED_LIBS),y) +WOFF2_CONF_OPTS += -DCMAKE_SKIP_RPATH=ON +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/wolfssl/Config.in b/buildroot-2022.02.1/package/wolfssl/Config.in similarity index 100% rename from buildroot-2021.05/package/wolfssl/Config.in rename to buildroot-2022.02.1/package/wolfssl/Config.in diff --git a/buildroot-2022.02.1/package/wolfssl/wolfssl.hash b/buildroot-2022.02.1/package/wolfssl/wolfssl.hash new file mode 100644 index 00000000..63eebf93 --- /dev/null +++ b/buildroot-2022.02.1/package/wolfssl/wolfssl.hash @@ -0,0 +1,6 @@ +# Locally computed: +sha256 409b4646c5f54f642de0e9f3544c3b83de7238134f5b1ff93fb44527bf119d05 wolfssl-5.2.0.tar.gz + +# Hash for license files: +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING +sha256 b23c1da1f85d699d3288d73c952b4cd02760d23dc1ddc1b221cbb8be82387189 LICENSING diff --git a/buildroot-2022.02.1/package/wolfssl/wolfssl.mk b/buildroot-2022.02.1/package/wolfssl/wolfssl.mk new file mode 100644 index 00000000..bfb54445 --- /dev/null +++ b/buildroot-2022.02.1/package/wolfssl/wolfssl.mk @@ -0,0 +1,48 @@ +################################################################################ +# +# wolfssl +# +################################################################################ + +WOLFSSL_VERSION = 5.2.0 +WOLFSSL_SITE = $(call github,wolfSSL,wolfssl,v$(WOLFSSL_VERSION)-stable) +WOLFSSL_INSTALL_STAGING = YES + +WOLFSSL_LICENSE = GPL-2.0+ +WOLFSSL_LICENSE_FILES = COPYING LICENSING +WOLFSSL_CPE_ID_VENDOR = wolfssl + +WOLFSSL_DEPENDENCIES = host-pkgconf + +# wolfssl's source code is released without a configure +# script, so we need autoreconf +WOLFSSL_AUTORECONF = YES + +WOLFSSL_CONF_OPTS = --disable-examples --disable-crypttests + +ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y) +WOLFSSL_CONF_OPTS += --enable-all +else +WOLFSSL_CONF_OPTS += --disable-all +endif + +ifeq ($(BR2_PACKAGE_WOLFSSL_SSLV3),y) +WOLFSSL_CONF_OPTS += --enable-sslv3 +else +WOLFSSL_CONF_OPTS += --disable-sslv3 +endif + +# enable ARMv8 hardware acceleration +ifeq ($(BR2_ARM_CPU_ARMV8A),y) +WOLFSSL_CONF_OPTS += --enable-armasm +# the flag -mstrict-align is needed to prevent build errors caused by +# some inline assembly in parts of the AES structure using the "m" +# constraint +ifeq ($(BR2_aarch64),y) +WOLFSSL_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -mstrict-align" +endif +else +WOLFSSL_CONF_OPTS += --disable-armasm +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch b/buildroot-2022.02.1/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch new file mode 100644 index 00000000..156d0e7e --- /dev/null +++ b/buildroot-2022.02.1/package/wpa_supplicant/0001-build-re-enable-options-for-libwpa_client.so-and-.patch @@ -0,0 +1,68 @@ +From e6a6a4e3df52cc60425fcd037d3ec68a38f948ce Mon Sep 17 00:00:00 2001 +From: Sergey Matyukevich +Date: Sun, 20 Feb 2022 10:12:28 +0300 +Subject: [PATCH] build: re-enable options for libwpa_client.so and wpa_passphrase + +Commit a41a29192e5d ("build: Pull common fragments into a build.rules +file") introduced regression into wpa_supplicant build process. Build +target libwpa_client.so is not built regardless of whether the option +CONFIG_BUILD_WPA_CLIENT_SO is set or not. This happens because config +option is used before it is imported from the configuration file. +Moving its usage after including build.rules does not help: variable +ALL is processed by build.rules and further changes are not applied. +Similarly, option CONFIG_NO_WPA_PASSPHRASE also does not work as +expected: wpa_passphrase is always built regardless of whether the +option is set or not. + +This commit re-enables options adding both build targets to _all +dependencies. + +Signed-off-by: Sergey Matyukevich +--- + wpa_supplicant/Makefile | 19 ++++++++++++------- + 1 file changed, 12 insertions(+), 7 deletions(-) + +diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile +index cb66defac..e384cc6b8 100644 +--- a/wpa_supplicant/Makefile ++++ b/wpa_supplicant/Makefile +@@ -1,24 +1,29 @@ + BINALL=wpa_supplicant wpa_cli + +-ifndef CONFIG_NO_WPA_PASSPHRASE +-BINALL += wpa_passphrase +-endif +- + ALL = $(BINALL) + ALL += systemd/wpa_supplicant.service + ALL += systemd/wpa_supplicant@.service + ALL += systemd/wpa_supplicant-nl80211@.service + ALL += systemd/wpa_supplicant-wired@.service + ALL += dbus/fi.w1.wpa_supplicant1.service +-ifdef CONFIG_BUILD_WPA_CLIENT_SO +-ALL += libwpa_client.so +-endif + + EXTRA_TARGETS=dynamic_eap_methods + + CONFIG_FILE=.config + include ../src/build.rules + ++ifdef CONFIG_BUILD_WPA_CLIENT_SO ++# add the dependency this way to allow CONFIG_BUILD_WPA_CLIENT_SO ++# being set in the config which is read by build.rules ++_all: libwpa_client.so ++endif ++ ++ifndef CONFIG_NO_WPA_PASSPHRASE ++# add the dependency this way to allow CONFIGNO_WPA_PASSPHRASE ++# being set in the config which is read by build.rules ++_all: wpa_passphrase ++endif ++ + ifdef LIBS + # If LIBS is set with some global build system defaults, clone those for + # LIBS_c and LIBS_p to cover wpa_passphrase and wpa_cli as well. +-- +2.35.1 + diff --git a/buildroot-2021.05/package/wpa_supplicant/50-wpa_supplicant.preset b/buildroot-2022.02.1/package/wpa_supplicant/50-wpa_supplicant.preset similarity index 100% rename from buildroot-2021.05/package/wpa_supplicant/50-wpa_supplicant.preset rename to buildroot-2022.02.1/package/wpa_supplicant/50-wpa_supplicant.preset diff --git a/buildroot-2022.02.1/package/wpa_supplicant/Config.in b/buildroot-2022.02.1/package/wpa_supplicant/Config.in new file mode 100644 index 00000000..8f095cdf --- /dev/null +++ b/buildroot-2022.02.1/package/wpa_supplicant/Config.in @@ -0,0 +1,162 @@ +menuconfig BR2_PACKAGE_WPA_SUPPLICANT + bool "wpa_supplicant" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4 if BR2_PACKAGE_LIBOPENSSL + help + WPA supplicant for secure wireless networks + + http://w1.fi/wpa_supplicant/ + +if BR2_PACKAGE_WPA_SUPPLICANT + +config BR2_PACKAGE_WPA_SUPPLICANT_NL80211 + bool "Enable nl80211 support" + default y + depends on BR2_TOOLCHAIN_HAS_THREADS # libnl + select BR2_PACKAGE_LIBNL + help + Enable support for nl80211. This is the current wireless + API for Linux, supported by all wireless drivers in vanilla + Linux, but may not be supported by some out-of-tree Linux + wireless drivers. wpa_supplicant will still fall back to + using the Wireless Extensions (wext) API with these drivers. + + If this option is disabled, then only the deprecated wext + API will be supported, with far less features. Linux may + supports using wext with modern drivers using a + compatibility layer, but it must be enabled in the kernel + configuration. + +comment "nl80211 support needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_WPA_SUPPLICANT_WEXT + bool "Enable wext (deprecated)" + default y if !BR2_TOOLCHAIN_HAS_THREADS + help + Enable support for wext. This is the historic wireless API + for Linux, which is now deprecated and in maintenance-only in + the kernel. It may still be required by out-of-tree drivers. + +config BR2_PACKAGE_WPA_SUPPLICANT_WIRED + bool "Enable wired support" + select BR2_PACKAGE_WPA_SUPPLICANT_EAP + help + Include the "wired" driver, so the internal IEEE 802.1x + supplicant can be used with Ethernet. This also enables + support for MACSEC. + +comment "wpa_supplicant will be useless without at least one driver" + depends on !BR2_PACKAGE_WPA_SUPPLICANT_NL80211 && \ + !BR2_PACKAGE_WPA_SUPPLICANT_WEXT && \ + !BR2_PACKAGE_WPA_SUPPLICANT_WIRED + +config BR2_PACKAGE_WPA_SUPPLICANT_IBSS_RSN + bool "Enable IBSS RSN" + depends on BR2_PACKAGE_WPA_SUPPLICANT_NL80211 + help + Enable support for RSN/WPA2 in Ad-Hoc mode. + +config BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT + bool "Enable AP mode" + depends on BR2_PACKAGE_WPA_SUPPLICANT_NL80211 + help + With this option enabled, wpa_supplicant can act as an + access point much like hostapd does with a limited feature + set. This links in parts of hostapd functionality into + wpa_supplicant, making it bigger but dispensing the need for + a separate hostapd binary in some applications hence being + smaller overall. It also enables support for Wi-Fi Direct. + +config BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY + bool "Enable Wi-Fi Display" + depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT + help + Enable support for Wi-Fi Display + +config BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING + bool "Enable mesh networking" + depends on BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + help + Enable support for open and secured mesh networking + (IEEE 802.11s) + +config BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN + bool "Enable autoscan" + help + Enable support for the autoscan feature (allow periodic scan) + +config BR2_PACKAGE_WPA_SUPPLICANT_EAP + bool "Enable EAP" + help + Enable support for EAP, 802.1x/WPA-Enterprise and FILS. + +config BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT + bool "Enable HS20" + select BR2_PACKAGE_WPA_SUPPLICANT_EAP + help + Enable Hotspot 2.0 and IEEE 802.11u interworking + functionality. + +config BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG + bool "Enable syslog support" + help + Enable support for sending debug messages to syslog. + +config BR2_PACKAGE_WPA_SUPPLICANT_WPS + bool "Enable WPS" + help + Enable support for Wi-Fi Protected Setup (WPS). + +config BR2_PACKAGE_WPA_SUPPLICANT_WPA3 + bool "Enable WPA3 support" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + help + Enable WPA3 support including OWE, SAE, DPP + +config BR2_PACKAGE_WPA_SUPPLICANT_CLI + bool "Install wpa_cli binary" + select BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE + help + Install wpa_cli command line utility + +config BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO + bool "Install wpa_client shared library" + depends on !BR2_STATIC_LIBS + help + Install libwpa_client.so. + +comment "wpa_client library needs a toolchain w/ dynamic library" + depends on BR2_STATIC_LIBS + +config BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE + bool "Install wpa_passphrase binary" + help + Install wpa_passphrase command line utility. + +config BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE + bool "Enable the Unix-socket control interface" + help + Enable support for the Unix-socket-based API. + +config BR2_PACKAGE_WPA_SUPPLICANT_DBUS + bool "Enable support for the DBus control interface" + depends on BR2_TOOLCHAIN_HAS_THREADS # dbus + select BR2_PACKAGE_DBUS + help + Enable support for the DBus control interface. + +comment "dbus support needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION + bool "Introspection support" + depends on BR2_PACKAGE_WPA_SUPPLICANT_DBUS + help + Add introspection support for the DBus control interface. + +endif diff --git a/buildroot-2021.05/package/wpa_supplicant/wpa_supplicant.conf b/buildroot-2022.02.1/package/wpa_supplicant/wpa_supplicant.conf similarity index 100% rename from buildroot-2021.05/package/wpa_supplicant/wpa_supplicant.conf rename to buildroot-2022.02.1/package/wpa_supplicant/wpa_supplicant.conf diff --git a/buildroot-2022.02.1/package/wpa_supplicant/wpa_supplicant.hash b/buildroot-2022.02.1/package/wpa_supplicant/wpa_supplicant.hash new file mode 100644 index 00000000..fcaee0a3 --- /dev/null +++ b/buildroot-2022.02.1/package/wpa_supplicant/wpa_supplicant.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f wpa_supplicant-2.10.tar.gz +sha256 af01e1d1ee065a1054d20ebe8a78a016f1fb1133b73e6a9d50801b165bb280c7 README diff --git a/buildroot-2022.02.1/package/wpa_supplicant/wpa_supplicant.mk b/buildroot-2022.02.1/package/wpa_supplicant/wpa_supplicant.mk new file mode 100644 index 00000000..f0eb36e0 --- /dev/null +++ b/buildroot-2022.02.1/package/wpa_supplicant/wpa_supplicant.mk @@ -0,0 +1,256 @@ +################################################################################ +# +# wpa_supplicant +# +################################################################################ + +WPA_SUPPLICANT_VERSION = 2.10 +WPA_SUPPLICANT_SITE = http://w1.fi/releases +WPA_SUPPLICANT_LICENSE = BSD-3-Clause +WPA_SUPPLICANT_LICENSE_FILES = README +WPA_SUPPLICANT_CPE_ID_VENDOR = w1.fi +WPA_SUPPLICANT_CONFIG = $(WPA_SUPPLICANT_DIR)/wpa_supplicant/.config +WPA_SUPPLICANT_SUBDIR = wpa_supplicant +WPA_SUPPLICANT_DBUS_SERVICE = fi.w1.wpa_supplicant1 +WPA_SUPPLICANT_CFLAGS = $(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnl3/ +WPA_SUPPLICANT_LDFLAGS = $(TARGET_LDFLAGS) +WPA_SUPPLICANT_SELINUX_MODULES = networkmanager + +# install the wpa_client library +WPA_SUPPLICANT_INSTALL_STAGING = YES + +WPA_SUPPLICANT_CONFIG_EDITS = + +WPA_SUPPLICANT_CONFIG_ENABLE = \ + CONFIG_INTERNAL_LIBTOMMATH \ + CONFIG_MATCH_IFACE + +WPA_SUPPLICANT_CONFIG_DISABLE = \ + CONFIG_SMARTCARD + +# libnl-3 needs -lm (for rint) and -lpthread if linking statically +# And library order matters hence stick -lnl-3 first since it's appended +# in the wpa_supplicant Makefiles as in LIBS+=-lnl-3 ... thus failing +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_NL80211),y) +ifeq ($(BR2_STATIC_LIBS),y) +WPA_SUPPLICANT_LIBS += -lnl-3 -lm -lpthread +endif +WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf libnl +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_LIBNL32 +else +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_DRIVER_NL80211 +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WEXT),) +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_DRIVER_WEXT +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_IBSS_RSN), ) +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_IBSS_RSN +endif + +# Trailing underscore on purpose to not enable CONFIG_EAPOL_TEST +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_EAP),y) +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_EAP_ +# uses dlopen() +ifeq ($(BR2_STATIC_LIBS),y) +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP_TNC +endif +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_EAP \ + CONFIG_IEEE8021X_EAPOL \ + CONFIG_FILS +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIRED),) +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_DRIVER_WIRED \ + CONFIG_MACSEC \ + CONFIG_DRIVER_MACSEC +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_HOTSPOT),) +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_HS20 \ + CONFIG_INTERWORKING +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT),y) +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_AP \ + CONFIG_P2P +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_AP \ + CONFIG_P2P +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY),y) +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WIFI_DISPLAY +else +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_WIFI_DISPLAY +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),y) +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_MESH +else +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_MESH +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN),y) +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_AUTOSCAN_EXPONENTIAL \ + CONFIG_AUTOSCAN_PERIODIC +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPS),) +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_WPS +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_DPP \ + CONFIG_SAE \ + CONFIG_OWE +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_DPP \ + CONFIG_SAE \ + CONFIG_OWE +endif + +# Try to use openssl if it's already available +ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) +WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf libopenssl +WPA_SUPPLICANT_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs openssl` +WPA_SUPPLICANT_CONFIG_EDITS += 's/\#\(CONFIG_TLS=openssl\)/\1/' +else +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_EAP_PWD CONFIG_EAP_TEAP +WPA_SUPPLICANT_CONFIG_EDITS += 's/\#\(CONFIG_TLS=\).*/\1internal/' +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_CTRL_IFACE),) +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_CTRL_IFACE\> +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DBUS),y) +WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf dbus +WPA_SUPPLICANT_MAKE_ENV = \ + PKG_CONFIG_SYSROOT_DIR="$(STAGING_DIR)" \ + PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_CTRL_IFACE_DBUS_NEW +define WPA_SUPPLICANT_INSTALL_DBUS_NEW + $(INSTALL) -m 0644 -D \ + $(@D)/wpa_supplicant/dbus/$(WPA_SUPPLICANT_DBUS_SERVICE).service \ + $(TARGET_DIR)/usr/share/dbus-1/system-services/$(WPA_SUPPLICANT_DBUS_SERVICE).service +endef + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DBUS_INTROSPECTION),y) +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_CTRL_IFACE_DBUS_INTRO +endif + +else +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_CTRL_IFACE_DBUS_NEW +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_DEBUG_SYSLOG),) +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_DEBUG_SYSLOG +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +WPA_SUPPLICANT_DEPENDENCIES += readline +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_READLINE +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO),y) +WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_BUILD_WPA_CLIENT_SO +define WPA_SUPPLICANT_INSTALL_WPA_CLIENT_SO + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/libwpa_client.so \ + $(TARGET_DIR)/usr/lib/libwpa_client.so + $(INSTALL) -m 0644 -D $(@D)/src/common/wpa_ctrl.h \ + $(TARGET_DIR)/usr/include/wpa_ctrl.h +endef +define WPA_SUPPLICANT_INSTALL_STAGING_WPA_CLIENT_SO + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/libwpa_client.so \ + $(STAGING_DIR)/usr/lib/libwpa_client.so + $(INSTALL) -m 0644 -D $(@D)/src/common/wpa_ctrl.h \ + $(STAGING_DIR)/usr/include/wpa_ctrl.h +endef +endif + +define WPA_SUPPLICANT_CONFIGURE_CMDS + cp $(@D)/wpa_supplicant/defconfig $(WPA_SUPPLICANT_CONFIG) + sed -i $(patsubst %,-e 's/^#\(%\)/\1/',$(WPA_SUPPLICANT_CONFIG_ENABLE)) \ + $(patsubst %,-e 's/^\(%\)/#\1/',$(WPA_SUPPLICANT_CONFIG_DISABLE)) \ + $(patsubst %,-e %,$(WPA_SUPPLICANT_CONFIG_EDITS)) \ + $(WPA_SUPPLICANT_CONFIG) + # set requested configuration options not listed in wpa_s defconfig + for s in $(WPA_SUPPLICANT_CONFIG_ENABLE) ; do \ + if ! grep -q "^$${s}" $(WPA_SUPPLICANT_CONFIG); then \ + echo "$${s}=y" >> $(WPA_SUPPLICANT_CONFIG) ; \ + fi \ + done +endef + +# LIBS for wpa_supplicant, LIBS_c for wpa_cli, LIBS_p for wpa_passphrase +define WPA_SUPPLICANT_BUILD_CMDS + $(TARGET_MAKE_ENV) CFLAGS="$(WPA_SUPPLICANT_CFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS)" BINDIR=/usr/sbin \ + LIBS="$(WPA_SUPPLICANT_LIBS)" LIBS_c="$(WPA_SUPPLICANT_LIBS)" \ + LIBS_p="$(WPA_SUPPLICANT_LIBS)" \ + $(MAKE) CC="$(TARGET_CC)" -C $(@D)/$(WPA_SUPPLICANT_SUBDIR) +endef + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_CLI),y) +define WPA_SUPPLICANT_INSTALL_CLI + $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_cli \ + $(TARGET_DIR)/usr/sbin/wpa_cli +endef +endif + +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE),y) +define WPA_SUPPLICANT_INSTALL_PASSPHRASE + $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_passphrase \ + $(TARGET_DIR)/usr/sbin/wpa_passphrase +endef +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +define WPA_SUPPLICANT_INSTALL_DBUS + $(INSTALL) -m 0644 -D \ + $(@D)/wpa_supplicant/dbus/dbus-wpa_supplicant.conf \ + $(TARGET_DIR)/etc/dbus-1/system.d/wpa_supplicant.conf + $(WPA_SUPPLICANT_INSTALL_DBUS_NEW) +endef +endif + +define WPA_SUPPLICANT_INSTALL_STAGING_CMDS + $(WPA_SUPPLICANT_INSTALL_STAGING_WPA_CLIENT_SO) +endef + +define WPA_SUPPLICANT_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_supplicant \ + $(TARGET_DIR)/usr/sbin/wpa_supplicant + $(INSTALL) -m 644 -D package/wpa_supplicant/wpa_supplicant.conf \ + $(TARGET_DIR)/etc/wpa_supplicant.conf + $(WPA_SUPPLICANT_INSTALL_CLI) + $(WPA_SUPPLICANT_INSTALL_PASSPHRASE) + $(WPA_SUPPLICANT_INSTALL_DBUS) + $(WPA_SUPPLICANT_INSTALL_WPA_CLIENT_SO) +endef + +define WPA_SUPPLICANT_INSTALL_INIT_SYSTEMD + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant.service \ + $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant.service + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant@.service \ + $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant@.service + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-nl80211@.service \ + $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-nl80211@.service + $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-wired@.service \ + $(TARGET_DIR)/usr/lib/systemd/system/wpa_supplicant-wired@.service + $(INSTALL) -D -m 644 $(WPA_SUPPLICANT_PKGDIR)/50-wpa_supplicant.preset \ + $(TARGET_DIR)/usr/lib/systemd/system-preset/50-wpa_supplicant.preset +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wpan-tools/Config.in b/buildroot-2022.02.1/package/wpan-tools/Config.in similarity index 100% rename from buildroot-2021.05/package/wpan-tools/Config.in rename to buildroot-2022.02.1/package/wpan-tools/Config.in diff --git a/buildroot-2021.05/package/wpan-tools/wpan-tools.hash b/buildroot-2022.02.1/package/wpan-tools/wpan-tools.hash similarity index 100% rename from buildroot-2021.05/package/wpan-tools/wpan-tools.hash rename to buildroot-2022.02.1/package/wpan-tools/wpan-tools.hash diff --git a/buildroot-2021.05/package/wpan-tools/wpan-tools.mk b/buildroot-2022.02.1/package/wpan-tools/wpan-tools.mk similarity index 100% rename from buildroot-2021.05/package/wpan-tools/wpan-tools.mk rename to buildroot-2022.02.1/package/wpan-tools/wpan-tools.mk diff --git a/buildroot-2021.05/package/wpebackend-fdo/Config.in b/buildroot-2022.02.1/package/wpebackend-fdo/Config.in similarity index 100% rename from buildroot-2021.05/package/wpebackend-fdo/Config.in rename to buildroot-2022.02.1/package/wpebackend-fdo/Config.in diff --git a/buildroot-2022.02.1/package/wpebackend-fdo/wpebackend-fdo.hash b/buildroot-2022.02.1/package/wpebackend-fdo/wpebackend-fdo.hash new file mode 100644 index 00000000..06289900 --- /dev/null +++ b/buildroot-2022.02.1/package/wpebackend-fdo/wpebackend-fdo.hash @@ -0,0 +1,7 @@ +# From https://wpewebkit.org/releases/wpebackend-fdo-1.12.0.tar.xz.sums +md5 c43b34a4b4933bcd80068ae5776ee346 wpebackend-fdo-1.12.0.tar.xz +sha1 e2576d564bd6d9a86737a4cd31dd5827ebc00fdf wpebackend-fdo-1.12.0.tar.xz +sha256 6239c9c15523410798d66315de6b491712ab30009ba180f3e0dd076d9b0074ac wpebackend-fdo-1.12.0.tar.xz + +# Hashes for license files: +sha256 c9f6803371047fad3e72200ec6cd226329a5ee08ac61104c8211c2761fb46825 COPYING diff --git a/buildroot-2022.02.1/package/wpebackend-fdo/wpebackend-fdo.mk b/buildroot-2022.02.1/package/wpebackend-fdo/wpebackend-fdo.mk new file mode 100644 index 00000000..5fe9c539 --- /dev/null +++ b/buildroot-2022.02.1/package/wpebackend-fdo/wpebackend-fdo.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# wpebackend-fdo +# +################################################################################ + +WPEBACKEND_FDO_VERSION = 1.12.0 +WPEBACKEND_FDO_SITE = https://wpewebkit.org/releases +WPEBACKEND_FDO_SOURCE = wpebackend-fdo-$(WPEBACKEND_FDO_VERSION).tar.xz +WPEBACKEND_FDO_INSTALL_STAGING = YES +WPEBACKEND_FDO_LICENSE = BSD-2-Clause +WPEBACKEND_FDO_LICENSE_FILES = COPYING +WPEBACKEND_FDO_DEPENDENCIES = libepoxy libglib2 libwpe wayland + +$(eval $(meson-package)) diff --git a/buildroot-2022.02.1/package/wpewebkit/Config.in b/buildroot-2022.02.1/package/wpewebkit/Config.in new file mode 100644 index 00000000..36523bdb --- /dev/null +++ b/buildroot-2022.02.1/package/wpewebkit/Config.in @@ -0,0 +1,134 @@ +config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS + bool + # ARM needs BLX, so v5t+, BE completely untested so disabled + default y if BR2_arm && !BR2_ARM_CPU_ARMV4 + default y if BR2_aarch64 || BR2_aarch64_be + default y if BR2_i386 || BR2_x86_64 + # Disabled on MIPS big endian due to sigbus + default y if BR2_mipsel || BR2_mips64el + # Disabled on PowerPC pending runtime testing + # Disabled on SuperH because of segfault + depends on BR2_USE_MMU # libglib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt + +comment "wpewebkit needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 7, host gcc >= 4.9" + depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS + depends on !BR2_BINFMT_FLAT + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR \ + || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ + || !BR2_TOOLCHAIN_GCC_AT_LEAST_7 \ + || !BR2_HOST_GCC_AT_LEAST_4_9 + +comment "wpewebkit needs an OpenGL ES w/ EGL-capable Wayland backend" + depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS + depends on !BR2_BINFMT_FLAT + depends on !BR2_PACKAGE_HAS_LIBGLES || !BR2_PACKAGE_HAS_LIBEGL \ + || !BR2_PACKAGE_HAS_LIBEGL_WAYLAND + +config BR2_PACKAGE_WPEWEBKIT + bool "wpewebkit" + depends on !BR2_STATIC_LIBS # wayland + depends on !BR2_BINFMT_FLAT # icu + depends on BR2_HOST_GCC_AT_LEAST_4_9 # icu, host-ruby + depends on BR2_INSTALL_LIBSTDCPP # harfbuzz, icu + depends on BR2_TOOLCHAIN_HAS_THREADS # wayland, icu, libsoup + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 + depends on BR2_USE_WCHAR # icu, libsoup + depends on BR2_PACKAGE_HAS_LIBGLES # libepoxy + depends on BR2_PACKAGE_HAS_LIBEGL # libepoxy + depends on BR2_PACKAGE_HAS_LIBEGL_WAYLAND # wpebackend-fdo + depends on BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS + select BR2_PACKAGE_CAIRO + select BR2_PACKAGE_CAIRO_PNG + select BR2_PACKAGE_HARFBUZZ + select BR2_PACKAGE_ICU + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBEPOXY + select BR2_PACKAGE_LIBGCRYPT + select BR2_PACKAGE_LIBPNG + select BR2_PACKAGE_LIBSOUP + select BR2_PACKAGE_LIBTASN1 + select BR2_PACKAGE_LIBXSLT + select BR2_PACKAGE_OPENJPEG + select BR2_PACKAGE_WAYLAND + select BR2_PACKAGE_WAYLAND_PROTOCOLS + select BR2_PACKAGE_WEBP + select BR2_PACKAGE_WEBP_DEMUX + select BR2_PACKAGE_WPEBACKEND_FDO + help + WPE (Web Platform for Embedded) port of the WebKit engine, + to allow embedders to create simple and performant systems + based on Web platform technologies. + + https://wpewebkit.org/ + +if BR2_PACKAGE_WPEWEBKIT + +config BR2_PACKAGE_WPEWEBKIT_SANDBOX + bool "sandboxing support" + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS # libseccomp + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 # libseccomp + select BR2_PACKAGE_BUBBLEWRAP # runtime + select BR2_PACKAGE_XDG_DBUS_PROXY # runtime + select BR2_PACKAGE_LIBSECCOMP + help + Enable sandboxing of the processes used for network operation, + disk asccess, and Web content rendering. + +comment "sandboxing supports needs a toolchain w/ headers >= 3.12" + depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + +config BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA + bool "multimedia support" + select BR2_PACKAGE_GSTREAMER1 + select BR2_PACKAGE_GST1_PLUGINS_BAD + select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX + select BR2_PACKAGE_GST1_PLUGINS_BASE + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_ALSA + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PLAYBACK + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOCONVERT + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOSCALE + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME + select BR2_PACKAGE_GST1_PLUGINS_GOOD + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_ISOMP4 + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP + select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX + select BR2_PACKAGE_GST1_LIBAV + help + This option pulls in all of the required dependencies + to enable multimedia (video/audio) support. + +if BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA + +config BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM + bool "media-stream support" + select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE + help + This option enables media-stream support. + +config BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL + bool "use gstreamer-gl" + default y + depends on BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM + help + Use the GStreamer GL elements for handling video content. + This is recommended as it improves performance of video + playback. In some target configurations incorrect rendering + might be produced, and disabling this option may help. + +endif + +config BR2_PACKAGE_WPEWEBKIT_WEBDRIVER + bool "WebDriver support" + help + Enable support for WebDriver. This will build and install the + WebKitWebDriver program in the target. + +endif diff --git a/buildroot-2022.02.1/package/wpewebkit/wpewebkit.hash b/buildroot-2022.02.1/package/wpewebkit/wpewebkit.hash new file mode 100644 index 00000000..231bbc44 --- /dev/null +++ b/buildroot-2022.02.1/package/wpewebkit/wpewebkit.hash @@ -0,0 +1,8 @@ +# From https://wpewebkit.org/releases/wpewebkit-2.34.6.tar.xz.sums +md5 c9705270b342474cca28cf51632ccbbe wpewebkit-2.34.6.tar.xz +sha1 44ae95de1b5ebf0a2b0ea3630b3677153c597402 wpewebkit-2.34.6.tar.xz +sha256 301e895c8ed08ce7dccef3192b972f2ccfc2020463244c64069a636f2b05265f wpewebkit-2.34.6.tar.xz + +# Hashes for license files: +sha256 0b5d3a7cc325942567373b0ecd757d07c132e0ebd7c97bfc63f7e1a76094edb4 Source/WebCore/LICENSE-APPLE +sha256 f2b3bd09663381deb99721109d22b47af1213bb43007a8b56a06c6375c8050ce Source/WebCore/LICENSE-LGPL-2.1 diff --git a/buildroot-2022.02.1/package/wpewebkit/wpewebkit.mk b/buildroot-2022.02.1/package/wpewebkit/wpewebkit.mk new file mode 100644 index 00000000..aa04e786 --- /dev/null +++ b/buildroot-2022.02.1/package/wpewebkit/wpewebkit.mk @@ -0,0 +1,104 @@ +################################################################################ +# +# wpewebkit +# +################################################################################ + +WPEWEBKIT_VERSION = 2.34.6 +WPEWEBKIT_SITE = http://www.wpewebkit.org/releases +WPEWEBKIT_SOURCE = wpewebkit-$(WPEWEBKIT_VERSION).tar.xz +WPEWEBKIT_INSTALL_STAGING = YES +WPEWEBKIT_LICENSE = LGPL-2.1+, BSD-2-Clause +WPEWEBKIT_LICENSE_FILES = \ + Source/WebCore/LICENSE-APPLE \ + Source/WebCore/LICENSE-LGPL-2.1 +WPEWEBKIT_CPE_ID_VENDOR = wpewebkit +WPEWEBKIT_CPE_ID_PRODUCT = wpe_webkit +WPEWEBKIT_DEPENDENCIES = host-gperf host-python3 host-ruby \ + harfbuzz cairo icu jpeg libepoxy libgcrypt libgles libsoup libtasn1 \ + libpng libxslt openjpeg wayland-protocols webp wpebackend-fdo + +WPEWEBKIT_CONF_OPTS = \ + -DPORT=WPE \ + -DENABLE_ACCESSIBILITY=OFF \ + -DENABLE_API_TESTS=OFF \ + -DENABLE_MINIBROWSER=OFF \ + -DUSE_SOUP2=ON \ + -DSILENCE_CROSS_COMPILATION_NOTICES=ON + +ifeq ($(BR2_PACKAGE_WPEWEBKIT_SANDBOX),y) +WPEWEBKIT_CONF_OPTS += \ + -DENABLE_BUBBLEWRAP_SANDBOX=ON \ + -DBWRAP_EXECUTABLE=/usr/bin/bwrap \ + -DDBUS_PROXY_EXECUTABLE=/usr/bin/xdg-dbus-proxy +WPEWEBKIT_DEPENDENCIES += libseccomp +else +WPEWEBKIT_CONF_OPTS += -DENABLE_BUBBLEWRAP_SANDBOX=OFF +endif + +ifeq ($(BR2_PACKAGE_WPEWEBKIT_MULTIMEDIA),y) +WPEWEBKIT_CONF_OPTS += \ + -DENABLE_VIDEO=ON \ + -DENABLE_WEB_AUDIO=ON +WPEWEBKIT_DEPENDENCIES += gstreamer1 gst1-libav gst1-plugins-base +else +WPEWEBKIT_CONF_OPTS += \ + -DENABLE_VIDEO=OFF \ + -DENABLE_WEB_AUDIO=OFF +endif + +ifeq ($(BR2_PACKAGE_WPEWEBKIT_MEDIA_STREAM),y) +WPEWEBKIT_CONF_OPTS += -DENABLE_MEDIA_STREAM=ON +WPEWEBKIT_DEPENDENCIES += gst1-plugins-bad +else +WPEWEBKIT_CONF_OPTS += -DENABLE_MEDIA_STREAM=OFF +endif + +ifeq ($(BR2_PACKAGE_WPEWEBKIT_USE_GSTREAMER_GL),y) +WPEWEBKIT_CONF_OPTS += -DUSE_GSTREAMER_GL=ON +else +WPEWEBKIT_CONF_OPTS += -DUSE_GSTREAMER_GL=OFF +endif + +ifeq ($(BR2_PACKAGE_WPEWEBKIT_WEBDRIVER),y) +WPEWEBKIT_CONF_OPTS += -DENABLE_WEBDRIVER=ON +else +WPEWEBKIT_CONF_OPTS += -DENABLE_WEBDRIVER=OFF +endif + +ifeq ($(BR2_PACKAGE_LCMS2),y) +WPEWEBKIT_CONF_OPTS += -DUSE_LCMS=ON +WPEWEBKIT_DEPENDENCIES += lcms2 +else +WPEWEBKIT_CONF_OPTS += -DUSE_LCMS=OFF +endif + +ifeq ($(BR2_PACKAGE_WOFF2),y) +WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=ON +WPEWEBKIT_DEPENDENCIES += woff2 +else +WPEWEBKIT_CONF_OPTS += -DUSE_WOFF2=OFF +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=ON +WPEWEBKIT_DEPENDENCIES += systemd +else +WPEWEBKIT_CONF_OPTS += -DUSE_SYSTEMD=OFF +endif + +# JIT is not supported for MIPS r6, but the WebKit build system does not +# have a check for these processors. The same goes for ARMv5 and ARMv6. +# Disable JIT forcibly here and use the CLoop interpreter instead. +# +# Also, we have to disable the sampling profiler, which does NOT work +# with ENABLE_C_LOOP. +# +# Upstream bugs: https://bugs.webkit.org/show_bug.cgi?id=191258 +# https://bugs.webkit.org/show_bug.cgi?id=172765 +# +ifeq ($(BR2_ARM_CPU_ARMV5)$(BR2_ARM_CPU_ARMV6)$(BR2_MIPS_CPU_MIPS32R6)$(BR2_MIPS_CPU_MIPS64R6),y) +WPEWEBKIT_CONF_OPTS += -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON -DENABLE_SAMPLING_PROFILER=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/wqy-zenhei/Config.in b/buildroot-2022.02.1/package/wqy-zenhei/Config.in similarity index 100% rename from buildroot-2021.05/package/wqy-zenhei/Config.in rename to buildroot-2022.02.1/package/wqy-zenhei/Config.in diff --git a/buildroot-2021.05/package/wqy-zenhei/wqy-zenhei.hash b/buildroot-2022.02.1/package/wqy-zenhei/wqy-zenhei.hash similarity index 100% rename from buildroot-2021.05/package/wqy-zenhei/wqy-zenhei.hash rename to buildroot-2022.02.1/package/wqy-zenhei/wqy-zenhei.hash diff --git a/buildroot-2022.02.1/package/wqy-zenhei/wqy-zenhei.mk b/buildroot-2022.02.1/package/wqy-zenhei/wqy-zenhei.mk new file mode 100644 index 00000000..375b0dd3 --- /dev/null +++ b/buildroot-2022.02.1/package/wqy-zenhei/wqy-zenhei.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# wqy-zenhei +# +################################################################################ + +WQY_ZENHEI_VERSION = 0.9.45 +WQY_ZENHEI_SITE = https://downloads.sourceforge.net/project/wqy/wqy-zenhei/$(WQY_ZENHEI_VERSION)%20%28Fighting-state%20RC1%29 +WQY_ZENHEI_LICENSE = GPL-2.0-with-font-exception +WQY_ZENHEI_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_FONTCONFIG),y) +define WQY_ZENHEI_FONTCONFIG_CONF_INSTALL_CMDS + $(INSTALL) -D -m 0644 $(@D)/43-wqy-zenhei-sharp.conf \ + $(TARGET_DIR)/usr/share/fontconfig/conf.avail/43-wqy-zenhei-sharp.conf + $(INSTALL) -D -m 0644 $(@D)/44-wqy-zenhei.conf \ + $(TARGET_DIR)/usr/share/fontconfig/conf.avail/44-wqy-zenhei.conf +endef +endif + +define WQY_ZENHEI_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0644 $(@D)/wqy-zenhei.ttc \ + $(TARGET_DIR)/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc + $(WQY_ZENHEI_FONTCONFIG_CONF_INSTALL_CMDS) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/wsapi-fcgi/Config.in b/buildroot-2022.02.1/package/wsapi-fcgi/Config.in similarity index 100% rename from buildroot-2021.05/package/wsapi-fcgi/Config.in rename to buildroot-2022.02.1/package/wsapi-fcgi/Config.in diff --git a/buildroot-2021.05/package/wsapi-fcgi/wsapi-fcgi.hash b/buildroot-2022.02.1/package/wsapi-fcgi/wsapi-fcgi.hash similarity index 100% rename from buildroot-2021.05/package/wsapi-fcgi/wsapi-fcgi.hash rename to buildroot-2022.02.1/package/wsapi-fcgi/wsapi-fcgi.hash diff --git a/buildroot-2021.05/package/wsapi-fcgi/wsapi-fcgi.mk b/buildroot-2022.02.1/package/wsapi-fcgi/wsapi-fcgi.mk similarity index 100% rename from buildroot-2021.05/package/wsapi-fcgi/wsapi-fcgi.mk rename to buildroot-2022.02.1/package/wsapi-fcgi/wsapi-fcgi.mk diff --git a/buildroot-2021.05/package/wsapi-xavante/Config.in b/buildroot-2022.02.1/package/wsapi-xavante/Config.in similarity index 100% rename from buildroot-2021.05/package/wsapi-xavante/Config.in rename to buildroot-2022.02.1/package/wsapi-xavante/Config.in diff --git a/buildroot-2021.05/package/wsapi-xavante/wsapi-xavante.hash b/buildroot-2022.02.1/package/wsapi-xavante/wsapi-xavante.hash similarity index 100% rename from buildroot-2021.05/package/wsapi-xavante/wsapi-xavante.hash rename to buildroot-2022.02.1/package/wsapi-xavante/wsapi-xavante.hash diff --git a/buildroot-2021.05/package/wsapi-xavante/wsapi-xavante.mk b/buildroot-2022.02.1/package/wsapi-xavante/wsapi-xavante.mk similarity index 100% rename from buildroot-2021.05/package/wsapi-xavante/wsapi-xavante.mk rename to buildroot-2022.02.1/package/wsapi-xavante/wsapi-xavante.mk diff --git a/buildroot-2021.05/package/wsapi/Config.in b/buildroot-2022.02.1/package/wsapi/Config.in similarity index 100% rename from buildroot-2021.05/package/wsapi/Config.in rename to buildroot-2022.02.1/package/wsapi/Config.in diff --git a/buildroot-2021.05/package/wsapi/wsapi.hash b/buildroot-2022.02.1/package/wsapi/wsapi.hash similarity index 100% rename from buildroot-2021.05/package/wsapi/wsapi.hash rename to buildroot-2022.02.1/package/wsapi/wsapi.hash diff --git a/buildroot-2021.05/package/wsapi/wsapi.mk b/buildroot-2022.02.1/package/wsapi/wsapi.mk similarity index 100% rename from buildroot-2021.05/package/wsapi/wsapi.mk rename to buildroot-2022.02.1/package/wsapi/wsapi.mk diff --git a/buildroot-2022.02.1/package/x11r7/Config.in b/buildroot-2022.02.1/package/x11r7/Config.in new file mode 100644 index 00000000..63259e88 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/Config.in @@ -0,0 +1,246 @@ +menuconfig BR2_PACKAGE_XORG7 + bool "X.org X Window System" + depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS # dlopen in xlib_libX11 + help + Support for X11R7 libraries, servers, drivers, and/or + applications in the target. + + http://xorg.freedesktop.org + +if BR2_PACKAGE_XORG7 + menu "X11R7 Servers" + source package/x11r7/xserver_xorg-server/Config.in + endmenu + menu "X11R7 Libraries" + source package/x11r7/libxcb/Config.in + source package/x11r7/xcb-util/Config.in + source package/x11r7/xcb-util-cursor/Config.in + source package/x11r7/xcb-util-image/Config.in + source package/x11r7/xcb-util-keysyms/Config.in + source package/x11r7/xcb-util-renderutil/Config.in + source package/x11r7/xcb-util-wm/Config.in + source package/x11r7/xlib_libFS/Config.in + source package/x11r7/xlib_libICE/Config.in + source package/x11r7/xlib_libSM/Config.in + source package/x11r7/xlib_libX11/Config.in + source package/x11r7/xlib_libXScrnSaver/Config.in + source package/x11r7/xlib_libXau/Config.in + source package/x11r7/xlib_libXaw/Config.in + source package/x11r7/xlib_libXcomposite/Config.in + source package/x11r7/xlib_libXcursor/Config.in + source package/x11r7/xlib_libXdamage/Config.in + source package/x11r7/xlib_libXdmcp/Config.in + source package/x11r7/xlib_libXext/Config.in + source package/x11r7/xlib_libXfixes/Config.in + source package/x11r7/xlib_libXfont/Config.in + source package/x11r7/xlib_libXfont2/Config.in + source package/x11r7/xlib_libXft/Config.in + source package/x11r7/xlib_libXi/Config.in + source package/x11r7/xlib_libXinerama/Config.in + source package/x11r7/xlib_libXmu/Config.in + source package/x11r7/xlib_libXpm/Config.in + source package/x11r7/xlib_libXrandr/Config.in + source package/x11r7/xlib_libXrender/Config.in + source package/x11r7/xlib_libXres/Config.in + source package/x11r7/xlib_libXt/Config.in + source package/x11r7/xlib_libXtst/Config.in + source package/x11r7/xlib_libXv/Config.in + source package/x11r7/xlib_libXvMC/Config.in + source package/x11r7/xlib_libXxf86dga/Config.in + source package/x11r7/xlib_libXxf86vm/Config.in + source package/x11r7/xlib_libdmx/Config.in + source package/x11r7/xlib_libfontenc/Config.in + source package/x11r7/xlib_libxcvt/Config.in + source package/x11r7/xlib_libxkbfile/Config.in + source package/x11r7/xlib_libxshmfence/Config.in + source package/x11r7/xlib_xtrans/Config.in + endmenu + menu "X11R7 Applications" + source package/x11r7/xapp_appres/Config.in + source package/x11r7/xapp_bdftopcf/Config.in + source package/x11r7/xapp_beforelight/Config.in + source package/x11r7/xapp_bitmap/Config.in + source package/x11r7/xapp_editres/Config.in + source package/x11r7/xapp_fonttosfnt/Config.in + source package/x11r7/xapp_fslsfonts/Config.in + source package/x11r7/xapp_fstobdf/Config.in + source package/x11r7/xapp_iceauth/Config.in + source package/x11r7/xapp_ico/Config.in + source package/x11r7/xapp_listres/Config.in + source package/x11r7/xapp_luit/Config.in + source package/x11r7/xapp_mkfontscale/Config.in + source package/x11r7/xapp_oclock/Config.in + source package/x11r7/xapp_rgb/Config.in + source package/x11r7/xapp_rstart/Config.in + source package/x11r7/xapp_scripts/Config.in + source package/x11r7/xapp_sessreg/Config.in + source package/x11r7/xapp_setxkbmap/Config.in + source package/x11r7/xapp_showfont/Config.in + source package/x11r7/xapp_smproxy/Config.in + source package/x11r7/xapp_twm/Config.in + source package/x11r7/xapp_viewres/Config.in + source package/x11r7/xapp_x11perf/Config.in + source package/x11r7/xapp_xauth/Config.in + source package/x11r7/xapp_xbacklight/Config.in + source package/x11r7/xapp_xbiff/Config.in + source package/x11r7/xapp_xcalc/Config.in + source package/x11r7/xapp_xclipboard/Config.in + source package/x11r7/xapp_xclock/Config.in + source package/x11r7/xapp_xcmsdb/Config.in + source package/x11r7/xapp_xcompmgr/Config.in + source package/x11r7/xapp_xconsole/Config.in + source package/x11r7/xapp_xcursorgen/Config.in + source package/x11r7/xapp_xdbedizzy/Config.in + source package/x11r7/xapp_xditview/Config.in + source package/x11r7/xapp_xdm/Config.in + source package/x11r7/xapp_xdpyinfo/Config.in + source package/x11r7/xapp_xdriinfo/Config.in + source package/x11r7/xapp_xedit/Config.in + source package/x11r7/xapp_xev/Config.in + source package/x11r7/xapp_xeyes/Config.in + source package/x11r7/xapp_xf86dga/Config.in + source package/x11r7/xapp_xfd/Config.in + source package/x11r7/xapp_xfindproxy/Config.in + source package/x11r7/xapp_xfontsel/Config.in + source package/x11r7/xapp_xfs/Config.in + source package/x11r7/xapp_xfsinfo/Config.in + source package/x11r7/xapp_xgamma/Config.in + source package/x11r7/xapp_xgc/Config.in + source package/x11r7/xapp_xhost/Config.in + source package/x11r7/xapp_xinit/Config.in + source package/x11r7/xapp_xinput/Config.in + source package/x11r7/xapp_xinput-calibrator/Config.in + source package/x11r7/xapp_xkbcomp/Config.in + source package/x11r7/xapp_xkbevd/Config.in + source package/x11r7/xapp_xkbprint/Config.in + source package/x11r7/xapp_xkbutils/Config.in + source package/x11r7/xapp_xkill/Config.in + source package/x11r7/xapp_xload/Config.in + source package/x11r7/xapp_xlogo/Config.in + source package/x11r7/xapp_xlsatoms/Config.in + source package/x11r7/xapp_xlsclients/Config.in + source package/x11r7/xapp_xlsfonts/Config.in + source package/x11r7/xapp_xmag/Config.in + source package/x11r7/xapp_xman/Config.in + source package/x11r7/xapp_xmessage/Config.in + source package/x11r7/xapp_xmh/Config.in + source package/x11r7/xapp_xmodmap/Config.in + source package/x11r7/xapp_xmore/Config.in + source package/x11r7/xapp_xpr/Config.in + source package/x11r7/xapp_xprop/Config.in + source package/x11r7/xapp_xrandr/Config.in + source package/x11r7/xapp_xrdb/Config.in + source package/x11r7/xapp_xrefresh/Config.in + source package/x11r7/xapp_xset/Config.in + source package/x11r7/xapp_xsetmode/Config.in + source package/x11r7/xapp_xsetpointer/Config.in + source package/x11r7/xapp_xsetroot/Config.in + source package/x11r7/xapp_xsm/Config.in + source package/x11r7/xapp_xstdcmap/Config.in + source package/x11r7/xapp_xvidtune/Config.in + source package/x11r7/xapp_xvinfo/Config.in + source package/x11r7/xapp_xwd/Config.in + source package/x11r7/xapp_xwininfo/Config.in + source package/x11r7/xapp_xwud/Config.in + endmenu + if BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR + menu "X11R7 Drivers" + source package/x11r7/xdriver_xf86-input-evdev/Config.in + source package/x11r7/xdriver_xf86-input-joystick/Config.in + source package/x11r7/xdriver_xf86-input-keyboard/Config.in + source package/x11r7/xdriver_xf86-input-libinput/Config.in + source package/x11r7/xdriver_xf86-input-mouse/Config.in + source package/x11r7/xdriver_xf86-input-synaptics/Config.in + source package/x11r7/xdriver_xf86-input-tslib/Config.in + source package/x11r7/xdriver_xf86-input-vmmouse/Config.in + source package/x11r7/xdriver_xf86-video-amdgpu/Config.in + source package/x11r7/xdriver_xf86-video-ark/Config.in + source package/x11r7/xdriver_xf86-video-ast/Config.in + source package/x11r7/xdriver_xf86-video-ati/Config.in + source package/x11r7/xdriver_xf86-video-cirrus/Config.in + source package/x11r7/xdriver_xf86-video-dummy/Config.in + source package/x11r7/xdriver_xf86-video-fbdev/Config.in + source package/x11r7/xdriver_xf86-video-fbturbo/Config.in + source package/x11r7/xdriver_xf86-video-geode/Config.in + source package/x11r7/xdriver_xf86-video-glint/Config.in + source package/x11r7/xdriver_xf86-video-i128/Config.in + source package/x11r7/xdriver_xf86-video-imx/Config.in + source package/x11r7/xdriver_xf86-video-imx-viv/Config.in + source package/x11r7/xdriver_xf86-video-intel/Config.in + source package/x11r7/xdriver_xf86-video-mach64/Config.in + source package/x11r7/xdriver_xf86-video-mga/Config.in + source package/x11r7/xdriver_xf86-video-neomagic/Config.in + source package/x11r7/xdriver_xf86-video-nouveau/Config.in + source package/x11r7/xdriver_xf86-video-nv/Config.in + source package/x11r7/xdriver_xf86-video-openchrome/Config.in + source package/x11r7/xdriver_xf86-video-qxl/Config.in + source package/x11r7/xdriver_xf86-video-r128/Config.in + source package/x11r7/xdriver_xf86-video-savage/Config.in + source package/x11r7/xdriver_xf86-video-siliconmotion/Config.in + source package/x11r7/xdriver_xf86-video-sis/Config.in + source package/x11r7/xdriver_xf86-video-tdfx/Config.in + source package/x11r7/xdriver_xf86-video-tga/Config.in + source package/x11r7/xdriver_xf86-video-trident/Config.in + source package/x11r7/xdriver_xf86-video-vesa/Config.in + source package/x11r7/xdriver_xf86-video-vmware/Config.in + source package/x11r7/xdriver_xf86-video-voodoo/Config.in + endmenu + endif + menu "X11R7 Fonts" + source package/x11r7/xfont_font-util/Config.in + source package/x11r7/xfont_encodings/Config.in + source package/x11r7/xfont_font-adobe-100dpi/Config.in + source package/x11r7/xfont_font-adobe-75dpi/Config.in + source package/x11r7/xfont_font-adobe-utopia-100dpi/Config.in + source package/x11r7/xfont_font-adobe-utopia-75dpi/Config.in + source package/x11r7/xfont_font-adobe-utopia-type1/Config.in + source package/x11r7/xfont_font-alias/Config.in + source package/x11r7/xfont_font-arabic-misc/Config.in + source package/x11r7/xfont_font-bh-100dpi/Config.in + source package/x11r7/xfont_font-bh-75dpi/Config.in + source package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/Config.in + source package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/Config.in + source package/x11r7/xfont_font-bh-ttf/Config.in + source package/x11r7/xfont_font-bh-type1/Config.in + source package/x11r7/xfont_font-bitstream-100dpi/Config.in + source package/x11r7/xfont_font-bitstream-75dpi/Config.in + source package/x11r7/xfont_font-bitstream-type1/Config.in + source package/x11r7/xfont_font-cronyx-cyrillic/Config.in + source package/x11r7/xfont_font-cursor-misc/Config.in + source package/x11r7/xfont_font-daewoo-misc/Config.in + source package/x11r7/xfont_font-dec-misc/Config.in + source package/x11r7/xfont_font-ibm-type1/Config.in + source package/x11r7/xfont_font-isas-misc/Config.in + source package/x11r7/xfont_font-jis-misc/Config.in + source package/x11r7/xfont_font-micro-misc/Config.in + source package/x11r7/xfont_font-misc-cyrillic/Config.in + source package/x11r7/xfont_font-misc-ethiopic/Config.in + source package/x11r7/xfont_font-misc-meltho/Config.in + source package/x11r7/xfont_font-misc-misc/Config.in + source package/x11r7/xfont_font-mutt-misc/Config.in + source package/x11r7/xfont_font-schumacher-misc/Config.in + source package/x11r7/xfont_font-screen-cyrillic/Config.in + source package/x11r7/xfont_font-sony-misc/Config.in + source package/x11r7/xfont_font-sun-misc/Config.in + source package/x11r7/xfont_font-winitzki-cyrillic/Config.in + source package/x11r7/xfont_font-xfree86-type1/Config.in + endmenu + menu "X11R7 X protocols" + source package/x11r7/xcb-proto/Config.in + source package/x11r7/xorgproto/Config.in + endmenu + menu "X11R7 Utilities" + source package/x11r7/xutil_makedepend/Config.in + source package/x11r7/mcookie/Config.in + endmenu + menu "X11R7 Other data" + source package/x11r7/xdata_xbitmaps/Config.in + source package/x11r7/xdata_xcursor-themes/Config.in + source package/x11r7/xcursor-transparent-theme/Config.in + endmenu +endif + +comment "X.org needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS diff --git a/buildroot-2021.05/package/x11r7/libxcb/Config.in b/buildroot-2022.02.1/package/x11r7/libxcb/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/libxcb/Config.in rename to buildroot-2022.02.1/package/x11r7/libxcb/Config.in diff --git a/buildroot-2021.05/package/x11r7/libxcb/libxcb.hash b/buildroot-2022.02.1/package/x11r7/libxcb/libxcb.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/libxcb/libxcb.hash rename to buildroot-2022.02.1/package/x11r7/libxcb/libxcb.hash diff --git a/buildroot-2021.05/package/x11r7/libxcb/libxcb.mk b/buildroot-2022.02.1/package/x11r7/libxcb/libxcb.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/libxcb/libxcb.mk rename to buildroot-2022.02.1/package/x11r7/libxcb/libxcb.mk diff --git a/buildroot-2021.05/package/x11r7/mcookie/Config.in b/buildroot-2022.02.1/package/x11r7/mcookie/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/mcookie/Config.in rename to buildroot-2022.02.1/package/x11r7/mcookie/Config.in diff --git a/buildroot-2021.05/package/x11r7/mcookie/mcookie.c b/buildroot-2022.02.1/package/x11r7/mcookie/mcookie.c similarity index 100% rename from buildroot-2021.05/package/x11r7/mcookie/mcookie.c rename to buildroot-2022.02.1/package/x11r7/mcookie/mcookie.c diff --git a/buildroot-2021.05/package/x11r7/mcookie/mcookie.mk b/buildroot-2022.02.1/package/x11r7/mcookie/mcookie.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/mcookie/mcookie.mk rename to buildroot-2022.02.1/package/x11r7/mcookie/mcookie.mk diff --git a/buildroot-2021.05/package/x11r7/x11r7.mk b/buildroot-2022.02.1/package/x11r7/x11r7.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/x11r7.mk rename to buildroot-2022.02.1/package/x11r7/x11r7.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_appres/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_appres/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_appres/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_appres/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_appres/xapp_appres.hash b/buildroot-2022.02.1/package/x11r7/xapp_appres/xapp_appres.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_appres/xapp_appres.hash rename to buildroot-2022.02.1/package/x11r7/xapp_appres/xapp_appres.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_appres/xapp_appres.mk b/buildroot-2022.02.1/package/x11r7/xapp_appres/xapp_appres.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_appres/xapp_appres.mk rename to buildroot-2022.02.1/package/x11r7/xapp_appres/xapp_appres.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_bdftopcf/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_bdftopcf/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_bdftopcf/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_bdftopcf/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.hash b/buildroot-2022.02.1/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.hash rename to buildroot-2022.02.1/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk b/buildroot-2022.02.1/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk rename to buildroot-2022.02.1/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_beforelight/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_beforelight/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_beforelight/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_beforelight/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_beforelight/xapp_beforelight.hash b/buildroot-2022.02.1/package/x11r7/xapp_beforelight/xapp_beforelight.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_beforelight/xapp_beforelight.hash rename to buildroot-2022.02.1/package/x11r7/xapp_beforelight/xapp_beforelight.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_beforelight/xapp_beforelight.mk b/buildroot-2022.02.1/package/x11r7/xapp_beforelight/xapp_beforelight.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_beforelight/xapp_beforelight.mk rename to buildroot-2022.02.1/package/x11r7/xapp_beforelight/xapp_beforelight.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_bitmap/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_bitmap/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_bitmap/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_bitmap/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_bitmap/xapp_bitmap.hash b/buildroot-2022.02.1/package/x11r7/xapp_bitmap/xapp_bitmap.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_bitmap/xapp_bitmap.hash rename to buildroot-2022.02.1/package/x11r7/xapp_bitmap/xapp_bitmap.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_bitmap/xapp_bitmap.mk b/buildroot-2022.02.1/package/x11r7/xapp_bitmap/xapp_bitmap.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_bitmap/xapp_bitmap.mk rename to buildroot-2022.02.1/package/x11r7/xapp_bitmap/xapp_bitmap.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_editres/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_editres/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_editres/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_editres/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_editres/xapp_editres.hash b/buildroot-2022.02.1/package/x11r7/xapp_editres/xapp_editres.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_editres/xapp_editres.hash rename to buildroot-2022.02.1/package/x11r7/xapp_editres/xapp_editres.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_editres/xapp_editres.mk b/buildroot-2022.02.1/package/x11r7/xapp_editres/xapp_editres.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_editres/xapp_editres.mk rename to buildroot-2022.02.1/package/x11r7/xapp_editres/xapp_editres.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_fonttosfnt/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_fonttosfnt/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_fonttosfnt/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_fonttosfnt/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.hash b/buildroot-2022.02.1/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.hash new file mode 100644 index 00000000..72077bee --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.hash @@ -0,0 +1,5 @@ +# From https://lists.x.org/archives/xorg-announce/2021-June/003093.html +sha256 1a1bb4ef25856dea7de3d491ae7231493225b400bee0f6a1f949017ffd203a64 fonttosfnt-1.2.2.tar.bz2 +sha512 ceac6ccb064043d46f9f16f31fb89c6cbf7f026d049f7b5325d6af97e809b4cd068e6149413bb328c0af601a98b5070e21d469888a6853f6cabecd5b46f60240 fonttosfnt-1.2.2.tar.bz2 +# Locally computed +sha256 f83378580cb7909a98b52bf5cd6a29f4894d76318c5c5312dd3f17a3e92beef1 COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.mk b/buildroot-2022.02.1/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.mk new file mode 100644 index 00000000..9fdccbb8 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_fonttosfnt/xapp_fonttosfnt.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# xapp_fonttosfnt +# +################################################################################ + +XAPP_FONTTOSFNT_VERSION = 1.2.2 +XAPP_FONTTOSFNT_SOURCE = fonttosfnt-$(XAPP_FONTTOSFNT_VERSION).tar.bz2 +XAPP_FONTTOSFNT_SITE = http://xorg.freedesktop.org/releases/individual/app +XAPP_FONTTOSFNT_LICENSE = MIT +XAPP_FONTTOSFNT_LICENSE_FILES = COPYING +XAPP_FONTTOSFNT_DEPENDENCIES = freetype xlib_libX11 xlib_libfontenc + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_fslsfonts/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_fslsfonts/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_fslsfonts/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_fslsfonts/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_fslsfonts/xapp_fslsfonts.hash b/buildroot-2022.02.1/package/x11r7/xapp_fslsfonts/xapp_fslsfonts.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_fslsfonts/xapp_fslsfonts.hash rename to buildroot-2022.02.1/package/x11r7/xapp_fslsfonts/xapp_fslsfonts.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_fslsfonts/xapp_fslsfonts.mk b/buildroot-2022.02.1/package/x11r7/xapp_fslsfonts/xapp_fslsfonts.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_fslsfonts/xapp_fslsfonts.mk rename to buildroot-2022.02.1/package/x11r7/xapp_fslsfonts/xapp_fslsfonts.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_fstobdf/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_fstobdf/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_fstobdf/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_fstobdf/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_fstobdf/xapp_fstobdf.hash b/buildroot-2022.02.1/package/x11r7/xapp_fstobdf/xapp_fstobdf.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_fstobdf/xapp_fstobdf.hash rename to buildroot-2022.02.1/package/x11r7/xapp_fstobdf/xapp_fstobdf.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_fstobdf/xapp_fstobdf.mk b/buildroot-2022.02.1/package/x11r7/xapp_fstobdf/xapp_fstobdf.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_fstobdf/xapp_fstobdf.mk rename to buildroot-2022.02.1/package/x11r7/xapp_fstobdf/xapp_fstobdf.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_iceauth/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_iceauth/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_iceauth/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_iceauth/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_iceauth/xapp_iceauth.hash b/buildroot-2022.02.1/package/x11r7/xapp_iceauth/xapp_iceauth.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_iceauth/xapp_iceauth.hash rename to buildroot-2022.02.1/package/x11r7/xapp_iceauth/xapp_iceauth.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_iceauth/xapp_iceauth.mk b/buildroot-2022.02.1/package/x11r7/xapp_iceauth/xapp_iceauth.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_iceauth/xapp_iceauth.mk rename to buildroot-2022.02.1/package/x11r7/xapp_iceauth/xapp_iceauth.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_ico/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_ico/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_ico/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_ico/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_ico/xapp_ico.hash b/buildroot-2022.02.1/package/x11r7/xapp_ico/xapp_ico.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_ico/xapp_ico.hash rename to buildroot-2022.02.1/package/x11r7/xapp_ico/xapp_ico.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_ico/xapp_ico.mk b/buildroot-2022.02.1/package/x11r7/xapp_ico/xapp_ico.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_ico/xapp_ico.mk rename to buildroot-2022.02.1/package/x11r7/xapp_ico/xapp_ico.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_listres/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_listres/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_listres/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_listres/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_listres/xapp_listres.hash b/buildroot-2022.02.1/package/x11r7/xapp_listres/xapp_listres.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_listres/xapp_listres.hash rename to buildroot-2022.02.1/package/x11r7/xapp_listres/xapp_listres.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_listres/xapp_listres.mk b/buildroot-2022.02.1/package/x11r7/xapp_listres/xapp_listres.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_listres/xapp_listres.mk rename to buildroot-2022.02.1/package/x11r7/xapp_listres/xapp_listres.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_luit/0001-posix-openpt.patch b/buildroot-2022.02.1/package/x11r7/xapp_luit/0001-posix-openpt.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_luit/0001-posix-openpt.patch rename to buildroot-2022.02.1/package/x11r7/xapp_luit/0001-posix-openpt.patch diff --git a/buildroot-2021.05/package/x11r7/xapp_luit/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_luit/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_luit/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_luit/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_luit/xapp_luit.hash b/buildroot-2022.02.1/package/x11r7/xapp_luit/xapp_luit.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_luit/xapp_luit.hash rename to buildroot-2022.02.1/package/x11r7/xapp_luit/xapp_luit.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_luit/xapp_luit.mk b/buildroot-2022.02.1/package/x11r7/xapp_luit/xapp_luit.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_luit/xapp_luit.mk rename to buildroot-2022.02.1/package/x11r7/xapp_luit/xapp_luit.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_mkfontscale/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_mkfontscale/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_mkfontscale/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_mkfontscale/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_mkfontscale/xapp_mkfontscale.hash b/buildroot-2022.02.1/package/x11r7/xapp_mkfontscale/xapp_mkfontscale.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_mkfontscale/xapp_mkfontscale.hash rename to buildroot-2022.02.1/package/x11r7/xapp_mkfontscale/xapp_mkfontscale.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk b/buildroot-2022.02.1/package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk rename to buildroot-2022.02.1/package/x11r7/xapp_mkfontscale/xapp_mkfontscale.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_oclock/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_oclock/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_oclock/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_oclock/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_oclock/xapp_oclock.hash b/buildroot-2022.02.1/package/x11r7/xapp_oclock/xapp_oclock.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_oclock/xapp_oclock.hash rename to buildroot-2022.02.1/package/x11r7/xapp_oclock/xapp_oclock.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_oclock/xapp_oclock.mk b/buildroot-2022.02.1/package/x11r7/xapp_oclock/xapp_oclock.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_oclock/xapp_oclock.mk rename to buildroot-2022.02.1/package/x11r7/xapp_oclock/xapp_oclock.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_rgb/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_rgb/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_rgb/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_rgb/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_rgb/xapp_rgb.hash b/buildroot-2022.02.1/package/x11r7/xapp_rgb/xapp_rgb.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_rgb/xapp_rgb.hash rename to buildroot-2022.02.1/package/x11r7/xapp_rgb/xapp_rgb.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_rgb/xapp_rgb.mk b/buildroot-2022.02.1/package/x11r7/xapp_rgb/xapp_rgb.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_rgb/xapp_rgb.mk rename to buildroot-2022.02.1/package/x11r7/xapp_rgb/xapp_rgb.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_rstart/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_rstart/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_rstart/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_rstart/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_rstart/xapp_rstart.hash b/buildroot-2022.02.1/package/x11r7/xapp_rstart/xapp_rstart.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_rstart/xapp_rstart.hash rename to buildroot-2022.02.1/package/x11r7/xapp_rstart/xapp_rstart.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_rstart/xapp_rstart.mk b/buildroot-2022.02.1/package/x11r7/xapp_rstart/xapp_rstart.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_rstart/xapp_rstart.mk rename to buildroot-2022.02.1/package/x11r7/xapp_rstart/xapp_rstart.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_scripts/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_scripts/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_scripts/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_scripts/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_scripts/xapp_scripts.hash b/buildroot-2022.02.1/package/x11r7/xapp_scripts/xapp_scripts.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_scripts/xapp_scripts.hash rename to buildroot-2022.02.1/package/x11r7/xapp_scripts/xapp_scripts.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_scripts/xapp_scripts.mk b/buildroot-2022.02.1/package/x11r7/xapp_scripts/xapp_scripts.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_scripts/xapp_scripts.mk rename to buildroot-2022.02.1/package/x11r7/xapp_scripts/xapp_scripts.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_sessreg/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_sessreg/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_sessreg/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_sessreg/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_sessreg/xapp_sessreg.hash b/buildroot-2022.02.1/package/x11r7/xapp_sessreg/xapp_sessreg.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_sessreg/xapp_sessreg.hash rename to buildroot-2022.02.1/package/x11r7/xapp_sessreg/xapp_sessreg.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_sessreg/xapp_sessreg.mk b/buildroot-2022.02.1/package/x11r7/xapp_sessreg/xapp_sessreg.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_sessreg/xapp_sessreg.mk rename to buildroot-2022.02.1/package/x11r7/xapp_sessreg/xapp_sessreg.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_setxkbmap/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_setxkbmap/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_setxkbmap/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_setxkbmap/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_setxkbmap/xapp_setxkbmap.hash b/buildroot-2022.02.1/package/x11r7/xapp_setxkbmap/xapp_setxkbmap.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_setxkbmap/xapp_setxkbmap.hash rename to buildroot-2022.02.1/package/x11r7/xapp_setxkbmap/xapp_setxkbmap.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_setxkbmap/xapp_setxkbmap.mk b/buildroot-2022.02.1/package/x11r7/xapp_setxkbmap/xapp_setxkbmap.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_setxkbmap/xapp_setxkbmap.mk rename to buildroot-2022.02.1/package/x11r7/xapp_setxkbmap/xapp_setxkbmap.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_showfont/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_showfont/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_showfont/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_showfont/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_showfont/xapp_showfont.hash b/buildroot-2022.02.1/package/x11r7/xapp_showfont/xapp_showfont.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_showfont/xapp_showfont.hash rename to buildroot-2022.02.1/package/x11r7/xapp_showfont/xapp_showfont.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_showfont/xapp_showfont.mk b/buildroot-2022.02.1/package/x11r7/xapp_showfont/xapp_showfont.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_showfont/xapp_showfont.mk rename to buildroot-2022.02.1/package/x11r7/xapp_showfont/xapp_showfont.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_smproxy/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_smproxy/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_smproxy/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_smproxy/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_smproxy/xapp_smproxy.hash b/buildroot-2022.02.1/package/x11r7/xapp_smproxy/xapp_smproxy.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_smproxy/xapp_smproxy.hash rename to buildroot-2022.02.1/package/x11r7/xapp_smproxy/xapp_smproxy.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_smproxy/xapp_smproxy.mk b/buildroot-2022.02.1/package/x11r7/xapp_smproxy/xapp_smproxy.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_smproxy/xapp_smproxy.mk rename to buildroot-2022.02.1/package/x11r7/xapp_smproxy/xapp_smproxy.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_twm/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_twm/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_twm/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_twm/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_twm/xapp_twm.hash b/buildroot-2022.02.1/package/x11r7/xapp_twm/xapp_twm.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_twm/xapp_twm.hash rename to buildroot-2022.02.1/package/x11r7/xapp_twm/xapp_twm.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_twm/xapp_twm.mk b/buildroot-2022.02.1/package/x11r7/xapp_twm/xapp_twm.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_twm/xapp_twm.mk rename to buildroot-2022.02.1/package/x11r7/xapp_twm/xapp_twm.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_viewres/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_viewres/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_viewres/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_viewres/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_viewres/xapp_viewres.hash b/buildroot-2022.02.1/package/x11r7/xapp_viewres/xapp_viewres.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_viewres/xapp_viewres.hash rename to buildroot-2022.02.1/package/x11r7/xapp_viewres/xapp_viewres.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_viewres/xapp_viewres.mk b/buildroot-2022.02.1/package/x11r7/xapp_viewres/xapp_viewres.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_viewres/xapp_viewres.mk rename to buildroot-2022.02.1/package/x11r7/xapp_viewres/xapp_viewres.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_x11perf/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_x11perf/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_x11perf/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_x11perf/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_x11perf/xapp_x11perf.hash b/buildroot-2022.02.1/package/x11r7/xapp_x11perf/xapp_x11perf.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_x11perf/xapp_x11perf.hash rename to buildroot-2022.02.1/package/x11r7/xapp_x11perf/xapp_x11perf.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_x11perf/xapp_x11perf.mk b/buildroot-2022.02.1/package/x11r7/xapp_x11perf/xapp_x11perf.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_x11perf/xapp_x11perf.mk rename to buildroot-2022.02.1/package/x11r7/xapp_x11perf/xapp_x11perf.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xauth/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xauth/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xauth/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xauth/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xauth/xapp_xauth.hash b/buildroot-2022.02.1/package/x11r7/xapp_xauth/xapp_xauth.hash new file mode 100644 index 00000000..22ea4cad --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xauth/xapp_xauth.hash @@ -0,0 +1,6 @@ +# From https://lists.x.org/archives/xorg-announce/2021-November/003118.html +sha256 164ea0a29137b284a47b886ef2affcb0a74733bf3aad04f9b106b1a6c82ebd92 xauth-1.1.1.tar.bz2 +sha512 998c3158378fff50d368959c29335173b8d98e02591cb3d7b2f9534b5a44b19deb4cb7da9bf291ca5a37f69f833d72839b2c6611723306d10c1b4968ae4d4120 xauth-1.1.1.tar.bz2 + +# Locally computed +sha256 dcdf5fa36a652efbe61a21def1301739b0010334ae3f049f1cff433221a8c7a5 COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xauth/xapp_xauth.mk b/buildroot-2022.02.1/package/x11r7/xapp_xauth/xapp_xauth.mk new file mode 100644 index 00000000..64b064d3 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xauth/xapp_xauth.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# xapp_xauth +# +################################################################################ + +XAPP_XAUTH_VERSION = 1.1.1 +XAPP_XAUTH_SOURCE = xauth-$(XAPP_XAUTH_VERSION).tar.bz2 +XAPP_XAUTH_SITE = http://xorg.freedesktop.org/releases/individual/app +XAPP_XAUTH_LICENSE = MIT +XAPP_XAUTH_LICENSE_FILES = COPYING +XAPP_XAUTH_DEPENDENCIES = xlib_libX11 xlib_libXau xlib_libXext xlib_libXmu + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xbacklight/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xbacklight/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xbacklight/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xbacklight/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xbacklight/xapp_xbacklight.hash b/buildroot-2022.02.1/package/x11r7/xapp_xbacklight/xapp_xbacklight.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xbacklight/xapp_xbacklight.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xbacklight/xapp_xbacklight.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xbacklight/xapp_xbacklight.mk b/buildroot-2022.02.1/package/x11r7/xapp_xbacklight/xapp_xbacklight.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xbacklight/xapp_xbacklight.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xbacklight/xapp_xbacklight.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xbiff/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xbiff/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xbiff/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xbiff/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xbiff/xapp_xbiff.hash b/buildroot-2022.02.1/package/x11r7/xapp_xbiff/xapp_xbiff.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xbiff/xapp_xbiff.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xbiff/xapp_xbiff.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xbiff/xapp_xbiff.mk b/buildroot-2022.02.1/package/x11r7/xapp_xbiff/xapp_xbiff.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xbiff/xapp_xbiff.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xbiff/xapp_xbiff.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xcalc/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xcalc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcalc/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xcalc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xcalc/xapp_xcalc.hash b/buildroot-2022.02.1/package/x11r7/xapp_xcalc/xapp_xcalc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcalc/xapp_xcalc.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xcalc/xapp_xcalc.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xcalc/xapp_xcalc.mk b/buildroot-2022.02.1/package/x11r7/xapp_xcalc/xapp_xcalc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcalc/xapp_xcalc.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xcalc/xapp_xcalc.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xclipboard/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xclipboard/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xclipboard/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xclipboard/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xclipboard/xapp_xclipboard.hash b/buildroot-2022.02.1/package/x11r7/xapp_xclipboard/xapp_xclipboard.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xclipboard/xapp_xclipboard.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xclipboard/xapp_xclipboard.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xclipboard/xapp_xclipboard.mk b/buildroot-2022.02.1/package/x11r7/xapp_xclipboard/xapp_xclipboard.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xclipboard/xapp_xclipboard.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xclipboard/xapp_xclipboard.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xclock/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xclock/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xclock/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xclock/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xclock/xapp_xclock.hash b/buildroot-2022.02.1/package/x11r7/xapp_xclock/xapp_xclock.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xclock/xapp_xclock.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xclock/xapp_xclock.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xclock/xapp_xclock.mk b/buildroot-2022.02.1/package/x11r7/xapp_xclock/xapp_xclock.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xclock/xapp_xclock.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xclock/xapp_xclock.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xcmsdb/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xcmsdb/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcmsdb/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xcmsdb/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xcmsdb/xapp_xcmsdb.hash b/buildroot-2022.02.1/package/x11r7/xapp_xcmsdb/xapp_xcmsdb.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcmsdb/xapp_xcmsdb.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xcmsdb/xapp_xcmsdb.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xcmsdb/xapp_xcmsdb.mk b/buildroot-2022.02.1/package/x11r7/xapp_xcmsdb/xapp_xcmsdb.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcmsdb/xapp_xcmsdb.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xcmsdb/xapp_xcmsdb.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xcompmgr/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xcompmgr/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcompmgr/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xcompmgr/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xcompmgr/xapp_xcompmgr.hash b/buildroot-2022.02.1/package/x11r7/xapp_xcompmgr/xapp_xcompmgr.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcompmgr/xapp_xcompmgr.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xcompmgr/xapp_xcompmgr.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xcompmgr/xapp_xcompmgr.mk b/buildroot-2022.02.1/package/x11r7/xapp_xcompmgr/xapp_xcompmgr.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcompmgr/xapp_xcompmgr.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xcompmgr/xapp_xcompmgr.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xconsole/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xconsole/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xconsole/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xconsole/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xconsole/xapp_xconsole.hash b/buildroot-2022.02.1/package/x11r7/xapp_xconsole/xapp_xconsole.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xconsole/xapp_xconsole.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xconsole/xapp_xconsole.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xconsole/xapp_xconsole.mk b/buildroot-2022.02.1/package/x11r7/xapp_xconsole/xapp_xconsole.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xconsole/xapp_xconsole.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xconsole/xapp_xconsole.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xcursorgen/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xcursorgen/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcursorgen/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xcursorgen/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.hash b/buildroot-2022.02.1/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk b/buildroot-2022.02.1/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xcursorgen/xapp_xcursorgen.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xdbedizzy/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xdbedizzy/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdbedizzy/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xdbedizzy/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.hash b/buildroot-2022.02.1/package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.mk b/buildroot-2022.02.1/package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xdbedizzy/xapp_xdbedizzy.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xditview/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xditview/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xditview/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xditview/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xditview/xapp_xditview.hash b/buildroot-2022.02.1/package/x11r7/xapp_xditview/xapp_xditview.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xditview/xapp_xditview.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xditview/xapp_xditview.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xditview/xapp_xditview.mk b/buildroot-2022.02.1/package/x11r7/xapp_xditview/xapp_xditview.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xditview/xapp_xditview.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xditview/xapp_xditview.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xdm/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xdm/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdm/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xdm/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xdm/S99xdm b/buildroot-2022.02.1/package/x11r7/xapp_xdm/S99xdm similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdm/S99xdm rename to buildroot-2022.02.1/package/x11r7/xapp_xdm/S99xdm diff --git a/buildroot-2021.05/package/x11r7/xapp_xdm/xapp_xdm.hash b/buildroot-2022.02.1/package/x11r7/xapp_xdm/xapp_xdm.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdm/xapp_xdm.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xdm/xapp_xdm.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xdm/xapp_xdm.mk b/buildroot-2022.02.1/package/x11r7/xapp_xdm/xapp_xdm.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdm/xapp_xdm.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xdm/xapp_xdm.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xdpyinfo/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xdpyinfo/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdpyinfo/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xdpyinfo/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.hash b/buildroot-2022.02.1/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.mk b/buildroot-2022.02.1/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xdpyinfo/xapp_xdpyinfo.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xdriinfo/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xdriinfo/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdriinfo/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xdriinfo/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xdriinfo/xapp_xdriinfo.hash b/buildroot-2022.02.1/package/x11r7/xapp_xdriinfo/xapp_xdriinfo.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdriinfo/xapp_xdriinfo.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xdriinfo/xapp_xdriinfo.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xdriinfo/xapp_xdriinfo.mk b/buildroot-2022.02.1/package/x11r7/xapp_xdriinfo/xapp_xdriinfo.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xdriinfo/xapp_xdriinfo.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xdriinfo/xapp_xdriinfo.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xedit/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xedit/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xedit/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xedit/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xedit/xapp_xedit.hash b/buildroot-2022.02.1/package/x11r7/xapp_xedit/xapp_xedit.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xedit/xapp_xedit.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xedit/xapp_xedit.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xedit/xapp_xedit.mk b/buildroot-2022.02.1/package/x11r7/xapp_xedit/xapp_xedit.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xedit/xapp_xedit.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xedit/xapp_xedit.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xev/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xev/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xev/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xev/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xev/xapp_xev.hash b/buildroot-2022.02.1/package/x11r7/xapp_xev/xapp_xev.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xev/xapp_xev.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xev/xapp_xev.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xev/xapp_xev.mk b/buildroot-2022.02.1/package/x11r7/xapp_xev/xapp_xev.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xev/xapp_xev.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xev/xapp_xev.mk diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xeyes/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xeyes/Config.in new file mode 100644 index 00000000..268bc580 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xeyes/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_XAPP_XEYES + bool "xeyes" + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXI + select BR2_PACKAGE_XLIB_LIBXMU + select BR2_PACKAGE_XLIB_LIBXT + help + X.Org xeyes application diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xeyes/xapp_xeyes.hash b/buildroot-2022.02.1/package/x11r7/xapp_xeyes/xapp_xeyes.hash new file mode 100644 index 00000000..734492b6 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xeyes/xapp_xeyes.hash @@ -0,0 +1,5 @@ +# From https://lists.x.org/archives/xorg-announce/2021-August/003101.html +sha256 f8a17e23146bef1ab345a1e303c6749e42aaa7bcf4f25428afad41770721b6db xeyes-1.2.0.tar.bz2 +sha512 2d1614614b3ba3d1ebaa0e9801a2e159389b94aaacafb962d326b7e6dc712c1eb2c12a50ceb10b3135cf0eee6ae86bbf84e73098deb08e73792f14a60616b4d8 xeyes-1.2.0.tar.bz2 +# Locally computed +sha256 d8de1de40e16227d1eb4b19e95117ce3f990f71f71df096a2259b0bc9931e042 COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xeyes/xapp_xeyes.mk b/buildroot-2022.02.1/package/x11r7/xapp_xeyes/xapp_xeyes.mk new file mode 100644 index 00000000..3f37aaee --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xeyes/xapp_xeyes.mk @@ -0,0 +1,26 @@ +################################################################################ +# +# xapp_xeyes +# +################################################################################ + +XAPP_XEYES_VERSION = 1.2.0 +XAPP_XEYES_SOURCE = xeyes-$(XAPP_XEYES_VERSION).tar.bz2 +XAPP_XEYES_SITE = https://xorg.freedesktop.org/archive/individual/app +XAPP_XEYES_LICENSE = MIT +XAPP_XEYES_LICENSE_FILES = COPYING +XAPP_XEYES_DEPENDENCIES = \ + xlib_libX11 \ + xlib_libXext \ + xlib_libXi \ + xlib_libXmu \ + xlib_libXt + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y) +XAPP_XEYES_DEPENDENCIES += xlib_libXrender +XAPP_XEYES_CONF_OPTS += --with-xrender +else +XAPP_XEYES_CONF_OPTS += --without-xrender +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xf86dga/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xf86dga/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xf86dga/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xf86dga/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xf86dga/xapp_xf86dga.hash b/buildroot-2022.02.1/package/x11r7/xapp_xf86dga/xapp_xf86dga.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xf86dga/xapp_xf86dga.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xf86dga/xapp_xf86dga.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xf86dga/xapp_xf86dga.mk b/buildroot-2022.02.1/package/x11r7/xapp_xf86dga/xapp_xf86dga.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xf86dga/xapp_xf86dga.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xf86dga/xapp_xf86dga.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xfd/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xfd/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfd/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xfd/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xfd/xapp_xfd.hash b/buildroot-2022.02.1/package/x11r7/xapp_xfd/xapp_xfd.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfd/xapp_xfd.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xfd/xapp_xfd.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xfd/xapp_xfd.mk b/buildroot-2022.02.1/package/x11r7/xapp_xfd/xapp_xfd.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfd/xapp_xfd.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xfd/xapp_xfd.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xfindproxy/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xfindproxy/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfindproxy/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xfindproxy/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xfindproxy/xapp_xfindproxy.hash b/buildroot-2022.02.1/package/x11r7/xapp_xfindproxy/xapp_xfindproxy.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfindproxy/xapp_xfindproxy.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xfindproxy/xapp_xfindproxy.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xfindproxy/xapp_xfindproxy.mk b/buildroot-2022.02.1/package/x11r7/xapp_xfindproxy/xapp_xfindproxy.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfindproxy/xapp_xfindproxy.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xfindproxy/xapp_xfindproxy.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xfontsel/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xfontsel/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfontsel/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xfontsel/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xfontsel/xapp_xfontsel.hash b/buildroot-2022.02.1/package/x11r7/xapp_xfontsel/xapp_xfontsel.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfontsel/xapp_xfontsel.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xfontsel/xapp_xfontsel.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xfontsel/xapp_xfontsel.mk b/buildroot-2022.02.1/package/x11r7/xapp_xfontsel/xapp_xfontsel.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfontsel/xapp_xfontsel.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xfontsel/xapp_xfontsel.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xfs/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xfs/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfs/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xfs/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xfs/xapp_xfs.hash b/buildroot-2022.02.1/package/x11r7/xapp_xfs/xapp_xfs.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfs/xapp_xfs.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xfs/xapp_xfs.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xfs/xapp_xfs.mk b/buildroot-2022.02.1/package/x11r7/xapp_xfs/xapp_xfs.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfs/xapp_xfs.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xfs/xapp_xfs.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xfsinfo/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xfsinfo/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfsinfo/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xfsinfo/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xfsinfo/xapp_xfsinfo.hash b/buildroot-2022.02.1/package/x11r7/xapp_xfsinfo/xapp_xfsinfo.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfsinfo/xapp_xfsinfo.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xfsinfo/xapp_xfsinfo.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xfsinfo/xapp_xfsinfo.mk b/buildroot-2022.02.1/package/x11r7/xapp_xfsinfo/xapp_xfsinfo.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xfsinfo/xapp_xfsinfo.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xfsinfo/xapp_xfsinfo.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xgamma/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xgamma/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xgamma/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xgamma/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xgamma/xapp_xgamma.hash b/buildroot-2022.02.1/package/x11r7/xapp_xgamma/xapp_xgamma.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xgamma/xapp_xgamma.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xgamma/xapp_xgamma.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xgamma/xapp_xgamma.mk b/buildroot-2022.02.1/package/x11r7/xapp_xgamma/xapp_xgamma.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xgamma/xapp_xgamma.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xgamma/xapp_xgamma.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xgc/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xgc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xgc/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xgc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xgc/xapp_xgc.hash b/buildroot-2022.02.1/package/x11r7/xapp_xgc/xapp_xgc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xgc/xapp_xgc.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xgc/xapp_xgc.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xgc/xapp_xgc.mk b/buildroot-2022.02.1/package/x11r7/xapp_xgc/xapp_xgc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xgc/xapp_xgc.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xgc/xapp_xgc.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xhost/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xhost/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xhost/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xhost/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xhost/xapp_xhost.hash b/buildroot-2022.02.1/package/x11r7/xapp_xhost/xapp_xhost.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xhost/xapp_xhost.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xhost/xapp_xhost.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xhost/xapp_xhost.mk b/buildroot-2022.02.1/package/x11r7/xapp_xhost/xapp_xhost.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xhost/xapp_xhost.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xhost/xapp_xhost.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xinit/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xinit/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xinit/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xinit/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xinit/xapp_xinit.hash b/buildroot-2022.02.1/package/x11r7/xapp_xinit/xapp_xinit.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xinit/xapp_xinit.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xinit/xapp_xinit.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xinit/xapp_xinit.mk b/buildroot-2022.02.1/package/x11r7/xapp_xinit/xapp_xinit.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xinit/xapp_xinit.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xinit/xapp_xinit.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xinput-calibrator/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xinput-calibrator/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xinput-calibrator/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xinput-calibrator/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.hash b/buildroot-2022.02.1/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.hash diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.mk b/buildroot-2022.02.1/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.mk new file mode 100644 index 00000000..be86608b --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xinput-calibrator/xapp_xinput-calibrator.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# xapp_xinput-calibrator +# +################################################################################ + +XAPP_XINPUT_CALIBRATOR_VERSION = 0.7.5 +XAPP_XINPUT_CALIBRATOR_SOURCE = xinput_calibrator-$(XAPP_XINPUT_CALIBRATOR_VERSION).tar.gz +XAPP_XINPUT_CALIBRATOR_SITE = https://github.com/downloads/tias/xinput_calibrator +XAPP_XINPUT_CALIBRATOR_LICENSE = MIT +XAPP_XINPUT_CALIBRATOR_LICENSE_FILES = COPYING +XAPP_XINPUT_CALIBRATOR_DEPENDENCIES = xlib_libX11 xlib_libXi + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xinput/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xinput/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xinput/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xinput/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xinput/xapp_xinput.hash b/buildroot-2022.02.1/package/x11r7/xapp_xinput/xapp_xinput.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xinput/xapp_xinput.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xinput/xapp_xinput.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xinput/xapp_xinput.mk b/buildroot-2022.02.1/package/x11r7/xapp_xinput/xapp_xinput.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xinput/xapp_xinput.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xinput/xapp_xinput.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbcomp/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xkbcomp/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbcomp/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xkbcomp/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbcomp/xapp_xkbcomp.hash b/buildroot-2022.02.1/package/x11r7/xapp_xkbcomp/xapp_xkbcomp.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbcomp/xapp_xkbcomp.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xkbcomp/xapp_xkbcomp.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk b/buildroot-2022.02.1/package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xkbcomp/xapp_xkbcomp.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbevd/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xkbevd/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbevd/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xkbevd/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbevd/xapp_xkbevd.hash b/buildroot-2022.02.1/package/x11r7/xapp_xkbevd/xapp_xkbevd.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbevd/xapp_xkbevd.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xkbevd/xapp_xkbevd.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbevd/xapp_xkbevd.mk b/buildroot-2022.02.1/package/x11r7/xapp_xkbevd/xapp_xkbevd.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbevd/xapp_xkbevd.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xkbevd/xapp_xkbevd.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbprint/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xkbprint/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbprint/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xkbprint/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbprint/xapp_xkbprint.hash b/buildroot-2022.02.1/package/x11r7/xapp_xkbprint/xapp_xkbprint.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbprint/xapp_xkbprint.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xkbprint/xapp_xkbprint.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbprint/xapp_xkbprint.mk b/buildroot-2022.02.1/package/x11r7/xapp_xkbprint/xapp_xkbprint.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbprint/xapp_xkbprint.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xkbprint/xapp_xkbprint.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbutils/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xkbutils/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbutils/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xkbutils/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbutils/xapp_xkbutils.hash b/buildroot-2022.02.1/package/x11r7/xapp_xkbutils/xapp_xkbutils.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbutils/xapp_xkbutils.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xkbutils/xapp_xkbutils.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xkbutils/xapp_xkbutils.mk b/buildroot-2022.02.1/package/x11r7/xapp_xkbutils/xapp_xkbutils.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkbutils/xapp_xkbutils.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xkbutils/xapp_xkbutils.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xkill/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xkill/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkill/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xkill/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xkill/xapp_xkill.hash b/buildroot-2022.02.1/package/x11r7/xapp_xkill/xapp_xkill.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkill/xapp_xkill.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xkill/xapp_xkill.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xkill/xapp_xkill.mk b/buildroot-2022.02.1/package/x11r7/xapp_xkill/xapp_xkill.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xkill/xapp_xkill.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xkill/xapp_xkill.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xload/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xload/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xload/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xload/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xload/xapp_xload.hash b/buildroot-2022.02.1/package/x11r7/xapp_xload/xapp_xload.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xload/xapp_xload.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xload/xapp_xload.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xload/xapp_xload.mk b/buildroot-2022.02.1/package/x11r7/xapp_xload/xapp_xload.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xload/xapp_xload.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xload/xapp_xload.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xlogo/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xlogo/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlogo/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xlogo/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xlogo/xapp_xlogo.hash b/buildroot-2022.02.1/package/x11r7/xapp_xlogo/xapp_xlogo.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlogo/xapp_xlogo.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xlogo/xapp_xlogo.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xlogo/xapp_xlogo.mk b/buildroot-2022.02.1/package/x11r7/xapp_xlogo/xapp_xlogo.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlogo/xapp_xlogo.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xlogo/xapp_xlogo.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsatoms/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xlsatoms/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsatoms/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xlsatoms/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsatoms/xapp_xlsatoms.hash b/buildroot-2022.02.1/package/x11r7/xapp_xlsatoms/xapp_xlsatoms.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsatoms/xapp_xlsatoms.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xlsatoms/xapp_xlsatoms.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsatoms/xapp_xlsatoms.mk b/buildroot-2022.02.1/package/x11r7/xapp_xlsatoms/xapp_xlsatoms.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsatoms/xapp_xlsatoms.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xlsatoms/xapp_xlsatoms.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsclients/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xlsclients/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsclients/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xlsclients/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsclients/xapp_xlsclients.hash b/buildroot-2022.02.1/package/x11r7/xapp_xlsclients/xapp_xlsclients.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsclients/xapp_xlsclients.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xlsclients/xapp_xlsclients.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsclients/xapp_xlsclients.mk b/buildroot-2022.02.1/package/x11r7/xapp_xlsclients/xapp_xlsclients.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsclients/xapp_xlsclients.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xlsclients/xapp_xlsclients.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsfonts/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xlsfonts/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsfonts/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xlsfonts/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsfonts/xapp_xlsfonts.hash b/buildroot-2022.02.1/package/x11r7/xapp_xlsfonts/xapp_xlsfonts.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsfonts/xapp_xlsfonts.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xlsfonts/xapp_xlsfonts.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xlsfonts/xapp_xlsfonts.mk b/buildroot-2022.02.1/package/x11r7/xapp_xlsfonts/xapp_xlsfonts.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xlsfonts/xapp_xlsfonts.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xlsfonts/xapp_xlsfonts.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xmag/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xmag/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmag/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xmag/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xmag/xapp_xmag.hash b/buildroot-2022.02.1/package/x11r7/xapp_xmag/xapp_xmag.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmag/xapp_xmag.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xmag/xapp_xmag.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xmag/xapp_xmag.mk b/buildroot-2022.02.1/package/x11r7/xapp_xmag/xapp_xmag.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmag/xapp_xmag.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xmag/xapp_xmag.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xman/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xman/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xman/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xman/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xman/xapp_xman.hash b/buildroot-2022.02.1/package/x11r7/xapp_xman/xapp_xman.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xman/xapp_xman.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xman/xapp_xman.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xman/xapp_xman.mk b/buildroot-2022.02.1/package/x11r7/xapp_xman/xapp_xman.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xman/xapp_xman.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xman/xapp_xman.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xmessage/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xmessage/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmessage/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xmessage/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xmessage/xapp_xmessage.hash b/buildroot-2022.02.1/package/x11r7/xapp_xmessage/xapp_xmessage.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmessage/xapp_xmessage.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xmessage/xapp_xmessage.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xmessage/xapp_xmessage.mk b/buildroot-2022.02.1/package/x11r7/xapp_xmessage/xapp_xmessage.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmessage/xapp_xmessage.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xmessage/xapp_xmessage.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xmh/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xmh/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmh/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xmh/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xmh/xapp_xmh.hash b/buildroot-2022.02.1/package/x11r7/xapp_xmh/xapp_xmh.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmh/xapp_xmh.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xmh/xapp_xmh.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xmh/xapp_xmh.mk b/buildroot-2022.02.1/package/x11r7/xapp_xmh/xapp_xmh.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmh/xapp_xmh.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xmh/xapp_xmh.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xmodmap/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xmodmap/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmodmap/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xmodmap/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xmodmap/xapp_xmodmap.hash b/buildroot-2022.02.1/package/x11r7/xapp_xmodmap/xapp_xmodmap.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmodmap/xapp_xmodmap.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xmodmap/xapp_xmodmap.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xmodmap/xapp_xmodmap.mk b/buildroot-2022.02.1/package/x11r7/xapp_xmodmap/xapp_xmodmap.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmodmap/xapp_xmodmap.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xmodmap/xapp_xmodmap.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xmore/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xmore/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmore/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xmore/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xmore/xapp_xmore.hash b/buildroot-2022.02.1/package/x11r7/xapp_xmore/xapp_xmore.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmore/xapp_xmore.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xmore/xapp_xmore.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xmore/xapp_xmore.mk b/buildroot-2022.02.1/package/x11r7/xapp_xmore/xapp_xmore.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xmore/xapp_xmore.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xmore/xapp_xmore.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xpr/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xpr/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xpr/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xpr/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xpr/xapp_xpr.hash b/buildroot-2022.02.1/package/x11r7/xapp_xpr/xapp_xpr.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xpr/xapp_xpr.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xpr/xapp_xpr.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xpr/xapp_xpr.mk b/buildroot-2022.02.1/package/x11r7/xapp_xpr/xapp_xpr.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xpr/xapp_xpr.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xpr/xapp_xpr.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xprop/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xprop/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xprop/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xprop/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xprop/xapp_xprop.hash b/buildroot-2022.02.1/package/x11r7/xapp_xprop/xapp_xprop.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xprop/xapp_xprop.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xprop/xapp_xprop.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xprop/xapp_xprop.mk b/buildroot-2022.02.1/package/x11r7/xapp_xprop/xapp_xprop.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xprop/xapp_xprop.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xprop/xapp_xprop.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xrandr/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xrandr/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xrandr/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xrandr/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xrandr/xapp_xrandr.hash b/buildroot-2022.02.1/package/x11r7/xapp_xrandr/xapp_xrandr.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xrandr/xapp_xrandr.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xrandr/xapp_xrandr.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xrandr/xapp_xrandr.mk b/buildroot-2022.02.1/package/x11r7/xapp_xrandr/xapp_xrandr.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xrandr/xapp_xrandr.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xrandr/xapp_xrandr.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xrdb/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xrdb/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xrdb/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xrdb/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xrdb/xapp_xrdb.hash b/buildroot-2022.02.1/package/x11r7/xapp_xrdb/xapp_xrdb.hash new file mode 100644 index 00000000..606fd260 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xrdb/xapp_xrdb.hash @@ -0,0 +1,5 @@ +# From https://lists.x.org/archives/xorg-announce/2021-August/003107.html +sha256 4f5d031c214ffb88a42ae7528492abde1178f5146351ceb3c05f3b8d5abee8b4 xrdb-1.2.1.tar.bz2 +sha512 d88135cdfea8536523dfb986249ee42761d5363c936352f12f55b4d0c849f21236f7d74d39869c5ec5b549019d6ed89d9096cde4b3c2b4816c2778a8e370b5c9 xrdb-1.2.1.tar.bz2 +# Locally computed +sha256 ca1b3e2f9f37c35876b69a9c1c5a7860fae59b7ba87a1d2dc541b722e29b1ecc COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xrdb/xapp_xrdb.mk b/buildroot-2022.02.1/package/x11r7/xapp_xrdb/xapp_xrdb.mk new file mode 100644 index 00000000..4f9860d2 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xrdb/xapp_xrdb.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# xapp_xrdb +# +################################################################################ + +XAPP_XRDB_VERSION = 1.2.1 +XAPP_XRDB_SOURCE = xrdb-$(XAPP_XRDB_VERSION).tar.bz2 +XAPP_XRDB_SITE = https://xorg.freedesktop.org/archive/individual/app +XAPP_XRDB_LICENSE = MIT +XAPP_XRDB_LICENSE_FILES = COPYING +XAPP_XRDB_DEPENDENCIES = xlib_libX11 xlib_libXmu + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xrefresh/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xrefresh/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xrefresh/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xrefresh/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xrefresh/xapp_xrefresh.hash b/buildroot-2022.02.1/package/x11r7/xapp_xrefresh/xapp_xrefresh.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xrefresh/xapp_xrefresh.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xrefresh/xapp_xrefresh.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xrefresh/xapp_xrefresh.mk b/buildroot-2022.02.1/package/x11r7/xapp_xrefresh/xapp_xrefresh.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xrefresh/xapp_xrefresh.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xrefresh/xapp_xrefresh.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xset/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xset/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xset/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xset/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xset/xapp_xset.hash b/buildroot-2022.02.1/package/x11r7/xapp_xset/xapp_xset.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xset/xapp_xset.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xset/xapp_xset.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xset/xapp_xset.mk b/buildroot-2022.02.1/package/x11r7/xapp_xset/xapp_xset.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xset/xapp_xset.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xset/xapp_xset.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetmode/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xsetmode/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetmode/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xsetmode/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetmode/xapp_xsetmode.hash b/buildroot-2022.02.1/package/x11r7/xapp_xsetmode/xapp_xsetmode.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetmode/xapp_xsetmode.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xsetmode/xapp_xsetmode.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetmode/xapp_xsetmode.mk b/buildroot-2022.02.1/package/x11r7/xapp_xsetmode/xapp_xsetmode.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetmode/xapp_xsetmode.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xsetmode/xapp_xsetmode.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetpointer/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xsetpointer/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetpointer/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xsetpointer/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetpointer/xapp_xsetpointer.hash b/buildroot-2022.02.1/package/x11r7/xapp_xsetpointer/xapp_xsetpointer.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetpointer/xapp_xsetpointer.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xsetpointer/xapp_xsetpointer.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetpointer/xapp_xsetpointer.mk b/buildroot-2022.02.1/package/x11r7/xapp_xsetpointer/xapp_xsetpointer.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetpointer/xapp_xsetpointer.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xsetpointer/xapp_xsetpointer.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetroot/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xsetroot/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetroot/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xsetroot/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetroot/xapp_xsetroot.hash b/buildroot-2022.02.1/package/x11r7/xapp_xsetroot/xapp_xsetroot.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetroot/xapp_xsetroot.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xsetroot/xapp_xsetroot.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xsetroot/xapp_xsetroot.mk b/buildroot-2022.02.1/package/x11r7/xapp_xsetroot/xapp_xsetroot.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsetroot/xapp_xsetroot.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xsetroot/xapp_xsetroot.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xsm/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xsm/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsm/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xsm/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xsm/xapp_xsm.hash b/buildroot-2022.02.1/package/x11r7/xapp_xsm/xapp_xsm.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsm/xapp_xsm.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xsm/xapp_xsm.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xsm/xapp_xsm.mk b/buildroot-2022.02.1/package/x11r7/xapp_xsm/xapp_xsm.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xsm/xapp_xsm.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xsm/xapp_xsm.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xstdcmap/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xstdcmap/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xstdcmap/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xstdcmap/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xstdcmap/xapp_xstdcmap.hash b/buildroot-2022.02.1/package/x11r7/xapp_xstdcmap/xapp_xstdcmap.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xstdcmap/xapp_xstdcmap.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xstdcmap/xapp_xstdcmap.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xstdcmap/xapp_xstdcmap.mk b/buildroot-2022.02.1/package/x11r7/xapp_xstdcmap/xapp_xstdcmap.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xstdcmap/xapp_xstdcmap.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xstdcmap/xapp_xstdcmap.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xvidtune/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xvidtune/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xvidtune/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xvidtune/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xvidtune/xapp_xvidtune.hash b/buildroot-2022.02.1/package/x11r7/xapp_xvidtune/xapp_xvidtune.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xvidtune/xapp_xvidtune.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xvidtune/xapp_xvidtune.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xvidtune/xapp_xvidtune.mk b/buildroot-2022.02.1/package/x11r7/xapp_xvidtune/xapp_xvidtune.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xvidtune/xapp_xvidtune.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xvidtune/xapp_xvidtune.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xvinfo/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xvinfo/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xvinfo/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xvinfo/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xvinfo/xapp_xvinfo.hash b/buildroot-2022.02.1/package/x11r7/xapp_xvinfo/xapp_xvinfo.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xvinfo/xapp_xvinfo.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xvinfo/xapp_xvinfo.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xvinfo/xapp_xvinfo.mk b/buildroot-2022.02.1/package/x11r7/xapp_xvinfo/xapp_xvinfo.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xvinfo/xapp_xvinfo.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xvinfo/xapp_xvinfo.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xwd/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xwd/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xwd/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xwd/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xwd/xapp_xwd.hash b/buildroot-2022.02.1/package/x11r7/xapp_xwd/xapp_xwd.hash new file mode 100644 index 00000000..75952864 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xwd/xapp_xwd.hash @@ -0,0 +1,5 @@ +# From https://lists.x.org/archives/xorg-announce/2021-August/003102.html +sha256 fbaa2b34163714fe7be22b60920ea4683f63b355babb1781aec2e452a033031b xwd-1.0.8.tar.bz2 +sha512 d2aaf42c60d20c4b09f4947d3702058dbfad4633b2c5c8ea62e8897fc9ced1ab3417ce99255a223286d21a731f543019470737e3074f1bc68033b4eb47bc773e xwd-1.0.8.tar.bz2 +# Locally computed +sha256 7cfda56afd92a1ecd2f23bd0064e01b5141053390d854785504adfe2c0fbd946 COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xapp_xwd/xapp_xwd.mk b/buildroot-2022.02.1/package/x11r7/xapp_xwd/xapp_xwd.mk new file mode 100644 index 00000000..1c5bd501 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xapp_xwd/xapp_xwd.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# xapp_xwd +# +################################################################################ + +XAPP_XWD_VERSION = 1.0.8 +XAPP_XWD_SOURCE = xwd-$(XAPP_XWD_VERSION).tar.bz2 +XAPP_XWD_SITE = https://xorg.freedesktop.org/archive/individual/app +XAPP_XWD_LICENSE = MIT +XAPP_XWD_LICENSE_FILES = COPYING +XAPP_XWD_DEPENDENCIES = xlib_libX11 xlib_libXmu xlib_libxkbfile + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xapp_xwininfo/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xwininfo/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xwininfo/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xwininfo/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xwininfo/xapp_xwininfo.hash b/buildroot-2022.02.1/package/x11r7/xapp_xwininfo/xapp_xwininfo.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xwininfo/xapp_xwininfo.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xwininfo/xapp_xwininfo.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xwininfo/xapp_xwininfo.mk b/buildroot-2022.02.1/package/x11r7/xapp_xwininfo/xapp_xwininfo.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xwininfo/xapp_xwininfo.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xwininfo/xapp_xwininfo.mk diff --git a/buildroot-2021.05/package/x11r7/xapp_xwud/Config.in b/buildroot-2022.02.1/package/x11r7/xapp_xwud/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xwud/Config.in rename to buildroot-2022.02.1/package/x11r7/xapp_xwud/Config.in diff --git a/buildroot-2021.05/package/x11r7/xapp_xwud/xapp_xwud.hash b/buildroot-2022.02.1/package/x11r7/xapp_xwud/xapp_xwud.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xwud/xapp_xwud.hash rename to buildroot-2022.02.1/package/x11r7/xapp_xwud/xapp_xwud.hash diff --git a/buildroot-2021.05/package/x11r7/xapp_xwud/xapp_xwud.mk b/buildroot-2022.02.1/package/x11r7/xapp_xwud/xapp_xwud.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xapp_xwud/xapp_xwud.mk rename to buildroot-2022.02.1/package/x11r7/xapp_xwud/xapp_xwud.mk diff --git a/buildroot-2021.05/package/x11r7/xcb-proto/Config.in b/buildroot-2022.02.1/package/x11r7/xcb-proto/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-proto/Config.in rename to buildroot-2022.02.1/package/x11r7/xcb-proto/Config.in diff --git a/buildroot-2021.05/package/x11r7/xcb-proto/xcb-proto.hash b/buildroot-2022.02.1/package/x11r7/xcb-proto/xcb-proto.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-proto/xcb-proto.hash rename to buildroot-2022.02.1/package/x11r7/xcb-proto/xcb-proto.hash diff --git a/buildroot-2021.05/package/x11r7/xcb-proto/xcb-proto.mk b/buildroot-2022.02.1/package/x11r7/xcb-proto/xcb-proto.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-proto/xcb-proto.mk rename to buildroot-2022.02.1/package/x11r7/xcb-proto/xcb-proto.mk diff --git a/buildroot-2021.05/package/x11r7/xcb-util-cursor/Config.in b/buildroot-2022.02.1/package/x11r7/xcb-util-cursor/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-cursor/Config.in rename to buildroot-2022.02.1/package/x11r7/xcb-util-cursor/Config.in diff --git a/buildroot-2021.05/package/x11r7/xcb-util-cursor/xcb-util-cursor.hash b/buildroot-2022.02.1/package/x11r7/xcb-util-cursor/xcb-util-cursor.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-cursor/xcb-util-cursor.hash rename to buildroot-2022.02.1/package/x11r7/xcb-util-cursor/xcb-util-cursor.hash diff --git a/buildroot-2021.05/package/x11r7/xcb-util-cursor/xcb-util-cursor.mk b/buildroot-2022.02.1/package/x11r7/xcb-util-cursor/xcb-util-cursor.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-cursor/xcb-util-cursor.mk rename to buildroot-2022.02.1/package/x11r7/xcb-util-cursor/xcb-util-cursor.mk diff --git a/buildroot-2021.05/package/x11r7/xcb-util-image/Config.in b/buildroot-2022.02.1/package/x11r7/xcb-util-image/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-image/Config.in rename to buildroot-2022.02.1/package/x11r7/xcb-util-image/Config.in diff --git a/buildroot-2021.05/package/x11r7/xcb-util-image/xcb-util-image.hash b/buildroot-2022.02.1/package/x11r7/xcb-util-image/xcb-util-image.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-image/xcb-util-image.hash rename to buildroot-2022.02.1/package/x11r7/xcb-util-image/xcb-util-image.hash diff --git a/buildroot-2021.05/package/x11r7/xcb-util-image/xcb-util-image.mk b/buildroot-2022.02.1/package/x11r7/xcb-util-image/xcb-util-image.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-image/xcb-util-image.mk rename to buildroot-2022.02.1/package/x11r7/xcb-util-image/xcb-util-image.mk diff --git a/buildroot-2021.05/package/x11r7/xcb-util-keysyms/Config.in b/buildroot-2022.02.1/package/x11r7/xcb-util-keysyms/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-keysyms/Config.in rename to buildroot-2022.02.1/package/x11r7/xcb-util-keysyms/Config.in diff --git a/buildroot-2021.05/package/x11r7/xcb-util-keysyms/xcb-util-keysyms.hash b/buildroot-2022.02.1/package/x11r7/xcb-util-keysyms/xcb-util-keysyms.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-keysyms/xcb-util-keysyms.hash rename to buildroot-2022.02.1/package/x11r7/xcb-util-keysyms/xcb-util-keysyms.hash diff --git a/buildroot-2021.05/package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk b/buildroot-2022.02.1/package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk rename to buildroot-2022.02.1/package/x11r7/xcb-util-keysyms/xcb-util-keysyms.mk diff --git a/buildroot-2021.05/package/x11r7/xcb-util-renderutil/Config.in b/buildroot-2022.02.1/package/x11r7/xcb-util-renderutil/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-renderutil/Config.in rename to buildroot-2022.02.1/package/x11r7/xcb-util-renderutil/Config.in diff --git a/buildroot-2021.05/package/x11r7/xcb-util-renderutil/xcb-util-renderutil.hash b/buildroot-2022.02.1/package/x11r7/xcb-util-renderutil/xcb-util-renderutil.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-renderutil/xcb-util-renderutil.hash rename to buildroot-2022.02.1/package/x11r7/xcb-util-renderutil/xcb-util-renderutil.hash diff --git a/buildroot-2021.05/package/x11r7/xcb-util-renderutil/xcb-util-renderutil.mk b/buildroot-2022.02.1/package/x11r7/xcb-util-renderutil/xcb-util-renderutil.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-renderutil/xcb-util-renderutil.mk rename to buildroot-2022.02.1/package/x11r7/xcb-util-renderutil/xcb-util-renderutil.mk diff --git a/buildroot-2021.05/package/x11r7/xcb-util-wm/Config.in b/buildroot-2022.02.1/package/x11r7/xcb-util-wm/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-wm/Config.in rename to buildroot-2022.02.1/package/x11r7/xcb-util-wm/Config.in diff --git a/buildroot-2021.05/package/x11r7/xcb-util-wm/xcb-util-wm.hash b/buildroot-2022.02.1/package/x11r7/xcb-util-wm/xcb-util-wm.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-wm/xcb-util-wm.hash rename to buildroot-2022.02.1/package/x11r7/xcb-util-wm/xcb-util-wm.hash diff --git a/buildroot-2021.05/package/x11r7/xcb-util-wm/xcb-util-wm.mk b/buildroot-2022.02.1/package/x11r7/xcb-util-wm/xcb-util-wm.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util-wm/xcb-util-wm.mk rename to buildroot-2022.02.1/package/x11r7/xcb-util-wm/xcb-util-wm.mk diff --git a/buildroot-2021.05/package/x11r7/xcb-util/Config.in b/buildroot-2022.02.1/package/x11r7/xcb-util/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util/Config.in rename to buildroot-2022.02.1/package/x11r7/xcb-util/Config.in diff --git a/buildroot-2021.05/package/x11r7/xcb-util/xcb-util.hash b/buildroot-2022.02.1/package/x11r7/xcb-util/xcb-util.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util/xcb-util.hash rename to buildroot-2022.02.1/package/x11r7/xcb-util/xcb-util.hash diff --git a/buildroot-2021.05/package/x11r7/xcb-util/xcb-util.mk b/buildroot-2022.02.1/package/x11r7/xcb-util/xcb-util.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xcb-util/xcb-util.mk rename to buildroot-2022.02.1/package/x11r7/xcb-util/xcb-util.mk diff --git a/buildroot-2021.05/package/x11r7/xcursor-transparent-theme/0001-fix-symlink.patch b/buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/0001-fix-symlink.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xcursor-transparent-theme/0001-fix-symlink.patch rename to buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/0001-fix-symlink.patch diff --git a/buildroot-2021.05/package/x11r7/xcursor-transparent-theme/Config.in b/buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xcursor-transparent-theme/Config.in rename to buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/Config.in diff --git a/buildroot-2021.05/package/x11r7/xcursor-transparent-theme/index.theme b/buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/index.theme similarity index 100% rename from buildroot-2021.05/package/x11r7/xcursor-transparent-theme/index.theme rename to buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/index.theme diff --git a/buildroot-2021.05/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.hash b/buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.hash rename to buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.hash diff --git a/buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.mk b/buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.mk new file mode 100644 index 00000000..4706a522 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xcursor-transparent-theme/xcursor-transparent-theme.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# xcursor-transparent-theme +# +################################################################################ + +XCURSOR_TRANSPARENT_THEME_VERSION = 0.1.1 +XCURSOR_TRANSPARENT_THEME_SITE = http://downloads.yoctoproject.org/releases/matchbox/utils +XCURSOR_TRANSPARENT_THEME_DEPENDENCIES = xlib_libXcursor host-xapp_xcursorgen +XCURSOR_TRANSPARENT_THEME_LICENSE = GPL-2.0 +XCURSOR_TRANSPARENT_THEME_LICENSE_FILES = COPYING + +define XCURSOR_TRANSPARENT_THEME_ICONS_DEFAULT_CONFIG_INSTALL + $(INSTALL) -m 0755 -D package/x11r7/xcursor-transparent-theme/index.theme \ + $(TARGET_DIR)/usr/share/icons/default/index.theme +endef + +XCURSOR_TRANSPARENT_THEME_POST_INSTALL_TARGET_HOOKS += \ + XCURSOR_TRANSPARENT_THEME_ICONS_DEFAULT_CONFIG_INSTALL + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdata_xbitmaps/Config.in b/buildroot-2022.02.1/package/x11r7/xdata_xbitmaps/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdata_xbitmaps/Config.in rename to buildroot-2022.02.1/package/x11r7/xdata_xbitmaps/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdata_xbitmaps/xdata_xbitmaps.hash b/buildroot-2022.02.1/package/x11r7/xdata_xbitmaps/xdata_xbitmaps.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdata_xbitmaps/xdata_xbitmaps.hash rename to buildroot-2022.02.1/package/x11r7/xdata_xbitmaps/xdata_xbitmaps.hash diff --git a/buildroot-2021.05/package/x11r7/xdata_xbitmaps/xdata_xbitmaps.mk b/buildroot-2022.02.1/package/x11r7/xdata_xbitmaps/xdata_xbitmaps.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdata_xbitmaps/xdata_xbitmaps.mk rename to buildroot-2022.02.1/package/x11r7/xdata_xbitmaps/xdata_xbitmaps.mk diff --git a/buildroot-2021.05/package/x11r7/xdata_xcursor-themes/Config.in b/buildroot-2022.02.1/package/x11r7/xdata_xcursor-themes/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdata_xcursor-themes/Config.in rename to buildroot-2022.02.1/package/x11r7/xdata_xcursor-themes/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.hash b/buildroot-2022.02.1/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.hash rename to buildroot-2022.02.1/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.hash diff --git a/buildroot-2021.05/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk b/buildroot-2022.02.1/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk rename to buildroot-2022.02.1/package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-evdev/0001-build-get-rid-of-sdkdir.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-evdev/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-evdev/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-evdev/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-evdev/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-evdev/xdriver_xf86-input-evdev.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/0001-build-get-rid-of-sdkdir.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/50-joystick.conf b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/50-joystick.conf similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/50-joystick.conf rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/50-joystick.conf diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-keyboard/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-keyboard/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-keyboard/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-keyboard/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/0001-build-get-rid-of-sdkdir.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-libinput/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.hash new file mode 100644 index 00000000..a2f295d6 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.hash @@ -0,0 +1,6 @@ +# From https://lists.x.org/archives/xorg-announce/2021-September/003110.html +sha256 f80da3c514fe1cbf57fa1b1bd6ff97f6b0a1f87466ad89247bac59cd0a5869f6 xf86-input-libinput-1.2.0.tar.bz2 +sha512 ebff9490d33fd7495df2e03203060a76b3274f0e638bc92f3d95257fac57cdb9dac308e90e54006fe9522b6de3b1f1c38fd5f0b0b75b7051e5422290f43de52d xf86-input-libinput-1.2.0.tar.bz2 + +# Locally computed +sha256 4114220b281561e80f3422f0e7ae8d3e1fc85131ffc2e3b6265119e66f1adb27 COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.mk new file mode 100644 index 00000000..21d962aa --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-libinput/xdriver_xf86-input-libinput.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# xdriver_xf86-input-libinput +# +################################################################################ + +XDRIVER_XF86_INPUT_LIBINPUT_VERSION = 1.2.0 +XDRIVER_XF86_INPUT_LIBINPUT_SOURCE = xf86-input-libinput-$(XDRIVER_XF86_INPUT_LIBINPUT_VERSION).tar.bz2 +XDRIVER_XF86_INPUT_LIBINPUT_SITE = https://xorg.freedesktop.org/releases/individual/driver +XDRIVER_XF86_INPUT_LIBINPUT_LICENSE = MIT +XDRIVER_XF86_INPUT_LIBINPUT_LICENSE_FILES = COPYING +XDRIVER_XF86_INPUT_LIBINPUT_DEPENDENCIES = libinput xserver_xorg-server xorgproto +XDRIVER_XF86_INPUT_LIBINPUT_AUTORECONF = YES + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-mouse/0001-build-get-rid-of-sdkdir.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-mouse/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-mouse/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-mouse/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-mouse/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-mouse/xdriver_xf86-input-mouse.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-synaptics/0001-build-get-rid-of-sdkdir.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-synaptics/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-synaptics/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-synaptics/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-synaptics/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-synaptics/xdriver_xf86-input-synaptics.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-tslib/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-tslib/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-tslib/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-tslib/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-tslib/xdriver_xf86-input-tslib.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-tslib/xdriver_xf86-input-tslib.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-tslib/xdriver_xf86-input-tslib.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-tslib/xdriver_xf86-input-tslib.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-tslib/xdriver_xf86-input-tslib.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-tslib/xdriver_xf86-input-tslib.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-tslib/xdriver_xf86-input-tslib.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-tslib/xdriver_xf86-input-tslib.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-vmmouse/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-vmmouse/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-vmmouse/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-vmmouse/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-vmmouse/xdriver_xf86-input-vmmouse.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-vmmouse/xdriver_xf86-input-vmmouse.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-vmmouse/xdriver_xf86-input-vmmouse.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-vmmouse/xdriver_xf86-input-vmmouse.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-input-vmmouse/xdriver_xf86-input-vmmouse.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-vmmouse/xdriver_xf86-input-vmmouse.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-input-vmmouse/xdriver_xf86-input-vmmouse.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-input-vmmouse/xdriver_xf86-input-vmmouse.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-amdgpu/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-amdgpu/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-amdgpu/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-amdgpu/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-amdgpu/xdriver_xf86-video-amdgpu.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ark/0001-mibstore.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ark/0001-mibstore.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ark/0001-mibstore.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ark/0001-mibstore.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ark/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ark/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ark/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ark/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ark/xdriver_xf86-video-ark.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ark/xdriver_xf86-video-ark.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ark/xdriver_xf86-video-ark.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ark/xdriver_xf86-video-ark.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ark/xdriver_xf86-video-ark.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ark/xdriver_xf86-video-ark.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ark/xdriver_xf86-video-ark.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ark/xdriver_xf86-video-ark.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ast/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ast/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ast/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ast/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ast/xdriver_xf86-video-ast.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ast/xdriver_xf86-video-ast.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ast/xdriver_xf86-video-ast.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ast/xdriver_xf86-video-ast.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ast/xdriver_xf86-video-ast.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ast/xdriver_xf86-video-ast.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ast/xdriver_xf86-video-ast.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ast/xdriver_xf86-video-ast.mk diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0001-Fix-link-failure-with-gcc-10.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0001-Fix-link-failure-with-gcc-10.patch new file mode 100644 index 00000000..ec9e49eb --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0001-Fix-link-failure-with-gcc-10.patch @@ -0,0 +1,35 @@ +From f223035f4ffcff2a9296d1e907a5193f8e8845a3 Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Tue, 4 Feb 2020 16:38:06 -0500 +Subject: [PATCH] Fix link failure with gcc 10 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Without the 'extern' this looks like a definition not just a +declaration, in every file that includes the header. gcc 10 is stricter +about this kind of multiple definition. + +Reviewed-by: Michel Dänzer +[backport from upstream: f223035f4ffcff2a9296d1e907a5193f8e8845a3] +Signed-off-by: Romain Naour +--- + src/drmmode_display.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/drmmode_display.h b/src/drmmode_display.h +index 96eaef0a..8cd8a0a6 100644 +--- a/src/drmmode_display.h ++++ b/src/drmmode_display.h +@@ -262,7 +262,7 @@ Bool drmmode_wait_vblank(xf86CrtcPtr crtc, drmVBlankSeqType type, + uint64_t *ust, uint32_t *result_seq); + + +-miPointerSpriteFuncRec drmmode_sprite_funcs; ++extern miPointerSpriteFuncRec drmmode_sprite_funcs; + + + #endif +-- +2.25.4 + diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0002-ati-cleanup-terminology-to-use-primary-secondary.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0002-ati-cleanup-terminology-to-use-primary-secondary.patch new file mode 100644 index 00000000..ed8413b0 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0002-ati-cleanup-terminology-to-use-primary-secondary.patch @@ -0,0 +1,371 @@ +From d96815a32431e0f434964a786013083bc0d835fc Mon Sep 17 00:00:00 2001 +From: Dave Airlie +Date: Mon, 13 Jul 2020 09:11:28 +1000 +Subject: [PATCH] ati: cleanup terminology to use primary/secondary + +The X server changed some API/ABIs here. + +Based on amdgpu patch by Michel + +(cherry picked from commit 8da3e4561ef82bb78c9a17b8cd8bf139b9cfd680) +Signed-off-by: Romain Naour +--- + man/radeon.man | 2 +- + src/compat-api.h | 6 ++++ + src/drmmode_display.c | 4 +-- + src/evergreen_state.h | 2 +- + src/r600_state.h | 2 +- + src/radeon.h | 10 +++--- + src/radeon_exa.c | 2 +- + src/radeon_glamor.c | 2 +- + src/radeon_kms.c | 74 +++++++++++++++++++++---------------------- + 9 files changed, 55 insertions(+), 49 deletions(-) + +diff --git a/man/radeon.man b/man/radeon.man +index dcebf537..247dcdb7 100644 +--- a/man/radeon.man ++++ b/man/radeon.man +@@ -290,7 +290,7 @@ on. If this option is set, the default value of the property is 'on' or 'off' + accordingly. If this option isn't set, the default value of the property is + .B auto, + which means that TearFree is on for rotated outputs, outputs with RandR +-transforms applied and for RandR 1.4 slave outputs, otherwise off. ++transforms applied and for RandR 1.4 secondary outputs, otherwise off. + .TP + .BI "Option \*qAccelMethod\*q \*q" "string" \*q + Chooses between available acceleration architectures. Valid values are +diff --git a/src/compat-api.h b/src/compat-api.h +index f4e7524f..def6d3e4 100644 +--- a/src/compat-api.h ++++ b/src/compat-api.h +@@ -34,4 +34,10 @@ + #define BLOCKHANDLER_ARGS pScreen, pTimeout, pReadmask + #endif + ++#if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(25, 2) ++#define current_primary current_master ++#define primary_pixmap master_pixmap ++#define secondary_dst slave_dst ++#endif ++ + #endif +diff --git a/src/drmmode_display.c b/src/drmmode_display.c +index 0e9e2474..3dec91e8 100644 +--- a/src/drmmode_display.c ++++ b/src/drmmode_display.c +@@ -720,7 +720,7 @@ drmmode_crtc_prime_scanout_update(xf86CrtcPtr crtc, DisplayModePtr mode, + xorg_list_for_each_entry(dirty, &screen->pixmap_dirty_list, + ent) { + if (radeon_dirty_src_equals(dirty, drmmode_crtc->prime_scanout_pixmap)) { +- dirty->slave_dst = ++ dirty->secondary_dst = + drmmode_crtc->scanout[scanout_id].pixmap; + break; + } +@@ -1356,7 +1356,7 @@ drmmode_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr ppix) + + xorg_list_for_each_entry(dirty, &screen->pixmap_dirty_list, ent) { + if (radeon_dirty_src_equals(dirty, drmmode_crtc->prime_scanout_pixmap)) { +- PixmapStopDirtyTracking(dirty->src, dirty->slave_dst); ++ PixmapStopDirtyTracking(dirty->src, dirty->secondary_dst); + break; + } + } +diff --git a/src/evergreen_state.h b/src/evergreen_state.h +index 7e54e1c7..34ba87b6 100644 +--- a/src/evergreen_state.h ++++ b/src/evergreen_state.h +@@ -350,7 +350,7 @@ extern void *RADEONEXACreatePixmap2(ScreenPtr pScreen, int width, int height, + int *new_pitch); + extern void RADEONEXADestroyPixmap(ScreenPtr pScreen, void *driverPriv); + extern Bool RADEONEXAPixmapIsOffscreen(PixmapPtr pPix); +-extern Bool RADEONEXASharePixmapBacking(PixmapPtr ppix, ScreenPtr slave, void **handle_p); ++extern Bool RADEONEXASharePixmapBacking(PixmapPtr ppix, ScreenPtr secondary, void **handle_p); + extern Bool RADEONEXASetSharedPixmapBacking(PixmapPtr ppix, void *handle); + + #endif +diff --git a/src/r600_state.h b/src/r600_state.h +index 34345996..567c3ca2 100644 +--- a/src/r600_state.h ++++ b/src/r600_state.h +@@ -321,6 +321,6 @@ extern void *RADEONEXACreatePixmap2(ScreenPtr pScreen, int width, int height, + int *new_pitch); + extern void RADEONEXADestroyPixmap(ScreenPtr pScreen, void *driverPriv); + extern Bool RADEONEXAPixmapIsOffscreen(PixmapPtr pPix); +-extern Bool RADEONEXASharePixmapBacking(PixmapPtr ppix, ScreenPtr slave, void **handle_p); ++extern Bool RADEONEXASharePixmapBacking(PixmapPtr ppix, ScreenPtr secondary, void **handle_p); + extern Bool RADEONEXASetSharedPixmapBacking(PixmapPtr ppix, void *handle); + #endif +diff --git a/src/radeon.h b/src/radeon.h +index 2c913466..85fd0217 100644 +--- a/src/radeon.h ++++ b/src/radeon.h +@@ -182,18 +182,18 @@ typedef enum { + + + static inline ScreenPtr +-radeon_master_screen(ScreenPtr screen) ++radeon_primary_screen(ScreenPtr screen) + { +- if (screen->current_master) +- return screen->current_master; ++ if (screen->current_primary) ++ return screen->current_primary; + + return screen; + } + + static inline ScreenPtr +-radeon_dirty_master(PixmapDirtyUpdatePtr dirty) ++radeon_dirty_primary(PixmapDirtyUpdatePtr dirty) + { +- return radeon_master_screen(dirty->slave_dst->drawable.pScreen); ++ return radeon_primary_screen(dirty->secondary_dst->drawable.pScreen); + } + + static inline DrawablePtr +diff --git a/src/radeon_exa.c b/src/radeon_exa.c +index 268155ed..320ff992 100644 +--- a/src/radeon_exa.c ++++ b/src/radeon_exa.c +@@ -282,7 +282,7 @@ void RADEONEXADestroyPixmap(ScreenPtr pScreen, void *driverPriv) + free(driverPriv); + } + +-Bool RADEONEXASharePixmapBacking(PixmapPtr ppix, ScreenPtr slave, void **fd_handle) ++Bool RADEONEXASharePixmapBacking(PixmapPtr ppix, ScreenPtr seconndary, void **fd_handle) + { + struct radeon_exa_pixmap_priv *driver_priv = exaGetPixmapDriverPrivate(ppix); + +diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c +index f1098381..ccf99941 100644 +--- a/src/radeon_glamor.c ++++ b/src/radeon_glamor.c +@@ -366,7 +366,7 @@ radeon_glamor_set_pixmap_bo(DrawablePtr drawable, PixmapPtr pixmap) + + + static Bool +-radeon_glamor_share_pixmap_backing(PixmapPtr pixmap, ScreenPtr slave, ++radeon_glamor_share_pixmap_backing(PixmapPtr pixmap, ScreenPtr secondary, + void **handle_p) + { + ScreenPtr screen = pixmap->drawable.pScreen; +diff --git a/src/radeon_kms.c b/src/radeon_kms.c +index b3db7c41..62962d61 100644 +--- a/src/radeon_kms.c ++++ b/src/radeon_kms.c +@@ -559,8 +559,8 @@ dirty_region(PixmapDirtyUpdatePtr dirty) + if (dirty->rotation != RR_Rotate_0) { + dstregion = transform_region(damageregion, + &dirty->f_inverse, +- dirty->slave_dst->drawable.width, +- dirty->slave_dst->drawable.height); ++ dirty->secondary_dst->drawable.width, ++ dirty->secondary_dst->drawable.height); + } else + #endif + { +@@ -568,7 +568,7 @@ dirty_region(PixmapDirtyUpdatePtr dirty) + + dstregion = RegionDuplicate(damageregion); + RegionTranslate(dstregion, -dirty->x, -dirty->y); +- PixmapRegionInit(&pixregion, dirty->slave_dst); ++ PixmapRegionInit(&pixregion, dirty->secondary_dst); + RegionIntersect(dstregion, dstregion, &pixregion); + RegionUninit(&pixregion); + } +@@ -585,8 +585,8 @@ redisplay_dirty(PixmapDirtyUpdatePtr dirty, RegionPtr region) + if (RegionNil(region)) + goto out; + +- if (dirty->slave_dst->master_pixmap) +- DamageRegionAppend(&dirty->slave_dst->drawable, region); ++ if (dirty->secondary_dst->primary_pixmap) ++ DamageRegionAppend(&dirty->secondary_dst->drawable, region); + + #ifdef HAS_DIRTYTRACKING_ROTATION + PixmapSyncDirtyHelper(dirty); +@@ -595,8 +595,8 @@ redisplay_dirty(PixmapDirtyUpdatePtr dirty, RegionPtr region) + #endif + + radeon_cs_flush_indirect(src_scrn); +- if (dirty->slave_dst->master_pixmap) +- DamageRegionProcessPending(&dirty->slave_dst->drawable); ++ if (dirty->secondary_dst->primary_pixmap) ++ DamageRegionProcessPending(&dirty->secondary_dst->drawable); + + out: + DamageEmpty(dirty->damage); +@@ -613,12 +613,12 @@ radeon_prime_scanout_update_abort(xf86CrtcPtr crtc, void *event_data) + void + radeon_sync_shared_pixmap(PixmapDirtyUpdatePtr dirty) + { +- ScreenPtr master_screen = radeon_dirty_master(dirty); ++ ScreenPtr primary_screen = radeon_dirty_primary(dirty); + PixmapDirtyUpdatePtr ent; + RegionPtr region; + +- xorg_list_for_each_entry(ent, &master_screen->pixmap_dirty_list, ent) { +- if (!radeon_dirty_src_equals(dirty, ent->slave_dst)) ++ xorg_list_for_each_entry(ent, &primary_screen->pixmap_dirty_list, ent) { ++ if (!radeon_dirty_src_equals(dirty, ent->secondary_dst)) + continue; + + region = dirty_region(ent); +@@ -631,45 +631,45 @@ radeon_sync_shared_pixmap(PixmapDirtyUpdatePtr dirty) + #if HAS_SYNC_SHARED_PIXMAP + + static Bool +-master_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty) ++primary_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty) + { +- ScreenPtr master_screen = radeon_dirty_master(dirty); ++ ScreenPtr primary_screen = radeon_dirty_primary(dirty); + +- return !!master_screen->SyncSharedPixmap; ++ return !!primary_screen->SyncSharedPixmap; + } + + static Bool +-slave_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty) ++secondary_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty) + { +- ScreenPtr slave_screen = dirty->slave_dst->drawable.pScreen; ++ ScreenPtr secondary_screen = dirty->secondary_dst->drawable.pScreen; + +- return !!slave_screen->SyncSharedPixmap; ++ return !!secondary_screen->SyncSharedPixmap; + } + + static void + call_sync_shared_pixmap(PixmapDirtyUpdatePtr dirty) + { +- ScreenPtr master_screen = radeon_dirty_master(dirty); ++ ScreenPtr primary_screen = radeon_dirty_primary(dirty); + +- master_screen->SyncSharedPixmap(dirty); ++ primary_screen->SyncSharedPixmap(dirty); + } + + #else /* !HAS_SYNC_SHARED_PIXMAP */ + + static Bool +-master_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty) ++primary_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty) + { +- ScrnInfoPtr master_scrn = xf86ScreenToScrn(radeon_dirty_master(dirty)); ++ ScrnInfoPtr primary_scrn = xf86ScreenToScrn(radeon_dirty_primary(dirty)); + +- return master_scrn->driverName == scrn->driverName; ++ return primary_scrn->driverName == scrn->driverName; + } + + static Bool +-slave_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty) ++secondary_has_sync_shared_pixmap(ScrnInfoPtr scrn, PixmapDirtyUpdatePtr dirty) + { +- ScrnInfoPtr slave_scrn = xf86ScreenToScrn(dirty->slave_dst->drawable.pScreen); ++ ScrnInfoPtr secondary_scrn = xf86ScreenToScrn(dirty->secondary_dst->drawable.pScreen); + +- return slave_scrn->driverName == scrn->driverName; ++ return secondary_scrn->driverName == scrn->driverName; + } + + static void +@@ -684,12 +684,12 @@ call_sync_shared_pixmap(PixmapDirtyUpdatePtr dirty) + static xf86CrtcPtr + radeon_prime_dirty_to_crtc(PixmapDirtyUpdatePtr dirty) + { +- ScreenPtr screen = dirty->slave_dst->drawable.pScreen; ++ ScreenPtr screen = dirty->secondary_dst->drawable.pScreen; + ScrnInfoPtr scrn = xf86ScreenToScrn(screen); + xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); + int c; + +- /* Find the CRTC which is scanning out from this slave pixmap */ ++ /* Find the CRTC which is scanning out from this secondary pixmap */ + for (c = 0; c < xf86_config->num_crtc; c++) { + xf86CrtcPtr xf86_crtc = xf86_config->crtc[c]; + drmmode_crtc_private_ptr drmmode_crtc = xf86_crtc->driver_private; +@@ -714,7 +714,7 @@ radeon_prime_scanout_do_update(xf86CrtcPtr crtc, unsigned scanout_id) + if (radeon_dirty_src_equals(dirty, drmmode_crtc->prime_scanout_pixmap)) { + RegionPtr region; + +- if (master_has_sync_shared_pixmap(scrn, dirty)) ++ if (primary_has_sync_shared_pixmap(scrn, dirty)) + call_sync_shared_pixmap(dirty); + + region = dirty_region(dirty); +@@ -727,7 +727,7 @@ radeon_prime_scanout_do_update(xf86CrtcPtr crtc, unsigned scanout_id) + radeon_cs_flush_indirect(scrn); + RegionCopy(&drmmode_crtc->scanout_last_region, region); + RegionTranslate(region, -crtc->x, -crtc->y); +- dirty->slave_dst = drmmode_crtc->scanout[scanout_id].pixmap; ++ dirty->secondary_dst = drmmode_crtc->scanout[scanout_id].pixmap; + } + + redisplay_dirty(dirty, region); +@@ -754,7 +754,7 @@ radeon_prime_scanout_update_handler(xf86CrtcPtr crtc, uint32_t frame, uint64_t u + static void + radeon_prime_scanout_update(PixmapDirtyUpdatePtr dirty) + { +- ScreenPtr screen = dirty->slave_dst->drawable.pScreen; ++ ScreenPtr screen = dirty->secondary_dst->drawable.pScreen; + ScrnInfoPtr scrn = xf86ScreenToScrn(screen); + RADEONEntPtr pRADEONEnt = RADEONEntPriv(scrn); + xf86CrtcPtr xf86_crtc = radeon_prime_dirty_to_crtc(dirty); +@@ -818,7 +818,7 @@ radeon_prime_scanout_update(PixmapDirtyUpdatePtr dirty) + static void + radeon_prime_scanout_flip(PixmapDirtyUpdatePtr ent) + { +- ScreenPtr screen = ent->slave_dst->drawable.pScreen; ++ ScreenPtr screen = ent->secondary_dst->drawable.pScreen; + ScrnInfoPtr scrn = xf86ScreenToScrn(screen); + RADEONEntPtr pRADEONEnt = RADEONEntPriv(scrn); + xf86CrtcPtr crtc = radeon_prime_dirty_to_crtc(ent); +@@ -893,11 +893,11 @@ radeon_dirty_update(ScrnInfoPtr scrn) + if (screen->isGPU) { + PixmapDirtyUpdatePtr region_ent = ent; + +- if (master_has_sync_shared_pixmap(scrn, ent)) { +- ScreenPtr master_screen = radeon_dirty_master(ent); ++ if (primary_has_sync_shared_pixmap(scrn, ent)) { ++ ScreenPtr primary_screen = radeon_dirty_primary(ent); + +- xorg_list_for_each_entry(region_ent, &master_screen->pixmap_dirty_list, ent) { +- if (radeon_dirty_src_equals(ent, region_ent->slave_dst)) ++ xorg_list_for_each_entry(region_ent, &primary_screen->pixmap_dirty_list, ent) { ++ if (radeon_dirty_src_equals(ent, region_ent->secondary_dst)) + break; + } + } +@@ -921,7 +921,7 @@ radeon_dirty_update(ScrnInfoPtr scrn) + + RegionDestroy(region); + } else { +- if (slave_has_sync_shared_pixmap(scrn, ent)) ++ if (secondary_has_sync_shared_pixmap(scrn, ent)) + continue; + + region = dirty_region(ent); +@@ -1216,7 +1216,7 @@ static void RADEONBlockHandler_KMS(BLOCKHANDLER_ARGS_DECL) + (*pScreen->BlockHandler) (BLOCKHANDLER_ARGS); + pScreen->BlockHandler = RADEONBlockHandler_KMS; + +- if (!xf86ScreenToScrn(radeon_master_screen(pScreen))->vtSema) ++ if (!xf86ScreenToScrn(radeon_primary_screen(pScreen))->vtSema) + return; + + if (!pScreen->isGPU) +@@ -2584,7 +2584,7 @@ CARD32 cleanup_black_fb(OsTimerPtr timer, CARD32 now, pointer data) + xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(scrn); + int c; + +- if (xf86ScreenToScrn(radeon_master_screen(screen))->vtSema) ++ if (xf86ScreenToScrn(radeon_primary_screen(screen))->vtSema) + return 0; + + /* Unreference the all-black FB created by RADEONLeaveVT_KMS. After +-- +2.31.1 + diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0003-Guard-local-variable-priv-only-used-with-glamor.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0003-Guard-local-variable-priv-only-used-with-glamor.patch new file mode 100644 index 00000000..0a23c54c --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/0003-Guard-local-variable-priv-only-used-with-glamor.patch @@ -0,0 +1,66 @@ +From a78e31b5fffadd73b00483f21e54bd144f1b439a Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Michel=20D=C3=A4nzer?= +Date: Fri, 26 Mar 2021 17:42:10 +0100 +Subject: [PATCH] Guard local variable priv only used with glamor +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Fixes compile errors with glamor disabled: + +../../src/radeon_present.c: In function ‘radeon_present_check_flip’: +../../src/radeon_present.c:281:21: error: invalid use of undefined type ‘struct radeon_pixmap’ + 281 | if (priv && priv->fb_failed) + | ^~ +../../src/radeon_present.c:288:19: error: invalid use of undefined type ‘struct radeon_pixmap’ + 288 | if (priv && !priv->fb_failed) { + | ^~ +../../src/radeon_present.c:292:10: error: invalid use of undefined type ‘struct radeon_pixmap’ + 292 | priv->fb_failed = TRUE; + | ^~ + +(cherry picked from commit 3c7c84ed49564907a148ae99b03200e0be350060) +Signed-off-by: Romain Naour +--- + src/radeon_present.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/radeon_present.c b/src/radeon_present.c +index 494655c9..d010aa19 100644 +--- a/src/radeon_present.c ++++ b/src/radeon_present.c +@@ -254,7 +254,9 @@ radeon_present_check_flip(RRCrtcPtr crtc, WindowPtr window, PixmapPtr pixmap, + xf86CrtcPtr xf86_crtc = crtc->devPrivate; + ScreenPtr screen = window->drawable.pScreen; + ScrnInfoPtr scrn = xf86_crtc->scrn; ++#ifdef USE_GLAMOR + struct radeon_pixmap *priv = radeon_get_pixmap_private(pixmap); ++#endif + xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn); + RADEONInfoPtr info = RADEONPTR(scrn); + PixmapPtr screen_pixmap = screen->GetScreenPixmap(screen); +@@ -278,10 +280,13 @@ radeon_present_check_flip(RRCrtcPtr crtc, WindowPtr window, PixmapPtr pixmap, + return FALSE; + #endif + ++#ifdef USE_GLAMOR + if (priv && priv->fb_failed) + return FALSE; ++#endif + + if (!radeon_pixmap_get_fb(pixmap)) { ++#ifdef USE_GLAMOR + if (!priv) + priv = radeon_get_pixmap_private(pixmap); + +@@ -291,6 +296,7 @@ radeon_present_check_flip(RRCrtcPtr crtc, WindowPtr window, PixmapPtr pixmap, + "normal if using PRIME render offloading)\n"); + priv->fb_failed = TRUE; + } ++#endif + + return FALSE; + } +-- +2.31.1 + diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.hash diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk new file mode 100644 index 00000000..edb8b11a --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-ati/xdriver_xf86-video-ati.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# xdriver_xf86-video-ati +# +################################################################################ + +XDRIVER_XF86_VIDEO_ATI_VERSION = 19.1.0 +XDRIVER_XF86_VIDEO_ATI_SOURCE = xf86-video-ati-$(XDRIVER_XF86_VIDEO_ATI_VERSION).tar.bz2 +XDRIVER_XF86_VIDEO_ATI_SITE = http://xorg.freedesktop.org/releases/individual/driver +XDRIVER_XF86_VIDEO_ATI_LICENSE = MIT +XDRIVER_XF86_VIDEO_ATI_LICENSE_FILES = COPYING +XDRIVER_XF86_VIDEO_ATI_DEPENDENCIES = \ + libdrm \ + xlib_libXcomposite \ + xorgproto \ + xserver_xorg-server + +ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yyy) +XDRIVER_XF86_VIDEO_ATI_CONF_OPTS += --enable-glamor +else +XDRIVER_XF86_VIDEO_ATI_CONF_OPTS += --disable-glamor +endif + +# xdriver_xf86-video-ati requires O_CLOEXEC +XDRIVER_XF86_VIDEO_ATI_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-cirrus/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-cirrus/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-cirrus/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-cirrus/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-cirrus/xdriver_xf86-video-cirrus.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-cirrus/xdriver_xf86-video-cirrus.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-cirrus/xdriver_xf86-video-cirrus.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-cirrus/xdriver_xf86-video-cirrus.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-cirrus/xdriver_xf86-video-cirrus.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-cirrus/xdriver_xf86-video-cirrus.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-cirrus/xdriver_xf86-video-cirrus.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-cirrus/xdriver_xf86-video-cirrus.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-dummy/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-dummy/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-dummy/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-dummy/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-dummy/xdriver_xf86-video-dummy.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-dummy/xdriver_xf86-video-dummy.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-dummy/xdriver_xf86-video-dummy.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-dummy/xdriver_xf86-video-dummy.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-dummy/xdriver_xf86-video-dummy.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-dummy/xdriver_xf86-video-dummy.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-dummy/xdriver_xf86-video-dummy.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-dummy/xdriver_xf86-video-dummy.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbdev/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbdev/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbdev/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbdev/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbdev/xdriver_xf86-video-fbdev.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbdev/xdriver_xf86-video-fbdev.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbdev/xdriver_xf86-video-fbdev.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbdev/xdriver_xf86-video-fbdev.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbdev/xdriver_xf86-video-fbdev.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbdev/xdriver_xf86-video-fbdev.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbdev/xdriver_xf86-video-fbdev.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbdev/xdriver_xf86-video-fbdev.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0001-sunxi_x_g2d-drop-unused-dri2-include.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0001-sunxi_x_g2d-drop-unused-dri2-include.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0001-sunxi_x_g2d-drop-unused-dri2-include.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0001-sunxi_x_g2d-drop-unused-dri2-include.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0002-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0002-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0002-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0002-Use-own-thunk-functions-instead-of-fbdevHW-Weak.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0003-Update-for-1.20-ABI.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0003-Update-for-1.20-ABI.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0003-Update-for-1.20-ABI.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0003-Update-for-1.20-ABI.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0004-xorg.conf-add-mandatory-modules-fb-shadow-fbdevhw.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0004-xorg.conf-add-mandatory-modules-fb-shadow-fbdevhw.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0004-xorg.conf-add-mandatory-modules-fb-shadow-fbdevhw.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0004-xorg.conf-add-mandatory-modules-fb-shadow-fbdevhw.patch diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0005-backing_store_tuner-struct-_Window-backStorage-is-go.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0005-backing_store_tuner-struct-_Window-backStorage-is-go.patch new file mode 100644 index 00000000..097868ea --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/0005-backing_store_tuner-struct-_Window-backStorage-is-go.patch @@ -0,0 +1,65 @@ +From 93631c1f68678bf3e860b1bbc6192c8b6ac4c563 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer +Date: Mon, 13 Dec 2021 19:55:08 +0100 +Subject: [PATCH] backing_store_tuner: struct _Window::backStorage is gone + +Fix struct _Window::backStorage related compile failure. + +Since xserver commit 'dix: Remove WindowRec::backStorage ' ([1]) +struct _Window::backStorage is gone, use struct _Window::backingStore instead. + +Fixes: + + backing_store_tuner.c: In function 'xPostValidateTree': + backing_store_tuner.c:112:48: error: 'struct _Window' has no member named 'backStorage' + 112 | if (!private->ForceBackingStore && focusWin->backStorage) { + | ^~ + backing_store_tuner.c:128:20: error: 'struct _Window' has no member named 'backStorage' + 128 | if (!curWin->backStorage && (private->ForceBackingStore || + | ^~ + backing_store_tuner.c: In function 'xReparentWindow': + backing_store_tuner.c:161:46: error: 'struct _Window' has no member named 'backStorage' + 161 | if (pPriorParent == pScreen->root && pWin->backStorage) { + | ^~ + +[1] https://gitlab.freedesktop.org/xorg/xserver/-/commit/6975807945d12c07f00e18df7fafeff43efa0267 + +Signed-off-by: Peter Seiderer +--- + src/backing_store_tuner.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/backing_store_tuner.c b/src/backing_store_tuner.c +index 067c05f..13f7ec3 100644 +--- a/src/backing_store_tuner.c ++++ b/src/backing_store_tuner.c +@@ -109,7 +109,7 @@ xPostValidateTree(WindowPtr pWin, WindowPtr pLayerWin, VTKind kind) + private->PostValidateTreeNestingLevel++; + + /* Disable backing store for the focus window */ +- if (!private->ForceBackingStore && focusWin->backStorage) { ++ if (!private->ForceBackingStore && (focusWin->backingStore != NotUseful)) { + DebugMsg("Disable backing store for the focus window 0x%x\n", + (unsigned int)focusWin->drawable.id); + pScreen->backingStoreSupport = Always; +@@ -125,7 +125,7 @@ xPostValidateTree(WindowPtr pWin, WindowPtr pLayerWin, VTKind kind) + /* And enable backing store for all the other children of root */ + curWin = pScreen->root->firstChild; + while (curWin) { +- if (!curWin->backStorage && (private->ForceBackingStore || ++ if ((curWin->backingStore == NotUseful) && (private->ForceBackingStore || + curWin != focusWin)) { + DebugMsg("Enable backing store for window 0x%x\n", + (unsigned int)curWin->drawable.id); +@@ -158,7 +158,7 @@ xReparentWindow(WindowPtr pWin, WindowPtr pPriorParent) + } + + /* We only want backing store set for direct children of root */ +- if (pPriorParent == pScreen->root && pWin->backStorage) { ++ if (pPriorParent == pScreen->root && (pWin->backingStore != NotUseful)) { + DebugMsg("Reparent window 0x%x from root, disabling backing store\n", + (unsigned int)pWin->drawable.id); + pScreen->backingStoreSupport = Always; +-- +2.34.1 + diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/xdriver_xf86-video-fbturbo.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/xdriver_xf86-video-fbturbo.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/xdriver_xf86-video-fbturbo.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/xdriver_xf86-video-fbturbo.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/xdriver_xf86-video-fbturbo.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/xdriver_xf86-video-fbturbo.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/xdriver_xf86-video-fbturbo.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-fbturbo/xdriver_xf86-video-fbturbo.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-geode/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-geode/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-geode/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-geode/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-geode/xdriver_xf86-video-geode.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-geode/xdriver_xf86-video-geode.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-geode/xdriver_xf86-video-geode.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-geode/xdriver_xf86-video-geode.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-geode/xdriver_xf86-video-geode.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-geode/xdriver_xf86-video-geode.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-geode/xdriver_xf86-video-geode.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-geode/xdriver_xf86-video-geode.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-glint/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-glint/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-glint/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-glint/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-glint/xdriver_xf86-video-glint.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-glint/xdriver_xf86-video-glint.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-glint/xdriver_xf86-video-glint.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-glint/xdriver_xf86-video-glint.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-glint/xdriver_xf86-video-glint.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-glint/xdriver_xf86-video-glint.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-glint/xdriver_xf86-video-glint.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-glint/xdriver_xf86-video-glint.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-i128/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-i128/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-i128/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-i128/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-i128/xdriver_xf86-video-i128.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-i128/xdriver_xf86-video-i128.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-i128/xdriver_xf86-video-i128.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-i128/xdriver_xf86-video-i128.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-i128/xdriver_xf86-video-i128.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-i128/xdriver_xf86-video-i128.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-i128/xdriver_xf86-video-i128.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-i128/xdriver_xf86-video-i128.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx-viv/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx-viv/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx-viv/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx-viv/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx-viv/xdriver_xf86-video-imx-viv.mk diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0001-Update-to-newer-swap-macros.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0001-Update-to-newer-swap-macros.patch new file mode 100644 index 00000000..90af6bf5 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0001-Update-to-newer-swap-macros.patch @@ -0,0 +1,65 @@ +From fc7f191a1a0f290a4e808dd8f9bd58ba1dbd2be4 Mon Sep 17 00:00:00 2001 +From: Otavio Salvador +Date: Sat, 29 Dec 2012 18:00:36 -0200 +Subject: [PATCH] ext: Update to newer swap macros + +The swap macros now use an internal temporary variable so we need to +adapt the code according. + +Upstream-Status: Pending + +Signed-off-by: Otavio Salvador +--- + src/imx_ext.c | 16 ++++++---------- + 1 file changed, 6 insertions(+), 10 deletions(-) + +diff --git a/src/imx_ext.c b/src/imx_ext.c +index f12469a..710cba4 100644 +--- a/src/imx_ext.c ++++ b/src/imx_ext.c +@@ -57,8 +57,6 @@ void imxExtInit() + static int + Proc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) + { +- int n; +- + REQUEST(xIMX_EXT_GetPixmapPhysAddrReq); + REQUEST_SIZE_MATCH(xIMX_EXT_GetPixmapPhysAddrReq); + +@@ -96,10 +94,10 @@ Proc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) + /* Check if any reply values need byte swapping */ + if (client->swapped) { + +- swaps(&rep.sequenceNumber, n); +- swapl(&rep.length, n); +- swapl(&rep.pixmapPhysAddr, n); +- swapl(&rep.pixmapPitch, n); ++ swaps(&rep.sequenceNumber); ++ swapl(&rep.length); ++ swapl(&rep.pixmapPhysAddr); ++ swapl(&rep.pixmapPitch); + } + + /* Reply to client */ +@@ -123,16 +121,14 @@ Proc_IMX_EXT_Dispatch(ClientPtr client) + static int + SProc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) + { +- int n; +- + REQUEST(xIMX_EXT_GetPixmapPhysAddrReq); + + /* Swap request message length and verify it is correct. */ +- swaps(&stuff->length, n); ++ swaps(&stuff->length); + REQUEST_SIZE_MATCH(xIMX_EXT_GetPixmapPhysAddrReq); + + /* Swap remaining request message parameters. */ +- swapl(&stuff->pixmap, n); ++ swapl(&stuff->pixmap); + + return Proc_IMX_EXT_GetPixmapPhysAddr(client); + } +-- +1.7.10.4 + diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0002-Fix-error-unknown-type-name-uint.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0002-Fix-error-unknown-type-name-uint.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0002-Fix-error-unknown-type-name-uint.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0002-Fix-error-unknown-type-name-uint.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0003-support-glibc-2.20.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0003-support-glibc-2.20.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0003-support-glibc-2.20.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0003-support-glibc-2.20.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0004-Make-video-API-forward-and-backward-compatible.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0004-Make-video-API-forward-and-backward-compatible.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0004-Make-video-API-forward-and-backward-compatible.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0004-Make-video-API-forward-and-backward-compatible.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0005-xf86-video-imxfb-fix-m4-hardcodded-paths.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0005-xf86-video-imxfb-fix-m4-hardcodded-paths.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0005-xf86-video-imxfb-fix-m4-hardcodded-paths.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0005-xf86-video-imxfb-fix-m4-hardcodded-paths.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0006-xserver-1.14-compat.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0006-xserver-1.14-compat.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/0006-xserver-1.14-compat.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/0006-xserver-1.14-compat.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/xdriver_xf86-video-imx.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/xdriver_xf86-video-imx.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/xdriver_xf86-video-imx.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/xdriver_xf86-video-imx.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/xdriver_xf86-video-imx.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/xdriver_xf86-video-imx.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-imx/xdriver_xf86-video-imx.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-imx/xdriver_xf86-video-imx.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-intel/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-intel/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-intel/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-intel/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.hash new file mode 100644 index 00000000..26002a79 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 11f48628d2b1f495446c49df93de40569ced664c6fdbd5d3f8f7a863e4a1124c xdriver_xf86-video-intel-31486f40f8e8f8923ca0799aea84b58799754564-br1.tar.gz +sha256 5808e89f4b9a30afc59f335bfa8219ecf2dacb89a81d16b322bc6d92993a48fa COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk new file mode 100644 index 00000000..d911234c --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-intel/xdriver_xf86-video-intel.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# xdriver_xf86-video-intel +# +################################################################################ + +XDRIVER_XF86_VIDEO_INTEL_VERSION = 31486f40f8e8f8923ca0799aea84b58799754564 +XDRIVER_XF86_VIDEO_INTEL_SITE = git://anongit.freedesktop.org/xorg/driver/xf86-video-intel +XDRIVER_XF86_VIDEO_INTEL_LICENSE = MIT +XDRIVER_XF86_VIDEO_INTEL_LICENSE_FILES = COPYING +XDRIVER_XF86_VIDEO_INTEL_AUTORECONF = YES + +# -D_GNU_SOURCE fixes a getline-related compile error in src/sna/kgem.c +# We force -O2 regardless of the optimization level chosen by the user, +# as compiling this package is known to be broken with -Os. +XDRIVER_XF86_VIDEO_INTEL_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE -O2" + +XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS = \ + --disable-xvmc \ + --enable-sna \ + --disable-xaa \ + --disable-dga \ + --disable-tools \ + --disable-async-swap + +XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \ + libdrm \ + libpciaccess \ + xlib_libXrandr \ + xorgproto \ + xserver_xorg-server + +# X.org server support for DRI depends on a Mesa3D DRI driver +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y) +XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \ + --enable-dri2 \ + --enable-dri3 \ + --enable-uxa +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/0001-cross-compile.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/0001-cross-compile.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/0001-cross-compile.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/0001-cross-compile.patch diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/0002-Rename-bool-to-boolean-for-OptionInfoRec.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/0002-Rename-bool-to-boolean-for-OptionInfoRec.patch new file mode 100644 index 00000000..fe3e21f8 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/0002-Rename-bool-to-boolean-for-OptionInfoRec.patch @@ -0,0 +1,84 @@ +From 3ab2c144ef34199ceaf95115538a67f932e76f7d Mon Sep 17 00:00:00 2001 +From: Josselin Poiret +Date: Thu, 18 Nov 2021 13:18:25 +0000 +Subject: [PATCH] Rename bool to boolean for OptionInfoRec. + +* src/aticonfig.c: Change uses of .value.bool to .value.boolean + +Downloaded from upstream commit +https://gitlab.freedesktop.org/xorg/driver/xf86-video-mach64/-/commit/3ab2c144ef34199ceaf95115538a67f932e76f7d + +Signed-off-by: Bernd Kuhls +--- + src/aticonfig.c | 38 +++++++++++++++++++------------------- + 1 file changed, 19 insertions(+), 19 deletions(-) + +diff --git a/src/aticonfig.c b/src/aticonfig.c +index bad6474..6995b9a 100644 +--- a/src/aticonfig.c ++++ b/src/aticonfig.c +@@ -311,42 +311,42 @@ ATIProcessOptions + + (void)memcpy(PublicOption, ATIPublicOptions, ATIPublicOptionSize); + +-# define ProbeSparse PublicOption[ATI_OPTION_PROBE_SPARSE].value.bool +-# define Accel PublicOption[ATI_OPTION_ACCEL].value.bool +-# define BIOSDisplay PrivateOption[ATI_OPTION_BIOS_DISPLAY].value.bool +-# define Blend PrivateOption[ATI_OPTION_BLEND].value.bool +-# define CRTDisplay PublicOption[ATI_OPTION_CRT_DISPLAY].value.bool +-# define CRTScreen PrivateOption[ATI_OPTION_CRT_SCREEN].value.bool +-# define CSync PublicOption[ATI_OPTION_CSYNC].value.bool +-# define Devel PrivateOption[ATI_OPTION_DEVEL].value.bool +-# define HWCursor PublicOption[ATI_OPTION_HWCURSOR].value.bool ++# define ProbeSparse PublicOption[ATI_OPTION_PROBE_SPARSE].value.boolean ++# define Accel PublicOption[ATI_OPTION_ACCEL].value.boolean ++# define BIOSDisplay PrivateOption[ATI_OPTION_BIOS_DISPLAY].value.boolean ++# define Blend PrivateOption[ATI_OPTION_BLEND].value.boolean ++# define CRTDisplay PublicOption[ATI_OPTION_CRT_DISPLAY].value.boolean ++# define CRTScreen PrivateOption[ATI_OPTION_CRT_SCREEN].value.boolean ++# define CSync PublicOption[ATI_OPTION_CSYNC].value.boolean ++# define Devel PrivateOption[ATI_OPTION_DEVEL].value.boolean ++# define HWCursor PublicOption[ATI_OPTION_HWCURSOR].value.boolean + + #ifdef XF86DRI_DEVEL + +-# define IsPCI PublicOption[ATI_OPTION_IS_PCI].value.bool ++# define IsPCI PublicOption[ATI_OPTION_IS_PCI].value.boolean + # define DMAMode PublicOption[ATI_OPTION_DMA_MODE].value.str + # define AGPMode PublicOption[ATI_OPTION_AGP_MODE].value.num + # define AGPSize PublicOption[ATI_OPTION_AGP_SIZE].value.num +-# define LocalTex PublicOption[ATI_OPTION_LOCAL_TEXTURES].value.bool ++# define LocalTex PublicOption[ATI_OPTION_LOCAL_TEXTURES].value.boolean + # define BufferSize PublicOption[ATI_OPTION_BUFFER_SIZE].value.num + + #endif /* XF86DRI_DEVEL */ + + #ifdef TV_OUT + +-# define TvOut PublicOption[ATI_OPTION_TV_OUT].value.bool ++# define TvOut PublicOption[ATI_OPTION_TV_OUT].value.boolean + # define TvStd PublicOption[ATI_OPTION_TV_STD].value.str + + #endif /* TV_OUT */ + +-# define CacheMMIO PublicOption[ATI_OPTION_MMIO_CACHE].value.bool +-# define TestCacheMMIO PublicOption[ATI_OPTION_TEST_MMIO_CACHE].value.bool +-# define PanelDisplay PublicOption[ATI_OPTION_PANEL_DISPLAY].value.bool +-# define ShadowFB PublicOption[ATI_OPTION_SHADOW_FB].value.bool +-# define SWCursor PublicOption[ATI_OPTION_SWCURSOR].value.bool ++# define CacheMMIO PublicOption[ATI_OPTION_MMIO_CACHE].value.boolean ++# define TestCacheMMIO PublicOption[ATI_OPTION_TEST_MMIO_CACHE].value.boolean ++# define PanelDisplay PublicOption[ATI_OPTION_PANEL_DISPLAY].value.boolean ++# define ShadowFB PublicOption[ATI_OPTION_SHADOW_FB].value.boolean ++# define SWCursor PublicOption[ATI_OPTION_SWCURSOR].value.boolean + # define AccelMethod PublicOption[ATI_OPTION_ACCELMETHOD].value.str +-# define RenderAccel PublicOption[ATI_OPTION_RENDER_ACCEL].value.bool +-# define LCDSync PrivateOption[ATI_OPTION_LCDSYNC].value.bool ++# define RenderAccel PublicOption[ATI_OPTION_RENDER_ACCEL].value.boolean ++# define LCDSync PrivateOption[ATI_OPTION_LCDSYNC].value.boolean + + # define ReferenceClock \ + PublicOption[ATI_OPTION_REFERENCE_CLOCK].value.freq.freq +-- +GitLab + diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.hash diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk new file mode 100644 index 00000000..eee8fec2 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mach64/xdriver_xf86-video-mach64.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# xdriver_xf86-video-mach64 +# +################################################################################ + +XDRIVER_XF86_VIDEO_MACH64_VERSION = 6.9.6 +XDRIVER_XF86_VIDEO_MACH64_SOURCE = xf86-video-mach64-$(XDRIVER_XF86_VIDEO_MACH64_VERSION).tar.bz2 +XDRIVER_XF86_VIDEO_MACH64_SITE = http://xorg.freedesktop.org/releases/individual/driver +XDRIVER_XF86_VIDEO_MACH64_LICENSE = MIT +XDRIVER_XF86_VIDEO_MACH64_LICENSE_FILES = COPYING +XDRIVER_XF86_VIDEO_MACH64_AUTORECONF = YES +XDRIVER_XF86_VIDEO_MACH64_DEPENDENCIES = xserver_xorg-server xorgproto + +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) +XDRIVER_XF86_VIDEO_MACH64_CONF_OPTS += --disable-dri +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/0001-misc-fixes.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/0001-misc-fixes.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/0001-misc-fixes.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/0001-misc-fixes.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.hash diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk new file mode 100644 index 00000000..3c668a5c --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# xdriver_xf86-video-mga +# +################################################################################ + +XDRIVER_XF86_VIDEO_MGA_VERSION = 2.0.0 +XDRIVER_XF86_VIDEO_MGA_SOURCE = xf86-video-mga-$(XDRIVER_XF86_VIDEO_MGA_VERSION).tar.bz2 +XDRIVER_XF86_VIDEO_MGA_SITE = http://xorg.freedesktop.org/archive/individual/driver +XDRIVER_XF86_VIDEO_MGA_LICENSE = MIT +XDRIVER_XF86_VIDEO_MGA_LICENSE_FILES = COPYING +XDRIVER_XF86_VIDEO_MGA_AUTORECONF = YES +XDRIVER_XF86_VIDEO_MGA_DEPENDENCIES = xserver_xorg-server libdrm xorgproto + +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) +XDRIVER_XF86_VIDEO_MGA_CONF_OPTS += --disable-dri +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-neomagic/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-neomagic/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-neomagic/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-neomagic/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-neomagic/xdriver_xf86-video-neomagic.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-neomagic/xdriver_xf86-video-neomagic.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-neomagic/xdriver_xf86-video-neomagic.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-neomagic/xdriver_xf86-video-neomagic.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-neomagic/xdriver_xf86-video-neomagic.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-neomagic/xdriver_xf86-video-neomagic.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-neomagic/xdriver_xf86-video-neomagic.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-neomagic/xdriver_xf86-video-neomagic.mk diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/0001-nouveau-fixup-driver-for-new-X-server-ABI.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/0001-nouveau-fixup-driver-for-new-X-server-ABI.patch new file mode 100644 index 00000000..96be4909 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/0001-nouveau-fixup-driver-for-new-X-server-ABI.patch @@ -0,0 +1,68 @@ +From e80e73ced69b15662103d0fd6837db4ce6c6eb5b Mon Sep 17 00:00:00 2001 +From: Dave Airlie +Date: Mon, 13 Jul 2020 09:20:15 +1000 +Subject: [PATCH] nouveau: fixup driver for new X server ABI + +Downloaded from upstream commit +https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/commit/e80e73ced69b15662103d0fd6837db4ce6c6eb5b + +Signed-off-by: Bernd Kuhls +--- + src/compat-api.h | 4 ++++ + src/nouveau_exa.c | 2 +- + src/nv_driver.c | 6 +++--- + 3 files changed, 8 insertions(+), 4 deletions(-) + +diff --git a/src/compat-api.h b/src/compat-api.h +index fde2f4b..8a1fcf9 100644 +--- a/src/compat-api.h ++++ b/src/compat-api.h +@@ -102,4 +102,8 @@ + + #endif + ++#if ABI_VIDEODRV_VERSION < SET_ABI_VERSION(25, 2) ++#define secondary_dst slave_dst ++#endif ++ + #endif +diff --git a/src/nouveau_exa.c b/src/nouveau_exa.c +index 55df6f8..db3b112 100644 +--- a/src/nouveau_exa.c ++++ b/src/nouveau_exa.c +@@ -157,7 +157,7 @@ nouveau_exa_destroy_pixmap(ScreenPtr pScreen, void *priv) + + #ifdef NOUVEAU_PIXMAP_SHARING + static Bool +-nouveau_exa_share_pixmap_backing(PixmapPtr ppix, ScreenPtr slave, void **handle_p) ++nouveau_exa_share_pixmap_backing(PixmapPtr ppix, ScreenPtr secondary, void **handle_p) + { + struct nouveau_bo *bo = nouveau_pixmap_bo(ppix); + struct nouveau_pixmap *nvpix = nouveau_pixmap(ppix); +diff --git a/src/nv_driver.c b/src/nv_driver.c +index e72a6b6..f9ab4af 100644 +--- a/src/nv_driver.c ++++ b/src/nv_driver.c +@@ -559,16 +559,16 @@ redisplay_dirty(ScreenPtr screen, PixmapDirtyUpdatePtr dirty) + { + RegionRec pixregion; + +- PixmapRegionInit(&pixregion, dirty->slave_dst); ++ PixmapRegionInit(&pixregion, dirty->secondary_dst); + +- DamageRegionAppend(&dirty->slave_dst->drawable, &pixregion); ++ DamageRegionAppend(&dirty->secondary_dst->drawable, &pixregion); + #ifdef HAS_DIRTYTRACKING_ROTATION + PixmapSyncDirtyHelper(dirty); + #else + PixmapSyncDirtyHelper(dirty, &pixregion); + #endif + +- DamageRegionProcessPending(&dirty->slave_dst->drawable); ++ DamageRegionProcessPending(&dirty->secondary_dst->drawable); + RegionUninit(&pixregion); + } + +-- +GitLab + diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-nouveau/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-nouveau/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nouveau/xdriver_xf86-video-nouveau.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-nv/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nv/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-nv/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nv/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-nv/xdriver_xf86-video-nv.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nv/xdriver_xf86-video-nv.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-nv/xdriver_xf86-video-nv.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nv/xdriver_xf86-video-nv.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-nv/xdriver_xf86-video-nv.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nv/xdriver_xf86-video-nv.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-nv/xdriver_xf86-video-nv.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-nv/xdriver_xf86-video-nv.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-openchrome/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-openchrome/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-openchrome/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-openchrome/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-openchrome/xdriver_xf86-video-openchrome.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-openchrome/xdriver_xf86-video-openchrome.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-openchrome/xdriver_xf86-video-openchrome.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-openchrome/xdriver_xf86-video-openchrome.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-openchrome/xdriver_xf86-video-openchrome.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-openchrome/xdriver_xf86-video-openchrome.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-openchrome/xdriver_xf86-video-openchrome.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-openchrome/xdriver_xf86-video-openchrome.mk diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/0001-Fix-a-build-error-with-Xorg-master.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/0001-Fix-a-build-error-with-Xorg-master.patch new file mode 100644 index 00000000..d3257fba --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/0001-Fix-a-build-error-with-Xorg-master.patch @@ -0,0 +1,106 @@ +From 4e1963a812f2c1777ba5d56ea9e939a3e40a0496 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Zolt=C3=A1n=20B=C3=B6sz=C3=B6rm=C3=A9nyi?= + +Date: Sat, 28 Aug 2021 15:38:40 +0200 +Subject: [PATCH] Fix a build error with Xorg master +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Use xf86ReturnOptValBool() in get_bool_option() instead of +options[option_index].value.bool to fix a compiler error with +current Xorg xserver master branch. + +Also use xf86GetOptValInteger() in get_int_option() and +xf86GetOptValString() in get_str_option() for consistency. + +The change causes a slight performance drop during option parsing +because the passed-in index_value is no longer used as an index +into the options array. + +Instead, it's used as a token now for the standard option getter +functions which works since the index_value to the get_*_option() +functions are identical to the value of options[n].token in the +passed-in OptionInfoRec array. + +Also rename "int option_index" to "int token" for clarity in all +three functions. + +Signed-off-by: Zoltán Böszörményi + +Downloaded from upstream commit +https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/commit/4e1963a812f2c1777ba5d56ea9e939a3e40a0496 + +Signed-off-by: Bernd Kuhls +--- + src/qxl_option_helpers.c | 13 +++++++------ + src/qxl_option_helpers.h | 6 +++--- + 2 files changed, 10 insertions(+), 9 deletions(-) + +diff --git a/src/qxl_option_helpers.c b/src/qxl_option_helpers.c +index 2aba677..7707b7c 100644 +--- a/src/qxl_option_helpers.c ++++ b/src/qxl_option_helpers.c +@@ -10,31 +10,32 @@ + + #include "qxl_option_helpers.h" + +-int get_int_option(OptionInfoPtr options, int option_index, ++int get_int_option(OptionInfoPtr options, int token, + const char *env_name) + { ++ int value; + if (env_name && getenv(env_name)) { + return atoi(getenv(env_name)); + } +- return options[option_index].value.num; ++ return xf86GetOptValInteger(options, token, &value) ? value : 0; + } + +-const char *get_str_option(OptionInfoPtr options, int option_index, ++const char *get_str_option(OptionInfoPtr options, int token, + const char *env_name) + { + if (getenv(env_name)) { + return getenv(env_name); + } +- return options[option_index].value.str; ++ return xf86GetOptValString(options, token); + } + +-int get_bool_option(OptionInfoPtr options, int option_index, ++int get_bool_option(OptionInfoPtr options, int token, + const char *env_name) + { + const char* value = getenv(env_name); + + if (!value) { +- return options[option_index].value.bool; ++ return xf86ReturnOptValBool(options, token, FALSE); + } + if (strcmp(value, "0") == 0 || + strcasecmp(value, "off") == 0 || +diff --git a/src/qxl_option_helpers.h b/src/qxl_option_helpers.h +index 7c54c72..66d0a17 100644 +--- a/src/qxl_option_helpers.h ++++ b/src/qxl_option_helpers.h +@@ -4,13 +4,13 @@ + #include + #include + +-int get_int_option(OptionInfoPtr options, int option_index, ++int get_int_option(OptionInfoPtr options, int token, + const char *env_name); + +-const char *get_str_option(OptionInfoPtr options, int option_index, ++const char *get_str_option(OptionInfoPtr options, int token, + const char *env_name); + +-int get_bool_option(OptionInfoPtr options, int option_index, ++int get_bool_option(OptionInfoPtr options, int token, + const char *env_name); + + #endif // OPTION_HELPERS_H +-- +GitLab + diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-qxl/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-qxl/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-qxl/xdriver_xf86-video-qxl.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-r128/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-r128/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-r128/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-r128/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.hash diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk new file mode 100644 index 00000000..690041d4 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-r128/xdriver_xf86-video-r128.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# xdriver_xf86-video-r128 +# +################################################################################ + +XDRIVER_XF86_VIDEO_R128_VERSION = 6.12.0 +XDRIVER_XF86_VIDEO_R128_SOURCE = xf86-video-r128-$(XDRIVER_XF86_VIDEO_R128_VERSION).tar.bz2 +XDRIVER_XF86_VIDEO_R128_SITE = http://xorg.freedesktop.org/releases/individual/driver +XDRIVER_XF86_VIDEO_R128_LICENSE = MIT +XDRIVER_XF86_VIDEO_R128_LICENSE_FILES = COPYING +XDRIVER_XF86_VIDEO_R128_DEPENDENCIES = xserver_xorg-server xorgproto + +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) +XDRIVER_XF86_VIDEO_R128_CONF_OPTS += --disable-dri +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/0001-cross-compile.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/0001-cross-compile.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/0001-cross-compile.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/0001-cross-compile.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/0002-xorg-xserver120.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/0002-xorg-xserver120.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/0002-xorg-xserver120.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/0002-xorg-xserver120.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.hash diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk new file mode 100644 index 00000000..102aa2c4 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-savage/xdriver_xf86-video-savage.mk @@ -0,0 +1,19 @@ +################################################################################ +# +# xdriver_xf86-video-savage +# +################################################################################ + +XDRIVER_XF86_VIDEO_SAVAGE_VERSION = 2.3.9 +XDRIVER_XF86_VIDEO_SAVAGE_SOURCE = xf86-video-savage-$(XDRIVER_XF86_VIDEO_SAVAGE_VERSION).tar.bz2 +XDRIVER_XF86_VIDEO_SAVAGE_SITE = http://xorg.freedesktop.org/releases/individual/driver +XDRIVER_XF86_VIDEO_SAVAGE_LICENSE = MIT +XDRIVER_XF86_VIDEO_SAVAGE_LICENSE_FILES = COPYING +XDRIVER_XF86_VIDEO_SAVAGE_AUTORECONF = YES +XDRIVER_XF86_VIDEO_SAVAGE_DEPENDENCIES = xserver_xorg-server libdrm xorgproto + +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) +XDRIVER_XF86_VIDEO_SAVAGE_CONF_OPTS += --disable-dri +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-siliconmotion/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-siliconmotion/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-siliconmotion/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-siliconmotion/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-siliconmotion/xdriver_xf86-video-siliconmotion.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-siliconmotion/xdriver_xf86-video-siliconmotion.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-siliconmotion/xdriver_xf86-video-siliconmotion.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-siliconmotion/xdriver_xf86-video-siliconmotion.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-siliconmotion/xdriver_xf86-video-siliconmotion.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-siliconmotion/xdriver_xf86-video-siliconmotion.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-siliconmotion/xdriver_xf86-video-siliconmotion.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-siliconmotion/xdriver_xf86-video-siliconmotion.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-sis/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-sis/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-sis/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-sis/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-sis/xdriver_xf86-video-sis.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/0001-cross.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.hash diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk new file mode 100644 index 00000000..14c40e4d --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tdfx/xdriver_xf86-video-tdfx.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# xdriver_xf86-video-tdfx +# +################################################################################ + +XDRIVER_XF86_VIDEO_TDFX_VERSION = 1.5.0 +XDRIVER_XF86_VIDEO_TDFX_SITE = http://xorg.freedesktop.org/releases/individual/driver +XDRIVER_XF86_VIDEO_TDFX_SOURCE = xf86-video-tdfx-$(XDRIVER_XF86_VIDEO_TDFX_VERSION).tar.bz2 +XDRIVER_XF86_VIDEO_TDFX_LICENSE = MIT +XDRIVER_XF86_VIDEO_TDFX_LICENSE_FILES = COPYING +XDRIVER_XF86_VIDEO_TDFX_AUTORECONF = YES +XDRIVER_XF86_VIDEO_TDFX_DEPENDENCIES = \ + libdrm \ + xorgproto \ + xserver_xorg-server + +ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),) +XDRIVER_XF86_VIDEO_TDFX_CONF_OPTS += --disable-dri +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tga/0001-mibstore.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tga/0001-mibstore.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-tga/0001-mibstore.patch rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tga/0001-mibstore.patch diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tga/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tga/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-tga/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tga/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-tga/xdriver_xf86-video-tga.mk diff --git a/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/0001-Remove-ramdac.patch b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/0001-Remove-ramdac.patch new file mode 100644 index 00000000..38ca9afe --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/0001-Remove-ramdac.patch @@ -0,0 +1,56 @@ +From 07a5c4732f1c28ffcb873ee04500e3cb813c50b4 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 7 Dec 2021 22:28:04 +0100 +Subject: [PATCH] Remove ramdac + +ramdac drivers have been removed from xserver since version 21.0.99.1 +and +https://gitlab.freedesktop.org/xorg/xserver/-/commit/f0385fb420158ac3bc1c4c325431ffc5c62344bb +resulting in the following build failure: + +In file included from trident_bank.c:37: +trident.h:41:10: fatal error: xf86RamDac.h: No such file or directory + 41 | #include "xf86RamDac.h" + | ^~~~~~~~~~~~~~ + +Fixes: + - http://autobuild.buildroot.org/results/c81ac8075af257e8626d9d097270be7a7b4a1496 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.freedesktop.org/xorg/driver/xf86-video-trident/-/merge_requests/1] +--- + src/trident.h | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/src/trident.h b/src/trident.h +index 5cadf52..c82de4c 100644 +--- a/src/trident.h ++++ b/src/trident.h +@@ -38,7 +38,6 @@ + #include "xaa.h" + #endif + #include "xf86fbman.h" +-#include "xf86RamDac.h" + #include "compiler.h" + #include "vgaHW.h" + #include "xf86i2c.h" +@@ -103,7 +102,6 @@ typedef struct { + int useEXA; + int Chipset; + int DACtype; +- int RamDac; + int ChipRev; + int HwBpp; + int BppShift; +@@ -169,7 +167,6 @@ typedef struct { + CARD32 BltScanDirection; + CARD32 DrawFlag; + CARD16 LinePattern; +- RamDacRecPtr RamDacRec; + int CursorOffset; + xf86CursorInfoPtr CursorInfoRec; + xf86Int10InfoPtr Int10; +-- +2.33.0 + diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-trident/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-trident/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-trident/xdriver_xf86-video-trident.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/xdriver_xf86-video-trident.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-trident/xdriver_xf86-video-trident.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/xdriver_xf86-video-trident.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-trident/xdriver_xf86-video-trident.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/xdriver_xf86-video-trident.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-trident/xdriver_xf86-video-trident.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-trident/xdriver_xf86-video-trident.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-vesa/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vesa/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-vesa/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vesa/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vesa/xdriver_xf86-video-vesa.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-vmware/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vmware/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-vmware/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vmware/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-vmware/xdriver_xf86-video-vmware.hash b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vmware/xdriver_xf86-video-vmware.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-vmware/xdriver_xf86-video-vmware.hash rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vmware/xdriver_xf86-video-vmware.hash diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-vmware/xdriver_xf86-video-vmware.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vmware/xdriver_xf86-video-vmware.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-vmware/xdriver_xf86-video-vmware.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-vmware/xdriver_xf86-video-vmware.mk diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-voodoo/Config.in b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-voodoo/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-voodoo/Config.in rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-voodoo/Config.in diff --git a/buildroot-2021.05/package/x11r7/xdriver_xf86-video-voodoo/xdriver_xf86-video-voodoo.mk b/buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-voodoo/xdriver_xf86-video-voodoo.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xdriver_xf86-video-voodoo/xdriver_xf86-video-voodoo.mk rename to buildroot-2022.02.1/package/x11r7/xdriver_xf86-video-voodoo/xdriver_xf86-video-voodoo.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_encodings/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_encodings/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_encodings/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_encodings/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_encodings/xfont_encodings.hash b/buildroot-2022.02.1/package/x11r7/xfont_encodings/xfont_encodings.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_encodings/xfont_encodings.hash rename to buildroot-2022.02.1/package/x11r7/xfont_encodings/xfont_encodings.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_encodings/xfont_encodings.mk b/buildroot-2022.02.1/package/x11r7/xfont_encodings/xfont_encodings.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_encodings/xfont_encodings.mk rename to buildroot-2022.02.1/package/x11r7/xfont_encodings/xfont_encodings.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-100dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-100dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-100dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-100dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-100dpi/xfont_font-adobe-100dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-100dpi/xfont_font-adobe-100dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-100dpi/xfont_font-adobe-100dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-100dpi/xfont_font-adobe-100dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-100dpi/xfont_font-adobe-100dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-100dpi/xfont_font-adobe-100dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-100dpi/xfont_font-adobe-100dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-100dpi/xfont_font-adobe-100dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-75dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-75dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-75dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-75dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-75dpi/xfont_font-adobe-75dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-75dpi/xfont_font-adobe-75dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-75dpi/xfont_font-adobe-75dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-75dpi/xfont_font-adobe-75dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-75dpi/xfont_font-adobe-75dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-75dpi/xfont_font-adobe-75dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-75dpi/xfont_font-adobe-75dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-75dpi/xfont_font-adobe-75dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-100dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-100dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-100dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-100dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-100dpi/xfont_font-adobe-utopia-100dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-100dpi/xfont_font-adobe-utopia-100dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-100dpi/xfont_font-adobe-utopia-100dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-100dpi/xfont_font-adobe-utopia-100dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-100dpi/xfont_font-adobe-utopia-100dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-100dpi/xfont_font-adobe-utopia-100dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-100dpi/xfont_font-adobe-utopia-100dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-100dpi/xfont_font-adobe-utopia-100dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-75dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-75dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-75dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-75dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-75dpi/xfont_font-adobe-utopia-75dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-75dpi/xfont_font-adobe-utopia-75dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-75dpi/xfont_font-adobe-utopia-75dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-75dpi/xfont_font-adobe-utopia-75dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-75dpi/xfont_font-adobe-utopia-75dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-75dpi/xfont_font-adobe-utopia-75dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-75dpi/xfont_font-adobe-utopia-75dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-75dpi/xfont_font-adobe-utopia-75dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-type1/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-type1/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-type1/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-type1/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-type1/xfont_font-adobe-utopia-type1.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-type1/xfont_font-adobe-utopia-type1.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-type1/xfont_font-adobe-utopia-type1.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-type1/xfont_font-adobe-utopia-type1.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-type1/xfont_font-adobe-utopia-type1.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-type1/xfont_font-adobe-utopia-type1.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-adobe-utopia-type1/xfont_font-adobe-utopia-type1.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-adobe-utopia-type1/xfont_font-adobe-utopia-type1.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-alias/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-alias/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-alias/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-alias/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-alias/xfont_font-alias.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-alias/xfont_font-alias.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-alias/xfont_font-alias.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-alias/xfont_font-alias.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-alias/xfont_font-alias.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-alias/xfont_font-alias.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-alias/xfont_font-alias.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-alias/xfont_font-alias.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-arabic-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-arabic-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-arabic-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-arabic-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-arabic-misc/xfont_font-arabic-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-arabic-misc/xfont_font-arabic-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-arabic-misc/xfont_font-arabic-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-arabic-misc/xfont_font-arabic-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-arabic-misc/xfont_font-arabic-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-arabic-misc/xfont_font-arabic-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-arabic-misc/xfont_font-arabic-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-arabic-misc/xfont_font-arabic-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-100dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-100dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-100dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-100dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-100dpi/xfont_font-bh-100dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-100dpi/xfont_font-bh-100dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-100dpi/xfont_font-bh-100dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-100dpi/xfont_font-bh-100dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-100dpi/xfont_font-bh-100dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-100dpi/xfont_font-bh-100dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-100dpi/xfont_font-bh-100dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-100dpi/xfont_font-bh-100dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-75dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-75dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-75dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-75dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-75dpi/xfont_font-bh-75dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-75dpi/xfont_font-bh-75dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-75dpi/xfont_font-bh-75dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-75dpi/xfont_font-bh-75dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-75dpi/xfont_font-bh-75dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-75dpi/xfont_font-bh-75dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-75dpi/xfont_font-bh-75dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-75dpi/xfont_font-bh-75dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/xfont_font-bh-lucidatypewriter-100dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/xfont_font-bh-lucidatypewriter-100dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/xfont_font-bh-lucidatypewriter-100dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/xfont_font-bh-lucidatypewriter-100dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/xfont_font-bh-lucidatypewriter-100dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/xfont_font-bh-lucidatypewriter-100dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/xfont_font-bh-lucidatypewriter-100dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-100dpi/xfont_font-bh-lucidatypewriter-100dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/xfont_font-bh-lucidatypewriter-75dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/xfont_font-bh-lucidatypewriter-75dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/xfont_font-bh-lucidatypewriter-75dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/xfont_font-bh-lucidatypewriter-75dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/xfont_font-bh-lucidatypewriter-75dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/xfont_font-bh-lucidatypewriter-75dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/xfont_font-bh-lucidatypewriter-75dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-lucidatypewriter-75dpi/xfont_font-bh-lucidatypewriter-75dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-ttf/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-ttf/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-ttf/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-ttf/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-ttf/xfont_font-bh-ttf.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-type1/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-type1/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-type1/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-type1/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-type1/xfont_font-bh-type1.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-type1/xfont_font-bh-type1.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-type1/xfont_font-bh-type1.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-type1/xfont_font-bh-type1.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bh-type1/xfont_font-bh-type1.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bh-type1/xfont_font-bh-type1.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bh-type1/xfont_font-bh-type1.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bh-type1/xfont_font-bh-type1.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-100dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-100dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-100dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-100dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-100dpi/xfont_font-bitstream-100dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-100dpi/xfont_font-bitstream-100dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-100dpi/xfont_font-bitstream-100dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-100dpi/xfont_font-bitstream-100dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-100dpi/xfont_font-bitstream-100dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-100dpi/xfont_font-bitstream-100dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-100dpi/xfont_font-bitstream-100dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-100dpi/xfont_font-bitstream-100dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-75dpi/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-75dpi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-75dpi/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-75dpi/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-75dpi/xfont_font-bitstream-75dpi.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-75dpi/xfont_font-bitstream-75dpi.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-75dpi/xfont_font-bitstream-75dpi.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-75dpi/xfont_font-bitstream-75dpi.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-75dpi/xfont_font-bitstream-75dpi.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-75dpi/xfont_font-bitstream-75dpi.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-75dpi/xfont_font-bitstream-75dpi.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-75dpi/xfont_font-bitstream-75dpi.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-type1/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-type1/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-type1/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-type1/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-type1/xfont_font-bitstream-type1.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-type1/xfont_font-bitstream-type1.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-type1/xfont_font-bitstream-type1.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-type1/xfont_font-bitstream-type1.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-bitstream-type1/xfont_font-bitstream-type1.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-type1/xfont_font-bitstream-type1.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-bitstream-type1/xfont_font-bitstream-type1.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-bitstream-type1/xfont_font-bitstream-type1.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-cronyx-cyrillic/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-cronyx-cyrillic/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-cronyx-cyrillic/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-cronyx-cyrillic/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-cronyx-cyrillic/xfont_font-cronyx-cyrillic.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-cronyx-cyrillic/xfont_font-cronyx-cyrillic.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-cronyx-cyrillic/xfont_font-cronyx-cyrillic.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-cronyx-cyrillic/xfont_font-cronyx-cyrillic.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-cronyx-cyrillic/xfont_font-cronyx-cyrillic.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-cronyx-cyrillic/xfont_font-cronyx-cyrillic.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-cronyx-cyrillic/xfont_font-cronyx-cyrillic.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-cronyx-cyrillic/xfont_font-cronyx-cyrillic.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-cursor-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-cursor-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-cursor-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-cursor-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-cursor-misc/xfont_font-cursor-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-cursor-misc/xfont_font-cursor-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-cursor-misc/xfont_font-cursor-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-cursor-misc/xfont_font-cursor-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-cursor-misc/xfont_font-cursor-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-cursor-misc/xfont_font-cursor-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-cursor-misc/xfont_font-cursor-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-cursor-misc/xfont_font-cursor-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-daewoo-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-daewoo-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-daewoo-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-daewoo-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-daewoo-misc/xfont_font-daewoo-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-daewoo-misc/xfont_font-daewoo-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-daewoo-misc/xfont_font-daewoo-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-daewoo-misc/xfont_font-daewoo-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-daewoo-misc/xfont_font-daewoo-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-daewoo-misc/xfont_font-daewoo-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-daewoo-misc/xfont_font-daewoo-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-daewoo-misc/xfont_font-daewoo-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-dec-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-dec-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-dec-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-dec-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-dec-misc/xfont_font-dec-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-dec-misc/xfont_font-dec-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-dec-misc/xfont_font-dec-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-dec-misc/xfont_font-dec-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-dec-misc/xfont_font-dec-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-dec-misc/xfont_font-dec-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-dec-misc/xfont_font-dec-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-dec-misc/xfont_font-dec-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-ibm-type1/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-ibm-type1/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-ibm-type1/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-ibm-type1/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-ibm-type1/xfont_font-ibm-type1.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-ibm-type1/xfont_font-ibm-type1.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-ibm-type1/xfont_font-ibm-type1.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-ibm-type1/xfont_font-ibm-type1.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-ibm-type1/xfont_font-ibm-type1.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-ibm-type1/xfont_font-ibm-type1.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-ibm-type1/xfont_font-ibm-type1.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-ibm-type1/xfont_font-ibm-type1.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-isas-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-isas-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-isas-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-isas-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-isas-misc/xfont_font-isas-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-isas-misc/xfont_font-isas-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-isas-misc/xfont_font-isas-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-isas-misc/xfont_font-isas-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-isas-misc/xfont_font-isas-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-isas-misc/xfont_font-isas-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-isas-misc/xfont_font-isas-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-isas-misc/xfont_font-isas-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-jis-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-jis-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-jis-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-jis-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-jis-misc/xfont_font-jis-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-jis-misc/xfont_font-jis-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-jis-misc/xfont_font-jis-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-jis-misc/xfont_font-jis-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-jis-misc/xfont_font-jis-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-jis-misc/xfont_font-jis-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-jis-misc/xfont_font-jis-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-jis-misc/xfont_font-jis-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-micro-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-micro-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-micro-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-micro-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-micro-misc/xfont_font-micro-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-micro-misc/xfont_font-micro-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-micro-misc/xfont_font-micro-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-micro-misc/xfont_font-micro-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-micro-misc/xfont_font-micro-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-micro-misc/xfont_font-micro-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-micro-misc/xfont_font-micro-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-micro-misc/xfont_font-micro-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-cyrillic/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-cyrillic/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-cyrillic/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-cyrillic/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-cyrillic/xfont_font-misc-cyrillic.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-cyrillic/xfont_font-misc-cyrillic.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-cyrillic/xfont_font-misc-cyrillic.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-cyrillic/xfont_font-misc-cyrillic.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-cyrillic/xfont_font-misc-cyrillic.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-cyrillic/xfont_font-misc-cyrillic.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-cyrillic/xfont_font-misc-cyrillic.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-cyrillic/xfont_font-misc-cyrillic.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-ethiopic/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-ethiopic/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-ethiopic/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-ethiopic/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-ethiopic/xfont_font-misc-ethiopic.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-ethiopic/xfont_font-misc-ethiopic.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-ethiopic/xfont_font-misc-ethiopic.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-ethiopic/xfont_font-misc-ethiopic.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-ethiopic/xfont_font-misc-ethiopic.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-ethiopic/xfont_font-misc-ethiopic.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-ethiopic/xfont_font-misc-ethiopic.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-ethiopic/xfont_font-misc-ethiopic.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-meltho/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-meltho/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-meltho/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-meltho/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-meltho/xfont_font-misc-meltho.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-meltho/xfont_font-misc-meltho.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-meltho/xfont_font-misc-meltho.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-meltho/xfont_font-misc-meltho.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-meltho/xfont_font-misc-meltho.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-meltho/xfont_font-misc-meltho.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-meltho/xfont_font-misc-meltho.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-meltho/xfont_font-misc-meltho.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-misc-misc/xfont_font-misc-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-mutt-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-mutt-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-mutt-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-mutt-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-mutt-misc/xfont_font-mutt-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-mutt-misc/xfont_font-mutt-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-mutt-misc/xfont_font-mutt-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-mutt-misc/xfont_font-mutt-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-mutt-misc/xfont_font-mutt-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-mutt-misc/xfont_font-mutt-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-mutt-misc/xfont_font-mutt-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-mutt-misc/xfont_font-mutt-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-schumacher-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-schumacher-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-schumacher-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-schumacher-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-schumacher-misc/xfont_font-schumacher-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-schumacher-misc/xfont_font-schumacher-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-schumacher-misc/xfont_font-schumacher-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-schumacher-misc/xfont_font-schumacher-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-schumacher-misc/xfont_font-schumacher-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-schumacher-misc/xfont_font-schumacher-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-schumacher-misc/xfont_font-schumacher-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-schumacher-misc/xfont_font-schumacher-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-screen-cyrillic/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-screen-cyrillic/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-screen-cyrillic/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-screen-cyrillic/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-screen-cyrillic/xfont_font-screen-cyrillic.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-screen-cyrillic/xfont_font-screen-cyrillic.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-screen-cyrillic/xfont_font-screen-cyrillic.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-screen-cyrillic/xfont_font-screen-cyrillic.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-screen-cyrillic/xfont_font-screen-cyrillic.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-screen-cyrillic/xfont_font-screen-cyrillic.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-screen-cyrillic/xfont_font-screen-cyrillic.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-screen-cyrillic/xfont_font-screen-cyrillic.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-sony-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-sony-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-sony-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-sony-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-sony-misc/xfont_font-sony-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-sony-misc/xfont_font-sony-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-sony-misc/xfont_font-sony-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-sony-misc/xfont_font-sony-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-sony-misc/xfont_font-sony-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-sony-misc/xfont_font-sony-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-sony-misc/xfont_font-sony-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-sony-misc/xfont_font-sony-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-sun-misc/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-sun-misc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-sun-misc/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-sun-misc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-sun-misc/xfont_font-sun-misc.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-sun-misc/xfont_font-sun-misc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-sun-misc/xfont_font-sun-misc.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-sun-misc/xfont_font-sun-misc.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-sun-misc/xfont_font-sun-misc.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-sun-misc/xfont_font-sun-misc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-sun-misc/xfont_font-sun-misc.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-sun-misc/xfont_font-sun-misc.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-util/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-util/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-util/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-util/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-util/xfont_font-util.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-util/xfont_font-util.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-util/xfont_font-util.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-util/xfont_font-util.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-util/xfont_font-util.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-util/xfont_font-util.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-util/xfont_font-util.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-util/xfont_font-util.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-winitzki-cyrillic/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-winitzki-cyrillic/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-winitzki-cyrillic/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-winitzki-cyrillic/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-winitzki-cyrillic/xfont_font-winitzki-cyrillic.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-winitzki-cyrillic/xfont_font-winitzki-cyrillic.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-winitzki-cyrillic/xfont_font-winitzki-cyrillic.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-winitzki-cyrillic/xfont_font-winitzki-cyrillic.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-winitzki-cyrillic/xfont_font-winitzki-cyrillic.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-winitzki-cyrillic/xfont_font-winitzki-cyrillic.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-winitzki-cyrillic/xfont_font-winitzki-cyrillic.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-winitzki-cyrillic/xfont_font-winitzki-cyrillic.mk diff --git a/buildroot-2021.05/package/x11r7/xfont_font-xfree86-type1/Config.in b/buildroot-2022.02.1/package/x11r7/xfont_font-xfree86-type1/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-xfree86-type1/Config.in rename to buildroot-2022.02.1/package/x11r7/xfont_font-xfree86-type1/Config.in diff --git a/buildroot-2021.05/package/x11r7/xfont_font-xfree86-type1/xfont_font-xfree86-type1.hash b/buildroot-2022.02.1/package/x11r7/xfont_font-xfree86-type1/xfont_font-xfree86-type1.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-xfree86-type1/xfont_font-xfree86-type1.hash rename to buildroot-2022.02.1/package/x11r7/xfont_font-xfree86-type1/xfont_font-xfree86-type1.hash diff --git a/buildroot-2021.05/package/x11r7/xfont_font-xfree86-type1/xfont_font-xfree86-type1.mk b/buildroot-2022.02.1/package/x11r7/xfont_font-xfree86-type1/xfont_font-xfree86-type1.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xfont_font-xfree86-type1/xfont_font-xfree86-type1.mk rename to buildroot-2022.02.1/package/x11r7/xfont_font-xfree86-type1/xfont_font-xfree86-type1.mk diff --git a/buildroot-2021.05/package/x11r7/xkeyboard-config/Config.in b/buildroot-2022.02.1/package/x11r7/xkeyboard-config/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xkeyboard-config/Config.in rename to buildroot-2022.02.1/package/x11r7/xkeyboard-config/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xkeyboard-config/xkeyboard-config.hash b/buildroot-2022.02.1/package/x11r7/xkeyboard-config/xkeyboard-config.hash new file mode 100644 index 00000000..a5ae7a70 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xkeyboard-config/xkeyboard-config.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 b321d27686ee7e6610ffe7b56e28d5bbf60625a1f595124cd320c0caa717b8ce xkeyboard-config-2.34.tar.bz2 +sha256 6ca90f4b67dced4062894d6d77f4cc39343df9e359fc12f5e5d3c89ef2a3ef6d COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xkeyboard-config/xkeyboard-config.mk b/buildroot-2022.02.1/package/x11r7/xkeyboard-config/xkeyboard-config.mk new file mode 100644 index 00000000..fe46dae3 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xkeyboard-config/xkeyboard-config.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# xkeyboard-config +# +################################################################################ + +XKEYBOARD_CONFIG_VERSION = 2.34 +XKEYBOARD_CONFIG_SOURCE = xkeyboard-config-$(XKEYBOARD_CONFIG_VERSION).tar.bz2 +XKEYBOARD_CONFIG_SITE = https://www.x.org/releases/individual/data/xkeyboard-config +XKEYBOARD_CONFIG_LICENSE = MIT +XKEYBOARD_CONFIG_LICENSE_FILES = COPYING + +XKEYBOARD_CONFIG_DEPENDENCIES = \ + $(BR2_PYTHON3_HOST_DEPENDENCY) \ + host-gettext \ + host-xapp_xkbcomp + +# xkeyboard-config.pc +XKEYBOARD_CONFIG_INSTALL_STAGING = YES + +XKEYBOARD_CONFIG_CONF_OPTS = --disable-runtime-deps + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libFS/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libFS/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libFS/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libFS/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libFS/xlib_libFS.hash b/buildroot-2022.02.1/package/x11r7/xlib_libFS/xlib_libFS.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libFS/xlib_libFS.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libFS/xlib_libFS.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libFS/xlib_libFS.mk b/buildroot-2022.02.1/package/x11r7/xlib_libFS/xlib_libFS.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libFS/xlib_libFS.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libFS/xlib_libFS.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libICE/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libICE/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libICE/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libICE/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libICE/xlib_libICE.hash b/buildroot-2022.02.1/package/x11r7/xlib_libICE/xlib_libICE.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libICE/xlib_libICE.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libICE/xlib_libICE.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libICE/xlib_libICE.mk b/buildroot-2022.02.1/package/x11r7/xlib_libICE/xlib_libICE.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libICE/xlib_libICE.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libICE/xlib_libICE.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libSM/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libSM/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libSM/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libSM/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libSM/xlib_libSM.hash b/buildroot-2022.02.1/package/x11r7/xlib_libSM/xlib_libSM.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libSM/xlib_libSM.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libSM/xlib_libSM.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libSM/xlib_libSM.mk b/buildroot-2022.02.1/package/x11r7/xlib_libSM/xlib_libSM.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libSM/xlib_libSM.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libSM/xlib_libSM.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libX11/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libX11/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libX11/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libX11/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libX11/xlib_libX11.hash b/buildroot-2022.02.1/package/x11r7/xlib_libX11/xlib_libX11.hash new file mode 100644 index 00000000..126be07f --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libX11/xlib_libX11.hash @@ -0,0 +1,6 @@ +# From https://lists.x.org/archives/xorg-announce/2021-December/003121.html +sha256 2ffd417266fb875028fdc0ef349694f63dbcd76d0b0cfacfb52e6151f4b60989 libX11-1.7.3.1.tar.xz +sha512 a2620076db4bf35ab94706c8ab714e9c3fecbdd533cf99cdffeabaf49a1a1d30a233eb2dc76da51b01d50c43f11780aa3b2936668d982a33fa7d5008be44e25b libX11-1.7.3.1.tar.xz + +# Locally computed +sha256 2daec087a88e7c9b8082557cdeebad5bbb8155a4137472f0b22e269cd99d0c1e COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libX11/xlib_libX11.mk b/buildroot-2022.02.1/package/x11r7/xlib_libX11/xlib_libX11.mk new file mode 100644 index 00000000..a8dc7f36 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libX11/xlib_libX11.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# xlib_libX11 +# +################################################################################ + +XLIB_LIBX11_VERSION = 1.7.3.1 +XLIB_LIBX11_SOURCE = libX11-$(XLIB_LIBX11_VERSION).tar.xz +XLIB_LIBX11_SITE = https://xorg.freedesktop.org/archive/individual/lib +XLIB_LIBX11_LICENSE = MIT +XLIB_LIBX11_LICENSE_FILES = COPYING +XLIB_LIBX11_CPE_ID_VENDOR = x.org +XLIB_LIBX11_CPE_ID_PRODUCT = libx11 +XLIB_LIBX11_INSTALL_STAGING = YES +XLIB_LIBX11_DEPENDENCIES = \ + libxcb \ + xutil_util-macros \ + xlib_xtrans \ + xlib_libXau \ + xlib_libXdmcp \ + xorgproto \ + host-xorgproto + +HOST_XLIB_LIBX11_DEPENDENCIES = \ + host-libxcb \ + host-xutil_util-macros \ + host-xlib_xtrans \ + host-xlib_libXau \ + host-xlib_libXdmcp \ + host-xorgproto + +XLIB_LIBX11_CONF_OPTS = \ + --disable-malloc0returnsnull \ + --disable-specs \ + --without-perl + +HOST_XLIB_LIBX11_CONF_OPTS = \ + --disable-specs \ + --without-perl + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXScrnSaver/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXScrnSaver/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXScrnSaver/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXScrnSaver/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXScrnSaver/xlib_libXScrnSaver.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXau/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXau/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXau/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXau/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXau/xlib_libXau.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXau/xlib_libXau.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXau/xlib_libXau.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXau/xlib_libXau.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXau/xlib_libXau.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXau/xlib_libXau.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXau/xlib_libXau.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXau/xlib_libXau.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXaw/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXaw/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXaw/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXaw/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXaw/xlib_libXaw.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXaw/xlib_libXaw.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXaw/xlib_libXaw.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXaw/xlib_libXaw.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXaw/xlib_libXaw.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXaw/xlib_libXaw.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXaw/xlib_libXaw.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXaw/xlib_libXaw.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXcomposite/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXcomposite/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXcomposite/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXcomposite/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXcomposite/xlib_libXcomposite.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXcomposite/xlib_libXcomposite.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXcomposite/xlib_libXcomposite.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXcomposite/xlib_libXcomposite.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXcomposite/xlib_libXcomposite.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXcomposite/xlib_libXcomposite.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXcomposite/xlib_libXcomposite.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXcomposite/xlib_libXcomposite.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXcursor/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXcursor/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXcursor/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXcursor/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXcursor/xlib_libXcursor.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXcursor/xlib_libXcursor.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXcursor/xlib_libXcursor.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXcursor/xlib_libXcursor.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXcursor/xlib_libXcursor.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXdamage/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXdamage/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXdamage/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXdamage/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXdamage/xlib_libXdamage.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXdamage/xlib_libXdamage.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXdamage/xlib_libXdamage.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXdamage/xlib_libXdamage.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXdamage/xlib_libXdamage.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXdamage/xlib_libXdamage.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXdamage/xlib_libXdamage.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXdamage/xlib_libXdamage.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXdmcp/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXdmcp/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXdmcp/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXdmcp/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXdmcp/xlib_libXdmcp.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXext/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXext/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXext/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXext/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXext/xlib_libXext.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXext/xlib_libXext.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXext/xlib_libXext.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXext/xlib_libXext.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXext/xlib_libXext.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXext/xlib_libXext.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXext/xlib_libXext.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXext/xlib_libXext.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfixes/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXfixes/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXfixes/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXfixes/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libXfixes/xlib_libXfixes.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXfixes/xlib_libXfixes.hash new file mode 100644 index 00000000..f40c5229 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libXfixes/xlib_libXfixes.hash @@ -0,0 +1,6 @@ +# From https://lists.x.org/archives/xorg-announce/2021-May/003086.html +sha256 a7c1a24da53e0b46cac5aea79094b4b2257321c621b258729bc3139149245b4c libXfixes-6.0.0.tar.bz2 +sha512 1985ef156f382e9a7e1cc7e044e0f626de1e4c82557a511cbcf6431994c0ac25b1f8b3a0293bd3089331593db8ce01d3a71ddec68f19b5fe6029d5082fb6885d libXfixes-6.0.0.tar.bz2 + +# Locally calculated +sha256 d64e671ffeb483d4543f98c842788ab34c77427e27d83d6b082065a4438d4885 COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk new file mode 100644 index 00000000..c0229b57 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libXfixes/xlib_libXfixes.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# xlib_libXfixes +# +################################################################################ + +XLIB_LIBXFIXES_VERSION = 6.0.0 +XLIB_LIBXFIXES_SOURCE = libXfixes-$(XLIB_LIBXFIXES_VERSION).tar.bz2 +XLIB_LIBXFIXES_SITE = http://xorg.freedesktop.org/releases/individual/lib +XLIB_LIBXFIXES_LICENSE = MIT +XLIB_LIBXFIXES_LICENSE_FILES = COPYING +XLIB_LIBXFIXES_CPE_ID_VENDOR = x +XLIB_LIBXFIXES_CPE_ID_PRODUCT = libxfixes +XLIB_LIBXFIXES_INSTALL_STAGING = YES +XLIB_LIBXFIXES_DEPENDENCIES = xlib_libX11 xorgproto +HOST_XLIB_LIBXFIXES_DEPENDENCIES = \ + host-xlib_libX11 host-xorgproto + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfont/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXfont/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXfont/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXfont/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfont/xlib_libXfont.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXfont/xlib_libXfont.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXfont/xlib_libXfont.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXfont/xlib_libXfont.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfont/xlib_libXfont.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXfont/xlib_libXfont.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXfont/xlib_libXfont.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXfont/xlib_libXfont.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXfont2/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXfont2/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXfont2/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXfont2/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libXfont2/xlib_libXfont2.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXfont2/xlib_libXfont2.hash new file mode 100644 index 00000000..069f2fc6 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libXfont2/xlib_libXfont2.hash @@ -0,0 +1,5 @@ +# From https://lists.x.org/archives/xorg-announce/2021-August/003103.html +sha256 aa7c6f211cf7215c0ab4819ed893dc98034363d7b930b844bb43603c2e10b53e libXfont2-2.0.5.tar.bz2 +sha512 64d0635d14676bb645d61932afb177eb3808a46525b26e7ee31abc975eca75207743e85523fdd82b08010ce124eb4802338b508ee7b126875d2a3c12f8ac4faa libXfont2-2.0.5.tar.bz2 +# Locally calculated +sha256 97e413bb4962bbb5773085cd5405502bf1d4eadeaf98ff5be015eacacc840462 COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk new file mode 100644 index 00000000..6a71761f --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libXfont2/xlib_libXfont2.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# xlib_libXfont2 +# +################################################################################ + +XLIB_LIBXFONT2_VERSION = 2.0.5 +XLIB_LIBXFONT2_SOURCE = libXfont2-$(XLIB_LIBXFONT2_VERSION).tar.bz2 +XLIB_LIBXFONT2_SITE = https://xorg.freedesktop.org/archive/individual/lib +XLIB_LIBXFONT2_LICENSE = MIT +XLIB_LIBXFONT2_LICENSE_FILES = COPYING +XLIB_LIBXFONT2_CPE_ID_VENDOR = x +XLIB_LIBXFONT2_CPE_ID_PRODUCT = libxfont +XLIB_LIBXFONT2_INSTALL_STAGING = YES +# 0001-configure-define-HAVE_LIBBSD-when-libbsd-was-found.patch +XLIB_LIBXFONT2_AUTORECONF = YES +XLIB_LIBXFONT2_DEPENDENCIES = \ + freetype \ + xlib_libfontenc \ + xlib_xtrans \ + xorgproto \ + xfont_encodings + +ifeq ($(BR2_PACKAGE_LIBBSD),y) +XLIB_LIBXFONT2_DEPENDENCIES += libbsd +endif + +HOST_XLIB_LIBXFONT2_DEPENDENCIES = \ + host-freetype \ + host-xlib_libfontenc \ + host-xlib_xtrans \ + host-xorgproto \ + host-xfont_encodings + +XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs +HOST_XLIB_LIBXFONT2_CONF_OPTS = --disable-devel-docs + +XLIB_LIBXFONT2_CFLAGS = $(TARGET_CFLAGS) + +ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y) +XLIB_LIBXFONT2_CFLAGS += -O0 +endif + +XLIB_LIBXFONT2_CONF_ENV = CFLAGS="$(XLIB_LIBXFONT2_CFLAGS)" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXft/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXft/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXft/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXft/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libXft/xlib_libXft.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXft/xlib_libXft.hash new file mode 100644 index 00000000..8743a9b7 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libXft/xlib_libXft.hash @@ -0,0 +1,5 @@ +# From https://lists.x.org/archives/xorg-announce/2021-August/003104.html +sha256 57dedaab20914002146bdae0cb0c769ba3f75214c4c91bd2613d6ef79fc9abdd libXft-2.3.4.tar.bz2 +sha512 5bb019750982ed4643880efd7368bc226ad49cfa8c0c8c6d4614dfeed74f588c65e1ba69adcc12284ec07d841e5b58fc1c27f3fddf83fe1a2837b29dd9ecec51 libXft-2.3.4.tar.bz2 +# Locally computed +sha256 7cda22286b1379b9b73df695f72cbad36595e65b039a5fbc5c89b69ecc44438c COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libXft/xlib_libXft.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXft/xlib_libXft.mk new file mode 100644 index 00000000..b1640a66 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libXft/xlib_libXft.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# xlib_libXft +# +################################################################################ + +XLIB_LIBXFT_VERSION = 2.3.4 +XLIB_LIBXFT_SOURCE = libXft-$(XLIB_LIBXFT_VERSION).tar.bz2 +XLIB_LIBXFT_SITE = https://xorg.freedesktop.org/archive/individual/lib +XLIB_LIBXFT_LICENSE = MIT +XLIB_LIBXFT_LICENSE_FILES = COPYING +XLIB_LIBXFT_INSTALL_STAGING = YES +XLIB_LIBXFT_DEPENDENCIES = fontconfig freetype xlib_libX11 xlib_libXext xlib_libXrender xorgproto + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXi/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXi/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXi/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXi/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libXi/xlib_libXi.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXi/xlib_libXi.hash new file mode 100644 index 00000000..a86ef132 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libXi/xlib_libXi.hash @@ -0,0 +1,5 @@ +# From https://lists.x.org/archives/xorg-announce/2021-September/003109.html +sha256 2ed181446a61c7337576467870bc5336fc9e222a281122d96c4d39a3298bba00 libXi-1.8.tar.bz2 +sha512 4b2c667a8466eb389f253d77285c3f506c4a2b6c75054c722974a864565d565cc0c5701f8ea773eb929ceb94adfeb737ecd7a0bfc2c240157416a5f343c07aba libXi-1.8.tar.bz2 +# Locally computed +sha256 9392174bc86e291369fd2f61f3ed325962735a5f5c585ce8d7ebd365e2a5639f COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libXi/xlib_libXi.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXi/xlib_libXi.mk new file mode 100644 index 00000000..b4802cf0 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libXi/xlib_libXi.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# xlib_libXi +# +################################################################################ + +XLIB_LIBXI_VERSION = 1.8 +XLIB_LIBXI_SOURCE = libXi-$(XLIB_LIBXI_VERSION).tar.bz2 +XLIB_LIBXI_SITE = https://xorg.freedesktop.org/releases/individual/lib +XLIB_LIBXI_LICENSE = MIT +XLIB_LIBXI_LICENSE_FILES = COPYING +XLIB_LIBXI_CPE_ID_VENDOR = x.org +XLIB_LIBXI_CPE_ID_PRODUCT = libxi +XLIB_LIBXI_INSTALL_STAGING = YES +XLIB_LIBXI_DEPENDENCIES = \ + host-pkgconf \ + xlib_libX11 \ + xlib_libXext \ + xlib_libXfixes \ + xorgproto + +XLIB_LIBXI_CONF_OPTS = --disable-malloc0returnsnull + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libXinerama/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXinerama/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXinerama/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXinerama/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXinerama/xlib_libXinerama.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXinerama/xlib_libXinerama.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXinerama/xlib_libXinerama.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXinerama/xlib_libXinerama.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXinerama/xlib_libXinerama.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXinerama/xlib_libXinerama.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXinerama/xlib_libXinerama.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXinerama/xlib_libXinerama.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXmu/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXmu/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXmu/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXmu/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXmu/xlib_libXmu.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXmu/xlib_libXmu.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXmu/xlib_libXmu.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXmu/xlib_libXmu.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXmu/xlib_libXmu.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXmu/xlib_libXmu.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXmu/xlib_libXmu.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXmu/xlib_libXmu.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXpm/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXpm/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXpm/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXpm/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXpm/xlib_libXpm.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXpm/xlib_libXpm.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXpm/xlib_libXpm.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXpm/xlib_libXpm.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXpm/xlib_libXpm.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXpm/xlib_libXpm.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXpm/xlib_libXpm.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXpm/xlib_libXpm.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXrandr/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXrandr/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXrandr/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXrandr/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXrandr/xlib_libXrandr.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXrandr/xlib_libXrandr.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXrandr/xlib_libXrandr.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXrandr/xlib_libXrandr.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXrandr/xlib_libXrandr.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXrandr/xlib_libXrandr.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXrandr/xlib_libXrandr.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXrandr/xlib_libXrandr.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXrender/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXrender/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXrender/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXrender/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXrender/xlib_libXrender.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXrender/xlib_libXrender.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXrender/xlib_libXrender.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXrender/xlib_libXrender.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXrender/xlib_libXrender.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXrender/xlib_libXrender.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXrender/xlib_libXrender.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXrender/xlib_libXrender.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXres/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXres/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXres/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXres/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXres/xlib_libXres.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXres/xlib_libXres.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXres/xlib_libXres.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXres/xlib_libXres.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXres/xlib_libXres.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXres/xlib_libXres.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXres/xlib_libXres.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXres/xlib_libXres.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXt/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXt/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXt/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXt/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXt/xlib_libXt.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXt/xlib_libXt.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXt/xlib_libXt.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXt/xlib_libXt.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXt/xlib_libXt.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXt/xlib_libXt.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXt/xlib_libXt.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXt/xlib_libXt.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXtst/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXtst/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXtst/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXtst/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXtst/xlib_libXtst.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXtst/xlib_libXtst.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXtst/xlib_libXtst.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXtst/xlib_libXtst.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXtst/xlib_libXtst.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXtst/xlib_libXtst.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXtst/xlib_libXtst.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXtst/xlib_libXtst.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXv/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXv/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXv/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXv/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXv/xlib_libXv.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXv/xlib_libXv.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXv/xlib_libXv.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXv/xlib_libXv.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXv/xlib_libXv.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXv/xlib_libXv.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXv/xlib_libXv.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXv/xlib_libXv.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXvMC/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXvMC/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXvMC/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXvMC/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXvMC/xlib_libXvMC.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXvMC/xlib_libXvMC.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXvMC/xlib_libXvMC.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXvMC/xlib_libXvMC.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXvMC/xlib_libXvMC.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXvMC/xlib_libXvMC.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXvMC/xlib_libXvMC.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXvMC/xlib_libXvMC.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXxf86dga/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXxf86dga/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXxf86dga/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXxf86dga/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXxf86dga/xlib_libXxf86dga.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libXxf86vm/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libXxf86vm/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXxf86vm/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libXxf86vm/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.hash b/buildroot-2022.02.1/package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.mk b/buildroot-2022.02.1/package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libXxf86vm/xlib_libXxf86vm.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libdmx/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libdmx/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libdmx/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libdmx/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libdmx/xlib_libdmx.hash b/buildroot-2022.02.1/package/x11r7/xlib_libdmx/xlib_libdmx.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libdmx/xlib_libdmx.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libdmx/xlib_libdmx.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libdmx/xlib_libdmx.mk b/buildroot-2022.02.1/package/x11r7/xlib_libdmx/xlib_libdmx.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libdmx/xlib_libdmx.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libdmx/xlib_libdmx.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_libfontenc/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libfontenc/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libfontenc/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libfontenc/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libfontenc/xlib_libfontenc.hash b/buildroot-2022.02.1/package/x11r7/xlib_libfontenc/xlib_libfontenc.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libfontenc/xlib_libfontenc.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libfontenc/xlib_libfontenc.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libfontenc/xlib_libfontenc.mk b/buildroot-2022.02.1/package/x11r7/xlib_libfontenc/xlib_libfontenc.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libfontenc/xlib_libfontenc.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libfontenc/xlib_libfontenc.mk diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/Config.in new file mode 100644 index 00000000..4e51648d --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_XLIB_LIBXCVT + bool "libxcvt" + help + libxcvt is a library providing a standalone version of the X + server implementation of the VESA CVT standard timing mode- + lines generator. + + https://gitlab.freedesktop.org/xorg/lib/libxcvt diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/xlib_libxcvt.hash b/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/xlib_libxcvt.hash new file mode 100644 index 00000000..71ae9170 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/xlib_libxcvt.hash @@ -0,0 +1,5 @@ +# From https://lists.x.org/archives/xorg-announce/2021-October/003114.html +sha256 27ebce180d355f94c1992930bedb40a36f6d7312ee50bf7f0acbcd22f33e8c29 libxcvt-0.1.1.tar.xz +sha512 50e9cd0283858823d4cfde75f06e23ffc42983272cb1f75408052fb5b76a4bb6f9de7d42d8ff9ec0dae6e95eefebc6273e03c919a92f237585db55eaf1a57005 libxcvt-0.1.1.tar.xz +# Locally calculated +sha256 4849851554bdeda9a2a85ce93946b786605e009685941b8b907a9a36b02ae068 COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/xlib_libxcvt.mk b/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/xlib_libxcvt.mk new file mode 100644 index 00000000..33a55dfa --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libxcvt/xlib_libxcvt.mk @@ -0,0 +1,14 @@ +################################################################################ +# +# xlib_libxcvt +# +################################################################################ + +XLIB_LIBXCVT_VERSION = 0.1.1 +XLIB_LIBXCVT_SOURCE = libxcvt-$(XLIB_LIBXCVT_VERSION).tar.xz +XLIB_LIBXCVT_SITE = https://xorg.freedesktop.org/releases/individual/lib +XLIB_LIBXCVT_LICENSE = MIT +XLIB_LIBXCVT_LICENSE_FILES = COPYING +XLIB_LIBXCVT_INSTALL_STAGING = YES + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/x11r7/xlib_libxkbfile/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libxkbfile/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libxkbfile/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_libxkbfile/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.hash b/buildroot-2022.02.1/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk b/buildroot-2022.02.1/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libxkbfile/xlib_libxkbfile.mk diff --git a/buildroot-2022.02.1/package/x11r7/xlib_libxshmfence/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_libxshmfence/Config.in new file mode 100644 index 00000000..7823bda7 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xlib_libxshmfence/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_XLIB_LIBXSHMFENCE + bool "libxshmfence" + # Due to use of SYS_futex - can be enabled again when upstream + # adds SYS_futex64 as an alternative + depends on !BR2_RISCV_32 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + select BR2_PACKAGE_XORGPROTO + help + X.Org shmfence library diff --git a/buildroot-2021.05/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.hash b/buildroot-2022.02.1/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.hash rename to buildroot-2022.02.1/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.mk b/buildroot-2022.02.1/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.mk rename to buildroot-2022.02.1/package/x11r7/xlib_libxshmfence/xlib_libxshmfence.mk diff --git a/buildroot-2021.05/package/x11r7/xlib_xtrans/Config.in b/buildroot-2022.02.1/package/x11r7/xlib_xtrans/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_xtrans/Config.in rename to buildroot-2022.02.1/package/x11r7/xlib_xtrans/Config.in diff --git a/buildroot-2021.05/package/x11r7/xlib_xtrans/xlib_xtrans.hash b/buildroot-2022.02.1/package/x11r7/xlib_xtrans/xlib_xtrans.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_xtrans/xlib_xtrans.hash rename to buildroot-2022.02.1/package/x11r7/xlib_xtrans/xlib_xtrans.hash diff --git a/buildroot-2021.05/package/x11r7/xlib_xtrans/xlib_xtrans.mk b/buildroot-2022.02.1/package/x11r7/xlib_xtrans/xlib_xtrans.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xlib_xtrans/xlib_xtrans.mk rename to buildroot-2022.02.1/package/x11r7/xlib_xtrans/xlib_xtrans.mk diff --git a/buildroot-2021.05/package/x11r7/xorgproto/Config.in b/buildroot-2022.02.1/package/x11r7/xorgproto/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xorgproto/Config.in rename to buildroot-2022.02.1/package/x11r7/xorgproto/Config.in diff --git a/buildroot-2022.02.1/package/x11r7/xorgproto/xorgproto.hash b/buildroot-2022.02.1/package/x11r7/xorgproto/xorgproto.hash new file mode 100644 index 00000000..802217ce --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xorgproto/xorgproto.hash @@ -0,0 +1,41 @@ +# From https://lists.x.org/archives/xorg-announce/2021-September/date.html +sha256 aa2f663b8dbd632960b24f7477aa07d901210057f6ab1a1db5158732569ca015 xorgproto-2021.5.tar.bz2 +sha512 0f5c4ee4fd56cd46f4d5850bcf3e04c92d2e98de54d0113987cb49fc83cf1f4d0e50e976333179c72fe2178cfa15ec6c1bfc4e76fc3bc2a4be80616ce079da87 xorgproto-2021.5.tar.bz2 + +# Locally computed +sha256 aacd931f191b610902aee1e526090c2858aabc07969441fa2537ffd3e7049555 COPYING-applewmproto +sha256 dabc025f93129a0eb2d17f37c719dbe5ecbcb5bc8f7bc7f4ce89fe04576cc0c2 COPYING-bigreqsproto +sha256 ab587ca94282c1e60797ffe4a77aea195418387db20ec7e0c24cedf2c844f8c1 COPYING-compositeproto +sha256 f67a18cb46c4c203c5122b4a901cfcc3178b2a62f83f31ca5fef5bdca3966094 COPYING-damageproto +sha256 819e8dcd3dd2a44850c350331aa492230f86bccb0983dd739dec5ba36d7d2b8e COPYING-dmxproto +sha256 0c306691492c4d7a8cda1ec3847668b797887dddcd7e986b4c166ae27619af7d COPYING-dri2proto +sha256 64a579d1a0b3347301d87c94698a58ea7933d0ae6ca7e8fdd702fde2ea376301 COPYING-dri3proto +sha256 0aa43d03da3cedbd9882c0ded621b0d855353eb9e551f9eed940d75c8a0b03c1 COPYING-evieproto +sha256 65cb0b867b00fb27f066a37353713b265645b3301146562570d7638ed2ddd548 COPYING-fixesproto +sha256 1ab381e978bff63d68be2e4f235d51935f3f16f3ba3bebf83afa99a70c0484a2 COPYING-fontcacheproto +sha256 f4af05774b02ae149357cc26f7bf5ef1116c2e09373c2492081a3a1892c58417 COPYING-fontsproto +sha256 823deb4673d3f26aa8c90e704888299648f00be3262f9363eaeecedcd65b936d COPYING-glproto +sha256 5e083a2ace0215a6084c877c023a6079952ba803d692488203ba4269196debe3 COPYING-inputproto +sha256 d397a67d4b28e897bc5fce79b2b917df9905b54f961fc3ad1f49c7fe3803f92c COPYING-kbproto +sha256 7a5dd5d4c989c167da50f15879959f42bbda960e06d0a0aea7197f61fe1dc846 COPYING-lg3dproto +sha256 8442b5f22f2fb13017a4302a906e7dedc899267b41f613558970941120170128 COPYING-pmproto +sha256 64a579d1a0b3347301d87c94698a58ea7933d0ae6ca7e8fdd702fde2ea376301 COPYING-presentproto +sha256 6b890b118261694865988378dbba876bcd9caa1a421c5c0d626116948bc0ae35 COPYING-printproto +sha256 41c13dcd09147ed2440286f2fb8151df8ebee06deee4ed78ddf094601c216d3d COPYING-randrproto +sha256 ee10aee0f1697ffdbe870a39f037361d4f7136f2976bb7919a41b3f66407caee COPYING-recordproto +sha256 9e48921a94da36d7a69fe71809223ee0bb46370db9842dccdeeb55b5a9946872 COPYING-renderproto +sha256 403e7be948674530ad40669b1e3a31adeddb656502f3b0ef810d5d3cc35d0b52 COPYING-resourceproto +sha256 fcbd3c628bf4d28ee3e6032054bf44bbe58f3b1a944dad856a8d3eb6b37ea412 COPYING-scrnsaverproto +sha256 d6d3513f5a7099748dc387f54498d799380b45f8a444f13aa98aa45a860ae55b COPYING-trapproto +sha256 f8f49bbad61967ebc890fb79fff5bfb7cfc1c341aa8f8dee13eb3fb534040b47 COPYING-videoproto +sha256 eb183a00c61bb47992f096b6993ed7ec17518bea9c285fe87efff7f622cc6c12 COPYING-windowswmproto +sha256 3bd8e0c41497bfe6ab8d11c3c90c5e79edd0b2437f2bf81161575f54bae53f21 COPYING-x11proto +sha256 5531d18cfcc944dab39991f63f182cbbce3fe493ba0c7cf08a25c0d01ee84482 COPYING-xcmiscproto +sha256 fb42146c6c06a200a9b121220eb692ff9101ba0fbd0b224b9e16a016c59ae86a COPYING-xextproto +sha256 3591964e01a9cdfc9cc4149a847a431a3f3d98328cc9e5864c7a7831b29c4058 COPYING-xf86bigfontproto +sha256 3591964e01a9cdfc9cc4149a847a431a3f3d98328cc9e5864c7a7831b29c4058 COPYING-xf86dgaproto +sha256 4a05d06752388d9db71ee1006f371d4fb2c316a821fc2fc272db90b3ef978334 COPYING-xf86driproto +sha256 3591964e01a9cdfc9cc4149a847a431a3f3d98328cc9e5864c7a7831b29c4058 COPYING-xf86miscproto +sha256 3591964e01a9cdfc9cc4149a847a431a3f3d98328cc9e5864c7a7831b29c4058 COPYING-xf86rushproto +sha256 942bb46a3503a708948491699171b00b9e0dfb47818d9268b160bccc5f51a4b9 COPYING-xf86vidmodeproto +sha256 b2d8cda803e900915ce10f0ba735ff2c033b39c7cc5a8a436667ca583d4066fa COPYING-xineramaproto diff --git a/buildroot-2022.02.1/package/x11r7/xorgproto/xorgproto.mk b/buildroot-2022.02.1/package/x11r7/xorgproto/xorgproto.mk new file mode 100644 index 00000000..1d5cd4ca --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xorgproto/xorgproto.mk @@ -0,0 +1,54 @@ +################################################################################ +# +# xorgproto +# +################################################################################ + +XORGPROTO_VERSION = 2021.5 +XORGPROTO_SOURCE = xorgproto-$(XORGPROTO_VERSION).tar.bz2 +XORGPROTO_SITE = https://xorg.freedesktop.org/archive/individual/proto +XORGPROTO_LICENSE = MIT +XORGPROTO_LICENSE_FILES = \ + COPYING-applewmproto \ + COPYING-bigreqsproto \ + COPYING-compositeproto \ + COPYING-damageproto \ + COPYING-dmxproto \ + COPYING-dri2proto \ + COPYING-dri3proto \ + COPYING-evieproto \ + COPYING-fixesproto \ + COPYING-fontcacheproto \ + COPYING-fontsproto \ + COPYING-glproto \ + COPYING-inputproto \ + COPYING-kbproto \ + COPYING-lg3dproto \ + COPYING-pmproto \ + COPYING-presentproto \ + COPYING-printproto \ + COPYING-randrproto \ + COPYING-recordproto \ + COPYING-renderproto \ + COPYING-resourceproto \ + COPYING-scrnsaverproto \ + COPYING-trapproto \ + COPYING-videoproto \ + COPYING-windowswmproto \ + COPYING-x11proto \ + COPYING-xcmiscproto \ + COPYING-xextproto \ + COPYING-xf86bigfontproto \ + COPYING-xf86dgaproto \ + COPYING-xf86driproto \ + COPYING-xf86miscproto \ + COPYING-xf86rushproto \ + COPYING-xf86vidmodeproto \ + COPYING-xineramaproto +XORGPROTO_INSTALL_STAGING = YES +XORGPROTO_INSTALL_TARGET = NO +# xproxymngproto is needed by xfindproxy +XORGPROTO_CONF_OPTS += --enable-legacy + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/0002-include-misc.h-fix-uClibc-build.patch b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/0001-include-misc.h-fix-uClibc-build.patch similarity index 100% rename from buildroot-2021.05/package/x11r7/xserver_xorg-server/0002-include-misc.h-fix-uClibc-build.patch rename to buildroot-2022.02.1/package/x11r7/xserver_xorg-server/0001-include-misc.h-fix-uClibc-build.patch diff --git a/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/0002-Fix-compilation-error-when-built-without-logind-plat.patch b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/0002-Fix-compilation-error-when-built-without-logind-plat.patch new file mode 100644 index 00000000..164c0039 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/0002-Fix-compilation-error-when-built-without-logind-plat.patch @@ -0,0 +1,90 @@ +From 17b6ab4d8cecf55a3784dbefbef9bfcf84ee3b1b Mon Sep 17 00:00:00 2001 +From: Jocelyn Falempe +Date: Thu, 16 Dec 2021 15:46:43 +0100 +Subject: [PATCH] Fix compilation error when built without logind/platform bus + +This was introduced by commit 8eb1396d + +Signed-off-by: Jocelyn Falempe +[Peter: from https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/827] +Signed-off-by: Peter Korsgaard +--- + hw/xfree86/common/xf86Events.c | 9 +-------- + hw/xfree86/os-support/linux/systemd-logind.c | 16 +++++++++++----- + include/systemd-logind.h | 4 ++-- + 3 files changed, 14 insertions(+), 15 deletions(-) + +diff --git a/hw/xfree86/common/xf86Events.c b/hw/xfree86/common/xf86Events.c +index 6076efa80..395bbc7b3 100644 +--- a/hw/xfree86/common/xf86Events.c ++++ b/hw/xfree86/common/xf86Events.c +@@ -383,14 +383,7 @@ xf86VTLeave(void) + xf86GPUScreens[i]->LeaveVT(xf86GPUScreens[i]); + + if (systemd_logind_controls_session()) { +- for (i = 0; i < xf86_num_platform_devices; i++) { +- if (xf86_platform_devices[i].flags & XF86_PDEV_SERVER_FD) { +- int major, minor; +- major = xf86_platform_odev_attributes(i)->major; +- minor = xf86_platform_odev_attributes(i)->minor; +- systemd_logind_drop_master(major, minor); +- } +- } ++ systemd_logind_drop_master(); + } + + if (!xf86VTSwitchAway()) +diff --git a/hw/xfree86/os-support/linux/systemd-logind.c b/hw/xfree86/os-support/linux/systemd-logind.c +index 35d5cc75b..f6a223a55 100644 +--- a/hw/xfree86/os-support/linux/systemd-logind.c ++++ b/hw/xfree86/os-support/linux/systemd-logind.c +@@ -308,13 +308,19 @@ cleanup: + * and ensure the drm_drop_master is done before + * VT_RELDISP when switching VT + */ +-void systemd_logind_drop_master(int _major, int _minor) ++void systemd_logind_drop_master(void) + { +- struct systemd_logind_info *info = &logind_info; +- dbus_int32_t major = _major; +- dbus_int32_t minor = _minor; ++ int i; ++ for (i = 0; i < xf86_num_platform_devices; i++) { ++ if (xf86_platform_devices[i].flags & XF86_PDEV_SERVER_FD) { ++ dbus_int32_t major, minor; ++ struct systemd_logind_info *info = &logind_info; + +- systemd_logind_ack_pause(info, minor, major); ++ major = xf86_platform_odev_attributes(i)->major; ++ minor = xf86_platform_odev_attributes(i)->minor; ++ systemd_logind_ack_pause(info, minor, major); ++ } ++ } + } + + static DBusHandlerResult +diff --git a/include/systemd-logind.h b/include/systemd-logind.h +index a8af2b96d..5c04d0130 100644 +--- a/include/systemd-logind.h ++++ b/include/systemd-logind.h +@@ -33,7 +33,7 @@ int systemd_logind_take_fd(int major, int minor, const char *path, Bool *paus); + void systemd_logind_release_fd(int major, int minor, int fd); + int systemd_logind_controls_session(void); + void systemd_logind_vtenter(void); +-void systemd_logind_drop_master(int major, int minor); ++void systemd_logind_drop_master(void); + #else + #define systemd_logind_init() + #define systemd_logind_fini() +@@ -41,7 +41,7 @@ void systemd_logind_drop_master(int major, int minor); + #define systemd_logind_release_fd(major, minor, fd) close(fd) + #define systemd_logind_controls_session() 0 + #define systemd_logind_vtenter() +-#define systemd_logind_drop_master(major, minor) ++#define systemd_logind_drop_master() + #endif + + #endif +-- +2.20.1 + diff --git a/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/Config.in b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/Config.in new file mode 100644 index 00000000..4fb03051 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/Config.in @@ -0,0 +1,91 @@ +comment "xorg-server needs a glibc or uClibc toolchain" + depends on BR2_arm && BR2_TOOLCHAIN_USES_MUSL + +config BR2_PACKAGE_XSERVER_XORG_SERVER + bool "xorg-server" + depends on BR2_USE_MMU # fork() + # xserver uses inb/outb on arm, which aren't available with musl + depends on !(BR2_arm && BR2_TOOLCHAIN_USES_MUSL) + # We need a SHA1 implementation. If either openssl or + # libgcrypt are already part of the build, we'll use one of + # them, otherwise, use the small libsha1 library. + select BR2_PACKAGE_LIBSHA1 if (!BR2_PACKAGE_OPENSSL && !BR2_PACKAGE_LIBGCRYPT) + select BR2_PACKAGE_MCOOKIE + select BR2_PACKAGE_PIXMAN + select BR2_PACKAGE_XFONT_FONT_ALIAS if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS + select BR2_PACKAGE_XFONT_FONT_MISC_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS + select BR2_PACKAGE_XFONT_FONT_CURSOR_MISC if !BR2_PACKAGE_XSERVER_XORG_SERVER_BUILTIN_FONTS + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXAU + select BR2_PACKAGE_XLIB_LIBXCURSOR + select BR2_PACKAGE_XLIB_LIBXCVT + select BR2_PACKAGE_XLIB_LIBXDAMAGE + select BR2_PACKAGE_XLIB_LIBXDMCP + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXFIXES + select BR2_PACKAGE_XLIB_LIBXFONT2 + select BR2_PACKAGE_XLIB_LIBXFT + select BR2_PACKAGE_XLIB_LIBXI + select BR2_PACKAGE_XLIB_LIBXINERAMA + select BR2_PACKAGE_XLIB_LIBXRANDR + select BR2_PACKAGE_XLIB_LIBXRENDER + select BR2_PACKAGE_XLIB_LIBXRES + select BR2_PACKAGE_XLIB_LIBXXF86VM + select BR2_PACKAGE_XLIB_LIBXKBFILE + select BR2_PACKAGE_XLIB_XTRANS + select BR2_PACKAGE_XDATA_XBITMAPS + select BR2_PACKAGE_XORGPROTO + select BR2_PACKAGE_XUTIL_UTIL_MACROS + select BR2_PACKAGE_XKEYBOARD_CONFIG + help + X.Org X server + + http://xorg.freedesktop.org + +if BR2_PACKAGE_XSERVER_XORG_SERVER + +choice + prompt "X Window System server type" + help + Select the X Window System server to use + +config BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR + bool "Modular X.org" + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_LIBPCIACCESS + select BR2_PACKAGE_XLIB_LIBXSHMFENCE if \ + (BR2_TOOLCHAIN_HAS_SYNC_4 && !BR2_RISCV_32) + help + This variant of the X.org server is the full-blown variant, + as used by desktop GNU/Linux distributions. The drivers (for + input and graphics) are built separately from the X.org + server (see the xdriver* packages). + +comment "Modular X.org needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP + +config BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE + bool "KDrive / TinyX" + help + This variant of the X.org server is a lightweight version + intended for embedded systems. The drivers (for input and + graphics) are built into the server. It is generally used + directly on top of the Linux framebuffer without DRM or + video card specific drivers. + +endchoice + +comment "Optional Servers" + +config BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB + bool "Xvfb server" + help + Virtual frame buffer X server. + +config BR2_PACKAGE_XSERVER_XORG_SERVER_XEPHYR + bool "Xephyr server" + help + Xephyr nested X server; successor to Xnest. + +endif diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/S40xorg b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/S40xorg similarity index 100% rename from buildroot-2021.05/package/x11r7/xserver_xorg-server/S40xorg rename to buildroot-2022.02.1/package/x11r7/xserver_xorg-server/S40xorg diff --git a/buildroot-2021.05/package/x11r7/xserver_xorg-server/xorg.service b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/xorg.service similarity index 100% rename from buildroot-2021.05/package/x11r7/xserver_xorg-server/xorg.service rename to buildroot-2022.02.1/package/x11r7/xserver_xorg-server/xorg.service diff --git a/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/xserver_xorg-server.hash b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/xserver_xorg-server.hash new file mode 100644 index 00000000..6008661d --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/xserver_xorg-server.hash @@ -0,0 +1,6 @@ +# From https://lists.x.org/archives/xorg-announce/2021-December/003125.html +sha256 c20bf46a9fe8e74bf4e75430637e58d49a02d806609dc161462bceb1ef7e8db0 xorg-server-21.1.2.tar.xz +sha512 6d7a0d29d5be09f80ed505c4d6ae964795127525a0ab73a4eab4f601788ab3627033143e5aeb4c2565c6683dd3402084d13acab5554606fbd519c4aec0a79def xorg-server-21.1.2.tar.xz + +# Locally calculated +sha256 4cc0447a22635c7b2f1a93fec4aa94f1970fadeb72a063de006b51cf4963a06f COPYING diff --git a/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk new file mode 100644 index 00000000..0cadba92 --- /dev/null +++ b/buildroot-2022.02.1/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk @@ -0,0 +1,189 @@ +################################################################################ +# +# xserver_xorg-server +# +################################################################################ + +XSERVER_XORG_SERVER_VERSION = 21.1.2 +XSERVER_XORG_SERVER_SOURCE = xorg-server-$(XSERVER_XORG_SERVER_VERSION).tar.xz +XSERVER_XORG_SERVER_SITE = https://xorg.freedesktop.org/archive/individual/xserver +XSERVER_XORG_SERVER_LICENSE = MIT +XSERVER_XORG_SERVER_LICENSE_FILES = COPYING +XSERVER_XORG_SERVER_SELINUX_MODULES = xdg xserver +XSERVER_XORG_SERVER_INSTALL_STAGING = YES +XSERVER_XORG_SERVER_DEPENDENCIES = \ + xutil_util-macros \ + xlib_libX11 \ + xlib_libXau \ + xlib_libXdmcp \ + xlib_libXext \ + xlib_libXfixes \ + xlib_libXfont2 \ + xlib_libXi \ + xlib_libXrender \ + xlib_libXres \ + xlib_libXft \ + xlib_libXcursor \ + xlib_libXinerama \ + xlib_libXrandr \ + xlib_libXdamage \ + xlib_libXxf86vm \ + xlib_libxkbfile \ + xlib_libxcvt \ + xlib_xtrans \ + xdata_xbitmaps \ + xorgproto \ + xkeyboard-config \ + pixman \ + mcookie \ + host-pkgconf + +# We force -O2 regardless of the optimization level chosen by the +# user, as the X.org server is known to trigger some compiler bugs at +# -Os on several architectures. +XSERVER_XORG_SERVER_CONF_OPTS = \ + --disable-config-hal \ + --enable-record \ + --disable-xnest \ + --disable-dmx \ + --disable-unit-tests \ + --with-builder-addr=buildroot@buildroot.org \ + CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/pixman-1 -O2" \ + --with-fontrootdir=/usr/share/fonts/X11/ \ + --$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XEPHYR),en,dis)able-xephyr \ + --$(if $(BR2_PACKAGE_XSERVER_XORG_SERVER_XVFB),en,dis)able-xvfb + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +XSERVER_XORG_SERVER_CONF_OPTS += \ + --with-systemd-daemon \ + --enable-systemd-logind +XSERVER_XORG_SERVER_DEPENDENCIES += \ + systemd +else +XSERVER_XORG_SERVER_CONF_OPTS += \ + --without-systemd-daemon \ + --disable-systemd-logind +endif + +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y) +XSERVER_XORG_SERVER_CONF_OPTS += --enable-xorg +XSERVER_XORG_SERVER_DEPENDENCIES += libpciaccess +ifeq ($(BR2_PACKAGE_LIBDRM),y) +XSERVER_XORG_SERVER_DEPENDENCIES += libdrm +XSERVER_XORG_SERVER_CONF_OPTS += --enable-libdrm +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-libdrm +endif +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-xorg +endif + +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE),y) +XSERVER_XORG_SERVER_CONF_OPTS += \ + --enable-kdrive \ + --disable-glx \ + --disable-dri + +else # modular +XSERVER_XORG_SERVER_CONF_OPTS += --disable-kdrive +endif + +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri --enable-glx +XSERVER_XORG_SERVER_DEPENDENCIES += libgl +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri --disable-glx +endif + +# Optional packages +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +XSERVER_XORG_SERVER_DEPENDENCIES += udev +XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev +# udev kms support depends on libdrm and dri2 +ifeq ($(BR2_PACKAGE_LIBDRM),y) +XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-udev-kms +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-config-udev-kms +endif +endif + +ifeq ($(BR2_PACKAGE_DBUS),y) +XSERVER_XORG_SERVER_DEPENDENCIES += dbus +XSERVER_XORG_SERVER_CONF_OPTS += --enable-config-dbus +endif + +ifeq ($(BR2_PACKAGE_FREETYPE),y) +XSERVER_XORG_SERVER_DEPENDENCIES += freetype +endif + +ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +XSERVER_XORG_SERVER_DEPENDENCIES += libunwind +XSERVER_XORG_SERVER_CONF_OPTS += --enable-libunwind +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-libunwind +endif + +ifneq ($(BR2_PACKAGE_XLIB_LIBXVMC),y) +XSERVER_XORG_SERVER_CONF_OPTS += --disable-xvmc +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXCOMPOSITE),y) +XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libXcomposite +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-composite +endif + +ifeq ($(BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR),y) +XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri2 +ifeq ($(BR2_PACKAGE_XLIB_LIBXSHMFENCE),y) +XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libxshmfence +XSERVER_XORG_SERVER_CONF_OPTS += --enable-dri3 +ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_HAS_LIBGL)$(BR2_PACKAGE_LIBEPOXY),yyy) +XSERVER_XORG_SERVER_DEPENDENCIES += libepoxy +XSERVER_XORG_SERVER_CONF_OPTS += --enable-glamor +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-glamor +endif +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri3 --disable-glamor +endif +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-dri2 --disable-dri3 --disable-glamor +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXSCRNSAVER),y) +XSERVER_XORG_SERVER_DEPENDENCIES += xlib_libXScrnSaver +XSERVER_XORG_SERVER_CONF_OPTS += --enable-screensaver +else +XSERVER_XORG_SERVER_CONF_OPTS += --disable-screensaver +endif + +ifneq ($(BR2_PACKAGE_XLIB_LIBDMX),y) +XSERVER_XORG_SERVER_CONF_OPTS += --disable-dmx +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +XSERVER_XORG_SERVER_CONF_OPTS += --with-sha1=libcrypto +XSERVER_XORG_SERVER_DEPENDENCIES += openssl +else ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) +XSERVER_XORG_SERVER_CONF_OPTS += --with-sha1=libgcrypt +XSERVER_XORG_SERVER_DEPENDENCIES += libgcrypt +else +XSERVER_XORG_SERVER_CONF_OPTS += --with-sha1=libsha1 +XSERVER_XORG_SERVER_DEPENDENCIES += libsha1 +endif + +define XSERVER_XORG_SERVER_INSTALL_INIT_SYSTEMD + $(INSTALL) -D -m 0644 package/x11r7/xserver_xorg-server/xorg.service \ + $(TARGET_DIR)/usr/lib/systemd/system/xorg.service +endef + +# init script conflicts with S90nodm +ifneq ($(BR2_PACKAGE_NODM),y) +define XSERVER_XORG_SERVER_INSTALL_INIT_SYSV + $(INSTALL) -D -m 755 package/x11r7/xserver_xorg-server/S40xorg \ + $(TARGET_DIR)/etc/init.d/S40xorg +endef +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/x11r7/xutil_makedepend/Config.in b/buildroot-2022.02.1/package/x11r7/xutil_makedepend/Config.in similarity index 100% rename from buildroot-2021.05/package/x11r7/xutil_makedepend/Config.in rename to buildroot-2022.02.1/package/x11r7/xutil_makedepend/Config.in diff --git a/buildroot-2021.05/package/x11r7/xutil_makedepend/xutil_makedepend.hash b/buildroot-2022.02.1/package/x11r7/xutil_makedepend/xutil_makedepend.hash similarity index 100% rename from buildroot-2021.05/package/x11r7/xutil_makedepend/xutil_makedepend.hash rename to buildroot-2022.02.1/package/x11r7/xutil_makedepend/xutil_makedepend.hash diff --git a/buildroot-2021.05/package/x11r7/xutil_makedepend/xutil_makedepend.mk b/buildroot-2022.02.1/package/x11r7/xutil_makedepend/xutil_makedepend.mk similarity index 100% rename from buildroot-2021.05/package/x11r7/xutil_makedepend/xutil_makedepend.mk rename to buildroot-2022.02.1/package/x11r7/xutil_makedepend/xutil_makedepend.mk diff --git a/buildroot-2021.05/package/x11vnc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch b/buildroot-2022.02.1/package/x11vnc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch similarity index 100% rename from buildroot-2021.05/package/x11vnc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch rename to buildroot-2022.02.1/package/x11vnc/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch diff --git a/buildroot-2021.05/package/x11vnc/0002-scan-limit-access-to-shared-memory-segments-to-current-user.patch b/buildroot-2022.02.1/package/x11vnc/0002-scan-limit-access-to-shared-memory-segments-to-current-user.patch similarity index 100% rename from buildroot-2021.05/package/x11vnc/0002-scan-limit-access-to-shared-memory-segments-to-current-user.patch rename to buildroot-2022.02.1/package/x11vnc/0002-scan-limit-access-to-shared-memory-segments-to-current-user.patch diff --git a/buildroot-2022.02.1/package/x11vnc/Config.in b/buildroot-2022.02.1/package/x11vnc/Config.in new file mode 100644 index 00000000..d2639fce --- /dev/null +++ b/buildroot-2022.02.1/package/x11vnc/Config.in @@ -0,0 +1,16 @@ +config BR2_PACKAGE_X11VNC + bool "x11vnc" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU # fork() + depends on !BR2_nios2 # libvncserver + select BR2_PACKAGE_LIBVNCSERVER + select BR2_PACKAGE_XLIB_LIBXT + select BR2_PACKAGE_XLIB_LIBXEXT + select BR2_PACKAGE_XLIB_LIBXTST + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL + help + VNC server for X11 display + + http://www.karlrunge.com/x11vnc/ diff --git a/buildroot-2021.05/package/x11vnc/x11vnc.hash b/buildroot-2022.02.1/package/x11vnc/x11vnc.hash similarity index 100% rename from buildroot-2021.05/package/x11vnc/x11vnc.hash rename to buildroot-2022.02.1/package/x11vnc/x11vnc.hash diff --git a/buildroot-2021.05/package/x11vnc/x11vnc.mk b/buildroot-2022.02.1/package/x11vnc/x11vnc.mk similarity index 100% rename from buildroot-2021.05/package/x11vnc/x11vnc.mk rename to buildroot-2022.02.1/package/x11vnc/x11vnc.mk diff --git a/buildroot-2021.05/package/x264/Config.in b/buildroot-2022.02.1/package/x264/Config.in similarity index 100% rename from buildroot-2021.05/package/x264/Config.in rename to buildroot-2022.02.1/package/x264/Config.in diff --git a/buildroot-2021.05/package/x264/x264.hash b/buildroot-2022.02.1/package/x264/x264.hash similarity index 100% rename from buildroot-2021.05/package/x264/x264.hash rename to buildroot-2022.02.1/package/x264/x264.hash diff --git a/buildroot-2021.05/package/x264/x264.mk b/buildroot-2022.02.1/package/x264/x264.mk similarity index 100% rename from buildroot-2021.05/package/x264/x264.mk rename to buildroot-2022.02.1/package/x264/x264.mk diff --git a/buildroot-2022.02.1/package/x265/0001-fix-gcc-options.patch b/buildroot-2022.02.1/package/x265/0001-fix-gcc-options.patch new file mode 100644 index 00000000..0283da25 --- /dev/null +++ b/buildroot-2022.02.1/package/x265/0001-fix-gcc-options.patch @@ -0,0 +1,88 @@ +# HG changeset patch +# User Bertrand Jacquin +# Date 1444431941 -3600 +# Node ID 5c6d2a6f2f9a0534933cc999b3845be4344e1af0 +# Parent b6156a08b1def3584647f26096866c1a0c11e54a +build: Disable -march selection from CMakeLists.txt + +x32 arch as defined on https://sites.google.com/site/x32abi is neither +X86 nor X64, then forcing -march=i686 leads to build failure as wrong +-march is used. + +Forcing -march, -mfloat-abi and -mfpu for ARM is also wrong + +As a global sanity sake, disable all forced -march in CMakeLists + +Backported from upstream pull request: +https://bitbucket.org/multicoreware/x265/pull-requests/21 + +Signed-off-by: Bernd Kuhls +[Bernd: rebased for 3.5 based on + https://gitweb.gentoo.org/repo/gentoo.git/tree/media-libs/x265/files/arm-r1.patch] + +diff -r 58dddcf01b7d source/CMakeLists.txt +--- a/source/CMakeLists.txt Mon Jan 23 09:50:33 2017 +0530 ++++ b/source/CMakeLists.txt Mon Jan 23 21:03:10 2017 +0100 +@@ -40,7 +40,7 @@ SET(CMAKE_MODULE_PATH "${PROJECT_SOURCE_ + # System architecture detection + string(TOLOWER "${CMAKE_SYSTEM_PROCESSOR}" SYSPROC) + set(X86_ALIASES x86 i386 i686 x86_64 amd64) +-set(ARM_ALIASES armv6l armv7l aarch64) ++set(ARM_ALIASES armv6l armv6l armv7l armv7a aarch64) + list(FIND X86_ALIASES "${SYSPROC}" X86MATCH) + list(FIND ARM_ALIASES "${SYSPROC}" ARMMATCH) + set(POWER_ALIASES ppc64 ppc64le) +@@ -239,11 +239,7 @@ if(GCC) + endif() + endif() + if(ARM AND CROSS_COMPILE_ARM) +- if(ARM64) +- set(ARM_ARGS -fPIC) +- else() +- set(ARM_ARGS -march=armv6 -mfloat-abi=soft -mfpu=vfp -marm -fPIC) +- endif() ++ set(ARM_ARGS -fPIC) + message(STATUS "cross compile arm") + elseif(ARM) + if(ARM64) +@@ -252,10 +248,10 @@ if(GCC) + else() + find_package(Neon) + if(CPU_HAS_NEON) +- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC) ++ set(ARM_ARGS -mfpu=neon -fPIC) + add_definitions(-DHAVE_NEON) + else() +- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm) ++ set(ARM_ARGS -fPIC) + endif() + endif() + endif() +--- a/source/dynamicHDR10/CMakeLists.txt ++++ b/source/dynamicHDR10/CMakeLists.txt +@@ -43,14 +43,14 @@ if(GCC) + endif() + endif() + if(ARM AND CROSS_COMPILE_ARM) +- set(ARM_ARGS -march=armv6 -mfloat-abi=soft -mfpu=vfp -marm -fPIC) ++ set(ARM_ARGS -fPIC) + elseif(ARM) + find_package(Neon) + if(CPU_HAS_NEON) +- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC) ++ set(ARM_ARGS -fPIC) + add_definitions(-DHAVE_NEON) + else() +- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm) ++ set(ARM_ARGS -fPIC) + endif() + endif() + add_definitions(${ARM_ARGS}) +@@ -150,4 +150,4 @@ set(BIN_INSTALL_DIR bin CACHE STRING "Install location of executables") + option(ENABLE_SHARED "Build shared library" OFF) + + install(FILES hdr10plus.h DESTINATION include) +-endif() +\ No newline at end of file ++endif() + diff --git a/buildroot-2022.02.1/package/x265/Config.in b/buildroot-2022.02.1/package/x265/Config.in new file mode 100644 index 00000000..1067505d --- /dev/null +++ b/buildroot-2022.02.1/package/x265/Config.in @@ -0,0 +1,29 @@ +config BR2_PACKAGE_X265 + bool "x265" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS # dlfcn + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + help + x265 is an open source free software and library for + encoding video using the High Efficiency Video Coding + (HEVC/H.265) standard. x265 is offered under either the GNU + General Public License (GPL) 2 license or a commercial + license, similar to the x264 project. + + https://bitbucket.org/multicoreware/x265_git/wiki/Home + +if BR2_PACKAGE_X265 + +config BR2_PACKAGE_X265_CLI + bool "CLI" + help + Command-line tool to encode video streams into the + H.265/HEVC compression format. + +endif + +comment "x265 needs a toolchain w/ C++, threads, dynamic library" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_SYNC_4 diff --git a/buildroot-2022.02.1/package/x265/x265.hash b/buildroot-2022.02.1/package/x265/x265.hash new file mode 100644 index 00000000..fb9a5b59 --- /dev/null +++ b/buildroot-2022.02.1/package/x265/x265.hash @@ -0,0 +1,5 @@ +# From https://mailman.videolan.org/pipermail/x265-devel/2021-March/013257.html +md5 deb5df5cb2ec17bdbae6ac6bbc3b1eef x265_3.5.tar.gz +# Locally generated +sha256 e70a3335cacacbba0b3a20ec6fecd6783932288ebc8163ad74bcc9606477cae8 x265_3.5.tar.gz +sha256 d8afb1bcc7a2cfc603683b168d6987ef0a48e59e0da3693bf55c5d33b67e2b49 COPYING diff --git a/buildroot-2022.02.1/package/x265/x265.mk b/buildroot-2022.02.1/package/x265/x265.mk new file mode 100644 index 00000000..51c39df4 --- /dev/null +++ b/buildroot-2022.02.1/package/x265/x265.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# x265 +# +################################################################################ + +X265_VERSION = 3.5 +X265_SOURCE = x265_$(X265_VERSION).tar.gz +X265_SITE = https://bitbucket.org/multicoreware/x265_git/downloads +X265_LICENSE = GPL-2.0+ +X265_LICENSE_FILES = COPYING +X265_CPE_ID_VENDOR = multicorewareinc +X265_SUBDIR = source +X265_INSTALL_STAGING = YES + +ifeq ($(BR2_i386)$(BR2_x86_64),y) +X265_DEPENDENCIES += host-nasm +endif + +# disable altivec, it has build issues +# https://bitbucket.org/multicoreware/x265/issues/320/ +ifeq ($(BR2_powerpc64)$(BR2_powerpc64le),y) +X265_CONF_OPTS += -DENABLE_ALTIVEC=OFF +endif + +ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) +X265_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_PIC=ON +else +X265_CONF_OPTS += -DENABLE_SHARED=OFF +endif + +ifeq ($(BR2_PACKAGE_X265_CLI),y) +X265_CONF_OPTS += -DENABLE_CLI=ON +else +X265_CONF_OPTS += -DENABLE_CLI=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/xapian/Config.in b/buildroot-2022.02.1/package/xapian/Config.in similarity index 100% rename from buildroot-2021.05/package/xapian/Config.in rename to buildroot-2022.02.1/package/xapian/Config.in diff --git a/buildroot-2022.02.1/package/xapian/xapian.hash b/buildroot-2022.02.1/package/xapian/xapian.hash new file mode 100644 index 00000000..e570f7e2 --- /dev/null +++ b/buildroot-2022.02.1/package/xapian/xapian.hash @@ -0,0 +1,5 @@ +# From https://lists.xapian.org/pipermail/xapian-discuss/2022-January/009934.html +sha256 1fca48fca6cc3526cc4ba93dd194fe9c1326857b78edcfb37e68d086d714a9c3 xapian-core-1.4.19.tar.xz + +# locally computed +sha256 c38aee9e3c8c4d5d594ff548a1be05453023016d6286931f6512db215ec1fd42 COPYING diff --git a/buildroot-2022.02.1/package/xapian/xapian.mk b/buildroot-2022.02.1/package/xapian/xapian.mk new file mode 100644 index 00000000..464e5478 --- /dev/null +++ b/buildroot-2022.02.1/package/xapian/xapian.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# xapian +# +################################################################################ + +XAPIAN_VERSION = 1.4.19 +XAPIAN_SOURCE = xapian-core-$(XAPIAN_VERSION).tar.xz +XAPIAN_SITE = https://oligarchy.co.uk/xapian/$(XAPIAN_VERSION) +XAPIAN_LICENSE = GPL-2.0+ +XAPIAN_LICENSE_FILES = COPYING +XAPIAN_CPE_ID_VENDOR = xapian +XAPIAN_CPE_ID_PRODUCT = xapian-core +XAPIAN_INSTALL_STAGING = YES +XAPIAN_DEPENDENCIES = zlib + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xavante/Config.in b/buildroot-2022.02.1/package/xavante/Config.in similarity index 100% rename from buildroot-2021.05/package/xavante/Config.in rename to buildroot-2022.02.1/package/xavante/Config.in diff --git a/buildroot-2021.05/package/xavante/xavante.hash b/buildroot-2022.02.1/package/xavante/xavante.hash similarity index 100% rename from buildroot-2021.05/package/xavante/xavante.hash rename to buildroot-2022.02.1/package/xavante/xavante.hash diff --git a/buildroot-2021.05/package/xavante/xavante.mk b/buildroot-2022.02.1/package/xavante/xavante.mk similarity index 100% rename from buildroot-2021.05/package/xavante/xavante.mk rename to buildroot-2022.02.1/package/xavante/xavante.mk diff --git a/buildroot-2021.05/package/xdg-dbus-proxy/Config.in b/buildroot-2022.02.1/package/xdg-dbus-proxy/Config.in similarity index 100% rename from buildroot-2021.05/package/xdg-dbus-proxy/Config.in rename to buildroot-2022.02.1/package/xdg-dbus-proxy/Config.in diff --git a/buildroot-2022.02.1/package/xdg-dbus-proxy/xdg-dbus-proxy.hash b/buildroot-2022.02.1/package/xdg-dbus-proxy/xdg-dbus-proxy.hash new file mode 100644 index 00000000..b7aa9ac7 --- /dev/null +++ b/buildroot-2022.02.1/package/xdg-dbus-proxy/xdg-dbus-proxy.hash @@ -0,0 +1,5 @@ +# From https://github.com/flatpak/xdg-dbus-proxy/releases/tag/0.1.3 +sha256 03b5d28ca879253ddbbce31098909becca1495ea811a6377a492e28f16c09b9b xdg-dbus-proxy-0.1.3.tar.xz + +# Hash for license files: +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING diff --git a/buildroot-2022.02.1/package/xdg-dbus-proxy/xdg-dbus-proxy.mk b/buildroot-2022.02.1/package/xdg-dbus-proxy/xdg-dbus-proxy.mk new file mode 100644 index 00000000..9c4449c7 --- /dev/null +++ b/buildroot-2022.02.1/package/xdg-dbus-proxy/xdg-dbus-proxy.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# bubblewrap +# +################################################################################ + +XDG_DBUS_PROXY_VERSION = 0.1.3 +XDG_DBUS_PROXY_SITE = https://github.com/flatpak/xdg-dbus-proxy/releases/download/$(XDG_DBUS_PROXY_VERSION) +XDG_DBUS_PROXY_SOURCE = xdg-dbus-proxy-$(XDG_DBUS_PROXY_VERSION).tar.xz +XDG_DBUS_PROXY_DEPENDENCIES = host-pkgconf libglib2 + +XDG_DBUS_PROXY_LICENSE = LGPL-2.1+ +XDG_DBUS_PROXY_LICENSE_FILES = COPYING + +XDG_DBUS_PROXY_CONF_OPTS = --disable-man + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xdotool/Config.in b/buildroot-2022.02.1/package/xdotool/Config.in similarity index 100% rename from buildroot-2021.05/package/xdotool/Config.in rename to buildroot-2022.02.1/package/xdotool/Config.in diff --git a/buildroot-2021.05/package/xdotool/xdotool.hash b/buildroot-2022.02.1/package/xdotool/xdotool.hash similarity index 100% rename from buildroot-2021.05/package/xdotool/xdotool.hash rename to buildroot-2022.02.1/package/xdotool/xdotool.hash diff --git a/buildroot-2021.05/package/xdotool/xdotool.mk b/buildroot-2022.02.1/package/xdotool/xdotool.mk similarity index 100% rename from buildroot-2021.05/package/xdotool/xdotool.mk rename to buildroot-2022.02.1/package/xdotool/xdotool.mk diff --git a/buildroot-2021.05/package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch b/buildroot-2022.02.1/package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch similarity index 100% rename from buildroot-2021.05/package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch rename to buildroot-2022.02.1/package/xen/0001-9pfs-include-linux-limits.h-for-XATTR_SIZE_MAX.patch diff --git a/buildroot-2022.02.1/package/xen/0002-Fix-build-with-64-bits-time_t.patch b/buildroot-2022.02.1/package/xen/0002-Fix-build-with-64-bits-time_t.patch new file mode 100644 index 00000000..8559aece --- /dev/null +++ b/buildroot-2022.02.1/package/xen/0002-Fix-build-with-64-bits-time_t.patch @@ -0,0 +1,95 @@ +From f7a6df5f5bf3acc219352a1b25573ae2082d7e42 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 3 Dec 2020 20:58:19 +0100 +Subject: [PATCH] Fix build with 64 bits time_t + +time element is deprecated on new input_event structure in kernel's +input.h [1] + +This will avoid the following build failure: + +hw/input/virtio-input-host.c: In function 'virtio_input_host_handle_status': +hw/input/virtio-input-host.c:198:28: error: 'struct input_event' has no member named 'time' + 198 | if (gettimeofday(&evdev.time, NULL)) { + | ^ + +Fixes: + - http://autobuild.buildroot.org/results/a538167e288c14208d557cd45446df86d3d599d5 + - http://autobuild.buildroot.org/results/efd4474fb4b6c0ce0ab3838ce130429c51e43bbb + +[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=152194fe9c3f + +Signed-off-by: Fabrice Fontaine +Message-Id: <20201203195819.583626-1-fontaine.fabrice@gmail.com> +Fixes: https://gitlab.com/qemu-project/qemu/-/issues/246 +Reviewed-by: Michael S. Tsirkin +Signed-off-by: Michael S. Tsirkin + +[Retrieved (and updated for qemu-xen) from: +https://github.com/qemu/qemu/commit/f7a6df5f5bf3acc219352a1b25573ae2082d7e42] +Signed-off-by: Fabrice Fontaine +--- + contrib/vhost-user-input/main.c | 8 ++++++-- + hw/input/virtio-input-host.c | 5 ++++- + 2 files changed, 10 insertions(+), 3 deletions(-) + +diff --git a/tools/qemu-xen/contrib/vhost-user-input/main.c b/tools/qemu-xen/contrib/vhost-user-input/main.c +index c15d18c33f0c..081230da548a 100644 +--- a/tools/qemu-xen/contrib/vhost-user-input/main.c ++++ b/tools/qemu-xen/contrib/vhost-user-input/main.c +@@ -6,13 +6,14 @@ + #include "qemu/osdep.h" + + #include +-#include ++#include + + #include "qemu/iov.h" + #include "qemu/bswap.h" + #include "qemu/sockets.h" + #include "contrib/libvhost-user/libvhost-user.h" + #include "contrib/libvhost-user/libvhost-user-glib.h" ++#include "standard-headers/linux/input.h" + #include "standard-headers/linux/virtio_input.h" + #include "qapi/error.h" + +@@ -113,13 +114,16 @@ vi_evdev_watch(VuDev *dev, int condition, void *data) + static void vi_handle_status(VuInput *vi, virtio_input_event *event) + { + struct input_event evdev; ++ struct timeval tval; + int rc; + +- if (gettimeofday(&evdev.time, NULL)) { ++ if (gettimeofday(&tval, NULL)) { + perror("vi_handle_status: gettimeofday"); + return; + } + ++ evdev.input_event_sec = tval.tv_sec; ++ evdev.input_event_usec = tval.tv_usec; + evdev.type = le16toh(event->type); + evdev.code = le16toh(event->code); + evdev.value = le32toh(event->value); +diff --git a/tools/qemu-xen/hw/input/virtio-input-host.c b/tools/qemu-xen/hw/input/virtio-input-host.c +index 85daf73f1a80..137efba57b0f 100644 +--- a/tools/qemu-xen/hw/input/virtio-input-host.c ++++ b/tools/qemu-xen/hw/input/virtio-input-host.c +@@ -193,13 +193,16 @@ static void virtio_input_host_handle_status(VirtIOInput *vinput, + { + VirtIOInputHost *vih = VIRTIO_INPUT_HOST(vinput); + struct input_event evdev; ++ struct timeval tval; + int rc; + +- if (gettimeofday(&evdev.time, NULL)) { ++ if (gettimeofday(&tval, NULL)) { + perror("virtio_input_host_handle_status: gettimeofday"); + return; + } + ++ evdev.input_event_sec = tval.tv_sec; ++ evdev.input_event_usec = tval.tv_usec; + evdev.type = le16_to_cpu(event->type); + evdev.code = le16_to_cpu(event->code); + evdev.value = le32_to_cpu(event->value); diff --git a/buildroot-2022.02.1/package/xen/0003-libs-light-fix-tv_sec-printf-format.patch b/buildroot-2022.02.1/package/xen/0003-libs-light-fix-tv_sec-printf-format.patch new file mode 100644 index 00000000..fffc8d73 --- /dev/null +++ b/buildroot-2022.02.1/package/xen/0003-libs-light-fix-tv_sec-printf-format.patch @@ -0,0 +1,63 @@ +From a8ac01aa3e3ea5e6a9a1620aa8fa7e9da3458120 Mon Sep 17 00:00:00 2001 +From: Manuel Bouyer +Date: Tue, 26 Jan 2021 23:47:55 +0100 +Subject: [PATCH] libs/light: fix tv_sec printf format +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Don't assume tv_sec is a unsigned long, it is 64 bits on NetBSD 32 bits. +Use %jd and cast to (intmax_t) instead + +Signed-off-by: Manuel Bouyer +Reviewed-by: Roger Pau Monné +[Retrieved (and backported) from: +https://gitlab.com/xen-project/xen/-/commit/a8ac01aa3e3ea5e6a9a1620aa8fa7e9da3458120] +Signed-off-by: Fabrice Fontaine +--- + tools/libs/light/libxl_create.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c +index 8616113e72..9848d65f36 100644 +--- a/tools/libxl/libxl_create.c ++++ b/tools/libxl/libxl_create.c +@@ -496,7 +496,7 @@ int libxl__domain_build(libxl__gc *gc, + vments[2] = "image/ostype"; + vments[3] = "hvm"; + vments[4] = "start_time"; +- vments[5] = GCSPRINTF("%lu.%02d", start_time.tv_sec,(int)start_time.tv_usec/10000); ++ vments[5] = GCSPRINTF("%jd.%02d", (intmax_t)start_time.tv_sec,(int)start_time.tv_usec/10000); + + localents = libxl__calloc(gc, 13, sizeof(char *)); + i = 0; +@@ -535,7 +535,7 @@ int libxl__domain_build(libxl__gc *gc, + vments[i++] = "image/kernel"; + vments[i++] = (char *) state->pv_kernel.path; + vments[i++] = "start_time"; +- vments[i++] = GCSPRINTF("%lu.%02d", start_time.tv_sec,(int)start_time.tv_usec/10000); ++ vments[i++] = GCSPRINTF("%jd.%02d", (intmax_t)start_time.tv_sec,(int)start_time.tv_usec/10000); + if (state->pv_ramdisk.path) { + vments[i++] = "image/ramdisk"; + vments[i++] = (char *) state->pv_ramdisk.path; +@@ -1502,7 +1502,7 @@ static void domcreate_stream_done(libxl__egc *egc, + vments[2] = "image/ostype"; + vments[3] = "hvm"; + vments[4] = "start_time"; +- vments[5] = GCSPRINTF("%lu.%02d", start_time.tv_sec,(int)start_time.tv_usec/10000); ++ vments[5] = GCSPRINTF("%jd.%02d", (intmax_t)start_time.tv_sec,(int)start_time.tv_usec/10000); + break; + case LIBXL_DOMAIN_TYPE_PV: + vments = libxl__calloc(gc, 11, sizeof(char *)); +@@ -1512,7 +1512,7 @@ static void domcreate_stream_done(libxl__egc *egc, + vments[i++] = "image/kernel"; + vments[i++] = (char *) state->pv_kernel.path; + vments[i++] = "start_time"; +- vments[i++] = GCSPRINTF("%lu.%02d", start_time.tv_sec,(int)start_time.tv_usec/10000); ++ vments[i++] = GCSPRINTF("%jd.%02d", (intmax_t)start_time.tv_sec,(int)start_time.tv_usec/10000); + if (state->pv_ramdisk.path) { + vments[i++] = "image/ramdisk"; + vments[i++] = (char *) state->pv_ramdisk.path; +-- +GitLab + diff --git a/buildroot-2022.02.1/package/xen/0004-libs-light-fix-tv_sec-fprintf-format.patch b/buildroot-2022.02.1/package/xen/0004-libs-light-fix-tv_sec-fprintf-format.patch new file mode 100644 index 00000000..d677dce4 --- /dev/null +++ b/buildroot-2022.02.1/package/xen/0004-libs-light-fix-tv_sec-fprintf-format.patch @@ -0,0 +1,30 @@ +From 4881285bcfd8f2e2c913c6e9f011b1e90652f414 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 28 Aug 2021 11:00:07 +0200 +Subject: [PATCH] libs/light: fix tv_sec fprintf format + +Don't assume tv_sec is a unsigned long, it is 64 bits on NetBSD 32 bits. +Use %jd and cast to (intmax_t) instead + +Signed-off-by: Fabrice Fontaine +[Upstream status: sent to xen-devel@lists.xenproject.org] +--- + tools/libs/light/libxl_domain.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/libxl/libxl_domain.c b/tools/libxl/libxl_domain.c +index c00c36c928..51a6127552 100644 +--- a/tools/libxl/libxl_domain.c ++++ b/tools/libxl/libxl_domain.c +@@ -1444,7 +1444,7 @@ static int libxl__mark_domid_recent(libxl__gc *gc, uint32_t domid) + } + } + +- r = fprintf(nf, "%lu %u\n", ctxt.ts.tv_sec, domid); ++ r = fprintf(nf, "%jd %u\n", (intmax_t)ctxt.ts.tv_sec, domid); + if (r < 0) { + LOGED(ERROR, domid, "failed to write to '%s'", new); + goto out; +-- +2.32.0 + diff --git a/buildroot-2021.05/package/xen/Config.in b/buildroot-2022.02.1/package/xen/Config.in similarity index 100% rename from buildroot-2021.05/package/xen/Config.in rename to buildroot-2022.02.1/package/xen/Config.in diff --git a/buildroot-2022.02.1/package/xen/xen.hash b/buildroot-2022.02.1/package/xen/xen.hash new file mode 100644 index 00000000..a81d05e3 --- /dev/null +++ b/buildroot-2022.02.1/package/xen/xen.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 e76d56dfcdabf5d80aa06819f44472de49526a518dbb483eb08e7ff9aec2c669 xen-4.14.4.tar.gz +sha256 ecca9538e9d3f7e3c2bff827502f4495e2ef9e22c451298696ea08886b176c2c COPYING diff --git a/buildroot-2022.02.1/package/xen/xen.mk b/buildroot-2022.02.1/package/xen/xen.mk new file mode 100644 index 00000000..03341d42 --- /dev/null +++ b/buildroot-2022.02.1/package/xen/xen.mk @@ -0,0 +1,65 @@ +################################################################################ +# +# Xen +# +################################################################################ + +XEN_VERSION = 4.14.4 +XEN_SITE = https://downloads.xenproject.org/release/xen/$(XEN_VERSION) +XEN_LICENSE = GPL-2.0 +XEN_LICENSE_FILES = COPYING +XEN_CPE_ID_VENDOR = xen +XEN_CPE_ID_PREFIX = cpe:2.3:o +XEN_DEPENDENCIES = host-acpica host-python3 + +# Calculate XEN_ARCH +ifeq ($(ARCH),aarch64) +XEN_ARCH = arm64 +else ifeq ($(ARCH),arm) +XEN_ARCH = arm32 +endif + +XEN_CONF_OPTS = \ + --disable-golang \ + --disable-ocamltools \ + --with-initddir=/etc/init.d + +XEN_CONF_ENV = PYTHON=$(HOST_DIR)/bin/python3 +XEN_MAKE_ENV = \ + XEN_TARGET_ARCH=$(XEN_ARCH) \ + CROSS_COMPILE=$(TARGET_CROSS) \ + HOST_EXTRACFLAGS="-Wno-error" \ + XEN_HAS_CHECKPOLICY=n \ + $(TARGET_CONFIGURE_OPTS) + +ifeq ($(BR2_PACKAGE_XEN_HYPERVISOR),y) +XEN_MAKE_OPTS += dist-xen +XEN_INSTALL_IMAGES = YES +define XEN_INSTALL_IMAGES_CMDS + cp $(@D)/xen/xen $(BINARIES_DIR) +endef +else +XEN_CONF_OPTS += --disable-xen +endif + +ifeq ($(BR2_PACKAGE_XEN_TOOLS),y) +XEN_DEPENDENCIES += \ + dtc libaio libglib2 ncurses openssl pixman slirp util-linux yajl +ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) +XEN_DEPENDENCIES += argp-standalone +endif +XEN_INSTALL_TARGET_OPTS += DESTDIR=$(TARGET_DIR) install-tools +XEN_MAKE_OPTS += dist-tools +XEN_CONF_OPTS += --with-extra-qemuu-configure-args="--disable-sdl --disable-opengl" + +define XEN_INSTALL_INIT_SYSV + mv $(TARGET_DIR)/etc/init.d/xencommons $(TARGET_DIR)/etc/init.d/S50xencommons + mv $(TARGET_DIR)/etc/init.d/xen-watchdog $(TARGET_DIR)/etc/init.d/S50xen-watchdog + mv $(TARGET_DIR)/etc/init.d/xendomains $(TARGET_DIR)/etc/init.d/S60xendomains +endef +else +XEN_INSTALL_TARGET = NO +XEN_CONF_OPTS += --disable-tools +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xenomai/3.0.10/0001-lib-boilerplate-iniparser-Allow-building-with-GCC-10-2-2020101.patch b/buildroot-2022.02.1/package/xenomai/3.0.10/0001-lib-boilerplate-iniparser-Allow-building-with-GCC-10-2-2020101.patch similarity index 100% rename from buildroot-2021.05/package/xenomai/3.0.10/0001-lib-boilerplate-iniparser-Allow-building-with-GCC-10-2-2020101.patch rename to buildroot-2022.02.1/package/xenomai/3.0.10/0001-lib-boilerplate-iniparser-Allow-building-with-GCC-10-2-2020101.patch diff --git a/buildroot-2022.02.1/package/xenomai/3.0.10/0002-Add-disable-demo-testsuite-options.patch b/buildroot-2022.02.1/package/xenomai/3.0.10/0002-Add-disable-demo-testsuite-options.patch new file mode 100644 index 00000000..0a817503 --- /dev/null +++ b/buildroot-2022.02.1/package/xenomai/3.0.10/0002-Add-disable-demo-testsuite-options.patch @@ -0,0 +1,94 @@ +From 702697cafcec735e55f075594a2990204c8ea17d Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Tue, 10 Aug 2021 18:01:48 +0200 +Subject: [PATCH] Add --disable-{demo,testsuite} options +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Allow the user to disable demo and testsuite to avoid the following +build failures on arc and riscv32: + +latency.c: In function 'display': +latency.c:326:21: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'time_t' {aka 'long long int'} [-Werror=format=] + 326 | ("RTT| %.2ld:%.2ld:%.2ld (%s, %Ld us period, " + | ~~~~^ + | | + | long int + | %.2lld + 327 | "priority %d)\n", dt / 3600, + | ~~~~~~~~~ + | | + | time_t {aka long long int} + +altency.c: In function ‘display’: +altency.c:262:21: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘time_t’ {aka ‘long long int’} [-Werror=format=] + 262 | ("RTT| %.2ld:%.2ld:%.2ld (%s, %Ld us period, " + | ~~~~^ + | | + | long int + | %.2lld + 263 | "priority %d)\n", dt / 3600, + | ~~~~~~~~~ + | | + | time_t {aka long long int} + +Fixes: + - http://autobuild.buildroot.org/results/448efe22e8fe058a1b354a3c124874e30b9ce138 + +Signed-off-by: Fabrice Fontaine +--- + Makefile.am | 12 ++++++++++-- + configure.ac | 12 ++++++++++++ + 2 files changed, 22 insertions(+), 2 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index 891e53f66..604644277 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -6,9 +6,17 @@ SUBDIRS = \ + config \ + include \ + scripts \ +- testsuite \ +- utils \ ++ utils ++ ++if XENO_ENABLE_DEMO ++SUBDIRS += \ + demo ++endif ++ ++if XENO_ENABLE_TESTSUITE ++SUBDIRS += \ ++ testsuite ++endif + + EXTRA_DIST = kernel debian + +diff --git a/configure.ac b/configure.ac +index bd5fd5ba9..29dfd16e5 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -200,6 +200,18 @@ test \! x$debug_mode = x && AC_DEFINE(CONFIG_XENO_DEBUG,1,[config]) + AM_CONDITIONAL(XENO_DEBUG_FULL,[test x$debug_mode = xfull]) + test x$debug_mode = xfull && AC_DEFINE(CONFIG_XENO_DEBUG_FULL,1,[config]) + ++dnl Demo (default: on) ++ ++AC_ARG_ENABLE(demo, ++ AS_HELP_STRING([--disable-demo], [Disable demo])) ++AM_CONDITIONAL(XENO_ENABLE_DEMO,[test x$enable_demo != xno]) ++ ++dnl Testsuite (default: on) ++ ++AC_ARG_ENABLE(testsuite, ++ AS_HELP_STRING([--disable-testsuite], [Disable testsuite])) ++AM_CONDITIONAL(XENO_ENABLE_TESTSUITE,[test x$enable_testsuite != xno]) ++ + dnl Low resolution clock (default: off) + + unset lores_clock +-- +2.30.2 + diff --git a/buildroot-2022.02.1/package/xenomai/3.0.10/0003-lib-cobalt-copperplate-Use-valid-addresses-for-pthread_setspecific.patch b/buildroot-2022.02.1/package/xenomai/3.0.10/0003-lib-cobalt-copperplate-Use-valid-addresses-for-pthread_setspecific.patch new file mode 100644 index 00000000..0c39a4ec --- /dev/null +++ b/buildroot-2022.02.1/package/xenomai/3.0.10/0003-lib-cobalt-copperplate-Use-valid-addresses-for-pthread_setspecific.patch @@ -0,0 +1,57 @@ +From 627d488db3aa71406e32d4d8934629e8b0f35905 Mon Sep 17 00:00:00 2001 +From: Jan Kiszka +Date: Sat, 16 Oct 2021 15:46:33 +0200 +Subject: [PATCH] lib/{cobalt,copperplate}: Use valid addresses for + pthread_setspecific + +glibx 2.34 and newer annotated pthread_setspecific in a way that gcc-11 +complains about non-NULL pointers that are outside of what is considered +valid. So use dummy addresses instead. namely the related pthread keys. +Those pointers will never be dereferenced in both use cases. + +See also https://sourceware.org/bugzilla/show_bug.cgi?id=28458. + +Reported-by: Vitaly Chikunov +Signed-off-by: Jan Kiszka + +[Retrieved from: +https://source.denx.de/Xenomai/xenomai/-/commit/627d488db3aa71406e32d4d8934629e8b0f35905] +Signed-off-by: Fabrice Fontaine +--- + include/copperplate/threadobj.h | 6 +++++- + lib/cobalt/printf.c | 2 +- + 2 files changed, 6 insertions(+), 2 deletions(-) + +diff --git a/include/copperplate/threadobj.h b/include/copperplate/threadobj.h +index 7e6904f4c..c8363415b 100644 +--- a/include/copperplate/threadobj.h ++++ b/include/copperplate/threadobj.h +@@ -173,7 +173,11 @@ void threadobj_save_timeout(struct threadobj_corespec *corespec, + #define __THREAD_M_SPARE6 (1 << 22) + #define __THREAD_M_SPARE7 (1 << 23) + +-#define THREADOBJ_IRQCONTEXT ((struct threadobj *)-2UL) ++/* ++ * We need to use a valid address here. The object will never be dereferenced ++ * when it is identified as IRQ context, so the pthread key itself is fine. ++ */ ++#define THREADOBJ_IRQCONTEXT ((struct threadobj *)&threadobj_tskey) + + struct traceobj; + struct syncobj; +diff --git a/lib/cobalt/printf.c b/lib/cobalt/printf.c +index 8982ddc93..0aa5940c6 100644 +--- a/lib/cobalt/printf.c ++++ b/lib/cobalt/printf.c +@@ -729,7 +729,7 @@ done: + pthread_cond_init(&printer_wakeup, NULL); + spawn_printer_thread(); + /* We just need a non-zero TSD to trigger the dtor upon unwinding. */ +- pthread_setspecific(cleanup_key, (void *)1); ++ pthread_setspecific(cleanup_key, &cleanup_key); + + atexit(rt_print_flush_buffers); + } +-- +GitLab + diff --git a/buildroot-2021.05/package/xenomai/Config.in b/buildroot-2022.02.1/package/xenomai/Config.in similarity index 100% rename from buildroot-2021.05/package/xenomai/Config.in rename to buildroot-2022.02.1/package/xenomai/Config.in diff --git a/buildroot-2021.05/package/xenomai/xenomai.hash b/buildroot-2022.02.1/package/xenomai/xenomai.hash similarity index 100% rename from buildroot-2021.05/package/xenomai/xenomai.hash rename to buildroot-2022.02.1/package/xenomai/xenomai.hash diff --git a/buildroot-2022.02.1/package/xenomai/xenomai.mk b/buildroot-2022.02.1/package/xenomai/xenomai.mk new file mode 100644 index 00000000..c1ad0c5d --- /dev/null +++ b/buildroot-2022.02.1/package/xenomai/xenomai.mk @@ -0,0 +1,166 @@ +################################################################################ +# +# xenomai +# +################################################################################ + +XENOMAI_VERSION = $(call qstrip,$(BR2_PACKAGE_XENOMAI_VERSION)) +ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL),y) +XENOMAI_TARBALL = $(call qstrip,$(BR2_PACKAGE_XENOMAI_CUSTOM_TARBALL_URL)) +XENOMAI_SOURCE = $(notdir $(XENOMAI_TARBALL)) +XENOMAI_SITE = $(patsubst %/,%,$(dir $(XENOMAI_TARBALL))) +else ifeq ($(BR2_PACKAGE_XENOMAI_CUSTOM_GIT),y) +XENOMAI_SITE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_REPOSITORY)) +XENOMAI_SITE_METHOD = git +else +XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2 +XENOMAI_SITE = http://xenomai.org/downloads/xenomai/stable +endif +# We're patching configure.ac +XENOMAI_AUTORECONF = YES + +# Exclude all from the hash check, but the latest version. +ifeq ($(BR2_PACKAGE_XENOMAI)$(BR2_PACKAGE_XENOMAI_LATEST_VERSION),y) +BR_NO_CHECK_HASH_FOR += $(XENOMAI_SOURCE) +endif + +XENOMAI_LICENSE = GPL-2.0+ with exception (headers), LGPL-2.1+ (libraries), GPL-2.0+ (kernel), GFDL-1.2+ (docs), GPL-2.0 (ipipe patch, can driver) +# GFDL is not included but refers to gnu.org +XENOMAI_LICENSE_FILES = debian/copyright include/COPYING kernel/cobalt/COPYING \ + kernel/cobalt/posix/COPYING kernel/cobalt/rtdm/COPYING \ + lib/alchemy/COPYING lib/analogy/COPYING \ + lib/boilerplate/iniparser/LICENSE lib/boilerplate/COPYING \ + lib/cobalt/COPYING lib/copperplate/COPYING lib/psos/COPYING \ + lib/smokey/COPYING lib/trank/COPYING lib/vxworks/COPYING + +XENOMAI_DEPENDENCIES = host-pkgconf + +XENOMAI_INSTALL_STAGING = YES +XENOMAI_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-user +XENOMAI_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-user + +XENOMAI_CONF_OPTS += \ + --disable-demo \ + --disable-testsuite \ + --includedir=/usr/include/xenomai/ + +ifeq ($(BR2_PACKAGE_XENOMAI_MERCURY),y) +XENOMAI_CONF_OPTS += --with-core=mercury +else +XENOMAI_CONF_OPTS += --with-core=cobalt +endif + +ifeq ($(BR2_PACKAGE_XENOMAI_ENABLE_SMP),y) +XENOMAI_CONF_OPTS += --enable-smp +else +XENOMAI_CONF_OPTS += --disable-smp +endif + +ifeq ($(BR2_PACKAGE_XENOMAI_ENABLE_REGISTRY),y) +XENOMAI_DEPENDENCIES += libfuse +XENOMAI_REGISTRY_PATH = $(call qstrip,$(BR2_PACKAGE_XENOMAI_ENABLE_REGISTRY_PATH)) +ifeq ($(XENOMAI_REGISTRY_PATH),) +XENOMAI_CONF_OPTS += --enable-registry +else +XENOMAI_CONF_OPTS += --enable-registry=$(XENOMAI_REGISTRY_PATH) +endif +else +XENOMAI_CONF_OPTS += --disable-registry +endif + +XENOMAI_CONF_OPTS += $(call qstrip,$(BR2_PACKAGE_XENOMAI_ADDITIONAL_CONF_OPTS)) + +# Some of these files may be desired by some users -- at that point specific +# config options need to be added to keep a particular set. +define XENOMAI_REMOVE_UNNEEDED_FILES + for i in xeno xeno-config xeno-info wrap-link.sh ; do \ + rm -f $(TARGET_DIR)/usr/bin/$$i ; \ + done + for i in cobalt modechk ; do \ + rm -f $(TARGET_DIR)/usr/lib/$$i.wrappers ; \ + done + for i in autotune corectl hdb rtnet nomaccfg rtcfg rtifconfig \ + rtiwconfig rtping rtroute tdmacfg rtps slackspot version; do \ + rm -f $(TARGET_DIR)/usr/sbin/$$i ; \ + done +endef + +XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_UNNEEDED_FILES + +ifeq ($(BR2_PACKAGE_XENOMAI_TESTSUITE),) +define XENOMAI_REMOVE_TESTSUITE + rm -rf $(TARGET_DIR)/usr/share/xenomai/ + for i in clocktest gpiotest latency smokey spitest switchtest \ + xeno-test-run-wrapper dohell xeno-test-run xeno-test ; do \ + rm -f $(TARGET_DIR)/usr/bin/$$i ; \ + done + rm -rf $(TARGET_DIR)/usr/demo/ +endef + +XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_TESTSUITE +endif + +ifeq ($(BR2_PACKAGE_XENOMAI_RTCAN),) +define XENOMAI_REMOVE_RTCAN_PROGS + for i in rtcanrecv rtcansend ; do \ + rm -f $(TARGET_DIR)/usr/bin/$$i ; \ + done + rm -f $(TARGET_DIR)/usr/sbin/rtcanconfig +endef + +XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_RTCAN_PROGS +endif + +ifeq ($(BR2_PACKAGE_XENOMAI_ANALOGY),) +define XENOMAI_REMOVE_ANALOGY + for i in cmd_read cmd_write cmd_bits insn_read insn_write insn_bits \ + wf_generate ; do \ + rm -f $(TARGET_DIR)/usr/bin/$$i ; \ + done + for i in analogy_config analogy_calibrate ; do \ + rm -f $(TARGET_DIR)/usr/sbin/$$i ; \ + done + rm -f $(TARGET_DIR)/usr/lib/libanalogy.* +endef + +XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_ANALOGY +endif + +XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_NATIVE_SKIN),,alchemy) +XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_POSIX_SKIN),,posix) +XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_PSOS_SKIN),,psos) +XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_RTAI_SKIN),,rtai) +XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_TESTSUITE),,smokey) +XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_UITRON_SKIN),,uitron) +XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_VXWORKS_SKIN),,vxworks) +XENOMAI_REMOVE_LIBS_LIST += $(if $(BR2_PACKAGE_XENOMAI_VRTX_SKIN),,vrtx) + +define XENOMAI_REMOVE_LIBS + for i in $(XENOMAI_REMOVE_LIBS_LIST) ; do \ + rm -f $(TARGET_DIR)/usr/lib/lib$$i.* ; \ + done +endef + +XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_REMOVE_LIBS + +define XENOMAI_DEVICES + /dev/rtheap c 666 0 0 10 254 0 0 - + /dev/rtscope c 666 0 0 10 253 0 0 - + /dev/rtp c 666 0 0 150 0 0 1 32 +endef + +ifeq ($(BR2_PACKAGE_HAS_UDEV),y) +XENOMAI_DEPENDENCIES += udev + +define XENOMAI_INSTALL_UDEV_RULES + if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \ + for f in $(@D)/kernel/cobalt/udev/*.rules ; do \ + cp $$f $(TARGET_DIR)/etc/udev/rules.d/ || exit 1 ; \ + done ; \ + fi; +endef + +XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_INSTALL_UDEV_RULES +endif # udev + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xerces/0001-fix-static-linking-with-curl.patch b/buildroot-2022.02.1/package/xerces/0001-fix-static-linking-with-curl.patch similarity index 100% rename from buildroot-2021.05/package/xerces/0001-fix-static-linking-with-curl.patch rename to buildroot-2022.02.1/package/xerces/0001-fix-static-linking-with-curl.patch diff --git a/buildroot-2022.02.1/package/xerces/0002-InMemMsgLoader-loadMsg-fix-memory-leak-when-transcod.patch b/buildroot-2022.02.1/package/xerces/0002-InMemMsgLoader-loadMsg-fix-memory-leak-when-transcod.patch new file mode 100644 index 00000000..76b37c63 --- /dev/null +++ b/buildroot-2022.02.1/package/xerces/0002-InMemMsgLoader-loadMsg-fix-memory-leak-when-transcod.patch @@ -0,0 +1,87 @@ +From 1bdf6d8ba878c1fe1d779824be70001fc0bebd2c Mon Sep 17 00:00:00 2001 +From: Even Rouault +Date: Fri, 27 Aug 2021 01:33:27 +0200 +Subject: [PATCH] InMemMsgLoader::loadMsg(): fix memory leak when transcoding + fails. + +Seen with the IconvGNU transcoder when parsing " + +--- + .../MsgLoaders/InMemory/InMemMsgLoader.cpp | 31 ++++++++++++++----- + 1 file changed, 23 insertions(+), 8 deletions(-) + +diff --git a/src/xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.cpp b/src/xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.cpp +index cda103226..6971fde96 100644 +--- a/src/xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.cpp ++++ b/src/xercesc/util/MsgLoaders/InMemory/InMemMsgLoader.cpp +@@ -25,6 +25,7 @@ + // --------------------------------------------------------------------------- + #include + #include ++#include + #include + #include + #include +@@ -153,14 +154,28 @@ bool InMemMsgLoader::loadMsg(const XMLMsgLoader::XMLMsgId msgToLoad + XMLCh* tmp4 = 0; + + bool bRet = false; +- if (repText1) +- tmp1 = XMLString::transcode(repText1, manager); +- if (repText2) +- tmp2 = XMLString::transcode(repText2, manager); +- if (repText3) +- tmp3 = XMLString::transcode(repText3, manager); +- if (repText4) +- tmp4 = XMLString::transcode(repText4, manager); ++ try ++ { ++ if (repText1) ++ tmp1 = XMLString::transcode(repText1, manager); ++ if (repText2) ++ tmp2 = XMLString::transcode(repText2, manager); ++ if (repText3) ++ tmp3 = XMLString::transcode(repText3, manager); ++ if (repText4) ++ tmp4 = XMLString::transcode(repText4, manager); ++ } ++ catch( const TranscodingException& ) ++ { ++ if (tmp1) ++ manager->deallocate(tmp1); ++ if (tmp2) ++ manager->deallocate(tmp2); ++ if (tmp3) ++ manager->deallocate(tmp3); ++ // Note: tmp4 cannot leak ++ throw; ++ } + + bRet = loadMsg(msgToLoad, toFill, maxChars, tmp1, tmp2, tmp3, tmp4, manager); + +-- +2.17.1 + diff --git a/buildroot-2022.02.1/package/xerces/Config.in b/buildroot-2022.02.1/package/xerces/Config.in new file mode 100644 index 00000000..20cd2ab1 --- /dev/null +++ b/buildroot-2022.02.1/package/xerces/Config.in @@ -0,0 +1,23 @@ +config BR2_PACKAGE_XERCES + bool "xerces-c++" + depends on BR2_INSTALL_LIBSTDCPP + depends on !BR2_STATIC_LIBS + depends on BR2_USE_WCHAR + help + Xerces-C++ is a validating XML parser written in portable C++. + + http://xerces.apache.org/xerces-c/ + +if BR2_PACKAGE_XERCES + +config BR2_PACKAGE_XERCES_ENABLE_NETWORK + bool "Enable network support" + default y + help + Enable network support in xerces + +endif + +comment "xerces-c++ needs a toolchain w/ C++, dynamic library, wchar" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ + !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/xerces/xerces.hash b/buildroot-2022.02.1/package/xerces/xerces.hash similarity index 100% rename from buildroot-2021.05/package/xerces/xerces.hash rename to buildroot-2022.02.1/package/xerces/xerces.hash diff --git a/buildroot-2021.05/package/xerces/xerces.mk b/buildroot-2022.02.1/package/xerces/xerces.mk similarity index 100% rename from buildroot-2021.05/package/xerces/xerces.mk rename to buildroot-2022.02.1/package/xerces/xerces.mk diff --git a/buildroot-2021.05/package/xfsprogs/0001-mdrestore-do-not-do-dynamic-linking-of-libtool-libra.patch b/buildroot-2022.02.1/package/xfsprogs/0001-mdrestore-do-not-do-dynamic-linking-of-libtool-libra.patch similarity index 100% rename from buildroot-2021.05/package/xfsprogs/0001-mdrestore-do-not-do-dynamic-linking-of-libtool-libra.patch rename to buildroot-2022.02.1/package/xfsprogs/0001-mdrestore-do-not-do-dynamic-linking-of-libtool-libra.patch diff --git a/buildroot-2021.05/package/xfsprogs/0002-libxfs-do-not-try-to-run-the-crc32selftest.patch b/buildroot-2022.02.1/package/xfsprogs/0002-libxfs-do-not-try-to-run-the-crc32selftest.patch similarity index 100% rename from buildroot-2021.05/package/xfsprogs/0002-libxfs-do-not-try-to-run-the-crc32selftest.patch rename to buildroot-2022.02.1/package/xfsprogs/0002-libxfs-do-not-try-to-run-the-crc32selftest.patch diff --git a/buildroot-2022.02.1/package/xfsprogs/Config.in b/buildroot-2022.02.1/package/xfsprogs/Config.in new file mode 100644 index 00000000..a382b63f --- /dev/null +++ b/buildroot-2022.02.1/package/xfsprogs/Config.in @@ -0,0 +1,19 @@ +comment "xfsprogs needs a toolchain w/ threads" + depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADS + +config BR2_PACKAGE_XFSPROGS + bool "xfsprogs" + depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_INIH + select BR2_PACKAGE_LIBURCU + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + select BR2_PACKAGE_UTIL_LINUX_LIBBLKID + help + The XFS file system utilities and libraries + + http://xfs.org diff --git a/buildroot-2022.02.1/package/xfsprogs/xfsprogs.hash b/buildroot-2022.02.1/package/xfsprogs/xfsprogs.hash new file mode 100644 index 00000000..bb546601 --- /dev/null +++ b/buildroot-2022.02.1/package/xfsprogs/xfsprogs.hash @@ -0,0 +1,6 @@ +# From https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/sha256sums.asc +sha256 01ccd3ef9df2837753a5d876b8da84ea957d13d7a461b8c46e8afa4eb09aabc8 xfsprogs-5.14.2.tar.xz + +# Hash for license files +sha256 f6b78c087c3ebdf0f3c13415070dd480a3f35d8fc76f3d02180a407c1c812f79 LICENSES/GPL-2.0 +sha256 0b9a4febcdee6de55872501d5c1a8f5d8b0d1650cd4d5351995ceb22e889f8ca LICENSES/LGPL-2.1 diff --git a/buildroot-2022.02.1/package/xfsprogs/xfsprogs.mk b/buildroot-2022.02.1/package/xfsprogs/xfsprogs.mk new file mode 100644 index 00000000..695471bd --- /dev/null +++ b/buildroot-2022.02.1/package/xfsprogs/xfsprogs.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# xfsprogs +# +################################################################################ + +XFSPROGS_VERSION = 5.14.2 +XFSPROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/fs/xfs/xfsprogs +XFSPROGS_SOURCE = xfsprogs-$(XFSPROGS_VERSION).tar.xz +XFSPROGS_LICENSE = GPL-2.0, GPL-2.0+, LGPL-2.1 (libhandle, few headers) +XFSPROGS_LICENSE_FILES = LICENSES/GPL-2.0 LICENSES/LGPL-2.1 + +XFSPROGS_DEPENDENCIES = inih liburcu util-linux + +XFSPROGS_CONF_ENV = ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes PLATFORM="linux" +XFSPROGS_CONF_OPTS = \ + --enable-lib64=no \ + --enable-gettext=no \ + INSTALL_USER=root \ + INSTALL_GROUP=root \ + --enable-static + +ifeq ($(BR2_PACKAGE_ICU),y) +XFSPROGS_DEPENDENCIES += icu +XFSPROGS_CONF_OPTS += --enable-libicu +else +XFSPROGS_CONF_OPTS += --disable-libicu +endif + +XFSPROGS_INSTALL_TARGET_OPTS = DIST_ROOT=$(TARGET_DIR) install + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xinetd/0001-ar.patch b/buildroot-2022.02.1/package/xinetd/0001-ar.patch similarity index 100% rename from buildroot-2021.05/package/xinetd/0001-ar.patch rename to buildroot-2022.02.1/package/xinetd/0001-ar.patch diff --git a/buildroot-2021.05/package/xinetd/0002-destdir.patch b/buildroot-2022.02.1/package/xinetd/0002-destdir.patch similarity index 100% rename from buildroot-2021.05/package/xinetd/0002-destdir.patch rename to buildroot-2022.02.1/package/xinetd/0002-destdir.patch diff --git a/buildroot-2021.05/package/xinetd/0003-rpc-fix.patch b/buildroot-2022.02.1/package/xinetd/0003-rpc-fix.patch similarity index 100% rename from buildroot-2021.05/package/xinetd/0003-rpc-fix.patch rename to buildroot-2022.02.1/package/xinetd/0003-rpc-fix.patch diff --git a/buildroot-2021.05/package/xinetd/0004-configure-rlim_t.patch b/buildroot-2022.02.1/package/xinetd/0004-configure-rlim_t.patch similarity index 100% rename from buildroot-2021.05/package/xinetd/0004-configure-rlim_t.patch rename to buildroot-2022.02.1/package/xinetd/0004-configure-rlim_t.patch diff --git a/buildroot-2021.05/package/xinetd/0005-CVE-2013-4342-xinetd-ignores-user-and-group-directiv.patch b/buildroot-2022.02.1/package/xinetd/0005-CVE-2013-4342-xinetd-ignores-user-and-group-directiv.patch similarity index 100% rename from buildroot-2021.05/package/xinetd/0005-CVE-2013-4342-xinetd-ignores-user-and-group-directiv.patch rename to buildroot-2022.02.1/package/xinetd/0005-CVE-2013-4342-xinetd-ignores-user-and-group-directiv.patch diff --git a/buildroot-2021.05/package/xinetd/Config.in b/buildroot-2022.02.1/package/xinetd/Config.in similarity index 100% rename from buildroot-2021.05/package/xinetd/Config.in rename to buildroot-2022.02.1/package/xinetd/Config.in diff --git a/buildroot-2021.05/package/xinetd/xinetd.hash b/buildroot-2022.02.1/package/xinetd/xinetd.hash similarity index 100% rename from buildroot-2021.05/package/xinetd/xinetd.hash rename to buildroot-2022.02.1/package/xinetd/xinetd.hash diff --git a/buildroot-2021.05/package/xinetd/xinetd.mk b/buildroot-2022.02.1/package/xinetd/xinetd.mk similarity index 100% rename from buildroot-2021.05/package/xinetd/xinetd.mk rename to buildroot-2022.02.1/package/xinetd/xinetd.mk diff --git a/buildroot-2021.05/package/xl2tp/Config.in b/buildroot-2022.02.1/package/xl2tp/Config.in similarity index 100% rename from buildroot-2021.05/package/xl2tp/Config.in rename to buildroot-2022.02.1/package/xl2tp/Config.in diff --git a/buildroot-2022.02.1/package/xl2tp/xl2tp.hash b/buildroot-2022.02.1/package/xl2tp/xl2tp.hash new file mode 100644 index 00000000..eca918bc --- /dev/null +++ b/buildroot-2022.02.1/package/xl2tp/xl2tp.hash @@ -0,0 +1,3 @@ +# locally computed +sha256 898d9b6a374c78dea5f20d80fd50fac13428ad746fefb16ff5f6bec449affe67 xl2tp-1.3.17.tar.gz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSE diff --git a/buildroot-2022.02.1/package/xl2tp/xl2tp.mk b/buildroot-2022.02.1/package/xl2tp/xl2tp.mk new file mode 100644 index 00000000..e42eeb17 --- /dev/null +++ b/buildroot-2022.02.1/package/xl2tp/xl2tp.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# xl2tp +# +################################################################################ + +XL2TP_VERSION = 1.3.17 +XL2TP_SITE = $(call github,xelerance,xl2tpd,v$(XL2TP_VERSION)) +XL2TP_DEPENDENCIES = libpcap +XL2TP_LICENSE = GPL-2.0 +XL2TP_LICENSE_FILES = LICENSE +XL2TP_SELINUX_MODULES = l2tp + +ifeq ($(BR2_STATIC_LIBS),y) +XL2TP_LDLIBS = LDLIBS="`$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`" +endif + +define XL2TP_BUILD_CMDS + $(SED) 's/ -O2 //' $(@D)/Makefile + $(TARGET_CONFIGURE_OPTS) $(MAKE) $(XL2TP_LDLIBS) -C $(@D) +endef + +define XL2TP_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) PREFIX=/usr -C $(@D) install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/xl2tp/xl2tpd b/buildroot-2022.02.1/package/xl2tp/xl2tpd similarity index 100% rename from buildroot-2021.05/package/xl2tp/xl2tpd rename to buildroot-2022.02.1/package/xl2tp/xl2tpd diff --git a/buildroot-2022.02.1/package/xml-security-c/Config.in b/buildroot-2022.02.1/package/xml-security-c/Config.in new file mode 100644 index 00000000..c7963be6 --- /dev/null +++ b/buildroot-2022.02.1/package/xml-security-c/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_XML_SECURITY_C + bool "xml-security-c" + depends on BR2_INSTALL_LIBSTDCPP # xerces + depends on !BR2_STATIC_LIBS # xerces + depends on BR2_USE_WCHAR # xerces + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11 + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_XERCES + help + The xml-security-c library is a C++ implementation of + the XML Digital Signature and Encryption specifications. + + https://santuario.apache.org/cindex.html + +comment "xml-security-c needs a toolchain w/ C++, wchar, dynamic library, threads, gcc >= 4.7" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \ + !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/xml-security-c/xml-security-c.hash b/buildroot-2022.02.1/package/xml-security-c/xml-security-c.hash new file mode 100644 index 00000000..f4b7041a --- /dev/null +++ b/buildroot-2022.02.1/package/xml-security-c/xml-security-c.hash @@ -0,0 +1,3 @@ +# From http://www.apache.org/dist/santuario/c-library/xml-security-c-2.0.4.tar.gz.sha256 +sha256 a78da6720f6c2ba14100d2426131e0d33eac5a2dba5cc11bdd04974b7eb89003 xml-security-c-2.0.4.tar.gz +sha256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4 LICENSE.txt diff --git a/buildroot-2022.02.1/package/xml-security-c/xml-security-c.mk b/buildroot-2022.02.1/package/xml-security-c/xml-security-c.mk new file mode 100644 index 00000000..fda9af47 --- /dev/null +++ b/buildroot-2022.02.1/package/xml-security-c/xml-security-c.mk @@ -0,0 +1,18 @@ +################################################################################ +# +# xml-security-c +# +################################################################################ + +XML_SECURITY_C_VERSION = 2.0.4 +XML_SECURITY_C_SITE = http://archive.apache.org/dist/santuario/c-library +XML_SECURITY_C_LICENSE = Apache-2.0 +XML_SECURITY_C_LICENSE_FILES = LICENSE.txt +XML_SECURITY_C_DEPENDENCIES = openssl xerces +XML_SECURITY_C_INSTALL_STAGING = YES + +XML_SECURITY_C_CONF_ENV = \ + xml_cv_func_getcwd_null=yes \ + CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xmlstarlet/Config.in b/buildroot-2022.02.1/package/xmlstarlet/Config.in similarity index 100% rename from buildroot-2021.05/package/xmlstarlet/Config.in rename to buildroot-2022.02.1/package/xmlstarlet/Config.in diff --git a/buildroot-2021.05/package/xmlstarlet/xmlstarlet.hash b/buildroot-2022.02.1/package/xmlstarlet/xmlstarlet.hash similarity index 100% rename from buildroot-2021.05/package/xmlstarlet/xmlstarlet.hash rename to buildroot-2022.02.1/package/xmlstarlet/xmlstarlet.hash diff --git a/buildroot-2021.05/package/xmlstarlet/xmlstarlet.mk b/buildroot-2022.02.1/package/xmlstarlet/xmlstarlet.mk similarity index 100% rename from buildroot-2021.05/package/xmlstarlet/xmlstarlet.mk rename to buildroot-2022.02.1/package/xmlstarlet/xmlstarlet.mk diff --git a/buildroot-2022.02.1/package/xmrig/Config.in b/buildroot-2022.02.1/package/xmrig/Config.in new file mode 100644 index 00000000..c5c6b3e3 --- /dev/null +++ b/buildroot-2022.02.1/package/xmrig/Config.in @@ -0,0 +1,24 @@ +config BR2_PACKAGE_XMRIG + bool "xmrig" + # archs officially supported by upstream + depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 + depends on BR2_USE_MMU # libuv + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libuv + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # libuv + # xmrig needs fenv.h which is not provided by uclibc + depends on !BR2_TOOLCHAIN_USES_UCLIBC + depends on !BR2_STATIC_LIBS # libuv + depends on BR2_INSTALL_LIBSTDCPP + select BR2_PACKAGE_LIBUV + help + RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner. + + https://xmrig.com + +comment "xmrig needs a glibc or musl toolchain w/ NPTL, dynamic library, C++" + depends on BR2_aarch64 || BR2_x86_64 || BR2_i386 + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ + BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \ + !BR2_INSTALL_LIBSTDCPP diff --git a/buildroot-2022.02.1/package/xmrig/xmrig.hash b/buildroot-2022.02.1/package/xmrig/xmrig.hash new file mode 100644 index 00000000..36b0c8c8 --- /dev/null +++ b/buildroot-2022.02.1/package/xmrig/xmrig.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 d413b6a20a0ce30410388d330e1056715333e0863165369668dda596766e9d5b xmrig-6.16.3.tar.gz +sha256 589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2 LICENSE diff --git a/buildroot-2022.02.1/package/xmrig/xmrig.mk b/buildroot-2022.02.1/package/xmrig/xmrig.mk new file mode 100644 index 00000000..7fa638a5 --- /dev/null +++ b/buildroot-2022.02.1/package/xmrig/xmrig.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# xmrig +# +################################################################################ + +XMRIG_VERSION = 6.16.3 +XMRIG_SITE = $(call github,xmrig,xmrig,v$(XMRIG_VERSION)) +XMRIG_LICENSE = GPL-3.0+ +XMRIG_LICENSE_FILES = LICENSE +XMRIG_DEPENDENCIES = libuv +XMRIG_CONF_OPTS = -DWITH_CUDA=OFF + +ifeq ($(BR2_PACKAGE_HAS_LIBOPENCL),y) +XMRIG_CONF_OPTS += -DWITH_OPENCL=ON +XMRIG_DEPENDENCIES += libopencl +else +XMRIG_CONF_OPTS += -DWITH_OPENCL=OFF +endif + +ifeq ($(BR2_PACKAGE_HWLOC),y) +XMRIG_CONF_OPTS += -DWITH_HWLOC=ON +XMRIG_DEPENDENCIES += hwloc +else +XMRIG_CONF_OPTS += -DWITH_HWLOC=OFF +endif + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +XMRIG_CONF_OPTS += -DWITH_TLS=ON +XMRIG_DEPENDENCIES += openssl +else +XMRIG_CONF_OPTS += -DWITH_TLS=OFF +XMRIG_SUFFIX = -notls +endif + +# Upstream provides no installation rule: +# *** No rule to make target 'install/fast'. Stop. +define XMRIG_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/xmrig$(XMRIG_SUFFIX) \ + $(TARGET_DIR)/usr/bin/xmrig$(XMRIG_SUFFIX) +endef + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/xorcurses/Config.in b/buildroot-2022.02.1/package/xorcurses/Config.in similarity index 100% rename from buildroot-2021.05/package/xorcurses/Config.in rename to buildroot-2022.02.1/package/xorcurses/Config.in diff --git a/buildroot-2021.05/package/xorcurses/xorcurses.hash b/buildroot-2022.02.1/package/xorcurses/xorcurses.hash similarity index 100% rename from buildroot-2021.05/package/xorcurses/xorcurses.hash rename to buildroot-2022.02.1/package/xorcurses/xorcurses.hash diff --git a/buildroot-2021.05/package/xorcurses/xorcurses.mk b/buildroot-2022.02.1/package/xorcurses/xorcurses.mk similarity index 100% rename from buildroot-2021.05/package/xorcurses/xorcurses.mk rename to buildroot-2022.02.1/package/xorcurses/xorcurses.mk diff --git a/buildroot-2021.05/package/xorriso/Config.in b/buildroot-2022.02.1/package/xorriso/Config.in similarity index 100% rename from buildroot-2021.05/package/xorriso/Config.in rename to buildroot-2022.02.1/package/xorriso/Config.in diff --git a/buildroot-2021.05/package/xorriso/Config.in.host b/buildroot-2022.02.1/package/xorriso/Config.in.host similarity index 100% rename from buildroot-2021.05/package/xorriso/Config.in.host rename to buildroot-2022.02.1/package/xorriso/Config.in.host diff --git a/buildroot-2022.02.1/package/xorriso/xorriso.hash b/buildroot-2022.02.1/package/xorriso/xorriso.hash new file mode 100644 index 00000000..cbbd360d --- /dev/null +++ b/buildroot-2022.02.1/package/xorriso/xorriso.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 3ec7393d4a9dcbf5f74309c28a415f55227ec62770b95ae993ac8d7a3b152972 xorriso-1.5.4.pl02.tar.gz +sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING +sha256 72e99e72cd68f226415e5d898f3b38e24ae7991ed038ed72d789fff5b060f028 COPYRIGHT diff --git a/buildroot-2022.02.1/package/xorriso/xorriso.mk b/buildroot-2022.02.1/package/xorriso/xorriso.mk new file mode 100644 index 00000000..ac6b0cdf --- /dev/null +++ b/buildroot-2022.02.1/package/xorriso/xorriso.mk @@ -0,0 +1,79 @@ +################################################################################ +# +# xorriso +# +################################################################################ + +XORRISO_VERSION = 1.5.4.pl02 +XORRISO_SITE = $(BR2_GNU_MIRROR)/xorriso +XORRISO_LICENSE = GPL-3.0+ +XORRISO_LICENSE_FILES = COPYING COPYRIGHT + +# Disable everything until we actually need those features, and add the correct +# host libraries +HOST_XORRISO_CONF_OPTS = \ + --enable-zlib \ + --disable-xattr-h-pref-attr \ + --disable-libbz2 \ + --disable-libcdio \ + --disable-libreadline \ + --disable-libedit \ + --disable-libacl + +HOST_XORRISO_DEPENDENCIES = host-zlib + +# libcdio doesn't make sense for Linux +# http://lists.gnu.org/archive/html/bug-xorriso/2017-04/msg00004.html +XORRISO_CONF_OPTS = --disable-libcdio + +# we need sys/xattr.h +XORRISO_CONF_OPTS += \ + --disable-xattr-h-pref-attr + +ifeq ($(BR2_PACKAGE_LIBICONV),y) +XORRISO_DEPENDENCIES += libiconv +endif + +ifeq ($(BR2_PACKAGE_READLINE),y) +XORRISO_DEPENDENCIES += readline +XORRISO_CONF_OPTS += --enable-libreadline +else +XORRISO_CONF_OPTS += --disable-libreadline +endif + +ifeq ($(BR2_PACKAGE_ACL),y) +XORRISO_DEPENDENCIES += acl +XORRISO_CONF_OPTS += --enable-libacl +else +XORRISO_CONF_OPTS += --disable-libacl +endif + +ifeq ($(BR2_PACKAGE_ATTR),y) +XORRISO_DEPENDENCIES += attr +XORRISO_CONF_OPTS += --enable-xattr +else +XORRISO_CONF_OPTS += --disable-xattr +endif + +ifeq ($(BR2_PACKAGE_ZLIB),y) +XORRISO_DEPENDENCIES += zlib +XORRISO_CONF_OPTS += --enable-zlib +else +XORRISO_CONF_OPTS += --disable-zlib +endif + +ifeq ($(BR2_PACKAGE_BZIP2),y) +XORRISO_DEPENDENCIES += bzip2 +XORRISO_CONF_OPTS += --enable-libbz2 +else +XORRISO_CONF_OPTS += --disable-libbz2 +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +XORRISO_CONF_OPTS += --enable-jtethreads +else +XORRISO_CONF_OPTS += --disable-jtethreads +endif + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/xr819-xradio/Config.in b/buildroot-2022.02.1/package/xr819-xradio/Config.in similarity index 100% rename from buildroot-2021.05/package/xr819-xradio/Config.in rename to buildroot-2022.02.1/package/xr819-xradio/Config.in diff --git a/buildroot-2022.02.1/package/xr819-xradio/xr819-xradio.hash b/buildroot-2022.02.1/package/xr819-xradio/xr819-xradio.hash new file mode 100644 index 00000000..4a77db0d --- /dev/null +++ b/buildroot-2022.02.1/package/xr819-xradio/xr819-xradio.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 06b91b1fcf98a261125b4d599ffcce2458fb9d0c1f38a4bd432a622b446f0f51 xr819-xradio-16180b6308e3c5dc42a92a663adf669028087ff7.tar.gz +# Locally computed +sha256 db296f2f7f35bca3a174efb0eb392b3b17bd94b341851429a3dff411b1c2fc73 LICENSE diff --git a/buildroot-2022.02.1/package/xr819-xradio/xr819-xradio.mk b/buildroot-2022.02.1/package/xr819-xradio/xr819-xradio.mk new file mode 100644 index 00000000..5f60be88 --- /dev/null +++ b/buildroot-2022.02.1/package/xr819-xradio/xr819-xradio.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# xr819-xradio +# +################################################################################ + +XR819_XRADIO_VERSION = 16180b6308e3c5dc42a92a663adf669028087ff7 +XR819_XRADIO_SITE = $(call github,fifteenhex,xradio,$(XR819_XRADIO_VERSION)) +XR819_XRADIO_LICENSE = GPL-2.0 +XR819_XRADIO_LICENSE_FILES = LICENSE + +$(eval $(kernel-module)) +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/xscreensaver/Config.in b/buildroot-2022.02.1/package/xscreensaver/Config.in new file mode 100644 index 00000000..10b2b701 --- /dev/null +++ b/buildroot-2022.02.1/package/xscreensaver/Config.in @@ -0,0 +1,35 @@ +config BR2_PACKAGE_XSCREENSAVER + bool "xscreensaver" + depends on BR2_PACKAGE_XORG7 + depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango + depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf, libgtk2 -> glib2 + depends on BR2_USE_WCHAR # gdk-pixbuf, libgtk2 -> glib2 + depends on BR2_USE_MMU # gdk-pixbuf, libgtk2 -> glib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk2 -> pango -> harfbuzz + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgtk2 -> pango -> harfbuzz + select BR2_PACKAGE_GDK_PIXBUF + select BR2_PACKAGE_GDK_PIXBUF_XLIB + select BR2_PACKAGE_LIBGLU if BR2_PACKAGE_HAS_LIBGL + select BR2_PACKAGE_LIBGTK2 + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_XLIB_LIBX11 + select BR2_PACKAGE_XLIB_LIBXT + help + XScreenSaver is the standard screen saver collection shipped + on most Linux and Unix systems running the X11 Window + System. + + On X11 systems, XScreenSaver is two things: it is both a + large collection of screen savers; and it is also the + framework for blanking and locking the screen. + + http://www.jwz.org/xscreensaver/ + +comment "xscreensaver needs a toolchain w/ wchar, C++, threads, gcc >= 4.9" + depends on BR2_PACKAGE_XORG7 + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_USE_WCHAR diff --git a/buildroot-2021.05/package/xscreensaver/xscreensaver.hash b/buildroot-2022.02.1/package/xscreensaver/xscreensaver.hash similarity index 100% rename from buildroot-2021.05/package/xscreensaver/xscreensaver.hash rename to buildroot-2022.02.1/package/xscreensaver/xscreensaver.hash diff --git a/buildroot-2022.02.1/package/xscreensaver/xscreensaver.mk b/buildroot-2022.02.1/package/xscreensaver/xscreensaver.mk new file mode 100644 index 00000000..46dedc32 --- /dev/null +++ b/buildroot-2022.02.1/package/xscreensaver/xscreensaver.mk @@ -0,0 +1,91 @@ +################################################################################ +# +# xscreensaver +# +################################################################################ + +XSCREENSAVER_VERSION = 5.45 +XSCREENSAVER_SITE = https://www.jwz.org/xscreensaver + +# N.B. GPL-2.0+ code (in the hacks/glx subdirectory) is not currently built. +XSCREENSAVER_LICENSE = MIT-like, GPL-2.0+ +XSCREENSAVER_LICENSE_FILES = hacks/screenhack.h hacks/glx/chessmodels.h +XSCREENSAVER_CPE_ID_VENDOR = xscreensaver_project +XSCREENSAVER_SELINUX_MODULES = xdg xscreensaver xserver + +XSCREENSAVER_DEPENDENCIES = \ + gdk-pixbuf \ + gdk-pixbuf-xlib \ + jpeg \ + libgtk2 \ + libxml2 \ + xlib_libX11 \ + xlib_libXt \ + $(TARGET_NLS_DEPENDENCIES) \ + host-intltool + +# otherwise we end up with host include/library dirs passed to the +# compiler/linker +XSCREENSAVER_CONF_OPTS = \ + --includedir=$(STAGING_DIR)/usr/include \ + --libdir=$(STAGING_DIR)/usr/lib + +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +XSCREENSAVER_CONF_OPTS += --with-gl=yes +XSCREENSAVER_DEPENDENCIES += libgl libglu +else +XSCREENSAVER_CONF_OPTS += --with-gl=no +endif + +ifeq ($(BR2_PACKAGE_LIBPNG),y) +XSCREENSAVER_CONF_OPTS += --with-png=yes +XSCREENSAVER_DEPENDENCIES += libpng +else +XSCREENSAVER_CONF_OPTS += --with-png=no +endif + +ifeq ($(BR2_PACKAGE_SYSTEMD),y) +XSCREENSAVER_CONF_OPTS += --with-systemd=yes +XSCREENSAVER_DEPENDENCIES += systemd +else +XSCREENSAVER_CONF_OPTS += --with-systemd=no +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) +XSCREENSAVER_CONF_OPTS += --with-xft=yes +XSCREENSAVER_DEPENDENCIES += xlib_libXft +else +XSCREENSAVER_CONF_OPTS += --with-xft=no +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y) +XSCREENSAVER_CONF_OPTS += --with-xinput-ext=yes +XSCREENSAVER_DEPENDENCIES += xlib_libXi +else +XSCREENSAVER_CONF_OPTS += --with-xinput-ext=no +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +XSCREENSAVER_CONF_OPTS += --with-xinerama-ext=yes +XSCREENSAVER_DEPENDENCIES += xlib_libXinerama +else +XSCREENSAVER_CONF_OPTS += --with-xinerama-ext=no +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y) +XSCREENSAVER_CONF_OPTS += --with-randr-ext=yes +XSCREENSAVER_DEPENDENCIES += xlib_libXrandr +else +XSCREENSAVER_CONF_OPTS += --with-randr-ext=no +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86VM),y) +XSCREENSAVER_CONF_OPTS += --with-xf86vmode-ext=yes +XSCREENSAVER_DEPENDENCIES += xlib_libXxf86vm +else +XSCREENSAVER_CONF_OPTS += --with-xf86vmode-ext=no +endif + +XSCREENSAVER_INSTALL_TARGET_OPTS = install_prefix="$(TARGET_DIR)" install + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xtables-addons/Config.in b/buildroot-2022.02.1/package/xtables-addons/Config.in similarity index 100% rename from buildroot-2021.05/package/xtables-addons/Config.in rename to buildroot-2022.02.1/package/xtables-addons/Config.in diff --git a/buildroot-2021.05/package/xtables-addons/xtables-addons.hash b/buildroot-2022.02.1/package/xtables-addons/xtables-addons.hash similarity index 100% rename from buildroot-2021.05/package/xtables-addons/xtables-addons.hash rename to buildroot-2022.02.1/package/xtables-addons/xtables-addons.hash diff --git a/buildroot-2022.02.1/package/xtables-addons/xtables-addons.mk b/buildroot-2022.02.1/package/xtables-addons/xtables-addons.mk new file mode 100644 index 00000000..b3d1bf2d --- /dev/null +++ b/buildroot-2022.02.1/package/xtables-addons/xtables-addons.mk @@ -0,0 +1,40 @@ +################################################################################ +# +# xtables-addons +# +################################################################################ + +XTABLES_ADDONS_VERSION = 3.17 +XTABLES_ADDONS_SOURCE = xtables-addons-$(XTABLES_ADDONS_VERSION).tar.xz +XTABLES_ADDONS_SITE = https://inai.de/files/xtables-addons +XTABLES_ADDONS_DEPENDENCIES = iptables linux host-pkgconf +XTABLES_ADDONS_LICENSE = GPL-2.0+ +XTABLES_ADDONS_LICENSE_FILES = LICENSE + +XTABLES_ADDONS_CONF_OPTS = \ + --with-kbuild="$(LINUX_DIR)" \ + --with-xtables="$(STAGING_DIR)/usr" \ + --with-xtlibdir="/usr/lib/xtables" + +# geoip helpers need perl with modules and unzip so disable +define XTABLES_ADDONS_DISABLE_GEOIP_HELPERS + $(SED) 's/ geoip//' $(@D)/Makefile.in +endef +XTABLES_ADDONS_POST_PATCH_HOOKS += XTABLES_ADDONS_DISABLE_GEOIP_HELPERS + +define XTABLES_ADDONS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) +endef + +define XTABLES_ADDONS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) DESTDIR="$(TARGET_DIR)" install +endef + +define XTABLES_ADDONS_LINUX_CONFIG_FIXUPS + $(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_ADVANCED) + $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK) + $(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK_MARK) + $(call KCONFIG_ENABLE_OPT,CONFIG_NF_NAT) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xterm/Config.in b/buildroot-2022.02.1/package/xterm/Config.in similarity index 100% rename from buildroot-2021.05/package/xterm/Config.in rename to buildroot-2022.02.1/package/xterm/Config.in diff --git a/buildroot-2022.02.1/package/xterm/xterm.hash b/buildroot-2022.02.1/package/xterm/xterm.hash new file mode 100644 index 00000000..3f6ec765 --- /dev/null +++ b/buildroot-2022.02.1/package/xterm/xterm.hash @@ -0,0 +1,4 @@ +# Locally calculated after checking pgp signature +sha256 32f888277b19e28ebc0a3112bff000607c07bed0679caa0beebb36f9cad484f5 xterm-371.tgz +# Locally calculated +sha256 9521ef761474cd31ea406f56a751646a7b42a9287cdc6f2f8e52ed4c4d2a73e7 COPYING diff --git a/buildroot-2022.02.1/package/xterm/xterm.mk b/buildroot-2022.02.1/package/xterm/xterm.mk new file mode 100644 index 00000000..95984f1c --- /dev/null +++ b/buildroot-2022.02.1/package/xterm/xterm.mk @@ -0,0 +1,36 @@ +################################################################################ +# +# xterm +# +################################################################################ + +XTERM_VERSION = 371 +XTERM_SOURCE = xterm-$(XTERM_VERSION).tgz +XTERM_SITE = http://invisible-mirror.net/archives/xterm +XTERM_DEPENDENCIES = ncurses xlib_libXaw host-pkgconf +XTERM_LICENSE = MIT +XTERM_LICENSE_FILES = COPYING +XTERM_CPE_ID_VENDOR = invisible-island +XTERM_CONF_OPTS = --enable-256-color \ + --x-includes=$(STAGING_DIR)/usr/include \ + --x-libraries=$(STAGING_DIR)/usr/lib + +# Avoid freetype2 path poisoning by imake +XTERM_CONF_ENV = ac_cv_path_IMAKE="" + +ifeq ($(BR2_PACKAGE_XLIB_LIBXFT),y) +XTERM_DEPENDENCIES += xlib_libXft +XTERM_CONF_OPTS += --enable-freetype \ + --with-freetype-config=auto +else +XTERM_CONF_OPTS += --disable-freetype +endif + +ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y) +XTERM_DEPENDENCIES += xlib_libXinerama +XTERM_CONF_OPTS += --with-xinerama +else +XTERM_CONF_OPTS += --without-xinerama +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/xutil_util-macros/Config.in b/buildroot-2022.02.1/package/xutil_util-macros/Config.in similarity index 100% rename from buildroot-2021.05/package/xutil_util-macros/Config.in rename to buildroot-2022.02.1/package/xutil_util-macros/Config.in diff --git a/buildroot-2021.05/package/xutil_util-macros/xutil_util-macros.hash b/buildroot-2022.02.1/package/xutil_util-macros/xutil_util-macros.hash similarity index 100% rename from buildroot-2021.05/package/xutil_util-macros/xutil_util-macros.hash rename to buildroot-2022.02.1/package/xutil_util-macros/xutil_util-macros.hash diff --git a/buildroot-2021.05/package/xutil_util-macros/xutil_util-macros.mk b/buildroot-2022.02.1/package/xutil_util-macros/xutil_util-macros.mk similarity index 100% rename from buildroot-2021.05/package/xutil_util-macros/xutil_util-macros.mk rename to buildroot-2022.02.1/package/xutil_util-macros/xutil_util-macros.mk diff --git a/buildroot-2022.02.1/package/xvisor/0001-psmouse-back.c-fix-build-with-gcc-11.patch b/buildroot-2022.02.1/package/xvisor/0001-psmouse-back.c-fix-build-with-gcc-11.patch new file mode 100644 index 00000000..1c02f45c --- /dev/null +++ b/buildroot-2022.02.1/package/xvisor/0001-psmouse-back.c-fix-build-with-gcc-11.patch @@ -0,0 +1,115 @@ +From 0e07e82121697d99470a147eadad9a708889c4df Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Thu, 2 Sep 2021 18:13:03 +0200 +Subject: [PATCH] psmouse-back.c: fix build with gcc 11 + +Fix the following build failures with gcc 11 by defining inline +functions as static: + +/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/build/drivers/drivers.o: in function `psmouse_extensions': +/home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `lifebook_detect' +/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `alps_detect' +/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `ps2pp_init' +/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `trackpoint_detect' +/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `fsp_detect' + +Fixes: + - http://autobuild.buildroot.org/results/69062b9c80567d135edd48890165e69881cf7295 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/xvisor/xvisor/pull/139] +--- + drivers/input/mouse/alps.h | 4 ++-- + drivers/input/mouse/lifebook.h | 6 +++--- + drivers/input/mouse/logips2pp.h | 2 +- + drivers/input/mouse/sentelic.h | 4 ++-- + drivers/input/mouse/trackpoint.h | 2 +- + 5 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/drivers/input/mouse/alps.h b/drivers/input/mouse/alps.h +index ae1ac354..acc1e89e 100644 +--- a/drivers/input/mouse/alps.h ++++ b/drivers/input/mouse/alps.h +@@ -51,11 +51,11 @@ struct alps_data { + int alps_detect(struct psmouse *psmouse, bool set_properties); + int alps_init(struct psmouse *psmouse); + #else +-inline int alps_detect(struct psmouse *psmouse, bool set_properties) ++static inline int alps_detect(struct psmouse *psmouse, bool set_properties) + { + return -ENOSYS; + } +-inline int alps_init(struct psmouse *psmouse) ++static inline int alps_init(struct psmouse *psmouse) + { + return -ENOSYS; + } +diff --git a/drivers/input/mouse/lifebook.h b/drivers/input/mouse/lifebook.h +index 4c4326c6..0baf02a7 100644 +--- a/drivers/input/mouse/lifebook.h ++++ b/drivers/input/mouse/lifebook.h +@@ -16,14 +16,14 @@ void lifebook_module_init(void); + int lifebook_detect(struct psmouse *psmouse, bool set_properties); + int lifebook_init(struct psmouse *psmouse); + #else +-inline void lifebook_module_init(void) ++static inline void lifebook_module_init(void) + { + } +-inline int lifebook_detect(struct psmouse *psmouse, bool set_properties) ++static inline int lifebook_detect(struct psmouse *psmouse, bool set_properties) + { + return -ENOSYS; + } +-inline int lifebook_init(struct psmouse *psmouse) ++static inline int lifebook_init(struct psmouse *psmouse) + { + return -ENOSYS; + } +diff --git a/drivers/input/mouse/logips2pp.h b/drivers/input/mouse/logips2pp.h +index 0c186f02..439e9c58 100644 +--- a/drivers/input/mouse/logips2pp.h ++++ b/drivers/input/mouse/logips2pp.h +@@ -14,7 +14,7 @@ + #ifdef CONFIG_MOUSE_PS2_LOGIPS2PP + int ps2pp_init(struct psmouse *psmouse, bool set_properties); + #else +-inline int ps2pp_init(struct psmouse *psmouse, bool set_properties) ++static inline int ps2pp_init(struct psmouse *psmouse, bool set_properties) + { + return -ENOSYS; + } +diff --git a/drivers/input/mouse/sentelic.h b/drivers/input/mouse/sentelic.h +index aa697ece..42df9e3b 100644 +--- a/drivers/input/mouse/sentelic.h ++++ b/drivers/input/mouse/sentelic.h +@@ -123,11 +123,11 @@ struct fsp_data { + extern int fsp_detect(struct psmouse *psmouse, bool set_properties); + extern int fsp_init(struct psmouse *psmouse); + #else +-inline int fsp_detect(struct psmouse *psmouse, bool set_properties) ++static inline int fsp_detect(struct psmouse *psmouse, bool set_properties) + { + return -ENOSYS; + } +-inline int fsp_init(struct psmouse *psmouse) ++static inline int fsp_init(struct psmouse *psmouse) + { + return -ENOSYS; + } +diff --git a/drivers/input/mouse/trackpoint.h b/drivers/input/mouse/trackpoint.h +index e558a709..f14e59c0 100644 +--- a/drivers/input/mouse/trackpoint.h ++++ b/drivers/input/mouse/trackpoint.h +@@ -145,7 +145,7 @@ struct trackpoint_data + #ifdef CONFIG_MOUSE_PS2_TRACKPOINT + int trackpoint_detect(struct psmouse *psmouse, bool set_properties); + #else +-inline int trackpoint_detect(struct psmouse *psmouse, bool set_properties) ++static inline int trackpoint_detect(struct psmouse *psmouse, bool set_properties) + { + return -ENOSYS; + } +-- +2.32.0 + diff --git a/buildroot-2022.02.1/package/xvisor/Config.in b/buildroot-2022.02.1/package/xvisor/Config.in new file mode 100644 index 00000000..1eb50c8a --- /dev/null +++ b/buildroot-2022.02.1/package/xvisor/Config.in @@ -0,0 +1,69 @@ +config BR2_PACKAGE_XVISOR_ARCH_SUPPORTS + bool + default y if BR2_aarch64 + default y if BR2_cortex_a7 || BR2_cortex_a12 || BR2_cortex_a15 || BR2_cortex_a17 + default y if BR2_riscv + default y if BR2_x86_64 + depends on BR2_USE_MMU + +menuconfig BR2_PACKAGE_XVISOR + bool "xvisor" + depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + help + Xvisor is an open-source type-1 hypervisor, which aims at + providing a monolithic, light-weight, portable, and flexible + virtualization solution. + + http://www.xhypervisor.org/ + +if BR2_PACKAGE_XVISOR + +choice + prompt "Xvisor configuration" + default BR2_PACKAGE_XVISOR_USE_DEFCONFIG + +config BR2_PACKAGE_XVISOR_USE_DEFCONFIG + bool "Using an in-tree defconfig file" + +config BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG + bool "Using a custom (def)config file" + +endchoice + +config BR2_PACKAGE_XVISOR_DEFCONFIG + string "Defconfig name" + default "generic-v7-ve" if BR2_ARM_CPU_ARMV7A + default "generic-v8" if BR2_aarch64 + default "generic-32b" if BR2_RISCV_32 + default "generic-64b" if BR2_RISCV_64 + default "x86_64_generic" if BR2_x86_64 + depends on BR2_PACKAGE_XVISOR_USE_DEFCONFIG + help + Name of the Xvisor defconfig file to use, without the + trailing -defconfig. The defconfig is located in + arch//configs in the source tree. + +config BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE + string "Configuration file path" + depends on BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG + help + Path to the Xvisor configuration file + +config BR2_PACKAGE_XVISOR_CREATE_UBOOT_IMAGE + bool "Create U-Boot image of Xvisor" + depends on BR2_arm + select BR2_PACKAGE_HOST_UBOOT_TOOLS + help + Create an image file of Xvisor loadable from Das U-Boot. + +config BR2_PACKAGE_XVISOR_BUILD_TEST_DTB + bool "Build test device-tree blobs" + help + Build test device-tree blobs for popular boards. + +endif + +comment "xvisor needs a toolchain w/ gcc >= 4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + depends on BR2_PACKAGE_XVISOR_ARCH_SUPPORTS diff --git a/buildroot-2022.02.1/package/xvisor/xvisor.hash b/buildroot-2022.02.1/package/xvisor/xvisor.hash new file mode 100644 index 00000000..45b6fec4 --- /dev/null +++ b/buildroot-2022.02.1/package/xvisor/xvisor.hash @@ -0,0 +1,3 @@ +# Locally generated +sha256 b1bb2ca09340e87a2f465c65196892cdd0f59b798794ae69e35d1f883cf9ba49 xvisor-0.3.1.tar.xz +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING diff --git a/buildroot-2022.02.1/package/xvisor/xvisor.mk b/buildroot-2022.02.1/package/xvisor/xvisor.mk new file mode 100644 index 00000000..d7bb288e --- /dev/null +++ b/buildroot-2022.02.1/package/xvisor/xvisor.mk @@ -0,0 +1,88 @@ +################################################################################ +# +# xvisor +# +################################################################################ + +XVISOR_VERSION = 0.3.1 +XVISOR_SOURCE = xvisor-$(XVISOR_VERSION).tar.xz +XVISOR_SITE = http://www.xhypervisor.org/tarball +XVISOR_LICENSE = GPL-2.0+ +XVISOR_LICENSE_FILES = COPYING +XVISOR_INSTALL_IMAGES = YES +XVISOR_INSTALL_TARGET = NO +XVISOR_DEPENDENCIES = host-bison host-dtc host-flex + +XVISOR_MAKE_TARGETS = all + +ifeq ($(BR2_PACKAGE_XVISOR_BUILD_TEST_DTB),y) +XVISOR_MAKE_TARGETS += dtbs +endif + +XVISOR_KCONFIG_DOTCONFIG = build/openconf/.config + +ifeq ($(BR2_PACKAGE_XVISOR_USE_DEFCONFIG),y) +XVISOR_KCONFIG_DEFCONFIG = $(call qstrip,$(BR2_PACKAGE_XVISOR_DEFCONFIG))-defconfig +else ifeq ($(BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG),y) +XVISOR_KCONFIG_FILE = $(call qstrip,$(BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE)) +endif +XVISOR_KCONFIG_EDITORS = menuconfig + +ifeq ($(BR2_x86_64),y) +XVISOR_ARCH = x86 +else ifeq ($(BR2_arm)$(BR2_aarch64),y) +XVISOR_ARCH = arm +else ifeq ($(BR2_riscv),y) +XVISOR_ARCH = riscv +endif + +ifeq ($(BR2_PACKAGE_XVISOR)$(BR_BUILDING),yy) +ifeq ($(XVISOR_ARCH),) +$(error "Architecture not supported by XVisor") +endif +endif + +XVISOR_MAKE_ENV = \ + ARCH=$(XVISOR_ARCH) \ + CROSS_COMPILE=$(TARGET_CROSS) + +XVISOR_MAKE_OPTS = $(if $(VERBOSE),VERBOSE=1) + +define XVISOR_BUILD_CMDS + $(TARGET_MAKE_ENV) $(XVISOR_MAKE_ENV) $(MAKE) $(XVISOR_MAKE_OPTS) \ + -C $(@D) $(XVISOR_MAKE_TARGETS) +endef + +define XVISOR_INSTALL_IMAGES_CMDS + $(INSTALL) -m 0644 -D $(@D)/build/vmm.bin $(BINARIES_DIR)/vmm.bin +endef + +ifeq ($(BR2_PACKAGE_XVISOR_CREATE_UBOOT_IMAGE),y) +XVISOR_DEPENDENCIES += host-uboot-tools +define XVISOR_CREATE_UBOOT_IMAGE + $(MKIMAGE) -A $(MKIMAGE_ARCH) -O linux -T kernel -C none \ + -a 0x00008000 -e 0x00008000 \ + -n Xvisor -d $(BINARIES_DIR)/vmm.bin $(BINARIES_DIR)/uvmm.bin +endef +endif + +XVISOR_POST_INSTALL_IMAGES_HOOKS += XVISOR_CREATE_UBOOT_IMAGE + +# Checks to give errors that the user can understand +ifeq ($(BR_BUILDING),y) + +ifeq ($(BR2_PACKAGE_XVISOR_USE_DEFCONFIG),y) +ifeq ($(call qstrip,$(BR2_PACKAGE_XVISOR_DEFCONFIG)),) +$(error No Xvisor defconfig name specified, check your BR2_PACKAGE_XVISOR_DEFCONFIG setting) +endif +endif + +ifeq ($(BR2_PACKAGE_XVISOR_USE_CUSTOM_CONFIG),y) +ifeq ($(BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE),) +$(error No Xvisor configuration file specified, check your BR2_PACKAGE_XVISOR_CUSTOM_CONFIG_FILE setting) +endif +endif + +endif + +$(eval $(kconfig-package)) diff --git a/buildroot-2021.05/package/xvkbd/Config.in b/buildroot-2022.02.1/package/xvkbd/Config.in similarity index 100% rename from buildroot-2021.05/package/xvkbd/Config.in rename to buildroot-2022.02.1/package/xvkbd/Config.in diff --git a/buildroot-2021.05/package/xvkbd/xvkbd.hash b/buildroot-2022.02.1/package/xvkbd/xvkbd.hash similarity index 100% rename from buildroot-2021.05/package/xvkbd/xvkbd.hash rename to buildroot-2022.02.1/package/xvkbd/xvkbd.hash diff --git a/buildroot-2021.05/package/xvkbd/xvkbd.mk b/buildroot-2022.02.1/package/xvkbd/xvkbd.mk similarity index 100% rename from buildroot-2021.05/package/xvkbd/xvkbd.mk rename to buildroot-2022.02.1/package/xvkbd/xvkbd.mk diff --git a/buildroot-2022.02.1/package/xxhash/0001-fix-man-page-installation.patch b/buildroot-2022.02.1/package/xxhash/0001-fix-man-page-installation.patch new file mode 100644 index 00000000..5d2a5a4e --- /dev/null +++ b/buildroot-2022.02.1/package/xxhash/0001-fix-man-page-installation.patch @@ -0,0 +1,66 @@ +From 836f4e735cf368542f14005e41d2f84ec29dfd60 Mon Sep 17 00:00:00 2001 +From: Yann Collet +Date: Sat, 4 Dec 2021 10:29:49 -0800 +Subject: [PATCH] fix man page installation + +for variant redirectors (`xxh32sum`, `xxh64sum` and `xxh128sum`). +fix #647, reported by @jpalus. + +Also : slightly updated man page text, for clarity and accuracy. + +[Retrieved (and updated to keep only Makefile update) from: +https://github.com/Cyan4973/xxHash/commit/836f4e735cf368542f14005e41d2f84ec29dfd60] +Signed-off-by: Fabrice Fontaine +--- + Makefile | 14 ++++++++------ + cli/xxhsum.1 | 8 ++++---- + cli/xxhsum.1.md | 8 +++++--- + 3 files changed, 17 insertions(+), 13 deletions(-) + +diff --git a/Makefile b/Makefile +index 2fbefbc6..63273e16 100644 +--- a/Makefile ++++ b/Makefile +@@ -457,6 +457,7 @@ endif + + INSTALL_PROGRAM ?= $(INSTALL) + INSTALL_DATA ?= $(INSTALL) -m 644 ++INSTALL_DIR ?= $(INSTALL) -d -m 755 + + + # Escape special symbols by putting each character into its separate class +@@ -496,7 +497,7 @@ libxxhash.pc: libxxhash.pc.in + .PHONY: install + install: lib libxxhash.pc xxhsum ## install libraries, CLI, links and man page + @echo Installing libxxhash +- $(Q)$(INSTALL) -d -m 755 $(DESTDIR)$(LIBDIR) ++ $(Q)$(INSTALL_DIR) $(DESTDIR)$(LIBDIR) + $(Q)$(INSTALL_DATA) libxxhash.a $(DESTDIR)$(LIBDIR) + $(Q)$(INSTALL_PROGRAM) $(LIBXXH) $(DESTDIR)$(LIBDIR) + $(Q)ln -sf $(LIBXXH) $(DESTDIR)$(LIBDIR)/libxxhash.$(SHARED_EXT_MAJOR) +@@ -508,19 +509,20 @@ ifeq ($(DISPATCH),1) + $(Q)$(INSTALL_DATA) xxh_x86dispatch.h $(DESTDIR)$(INCLUDEDIR) + endif + @echo Installing pkgconfig +- $(Q)$(INSTALL) -d -m 755 $(DESTDIR)$(PKGCONFIGDIR)/ ++ $(Q)$(INSTALL_DIR) $(DESTDIR)$(PKGCONFIGDIR)/ + $(Q)$(INSTALL_DATA) libxxhash.pc $(DESTDIR)$(PKGCONFIGDIR)/ + @echo Installing xxhsum +- $(Q)$(INSTALL) -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/ ++ $(Q)$(INSTALL_DIR) $(DESTDIR)$(BINDIR)/ + $(Q)$(INSTALL_PROGRAM) xxhsum $(DESTDIR)$(BINDIR)/xxhsum + $(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh32sum + $(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh64sum + $(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh128sum + @echo Installing man pages ++ $(Q)$(INSTALL_DIR) $(DESTDIR)$(MANDIR)/ + $(Q)$(INSTALL_DATA) $(MAN) $(DESTDIR)$(MANDIR)/xxhsum.1 +- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh32sum.1 +- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh64sum.1 +- $(Q)ln -sf $(MAN) $(DESTDIR)$(MANDIR)/xxh128sum.1 ++ $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh32sum.1 ++ $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh64sum.1 ++ $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh128sum.1 + @echo xxhash installation completed + + .PHONY: uninstall diff --git a/buildroot-2022.02.1/package/xxhash/0002-Makefile-add-dedicated-install-targets.patch b/buildroot-2022.02.1/package/xxhash/0002-Makefile-add-dedicated-install-targets.patch new file mode 100644 index 00000000..17d34a08 --- /dev/null +++ b/buildroot-2022.02.1/package/xxhash/0002-Makefile-add-dedicated-install-targets.patch @@ -0,0 +1,71 @@ +From 0e7418bce83bb9c236d9cb4535a36a80cd0cc663 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Wed, 15 Dec 2021 21:45:14 +0100 +Subject: [PATCH] Makefile: add dedicated install targets + +Add dedicated install targets to allow the user to install only xxhsum, +the static library, the shared library, etc. + +This is especially useful on embedded systems where dynamic library is +not always supported by toolchains + +Signed-off-by: Fabrice Fontaine +[Retrieved from: +https://github.com/Cyan4973/xxHash/commit/db9c199e99f7b4d419647b1ef49c547fc2547516] +--- + Makefile | 18 +++++++++++++++--- + 1 file changed, 15 insertions(+), 3 deletions(-) + +diff --git a/Makefile b/Makefile +index 8d4fcd21..5fe72972 100644 +--- a/Makefile ++++ b/Makefile +@@ -505,11 +505,14 @@ libxxhash.pc: libxxhash.pc.in + $< > $@ + + +-.PHONY: install +-install: lib libxxhash.pc xxhsum ## install libraries, CLI, links and man page +- @echo Installing libxxhash ++install_libxxhash.a: libxxhash.a ++ @echo Installing libxxhash.a + $(Q)$(INSTALL_DIR) $(DESTDIR)$(LIBDIR) + $(Q)$(INSTALL_DATA) libxxhash.a $(DESTDIR)$(LIBDIR) ++ ++install_libxxhash: libxxhash ++ @echo Installing libxxhash ++ $(Q)$(INSTALL_DIR) $(DESTDIR)$(LIBDIR) + $(Q)$(INSTALL_PROGRAM) $(LIBXXH) $(DESTDIR)$(LIBDIR) + $(Q)ln -sf $(LIBXXH) $(DESTDIR)$(LIBDIR)/libxxhash.$(SHARED_EXT_MAJOR) + $(Q)ln -sf $(LIBXXH) $(DESTDIR)$(LIBDIR)/libxxhash.$(SHARED_EXT) +@@ -519,21 +522,30 @@ install: lib libxxhash.pc xxhsum ## install libraries, CLI, links and man page + ifeq ($(DISPATCH),1) + $(Q)$(INSTALL_DATA) xxh_x86dispatch.h $(DESTDIR)$(INCLUDEDIR) + endif ++ ++install_libxxhash.pc: libxxhash.pc + @echo Installing pkgconfig + $(Q)$(INSTALL_DIR) $(DESTDIR)$(PKGCONFIGDIR)/ + $(Q)$(INSTALL_DATA) libxxhash.pc $(DESTDIR)$(PKGCONFIGDIR)/ ++ ++install_xxhsum: xxhsum + @echo Installing xxhsum + $(Q)$(INSTALL_DIR) $(DESTDIR)$(BINDIR)/ + $(Q)$(INSTALL_PROGRAM) xxhsum $(DESTDIR)$(BINDIR)/xxhsum + $(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh32sum + $(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh64sum + $(Q)ln -sf xxhsum $(DESTDIR)$(BINDIR)/xxh128sum ++ ++install_man: + @echo Installing man pages + $(Q)$(INSTALL_DIR) $(DESTDIR)$(MANDIR)/ + $(Q)$(INSTALL_DATA) $(MAN) $(DESTDIR)$(MANDIR)/xxhsum.1 + $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh32sum.1 + $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh64sum.1 + $(Q)ln -sf xxhsum.1 $(DESTDIR)$(MANDIR)/xxh128sum.1 ++ ++.PHONY: install ++install: install_libxxhash.a install_libxxhash install_libxxhash.pc install_xxhsum install_man ## install libraries, CLI, links and man page + @echo xxhash installation completed + + .PHONY: uninstall diff --git a/buildroot-2022.02.1/package/xxhash/0003-do-no-longer-depend-on-assert-h-for-XXH_STATIC_ASSERT.patch b/buildroot-2022.02.1/package/xxhash/0003-do-no-longer-depend-on-assert-h-for-XXH_STATIC_ASSERT.patch new file mode 100644 index 00000000..3b65ae1d --- /dev/null +++ b/buildroot-2022.02.1/package/xxhash/0003-do-no-longer-depend-on-assert-h-for-XXH_STATIC_ASSERT.patch @@ -0,0 +1,29 @@ +From 6189ecd3d44a693460f86280ccf49d33cb4b18e1 Mon Sep 17 00:00:00 2001 +From: Yann Collet +Date: Sun, 26 Dec 2021 15:15:26 -0800 +Subject: [PATCH] do no longer depend on `` for XXH_STATIC_ASSERT + +since some versions are buggy. + +Use `_Static_assert` instead, which is part of the C11 language. +[Retrieved from: +https://github.com/Cyan4973/xxHash/commit/6189ecd3d44a693460f86280ccf49d33cb4b18e1] +Signed-off-by: Fabrice Fontaine +--- + xxhash.h | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/xxhash.h b/xxhash.h +index 311a69c7..5dfd5c45 100644 +--- a/xxhash.h ++++ b/xxhash.h +@@ -1749,8 +1749,7 @@ static void* XXH_memcpy(void* dest, const void* src, size_t size) + /* note: use after variable declarations */ + #ifndef XXH_STATIC_ASSERT + # if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) /* C11 */ +-# include +-# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { static_assert((c),m); } while(0) ++# define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { _Static_assert((c),m); } while(0) + # elif defined(__cplusplus) && (__cplusplus >= 201103L) /* C++11 */ + # define XXH_STATIC_ASSERT_WITH_MESSAGE(c,m) do { static_assert((c),m); } while(0) + # else diff --git a/buildroot-2021.05/package/xxhash/Config.in b/buildroot-2022.02.1/package/xxhash/Config.in similarity index 100% rename from buildroot-2021.05/package/xxhash/Config.in rename to buildroot-2022.02.1/package/xxhash/Config.in diff --git a/buildroot-2022.02.1/package/xxhash/xxhash.hash b/buildroot-2022.02.1/package/xxhash/xxhash.hash new file mode 100644 index 00000000..2c99236a --- /dev/null +++ b/buildroot-2022.02.1/package/xxhash/xxhash.hash @@ -0,0 +1,4 @@ +# locally computed +sha256 3bb6b7d6f30c591dd65aaaff1c8b7a5b94d81687998ca9400082c739a690436c xxhash-0.8.1.tar.gz +sha256 553d0035773ddd1590045f8fdc3a4c6ead31e36336721aeca8421e88ed1c9f80 LICENSE +sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 cli/COPYING diff --git a/buildroot-2022.02.1/package/xxhash/xxhash.mk b/buildroot-2022.02.1/package/xxhash/xxhash.mk new file mode 100644 index 00000000..a8f8d1d1 --- /dev/null +++ b/buildroot-2022.02.1/package/xxhash/xxhash.mk @@ -0,0 +1,43 @@ +################################################################################ +# +# xxhash +# +################################################################################ + +XXHASH_VERSION = 0.8.1 +XXHASH_SITE = $(call github,Cyan4973,xxHash,v$(XXHASH_VERSION)) +XXHASH_LICENSE = BSD-2-Clause (library), GPL-2.0+ (xxhsum) +XXHASH_LICENSE_FILES = LICENSE cli/COPYING +XXHASH_INSTALL_STAGING = YES + +XXHASH_TARGETS = xxhsum +XXHASH_INSTALL_TARGETS = install_xxhsum + +ifeq ($(BR2_STATIC_LIBS),y) +XXHASH_TARGETS += libxxhash.a libxxhash.pc +XXHASH_INSTALL_TARGETS += install_libxxhash.a install_libxxhash.pc +else ifeq ($(BR2_SHARED_LIBS),y) +XXHASH_TARGETS += libxxhash libxxhash.pc +XXHASH_INSTALL_TARGETS += install_libxxhash install_libxxhash.pc +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +XXHASH_TARGETS += libxxhash.a libxxhash libxxhash.pc +XXHASH_INSTALL_TARGETS += \ + install_libxxhash.a install_libxxhash install_libxxhash.pc +endif + +define XXHASH_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + $(XXHASH_TARGETS) +endef + +define XXHASH_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + PREFIX=/usr DESTDIR=$(STAGING_DIR) $(XXHASH_INSTALL_TARGETS) +endef + +define XXHASH_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \ + PREFIX=/usr DESTDIR=$(TARGET_DIR) $(XXHASH_INSTALL_TARGETS) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/package/xz/Config.in b/buildroot-2022.02.1/package/xz/Config.in similarity index 100% rename from buildroot-2021.05/package/xz/Config.in rename to buildroot-2022.02.1/package/xz/Config.in diff --git a/buildroot-2021.05/package/xz/xz.hash b/buildroot-2022.02.1/package/xz/xz.hash similarity index 100% rename from buildroot-2021.05/package/xz/xz.hash rename to buildroot-2022.02.1/package/xz/xz.hash diff --git a/buildroot-2022.02.1/package/xz/xz.mk b/buildroot-2022.02.1/package/xz/xz.mk new file mode 100644 index 00000000..af611975 --- /dev/null +++ b/buildroot-2022.02.1/package/xz/xz.mk @@ -0,0 +1,28 @@ +################################################################################ +# +# xz +# +################################################################################ + +XZ_VERSION = 5.2.5 +XZ_SOURCE = xz-$(XZ_VERSION).tar.bz2 +XZ_SITE = https://tukaani.org/xz +XZ_INSTALL_STAGING = YES +XZ_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' +XZ_LICENSE = Public Domain, GPL-2.0+, GPL-3.0+, LGPL-2.1+ +XZ_LICENSE_FILES = COPYING COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 +XZ_CPE_ID_VENDOR = tukaani + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +XZ_CONF_OPTS += --enable-threads +else +XZ_CONF_OPTS += --disable-threads +endif + +# we are built before ccache +HOST_XZ_CONF_ENV = \ + CC="$(HOSTCC_NOCCACHE)" \ + CXX="$(HOSTCXX_NOCCACHE)" + +$(eval $(autotools-package)) +$(eval $(host-autotools-package)) diff --git a/buildroot-2021.05/package/yad/Config.in b/buildroot-2022.02.1/package/yad/Config.in similarity index 100% rename from buildroot-2021.05/package/yad/Config.in rename to buildroot-2022.02.1/package/yad/Config.in diff --git a/buildroot-2021.05/package/yad/yad.hash b/buildroot-2022.02.1/package/yad/yad.hash similarity index 100% rename from buildroot-2021.05/package/yad/yad.hash rename to buildroot-2022.02.1/package/yad/yad.hash diff --git a/buildroot-2021.05/package/yad/yad.mk b/buildroot-2022.02.1/package/yad/yad.mk similarity index 100% rename from buildroot-2021.05/package/yad/yad.mk rename to buildroot-2022.02.1/package/yad/yad.mk diff --git a/buildroot-2021.05/package/yaffs2utils/yaffs2utils.hash b/buildroot-2022.02.1/package/yaffs2utils/yaffs2utils.hash similarity index 100% rename from buildroot-2021.05/package/yaffs2utils/yaffs2utils.hash rename to buildroot-2022.02.1/package/yaffs2utils/yaffs2utils.hash diff --git a/buildroot-2021.05/package/yaffs2utils/yaffs2utils.mk b/buildroot-2022.02.1/package/yaffs2utils/yaffs2utils.mk similarity index 100% rename from buildroot-2021.05/package/yaffs2utils/yaffs2utils.mk rename to buildroot-2022.02.1/package/yaffs2utils/yaffs2utils.mk diff --git a/buildroot-2021.05/package/yajl/0001-Let-the-shared-and-the-static-library-have-the-same-.patch b/buildroot-2022.02.1/package/yajl/0001-Let-the-shared-and-the-static-library-have-the-same-.patch similarity index 100% rename from buildroot-2021.05/package/yajl/0001-Let-the-shared-and-the-static-library-have-the-same-.patch rename to buildroot-2022.02.1/package/yajl/0001-Let-the-shared-and-the-static-library-have-the-same-.patch diff --git a/buildroot-2021.05/package/yajl/0002-cmake-disable-shared-library-build-when-BUILD_SHARED.patch b/buildroot-2022.02.1/package/yajl/0002-cmake-disable-shared-library-build-when-BUILD_SHARED.patch similarity index 100% rename from buildroot-2021.05/package/yajl/0002-cmake-disable-shared-library-build-when-BUILD_SHARED.patch rename to buildroot-2022.02.1/package/yajl/0002-cmake-disable-shared-library-build-when-BUILD_SHARED.patch diff --git a/buildroot-2021.05/package/yajl/0003-Link-with-shared-libyajl-in-a-shared-build.patch b/buildroot-2022.02.1/package/yajl/0003-Link-with-shared-libyajl-in-a-shared-build.patch similarity index 100% rename from buildroot-2021.05/package/yajl/0003-Link-with-shared-libyajl-in-a-shared-build.patch rename to buildroot-2022.02.1/package/yajl/0003-Link-with-shared-libyajl-in-a-shared-build.patch diff --git a/buildroot-2021.05/package/yajl/0004-Link-libyajl-_s-with-libm-when-isnan-is-not-brought-.patch b/buildroot-2022.02.1/package/yajl/0004-Link-libyajl-_s-with-libm-when-isnan-is-not-brought-.patch similarity index 100% rename from buildroot-2021.05/package/yajl/0004-Link-libyajl-_s-with-libm-when-isnan-is-not-brought-.patch rename to buildroot-2022.02.1/package/yajl/0004-Link-libyajl-_s-with-libm-when-isnan-is-not-brought-.patch diff --git a/buildroot-2021.05/package/yajl/Config.in b/buildroot-2022.02.1/package/yajl/Config.in similarity index 100% rename from buildroot-2021.05/package/yajl/Config.in rename to buildroot-2022.02.1/package/yajl/Config.in diff --git a/buildroot-2021.05/package/yajl/yajl.hash b/buildroot-2022.02.1/package/yajl/yajl.hash similarity index 100% rename from buildroot-2021.05/package/yajl/yajl.hash rename to buildroot-2022.02.1/package/yajl/yajl.hash diff --git a/buildroot-2021.05/package/yajl/yajl.mk b/buildroot-2022.02.1/package/yajl/yajl.mk similarity index 100% rename from buildroot-2021.05/package/yajl/yajl.mk rename to buildroot-2022.02.1/package/yajl/yajl.mk diff --git a/buildroot-2021.05/package/yaml-cpp/Config.in b/buildroot-2022.02.1/package/yaml-cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/yaml-cpp/Config.in rename to buildroot-2022.02.1/package/yaml-cpp/Config.in diff --git a/buildroot-2021.05/package/yaml-cpp/yaml-cpp.hash b/buildroot-2022.02.1/package/yaml-cpp/yaml-cpp.hash similarity index 100% rename from buildroot-2021.05/package/yaml-cpp/yaml-cpp.hash rename to buildroot-2022.02.1/package/yaml-cpp/yaml-cpp.hash diff --git a/buildroot-2021.05/package/yaml-cpp/yaml-cpp.mk b/buildroot-2022.02.1/package/yaml-cpp/yaml-cpp.mk similarity index 100% rename from buildroot-2021.05/package/yaml-cpp/yaml-cpp.mk rename to buildroot-2022.02.1/package/yaml-cpp/yaml-cpp.mk diff --git a/buildroot-2021.05/package/yasm/Config.in b/buildroot-2022.02.1/package/yasm/Config.in similarity index 100% rename from buildroot-2021.05/package/yasm/Config.in rename to buildroot-2022.02.1/package/yasm/Config.in diff --git a/buildroot-2021.05/package/yasm/yasm.hash b/buildroot-2022.02.1/package/yasm/yasm.hash similarity index 100% rename from buildroot-2021.05/package/yasm/yasm.hash rename to buildroot-2022.02.1/package/yasm/yasm.hash diff --git a/buildroot-2021.05/package/yasm/yasm.mk b/buildroot-2022.02.1/package/yasm/yasm.mk similarity index 100% rename from buildroot-2021.05/package/yasm/yasm.mk rename to buildroot-2022.02.1/package/yasm/yasm.mk diff --git a/buildroot-2021.05/package/yavta/Config.in b/buildroot-2022.02.1/package/yavta/Config.in similarity index 100% rename from buildroot-2021.05/package/yavta/Config.in rename to buildroot-2022.02.1/package/yavta/Config.in diff --git a/buildroot-2021.05/package/yavta/yavta.hash b/buildroot-2022.02.1/package/yavta/yavta.hash similarity index 100% rename from buildroot-2021.05/package/yavta/yavta.hash rename to buildroot-2022.02.1/package/yavta/yavta.hash diff --git a/buildroot-2021.05/package/yavta/yavta.mk b/buildroot-2022.02.1/package/yavta/yavta.mk similarity index 100% rename from buildroot-2021.05/package/yavta/yavta.mk rename to buildroot-2022.02.1/package/yavta/yavta.mk diff --git a/buildroot-2021.05/package/ympd/0001-only-c-language.patch b/buildroot-2022.02.1/package/ympd/0001-only-c-language.patch similarity index 100% rename from buildroot-2021.05/package/ympd/0001-only-c-language.patch rename to buildroot-2022.02.1/package/ympd/0001-only-c-language.patch diff --git a/buildroot-2021.05/package/ympd/0002-added-forward-declarations.patch b/buildroot-2022.02.1/package/ympd/0002-added-forward-declarations.patch similarity index 100% rename from buildroot-2021.05/package/ympd/0002-added-forward-declarations.patch rename to buildroot-2022.02.1/package/ympd/0002-added-forward-declarations.patch diff --git a/buildroot-2021.05/package/ympd/Config.in b/buildroot-2022.02.1/package/ympd/Config.in similarity index 100% rename from buildroot-2021.05/package/ympd/Config.in rename to buildroot-2022.02.1/package/ympd/Config.in diff --git a/buildroot-2021.05/package/ympd/ympd.hash b/buildroot-2022.02.1/package/ympd/ympd.hash similarity index 100% rename from buildroot-2021.05/package/ympd/ympd.hash rename to buildroot-2022.02.1/package/ympd/ympd.hash diff --git a/buildroot-2021.05/package/ympd/ympd.mk b/buildroot-2022.02.1/package/ympd/ympd.mk similarity index 100% rename from buildroot-2021.05/package/ympd/ympd.mk rename to buildroot-2022.02.1/package/ympd/ympd.mk diff --git a/buildroot-2021.05/package/ytree/0001-fix-musl.patch b/buildroot-2022.02.1/package/ytree/0001-fix-musl.patch similarity index 100% rename from buildroot-2021.05/package/ytree/0001-fix-musl.patch rename to buildroot-2022.02.1/package/ytree/0001-fix-musl.patch diff --git a/buildroot-2021.05/package/ytree/Config.in b/buildroot-2022.02.1/package/ytree/Config.in similarity index 100% rename from buildroot-2021.05/package/ytree/Config.in rename to buildroot-2022.02.1/package/ytree/Config.in diff --git a/buildroot-2022.02.1/package/ytree/ytree.hash b/buildroot-2022.02.1/package/ytree/ytree.hash new file mode 100644 index 00000000..88ca8282 --- /dev/null +++ b/buildroot-2022.02.1/package/ytree/ytree.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 6e7a8b7f68efe6d365abe33a1d06d739ad85f22a3d54ddd0aec24a3478d66642 ytree-2.04.tar.gz +sha256 eb6bf7204569b4fe8eaf9d4dffc57e44047c5efb5deba1b2d99069ddbc99d031 COPYING diff --git a/buildroot-2022.02.1/package/ytree/ytree.mk b/buildroot-2022.02.1/package/ytree/ytree.mk new file mode 100644 index 00000000..a64ebe83 --- /dev/null +++ b/buildroot-2022.02.1/package/ytree/ytree.mk @@ -0,0 +1,31 @@ +################################################################################ +# +# ytree +# +################################################################################ + +YTREE_VERSION = 2.04 +YTREE_SITE = https://www.han.de/~werner +YTREE_LICENSE = GPL-2.0+ +YTREE_LICENSE_FILES = COPYING +YTREE_DEPENDENCIES = ncurses + +YTREE_CFLAGS = -DCOLOR_SUPPORT $(TARGET_CFLAGS) +YTREE_LDFLAGS = -lncurses $(TARGET_LDFLAGS) + +ifeq ($(BR2_PACKAGE_READLINE),y) +YTREE_DEPENDENCIES += host-pkgconf readline +YTREE_CFLAGS += -DREADLINE_SUPPORT +YTREE_LDFLAGS += `$(PKG_CONFIG_HOST_BINARY) --libs readline` +endif + +define YTREE_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(YTREE_CFLAGS)" LDFLAGS="$(YTREE_LDFLAGS)" +endef + +define YTREE_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)/usr" install +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch b/buildroot-2022.02.1/package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch new file mode 100644 index 00000000..ffb1f54b --- /dev/null +++ b/buildroot-2022.02.1/package/zabbix/0001-m4-netsnmp.m4-fix-shared-netsnmp-build.patch @@ -0,0 +1,44 @@ +From 3e810c0804ec40ad6e111a9791cdb2033ecdad71 Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Fri, 25 Feb 2022 23:30:19 +0100 +Subject: [PATCH] m4/netsnmp.m4: fix shared netsnmp build + +Since commit fe391e8689c523d3c7ea6b173d25aa5dba3a6902, the build fails +with the following error if the user provides the path of +net-snmp-config through the --with-net-snmp option: + +configure: error: "libnetsnmp.a static library was not found in /home/buildroot/autobuild/instance-0/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/bin/../../usr/lib" + +However, the assumption that a static library will be provided by the +system is just plain wrong so replace AC_MSG_ERROR by AC_MSG_WARN + +Fixes: + - http://autobuild.buildroot.org/results/0f541e45d1fa27b3302968683bf64949131ec1c9 + +Signed-off-by: Fabrice Fontaine +[Upstream status: https://github.com/zabbix/zabbix/pull/61] +--- + m4/netsnmp.m4 | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +diff --git a/m4/netsnmp.m4 b/m4/netsnmp.m4 +index 5e84d84303..87e21a67e6 100644 +--- a/m4/netsnmp.m4 ++++ b/m4/netsnmp.m4 +@@ -140,8 +140,11 @@ AC_HELP_STRING([--with-net-snmp@<:@=ARG@:>@], + test [ "x$static_linking_support" = "xno" -o -z "$static_linking_support" ] -a -z "$_libsnmp_dir_lib" && AC_MSG_ERROR(["Compiler not support statically linked libs from default folders"]) + + if test "x$static_linking_support" = "xno" -o -z "$static_linking_support"; then +- test -f $_libsnmp_dir_lib/libnetsnmp.a || AC_MSG_ERROR(["libnetsnmp.a static library was not found in $_libsnmp_dir_lib"]) +- SNMP_LIBS=`echo "$SNMP_LIBS"|sed "s|-lnetsnmp|$_libsnmp_dir_lib/libnetsnmp.a|g"` ++ if test -f $_libsnmp_dir_lib/libnetsnmp.a; then ++ SNMP_LIBS=`echo "$SNMP_LIBS"|sed "s|-lnetsnmp|$_libsnmp_dir_lib/libnetsnmp.a|g"` ++ else ++ AC_MSG_WARN(["libnetsnmp.a static library was not found in $_libsnmp_dir_lib"]) ++ fi + else + SNMP_LIBS=`echo "$SNMP_LIBS"|sed "s/-lnetsnmp/${static_linking_support}static -lnetsnmp ${static_linking_support}dynamic/g"` + fi +-- +2.34.1 + diff --git a/buildroot-2022.02.1/package/zabbix/Config.in b/buildroot-2022.02.1/package/zabbix/Config.in new file mode 100644 index 00000000..6f8a9529 --- /dev/null +++ b/buildroot-2022.02.1/package/zabbix/Config.in @@ -0,0 +1,82 @@ +config BR2_PACKAGE_ZABBIX + bool "zabbix" + depends on BR2_TOOLCHAIN_USES_GLIBC + select BR2_PACKAGE_PCRE + help + Zabbix is an enterprise-class open source distributed + monitoring solution. Zabbix is free of cost. Zabbix is + written and distributed under the GPL General Public License + version 2. + + https://zabbix.com + +comment "zabbix need glibc" + depends on !BR2_TOOLCHAIN_USES_GLIBC + +if BR2_PACKAGE_ZABBIX + +comment "zabbix server needs C++ and threads or wchar and dynamic libs" + depends on BR2_USE_MMU + depends on \ + !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) && \ + !(BR2_USE_WCHAR && !BR2_STATIC_LIBS) + +config BR2_PACKAGE_ZABBIX_SERVER + bool "zabbix server" + depends on BR2_USE_MMU # mysql, postgresql + depends on \ + (BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) || \ + (BR2_USE_WCHAR && !BR2_STATIC_LIBS) + select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_LIBEVENT + +if BR2_PACKAGE_ZABBIX_SERVER + +choice + prompt "server database backend" + +config BR2_PACKAGE_ZABBIX_SERVER_MYSQL + bool "mysql" + depends on BR2_INSTALL_LIBSTDCPP # mysql + depends on BR2_TOOLCHAIN_HAS_THREADS # mysql + select BR2_PACKAGE_MYSQL + +config BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL + bool "postgresql" + depends on BR2_USE_WCHAR # postgresql + depends on !BR2_STATIC_LIBS # postgresql + select BR2_PACKAGE_POSTGRESQL + +endchoice + +config BR2_PACKAGE_ZABBIX_SERVER_COPY_DUMPS + bool "install SQL dumps" + help + Copy initial database dumps to /var/lib/zabbix/schema + + These still need to be imported into the database by hand. + +config BR2_PACKAGE_ZABBIX_SERVER_COPY_FRONTEND + bool "install web UI to target" + depends on BR2_PACKAGE_PHP # runtime + select BR2_PACKAGE_PHP_EXT_MYSQLI if BR2_PACKAGE_ZABBIX_SERVER_MYSQL + select BR2_PACKAGE_PHP_EXT_PGSQL if BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL + select BR2_PACKAGE_PHP_EXT_BCMATH + select BR2_PACKAGE_PHP_EXT_SOCKETS + select BR2_PACKAGE_PHP_EXT_MBSTRING + select BR2_PACKAGE_PHP_EXT_GD + select BR2_PACKAGE_PHP_EXT_LIBXML2 + select BR2_PACKAGE_PHP_EXT_CTYPE + select BR2_PACKAGE_PHP_EXT_SESSION + select BR2_PACKAGE_PHP_EXT_XMLREADER + select BR2_PACKAGE_PHP_EXT_XMLWRITER + help + Copy web-UI to /var/www/zabbix. You need to set up a web + server to access it. + +comment "zabbix web UI requires PHP" + depends on !BR2_PACKAGE_PHP + +endif + +endif diff --git a/buildroot-2022.02.1/package/zabbix/zabbix-agent.service b/buildroot-2022.02.1/package/zabbix/zabbix-agent.service new file mode 100644 index 00000000..8b4f45a4 --- /dev/null +++ b/buildroot-2022.02.1/package/zabbix/zabbix-agent.service @@ -0,0 +1,17 @@ +[Unit] +Description=Zabbix Agent Daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/zabbix_agentd +ExecReload=/usr/sbin/zabbix_agentd -R config_cache_reload +RuntimeDirectory=zabbix +PIDFile=/run/zabbix/zabbix_agentd.pid +User=zabbix +Group=zabbix +WatchdogSec=30s +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2022.02.1/package/zabbix/zabbix-server.service b/buildroot-2022.02.1/package/zabbix/zabbix-server.service new file mode 100644 index 00000000..b8ba0d17 --- /dev/null +++ b/buildroot-2022.02.1/package/zabbix/zabbix-server.service @@ -0,0 +1,17 @@ +[Unit] +Description=Zabbix Server Daemon +After=network.target + +[Service] +Type=forking +ExecStart=/usr/sbin/zabbix_server +ExecReload=/usr/sbin/zabbix_server -R config_cache_reload +RuntimeDirectory=zabbix +PIDFile=/run/zabbix/zabbix_server.pid +User=zabbix +Group=zabbix +WatchdogSec=30s +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/buildroot-2022.02.1/package/zabbix/zabbix.hash b/buildroot-2022.02.1/package/zabbix/zabbix.hash new file mode 100644 index 00000000..42cc0bda --- /dev/null +++ b/buildroot-2022.02.1/package/zabbix/zabbix.hash @@ -0,0 +1,4 @@ +# Locally computed +sha256 19686628df76e8d5ef7c2ed2975b258c7ca3ec7d151b1bb59d7e132f9fc7c941 zabbix-5.4.9.tar.gz +sha256 10d68ec3abacc29222c07748fc5e5cb9474fd7cd9ccdde1b92ff941ded946b78 README +sha256 444fe54aecc95ac0f3314289c300afc73b3946a4dc9fbd7e022709b3e0924dd0 COPYING diff --git a/buildroot-2022.02.1/package/zabbix/zabbix.mk b/buildroot-2022.02.1/package/zabbix/zabbix.mk new file mode 100644 index 00000000..adc54028 --- /dev/null +++ b/buildroot-2022.02.1/package/zabbix/zabbix.mk @@ -0,0 +1,136 @@ +################################################################################ +# +# zabbix +# +################################################################################ + +ZABBIX_VERSION_MAJOR = 5.4 +ZABBIX_VERSION = $(ZABBIX_VERSION_MAJOR).9 +ZABBIX_SITE = https://cdn.zabbix.com/zabbix/sources/stable/$(ZABBIX_VERSION_MAJOR) +ZABBIX_LICENSE = GPL-2.0+ +ZABBIX_LICENSE_FILES = README COPYING +ZABBIX_CPE_ID_VENDOR = zabbix +# We're patching m4/netsnmp.m4 +ZABBIX_AUTORECONF = YES + +ZABBIX_DEPENDENCIES = pcre +ZABBIX_CONF_OPTS = \ + --with-libpcre=$(STAGING_DIR)/usr/bin/ \ + --without-sqlite3 \ + --enable-agent \ + --disable-agent2 \ + --disable-java \ + --disable-proxy \ + --disable-webservice + +define ZABBIX_USERS + zabbix -1 zabbix -1 * /var/lib/zabbix - - zabbix user +endef + +ZABBIX_SYSTEMD_UNITS += zabbix-agent.service + +define ZABBIX_CHANGE_PIDFILE_LOCATION + $(SED) 's%\#\ PidFile=/tmp/zabbix\(.*\).pid%PidFile=/run/zabbix/zabbix\1.pid%g' $(@D)/conf/zabbix_*.conf +endef +ZABBIX_POST_PATCH_HOOKS += ZABBIX_CHANGE_PIDFILE_LOCATION + +ifeq ($(BR2_PACKAGE_OPENIPMI),y) +ZABBIX_CONF_OPTS += --with-openipmi=$(STAGING_DIR)/usr +ZABBIX_DEPENDENCIES += openipmi +else +ZABBIX_CONF_OPTS += --without-openipmi +endif + +ifeq ($(BR2_PACKAGE_LIBCURL),y) +ZABBIX_CONF_OPTS += --with-libcurl=$(STAGING_DIR)/usr/bin/curl-config +ZABBIX_DEPENDENCIES += libcurl +else +ZABBIX_CONF_OPTS += --without-libcurl +endif + +ifeq ($(BR2_PACKAGE_LIBXML2),y) +ZABBIX_CONF_OPTS += --with-libxml2=$(STAGING_DIR)/usr/bin/xml2-config +ZABBIX_DEPENDENCIES += libxml2 +else +ZABBIX_CONF_OPTS += --without-libxml2 +endif + +ifeq ($(BR2_PACKAGE_NETSNMP_ENABLE_MIBS),y) +ZABBIX_CONF_OPTS += --with-net-snmp=$(STAGING_DIR)/usr/bin/net-snmp-config +ZABBIX_DEPENDENCIES += netsnmp +else +ZABBIX_CONF_OPTS += --without-net-snmp +endif + +ifeq ($(BR2_PACKAGE_OPENLDAP),y) +ZABBIX_CONF_OPTS += --with-ldap=$(STAGING_DIR)/usr +ZABBIX_DEPENDENCIES += openldap +else +ZABBIX_CONF_OPTS += --without-ldap +endif + +ifeq ($(BR2_PACKAGE_LIBSSH2),y) +ZABBIX_CONF_OPTS += --with-ssh2=$(STAGING_DIR)/usr +ZABBIX_DEPENDENCIES += libssh2 +else +ZABBIX_CONF_OPTS += --without-ssh2 +endif + +# Only one of openssl or gnutls should be enabled +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ZABBIX_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr --without-gnutls +ZABBIX_DEPENDENCIES += openssl +else ifeq ($(BR2_PACKAGE_GNUTLS),y) +ZABBIX_CONF_OPTS += --with-gnutls=$(STAGING_DIR)/usr --without-openssl +ZABBIX_DEPENDENCIES += gnutls +else +ZABBIX_CONF_OPTS += --without-gnutls --without-openssl +endif + +ifeq ($(BR2_PACKAGE_ZABBIX_SERVER),y) + +ZABBIX_DEPENDENCIES += libevent zlib +ZABBIX_CONF_OPTS += \ + --enable-server \ + --with-libevent=$(STAGING_DIR)/usr \ + --with-libpthread=$(STAGING_DIR)/usr \ + --with-zlib=$(STAGING_DIR)/usr +ZABBIX_SYSTEMD_UNITS += zabbix-server.service + +ifeq ($(BR2_PACKAGE_ZABBIX_SERVER_COPY_FRONTEND),y) +define ZABBIX_SERVER_COPY_FRONTEND + mkdir -p $(TARGET_DIR)/var/www/zabbix/ + cp -dpfr $(@D)/ui/* $(TARGET_DIR)/var/www/zabbix/ +endef +ZABBIX_POST_INSTALL_TARGET_HOOKS += ZABBIX_SERVER_COPY_FRONTEND +endif + +ifeq ($(BR2_PACKAGE_ZABBIX_SERVER_MYSQL),y) +ZABBIX_DEPENDENCIES += mysql +ZABBIX_CONF_OPTS += --with-mysql=$(STAGING_DIR)/usr/bin/mysql_config --without-postgresql +ZABBIX_DATABASE = mysql +else ifeq ($(BR2_PACKAGE_ZABBIX_SERVER_POSTGRESQL),y) +ZABBIX_DEPENDENCIES += postgresql +ZABBIX_CONF_OPTS += --with-postgresql=$(STAGING_DIR)/usr/bin/pg_config --without-mysql +ZABBIX_DATABASE = postgresql +endif + +ifeq ($(BR2_PACKAGE_ZABBIX_SERVER_COPY_DUMPS),y) +define ZABBIX_SERVER_COPY_DUMPS + mkdir -p $(TARGET_DIR)/var/lib/zabbix/schema/ + install -m 644 $(@D)/database/$(ZABBIX_DATABASE)/*.sql $(TARGET_DIR)/var/lib/zabbix/schema/ +endef +ZABBIX_POST_INSTALL_TARGET_HOOKS += ZABBIX_SERVER_COPY_DUMPS +endif + +endif # BR2_PACKAGE_ZABBIX_SERVER + +define ZABBIX_INSTALL_INIT_SYSTEMD + $(foreach unit,$(ZABBIX_SYSTEMD_UNITS),\ + $(INSTALL) -D -m 0644 $(ZABBIX_PKGDIR)/$(unit) $(TARGET_DIR)/usr/lib/systemd/system/$(unit) && \ + mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants && \ + ln -fs -r $(TARGET_DIR)/usr/lib/systemd/system/$(unit) $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/$(unit) + ) +endef + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/zbar/Config.in b/buildroot-2022.02.1/package/zbar/Config.in similarity index 100% rename from buildroot-2021.05/package/zbar/Config.in rename to buildroot-2022.02.1/package/zbar/Config.in diff --git a/buildroot-2022.02.1/package/zbar/zbar.hash b/buildroot-2022.02.1/package/zbar/zbar.hash new file mode 100644 index 00000000..a4303266 --- /dev/null +++ b/buildroot-2022.02.1/package/zbar/zbar.hash @@ -0,0 +1,3 @@ +# Locally computed: +sha256 9152c8fb302b3891e1cb9cc719883d2f4ccd2483e3430783a2cf2d93bd5901ad zbar-0.23.90.tar.bz2 +sha256 44260f9252c7fe38ba8dfb645330504f4a375e3a5e9dd7d5d6b9f04adb4952f1 LICENSE.md diff --git a/buildroot-2022.02.1/package/zbar/zbar.mk b/buildroot-2022.02.1/package/zbar/zbar.mk new file mode 100644 index 00000000..fb83fa01 --- /dev/null +++ b/buildroot-2022.02.1/package/zbar/zbar.mk @@ -0,0 +1,42 @@ +################################################################################ +# +# zbar +# +################################################################################ + +ZBAR_VERSION = 0.23.90 +ZBAR_SOURCE = zbar-$(ZBAR_VERSION).tar.bz2 +ZBAR_SITE = https://www.linuxtv.org/downloads/zbar +ZBAR_LICENSE = LGPL-2.1+ +ZBAR_LICENSE_FILES = LICENSE.md +ZBAR_INSTALL_STAGING = YES +ZBAR_DEPENDENCIES = libv4l jpeg $(TARGET_NLS_DEPENDENCIES) +# uses C99 features +ZBAR_CONF_ENV = \ + CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \ + LIBS=$(TARGET_NLS_LIBS) +ZBAR_CONF_OPTS = \ + --disable-doc \ + --without-imagemagick \ + --without-qt \ + --without-qt5 \ + --without-gtk \ + --without-x \ + --without-java + +ifeq ($(BR2_PACKAGE_DBUS),y) +ZBAR_DEPENDENCIES += dbus +ZBAR_CONF_OPTS += --with-dbus +else +ZBAR_CONF_OPTS += --without-dbus +endif + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +ZBAR_DEPENDENCIES += host-python3 python3 +ZBAR_CONF_OPTS += --with-python=python3 +ZBAR_CONF_ENV += PYTHON_CONFIG="$(STAGING_DIR)/usr/bin/python3-config" +else +ZBAR_CONF_OPTS += --with-python=no +endif + +$(eval $(autotools-package)) diff --git a/buildroot-2022.02.1/package/zchunk/Config.in b/buildroot-2022.02.1/package/zchunk/Config.in new file mode 100644 index 00000000..2d2a78a2 --- /dev/null +++ b/buildroot-2022.02.1/package/zchunk/Config.in @@ -0,0 +1,10 @@ +config BR2_PACKAGE_ZCHUNK + bool "zchunk" + depends on BR2_USE_MMU # fork() + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_LIBCURL + help + A file format designed for highly efficient deltas while + maintaining good compression. + + https://github.com/zchunk/zchunk diff --git a/buildroot-2022.02.1/package/zchunk/zchunk.hash b/buildroot-2022.02.1/package/zchunk/zchunk.hash new file mode 100644 index 00000000..d6b425dc --- /dev/null +++ b/buildroot-2022.02.1/package/zchunk/zchunk.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 33934adecddc50c64615dd8cdfe52a79df674a5bb1d5e83a9c09e1d1e6e9b92c zchunk-1.1.16.tar.gz +sha256 3c6a4fd5a93cacec6bf694d0537246bc15a95a274f5c5301749754e56d27b797 LICENSE diff --git a/buildroot-2022.02.1/package/zchunk/zchunk.mk b/buildroot-2022.02.1/package/zchunk/zchunk.mk new file mode 100644 index 00000000..6f7ac799 --- /dev/null +++ b/buildroot-2022.02.1/package/zchunk/zchunk.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# zchunk +# +################################################################################ + +ZCHUNK_VERSION = 1.1.16 +ZCHUNK_SITE = $(call github,zchunk,zchunk,$(ZCHUNK_VERSION)) +ZCHUNK_LICENSE = BSD-2-Clause +ZCHUNK_LICENSE_FILES = LICENSE +ZCHUNK_INSTALL_STAGING = YES +ZCHUNK_DEPENDENCIES = \ + libcurl \ + $(if $(BR2_PACKAGE_ARGP_STANDALONE),argp-standalone) + +ifeq ($(BR2_PACKAGE_OPENSSL),y) +ZCHUNK_DEPENDENCIES += openssl +ZCHUNK_CONF_OPTS += -Dwith-openssl=enabled +else +ZCHUNK_CONF_OPTS += -Dwith-openssl=disabled +endif + +ifeq ($(BR2_PACKAGE_ZSTD),y) +ZCHUNK_DEPENDENCIES += zstd +ZCHUNK_CONF_OPTS += -Dwith-zstd=enabled +else +ZCHUNK_CONF_OPTS += -Dwith-zstd=disabled +endif + +$(eval $(meson-package)) diff --git a/buildroot-2021.05/package/zd1211-firmware/Config.in b/buildroot-2022.02.1/package/zd1211-firmware/Config.in similarity index 100% rename from buildroot-2021.05/package/zd1211-firmware/Config.in rename to buildroot-2022.02.1/package/zd1211-firmware/Config.in diff --git a/buildroot-2021.05/package/zd1211-firmware/zd1211-firmware.hash b/buildroot-2022.02.1/package/zd1211-firmware/zd1211-firmware.hash similarity index 100% rename from buildroot-2021.05/package/zd1211-firmware/zd1211-firmware.hash rename to buildroot-2022.02.1/package/zd1211-firmware/zd1211-firmware.hash diff --git a/buildroot-2021.05/package/zd1211-firmware/zd1211-firmware.mk b/buildroot-2022.02.1/package/zd1211-firmware/zd1211-firmware.mk similarity index 100% rename from buildroot-2021.05/package/zd1211-firmware/zd1211-firmware.mk rename to buildroot-2022.02.1/package/zd1211-firmware/zd1211-firmware.mk diff --git a/buildroot-2021.05/package/zeromq/Config.in b/buildroot-2022.02.1/package/zeromq/Config.in similarity index 100% rename from buildroot-2021.05/package/zeromq/Config.in rename to buildroot-2022.02.1/package/zeromq/Config.in diff --git a/buildroot-2021.05/package/zeromq/zeromq.hash b/buildroot-2022.02.1/package/zeromq/zeromq.hash similarity index 100% rename from buildroot-2021.05/package/zeromq/zeromq.hash rename to buildroot-2022.02.1/package/zeromq/zeromq.hash diff --git a/buildroot-2021.05/package/zeromq/zeromq.mk b/buildroot-2022.02.1/package/zeromq/zeromq.mk similarity index 100% rename from buildroot-2021.05/package/zeromq/zeromq.mk rename to buildroot-2022.02.1/package/zeromq/zeromq.mk diff --git a/buildroot-2022.02.1/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch b/buildroot-2022.02.1/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch new file mode 100644 index 00000000..70978f9f --- /dev/null +++ b/buildroot-2022.02.1/package/zfs/0001-Correct-a-flaw-in-the-Python-3-version-checking.patch @@ -0,0 +1,106 @@ +From 4dc82e9d503518a00e54972be7c0cb5f342f985e Mon Sep 17 00:00:00 2001 +From: Rich Ercolani <214141+rincebrain@users.noreply.github.com> +Date: Tue, 8 Jun 2021 20:20:16 -0400 +Subject: [PATCH] Correct a flaw in the Python 3 version checking + +It turns out the ax_python_devel.m4 version check assumes that +("3.X+1.0" >= "3.X.0") is True in Python, which is not when X+1 +is 10 or above and X is not. (Also presumably X+1=100 and ...) + +So let's remake the check to behave consistently, using the +"packaging" or (if absent) the "distlib" modules. + +(Also, update the Github workflows to use the new packages.) + +Reviewed-by: Brian Behlendorf +Reviewed-by: John Kennedy +Signed-off-by: Rich Ercolani +Closes: #12073 +(cherry picked from commit 08cd0717359b1a18693e3c8e6d6e5a2819b35a48) +[Romain: drop rpm spec and github workflows changes] +Signed-off-by: Romain Naour +--- + config/always-pyzfs.m4 | 15 +++++++++++++++ + config/ax_python_devel.m4 | 33 +++++++++++++++++++++++++++------ + 2 files changed, 42 insertions(+), 6 deletions(-) + +diff --git a/config/always-pyzfs.m4 b/config/always-pyzfs.m4 +index 76e07b593..fa39fd885 100644 +--- a/config/always-pyzfs.m4 ++++ b/config/always-pyzfs.m4 +@@ -46,6 +46,21 @@ AC_DEFUN([ZFS_AC_CONFIG_ALWAYS_PYZFS], [ + ]) + AC_SUBST(DEFINE_PYZFS) + ++ dnl # ++ dnl # Python "packaging" (or, failing that, "distlib") module is required to build and install pyzfs ++ dnl # ++ AS_IF([test "x$enable_pyzfs" = xcheck -o "x$enable_pyzfs" = xyes], [ ++ ZFS_AC_PYTHON_MODULE([packaging], [], [ ++ ZFS_AC_PYTHON_MODULE([distlib], [], [ ++ AS_IF([test "x$enable_pyzfs" = xyes], [ ++ AC_MSG_ERROR("Python $PYTHON_VERSION packaging and distlib modules are not installed") ++ ], [test "x$enable_pyzfs" != xno], [ ++ enable_pyzfs=no ++ ]) ++ ]) ++ ]) ++ ]) ++ + dnl # + dnl # Require python-devel libraries + dnl # +diff --git a/config/ax_python_devel.m4 b/config/ax_python_devel.m4 +index c51b45b7d..cdfbbf81f 100644 +--- a/config/ax_python_devel.m4 ++++ b/config/ax_python_devel.m4 +@@ -97,9 +97,18 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ + # Check for a version of Python >= 2.1.0 + # + AC_MSG_CHECKING([for a version of Python >= '2.1.0']) +- ac_supports_python_ver=`$PYTHON -c "import sys; \ +- ver = sys.version.split ()[[0]]; \ +- print (ver >= '2.1.0')"` ++ ac_supports_python_ver=`cat<= '3.11.0' ++ ac_supports_python_ver=`cat< +Date: Sat, 3 Dec 2016 13:51:50 +0000 +Subject: [PATCH] remove dependency check on version file + +$(VERSION_DEPS) includes dependencies from tzdata meaning applications +such as zic can't build from tzcode on their own. Remove the dependency +to $(VERSION_DEPS) since it is not necessary to check for version updates +in released code. This solves building zic from tzcode without needing +tzdata. + +Signed-off-by: Martin Bark +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 1b714a8..00d2c09 100644 +--- a/Makefile ++++ b/Makefile +@@ -593,7 +593,7 @@ INSTALL: ALL install date.1 + # Otherwise, use $(VERSION) unless it is "unknown" and there is already + # a 'version' file, in which case reuse the existing 'version' contents + # and append "-dirty" if the contents do not already end in "-dirty". +-version: $(VERSION_DEPS) ++version: + { (type git) >/dev/null 2>&1 && \ + V=`git describe --match '[0-9][0-9][0-9][0-9][a-z]*' \ + --abbrev=7 --dirty` || \ +-- +2.7.4 + diff --git a/buildroot-2022.02.1/package/zic/zic.hash b/buildroot-2022.02.1/package/zic/zic.hash new file mode 100644 index 00000000..9e17621d --- /dev/null +++ b/buildroot-2022.02.1/package/zic/zic.hash @@ -0,0 +1,4 @@ +# From https://mm.icann.org/pipermail/tz-announce/2021-October/000069.html +sha512 87b0335129ea41c5f42f687f548712e5da892baa8494cecf5d34851beceecf6ae52f22104696ed187713cf9e502570eb2041e277dfd3c043c11d0253bfde685a tzcode2021e.tar.gz +# Locally computed: +sha256 0613408568889f5739e5ae252b722a2659c02002839ad970a63dc5e9174b27cf LICENSE diff --git a/buildroot-2022.02.1/package/zic/zic.mk b/buildroot-2022.02.1/package/zic/zic.mk new file mode 100644 index 00000000..13f3a83b --- /dev/null +++ b/buildroot-2022.02.1/package/zic/zic.mk @@ -0,0 +1,25 @@ +################################################################################ +# +# zic +# +################################################################################ + +ZIC_VERSION = 2021e +ZIC_SOURCE = tzcode$(ZIC_VERSION).tar.gz +ZIC_SITE = https://www.iana.org/time-zones/repository/releases +ZIC_STRIP_COMPONENTS = 0 +ZIC_LICENSE = Public domain +ZIC_LICENSE_FILES = LICENSE + +define HOST_ZIC_BUILD_CMDS + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) zic +endef + +define HOST_ZIC_INSTALL_CMDS + $(INSTALL) -D -m 755 $(@D)/zic $(HOST_DIR)/sbin/zic + $(INSTALL) -D -m 644 $(@D)/tzfile.h $(HOST_DIR)/include/tzfile.h +endef + +$(eval $(host-generic-package)) + +ZIC = $(HOST_DIR)/sbin/zic diff --git a/buildroot-2022.02.1/package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch b/buildroot-2022.02.1/package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch new file mode 100644 index 00000000..c172bb11 --- /dev/null +++ b/buildroot-2022.02.1/package/zip/0001-configure-Remove-Check-C-compiler-type-optimization-.patch @@ -0,0 +1,130 @@ +From 0f5e1658c05746b17f05a1bade263cad19b37e79 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Thu, 22 Jan 2015 15:20:25 +0100 +Subject: [PATCH] configure: Remove "Check C compiler type (optimization + options)" + +This test force optimization to -O3 +while it is already set in CFLAGS + +Signed-off-by: Romain Naour +--- + unix/configure | 98 ---------------------------------------------------------- + 1 file changed, 98 deletions(-) + +diff --git a/unix/configure b/unix/configure +index 73ba803..4185fee 100644 +--- a/unix/configure ++++ b/unix/configure +@@ -22,108 +22,10 @@ LFLAGS1='' + LFLAGS2='' + LN="ln -s" + +-CFLAGS_OPT='' +- + # bzip2 + IZ_BZIP2=${3-} + CFLAGS_BZ='' + +- +-echo 'Check C compiler type (optimization options)' +-# Sun C? +-cat > conftest.c << _EOF_ +-int main() +-{ +-#ifndef __SUNPRO_C +- bad code +-#endif +- return 0; +-} +-_EOF_ +-$CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null +-if test $? -eq 0; then +- CFLAGS_OPT='-xO3' +- echo " Sun C ($CFLAGS_OPT)" +-else +- # Tru64 DEC/Compaq/HP C? +- cat > conftest.c << _EOF_ +-int main() +-{ +-#ifndef __DECC +- bad code +-#endif +- return 0; +-} +-_EOF_ +- $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null +- if test $? -eq 0; then +- CFLAGS_OPT='-O3' +- echo " DEC C ($CFLAGS_OPT)" +- else +- # HP-UX HP C? +- cat > conftest.c << _EOF_ +-int main() +-{ +-#ifdef __GNUC__ +- bad code +-#endif +-#ifndef __hpux +- bad code +-#endif +- return 0; +-} +-_EOF_ +- $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null +- if test $? -eq 0; then +- # HP-UX, not GCC. Lame bundled or real ANSI compiler? +- CFLAGS_OPT_TRY="+O3 +Onolimit" +- $CC $CFLAGS $CFLAGS_OPT_TRY -c conftest.c 2>&1 | \ +- grep '(Bundled)' > /dev/null +- if test $? -ne 0; then +- CFLAGS_OPT="$CFLAGS_OPT_TRY" +- echo " HP-UX ANSI C ($CFLAGS_OPT)" +- else +- echo ' HP-UX Bundled C (no opt)' +- fi +- else +- # GNU C? +- cat > conftest.c << _EOF_ +-int main() +-{ +-#ifndef __GNUC__ +- bad code +-#endif +- return 0; +-} +-_EOF_ +- $CC $CFLAGS -c conftest.c > /dev/null 2>/dev/null +- if test $? -eq 0; then +- CFLAGS_OPT='-O3' +- echo " GNU C ($CFLAGS_OPT)" +- # Special Mac OS X shared library "ld" option? +- if test ` uname -s 2> /dev/null ` = 'Darwin'; then +- lf='-Wl,-search_paths_first' +- $CC $CFLAGS $lf conftest.c > /dev/null 2>/dev/null +- if test $? -eq 0; then +- LFLAGS2="${LFLAGS2} ${lf}" +- fi +- rm -f conftest +- fi +- else +- CFLAGS_OPT='-O' +- echo " Other-unknown C ($CFLAGS_OPT)" +- fi +- fi +- fi +-fi +- +-# optimization flags +-if test -n "${CFLAGS_OPT}"; then +- CFLAGS="${CFLAGS} ${CFLAGS_OPT}" +- CFLAGS_BZ="${CFLAGS_BZ} ${CFLAGS_OPT}" +-fi +- +- + # bzip2 + + echo "Check bzip2 support" +-- +1.9.3 + diff --git a/buildroot-2022.02.1/package/zip/0002-configure-Don-t-use-host-CPP.patch b/buildroot-2022.02.1/package/zip/0002-configure-Don-t-use-host-CPP.patch new file mode 100644 index 00000000..179d5817 --- /dev/null +++ b/buildroot-2022.02.1/package/zip/0002-configure-Don-t-use-host-CPP.patch @@ -0,0 +1,37 @@ +From fc5c889131ff6270e1028cc7edd87e7f10a7da6d Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Thu, 22 Jan 2015 15:21:31 +0100 +Subject: [PATCH] configure: Don't use host CPP + +CPP is redefined if a cpp binary (/lib/cpp) is found on the host. + +Use the CPP="${CC} -E" allows to pass the following checks: +Check if we can use asm code (for -DASMV) +Check if compiler generates underlines (for -DASM_CRC) + +Signed-off-by: Romain Naour +--- + unix/configure | 7 ------- + 1 file changed, 7 deletions(-) + +diff --git a/unix/configure b/unix/configure +index 4185fee..489009f 100644 +--- a/unix/configure ++++ b/unix/configure +@@ -122,13 +122,6 @@ fi + echo Check for the C preprocessor + # on SVR4, cc -E does not produce correct assembler files. Need /lib/cpp. + CPP="${CC} -E" +-# solaris as(1) needs -P, maybe others as well ? +-[ -f /usr/ccs/lib/cpp ] && CPP="/usr/ccs/lib/cpp -P" +-[ -f /usr/lib/cpp ] && CPP=/usr/lib/cpp +-[ -f /lib/cpp ] && CPP=/lib/cpp +-[ -f /usr/bin/cpp ] && CPP=/usr/bin/cpp +-[ -f /xenix ] && CPP="${CC} -E" +-[ -f /lynx.os ] && CPP="${CC} -E" + + echo "#include " > conftest.c + $CPP conftest.c >/dev/null 2>/dev/null || CPP="${CC} -E" +-- +1.9.3 + diff --git a/buildroot-2022.02.1/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch b/buildroot-2022.02.1/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch new file mode 100644 index 00000000..7c2b920d --- /dev/null +++ b/buildroot-2022.02.1/package/zip/0003-Makefile-Use-CFLAGS-from-command-line.patch @@ -0,0 +1,30 @@ +From 93189390de7322da78bc5b807f4cadaff46393c9 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Thu, 22 Jan 2015 22:45:30 +0100 +Subject: [PATCH] Makefile: Use CFLAGS from command line + +Replace CFLAGS_NOOPT by CFLAGS when calling unix/configure script +to create 'flags' file which contains all variables used to build +zip binary. + +Signed-off-by: Romain Naour +--- + unix/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/unix/Makefile b/unix/Makefile +index abd0c44..db62368 100644 +--- a/unix/Makefile ++++ b/unix/Makefile +@@ -177,7 +177,7 @@ uninstall: + + + flags: unix/configure +- sh unix/configure "${CC}" "${CFLAGS_NOOPT}" "${IZ_BZIP2}" ++ sh unix/configure "${CC}" "${CFLAGS}" "${IZ_BZIP2}" + + # These symbols, when #defined using -D have these effects on compilation: + # ZMEM - includes C language versions of memset(), memcpy(), +-- +1.9.3 + diff --git a/buildroot-2022.02.1/package/zip/0004-configure-use-LDFLAGS-from-command-line.patch b/buildroot-2022.02.1/package/zip/0004-configure-use-LDFLAGS-from-command-line.patch new file mode 100644 index 00000000..efb9fc78 --- /dev/null +++ b/buildroot-2022.02.1/package/zip/0004-configure-use-LDFLAGS-from-command-line.patch @@ -0,0 +1,35 @@ +From 5c58b8737dc9ccf9407f6725f6f07b764d6abb22 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Thu, 22 Jan 2015 23:47:55 +0100 +Subject: [PATCH] configure: use LDFLAGS from command line + +The bzip2 support may not enabled due to a build error +during the checking for bzip2 library. +The library path (-L) to bzip2 library is missing. + +Signed-off-by: Romain Naour +--- + unix/configure | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/unix/configure b/unix/configure +index 489009f..de9fd68 100644 +--- a/unix/configure ++++ b/unix/configure +@@ -106,11 +106,11 @@ int main() + return 0; + } + _EOF_ +- $CC $CFLAGS -o conftest conftest.c -lbz2 > /dev/null 2>/dev/null ++ $CC $CFLAGS $LDFLAGS -o conftest conftest.c -lbz2 > /dev/null 2>/dev/null + if test $? -eq 0; then + echo "-- OS supports bzip2 - linking in bzip2" + CFLAGS="${CFLAGS} -DBZIP2_SUPPORT" +- LFLAGS2="${LFLAGS2} -lbz2" ++ LFLAGS2="${LFLAGS2} ${LDFLAGS} -lbz2" + else + echo "-- Either bzlib.h or libbz2.a not found - no bzip2" + fi +-- +1.9.3 + diff --git a/buildroot-2022.02.1/package/zip/0005-unix-configure-remove-GID-UID-size-check.patch b/buildroot-2022.02.1/package/zip/0005-unix-configure-remove-GID-UID-size-check.patch new file mode 100644 index 00000000..fd6cdde1 --- /dev/null +++ b/buildroot-2022.02.1/package/zip/0005-unix-configure-remove-GID-UID-size-check.patch @@ -0,0 +1,85 @@ +From d8da4e5f0ebed000f880e60b6cca7c575f7ed1c7 Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 23 Jan 2015 22:13:14 +0100 +Subject: [PATCH] unix/configure: remove GID/UID size check + +This check can't work for cross-compilation since it +try to run a target's binary on the host system. + +Reported-by: Richard Genoud +Signed-off-by: Romain Naour +--- + unix/configure | 57 --------------------------------------------------------- + 1 file changed, 57 deletions(-) + +diff --git a/unix/configure b/unix/configure +index de9fd68..7bfc9eb 100644 +--- a/unix/configure ++++ b/unix/configure +@@ -237,63 +237,6 @@ _EOF_ + $CC $CFLAGS -c conftest.c >/dev/null 2>/dev/null + [ $? -ne 0 ] && CFLAGS="${CFLAGS} -DNO_OFF_T" + +- +-echo Check size of UIDs and GIDs +-echo "(Now zip stores variable size UIDs/GIDs using a new extra field. This" +-echo " tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage" +-echo " should also be used for backward compatibility.)" +-# Added 2008-04-15 CS +-cat > conftest.c << _EOF_ +-# define _LARGEFILE_SOURCE /* some OSes need this for fseeko */ +-# define _LARGEFILE64_SOURCE +-# define _FILE_OFFSET_BITS 64 /* select default interface as 64 bit */ +-# define _LARGE_FILES /* some OSes need this for 64-bit off_t */ +-#include +-#include +-#include +-#include +-int main() +-{ +- struct stat s; +- +- printf(" s.st_uid is %u bytes\n", sizeof(s.st_uid)); +- printf(" s.st_gid is %u bytes\n", sizeof(s.st_gid)); +- +- /* see if have 16-bit UID */ +- if (sizeof(s.st_uid) != 2) { +- return 1; +- } +- /* see if have 16-bit GID */ +- if (sizeof(s.st_gid) != 2) { +- return 2; +- } +- return 3; +-} +-_EOF_ +-# compile it +-$CC -o conftest conftest.c >/dev/null 2>/dev/null +-if [ $? -ne 0 ]; then +- echo -- UID/GID test failed on compile - disabling old 16-bit UID/GID support +- CFLAGS="${CFLAGS} -DUIDGID_NOT_16BIT" +-else +-# run it +- ./conftest +- r=$? +- if [ $r -eq 1 ]; then +- echo -- UID not 2 bytes - disabling old 16-bit UID/GID support +- CFLAGS="${CFLAGS} -DUIDGID_NOT_16BIT" +- elif [ $r -eq 2 ]; then +- echo -- GID not 2 bytes - disabling old 16-bit UID/GID support +- CFLAGS="${CFLAGS} -DUIDGID_NOT_16BIT" +- elif [ $r -eq 3 ]; then +- echo -- 16-bit UIDs and GIDs - keeping old 16-bit UID/GID support +- else +- echo -- test failed - conftest returned $r - disabling old 16-bit UID/GID support +- CFLAGS="${CFLAGS} -DUIDGID_NOT_16BIT" +- fi +-fi +- +- + # Now we set the 64-bit file environment and check the size of off_t + # Added 11/4/2003 EG + # Revised 8/12/2004 EG +-- +1.9.3 + diff --git a/buildroot-2022.02.1/package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch b/buildroot-2022.02.1/package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch new file mode 100644 index 00000000..0276ad2f --- /dev/null +++ b/buildroot-2022.02.1/package/zip/0006-unix-configure-borrow-the-LFS-test-from-autotools.patch @@ -0,0 +1,101 @@ +From fc392c939b9a18959482f588aff0afc29dd6d30a Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 23 Jan 2015 22:20:18 +0100 +Subject: [PATCH] unix/configure: borrow the LFS test from autotools. + +Infozip's LFS check can't work for cross-compilation +since it try to run a target's binary on the host system. + +Instead, use to LFS test used by autotools which is a +compilation test. +(see autotools/lib/autoconf/specific.m4) + +Reported-by: Richard Genoud +Signed-off-by: Romain Naour +--- + unix/configure | 51 ++++++++++++++++++--------------------------------- + 1 file changed, 18 insertions(+), 33 deletions(-) + +diff --git a/unix/configure b/unix/configure +index 7bfc9eb..588f269 100644 +--- a/unix/configure ++++ b/unix/configure +@@ -237,9 +237,8 @@ _EOF_ + $CC $CFLAGS -c conftest.c >/dev/null 2>/dev/null + [ $? -ne 0 ] && CFLAGS="${CFLAGS} -DNO_OFF_T" + +-# Now we set the 64-bit file environment and check the size of off_t +-# Added 11/4/2003 EG +-# Revised 8/12/2004 EG ++# LFS check borrowed from autotools sources ++# lib/autoconf/specific.m4 + + echo Check for Large File Support + cat > conftest.c << _EOF_ +@@ -247,24 +246,22 @@ cat > conftest.c << _EOF_ + # define _LARGEFILE64_SOURCE + # define _FILE_OFFSET_BITS 64 /* select default interface as 64 bit */ + # define _LARGE_FILES /* some OSes need this for 64-bit off_t */ ++ + #include +-#include +-#include +-#include +-int main() ++ /* Check that off_t can represent 2**63 - 1 correctly. ++ We can't simply define LARGE_OFF_T to be 9223372036854775807, ++ since some C++ compilers masquerading as C compilers ++ incorrectly reject 9223372036854775807. */ ++#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) ++ int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 ++ && LARGE_OFF_T % 2147483647 == 1) ++ ? 1 : -1]; ++int ++main () + { +- off_t offset; +- struct stat s; +- /* see if have 64-bit off_t */ +- if (sizeof(offset) < 8) +- return 1; +- printf(" off_t is %d bytes\n", sizeof(off_t)); +- /* see if have 64-bit stat */ +- if (sizeof(s.st_size) < 8) { +- printf(" s.st_size is %d bytes\n", sizeof(s.st_size)); +- return 2; +- } +- return 3; ++ ++ ; ++ return 0; + } + _EOF_ + # compile it +@@ -272,22 +269,10 @@ $CC -o conftest conftest.c >/dev/null 2>/dev/null + if [ $? -ne 0 ]; then + echo -- no Large File Support + else +-# run it +- ./conftest +- r=$? +- if [ $r -eq 1 ]; then +- echo -- no Large File Support - no 64-bit off_t +- elif [ $r -eq 2 ]; then +- echo -- no Large File Support - no 64-bit stat +- elif [ $r -eq 3 ]; then +- echo -- yes we have Large File Support! +- CFLAGS="${CFLAGS} -DLARGE_FILE_SUPPORT" +- else +- echo -- no Large File Support - conftest returned $r +- fi ++ echo -- yes we have Large File Support! ++ CFLAGS="${CFLAGS} -DLARGE_FILE_SUPPORT" + fi + +- + # Check for wide char for Unicode support + # Added 11/24/2005 EG + +-- +1.9.3 + diff --git a/buildroot-2021.05/package/zip/0007-timezone.c-needs-time.h-fixes-musl-compile.patch b/buildroot-2022.02.1/package/zip/0007-timezone.c-needs-time.h-fixes-musl-compile.patch similarity index 100% rename from buildroot-2021.05/package/zip/0007-timezone.c-needs-time.h-fixes-musl-compile.patch rename to buildroot-2022.02.1/package/zip/0007-timezone.c-needs-time.h-fixes-musl-compile.patch diff --git a/buildroot-2022.02.1/package/zip/0008-fix-musl-static-build.patch b/buildroot-2022.02.1/package/zip/0008-fix-musl-static-build.patch new file mode 100644 index 00000000..a7a31eba --- /dev/null +++ b/buildroot-2022.02.1/package/zip/0008-fix-musl-static-build.patch @@ -0,0 +1,20 @@ +fix musl static build + +Don't define NO_DIR if no directory library is needed + +Signed-off-by: Fabrice Fontaine + +diff -Nura zip30.orig/unix/configure zip30/unix/configure +--- zip30.orig/unix/configure 2021-08-31 21:29:55.219967136 +0200 ++++ zip30/unix/configure 2021-08-31 21:50:48.239280513 +0200 +@@ -569,8 +569,8 @@ + done + if [ ${OPT} ]; then + LFLAGS2="${LFLAGS2} ${OPT}" +- else +- CFLAGS="${CFLAGS} -DNO_DIR" ++ #else ++ # CFLAGS="${CFLAGS} -DNO_DIR" + fi + fi + diff --git a/buildroot-2021.05/package/zip/Config.in b/buildroot-2022.02.1/package/zip/Config.in similarity index 100% rename from buildroot-2021.05/package/zip/Config.in rename to buildroot-2022.02.1/package/zip/Config.in diff --git a/buildroot-2021.05/package/zip/Config.in.host b/buildroot-2022.02.1/package/zip/Config.in.host similarity index 100% rename from buildroot-2021.05/package/zip/Config.in.host rename to buildroot-2022.02.1/package/zip/Config.in.host diff --git a/buildroot-2021.05/package/zip/zip.hash b/buildroot-2022.02.1/package/zip/zip.hash similarity index 100% rename from buildroot-2021.05/package/zip/zip.hash rename to buildroot-2022.02.1/package/zip/zip.hash diff --git a/buildroot-2021.05/package/zip/zip.mk b/buildroot-2022.02.1/package/zip/zip.mk similarity index 100% rename from buildroot-2021.05/package/zip/zip.mk rename to buildroot-2022.02.1/package/zip/zip.mk diff --git a/buildroot-2021.05/package/zisofs-tools/zisofs-tools.hash b/buildroot-2022.02.1/package/zisofs-tools/zisofs-tools.hash similarity index 100% rename from buildroot-2021.05/package/zisofs-tools/zisofs-tools.hash rename to buildroot-2022.02.1/package/zisofs-tools/zisofs-tools.hash diff --git a/buildroot-2021.05/package/zisofs-tools/zisofs-tools.mk b/buildroot-2022.02.1/package/zisofs-tools/zisofs-tools.mk similarity index 100% rename from buildroot-2021.05/package/zisofs-tools/zisofs-tools.mk rename to buildroot-2022.02.1/package/zisofs-tools/zisofs-tools.mk diff --git a/buildroot-2022.02.1/package/zlib-ng/zlib-ng.hash b/buildroot-2022.02.1/package/zlib-ng/zlib-ng.hash new file mode 100644 index 00000000..a799cfe2 --- /dev/null +++ b/buildroot-2022.02.1/package/zlib-ng/zlib-ng.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 8258b75a72303b661a238047cb348203d88d9dddf85d480ed885f375916fcab6 zlib-ng-2.0.6.tar.gz +sha256 d3c80be055d94d798eaa786116e84fa0b010bc11420b5d2060d978ea77845436 LICENSE.md diff --git a/buildroot-2022.02.1/package/zlib-ng/zlib-ng.mk b/buildroot-2022.02.1/package/zlib-ng/zlib-ng.mk new file mode 100644 index 00000000..938acd41 --- /dev/null +++ b/buildroot-2022.02.1/package/zlib-ng/zlib-ng.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# zlib-ng +# +################################################################################ + +ZLIB_NG_VERSION = 2.0.6 +ZLIB_NG_SITE = $(call github,zlib-ng,zlib-ng,$(ZLIB_NG_VERSION)) +ZLIB_NG_LICENSE = Zlib +ZLIB_NG_LICENSE_FILES = LICENSE.md +ZLIB_NG_INSTALL_STAGING = YES +ZLIB_NG_PROVIDES = zlib + +# Build with zlib compatible API, gzFile support and optimizations on +ZLIB_NG_CONF_OPTS += \ + -DWITH_GZFILEOP=1 \ + -DWITH_OPTIM=1 \ + -DZLIB_COMPAT=1 \ + -DZLIB_ENABLE_TESTS=OFF + +# Enable NEON and ACLE on ARM +ifeq ($(BR2_arm),y) +ZLIB_NG_CONF_OPTS += -DWITH_ACLE=1 -DWITH_NEON=1 +endif + +ifeq ($(BR2_powerpc_power8),y) +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=ON +else +ZLIB_NG_CONF_OPTS += -DWITH_POWER8=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2022.02.1/package/zlib/Config.in b/buildroot-2022.02.1/package/zlib/Config.in new file mode 100644 index 00000000..d6d94889 --- /dev/null +++ b/buildroot-2022.02.1/package/zlib/Config.in @@ -0,0 +1,58 @@ +config BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS + bool + default y if BR2_arm + default y if BR2_aarch64 + default y if BR2_i386 + default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le + default y if BR2_riscv + default y if BR2_s390x + default y if BR2_x86_64 + +config BR2_PACKAGE_ZLIB + bool "zlib support" + help + Select the desired Zlib library provider. + +if BR2_PACKAGE_ZLIB + +choice + prompt "zlib variant" + default BR2_PACKAGE_LIBZLIB + help + Select the desired Zlib library provider. + +config BR2_PACKAGE_LIBZLIB + bool "zlib" + select BR2_PACKAGE_HAS_ZLIB + help + Standard (de)compression library. Used by things like + gzip and libpng. + + http://www.zlib.net + +config BR2_PACKAGE_ZLIB_NG + bool "zlib-ng" + depends on BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS + select BR2_PACKAGE_HAS_ZLIB + help + Zlib replacement with optimizations for + "next generation" systems. + + https://github.com/zlib-ng/zlib-ng + +endchoice + +config BR2_PACKAGE_HAS_ZLIB + bool + +config BR2_PACKAGE_PROVIDES_ZLIB + string + default "libzlib" if BR2_PACKAGE_LIBZLIB + default "zlib-ng" if BR2_PACKAGE_ZLIB_NG + +endif + +# ensure libzlib is used for the host variant +config BR2_PACKAGE_PROVIDES_HOST_ZLIB + string + default "host-libzlib" diff --git a/buildroot-2021.05/package/zlib/zlib.mk b/buildroot-2022.02.1/package/zlib/zlib.mk similarity index 100% rename from buildroot-2021.05/package/zlib/zlib.mk rename to buildroot-2022.02.1/package/zlib/zlib.mk diff --git a/buildroot-2021.05/package/zlog/Config.in b/buildroot-2022.02.1/package/zlog/Config.in similarity index 100% rename from buildroot-2021.05/package/zlog/Config.in rename to buildroot-2022.02.1/package/zlog/Config.in diff --git a/buildroot-2021.05/package/zlog/zlog.hash b/buildroot-2022.02.1/package/zlog/zlog.hash similarity index 100% rename from buildroot-2021.05/package/zlog/zlog.hash rename to buildroot-2022.02.1/package/zlog/zlog.hash diff --git a/buildroot-2021.05/package/zlog/zlog.mk b/buildroot-2022.02.1/package/zlog/zlog.mk similarity index 100% rename from buildroot-2021.05/package/zlog/zlog.mk rename to buildroot-2022.02.1/package/zlog/zlog.mk diff --git a/buildroot-2021.05/package/zmqpp/0001-Allow-building-shared-or-static-library-only.patch b/buildroot-2022.02.1/package/zmqpp/0001-Allow-building-shared-or-static-library-only.patch similarity index 100% rename from buildroot-2021.05/package/zmqpp/0001-Allow-building-shared-or-static-library-only.patch rename to buildroot-2022.02.1/package/zmqpp/0001-Allow-building-shared-or-static-library-only.patch diff --git a/buildroot-2021.05/package/zmqpp/Config.in b/buildroot-2022.02.1/package/zmqpp/Config.in similarity index 100% rename from buildroot-2021.05/package/zmqpp/Config.in rename to buildroot-2022.02.1/package/zmqpp/Config.in diff --git a/buildroot-2021.05/package/zmqpp/zmqpp.hash b/buildroot-2022.02.1/package/zmqpp/zmqpp.hash similarity index 100% rename from buildroot-2021.05/package/zmqpp/zmqpp.hash rename to buildroot-2022.02.1/package/zmqpp/zmqpp.hash diff --git a/buildroot-2022.02.1/package/zmqpp/zmqpp.mk b/buildroot-2022.02.1/package/zmqpp/zmqpp.mk new file mode 100644 index 00000000..32fabf26 --- /dev/null +++ b/buildroot-2022.02.1/package/zmqpp/zmqpp.mk @@ -0,0 +1,59 @@ +################################################################################ +# +# zmqpp +# +################################################################################ + +ZMQPP_VERSION = 4.2.0 +ZMQPP_SITE = $(call github,zeromq,zmqpp,$(ZMQPP_VERSION)) +ZMQPP_INSTALL_STAGING = YES +ZMQPP_DEPENDENCIES = zeromq +ZMQPP_LICENSE = MPL-2.0 +ZMQPP_LICENSE_FILES = LICENSE +ZMQPP_MAKE_OPTS = LD="$(TARGET_CXX)" BUILD_PATH=./build PREFIX=/usr +ZMQPP_LDFLAGS = $(TARGET_LDFLAGS) -lpthread + +# gcc bug internal compiler error: in merge_overlapping_regs, at +# regrename.c:304. This bug is fixed since gcc 6. +# By setting CONFIG to empty, all optimizations such as -funroll-loops +# -ffast-math -finline-functions -fomit-frame-pointer are disabled, +# so only set CONFIG for the non-affected cases. +ifneq ($(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:) +ZMQPP_CONFIG = $(if $(BR2_ENABLE_RUNTIME_DEBUG),buildroot,release) +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +ZMQPP_LDFLAGS += -latomic +endif + +ifeq ($(BR2_PACKAGE_ZMQPP_CLIENT),y) +ZMQPP_DEPENDENCIES += boost +endif + +ifeq ($(BR2_STATIC_LIBS),y) +ZMQPP_MAKE_OPTS += BUILD_STATIC=yes BUILD_SHARED=no +else ifeq ($(BR2_SHARED_STATIC_LIBS),y) +ZMQPP_MAKE_OPTS += BUILD_STATIC=yes BUILD_SHARED=yes +else ifeq ($(BR2_SHARED_LIBS),y) +ZMQPP_MAKE_OPTS += BUILD_STATIC=no BUILD_SHARED=yes +endif + +define ZMQPP_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + CONFIG=$(ZMQPP_CONFIG) LDFLAGS="$(ZMQPP_LDFLAGS)" \ + $(ZMQPP_MAKE_OPTS) $(if $(BR2_PACKAGE_ZMQPP_CLIENT),client,library) -C $(@D) +endef + +define ZMQPP_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -d $(TARGET_DIR)/usr/include/zmqpp + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + $(ZMQPP_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install -C $(@D) +endef + +define ZMQPP_INSTALL_STAGING_CMDS + $(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/zmqpp + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + $(ZMQPP_MAKE_OPTS) DESTDIR=$(STAGING_DIR) install -C $(@D) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/package/znc/Config.in b/buildroot-2022.02.1/package/znc/Config.in new file mode 100644 index 00000000..915b5f63 --- /dev/null +++ b/buildroot-2022.02.1/package/znc/Config.in @@ -0,0 +1,17 @@ +config BR2_PACKAGE_ZNC + bool "znc" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_HAS_THREADS + select BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH if BR2_PACKAGE_LIBOPENSSL + help + Advanced IRC bouncer + + http://www.znc.in + +comment "znc needs a toolchain w/ C++, dynamic library, gcc >= 4.8, threads" + depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU diff --git a/buildroot-2021.05/package/znc/znc.hash b/buildroot-2022.02.1/package/znc/znc.hash similarity index 100% rename from buildroot-2021.05/package/znc/znc.hash rename to buildroot-2022.02.1/package/znc/znc.hash diff --git a/buildroot-2021.05/package/znc/znc.mk b/buildroot-2022.02.1/package/znc/znc.mk similarity index 100% rename from buildroot-2021.05/package/znc/znc.mk rename to buildroot-2022.02.1/package/znc/znc.mk diff --git a/buildroot-2021.05/package/zsh/Config.in b/buildroot-2022.02.1/package/zsh/Config.in similarity index 100% rename from buildroot-2021.05/package/zsh/Config.in rename to buildroot-2022.02.1/package/zsh/Config.in diff --git a/buildroot-2022.02.1/package/zsh/zsh.hash b/buildroot-2022.02.1/package/zsh/zsh.hash new file mode 100644 index 00000000..5c661ded --- /dev/null +++ b/buildroot-2022.02.1/package/zsh/zsh.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 b6973520bace600b4779200269b1e5d79e5f505ac4952058c11ad5bbf0dd9919 zsh-5.8.1.tar.xz +sha256 d06fdf3ef9b1ec69d6b9e170b0a9516fbad3523261ff1668bde3bfea6e0ef5f5 LICENCE diff --git a/buildroot-2022.02.1/package/zsh/zsh.mk b/buildroot-2022.02.1/package/zsh/zsh.mk new file mode 100644 index 00000000..c5ab7c2f --- /dev/null +++ b/buildroot-2022.02.1/package/zsh/zsh.mk @@ -0,0 +1,53 @@ +################################################################################ +# +# zsh +# +################################################################################ + +ZSH_VERSION = 5.8.1 +ZSH_SITE = http://www.zsh.org/pub +ZSH_SOURCE = zsh-$(ZSH_VERSION).tar.xz +ZSH_DEPENDENCIES = ncurses +ZSH_CONF_OPTS = --bindir=/bin +ZSH_CONF_ENV = zsh_cv_sys_nis=no zsh_cv_sys_nis_plus=no +ZSH_LICENSE = MIT-like +ZSH_LICENSE_FILES = LICENCE +ZSH_CPE_ID_VENDOR = zsh + +ifeq ($(BR2_PACKAGE_GDBM),y) +ZSH_CONF_OPTS += --enable-gdbm +ZSH_DEPENDENCIES += gdbm +else +ZSH_CONF_OPTS += --disable-gdbm +endif + +ifeq ($(BR2_PACKAGE_LIBCAP),y) +ZSH_CONF_OPTS += --enable-cap +ZSH_DEPENDENCIES += libcap +else +ZSH_CONF_OPTS += --disable-cap +endif + +ifeq ($(BR2_PACKAGE_PCRE),y) +ZSH_CONF_OPTS += --enable-pcre +ZSH_CONF_ENV += ac_cv_prog_PCRECONF=$(STAGING_DIR)/usr/bin/pcre-config +ZSH_DEPENDENCIES += pcre +else +ZSH_CONF_OPTS += --disable-pcre +endif + +# Add /bin/zsh to /etc/shells otherwise some login tools like dropbear +# can reject the user connection. See man shells. +define ZSH_ADD_ZSH_TO_SHELLS + grep -qsE '^/bin/zsh$$' $(TARGET_DIR)/etc/shells \ + || echo "/bin/zsh" >> $(TARGET_DIR)/etc/shells +endef +ZSH_TARGET_FINALIZE_HOOKS += ZSH_ADD_ZSH_TO_SHELLS + +# Remove versioned zsh-x.y.z binary taking up space +define ZSH_TARGET_INSTALL_FIXUPS + rm -f $(TARGET_DIR)/bin/zsh-$(ZSH_VERSION) +endef +ZSH_POST_INSTALL_TARGET_HOOKS += ZSH_TARGET_INSTALL_FIXUPS + +$(eval $(autotools-package)) diff --git a/buildroot-2021.05/package/zstd/Config.in b/buildroot-2022.02.1/package/zstd/Config.in similarity index 100% rename from buildroot-2021.05/package/zstd/Config.in rename to buildroot-2022.02.1/package/zstd/Config.in diff --git a/buildroot-2021.05/package/zstd/Config.in.host b/buildroot-2022.02.1/package/zstd/Config.in.host similarity index 100% rename from buildroot-2021.05/package/zstd/Config.in.host rename to buildroot-2022.02.1/package/zstd/Config.in.host diff --git a/buildroot-2022.02.1/package/zstd/zstd.hash b/buildroot-2022.02.1/package/zstd/zstd.hash new file mode 100644 index 00000000..eca44b89 --- /dev/null +++ b/buildroot-2022.02.1/package/zstd/zstd.hash @@ -0,0 +1,6 @@ +# From https://github.com/facebook/zstd/releases/download/v1.5.2/zstd-1.5.2.tar.gz.sha256 +sha256 7c42d56fac126929a6a85dbc73ff1db2411d04f104fae9bdea51305663a83fd0 zstd-1.5.2.tar.gz + +# License files (locally computed) +sha256 2c1a7fa704df8f3a606f6fc010b8b5aaebf403f3aeec339a12048f1ba7331a0b LICENSE +sha256 f9c375a1be4a41f7b70301dd83c91cb89e41567478859b77eef375a52d782505 COPYING diff --git a/buildroot-2022.02.1/package/zstd/zstd.mk b/buildroot-2022.02.1/package/zstd/zstd.mk new file mode 100644 index 00000000..a4bbada8 --- /dev/null +++ b/buildroot-2022.02.1/package/zstd/zstd.mk @@ -0,0 +1,107 @@ +################################################################################ +# +# zstd +# +################################################################################ + +ZSTD_VERSION = 1.5.2 +ZSTD_SITE = https://github.com/facebook/zstd/releases/download/v$(ZSTD_VERSION) +ZSTD_INSTALL_STAGING = YES +ZSTD_LICENSE = BSD-3-Clause or GPL-2.0 +ZSTD_LICENSE_FILES = LICENSE COPYING +ZSTD_CPE_ID_VENDOR = facebook +ZSTD_CPE_ID_PRODUCT = zstandard + +ZSTD_OPTS += PREFIX=/usr +ZSTD_OPTS += ZSTD_LEGACY_SUPPORT=0 +ifeq ($(BR2_PACKAGE_ZLIB),y) +ZSTD_DEPENDENCIES += zlib +ZSTD_OPTS += HAVE_ZLIB=1 +else +ZSTD_OPTS += HAVE_ZLIB=0 +endif + +ifeq ($(BR2_PACKAGE_XZ),y) +ZSTD_DEPENDENCIES += xz +ZSTD_OPTS += HAVE_LZMA=1 +else +ZSTD_OPTS += HAVE_LZMA=0 +endif + +ifeq ($(BR2_PACKAGE_LZ4),y) +ZSTD_DEPENDENCIES += lz4 +ZSTD_OPTS += HAVE_LZ4=1 +else +ZSTD_OPTS += HAVE_LZ4=0 +endif + +# zstd will append -O3 after $(CFLAGS), use MOREFLAGS to override again +ZSTD_OPTS += MOREFLAGS="$(TARGET_OPTIMIZATION)" + +ifeq ($(BR2_STATIC_LIBS),y) +ZSTD_BUILD_LIBS = libzstd.a +ZSTD_INSTALL_LIBS = install-static +else ifeq ($(BR2_SHARED_LIBS),y) +ZSTD_BUILD_LIBS = lib +ZSTD_INSTALL_LIBS = install-shared +else +ZSTD_BUILD_LIBS = lib +ZSTD_INSTALL_LIBS = install-static install-shared +endif + +# prefer zstd-dll unless no library is available +ifeq ($(BR2_STATIC_LIBS),y) +ZSTD_BUILD_PROG_TARGET = zstd-release +else +ZSTD_BUILD_PROG_TARGET = zstd-dll +endif + +# The HAVE_THREAD flag is read by the 'programs' makefile but not by the 'lib' +# one. Building a multi-threaded binary with a static library (which defaults +# to single-threaded) gives a runtime error when compressing files. +# The 'lib' makefile provides specific '%-mt' and '%-nomt' targets for this +# purpose. +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +ZSTD_OPTS += HAVE_THREAD=1 +ZSTD_BUILD_LIBS := $(addsuffix -mt,$(ZSTD_BUILD_LIBS)) +else +ZSTD_OPTS += HAVE_THREAD=0 +ZSTD_BUILD_LIBS := $(addsuffix -nomt,$(ZSTD_BUILD_LIBS)) +endif +# check-package disable OverriddenVariable - override intended +ZSTD_BUILD_LIBS := $(addsuffix -release,$(ZSTD_BUILD_LIBS)) + +define ZSTD_BUILD_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ + -C $(@D)/lib $(ZSTD_BUILD_LIBS) libzstd.pc + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ + -C $(@D)/programs $(ZSTD_BUILD_PROG_TARGET) +endef + +define ZSTD_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ + DESTDIR=$(STAGING_DIR) PREFIX=/usr -C $(@D)/lib \ + install-pc install-includes $(ZSTD_INSTALL_LIBS) +endef + +define ZSTD_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ + DESTDIR=$(TARGET_DIR) -C $(@D)/programs install + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) $(ZSTD_OPTS) \ + DESTDIR=$(TARGET_DIR) -C $(@D)/lib $(ZSTD_INSTALL_LIBS) +endef + +HOST_ZSTD_OPTS += PREFIX=$(HOST_DIR) + +define HOST_ZSTD_BUILD_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \ + -C $(@D) zstd-release lib-release +endef + +define HOST_ZSTD_INSTALL_CMDS + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) $(HOST_ZSTD_OPTS) \ + -C $(@D) install +endef + +$(eval $(generic-package)) +$(eval $(host-generic-package)) diff --git a/buildroot-2021.05/package/zxing-cpp/0001-Link-library-with-OpenCV-make-libs-private-not-exported-to-the-users.patch b/buildroot-2022.02.1/package/zxing-cpp/0001-Link-library-with-OpenCV-make-libs-private-not-exported-to-the-users.patch similarity index 100% rename from buildroot-2021.05/package/zxing-cpp/0001-Link-library-with-OpenCV-make-libs-private-not-exported-to-the-users.patch rename to buildroot-2022.02.1/package/zxing-cpp/0001-Link-library-with-OpenCV-make-libs-private-not-exported-to-the-users.patch diff --git a/buildroot-2021.05/package/zxing-cpp/0002-CMakeLists-txt-add-BUILD_OPENCV-option.patch b/buildroot-2022.02.1/package/zxing-cpp/0002-CMakeLists-txt-add-BUILD_OPENCV-option.patch similarity index 100% rename from buildroot-2021.05/package/zxing-cpp/0002-CMakeLists-txt-add-BUILD_OPENCV-option.patch rename to buildroot-2022.02.1/package/zxing-cpp/0002-CMakeLists-txt-add-BUILD_OPENCV-option.patch diff --git a/buildroot-2021.05/package/zxing-cpp/Config.in b/buildroot-2022.02.1/package/zxing-cpp/Config.in similarity index 100% rename from buildroot-2021.05/package/zxing-cpp/Config.in rename to buildroot-2022.02.1/package/zxing-cpp/Config.in diff --git a/buildroot-2021.05/package/zxing-cpp/zxing-cpp.hash b/buildroot-2022.02.1/package/zxing-cpp/zxing-cpp.hash similarity index 100% rename from buildroot-2021.05/package/zxing-cpp/zxing-cpp.hash rename to buildroot-2022.02.1/package/zxing-cpp/zxing-cpp.hash diff --git a/buildroot-2021.05/package/zxing-cpp/zxing-cpp.mk b/buildroot-2022.02.1/package/zxing-cpp/zxing-cpp.mk similarity index 100% rename from buildroot-2021.05/package/zxing-cpp/zxing-cpp.mk rename to buildroot-2022.02.1/package/zxing-cpp/zxing-cpp.mk diff --git a/buildroot-2022.02.1/package/zynaddsubfx/Config.in b/buildroot-2022.02.1/package/zynaddsubfx/Config.in new file mode 100644 index 00000000..f181a239 --- /dev/null +++ b/buildroot-2022.02.1/package/zynaddsubfx/Config.in @@ -0,0 +1,30 @@ +config BR2_PACKAGE_ZYNADDSUBFX + bool "zynaddsubfx" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11 + depends on BR2_TOOLCHAIN_HAS_THREADS # liblo + select BR2_PACKAGE_FFTW + select BR2_PACKAGE_FFTW_SINGLE + select BR2_PACKAGE_LIBLO + select BR2_PACKAGE_MXML + select BR2_PACKAGE_ZLIB + help + ZynAddSubFX is a fully featured open source software + synthesizer capable of making a countless number of + instruments, from some common heard from expensive hardware + to interesting sounds that you'll boost to an amazing + universe of sounds. + + Note: this Buildroot package does not include the graphical + user interface. It is meant to be executed as a headless + daemon to be controlled with MIDI events or network OSC + (Open Sound Control) events. OSC events can be generated + from an external system with the ZynAddSubFX external GUI + program zynaddsubfx-ext-gui. + + https://zynaddsubfx.sourceforge.io/ + +comment "zynaddsubfx needs a toolchain w/ C++11 and threads" + depends on !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ + !BR2_TOOLCHAIN_HAS_THREADS diff --git a/buildroot-2022.02.1/package/zynaddsubfx/zynaddsubfx.hash b/buildroot-2022.02.1/package/zynaddsubfx/zynaddsubfx.hash new file mode 100644 index 00000000..2465d0b8 --- /dev/null +++ b/buildroot-2022.02.1/package/zynaddsubfx/zynaddsubfx.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 cbd160778f6cf147f9b0487719edc5197a1404f46d7c7bfd89e153f0d8ce71ae zynaddsubfx-3.0.6.tar.bz2 +sha256 c9bf7643726da4f149e9669cf6f00257e4b3a173e4ab307461b8bd42717dd9a4 COPYING diff --git a/buildroot-2022.02.1/package/zynaddsubfx/zynaddsubfx.mk b/buildroot-2022.02.1/package/zynaddsubfx/zynaddsubfx.mk new file mode 100644 index 00000000..aff9ac4b --- /dev/null +++ b/buildroot-2022.02.1/package/zynaddsubfx/zynaddsubfx.mk @@ -0,0 +1,47 @@ +################################################################################ +# +# zynaddsubfx +# +################################################################################ + +ZYNADDSUBFX_VERSION = 3.0.6 +ZYNADDSUBFX_SOURCE = zynaddsubfx-$(ZYNADDSUBFX_VERSION).tar.bz2 +ZYNADDSUBFX_SITE = http://downloads.sourceforge.net/zynaddsubfx +ZYNADDSUBFX_LICENSE = GPL-2.0+ +ZYNADDSUBFX_LICENSE_FILES = COPYING + +# There is no package in buildroot using LV2 plugins: disabling +ZYNADDSUBFX_CONF_OPTS = -DCompileTests=OFF -DPluginEnable=OFF + +ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) +ZYNADDSUBFX_CONF_OPTS += -DOS_LIBRARIES=-latomic +endif + +ZYNADDSUBFX_DEPENDENCIES = \ + fftw-single \ + liblo \ + mxml \ + zlib + +ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ),y) +ZYNADDSUBFX_DEPENDENCIES += alsa-lib +ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=ON +else +ZYNADDSUBFX_CONF_OPTS += -DAlsaEnable=OFF +endif + +ifeq ($(BR2_PACKAGE_JACK1)$(BR2_PACKAGE_JACK2),y) +ZYNADDSUBFX_DEPENDENCIES += $(if $(BR2_PACKAGE_JACK1),jack1,jack2) +ZYNADDSUBFX_CONF_OPTS += -DJackEnable=ON +else +ZYNADDSUBFX_CONF_OPTS += -DJackEnable=OFF +endif + +ifeq ($(BR2_PACKAGE_PORTAUDIO),y) +ZYNADDSUBFX_DEPENDENCIES += portaudio +ZYNADDSUBFX_CONF_OPTS += -DPaEnable=ON +else +ZYNADDSUBFX_CONF_OPTS += -DPaEnable=OFF +endif + +$(eval $(cmake-package)) diff --git a/buildroot-2021.05/package/zyre/Config.in b/buildroot-2022.02.1/package/zyre/Config.in similarity index 100% rename from buildroot-2021.05/package/zyre/Config.in rename to buildroot-2022.02.1/package/zyre/Config.in diff --git a/buildroot-2021.05/package/zyre/zyre.hash b/buildroot-2022.02.1/package/zyre/zyre.hash similarity index 100% rename from buildroot-2021.05/package/zyre/zyre.hash rename to buildroot-2022.02.1/package/zyre/zyre.hash diff --git a/buildroot-2021.05/package/zyre/zyre.mk b/buildroot-2022.02.1/package/zyre/zyre.mk similarity index 100% rename from buildroot-2021.05/package/zyre/zyre.mk rename to buildroot-2022.02.1/package/zyre/zyre.mk diff --git a/buildroot-2022.02.1/package/zziplib/0001-implant-ZZIP_LIBLATEST-for-zzip_lib.patch b/buildroot-2022.02.1/package/zziplib/0001-implant-ZZIP_LIBLATEST-for-zzip_lib.patch new file mode 100644 index 00000000..780d990a --- /dev/null +++ b/buildroot-2022.02.1/package/zziplib/0001-implant-ZZIP_LIBLATEST-for-zzip_lib.patch @@ -0,0 +1,75 @@ +From 0e8d35f92efb680c81f6ec1fca9f11d173dce389 Mon Sep 17 00:00:00 2001 +From: Guido Draheim +Date: Sat, 22 May 2021 15:13:28 +0200 +Subject: [PATCH] #117 implant ZZIP_LIBLATEST for zzip.lib + +[Andreas: Extract link creation for versioned libraries from commit +0e8d35f92efb680c81f6ec1fca9f11d173dce389.] +Signed-off-by: Andreas Ziegler +--- + zzip/CMakeLists.txt | 57 +++++++++++++++++++++++++++++++++++---------- + 1 file changed, 45 insertions(+), 12 deletions(-) + +diff --git a/zzip/CMakeLists.txt b/zzip/CMakeLists.txt +index a966d5f..ccd08b6 100644 +--- a/zzip/CMakeLists.txt ++++ b/zzip/CMakeLists.txt +@@ -28,6 +28,12 @@ option(ZZIP_LIBTOOL "Ensure binary compatibility with libtool" OFF) + option(ZZIP_PKGCONFIG "Generate pkg-config files for linking" OFF) + endif() + ++if(ZZIP_LIBTOOL OR ZZIP_PKGCONFIG) ++option(ZZIP_LIBLATEST "Ensure libname.lib links to libname-REL.lib" ON) ++else() ++option(ZZIP_LIBLATEST "Ensure libname.lib links to libname-REL.lib" OFF) ++endif() ++ + # used in zzip/_config.h + set(ZZIP_PACKAGE "${PROJECT_NAME}lib") + set(ZZIP_VERSION "${PROJECT_VERSION}") +@@ -346,6 +340,45 @@ if(ZZIP_LIBTOOL) + endif(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG) + endif(ZZIP_LIBTOOL) + ++if(ZZIP_LIBLATEST) ++ if(BUILD_SHARED_LIBS) ++ set(lib ${CMAKE_SHARED_LIBRARY_PREFIX}) ++ set(dll ${CMAKE_SHARED_LIBRARY_SUFFIX}) ++ else() ++ set(lib ${CMAKE_STATIC_LIBRARY_PREFIX}) ++ set(dll ${CMAKE_STATIC_LIBRARY_SUFFIX}) ++ endif() ++ get_target_property(libname libzzip OUTPUT_NAME) ++ get_target_property(librelease libzzip RELEASE_POSTFIX) ++ add_custom_target(libzzip_latest ALL ++ COMMAND ${CMAKE_COMMAND} -E create_symlink $ ${lib}${libname}${dll} ++ ) ++ install(FILES ++ ${outdir}/${lib}${libname}${dll} ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++ if(ZZIPFSEEKO) ++ get_target_property(libname libzzipfseeko OUTPUT_NAME) ++ get_target_property(librelease libzzipfseeko RELEASE_POSTFIX) ++ add_custom_target(libzzipfseeko_latest ALL ++ COMMAND ${CMAKE_COMMAND} -E create_symlink $ ${lib}${libname}${dll} ++ ) ++ install(FILES ++ ${outdir}/${lib}${libname}${dll} ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++ endif(ZZIPFSEEKO) ++ if(ZZIPMMAPPED) ++ get_target_property(libname libzzipmmapped OUTPUT_NAME) ++ get_target_property(librelease libzzipmmapped RELEASE_POSTFIX) ++ add_custom_target(libzzipmmaped_latest ALL ++ COMMAND ${CMAKE_COMMAND} -E create_symlink $ ${lib}${libname}${dll} ++ ) ++ install(FILES ++ ${outdir}/${lib}${libname}${dll} ++ DESTINATION ${CMAKE_INSTALL_LIBDIR}) ++ endif(ZZIPMMAPPED) ++endif(ZZIP_LIBLATEST) ++ ++ + ## messages ############################################## + + message(STATUS "lib zzipfseeko to be compiled: ${ZZIPFSEEKO}") diff --git a/buildroot-2021.05/package/zziplib/Config.in b/buildroot-2022.02.1/package/zziplib/Config.in similarity index 100% rename from buildroot-2021.05/package/zziplib/Config.in rename to buildroot-2022.02.1/package/zziplib/Config.in diff --git a/buildroot-2021.05/package/zziplib/zziplib.hash b/buildroot-2022.02.1/package/zziplib/zziplib.hash similarity index 100% rename from buildroot-2021.05/package/zziplib/zziplib.hash rename to buildroot-2022.02.1/package/zziplib/zziplib.hash diff --git a/buildroot-2021.05/package/zziplib/zziplib.mk b/buildroot-2022.02.1/package/zziplib/zziplib.mk similarity index 100% rename from buildroot-2021.05/package/zziplib/zziplib.mk rename to buildroot-2022.02.1/package/zziplib/zziplib.mk diff --git a/buildroot-2021.05/support/config-fragments/autobuild/andes-nds32.config b/buildroot-2022.02.1/support/config-fragments/autobuild/andes-nds32.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/andes-nds32.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/andes-nds32.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/arm-aarch64.config b/buildroot-2022.02.1/support/config-fragments/autobuild/arm-aarch64.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/arm-aarch64.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/arm-aarch64.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-aarch64-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-aarch64-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-aarch64-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-aarch64-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-arcle-hs38-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-arcle-hs38-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-arcle-hs38-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-arcle-hs38-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-armv5-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-armv5-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-armv5-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-armv5-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-armv7-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-armv7-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-armv7-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-armv7-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-armv7-musl.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-armv7-musl.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-armv7-musl.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-armv7-musl.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-armv7m-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-armv7m-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-armv7m-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-armv7m-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-m68k-5208-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-m68k-5208-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-m68k-5208-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-m68k-5208-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-m68k-68040-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-m68k-68040-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-m68k-68040-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-m68k-68040-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-microblazeel-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-microblazeel-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-microblazeel-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-microblazeel-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-mipsel-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-mipsel-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-mipsel-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-mipsel-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-mipsel32r6-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-mipsel32r6-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-mipsel32r6-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-mipsel32r6-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-nios2-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-nios2-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-nios2-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-nios2-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-openrisc-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-openrisc-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-openrisc-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-openrisc-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-powerpc-e500mc-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-powerpc-e500mc-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-powerpc-e500mc-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-powerpc-e500mc-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-powerpc64le-power8-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-powerpc64le-power8-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-powerpc64le-power8-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-powerpc64le-power8-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-riscv32-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-riscv32-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-riscv32-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-riscv32-glibc.config diff --git a/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-riscv64-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-riscv64-glibc.config new file mode 100644 index 00000000..433a6e89 --- /dev/null +++ b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-riscv64-glibc.config @@ -0,0 +1,5 @@ +BR2_riscv=y +BR2_RISCV_ABI_LP64D=y +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y +BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_BLEEDING_EDGE=y diff --git a/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-riscv64-musl.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-riscv64-musl.config new file mode 100644 index 00000000..fee1f29f --- /dev/null +++ b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-riscv64-musl.config @@ -0,0 +1,4 @@ +BR2_riscv=y +BR2_RISCV_ABI_LP64D=y +BR2_TOOLCHAIN_EXTERNAL=y +BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_STABLE=y diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-sh4-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-sh4-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-sh4-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-sh4-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-sparc-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-sparc-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-sparc-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-sparc-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-sparc64-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-sparc64-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-sparc64-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-sparc64-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-x86-64-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-x86-64-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-x86-64-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-x86-64-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-x86-64-musl.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-x86-64-musl.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-x86-64-musl.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-x86-64-musl.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-x86-64-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-x86-64-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-x86-64-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-x86-64-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/bootlin-xtensa-uclibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-xtensa-uclibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/bootlin-xtensa-uclibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/bootlin-xtensa-uclibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-arc-full-internal.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arc-full-internal.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-arc-full-internal.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-arc-full-internal.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-arc-internal-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arc-internal-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-arc-internal-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-arc-internal-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-arm-basic.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-basic.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-arm-basic.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-basic.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-arm-full-nothread.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-full-nothread.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-arm-full-nothread.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-full-nothread.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-arm-full-static.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-full-static.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-arm-full-static.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-full-static.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-arm-internal-full.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-internal-full.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-arm-internal-full.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-internal-full.config diff --git a/buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-internal-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-internal-glibc.config new file mode 100644 index 00000000..fb930cbe --- /dev/null +++ b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-internal-glibc.config @@ -0,0 +1,6 @@ +BR2_arm=y +BR2_cortex_a8=y +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_BINUTILS_VERSION_2_36_X=y +BR2_GCC_VERSION_11_X=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-arm-internal-musl.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-internal-musl.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-arm-internal-musl.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-arm-internal-musl.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-i386-pentium-mmx-musl.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-i386-pentium-mmx-musl.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-i386-pentium-mmx-musl.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-i386-pentium-mmx-musl.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-i386-pentium4-full.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-i386-pentium4-full.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-i386-pentium4-full.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-i386-pentium4-full.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-microblazeel-full-internal.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-microblazeel-full-internal.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-microblazeel-full-internal.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-microblazeel-full-internal.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-mips64-n64-full.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-mips64-n64-full.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-mips64-n64-full.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-mips64-n64-full.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-mips64r6-el-hf-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-mips64r6-el-hf-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-mips64r6-el-hf-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-mips64r6-el-hf-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-powerpc-603e-basic-cpp.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-powerpc-603e-basic-cpp.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-powerpc-603e-basic-cpp.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-powerpc-603e-basic-cpp.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-powerpc-internal-full.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-powerpc-internal-full.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-powerpc-internal-full.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-powerpc-internal-full.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-powerpc64-power7-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-powerpc64-power7-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-powerpc64-power7-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-powerpc64-power7-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-riscv64-full-internal.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-riscv64-full-internal.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-riscv64-full-internal.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-riscv64-full-internal.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-s390x-z13-internal-glibc.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-s390x-z13-internal-glibc.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-s390x-z13-internal-glibc.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-s390x-z13-internal-glibc.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/br-xtensa-full-internal.config b/buildroot-2022.02.1/support/config-fragments/autobuild/br-xtensa-full-internal.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/br-xtensa-full-internal.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/br-xtensa-full-internal.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/linaro-aarch64-be.config b/buildroot-2022.02.1/support/config-fragments/autobuild/linaro-aarch64-be.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/linaro-aarch64-be.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/linaro-aarch64-be.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/linaro-aarch64.config b/buildroot-2022.02.1/support/config-fragments/autobuild/linaro-aarch64.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/linaro-aarch64.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/linaro-aarch64.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/linaro-arm.config b/buildroot-2022.02.1/support/config-fragments/autobuild/linaro-arm.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/linaro-arm.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/linaro-arm.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/sourcery-arm-armv4t.config b/buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-arm-armv4t.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/sourcery-arm-armv4t.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-arm-armv4t.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/sourcery-arm-thumb2.config b/buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-arm-thumb2.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/sourcery-arm-thumb2.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-arm-thumb2.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/sourcery-arm.config b/buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-arm.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/sourcery-arm.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-arm.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/sourcery-mips.config b/buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-mips.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/sourcery-mips.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-mips.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/sourcery-mips64.config b/buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-mips64.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/sourcery-mips64.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-mips64.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/sourcery-nios2.config b/buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-nios2.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/sourcery-nios2.config rename to buildroot-2022.02.1/support/config-fragments/autobuild/sourcery-nios2.config diff --git a/buildroot-2021.05/support/config-fragments/autobuild/toolchain-configs.csv b/buildroot-2022.02.1/support/config-fragments/autobuild/toolchain-configs.csv similarity index 100% rename from buildroot-2021.05/support/config-fragments/autobuild/toolchain-configs.csv rename to buildroot-2022.02.1/support/config-fragments/autobuild/toolchain-configs.csv diff --git a/buildroot-2021.05/support/config-fragments/minimal.config b/buildroot-2022.02.1/support/config-fragments/minimal.config similarity index 100% rename from buildroot-2021.05/support/config-fragments/minimal.config rename to buildroot-2022.02.1/support/config-fragments/minimal.config diff --git a/buildroot-2021.05/support/dependencies/check-host-asciidoc.sh b/buildroot-2022.02.1/support/dependencies/check-host-asciidoc.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-asciidoc.sh rename to buildroot-2022.02.1/support/dependencies/check-host-asciidoc.sh diff --git a/buildroot-2021.05/support/dependencies/check-host-bison-flex.mk b/buildroot-2022.02.1/support/dependencies/check-host-bison-flex.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-bison-flex.mk rename to buildroot-2022.02.1/support/dependencies/check-host-bison-flex.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-cmake.mk b/buildroot-2022.02.1/support/dependencies/check-host-cmake.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-cmake.mk rename to buildroot-2022.02.1/support/dependencies/check-host-cmake.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-cmake.sh b/buildroot-2022.02.1/support/dependencies/check-host-cmake.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-cmake.sh rename to buildroot-2022.02.1/support/dependencies/check-host-cmake.sh diff --git a/buildroot-2021.05/support/dependencies/check-host-coreutils.mk b/buildroot-2022.02.1/support/dependencies/check-host-coreutils.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-coreutils.mk rename to buildroot-2022.02.1/support/dependencies/check-host-coreutils.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-coreutils.sh b/buildroot-2022.02.1/support/dependencies/check-host-coreutils.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-coreutils.sh rename to buildroot-2022.02.1/support/dependencies/check-host-coreutils.sh diff --git a/buildroot-2021.05/support/dependencies/check-host-gzip.mk b/buildroot-2022.02.1/support/dependencies/check-host-gzip.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-gzip.mk rename to buildroot-2022.02.1/support/dependencies/check-host-gzip.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-gzip.sh b/buildroot-2022.02.1/support/dependencies/check-host-gzip.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-gzip.sh rename to buildroot-2022.02.1/support/dependencies/check-host-gzip.sh diff --git a/buildroot-2021.05/support/dependencies/check-host-lzip.mk b/buildroot-2022.02.1/support/dependencies/check-host-lzip.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-lzip.mk rename to buildroot-2022.02.1/support/dependencies/check-host-lzip.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-lzip.sh b/buildroot-2022.02.1/support/dependencies/check-host-lzip.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-lzip.sh rename to buildroot-2022.02.1/support/dependencies/check-host-lzip.sh diff --git a/buildroot-2021.05/support/dependencies/check-host-make.mk b/buildroot-2022.02.1/support/dependencies/check-host-make.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-make.mk rename to buildroot-2022.02.1/support/dependencies/check-host-make.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-make.sh b/buildroot-2022.02.1/support/dependencies/check-host-make.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-make.sh rename to buildroot-2022.02.1/support/dependencies/check-host-make.sh diff --git a/buildroot-2021.05/support/dependencies/check-host-python3.mk b/buildroot-2022.02.1/support/dependencies/check-host-python3.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-python3.mk rename to buildroot-2022.02.1/support/dependencies/check-host-python3.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-python3.sh b/buildroot-2022.02.1/support/dependencies/check-host-python3.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-python3.sh rename to buildroot-2022.02.1/support/dependencies/check-host-python3.sh diff --git a/buildroot-2021.05/support/dependencies/check-host-tar.mk b/buildroot-2022.02.1/support/dependencies/check-host-tar.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-tar.mk rename to buildroot-2022.02.1/support/dependencies/check-host-tar.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-tar.sh b/buildroot-2022.02.1/support/dependencies/check-host-tar.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-tar.sh rename to buildroot-2022.02.1/support/dependencies/check-host-tar.sh diff --git a/buildroot-2021.05/support/dependencies/check-host-xzcat.mk b/buildroot-2022.02.1/support/dependencies/check-host-xzcat.mk similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-xzcat.mk rename to buildroot-2022.02.1/support/dependencies/check-host-xzcat.mk diff --git a/buildroot-2021.05/support/dependencies/check-host-xzcat.sh b/buildroot-2022.02.1/support/dependencies/check-host-xzcat.sh similarity index 100% rename from buildroot-2021.05/support/dependencies/check-host-xzcat.sh rename to buildroot-2022.02.1/support/dependencies/check-host-xzcat.sh diff --git a/buildroot-2022.02.1/support/dependencies/dependencies.mk b/buildroot-2022.02.1/support/dependencies/dependencies.mk new file mode 100644 index 00000000..a7bb1a60 --- /dev/null +++ b/buildroot-2022.02.1/support/dependencies/dependencies.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# Check buildroot dependencies and bail out if the user's +# system is judged to be lacking.... +# +################################################################################ + +ifeq ($(BR2_FORCE_HOST_BUILD),y) +# ignore all available host packages +define suitable-host-package +endef +else +# suitable-host-pkg: calls check-host-$(1).sh shell script. Parameter (2) +# can be the candidate to be checked. If not present, the check-host-$(1).sh +# script should use 'which' to find a candidate. The script should return +# the path to the suitable host tool, or nothing if no suitable tool was found. +define suitable-host-package +$(if $(1),$(shell support/dependencies/check-host-$(1).sh $(2))) +endef +endif +# host utilities needs host-tar to extract the source code tarballs, so +# ensure check-host-tar.mk is included before the rest +include support/dependencies/check-host-tar.mk +-include $(sort $(filter-out %-tar.mk,$(wildcard support/dependencies/check-host-*.mk))) + +dependencies: + @MAKE="$(MAKE)" DL_TOOLS="$(sort $(DL_TOOLS_DEPENDENCIES))" \ + $(TOPDIR)/support/dependencies/dependencies.sh + +################################################################################ +# +# Toplevel Makefile options +# +################################################################################ +.PHONY: dependencies diff --git a/buildroot-2022.02.1/support/dependencies/dependencies.sh b/buildroot-2022.02.1/support/dependencies/dependencies.sh new file mode 100755 index 00000000..c604a9ef --- /dev/null +++ b/buildroot-2022.02.1/support/dependencies/dependencies.sh @@ -0,0 +1,306 @@ +#!/bin/sh +# vi: set sw=4 ts=4: + +export LC_ALL=C +TAB="$(printf '\t')" +NL=" +" + +# Verify that grep works +echo "WORKS" | grep "WORKS" >/dev/null 2>&1 +if test $? != 0 ; then + echo + echo "grep doesn't work" + exit 1 +fi + +# Sanity check for CWD in LD_LIBRARY_PATH +case ":${LD_LIBRARY_PATH:-unset}:" in +(*::*|*:.:*) + echo + echo "You seem to have the current working directory in your" + echo "LD_LIBRARY_PATH environment variable. This doesn't work." + exit 1 + ;; +esac + +# Sanity check for CWD in PATH. Having the current working directory +# in the PATH makes various packages (e.g. toolchain, coreutils...) +# build process break. +# PATH should not contain a newline, otherwise it fails in spectacular +# ways as soon as PATH is referenced in a package rule +# An empty PATH is technically possible, but in practice we would not +# even arrive here if that was the case. +case ":${PATH:-unset}:" in +(*::*|*:.:*) + echo + echo "You seem to have the current working directory in your" + echo "PATH environment variable. This doesn't work." + exit 1 + ;; +(*" "*|*"${TAB}"*|*"${NL}"*) + printf "\n" + printf "Your PATH contains spaces, TABs, and/or newline (\\\n) characters.\n" + printf "This doesn't work. Fix you PATH.\n" + exit 1 + ;; +esac + +if test -n "$PERL_MM_OPT" ; then + echo + echo "You have PERL_MM_OPT defined because Perl local::lib" + echo "is installed on your system. Please unset this variable" + echo "before starting Buildroot, otherwise the compilation of" + echo "Perl related packages will fail" + exit 1 +fi + +check_prog_host() +{ + prog="$1" + if ! which $prog > /dev/null ; then + echo >&2 + echo "You must install '$prog' on your build machine" >&2 + exit 1 + fi +} + +# Verify that which is installed +check_prog_host "which" +# Verify that sed is installed +check_prog_host "sed" + +# 'file' must be present and must be exactly /usr/bin/file, +# otherwise libtool fails in incomprehensible ways. +check_prog_host "/usr/bin/file" + +# Check make +MAKE=$(which make 2> /dev/null) +if [ -z "$MAKE" ] ; then + echo + echo "You must install 'make' on your build machine"; + exit 1; +fi; +MAKE_VERSION=$($MAKE --version 2>&1 | sed -e 's/^.* \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q') +if [ -z "$MAKE_VERSION" ] ; then + echo + echo "You must install 'make' on your build machine"; + exit 1; +fi; +MAKE_MAJOR=$(echo $MAKE_VERSION | sed -e "s/\..*//g") +MAKE_MINOR=$(echo $MAKE_VERSION | sed -e "s/^$MAKE_MAJOR\.//g" -e "s/\..*//g" -e "s/[a-zA-Z].*//g") +if [ $MAKE_MAJOR -lt 3 ] || [ $MAKE_MAJOR -eq 3 -a $MAKE_MINOR -lt 81 ] ; then + echo + echo "You have make '$MAKE_VERSION' installed. GNU make >=3.81 is required" + exit 1; +fi; + +# Check host gcc +COMPILER=$(which $HOSTCC_NOCCACHE 2> /dev/null) +if [ -z "$COMPILER" ] ; then + COMPILER=$(which cc 2> /dev/null) +fi; +if [ -z "$COMPILER" ] ; then + echo + echo "You must install 'gcc' on your build machine"; + exit 1; +fi; + +COMPILER_VERSION=$($COMPILER -v 2>&1 | sed -n '/^gcc version/p' | + sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q') +if [ -z "$COMPILER_VERSION" ] ; then + echo + echo "You must install 'gcc' on your build machine"; + exit 1; +fi; +COMPILER_MAJOR=$(echo $COMPILER_VERSION | sed -e "s/\..*//g") +COMPILER_MINOR=$(echo $COMPILER_VERSION | sed -e "s/^$COMPILER_MAJOR\.//g" -e "s/\..*//g") +if [ $COMPILER_MAJOR -lt 4 -o $COMPILER_MAJOR -eq 4 -a $COMPILER_MINOR -lt 8 ] ; then + echo + echo "You have gcc '$COMPILER_VERSION' installed. gcc >= 4.8 is required" + exit 1; +fi; + +# check for host CXX +CXXCOMPILER=$(which $HOSTCXX_NOCCACHE 2> /dev/null) +if [ -z "$CXXCOMPILER" ] ; then + CXXCOMPILER=$(which c++ 2> /dev/null) +fi + +if [ -z "$CXXCOMPILER" ] ; then + echo + echo "You may have to install 'g++' on your build machine" +fi +if [ ! -z "$CXXCOMPILER" ] ; then + CXXCOMPILER_VERSION=$($CXXCOMPILER -v 2>&1 | sed -n '/^gcc version/p' | + sed -e 's/^gcc version \([0-9\.]\)/\1/g' -e 's/[-\ ].*//g' -e '1q') + if [ -z "$CXXCOMPILER_VERSION" ] ; then + echo + echo "You may have to install 'g++' on your build machine" + fi +fi + +if [ -n "$CXXCOMPILER_VERSION" ] ; then + CXXCOMPILER_MAJOR=$(echo $CXXCOMPILER_VERSION | sed -e "s/\..*//g") + CXXCOMPILER_MINOR=$(echo $CXXCOMPILER_VERSION | sed -e "s/^$CXXCOMPILER_MAJOR\.//g" -e "s/\..*//g") + if [ $CXXCOMPILER_MAJOR -lt 4 -o $CXXCOMPILER_MAJOR -eq 4 -a $CXXCOMPILER_MINOR -lt 8 ] ; then + echo + echo "You have g++ '$CXXCOMPILER_VERSION' installed. g++ >= 4.8 is required" + exit 1 + fi +fi + +# Check bash +# We only check bash is available, setting SHELL appropriately is done +# in the top-level Makefile, and we mimick the same sequence here +if [ -n "${BASH}" ]; then : +elif [ -x /bin/bash ]; then : +elif [ -z "$( sh -c 'echo $BASH' )" ]; then + echo + echo "You must install 'bash' on your build machine" + exit 1 +fi + +# Check that a few mandatory programs are installed +missing_progs="no" +for prog in perl tar wget cpio unzip rsync bc ${DL_TOOLS} ; do + if ! which $prog > /dev/null ; then + echo "You must install '$prog' on your build machine"; + missing_progs="yes" + if test $prog = "svn" ; then + echo " svn is usually part of the subversion package in your distribution" + elif test $prog = "hg" ; then + echo " hg is usually part of the mercurial package in your distribution" + elif test $prog = "zcat" ; then + echo " zcat is usually part of the gzip package in your distribution" + elif test $prog = "bzcat" ; then + echo " bzcat is usually part of the bzip2 package in your distribution" + fi + fi +done + +if test "${missing_progs}" = "yes" ; then + exit 1 +fi + +PATCH_VERSION="$(patch -v 2>/dev/null | sed -n 's/^GNU patch \(.*\)/\1/p')" +if [ -z "${PATCH_VERSION}" ] ; then + echo + echo "You must install GNU patch" + exit 1 +fi +PATCH_MAJOR="$(echo "${PATCH_VERSION}" | cut -d . -f 1)" +PATCH_MINOR="$(echo "${PATCH_VERSION}" | cut -d . -f 2)" +if [ "${PATCH_MAJOR}" -lt 2 ] || [ "${PATCH_MAJOR}" -eq 2 -a "${PATCH_MINOR}" -lt 7 ] ; then + echo + echo "You have GNU patch '${PATCH_VERSION}' installed. GNU patch >= 2.7 is required" + exit 1; +fi + +if grep ^BR2_NEEDS_HOST_UTF8_LOCALE=y $BR2_CONFIG > /dev/null; then + if ! which locale > /dev/null ; then + echo + echo "You need locale support on your build machine to build a toolchain supporting locales" + exit 1 ; + fi + if ! locale -a | grep -q -i -E 'utf-?8$' ; then + echo + echo "You need at least one UTF8 locale to build a toolchain supporting locales" + exit 1 ; + fi +fi + +if grep -q ^BR2_NEEDS_HOST_JAVA=y $BR2_CONFIG ; then + check_prog_host "java" + JAVA_GCJ=$(java -version 2>&1 | grep gcj) + if [ ! -z "$JAVA_GCJ" ] ; then + echo + echo "$JAVA_GCJ is not sufficient to compile your package selection." + echo "Please install an OpenJDK/IcedTea/Oracle Java." + exit 1 ; + fi +fi + +if grep -q ^BR2_HOSTARCH_NEEDS_IA32_LIBS=y $BR2_CONFIG ; then + if test ! -f /lib/ld-linux.so.2 ; then + echo + echo "Your Buildroot configuration uses pre-built tools for the x86 architecture," + echo "but your build machine uses the x86-64 architecture without the 32 bits compatibility" + echo "library." + echo "If you're running a Debian/Ubuntu distribution, install the libc6-i386," + echo "lib32stdc++6, and lib32z1 packages (or alternatively libc6:i386," + echo "libstdc++6:i386, and zlib1g:i386)." + echo "If you're running a RedHat/Fedora distribution, install the glibc.i686 and" + echo "zlib.i686 packages." + echo "If you're running an ArchLinux distribution, install lib32-glibc." + echo "For other distributions, refer to the documentation on how to install the 32 bits" + echo "compatibility libraries." + exit 1 + fi +fi + +if grep -q ^BR2_HOSTARCH_NEEDS_IA32_COMPILER=y $BR2_CONFIG ; then + if ! echo "int main(void) {}" | gcc -m32 -x c - -o /dev/null 2>/dev/null; then + echo + echo "Your Buildroot configuration needs a compiler capable of building 32 bits binaries." + echo "If you're running a Debian/Ubuntu distribution, install the gcc-multilib package." + echo "For other distributions, refer to their documentation." + exit 1 + fi + + if ! echo "int main(void) {}" | g++ -m32 -x c++ - -o /dev/null 2>/dev/null; then + echo + echo "Your Buildroot configuration needs a compiler capable of building 32 bits binaries." + echo "If you're running a Debian/Ubuntu distribution, install the g++-multilib package." + echo "For other distributions, refer to their documentation." + exit 1 + fi +fi + +if grep ^BR2_NEEDS_HOST_GCC_PLUGIN_SUPPORT=y $BR2_CONFIG ; then + if ! echo "#include " | $HOSTCXX_NOCCACHE -I$($HOSTCXX_NOCCACHE -print-file-name=plugin)/include -x c++ -c - -o /dev/null ; then + echo + echo "Your Buildroot configuration needs a host compiler capable of building gcc plugins." + echo "If you're running a Debian/Ubuntu distribution, install gcc-X-plugin-dev package." + echo "For other distributions, refer to their documentation." + exit 1 ; + fi +fi + +# Check that the Perl installation is complete enough for Buildroot. +required_perl_modules="Data::Dumper" # Needed to build host-autoconf +required_perl_modules="$required_perl_modules ExtUtils::MakeMaker" # Used by host-libxml-parser-perl +required_perl_modules="$required_perl_modules Thread::Queue" # Used by host-automake + +if grep -q ^BR2_PACKAGE_MPV=y $BR2_CONFIG ; then + required_perl_modules="$required_perl_modules Math::BigInt" + required_perl_modules="$required_perl_modules Math::BigRat" +fi + +if grep -q ^BR2_PACKAGE_WHOIS=y $BR2_CONFIG ; then + required_perl_modules="$required_perl_modules autodie" +fi + +if grep -q -E '^BR2_PACKAGE_(WEBKITGTK|WPEWEBKIT)=y' $BR2_CONFIG ; then + required_perl_modules="${required_perl_modules} JSON::PP" +fi + +# This variable will keep the modules that are missing in your system. +missing_perl_modules="" + +for pm in $required_perl_modules ; do + if ! perl -e "require $pm" > /dev/null 2>&1 ; then + missing_perl_modules="$missing_perl_modules $pm" + fi +done + +if [ -n "$missing_perl_modules" ] ; then + echo "Your Perl installation is not complete enough; at least the following" + echo "modules are missing:" + echo + for pm in $missing_perl_modules ; do + printf "\t $pm\n" + done + echo + exit 1 +fi diff --git a/buildroot-2022.02.1/support/docker/Dockerfile b/buildroot-2022.02.1/support/docker/Dockerfile new file mode 100644 index 00000000..f54c31b5 --- /dev/null +++ b/buildroot-2022.02.1/support/docker/Dockerfile @@ -0,0 +1,66 @@ +# This Dockerfile generates the docker image that gets used by Gitlab CI +# To build it (YYYYMMDD.HHMM is the current date and time in UTC): +# docker build -t registry.gitlab.com/buildroot.org/buildroot/base:YYYYMMDD.HHMM support/docker +# docker push registry.gitlab.com/buildroot.org/buildroot/base:YYYYMMDD.HHMM + +# We use a specific tag for the base image *and* the corresponding date +# for the repository., so do not forget to update the apt-sources.list +# file that is shipped next to this Dockerfile. +FROM debian:bullseye-20210902 + +LABEL maintainer="Buildroot mailing list " \ + vendor="Buildroot" \ +description="Container with everything needed to run Buildroot" + +# Setup environment +ENV DEBIAN_FRONTEND noninteractive + +# This repository can be a bit slow at times. Don't panic... +COPY apt-sources.list /etc/apt/sources.list + +# The container has no package lists, so need to update first +RUN dpkg --add-architecture i386 && \ + apt-get update -y +RUN apt-get install -y --no-install-recommends \ + bc \ + build-essential \ + bzr \ + ca-certificates \ + cmake \ + cpio \ + cvs \ + file \ + g++-multilib \ + git \ + libc6:i386 \ + libncurses5-dev \ + locales \ + mercurial \ + openssh-server \ + python3 \ + python3-flake8 \ + python3-nose2 \ + python3-pexpect \ + python3-pytest \ + qemu-system-arm \ + qemu-system-x86 \ + rsync \ + shellcheck \ + subversion \ + unzip \ + wget \ + && \ + apt-get -y autoremove && \ + apt-get -y clean + +# To be able to generate a toolchain with locales, enable one UTF-8 locale +RUN sed -i 's/# \(en_US.UTF-8\)/\1/' /etc/locale.gen && \ + /usr/sbin/locale-gen + +RUN useradd -ms /bin/bash br-user && \ + chown -R br-user:br-user /home/br-user + +USER br-user +WORKDIR /home/br-user +ENV HOME /home/br-user +ENV LC_ALL en_US.UTF-8 diff --git a/buildroot-2022.02.1/support/docker/apt-sources.list b/buildroot-2022.02.1/support/docker/apt-sources.list new file mode 100644 index 00000000..0f872fd3 --- /dev/null +++ b/buildroot-2022.02.1/support/docker/apt-sources.list @@ -0,0 +1,4 @@ +# Latest just before 20210817T000000Z: +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20210902T205533Z/ bullseye main +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian-security/20210902T193650Z/ bullseye-security main +deb [check-valid-until=no] http://snapshot.debian.org/archive/debian/20210902T205533Z/ bullseye-updates main diff --git a/buildroot-2021.05/support/download/bzr b/buildroot-2022.02.1/support/download/bzr similarity index 100% rename from buildroot-2021.05/support/download/bzr rename to buildroot-2022.02.1/support/download/bzr diff --git a/buildroot-2022.02.1/support/download/cargo-post-process b/buildroot-2022.02.1/support/download/cargo-post-process new file mode 100755 index 00000000..a4a4718a --- /dev/null +++ b/buildroot-2022.02.1/support/download/cargo-post-process @@ -0,0 +1,38 @@ +#!/usr/bin/env bash + +set -e + +. "${0%/*}/helpers" + +while getopts "n:o:" OPT; do + case "${OPT}" in + o) output="${OPTARG}";; + n) base_name="${OPTARG}";; + :) error "option '%s' expects a mandatory argument\n" "${OPTARG}";; + \?) error "unknown option '%s'\n" "${OPTARG}";; + esac +done + +# Already vendored tarball, nothing to do +if tar tf "${output}" | grep -q "^[^/]*/VENDOR" ; then + exit 0 +fi + +post_process_unpack "${base_name}" "${output}" + +# Do the Cargo vendoring +pushd "${base_name}" > /dev/null +cargo vendor --manifest-path ${BR_CARGO_MANIFEST_PATH-Cargo.toml} --locked VENDOR + +# Create the local .cargo/config with vendor info +mkdir -p .cargo/ +cat <.cargo/config +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "VENDOR" +EOF +popd > /dev/null + +post_process_repack "$(pwd)" "${base_name}" "${output}" diff --git a/buildroot-2022.02.1/support/download/check-hash b/buildroot-2022.02.1/support/download/check-hash new file mode 100755 index 00000000..5a47f49b --- /dev/null +++ b/buildroot-2022.02.1/support/download/check-hash @@ -0,0 +1,107 @@ +#!/usr/bin/env bash +set -e + +# Helper to check a file matches its known hash +# Call it with: +# $1: the path of the file containing all the expected hashes +# $2: the full path to the temporary file that was downloaded, and +# that is to be checked +# $3: the final basename of the file, to which it will be ultimately +# saved as, to be able to match it to the corresponding hashes +# in the .hash file +# +# Exit codes: +# 0: the hash file exists and the file to check matches all its hashes, +# or the hash file does not exist +# 1: unknown command-line option +# 2: the hash file exists and the file to check does not match at least +# one of its hashes +# 3: the hash file exists and there was no hash to check the file against +# 4: the hash file exists and at least one hash type is unknown + +while getopts :q OPT; do + case "${OPT}" in + q) exec >/dev/null;; + \?) exit 1;; + esac +done +shift $((OPTIND-1)) + +h_file="${1}" +file="${2}" +base="${3}" + +# Bail early if no hash to check +if [ -z "${h_file}" ]; then + exit 0 +fi +# Does the hash-file exist? +if [ ! -f "${h_file}" ]; then + printf "WARNING: no hash file for %s\n" "${base}" >&2 + exit 0 +fi + +# Check one hash for a file +# $1: algo hash +# $2: known hash +# $3: file (full path) +check_one_hash() { + _h="${1}" + _known="${2}" + _file="${3}" + + # Note: md5 is supported, but undocumented on purpose. + # Note: sha3 is not supported, since there is currently no implementation + # (the NIST has yet to publish the parameters). + case "${_h}" in + md5|sha1) ;; + sha224|sha256|sha384|sha512) ;; + *) # Unknown hash, exit with error + printf "ERROR: unknown hash '%s' for '%s'\n" \ + "${_h}" "${base}" >&2 + exit 4 + ;; + esac + + # Do the hashes match? + _hash=$( ${_h}sum "${_file}" |cut -d ' ' -f 1 ) + if [ "${_hash}" = "${_known}" ]; then + printf "%s: OK (%s: %s)\n" "${base}" "${_h}" "${_hash}" + return 0 + fi + + printf "ERROR: %s has wrong %s hash:\n" "${base}" "${_h}" >&2 + printf "ERROR: expected: %s\n" "${_known}" >&2 + printf "ERROR: got : %s\n" "${_hash}" >&2 + printf "ERROR: Incomplete download, or man-in-the-middle (MITM) attack\n" >&2 + + exit 2 +} + +# Do we know one or more hashes for that file? +nb_checks=0 +while read t h f; do + case "${t}" in + ''|'#'*) + # Skip comments and empty lines + continue + ;; + *) + if [ "${f}" = "${base}" ]; then + check_one_hash "${t}" "${h}" "${file}" + : $((nb_checks++)) + fi + ;; + esac +done <"${h_file}" + +if [ ${nb_checks} -eq 0 ]; then + case " ${BR_NO_CHECK_HASH_FOR} " in + *" ${base} "*) + # File explicitly has no hash + exit 0 + ;; + esac + printf "ERROR: No hash found for %s\n" "${base}" >&2 + exit 3 +fi diff --git a/buildroot-2021.05/support/download/cvs b/buildroot-2022.02.1/support/download/cvs similarity index 100% rename from buildroot-2021.05/support/download/cvs rename to buildroot-2022.02.1/support/download/cvs diff --git a/buildroot-2022.02.1/support/download/dl-wrapper b/buildroot-2022.02.1/support/download/dl-wrapper new file mode 100755 index 00000000..09a6ac1f --- /dev/null +++ b/buildroot-2022.02.1/support/download/dl-wrapper @@ -0,0 +1,227 @@ +#!/usr/bin/env bash + +# This script is a wrapper to the other download backends. +# Its role is to ensure atomicity when saving downloaded files +# back to BR2_DL_DIR, and not clutter BR2_DL_DIR with partial, +# failed downloads. + +# To avoid cluttering BR2_DL_DIR, we download to a trashable +# location, namely in $(BUILD_DIR). +# Then, we move the downloaded file to a temporary file in the +# same directory as the final output file. +# This allows us to finally atomically rename it to its final +# name. +# If anything goes wrong, we just remove all the temporaries +# created so far. + +# We want to catch any unexpected failure, and exit immediately. +set -e + +export BR_BACKEND_DL_GETOPTS=":hc:d:o:n:N:H:lru:qf:e" + +main() { + local OPT OPTARG + local backend output hfile large_file recurse quiet rc + local -a uris + + # Parse our options; anything after '--' is for the backend + while getopts ":c:d:D:o:n:N:H:lrf:u:qp:" OPT; do + case "${OPT}" in + c) cset="${OPTARG}";; + d) dl_dir="${OPTARG}";; + D) old_dl_dir="${OPTARG}";; + o) output="${OPTARG}";; + n) raw_base_name="${OPTARG}";; + N) base_name="${OPTARG}";; + H) hfile="${OPTARG}";; + l) large_file="-l";; + r) recurse="-r";; + f) filename="${OPTARG}";; + u) uris+=( "${OPTARG}" );; + p) post_process="${OPTARG}";; + q) quiet="-q";; + :) error "option '%s' expects a mandatory argument\n" "${OPTARG}";; + \?) error "unknown option '%s'\n" "${OPTARG}";; + esac + done + + # Forget our options, and keep only those for the backend + shift $((OPTIND-1)) + + if [ -z "${output}" ]; then + error "no output specified, use -o\n" + fi + + # Legacy handling: check if the file already exists in the global + # download directory. If it does, hard-link it. If it turns out it + # was an incorrect download, we'd still check it below anyway. + # If we can neither link nor copy, fallback to doing a download. + # NOTE! This is not atomic, is subject to TOCTTOU, but the whole + # dl-wrapper runs under an flock, so we're safe. + if [ ! -e "${output}" -a -e "${old_dl_dir}/${filename}" ]; then + ln "${old_dl_dir}/${filename}" "${output}" || \ + cp "${old_dl_dir}/${filename}" "${output}" || \ + true + fi + + # If the output file already exists and: + # - there's no .hash file: do not download it again and exit promptly + # - matches all its hashes: do not download it again and exit promptly + # - fails at least one of its hashes: force a re-download + # - there's no hash (but a .hash file): consider it a hard error + if [ -e "${output}" ]; then + if support/download/check-hash ${quiet} "${hfile}" "${output}" "${output##*/}"; then + exit 0 + elif [ ${?} -ne 2 ]; then + # Do not remove the file, otherwise it might get re-downloaded + # from a later location (i.e. primary -> upstream -> mirror). + # Do not print a message, check-hash already did. + exit 1 + fi + rm -f "${output}" + warn "Re-downloading '%s'...\n" "${output##*/}" + fi + + # Look through all the uris that we were given to download the package + # source + download_and_check=0 + rc=1 + for uri in "${uris[@]}"; do + backend_urlencode="${uri%%+*}" + backend="${backend_urlencode%|*}" + case "${backend}" in + git|svn|cvs|bzr|file|scp|hg|sftp) ;; + *) backend="wget" ;; + esac + uri=${uri#*+} + + urlencode=${backend_urlencode#*|} + # urlencode must be "urlencode" + [ "${urlencode}" != "urlencode" ] && urlencode="" + + # tmpd is a temporary directory in which backends may store + # intermediate by-products of the download. + # tmpf is the file in which the backends should put the downloaded + # content. + # tmpd is located in $(BUILD_DIR), so as not to clutter the (precious) + # $(BR2_DL_DIR) + # We let the backends create tmpf, so they are able to set whatever + # permission bits they want (although we're only really interested in + # the executable bit.) + tmpd="$(mktemp -d "${BUILD_DIR}/.${output##*/}.XXXXXX")" + tmpf="${tmpd}/output" + + # Helpers expect to run in a directory that is *really* trashable, so + # they are free to create whatever files and/or sub-dirs they might need. + # Doing the 'cd' here rather than in all backends is easier. + cd "${tmpd}" + + # If the backend fails, we can just remove the content of the temporary + # directory to remove all the cruft it may have left behind, and try + # the next URI until it succeeds. Once out of URI to try, we need to + # cleanup and exit. + if ! "${OLDPWD}/support/download/${backend}" \ + $([ -n "${urlencode}" ] && printf %s '-e') \ + -c "${cset}" \ + -d "${dl_dir}" \ + -n "${raw_base_name}" \ + -N "${base_name}" \ + -f "${filename}" \ + -u "${uri}" \ + -o "${tmpf}" \ + ${quiet} ${large_file} ${recurse} -- "${@}" + then + # cd back to keep path coherence + cd "${OLDPWD}" + rm -rf "${tmpd}" + continue + fi + + if [ -n "${post_process}" ] ; then + "${OLDPWD}/support/download/${post_process}-post-process" \ + -o "${tmpf}" \ + -n "${raw_base_name}" + fi + + # cd back to free the temp-dir, so we can remove it later + cd "${OLDPWD}" + + # Check if the downloaded file is sane, and matches the stored hashes + # for that file + if support/download/check-hash ${quiet} "${hfile}" "${tmpf}" "${output##*/}"; then + rc=0 + else + if [ ${?} -ne 3 ]; then + rm -rf "${tmpd}" + continue + fi + + # the hash file exists and there was no hash to check the file + # against + rc=1 + fi + download_and_check=1 + break + done + + # We tried every URI possible, none seems to work or to check against the + # available hash. *ABORT MISSION* + if [ "${download_and_check}" -eq 0 ]; then + rm -rf "${tmpd}" + exit 1 + fi + + # tmp_output is in the same directory as the final output, so we can + # later move it atomically. + tmp_output="$(mktemp "${output}.XXXXXX")" + + # 'mktemp' creates files with 'go=-rwx', so the files are not accessible + # to users other than the one doing the download (and root, of course). + # This can be problematic when a shared BR2_DL_DIR is used by different + # users (e.g. on a build server), where all users may write to the shared + # location, since other users would not be allowed to read the files + # another user downloaded. + # So, we restore the 'go' access rights to a more sensible value, while + # still abiding by the current user's umask. We must do that before the + # final 'mv', so just do it now. + # Some backends (cp and scp) may create executable files, so we need to + # carry the executable bit if needed. + [ -x "${tmpf}" ] && new_mode=755 || new_mode=644 + new_mode=$(printf "%04o" $((0${new_mode} & ~0$(umask)))) + chmod ${new_mode} "${tmp_output}" + + # We must *not* unlink tmp_output, otherwise there is a small window + # during which another download process may create the same tmp_output + # name (very, very unlikely; but not impossible.) + # Using 'cp' is not reliable, since 'cp' may unlink the destination file + # if it is unable to open it with O_WRONLY|O_TRUNC; see: + # http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cp.html + # Since the destination filesystem can be anything, it might not support + # O_TRUNC, so 'cp' would unlink it first. + # Use 'cat' and append-redirection '>>' to save to the final location, + # since that is the only way we can be 100% sure of the behaviour. + if ! cat "${tmpf}" >>"${tmp_output}"; then + rm -rf "${tmpd}" "${tmp_output}" + exit 1 + fi + rm -rf "${tmpd}" + + # tmp_output and output are on the same filesystem, so POSIX guarantees + # that 'mv' is atomic, because it then uses rename() that POSIX mandates + # to be atomic, see: + # http://pubs.opengroup.org/onlinepubs/9699919799/functions/rename.html + if ! mv -f "${tmp_output}" "${output}"; then + rm -f "${tmp_output}" + exit 1 + fi + + return ${rc} +} + +trace() { local msg="${1}"; shift; printf "%s: ${msg}" "${my_name}" "${@}"; } +warn() { trace "${@}" >&2; } +errorN() { local ret="${1}"; shift; warn "${@}"; exit ${ret}; } +error() { errorN 1 "${@}"; } + +my_name="${0##*/}" +main "${@}" diff --git a/buildroot-2021.05/support/download/file b/buildroot-2022.02.1/support/download/file similarity index 100% rename from buildroot-2021.05/support/download/file rename to buildroot-2022.02.1/support/download/file diff --git a/buildroot-2022.02.1/support/download/git b/buildroot-2022.02.1/support/download/git new file mode 100755 index 00000000..1a1c315f --- /dev/null +++ b/buildroot-2022.02.1/support/download/git @@ -0,0 +1,231 @@ +#!/usr/bin/env bash + +# NOTE: if the output of this backend has to change (e.g. we change what gets +# included in the archive (e.g. LFS), or we change the format of the archive +# (e.g. tar options, compression ratio or method)), we MUST update the format +# version in the variable BR_FMT_VERSION_git, in package/pkg-download.mk. + +# We want to catch any unexpected failure, and exit immediately +set -E + +# Download helper for git, to be called from the download wrapper script +# +# Options: +# -q Be quiet. +# -r Clone and archive sub-modules. +# -o FILE Generate archive in FILE. +# -u URI Clone from repository at URI. +# -c CSET Use changeset CSET. +# -n NAME Use basename NAME. +# +# Environment: +# GIT : the git command to call + +. "${0%/*}/helpers" + +# Save our path and options in case we need to call ourselves again +myname="${0}" +declare -a OPTS=("${@}") + +# This function is called when an error occurs. Its job is to attempt a +# clone from scratch (only once!) in case the git tree is borked, or in +# case an unexpected and unsupported situation arises with submodules +# or uncommitted stuff (e.g. if the user manually mucked around in the +# git cache). +_on_error() { + local ret=${?} + + printf "Detected a corrupted git cache.\n" >&2 + if ${BR_GIT_BACKEND_FIRST_FAULT:-false}; then + printf "This is the second time in a row; bailing out\n" >&2 + exit ${ret} + fi + export BR_GIT_BACKEND_FIRST_FAULT=true + + printf "Removing it and starting afresh.\n" >&2 + + popd >/dev/null + rm -rf "${git_cache}" + + exec "${myname}" "${OPTS[@]}" || exit ${ret} +} + +quiet= +large_file=0 +recurse=0 +while getopts "${BR_BACKEND_DL_GETOPTS}" OPT; do + case "${OPT}" in + q) quiet=-q; exec >/dev/null;; + l) large_file=1;; + r) recurse=1;; + o) output="${OPTARG}";; + u) uri="${OPTARG}";; + c) cset="${OPTARG}";; + d) dl_dir="${OPTARG}";; + n) basename="${OPTARG}";; + :) printf "option '%s' expects a mandatory argument\n" "${OPTARG}"; exit 1;; + \?) printf "unknown option '%s'\n" "${OPTARG}" >&2; exit 1;; + esac +done + +shift $((OPTIND-1)) # Get rid of our options + +# Create and cd into the directory that will contain the local git cache +git_cache="${dl_dir}/git" +mkdir -p "${git_cache}" +pushd "${git_cache}" >/dev/null + +# Any error now should try to recover +trap _on_error ERR + +# Caller needs to single-quote its arguments to prevent them from +# being expanded a second time (in case there are spaces in them) +_git() { + if [ -z "${quiet}" ]; then + printf '%s ' GIT_DIR="${git_cache}/.git" ${GIT} "${@}"; printf '\n' + fi + _plain_git "$@" +} +# Note: please keep command below aligned with what is printed above +_plain_git() { + eval GIT_DIR="${git_cache}/.git" ${GIT} "${@}" +} + +# Create a warning file, that the user should not use the git cache. +# It's ours. Our precious. +cat <<-_EOF_ >"${dl_dir}/git.readme" + IMPORTANT NOTE! + + The git tree located in this directory is for the exclusive use + by Buildroot, which uses it as a local cache to reduce bandwidth + usage. + + Buildroot *will* trash any changes in that tree whenever it needs + to use it. Buildroot may even remove it in case it detects the + repository may have been damaged or corrupted. + + Do *not* work in that directory; your changes will eventually get + lost. Do *not* even use it as a remote, or as the source for new + worktrees; your commits will eventually get lost. +_EOF_ + +# Initialise a repository in the git cache. If the repository already +# existed, this is a noop, unless the repository was broken, in which +# case this magically restores it to working conditions. In the latter +# case, we might be missing blobs, but that's not a problem: we'll +# fetch what we need later anyway. +# +# We can still go through the wrapper, because 'init' does not use the +# path pointed to by GIT_DIR, but really uses the directory passed as +# argument. +_git init . + +# Ensure the repo has an origin (in case a previous run was killed). +if ! _plain_git remote |grep -q -E '^origin$'; then + _git remote add origin "'${uri}'" +fi + +_git remote set-url origin "'${uri}'" + +printf "Fetching all references\n" +_git fetch origin +_git fetch origin -t + +# Try to get the special refs exposed by some forges (pull-requests for +# github, changes for gerrit...). There is no easy way to know whether +# the cset the user passed us is such a special ref or a tag or a sha1 +# or whatever else. We'll eventually fail at checking out that cset, +# below, if there is an issue anyway. Since most of the cset we're gonna +# have to clone are not such special refs, consign the output to oblivion +# so as not to alarm unsuspecting users, but still trace it as a warning. +if ! _git fetch origin "'${cset}:${cset}'" >/dev/null 2>&1; then + printf "Could not fetch special ref '%s'; assuming it is not special.\n" "${cset}" +fi + +# Check that the changeset does exist. If it does not, re-cloning from +# scratch won't help, so we don't want to trash the repository for a +# missing commit. We just exit without going through the ERR trap. +if ! _git rev-parse --quiet --verify "'${cset}^{commit}'" >/dev/null 2>&1; then + printf "Commit '%s' does not exist in this repository.\n" "${cset}" + exit 1 +fi + +# The new cset we want to checkout might have different submodules, or +# have sub-dirs converted to/from a submodule. So we would need to +# deregister _current_ submodules before we checkout. +# +# Using "git submodule deinit --all" would remove all the files for +# all submodules, including the corresponding .git files or directories. +# However, it was only introduced with git-1.8.3, which is too recent +# for some enterprise-grade distros. +# +# So, we fall-back to just removing all submodules directories. We do +# not need to be recursive, as removing a submodule will de-facto remove +# its own submodules. +# +# For recent git versions, the repository for submodules is stored +# inside the repository of the super repository, so the following will +# only remove the working copies of submodules, effectively caching the +# submodules. +# +# For older versions however, the repository is stored in the .git/ of +# the submodule directory, so the following will effectively remove the +# the working copy as well as the repository, which means submodules +# will not be cached for older versions. +# +cmd='printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' +_git submodule --quiet foreach "'${cmd}'" + +# Checkout the required changeset, so that we can update the required +# submodules. +_git checkout -f -q "'${cset}'" + +# Get rid of now-untracked directories (in case a git operation was +# interrupted in a previous run, or to get rid of empty directories +# that were parents of submodules removed above). +_git clean -ffdx + +# Get date of commit to generate a reproducible archive. +# %ci is ISO 8601, so it's fully qualified, with TZ and all. +date="$( _plain_git log -1 --pretty=format:%ci )" + +# There might be submodules, so fetch them. +if [ ${recurse} -eq 1 ]; then + _git submodule update --init --recursive + + # Older versions of git will store the absolute path of the git tree + # in the .git of submodules, while newer versions just use relative + # paths. Detect and fix the older variants to use relative paths, so + # that the archives are reproducible across a wider range of git + # versions. However, we can't do that if git is too old and uses + # full repositories for submodules. + cmd='printf "%s\n" "${path}/"' + for module_dir in $( _plain_git submodule --quiet foreach "'${cmd}'" ); do + [ -f "${module_dir}/.git" ] || continue + relative_dir="$( sed -r -e 's,/+,/,g; s,[^/]+/,../,g' <<<"${module_dir}" )" + sed -r -i -e "s:^gitdir\: $(pwd)/:gitdir\: "${relative_dir}":" "${module_dir}/.git" + done +fi + +# If there are large files then fetch them. +if [ ${large_file} -eq 1 ]; then + _git lfs install --local + _git lfs fetch + _git lfs checkout + # If there are also submodules, recurse into them, + if [ ${recurse} -eq 1 ]; then + _git submodule foreach --recursive ${GIT} lfs install --local + _git submodule foreach --recursive ${GIT} lfs fetch + _git submodule foreach --recursive ${GIT} lfs checkout + fi +fi + +popd >/dev/null + +# Generate the archive. +# We do not want the .git dir; we keep other .git files, in case they are the +# only files in their directory. +# The .git dir would generate non reproducible tarballs as it depends on +# the state of the remote server. It also would generate large tarballs +# (gigabytes for some linux trees) when a full clone took place. +mk_tar_gz "${git_cache}" "${basename}" "${date}" "${output}" ".git/*" diff --git a/buildroot-2022.02.1/support/download/go-post-process b/buildroot-2022.02.1/support/download/go-post-process new file mode 100755 index 00000000..ef96a769 --- /dev/null +++ b/buildroot-2022.02.1/support/download/go-post-process @@ -0,0 +1,35 @@ +#!/usr/bin/env bash + +set -e + +. "${0%/*}/helpers" + +# Parse our options +while getopts "n:o:" OPT; do + case "${OPT}" in + o) output="${OPTARG}";; + n) base_name="${OPTARG}";; + :) error "option '%s' expects a mandatory argument\n" "${OPTARG}";; + \?) error "unknown option '%s'\n" "${OPTARG}";; + esac +done + +# Already vendored tarball, nothing to do +if tar tf "${output}" | grep -q "^[^/]*/vendor" ; then + exit 0 +fi + +post_process_unpack "${base_name}" "${output}" + +# Do the Go vendoring +pushd "${base_name}" > /dev/null + +if [ ! -f go.mod ]; then + echo "ERROR: no vendor/ folder and no go.mod, aborting" + exit 1 +fi + +go mod vendor -v -modcacherw +popd > /dev/null + +post_process_repack $(pwd) "${base_name}" "${output}" diff --git a/buildroot-2022.02.1/support/download/helpers b/buildroot-2022.02.1/support/download/helpers new file mode 100755 index 00000000..90a7d6c1 --- /dev/null +++ b/buildroot-2022.02.1/support/download/helpers @@ -0,0 +1,98 @@ +# Generate a reproducible archive from the content of a directory +# +# $1 : input directory +# $2 : leading component in archive +# $3 : ISO8601 date: YYYY-MM-DDThh:mm:ssZZ +# $4 : output file +# $5... : globs of filenames to exclude from the archive, suitable for +# find's -path option, and relative to the input directory $1 +# +# Notes : +# - the timestamp is internally rounded to the highest entire second +# less than or equal to the timestamp (i.e. any sub-second fractional +# part is ignored) +# - must not be called with CWD as, or below, the input directory +# - some temporary files are created in CWD, and removed at the end +# +# Example: +# $ find /path/to/temp/dir +# /path/to/temp/dir/ +# /path/to/temp/dir/some-file +# /path/to/temp/dir/some-dir/ +# /path/to/temp/dir/some-dir/some-other-file +# +# $ mk_tar_gz /path/to/some/dir \ +# foo_bar-1.2.3 \ +# 1970-01-01T00:00:00Z \ +# /path/to/foo.tar.gz \ +# '.git/*' '.svn/*' +# +# $ tar tzf /path/to/foo.tar.gz +# foo_bar-1.2.3/some-file +# foo_bar-1.2.3/some-dir/some-other-file +# +mk_tar_gz() { + local in_dir="${1}" + local base_dir="${2}" + local date="${3}" + local out="${4}" + shift 4 + local glob tmp pax_options + local -a find_opts + + for glob; do + find_opts+=( -or -path "./${glob#./}" ) + done + + # Drop sub-second precision to play nice with GNU tar's valid_timespec check + date="$(date -d "${date}" -u +%Y-%m-%dT%H:%M:%S+00:00)" + + pax_options="delete=atime,delete=ctime,delete=mtime" + pax_options+=",exthdr.name=%d/PaxHeaders/%f,exthdr.mtime={${date}}" + + tmp="$(mktemp --tmpdir="$(pwd)")" + pushd "${in_dir}" >/dev/null + + # Establish list + find . -not -type d -and -not \( -false "${find_opts[@]}" \) >"${tmp}.list" + # Sort list for reproducibility + LC_ALL=C sort <"${tmp}.list" >"${tmp}.sorted" + + # Create POSIX tarballs, since that's the format the most reproducible + tar cf - --transform="s#^\./#${base_dir}/#S" \ + --numeric-owner --owner=0 --group=0 --mtime="${date}" \ + --format=posix --pax-option="${pax_options}" \ + -T "${tmp}.sorted" >"${tmp}.tar" + + # Compress the archive + gzip -6 -n <"${tmp}.tar" >"${out}" + + rm -f "${tmp}"{.list,.sorted,.tar} + + popd >/dev/null +} + +post_process_unpack() { + local dest="${1}" + local tarball="${2}" + local one_file + + mkdir "${dest}" + tar -C "${dest}" --strip-components=1 -xzf "${tarball}" + one_file="$(find "${dest}" -type f -print0 |LC_ALL=C sort -z |sed 's/\x0.*//')" + touch -r "${one_file}" "${dest}.timestamp" +} + +post_process_repack() { + local in_dir="${1}" + local base_dir="${2}" + local out="${3}" + local date + + date="@$(stat -c '%Y' "${in_dir}/${base_dir}.timestamp")" + + mk_tar_gz "${in_dir}/${base_dir}" "${base_dir}" "${date}" "${out}" +} + +# Keep this line and the following as last lines in this file. +# vim: ft=bash diff --git a/buildroot-2021.05/support/download/hg b/buildroot-2022.02.1/support/download/hg similarity index 100% rename from buildroot-2021.05/support/download/hg rename to buildroot-2022.02.1/support/download/hg diff --git a/buildroot-2021.05/support/download/scp b/buildroot-2022.02.1/support/download/scp similarity index 100% rename from buildroot-2021.05/support/download/scp rename to buildroot-2022.02.1/support/download/scp diff --git a/buildroot-2022.02.1/support/download/sftp b/buildroot-2022.02.1/support/download/sftp new file mode 100755 index 00000000..0a44be7e --- /dev/null +++ b/buildroot-2022.02.1/support/download/sftp @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +# We want to catch any unexpected failure, and exit immediately +set -e + +# Download helper for sftp, to be called from the download wrapper script +# +# Options: +# -q Be quiet. +# -o FILE Copy to local file FILE. +# -f FILE Copy from remote file FILE. +# -u URI Download file at URI. +# +# Environment: +# SFTP : the sftp command to call + +quiet= +while getopts "${BR_BACKEND_DL_GETOPTS}" OPT; do + case "${OPT}" in + q) quiet=-q;; + o) output="${OPTARG}";; + f) filename="${OPTARG}";; + u) uri="${OPTARG}";; + :) printf "option '%s' expects a mandatory argument\n" "${OPTARG}"; exit 1;; + \?) printf "unknown option '%s'\n" "${OPTARG}" >&2; exit 1;; + esac +done + +shift $((OPTIND-1)) # Get rid of our options + +# Caller needs to single-quote its arguments to prevent them from +# being expanded a second time (in case there are spaces in them) +_sftp() { + if [ -z "${quiet}" ]; then + printf '%s ' ${SFTP} "${@}"; printf '\n' + fi + # Note: please keep command below aligned with what is printed above + eval ${SFTP} "${@}" +} + +_sftp ${quiet} "${@}" "'${uri}/${filename}'" "'${output}'" diff --git a/buildroot-2021.05/support/download/svn b/buildroot-2022.02.1/support/download/svn similarity index 100% rename from buildroot-2021.05/support/download/svn rename to buildroot-2022.02.1/support/download/svn diff --git a/buildroot-2021.05/support/download/wget b/buildroot-2022.02.1/support/download/wget similarity index 100% rename from buildroot-2021.05/support/download/wget rename to buildroot-2022.02.1/support/download/wget diff --git a/buildroot-2021.05/support/gnuconfig/README.buildroot b/buildroot-2022.02.1/support/gnuconfig/README.buildroot similarity index 100% rename from buildroot-2021.05/support/gnuconfig/README.buildroot rename to buildroot-2022.02.1/support/gnuconfig/README.buildroot diff --git a/buildroot-2021.05/support/gnuconfig/config.guess b/buildroot-2022.02.1/support/gnuconfig/config.guess similarity index 100% rename from buildroot-2021.05/support/gnuconfig/config.guess rename to buildroot-2022.02.1/support/gnuconfig/config.guess diff --git a/buildroot-2021.05/support/gnuconfig/config.sub b/buildroot-2022.02.1/support/gnuconfig/config.sub similarity index 100% rename from buildroot-2021.05/support/gnuconfig/config.sub rename to buildroot-2022.02.1/support/gnuconfig/config.sub diff --git a/buildroot-2021.05/support/gnuconfig/update b/buildroot-2022.02.1/support/gnuconfig/update similarity index 100% rename from buildroot-2021.05/support/gnuconfig/update rename to buildroot-2022.02.1/support/gnuconfig/update diff --git a/buildroot-2021.05/support/kconfig/.gitignore b/buildroot-2022.02.1/support/kconfig/.gitignore similarity index 100% rename from buildroot-2021.05/support/kconfig/.gitignore rename to buildroot-2022.02.1/support/kconfig/.gitignore diff --git a/buildroot-2021.05/support/kconfig/Makefile b/buildroot-2022.02.1/support/kconfig/Makefile similarity index 100% rename from buildroot-2021.05/support/kconfig/Makefile rename to buildroot-2022.02.1/support/kconfig/Makefile diff --git a/buildroot-2021.05/support/kconfig/Makefile.br b/buildroot-2022.02.1/support/kconfig/Makefile.br similarity index 100% rename from buildroot-2021.05/support/kconfig/Makefile.br rename to buildroot-2022.02.1/support/kconfig/Makefile.br diff --git a/buildroot-2021.05/support/kconfig/POTFILES.in b/buildroot-2022.02.1/support/kconfig/POTFILES.in similarity index 100% rename from buildroot-2021.05/support/kconfig/POTFILES.in rename to buildroot-2022.02.1/support/kconfig/POTFILES.in diff --git a/buildroot-2021.05/support/kconfig/README.buildroot b/buildroot-2022.02.1/support/kconfig/README.buildroot similarity index 100% rename from buildroot-2021.05/support/kconfig/README.buildroot rename to buildroot-2022.02.1/support/kconfig/README.buildroot diff --git a/buildroot-2021.05/support/kconfig/check.sh b/buildroot-2022.02.1/support/kconfig/check.sh similarity index 100% rename from buildroot-2021.05/support/kconfig/check.sh rename to buildroot-2022.02.1/support/kconfig/check.sh diff --git a/buildroot-2021.05/support/kconfig/conf.c b/buildroot-2022.02.1/support/kconfig/conf.c similarity index 100% rename from buildroot-2021.05/support/kconfig/conf.c rename to buildroot-2022.02.1/support/kconfig/conf.c diff --git a/buildroot-2022.02.1/support/kconfig/confdata.c b/buildroot-2022.02.1/support/kconfig/confdata.c new file mode 100644 index 00000000..9ab980ed --- /dev/null +++ b/buildroot-2022.02.1/support/kconfig/confdata.c @@ -0,0 +1,1282 @@ +/* + * Copyright (C) 2002 Roman Zippel + * Released under the terms of the GNU GPL v2.0. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "lkc.h" + +struct conf_printer { + void (*print_symbol)(FILE *, struct symbol *, const char *, void *); + void (*print_comment)(FILE *, const char *, void *); +}; + +static void conf_warning(const char *fmt, ...) + __attribute__ ((format (printf, 1, 2))); + +static void conf_message(const char *fmt, ...) + __attribute__ ((format (printf, 1, 2))); + +static const char *conf_filename; +static int conf_lineno, conf_warnings; + +const char conf_defname[] = ".defconfig"; + +static void conf_warning(const char *fmt, ...) +{ + va_list ap; + va_start(ap, fmt); + fprintf(stderr, "%s:%d:warning: ", conf_filename, conf_lineno); + vfprintf(stderr, fmt, ap); + fprintf(stderr, "\n"); + va_end(ap); + conf_warnings++; +} + +static void conf_default_message_callback(const char *fmt, va_list ap) +{ + printf("#\n# "); + vprintf(fmt, ap); + printf("\n#\n"); +} + +static void (*conf_message_callback) (const char *fmt, va_list ap) = + conf_default_message_callback; +void conf_set_message_callback(void (*fn) (const char *fmt, va_list ap)) +{ + conf_message_callback = fn; +} + +static void conf_message(const char *fmt, ...) +{ + va_list ap; + + va_start(ap, fmt); + if (conf_message_callback) + conf_message_callback(fmt, ap); + va_end(ap); +} + +const char *conf_get_configname(void) +{ + char *name = getenv("BR2_CONFIG"); + + return name ? name : ".config"; +} + +const char *conf_get_autoconfig_name(void) +{ + return getenv("KCONFIG_AUTOCONFIG"); +} + +static char *conf_expand_value(const char *in) +{ + struct symbol *sym; + const char *src; + static char res_value[SYMBOL_MAXLENGTH]; + char *dst, name[SYMBOL_MAXLENGTH]; + + res_value[0] = 0; + dst = name; + while ((src = strchr(in, '$'))) { + strncat(res_value, in, src - in); + src++; + dst = name; + while (isalnum(*src) || *src == '_') + *dst++ = *src++; + *dst = 0; + sym = sym_lookup(name, 0); + sym_calc_value(sym); + strcat(res_value, sym_get_string_value(sym)); + in = src; + } + strcat(res_value, in); + + return res_value; +} + +char *conf_get_default_confname(void) +{ + struct stat buf; + static char fullname[PATH_MAX+1]; + char *env, *name; + + name = conf_expand_value(conf_defname); + env = getenv(SRCTREE); + if (env) { + sprintf(fullname, "%s/%s", env, name); + if (!stat(fullname, &buf)) + return fullname; + } + return name; +} + +static int conf_set_sym_val(struct symbol *sym, int def, int def_flags, char *p) +{ + char *p2; + + switch (sym->type) { + case S_TRISTATE: + if (p[0] == 'm') { + sym->def[def].tri = mod; + sym->flags |= def_flags; + break; + } + /* fall through */ + case S_BOOLEAN: + if (p[0] == 'y') { + sym->def[def].tri = yes; + sym->flags |= def_flags; + break; + } + if (p[0] == 'n') { + sym->def[def].tri = no; + sym->flags |= def_flags; + break; + } + if (def != S_DEF_AUTO) + conf_warning("symbol value '%s' invalid for %s", + p, sym->name); + return 1; + case S_OTHER: + if (*p != '"') { + for (p2 = p; *p2 && !isspace(*p2); p2++) + ; + sym->type = S_STRING; + goto done; + } + /* fall through */ + case S_STRING: + if (*p++ != '"') + break; + for (p2 = p; (p2 = strpbrk(p2, "\"\\")); p2++) { + if (*p2 == '"') { + *p2 = 0; + break; + } + memmove(p2, p2 + 1, strlen(p2)); + } + if (!p2) { + if (def != S_DEF_AUTO) + conf_warning("invalid string found"); + return 1; + } + /* fall through */ + case S_INT: + case S_HEX: + done: + if (sym_string_valid(sym, p)) { + sym->def[def].val = xstrdup(p); + sym->flags |= def_flags; + } else { + if (def != S_DEF_AUTO) + conf_warning("symbol value '%s' invalid for %s", + p, sym->name); + return 1; + } + break; + default: + ; + } + return 0; +} + +#define LINE_GROWTH 16 +static int add_byte(int c, char **lineptr, size_t slen, size_t *n) +{ + char *nline; + size_t new_size = slen + 1; + if (new_size > *n) { + new_size += LINE_GROWTH - 1; + new_size *= 2; + nline = xrealloc(*lineptr, new_size); + if (!nline) + return -1; + + *lineptr = nline; + *n = new_size; + } + + (*lineptr)[slen] = c; + + return 0; +} + +static ssize_t compat_getline(char **lineptr, size_t *n, FILE *stream) +{ + char *line = *lineptr; + size_t slen = 0; + + for (;;) { + int c = getc(stream); + + switch (c) { + case '\n': + if (add_byte(c, &line, slen, n) < 0) + goto e_out; + slen++; + /* fall through */ + case EOF: + if (add_byte('\0', &line, slen, n) < 0) + goto e_out; + *lineptr = line; + if (slen == 0) + return -1; + return slen; + default: + if (add_byte(c, &line, slen, n) < 0) + goto e_out; + slen++; + } + } + +e_out: + line[slen-1] = '\0'; + *lineptr = line; + return -1; +} + +int conf_read_simple(const char *name, int def) +{ + FILE *in = NULL; + char *line = NULL; + size_t line_asize = 0; + char *p, *p2; + struct symbol *sym; + int i, def_flags; + + if (name) { + in = zconf_fopen(name); + } else { + struct property *prop; + + name = conf_get_configname(); + in = zconf_fopen(name); + if (in) + goto load; + sym_add_change_count(1); + if (!sym_defconfig_list) + return 1; + + for_all_defaults(sym_defconfig_list, prop) { + if (expr_calc_value(prop->visible.expr) == no || + prop->expr->type != E_SYMBOL) + continue; + name = conf_expand_value(prop->expr->left.sym->name); + in = zconf_fopen(name); + if (in) { + conf_message(_("using defaults found in %s"), + name); + goto load; + } + } + } + if (!in) + return 1; + +load: + conf_filename = name; + conf_lineno = 0; + conf_warnings = 0; + + def_flags = SYMBOL_DEF << def; + for_all_symbols(i, sym) { + sym->flags |= SYMBOL_CHANGED; + sym->flags &= ~(def_flags|SYMBOL_VALID); + if (sym_is_choice(sym)) + sym->flags |= def_flags; + switch (sym->type) { + case S_INT: + case S_HEX: + case S_STRING: + if (sym->def[def].val) + free(sym->def[def].val); + /* fall through */ + default: + sym->def[def].val = NULL; + sym->def[def].tri = no; + } + } + + while (compat_getline(&line, &line_asize, in) != -1) { + conf_lineno++; + sym = NULL; + if (line[0] == '#') { + if (memcmp(line + 2, CONFIG_, strlen(CONFIG_))) + continue; + p = strchr(line + 2 + strlen(CONFIG_), ' '); + if (!p) + continue; + *p++ = 0; + if (strncmp(p, "is not set", 10)) + continue; + if (def == S_DEF_USER) { + sym = sym_find(line + 2 + strlen(CONFIG_)); + if (!sym) { + sym_add_change_count(1); + goto setsym; + } + } else { + sym = sym_lookup(line + 2 + strlen(CONFIG_), 0); + if (sym->type == S_UNKNOWN) + sym->type = S_BOOLEAN; + } + if (sym->flags & def_flags) { + conf_warning("override: reassigning to symbol %s", sym->name); + } + switch (sym->type) { + case S_BOOLEAN: + case S_TRISTATE: + sym->def[def].tri = no; + sym->flags |= def_flags; + break; + default: + ; + } + } else if (memcmp(line, CONFIG_, strlen(CONFIG_)) == 0) { + p = strchr(line + strlen(CONFIG_), '='); + if (!p) + continue; + *p++ = 0; + p2 = strchr(p, '\n'); + if (p2) { + *p2-- = 0; + if (*p2 == '\r') + *p2 = 0; + } + if (def == S_DEF_USER) { + sym = sym_find(line + strlen(CONFIG_)); + if (!sym) { + sym_add_change_count(1); + goto setsym; + } + } else { + sym = sym_lookup(line + strlen(CONFIG_), 0); + if (sym->type == S_UNKNOWN) + sym->type = S_OTHER; + } + if (sym->flags & def_flags) { + conf_warning("override: reassigning to symbol %s", sym->name); + } + if (conf_set_sym_val(sym, def, def_flags, p)) + continue; + } else { + if (line[0] != '\r' && line[0] != '\n') + conf_warning("unexpected data: %.*s", + (int)strcspn(line, "\r\n"), line); + + continue; + } +setsym: + if (sym && sym_is_choice_value(sym)) { + struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym)); + switch (sym->def[def].tri) { + case no: + break; + case mod: + if (cs->def[def].tri == yes) { + conf_warning("%s creates inconsistent choice state", sym->name); + cs->flags &= ~def_flags; + } + break; + case yes: + if (cs->def[def].tri != no) + conf_warning("override: %s changes choice state", sym->name); + cs->def[def].val = sym; + break; + } + cs->def[def].tri = EXPR_OR(cs->def[def].tri, sym->def[def].tri); + } + } + free(line); + fclose(in); + return 0; +} + +int conf_read(const char *name) +{ + struct symbol *sym; + int conf_unsaved = 0; + int i; + + sym_set_change_count(0); + + if (conf_read_simple(name, S_DEF_USER)) { + sym_calc_value(modules_sym); + return 1; + } + + sym_calc_value(modules_sym); + + for_all_symbols(i, sym) { + sym_calc_value(sym); + if (sym_is_choice(sym) || (sym->flags & SYMBOL_AUTO)) + continue; + if (sym_has_value(sym) && (sym->flags & SYMBOL_WRITE)) { + /* check that calculated value agrees with saved value */ + switch (sym->type) { + case S_BOOLEAN: + case S_TRISTATE: + if (sym->def[S_DEF_USER].tri != sym_get_tristate_value(sym)) + break; + if (!sym_is_choice(sym)) + continue; + /* fall through */ + default: + if (!strcmp(sym->curr.val, sym->def[S_DEF_USER].val)) + continue; + break; + } + } else if (!sym_has_value(sym) && !(sym->flags & SYMBOL_WRITE)) + /* no previous value and not saved */ + continue; + conf_unsaved++; + /* maybe print value in verbose mode... */ + } + + for_all_symbols(i, sym) { + if (sym_has_value(sym) && !sym_is_choice_value(sym)) { + /* Reset values of generates values, so they'll appear + * as new, if they should become visible, but that + * doesn't quite work if the Kconfig and the saved + * configuration disagree. + */ + if (sym->visible == no && !conf_unsaved) + sym->flags &= ~SYMBOL_DEF_USER; + switch (sym->type) { + case S_STRING: + case S_INT: + case S_HEX: + /* Reset a string value if it's out of range */ + if (sym_string_within_range(sym, sym->def[S_DEF_USER].val)) + break; + sym->flags &= ~(SYMBOL_VALID|SYMBOL_DEF_USER); + conf_unsaved++; + break; + default: + break; + } + } + } + + sym_add_change_count(conf_warnings || conf_unsaved); + + return 0; +} + +/* + * Kconfig configuration printer + * + * This printer is used when generating the resulting configuration after + * kconfig invocation and `defconfig' files. Unset symbol might be omitted by + * passing a non-NULL argument to the printer. + * + */ +static void +kconfig_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) +{ + + switch (sym->type) { + case S_BOOLEAN: + case S_TRISTATE: + if (*value == 'n') { + bool skip_unset = (arg != NULL); + + if (!skip_unset) + fprintf(fp, "# %s%s is not set\n", + CONFIG_, sym->name); + return; + } + break; + default: + break; + } + + fprintf(fp, "%s%s=%s\n", CONFIG_, sym->name, value); +} + +static void +kconfig_print_comment(FILE *fp, const char *value, void *arg) +{ + const char *p = value; + size_t l; + + for (;;) { + l = strcspn(p, "\n"); + fprintf(fp, "#"); + if (l) { + fprintf(fp, " "); + xfwrite(p, l, 1, fp); + p += l; + } + fprintf(fp, "\n"); + if (*p++ == '\0') + break; + } +} + +static struct conf_printer kconfig_printer_cb = +{ + .print_symbol = kconfig_print_symbol, + .print_comment = kconfig_print_comment, +}; + +/* + * Header printer + * + * This printer is used when generating the `include/generated/autoconf.h' file. + */ +static void +header_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) +{ + + switch (sym->type) { + case S_BOOLEAN: + case S_TRISTATE: { + const char *suffix = ""; + + switch (*value) { + case 'n': + break; + case 'm': + suffix = "_MODULE"; + /* fall through */ + default: + fprintf(fp, "#define %s%s%s 1\n", + CONFIG_, sym->name, suffix); + } + break; + } + case S_HEX: { + const char *prefix = ""; + + if (value[0] != '0' || (value[1] != 'x' && value[1] != 'X')) + prefix = "0x"; + fprintf(fp, "#define %s%s %s%s\n", + CONFIG_, sym->name, prefix, value); + break; + } + case S_STRING: + case S_INT: + fprintf(fp, "#define %s%s %s\n", + CONFIG_, sym->name, value); + break; + default: + break; + } + +} + +static void +header_print_comment(FILE *fp, const char *value, void *arg) +{ + const char *p = value; + size_t l; + + fprintf(fp, "/*\n"); + for (;;) { + l = strcspn(p, "\n"); + fprintf(fp, " *"); + if (l) { + fprintf(fp, " "); + xfwrite(p, l, 1, fp); + p += l; + } + fprintf(fp, "\n"); + if (*p++ == '\0') + break; + } + fprintf(fp, " */\n"); +} + +static struct conf_printer header_printer_cb = +{ + .print_symbol = header_print_symbol, + .print_comment = header_print_comment, +}; + +/* + * Tristate printer + * + * This printer is used when generating the `include/config/tristate.conf' file. + */ +static void +tristate_print_symbol(FILE *fp, struct symbol *sym, const char *value, void *arg) +{ + + if (sym->type == S_TRISTATE && *value != 'n') + fprintf(fp, "%s%s=%c\n", CONFIG_, sym->name, (char)toupper(*value)); +} + +static struct conf_printer tristate_printer_cb = +{ + .print_symbol = tristate_print_symbol, + .print_comment = kconfig_print_comment, +}; + +static void conf_write_symbol(FILE *fp, struct symbol *sym, + struct conf_printer *printer, void *printer_arg) +{ + const char *str; + + switch (sym->type) { + case S_OTHER: + case S_UNKNOWN: + break; + case S_STRING: + str = sym_get_string_value(sym); + str = sym_escape_string_value(str); + printer->print_symbol(fp, sym, str, printer_arg); + free((void *)str); + break; + default: + str = sym_get_string_value(sym); + printer->print_symbol(fp, sym, str, printer_arg); + } +} + +static void +conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg) +{ + char buf[256]; + + snprintf(buf, sizeof(buf), + "\n" + "Automatically generated file; DO NOT EDIT.\n" + "%s\n", + rootmenu.prompt->text); + + printer->print_comment(fp, buf, printer_arg); +} + +/* + * Write out a minimal config. + * All values that has default values are skipped as this is redundant. + */ +int conf_write_defconfig(const char *filename) +{ + struct symbol *sym; + struct menu *menu; + FILE *out; + + out = fopen(filename, "w"); + if (!out) + return 1; + + sym_clear_all_valid(); + + /* Traverse all menus to find all relevant symbols */ + menu = rootmenu.list; + + while (menu != NULL) + { + sym = menu->sym; + if (sym == NULL) { + if (!menu_is_visible(menu)) + goto next_menu; + } else if (!sym_is_choice(sym)) { + sym_calc_value(sym); + if (!(sym->flags & SYMBOL_WRITE)) + goto next_menu; + sym->flags &= ~SYMBOL_WRITE; + /* If we cannot change the symbol - skip */ + if (!sym_is_changable(sym)) + goto next_menu; + /* If symbol equals to default value - skip */ + if (strcmp(sym_get_string_value(sym), sym_get_string_default(sym)) == 0) + goto next_menu; + + /* + * If symbol is a choice value and equals to the + * default for a choice - skip. + * But only if value is bool and equal to "y" and + * choice is not "optional". + * (If choice is "optional" then all values can be "n") + */ + if (sym_is_choice_value(sym)) { + struct symbol *cs; + struct symbol *ds; + + cs = prop_get_symbol(sym_get_choice_prop(sym)); + ds = sym_choice_default(cs); + if (!sym_is_optional(cs) && sym == ds) { + if ((sym->type == S_BOOLEAN) && + sym_get_tristate_value(sym) == yes) + goto next_menu; + } + } + conf_write_symbol(out, sym, &kconfig_printer_cb, NULL); + } +next_menu: + if (menu->list != NULL) { + menu = menu->list; + } + else if (menu->next != NULL) { + menu = menu->next; + } else { + while ((menu = menu->parent)) { + if (menu->next != NULL) { + menu = menu->next; + break; + } + } + } + } + fclose(out); + return 0; +} + +int conf_write(const char *name) +{ + FILE *out; + struct symbol *sym; + struct menu *menu; + const char *basename; + const char *str; + char dirname[PATH_MAX+1], tmpname[PATH_MAX+20], newname[PATH_MAX+1]; + char *env; + + if (!name) + name = conf_get_configname(); + + dirname[0] = 0; + if (name && name[0]) { + struct stat st; + char *slash; + + if (!stat(name, &st) && S_ISDIR(st.st_mode)) { + strcpy(dirname, name); + strcat(dirname, "/"); + basename = conf_get_configname(); + } else if ((slash = strrchr(name, '/'))) { + int size = slash - name + 1; + memcpy(dirname, name, size); + dirname[size] = 0; + if (slash[1]) + basename = slash + 1; + else + basename = conf_get_configname(); + } else + basename = name; + } else + basename = conf_get_configname(); + + sprintf(newname, "%s%s", dirname, basename); + env = getenv("KCONFIG_OVERWRITECONFIG"); + if (!env || !*env) { + sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); + out = fopen(tmpname, "w"); + } else { + *tmpname = 0; + out = fopen(newname, "w"); + } + if (!out) + return 1; + + conf_write_heading(out, &kconfig_printer_cb, NULL); + + if (!conf_get_changed()) + sym_clear_all_valid(); + + menu = rootmenu.list; + while (menu) { + sym = menu->sym; + if (!sym) { + if (!menu_is_visible(menu)) + goto next; + str = menu_get_prompt(menu); + fprintf(out, "\n" + "#\n" + "# %s\n" + "#\n", str); + } else if (!(sym->flags & SYMBOL_CHOICE)) { + sym_calc_value(sym); + if (!(sym->flags & SYMBOL_WRITE)) + goto next; + sym->flags &= ~SYMBOL_WRITE; + + conf_write_symbol(out, sym, &kconfig_printer_cb, NULL); + } + +next: + if (menu->list) { + menu = menu->list; + continue; + } + if (menu->next) + menu = menu->next; + else while ((menu = menu->parent)) { + if (menu->next) { + menu = menu->next; + break; + } + } + } + fclose(out); + + if (*tmpname) { + strcat(dirname, basename); + strcat(dirname, ".old"); + rename(newname, dirname); + if (rename(tmpname, newname)) + return 1; + } + + conf_message(_("configuration written to %s"), newname); + + sym_set_change_count(0); + + return 0; +} + +static int conf_split_config(void) +{ + const char *name; + char path[PATH_MAX+1]; + char *opwd, *dir, *_name; + char *s, *d, c; + struct symbol *sym; + struct stat sb; + int res, i, fd; + + name = conf_get_autoconfig_name(); + conf_read_simple(name, S_DEF_AUTO); + sym_calc_value(modules_sym); + + opwd = malloc(256); + _name = strdup(name); + if (opwd == NULL || _name == NULL) + return 1; + opwd = getcwd(opwd, 256); + dir = dirname(_name); + if (dir == NULL) { + res = 1; + goto err; + } + if (chdir(dir)) { + res = 1; + goto err; + } + + res = 0; + for_all_symbols(i, sym) { + sym_calc_value(sym); + if ((sym->flags & SYMBOL_AUTO) || !sym->name) + continue; + if (sym->flags & SYMBOL_WRITE) { + if (sym->flags & SYMBOL_DEF_AUTO) { + /* + * symbol has old and new value, + * so compare them... + */ + switch (sym->type) { + case S_BOOLEAN: + case S_TRISTATE: + if (sym_get_tristate_value(sym) == + sym->def[S_DEF_AUTO].tri) + continue; + break; + case S_STRING: + case S_HEX: + case S_INT: + if (!strcmp(sym_get_string_value(sym), + sym->def[S_DEF_AUTO].val)) + continue; + break; + default: + break; + } + } else { + /* + * If there is no old value, only 'no' (unset) + * is allowed as new value. + */ + switch (sym->type) { + case S_BOOLEAN: + case S_TRISTATE: + if (sym_get_tristate_value(sym) == no) + continue; + break; + default: + break; + } + } + } else if (!(sym->flags & SYMBOL_DEF_AUTO)) + /* There is neither an old nor a new value. */ + continue; + /* else + * There is an old value, but no new value ('no' (unset) + * isn't saved in auto.conf, so the old value is always + * different from 'no'). + */ + + /* Replace all '_' and append ".h" */ + s = sym->name; + d = path; + while ((c = *s++)) { + c = tolower(c); + *d++ = (c == '_') ? '/' : c; + } + strcpy(d, ".h"); + + /* Assume directory path already exists. */ + fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); + if (fd == -1) { + if (errno != ENOENT) { + res = 1; + break; + } + /* + * Create directory components, + * unless they exist already. + */ + d = path; + while ((d = strchr(d, '/'))) { + *d = 0; + if (stat(path, &sb) && mkdir(path, 0755)) { + res = 1; + goto out; + } + *d++ = '/'; + } + /* Try it again. */ + fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); + if (fd == -1) { + res = 1; + break; + } + } + close(fd); + } +out: + if (chdir(opwd)) + res = 1; +err: + free(opwd); + free(_name); + return res; +} + +int conf_write_autoconf(void) +{ + struct symbol *sym; + const char *name; + FILE *out, *tristate, *out_h; + int i; + char dir[PATH_MAX+1], buf[PATH_MAX+20]; + char *s; + + strcpy(dir, conf_get_configname()); + s = strrchr(dir, '/'); + if (s) + s[1] = 0; + else + dir[0] = 0; + + sym_clear_all_valid(); + + sprintf(buf, "%s.config.cmd", dir); + file_write_dep(buf); + + if (conf_split_config()) + return 1; + + sprintf(buf, "%s.tmpconfig", dir); + out = fopen(buf, "w"); + if (!out) + return 1; + + sprintf(buf, "%s.tmpconfig_tristate", dir); + tristate = fopen(buf, "w"); + if (!tristate) { + fclose(out); + return 1; + } + + sprintf(buf, "%s.tmpconfig.h", dir); + out_h = fopen(buf, "w"); + if (!out_h) { + fclose(out); + fclose(tristate); + return 1; + } + + conf_write_heading(out, &kconfig_printer_cb, NULL); + + conf_write_heading(tristate, &tristate_printer_cb, NULL); + + conf_write_heading(out_h, &header_printer_cb, NULL); + + for_all_symbols(i, sym) { + sym_calc_value(sym); + if (!(sym->flags & SYMBOL_WRITE) || !sym->name) + continue; + + /* write symbol to auto.conf, tristate and header files */ + conf_write_symbol(out, sym, &kconfig_printer_cb, (void *)1); + + conf_write_symbol(tristate, sym, &tristate_printer_cb, (void *)1); + + conf_write_symbol(out_h, sym, &header_printer_cb, NULL); + } + fclose(out); + fclose(tristate); + fclose(out_h); + + name = getenv("KCONFIG_AUTOHEADER"); + if (!name) + name = "include/generated/autoconf.h"; + sprintf(buf, "%s.tmpconfig.h", dir); + if (rename(buf, name)) + return 1; + name = getenv("KCONFIG_TRISTATE"); + if (!name) + name = "include/config/tristate.conf"; + sprintf(buf, "%s.tmpconfig_tristate", dir); + if (rename(buf, name)) + return 1; + name = conf_get_autoconfig_name(); + /* + * This must be the last step, kbuild has a dependency on auto.conf + * and this marks the successful completion of the previous steps. + */ + sprintf(buf, "%s.tmpconfig", dir); + if (rename(buf, name)) + return 1; + + return 0; +} + +static int sym_change_count; +static void (*conf_changed_callback)(void); + +void sym_set_change_count(int count) +{ + int _sym_change_count = sym_change_count; + sym_change_count = count; + if (conf_changed_callback && + (bool)_sym_change_count != (bool)count) + conf_changed_callback(); +} + +void sym_add_change_count(int count) +{ + sym_set_change_count(count + sym_change_count); +} + +bool conf_get_changed(void) +{ + return sym_change_count; +} + +void conf_set_changed_callback(void (*fn)(void)) +{ + conf_changed_callback = fn; +} + +static bool randomize_choice_values(struct symbol *csym) +{ + struct property *prop; + struct symbol *sym; + struct expr *e; + int cnt, def; + + /* + * If choice is mod then we may have more items selected + * and if no then no-one. + * In both cases stop. + */ + if (csym->curr.tri != yes) + return false; + + prop = sym_get_choice_prop(csym); + + /* count entries in choice block */ + cnt = 0; + expr_list_for_each_sym(prop->expr, e, sym) + cnt++; + + /* + * find a random value and set it to yes, + * set the rest to no so we have only one set + */ + def = (rand() % cnt); + + cnt = 0; + expr_list_for_each_sym(prop->expr, e, sym) { + if (def == cnt++) { + sym->def[S_DEF_USER].tri = yes; + csym->def[S_DEF_USER].val = sym; + } + else { + sym->def[S_DEF_USER].tri = no; + } + sym->flags |= SYMBOL_DEF_USER; + /* clear VALID to get value calculated */ + sym->flags &= ~SYMBOL_VALID; + } + csym->flags |= SYMBOL_DEF_USER; + /* clear VALID to get value calculated */ + csym->flags &= ~(SYMBOL_VALID); + + return true; +} + +void set_all_choice_values(struct symbol *csym) +{ + struct property *prop; + struct symbol *sym; + struct expr *e; + + prop = sym_get_choice_prop(csym); + + /* + * Set all non-assinged choice values to no + */ + expr_list_for_each_sym(prop->expr, e, sym) { + if (!sym_has_value(sym)) + sym->def[S_DEF_USER].tri = no; + } + csym->flags |= SYMBOL_DEF_USER; + /* clear VALID to get value calculated */ + csym->flags &= ~(SYMBOL_VALID | SYMBOL_NEED_SET_CHOICE_VALUES); +} + +bool conf_set_all_new_symbols(enum conf_def_mode mode) +{ + struct symbol *sym, *csym; + int i, cnt, pby, pty, ptm; /* pby: probability of bool = y + * pty: probability of tristate = y + * ptm: probability of tristate = m + */ + + pby = 50; pty = ptm = 33; /* can't go as the default in switch-case + * below, otherwise gcc whines about + * -Wmaybe-uninitialized */ + if (mode == def_random) { + int n, p[3]; + char *env = getenv("KCONFIG_PROBABILITY"); + n = 0; + while( env && *env ) { + char *endp; + int tmp = strtol( env, &endp, 10 ); + if( tmp >= 0 && tmp <= 100 ) { + p[n++] = tmp; + } else { + errno = ERANGE; + perror( "KCONFIG_PROBABILITY" ); + exit( 1 ); + } + env = (*endp == ':') ? endp+1 : endp; + if( n >=3 ) { + break; + } + } + switch( n ) { + case 1: + pby = p[0]; ptm = pby/2; pty = pby-ptm; + break; + case 2: + pty = p[0]; ptm = p[1]; pby = pty + ptm; + break; + case 3: + pby = p[0]; pty = p[1]; ptm = p[2]; + break; + } + + if( pty+ptm > 100 ) { + errno = ERANGE; + perror( "KCONFIG_PROBABILITY" ); + exit( 1 ); + } + } + bool has_changed = false; + + for_all_symbols(i, sym) { + if (sym_has_value(sym) || (sym->flags & SYMBOL_VALID)) + continue; + switch (sym_get_type(sym)) { + case S_BOOLEAN: + case S_TRISTATE: + has_changed = true; + switch (mode) { + case def_yes: + sym->def[S_DEF_USER].tri = yes; + break; + case def_mod: + sym->def[S_DEF_USER].tri = mod; + break; + case def_no: + if (sym->flags & SYMBOL_ALLNOCONFIG_Y) + sym->def[S_DEF_USER].tri = yes; + else + sym->def[S_DEF_USER].tri = no; + break; + case def_random: + sym->def[S_DEF_USER].tri = no; + cnt = rand() % 100; + if (sym->type == S_TRISTATE) { + if (cnt < pty) + sym->def[S_DEF_USER].tri = yes; + else if (cnt < (pty+ptm)) + sym->def[S_DEF_USER].tri = mod; + } else if (cnt < pby) + sym->def[S_DEF_USER].tri = yes; + break; + default: + continue; + } + if (!(sym_is_choice(sym) && mode == def_random)) + sym->flags |= SYMBOL_DEF_USER; + break; + default: + break; + } + + } + + sym_clear_all_valid(); + + /* + * We have different type of choice blocks. + * If curr.tri equals to mod then we can select several + * choice symbols in one block. + * In this case we do nothing. + * If curr.tri equals yes then only one symbol can be + * selected in a choice block and we set it to yes, + * and the rest to no. + */ + if (mode != def_random) { + for_all_symbols(i, csym) { + if ((sym_is_choice(csym) && !sym_has_value(csym)) || + sym_is_choice_value(csym)) + csym->flags |= SYMBOL_NEED_SET_CHOICE_VALUES; + } + } + + for_all_symbols(i, csym) { + if (sym_has_value(csym) || !sym_is_choice(csym)) + continue; + + sym_calc_value(csym); + if (mode == def_random) + has_changed = randomize_choice_values(csym); + else { + set_all_choice_values(csym); + has_changed = true; + } + } + + return has_changed; +} diff --git a/buildroot-2021.05/support/kconfig/expr.c b/buildroot-2022.02.1/support/kconfig/expr.c similarity index 100% rename from buildroot-2021.05/support/kconfig/expr.c rename to buildroot-2022.02.1/support/kconfig/expr.c diff --git a/buildroot-2021.05/support/kconfig/expr.h b/buildroot-2022.02.1/support/kconfig/expr.h similarity index 100% rename from buildroot-2021.05/support/kconfig/expr.h rename to buildroot-2022.02.1/support/kconfig/expr.h diff --git a/buildroot-2021.05/support/kconfig/foo.h b/buildroot-2022.02.1/support/kconfig/foo.h similarity index 100% rename from buildroot-2021.05/support/kconfig/foo.h rename to buildroot-2022.02.1/support/kconfig/foo.h diff --git a/buildroot-2021.05/support/kconfig/gconf.c b/buildroot-2022.02.1/support/kconfig/gconf.c similarity index 100% rename from buildroot-2021.05/support/kconfig/gconf.c rename to buildroot-2022.02.1/support/kconfig/gconf.c diff --git a/buildroot-2021.05/support/kconfig/gconf.glade b/buildroot-2022.02.1/support/kconfig/gconf.glade similarity index 100% rename from buildroot-2021.05/support/kconfig/gconf.glade rename to buildroot-2022.02.1/support/kconfig/gconf.glade diff --git a/buildroot-2021.05/support/kconfig/images.c b/buildroot-2022.02.1/support/kconfig/images.c similarity index 100% rename from buildroot-2021.05/support/kconfig/images.c rename to buildroot-2022.02.1/support/kconfig/images.c diff --git a/buildroot-2021.05/support/kconfig/kconf_id.c b/buildroot-2022.02.1/support/kconfig/kconf_id.c similarity index 100% rename from buildroot-2021.05/support/kconfig/kconf_id.c rename to buildroot-2022.02.1/support/kconfig/kconf_id.c diff --git a/buildroot-2021.05/support/kconfig/kxgettext.c b/buildroot-2022.02.1/support/kconfig/kxgettext.c similarity index 100% rename from buildroot-2021.05/support/kconfig/kxgettext.c rename to buildroot-2022.02.1/support/kconfig/kxgettext.c diff --git a/buildroot-2021.05/support/kconfig/list.h b/buildroot-2022.02.1/support/kconfig/list.h similarity index 100% rename from buildroot-2021.05/support/kconfig/list.h rename to buildroot-2022.02.1/support/kconfig/list.h diff --git a/buildroot-2021.05/support/kconfig/lkc.h b/buildroot-2022.02.1/support/kconfig/lkc.h similarity index 100% rename from buildroot-2021.05/support/kconfig/lkc.h rename to buildroot-2022.02.1/support/kconfig/lkc.h diff --git a/buildroot-2021.05/support/kconfig/lkc_proto.h b/buildroot-2022.02.1/support/kconfig/lkc_proto.h similarity index 100% rename from buildroot-2021.05/support/kconfig/lkc_proto.h rename to buildroot-2022.02.1/support/kconfig/lkc_proto.h diff --git a/buildroot-2021.05/support/kconfig/lxdialog/.gitignore b/buildroot-2022.02.1/support/kconfig/lxdialog/.gitignore similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/.gitignore rename to buildroot-2022.02.1/support/kconfig/lxdialog/.gitignore diff --git a/buildroot-2021.05/support/kconfig/lxdialog/BIG.FAT.WARNING b/buildroot-2022.02.1/support/kconfig/lxdialog/BIG.FAT.WARNING similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/BIG.FAT.WARNING rename to buildroot-2022.02.1/support/kconfig/lxdialog/BIG.FAT.WARNING diff --git a/buildroot-2021.05/support/kconfig/lxdialog/check-lxdialog.sh b/buildroot-2022.02.1/support/kconfig/lxdialog/check-lxdialog.sh similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/check-lxdialog.sh rename to buildroot-2022.02.1/support/kconfig/lxdialog/check-lxdialog.sh diff --git a/buildroot-2021.05/support/kconfig/lxdialog/checklist.c b/buildroot-2022.02.1/support/kconfig/lxdialog/checklist.c similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/checklist.c rename to buildroot-2022.02.1/support/kconfig/lxdialog/checklist.c diff --git a/buildroot-2021.05/support/kconfig/lxdialog/dialog.h b/buildroot-2022.02.1/support/kconfig/lxdialog/dialog.h similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/dialog.h rename to buildroot-2022.02.1/support/kconfig/lxdialog/dialog.h diff --git a/buildroot-2021.05/support/kconfig/lxdialog/inputbox.c b/buildroot-2022.02.1/support/kconfig/lxdialog/inputbox.c similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/inputbox.c rename to buildroot-2022.02.1/support/kconfig/lxdialog/inputbox.c diff --git a/buildroot-2021.05/support/kconfig/lxdialog/menubox.c b/buildroot-2022.02.1/support/kconfig/lxdialog/menubox.c similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/menubox.c rename to buildroot-2022.02.1/support/kconfig/lxdialog/menubox.c diff --git a/buildroot-2021.05/support/kconfig/lxdialog/textbox.c b/buildroot-2022.02.1/support/kconfig/lxdialog/textbox.c similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/textbox.c rename to buildroot-2022.02.1/support/kconfig/lxdialog/textbox.c diff --git a/buildroot-2021.05/support/kconfig/lxdialog/util.c b/buildroot-2022.02.1/support/kconfig/lxdialog/util.c similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/util.c rename to buildroot-2022.02.1/support/kconfig/lxdialog/util.c diff --git a/buildroot-2021.05/support/kconfig/lxdialog/yesno.c b/buildroot-2022.02.1/support/kconfig/lxdialog/yesno.c similarity index 100% rename from buildroot-2021.05/support/kconfig/lxdialog/yesno.c rename to buildroot-2022.02.1/support/kconfig/lxdialog/yesno.c diff --git a/buildroot-2021.05/support/kconfig/mconf.c b/buildroot-2022.02.1/support/kconfig/mconf.c similarity index 100% rename from buildroot-2021.05/support/kconfig/mconf.c rename to buildroot-2022.02.1/support/kconfig/mconf.c diff --git a/buildroot-2021.05/support/kconfig/menu.c b/buildroot-2022.02.1/support/kconfig/menu.c similarity index 100% rename from buildroot-2021.05/support/kconfig/menu.c rename to buildroot-2022.02.1/support/kconfig/menu.c diff --git a/buildroot-2021.05/support/kconfig/merge_config.sh b/buildroot-2022.02.1/support/kconfig/merge_config.sh similarity index 100% rename from buildroot-2021.05/support/kconfig/merge_config.sh rename to buildroot-2022.02.1/support/kconfig/merge_config.sh diff --git a/buildroot-2021.05/support/kconfig/nconf.c b/buildroot-2022.02.1/support/kconfig/nconf.c similarity index 100% rename from buildroot-2021.05/support/kconfig/nconf.c rename to buildroot-2022.02.1/support/kconfig/nconf.c diff --git a/buildroot-2021.05/support/kconfig/nconf.gui.c b/buildroot-2022.02.1/support/kconfig/nconf.gui.c similarity index 100% rename from buildroot-2021.05/support/kconfig/nconf.gui.c rename to buildroot-2022.02.1/support/kconfig/nconf.gui.c diff --git a/buildroot-2021.05/support/kconfig/nconf.h b/buildroot-2022.02.1/support/kconfig/nconf.h similarity index 100% rename from buildroot-2021.05/support/kconfig/nconf.h rename to buildroot-2022.02.1/support/kconfig/nconf.h diff --git a/buildroot-2021.05/support/kconfig/patches/01-kconfig-kernel-to-buildroot.patch b/buildroot-2022.02.1/support/kconfig/patches/01-kconfig-kernel-to-buildroot.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/01-kconfig-kernel-to-buildroot.patch rename to buildroot-2022.02.1/support/kconfig/patches/01-kconfig-kernel-to-buildroot.patch diff --git a/buildroot-2021.05/support/kconfig/patches/06-br-build-system-integration.patch b/buildroot-2022.02.1/support/kconfig/patches/06-br-build-system-integration.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/06-br-build-system-integration.patch rename to buildroot-2022.02.1/support/kconfig/patches/06-br-build-system-integration.patch diff --git a/buildroot-2021.05/support/kconfig/patches/10-br-build-system.patch b/buildroot-2022.02.1/support/kconfig/patches/10-br-build-system.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/10-br-build-system.patch rename to buildroot-2022.02.1/support/kconfig/patches/10-br-build-system.patch diff --git a/buildroot-2021.05/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch b/buildroot-2022.02.1/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch rename to buildroot-2022.02.1/support/kconfig/patches/11-use-mktemp-for-lxdialog.patch diff --git a/buildroot-2021.05/support/kconfig/patches/12-fix-glade-file-path.patch b/buildroot-2022.02.1/support/kconfig/patches/12-fix-glade-file-path.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/12-fix-glade-file-path.patch rename to buildroot-2022.02.1/support/kconfig/patches/12-fix-glade-file-path.patch diff --git a/buildroot-2021.05/support/kconfig/patches/14-support-out-of-tree-config.patch b/buildroot-2022.02.1/support/kconfig/patches/14-support-out-of-tree-config.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/14-support-out-of-tree-config.patch rename to buildroot-2022.02.1/support/kconfig/patches/14-support-out-of-tree-config.patch diff --git a/buildroot-2021.05/support/kconfig/patches/16-fix-space-to-de-select-options.patch b/buildroot-2022.02.1/support/kconfig/patches/16-fix-space-to-de-select-options.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/16-fix-space-to-de-select-options.patch rename to buildroot-2022.02.1/support/kconfig/patches/16-fix-space-to-de-select-options.patch diff --git a/buildroot-2021.05/support/kconfig/patches/17-backport-kecho.patch b/buildroot-2022.02.1/support/kconfig/patches/17-backport-kecho.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/17-backport-kecho.patch rename to buildroot-2022.02.1/support/kconfig/patches/17-backport-kecho.patch diff --git a/buildroot-2021.05/support/kconfig/patches/18-merge-config.sh-create-temporary-files-in-tmp.patch b/buildroot-2022.02.1/support/kconfig/patches/18-merge-config.sh-create-temporary-files-in-tmp.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/18-merge-config.sh-create-temporary-files-in-tmp.patch rename to buildroot-2022.02.1/support/kconfig/patches/18-merge-config.sh-create-temporary-files-in-tmp.patch diff --git a/buildroot-2021.05/support/kconfig/patches/19-merge_config.sh-add-br2-external-support.patch b/buildroot-2022.02.1/support/kconfig/patches/19-merge_config.sh-add-br2-external-support.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/19-merge_config.sh-add-br2-external-support.patch rename to buildroot-2022.02.1/support/kconfig/patches/19-merge_config.sh-add-br2-external-support.patch diff --git a/buildroot-2021.05/support/kconfig/patches/20-merge_config.sh-Allow-to-define-config-prefix.patch b/buildroot-2022.02.1/support/kconfig/patches/20-merge_config.sh-Allow-to-define-config-prefix.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/20-merge_config.sh-Allow-to-define-config-prefix.patch rename to buildroot-2022.02.1/support/kconfig/patches/20-merge_config.sh-Allow-to-define-config-prefix.patch diff --git a/buildroot-2021.05/support/kconfig/patches/21-Avoid-false-positive-matches-from-comment-lines.patch b/buildroot-2022.02.1/support/kconfig/patches/21-Avoid-false-positive-matches-from-comment-lines.patch similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/21-Avoid-false-positive-matches-from-comment-lines.patch rename to buildroot-2022.02.1/support/kconfig/patches/21-Avoid-false-positive-matches-from-comment-lines.patch diff --git a/buildroot-2021.05/support/kconfig/patches/series b/buildroot-2022.02.1/support/kconfig/patches/series similarity index 100% rename from buildroot-2021.05/support/kconfig/patches/series rename to buildroot-2022.02.1/support/kconfig/patches/series diff --git a/buildroot-2021.05/support/kconfig/qconf.cc b/buildroot-2022.02.1/support/kconfig/qconf.cc similarity index 100% rename from buildroot-2021.05/support/kconfig/qconf.cc rename to buildroot-2022.02.1/support/kconfig/qconf.cc diff --git a/buildroot-2021.05/support/kconfig/qconf.h b/buildroot-2022.02.1/support/kconfig/qconf.h similarity index 100% rename from buildroot-2021.05/support/kconfig/qconf.h rename to buildroot-2022.02.1/support/kconfig/qconf.h diff --git a/buildroot-2021.05/support/kconfig/streamline_config.pl b/buildroot-2022.02.1/support/kconfig/streamline_config.pl similarity index 100% rename from buildroot-2021.05/support/kconfig/streamline_config.pl rename to buildroot-2022.02.1/support/kconfig/streamline_config.pl diff --git a/buildroot-2021.05/support/kconfig/symbol.c b/buildroot-2022.02.1/support/kconfig/symbol.c similarity index 100% rename from buildroot-2021.05/support/kconfig/symbol.c rename to buildroot-2022.02.1/support/kconfig/symbol.c diff --git a/buildroot-2022.02.1/support/kconfig/util.c b/buildroot-2022.02.1/support/kconfig/util.c new file mode 100644 index 00000000..8665f5bb --- /dev/null +++ b/buildroot-2022.02.1/support/kconfig/util.c @@ -0,0 +1,179 @@ +/* + * Copyright (C) 2002-2005 Roman Zippel + * Copyright (C) 2002-2005 Sam Ravnborg + * + * Released under the terms of the GNU GPL v2.0. + */ + +#include +#include +#include +#include "lkc.h" + +/* file already present in list? If not add it */ +struct file *file_lookup(const char *name) +{ + struct file *file; + char *file_name = sym_expand_string_value(name); + + for (file = file_list; file; file = file->next) { + if (!strcmp(name, file->name)) { + free(file_name); + return file; + } + } + + file = xmalloc(sizeof(*file)); + memset(file, 0, sizeof(*file)); + file->name = file_name; + file->next = file_list; + file_list = file; + return file; +} + +/* write a dependency file as used by kbuild to track dependencies */ +int file_write_dep(const char *name) +{ + char *str; + char buf[PATH_MAX+20], buf2[PATH_MAX+1], dir[PATH_MAX+1]; + struct symbol *sym, *env_sym; + struct expr *e; + struct file *file; + FILE *out; + + if (!name) + name = ".kconfig.d"; + + strcpy(dir, conf_get_configname()); + str = strrchr(dir, '/'); + if (str) + str[1] = 0; + else + dir[0] = 0; + + sprintf(buf, "%s..config.tmp", dir); + out = fopen(buf, "w"); + if (!out) + return 1; + fprintf(out, "deps_config := \\\n"); + for (file = file_list; file; file = file->next) { + if (file->next) + fprintf(out, "\t%s \\\n", file->name); + else + fprintf(out, "\t%s\n", file->name); + } + fprintf(out, "\n%s: \\\n" + "\t$(deps_config)\n\n", conf_get_autoconfig_name()); + + expr_list_for_each_sym(sym_env_list, e, sym) { + struct property *prop; + const char *value; + + prop = sym_get_env_prop(sym); + env_sym = prop_get_symbol(prop); + if (!env_sym) + continue; + value = getenv(env_sym->name); + if (!value) + value = ""; + fprintf(out, "ifneq \"$(%s)\" \"%s\"\n", env_sym->name, value); + fprintf(out, "%s: FORCE\n", conf_get_autoconfig_name()); + fprintf(out, "endif\n"); + } + + fprintf(out, "\n$(deps_config): ;\n"); + fclose(out); + sprintf(buf2, "%s%s", dir, name); + rename(buf, buf2); + return 0; +} + + +/* Allocate initial growable string */ +struct gstr str_new(void) +{ + struct gstr gs; + gs.s = xmalloc(sizeof(char) * 64); + gs.len = 64; + gs.max_width = 0; + strcpy(gs.s, "\0"); + return gs; +} + +/* Free storage for growable string */ +void str_free(struct gstr *gs) +{ + if (gs->s) + free(gs->s); + gs->s = NULL; + gs->len = 0; +} + +/* Append to growable string */ +void str_append(struct gstr *gs, const char *s) +{ + size_t l; + if (s) { + l = strlen(gs->s) + strlen(s) + 1; + if (l > gs->len) { + gs->s = xrealloc(gs->s, l); + gs->len = l; + } + strcat(gs->s, s); + } +} + +/* Append printf formatted string to growable string */ +void str_printf(struct gstr *gs, const char *fmt, ...) +{ + va_list ap; + char s[10000]; /* big enough... */ + va_start(ap, fmt); + vsnprintf(s, sizeof(s), fmt, ap); + str_append(gs, s); + va_end(ap); +} + +/* Retrieve value of growable string */ +const char *str_get(struct gstr *gs) +{ + return gs->s; +} + +void *xmalloc(size_t size) +{ + void *p = malloc(size); + if (p) + return p; + fprintf(stderr, "Out of memory.\n"); + exit(1); +} + +void *xcalloc(size_t nmemb, size_t size) +{ + void *p = calloc(nmemb, size); + if (p) + return p; + fprintf(stderr, "Out of memory.\n"); + exit(1); +} + +void *xrealloc(void *p, size_t size) +{ + p = realloc(p, size); + if (p) + return p; + fprintf(stderr, "Out of memory.\n"); + exit(1); +} + +char *xstrdup(const char *s) +{ + char *p; + + p = strdup(s); + if (p) + return p; + fprintf(stderr, "Out of memory.\n"); + exit(1); +} diff --git a/buildroot-2021.05/support/kconfig/zconf.l b/buildroot-2022.02.1/support/kconfig/zconf.l similarity index 100% rename from buildroot-2021.05/support/kconfig/zconf.l rename to buildroot-2022.02.1/support/kconfig/zconf.l diff --git a/buildroot-2021.05/support/kconfig/zconf.lex.c_shipped b/buildroot-2022.02.1/support/kconfig/zconf.lex.c_shipped similarity index 100% rename from buildroot-2021.05/support/kconfig/zconf.lex.c_shipped rename to buildroot-2022.02.1/support/kconfig/zconf.lex.c_shipped diff --git a/buildroot-2021.05/support/kconfig/zconf.tab.c_shipped b/buildroot-2022.02.1/support/kconfig/zconf.tab.c_shipped similarity index 100% rename from buildroot-2021.05/support/kconfig/zconf.tab.c_shipped rename to buildroot-2022.02.1/support/kconfig/zconf.tab.c_shipped diff --git a/buildroot-2021.05/support/kconfig/zconf.y b/buildroot-2022.02.1/support/kconfig/zconf.y similarity index 100% rename from buildroot-2021.05/support/kconfig/zconf.y rename to buildroot-2022.02.1/support/kconfig/zconf.y diff --git a/buildroot-2021.05/support/legal-info/README.header b/buildroot-2022.02.1/support/legal-info/README.header similarity index 100% rename from buildroot-2021.05/support/legal-info/README.header rename to buildroot-2022.02.1/support/legal-info/README.header diff --git a/buildroot-2021.05/support/legal-info/README.warnings-header b/buildroot-2022.02.1/support/legal-info/README.warnings-header similarity index 100% rename from buildroot-2021.05/support/legal-info/README.warnings-header rename to buildroot-2022.02.1/support/legal-info/README.warnings-header diff --git a/buildroot-2021.05/support/legal-info/buildroot.hash b/buildroot-2022.02.1/support/legal-info/buildroot.hash similarity index 100% rename from buildroot-2021.05/support/legal-info/buildroot.hash rename to buildroot-2022.02.1/support/legal-info/buildroot.hash diff --git a/buildroot-2021.05/support/libtool/buildroot-libtool-v1.5.patch b/buildroot-2022.02.1/support/libtool/buildroot-libtool-v1.5.patch similarity index 100% rename from buildroot-2021.05/support/libtool/buildroot-libtool-v1.5.patch rename to buildroot-2022.02.1/support/libtool/buildroot-libtool-v1.5.patch diff --git a/buildroot-2021.05/support/libtool/buildroot-libtool-v2.2.patch b/buildroot-2022.02.1/support/libtool/buildroot-libtool-v2.2.patch similarity index 100% rename from buildroot-2021.05/support/libtool/buildroot-libtool-v2.2.patch rename to buildroot-2022.02.1/support/libtool/buildroot-libtool-v2.2.patch diff --git a/buildroot-2021.05/support/libtool/buildroot-libtool-v2.4.4.patch b/buildroot-2022.02.1/support/libtool/buildroot-libtool-v2.4.4.patch similarity index 100% rename from buildroot-2021.05/support/libtool/buildroot-libtool-v2.4.4.patch rename to buildroot-2022.02.1/support/libtool/buildroot-libtool-v2.4.4.patch diff --git a/buildroot-2021.05/support/libtool/buildroot-libtool-v2.4.patch b/buildroot-2022.02.1/support/libtool/buildroot-libtool-v2.4.patch similarity index 100% rename from buildroot-2021.05/support/libtool/buildroot-libtool-v2.4.patch rename to buildroot-2022.02.1/support/libtool/buildroot-libtool-v2.4.patch diff --git a/buildroot-2021.05/support/misc/Buildroot.cmake b/buildroot-2022.02.1/support/misc/Buildroot.cmake similarity index 100% rename from buildroot-2021.05/support/misc/Buildroot.cmake rename to buildroot-2022.02.1/support/misc/Buildroot.cmake diff --git a/buildroot-2022.02.1/support/misc/Vagrantfile b/buildroot-2022.02.1/support/misc/Vagrantfile new file mode 100644 index 00000000..6cf44d92 --- /dev/null +++ b/buildroot-2022.02.1/support/misc/Vagrantfile @@ -0,0 +1,60 @@ +################################################################################ +# +# Vagrantfile +# +################################################################################ + +# Buildroot version to use +RELEASE='2022.02.1' + +### Change here for more memory/cores ### +VM_MEMORY=2048 +VM_CORES=1 + +Vagrant.configure('2') do |config| + config.vm.box = 'ubuntu/bionic64' + + config.vm.provider :vmware_fusion do |v, override| + v.vmx['memsize'] = VM_MEMORY + v.vmx['numvcpus'] = VM_CORES + end + + config.vm.provider :virtualbox do |v, override| + v.memory = VM_MEMORY + v.cpus = VM_CORES + + required_plugins = %w( vagrant-vbguest ) + required_plugins.each do |plugin| + system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin + end + end + + config.vm.provision 'shell' do |s| + s.inline = 'echo Setting up machine name' + + config.vm.provider :vmware_fusion do |v, override| + v.vmx['displayname'] = "Buildroot #{RELEASE}" + end + + config.vm.provider :virtualbox do |v, override| + v.name = "Buildroot #{RELEASE}" + end + end + + config.vm.provision 'shell', privileged: true, inline: + "sed -i 's|deb http://us.archive.ubuntu.com/ubuntu/|deb mirror://mirrors.ubuntu.com/mirrors.txt|g' /etc/apt/sources.list + dpkg --add-architecture i386 + apt-get -q update + apt-get purge -q -y snapd lxcfs lxd ubuntu-core-launcher snap-confine + apt-get -q -y install build-essential libncurses5-dev \ + git bzr cvs mercurial subversion libc6:i386 unzip bc + apt-get -q -y autoremove + apt-get -q -y clean + update-locale LC_ALL=C" + + config.vm.provision 'shell', privileged: false, inline: + "echo 'Downloading and extracting buildroot #{RELEASE}' + wget -q -c http://buildroot.org/downloads/buildroot-#{RELEASE}.tar.gz + tar axf buildroot-#{RELEASE}.tar.gz" + +end diff --git a/buildroot-2022.02.1/support/misc/cross-compilation.conf.in b/buildroot-2022.02.1/support/misc/cross-compilation.conf.in new file mode 100644 index 00000000..1977a835 --- /dev/null +++ b/buildroot-2022.02.1/support/misc/cross-compilation.conf.in @@ -0,0 +1,34 @@ +# Note: Buildroot's and Meson's terminologies differ about the meaning +# of 'build', 'host' and 'target': +# - Buildroot's 'host' is Meson's 'build' +# - Buildroot's 'target' is Meson's 'host' + +[binaries] +c = '@TARGET_CC@' +cpp = '@TARGET_CXX@' +ar = '@TARGET_AR@' +strip = '@TARGET_STRIP@' +cmake = '@BR2_CMAKE@' +pkgconfig = '@PKGCONF_HOST_BINARY@' +g-ir-compiler = '@STAGING_DIR@/usr/bin/g-ir-compiler' +g-ir-scanner = '@STAGING_DIR@/usr/bin/g-ir-scanner' + +[built-in options] +c_args = [@TARGET_CFLAGS@] +c_link_args = [@TARGET_LDFLAGS@] +cpp_args = [@TARGET_CXXFLAGS@] +cpp_link_args = [@TARGET_LDFLAGS@] +wrap_mode = 'nodownload' +cmake_prefix_path = '@STAGING_DIR@/usr/lib/cmake' + +[properties] +needs_exe_wrapper = true +sys_root = '@STAGING_DIR@' +pkg_config_libdir = '@STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig' +pkg_config_static = '@STATIC@' + +[host_machine] +system = 'linux' +cpu_family = '@TARGET_ARCH@' +cpu = '@TARGET_CPU@' +endian = '@TARGET_ENDIAN@' diff --git a/buildroot-2022.02.1/support/misc/gen-glibc-locales.mk b/buildroot-2022.02.1/support/misc/gen-glibc-locales.mk new file mode 100644 index 00000000..3db1e0dc --- /dev/null +++ b/buildroot-2022.02.1/support/misc/gen-glibc-locales.mk @@ -0,0 +1,41 @@ +# Generates glibc locale data for target. + +inputfile = $(firstword $(subst ., ,$(1))) +charmap = $(or $(word 2,$(subst ., ,$(1))),UTF-8) + +# Packages all the generated locale data into the final archive. +# +# We sort the file names to produce consistent output regardless of +# the `find` outputs order. +$(TARGET_DIR)/usr/lib/locale/locale-archive: $(LOCALES) + $(Q)rm -f $(@) + $(Q)find $(TARGET_DIR)/usr/lib/locale/ -maxdepth 1 -mindepth 1 -type d -print0 \ + | sort -z \ + | xargs -0 \ + $(HOST_DIR)/bin/localedef \ + --prefix=$(TARGET_DIR) \ + --$(ENDIAN)-endian \ + --add-to-archive + +# Generates locale data for each locale. +# +# The input data comes preferably from the toolchain, or if the toolchain +# does not have them (Linaro toolchains), we use the ones available on the +# host machine. +# +# Uses `localedef`, which is built by the `host-localedef` package. +$(LOCALES): | $(TARGET_DIR)/usr/lib/locale/ + $(Q)echo "Generating locale $(@)" + $(Q)I18NPATH=$(STAGING_DIR)/usr/share/i18n:/usr/share/i18n \ + $(HOST_DIR)/bin/localedef \ + --prefix=$(TARGET_DIR) \ + --$(ENDIAN)-endian \ + --no-archive \ + -i $(call inputfile,$(@)) \ + -f $(call charmap,$(@)) \ + $(@) + +.PHONY: $(LOCALES) + +$(TARGET_DIR)/usr/lib/locale/: + $(Q)mkdir -p $(TARGET_DIR)/usr/lib/locale/ diff --git a/buildroot-2022.02.1/support/misc/gitlab-ci.yml.in b/buildroot-2022.02.1/support/misc/gitlab-ci.yml.in new file mode 100644 index 00000000..47e72c32 --- /dev/null +++ b/buildroot-2022.02.1/support/misc/gitlab-ci.yml.in @@ -0,0 +1,108 @@ +.check-check-package_base: + script: + - python3 -m pytest -v utils/checkpackagelib/ + +.check-DEVELOPERS_base: + # get-developers should print just "No action specified"; if it prints + # anything else, it's a parse error. + # The initial ! is removed by YAML so we need to quote it. + script: + - "! utils/get-developers | grep -v 'No action specified'" + +.check-flake8_base: + script: + - make check-flake8 + +.check-package_base: + script: + - make check-package + +.defconfig_check: + before_script: + - DEFCONFIG_NAME=$(echo ${CI_JOB_NAME} | sed -e 's,_check$,,g') + script: + - echo "Configure Buildroot for ${DEFCONFIG_NAME}" + - make ${DEFCONFIG_NAME} + - support/scripts/check-dotconfig.py .config configs/${DEFCONFIG_NAME} + artifacts: + when: on_failure + expire_in: 2 weeks + paths: + - .config + +.run_make: &run_make + | + make O=${OUTPUT_DIR} > >(tee build.log |grep '>>>') 2>&1 || { + echo 'Failed build last output' + tail -200 build.log + exit 1 + } + +.defconfig_base: + before_script: + - DEFCONFIG_NAME=${CI_JOB_NAME} + - OUTPUT_DIR=output + script: + - echo "Configure Buildroot for ${DEFCONFIG_NAME}" + - make ${DEFCONFIG_NAME} + - ./support/scripts/check-dotconfig.py .config ./configs/${DEFCONFIG_NAME} + - echo 'Build buildroot' + - *run_make + - | + ./support/scripts/boot-qemu-image.py "${DEFCONFIG_NAME}" > >(tee runtime-test.log) 2>&1 || { + echo 'Failed runtime test last output' + tail -200 runtime-test.log + exit 1 + } + artifacts: + when: always + expire_in: 2 weeks + paths: + - .config + - build.log + - output/images/ + - output/build/build-time.log + - output/build/packages-file-list.txt + - output/build/*/.config + - runtime-test.log + +.runtime_test_base: + before_script: + - TEST_CASE_NAME=${CI_JOB_NAME} + # Keep build directories so the rootfs can be an artifact of the job. The + # runner will clean up those files for us. + # Multiply every emulator timeout by 10 to avoid sporadic failures in + # elastic runners. + script: + - echo "Starting runtime test ${TEST_CASE_NAME}" + - ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${TEST_CASE_NAME} + artifacts: + when: always + expire_in: 2 weeks + paths: + - test-output/*.log + - test-output/*/.config + - test-output/*/images/* + +.test_pkg: + stage: build + before_script: + - OUTPUT_DIR=${CI_JOB_NAME} + script: + - echo "Configure Buildroot for ${OUTPUT_DIR}" + - make O=${OUTPUT_DIR} syncconfig + - make O=${OUTPUT_DIR} savedefconfig + - echo 'Build buildroot' + - *run_make + needs: + - pipeline: $PARENT_PIPELINE_ID + job: generate-gitlab-ci-yml + artifacts: + when: always + expire_in: 2 weeks + paths: + - build.log + - br-test-pkg/*/.config + - br-test-pkg/*/defconfig + - br-test-pkg/*/build/build-time.log + - br-test-pkg/*/build/packages-file-list*.txt diff --git a/buildroot-2022.02.1/support/misc/relocate-sdk.sh b/buildroot-2022.02.1/support/misc/relocate-sdk.sh new file mode 100755 index 00000000..981d2724 --- /dev/null +++ b/buildroot-2022.02.1/support/misc/relocate-sdk.sh @@ -0,0 +1,52 @@ +#!/bin/sh + +if [ "$#" -gt 1 ]; then + echo "Usage: $0 [path]" + echo "Run this script to relocate the buildroot SDK to the current location" + echo "If [path] is given, sets the location to [path] (without moving it)" + exit 1 +fi + +cd "$(dirname "$(readlink -f "$0")")" +if [ "$#" -eq 1 ]; then + NEWPATH="$1" +else + NEWPATH="${PWD}" +fi + +LOCFILE="share/buildroot/sdk-location" +if [ ! -r "${LOCFILE}" ]; then + echo "Previous location of the buildroot SDK not found!" + exit 1 +fi +OLDPATH="$(cat "${LOCFILE}")" + +if [ "${NEWPATH}" = "${OLDPATH}" ]; then + echo "This buildroot SDK has already been relocated!" + exit 0 +fi + +# Check if the path substitution does work properly, e.g. a tree +# "/a/b/c" copied into "/a/b/c/a/b/c/" would not be allowed. +newpath="$(sed -e "s|${OLDPATH}|${NEWPATH}|g" "${LOCFILE}")" +if [ "${NEWPATH}" != "${newpath}" ]; then + echo "Something went wrong with substituting the path!" + echo "Please choose another location for your SDK!" + exit 1 +fi + +echo "Relocating the buildroot SDK from ${OLDPATH} to ${NEWPATH} ..." + +# Make sure file uses the right language +export LC_ALL=C +# Replace the old path with the new one in all text files +grep -lr "${OLDPATH}" . | while read -r FILE ; do + if file -b --mime-type "${FILE}" | grep -q '^text/' && [ "${FILE}" != "${LOCFILE}" ] + then + sed -i "s|${OLDPATH}|${NEWPATH}|g" "${FILE}" + fi +done + +# At the very end, we update the location file to not break the +# SDK if this script gets interruted. +sed -i "s|${OLDPATH}|${NEWPATH}|g" ${LOCFILE} diff --git a/buildroot-2021.05/support/misc/target-dir-warning.txt b/buildroot-2022.02.1/support/misc/target-dir-warning.txt similarity index 100% rename from buildroot-2021.05/support/misc/target-dir-warning.txt rename to buildroot-2022.02.1/support/misc/target-dir-warning.txt diff --git a/buildroot-2021.05/support/misc/toolchainfile.cmake.in b/buildroot-2022.02.1/support/misc/toolchainfile.cmake.in similarity index 100% rename from buildroot-2021.05/support/misc/toolchainfile.cmake.in rename to buildroot-2022.02.1/support/misc/toolchainfile.cmake.in diff --git a/buildroot-2022.02.1/support/misc/utils.mk b/buildroot-2022.02.1/support/misc/utils.mk new file mode 100644 index 00000000..4d0efcce --- /dev/null +++ b/buildroot-2022.02.1/support/misc/utils.mk @@ -0,0 +1,143 @@ +################################################################################ +# +# This file contains various utility macros and variables used about +# everywhere in make constructs. +# +################################################################################ + +# Strip quotes and then whitespaces +qstrip = $(strip $(subst ",,$(1))) +#")) + +# Variables for use in Make constructs +comma := , +empty := +space := $(empty) $(empty) +tab := $(empty) $(empty) +escape := $(shell printf '\x1b') + +# make 4.3: +# https://lwn.net/Articles/810071/ +# Number signs (#) appearing inside a macro reference or function invocation +# no longer introduce comments and should not be escaped with backslashes: +# thus a call such as: +# foo := $(shell echo '#') +# is legal. Previously the number sign needed to be escaped, for example: +# foo := $(shell echo '\#') +# Now this latter will resolve to "\#". If you want to write makefiles +# portable to both versions, assign the number sign to a variable: +# H := \# +# foo := $(shell echo '$H') +SHARP_SIGN := \# + +# Case conversion macros. This is inspired by the 'up' macro from gmsl +# (http://gmsl.sf.net). It is optimised very heavily because these macros +# are used a lot. It is about 5 times faster than forking a shell and tr. +# +# The caseconvert-helper creates a definition of the case conversion macro. +# After expansion by the outer $(eval ), the UPPERCASE macro is defined as: +# $(strip $(eval __tmp := $(1)) $(eval __tmp := $(subst a,A,$(__tmp))) ... ) +# In other words, every letter is substituted one by one. +# +# The caseconvert-helper allows us to create this definition out of the +# [FROM] and [TO] lists, so we don't need to write down every substition +# manually. The uses of $ and $$ quoting are chosen in order to do as +# much expansion as possible up-front. +# +# Note that it would be possible to conceive a slightly more optimal +# implementation that avoids the use of __tmp, but that would be even +# more unreadable and is not worth the effort. + +[FROM] := a b c d e f g h i j k l m n o p q r s t u v w x y z - . +[TO] := A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ _ + +define caseconvert-helper +$(1) = $$(strip \ + $$(eval __tmp := $$(1))\ + $(foreach c, $(2),\ + $$(eval __tmp := $$(subst $(word 1,$(subst :, ,$c)),$(word 2,$(subst :, ,$c)),$$(__tmp))))\ + $$(__tmp)) +endef + +$(eval $(call caseconvert-helper,UPPERCASE,$(join $(addsuffix :,$([FROM])),$([TO])))) +$(eval $(call caseconvert-helper,LOWERCASE,$(join $(addsuffix :,$([TO])),$([FROM])))) + +# Reverse the orders of words in a list. Again, inspired by the gmsl +# 'reverse' macro. +reverse = $(if $(1),$(call reverse,$(wordlist 2,$(words $(1)),$(1))) $(firstword $(1))) + +# Sanitize macro cleans up generic strings so it can be used as a filename +# and in rules. Particularly useful for VCS version strings, that can contain +# slashes, colons (OK in filenames but not in rules), and spaces. +sanitize = $(subst $(space),_,$(subst :,_,$(subst /,_,$(strip $(1))))) + +# MESSAGE Macro -- display a message in bold type +MESSAGE = echo "$(TERM_BOLD)>>> $($(PKG)_NAME) $($(PKG)_VERSION) $(call qstrip,$(1))$(TERM_RESET)" +TERM_BOLD := $(shell tput smso 2>/dev/null) +TERM_RESET := $(shell tput rmso 2>/dev/null) + +# Utility functions for 'find' +# findfileclauses(filelist) => -name 'X' -o -name 'Y' +findfileclauses = $(call notfirstword,$(patsubst %,-o -name '%',$(1))) +# finddirclauses(base, dirlist) => -path 'base/dirX' -o -path 'base/dirY' +finddirclauses = $(call notfirstword,$(patsubst %,-o -path '$(1)/%',$(2))) + +# Miscellaneous utility functions +# notfirstword(wordlist): returns all but the first word in wordlist +notfirstword = $(wordlist 2,$(words $(1)),$(1)) + +# build a comma-separated list of items, from a space-separated +# list of items: a b c d --> a, b, c, d +make-comma-list = $(subst $(space),$(comma)$(space),$(strip $(1))) + +# build a comma-separated list of double-quoted items, from a space-separated +# list of unquoted items: a b c d --> "a", "b", "c", "d" +make-dq-comma-list = $(call make-comma-list,$(patsubst %,"%",$(strip $(1)))) + +# build a comma-separated list of single-quoted items, from a space-separated +# list of unquoted items: a b c d --> 'a', 'b', 'c', 'd' +make-sq-comma-list = $(call make-comma-list,$(patsubst %,'%',$(strip $(1)))) + +# Needed for the foreach loops to loop over the list of hooks, so that +# each hook call is properly separated by a newline. +define sep + + +endef + +PERCENT = % +QUOTE = ' +# ' # Meh... syntax-highlighting + +# This macro properly escapes a command string, then prints it with printf: +# +# - first, backslash '\' are self-escaped, so that they do not escape +# the following char and so that printf properly outputs a backslash; +# +# - next, single quotes are escaped by closing an existing one, adding +# an escaped one, and re-openning a new one (see below for the reason); +# +# - then '%' signs are self-escaped so that the printf does not interpret +# them as a format specifier, in case the variable contains an actual +# printf with a format; +# +# - finally, $(sep) is replaced with the literal '\n' so that make does +# not break on the so-expanded variable, but so that the printf does +# correctly output an LF. +# +# Note: this must be escaped in this order to avoid over-escaping the +# previously escaped elements. +# +# Once everything has been escaped, it is passed between single quotes +# (that's why the single-quotes are escaped they way they are, above, +# and why the dollar sign is not escaped) to printf(1). A trailing +# newline is apended, too. +# +# Note: leading or trailing spaces are *not* stripped. +# +define PRINTF + printf '$(subst $(sep),\n,\ + $(subst $(PERCENT),$(PERCENT)$(PERCENT),\ + $(subst $(QUOTE),$(QUOTE)\$(QUOTE)$(QUOTE),\ + $(subst \,\\,$(1)))))\n' +endef diff --git a/buildroot-2022.02.1/support/scripts/apply-patches.sh b/buildroot-2022.02.1/support/scripts/apply-patches.sh new file mode 100755 index 00000000..6da83f68 --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/apply-patches.sh @@ -0,0 +1,165 @@ +#!/usr/bin/env bash +# A little script I whipped up to make it easy to +# patch source trees and have sane error handling +# -Erik +# +# (c) 2002 Erik Andersen +# +# Parameters: +# - "-s", optional. Silent operation, don't print anything if there +# isn't any error. +# - the build directory, optional, default value is '.'. The place where are +# the package sources. +# - the patch directory, optional, default '../kernel-patches'. The place +# where are the scripts you want to apply. +# - other parameters are the patch name patterns, optional, default value is +# '*'. Pattern(s) describing the patch names you want to apply. +# +# The script will look recursively for patches from the patch directory. If a +# file named 'series' exists then the patches mentioned in it will be applied +# as plain patches, regardless of their file name. If no 'series' file exists, +# the script will look for file names matching pattern(s). If the name +# ends with '.tar.*', '.tbz2' or '.tgz', the file is considered as an archive +# and will be uncompressed into a directory named +# '.patches-name_of_the_archive-unpacked'. It's the turn of this directory to +# be scanned with '*' as pattern. Remember that scanning is recursive. Other +# files than series file and archives are considered as a patch. +# +# Once a patch is found, the script will try to apply it. If its name doesn't +# end with '.gz', '.bz', '.bz2', '.xz', '.zip', '.Z', '.diff*' or '.patch*', +# it will be skipped. If necessary, the patch will be uncompressed before being +# applied. The list of the patches applied is stored in '.applied_patches_list' +# file in the build directory. + +set -e + +silent= +if [ "$1" = "-s" ] ; then + # add option to be used by the patch tool + silent=-s + shift +fi + +# Set directories from arguments, or use defaults. +builddir=${1-.} +patchdir=${2-../kernel-patches} +shift 2 +patchpattern=${@-*} + +# use a well defined sorting order +export LC_COLLATE=C + +if [ ! -d "${builddir}" ] ; then + echo "Aborting. '${builddir}' is not a directory." + exit 1 +fi +if [ ! -d "${patchdir}" ] ; then + echo "Aborting. '${patchdir}' is not a directory." + exit 1 +fi + +# Remove any rejects present BEFORE patching - Because if there are +# any, even if patches are well applied, at the end it will complain +# about rejects in builddir. +find ${builddir}/ '(' -name '*.rej' -o -name '.*.rej' ')' -print0 | \ + xargs -0 -r rm -f + +function apply_patch { + path="${1%%/}" + patch="${2}" + case "${path}" in + /*) ;; + *) path="$PWD/${path}";; + esac + if [ "$3" ]; then + type="series"; uncomp="cat" + else + case "$patch" in + *.gz) + type="gzip"; uncomp="gunzip -dc"; ;; + *.bz) + type="bzip"; uncomp="bunzip -dc"; ;; + *.bz2) + type="bzip2"; uncomp="bunzip2 -dc"; ;; + *.xz) + type="xz"; uncomp="unxz -dc"; ;; + *.zip) + type="zip"; uncomp="unzip -d"; ;; + *.Z) + type="compress"; uncomp="uncompress -c"; ;; + *.diff*) + type="diff"; uncomp="cat"; ;; + *.patch*) + type="patch"; uncomp="cat"; ;; + *) + echo "Unsupported file type for ${path}/${patch}, skipping"; + return 0 + ;; + esac + fi + if [ -z "$silent" ] ; then + echo "" + echo "Applying $patch using ${type}: " + fi + if [ ! -e "${path}/$patch" ] ; then + echo "Error: missing patch file ${path}/$patch" + exit 1 + fi + existing="$(grep -E "/${patch}\$" ${builddir}/.applied_patches_list || true)" + if [ -n "${existing}" ]; then + echo "Error: duplicate filename '${patch}'" + echo "Conflicting files are:" + echo " already applied: ${existing}" + echo " to be applied : ${path}/${patch}" + exit 1 + fi + echo "${path}/${patch}" >> ${builddir}/.applied_patches_list + ${uncomp} "${path}/$patch" | patch -g0 -p1 --no-backup-if-mismatch -d "${builddir}" -t -N $silent + if [ $? != 0 ] ; then + echo "Patch failed! Please fix ${patch}!" + exit 1 + fi +} + +function scan_patchdir { + local path=$1 + shift 1 + patches=${@-*} + + # If there is a series file, use it instead of using ls sort order + # to apply patches. Skip line starting with a dash. + if [ -e "${path}/series" ] ; then + # The format of a series file accepts a second field that is + # used to specify the number of directory components to strip + # when applying the patch, in the form -pN (N an integer >= 0) + # We assume this field to always be -p1 whether it is present + # or missing. + series_patches="`grep -Ev "^#" ${path}/series | cut -d ' ' -f1 2> /dev/null`" + for i in $series_patches; do + apply_patch "$path" "$i" series + done + else + for i in `cd $path; ls -d $patches 2> /dev/null` ; do + if [ -d "${path}/$i" ] ; then + scan_patchdir "${path}/$i" + elif echo "$i" | grep -q -E "\.tar(\..*)?$|\.tbz2?$|\.tgz$" ; then + unpackedarchivedir="$builddir/.patches-$(basename $i)-unpacked" + rm -rf "$unpackedarchivedir" 2> /dev/null + mkdir "$unpackedarchivedir" + tar -C "$unpackedarchivedir" -xaf "${path}/$i" + scan_patchdir "$unpackedarchivedir" + else + apply_patch "$path" "$i" + fi + done + fi +} + +touch ${builddir}/.applied_patches_list +scan_patchdir "$patchdir" "$patchpattern" + +# Check for rejects... +if [ "`find $builddir/ '(' -name '*.rej' -o -name '.*.rej' ')' -print`" ] ; then + echo "Aborting. Reject files found." + exit 1 +fi diff --git a/buildroot-2022.02.1/support/scripts/boot-qemu-image.py b/buildroot-2022.02.1/support/scripts/boot-qemu-image.py new file mode 100755 index 00000000..fba1533b --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/boot-qemu-image.py @@ -0,0 +1,84 @@ +#!/usr/bin/env python3 + +# This script expect to run from the Buildroot top directory. + +import os +import pexpect +import sys +import time + + +def main(): + if not (len(sys.argv) == 2): + print("Error: incorrect number of arguments") + print("""Usage: boot-qemu-image.py """) + sys.exit(1) + + # Ignore non Qemu defconfig + if not sys.argv[1].startswith('qemu_'): + sys.exit(0) + + if not os.path.exists('output/images/start-qemu.sh'): + print('qemu-start.sh is missing, cannot test.') + sys.exit(0) + + qemu_start = os.path.join(os.getcwd(), 'output/images/start-qemu.sh') + + child = pexpect.spawn(qemu_start, ['serial-only'], + timeout=5, encoding='utf-8', + env={"QEMU_AUDIO_DRV": "none"}) + + # We want only stdout into the log to avoid double echo + child.logfile = sys.stdout + + # Let the spawn actually try to fork+exec to the wrapper, and then + # let the wrapper exec the qemu process. + time.sleep(1) + + try: + child.expect(["buildroot login:"], timeout=60) + except pexpect.EOF as e: + # Some emulations require a fork of qemu-system, which may be + # missing on the system, and is not provided by Buildroot. + # In this case, spawn above will succeed at starting the wrapper + # start-qemu.sh, but that one will fail (exit with 127) in such + # a situation. + exit = [int(line.split(' ')[1]) + for line in e.value.splitlines() + if line.startswith('exitstatus: ')] + if len(exit) and exit[0] == 127: + print('qemu-start.sh could not find the qemu binary') + sys.exit(0) + print("Connection problem, exiting.") + sys.exit(1) + except pexpect.TIMEOUT: + print("System did not boot in time, exiting.") + sys.exit(1) + + child.sendline("root\r") + + try: + child.expect(["# "], timeout=60) + except pexpect.EOF: + print("Cannot connect to shell") + sys.exit(1) + except pexpect.TIMEOUT: + print("Timeout while waiting for shell") + sys.exit(1) + + child.sendline("poweroff\r") + + try: + child.expect(["System halted"], timeout=60) + child.expect(pexpect.EOF) + except pexpect.EOF: + pass + except pexpect.TIMEOUT: + # Qemu may not exit properly after "System halted", ignore. + print("Cannot halt machine") + + sys.exit(0) + + +if __name__ == "__main__": + main() diff --git a/buildroot-2021.05/support/scripts/br2-external b/buildroot-2022.02.1/support/scripts/br2-external similarity index 100% rename from buildroot-2021.05/support/scripts/br2-external rename to buildroot-2022.02.1/support/scripts/br2-external diff --git a/buildroot-2021.05/support/scripts/brpkgutil.py b/buildroot-2022.02.1/support/scripts/brpkgutil.py similarity index 100% rename from buildroot-2021.05/support/scripts/brpkgutil.py rename to buildroot-2022.02.1/support/scripts/brpkgutil.py diff --git a/buildroot-2021.05/support/scripts/check-bin-arch b/buildroot-2022.02.1/support/scripts/check-bin-arch similarity index 100% rename from buildroot-2021.05/support/scripts/check-bin-arch rename to buildroot-2022.02.1/support/scripts/check-bin-arch diff --git a/buildroot-2022.02.1/support/scripts/check-dotconfig.py b/buildroot-2022.02.1/support/scripts/check-dotconfig.py new file mode 100755 index 00000000..54fd6ae9 --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/check-dotconfig.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python3 + +# This scripts check that all lines present in the defconfig are +# still present in the .config + +import sys + + +def main(): + if not (len(sys.argv) == 3): + print("Error: incorrect number of arguments") + print("""Usage: check-dotconfig """) + sys.exit(1) + + configfile = sys.argv[1] + defconfig = sys.argv[2] + + # strip() to get rid of trailing \n + with open(configfile) as configf: + configlines = [line.strip() for line in configf.readlines()] + + defconfiglines = [] + with open(defconfig) as defconfigf: + # strip() to get rid of trailing \n + for line in (line.strip() for line in defconfigf.readlines()): + if line.startswith("BR2_"): + defconfiglines.append(line) + elif line.startswith('# BR2_') and line.endswith(' is not set'): + defconfiglines.append(line) + + # Check that all the defconfig lines are still present + missing = [line for line in defconfiglines if line not in configlines] + + if missing: + print("WARN: defconfig {} can't be used:".format(defconfig)) + for m in missing: + print(" Missing: {}".format(m)) + sys.exit(1) + + +if __name__ == "__main__": + main() diff --git a/buildroot-2021.05/support/scripts/check-host-rpath b/buildroot-2022.02.1/support/scripts/check-host-rpath similarity index 100% rename from buildroot-2021.05/support/scripts/check-host-rpath rename to buildroot-2022.02.1/support/scripts/check-host-rpath diff --git a/buildroot-2021.05/support/scripts/check-kernel-headers.sh b/buildroot-2022.02.1/support/scripts/check-kernel-headers.sh similarity index 100% rename from buildroot-2021.05/support/scripts/check-kernel-headers.sh rename to buildroot-2022.02.1/support/scripts/check-kernel-headers.sh diff --git a/buildroot-2021.05/support/scripts/check-merged-usr.sh b/buildroot-2022.02.1/support/scripts/check-merged-usr.sh similarity index 100% rename from buildroot-2021.05/support/scripts/check-merged-usr.sh rename to buildroot-2022.02.1/support/scripts/check-merged-usr.sh diff --git a/buildroot-2021.05/support/scripts/cpedb.py b/buildroot-2022.02.1/support/scripts/cpedb.py similarity index 100% rename from buildroot-2021.05/support/scripts/cpedb.py rename to buildroot-2022.02.1/support/scripts/cpedb.py diff --git a/buildroot-2022.02.1/support/scripts/cve.py b/buildroot-2022.02.1/support/scripts/cve.py new file mode 100755 index 00000000..7cd6fce4 --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/cve.py @@ -0,0 +1,273 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2009 by Thomas Petazzoni +# Copyright (C) 2020 by Gregory CLEMENT +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +import datetime +import os +import requests # URL checking +import distutils.version +import time +import gzip +import sys +import operator + +try: + import ijson + # backend is a module in < 2.5, a string in >= 2.5 + if 'python' in getattr(ijson.backend, '__name__', ijson.backend): + try: + import ijson.backends.yajl2_cffi as ijson + except ImportError: + sys.stderr.write('Warning: Using slow ijson python backend\n') +except ImportError: + sys.stderr.write("You need ijson to parse NVD for CVE check\n") + exit(1) + +sys.path.append('utils/') + +NVD_START_YEAR = 2002 +NVD_JSON_VERSION = "1.1" +NVD_BASE_URL = "https://nvd.nist.gov/feeds/json/cve/" + NVD_JSON_VERSION + +ops = { + '>=': operator.ge, + '>': operator.gt, + '<=': operator.le, + '<': operator.lt, + '=': operator.eq +} + + +# Check if two CPE IDs match each other +def cpe_matches(cpe1, cpe2): + cpe1_elems = cpe1.split(":") + cpe2_elems = cpe2.split(":") + + remains = filter(lambda x: x[0] not in ["*", "-"] and x[1] not in ["*", "-"] and x[0] != x[1], + zip(cpe1_elems, cpe2_elems)) + return len(list(remains)) == 0 + + +def cpe_product(cpe): + return cpe.split(':')[4] + + +def cpe_version(cpe): + return cpe.split(':')[5] + + +class CVE: + """An accessor class for CVE Items in NVD files""" + CVE_AFFECTS = 1 + CVE_DOESNT_AFFECT = 2 + CVE_UNKNOWN = 3 + + def __init__(self, nvd_cve): + """Initialize a CVE from its NVD JSON representation""" + self.nvd_cve = nvd_cve + + @staticmethod + def download_nvd_year(nvd_path, year): + metaf = "nvdcve-%s-%s.meta" % (NVD_JSON_VERSION, year) + path_metaf = os.path.join(nvd_path, metaf) + jsonf_gz = "nvdcve-%s-%s.json.gz" % (NVD_JSON_VERSION, year) + path_jsonf_gz = os.path.join(nvd_path, jsonf_gz) + + # If the database file is less than a day old, we assume the NVD data + # locally available is recent enough. + if os.path.exists(path_jsonf_gz) and os.stat(path_jsonf_gz).st_mtime >= time.time() - 86400: + return path_jsonf_gz + + # If not, we download the meta file + url = "%s/%s" % (NVD_BASE_URL, metaf) + print("Getting %s" % url) + page_meta = requests.get(url) + page_meta.raise_for_status() + + # If the meta file already existed, we compare the existing + # one with the data newly downloaded. If they are different, + # we need to re-download the database. + # If the database does not exist locally, we need to redownload it in + # any case. + if os.path.exists(path_metaf) and os.path.exists(path_jsonf_gz): + meta_known = open(path_metaf, "r").read() + if page_meta.text == meta_known: + return path_jsonf_gz + + # Grab the compressed JSON NVD, and write files to disk + url = "%s/%s" % (NVD_BASE_URL, jsonf_gz) + print("Getting %s" % url) + page_json = requests.get(url) + page_json.raise_for_status() + open(path_jsonf_gz, "wb").write(page_json.content) + open(path_metaf, "w").write(page_meta.text) + return path_jsonf_gz + + @classmethod + def read_nvd_dir(cls, nvd_dir): + """ + Iterate over all the CVEs contained in NIST Vulnerability Database + feeds since NVD_START_YEAR. If the files are missing or outdated in + nvd_dir, a fresh copy will be downloaded, and kept in .json.gz + """ + for year in range(NVD_START_YEAR, datetime.datetime.now().year + 1): + filename = CVE.download_nvd_year(nvd_dir, year) + try: + content = ijson.items(gzip.GzipFile(filename), 'CVE_Items.item') + except: # noqa: E722 + print("ERROR: cannot read %s. Please remove the file then rerun this script" % filename) + raise + for cve in content: + yield cls(cve) + + def each_product(self): + """Iterate over each product section of this cve""" + for vendor in self.nvd_cve['cve']['affects']['vendor']['vendor_data']: + for product in vendor['product']['product_data']: + yield product + + def parse_node(self, node): + """ + Parse the node inside the configurations section to extract the + cpe information usefull to know if a product is affected by + the CVE. Actually only the product name and the version + descriptor are needed, but we also provide the vendor name. + """ + + # The node containing the cpe entries matching the CVE can also + # contain sub-nodes, so we need to manage it. + for child in node.get('children', ()): + for parsed_node in self.parse_node(child): + yield parsed_node + + for cpe in node.get('cpe_match', ()): + if not cpe['vulnerable']: + return + product = cpe_product(cpe['cpe23Uri']) + version = cpe_version(cpe['cpe23Uri']) + # ignore when product is '-', which means N/A + if product == '-': + return + op_start = '' + op_end = '' + v_start = '' + v_end = '' + + if version != '*' and version != '-': + # Version is defined, this is a '=' match + op_start = '=' + v_start = version + else: + # Parse start version, end version and operators + if 'versionStartIncluding' in cpe: + op_start = '>=' + v_start = cpe['versionStartIncluding'] + + if 'versionStartExcluding' in cpe: + op_start = '>' + v_start = cpe['versionStartExcluding'] + + if 'versionEndIncluding' in cpe: + op_end = '<=' + v_end = cpe['versionEndIncluding'] + + if 'versionEndExcluding' in cpe: + op_end = '<' + v_end = cpe['versionEndExcluding'] + + yield { + 'id': cpe['cpe23Uri'], + 'v_start': v_start, + 'op_start': op_start, + 'v_end': v_end, + 'op_end': op_end + } + + def each_cpe(self): + for node in self.nvd_cve['configurations']['nodes']: + for cpe in self.parse_node(node): + yield cpe + + @property + def identifier(self): + """The CVE unique identifier""" + return self.nvd_cve['cve']['CVE_data_meta']['ID'] + + @property + def affected_products(self): + """The set of CPE products referred by this CVE definition""" + return set(cpe_product(p['id']) for p in self.each_cpe()) + + def affects(self, name, version, cve_ignore_list, cpeid=None): + """ + True if the Buildroot Package object passed as argument is affected + by this CVE. + """ + if self.identifier in cve_ignore_list: + return self.CVE_DOESNT_AFFECT + + pkg_version = distutils.version.LooseVersion(version) + if not hasattr(pkg_version, "version"): + print("Cannot parse package '%s' version '%s'" % (name, version)) + pkg_version = None + + # if we don't have a cpeid, build one based on name and version + if not cpeid: + cpeid = "cpe:2.3:*:*:%s:%s:*:*:*:*:*:*:*" % (name, version) + # if we have a cpeid, use its version instead of the package + # version, as they might be different due to + # _CPE_ID_VERSION + else: + pkg_version = distutils.version.LooseVersion(cpe_version(cpeid)) + + for cpe in self.each_cpe(): + if not cpe_matches(cpe['id'], cpeid): + continue + if not cpe['v_start'] and not cpe['v_end']: + return self.CVE_AFFECTS + if not pkg_version: + continue + + if cpe['v_start']: + try: + cve_affected_version = distutils.version.LooseVersion(cpe['v_start']) + inrange = ops.get(cpe['op_start'])(pkg_version, cve_affected_version) + except TypeError: + return self.CVE_UNKNOWN + + # current package version is before v_start, so we're + # not affected by the CVE + if not inrange: + continue + + if cpe['v_end']: + try: + cve_affected_version = distutils.version.LooseVersion(cpe['v_end']) + inrange = ops.get(cpe['op_end'])(pkg_version, cve_affected_version) + except TypeError: + return self.CVE_UNKNOWN + + # current package version is after v_end, so we're + # not affected by the CVE + if not inrange: + continue + + # We're in the version range affected by this CVE + return self.CVE_AFFECTS + + return self.CVE_DOESNT_AFFECT diff --git a/buildroot-2021.05/support/scripts/eclipse-register-toolchain b/buildroot-2022.02.1/support/scripts/eclipse-register-toolchain similarity index 100% rename from buildroot-2021.05/support/scripts/eclipse-register-toolchain rename to buildroot-2022.02.1/support/scripts/eclipse-register-toolchain diff --git a/buildroot-2021.05/support/scripts/expunge-gconv-modules b/buildroot-2022.02.1/support/scripts/expunge-gconv-modules similarity index 100% rename from buildroot-2021.05/support/scripts/expunge-gconv-modules rename to buildroot-2022.02.1/support/scripts/expunge-gconv-modules diff --git a/buildroot-2021.05/support/scripts/fix-configure-powerpc64.sh b/buildroot-2022.02.1/support/scripts/fix-configure-powerpc64.sh similarity index 100% rename from buildroot-2021.05/support/scripts/fix-configure-powerpc64.sh rename to buildroot-2022.02.1/support/scripts/fix-configure-powerpc64.sh diff --git a/buildroot-2021.05/support/scripts/fix-rpath b/buildroot-2022.02.1/support/scripts/fix-rpath similarity index 100% rename from buildroot-2021.05/support/scripts/fix-rpath rename to buildroot-2022.02.1/support/scripts/fix-rpath diff --git a/buildroot-2022.02.1/support/scripts/gen-bootlin-toolchains b/buildroot-2022.02.1/support/scripts/gen-bootlin-toolchains new file mode 100755 index 00000000..dc173fa9 --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/gen-bootlin-toolchains @@ -0,0 +1,545 @@ +#!/usr/bin/env python3 + +import os.path +import re +import requests +import textwrap + +BASE_URL = "https://toolchains.bootlin.com/downloads/releases/toolchains" + +AUTOGENERATED_COMMENT = """# This file was auto-generated by support/scripts/gen-bootlin-toolchains +# Do not edit +""" + +# In the below dict: + +# - 'conditions' indicate the cumulative conditions under which the +# toolchain will be made available. In several situations, a given +# toolchain is usable on several architectures variants (for +# example, an ARMv6 toolchain can be used on ARMv7) +# - 'test_options' indicate one specific configuration where the +# toolchain can be used. It is used to create the runtime test +# cases. If 'test_options' does not exist, the code assumes it can +# be made equal to 'conditions' +# - 'prefix' is the prefix of the cross-compilation toolchain tools + +arches = { + 'aarch64': { + 'conditions': ['BR2_aarch64'], + 'prefix': 'aarch64', + }, + 'aarch64be': { + 'conditions': ['BR2_aarch64_be'], + 'prefix': 'aarch64_be', + }, + 'arcle-750d': { + 'conditions': ['BR2_arcle', 'BR2_arc750d'], + 'prefix': 'arc', + }, + 'arcle-hs38': { + 'conditions': ['BR2_arcle', 'BR2_archs38'], + 'prefix': 'arc', + }, + 'armv5-eabi': { + 'conditions': ['BR2_ARM_CPU_ARMV5', 'BR2_ARM_EABI'], + 'test_options': ['BR2_arm', 'BR2_arm926t', 'BR2_ARM_EABI'], + 'prefix': 'arm', + }, + 'armv6-eabihf': { + 'conditions': ['BR2_ARM_CPU_ARMV6', 'BR2_ARM_EABIHF'], + 'test_options': ['BR2_arm', 'BR2_arm1176jzf_s', 'BR2_ARM_EABIHF'], + 'prefix': 'arm', + }, + 'armv7-eabihf': { + 'conditions': ['BR2_ARM_CPU_ARMV7A', 'BR2_ARM_EABIHF'], + 'test_options': ['BR2_arm', 'BR2_cortex_a8', 'BR2_ARM_EABIHF'], + 'prefix': 'arm', + }, + 'armv7m': { + 'conditions': ['BR2_ARM_CPU_ARMV7M'], + 'test_options': ['BR2_arm', 'BR2_cortex_m4'], + 'prefix': 'arm', + }, + 'm68k-68xxx': { + 'conditions': ['BR2_m68k_m68k'], + 'test_options': ['BR2_m68k', 'BR2_m68k_68040'], + 'prefix': 'm68k', + }, + 'm68k-coldfire': { + 'conditions': ['BR2_m68k_cf'], + 'test_options': ['BR2_m68k', 'BR2_m68k_cf5208'], + 'prefix': 'm68k', + }, + 'microblazebe': { + 'conditions': ['BR2_microblazebe'], + 'prefix': 'microblaze', + }, + 'microblazeel': { + 'conditions': ['BR2_microblazeel'], + 'prefix': 'microblazeel', + }, + 'mips32': { + # Not sure it could be used by other mips32 variants? + 'conditions': ['BR2_mips', 'BR2_mips_32', '!BR2_MIPS_SOFT_FLOAT'], + 'prefix': 'mips', + }, + 'mips32el': { + # Not sure it could be used by other mips32el variants? + 'conditions': ['BR2_mipsel', 'BR2_mips_32', '!BR2_MIPS_SOFT_FLOAT'], + 'prefix': 'mipsel', + }, + 'mips32r5el': { + 'conditions': ['BR2_mipsel', 'BR2_mips_32r5', '!BR2_MIPS_SOFT_FLOAT'], + 'prefix': 'mipsel', + }, + 'mips32r6el': { + 'conditions': ['BR2_mipsel', 'BR2_mips_32r6', '!BR2_MIPS_SOFT_FLOAT'], + 'prefix': 'mipsel', + }, + 'mips64': { + # Not sure it could be used by other mips64 variants? + 'conditions': ['BR2_mips64', 'BR2_mips_64', '!BR2_MIPS_SOFT_FLOAT'], + 'prefix': 'mips64', + }, + 'mips64-n32': { + # Not sure it could be used by other mips64 variants? + 'conditions': ['BR2_mips64', 'BR2_mips_64', 'BR2_MIPS_NABI32', '!BR2_MIPS_SOFT_FLOAT'], + 'prefix': 'mips64', + }, + 'mips64el-n32': { + # Not sure it could be used by other mips64el variants? + 'conditions': ['BR2_mips64el', 'BR2_mips_64', 'BR2_MIPS_NABI32', '!BR2_MIPS_SOFT_FLOAT'], + 'prefix': 'mips64el', + }, + 'mips64r6el-n32': { + 'conditions': ['BR2_mips64el', 'BR2_mips_64r6', 'BR2_MIPS_NABI32', '!BR2_MIPS_SOFT_FLOAT'], + 'prefix': 'mips64el', + }, + 'nios2': { + 'conditions': ['BR2_nios2'], + 'prefix': 'nios2', + }, + 'openrisc': { + 'conditions': ['BR2_or1k'], + 'prefix': 'or1k', + }, + 'powerpc-440fp': { + # Not sure it could be used by other powerpc variants? + 'conditions': ['BR2_powerpc', 'BR2_powerpc_440fp'], + 'prefix': 'powerpc', + }, + 'powerpc-e300c3': { + # Not sure it could be used by other powerpc variants? + 'conditions': ['BR2_powerpc', 'BR2_powerpc_e300c3'], + 'prefix': 'powerpc', + }, + 'powerpc-e500mc': { + # Not sure it could be used by other powerpc variants? + 'conditions': ['BR2_powerpc', 'BR2_powerpc_e500mc'], + 'prefix': 'powerpc', + }, + 'powerpc64-e5500': { + 'conditions': ['BR2_powerpc64', 'BR2_powerpc_e5500'], + 'prefix': 'powerpc64', + }, + 'powerpc64-e6500': { + 'conditions': ['BR2_powerpc64', 'BR2_powerpc_e6500'], + 'prefix': 'powerpc64', + }, + 'powerpc64-power8': { + 'conditions': ['BR2_powerpc64', 'BR2_powerpc_power8'], + 'prefix': 'powerpc64', + }, + 'powerpc64le-power8': { + 'conditions': ['BR2_powerpc64le', 'BR2_powerpc_power8'], + 'prefix': 'powerpc64le', + }, + 'riscv32-ilp32d': { + 'conditions': ['BR2_riscv', 'BR2_riscv_g', 'BR2_RISCV_32', 'BR2_RISCV_ABI_ILP32D'], + 'prefix': 'riscv32', + }, + 'riscv64-lp64d': { + 'conditions': ['BR2_riscv', 'BR2_riscv_g', 'BR2_RISCV_64', 'BR2_RISCV_ABI_LP64D'], + 'prefix': 'riscv64', + }, + 'sh-sh4': { + 'conditions': ['BR2_sh', 'BR2_sh4'], + 'prefix': 'sh4', + }, + 'sh-sh4aeb': { + 'conditions': ['BR2_sh', 'BR2_sh4aeb'], + 'prefix': 'sh4aeb', + }, + 'sparc64': { + 'conditions': ['BR2_sparc64', 'BR2_sparc_v9'], + 'prefix': 'sparc64', + }, + 'sparcv8': { + 'conditions': ['BR2_sparc', 'BR2_sparc_v8'], + 'prefix': 'sparc', + }, + 'x86-64': { + 'conditions': ['BR2_x86_64', + 'BR2_X86_CPU_HAS_MMX', + 'BR2_X86_CPU_HAS_SSE', + 'BR2_X86_CPU_HAS_SSE2'], + 'test_options': ['BR2_x86_64', 'BR2_x86_x86_64'], + 'prefix': 'x86_64', + }, + 'x86-64-v2': { + 'conditions': ['BR2_x86_64', + 'BR2_X86_CPU_HAS_MMX', + 'BR2_X86_CPU_HAS_SSE', + 'BR2_X86_CPU_HAS_SSE2', + 'BR2_X86_CPU_HAS_SSE3', + 'BR2_X86_CPU_HAS_SSSE3', + 'BR2_X86_CPU_HAS_SSE4', + 'BR2_X86_CPU_HAS_SSE42'], + 'test_options': ['BR2_x86_64', 'BR2_x86_x86_64_v2'], + 'prefix': 'x86_64', + }, + 'x86-64-v3': { + 'conditions': ['BR2_x86_64', + 'BR2_X86_CPU_HAS_MMX', + 'BR2_X86_CPU_HAS_SSE', + 'BR2_X86_CPU_HAS_SSE2', + 'BR2_X86_CPU_HAS_SSE3', + 'BR2_X86_CPU_HAS_SSSE3', + 'BR2_X86_CPU_HAS_SSE4', + 'BR2_X86_CPU_HAS_SSE42', + 'BR2_X86_CPU_HAS_AVX', + 'BR2_X86_CPU_HAS_AVX2'], + 'test_options': ['BR2_x86_64', 'BR2_x86_x86_64_v3'], + 'prefix': 'x86_64', + }, + 'x86-64-v4': { + 'conditions': ['BR2_x86_64', + 'BR2_X86_CPU_HAS_MMX', + 'BR2_X86_CPU_HAS_SSE', + 'BR2_X86_CPU_HAS_SSE2', + 'BR2_X86_CPU_HAS_SSE3', + 'BR2_X86_CPU_HAS_SSSE3', + 'BR2_X86_CPU_HAS_SSE4', + 'BR2_X86_CPU_HAS_SSE42', + 'BR2_X86_CPU_HAS_AVX', + 'BR2_X86_CPU_HAS_AVX2', + 'BR2_X86_CPU_HAS_AVX512'], + 'test_options': ['BR2_x86_64', 'BR2_x86_x86_64_v4'], + 'prefix': 'x86_64', + }, + 'x86-64-core-i7': { + 'conditions': ['BR2_x86_64', + 'BR2_X86_CPU_HAS_MMX', + 'BR2_X86_CPU_HAS_SSE', + 'BR2_X86_CPU_HAS_SSE2', + 'BR2_X86_CPU_HAS_SSE3', + 'BR2_X86_CPU_HAS_SSSE3', + 'BR2_X86_CPU_HAS_SSE4', + 'BR2_X86_CPU_HAS_SSE42'], + 'test_options': ['BR2_x86_64', 'BR2_x86_corei7'], + 'prefix': 'x86_64', + }, + 'x86-core2': { + 'conditions': ['BR2_i386', + 'BR2_X86_CPU_HAS_MMX', + 'BR2_X86_CPU_HAS_SSE', + 'BR2_X86_CPU_HAS_SSE2', + 'BR2_X86_CPU_HAS_SSE3', + 'BR2_X86_CPU_HAS_SSSE3'], + 'test_options': ['BR2_i386', 'BR2_x86_core2'], + 'prefix': 'i686', + }, + 'x86-i686': { + 'conditions': ['BR2_i386', + '!BR2_x86_i486', + '!BR2_x86_i586', + '!BR2_x86_x1000'], + 'test_options': ['BR2_i386', + 'BR2_x86_i686'], + 'prefix': 'i686', + }, + 'xtensa-lx60': { + 'conditions': ['BR2_xtensa', 'BR2_XTENSA_CUSTOM', 'BR2_XTENSA_LITTLE_ENDIAN'], + 'prefix': 'xtensa', + }, +} + + +class Toolchain: + def __init__(self, arch, libc, variant, version): + self.arch = arch + self.libc = libc + self.variant = variant + self.version = version + self.fname_prefix = "%s--%s--%s-%s" % (self.arch, self.libc, self.variant, self.version) + self.option_name = "BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_%s_%s_%s" % \ + (self.arch.replace("-", "_").upper(), self.libc.upper(), self.variant.replace("-", "_").upper()) + self.fragment = requests.get(self.fragment_url).text.split("\n") + self.sha256 = requests.get(self.hash_url).text.split(" ")[0] + + @property + def tarball_url(self): + return os.path.join(BASE_URL, self.arch, "tarballs", + self.fname_prefix + ".tar.bz2") + + @property + def hash_url(self): + return os.path.join(BASE_URL, self.arch, "tarballs", + self.fname_prefix + ".sha256") + + @property + def fragment_url(self): + return os.path.join(BASE_URL, self.arch, "fragments", + self.fname_prefix + ".frag") + + def gen_config_in_options(self, f): + f.write("config %s\n" % self.option_name) + f.write("\tbool \"%s %s %s %s\"\n" % + (self.arch, self.libc, self.variant, self.version)) + depends = [] + selects = [] + + for c in arches[self.arch]['conditions']: + depends.append(c) + + for frag in self.fragment: + # libc type + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC"): + selects.append("BR2_TOOLCHAIN_EXTERNAL_UCLIBC") + elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC"): + # glibc needs mmu support + depends.append("BR2_USE_MMU") + # glibc doesn't support static only configuration + depends.append("!BR2_STATIC_LIBS") + selects.append("BR2_TOOLCHAIN_EXTERNAL_GLIBC") + elif frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL"): + # musl needs mmu support + depends.append("BR2_USE_MMU") + selects.append("BR2_TOOLCHAIN_EXTERNAL_MUSL") + + # gcc version + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_GCC_"): + m = re.match("^BR2_TOOLCHAIN_EXTERNAL_GCC_([0-9_]*)=y$", frag) + assert m, "Cannot get gcc version for toolchain %s" % self.fname_prefix + selects.append("BR2_TOOLCHAIN_GCC_AT_LEAST_%s" % m[1]) + + # kernel headers version + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HEADERS_"): + m = re.match("^BR2_TOOLCHAIN_EXTERNAL_HEADERS_([0-9_]*)=y$", frag) + assert m, "Cannot get kernel headers version for toolchain %s" % self.fname_prefix + selects.append("BR2_TOOLCHAIN_HEADERS_AT_LEAST_%s" % m[1]) + + # C++ + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_CXX"): + selects.append("BR2_INSTALL_LIBSTDCPP") + + # SSP + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HAS_SSP"): + selects.append("BR2_TOOLCHAIN_HAS_SSP") + + # wchar + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_WCHAR"): + selects.append("BR2_USE_WCHAR") + + # locale + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_LOCALE"): + # locale implies the availability of wchar + selects.append("BR2_USE_WCHAR") + selects.append("BR2_ENABLE_LOCALE") + + # thread support + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS"): + selects.append("BR2_TOOLCHAIN_HAS_THREADS") + + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG"): + selects.append("BR2_TOOLCHAIN_HAS_THREADS_DEBUG") + + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL"): + selects.append("BR2_TOOLCHAIN_HAS_THREADS_NPTL") + + # RPC + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_INET_RPC"): + selects.append("BR2_TOOLCHAIN_HAS_NATIVE_RPC") + + # D language + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_DLANG"): + selects.append("BR2_TOOLCHAIN_HAS_DLANG") + + # fortran + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_FORTRAN"): + selects.append("BR2_TOOLCHAIN_HAS_FORTRAN") + + # OpenMP + if frag.startswith("BR2_TOOLCHAIN_EXTERNAL_OPENMP"): + selects.append("BR2_TOOLCHAIN_HAS_OPENMP") + + for depend in depends: + f.write("\tdepends on %s\n" % depend) + + for select in selects: + f.write("\tselect %s\n" % select) + + f.write("\thelp\n") + + desc = "Bootlin toolchain for the %s architecture, using the %s C library. " % \ + (self.arch, self.libc) + + if self.variant == "stable": + desc += "This is a stable version, which means it is using stable and proven versions of gcc, gdb and binutils." + else: + desc += "This is a bleeding-edge version, which means it is using the latest versions of gcc, gdb and binutils." + + f.write(textwrap.fill(desc, width=62, initial_indent="\t ", subsequent_indent="\t ") + "\n") + f.write("\n") + f.write("\t https://toolchains.bootlin.com/\n") + + f.write("\n") + + def gen_mk(self, f): + f.write("ifeq ($(%s),y)\n" % self.option_name) + f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = %s\n" % self.version) + f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = %s--%s--%s-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2\n" % + (self.arch, self.libc, self.variant)) + f.write("TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = %s\n" % + os.path.join(BASE_URL, self.arch, "tarballs")) + f.write("endif\n\n") + pass + + def gen_hash(self, f): + f.write("# From %s\n" % self.hash_url) + f.write("sha256 %s %s\n" % (self.sha256, os.path.basename(self.tarball_url))) + + def gen_test(self, f): + if self.variant == "stable": + variant = "Stable" + else: + variant = "BleedingEdge" + testname = "TestExternalToolchainBootlin" + \ + self.arch.replace("-", "").capitalize() + \ + self.libc.capitalize() + variant + f.write("\n\n") + f.write("class %s(TestExternalToolchain):\n" % testname) + f.write(" config = \"\"\"\n") + if 'test_options' in arches[self.arch]: + test_options = arches[self.arch]['test_options'] + else: + test_options = arches[self.arch]['conditions'] + for opt in test_options: + if opt.startswith("!"): + f.write(" # %s is not set\n" % opt[1:]) + else: + f.write(" %s=y\n" % opt) + f.write(" BR2_TOOLCHAIN_EXTERNAL=y\n") + f.write(" BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y\n") + f.write(" %s=y\n" % self.option_name) + f.write(" # BR2_TARGET_ROOTFS_TAR is not set\n") + f.write(" \"\"\"\n") + f.write(" toolchain_prefix = \"%s-linux\"\n" % arches[self.arch]['prefix']) + f.write("\n") + f.write(" def test_run(self):\n") + f.write(" TestExternalToolchain.common_check(self)\n") + + def __repr__(self): + return "Toolchain(arch=%s libc=%s variant=%s version=%s, option=%s)" % \ + (self.arch, self.libc, self.variant, self.version, self.option_name) + + +def get_toolchains(): + toolchains = list() + for arch, details in arches.items(): + print(arch) + url = os.path.join(BASE_URL, arch, "available_toolchains") + page = requests.get(url).text + fnames = sorted(re.findall(r'&1 \ + | sed -r -e '/^test_run \((.*)\).*/!d; s//\1/' \ + | LC_ALL=C sort) + ) + + if [ -n "${CI_COMMIT_TAG}" ]; then + # When a tag is added to the Buildroot git tree, we want + # to run the runtime tests and only test Qemu defconfigs. + defconfigs=( $(cd configs; LC_ALL=C ls -1 qemu_*_defconfig) ) + do_basics=true + do_defconfigs=base + do_runtime=true + elif [ "${CI_PIPELINE_SOURCE}" = "trigger" ]; then + case "${BR_SCHEDULE_JOBS}" in + (basic) + do_basics=true + do_defconfigs=check + defconfigs_ext=_check + ;; + (defconfig) + do_defconfigs=base + ;; + (runtime) + do_runtime=true + ;; + esac + else + case "${CI_COMMIT_REF_NAME}" in + (*-basics) + do_basics=true + do_defconfigs=check + defconfigs_ext=_check + ;; + (*-defconfigs) + do_defconfigs=base + ;; + (*-defconfigs-*) + pattern=$(echo ${CI_COMMIT_REF_NAME} | sed 's%^.*-defconfigs-\(.*\)%\1%') + defconfigs=( $(cd configs; LC_ALL=C ls -1 | grep ^${pattern}) ) + do_defconfigs=base + ;; + (*-*_defconfig) + defconfigs=( "${CI_COMMIT_REF_NAME##*-}" ) + do_defconfigs=base + ;; + (*-runtime-tests) + do_runtime=true + ;; + (*-tests.*) + runtimes=( $(./support/testing/run-tests -l 2>&1 \ + | sed -r -e '/^test_run \((.*)\).*/!d; s//\1/' \ + | LC_ALL=C sort \ + | grep "^${CI_COMMIT_REF_NAME##*-}") + ) + do_runtime=true + ;; + esac + fi + + # Retrieve defconfig for test-pkg from the git commit message (if any) + if grep -q -E '^test-pkg config:$' <<<"${CI_COMMIT_DESCRIPTION}"; then + sed -r -n -e '/^test-pkg config:$/{:a;n;p;ba;}' \ + <<<"${CI_COMMIT_DESCRIPTION}" \ + >defconfig.frag + if [ ! -s defconfig.frag ]; then + printf "Empty configuration fragment.\n" >&2; exit 1 + fi + # Use --all since we expect the user having already pre-tested the + # new package with the default subset of toolchains. + ./utils/test-pkg \ + --all --prepare-only \ + --config-snippet defconfig.frag \ + --build-dir br-test-pkg >&2 + do_testpkg=( $(ls -1 br-test-pkg/*/.config 2>/dev/null |xargs -r dirname ) ) + if [ "${#do_testpkg[@]}" -eq 0 ]; then + printf "Configuration fragment enables no test.\n" >&2; exit 1 + fi + fi + + # If nothing else, at least do the basics to generate a valid pipeline + if [ -z "${do_defconfigs}" \ + -a -z "${do_runtime}" \ + -a -z "${do_testpkg}" \ + ] + then + do_basics=true + fi + + if ${do_basics:-false}; then + for tst in "${basics[@]}"; do + printf 'check-%s: { extends: .check-%s_base }\n' "${tst}" "${tst}" + done + fi + + if [ -n "${do_defconfigs}" ]; then + for cfg in "${defconfigs[@]}"; do + printf '%s%s: { extends: .defconfig_%s }\n' \ + "${cfg}" "${defconfigs_ext}" "${do_defconfigs}" + done + fi + + if ${do_runtime:-false}; then + printf '%s: { extends: .runtime_test_base }\n' "${runtimes[@]}" + fi + + if [ -n "${do_testpkg}" ]; then + printf '%s: { extends: .test_pkg }\n' "${do_testpkg[@]}" + fi +} + +main "${@}" diff --git a/buildroot-2021.05/support/scripts/genimage.sh b/buildroot-2022.02.1/support/scripts/genimage.sh similarity index 100% rename from buildroot-2021.05/support/scripts/genimage.sh rename to buildroot-2022.02.1/support/scripts/genimage.sh diff --git a/buildroot-2022.02.1/support/scripts/graph-build-time b/buildroot-2022.02.1/support/scripts/graph-build-time new file mode 100755 index 00000000..1edc3b3c --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/graph-build-time @@ -0,0 +1,373 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2011 by Thomas Petazzoni +# Copyright (C) 2013 by Yann E. MORIN +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +# This script generates graphs of packages build time, from the timing +# data generated by Buildroot in the $(O)/build-time.log file. +# +# Example usage: +# +# cat $(O)/build-time.log | ./support/scripts/graph-build-time --type=histogram --output=foobar.pdf +# +# Three graph types are available : +# +# * histogram, which creates an histogram of the build time for each +# package, decomposed by each step (extract, patch, configure, +# etc.). The order in which the packages are shown is +# configurable: by package name, by build order, or by duration +# order. See the --order option. +# +# * pie-packages, which creates a pie chart of the build time of +# each package (without decomposition in steps). Packages that +# contributed to less than 1% of the overall build time are all +# grouped together in an "Other" entry. +# +# * pie-steps, which creates a pie chart of the time spent globally +# on each step (extract, patch, configure, etc...) +# +# The default is to generate an histogram ordered by package name. +# +# Requirements: +# +# * matplotlib (python-matplotlib on Debian/Ubuntu systems) +# * numpy (python-numpy on Debian/Ubuntu systems) +# * argparse (by default in Python 2.7, requires python-argparse if +# Python 2.6 is used) + +import sys + +try: + import matplotlib as mpl + import numpy +except ImportError: + sys.stderr.write("You need python-matplotlib and python-numpy to generate build graphs\n") + exit(1) + +# Use the Agg backend (which produces a PNG output, see +# http://matplotlib.org/faq/usage_faq.html#what-is-a-backend), +# otherwise an incorrect backend is used on some host machines). +# Note: matplotlib.use() must be called *before* matplotlib.pyplot. +mpl.use('Agg') + +import matplotlib.pyplot as plt # noqa: E402 +import matplotlib.font_manager as fm # noqa: E402 +import csv # noqa: E402 +import argparse # noqa: E402 + +steps = ['download', 'extract', 'patch', 'configure', 'build', + 'install-target', 'install-staging', 'install-images', + 'install-host'] + +default_colors = ['#8d02ff', '#e60004', '#009836', '#2e1d86', '#ffed00', + '#0068b5', '#f28e00', '#940084', '#97c000'] + +alternate_colors = ['#ffbe0a', '#96bdff', '#3f7f7f', '#ff0000', '#00c000', + '#0080ff', '#c000ff', '#00eeee', '#e0e000'] + + +class Package: + def __init__(self, name): + self.name = name + self.steps_duration = {} + self.steps_start = {} + self.steps_end = {} + + def add_step(self, step, state, time): + if state == "start": + self.steps_start[step] = time + else: + self.steps_end[step] = time + if step in self.steps_start and step in self.steps_end: + self.steps_duration[step] = self.steps_end[step] - self.steps_start[step] + + def get_duration(self, step=None): + if step is None: + duration = 0 + for step in list(self.steps_duration.keys()): + duration += self.steps_duration[step] + return duration + if step in self.steps_duration: + return self.steps_duration[step] + return 0 + + +# Generate an histogram of the time spent in each step of each +# package. +def pkg_histogram(data, output, order="build"): + n_pkgs = len(data) + ind = numpy.arange(n_pkgs) + + if order == "duration": + data = sorted(data, key=lambda p: p.get_duration(), reverse=True) + elif order == "name": + data = sorted(data, key=lambda p: p.name, reverse=False) + + # Prepare the vals array, containing one entry for each step + vals = [] + for step in steps: + val = [] + for p in data: + val.append(p.get_duration(step)) + vals.append(val) + + bottom = [0] * n_pkgs + legenditems = [] + + plt.figure() + + # Draw the bars, step by step + for i in range(0, len(vals)): + b = plt.bar(ind+0.1, vals[i], width=0.8, color=colors[i], bottom=bottom, linewidth=0.25) + legenditems.append(b[0]) + bottom = [bottom[j] + vals[i][j] for j in range(0, len(vals[i]))] + + # Draw the package names + plt.xticks(ind + .6, [p.name for p in data], rotation=-60, rotation_mode="anchor", fontsize=8, ha='left') + + # Adjust size of graph depending on the number of packages + # Ensure a minimal size twice as the default + # Magic Numbers do Magic Layout! + ratio = max(((n_pkgs + 10) / 48, 2)) + borders = 0.1 / ratio + sz = plt.gcf().get_figwidth() + plt.gcf().set_figwidth(sz * ratio) + + # Adjust space at borders, add more space for the + # package names at the bottom + plt.gcf().subplots_adjust(bottom=0.2, left=borders, right=1-borders) + + # Remove ticks in the graph for each package + axes = plt.gcf().gca() + for line in axes.get_xticklines(): + line.set_markersize(0) + + axes.set_ylabel('Time (seconds)') + + # Reduce size of legend text + leg_prop = fm.FontProperties(size=6) + + # Draw legend + plt.legend(legenditems, steps, prop=leg_prop) + + if order == "name": + plt.title('Build time of packages\n') + elif order == "build": + plt.title('Build time of packages, by build order\n') + elif order == "duration": + plt.title('Build time of packages, by duration order\n') + + # Save graph + plt.savefig(output) + + +# Generate a pie chart with the time spent building each package. +def pkg_pie_time_per_package(data, output): + # Compute total build duration + total = 0 + for p in data: + total += p.get_duration() + + # Build the list of labels and values, and filter the packages + # that account for less than 1% of the build time. + labels = [] + values = [] + other_value = 0 + for p in sorted(data, key=lambda p: p.get_duration()): + if p.get_duration() < (total * 0.01): + other_value += p.get_duration() + else: + labels.append(p.name) + values.append(p.get_duration()) + + labels.append('Other') + values.append(other_value) + + plt.figure() + + # Draw pie graph + patches, texts, autotexts = plt.pie(values, labels=labels, + autopct='%1.1f%%', shadow=True, + colors=colors) + + # Reduce text size + proptease = fm.FontProperties() + proptease.set_size('xx-small') + plt.setp(autotexts, fontproperties=proptease) + plt.setp(texts, fontproperties=proptease) + + plt.title('Build time per package') + plt.savefig(output) + + +# Generate a pie chart with a portion for the overall time spent in +# each step for all packages. +def pkg_pie_time_per_step(data, output): + steps_values = [] + for step in steps: + val = 0 + for p in data: + val += p.get_duration(step) + steps_values.append(val) + + plt.figure() + + # Draw pie graph + patches, texts, autotexts = plt.pie(steps_values, labels=steps, + autopct='%1.1f%%', shadow=True, + colors=colors) + + # Reduce text size + proptease = fm.FontProperties() + proptease.set_size('xx-small') + plt.setp(autotexts, fontproperties=proptease) + plt.setp(texts, fontproperties=proptease) + + plt.title('Build time per step') + plt.savefig(output) + + +def pkg_timeline(data, output): + start = 0 + end = 0 + + # Find the first timestamp and the last timestamp + for p in data: + for k, v in p.steps_start.items(): + if start == 0 or v < start: + start = v + if end < v: + end = v + + # Readjust all timestamps so that 0 is the start of the build + # instead of being Epoch + for p in data: + for k, v in p.steps_start.items(): + p.steps_start[k] = v - start + for k, v in p.steps_end.items(): + p.steps_end[k] = v - start + + plt.figure() + + i = 0 + labels_names = [] + labels_coords = [] + # put last packages that started to configure last; this does not + # give the proper dependency chain, but still provides a good-enough + # cascade graph. + for p in sorted(data, reverse=True, key=lambda x: x.steps_start['configure']): + durations = [] + facecolors = [] + for step in steps: + if step not in p.steps_start or step not in p.steps_end: + continue + durations.append((p.steps_start[step], + p.steps_end[step] - p.steps_start[step])) + facecolors.append(colors[steps.index(step)]) + plt.broken_barh(durations, (i, 6), facecolors=facecolors) + labels_coords.append(i + 3) + labels_names.append(p.name) + i += 10 + + axes = plt.gcf().gca() + + axes.set_ylim(0, i + 10) + axes.set_xlim(0, end - start) + axes.set_xlabel('seconds since start') + axes.set_yticks(labels_coords) + axes.set_yticklabels(labels_names) + axes.set_axisbelow(True) + axes.grid(True, linewidth=0.2, zorder=-1) + + plt.gcf().subplots_adjust(left=0.2) + + plt.tick_params(axis='y', which='both', labelsize=6) + plt.title('Timeline') + plt.savefig(output, dpi=300) + + +# Parses the csv file passed on standard input and returns a list of +# Package objects, filed with the duration of each step and the total +# duration of the package. +def read_data(input_file): + if input_file is None: + input_file = sys.stdin + else: + input_file = open(input_file) + reader = csv.reader(input_file, delimiter=':') + pkgs = [] + + # Auxilliary function to find a package by name in the list. + def getpkg(name): + for p in pkgs: + if p.name == name: + return p + return None + + for row in reader: + time = float(row[0].strip()) + state = row[1].strip() + step = row[2].strip() + pkg = row[3].strip() + + p = getpkg(pkg) + if p is None: + p = Package(pkg) + pkgs.append(p) + + p.add_step(step, state, time) + + return pkgs + + +parser = argparse.ArgumentParser(description='Draw build time graphs') +parser.add_argument("--type", '-t', metavar="GRAPH_TYPE", + help="Type of graph (histogram, pie-packages, pie-steps, timeline)") +parser.add_argument("--order", '-O', metavar="GRAPH_ORDER", + help="Ordering of packages: build or duration (for histogram only)") +parser.add_argument("--alternate-colors", '-c', action="store_true", + help="Use alternate colour-scheme") +parser.add_argument("--input", '-i', metavar="INPUT", + help="Input file (usually $(O)/build/build-time.log)") +parser.add_argument("--output", '-o', metavar="OUTPUT", required=True, + help="Output file (.pdf or .png extension)") +args = parser.parse_args() + +d = read_data(args.input) + +if args.alternate_colors: + colors = alternate_colors +else: + colors = default_colors + +if args.type == "histogram" or args.type is None: + if args.order == "build" or args.order == "duration" or args.order == "name": + pkg_histogram(d, args.output, args.order) + elif args.order is None: + pkg_histogram(d, args.output, "name") + else: + sys.stderr.write("Unknown ordering: %s\n" % args.order) + exit(1) +elif args.type == "pie-packages": + pkg_pie_time_per_package(d, args.output) +elif args.type == "pie-steps": + pkg_pie_time_per_step(d, args.output) +elif args.type == "timeline": + pkg_timeline(d, args.output) +else: + sys.stderr.write("Unknown type: %s\n" % args.type) + exit(1) diff --git a/buildroot-2022.02.1/support/scripts/graph-depends b/buildroot-2022.02.1/support/scripts/graph-depends new file mode 100755 index 00000000..a66fb28f --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/graph-depends @@ -0,0 +1,357 @@ +#!/usr/bin/env python3 + +# Usage (the graphviz package must be installed in your distribution) +# ./support/scripts/graph-depends [-p package-name] > test.dot +# dot -Tpdf test.dot -o test.pdf +# +# With no arguments, graph-depends will draw a complete graph of +# dependencies for the current configuration. +# If '-p ' is specified, graph-depends will draw a graph +# of dependencies for the given package name. +# If '-d ' is specified, graph-depends will limit the depth of +# the dependency graph to 'depth' levels. +# +# Limitations +# +# * Some packages have dependencies that depend on the Buildroot +# configuration. For example, many packages have a dependency on +# openssl if openssl has been enabled. This tool will graph the +# dependencies as they are with the current Buildroot +# configuration. +# +# Copyright (C) 2010-2013 Thomas Petazzoni +# Copyright (C) 2019 Yann E. MORIN + +import logging +import sys +import argparse +from fnmatch import fnmatch + +import brpkgutil + +# Modes of operation: +MODE_FULL = 1 # draw full dependency graph for all selected packages +MODE_PKG = 2 # draw dependency graph for a given package + +allpkgs = [] + + +# The Graphviz "dot" utility doesn't like dashes in node names. So for +# node names, we strip all dashes. Also, nodes can't start with a number, +# so we prepend an underscore. +def pkg_node_name(pkg): + return "_" + pkg.replace("-", "") + + +# Basic cache for the results of the is_dep() function, in order to +# optimize the execution time. The cache is a dict of dict of boolean +# values. The key to the primary dict is "pkg", and the key of the +# sub-dicts is "pkg2". +is_dep_cache = {} + + +def is_dep_cache_insert(pkg, pkg2, val): + try: + is_dep_cache[pkg].update({pkg2: val}) + except KeyError: + is_dep_cache[pkg] = {pkg2: val} + + +# Retrieves from the cache whether pkg2 is a transitive dependency +# of pkg. +# Note: raises a KeyError exception if the dependency is not known. +def is_dep_cache_lookup(pkg, pkg2): + return is_dep_cache[pkg][pkg2] + + +# This function return True if pkg is a dependency (direct or +# transitive) of pkg2, dependencies being listed in the deps +# dictionary. Returns False otherwise. +# This is the un-cached version. +def is_dep_uncached(pkg, pkg2, deps): + try: + for p in deps[pkg2]: + if pkg == p: + return True + if is_dep(pkg, p, deps): + return True + except KeyError: + pass + return False + + +# See is_dep_uncached() above; this is the cached version. +def is_dep(pkg, pkg2, deps): + try: + return is_dep_cache_lookup(pkg, pkg2) + except KeyError: + val = is_dep_uncached(pkg, pkg2, deps) + is_dep_cache_insert(pkg, pkg2, val) + return val + + +# This function eliminates transitive dependencies; for example, given +# these dependency chain: A->{B,C} and B->{C}, the A->{C} dependency is +# already covered by B->{C}, so C is a transitive dependency of A, via B. +# The functions does: +# - for each dependency d[i] of the package pkg +# - if d[i] is a dependency of any of the other dependencies d[j] +# - do not keep d[i] +# - otherwise keep d[i] +def remove_transitive_deps(pkg, deps): + d = deps[pkg] + new_d = [] + for i in range(len(d)): + keep_me = True + for j in range(len(d)): + if j == i: + continue + if is_dep(d[i], d[j], deps): + keep_me = False + if keep_me: + new_d.append(d[i]) + return new_d + + +# List of dependencies that all/many packages have, and that we want +# to trim when generating the dependency graph. +MANDATORY_DEPS = ['toolchain', 'skeleton', 'host-skeleton', 'host-tar', 'host-gzip', 'host-ccache'] + + +# This function removes the dependency on some 'mandatory' package, like the +# 'toolchain' package, or the 'skeleton' package +def remove_mandatory_deps(pkg, deps): + return [p for p in deps[pkg] if p not in MANDATORY_DEPS] + + +# This function returns all dependencies of pkg that are part of the +# mandatory dependencies: +def get_mandatory_deps(pkg, deps): + return [p for p in deps[pkg] if p in MANDATORY_DEPS] + + +# This function will check that there is no loop in the dependency chain +# As a side effect, it builds up the dependency cache. +def check_circular_deps(deps): + def recurse(pkg): + if pkg not in list(deps.keys()): + return + if pkg in not_loop: + return + not_loop.append(pkg) + chain.append(pkg) + for p in deps[pkg]: + if p in chain: + logging.warning("\nRecursion detected for : %s" % (p)) + while True: + _p = chain.pop() + logging.warning("which is a dependency of: %s" % (_p)) + if p == _p: + sys.exit(1) + recurse(p) + chain.pop() + + not_loop = [] + chain = [] + for pkg in list(deps.keys()): + recurse(pkg) + + +# This functions trims down the dependency list of all packages. +# It applies in sequence all the dependency-elimination methods. +def remove_extra_deps(deps, rootpkg, transitive, arrow_dir): + # For the direct dependencies, find and eliminate mandatory + # deps, and add them to the root package. Don't do it for a + # reverse graph, because mandatory deps are only direct deps. + if arrow_dir == "forward": + for pkg in list(deps.keys()): + if not pkg == rootpkg: + for d in get_mandatory_deps(pkg, deps): + if d not in deps[rootpkg]: + deps[rootpkg].append(d) + deps[pkg] = remove_mandatory_deps(pkg, deps) + for pkg in list(deps.keys()): + if not transitive or pkg == rootpkg: + deps[pkg] = remove_transitive_deps(pkg, deps) + return deps + + +# Print the attributes of a node: label and fill-color +def print_attrs(outfile, pkg, pkg_type, pkg_version, depth, colors): + name = pkg_node_name(pkg) + if pkg == 'all': + label = 'ALL' + else: + label = pkg + if depth == 0: + color = colors[0] + else: + if pkg_type == "host": + color = colors[2] + else: + color = colors[1] + if pkg_version == "virtual": + outfile.write("%s [label = <%s>]\n" % (name, label)) + else: + outfile.write("%s [label = \"%s\"]\n" % (name, label)) + outfile.write("%s [color=%s,style=filled]\n" % (name, color)) + + +done_deps = [] + + +# Print the dependency graph of a package +def print_pkg_deps(outfile, dict_deps, dict_types, dict_versions, stop_list, exclude_list, + arrow_dir, draw_graph, depth, max_depth, pkg, colors): + if pkg in done_deps: + return + done_deps.append(pkg) + if draw_graph: + print_attrs(outfile, pkg, dict_types[pkg], dict_versions[pkg], depth, colors) + elif depth != 0: + outfile.write("%s " % pkg) + if pkg not in dict_deps: + return + for p in stop_list: + if fnmatch(pkg, p): + return + if dict_versions[pkg] == "virtual" and "virtual" in stop_list: + return + if dict_types[pkg] == "host" and "host" in stop_list: + return + if max_depth == 0 or depth < max_depth: + for d in dict_deps[pkg]: + if dict_versions[d] == "virtual" and "virtual" in exclude_list: + continue + if dict_types[d] == "host" and "host" in exclude_list: + continue + add = True + for p in exclude_list: + if fnmatch(d, p): + add = False + break + if add: + if draw_graph: + outfile.write("%s -> %s [dir=%s]\n" % (pkg_node_name(pkg), pkg_node_name(d), arrow_dir)) + print_pkg_deps(outfile, dict_deps, dict_types, dict_versions, stop_list, exclude_list, + arrow_dir, draw_graph, depth + 1, max_depth, d, colors) + + +def parse_args(): + parser = argparse.ArgumentParser(description="Graph packages dependencies") + parser.add_argument("--check-only", "-C", dest="check_only", action="store_true", default=False, + help="Only do the dependency checks (circular deps...)") + parser.add_argument("--outfile", "-o", metavar="OUT_FILE", dest="outfile", + help="File in which to generate the dot representation") + parser.add_argument("--package", '-p', metavar="PACKAGE", + help="Graph the dependencies of PACKAGE") + parser.add_argument("--depth", '-d', metavar="DEPTH", dest="depth", type=int, default=0, + help="Limit the dependency graph to DEPTH levels; 0 means no limit.") + parser.add_argument("--stop-on", "-s", metavar="PACKAGE", dest="stop_list", action="append", + help="Do not graph past this package (can be given multiple times)." + + " Can be a package name or a glob, " + + " 'virtual' to stop on virtual packages, or " + + "'host' to stop on host packages.") + parser.add_argument("--exclude", "-x", metavar="PACKAGE", dest="exclude_list", action="append", + help="Like --stop-on, but do not add PACKAGE to the graph.") + parser.add_argument("--exclude-mandatory", "-X", action="store_true", + help="Like if -x was passed for all mandatory dependencies.") + parser.add_argument("--colors", "-c", metavar="COLOR_LIST", dest="colors", + default="lightblue,grey,gainsboro", + help="Comma-separated list of the three colors to use" + + " to draw the top-level package, the target" + + " packages, and the host packages, in this order." + + " Defaults to: 'lightblue,grey,gainsboro'") + parser.add_argument("--transitive", dest="transitive", action='store_true', + default=False) + parser.add_argument("--no-transitive", dest="transitive", action='store_false', + help="Draw (do not draw) transitive dependencies") + parser.add_argument("--direct", dest="direct", action='store_true', default=True, + help="Draw direct dependencies (the default)") + parser.add_argument("--reverse", dest="direct", action='store_false', + help="Draw reverse dependencies") + parser.add_argument("--quiet", '-q', dest="quiet", action='store_true', + help="Quiet") + parser.add_argument("--flat-list", '-f', dest="flat_list", action='store_true', default=False, + help="Do not draw graph, just print a flat list") + return parser.parse_args() + + +def main(): + args = parse_args() + + check_only = args.check_only + + logging.basicConfig(stream=sys.stderr, format='%(message)s', + level=logging.WARNING if args.quiet else logging.INFO) + + if args.outfile is None: + outfile = sys.stdout + else: + if check_only: + logging.error("don't specify outfile and check-only at the same time") + sys.exit(1) + outfile = open(args.outfile, "w") + + if args.package is None: + mode = MODE_FULL + rootpkg = 'all' + else: + mode = MODE_PKG + rootpkg = args.package + + if args.stop_list is None: + stop_list = [] + else: + stop_list = args.stop_list + + if args.exclude_list is None: + exclude_list = [] + else: + exclude_list = args.exclude_list + + if args.exclude_mandatory: + exclude_list += MANDATORY_DEPS + + if args.direct: + arrow_dir = "forward" + else: + if mode == MODE_FULL: + logging.error("--reverse needs a package") + sys.exit(1) + arrow_dir = "back" + + draw_graph = not args.flat_list + + # Get the colors: we need exactly three colors, + # so no need not split more than 4 + # We'll let 'dot' validate the colors... + colors = args.colors.split(',', 4) + if len(colors) != 3: + logging.error("Error: incorrect color list '%s'" % args.colors) + sys.exit(1) + + deps, rdeps, dict_types, dict_versions = brpkgutil.get_dependency_tree() + dict_deps = deps if args.direct else rdeps + + check_circular_deps(dict_deps) + if check_only: + sys.exit(0) + + dict_deps = remove_extra_deps(dict_deps, rootpkg, args.transitive, arrow_dir) + + # Start printing the graph data + if draw_graph: + outfile.write("digraph G {\n") + + print_pkg_deps(outfile, dict_deps, dict_types, dict_versions, stop_list, exclude_list, + arrow_dir, draw_graph, 0, args.depth, rootpkg, colors) + + if draw_graph: + outfile.write("}\n") + else: + outfile.write("\n") + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/buildroot-2021.05/support/scripts/hardlink-or-copy b/buildroot-2022.02.1/support/scripts/hardlink-or-copy similarity index 100% rename from buildroot-2021.05/support/scripts/hardlink-or-copy rename to buildroot-2022.02.1/support/scripts/hardlink-or-copy diff --git a/buildroot-2021.05/support/scripts/mkmakefile b/buildroot-2022.02.1/support/scripts/mkmakefile similarity index 100% rename from buildroot-2021.05/support/scripts/mkmakefile rename to buildroot-2022.02.1/support/scripts/mkmakefile diff --git a/buildroot-2022.02.1/support/scripts/mkusers b/buildroot-2022.02.1/support/scripts/mkusers new file mode 100755 index 00000000..4fc06f8f --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/mkusers @@ -0,0 +1,471 @@ +#!/usr/bin/env bash +set -e +myname="${0##*/}" + +#---------------------------------------------------------------------------- +# Configurable items +FIRST_USER_UID=1000 +LAST_USER_UID=1999 +FIRST_USER_GID=1000 +LAST_USER_GID=1999 +# use names from /etc/adduser.conf +FIRST_SYSTEM_UID=100 +LAST_SYSTEM_UID=999 +FIRST_SYSTEM_GID=100 +LAST_SYSTEM_GID=999 +# argument to automatically crease system/user id +AUTO_SYSTEM_ID=-1 +AUTO_USER_ID=-2 + +# No more is configurable below this point +#---------------------------------------------------------------------------- + +#---------------------------------------------------------------------------- +error() { + local fmt="${1}" + shift + + printf "%s: " "${myname}" >&2 + printf "${fmt}" "${@}" >&2 +} +fail() { + error "$@" + exit 1 +} + +#---------------------------------------------------------------------------- +if [ ${#} -ne 2 ]; then + fail "usage: %s USERS_TABLE TARGET_DIR\n" +fi +USERS_TABLE="${1}" +TARGET_DIR="${2}" +shift 2 +PASSWD="${TARGET_DIR}/etc/passwd" +SHADOW="${TARGET_DIR}/etc/shadow" +GROUP="${TARGET_DIR}/etc/group" +# /etc/gshadow is not part of the standard skeleton, so not everybody +# will have it, but some may have it, and its content must be in sync +# with /etc/group, so any use of gshadow must be conditional. +GSHADOW="${TARGET_DIR}/etc/gshadow" + +# We can't simply source ${BR2_CONFIG} as it may contains constructs +# such as: +# BR2_DEFCONFIG="$(CONFIG_DIR)/defconfig" +# which when sourced from a shell script will eventually try to execute +# a command named 'CONFIG_DIR', which is plain wrong for virtually every +# systems out there. +# So, we have to scan that file instead. Sigh... :-( +PASSWD_METHOD="$( sed -r -e '/^BR2_TARGET_GENERIC_PASSWD_METHOD="(.*)"$/!d;' \ + -e 's//\1/;' \ + "${BR2_CONFIG}" \ + )" + +#---------------------------------------------------------------------------- +get_uid() { + local username="${1}" + + awk -F: -v username="${username}" \ + '$1 == username { printf( "%d\n", $3 ); }' "${PASSWD}" +} + +#---------------------------------------------------------------------------- +get_ugid() { + local username="${1}" + + awk -F: -v username="${username}" \ + '$1 == username { printf( "%d\n", $4 ); }' "${PASSWD}" +} + +#---------------------------------------------------------------------------- +get_gid() { + local group="${1}" + + awk -F: -v group="${group}" \ + '$1 == group { printf( "%d\n", $3 ); }' "${GROUP}" +} + +#---------------------------------------------------------------------------- +get_members() { + local group="${1}" + + awk -F: -v group="${group}" \ + '$1 == group { printf( "%s\n", $4 ); }' "${GROUP}" +} + +#---------------------------------------------------------------------------- +get_username() { + local uid="${1}" + + awk -F: -v uid="${uid}" \ + '$3 == uid { printf( "%s\n", $1 ); }' "${PASSWD}" +} + +#---------------------------------------------------------------------------- +get_group() { + local gid="${1}" + + awk -F: -v gid="${gid}" \ + '$3 == gid { printf( "%s\n", $1 ); }' "${GROUP}" +} + +#---------------------------------------------------------------------------- +get_ugroup() { + local username="${1}" + local ugid + + ugid="$( get_ugid "${username}" )" + if [ -n "${ugid}" ]; then + get_group "${ugid}" + fi +} + +#---------------------------------------------------------------------------- +# Sanity-check the new user/group: +# - check the gid is not already used for another group +# - check the group does not already exist with another gid +# - check the user does not already exist with another gid +# - check the uid is not already used for another user +# - check the user does not already exist with another uid +# - check the user does not already exist in another group +check_user_validity() { + local username="${1}" + local uid="${2}" + local group="${3}" + local gid="${4}" + local _uid _ugid _gid _username _group _ugroup + + _group="$( get_group "${gid}" )" + _gid="$( get_gid "${group}" )" + _ugid="$( get_ugid "${username}" )" + _username="$( get_username "${uid}" )" + _uid="$( get_uid "${username}" )" + _ugroup="$( get_ugroup "${username}" )" + + if [ "${username}" = "root" ]; then + fail "invalid username '%s\n'" "${username}" + fi + + if [ ${gid} -lt -2 -o ${gid} -eq 0 ]; then + fail "invalid gid '%d' for '%s'\n" ${gid} "${username}" + elif [ ${gid} -ge 0 ]; then + # check the gid is not already used for another group + if [ -n "${_group}" -a "${_group}" != "${group}" ]; then + fail "gid '%d' for '%s' is already used by group '%s'\n" \ + ${gid} "${username}" "${_group}" + fi + + # check the group does not already exists with another gid + # Need to split the check in two, otherwise '[' complains it + # is missing arguments when _gid is empty + if [ -n "${_gid}" ] && [ ${_gid} -ne ${gid} ]; then + fail "group '%s' for '%s' already exists with gid '%d' (wants '%d')\n" \ + "${group}" "${username}" ${_gid} ${gid} + fi + + # check the user does not already exists with another gid + # Need to split the check in two, otherwise '[' complains it + # is missing arguments when _ugid is empty + if [ -n "${_ugid}" ] && [ ${_ugid} -ne ${gid} ]; then + fail "user '%s' already exists with gid '%d' (wants '%d')\n" \ + "${username}" ${_ugid} ${gid} + fi + fi + + if [ ${uid} -lt -2 -o ${uid} -eq 0 ]; then + fail "invalid uid '%d' for '%s'\n" ${uid} "${username}" + elif [ ${uid} -ge 0 ]; then + # check the uid is not already used for another user + if [ -n "${_username}" -a "${_username}" != "${username}" ]; then + fail "uid '%d' for '%s' already used by user '%s'\n" \ + ${uid} "${username}" "${_username}" + fi + + # check the user does not already exists with another uid + # Need to split the check in two, otherwise '[' complains it + # is missing arguments when _uid is empty + if [ -n "${_uid}" ] && [ ${_uid} -ne ${uid} ]; then + fail "user '%s' already exists with uid '%d' (wants '%d')\n" \ + "${username}" ${_uid} ${uid} + fi + fi + + # check the user does not already exist in another group + if [ -n "${_ugroup}" -a "${_ugroup}" != "${group}" ]; then + fail "user '%s' already exists with group '%s' (wants '%s')\n" \ + "${username}" "${_ugroup}" "${group}" + fi + + return 0 +} + +#---------------------------------------------------------------------------- +# Generate a unique GID for given group. If the group already exists, +# then simply report its current GID. Otherwise, generate the lowest GID +# that is: +# - not 0 +# - comprised in [$2..$3] +# - not already used by a group +generate_gid() { + local group="${1}" + local mingid="${2}" + local maxgid="${3}" + local gid + + gid="$( get_gid "${group}" )" + if [ -z "${gid}" ]; then + for(( gid=mingid; gid<=maxgid; gid++ )); do + if [ -z "$( get_group "${gid}" )" ]; then + break + fi + done + if [ ${gid} -gt ${maxgid} ]; then + fail "can not allocate a GID for group '%s'\n" "${group}" + fi + fi + printf "%d\n" "${gid}" +} + +#---------------------------------------------------------------------------- +# Add a group; if it does already exist, remove it first +add_one_group() { + local group="${1}" + local gid="${2}" + local members + + # Generate a new GID if needed + if [ ${gid} -eq ${AUTO_USER_ID} ]; then + gid="$( generate_gid "${group}" $FIRST_USER_GID $LAST_USER_GID )" + elif [ ${gid} -eq ${AUTO_SYSTEM_ID} ]; then + gid="$( generate_gid "${group}" $FIRST_SYSTEM_GID $LAST_SYSTEM_GID )" + fi + + members=$(get_members "$group") + # Remove any previous instance of this group, and re-add the new one + sed -i --follow-symlinks -e '/^'"${group}"':.*/d;' "${GROUP}" + printf "%s:x:%d:%s\n" "${group}" "${gid}" "${members}" >>"${GROUP}" + + # Ditto for /etc/gshadow if it exists + if [ -f "${GSHADOW}" ]; then + sed -i --follow-symlinks -e '/^'"${group}"':.*/d;' "${GSHADOW}" + printf "%s:*::\n" "${group}" >>"${GSHADOW}" + fi +} + +#---------------------------------------------------------------------------- +# Generate a unique UID for given username. If the username already exists, +# then simply report its current UID. Otherwise, generate the lowest UID +# that is: +# - not 0 +# - comprised in [$2..$3] +# - not already used by a user +generate_uid() { + local username="${1}" + local minuid="${2}" + local maxuid="${3}" + + local uid + + uid="$( get_uid "${username}" )" + if [ -z "${uid}" ]; then + for(( uid=minuid; uid<=maxuid; uid++ )); do + if [ -z "$( get_username "${uid}" )" ]; then + break + fi + done + if [ ${uid} -gt ${maxuid} ]; then + fail "can not allocate a UID for user '%s'\n" "${username}" + fi + fi + printf "%d\n" "${uid}" +} + +#---------------------------------------------------------------------------- +# Add given user to given group, if not already the case +add_user_to_group() { + local username="${1}" + local group="${2}" + local _f + + for _f in "${GROUP}" "${GSHADOW}"; do + [ -f "${_f}" ] || continue + sed -r -i --follow-symlinks \ + -e 's/^('"${group}"':.*:)(([^:]+,)?)'"${username}"'(,[^:]+*)?$/\1\2\4/;' \ + -e 's/^('"${group}"':.*)$/\1,'"${username}"'/;' \ + -e 's/,+/,/' \ + -e 's/:,/:/' \ + "${_f}" + done +} + +#---------------------------------------------------------------------------- +# Encode a password +encode_password() { + local passwd="${1}" + + mkpasswd -m "${PASSWD_METHOD}" "${passwd}" +} + +#---------------------------------------------------------------------------- +# Add a user; if it does already exist, remove it first +add_one_user() { + local username="${1}" + local uid="${2}" + local group="${3}" + local gid="${4}" + local passwd="${5}" + local home="${6}" + local shell="${7}" + local groups="${8}" + local comment="${9}" + local _f _group _home _shell _gid _passwd + + # First, sanity-check the user + check_user_validity "${username}" "${uid}" "${group}" "${gid}" + + # Generate a new UID if needed + if [ ${uid} -eq ${AUTO_USER_ID} ]; then + uid="$( generate_uid "${username}" $FIRST_USER_GID $LAST_USER_GID )" + elif [ ${uid} -eq ${AUTO_SYSTEM_ID} ]; then + uid="$( generate_uid "${username}" $FIRST_SYSTEM_GID $LAST_SYSTEM_GID )" + fi + + # Remove any previous instance of this user + for _f in "${PASSWD}" "${SHADOW}"; do + sed -r -i --follow-symlinks -e '/^'"${username}"':.*/d;' "${_f}" + done + + _gid="$( get_gid "${group}" )" + _shell="${shell}" + if [ "${shell}" = "-" ]; then + _shell="/bin/false" + fi + case "${home}" in + -) _home="/";; + /) fail "home can not explicitly be '/'\n";; + /*) _home="${home}";; + *) fail "home must be an absolute path\n";; + esac + case "${passwd}" in + -) + _passwd="" + ;; + !=*) + _passwd='!'"$( encode_password "${passwd#!=}" )" + ;; + =*) + _passwd="$( encode_password "${passwd#=}" )" + ;; + *) + _passwd="${passwd}" + ;; + esac + + printf "%s:x:%d:%d:%s:%s:%s\n" \ + "${username}" "${uid}" "${_gid}" \ + "${comment}" "${_home}" "${_shell}" \ + >>"${PASSWD}" + printf "%s:%s:::::::\n" \ + "${username}" "${_passwd}" \ + >>"${SHADOW}" + + # Add the user to its additional groups + if [ "${groups}" != "-" ]; then + for _group in ${groups//,/ }; do + add_user_to_group "${username}" "${_group}" + done + fi + + # If the user has a home, chown it + # (Note: stdout goes to the fakeroot-script) + if [ "${home}" != "-" ]; then + mkdir -p "${TARGET_DIR}/${home}" + printf "chown -h -R %d:%d '%s'\n" "${uid}" "${_gid}" "${TARGET_DIR}/${home}" + fi +} + +#---------------------------------------------------------------------------- +main() { + local username uid group gid passwd home shell groups comment + local line + local auto_id + local -a ENTRIES + + # Some sanity checks + if [ ${FIRST_USER_UID} -le 0 ]; then + fail "FIRST_USER_UID must be >0 (currently %d)\n" ${FIRST_USER_UID} + fi + if [ ${FIRST_USER_GID} -le 0 ]; then + fail "FIRST_USER_GID must be >0 (currently %d)\n" ${FIRST_USER_GID} + fi + + # Read in all the file in memory, exclude empty lines and comments + while read line; do + ENTRIES+=( "${line}" ) + done < <( sed -r -e 's/#.*//; /^[[:space:]]*$/d;' "${USERS_TABLE}" ) + + # We first create groups whose gid is positive, and then we create groups + # whose gid is automatic, so that, if a group is defined both with + # a specified gid and an automatic gid, we ensure the specified gid is + # used, rather than a different automatic gid is computed. + + # First, create all the main groups which gid is *not* automatic + for line in "${ENTRIES[@]}"; do + read username uid group gid passwd home shell groups comment <<<"${line}" + [ ${gid} -ge 0 ] || continue # Automatic gid + add_one_group "${group}" "${gid}" + done + + # Then, create all the main groups which gid *is* automatic + for line in "${ENTRIES[@]}"; do + read username uid group gid passwd home shell groups comment <<<"${line}" + [ ${gid} -lt 0 ] || continue # Non-automatic gid + add_one_group "${group}" "${gid}" + done + + # Then, create all the additional groups + # If any additional group is already a main group, we should use + # the gid of that main group; otherwise, we can use any gid - a + # system gid if the uid is a system user (<= LAST_SYSTEM_UID), + # otherwise a user gid. + for line in "${ENTRIES[@]}"; do + read username uid group gid passwd home shell groups comment <<<"${line}" + if [ "${groups}" != "-" ]; then + if [ ${uid} -le 0 ]; then + auto_id=${uid} + elif [ ${uid} -le ${LAST_SYSTEM_UID} ]; then + auto_id=${AUTO_SYSTEM_ID} + else + auto_id=${AUTO_USER_ID} + fi + for g in ${groups//,/ }; do + add_one_group "${g}" ${auto_id} + done + fi + done + + # When adding users, we do as for groups, in case two packages create + # the same user, one with an automatic uid, the other with a specified + # uid, to ensure the specified uid is used, rather than an incompatible + # uid be generated. + + # Now, add users whose uid is *not* automatic + for line in "${ENTRIES[@]}"; do + read username uid group gid passwd home shell groups comment <<<"${line}" + [ "${username}" != "-" ] || continue # Magic string to skip user creation + [ ${uid} -ge 0 ] || continue # Automatic uid + add_one_user "${username}" "${uid}" "${group}" "${gid}" "${passwd}" \ + "${home}" "${shell}" "${groups}" "${comment}" + done + + # Finally, add users whose uid *is* automatic + for line in "${ENTRIES[@]}"; do + read username uid group gid passwd home shell groups comment <<<"${line}" + [ "${username}" != "-" ] || continue # Magic string to skip user creation + [ ${uid} -lt 0 ] || continue # Non-automatic uid + add_one_user "${username}" "${uid}" "${group}" "${gid}" "${passwd}" \ + "${home}" "${shell}" "${groups}" "${comment}" + done +} + +#---------------------------------------------------------------------------- +main "${@}" diff --git a/buildroot-2022.02.1/support/scripts/pkg-stats b/buildroot-2022.02.1/support/scripts/pkg-stats new file mode 100755 index 00000000..f67be006 --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/pkg-stats @@ -0,0 +1,1235 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2009 by Thomas Petazzoni +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +import aiohttp +import argparse +import asyncio +import datetime +import fnmatch +import os +from collections import defaultdict +import re +import subprocess +import json +import sys +import time +import gzip +import xml.etree.ElementTree +import requests + +brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")) + +sys.path.append(os.path.join(brpath, "utils")) +from getdeveloperlib import parse_developers # noqa: E402 +from cpedb import CPEDB_URL # noqa: E402 + +INFRA_RE = re.compile(r"\$\(eval \$\(([a-z-]*)-package\)\)") +URL_RE = re.compile(r"\s*https?://\S*\s*$") + +RM_API_STATUS_ERROR = 1 +RM_API_STATUS_FOUND_BY_DISTRO = 2 +RM_API_STATUS_FOUND_BY_PATTERN = 3 +RM_API_STATUS_NOT_FOUND = 4 + + +class Defconfig: + def __init__(self, name, path): + self.name = name + self.path = path + self.developers = None + + def set_developers(self, developers): + """ + Fills in the .developers field + """ + self.developers = [ + developer.name + for developer in developers + if developer.hasfile(self.path) + ] + + +def get_defconfig_list(): + """ + Builds the list of Buildroot defconfigs, returning a list of Defconfig + objects. + """ + return [ + Defconfig(name[:-len('_defconfig')], os.path.join('configs', name)) + for name in os.listdir(os.path.join(brpath, 'configs')) + if name.endswith('_defconfig') + ] + + +class Package: + all_licenses = dict() + all_license_files = list() + all_versions = dict() + all_ignored_cves = dict() + all_cpeids = dict() + # This is the list of all possible checks. Add new checks to this list so + # a tool that post-processeds the json output knows the checks before + # iterating over the packages. + status_checks = ['cve', 'developers', 'hash', 'license', + 'license-files', 'patches', 'pkg-check', 'url', 'version'] + + def __init__(self, name, path): + self.name = name + self.path = path + self.pkg_path = os.path.dirname(path) + self.infras = None + self.license = None + self.has_license = False + self.has_license_files = False + self.has_hash = False + self.patch_files = [] + self.warnings = 0 + self.current_version = None + self.url = None + self.url_worker = None + self.cpeid = None + self.cves = list() + self.ignored_cves = list() + self.unsure_cves = list() + self.latest_version = {'status': RM_API_STATUS_ERROR, 'version': None, 'id': None} + self.status = {} + + def pkgvar(self): + return self.name.upper().replace("-", "_") + + def set_url(self): + """ + Fills in the .url field + """ + self.status['url'] = ("warning", "no Config.in") + pkgdir = os.path.dirname(os.path.join(brpath, self.path)) + for filename in os.listdir(pkgdir): + if fnmatch.fnmatch(filename, 'Config.*'): + fp = open(os.path.join(pkgdir, filename), "r") + for config_line in fp: + if URL_RE.match(config_line): + self.url = config_line.strip() + self.status['url'] = ("ok", "found") + fp.close() + return + self.status['url'] = ("error", "missing") + fp.close() + + @property + def patch_count(self): + return len(self.patch_files) + + @property + def has_valid_infra(self): + if self.infras is None: + return False + return len(self.infras) > 0 + + @property + def is_actual_package(self): + try: + if not self.has_valid_infra: + return False + if self.infras[0][1] == 'virtual': + return False + except IndexError: + return False + return True + + def set_infra(self): + """ + Fills in the .infras field + """ + self.infras = list() + with open(os.path.join(brpath, self.path), 'r') as f: + lines = f.readlines() + for line in lines: + match = INFRA_RE.match(line) + if not match: + continue + infra = match.group(1) + if infra.startswith("host-"): + self.infras.append(("host", infra[5:])) + else: + self.infras.append(("target", infra)) + + def set_license(self): + """ + Fills in the .status['license'] and .status['license-files'] fields + """ + if not self.is_actual_package: + self.status['license'] = ("na", "no valid package infra") + self.status['license-files'] = ("na", "no valid package infra") + return + + var = self.pkgvar() + self.status['license'] = ("error", "missing") + self.status['license-files'] = ("error", "missing") + if var in self.all_licenses: + self.license = self.all_licenses[var] + self.status['license'] = ("ok", "found") + if var in self.all_license_files: + self.status['license-files'] = ("ok", "found") + + def set_hash_info(self): + """ + Fills in the .status['hash'] field + """ + if not self.is_actual_package: + self.status['hash'] = ("na", "no valid package infra") + self.status['hash-license'] = ("na", "no valid package infra") + return + + hashpath = self.path.replace(".mk", ".hash") + if os.path.exists(os.path.join(brpath, hashpath)): + self.status['hash'] = ("ok", "found") + else: + self.status['hash'] = ("error", "missing") + + def set_patch_count(self): + """ + Fills in the .patch_count, .patch_files and .status['patches'] fields + """ + if not self.is_actual_package: + self.status['patches'] = ("na", "no valid package infra") + return + + pkgdir = os.path.dirname(os.path.join(brpath, self.path)) + for subdir, _, _ in os.walk(pkgdir): + self.patch_files = fnmatch.filter(os.listdir(subdir), '*.patch') + + if self.patch_count == 0: + self.status['patches'] = ("ok", "no patches") + elif self.patch_count < 5: + self.status['patches'] = ("warning", "some patches") + else: + self.status['patches'] = ("error", "lots of patches") + + def set_current_version(self): + """ + Fills in the .current_version field + """ + var = self.pkgvar() + if var in self.all_versions: + self.current_version = self.all_versions[var] + + def set_cpeid(self): + """ + Fills in the .cpeid field + """ + var = self.pkgvar() + if not self.is_actual_package: + self.status['cpe'] = ("na", "N/A - virtual pkg") + return + if not self.current_version: + self.status['cpe'] = ("na", "no version information available") + return + + if var in self.all_cpeids: + self.cpeid = self.all_cpeids[var] + # Set a preliminary status, it might be overridden by check_package_cpes() + self.status['cpe'] = ("warning", "not checked against CPE dictionnary") + else: + self.status['cpe'] = ("error", "no verified CPE identifier") + + def set_check_package_warnings(self): + """ + Fills in the .warnings and .status['pkg-check'] fields + """ + cmd = [os.path.join(brpath, "utils/check-package")] + pkgdir = os.path.dirname(os.path.join(brpath, self.path)) + self.status['pkg-check'] = ("error", "Missing") + for root, dirs, files in os.walk(pkgdir): + for f in files: + if f.endswith(".mk") or f.endswith(".hash") or f == "Config.in" or f == "Config.in.host": + cmd.append(os.path.join(root, f)) + o = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[1] + lines = o.splitlines() + for line in lines: + m = re.match("^([0-9]*) warnings generated", line.decode()) + if m: + self.warnings = int(m.group(1)) + if self.warnings == 0: + self.status['pkg-check'] = ("ok", "no warnings") + else: + self.status['pkg-check'] = ("error", "{} warnings".format(self.warnings)) + return + + def set_ignored_cves(self): + """ + Give the list of CVEs ignored by the package + """ + self.ignored_cves = list(self.all_ignored_cves.get(self.pkgvar(), [])) + + def set_developers(self, developers): + """ + Fills in the .developers and .status['developers'] field + """ + self.developers = [ + dev.name + for dev in developers + if dev.hasfile(self.path) + ] + + if self.developers: + self.status['developers'] = ("ok", "{} developers".format(len(self.developers))) + else: + self.status['developers'] = ("warning", "no developers") + + def is_status_ok(self, name): + return name in self.status and self.status[name][0] == 'ok' + + def is_status_error(self, name): + return name in self.status and self.status[name][0] == 'error' + + def is_status_na(self, name): + return name in self.status and self.status[name][0] == 'na' + + def __eq__(self, other): + return self.path == other.path + + def __lt__(self, other): + return self.path < other.path + + def __str__(self): + return "%s (path='%s', license='%s', license_files='%s', hash='%s', patches=%d)" % \ + (self.name, self.path, self.is_status_ok('license'), + self.is_status_ok('license-files'), self.status['hash'], self.patch_count) + + +def get_pkglist(npackages, package_list): + """ + Builds the list of Buildroot packages, returning a list of Package + objects. Only the .name and .path fields of the Package object are + initialized. + + npackages: limit to N packages + package_list: limit to those packages in this list + """ + WALK_USEFUL_SUBDIRS = ["boot", "linux", "package", "toolchain"] + WALK_EXCLUDES = ["boot/common.mk", + "linux/linux-ext-.*.mk", + "package/freescale-imx/freescale-imx.mk", + "package/gcc/gcc.mk", + "package/gstreamer/gstreamer.mk", + "package/gstreamer1/gstreamer1.mk", + "package/gtk2-themes/gtk2-themes.mk", + "package/matchbox/matchbox.mk", + "package/opengl/opengl.mk", + "package/qt5/qt5.mk", + "package/x11r7/x11r7.mk", + "package/doc-asciidoc.mk", + "package/pkg-.*.mk", + "toolchain/toolchain-external/pkg-toolchain-external.mk", + "toolchain/toolchain-external/toolchain-external.mk", + "toolchain/toolchain.mk", + "toolchain/helpers.mk", + "toolchain/toolchain-wrapper.mk"] + packages = list() + count = 0 + for root, dirs, files in os.walk(brpath): + root = os.path.relpath(root, brpath) + rootdir = root.split("/") + if len(rootdir) < 1: + continue + if rootdir[0] not in WALK_USEFUL_SUBDIRS: + continue + for f in files: + if not f.endswith(".mk"): + continue + # Strip ending ".mk" + pkgname = f[:-3] + if package_list and pkgname not in package_list: + continue + pkgpath = os.path.join(root, f) + skip = False + for exclude in WALK_EXCLUDES: + if re.match(exclude, pkgpath): + skip = True + continue + if skip: + continue + p = Package(pkgname, pkgpath) + packages.append(p) + count += 1 + if npackages and count == npackages: + return packages + return packages + + +def get_config_packages(): + cmd = ["make", "--no-print-directory", "show-info"] + js = json.loads(subprocess.check_output(cmd)) + return set([v["name"] for v in js.values() if 'name' in v]) + + +def package_init_make_info(): + # Fetch all variables at once + variables = subprocess.check_output(["make", "--no-print-directory", "-s", + "BR2_HAVE_DOT_CONFIG=y", "printvars", + "VARS=%_LICENSE %_LICENSE_FILES %_VERSION %_IGNORE_CVES %_CPE_ID"]) + variable_list = variables.decode().splitlines() + + # We process first the host package VERSION, and then the target + # package VERSION. This means that if a package exists in both + # target and host variants, with different values (eg. version + # numbers (unlikely)), we'll report the target one. + variable_list = [x[5:] for x in variable_list if x.startswith("HOST_")] + \ + [x for x in variable_list if not x.startswith("HOST_")] + + for item in variable_list: + # Get variable name and value + pkgvar, value = item.split("=", maxsplit=1) + + # Strip the suffix according to the variable + if pkgvar.endswith("_LICENSE"): + # If value is "unknown", no license details available + if value == "unknown": + continue + pkgvar = pkgvar[:-8] + Package.all_licenses[pkgvar] = value + + elif pkgvar.endswith("_LICENSE_FILES"): + if pkgvar.endswith("_MANIFEST_LICENSE_FILES"): + continue + pkgvar = pkgvar[:-14] + Package.all_license_files.append(pkgvar) + + elif pkgvar.endswith("_VERSION"): + if pkgvar.endswith("_DL_VERSION"): + continue + pkgvar = pkgvar[:-8] + Package.all_versions[pkgvar] = value + + elif pkgvar.endswith("_IGNORE_CVES"): + pkgvar = pkgvar[:-12] + Package.all_ignored_cves[pkgvar] = value.split() + + elif pkgvar.endswith("_CPE_ID"): + pkgvar = pkgvar[:-7] + Package.all_cpeids[pkgvar] = value + + +check_url_count = 0 + + +async def check_url_status(session, pkg, npkgs, retry=True): + global check_url_count + + try: + async with session.get(pkg.url) as resp: + if resp.status >= 400: + pkg.status['url'] = ("error", "invalid {}".format(resp.status)) + check_url_count += 1 + print("[%04d/%04d] %s" % (check_url_count, npkgs, pkg.name)) + return + except (aiohttp.ClientError, asyncio.TimeoutError): + if retry: + return await check_url_status(session, pkg, npkgs, retry=False) + else: + pkg.status['url'] = ("error", "invalid (err)") + check_url_count += 1 + print("[%04d/%04d] %s" % (check_url_count, npkgs, pkg.name)) + return + + pkg.status['url'] = ("ok", "valid") + check_url_count += 1 + print("[%04d/%04d] %s" % (check_url_count, npkgs, pkg.name)) + + +async def check_package_urls(packages): + tasks = [] + connector = aiohttp.TCPConnector(limit_per_host=5) + async with aiohttp.ClientSession(connector=connector, trust_env=True, + timeout=aiohttp.ClientTimeout(total=15)) as sess: + packages = [p for p in packages if p.status['url'][0] == 'ok'] + for pkg in packages: + tasks.append(asyncio.ensure_future(check_url_status(sess, pkg, len(packages)))) + await asyncio.wait(tasks) + + +def check_package_latest_version_set_status(pkg, status, version, identifier): + pkg.latest_version = { + "status": status, + "version": version, + "id": identifier, + } + + if pkg.latest_version['status'] == RM_API_STATUS_ERROR: + pkg.status['version'] = ('warning', "Release Monitoring API error") + elif pkg.latest_version['status'] == RM_API_STATUS_NOT_FOUND: + pkg.status['version'] = ('warning', "Package not found on Release Monitoring") + + if pkg.latest_version['version'] is None: + pkg.status['version'] = ('warning', "No upstream version available on Release Monitoring") + elif pkg.latest_version['version'] != pkg.current_version: + pkg.status['version'] = ('error', "The newer version {} is available upstream".format(pkg.latest_version['version'])) + else: + pkg.status['version'] = ('ok', 'up-to-date') + + +async def check_package_get_latest_version_by_distro(session, pkg, retry=True): + url = "https://release-monitoring.org//api/project/Buildroot/%s" % pkg.name + try: + async with session.get(url) as resp: + if resp.status != 200: + return False + + data = await resp.json() + if 'stable_versions' in data and data['stable_versions']: + version = data['stable_versions'][0] + elif 'version' in data: + version = data['version'] + else: + version = None + check_package_latest_version_set_status(pkg, + RM_API_STATUS_FOUND_BY_DISTRO, + version, + data['id']) + return True + + except (aiohttp.ClientError, asyncio.TimeoutError): + if retry: + return await check_package_get_latest_version_by_distro(session, pkg, retry=False) + else: + return False + + +async def check_package_get_latest_version_by_guess(session, pkg, retry=True): + url = "https://release-monitoring.org/api/projects/?pattern=%s" % pkg.name + try: + async with session.get(url) as resp: + if resp.status != 200: + return False + + data = await resp.json() + # filter projects that have the right name and a version defined + projects = [p for p in data['projects'] if p['name'] == pkg.name and 'stable_versions' in p] + projects.sort(key=lambda x: x['id']) + + if len(projects) > 0: + check_package_latest_version_set_status(pkg, + RM_API_STATUS_FOUND_BY_PATTERN, + projects[0]['stable_versions'][0], + projects[0]['id']) + return True + + except (aiohttp.ClientError, asyncio.TimeoutError): + if retry: + return await check_package_get_latest_version_by_guess(session, pkg, retry=False) + else: + return False + + +check_latest_count = 0 + + +async def check_package_latest_version_get(session, pkg, npkgs): + global check_latest_count + + if await check_package_get_latest_version_by_distro(session, pkg): + check_latest_count += 1 + print("[%04d/%04d] %s" % (check_latest_count, npkgs, pkg.name)) + return + + if await check_package_get_latest_version_by_guess(session, pkg): + check_latest_count += 1 + print("[%04d/%04d] %s" % (check_latest_count, npkgs, pkg.name)) + return + + check_package_latest_version_set_status(pkg, + RM_API_STATUS_NOT_FOUND, + None, None) + check_latest_count += 1 + print("[%04d/%04d] %s" % (check_latest_count, npkgs, pkg.name)) + + +async def check_package_latest_version(packages): + """ + Fills in the .latest_version field of all Package objects + + This field is a dict and has the following keys: + + - status: one of RM_API_STATUS_ERROR, + RM_API_STATUS_FOUND_BY_DISTRO, RM_API_STATUS_FOUND_BY_PATTERN, + RM_API_STATUS_NOT_FOUND + - version: string containing the latest version known by + release-monitoring.org for this package + - id: string containing the id of the project corresponding to this + package, as known by release-monitoring.org + """ + + for pkg in [p for p in packages if not p.is_actual_package]: + pkg.status['version'] = ("na", "no valid package infra") + + tasks = [] + connector = aiohttp.TCPConnector(limit_per_host=5) + async with aiohttp.ClientSession(connector=connector, trust_env=True) as sess: + packages = [p for p in packages if p.is_actual_package] + for pkg in packages: + tasks.append(asyncio.ensure_future(check_package_latest_version_get(sess, pkg, len(packages)))) + await asyncio.wait(tasks) + + +def check_package_cve_affects(cve, cpe_product_pkgs): + for product in cve.affected_products: + if product not in cpe_product_pkgs: + continue + for pkg in cpe_product_pkgs[product]: + cve_status = cve.affects(pkg.name, pkg.current_version, pkg.ignored_cves, pkg.cpeid) + if cve_status == cve.CVE_AFFECTS: + pkg.cves.append(cve.identifier) + elif cve_status == cve.CVE_UNKNOWN: + pkg.unsure_cves.append(cve.identifier) + + +def check_package_cves(nvd_path, packages): + if not os.path.isdir(nvd_path): + os.makedirs(nvd_path) + + cpe_product_pkgs = defaultdict(list) + for pkg in packages: + if not pkg.is_actual_package: + pkg.status['cve'] = ("na", "N/A") + continue + if not pkg.current_version: + pkg.status['cve'] = ("na", "no version information available") + continue + if pkg.cpeid: + cpe_product = cvecheck.cpe_product(pkg.cpeid) + cpe_product_pkgs[cpe_product].append(pkg) + else: + cpe_product_pkgs[pkg.name].append(pkg) + + for cve in cvecheck.CVE.read_nvd_dir(nvd_path): + check_package_cve_affects(cve, cpe_product_pkgs) + + for pkg in packages: + if 'cve' not in pkg.status: + if pkg.cves or pkg.unsure_cves: + pkg.status['cve'] = ("error", "affected by CVEs") + else: + pkg.status['cve'] = ("ok", "not affected by CVEs") + + +def check_package_cpes(nvd_path, packages): + class CpeXmlParser: + cpes = [] + + def start(self, tag, attrib): + if tag == "{http://scap.nist.gov/schema/cpe-extension/2.3}cpe23-item": + self.cpes.append(attrib['name']) + + def close(self): + return self.cpes + + print("CPE: Setting up NIST dictionary") + if not os.path.exists(os.path.join(nvd_path, "cpe")): + os.makedirs(os.path.join(nvd_path, "cpe")) + + cpe_dict_local = os.path.join(nvd_path, "cpe", os.path.basename(CPEDB_URL)) + if not os.path.exists(cpe_dict_local) or os.stat(cpe_dict_local).st_mtime < time.time() - 86400: + print("CPE: Fetching xml manifest from [" + CPEDB_URL + "]") + cpe_dict = requests.get(CPEDB_URL) + open(cpe_dict_local, "wb").write(cpe_dict.content) + + print("CPE: Unzipping xml manifest...") + nist_cpe_file = gzip.GzipFile(fileobj=open(cpe_dict_local, 'rb')) + + parser = xml.etree.ElementTree.XMLParser(target=CpeXmlParser()) + while True: + c = nist_cpe_file.read(1024*1024) + if not c: + break + parser.feed(c) + cpes = parser.close() + + for p in packages: + if not p.cpeid: + continue + if p.cpeid in cpes: + p.status['cpe'] = ("ok", "verified CPE identifier") + else: + p.status['cpe'] = ("error", "CPE version unknown in CPE database") + + +def calculate_stats(packages): + stats = defaultdict(int) + stats['packages'] = len(packages) + for pkg in packages: + # If packages have multiple infra, take the first one. For the + # vast majority of packages, the target and host infra are the + # same. There are very few packages that use a different infra + # for the host and target variants. + if len(pkg.infras) > 0: + infra = pkg.infras[0][1] + stats["infra-%s" % infra] += 1 + else: + stats["infra-unknown"] += 1 + if pkg.is_status_ok('license'): + stats["license"] += 1 + else: + stats["no-license"] += 1 + if pkg.is_status_ok('license-files'): + stats["license-files"] += 1 + else: + stats["no-license-files"] += 1 + if pkg.is_status_ok('hash'): + stats["hash"] += 1 + else: + stats["no-hash"] += 1 + if pkg.latest_version['status'] == RM_API_STATUS_FOUND_BY_DISTRO: + stats["rmo-mapping"] += 1 + else: + stats["rmo-no-mapping"] += 1 + if not pkg.latest_version['version']: + stats["version-unknown"] += 1 + elif pkg.latest_version['version'] == pkg.current_version: + stats["version-uptodate"] += 1 + else: + stats["version-not-uptodate"] += 1 + stats["patches"] += pkg.patch_count + stats["total-cves"] += len(pkg.cves) + stats["total-unsure-cves"] += len(pkg.unsure_cves) + if len(pkg.cves) != 0: + stats["pkg-cves"] += 1 + if len(pkg.unsure_cves) != 0: + stats["pkg-unsure-cves"] += 1 + if pkg.cpeid: + stats["cpe-id"] += 1 + else: + stats["no-cpe-id"] += 1 + return stats + + +html_header = """ + + + +Statistics of Buildroot packages + + +Results
+ +

+""" + + +html_footer = """ + + + +""" + + +def infra_str(infra_list): + if not infra_list: + return "Unknown" + elif len(infra_list) == 1: + return "%s
%s" % (infra_list[0][1], infra_list[0][0]) + elif infra_list[0][1] == infra_list[1][1]: + return "%s
%s + %s" % \ + (infra_list[0][1], infra_list[0][0], infra_list[1][0]) + else: + return "%s (%s)
%s (%s)" % \ + (infra_list[0][1], infra_list[0][0], + infra_list[1][1], infra_list[1][0]) + + +def boolean_str(b): + if b: + return "Yes" + else: + return "No" + + +def dump_html_pkg(f, pkg): + f.write(" \n") + f.write(" %s\n" % pkg.path) + + # Patch count + td_class = ["centered"] + if pkg.patch_count == 0: + td_class.append("nopatches") + elif pkg.patch_count < 5: + td_class.append("somepatches") + else: + td_class.append("lotsofpatches") + f.write(" %s\n" % + (" ".join(td_class), str(pkg.patch_count))) + + # Infrastructure + infra = infra_str(pkg.infras) + td_class = ["centered"] + if infra == "Unknown": + td_class.append("wrong") + else: + td_class.append("correct") + f.write(" %s\n" % + (" ".join(td_class), infra_str(pkg.infras))) + + # License + td_class = ["centered"] + if pkg.is_status_ok('license'): + td_class.append("correct") + else: + td_class.append("wrong") + f.write(" %s\n" % + (" ".join(td_class), boolean_str(pkg.is_status_ok('license')))) + + # License files + td_class = ["centered"] + if pkg.is_status_ok('license-files'): + td_class.append("correct") + else: + td_class.append("wrong") + f.write(" %s\n" % + (" ".join(td_class), boolean_str(pkg.is_status_ok('license-files')))) + + # Hash + td_class = ["centered"] + if pkg.is_status_ok('hash'): + td_class.append("correct") + else: + td_class.append("wrong") + f.write(" %s\n" % + (" ".join(td_class), boolean_str(pkg.is_status_ok('hash')))) + + # Current version + if len(pkg.current_version) > 20: + current_version = pkg.current_version[:20] + "..." + else: + current_version = pkg.current_version + f.write(" %s\n" % current_version) + + # Latest version + if pkg.latest_version['status'] == RM_API_STATUS_ERROR: + td_class.append("version-error") + if pkg.latest_version['version'] is None: + td_class.append("version-unknown") + elif pkg.latest_version['version'] != pkg.current_version: + td_class.append("version-needs-update") + else: + td_class.append("version-good") + + if pkg.latest_version['status'] == RM_API_STATUS_ERROR: + latest_version_text = "Error" + elif pkg.latest_version['status'] == RM_API_STATUS_NOT_FOUND: + latest_version_text = "Not found" + else: + if pkg.latest_version['version'] is None: + latest_version_text = "Found, but no version" + else: + latest_version_text = "%s" % \ + (pkg.latest_version['id'], str(pkg.latest_version['version'])) + + latest_version_text += "
" + + if pkg.latest_version['status'] == RM_API_STATUS_FOUND_BY_DISTRO: + latest_version_text += "found by distro" + else: + latest_version_text += "found by guess" + + f.write(" %s\n" % + (" ".join(td_class), latest_version_text)) + + # Warnings + td_class = ["centered"] + if pkg.warnings == 0: + td_class.append("correct") + else: + td_class.append("wrong") + f.write(" %d\n" % + (" ".join(td_class), pkg.warnings)) + + # URL status + td_class = ["centered"] + url_str = pkg.status['url'][1] + if pkg.status['url'][0] in ("error", "warning"): + td_class.append("missing_url") + if pkg.status['url'][0] == "error": + td_class.append("invalid_url") + url_str = "%s" % (pkg.url, pkg.status['url'][1]) + else: + td_class.append("good_url") + url_str = "Link" % pkg.url + f.write(" %s\n" % + (" ".join(td_class), url_str)) + + # CVEs + td_class = ["centered"] + if pkg.is_status_ok("cve"): + td_class.append("cve-ok") + elif pkg.is_status_error("cve"): + td_class.append("cve-nok") + elif pkg.is_status_na("cve") and not pkg.is_actual_package: + td_class.append("cve-ok") + else: + td_class.append("cve-unknown") + f.write(" \n" % " ".join(td_class)) + if pkg.is_status_error("cve"): + for cve in pkg.cves: + f.write(" %s
\n" % (cve, cve)) + for cve in pkg.unsure_cves: + f.write("
%s (unsure)
\n" % (cve, cve)) + elif pkg.is_status_na("cve"): + f.write(" %s" % pkg.status['cve'][1]) + else: + f.write(" N/A\n") + f.write(" \n") + + # CVEs Ignored + td_class = ["centered"] + if pkg.ignored_cves: + td_class.append("cve_ignored") + f.write(" \n" % " ".join(td_class)) + for ignored_cve in pkg.ignored_cves: + f.write("
%s
\n" % (ignored_cve, ignored_cve)) + f.write(" \n") + + # CPE ID + td_class = ["left"] + if pkg.is_status_ok("cpe"): + td_class.append("cpe-ok") + elif pkg.is_status_error("cpe"): + td_class.append("cpe-nok") + elif pkg.is_status_na("cpe") and not pkg.is_actual_package: + td_class.append("cpe-ok") + else: + td_class.append("cpe-unknown") + f.write(" \n" % " ".join(td_class)) + if pkg.cpeid: + f.write(" %s\n" % pkg.cpeid) + if not pkg.is_status_ok("cpe"): + if pkg.is_actual_package and pkg.current_version: + if pkg.cpeid: + f.write("
%s
(Search)\n" % # noqa: E501 + (pkg.status['cpe'][1], ":".join(pkg.cpeid.split(":")[0:5]))) + else: + f.write(" %s (Search)\n" % # noqa: E501 + (pkg.status['cpe'][1], pkg.name)) + else: + f.write(" %s\n" % pkg.status['cpe'][1]) + + f.write(" \n") + + f.write(" \n") + + +def dump_html_all_pkgs(f, packages): + f.write(""" + + + + + + + + + + + + + + + + +""") + for pkg in sorted(packages): + dump_html_pkg(f, pkg) + f.write("
PackagePatch countInfrastructureLicenseLicense filesHash fileCurrent versionLatest versionWarningsUpstream URLCVEsCVEs IgnoredCPE ID
") + + +def dump_html_stats(f, stats): + f.write("\n") + f.write("\n") + infras = [infra[6:] for infra in stats.keys() if infra.startswith("infra-")] + for infra in infras: + f.write(" \n" % + (infra, stats["infra-%s" % infra])) + f.write(" \n" % + stats["license"]) + f.write(" \n" % + stats["no-license"]) + f.write(" \n" % + stats["license-files"]) + f.write(" \n" % + stats["no-license-files"]) + f.write(" \n" % + stats["hash"]) + f.write(" \n" % + stats["no-hash"]) + f.write(" \n" % + stats["patches"]) + f.write("\n" % + stats["rmo-mapping"]) + f.write("\n" % + stats["rmo-no-mapping"]) + f.write("\n" % + stats["version-uptodate"]) + f.write("\n" % + stats["version-not-uptodate"]) + f.write("\n" % + stats["version-unknown"]) + f.write("\n" % + stats["pkg-cves"]) + f.write("\n" % + stats["total-cves"]) + f.write("\n" % + stats["pkg-unsure-cves"]) + f.write("\n" % + stats["total-unsure-cves"]) + f.write("\n" % + stats["cpe-id"]) + f.write("\n" % + stats["no-cpe-id"]) + f.write("
Packages using the %s infrastructure%s
Packages having license information%s
Packages not having license information%s
Packages having license files information%s
Packages not having license files information%s
Packages having a hash file%s
Packages not having a hash file%s
Total number of patches%s
Packages having a mapping on release-monitoring.org%s
Packages lacking a mapping on release-monitoring.org%s
Packages that are up-to-date%s
Packages that are not up-to-date%s
Packages with no known upstream version%s
Packages affected by CVEs%s
Total number of CVEs affecting all packages%s
Packages affected by unsure CVEs%s
Total number of unsure CVEs affecting all packages%s
Packages with CPE ID%s
Packages without CPE ID%s
\n") + + +def dump_html_gen_info(f, date, commit): + # Updated on Mon Feb 19 08:12:08 CET 2018, Git commit aa77030b8f5e41f1c53eb1c1ad664b8c814ba032 + f.write("

Updated on %s, git commit %s

\n" % (str(date), commit)) + + +def dump_html(packages, stats, date, commit, output): + with open(output, 'w') as f: + f.write(html_header) + dump_html_all_pkgs(f, packages) + dump_html_stats(f, stats) + dump_html_gen_info(f, date, commit) + f.write(html_footer) + + +def dump_json(packages, defconfigs, stats, date, commit, output): + # Format packages as a dictionnary instead of a list + # Exclude local field that does not contains real date + excluded_fields = ['url_worker', 'name'] + pkgs = { + pkg.name: { + k: v + for k, v in pkg.__dict__.items() + if k not in excluded_fields + } for pkg in packages + } + defconfigs = { + d.name: { + k: v + for k, v in d.__dict__.items() + } for d in defconfigs + } + # Aggregate infrastructures into a single dict entry + statistics = { + k: v + for k, v in stats.items() + if not k.startswith('infra-') + } + statistics['infra'] = {k[6:]: v for k, v in stats.items() if k.startswith('infra-')} + # The actual structure to dump, add commit and date to it + final = {'packages': pkgs, + 'stats': statistics, + 'defconfigs': defconfigs, + 'package_status_checks': Package.status_checks, + 'commit': commit, + 'date': str(date)} + + with open(output, 'w') as f: + json.dump(final, f, indent=2, separators=(',', ': ')) + f.write('\n') + + +def resolvepath(path): + return os.path.abspath(os.path.expanduser(path)) + + +def list_str(values): + return values.split(',') + + +def parse_args(): + parser = argparse.ArgumentParser() + output = parser.add_argument_group('output', 'Output file(s)') + output.add_argument('--html', dest='html', type=resolvepath, + help='HTML output file') + output.add_argument('--json', dest='json', type=resolvepath, + help='JSON output file') + packages = parser.add_mutually_exclusive_group() + packages.add_argument('-c', dest='configpackages', action='store_true', + help='Apply to packages enabled in current configuration') + packages.add_argument('-n', dest='npackages', type=int, action='store', + help='Number of packages') + packages.add_argument('-p', dest='packages', action='store', + help='List of packages (comma separated)') + parser.add_argument('--nvd-path', dest='nvd_path', + help='Path to the local NVD database', type=resolvepath) + parser.add_argument('--disable', type=list_str, + help='Features to disable, comma-separated (cve, upstream, url, cpe, warning)', + default=[]) + args = parser.parse_args() + if not args.html and not args.json: + parser.error('at least one of --html or --json (or both) is required') + return args + + +def __main__(): + global cvecheck + + args = parse_args() + + if args.nvd_path: + import cve as cvecheck + + if args.packages: + package_list = args.packages.split(",") + elif args.configpackages: + package_list = get_config_packages() + else: + package_list = None + date = datetime.datetime.utcnow() + commit = subprocess.check_output(['git', '-C', brpath, + 'rev-parse', + 'HEAD']).splitlines()[0].decode() + print("Build package list ...") + packages = get_pkglist(args.npackages, package_list) + print("Getting developers ...") + developers = parse_developers() + print("Build defconfig list ...") + defconfigs = get_defconfig_list() + for d in defconfigs: + d.set_developers(developers) + print("Getting package make info ...") + package_init_make_info() + print("Getting package details ...") + for pkg in packages: + pkg.set_infra() + pkg.set_license() + pkg.set_hash_info() + pkg.set_patch_count() + if "warnings" not in args.disable: + pkg.set_check_package_warnings() + pkg.set_current_version() + pkg.set_cpeid() + pkg.set_url() + pkg.set_ignored_cves() + pkg.set_developers(developers) + if "url" not in args.disable: + print("Checking URL status") + loop = asyncio.get_event_loop() + loop.run_until_complete(check_package_urls(packages)) + if "upstream" not in args.disable: + print("Getting latest versions ...") + loop = asyncio.get_event_loop() + loop.run_until_complete(check_package_latest_version(packages)) + if "cve" not in args.disable and args.nvd_path: + print("Checking packages CVEs") + check_package_cves(args.nvd_path, packages) + if "cpe" not in args.disable and args.nvd_path: + print("Checking packages CPEs") + check_package_cpes(args.nvd_path, packages) + print("Calculate stats") + stats = calculate_stats(packages) + if args.html: + print("Write HTML") + dump_html(packages, stats, date, commit, args.html) + if args.json: + print("Write JSON") + dump_json(packages, defconfigs, stats, date, commit, args.json) + + +__main__() diff --git a/buildroot-2022.02.1/support/scripts/pycompile.py b/buildroot-2022.02.1/support/scripts/pycompile.py new file mode 100644 index 00000000..8774144a --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/pycompile.py @@ -0,0 +1,91 @@ +#!/usr/bin/env python3 + +""" +Byte compile all .py files from provided directories. This script is an +alternative implementation of compileall.compile_dir written with +cross-compilation in mind. +""" + +import argparse +import os +import py_compile +import re +import sys + + +def compile_one(host_path, strip_root=None, verbose=False): + """ + Compile a .py file into a .pyc file located next to it. + + :arg host_path: + Absolute path to the file to compile on the host running the build. + :arg strip_root: + Prefix to remove from the original source paths encoded in compiled + files. + :arg verbose: + Print compiled file paths. + """ + if os.path.islink(host_path) or not os.path.isfile(host_path): + return # only compile real files + + if not re.match(r"^[_A-Za-z][_A-Za-z0-9]*\.py$", + os.path.basename(host_path)): + return # only compile "importable" python modules + + if strip_root is not None: + # determine the runtime path of the file (i.e.: relative path to root + # dir prepended with "/"). + runtime_path = os.path.join("/", os.path.relpath(host_path, strip_root)) + else: + runtime_path = host_path + + if verbose: + print(" PYC {}".format(runtime_path)) + + # will raise an error if the file cannot be compiled + py_compile.compile(host_path, cfile=host_path + "c", + dfile=runtime_path, doraise=True) + + +def existing_dir_abs(arg): + """ + argparse type callback that checks that argument is a directory and returns + its absolute path. + """ + if not os.path.isdir(arg): + raise argparse.ArgumentTypeError('no such directory: {!r}'.format(arg)) + return os.path.abspath(arg) + + +def main(): + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument("dirs", metavar="DIR", nargs="+", type=existing_dir_abs, + help="Directory to recursively scan and compile") + parser.add_argument("--strip-root", metavar="ROOT", type=existing_dir_abs, + help=""" + Prefix to remove from the original source paths encoded + in compiled files + """) + parser.add_argument("--verbose", action="store_true", + help="Print compiled files") + + args = parser.parse_args() + + try: + for d in args.dirs: + if args.strip_root and ".." in os.path.relpath(d, args.strip_root): + parser.error("DIR: not inside ROOT dir: {!r}".format(d)) + for parent, _, files in os.walk(d): + for f in files: + compile_one(os.path.join(parent, f), args.strip_root, + args.verbose) + + except Exception as e: + print("error: {}".format(e)) + return 1 + + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/buildroot-2021.05/support/scripts/setlocalversion b/buildroot-2022.02.1/support/scripts/setlocalversion similarity index 100% rename from buildroot-2021.05/support/scripts/setlocalversion rename to buildroot-2022.02.1/support/scripts/setlocalversion diff --git a/buildroot-2022.02.1/support/scripts/size-stats b/buildroot-2022.02.1/support/scripts/size-stats new file mode 100755 index 00000000..e4389e99 --- /dev/null +++ b/buildroot-2022.02.1/support/scripts/size-stats @@ -0,0 +1,308 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2014 by Thomas Petazzoni + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +import sys +import os +import os.path +import argparse +import csv +import collections +import math + +try: + import matplotlib + matplotlib.use('Agg') + import matplotlib.font_manager as fm + import matplotlib.pyplot as plt +except ImportError: + sys.stderr.write("You need python-matplotlib to generate the size graph\n") + exit(1) + + +class Config: + biggest_first = False + iec = False + size_limit = 0.01 + colors = ['#e60004', '#f28e00', '#ffed00', '#940084', + '#2e1d86', '#0068b5', '#009836', '#97c000'] + + +# +# This function adds a new file to 'filesdict', after checking its +# size. The 'filesdict' contain the relative path of the file as the +# key, and as the value a tuple containing the name of the package to +# which the file belongs and the size of the file. +# +# filesdict: the dict to which the file is added +# relpath: relative path of the file +# fullpath: absolute path to the file +# pkg: package to which the file belongs +# +def add_file(filesdict, relpath, abspath, pkg): + if not os.path.exists(abspath): + return + if os.path.islink(abspath): + return + sz = os.stat(abspath).st_size + filesdict[relpath] = (pkg, sz) + + +# +# This function returns a dict where each key is the path of a file in +# the root filesystem, and the value is a tuple containing two +# elements: the name of the package to which this file belongs and the +# size of the file. +# +# builddir: path to the Buildroot output directory +# +def build_package_dict(builddir): + filesdict = {} + with open(os.path.join(builddir, "build", "packages-file-list.txt")) as f: + for line in f.readlines(): + pkg, fpath = line.split(",", 1) + # remove the initial './' in each file path + fpath = fpath.strip()[2:] + fullpath = os.path.join(builddir, "target", fpath) + add_file(filesdict, fpath, fullpath, pkg) + return filesdict + + +# +# This function builds a dictionary that contains the name of a +# package as key, and the size of the files installed by this package +# as the value. +# +# filesdict: dictionary with the name of the files as key, and as +# value a tuple containing the name of the package to which the files +# belongs, and the size of the file. As returned by +# build_package_dict. +# +# builddir: path to the Buildroot output directory +# +def build_package_size(filesdict, builddir): + pkgsize = collections.defaultdict(int) + + seeninodes = set() + for root, _, files in os.walk(os.path.join(builddir, "target")): + for f in files: + fpath = os.path.join(root, f) + if os.path.islink(fpath): + continue + + st = os.stat(fpath) + if st.st_ino in seeninodes: + # hard link + continue + else: + seeninodes.add(st.st_ino) + + frelpath = os.path.relpath(fpath, os.path.join(builddir, "target")) + if frelpath not in filesdict: + print("WARNING: %s is not part of any package" % frelpath) + pkg = "unknown" + else: + pkg = filesdict[frelpath][0] + + pkgsize[pkg] += st.st_size + + return pkgsize + + +# +# Given a dict returned by build_package_size(), this function +# generates a pie chart of the size installed by each package. +# +# pkgsize: dictionary with the name of the package as a key, and the +# size as the value, as returned by build_package_size. +# +# outputf: output file for the graph +# +def draw_graph(pkgsize, outputf): + def size2string(sz): + if Config.iec: + divider = 1024.0 + prefixes = ['', 'Ki', 'Mi', 'Gi', 'Ti'] + else: + divider = 1000.0 + prefixes = ['', 'k', 'M', 'G', 'T'] + while sz > divider and len(prefixes) > 1: + prefixes = prefixes[1:] + sz = sz/divider + # precision is made so that there are always at least three meaningful + # digits displayed (e.g. '3.14' and '10.4', not just '3' and '10') + precision = int(2-math.floor(math.log10(sz))) if sz < 1000 else 0 + return '{:.{prec}f} {}B'.format(sz, prefixes[0], prec=precision) + + total = sum(pkgsize.values()) + labels = [] + values = [] + other_value = 0 + unknown_value = 0 + for (p, sz) in sorted(pkgsize.items(), key=lambda x: x[1], + reverse=Config.biggest_first): + if sz < (total * Config.size_limit): + other_value += sz + elif p == "unknown": + unknown_value = sz + else: + labels.append("%s (%s)" % (p, size2string(sz))) + values.append(sz) + if unknown_value != 0: + labels.append("Unknown (%s)" % (size2string(unknown_value))) + values.append(unknown_value) + if other_value != 0: + labels.append("Other (%s)" % (size2string(other_value))) + values.append(other_value) + + plt.figure() + patches, texts, autotexts = plt.pie(values, labels=labels, + autopct='%1.1f%%', shadow=True, + colors=Config.colors) + # Reduce text size + proptease = fm.FontProperties() + proptease.set_size('xx-small') + plt.setp(autotexts, fontproperties=proptease) + plt.setp(texts, fontproperties=proptease) + + plt.suptitle("Filesystem size per package", fontsize=18, y=.97) + plt.title("Total filesystem size: %s" % (size2string(total)), fontsize=10, + y=.96) + plt.savefig(outputf) + + +# +# Generate a CSV file with statistics about the size of each file, its +# size contribution to the package and to the overall system. +# +# filesdict: dictionary with the name of the files as key, and as +# value a tuple containing the name of the package to which the files +# belongs, and the size of the file. As returned by +# build_package_dict. +# +# pkgsize: dictionary with the name of the package as a key, and the +# size as the value, as returned by build_package_size. +# +# outputf: output CSV file +# +def gen_files_csv(filesdict, pkgsizes, outputf): + total = 0 + for (p, sz) in pkgsizes.items(): + total += sz + with open(outputf, 'w') as csvfile: + wr = csv.writer(csvfile, delimiter=',', quoting=csv.QUOTE_MINIMAL) + wr.writerow(["File name", + "Package name", + "File size", + "Package size", + "File size in package (%)", + "File size in system (%)"]) + for f, (pkgname, filesize) in filesdict.items(): + pkgsize = pkgsizes[pkgname] + + if pkgsize == 0: + percent_pkg = 0 + else: + percent_pkg = float(filesize) / pkgsize * 100 + + percent_total = float(filesize) / total * 100 + + wr.writerow([f, pkgname, filesize, pkgsize, + "%.1f" % percent_pkg, + "%.1f" % percent_total]) + + +# +# Generate a CSV file with statistics about the size of each package, +# and their size contribution to the overall system. +# +# pkgsize: dictionary with the name of the package as a key, and the +# size as the value, as returned by build_package_size. +# +# outputf: output CSV file +# +def gen_packages_csv(pkgsizes, outputf): + total = sum(pkgsizes.values()) + with open(outputf, 'w') as csvfile: + wr = csv.writer(csvfile, delimiter=',', quoting=csv.QUOTE_MINIMAL) + wr.writerow(["Package name", "Package size", + "Package size in system (%)"]) + for (pkg, size) in pkgsizes.items(): + wr.writerow([pkg, size, "%.1f" % (float(size) / total * 100)]) + + +# +# Our special action for --iec, --binary, --si, --decimal +# +class PrefixAction(argparse.Action): + def __init__(self, option_strings, dest, **kwargs): + for key in ["type", "nargs"]: + if key in kwargs: + raise ValueError('"{}" not allowed'.format(key)) + super(PrefixAction, self).__init__(option_strings, dest, nargs=0, + type=bool, **kwargs) + + def __call__(self, parser, namespace, values, option_string=None): + setattr(namespace, self.dest, option_string in ["--iec", "--binary"]) + + +def main(): + parser = argparse.ArgumentParser(description='Draw size statistics graphs') + + parser.add_argument("--builddir", '-i', metavar="BUILDDIR", required=True, + help="Buildroot output directory") + parser.add_argument("--graph", '-g', metavar="GRAPH", + help="Graph output file (.pdf or .png extension)") + parser.add_argument("--file-size-csv", '-f', metavar="FILE_SIZE_CSV", + help="CSV output file with file size statistics") + parser.add_argument("--package-size-csv", '-p', metavar="PKG_SIZE_CSV", + help="CSV output file with package size statistics") + parser.add_argument("--biggest-first", action='store_true', + help="Sort packages in decreasing size order, " + + "rather than in increasing size order") + parser.add_argument("--iec", "--binary", "--si", "--decimal", + action=PrefixAction, + help="Use IEC (binary, powers of 1024) or SI (decimal, " + "powers of 1000, the default) prefixes") + parser.add_argument("--size-limit", "-l", type=float, + help='Under this size ratio, files are accounted to ' + + 'the generic "Other" package. Default: 0.01 (1%%)') + args = parser.parse_args() + + Config.biggest_first = args.biggest_first + Config.iec = args.iec + if args.size_limit is not None: + if args.size_limit < 0.0 or args.size_limit > 1.0: + parser.error("--size-limit must be in [0.0..1.0]") + Config.size_limit = args.size_limit + + # Find out which package installed what files + pkgdict = build_package_dict(args.builddir) + + # Collect the size installed by each package + pkgsize = build_package_size(pkgdict, args.builddir) + + if args.graph: + draw_graph(pkgsize, args.graph) + if args.file_size_csv: + gen_files_csv(pkgdict, pkgsize, args.file_size_csv) + if args.package_size_csv: + gen_packages_csv(pkgsize, args.package_size_csv) + + +if __name__ == "__main__": + main() diff --git a/buildroot-2021.05/support/testing/conf/binfmt-misc-kernel-fragment.config b/buildroot-2022.02.1/support/testing/conf/binfmt-misc-kernel-fragment.config similarity index 100% rename from buildroot-2021.05/support/testing/conf/binfmt-misc-kernel-fragment.config rename to buildroot-2022.02.1/support/testing/conf/binfmt-misc-kernel-fragment.config diff --git a/buildroot-2021.05/support/testing/conf/docker-compose-kernel.config b/buildroot-2022.02.1/support/testing/conf/docker-compose-kernel.config similarity index 100% rename from buildroot-2021.05/support/testing/conf/docker-compose-kernel.config rename to buildroot-2022.02.1/support/testing/conf/docker-compose-kernel.config diff --git a/buildroot-2021.05/support/testing/conf/docker-compose.yml b/buildroot-2022.02.1/support/testing/conf/docker-compose.yml similarity index 100% rename from buildroot-2021.05/support/testing/conf/docker-compose.yml rename to buildroot-2022.02.1/support/testing/conf/docker-compose.yml diff --git a/buildroot-2021.05/support/testing/conf/f2fs-kernel-fragment.config b/buildroot-2022.02.1/support/testing/conf/f2fs-kernel-fragment.config similarity index 100% rename from buildroot-2021.05/support/testing/conf/f2fs-kernel-fragment.config rename to buildroot-2022.02.1/support/testing/conf/f2fs-kernel-fragment.config diff --git a/buildroot-2022.02.1/support/testing/conf/grub2-efi.cfg b/buildroot-2022.02.1/support/testing/conf/grub2-efi.cfg new file mode 100644 index 00000000..11c32e88 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/conf/grub2-efi.cfg @@ -0,0 +1,2 @@ +set root=(cd0) +set prefix=/boot/grub diff --git a/buildroot-2021.05/support/testing/conf/grub2.cfg b/buildroot-2022.02.1/support/testing/conf/grub2.cfg similarity index 100% rename from buildroot-2021.05/support/testing/conf/grub2.cfg rename to buildroot-2022.02.1/support/testing/conf/grub2.cfg diff --git a/buildroot-2021.05/support/testing/conf/isolinux.cfg b/buildroot-2022.02.1/support/testing/conf/isolinux.cfg similarity index 100% rename from buildroot-2021.05/support/testing/conf/isolinux.cfg rename to buildroot-2022.02.1/support/testing/conf/isolinux.cfg diff --git a/buildroot-2022.02.1/support/testing/conf/minimal-x86-qemu-kernel.config b/buildroot-2022.02.1/support/testing/conf/minimal-x86-qemu-kernel.config new file mode 100644 index 00000000..45994f80 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/conf/minimal-x86-qemu-kernel.config @@ -0,0 +1,50 @@ +CONFIG_SYSVIPC=y +CONFIG_MODULES=y +CONFIG_MODULE_UNLOAD=y +CONFIG_SMP=y +# CONFIG_RETPOLINE is not set +CONFIG_HYPERVISOR_GUEST=y +CONFIG_PARAVIRT=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_VIRTIO_BLK=y +CONFIG_BLK_DEV_SD=y +CONFIG_BLK_DEV_SR=y +CONFIG_SCSI_VIRTIO=y +CONFIG_ATA=y +CONFIG_ATA_PIIX=y +CONFIG_NETDEVICES=y +CONFIG_VIRTIO_NET=y +CONFIG_NE2K_PCI=y +CONFIG_8139CP=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_HW_RANDOM_VIRTIO=m +CONFIG_DRM=y +CONFIG_DRM_BOCHS=y +CONFIG_DRM_QXL=y +CONFIG_DRM_VIRTIO_GPU=y +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_HDA_INTEL=y +CONFIG_SND_HDA_GENERIC=y +CONFIG_USB=y +CONFIG_USB_XHCI_HCD=y +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_UHCI_HCD=y +CONFIG_USB_STORAGE=y +CONFIG_VIRTIO_PCI=y +CONFIG_VIRTIO_BALLOON=y +CONFIG_VIRTIO_INPUT=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_EXT4_FS=y +CONFIG_ISO9660_FS=y +CONFIG_ZISOFS=y +CONFIG_JOLIET=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y diff --git a/buildroot-2021.05/support/testing/conf/unittest.cfg b/buildroot-2022.02.1/support/testing/conf/unittest.cfg similarity index 100% rename from buildroot-2021.05/support/testing/conf/unittest.cfg rename to buildroot-2022.02.1/support/testing/conf/unittest.cfg diff --git a/buildroot-2022.02.1/support/testing/infra/__init__.py b/buildroot-2022.02.1/support/testing/infra/__init__.py new file mode 100644 index 00000000..1f003f24 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/infra/__init__.py @@ -0,0 +1,127 @@ +import os +import re +import sys +import tempfile +import subprocess +from urllib.request import urlopen +from urllib.error import HTTPError, URLError + +ARTIFACTS_URL = "http://autobuild.buildroot.net/artefacts/" +BASE_DIR = os.path.realpath(os.path.join(os.path.dirname(__file__), "../../..")) + + +def log_file_path(builddir, stage, logtofile=True): + """Return path to log file""" + return "{}-{}.log".format(builddir, stage) if logtofile else None + + +def open_log_file(builddir, stage, logtofile=True): + """ + Open a file for logging and return its handler. + If logtofile is True, returns sys.stdout. Otherwise opens a file + with a suitable name in the build directory. + """ + return open(log_file_path(builddir, stage, logtofile), 'a+') if logtofile else sys.stdout + + +def basepath(relpath=""): + """Return the absolute path for a file or directory relative to the Buildroot top directory.""" + return os.path.join(BASE_DIR, relpath) + + +def filepath(relpath): + return os.path.join(BASE_DIR, "support/testing", relpath) + + +def download(dldir, filename): + finalpath = os.path.join(dldir, filename) + if os.path.exists(finalpath): + return finalpath + + if not os.path.exists(dldir): + os.makedirs(dldir) + + tmpfile = tempfile.mktemp(dir=dldir) + print("Downloading to {}".format(tmpfile)) + + try: + url_fh = urlopen(os.path.join(ARTIFACTS_URL, filename)) + with open(tmpfile, "w+b") as tmpfile_fh: + tmpfile_fh.write(url_fh.read()) + except (HTTPError, URLError) as err: + os.unlink(tmpfile) + raise err + + print("Renaming from {} to {}".format(tmpfile, finalpath)) + os.rename(tmpfile, finalpath) + return finalpath + + +def run_cmd_on_host(builddir, cmd): + """Call subprocess.check_output and return the text output.""" + out = subprocess.check_output(cmd, + stderr=open(os.devnull, "w"), + cwd=builddir, + env={"LANG": "C"}, + universal_newlines=True) + return out + + +def get_elf_arch_tag(builddir, prefix, fpath, tag): + """ + Runs the cross readelf on 'fpath', then extracts the value of tag 'tag'. + Example: + >>> get_elf_arch_tag('output', 'arm-none-linux-gnueabi-', + 'bin/busybox', 'Tag_CPU_arch') + v5TEJ + >>> + """ + cmd = ["host/bin/{}-readelf".format(prefix), + "-A", os.path.join("target", fpath)] + out = run_cmd_on_host(builddir, cmd) + regexp = re.compile(r"^ {}: (.*)$".format(tag)) + for line in out.splitlines(): + m = regexp.match(line) + if not m: + continue + return m.group(1) + return None + + +def get_file_arch(builddir, prefix, fpath): + return get_elf_arch_tag(builddir, prefix, fpath, "Tag_CPU_arch") + + +def get_elf_prog_interpreter(builddir, prefix, fpath): + """ + Runs the cross readelf on 'fpath' to extract the program interpreter + name and returns it. + Example: + >>> get_elf_prog_interpreter('br-tests/TestExternalToolchainLinaroArm', + 'arm-linux-gnueabihf', + 'bin/busybox') + /lib/ld-linux-armhf.so.3 + >>> + """ + cmd = ["host/bin/{}-readelf".format(prefix), + "-l", os.path.join("target", fpath)] + out = run_cmd_on_host(builddir, cmd) + regexp = re.compile(r"^ *\[Requesting program interpreter: (.*)\]$") + for line in out.splitlines(): + m = regexp.match(line) + if not m: + continue + return m.group(1) + return None + + +def img_round_power2(img): + """ + Rounds up the size of an image file to the next power of 2 + """ + sz = os.stat(img).st_size + pow2 = 1 + while pow2 < sz: + pow2 = pow2 << 1 + with open(img, 'ab') as f: + f.truncate(pow2) diff --git a/buildroot-2022.02.1/support/testing/infra/basetest.py b/buildroot-2022.02.1/support/testing/infra/basetest.py new file mode 100644 index 00000000..96c6848d --- /dev/null +++ b/buildroot-2022.02.1/support/testing/infra/basetest.py @@ -0,0 +1,94 @@ +import unittest +import os +import datetime + +from infra.builder import Builder +from infra.emulator import Emulator + +BASIC_TOOLCHAIN_CONFIG = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y + BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y + BR2_TOOLCHAIN_EXTERNAL_URL="https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--uclibc--bleeding-edge-2018.11-1.tar.bz2" + BR2_TOOLCHAIN_EXTERNAL_GCC_8=y + BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y + BR2_TOOLCHAIN_EXTERNAL_LOCALE=y + BR2_TOOLCHAIN_HAS_THREADS_DEBUG=y + BR2_TOOLCHAIN_EXTERNAL_CXX=y + """ + +MINIMAL_CONFIG = \ + """ + BR2_INIT_NONE=y + BR2_SYSTEM_BIN_SH_NONE=y + # BR2_PACKAGE_BUSYBOX is not set + # BR2_TARGET_ROOTFS_TAR is not set + """ + + +class BRConfigTest(unittest.TestCase): + """Test up to the configure stage.""" + config = None + br2_external = list() + downloaddir = None + outputdir = None + logtofile = True + keepbuilds = False + jlevel = 0 + timeout_multiplier = 1 + + def __init__(self, names): + super(BRConfigTest, self).__init__(names) + self.testname = self.__class__.__name__ + self.builddir = self.outputdir and os.path.join(self.outputdir, self.testname) + self.config += '\nBR2_DL_DIR="{}"\n'.format(self.downloaddir) + self.config += "\nBR2_JLEVEL={}\n".format(self.jlevel) + + def show_msg(self, msg): + print("{} {:40s} {}".format(datetime.datetime.now().strftime("%H:%M:%S"), + self.testname, msg)) + + def setUp(self): + self.show_msg("Starting") + self.b = Builder(self.config, self.builddir, self.logtofile) + + if not self.keepbuilds: + self.b.delete() + + if not self.b.is_finished(): + self.b.configure(make_extra_opts=["BR2_EXTERNAL={}".format(":".join(self.br2_external))]) + + def tearDown(self): + self.show_msg("Cleaning up") + if self.b and not self.keepbuilds: + self.b.delete() + + +class BRTest(BRConfigTest): + """Test up to the build stage and instantiate an emulator.""" + def __init__(self, names): + super(BRTest, self).__init__(names) + self.emulator = None + + def setUp(self): + super(BRTest, self).setUp() + if not self.b.is_finished(): + self.show_msg("Building") + self.b.build() + self.show_msg("Building done") + + self.emulator = Emulator(self.builddir, self.downloaddir, + self.logtofile, self.timeout_multiplier) + + def tearDown(self): + if self.emulator: + self.emulator.stop() + super(BRTest, self).tearDown() + + # Run the given 'cmd' with a 'timeout' on the target and + # assert that the command succeeded + def assertRunOk(self, cmd, timeout=-1): + _, exit_code = self.emulator.run(cmd, timeout) + self.assertEqual(exit_code, 0) diff --git a/buildroot-2021.05/support/testing/infra/builder.py b/buildroot-2022.02.1/support/testing/infra/builder.py similarity index 100% rename from buildroot-2021.05/support/testing/infra/builder.py rename to buildroot-2022.02.1/support/testing/infra/builder.py diff --git a/buildroot-2022.02.1/support/testing/infra/emulator.py b/buildroot-2022.02.1/support/testing/infra/emulator.py new file mode 100644 index 00000000..53876f82 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/infra/emulator.py @@ -0,0 +1,128 @@ +import pexpect + +import infra + + +class Emulator(object): + + def __init__(self, builddir, downloaddir, logtofile, timeout_multiplier): + self.qemu = None + self.downloaddir = downloaddir + self.logfile = infra.open_log_file(builddir, "run", logtofile) + # We use elastic runners on the cloud to runs our tests. Those runners + # can take a long time to run the emulator. Use a timeout multiplier + # when running the tests to avoid sporadic failures. + self.timeout_multiplier = timeout_multiplier + + # Start Qemu to boot the system + # + # arch: Qemu architecture to use + # + # kernel: path to the kernel image, or the special string + # 'builtin'. 'builtin' means a pre-built kernel image will be + # downloaded from ARTEFACTS_URL and suitable options are + # automatically passed to qemu and added to the kernel cmdline. So + # far only armv5, armv7 and i386 builtin kernels are available. + # If None, then no kernel is used, and we assume a bootable device + # will be specified. + # + # kernel_cmdline: array of kernel arguments to pass to Qemu -append option + # + # options: array of command line options to pass to Qemu + # + def boot(self, arch, kernel=None, kernel_cmdline=None, options=None): + if arch in ["armv7", "armv5"]: + qemu_arch = "arm" + else: + qemu_arch = arch + + qemu_cmd = ["qemu-system-{}".format(qemu_arch), + "-serial", "stdio", + "-display", "none", + "-m", "256"] + + if options: + qemu_cmd += options + + if kernel_cmdline is None: + kernel_cmdline = [] + + if kernel: + if kernel == "builtin": + if arch in ["armv7", "armv5"]: + kernel_cmdline.append("console=ttyAMA0") + + if arch == "armv7": + kernel = infra.download(self.downloaddir, + "kernel-vexpress-5.10.7") + dtb = infra.download(self.downloaddir, + "vexpress-v2p-ca9-5.10.7.dtb") + qemu_cmd += ["-dtb", dtb] + qemu_cmd += ["-M", "vexpress-a9"] + elif arch == "armv5": + kernel = infra.download(self.downloaddir, + "kernel-versatile-5.10.7") + dtb = infra.download(self.downloaddir, + "versatile-pb-5.10.7.dtb") + qemu_cmd += ["-dtb", dtb] + qemu_cmd += ["-M", "versatilepb"] + qemu_cmd += ["-device", "virtio-rng-pci"] + + qemu_cmd += ["-kernel", kernel] + + if kernel_cmdline: + qemu_cmd += ["-append", " ".join(kernel_cmdline)] + + self.logfile.write("> starting qemu with '%s'\n" % " ".join(qemu_cmd)) + self.qemu = pexpect.spawn(qemu_cmd[0], qemu_cmd[1:], + timeout=5 * self.timeout_multiplier, + encoding='utf-8', + codec_errors='replace', + env={"QEMU_AUDIO_DRV": "none"}) + # We want only stdout into the log to avoid double echo + self.qemu.logfile_read = self.logfile + + # Wait for the login prompt to appear, and then login as root with + # the provided password, or no password if not specified. + def login(self, password=None): + # The login prompt can take some time to appear when running multiple + # instances in parallel, so set the timeout to a large value + index = self.qemu.expect(["buildroot login:", pexpect.TIMEOUT], + timeout=60 * self.timeout_multiplier) + if index != 0: + self.logfile.write("==> System does not boot") + raise SystemError("System does not boot") + + self.qemu.sendline("root") + if password: + self.qemu.expect("Password:") + self.qemu.sendline(password) + index = self.qemu.expect(["# ", pexpect.TIMEOUT]) + if index != 0: + raise SystemError("Cannot login") + self.run("dmesg -n 1") + # Prevent the shell from wrapping the commands at 80 columns. + self.run("stty columns 29999") + + # Run the given 'cmd' with a 'timeout' on the target + # return a tuple (output, exit_code) + def run(self, cmd, timeout=-1): + self.qemu.sendline(cmd) + if timeout != -1: + timeout *= self.timeout_multiplier + self.qemu.expect("# ", timeout=timeout) + # Remove double carriage return from qemu stdout so str.splitlines() + # works as expected. + output = self.qemu.before.replace("\r\r", "\r").splitlines()[1:] + + self.qemu.sendline("echo $?") + self.qemu.expect("# ") + exit_code = self.qemu.before.splitlines()[2] + exit_code = int(exit_code) + + return output, exit_code + + def stop(self): + if self.qemu is None: + return + self.qemu.terminate(force=True) diff --git a/buildroot-2021.05/support/testing/run-tests b/buildroot-2022.02.1/support/testing/run-tests similarity index 100% rename from buildroot-2021.05/support/testing/run-tests rename to buildroot-2022.02.1/support/testing/run-tests diff --git a/buildroot-2021.05/support/testing/tests/__init__.py b/buildroot-2022.02.1/support/testing/tests/__init__.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/__init__.py rename to buildroot-2022.02.1/support/testing/tests/__init__.py diff --git a/buildroot-2021.05/support/testing/tests/boot/__init__.py b/buildroot-2022.02.1/support/testing/tests/boot/__init__.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/boot/__init__.py rename to buildroot-2022.02.1/support/testing/tests/boot/__init__.py diff --git a/buildroot-2022.02.1/support/testing/tests/boot/test_atf.py b/buildroot-2022.02.1/support/testing/tests/boot/test_atf.py new file mode 100644 index 00000000..4fcb9b24 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/boot/test_atf.py @@ -0,0 +1,56 @@ +import infra.basetest + + +class TestATFVexpress(infra.basetest.BRTest): + config = \ + """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git" + BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v2.5" + BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="juno" + BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_UBOOT_AS_BL33=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_DTC=y + BR2_TARGET_UBOOT=y + BR2_TARGET_UBOOT_BOARDNAME="vexpress_aemv8a_juno" + BR2_TARGET_UBOOT_CUSTOM_VERSION=y + BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.07" + BR2_TARGET_VEXPRESS_FIRMWARE=y + """ + + def test_run(self): + pass + + +class TestATFAllwinner(infra.basetest.BRTest): + config = \ + """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="v2.5" + BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50i_a64" + # BR2_TARGET_ARM_TRUSTED_FIRMWARE_SSP is not set + BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y + BR2_TARGET_UBOOT=y + BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y + BR2_TARGET_UBOOT_CUSTOM_VERSION=y + BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2021.04" + BR2_TARGET_UBOOT_BOARD_DEFCONFIG="bananapi_m64" + BR2_TARGET_UBOOT_NEEDS_DTC=y + BR2_TARGET_UBOOT_NEEDS_PYTHON3=y + BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y + BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y + BR2_TARGET_UBOOT_SPL=y + BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin" + BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS="SCP=/dev/null" + """ + + def test_run(self): + pass diff --git a/buildroot-2022.02.1/support/testing/tests/boot/test_edk2.py b/buildroot-2022.02.1/support/testing/tests/boot/test_edk2.py new file mode 100644 index 00000000..c1be8fad --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/boot/test_edk2.py @@ -0,0 +1,45 @@ +import os + +import infra.basetest + + +class TestEdk2(infra.basetest.BRTest): + config = \ + """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_4=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/aarch64-sbsa/assemble-flash-images support/scripts/genimage.sh" + BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/qemu/aarch64-sbsa/genimage.cfg" + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.34" + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-sbsa/linux.config" + BR2_TARGET_EDK2=y + BR2_TARGET_EDK2_PLATFORM_QEMU_SBSA=y + BR2_TARGET_GRUB2=y + BR2_TARGET_GRUB2_ARM64_EFI=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="qemu_sbsa" + BR2_TARGET_ARM_TRUSTED_FIRMWARE_FIP=y + BR2_PACKAGE_HOST_GENIMAGE=y + BR2_PACKAGE_HOST_DOSFSTOOLS=y + BR2_PACKAGE_HOST_MTOOLS=y + """ + + def test_run(self): + hda = os.path.join(self.builddir, "images", "disk.img") + flash0 = os.path.join(self.builddir, "images", "SBSA_FLASH0.fd") + flash1 = os.path.join(self.builddir, "images", "SBSA_FLASH1.fd") + self.emulator.boot(arch="aarch64", + options=["-M", "sbsa-ref", + "-cpu", "cortex-a57", + "-m", "512M", + "-pflash", flash0, + "-pflash", flash1, + "-hda", hda]) + self.emulator.login() diff --git a/buildroot-2021.05/support/testing/tests/boot/test_syslinux.py b/buildroot-2022.02.1/support/testing/tests/boot/test_syslinux.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/boot/test_syslinux.py rename to buildroot-2022.02.1/support/testing/tests/boot/test_syslinux.py diff --git a/buildroot-2021.05/support/testing/tests/core/__init__.py b/buildroot-2022.02.1/support/testing/tests/core/__init__.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/__init__.py rename to buildroot-2022.02.1/support/testing/tests/core/__init__.py diff --git a/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/Config.in b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/Config.in new file mode 100644 index 00000000..530c077b --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/Config.in @@ -0,0 +1 @@ +source "$BR2_EXTERNAL_DETECT_BAD_ARCH_PATH/package/detect-bad-arch/Config.in" diff --git a/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/external.desc b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/external.desc new file mode 100644 index 00000000..3c4232c9 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/external.desc @@ -0,0 +1 @@ +name: DETECT_BAD_ARCH diff --git a/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/external.mk b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/external.mk new file mode 100644 index 00000000..71b9821d --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/external.mk @@ -0,0 +1 @@ +include $(sort $(wildcard $(BR2_EXTERNAL_DETECT_BAD_ARCH_PATH)/package/*/*.mk)) diff --git a/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/package/detect-bad-arch/Config.in b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/package/detect-bad-arch/Config.in new file mode 100644 index 00000000..9893e9af --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/package/detect-bad-arch/Config.in @@ -0,0 +1,4 @@ +config BR2_PACKAGE_DETECT_BAD_ARCH + bool + default y + diff --git a/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/package/detect-bad-arch/detect-bad-arch.mk b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/package/detect-bad-arch/detect-bad-arch.mk new file mode 100644 index 00000000..5e78c55f --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/core/br2-external/detect-bad-arch/package/detect-bad-arch/detect-bad-arch.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# detect-bad-arch +# +################################################################################ + +define DETECT_BAD_ARCH_BUILD_CMDS + echo "int main(void) { return 0; }" | $(HOSTCC) -x c -o $(@D)/foo - +endef + +define DETECT_BAD_ARCH_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/foo $(TARGET_DIR)/usr/bin/foo +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/Config.in b/buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/Config.in rename to buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/Config.in diff --git a/buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/external.desc b/buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/external.desc similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/external.desc rename to buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/external.desc diff --git a/buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/external.mk b/buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/external.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/external.mk rename to buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/external.mk diff --git a/buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg1/cpe-id-pkg1.mk b/buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg1/cpe-id-pkg1.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg1/cpe-id-pkg1.mk rename to buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg1/cpe-id-pkg1.mk diff --git a/buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg2/cpe-id-pkg2.mk b/buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg2/cpe-id-pkg2.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg2/cpe-id-pkg2.mk rename to buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg2/cpe-id-pkg2.mk diff --git a/buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg3/cpe-id-pkg3.mk b/buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg3/cpe-id-pkg3.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg3/cpe-id-pkg3.mk rename to buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg3/cpe-id-pkg3.mk diff --git a/buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg4/cpe-id-pkg4.mk b/buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg4/cpe-id-pkg4.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg4/cpe-id-pkg4.mk rename to buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg4/cpe-id-pkg4.mk diff --git a/buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg5/cpe-id-pkg5.mk b/buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg5/cpe-id-pkg5.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg5/cpe-id-pkg5.mk rename to buildroot-2022.02.1/support/testing/tests/core/cpeid-br2-external/package/cpe-id-pkg5/cpe-id-pkg5.mk diff --git a/buildroot-2021.05/support/testing/tests/core/device_table2.txt b/buildroot-2022.02.1/support/testing/tests/core/device_table2.txt similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/device_table2.txt rename to buildroot-2022.02.1/support/testing/tests/core/device_table2.txt diff --git a/buildroot-2021.05/support/testing/tests/core/post-build.sh b/buildroot-2022.02.1/support/testing/tests/core/post-build.sh similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/post-build.sh rename to buildroot-2022.02.1/support/testing/tests/core/post-build.sh diff --git a/buildroot-2021.05/support/testing/tests/core/post-fakeroot.sh b/buildroot-2022.02.1/support/testing/tests/core/post-fakeroot.sh similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/post-fakeroot.sh rename to buildroot-2022.02.1/support/testing/tests/core/post-fakeroot.sh diff --git a/buildroot-2021.05/support/testing/tests/core/post-image.sh b/buildroot-2022.02.1/support/testing/tests/core/post-image.sh similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/post-image.sh rename to buildroot-2022.02.1/support/testing/tests/core/post-image.sh diff --git a/buildroot-2021.05/support/testing/tests/core/rootfs-overlay1/test-file1 b/buildroot-2022.02.1/support/testing/tests/core/rootfs-overlay1/test-file1 similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/rootfs-overlay1/test-file1 rename to buildroot-2022.02.1/support/testing/tests/core/rootfs-overlay1/test-file1 diff --git a/buildroot-2021.05/support/testing/tests/core/rootfs-overlay2/etc/test-file2 b/buildroot-2022.02.1/support/testing/tests/core/rootfs-overlay2/etc/test-file2 similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/rootfs-overlay2/etc/test-file2 rename to buildroot-2022.02.1/support/testing/tests/core/rootfs-overlay2/etc/test-file2 diff --git a/buildroot-2021.05/support/testing/tests/core/squashfs-xattr-kernel.config b/buildroot-2022.02.1/support/testing/tests/core/squashfs-xattr-kernel.config similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/squashfs-xattr-kernel.config rename to buildroot-2022.02.1/support/testing/tests/core/squashfs-xattr-kernel.config diff --git a/buildroot-2022.02.1/support/testing/tests/core/test_bad_arch.py b/buildroot-2022.02.1/support/testing/tests/core/test_bad_arch.py new file mode 100644 index 00000000..c96a7152 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/core/test_bad_arch.py @@ -0,0 +1,18 @@ +import infra +import infra.basetest + + +class DetectBadArchTest(infra.basetest.BRConfigTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + infra.basetest.MINIMAL_CONFIG + br2_external = [infra.filepath("tests/core/br2-external/detect-bad-arch")] + + def test_run(self): + with self.assertRaises(SystemError): + self.b.build() + logf_path = infra.log_file_path(self.b.builddir, "build", + infra.basetest.BRConfigTest.logtofile) + if logf_path: + s = 'ERROR: architecture for "/usr/bin/foo" is' + with open(logf_path, "r") as f: + lines = [line for line in f.readlines() if line.startswith(s)] + self.assertEqual(len(lines), 1) diff --git a/buildroot-2021.05/support/testing/tests/core/test_cpeid.py b/buildroot-2022.02.1/support/testing/tests/core/test_cpeid.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_cpeid.py rename to buildroot-2022.02.1/support/testing/tests/core/test_cpeid.py diff --git a/buildroot-2022.02.1/support/testing/tests/core/test_file_capabilities.py b/buildroot-2022.02.1/support/testing/tests/core/test_file_capabilities.py new file mode 100644 index 00000000..fe21d76c --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/core/test_file_capabilities.py @@ -0,0 +1,46 @@ +import os + +import infra.basetest + + +class TestFileCapabilities(infra.basetest.BRTest): + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt {}" + BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES=y + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + BR2_PACKAGE_LIBCAP=y + BR2_PACKAGE_LIBCAP_TOOLS=y + BR2_TARGET_ROOTFS_SQUASHFS=y + # BR2_TARGET_ROOTFS_TAR is not set + """.format(infra.filepath("tests/core/device_table2.txt"), + infra.filepath("tests/core/squashfs-xattr-kernel.config")) + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.squashfs") + infra.img_round_power2(img) + + self.emulator.boot(arch="armv7", + kernel=os.path.join(self.builddir, "images", "zImage"), + kernel_cmdline=["root=/dev/mmcblk0", + "rootfstype=squashfs"], + options=["-drive", "file={},if=sd,format=raw".format(img), + "-M", "vexpress-a9", + "-dtb", os.path.join(self.builddir, "images", "vexpress-v2p-ca9.dtb")]) + self.emulator.login() + + cmd = "getcap -v /usr/sbin/getcap" + output, _ = self.emulator.run(cmd) + self.assertIn("cap_kill", output[0]) + self.assertIn("cap_sys_nice", output[0]) + self.assertIn("cap_sys_time", output[0]) + self.assertIn("=eip", output[0]) diff --git a/buildroot-2021.05/support/testing/tests/core/test_hardening.py b/buildroot-2022.02.1/support/testing/tests/core/test_hardening.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_hardening.py rename to buildroot-2022.02.1/support/testing/tests/core/test_hardening.py diff --git a/buildroot-2021.05/support/testing/tests/core/test_post_scripts.py b/buildroot-2022.02.1/support/testing/tests/core/test_post_scripts.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_post_scripts.py rename to buildroot-2022.02.1/support/testing/tests/core/test_post_scripts.py diff --git a/buildroot-2021.05/support/testing/tests/core/test_root_password.py b/buildroot-2022.02.1/support/testing/tests/core/test_root_password.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_root_password.py rename to buildroot-2022.02.1/support/testing/tests/core/test_root_password.py diff --git a/buildroot-2021.05/support/testing/tests/core/test_rootfs_overlay.py b/buildroot-2022.02.1/support/testing/tests/core/test_rootfs_overlay.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_rootfs_overlay.py rename to buildroot-2022.02.1/support/testing/tests/core/test_rootfs_overlay.py diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux.py b/buildroot-2022.02.1/support/testing/tests/core/test_selinux.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux.py rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux.py diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/Config.in b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/Config.in rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/Config.in diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/external.desc b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/external.desc similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/external.desc rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/external.desc diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/external.mk b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/external.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/external.mk rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/external.mk diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/Config.in b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/Config.in rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/Config.in diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux-test.mk b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux-test.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux-test.mk rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux-test.mk diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.fc b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.fc similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.fc rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.fc diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.if b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.if similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.if rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.if diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.te b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.te similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.te rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/br2_external/package/selinux-test/selinux/buildroot.te diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/extra_modules/buildroot.fc b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/extra_modules/buildroot.fc similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/extra_modules/buildroot.fc rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/extra_modules/buildroot.fc diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/extra_modules/buildroot.if b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/extra_modules/buildroot.if similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/extra_modules/buildroot.if rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/extra_modules/buildroot.if diff --git a/buildroot-2021.05/support/testing/tests/core/test_selinux/extra_modules/buildroot.te b/buildroot-2022.02.1/support/testing/tests/core/test_selinux/extra_modules/buildroot.te similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_selinux/extra_modules/buildroot.te rename to buildroot-2022.02.1/support/testing/tests/core/test_selinux/extra_modules/buildroot.te diff --git a/buildroot-2021.05/support/testing/tests/core/test_timezone.py b/buildroot-2022.02.1/support/testing/tests/core/test_timezone.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/core/test_timezone.py rename to buildroot-2022.02.1/support/testing/tests/core/test_timezone.py diff --git a/buildroot-2021.05/support/testing/tests/download/__init__.py b/buildroot-2022.02.1/support/testing/tests/download/__init__.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/__init__.py rename to buildroot-2022.02.1/support/testing/tests/download/__init__.py diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/Config.in b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/Config.in rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/Config.in diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/external.desc b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/external.desc similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/external.desc rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/external.desc diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/external.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/external.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/external.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/external.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/bad/bad.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/bad/bad.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/bad/bad.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/bad/bad.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/bad/bad.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/bad/bad.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/bad/bad.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/bad/bad.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/good/good.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/good/good.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/good/good.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/good/good.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/good/good.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/good/good.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/good/good.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/good/good.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/nohash/nohash.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/nohash/nohash.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-hash/package/nohash/nohash.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-hash/package/nohash/nohash.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/Config.in b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/Config.in rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/Config.in diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/external.desc b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/external.desc similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/external.desc rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/external.desc diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/external.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/external.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/external.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/external.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-branch-head/git-partial-sha1-branch-head.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-branch-head/git-partial-sha1-branch-head.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-branch-head/git-partial-sha1-branch-head.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-branch-head/git-partial-sha1-branch-head.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-branch-head/git-partial-sha1-branch-head.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-branch-head/git-partial-sha1-branch-head.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-branch-head/git-partial-sha1-branch-head.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-branch-head/git-partial-sha1-branch-head.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-branch/git-partial-sha1-reachable-by-branch.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-branch/git-partial-sha1-reachable-by-branch.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-branch/git-partial-sha1-reachable-by-branch.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-branch/git-partial-sha1-reachable-by-branch.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-branch/git-partial-sha1-reachable-by-branch.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-branch/git-partial-sha1-reachable-by-branch.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-branch/git-partial-sha1-reachable-by-branch.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-branch/git-partial-sha1-reachable-by-branch.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-tag/git-partial-sha1-reachable-by-tag.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-tag/git-partial-sha1-reachable-by-tag.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-tag/git-partial-sha1-reachable-by-tag.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-tag/git-partial-sha1-reachable-by-tag.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-tag/git-partial-sha1-reachable-by-tag.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-tag/git-partial-sha1-reachable-by-tag.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-tag/git-partial-sha1-reachable-by-tag.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-reachable-by-tag/git-partial-sha1-reachable-by-tag.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-itself/git-partial-sha1-tag-itself.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-itself/git-partial-sha1-tag-itself.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-itself/git-partial-sha1-tag-itself.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-itself/git-partial-sha1-tag-itself.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-itself/git-partial-sha1-tag-itself.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-itself/git-partial-sha1-tag-itself.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-itself/git-partial-sha1-tag-itself.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-itself/git-partial-sha1-tag-itself.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-points-to/git-partial-sha1-tag-points-to.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-points-to/git-partial-sha1-tag-points-to.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-points-to/git-partial-sha1-tag-points-to.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-points-to/git-partial-sha1-tag-points-to.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-points-to/git-partial-sha1-tag-points-to.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-points-to/git-partial-sha1-tag-points-to.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-points-to/git-partial-sha1-tag-points-to.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-partial-sha1-tag-points-to/git-partial-sha1-tag-points-to.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-branch-head/git-sha1-branch-head.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-branch-head/git-sha1-branch-head.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-branch-head/git-sha1-branch-head.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-branch-head/git-sha1-branch-head.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-branch-head/git-sha1-branch-head.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-branch-head/git-sha1-branch-head.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-branch-head/git-sha1-branch-head.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-branch-head/git-sha1-branch-head.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-branch/git-sha1-reachable-by-branch.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-branch/git-sha1-reachable-by-branch.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-branch/git-sha1-reachable-by-branch.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-branch/git-sha1-reachable-by-branch.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-branch/git-sha1-reachable-by-branch.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-branch/git-sha1-reachable-by-branch.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-branch/git-sha1-reachable-by-branch.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-branch/git-sha1-reachable-by-branch.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-tag/git-sha1-reachable-by-tag.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-tag/git-sha1-reachable-by-tag.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-tag/git-sha1-reachable-by-tag.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-tag/git-sha1-reachable-by-tag.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-tag/git-sha1-reachable-by-tag.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-tag/git-sha1-reachable-by-tag.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-tag/git-sha1-reachable-by-tag.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-reachable-by-tag/git-sha1-reachable-by-tag.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-itself/git-sha1-tag-itself.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-itself/git-sha1-tag-itself.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-itself/git-sha1-tag-itself.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-itself/git-sha1-tag-itself.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-itself/git-sha1-tag-itself.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-itself/git-sha1-tag-itself.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-itself/git-sha1-tag-itself.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-itself/git-sha1-tag-itself.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-points-to/git-sha1-tag-points-to.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-points-to/git-sha1-tag-points-to.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-points-to/git-sha1-tag-points-to.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-points-to/git-sha1-tag-points-to.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-points-to/git-sha1-tag-points-to.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-points-to/git-sha1-tag-points-to.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-points-to/git-sha1-tag-points-to.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-sha1-tag-points-to/git-sha1-tag-points-to.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-submodule-disabled/git-submodule-disabled.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-submodule-enabled/git-submodule-enabled.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-tag/git-tag.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-tag/git-tag.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-tag/git-tag.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-tag/git-tag.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-tag/git-tag.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-tag/git-tag.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-tag/git-tag.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-tag/git-tag.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-wrong-content/git-wrong-content.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-wrong-content/git-wrong-content.hash similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-wrong-content/git-wrong-content.hash rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-wrong-content/git-wrong-content.hash diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-wrong-content/git-wrong-content.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-wrong-content/git-wrong-content.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-wrong-content/git-wrong-content.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-wrong-content/git-wrong-content.mk diff --git a/buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-wrong-sha1/git-wrong-sha1.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-wrong-sha1/git-wrong-sha1.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/br2-external/git-refs/package/git-wrong-sha1/git-wrong-sha1.mk rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/git-refs/package/git-wrong-sha1/git-wrong-sha1.mk diff --git a/buildroot-2021.05/support/testing/tests/fs/__init__.py b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/fs/__init__.py rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/github/Config.in diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/external.desc b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/external.desc new file mode 100644 index 00000000..b8beea88 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/external.desc @@ -0,0 +1 @@ +name: GITHUB diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/external.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/external.mk new file mode 100644 index 00000000..e4e5524c --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/external.mk @@ -0,0 +1 @@ +include $(sort $(wildcard $(BR2_EXTERNAL_GITHUB_PATH)/package/*/*.mk)) diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-hash/github-helper-hash.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-hash/github-helper-hash.hash new file mode 100644 index 00000000..a941060b --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-hash/github-helper-hash.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 4064739881453831bceeae81af8947cbd6c1fe03e052ac17b82ae5b3360d83f8 github-helper-hash-e2fba6457bd9d9c720540332eaf0c1f8c29eab00.tar.gz +sha256 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4 COPYING diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-hash/github-helper-hash.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-hash/github-helper-hash.mk new file mode 100644 index 00000000..e1fa5aab --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-hash/github-helper-hash.mk @@ -0,0 +1,11 @@ +################################################################################ +# +# github-helper-hash +# +################################################################################ + +GITHUB_HELPER_HASH_VERSION = e2fba6457bd9d9c720540332eaf0c1f8c29eab00 +GITHUB_HELPER_HASH_SITE = $(call github,buildroot,buildroot,$(GITHUB_HELPER_HASH_VERSION)) +GITHUB_HELPER_HASH_LICENSE_FILES = COPYING + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-tag/github-helper-tag.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-tag/github-helper-tag.hash new file mode 100644 index 00000000..466d2ac4 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-tag/github-helper-tag.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 959a953bbd91e6ed6db8d63a45a986400878b6bb486455231b2976218301c3d2 github-helper-tag-2021.02.tar.gz +sha256 9755181e27175cb3510b4da8629caa406fb355a19aa8e7d55f06bf8ab33323c4 COPYING diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-tag/github-helper-tag.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-tag/github-helper-tag.mk new file mode 100644 index 00000000..b1ff66d8 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-helper-tag/github-helper-tag.mk @@ -0,0 +1,11 @@ +################################################################################ +# +# github-helper-tag +# +################################################################################ + +GITHUB_HELPER_TAG_VERSION = 2021.02 +GITHUB_HELPER_TAG_SITE = $(call github,buildroot,buildroot,$(GITHUB_HELPER_TAG_VERSION)) +GITHUB_HELPER_TAG_LICENSE_FILES = COPYING + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-release/github-release.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-release/github-release.hash new file mode 100644 index 00000000..78a25dd2 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-release/github-release.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 f4cb17b21928e36ec27de5c5294dea6ec1de4acd7ee6c56d6ecc75319cbcaefa systemd-bootchart-233.tar.xz +sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 LICENSE.LGPL2.1 diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-release/github-release.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-release/github-release.mk new file mode 100644 index 00000000..34409e1c --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/github/package/github-release/github-release.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# github-release +# +################################################################################ + +GITHUB_RELEASE_VERSION = 233 +GITHUB_RELEASE_SITE = https://github.com/systemd/systemd-bootchart/releases/download/v$(GITHUB_RELEASE_VERSION) +GITHUB_RELEASE_SOURCE = systemd-bootchart-$(GITHUB_RELEASE_VERSION).tar.xz +GITHUB_RELEASE_LICENSE_FILES = LICENSE.LGPL2.1 + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/support/testing/tests/init/__init__.py b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/init/__init__.py rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/Config.in diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/external.desc b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/external.desc new file mode 100644 index 00000000..eafc8a43 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/external.desc @@ -0,0 +1 @@ +name: GITLAB diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/external.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/external.mk new file mode 100644 index 00000000..8de12032 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/external.mk @@ -0,0 +1 @@ +include $(sort $(wildcard $(BR2_EXTERNAL_GITLAB_PATH)/package/*/*.mk)) diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-hash/gitlab-helper-hash.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-hash/gitlab-helper-hash.hash new file mode 100644 index 00000000..79684e97 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-hash/gitlab-helper-hash.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 28f3b63454a7de6d8fb154dfa1e2e203afeb34db006661329e273137f8fe3dce gitlab-helper-hash-21a378a7858460809ffef1c96a07a493d709730c.tar.gz +sha256 309875d925041d909bc705473d6c4b7905272aea15c1c2389088c26c161bae1f license.txt diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-hash/gitlab-helper-hash.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-hash/gitlab-helper-hash.mk new file mode 100644 index 00000000..44a15611 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-hash/gitlab-helper-hash.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# gitlab-helper-hash +# +################################################################################ + +GITLAB_HELPER_HASH_VERSION = 21a378a7858460809ffef1c96a07a493d709730c +GITLAB_HELPER_HASH_SITE = $(call gitlab,solarus-games,solarus,$(GITLAB_HELPER_HASH_VERSION)) + +GITLAB_HELPER_HASH_LICENSE_FILES = license.txt + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-tag/gitlab-helper-tag.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-tag/gitlab-helper-tag.hash new file mode 100644 index 00000000..1c50bc3c --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-tag/gitlab-helper-tag.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 ef08b22999431b7f81f9b74408221b8a5a3ab5b0f646a835443a3c37cb2fb979 gitlab-helper-tag-1.6.5.tar.gz +sha256 309875d925041d909bc705473d6c4b7905272aea15c1c2389088c26c161bae1f license.txt diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-tag/gitlab-helper-tag.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-tag/gitlab-helper-tag.mk new file mode 100644 index 00000000..fb2fc49c --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-helper-tag/gitlab-helper-tag.mk @@ -0,0 +1,11 @@ +################################################################################ +# +# gitlab-helper-tag +# +################################################################################ + +GITLAB_HELPER_TAG_VERSION = 1.6.5 +GITLAB_HELPER_TAG_SITE = $(call gitlab,solarus-games,solarus,v$(GITLAB_HELPER_TAG_VERSION)) +GITLAB_HELPER_TAG_LICENSE_FILES = license.txt + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-release/gitlab-release.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-release/gitlab-release.hash new file mode 100644 index 00000000..7031d1b3 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-release/gitlab-release.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 12b88efa4d0d95af08db05a50b3dcb217c0eb2bfc67b483779e33d498ddb2f95 iucode-tool_2.3.1.tar.xz +sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-release/gitlab-release.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-release/gitlab-release.mk new file mode 100644 index 00000000..2510ac63 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/gitlab/package/gitlab-release/gitlab-release.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# gitlab-release +# +################################################################################ + +GITLAB_RELEASE_VERSION = 2.3.1 +GITLAB_RELEASE_SITE = https://gitlab.com/iucode-tool/releases/raw/master +GITLAB_RELEASE_SOURCE = iucode-tool_$(GITLAB_RELEASE_VERSION).tar.xz +GITLAB_RELEASE_LICENSE_FILES = COPYING + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/support/testing/tests/package/__init__.py b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/__init__.py rename to buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/Config.in diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/external.desc b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/external.desc new file mode 100644 index 00000000..2fe078ed --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/external.desc @@ -0,0 +1 @@ +name: SSH diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/external.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/external.mk new file mode 100644 index 00000000..c8f0dc74 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/external.mk @@ -0,0 +1 @@ +include $(sort $(wildcard $(BR2_EXTERNAL_SSH_PATH)/package/*/*.mk)) diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/scp/scp.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/scp/scp.hash new file mode 100644 index 00000000..31353a88 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/scp/scp.hash @@ -0,0 +1 @@ +sha256 b457c1a37ba7405e8806b93f3d5cc82165db0b0cad25d203f112e32c7a30c0be ssh-test-1.0.tar.xz diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/scp/scp.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/scp/scp.mk new file mode 100644 index 00000000..3451aaf0 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/scp/scp.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# scp +# +################################################################################ + +SCP_VERSION = 1.0 +SCP_SOURCE = ssh-test-$(SCP_VERSION).tar.xz +SCP_SITE = scp://localhost:$(SSHD_TEST_DIR) +SCP_DL_OPTS = \ + -P $(SSHD_PORT_NUMBER) \ + -i $(SSH_IDENTITY) \ + -o "UserKnownHostsFile=/dev/null" \ + -o "StrictHostKeyChecking=no" \ + -o "CheckHostIP=no" + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/sftp/sftp.hash b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/sftp/sftp.hash new file mode 100644 index 00000000..31353a88 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/sftp/sftp.hash @@ -0,0 +1 @@ +sha256 b457c1a37ba7405e8806b93f3d5cc82165db0b0cad25d203f112e32c7a30c0be ssh-test-1.0.tar.xz diff --git a/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/sftp/sftp.mk b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/sftp/sftp.mk new file mode 100644 index 00000000..58d91f6a --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/br2-external/ssh/package/sftp/sftp.mk @@ -0,0 +1,17 @@ +################################################################################ +# +# sftp +# +################################################################################ + +SFTP_VERSION = 1.0 +SFTP_SOURCE = ssh-test-$(SFTP_VERSION).tar.xz +SFTP_SITE = sftp://localhost/$(SSHD_TEST_DIR) +SFTP_DL_OPTS = \ + -P $(SSHD_PORT_NUMBER) \ + -i $(SSH_IDENTITY) \ + -o "UserKnownHostsFile=/dev/null" \ + -o "StrictHostKeyChecking=no" \ + -o "CheckHostIP=no" + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/.gitattributes b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/.gitattributes similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/.gitattributes rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/.gitattributes diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/HEAD b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/HEAD similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/HEAD rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/HEAD diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/config b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/config similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/config rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/config diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/07/cabc655213bdf7087d8dd50fda95124e935570 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/07/cabc655213bdf7087d8dd50fda95124e935570 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/07/cabc655213bdf7087d8dd50fda95124e935570 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/07/cabc655213bdf7087d8dd50fda95124e935570 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/1d/f823cb8a6d1866148ae50a8009762a9c4c777f b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/1d/f823cb8a6d1866148ae50a8009762a9c4c777f similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/1d/f823cb8a6d1866148ae50a8009762a9c4c777f rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/1d/f823cb8a6d1866148ae50a8009762a9c4c777f diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/7d/52f458bdb0f9f5a4beb46fa82824421b8b988e b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/7d/52f458bdb0f9f5a4beb46fa82824421b8b988e similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/7d/52f458bdb0f9f5a4beb46fa82824421b8b988e rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/7d/52f458bdb0f9f5a4beb46fa82824421b8b988e diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/a1/30af1626bbadd64841b2cbcb6ac4ed0638ba1a b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/a1/30af1626bbadd64841b2cbcb6ac4ed0638ba1a similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/a1/30af1626bbadd64841b2cbcb6ac4ed0638ba1a rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/a1/30af1626bbadd64841b2cbcb6ac4ed0638ba1a diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/bc/c81ba6e5bd8bf52c95688ae8d3e697e131fa23 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/bc/c81ba6e5bd8bf52c95688ae8d3e697e131fa23 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/bc/c81ba6e5bd8bf52c95688ae8d3e697e131fa23 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/bc/c81ba6e5bd8bf52c95688ae8d3e697e131fa23 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/cb/545facf77bbc5f24f95b6d503c338d10b7b717 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/cb/545facf77bbc5f24f95b6d503c338d10b7b717 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/cb/545facf77bbc5f24f95b6d503c338d10b7b717 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/cb/545facf77bbc5f24f95b6d503c338d10b7b717 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/dd/130f6f4629514adaf2e03407f3ed9344eb6cd6 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/dd/130f6f4629514adaf2e03407f3ed9344eb6cd6 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/dd/130f6f4629514adaf2e03407f3ed9344eb6cd6 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/dd/130f6f4629514adaf2e03407f3ed9344eb6cd6 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/f8/001e5780100962a5e30a25cbc4c9609cfc7bf3 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/f8/001e5780100962a5e30a25cbc4c9609cfc7bf3 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/objects/f8/001e5780100962a5e30a25cbc4c9609cfc7bf3 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/objects/f8/001e5780100962a5e30a25cbc4c9609cfc7bf3 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/refs/heads/submodule b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/refs/heads/submodule similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub1.git/refs/heads/submodule rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub1.git/refs/heads/submodule diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/.gitattributes b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/.gitattributes similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/.gitattributes rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/.gitattributes diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/HEAD b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/HEAD similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/HEAD rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/HEAD diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/config b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/config similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/config rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/config diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/0a/846af45c3e455789435f49f80d70e86b65b9d7 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/0a/846af45c3e455789435f49f80d70e86b65b9d7 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/0a/846af45c3e455789435f49f80d70e86b65b9d7 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/0a/846af45c3e455789435f49f80d70e86b65b9d7 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/0b/32ebd8fc52cec991f18c94be980e85a8341585 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/0b/32ebd8fc52cec991f18c94be980e85a8341585 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/0b/32ebd8fc52cec991f18c94be980e85a8341585 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/0b/32ebd8fc52cec991f18c94be980e85a8341585 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/32/d61bae693af7879da63b89a60d3ae67f851e56 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/32/d61bae693af7879da63b89a60d3ae67f851e56 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/32/d61bae693af7879da63b89a60d3ae67f851e56 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/32/d61bae693af7879da63b89a60d3ae67f851e56 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/3e/9b0a5198c64cea9c00f820433411e3b4d50c1c b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/3e/9b0a5198c64cea9c00f820433411e3b4d50c1c similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/3e/9b0a5198c64cea9c00f820433411e3b4d50c1c rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/3e/9b0a5198c64cea9c00f820433411e3b4d50c1c diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/85/8f666af75b7c0dfba6b8be7eac5f196e7a1221 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/85/8f666af75b7c0dfba6b8be7eac5f196e7a1221 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/85/8f666af75b7c0dfba6b8be7eac5f196e7a1221 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/85/8f666af75b7c0dfba6b8be7eac5f196e7a1221 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/cd/4d62ff218ab7b4a04f5bfdf800ace087af3ceb b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/cd/4d62ff218ab7b4a04f5bfdf800ace087af3ceb similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/cd/4d62ff218ab7b4a04f5bfdf800ace087af3ceb rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/cd/4d62ff218ab7b4a04f5bfdf800ace087af3ceb diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/e8/3f6f805bd016b90acafc8702c52d778eb57310 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/e8/3f6f805bd016b90acafc8702c52d778eb57310 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/objects/e8/3f6f805bd016b90acafc8702c52d778eb57310 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/objects/e8/3f6f805bd016b90acafc8702c52d778eb57310 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/refs/heads/submodule b/buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/refs/heads/submodule similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/refs-sub2.git/refs/heads/submodule rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/refs-sub2.git/refs/heads/submodule diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/.gitattributes b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/.gitattributes similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/.gitattributes rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/.gitattributes diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/HEAD b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/HEAD similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/HEAD rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/HEAD diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/config b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/config similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/config rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/config diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/0b/d8ceb961c3b2b210f64a67d57f4b5cd669d343 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/0b/d8ceb961c3b2b210f64a67d57f4b5cd669d343 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/0b/d8ceb961c3b2b210f64a67d57f4b5cd669d343 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/0b/d8ceb961c3b2b210f64a67d57f4b5cd669d343 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/11/93ff46343f4f6a0522e2b28b871e905178c1f0 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/11/93ff46343f4f6a0522e2b28b871e905178c1f0 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/11/93ff46343f4f6a0522e2b28b871e905178c1f0 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/11/93ff46343f4f6a0522e2b28b871e905178c1f0 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/25/59d83bfe937fc0412d96ed664663c9e8a99055 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/25/59d83bfe937fc0412d96ed664663c9e8a99055 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/25/59d83bfe937fc0412d96ed664663c9e8a99055 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/25/59d83bfe937fc0412d96ed664663c9e8a99055 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/2b/0e0d98a49c97da6a618ab36337e2058eb733a2 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/2b/0e0d98a49c97da6a618ab36337e2058eb733a2 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/2b/0e0d98a49c97da6a618ab36337e2058eb733a2 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/2b/0e0d98a49c97da6a618ab36337e2058eb733a2 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/2f/a37f6885d7eb746df75eccaddbacf3ac82799d b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/2f/a37f6885d7eb746df75eccaddbacf3ac82799d similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/2f/a37f6885d7eb746df75eccaddbacf3ac82799d rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/2f/a37f6885d7eb746df75eccaddbacf3ac82799d diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/31/7406308d9259e2231bd0d6ddad3de3832bce08 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/31/7406308d9259e2231bd0d6ddad3de3832bce08 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/31/7406308d9259e2231bd0d6ddad3de3832bce08 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/31/7406308d9259e2231bd0d6ddad3de3832bce08 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/34/d1da713bf7de1c535e1d7d3ca985afd84bc7e5 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/34/d1da713bf7de1c535e1d7d3ca985afd84bc7e5 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/34/d1da713bf7de1c535e1d7d3ca985afd84bc7e5 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/34/d1da713bf7de1c535e1d7d3ca985afd84bc7e5 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/46/bae5b639e5a18e2cc4dc508f080d566baeff59 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/46/bae5b639e5a18e2cc4dc508f080d566baeff59 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/46/bae5b639e5a18e2cc4dc508f080d566baeff59 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/46/bae5b639e5a18e2cc4dc508f080d566baeff59 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/51/6c9c5f64ec66534d4d069c2e408d9ae4dce023 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/51/6c9c5f64ec66534d4d069c2e408d9ae4dce023 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/51/6c9c5f64ec66534d4d069c2e408d9ae4dce023 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/51/6c9c5f64ec66534d4d069c2e408d9ae4dce023 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/68/c197d0879d485f4f6cee85544722b79e68e59f b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/68/c197d0879d485f4f6cee85544722b79e68e59f similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/68/c197d0879d485f4f6cee85544722b79e68e59f rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/68/c197d0879d485f4f6cee85544722b79e68e59f diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/8b/8a7e885a041da72b1ee9a47c5b9300b172a9e7 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/8b/8a7e885a041da72b1ee9a47c5b9300b172a9e7 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/8b/8a7e885a041da72b1ee9a47c5b9300b172a9e7 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/8b/8a7e885a041da72b1ee9a47c5b9300b172a9e7 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/92/ef85be57d627f280d8ce3724452ac21c9a6452 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/92/ef85be57d627f280d8ce3724452ac21c9a6452 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/92/ef85be57d627f280d8ce3724452ac21c9a6452 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/92/ef85be57d627f280d8ce3724452ac21c9a6452 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/99/f2e3e1cb15f9b52fa29f66d380dda061d917ab diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/a2/38b1dfcd825d47d834af3c5223417c8411d90d b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/a2/38b1dfcd825d47d834af3c5223417c8411d90d similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/a2/38b1dfcd825d47d834af3c5223417c8411d90d rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/a2/38b1dfcd825d47d834af3c5223417c8411d90d diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/a9/dbc1e23c45e8e1b88c0448763f54d714eb6f8f b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/a9/dbc1e23c45e8e1b88c0448763f54d714eb6f8f similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/a9/dbc1e23c45e8e1b88c0448763f54d714eb6f8f rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/a9/dbc1e23c45e8e1b88c0448763f54d714eb6f8f diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/b2/4b387624edc78d0292a127c43cad9ba97c6232 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/b2/4b387624edc78d0292a127c43cad9ba97c6232 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/b2/4b387624edc78d0292a127c43cad9ba97c6232 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/b2/4b387624edc78d0292a127c43cad9ba97c6232 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/cf/0f4f85d7a1237e377a2d25b996518a877ea001 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/cf/0f4f85d7a1237e377a2d25b996518a877ea001 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/cf/0f4f85d7a1237e377a2d25b996518a877ea001 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/cf/0f4f85d7a1237e377a2d25b996518a877ea001 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/d4/e2941d18a63535400476324ddeb7f40164be41 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/d4/e2941d18a63535400476324ddeb7f40164be41 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/d4/e2941d18a63535400476324ddeb7f40164be41 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/d4/e2941d18a63535400476324ddeb7f40164be41 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/e2/2695cbf976fed1f543ad7486a531c0af473482 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/e2/2695cbf976fed1f543ad7486a531c0af473482 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/e2/2695cbf976fed1f543ad7486a531c0af473482 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/e2/2695cbf976fed1f543ad7486a531c0af473482 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/e2/cfe068f7e5bf4de32ffe1241da53abce9fa89e b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/e2/cfe068f7e5bf4de32ffe1241da53abce9fa89e similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/e2/cfe068f7e5bf4de32ffe1241da53abce9fa89e rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/e2/cfe068f7e5bf4de32ffe1241da53abce9fa89e diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/e7/9c5e8f964493290a409888d5413a737e8e5dd5 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/f6/476b879f65e956d7dedd5b08736369e9a24acc b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/f6/476b879f65e956d7dedd5b08736369e9a24acc similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/f6/476b879f65e956d7dedd5b08736369e9a24acc rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/f6/476b879f65e956d7dedd5b08736369e9a24acc diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/fe/74231105841041d5f441e70399d37f0e600aa5 b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/fe/74231105841041d5f441e70399d37f0e600aa5 similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/objects/fe/74231105841041d5f441e70399d37f0e600aa5 rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/objects/fe/74231105841041d5f441e70399d37f0e600aa5 diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/refs/heads/master b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/refs/heads/master similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/refs/heads/master rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/refs/heads/master diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/refs/heads/mybranch diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/refs/heads/submodule b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/refs/heads/submodule similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/refs/heads/submodule rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/refs/heads/submodule diff --git a/buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/refs/tags/mytag b/buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/refs/tags/mytag similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/git-remote/repo.git/refs/tags/mytag rename to buildroot-2022.02.1/support/testing/tests/download/git-remote/repo.git/refs/tags/mytag diff --git a/buildroot-2021.05/support/testing/tests/download/gitremote.py b/buildroot-2022.02.1/support/testing/tests/download/gitremote.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/gitremote.py rename to buildroot-2022.02.1/support/testing/tests/download/gitremote.py diff --git a/buildroot-2022.02.1/support/testing/tests/download/sshd.py b/buildroot-2022.02.1/support/testing/tests/download/sshd.py new file mode 100644 index 00000000..6555f049 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/sshd.py @@ -0,0 +1,149 @@ +import os +import shutil +import subprocess +from unittest import SkipTest + +# subprocess does not kill the child daemon when a test case fails by raising +# an exception. So use pexpect instead. +import pexpect + +import infra + + +SSHD_PORT_INITIAL = 2222 +SSHD_PORT_LAST = SSHD_PORT_INITIAL + 99 +SSHD_PATH = "/usr/sbin/sshd" +SSHD_HOST_DIR = "host" + +# SSHD_KEY_DIR is where the /etc/ssh/ssh_host_*_key files go +SSHD_KEY_DIR = os.path.join(SSHD_HOST_DIR, "etc/ssh") +SSHD_KEY = os.path.join(SSHD_KEY_DIR, "ssh_host_ed25519_key") + +# SSH_CLIENT_KEY_DIR is where the client id_rsa key and authorized_keys files go +SSH_CLIENT_KEY_DIR = os.path.join(SSHD_HOST_DIR, "home/br-user/ssh") +SSH_CLIENT_KEY = os.path.join(SSH_CLIENT_KEY_DIR, "id_rsa") +SSH_AUTH_KEYS_FILE = os.path.join(SSH_CLIENT_KEY_DIR, "authorized_keys") + + +class OpenSSHDaemon(): + + def __init__(self, builddir, logtofile): + """ + Start an OpenSSH SSH Daemon + + In order to support test cases in parallel, select the port the + server will listen to in runtime. Since there is no reliable way + to allocate the port prior to starting the server (another + process in the host machine can use the port between it is + selected from a list and it is really allocated to the server) + try to start the server in a port and in the case it is already + in use, try the next one in the allowed range. + """ + self.daemon = None + self.port = None + + self.logfile = infra.open_log_file(builddir, "sshd", logtofile) + + server_keyfile = os.path.join(builddir, SSHD_KEY) + auth_keys_file = os.path.join(builddir, SSH_AUTH_KEYS_FILE) + daemon_cmd = [SSHD_PATH, + "-D", # or use -ddd to debug + "-e", + "-h", server_keyfile, + "-f", "/dev/null", + "-o", "ListenAddress=localhost", + "-o", "PidFile=none", + "-o", "AuthenticationMethods=publickey", + "-o", "StrictModes=no", + "-o", "Subsystem=sftp internal-sftp", + "-o", "AuthorizedKeysFile={}".format(auth_keys_file)] + for port in range(SSHD_PORT_INITIAL, SSHD_PORT_LAST + 1): + cmd = daemon_cmd + ["-p", "{}".format(port)] + self.logfile.write( + "> starting sshd with '{}'\n".format(" ".join(cmd))) + try: + self.daemon = pexpect.spawn(cmd[0], cmd[1:], logfile=self.logfile, + encoding='utf-8') + except pexpect.exceptions.ExceptionPexpect as e: + self.logfile.write("> {} - skipping\n".format(e)) + raise SkipTest(str(e)) + + ret = self.daemon.expect([ + # Success + "Server listening on .* port {}.".format(port), + # Failure + "Cannot bind any address."]) + if ret == 0: + self.port = port + return + raise SystemError("Could not find a free port to run sshd") + + def stop(self): + if self.daemon is None: + return + self.daemon.terminate(force=True) + + +def generate_keys_server(builddir, logfile): + """Generate keys required to run an OpenSSH Daemon.""" + keyfile = os.path.join(builddir, SSHD_KEY) + if os.path.exists(keyfile): + logfile.write("> SSH server key already exists '{}'".format(keyfile)) + return + + hostdir = os.path.join(builddir, SSHD_HOST_DIR) + keydir = os.path.join(builddir, SSHD_KEY_DIR) + os.makedirs(hostdir, exist_ok=True) + os.makedirs(keydir, exist_ok=True) + + cmd = ["ssh-keygen", "-A", "-f", hostdir] + logfile.write( + "> generating SSH server keys with '{}'\n".format(" ".join(cmd))) + # When ssh-keygen fails to create an SSH server key it doesn't return a + # useful error code. So use check for an error message in the output + # instead. + try: + out = subprocess.check_output(cmd, encoding='utf-8') + except FileNotFoundError: + logfile.write("> ssh-keygen not found - skipping\n") + raise SkipTest("ssh-keygen not found") + + logfile.write(out) + if "Could not save your public key" in out: + raise SystemError("Could not generate SSH server keys") + + +def generate_keys_client(builddir, logfile): + """Generate keys required to log into an OpenSSH Daemon via SCP or SFTP.""" + keyfile = os.path.join(builddir, SSH_CLIENT_KEY) + if os.path.exists(keyfile): + logfile.write("> SSH client key already exists '{}'".format(keyfile)) + return + + keydir = os.path.join(builddir, SSH_CLIENT_KEY_DIR) + os.makedirs(keydir, exist_ok=True) + + cmd = ["ssh-keygen", + "-f", keyfile, + "-b", "2048", + "-t", "rsa", + "-N", "", + "-q"] + logfile.write( + "> generating SSH client keys with '{}'\n".format(" ".join(cmd))) + try: + subprocess.check_call(cmd, stdout=logfile, stderr=logfile) + except FileNotFoundError: + logfile.write("> ssh-keygen not found - skipping\n") + raise SkipTest("ssh-keygen not found") + + # Allow key-based login for this user (so that we can fetch from localhost) + pubkeyfile = os.path.join(keydir, "{}.pub".format(keyfile)) + authfile = os.path.join(keydir, "authorized_keys") + shutil.copy(pubkeyfile, authfile) + + +def generate_keys(builddir, logtofile): + logfile = infra.open_log_file(builddir, "ssh-keygen", logtofile) + generate_keys_server(builddir, logfile) + generate_keys_client(builddir, logfile) diff --git a/buildroot-2022.02.1/support/testing/tests/download/sshd/ssh-test-1.0.tar.xz b/buildroot-2022.02.1/support/testing/tests/download/sshd/ssh-test-1.0.tar.xz new file mode 100644 index 00000000..bd83d0af Binary files /dev/null and b/buildroot-2022.02.1/support/testing/tests/download/sshd/ssh-test-1.0.tar.xz differ diff --git a/buildroot-2021.05/support/testing/tests/download/test_git.py b/buildroot-2022.02.1/support/testing/tests/download/test_git.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/download/test_git.py rename to buildroot-2022.02.1/support/testing/tests/download/test_git.py diff --git a/buildroot-2022.02.1/support/testing/tests/download/test_gitforge.py b/buildroot-2022.02.1/support/testing/tests/download/test_gitforge.py new file mode 100644 index 00000000..e1ac35ec --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/test_gitforge.py @@ -0,0 +1,49 @@ +import os +import shutil + +import infra + + +class GitforgeTestBase(infra.basetest.BRConfigTest): + config = \ + """ + BR2_BACKUP_SITE="" + """ + + def setUp(self): + super(GitforgeTestBase, self).setUp() + + def tearDown(self): + self.show_msg("Cleaning up") + if self.b and not self.keepbuilds: + self.b.delete() + + def check_download(self, package): + # store downloaded tarball inside the output dir so the test infra + # cleans it up at the end + dl_dir = os.path.join(self.builddir, "dl") + # enforce we test the download + if os.path.exists(dl_dir): + shutil.rmtree(dl_dir) + env = {"BR2_DL_DIR": dl_dir} + self.b.build(["{}-dirclean".format(package), + "{}-legal-info".format(package)], + env) + + +class TestGitHub(GitforgeTestBase): + br2_external = [infra.filepath("tests/download/br2-external/github")] + + def test_run(self): + self.check_download("github-helper-tag") + self.check_download("github-helper-hash") + self.check_download("github-release") + + +class TestGitLab(GitforgeTestBase): + br2_external = [infra.filepath("tests/download/br2-external/gitlab")] + + def test_run(self): + self.check_download("gitlab-helper-hash") + self.check_download("gitlab-helper-tag") + self.check_download("gitlab-release") diff --git a/buildroot-2022.02.1/support/testing/tests/download/test_ssh.py b/buildroot-2022.02.1/support/testing/tests/download/test_ssh.py new file mode 100644 index 00000000..126002a3 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/download/test_ssh.py @@ -0,0 +1,62 @@ +import os +import shutil + +import tests.download.sshd + +import infra + + +class SSHTestBase(infra.basetest.BRConfigTest): + config = infra.basetest.MINIMAL_CONFIG + ''' +BR2_BACKUP_SITE="" +''' + sshd_test_dir = infra.filepath("tests/download/sshd") + sshd = None + + def setUp(self): + super(SSHTestBase, self).setUp() + + self.show_msg("Generating keys") + tests.download.sshd.generate_keys(self.builddir, self.logtofile) + + self.show_msg("Starting sshd") + self.sshd = tests.download.sshd.OpenSSHDaemon(self.builddir, + self.logtofile) + + def tearDown(self): + self.show_msg("Stopping sshd") + if self.sshd: + self.sshd.stop() + super(SSHTestBase, self).tearDown() + + def download_package(self, package): + self.show_msg("Downloading {}".format(package)) + # store downloaded tarball inside the output dir so the test infra + # cleans it up at the end + dl_dir = os.path.join(self.builddir, "dl") + ssh_identity = os.path.join(self.builddir, + tests.download.sshd.SSH_CLIENT_KEY) + # enforce that we test the download + if os.path.exists(dl_dir): + shutil.rmtree(dl_dir) + env = {"BR2_DL_DIR": dl_dir, + "SSHD_PORT_NUMBER": str(self.sshd.port), + "SSHD_TEST_DIR": self.sshd_test_dir, + "SSH_IDENTITY": ssh_identity} + self.b.build(["{}-dirclean".format(package), + "{}-source".format(package)], + env) + + +class TestSCP(SSHTestBase): + br2_external = [infra.filepath("tests/download/br2-external/ssh")] + + def test_run(self): + self.download_package("scp") + + +class TestSFTP(SSHTestBase): + br2_external = [infra.filepath("tests/download/br2-external/ssh")] + + def test_run(self): + self.download_package("sftp") diff --git a/buildroot-2021.05/support/testing/tests/toolchain/__init__.py b/buildroot-2022.02.1/support/testing/tests/fs/__init__.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/toolchain/__init__.py rename to buildroot-2022.02.1/support/testing/tests/fs/__init__.py diff --git a/buildroot-2022.02.1/support/testing/tests/fs/test_ext.py b/buildroot-2022.02.1/support/testing/tests/fs/test_ext.py new file mode 100644 index 00000000..699f3ed9 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/fs/test_ext.py @@ -0,0 +1,124 @@ +import os + +import infra.basetest + +VOLNAME_PROP = "Filesystem volume name" +REVISION_PROP = "Filesystem revision #" +FEATURES_PROP = "Filesystem features" +BLOCKCNT_PROP = "Block count" +INODECNT_PROP = "Inode count" +RESBLKCNT_PROP = "Reserved block count" + +CHECK_FS_TYPE_CMD = "mount | grep '/dev/root on / type {}'" + + +def dumpe2fs_run(builddir, image): + cmd = ["host/sbin/dumpe2fs", os.path.join("images", image)] + ret = infra.run_cmd_on_host(builddir, cmd) + return ret.strip().splitlines() + + +def dumpe2fs_getprop(out, prop): + for line in out: + fields = line.split(": ") + if fields[0] == prop: + return fields[1].strip() + + +def boot_img_and_check_fs_type(emulator, builddir, fs_type): + img = os.path.join(builddir, "images", "rootfs.{}".format(fs_type)) + emulator.boot(arch="armv7", + kernel="builtin", + kernel_cmdline=["root=/dev/mmcblk0", + "rootfstype={}".format(fs_type)], + options=["-drive", "file={},if=sd,format=raw".format(img)]) + emulator.login() + _, exit_code = emulator.run(CHECK_FS_TYPE_CMD.format(fs_type)) + return exit_code + + +class TestExt2(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_2r0=y + BR2_TARGET_ROOTFS_EXT2_LABEL="foobaz" + BR2_TARGET_ROOTFS_EXT2_SIZE="16384" + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + out = dumpe2fs_run(self.builddir, "rootfs.ext2") + self.assertEqual(dumpe2fs_getprop(out, VOLNAME_PROP), "foobaz") + self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "0 (original)") + + exit_code = boot_img_and_check_fs_type(self.emulator, + self.builddir, "ext2") + self.assertEqual(exit_code, 0) + + +class TestExt2r1(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_2r1=y + BR2_TARGET_ROOTFS_EXT2_LABEL="foobar" + BR2_TARGET_ROOTFS_EXT2_SIZE="16384" + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + out = dumpe2fs_run(self.builddir, "rootfs.ext2") + self.assertEqual(dumpe2fs_getprop(out, VOLNAME_PROP), "foobar") + self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "1 (dynamic)") + self.assertNotIn("has_journal", dumpe2fs_getprop(out, FEATURES_PROP)) + + exit_code = boot_img_and_check_fs_type(self.emulator, + self.builddir, "ext2") + self.assertEqual(exit_code, 0) + + +class TestExt3(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_3=y + BR2_TARGET_ROOTFS_EXT2_SIZE="16384" + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + out = dumpe2fs_run(self.builddir, "rootfs.ext3") + self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "1 (dynamic)") + self.assertIn("has_journal", dumpe2fs_getprop(out, FEATURES_PROP)) + self.assertNotIn("extent", dumpe2fs_getprop(out, FEATURES_PROP)) + + exit_code = boot_img_and_check_fs_type(self.emulator, + self.builddir, "ext3") + self.assertEqual(exit_code, 0) + + +class TestExt4(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_4=y + BR2_TARGET_ROOTFS_EXT2_SIZE="16384" + BR2_TARGET_ROOTFS_EXT2_INODES=3000 + BR2_TARGET_ROOTFS_EXT2_RESBLKS=10 + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + out = dumpe2fs_run(self.builddir, "rootfs.ext4") + self.assertEqual(dumpe2fs_getprop(out, REVISION_PROP), "1 (dynamic)") + self.assertEqual(dumpe2fs_getprop(out, BLOCKCNT_PROP), "16384") + # Yes there are 8 fewer inodes than requested + self.assertEqual(dumpe2fs_getprop(out, INODECNT_PROP), "2992") + self.assertEqual(dumpe2fs_getprop(out, RESBLKCNT_PROP), "1638") + self.assertIn("has_journal", dumpe2fs_getprop(out, FEATURES_PROP)) + self.assertIn("extent", dumpe2fs_getprop(out, FEATURES_PROP)) + + exit_code = boot_img_and_check_fs_type(self.emulator, + self.builddir, "ext4") + self.assertEqual(exit_code, 0) diff --git a/buildroot-2022.02.1/support/testing/tests/fs/test_f2fs.py b/buildroot-2022.02.1/support/testing/tests/fs/test_f2fs.py new file mode 100644 index 00000000..2d05a864 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/fs/test_f2fs.py @@ -0,0 +1,47 @@ +import os + +import infra.basetest + + +def dumpf2fs_getprop(out, prop): + for line in out: + fields = line.split(" = ") + if fields[0] == prop: + return fields[1].strip() + + +class TestF2FS(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_F2FS=y + BR2_TARGET_ROOTFS_F2FS_SIZE="128M" + BR2_TARGET_ROOTFS_F2FS_OVERPROVISION=0 + BR2_TARGET_ROOTFS_F2FS_DISCARD=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" + BR2_LINUX_KERNEL_USE_DEFCONFIG=y + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" + """.format(infra.filepath("conf/f2fs-kernel-fragment.config")) + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.f2fs") + out = infra.run_cmd_on_host(self.builddir, ["host/sbin/dump.f2fs", img]) + out = out.splitlines() + prop = dumpf2fs_getprop(out, "Info: total sectors") + self.assertEqual(prop, "262144 (128 MB)") + + kernel = os.path.join(self.builddir, "images", "zImage") + kernel_cmdline = ["root=/dev/mmcblk0", "rootfstype=f2fs", + "console=ttyAMA0"] + dtb = infra.download(self.downloaddir, "vexpress-v2p-ca9.dtb") + options = ["-M", "vexpress-a9", "-dtb", dtb, + "-drive", "file={},if=sd,format=raw".format(img)] + self.emulator.boot(arch="armv7", kernel=kernel, + kernel_cmdline=kernel_cmdline, + options=options) + self.emulator.login() + cmd = "mount | grep '/dev/root on / type f2fs'" + self.assertRunOk(cmd) diff --git a/buildroot-2022.02.1/support/testing/tests/fs/test_iso9660.py b/buildroot-2022.02.1/support/testing/tests/fs/test_iso9660.py new file mode 100644 index 00000000..69229126 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/fs/test_iso9660.py @@ -0,0 +1,236 @@ +import os + +import infra.basetest + +BASIC_CONFIG = \ + """ + BR2_x86_pentium4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y + BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y + BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-i386-pentium4-full-2017.05-1078-g95b1dae.tar.bz2" + BR2_TOOLCHAIN_EXTERNAL_GCC_6=y + BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2=y + BR2_TOOLCHAIN_EXTERNAL_LOCALE=y + # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set + BR2_TOOLCHAIN_EXTERNAL_CXX=y + BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="{}" + # BR2_TARGET_ROOTFS_TAR is not set + """.format(infra.filepath("conf/minimal-x86-qemu-kernel.config")) + + +def test_mount_internal_external(emulator, builddir, internal=True, efi=False): + img = os.path.join(builddir, "images", "rootfs.iso9660") + if efi: + efi_img = os.path.join(builddir, "images", "OVMF.fd") + emulator.boot(arch="i386", options=["-cdrom", img, "-bios", efi_img]) + else: + emulator.boot(arch="i386", options=["-cdrom", img]) + emulator.login() + + if internal: + cmd = "mount | grep 'rootfs on / type rootfs'" + else: + cmd = "mount | grep '/dev/root on / type iso9660'" + + _, exit_code = emulator.run(cmd) + return exit_code + + +def test_touch_file(emulator): + _, exit_code = emulator.run("touch test") + return exit_code + +# +# Grub 2 + + +class TestIso9660Grub2External(infra.basetest.BRTest): + config = BASIC_CONFIG + \ + """ + BR2_TARGET_ROOTFS_ISO9660=y + # BR2_TARGET_ROOTFS_ISO9660_INITRD is not set + BR2_TARGET_GRUB2=y + BR2_TARGET_GRUB2_BOOT_PARTITION="cd" + BR2_TARGET_GRUB2_BUILTIN_MODULES_PC="boot linux ext2 fat part_msdos part_gpt normal biosdisk iso9660" + BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" + """.format(infra.filepath("conf/grub2.cfg")) + + def test_run(self): + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=False) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 1) + + +class TestIso9660Grub2ExternalCompress(infra.basetest.BRTest): + config = BASIC_CONFIG + \ + """ + BR2_TARGET_ROOTFS_ISO9660=y + # BR2_TARGET_ROOTFS_ISO9660_INITRD is not set + BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION=y + BR2_TARGET_GRUB2=y + BR2_TARGET_GRUB2_BOOT_PARTITION="cd" + BR2_TARGET_GRUB2_BUILTIN_MODULES_PC="boot linux ext2 fat part_msdos part_gpt normal biosdisk iso9660" + BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" + """.format(infra.filepath("conf/grub2.cfg")) + + def test_run(self): + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=False) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 1) + + +class TestIso9660Grub2Internal(infra.basetest.BRTest): + config = BASIC_CONFIG + \ + """ + BR2_TARGET_ROOTFS_ISO9660=y + BR2_TARGET_ROOTFS_ISO9660_INITRD=y + BR2_TARGET_GRUB2=y + BR2_TARGET_GRUB2_BOOT_PARTITION="cd" + BR2_TARGET_GRUB2_BUILTIN_MODULES_PC="boot linux ext2 fat part_msdos part_gpt normal biosdisk iso9660" + BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" + """.format(infra.filepath("conf/grub2.cfg")) + + def test_run(self): + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=True) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 0) + + +class TestIso9660Grub2EFI(infra.basetest.BRTest): + config = BASIC_CONFIG + \ + """ + BR2_TARGET_ROOTFS_ISO9660=y + BR2_TARGET_ROOTFS_ISO9660_INITRD=y + BR2_TARGET_GRUB2=y + BR2_TARGET_GRUB2_I386_EFI=y + BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI="boot linux ext2 fat part_msdos part_gpt normal iso9660" + BR2_TARGET_GRUB2_BUILTIN_CONFIG_EFI="{}" + BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" + BR2_TARGET_EDK2=y + """.format(infra.filepath("conf/grub2-efi.cfg"), + infra.filepath("conf/grub2.cfg")) + + def test_run(self): + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=True, + efi=True) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 0) + + +class TestIso9660Grub2Hybrid(infra.basetest.BRTest): + config = BASIC_CONFIG + \ + """ + BR2_TARGET_ROOTFS_ISO9660=y + BR2_TARGET_ROOTFS_ISO9660_INITRD=y + BR2_TARGET_GRUB2=y + BR2_TARGET_GRUB2_I386_PC=y + BR2_TARGET_GRUB2_I386_EFI=y + BR2_TARGET_GRUB2_BOOT_PARTITION="cd" + BR2_TARGET_GRUB2_BUILTIN_MODULES_PC="boot linux ext2 fat squash4 part_msdos part_gpt normal iso9660 biosdisk" + BR2_TARGET_GRUB2_BUILTIN_CONFIG_PC="" + BR2_TARGET_GRUB2_BUILTIN_MODULES_EFI="boot linux ext2 fat squash4 part_msdos part_gpt normal iso9660 efi_gop" + BR2_TARGET_GRUB2_BUILTIN_CONFIG_EFI="{}" + BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" + BR2_TARGET_EDK2=y + """.format(infra.filepath("conf/grub2-efi.cfg"), + infra.filepath("conf/grub2.cfg")) + + def test_run(self): + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=True, + efi=False) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 0) + + self.emulator.stop() + + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=True, + efi=True) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 0) + + +# +# Syslinux + + +class TestIso9660SyslinuxExternal(infra.basetest.BRTest): + config = BASIC_CONFIG + \ + """ + BR2_TARGET_ROOTFS_ISO9660=y + # BR2_TARGET_ROOTFS_ISO9660_INITRD is not set + BR2_TARGET_ROOTFS_ISO9660_HYBRID=y + BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" + BR2_TARGET_SYSLINUX=y + """.format(infra.filepath("conf/isolinux.cfg")) + + def test_run(self): + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=False) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 1) + + +class TestIso9660SyslinuxExternalCompress(infra.basetest.BRTest): + config = BASIC_CONFIG + \ + """ + BR2_TARGET_ROOTFS_ISO9660=y + # BR2_TARGET_ROOTFS_ISO9660_INITRD is not set + BR2_TARGET_ROOTFS_ISO9660_TRANSPARENT_COMPRESSION=y + BR2_TARGET_ROOTFS_ISO9660_HYBRID=y + BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" + BR2_TARGET_SYSLINUX=y + """.format(infra.filepath("conf/isolinux.cfg")) + + def test_run(self): + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=False) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 1) + + +class TestIso9660SyslinuxInternal(infra.basetest.BRTest): + config = BASIC_CONFIG + \ + """ + BR2_TARGET_ROOTFS_ISO9660=y + BR2_TARGET_ROOTFS_ISO9660_INITRD=y + BR2_TARGET_ROOTFS_ISO9660_HYBRID=y + BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}" + BR2_TARGET_SYSLINUX=y + """.format(infra.filepath("conf/isolinux.cfg")) + + def test_run(self): + exit_code = test_mount_internal_external(self.emulator, + self.builddir, internal=True) + self.assertEqual(exit_code, 0) + + exit_code = test_touch_file(self.emulator) + self.assertEqual(exit_code, 0) diff --git a/buildroot-2022.02.1/support/testing/tests/fs/test_jffs2.py b/buildroot-2022.02.1/support/testing/tests/fs/test_jffs2.py new file mode 100644 index 00000000..1806bd7e --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/fs/test_jffs2.py @@ -0,0 +1,44 @@ +import os + +import infra.basetest + + +def jffs2dump_find_file(files_list, fname): + for file_name in files_list: + file_name = file_name.strip() + if file_name.startswith("Dirent") and file_name.endswith(fname): + return True + return False + + +class TestJffs2(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_JFFS2=y + BR2_TARGET_ROOTFS_JFFS2_CUSTOM=y + BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE=0x40000 + BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER=y + BR2_TARGET_ROOTFS_JFFS2_PAD=y + BR2_TARGET_ROOTFS_JFFS2_PADSIZE=0x4000000 + # BR2_TARGET_ROOTFS_TAR is not set + """ + + # TODO: there are some scary JFFS2 messages when one starts to + # write files in the rootfs: "jffs2: Newly-erased block contained + # word 0x0 at offset 0x046c0000". To be investigated. + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.jffs2") + cmd = ["host/sbin/jffs2dump", "-c", img] + out = infra.run_cmd_on_host(self.builddir, cmd) + out = out.splitlines() + self.assertTrue(jffs2dump_find_file(out, "busybox")) + + self.emulator.boot(arch="armv7", + kernel="builtin", + kernel_cmdline=["root=/dev/mtdblock0", + "rootfstype=jffs2"], + options=["-drive", "file={},if=pflash".format(img)]) + self.emulator.login() + cmd = "mount | grep '/dev/root on / type jffs2'" + self.assertRunOk(cmd) diff --git a/buildroot-2022.02.1/support/testing/tests/fs/test_oci.py b/buildroot-2022.02.1/support/testing/tests/fs/test_oci.py new file mode 100644 index 00000000..347332f3 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/fs/test_oci.py @@ -0,0 +1,57 @@ +import os +import shutil +import infra.basetest + + +class TestOci(infra.basetest.BRTest): + config = \ + """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.61" + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/aarch64-virt/linux.config" + BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y + BR2_PACKAGE_CGROUPFS_MOUNT=y + BR2_PACKAGE_CONTAINERD=y + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_SIZE="600M" + BR2_TARGET_ROOTFS_OCI=y + BR2_TARGET_ROOTFS_OCI_ENTRYPOINT="df" + BR2_TARGET_ROOTFS_OCI_ENTRYPOINT_ARGS="-h" + BR2_TARGET_ROOTFS_OCI_ARCHIVE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def login(self): + rootfs = os.path.join(self.builddir, "images", "rootfs.ext2") + kern = os.path.join(self.builddir, "images", "Image") + self.emulator.boot(arch="aarch64", + kernel=kern, + kernel_cmdline=["root=/dev/vda", "console=ttyAMA0"], + options=["-M", "virt", + "-cpu", "cortex-a57", + "-m", "512M", + "-drive", "file={},format=raw,if=virtio".format(rootfs)]) + self.emulator.login() + + def place_test_oci(self): + shutil.copy(os.path.join(self.builddir, 'images', 'rootfs-oci-latest-arm64-linux.oci-image.tar'), + os.path.join(self.builddir, 'target', 'oci.tar')) + # rebuild to make sure oci.tar ends up in rootfs.ext2 + self.b.build() + + def test_run(self): + self.place_test_oci() + self.login() + + cmd = "containerd &" + self.assertRunOk(cmd) + + cmd = "ctr image import --base-name buildroot-test /oci.tar" + self.assertRunOk(cmd, timeout=120) + + cmd = "ctr run --rm --tty buildroot-test:latest v1" + self.assertRunOk(cmd, timeout=120) diff --git a/buildroot-2022.02.1/support/testing/tests/fs/test_squashfs.py b/buildroot-2022.02.1/support/testing/tests/fs/test_squashfs.py new file mode 100644 index 00000000..a914f5aa --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/fs/test_squashfs.py @@ -0,0 +1,33 @@ +import os + +import infra.basetest + + +class TestSquashfs(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_SQUASHFS=y + BR2_TARGET_ROOTFS_SQUASHFS4_LZO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + unsquashfs_cmd = ["host/bin/unsquashfs", "-s", "images/rootfs.squashfs"] + out = infra.run_cmd_on_host(self.builddir, unsquashfs_cmd) + out = out.splitlines() + self.assertEqual(out[0], + "Found a valid SQUASHFS 4:0 superblock on images/rootfs.squashfs.") + self.assertEqual(out[3], "Compression lzo") + + img = os.path.join(self.builddir, "images", "rootfs.squashfs") + infra.img_round_power2(img) + + self.emulator.boot(arch="armv7", + kernel="builtin", + kernel_cmdline=["root=/dev/mmcblk0", + "rootfstype=squashfs"], + options=["-drive", "file={},if=sd,format=raw".format(img)]) + self.emulator.login() + + cmd = "mount | grep '/dev/root on / type squashfs'" + self.assertRunOk(cmd) diff --git a/buildroot-2022.02.1/support/testing/tests/fs/test_ubi.py b/buildroot-2022.02.1/support/testing/tests/fs/test_ubi.py new file mode 100644 index 00000000..564a436d --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/fs/test_ubi.py @@ -0,0 +1,38 @@ +import subprocess +import os + +import infra.basetest + + +class TestUbi(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_UBIFS=y + BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x3ff80 + BR2_TARGET_ROOTFS_UBIFS_MINIOSIZE=0x1 + BR2_TARGET_ROOTFS_UBI=y + BR2_TARGET_ROOTFS_UBI_PEBSIZE=0x40000 + BR2_TARGET_ROOTFS_UBI_SUBSIZE=1 + BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG=y + BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE="{}" + """.format( + infra.filepath("tests/fs/test_ubi/ubinize_qemu_pflash_cfi01.cfg")) + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.ubi") + out = infra.run_cmd_on_host(self.builddir, ["file", img]) + out = out.splitlines() + self.assertIn("UBI image, version 1", out[0]) + + subprocess.call(["truncate", "-s 64M", img]) + + self.emulator.boot(arch="armv7", + kernel="builtin", + kernel_cmdline=["root=ubi0:rootfs", + "ubi.mtd=0", + "rootfstype=ubifs"], + options=["-drive", "file={},if=pflash,format=raw".format(img)]) + self.emulator.login() + cmd = "mount | grep 'ubi0:rootfs on / type ubifs'" + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) diff --git a/buildroot-2022.02.1/support/testing/tests/fs/test_ubi/ubinize_qemu_pflash_cfi01.cfg b/buildroot-2022.02.1/support/testing/tests/fs/test_ubi/ubinize_qemu_pflash_cfi01.cfg new file mode 100644 index 00000000..52dd5f00 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/fs/test_ubi/ubinize_qemu_pflash_cfi01.cfg @@ -0,0 +1,8 @@ +[ubifs] +mode=ubi +vol_id=0 +vol_type=static +vol_name=rootfs +vol_alignment=1 +vol_size=64MiB +image=BR2_ROOTFS_UBIFS_PATH diff --git a/buildroot-2021.05/support/testing/tests/fs/test_yaffs2.py b/buildroot-2022.02.1/support/testing/tests/fs/test_yaffs2.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/fs/test_yaffs2.py rename to buildroot-2022.02.1/support/testing/tests/fs/test_yaffs2.py diff --git a/buildroot-2021.05/support/testing/tests/utils/__init__.py b/buildroot-2022.02.1/support/testing/tests/init/__init__.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/utils/__init__.py rename to buildroot-2022.02.1/support/testing/tests/init/__init__.py diff --git a/buildroot-2022.02.1/support/testing/tests/init/base.py b/buildroot-2022.02.1/support/testing/tests/init/base.py new file mode 100644 index 00000000..7f12186b --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/init/base.py @@ -0,0 +1,46 @@ +import os +import infra.basetest + + +class InitSystemBase(infra.basetest.BRTest): + + def start_emulator(self, fs_type, kernel=None, dtb=None, init=None): + img = os.path.join(self.builddir, "images", "rootfs.{}".format(fs_type)) + infra.img_round_power2(img) + + options = ["-drive", + "file={},if=sd,format=raw".format(img), + "-M", "vexpress-a9"] + + if kernel is None: + kernel = "builtin" + else: + kernel = os.path.join(self.builddir, "images", kernel) + options.extend(["-dtb", os.path.join(self.builddir, "images", + "{}.dtb".format(dtb))]) + + kernel_cmdline = ["root=/dev/mmcblk0", + "rootfstype={}".format(fs_type), + "rootwait", + "ro", + "console=ttyAMA0"] + + if init is not None: + kernel_cmdline.extend(["init={}".format(init)]) + + self.emulator.boot(arch="armv7", + kernel=kernel, + kernel_cmdline=kernel_cmdline, + options=options) + + if init is None: + self.emulator.login() + + def check_init(self, path): + cmd = "cmp /proc/1/exe {}".format(path) + self.assertRunOk(cmd) + + def check_network(self, interface, exitCode=0): + cmd = "ip addr show {} |grep inet".format(interface) + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, exitCode) diff --git a/buildroot-2021.05/support/testing/tests/init/systemd-factory/var/foo/bar b/buildroot-2022.02.1/support/testing/tests/init/systemd-factory/var/foo/bar similarity index 100% rename from buildroot-2021.05/support/testing/tests/init/systemd-factory/var/foo/bar rename to buildroot-2022.02.1/support/testing/tests/init/systemd-factory/var/foo/bar diff --git a/buildroot-2021.05/support/testing/tests/init/test_busybox.py b/buildroot-2022.02.1/support/testing/tests/init/test_busybox.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/init/test_busybox.py rename to buildroot-2022.02.1/support/testing/tests/init/test_busybox.py diff --git a/buildroot-2022.02.1/support/testing/tests/init/test_none.py b/buildroot-2022.02.1/support/testing/tests/init/test_none.py new file mode 100644 index 00000000..fc4a46ef --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/init/test_none.py @@ -0,0 +1,32 @@ +import pexpect + +import infra.basetest +from tests.init.base import InitSystemBase as InitSystemBase + + +class TestInitSystemNone(InitSystemBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_INIT_NONE=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_TARGET_ROOTFS_SQUASHFS=y + """ + + def test_run(self): + self.start_emulator(fs_type="squashfs", init="/bin/sh") + index = self.emulator.qemu.expect(["/bin/sh: can't access tty; job control turned off", pexpect.TIMEOUT], timeout=60) + if index != 0: + self.emulator.logfile.write("==> System does not boot") + raise SystemError("System does not boot") + index = self.emulator.qemu.expect(["#", pexpect.TIMEOUT], timeout=60) + if index != 0: + self.emulator.logfile.write("==> System does not boot") + raise SystemError("System does not boot") + + out, exit_code = self.emulator.run("sh -c 'echo $PPID'") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "1") + + self.assertRunOk("mount -t proc none /proc") + + self.check_init("/bin/sh") diff --git a/buildroot-2022.02.1/support/testing/tests/init/test_openrc.py b/buildroot-2022.02.1/support/testing/tests/init/test_openrc.py new file mode 100644 index 00000000..c6ade767 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/init/test_openrc.py @@ -0,0 +1,46 @@ +from tests.init.base import InitSystemBase as InitSystemBase + + +class InitSystemOpenrcBase(InitSystemBase): + config = \ + """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_INIT_OPENRC=y + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def check_init(self): + super(InitSystemOpenrcBase, self).check_init('/sbin/openrc-init') + + # Test all services are OK + output, _ = self.emulator.run("rc-status -c") + self.assertEqual(len(output), 0) + + +class TestInitSystemOpenrcRoFull(InitSystemOpenrcBase): + config = InitSystemOpenrcBase.config + \ + """ + BR2_SYSTEM_DHCP="eth0" + # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set + BR2_TARGET_ROOTFS_SQUASHFS=y + """ + + def test_run(self): + self.start_emulator("squashfs") + self.check_init() + + +class TestInitSystemOpenrcRwFull(InitSystemOpenrcBase): + config = InitSystemOpenrcBase.config + \ + """ + BR2_SYSTEM_DHCP="eth0" + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + self.start_emulator("ext2") + self.check_init() diff --git a/buildroot-2022.02.1/support/testing/tests/init/test_systemd.py b/buildroot-2022.02.1/support/testing/tests/init/test_systemd.py new file mode 100644 index 00000000..f0cc52ba --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/init/test_systemd.py @@ -0,0 +1,160 @@ +import infra.basetest +from tests.init.base import InitSystemBase as InitSystemBase + + +class InitSystemSystemdBase(InitSystemBase): + config = \ + """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_INIT_SYSTEMD=y + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + # BR2_TARGET_ROOTFS_TAR is not set + """.format(infra.filepath("conf/binfmt-misc-kernel-fragment.config")) + + def check_init(self): + super(InitSystemSystemdBase, self).check_init("/lib/systemd/systemd") + + # Test all units are OK + output, _ = self.emulator.run("systemctl --no-pager --failed --no-legend") + self.assertEqual(len(output), 0) + + # Test we can reach the DBus daemon + self.assertRunOk("busctl --no-pager") + + # Test we can read at least one line from the journal + output, _ = self.emulator.run("journalctl --no-pager --lines 1 --quiet") + self.assertEqual(len(output), 1) + + +class TestInitSystemSystemdRoNetworkd(InitSystemSystemdBase): + config = InitSystemSystemdBase.config + \ + """ + BR2_SYSTEM_DHCP="eth0" + # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set + BR2_ROOTFS_OVERLAY="{}" + BR2_TARGET_ROOTFS_SQUASHFS=y + """.format(infra.filepath("tests/init/systemd-factory")) + + def test_run(self): + self.start_emulator("squashfs", "zImage", "vexpress-v2p-ca9") + self.check_init() + self.check_network("eth0") + + # This one must be executed on the target, to check that + # the factory feature works as expected + out, exit_code = self.emulator.run("cat /var/foo/bar") + self.assertEqual(exit_code, 0) + self.assertEqual(out[0], "foobar") + + +class TestInitSystemSystemdRwNetworkd(InitSystemSystemdBase): + config = InitSystemSystemdBase.config + \ + """ + BR2_SYSTEM_DHCP="eth0" + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + self.start_emulator("ext2", "zImage", "vexpress-v2p-ca9") + self.check_init() + self.check_network("eth0") + + +class TestInitSystemSystemdRoIfupdown(InitSystemSystemdBase): + config = InitSystemSystemdBase.config + \ + """ + BR2_SYSTEM_DHCP="eth0" + # BR2_PACKAGE_SYSTEMD_NETWORKD is not set + # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set + BR2_TARGET_ROOTFS_SQUASHFS=y + """ + + def test_run(self): + self.start_emulator("squashfs", "zImage", "vexpress-v2p-ca9") + self.check_init() + self.check_network("eth0") + + +class TestInitSystemSystemdRwIfupdown(InitSystemSystemdBase): + config = InitSystemSystemdBase.config + \ + """ + BR2_SYSTEM_DHCP="eth0" + # BR2_PACKAGE_SYSTEMD_NETWORKD is not set + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + self.start_emulator("ext2", "zImage", "vexpress-v2p-ca9") + self.check_init() + self.check_network("eth0") + + +class TestInitSystemSystemdRoFull(InitSystemSystemdBase): + config = InitSystemSystemdBase.config + \ + """ + BR2_SYSTEM_DHCP="eth0" + # BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set + BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE=y + BR2_PACKAGE_SYSTEMD_BACKLIGHT=y + BR2_PACKAGE_SYSTEMD_BINFMT=y + BR2_PACKAGE_SYSTEMD_COREDUMP=y + BR2_PACKAGE_SYSTEMD_FIRSTBOOT=y + BR2_PACKAGE_SYSTEMD_HIBERNATE=y + BR2_PACKAGE_SYSTEMD_IMPORTD=y + BR2_PACKAGE_SYSTEMD_LOCALED=y + BR2_PACKAGE_SYSTEMD_LOGIND=y + BR2_PACKAGE_SYSTEMD_MACHINED=y + BR2_PACKAGE_SYSTEMD_POLKIT=y + BR2_PACKAGE_SYSTEMD_QUOTACHECK=y + BR2_PACKAGE_SYSTEMD_RANDOMSEED=y + BR2_PACKAGE_SYSTEMD_RFKILL=y + BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT=y + BR2_PACKAGE_SYSTEMD_SYSUSERS=y + BR2_PACKAGE_SYSTEMD_VCONSOLE=y + BR2_TARGET_ROOTFS_SQUASHFS=y + """ + + def test_run(self): + self.start_emulator("squashfs", "zImage", "vexpress-v2p-ca9") + self.check_init() + self.check_network("eth0") + + +class TestInitSystemSystemdRwFull(InitSystemSystemdBase): + config = InitSystemSystemdBase.config + \ + """ + BR2_SYSTEM_DHCP="eth0" + BR2_PACKAGE_SYSTEMD_JOURNAL_REMOTE=y + BR2_PACKAGE_SYSTEMD_BACKLIGHT=y + BR2_PACKAGE_SYSTEMD_BINFMT=y + BR2_PACKAGE_SYSTEMD_COREDUMP=y + BR2_PACKAGE_SYSTEMD_FIRSTBOOT=y + BR2_PACKAGE_SYSTEMD_HIBERNATE=y + BR2_PACKAGE_SYSTEMD_IMPORTD=y + BR2_PACKAGE_SYSTEMD_LOCALED=y + BR2_PACKAGE_SYSTEMD_LOGIND=y + BR2_PACKAGE_SYSTEMD_MACHINED=y + BR2_PACKAGE_SYSTEMD_POLKIT=y + BR2_PACKAGE_SYSTEMD_QUOTACHECK=y + BR2_PACKAGE_SYSTEMD_RANDOMSEED=y + BR2_PACKAGE_SYSTEMD_RFKILL=y + BR2_PACKAGE_SYSTEMD_SMACK_SUPPORT=y + BR2_PACKAGE_SYSTEMD_SYSUSERS=y + BR2_PACKAGE_SYSTEMD_VCONSOLE=y + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + self.start_emulator("ext2", "zImage", "vexpress-v2p-ca9") + self.check_init() + self.check_network("eth0") diff --git a/buildroot-2021.05/support/testing/tests/init/test_systemd_selinux.py b/buildroot-2022.02.1/support/testing/tests/init/test_systemd_selinux.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/init/test_systemd_selinux.py rename to buildroot-2022.02.1/support/testing/tests/init/test_systemd_selinux.py diff --git a/buildroot-2021.05/support/testing/tests/init/test_systemd_selinux/linux-squashfs.fragment b/buildroot-2022.02.1/support/testing/tests/init/test_systemd_selinux/linux-squashfs.fragment similarity index 100% rename from buildroot-2021.05/support/testing/tests/init/test_systemd_selinux/linux-squashfs.fragment rename to buildroot-2022.02.1/support/testing/tests/init/test_systemd_selinux/linux-squashfs.fragment diff --git a/buildroot-2021.05/utils/checkpackagelib/__init__.py b/buildroot-2022.02.1/support/testing/tests/package/__init__.py similarity index 100% rename from buildroot-2021.05/utils/checkpackagelib/__init__.py rename to buildroot-2022.02.1/support/testing/tests/package/__init__.py diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/Config.in b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/Config.in rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/Config.in diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/external.desc b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/external.desc similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/external.desc rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/external.desc diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/external.mk b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/external.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/external.mk rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/external.mk diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/Config.in b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/Config.in rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/Config.in diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/HelloWorld.java b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/HelloWorld.java similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/HelloWorld.java rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/HelloWorld.java diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/openjdk-hello-world.mk b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/openjdk-hello-world.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/openjdk-hello-world.mk rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-hello-world/openjdk-hello-world.mk diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/Config.in b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/Config.in rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/Config.in diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniHelper.java b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniHelper.java similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniHelper.java rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniHelper.java diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniTest.java b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniTest.java similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniTest.java rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniTest.java diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.c b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.c similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.c rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.c diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.java b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.java similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.java rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/JniWrapper.java diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.c b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.c similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.c rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.c diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.h b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.h similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.h rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/jni_helper.h diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.c b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.c similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.c rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.c diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.h b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.h similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.h rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/native.h diff --git a/buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/openjdk-jni-test.mk b/buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/openjdk-jni-test.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/openjdk-jni-test.mk rename to buildroot-2022.02.1/support/testing/tests/package/br2-external/openjdk/package/openjdk-jni-test/openjdk-jni-test.mk diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/Config.in b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/Config.in new file mode 100644 index 00000000..2d117561 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/Config.in @@ -0,0 +1 @@ +source "$BR2_EXTERNAL_POLKIT_PATH/package/polkit-rules-test/Config.in" diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/external.desc b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/external.desc new file mode 100644 index 00000000..ecef4869 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/external.desc @@ -0,0 +1 @@ +name: POLKIT diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/external.mk b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/external.mk new file mode 100644 index 00000000..64e369cc --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/external.mk @@ -0,0 +1 @@ +include $(sort $(wildcard $(BR2_EXTERNAL_POLKIT_PATH)/package/*/*.mk)) diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/Config.in b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/Config.in new file mode 100644 index 00000000..0fe125ec --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_POLKIT_RULES_TEST + bool "polkit rules test" + depends on BR2_PACKAGE_POLKIT + help + Simple test to ensure polkit is loading and enforcing rules + correctly. diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.c b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.c new file mode 100644 index 00000000..cf5343cd --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.c @@ -0,0 +1,6 @@ +#include + +int main(void){ + printf("Hello polkit!\n"); + return 0; +} diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.policy b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.policy new file mode 100644 index 00000000..82202931 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.policy @@ -0,0 +1,14 @@ + + + + + Authentication is required to run the hello world test program + + no + no + + /usr/bin/hello-polkit + + diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.rules b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.rules new file mode 100644 index 00000000..a0a66f64 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/initd/hello-polkit.rules @@ -0,0 +1,6 @@ +polkit.addRule(function(action, subject) { + if (action.id == "org.freedesktop.policykit.pkexec.hello-polkit" && + subject.user == "brtest") { + return polkit.Result.YES; + } +}); diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/polkit-rules-test.mk b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/polkit-rules-test.mk new file mode 100644 index 00000000..4ec3805e --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/polkit-rules-test.mk @@ -0,0 +1,38 @@ +################################################################################ +# +# polkit-rules-test +# +################################################################################ + +POLKIT_RULES_TEST_DEPENDENCIES = polkit + +define POLKIT_RULES_TEST_USERS + brtest -1 brtest -1 =password /home/brtest /bin/sh brtest +endef + +define POLKIT_RULES_TEST_BUILD_CMDS + $(INSTALL) -D $(POLKIT_RULES_TEST_PKGDIR)/initd/hello-polkit.c $(@D)/hello-polkit.c + $(TARGET_CC) $(@D)/hello-polkit.c -o $(@D)/hello-polkit +endef + +# Install the rules file to /root. Test_polkit.py first tests that restarting +# timesyncd as a user fails, then moves the rules file and confirmes restarting +# timesyncd as a user succeeds. +define POLKIT_RULES_TEST_INSTALL_INIT_SYSTEMD + mkdir -p $(TARGET_DIR)/etc/polkit-1/rules.d + $(INSTALL) -D $(POLKIT_RULES_TEST_PKGDIR)/systemd/systemd-timesyncd-restart.rules \ + $(TARGET_DIR)/root/systemd-timesyncd-restart.rules +endef + +define POLKIT_RULES_TEST_INSTALL_INIT_SYSV + mkdir -p $(TARGET_DIR)/usr/share/polkit-1/actions/ + $(INSTALL) -D $(@D)/hello-polkit $(TARGET_DIR)/usr/bin/hello-polkit + + $(INSTALL) -D $(POLKIT_RULES_TEST_PKGDIR)/initd/hello-polkit.policy \ + $(TARGET_DIR)/usr/share/polkit-1/actions/hello-polkit.policy + + $(INSTALL) -D $(POLKIT_RULES_TEST_PKGDIR)/initd/hello-polkit.rules \ + $(TARGET_DIR)/root/hello-polkit.rules +endef + +$(eval $(generic-package)) diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/systemd/systemd-timesyncd-restart.rules b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/systemd/systemd-timesyncd-restart.rules new file mode 100644 index 00000000..94611950 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/polkit/package/polkit-rules-test/systemd/systemd-timesyncd-restart.rules @@ -0,0 +1,7 @@ +polkit.addRule(function(action, subject) { + if (action.id == "org.freedesktop.systemd1.manage-units" && + action.lookup("unit") == "systemd-timesyncd.service" && + subject.user == "brtest") { + return polkit.Result.YES; + } +}); diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/Config.in b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/Config.in new file mode 100644 index 00000000..70c77157 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/Config.in @@ -0,0 +1 @@ +source "$BR2_EXTERNAL_PYTHON_PYBIND_PATH/package/python-pybind-example/Config.in" diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/external.desc b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/external.desc new file mode 100644 index 00000000..eef5e0f5 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/external.desc @@ -0,0 +1 @@ +name: PYTHON_PYBIND diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/external.mk b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/external.mk new file mode 100644 index 00000000..3501f313 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/external.mk @@ -0,0 +1 @@ +include $(sort $(wildcard $(BR2_EXTERNAL_PYTHON_PYBIND_PATH)/package/*/*.mk)) diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/Config.in b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/Config.in new file mode 100644 index 00000000..1b4d1e0d --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_PYBIND_EXAMPLE + bool "python-pybind-example" + depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_PYBIND + help + This test creates a cpp macro later used on target in python diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/example.cpp b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/example.cpp new file mode 100644 index 00000000..f2eea8e4 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/example.cpp @@ -0,0 +1,16 @@ +#include +namespace py = pybind11; + +int add (int i, int j) { + return i + j; +} + +PYBIND11_MODULE (example, m) { + // optional module description + m.doc() = "pybind11 example plugin"; + // test a module method + m.def("add", &add, "example::add adds two integer numbers"); + // test a module attribute + py::object hello = py::cast("Hello World"); + m.attr("says") = hello; +} diff --git a/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/python-pybind-example.mk b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/python-pybind-example.mk new file mode 100644 index 00000000..a6d7e0da --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/br2-external/python-pybind/package/python-pybind-example/python-pybind-example.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# python-pybind-example +# +################################################################################ + +# this builds a C++ macro "add(a,b)" +# that we expose to host-python with a custom install +# and that the python test script will later use +PYTHON_PYBIND_EXAMPLE_DEPENDENCIES = python-pybind + +PYTHON_PYBIND_EXAMPLE_PYBIND_INCLUDE = \ + $(shell $(HOST_DIR)/usr/bin/python3 -c 'import pybind11; print(pybind11.get_include())') + +PYTHON_PYBIND_EXAMPLE_CXX_FLAGS = \ + $(TARGET_CXXFLAGS) \ + -Wall -shared -std=c++11 -fPIC \ + -I$(PYTHON_PYBIND_EXAMPLE_PYBIND_INCLUDE) \ + $(shell $(STAGING_DIR)/usr/bin/python3-config --includes --libs --ldflags) + +# .so to be installed must have exact suffix +# otherwise import() in python will not work +HOST_LIB_BINARY_SUFFIX = \ + $(shell $(STAGING_DIR)/usr/bin/python3-config --extension-suffix) + +define PYTHON_PYBIND_EXAMPLE_BUILD_CMDS + if [ -z "$(PYTHON_PYBIND_EXAMPLE_PYBIND_INCLUDE)" ]; then \ + echo "pybind11.get_include() returned empty"; \ + exit 1; \ + fi + $(TARGET_CXX) $(PYTHON_PYBIND_EXAMPLE_CXX_FLAGS) \ + $(PYTHON_PYBIND_EXAMPLE_PKGDIR)/example.cpp \ + -o $(@D)/example$(HOST_LIB_BINARY_SUFFIX) +endef + +define PYTHON_PYBIND_EXAMPLE_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 755 $(@D)/example$(HOST_LIB_BINARY_SUFFIX) \ + $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/example$(HOST_LIB_BINARY_SUFFIX) +endef + +$(eval $(generic-package)) diff --git a/buildroot-2021.05/support/testing/tests/package/copy-sample-script-to-target.sh b/buildroot-2022.02.1/support/testing/tests/package/copy-sample-script-to-target.sh similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/copy-sample-script-to-target.sh rename to buildroot-2022.02.1/support/testing/tests/package/copy-sample-script-to-target.sh diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_bmap_tools.sh b/buildroot-2022.02.1/support/testing/tests/package/sample_bmap_tools.sh new file mode 100755 index 00000000..08605b3b --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_bmap_tools.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# simple test which creates a dummy file system image, then use bmaptool create +# and bmaptool copy to copy it to another file + +set -xeu + +# create the necessary test files +dd if=/dev/zero of=disk.img bs=2M count=1 +mkfs.ext4 disk.img +fallocate -d disk.img +dd if=/dev/zero of=copy.img bs=2M count=1 + +# do a test copy of the file system image +bmaptool create -o disk.img.bmap disk.img +bmaptool copy disk.img copy.img +cmp disk.img copy.img diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_gst1_python.py b/buildroot-2022.02.1/support/testing/tests/package/sample_gst1_python.py new file mode 100644 index 00000000..2d7e0e1e --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_gst1_python.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python3 +"""A simple test that uses gst1-python to run a fake videotestsrc for 100 +frames +""" +import sys +import gi +gi.require_version('Gst', '1.0') +from gi.repository import Gst, GLib # noqa: E402 + + +def on_message(bus, message, loop): + print('Received Gst.Message.type: {}'.format(message.type)) + if message.type == Gst.MessageType.EOS: + loop.quit() + return True + + +def main(): + # Initializes Gstreamer + Gst.init(sys.argv) + pipeline = Gst.parse_launch("videotestsrc num-buffers=100 ! fakevideosink") + bus = pipeline.get_bus() + bus.add_signal_watch() + pipeline.set_state(Gst.State.PLAYING) + loop = GLib.MainLoop() + bus.connect("message", on_message, loop) + loop.run() + pipeline.set_state(Gst.State.NULL) + + +if __name__ == '__main__': + main() diff --git a/buildroot-2021.05/support/testing/tests/package/sample_libftdi1.py b/buildroot-2022.02.1/support/testing/tests/package/sample_libftdi1.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_libftdi1.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_libftdi1.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_aexpect.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_aexpect.py new file mode 100644 index 00000000..a31a17bd --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_aexpect.py @@ -0,0 +1 @@ +import aexpect diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_argh.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_argh.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_argh.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_argh.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_attrs.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_attrs.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_attrs.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_attrs.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_augeas.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_augeas.py new file mode 100644 index 00000000..d62afa56 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_augeas.py @@ -0,0 +1,9 @@ +import augeas + +a = augeas.Augeas(root="/") +hosts = a.match("/files/etc/hosts/*") +assert(hosts is not None) +assert(len(hosts) == 2) + +assert(a.get("/files/etc/hosts/1/ipaddr") == "127.0.0.1") +assert(a.get("/files/etc/hosts/1/canonical") == "localhost") diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_autobahn.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_autobahn.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_autobahn.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_autobahn.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_automat.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_automat.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_automat.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_automat.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_avro.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_avro.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_avro.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_avro.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_bitstring.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_bitstring.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_bitstring.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_bitstring.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_boto3.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_boto3.py new file mode 100644 index 00000000..e69efc78 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_boto3.py @@ -0,0 +1,2 @@ +import boto3 +s3 = boto3.resource('s3') diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_botocore.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_botocore.py new file mode 100644 index 00000000..cc405598 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_botocore.py @@ -0,0 +1,3 @@ +import botocore.session +session = botocore.session.get_session() +client = session.create_client('ec2', region_name="us-east-1") diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_can.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_can.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_can.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_can.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_cbor_dec.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_cbor_dec.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_cbor_dec.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_cbor_dec.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_cbor_enc.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_cbor_enc.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_cbor_enc.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_cbor_enc.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_click.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_click.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_click.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_click.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_colorzero.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_colorzero.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_colorzero.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_colorzero.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_constantly.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_constantly.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_constantly.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_constantly.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_crossbar.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_crossbar.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_crossbar.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_crossbar.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_cryptography.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_cryptography.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_cryptography.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_cryptography.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_dbus_next.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_dbus_next.py new file mode 100644 index 00000000..710bfa8c --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_dbus_next.py @@ -0,0 +1,44 @@ +import asyncio +from dbus_next.aio import MessageBus +from dbus_next.service import ServiceInterface, method +import dbus_next.introspection as intr +from dbus_next import BusType + + +class SampleInterface(ServiceInterface): + def __init__(self): + super().__init__('test.interface') + + @method() + def Ping(self): + pass + + @method() + def ConcatStrings(self, what1: 's', what2: 's') -> 's': # noqa: F821 + return what1 + what2 + + +async def main(): + bus_name = 'dbus.next.sample' + + bus = await MessageBus(bus_type=BusType.SYSTEM).connect() + bus2 = await MessageBus(bus_type=BusType.SYSTEM).connect() + + await bus.request_name(bus_name) + + service_interface = SampleInterface() + bus.export('/test/path', service_interface) + + introspection = await bus2.introspect(bus_name, '/test/path') + assert type(introspection) is intr.Node + obj = bus2.get_proxy_object(bus_name, '/test/path', introspection) + interface = obj.get_interface(service_interface.name) + + result = await interface.call_ping() + assert result is None + + result = await interface.call_concat_strings('hello ', 'world') + assert result == 'hello world' + + +asyncio.run(main()) diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_distro.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_distro.py new file mode 100644 index 00000000..b31f1297 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_distro.py @@ -0,0 +1,4 @@ +import distro + +assert(distro.name() == 'Buildroot') +assert(distro.id() == 'buildroot') diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_django.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_django.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_django.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_django.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_flask.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_flask.py new file mode 100644 index 00000000..a7941a94 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_flask.py @@ -0,0 +1,7 @@ +from flask import Flask +app = Flask(__name__) + + +@app.route('/') +def hello_world(): + return 'Hello, World!' diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_flask_expects_json.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_flask_expects_json.py new file mode 100644 index 00000000..d45026dd --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_flask_expects_json.py @@ -0,0 +1,18 @@ +from flask import Flask +from flask_expects_json import expects_json +app = Flask(__name__) + +schema = { + 'type': 'object', + 'properties': { + 'name': {'type': 'string'}, + 'email': {'type': 'string'}, + }, + 'required': ['name', 'email'] +} + + +@app.route('/', methods=['POST']) +@expects_json(schema) +def hello_world(): + return 'Hello, World!' diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_git.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_git.py new file mode 100644 index 00000000..fa9ff230 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_git.py @@ -0,0 +1 @@ +from git import * # noqa diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_gitdb2.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_gitdb2.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_gitdb2.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_gitdb2.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_gnupg.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_gnupg.py new file mode 100644 index 00000000..b5b718a8 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_gnupg.py @@ -0,0 +1,24 @@ +import gnupg + +gpg = gnupg.GPG(verbose=True) + +plain_data = "Some plain text data" +good_passphrase = "Good Passphrase" + +# Test Encrypt +result = gpg.encrypt(plain_data, None, passphrase=good_passphrase, symmetric=True) +assert(result.returncode == 0) +enc_data = str(result) +assert(enc_data != plain_data) + +# Test Good Decrypt +result = gpg.decrypt(enc_data, passphrase=good_passphrase) +assert(result.returncode == 0) +dec_data = str(result) +assert(dec_data == plain_data) + +# Test Bad Decrypt +result = gpg.decrypt(enc_data, passphrase='A Wrong Passphrase') +assert(result.returncode != 0) +dec_data = str(result) +assert(dec_data != plain_data) diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_gobject.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_gobject.py new file mode 100644 index 00000000..4490a736 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_gobject.py @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 +"""A simple test that uses python-gobject to find the path of sh.""" +from gi.repository import GLib + + +def main(): + sh_path = GLib.find_program_in_path('sh') + if sh_path == "/bin/sh": + return True + return False + + +if __name__ == '__main__': + main() diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_gpiozero.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_gpiozero.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_gpiozero.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_gpiozero.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_incremental.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_incremental.py new file mode 100644 index 00000000..efab8b20 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_incremental.py @@ -0,0 +1,3 @@ +import incremental +v = incremental.Version("package", 1, 2, 3, release_candidate=4) +assert(str(v) == "[package, version 1.2.3.rc4]") diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_iptables.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_iptables.py new file mode 100644 index 00000000..a3091cab --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_iptables.py @@ -0,0 +1 @@ +import iptc diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_passlib.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_passlib.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_passlib.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_passlib.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_pexpect.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pexpect.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_pexpect.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_pexpect.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_pybind.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pybind.py new file mode 100644 index 00000000..605c0bab --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pybind.py @@ -0,0 +1,4 @@ +#!/usr/bin/env python +import example +print(example.add(1, 2)) +print(example.says) diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_pynacl.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pynacl.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_pynacl.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_pynacl.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_pytest.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pytest.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_pytest.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_pytest.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_pytest_asyncio.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pytest_asyncio.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_pytest_asyncio.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_pytest_asyncio.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_pyyaml_dec.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pyyaml_dec.py new file mode 100644 index 00000000..bb90934f --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pyyaml_dec.py @@ -0,0 +1,10 @@ +import yaml + +with open("/tmp/data.yml", "rb") as f: + serialized = f.read() +data = yaml.safe_load(serialized) +print(data) +assert(data["name"] == "python-pyyaml") +assert(data["versions"] == ["1", "2"]) +assert(data["group"]["is_a_package"] is True) +assert(data["group"]["value"] == 42) diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_pyyaml_enc.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_pyyaml_enc.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_pyyaml_enc.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_pyyaml_enc.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_rpi_gpio.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_rpi_gpio.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_rpi_gpio.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_rpi_gpio.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_rsa.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_rsa.py new file mode 100644 index 00000000..6f246f4d --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_rsa.py @@ -0,0 +1,2 @@ +import rsa +(pubkey, privkey) = rsa.newkeys(512) diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_service_identity.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_service_identity.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_service_identity.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_service_identity.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_smmap2.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_smmap2.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_smmap2.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_smmap2.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_treq.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_treq.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_treq.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_treq.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_twisted.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_twisted.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_twisted.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_twisted.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_txaio_asyncio.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_txaio_asyncio.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_txaio_asyncio.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_txaio_asyncio.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_txaio_twisted.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_txaio_twisted.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_txaio_twisted.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_txaio_twisted.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_txtorcon.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_txtorcon.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_txtorcon.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_txtorcon.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_ubjson_dec.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_ubjson_dec.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_ubjson_dec.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_ubjson_dec.py diff --git a/buildroot-2021.05/support/testing/tests/package/sample_python_ubjson_enc.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_ubjson_enc.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/sample_python_ubjson_enc.py rename to buildroot-2022.02.1/support/testing/tests/package/sample_python_ubjson_enc.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/sample_python_unittest_xml_reporting.py b/buildroot-2022.02.1/support/testing/tests/package/sample_python_unittest_xml_reporting.py new file mode 100644 index 00000000..cfef4df2 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/sample_python_unittest_xml_reporting.py @@ -0,0 +1,11 @@ +import unittest +import xmlrunner + + +class Test1(unittest.TestCase): + def test_something(self): + self.assertTrue(True) + + +if __name__ == '__main__': + unittest.main(testRunner=xmlrunner.XMLTestRunner(output='test-reports')) diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_atop.py b/buildroot-2022.02.1/support/testing/tests/package/test_atop.py new file mode 100644 index 00000000..5a966847 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_atop.py @@ -0,0 +1,39 @@ +import os + +import infra.basetest + +BASIC_TOOLCHAIN_CONFIG_HEADERS_AT_LEAST_3_14 = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y + BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y + BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2019.05.1.tar.bz2" + BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y + BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y + BR2_TOOLCHAIN_EXTERNAL_LOCALE=y + # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set + BR2_TOOLCHAIN_EXTERNAL_CXX=y + """ + + +class TestAtop(infra.basetest.BRTest): + config = BASIC_TOOLCHAIN_CONFIG_HEADERS_AT_LEAST_3_14 + \ + """ + BR2_PACKAGE_ATOP=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + cmd = "atop -V | grep '^Version'" + self.assertRunOk(cmd) + + cmd = "atop -a 1 2 | grep '% *atop *$'" + self.assertRunOk(cmd) diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_bmap_tools.py b/buildroot-2022.02.1/support/testing/tests/package/test_bmap_tools.py new file mode 100644 index 00000000..a1790276 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_bmap_tools.py @@ -0,0 +1,84 @@ +import os +import infra +import subprocess + +from infra.basetest import BRTest + + +class TestBmapTools(BRTest): + __test__ = False + sample_script = "tests/package/sample_bmap_tools.sh" + copy_script = 'tests/package/copy-sample-script-to-target.sh' + config = \ + """ + BR2_arm=y + BR2_cortex_a8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_BMAP_TOOLS=y + BR2_ROOTFS_POST_BUILD_SCRIPT="{}" + BR2_ROOTFS_POST_SCRIPT_ARGS="{}" + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_4=y + BR2_TARGET_ROOTFS_EXT2_SIZE="65536" + # BR2_TARGET_ROOTFS_TAR is not set + BR2_PACKAGE_UTIL_LINUX=y + BR2_PACKAGE_UTIL_LINUX_FALLOCATE=y + BR2_PACKAGE_E2FSPROGS=y + BR2_PACKAGE_UTIL_LINUX_LIBUUID=y + """.format(infra.filepath(copy_script), + infra.filepath(sample_script)) + timeout = 60 + + def login(self): + img = os.path.join(self.builddir, "images", "rootfs.ext4") + self.emulator.boot(arch="armv7", + kernel="builtin", + kernel_cmdline=["root=/dev/mmcblk0", + "rootfstype=ext4"], + options=["-drive", "file={},if=sd,format=raw".format(img)]) + self.emulator.login() + + def test_run(self): + self.login() + cmd = "/root/{}".format(os.path.basename(self.sample_script)) + self.assertRunOk(cmd, timeout=20) + + +class TestPy3BmapTools(TestBmapTools): + __test__ = True + config = TestBmapTools.config + \ + """ + BR2_PACKAGE_PYTHON3=y + """ + + +class TestHostBmapTools(BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_HOST_BMAP_TOOLS=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_TARGET_ROOTFS_EXT2=y + """ + + def test_run(self): + bmap_x = os.path.join(self.b.builddir, "host", "bin", "bmaptool") + src_f = os.path.join(self.b.builddir, "images", "rootfs.ext2") + dst_f = os.path.join(self.b.builddir, "images", "rootfs.ext2.copy") + map_f = os.path.join(self.b.builddir, "images", "rootfs.ext2.bmap") + + ret = subprocess.call([bmap_x, "create", "-o", map_f, src_f], + stdout=self.b.logfile, + stderr=self.b.logfile) + self.assertEqual(ret, 0) + + ret = subprocess.call([bmap_x, "copy", src_f, dst_f], + stdout=self.b.logfile, + stderr=self.b.logfile) + self.assertEqual(ret, 0) + + with open(src_f, 'rb') as f: + src = f.read() + with open(dst_f, 'rb') as f: + dst = f.read() + self.assertEqual(src, dst) diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_crudini.py b/buildroot-2022.02.1/support/testing/tests/package/test_crudini.py new file mode 100644 index 00000000..470a714e --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_crudini.py @@ -0,0 +1,41 @@ +import os +from tests.package.test_python import TestPythonPackageBase + + +INI_FILE_CONTENT = """ +[section] +param = this-is-the-magic-value +other = dont care +""" + + +class TestCrudiniBase(TestPythonPackageBase): + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_CRUDINI=y + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", kernel="builtin", + options=["-initrd", img]) + + self.emulator.login() + + # 1. Create some sample .ini file + cmd = "echo -e '%s' > config.ini" % INI_FILE_CONTENT + _, ret = self.emulator.run(cmd) + self.assertEqual(ret, 0) + + # 2. Attempt to get the value + out, ret = self.emulator.run("crudini --get config.ini section param") + self.assertEqual(ret, 0) + self.assertEqual(out, ['this-is-the-magic-value']) + + +class TestCrudiniPy3(TestCrudiniBase): + __test__ = True + config = TestCrudiniBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + """ diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_docker_compose.py b/buildroot-2022.02.1/support/testing/tests/package/test_docker_compose.py new file mode 100644 index 00000000..1ce132c2 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_docker_compose.py @@ -0,0 +1,64 @@ +import os + +import infra.basetest + + +class TestDockerCompose(infra.basetest.BRTest): + config = \ + """ + BR2_x86_64=y + BR2_x86_corei7=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y + BR2_SYSTEM_DHCP="eth0" + BR2_ROOTFS_POST_BUILD_SCRIPT="{}" + BR2_ROOTFS_POST_SCRIPT_ARGS="{}" + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="{}" + BR2_PACKAGE_CA_CERTIFICATES=y + BR2_PACKAGE_DOCKER_CLI=y + BR2_PACKAGE_DOCKER_COMPOSE=y + BR2_PACKAGE_DOCKER_ENGINE=y + BR2_TARGET_ROOTFS_EXT2=y + BR2_TARGET_ROOTFS_EXT2_SIZE="512M" + # BR2_TARGET_ROOTFS_TAR is not set + """.format( + infra.filepath("tests/package/copy-sample-script-to-target.sh"), + infra.filepath("conf/docker-compose.yml"), + infra.filepath("conf/docker-compose-kernel.config")) + + def wait_for_dockerd(self): + # dockerd takes a while to start up + _, _ = self.emulator.run('while [ ! -e /var/run/docker.sock ]; do sleep 1; done', 120) + + def docker_test(self): + # will download container if not available, which may take some time + self.assertRunOk('docker run --rm -p 8888:8888 busybox:latest /bin/true', 120) + + def docker_compose_test(self): + # will download container if not available, which may take some time + self.assertRunOk('docker-compose up -d', 120) + # container may take some time to start + self.assertRunOk('while ! docker inspect root_busybox_1 2>&1 >/dev/null; do sleep 1; done', 120) + self.assertRunOk('wget -O /tmp/busybox http://127.0.0.1/busybox', 120) + self.assertRunOk('cmp /bin/busybox /tmp/busybox', 120) + + def test_run(self): + kernel = os.path.join(self.builddir, "images", "bzImage") + rootfs = os.path.join(self.builddir, "images", "rootfs.ext2") + self.emulator.boot(arch="x86_64", + kernel=kernel, + kernel_cmdline=["root=/dev/vda", "console=ttyS0"], + options=["-cpu", "Nehalem", + "-m", "512M", + "-device", "virtio-rng-pci", + "-drive", "file={},format=raw,if=virtio".format(rootfs), + "-net", "nic,model=virtio", + "-net", "user"]) + self.emulator.login() + self.wait_for_dockerd() + self.docker_test() + self.docker_compose_test() diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_dropbear.py b/buildroot-2022.02.1/support/testing/tests/package/test_dropbear.py new file mode 100644 index 00000000..2dd90702 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_dropbear.py @@ -0,0 +1,30 @@ +import os + +import infra.basetest + + +class TestDropbear(infra.basetest.BRTest): + passwd = "testpwd" + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_GENERIC_ROOT_PASSWD="{}" + BR2_SYSTEM_DHCP="eth0" + BR2_PACKAGE_DROPBEAR=y + BR2_PACKAGE_SSHPASS=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """.format(passwd) + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img, + "-net", "nic", + "-net", "user"]) + self.emulator.login(self.passwd) + cmd = "netstat -ltn 2>/dev/null | grep 0.0.0.0:22" + self.assertRunOk(cmd) + + cmd = "sshpass -p {} ssh -y localhost /bin/true".format(self.passwd) + self.assertRunOk(cmd) diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_dtbocfg.py b/buildroot-2022.02.1/support/testing/tests/package/test_dtbocfg.py new file mode 100644 index 00000000..d25b1692 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_dtbocfg.py @@ -0,0 +1,37 @@ +import os + +import infra.basetest + + +class TestDtbocfg(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.7" + BR2_LINUX_KERNEL_USE_DEFCONFIG=y + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_PACKAGE_DTBOCFG=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + kernel = os.path.join(self.builddir, "images", "zImage") + kernel_cmdline = ["console=ttyAMA0"] + dtb = infra.download(self.downloaddir, "vexpress-v2p-ca9.dtb") + options = ["-M", "vexpress-a9", "-dtb", dtb, "-initrd", img] + + self.emulator.boot(arch="armv7", kernel=kernel, + kernel_cmdline=kernel_cmdline, + options=options) + self.emulator.login() + self.assertRunOk("modprobe dtbocfg.ko") + self.assertRunOk("mkdir /tmp/config && mount -t configfs none /tmp/config") + + # Check that overlays directory is present. + # From dtbocfg site (https://github.com/ikwzm/dtbocfg): + # If /config/device-tree/overlays is created, it is ready to use + # dtbocfg + self.assertRunOk("ls /tmp/config/device-tree/overlays/") diff --git a/buildroot-2021.05/support/testing/tests/package/test_execline.py b/buildroot-2022.02.1/support/testing/tests/package/test_execline.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_execline.py rename to buildroot-2022.02.1/support/testing/tests/package/test_execline.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_gdb.py b/buildroot-2022.02.1/support/testing/tests/package/test_gdb.py new file mode 100644 index 00000000..a7b08706 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_gdb.py @@ -0,0 +1,215 @@ +import os +import infra.basetest + + +class BaseGdb(infra.basetest.BRTest): + def verify_host_gdb(self, prefix="arm-linux"): + cmd = ["host/bin/%s-gdb" % prefix, "--version"] + # We don't check the return value, as it automatically raises + # an exception if the command returns with a non-zero value + infra.run_cmd_on_host(self.builddir, cmd) + + def boot(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img, + "-net", "nic", + "-net", "user"]) + self.emulator.login() + + def verify_gdbserver(self): + cmd = "gdbserver --version" + self.assertRunOk(cmd) + + def verify_gdb(self): + cmd = "gdb --version" + self.assertRunOk(cmd) + + +class TestGdbHostOnlyDefault(BaseGdb): + config = \ + infra.basetest.MINIMAL_CONFIG + \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_HOST_GDB=y + """ + + def test_run(self): + self.verify_host_gdb() + + +class TestGdbHostOnlyAllFeatures(BaseGdb): + config = \ + infra.basetest.MINIMAL_CONFIG + \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_HOST_GDB=y + BR2_PACKAGE_HOST_GDB_TUI=y + BR2_PACKAGE_HOST_GDB_PYTHON3=y + BR2_PACKAGE_HOST_GDB_SIM=y + """ + + def test_run(self): + self.verify_host_gdb() + + +class TestGdbserverOnly(BaseGdb): + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_GDB=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + self.boot() + self.verify_gdbserver() + + +class TestGdbFullTarget(BaseGdb): + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_GDB=y + BR2_PACKAGE_GDB_DEBUGGER=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + self.boot() + self.verify_gdb() + + +class TestGdbHostOnly9x(BaseGdb): + config = \ + infra.basetest.MINIMAL_CONFIG + \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_HOST_GDB=y + BR2_GDB_VERSION_9_2=y + """ + + def test_run(self): + self.verify_host_gdb() + + +class TestGdbHostGdbserver9x(BaseGdb): + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_HOST_GDB=y + BR2_GDB_VERSION_9_2=y + BR2_PACKAGE_GDB=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + self.verify_host_gdb() + self.boot() + self.verify_gdbserver() + + +class TestGdbHostGdbTarget9x(BaseGdb): + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_HOST_GDB=y + BR2_GDB_VERSION_9_2=y + BR2_PACKAGE_GDB=y + BR2_PACKAGE_GDB_DEBUGGER=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + self.verify_host_gdb() + self.boot() + self.verify_gdb() + + +class TestGdbHostOnly11x(BaseGdb): + config = \ + infra.basetest.MINIMAL_CONFIG + \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_HOST_GDB=y + BR2_GDB_VERSION_11=y + """ + + def test_run(self): + self.verify_host_gdb() + + +class TestGdbHostGdbserver11x(BaseGdb): + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_HOST_GDB=y + BR2_GDB_VERSION_11=y + BR2_PACKAGE_GDB=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + self.verify_host_gdb() + self.boot() + self.verify_gdbserver() + + +class TestGdbHostGdbTarget11x(BaseGdb): + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_HOST_GDB=y + BR2_GDB_VERSION_11=y + BR2_PACKAGE_GDB=y + BR2_PACKAGE_GDB_DEBUGGER=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + self.verify_host_gdb() + self.boot() + self.verify_gdb() + + +class TestGdbArc(BaseGdb): + config = \ + """ + BR2_arcle=y + BR2_archs4x_rel31=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_PACKAGE_HOST_GDB=y + BR2_PACKAGE_GDB=y + BR2_PACKAGE_GDB_SERVER=y + BR2_PACKAGE_GDB_DEBUGGER=y + """ + + def test_run(self): + self.verify_host_gdb("arc-linux") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_glxinfo.py b/buildroot-2022.02.1/support/testing/tests/package/test_glxinfo.py new file mode 100644 index 00000000..79be5966 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_glxinfo.py @@ -0,0 +1,64 @@ +import os + +import infra.basetest + +GLXINFO_TIMEOUT = 120 + + +class TestGlxinfo(infra.basetest.BRTest): + config = \ + """ + BR2_x86_core2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y + BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y + BR2_TOOLCHAIN_EXTERNAL_URL="http://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--glibc--bleeding-edge-2018.11-1.tar.bz2" + BR2_TOOLCHAIN_EXTERNAL_GCC_8=y + BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y + BR2_TOOLCHAIN_EXTERNAL_CXX=y + BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux.config" + BR2_PACKAGE_MESA3D_DEMOS=y + BR2_PACKAGE_MESA3D=y + BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y + BR2_PACKAGE_MESA3D_OPENGL_GLX=y + BR2_PACKAGE_XORG7=y + BR2_PACKAGE_XSERVER_XORG_SERVER=y + BR2_TARGET_GENERIC_GETTY_PORT="ttyS0" + BR2_TARGET_ROOTFS_EXT2=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_ROOTFS_OVERLAY="{}" + """.format( + infra.filepath("tests/package/test_glxinfo/rootfs-overlay")) + + def wait_for_xserver(self): + # xserver takes some time to start up + # The test case fail here if for some reason xserver is not properly installed + _, _ = self.emulator.run('while [ ! -e /var/run/xorg.pid ]; do sleep 1; done', 120) + + def login(self): + img = os.path.join(self.builddir, "images", "rootfs.ext2") + kern = os.path.join(self.builddir, "images", "bzImage") + # glxinfo overallocate memory and the minimum that seemed to work was 512MB + self.emulator.boot(arch="i386", + kernel=kern, + kernel_cmdline=["root=/dev/vda console=ttyS0"], + options=["-M", "pc", "-m", "512", "-drive", "file={},if=virtio,format=raw".format(img)]) + self.emulator.login() + + def test_run(self): + self.login() + self.wait_for_xserver() + + # The test case verifies that the xserver with GLX is working + cmd = "glxinfo -B -display :0" + output, exit_code = self.emulator.run(cmd, GLXINFO_TIMEOUT) + self.assertEqual(exit_code, 0) + for line in output: + self.assertNotIn("Error", line) + # Error case: "Error: couldn't find RGB GLX visual or fbconfig" diff --git a/buildroot-2021.05/support/testing/tests/package/test_glxinfo/rootfs-overlay/etc/X11/xorg.conf.d/01-modules.conf b/buildroot-2022.02.1/support/testing/tests/package/test_glxinfo/rootfs-overlay/etc/X11/xorg.conf.d/01-modules.conf similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_glxinfo/rootfs-overlay/etc/X11/xorg.conf.d/01-modules.conf rename to buildroot-2022.02.1/support/testing/tests/package/test_glxinfo/rootfs-overlay/etc/X11/xorg.conf.d/01-modules.conf diff --git a/buildroot-2021.05/support/testing/tests/package/test_gst1_python.py b/buildroot-2022.02.1/support/testing/tests/package/test_gst1_python.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_gst1_python.py rename to buildroot-2022.02.1/support/testing/tests/package/test_gst1_python.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_ipython.py b/buildroot-2022.02.1/support/testing/tests/package/test_ipython.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_ipython.py rename to buildroot-2022.02.1/support/testing/tests/package/test_ipython.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_libftdi1.py b/buildroot-2022.02.1/support/testing/tests/package/test_libftdi1.py new file mode 100644 index 00000000..5c29dea0 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_libftdi1.py @@ -0,0 +1,13 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Libftdi1(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_LIBFTDI1=y + BR2_PACKAGE_LIBFTDI1_PYTHON_BINDINGS=y + """ + sample_scripts = ["tests/package/sample_libftdi1.py"] + timeout = 40 diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_libshdata.py b/buildroot-2022.02.1/support/testing/tests/package/test_libshdata.py new file mode 100644 index 00000000..80b032ac --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_libshdata.py @@ -0,0 +1,25 @@ +import os + +import infra.basetest + + +class TestLibshdata(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_LIBSHDATA=y + BR2_PACKAGE_LIBSHDATA_STRESS=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + # Just run libshdata-stress. + # This ensures that library are well compiled and that all dependencies + # are met using Parrot Alchemy build system. + self.assertRunOk("libshdata-stress") diff --git a/buildroot-2021.05/support/testing/tests/package/test_lpeg.py b/buildroot-2022.02.1/support/testing/tests/package/test_lpeg.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lpeg.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lpeg.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_lsqlite3.py b/buildroot-2022.02.1/support/testing/tests/package/test_lsqlite3.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lsqlite3.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lsqlite3.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lua.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua.py new file mode 100644 index 00000000..9703dffb --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lua.py @@ -0,0 +1,58 @@ +import os + +import infra.basetest + + +class TestLuaBase(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def login(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + def version_test(self, version): + cmd = "lua -v" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) + self.assertIn(version, output[0]) + + def g_version_test(self, expected): + cmd = "lua -e 'print(_G._VERSION)'" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], expected) + + def module_test(self, module, script="a=1"): + cmd = "lua -l {} -e '{}'".format(module, script) + self.assertRunOk(cmd) + + +class TestLua(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + """ + + def test_run(self): + self.login() + self.version_test('Lua 5.4') + self.g_version_test('Lua 5.4') + + +class TestLuajit(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + """ + + def test_run(self): + self.login() + self.version_test('LuaJIT 2') + self.g_version_test('Lua 5.1') diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lua_argon2.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_argon2.py new file mode 100644 index 00000000..8a2a57e6 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lua_argon2.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaArgon2(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_ARGON2=y + """ + + def test_run(self): + self.login() + self.module_test("argon2") + + +class TestLuajitLuaArgon2(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_ARGON2=y + """ + + def test_run(self): + self.login() + self.module_test("argon2") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lua_augeas.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_augeas.py new file mode 100644 index 00000000..2a612b6d --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lua_augeas.py @@ -0,0 +1,27 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaAugeas(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_AUGEAS=y + BR2_PACKAGE_LUA_AUGEAS=y + """ + + def test_run(self): + self.login() + self.module_test("augeas") + + +class TestLuajitLuaAugeas(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_AUGEAS=y + BR2_PACKAGE_LUA_AUGEAS=y + """ + + def test_run(self): + self.login() + self.module_test("augeas") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lua_cffi.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_cffi.py new file mode 100644 index 00000000..32547a4a --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lua_cffi.py @@ -0,0 +1,13 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaCffi(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_CFFI=y + """ + + def test_run(self): + self.login() + self.module_test("cffi") diff --git a/buildroot-2021.05/support/testing/tests/package/test_lua_cqueues.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_cqueues.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lua_cqueues.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lua_cqueues.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_lua_curl.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_curl.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lua_curl.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lua_curl.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_lua_gd.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_gd.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lua_gd.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lua_gd.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_lua_http.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_http.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lua_http.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lua_http.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lua_inotify.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_inotify.py new file mode 100644 index 00000000..c951a9c5 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lua_inotify.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaInotify(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_INOTIFY=y + """ + + def test_run(self): + self.login() + self.module_test("inotify") + + +class TestLuajitInotify(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_INOTIFY=y + """ + + def test_run(self): + self.login() + self.module_test("inotify") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lua_lunix.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_lunix.py new file mode 100644 index 00000000..ae0e3b26 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lua_lunix.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLunix(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_LUNIX=y + """ + + def test_run(self): + self.login() + self.module_test("unix") + + +class TestLuajitLunix(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_LUNIX=y + """ + + def test_run(self): + self.login() + self.module_test("unix") diff --git a/buildroot-2021.05/support/testing/tests/package/test_lua_lyaml.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_lyaml.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lua_lyaml.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lua_lyaml.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lua_sdl2.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_sdl2.py new file mode 100644 index 00000000..b9aad15f --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lua_sdl2.py @@ -0,0 +1,42 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuaSDL2(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_5_3=y + BR2_PACKAGE_LUA_SDL2=y + BR2_PACKAGE_SDL2_IMAGE=y + BR2_PACKAGE_SDL2_MIXER=y + BR2_PACKAGE_SDL2_NET=y + BR2_PACKAGE_SDL2_TTF=y + """ + + def test_run(self): + self.login() + self.module_test("SDL") + self.module_test("SDL.image") + self.module_test("SDL.mixer") + self.module_test("SDL.net") + self.module_test("SDL.ttf") + + +class TestLuajitLuaSDL2(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_SDL2=y + BR2_PACKAGE_SDL2_IMAGE=y + BR2_PACKAGE_SDL2_MIXER=y + BR2_PACKAGE_SDL2_NET=y + BR2_PACKAGE_SDL2_TTF=y + """ + + def test_run(self): + self.login() + self.module_test("SDL") + self.module_test("SDL.image") + self.module_test("SDL.mixer") + self.module_test("SDL.net") + self.module_test("SDL.ttf") diff --git a/buildroot-2021.05/support/testing/tests/package/test_lua_utf8.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_utf8.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lua_utf8.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lua_utf8.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lua_zlib.py b/buildroot-2022.02.1/support/testing/tests/package/test_lua_zlib.py new file mode 100644 index 00000000..6089daa2 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lua_zlib.py @@ -0,0 +1,25 @@ +from tests.package.test_lua import TestLuaBase + + +class TestLuaLuazlib(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_LUA_ZLIB=y + """ + + def test_run(self): + self.login() + self.module_test("zlib") + + +class TestLuajitLuazlib(TestLuaBase): + config = TestLuaBase.config + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUA_ZLIB=y + """ + + def test_run(self): + self.login() + self.module_test("zlib") diff --git a/buildroot-2021.05/support/testing/tests/package/test_luaexpat.py b/buildroot-2022.02.1/support/testing/tests/package/test_luaexpat.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_luaexpat.py rename to buildroot-2022.02.1/support/testing/tests/package/test_luaexpat.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_luafilesystem.py b/buildroot-2022.02.1/support/testing/tests/package/test_luafilesystem.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_luafilesystem.py rename to buildroot-2022.02.1/support/testing/tests/package/test_luafilesystem.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_lualdap.py b/buildroot-2022.02.1/support/testing/tests/package/test_lualdap.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lualdap.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lualdap.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_luaossl.py b/buildroot-2022.02.1/support/testing/tests/package/test_luaossl.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_luaossl.py rename to buildroot-2022.02.1/support/testing/tests/package/test_luaossl.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_luaposix.py b/buildroot-2022.02.1/support/testing/tests/package/test_luaposix.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_luaposix.py rename to buildroot-2022.02.1/support/testing/tests/package/test_luaposix.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_luasec.py b/buildroot-2022.02.1/support/testing/tests/package/test_luasec.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_luasec.py rename to buildroot-2022.02.1/support/testing/tests/package/test_luasec.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_luasocket.py b/buildroot-2022.02.1/support/testing/tests/package/test_luasocket.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_luasocket.py rename to buildroot-2022.02.1/support/testing/tests/package/test_luasocket.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_luasyslog.py b/buildroot-2022.02.1/support/testing/tests/package/test_luasyslog.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_luasyslog.py rename to buildroot-2022.02.1/support/testing/tests/package/test_luasyslog.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_luvi.py b/buildroot-2022.02.1/support/testing/tests/package/test_luvi.py new file mode 100644 index 00000000..4b550917 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_luvi.py @@ -0,0 +1,37 @@ +import os + +import infra.basetest + + +class TestLuvi(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_LUVI=y + BR2_PACKAGE_OPENSSL=y + BR2_PACKAGE_PCRE=y + BR2_PACKAGE_ZLIB=y + """ + + def login(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + def version_test(self): + cmd = "luvi -v" + output, exit_code = self.emulator.run(cmd) + output = sorted(output) + self.assertIn('libuv', output[0]) + self.assertIn('luvi', output[1]) + self.assertIn('rex', output[2]) + self.assertIn('ssl', output[3]) + self.assertIn('zlib', output[4]) + + def test_run(self): + self.login() + self.version_test() diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_lxc.py b/buildroot-2022.02.1/support/testing/tests/package/test_lxc.py new file mode 100644 index 00000000..d98bed87 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_lxc.py @@ -0,0 +1,58 @@ +import os + +import infra.basetest + + +class TestLxc(infra.basetest.BRTest): + config = \ + """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204" + BR2_LINUX_KERNEL_DEFCONFIG="vexpress" + BR2_LINUX_KERNEL_DTS_SUPPORT=y + BR2_LINUX_KERNEL_INTREE_DTS_NAME="vexpress-v2p-ca9" + BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}" + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + BR2_INIT_SYSTEMD=y + BR2_PACKAGE_LXC=y + BR2_PACKAGE_TINI=y + BR2_PACKAGE_IPERF3=y + BR2_ROOTFS_OVERLAY="{}" + BR2_TARGET_ROOTFS_CPIO=y + """.format( + infra.filepath("tests/package/test_lxc/lxc-kernel.config"), + infra.filepath("tests/package/test_lxc/rootfs-overlay")) + + def run_ok(self, cmd): + self.assertRunOk(cmd, 120) + + def wait_boot(self): + # the complete boot with systemd takes more time than what the default multipler permits + self.emulator.timeout_multiplier *= 10 + self.emulator.login() + + def setup_run_test_container(self): + self.run_ok("lxc-create -n lxc_iperf3 -t none -f /usr/share/lxc/config/minimal-iperf3.conf") + self.run_ok("lxc-start -l trace -n lxc_iperf3 -o /tmp/lxc.log -L /tmp/lxc.console.log") + # need to wait for the container to be fully started + self.run_ok("sleep 2") + self.run_ok("iperf3 -c 192.168.1.2 -t 2") + # if the test fails, just cat /tmp/*.log + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + kernel_file = os.path.join(self.builddir, "images", "zImage") + dtb_file = os.path.join(self.builddir, "images", "vexpress-v2p-ca9.dtb") + self.emulator.boot(arch="armv7", kernel=kernel_file, + kernel_cmdline=[ + "console=ttyAMA0,115200"], + options=["-initrd", cpio_file, + "-dtb", dtb_file, + "-M", "vexpress-a9"]) + self.wait_boot() + self.setup_run_test_container() diff --git a/buildroot-2021.05/support/testing/tests/package/test_lxc/lxc-kernel.config b/buildroot-2022.02.1/support/testing/tests/package/test_lxc/lxc-kernel.config similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lxc/lxc-kernel.config rename to buildroot-2022.02.1/support/testing/tests/package/test_lxc/lxc-kernel.config diff --git a/buildroot-2021.05/support/testing/tests/package/test_lxc/rootfs-overlay/usr/bin/iperf3.sh b/buildroot-2022.02.1/support/testing/tests/package/test_lxc/rootfs-overlay/usr/bin/iperf3.sh similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lxc/rootfs-overlay/usr/bin/iperf3.sh rename to buildroot-2022.02.1/support/testing/tests/package/test_lxc/rootfs-overlay/usr/bin/iperf3.sh diff --git a/buildroot-2021.05/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal-iperf3.conf b/buildroot-2022.02.1/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal-iperf3.conf similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal-iperf3.conf rename to buildroot-2022.02.1/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal-iperf3.conf diff --git a/buildroot-2021.05/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal.conf b/buildroot-2022.02.1/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal.conf similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal.conf rename to buildroot-2022.02.1/support/testing/tests/package/test_lxc/rootfs-overlay/usr/share/lxc/config/minimal.conf diff --git a/buildroot-2021.05/support/testing/tests/package/test_lzlib.py b/buildroot-2022.02.1/support/testing/tests/package/test_lzlib.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_lzlib.py rename to buildroot-2022.02.1/support/testing/tests/package/test_lzlib.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_mender.py b/buildroot-2022.02.1/support/testing/tests/package/test_mender.py new file mode 100644 index 00000000..fdf55ed6 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_mender.py @@ -0,0 +1,32 @@ +import os + +import infra.basetest + + +class TestMender(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_MENDER=y + BR2_TARGET_ROOTFS_CPIO=y + BR2_ROOTFS_OVERLAY="{}" + """.format( + # overlay to add a fake 'fw_printenv', used by Mender + infra.filepath("tests/package/test_mender/rootfs-overlay")) + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + # Check if the Daemon is running + self.assertRunOk("ls /var/run/mender.pid") + self.assertRunOk("ps aux | egrep [m]ender") + + # Check if a simple Mender command is correctly executed + self.assertRunOk("mender -log-level debug show-artifact") + self.assertRunOk("mender -log-level debug show-artifact | grep 'RUNTIME_TEST_ARTIFACT_NAME'") + cmd = "mender show-artifact 2>&1 | grep -i 'err'" # Check if no 'error' among the traces + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 1) diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_mender/rootfs-overlay/etc/mender/artifact_info b/buildroot-2022.02.1/support/testing/tests/package/test_mender/rootfs-overlay/etc/mender/artifact_info new file mode 100644 index 00000000..4d54b8f8 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_mender/rootfs-overlay/etc/mender/artifact_info @@ -0,0 +1 @@ +artifact_name=RUNTIME_TEST_ARTIFACT_NAME diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_mender/rootfs-overlay/usr/bin/fw_printenv b/buildroot-2022.02.1/support/testing/tests/package/test_mender/rootfs-overlay/usr/bin/fw_printenv new file mode 100755 index 00000000..c002a0f2 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_mender/rootfs-overlay/usr/bin/fw_printenv @@ -0,0 +1,6 @@ +#!/bin/sh + +# Fake 'fw_printenv' because UBoot is not installed: print some plausible 'key-value' +echo "bootcount=0" +echo "mender_boot_part=rootfs" +echo "upgrade_available=0" diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_netdata.py b/buildroot-2022.02.1/support/testing/tests/package/test_netdata.py new file mode 100644 index 00000000..6b616398 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_netdata.py @@ -0,0 +1,22 @@ +import os + +import infra.basetest + + +class TestNetdata(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_NETDATA=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + cmd = "wget localhost:19999 -O - | grep 'netdata dashboard'" + self.assertRunOk(cmd) diff --git a/buildroot-2021.05/support/testing/tests/package/test_openjdk.py b/buildroot-2022.02.1/support/testing/tests/package/test_openjdk.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_openjdk.py rename to buildroot-2022.02.1/support/testing/tests/package/test_openjdk.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_openssh.py b/buildroot-2022.02.1/support/testing/tests/package/test_openssh.py new file mode 100644 index 00000000..4b480595 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_openssh.py @@ -0,0 +1,57 @@ +import os + +import infra.basetest + + +class TestOpensshBase(infra.basetest.BRTest): + passwd = "testpwd" + opensshconfig = \ + """ + BR2_TARGET_GENERIC_ROOT_PASSWD="{}" + BR2_PACKAGE_OPENSSH=y + BR2_PACKAGE_SSHPASS=y + BR2_ROOTFS_POST_BUILD_SCRIPT="{}" + # BR2_TARGET_ROOTFS_TAR is not set + """.format( + passwd, + infra.filepath("tests/package/test_openssh/post-build.sh")) + + def openssh_test(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img, + "-net", "none"]) + self.emulator.login(self.passwd) + + cmd = "netstat -ltn 2>/dev/null | grep 0.0.0.0:22" + self.assertRunOk(cmd) + + cmd = "sshpass -p {} ssh -oStrictHostKeyChecking=no localhost /bin/true".format(self.passwd) + self.assertRunOk(cmd) + + +class TestOpenSshuClibc(TestOpensshBase): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + TestOpensshBase.opensshconfig + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + """ + + def test_run(self): + self.openssh_test() + + +class TestOpenSshGlibc(TestOpensshBase): + config = \ + TestOpensshBase.opensshconfig + \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_PACKAGE_RNG_TOOLS=y + BR2_TARGET_ROOTFS_CPIO=y + """ + + def test_run(self): + self.openssh_test() diff --git a/buildroot-2021.05/support/testing/tests/package/test_openssh/post-build.sh b/buildroot-2022.02.1/support/testing/tests/package/test_openssh/post-build.sh similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_openssh/post-build.sh rename to buildroot-2022.02.1/support/testing/tests/package/test_openssh/post-build.sh diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_opkg.py b/buildroot-2022.02.1/support/testing/tests/package/test_opkg.py new file mode 100644 index 00000000..e47879ca --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_opkg.py @@ -0,0 +1,61 @@ +import os + +import infra.basetest + + +class TestOpkg(infra.basetest.BRTest): + # The snmpd service is used as an example for this test of a set of files + # that can be archived up and deployed/removed to test opkg + # + # The post build script uses an ipk-build template and assembles the test + # package. + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_NETSNMP=y + # BR2_PACKAGE_NETSNMP_CLIENTS is not set + # BR2_PACKAGE_NETSNMP_ENABLE_MIBS is not set + BR2_PACKAGE_OPKG=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + BR2_PACKAGE_HOST_OPKG_UTILS=y + BR2_ROOTFS_POST_BUILD_SCRIPT="{}" + """.format(infra.filepath("tests/package/test_opkg/post-build.sh")) + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + # This test sequence tests the install and removal of a running + # service and configuration files. It also exercises the postinst + # and prerm scripting provided in the package archive. + + cmd = "opkg install example-snmpd-package_1.0_arm.ipk" + self.assertRunOk(cmd) + + cmd = "opkg list-installed | grep example-snmpd-package" + self.assertRunOk(cmd) + + # Check that postinst script ran to start the services + cmd = "ps aux | grep [s]nmpd" + self.assertRunOk(cmd) + + # If successful, the prerm script ran to stop the service prior to + # the removal of the service scripting and files + cmd = "opkg remove example-snmpd-package" + self.assertRunOk(cmd) + + # Verify after package removal that the services is not + # running, but let's give it some time to really stop + # (otherwise a [snmpd] process might show up in the ps output) + cmd = "sleep 1 && ps aux | grep [s]nmpd" + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 1) + + # This folder for configs is provided by the package install and + # should no longer be present after package removal + cmd = "ls /etc/snmp" + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 1) diff --git a/buildroot-2021.05/support/testing/tests/package/test_opkg/post-build.sh b/buildroot-2022.02.1/support/testing/tests/package/test_opkg/post-build.sh similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_opkg/post-build.sh rename to buildroot-2022.02.1/support/testing/tests/package/test_opkg/post-build.sh diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_perl.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl.py new file mode 100644 index 00000000..ae3f1059 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_perl.py @@ -0,0 +1,65 @@ +import os + +import infra.basetest + + +class TestPerlBase(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def login(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + def module_test(self, module, script="1"): + cmd = "perl -M{} -e '{}'".format(module, script) + self.assertRunOk(cmd) + + +class TestPerl(TestPerlBase): + config = TestPerlBase.config + \ + """ + BR2_PACKAGE_PERL=y + """ + + def version_test(self): + cmd = "perl -v" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) + self.assertIn("This is perl 5", output[1]) + + def core_modules_test(self): + self.module_test("Cwd") + self.module_test("Data::Dumper") + self.module_test("Devel::Peek") + self.module_test("Digest::MD5") + self.module_test("Digest::SHA") + self.module_test("Encode") + self.module_test("Fcntl") + self.module_test("File::Glob") + self.module_test("Hash::Util") + self.module_test("I18N::Langinfo") + self.module_test("IO::Handle") + self.module_test("IPC::SysV") + self.module_test("List::Util") + self.module_test("MIME::Base64") + self.module_test("POSIX") + self.module_test("Socket") + self.module_test("Storable") + self.module_test("Sys::Hostname") + self.module_test("Sys::Syslog") + self.module_test("Time::HiRes") + self.module_test("Time::Piece") + self.module_test("Unicode::Collate") + self.module_test("Unicode::Normalize") + + def test_run(self): + self.login() + self.version_test() + self.core_modules_test() diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_class_load.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_class_load.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_class_load.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_class_load.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_dbd_mysql.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_dbd_mysql.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_dbd_mysql.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_dbd_mysql.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_encode_detect.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_encode_detect.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_encode_detect.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_encode_detect.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_gdgraph.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_gdgraph.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_gdgraph.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_gdgraph.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_html_parser.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_html_parser.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_html_parser.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_html_parser.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_io_socket_multicast.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_io_socket_multicast.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_io_socket_multicast.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_io_socket_multicast.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_io_socket_ssl.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_io_socket_ssl.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_io_socket_ssl.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_io_socket_ssl.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_libwww_perl.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_libwww_perl.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_libwww_perl.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_libwww_perl.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_lwp_protocol_https.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_lwp_protocol_https.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_lwp_protocol_https.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_lwp_protocol_https.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_mail_dkim.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_mail_dkim.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_mail_dkim.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_mail_dkim.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_x10.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_x10.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_x10.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_x10.py diff --git a/buildroot-2021.05/support/testing/tests/package/test_perl_xml_libxml.py b/buildroot-2022.02.1/support/testing/tests/package/test_perl_xml_libxml.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_perl_xml_libxml.py rename to buildroot-2022.02.1/support/testing/tests/package/test_perl_xml_libxml.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_php_apcu.py b/buildroot-2022.02.1/support/testing/tests/package/test_php_apcu.py new file mode 100644 index 00000000..7c149a5e --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_php_apcu.py @@ -0,0 +1,35 @@ +import os + +import infra.basetest + + +class TestPhpApcu(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_PHP=y + BR2_PACKAGE_PHP_SAPI_CLI=y + BR2_PACKAGE_PHP_APCU=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + self.assertRunOk("mkdir /etc/php.d") + self.assertRunOk("echo 'extension=apcu.so' > /etc/php.d/apcu.ini") + # enable_cli enables APC for the CLI version of PHP, which is what we + # use in this test case. + self.assertRunOk("echo 'apc.enable_cli=1' >> /etc/php.d/apcu.ini") + + output, exit_code = self.emulator.run("php --ri apcu | sed '/^$/d'") + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], "apcu") + self.assertEqual(output[1], "APCu Support => Enabled") + # Do not check the version value in order to avoid a test failure when + # bumping package version. + self.assertEqual(output[2][0:11], "Version => ") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_php_lua.py b/buildroot-2022.02.1/support/testing/tests/package/test_php_lua.py new file mode 100644 index 00000000..e3c57938 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_php_lua.py @@ -0,0 +1,63 @@ +import os + +import infra.basetest + + +class TestPhpLuaLua(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_LUA=y + BR2_PACKAGE_PHP=y + BR2_PACKAGE_PHP_SAPI_CLI=y + BR2_PACKAGE_PHP_LUA=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + self.assertRunOk("mkdir /etc/php.d") + self.assertRunOk("echo 'extension=lua.so' > /etc/php.d/lua.ini") + + output, exit_code = self.emulator.run("php --ri lua | sed '/^$/d'") + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], "lua") + self.assertEqual(output[1], "lua support => enabled") + # Do not check the version value in order to avoid a test failure when + # bumping package version. + self.assertEqual(output[2][0:25], "lua extension version => ") + + +class TestPhpLuaLuajit(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_LUAJIT=y + BR2_PACKAGE_PHP=y + BR2_PACKAGE_PHP_SAPI_CLI=y + BR2_PACKAGE_PHP_LUA=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + self.assertRunOk("mkdir /etc/php.d") + self.assertRunOk("echo 'extension=lua.so' > /etc/php.d/lua.ini") + + output, exit_code = self.emulator.run("php --ri lua | sed '/^$/d'") + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], "lua") + self.assertEqual(output[1], "lua support => enabled") + # Do not check the version value in order to avoid a test failure when + # bumping package version. + self.assertEqual(output[2][0:25], "lua extension version => ") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_php_pam.py b/buildroot-2022.02.1/support/testing/tests/package/test_php_pam.py new file mode 100644 index 00000000..c4c1412e --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_php_pam.py @@ -0,0 +1,32 @@ +import os + +import infra.basetest + + +class TestPhpPam(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_PHP=y + BR2_PACKAGE_PHP_SAPI_CLI=y + BR2_PACKAGE_PHP_PAM=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + self.assertRunOk("mkdir /etc/php.d") + self.assertRunOk("echo 'extension=pam.so'> /etc/php.d/pam.ini") + + output, exit_code = self.emulator.run("php --ri pam | sed '/^$/d'") + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], "pam") + self.assertEqual(output[1], "PAM support => enabled") + # Do not check the version value in order to avoid test failure when + # bumping package version + self.assertEqual(output[2][0:21], "Extension version => ") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_php_pecl_dbus.py b/buildroot-2022.02.1/support/testing/tests/package/test_php_pecl_dbus.py new file mode 100644 index 00000000..65f34dfb --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_php_pecl_dbus.py @@ -0,0 +1,32 @@ +import os + +import infra.basetest + + +class TestPhpPeclDbus(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_PHP=y + BR2_PACKAGE_PHP_SAPI_CLI=y + BR2_PACKAGE_PHP_PECL_DBUS=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + self.assertRunOk("mkdir /etc/php.d") + self.assertRunOk("echo 'extension=dbus.so'> /etc/php.d/dbus.ini") + + output, exit_code = self.emulator.run("php --ri dbus | sed '/^$/d'") + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], "dbus") + self.assertEqual(output[1], "Dbus support => enabled") + # Do not check the version value in order to avoid test failure when + # bumping package version + self.assertEqual(output[2][0:11], "Version => ") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_polkit.py b/buildroot-2022.02.1/support/testing/tests/package/test_polkit.py new file mode 100644 index 00000000..502d38d1 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_polkit.py @@ -0,0 +1,70 @@ +import os +import infra.basetest + + +class TestPolkitInfra(infra.basetest.BRTest): + br2_external = [infra.filepath("tests/package/br2-external/polkit")] + config = \ + """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TARGET_ROOTFS_CPIO=y + BR2_PACKAGE_POLKIT=y + BR2_PACKAGE_POLKIT_RULES_TEST=y + """ + + def base_test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + +class TestPolkitSystemd(TestPolkitInfra): + config = \ + """ + {} + BR2_INIT_SYSTEMD=y + BR2_PACKAGE_SYSTEMD_POLKIT=y + BR2_TARGET_GENERIC_GETTY_PORT="ttyAMA0" + # BR2_TARGET_ROOTFS_TAR is not set + """.format(TestPolkitInfra.config) + + def test_run(self): + TestPolkitInfra.base_test_run(self) + + cmd = "su brtest -c '/bin/systemctl restart systemd-timesyncd.service'" + _, exit_code = self.emulator.run(cmd, 10) + self.assertEqual(exit_code, 1) + + cmd = "mv /root/systemd-timesyncd-restart.rules /etc/polkit-1/rules.d" + _, exit_code = self.emulator.run(cmd, 10) + self.assertEqual(exit_code, 0) + + cmd = "su brtest -c '/bin/systemctl restart systemd-timesyncd.service'" + _, exit_code = self.emulator.run(cmd, 10) + self.assertEqual(exit_code, 0) + + +class TestPolkitInitd(TestPolkitInfra): + config = TestPolkitInfra.config + + def test_run(self): + TestPolkitInfra.base_test_run(self) + + cmd = "su brtest -c 'pkexec hello-polkit'" + output, exit_code = self.emulator.run(cmd, 10) + self.assertEqual(exit_code, 127) + self.assertEqual(output[0], "Error executing command as another user: Not authorized") + + cmd = "mv /root/hello-polkit.rules /etc/polkit-1/rules.d/hello-polkit.rules" + _, exit_code = self.emulator.run(cmd, 10) + self.assertEqual(exit_code, 0) + + cmd = "su brtest -c 'pkexec hello-polkit'" + output, exit_code = self.emulator.run(cmd, 10) + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], "Hello polkit!") diff --git a/buildroot-2021.05/support/testing/tests/package/test_prosody.py b/buildroot-2022.02.1/support/testing/tests/package/test_prosody.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_prosody.py rename to buildroot-2022.02.1/support/testing/tests/package/test_prosody.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python.py b/buildroot-2022.02.1/support/testing/tests/package/test_python.py new file mode 100644 index 00000000..f29aff66 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python.py @@ -0,0 +1,107 @@ +import os + +import infra.basetest + + +class TestPythonBase(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + interpreter = "python" + + def login(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + def version_test(self, version, timeout=-1): + cmd = self.interpreter + " --version 2>&1 | grep '^{}'".format(version) + self.assertRunOk(cmd, timeout) + + def math_floor_test(self, timeout=-1): + cmd = self.interpreter + " -c 'import math; math.floor(12.3)'" + self.assertRunOk(cmd, timeout) + + def libc_time_test(self, timeout=-1): + cmd = self.interpreter + " -c 'from __future__ import print_function;" + cmd += "import ctypes;" + cmd += "libc = ctypes.cdll.LoadLibrary(\"libc.so.1\");" + cmd += "print(libc.time(None))'" + self.assertRunOk(cmd, timeout) + + def zlib_test(self, timeout=-1): + cmd = self.interpreter + " -c 'import zlib'" + _, exit_code = self.emulator.run(cmd, timeout) + self.assertEqual(exit_code, 1) + + +class TestPython3(TestPythonBase): + config = TestPythonBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + """ + + def test_run(self): + self.login() + self.version_test("Python 3") + self.math_floor_test() + self.libc_time_test() + self.zlib_test() + + +class TestPythonPackageBase(TestPythonBase): + """Common class to test a python package. + + Build an image containing the scripts listed in sample_scripts, start the + emulator, login to it and for each sample script in the image run the python + interpreter passing the name of the script and check the status code is 0. + + Each test case that inherits from this class must have: + __test__ = True - to let nose2 know that it is a test case + config - defconfig fragment with the packages to run the test + It also can have: + sample_scripts - list of scripts to add to the image and run on the target + timeout - timeout to the script to run when the default from the + test infra is not enough + When custom commands need be issued on the target the method + run_sample_scripts can be overridden. + """ + + __test__ = False + config_sample_scripts = \ + """ + BR2_ROOTFS_POST_BUILD_SCRIPT="{}" + BR2_ROOTFS_POST_SCRIPT_ARGS="{}" + """.format(infra.filepath("tests/package/copy-sample-script-to-target.sh"), + "{sample_scripts}") + sample_scripts = None + timeout = -1 + + def __init__(self, names): + """Add the scripts to the target in build time.""" + super(TestPythonPackageBase, self).__init__(names) + if self.sample_scripts: + scripts = [infra.filepath(s) for s in self.sample_scripts] + self.config += self.config_sample_scripts.format(sample_scripts=" ".join(scripts)) + + def check_sample_scripts_exist(self): + """Check the scripts were really added to the image.""" + scripts = [os.path.basename(s) for s in self.sample_scripts] + cmd = "md5sum " + " ".join(scripts) + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) + + def run_sample_scripts(self): + """Run each script previously added to the image.""" + for script in self.sample_scripts: + cmd = self.interpreter + " " + os.path.basename(script) + self.assertRunOk(cmd, timeout=self.timeout) + + def test_run(self): + self.login() + self.check_sample_scripts_exist() + self.run_sample_scripts() diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_aexpect.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_aexpect.py new file mode 100644 index 00000000..5b018399 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_aexpect.py @@ -0,0 +1,12 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Aexpect(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_AEXPECT=y + """ + sample_scripts = ["tests/package/sample_python_aexpect.py"] + timeout = 30 diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_argh.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_argh.py new file mode 100644 index 00000000..887d9acd --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_argh.py @@ -0,0 +1,36 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonArgh(TestPythonPackageBase): + config = TestPythonPackageBase.config + sample_scripts = ["tests/package/sample_python_argh.py"] + + def run_sample_scripts(self): + cmd = self.interpreter + " sample_python_argh.py -h" + output, exit_code = self.emulator.run(cmd) + self.assertIn("usage:", output[0]) + self.assertEqual(exit_code, 0) + + cmd = self.interpreter + " sample_python_argh.py 123" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(output[0], "123, False") + self.assertEqual(exit_code, 0) + + cmd = self.interpreter + " sample_python_argh.py --bar 456" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(output[0], "456, True") + self.assertEqual(exit_code, 0) + + cmd = self.interpreter + " sample_python_argh.py" + output, exit_code = self.emulator.run(cmd) + self.assertIn("usage:", output[0]) + self.assertEqual(exit_code, 2) + + +class TestPythonPy3Argh(TestPythonArgh): + __test__ = True + config = TestPythonArgh.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_ARGH=y + """ diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_attrs.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_attrs.py new file mode 100644 index 00000000..38831b24 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_attrs.py @@ -0,0 +1,11 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Attrs(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_ATTRS=y + """ + sample_scripts = ["tests/package/sample_python_attrs.py"] diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_augeas.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_augeas.py new file mode 100644 index 00000000..c1424668 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_augeas.py @@ -0,0 +1,13 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonAugeas(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_AUGEAS=y + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_AUGEAS=y + """ + sample_scripts = ["tests/package/sample_python_augeas.py"] + timeout = 60 diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_autobahn.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_autobahn.py new file mode 100644 index 00000000..6c1678a6 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_autobahn.py @@ -0,0 +1,19 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Autobahn(TestPythonPackageBase): + __test__ = True + # Need to use a different toolchain than the default due to + # python-cryptography using Rust (not available with uclibc) + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_AUTOBAHN=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + sample_scripts = ["tests/package/sample_python_autobahn.py"] diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_automat.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_automat.py new file mode 100644 index 00000000..6ee4ea76 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_automat.py @@ -0,0 +1,12 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Automat(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_AUTOMAT=y + """ + sample_scripts = ["tests/package/sample_python_automat.py"] + timeout = 30 diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_avro.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_avro.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_python_avro.py rename to buildroot-2022.02.1/support/testing/tests/package/test_python_avro.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_bitstring.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_bitstring.py new file mode 100644 index 00000000..bd358a2f --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_bitstring.py @@ -0,0 +1,11 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Bitstring(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_BITSTRING=y + """ + sample_scripts = ["tests/package/sample_python_bitstring.py"] diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_boto3.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_boto3.py new file mode 100644 index 00000000..756495fe --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_boto3.py @@ -0,0 +1,12 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Boto3(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_BOTO3=y + """ + sample_scripts = ["tests/package/sample_python_boto3.py"] + timeout = 10 diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_botocore.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_botocore.py new file mode 100644 index 00000000..6336c565 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_botocore.py @@ -0,0 +1,12 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Botocore(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_BOTOCORE=y + """ + sample_scripts = ["tests/package/sample_python_botocore.py"] + timeout = 10 diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_can.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_can.py new file mode 100644 index 00000000..dba5539c --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_can.py @@ -0,0 +1,12 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Can(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_CAN=y + """ + sample_scripts = ["tests/package/sample_python_can.py"] + timeout = 40 diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_cbor.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_cbor.py new file mode 100644 index 00000000..23a1e3e7 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_cbor.py @@ -0,0 +1,12 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Cbor(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_CBOR=y + """ + sample_scripts = ["tests/package/sample_python_cbor_enc.py", + "tests/package/sample_python_cbor_dec.py"] diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_click.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_click.py new file mode 100644 index 00000000..0ee9702c --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_click.py @@ -0,0 +1,35 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonClick(TestPythonPackageBase): + sample_scripts = ["tests/package/sample_python_click.py"] + + def run_sample_scripts(self): + cmd = self.interpreter + " sample_python_click.py --help" + output, exit_code = self.emulator.run(cmd) + self.assertIn("Usage:", output[0]) + self.assertEqual(exit_code, 0) + + cmd = self.interpreter + " sample_python_click.py 123" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(output[0], "123, False") + self.assertEqual(exit_code, 0) + + cmd = self.interpreter + " sample_python_click.py --bar 456" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(output[0], "456, True") + self.assertEqual(exit_code, 0) + + cmd = self.interpreter + " sample_python_click.py" + output, exit_code = self.emulator.run(cmd) + self.assertIn("Usage:", output[0]) + self.assertEqual(exit_code, 2) + + +class TestPythonPy3Click(TestPythonClick): + __test__ = True + config = TestPythonClick.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_CLICK=y + """ diff --git a/buildroot-2021.05/support/testing/tests/package/test_python_colorzero.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_colorzero.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/package/test_python_colorzero.py rename to buildroot-2022.02.1/support/testing/tests/package/test_python_colorzero.py diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_constantly.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_constantly.py new file mode 100644 index 00000000..edcb9bfd --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_constantly.py @@ -0,0 +1,11 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Constantly(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_CONSTANTLY=y + """ + sample_scripts = ["tests/package/sample_python_constantly.py"] diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_crossbar.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_crossbar.py new file mode 100644 index 00000000..83649aee --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_crossbar.py @@ -0,0 +1,20 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Crossbar(TestPythonPackageBase): + __test__ = True + # Need to use a different toolchain than the default due to + # python-cryptography using Rust (not available with uclibc) + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_CROSSBAR=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + sample_scripts = ["tests/package/sample_python_crossbar.py"] + timeout = 60 diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_cryptography.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_cryptography.py new file mode 100644 index 00000000..bf11c02e --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_cryptography.py @@ -0,0 +1,20 @@ +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3Cryptography(TestPythonPackageBase): + __test__ = True + # Need to use a different toolchain than the default due to + # python-cryptography using Rust (not available with uclibc) + config = \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_CRYPTOGRAPHY=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + sample_scripts = ["tests/package/sample_python_cryptography.py"] + timeout = 40 diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_python_dbus_next.py b/buildroot-2022.02.1/support/testing/tests/package/test_python_dbus_next.py new file mode 100644 index 00000000..3c597ad1 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_python_dbus_next.py @@ -0,0 +1,40 @@ +import textwrap + + +from tests.package.test_python import TestPythonPackageBase + + +class TestPythonPy3DBusNext(TestPythonPackageBase): + __test__ = True + config = TestPythonPackageBase.config + \ + """ + BR2_PACKAGE_DBUS=y + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_DBUS_NEXT=y + """ + sample_scripts = ["tests/package/sample_python_dbus_next.py"] + + def run_sample_scripts(self): + config = \ + """ + + + + + + + + """ + config = textwrap.dedent(config) + config_dir = "/etc/dbus-1/system.d" + config_fn = "dbus.next.sample.conf" + + # Setup and reload D-Bus configuration + self.emulator.run("mkdir -p " + config_dir) + self.emulator.run("cat > " + config_dir + "/" + config_fn + + " < source/testsv1/type") + self.assertRunOk("echo oneshot > source/testsv2/type") + self.assertRunOk("echo 'echo foo' > source/testsv1/up") + self.assertRunOk("echo 'echo bar' > source/testsv2/up") + self.assertRunOk("echo testsv1 > source/testsv2/dependencies") + self.assertRunOk("chmod +x source/testsv1/up") + self.assertRunOk("chmod +x source/testsv2/up") + + # Compile the service database + self.assertRunOk("s6-rc-compile compiled source") + + # Inspect dependencies + cmd = "s6-rc-db -c compiled -d dependencies testsv1" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], "testsv2") + cmd = "s6-rc-db -c compiled dependencies testsv2" + output, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 0) + self.assertEqual(output[0], "testsv1") diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_sudo.py b/buildroot-2022.02.1/support/testing/tests/package/test_sudo.py new file mode 100644 index 00000000..daba28a1 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_sudo.py @@ -0,0 +1,34 @@ +import os + +import infra.basetest + + +class TestSudo(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_SUDO=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + # -D don't set a password + # -h set home directory + # -H don't create home directory + # -s set shell + self.assertRunOk("adduser -D -h /tmp -H -s /bin/sh sudotest") + + self.assertRunOk("echo 'sudotest ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers") + + output, exit_code = self.emulator.run("su - sudotest -c 'echo hello world'") + self.assertEqual(output, ["hello world"]) + + output, exit_code = self.emulator.run("su - sudotest -c 'sudo echo hello world'") + self.assertEqual(exit_code, 0) + self.assertEqual(output, ["hello world"]) diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_syslog_ng.py b/buildroot-2022.02.1/support/testing/tests/package/test_syslog_ng.py new file mode 100644 index 00000000..153c9f73 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_syslog_ng.py @@ -0,0 +1,36 @@ +import os + +import infra.basetest + + +class TestSyslogNg(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y + BR2_PACKAGE_SYSLOG_NG=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + cmd = "grep 'syslog-ng starting' /var/log/messages" + self.assertRunOk(cmd) + + cmd = "logger my-message && " + cmd += "sleep 1 && " + cmd += "grep my-message /var/log/messages" + self.assertRunOk(cmd) + + cmd = "syslog-ng-ctl reload && " + cmd += "sleep 1" + self.assertRunOk(cmd) + + cmd = "grep -i 'syslog-ng.*warning' /var/log/messages" + _, exit_code = self.emulator.run(cmd) + self.assertEqual(exit_code, 1) diff --git a/buildroot-2022.02.1/support/testing/tests/package/test_tmux.py b/buildroot-2022.02.1/support/testing/tests/package/test_tmux.py new file mode 100644 index 00000000..7a10b7a2 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/package/test_tmux.py @@ -0,0 +1,37 @@ +import os + +import infra.basetest + + +class TestTmux(infra.basetest.BRTest): + config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \ + """ + BR2_PACKAGE_TMUX=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", cpio_file]) + self.emulator.login() + + cmd = "tmux -V" + self.assertRunOk(cmd) + + cmd = "tmux -C /tmp/urandom.sha256", + # Check ZFS + "zpool export pool", + "zpool import pool -d /tmp/container1.raw -d /tmp/container2.raw", + "dd conv=notrunc bs=1M count=32 seek=16 if=/dev/urandom of=/tmp/container1.raw", + "zpool scrub -w pool", + "sha256sum -c /tmp/urandom.sha256", + "zpool status -v", + # Check PyZFS + "arc_summary", + ] + for cmd in cmds: + self.assertRunOk(cmd) + + +class TestZfsUclibc(infra.basetest.BRTest): + config = \ + """ + BR2_x86_64=y + BR2_x86_corei7=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y + BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y + BR2_LINUX_KERNEL=y + BR2_LINUX_KERNEL_CUSTOM_VERSION=y + BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.12.13" + BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y + BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86_64/linux.config" + BR2_PACKAGE_ZFS=y + BR2_PACKAGE_PYTHON3=y + BR2_PACKAGE_PYTHON_CFFI=y + BR2_PACKAGE_PYTHON_SETUPTOOLS=y + BR2_PACKAGE_ZLIB_NG=y + BR2_PACKAGE_LIBRESSL=y + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + def test_run(self): + kernel = os.path.join(self.builddir, "images", "bzImage") + cpio_file = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot( + arch="x86_64", + kernel=kernel, + kernel_cmdline=["console=ttyS0"], + options=["-cpu", "Nehalem", "-m", "320", "-initrd", cpio_file], + ) + self.emulator.login() + + cmds = [ + # Init + "modprobe zfs", + "mount -o remount,size=132M /tmp", + "fallocate -l 64M /tmp/container1.raw", + "fallocate -l 64M /tmp/container2.raw", + "zpool create -m /pool pool raidz /tmp/container1.raw /tmp/container2.raw", + "dd if=/dev/urandom bs=1M count=8 of=/pool/urandom", + "sha256sum /pool/urandom > /tmp/urandom.sha256", + # Check ZFS + "zpool export pool", + "zpool import pool -d /tmp/container1.raw -d /tmp/container2.raw", + "dd conv=notrunc bs=1M count=32 seek=16 if=/dev/urandom of=/tmp/container1.raw", + "zpool scrub -w pool", + "sha256sum -c /tmp/urandom.sha256", + "zpool status -v", + # Check PyZFS + "arc_summary", + ] + for cmd in cmds: + self.assertRunOk(cmd) diff --git a/buildroot-2021.05/system/skeleton/media/.empty b/buildroot-2022.02.1/support/testing/tests/toolchain/__init__.py similarity index 100% rename from buildroot-2021.05/system/skeleton/media/.empty rename to buildroot-2022.02.1/support/testing/tests/toolchain/__init__.py diff --git a/buildroot-2022.02.1/support/testing/tests/toolchain/test_external.py b/buildroot-2022.02.1/support/testing/tests/toolchain/test_external.py new file mode 100644 index 00000000..d22f38ce --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/toolchain/test_external.py @@ -0,0 +1,256 @@ +import os +import infra + +BASIC_CONFIG = \ + """ + BR2_TARGET_ROOTFS_CPIO=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + + +def has_broken_links(path): + for root, dirs, files in os.walk(path): + for f in files: + fpath = os.path.join(root, f) + if not os.path.exists(fpath): + return True + return False + + +class TestExternalToolchain(infra.basetest.BRTest): + def common_check(self): + # Check for broken symlinks + for d in ["lib", "usr/lib"]: + path = os.path.join(self.builddir, "staging", d) + self.assertFalse(has_broken_links(path)) + path = os.path.join(self.builddir, "target", d) + self.assertFalse(has_broken_links(path)) + + with open(os.path.join(self.builddir, ".config"), 'r') as configf: + configlines = [line.strip() for line in configf.readlines()] + + if "BR2_BINFMT_ELF=y" in configlines: + interp = infra.get_elf_prog_interpreter(self.builddir, + self.toolchain_prefix, + "bin/busybox") + interp_path = os.path.join(self.builddir, "target", interp[1:]) + self.assertTrue(os.path.exists(interp_path)) + + +class TestExternalToolchainSourceryArmv4(TestExternalToolchain): + config = BASIC_CONFIG + \ + """ + BR2_arm=y + BR2_arm920t=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM=y + """ + toolchain_prefix = "arm-none-linux-gnueabi" + + def test_run(self): + TestExternalToolchain.common_check(self) + + # Check the architecture variant + arch = infra.get_file_arch(self.builddir, + self.toolchain_prefix, + "lib/libc.so.6") + self.assertEqual(arch, "v4T") + + # Check the sysroot symlink + symlink = os.path.join(self.builddir, "staging", "armv4t") + self.assertTrue(os.path.exists(symlink)) + self.assertEqual(os.readlink(symlink), "./") + + # Boot the system + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + +class TestExternalToolchainSourceryArmv5(TestExternalToolchain): + config = BASIC_CONFIG + \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM=y + """ + toolchain_prefix = "arm-none-linux-gnueabi" + + def test_run(self): + TestExternalToolchain.common_check(self) + + # Check the architecture variant + arch = infra.get_file_arch(self.builddir, + self.toolchain_prefix, + "lib/libc.so.6") + self.assertEqual(arch, "v5TE") + + # Boot the system + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv5", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + +class TestExternalToolchainSourceryArmv7(TestExternalToolchain): + config = BASIC_CONFIG + \ + """ + BR2_arm=y + BR2_cortex_a8=y + BR2_ARM_EABI=y + BR2_ARM_INSTRUCTIONS_THUMB2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM=y + """ + toolchain_prefix = "arm-none-linux-gnueabi" + + def test_run(self): + TestExternalToolchain.common_check(self) + + # Check the architecture variant + arch = infra.get_file_arch(self.builddir, + self.toolchain_prefix, + "lib/libc.so.6") + self.assertEqual(arch, "v7") + isa = infra.get_elf_arch_tag(self.builddir, + self.toolchain_prefix, + "lib/libc.so.6", + "Tag_THUMB_ISA_use") + self.assertEqual(isa, "Thumb-2") + + # Check we have the sysroot symlink + symlink = os.path.join(self.builddir, "staging", "thumb2") + self.assertTrue(os.path.exists(symlink)) + self.assertEqual(os.readlink(symlink), "./") + + # Boot the system + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + +class TestExternalToolchainLinaroArm(TestExternalToolchain): + config = BASIC_CONFIG + \ + """ + BR2_arm=y + BR2_cortex_a8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y + """ + toolchain_prefix = "arm-linux-gnueabihf" + + def test_run(self): + TestExternalToolchain.common_check(self) + + # Check the architecture variant + arch = infra.get_file_arch(self.builddir, + self.toolchain_prefix, + "lib/libc.so.6") + self.assertEqual(arch, "v7") + isa = infra.get_elf_arch_tag(self.builddir, + self.toolchain_prefix, + "lib/libc.so.6", + "Tag_THUMB_ISA_use") + self.assertEqual(isa, "Thumb-2") + + # Boot the system + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + +class TestExternalToolchainBuildrootMusl(TestExternalToolchain): + config = BASIC_CONFIG + \ + """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y + BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y + BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-cortex-a9-musl-2017.05-1078-g95b1dae.tar.bz2" + BR2_TOOLCHAIN_EXTERNAL_GCC_6=y + BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y + BR2_TOOLCHAIN_EXTERNAL_CXX=y + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + +class TestExternalToolchainCtngMusl(TestExternalToolchain): + config = BASIC_CONFIG + \ + """ + BR2_arm=y + BR2_cortex_a9=y + BR2_ARM_ENABLE_VFP=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y + BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y + BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.net/toolchains/tarballs/arm-ctng-linux-musleabihf.tar.xz" + BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="arm-ctng-linux-musleabihf" + BR2_TOOLCHAIN_EXTERNAL_GCC_7=y + BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y + BR2_TOOLCHAIN_EXTERNAL_CXX=y + """ + toolchain_prefix = "arm-ctng-linux-musleabihf" + + def test_run(self): + TestExternalToolchain.common_check(self) + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + +class TestExternalToolchainBuildrootuClibc(TestExternalToolchain): + config = BASIC_CONFIG + \ + """ + BR2_arm=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y + BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y + BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2017.05-1078-g95b1dae.tar.bz2" + BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y + BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y + BR2_TOOLCHAIN_EXTERNAL_LOCALE=y + # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set + BR2_TOOLCHAIN_EXTERNAL_CXX=y + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + img = os.path.join(self.builddir, "images", "rootfs.cpio") + self.emulator.boot(arch="armv7", + kernel="builtin", + options=["-initrd", img]) + self.emulator.login() + + +class TestExternalToolchainCCache(TestExternalToolchainBuildrootuClibc): + extraconfig = \ + """ + BR2_CCACHE=y + BR2_CCACHE_DIR="{builddir}/ccache-dir" + """ + + def __init__(self, names): + super(TestExternalToolchainBuildrootuClibc, self).__init__(names) + self.config += self.extraconfig.format(builddir=self.builddir) diff --git a/buildroot-2022.02.1/support/testing/tests/toolchain/test_external_bootlin.py b/buildroot-2022.02.1/support/testing/tests/toolchain/test_external_bootlin.py new file mode 100644 index 00000000..cf617430 --- /dev/null +++ b/buildroot-2022.02.1/support/testing/tests/toolchain/test_external_bootlin.py @@ -0,0 +1,2889 @@ +# This file was auto-generated by support/scripts/gen-bootlin-toolchains +# Do not edit +from tests.toolchain.test_external import TestExternalToolchain + + +class TestExternalToolchainBootlinAarch64GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64GlibcStable(TestExternalToolchain): + config = """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64MuslStable(TestExternalToolchain): + config = """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64UclibcStable(TestExternalToolchain): + config = """ + BR2_aarch64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64beGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_aarch64_be=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64_be-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64beGlibcStable(TestExternalToolchain): + config = """ + BR2_aarch64_be=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64_be-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64beUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_aarch64_be=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64_be-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinAarch64beUclibcStable(TestExternalToolchain): + config = """ + BR2_aarch64_be=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "aarch64_be-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArcle750dUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arcle=y + BR2_arc750d=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArcle750dUclibcStable(TestExternalToolchain): + config = """ + BR2_arcle=y + BR2_arc750d=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArclehs38GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arcle=y + BR2_archs38=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArclehs38GlibcStable(TestExternalToolchain): + config = """ + BR2_arcle=y + BR2_archs38=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArclehs38UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arcle=y + BR2_archs38=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArclehs38UclibcStable(TestExternalToolchain): + config = """ + BR2_arcle=y + BR2_archs38=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv5eabiGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm926t=y + BR2_ARM_EABI=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv5eabiGlibcStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm926t=y + BR2_ARM_EABI=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv5eabiMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm926t=y + BR2_ARM_EABI=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv5eabiMuslStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm926t=y + BR2_ARM_EABI=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv5eabiUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm926t=y + BR2_ARM_EABI=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv5eabiUclibcStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm926t=y + BR2_ARM_EABI=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv6eabihfGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm1176jzf_s=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv6eabihfGlibcStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm1176jzf_s=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv6eabihfMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm1176jzf_s=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv6eabihfMuslStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm1176jzf_s=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv6eabihfUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm1176jzf_s=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv6eabihfUclibcStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_arm1176jzf_s=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv7eabihfGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_cortex_a8=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv7eabihfGlibcStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_cortex_a8=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv7eabihfMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_cortex_a8=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv7eabihfMuslStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_cortex_a8=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv7eabihfUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_cortex_a8=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv7eabihfUclibcStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_cortex_a8=y + BR2_ARM_EABIHF=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv7mUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_cortex_m4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinArmv7mUclibcStable(TestExternalToolchain): + config = """ + BR2_arm=y + BR2_cortex_m4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "arm-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinM68k68xxxUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_m68k=y + BR2_m68k_68040=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "m68k-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinM68k68xxxUclibcStable(TestExternalToolchain): + config = """ + BR2_m68k=y + BR2_m68k_68040=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "m68k-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinM68kcoldfireUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_m68k=y + BR2_m68k_cf5208=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "m68k-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinM68kcoldfireUclibcStable(TestExternalToolchain): + config = """ + BR2_m68k=y + BR2_m68k_cf5208=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "m68k-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazebeGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_microblazebe=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblaze-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazebeGlibcStable(TestExternalToolchain): + config = """ + BR2_microblazebe=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblaze-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazebeMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_microblazebe=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblaze-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazebeMuslStable(TestExternalToolchain): + config = """ + BR2_microblazebe=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblaze-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazebeUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_microblazebe=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblaze-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazebeUclibcStable(TestExternalToolchain): + config = """ + BR2_microblazebe=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblaze-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazeelGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_microblazeel=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblazeel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazeelGlibcStable(TestExternalToolchain): + config = """ + BR2_microblazeel=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblazeel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazeelMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_microblazeel=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblazeel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazeelMuslStable(TestExternalToolchain): + config = """ + BR2_microblazeel=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblazeel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazeelUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_microblazeel=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblazeel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMicroblazeelUclibcStable(TestExternalToolchain): + config = """ + BR2_microblazeel=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "microblazeel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32GlibcStable(TestExternalToolchain): + config = """ + BR2_mips=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32MuslStable(TestExternalToolchain): + config = """ + BR2_mips=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32UclibcStable(TestExternalToolchain): + config = """ + BR2_mips=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32elGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32elGlibcStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32elMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32elMuslStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32elUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32elUclibcStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r5elGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r5=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r5elGlibcStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r5=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r5elMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r5=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r5elMuslStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r5=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r5elUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r5=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r5elUclibcStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r5=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r6elGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r6=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r6elGlibcStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r6=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r6elMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r6=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r6elMuslStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r6=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r6elUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r6=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips32r6elUclibcStable(TestExternalToolchain): + config = """ + BR2_mipsel=y + BR2_mips_32r6=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mipsel-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64n32GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64n32GlibcStable(TestExternalToolchain): + config = """ + BR2_mips64=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64n32MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64n32MuslStable(TestExternalToolchain): + config = """ + BR2_mips64=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64n32UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64n32UclibcStable(TestExternalToolchain): + config = """ + BR2_mips64=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64eln32GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64eln32GlibcStable(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64eln32MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64eln32MuslStable(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64eln32UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64eln32UclibcStable(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64r6eln32GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64r6=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64r6eln32GlibcStable(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64r6=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64r6eln32MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64r6=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64r6eln32MuslStable(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64r6=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64r6eln32UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64r6=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinMips64r6eln32UclibcStable(TestExternalToolchain): + config = """ + BR2_mips64el=y + BR2_mips_64r6=y + BR2_MIPS_NABI32=y + # BR2_MIPS_SOFT_FLOAT is not set + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "mips64el-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinNios2GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_nios2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "nios2-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinNios2GlibcStable(TestExternalToolchain): + config = """ + BR2_nios2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "nios2-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinOpenriscMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_or1k=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "or1k-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinOpenriscMuslStable(TestExternalToolchain): + config = """ + BR2_or1k=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "or1k-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinOpenriscUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_or1k=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "or1k-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinOpenriscUclibcStable(TestExternalToolchain): + config = """ + BR2_or1k=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "or1k-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc440fpGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_440fp=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc440fpGlibcStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_440fp=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc440fpMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_440fp=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc440fpMuslStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_440fp=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc440fpUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_440fp=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc440fpUclibcStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_440fp=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce300c3GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e300c3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce300c3GlibcStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e300c3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce300c3MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e300c3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce300c3MuslStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e300c3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce300c3UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e300c3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce300c3UclibcStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e300c3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce500mcGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e500mc=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce500mcGlibcStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e500mc=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce500mcMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e500mc=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce500mcMuslStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e500mc=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce500mcUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e500mc=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpce500mcUclibcStable(TestExternalToolchain): + config = """ + BR2_powerpc=y + BR2_powerpc_e500mc=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64e5500GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_e5500=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64e5500GlibcStable(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_e5500=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64e6500GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_e6500=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64e6500GlibcStable(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_e6500=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64e6500MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_e6500=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64e6500MuslStable(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_e6500=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64power8GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_power8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64power8GlibcStable(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_power8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64power8MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_power8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64power8MuslStable(TestExternalToolchain): + config = """ + BR2_powerpc64=y + BR2_powerpc_power8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64lepower8GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc64le=y + BR2_powerpc_power8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64le-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64lepower8GlibcStable(TestExternalToolchain): + config = """ + BR2_powerpc64le=y + BR2_powerpc_power8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64le-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64lepower8MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_powerpc64le=y + BR2_powerpc_power8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64le-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinPowerpc64lepower8MuslStable(TestExternalToolchain): + config = """ + BR2_powerpc64le=y + BR2_powerpc_power8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "powerpc64le-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinRiscv32ilp32dGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_32=y + BR2_RISCV_ABI_ILP32D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv32-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinRiscv64lp64dGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_64=y + BR2_RISCV_ABI_LP64D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinRiscv64lp64dGlibcStable(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_64=y + BR2_RISCV_ABI_LP64D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinRiscv64lp64dMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_64=y + BR2_RISCV_ABI_LP64D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinRiscv64lp64dMuslStable(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_64=y + BR2_RISCV_ABI_LP64D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinRiscv64lp64dUclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_64=y + BR2_RISCV_ABI_LP64D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinRiscv64lp64dUclibcStable(TestExternalToolchain): + config = """ + BR2_riscv=y + BR2_riscv_g=y + BR2_RISCV_64=y + BR2_RISCV_ABI_LP64D=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "riscv64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4GlibcStable(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4MuslStable(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4UclibcStable(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4aebGlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4aeb=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4aeb-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4aebGlibcStable(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4aeb=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4aeb-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4aebMuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4aeb=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4aeb-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinShsh4aebMuslStable(TestExternalToolchain): + config = """ + BR2_sh=y + BR2_sh4aeb=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sh4aeb-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinSparc64GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_sparc64=y + BR2_sparc_v9=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sparc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinSparc64GlibcStable(TestExternalToolchain): + config = """ + BR2_sparc64=y + BR2_sparc_v9=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sparc64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinSparcv8UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_sparc=y + BR2_sparc_v8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sparc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinSparcv8UclibcStable(TestExternalToolchain): + config = """ + BR2_sparc=y + BR2_sparc_v8=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "sparc-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664GlibcStable(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664MuslStable(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664UclibcStable(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v2GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v2MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v2UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v3GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v3MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v3UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v3=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v4GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v4MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664v4UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_x86_64_v4=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664corei7GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_corei7=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664corei7GlibcStable(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_corei7=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664corei7MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_corei7=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664corei7MuslStable(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_corei7=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664corei7UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_corei7=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX8664corei7UclibcStable(TestExternalToolchain): + config = """ + BR2_x86_64=y + BR2_x86_corei7=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "x86_64-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86core2GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_core2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86core2GlibcStable(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_core2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86core2MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_core2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86core2MuslStable(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_core2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86core2UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_core2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86core2UclibcStable(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_core2=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86i686GlibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_i686=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86i686GlibcStable(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_i686=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86i686MuslBleedingEdge(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_i686=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86i686MuslStable(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_i686=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86i686UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_i686=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinX86i686UclibcStable(TestExternalToolchain): + config = """ + BR2_i386=y + BR2_x86_i686=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "i686-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinXtensalx60UclibcBleedingEdge(TestExternalToolchain): + config = """ + BR2_xtensa=y + BR2_XTENSA_CUSTOM=y + BR2_XTENSA_LITTLE_ENDIAN=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_BLEEDING_EDGE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "xtensa-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) + + +class TestExternalToolchainBootlinXtensalx60UclibcStable(TestExternalToolchain): + config = """ + BR2_xtensa=y + BR2_XTENSA_CUSTOM=y + BR2_XTENSA_LITTLE_ENDIAN=y + BR2_TOOLCHAIN_EXTERNAL=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y + BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE=y + # BR2_TARGET_ROOTFS_TAR is not set + """ + toolchain_prefix = "xtensa-linux" + + def test_run(self): + TestExternalToolchain.common_check(self) diff --git a/buildroot-2021.05/system/skeleton/mnt/.empty b/buildroot-2022.02.1/support/testing/tests/utils/__init__.py similarity index 100% rename from buildroot-2021.05/system/skeleton/mnt/.empty rename to buildroot-2022.02.1/support/testing/tests/utils/__init__.py diff --git a/buildroot-2021.05/support/testing/tests/utils/br2-external/Config.in b/buildroot-2022.02.1/support/testing/tests/utils/br2-external/Config.in similarity index 100% rename from buildroot-2021.05/support/testing/tests/utils/br2-external/Config.in rename to buildroot-2022.02.1/support/testing/tests/utils/br2-external/Config.in diff --git a/buildroot-2021.05/support/testing/tests/utils/br2-external/external.desc b/buildroot-2022.02.1/support/testing/tests/utils/br2-external/external.desc similarity index 100% rename from buildroot-2021.05/support/testing/tests/utils/br2-external/external.desc rename to buildroot-2022.02.1/support/testing/tests/utils/br2-external/external.desc diff --git a/buildroot-2021.05/support/testing/tests/utils/br2-external/external.mk b/buildroot-2022.02.1/support/testing/tests/utils/br2-external/external.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/utils/br2-external/external.mk rename to buildroot-2022.02.1/support/testing/tests/utils/br2-external/external.mk diff --git a/buildroot-2021.05/support/testing/tests/utils/br2-external/package/external/external.mk b/buildroot-2022.02.1/support/testing/tests/utils/br2-external/package/external/external.mk similarity index 100% rename from buildroot-2021.05/support/testing/tests/utils/br2-external/package/external/external.mk rename to buildroot-2022.02.1/support/testing/tests/utils/br2-external/package/external/external.mk diff --git a/buildroot-2021.05/support/testing/tests/utils/test_check_package.py b/buildroot-2022.02.1/support/testing/tests/utils/test_check_package.py similarity index 100% rename from buildroot-2021.05/support/testing/tests/utils/test_check_package.py rename to buildroot-2022.02.1/support/testing/tests/utils/test_check_package.py diff --git a/buildroot-2022.02.1/system/Config.in b/buildroot-2022.02.1/system/Config.in new file mode 100644 index 00000000..a4ffbfa1 --- /dev/null +++ b/buildroot-2022.02.1/system/Config.in @@ -0,0 +1,631 @@ +menu "System configuration" + +# Note on package/skeleton: usually, it is not safe to 'select' a +# provider of a virtual package. But below we have an exception: each +# init system may select one of the virtual skeleton-init-* packages. +# As only one init system may be enabled, only one skeleton-init-* may +# be selected. So this is a safe situation. +choice + prompt "Root FS skeleton" + +config BR2_ROOTFS_SKELETON_DEFAULT + bool "default target skeleton" + help + Use default target skeleton for selected init system. + +config BR2_ROOTFS_SKELETON_CUSTOM + bool "custom target skeleton" + select BR2_PACKAGE_SKELETON_CUSTOM + help + Use custom target skeleton. + +# skeleton from br2-external trees, if any +source "$BR2_BASE_DIR/.br2-external.in.skeleton" + +endchoice + +if BR2_ROOTFS_SKELETON_CUSTOM + +config BR2_ROOTFS_SKELETON_CUSTOM_PATH + string "custom target skeleton path" + help + Path to custom target skeleton. + +endif + +if BR2_ROOTFS_SKELETON_DEFAULT + +config BR2_TARGET_GENERIC_HOSTNAME + string "System hostname" + default "buildroot" + help + Select system hostname to be stored in /etc/hostname. + + Leave empty to not create /etc/hostname, or to keep the + one from a custom skeleton. + +config BR2_TARGET_GENERIC_ISSUE + string "System banner" + default "Welcome to Buildroot" + help + Select system banner (/etc/issue) to be displayed at login. + + Leave empty to not create /etc/issue, or to keep the + one from a custom skeleton. + +endif + +choice + bool "Passwords encoding" + default BR2_TARGET_GENERIC_PASSWD_SHA256 + help + Choose the password encoding scheme to use when Buildroot + needs to encode a password (eg. the root password, below). + + Note: this is used at build-time, and *not* at runtime. + +config BR2_TARGET_GENERIC_PASSWD_SHA256 + bool "sha-256" + help + Use SHA256 to encode passwords which is stronger than MD5. + +config BR2_TARGET_GENERIC_PASSWD_SHA512 + bool "sha-512" + help + Use SHA512 to encode passwords which is stronger than SHA256 + +endchoice # Passwd encoding + +config BR2_TARGET_GENERIC_PASSWD_METHOD + string + default "md5" if BR2_TARGET_GENERIC_PASSWD_MD5 + default "sha-256" if BR2_TARGET_GENERIC_PASSWD_SHA256 + default "sha-512" if BR2_TARGET_GENERIC_PASSWD_SHA512 + +# See comment at the top of the file, about selecting individual +# skeletons, which are providers of the virtual skeleton package. +choice + prompt "Init system" + default BR2_INIT_BUSYBOX + +config BR2_INIT_BUSYBOX + bool "BusyBox" + select BR2_PACKAGE_BUSYBOX + select BR2_PACKAGE_INITSCRIPTS + select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT + +config BR2_INIT_SYSV + bool "systemV" + depends on BR2_USE_MMU # sysvinit + select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS # sysvinit + select BR2_PACKAGE_INITSCRIPTS + select BR2_PACKAGE_SYSVINIT + select BR2_PACKAGE_SKELETON_INIT_SYSV if BR2_ROOTFS_SKELETON_DEFAULT + +config BR2_INIT_OPENRC + bool "OpenRC" + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_OPENRC + select BR2_PACKAGE_SKELETON_INIT_OPENRC if BR2_ROOTFS_SKELETON_DEFAULT + +comment "openrc needs a toolchain w/ dynamic library" + depends on BR2_USE_MMU + depends on BR2_STATIC_LIBS + +# In Buildroot, we decided not to support a split-usr when systemd is +# used as an init system. This is a design decision, not a systemd +# issue. Thus the select is with BR2_INIT_SYSTEMD (below) rather than +# with BR2_PACKAGE_SYSTEMD. +config BR2_INIT_SYSTEMD + bool "systemd" + depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + depends on BR2_TOOLCHAIN_USES_GLIBC + depends on BR2_TOOLCHAIN_HAS_SSP + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 + depends on BR2_HOST_GCC_AT_LEAST_5 + select BR2_ROOTFS_MERGED_USR + select BR2_PACKAGE_SYSTEMD + select BR2_PACKAGE_SKELETON_INIT_SYSTEMD if BR2_ROOTFS_SKELETON_DEFAULT + +comment "systemd needs a glibc toolchain w/ SSP, headers >= 3.10, host and target gcc >= 5" + depends on BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_USES_GLIBC || \ + !BR2_TOOLCHAIN_HAS_SSP || \ + !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \ + !BR2_HOST_GCC_AT_LEAST_5 + +config BR2_INIT_NONE + bool "None" + select BR2_PACKAGE_SKELETON_INIT_NONE if BR2_ROOTFS_SKELETON_DEFAULT + help + Buildroot will not install any init system. You will + have to provide your own, either with a new package + or with a rootfs-overlay. + +# Init systems from br2-external trees, if any +source "$BR2_BASE_DIR/.br2-external.in.init" + +endchoice + +choice + prompt "/dev management" if !BR2_INIT_SYSTEMD + default BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS + +config BR2_ROOTFS_DEVICE_CREATION_STATIC + bool "Static using device table" + +config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS + bool "Dynamic using devtmpfs only" + +config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV + bool "Dynamic using devtmpfs + mdev" + select BR2_PACKAGE_BUSYBOX + +config BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV + bool "Dynamic using devtmpfs + eudev" + depends on BR2_USE_WCHAR # eudev + depends on !BR2_STATIC_LIBS + depends on BR2_USE_MMU # eudev + select BR2_PACKAGE_EUDEV + +comment "eudev needs a toolchain w/ wchar, dynamic library" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS + +endchoice + +comment "/dev management using udev (from systemd)" + depends on BR2_INIT_SYSTEMD + +config BR2_ROOTFS_DEVICE_TABLE + string "Path to the permission tables" + default "system/device_table.txt" + help + Specify a space-separated list of permission table locations, + that will be passed to the makedevs utility to assign + correct owners and permissions on various files in the + target filesystem. + + See package/makedevs/README for details on the usage and + syntax of these files. + +config BR2_ROOTFS_STATIC_DEVICE_TABLE + string "Path to the device tables" + default "system/device_table_dev.txt" + depends on BR2_ROOTFS_DEVICE_CREATION_STATIC + help + Specify a space-separated list of device table locations, + that will be passed to the makedevs utility to create all + the special device files under /dev. + + See package/makedevs/README for details on the usage and + syntax of these files. + +config BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES + bool "support extended attributes in device tables" + help + Support extended attributes handling in device tables + +config BR2_ROOTFS_MERGED_USR + bool "Use symlinks to /usr for /bin, /sbin and /lib" + help + If you say 'n' here, then /bin, /sbin and /lib and their + counterparts in /usr will be separate directories. This + is the historical UNIX way. In this case, /usr can be a + filesystem on a partition separate from / . + + If you say 'y' here, then /bin, /sbin and /lib will be + symlinks to their counterparts in /usr. In this case, /usr can + not be a separate filesystem. + +if BR2_ROOTFS_SKELETON_DEFAULT + +config BR2_TARGET_ENABLE_ROOT_LOGIN + bool "Enable root login with password" + default y + select BR2_PACKAGE_HOST_MKPASSWD if BR2_TARGET_GENERIC_ROOT_PASSWD != "" + help + Allow root to log in with a password. + + If not enabled, root will not be able to log in with a + password. However, if you have an ssh server and you add an + ssh key, you can still allow root to log in. Alternatively, + you can use sudo to become root. + +config BR2_TARGET_GENERIC_ROOT_PASSWD + string "Root password" + default "" + depends on BR2_TARGET_ENABLE_ROOT_LOGIN + help + Set the initial root password. + + If set to empty (the default), then no root password will be + set, and root will need no password to log in. + + If the password starts with any of $1$, $5$ or $6$, it is + considered to be already crypt-encoded with respectively md5, + sha256 or sha512. Any other value is taken to be a clear-text + value, and is crypt-encoded as per the "Passwords encoding" + scheme, above. + + Note: "$" signs in the hashed password must be doubled. For + example, if the hashed password is + "$1$longsalt$v35DIIeMo4yUfI23yditq0", then you must enter it + as "$$1$$longsalt$$v35DIIeMo4yUfI23yditq0" (this is necessary + otherwise make would attempt to interpret the $ as a variable + expansion). + + WARNING! WARNING! + The password appears as-is in the .config file, and may appear + in the build log! Avoid using a valuable password if either + the .config file or the build log may be distributed, or at + the very least use a strong cryptographic hash for your + password! + +choice + bool "/bin/sh" + default BR2_SYSTEM_BIN_SH_DASH if !BR2_PACKAGE_BUSYBOX + help + Select which shell will provide /bin/sh. + +# busybox has shells that work on noMMU +config BR2_SYSTEM_BIN_SH_BUSYBOX + bool "busybox' default shell" + depends on BR2_PACKAGE_BUSYBOX + +config BR2_SYSTEM_BIN_SH_BASH + bool "bash" + depends on BR2_USE_MMU # bash + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_BASH + +config BR2_SYSTEM_BIN_SH_DASH + bool "dash" + depends on BR2_USE_MMU # dash + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_DASH + +config BR2_SYSTEM_BIN_SH_MKSH + bool "mksh" + depends on BR2_USE_MMU # mksh + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_MKSH + +config BR2_SYSTEM_BIN_SH_ZSH + bool "zsh" + depends on BR2_USE_MMU # zsh + depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS + select BR2_PACKAGE_ZSH + +comment "bash, dash, mksh, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS" + depends on !BR2_PACKAGE_BUSYBOX_SHOW_OTHERS && BR2_PACKAGE_BUSYBOX + +config BR2_SYSTEM_BIN_SH_NONE + bool "none" + +endchoice # /bin/sh + +config BR2_SYSTEM_BIN_SH + string + default "bash" if BR2_SYSTEM_BIN_SH_BASH + default "dash" if BR2_SYSTEM_BIN_SH_DASH + default "mksh" if BR2_SYSTEM_BIN_SH_MKSH + default "zsh" if BR2_SYSTEM_BIN_SH_ZSH + +menuconfig BR2_TARGET_GENERIC_GETTY + bool "Run a getty (login prompt) after boot" + default y + +if BR2_TARGET_GENERIC_GETTY +config BR2_TARGET_GENERIC_GETTY_PORT + string "TTY port" + default "console" + help + Specify a port to run a getty on. + +choice + prompt "Baudrate" + default BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP + help + Select a baudrate to use. + +config BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP + bool "keep kernel default" +config BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 + bool "9600" +config BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 + bool "19200" +config BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 + bool "38400" +config BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 + bool "57600" +config BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200 + bool "115200" +endchoice + +config BR2_TARGET_GENERIC_GETTY_BAUDRATE + string + default "0" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_KEEP + default "9600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_9600 + default "19200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_19200 + default "38400" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_38400 + default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600 + default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200 + +config BR2_TARGET_GENERIC_GETTY_TERM + string "TERM environment variable" + default "vt100" + # currently observed by all but systemd + depends on !BR2_INIT_SYSTEMD + help + Specify a TERM type. + +config BR2_TARGET_GENERIC_GETTY_OPTIONS + string "other options to pass to getty" + default "" + # currently observed by all but systemd + depends on !BR2_INIT_SYSTEMD + help + Any other flags you want to pass to getty, + Refer to getty --help for details. +endif + +config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW + bool "remount root filesystem read-write during boot" + default y + help + The root filesystem is typically mounted read-only at boot. + By default, buildroot remounts it in read-write mode early + during the boot process. + Say no here if you would rather like your root filesystem to + remain read-only. + If unsure, say Y. + +config BR2_SYSTEM_DHCP + string "Network interface to configure through DHCP" + default "" + depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \ + BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC + help + Enter here the name of the network interface (E.G. eth0) to + automatically configure through DHCP at bootup. + + If left empty, no automatic DHCP requests will take place. + + For more complicated network setups use an overlay to + overwrite /etc/network/interfaces or add a networkd + configuration file. + +comment "automatic network configuration via DHCP needs ifupdown or busybox or networkd or netifrc" + depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_IFUPDOWN || \ + BR2_PACKAGE_SYSTEMD_NETWORKD || BR2_PACKAGE_NETIFRC) + +endif # BR2_ROOTFS_SKELETON_DEFAULT + +config BR2_SYSTEM_DEFAULT_PATH + string "Set the system's default PATH" + default "/usr/bin:/usr/sbin" if BR2_ROOTFS_MERGED_USR + default "/bin:/sbin:/usr/bin:/usr/sbin" if !BR2_ROOTFS_MERGED_USR + help + Sets the system's default PATH. It is being used in + /etc/profile in the skeleton-init-common package and by some + daemons. + + The default should work in most cases. + +config BR2_ENABLE_LOCALE_PURGE + bool "Purge unwanted locales" + default y + help + Explicitly specify what locales to install on target. If N + then all locales supported by packages are installed. + +config BR2_ENABLE_LOCALE_WHITELIST + string "Locales to keep" + default "C en_US" + depends on BR2_ENABLE_LOCALE_PURGE + help + Whitespace seperated list of locales to allow on target. + Locales not listed here will be removed from the target. + See 'locale -a' on your host for a list of locales available + on your build host, or have a look in /usr/share/locale in + the target file system for available locales. + + Notice that listing a locale here doesn't guarantee that it + will be available on the target - That purely depends on the + support for that locale in the selected packages. + +config BR2_GENERATE_LOCALE + string "Generate locale data" + default "" + depends on \ + (BR2_TOOLCHAIN_BUILDROOT_UCLIBC && BR2_ENABLE_LOCALE) || \ + BR2_TOOLCHAIN_USES_GLIBC + help + Generate support for a list of locales. Locales can be + specified with or without encoding, when no encoding is + specified, UTF-8 is assumed. Examples of locales: en_US, + fr_FR.UTF-8. + +config BR2_SYSTEM_ENABLE_NLS + bool "Enable Native Language Support (NLS)" + depends on BR2_USE_WCHAR + # - glibc has built-in NLS support, but anyway doesn't + # support static linking + # - musl and uclibc support static linking, but they don't + # have built-in NLS support, which is provided by the + # libintl library from gettext. The fact that it is a + # separate library causes too many problems for static + # linking. + depends on !BR2_STATIC_LIBS + select BR2_PACKAGE_GETTEXT if !BR2_TOOLCHAIN_HAS_FULL_GETTEXT + help + This option will enable Native Language Support, which will + allow software packages to support translations. + +comment "NLS support needs a toolchain w/ wchar, dynamic library" + depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS + +config BR2_TARGET_TZ_INFO + bool "Install timezone info" + select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC + select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_MUSL + select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC + help + Say 'y' here to install timezone info. + +if BR2_TARGET_TZ_INFO + +config BR2_TARGET_TZ_ZONELIST + string "timezone list" + default "default" + help + Space-separated list of time zones to compile. + + The value "default" includes all commonly used time zones. + Note that this set consumes around 5.5M for glibc and 2.1M for + uClibc. + + The full list is the list of files in the time zone database + source, not including the build and .tab files. + +config BR2_TARGET_LOCALTIME + string "default local time" + default "Etc/UTC" + help + The time zone to install as the default local time, expressed + as a tzdata location, such as: + Etc/UTC (the default) + GMT + Europe/Paris + America/New_York + Pacific/Wallis + ... + + Set to empty to not install a default time zone. + +endif # BR2_TARGET_TZ_INFO + +config BR2_ROOTFS_USERS_TABLES + string "Path to the users tables" + help + Specify a space-separated list of users table locations, + that will be passed to the mkusers utility to create + users on the system, with home directory, password, etc. + + See manual for details on the usage and syntax of these files. + +config BR2_ROOTFS_OVERLAY + string "Root filesystem overlay directories" + default "" + help + Specify a list of directories that are copied over the target + root filesystem after the build has finished and before it is + packed into the selected filesystem images. + + They are copied as-is into the rootfs, excluding files ending + with ~ and .git, .svn and .hg directories. + +config BR2_ROOTFS_PRE_BUILD_SCRIPT + string "Custom scripts to run before commencing the build" + default "" + help + Specify a space-separated list of scripts to be run before the + build commences. + + This gives users the opportunity to do board-specific + preparations before starting the build. + +config BR2_ROOTFS_POST_BUILD_SCRIPT + string "Custom scripts to run before creating filesystem images" + default "" + help + Specify a space-separated list of scripts to be run after the + build has finished and before Buildroot starts packing the + files into selected filesystem images. + + This gives users the opportunity to do board-specific + cleanups, add-ons and the like, so the generated files can be + used directly without further processing. + + These scripts are called with the target directory name as + first argument. Make sure the exit code of those scripts are + 0, otherwise make will stop after calling them. + +config BR2_ROOTFS_POST_FAKEROOT_SCRIPT + string "Custom scripts to run inside the fakeroot environment" + default "" + help + Specify a space-separated list of scripts to be run at the end + of the fakeroot script right before the image(s) are actually + generated. + + This gives users the opportunity to do customisations of the + content of the rootfs, which would otherwise require root + rights. + + These scripts are called with the target directory name as + first argument. The build will fail on the first scripts that + exits with a non-zero exit code. + + Note that Buildroot already provides mechanisms to customise + the content of the rootfs: + + - BR2_ROOTFS_STATIC_DEVICE_TABLE + to create arbitrary entries statically in /dev + + - BR2_ROOTFS_DEVICE_TABLE + to set arbitrary permissions as well as extended + attributes (such as capabilities) on files and + directories, + + - BR2_ROOTFS_USERS_TABLES: + to create arbitrary users and their home directories + + It is highly recommended to use those mechanisms if possible, + rather than using custom fakeroot scripts. + +config BR2_ROOTFS_POST_IMAGE_SCRIPT + string "Custom scripts to run after creating filesystem images" + default "" + help + Specify a space-separated list of scripts to be run after + the build has finished and after Buildroot has packed the + files into selected filesystem images. + + This can for example be used to call a tool building a + firmware image from different images generated by Buildroot, + or automatically extract the tarball root filesystem image + into some location exported by NFS, or any other custom + action. + + These scripts are called with the images directory name as + first argument. The script is executed from the main Buildroot + source directory as the current directory. + +config BR2_ROOTFS_POST_SCRIPT_ARGS + string "Extra arguments passed to custom scripts" + depends on BR2_ROOTFS_POST_BUILD_SCRIPT != "" \ + || BR2_ROOTFS_POST_FAKEROOT_SCRIPT != "" \ + || BR2_ROOTFS_POST_IMAGE_SCRIPT != "" + help + Pass these additional arguments to each post-build or + post-image scripts. + + Note that all the post-build and post-image scripts will be + passed the same set of arguments, you can not pass different + arguments to each script. + + Note also, as stated in their respective help text, that the + first argument to each post-build or post-image script is the + target directory / images directory. The arguments in this + option will be passed *after* those. + +endmenu diff --git a/buildroot-2021.05/system/device_table.txt b/buildroot-2022.02.1/system/device_table.txt similarity index 100% rename from buildroot-2021.05/system/device_table.txt rename to buildroot-2022.02.1/system/device_table.txt diff --git a/buildroot-2021.05/system/device_table_dev.txt b/buildroot-2022.02.1/system/device_table_dev.txt similarity index 100% rename from buildroot-2021.05/system/device_table_dev.txt rename to buildroot-2022.02.1/system/device_table_dev.txt diff --git a/buildroot-2021.05/system/skeleton/opt/.empty b/buildroot-2022.02.1/system/skeleton/dev/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/opt/.empty rename to buildroot-2022.02.1/system/skeleton/dev/.empty diff --git a/buildroot-2021.05/system/skeleton/dev/fd b/buildroot-2022.02.1/system/skeleton/dev/fd similarity index 100% rename from buildroot-2021.05/system/skeleton/dev/fd rename to buildroot-2022.02.1/system/skeleton/dev/fd diff --git a/buildroot-2021.05/system/skeleton/dev/stderr b/buildroot-2022.02.1/system/skeleton/dev/stderr similarity index 100% rename from buildroot-2021.05/system/skeleton/dev/stderr rename to buildroot-2022.02.1/system/skeleton/dev/stderr diff --git a/buildroot-2021.05/system/skeleton/dev/stdin b/buildroot-2022.02.1/system/skeleton/dev/stdin similarity index 100% rename from buildroot-2021.05/system/skeleton/dev/stdin rename to buildroot-2022.02.1/system/skeleton/dev/stdin diff --git a/buildroot-2021.05/system/skeleton/dev/stdout b/buildroot-2022.02.1/system/skeleton/dev/stdout similarity index 100% rename from buildroot-2021.05/system/skeleton/dev/stdout rename to buildroot-2022.02.1/system/skeleton/dev/stdout diff --git a/buildroot-2021.05/system/skeleton/etc/group b/buildroot-2022.02.1/system/skeleton/etc/group similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/group rename to buildroot-2022.02.1/system/skeleton/etc/group diff --git a/buildroot-2021.05/system/skeleton/etc/hosts b/buildroot-2022.02.1/system/skeleton/etc/hosts similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/hosts rename to buildroot-2022.02.1/system/skeleton/etc/hosts diff --git a/buildroot-2021.05/system/skeleton/etc/mtab b/buildroot-2022.02.1/system/skeleton/etc/mtab similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/mtab rename to buildroot-2022.02.1/system/skeleton/etc/mtab diff --git a/buildroot-2021.05/system/skeleton/etc/passwd b/buildroot-2022.02.1/system/skeleton/etc/passwd similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/passwd rename to buildroot-2022.02.1/system/skeleton/etc/passwd diff --git a/buildroot-2021.05/system/skeleton/etc/profile b/buildroot-2022.02.1/system/skeleton/etc/profile similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/profile rename to buildroot-2022.02.1/system/skeleton/etc/profile diff --git a/buildroot-2021.05/system/skeleton/etc/profile.d/umask.sh b/buildroot-2022.02.1/system/skeleton/etc/profile.d/umask.sh similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/profile.d/umask.sh rename to buildroot-2022.02.1/system/skeleton/etc/profile.d/umask.sh diff --git a/buildroot-2021.05/system/skeleton/etc/protocols b/buildroot-2022.02.1/system/skeleton/etc/protocols similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/protocols rename to buildroot-2022.02.1/system/skeleton/etc/protocols diff --git a/buildroot-2021.05/system/skeleton/etc/resolv.conf b/buildroot-2022.02.1/system/skeleton/etc/resolv.conf similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/resolv.conf rename to buildroot-2022.02.1/system/skeleton/etc/resolv.conf diff --git a/buildroot-2021.05/system/skeleton/etc/services b/buildroot-2022.02.1/system/skeleton/etc/services similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/services rename to buildroot-2022.02.1/system/skeleton/etc/services diff --git a/buildroot-2021.05/system/skeleton/etc/shadow b/buildroot-2022.02.1/system/skeleton/etc/shadow similarity index 100% rename from buildroot-2021.05/system/skeleton/etc/shadow rename to buildroot-2022.02.1/system/skeleton/etc/shadow diff --git a/buildroot-2021.05/system/skeleton/proc/.empty b/buildroot-2022.02.1/system/skeleton/media/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/proc/.empty rename to buildroot-2022.02.1/system/skeleton/media/.empty diff --git a/buildroot-2021.05/system/skeleton/root/.empty b/buildroot-2022.02.1/system/skeleton/mnt/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/root/.empty rename to buildroot-2022.02.1/system/skeleton/mnt/.empty diff --git a/buildroot-2021.05/system/skeleton/run/.empty b/buildroot-2022.02.1/system/skeleton/opt/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/run/.empty rename to buildroot-2022.02.1/system/skeleton/opt/.empty diff --git a/buildroot-2021.05/system/skeleton/sys/.empty b/buildroot-2022.02.1/system/skeleton/proc/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/sys/.empty rename to buildroot-2022.02.1/system/skeleton/proc/.empty diff --git a/buildroot-2021.05/system/skeleton/tmp/.empty b/buildroot-2022.02.1/system/skeleton/root/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/tmp/.empty rename to buildroot-2022.02.1/system/skeleton/root/.empty diff --git a/buildroot-2021.05/system/skeleton/usr/bin/.empty b/buildroot-2022.02.1/system/skeleton/run/lock/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/usr/bin/.empty rename to buildroot-2022.02.1/system/skeleton/run/lock/.empty diff --git a/buildroot-2021.05/system/skeleton/usr/lib/.empty b/buildroot-2022.02.1/system/skeleton/sys/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/usr/lib/.empty rename to buildroot-2022.02.1/system/skeleton/sys/.empty diff --git a/buildroot-2021.05/system/skeleton/usr/sbin/.empty b/buildroot-2022.02.1/system/skeleton/tmp/.empty similarity index 100% rename from buildroot-2021.05/system/skeleton/usr/sbin/.empty rename to buildroot-2022.02.1/system/skeleton/tmp/.empty diff --git a/buildroot-2022.02.1/system/skeleton/usr/bin/.empty b/buildroot-2022.02.1/system/skeleton/usr/bin/.empty new file mode 100644 index 00000000..e69de29b diff --git a/buildroot-2022.02.1/system/skeleton/usr/lib/.empty b/buildroot-2022.02.1/system/skeleton/usr/lib/.empty new file mode 100644 index 00000000..e69de29b diff --git a/buildroot-2022.02.1/system/skeleton/usr/sbin/.empty b/buildroot-2022.02.1/system/skeleton/usr/sbin/.empty new file mode 100644 index 00000000..e69de29b diff --git a/buildroot-2021.05/system/system.mk b/buildroot-2022.02.1/system/system.mk similarity index 100% rename from buildroot-2021.05/system/system.mk rename to buildroot-2022.02.1/system/system.mk diff --git a/buildroot-2022.02.1/toolchain/Config.in b/buildroot-2022.02.1/toolchain/Config.in new file mode 100644 index 00000000..d2c81217 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/Config.in @@ -0,0 +1,830 @@ +menu "Toolchain" + +# Invisible option that makes sure the toolchain package always gets +# built +config BR2_TOOLCHAIN + bool + default y + +# Should be selected for glibc or eglibc +config BR2_TOOLCHAIN_USES_GLIBC + bool + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_TOOLCHAIN_HAS_FULL_GETTEXT + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_HAS_UCONTEXT + select BR2_TOOLCHAIN_SUPPORTS_PIE + +config BR2_TOOLCHAIN_USES_UCLIBC + bool + # ucontext is only available for a subset of the supported + # architectures + select BR2_TOOLCHAIN_HAS_UCONTEXT if BR2_ARM_CPU_HAS_ARM || BR2_i386 \ + || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el \ + || BR2_sparc || BR2_x86_64 + select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_m68k && !BR2_microblaze && !BR2_STATIC_LIBS + +config BR2_TOOLCHAIN_USES_MUSL + bool + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_HAS_UCONTEXT + select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_STATIC_LIBS + +choice + prompt "Toolchain type" + help + Select whether to use the toolchain provided by buildroot + or an external toolchain. + + Some vendors provide toolchains in binary form, some in + source form. + +config BR2_TOOLCHAIN_BUILDROOT + bool "Buildroot toolchain" + depends on BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT + +config BR2_TOOLCHAIN_EXTERNAL + bool "External toolchain" + help + Select if you want to use an existing cross-compiling + toolchain. Buildroot can either download automatically a + toolchain, or use an already installed toolchain. + +endchoice + +source "toolchain/toolchain-buildroot/Config.in" +source "toolchain/toolchain-external/Config.in" + +# Generic toolchain options + +# we want gdb config in the middle of both source and external +# toolchains, but mconf won't let us source the same file twice, +# so put it here instead +source "package/gdb/Config.in.host" + +comment "Toolchain Generic Options" + +# https://sourceware.org/bugzilla/show_bug.cgi?id=27597 +# Affect toolchains built with binutils 2.36.1, still not fixed. +config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + bool + default y if BR2_nios2 + +# Atomic types can be: +# - never lock-free +# - sometimes lock-free +# - always lock-free +# see https://en.cppreference.com/w/c/atomic/ATOMIC_LOCK_FREE_consts +# +# On most architectures, gcc provides "always lock-free" atomic types, +# but a few architectures are limited to "sometimes lock-free" +# types. This hidden option allows to know if the architecture +# provides "always lock-free" atomic types. +config BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS + bool + default y + depends on !BR2_nios2 + depends on !BR2_ARM_CPU_ARMV4 + depends on !BR2_ARM_CPU_ARMV5 + depends on !BR2_sparc_v8 + depends on !BR2_m68k_cf5208 + +# GCC uses thunk functions to adjust the 'this' pointer when calling +# C++ member functions in classes derived with multiple inheritance. +# Generation of thunk functions requires support from the compiler +# back end. In the absence of that support target-independent code +# in the C++ front end is used to generate thunk functions, but it +# does not support vararg functions. +# or1k will support it in the gcc mainline starting with gcc-9. +config BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK + bool + default y + depends on !BR2_or1k + depends on !BR2_xtensa + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43744. This bug no +# reappeared on gcc 9.x and is still not fixed on gcc 11.x +config BR2_TOOLCHAIN_HAS_GCC_BUG_43744 + bool + default y if BR2_sh4 + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_9 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_10 || \ + BR2_TOOLCHAIN_GCC_AT_LEAST_11 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63261. This bug no +# longer exists in gcc 8.x. +config BR2_TOOLCHAIN_HAS_GCC_BUG_63261 + bool + default y if BR2_microblaze + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + +# Prior to gcc 7.x, exception_ptr, nested_exception and future from +# libstdc++ would only be provided on architectures that support +# always lock-free atomic ints. See +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735. This issue has +# been removed in GCC 7.x, where exception propagation is now +# supported without lock-free atomic int. +config BR2_TOOLCHAIN_HAS_GCC_BUG_64735 + bool + default y if !BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS && \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. This bug still +# exists in gcc 9.x +config BR2_TOOLCHAIN_HAS_GCC_BUG_68485 + bool + default y if BR2_microblaze + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143 +# Error: invalid operands (*UND* and .text sections) for `-' on sh4. +# This bug no longer exists in gcc 10.x but reappeared on gcc 11.x and +# it still not been fixed yet. +config BR2_TOOLCHAIN_HAS_GCC_BUG_83143 + bool + default y if BR2_sh + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 || BR2_TOOLCHAIN_GCC_AT_LEAST_11 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This bug no +# longer exists in gcc 8.x. +config BR2_TOOLCHAIN_HAS_GCC_BUG_85180 + bool + default y if BR2_microblaze + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85862 +# An infinite loop exists in the find_base_term() logic of 6.x +# on microblaze. http://autobuild.buildroot.net/results/158e8ebb39713e1b436a5cc1a1916f46c30694df/ +config BR2_TOOLCHAIN_HAS_GCC_BUG_85862 + bool + default y if BR2_microblaze + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620 +# ICE: in do_output_reload, at reload1.c:7978 on microblaze. +# This bug no longer exists in gcc 10.x +config BR2_TOOLCHAIN_HAS_GCC_BUG_90620 + bool + default y if BR2_microblaze + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847 +# ICE: compiler error: Segmentation fault on Nios II. This bug +# no longer exists in gcc 9.x. +config BR2_TOOLCHAIN_HAS_GCC_BUG_93847 + bool + default y if BR2_nios2 && !BR2_TOOLCHAIN_GCC_AT_LEAST_9 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99410 +# Error: branch offset out of range on Nios II. This bug +# no longer exists in gcc 8.x but reappeared on gcc 9.x and has been +# fixed on gcc 11.x. +config BR2_TOOLCHAIN_HAS_GCC_BUG_99140 + bool + default y if !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_9 && !BR2_TOOLCHAIN_GCC_AT_LEAST_11 + depends on BR2_nios2 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737 +# ICE: SH4 -Os causes internal compiler error. This bug +# still exists in gcc = 11.1.0 +config BR2_TOOLCHAIN_HAS_GCC_BUG_101737 + bool + default y if BR2_sh4 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101915 +# ICE: in extract_insn, at recog.c:2294 on microblaze. +# This bug still exists in gcc = 11.1.0 +config BR2_TOOLCHAIN_HAS_GCC_BUG_101915 + bool + default y if BR2_microblaze + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101916 +# ICE: on SH4: Segmentation fault signal terminated program cc1. +# This bug still exists in gcc = 11.1.0 +config BR2_TOOLCHAIN_HAS_GCC_BUG_101916 + bool + default y if BR2_sh4 + +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101952 +# ICE: on SH4: unaligned opcodes detected in executable segment. +# This bug still exists in gcc = 11.1.0 +config BR2_TOOLCHAIN_HAS_GCC_BUG_101952 + bool + default y if BR2_sh4 + +config BR2_TOOLCHAIN_HAS_NATIVE_RPC + bool + +config BR2_USE_WCHAR + bool + +config BR2_ENABLE_LOCALE + bool + +config BR2_INSTALL_LIBSTDCPP + bool + +config BR2_TOOLCHAIN_HAS_DLANG + bool + +config BR2_TOOLCHAIN_HAS_FORTRAN + bool + +config BR2_TOOLCHAIN_HAS_THREADS + bool + +config BR2_TOOLCHAIN_HAS_THREADS_DEBUG + bool + +config BR2_TOOLCHAIN_HAS_THREADS_NPTL + bool + +config BR2_TOOLCHAIN_HAS_SSP + bool + +config BR2_TOOLCHAIN_HAS_SSP_STRONG + bool + default y if BR2_TOOLCHAIN_HAS_SSP && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_TOOLCHAIN_HAS_UCONTEXT + bool + +config BR2_TOOLCHAIN_HAS_OPENMP + bool + +config BR2_TOOLCHAIN_SUPPORTS_PIE + bool + +config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY + bool "Copy gconv libraries" + depends on BR2_TOOLCHAIN_USES_GLIBC + help + The gconv libraries are used to convert between different + character sets (charsets). + + Say 'y' if you need to store and/or display different + charsets. + +config BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_LIST + string "Gconv libraries to copy" + depends on BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY + help + Set to the list of gconv libraries to copy. + Leave empty to copy all gconv libraries. + + Specify only the basename of the libraries, leave + out the .so extension. Eg.: + IBM850 ISO8859-15 UNICODE + + Note: the full set of gconv libs are ~8MiB (on ARM). + +config BR2_TOOLCHAIN_EXTRA_LIBS + string "Extra toolchain libraries to be copied to target" + default BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS if BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS != "" # legacy + depends on !BR2_STATIC_LIBS + help + If your toolchain provides extra libraries that need to be + copied to the target filesystem, enter them here, separated + by spaces. The library should not include a suffix or any + type of pre/post wildcard. + + Examples where this can be useful is for adding debug + libraries to the target like the GCC libsanitizer. + e.g. "libasan liblsan libtsan libubsan" + +# This boolean is true if the toolchain provides a built-in full +# featured gettext implementation (glibc), and false if only a stub +# gettext implementation is provided (uclibc, musl) +config BR2_TOOLCHAIN_HAS_FULL_GETTEXT + bool + +config BR2_USE_MMU + bool "Enable MMU support" if BR2_ARCH_HAS_MMU_OPTIONAL + default y if BR2_ARCH_HAS_MMU_OPTIONAL || BR2_ARCH_HAS_MMU_MANDATORY + help + If your target has a MMU, you should say Y here. If you + are unsure, just say Y. + +config BR2_TARGET_OPTIMIZATION + string "Target Optimizations" + default "" + help + Optimizations to use when building for the target host. + NOTE: gcc optimization level is defined in build options. + +config BR2_TARGET_LDFLAGS + string "Target linker options" + help + Extra options to pass to the linker when building for the + target. + + Note that options with a '$' sign (eg. + -Wl,-rpath='$ORIGIN/../lib') are not supported. + +config BR2_ECLIPSE_REGISTER + bool "Register toolchain within Eclipse Buildroot plug-in" + help + This options tells Buildroot to generate the necessary + configuration files to make your toolchain appear within + Eclipse, through the Eclipse Buildroot plugin. + +# Options for packages to depend on, if they require at least a +# specific version of the kernel headers. +# Toolchains should choose the adequate option (ie. the highest +# version, not all of them). +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + bool + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 + +config BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16 + bool + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 + select BR2_TOOLCHAIN_HEADERS_LATEST + +# This should be selected by the latest version, above, to indicate that +# Buildroot does not know of more recent headers than the ones selected. +# This allows using toolchains with headers more recent than Buildroot +# knows about, while still enforcing strict check for older headers. +config BR2_TOOLCHAIN_HEADERS_LATEST + bool + +# This order guarantees that the highest version is set, as kconfig +# stops affecting a value on the first matching default. +config BR2_TOOLCHAIN_HEADERS_AT_LEAST + string + default "5.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16 + default "5.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 + default "5.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 + default "5.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13 + default "5.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 + default "5.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 + default "5.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 + default "5.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 + default "5.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 + default "5.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 + default "5.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 + default "5.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 + default "5.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + default "5.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 + default "5.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 + default "5.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 + default "5.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + default "4.20" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + default "4.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 + default "4.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 + default "4.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 + default "4.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 + default "4.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 + default "4.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 + default "4.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 + default "4.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + default "4.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 + default "4.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 + default "4.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + default "4.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + default "4.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + default "4.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + default "4.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 + default "4.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 + default "4.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 + default "4.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 + default "4.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 + default "4.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 + default "3.19" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + default "3.18" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + default "3.17" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + default "3.16" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 + default "3.15" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 + default "3.14" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + default "3.13" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + default "3.12" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + default "3.11" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 + default "3.10" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 + default "3.9" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 + default "3.8" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 + default "3.7" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + default "3.6" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 + default "3.5" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 + default "3.4" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 + default "3.3" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 + default "3.2" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 + default "3.1" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 + default "3.0" if BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + default "2.6" + +config BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 + bool + +config BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_5 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_6 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_7 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_6 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_8 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_7 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_9 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_8 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_10 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_9 + +config BR2_TOOLCHAIN_GCC_AT_LEAST_11 + bool + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + +# This order guarantees that the highest version is set, as kconfig +# stops affecting a value on the first matching default. +config BR2_TOOLCHAIN_GCC_AT_LEAST + string + default "11" if BR2_TOOLCHAIN_GCC_AT_LEAST_11 + default "10" if BR2_TOOLCHAIN_GCC_AT_LEAST_10 + default "9" if BR2_TOOLCHAIN_GCC_AT_LEAST_9 + default "8" if BR2_TOOLCHAIN_GCC_AT_LEAST_8 + default "7" if BR2_TOOLCHAIN_GCC_AT_LEAST_7 + default "6" if BR2_TOOLCHAIN_GCC_AT_LEAST_6 + default "5" if BR2_TOOLCHAIN_GCC_AT_LEAST_5 + default "4.9" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + default "4.8" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + default "4.7" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 + default "4.6" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 + default "4.5" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 + default "4.4" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 + default "4.3" if BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 + +config BR2_TOOLCHAIN_HAS_MNAN_OPTION + bool + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_TOOLCHAIN_HAS_SYNC_1 + bool + default y + depends on !BR2_m68k_cf + depends on !BR2_microblaze + depends on !BR2_sparc + depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT) + +config BR2_TOOLCHAIN_HAS_SYNC_2 + bool + default y if BR2_TOOLCHAIN_HAS_SYNC_1 + +config BR2_TOOLCHAIN_HAS_SYNC_4 + bool + default y + depends on !BR2_m68k_cf + depends on !BR2_sparc + depends on !(BR2_arc && !BR2_ARC_ATOMIC_EXT) + +# The availability of __sync for 8-byte types on ARM is somewhat +# complicated: +# +# - It appeared in gcc starting with gcc 4.7. +# +# - On ARMv7, there is no problem, it can be directly implemented in +# userspace. +# +# - On < ARMv7, it requires help from the kernel. Unfortunately, the +# libgcc code implementing 8-byte __sync with the help from the +# kernel calls __write() when a failure occurs, which is a function +# internal to glibc, not available in uClibc and musl. This means +# that the 8-byte __sync operations are not available on < ARMv7 +# with uClibc and musl. This problem was fixed as part of gcc +# PR68059, which was backported to the gcc 5 branch, but isn't yet +# part of any gcc 5.x release. +# +config BR2_TOOLCHAIN_ARM_HAS_SYNC_8 + bool + default y + depends on BR2_arm || BR2_armeb + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_ARM_CPU_ARMV7A + +# 8-byte intrinsics available on most x86 CPUs, except a few old ones +config BR2_TOOLCHAIN_X86_HAS_SYNC_8 + bool + default y + depends on BR2_i386 + depends on !BR2_x86_i486 + depends on !BR2_x86_c3 + depends on !BR2_x86_winchip_c6 + depends on !BR2_x86_winchip2 + +# 8-byte intrinsics available: +# - On all 64 bits architecture +# - On a certain combinations of ARM platforms +# - On certain x86 32 bits CPUs +config BR2_TOOLCHAIN_HAS_SYNC_8 + bool + default y if BR2_ARCH_IS_64 + default y if BR2_TOOLCHAIN_ARM_HAS_SYNC_8 + default y if BR2_TOOLCHAIN_X86_HAS_SYNC_8 + +# libatomic is available since gcc 4.8, when thread support is +# enabled. Also, libatomic doesn't recognize "uclinux" as a valid OS +# part of the tuple, and is therefore not build on uclinux targets, +# which is why BR2_BINFMT_FLAT configurations are excluded. +config BR2_TOOLCHAIN_HAS_LIBATOMIC + bool + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 && \ + !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64 && \ + BR2_TOOLCHAIN_HAS_THREADS && \ + !BR2_BINFMT_FLAT + +# __atomic intrinsics are available: +# - with gcc 4.8, either through built-ins or libatomic, on all +# architectures. Since we don't want to separate the cases where +# libatomic is needed vs. not needed, we simplify thing and only +# support situations where libatomic is available, even if on some +# architectures libatomic is not strictly needed as all __atomic +# intrinsics might be built-in. The only case where libatomic is +# missing entirely is when the toolchain does not have support for +# threads. However, a package that does not need threads but still +# uses atomics is quite a corner case, which does not warrant the +# added complexity. +# - with gcc 4.7, libatomic did not exist, so only built-ins are +# available. This means that __atomic can only be used in a subset +# of the architectures +config BR2_TOOLCHAIN_HAS_ATOMIC + bool + default y if BR2_TOOLCHAIN_HAS_LIBATOMIC + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_arm + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_armeb + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_xtensa + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 && BR2_ARCH_IS_64 + +# - libquadmath is not needed/available on all architectures (but gcc +# correctly handles this already). +# - At least, libquadmath is available on: +# - i*86 +# - x86_64 +# - When available, libquadmath requires wchar support. +config BR2_TOOLCHAIN_HAS_LIBQUADMATH + bool + default y if BR2_i386 || BR2_x86_64 + +endmenu diff --git a/buildroot-2022.02.1/toolchain/helpers.mk b/buildroot-2022.02.1/toolchain/helpers.mk new file mode 100644 index 00000000..ef8e9a5f --- /dev/null +++ b/buildroot-2022.02.1/toolchain/helpers.mk @@ -0,0 +1,531 @@ +# This Makefile fragment declares toolchain related helper functions. + +# The copy_toolchain_lib_root function copies a toolchain library and +# its symbolic links from the sysroot directory to the target +# directory. Note that this function is used both by the external +# toolchain logic, and the glibc package, so care must be taken when +# changing this function. +# +# $1: library name pattern (can include glob wildcards) +# +copy_toolchain_lib_root = \ + LIBPATTERN="$(strip $1)"; \ + LIBPATHS=`find $(STAGING_DIR)/ -name "$${LIBPATTERN}" 2>/dev/null` ; \ + for LIBPATH in $${LIBPATHS} ; do \ + while true ; do \ + LIBNAME=`basename $${LIBPATH}`; \ + DESTDIR=`echo $${LIBPATH} | sed "s,^$(STAGING_DIR)/,," | xargs dirname` ; \ + mkdir -p $(TARGET_DIR)/$${DESTDIR}; \ + rm -fr $(TARGET_DIR)/$${DESTDIR}/$${LIBNAME}; \ + if test -h $${LIBPATH} ; then \ + cp -d $${LIBPATH} $(TARGET_DIR)/$${DESTDIR}/$${LIBNAME}; \ + LIBPATH="`readlink -f $${LIBPATH}`"; \ + elif test -f $${LIBPATH}; then \ + $(INSTALL) -D -m0755 $${LIBPATH} $(TARGET_DIR)/$${DESTDIR}/$${LIBNAME}; \ + break ; \ + else \ + exit -1; \ + fi; \ + done; \ + done + +# +# Copy the full external toolchain sysroot directory to the staging +# dir. The operation of this function is rendered a little bit +# complicated by the support for multilib toolchains. +# +# We start by copying etc, 'lib', sbin, usr and usr/'lib' from the +# sysroot of the selected architecture variant (as pointed to by +# ARCH_SYSROOT_DIR). This allows to import into the staging directory +# the C library and companion libraries for the correct architecture +# variant. 'lib' may not be literally 'lib' but could be something else, +# e.g. lib32-fp (as determined by ARCH_LIB_DIR) and we only want to copy +# that lib directory and no other. When copying usr, we therefore need +# to be extra careful not to include usr/lib* but we _do_ want to +# include usr/libexec. +# We are selective in the directories we copy since other directories +# might exist for other architecture variants (on Codesourcery +# toolchain, the sysroot for the default architecture variant contains +# the armv4t and thumb2 subdirectories, which are the sysroot for the +# corresponding architecture variants), and we don't want to import +# them. +# +# If ARCH_LIB_DIR is not a singular directory component, e.g. +# 'lib32/octeon2', then symbolic links in ARCH_LIB_DIR and +# usr/ARCH_LIB_DIR may be broken because Buildroot will flatten the +# directory structure (e.g. lib32/octeon2/foo is actually stored in +# lib/foo). This is only relevant for links that contain one or more ../ +# components, as links to the current directory are always fine. +# We need to fix the broken links by removing the right amount of ../ +# dots from the link destination. +# Once the link destination is valid again, it can be simplified to +# remove the dependency on intermediate directory symlinks. +# +# It is possible that ARCH_LIB_DIR does not contain the dynamic loader +# (ld*.so or similar) because it (or the main symlink to it) normally +# resides in /lib while ARCH_LIB_DIR may be something else (e.g. lib64, +# lib/, ...). Therefore, copy the dynamic loader separately. +# +# Then, if the selected architecture variant is not the default one +# (i.e, if SYSROOT_DIR != ARCH_SYSROOT_DIR), then we : +# +# * Import the header files from the default architecture +# variant. Header files are typically shared between the sysroots +# for the different architecture variants. If we use the +# non-default one, header files were not copied by the previous +# step, so we copy them here from the sysroot of the default +# architecture variant. +# +# * Create a symbolic link that matches the name of the subdirectory +# for the architecture variant in the original sysroot. This is +# required as the compiler will by default look in +# sysroot_dir/arch_variant/ for libraries and headers, when the +# non-default architecture variant is used. Without this, the +# compiler fails to find libraries and headers. +# +# Some toolchains (i.e Linaro binary toolchains) store support +# libraries (libstdc++, libgcc_s) outside of the sysroot, so we simply +# copy all the libraries from the "support lib directory" into our +# sysroot. +# +# Note that the 'locale' directories are not copied. They are huge +# (400+MB) in CodeSourcery toolchains, and they are not really useful. +# +# $1: main sysroot directory of the toolchain +# $2: arch specific sysroot directory of the toolchain +# $3: arch specific subdirectory in the sysroot +# $4: directory of libraries ('lib', 'lib32' or 'lib64') +# $5: support lib directories (for toolchains storing libgcc_s, +# libstdc++ and other gcc support libraries outside of the +# sysroot) +copy_toolchain_sysroot = \ + SYSROOT_DIR="$(strip $1)"; \ + ARCH_SYSROOT_DIR="$(strip $2)"; \ + ARCH_SUBDIR="$(strip $3)"; \ + ARCH_LIB_DIR="$(strip $4)" ; \ + SUPPORT_LIB_DIR="$(strip $5)" ; \ + for i in etc $${ARCH_LIB_DIR} sbin usr usr/$${ARCH_LIB_DIR}; do \ + if [ ! -d $${ARCH_SYSROOT_DIR}/$$i ] ; then \ + continue ; \ + fi ; \ + if [ "$$i" = "usr" ]; then \ + rsync -au --chmod=u=rwX,go=rX --exclude 'locale/' \ + --include '/libexec*/' --exclude '/lib*/' \ + $${ARCH_SYSROOT_DIR}/$$i/ $(STAGING_DIR)/$$i/ ; \ + else \ + rsync -au --chmod=u=rwX,go=rX --exclude 'locale/' \ + $${ARCH_SYSROOT_DIR}/$$i/ $(STAGING_DIR)/$$i/ ; \ + fi ; \ + done ; \ + for link in $$(find $(STAGING_DIR) -type l); do \ + target=$$(readlink $${link}) ; \ + if [ "$${target}" == "$${target$(SHARP_SIGN)/}" ] ; then \ + continue ; \ + fi ; \ + relpath="$(call relpath_prefix,$${target$(SHARP_SIGN)/})" ; \ + echo "Fixing symlink $${link} from $${target} to $${relpath}$${target$(SHARP_SIGN)/}" ; \ + ln -sf $${relpath}$${target$(SHARP_SIGN)/} $${link} ; \ + done ; \ + relpath="$(call relpath_prefix,$${ARCH_LIB_DIR})" ; \ + if [ "$${relpath}" != "" ]; then \ + for i in $$(find -H $(STAGING_DIR)/$${ARCH_LIB_DIR} $(STAGING_DIR)/usr/$${ARCH_LIB_DIR} -type l -xtype l); do \ + LINKTARGET=`readlink $$i` ; \ + NEWLINKTARGET=$${LINKTARGET\#$$relpath} ; \ + ln -sf $${NEWLINKTARGET} $$i ; \ + $(call simplify_symlink,$$i,$(STAGING_DIR)) ; \ + done ; \ + fi ; \ + if [[ ! $$(find $(STAGING_DIR)/lib -name 'ld*.so.*' -print -quit) ]]; then \ + find $${ARCH_SYSROOT_DIR}/lib -name 'ld*.so.*' -print0 | xargs -0 -I % cp % $(STAGING_DIR)/lib/; \ + fi ; \ + if [ `readlink -f $${SYSROOT_DIR}` != `readlink -f $${ARCH_SYSROOT_DIR}` ] ; then \ + if [ ! -d $${ARCH_SYSROOT_DIR}/usr/include ] ; then \ + cp -a $${SYSROOT_DIR}/usr/include $(STAGING_DIR)/usr ; \ + fi ; \ + mkdir -p `dirname $(STAGING_DIR)/$${ARCH_SUBDIR}` ; \ + relpath="$(call relpath_prefix,$${ARCH_SUBDIR})./" ; \ + ln -s $${relpath} $(STAGING_DIR)/$${ARCH_SUBDIR} ; \ + echo "Symlinking $(STAGING_DIR)/$${ARCH_SUBDIR} -> $${relpath}" ; \ + fi ; \ + if test -n "$${SUPPORT_LIB_DIR}" ; then \ + cp -a $${SUPPORT_LIB_DIR}/* $(STAGING_DIR)/lib/ ; \ + fi ; \ + find $(STAGING_DIR) -type d | xargs chmod 755 + +# +# Check the specified kernel headers version actually matches the +# version in the toolchain. +# +# $1: build directory +# $2: sysroot directory +# $3: kernel version string, in the form: X.Y +# $4: test to do for the latest kernel version, 'strict' or 'loose' +# always 'strict' if this is not the latest version. +# +check_kernel_headers_version = \ + if ! support/scripts/check-kernel-headers.sh $(1) $(2) $(3) \ + $(if $(BR2_TOOLCHAIN_HEADERS_LATEST),$(4),strict); \ + then \ + exit 1; \ + fi + +# +# Check the specific gcc version actually matches the version in the +# toolchain +# +# $1: path to gcc +# $2: expected gcc version +# +check_gcc_version = \ + expected_version="$(strip $2)" ; \ + if [ -z "$${expected_version}" ]; then \ + exit 0 ; \ + fi; \ + real_version=`$(1) -dumpversion` ; \ + if [[ ! "$${real_version}." =~ ^$${expected_version}\. ]] ; then \ + printf "Incorrect selection of gcc version: expected %s.x, got %s\n" \ + "$${expected_version}" "$${real_version}" ; \ + exit 1 ; \ + fi + +# +# Check the availability of a particular glibc feature. This function +# is used to check toolchain options that are always supported by +# glibc, so we simply check that the corresponding option is properly +# enabled. +# +# $1: Buildroot option name +# $2: feature description +# +check_glibc_feature = \ + if [ "$($(1))" != "y" ] ; then \ + echo "$(2) available in C library, please enable $(1)" ; \ + exit 1 ; \ + fi + +# +# Check the availability of RPC support in a glibc toolchain +# +# $1: sysroot directory +# +check_glibc_rpc_feature = \ + IS_IN_LIBC=`test -f $(1)/usr/include/rpc/rpc.h && echo y` ; \ + if [ "$(BR2_TOOLCHAIN_HAS_NATIVE_RPC)" != "y" -a "$${IS_IN_LIBC}" = "y" ] ; then \ + echo "RPC support available in C library, please enable BR2_TOOLCHAIN_EXTERNAL_INET_RPC" ; \ + exit 1 ; \ + fi ; \ + if [ "$(BR2_TOOLCHAIN_HAS_NATIVE_RPC)" = "y" -a "$${IS_IN_LIBC}" != "y" ] ; then \ + echo "RPC support not available in C library, please disable BR2_TOOLCHAIN_EXTERNAL_INET_RPC" ; \ + exit 1 ; \ + fi + +# +# Check the correctness of a glibc external toolchain configuration. +# 1. Check that the C library selected in Buildroot matches the one +# of the external toolchain +# 2. Check that all the C library-related features are enabled in the +# config, since glibc always supports all of them +# +# $1: sysroot directory +# +check_glibc = \ + SYSROOT_DIR="$(strip $1)"; \ + if test `find -L $${SYSROOT_DIR}/ -maxdepth 2 -name 'ld-linux*.so.*' -o -name 'ld.so.*' -o -name 'ld64.so.*' | wc -l` -eq 0 ; then \ + echo "Incorrect selection of the C library"; \ + exit -1; \ + fi; \ + $(call check_glibc_feature,BR2_USE_MMU,MMU support) ;\ + $(call check_glibc_rpc_feature,$${SYSROOT_DIR}) + +# +# Check that the selected C library really is musl +# +# $1: cross-gcc path +# $2: cross-readelf path +check_musl = \ + __CROSS_CC=$(strip $1) ; \ + libc_a_path=`$${__CROSS_CC} -print-file-name=libc.a` ; \ + if ! strings $${libc_a_path} | grep -q MUSL_LOCPATH ; then \ + echo "Incorrect selection of the C library" ; \ + exit -1; \ + fi + +# +# Check the conformity of Buildroot configuration with regard to the +# uClibc configuration of the external toolchain, for a particular +# feature. +# +# If 'Buildroot option name' ($2) is empty it means the uClibc option +# is mandatory. +# +# $1: uClibc macro name +# $2: Buildroot option name +# $3: uClibc config file +# $4: feature description +# +check_uclibc_feature = \ + IS_IN_LIBC=`grep -q "\#define $(1) 1" $(3) && echo y` ; \ + if [ -z "$(2)" ] ; then \ + if [ "$${IS_IN_LIBC}" != "y" ] ; then \ + echo "$(4) not available in C library, toolchain unsuitable for Buildroot" ; \ + exit 1 ; \ + fi ; \ + else \ + if [ "$($(2))" != "y" -a "$${IS_IN_LIBC}" = "y" ] ; then \ + echo "$(4) available in C library, please enable $(2)" ; \ + exit 1 ; \ + fi ; \ + if [ "$($(2))" = "y" -a "$${IS_IN_LIBC}" != "y" ] ; then \ + echo "$(4) not available in C library, please disable $(2)" ; \ + exit 1 ; \ + fi ; \ + fi + +# +# Check the correctness of a uclibc external toolchain configuration +# 1. Check that the C library selected in Buildroot matches the one +# of the external toolchain +# 2. Check that the features enabled in the Buildroot configuration +# match the features available in the uClibc of the external +# toolchain +# +# $1: sysroot directory +# +check_uclibc = \ + SYSROOT_DIR="$(strip $1)"; \ + if ! test -f $${SYSROOT_DIR}/usr/include/bits/uClibc_config.h ; then \ + echo "Incorrect selection of the C library"; \ + exit -1; \ + fi; \ + UCLIBC_CONFIG_FILE=$${SYSROOT_DIR}/usr/include/bits/uClibc_config.h ; \ + $(call check_uclibc_feature,__ARCH_USE_MMU__,BR2_USE_MMU,$${UCLIBC_CONFIG_FILE},MMU support) ;\ + $(call check_uclibc_feature,__UCLIBC_HAS_LFS__,,$${UCLIBC_CONFIG_FILE},Large file support) ;\ + $(call check_uclibc_feature,__UCLIBC_HAS_IPV6__,,$${UCLIBC_CONFIG_FILE},IPv6 support) ;\ + $(call check_uclibc_feature,__UCLIBC_HAS_RPC__,BR2_TOOLCHAIN_HAS_NATIVE_RPC,$${UCLIBC_CONFIG_FILE},RPC support) ;\ + $(call check_uclibc_feature,__UCLIBC_HAS_LOCALE__,BR2_ENABLE_LOCALE,$${UCLIBC_CONFIG_FILE},Locale support) ;\ + $(call check_uclibc_feature,__UCLIBC_HAS_WCHAR__,BR2_USE_WCHAR,$${UCLIBC_CONFIG_FILE},Wide char support) ;\ + $(call check_uclibc_feature,__UCLIBC_HAS_THREADS__,BR2_TOOLCHAIN_HAS_THREADS,$${UCLIBC_CONFIG_FILE},Thread support) ;\ + $(call check_uclibc_feature,__PTHREADS_DEBUG_SUPPORT__,BR2_TOOLCHAIN_HAS_THREADS_DEBUG,$${UCLIBC_CONFIG_FILE},Thread debugging support) ;\ + $(call check_uclibc_feature,__UCLIBC_HAS_THREADS_NATIVE__,BR2_TOOLCHAIN_HAS_THREADS_NPTL,$${UCLIBC_CONFIG_FILE},NPTL thread support) + +# +# Check that the Buildroot configuration of the ABI matches the +# configuration of the external toolchain. +# +# $1: cross-gcc path +# $2: cross-readelf path +# +check_arm_abi = \ + __CROSS_CC=$(strip $1) ; \ + EXT_TOOLCHAIN_TARGET=`LANG=C $${__CROSS_CC} -v 2>&1 | grep ^Target | cut -f2 -d ' '` ; \ + if ! echo $${EXT_TOOLCHAIN_TARGET} | grep -qE 'eabi(hf)?$$' ; then \ + echo "External toolchain uses the unsuported OABI" ; \ + exit 1 ; \ + fi ; \ + if ! echo 'int main(void) {}' | $${__CROSS_CC} -x c -o $(BUILD_DIR)/.br-toolchain-test.tmp - ; then \ + rm -f $(BUILD_DIR)/.br-toolchain-test.tmp*; \ + abistr_$(BR2_ARM_EABI)='EABI'; \ + abistr_$(BR2_ARM_EABIHF)='EABIhf'; \ + echo "Incorrect ABI setting: $${abistr_y} selected, but toolchain is incompatible"; \ + exit 1 ; \ + fi ; \ + rm -f $(BUILD_DIR)/.br-toolchain-test.tmp* + +# +# Check that the external toolchain supports C++ +# +# $1: cross-g++ path +# +check_cplusplus = \ + __CROSS_CXX=$(strip $1) ; \ + $${__CROSS_CXX} -v > /dev/null 2>&1 ; \ + if test $$? -ne 0 ; then \ + echo "C++ support is selected but is not available in external toolchain" ; \ + exit 1 ; \ + fi + +# +# +# Check that the external toolchain supports D language +# +# $1: cross-gdc path +# +check_dlang = \ + __CROSS_GDC=$(strip $1) ; \ + __o=$(BUILD_DIR)/.br-toolchain-test-dlang.tmp ; \ + printf 'import std.stdio;\nvoid main() { writeln("Hello World!"); }\n' | \ + $${__CROSS_GDC} -x d -o $${__o} - ; \ + if test $$? -ne 0 ; then \ + rm -f $${__o}* ; \ + echo "D language support is selected but is not available in external toolchain" ; \ + exit 1 ; \ + fi ; \ + rm -f $${__o}* \ + +# +# +# Check that the external toolchain supports Fortran +# +# $1: cross-gfortran path +# +check_fortran = \ + __CROSS_FC=$(strip $1) ; \ + __o=$(BUILD_DIR)/.br-toolchain-test-fortran.tmp ; \ + printf 'program hello\n\tprint *, "Hello Fortran!\\n"\nend program hello\n' | \ + $${__CROSS_FC} -x f95 -o $${__o} - ; \ + if test $$? -ne 0 ; then \ + rm -f $${__o}* ; \ + echo "Fortran support is selected but is not available in external toolchain" ; \ + exit 1 ; \ + fi ; \ + rm -f $${__o}* \ + +# +# +# Check that the external toolchain supports OpenMP +# +# $1: cross-gcc path +# +check_openmp = \ + __CROSS_CC=$(strip $1) ; \ + __o=$(BUILD_DIR)/.br-toolchain-test-openmp.tmp ; \ + printf '\#include \nint main(void) { return omp_get_thread_num(); }' | \ + $${__CROSS_CC} -fopenmp -x c -o $${__o} - ; \ + if test $$? -ne 0 ; then \ + rm -f $${__o}* ; \ + echo "OpenMP support is selected but is not available in external toolchain"; \ + exit 1 ; \ + fi ; \ + rm -f $${__o}* \ + +# +# Check that the cross-compiler given in the configuration exists +# +# $1: cross-gcc path +# +check_cross_compiler_exists = \ + __CROSS_CC=$(strip $1) ; \ + $${__CROSS_CC} -v > /dev/null 2>&1 ; \ + if test $$? -ne 0 ; then \ + echo "Cannot execute cross-compiler '$${__CROSS_CC}'" ; \ + exit 1 ; \ + fi + +# +# Check for toolchains known not to work with Buildroot. +# - For the Angstrom toolchains, we check by looking at the vendor part of +# the host tuple. +# - Exclude distro-class toolchains which are not relocatable. +# - Exclude broken toolchains which return "libc.a" with -print-file-name. +# - Exclude toolchains which doesn't support --sysroot option. +# +# $1: cross-gcc path +# +check_unusable_toolchain = \ + __CROSS_CC=$(strip $1) ; \ + vendor=`$${__CROSS_CC} -dumpmachine | cut -f2 -d'-'` ; \ + if test "$${vendor}" = "angstrom" ; then \ + echo "Angstrom toolchains are not pure toolchains: they contain" ; \ + echo "many other libraries than just the C library, which makes" ; \ + echo "them unsuitable as external toolchains for build systems" ; \ + echo "such as Buildroot." ; \ + exit 1 ; \ + fi; \ + with_sysroot=`$${__CROSS_CC} -v 2>&1 |sed -r -e '/.* --with-sysroot=([^[:space:]]+)[[:space:]].*/!d; s//\1/'`; \ + if test "$${with_sysroot}" = "/" ; then \ + echo "Distribution toolchains are unsuitable for use by Buildroot," ; \ + echo "as they were configured in a way that makes them non-relocatable,"; \ + echo "and contain a lot of pre-built libraries that would conflict with"; \ + echo "the ones Buildroot wants to build."; \ + exit 1; \ + fi; \ + libc_a_path=`$${__CROSS_CC} -print-file-name=libc.a` ; \ + if test "$${libc_a_path}" = "libc.a" ; then \ + echo "Unable to detect the toolchain sysroot, Buildroot cannot use this toolchain." ; \ + exit 1 ; \ + fi ; \ + sysroot_dir="$(call toolchain_find_sysroot,$${__CROSS_CC})" ; \ + if test -z "$${sysroot_dir}" ; then \ + echo "External toolchain doesn't support --sysroot. Cannot use." ; \ + exit 1 ; \ + fi + +# +# Check if the toolchain has SSP (stack smashing protector) support +# +# $1: cross-gcc path +# $2: gcc ssp option +# +check_toolchain_ssp = \ + __CROSS_CC=$(strip $1) ; \ + __HAS_SSP=`echo 'void main(){}' | $${__CROSS_CC} -Werror -fstack-protector -x c - -o $(BUILD_DIR)/.br-toolchain-test.tmp >/dev/null 2>&1 && echo y` ; \ + if [ "$(BR2_TOOLCHAIN_HAS_SSP)" != "y" -a "$${__HAS_SSP}" = "y" ] ; then \ + echo "SSP support available in this toolchain, please enable BR2_TOOLCHAIN_EXTERNAL_HAS_SSP" ; \ + exit 1 ; \ + fi ; \ + if [ "$(BR2_TOOLCHAIN_HAS_SSP)" = "y" -a "$${__HAS_SSP}" != "y" ] ; then \ + echo "SSP support not available in this toolchain, please disable BR2_TOOLCHAIN_EXTERNAL_HAS_SSP" ; \ + exit 1 ; \ + fi ; \ + __SSP_OPTION=$(2); \ + if [ -n "$${__SSP_OPTION}" ] ; then \ + if ! echo 'void main(){}' | $${__CROSS_CC} -Werror $${__SSP_OPTION} -x c - -o $(BUILD_DIR)/.br-toolchain-test.tmp >/dev/null 2>&1 ; then \ + echo "SSP option $${__SSP_OPTION} not available in this toolchain, please select another SSP level" ; \ + exit 1 ; \ + fi; \ + fi; \ + rm -f $(BUILD_DIR)/.br-toolchain-test.tmp* + +# +# Generate gdbinit file for use with Buildroot +# +gen_gdbinit_file = \ + mkdir -p $(STAGING_DIR)/usr/share/buildroot/ ; \ + echo "add-auto-load-safe-path $(STAGING_DIR)" > $(STAGING_DIR)/usr/share/buildroot/gdbinit ; \ + echo "set sysroot $(STAGING_DIR)" >> $(STAGING_DIR)/usr/share/buildroot/gdbinit + +# Given a path, determine the relative prefix (../) needed to return to the +# root level. Note that the last component is treated as a file component; use a +# trailing slash to force treating it as a directory. Examples: +# relpath_prefix(lib32) = "" +# relpath_prefix(lib32/octeon2) = "../" +# relpath_prefix(lib32/octeon2/) = "../../" +# +# $1: input path +define relpath_prefix +$$( \ + prefix="" ; \ + nbslashs=`printf $1 | sed 's%[^/]%%g' | wc -c` ; \ + for slash in `seq 1 $${nbslashs}` ; do \ + prefix=$${prefix}"../" ; \ + done ; \ + printf "$$prefix" ; \ +) +endef + +# Replace the destination of a symbolic link with a simpler version +# For example, +# usr/lib/libfoo.so -> ../../lib32/libfoo.so.1 +# becomes +# usr/lib/libfoo.so -> ../../lib/libfoo.so.1 +# since 'lib32' is a symlink to 'lib'. +# +# Likewise, +# usr/lib/octeon2/libbar.so -> ../../../lib32/octeon2/libbar.so.1 +# becomes +# usr/lib/octeon2/libbar.so -> ../../lib/libbar.so.1 +# assuming lib32->lib and lib/octeon2->lib. +# +# $1: symlink +# $2: base path +define simplify_symlink +( \ + FULL_SRC="$$(readlink -f $$(dirname $1))/$$(basename $1)" ; \ + FULL_DEST="$$(readlink -f $1)" ; \ + FULL_BASE="$$(readlink -f $2)" ; \ + REL_SRC="$${FULL_SRC#$${FULL_BASE}/}" ; \ + REL_DEST="$${FULL_DEST#$${FULL_BASE}/}" ; \ + DOTS="$(call relpath_prefix,$${REL_SRC})" ; \ + ln -sf "$${DOTS}$${REL_DEST}" "$${FULL_SRC}" ; \ +) +endef diff --git a/buildroot-2021.05/toolchain/toolchain-buildroot/Config.in b/buildroot-2022.02.1/toolchain/toolchain-buildroot/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-buildroot/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-buildroot/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-buildroot/toolchain-buildroot.mk b/buildroot-2022.02.1/toolchain/toolchain-buildroot/toolchain-buildroot.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-buildroot/toolchain-buildroot.mk rename to buildroot-2022.02.1/toolchain/toolchain-buildroot/toolchain-buildroot.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/Config.in diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/pkg-toolchain-external.mk b/buildroot-2022.02.1/toolchain/toolchain-external/pkg-toolchain-external.mk new file mode 100644 index 00000000..c7f4175c --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -0,0 +1,637 @@ +################################################################################ +# External toolchain package infrastructure +# +# This package infrastructure implements the support for external +# toolchains, i.e toolchains that are available pre-built, ready to +# use. Such toolchain may either be readily available on the Web +# (Linaro, Sourcery CodeBench, from processor vendors) or may be built +# with tools like Crosstool-NG or Buildroot itself. So far, we have +# tested this with: +# +# * Toolchains generated by Crosstool-NG +# * Toolchains generated by Buildroot +# * Toolchains provided by Linaro for the ARM and AArch64 +# architectures +# * Sourcery CodeBench toolchains (from Mentor Graphics) for the ARM, +# MIPS, PowerPC, x86_64 and NIOS 2 architectures. For the MIPS +# toolchain, the -muclibc variant isn't supported yet, only the +# default glibc-based variant is. +# * Synopsys DesignWare toolchains for ARC cores +# +# The basic principle is the following +# +# 1. If the toolchain is not pre-installed, download and extract it +# in $(TOOLCHAIN_EXTERNAL_INSTALL_DIR). Otherwise, +# $(TOOLCHAIN_EXTERNAL_INSTALL_DIR) points to were the toolchain has +# already been installed by the user. +# +# 2. For all external toolchains, perform some checks on the +# conformity between the toolchain configuration described in the +# Buildroot menuconfig system, and the real configuration of the +# external toolchain. This is for example important to make sure that +# the Buildroot configuration system knows whether the toolchain +# supports RPC, IPv6, locales, large files, etc. Unfortunately, these +# things cannot be detected automatically, since the value of these +# options (such as BR2_TOOLCHAIN_HAS_NATIVE_RPC) are needed at +# configuration time because these options are used as dependencies +# for other options. And at configuration time, we are not able to +# retrieve the external toolchain configuration. +# +# 3. Copy the libraries needed at runtime to the target directory, +# $(TARGET_DIR). Obviously, things such as the C library, the dynamic +# loader and a few other utility libraries are needed if dynamic +# applications are to be executed on the target system. +# +# 4. Copy the libraries and headers to the staging directory. This +# will allow all further calls to gcc to be made using --sysroot +# $(STAGING_DIR), which greatly simplifies the compilation of the +# packages when using external toolchains. So in the end, only the +# cross-compiler binaries remains external, all libraries and headers +# are imported into the Buildroot tree. +# +# 5. Build a toolchain wrapper which executes the external toolchain +# with a number of arguments (sysroot/march/mtune/..) hardcoded, +# so we're sure the correct configuration is always used and the +# toolchain behaves similar to an internal toolchain. +# This toolchain wrapper and symlinks are installed into +# $(HOST_DIR)/bin like for the internal toolchains, and the rest +# of Buildroot is handled identical for the 2 toolchain types. +################################################################################ + +# +# Definitions of where the toolchain can be found +# + +TOOLCHAIN_EXTERNAL_PREFIX = $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PREFIX)) +TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR = $(HOST_DIR)/opt/ext-toolchain + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) +TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) +else +TOOLCHAIN_EXTERNAL_INSTALL_DIR = $(abspath $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_PATH))) +ifeq ($(BR2_TOOLCHAIN_EXTERNAL)$(BR_BUILDING),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) +$(error No external toolchain path set, check your BR2_TOOLCHAIN_EXTERNAL_PATH setting) +endif +endif +endif # BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD + +ifeq ($(TOOLCHAIN_EXTERNAL_INSTALL_DIR),) +ifneq ($(TOOLCHAIN_EXTERNAL_PREFIX),) +# if no path set, figure it out from path +TOOLCHAIN_EXTERNAL_BIN := $(dir $(shell which $(TOOLCHAIN_EXTERNAL_PREFIX)-gcc)) +endif +else +TOOLCHAIN_EXTERNAL_REL_BIN_PATH = $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_REL_BIN_PATH)) +ifeq ($(TOOLCHAIN_EXTERNAL_REL_BIN_PATH),) +TOOLCHAIN_EXTERNAL_REL_BIN_PATH = bin +endif +TOOLCHAIN_EXTERNAL_BIN = $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/$(TOOLCHAIN_EXTERNAL_REL_BIN_PATH) +endif + +# If this is a buildroot toolchain, it already has a wrapper which we want to +# bypass. Since this is only evaluated after it has been extracted, we can use +# $(wildcard ...) here. +TOOLCHAIN_EXTERNAL_SUFFIX = \ + $(if $(wildcard $(TOOLCHAIN_EXTERNAL_BIN)/*.br_real),.br_real) + +TOOLCHAIN_EXTERNAL_CROSS = $(TOOLCHAIN_EXTERNAL_BIN)/$(TOOLCHAIN_EXTERNAL_PREFIX)- +TOOLCHAIN_EXTERNAL_CC = $(TOOLCHAIN_EXTERNAL_CROSS)gcc$(TOOLCHAIN_EXTERNAL_SUFFIX) +TOOLCHAIN_EXTERNAL_CXX = $(TOOLCHAIN_EXTERNAL_CROSS)g++$(TOOLCHAIN_EXTERNAL_SUFFIX) +TOOLCHAIN_EXTERNAL_GDC = $(TOOLCHAIN_EXTERNAL_CROSS)gdc$(TOOLCHAIN_EXTERNAL_SUFFIX) +TOOLCHAIN_EXTERNAL_FC = $(TOOLCHAIN_EXTERNAL_CROSS)gfortran$(TOOLCHAIN_EXTERNAL_SUFFIX) +TOOLCHAIN_EXTERNAL_READELF = $(TOOLCHAIN_EXTERNAL_CROSS)readelf + +# Normal handling of downloaded toolchain tarball extraction. +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) +# As a regular package, the toolchain gets extracted in $(@D), but +# since it's actually a fairly special package, we need it to be moved +# into TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR. +define TOOLCHAIN_EXTERNAL_MOVE + rm -rf $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) + mkdir -p $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) + mv $(@D)/* $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR)/ +endef +endif + +# +# Definitions of the list of libraries that should be copied to the target. +# + +TOOLCHAIN_EXTERNAL_LIBS += ld*.so.* libgcc_s.so.* libatomic.so.* + +ifneq ($(BR2_SSP_NONE),y) +TOOLCHAIN_EXTERNAL_LIBS += libssp.so.* +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GLIBC)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y) +TOOLCHAIN_EXTERNAL_LIBS += libc.so.* libcrypt.so.* libdl.so.* libm.so.* libnsl.so.* libresolv.so.* librt.so.* libutil.so.* +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) +TOOLCHAIN_EXTERNAL_LIBS += libpthread.so.* +ifneq ($(BR2_PACKAGE_GDB)$(BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY),) +TOOLCHAIN_EXTERNAL_LIBS += libthread_db.so.* +endif # gdbserver +endif # ! no threads +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GLIBC),y) +TOOLCHAIN_EXTERNAL_LIBS += libnss_files.so.* libnss_dns.so.* libmvec.so.* libanl.so.* +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_MUSL),y) +TOOLCHAIN_EXTERNAL_LIBS += libc.so +endif + +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +TOOLCHAIN_EXTERNAL_LIBS += libstdc++.so.* +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_FORTRAN),y) +TOOLCHAIN_EXTERNAL_LIBS += libgfortran.so.* +# fortran needs quadmath on x86 and x86_64 +ifeq ($(BR2_TOOLCHAIN_HAS_LIBQUADMATH),y) +TOOLCHAIN_EXTERNAL_LIBS += libquadmath.so* +endif +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_OPENMP),y) +TOOLCHAIN_EXTERNAL_LIBS += libgomp.so.* +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_DLANG),y) +TOOLCHAIN_EXTERNAL_LIBS += libgdruntime.so* libgphobos.so* +endif + +TOOLCHAIN_EXTERNAL_LIBS += $(addsuffix .so*,$(call qstrip,$(BR2_TOOLCHAIN_EXTRA_LIBS))) + + +# +# Definition of the CFLAGS to use with the external toolchain, as well as the +# common toolchain wrapper build arguments +# + +# march/mtune/floating point mode needs to be passed to the external toolchain +# to select the right multilib variant +ifeq ($(BR2_x86_64),y) +TOOLCHAIN_EXTERNAL_CFLAGS += -m64 +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_64 +endif +ifneq ($(GCC_TARGET_ARCH),) +TOOLCHAIN_EXTERNAL_CFLAGS += -march=$(GCC_TARGET_ARCH) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_ARCH='"$(GCC_TARGET_ARCH)"' +endif +ifneq ($(GCC_TARGET_CPU),) +TOOLCHAIN_EXTERNAL_CFLAGS += -mcpu=$(GCC_TARGET_CPU) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_CPU='"$(GCC_TARGET_CPU)"' +endif +ifneq ($(GCC_TARGET_ABI),) +TOOLCHAIN_EXTERNAL_CFLAGS += -mabi=$(GCC_TARGET_ABI) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_ABI='"$(GCC_TARGET_ABI)"' +endif +ifeq ($(BR2_TOOLCHAIN_HAS_MNAN_OPTION),y) +ifneq ($(GCC_TARGET_NAN),) +TOOLCHAIN_EXTERNAL_CFLAGS += -mnan=$(GCC_TARGET_NAN) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_NAN='"$(GCC_TARGET_NAN)"' +endif +endif +ifneq ($(GCC_TARGET_FP32_MODE),) +TOOLCHAIN_EXTERNAL_CFLAGS += -mfp$(GCC_TARGET_FP32_MODE) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_FP32_MODE='"$(GCC_TARGET_FP32_MODE)"' +endif +ifneq ($(GCC_TARGET_FPU),) +TOOLCHAIN_EXTERNAL_CFLAGS += -mfpu=$(GCC_TARGET_FPU) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_FPU='"$(GCC_TARGET_FPU)"' +endif +ifneq ($(GCC_TARGET_FLOAT_ABI),) +TOOLCHAIN_EXTERNAL_CFLAGS += -mfloat-abi=$(GCC_TARGET_FLOAT_ABI) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_FLOAT_ABI='"$(GCC_TARGET_FLOAT_ABI)"' +endif +ifneq ($(GCC_TARGET_MODE),) +TOOLCHAIN_EXTERNAL_CFLAGS += -m$(GCC_TARGET_MODE) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_MODE='"$(GCC_TARGET_MODE)"' +endif +ifeq ($(BR2_BINFMT_FLAT),y) +TOOLCHAIN_EXTERNAL_CFLAGS += -Wl,-elf2flt +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_BINFMT_FLAT +endif +ifeq ($(BR2_mipsel)$(BR2_mips64el),y) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_MIPS_TARGET_LITTLE_ENDIAN +TOOLCHAIN_EXTERNAL_CFLAGS += -EL +endif +ifeq ($(BR2_mips)$(BR2_mips64),y) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_MIPS_TARGET_BIG_ENDIAN +TOOLCHAIN_EXTERNAL_CFLAGS += -EB +endif +ifeq ($(BR2_arceb),y) +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_ARC_TARGET_BIG_ENDIAN +TOOLCHAIN_EXTERNAL_CFLAGS += -EB +endif + +TOOLCHAIN_EXTERNAL_CFLAGS += $(call qstrip,$(BR2_TARGET_OPTIMIZATION)) + +ifeq ($(BR2_SOFT_FLOAT),y) +TOOLCHAIN_EXTERNAL_CFLAGS += -msoft-float +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += -DBR_SOFTFLOAT=1 +endif + +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += \ + -DBR_CROSS_PATH_SUFFIX='"$(TOOLCHAIN_EXTERNAL_SUFFIX)"' + +ifeq ($(filter $(HOST_DIR)/%,$(TOOLCHAIN_EXTERNAL_BIN)),) +# TOOLCHAIN_EXTERNAL_BIN points outside HOST_DIR => absolute path +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += \ + -DBR_CROSS_PATH_ABS='"$(TOOLCHAIN_EXTERNAL_BIN)"' +else +# TOOLCHAIN_EXTERNAL_BIN points inside HOST_DIR => relative path +TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS += \ + -DBR_CROSS_PATH_REL='"$(TOOLCHAIN_EXTERNAL_BIN:$(HOST_DIR)/%=%)"' +endif + + +# +# The following functions creates the symbolic links needed to get the +# cross-compilation tools visible in $(HOST_DIR)/bin. Some of +# links are done directly to the corresponding tool in the external +# toolchain installation directory, while some other links are done to +# the toolchain wrapper (preprocessor, C, C++ and Fortran compiler) +# +# We skip gdb symlink when we are building our own gdb to prevent two +# gdb's in $(HOST_DIR)/bin. +# +# The LTO support in gcc creates wrappers for ar, ranlib and nm which load +# the lto plugin. These wrappers are called *-gcc-ar, *-gcc-ranlib, and +# *-gcc-nm and should be used instead of the real programs when -flto is +# used. However, we should not add the toolchain wrapper for them, and they +# match the *cc-* pattern. Therefore, an additional case is added for *-ar, +# *-ranlib and *-nm. +define TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER + $(Q)cd $(HOST_DIR)/bin; \ + for i in $(TOOLCHAIN_EXTERNAL_CROSS)*; do \ + base=$${i##*/}; \ + case "$$base" in \ + *-ar|*-ranlib|*-nm) \ + ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%..%') .; \ + ;; \ + *cc|*cc-*|*++|*++-*|*cpp|*-gfortran|*-gdc) \ + ln -sf toolchain-wrapper $$base; \ + ;; \ + *gdb|*gdbtui) \ + if test "$(BR2_PACKAGE_HOST_GDB)" != "y"; then \ + ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%..%') .; \ + fi \ + ;; \ + *) \ + ln -sf $$(echo $$i | sed 's%^$(HOST_DIR)%..%') .; \ + ;; \ + esac; \ + done +endef + + +# Various utility functions used by the external toolchain package +# infrastructure. Those functions are mainly responsible for: +# +# - installation the toolchain libraries to $(TARGET_DIR) +# - copying the toolchain sysroot to $(STAGING_DIR) +# - installing a gdbinit file +# +# Details about sysroot directory selection. +# +# To find the sysroot directory, we use the trick of looking for the +# 'libc.a' file with the -print-file-name gcc option, and then +# mangling the path to find the base directory of the sysroot. +# +# Note that we do not use the -print-sysroot option, because it is +# only available since gcc 4.4.x, and we only recently dropped support +# for 4.2.x and 4.3.x. +# +# When doing this, we don't pass any option to gcc that could select a +# multilib variant (such as -march) as we want the "main" sysroot, +# which contains all variants of the C library in the case of multilib +# toolchains. We use the TARGET_CC_NO_SYSROOT variable, which is the +# path of the cross-compiler, without the --sysroot=$(STAGING_DIR), +# since what we want to find is the location of the original toolchain +# sysroot. This "main" sysroot directory is stored in SYSROOT_DIR. +# +# Then, multilib toolchains are a little bit more complicated, since +# they in fact have multiple sysroots, one for each variant supported +# by the toolchain. So we need to find the particular sysroot we're +# interested in. +# +# To do so, we ask the compiler where its sysroot is by passing all +# flags (including -march and al.), except the --sysroot flag since we +# want to the compiler to tell us where its original sysroot +# is. ARCH_SUBDIR will contain the subdirectory, in the main +# SYSROOT_DIR, that corresponds to the selected architecture +# variant. ARCH_SYSROOT_DIR will contain the full path to this +# location. +# +# One might wonder why we don't just bother with ARCH_SYSROOT_DIR. The +# fact is that in multilib toolchains, the header files are often only +# present in the main sysroot, and only the libraries are available in +# each variant-specific sysroot directory. + + +# toolchain_find_sysroot returns the sysroot location for the given +# compiler + flags. We need to handle cases where libc.a is in: +# +# - lib/ +# - usr/lib/ +# - lib32/ +# - lib64/ +# - lib32-fp/ (Cavium toolchain) +# - lib64-fp/ (Cavium toolchain) +# - usr/lib// (Linaro toolchain) +# +# And variations on these. +define toolchain_find_sysroot +$$(printf $(call toolchain_find_libc_a,$(1)) | sed -r -e 's:/(usr/)?lib(32|64)?([^/]*)?/([^/]*/)?libc\.a:/:') +endef + +# Returns the lib subdirectory for the given compiler + flags (i.e +# typically lib32 or lib64 for some toolchains) +define toolchain_find_libdir +$$(printf $(call toolchain_find_libc_a,$(1)) | sed -r -e 's:.*/(usr/)?(lib(32|64)?([^/]*)?(/[^/]*)?)/libc.a:\2:') +endef + +# Returns the location of the libc.a file for the given compiler + flags +define toolchain_find_libc_a +$$(readlink -f $$(LANG=C $(1) -print-file-name=libc.a)) +endef + +# Integration of the toolchain into Buildroot: find the main sysroot +# and the variant-specific sysroot, then copy the needed libraries to +# the $(TARGET_DIR) and copy the whole sysroot (libraries and headers) +# to $(STAGING_DIR). +# +# Variables are defined as follows: +# +# SYSROOT_DIR: the main sysroot directory, deduced from the location of +# the libc.a file in the default multilib variant, by +# removing the usr/lib[32|64]/libc.a part of the path. +# Ex: /x-tools/mips-2011.03/mips-linux-gnu/libc/ +# +# ARCH_SYSROOT_DIR: the sysroot of the selected multilib variant, +# deduced from the location of the libc.a file in the +# selected multilib variant (taking into account the +# CFLAGS), by removing usr/lib[32|64]/libc.a at the end +# of the path. +# Ex: /x-tools/mips-2011.03/mips-linux-gnu/libc/mips16/soft-float/el/ +# +# ARCH_LIB_DIR: 'lib', 'lib32' or 'lib64' depending on where libraries +# are stored. Deduced from the location of the libc.a file +# in the selected multilib variant, by looking at +# usr/lib??/libc.a. +# Ex: lib +# +# ARCH_SUBDIR: the relative location of the sysroot of the selected +# multilib variant compared to the main sysroot. +# Ex: mips16/soft-float/el +# +# SUPPORT_LIB_DIR: some toolchains, such as recent Linaro toolchains, +# store GCC support libraries (libstdc++, +# libgcc_s, etc.) outside of the sysroot. In +# this case, SUPPORT_LIB_DIR is set to a +# non-empty value, and points to the directory +# where these support libraries are +# available. Those libraries will be copied to +# our sysroot, and the directory will also be +# considered when searching libraries for copy +# to the target filesystem. +# +# Please be very careful to check the major toolchain sources: +# Buildroot, Crosstool-NG, CodeSourcery and Linaro +# before doing any modification on the below logic. + +ifeq ($(BR2_STATIC_LIBS),) +define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS + $(Q)$(call MESSAGE,"Copying external toolchain libraries to target...") + $(Q)for libpattern in $(TOOLCHAIN_EXTERNAL_LIBS); do \ + $(call copy_toolchain_lib_root,$$libpattern); \ + done +endef +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY),y) +define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER + $(Q)$(call MESSAGE,"Copying gdbserver") + $(Q)ARCH_SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ + ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ + gdbserver_found=0 ; \ + for d in $${ARCH_SYSROOT_DIR}/usr \ + $${ARCH_SYSROOT_DIR}/../debug-root/usr \ + $${ARCH_SYSROOT_DIR}/usr/$${ARCH_LIB_DIR} \ + $(TOOLCHAIN_EXTERNAL_INSTALL_DIR); do \ + if test -f $${d}/bin/gdbserver ; then \ + install -m 0755 -D $${d}/bin/gdbserver $(TARGET_DIR)/usr/bin/gdbserver ; \ + gdbserver_found=1 ; \ + break ; \ + fi ; \ + done ; \ + if [ $${gdbserver_found} -eq 0 ] ; then \ + echo "Could not find gdbserver in external toolchain" ; \ + exit 1 ; \ + fi +endef +endif + +define TOOLCHAIN_EXTERNAL_INSTALL_SYSROOT_LIBS + $(Q)SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC))" ; \ + ARCH_SYSROOT_DIR="$(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ + ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ + SUPPORT_LIB_DIR="" ; \ + if test `find $${ARCH_SYSROOT_DIR} -name 'libstdc++.a' | wc -l` -eq 0 ; then \ + LIBSTDCPP_A_LOCATION=$$(LANG=C $(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS) -print-file-name=libstdc++.a) ; \ + if [ -e "$${LIBSTDCPP_A_LOCATION}" ]; then \ + SUPPORT_LIB_DIR=`readlink -f $${LIBSTDCPP_A_LOCATION} | sed -r -e 's:libstdc\+\+\.a::'` ; \ + fi ; \ + fi ; \ + if [ "$${SYSROOT_DIR}" == "$${ARCH_SYSROOT_DIR}" ] ; then \ + ARCH_SUBDIR="" ; \ + elif [ "`dirname $${ARCH_SYSROOT_DIR}`" = "`dirname $${SYSROOT_DIR}`" ] ; then \ + SYSROOT_DIR_DIRNAME=`dirname $${SYSROOT_DIR}`/ ; \ + ARCH_SUBDIR=`echo $${ARCH_SYSROOT_DIR} | sed -r -e "s:^$${SYSROOT_DIR_DIRNAME}(.*)/$$:\1:"` ; \ + else \ + ARCH_SUBDIR=`echo $${ARCH_SYSROOT_DIR} | sed -r -e "s:^$${SYSROOT_DIR}(.*)/$$:\1:"` ; \ + fi ; \ + $(call MESSAGE,"Copying external toolchain sysroot to staging...") ; \ + $(call copy_toolchain_sysroot,$${SYSROOT_DIR},$${ARCH_SYSROOT_DIR},$${ARCH_SUBDIR},$${ARCH_LIB_DIR},$${SUPPORT_LIB_DIR}) +endef + +# Create a symlink from (usr/)$(ARCH_LIB_DIR) to lib. +# Note: the skeleton package additionally creates lib32->lib or lib64->lib +# (as appropriate) +# +# $1: destination directory (TARGET_DIR / STAGING_DIR) +create_lib_symlinks = \ + $(Q)DESTDIR="$(strip $1)" ; \ + ARCH_LIB_DIR="$(call toolchain_find_libdir,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS))" ; \ + if [ ! -e "$${DESTDIR}/$${ARCH_LIB_DIR}" -a ! -e "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ]; then \ + relpath="$(call relpath_prefix,$${ARCH_LIB_DIR})" ; \ + ln -snf $${relpath}lib "$${DESTDIR}/$${ARCH_LIB_DIR}" ; \ + ln -snf $${relpath}lib "$${DESTDIR}/usr/$${ARCH_LIB_DIR}" ; \ + fi + +define TOOLCHAIN_EXTERNAL_CREATE_STAGING_LIB_SYMLINK + $(call create_lib_symlinks,$(STAGING_DIR)) +endef + +define TOOLCHAIN_EXTERNAL_CREATE_TARGET_LIB_SYMLINK + $(call create_lib_symlinks,$(TARGET_DIR)) +endef + +# +# Generate gdbinit file for use with Buildroot +# +define TOOLCHAIN_EXTERNAL_INSTALL_GDBINIT + $(Q)if test -f $(TARGET_CROSS)gdb ; then \ + $(call MESSAGE,"Installing gdbinit"); \ + $(gen_gdbinit_file); \ + fi +endef + +# GCC installs a libstdcxx-...so-gdb.py file that gdb will load automatically, +# but it contains hardcoded paths referring to the location where the (external) +# toolchain was built. Fix up these paths so that the pretty printers can be +# loaded automatically. +# By default, the pretty printers are installed in +# $(datadir)/gcc-$(gcc_version)/python but this could have been overwritten with +# the gcc configure option: --with-python-dir. We thus have to search the +# correct path first. +define TOOLCHAIN_EXTERNAL_FIXUP_PRETTY_PRINTER_LOADER + $(Q)loadfiles=$$(find $(STAGING_DIR) -name 'libstdc++.so*-gdb.py' 2>/dev/null); \ + pythondir=$$(find $(TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR) -path '*/libstdcxx/__init__.py' 2>/dev/null | sed 's%/libstdcxx/__init__.py%%' | head -n1); \ + if [ -n "$$loadfiles" ] && [ -n "$$pythondir" ]; then \ + echo "Fixing up hardcoded paths in GDB pretty-printer auto-load file(s) for libstdcxx: $$loadfiles"; \ + sed -ri \ + -e 's%^libdir\s*=.*%libdir = "$(STAGING_DIR)/lib"%' \ + -e "s%^pythondir\s*=.*%pythondir = '$$pythondir'%" \ + $$loadfiles; \ + fi +endef + +# uClibc-ng dynamic loader is called ld-uClibc.so.1, but gcc is not +# patched specifically for uClibc-ng, so it continues to generate +# binaries that expect the dynamic loader to be named ld-uClibc.so.0, +# like with the original uClibc. Therefore, we create an additional +# symbolic link to make uClibc-ng systems work properly. +define TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO + $(Q)if test -e $(TARGET_DIR)/lib/ld-uClibc.so.1; then \ + ln -sf ld-uClibc.so.1 $(TARGET_DIR)/lib/ld-uClibc.so.0 ; \ + fi + $(Q)if test -e $(TARGET_DIR)/lib/ld64-uClibc.so.1; then \ + ln -sf ld64-uClibc.so.1 $(TARGET_DIR)/lib/ld64-uClibc.so.0 ; \ + fi +endef + +define TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD + $(Q)if test -f $(STAGING_DIR)/usr/bin/ldd ; then \ + $(INSTALL) -D $(STAGING_DIR)/usr/bin/ldd $(TARGET_DIR)/usr/bin/ldd ; \ + $(SED) 's:.*/bin/bash:#!/bin/sh:' $(TARGET_DIR)/usr/bin/ldd ; \ + fi +endef + +################################################################################ +# inner-toolchain-external-package -- defines the generic installation rules +# for external toolchain packages +# +# argument 1 is the lowercase package name +# argument 2 is the uppercase package name, including a HOST_ prefix +# for host packages +# argument 3 is the uppercase package name, without the HOST_ prefix +# for host packages +# argument 4 is the type (target or host) +################################################################################ +define inner-toolchain-external-package + +$(2)_INSTALL_STAGING = YES +$(2)_ADD_TOOLCHAIN_DEPENDENCY = NO + +# In fact, we don't need to download the toolchain, since it is already +# available on the system, so force the site and source to be empty so +# that nothing will be downloaded/extracted. +ifeq ($$(BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED),y) +$(2)_SITE = +$(2)_SOURCE = +endif + +ifeq ($$(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),y) +$(2)_EXCLUDES = usr/lib/locale/* + +$(2)_POST_EXTRACT_HOOKS += \ + TOOLCHAIN_EXTERNAL_MOVE +endif + +# Checks for an already installed toolchain: check the toolchain +# location, check that it is usable, and then verify that it +# matches the configuration provided in Buildroot: ABI, C++ support, +# kernel headers version, type of C library and all C library features. +define $(2)_CONFIGURE_CMDS + $$(Q)$$(call check_cross_compiler_exists,$$(TOOLCHAIN_EXTERNAL_CC)) + $$(Q)$$(call check_unusable_toolchain,$$(TOOLCHAIN_EXTERNAL_CC)) + $$(Q)SYSROOT_DIR="$$(call toolchain_find_sysroot,$$(TOOLCHAIN_EXTERNAL_CC))" ; \ + $$(call check_kernel_headers_version,\ + $$(BUILD_DIR),\ + $$(call toolchain_find_sysroot,$$(TOOLCHAIN_EXTERNAL_CC)),\ + $$(call qstrip,$$(BR2_TOOLCHAIN_HEADERS_AT_LEAST)),\ + $$(if $$(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),loose,strict)); \ + $$(call check_gcc_version,$$(TOOLCHAIN_EXTERNAL_CC),\ + $$(call qstrip,$$(BR2_TOOLCHAIN_GCC_AT_LEAST))); \ + if test "$$(BR2_arm)" = "y" ; then \ + $$(call check_arm_abi,\ + "$$(TOOLCHAIN_EXTERNAL_CC) $$(TOOLCHAIN_EXTERNAL_CFLAGS)") ; \ + fi ; \ + if test "$$(BR2_INSTALL_LIBSTDCPP)" = "y" ; then \ + $$(call check_cplusplus,$$(TOOLCHAIN_EXTERNAL_CXX)) ; \ + fi ; \ + if test "$$(BR2_TOOLCHAIN_HAS_DLANG)" = "y" ; then \ + $$(call check_dlang,$$(TOOLCHAIN_EXTERNAL_GDC)) ; \ + fi ; \ + if test "$$(BR2_TOOLCHAIN_HAS_FORTRAN)" = "y" ; then \ + $$(call check_fortran,$$(TOOLCHAIN_EXTERNAL_FC)) ; \ + fi ; \ + if test "$$(BR2_TOOLCHAIN_HAS_OPENMP)" = "y" ; then \ + $$(call check_openmp,$$(TOOLCHAIN_EXTERNAL_CC)) ; \ + fi ; \ + if test "$$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)" = "y" ; then \ + $$(call check_uclibc,$$$${SYSROOT_DIR}) ; \ + elif test "$$(BR2_TOOLCHAIN_EXTERNAL_MUSL)" = "y" ; then \ + $$(call check_musl,\ + "$$(TOOLCHAIN_EXTERNAL_CC) $$(TOOLCHAIN_EXTERNAL_CFLAGS)") ; \ + else \ + $$(call check_glibc,$$$${SYSROOT_DIR}) ; \ + fi + $$(Q)$$(call check_toolchain_ssp,$$(TOOLCHAIN_EXTERNAL_CC),$(BR2_SSP_OPTION)) +endef + +$(2)_TOOLCHAIN_WRAPPER_ARGS += $$(TOOLCHAIN_EXTERNAL_TOOLCHAIN_WRAPPER_ARGS) + +$(2)_BUILD_CMDS = $$(TOOLCHAIN_WRAPPER_BUILD) + +define $(2)_INSTALL_STAGING_CMDS + $$(TOOLCHAIN_WRAPPER_INSTALL) + $$(TOOLCHAIN_EXTERNAL_CREATE_STAGING_LIB_SYMLINK) + $$(TOOLCHAIN_EXTERNAL_INSTALL_SYSROOT_LIBS) + $$(TOOLCHAIN_EXTERNAL_INSTALL_WRAPPER) + $$(TOOLCHAIN_EXTERNAL_INSTALL_GDBINIT) + $$(TOOLCHAIN_EXTERNAL_FIXUP_PRETTY_PRINTER_LOADER) +endef + +# Even though we're installing things in both the staging, the host +# and the target directory, we do everything within the +# install-staging step, arbitrarily. +define $(2)_INSTALL_TARGET_CMDS + $$(TOOLCHAIN_EXTERNAL_CREATE_TARGET_LIB_SYMLINK) + $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS) + $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER) + $$(TOOLCHAIN_EXTERNAL_FIXUP_UCLIBCNG_LDSO) + $$(TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LDD) +endef + +# Call the generic package infrastructure to generate the necessary +# make targets +$(call inner-generic-package,$(1),$(2),$(3),$(4)) + +endef + +toolchain-external-package = $(call inner-toolchain-external-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-andes-nds32/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-andes-nds32/toolchain-external-andes-nds32.mk diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in new file mode 100644 index 00000000..783ed353 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in @@ -0,0 +1,19 @@ +config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE + bool "Arm AArch64 BE 2021.07" + depends on BR2_aarch64_be + depends on BR2_HOSTARCH = "x86_64" + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_SSP + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_OPENMP + help + Arm toolchain for the AArch64 Big Endian architecture. + + This is the same toolchain that was previously distributed by + Linaro. + + https://developer.arm.com/open-source/gnu-toolchain diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/Config.in.options diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash new file mode 100644 index 00000000..1079917c --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.hash @@ -0,0 +1,4 @@ +# From https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64_be-none-linux-gnu.tar.xz.asc +md5 54cbaef7db7eb3de27732500f9da9c6f gcc-arm-10.3-2021.07-x86_64-aarch64_be-none-linux-gnu.tar.xz +# locally calculated +sha256 63c34cac07ceadd74620ea87f27af1aa6a6f55c20a5bc116af21a59ddb6b6a6a gcc-arm-10.3-2021.07-x86_64-aarch64_be-none-linux-gnu.tar.xz diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk new file mode 100644 index 00000000..5a6dbc60 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64-be/toolchain-external-arm-aarch64-be.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# toolchain-external-arm-aarch64-be +# +################################################################################ + +TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION = 2021.07 +TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION)/binrel + +TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_SOURCE = gcc-arm-10.3-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_BE_VERSION)-x86_64-aarch64_be-none-linux-gnu.tar.xz + +$(eval $(toolchain-external-package)) diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in new file mode 100644 index 00000000..4557debe --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in @@ -0,0 +1,19 @@ +config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64 + bool "Arm AArch64 2021.07" + depends on BR2_aarch64 + depends on BR2_HOSTARCH = "x86_64" + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_SSP + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_OPENMP + help + Arm toolchain for the AArch64 architecture. + + This is the same toolchain that was previously distributed by + Linaro. + + https://developer.arm.com/open-source/gnu-toolchain diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in.options diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash new file mode 100644 index 00000000..ca1ea48b --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash @@ -0,0 +1,4 @@ +# From https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz.asc +md5 07bbe2b5277b75ba36a924e9136366a4 gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz +# locally calculated +sha256 1e33d53dea59c8de823bbdfe0798280bdcd138636c7060da9d77a97ded095a84 gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu.tar.xz diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk new file mode 100644 index 00000000..356e0810 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# toolchain-external-arm-aarch64 +# +################################################################################ + +TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 2021.07 +TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)/binrel + +TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = gcc-arm-10.3-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-none-linux-gnu.tar.xz + +$(eval $(toolchain-external-package)) diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in new file mode 100644 index 00000000..0fbeba6a --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in @@ -0,0 +1,31 @@ +comment "Arm toolchains available for Cortex-A with NEON + EABIhf" + depends on BR2_arm + depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF || !BR2_ARM_CPU_HAS_NEON + depends on !BR2_STATIC_LIBS + +config BR2_TOOLCHAIN_EXTERNAL_ARM_ARM + bool "Arm ARM 2021.07" + depends on BR2_arm + depends on BR2_ARM_CPU_ARMV7A || BR2_ARM_CPU_ARMV8A + depends on BR2_ARM_CPU_HAS_NEON + depends on BR2_HOSTARCH = "x86_64" + depends on BR2_ARM_EABIHF + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + select BR2_TOOLCHAIN_HAS_SSP + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_OPENMP + help + Arm toolchain for the ARM architecture. It uses GCC 10.3, + GDB 10.2, glibc 2.33, Binutils 2.36.1. It generates code + that runs on all Cortex-A profile devices. The code + generated uses the hard floating point calling convention, + and uses the NEON FPU instructions. + + This is the same toolchain that was previously distributed by + Linaro. + + https://developer.arm.com/open-source/gnu-toolchain diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/Config.in.options diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash new file mode 100644 index 00000000..d58692de --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.hash @@ -0,0 +1,4 @@ +# From https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-2021.07/binrel/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf.tar.xz.asc +md5 87ec580b290df2febc7c476f59484635 gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf.tar.xz +# locally calculated +sha256 aa074fa8371a4f73fecbd16bd62c8b1945f23289e26414794f130d6ccdf8e39c gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf.tar.xz diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk new file mode 100644 index 00000000..43922051 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-arm-arm/toolchain-external-arm-arm.mk @@ -0,0 +1,12 @@ +################################################################################ +# +# toolchain-external-arm-arm +# +################################################################################ + +TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION = 2021.07 +TOOLCHAIN_EXTERNAL_ARM_ARM_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/10.3-$(TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION)/binrel + +TOOLCHAIN_EXTERNAL_ARM_ARM_SOURCE = gcc-arm-10.3-$(TOOLCHAIN_EXTERNAL_ARM_ARM_VERSION)-x86_64-arm-none-linux-gnueabihf.tar.xz + +$(eval $(toolchain-external-package)) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-bootlin/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/Config.in diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options new file mode 100644 index 00000000..4b440462 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/Config.in.options @@ -0,0 +1,4798 @@ +# This file was auto-generated by support/scripts/gen-bootlin-toolchains +# Do not edit +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCH_SUPPORTS + bool + default y if BR2_aarch64 + default y if BR2_aarch64_be + default y if BR2_arcle && BR2_arc750d + default y if BR2_arcle && BR2_archs38 + default y if BR2_ARM_CPU_ARMV5 && BR2_ARM_EABI + default y if BR2_ARM_CPU_ARMV6 && BR2_ARM_EABIHF + default y if BR2_ARM_CPU_ARMV7A && BR2_ARM_EABIHF + default y if BR2_ARM_CPU_ARMV7M + default y if BR2_m68k_m68k + default y if BR2_m68k_cf + default y if BR2_microblazebe + default y if BR2_microblazeel + default y if BR2_mips && BR2_mips_32 && !BR2_MIPS_SOFT_FLOAT + default y if BR2_mipsel && BR2_mips_32 && !BR2_MIPS_SOFT_FLOAT + default y if BR2_mipsel && BR2_mips_32r5 && !BR2_MIPS_SOFT_FLOAT + default y if BR2_mipsel && BR2_mips_32r6 && !BR2_MIPS_SOFT_FLOAT + default y if BR2_mips64 && BR2_mips_64 && !BR2_MIPS_SOFT_FLOAT + default y if BR2_mips64 && BR2_mips_64 && BR2_MIPS_NABI32 && !BR2_MIPS_SOFT_FLOAT + default y if BR2_mips64el && BR2_mips_64 && BR2_MIPS_NABI32 && !BR2_MIPS_SOFT_FLOAT + default y if BR2_mips64el && BR2_mips_64r6 && BR2_MIPS_NABI32 && !BR2_MIPS_SOFT_FLOAT + default y if BR2_nios2 + default y if BR2_or1k + default y if BR2_powerpc && BR2_powerpc_440fp + default y if BR2_powerpc && BR2_powerpc_e300c3 + default y if BR2_powerpc && BR2_powerpc_e500mc + default y if BR2_powerpc64 && BR2_powerpc_e5500 + default y if BR2_powerpc64 && BR2_powerpc_e6500 + default y if BR2_powerpc64 && BR2_powerpc_power8 + default y if BR2_powerpc64le && BR2_powerpc_power8 + default y if BR2_riscv && BR2_riscv_g && BR2_RISCV_32 && BR2_RISCV_ABI_ILP32D + default y if BR2_riscv && BR2_riscv_g && BR2_RISCV_64 && BR2_RISCV_ABI_LP64D + default y if BR2_sh && BR2_sh4 + default y if BR2_sh && BR2_sh4aeb + default y if BR2_sparc64 && BR2_sparc_v9 + default y if BR2_sparc && BR2_sparc_v8 + default y if BR2_x86_64 && BR2_X86_CPU_HAS_MMX && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2 + default y if BR2_x86_64 && BR2_X86_CPU_HAS_MMX && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2 && BR2_X86_CPU_HAS_SSE3 && BR2_X86_CPU_HAS_SSSE3 && BR2_X86_CPU_HAS_SSE4 && BR2_X86_CPU_HAS_SSE42 + default y if BR2_x86_64 && BR2_X86_CPU_HAS_MMX && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2 && BR2_X86_CPU_HAS_SSE3 && BR2_X86_CPU_HAS_SSSE3 && BR2_X86_CPU_HAS_SSE4 && BR2_X86_CPU_HAS_SSE42 && BR2_X86_CPU_HAS_AVX && BR2_X86_CPU_HAS_AVX2 + default y if BR2_x86_64 && BR2_X86_CPU_HAS_MMX && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2 && BR2_X86_CPU_HAS_SSE3 && BR2_X86_CPU_HAS_SSSE3 && BR2_X86_CPU_HAS_SSE4 && BR2_X86_CPU_HAS_SSE42 && BR2_X86_CPU_HAS_AVX && BR2_X86_CPU_HAS_AVX2 && BR2_X86_CPU_HAS_AVX512 + default y if BR2_x86_64 && BR2_X86_CPU_HAS_MMX && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2 && BR2_X86_CPU_HAS_SSE3 && BR2_X86_CPU_HAS_SSSE3 && BR2_X86_CPU_HAS_SSE4 && BR2_X86_CPU_HAS_SSE42 + default y if BR2_i386 && BR2_X86_CPU_HAS_MMX && BR2_X86_CPU_HAS_SSE && BR2_X86_CPU_HAS_SSE2 && BR2_X86_CPU_HAS_SSE3 && BR2_X86_CPU_HAS_SSSE3 + default y if BR2_i386 && !BR2_x86_i486 && !BR2_x86_i586 && !BR2_x86_x1000 + default y if BR2_xtensa && BR2_XTENSA_CUSTOM && BR2_XTENSA_LITTLE_ENDIAN + +if BR2_TOOLCHAIN_EXTERNAL_BOOTLIN + +config BR2_TOOLCHAIN_EXTERNAL_PREFIX + default "$(ARCH)-linux" + +config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL + default "toolchain-external-bootlin" + +choice + prompt "Bootlin toolchain variant" +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_BLEEDING_EDGE + bool "aarch64 glibc bleeding-edge 2021.11-1" + depends on BR2_aarch64 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the aarch64 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE + bool "aarch64 glibc stable 2021.11-1" + depends on BR2_aarch64 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the aarch64 architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_BLEEDING_EDGE + bool "aarch64 musl bleeding-edge 2021.11-1" + depends on BR2_aarch64 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the aarch64 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_STABLE + bool "aarch64 musl stable 2021.11-1" + depends on BR2_aarch64 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the aarch64 architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_BLEEDING_EDGE + bool "aarch64 uclibc bleeding-edge 2021.11-1" + depends on BR2_aarch64 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the aarch64 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE + bool "aarch64 uclibc stable 2021.11-1" + depends on BR2_aarch64 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the aarch64 architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_BLEEDING_EDGE + bool "aarch64be glibc bleeding-edge 2021.11-1" + depends on BR2_aarch64_be + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the aarch64be architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_STABLE + bool "aarch64be glibc stable 2021.11-1" + depends on BR2_aarch64_be + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the aarch64be architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_BLEEDING_EDGE + bool "aarch64be uclibc bleeding-edge 2021.11-1" + depends on BR2_aarch64_be + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the aarch64be architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE + bool "aarch64be uclibc stable 2021.11-1" + depends on BR2_aarch64_be + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the aarch64be architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_BLEEDING_EDGE + bool "arcle-750d uclibc bleeding-edge 2021.11-1" + depends on BR2_arcle + depends on BR2_arc750d + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the arcle-750d architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_STABLE + bool "arcle-750d uclibc stable 2021.11-1" + depends on BR2_arcle + depends on BR2_arc750d + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the arcle-750d architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_BLEEDING_EDGE + bool "arcle-hs38 glibc bleeding-edge 2021.11-1" + depends on BR2_arcle + depends on BR2_archs38 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the arcle-hs38 architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_STABLE + bool "arcle-hs38 glibc stable 2021.11-3" + depends on BR2_arcle + depends on BR2_archs38 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the arcle-hs38 architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_BLEEDING_EDGE + bool "arcle-hs38 uclibc bleeding-edge 2021.11-1" + depends on BR2_arcle + depends on BR2_archs38 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the arcle-hs38 architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_STABLE + bool "arcle-hs38 uclibc stable 2021.11-1" + depends on BR2_arcle + depends on BR2_archs38 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the arcle-hs38 architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE + bool "armv5-eabi glibc bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV5 + depends on BR2_ARM_EABI + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the armv5-eabi architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE + bool "armv5-eabi glibc stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV5 + depends on BR2_ARM_EABI + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the armv5-eabi architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_BLEEDING_EDGE + bool "armv5-eabi musl bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV5 + depends on BR2_ARM_EABI + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the armv5-eabi architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_STABLE + bool "armv5-eabi musl stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV5 + depends on BR2_ARM_EABI + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the armv5-eabi architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_BLEEDING_EDGE + bool "armv5-eabi uclibc bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV5 + depends on BR2_ARM_EABI + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the armv5-eabi architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE + bool "armv5-eabi uclibc stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV5 + depends on BR2_ARM_EABI + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the armv5-eabi architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_BLEEDING_EDGE + bool "armv6-eabihf glibc bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV6 + depends on BR2_ARM_EABIHF + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the armv6-eabihf architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_STABLE + bool "armv6-eabihf glibc stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV6 + depends on BR2_ARM_EABIHF + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the armv6-eabihf architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_BLEEDING_EDGE + bool "armv6-eabihf musl bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV6 + depends on BR2_ARM_EABIHF + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the armv6-eabihf architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_STABLE + bool "armv6-eabihf musl stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV6 + depends on BR2_ARM_EABIHF + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the armv6-eabihf architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_BLEEDING_EDGE + bool "armv6-eabihf uclibc bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV6 + depends on BR2_ARM_EABIHF + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the armv6-eabihf architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_STABLE + bool "armv6-eabihf uclibc stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV6 + depends on BR2_ARM_EABIHF + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the armv6-eabihf architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_BLEEDING_EDGE + bool "armv7-eabihf glibc bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV7A + depends on BR2_ARM_EABIHF + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the armv7-eabihf architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE + bool "armv7-eabihf glibc stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV7A + depends on BR2_ARM_EABIHF + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the armv7-eabihf architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE + bool "armv7-eabihf musl bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV7A + depends on BR2_ARM_EABIHF + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the armv7-eabihf architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE + bool "armv7-eabihf musl stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV7A + depends on BR2_ARM_EABIHF + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the armv7-eabihf architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_BLEEDING_EDGE + bool "armv7-eabihf uclibc bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV7A + depends on BR2_ARM_EABIHF + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the armv7-eabihf architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_STABLE + bool "armv7-eabihf uclibc stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV7A + depends on BR2_ARM_EABIHF + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the armv7-eabihf architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_BLEEDING_EDGE + bool "armv7m uclibc bleeding-edge 2021.11-1" + depends on BR2_ARM_CPU_ARMV7M + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the armv7m architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_STABLE + bool "armv7m uclibc stable 2021.11-1" + depends on BR2_ARM_CPU_ARMV7M + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the armv7m architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_BLEEDING_EDGE + bool "m68k-68xxx uclibc bleeding-edge 2021.11-1" + depends on BR2_m68k_m68k + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the m68k-68xxx architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_STABLE + bool "m68k-68xxx uclibc stable 2021.11-1" + depends on BR2_m68k_m68k + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the m68k-68xxx architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_BLEEDING_EDGE + bool "m68k-coldfire uclibc bleeding-edge 2021.11-1" + depends on BR2_m68k_cf + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the m68k-coldfire architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_STABLE + bool "m68k-coldfire uclibc stable 2021.11-1" + depends on BR2_m68k_cf + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the m68k-coldfire architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_BLEEDING_EDGE + bool "microblazebe glibc bleeding-edge 2021.11-1" + depends on BR2_microblazebe + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the microblazebe architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_STABLE + bool "microblazebe glibc stable 2021.11-1" + depends on BR2_microblazebe + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the microblazebe architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_BLEEDING_EDGE + bool "microblazebe musl bleeding-edge 2021.11-1" + depends on BR2_microblazebe + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the microblazebe architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_STABLE + bool "microblazebe musl stable 2021.11-1" + depends on BR2_microblazebe + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the microblazebe architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_BLEEDING_EDGE + bool "microblazebe uclibc bleeding-edge 2021.11-1" + depends on BR2_microblazebe + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the microblazebe architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_STABLE + bool "microblazebe uclibc stable 2021.11-1" + depends on BR2_microblazebe + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the microblazebe architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_BLEEDING_EDGE + bool "microblazeel glibc bleeding-edge 2021.11-1" + depends on BR2_microblazeel + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the microblazeel architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_STABLE + bool "microblazeel glibc stable 2021.11-1" + depends on BR2_microblazeel + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the microblazeel architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_BLEEDING_EDGE + bool "microblazeel musl bleeding-edge 2021.11-1" + depends on BR2_microblazeel + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the microblazeel architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_STABLE + bool "microblazeel musl stable 2021.11-1" + depends on BR2_microblazeel + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the microblazeel architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_BLEEDING_EDGE + bool "microblazeel uclibc bleeding-edge 2021.11-1" + depends on BR2_microblazeel + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the microblazeel architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_STABLE + bool "microblazeel uclibc stable 2021.11-1" + depends on BR2_microblazeel + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the microblazeel architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_BLEEDING_EDGE + bool "mips32 glibc bleeding-edge 2021.11-1" + depends on BR2_mips + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips32 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_STABLE + bool "mips32 glibc stable 2021.11-1" + depends on BR2_mips + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips32 architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_BLEEDING_EDGE + bool "mips32 musl bleeding-edge 2021.11-1" + depends on BR2_mips + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips32 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_STABLE + bool "mips32 musl stable 2021.11-1" + depends on BR2_mips + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips32 architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_BLEEDING_EDGE + bool "mips32 uclibc bleeding-edge 2021.11-1" + depends on BR2_mips + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips32 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE + bool "mips32 uclibc stable 2021.11-1" + depends on BR2_mips + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips32 architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_BLEEDING_EDGE + bool "mips32el glibc bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips32el architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_STABLE + bool "mips32el glibc stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips32el architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_BLEEDING_EDGE + bool "mips32el musl bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips32el architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_STABLE + bool "mips32el musl stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips32el architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_BLEEDING_EDGE + bool "mips32el uclibc bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips32el architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE + bool "mips32el uclibc stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips32el architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_BLEEDING_EDGE + bool "mips32r5el glibc bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r5 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips32r5el architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_STABLE + bool "mips32r5el glibc stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r5 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips32r5el architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_BLEEDING_EDGE + bool "mips32r5el musl bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r5 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips32r5el architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_STABLE + bool "mips32r5el musl stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r5 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips32r5el architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_BLEEDING_EDGE + bool "mips32r5el uclibc bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r5 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips32r5el architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_STABLE + bool "mips32r5el uclibc stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r5 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips32r5el architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_BLEEDING_EDGE + bool "mips32r6el glibc bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r6 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips32r6el architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_STABLE + bool "mips32r6el glibc stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r6 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips32r6el architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_BLEEDING_EDGE + bool "mips32r6el musl bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r6 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips32r6el architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_STABLE + bool "mips32r6el musl stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r6 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips32r6el architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_BLEEDING_EDGE + bool "mips32r6el uclibc bleeding-edge 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r6 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips32r6el architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_STABLE + bool "mips32r6el uclibc stable 2021.11-1" + depends on BR2_mipsel + depends on BR2_mips_32r6 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips32r6el architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_BLEEDING_EDGE + bool "mips64-n32 glibc bleeding-edge 2021.11-1" + depends on BR2_mips64 + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips64-n32 architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_STABLE + bool "mips64-n32 glibc stable 2021.11-1" + depends on BR2_mips64 + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips64-n32 architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_BLEEDING_EDGE + bool "mips64-n32 musl bleeding-edge 2021.11-1" + depends on BR2_mips64 + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips64-n32 architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_STABLE + bool "mips64-n32 musl stable 2021.11-1" + depends on BR2_mips64 + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips64-n32 architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_BLEEDING_EDGE + bool "mips64-n32 uclibc bleeding-edge 2021.11-1" + depends on BR2_mips64 + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips64-n32 architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_STABLE + bool "mips64-n32 uclibc stable 2021.11-1" + depends on BR2_mips64 + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips64-n32 architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_BLEEDING_EDGE + bool "mips64el-n32 glibc bleeding-edge 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips64el-n32 architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE + bool "mips64el-n32 glibc stable 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips64el-n32 architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_BLEEDING_EDGE + bool "mips64el-n32 musl bleeding-edge 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips64el-n32 architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_STABLE + bool "mips64el-n32 musl stable 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips64el-n32 architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_BLEEDING_EDGE + bool "mips64el-n32 uclibc bleeding-edge 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips64el-n32 architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_STABLE + bool "mips64el-n32 uclibc stable 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips64el-n32 architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_BLEEDING_EDGE + bool "mips64r6el-n32 glibc bleeding-edge 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64r6 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips64r6el-n32 architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_STABLE + bool "mips64r6el-n32 glibc stable 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64r6 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the mips64r6el-n32 architecture, + using the glibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_BLEEDING_EDGE + bool "mips64r6el-n32 musl bleeding-edge 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64r6 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips64r6el-n32 architecture, + using the musl C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_STABLE + bool "mips64r6el-n32 musl stable 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64r6 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the mips64r6el-n32 architecture, + using the musl C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_BLEEDING_EDGE + bool "mips64r6el-n32 uclibc bleeding-edge 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64r6 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips64r6el-n32 architecture, + using the uclibc C library. This is a bleeding-edge + version, which means it is using the latest versions of + gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_STABLE + bool "mips64r6el-n32 uclibc stable 2021.11-1" + depends on BR2_mips64el + depends on BR2_mips_64r6 + depends on BR2_MIPS_NABI32 + depends on !BR2_MIPS_SOFT_FLOAT + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the mips64r6el-n32 architecture, + using the uclibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE + bool "nios2 glibc bleeding-edge 2021.11-1" + depends on BR2_nios2 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the nios2 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_STABLE + bool "nios2 glibc stable 2021.11-1" + depends on BR2_nios2 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the nios2 architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_BLEEDING_EDGE + bool "openrisc musl bleeding-edge 2021.11-5" + depends on BR2_or1k + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the openrisc architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_STABLE + bool "openrisc musl stable 2021.11-5" + depends on BR2_or1k + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the openrisc architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_BLEEDING_EDGE + bool "openrisc uclibc bleeding-edge 2021.11-5" + depends on BR2_or1k + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the openrisc architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_STABLE + bool "openrisc uclibc stable 2021.11-5" + depends on BR2_or1k + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the openrisc architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_BLEEDING_EDGE + bool "powerpc-440fp glibc bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_440fp + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc-440fp architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_STABLE + bool "powerpc-440fp glibc stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_440fp + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc-440fp architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_BLEEDING_EDGE + bool "powerpc-440fp musl bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_440fp + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc-440fp architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_STABLE + bool "powerpc-440fp musl stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_440fp + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc-440fp architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_BLEEDING_EDGE + bool "powerpc-440fp uclibc bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_440fp + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the powerpc-440fp architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_STABLE + bool "powerpc-440fp uclibc stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_440fp + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the powerpc-440fp architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_BLEEDING_EDGE + bool "powerpc-e300c3 glibc bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e300c3 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc-e300c3 architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_STABLE + bool "powerpc-e300c3 glibc stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e300c3 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc-e300c3 architecture, + using the glibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_BLEEDING_EDGE + bool "powerpc-e300c3 musl bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e300c3 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc-e300c3 architecture, + using the musl C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_STABLE + bool "powerpc-e300c3 musl stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e300c3 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc-e300c3 architecture, + using the musl C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_BLEEDING_EDGE + bool "powerpc-e300c3 uclibc bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e300c3 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the powerpc-e300c3 architecture, + using the uclibc C library. This is a bleeding-edge + version, which means it is using the latest versions of + gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_STABLE + bool "powerpc-e300c3 uclibc stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e300c3 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the powerpc-e300c3 architecture, + using the uclibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_BLEEDING_EDGE + bool "powerpc-e500mc glibc bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e500mc + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc-e500mc architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_STABLE + bool "powerpc-e500mc glibc stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e500mc + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc-e500mc architecture, + using the glibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_BLEEDING_EDGE + bool "powerpc-e500mc musl bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e500mc + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc-e500mc architecture, + using the musl C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_STABLE + bool "powerpc-e500mc musl stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e500mc + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc-e500mc architecture, + using the musl C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_BLEEDING_EDGE + bool "powerpc-e500mc uclibc bleeding-edge 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e500mc + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the powerpc-e500mc architecture, + using the uclibc C library. This is a bleeding-edge + version, which means it is using the latest versions of + gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_STABLE + bool "powerpc-e500mc uclibc stable 2021.11-1" + depends on BR2_powerpc + depends on BR2_powerpc_e500mc + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the powerpc-e500mc architecture, + using the uclibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_BLEEDING_EDGE + bool "powerpc64-e5500 glibc bleeding-edge 2021.11-1" + depends on BR2_powerpc64 + depends on BR2_powerpc_e5500 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc64-e5500 architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_STABLE + bool "powerpc64-e5500 glibc stable 2021.11-1" + depends on BR2_powerpc64 + depends on BR2_powerpc_e5500 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc64-e5500 architecture, + using the glibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_BLEEDING_EDGE + bool "powerpc64-e6500 glibc bleeding-edge 2021.11-1" + depends on BR2_powerpc64 + depends on BR2_powerpc_e6500 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc64-e6500 architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_STABLE + bool "powerpc64-e6500 glibc stable 2021.11-1" + depends on BR2_powerpc64 + depends on BR2_powerpc_e6500 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc64-e6500 architecture, + using the glibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_BLEEDING_EDGE + bool "powerpc64-e6500 musl bleeding-edge 2021.11-1" + depends on BR2_powerpc64 + depends on BR2_powerpc_e6500 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc64-e6500 architecture, + using the musl C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_STABLE + bool "powerpc64-e6500 musl stable 2021.11-1" + depends on BR2_powerpc64 + depends on BR2_powerpc_e6500 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc64-e6500 architecture, + using the musl C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_BLEEDING_EDGE + bool "powerpc64-power8 glibc bleeding-edge 2021.11-2" + depends on BR2_powerpc64 + depends on BR2_powerpc_power8 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc64-power8 architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE + bool "powerpc64-power8 glibc stable 2021.11-1" + depends on BR2_powerpc64 + depends on BR2_powerpc_power8 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc64-power8 architecture, + using the glibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_BLEEDING_EDGE + bool "powerpc64-power8 musl bleeding-edge 2021.11-2" + depends on BR2_powerpc64 + depends on BR2_powerpc_power8 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc64-power8 architecture, + using the musl C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_STABLE + bool "powerpc64-power8 musl stable 2021.11-1" + depends on BR2_powerpc64 + depends on BR2_powerpc_power8 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc64-power8 architecture, + using the musl C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_BLEEDING_EDGE + bool "powerpc64le-power8 glibc bleeding-edge 2021.11-2" + depends on BR2_powerpc64le + depends on BR2_powerpc_power8 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc64le-power8 architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE + bool "powerpc64le-power8 glibc stable 2021.11-1" + depends on BR2_powerpc64le + depends on BR2_powerpc_power8 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the powerpc64le-power8 architecture, + using the glibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_BLEEDING_EDGE + bool "powerpc64le-power8 musl bleeding-edge 2021.11-2" + depends on BR2_powerpc64le + depends on BR2_powerpc_power8 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc64le-power8 architecture, + using the musl C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_STABLE + bool "powerpc64le-power8 musl stable 2021.11-1" + depends on BR2_powerpc64le + depends on BR2_powerpc_power8 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the powerpc64le-power8 architecture, + using the musl C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_BLEEDING_EDGE + bool "riscv32-ilp32d glibc bleeding-edge 2021.11-1" + depends on BR2_riscv + depends on BR2_riscv_g + depends on BR2_RISCV_32 + depends on BR2_RISCV_ABI_ILP32D + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the riscv32-ilp32d architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_BLEEDING_EDGE + bool "riscv64-lp64d glibc bleeding-edge 2021.11-1" + depends on BR2_riscv + depends on BR2_riscv_g + depends on BR2_RISCV_64 + depends on BR2_RISCV_ABI_LP64D + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the riscv64-lp64d architecture, using + the glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_STABLE + bool "riscv64-lp64d glibc stable 2021.11-1" + depends on BR2_riscv + depends on BR2_riscv_g + depends on BR2_RISCV_64 + depends on BR2_RISCV_ABI_LP64D + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the riscv64-lp64d architecture, using + the glibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_BLEEDING_EDGE + bool "riscv64-lp64d musl bleeding-edge 2021.11-1" + depends on BR2_riscv + depends on BR2_riscv_g + depends on BR2_RISCV_64 + depends on BR2_RISCV_ABI_LP64D + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the riscv64-lp64d architecture, using + the musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_STABLE + bool "riscv64-lp64d musl stable 2021.11-1" + depends on BR2_riscv + depends on BR2_riscv_g + depends on BR2_RISCV_64 + depends on BR2_RISCV_ABI_LP64D + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the riscv64-lp64d architecture, using + the musl C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_UCLIBC_BLEEDING_EDGE + bool "riscv64-lp64d uclibc bleeding-edge 2021.11-1" + depends on BR2_riscv + depends on BR2_riscv_g + depends on BR2_RISCV_64 + depends on BR2_RISCV_ABI_LP64D + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the riscv64-lp64d architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_UCLIBC_STABLE + bool "riscv64-lp64d uclibc stable 2021.11-1" + depends on BR2_riscv + depends on BR2_riscv_g + depends on BR2_RISCV_64 + depends on BR2_RISCV_ABI_LP64D + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the riscv64-lp64d architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_BLEEDING_EDGE + bool "sh-sh4 glibc bleeding-edge 2021.11-1" + depends on BR2_sh + depends on BR2_sh4 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the sh-sh4 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_STABLE + bool "sh-sh4 glibc stable 2021.11-1" + depends on BR2_sh + depends on BR2_sh4 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the sh-sh4 architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_BLEEDING_EDGE + bool "sh-sh4 musl bleeding-edge 2021.11-1" + depends on BR2_sh + depends on BR2_sh4 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the sh-sh4 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_STABLE + bool "sh-sh4 musl stable 2021.11-1" + depends on BR2_sh + depends on BR2_sh4 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the sh-sh4 architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_BLEEDING_EDGE + bool "sh-sh4 uclibc bleeding-edge 2021.11-1" + depends on BR2_sh + depends on BR2_sh4 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the sh-sh4 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_STABLE + bool "sh-sh4 uclibc stable 2021.11-1" + depends on BR2_sh + depends on BR2_sh4 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the sh-sh4 architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_BLEEDING_EDGE + bool "sh-sh4aeb glibc bleeding-edge 2021.11-1" + depends on BR2_sh + depends on BR2_sh4aeb + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the sh-sh4aeb architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_STABLE + bool "sh-sh4aeb glibc stable 2021.11-1" + depends on BR2_sh + depends on BR2_sh4aeb + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the sh-sh4aeb architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_BLEEDING_EDGE + bool "sh-sh4aeb musl bleeding-edge 2021.11-1" + depends on BR2_sh + depends on BR2_sh4aeb + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the sh-sh4aeb architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_STABLE + bool "sh-sh4aeb musl stable 2021.11-1" + depends on BR2_sh + depends on BR2_sh4aeb + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the sh-sh4aeb architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_BLEEDING_EDGE + bool "sparc64 glibc bleeding-edge 2021.11-1" + depends on BR2_sparc64 + depends on BR2_sparc_v9 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the sparc64 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_STABLE + bool "sparc64 glibc stable 2021.11-1" + depends on BR2_sparc64 + depends on BR2_sparc_v9 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the sparc64 architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_BLEEDING_EDGE + bool "sparcv8 uclibc bleeding-edge 2021.11-3" + depends on BR2_sparc + depends on BR2_sparc_v8 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the sparcv8 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE + bool "sparcv8 uclibc stable 2021.11-1" + depends on BR2_sparc + depends on BR2_sparc_v8 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the sparcv8 architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_GLIBC_BLEEDING_EDGE + bool "x86-64 glibc bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-64 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_GLIBC_STABLE + bool "x86-64 glibc stable 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-64 architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_BLEEDING_EDGE + bool "x86-64 musl bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-64 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE + bool "x86-64 musl stable 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-64 architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_BLEEDING_EDGE + bool "x86-64 uclibc bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-64 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_STABLE + bool "x86-64 uclibc stable 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-64 architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_GLIBC_BLEEDING_EDGE + bool "x86-64-v2 glibc bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-64-v2 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_MUSL_BLEEDING_EDGE + bool "x86-64-v2 musl bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-64-v2 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_UCLIBC_BLEEDING_EDGE + bool "x86-64-v2 uclibc bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-64-v2 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_GLIBC_BLEEDING_EDGE + bool "x86-64-v3 glibc bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_X86_CPU_HAS_AVX + depends on BR2_X86_CPU_HAS_AVX2 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-64-v3 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_MUSL_BLEEDING_EDGE + bool "x86-64-v3 musl bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_X86_CPU_HAS_AVX + depends on BR2_X86_CPU_HAS_AVX2 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-64-v3 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_UCLIBC_BLEEDING_EDGE + bool "x86-64-v3 uclibc bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_X86_CPU_HAS_AVX + depends on BR2_X86_CPU_HAS_AVX2 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-64-v3 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_GLIBC_BLEEDING_EDGE + bool "x86-64-v4 glibc bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_X86_CPU_HAS_AVX + depends on BR2_X86_CPU_HAS_AVX2 + depends on BR2_X86_CPU_HAS_AVX512 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-64-v4 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_MUSL_BLEEDING_EDGE + bool "x86-64-v4 musl bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_X86_CPU_HAS_AVX + depends on BR2_X86_CPU_HAS_AVX2 + depends on BR2_X86_CPU_HAS_AVX512 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-64-v4 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_UCLIBC_BLEEDING_EDGE + bool "x86-64-v4 uclibc bleeding-edge 2021.11-5" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_X86_CPU_HAS_AVX + depends on BR2_X86_CPU_HAS_AVX2 + depends on BR2_X86_CPU_HAS_AVX512 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-64-v4 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE + bool "x86-64-core-i7 glibc bleeding-edge 2021.11-1" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-64-core-i7 architecture, + using the glibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE + bool "x86-64-core-i7 glibc stable 2021.11-1" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-64-core-i7 architecture, + using the glibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_BLEEDING_EDGE + bool "x86-64-core-i7 musl bleeding-edge 2021.11-1" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-64-core-i7 architecture, + using the musl C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_STABLE + bool "x86-64-core-i7 musl stable 2021.11-1" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-64-core-i7 architecture, + using the musl C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_BLEEDING_EDGE + bool "x86-64-core-i7 uclibc bleeding-edge 2021.11-1" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-64-core-i7 architecture, + using the uclibc C library. This is a bleeding-edge + version, which means it is using the latest versions of + gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE + bool "x86-64-core-i7 uclibc stable 2021.11-1" + depends on BR2_x86_64 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_X86_CPU_HAS_SSE4 + depends on BR2_X86_CPU_HAS_SSE42 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-64-core-i7 architecture, + using the uclibc C library. This is a stable version, which + means it is using stable and proven versions of gcc, gdb + and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_BLEEDING_EDGE + bool "x86-core2 glibc bleeding-edge 2021.11-1" + depends on BR2_i386 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-core2 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE + bool "x86-core2 glibc stable 2021.11-1" + depends on BR2_i386 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-core2 architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_BLEEDING_EDGE + bool "x86-core2 musl bleeding-edge 2021.11-1" + depends on BR2_i386 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-core2 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_STABLE + bool "x86-core2 musl stable 2021.11-1" + depends on BR2_i386 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-core2 architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_BLEEDING_EDGE + bool "x86-core2 uclibc bleeding-edge 2021.11-1" + depends on BR2_i386 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-core2 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_STABLE + bool "x86-core2 uclibc stable 2021.11-1" + depends on BR2_i386 + depends on BR2_X86_CPU_HAS_MMX + depends on BR2_X86_CPU_HAS_SSE + depends on BR2_X86_CPU_HAS_SSE2 + depends on BR2_X86_CPU_HAS_SSE3 + depends on BR2_X86_CPU_HAS_SSSE3 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-core2 architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_BLEEDING_EDGE + bool "x86-i686 glibc bleeding-edge 2021.11-1" + depends on BR2_i386 + depends on !BR2_x86_i486 + depends on !BR2_x86_i586 + depends on !BR2_x86_x1000 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-i686 architecture, using the + glibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_STABLE + bool "x86-i686 glibc stable 2021.11-1" + depends on BR2_i386 + depends on !BR2_x86_i486 + depends on !BR2_x86_i586 + depends on !BR2_x86_x1000 + depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_SSP + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Bootlin toolchain for the x86-i686 architecture, using the + glibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE + bool "x86-i686 musl bleeding-edge 2021.11-1" + depends on BR2_i386 + depends on !BR2_x86_i486 + depends on !BR2_x86_i586 + depends on !BR2_x86_x1000 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-i686 architecture, using the + musl C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_STABLE + bool "x86-i686 musl stable 2021.11-1" + depends on BR2_i386 + depends on !BR2_x86_i486 + depends on !BR2_x86_i586 + depends on !BR2_x86_x1000 + depends on BR2_USE_MMU + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Bootlin toolchain for the x86-i686 architecture, using the + musl C library. This is a stable version, which means it is + using stable and proven versions of gcc, gdb and binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_BLEEDING_EDGE + bool "x86-i686 uclibc bleeding-edge 2021.11-1" + depends on BR2_i386 + depends on !BR2_x86_i486 + depends on !BR2_x86_i586 + depends on !BR2_x86_x1000 + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-i686 architecture, using the + uclibc C library. This is a bleeding-edge version, which + means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE + bool "x86-i686 uclibc stable 2021.11-1" + depends on BR2_i386 + depends on !BR2_x86_i486 + depends on !BR2_x86_i586 + depends on !BR2_x86_x1000 + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the x86-i686 architecture, using the + uclibc C library. This is a stable version, which means it + is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_BLEEDING_EDGE + bool "xtensa-lx60 uclibc bleeding-edge 2021.11-1" + depends on BR2_xtensa + depends on BR2_XTENSA_CUSTOM + depends on BR2_XTENSA_LITTLE_ENDIAN + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the xtensa-lx60 architecture, using + the uclibc C library. This is a bleeding-edge version, + which means it is using the latest versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +config BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE + bool "xtensa-lx60 uclibc stable 2021.11-1" + depends on BR2_xtensa + depends on BR2_XTENSA_CUSTOM + depends on BR2_XTENSA_LITTLE_ENDIAN + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + select BR2_USE_WCHAR + select BR2_ENABLE_LOCALE + select BR2_INSTALL_LIBSTDCPP + select BR2_TOOLCHAIN_HAS_FORTRAN + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Bootlin toolchain for the xtensa-lx60 architecture, using + the uclibc C library. This is a stable version, which means + it is using stable and proven versions of gcc, gdb and + binutils. + + https://toolchains.bootlin.com/ + +endchoice +endif diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.hash new file mode 100644 index 00000000..65426940 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.hash @@ -0,0 +1,378 @@ +# This file was auto-generated by support/scripts/gen-bootlin-toolchains +# Do not edit +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--bleeding-edge-2021.11-1.sha256 +sha256 55b90e0e844ac02a7fc3352be42b7cb9bb3ec582c23649dbb77e05c60eb84434 aarch64--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--glibc--stable-2021.11-1.sha256 +sha256 dec070196608124fa14c3f192364c5b5b057d7f34651ad58ebb8fc87959c97f7 aarch64--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--musl--bleeding-edge-2021.11-1.sha256 +sha256 c56f51c518eca9e614cc639ffb99719531c1022275045a43dfcdf79a142ba4dc aarch64--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--musl--stable-2021.11-1.sha256 +sha256 6919b4cf04b8c5628a2a93bcf4b05e1143ab15dfb4bc2acde02a2e3c075bf041 aarch64--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 9ba30538bb38a3ee4db5289469fd0a539ba248b00da4e1b1b6f5c3724c20deef aarch64--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs/aarch64--uclibc--stable-2021.11-1.sha256 +sha256 ec629adb0acd80d56b00f35e9fe823571bdcdb72072c7fc2d50607b3882c1f98 aarch64--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs/aarch64be--glibc--bleeding-edge-2021.11-1.sha256 +sha256 8d610107f7bea8957d71dca45bb84368c74e01da786a113d1089b72ee79ca095 aarch64be--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs/aarch64be--glibc--stable-2021.11-1.sha256 +sha256 6327121b67799ea967882cba746d25cf6a274a061f283d5c1b2818a651da0c9a aarch64be--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs/aarch64be--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 809d448f3f54fd9a4b01440acc697c022f3f0107e1bf0e9de3ee454a57be99e4 aarch64be--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs/aarch64be--uclibc--stable-2021.11-1.sha256 +sha256 08898011a5f12bf3fa0646a794bb63422fa24d20eb79d01665b2f91aa65f75aa aarch64be--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-750d/tarballs/arcle-750d--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 088b03942306b572db93025eae703086ddbfe9886e14544cf68ecd9dfa0ad4b4 arcle-750d--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-750d/tarballs/arcle-750d--uclibc--stable-2021.11-1.sha256 +sha256 6a7454aa1559ef304dfa55361763167848eb6d47539be31b24c7cf6723f581fd arcle-750d--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs/arcle-hs38--glibc--bleeding-edge-2021.11-1.sha256 +sha256 e2a35602cf3a518e16681184c5ac095693dbc1d3edd1ae219da2dfff0cce7d67 arcle-hs38--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs/arcle-hs38--glibc--stable-2021.11-3.sha256 +sha256 c7c00e3dcdb5123098cea365cfcf261e36adcf816bdd62e4e1ad661e1145f084 arcle-hs38--glibc--stable-2021.11-3.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs/arcle-hs38--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 552b2387ed8129fd205d3387ca508f816d1a67b90dd1d5ea16ff4872c5129fd9 arcle-hs38--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs/arcle-hs38--uclibc--stable-2021.11-1.sha256 +sha256 85ea258031a8c304dce0a660c18e67ec415a032f0d9f2c4080f04a47efb44c48 arcle-hs38--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--glibc--bleeding-edge-2021.11-1.sha256 +sha256 72a1964f1ba61d730b6be3b178bb4bc24de191a2ad8ada36e067d57011aae1a4 armv5-eabi--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--glibc--stable-2021.11-1.sha256 +sha256 22de590c491057d2f974b315055b357511319227c6084cccb1532e30c829687c armv5-eabi--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--musl--bleeding-edge-2021.11-1.sha256 +sha256 4906e6b454c1f9b2041d617df7e253f96288050f9760859868d60857e6bab924 armv5-eabi--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--musl--stable-2021.11-1.sha256 +sha256 2201fa9ce6d1226dafaf060cc568029d853af158b2ab182dcb8c7956bd993408 armv5-eabi--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 0187e76a377a096f7228b243637224cbe0dca12f5736202f813473723c566ea3 armv5-eabi--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs/armv5-eabi--uclibc--stable-2021.11-1.sha256 +sha256 888e65c2a75d125422ef4d2c144e3fed37d9a00169a78b4613fac34e7f9349ce armv5-eabi--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--glibc--bleeding-edge-2021.11-1.sha256 +sha256 c585b4129f60d3ae45c7b77fc6baf87f1c6a3d6d66b06059e1bf9f6e2fcf2899 armv6-eabihf--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--glibc--stable-2021.11-1.sha256 +sha256 c40177a063aa7db47747cbf4f26254d63abee9e20d8d88210261b50f03b51b22 armv6-eabihf--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--musl--bleeding-edge-2021.11-1.sha256 +sha256 d6114bbde0a308cf7057aa9c4f5641432c1e785d3decc650f64f5cb261370078 armv6-eabihf--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--musl--stable-2021.11-1.sha256 +sha256 41c463f2cd2984a2d53e5dee2e9a81b09c6cac2ba7b306766bdfc8f4865977bf armv6-eabihf--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 aca019db7e6167d5cf8d8ff68b10bad7d9dd7ae8784f991960754e8d027f424e armv6-eabihf--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs/armv6-eabihf--uclibc--stable-2021.11-1.sha256 +sha256 e7e19796a2f0b0d839508a721506e148cb4383ed82dcc2ff4b3c0c496a4229f3 armv6-eabihf--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--glibc--bleeding-edge-2021.11-1.sha256 +sha256 1d2b488d047d1a1694305613adb918167a36bf0857cd6bda3ce87a0e4c2b7f28 armv7-eabihf--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--glibc--stable-2021.11-1.sha256 +sha256 6d10f356811429f1bddc23a174932c35127ab6c6f3b738b768f0c29c3bf92f10 armv7-eabihf--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--musl--bleeding-edge-2021.11-1.sha256 +sha256 31a373fded82805ac4ddac7608c5075b2086999dcd46ce6ba33c432b24faffaf armv7-eabihf--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--musl--stable-2021.11-1.sha256 +sha256 767c99155f74d5620cfd59d0224df2f82dec7ce58be24d702081dca9793408a9 armv7-eabihf--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 8d6cea2dfec2205ead2e6476f664d81442228d3b1e3fb9b320a54c68706ab9a2 armv7-eabihf--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs/armv7-eabihf--uclibc--stable-2021.11-1.sha256 +sha256 3f8b1101a7318e2a6260a6b1c916b9b3bc69e8fd866d9e88eb85d3a496ad5064 armv7-eabihf--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7m/tarballs/armv7m--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 392215b53d8c03ca501481f6cfaa720676cf5a67ad1f25647f5a096398f57b28 armv7m--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/armv7m/tarballs/armv7m--uclibc--stable-2021.11-1.sha256 +sha256 2fca1ac4e767f8ce182a92c74f7b1e4866e7b74b447a2e4c62176379421bedbe armv7m--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-68xxx/tarballs/m68k-68xxx--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 2b694fb4397421504e805a71db182efd55b25fa6403ecf225cddd4a8212903b0 m68k-68xxx--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-68xxx/tarballs/m68k-68xxx--uclibc--stable-2021.11-1.sha256 +sha256 9b3afcd370cbe4912f730696d89ca5f8d26581992c80bdff027b2dd6a8910899 m68k-68xxx--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-coldfire/tarballs/m68k-coldfire--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 0e6743d8679cfe197223e011a2e1e064a213f6032d2f4b0d922b9124fe981d84 m68k-coldfire--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-coldfire/tarballs/m68k-coldfire--uclibc--stable-2021.11-1.sha256 +sha256 27ed1e76826a8824d72ef702d3a770544757a0d297c9992eb623012f1d9b387c m68k-coldfire--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--glibc--bleeding-edge-2021.11-1.sha256 +sha256 1512dde9d646c4c34e5a637d5d6b3be777e199e3f16340ed26e8f0b085cdbdf0 microblazebe--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--glibc--stable-2021.11-1.sha256 +sha256 c853fe33b9454d3e31951ef99c53b6a6ad09f2458cf79ad4b1680c125a011899 microblazebe--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--musl--bleeding-edge-2021.11-1.sha256 +sha256 65d6486dd8fd8c6a0aad44346d77a8d4f2473230b967ac7fa12e639603e9f007 microblazebe--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--musl--stable-2021.11-1.sha256 +sha256 5195575b4bd178dbdc8080e728fa485df13ede62ae684cdda131c1d55e655b11 microblazebe--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 c0d8bf9ce99eada90be299e7d448b9cc578005d26b80205788a639c587071a36 microblazebe--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs/microblazebe--uclibc--stable-2021.11-1.sha256 +sha256 2de12511a0a9b8369f769ccd0ecf32939948b95079e0fd57d3ea390ad4c4ff43 microblazebe--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--glibc--bleeding-edge-2021.11-1.sha256 +sha256 fa871c5a4fc700f5a7d9e04ddda271d69395066afea98df2de2bba78826b461e microblazeel--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--glibc--stable-2021.11-1.sha256 +sha256 f7c64f142f970cd084ffa0e14bc3ac957db921e559eb036cb0f098d2f187328b microblazeel--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--musl--bleeding-edge-2021.11-1.sha256 +sha256 6978582d587f89fd02d11e89f1b0eee320ad45c42a51ec4fca8fc24b69f65c46 microblazeel--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--musl--stable-2021.11-1.sha256 +sha256 4bd56f3fa100b71174888fc4da1f710ed2f56433edc570ba435f2ffdfc3bcc49 microblazeel--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 ee3cf68bb5680b44087aa8e805f74397fb34283ce9ad4d7a303f777e2242b796 microblazeel--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs/microblazeel--uclibc--stable-2021.11-1.sha256 +sha256 61a33972e3a282c5334717eef0922a3617c881dd3c28a0aed7dfaf69df8493c8 microblazeel--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--glibc--bleeding-edge-2021.11-1.sha256 +sha256 b4b28cc187dbcd6d55e3c00a1b4a08cf68797946c284a48f30be2f659756b2d7 mips32--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--glibc--stable-2021.11-1.sha256 +sha256 42c6d72edd35249cda113796aa776556f8e8aa285fa8e511d2784a65c4df71d6 mips32--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--musl--bleeding-edge-2021.11-1.sha256 +sha256 7609a3d3601e9aaf8c08f68f1d70539858f17229ca4985842d290e8c35e1b7e3 mips32--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--musl--stable-2021.11-1.sha256 +sha256 999faca83c3490662ba5ae855935dd9bde270d11d234294cd6c9cc9ca0bfe17c mips32--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 58240ac30e5bbec4cb07d92ad4250693cd4f4c9761e6e9602e3cbe0d9077ea4e mips32--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs/mips32--uclibc--stable-2021.11-1.sha256 +sha256 e010dd9fca694f658af457e473831ec9a22da7262ed9f460fee1bf30081d4a1a mips32--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--glibc--bleeding-edge-2021.11-1.sha256 +sha256 6167ef7286741551ccb53ffb62e45611fc258e62cd1880418a2cf94051a51e05 mips32el--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--glibc--stable-2021.11-1.sha256 +sha256 018e3393e1ba50444ae0a05db05a295553b3af224afdf20b52f9d271f1ec91a4 mips32el--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--musl--bleeding-edge-2021.11-1.sha256 +sha256 66f7991de789d4a9ea0206e4f1c7e380521778b771295315af8e98984a1a2b1d mips32el--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--musl--stable-2021.11-1.sha256 +sha256 381ec343ffde3c905addfe27e5ae737b4709142d5949c327f783c26d0acd05d1 mips32el--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 ce6e49762e54ba4a2a6477d14dd6f37b3d6d116905150a80cd4ed2afeaec2633 mips32el--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs/mips32el--uclibc--stable-2021.11-1.sha256 +sha256 18baf32f742acd9c9eab78eca040f265194bb10589d6e8bccb964ccd8a22307a mips32el--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--glibc--bleeding-edge-2021.11-1.sha256 +sha256 5524925d82e1c28cbc272d94e8b9f40603d623875d09989a862fda7b88e5f163 mips32r5el--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--glibc--stable-2021.11-1.sha256 +sha256 5911d789152f922adbf99d231f3267c0e7aec8942b73a759a44d1410ed6d6493 mips32r5el--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--musl--bleeding-edge-2021.11-1.sha256 +sha256 a599b59ab19aa10d841fbf50f58fdf2a09263a3cdcb01499225f259ef5615be1 mips32r5el--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--musl--stable-2021.11-1.sha256 +sha256 5ea65771ca522b77f3cc39f12ef09eda59d9e4743dc7057067f73e86983107c2 mips32r5el--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 84bef9c460f2abf00fa5c18f850a9d9e4fdf9e7d593a1ad5f7b6efe34dfcf037 mips32r5el--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs/mips32r5el--uclibc--stable-2021.11-1.sha256 +sha256 48b058d3057a611eb3d09b3a206bc38e449f0ea0cd7c8ebf2ee99da9182d0707 mips32r5el--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--glibc--bleeding-edge-2021.11-1.sha256 +sha256 161ec4ca6dad1b5d3e79880e30c7f618e24fc1c8dbfcbaec50db02ac73c111af mips32r6el--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--glibc--stable-2021.11-1.sha256 +sha256 c50ba26a9fad62180dc4816cfa6451f82ba3ea9c9f069899874c012a5472fa77 mips32r6el--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--musl--bleeding-edge-2021.11-1.sha256 +sha256 81637b0ddfda0ed02bd549fda70efddbcabe6ad943156311d034f3b8a8bce086 mips32r6el--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--musl--stable-2021.11-1.sha256 +sha256 d858e9b2a7d826f23cd6432e5c1cad2f4f98447682cdcf7df1430daabfbf49c0 mips32r6el--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 40b78cbfb757b328f5b0a861c6ed1e4f716784bdc2d5e6eba9d2dcad5057002c mips32r6el--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs/mips32r6el--uclibc--stable-2021.11-1.sha256 +sha256 e39de078f5f713ab385e5f008e181062265e6a3979904263d283f90304146014 mips32r6el--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--glibc--bleeding-edge-2021.11-1.sha256 +sha256 d8543128dc7a115fdee418dfee954d65cb0fb60aae161222fc03177a190bfef1 mips64-n32--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--glibc--stable-2021.11-1.sha256 +sha256 8d5c891bb2eecccf1f9c51095d266c899dae4dd7e75ef19ff6c66c8e4602919c mips64-n32--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--musl--bleeding-edge-2021.11-1.sha256 +sha256 7cf2177c2e41651a25676a9d1c96bbe8c254f94db920a1b3a7aa5708b17b1ef1 mips64-n32--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--musl--stable-2021.11-1.sha256 +sha256 ac997df9a0f82f0ce60ac904ce75245741fa432c4d85c8e8ae88c35296dfaa99 mips64-n32--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 e5119b684b078fd0c3bf7f7eb09ab31dff666cbbbc3d91118ae912e197ca3852 mips64-n32--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs/mips64-n32--uclibc--stable-2021.11-1.sha256 +sha256 8f5c1293e789eb04ab3f0bcb415c6ee0ef5ae26cd77354374984752548ac4e2c mips64-n32--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--glibc--bleeding-edge-2021.11-1.sha256 +sha256 d1063f99d389f0065b8db5331597969450f1f813265ddf9205215fec5500997c mips64el-n32--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--glibc--stable-2021.11-1.sha256 +sha256 73bbd84905e1fd094f7426f64e01f6058f21409218306b80e94bd2ad0aaa8ad3 mips64el-n32--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--musl--bleeding-edge-2021.11-1.sha256 +sha256 a0a48faf217468e9eb1dd820d16ced1caa8f00706e9f48cb1e64899963f3bcba mips64el-n32--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--musl--stable-2021.11-1.sha256 +sha256 c9c895ea09900ec5c63931af0716cf12f48f7c9826629ac48c4cee4e596af5ee mips64el-n32--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 5d3573faab6757efd4e2a78e2c1361d3e8e7b821fd385d016fbe71c56d9cc1d2 mips64el-n32--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs/mips64el-n32--uclibc--stable-2021.11-1.sha256 +sha256 cd95e539cbb343c3e57c9f2d7d786ea2b0b58009f1b87a4b48eb9d4bb73a205a mips64el-n32--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--glibc--bleeding-edge-2021.11-1.sha256 +sha256 7b551725f9e6f5eefc56ad67b5daa10812d4895842ec5986eeb93a79455e4762 mips64r6el-n32--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--glibc--stable-2021.11-1.sha256 +sha256 c575274871f30d019c121947e0f65973475e16baf621f235c54bfc292353d5d0 mips64r6el-n32--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--musl--bleeding-edge-2021.11-1.sha256 +sha256 2b85466873cf847b62b5c66198cc01002890a7a41e5cc9262b4906dcef640ead mips64r6el-n32--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--musl--stable-2021.11-1.sha256 +sha256 4210ca4ded17fdeb7cc7a5cf0d7d4676161d711f70708ca50be62ce397687672 mips64r6el-n32--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 de1a1cff7c02d804aa949b813d92c3d55a33e47602bd538bac6deaa155c93c6d mips64r6el-n32--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs/mips64r6el-n32--uclibc--stable-2021.11-1.sha256 +sha256 30d82c7ca41a0df9931a29a46ed881f21a889e9e59baf04e820c6679be87a7fb mips64r6el-n32--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/nios2/tarballs/nios2--glibc--bleeding-edge-2021.11-1.sha256 +sha256 5c2dc11062f4817e81a328b12ab30be486b7e68c7c876eb45fffca72332a8804 nios2--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/nios2/tarballs/nios2--glibc--stable-2021.11-1.sha256 +sha256 f6f37f1e551edda0251ece8d906ed720bd8ec45da9d4b3e1d13721bdc9ef2882 nios2--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--musl--bleeding-edge-2021.11-5.sha256 +sha256 03f46c8fdded0002a2a04749bcf86136ec26a841654bf9fdc14575cc510739c6 openrisc--musl--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--musl--stable-2021.11-5.sha256 +sha256 409e4a7473125e7de7c8b0e6bc1cb971d53e63ac057e9a19102e4ce1467f442a openrisc--musl--stable-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--uclibc--bleeding-edge-2021.11-5.sha256 +sha256 9028d4e526f9e805b021791443805541a179eaf2e47a2af4dfbefb2021e44e9f openrisc--uclibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs/openrisc--uclibc--stable-2021.11-5.sha256 +sha256 f07d8e465f7e94e55330cfb55bbaf9fc27e4bb7b688271ead60a15aec3dbbf76 openrisc--uclibc--stable-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--glibc--bleeding-edge-2021.11-1.sha256 +sha256 53afdbe1e48d0c60d560db8d17042a99288661fe10eebbfcfec4e56a6c2ca594 powerpc-440fp--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--glibc--stable-2021.11-1.sha256 +sha256 d7fc756c954184cfc4e6118e0e0ac33613916973f6af4aafaa162959662aea96 powerpc-440fp--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--musl--bleeding-edge-2021.11-1.sha256 +sha256 094bad002682608cfc7b095a35c3d495cad793ec0f15a7c035a11eae69d0211e powerpc-440fp--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--musl--stable-2021.11-1.sha256 +sha256 187226d9c427e91bae57058060950cfbd61fb89993edf42386a2c4281ca681ba powerpc-440fp--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 6c5d3ef56effad9bea791ee814f108929e967eb88a992d21b7d9f9d8d51a048a powerpc-440fp--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs/powerpc-440fp--uclibc--stable-2021.11-1.sha256 +sha256 9a9663674fc2af69b403bfacc5c9d6c0d7ea7c7aa4b93c928bfd79bfb634b828 powerpc-440fp--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--glibc--bleeding-edge-2021.11-1.sha256 +sha256 89164ef2be5f5eb5f0de9d8d821d76a1e69c963529bc450a1caf61944665f929 powerpc-e300c3--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--glibc--stable-2021.11-1.sha256 +sha256 1665004c81e0dfe1c8aa15a691232537c27a4343d80f8c035f83623b65d99ae3 powerpc-e300c3--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--musl--bleeding-edge-2021.11-1.sha256 +sha256 6bbb7d8416708754debc216f122366d7cc25b9372b59e16590f2d942fc727cee powerpc-e300c3--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--musl--stable-2021.11-1.sha256 +sha256 e97a52ed0d2f617f869e055d076c62e0698cdffd17e8b5945d0285f98cb57de2 powerpc-e300c3--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 9b886501833b6785bdbfff90e3d7b191eca4e59fea0c039c772c43825032fb86 powerpc-e300c3--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs/powerpc-e300c3--uclibc--stable-2021.11-1.sha256 +sha256 31fc2c3b1f2878eb71766c7c0d8b88cdd4c1b2b66e34237917557df818e1c4e0 powerpc-e300c3--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--glibc--bleeding-edge-2021.11-1.sha256 +sha256 a2505f7d2968c5324747653da2b367fde7c86c68fcfcb2051c07b27fc0726988 powerpc-e500mc--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--glibc--stable-2021.11-1.sha256 +sha256 f9a86eee7817042d26aeda8473c23d7da22920ace233e7ad8714cc87409767ca powerpc-e500mc--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--musl--bleeding-edge-2021.11-1.sha256 +sha256 0f58c7a792de85703c715100dc8fde2575acd4f41523dbcf2ca920611f8e38f3 powerpc-e500mc--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--musl--stable-2021.11-1.sha256 +sha256 367219213274c0b291855354f5cf2f59a915cf0d9538db9236d7829423a79c92 powerpc-e500mc--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 0c9616694108bcc879fdbd804b6ec42b17101bddea2a9426f023f625c3def39b powerpc-e500mc--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs/powerpc-e500mc--uclibc--stable-2021.11-1.sha256 +sha256 5a6e8489e39ddd73d413926c1d00b7cb214e5a083bdea6bf7fbcd5b4a3b82d47 powerpc-e500mc--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e5500/tarballs/powerpc64-e5500--glibc--bleeding-edge-2021.11-1.sha256 +sha256 62c53dd85d6172a1d13833d2303561a6e943d73836faa3be0eb5c8d937ae3bf1 powerpc64-e5500--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e5500/tarballs/powerpc64-e5500--glibc--stable-2021.11-1.sha256 +sha256 4c8c2884ed5f42155508ffb5c62343312427904f469ce003bfb6b547075cd4aa powerpc64-e5500--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs/powerpc64-e6500--glibc--bleeding-edge-2021.11-1.sha256 +sha256 62845f66f9b29c001e85b86557b953b2275fd1ecbf681500521b8386d8df1ed6 powerpc64-e6500--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs/powerpc64-e6500--glibc--stable-2021.11-1.sha256 +sha256 054d3793f1c8c42ff9310163d4eb45ce09be7654f01221ff28914bc28950f832 powerpc64-e6500--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs/powerpc64-e6500--musl--bleeding-edge-2021.11-1.sha256 +sha256 21452d9a1e4a5fe980054c0367f00f640ff0f6af4f0443469c340106f902c9c6 powerpc64-e6500--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs/powerpc64-e6500--musl--stable-2021.11-1.sha256 +sha256 015285c7313ffd6c25984db3df003a703868758919f59e8d0b9b45cd494e54cd powerpc64-e6500--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs/powerpc64-power8--glibc--bleeding-edge-2021.11-2.sha256 +sha256 19618e538bd170e3ed458a1ff9593ca169078eb9a990cbab0af635aed622429e powerpc64-power8--glibc--bleeding-edge-2021.11-2.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs/powerpc64-power8--glibc--stable-2021.11-1.sha256 +sha256 7b35b694e79b4829e5f2fdb2bd1570035619f665be2a73d0568e4c1f4b6ce56d powerpc64-power8--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs/powerpc64-power8--musl--bleeding-edge-2021.11-2.sha256 +sha256 6f5a6674bbe028bcf2cb6820a57b53e06b06ab4b7359397b77fada3ef06635b5 powerpc64-power8--musl--bleeding-edge-2021.11-2.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs/powerpc64-power8--musl--stable-2021.11-1.sha256 +sha256 9dff16b6af51f0492093f08e4d7571b787afa37e059ea1105ded18a7fa7baa88 powerpc64-power8--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--glibc--bleeding-edge-2021.11-2.sha256 +sha256 624b2bb3763e3bd085b69c39cb9a1574d60dbb29780469c2b171bba564c3d1d3 powerpc64le-power8--glibc--bleeding-edge-2021.11-2.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--glibc--stable-2021.11-1.sha256 +sha256 04473768185c3a1848f4f323380dc7caffa13d1e1bcb49317cebf090917fee2a powerpc64le-power8--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--musl--bleeding-edge-2021.11-2.sha256 +sha256 e81d0b3c9128cd0069dc8bcfbf512e395175e4c4f0a9ed500a3d7b15a76f8e65 powerpc64le-power8--musl--bleeding-edge-2021.11-2.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs/powerpc64le-power8--musl--stable-2021.11-1.sha256 +sha256 09dafac6313ad49731de6d93ef2f1c2806a6a78127d0441adcee76a7a256f4e3 powerpc64le-power8--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv32-ilp32d/tarballs/riscv32-ilp32d--glibc--bleeding-edge-2021.11-1.sha256 +sha256 63defd144fdb1d40712316e2c3acd37275d6407b52d70efcd36e7f7129b4a0d0 riscv32-ilp32d--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs/riscv64-lp64d--glibc--bleeding-edge-2021.11-1.sha256 +sha256 13984509df102d452f64fbe576e9240920bc677838c2380e57fad8236fca70bc riscv64-lp64d--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs/riscv64-lp64d--glibc--stable-2021.11-1.sha256 +sha256 70fe7d9fc74220b08b2ae0d3527641f4b938a1e4eb6bb305b2ac68fa76f2d6a4 riscv64-lp64d--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs/riscv64-lp64d--musl--bleeding-edge-2021.11-1.sha256 +sha256 0ba18be42bc1aac9992384c86efeb83cb55215eab565f71cef340f61a1fec420 riscv64-lp64d--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs/riscv64-lp64d--musl--stable-2021.11-1.sha256 +sha256 42ca8024547e51e6126e3c9e711d80815aa4b2997900dfc8af4b9514105e8b78 riscv64-lp64d--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs/riscv64-lp64d--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 02dd9fe4a024f84c7f73b7155640066017c7d18dd90c4da6efe6f0e66d24f75c riscv64-lp64d--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs/riscv64-lp64d--uclibc--stable-2021.11-1.sha256 +sha256 01f061e1b3d106d25614ae5bd64df3a3588bc960caa3bbad14b50f718a558f41 riscv64-lp64d--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--glibc--bleeding-edge-2021.11-1.sha256 +sha256 64c14617fb95b1eeb50564d1e0ccbf73fa73e5e58aea6b192549fc7127e4bd5c sh-sh4--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--glibc--stable-2021.11-1.sha256 +sha256 702125cce2aaee4025cc4eb07614fe51a4e56498e8d0b2b8a5863d31840829e0 sh-sh4--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--musl--bleeding-edge-2021.11-1.sha256 +sha256 37fefd46ded9067cb836f067073c4df501265e86d887ff91015087747a5613d4 sh-sh4--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--musl--stable-2021.11-1.sha256 +sha256 7f77aefe39c1dc9bfe1fe637c7c957fba19898d0b04db4ba7a0b76bb97ed72e9 sh-sh4--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 3285ac52a681a951d7d080d6645f3d02451de644582928d71469813e95bd928f sh-sh4--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs/sh-sh4--uclibc--stable-2021.11-1.sha256 +sha256 841c400d303021311895bf61fa7d16292ef19cf021ea06c091a424f43294f6a5 sh-sh4--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs/sh-sh4aeb--glibc--bleeding-edge-2021.11-1.sha256 +sha256 b1ebde33ada33d1006046c589891d96af902eefcea1d9e103ae738c9fe26c36f sh-sh4aeb--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs/sh-sh4aeb--glibc--stable-2021.11-1.sha256 +sha256 3afebc93a72af85a31c6d096b5939c60bb87939b051c6cddc52e1e540714267a sh-sh4aeb--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs/sh-sh4aeb--musl--bleeding-edge-2021.11-1.sha256 +sha256 c9216bd579ac3f0fa7d0efb9e1892f5d34eba10ee183d03fc87ca17c4b8eb6d4 sh-sh4aeb--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs/sh-sh4aeb--musl--stable-2021.11-1.sha256 +sha256 1e58aaab9d77019df71777a3c9a2457f691355a6a7aed6b9897921e38571117a sh-sh4aeb--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sparc64/tarballs/sparc64--glibc--bleeding-edge-2021.11-1.sha256 +sha256 0b83bb7f3ce7b67a5c359c95c695398054d13903259014147d4c99e2884e1377 sparc64--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sparc64/tarballs/sparc64--glibc--stable-2021.11-1.sha256 +sha256 0ef307f6c91733ee82ce65801768013f7e6220b605f4e152158cb55b4f983582 sparc64--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sparcv8/tarballs/sparcv8--uclibc--bleeding-edge-2021.11-3.sha256 +sha256 3c85420becb7caa84a9a229483f3f2d7158eb66817acdfa5d5700c3a05436cba sparcv8--uclibc--bleeding-edge-2021.11-3.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/sparcv8/tarballs/sparcv8--uclibc--stable-2021.11-1.sha256 +sha256 f6d35e33338b26e71403b4c6d3944ab561f2a6e9b801ab33fbb401b4722044dd sparcv8--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs/x86-64--glibc--bleeding-edge-2021.11-5.sha256 +sha256 024fd8edc91b9bfd643f8cf94e3f3ff2a6457aea654d10ef3516db8c3d94d5f5 x86-64--glibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs/x86-64--glibc--stable-2021.11-5.sha256 +sha256 6fe812add925493ea0841365f1fb7ca17fd9224bab61a731063f7f12f3a621b0 x86-64--glibc--stable-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs/x86-64--musl--bleeding-edge-2021.11-5.sha256 +sha256 468e6b73146595923fe87980a30adb54cd78f4c1e2f228e1a2c9bb705ea4243d x86-64--musl--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs/x86-64--musl--stable-2021.11-5.sha256 +sha256 2943617f6537ca195a66fb9db4a801a5dd1c108741c400d530d558d06908dd75 x86-64--musl--stable-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs/x86-64--uclibc--bleeding-edge-2021.11-5.sha256 +sha256 4aa8b8e2806d6fc87ba64ccec0a59b8a2fb5d157cda006d893e3f2264b7f0f10 x86-64--uclibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs/x86-64--uclibc--stable-2021.11-5.sha256 +sha256 e68fd1b23f4a5c5132f2122e4012c17eb24e5179b2ff45bb793a27ac30dd454f x86-64--uclibc--stable-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v2/tarballs/x86-64-v2--glibc--bleeding-edge-2021.11-5.sha256 +sha256 af20cf98ce937f298e0958e16793bb4c7b08236bc69ab11574a4266cccc3823d x86-64-v2--glibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v2/tarballs/x86-64-v2--musl--bleeding-edge-2021.11-5.sha256 +sha256 17add21a0337d2f7d0d79d1f21db88098c3474920d71f902be46e8995eb86d35 x86-64-v2--musl--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v2/tarballs/x86-64-v2--uclibc--bleeding-edge-2021.11-5.sha256 +sha256 b3ef49012af9fc9c2c8a44b0a20722be69b518cec5db06e48480291fc28aefe0 x86-64-v2--uclibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v3/tarballs/x86-64-v3--glibc--bleeding-edge-2021.11-5.sha256 +sha256 244d4afab02b9c54c76385657d26798515331d7d4fa90928315366f31b9cc39e x86-64-v3--glibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v3/tarballs/x86-64-v3--musl--bleeding-edge-2021.11-5.sha256 +sha256 551cff1b6425e2a6ced7b7ad032fba49b43ed095faae38d1842260ac0b5d6dbf x86-64-v3--musl--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v3/tarballs/x86-64-v3--uclibc--bleeding-edge-2021.11-5.sha256 +sha256 30188f50adef711b55ac1d5be7218e0d6ee4200ddb8660e4d4971a9cefe22f91 x86-64-v3--uclibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v4/tarballs/x86-64-v4--glibc--bleeding-edge-2021.11-5.sha256 +sha256 0cd2de7c4103aa8cf47b72dc71146eb3bf7742a18d56c93128340ab3f4175804 x86-64-v4--glibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v4/tarballs/x86-64-v4--musl--bleeding-edge-2021.11-5.sha256 +sha256 e159da16459e0f0d06a9a7467d5121202ab95e2fa6bf8abffdc0008c72fe9b07 x86-64-v4--musl--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v4/tarballs/x86-64-v4--uclibc--bleeding-edge-2021.11-5.sha256 +sha256 984f011d170d3e46322ae4a110c86ebf995598d877f410201b3fb3d86e25dac2 x86-64-v4--uclibc--bleeding-edge-2021.11-5.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--bleeding-edge-2021.11-1.sha256 +sha256 a3dbfcd3347a72ca344ae77882f929615776ea9b1b058eeea0a0915e7db89b69 x86-64-core-i7--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-2021.11-1.sha256 +sha256 3d443bb0bc6d16982824952a02dcb8b7d10c258b4e0debb47708fb9a02573951 x86-64-core-i7--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--musl--bleeding-edge-2021.11-1.sha256 +sha256 c724f0a8338c57e65479844eeb1725ffce2157a195067601e8893c0f781d2a86 x86-64-core-i7--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--musl--stable-2021.11-1.sha256 +sha256 008aa485ad85deda4af41f6ab162ee33be96c2f479e93a03dd9ee360fbf461b1 x86-64-core-i7--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 99ac2c1fb6bd819222578d4d3c2d3043d3f08f48a988fe7a56ecb2dc44950ebb x86-64-core-i7--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--uclibc--stable-2021.11-1.sha256 +sha256 f7224ebf557f96b3854c4760f0d561f33f02e71586e6c5b958fdb686ecf5a058 x86-64-core-i7--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--glibc--bleeding-edge-2021.11-1.sha256 +sha256 51a7aa03b16fca52a6ac88c7272a727a56a120fb1a03edaff7da741471dffa63 x86-core2--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--glibc--stable-2021.11-1.sha256 +sha256 6afb13f10694756f2c7b69e0e5fdd416d3c446d2d630ed9a707797613c38fb15 x86-core2--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--musl--bleeding-edge-2021.11-1.sha256 +sha256 b779acc67eff7ae349a1ecb6d092576131537ce4d92530447d6483e3b7320186 x86-core2--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--musl--stable-2021.11-1.sha256 +sha256 9f79cd4443386b9611d917506bcb6fd9d844e7934905a7368827441644ae7821 x86-core2--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 1a3803d19a6d65a943dab7c4cfb29f37e1c96b1155bdd6c04e5fc609c135b970 x86-core2--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--uclibc--stable-2021.11-1.sha256 +sha256 235be5851ccdbf579163a0d57b4caba48c63c808f7a08e6476f56c3537636520 x86-core2--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--glibc--bleeding-edge-2021.11-1.sha256 +sha256 bb21d6fdb83ef1603346c27572a0622a890633d4fc1ab28bf0aa387a44c8dfee x86-i686--glibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--glibc--stable-2021.11-1.sha256 +sha256 9deb1c61a3196114ba1996c0cbe4c4135af9e82f1a0f9111084c86badee3ff30 x86-i686--glibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--musl--bleeding-edge-2021.11-1.sha256 +sha256 313e4bbd8a19fc927b2d9d059cfacdb89cb41213d34158cac2ba00b071468273 x86-i686--musl--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--musl--stable-2021.11-1.sha256 +sha256 fa6cd3e2aa25287e03070eba526983a902d8622ad148b57027acf85d690eaf27 x86-i686--musl--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 4ee09d8c4524e6e6f19db07ed49f8e43a60e806bc57134f9ac2477d41c98340e x86-i686--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs/x86-i686--uclibc--stable-2021.11-1.sha256 +sha256 d15cfe391474ea19e6a468c011955027581c6a16953380baf3c5718ad42fc45d x86-i686--uclibc--stable-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/xtensa-lx60/tarballs/xtensa-lx60--uclibc--bleeding-edge-2021.11-1.sha256 +sha256 469450c734051b9dfb7021532a5ec6fb35b3cf79a95613836e654c3e666b4150 xtensa-lx60--uclibc--bleeding-edge-2021.11-1.tar.bz2 +# From https://toolchains.bootlin.com/downloads/releases/toolchains/xtensa-lx60/tarballs/xtensa-lx60--uclibc--stable-2021.11-1.sha256 +sha256 2fd9dc2d1ec8a167ae3c353682bc4d166f25a7db1c1b889e3058bc644bd3f92c xtensa-lx60--uclibc--stable-2021.11-1.tar.bz2 diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.mk new file mode 100644 index 00000000..fb19ef29 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-bootlin/toolchain-external-bootlin.mk @@ -0,0 +1,1137 @@ +################################################################################ +# +# toolchain-external-bootlin +# +################################################################################ + +# This file was auto-generated by support/scripts/gen-bootlin-toolchains +# Do not edit +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64be--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64be--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64be--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_AARCH64BE_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = aarch64be--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/aarch64be/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-750d--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-750d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_750D_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-750d--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-750d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-hs38--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-3 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-hs38--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-hs38--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARCLE_HS38_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = arcle-hs38--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/arcle-hs38/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV5_EABI_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv5-eabi--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv5-eabi/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV6_EABIHF_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv6-eabihf--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv6-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7-eabihf--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7-eabihf/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7m--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7m/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7M_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = armv7m--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/armv7m/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = m68k-68xxx--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-68xxx/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_68XXX_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = m68k-68xxx--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-68xxx/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = m68k-coldfire--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-coldfire/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_M68K_COLDFIRE_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = m68k-coldfire--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/m68k-coldfire/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEBE_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazebe--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazebe/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MICROBLAZEEL_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = microblazeel--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/microblazeel/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32EL_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32el--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R5EL_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r5el--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r5el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS32R6EL_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips32r6el--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips32r6el/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64_N32_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64-n32--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64EL_N32_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64el-n32--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_MIPS64R6EL_N32_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = mips64r6el-n32--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/mips64r6el-n32/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = nios2--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/nios2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_NIOS2_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = nios2--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/nios2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = openrisc--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = openrisc--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = openrisc--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_OPENRISC_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = openrisc--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/openrisc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_440FP_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-440fp--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-440fp/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E300C3_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e300c3--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e300c3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC_E500MC_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc-e500mc--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc-e500mc/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e5500--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e5500/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E5500_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e5500--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e5500/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e6500--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e6500--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e6500--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_E6500_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-e6500--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-e6500/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-power8--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-power8--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-power8--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64_POWER8_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64-power8--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64-power8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64le-power8--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64le-power8--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64le-power8--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_POWERPC64LE_POWER8_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = powerpc64le-power8--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/powerpc64le-power8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV32_ILP32D_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv32-ilp32d--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv32-ilp32d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv64-lp64d--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv64-lp64d--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv64-lp64d--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv64-lp64d--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv64-lp64d--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_LP64D_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = riscv64-lp64d--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/riscv64-lp64d/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4aeb--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4aeb--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4aeb--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SH_SH4AEB_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sh-sh4aeb--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sh-sh4aeb/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sparc64--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sparc64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARC64_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sparc64--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sparc64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-3 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sparcv8--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sparcv8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_SPARCV8_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = sparcv8--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/sparcv8/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v2--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v2--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V2_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v2--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v3--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v3--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V3_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v3--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v3/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v4--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v4--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_V4_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-5 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-v4--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-v4/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-64-core-i7--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-64-core-i7/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-core2--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--glibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_GLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--glibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--musl--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_MUSL_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--musl--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_I686_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = x86-i686--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/x86-i686/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_BLEEDING_EDGE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = xtensa-lx60--uclibc--bleeding-edge-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/xtensa-lx60/tarballs +endif + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_XTENSA_LX60_UCLIBC_STABLE),y) +TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION = 2021.11-1 +TOOLCHAIN_EXTERNAL_BOOTLIN_SOURCE = xtensa-lx60--uclibc--stable-$(TOOLCHAIN_EXTERNAL_BOOTLIN_VERSION).tar.bz2 +TOOLCHAIN_EXTERNAL_BOOTLIN_SITE = https://toolchains.bootlin.com/downloads/releases/toolchains/xtensa-lx60/tarballs +endif + +$(eval $(toolchain-external-package)) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-img-mips/toolchain-external-codescape-img-mips.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codescape-mti-mips/toolchain-external-codescape-mti-mips.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-aarch64/toolchain-external-codesourcery-aarch64.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-arm/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-arm/toolchain-external-codesourcery-arm.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-mips/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-mips/toolchain-external-codesourcery-mips.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-codesourcery-niosII/toolchain-external-codesourcery-niosII.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-custom/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-custom/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-custom/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-custom/Config.in diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-custom/Config.in.options new file mode 100644 index 00000000..9346fa3f --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-custom/Config.in.options @@ -0,0 +1,522 @@ +if BR2_TOOLCHAIN_EXTERNAL_CUSTOM + +config BR2_TOOLCHAIN_EXTERNAL_PREFIX + default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX + +config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL + default "toolchain-external-custom" + +config BR2_TOOLCHAIN_EXTERNAL_URL + string "Toolchain URL" + depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD + help + URL of the custom toolchain tarball to download and install. + +config BR2_TOOLCHAIN_EXTERNAL_REL_BIN_PATH + string "Toolchain relative binary path" + default "bin" + depends on BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD + help + Path to where the binaries (e.g. the compiler) can be found, + relative to the downloaded toolchain root directory. The + default is "bin" and is correct for most toolchains. + +config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX + string "Toolchain prefix" + default "$(ARCH)-linux" + +choice + bool "External toolchain gcc version" + help + Set to the gcc version that is used by your external + toolchain. + +config BR2_TOOLCHAIN_EXTERNAL_GCC_11 + bool "11.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_11 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_10 + bool "10.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_10 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_9 + bool "9.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_9 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_8 + bool "8.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_8 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_7 + bool "7.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_7 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_6 + bool "6.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_6 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_5 + bool "5.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_5 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_4_9 + bool "4.9.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_4_8 + bool "4.8.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_4_7 + bool "4.7.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_4_6 + bool "4.6.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_4_5 + bool "4.5.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_5 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_4_4 + bool "4.4.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_4 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_4_3 + bool "4.3.x" + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_3 + +config BR2_TOOLCHAIN_EXTERNAL_GCC_OLD + bool "older" + help + Use this option if your GCC version is older than any of the + above. + + Note that the Buildroot community doesn't do any testing with + such old toolchains. Some packages may fail to build in + surprising ways, or the generated root filesystem may not + work at all. Use such old toolchains at your own risk. + +endchoice + +comment "GCC older than 4.8 is not tested by Buildroot. Use at your own risk." + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +choice + bool "External toolchain kernel headers series" + default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD + help + Set to the kernel headers version that were used to build + this external toolchain. + + This is used to hide/show some packages that have strict + requirements on the version of kernel headers. + + If unsure what version your toolchain is using, you can look + at the value of LINUX_VERSION_CODE in linux/version.h in your + toolchain. The Linux version is M.m.p, with: + M = ( LINUX_VERSION_CODE >> 16 ) & 0xFF + m = ( LINUX_VERSION_CODE >> 8 ) & 0xFF + p = ( LINUX_VERSION_CODE >> 0 ) & 0xFF + + If your toolchain uses headers newer than the latest version + in the choice, then select the latest version. + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_16 + bool "5.16.x or later" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_15 + bool "5.15.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_14 + bool "5.14.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_13 + bool "5.13.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_12 + bool "5.12.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_11 + bool "5.11" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_10 + bool "5.10.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_9 + bool "5.9.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_8 + bool "5.8.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_7 + bool "5.7.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_6 + bool "5.6.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_5 + bool "5.5.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_4 + bool "5.4.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_3 + bool "5.3.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_2 + bool "5.2.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_1 + bool "5.1.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_5_0 + bool "5.0.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_20 + bool "4.20.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_19 + bool "4.19.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_18 + bool "4.18.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_17 + bool "4.17.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_16 + bool "4.16.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_15 + bool "4.15.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14 + bool "4.14.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_13 + bool "4.13.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_12 + bool "4.12.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_11 + bool "4.11.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10 + bool "4.10.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9 + bool "4.9.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_8 + bool "4.8.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_7 + bool "4.7.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_6 + bool "4.6.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_5 + bool "4.5.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_4 + bool "4.4.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_3 + bool "4.3.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_2 + bool "4.2.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1 + bool "4.1.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_0 + bool "4.0.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_19 + bool "3.19.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_18 + bool "3.18.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_17 + bool "3.17.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_16 + bool "3.16.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_15 + bool "3.15.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14 + bool "3.14.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_13 + bool "3.13.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12 + bool "3.12.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_11 + bool "3.11.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10 + bool "3.10.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_9 + bool "3.9.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_8 + bool "3.8.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_7 + bool "3.7.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_6 + bool "3.6.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_5 + bool "3.5.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_4 + bool "3.4.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_3 + bool "3.3.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_2 + bool "3.2.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_1 + bool "3.1.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_0 + bool "3.0.x" + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 + +config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD + bool "2.6.x" + +endchoice + +comment "Kernel headers older than 3.13 is not tested by Buildroot. Use at your own risk." + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13 + +choice + prompt "External toolchain C library" + default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC + +config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC + bool "uClibc/uClibc-ng" + select BR2_TOOLCHAIN_EXTERNAL_UCLIBC + help + Select this option if your external toolchain uses the + uClibc (available from http://www.uclibc.org/) + or uClibc-ng (available from http://www.uclibc-ng.org) + C library. + +config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC + bool "glibc/eglibc" + depends on !BR2_STATIC_LIBS + select BR2_TOOLCHAIN_EXTERNAL_GLIBC + help + Select this option if your external toolchain uses the GNU C + library (available from https://www.gnu.org/software/libc/) + or its variant the eglibc library (http://www.eglibc.org/). + + Note: eglibc is a variant of glibc that (among other things) + can be configured to exclude some of its features. Using a + toolchain with eglibc configured to exclude key features may + cause build failures to some packages. + +comment "(e)glibc only available with shared lib support" + depends on BR2_STATIC_LIBS + +config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL + bool "musl (experimental)" + select BR2_TOOLCHAIN_EXTERNAL_MUSL + help + Select this option if your external toolchain uses the + 'musl' C library, available from http://www.musl-libc.org/. + +endchoice + +if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC + +config BR2_TOOLCHAIN_EXTERNAL_WCHAR + bool "Toolchain has WCHAR support?" + select BR2_USE_WCHAR + help + Select this option if your external toolchain supports + WCHAR. If you don't know, leave the default value, Buildroot + will tell you if it's correct or not. + +config BR2_TOOLCHAIN_EXTERNAL_LOCALE + bool "Toolchain has locale support?" + select BR2_TOOLCHAIN_EXTERNAL_WCHAR + select BR2_ENABLE_LOCALE + help + Select this option if your external toolchain has locale + support. If you don't know, leave the default value, + Buildroot will tell you if it's correct or not. + +config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS + bool "Toolchain has threads support?" + default y + select BR2_TOOLCHAIN_HAS_THREADS + help + Select this option if your external toolchain has thread + support. If you don't know, leave the default value, + Buildroot will tell you if it's correct or not. + +if BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS + +config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG + bool "Toolchain has threads debugging support?" + default y + select BR2_TOOLCHAIN_HAS_THREADS_DEBUG + help + Select this option if your external toolchain has thread + debugging support. If you don't know, leave the default + value, Buildroot will tell you if it's correct or not. + +config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL + bool "Toolchain has NPTL threads support?" + default y + select BR2_TOOLCHAIN_HAS_THREADS_NPTL + help + Select this option if your external toolchain uses the NPTL + (Native Posix Thread Library) implementation of Posix + threads. If you don't know, leave the default value, + Buildroot will tell you if it's correct or not. + +endif # BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS + +endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC + +config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP + bool "Toolchain has SSP support?" + default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC + default y if BR2_TOOLCHAIN_EXTERNAL_MUSL + select BR2_TOOLCHAIN_HAS_SSP + help + Select this option if your external toolchain has Stack + Smashing Protection support enabled. If you don't know, + leave the default value, Buildroot will tell you if it's + correct or not. + +config BR2_TOOLCHAIN_EXTERNAL_HAS_SSP_STRONG + bool "Toolchain has SSP strong support?" + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_EXTERNAL_GLIBC + default y if BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 && BR2_TOOLCHAIN_EXTERNAL_MUSL + depends on BR2_TOOLCHAIN_EXTERNAL_HAS_SSP + select BR2_TOOLCHAIN_HAS_SSP_STRONG + help + Select this option if your external toolchain has strong + Stack Smashing Protection support enabled. If you don't + know, leave the default value, Buildroot will tell you if + it's correct or not. + +config BR2_TOOLCHAIN_EXTERNAL_INET_RPC + bool "Toolchain has RPC support?" + default y if BR2_TOOLCHAIN_EXTERNAL_GLIBC + depends on !BR2_TOOLCHAIN_EXTERNAL_MUSL + select BR2_TOOLCHAIN_HAS_NATIVE_RPC + help + Select this option if your external toolchain supports + RPC. If you don't know, leave the default value, Buildroot + will tell you if it's correct or not. + +config BR2_TOOLCHAIN_EXTERNAL_CXX + bool "Toolchain has C++ support?" + select BR2_INSTALL_LIBSTDCPP + help + Select this option if your external toolchain has C++ + support. If you don't know, leave the default value, + Buildroot will tell you if it's correct or not. + +config BR2_TOOLCHAIN_EXTERNAL_DLANG + bool "Toolchain has D support?" + select BR2_TOOLCHAIN_HAS_DLANG + help + Select this option if your external toolchain has D + support. + +config BR2_TOOLCHAIN_EXTERNAL_FORTRAN + bool "Toolchain has Fortran support?" + select BR2_TOOLCHAIN_HAS_FORTRAN + help + Select this option if your external toolchain has Fortran + support. If you don't know, leave the default value, + Buildroot will tell you if it's correct or not. + +config BR2_TOOLCHAIN_EXTERNAL_OPENMP + bool "Toolchain has OpenMP support?" + select BR2_TOOLCHAIN_HAS_OPENMP + help + Select this option if your external toolchain has OpenMP + support. If you don't know, leave the default value, + Buildroot will tell you if it's correct or not. + +endif diff --git a/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk new file mode 100644 index 00000000..f2ec01f8 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-custom/toolchain-external-custom.mk @@ -0,0 +1,20 @@ +################################################################################ +# +# toolchain-external-custom +# +################################################################################ + +TOOLCHAIN_EXTERNAL_CUSTOM_SITE = $(patsubst %/,%,$(dir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL)))) +TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE = $(notdir $(call qstrip,$(BR2_TOOLCHAIN_EXTERNAL_URL))) + +ifeq ($(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),y) +# We can't check hashes for custom downloaded toolchains +BR_NO_CHECK_HASH_FOR += $(TOOLCHAIN_EXTERNAL_SOURCE) +ifeq ($(BR_BUILDING)$(BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD),yy) +ifeq ($(TOOLCHAIN_EXTERNAL_CUSTOM_SOURCE),) +$(error No external toolchain url set, check your BR2_TOOLCHAIN_EXTERNAL_URL setting) +endif +endif +endif + +$(eval $(toolchain-external-package)) diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/toolchain-external-linaro-aarch64-be.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/toolchain-external-linaro-aarch64-be.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/toolchain-external-linaro-aarch64-be.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/toolchain-external-linaro-aarch64-be.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/toolchain-external-linaro-aarch64-be.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/toolchain-external-linaro-aarch64-be.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/toolchain-external-linaro-aarch64-be.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64-be/toolchain-external-linaro-aarch64-be.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64/toolchain-external-linaro-aarch64.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64/toolchain-external-linaro-aarch64.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64/toolchain-external-linaro-aarch64.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64/toolchain-external-linaro-aarch64.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64/toolchain-external-linaro-aarch64.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64/toolchain-external-linaro-aarch64.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-aarch64/toolchain-external-linaro-aarch64.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-aarch64/toolchain-external-linaro-aarch64.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-arm/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-arm/toolchain-external-linaro-arm.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-arm/toolchain-external-linaro-arm.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-arm/toolchain-external-linaro-arm.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-arm/toolchain-external-linaro-arm.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-arm/toolchain-external-linaro-arm.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-arm/toolchain-external-linaro-arm.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-arm/toolchain-external-linaro-arm.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-arm/toolchain-external-linaro-arm.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-armeb/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-armeb/toolchain-external-linaro-armeb.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-armeb/toolchain-external-linaro-armeb.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-armeb/toolchain-external-linaro-armeb.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-armeb/toolchain-external-linaro-armeb.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-armeb/toolchain-external-linaro-armeb.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-armeb/toolchain-external-linaro-armeb.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-linaro-armeb/toolchain-external-linaro-armeb.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-linaro-armeb/toolchain-external-linaro-armeb.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-synopsys-arc/Config.in.options diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.hash diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external-synopsys-arc/toolchain-external-synopsys-arc.mk diff --git a/buildroot-2021.05/toolchain/toolchain-external/toolchain-external.mk b/buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-external/toolchain-external.mk rename to buildroot-2022.02.1/toolchain/toolchain-external/toolchain-external.mk diff --git a/buildroot-2021.05/toolchain/toolchain-wrapper.c b/buildroot-2022.02.1/toolchain/toolchain-wrapper.c similarity index 100% rename from buildroot-2021.05/toolchain/toolchain-wrapper.c rename to buildroot-2022.02.1/toolchain/toolchain-wrapper.c diff --git a/buildroot-2022.02.1/toolchain/toolchain-wrapper.mk b/buildroot-2022.02.1/toolchain/toolchain-wrapper.mk new file mode 100644 index 00000000..cbf46f15 --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain-wrapper.mk @@ -0,0 +1,96 @@ +################################################################################ +# +# definition of the toolchain wrapper build commands +# +################################################################################ + +# We use --hash-style=both to increase the compatibility of the generated +# binary with older platforms, except for MIPS, where the only acceptable +# hash style is 'sysv' +ifeq ($(findstring mips,$(HOSTARCH)),mips) +TOOLCHAIN_WRAPPER_HASH_STYLE = sysv +else +TOOLCHAIN_WRAPPER_HASH_STYLE = both +endif + +TOOLCHAIN_WRAPPER_ARGS = $($(PKG)_TOOLCHAIN_WRAPPER_ARGS) +TOOLCHAIN_WRAPPER_ARGS += -DBR_SYSROOT='"$(STAGING_SUBDIR)"' + +TOOLCHAIN_WRAPPER_OPTS = \ + $(ARCH_TOOLCHAIN_WRAPPER_OPTS) \ + $(call qstrip,$(BR2_SSP_OPTION)) \ + $(call qstrip,$(BR2_TARGET_OPTIMIZATION)) + +ifeq ($(BR2_REPRODUCIBLE),y) +TOOLCHAIN_WRAPPER_OPTS += -Wl,--build-id=none +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y) +TOOLCHAIN_WRAPPER_OPTS += -ffile-prefix-map=$(BASE_DIR)=buildroot +else +TOOLCHAIN_WRAPPER_OPTS += -fdebug-prefix-map=$(BASE_DIR)=buildroot +TOOLCHAIN_WRAPPER_OPTS += -D__FILE__=\"\" -D__BASE_FILE__=\"\" -Wno-builtin-macro-redefined +endif +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_7),) +TOOLCHAIN_WRAPPER_OPTS += -DBR_NEED_SOURCE_DATE_EPOCH +endif +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_6),) +TOOLCHAIN_WRAPPER_OPTS += -gno-record-gcc-switches +endif +endif + +# Disable -ftree-loop-distribute-patterns on microblaze to +# workaround a compiler bug with gcc 10 and -O2, -Os or -O3. +# https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=5879ab5fafedc8f6f9bfe95a4cf8501b0df90edd +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97208 +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_10)$(BR2_microblaze),yy) +TOOLCHAIN_WRAPPER_OPTS += -fno-tree-loop-distribute-patterns +endif + +# We create a list like '"-mfoo", "-mbar", "-mbarfoo"' so that each flag is a +# separate argument when used in execv() by the toolchain wrapper. +TOOLCHAIN_WRAPPER_ARGS += \ + -DBR_ADDITIONAL_CFLAGS='$(foreach f,$(TOOLCHAIN_WRAPPER_OPTS),"$(f)"$(comma))' + +ifeq ($(BR2_CCACHE),y) +TOOLCHAIN_WRAPPER_ARGS += -DBR_CCACHE +endif + +ifeq ($(BR2_x86_x1000),y) +TOOLCHAIN_WRAPPER_ARGS += -DBR_OMIT_LOCK_PREFIX +endif + +# Avoid FPU bug on XBurst CPUs +ifeq ($(BR2_mips_xburst),y) +# Before gcc 4.6, -mno-fused-madd was needed, after -ffp-contract is +# needed +ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_6),y) +TOOLCHAIN_WRAPPER_ARGS += -DBR_FP_CONTRACT_OFF +else +TOOLCHAIN_WRAPPER_ARGS += -DBR_NO_FUSED_MADD +endif +endif + +ifeq ($(BR2_CCACHE_USE_BASEDIR),y) +TOOLCHAIN_WRAPPER_ARGS += -DBR_CCACHE_BASEDIR='"$(BASE_DIR)"' +endif + +ifeq ($(BR2_PIC_PIE),y) +TOOLCHAIN_WRAPPER_ARGS += -DBR2_PIC_PIE +endif + +ifeq ($(BR2_RELRO_PARTIAL),y) +TOOLCHAIN_WRAPPER_ARGS += -DBR2_RELRO_PARTIAL +else ifeq ($(BR2_RELRO_FULL),y) +TOOLCHAIN_WRAPPER_ARGS += -DBR2_RELRO_FULL +endif + +define TOOLCHAIN_WRAPPER_BUILD + $(HOSTCC) $(HOST_CFLAGS) $(TOOLCHAIN_WRAPPER_ARGS) \ + -s -Wl,--hash-style=$(TOOLCHAIN_WRAPPER_HASH_STYLE) \ + toolchain/toolchain-wrapper.c \ + -o $(@D)/toolchain-wrapper +endef + +define TOOLCHAIN_WRAPPER_INSTALL + $(INSTALL) -D -m 0755 $(@D)/toolchain-wrapper \ + $(HOST_DIR)/bin/toolchain-wrapper +endef diff --git a/buildroot-2021.05/toolchain/toolchain.mk b/buildroot-2022.02.1/toolchain/toolchain.mk similarity index 100% rename from buildroot-2021.05/toolchain/toolchain.mk rename to buildroot-2022.02.1/toolchain/toolchain.mk diff --git a/buildroot-2022.02.1/toolchain/toolchain/toolchain.mk b/buildroot-2022.02.1/toolchain/toolchain/toolchain.mk new file mode 100644 index 00000000..18f1dbea --- /dev/null +++ b/buildroot-2022.02.1/toolchain/toolchain/toolchain.mk @@ -0,0 +1,50 @@ +################################################################################ +# +# toolchain +# +################################################################################ + +ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) +TOOLCHAIN_DEPENDENCIES += toolchain-buildroot +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y) +TOOLCHAIN_DEPENDENCIES += toolchain-external +endif + +TOOLCHAIN_ADD_TOOLCHAIN_DEPENDENCY = NO +TOOLCHAIN_INSTALL_STAGING = YES + +# Apply a hack that Rick Felker suggested[1] to avoid conflicts between libc +# headers and kernel headers. This is needed for kernel headers older than +# 4.15. Kernel headers 4.15 and newer don't require __GLIBC__ to be defined. +# +# Augment the original suggestion with __USE_MISC since recent kernels +# (older than 4.15) require this glibc internal macro. Also, as musl defines +# IFF_LOWER_UP, IFF_DORMANT and IFF_ECHO, add another macro to suppress +# them in the kernel header, and avoid macro/enum conflict. +# +# Kernel version 3.12 introduced the libc-compat.h header. +# +# [1] http://www.openwall.com/lists/musl/2015/10/08/2 +ifeq ($(BR2_TOOLCHAIN_USES_MUSL)$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12):$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15),yy:) +define TOOLCHAIN_MUSL_KERNEL_HEADERS_COMPATIBILITY_HACK + $(SED) 's/^#if defined(__GLIBC__)$$/#if 1/' \ + $(STAGING_DIR)/usr/include/linux/libc-compat.h + $(SED) '1s/^/#define __USE_MISC\n/' \ + $(STAGING_DIR)/usr/include/linux/libc-compat.h + $(SED) '1s/^/#define __UAPI_DEF_IF_NET_DEVICE_FLAGS_LOWER_UP_DORMANT_ECHO 0\n/' \ + $(STAGING_DIR)/usr/include/linux/libc-compat.h +endef +TOOLCHAIN_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_MUSL_KERNEL_HEADERS_COMPATIBILITY_HACK +endif + +# Install default nsswitch.conf file if the skeleton doesn't provide it +ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),y) +define TOOLCHAIN_GLIBC_COPY_NSSWITCH_FILE + @if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \ + $(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \ + fi +endef +TOOLCHAIN_POST_INSTALL_TARGET_HOOKS += TOOLCHAIN_GLIBC_COPY_NSSWITCH_FILE +endif + +$(eval $(virtual-package)) diff --git a/buildroot-2021.05/utils/brmake b/buildroot-2022.02.1/utils/brmake similarity index 100% rename from buildroot-2021.05/utils/brmake rename to buildroot-2022.02.1/utils/brmake diff --git a/buildroot-2022.02.1/utils/check-package b/buildroot-2022.02.1/utils/check-package new file mode 100755 index 00000000..f64daed8 --- /dev/null +++ b/buildroot-2022.02.1/utils/check-package @@ -0,0 +1,220 @@ +#!/usr/bin/env python3 +# See utils/checkpackagelib/readme.txt before editing this file. + +import argparse +import inspect +import os +import re +import six +import sys + +import checkpackagelib.base +import checkpackagelib.lib_config +import checkpackagelib.lib_hash +import checkpackagelib.lib_mk +import checkpackagelib.lib_patch +import checkpackagelib.lib_sysv + +VERBOSE_LEVEL_TO_SHOW_IGNORED_FILES = 3 +flags = None # Command line arguments. + + +def parse_args(): + parser = argparse.ArgumentParser() + + # Do not use argparse.FileType("r") here because only files with known + # format will be open based on the filename. + parser.add_argument("files", metavar="F", type=str, nargs="*", + help="list of files") + + parser.add_argument("--br2-external", "-b", dest='intree_only', action="store_false", + help="do not apply the pathname filters used for intree files") + + parser.add_argument("--manual-url", action="store", + default="http://nightly.buildroot.org/", + help="default: %(default)s") + parser.add_argument("--verbose", "-v", action="count", default=0) + parser.add_argument("--quiet", "-q", action="count", default=0) + + # Now the debug options in the order they are processed. + parser.add_argument("--include-only", dest="include_list", action="append", + help="run only the specified functions (debug)") + parser.add_argument("--exclude", dest="exclude_list", action="append", + help="do not run the specified functions (debug)") + parser.add_argument("--dry-run", action="store_true", help="print the " + "functions that would be called for each file (debug)") + + return parser.parse_args() + + +CONFIG_IN_FILENAME = re.compile(r"Config\.\S*$") +DO_CHECK_INTREE = re.compile(r"|".join([ + r"Config.in", + r"arch/", + r"boot/", + r"fs/", + r"linux/", + r"package/", + r"system/", + r"toolchain/", + ])) +DO_NOT_CHECK_INTREE = re.compile(r"|".join([ + r"boot/barebox/barebox\.mk$", + r"fs/common\.mk$", + r"package/doc-asciidoc\.mk$", + r"package/pkg-\S*\.mk$", + r"toolchain/helpers\.mk$", + r"toolchain/toolchain-external/pkg-toolchain-external\.mk$", + ])) + +SYSV_INIT_SCRIPT_FILENAME = re.compile(r"/S\d\d[^/]+$") + + +def get_lib_from_filename(fname): + if flags.intree_only: + if DO_CHECK_INTREE.match(fname) is None: + return None + if DO_NOT_CHECK_INTREE.match(fname): + return None + else: + if os.path.basename(fname) == "external.mk" and \ + os.path.exists(fname[:-2] + "desc"): + return None + if CONFIG_IN_FILENAME.search(fname): + return checkpackagelib.lib_config + if fname.endswith(".hash"): + return checkpackagelib.lib_hash + if fname.endswith(".mk"): + return checkpackagelib.lib_mk + if fname.endswith(".patch"): + return checkpackagelib.lib_patch + if SYSV_INIT_SCRIPT_FILENAME.search(fname): + return checkpackagelib.lib_sysv + return None + + +def common_inspect_rules(m): + # do not call the base class + if m.__name__.startswith("_"): + return False + if flags.include_list and m.__name__ not in flags.include_list: + return False + if flags.exclude_list and m.__name__ in flags.exclude_list: + return False + return True + + +def is_a_check_function(m): + if not inspect.isclass(m): + return False + if not issubclass(m, checkpackagelib.base._CheckFunction): + return False + return common_inspect_rules(m) + + +def is_external_tool(m): + if not inspect.isclass(m): + return False + if not issubclass(m, checkpackagelib.base._Tool): + return False + return common_inspect_rules(m) + + +def print_warnings(warnings): + # Avoid the need to use 'return []' at the end of every check function. + if warnings is None: + return 0 # No warning generated. + + for level, message in enumerate(warnings): + if flags.verbose >= level: + print(message.replace("\t", "< tab >").rstrip()) + return 1 # One more warning to count. + + +def check_file_using_lib(fname): + # Count number of warnings generated and lines processed. + nwarnings = 0 + nlines = 0 + + lib = get_lib_from_filename(fname) + if not lib: + if flags.verbose >= VERBOSE_LEVEL_TO_SHOW_IGNORED_FILES: + print("{}: ignored".format(fname)) + return nwarnings, nlines + internal_functions = inspect.getmembers(lib, is_a_check_function) + external_tools = inspect.getmembers(lib, is_external_tool) + all_checks = internal_functions + external_tools + + if flags.dry_run: + functions_to_run = [c[0] for c in all_checks] + print("{}: would run: {}".format(fname, functions_to_run)) + return nwarnings, nlines + + objects = [c[1](fname, flags.manual_url) for c in internal_functions] + + for cf in objects: + nwarnings += print_warnings(cf.before()) + if six.PY3: + f = open(fname, "r", errors="surrogateescape") + else: + f = open(fname, "r") + lastline = "" + for lineno, text in enumerate(f.readlines()): + nlines += 1 + for cf in objects: + if cf.disable.search(lastline): + continue + nwarnings += print_warnings(cf.check_line(lineno + 1, text)) + lastline = text + f.close() + for cf in objects: + nwarnings += print_warnings(cf.after()) + + tools = [c[1](fname) for c in external_tools] + + for tool in tools: + nwarnings += print_warnings(tool.run()) + + return nwarnings, nlines + + +def __main__(): + global flags + flags = parse_args() + + if flags.intree_only: + # change all paths received to be relative to the base dir + base_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) + files_to_check = [os.path.relpath(os.path.abspath(f), base_dir) for f in flags.files] + # move current dir so the script find the files + os.chdir(base_dir) + else: + files_to_check = flags.files + + if len(files_to_check) == 0: + print("No files to check style") + sys.exit(1) + + # Accumulate number of warnings generated and lines processed. + total_warnings = 0 + total_lines = 0 + + for fname in files_to_check: + nwarnings, nlines = check_file_using_lib(fname) + total_warnings += nwarnings + total_lines += nlines + + # The warning messages are printed to stdout and can be post-processed + # (e.g. counted by 'wc'), so for stats use stderr. Wait all warnings are + # printed, for the case there are many of them, before printing stats. + sys.stdout.flush() + + if not flags.quiet: + print("{} lines processed".format(total_lines), file=sys.stderr) + print("{} warnings generated".format(total_warnings), file=sys.stderr) + + if total_warnings > 0: + sys.exit(1) + + +__main__() diff --git a/buildroot-2022.02.1/utils/checkpackagelib/__init__.py b/buildroot-2022.02.1/utils/checkpackagelib/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/buildroot-2022.02.1/utils/checkpackagelib/base.py b/buildroot-2022.02.1/utils/checkpackagelib/base.py new file mode 100644 index 00000000..f666e411 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/base.py @@ -0,0 +1,29 @@ +# See utils/checkpackagelib/readme.txt before editing this file. +import re + + +class _CheckFunction(object): + def __init__(self, filename, url_to_manual): + self.filename = filename + self.url_to_manual = url_to_manual + self.disable = re.compile(r"^\s*# check-package .*\b{}\b".format(self.__class__.__name__)) + + def before(self): + pass + + def check_line(self, lineno, text): + pass + + def after(self): + pass + + +class _Tool(object): + def __init__(self, filename): + self.filename = filename + + def run(self): + pass + + def hint(self): + return "" diff --git a/buildroot-2021.05/utils/checkpackagelib/lib.py b/buildroot-2022.02.1/utils/checkpackagelib/lib.py similarity index 100% rename from buildroot-2021.05/utils/checkpackagelib/lib.py rename to buildroot-2022.02.1/utils/checkpackagelib/lib.py diff --git a/buildroot-2022.02.1/utils/checkpackagelib/lib_config.py b/buildroot-2022.02.1/utils/checkpackagelib/lib_config.py new file mode 100644 index 00000000..b05831f2 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/lib_config.py @@ -0,0 +1,235 @@ +# See utils/checkpackagelib/readme.txt before editing this file. +# Kconfig generates errors if someone introduces a typo like "boool" instead of +# "bool", so below check functions don't need to check for things already +# checked by running "make menuconfig". + +import re + +from checkpackagelib.base import _CheckFunction +from checkpackagelib.lib import ConsecutiveEmptyLines # noqa: F401 +from checkpackagelib.lib import EmptyLastLine # noqa: F401 +from checkpackagelib.lib import NewlineAtEof # noqa: F401 +from checkpackagelib.lib import TrailingSpace # noqa: F401 +from checkpackagelib.tool import NotExecutable # noqa: F401 + + +def _empty_or_comment(text): + line = text.strip() + # ignore empty lines and comment lines indented or not + return line == "" or line.startswith("#") + + +def _part_of_help_text(text): + return text.startswith("\t ") + + +# used in more than one check +entries_that_should_not_be_indented = [ + "choice", "comment", "config", "endchoice", "endif", "endmenu", "if", + "menu", "menuconfig", "source"] + + +class AttributesOrder(_CheckFunction): + attributes_order_convention = { + "bool": 1, "prompt": 1, "string": 1, "default": 2, "depends": 3, + "select": 4, "help": 5} + + def before(self): + self.state = 0 + + def check_line(self, lineno, text): + if _empty_or_comment(text) or _part_of_help_text(text): + return + + attribute = text.split()[0] + + if attribute in entries_that_should_not_be_indented: + self.state = 0 + return + if attribute not in self.attributes_order_convention.keys(): + return + new_state = self.attributes_order_convention[attribute] + wrong_order = self.state > new_state + + # save to process next line + self.state = new_state + + if wrong_order: + return ["{}:{}: attributes order: type, default, depends on," + " select, help ({}#_config_files)" + .format(self.filename, lineno, self.url_to_manual), + text] + + +class CommentsMenusPackagesOrder(_CheckFunction): + def before(self): + self.level = 0 + self.menu_of_packages = ["The top level menu"] + self.new_package = "" + self.package = [""] + self.print_package_warning = [True] + self.state = "" + + def get_level(self): + return len(self.state.split('-')) - 1 + + def initialize_package_level_elements(self, text): + try: + self.menu_of_packages[self.level] = text[:-1] + self.package[self.level] = "" + self.print_package_warning[self.level] = True + except IndexError: + self.menu_of_packages.append(text[:-1]) + self.package.append("") + self.print_package_warning.append(True) + + def initialize_level_elements(self, text): + self.level = self.get_level() + self.initialize_package_level_elements(text) + + def check_line(self, lineno, text): + # We only want to force sorting for the top-level menus + if self.filename not in ["fs/Config.in", + "package/Config.in", + "package/Config.in.host", + "package/kodi/Config.in"]: + return + + source_line = re.match(r'^\s*source ".*/([^/]*)/Config.in(.host)?"', text) + + if text.startswith("comment "): + if not self.state.endswith("-comment"): + self.state += "-comment" + + self.initialize_level_elements(text) + + elif text.startswith("if "): + self.state += "-if" + + self.initialize_level_elements(text) + + elif text.startswith("menu "): + if self.state.endswith("-comment"): + self.state = self.state[:-8] + + self.state += "-menu" + + self.initialize_level_elements(text) + + elif text.startswith("endif") or text.startswith("endmenu"): + if self.state.endswith("-comment"): + self.state = self.state[:-8] + + if text.startswith("endif"): + self.state = self.state[:-3] + + elif text.startswith("endmenu"): + self.state = self.state[:-5] + + self.level = self.get_level() + + elif source_line: + self.new_package = source_line.group(1) + + # We order _ before A, so replace it with . + new_package_ord = self.new_package.replace('_', '.') + + if self.package[self.level] != "" and \ + self.print_package_warning[self.level] and \ + new_package_ord < self.package[self.level]: + self.print_package_warning[self.level] = False + prefix = "{}:{}: ".format(self.filename, lineno) + spaces = " " * len(prefix) + return ["{prefix}Packages in: {menu},\n" + "{spaces}are not alphabetically ordered;\n" + "{spaces}correct order: '-', '_', digits, capitals, lowercase;\n" + "{spaces}first incorrect package: {package}" + .format(prefix=prefix, spaces=spaces, + menu=self.menu_of_packages[self.level], + package=self.new_package), + text] + + self.package[self.level] = new_package_ord + + +class HelpText(_CheckFunction): + HELP_TEXT_FORMAT = re.compile(r"^\t .{,62}$") + URL_ONLY = re.compile(r"^(http|https|git)://\S*$") + + def before(self): + self.help_text = False + + def check_line(self, lineno, text): + if _empty_or_comment(text): + return + + entry = text.split()[0] + + if entry in entries_that_should_not_be_indented: + self.help_text = False + return + if text.strip() == "help": + self.help_text = True + return + + if not self.help_text: + return + + if self.HELP_TEXT_FORMAT.match(text.rstrip()): + return + if self.URL_ONLY.match(text.strip()): + return + return ["{}:{}: help text: <2 spaces><62 chars>" + " ({}#writing-rules-config-in)" + .format(self.filename, lineno, self.url_to_manual), + text, + "\t " + "123456789 " * 6 + "12"] + + +class Indent(_CheckFunction): + ENDS_WITH_BACKSLASH = re.compile(r"^[^#].*\\$") + entries_that_should_be_indented = [ + "bool", "default", "depends", "help", "prompt", "select", "string"] + + def before(self): + self.backslash = False + + def check_line(self, lineno, text): + if _empty_or_comment(text) or _part_of_help_text(text): + self.backslash = False + return + + entry = text.split()[0] + + last_line_ends_in_backslash = self.backslash + + # calculate for next line + if self.ENDS_WITH_BACKSLASH.search(text): + self.backslash = True + else: + self.backslash = False + + if last_line_ends_in_backslash: + if text.startswith("\t"): + return + return ["{}:{}: continuation line should be indented using tabs" + .format(self.filename, lineno), + text] + + if entry in self.entries_that_should_be_indented: + if not text.startswith("\t{}".format(entry)): + return ["{}:{}: should be indented with one tab" + " ({}#_config_files)" + .format(self.filename, lineno, self.url_to_manual), + text] + elif entry in entries_that_should_not_be_indented: + if not text.startswith(entry): + # four Config.in files have a special but legitimate indentation rule + if self.filename in ["package/Config.in", + "package/Config.in.host", + "package/kodi/Config.in", + "package/x11r7/Config.in"]: + return + return ["{}:{}: should not be indented" + .format(self.filename, lineno), + text] diff --git a/buildroot-2022.02.1/utils/checkpackagelib/lib_hash.py b/buildroot-2022.02.1/utils/checkpackagelib/lib_hash.py new file mode 100644 index 00000000..5968c809 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/lib_hash.py @@ -0,0 +1,70 @@ +# See utils/checkpackagelib/readme.txt before editing this file. +# The validity of the hashes itself is checked when building, so below check +# functions don't need to check for things already checked by running +# "make package-dirclean package-source". + +import re + +from checkpackagelib.base import _CheckFunction +from checkpackagelib.lib import ConsecutiveEmptyLines # noqa: F401 +from checkpackagelib.lib import EmptyLastLine # noqa: F401 +from checkpackagelib.lib import NewlineAtEof # noqa: F401 +from checkpackagelib.lib import TrailingSpace # noqa: F401 +from checkpackagelib.tool import NotExecutable # noqa: F401 + + +def _empty_line_or_comment(text): + return text.strip() == "" or text.startswith("#") + + +class HashNumberOfFields(_CheckFunction): + def check_line(self, lineno, text): + if _empty_line_or_comment(text): + return + + fields = text.split() + if len(fields) != 3: + return ["{}:{}: expected three fields ({}#adding-packages-hash)" + .format(self.filename, lineno, self.url_to_manual), + text] + + +class HashType(_CheckFunction): + len_of_hash = {"md5": 32, "sha1": 40, "sha224": 56, "sha256": 64, + "sha384": 96, "sha512": 128} + + def check_line(self, lineno, text): + if _empty_line_or_comment(text): + return + + fields = text.split() + if len(fields) < 2: + return + + htype, hexa = fields[:2] + if htype not in self.len_of_hash.keys(): + return ["{}:{}: unexpected type of hash ({}#adding-packages-hash)" + .format(self.filename, lineno, self.url_to_manual), + text] + if not re.match("^[0-9A-Fa-f]{%s}$" % self.len_of_hash[htype], hexa): + return ["{}:{}: hash size does not match type " + "({}#adding-packages-hash)" + .format(self.filename, lineno, self.url_to_manual), + text, + "expected {} hex digits".format(self.len_of_hash[htype])] + + +class HashSpaces(_CheckFunction): + def check_line(self, lineno, text): + if _empty_line_or_comment(text): + return + + fields = text.split() + if len(fields) != 3: + # Handled by HashNumberOfFields + return + + if not re.match(re.escape("{} {} {}".format(*fields)), text): + return ["{}:{}: separation does not match expectation " + "({}#adding-packages-hash)" + .format(self.filename, lineno, self.url_to_manual), text] diff --git a/buildroot-2022.02.1/utils/checkpackagelib/lib_mk.py b/buildroot-2022.02.1/utils/checkpackagelib/lib_mk.py new file mode 100644 index 00000000..b50a19ac --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/lib_mk.py @@ -0,0 +1,340 @@ +# See utils/checkpackagelib/readme.txt before editing this file. +# There are already dependency checks during the build, so below check +# functions don't need to check for things already checked by exploring the +# menu options using "make menuconfig" and by running "make" with appropriate +# packages enabled. + +import os +import re + +from checkpackagelib.base import _CheckFunction +from checkpackagelib.lib import ConsecutiveEmptyLines # noqa: F401 +from checkpackagelib.lib import EmptyLastLine # noqa: F401 +from checkpackagelib.lib import NewlineAtEof # noqa: F401 +from checkpackagelib.lib import TrailingSpace # noqa: F401 +from checkpackagelib.lib import Utf8Characters # noqa: F401 +from checkpackagelib.tool import NotExecutable # noqa: F401 + +# used in more than one check +start_conditional = ["ifdef", "ifeq", "ifndef", "ifneq"] +continue_conditional = ["elif", "else"] +end_conditional = ["endif"] + + +class Indent(_CheckFunction): + COMMENT = re.compile(r"^\s*#") + CONDITIONAL = re.compile(r"^\s*({})\s".format("|".join(start_conditional + end_conditional + continue_conditional))) + ENDS_WITH_BACKSLASH = re.compile(r"^[^#].*\\$") + END_DEFINE = re.compile(r"^\s*endef\s") + MAKEFILE_TARGET = re.compile(r"^[^# \t]+:\s") + START_DEFINE = re.compile(r"^\s*define\s") + + def before(self): + self.define = False + self.backslash = False + self.makefile_target = False + + def check_line(self, lineno, text): + if self.START_DEFINE.search(text): + self.define = True + return + if self.END_DEFINE.search(text): + self.define = False + return + + expect_tabs = False + if self.define or self.backslash or self.makefile_target: + expect_tabs = True + if not self.backslash and self.CONDITIONAL.search(text): + expect_tabs = False + + # calculate for next line + if self.ENDS_WITH_BACKSLASH.search(text): + self.backslash = True + else: + self.backslash = False + + if self.MAKEFILE_TARGET.search(text): + self.makefile_target = True + return + if text.strip() == "": + self.makefile_target = False + return + + # comment can be indented or not inside define ... endef, so ignore it + if self.define and self.COMMENT.search(text): + return + + if expect_tabs: + if not text.startswith("\t"): + return ["{}:{}: expected indent with tabs" + .format(self.filename, lineno), + text] + else: + if text.startswith("\t"): + return ["{}:{}: unexpected indent with tabs" + .format(self.filename, lineno), + text] + + +class OverriddenVariable(_CheckFunction): + CONCATENATING = re.compile(r"^([A-Z0-9_]+)\s*(\+|:|)=\s*\$\(\1\)") + END_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(end_conditional))) + OVERRIDING_ASSIGNMENTS = [':=', "="] + START_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(start_conditional))) + VARIABLE = re.compile(r"^([A-Z0-9_]+)\s*((\+|:|)=)") + USUALLY_OVERRIDDEN = re.compile(r"^[A-Z0-9_]+({})".format("|".join([ + r"_ARCH\s*=\s*", + r"_CPU\s*=\s*", + r"_SITE\s*=\s*", + r"_SOURCE\s*=\s*", + r"_VERSION\s*=\s*"]))) + FORBIDDEN_OVERRIDDEN = re.compile(r"^[A-Z0-9_]+({})".format("|".join([ + r"_CONF_OPTS\s*=\s*", + r"_DEPENDENCIES\s*=\s*"]))) + + def before(self): + self.conditional = 0 + self.unconditionally_set = [] + self.conditionally_set = [] + + def check_line(self, lineno, text): + if self.START_CONDITIONAL.search(text): + self.conditional += 1 + return + if self.END_CONDITIONAL.search(text): + self.conditional -= 1 + return + + m = self.VARIABLE.search(text) + if m is None: + return + variable, assignment = m.group(1, 2) + + if self.conditional == 0: + if variable in self.conditionally_set: + self.unconditionally_set.append(variable) + if assignment in self.OVERRIDING_ASSIGNMENTS: + return ["{}:{}: unconditional override of variable {} previously conditionally set" + .format(self.filename, lineno, variable), + text] + + if variable not in self.unconditionally_set: + self.unconditionally_set.append(variable) + return + if assignment in self.OVERRIDING_ASSIGNMENTS: + return ["{}:{}: unconditional override of variable {}" + .format(self.filename, lineno, variable), + text] + else: + if self.FORBIDDEN_OVERRIDDEN.search(text): + return ["{}:{}: conditional override of variable {}" + .format(self.filename, lineno, variable), + text] + if variable not in self.unconditionally_set: + self.conditionally_set.append(variable) + return + if self.CONCATENATING.search(text): + return ["{}:{}: immediate assignment to append to variable {}" + .format(self.filename, lineno, variable), + text] + if self.USUALLY_OVERRIDDEN.search(text): + return + if assignment in self.OVERRIDING_ASSIGNMENTS: + return ["{}:{}: conditional override of variable {}" + .format(self.filename, lineno, variable), + text] + + +class PackageHeader(_CheckFunction): + def before(self): + self.skip = False + + def check_line(self, lineno, text): + if self.skip or lineno > 6: + return + + if lineno in [1, 5]: + if lineno == 1 and text.startswith("include "): + self.skip = True + return + if text.rstrip() != "#" * 80: + return ["{}:{}: should be 80 hashes ({}#writing-rules-mk)" + .format(self.filename, lineno, self.url_to_manual), + text, + "#" * 80] + elif lineno in [2, 4]: + if text.rstrip() != "#": + return ["{}:{}: should be 1 hash ({}#writing-rules-mk)" + .format(self.filename, lineno, self.url_to_manual), + text] + elif lineno == 6: + if text.rstrip() != "": + return ["{}:{}: should be a blank line ({}#writing-rules-mk)" + .format(self.filename, lineno, self.url_to_manual), + text] + + +class RemoveDefaultPackageSourceVariable(_CheckFunction): + packages_that_may_contain_default_source = ["binutils", "gcc", "gdb"] + + def before(self): + package, _ = os.path.splitext(os.path.basename(self.filename)) + package_upper = package.replace("-", "_").upper() + self.package = package + self.FIND_SOURCE = re.compile( + r"^{}_SOURCE\s*=\s*{}-\$\({}_VERSION\)\.tar\.gz" + .format(package_upper, package, package_upper)) + + def check_line(self, lineno, text): + if self.FIND_SOURCE.search(text): + + if self.package in self.packages_that_may_contain_default_source: + return + + return ["{}:{}: remove default value of _SOURCE variable " + "({}#generic-package-reference)" + .format(self.filename, lineno, self.url_to_manual), + text] + + +class SpaceBeforeBackslash(_CheckFunction): + TAB_OR_MULTIPLE_SPACES_BEFORE_BACKSLASH = re.compile(r"^.*( |\t ?)\\$") + + def check_line(self, lineno, text): + if self.TAB_OR_MULTIPLE_SPACES_BEFORE_BACKSLASH.match(text.rstrip()): + return ["{}:{}: use only one space before backslash" + .format(self.filename, lineno), + text] + + +class TrailingBackslash(_CheckFunction): + ENDS_WITH_BACKSLASH = re.compile(r"^[^#].*\\$") + + def before(self): + self.backslash = False + + def check_line(self, lineno, text): + last_line_ends_in_backslash = self.backslash + + # calculate for next line + if self.ENDS_WITH_BACKSLASH.search(text): + self.backslash = True + self.lastline = text + return + self.backslash = False + + if last_line_ends_in_backslash and text.strip() == "": + return ["{}:{}: remove trailing backslash" + .format(self.filename, lineno - 1), + self.lastline] + + +class TypoInPackageVariable(_CheckFunction): + ALLOWED = re.compile(r"|".join([ + "ACLOCAL_DIR", + "ACLOCAL_HOST_DIR", + "ACLOCAL_PATH", + "BR_CCACHE_INITIAL_SETUP", + "BR_LIBC", + "BR_NO_CHECK_HASH_FOR", + "GCC_TARGET", + "LINUX_EXTENSIONS", + "LINUX_POST_PATCH_HOOKS", + "LINUX_TOOLS", + "LUA_RUN", + "MKFS_JFFS2", + "MKIMAGE_ARCH", + "PACKAGES_PERMISSIONS_TABLE", + "PKG_CONFIG_HOST_BINARY", + "SUMTOOL", + "TARGET_FINALIZE_HOOKS", + "TARGETS_ROOTFS", + "XTENSA_CORE_NAME"])) + VARIABLE = re.compile(r"^(define\s+)?([A-Z0-9_]+_[A-Z0-9_]+)") + + def before(self): + package, _ = os.path.splitext(os.path.basename(self.filename)) + package = package.replace("-", "_").upper() + # linux tools do not use LINUX_TOOL_ prefix for variables + package = package.replace("LINUX_TOOL_", "") + # linux extensions do not use LINUX_EXT_ prefix for variables + package = package.replace("LINUX_EXT_", "") + self.package = package + self.REGEX = re.compile(r"(HOST_|ROOTFS_)?({}_[A-Z0-9_]+)".format(package)) + self.FIND_VIRTUAL = re.compile( + r"^{}_PROVIDES\s*(\+|)=\s*(.*)".format(package)) + self.virtual = [] + + def check_line(self, lineno, text): + m = self.VARIABLE.search(text) + if m is None: + return + + variable = m.group(2) + + # allow to set variables for virtual package this package provides + v = self.FIND_VIRTUAL.search(text) + if v: + self.virtual += v.group(2).upper().split() + return + for virtual in self.virtual: + if variable.startswith("{}_".format(virtual)): + return + + if self.ALLOWED.match(variable): + return + if self.REGEX.search(text) is None: + return ["{}:{}: possible typo: {} -> *{}*" + .format(self.filename, lineno, variable, self.package), + text] + + +class UselessFlag(_CheckFunction): + DEFAULT_AUTOTOOLS_FLAG = re.compile(r"^.*{}".format("|".join([ + r"_AUTORECONF\s*=\s*NO", + r"_LIBTOOL_PATCH\s*=\s*YES"]))) + DEFAULT_GENERIC_FLAG = re.compile(r"^.*{}".format("|".join([ + r"_INSTALL_IMAGES\s*=\s*NO", + r"_INSTALL_REDISTRIBUTE\s*=\s*YES", + r"_INSTALL_STAGING\s*=\s*NO", + r"_INSTALL_TARGET\s*=\s*YES"]))) + END_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(end_conditional))) + START_CONDITIONAL = re.compile(r"^\s*({})".format("|".join(start_conditional))) + + def before(self): + self.conditional = 0 + + def check_line(self, lineno, text): + if self.START_CONDITIONAL.search(text): + self.conditional += 1 + return + if self.END_CONDITIONAL.search(text): + self.conditional -= 1 + return + + # allow non-default conditionally overridden by default + if self.conditional > 0: + return + + if self.DEFAULT_GENERIC_FLAG.search(text): + return ["{}:{}: useless default value ({}#" + "_infrastructure_for_packages_with_specific_build_systems)" + .format(self.filename, lineno, self.url_to_manual), + text] + + if self.DEFAULT_AUTOTOOLS_FLAG.search(text) and not text.lstrip().startswith("HOST_"): + return ["{}:{}: useless default value " + "({}#_infrastructure_for_autotools_based_packages)" + .format(self.filename, lineno, self.url_to_manual), + text] + + +class VariableWithBraces(_CheckFunction): + VARIABLE_WITH_BRACES = re.compile(r"^[^#].*[^$]\${\w+}") + + def check_line(self, lineno, text): + if self.VARIABLE_WITH_BRACES.match(text.rstrip()): + return ["{}:{}: use $() to delimit variables, not ${{}}" + .format(self.filename, lineno), + text] diff --git a/buildroot-2022.02.1/utils/checkpackagelib/lib_patch.py b/buildroot-2022.02.1/utils/checkpackagelib/lib_patch.py new file mode 100644 index 00000000..caee3615 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/lib_patch.py @@ -0,0 +1,63 @@ +# See utils/checkpackagelib/readme.txt before editing this file. +# The format of the patch files is tested during the build, so below check +# functions don't need to check for things already checked by running +# "make package-dirclean package-patch". + +import os +import re + +from checkpackagelib.base import _CheckFunction +from checkpackagelib.lib import NewlineAtEof # noqa: F401 +from checkpackagelib.tool import NotExecutable # noqa: F401 + + +class ApplyOrder(_CheckFunction): + APPLY_ORDER = re.compile(r"\d{1,4}-[^/]*$") + + def before(self): + if not self.APPLY_ORDER.match(os.path.basename(self.filename)): + return ["{}:0: use name -.patch " + "({}#_providing_patches)" + .format(self.filename, self.url_to_manual)] + + +class NumberedSubject(_CheckFunction): + NUMBERED_PATCH = re.compile(r"Subject:\s*\[PATCH\s*\d+/\d+\]") + + def before(self): + self.git_patch = False + self.lineno = 0 + self.text = None + + def check_line(self, lineno, text): + if text.startswith("diff --git"): + self.git_patch = True + return + if self.NUMBERED_PATCH.search(text): + self.lineno = lineno + self.text = text + + def after(self): + if self.git_patch and self.text: + return ["{}:{}: generate your patches with 'git format-patch -N'" + .format(self.filename, self.lineno), + self.text] + + +class Sob(_CheckFunction): + SOB_ENTRY = re.compile(r"^Signed-off-by: .*$") + + def before(self): + self.found = False + + def check_line(self, lineno, text): + if self.found: + return + if self.SOB_ENTRY.search(text): + self.found = True + + def after(self): + if not self.found: + return ["{}:0: missing Signed-off-by in the header " + "({}#_format_and_licensing_of_the_package_patches)" + .format(self.filename, self.url_to_manual)] diff --git a/buildroot-2022.02.1/utils/checkpackagelib/lib_sysv.py b/buildroot-2022.02.1/utils/checkpackagelib/lib_sysv.py new file mode 100644 index 00000000..386d085a --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/lib_sysv.py @@ -0,0 +1,69 @@ +import os +import re + +from checkpackagelib.base import _CheckFunction +from checkpackagelib.lib import ConsecutiveEmptyLines # noqa: F401 +from checkpackagelib.lib import EmptyLastLine # noqa: F401 +from checkpackagelib.lib import NewlineAtEof # noqa: F401 +from checkpackagelib.lib import TrailingSpace # noqa: F401 +import checkpackagelib.tool +from checkpackagelib.tool import Shellcheck # noqa: F401 + + +class Indent(_CheckFunction): + INDENTED_WITH_SPACES = re.compile(r"^[\t]* ") + + def check_line(self, lineno, text): + if self.INDENTED_WITH_SPACES.search(text.rstrip()): + return ["{}:{}: should be indented with tabs ({}#adding-packages-start-script)" + .format(self.filename, lineno, self.url_to_manual), + text] + + +class NotExecutable(checkpackagelib.tool.NotExecutable): + def hint(self): + return ", just make sure you use '$(INSTALL) -D -m 0755' in the .mk file" + + +class Variables(_CheckFunction): + DAEMON_VAR = re.compile(r"^DAEMON=[\"']{0,1}([^\"']*)[\"']{0,1}") + PIDFILE_PATTERN = re.compile(r"/var/run/(\$DAEMON|\$\{DAEMON\}).pid") + PIDFILE_VAR = re.compile(r"^PIDFILE=[\"']{0,1}([^\"']*)[\"']{0,1}") + + def before(self): + self.name = None + + def check_line(self, lineno, text): + name_found = self.DAEMON_VAR.search(text.rstrip()) + if name_found: + if self.name: + return ["{}:{}: DAEMON variable redefined ({}#adding-packages-start-script)" + .format(self.filename, lineno, self.url_to_manual), + text] + self.name = name_found.group(1) + if '/' in self.name: + self.name = os.path.basename(self.name) # to be used in after() to check the expected filename + return ["{}:{}: Do not include path in DAEMON ({}#adding-packages-start-script)" + .format(self.filename, lineno, self.url_to_manual), + text, + 'DAEMON="{}"'.format(self.name)] + return + + pidfile_found = self.PIDFILE_VAR.search(text.rstrip()) + if pidfile_found: + pidfile = pidfile_found.group(1) + if not self.PIDFILE_PATTERN.match(pidfile): + return ["{}:{}: Incorrect PIDFILE value ({}#adding-packages-start-script)" + .format(self.filename, lineno, self.url_to_manual), + text, + 'PIDFILE="/var/run/$DAEMON.pid"'] + + def after(self): + if self.name is None: + return ["{}:0: DAEMON variable not defined ({}#adding-packages-start-script)" + .format(self.filename, self.url_to_manual)] + expected_filename = re.compile(r"S\d\d{}$".format(self.name)) + if not expected_filename.match(os.path.basename(self.filename)): + return ["{}:0: filename should be S ({}#adding-packages-start-script)" + .format(self.filename, self.url_to_manual), + "expecting S{}".format(self.name)] diff --git a/buildroot-2021.05/utils/checkpackagelib/readme.txt b/buildroot-2022.02.1/utils/checkpackagelib/readme.txt similarity index 100% rename from buildroot-2021.05/utils/checkpackagelib/readme.txt rename to buildroot-2022.02.1/utils/checkpackagelib/readme.txt diff --git a/buildroot-2022.02.1/utils/checkpackagelib/test_lib.py b/buildroot-2022.02.1/utils/checkpackagelib/test_lib.py new file mode 100644 index 00000000..976a63d8 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/test_lib.py @@ -0,0 +1,212 @@ +import pytest +import checkpackagelib.test_util as util +import checkpackagelib.lib as m + + +ConsecutiveEmptyLines = [ + ('1 line (no newline)', + 'any', + '', + []), + ('1 line', + 'any', + '\n', + []), + ('2 lines', + 'any', + '\n' + '\n', + [['any:2: consecutive empty lines']]), + ('more than 2 consecutive', + 'any', + '\n' + '\n' + '\n', + [['any:2: consecutive empty lines'], + ['any:3: consecutive empty lines']]), + ('ignore whitespace 1', + 'any', + '\n' + ' ', + [['any:2: consecutive empty lines']]), + ('ignore whitespace 2', + 'any', + ' \n' + '\t\n', + [['any:2: consecutive empty lines']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', ConsecutiveEmptyLines) +def test_ConsecutiveEmptyLines(testname, filename, string, expected): + warnings = util.check_file(m.ConsecutiveEmptyLines, filename, string) + assert warnings == expected + + +EmptyLastLine = [ + ('ignore empty file', + 'any', + '', + []), + ('empty line (newline)', + 'any', + '\n', + [['any:1: empty line at end of file']]), + ('empty line (space, newline)', + 'any', + ' \n', + [['any:1: empty line at end of file']]), + ('empty line (space, no newline)', + 'any', + ' ', + [['any:1: empty line at end of file']]), + ('warn for the last of 2', + 'any', + '\n' + '\n', + [['any:2: empty line at end of file']]), + ('warn for the last of 3', + 'any', + '\n' + '\n' + '\n', + [['any:3: empty line at end of file']]), + ('ignore whitespace', + 'any', + ' \n' + '\t\n', + [['any:2: empty line at end of file']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', EmptyLastLine) +def test_EmptyLastLine(testname, filename, string, expected): + warnings = util.check_file(m.EmptyLastLine, filename, string) + assert warnings == expected + + +NewlineAtEof = [ + ('good', + 'any', + 'text\n', + []), + ('text (bad)', + 'any', + '\n' + 'text', + [['any:2: missing newline at end of file', + 'text']]), + ('space (bad)', + 'any', + '\n' + ' ', + [['any:2: missing newline at end of file', + ' ']]), + ('tab (bad)', + 'any', + '\n' + '\t', + [['any:2: missing newline at end of file', + '\t']]), + ('even for file with one line', + 'any', + ' ', + [['any:1: missing newline at end of file', + ' ']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', NewlineAtEof) +def test_NewlineAtEof(testname, filename, string, expected): + warnings = util.check_file(m.NewlineAtEof, filename, string) + assert warnings == expected + + +TrailingSpace = [ + ('good', + 'any', + 'text\n', + []), + ('ignore missing newline', + 'any', + '\n' + 'text', + []), + ('spaces', + 'any', + 'text \n', + [['any:1: line contains trailing whitespace', + 'text \n']]), + ('tabs after text', + 'any', + 'text\t\t\n', + [['any:1: line contains trailing whitespace', + 'text\t\t\n']]), + ('mix of tabs and spaces', + 'any', + ' \n' + ' ', + [['any:1: line contains trailing whitespace', + ' \n'], + ['any:2: line contains trailing whitespace', + ' ']]), + ('blank line with tabs', + 'any', + '\n' + '\t', + [['any:2: line contains trailing whitespace', + '\t']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', TrailingSpace) +def test_TrailingSpace(testname, filename, string, expected): + warnings = util.check_file(m.TrailingSpace, filename, string) + assert warnings == expected + + +Utf8Characters = [ + ('usual', + 'any', + 'text\n', + []), + ('acceptable character', + 'any', + '\x60', + []), + ('unacceptable character', + 'any', + '\x81', + [['any:1: line contains UTF-8 characters', + '\x81']]), + ('2 warnings', + 'any', + 'text\n' + 'text \xc8 text\n' + '\xc9\n', + [['any:2: line contains UTF-8 characters', + 'text \xc8 text\n'], + ['any:3: line contains UTF-8 characters', + '\xc9\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', Utf8Characters) +def test_Utf8Characters(testname, filename, string, expected): + warnings = util.check_file(m.Utf8Characters, filename, string) + assert warnings == expected + + +def test_all_check_functions_are_used(): + import inspect + import checkpackagelib.lib_config as lib_config + import checkpackagelib.lib_hash as lib_hash + import checkpackagelib.lib_mk as lib_mk + import checkpackagelib.lib_patch as lib_patch + c_config = [c[0] for c in inspect.getmembers(lib_config, inspect.isclass)] + c_hash = [c[0] for c in inspect.getmembers(lib_hash, inspect.isclass)] + c_mk = [c[0] for c in inspect.getmembers(lib_mk, inspect.isclass)] + c_patch = [c[0] for c in inspect.getmembers(lib_patch, inspect.isclass)] + c_all = c_config + c_hash + c_mk + c_patch + c_common = [c[0] for c in inspect.getmembers(m, inspect.isclass)] + assert set(c_common) <= set(c_all) diff --git a/buildroot-2022.02.1/utils/checkpackagelib/test_lib_config.py b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_config.py new file mode 100644 index 00000000..91a549ad --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_config.py @@ -0,0 +1,387 @@ +import pytest +import checkpackagelib.test_util as util +import checkpackagelib.lib_config as m + + +AttributesOrder = [ + ('good example', + 'any', + 'config BR2_PACKAGE_FOO\n' + 'bool "foo"\n' + 'default y\n' + 'depends on BR2_USE_BAR # runtime\n' + 'select BR2_PACKAGE_BAZ\n' + 'help\n' + '\t help text\n', + []), + ('depends before default', + 'any', + 'config BR2_PACKAGE_FOO\n' + 'bool "foo"\n' + 'depends on BR2_USE_BAR\n' + 'default y\n', + [['any:4: attributes order: type, default, depends on, select, help (url#_config_files)', + 'default y\n']]), + ('select after help', + 'any', + 'config BR2_PACKAGE_FOO\n' + 'bool "foo"\n' + 'help\n' + '\t help text\n' + 'select BR2_PACKAGE_BAZ\n', + [['any:5: attributes order: type, default, depends on, select, help (url#_config_files)', + 'select BR2_PACKAGE_BAZ\n']]), + ('string', + 'any', + 'config BR2_PACKAGE_FOO_PLUGINS\n' + 'string "foo plugins"\n' + 'default "all"\n', + []), + ('ignore tabs', + 'any', + 'config\tBR2_PACKAGE_FOO_PLUGINS\n' + 'default\t"all"\n' + 'string\t"foo plugins"\n', + [['any:3: attributes order: type, default, depends on, select, help (url#_config_files)', + 'string\t"foo plugins"\n']]), + ('choice', + 'any', + 'config BR2_PACKAGE_FOO\n' + 'bool "foo"\n' + 'if BR2_PACKAGE_FOO\n' + '\n' + 'choice\n' + 'prompt "type of foo"\n' + 'default BR2_PACKAGE_FOO_STRING\n' + '\n' + 'config BR2_PACKAGE_FOO_NONE\n' + 'bool "none"\n' + '\n' + 'config BR2_PACKAGE_FOO_STRING\n' + 'bool "string"\n' + '\n' + 'endchoice\n' + '\n' + 'endif\n' + '\n', + []), + ('type after default', + 'any', + 'config BR2_PACKAGE_FOO\n' + 'bool "foo"\n' + 'if BR2_PACKAGE_FOO\n' + '\n' + 'choice\n' + 'default BR2_PACKAGE_FOO_STRING\n' + 'prompt "type of foo"\n', + [['any:7: attributes order: type, default, depends on, select, help (url#_config_files)', + 'prompt "type of foo"\n']]), + ('menu', + 'any', + 'menuconfig BR2_PACKAGE_FOO\n' + 'bool "foo"\n' + 'help\n' + '\t help text\n' + '\t help text\n' + '\n' + 'if BR2_PACKAGE_FOO\n' + '\n' + 'menu "foo plugins"\n' + 'config BR2_PACKAGE_FOO_COUNTER\n' + 'bool "counter"\n' + '\n' + 'endmenu\n' + '\n' + 'endif\n', + []), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', AttributesOrder) +def test_AttributesOrder(testname, filename, string, expected): + warnings = util.check_file(m.AttributesOrder, filename, string) + assert warnings == expected + + +CommentsMenusPackagesOrder = [ + ('top menu (good)', + 'package/Config.in', + 'menu "Target packages"\n' + 'source "package/busybox/Config.in"\n' + 'source "package/skeleton/Config.in"\n', + []), + ('top menu (bad)', + 'package/Config.in', + 'source "package/skeleton/Config.in"\n' + 'source "package/busybox/Config.in"\n', + [['package/Config.in:2: Packages in: The top level menu,\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: busybox', + 'source "package/busybox/Config.in"\n']]), + ('menu (bad)', + 'package/Config.in', + 'menu "Target packages"\n' + 'source "package/skeleton/Config.in"\n' + 'source "package/busybox/Config.in"\n', + [['package/Config.in:3: Packages in: menu "Target packages",\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: busybox', + 'source "package/busybox/Config.in"\n']]), + ('underscore (good)', + 'package/Config.in.host', + 'menu "Hardware handling"\n' + 'menu "Firmware"\n' + 'endmenu\n' + 'source "package/usb_modeswitch/Config.in"\n' + 'source "package/usbmount/Config.in"\n', + []), + ('underscore (bad)', + 'package/Config.in.host', + 'menu "Hardware handling"\n' + 'menu "Firmware"\n' + 'endmenu\n' + 'source "package/usbmount/Config.in"\n' + 'source "package/usb_modeswitch/Config.in"\n', + [['package/Config.in.host:5: Packages in: menu "Hardware handling",\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: usb_modeswitch', + 'source "package/usb_modeswitch/Config.in"\n']]), + ('ignore other files', + 'any other file', + 'menu "Hardware handling"\n' + 'source "package/bbb/Config.in"\n' + 'source "package/aaa/Config.in"\n', + []), + ('dash (bad)', + 'package/Config.in', + 'menu "packages"\n' + 'source "package/a_a/Config.in"\n' + 'source "package/a-a/Config.in"\n' + 'source "package/a1a/Config.in"\n' + 'source "package/aAa/Config.in"\n' + 'source "package/aaa/Config.in"\n', + [['package/Config.in:3: Packages in: menu "packages",\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: a-a', + 'source "package/a-a/Config.in"\n']]), + ('underscore (bad)', + 'package/Config.in', + 'menu "packages"\n' + 'source "package/a-a/Config.in"\n' + 'source "package/a1a/Config.in"\n' + 'source "package/a_a/Config.in"\n' + 'source "package/aAa/Config.in"\n' + 'source "package/aaa/Config.in"\n', + [['package/Config.in:4: Packages in: menu "packages",\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: a_a', + 'source "package/a_a/Config.in"\n']]), + ('digit (bad)', + 'package/Config.in', + 'menu "packages"\n' + 'source "package/a-a/Config.in"\n' + 'source "package/a_a/Config.in"\n' + 'source "package/aAa/Config.in"\n' + 'source "package/a1a/Config.in"\n' + 'source "package/aaa/Config.in"\n', + [['package/Config.in:5: Packages in: menu "packages",\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: a1a', + 'source "package/a1a/Config.in"\n']]), + ('capitals (bad)', + 'package/Config.in', + 'menu "packages"\n' + 'source "package/a-a/Config.in"\n' + 'source "package/a_a/Config.in"\n' + 'source "package/a1a/Config.in"\n' + 'source "package/aaa/Config.in"\n' + 'source "package/aAa/Config.in"\n', + [['package/Config.in:6: Packages in: menu "packages",\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: aAa', + 'source "package/aAa/Config.in"\n']]), + ('digits, capitals, underscore (good)', + 'package/Config.in', + 'menu "packages"\n' + 'source "package/a-a/Config.in"\n' + 'source "package/a_a/Config.in"\n' + 'source "package/a1a/Config.in"\n' + 'source "package/aAa/Config.in"\n' + 'source "package/aaa/Config.in"\n', + []), + ('conditional menu (good)', + 'package/Config.in', + 'menu "Other"\n' + 'source "package/linux-pam/Config.in"\n' + 'if BR2_PACKAGE_LINUX_PAM\n' + 'comment "linux-pam plugins"\n' + 'source "package/libpam-radius-auth/Config.in"\n' + 'source "package/libpam-tacplus/Config.in"\n' + 'endif\n' + 'source "package/liquid-dsp/Config.in"\n', + []), + ('conditional menu (bad)', + 'package/Config.in', + 'menu "Other"\n' + 'source "package/linux-pam/Config.in"\n' + 'if BR2_PACKAGE_LINUX_PAM\n' + 'comment "linux-pam plugins"\n' + 'source "package/libpam-tacplus/Config.in"\n' + 'source "package/libpam-radius-auth/Config.in"\n' + 'endif\n' + 'source "package/liquid-dsp/Config.in"\n', + [['package/Config.in:6: Packages in: comment "linux-pam plugins",\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: libpam-radius-auth', + 'source "package/libpam-radius-auth/Config.in"\n']]), + ('no conditional (bad)', + 'package/Config.in', + 'menu "Other"\n' + 'source "package/linux-pam/Config.in"\n' + 'source "package/libpam-radius-auth/Config.in"\n' + 'source "package/libpam-tacplus/Config.in"\n' + 'source "package/liquid-dsp/Config.in"\n', + [['package/Config.in:3: Packages in: menu "Other",\n' + ' are not alphabetically ordered;\n' + " correct order: '-', '_', digits, capitals, lowercase;\n" + ' first incorrect package: libpam-radius-auth', + 'source "package/libpam-radius-auth/Config.in"\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', CommentsMenusPackagesOrder) +def test_CommentsMenusPackagesOrder(testname, filename, string, expected): + warnings = util.check_file(m.CommentsMenusPackagesOrder, filename, string) + assert warnings == expected + + +HelpText = [ + ('single line', + 'any', + 'config BR2_PACKAGE_FOO\n' + 'bool "foo"\n' + 'default y\n' + 'depends on BR2_USE_BAR # runtime\n' + 'select BR2_PACKAGE_BAZ\n' + 'help\n' + '\t help text\n', + []), + ('larger than 72', + 'any', + 'help\n' + '\t 123456789 123456789 123456789 123456789 123456789 123456789 12\n' + '\t 123456789 123456789 123456789 123456789 123456789 123456789 123\n' + '\t help text\n', + [['any:3: help text: <2 spaces><62 chars> (url#writing-rules-config-in)', + '\t 123456789 123456789 123456789 123456789 123456789 123456789 123\n', + '\t 123456789 123456789 123456789 123456789 123456789 123456789 12']]), + ('long url at beginning of line', + 'any', + 'help\n' + '\t 123456789 123456789 123456789 123456789 123456789 123456789 12\n' + '\t http://url.that.is.longer.than.seventy.two.characthers/folder_name\n' + '\t https://url.that.is.longer.than.seventy.two.characthers/folder_name\n' + '\t git://url.that.is.longer.than.seventy.two.characthers/folder_name\n', + []), + ('long url not at beginning of line', + 'any', + 'help\n' + '\t 123456789 123456789 123456789 123456789 123456789 123456789 12\n' + '\t refer to http://url.that.is.longer.than.seventy.two.characthers/folder_name\n' + '\n' + '\t http://url.that.is.longer.than.seventy.two.characthers/folder_name\n', + [['any:3: help text: <2 spaces><62 chars> (url#writing-rules-config-in)', + '\t refer to http://url.that.is.longer.than.seventy.two.characthers/folder_name\n', + '\t 123456789 123456789 123456789 123456789 123456789 123456789 12']]), + ('allow beautified items', + 'any', + 'help\n' + '\t 123456789 123456789 123456789 123456789 123456789 123456789 12\n' + '\t summary:\n' + '\t - enable that config\n' + '\t - built it\n', + []), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', HelpText) +def test_HelpText(testname, filename, string, expected): + warnings = util.check_file(m.HelpText, filename, string) + assert warnings == expected + + +Indent = [ + ('good example', + 'any', + 'config BR2_PACKAGE_FOO\n' + '\tbool "foo"\n' + '\tdefault y\n' + '\tdepends on BR2_TOOLCHAIN_HAS_THREADS\n' + '\tdepends on BR2_INSTALL_LIBSTDCPP\n' + '# very useful comment\n' + '\tselect BR2_PACKAGE_BAZ\n' + '\thelp\n' + '\t help text\n' + '\n' + 'comment "foo needs toolchain w/ C++, threads"\n' + '\tdepends on !BR2_INSTALL_LIBSTDCPP || \\\n' + '\t\t!BR2_TOOLCHAIN_HAS_THREADS\n' + '\n' + 'source "package/foo/bar/Config.in"\n', + []), + ('spaces', + 'any', + 'config BR2_PACKAGE_FOO\n' + ' bool "foo"\n', + [['any:2: should be indented with one tab (url#_config_files)', + ' bool "foo"\n']]), + ('without indent', + 'any', + 'config BR2_PACKAGE_FOO\n' + 'default y\n', + [['any:2: should be indented with one tab (url#_config_files)', + 'default y\n']]), + ('too much tabs', + 'any', + 'config BR2_PACKAGE_FOO\n' + '\t\tdepends on BR2_TOOLCHAIN_HAS_THREADS\n', + [['any:2: should be indented with one tab (url#_config_files)', + '\t\tdepends on BR2_TOOLCHAIN_HAS_THREADS\n']]), + ('help', + 'any', + 'config BR2_PACKAGE_FOO\n' + ' help\n', + [['any:2: should be indented with one tab (url#_config_files)', + ' help\n']]), + ('continuation line', + 'any', + 'comment "foo needs toolchain w/ C++, threads"\n' + '\tdepends on !BR2_INSTALL_LIBSTDCPP || \\\n' + ' !BR2_TOOLCHAIN_HAS_THREADS\n', + [['any:3: continuation line should be indented using tabs', + ' !BR2_TOOLCHAIN_HAS_THREADS\n']]), + ('comment with tabs', + 'any', + '\tcomment "foo needs toolchain w/ C++, threads"\n', + [['any:1: should not be indented', + '\tcomment "foo needs toolchain w/ C++, threads"\n']]), + ('comment with spaces', + 'any', + ' comment "foo needs toolchain w/ C++, threads"\n', + [['any:1: should not be indented', + ' comment "foo needs toolchain w/ C++, threads"\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', Indent) +def test_Indent(testname, filename, string, expected): + warnings = util.check_file(m.Indent, filename, string) + assert warnings == expected diff --git a/buildroot-2022.02.1/utils/checkpackagelib/test_lib_hash.py b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_hash.py new file mode 100644 index 00000000..fdc63381 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_hash.py @@ -0,0 +1,183 @@ +import pytest +import checkpackagelib.test_util as util +import checkpackagelib.lib_hash as m + + +HashNumberOfFields = [ + ('empty file', + 'any', + '', + []), + ('empty line', + 'any', + '\n', + []), + ('ignore whitespace', + 'any', + '\t\n', + []), + ('ignore comments', + 'any', + '# text\n', + []), + ('1 field', + 'any', + 'field1\n', + [['any:1: expected three fields (url#adding-packages-hash)', + 'field1\n']]), + ('2 fields', + 'any', + 'field1 field2\n', + [['any:1: expected three fields (url#adding-packages-hash)', + 'field1 field2\n']]), + ('4 fields', + 'any', + 'field1 field2 field3 field4\n', + [['any:1: expected three fields (url#adding-packages-hash)', + 'field1 field2 field3 field4\n']]), + ('with 1 space', + 'any', + 'field1 field2 field3\n', + []), + ('many spaces', + 'any', + ' field1 field2 field3\n', + []), + ('tabs', + 'any', + 'field1\tfield2\tfield3\n', + []), + ('mix of tabs and spaces', + 'any', + '\tfield1\t field2\t field3 \n', + []), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', HashNumberOfFields) +def test_HashNumberOfFields(testname, filename, string, expected): + warnings = util.check_file(m.HashNumberOfFields, filename, string) + assert warnings == expected + + +HashType = [ + ('ignore empty files', + 'any', + '', + []), + ('ignore 1 field', + 'any', + 'text\n', + []), + ('wrong type', + 'any', + 'text text\n', + [['any:1: unexpected type of hash (url#adding-packages-hash)', + 'text text\n']]), + ('md5 (good)', + 'any', + 'md5 12345678901234567890123456789012\n', + []), + ('md5 (short)', + 'any', + 'md5 123456\n', + [['any:1: hash size does not match type (url#adding-packages-hash)', + 'md5 123456\n', + 'expected 32 hex digits']]), + ('ignore space before', + 'any', + ' md5 12345678901234567890123456789012\n', + []), + ('2 spaces', + 'any', + 'md5 12345678901234567890123456789012\n', + []), + ('ignore tabs', + 'any', + 'md5\t12345678901234567890123456789012\n', + []), + ('common typo', + 'any', + 'md5sum 12345678901234567890123456789012\n', + [['any:1: unexpected type of hash (url#adding-packages-hash)', + 'md5sum 12345678901234567890123456789012\n']]), + ('md5 (too long)', + 'any', + 'md5 123456789012345678901234567890123\n', + [['any:1: hash size does not match type (url#adding-packages-hash)', + 'md5 123456789012345678901234567890123\n', + 'expected 32 hex digits']]), + ('sha1 (good)', + 'any', + 'sha1 1234567890123456789012345678901234567890\n', + []), + ('sha256', + 'any', + 'sha256 1234567890123456789012345678901234567890123456789012345678901234\n', + []), + ('sha384', + 'any', + 'sha384 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456\n', + []), + ('sha512', + 'any', + 'sha512 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678' + '9012345678\n', + []), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', HashType) +def test_HashType(testname, filename, string, expected): + warnings = util.check_file(m.HashType, filename, string) + assert warnings == expected + + +HashSpaces = [ + ('ignore empty files', + 'any', + '', + []), + ('ignore 1 field', + 'any', + 'text\n', + []), + ('ignore comments', + 'any', + '# type 1234567890123456789012345678901234567890 file\n', + []), + ('ignore trailing space', + 'any', + 'type 1234567890123456789012345678901234567890 file\t \n', + []), + ('2 spaces', + 'any', + 'type 1234567890123456789012345678901234567890 file\n', + []), + ('1 space', + 'any', + 'type 1234567890123456789012345678901234567890 file\n', + [['any:1: separation does not match expectation (url#adding-packages-hash)', + 'type 1234567890123456789012345678901234567890 file\n']]), + ('3 spaces', + 'any', + 'type 1234567890123456789012345678901234567890 file\n', + [['any:1: separation does not match expectation (url#adding-packages-hash)', + 'type 1234567890123456789012345678901234567890 file\n']]), + ('tabs', + 'any', + 'type\t1234567890123456789012345678901234567890\tfile\n', + [['any:1: separation does not match expectation (url#adding-packages-hash)', + 'type\t1234567890123456789012345678901234567890\tfile\n']]), + ('mixed tabs and spaces', + 'any', + 'type\t 1234567890123456789012345678901234567890 \tfile\n', + [['any:1: separation does not match expectation (url#adding-packages-hash)', + 'type\t 1234567890123456789012345678901234567890 \tfile\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', HashSpaces) +def test_HashSpaces(testname, filename, string, expected): + warnings = util.check_file(m.HashSpaces, filename, string) + assert warnings == expected diff --git a/buildroot-2022.02.1/utils/checkpackagelib/test_lib_mk.py b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_mk.py new file mode 100644 index 00000000..49fa216f --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_mk.py @@ -0,0 +1,590 @@ +import pytest +import checkpackagelib.test_util as util +import checkpackagelib.lib_mk as m + + +Indent = [ + ('ignore comment at beginning of line', + 'any', + '# very useful comment\n', + []), + ('ignore comment at end of line', + 'any', + ' # very useful comment\n', + []), + ('do not indent on conditional (good)', + 'any', + 'ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)\n' + 'FOO_CONF_OPTS += something\n' + 'endef\n', + []), + ('do not indent on conditional (bad)', + 'any', + 'ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)\n' + '\tFOO_CONF_OPTS += something\n' + 'endef\n', + [['any:2: unexpected indent with tabs', + '\tFOO_CONF_OPTS += something\n']]), + ('indent after line that ends in backslash (good)', + 'any', + 'FOO_CONF_OPTS += \\\n' + '\tsomething\n', + []), + ('indent after line that ends in backslash (bad)', + 'any', + 'FOO_CONF_OPTS += \\\n' + 'something\n', + [['any:2: expected indent with tabs', + 'something\n']]), + ('indent after 2 lines that ends in backslash (good)', + 'any', + 'FOO_CONF_OPTS += \\\n' + '\tsomething \\\n' + '\tsomething_else\n', + []), + ('indent after 2 lines that ends in backslash (bad)', + 'any', + 'FOO_CONF_OPTS += \\\n' + '\tsomething \\\n' + '\tsomething_else \\\n' + 'FOO_CONF_OPTS += another_thing\n', + [['any:4: expected indent with tabs', + 'FOO_CONF_OPTS += another_thing\n']]), + ('indent inside define (good)', + 'any', + 'define FOO_SOMETHING\n' + '\tcommand\n' + '\tcommand \\\n' + '\t\targuments\n' + 'endef\n' + 'FOO_POST_PATCH_HOOKS += FOO_SOMETHING\n', + []), + ('indent inside define (bad, no indent)', + 'any', + 'define FOO_SOMETHING\n' + 'command\n' + 'endef\n', + [['any:2: expected indent with tabs', + 'command\n']]), + ('indent inside define (bad, spaces)', + 'any', + 'define FOO_SOMETHING\n' + ' command\n' + 'endef\n', + [['any:2: expected indent with tabs', + ' command\n']]), + ('indent make target (good)', + 'any', + 'make_target:\n' + '\tcommand\n' + '\n', + []), + ('indent make target (bad)', + 'any', + 'make_target:\n' + ' command\n' + '\n', + [['any:2: expected indent with tabs', + ' command\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', Indent) +def test_Indent(testname, filename, string, expected): + warnings = util.check_file(m.Indent, filename, string) + assert warnings == expected + + +OverriddenVariable = [ + ('simple assignment', + 'any.mk', + 'VAR_1 = VALUE1\n', + []), + ('unconditional override (variable without underscore)', + 'any.mk', + 'VAR1 = VALUE1\n' + 'VAR1 = VALUE1\n', + [['any.mk:2: unconditional override of variable VAR1', + 'VAR1 = VALUE1\n']]), + ('unconditional override (variable with underscore, same value)', + 'any.mk', + 'VAR_1 = VALUE1\n' + 'VAR_1 = VALUE1\n', + [['any.mk:2: unconditional override of variable VAR_1', + 'VAR_1 = VALUE1\n']]), + ('unconditional override (variable with underscore, different value)', + 'any.mk', + 'VAR_1 = VALUE1\n' + 'VAR_1 = VALUE2\n', + [['any.mk:2: unconditional override of variable VAR_1', + 'VAR_1 = VALUE2\n']]), + ('warn for unconditional override even with wrong number of spaces', + 'any.mk', + 'VAR_1= VALUE1\n' + 'VAR_1 =VALUE2\n', + [['any.mk:2: unconditional override of variable VAR_1', + 'VAR_1 =VALUE2\n']]), + ('warn for := override', + 'any.mk', + 'VAR_1 = VALUE1\n' + 'VAR_1 := VALUE2\n', + [['any.mk:2: unconditional override of variable VAR_1', + 'VAR_1 := VALUE2\n']]), + ('append values outside conditional (good)', + 'any.mk', + 'VAR_1 = VALUE1\n' + 'VAR_1 += VALUE2\n', + []), + ('append values outside conditional (bad)', + 'any.mk', + 'VAR_1 = VALUE1\n' + 'VAR_1 := $(VAR_1), VALUE2\n', + [['any.mk:2: unconditional override of variable VAR_1', + 'VAR_1 := $(VAR_1), VALUE2\n']]), + ('immediate assignment inside conditional', + 'any.mk', + 'VAR_1 = VALUE1\n' + 'ifeq (condition)\n' + 'VAR_1 := $(VAR_1), VALUE2\n', + [['any.mk:3: immediate assignment to append to variable VAR_1', + 'VAR_1 := $(VAR_1), VALUE2\n']]), + ('immediate assignment inside conditional and unconditional override outside', + 'any.mk', + 'VAR_1 = VALUE1\n' + 'ifeq (condition)\n' + 'VAR_1 := $(VAR_1), VALUE2\n' + 'endif\n' + 'VAR_1 := $(VAR_1), VALUE2\n', + [['any.mk:3: immediate assignment to append to variable VAR_1', + 'VAR_1 := $(VAR_1), VALUE2\n'], + ['any.mk:5: unconditional override of variable VAR_1', + 'VAR_1 := $(VAR_1), VALUE2\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', OverriddenVariable) +def test_OverriddenVariable(testname, filename, string, expected): + warnings = util.check_file(m.OverriddenVariable, filename, string) + assert warnings == expected + + +PackageHeader = [ + ('first line (good)', + 'any', + 80 * '#' + '\n', + []), + ('first line (bad)', + 'any', + '# very useful comment\n', + [['any:1: should be 80 hashes (url#writing-rules-mk)', + '# very useful comment\n', + 80 * '#']]), + ('second line (bad)', + 'any', + 80 * '#' + '\n' + '# package\n', + [['any:2: should be 1 hash (url#writing-rules-mk)', + '# package\n']]), + ('full header (good)', + 'any', + 80 * '#' + '\n' + '#\n' + '# package\n' + '#\n' + + 80 * '#' + '\n' + '\n', + []), + ('blank line after header (good)', + 'any', + 80 * '#' + '\n' + '#\n' + '# package\n' + '#\n' + + 80 * '#' + '\n' + '\n' + 'FOO_VERSION = 1\n', + []), + ('blank line after header (bad)', + 'any', + 80 * '#' + '\n' + '#\n' + '# package\n' + '#\n' + + 80 * '#' + '\n' + 'FOO_VERSION = 1\n', + [['any:6: should be a blank line (url#writing-rules-mk)', + 'FOO_VERSION = 1\n']]), + ('wrong number of hashes', + 'any', + 79 * '#' + '\n' + '#\n' + '# package\n' + '#\n' + + 81 * '#' + '\n' + '\n', + [['any:1: should be 80 hashes (url#writing-rules-mk)', + 79 * '#' + '\n', + 80 * '#'], + ['any:5: should be 80 hashes (url#writing-rules-mk)', + 81 * '#' + '\n', + 80 * '#']]), + ('allow include without header', + 'any', + 'include $(sort $(wildcard package/foo/*/*.mk))\n', + []), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', PackageHeader) +def test_PackageHeader(testname, filename, string, expected): + warnings = util.check_file(m.PackageHeader, filename, string) + assert warnings == expected + + +RemoveDefaultPackageSourceVariable = [ + ('bad', + 'any.mk', + 'ANY_SOURCE = any-$(ANY_VERSION).tar.gz\n', + [['any.mk:1: remove default value of _SOURCE variable (url#generic-package-reference)', + 'ANY_SOURCE = any-$(ANY_VERSION).tar.gz\n']]), + ('bad with path', + './any.mk', + 'ANY_SOURCE = any-$(ANY_VERSION).tar.gz\n', + [['./any.mk:1: remove default value of _SOURCE variable (url#generic-package-reference)', + 'ANY_SOURCE = any-$(ANY_VERSION).tar.gz\n']]), + ('warn for correct line', + './any.mk', + '\n' + '\n' + '\n' + 'ANY_SOURCE = any-$(ANY_VERSION).tar.gz\n', + [['./any.mk:4: remove default value of _SOURCE variable (url#generic-package-reference)', + 'ANY_SOURCE = any-$(ANY_VERSION).tar.gz\n']]), + ('warn ignoring missing spaces', + './any.mk', + 'ANY_SOURCE=any-$(ANY_VERSION).tar.gz\n', + [['./any.mk:1: remove default value of _SOURCE variable (url#generic-package-reference)', + 'ANY_SOURCE=any-$(ANY_VERSION).tar.gz\n']]), + ('good', + './any.mk', + 'ANY_SOURCE = aNy-$(ANY_VERSION).tar.gz\n', + []), + ('gcc exception', + 'gcc.mk', + 'GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz\n', + []), + ('binutils exception', + './binutils.mk', + 'BINUTILS_SOURCE = binutils-$(BINUTILS_VERSION).tar.gz\n', + []), + ('gdb exception', + 'gdb/gdb.mk', + 'GDB_SOURCE = gdb-$(GDB_VERSION).tar.gz\n', + []), + ('package name with dash', + 'python-subprocess32.mk', + 'PYTHON_SUBPROCESS32_SOURCE = python-subprocess32-$(PYTHON_SUBPROCESS32_VERSION).tar.gz\n', + [['python-subprocess32.mk:1: remove default value of _SOURCE variable (url#generic-package-reference)', + 'PYTHON_SUBPROCESS32_SOURCE = python-subprocess32-$(PYTHON_SUBPROCESS32_VERSION).tar.gz\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', RemoveDefaultPackageSourceVariable) +def test_RemoveDefaultPackageSourceVariable(testname, filename, string, expected): + warnings = util.check_file(m.RemoveDefaultPackageSourceVariable, filename, string) + assert warnings == expected + + +SpaceBeforeBackslash = [ + ('no backslash', + 'any.mk', + '\n', + []), + ('ignore missing indent', + 'any.mk', + 'define ANY_SOME_FIXUP\n' + 'for i in $$(find $(STAGING_DIR)/usr/lib* -name "any*.la"); do \\\n', + []), + ('ignore missing space', + 'any.mk', + 'ANY_CONF_ENV= \\\n' + '\tap_cv_void_ptr_lt_long=no \\\n', + []), + ('variable', + 'any.mk', + '\n' + 'ANY = \\\n', + []), + ('2 spaces', + 'any.mk', + 'ANY = \\\n', + [['any.mk:1: use only one space before backslash', + 'ANY = \\\n']]), + ('warn about correct line', + 'any.mk', + '\n' + 'ANY = \\\n', + [['any.mk:2: use only one space before backslash', + 'ANY = \\\n']]), + ('tab', + 'any.mk', + 'ANY =\t\\\n', + [['any.mk:1: use only one space before backslash', + 'ANY =\t\\\n']]), + ('tabs', + 'any.mk', + 'ANY =\t\t\\\n', + [['any.mk:1: use only one space before backslash', + 'ANY =\t\t\\\n']]), + ('spaces and tabs', + 'any.mk', + 'ANY = \t\t\\\n', + [['any.mk:1: use only one space before backslash', + 'ANY = \t\t\\\n']]), + ('mixed spaces and tabs 1', + 'any.mk', + 'ANY = \t \t\\\n', + [['any.mk:1: use only one space before backslash', + 'ANY = \t \t\\\n']]), + ('mixed spaces and tabs 2', + 'any.mk', + 'ANY = \t \\\n', + [['any.mk:1: use only one space before backslash', + 'ANY = \t \\\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', SpaceBeforeBackslash) +def test_SpaceBeforeBackslash(testname, filename, string, expected): + warnings = util.check_file(m.SpaceBeforeBackslash, filename, string) + assert warnings == expected + + +TrailingBackslash = [ + ('no backslash', + 'any.mk', + 'ANY = \n', + []), + ('one line', + 'any.mk', + 'ANY = \\\n', + []), + ('2 lines', + 'any.mk', + 'ANY = \\\n' + '\\\n', + []), + ('empty line after', + 'any.mk', + 'ANY = \\\n' + '\n', + [['any.mk:1: remove trailing backslash', + 'ANY = \\\n']]), + ('line with spaces after', + 'any.mk', + 'ANY = \\\n' + ' \n', + [['any.mk:1: remove trailing backslash', + 'ANY = \\\n']]), + ('line with tabs after', + 'any.mk', + 'ANY = \\\n' + '\t\n', + [['any.mk:1: remove trailing backslash', + 'ANY = \\\n']]), + ('ignore if commented', + 'any.mk', + '# ANY = \\\n' + '\n', + []), + ('real example', + 'any.mk', + 'ANY_CONF_ENV= \t\\\n' + '\tap_cv_void_ptr_lt_long=no \\\n' + '\n', + [['any.mk:2: remove trailing backslash', + '\tap_cv_void_ptr_lt_long=no \\\n']]), + ('ignore whitespace 1', + 'any.mk', + 'ANY = \t\t\\\n', + []), + ('ignore whitespace 2', + 'any.mk', + 'ANY = \t \t\\\n', + []), + ('ignore whitespace 3', + 'any.mk', + 'ANY = \t \\\n', + []), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', TrailingBackslash) +def test_TrailingBackslash(testname, filename, string, expected): + warnings = util.check_file(m.TrailingBackslash, filename, string) + assert warnings == expected + + +TypoInPackageVariable = [ + ('good', + 'any.mk', + 'ANY_VAR = \n', + []), + ('good with path 1', + './any.mk', + 'ANY_VAR += \n', + []), + ('good with path 2', + 'any/any.mk', + 'ANY_VAR = \n', + []), + ('bad =', + 'any.mk', + 'OTHER_VAR = \n', + [['any.mk:1: possible typo: OTHER_VAR -> *ANY*', + 'OTHER_VAR = \n']]), + ('bad +=', + 'any.mk', + 'OTHER_VAR += \n', + [['any.mk:1: possible typo: OTHER_VAR -> *ANY*', + 'OTHER_VAR += \n']]), + ('ignore missing space', + 'any.mk', + 'OTHER_VAR= \n', + [['any.mk:1: possible typo: OTHER_VAR -> *ANY*', + 'OTHER_VAR= \n']]), + ('use path in the warning', + './any.mk', + 'OTHER_VAR = \n', + [['./any.mk:1: possible typo: OTHER_VAR -> *ANY*', + 'OTHER_VAR = \n']]), + ('another name', + 'other.mk', + 'ANY_VAR = \n', + [['other.mk:1: possible typo: ANY_VAR -> *OTHER*', + 'ANY_VAR = \n']]), + ('libc exception', + './any.mk', + 'BR_LIBC = \n', + []), + ('rootfs exception', + 'any.mk', + 'ROOTFS_ANY_VAR += \n', + []), + ('host (good)', + 'any.mk', + 'HOST_ANY_VAR += \n', + []), + ('host (bad)', + 'any.mk', + 'HOST_OTHER_VAR = \n', + [['any.mk:1: possible typo: HOST_OTHER_VAR -> *ANY*', + 'HOST_OTHER_VAR = \n']]), + ('provides', + 'any.mk', + 'ANY_PROVIDES = other thing\n' + 'OTHER_VAR = \n', + []), + ('ignore space', + 'any.mk', + 'ANY_PROVIDES = thing other \n' + 'OTHER_VAR = \n', + []), + ('wrong provides', + 'any.mk', + 'ANY_PROVIDES = other\n' + 'OTHERS_VAR = \n', + [['any.mk:2: possible typo: OTHERS_VAR -> *ANY*', + 'OTHERS_VAR = \n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', TypoInPackageVariable) +def test_TypoInPackageVariable(testname, filename, string, expected): + warnings = util.check_file(m.TypoInPackageVariable, filename, string) + assert warnings == expected + + +UselessFlag = [ + ('autoreconf no', + 'any.mk', + 'ANY_AUTORECONF=NO\n', + [['any.mk:1: useless default value (url#_infrastructure_for_autotools_based_packages)', + 'ANY_AUTORECONF=NO\n']]), + ('host autoreconf no', + 'any.mk', + 'HOST_ANY_AUTORECONF\n', + []), + ('autoreconf yes', + 'any.mk', + 'ANY_AUTORECONF=YES\n', + []), + ('libtool_patch yes', + 'any.mk', + 'ANY_LIBTOOL_PATCH\t= YES\n', + [['any.mk:1: useless default value (url#_infrastructure_for_autotools_based_packages)', + 'ANY_LIBTOOL_PATCH\t= YES\n']]), + ('libtool_patch no', + 'any.mk', + 'ANY_LIBTOOL_PATCH= \t NO\n', + []), + ('generic', + 'any.mk', + 'ANY_INSTALL_IMAGES = NO\n' + 'ANY_INSTALL_REDISTRIBUTE = YES\n' + 'ANY_INSTALL_STAGING = NO\n' + 'ANY_INSTALL_TARGET = YES\n', + [['any.mk:1: useless default value (url#_infrastructure_for_packages_with_specific_build_systems)', + 'ANY_INSTALL_IMAGES = NO\n'], + ['any.mk:2: useless default value (url#_infrastructure_for_packages_with_specific_build_systems)', + 'ANY_INSTALL_REDISTRIBUTE = YES\n'], + ['any.mk:3: useless default value (url#_infrastructure_for_packages_with_specific_build_systems)', + 'ANY_INSTALL_STAGING = NO\n'], + ['any.mk:4: useless default value (url#_infrastructure_for_packages_with_specific_build_systems)', + 'ANY_INSTALL_TARGET = YES\n']]), + ('conditional', + 'any.mk', + 'ifneq (condition)\n' + 'ANY_INSTALL_IMAGES = NO\n' + 'endif\n' + 'ANY_INSTALL_REDISTRIBUTE = YES\n', + [['any.mk:4: useless default value (url#_infrastructure_for_packages_with_specific_build_systems)', + 'ANY_INSTALL_REDISTRIBUTE = YES\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', UselessFlag) +def test_UselessFlag(testname, filename, string, expected): + warnings = util.check_file(m.UselessFlag, filename, string) + assert warnings == expected + + +VariableWithBraces = [ + ('good', + 'xmlstarlet.mk', + 'XMLSTARLET_CONF_OPTS += \\\n' + '\t--with-libxml-prefix=$(STAGING_DIR)/usr \\\n', + []), + ('bad', + 'xmlstarlet.mk', + 'XMLSTARLET_CONF_OPTS += \\\n' + '\t--with-libxml-prefix=${STAGING_DIR}/usr \\\n', + [['xmlstarlet.mk:2: use $() to delimit variables, not ${}', + '\t--with-libxml-prefix=${STAGING_DIR}/usr \\\n']]), + ('expanded by the shell', + 'sg3_utils.mk', + '\tfor prog in xcopy zone; do \\\n' + '\t\t$(RM) $(TARGET_DIR)/usr/bin/sg_$${prog} ; \\\n' + '\tdone\n', + []), + ('comments', + 'any.mk', + '#\t--with-libxml-prefix=${STAGING_DIR}/usr \\\n', + []), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', VariableWithBraces) +def test_VariableWithBraces(testname, filename, string, expected): + warnings = util.check_file(m.VariableWithBraces, filename, string) + assert warnings == expected diff --git a/buildroot-2022.02.1/utils/checkpackagelib/test_lib_patch.py b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_patch.py new file mode 100644 index 00000000..3b6fadf3 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_patch.py @@ -0,0 +1,96 @@ +import pytest +import checkpackagelib.test_util as util +import checkpackagelib.lib_patch as m + + +ApplyOrder = [ + ('standard', # catches https://bugs.busybox.net/show_bug.cgi?id=11271 + '0001-description.patch', + '', + []), + ('standard with path', + 'path/0001-description.patch', + '', + []), + ('acceptable format', + '1-description.patch', + '', + []), + ('acceptable format with path', + 'path/1-description.patch', + '', + []), + ('old format', + 'package-0001-description.patch', + '', + [['package-0001-description.patch:0: use name -.patch (url#_providing_patches)']]), + ('old format with path', + 'path/package-0001-description.patch', + '', + [['path/package-0001-description.patch:0: use name -.patch (url#_providing_patches)']]), + ('missing number', + 'description.patch', + '', + [['description.patch:0: use name -.patch (url#_providing_patches)']]), + ('missing number with path', + 'path/description.patch', + '', + [['path/description.patch:0: use name -.patch (url#_providing_patches)']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', ApplyOrder) +def test_ApplyOrder(testname, filename, string, expected): + warnings = util.check_file(m.ApplyOrder, filename, string) + assert warnings == expected + + +NumberedSubject = [ + ('no subject', + 'patch', + '', + []), + ('acceptable because it is not a git patch', + 'patch', + 'Subject: [PATCH 24/105] text\n', + []), + ('good', + 'patch', + 'Subject: [PATCH] text\n' + 'diff --git a/configure.ac b/configure.ac\n', + []), + ('bad', + 'patch', + 'Subject: [PATCH 24/105] text\n' + 'diff --git a/configure.ac b/configure.ac\n', + [["patch:1: generate your patches with 'git format-patch -N'", + 'Subject: [PATCH 24/105] text\n']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', NumberedSubject) +def test_NumberedSubject(testname, filename, string, expected): + warnings = util.check_file(m.NumberedSubject, filename, string) + assert warnings == expected + + +Sob = [ + ('good', + 'patch', + 'Signed-off-by: John Doe \n', + []), + ('empty', + 'patch', + '', + [['patch:0: missing Signed-off-by in the header (url#_format_and_licensing_of_the_package_patches)']]), + ('bad', + 'patch', + 'Subject: [PATCH 24/105] text\n', + [['patch:0: missing Signed-off-by in the header (url#_format_and_licensing_of_the_package_patches)']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', Sob) +def test_Sob(testname, filename, string, expected): + warnings = util.check_file(m.Sob, filename, string) + assert warnings == expected diff --git a/buildroot-2022.02.1/utils/checkpackagelib/test_lib_sysv.py b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_sysv.py new file mode 100644 index 00000000..9ae84059 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/test_lib_sysv.py @@ -0,0 +1,131 @@ +import os +import pytest +import re +import tempfile +import checkpackagelib.test_util as util +import checkpackagelib.lib_sysv as m +from checkpackagelib.test_tool import check_file as tool_check_file + +workdir = os.path.join(tempfile.mkdtemp(suffix='-checkpackagelib-test-sysv')) +workdir_regex = re.compile(r'/tmp/tmp[^/]*-checkpackagelib-test-sysv') + + +Indent = [ + ('empty file', + 'any', + '', + []), + ('empty line', + 'any', + '\n', + []), + ('ignore whitespace', + 'any', + ' \n', + []), + ('spaces', + 'any', + 'case "$1" in\n' + ' start)', + [['any:2: should be indented with tabs (url#adding-packages-start-script)', + ' start)']]), + ('tab', + 'any', + 'case "$1" in\n' + '\tstart)', + []), + ('tabs and spaces', + 'any', + 'case "$1" in\n' + '\t start)', + [['any:2: should be indented with tabs (url#adding-packages-start-script)', + '\t start)']]), + ('spaces and tabs', + 'any', + 'case "$1" in\n' + ' \tstart)', + [['any:2: should be indented with tabs (url#adding-packages-start-script)', + ' \tstart)']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', Indent) +def test_Indent(testname, filename, string, expected): + warnings = util.check_file(m.Indent, filename, string) + assert warnings == expected + + +NotExecutable = [ + ('SysV', + 'sh-shebang.sh', + 0o775, + '#!/bin/sh', + ["dir/sh-shebang.sh:0: This file does not need to be executable," + " just make sure you use '$(INSTALL) -D -m 0755' in the .mk file"]), + ] + + +@pytest.mark.parametrize('testname,filename,permissions,string,expected', NotExecutable) +def test_NotExecutable(testname, filename, permissions, string, expected): + warnings = tool_check_file(m.NotExecutable, filename, string, permissions) + assert warnings == expected + + +Variables = [ + ('empty file', + 'any', + '', + [['any:0: DAEMON variable not defined (url#adding-packages-start-script)']]), + ('daemon and pidfile ok', + 'package/busybox/S01syslogd', + 'DAEMON="syslogd"\n' + 'PIDFILE="/var/run/$DAEMON.pid"\n', + []), + ('wrong filename', + 'package/busybox/S01syslog', + 'DAEMON="syslogd"\n' + 'PIDFILE="/var/run/${DAEMON}.pid"\n', + [['package/busybox/S01syslog:0: filename should be S (url#adding-packages-start-script)', + 'expecting Ssyslogd']]), + ('no pidfile ok', + 'S99something', + 'DAEMON="something"\n', + []), + ('hardcoded pidfile', + 'S99something', + 'DAEMON="something"\n' + 'PIDFILE="/var/run/something.pid"\n', + [['S99something:2: Incorrect PIDFILE value (url#adding-packages-start-script)', + 'PIDFILE="/var/run/something.pid"\n', + 'PIDFILE="/var/run/$DAEMON.pid"']]), + ('redefined daemon', + 'S50any', + 'DAEMON="any"\n' + 'DAEMON="other"\n', + [['S50any:2: DAEMON variable redefined (url#adding-packages-start-script)', + 'DAEMON="other"\n']]), + ('daemon name with dash', + 'S82cups-browsed', + 'DAEMON="cups-browsed"', + []), + ('daemon with path', + 'S50avahi-daemon', + 'DAEMON=/usr/sbin/avahi-daemon', + [['S50avahi-daemon:1: Do not include path in DAEMON (url#adding-packages-start-script)', + 'DAEMON=/usr/sbin/avahi-daemon', + 'DAEMON="avahi-daemon"']]), + ('daemon with path and wrong filename', + 'S50avahi', + 'DAEMON=/usr/sbin/avahi-daemon', + [['S50avahi:1: Do not include path in DAEMON (url#adding-packages-start-script)', + 'DAEMON=/usr/sbin/avahi-daemon', + 'DAEMON="avahi-daemon"'], + ['S50avahi:0: filename should be S (url#adding-packages-start-script)', + 'expecting Savahi-daemon']]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', Variables) +def test_Variables(testname, filename, string, expected): + warnings = util.check_file(m.Variables, filename, string) + assert warnings == expected diff --git a/buildroot-2022.02.1/utils/checkpackagelib/test_tool.py b/buildroot-2022.02.1/utils/checkpackagelib/test_tool.py new file mode 100644 index 00000000..a0bf8800 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/test_tool.py @@ -0,0 +1,112 @@ +import os +import pytest +import re +import tempfile +import checkpackagelib.tool as m + +workdir_regex = re.compile(r'/tmp/tmp[^/]*-checkpackagelib-test-tool') + + +def check_file(tool, filename, string, permissions=None): + with tempfile.TemporaryDirectory(suffix='-checkpackagelib-test-tool') as workdir: + script = os.path.join(workdir, filename) + with open(script, 'wb') as f: + f.write(string.encode()) + if permissions: + os.chmod(script, permissions) + obj = tool(script) + result = obj.run() + if result is None: + return [] + return [workdir_regex.sub('dir', r) for r in result] + + +NotExecutable = [ + ('664', + 'package.mk', + 0o664, + '', + []), + ('775', + 'package.mk', + 0o775, + '', + ["dir/package.mk:0: This file does not need to be executable"]), + ] + + +@pytest.mark.parametrize('testname,filename,permissions,string,expected', NotExecutable) +def test_NotExecutable(testname, filename, permissions, string, expected): + warnings = check_file(m.NotExecutable, filename, string, permissions) + assert warnings == expected + + +NotExecutable_hint = [ + ('no hint', + "", + 'sh-shebang.sh', + 0o775, + '#!/bin/sh', + ["dir/sh-shebang.sh:0: This file does not need to be executable"]), + ('hint', + ", very special hint", + 'sh-shebang.sh', + 0o775, + '#!/bin/sh', + ["dir/sh-shebang.sh:0: This file does not need to be executable, very special hint"]), + ] + + +@pytest.mark.parametrize('testname,hint,filename,permissions,string,expected', NotExecutable_hint) +def test_NotExecutable_hint(testname, hint, filename, permissions, string, expected): + class NotExecutable(m.NotExecutable): + def hint(self): + return hint + warnings = check_file(NotExecutable, filename, string, permissions) + assert warnings == expected + + +Shellcheck = [ + ('missing shebang', + 'empty.sh', + '', + ["dir/empty.sh:0: run 'shellcheck' and fix the warnings", + "In dir/empty.sh line 1:\n" + "^-- SC2148: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.\n" + "For more information:\n" + " https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y..."]), + ('sh shebang', + 'sh-shebang.sh', + '#!/bin/sh', + []), + ('bash shebang', + 'bash-shebang.sh', + '#!/bin/bash', + []), + ('2 warnings', + 'unused.sh', + 'unused=""', + ["dir/unused.sh:0: run 'shellcheck' and fix the warnings", + "In dir/unused.sh line 1:\n" + 'unused=""\n' + "^-- SC2148: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.\n" + "^----^ SC2034: unused appears unused. Verify use (or export if used externally).\n" + "For more information:\n" + " https://www.shellcheck.net/wiki/SC2148 -- Tips depend on target shell and y...\n" + " https://www.shellcheck.net/wiki/SC2034 -- unused appears unused. Verify use..."]), + ('tab', + 'tab.sh', + '\t#!/bin/sh', + ["dir/tab.sh:0: run 'shellcheck' and fix the warnings", + "In dir/tab.sh line 1:\n" + '\t#!/bin/sh\n' + "^-- SC1114: Remove leading spaces before the shebang.\n" + "For more information:\n" + " https://www.shellcheck.net/wiki/SC1114 -- Remove leading spaces before the ..."]), + ] + + +@pytest.mark.parametrize('testname,filename,string,expected', Shellcheck) +def test_Shellcheck(testname, filename, string, expected): + warnings = check_file(m.Shellcheck, filename, string) + assert warnings == expected diff --git a/buildroot-2022.02.1/utils/checkpackagelib/test_util.py b/buildroot-2022.02.1/utils/checkpackagelib/test_util.py new file mode 100644 index 00000000..23f2995e --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/test_util.py @@ -0,0 +1,8 @@ +def check_file(check_function, filename, string): + obj = check_function(filename, 'url') + result = [] + result.append(obj.before()) + for i, line in enumerate(string.splitlines(True)): + result.append(obj.check_line(i + 1, line)) + result.append(obj.after()) + return [r for r in result if r is not None] diff --git a/buildroot-2022.02.1/utils/checkpackagelib/tool.py b/buildroot-2022.02.1/utils/checkpackagelib/tool.py new file mode 100644 index 00000000..e719fdd4 --- /dev/null +++ b/buildroot-2022.02.1/utils/checkpackagelib/tool.py @@ -0,0 +1,24 @@ +import os +import subprocess +from checkpackagelib.base import _Tool + + +class NotExecutable(_Tool): + def run(self): + if os.access(self.filename, os.X_OK): + return ["{}:0: This file does not need to be executable{}".format(self.filename, self.hint())] + + +class Shellcheck(_Tool): + def run(self): + cmd = ['shellcheck', self.filename] + try: + p = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + stdout = p.communicate()[0] + processed_output = [str(line.decode().rstrip()) for line in stdout.splitlines() if line] + if p.returncode == 0: + return + return ["{}:0: run 'shellcheck' and fix the warnings".format(self.filename), + '\n'.join(processed_output)] + except FileNotFoundError: + return ["{}:0: failed to call 'shellcheck'".format(self.filename)] diff --git a/buildroot-2021.05/utils/config b/buildroot-2022.02.1/utils/config similarity index 100% rename from buildroot-2021.05/utils/config rename to buildroot-2022.02.1/utils/config diff --git a/buildroot-2022.02.1/utils/diffconfig b/buildroot-2022.02.1/utils/diffconfig new file mode 100755 index 00000000..f490c557 --- /dev/null +++ b/buildroot-2022.02.1/utils/diffconfig @@ -0,0 +1,138 @@ +#!/usr/bin/env python3 +# +# diffconfig - a tool to compare .config files. +# +# originally written in 2006 by Matt Mackall +# (at least, this was in his bloatwatch source code) +# last worked on 2008 by Tim Bird for the Linux kernel +# Adapted to Buildroot 2017 by Marcus Folkesson +# + +import sys, os + +def usage(): + print("""Usage: diffconfig [-h] [-m] [ ] + +Diffconfig is a simple utility for comparing two .config files. +Using standard diff to compare .config files often includes extraneous and +distracting information. This utility produces sorted output with only the +changes in configuration values between the two files. + +Added and removed items are shown with a leading plus or minus, respectively. +Changed items show the old and new values on a single line. + +If -m is specified, then output will be in "merge" style, which has the +changed and new values in kernel config option format. + +If no config files are specified, .config and .config.old are used. + +Example usage: + $ diffconfig .config config-with-some-changes +-BR2_LINUX_KERNEL_INTREE_DTS_NAME "vexpress-v2p-ca9" + BR2_LINUX_KERNEL_DTS_SUPPORT y -> n + BR2_LINUX_KERNEL_USE_INTREE_DTS y -> n + BR2_PACKAGE_DFU_UTIL n -> y + BR2_PACKAGE_LIBUSB n -> y + BR2_TARGET_GENERIC_HOSTNAME "buildroot" -> "Tuxie" + BR2_TARGET_GENERIC_ISSUE "Welcome to Buildroot" -> "Welcome to CustomBoard" ++BR2_PACKAGE_LIBUSB_COMPAT n + +""") + sys.exit(0) + +# returns a dictionary of name/value pairs for config items in the file +def readconfig(config_file): + d = {} + for line in config_file: + line = line.strip() + if len(line) == 0: + continue + if line[-11:] == " is not set": + d[line[2:-11]] = "n" + elif line[0] != "#": + name, val = line.split("=", 1) + d[name] = val + return d + +def print_config(op, config, value, new_value): + global merge_style + + if merge_style: + if new_value: + if new_value=="n": + print("# %s is not set" % config) + else: + print("%s=%s" % (config, new_value)) + else: + if op=="-": + print("-%s %s" % (config, value)) + elif op=="+": + print("+%s %s" % (config, new_value)) + else: + print(" %s %s -> %s" % (config, value, new_value)) + +def main(): + global merge_style + + # parse command line args + if ("-h" in sys.argv or "--help" in sys.argv): + usage() + + merge_style = 0 + if "-m" in sys.argv: + merge_style = 1 + sys.argv.remove("-m") + + argc = len(sys.argv) + if not (argc==1 or argc == 3): + print("Error: incorrect number of arguments or unrecognized option") + usage() + + if argc == 1: + # if no filenames given, assume .config and .config.old + build_dir="" + if "KBUILD_OUTPUT" in os.environ: + build_dir = os.environ["KBUILD_OUTPUT"]+"/" + configa_filename = build_dir + ".config.old" + configb_filename = build_dir + ".config" + else: + configa_filename = sys.argv[1] + configb_filename = sys.argv[2] + + try: + a = readconfig(open(configa_filename)) + b = readconfig(open(configb_filename)) + except (IOError): + e = sys.exc_info()[1] + print("I/O error[%s]: %s\n" % (e.args[0],e.args[1])) + usage() + + # print items in a but not b (accumulate, sort and print) + old = [] + for config in a: + if config not in b: + old.append(config) + old.sort() + for config in old: + print_config("-", config, a[config], None) + del a[config] + + # print items that changed (accumulate, sort, and print) + changed = [] + for config in a: + if a[config] != b[config]: + changed.append(config) + else: + del b[config] + changed.sort() + for config in changed: + print_config("->", config, a[config], b[config]) + del b[config] + + # now print items in b but not in a + # (items from b that were in a were removed above) + new = sorted(b.keys()) + for config in new: + print_config("+", config, None, b[config]) + +main() diff --git a/buildroot-2022.02.1/utils/docker-run b/buildroot-2022.02.1/utils/docker-run new file mode 100755 index 00000000..56537642 --- /dev/null +++ b/buildroot-2022.02.1/utils/docker-run @@ -0,0 +1,13 @@ +#!/usr/bin/env bash +set -o errexit -o pipefail +DIR=$(dirname "${0}") +MAIN_DIR=$(readlink -f "${DIR}/..") +# shellcheck disable=SC2016 +IMAGE=$(grep ^image: "${MAIN_DIR}/.gitlab-ci.yml" | \ + sed -e 's,^image: ,,g' | sed -e 's,\$CI_REGISTRY,registry.gitlab.com,g') + +exec docker run -it --rm \ + --user $(id -u):$(id -g) \ + --mount "type=bind,src=${MAIN_DIR},dst=${MAIN_DIR}" \ + --workdir "${MAIN_DIR}" \ + "${IMAGE}" "${@}" diff --git a/buildroot-2022.02.1/utils/genrandconfig b/buildroot-2022.02.1/utils/genrandconfig new file mode 100755 index 00000000..3483d55c --- /dev/null +++ b/buildroot-2022.02.1/utils/genrandconfig @@ -0,0 +1,452 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2014 by Thomas Petazzoni +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +# This script generates a random configuration for testing Buildroot. + +import contextlib +import csv +import os +from random import randint +import subprocess +import sys +from distutils.version import StrictVersion +import platform + +if sys.hexversion >= 0x3000000: + import urllib.request as _urllib +else: + import urllib2 as _urllib + + +def urlopen_closing(uri): + return contextlib.closing(_urllib.urlopen(uri)) + + +class SystemInfo: + DEFAULT_NEEDED_PROGS = ["make", "git", "gcc", "timeout"] + DEFAULT_OPTIONAL_PROGS = ["bzr", "java", "javac", "jar", "diffoscope"] + + def __init__(self): + self.needed_progs = list(self.__class__.DEFAULT_NEEDED_PROGS) + self.optional_progs = list(self.__class__.DEFAULT_OPTIONAL_PROGS) + self.progs = {} + + def find_prog(self, name, flags=os.X_OK, env=os.environ): + if not name or name[0] == os.sep: + raise ValueError(name) + + prog_path = env.get("PATH", None) + # for windows compatibility, we'd need to take PATHEXT into account + + if prog_path: + for prog_dir in filter(None, prog_path.split(os.pathsep)): + # os.join() not necessary: non-empty prog_dir + # and name[0] != os.sep + prog = prog_dir + os.sep + name + if os.access(prog, flags): + return prog + # -- + return None + + def has(self, prog): + """Checks whether a program is available. + Lazily evaluates missing entries. + + Returns: None if prog not found, else path to the program [evaluates + to True] + """ + try: + return self.progs[prog] + except KeyError: + pass + + have_it = self.find_prog(prog) + # java[c] needs special care + if have_it and prog in ('java', 'javac'): + with open(os.devnull, "w") as devnull: + if subprocess.call("%s -version | grep gcj" % prog, + shell=True, + stdout=devnull, stderr=devnull) != 1: + have_it = False + # -- + self.progs[prog] = have_it + return have_it + + def check_requirements(self): + """Checks program dependencies. + + Returns: True if all mandatory programs are present, else False. + """ + do_check_has_prog = self.has + + missing_requirements = False + for prog in self.needed_progs: + if not do_check_has_prog(prog): + print("ERROR: your system lacks the '%s' program" % prog) + missing_requirements = True + + # check optional programs here, + # else they'd get checked by each worker instance + for prog in self.optional_progs: + do_check_has_prog(prog) + + return not missing_requirements + + +def get_toolchain_configs(toolchains_csv, buildrootdir): + """Fetch and return the possible toolchain configurations + + This function returns an array of toolchain configurations. Each + toolchain configuration is itself an array of lines of the defconfig. + """ + + with open(toolchains_csv) as r: + # filter empty lines and comments + lines = [t for t in r.readlines() if len(t.strip()) > 0 and t[0] != '#'] + toolchains = lines + configs = [] + + (_, _, _, _, hostarch) = os.uname() + # ~2015 distros report x86 when on a 32bit install + if hostarch == 'i686' or hostarch == 'i386' or hostarch == 'x86': + hostarch = 'x86' + + for row in csv.reader(toolchains): + config = {} + configfile = row[0] + config_hostarch = row[1] + keep = False + + # Keep all toolchain configs that work regardless of the host + # architecture + if config_hostarch == "any": + keep = True + + # Keep all toolchain configs that can work on the current host + # architecture + if hostarch == config_hostarch: + keep = True + + # Assume that x86 32 bits toolchains work on x86_64 build + # machines + if hostarch == 'x86_64' and config_hostarch == "x86": + keep = True + + if not keep: + continue + + if not os.path.isabs(configfile): + configfile = os.path.join(buildrootdir, configfile) + + with open(configfile) as r: + config = r.readlines() + configs.append(config) + return configs + + +def is_toolchain_usable(configfile, config): + """Check if the toolchain is actually usable.""" + + with open(configfile) as configf: + configlines = configf.readlines() + + # Check that the toolchain configuration is still present + for toolchainline in config: + if toolchainline not in configlines: + print("WARN: toolchain can't be used", file=sys.stderr) + print(" Missing: %s" % toolchainline.strip(), file=sys.stderr) + return False + + # The latest Linaro toolchains on x86-64 hosts requires glibc + # 2.14+ on the host. + if platform.machine() == 'x86_64': + if 'BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM=y\n' in configlines or \ + 'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64=y\n' in configlines or \ + 'BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_BE=y\n' in configlines or \ + 'BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB=y\n' in configlines: + ldd_version_output = subprocess.check_output(['ldd', '--version']) + glibc_version = ldd_version_output.splitlines()[0].split()[-1] + if StrictVersion('2.14') > StrictVersion(glibc_version): + print("WARN: ignoring the Linaro ARM toolchains because too old host glibc", file=sys.stderr) + return False + + return True + + +def fixup_config(sysinfo, configfile): + """Finalize the configuration and reject any problematic combinations + + This function returns 'True' when the configuration has been + accepted, and 'False' when the configuration has not been accepted because + it is known to fail (in which case another random configuration will be + generated). + """ + + with open(configfile) as configf: + configlines = configf.readlines() + + BR2_TOOLCHAIN_EXTERNAL_URL = 'BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/' + + if "BR2_NEEDS_HOST_JAVA=y\n" in configlines and not sysinfo.has("java"): + return False + # The ctng toolchain is affected by PR58854 + if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'armv5-ctng-linux-gnueabi.tar.xz"\n' in configlines: + return False + # The ctng toolchain tigger an assembler error with guile package when compiled with -Os (same issue as for CS ARM 2014.05-29) + if 'BR2_PACKAGE_GUILE=y\n' in configlines and \ + 'BR2_OPTIMIZE_S=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'armv5-ctng-linux-gnueabi.tar.xz"\n' in configlines: + return False + # The ctng toolchain is affected by PR58854 + if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'armv6-ctng-linux-uclibcgnueabi.tar.xz"\n' in configlines: + return False + # The ctng toolchain is affected by PR58854 + if 'BR2_PACKAGE_LTTNG_TOOLS=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'armv7-ctng-linux-gnueabihf.tar.xz"\n' in configlines: + return False + # The ctng toolchain is affected by PR60155 + if 'BR2_PACKAGE_SDL=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'powerpc-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # The ctng toolchain is affected by PR60155 + if 'BR2_PACKAGE_LIBMPEG2=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'powerpc-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # This MIPS toolchain uses eglibc-2.18 which lacks SYS_getdents64 + if 'BR2_PACKAGE_STRONGSWAN=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: + return False + # This MIPS toolchain uses eglibc-2.18 which lacks SYS_getdents64 + if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: + return False + # libffi not available on sh2a and ARMv7-M, but propagating libffi + # arch dependencies in Buildroot is really too much work, so we + # handle this here. + if 'BR2_sh2a=y\n' in configlines and \ + 'BR2_PACKAGE_LIBFFI=y\n' in configlines: + return False + if 'BR2_ARM_CPU_ARMV7M=y\n' in configlines and \ + 'BR2_PACKAGE_LIBFFI=y\n' in configlines: + return False + if 'BR2_nds32=y\n' in configlines and \ + 'BR2_PACKAGE_LIBFFI=y\n' in configlines: + return False + if 'BR2_PACKAGE_SUNXI_BOARDS=y\n' in configlines: + configlines.remove('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE=""\n') + configlines.append('BR2_PACKAGE_SUNXI_BOARDS_FEX_FILE="a10/hackberry.fex"\n') + # This MIPS uClibc toolchain fails to build the gdb package + if 'BR2_PACKAGE_GDB=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # This MIPS uClibc toolchain fails to build the rt-tests package + if 'BR2_PACKAGE_RT_TESTS=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # This MIPS uClibc toolchain fails to build the civetweb package + if 'BR2_PACKAGE_CIVETWEB=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # This MIPS ctng toolchain fails to build the python3 package + if 'BR2_PACKAGE_PYTHON3=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mips64el-ctng_n64-linux-gnu.tar.xz"\n' in configlines: + return False + # This MIPS uClibc toolchain fails to build the strace package + if 'BR2_PACKAGE_STRACE=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # This MIPS uClibc toolchain fails to build the cdrkit package + if 'BR2_PACKAGE_CDRKIT=y\n' in configlines and \ + 'BR2_STATIC_LIBS=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # uClibc vfork static linking issue + if 'BR2_PACKAGE_ALSA_LIB=y\n' in configlines and \ + 'BR2_STATIC_LIBS=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'i486-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # This MIPS uClibc toolchain fails to build the weston package + if 'BR2_PACKAGE_WESTON=y\n' in configlines and \ + BR2_TOOLCHAIN_EXTERNAL_URL + 'mipsel-ctng-linux-uclibc.tar.xz"\n' in configlines: + return False + # The cs nios2 2017.02 toolchain is affected by binutils PR19405 + if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \ + 'BR2_PACKAGE_BOOST=y\n' in configlines: + return False + # The cs nios2 2017.02 toolchain is affected by binutils PR19405 + if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \ + 'BR2_PACKAGE_QT5BASE_GUI=y\n' in configlines: + return False + # The cs nios2 2017.02 toolchain is affected by binutils PR19405 + if 'BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII=y\n' in configlines and \ + 'BR2_PACKAGE_FLANN=y\n' in configlines: + return False + + if 'BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE=y\n' in configlines: + bootenv = os.path.join(args.outputdir, "boot_env.txt") + with open(bootenv, "w+") as bootenvf: + bootenvf.write("prop=value") + configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE=""\n') + configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SOURCE="%s"\n' % bootenv) + configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE=""\n') + configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_SIZE="0x1000"\n') + + if 'BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT=y\n' in configlines: + bootscr = os.path.join(args.outputdir, "boot_script.txt") + with open(bootscr, "w+") as bootscrf: + bootscrf.write("prop=value") + configlines.remove('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE=""\n') + configlines.append('BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_SOURCE="%s"\n' % bootscr) + + with open(configfile, "w+") as configf: + configf.writelines(configlines) + + return True + + +def gen_config(args): + """Generate a new random configuration + + This function generates the configuration, by choosing a random + toolchain configuration and then generating a random selection of + packages. + """ + + sysinfo = SystemInfo() + + # Select a random toolchain configuration + configs = get_toolchain_configs(args.toolchains_csv, args.buildrootdir) + + i = randint(0, len(configs) - 1) + toolchainconfig = configs[i] + + configlines = list(toolchainconfig) + + # Combine with the minimal configuration + minimalconfigfile = os.path.join(args.buildrootdir, + 'support/config-fragments/minimal.config') + with open(minimalconfigfile) as minimalf: + configlines += minimalf.readlines() + + # Allow hosts with old certificates to download over https + configlines.append("BR2_WGET=\"wget --passive-ftp -nd -t 3 --no-check-certificate\"\n") + + # Per-package folder + if randint(0, 15) == 0: + configlines.append("BR2_PER_PACKAGE_DIRECTORIES=y\n") + + # Amend the configuration with a few things. + if randint(0, 20) == 0: + configlines.append("BR2_ENABLE_DEBUG=y\n") + if randint(0, 20) == 0: + configlines.append("BR2_ENABLE_RUNTIME_DEBUG=y\n") + if randint(0, 1) == 0: + configlines.append("BR2_INIT_BUSYBOX=y\n") + elif randint(0, 15) == 0: + configlines.append("BR2_INIT_SYSTEMD=y\n") + elif randint(0, 10) == 0: + configlines.append("BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y\n") + if randint(0, 20) == 0: + configlines.append("BR2_STATIC_LIBS=y\n") + if randint(0, 20) == 0: + configlines.append("BR2_PACKAGE_PYTHON3_PY_ONLY=y\n") + if randint(0, 5) == 0: + configlines.append("BR2_OPTIMIZE_2=y\n") + if randint(0, 4) == 0: + configlines.append("BR2_SYSTEM_ENABLE_NLS=y\n") + if randint(0, 4) == 0: + configlines.append("BR2_FORTIFY_SOURCE_2=y\n") + + # Randomly enable BR2_REPRODUCIBLE 10% of times + # also enable tar filesystem images for testing + if sysinfo.has("diffoscope") and randint(0, 10) == 0: + configlines.append("BR2_REPRODUCIBLE=y\n") + configlines.append("BR2_TARGET_ROOTFS_TAR=y\n") + + # Write out the configuration file + if not os.path.exists(args.outputdir): + os.makedirs(args.outputdir) + if args.outputdir == os.path.abspath(os.path.join(args.buildrootdir, "output")): + configfile = os.path.join(args.buildrootdir, ".config") + else: + configfile = os.path.join(args.outputdir, ".config") + with open(configfile, "w+") as configf: + configf.writelines(configlines) + + subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "olddefconfig"]) + + if not is_toolchain_usable(configfile, toolchainconfig): + return 2 + + # Now, generate the random selection of packages, and fixup + # things if needed. + # Safe-guard, in case we can not quickly come to a valid + # configuration: allow at most 100 (arbitrary) iterations. + bounded_loop = 100 + while True: + if bounded_loop == 0: + print("ERROR: cannot generate random configuration after 100 iterations", + file=sys.stderr) + return 1 + bounded_loop -= 1 + subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "KCONFIG_PROBABILITY=%d" % randint(1, 20), + "randpackageconfig"]) + + if fixup_config(sysinfo, configfile): + break + + subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "olddefconfig"]) + + subprocess.check_call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "savedefconfig"]) + + return subprocess.call(["make", "O=%s" % args.outputdir, "-C", args.buildrootdir, + "dependencies"]) + + +if __name__ == '__main__': + import argparse + parser = argparse.ArgumentParser(description="Generate a random configuration") + parser.add_argument("--outputdir", "-o", + help="Output directory (relative to current directory)", + type=str, default='output') + parser.add_argument("--buildrootdir", "-b", + help="Buildroot directory (relative to current directory)", + type=str, default='.') + parser.add_argument("--toolchains-csv", + help="Path of the toolchain configuration file", + type=str, + default="support/config-fragments/autobuild/toolchain-configs.csv") + args = parser.parse_args() + + # We need the absolute path to use with O=, because the relative + # path to the output directory here is not relative to the + # Buildroot sources, but to the current directory. + args.outputdir = os.path.abspath(args.outputdir) + + try: + ret = gen_config(args) + except Exception as e: + print(str(e), file=sys.stderr) + parser.exit(1) + parser.exit(ret) diff --git a/buildroot-2022.02.1/utils/get-developers b/buildroot-2022.02.1/utils/get-developers new file mode 100755 index 00000000..22accaf1 --- /dev/null +++ b/buildroot-2022.02.1/utils/get-developers @@ -0,0 +1,105 @@ +#!/usr/bin/env python3 + +import argparse +import getdeveloperlib +import sys + + +def parse_args(): + parser = argparse.ArgumentParser() + parser.add_argument('patches', metavar='P', type=argparse.FileType('r'), nargs='*', + help='list of patches (use - to read patches from stdin)') + parser.add_argument('-a', dest='architecture', action='store', + help='find developers in charge of this architecture') + parser.add_argument('-p', dest='package', action='store', + help='find developers in charge of this package') + parser.add_argument('-f', dest='files', nargs='*', + help='find developers in charge of these files') + parser.add_argument('-c', dest='check', action='store_const', + const=True, help='list files not handled by any developer') + parser.add_argument('-e', dest='email', action='store_const', + const=True, help='only list affected developer email addresses') + return parser.parse_args() + + +def __main__(): + args = parse_args() + + # Check that only one action is given + action = 0 + if args.architecture is not None: + action += 1 + if args.package is not None: + action += 1 + if args.files: + action += 1 + if args.check: + action += 1 + if len(args.patches) != 0: + action += 1 + if action > 1: + print("Cannot do more than one action") + return + if action == 0: + print("No action specified") + return + + devs = getdeveloperlib.parse_developers() + if devs is None: + sys.exit(1) + + # Handle the check action + if args.check: + files = getdeveloperlib.check_developers(devs) + for f in files: + print(f) + + # Handle the architecture action + if args.architecture is not None: + for dev in devs: + if args.architecture in dev.architectures: + print(dev.name) + return + + # Handle the package action + if args.package is not None: + for dev in devs: + if args.package in dev.packages: + print(dev.name) + return + + # Handle the files action + if args.files is not None: + for dev in devs: + for f in args.files: + if dev.hasfile(f): + print(dev.name) + break + + # Handle the patches action + if len(args.patches) != 0: + (files, infras) = getdeveloperlib.analyze_patches(args.patches) + matching_devs = set() + for dev in devs: + # See if we have developers matching by package name + for f in files: + if dev.hasfile(f): + matching_devs.add(dev.name) + # See if we have developers matching by package infra + for i in infras: + if i in dev.infras: + matching_devs.add(dev.name) + + if args.email: + for dev in matching_devs: + print(dev) + else: + result = "--to buildroot@buildroot.org" + for dev in matching_devs: + result += " --cc \"%s\"" % dev + + if result != "": + print("git send-email %s" % result) + + +__main__() diff --git a/buildroot-2022.02.1/utils/getdeveloperlib.py b/buildroot-2022.02.1/utils/getdeveloperlib.py new file mode 100644 index 00000000..c05e1f88 --- /dev/null +++ b/buildroot-2022.02.1/utils/getdeveloperlib.py @@ -0,0 +1,292 @@ +from io import open +import os +import re +import glob +import subprocess +import sys +import unittest + +brpath = os.path.normpath(os.path.join(os.path.dirname(__file__), "..")) + +# +# Patch parsing functions +# + +FIND_INFRA_IN_PATCH = re.compile(r"^\+\$\(eval \$\((host-)?([^-]*)-package\)\)$") + + +def analyze_patch(patch): + """Parse one patch and return the list of files modified, added or + removed by the patch.""" + files = set() + infras = set() + for line in patch: + # If the patch is adding a package, find which infra it is + m = FIND_INFRA_IN_PATCH.match(line) + if m: + infras.add(m.group(2)) + if not line.startswith("+++ "): + continue + line.strip() + fname = line[line.find("/") + 1:].strip() + if fname == "dev/null": + continue + files.add(fname) + return (files, infras) + + +FIND_INFRA_IN_MK = re.compile(r"^\$\(eval \$\((host-)?([^-]*)-package\)\)$") + + +def fname_get_package_infra(fname): + """Checks whether the file name passed as argument is a Buildroot .mk + file describing a package, and find the infrastructure it's using.""" + if not fname.endswith(".mk"): + return None + + if not os.path.exists(fname): + return None + + with open(fname, "r") as f: + for line in f: + line = line.strip() + m = FIND_INFRA_IN_MK.match(line) + if m: + return m.group(2) + return None + + +def analyze_patches(patches): + """Parse a list of patches and returns the list of files modified, + added or removed by the patches, as well as the list of package + infrastructures used by those patches (if any)""" + allfiles = set() + allinfras = set() + for patch in patches: + (files, infras) = analyze_patch(patch) + allfiles = allfiles | files + allinfras = allinfras | infras + return (allfiles, allinfras) + + +# +# Unit-test parsing functions +# + +def get_all_test_cases(suite): + """Generate all test-cases from a given test-suite. + :return: (test.module, test.name)""" + if issubclass(type(suite), unittest.TestSuite): + for test in suite: + for res in get_all_test_cases(test): + yield res + else: + yield (suite.__module__, suite.__class__.__name__) + + +def list_unittests(): + """Use the unittest module to retreive all test cases from a given + directory""" + loader = unittest.TestLoader() + suite = loader.discover(os.path.join(brpath, "support", "testing")) + tests = {} + for module, test in get_all_test_cases(suite): + module_path = os.path.join("support", "testing", *module.split('.')) + tests.setdefault(module_path, []).append('%s.%s' % (module, test)) + return tests + + +unittests = {} + + +# +# DEVELOPERS file parsing functions +# + +class Developer: + def __init__(self, name, files): + self.name = name + self.files = files + self.packages = parse_developer_packages(files) + self.architectures = parse_developer_architectures(files) + self.infras = parse_developer_infras(files) + self.runtime_tests = parse_developer_runtime_tests(files) + self.defconfigs = parse_developer_defconfigs(files) + + def hasfile(self, f): + for fs in self.files: + if f.startswith(fs): + return True + return False + + def __repr__(self): + name = '\'' + self.name.split(' <')[0][:20] + '\'' + things = [] + if len(self.files): + things.append('{} files'.format(len(self.files))) + if len(self.packages): + things.append('{} pkgs'.format(len(self.packages))) + if len(self.architectures): + things.append('{} archs'.format(len(self.architectures))) + if len(self.infras): + things.append('{} infras'.format(len(self.infras))) + if len(self.runtime_tests): + things.append('{} tests'.format(len(self.runtime_tests))) + if len(self.defconfigs): + things.append('{} defconfigs'.format(len(self.defconfigs))) + if things: + return 'Developer <{} ({})>'.format(name, ', '.join(things)) + else: + return 'Developer <' + name + '>' + + +def parse_developer_packages(fnames): + """Given a list of file patterns, travel through the Buildroot source + tree to find which packages are implemented by those file + patterns, and return a list of those packages.""" + packages = set() + for fname in fnames: + for root, dirs, files in os.walk(os.path.join(brpath, fname)): + for f in files: + path = os.path.join(root, f) + if fname_get_package_infra(path): + pkg = os.path.splitext(f)[0] + packages.add(pkg) + return packages + + +def parse_arches_from_config_in(fname): + """Given a path to an arch/Config.in.* file, parse it to get the list + of BR2_ARCH values for this architecture.""" + arches = set() + with open(fname, "r") as f: + parsing_arches = False + for line in f: + line = line.strip() + if line == "config BR2_ARCH": + parsing_arches = True + continue + if parsing_arches: + m = re.match(r"^\s*default \"([^\"]*)\".*", line) + if m: + arches.add(m.group(1)) + else: + parsing_arches = False + return arches + + +def parse_developer_architectures(fnames): + """Given a list of file names, find the ones starting by + 'arch/Config.in.', and use that to determine the architecture a + developer is working on.""" + arches = set() + for fname in fnames: + if not re.match(r"^.*/arch/Config\.in\..*$", fname): + continue + arches = arches | parse_arches_from_config_in(fname) + return arches + + +def parse_developer_infras(fnames): + infras = set() + for fname in fnames: + m = re.match(r"^package/pkg-([^.]*).mk$", fname) + if m: + infras.add(m.group(1)) + return infras + + +def parse_developer_defconfigs(fnames): + """Given a list of file names, returns the config names + corresponding to defconfigs.""" + return {os.path.basename(fname[:-10]) + for fname in fnames + if fname.endswith('_defconfig')} + + +def parse_developer_runtime_tests(fnames): + """Given a list of file names, returns the runtime tests + corresponding to the file.""" + all_files = [] + # List all files recursively + for fname in fnames: + if os.path.isdir(fname): + for root, _dirs, files in os.walk(os.path.join(brpath, fname)): + all_files += [os.path.join(root, f) for f in files] + else: + all_files.append(fname) + + # Get all runtime tests + runtimes = set() + for f in all_files: + name = os.path.splitext(f)[0] + if name in unittests: + runtimes |= set(unittests[name]) + return runtimes + + +def parse_developers(): + """Parse the DEVELOPERS file and return a list of Developer objects.""" + developers = [] + linen = 0 + global unittests + unittests = list_unittests() + developers_fname = os.path.join(brpath, 'DEVELOPERS') + with open(developers_fname, mode='r', encoding='utf_8') as f: + files = [] + name = None + for line in f: + line = line.strip() + if line.startswith("#"): + continue + elif line.startswith("N:"): + if name is not None or len(files) != 0: + print("Syntax error in DEVELOPERS file, line %d" % linen, + file=sys.stderr) + name = line[2:].strip() + elif line.startswith("F:"): + fname = line[2:].strip() + dev_files = glob.glob(os.path.join(brpath, fname)) + if len(dev_files) == 0: + print("WARNING: '%s' doesn't match any file" % fname, + file=sys.stderr) + for f in dev_files: + dev_file = os.path.relpath(f, brpath) + dev_file = dev_file.replace(os.sep, '/') # force unix sep + if f[-1] == '/': # relpath removes the trailing / + dev_file = dev_file + '/' + files.append(dev_file) + elif line == "": + if not name: + continue + developers.append(Developer(name, files)) + files = [] + name = None + else: + print("Syntax error in DEVELOPERS file, line %d: '%s'" % (linen, line), + file=sys.stderr) + return None + linen += 1 + # handle last developer + if name is not None: + developers.append(Developer(name, files)) + return developers + + +def check_developers(developers, basepath=None): + """Look at the list of files versioned in Buildroot, and returns the + list of files that are not handled by any developer""" + if basepath is None: + basepath = os.getcwd() + cmd = ["git", "--git-dir", os.path.join(basepath, ".git"), "ls-files"] + files = subprocess.check_output(cmd).decode(sys.stdout.encoding).strip().split("\n") + unhandled_files = [] + for f in files: + handled = False + for d in developers: + if d.hasfile(f): + handled = True + break + if not handled: + unhandled_files.append(f) + return unhandled_files diff --git a/buildroot-2021.05/utils/readme.txt b/buildroot-2022.02.1/utils/readme.txt similarity index 100% rename from buildroot-2021.05/utils/readme.txt rename to buildroot-2022.02.1/utils/readme.txt diff --git a/buildroot-2021.05/utils/scancpan b/buildroot-2022.02.1/utils/scancpan similarity index 100% rename from buildroot-2021.05/utils/scancpan rename to buildroot-2022.02.1/utils/scancpan diff --git a/buildroot-2022.02.1/utils/scanpypi b/buildroot-2022.02.1/utils/scanpypi new file mode 100755 index 00000000..17d8a001 --- /dev/null +++ b/buildroot-2022.02.1/utils/scanpypi @@ -0,0 +1,743 @@ +#!/usr/bin/env python3 +""" + +Utility for building Buildroot packages for existing PyPI packages + +Any package built by scanpypi should be manually checked for +errors. +""" +import argparse +import json +import sys +import os +import shutil +import tarfile +import zipfile +import errno +import hashlib +import re +import textwrap +import tempfile +import imp +from functools import wraps +import six.moves.urllib.request +import six.moves.urllib.error +import six.moves.urllib.parse +from six.moves import map +from six.moves import zip +from six.moves import input +if six.PY2: + import StringIO +else: + import io + +BUF_SIZE = 65536 + +try: + import spdx_lookup as liclookup +except ImportError: + # spdx_lookup is not installed + print('spdx_lookup module is not installed. This can lead to an ' + 'inaccurate licence detection. Please install it via\n' + 'pip install spdx_lookup') + liclookup = None + + +def setup_decorator(func, method): + """ + Decorator for distutils.core.setup and setuptools.setup. + Puts the arguments with which setup is called as a dict + Add key 'method' which should be either 'setuptools' or 'distutils'. + + Keyword arguments: + func -- either setuptools.setup or distutils.core.setup + method -- either 'setuptools' or 'distutils' + """ + + @wraps(func) + def closure(*args, **kwargs): + # Any python packages calls its setup function to be installed. + # Argument 'name' of this setup function is the package's name + BuildrootPackage.setup_args[kwargs['name']] = kwargs + BuildrootPackage.setup_args[kwargs['name']]['method'] = method + return closure + +# monkey patch +import setuptools # noqa E402 +setuptools.setup = setup_decorator(setuptools.setup, 'setuptools') +import distutils # noqa E402 +distutils.core.setup = setup_decorator(setuptools.setup, 'distutils') + + +def find_file_upper_case(filenames, path='./'): + """ + List generator: + Recursively find files that matches one of the specified filenames. + Returns a relative path starting with path argument. + + Keyword arguments: + filenames -- List of filenames to be found + path -- Path to the directory to search + """ + for root, dirs, files in os.walk(path): + for file in files: + if file.upper() in filenames: + yield (os.path.join(root, file)) + + +def pkg_buildroot_name(pkg_name): + """ + Returns the Buildroot package name for the PyPI package pkg_name. + Remove all non alphanumeric characters except - + Also lowers the name and adds 'python-' suffix + + Keyword arguments: + pkg_name -- String to rename + """ + name = re.sub(r'[^\w-]', '', pkg_name.lower()) + name = name.replace('_', '-') + prefix = 'python-' + pattern = re.compile(r'^(?!' + prefix + ')(.+?)$') + name = pattern.sub(r'python-\1', name) + return name + + +class DownloadFailed(Exception): + pass + + +class BuildrootPackage(): + """This class's methods are not meant to be used individually please + use them in the correct order: + + __init__ + + download_package + + extract_package + + load_module + + get_requirements + + create_package_mk + + create_hash_file + + create_config_in + + """ + setup_args = {} + + def __init__(self, real_name, pkg_folder): + self.real_name = real_name + self.buildroot_name = pkg_buildroot_name(self.real_name) + self.pkg_dir = os.path.join(pkg_folder, self.buildroot_name) + self.mk_name = self.buildroot_name.upper().replace('-', '_') + self.as_string = None + self.md5_sum = None + self.metadata = None + self.metadata_name = None + self.metadata_url = None + self.pkg_req = None + self.setup_metadata = None + self.tmp_extract = None + self.used_url = None + self.filename = None + self.url = None + self.version = None + self.license_files = [] + + def fetch_package_info(self): + """ + Fetch a package's metadata from the python package index + """ + self.metadata_url = 'https://pypi.org/pypi/{pkg}/json'.format( + pkg=self.real_name) + try: + pkg_json = six.moves.urllib.request.urlopen(self.metadata_url).read().decode() + except six.moves.urllib.error.HTTPError as error: + print('ERROR:', error.getcode(), error.msg, file=sys.stderr) + print('ERROR: Could not find package {pkg}.\n' + 'Check syntax inside the python package index:\n' + 'https://pypi.python.org/pypi/ ' + .format(pkg=self.real_name)) + raise + except six.moves.urllib.error.URLError: + print('ERROR: Could not find package {pkg}.\n' + 'Check syntax inside the python package index:\n' + 'https://pypi.python.org/pypi/ ' + .format(pkg=self.real_name)) + raise + self.metadata = json.loads(pkg_json) + self.version = self.metadata['info']['version'] + self.metadata_name = self.metadata['info']['name'] + + def download_package(self): + """ + Download a package using metadata from pypi + """ + download = None + try: + self.metadata['urls'][0]['filename'] + except IndexError: + print( + 'Non-conventional package, ', + 'please check carefully after creation') + self.metadata['urls'] = [{ + 'packagetype': 'sdist', + 'url': self.metadata['info']['download_url'], + 'digests': None}] + # In this case, we can't get the name of the downloaded file + # from the pypi api, so we need to find it, this should work + urlpath = six.moves.urllib.parse.urlparse( + self.metadata['info']['download_url']).path + # urlparse().path give something like + # /path/to/file-version.tar.gz + # We use basename to remove /path/to + self.metadata['urls'][0]['filename'] = os.path.basename(urlpath) + for download_url in self.metadata['urls']: + if 'bdist' in download_url['packagetype']: + continue + try: + print('Downloading package {pkg} from {url}...'.format( + pkg=self.real_name, url=download_url['url'])) + download = six.moves.urllib.request.urlopen(download_url['url']) + except six.moves.urllib.error.HTTPError as http_error: + download = http_error + else: + self.used_url = download_url + self.as_string = download.read() + if not download_url['digests']['md5']: + break + self.md5_sum = hashlib.md5(self.as_string).hexdigest() + if self.md5_sum == download_url['digests']['md5']: + break + + if download is None: + raise DownloadFailed('Failed to download package {pkg}: ' + 'No source archive available' + .format(pkg=self.real_name)) + elif download.__class__ == six.moves.urllib.error.HTTPError: + raise download + + self.filename = self.used_url['filename'] + self.url = self.used_url['url'] + + def check_archive(self, members): + """ + Check archive content before extracting + + Keyword arguments: + members -- list of archive members + """ + # Protect against https://github.com/snyk/zip-slip-vulnerability + # Older python versions do not validate that the extracted files are + # inside the target directory. Detect and error out on evil paths + evil = [e for e in members if os.path.relpath(e).startswith(('/', '..'))] + if evil: + print('ERROR: Refusing to extract {} with suspicious members {}'.format( + self.filename, evil)) + sys.exit(1) + + def extract_package(self, tmp_path): + """ + Extract the package contents into a directrory + + Keyword arguments: + tmp_path -- directory where you want the package to be extracted + """ + if six.PY2: + as_file = StringIO.StringIO(self.as_string) + else: + as_file = io.BytesIO(self.as_string) + if self.filename[-3:] == 'zip': + with zipfile.ZipFile(as_file) as as_zipfile: + tmp_pkg = os.path.join(tmp_path, self.buildroot_name) + try: + os.makedirs(tmp_pkg) + except OSError as exception: + if exception.errno != errno.EEXIST: + print("ERROR: ", exception.strerror, file=sys.stderr) + return + print('WARNING:', exception.strerror, file=sys.stderr) + print('Removing {pkg}...'.format(pkg=tmp_pkg)) + shutil.rmtree(tmp_pkg) + os.makedirs(tmp_pkg) + self.check_archive(as_zipfile.namelist()) + as_zipfile.extractall(tmp_pkg) + pkg_filename = self.filename.split(".zip")[0] + else: + with tarfile.open(fileobj=as_file) as as_tarfile: + tmp_pkg = os.path.join(tmp_path, self.buildroot_name) + try: + os.makedirs(tmp_pkg) + except OSError as exception: + if exception.errno != errno.EEXIST: + print("ERROR: ", exception.strerror, file=sys.stderr) + return + print('WARNING:', exception.strerror, file=sys.stderr) + print('Removing {pkg}...'.format(pkg=tmp_pkg)) + shutil.rmtree(tmp_pkg) + os.makedirs(tmp_pkg) + self.check_archive(as_tarfile.getnames()) + as_tarfile.extractall(tmp_pkg) + pkg_filename = self.filename.split(".tar")[0] + + tmp_extract = '{folder}/{name}' + self.tmp_extract = tmp_extract.format( + folder=tmp_pkg, + name=pkg_filename) + + def load_setup(self): + """ + Loads the corresponding setup and store its metadata + """ + current_dir = os.getcwd() + os.chdir(self.tmp_extract) + sys.path.insert(0, self.tmp_extract) + s_file, s_path, s_desc = imp.find_module('setup', [self.tmp_extract]) + imp.load_module('__main__', s_file, s_path, s_desc) + if self.metadata_name in self.setup_args: + pass + elif self.metadata_name.replace('_', '-') in self.setup_args: + self.metadata_name = self.metadata_name.replace('_', '-') + elif self.metadata_name.replace('-', '_') in self.setup_args: + self.metadata_name = self.metadata_name.replace('-', '_') + try: + self.setup_metadata = self.setup_args[self.metadata_name] + except KeyError: + # This means setup was not called + print('ERROR: Could not determine package metadata for {pkg}.\n' + .format(pkg=self.real_name)) + raise + os.chdir(current_dir) + sys.path.remove(self.tmp_extract) + + def get_requirements(self, pkg_folder): + """ + Retrieve dependencies from the metadata found in the setup.py script of + a pypi package. + + Keyword Arguments: + pkg_folder -- location of the already created packages + """ + if 'install_requires' not in self.setup_metadata: + self.pkg_req = None + return set() + self.pkg_req = self.setup_metadata['install_requires'] + self.pkg_req = [re.sub(r'([-.\w]+).*', r'\1', req) + for req in self.pkg_req] + + # get rid of commented lines and also strip the package strings + self.pkg_req = [item.strip() for item in self.pkg_req + if len(item) > 0 and item[0] != '#'] + + req_not_found = self.pkg_req + self.pkg_req = list(map(pkg_buildroot_name, self.pkg_req)) + pkg_tuples = list(zip(req_not_found, self.pkg_req)) + # pkg_tuples is a list of tuples that looks like + # ('werkzeug','python-werkzeug') because I need both when checking if + # dependencies already exist or are already in the download list + req_not_found = set( + pkg[0] for pkg in pkg_tuples + if not os.path.isdir(pkg[1]) + ) + return req_not_found + + def __create_mk_header(self): + """ + Create the header of the .mk file + """ + header = ['#' * 80 + '\n'] + header.append('#\n') + header.append('# {name}\n'.format(name=self.buildroot_name)) + header.append('#\n') + header.append('#' * 80 + '\n') + header.append('\n') + return header + + def __create_mk_download_info(self): + """ + Create the lines refering to the download information of the + .mk file + """ + lines = [] + version_line = '{name}_VERSION = {version}\n'.format( + name=self.mk_name, + version=self.version) + lines.append(version_line) + + if self.buildroot_name != self.real_name: + targz = self.filename.replace( + self.version, + '$({name}_VERSION)'.format(name=self.mk_name)) + targz_line = '{name}_SOURCE = {filename}\n'.format( + name=self.mk_name, + filename=targz) + lines.append(targz_line) + + if self.filename not in self.url: + # Sometimes the filename is in the url, sometimes it's not + site_url = self.url + else: + site_url = self.url[:self.url.find(self.filename)] + site_line = '{name}_SITE = {url}'.format(name=self.mk_name, + url=site_url) + site_line = site_line.rstrip('/') + '\n' + lines.append(site_line) + return lines + + def __create_mk_setup(self): + """ + Create the line refering to the setup method of the package of the + .mk file + + There are two things you can use to make an installer + for a python package: distutils or setuptools + distutils comes with python but does not support dependencies. + distutils is mostly still there for backward support. + setuptools is what smart people use, + but it is not shipped with python :( + """ + lines = [] + setup_type_line = '{name}_SETUP_TYPE = {method}\n'.format( + name=self.mk_name, + method=self.setup_metadata['method']) + lines.append(setup_type_line) + return lines + + def __get_license_names(self, license_files): + """ + Try to determine the related license name. + + There are two possibilities. Either the script tries to + get license name from package's metadata or, if spdx_lookup + package is available, the script compares license files with + SPDX database. + """ + license_line = '' + if liclookup is None: + license_dict = { + 'Apache Software License': 'Apache-2.0', + 'BSD License': 'FIXME: please specify the exact BSD version', + 'European Union Public Licence 1.0': 'EUPL-1.0', + 'European Union Public Licence 1.1': 'EUPL-1.1', + "GNU General Public License": "GPL", + "GNU General Public License v2": "GPL-2.0", + "GNU General Public License v2 or later": "GPL-2.0+", + "GNU General Public License v3": "GPL-3.0", + "GNU General Public License v3 or later": "GPL-3.0+", + "GNU Lesser General Public License v2": "LGPL-2.1", + "GNU Lesser General Public License v2 or later": "LGPL-2.1+", + "GNU Lesser General Public License v3": "LGPL-3.0", + "GNU Lesser General Public License v3 or later": "LGPL-3.0+", + "GNU Library or Lesser General Public License": "LGPL-2.0", + "ISC License": "ISC", + "MIT License": "MIT", + "Mozilla Public License 1.0": "MPL-1.0", + "Mozilla Public License 1.1": "MPL-1.1", + "Mozilla Public License 2.0": "MPL-2.0", + "Zope Public License": "ZPL" + } + regexp = re.compile(r'^License :* *.* *:+ (.*)( \(.*\))?$') + classifiers_licenses = [regexp.sub(r"\1", lic) + for lic in self.metadata['info']['classifiers'] + if regexp.match(lic)] + licenses = [license_dict[x] if x in license_dict else x for x in classifiers_licenses] + if not len(licenses): + print('WARNING: License has been set to "{license}". It is most' + ' likely wrong, please change it if need be'.format( + license=', '.join(licenses))) + licenses = [self.metadata['info']['license']] + licenses = set(licenses) + license_line = '{name}_LICENSE = {license}\n'.format( + name=self.mk_name, + license=', '.join(licenses)) + else: + license_names = [] + for license_file in license_files: + with open(license_file) as lic_file: + match = liclookup.match(lic_file.read()) + if match is not None and match.confidence >= 90.0: + license_names.append(match.license.id) + else: + license_names.append("FIXME: license id couldn't be detected") + license_names = set(license_names) + + if len(license_names) > 0: + license_line = ('{name}_LICENSE =' + ' {names}\n'.format( + name=self.mk_name, + names=', '.join(license_names))) + + return license_line + + def __create_mk_license(self): + """ + Create the lines referring to the package's license informations of the + .mk file + + The license's files are found by searching the package (case insensitive) + for files named license, license.txt etc. If more than one license file + is found, the user is asked to select which ones he wants to use. + """ + lines = [] + + filenames = ['LICENCE', 'LICENSE', 'LICENSE.MD', 'LICENSE.RST', + 'LICENSE.TXT', 'COPYING', 'COPYING.TXT'] + self.license_files = list(find_file_upper_case(filenames, self.tmp_extract)) + + lines.append(self.__get_license_names(self.license_files)) + + license_files = [license.replace(self.tmp_extract, '')[1:] + for license in self.license_files] + if len(license_files) > 0: + if len(license_files) > 1: + print('More than one file found for license:', + ', '.join(license_files)) + license_files = [filename + for index, filename in enumerate(license_files)] + license_file_line = ('{name}_LICENSE_FILES =' + ' {files}\n'.format( + name=self.mk_name, + files=' '.join(license_files))) + lines.append(license_file_line) + else: + print('WARNING: No license file found,' + ' please specify it manually afterwards') + license_file_line = '# No license file found\n' + + return lines + + def __create_mk_requirements(self): + """ + Create the lines referring to the dependencies of the of the + .mk file + + Keyword Arguments: + pkg_name -- name of the package + pkg_req -- dependencies of the package + """ + lines = [] + dependencies_line = ('{name}_DEPENDENCIES =' + ' {reqs}\n'.format( + name=self.mk_name, + reqs=' '.join(self.pkg_req))) + lines.append(dependencies_line) + return lines + + def create_package_mk(self): + """ + Create the lines corresponding to the .mk file + """ + pkg_mk = '{name}.mk'.format(name=self.buildroot_name) + path_to_mk = os.path.join(self.pkg_dir, pkg_mk) + print('Creating {file}...'.format(file=path_to_mk)) + lines = self.__create_mk_header() + lines += self.__create_mk_download_info() + lines += self.__create_mk_setup() + lines += self.__create_mk_license() + + lines.append('\n') + lines.append('$(eval $(python-package))') + lines.append('\n') + with open(path_to_mk, 'w') as mk_file: + mk_file.writelines(lines) + + def create_hash_file(self): + """ + Create the lines corresponding to the .hash files + """ + pkg_hash = '{name}.hash'.format(name=self.buildroot_name) + path_to_hash = os.path.join(self.pkg_dir, pkg_hash) + print('Creating {filename}...'.format(filename=path_to_hash)) + lines = [] + if self.used_url['digests']['md5'] and self.used_url['digests']['sha256']: + hash_header = '# md5, sha256 from {url}\n'.format( + url=self.metadata_url) + lines.append(hash_header) + hash_line = '{method} {digest} {filename}\n'.format( + method='md5', + digest=self.used_url['digests']['md5'], + filename=self.filename) + lines.append(hash_line) + hash_line = '{method} {digest} {filename}\n'.format( + method='sha256', + digest=self.used_url['digests']['sha256'], + filename=self.filename) + lines.append(hash_line) + + if self.license_files: + lines.append('# Locally computed sha256 checksums\n') + for license_file in self.license_files: + sha256 = hashlib.sha256() + with open(license_file, 'rb') as lic_f: + while True: + data = lic_f.read(BUF_SIZE) + if not data: + break + sha256.update(data) + hash_line = '{method} {digest} {filename}\n'.format( + method='sha256', + digest=sha256.hexdigest(), + filename=license_file.replace(self.tmp_extract, '')[1:]) + lines.append(hash_line) + + with open(path_to_hash, 'w') as hash_file: + hash_file.writelines(lines) + + def create_config_in(self): + """ + Creates the Config.in file of a package + """ + path_to_config = os.path.join(self.pkg_dir, 'Config.in') + print('Creating {file}...'.format(file=path_to_config)) + lines = [] + config_line = 'config BR2_PACKAGE_{name}\n'.format( + name=self.mk_name) + lines.append(config_line) + + bool_line = '\tbool "{name}"\n'.format(name=self.buildroot_name) + lines.append(bool_line) + if self.pkg_req: + self.pkg_req.sort() + for dep in self.pkg_req: + dep_line = '\tselect BR2_PACKAGE_{req} # runtime\n'.format( + req=dep.upper().replace('-', '_')) + lines.append(dep_line) + + lines.append('\thelp\n') + + help_lines = textwrap.wrap(self.metadata['info']['summary'], 62, + initial_indent='\t ', + subsequent_indent='\t ') + + # make sure a help text is terminated with a full stop + if help_lines[-1][-1] != '.': + help_lines[-1] += '.' + + # \t + two spaces is 3 char long + help_lines.append('') + help_lines.append('\t ' + self.metadata['info']['home_page']) + help_lines = [x + '\n' for x in help_lines] + lines += help_lines + + with open(path_to_config, 'w') as config_file: + config_file.writelines(lines) + + +def main(): + # Building the parser + parser = argparse.ArgumentParser( + description="Creates buildroot packages from the metadata of " + "an existing PyPI packages and include it " + "in menuconfig") + parser.add_argument("packages", + help="list of packages to be created", + nargs='+') + parser.add_argument("-o", "--output", + help=""" + Output directory for packages. + Default is ./package + """, + default='./package') + + args = parser.parse_args() + packages = list(set(args.packages)) + + # tmp_path is where we'll extract the files later + tmp_prefix = 'scanpypi-' + pkg_folder = args.output + tmp_path = tempfile.mkdtemp(prefix=tmp_prefix) + try: + for real_pkg_name in packages: + package = BuildrootPackage(real_pkg_name, pkg_folder) + print('buildroot package name for {}:'.format(package.real_name), + package.buildroot_name) + # First we download the package + # Most of the info we need can only be found inside the package + print('Package:', package.buildroot_name) + print('Fetching package', package.real_name) + try: + package.fetch_package_info() + except (six.moves.urllib.error.URLError, six.moves.urllib.error.HTTPError): + continue + if package.metadata_name.lower() == 'setuptools': + # setuptools imports itself, that does not work very well + # with the monkey path at the begining + print('Error: setuptools cannot be built using scanPyPI') + continue + + try: + package.download_package() + except six.moves.urllib.error.HTTPError as error: + print('Error: {code} {reason}'.format(code=error.code, + reason=error.reason)) + print('Error downloading package :', package.buildroot_name) + print() + continue + + # extract the tarball + try: + package.extract_package(tmp_path) + except (tarfile.ReadError, zipfile.BadZipfile): + print('Error extracting package {}'.format(package.real_name)) + print() + continue + + # Loading the package install info from the package + try: + package.load_setup() + except ImportError as err: + if 'buildutils' in str(err): + print('This package needs buildutils') + else: + raise + continue + except (AttributeError, KeyError) as error: + print('Error: Could not install package {pkg}: {error}'.format( + pkg=package.real_name, error=error)) + continue + + # Package requirement are an argument of the setup function + req_not_found = package.get_requirements(pkg_folder) + req_not_found = req_not_found.difference(packages) + + packages += req_not_found + if req_not_found: + print('Added packages \'{pkgs}\' as dependencies of {pkg}' + .format(pkgs=", ".join(req_not_found), + pkg=package.buildroot_name)) + print('Checking if package {name} already exists...'.format( + name=package.pkg_dir)) + try: + os.makedirs(package.pkg_dir) + except OSError as exception: + if exception.errno != errno.EEXIST: + print("ERROR: ", exception.message, file=sys.stderr) + continue + print('Error: Package {name} already exists' + .format(name=package.pkg_dir)) + del_pkg = input( + 'Do you want to delete existing package ? [y/N]') + if del_pkg.lower() == 'y': + shutil.rmtree(package.pkg_dir) + os.makedirs(package.pkg_dir) + else: + continue + package.create_package_mk() + + package.create_hash_file() + + package.create_config_in() + print("NOTE: Remember to also make an update to the DEVELOPERS file") + print(" and include an entry for the pkg in packages/Config.in") + print() + # printing an empty line for visual confort + finally: + shutil.rmtree(tmp_path) + + +if __name__ == "__main__": + main() diff --git a/buildroot-2022.02.1/utils/size-stats-compare b/buildroot-2022.02.1/utils/size-stats-compare new file mode 100755 index 00000000..fc6dd706 --- /dev/null +++ b/buildroot-2022.02.1/utils/size-stats-compare @@ -0,0 +1,144 @@ +#!/usr/bin/env python3 + +# Copyright (C) 2016 Thomas De Schampheleire + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +# TODO (improvements) +# - support K,M,G size suffixes for threshold +# - output CSV file in addition to stdout reporting + +import csv +import argparse +import sys + + +def read_file_size_csv(inputf, detail=None): + """Extract package or file sizes from CSV file into size dictionary""" + sizes = {} + reader = csv.reader(inputf) + + header = next(reader) + if header[0] != 'File name' or header[1] != 'Package name' or \ + header[2] != 'File size' or header[3] != 'Package size': + print(("Input file %s does not contain the expected header. Are you " + "sure this file corresponds to the file-size-stats.csv " + "file created by 'make graph-size'?") % inputf.name) + sys.exit(1) + + for row in reader: + if detail: + sizes[(row[0], row[1])] = int(row[2]) + else: + sizes[(None, row[1])] = int(row[3]) + + return sizes + + +def compare_sizes(old, new): + """Return delta/added/removed dictionaries based on two input size + dictionaries""" + delta = {} + oldkeys = set(old.keys()) + newkeys = set(new.keys()) + + # packages/files in both + for entry in newkeys.intersection(oldkeys): + delta[entry] = ('', new[entry] - old[entry]) + # packages/files only in new + for entry in newkeys.difference(oldkeys): + delta[entry] = ('added', new[entry]) + # packages/files only in old + for entry in oldkeys.difference(newkeys): + delta[entry] = ('removed', -old[entry]) + + return delta + + +def print_results(result, threshold): + """Print the given result dictionary sorted by size, ignoring any entries + below or equal to threshold""" + + from six import iteritems + list_result = list(iteritems(result)) + # result is a dictionary: (filename, pkgname) -> (flag, size difference) + # list_result is a list of tuples: ((filename, pkgname), (flag, size difference)) + # filename may be None if no detail is requested. + + maxpkgname = max(len(pkgname) for filename, pkgname in result) + + for entry in sorted(list_result, key=lambda entry: entry[1][1]): + data = dict( + filename=entry[0][0], + pkgname=entry[0][1], + action=entry[1][0], + size=entry[1][1], + maxpkgname=maxpkgname, + ) + + if threshold is not None and abs(data['size']) <= threshold: + continue + if data['filename']: + print('{size:12d} {action:7s} {pkgname:{maxpkgname}s} {filename}'.format(**data)) + else: + print('{size:12d} {action:7s} {pkgname}'.format(**data)) + + +# main ######################################################################### + +description = """ +Compare rootfs size between Buildroot compilations, for example after changing +configuration options or after switching to another Buildroot release. + +This script compares the file-size-stats.csv file generated by 'make graph-size' +with the corresponding file from another Buildroot compilation. +The size differences can be reported per package or per file. +Size differences smaller or equal than a given threshold can be ignored. +""" + +parser = argparse.ArgumentParser(description=description, + formatter_class=argparse.RawDescriptionHelpFormatter) + +parser.add_argument('-d', '--detail', action='store_true', + help='''report differences for individual files rather than + packages''') +parser.add_argument('-t', '--threshold', type=int, + help='''ignore size differences smaller or equal than this + value (bytes)''') +parser.add_argument('old_file_size_csv', type=argparse.FileType('r'), + metavar='old-file-size-stats.csv', + help="""old CSV file with file and package size statistics, + generated by 'make graph-size'""") +parser.add_argument('new_file_size_csv', type=argparse.FileType('r'), + metavar='new-file-size-stats.csv', + help='new CSV file with file and package size statistics') +args = parser.parse_args() + +if args.detail: + keyword = 'file' +else: + keyword = 'package' + +old_sizes = read_file_size_csv(args.old_file_size_csv, args.detail) +new_sizes = read_file_size_csv(args.new_file_size_csv, args.detail) + +delta = compare_sizes(old_sizes, new_sizes) + +print('Size difference per %s (bytes), threshold = %s' % (keyword, args.threshold)) +print(80*'-') +print_results(delta, args.threshold) +print(80*'-') +print_results({(None, 'TOTAL'): ('', sum(new_sizes.values()) - sum(old_sizes.values()))}, + threshold=None) diff --git a/buildroot-2022.02.1/utils/test-pkg b/buildroot-2022.02.1/utils/test-pkg new file mode 100755 index 00000000..ce6e43b9 --- /dev/null +++ b/buildroot-2022.02.1/utils/test-pkg @@ -0,0 +1,303 @@ +#!/usr/bin/env bash +set -e + +TOOLCHAINS_CSV='support/config-fragments/autobuild/toolchain-configs.csv' +TEMP_CONF="" + +do_clean() { + if [ ! -z "${TEMP_CONF}" ]; then + rm -f "${TEMP_CONF}" + fi +} + +main() { + local o O opts + local cfg dir pkg random toolchains_csv toolchain all number mode prepare_only + local ret nb nb_skip nb_fail nb_legal nb_show nb_tc build_dir keep + local -a toolchains + local pkg_br_name + + o='hakc:d:n:p:r:t:' + O='help,all,keep,prepare-only,config-snippet:,build-dir:,number:,package:,random:,toolchains-csv:' + opts="$(getopt -n "${my_name}" -o "${o}" -l "${O}" -- "${@}")" + eval set -- "${opts}" + + random=0 + all=0 + keep=0 + number=0 + mode=0 + prepare_only=0 + toolchains_csv="${TOOLCHAINS_CSV}" + while [ ${#} -gt 0 ]; do + case "${1}" in + (-h|--help) + help; exit 0 + ;; + (-a|--all) + all=1; shift 1 + ;; + (-k|--keep) + keep=1; shift 1 + ;; + (--prepare-only) + prepare_only=1; shift 1 + ;; + (-c|--config-snippet) + cfg="${2}"; shift 2 + ;; + (-d|--build-dir) + dir="${2}"; shift 2 + ;; + (-n|--number) + number="${2}"; shift 2 + ;; + (-p|--package) + pkg="${2}"; shift 2 + ;; + (-r|--random) + random="${2}"; shift 2 + ;; + (-t|--toolchains-csv) + toolchains_csv="${2}"; shift 2 + ;; + (--) + shift; break + ;; + esac + done + + trap do_clean INT TERM HUP EXIT + + if [ -z "${cfg}" ]; then + pkg_br_name="${pkg//-/_}" + pkg_br_name="BR2_PACKAGE_${pkg_br_name^^}" + TEMP_CONF=$(mktemp /tmp/test-${pkg}-config.XXXXXX) + echo "${pkg_br_name}=y" > ${TEMP_CONF} + cfg="${TEMP_CONF}" + fi + if [ ! -e "${cfg}" ]; then + printf "error: %s: no such file\n" "${cfg}" >&2; exit 1 + fi + if [ -z "${dir}" ]; then + dir="${HOME}/br-test-pkg" + fi + + if [ ${random} -gt 0 ]; then + mode=$((mode+1)) + fi + + if [ ${number} -gt 0 ]; then + mode=$((mode+1)) + fi + + if [ ${all} -eq 1 ]; then + mode=$((mode+1)) + fi + + # Default mode is to test the N first toolchains, which have been + # chosen to be a good selection of toolchains. + if [ ${mode} -eq 0 ] ; then + number=6 + elif [ ${mode} -gt 1 ] ; then + printf "error: --all, --number and --random are mutually exclusive\n" >&2; exit 1 + fi + + # Extract the URLs of the toolchains; drop internal toolchains + # E.g.: http://server/path/to/name.config,arch,libc + # --> http://server/path/to/name.config + toolchains=($(sed -r -e 's/,.*//; /internal/d; /^#/d; /^$/d;' "${toolchains_csv}" \ + |if [ ${random} -gt 0 ]; then \ + sort -R |head -n ${random} + elif [ ${number} -gt 0 ]; then \ + head -n ${number} + else + sort + fi + ) + ) + + nb_tc="${#toolchains[@]}" + if [ ${nb_tc} -eq 0 ]; then + printf "error: no toolchain found (networking issue?)\n" >&2; exit 1 + fi + + nb=0 + nb_skip=0 + nb_fail=0 + nb_legal=0 + nb_show=0 + for toolchainconfig in "${toolchains[@]}"; do + : $((nb++)) + toolchain="$(basename "${toolchainconfig}" .config)" + build_dir="${dir}/${toolchain}" + printf "%40s [%*d/%d]: " "${toolchain}" ${#nb_tc} ${nb} ${nb_tc} + build_one "${build_dir}" "${toolchainconfig}" "${cfg}" "${pkg}" "${prepare_only}" && ret=0 || ret=${?} + case ${ret} in + (0) printf "OK\n";; + (1) : $((nb_skip++)); printf "SKIPPED\n";; + (2) : $((nb_fail++)); printf "FAILED\n";; + (3) : $((nb_legal++)); printf "FAILED\n";; + (4) : $((nb_show++)); printf "FAILED\n";; + esac + done + + printf "%d builds, %d skipped, %d build failed, %d legal-info failed, %d show-info failed\n" \ + ${nb} ${nb_skip} ${nb_fail} ${nb_legal} ${nb_show} + + return $((nb_fail + nb_legal)) +} + +build_one() { + local dir="${1}" + local toolchainconfig="${2}" + local cfg="${3}" + local pkg="${4}" + local prepare_only="${5}" + + mkdir -p "${dir}" + + CONFIG_= support/kconfig/merge_config.sh -O "${dir}" \ + "${toolchainconfig}" "support/config-fragments/minimal.config" "${cfg}" \ + >> "${dir}/logfile" 2>&1 + # We want all the options from the snippet to be present as-is (set + # or not set) in the actual .config; if one of them is not, it means + # some dependency from the toolchain or arch is not available, in + # which case this config is untestable and we skip it. + # We don't care about the locale to sort in, as long as both sort are + # done in the same locale. + comm -23 <(sort "${cfg}") <(sort "${dir}/.config") >"${dir}/missing.config" + if [ -s "${dir}/missing.config" ]; then + if [ ${keep} -ne 1 ]; then + # Invalid configuration, drop it + rm -f "${dir}/.config" + fi + return 1 + fi + # Remove file, it's empty anyway. + rm -f "${dir}/missing.config" + + # Defer building the job to the caller (e.g. a gitlab pipeline) + if [ ${prepare_only} -eq 1 ]; then + return 0 + fi + + if [ -n "${pkg}" ]; then + if ! make O="${dir}" "${pkg}-dirclean" >> "${dir}/logfile" 2>&1; then + return 2 + fi + fi + + # shellcheck disable=SC2086 + if ! BR_FORCE_CHECK_DEPENDENCIES=YES make O="${dir}" ${pkg} >> "${dir}/logfile" 2>&1; then + return 2 + fi + + # legal-info done systematically, because some packages have different + # sources depending on the configuration (e.g. lua-5.2 vs. lua-5.3) + if ! make O="${dir}" legal-info >> "${dir}/logfile" 2>&1; then + return 3 + fi + + # Validate that we generate proper json as show-info + { tput smso; printf '>>> Running show-info\n'; tput rmso; } >> "${dir}/logfile" 2> /dev/null; + JQ="$(which jq)" + if [ -z "${JQ}" ]; then + make O="${dir}" host-jq >> "${dir}/logfile" 2>&1 + JQ="${dir}/host/bin/jq" + fi + if ! make O="${dir}" "${pkg:+${pkg}-}show-info" > "${dir}/info.json" 2>> "${dir}/logfile"; then + return 4 + fi + if ! "${JQ}" . < "${dir}/info.json" >> "${dir}/logfile" 2>&1; then + return 4 + fi + + # If we get here, the build was successful. Clean up the build/host + # directories to save disk space, unless 'keep' was set. + if [ ${keep} -ne 1 ]; then + make O="${dir}" clean >> "${dir}/logfile" 2>&1 + fi +} + +help() { + cat <<_EOF_ +test-pkg: test-build a package against various toolchains and architectures + +The supplied config snippet is appended to each toolchain config, the +resulting configuration is checked to ensure it still contains all options +specified in the snippet; if any is missing, the build is skipped, on the +assumption that the package under test requires a toolchain or architecture +feature that is missing. + +In case failures are noticed, you can fix the package and just re-run the +same command again; it will re-run the test where it failed. If you did +specify a package (with -p), the package build dir will be removed first. + +The list of toolchains is retrieved from ${TOOLCHAINS_CSV}. +Only the external toolchains are tried, because building a Buildroot toolchain +would take too long. An alternative toolchains CSV file can be specified with +the -t option. This file should have lines consisting of the path to the +toolchain config fragment and the required host architecture, separated by a +comma. The config fragments should contain only the toolchain and architecture +settings. + +By default, a useful subset of toolchains is tested. If needed, all +toolchains can be tested (-a), an arbitrary number of toolchains (-n +in order, -r for random). + +Options: + + -h, --help + Print this help. + + -c CFG, --config-snippet CFG + Use the CFG file as the source for the config snippet. This file + should contain all the config options required to build a package. + + -d DIR, --build-dir DIR + Do the builds in directory DIR, one sub-dir per toolchain. + + -p PKG, --package PKG + Test-build the package PKG, by running 'make PKG'; if not specified, + just runs 'make'. + + -a, --all + Test all toolchains, instead of the default subset defined by + Buildroot developers. + + -n N, --number N + Test N toolchains, in the order defined in the toolchain CSV + file. + + -r N, --random N + Limit the tests to the N randomly selected toolchains. + + -t CSVFILE, --toolchains-csv CSVFILE + CSV file containing the paths to config fragments of toolchains to + try. If not specified, the toolchains in ${TOOLCHAINS_CSV} will be + used. + + -k, --keep + Keep the build directories even if the build succeeds. + Note: the logfile and configuration is always retained, even without + this option. + + --prepare-only + Only prepare the .config files, but do not build them. Output the + list of build directories to stdout, and the status on stderr. + +Example: + + Testing libcec would require a config snippet that contains: + BR2_PACKAGE_LIBCEC=y + + Testing libcurl with openSSL support would require a snippet such as: + BR2_PACKAGE_OPENSSL=y + BR2_PACKAGE_LIBCURL=y + +_EOF_ +} + +my_name="${0##*/}" +main "${@}" diff --git a/buildroot-config b/buildroot-config new file mode 100644 index 00000000..b77f245b --- /dev/null +++ b/buildroot-config @@ -0,0 +1,3645 @@ +# +# Automatically generated file; DO NOT EDIT. +# Buildroot -g93a50d7-dirty Configuration +# +BR2_HAVE_DOT_CONFIG=y +BR2_HOST_GCC_AT_LEAST_4_9=y +BR2_HOST_GCC_AT_LEAST_5=y +BR2_HOST_GCC_AT_LEAST_6=y +BR2_HOST_GCC_AT_LEAST_7=y +BR2_HOST_GCC_AT_LEAST_8=y +BR2_HOST_GCC_AT_LEAST_9=y + +# +# Target options +# +BR2_ARCH_HAS_MMU_MANDATORY=y +# BR2_arcle is not set +# BR2_arceb is not set +# BR2_arm is not set +# BR2_armeb is not set +# BR2_aarch64 is not set +# BR2_aarch64_be is not set +# BR2_csky is not set +# BR2_i386 is not set +# BR2_m68k is not set +# BR2_microblazeel is not set +# BR2_microblazebe is not set +# BR2_mips is not set +# BR2_mipsel is not set +# BR2_mips64 is not set +# BR2_mips64el is not set +# BR2_nds32 is not set +# BR2_nios2 is not set +# BR2_or1k is not set +# BR2_powerpc is not set +# BR2_powerpc64 is not set +# BR2_powerpc64le is not set +BR2_riscv=y +# BR2_s390x is not set +# BR2_sh is not set +# BR2_sparc is not set +# BR2_sparc64 is not set +# BR2_x86_64 is not set +# BR2_xtensa is not set +BR2_ARCH_HAS_TOOLCHAIN_BUILDROOT=y +BR2_ARCH_NEEDS_GCC_AT_LEAST_4_8=y +BR2_ARCH_NEEDS_GCC_AT_LEAST_4_9=y +BR2_ARCH_NEEDS_GCC_AT_LEAST_5=y +BR2_ARCH_NEEDS_GCC_AT_LEAST_6=y +BR2_ARCH_NEEDS_GCC_AT_LEAST_7=y +BR2_ARCH="riscv32" +BR2_NORMALIZED_ARCH="riscv" +BR2_ENDIAN="LITTLE" +BR2_GCC_TARGET_ABI="ilp32" +BR2_BINFMT_SUPPORTS_SHARED=y +BR2_READELF_ARCH_NAME="RISC-V" +BR2_BINFMT_ELF=y +BR2_RISCV_ISA_RVI=y +BR2_RISCV_ISA_RVM=y +BR2_RISCV_ISA_RVA=y +# BR2_riscv_g is not set +BR2_riscv_custom=y + +# +# Instruction Set Extensions +# +BR2_RISCV_ISA_CUSTOM_RVM=y +BR2_RISCV_ISA_CUSTOM_RVA=y +# BR2_RISCV_ISA_CUSTOM_RVF is not set +# BR2_RISCV_ISA_CUSTOM_RVC is not set +BR2_RISCV_32=y +# BR2_RISCV_64 is not set +BR2_RISCV_ABI_ILP32=y + +# +# Build options +# + +# +# Commands +# +BR2_WGET="wget --passive-ftp -nd -t 3" +BR2_SVN="svn --non-interactive" +BR2_BZR="bzr" +BR2_GIT="git" +BR2_CVS="cvs" +BR2_LOCALFILES="cp" +BR2_SCP="scp" +BR2_SFTP="sftp" +BR2_HG="hg" +BR2_ZCAT="gzip -d -c" +BR2_BZCAT="bzcat" +BR2_XZCAT="xzcat" +BR2_LZCAT="lzip -d -c" +BR2_TAR_OPTIONS="" +BR2_DEFCONFIG="$(CONFIG_DIR)/defconfig" +BR2_DL_DIR="$(TOPDIR)/dl" +BR2_HOST_DIR="$(BASE_DIR)/host" + +# +# Mirrors and Download locations +# +BR2_PRIMARY_SITE="" +BR2_BACKUP_SITE="http://sources.buildroot.net" +BR2_KERNEL_MIRROR="https://cdn.kernel.org/pub" +BR2_GNU_MIRROR="http://ftpmirror.gnu.org" +BR2_LUAROCKS_MIRROR="http://rocks.moonscript.org" +BR2_CPAN_MIRROR="http://cpan.metacpan.org" +BR2_JLEVEL=0 +# BR2_CCACHE is not set +# BR2_ENABLE_DEBUG is not set +# BR2_ENABLE_RUNTIME_DEBUG is not set +BR2_STRIP_strip=y +BR2_STRIP_EXCLUDE_FILES="" +BR2_STRIP_EXCLUDE_DIRS="" +# BR2_OPTIMIZE_0 is not set +# BR2_OPTIMIZE_1 is not set +# BR2_OPTIMIZE_2 is not set +BR2_OPTIMIZE_3=y +# BR2_OPTIMIZE_G is not set +# BR2_OPTIMIZE_S is not set +# BR2_OPTIMIZE_FAST is not set +# BR2_STATIC_LIBS is not set +BR2_SHARED_LIBS=y +# BR2_SHARED_STATIC_LIBS is not set +BR2_PACKAGE_OVERRIDE_FILE="$(CONFIG_DIR)/local.mk" +BR2_GLOBAL_PATCH_DIR="" + +# +# Advanced +# +BR2_COMPILER_PARANOID_UNSAFE_PATH=y +# BR2_FORCE_HOST_BUILD is not set +# BR2_REPRODUCIBLE is not set +# BR2_PER_PACKAGE_DIRECTORIES is not set + +# +# Security Hardening Options +# +BR2_PIC_PIE_ARCH_SUPPORTS=y +BR2_PIC_PIE=y +BR2_SSP_NONE=y +# BR2_SSP_REGULAR is not set +# BR2_SSP_STRONG is not set +# BR2_SSP_ALL is not set +BR2_RELRO_NONE=y +# BR2_RELRO_PARTIAL is not set +# BR2_RELRO_FULL is not set +BR2_FORTIFY_SOURCE_ARCH_SUPPORTS=y +BR2_FORTIFY_SOURCE_NONE=y +# BR2_FORTIFY_SOURCE_1 is not set +# BR2_FORTIFY_SOURCE_2 is not set + +# +# Toolchain +# +BR2_TOOLCHAIN=y +BR2_TOOLCHAIN_USES_GLIBC=y +BR2_TOOLCHAIN_BUILDROOT=y +# BR2_TOOLCHAIN_EXTERNAL is not set + +# +# Toolchain Buildroot Options +# +BR2_TOOLCHAIN_BUILDROOT_VENDOR="buildroot" +BR2_TOOLCHAIN_BUILDROOT_GLIBC=y +BR2_TOOLCHAIN_BUILDROOT_LIBC="glibc" + +# +# Kernel Header Options +# +# BR2_KERNEL_HEADERS_4_19 is not set +# BR2_KERNEL_HEADERS_5_4 is not set +# BR2_KERNEL_HEADERS_5_10 is not set +# BR2_KERNEL_HEADERS_5_15 is not set +BR2_KERNEL_HEADERS_5_16=y +# BR2_KERNEL_HEADERS_VERSION is not set +# BR2_KERNEL_HEADERS_CUSTOM_TARBALL is not set +# BR2_KERNEL_HEADERS_CUSTOM_GIT is not set +BR2_KERNEL_HEADERS_LATEST=y +BR2_DEFAULT_KERNEL_HEADERS="5.16.19" +BR2_PACKAGE_LINUX_HEADERS=y + +# +# Glibc Options +# +BR2_PACKAGE_GLIBC=y +# BR2_PACKAGE_GLIBC_KERNEL_COMPAT is not set +# BR2_PACKAGE_GLIBC_UTILS is not set + +# +# Binutils Options +# +BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI=y +# BR2_BINUTILS_VERSION_2_32_X is not set +# BR2_BINUTILS_VERSION_2_35_X is not set +# BR2_BINUTILS_VERSION_2_36_X is not set +BR2_BINUTILS_VERSION_2_37_X=y +BR2_BINUTILS_VERSION="2.37" +BR2_BINUTILS_EXTRA_CONFIG_OPTIONS="" + +# +# GCC Options +# +# BR2_GCC_VERSION_9_X is not set +# BR2_GCC_VERSION_10_X is not set +BR2_GCC_VERSION_11_X=y +BR2_GCC_SUPPORTS_DLANG=y +BR2_GCC_VERSION="11.2.0" +BR2_EXTRA_GCC_CONFIG_OPTIONS="" +BR2_TOOLCHAIN_BUILDROOT_CXX=y +# BR2_TOOLCHAIN_BUILDROOT_FORTRAN is not set +# BR2_TOOLCHAIN_BUILDROOT_DLANG is not set +# BR2_GCC_ENABLE_LTO is not set +# BR2_GCC_ENABLE_OPENMP is not set +# BR2_GCC_ENABLE_GRAPHITE is not set +BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS=y + +# +# Host GDB Options +# +# BR2_PACKAGE_HOST_GDB is not set + +# +# Toolchain Generic Options +# +BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS=y +BR2_TOOLCHAIN_SUPPORTS_VARIADIC_MI_THUNK=y +BR2_USE_WCHAR=y +BR2_ENABLE_LOCALE=y +BR2_INSTALL_LIBSTDCPP=y +BR2_TOOLCHAIN_HAS_THREADS=y +BR2_TOOLCHAIN_HAS_THREADS_DEBUG=y +BR2_TOOLCHAIN_HAS_THREADS_NPTL=y +BR2_TOOLCHAIN_HAS_SSP=y +BR2_TOOLCHAIN_HAS_SSP_STRONG=y +BR2_TOOLCHAIN_HAS_UCONTEXT=y +BR2_TOOLCHAIN_SUPPORTS_PIE=y +# BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY is not set +BR2_TOOLCHAIN_EXTRA_LIBS="" +BR2_TOOLCHAIN_HAS_FULL_GETTEXT=y +BR2_USE_MMU=y +BR2_TARGET_OPTIMIZATION="" +BR2_TARGET_LDFLAGS="" +# BR2_ECLIPSE_REGISTER is not set +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_1=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_5=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_8=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_9=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_14=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_19=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_1=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_2=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_5=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_6=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_7=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_8=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_9=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_10=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_14=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_15=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_17=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_19=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_20=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_1=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_3=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_4=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_5=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_8=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_12=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_13=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_14=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_15=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16=y +BR2_TOOLCHAIN_HEADERS_LATEST=y +BR2_TOOLCHAIN_HEADERS_AT_LEAST="5.16" +BR2_TOOLCHAIN_GCC_AT_LEAST_4_3=y +BR2_TOOLCHAIN_GCC_AT_LEAST_4_4=y +BR2_TOOLCHAIN_GCC_AT_LEAST_4_5=y +BR2_TOOLCHAIN_GCC_AT_LEAST_4_6=y +BR2_TOOLCHAIN_GCC_AT_LEAST_4_7=y +BR2_TOOLCHAIN_GCC_AT_LEAST_4_8=y +BR2_TOOLCHAIN_GCC_AT_LEAST_4_9=y +BR2_TOOLCHAIN_GCC_AT_LEAST_5=y +BR2_TOOLCHAIN_GCC_AT_LEAST_6=y +BR2_TOOLCHAIN_GCC_AT_LEAST_7=y +BR2_TOOLCHAIN_GCC_AT_LEAST_8=y +BR2_TOOLCHAIN_GCC_AT_LEAST_9=y +BR2_TOOLCHAIN_GCC_AT_LEAST_10=y +BR2_TOOLCHAIN_GCC_AT_LEAST_11=y +BR2_TOOLCHAIN_GCC_AT_LEAST="11" +BR2_TOOLCHAIN_HAS_MNAN_OPTION=y +BR2_TOOLCHAIN_HAS_SYNC_1=y +BR2_TOOLCHAIN_HAS_SYNC_2=y +BR2_TOOLCHAIN_HAS_SYNC_4=y +BR2_TOOLCHAIN_HAS_LIBATOMIC=y +BR2_TOOLCHAIN_HAS_ATOMIC=y + +# +# System configuration +# +BR2_ROOTFS_SKELETON_DEFAULT=y +# BR2_ROOTFS_SKELETON_CUSTOM is not set +BR2_TARGET_GENERIC_HOSTNAME="rvc" +BR2_TARGET_GENERIC_ISSUE="Welcome to Linux on VRChat by _pi_" +BR2_TARGET_GENERIC_PASSWD_SHA256=y +# BR2_TARGET_GENERIC_PASSWD_SHA512 is not set +BR2_TARGET_GENERIC_PASSWD_METHOD="sha-256" +# BR2_INIT_BUSYBOX is not set +# BR2_INIT_SYSV is not set +# BR2_INIT_OPENRC is not set +# BR2_INIT_SYSTEMD is not set +BR2_INIT_NONE=y +# BR2_ROOTFS_DEVICE_CREATION_STATIC is not set +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y +# BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV is not set +# BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV is not set +BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt" +# BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES is not set +# BR2_ROOTFS_MERGED_USR is not set +# BR2_TARGET_ENABLE_ROOT_LOGIN is not set +BR2_SYSTEM_BIN_SH_BUSYBOX=y + +# +# bash, dash, mksh, zsh need BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +# +# BR2_SYSTEM_BIN_SH_NONE is not set +# BR2_TARGET_GENERIC_GETTY is not set +# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set +BR2_SYSTEM_DHCP="" +BR2_SYSTEM_DEFAULT_PATH="/bin:/sbin:/usr/bin:/usr/sbin" +BR2_ENABLE_LOCALE_PURGE=y +BR2_ENABLE_LOCALE_WHITELIST="C en_US" +BR2_GENERATE_LOCALE="" +# BR2_SYSTEM_ENABLE_NLS is not set +BR2_TARGET_TZ_INFO=y +BR2_TARGET_TZ_ZONELIST="default" +BR2_TARGET_LOCALTIME="Etc/UTC" +BR2_ROOTFS_USERS_TABLES="" +BR2_ROOTFS_OVERLAY="" +BR2_ROOTFS_PRE_BUILD_SCRIPT="" +BR2_ROOTFS_POST_BUILD_SCRIPT="../guest-root/install.sh" +BR2_ROOTFS_POST_FAKEROOT_SCRIPT="" +BR2_ROOTFS_POST_IMAGE_SCRIPT="" +BR2_ROOTFS_POST_SCRIPT_ARGS="" + +# +# Kernel +# +# BR2_LINUX_KERNEL is not set + +# +# Target packages +# +BR2_PACKAGE_BUSYBOX=y +BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox.config" +BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="" +# BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set +# BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES is not set +# BR2_PACKAGE_BUSYBOX_WATCHDOG is not set +BR2_PACKAGE_SKELETON=y +BR2_PACKAGE_HAS_SKELETON=y +BR2_PACKAGE_PROVIDES_SKELETON="skeleton-init-none" +BR2_PACKAGE_SKELETON_INIT_COMMON=y +BR2_PACKAGE_SKELETON_INIT_NONE=y + +# +# Audio and video applications +# +# BR2_PACKAGE_ALSA_UTILS is not set +# BR2_PACKAGE_ATEST is not set +# BR2_PACKAGE_AUMIX is not set +# BR2_PACKAGE_BLUEZ_ALSA is not set +# BR2_PACKAGE_DVBLAST is not set +# BR2_PACKAGE_DVDAUTHOR is not set +# BR2_PACKAGE_DVDRW_TOOLS is not set +# BR2_PACKAGE_ESPEAK is not set +# BR2_PACKAGE_FAAD2 is not set +BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS=y +# BR2_PACKAGE_FFMPEG is not set +# BR2_PACKAGE_FLAC is not set +# BR2_PACKAGE_FLITE is not set +# BR2_PACKAGE_FLUID_SOUNDFONT is not set +# BR2_PACKAGE_FLUIDSYNTH is not set +# BR2_PACKAGE_GMRENDER_RESURRECT is not set +# BR2_PACKAGE_GSTREAMER1 is not set +# BR2_PACKAGE_JACK1 is not set +# BR2_PACKAGE_JACK2 is not set +BR2_PACKAGE_KODI_ARCH_SUPPORTS=y + +# +# kodi needs python3 w/ .py modules, a uClibc or glibc toolchain w/ C++, threads, wchar, dynamic library, gcc >= 4.9 +# + +# +# kodi needs an OpenGL EGL backend with OpenGL or GLES support +# +# BR2_PACKAGE_LAME is not set +# BR2_PACKAGE_MADPLAY is not set +# BR2_PACKAGE_MIMIC is not set +# BR2_PACKAGE_MINIMODEM is not set + +# +# miraclecast needs systemd and a glibc toolchain w/ threads and wchar +# +# BR2_PACKAGE_MJPEGTOOLS is not set +# BR2_PACKAGE_MODPLUGTOOLS is not set +# BR2_PACKAGE_MOTION is not set +# BR2_PACKAGE_MPD is not set +# BR2_PACKAGE_MPD_MPC is not set +# BR2_PACKAGE_MPG123 is not set +# BR2_PACKAGE_MPV is not set +# BR2_PACKAGE_MULTICAT is not set +# BR2_PACKAGE_MUSEPACK is not set +# BR2_PACKAGE_NCMPC is not set +# BR2_PACKAGE_OPUS_TOOLS is not set +BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC=y +# BR2_PACKAGE_PULSEAUDIO is not set +# BR2_PACKAGE_SOX is not set +# BR2_PACKAGE_SQUEEZELITE is not set +# BR2_PACKAGE_TOVID is not set +# BR2_PACKAGE_TSTOOLS is not set +# BR2_PACKAGE_TWOLAME is not set +# BR2_PACKAGE_UDPXY is not set +# BR2_PACKAGE_UPMPDCLI is not set +# BR2_PACKAGE_V4L2GRAB is not set + +# +# v4l2loopback needs a Linux kernel to be built +# +# BR2_PACKAGE_VORBIS_TOOLS is not set +# BR2_PACKAGE_WAVPACK is not set +# BR2_PACKAGE_YAVTA is not set +# BR2_PACKAGE_YMPD is not set +# BR2_PACKAGE_ZYNADDSUBFX is not set + +# +# Compressors and decompressors +# +# BR2_PACKAGE_BROTLI is not set +# BR2_PACKAGE_BZIP2 is not set +# BR2_PACKAGE_LRZIP is not set +# BR2_PACKAGE_LZIP is not set +# BR2_PACKAGE_LZOP is not set +# BR2_PACKAGE_P7ZIP is not set +# BR2_PACKAGE_PIGZ is not set +# BR2_PACKAGE_PIXZ is not set +# BR2_PACKAGE_UNRAR is not set +# BR2_PACKAGE_XZ is not set +# BR2_PACKAGE_ZIP is not set +# BR2_PACKAGE_ZSTD is not set + +# +# Debugging, profiling and benchmark +# +# BR2_PACKAGE_BABELTRACE2 is not set +# BR2_PACKAGE_BLKTRACE is not set +# BR2_PACKAGE_BONNIE is not set +# BR2_PACKAGE_CACHE_CALIBRATOR is not set + +# +# clinfo needs an OpenCL provider +# +# BR2_PACKAGE_COREMARK is not set +# BR2_PACKAGE_COREMARK_PRO is not set + +# +# dacapo needs OpenJDK +# +# BR2_PACKAGE_DHRYSTONE is not set +# BR2_PACKAGE_DIEHARDER is not set +# BR2_PACKAGE_DMALLOC is not set +# BR2_PACKAGE_DROPWATCH is not set +# BR2_PACKAGE_DSTAT is not set +# BR2_PACKAGE_DT is not set +# BR2_PACKAGE_DUMA is not set +# BR2_PACKAGE_FIO is not set +BR2_PACKAGE_GDB_ARCH_SUPPORTS=y +# BR2_PACKAGE_GDB is not set +# BR2_PACKAGE_IOZONE is not set + +# +# ktap needs a Linux kernel to be built +# +# BR2_PACKAGE_LATENCYTOP is not set +# BR2_PACKAGE_LMBENCH is not set +BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS=y +# BR2_PACKAGE_LTP_TESTSUITE is not set +# BR2_PACKAGE_LTTNG_BABELTRACE is not set + +# +# lttng-modules needs a Linux kernel to be built +# +# BR2_PACKAGE_LTTNG_TOOLS is not set +# BR2_PACKAGE_MEMSTAT is not set +# BR2_PACKAGE_NETPERF is not set +# BR2_PACKAGE_NETSNIFF_NG is not set +# BR2_PACKAGE_NMON is not set +# BR2_PACKAGE_PAX_UTILS is not set +# BR2_PACKAGE_POKE is not set +# BR2_PACKAGE_PV is not set +# BR2_PACKAGE_RAMSMP is not set +# BR2_PACKAGE_RAMSPEED is not set +# BR2_PACKAGE_RT_TESTS is not set +# BR2_PACKAGE_RWMEM is not set +# BR2_PACKAGE_SPIDEV_TEST is not set +# BR2_PACKAGE_STRESS is not set +# BR2_PACKAGE_STRESS_NG is not set + +# +# sysdig needs a glibc or uclibc toolchain w/ C++, threads, gcc >= 4.8, dynamic library, a Linux kernel, and luajit or lua 5.1 to be built +# +# BR2_PACKAGE_TINYMEMBENCH is not set +# BR2_PACKAGE_TRACE_CMD is not set +# BR2_PACKAGE_UCLIBC_NG_TEST is not set +# BR2_PACKAGE_VMTOUCH is not set +# BR2_PACKAGE_WHETSTONE is not set + +# +# Development tools +# +BR2_PACKAGE_BINUTILS=y +BR2_PACKAGE_BINUTILS_TARGET=y +# BR2_PACKAGE_BITWISE is not set +# BR2_PACKAGE_BSDIFF is not set +# BR2_PACKAGE_CHECK is not set +# BR2_PACKAGE_CPPUNIT is not set +# BR2_PACKAGE_CUKINIA is not set +# BR2_PACKAGE_CUNIT is not set +# BR2_PACKAGE_CVS is not set +# BR2_PACKAGE_CXXTEST is not set +# BR2_PACKAGE_FLEX is not set +BR2_PACKAGE_GCC_TARGET=y +BR2_EXTRA_TARGET_GCC_CONFIG_OPTIONS="" +# BR2_PACKAGE_GETTEXT is not set +BR2_PACKAGE_PROVIDES_HOST_GETTEXT="host-gettext-tiny" +# BR2_PACKAGE_GIT is not set +# BR2_PACKAGE_GIT_CRYPT is not set +# BR2_PACKAGE_GPERF is not set +# BR2_PACKAGE_JO is not set +# BR2_PACKAGE_JQ is not set +# BR2_PACKAGE_LIBTOOL is not set +BR2_PACKAGE_MAKE=y +# BR2_PACKAGE_MAWK is not set +# BR2_PACKAGE_PKGCONF is not set +# BR2_PACKAGE_SUBVERSION is not set +# BR2_PACKAGE_TREE is not set + +# +# Filesystem and flash utilities +# +# BR2_PACKAGE_ABOOTIMG is not set + +# +# aufs-util needs a linux kernel and a toolchain w/ threads +# +# BR2_PACKAGE_AUTOFS is not set +# BR2_PACKAGE_BMAP_TOOLS is not set +# BR2_PACKAGE_BTRFS_PROGS is not set +# BR2_PACKAGE_CIFS_UTILS is not set +# BR2_PACKAGE_CPIO is not set +# BR2_PACKAGE_CRAMFS is not set +# BR2_PACKAGE_CURLFTPFS is not set +# BR2_PACKAGE_DAVFS2 is not set +# BR2_PACKAGE_DOSFSTOOLS is not set +# BR2_PACKAGE_E2FSPROGS is not set +# BR2_PACKAGE_E2TOOLS is not set +# BR2_PACKAGE_ECRYPTFS_UTILS is not set +# BR2_PACKAGE_EROFS_UTILS is not set +# BR2_PACKAGE_EXFAT is not set +# BR2_PACKAGE_EXFAT_UTILS is not set +# BR2_PACKAGE_EXFATPROGS is not set +# BR2_PACKAGE_F2FS_TOOLS is not set +# BR2_PACKAGE_FIRMWARE_UTILS is not set +# BR2_PACKAGE_FLASHBENCH is not set +# BR2_PACKAGE_FSCRYPTCTL is not set +# BR2_PACKAGE_FUSE_OVERLAYFS is not set +# BR2_PACKAGE_FWUP is not set +# BR2_PACKAGE_GENEXT2FS is not set +# BR2_PACKAGE_GENPART is not set +# BR2_PACKAGE_GENROMFS is not set +# BR2_PACKAGE_IMX_USB_LOADER is not set +# BR2_PACKAGE_MMC_UTILS is not set +# BR2_PACKAGE_MTD is not set +# BR2_PACKAGE_MTOOLS is not set +# BR2_PACKAGE_NFS_UTILS is not set +# BR2_PACKAGE_NILFS_UTILS is not set +# BR2_PACKAGE_NTFS_3G is not set +# BR2_PACKAGE_SP_OOPS_EXTRACT is not set +# BR2_PACKAGE_SQUASHFS is not set +# BR2_PACKAGE_SSHFS is not set +# BR2_PACKAGE_UDFTOOLS is not set +# BR2_PACKAGE_UNIONFS is not set +# BR2_PACKAGE_XFSPROGS is not set + +# +# zfs needs a Linux kernel to be built +# + +# +# Fonts, cursors, icons, sounds and themes +# + +# +# Cursors +# +# BR2_PACKAGE_COMIX_CURSORS is not set +# BR2_PACKAGE_OBSIDIAN_CURSORS is not set + +# +# Fonts +# +# BR2_PACKAGE_BITSTREAM_VERA is not set +# BR2_PACKAGE_CANTARELL is not set +# BR2_PACKAGE_DEJAVU is not set +# BR2_PACKAGE_FONT_AWESOME is not set +# BR2_PACKAGE_GHOSTSCRIPT_FONTS is not set +# BR2_PACKAGE_INCONSOLATA is not set +# BR2_PACKAGE_LIBERATION is not set +# BR2_PACKAGE_WQY_ZENHEI is not set + +# +# Icons +# +# BR2_PACKAGE_GOOGLE_MATERIAL_DESIGN_ICONS is not set +# BR2_PACKAGE_HICOLOR_ICON_THEME is not set + +# +# Sounds +# +# BR2_PACKAGE_SOUND_THEME_BOREALIS is not set +# BR2_PACKAGE_SOUND_THEME_FREEDESKTOP is not set + +# +# Themes +# + +# +# Games +# +# BR2_PACKAGE_ASCII_INVADERS is not set +# BR2_PACKAGE_CHOCOLATE_DOOM is not set +# BR2_PACKAGE_FLARE_ENGINE is not set +# BR2_PACKAGE_FROTZ is not set +# BR2_PACKAGE_GNUCHESS is not set +# BR2_PACKAGE_LBREAKOUT2 is not set +# BR2_PACKAGE_LTRIS is not set + +# +# minetest needs X11 and an OpenGL provider +# +# BR2_PACKAGE_OPENTYRIAN is not set +# BR2_PACKAGE_PRBOOM is not set +BR2_PACKAGE_SL=y + +# +# solarus needs OpenGL and a toolchain w/ C++, gcc >= 4.9, NPTL, dynamic library, and luajit or lua 5.1 +# +# BR2_PACKAGE_STELLA is not set +# BR2_PACKAGE_XORCURSES is not set + +# +# Graphic libraries and applications (graphic/text) +# + +# +# Graphic applications +# + +# +# cage needs udev, EGL w/ Wayland backend and OpenGL ES support +# + +# +# cog needs wpewebkit and a toolchain w/ threads +# +# BR2_PACKAGE_FSWEBCAM is not set +# BR2_PACKAGE_GHOSTSCRIPT is not set + +# +# glmark2 needs an OpenGL or an openGL ES and EGL backend +# + +# +# glslsandbox-player needs a toolchain w/ threads and an openGL ES and EGL driver +# +# BR2_PACKAGE_GNUPLOT is not set +# BR2_PACKAGE_JHEAD is not set + +# +# kmscube needs EGL, GBM and OpenGL ES, and a toolchain w/ thread support +# +# BR2_PACKAGE_LIBVA_UTILS is not set +BR2_PACKAGE_NETSURF_ARCH_SUPPORTS=y +# BR2_PACKAGE_NETSURF is not set +# BR2_PACKAGE_PNGQUANT is not set +# BR2_PACKAGE_RRDTOOL is not set + +# +# stellarium needs Qt5 and an OpenGL provider +# +# BR2_PACKAGE_TESSERACT_OCR is not set + +# +# Graphic libraries +# +# BR2_PACKAGE_CEGUI is not set +# BR2_PACKAGE_FB_TEST_APP is not set +# BR2_PACKAGE_FBDUMP is not set +# BR2_PACKAGE_FBGRAB is not set +# BR2_PACKAGE_FBTERM is not set +# BR2_PACKAGE_FBV is not set +# BR2_PACKAGE_FREERDP is not set +# BR2_PACKAGE_GRAPHICSMAGICK is not set +# BR2_PACKAGE_IMAGEMAGICK is not set +# BR2_PACKAGE_LIBGLVND is not set + +# +# linux-fusion needs a Linux kernel to be built +# +# BR2_PACKAGE_MESA3D is not set +# BR2_PACKAGE_OCRAD is not set + +# +# ogre needs X11 and an OpenGL provider +# +# BR2_PACKAGE_PSPLASH is not set +# BR2_PACKAGE_SDL is not set +# BR2_PACKAGE_SDL2 is not set +# BR2_PACKAGE_VULKAN_HEADERS is not set + +# +# Other GUIs +# +# BR2_PACKAGE_QT5 is not set + +# +# tekui needs a Lua interpreter and a toolchain w/ threads, dynamic library +# + +# +# weston needs udev and a toolchain w/ locale, threads, dynamic library, headers >= 3.0 +# +# BR2_PACKAGE_XORG7 is not set +# BR2_PACKAGE_APITRACE is not set + +# +# vte needs an OpenGL or an OpenGL-EGL/wayland backend +# +# BR2_PACKAGE_XKEYBOARD_CONFIG is not set + +# +# Hardware handling +# + +# +# Firmware +# +# BR2_PACKAGE_ARMBIAN_FIRMWARE is not set +# BR2_PACKAGE_B43_FIRMWARE is not set +# BR2_PACKAGE_LINUX_FIRMWARE is not set +# BR2_PACKAGE_MURATA_CYW_FW is not set +# BR2_PACKAGE_ODROIDC2_FIRMWARE is not set +# BR2_PACKAGE_QCOM_DB410C_FIRMWARE is not set +# BR2_PACKAGE_RCW_SMARC_SAL28 is not set +# BR2_PACKAGE_UX500_FIRMWARE is not set +# BR2_PACKAGE_WILC1000_FIRMWARE is not set +# BR2_PACKAGE_WILINK_BT_FIRMWARE is not set +# BR2_PACKAGE_ZD1211_FIRMWARE is not set +# BR2_PACKAGE_18XX_TI_UTILS is not set +# BR2_PACKAGE_ACPICA is not set +# BR2_PACKAGE_ACPID is not set +# BR2_PACKAGE_ACPITOOL is not set +# BR2_PACKAGE_AER_INJECT is not set +# BR2_PACKAGE_ALTERA_STAPL is not set +# BR2_PACKAGE_APCUPSD is not set +# BR2_PACKAGE_AVRDUDE is not set + +# +# bcache-tools needs udev /dev management +# + +# +# brickd needs udev /dev management, a toolchain w/ threads, wchar +# +# BR2_PACKAGE_BRLTTY is not set +# BR2_PACKAGE_CC_TOOL is not set +# BR2_PACKAGE_CDRKIT is not set +# BR2_PACKAGE_CRYPTSETUP is not set +# BR2_PACKAGE_CWIID is not set + +# +# dahdi-linux needs a Linux kernel to be built +# + +# +# dahdi-tools needs a toolchain w/ threads and a Linux kernel to be built +# +# BR2_PACKAGE_DBUS is not set +# BR2_PACKAGE_DBUS_CXX is not set +# BR2_PACKAGE_DFU_UTIL is not set +# BR2_PACKAGE_DMRAID is not set + +# +# dt-utils needs udev /dev management +# + +# +# dtbocfg needs a Linux kernel to be built +# +# BR2_PACKAGE_DTV_SCAN_TABLES is not set +# BR2_PACKAGE_DUMP1090 is not set +# BR2_PACKAGE_DVB_APPS is not set +# BR2_PACKAGE_DVBSNOOP is not set +# BR2_PACKAGE_EDID_DECODE is not set + +# +# edid-decode needs a toolchain w/ C++, gcc >= 4.7 +# + +# +# eudev needs eudev /dev management +# +# BR2_PACKAGE_EVEMU is not set +# BR2_PACKAGE_EVTEST is not set +# BR2_PACKAGE_FAN_CTRL is not set +# BR2_PACKAGE_FCONFIG is not set +BR2_PACKAGE_FLASHROM_ARCH_SUPPORTS=y +# BR2_PACKAGE_FLASHROM is not set +# BR2_PACKAGE_FMTOOLS is not set +# BR2_PACKAGE_FREEIPMI is not set +# BR2_PACKAGE_FXLOAD is not set +# BR2_PACKAGE_GPM is not set +# BR2_PACKAGE_GPSD is not set +# BR2_PACKAGE_GPTFDISK is not set +# BR2_PACKAGE_GVFS is not set +# BR2_PACKAGE_HWDATA is not set +# BR2_PACKAGE_HWLOC is not set +# BR2_PACKAGE_INPUT_EVENT_DAEMON is not set +# BR2_PACKAGE_IPMITOOL is not set +# BR2_PACKAGE_IRDA_UTILS is not set +# BR2_PACKAGE_KBD is not set +# BR2_PACKAGE_LCDPROC is not set +# BR2_PACKAGE_LIBIEC61850 is not set +# BR2_PACKAGE_LIBUBOOTENV is not set +# BR2_PACKAGE_LIBUIO is not set + +# +# linux-backports needs a Linux kernel to be built +# +# BR2_PACKAGE_LINUX_SERIAL_TEST is not set +# BR2_PACKAGE_LINUXCONSOLETOOLS is not set +# BR2_PACKAGE_LIRC_TOOLS is not set +# BR2_PACKAGE_LM_SENSORS is not set +# BR2_PACKAGE_LSHW is not set +# BR2_PACKAGE_LSSCSI is not set +# BR2_PACKAGE_LSUIO is not set +# BR2_PACKAGE_LUKSMETA is not set +# BR2_PACKAGE_LVM2 is not set + +# +# mali-driver needs a Linux kernel to be built +# +# BR2_PACKAGE_MBPFAN is not set +# BR2_PACKAGE_MDADM is not set +# BR2_PACKAGE_MDEVD is not set +# BR2_PACKAGE_MEMTESTER is not set +# BR2_PACKAGE_MEMTOOL is not set +# BR2_PACKAGE_MINICOM is not set +# BR2_PACKAGE_NANOCOM is not set +# BR2_PACKAGE_NEARD is not set +# BR2_PACKAGE_NVIDIA_MODPROBE is not set +# BR2_PACKAGE_NVME is not set +# BR2_PACKAGE_OFONO is not set +# BR2_PACKAGE_OPEN2300 is not set +# BR2_PACKAGE_OPENFPGALOADER is not set +# BR2_PACKAGE_OPENIPMI is not set +# BR2_PACKAGE_OPENOCD is not set +# BR2_PACKAGE_PARTED is not set +# BR2_PACKAGE_PCIUTILS is not set +# BR2_PACKAGE_PDBG is not set +# BR2_PACKAGE_PICOCOM is not set +# BR2_PACKAGE_POWERTOP is not set +# BR2_PACKAGE_PPS_TOOLS is not set +# BR2_PACKAGE_QORIQ_CADENCE_DP_FIRMWARE is not set +# BR2_PACKAGE_RASPI_GPIO is not set +# BR2_PACKAGE_READ_EDID is not set +# BR2_PACKAGE_RNG_TOOLS is not set +# BR2_PACKAGE_RS485CONF is not set +# BR2_PACKAGE_RTC_TOOLS is not set + +# +# rtl8188eu needs a Linux kernel to be built +# + +# +# rtl8189es needs a Linux kernel to be built +# + +# +# rtl8189fs needs a Linux kernel to be built +# + +# +# rtl8723bs needs a Linux kernel to be built +# + +# +# rtl8723bu needs a Linux kernel to be built +# + +# +# rtl8812au-aircrack-ng needs a Linux kernel to be built +# + +# +# rtl8821au needs a Linux kernel to be built +# +# BR2_PACKAGE_SANE_BACKENDS is not set +# BR2_PACKAGE_SDPARM is not set +# BR2_PACKAGE_SETSERIAL is not set +# BR2_PACKAGE_SG3_UTILS is not set +# BR2_PACKAGE_SIGROK_CLI is not set +# BR2_PACKAGE_SISPMCTL is not set +# BR2_PACKAGE_SMARTMONTOOLS is not set +# BR2_PACKAGE_SMSTOOLS3 is not set +# BR2_PACKAGE_SPI_TOOLS is not set +# BR2_PACKAGE_SREDIRD is not set +# BR2_PACKAGE_STATSERIAL is not set +# BR2_PACKAGE_STM32FLASH is not set +# BR2_PACKAGE_SYSSTAT is not set +# BR2_PACKAGE_TARGETCLI_FB is not set +# BR2_PACKAGE_TI_UIM is not set +# BR2_PACKAGE_TI_UTILS is not set +# BR2_PACKAGE_TIO is not set +# BR2_PACKAGE_TRIGGERHAPPY is not set +# BR2_PACKAGE_UBOOT_TOOLS is not set +# BR2_PACKAGE_UBUS is not set + +# +# uccp420wlan needs a Linux kernel >= 4.2 to be built +# + +# +# udisks needs udev /dev management +# +# BR2_PACKAGE_UHUBCTL is not set +# BR2_PACKAGE_UMTPRD is not set + +# +# upower needs udev /dev management +# +# BR2_PACKAGE_USB_MODESWITCH is not set +# BR2_PACKAGE_USB_MODESWITCH_DATA is not set +# BR2_PACKAGE_USBGUARD is not set + +# +# usbmount requires udev to be enabled +# + +# +# usbutils needs udev /dev management and toolchain w/ threads, gcc >= 4.9 +# +# BR2_PACKAGE_W_SCAN is not set +# BR2_PACKAGE_WIPE is not set +# BR2_PACKAGE_XORRISO is not set + +# +# xr819-xradio driver needs a Linux kernel to be built +# + +# +# Interpreter languages and scripting +# +# BR2_PACKAGE_4TH is not set +# BR2_PACKAGE_ENSCRIPT is not set +BR2_PACKAGE_HOST_ERLANG_ARCH_SUPPORTS=y +# BR2_PACKAGE_EXECLINE is not set +# BR2_PACKAGE_FICL is not set +# BR2_PACKAGE_GUILE is not set +# BR2_PACKAGE_HASERL is not set +# BR2_PACKAGE_JANET is not set +# BR2_PACKAGE_JIMTCL is not set +# BR2_PACKAGE_LUA is not set +BR2_PACKAGE_PROVIDES_HOST_LUAINTERPRETER="host-lua" +# BR2_PACKAGE_MICROPYTHON is not set +# BR2_PACKAGE_MOARVM is not set +BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS=y +BR2_PACKAGE_HOST_OPENJDK_BIN_ARCH_SUPPORTS=y +# BR2_PACKAGE_PERL is not set +# BR2_PACKAGE_PHP is not set +BR2_PACKAGE_PYTHON3=y +# BR2_PACKAGE_PYTHON3_PY_ONLY is not set +BR2_PACKAGE_PYTHON3_PYC_ONLY=y +# BR2_PACKAGE_PYTHON3_PY_PYC is not set + +# +# core python3 modules +# + +# +# The following modules are unusual or require extra libraries +# +# BR2_PACKAGE_PYTHON3_2TO3 is not set +# BR2_PACKAGE_PYTHON3_BERKELEYDB is not set +# BR2_PACKAGE_PYTHON3_BZIP2 is not set +# BR2_PACKAGE_PYTHON3_CODECSCJK is not set +BR2_PACKAGE_PYTHON3_CURSES=y +BR2_PACKAGE_PYTHON3_DECIMAL=y +# BR2_PACKAGE_PYTHON3_OSSAUDIODEV is not set +BR2_PACKAGE_PYTHON3_READLINE=y +# BR2_PACKAGE_PYTHON3_SSL is not set +# BR2_PACKAGE_PYTHON3_UNICODEDATA is not set +# BR2_PACKAGE_PYTHON3_SQLITE is not set +# BR2_PACKAGE_PYTHON3_PYEXPAT is not set +# BR2_PACKAGE_PYTHON3_XZ is not set +# BR2_PACKAGE_PYTHON3_ZLIB is not set + +# +# External python modules +# +# BR2_PACKAGE_PYTHON_AENUM is not set +# BR2_PACKAGE_PYTHON_AEXPECT is not set +# BR2_PACKAGE_PYTHON_AIOBLESCAN is not set +# BR2_PACKAGE_PYTHON_AIOCOAP is not set +# BR2_PACKAGE_PYTHON_AIOCONSOLE is not set +# BR2_PACKAGE_PYTHON_AIODNS is not set +# BR2_PACKAGE_PYTHON_AIOFILES is not set +# BR2_PACKAGE_PYTHON_AIOHTTP is not set +# BR2_PACKAGE_PYTHON_AIOHTTP_CORS is not set +# BR2_PACKAGE_PYTHON_AIOHTTP_DEBUGTOOLBAR is not set +# BR2_PACKAGE_PYTHON_AIOHTTP_JINJA2 is not set +# BR2_PACKAGE_PYTHON_AIOHTTP_MAKO is not set +# BR2_PACKAGE_PYTHON_AIOHTTP_REMOTES is not set +# BR2_PACKAGE_PYTHON_AIOHTTP_SECURITY is not set +# BR2_PACKAGE_PYTHON_AIOHTTP_SESSION is not set +# BR2_PACKAGE_PYTHON_AIOHTTP_SSE is not set +# BR2_PACKAGE_PYTHON_AIOJOBS is not set +# BR2_PACKAGE_PYTHON_AIOLOGSTASH is not set +# BR2_PACKAGE_PYTHON_AIOMONITOR is not set +# BR2_PACKAGE_PYTHON_AIOPROCESSING is not set +# BR2_PACKAGE_PYTHON_AIOREDIS is not set +# BR2_PACKAGE_PYTHON_AIORWLOCK is not set +# BR2_PACKAGE_PYTHON_AIOSIGNAL is not set +# BR2_PACKAGE_PYTHON_AIOZIPKIN is not set +# BR2_PACKAGE_PYTHON_ALSAAUDIO is not set +# BR2_PACKAGE_PYTHON_ANSICOLORS is not set +# BR2_PACKAGE_PYTHON_ARGH is not set +# BR2_PACKAGE_PYTHON_ARGON2_CFFI is not set +# BR2_PACKAGE_PYTHON_ARGON2_CFFI_BINDINGS is not set +# BR2_PACKAGE_PYTHON_ARROW is not set +# BR2_PACKAGE_PYTHON_ASGIREF is not set +# BR2_PACKAGE_PYTHON_ASN1CRYPTO is not set +# BR2_PACKAGE_PYTHON_ASYNC_LRU is not set +# BR2_PACKAGE_PYTHON_ASYNC_TIMEOUT is not set +# BR2_PACKAGE_PYTHON_ATTRS is not set +# BR2_PACKAGE_PYTHON_AUGEAS is not set +# BR2_PACKAGE_PYTHON_AUTOMAT is not set +# BR2_PACKAGE_PYTHON_AVRO is not set +# BR2_PACKAGE_PYTHON_BABEL is not set +# BR2_PACKAGE_PYTHON_BACKCALL is not set +# BR2_PACKAGE_PYTHON_BCRYPT is not set +# BR2_PACKAGE_PYTHON_BEAUTIFULSOUP4 is not set +# BR2_PACKAGE_PYTHON_BIDICT is not set +# BR2_PACKAGE_PYTHON_BITSTRING is not set +# BR2_PACKAGE_PYTHON_BLEAK is not set +# BR2_PACKAGE_PYTHON_BLUEZERO is not set +# BR2_PACKAGE_PYTHON_BOTO3 is not set +# BR2_PACKAGE_PYTHON_BOTOCORE is not set +# BR2_PACKAGE_PYTHON_BOTTLE is not set +# BR2_PACKAGE_PYTHON_BROTLI is not set +# BR2_PACKAGE_PYTHON_BSDIFF4 is not set +# BR2_PACKAGE_PYTHON_BUNCH is not set +# BR2_PACKAGE_PYTHON_CACHED_PROPERTY is not set +# BR2_PACKAGE_PYTHON_CAN is not set +# BR2_PACKAGE_PYTHON_CANOPEN is not set +# BR2_PACKAGE_PYTHON_CBOR is not set +# BR2_PACKAGE_PYTHON_CBOR2 is not set +# BR2_PACKAGE_PYTHON_CCHARDET is not set +# BR2_PACKAGE_PYTHON_CERTIFI is not set +# BR2_PACKAGE_PYTHON_CFFI is not set +# BR2_PACKAGE_PYTHON_CHARACTERISTIC is not set +# BR2_PACKAGE_PYTHON_CHARDET is not set +# BR2_PACKAGE_PYTHON_CHARSET_NORMALIZER is not set +# BR2_PACKAGE_PYTHON_CHEETAH is not set +# BR2_PACKAGE_PYTHON_CHEROOT is not set +# BR2_PACKAGE_PYTHON_CHERRYPY is not set +# BR2_PACKAGE_PYTHON_CLICK is not set +# BR2_PACKAGE_PYTHON_COLORAMA is not set +# BR2_PACKAGE_PYTHON_COLORLOG is not set +# BR2_PACKAGE_PYTHON_COLORZERO is not set +# BR2_PACKAGE_PYTHON_CONFIGSHELL_FB is not set +# BR2_PACKAGE_PYTHON_CONSTANTLY is not set +# BR2_PACKAGE_PYTHON_COUCHDB is not set +# BR2_PACKAGE_PYTHON_CRAYONS is not set +# BR2_PACKAGE_PYTHON_CRC16 is not set +# BR2_PACKAGE_PYTHON_CRCMOD is not set +# BR2_PACKAGE_PYTHON_CRONTAB is not set +# BR2_PACKAGE_PYTHON_CSSSELECT is not set +# BR2_PACKAGE_PYTHON_CSSSELECT2 is not set +# BR2_PACKAGE_PYTHON_CSSUTILS is not set +# BR2_PACKAGE_PYTHON_CYCLER is not set +# BR2_PACKAGE_PYTHON_DAEMON is not set +# BR2_PACKAGE_PYTHON_DAEMONIZE is not set +# BR2_PACKAGE_PYTHON_DATAPROPERTY is not set +# BR2_PACKAGE_PYTHON_DATEUTIL is not set +# BR2_PACKAGE_PYTHON_DBUS_NEXT is not set +# BR2_PACKAGE_PYTHON_DECORATOR is not set +# BR2_PACKAGE_PYTHON_DEFUSEDXML is not set +# BR2_PACKAGE_PYTHON_DIALOG3 is not set +# BR2_PACKAGE_PYTHON_DICTTOXML is not set +# BR2_PACKAGE_PYTHON_DISTRO is not set +# BR2_PACKAGE_PYTHON_DJANGO is not set +# BR2_PACKAGE_PYTHON_DJANGO_ENUMFIELDS is not set +# BR2_PACKAGE_PYTHON_DNSPYTHON is not set +# BR2_PACKAGE_PYTHON_DOCKER is not set +# BR2_PACKAGE_PYTHON_DOCKER_PYCREDS is not set +# BR2_PACKAGE_PYTHON_DOCKERPTY is not set +# BR2_PACKAGE_PYTHON_DOCOPT is not set +# BR2_PACKAGE_PYTHON_DOCUTILS is not set +# BR2_PACKAGE_PYTHON_DOMINATE is not set +# BR2_PACKAGE_PYTHON_DPKT is not set +# BR2_PACKAGE_PYTHON_ECDSA is not set +# BR2_PACKAGE_PYTHON_ENGINEIO is not set +# BR2_PACKAGE_PYTHON_ENTRYPOINTS is not set +# BR2_PACKAGE_PYTHON_ESPTOOL is not set +# BR2_PACKAGE_PYTHON_FALCON is not set +# BR2_PACKAGE_PYTHON_FILELOCK is not set +# BR2_PACKAGE_PYTHON_FIRE is not set +# BR2_PACKAGE_PYTHON_FLASK is not set +# BR2_PACKAGE_PYTHON_FLASK_BABEL is not set +# BR2_PACKAGE_PYTHON_FLASK_CORS is not set +# BR2_PACKAGE_PYTHON_FLASK_EXPECTS_JSON is not set +# BR2_PACKAGE_PYTHON_FLASK_JSONRPC is not set +# BR2_PACKAGE_PYTHON_FLASK_LOGIN is not set +# BR2_PACKAGE_PYTHON_FLASK_SQLALCHEMY is not set +# BR2_PACKAGE_PYTHON_FLASK_WTF is not set +# BR2_PACKAGE_PYTHON_FLATBUFFERS is not set +# BR2_PACKAGE_PYTHON_FLUP is not set +# BR2_PACKAGE_PYTHON_FONTTOOLS is not set +# BR2_PACKAGE_PYTHON_FROZENLIST is not set +# BR2_PACKAGE_PYTHON_FUTURE is not set +# BR2_PACKAGE_PYTHON_GIT is not set +# BR2_PACKAGE_PYTHON_GITDB2 is not set +# BR2_PACKAGE_PYTHON_GNUPG is not set +# BR2_PACKAGE_PYTHON_GOBJECT is not set +BR2_PACKAGE_PYTHON_GREENLET_ARCH_SUPPORTS=y +# BR2_PACKAGE_PYTHON_GREENLET is not set +# BR2_PACKAGE_PYTHON_GUNICORN is not set +# BR2_PACKAGE_PYTHON_H2 is not set +# BR2_PACKAGE_PYTHON_HIREDIS is not set +# BR2_PACKAGE_PYTHON_HPACK is not set +# BR2_PACKAGE_PYTHON_HTML5LIB is not set +# BR2_PACKAGE_PYTHON_HTTPLIB2 is not set +# BR2_PACKAGE_PYTHON_HUEPY is not set +# BR2_PACKAGE_PYTHON_HUMANIZE is not set +# BR2_PACKAGE_PYTHON_HYPERFRAME is not set +# BR2_PACKAGE_PYTHON_HYPERLINK is not set +# BR2_PACKAGE_PYTHON_IBMIOTF is not set +# BR2_PACKAGE_PYTHON_IDNA is not set +# BR2_PACKAGE_PYTHON_IFADDR is not set +# BR2_PACKAGE_PYTHON_INCREMENTAL is not set +# BR2_PACKAGE_PYTHON_INFLECTION is not set +# BR2_PACKAGE_PYTHON_INFLUXDB is not set +# BR2_PACKAGE_PYTHON_INICONFIG is not set +# BR2_PACKAGE_PYTHON_INIPARSE is not set +# BR2_PACKAGE_PYTHON_INTELHEX is not set +# BR2_PACKAGE_PYTHON_IOWAIT is not set +# BR2_PACKAGE_PYTHON_IPDB is not set +# BR2_PACKAGE_PYTHON_IPTABLES is not set +# BR2_PACKAGE_PYTHON_IPY is not set +# BR2_PACKAGE_PYTHON_IPYTHON is not set +# BR2_PACKAGE_PYTHON_IPYTHON_GENUTILS is not set +# BR2_PACKAGE_PYTHON_ISO8601 is not set +# BR2_PACKAGE_PYTHON_ITSDANGEROUS is not set +# BR2_PACKAGE_PYTHON_JANUS is not set +# BR2_PACKAGE_PYTHON_JARACO_CLASSES is not set +# BR2_PACKAGE_PYTHON_JARACO_FUNCTOOLS is not set +# BR2_PACKAGE_PYTHON_JEDI is not set +# BR2_PACKAGE_PYTHON_JINJA2 is not set +# BR2_PACKAGE_PYTHON_JMESPATH is not set +# BR2_PACKAGE_PYTHON_JSON_SCHEMA_VALIDATOR is not set +# BR2_PACKAGE_PYTHON_JSONMODELS is not set +# BR2_PACKAGE_PYTHON_JSONSCHEMA is not set +# BR2_PACKAGE_PYTHON_KIWISOLVER is not set +# BR2_PACKAGE_PYTHON_LIBCONFIG is not set +# BR2_PACKAGE_PYTHON_LIBUSB1 is not set +# BR2_PACKAGE_PYTHON_LMDB is not set +# BR2_PACKAGE_PYTHON_LOCKFILE is not set +# BR2_PACKAGE_PYTHON_LOGBOOK is not set +# BR2_PACKAGE_PYTHON_LOGSTASH is not set +# BR2_PACKAGE_PYTHON_LXML is not set +# BR2_PACKAGE_PYTHON_M2CRYPTO is not set +# BR2_PACKAGE_PYTHON_M2R is not set +# BR2_PACKAGE_PYTHON_MAKO is not set +# BR2_PACKAGE_PYTHON_MARKDOWN is not set +# BR2_PACKAGE_PYTHON_MARKDOWN2 is not set +# BR2_PACKAGE_PYTHON_MARKUPSAFE is not set +# BR2_PACKAGE_PYTHON_MBSTRDECODER is not set +# BR2_PACKAGE_PYTHON_MEMORY_PROFILER is not set +# BR2_PACKAGE_PYTHON_MIMEPARSE is not set +# BR2_PACKAGE_PYTHON_MISTUNE is not set +# BR2_PACKAGE_PYTHON_MODBUS_TK is not set +# BR2_PACKAGE_PYTHON_MORE_ITERTOOLS is not set +# BR2_PACKAGE_PYTHON_MPD2 is not set +# BR2_PACKAGE_PYTHON_MSGFY is not set +# BR2_PACKAGE_PYTHON_MSGPACK is not set +# BR2_PACKAGE_PYTHON_MULTIDICT is not set +# BR2_PACKAGE_PYTHON_MUTAGEN is not set +# BR2_PACKAGE_PYTHON_MWCLIENT is not set +# BR2_PACKAGE_PYTHON_MWSCRAPE is not set +# BR2_PACKAGE_PYTHON_MWSCRAPE2SLOB is not set +# BR2_PACKAGE_PYTHON_NESTED_DICT is not set +# BR2_PACKAGE_PYTHON_NETADDR is not set +# BR2_PACKAGE_PYTHON_NETIFACES is not set +# BR2_PACKAGE_PYTHON_NETWORKX is not set +# BR2_PACKAGE_PYTHON_OAUTHLIB is not set +# BR2_PACKAGE_PYTHON_PACKAGING is not set +# BR2_PACKAGE_PYTHON_PAHO_MQTT is not set +# BR2_PACKAGE_PYTHON_PARSO is not set +# BR2_PACKAGE_PYTHON_PASSLIB is not set +# BR2_PACKAGE_PYTHON_PATHPY is not set +# BR2_PACKAGE_PYTHON_PATHTOOLS is not set +# BR2_PACKAGE_PYTHON_PATHVALIDATE is not set +# BR2_PACKAGE_PYTHON_PERIPHERY is not set +# BR2_PACKAGE_PYTHON_PEXPECT is not set +# BR2_PACKAGE_PYTHON_PICKLESHARE is not set +# BR2_PACKAGE_PYTHON_PIEXIF is not set +# BR2_PACKAGE_PYTHON_PIGPIO is not set +# BR2_PACKAGE_PYTHON_PILLOW is not set +# BR2_PACKAGE_PYTHON_PIP is not set +# BR2_PACKAGE_PYTHON_PLUGGY is not set +# BR2_PACKAGE_PYTHON_PLY is not set +# BR2_PACKAGE_PYTHON_PORTEND is not set +# BR2_PACKAGE_PYTHON_POSIX_IPC is not set +# BR2_PACKAGE_PYTHON_PRIORITY is not set +# BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT is not set +# BR2_PACKAGE_PYTHON_PROTOBUF is not set +# BR2_PACKAGE_PYTHON_PSUTIL is not set +# BR2_PACKAGE_PYTHON_PSYCOPG2 is not set +# BR2_PACKAGE_PYTHON_PTYPROCESS is not set +# BR2_PACKAGE_PYTHON_PUDB is not set +# BR2_PACKAGE_PYTHON_PY is not set +# BR2_PACKAGE_PYTHON_PYAES is not set +# BR2_PACKAGE_PYTHON_PYALSA is not set +# BR2_PACKAGE_PYTHON_PYASN1 is not set +# BR2_PACKAGE_PYTHON_PYASN1_MODULES is not set +# BR2_PACKAGE_PYTHON_PYBIND is not set +# BR2_PACKAGE_PYTHON_PYCAIRO is not set +# BR2_PACKAGE_PYTHON_PYCARES is not set +# BR2_PACKAGE_PYTHON_PYCPARSER is not set +# BR2_PACKAGE_PYTHON_PYCRYPTODOMEX is not set +# BR2_PACKAGE_PYTHON_PYDAL is not set +# BR2_PACKAGE_PYTHON_PYDANTIC is not set +# BR2_PACKAGE_PYTHON_PYDYF is not set +# BR2_PACKAGE_PYTHON_PYELFTOOLS is not set +# BR2_PACKAGE_PYTHON_PYFTPDLIB is not set +# BR2_PACKAGE_PYTHON_PYGAME is not set +# BR2_PACKAGE_PYTHON_PYGMENTS is not set +# BR2_PACKAGE_PYTHON_PYHAMCREST is not set +# BR2_PACKAGE_PYTHON_PYICU is not set +# BR2_PACKAGE_PYTHON_PYINOTIFY is not set +# BR2_PACKAGE_PYTHON_PYJWT is not set +# BR2_PACKAGE_PYTHON_PYLIBFTDI is not set +# BR2_PACKAGE_PYTHON_PYLRU is not set +# BR2_PACKAGE_PYTHON_PYMODBUS is not set + +# +# python-pymupdf needs Xorg +# +# BR2_PACKAGE_PYTHON_PYMYSQL is not set +# BR2_PACKAGE_PYTHON_PYNACL is not set +# BR2_PACKAGE_PYTHON_PYNDIFF is not set +# BR2_PACKAGE_PYTHON_PYPARSING is not set +# BR2_PACKAGE_PYTHON_PYPARTED is not set +# BR2_PACKAGE_PYTHON_PYPHEN is not set +# BR2_PACKAGE_PYTHON_PYQRCODE is not set + +# +# python-pyqt5 needs Qt5 +# +# BR2_PACKAGE_PYTHON_PYRATEMP is not set +# BR2_PACKAGE_PYTHON_PYROUTE2 is not set +# BR2_PACKAGE_PYTHON_PYSENDFILE is not set +# BR2_PACKAGE_PYTHON_PYSMB is not set +# BR2_PACKAGE_PYTHON_PYSMI is not set +# BR2_PACKAGE_PYTHON_PYSNMP is not set +# BR2_PACKAGE_PYTHON_PYSNMP_MIBS is not set +# BR2_PACKAGE_PYTHON_PYSOCKS is not set +# BR2_PACKAGE_PYTHON_PYTABLEREADER is not set +# BR2_PACKAGE_PYTHON_PYTABLEWRITER is not set +# BR2_PACKAGE_PYTHON_PYTEST is not set +# BR2_PACKAGE_PYTHON_PYTEST_ASYNCIO is not set +# BR2_PACKAGE_PYTHON_PYTRIE is not set +# BR2_PACKAGE_PYTHON_PYTZ is not set + +# +# python-pyudev needs udev /dev management +# +# BR2_PACKAGE_PYTHON_PYUSB is not set +# BR2_PACKAGE_PYTHON_PYXB is not set +# BR2_PACKAGE_PYTHON_PYYAML is not set +# BR2_PACKAGE_PYTHON_PYZMQ is not set +# BR2_PACKAGE_PYTHON_RAVEN is not set +# BR2_PACKAGE_PYTHON_REDIS is not set +# BR2_PACKAGE_PYTHON_REENTRY is not set +# BR2_PACKAGE_PYTHON_REGEX is not set +# BR2_PACKAGE_PYTHON_REMI is not set +# BR2_PACKAGE_PYTHON_REQUEST_ID is not set +# BR2_PACKAGE_PYTHON_REQUESTS is not set +# BR2_PACKAGE_PYTHON_REQUESTS_OAUTHLIB is not set +# BR2_PACKAGE_PYTHON_REQUESTS_TOOLBELT is not set +# BR2_PACKAGE_PYTHON_RPI_WS281X is not set +# BR2_PACKAGE_PYTHON_RSA is not set +# BR2_PACKAGE_PYTHON_RTSLIB_FB is not set +# BR2_PACKAGE_PYTHON_S3TRANSFER is not set +# BR2_PACKAGE_PYTHON_SCANDIR is not set +# BR2_PACKAGE_PYTHON_SCAPY is not set +# BR2_PACKAGE_PYTHON_SCHEDULE is not set +# BR2_PACKAGE_PYTHON_SDNOTIFY is not set +# BR2_PACKAGE_PYTHON_SEE is not set +# BR2_PACKAGE_PYTHON_SEMVER is not set +# BR2_PACKAGE_PYTHON_SENTRY_SDK is not set +# BR2_PACKAGE_PYTHON_SERIAL is not set +# BR2_PACKAGE_PYTHON_SERIAL_ASYNCIO is not set +# BR2_PACKAGE_PYTHON_SETPROCTITLE is not set +# BR2_PACKAGE_PYTHON_SETUPTOOLS is not set +# BR2_PACKAGE_PYTHON_SH is not set +# BR2_PACKAGE_PYTHON_SHUTILWHICH is not set +# BR2_PACKAGE_PYTHON_SIMPLEAUDIO is not set +# BR2_PACKAGE_PYTHON_SIMPLEGENERIC is not set +# BR2_PACKAGE_PYTHON_SIMPLEJSON is not set +# BR2_PACKAGE_PYTHON_SIMPLELOGGING is not set +# BR2_PACKAGE_PYTHON_SIMPLESQLITE is not set +# BR2_PACKAGE_PYTHON_SIX is not set +# BR2_PACKAGE_PYTHON_SLOB is not set +# BR2_PACKAGE_PYTHON_SMBUS_CFFI is not set +# BR2_PACKAGE_PYTHON_SMMAP2 is not set +# BR2_PACKAGE_PYTHON_SNAPPY is not set +# BR2_PACKAGE_PYTHON_SOCKETIO is not set +# BR2_PACKAGE_PYTHON_SOCKJS is not set +# BR2_PACKAGE_PYTHON_SORTEDCONTAINERS is not set +# BR2_PACKAGE_PYTHON_SOUPSIEVE is not set +# BR2_PACKAGE_PYTHON_SPIDEV is not set +# BR2_PACKAGE_PYTHON_SQLALCHEMY is not set +# BR2_PACKAGE_PYTHON_SQLITESCHEMA is not set +# BR2_PACKAGE_PYTHON_SQLPARSE is not set + +# +# python-systemd needs systemd +# +# BR2_PACKAGE_PYTHON_TABLEDATA is not set +# BR2_PACKAGE_PYTHON_TEMPORA is not set +# BR2_PACKAGE_PYTHON_TERMCOLOR is not set +# BR2_PACKAGE_PYTHON_TERMINALTABLES is not set +# BR2_PACKAGE_PYTHON_TEXTTABLE is not set +# BR2_PACKAGE_PYTHON_THRIFT is not set +# BR2_PACKAGE_PYTHON_TINYCSS2 is not set +# BR2_PACKAGE_PYTHON_TINYRPC is not set +# BR2_PACKAGE_PYTHON_TOMAKO is not set +# BR2_PACKAGE_PYTHON_TOML is not set +# BR2_PACKAGE_PYTHON_TOMLI is not set +# BR2_PACKAGE_PYTHON_TORNADO is not set +# BR2_PACKAGE_PYTHON_TQDM is not set +# BR2_PACKAGE_PYTHON_TRAITLETS is not set +# BR2_PACKAGE_PYTHON_TWISTED is not set +# BR2_PACKAGE_PYTHON_TXAIO is not set +# BR2_PACKAGE_PYTHON_TYPEPY is not set +# BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS is not set +# BR2_PACKAGE_PYTHON_U_MSGPACK is not set +# BR2_PACKAGE_PYTHON_UBJSON is not set +# BR2_PACKAGE_PYTHON_UJSON is not set +# BR2_PACKAGE_PYTHON_UNITTEST_XML_REPORTING is not set +# BR2_PACKAGE_PYTHON_URLLIB3 is not set +# BR2_PACKAGE_PYTHON_URWID is not set +# BR2_PACKAGE_PYTHON_UVLOOP is not set +# BR2_PACKAGE_PYTHON_VALIDATORS is not set +# BR2_PACKAGE_PYTHON_VERSIONTOOLS is not set +# BR2_PACKAGE_PYTHON_VISITOR is not set +# BR2_PACKAGE_PYTHON_WATCHDOG is not set +# BR2_PACKAGE_PYTHON_WCWIDTH is not set +# BR2_PACKAGE_PYTHON_WEASYPRINT is not set +# BR2_PACKAGE_PYTHON_WEB2PY is not set +# BR2_PACKAGE_PYTHON_WEBENCODINGS is not set +# BR2_PACKAGE_PYTHON_WEBOB is not set +# BR2_PACKAGE_PYTHON_WEBPY is not set +# BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT is not set +# BR2_PACKAGE_PYTHON_WEBSOCKETS is not set +# BR2_PACKAGE_PYTHON_WERKZEUG is not set +# BR2_PACKAGE_PYTHON_WHOOSH is not set +# BR2_PACKAGE_PYTHON_WRAPT is not set +# BR2_PACKAGE_PYTHON_WS4PY is not set +# BR2_PACKAGE_PYTHON_WSACCEL is not set +# BR2_PACKAGE_PYTHON_WTFORMS is not set +# BR2_PACKAGE_PYTHON_XLIB is not set +# BR2_PACKAGE_PYTHON_XLRD is not set +# BR2_PACKAGE_PYTHON_XLSXWRITER is not set +# BR2_PACKAGE_PYTHON_XLUTILS is not set +# BR2_PACKAGE_PYTHON_XLWT is not set +# BR2_PACKAGE_PYTHON_XMLJSON is not set +# BR2_PACKAGE_PYTHON_XMLTODICT is not set +# BR2_PACKAGE_PYTHON_XMODEM is not set +# BR2_PACKAGE_PYTHON_YARL is not set +# BR2_PACKAGE_PYTHON_YATL is not set +# BR2_PACKAGE_PYTHON_ZC_LOCKFILE is not set +# BR2_PACKAGE_PYTHON_ZEROCONF is not set +# BR2_PACKAGE_PYTHON_ZOPE_INTERFACE is not set +# BR2_PACKAGE_PYTHON_ZOPFLI is not set +BR2_PACKAGE_QUICKJS=y +# BR2_PACKAGE_RUBY is not set +# BR2_PACKAGE_TCL is not set + +# +# Libraries +# + +# +# Audio/Sound +# +# BR2_PACKAGE_ALSA_LIB is not set +# BR2_PACKAGE_ALURE is not set +# BR2_PACKAGE_AUBIO is not set +# BR2_PACKAGE_BCG729 is not set +# BR2_PACKAGE_CAPS is not set +# BR2_PACKAGE_LIBAO is not set +# BR2_PACKAGE_LIBASPLIB is not set +# BR2_PACKAGE_LIBBROADVOICE is not set +# BR2_PACKAGE_LIBCDAUDIO is not set +# BR2_PACKAGE_LIBCDDB is not set +# BR2_PACKAGE_LIBCDIO is not set +# BR2_PACKAGE_LIBCDIO_PARANOIA is not set +# BR2_PACKAGE_LIBCODEC2 is not set +# BR2_PACKAGE_LIBCUE is not set +# BR2_PACKAGE_LIBCUEFILE is not set +# BR2_PACKAGE_LIBEBUR128 is not set +# BR2_PACKAGE_LIBG7221 is not set +# BR2_PACKAGE_LIBGSM is not set +# BR2_PACKAGE_LIBID3TAG is not set +# BR2_PACKAGE_LIBILBC is not set +# BR2_PACKAGE_LIBLO is not set +# BR2_PACKAGE_LIBMAD is not set +# BR2_PACKAGE_LIBMODPLUG is not set +# BR2_PACKAGE_LIBMPD is not set +# BR2_PACKAGE_LIBMPDCLIENT is not set +# BR2_PACKAGE_LIBREPLAYGAIN is not set +# BR2_PACKAGE_LIBSAMPLERATE is not set +# BR2_PACKAGE_LIBSIDPLAY2 is not set +# BR2_PACKAGE_LIBSILK is not set +# BR2_PACKAGE_LIBSNDFILE is not set +# BR2_PACKAGE_LIBSOUNDTOUCH is not set +# BR2_PACKAGE_LIBSOXR is not set +# BR2_PACKAGE_LIBVORBIS is not set +# BR2_PACKAGE_LILV is not set +# BR2_PACKAGE_LV2 is not set +# BR2_PACKAGE_MP4V2 is not set +BR2_PACKAGE_OPENAL_ARCH_SUPPORTS=y +# BR2_PACKAGE_OPENAL is not set +# BR2_PACKAGE_OPENCORE_AMR is not set +# BR2_PACKAGE_OPUS is not set +# BR2_PACKAGE_OPUSFILE is not set +# BR2_PACKAGE_PORTAUDIO is not set +# BR2_PACKAGE_SBC is not set +# BR2_PACKAGE_SPANDSP is not set +# BR2_PACKAGE_SPEEX is not set +# BR2_PACKAGE_SPEEXDSP is not set +# BR2_PACKAGE_SRATOM is not set +# BR2_PACKAGE_TAGLIB is not set +# BR2_PACKAGE_TINYALSA is not set +# BR2_PACKAGE_TREMOR is not set +# BR2_PACKAGE_VO_AACENC is not set + +# +# Compression and decompression +# +# BR2_PACKAGE_LIBARCHIVE is not set +# BR2_PACKAGE_LIBMSPACK is not set +# BR2_PACKAGE_LIBSQUISH is not set +# BR2_PACKAGE_LIBZIP is not set +# BR2_PACKAGE_LZ4 is not set +# BR2_PACKAGE_LZO is not set +# BR2_PACKAGE_MINIZIP is not set +# BR2_PACKAGE_SNAPPY is not set +# BR2_PACKAGE_SZIP is not set +# BR2_PACKAGE_ZCHUNK is not set +BR2_PACKAGE_ZLIB_NG_ARCH_SUPPORTS=y +BR2_PACKAGE_ZLIB=y +BR2_PACKAGE_LIBZLIB=y +# BR2_PACKAGE_ZLIB_NG is not set +BR2_PACKAGE_HAS_ZLIB=y +BR2_PACKAGE_PROVIDES_ZLIB="libzlib" +BR2_PACKAGE_PROVIDES_HOST_ZLIB="host-libzlib" +# BR2_PACKAGE_ZZIPLIB is not set + +# +# Crypto +# +# BR2_PACKAGE_BEARSSL is not set +# BR2_PACKAGE_BEECRYPT is not set +BR2_PACKAGE_BOTAN_ARCH_SUPPORTS=y +# BR2_PACKAGE_BOTAN is not set +# BR2_PACKAGE_CA_CERTIFICATES is not set + +# +# cryptodev needs a Linux kernel to be built +# +# BR2_PACKAGE_CRYPTOPP is not set +# BR2_PACKAGE_GCR is not set +# BR2_PACKAGE_GNUTLS is not set +# BR2_PACKAGE_LIBARGON2 is not set +# BR2_PACKAGE_LIBASSUAN is not set +# BR2_PACKAGE_LIBGCRYPT is not set +BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS=y +# BR2_PACKAGE_LIBGPG_ERROR is not set +BR2_PACKAGE_LIBGPG_ERROR_SYSCFG="riscv32-unknown-linux-gnu" +# BR2_PACKAGE_LIBGPGME is not set +# BR2_PACKAGE_LIBKCAPI is not set +# BR2_PACKAGE_LIBKSBA is not set +# BR2_PACKAGE_LIBMD is not set +# BR2_PACKAGE_LIBMHASH is not set +# BR2_PACKAGE_LIBNSS is not set +# BR2_PACKAGE_LIBOLM is not set +# BR2_PACKAGE_LIBP11 is not set +# BR2_PACKAGE_LIBSCRYPT is not set +# BR2_PACKAGE_LIBSECRET is not set +# BR2_PACKAGE_LIBSHA1 is not set +# BR2_PACKAGE_LIBSODIUM is not set +# BR2_PACKAGE_LIBSSH is not set +# BR2_PACKAGE_LIBSSH2 is not set +# BR2_PACKAGE_LIBTOMCRYPT is not set +# BR2_PACKAGE_LIBUECC is not set +# BR2_PACKAGE_LIBXCRYPT is not set +# BR2_PACKAGE_MBEDTLS is not set +# BR2_PACKAGE_NETTLE is not set +BR2_PACKAGE_OPENSSL=y +BR2_PACKAGE_LIBOPENSSL=y +BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH="linux-generic32 no-asm" +# BR2_PACKAGE_LIBOPENSSL_BIN is not set +# BR2_PACKAGE_LIBOPENSSL_ENGINES is not set +BR2_PACKAGE_LIBOPENSSL_ENABLE_CHACHA=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_RC5=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_RC2=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_MD2=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_MDC2=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_BLAKE2=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_IDEA=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_SEED=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_DES=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_WHIRLPOOL=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL2=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL3=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_WEAK_SSL=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_PSK=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST=y +BR2_PACKAGE_LIBOPENSSL_UNSECURE=y +BR2_PACKAGE_LIBOPENSSL_DYNAMIC_ENGINE=y +BR2_PACKAGE_LIBOPENSSL_ENABLE_COMP=y +# BR2_PACKAGE_LIBRESSL is not set +BR2_PACKAGE_HAS_OPENSSL=y +BR2_PACKAGE_PROVIDES_OPENSSL="libopenssl" +BR2_PACKAGE_PROVIDES_HOST_OPENSSL="host-libopenssl" +# BR2_PACKAGE_PKCS11_HELPER is not set +# BR2_PACKAGE_RHASH is not set +# BR2_PACKAGE_TINYDTLS is not set +# BR2_PACKAGE_TPM2_PKCS11 is not set +# BR2_PACKAGE_TPM2_TSS is not set +# BR2_PACKAGE_TROUSERS is not set +# BR2_PACKAGE_USTREAM_SSL is not set +# BR2_PACKAGE_WOLFSSL is not set + +# +# Database +# +# BR2_PACKAGE_BERKELEYDB is not set +# BR2_PACKAGE_GDBM is not set +# BR2_PACKAGE_HIREDIS is not set +# BR2_PACKAGE_KOMPEXSQLITE is not set +# BR2_PACKAGE_LEVELDB is not set +# BR2_PACKAGE_LIBDBI is not set +# BR2_PACKAGE_LIBDBI_DRIVERS is not set +# BR2_PACKAGE_LIBGIT2 is not set +# BR2_PACKAGE_LIBMDBX is not set +# BR2_PACKAGE_LIBODB is not set +# BR2_PACKAGE_MYSQL is not set +# BR2_PACKAGE_POSTGRESQL is not set +# BR2_PACKAGE_REDIS is not set +# BR2_PACKAGE_SQLCIPHER is not set +# BR2_PACKAGE_SQLITE is not set +# BR2_PACKAGE_UNIXODBC is not set + +# +# Filesystem +# +# BR2_PACKAGE_GAMIN is not set +# BR2_PACKAGE_LIBCONFIG is not set +# BR2_PACKAGE_LIBCONFUSE is not set +# BR2_PACKAGE_LIBFUSE is not set +# BR2_PACKAGE_LIBFUSE3 is not set +BR2_PACKAGE_LIBLOCKFILE=y +# BR2_PACKAGE_LIBNFS is not set +# BR2_PACKAGE_LIBSYSFS is not set +# BR2_PACKAGE_LOCKDEV is not set +# BR2_PACKAGE_PHYSFS is not set + +# +# Graphics +# +# BR2_PACKAGE_ASSIMP is not set + +# +# at-spi2-atk depends on X.org +# + +# +# at-spi2-core depends on X.org +# +# BR2_PACKAGE_ATK is not set +# BR2_PACKAGE_ATKMM is not set +# BR2_PACKAGE_BULLET is not set +# BR2_PACKAGE_CAIRO is not set +# BR2_PACKAGE_CAIROMM is not set + +# +# chipmunk needs an OpenGL backend +# +# BR2_PACKAGE_EXEMPI is not set +# BR2_PACKAGE_EXIV2 is not set +# BR2_PACKAGE_FONTCONFIG is not set +# BR2_PACKAGE_FREETYPE is not set +# BR2_PACKAGE_GD is not set +# BR2_PACKAGE_GDK_PIXBUF is not set +# BR2_PACKAGE_GIFLIB is not set + +# +# granite needs libgtk3 and a toolchain w/ wchar, threads, gcc >= 4.9 +# +# BR2_PACKAGE_GRAPHITE2 is not set + +# +# gtkmm3 needs libgtk3 and a toolchain w/ C++, wchar, threads, gcc >= 7 +# +# BR2_PACKAGE_HARFBUZZ is not set +# BR2_PACKAGE_IJS is not set +# BR2_PACKAGE_IMLIB2 is not set + +# +# irrlicht needs X11 and an OpenGL provider +# +# BR2_PACKAGE_JASPER is not set +# BR2_PACKAGE_JBIG2DEC is not set +# BR2_PACKAGE_JPEG is not set +# BR2_PACKAGE_KMSXX is not set +# BR2_PACKAGE_LCMS2 is not set +# BR2_PACKAGE_LENSFUN is not set +# BR2_PACKAGE_LEPTONICA is not set +# BR2_PACKAGE_LIBART is not set +# BR2_PACKAGE_LIBDMTX is not set +# BR2_PACKAGE_LIBDRM is not set + +# +# libepoxy needs an OpenGL and/or OpenGL EGL backend +# +# BR2_PACKAGE_LIBEXIF is not set + +# +# libfm needs X.org and a toolchain w/ wchar, threads, C++, gcc >= 4.9 +# +# BR2_PACKAGE_LIBFM_EXTRA is not set + +# +# libfreeglut depends on X.org and needs an OpenGL backend +# +# BR2_PACKAGE_LIBFREEIMAGE is not set +# BR2_PACKAGE_LIBGEOTIFF is not set + +# +# libglew depends on X.org and needs an OpenGL backend +# + +# +# libglfw depends on X.org or Wayland and an OpenGL or GLES backend +# + +# +# libglu needs an OpenGL backend +# +# BR2_PACKAGE_LIBGTA is not set + +# +# libgtk3 needs an OpenGL or an OpenGL-EGL/wayland backend +# +# BR2_PACKAGE_LIBMEDIAART is not set +# BR2_PACKAGE_LIBMNG is not set +# BR2_PACKAGE_LIBPNG is not set +# BR2_PACKAGE_LIBQRENCODE is not set +# BR2_PACKAGE_LIBRAW is not set +# BR2_PACKAGE_LIBSVG is not set +# BR2_PACKAGE_LIBSVG_CAIRO is not set +# BR2_PACKAGE_LIBSVGTINY is not set +# BR2_PACKAGE_LIBVA is not set +# BR2_PACKAGE_LIBVIPS is not set + +# +# libwpe needs a toolchain w/ C++, dynamic library and an OpenEGL-capable backend +# +# BR2_PACKAGE_MENU_CACHE is not set +# BR2_PACKAGE_OPENCV3 is not set +# BR2_PACKAGE_OPENCV4 is not set +# BR2_PACKAGE_OPENJPEG is not set +# BR2_PACKAGE_PANGO is not set +# BR2_PACKAGE_PANGOMM is not set +# BR2_PACKAGE_PIPEWIRE is not set +# BR2_PACKAGE_PIXMAN is not set +# BR2_PACKAGE_POPPLER is not set +# BR2_PACKAGE_TIFF is not set +# BR2_PACKAGE_WAYLAND is not set +# BR2_PACKAGE_WEBP is not set + +# +# wlroots needs udev, EGL w/ Wayland backend and OpenGL ES support +# +# BR2_PACKAGE_WOFF2 is not set + +# +# wpebackend-fdo needs a toolchain w/ C++, wchar, threads, dynamic library and an OpenEGL-capable Wayland backend +# +# BR2_PACKAGE_ZBAR is not set +# BR2_PACKAGE_ZXING_CPP is not set + +# +# Hardware handling +# +# BR2_PACKAGE_ACSCCID is not set +# BR2_PACKAGE_C_PERIPHERY is not set +# BR2_PACKAGE_CCID is not set +# BR2_PACKAGE_DTC is not set +# BR2_PACKAGE_HACKRF is not set + +# +# hidapi needs udev /dev management and a toolchain w/ NPTL, threads, gcc >= 4.9 +# +# BR2_PACKAGE_JITTERENTROPY_LIBRARY is not set +# BR2_PACKAGE_LCDAPI is not set +# BR2_PACKAGE_LET_ME_CREATE is not set +# BR2_PACKAGE_LIBAIO is not set + +# +# libatasmart requires udev to be enabled +# + +# +# libblockdev needs udev /dev management and a toolchain w/ wchar, threads, dynamic library +# +# BR2_PACKAGE_LIBCEC is not set +# BR2_PACKAGE_LIBFREEFARE is not set +# BR2_PACKAGE_LIBFTDI is not set +# BR2_PACKAGE_LIBFTDI1 is not set +# BR2_PACKAGE_LIBGPHOTO2 is not set +# BR2_PACKAGE_LIBGPIOD is not set + +# +# libgudev needs udev /dev handling and a toolchain w/ wchar, threads +# +# BR2_PACKAGE_LIBHID is not set +# BR2_PACKAGE_LIBIIO is not set + +# +# libinput needs udev /dev management +# +# BR2_PACKAGE_LIBIQRF is not set +# BR2_PACKAGE_LIBLLCP is not set +# BR2_PACKAGE_LIBMBIM is not set +# BR2_PACKAGE_LIBNFC is not set +# BR2_PACKAGE_LIBPCIACCESS is not set +# BR2_PACKAGE_LIBPHIDGET is not set + +# +# libpri needs a Linux kernel to be built +# +# BR2_PACKAGE_LIBQMI is not set +# BR2_PACKAGE_LIBQRTR_GLIB is not set +# BR2_PACKAGE_LIBRAW1394 is not set +# BR2_PACKAGE_LIBRTLSDR is not set +# BR2_PACKAGE_LIBSERIAL is not set +# BR2_PACKAGE_LIBSERIALPORT is not set +# BR2_PACKAGE_LIBSIGROK is not set +# BR2_PACKAGE_LIBSIGROKDECODE is not set +# BR2_PACKAGE_LIBSOC is not set + +# +# libss7 needs a Linux kernel to be built +# +# BR2_PACKAGE_LIBUSB is not set +# BR2_PACKAGE_LIBUSBGX is not set +# BR2_PACKAGE_LIBV4L is not set +# BR2_PACKAGE_LIBXKBCOMMON is not set +# BR2_PACKAGE_MTDEV is not set +# BR2_PACKAGE_NEARDAL is not set +# BR2_PACKAGE_OWFS is not set +# BR2_PACKAGE_PCSC_LITE is not set +# BR2_PACKAGE_TSLIB is not set +# BR2_PACKAGE_UHD is not set +# BR2_PACKAGE_URG is not set + +# +# Javascript +# +# BR2_PACKAGE_ANGULARJS is not set +# BR2_PACKAGE_BOOTSTRAP is not set +# BR2_PACKAGE_CHARTJS is not set +# BR2_PACKAGE_DATATABLES is not set +# BR2_PACKAGE_DUKTAPE is not set +# BR2_PACKAGE_EXPLORERCANVAS is not set +# BR2_PACKAGE_FLOT is not set +# BR2_PACKAGE_JQUERY is not set +# BR2_PACKAGE_JSMIN is not set +# BR2_PACKAGE_JSON_JAVASCRIPT is not set +# BR2_PACKAGE_JSZIP is not set +# BR2_PACKAGE_OPENLAYERS is not set +# BR2_PACKAGE_POPPERJS is not set +# BR2_PACKAGE_VUEJS is not set + +# +# JSON/XML +# +# BR2_PACKAGE_BENEJSON is not set +# BR2_PACKAGE_CJSON is not set +# BR2_PACKAGE_EXPAT is not set +# BR2_PACKAGE_JANSSON is not set +# BR2_PACKAGE_JOSE is not set +# BR2_PACKAGE_JSMN is not set +# BR2_PACKAGE_JSON_C is not set +# BR2_PACKAGE_JSON_FOR_MODERN_CPP is not set +# BR2_PACKAGE_JSON_GLIB is not set +# BR2_PACKAGE_JSONCPP is not set +# BR2_PACKAGE_LIBBSON is not set +# BR2_PACKAGE_LIBFASTJSON is not set +# BR2_PACKAGE_LIBJSON is not set +# BR2_PACKAGE_LIBROXML is not set +# BR2_PACKAGE_LIBUCL is not set +# BR2_PACKAGE_LIBXML2 is not set +# BR2_PACKAGE_LIBXMLPP is not set +# BR2_PACKAGE_LIBXMLRPC is not set +# BR2_PACKAGE_LIBXSLT is not set +# BR2_PACKAGE_LIBYAML is not set +# BR2_PACKAGE_MXML is not set +# BR2_PACKAGE_PUGIXML is not set +# BR2_PACKAGE_RAPIDJSON is not set +# BR2_PACKAGE_RAPIDXML is not set +# BR2_PACKAGE_RAPTOR is not set +# BR2_PACKAGE_SERD is not set +# BR2_PACKAGE_SORD is not set +# BR2_PACKAGE_TINYXML is not set +# BR2_PACKAGE_TINYXML2 is not set +# BR2_PACKAGE_VALIJSON is not set +# BR2_PACKAGE_XERCES is not set +# BR2_PACKAGE_XML_SECURITY_C is not set +# BR2_PACKAGE_YAJL is not set +# BR2_PACKAGE_YAML_CPP is not set + +# +# Logging +# +# BR2_PACKAGE_GLOG is not set +# BR2_PACKAGE_LIBLOG4C_LOCALTIME is not set +# BR2_PACKAGE_LIBLOGGING is not set +# BR2_PACKAGE_LOG4CPLUS is not set +# BR2_PACKAGE_LOG4CPP is not set +# BR2_PACKAGE_LOG4CXX is not set + +# +# log4qt needs qt5 +# +# BR2_PACKAGE_OPENTRACING_CPP is not set +# BR2_PACKAGE_SPDLOG is not set +# BR2_PACKAGE_ULOG is not set +# BR2_PACKAGE_ZLOG is not set + +# +# Multimedia +# +# BR2_PACKAGE_BENTO4 is not set +# BR2_PACKAGE_BITSTREAM is not set +# BR2_PACKAGE_DAV1D is not set +# BR2_PACKAGE_KVAZAAR is not set +# BR2_PACKAGE_LIBAACS is not set +# BR2_PACKAGE_LIBASS is not set +# BR2_PACKAGE_LIBBDPLUS is not set +# BR2_PACKAGE_LIBBLURAY is not set +BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS=y +# BR2_PACKAGE_LIBCAMERA is not set +# BR2_PACKAGE_LIBCAMERA_APPS is not set +# BR2_PACKAGE_LIBDCADEC is not set +# BR2_PACKAGE_LIBDVBCSA is not set +# BR2_PACKAGE_LIBDVBPSI is not set +# BR2_PACKAGE_LIBDVBSI is not set +# BR2_PACKAGE_LIBDVDCSS is not set +# BR2_PACKAGE_LIBDVDNAV is not set +# BR2_PACKAGE_LIBDVDREAD is not set +# BR2_PACKAGE_LIBEBML is not set +# BR2_PACKAGE_LIBHDHOMERUN is not set +# BR2_PACKAGE_LIBMATROSKA is not set +# BR2_PACKAGE_LIBMMS is not set +# BR2_PACKAGE_LIBMPEG2 is not set +# BR2_PACKAGE_LIBOGG is not set +# BR2_PACKAGE_LIBOPENAPTX is not set +# BR2_PACKAGE_LIBOPUSENC is not set +# BR2_PACKAGE_LIBTHEORA is not set +# BR2_PACKAGE_LIBUDFREAD is not set +# BR2_PACKAGE_LIBVPX is not set +# BR2_PACKAGE_LIBYUV is not set +# BR2_PACKAGE_LIVE555 is not set +# BR2_PACKAGE_MEDIASTREAMER is not set +# BR2_PACKAGE_X264 is not set +# BR2_PACKAGE_X265 is not set + +# +# Networking +# +# BR2_PACKAGE_AGENTPP is not set +# BR2_PACKAGE_AZMQ is not set +# BR2_PACKAGE_AZURE_IOT_SDK_C is not set + +# +# batman-adv needs a Linux kernel to be built +# +# BR2_PACKAGE_BELLE_SIP is not set +# BR2_PACKAGE_C_ARES is not set +# BR2_PACKAGE_CGIC is not set +# BR2_PACKAGE_CPPZMQ is not set +# BR2_PACKAGE_CURLPP is not set +# BR2_PACKAGE_CZMQ is not set +# BR2_PACKAGE_DAQ is not set +# BR2_PACKAGE_DAQ3 is not set +# BR2_PACKAGE_DAVICI is not set +# BR2_PACKAGE_ENET is not set +# BR2_PACKAGE_FILEMQ is not set +# BR2_PACKAGE_FLICKCURL is not set +# BR2_PACKAGE_FREERADIUS_CLIENT is not set +# BR2_PACKAGE_GENSIO is not set +# BR2_PACKAGE_GEOIP is not set +# BR2_PACKAGE_GLIB_NETWORKING is not set +# BR2_PACKAGE_GRPC is not set +# BR2_PACKAGE_GSSDP is not set +# BR2_PACKAGE_GUPNP is not set +# BR2_PACKAGE_GUPNP_AV is not set +# BR2_PACKAGE_GUPNP_DLNA is not set +# BR2_PACKAGE_IBRCOMMON is not set +# BR2_PACKAGE_IBRDTN is not set +# BR2_PACKAGE_LIBCGI is not set +# BR2_PACKAGE_LIBCGICC is not set +# BR2_PACKAGE_LIBCOAP is not set +# BR2_PACKAGE_LIBCPPRESTSDK is not set +BR2_PACKAGE_LIBCURL=y +BR2_PACKAGE_LIBCURL_CURL=y +# BR2_PACKAGE_LIBCURL_VERBOSE is not set +# BR2_PACKAGE_LIBCURL_PROXY_SUPPORT is not set +# BR2_PACKAGE_LIBCURL_COOKIES_SUPPORT is not set +# BR2_PACKAGE_LIBCURL_EXTRA_PROTOCOLS_FEATURES is not set +# BR2_PACKAGE_LIBCURL_OPENSSL is not set +BR2_PACKAGE_LIBCURL_TLS_NONE=y +# BR2_PACKAGE_LIBDNET is not set +# BR2_PACKAGE_LIBEXOSIP2 is not set +# BR2_PACKAGE_LIBEST is not set +# BR2_PACKAGE_LIBFCGI is not set +# BR2_PACKAGE_LIBGSASL is not set +# BR2_PACKAGE_LIBHTP is not set +# BR2_PACKAGE_LIBHTTPPARSER is not set +# BR2_PACKAGE_LIBHTTPSERVER is not set +# BR2_PACKAGE_LIBIDN is not set +# BR2_PACKAGE_LIBIDN2 is not set +# BR2_PACKAGE_LIBISCSI is not set +# BR2_PACKAGE_LIBKRB5 is not set +# BR2_PACKAGE_LIBLDNS is not set +# BR2_PACKAGE_LIBMAXMINDDB is not set +# BR2_PACKAGE_LIBMBUS is not set +# BR2_PACKAGE_LIBMEMCACHED is not set +# BR2_PACKAGE_LIBMICROHTTPD is not set +# BR2_PACKAGE_LIBMINIUPNPC is not set +# BR2_PACKAGE_LIBMNL is not set +# BR2_PACKAGE_LIBMODBUS is not set +# BR2_PACKAGE_LIBMODSECURITY is not set +# BR2_PACKAGE_LIBNATPMP is not set +# BR2_PACKAGE_LIBNDP is not set +# BR2_PACKAGE_LIBNET is not set +# BR2_PACKAGE_LIBNETCONF2 is not set +# BR2_PACKAGE_LIBNETFILTER_ACCT is not set +# BR2_PACKAGE_LIBNETFILTER_CONNTRACK is not set +# BR2_PACKAGE_LIBNETFILTER_CTHELPER is not set +# BR2_PACKAGE_LIBNETFILTER_CTTIMEOUT is not set +# BR2_PACKAGE_LIBNETFILTER_LOG is not set +# BR2_PACKAGE_LIBNETFILTER_QUEUE is not set +# BR2_PACKAGE_LIBNFNETLINK is not set +# BR2_PACKAGE_LIBNFTNL is not set +# BR2_PACKAGE_LIBNICE is not set +# BR2_PACKAGE_LIBNIDS is not set +# BR2_PACKAGE_LIBNL is not set +# BR2_PACKAGE_LIBNPUPNP is not set +# BR2_PACKAGE_LIBOAUTH is not set +# BR2_PACKAGE_LIBOPING is not set +# BR2_PACKAGE_LIBOSIP2 is not set +# BR2_PACKAGE_LIBPAGEKITE is not set +BR2_PACKAGE_LIBPCAP=y +# BR2_PACKAGE_LIBPJSIP is not set +# BR2_PACKAGE_LIBPSL is not set +# BR2_PACKAGE_LIBRELP is not set +# BR2_PACKAGE_LIBRSYNC is not set +# BR2_PACKAGE_LIBSHAIRPLAY is not set +# BR2_PACKAGE_LIBSHOUT is not set +# BR2_PACKAGE_LIBSOCKETCAN is not set +# BR2_PACKAGE_LIBSOUP is not set +# BR2_PACKAGE_LIBSRTP is not set +# BR2_PACKAGE_LIBSTROPHE is not set +# BR2_PACKAGE_LIBTEAM is not set +# BR2_PACKAGE_LIBTELNET is not set +# BR2_PACKAGE_LIBTIRPC is not set +# BR2_PACKAGE_LIBTORRENT is not set +# BR2_PACKAGE_LIBTORRENT_RASTERBAR is not set +# BR2_PACKAGE_LIBUEV is not set +# BR2_PACKAGE_LIBUHTTPD is not set + +# +# libuhttpd needs a toolchain w/ gcc >= 4.9 +# +# BR2_PACKAGE_LIBUPNP is not set +# BR2_PACKAGE_LIBUPNPP is not set +# BR2_PACKAGE_LIBURIPARSER is not set +# BR2_PACKAGE_LIBUWSC is not set +# BR2_PACKAGE_LIBVNCSERVER is not set +# BR2_PACKAGE_LIBWEBSOCK is not set +# BR2_PACKAGE_LIBWEBSOCKETS is not set +# BR2_PACKAGE_LIBYANG is not set +# BR2_PACKAGE_LKSCTP_TOOLS is not set +# BR2_PACKAGE_MBUFFER is not set +# BR2_PACKAGE_MONGOOSE is not set +# BR2_PACKAGE_NANOMSG is not set +# BR2_PACKAGE_NEON is not set +# BR2_PACKAGE_NETOPEER2 is not set +# BR2_PACKAGE_NGHTTP2 is not set +# BR2_PACKAGE_NORM is not set +# BR2_PACKAGE_NSS_MYHOSTNAME is not set +# BR2_PACKAGE_NSS_PAM_LDAPD is not set +# BR2_PACKAGE_OMNIORB is not set +# BR2_PACKAGE_OPEN62541 is not set +# BR2_PACKAGE_OPENLDAP is not set +# BR2_PACKAGE_OPENMPI is not set +# BR2_PACKAGE_OPENPGM is not set +# BR2_PACKAGE_OPENZWAVE is not set +# BR2_PACKAGE_ORTP is not set +# BR2_PACKAGE_PAHO_MQTT_C is not set +# BR2_PACKAGE_PAHO_MQTT_CPP is not set +# BR2_PACKAGE_PISTACHE is not set +# BR2_PACKAGE_QDECODER is not set +# BR2_PACKAGE_QPID_PROTON is not set +# BR2_PACKAGE_RABBITMQ_C is not set +# BR2_PACKAGE_RESIPROCATE is not set +# BR2_PACKAGE_RESTCLIENT_CPP is not set +# BR2_PACKAGE_RTMPDUMP is not set +# BR2_PACKAGE_SIPROXD is not set +# BR2_PACKAGE_SLIRP is not set +# BR2_PACKAGE_SNMPPP is not set +# BR2_PACKAGE_SOFIA_SIP is not set +# BR2_PACKAGE_SYSREPO is not set +# BR2_PACKAGE_THRIFT is not set +# BR2_PACKAGE_USBREDIR is not set +# BR2_PACKAGE_WAMPCC is not set +# BR2_PACKAGE_WEBSOCKETPP is not set +# BR2_PACKAGE_ZEROMQ is not set +# BR2_PACKAGE_ZMQPP is not set +# BR2_PACKAGE_ZYRE is not set + +# +# Other +# +# BR2_PACKAGE_ACE is not set +# BR2_PACKAGE_APR is not set +# BR2_PACKAGE_APR_UTIL is not set + +# +# armadillo needs a toolchain w/ fortran, C++ +# +# BR2_PACKAGE_ATF is not set +# BR2_PACKAGE_AVRO_C is not set +# BR2_PACKAGE_BCTOOLBOX is not set +# BR2_PACKAGE_BDWGC is not set +# BR2_PACKAGE_BELR is not set +# BR2_PACKAGE_BOOST is not set +# BR2_PACKAGE_C_CAPNPROTO is not set +# BR2_PACKAGE_CAPNPROTO is not set +# BR2_PACKAGE_CCTZ is not set +# BR2_PACKAGE_CEREAL is not set +# BR2_PACKAGE_CMOCKA is not set +# BR2_PACKAGE_CPPCMS is not set +# BR2_PACKAGE_CRACKLIB is not set +# BR2_PACKAGE_DAWGDIC is not set +# BR2_PACKAGE_DING_LIBS is not set +# BR2_PACKAGE_EIGEN is not set +# BR2_PACKAGE_ELFUTILS is not set +# BR2_PACKAGE_ELL is not set +# BR2_PACKAGE_FFTW is not set +# BR2_PACKAGE_FLANN is not set +# BR2_PACKAGE_FLATBUFFERS is not set +# BR2_PACKAGE_FLATCC is not set +# BR2_PACKAGE_GCONF is not set +# BR2_PACKAGE_GFLAGS is not set +# BR2_PACKAGE_GLI is not set +# BR2_PACKAGE_GLIBMM is not set +# BR2_PACKAGE_GLM is not set +BR2_PACKAGE_GMP=y +BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS=y +# BR2_PACKAGE_GOBJECT_INTROSPECTION is not set +# BR2_PACKAGE_GSL is not set +# BR2_PACKAGE_GTEST is not set +# BR2_PACKAGE_GUMBO_PARSER is not set +BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS=y +# BR2_PACKAGE_JEMALLOC is not set +BR2_PACKAGE_LAPACK_ARCH_SUPPORTS=y + +# +# lapack/blas needs a toolchain w/ fortran +# +BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS=y +# BR2_PACKAGE_LIBABSEIL_CPP is not set +# BR2_PACKAGE_LIBARGTABLE2 is not set +BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS=y +# BR2_PACKAGE_LIBATOMIC_OPS is not set +# BR2_PACKAGE_LIBAVL is not set +# BR2_PACKAGE_LIBB64 is not set +# BR2_PACKAGE_LIBBACKTRACE is not set +BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS=y +# BR2_PACKAGE_LIBBSD is not set +# BR2_PACKAGE_LIBBYTESIZE is not set +# BR2_PACKAGE_LIBCAP is not set +# BR2_PACKAGE_LIBCAP_NG is not set +# BR2_PACKAGE_LIBCGROUP is not set +# BR2_PACKAGE_LIBCORRECT is not set +# BR2_PACKAGE_LIBCROSSGUID is not set +# BR2_PACKAGE_LIBCSV is not set +# BR2_PACKAGE_LIBDAEMON is not set +# BR2_PACKAGE_LIBEE is not set +# BR2_PACKAGE_LIBEV is not set +# BR2_PACKAGE_LIBEVDEV is not set +BR2_PACKAGE_LIBEVENT=y + +# +# libexecinfo needs a musl or uclibc toolchain w/ dynamic library +# +BR2_PACKAGE_LIBFFI=y +# BR2_PACKAGE_LIBFUTILS is not set +# BR2_PACKAGE_LIBGEE is not set +# BR2_PACKAGE_LIBGEOS is not set +BR2_PACKAGE_LIBGLIB2=y +# BR2_PACKAGE_LIBGLOB is not set +# BR2_PACKAGE_LIBICAL is not set +# BR2_PACKAGE_LIBITE is not set +# BR2_PACKAGE_LIBKS is not set +# BR2_PACKAGE_LIBLINEAR is not set +# BR2_PACKAGE_LIBLOKI is not set +# BR2_PACKAGE_LIBNPTH is not set +BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT=y +# BR2_PACKAGE_LIBNSPR is not set +# BR2_PACKAGE_LIBOSMIUM is not set +# BR2_PACKAGE_LIBPEAS is not set +# BR2_PACKAGE_LIBPFM4 is not set +# BR2_PACKAGE_LIBPLIST is not set +# BR2_PACKAGE_LIBPTHREAD_STUBS is not set +# BR2_PACKAGE_LIBPTHSEM is not set +# BR2_PACKAGE_LIBPWQUALITY is not set +# BR2_PACKAGE_LIBQB is not set +# BR2_PACKAGE_LIBSHDATA is not set +# BR2_PACKAGE_LIBSIGC is not set +BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS=y +# BR2_PACKAGE_LIBSIGSEGV is not set +# BR2_PACKAGE_LIBSPATIALINDEX is not set +# BR2_PACKAGE_LIBTALLOC is not set +# BR2_PACKAGE_LIBTASN1 is not set +# BR2_PACKAGE_LIBTOMMATH is not set +# BR2_PACKAGE_LIBTPL is not set +# BR2_PACKAGE_LIBUBOX is not set +# BR2_PACKAGE_LIBUCI is not set +BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS=y +# BR2_PACKAGE_LIBURCU is not set +# BR2_PACKAGE_LIBURING is not set +# BR2_PACKAGE_LIBUV is not set +# BR2_PACKAGE_LINUX_PAM is not set +# BR2_PACKAGE_LIQUID_DSP is not set +# BR2_PACKAGE_LTTNG_LIBUST is not set +# BR2_PACKAGE_MATIO is not set +BR2_PACKAGE_MPC=y +BR2_PACKAGE_MPDECIMAL=y +BR2_PACKAGE_MPFR=y +# BR2_PACKAGE_MPIR is not set +# BR2_PACKAGE_MSGPACK is not set +# BR2_PACKAGE_ORC is not set +# BR2_PACKAGE_P11_KIT is not set +BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS=y +# BR2_PACKAGE_PROTOBUF is not set +# BR2_PACKAGE_PROTOBUF_C is not set +# BR2_PACKAGE_PROTOZERO is not set +# BR2_PACKAGE_QHULL is not set +# BR2_PACKAGE_QLIBC is not set +# BR2_PACKAGE_RIEMANN_C_CLIENT is not set +# BR2_PACKAGE_SHAPELIB is not set +# BR2_PACKAGE_SKALIBS is not set +# BR2_PACKAGE_SPHINXBASE is not set +# BR2_PACKAGE_TINYCBOR is not set +BR2_PACKAGE_TZDATA=y +# BR2_PACKAGE_UVW is not set +# BR2_PACKAGE_XAPIAN is not set + +# +# Security +# +# BR2_PACKAGE_LIBAPPARMOR is not set +# BR2_PACKAGE_LIBSELINUX is not set +# BR2_PACKAGE_LIBSEPOL is not set +# BR2_PACKAGE_SAFECLIB is not set +# BR2_PACKAGE_SOFTHSM2 is not set + +# +# Text and terminal handling +# +# BR2_PACKAGE_AUGEAS is not set +# BR2_PACKAGE_ENCHANT is not set +# BR2_PACKAGE_FMT is not set +# BR2_PACKAGE_FSTRCMP is not set +# BR2_PACKAGE_ICU is not set +# BR2_PACKAGE_INIH is not set +# BR2_PACKAGE_LIBCLI is not set +# BR2_PACKAGE_LIBEDIT is not set +# BR2_PACKAGE_LIBENCA is not set +# BR2_PACKAGE_LIBESTR is not set +# BR2_PACKAGE_LIBFRIBIDI is not set +# BR2_PACKAGE_LIBUNISTRING is not set +# BR2_PACKAGE_LINENOISE is not set +BR2_PACKAGE_NCURSES=y +BR2_PACKAGE_NCURSES_WCHAR=y +# BR2_PACKAGE_NCURSES_TARGET_PROGS is not set +BR2_PACKAGE_NCURSES_ADDITIONAL_TERMINFO="" +# BR2_PACKAGE_NEWT is not set +# BR2_PACKAGE_ONIGURUMA is not set +BR2_PACKAGE_PCRE=y +# BR2_PACKAGE_PCRE_16 is not set +# BR2_PACKAGE_PCRE_32 is not set +BR2_PACKAGE_PCRE_UTF=y +BR2_PACKAGE_PCRE_UCP=y +# BR2_PACKAGE_PCRE2 is not set +# BR2_PACKAGE_POPT is not set +# BR2_PACKAGE_RE2 is not set +BR2_PACKAGE_READLINE=y +# BR2_PACKAGE_READLINE_BRACKETED_PASTE is not set +# BR2_PACKAGE_SLANG is not set +# BR2_PACKAGE_TCLAP is not set +# BR2_PACKAGE_UTF8PROC is not set + +# +# Mail +# +# BR2_PACKAGE_DOVECOT is not set +# BR2_PACKAGE_EXIM is not set +# BR2_PACKAGE_FETCHMAIL is not set +# BR2_PACKAGE_HEIRLOOM_MAILX is not set +# BR2_PACKAGE_LIBESMTP is not set +# BR2_PACKAGE_MSMTP is not set +# BR2_PACKAGE_MUTT is not set + +# +# Miscellaneous +# +# BR2_PACKAGE_AESPIPE is not set +BR2_PACKAGE_BC=y +BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS=y +# BR2_PACKAGE_BITCOIN is not set +# BR2_PACKAGE_CLAMAV is not set +# BR2_PACKAGE_COLLECTD is not set +# BR2_PACKAGE_COLLECTL is not set + +# +# domoticz needs lua 5.3 and a toolchain w/ C++, gcc >= 6, NPTL, wchar, dynamic library +# +# BR2_PACKAGE_EMPTY is not set +# BR2_PACKAGE_GNURADIO is not set +# BR2_PACKAGE_GOOGLEFONTDIRECTORY is not set + +# +# gqrx needs qt5 +# +# BR2_PACKAGE_GSETTINGS_DESKTOP_SCHEMAS is not set +# BR2_PACKAGE_HAVEGED is not set +# BR2_PACKAGE_LINUX_SYSCALL_SUPPORT is not set +# BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO is not set +# BR2_PACKAGE_NETDATA is not set +# BR2_PACKAGE_PROJ is not set +# BR2_PACKAGE_QPDF is not set +# BR2_PACKAGE_RTL_433 is not set +# BR2_PACKAGE_SHARED_MIME_INFO is not set +# BR2_PACKAGE_SUNWAIT is not set +# BR2_PACKAGE_TASKD is not set +# BR2_PACKAGE_XUTIL_UTIL_MACROS is not set + +# +# Networking applications +# +# BR2_PACKAGE_AIRCRACK_NG is not set +# BR2_PACKAGE_ALFRED is not set +# BR2_PACKAGE_AOETOOLS is not set +# BR2_PACKAGE_APACHE is not set +# BR2_PACKAGE_ARGUS is not set +BR2_PACKAGE_ARP_SCAN=y +# BR2_PACKAGE_ARPTABLES is not set +# BR2_PACKAGE_ASTERISK is not set +# BR2_PACKAGE_ATFTP is not set +# BR2_PACKAGE_AUTOSSH is not set +# BR2_PACKAGE_AVAHI is not set +# BR2_PACKAGE_AXEL is not set +# BR2_PACKAGE_BABELD is not set +# BR2_PACKAGE_BANDWIDTHD is not set +# BR2_PACKAGE_BATCTL is not set +# BR2_PACKAGE_BCUSDK is not set +# BR2_PACKAGE_BIND is not set +# BR2_PACKAGE_BIRD is not set +# BR2_PACKAGE_BLUEZ5_UTILS is not set +# BR2_PACKAGE_BMON is not set +# BR2_PACKAGE_BMX7 is not set +# BR2_PACKAGE_BOINC is not set +# BR2_PACKAGE_BRCM_PATCHRAM_PLUS is not set +# BR2_PACKAGE_BRIDGE_UTILS is not set +# BR2_PACKAGE_BWM_NG is not set +# BR2_PACKAGE_C_ICAP is not set +# BR2_PACKAGE_CAN_UTILS is not set +# BR2_PACKAGE_CANNELLONI is not set +# BR2_PACKAGE_CASYNC is not set +# BR2_PACKAGE_CFM is not set +# BR2_PACKAGE_CHRONY is not set +# BR2_PACKAGE_CIVETWEB is not set +# BR2_PACKAGE_CONNMAN is not set + +# +# connman-gtk needs libgtk3 and a glibc or uClibc toolchain w/ wchar, threads, resolver, dynamic library +# +# BR2_PACKAGE_CONNTRACK_TOOLS is not set +# BR2_PACKAGE_CORKSCREW is not set +# BR2_PACKAGE_CRDA is not set +# BR2_PACKAGE_CTORRENT is not set +# BR2_PACKAGE_CUPS is not set +# BR2_PACKAGE_DANTE is not set +# BR2_PACKAGE_DARKHTTPD is not set +# BR2_PACKAGE_DEHYDRATED is not set +# BR2_PACKAGE_DHCPCD is not set +# BR2_PACKAGE_DHCPDUMP is not set +# BR2_PACKAGE_DNSMASQ is not set +# BR2_PACKAGE_DRBD_UTILS is not set +# BR2_PACKAGE_DROPBEAR is not set +# BR2_PACKAGE_EASYFRAMES is not set +# BR2_PACKAGE_EBTABLES is not set + +# +# ejabberd needs erlang, toolchain w/ C++ +# +# BR2_PACKAGE_ETHTOOL is not set +# BR2_PACKAGE_FAIFA is not set +# BR2_PACKAGE_FAIL2BAN is not set +# BR2_PACKAGE_FASTD is not set +# BR2_PACKAGE_FCGIWRAP is not set +# BR2_PACKAGE_FPING is not set +# BR2_PACKAGE_FREESWITCH is not set +# BR2_PACKAGE_FRR is not set +# BR2_PACKAGE_GERBERA is not set +# BR2_PACKAGE_GESFTPSERVER is not set +# BR2_PACKAGE_GLOOX is not set +# BR2_PACKAGE_GLORYTUN is not set + +# +# gupnp-tools needs libgtk3 +# +# BR2_PACKAGE_HANS is not set +BR2_PACKAGE_HAPROXY_ARCH_SUPPORTS=y +# BR2_PACKAGE_HAPROXY is not set +# BR2_PACKAGE_HIAWATHA is not set +# BR2_PACKAGE_HOSTAPD is not set +# BR2_PACKAGE_HTPDATE is not set +# BR2_PACKAGE_HTTPING is not set +# BR2_PACKAGE_I2PD is not set +# BR2_PACKAGE_IBRDTN_TOOLS is not set +# BR2_PACKAGE_IBRDTND is not set +# BR2_PACKAGE_IFMETRIC is not set +# BR2_PACKAGE_IFTOP is not set +# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set +# BR2_PACKAGE_IGD2_FOR_LINUX is not set + +# +# igh-ethercat needs a Linux kernel to be built +# +# BR2_PACKAGE_IGMPPROXY is not set +# BR2_PACKAGE_INADYN is not set +# BR2_PACKAGE_IODINE is not set +# BR2_PACKAGE_IPERF is not set +# BR2_PACKAGE_IPERF3 is not set +BR2_PACKAGE_IPROUTE2=y +# BR2_PACKAGE_IPSET is not set +# BR2_PACKAGE_IPTABLES is not set +# BR2_PACKAGE_IPTRAF_NG is not set +BR2_PACKAGE_IPUTILS=y +BR2_PACKAGE_IPUTILS_ARPING=y +# BR2_PACKAGE_IPUTILS_CLOCKDIFF is not set +BR2_PACKAGE_IPUTILS_PING=y +# BR2_PACKAGE_IPUTILS_RARPD is not set +# BR2_PACKAGE_IPUTILS_RDISC is not set +# BR2_PACKAGE_IPUTILS_TRACEPATH is not set +# BR2_PACKAGE_IPUTILS_NINFOD is not set +# BR2_PACKAGE_IRSSI is not set +# BR2_PACKAGE_IW is not set +# BR2_PACKAGE_IWD is not set +# BR2_PACKAGE_JANUS_GATEWAY is not set +# BR2_PACKAGE_KEEPALIVED is not set +# BR2_PACKAGE_KISMET is not set +# BR2_PACKAGE_KNOCK is not set +# BR2_PACKAGE_KSMBD_TOOLS is not set +# BR2_PACKAGE_LEAFNODE2 is not set +# BR2_PACKAGE_LFT is not set +# BR2_PACKAGE_LFTP is not set +# BR2_PACKAGE_LIGHTTPD is not set +# BR2_PACKAGE_LINKNX is not set +# BR2_PACKAGE_LINKS is not set +# BR2_PACKAGE_LINPHONE is not set +# BR2_PACKAGE_LINUX_ZIGBEE is not set +# BR2_PACKAGE_LINUXPTP is not set +# BR2_PACKAGE_LLDPD is not set +# BR2_PACKAGE_LRZSZ is not set +# BR2_PACKAGE_LYNX is not set +# BR2_PACKAGE_MACCHANGER is not set +# BR2_PACKAGE_MEMCACHED is not set +# BR2_PACKAGE_MII_DIAG is not set +# BR2_PACKAGE_MINI_SNMPD is not set +# BR2_PACKAGE_MINIDLNA is not set +# BR2_PACKAGE_MINISSDPD is not set +# BR2_PACKAGE_MJPG_STREAMER is not set +# BR2_PACKAGE_MODEM_MANAGER is not set +BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS=y +# BR2_PACKAGE_MONGREL2 is not set +# BR2_PACKAGE_MOSH is not set +# BR2_PACKAGE_MOSQUITTO is not set +# BR2_PACKAGE_MROUTED is not set +# BR2_PACKAGE_MRP is not set +# BR2_PACKAGE_MSTPD is not set +# BR2_PACKAGE_MTR is not set +# BR2_PACKAGE_NBD is not set +# BR2_PACKAGE_NCFTP is not set +# BR2_PACKAGE_NDISC6 is not set +# BR2_PACKAGE_NETATALK is not set +# BR2_PACKAGE_NETCALC is not set +# BR2_PACKAGE_NETPLUG is not set +# BR2_PACKAGE_NETSNMP is not set +# BR2_PACKAGE_NETSTAT_NAT is not set + +# +# NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 4.6, dynamic library, wchar, threads, gcc >= 4.9 +# +# BR2_PACKAGE_NFACCT is not set +# BR2_PACKAGE_NFTABLES is not set +# BR2_PACKAGE_NGINX is not set +# BR2_PACKAGE_NGIRCD is not set +# BR2_PACKAGE_NGREP is not set +# BR2_PACKAGE_NLOAD is not set +# BR2_PACKAGE_NMAP is not set +# BR2_PACKAGE_NOIP is not set +# BR2_PACKAGE_NTP is not set +# BR2_PACKAGE_NUTTCP is not set +# BR2_PACKAGE_ODHCP6C is not set +# BR2_PACKAGE_ODHCPLOC is not set +# BR2_PACKAGE_OLSR is not set +# BR2_PACKAGE_OPEN_LLDP is not set +# BR2_PACKAGE_OPEN_PLC_UTILS is not set +# BR2_PACKAGE_OPENNTPD is not set +# BR2_PACKAGE_OPENOBEX is not set +# BR2_PACKAGE_OPENRESOLV is not set +BR2_PACKAGE_OPENSSH=y +BR2_PACKAGE_OPENSSH_CLIENT=y +# BR2_PACKAGE_OPENSSH_SERVER is not set +# BR2_PACKAGE_OPENSSH_KEY_UTILS is not set +# BR2_PACKAGE_OPENSWAN is not set +# BR2_PACKAGE_OPENVPN is not set +# BR2_PACKAGE_P910ND is not set +# BR2_PACKAGE_PARPROUTED is not set +# BR2_PACKAGE_PHIDGETWEBSERVICE is not set +# BR2_PACKAGE_PHYTOOL is not set +# BR2_PACKAGE_PIMD is not set +# BR2_PACKAGE_PIXIEWPS is not set +# BR2_PACKAGE_POUND is not set +# BR2_PACKAGE_PPPD is not set +# BR2_PACKAGE_PPTP_LINUX is not set +# BR2_PACKAGE_PRIVOXY is not set +# BR2_PACKAGE_PROFTPD is not set + +# +# prosody needs the lua interpreter, dynamic library +# +# BR2_PACKAGE_PROXYCHAINS_NG is not set +# BR2_PACKAGE_PTPD is not set +# BR2_PACKAGE_PTPD2 is not set +# BR2_PACKAGE_PURE_FTPD is not set +# BR2_PACKAGE_PUTTY is not set +# BR2_PACKAGE_QUAGGA is not set + +# +# rabbitmq-server needs erlang +# +# BR2_PACKAGE_RADVD is not set +# BR2_PACKAGE_REAVER is not set +# BR2_PACKAGE_REDIR is not set +# BR2_PACKAGE_RP_PPPOE is not set +# BR2_PACKAGE_RPCBIND is not set +# BR2_PACKAGE_RSH_REDONE is not set +# BR2_PACKAGE_RSYNC is not set +# BR2_PACKAGE_RTORRENT is not set +# BR2_PACKAGE_RTPTOOLS is not set +# BR2_PACKAGE_RYGEL is not set +# BR2_PACKAGE_S6_DNS is not set +# BR2_PACKAGE_S6_NETWORKING is not set +# BR2_PACKAGE_SAMBA4 is not set +# BR2_PACKAGE_SCONESERVER is not set +# BR2_PACKAGE_SER2NET is not set +# BR2_PACKAGE_SHADOWSOCKS_LIBEV is not set +# BR2_PACKAGE_SHAIRPORT_SYNC is not set +# BR2_PACKAGE_SHELLINABOX is not set +# BR2_PACKAGE_SMCROUTE is not set +# BR2_PACKAGE_SNGREP is not set +# BR2_PACKAGE_SNMPCLITOOLS is not set +# BR2_PACKAGE_SNORT is not set +# BR2_PACKAGE_SOCAT is not set +# BR2_PACKAGE_SOCKETCAND is not set +# BR2_PACKAGE_SOFTETHER is not set +# BR2_PACKAGE_SPAWN_FCGI is not set +# BR2_PACKAGE_SPICE_PROTOCOL is not set +# BR2_PACKAGE_SQUID is not set +# BR2_PACKAGE_SSDP_RESPONDER is not set +# BR2_PACKAGE_SSHGUARD is not set +# BR2_PACKAGE_SSHPASS is not set +# BR2_PACKAGE_SSLH is not set +# BR2_PACKAGE_STRONGSWAN is not set +# BR2_PACKAGE_STUNNEL is not set +# BR2_PACKAGE_TCPDUMP is not set +# BR2_PACKAGE_TCPING is not set +# BR2_PACKAGE_TCPREPLAY is not set +BR2_PACKAGE_THTTPD=y +# BR2_PACKAGE_TINC is not set +# BR2_PACKAGE_TINYPROXY is not set +BR2_PACKAGE_TINYSSH=y +# BR2_PACKAGE_TOR is not set +BR2_PACKAGE_TRACEROUTE=y +# BR2_PACKAGE_TRANSMISSION is not set +# BR2_PACKAGE_TUNCTL is not set +# BR2_PACKAGE_TVHEADEND is not set +# BR2_PACKAGE_UACME is not set +# BR2_PACKAGE_UDPCAST is not set +# BR2_PACKAGE_UFTP is not set +# BR2_PACKAGE_UHTTPD is not set +# BR2_PACKAGE_ULOGD is not set +# BR2_PACKAGE_UNBOUND is not set +# BR2_PACKAGE_UQMI is not set +# BR2_PACKAGE_UREDIR is not set +# BR2_PACKAGE_USHARE is not set +# BR2_PACKAGE_USSP_PUSH is not set +# BR2_PACKAGE_VDE2 is not set +# BR2_PACKAGE_VDR is not set +# BR2_PACKAGE_VNSTAT is not set +# BR2_PACKAGE_VPNC is not set +# BR2_PACKAGE_VSFTPD is not set +# BR2_PACKAGE_VTUN is not set +# BR2_PACKAGE_WAVEMON is not set + +# +# wireguard-linux-compat needs a Linux kernel to be built +# +# BR2_PACKAGE_WIREGUARD_TOOLS is not set +# BR2_PACKAGE_WIRELESS_REGDB is not set +# BR2_PACKAGE_WIRELESS_TOOLS is not set +# BR2_PACKAGE_WIRESHARK is not set +# BR2_PACKAGE_WPA_SUPPLICANT is not set +# BR2_PACKAGE_WPAN_TOOLS is not set +# BR2_PACKAGE_XINETD is not set +# BR2_PACKAGE_XL2TP is not set + +# +# xtables-addons needs a Linux kernel to be built +# +# BR2_PACKAGE_ZABBIX is not set +# BR2_PACKAGE_ZNC is not set + +# +# Package managers +# + +# +# ------------------------------------------------------- +# + +# +# Please note: +# + +# +# - Buildroot does *not* generate binary packages, +# + +# +# - Buildroot does *not* install any package database. +# + +# +# * +# + +# +# It is up to you to provide those by yourself if you +# + +# +# want to use any of those package managers. +# + +# +# * +# + +# +# See the manual: +# + +# +# http://buildroot.org/manual.html#faq-no-binary-packages +# + +# +# ------------------------------------------------------- +# +# BR2_PACKAGE_OPKG is not set +# BR2_PACKAGE_OPKG_UTILS is not set + +# +# Real-Time +# +# BR2_PACKAGE_XENOMAI is not set + +# +# Security +# +# BR2_PACKAGE_APPARMOR is not set +# BR2_PACKAGE_CHECKPOLICY is not set +# BR2_PACKAGE_IMA_EVM_UTILS is not set +# BR2_PACKAGE_OPTEE_BENCHMARK is not set +# BR2_PACKAGE_OPTEE_CLIENT is not set +# BR2_PACKAGE_PAXTEST is not set +# BR2_PACKAGE_REFPOLICY is not set +# BR2_PACKAGE_RESTORECOND is not set +# BR2_PACKAGE_SELINUX_PYTHON is not set +# BR2_PACKAGE_SEMODULE_UTILS is not set +# BR2_PACKAGE_SETOOLS is not set +# BR2_PACKAGE_URANDOM_SCRIPTS is not set + +# +# Shell and utilities +# + +# +# Shells +# +# BR2_PACKAGE_MKSH is not set +BR2_PACKAGE_ZSH=y + +# +# Utilities +# +# BR2_PACKAGE_APG is not set +BR2_PACKAGE_AT=y +# BR2_PACKAGE_CCRYPT is not set +# BR2_PACKAGE_CRUDINI is not set +BR2_PACKAGE_DIALOG=y +# BR2_PACKAGE_DTACH is not set +# BR2_PACKAGE_EASY_RSA is not set +BR2_PACKAGE_FILE=y +# BR2_PACKAGE_GNUPG is not set +# BR2_PACKAGE_GNUPG2 is not set +# BR2_PACKAGE_INOTIFY_TOOLS is not set +BR2_PACKAGE_LOCKFILE_PROGS=y +# BR2_PACKAGE_LOGROTATE is not set +# BR2_PACKAGE_LOGSURFER is not set +# BR2_PACKAGE_PDMENU is not set +# BR2_PACKAGE_PINENTRY is not set +# BR2_PACKAGE_QPRINT is not set +# BR2_PACKAGE_RANGER is not set +# BR2_PACKAGE_RTTY is not set +BR2_PACKAGE_SCREEN=y +BR2_PACKAGE_SUDO=y +# BR2_PACKAGE_TINI is not set +BR2_PACKAGE_TMUX=y +# BR2_PACKAGE_TTYD is not set +# BR2_PACKAGE_XMLSTARLET is not set +# BR2_PACKAGE_XXHASH is not set +# BR2_PACKAGE_YTREE is not set + +# +# System tools +# +# BR2_PACKAGE_ACL is not set +# BR2_PACKAGE_ANDROID_TOOLS is not set +# BR2_PACKAGE_ATOP is not set +# BR2_PACKAGE_ATTR is not set +# BR2_PACKAGE_BUBBLEWRAP is not set +# BR2_PACKAGE_CGROUPFS_MOUNT is not set +# BR2_PACKAGE_CIRCUS is not set +# BR2_PACKAGE_CPULOAD is not set +# BR2_PACKAGE_DAEMON is not set +# BR2_PACKAGE_DDRESCUE is not set +# BR2_PACKAGE_EARLYOOM is not set + +# +# emlog needs a Linux kernel to be built +# +# BR2_PACKAGE_FTOP is not set +# BR2_PACKAGE_GETENT is not set +# BR2_PACKAGE_GKRELLM is not set +BR2_PACKAGE_HTOP=y +# BR2_PACKAGE_IBM_SW_TPM2 is not set +# BR2_PACKAGE_IOTOP is not set +# BR2_PACKAGE_IPRUTILS is not set +# BR2_PACKAGE_IRQBALANCE is not set +# BR2_PACKAGE_KEYUTILS is not set +BR2_PACKAGE_KMOD=y +# BR2_PACKAGE_LIBOSTREE is not set +# BR2_PACKAGE_LXC is not set +# BR2_PACKAGE_MFOC is not set +# BR2_PACKAGE_MONIT is not set + +# +# multipath-tools needs udev and a uClibc or glibc toolchain w/ threads, dynamic library +# +# BR2_PACKAGE_NCDU is not set + +# +# netifrc needs openrc as init system +# +# BR2_PACKAGE_NUMACTL is not set +# BR2_PACKAGE_NUT is not set + +# +# pamtester depends on linux-pam +# +# BR2_PACKAGE_POLKIT is not set +# BR2_PACKAGE_PROCRANK_LINUX is not set +# BR2_PACKAGE_PWGEN is not set +# BR2_PACKAGE_QUOTA is not set +# BR2_PACKAGE_QUOTATOOL is not set +# BR2_PACKAGE_RAUC is not set +# BR2_PACKAGE_S6 is not set +# BR2_PACKAGE_S6_LINUX_INIT is not set +# BR2_PACKAGE_S6_LINUX_UTILS is not set +# BR2_PACKAGE_S6_PORTABLE_UTILS is not set +# BR2_PACKAGE_S6_RC is not set +# BR2_PACKAGE_SCRUB is not set +# BR2_PACKAGE_SCRYPT is not set + +# +# sdbus-c++ needs systemd and a toolchain w/ C++, gcc >= 7 +# + +# +# sdbusplus needs systemd and a toolchain w/ C++, gcc >= 7 +# +# BR2_PACKAGE_SEATD is not set +# BR2_PACKAGE_SMACK is not set +# BR2_PACKAGE_SUPERVISOR is not set +# BR2_PACKAGE_SWUPDATE is not set +BR2_PACKAGE_SYSTEMD_ARCH_SUPPORTS=y +# BR2_PACKAGE_TPM_TOOLS is not set +# BR2_PACKAGE_TPM2_ABRMD is not set +# BR2_PACKAGE_TPM2_TOOLS is not set +# BR2_PACKAGE_TPM2_TOTP is not set +# BR2_PACKAGE_UTIL_LINUX is not set +# BR2_PACKAGE_WATCHDOG is not set +# BR2_PACKAGE_WATCHDOGD is not set +# BR2_PACKAGE_XDG_DBUS_PROXY is not set +BR2_PACKAGE_XVISOR_ARCH_SUPPORTS=y +# BR2_PACKAGE_XVISOR is not set + +# +# Text editors and viewers +# +BR2_PACKAGE_ED=y +# BR2_PACKAGE_JOE is not set +BR2_PACKAGE_MC=y +BR2_PACKAGE_MG=y +# BR2_PACKAGE_MOST is not set +BR2_PACKAGE_NANO=y +# BR2_PACKAGE_NANO_TINY is not set +# BR2_PACKAGE_UEMACS is not set + +# +# Filesystem images +# +# BR2_TARGET_ROOTFS_AXFS is not set +# BR2_TARGET_ROOTFS_BTRFS is not set +# BR2_TARGET_ROOTFS_CLOOP is not set +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_NONE=y +# BR2_TARGET_ROOTFS_CPIO_GZIP is not set +# BR2_TARGET_ROOTFS_CPIO_BZIP2 is not set +# BR2_TARGET_ROOTFS_CPIO_LZ4 is not set +# BR2_TARGET_ROOTFS_CPIO_LZMA is not set +# BR2_TARGET_ROOTFS_CPIO_LZO is not set +# BR2_TARGET_ROOTFS_CPIO_XZ is not set +# BR2_TARGET_ROOTFS_CPIO_ZSTD is not set +# BR2_TARGET_ROOTFS_CPIO_UIMAGE is not set +# BR2_TARGET_ROOTFS_CRAMFS is not set +# BR2_TARGET_ROOTFS_EROFS is not set +# BR2_TARGET_ROOTFS_EXT2 is not set +# BR2_TARGET_ROOTFS_F2FS is not set + +# +# initramfs needs a Linux kernel to be built +# +# BR2_TARGET_ROOTFS_JFFS2 is not set +BR2_TARGET_ROOTFS_ROMFS=y +# BR2_TARGET_ROOTFS_SQUASHFS is not set +# BR2_TARGET_ROOTFS_TAR is not set +# BR2_TARGET_ROOTFS_UBI is not set +# BR2_TARGET_ROOTFS_UBIFS is not set +# BR2_TARGET_ROOTFS_YAFFS2 is not set + +# +# Bootloaders +# +# BR2_TARGET_BAREBOX is not set +# BR2_TARGET_BEAGLEV_DDRINIT is not set +# BR2_TARGET_BEAGLEV_SECONDBOOT is not set +# BR2_TARGET_OPENSBI is not set +# BR2_TARGET_UBOOT is not set + +# +# Host utilities +# +# BR2_PACKAGE_HOST_ABOOTIMG is not set +# BR2_PACKAGE_HOST_AESPIPE is not set +# BR2_PACKAGE_HOST_ANDROID_TOOLS is not set +# BR2_PACKAGE_HOST_ASN1C is not set +# BR2_PACKAGE_HOST_BABELTRACE2 is not set +# BR2_PACKAGE_HOST_BMAP_TOOLS is not set +# BR2_PACKAGE_HOST_BTRFS_PROGS is not set +# BR2_PACKAGE_HOST_CHECKPOLICY is not set +# BR2_PACKAGE_HOST_CHECKSEC is not set +# BR2_PACKAGE_HOST_CMAKE is not set +# BR2_PACKAGE_HOST_CRAMFS is not set +# BR2_PACKAGE_HOST_CRYPTSETUP is not set +# BR2_PACKAGE_HOST_DBUS_PYTHON is not set +# BR2_PACKAGE_HOST_DELVE is not set +# BR2_PACKAGE_HOST_DFU_UTIL is not set +# BR2_PACKAGE_HOST_DOS2UNIX is not set +# BR2_PACKAGE_HOST_DOSFSTOOLS is not set +# BR2_PACKAGE_HOST_DOXYGEN is not set +# BR2_PACKAGE_HOST_DTC is not set +# BR2_PACKAGE_HOST_E2FSPROGS is not set +# BR2_PACKAGE_HOST_E2TOOLS is not set +# BR2_PACKAGE_HOST_ENVIRONMENT_SETUP is not set +# BR2_PACKAGE_HOST_EROFS_UTILS is not set +# BR2_PACKAGE_HOST_EXFATPROGS is not set +# BR2_PACKAGE_HOST_F2FS_TOOLS is not set +# BR2_PACKAGE_HOST_FAKETIME is not set +# BR2_PACKAGE_HOST_FATCAT is not set +# BR2_PACKAGE_HOST_FIRMWARE_UTILS is not set +# BR2_PACKAGE_HOST_FWUP is not set +# BR2_PACKAGE_HOST_GENEXT2FS is not set +# BR2_PACKAGE_HOST_GENIMAGE is not set +# BR2_PACKAGE_HOST_GENPART is not set +# BR2_PACKAGE_HOST_GNUPG is not set +BR2_PACKAGE_HOST_GO_HOST_ARCH_SUPPORTS=y +BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS=y +BR2_PACKAGE_HOST_GOOGLE_BREAKPAD_ARCH_SUPPORTS=y +# BR2_PACKAGE_HOST_GPTFDISK is not set +# BR2_PACKAGE_HOST_IMAGEMAGICK is not set +# BR2_PACKAGE_HOST_IMX_MKIMAGE is not set +# BR2_PACKAGE_HOST_JH71XX_TOOLS is not set +# BR2_PACKAGE_HOST_JQ is not set +# BR2_PACKAGE_HOST_JSMIN is not set +BR2_PACKAGE_HOST_KMOD=y +# BR2_PACKAGE_HOST_KMOD_GZ is not set +# BR2_PACKAGE_HOST_KMOD_ZSTD is not set +# BR2_PACKAGE_HOST_KMOD_XZ is not set +# BR2_PACKAGE_HOST_LIBP11 is not set +# BR2_PACKAGE_HOST_LPC3250LOADER is not set +# BR2_PACKAGE_HOST_LTTNG_BABELTRACE is not set +# BR2_PACKAGE_HOST_MENDER_ARTIFACT is not set +# BR2_PACKAGE_HOST_MESON_TOOLS is not set +BR2_PACKAGE_HOST_MKPASSWD=y +# BR2_PACKAGE_HOST_MTD is not set +# BR2_PACKAGE_HOST_MTOOLS is not set +# BR2_PACKAGE_HOST_NODEJS is not set +# BR2_PACKAGE_HOST_ODB is not set +# BR2_PACKAGE_HOST_OPENOCD is not set +# BR2_PACKAGE_HOST_OPKG_UTILS is not set +# BR2_PACKAGE_HOST_PAHOLE is not set +# BR2_PACKAGE_HOST_PARTED is not set +BR2_PACKAGE_HOST_PATCHELF=y +# BR2_PACKAGE_HOST_PIGZ is not set +# BR2_PACKAGE_HOST_PKGCONF is not set +# BR2_PACKAGE_HOST_PWGEN is not set +# BR2_PACKAGE_HOST_PYTHON_CYTHON is not set +# BR2_PACKAGE_HOST_PYTHON_GREENLET is not set +# BR2_PACKAGE_HOST_PYTHON_LXML is not set +# BR2_PACKAGE_HOST_PYTHON_SIX is not set +# BR2_PACKAGE_HOST_PYTHON_XLRD is not set +# BR2_PACKAGE_HOST_PYTHON3 is not set +BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS=y +BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS=y +BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS=y +# BR2_PACKAGE_HOST_QEMU is not set +# BR2_PACKAGE_HOST_QORIQ_RCW is not set +# BR2_PACKAGE_HOST_RAUC is not set +# BR2_PACKAGE_HOST_RISCV_ISA_SIM is not set +BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS=y +BR2_PACKAGE_HOST_RUSTC_ARCH="riscv32" +# BR2_PACKAGE_HOST_RUSTC is not set +BR2_PACKAGE_PROVIDES_HOST_RUSTC="host-rust-bin" +# BR2_PACKAGE_HOST_SAM_BA is not set +# BR2_PACKAGE_HOST_SDBUSPLUS is not set +# BR2_PACKAGE_HOST_SENTRY_CLI is not set +# BR2_PACKAGE_HOST_SLOCI_IMAGE is not set +# BR2_PACKAGE_HOST_SQUASHFS is not set +# BR2_PACKAGE_HOST_SWIG is not set +# BR2_PACKAGE_HOST_UBOOT_TOOLS is not set +# BR2_PACKAGE_HOST_UTIL_LINUX is not set +# BR2_PACKAGE_HOST_UTP_COM is not set +# BR2_PACKAGE_HOST_VBOOT_UTILS is not set +# BR2_PACKAGE_HOST_XORRISO is not set +# BR2_PACKAGE_HOST_ZIP is not set +# BR2_PACKAGE_HOST_ZSTD is not set + +# +# Legacy config options +# + +# +# Legacy options removed in 2022.02 +# +# BR2_PACKAGE_WESTON_DEFAULT_FBDEV is not set +# BR2_PACKAGE_WESTON_FBDEV is not set +# BR2_PACKAGE_PYTHON_PYCLI is not set +# BR2_PACKAGE_LINUX_TOOLS_BPFTOOL is not set +# BR2_TARGET_UBOOT_NEEDS_PYTHON2 is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS is not set +# BR2_PACKAGE_PYTHON_FUNCTOOLS32 is not set +# BR2_PACKAGE_PYTHON_ENUM34 is not set +# BR2_PACKAGE_PYTHON_ENUM is not set +# BR2_PACKAGE_PYTHON_DIALOG is not set +# BR2_PACKAGE_PYTHON_CONFIGOBJ is not set +# BR2_PACKAGE_PYTHON_YIELDFROM is not set +# BR2_PACKAGE_PYTHON_TYPING is not set +# BR2_PACKAGE_PYTHON_SUBPROCESS32 is not set +# BR2_PACKAGE_PYTHON_SINGLEDISPATCH is not set +# BR2_PACKAGE_PYTHON_PYRO is not set +# BR2_PACKAGE_PYTHON_PYPCAP is not set +# BR2_PACKAGE_PYTHON_PATHLIB2 is not set +# BR2_PACKAGE_PYTHON_PAM is not set +# BR2_PACKAGE_PYTHON_NFC is not set +# BR2_PACKAGE_PYTHON_MAD is not set +# BR2_PACKAGE_PYTHON_IPADDRESS is not set +# BR2_PACKAGE_PYTHON_IPADDR is not set +# BR2_PACKAGE_PYTHON_ID3 is not set +# BR2_PACKAGE_PYTHON_FUTURES is not set +# BR2_PACKAGE_PYTHON_BACKPORTS_SSL_MATCH_HOSTNAME is not set +# BR2_PACKAGE_PYTHON_BACKPORTS_SHUTIL_GET_TERMINAL_SIZE is not set +# BR2_PACKAGE_PYTHON_BACKPORTS_ABC is not set +# BR2_PACKAGE_PYTHON is not set +# BR2_TARGET_UBOOT_ZYNQ_IMAGE is not set +# BR2_PACKAGE_HOST_GDB_PYTHON is not set +# BR2_PACKAGE_GSTREAMER1_MM is not set +# BR2_KERNEL_HEADERS_5_14 is not set +# BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE is not set +# BR2_PACKAGE_CIVETWEB_WITH_LUA is not set +# BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER is not set +# BR2_PACKAGE_SUNXI_MALI_MAINLINE is not set +# BR2_PACKAGE_SUNXI_MALI_MAINLINE_R6P2 is not set +# BR2_PACKAGE_SUNXI_MALI_MAINLINE_R8P1 is not set +# BR2_PACKAGE_QT5WEBKIT_EXAMPLES is not set +# BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_GLIBC_BLEEDING_EDGE is not set +# BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_RISCV64_MUSL_BLEEDING_EDGE is not set +# BR2_PACKAGE_IPUTILS_TFTPD is not set +# BR2_PACKAGE_IPUTILS_TRACEROUTE6 is not set +# BR2_PACKAGE_LIBMEDIAART_BACKEND_NONE is not set +# BR2_PACKAGE_MPD_UPNP is not set + +# +# Legacy options removed in 2021.11 +# +# BR2_OPENJDK_VERSION_LTS is not set +# BR2_OPENJDK_VERSION_LATEST is not set +# BR2_PACKAGE_MPD_TIDAL is not set +# BR2_PACKAGE_MROUTED_RSRR is not set +# BR2_BINUTILS_VERSION_CSKY is not set +# BR2_GCC_VERSION_CSKY is not set +# BR2_PACKAGE_CANFESTIVAL is not set +# BR2_PACKAGE_NMAP_NDIFF is not set +# BR2_GDB_VERSION_8_3 is not set +# BR2_PACKAGE_PYTHON_MELD3 is not set +# BR2_PACKAGE_STRONGSWAN_EAP is not set +# BR2_PACKAGE_GNURADIO_PAGER is not set +# BR2_KERNEL_HEADERS_5_11 is not set +# BR2_KERNEL_HEADERS_5_12 is not set +# BR2_KERNEL_HEADERS_5_13 is not set + +# +# Legacy options removed in 2021.08 +# +BR2_TARGET_GRUB2_BUILTIN_MODULES="" +BR2_TARGET_GRUB2_BUILTIN_CONFIG="" +# BR2_PACKAGE_LIBMCRYPT is not set +# BR2_PACKAGE_MCRYPT is not set +# BR2_PACKAGE_PHP_EXT_MCRYPT is not set +# BR2_BINUTILS_VERSION_2_34_X is not set +# BR2_PACKAGE_LIBSOIL is not set +# BR2_PACKAGE_CLAPACK is not set +# BR2_PACKAGE_SPIDERMONKEY is not set +# BR2_PACKAGE_KODI_LIBVA is not set +# BR2_PACKAGE_PYTHON_COHERENCE is not set +# BR2_PACKAGE_PHP_EXT_XMLRPC is not set +# BR2_GCC_VERSION_8_X is not set + +# +# Legacy options removed in 2021.05 +# +# BR2_PACKAGE_UDISKS_LVM2 is not set +# BR2_PACKAGE_LVM2_APP_LIBRARY is not set +# BR2_PACKAGE_LVM2_LVMETAD is not set +# BR2_PACKAGE_MONKEY is not set +# BR2_PACKAGE_DOCKER_CONTAINERD is not set +# BR2_PACKAGE_IOSTAT is not set +# BR2_PACKAGE_SCONESERVER_HTTP_SCONESITE_IMAGE is not set +# BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_EVDEV is not set +# BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_KBD is not set +# BR2_PACKAGE_XSERVER_XORG_SERVER_KDRIVE_MOUSE is not set +# BR2_PACKAGE_MESA3D_OSMESA_CLASSIC is not set +# BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST is not set +# BR2_PACKAGE_KODI_SCREENSAVER_CRYSTALMORPH is not set + +# +# Legacy options removed in 2021.02 +# +# BR2_PACKAGE_MPD_AUDIOFILE is not set +# BR2_PACKAGE_AUDIOFILE is not set +# BR2_BINUTILS_VERSION_2_33_X is not set +# BR2_PACKAGE_LIBUPNP18 is not set +# BR2_PACKAGE_BOA is not set +# BR2_PACKAGE_LINUX_FIRMWARE_IMX_SDMA is not set +# BR2_GDB_VERSION_8_2 is not set +# BR2_PACKAGE_HOST_RCW is not set +# BR2_KERNEL_HEADERS_5_9 is not set +# BR2_KERNEL_HEADERS_5_8 is not set +# BR2_powerpc_601 is not set +# BR2_PACKAGE_TI_SGX_LIBGBM is not set +# BR2_PACKAGE_IPSEC_TOOLS is not set + +# +# Legacy options removed in 2020.11 +# +# BR2_PACKAGE_GPSD_FIXED_PORT_SPEED is not set +# BR2_PACKAGE_GPSD_RECONFIGURE is not set +# BR2_PACKAGE_GPSD_CONTROLSEND is not set +# BR2_PACKAGE_OPENCV is not set +# BR2_PACKAGE_LIBCROCO is not set +# BR2_PACKAGE_BELLAGIO is not set +# BR2_PACKAGE_SYSTEMD_JOURNAL_GATEWAY is not set +# BR2_TARGET_UBOOT_BOOT_SCRIPT is not set +# BR2_TARGET_UBOOT_ENVIMAGE is not set +# BR2_PACKAGE_KISMET_CLIENT is not set +# BR2_PACKAGE_KISMET_DRONE is not set +# BR2_GCC_VERSION_7_X is not set +# BR2_PACKAGE_GST1_VALIDATE is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_YADIF is not set +# BR2_PACKAGE_GQVIEW is not set +# BR2_PACKAGE_WESTON_IMX is not set +# BR2_KERNEL_HEADERS_5_7 is not set +# BR2_PACKAGE_TINYHTTPD is not set +# BR2_PACKAGE_XSERVER_XORG_SERVER_AIGLX is not set +# BR2_PACKAGE_AMD_CATALYST is not set +# BR2_PACKAGE_NVIDIA_TEGRA23 is not set +# BR2_GDB_VERSION_8_1 is not set + +# +# Legacy options removed in 2020.08 +# +# BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AMD64 is not set +# BR2_KERNEL_HEADERS_5_6 is not set +# BR2_KERNEL_HEADERS_5_5 is not set +# BR2_BINUTILS_VERSION_2_31_X is not set +# BR2_PACKAGE_KODI_PERIPHERAL_STEAMCONTROLLER is not set + +# +# Legacy options removed in 2020.05 +# +# BR2_PACKAGE_WIRINGPI is not set +# BR2_PACKAGE_PYTHON_PYCRYPTO is not set +# BR2_PACKAGE_MTDEV2TUIO is not set +# BR2_PACKAGE_EZXML is not set +# BR2_PACKAGE_COLLECTD_LVM is not set +# BR2_PACKAGE_PYTHON_PYASN is not set +# BR2_PACKAGE_PYTHON_PYASN_MODULES is not set +# BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_10K_QCA6174 is not set +# BR2_PACKAGE_QT5CANVAS3D is not set +# BR2_PACKAGE_KODI_LIBTHEORA is not set +# BR2_PACKAGE_CEGUI06 is not set +# BR2_GCC_VERSION_5_X is not set + +# +# Legacy options removed in 2020.02 +# +# BR2_PACKAGE_JAMVM is not set +# BR2_PACKAGE_CLASSPATH is not set +# BR2_PACKAGE_QT5_VERSION_5_6 is not set +# BR2_PACKAGE_CURL is not set +# BR2_PACKAGE_GSTREAMER is not set +# BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_GSTREAMER_PLUGINS is not set +# BR2_PACKAGE_NVIDIA_TEGRA23_BINARIES_NV_SAMPLE_APPS is not set +# BR2_PACKAGE_FREERDP_GSTREAMER is not set +# BR2_PACKAGE_OPENCV3_WITH_GSTREAMER is not set +# BR2_PACKAGE_OPENCV_WITH_GSTREAMER is not set +# BR2_PACKAGE_LIBPLAYER is not set +# BR2_GCC_VERSION_OR1K is not set +# BR2_PACKAGE_BLUEZ_UTILS is not set +# BR2_PACKAGE_GADGETFS_TEST is not set +# BR2_PACKAGE_FIS is not set +BR2_PACKAGE_REFPOLICY_POLICY_VERSION="" +# BR2_PACKAGE_CELT051 is not set +# BR2_PACKAGE_WIREGUARD is not set +# BR2_PACKAGE_PERL_NET_PING is not set +# BR2_PACKAGE_PERL_MIME_BASE64 is not set +# BR2_PACKAGE_PERL_DIGEST_MD5 is not set +# BR2_PACKAGE_ERLANG_P1_ICONV is not set +# BR2_KERNEL_HEADERS_5_3 is not set +# BR2_PACKAGE_PYTHON_SCAPY3K is not set +# BR2_BINUTILS_VERSION_2_30_X is not set +# BR2_PACKAGE_RPI_USERLAND_START_VCFILED is not set + +# +# Legacy options removed in 2019.11 +# +# BR2_PACKAGE_OPENVMTOOLS_PROCPS is not set +# BR2_PACKAGE_ALLJOYN is not set +# BR2_PACKAGE_ALLJOYN_BASE is not set +# BR2_PACKAGE_ALLJOYN_BASE_CONTROLPANEL is not set +# BR2_PACKAGE_ALLJOYN_BASE_NOTIFICATION is not set +# BR2_PACKAGE_ALLJOYN_BASE_ONBOARDING is not set +# BR2_PACKAGE_ALLJOYN_TCL_BASE is not set +# BR2_PACKAGE_ALLJOYN_TCL is not set +BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS="" +# BR2_PACKAGE_PYTHON_PYSNMP_APPS is not set +# BR2_KERNEL_HEADERS_5_2 is not set +# BR2_TARGET_RISCV_PK is not set +# BR2_PACKAGE_SQLITE_STAT3 is not set +# BR2_KERNEL_HEADERS_5_1 is not set +# BR2_PACKAGE_DEVMEM2 is not set +# BR2_PACKAGE_USTR is not set +# BR2_PACKAGE_KODI_SCREENSAVER_PLANESTATE is not set +# BR2_PACKAGE_KODI_VISUALISATION_WAVEFORHUE is not set +# BR2_PACKAGE_KODI_AUDIODECODER_OPUS is not set +# BR2_PACKAGE_MESA3D_OSMESA is not set +# BR2_PACKAGE_HOSTAPD_DRIVER_RTW is not set +# BR2_PACKAGE_WPA_SUPPLICANT_DBUS_NEW is not set +# BR2_PACKAGE_WPA_SUPPLICANT_DBUS_OLD is not set + +# +# Legacy options removed in 2019.08 +# +# BR2_TARGET_TS4800_MBRBOOT is not set +# BR2_PACKAGE_LIBAMCODEC is not set +# BR2_PACKAGE_ODROID_SCRIPTS is not set +# BR2_PACKAGE_ODROID_MALI is not set +# BR2_PACKAGE_KODI_PLATFORM_AML is not set +# BR2_GCC_VERSION_6_X is not set +# BR2_GCC_VERSION_4_9_X is not set +# BR2_GDB_VERSION_7_12 is not set +# BR2_PACKAGE_XAPP_MKFONTDIR is not set +# BR2_GDB_VERSION_8_0 is not set +# BR2_KERNEL_HEADERS_4_20 is not set +# BR2_KERNEL_HEADERS_5_0 is not set + +# +# Legacy options removed in 2019.05 +# +# BR2_CSKY_DSP is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_COMPOSITOR is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_IQA is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_STEREO is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VCD is not set +# BR2_PACKAGE_LUNIT is not set +# BR2_PACKAGE_FFMPEG_FFSERVER is not set +# BR2_PACKAGE_LIBUMP is not set +# BR2_PACKAGE_SUNXI_MALI is not set +# BR2_BINUTILS_VERSION_2_29_X is not set +# BR2_BINUTILS_VERSION_2_28_X is not set +# BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_APEXSINK is not set + +# +# Legacy options removed in 2019.02 +# +# BR2_PACKAGE_QT is not set +# BR2_PACKAGE_QTUIO is not set +# BR2_PACKAGE_PINENTRY_QT4 is not set +# BR2_PACKAGE_POPPLER_QT is not set +# BR2_PACKAGE_OPENCV3_WITH_QT is not set +# BR2_PACKAGE_OPENCV_WITH_QT is not set +# BR2_PACKAGE_AMD_CATALYST_CCCLE is not set +# BR2_PACKAGE_SDL_QTOPIA is not set +# BR2_PACKAGE_PYTHON_PYQT is not set +# BR2_PACKAGE_LUACRYPTO is not set +# BR2_PACKAGE_TN5250 is not set +# BR2_PACKAGE_BOOST_SIGNALS is not set +# BR2_PACKAGE_FFTW_PRECISION_SINGLE is not set +# BR2_PACKAGE_FFTW_PRECISION_DOUBLE is not set +# BR2_PACKAGE_FFTW_PRECISION_LONG_DOUBLE is not set +# BR2_PACKAGE_LUA_5_2 is not set +# BR2_TARGET_GENERIC_PASSWD_MD5 is not set + +# +# Legacy options removed in 2018.11 +# +# BR2_TARGET_XLOADER is not set +# BR2_PACKAGE_TIDSP_BINARIES is not set +# BR2_PACKAGE_DSP_TOOLS is not set +# BR2_PACKAGE_GST_DSP is not set +# BR2_PACKAGE_BOOTUTILS is not set +# BR2_PACKAGE_EXPEDITE is not set +# BR2_PACKAGE_MESA3D_OPENGL_TEXTURE_FLOAT is not set +# BR2_KERNEL_HEADERS_4_10 is not set +# BR2_KERNEL_HEADERS_4_11 is not set +# BR2_KERNEL_HEADERS_4_12 is not set +# BR2_KERNEL_HEADERS_4_13 is not set +# BR2_KERNEL_HEADERS_4_15 is not set +# BR2_KERNEL_HEADERS_4_17 is not set +# BR2_PACKAGE_LIBNFTNL_XML is not set +# BR2_KERNEL_HEADERS_3_2 is not set +# BR2_KERNEL_HEADERS_4_1 is not set +# BR2_KERNEL_HEADERS_4_16 is not set +# BR2_KERNEL_HEADERS_4_18 is not set + +# +# Legacy options removed in 2018.08 +# +# BR2_PACKAGE_DOCKER_ENGINE_STATIC_CLIENT is not set +# BR2_PACKAGE_XPROTO_APPLEWMPROTO is not set +# BR2_PACKAGE_XPROTO_BIGREQSPROTO is not set +# BR2_PACKAGE_XPROTO_COMPOSITEPROTO is not set +# BR2_PACKAGE_XPROTO_DAMAGEPROTO is not set +# BR2_PACKAGE_XPROTO_DMXPROTO is not set +# BR2_PACKAGE_XPROTO_DRI2PROTO is not set +# BR2_PACKAGE_XPROTO_DRI3PROTO is not set +# BR2_PACKAGE_XPROTO_FIXESPROTO is not set +# BR2_PACKAGE_XPROTO_FONTCACHEPROTO is not set +# BR2_PACKAGE_XPROTO_FONTSPROTO is not set +# BR2_PACKAGE_XPROTO_GLPROTO is not set +# BR2_PACKAGE_XPROTO_INPUTPROTO is not set +# BR2_PACKAGE_XPROTO_KBPROTO is not set +# BR2_PACKAGE_XPROTO_PRESENTPROTO is not set +# BR2_PACKAGE_XPROTO_RANDRPROTO is not set +# BR2_PACKAGE_XPROTO_RECORDPROTO is not set +# BR2_PACKAGE_XPROTO_RENDERPROTO is not set +# BR2_PACKAGE_XPROTO_RESOURCEPROTO is not set +# BR2_PACKAGE_XPROTO_SCRNSAVERPROTO is not set +# BR2_PACKAGE_XPROTO_VIDEOPROTO is not set +# BR2_PACKAGE_XPROTO_WINDOWSWMPROTO is not set +# BR2_PACKAGE_XPROTO_XCMISCPROTO is not set +# BR2_PACKAGE_XPROTO_XEXTPROTO is not set +# BR2_PACKAGE_XPROTO_XF86BIGFONTPROTO is not set +# BR2_PACKAGE_XPROTO_XF86DGAPROTO is not set +# BR2_PACKAGE_XPROTO_XF86DRIPROTO is not set +# BR2_PACKAGE_XPROTO_XF86VIDMODEPROTO is not set +# BR2_PACKAGE_XPROTO_XINERAMAPROTO is not set +# BR2_PACKAGE_XPROTO_XPROTO is not set +# BR2_PACKAGE_XPROTO_XPROXYMANAGEMENTPROTOCOL is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_OPENGL is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_GLES2 is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_GLX is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_EGL is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_X11 is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_WAYLAND is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_LIB_OPENGL_DISPMANX is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER is not set +# BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_LAME is not set +# BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MPG123 is not set +# BR2_GDB_VERSION_7_11 is not set +# BR2_GDB_VERSION_7_10 is not set + +# +# Legacy options removed in 2018.05 +# +# BR2_PACKAGE_MEDIAART_BACKEND_NONE is not set +# BR2_PACKAGE_MEDIAART_BACKEND_GDK_PIXBUF is not set +# BR2_PACKAGE_TI_SGX_AM335X is not set +# BR2_PACKAGE_TI_SGX_AM437X is not set +# BR2_PACKAGE_TI_SGX_AM4430 is not set +# BR2_PACKAGE_TI_SGX_AM5430 is not set +# BR2_PACKAGE_JANUS_AUDIO_BRIDGE is not set +# BR2_PACKAGE_JANUS_ECHO_TEST is not set +# BR2_PACKAGE_JANUS_RECORDPLAY is not set +# BR2_PACKAGE_JANUS_SIP_GATEWAY is not set +# BR2_PACKAGE_JANUS_STREAMING is not set +# BR2_PACKAGE_JANUS_TEXT_ROOM is not set +# BR2_PACKAGE_JANUS_VIDEO_CALL is not set +# BR2_PACKAGE_JANUS_VIDEO_ROOM is not set +# BR2_PACKAGE_JANUS_MQTT is not set +# BR2_PACKAGE_JANUS_RABBITMQ is not set +# BR2_PACKAGE_JANUS_REST is not set +# BR2_PACKAGE_JANUS_UNIX_SOCKETS is not set +# BR2_PACKAGE_JANUS_WEBSOCKETS is not set +# BR2_PACKAGE_IPSEC_SECCTX_DISABLE is not set +# BR2_PACKAGE_IPSEC_SECCTX_ENABLE is not set +# BR2_PACKAGE_IPSEC_SECCTX_KERNEL is not set +# BR2_PACKAGE_LIBTFDI_CPP is not set +# BR2_PACKAGE_JQUERY_UI_THEME_BLACK_TIE is not set +# BR2_PACKAGE_JQUERY_UI_THEME_BLITZER is not set +# BR2_PACKAGE_JQUERY_UI_THEME_CUPERTINO is not set +# BR2_PACKAGE_JQUERY_UI_THEME_DARK_HIVE is not set +# BR2_PACKAGE_JQUERY_UI_THEME_DOT_LUV is not set +# BR2_PACKAGE_JQUERY_UI_THEME_EGGPLANT is not set +# BR2_PACKAGE_JQUERY_UI_THEME_EXCITE_BIKE is not set +# BR2_PACKAGE_JQUERY_UI_THEME_FLICK is not set +# BR2_PACKAGE_JQUERY_UI_THEME_HOT_SNEAKS is not set +# BR2_PACKAGE_JQUERY_UI_THEME_HUMANITY is not set +# BR2_PACKAGE_JQUERY_UI_THEME_LE_FROG is not set +# BR2_PACKAGE_JQUERY_UI_THEME_MINT_CHOC is not set +# BR2_PACKAGE_JQUERY_UI_THEME_OVERCAST is not set +# BR2_PACKAGE_JQUERY_UI_THEME_PEPPER_GRINDER is not set +# BR2_PACKAGE_JQUERY_UI_THEME_REDMOND is not set +# BR2_PACKAGE_JQUERY_UI_THEME_SMOOTHNESS is not set +# BR2_PACKAGE_JQUERY_UI_THEME_SOUTH_STREET is not set +# BR2_PACKAGE_JQUERY_UI_THEME_START is not set +# BR2_PACKAGE_JQUERY_UI_THEME_SUNNY is not set +# BR2_PACKAGE_JQUERY_UI_THEME_SWANKY_PURSE is not set +# BR2_PACKAGE_JQUERY_UI_THEME_TRONTASTIC is not set +# BR2_PACKAGE_JQUERY_UI_THEME_UI_DARKNESS is not set +# BR2_PACKAGE_JQUERY_UI_THEME_UI_LIGHTNESS is not set +# BR2_PACKAGE_JQUERY_UI_THEME_VADER is not set +# BR2_PACKAGE_BLUEZ5_PLUGINS_HEALTH is not set +# BR2_PACKAGE_BLUEZ5_PLUGINS_MIDI is not set +# BR2_PACKAGE_BLUEZ5_PLUGINS_NFC is not set +# BR2_PACKAGE_BLUEZ5_PLUGINS_SAP is not set +# BR2_PACKAGE_BLUEZ5_PLUGINS_SIXAXIS is not set +# BR2_PACKAGE_TRANSMISSION_REMOTE is not set +# BR2_PACKAGE_LIBKCAPI_APPS is not set +# BR2_PACKAGE_MPLAYER is not set +# BR2_PACKAGE_MPLAYER_MPLAYER is not set +# BR2_PACKAGE_MPLAYER_MENCODER is not set +# BR2_PACKAGE_LIBPLAYER_MPLAYER is not set +# BR2_PACKAGE_IQVLINUX is not set +# BR2_BINFMT_FLAT_SEP_DATA is not set +# BR2_bfin is not set +# BR2_PACKAGE_KODI_ADSP_BASIC is not set +# BR2_PACKAGE_KODI_ADSP_FREESURROUND is not set + +# +# Legacy options removed in 2018.02 +# +# BR2_KERNEL_HEADERS_3_4 is not set +# BR2_KERNEL_HEADERS_3_10 is not set +# BR2_KERNEL_HEADERS_3_12 is not set +# BR2_BINUTILS_VERSION_2_27_X is not set +# BR2_PACKAGE_EEPROG is not set +# BR2_PACKAGE_GNUPG2_GPGV2 is not set +# BR2_PACKAGE_IMX_GPU_VIV_APITRACE is not set +# BR2_PACKAGE_IMX_GPU_VIV_G2D is not set + +# +# Legacy options removed in 2017.11 +# +# BR2_PACKAGE_RFKILL is not set +# BR2_PACKAGE_UTIL_LINUX_RESET is not set +# BR2_PACKAGE_POLICYCOREUTILS_AUDIT2ALLOW is not set +# BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND is not set +# BR2_PACKAGE_SEPOLGEN is not set +# BR2_PACKAGE_OPENOBEX_BLUEZ is not set +# BR2_PACKAGE_OPENOBEX_LIBUSB is not set +# BR2_PACKAGE_OPENOBEX_APPS is not set +# BR2_PACKAGE_OPENOBEX_SYSLOG is not set +# BR2_PACKAGE_OPENOBEX_DUMP is not set +# BR2_PACKAGE_AICCU is not set +# BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS is not set + +# +# Legacy options removed in 2017.08 +# +# BR2_TARGET_GRUB is not set +# BR2_PACKAGE_SIMICSFS is not set +# BR2_BINUTILS_VERSION_2_26_X is not set +BR2_XTENSA_OVERLAY_DIR="" +BR2_XTENSA_CUSTOM_NAME="" +# BR2_PACKAGE_HOST_MKE2IMG is not set +BR2_TARGET_ROOTFS_EXT2_BLOCKS=0 +BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES=0 +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_CDXAPARSE is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DATAURISRC is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DCCP is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HDVPARSE is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MVE is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NUVDEMUX is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_PATCHDETECT is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDI is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_TTA is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_VIDEOMEASURE is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_APEXSINK is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL is not set +# BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_MAD is not set +# BR2_STRIP_none is not set +# BR2_PACKAGE_BEECRYPT_CPP is not set +# BR2_PACKAGE_SPICE_CLIENT is not set +# BR2_PACKAGE_SPICE_GUI is not set +# BR2_PACKAGE_SPICE_TUNNEL is not set +# BR2_PACKAGE_INPUT_TOOLS is not set +# BR2_PACKAGE_INPUT_TOOLS_INPUTATTACH is not set +# BR2_PACKAGE_INPUT_TOOLS_JSCAL is not set +# BR2_PACKAGE_INPUT_TOOLS_JSTEST is not set +# BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH is not set +# BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_X86 is not set +# BR2_GCC_VERSION_4_8_X is not set + +# +# Legacy options removed in 2017.05 +# +# BR2_PACKAGE_SUNXI_MALI_R2P4 is not set +# BR2_PACKAGE_NODEJS_MODULES_COFFEESCRIPT is not set +# BR2_PACKAGE_NODEJS_MODULES_EXPRESS is not set +# BR2_PACKAGE_BLUEZ5_UTILS_GATTTOOL is not set +# BR2_PACKAGE_OPENOCD_FT2XXX is not set +# BR2_PACKAGE_KODI_RTMPDUMP is not set +# BR2_PACKAGE_KODI_VISUALISATION_FOUNTAIN is not set +# BR2_PACKAGE_PORTMAP is not set +# BR2_BINUTILS_VERSION_2_25_X is not set +# BR2_TOOLCHAIN_BUILDROOT_INET_RPC is not set +BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS=0 +# BR2_PACKAGE_SYSTEMD_KDBUS is not set +# BR2_PACKAGE_POLARSSL is not set +# BR2_NBD_CLIENT is not set +# BR2_NBD_SERVER is not set +# BR2_PACKAGE_GMOCK is not set +# BR2_KERNEL_HEADERS_4_8 is not set +# BR2_KERNEL_HEADERS_3_18 is not set +# BR2_GLIBC_VERSION_2_22 is not set + +# +# Legacy options removed in 2017.02 +# +# BR2_PACKAGE_PERL_DB_FILE is not set +# BR2_KERNEL_HEADERS_4_7 is not set +# BR2_KERNEL_HEADERS_4_6 is not set +# BR2_KERNEL_HEADERS_4_5 is not set +# BR2_KERNEL_HEADERS_3_14 is not set +# BR2_TOOLCHAIN_EXTERNAL_MUSL_CROSS is not set +# BR2_UCLIBC_INSTALL_TEST_SUITE is not set +# BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX is not set +# BR2_PACKAGE_MAKEDEVS is not set +# BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A is not set +# BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE is not set +# BR2_PACKAGE_SNOWBALL_HDMISERVICE is not set +# BR2_PACKAGE_SNOWBALL_INIT is not set +# BR2_GDB_VERSION_7_9 is not set + +# +# Legacy options removed in 2016.11 +# +# BR2_PACKAGE_PHP_SAPI_CLI_CGI is not set +# BR2_PACKAGE_PHP_SAPI_CLI_FPM is not set +# BR2_PACKAGE_WVSTREAMS is not set +# BR2_PACKAGE_WVDIAL is not set +# BR2_PACKAGE_WEBKITGTK24 is not set +# BR2_PACKAGE_TORSMO is not set +# BR2_PACKAGE_SSTRIP is not set +# BR2_KERNEL_HEADERS_4_3 is not set +# BR2_KERNEL_HEADERS_4_2 is not set +# BR2_PACKAGE_KODI_ADDON_XVDR is not set +# BR2_PACKAGE_IPKG is not set +# BR2_GCC_VERSION_4_7_X is not set +# BR2_BINUTILS_VERSION_2_24_X is not set +# BR2_PACKAGE_WESTON_RPI is not set +# BR2_GCC_VERSION_4_8_ARC is not set +# BR2_KERNEL_HEADERS_4_0 is not set +# BR2_KERNEL_HEADERS_3_19 is not set +# BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS is not set +# BR2_PACKAGE_ELEMENTARY is not set +# BR2_LINUX_KERNEL_CUSTOM_LOCAL is not set + +# +# Legacy options removed in 2016.08 +# +# BR2_PACKAGE_EFL_JP2K is not set +# BR2_PACKAGE_SYSTEMD_COMPAT is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIVEADDER is not set +# BR2_PACKAGE_LIBFSLVPUWRAP is not set +# BR2_PACKAGE_LIBFSLPARSER is not set +# BR2_PACKAGE_LIBFSLCODEC is not set +# BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE_FIT_SIGNATURE_SUPPORT is not set +# BR2_PTHREADS_OLD is not set +# BR2_BINUTILS_VERSION_2_23_X is not set +# BR2_TOOLCHAIN_BUILDROOT_EGLIBC is not set +# BR2_GDB_VERSION_7_8 is not set + +# +# Legacy options removed in 2016.05 +# +# BR2_PACKAGE_OPENVPN_CRYPTO_POLARSSL is not set +# BR2_PACKAGE_NGINX_HTTP_SPDY_MODULE is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RTP is not set +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPG123 is not set +# BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC is not set +# BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC_E500V2 is not set +# BR2_x86_i386 is not set +# BR2_PACKAGE_QT5QUICK1 is not set +BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR="" +# BR2_PACKAGE_XDRIVER_XF86_INPUT_VOID is not set +# BR2_KERNEL_HEADERS_3_17 is not set +# BR2_GDB_VERSION_7_7 is not set +# BR2_PACKAGE_FOOMATIC_FILTERS is not set +# BR2_PACKAGE_SAMBA is not set +# BR2_PACKAGE_KODI_WAVPACK is not set +# BR2_PACKAGE_KODI_RSXS is not set +# BR2_PACKAGE_KODI_GOOM is not set +# BR2_PACKAGE_SYSTEMD_ALL_EXTRAS is not set +# BR2_GCC_VERSION_4_5_X is not set +# BR2_PACKAGE_SQLITE_READLINE is not set + +# +# Legacy options removed in 2016.02 +# +# BR2_PACKAGE_DOVECOT_BZIP2 is not set +# BR2_PACKAGE_DOVECOT_ZLIB is not set +# BR2_PACKAGE_E2FSPROGS_FINDFS is not set +# BR2_PACKAGE_OPENPOWERLINK_DEBUG_LEVEL is not set +# BR2_PACKAGE_OPENPOWERLINK_KERNEL_MODULE is not set +# BR2_PACKAGE_OPENPOWERLINK_LIBPCAP is not set +# BR2_LINUX_KERNEL_SAME_AS_HEADERS is not set +# BR2_PACKAGE_CUPS_PDFTOPS is not set +# BR2_KERNEL_HEADERS_3_16 is not set +# BR2_PACKAGE_PYTHON_PYXML is not set +# BR2_ENABLE_SSP is not set +# BR2_PACKAGE_DIRECTFB_CLE266 is not set +# BR2_PACKAGE_DIRECTFB_UNICHROME is not set +# BR2_PACKAGE_LIBELEMENTARY is not set +# BR2_PACKAGE_LIBEINA is not set +# BR2_PACKAGE_LIBEET is not set +# BR2_PACKAGE_LIBEVAS is not set +# BR2_PACKAGE_LIBECORE is not set +# BR2_PACKAGE_LIBEDBUS is not set +# BR2_PACKAGE_LIBEFREET is not set +# BR2_PACKAGE_LIBEIO is not set +# BR2_PACKAGE_LIBEMBRYO is not set +# BR2_PACKAGE_LIBEDJE is not set +# BR2_PACKAGE_LIBETHUMB is not set +# BR2_PACKAGE_INFOZIP is not set +# BR2_BR2_PACKAGE_NODEJS_0_10_X is not set +# BR2_BR2_PACKAGE_NODEJS_0_12_X is not set +# BR2_BR2_PACKAGE_NODEJS_4_X is not set + +# +# Legacy options removed in 2015.11 +# +# BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_REAL is not set +# BR2_PACKAGE_MEDIA_CTL is not set +# BR2_PACKAGE_SCHIFRA is not set +# BR2_PACKAGE_ZXING is not set +# BR2_PACKAGE_BLACKBOX is not set +# BR2_KERNEL_HEADERS_3_0 is not set +# BR2_KERNEL_HEADERS_3_11 is not set +# BR2_KERNEL_HEADERS_3_13 is not set +# BR2_KERNEL_HEADERS_3_15 is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_ANDI is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_BLTLOAD is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_CPULOAD is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_DATABUFFER is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_DIOLOAD is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_DOK is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_DRIVERTEST is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_FIRE is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_FLIP is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_FONTS is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_INPUT is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_JOYSTICK is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_KNUCKLES is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_LAYER is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_MATRIX_WATER is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_NEO is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_NETLOAD is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_PALETTE is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_PARTICLE is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_PORTER is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_STRESS is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_TEXTURE is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_VIDEO_PARTICLE is not set +# BR2_PACKAGE_DIRECTFB_EXAMPLES_WINDOW is not set +# BR2_PACKAGE_KOBS_NG is not set +# BR2_PACKAGE_SAWMAN is not set +# BR2_PACKAGE_DIVINE is not set + +# +# Legacy options removed in 2015.08 +# +# BR2_PACKAGE_KODI_PVR_ADDONS is not set +# BR2_BINUTILS_VERSION_2_23_2 is not set +# BR2_BINUTILS_VERSION_2_24 is not set +# BR2_BINUTILS_VERSION_2_25 is not set +# BR2_PACKAGE_PERF is not set +# BR2_BINUTILS_VERSION_2_22 is not set +# BR2_PACKAGE_GPU_VIV_BIN_MX6Q is not set +# BR2_TARGET_UBOOT_NETWORK is not set diff --git a/linux b/linux index 25423f4b..f4e0f631 160000 --- a/linux +++ b/linux @@ -1 +1 @@ -Subproject commit 25423f4bd9a9ac3e6b0ce7ecfe56c36f4e514893 +Subproject commit f4e0f631965ce23bca273bdcc7c1637bc9993365 diff --git a/riscv32_beluga b/riscv32_beluga new file mode 160000 index 00000000..85e04d1e --- /dev/null +++ b/riscv32_beluga @@ -0,0 +1 @@ +Subproject commit 85e04d1edb1e35d2e59a791f5246dfec33982305